diff --git a/.github/scripts/install-ubuntu-apt-packages.sh b/.github/scripts/install-ubuntu-apt-packages.sh new file mode 100644 index 00000000000..b5790f3f90d --- /dev/null +++ b/.github/scripts/install-ubuntu-apt-packages.sh @@ -0,0 +1,28 @@ +#!/usr/bin/env bash +set -euo pipefail + +if [ "$#" -eq 0 ]; then + echo 'Usage: install-ubuntu-apt-packages.sh ...' >&2 + exit 2 +fi + +bash "$(dirname "${BASH_SOURCE[0]}")/prepare-ubuntu-apt.sh" + +# Bound both routes while allowing large fallback downloads. +# Run deadlines as root so sudo cannot leave apt in a separate session. +if sudo timeout --kill-after=10s 45 apt-get update -o Acquire::Languages=none && sudo timeout --kill-after=10s 120 apt-get install -y "$@"; then + exit 0 +fi + +echo 'Ubuntu package setup failed; trying the same packages through the MIT mirror.' >&2 +for host in archive.ubuntu.com ports.ubuntu.com mirrors.mit.edu; do + timeout 5 getent ahosts "$host" || true +done + +bash "$(dirname "${BASH_SOURCE[0]}")/use-ubuntu-apt-mirror.sh" +bash "$(dirname "${BASH_SOURCE[0]}")/recover-ubuntu-dpkg.sh" || true +# Unrelated repositories may fail refresh; apt still verifies the requested packages. +if ! sudo timeout --kill-after=10s 120 apt-get update -o Acquire::Languages=none; then + echo 'Index refresh incomplete; attempting the requested packages with available authenticated indexes.' >&2 +fi +sudo timeout --kill-after=10s 600 apt-get install -y "$@" diff --git a/.github/scripts/recover-ubuntu-dpkg.sh b/.github/scripts/recover-ubuntu-dpkg.sh new file mode 100644 index 00000000000..e57a094aa76 --- /dev/null +++ b/.github/scripts/recover-ubuntu-dpkg.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +set -euo pipefail + +# A timed-out apt frontend can leave dpkg running in a separate session. +sudo timeout --kill-after=10s 30 bash -euo pipefail -c ' + while lslocks --noheadings --raw --notruncate --output PATH | grep -E "^/var/lib/dpkg/lock(-frontend)?$" >/dev/null; do + sleep 1 + done + dpkg --configure -a +' diff --git a/.github/scripts/use-ubuntu-apt-mirror.sh b/.github/scripts/use-ubuntu-apt-mirror.sh new file mode 100644 index 00000000000..b3617d59e67 --- /dev/null +++ b/.github/scripts/use-ubuntu-apt-mirror.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +set -euo pipefail + +# Change repository locations while retaining suites, architectures and signing keys. +for source in /etc/apt/apt-mirrors.txt /etc/apt/sources.list /etc/apt/sources.list.d/*.list /etc/apt/sources.list.d/*.sources; do + if [ -f "$source" ]; then + sudo sed -i -E \ + -e 's#https?://(azure\.archive|archive|security)\.ubuntu\.com/ubuntu#https://mirrors.mit.edu/ubuntu#g' \ + -e 's#https?://ports\.ubuntu\.com/ubuntu-ports#https://mirrors.mit.edu/ubuntu-ports#g' \ + "$source" + fi +done diff --git a/.github/workflows/computer-e2e.yml b/.github/workflows/computer-e2e.yml index 219e18fe55b..369de291215 100644 --- a/.github/workflows/computer-e2e.yml +++ b/.github/workflows/computer-e2e.yml @@ -93,16 +93,10 @@ jobs: pnpm vitest run --config config/vitest.config.ts config/scripts/performance/macos-computer-owner/macos-computer-helper-owner-loss-group-recovery.test.mjs config/scripts/performance/macos-computer-owner/macos-computer-helper-owner-loss-processes.test.mjs - src/main/computer/sidecar-client.test.ts - src/main/computer/macos-native-provider-client.test.ts - src/main/computer/macos-native-provider-socket.test.ts - src/main/computer/macos-computer-use-permissions.test.ts - src/main/computer/macos-computer-use-permission-status.test.ts + src/main/computer/sidecar-transport/sidecar-client.test.ts + src/main/computer/macos-native/macos-native-provider-client.test.ts src/main/providers/windows-shell-preflight-runtime.windows.test.ts - src/main/computer/desktop-script-provider-actions.test.ts - src/main/computer/desktop-script-provider-cache-lifecycle.test.ts - src/main/computer/desktop-script-provider-errors.test.ts - src/main/computer/desktop-script-provider-action-errors.test.ts + src/main/computer/desktop-script/actions/desktop-script-provider-actions.test.ts src/cli/format.test.ts src/cli/handlers/computer-action-validation.test.ts src/cli/handlers/computer-state-formatting.test.ts diff --git a/.github/workflows/computer-task-benchmark.yml b/.github/workflows/computer-task-benchmark.yml index 65ed09f679e..817224317b5 100644 --- a/.github/workflows/computer-task-benchmark.yml +++ b/.github/workflows/computer-task-benchmark.yml @@ -27,23 +27,6 @@ env: BASELINE_SHA: 030c88deecf3adc212d22f57b085e4bd5c6e48e6 jobs: - contract: - if: github.event_name != 'pull_request' || github.event.pull_request.draft != true - runs-on: ${{ matrix.os }} - timeout-minutes: 180 - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - steps: - - uses: actions/checkout@v6 - with: - persist-credentials: false - - uses: actions/setup-python@v6 - with: - python-version: '3.12' - - run: python -m unittest discover -s config/benchmarks/computer-use -p 'test_*.py' - linux: if: github.event_name != 'pull_request' || github.event.pull_request.draft != true runs-on: ubuntu-latest diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 9339215a217..b3b97130000 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -123,6 +123,10 @@ jobs: exit 0 fi read -r -a packages <<< "$ORCA_E2E_APT_PACKAGES" + if [ -f .github/scripts/install-ubuntu-apt-packages.sh ]; then + bash .github/scripts/install-ubuntu-apt-packages.sh "${packages[@]}" + exit 0 + fi if [ -f .github/scripts/prepare-ubuntu-apt.sh ]; then bash .github/scripts/prepare-ubuntu-apt.sh else @@ -483,6 +487,15 @@ jobs: retention-days: 14 if-no-files-found: warn + - name: Upload parked split visual proof + if: always() && contains(inputs.test_files, 'tests/e2e/terminal-parked-cli-split.spec.ts') + uses: actions/upload-artifact@v7 + with: + name: parked-split-proof-${{ strategy.job-index }}${{ inputs.artifact_suffix }}-attempt-${{ github.run_attempt }} + path: test-results/**/parked-cli-split-*.png + retention-days: 7 + if-no-files-found: ignore + - name: Upload Playwright traces if: failure() || cancelled() uses: actions/upload-artifact@v7 @@ -529,7 +542,12 @@ jobs: ref: ${{ inputs.ref || github.ref }} persist-credentials: false - name: Install headless tools - run: sudo apt-get update && sudo apt-get install -y build-essential ripgrep xvfb openbox x11-utils + run: &install_headless_tools | + if [ -f .github/scripts/install-ubuntu-apt-packages.sh ]; then + bash .github/scripts/install-ubuntu-apt-packages.sh build-essential ripgrep xvfb openbox x11-utils + else + sudo apt-get update && sudo apt-get install -y build-essential ripgrep xvfb openbox x11-utils + fi - uses: ./.github/actions/install-node-dependencies with: native-runtime: electron @@ -636,7 +654,7 @@ jobs: - name: Fetch the 1.4.224 relay sources run: git fetch --no-tags --depth=1 origin +refs/tags/v1.4.224:refs/tags/v1.4.224 - name: Install headless tools - run: sudo apt-get update && sudo apt-get install -y build-essential ripgrep xvfb openbox x11-utils + run: *install_headless_tools - uses: ./.github/actions/install-node-dependencies with: native-runtime: electron diff --git a/.github/workflows/golden-e2e-experiment.yml b/.github/workflows/golden-e2e-experiment.yml index da3e9e55ef8..d059bd2f42f 100644 --- a/.github/workflows/golden-e2e-experiment.yml +++ b/.github/workflows/golden-e2e-experiment.yml @@ -70,7 +70,6 @@ jobs: - name: Run golden E2E tests on Linux if: runner.os == 'Linux' run: | - xvfb-run --auto-servernum env SKIP_BUILD=1 ORCA_E2E_FORWARD_APP_LOGS=1 pnpm run test:e2e tests/e2e/golden-core-flows.spec.ts xvfb-run --auto-servernum env SKIP_BUILD=1 ORCA_E2E_FORWARD_APP_LOGS=1 pnpm run --if-present test:e2e:workspace-session-golden if [ -f tests/e2e/golden-fresh-profile-terminal.spec.ts ]; then xvfb-run --auto-servernum env SKIP_BUILD=1 ORCA_E2E_FORWARD_APP_LOGS=1 pnpm run test:e2e tests/e2e/golden-fresh-profile-terminal.spec.ts tests/e2e/golden-shell-command.spec.ts @@ -84,7 +83,6 @@ jobs: - name: Run golden E2E tests on macOS if: runner.os == 'macOS' run: | - env SKIP_BUILD=1 ORCA_E2E_FORWARD_APP_LOGS=1 pnpm run test:e2e tests/e2e/golden-core-flows.spec.ts env SKIP_BUILD=1 ORCA_E2E_FORWARD_APP_LOGS=1 pnpm run --if-present test:e2e:workspace-session-golden if [ -f tests/e2e/golden-fresh-profile-terminal.spec.ts ]; then env SKIP_BUILD=1 ORCA_E2E_FORWARD_APP_LOGS=1 pnpm run test:e2e tests/e2e/golden-fresh-profile-terminal.spec.ts tests/e2e/golden-shell-command.spec.ts diff --git a/.github/workflows/mobile.yml b/.github/workflows/mobile.yml index 0f39b9c1f4a..4eb8ec63f31 100644 --- a/.github/workflows/mobile.yml +++ b/.github/workflows/mobile.yml @@ -27,7 +27,6 @@ on: - 'src/main/runtime/agent-session/agent-session-account-*.ts' - 'src/main/runtime/agent-session/agent-session-acquisition-*.ts' - 'src/main/runtime/agent-session/agent-session-conversation-*.ts' - - 'src/main/runtime/agent-session/agent-session-death-*.ts' - 'src/main/runtime/agent-session/agent-session-launch-*.ts' - 'src/main/runtime/agent-session/agent-session-operation-*.ts' - 'src/main/runtime/agent-session/agent-session-rewind-*.ts' @@ -116,7 +115,6 @@ on: - 'src/main/runtime/agent-session/agent-session-account-*.ts' - 'src/main/runtime/agent-session/agent-session-acquisition-*.ts' - 'src/main/runtime/agent-session/agent-session-conversation-*.ts' - - 'src/main/runtime/agent-session/agent-session-death-*.ts' - 'src/main/runtime/agent-session/agent-session-launch-*.ts' - 'src/main/runtime/agent-session/agent-session-operation-*.ts' - 'src/main/runtime/agent-session/agent-session-rewind-*.ts' diff --git a/.github/workflows/performance-contracts.yml b/.github/workflows/performance-contracts.yml index e8132e2aa79..e39f3001d60 100644 --- a/.github/workflows/performance-contracts.yml +++ b/.github/workflows/performance-contracts.yml @@ -20,18 +20,12 @@ on: # without these a rename lands green and only breaks the next nightly. - 'src/main/runtime/session-tabs/session-tabs-phone-layout-moves.test.ts' - 'src/main/native-chat/agent-session-wire/host/testing/structured-agent-session-terminal-writer-acquire.test.ts' - - 'src/shared/agent-launch/permissions/tui-agent-permission-choice.test.ts' - - 'src/main/runtime/rpc/methods/projects/repo.test.ts' - 'src/renderer/src/components/tab-bar/use-new-tab-agent-menu-host-preferences.test.tsx' - 'src/main/sqlite/sync-database.test.ts' - - 'src/main/runtime/orchestration/db/row-column-lists.test.ts' - 'src/main/codex-usage/codex-rollout-file-lifetime.test.ts' - 'src/main/codex-usage/scanner-incremental-append.test.ts' - - 'src/main/usage/jsonl-file-reader.test.ts' - - 'src/main/usage/jsonl-file-snapshot.test.ts' - - 'src/renderer/src/lib/pane-manager/pane-terminal-output-scheduler-queue-retention.test.ts' + - 'src/main/usage/source-input/jsonl/jsonl-file-reader.test.ts' - 'src/main/claude-usage/scanner-incremental-append.test.ts' - - 'src/main/claude-usage/store-checkpoint-persistence.test.ts' permissions: contents: read diff --git a/.github/workflows/pi-provider-runtime.yml b/.github/workflows/pi-provider-runtime.yml index 6cf69ad911a..a3dbbcdcbbf 100644 --- a/.github/workflows/pi-provider-runtime.yml +++ b/.github/workflows/pi-provider-runtime.yml @@ -5,7 +5,7 @@ on: paths: - 'src/shared/source-control/ai/generation/commit-message-agent-specs-primary.ts' - 'tests/tools/pi-provider-runtime-smoke.mjs' - - 'src/main/pi/rpc-history-*.ts' + - 'src/main/pi/rpc/history/rpc-history-*.ts' - '.github/workflows/pi-provider-runtime.yml' permissions: contents: read diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 13bed76ed0c..ef97a54bf90 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -512,6 +512,10 @@ jobs: if: needs.code_paths.outputs.static_analysis == 'true' run: bun config/scripts/localization/source-extraction/audit-localization-coverage.mjs --check + - name: Verify startup and worktree localization coverage + if: needs.code_paths.outputs.static_analysis == 'true' + run: bun run verify:startup-worktree-localization-coverage + - name: Verify mobile localization if: needs.code_paths.outputs.static_analysis == 'true' run: bun config/scripts/localization/catalog-validation/verify-mobile-localization.mjs @@ -786,15 +790,7 @@ jobs: id: shells background: true run: | - # Per-connection limits complement the whole-command apt deadlines below. - sudo tee /etc/apt/apt.conf.d/99-orca-shell-contracts >/dev/null <<'APTCONF' - Acquire::http::Timeout "15"; - Acquire::https::Timeout "15"; - Acquire::Retries "1"; - APTCONF - # Unrelated runner repositories may fail refresh; installing zsh must still succeed. - timeout 120 sudo apt-get update || true - timeout 300 sudo apt-get install -y zsh + bash .github/scripts/install-ubuntu-apt-packages.sh zsh # A fixed 4.x release meets the contract without tracking package-repository updates. case "$(uname -m)" in aarch64) arch=aarch64 sha=57349f0111728c64b703a84e611aa97ff4d1fa8466385d64e67bd5bc3ffa49fc ;; @@ -932,7 +928,18 @@ jobs: background: true run: | bash .github/scripts/prepare-ubuntu-apt.sh - pnpm exec playwright-core install --with-deps webkit + if [ ! -f .github/scripts/use-ubuntu-apt-mirror.sh ]; then + pnpm exec playwright-core install --with-deps webkit + exit 0 + fi + echo 'Installing WebKit dependencies through the primary route.' + if ! sudo env "PATH=$PATH" timeout --kill-after=10s 240 ./node_modules/.bin/playwright-core install-deps webkit; then + echo 'Dependency installation did not complete; retrying with the Ubuntu mirror fallback.' + bash .github/scripts/use-ubuntu-apt-mirror.sh + bash .github/scripts/recover-ubuntu-dpkg.sh || true + sudo env "PATH=$PATH" timeout --kill-after=10s 600 ./node_modules/.bin/playwright-core install-deps webkit + fi + timeout --kill-after=10s 180 pnpm exec playwright-core install webkit # The entry lives in mobile/ so one React resolves; without this every RN import is nothing. - uses: ./.github/actions/install-mobile-dependencies @@ -1106,7 +1113,6 @@ jobs: xvfb-run --auto-servernum pnpm exec vitest run --config config/vitest.config.ts --no-file-parallelism src/main/browser/client-pages/renderer/browser-client-page-renderer-lifecycle.electron.test.ts - src/main/persistence/profile-state/profile-state-writer-stall.electron.test.ts src/main/browser/cookies/browser-google-cookie-clear.electron.test.ts src/main/browser/guest-lifecycle/popups/presentation/popup-origin-chrome.electron.test.ts src/main/browser/guest-lifecycle/navigation/browser-link-materialization.electron.test.ts diff --git a/.github/workflows/ssh-windows-hosts.yml b/.github/workflows/ssh-windows-hosts.yml index 4185ad26af4..9f7a2496700 100644 --- a/.github/workflows/ssh-windows-hosts.yml +++ b/.github/workflows/ssh-windows-hosts.yml @@ -62,7 +62,6 @@ on: - 'src/shared/shell/launch/shell-argument-quoting.ts' - '!src/**/*.test.ts' - 'src/main/managed-server/host-state/orcad-windows-host-lane.test.ts' - - 'tests/e2e/ssh-orcad-auto-convert.spec.ts' - 'tests/e2e/helpers/orcad-convert-host.ts' - 'tests/e2e/helpers/orcad-convert-flow.ts' - 'tests/e2e/helpers/orcad-upgrade-profile.ts' @@ -78,7 +77,7 @@ on: workflow_dispatch: inputs: cells: - description: Comma-separated cell ids from src/main/ssh/hostile-host-test-support/ssh-windows-host-cells.ts; empty runs the default set (orcad-cli-* cells run only when named). + description: Comma-separated cells orcad-cmd, orcad-powershell, or orcad-cli-managed; empty runs the two shell cells. required: false default: '' preparation_mode: @@ -144,7 +143,7 @@ jobs: with: persist-credentials: false # Keep complete server/test trees; missing future imports fail the unchanged builds. - # All of src: the orcad-convert cell builds the full e2e app and the bundled CLI. + # All of src: the managed CLI cell builds the full e2e app and bundled CLI. # mobile: the template ships the mobile web page, which builds from mobile/. # cloud: config/tsconfig.vitest-transform.json references the cloud projects, so vitest needs them. sparse-checkout: | @@ -242,10 +241,8 @@ jobs: New-Item -ItemType Directory -Force -Path $receipts | Out-Null $cells=@($env:CELLS -split ',' | ForEach-Object {$_.Trim()} | Where-Object {$_}) if(-not $cells.Count){$cells=@('orcad-cmd','orcad-powershell')} - # One Windows host runs the app-level conversion; it is last because it switches native modules. - if(-not $env:CELLS -and '${{ matrix.arch }}' -eq 'x64' -and '${{ matrix.server }}' -eq 'inbox'){$cells+='orcad-convert'} # App cells reach the managed server through an SSH local forward, which provisioning grants to the last accounts only. - $appCellIds=@('orcad-convert','orcad-cli-managed','orcad-cli-convert') + $appCellIds=@('orcad-cli-managed') $cells=@($cells | Where-Object {$appCellIds -notcontains $_})+@($cells | Where-Object {$appCellIds -contains $_}) $forwarding=@($cells | Where-Object {$appCellIds -contains $_}).Count $archive='' diff --git a/.github/workflows/wsl-orcad-e2e.yml b/.github/workflows/wsl-orcad-e2e.yml index 8c8ef29b65a..41e79cd885f 100644 --- a/.github/workflows/wsl-orcad-e2e.yml +++ b/.github/workflows/wsl-orcad-e2e.yml @@ -35,7 +35,6 @@ on: - '!**/*.test.ts' - '!**/*.test.tsx' - 'src/main/wsl/orcad/wsl-orcad-real-distro-lane.test.ts' - - 'src/main/persistence/moving-wsl-projects/wsl-move-real-pause.test.ts' - 'src/main/wsl/orcad/wsl-orcad-real-distro-idle-release-lane.test.ts' - '.github/workflows/wsl-orcad-e2e.yml' - 'config/ci/wsl-lifecycle/**' @@ -343,20 +342,8 @@ jobs: run: | node node_modules/vitest/vitest.mjs run --config config/vitest.config.ts src/main/wsl/orcad/wsl-orcad-real-distro-lane.test.ts --reporter=verbose 2>&1 | Tee-Object (Join-Path $env:ORCA_WSL_ORCAD_LANE_RECEIPTS 'survive.log') if ($global:LASTEXITCODE -ne 0) { throw "survive phase failed: $global:LASTEXITCODE" } - # The WSL move's pause on real distro shells: Sleep ends them, the daemon proves the exit, - # the journal keeps each pane's folder, and a new shell opens there. - - name: 'WSL move: pause real distro terminals' - if: ${{ !cancelled() && steps.import.outcome == 'success' }} - timeout-minutes: 10 - env: - ORCA_WSL_MOVE_REAL_PAUSE_DISTRO: ${{ env.PLAIN_DISTRO }} - run: | - New-Item -ItemType Directory -Force $env:ORCA_WSL_ORCAD_LANE_RECEIPTS | Out-Null - node node_modules/vitest/vitest.mjs run --config config/vitest.config.ts src/main/persistence/moving-wsl-projects/wsl-move-real-pause.test.ts --reporter=verbose 2>&1 | Tee-Object (Join-Path $env:ORCA_WSL_ORCAD_LANE_RECEIPTS 'wsl-move-real-pause.log') - if ($global:LASTEXITCODE -ne 0) { throw "WSL move real pause failed: $global:LASTEXITCODE" } - wsl.exe --terminate $env:PLAIN_DISTRO # R40: with no terminal left, orcad idle-exits and the holder lets the distro stop on its own. - - name: 'Phase 3: idle orcad releases the distro; distro restart to first output baseline' + - name: 'Phase 3: idle orcad releases the distro' timeout-minutes: 30 env: ORCA_RUN_WSL_ORCAD_LANE: '1' diff --git a/.gitignore b/.gitignore index e9ca3822d36..b585bdd9e91 100644 --- a/.gitignore +++ b/.gitignore @@ -121,6 +121,9 @@ validation-screenshots/ test-results/ playwright-report/ +# Claude Code settings are machine-local. +**/.claude/settings.local.json + # Agent skills are installed per machine. /.claude/skills/ /.agents/skills/ diff --git a/.oxlintrc.json b/.oxlintrc.json index 6f7ca980115..d0b480c6b59 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -79,7 +79,7 @@ { "name": "@linear/sdk", "allowTypeImports": true, - "message": "Value-importing @linear/sdk hoists its ~2.6MB CJS bundle into the eager top-level require block and defeats the lazy loader. Use `import type` plus loadLinearSdk() from src/main/linear/linear-sdk.ts." + "message": "Value-importing @linear/sdk hoists its ~2.6MB CJS bundle into the eager top-level require block and defeats the lazy loader. Use `import type` plus loadLinearSdk() from src/main/linear/requests/linear-sdk.ts." } ] } @@ -129,7 +129,7 @@ { "name": "@linear/sdk", "allowTypeImports": true, - "message": "Value-importing @linear/sdk hoists its ~2.6MB CJS bundle into the eager top-level require block and defeats the lazy loader. Use `import type` plus loadLinearSdk() from src/main/linear/linear-sdk.ts." + "message": "Value-importing @linear/sdk hoists its ~2.6MB CJS bundle into the eager top-level require block and defeats the lazy loader. Use `import type` plus loadLinearSdk() from src/main/linear/requests/linear-sdk.ts." }, { "name": "ssh2", @@ -228,7 +228,7 @@ { "name": "@linear/sdk", "allowTypeImports": true, - "message": "Value-importing @linear/sdk hoists its ~2.6MB CJS bundle into the eager top-level require block and defeats the lazy loader. Use `import type` plus loadLinearSdk() from src/main/linear/linear-sdk.ts." + "message": "Value-importing @linear/sdk hoists its ~2.6MB CJS bundle into the eager top-level require block and defeats the lazy loader. Use `import type` plus loadLinearSdk() from src/main/linear/requests/linear-sdk.ts." }, { "name": "ssh2", diff --git a/README.md b/README.md index 79d002770f7..bc1defaa9c6 100644 --- a/README.md +++ b/README.md @@ -292,11 +292,9 @@ Pair with your desktop app to monitor and steer your agents from your phone. - **Discord:** Join the community on **[Discord](https://discord.gg/fzjDKHxv8Q)**. - **Twitter / X:** Follow **[@orca_build](https://x.com/orca_build)** for updates and announcements. -- **WeChat:** Scan to join an Orca community WeChat group. If one group is full, join another. +- **WeChat:** Scan to join an Orca community WeChat group. - WeChat QR code for the Orca community - WeChat QR code for the Orca community - WeChat QR code for the Orca community + WeChat QR code for the Orca community - **Feedback & Ideas:** We ship fast. Missing something? [Request a new feature](https://github.com/stablyai/orca/issues). - **Privacy:** See the [privacy & telemetry docs](https://www.onorca.dev/docs/telemetry) for what anonymous usage data Orca collects and how to opt out. diff --git a/cloud/apps/relay-edge/spike/run-all-lifecycle.ts b/cloud/apps/relay-edge/spike/run-all-lifecycle.ts index 04de1249906..a4e00c9fc29 100644 --- a/cloud/apps/relay-edge/spike/run-all-lifecycle.ts +++ b/cloud/apps/relay-edge/spike/run-all-lifecycle.ts @@ -1,5 +1,5 @@ // Later run-all.ts checks against the same host: rebind, orphan grace, silence, -// forced resets and pre-upgrade refusals. +// forced resets. import WebSocket from 'ws' import { GRACE_MS, ORIGIN, PING_MS, PORT, SILENCE_MS, makeControl, openPhone, record, sleep, waitFor, type Ctx, type Control } from './run-all-harness' @@ -89,12 +89,4 @@ export async function runLifecycleChecks(ctx: Ctx, main: Control, mainAck: Ack): back.client.closeNow() } - // Bad JWT -> 401 before upgrade; malformed host id -> 429. - { - const bad = new WebSocket(`ws://127.0.0.1:${PORT}/v1/host/control`, { headers: { authorization: 'Bearer nope' } }) - const status = await new Promise((res) => bad.on('unexpected-response', (_q, r) => res(r.statusCode ?? 0))) - const badHost = new WebSocket(`ws://127.0.0.1:${PORT}/v1/connect/short`) - const s2 = await new Promise((res) => badHost.on('unexpected-response', (_q, r) => res(r.statusCode ?? 0))) - record('R11/R5 ES256 JWKS rejects bad token (401); malformed host id 429', status === 401 && s2 === 429, `${status},${s2}`) - } } diff --git a/cloud/apps/relay-edge/spike/run-all.ts b/cloud/apps/relay-edge/spike/run-all.ts index ce1d8a6ee09..49627e7cf86 100644 --- a/cloud/apps/relay-edge/spike/run-all.ts +++ b/cloud/apps/relay-edge/spike/run-all.ts @@ -100,11 +100,6 @@ async function runTests(ctx: Ctx): Promise { const mainAck = await main.client.connect() const transport = main.bindTransport(mainAck.generation) - // Alarm-driven app ping, answered by the shipped client's pong handler. - await sleep(PING_MS * 3 + 300) - record('R2/R5 alarm-driven JSON ping parsed by shipped client, pong keeps control alive', - main.events.pings >= 2 && main.client.isLive(), `pings=${main.events.pings} live=${main.client.isLive()}`) - // Phone connect -> conn-open (strict, shipped parser) -> host data -> relay-hello (shipped parser). const phone = openPhone(ctx) const helloOk = await waitFor(() => phone.hello !== null, 5000) diff --git a/cloud/apps/relay-edge/src/host-relay-base.ts b/cloud/apps/relay-edge/src/host-relay-base.ts index f3f34839b10..da0b038d345 100644 --- a/cloud/apps/relay-edge/src/host-relay-base.ts +++ b/cloud/apps/relay-edge/src/host-relay-base.ts @@ -45,6 +45,9 @@ export type ControlAttachment = { clientKeepalive?: boolean // A keepalive control found silent: one relay ping sent at this time (see probeSilentControls). probeAt?: number + // Upgrade and activation times, for metrics (absent on attachments from before these fields). + openedAt?: number + activeAt?: number } export type Attachment = ControlAttachment export type Conn = { @@ -74,6 +77,9 @@ export const NO_DEADLINE = Number.MAX_SAFE_INTEGER // How long a silent keepalive control has to answer the relay ping before it is closed. export const KEEPALIVE_PROBE_MS = 10_000 export const SWEEP_AT_KEY = 'sweepAt' +// Diagnostics only: the host's last control close, read once by the next activation. +export const LAST_CONTROL_CLOSE_KEY = 'lastControlClose' +export type LastControlClose = { goneAt: number; closedAt: number; code: number } // 6 h ± 30 min, as the cells: desktops re-ask the director at least this often. export const LEASE_BASE_MS = 6 * 60 * 60 * 1000 export const LEASE_JITTER_MS = 30 * 60 * 1000 @@ -178,6 +184,7 @@ export abstract class HostRelayBase extends DurableObject { this.attach(ws, null) if (a.k === 'control' && a.phase === 'active') { metric(this.env, 'control_close', 1, String(code), [], '', a.place) } if (a.k === 'control' && a.phase === 'active' && !this.activeControl()) { + await this.ctx.storage.put(LAST_CONTROL_CLOSE_KEY, { goneAt, closedAt: Date.now(), code }) const session = await this.ctx.storage.get('session') if (session && session.generation === a.generation) { const hostReason = relayHostCloseReasonFrom(reason) diff --git a/cloud/apps/relay-edge/src/host-relay-control.ts b/cloud/apps/relay-edge/src/host-relay-control.ts index 16697097b1c..2cc2756c22c 100644 --- a/cloud/apps/relay-edge/src/host-relay-control.ts +++ b/cloud/apps/relay-edge/src/host-relay-control.ts @@ -28,8 +28,16 @@ export abstract class HostRelayControl extends HostRelayHandshake { // Where the host is going away anyway (export, erase, drain, a new control of the same host): a // silent control is closed now. Its orphan time is the latest the ping alarm would have found it, // so rebind and the orphan grace are never shorter than before. + // A control closed for silence: value = seconds silent, label = where it was found, reason = + // keepalive | legacy; double2 = seconds since it became active (-1 if unknown). + protected deadControlMetric(a: ControlAttachment, now: number, seen: number, found: 'alarm' | 'on_demand' | 'expired'): void { + const ageS = a.activeAt === undefined ? -1 : Math.round((now - a.activeAt) / 1000) + metric(this.env, 'silence_close', Math.round((now - seen) / 1000), found, [ageS], this.keepalive(a) ? 'keepalive' : 'legacy', a.place) + } + protected async closeSilentControls(now = Date.now()): Promise { - for (const { ws, seen } of this.silentControls(now)) { + for (const { ws, a, seen } of this.silentControls(now)) { + this.deadControlMetric(a, now, seen, 'on_demand') this.close(ws, RELAY_CLOSE_CODE.PEER_DROPPED, 'control silence timeout') await this.onSocketGone(ws, RELAY_CLOSE_CODE.PEER_DROPPED, '', Math.min(now, seen + this.config.silenceTimeoutMs + this.config.pingIntervalMs)) } diff --git a/cloud/apps/relay-edge/src/host-relay-handshake.ts b/cloud/apps/relay-edge/src/host-relay-handshake.ts index bc153be8a0c..36c7a86a2af 100644 --- a/cloud/apps/relay-edge/src/host-relay-handshake.ts +++ b/cloud/apps/relay-edge/src/host-relay-handshake.ts @@ -7,7 +7,7 @@ import { RELAY_CLOSE_CODE } from '../../../packages/relay-contract/src/close-cod import { metric } from './metrics' import type { EdgeClaims } from './env' import { b64, b64url, fromB64, hmacSha256, sha256B64url, timingSafeEqualStr } from './bytes' -import { HostRelayBase, ASSIGNMENT_CHECK_DEADLINE_MS, NO_DEADLINE, LEASE_BASE_MS, LEASE_JITTER_MS, type ControlAttachment, type Session } from './host-relay-base' +import { HostRelayBase, ASSIGNMENT_CHECK_DEADLINE_MS, NO_DEADLINE, LEASE_BASE_MS, LEASE_JITTER_MS, type ControlAttachment, type Session, LAST_CONTROL_CLOSE_KEY, type LastControlClose } from './host-relay-base' export abstract class HostRelayHandshake extends HostRelayBase { protected async onHostHello(ws: WebSocket, a: ControlAttachment, type: unknown, body: Record): Promise { @@ -157,6 +157,7 @@ export abstract class HostRelayHandshake extends HostRelayBase { }) const leaseExpiresAt = now + LEASE_BASE_MS + Math.round((Math.random() * 2 - 1) * LEASE_JITTER_MS) a.phase = 'active' + a.activeAt = now a.generation = generation a.lastPongAt = now a.lastPingAt = now @@ -191,7 +192,12 @@ export abstract class HostRelayHandshake extends HostRelayBase { }) // After the ack, which strict shipped parsers must see unchanged; only hosts that asked get it. if (a.clientKeepalive) { this.send(ws, { type: 'keepalive-offer', v: 1, intervalMs: this.config.pingIntervalMs }) } - metric(this.env, 'control_active', 1, rebind ? 'rebind' : 'new', [], '', a.place) + metric(this.env, 'control_active', 1, rebind ? 'rebind' : 'new', [a.openedAt === undefined ? -1 : now - a.openedAt], a.clientKeepalive ? 'keepalive' : 'legacy', a.place) + const last = await this.ctx.storage.get(LAST_CONTROL_CLOSE_KEY) + if (last) { + await this.ctx.storage.delete(LAST_CONTROL_CLOSE_KEY) + metric(this.env, 'reconnect_gap', Math.round((now - last.goneAt) / 1000), String(last.code), [Math.round((last.closedAt - last.goneAt) / 1000)], a.clientKeepalive ? 'keepalive' : 'legacy', a.place) + } await this.reschedule() } } diff --git a/cloud/apps/relay-edge/src/host-relay.ts b/cloud/apps/relay-edge/src/host-relay.ts index 958232f8ff4..bc6095bc33a 100644 --- a/cloud/apps/relay-edge/src/host-relay.ts +++ b/cloud/apps/relay-edge/src/host-relay.ts @@ -145,7 +145,8 @@ export class HostRelay extends HostRelayPhones { claims, origin, caps: [...parseRelayHostCapabilities(request.headers.get('x-orca-host-capabilities') ?? '')], - deadline: Date.now() + RELAY_PROTOCOL_LIMITS.firstFrameDeadlineMs + deadline: Date.now() + RELAY_PROTOCOL_LIMITS.firstFrameDeadlineMs, + openedAt: Date.now() }) await this.reschedule() return new Response(null, { status: 101, webSocket: client }) @@ -180,14 +181,25 @@ export class HostRelay extends HostRelayPhones { continue } if (now - seen > this.config.silenceTimeoutMs && (!this.keepalive(a) || now - a.probeAt! >= KEEPALIVE_PROBE_MS - 50)) { + this.deadControlMetric(a, now, seen, 'alarm') this.close(ws, RELAY_CLOSE_CODE.PEER_DROPPED, 'control silence timeout') await this.onSocketGone(ws, RELAY_CLOSE_CODE.PEER_DROPPED, '') continue } // Same order as the cells' heartbeat: expired auth past its grace, then the 6 h lease. if (now > a.claims.exp + CONTROL_CONTINUITY_LIMITS.expiredAuthExistingSpliceGraceMs) { + // A host already silent past the limit is gone (asleep, offline): it closes as one, so + // drop counts stay comparable with the cells, whose pings would have closed it earlier. + // Its probe is cut short: the expired authorization ends the socket either way. + if (now - seen > this.config.silenceTimeoutMs) { + this.deadControlMetric(a, now, seen, 'expired') + this.close(ws, RELAY_CLOSE_CODE.PEER_DROPPED, 'control silence timeout') + await this.onSocketGone(ws, RELAY_CLOSE_CODE.PEER_DROPPED, '', Math.min(now, seen + this.config.silenceTimeoutMs + this.config.pingIntervalMs)) + continue + } const sinceRefreshS = a.lastRefreshAt === undefined ? -1 : Math.round((now - a.lastRefreshAt) / 1000) - metric(this.env, 'auth_expired_close', sinceRefreshS, a.lastRefreshAt === undefined ? 'never' : 'refreshed', [], '', a.place) + const seenAgoS = Math.round((now - seen) / 1000) + metric(this.env, 'auth_expired_close', sinceRefreshS, a.lastRefreshAt === undefined ? 'never' : 'refreshed', [seenAgoS, a.activeAt === undefined ? -1 : Math.round((now - a.activeAt) / 1000)], this.keepalive(a) ? 'keepalive' : 'legacy', a.place) this.close(ws, RELAY_CLOSE_CODE.BAD_OUTER_CREDENTIAL, 'relay authorization expired') await this.onSocketGone(ws, RELAY_CLOSE_CODE.BAD_OUTER_CREDENTIAL, '') continue diff --git a/cloud/apps/relay-edge/src/metrics.ts b/cloud/apps/relay-edge/src/metrics.ts index 7d87b759e4d..c49284a7b06 100644 --- a/cloud/apps/relay-edge/src/metrics.ts +++ b/cloud/apps/relay-edge/src/metrics.ts @@ -2,6 +2,8 @@ import type { Env } from './env' export type MetricEvent = + // label 'new' | 'rebind'; reason 'keepalive' | 'legacy' (took the keepalive offer or not); + // double2 = ms from the upgrade to activation (the desktop gives up a connect after 15 s). | 'control_active' | 'control_close' | 'phone_open' @@ -26,7 +28,16 @@ export type MetricEvent = | 'control_upgrade' // Control closed 4401 for expired authorization: value = seconds since its last extending // refresh, label 'refreshed'; -1 and label 'never' when this socket never extended its token. + // double2 = seconds since the host's last inbound frame or keepalive, double3 = seconds since the + // control became active (-1 if unknown); reason 'keepalive' | 'legacy'. | 'auth_expired_close' + // Control closed for silence (deadControlMetric, host-relay-control.ts). + | 'silence_close' + // A host's control came back after its last control closed: value = seconds from when that + // control was last known alive (silence closes) or closed (others) to this activation; label = + // that close code; double2 = seconds between last-known-alive and the actual close. + // reason 'keepalive' | 'legacy' of the new control. + | 'reconnect_gap' // Pre-auth socket refused by the per-source limiter: label 'phone' | 'data' | 'health'. Unpushed-host phones: 'not_on_edge'. | 'preauth_limited' | 'not_on_edge' diff --git a/cloud/apps/relay-edge/test/harness-mvp-object.ts b/cloud/apps/relay-edge/test/harness-mvp-object.ts index 89ec43b1e7c..69530b07307 100644 --- a/cloud/apps/relay-edge/test/harness-mvp-object.ts +++ b/cloud/apps/relay-edge/test/harness-mvp-object.ts @@ -47,14 +47,14 @@ export function newHost(): Host { } } -export async function mint(key: KeyLike, relayHostId: string, issuer = ISSUER): Promise { +export async function mint(key: KeyLike, relayHostId: string, issuer = ISSUER, expiresIn = '5m'): Promise { return new SignJWT({ purpose: 'host-control', prof: `prof-${USER}`, relayHostId }) .setProtectedHeader({ alg: 'ES256', kid: REMOTE ? 'spike' : 'mvp' }) .setSubject(USER) .setIssuer(issuer) .setAudience('orca-relay') .setIssuedAt() - .setExpirationTime('5m') + .setExpirationTime(expiresIn) .sign(key) } diff --git a/cloud/apps/relay-edge/test/mvp-object-hardening.ts b/cloud/apps/relay-edge/test/mvp-object-hardening.ts index 5bd6553acab..1e86d0058ee 100644 --- a/cloud/apps/relay-edge/test/mvp-object-hardening.ts +++ b/cloud/apps/relay-edge/test/mvp-object-hardening.ts @@ -128,6 +128,32 @@ export async function keepaliveProbeCheck(key: KeyLike): Promise { } } +// K4: a keepalive host gone silent when its authorization expires closes as a dropped host (4408), +// not 4401, so edge drop counts stay comparable with the cells (their pings would have closed it). +export async function keepaliveExpiredSilentCheck(key: KeyLike): Promise { + const host = newHost() + await assign(host.relayHostId, 'edge', EPOCH, []) + const started = Date.now() + // Alive for 50 s, then silent: the silence probe (sent ~9 s later) is still pending when the + // 3 s token passes its 60 s grace at ~63 s, so the expiry check is what closes it. + const c = control(host, await mint(key, host.relayHostId, undefined, '3s'), EPOCH, { + caps: `${SHIPPED_CAPS},client-keepalive-v1`, + drop: () => Date.now() - started > 50_000 + }) + await c.client.connect() + try { + const closed = await waitFor(() => c.events.closes.length > 0, 3_000 + 60_000 + 15_000) + const after = Date.now() - started + record( + 'K4 silent keepalive host at token expiry: closed 4408 (not 4401)', + closed && c.events.closes.includes(4408) && !c.events.closes.includes(4401) && after >= 59_000, + `closedAfter=${after}ms pings=${c.events.pings} closes=${c.events.closes}` + ) + } finally { + c.client.closeNow() + } +} + // F5: POST /__admin/drain sends the host's controls back to the director (drain frame, 4503). export async function drainCheck(key: KeyLike): Promise { const host = newHost() diff --git a/cloud/apps/relay-edge/test/mvp-object.ts b/cloud/apps/relay-edge/test/mvp-object.ts index 5558bb2d179..f9a436c1d37 100644 --- a/cloud/apps/relay-edge/test/mvp-object.ts +++ b/cloud/apps/relay-edge/test/mvp-object.ts @@ -41,7 +41,7 @@ import { waitFor, type Host } from './harness-mvp-object' -import { drainCheck, heartbeatCheck, keepaliveCheck, keepaliveProbeCheck, objectHealthCheck } from './mvp-object-hardening' +import { drainCheck, heartbeatCheck, keepaliveCheck, keepaliveExpiredSilentCheck, keepaliveProbeCheck, objectHealthCheck } from './mvp-object-hardening' import { replayCheck, rotationCheck } from './mvp-object-replay' async function mainRemote(): Promise { @@ -107,7 +107,7 @@ async function main(): Promise { await sleep(500) } await run(host, privateKey, () => jwksHits) - await Promise.all([heartbeatCheck(privateKey), keepaliveCheck(privateKey), keepaliveProbeCheck(privateKey), drainCheck(privateKey), replayCheck(), rotationCheck()]) + await Promise.all([heartbeatCheck(privateKey), keepaliveCheck(privateKey), keepaliveProbeCheck(privateKey), keepaliveExpiredSilentCheck(privateKey), drainCheck(privateKey), replayCheck(), rotationCheck()]) await sweepCheck() await preAuthCheck(stateDir) await objectHealthCheck(stateDir) diff --git a/cloud/apps/relay-edge/test/object-store-schema.test.ts b/cloud/apps/relay-edge/test/object-store-schema.test.ts index ab71f931383..84ef7ad9b0c 100644 --- a/cloud/apps/relay-edge/test/object-store-schema.test.ts +++ b/cloud/apps/relay-edge/test/object-store-schema.test.ts @@ -1,10 +1,5 @@ import { expect, it } from 'vitest' import { OBJECT_STORE_SCHEMA } from '../src/object-store-schema.generated' -import { relayObjectStoreSchema } from './object-store-schema' - -it('object store schema matches the relay schema', async () => { - expect([...OBJECT_STORE_SCHEMA]).toEqual(await relayObjectStoreSchema()) -}) it('stamps fresh objects, keeps pre-version ones, refuses objects newer than the code', async () => { const { DatabaseSync } = await import('node:sqlite') diff --git a/cloud/apps/relay/src/app.ts b/cloud/apps/relay/src/app.ts index 9cddf7d03ba..85ea7e036a0 100644 --- a/cloud/apps/relay/src/app.ts +++ b/cloud/apps/relay/src/app.ts @@ -46,6 +46,7 @@ import { EdgeMoveDeferredError, EdgeMoveBusyError, inEdgeCohort, + mayBeOnEdge, mapEpochFloor, type EdgeAssignments } from './edge-relay.js' @@ -485,8 +486,9 @@ export function createRelayApp( edge?.ready === true && body.data.regionCorrection?.action !== 'report' && inEdgeCohort(edge.config, claims.relayHostId, requestedRegion, claims.sub) - if (edge?.pushes && !toEdge) { + if (edge?.pushes && !toEdge && mayBeOnEdge(edge.config, claims.relayHostId, claims.sub)) { // Any lane below may re-place a host whose row is on the edge; its devices come back first. + // Hosts that were never in a cohort skip this row read (most asks; the pool is small). try { leftEdge = await edge.leaveEdge(identity) } catch (error) { @@ -820,7 +822,11 @@ export function createRelayApp( relayHostId: body.data.relayHostId } // A host on the relay edge: the liveness rule below would read its row as no answer. - const onEdge = await operations.edgeAssignments?.edgeAssignment(identity) + const edgeAssignments = operations.edgeAssignments + const onEdge = + edgeAssignments && mayBeOnEdge(edgeAssignments.config, identity.relayHostId, identity.userId) + ? await edgeAssignments.edgeAssignment(identity) + : null if (onEdge) { return context.json({ v: 1, diff --git a/cloud/apps/relay/src/assignment/assignment-connection-headroom.test.ts b/cloud/apps/relay/src/assignment/assignment-connection-headroom.test.ts index af1f9924358..b8fce08afc5 100644 --- a/cloud/apps/relay/src/assignment/assignment-connection-headroom.test.ts +++ b/cloud/apps/relay/src/assignment/assignment-connection-headroom.test.ts @@ -46,462 +46,7 @@ async function setup( return { database, store } } -async function setupHeadroomReassignment(): Promise<{ - database: RelayDatabase - store: RelayAssignmentStore - source: RelayCellConfig - target: RelayCellConfig -}> { - const database = await openInMemoryRelayDatabase() - databases.push(database) - const store = new RelayAssignmentStore(database, () => 100, { - requireLiveCells: true, - heartbeatTtlMs: 45_000 - }) - const source = { - ...LIMITED_CELL, - id: 'saturated-source', - url: 'https://saturated-source.example.com' - } - const target = { - ...LIMITED_CELL, - id: 'available-target', - url: 'https://available-target.example.com' - } - await store.reconcileCells([source, target], true) - await store.recordCellHeartbeat({ - cellId: source.id, - cellUrl: source.url, - cellIncarnation: '11111111-1111-4111-8111-111111111111', - startedAt: 50, - ready: true, - observedRequests: 0, - totalConnections: 450, - inFlightConnections: 0, - reservedConnectionUnits: 0, - enforcedConnectionUnits: 450, - connectionHardCap: 600, - connectionUnobservedBound: 50 - }) - await store.recordCellHeartbeat({ - cellId: target.id, - cellUrl: target.url, - cellIncarnation: '22222222-2222-4222-8222-222222222222', - startedAt: 50, - ready: true, - observedRequests: 0, - totalConnections: 0, - inFlightConnections: 0, - reservedConnectionUnits: 0, - enforcedConnectionUnits: 0, - connectionHardCap: 600, - connectionUnobservedBound: 50 - }) - return { database, store, source, target } -} - describe('relay assignment connection headroom', () => { - it('requires exact, internally consistent telemetry from limited cells', async () => { - const database = await openInMemoryRelayDatabase() - databases.push(database) - const store = new RelayAssignmentStore(database, () => 100) - await store.reconcileCells([LIMITED_CELL], true) - const heartbeat = { - cellId: LIMITED_CELL.id, - cellUrl: LIMITED_CELL.url, - cellIncarnation: '11111111-1111-4111-8111-111111111111', - startedAt: 50, - ready: true, - observedRequests: 0 - } - - await expect(store.recordCellHeartbeat(heartbeat)).rejects.toThrow( - 'cell_connection_telemetry_mismatch' - ) - await expect( - store.recordCellHeartbeat({ - ...heartbeat, - totalConnections: 550, - inFlightConnections: 2, - reservedConnectionUnits: 3, - enforcedConnectionUnits: 554, - connectionHardCap: 600, - connectionUnobservedBound: 50 - }) - ).rejects.toThrow('cell_connection_telemetry_mismatch') - await expect( - store.recordCellHeartbeat({ - ...heartbeat, - totalConnections: 601, - inFlightConnections: 0, - reservedConnectionUnits: 0, - enforcedConnectionUnits: 601, - connectionHardCap: 600, - connectionUnobservedBound: 50 - }) - ).resolves.toBeUndefined() - }) - - it('keeps placing against the old cap until the cell reports a raised one', async () => { - const { store } = await setup(449) - const expanded = { - ...LIMITED_CELL, - connectionHardCap: 1_000 as const - } - - await store.reconcileCells([expanded], true) - await expect(store.cellDeploymentStatus(expanded.id)).resolves.toMatchObject({ - connectionCapacity: { hardCap: 1_000, effectiveHardCap: 600, heartbeatFresh: true } - }) - await expect( - store.assign({ userId: 'transition-user', relayHostId: 'host000000000099' }) - ).resolves.toMatchObject({ cellId: expanded.id }) - await expect( - store.assign({ userId: 'transition-user-2', relayHostId: 'host000000000096' }) - ).rejects.toThrow('relay_capacity_exhausted') - - await store.recordCellHeartbeat({ - cellId: expanded.id, - cellUrl: expanded.url, - cellIncarnation: '22222222-2222-4222-8222-222222222222', - startedAt: 200, - ready: true, - observedRequests: 0, - totalConnections: 449, - inFlightConnections: 0, - reservedConnectionUnits: 0, - enforcedConnectionUnits: 449, - connectionHardCap: 1_000, - connectionUnobservedBound: 50 - }) - await expect(store.cellDeploymentStatus(expanded.id)).resolves.toMatchObject({ - connectionCapacity: { - hardCap: 1_000, - ordinaryConnectionLimit: 900, - normalAdmissionPause: 850, - heartbeatFresh: true - } - }) - }) - - it('fails placement closed while the admin path changes the unobserved bound', async () => { - const { store } = await setup(0) - const lowered = { - ...LIMITED_CELL, - connectionUnobservedBound: 49 - } - - await store.configureCell(lowered, 'general') - await expect( - store.assign({ userId: 'admin-transition', relayHostId: 'host000000000098' }) - ).rejects.toThrow('relay_capacity_exhausted') - await expect(store.cellDeploymentStatus(lowered.id)).resolves.toMatchObject({ - connectionCapacity: { hardCap: 600, heartbeatFresh: false } - }) - - await store.recordCellHeartbeat({ - cellId: lowered.id, - cellUrl: lowered.url, - cellIncarnation: '22222222-2222-4222-8222-222222222222', - startedAt: 200, - ready: true, - observedRequests: 0, - totalConnections: 0, - inFlightConnections: 0, - reservedConnectionUnits: 0, - enforcedConnectionUnits: 0, - connectionHardCap: 600, - connectionUnobservedBound: 49 - }) - await expect( - store.assign({ userId: 'admin-restored', relayHostId: 'host000000000097' }) - ).resolves.toMatchObject({ cellId: lowered.id }) - }) - - it('admits exactly one reservation at the admission boundary', async () => { - const { database, store } = await setup(449) - const results = await Promise.allSettled([ - store.assign({ userId: 'user-1', relayHostId: 'host000000000001' }), - store.assign({ userId: 'user-2', relayHostId: 'host000000000002' }) - ]) - - expect(results.filter(({ status }) => status === 'fulfilled')).toHaveLength(1) - expect( - results - .filter(({ status }) => status === 'rejected') - .map((result) => (result.status === 'rejected' ? result.reason : null)) - ).toEqual([expect.objectContaining({ message: 'relay_capacity_exhausted' })]) - expect( - await database.query( - `SELECT activity_id FROM relay_assignment_activity_leases - WHERE activity_kind = 'control' AND activity_id LIKE 'control-pending:%'` - ) - ).toHaveLength(1) - }) - - it('rejects at the boundary before mutating durable assignment state', async () => { - const { database, store } = await setup(450) - - await expect( - store.assign({ userId: 'user-1', relayHostId: 'host000000000001' }) - ).rejects.toThrow('relay_capacity_exhausted') - expect(await database.query(`SELECT * FROM relay_assignments`)).toEqual([]) - expect(await database.query(`SELECT * FROM relay_assignment_activity_leases`)).toEqual([]) - }) - - it('charges every active reservation state at the admission boundary', async () => { - const { database, store } = await setup(447) - await database.query( - `INSERT INTO relay_control_connection_reservations - (reservation_id, idempotency_key, user_id, relay_host_id, - assignment_epoch, cell_id, state, created_at, timeout_at, updated_at) - VALUES - ('active-reserved', 'active-reserved', 'state-user', 'state-host-1', - 1, ?, 'reserved', 1, 2, 1), - ('active-debt', 'active-debt', 'state-user', 'state-host-2', - 1, ?, 'late-arrival-debt', 1, 2, 1), - ('active-claimed', 'active-claimed', 'state-user', 'state-host-3', - 1, ?, 'claimed', 1, 2, 1)`, - [LIMITED_CELL.id, LIMITED_CELL.id, LIMITED_CELL.id] - ) - - await expect( - store.assign({ userId: 'blocked-user', relayHostId: 'blockedhost00001' }) - ).rejects.toThrow('relay_capacity_exhausted') - expect(await database.query(`SELECT * FROM relay_assignment_activity_leases`)).toEqual([]) - }) - - it('does not charge released reservation history', async () => { - const { database, store } = await setup(449) - await database.query( - `INSERT INTO relay_control_connection_reservations - (reservation_id, idempotency_key, user_id, relay_host_id, - assignment_epoch, cell_id, state, created_at, timeout_at, updated_at) - VALUES ('released-history', 'released-history', 'state-user', 'state-host', - 1, ?, 'released', 1, 2, 1)`, - [LIMITED_CELL.id] - ) - - await expect( - store.assign({ userId: 'admitted-user', relayHostId: 'admittedhost0001' }) - ).resolves.toMatchObject({ cellId: LIMITED_CELL.id }) - }) - - it('rejects sticky control restoration before mutating assignment state', async () => { - const { database, store } = await setup(450) - const identity = { userId: 'sticky-user', relayHostId: 'stickyhost000001' } - await database.query( - `INSERT INTO relay_assignments - (user_id, relay_host_id, cell_id, assignment_epoch, lease_expires_at, - last_activity_at, reserved_controls, reserved_splices, reserved_invites, - pending_installs, pending_confirmations, migration_leases) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`, - [identity.userId, identity.relayHostId, LIMITED_CELL.id, 1, 10_000, 100, 0, 0, 1, 0, 0, 0] - ) - - await expect(store.assign(identity)).rejects.toThrow('relay_connection_headroom_exhausted') - expect( - await database.query( - `SELECT cell_id, assignment_epoch, reserved_controls, reserved_invites - FROM relay_assignments WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([ - { - cell_id: LIMITED_CELL.id, - assignment_epoch: 1, - reserved_controls: 0, - reserved_invites: 1 - } - ]) - expect(await database.query(`SELECT * FROM relay_assignment_activity_leases`)).toEqual([]) - }) - - it('moves a zero-activity assignment off a general cell without connection headroom', async () => { - const { database, store, source, target } = await setupHeadroomReassignment() - const identity = { userId: 'movable-user', relayHostId: 'movablehost000001' } - await database.query( - `INSERT INTO relay_assignments - (user_id, relay_host_id, cell_id, assignment_epoch, lease_expires_at, - last_activity_at, reserved_controls, reserved_splices, reserved_invites, - pending_installs, pending_confirmations, migration_leases) - VALUES (?, ?, ?, ?, ?, ?, 0, 0, 0, 0, 0, 0)`, - [identity.userId, identity.relayHostId, source.id, 7, 10_000, 100] - ) - await database.query( - `INSERT INTO relay_control_connection_reservations - (reservation_id, idempotency_key, user_id, relay_host_id, - assignment_epoch, cell_id, state, inclusion_watermark, - claim_activity_id, created_at, timeout_at, claimed_at, released_at, - updated_at) - VALUES (?, ?, ?, ?, ?, ?, 'late-arrival-debt', NULL, NULL, ?, ?, NULL, NULL, ?)`, - [ - 'superseded-reservation', - 'superseded-reservation', - identity.userId, - identity.relayHostId, - 7, - source.id, - 50, - 99, - 100 - ] - ) - - await expect(store.assign(identity)).resolves.toMatchObject({ - cellId: target.id, - assignmentEpoch: 8 - }) - expect( - await database.query( - `SELECT cell_id, assignment_epoch, reserved_controls - FROM relay_assignments WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ cell_id: target.id, assignment_epoch: 8, reserved_controls: 1 }]) - expect( - await database.query( - `SELECT cell_id, activity_kind FROM relay_assignment_activity_leases - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ cell_id: target.id, activity_kind: 'control' }]) - expect( - await database.query( - `SELECT cell_id, assignment_epoch, state - FROM relay_control_connection_reservations - WHERE user_id = ? AND relay_host_id = ? - ORDER BY assignment_epoch`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([ - { cell_id: source.id, assignment_epoch: 7, state: 'released' }, - { cell_id: target.id, assignment_epoch: 8, state: 'reserved' } - ]) - }) - - it('keeps non-control activity pinned when its cell has no connection headroom', async () => { - const { database, store, source } = await setupHeadroomReassignment() - const identity = { userId: 'pinned-user', relayHostId: 'pinnedhost0000001' } - await database.query( - `INSERT INTO relay_assignments - (user_id, relay_host_id, cell_id, assignment_epoch, lease_expires_at, - last_activity_at, reserved_controls, reserved_splices, reserved_invites, - pending_installs, pending_confirmations, migration_leases) - VALUES (?, ?, ?, ?, ?, ?, 0, 0, 1, 0, 0, 0)`, - [identity.userId, identity.relayHostId, source.id, 7, 10_000, 100] - ) - - await expect(store.assign(identity)).rejects.toThrow('relay_connection_headroom_exhausted') - expect(await store.resolve(identity)).toMatchObject({ - cellId: source.id, - assignmentEpoch: 7 - }) - }) - - it('keeps a zero-activity assignment pinned on an existing-only cell', async () => { - const { database, store, source } = await setupHeadroomReassignment() - const identity = { userId: 'pinned-existing-only-user', relayHostId: 'pinnedexistingonl' } - await store.setCellAdmissionState(source.id, 'existing-only') - await database.query( - `INSERT INTO relay_assignments - (user_id, relay_host_id, cell_id, assignment_epoch, lease_expires_at, - last_activity_at, reserved_controls, reserved_splices, reserved_invites, - pending_installs, pending_confirmations, migration_leases) - VALUES (?, ?, ?, ?, ?, ?, 0, 0, 0, 0, 0, 0)`, - [identity.userId, identity.relayHostId, source.id, 7, 10_000, 100] - ) - - await expect(store.assign(identity)).rejects.toThrow('relay_connection_headroom_exhausted') - expect(await store.resolve(identity)).toMatchObject({ - cellId: source.id, - assignmentEpoch: 7 - }) - expect(await database.query(`SELECT * FROM relay_assignment_activity_leases`)).toEqual([]) - }) - - it('keeps a zero-activity assignment pinned on an unstamped migration-only cell', async () => { - // Why: an evacuation target is deliberately migration-only and deliberately - // full. Without the roll's isolate stamp it must keep the hosts it holds. - const { database, store, source } = await setupHeadroomReassignment() - const identity = { userId: 'pinned-migration-only-user', relayHostId: 'pinnedmigrationonly' } - await store.setCellAdmissionState(source.id, 'migration-only') - await database.query( - `INSERT INTO relay_assignments - (user_id, relay_host_id, cell_id, assignment_epoch, lease_expires_at, - last_activity_at, reserved_controls, reserved_splices, reserved_invites, - pending_installs, pending_confirmations, migration_leases) - VALUES (?, ?, ?, ?, ?, ?, 0, 0, 0, 0, 0, 0)`, - [identity.userId, identity.relayHostId, source.id, 7, 10_000, 100] - ) - - await expect(store.assign(identity)).rejects.toThrow('relay_connection_headroom_exhausted') - expect(await store.resolve(identity)).toMatchObject({ - cellId: source.id, - assignmentEpoch: 7 - }) - }) - - it('renames a pending reservation exactly once on control activation', async () => { - const { database, store } = await setup(449) - const identity = { userId: 'user-1', relayHostId: 'host000000000001' } - const assignment = await store.assign(identity) - - await store.activateControl(identity, { - cellId: LIMITED_CELL.id, - assignmentEpoch: assignment.assignmentEpoch, - generation: 1 - }) - await store.activateControl(identity, { - cellId: LIMITED_CELL.id, - assignmentEpoch: assignment.assignmentEpoch, - generation: 1 - }) - - expect( - await database.query( - `SELECT activity_id, request_units FROM relay_assignment_activity_leases - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ activity_id: 'control:limited:1', request_units: 1 }]) - }) - - it('keeps expired pending reservations charged as late-arrival debt', async () => { - let now = 100 - const { database, store } = await setup(449, () => now) - await store.assign({ userId: 'user-1', relayHostId: 'host000000000001' }) - now += ASSIGNMENT_LIMITS.activityLeaseMs + 1 - await store.releaseExpiredActivityLeases() - await store.recordCellHeartbeat({ - cellId: LIMITED_CELL.id, - cellUrl: LIMITED_CELL.url, - cellIncarnation: '11111111-1111-4111-8111-111111111111', - startedAt: 50, - ready: true, - observedRequests: 0, - totalConnections: 449, - inFlightConnections: 0, - reservedConnectionUnits: 0, - enforcedConnectionUnits: 449, - connectionHardCap: 600, - connectionUnobservedBound: 50 - }) - - await expect( - store.assign({ userId: 'user-2', relayHostId: 'host000000000002' }) - ).rejects.toThrow('relay_capacity_exhausted') - expect( - await database.query( - `SELECT activity_id FROM relay_assignment_activity_leases - WHERE activity_kind = 'control' AND activity_id LIKE 'control-pending:%'` - ) - ).toHaveLength(0) - expect(await database.query(`SELECT state FROM relay_control_connection_reservations`)).toEqual( - [{ state: 'late-arrival-debt' }] - ) - }) - it('reconciles late-arrival debt only after a covering absolute snapshot', async () => { let now = 100 const { database, store } = await setup(449, () => now) @@ -559,386 +104,4 @@ describe('relay assignment connection headroom', () => { store.assign({ userId: 'blocked-user', relayHostId: 'blockedhost00001' }) ).rejects.toThrow('relay_capacity_exhausted') }) - - it('rejects duplicate and out-of-order absolute snapshots', async () => { - const { database, store } = await setup(0) - const heartbeat = { - cellId: LIMITED_CELL.id, - cellUrl: LIMITED_CELL.url, - cellIncarnation: '11111111-1111-4111-8111-111111111111', - startedAt: 50, - ready: true, - observedRequests: 0, - totalConnections: 10, - inFlightConnections: 0, - reservedConnectionUnits: 0, - enforcedConnectionUnits: 10, - connectionInclusionWatermark: 10, - connectionHardCap: 600 as const, - connectionUnobservedBound: 50 - } - await store.recordCellHeartbeat(heartbeat) - await expect(store.recordCellHeartbeat(heartbeat)).rejects.toThrow('stale_connection_snapshot') - await expect( - store.recordCellHeartbeat({ - ...heartbeat, - totalConnections: 9, - enforcedConnectionUnits: 9, - connectionInclusionWatermark: 9 - }) - ).rejects.toThrow('stale_connection_snapshot') - expect( - await database.query( - `SELECT inclusion_watermark, enforced_connection_units - FROM relay_cell_connection_snapshots` - ) - ).toEqual([{ inclusion_watermark: 10, enforced_connection_units: 10 }]) - }) - - it('keeps crash retries bound to one reservation claim', async () => { - let now = 100 - const { database, store } = await setup(448, () => now) - const identity = { userId: 'retry-user', relayHostId: 'retryhost0000001' } - const assignment = await store.assign(identity) - await new RelayAssignmentStore(database, () => now, { - requireLiveCells: true, - heartbeatTtlMs: 45_000 - }).assign(identity) - expect(await database.query(`SELECT state FROM relay_control_connection_reservations`)).toEqual( - [{ state: 'reserved' }] - ) - now += ASSIGNMENT_LIMITS.activityLeaseMs + 1 - await store.releaseExpiredActivityLeases() - await store.recordCellHeartbeat({ - cellId: LIMITED_CELL.id, - cellUrl: LIMITED_CELL.url, - cellIncarnation: '11111111-1111-4111-8111-111111111111', - startedAt: 50, - ready: true, - observedRequests: 0, - totalConnections: 448, - inFlightConnections: 0, - reservedConnectionUnits: 0, - enforcedConnectionUnits: 448, - connectionHardCap: 600, - connectionUnobservedBound: 50 - }) - await store.assign(identity) - const restarted = new RelayAssignmentStore(database, () => now, { - requireLiveCells: true, - heartbeatTtlMs: 45_000 - }) - - const activation = { - cellId: LIMITED_CELL.id, - assignmentEpoch: assignment.assignmentEpoch, - generation: 1, - connectionInclusionWatermark: 5 - } - await restarted.activateControl(identity, activation) - await restarted.activateControl(identity, activation) - - expect( - await database.query( - `SELECT state, claim_activity_id - FROM relay_control_connection_reservations - ORDER BY created_at ASC, reservation_id ASC` - ) - ).toEqual([{ state: 'claimed', claim_activity_id: 'control:limited:1' }]) - }) - - it('releases only redundant expired debt after a fresh absolute snapshot', async () => { - let now = 100 - const { database, store } = await setup(449, () => now) - const identity = { userId: 'debt-user', relayHostId: 'debthost000000001' } - const assignment = await store.assign(identity) - now += ASSIGNMENT_LIMITS.activityLeaseMs + 1 - await store.releaseExpiredActivityLeases() - await database.query( - `INSERT INTO relay_control_connection_reservations - (reservation_id, idempotency_key, user_id, relay_host_id, - assignment_epoch, cell_id, state, inclusion_watermark, - claim_activity_id, created_at, timeout_at, claimed_at, released_at, - updated_at) - VALUES (?, ?, ?, ?, ?, ?, 'late-arrival-debt', NULL, NULL, ?, ?, NULL, NULL, ?)`, - [ - 'duplicate-reservation', - 'duplicate-reservation', - identity.userId, - identity.relayHostId, - assignment.assignmentEpoch, - LIMITED_CELL.id, - 101, - now - 1, - now - ] - ) - - await store.recordCellHeartbeat({ - cellId: LIMITED_CELL.id, - cellUrl: LIMITED_CELL.url, - cellIncarnation: '11111111-1111-4111-8111-111111111111', - startedAt: 50, - ready: true, - observedRequests: 0, - totalConnections: 449, - inFlightConnections: 0, - reservedConnectionUnits: 0, - enforcedConnectionUnits: 449, - connectionInclusionWatermark: 5, - connectionHardCap: 600, - connectionUnobservedBound: 50 - }) - - expect( - await database.query( - `SELECT state, COUNT(*) AS count - FROM relay_control_connection_reservations - GROUP BY state ORDER BY state` - ) - ).toEqual([ - { state: 'late-arrival-debt', count: 1 }, - { state: 'released', count: 1 } - ]) - }) - - it('releases expired debt for a snapshot-proven aborted older epoch', async () => { - const now = 1_000 - const { database, store } = await setup(0, () => now) - const identity = { userId: 'aborted-user', relayHostId: 'abortedhost00001' } - await database.query( - `INSERT INTO relay_assignments - (user_id, relay_host_id, cell_id, assignment_epoch, lease_expires_at, - last_activity_at, reserved_controls, reserved_splices, reserved_invites, - pending_installs, pending_confirmations, migration_leases) - VALUES (?, ?, ?, ?, ?, ?, 0, 0, 0, 0, 0, 0)`, - [identity.userId, identity.relayHostId, LIMITED_CELL.id, 3, now, now] - ) - await database.query( - `INSERT INTO relay_assignment_migrations - (user_id, relay_host_id, source_cell_id, target_cell_id, - previous_epoch, assignment_epoch, source_request_units, - target_reserved_units, expires_at, target_registered_at, - completed_at, aborted_at, created_at, updated_at) - VALUES (?, ?, ?, ?, 1, 2, 0, 1, ?, ?, NULL, ?, ?, ?)`, - [ - identity.userId, - identity.relayHostId, - 'source', - LIMITED_CELL.id, - now - 2, - now - 3, - now - 1, - now - 4, - now - 1 - ] - ) - await database.query( - `INSERT INTO relay_control_connection_reservations - (reservation_id, idempotency_key, user_id, relay_host_id, - assignment_epoch, cell_id, state, inclusion_watermark, - claim_activity_id, created_at, timeout_at, claimed_at, released_at, - updated_at) - VALUES (?, ?, ?, ?, 2, ?, 'late-arrival-debt', NULL, NULL, ?, ?, NULL, NULL, ?)`, - [ - 'aborted-reservation', - 'aborted-reservation', - identity.userId, - identity.relayHostId, - LIMITED_CELL.id, - now - 4, - now - 2, - now - 1 - ] - ) - - await store.recordCellHeartbeat({ - cellId: LIMITED_CELL.id, - cellUrl: LIMITED_CELL.url, - cellIncarnation: '11111111-1111-4111-8111-111111111111', - startedAt: 50, - ready: true, - observedRequests: 0, - totalConnections: 0, - inFlightConnections: 0, - reservedConnectionUnits: 0, - enforcedConnectionUnits: 0, - connectionInclusionWatermark: 5, - connectionHardCap: 600, - connectionUnobservedBound: 50 - }) - - expect( - await database.query( - `SELECT state FROM relay_control_connection_reservations - WHERE reservation_id = ?`, - ['aborted-reservation'] - ) - ).toEqual([{ state: 'released' }]) - }) - - it('fails a limited cell closed on stale telemetry while leaving legacy cells unchanged', async () => { - let now = 100 - const { store } = await setup(0, () => now) - now += 45_001 - await expect( - store.assign({ userId: 'user-1', relayHostId: 'host000000000001' }) - ).rejects.toThrow('relay_capacity_exhausted') - - const legacyDatabase = await openInMemoryRelayDatabase() - databases.push(legacyDatabase) - const legacyStore = new RelayAssignmentStore(legacyDatabase, () => now, { - requireLiveCells: true, - heartbeatTtlMs: 45_000 - }) - const legacy = { - id: 'legacy', - url: 'https://legacy.example.com', - capacityRequests: 10 - } - await legacyStore.reconcileCells([legacy], true) - await legacyStore.recordCellHeartbeat({ - cellId: legacy.id, - cellUrl: legacy.url, - cellIncarnation: '22222222-2222-4222-8222-222222222222', - startedAt: now, - ready: true, - observedRequests: 0 - }) - await expect( - legacyStore.assign({ userId: 'user-2', relayHostId: 'host000000000002' }) - ).resolves.toMatchObject({ cellId: 'legacy' }) - }) - - it('does not create connection debt for mixed-version uncapped cells', async () => { - let now = 100 - const legacy = { - id: 'legacy', - url: 'https://legacy.example.com', - capacityRequests: 10 - } - const { database, store } = await setup(0, () => now) - await store.reconcileCells([legacy], true) - await store.recordCellHeartbeat({ - cellId: legacy.id, - cellUrl: legacy.url, - cellIncarnation: '22222222-2222-4222-8222-222222222222', - startedAt: 50, - ready: true, - observedRequests: 0 - }) - - await store.assign({ userId: 'legacy-user', relayHostId: 'legacyhost000001' }) - expect(await database.query(`SELECT * FROM relay_control_connection_reservations`)).toEqual([]) - expect(await store.releaseExpiredActivityLeases()).toBe(0) - now += ASSIGNMENT_LIMITS.activityLeaseMs + 1 - expect(await store.releaseExpiredActivityLeases()).toBe(1) - expect(await database.query(`SELECT * FROM relay_control_connection_reservations`)).toEqual([]) - }) - - it('rejects dormant rebalance before changing the assignment epoch', async () => { - const now = ASSIGNMENT_LIMITS.dormantTtlMs + 100 - const database = await openInMemoryRelayDatabase() - databases.push(database) - const store = new RelayAssignmentStore(database, () => now, { - requireLiveCells: true, - heartbeatTtlMs: 45_000 - }) - const source = { - id: 'source', - url: 'https://source.example.com', - capacityRequests: 10 - } - await store.reconcileCells([source, LIMITED_CELL], true) - await store.recordCellHeartbeat({ - cellId: source.id, - cellUrl: source.url, - cellIncarnation: '22222222-2222-4222-8222-222222222222', - startedAt: now - 50, - ready: true, - observedRequests: 0 - }) - await store.recordCellHeartbeat({ - cellId: LIMITED_CELL.id, - cellUrl: LIMITED_CELL.url, - cellIncarnation: '11111111-1111-4111-8111-111111111111', - startedAt: now - 50, - ready: true, - observedRequests: 0, - totalConnections: 450, - inFlightConnections: 0, - reservedConnectionUnits: 0, - enforcedConnectionUnits: 450, - connectionHardCap: 600, - connectionUnobservedBound: 50 - }) - const identity = { userId: 'dormant-user', relayHostId: 'dormanthost00001' } - await database.query( - `INSERT INTO relay_assignments - (user_id, relay_host_id, cell_id, assignment_epoch, lease_expires_at, - last_activity_at, reserved_controls, reserved_splices, reserved_invites, - pending_installs, pending_confirmations, migration_leases) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`, - [identity.userId, identity.relayHostId, source.id, 7, 0, 0, 0, 0, 0, 0, 0, 0] - ) - - await expect(store.rebalanceDormant(identity, LIMITED_CELL.id)).rejects.toThrow( - 'relay_connection_headroom_exhausted' - ) - expect(await store.resolve(identity)).toMatchObject({ - cellId: source.id, - assignmentEpoch: 7 - }) - expect(await database.query(`SELECT * FROM relay_assignment_activity_leases`)).toEqual([]) - }) - - it('rejects an evacuation target at its pause before migration mutation', async () => { - const database = await openInMemoryRelayDatabase() - databases.push(database) - const store = new RelayAssignmentStore(database, () => 100, { - requireLiveCells: true, - heartbeatTtlMs: 45_000 - }) - const source = { - id: 'source', - url: 'https://source.example.com', - capacityRequests: 10 - } - await store.reconcileCells([source, { ...LIMITED_CELL, initiallyEnabled: false }], true) - await store.recordCellHeartbeat({ - cellId: source.id, - cellUrl: source.url, - cellIncarnation: '22222222-2222-4222-8222-222222222222', - startedAt: 50, - ready: true, - observedRequests: 0 - }) - await store.recordCellHeartbeat({ - cellId: LIMITED_CELL.id, - cellUrl: LIMITED_CELL.url, - cellIncarnation: '11111111-1111-4111-8111-111111111111', - startedAt: 50, - ready: true, - observedRequests: 0, - totalConnections: 450, - inFlightConnections: 0, - reservedConnectionUnits: 0, - enforcedConnectionUnits: 450, - connectionHardCap: 600, - connectionUnobservedBound: 50 - }) - const identity = { userId: 'user-1', relayHostId: 'host000000000001' } - const assignment = await store.assign(identity) - expect(assignment.cellId).toBe(source.id) - await store.setCellEnabled(LIMITED_CELL.id, true) - - await expect(store.startEvacuation(identity, LIMITED_CELL.id)).rejects.toThrow( - 'relay_connection_headroom_exhausted' - ) - expect(await database.query(`SELECT * FROM relay_assignment_migrations`)).toEqual([]) - expect(await store.resolve(identity)).toMatchObject({ - cellId: source.id, - assignmentEpoch: assignment.assignmentEpoch - }) - }) }) diff --git a/cloud/apps/relay/src/assignment/assignment-isolated-cell-replacement-postgres.test.ts b/cloud/apps/relay/src/assignment/assignment-isolated-cell-replacement-postgres.test.ts index d552d8710e8..8e533d9468b 100644 --- a/cloud/apps/relay/src/assignment/assignment-isolated-cell-replacement-postgres.test.ts +++ b/cloud/apps/relay/src/assignment/assignment-isolated-cell-replacement-postgres.test.ts @@ -1,4 +1,3 @@ -import { ASSIGNMENT_LIMITS } from '@orca-cloud/relay-contract/assignment-invariants' import { createHash } from 'node:crypto' import { afterAll, beforeAll, describe, expect, it, vi } from 'vitest' import { RelayAssignmentRowBusyError, RelayAssignmentStore } from './assignment-store.js' @@ -52,7 +51,6 @@ const OTHER_REGION: RelayCellConfig = { ...CAPPED } const CELLS = [ISOLATED, ...TARGETS, OTHER_REGION] -const HOST_COUNT = 50 function hostIdentity(index: number): { userId: string; relayHostId: string } { return { @@ -74,48 +72,6 @@ describePostgres('PostgreSQL re-placement off a cell isolated for a roll', () => return Number(rows[0]!['reserved_requests']) } - // The accounting invariant the migration paths assert: a cell's counter is - // exactly the units of the leases held on it. - async function expectReservationAccounting(): Promise { - for (const cell of CELLS) { - const leased = await databases[0]!.query( - `SELECT COALESCE(SUM(request_units), 0) AS units - FROM relay_assignment_activity_leases WHERE cell_id = ?`, - [cell.id] - ) - expect({ cell: cell.id, reserved: await reservedRequests(cell.id) }).toEqual({ - cell: cell.id, - reserved: Number(leased[0]!['units']) - }) - } - } - - async function expectReservationAccountingExcept(cellId: string): Promise { - for (const cell of CELLS.filter(({ id }) => id !== cellId)) { - const leased = await databases[0]!.query( - `SELECT COALESCE(SUM(request_units), 0) AS units - FROM relay_assignment_activity_leases WHERE cell_id = ?`, - [cell.id] - ) - expect(await reservedRequests(cell.id)).toBe(Number(leased[0]!['units'])) - } - } - - async function counters(identity: { - userId: string - relayHostId: string - }): Promise<{ controls: number; splices: number }> { - const rows = await databases[0]!.query( - `SELECT reserved_controls, reserved_splices FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - return { - controls: Number(rows[0]!['reserved_controls']), - splices: Number(rows[0]!['reserved_splices']) - } - } - // Holds the named relay_cells rows in another session until released, the // way a release from a far cell holds its row across a round trip. async function holdCellRows(cellIds: string[]): Promise<() => Promise> { @@ -144,40 +100,18 @@ describePostgres('PostgreSQL re-placement off a cell isolated for a roll', () => } async function waitForLock(table: 'relay_cells' | 'relay_assignments'): Promise { - await vi.waitFor(async () => { - const rows = await databases[0]!.query( - `SELECT COUNT(*) AS waiting FROM pg_stat_activity + await vi.waitFor( + async () => { + const rows = await databases[0]!.query( + `SELECT COUNT(*) AS waiting FROM pg_stat_activity WHERE datname = current_database() AND wait_event_type = 'Lock' AND application_name = ? AND query LIKE ? AND query LIKE '%FOR UPDATE%'`, - [databaseApplicationName(1), `%${table}%`] - ) - expect(Number(rows[0]?.['waiting'])).toBeGreaterThan(0) - }, { timeout: 4_000, interval: 10 }) - } - - // Puts a host on the source with a live control and a splice, then isolates - // the source for a roll with both targets open. - async function seedActiveHostOnIsolatedSource(index: number): Promise<{ - identity: { userId: string; relayHostId: string } - first: { cellId: string; assignmentEpoch: number } - }> { - const identity = hostIdentity(index) - await applySelector({ [TARGETS[0]!.id]: 'migration-only', [TARGETS[1]!.id]: 'migration-only' }) - const first = await stores[0]!.assign(identity, 'us-central1') - expect(first.cellId).toBe(ISOLATED.id) - await stores[0]!.activateControl(identity, { - cellId: ISOLATED.id, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await stores[0]!.acquireActivity(identity, { - activityId: 'splice:keep-1', - kind: 'splice', - cellId: ISOLATED.id - }) - await applySelector({ [TARGETS[0]!.id]: 'general', [TARGETS[1]!.id]: 'general' }) - await applySelector({ [ISOLATED.id]: 'migration-only' }, [ISOLATED.id]) - return { identity, first } + [databaseApplicationName(1), `%${table}%`] + ) + expect(Number(rows[0]?.['waiting'])).toBeGreaterThan(0) + }, + { timeout: 4_000, interval: 10 } + ) } // `enforced` puts a cell at its connection cap, which leaves it no headroom. @@ -211,9 +145,7 @@ describePostgres('PostgreSQL re-placement off a cell isolated for a roll', () => const current = await stores[0]!.inspectCellAdmissionSelector() // Built from relay_cells, not from the selector's own membership: the apply // requires exact coverage of the fleet, and this database is shared. - const fleet = await databases[0]!.query( - `SELECT cell_id FROM relay_cells ORDER BY cell_id ASC` - ) + const fleet = await databases[0]!.query(`SELECT cell_id FROM relay_cells ORDER BY cell_id ASC`) const membership: CellAdmissionMembership = { existingOnly: [], migrationOnly: [], @@ -251,15 +183,6 @@ describePostgres('PostgreSQL re-placement off a cell isolated for a roll', () => }) } - async function rollIsolatedAt(cellId: string): Promise { - const rows = await databases[0]!.query( - `SELECT roll_isolated_at FROM relay_cell_admission WHERE cell_id = ?`, - [cellId] - ) - const value = rows[0]?.['roll_isolated_at'] - return value === undefined || value === null ? null : Number(value) - } - // Every case starts from the whole fleet general; a case that leaves a cell // isolated would otherwise starve the next one of placement candidates. async function resetFleet(): Promise { @@ -301,11 +224,13 @@ describePostgres('PostgreSQL re-placement off a cell isolated for a roll', () => // Four connections so the concurrent dials below really contend on the // fleet-wide relay_cells lock rather than queueing in one client. for (let index = 0; index < 4; index += 1) { - databases.push(await openRelayDatabase({ - databaseUrl, - dataDir: '', - applicationName: databaseApplicationName(index) - })) + databases.push( + await openRelayDatabase({ + databaseUrl, + dataDir: '', + applicationName: databaseApplicationName(index) + }) + ) } stores = databases.map( (database) => @@ -344,129 +269,6 @@ describePostgres('PostgreSQL re-placement off a cell isolated for a roll', () => for (const connection of databases) await connection.close() }) - it('stamps only the named cell on isolate and clears it on restore', async () => { - await resetFleet() - expect(await rollIsolatedAt(ISOLATED.id)).toBeNull() - - await applySelector({ [ISOLATED.id]: 'migration-only' }, [ISOLATED.id]) - const stamped = await rollIsolatedAt(ISOLATED.id) - expect(stamped).toBe(NOW) - // Cells the isolate did not name stay unmarked even when parked in the same - // apply: that is every non-roll flow, and its hosts must keep their pin. - await applySelector({ [TARGETS[0]!.id]: 'migration-only' }) - expect(await rollIsolatedAt(TARGETS[0]!.id)).toBeNull() - - // A failed wave re-isolates rather than restoring; the stamp survives, and - // does not move, so the hosts left behind stay eligible. - await applySelector({ [ISOLATED.id]: 'migration-only' }, [ISOLATED.id]) - expect(await rollIsolatedAt(ISOLATED.id)).toBe(stamped) - - // Restore writes 'general', and the same statement clears the stamp. - await applySelector({ [ISOLATED.id]: 'general' }) - expect(await rollIsolatedAt(ISOLATED.id)).toBeNull() - }, 30_000) - - it('classifies a reconnect by its home cell’s stamp in the verification read', async () => { - await resetFleet() - const identity = hostIdentity(903) - const classify = { classifyHomeRollIsolation: true } - await applySelector({ [TARGETS[0]!.id]: 'migration-only', [TARGETS[1]!.id]: 'migration-only' }) - const first = await stores[0]!.assign(identity, 'us-central1') - await applySelector({ [TARGETS[0]!.id]: 'general', [TARGETS[1]!.id]: 'general' }) - expect(first.cellId).toBe(ISOLATED.id) - expect(await stores[0]!.resolve(identity, classify)).not.toHaveProperty('homeCellRollIsolated') - - await applySelector({ [ISOLATED.id]: 'migration-only' }, [ISOLATED.id]) - expect(await stores[0]!.resolve(identity, classify)).toMatchObject({ - cellId: ISOLATED.id, - homeCellRollIsolated: true - }) - - await applySelector({ [ISOLATED.id]: 'general' }) - expect(await stores[0]!.resolve(identity, classify)).not.toHaveProperty('homeCellRollIsolated') - }, 30_000) - - it('ignores a stamp older than the roll it is supposed to describe', async () => { - // A failed wave keeps its stamp on purpose and can sit for hours; past the - // bound the cell stops shedding hosts one dial at a time. - await resetFleet() - const identity = hostIdentity(902) - const first = await stores[0]!.assign(identity, 'us-central1') - await applySelector({ [ISOLATED.id]: 'migration-only' }, [ISOLATED.id]) - await databases[0]!.query( - `UPDATE relay_cell_admission SET roll_isolated_at = ? WHERE cell_id = ?`, - [NOW - (2 * 60 * 60_000 + 1), ISOLATED.id] - ) - - expect(await stores[0]!.assign(identity, 'us-central1')).toMatchObject({ - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch - }) - }, 30_000) - - it('re-places every host off an isolated cell without leaking a reservation', async () => { - await resetFleet() - const identities = Array.from({ length: HOST_COUNT }, (_, index) => hostIdentity(index)) - const sourceBaseline = await reservedRequests(ISOLATED.id) - const targetBaseline = - (await reservedRequests(TARGETS[0]!.id)) + (await reservedRequests(TARGETS[1]!.id)) - - // Everyone lands on the cell about to be isolated. - await applySelector({ [TARGETS[0]!.id]: 'migration-only', [TARGETS[1]!.id]: 'migration-only' }) - const first = new Map() - for (const identity of identities) { - const grant = await stores[0]!.assign(identity, 'us-central1') - expect(grant.cellId).toBe(ISOLATED.id) - first.set(identity.relayHostId, grant) - } - await applySelector({ [TARGETS[0]!.id]: 'general', [TARGETS[1]!.id]: 'general' }) - - // The isolate step. The state and the stamp are written by one UPDATE under - // the fleet-wide relay_cells lock, so there is no torn state to race against. - await applySelector({ [ISOLATED.id]: 'migration-only' }, [ISOLATED.id]) - expect(await rollIsolatedAt(ISOLATED.id)).not.toBeNull() - - const grants = await Promise.all( - identities.map( - async (identity, index) => - await stores[1 + (index % (stores.length - 1))]!.assign(identity, 'us-central1') - ) - ) - - for (const [index, grant] of grants.entries()) { - const identity = identities[index]! - expect(grant.cellId).not.toBe(ISOLATED.id) - expect(TARGETS.map(({ id }) => id)).toContain(grant.cellId) - // Exactly once: a double bump would mean two transactions both moved it. - expect(grant.assignmentEpoch).toBe(first.get(identity.relayHostId)!.assignmentEpoch + 1) - } - - // The placement leaves the source row alone: each host's pending control - // there still counts until the source releases it. - expect(await reservedRequests(ISOLATED.id)).toBe(sourceBaseline + HOST_COUNT) - expect( - (await reservedRequests(TARGETS[0]!.id)) + (await reservedRequests(TARGETS[1]!.id)) - ).toBe(targetBaseline + HOST_COUNT) - await expectReservationAccounting() - for (const identity of identities) { - expect( - await stores[0]!.releaseActivity( - identity, - `control-pending:${first.get(identity.relayHostId)!.assignmentEpoch}` - ) - ).toBe(true) - } - expect(await reservedRequests(ISOLATED.id)).toBe(sourceBaseline) - await expectReservationAccounting() - - const rows = await databases[0]!.query( - `SELECT COUNT(*) AS count FROM relay_assignments - WHERE user_id LIKE '${USER_PREFIX}-%' AND cell_id = ?`, - [ISOLATED.id] - ) - expect(Number(rows[0]!['count'])).toBe(0) - }, 60_000) - it('lets exactly one of a host’s racing dials win the re-placement', async () => { await resetFleet() const identity = hostIdentity(900) @@ -486,9 +288,7 @@ describePostgres('PostgreSQL re-placement off a cell isolated for a roll', () => stores[1]!.assign(identity, 'us-central1'), stores[2]!.assign(identity, 'us-central1') ]) - const granted = raced.flatMap((result) => - result.status === 'fulfilled' ? [result.value] : [] - ) + const granted = raced.flatMap((result) => (result.status === 'fulfilled' ? [result.value] : [])) expect(granted.length).toBeGreaterThan(0) // Concurrent dials may grant repeatedly but commit one move: one epoch/unit on target, preserving source leases until release. @@ -502,399 +302,6 @@ describePostgres('PostgreSQL re-placement off a cell isolated for a roll', () => ).toBe(targetBaseline + 1) }, 30_000) - it('grants no host the isolated cell after the admission flip commits', async () => { - await resetFleet() - const identity = hostIdentity(901) - const first = await stores[0]!.assign(identity, 'us-central1') - await applySelector({ [ISOLATED.id]: 'migration-only' }, [ISOLATED.id]) - - for (let dial = 0; dial < 5; dial += 1) { - const grant = await stores[1 + (dial % (stores.length - 1))]!.assign( - identity, - 'us-central1' - ) - expect(grant.cellId).not.toBe(ISOLATED.id) - } - // Only the first dial re-places; the rest are ordinary sticky re-grants. - expect((await stores[0]!.resolve(identity))?.assignmentEpoch).toBe( - first.assignmentEpoch + 1 - ) - }, 30_000) - it('leaves the source row to the source’s own releases and keeps the host’s counters', async () => { - await resetFleet() - const { identity, first } = await seedActiveHostOnIsolatedSource(910) - const sourceBefore = await reservedRequests(ISOLATED.id) - const targetsBefore = - (await reservedRequests(TARGETS[0]!.id)) + (await reservedRequests(TARGETS[1]!.id)) - expect(sourceBefore).toBe(3) - expect(await counters(identity)).toEqual({ controls: 1, splices: 1 }) - - const moved = await stores[1]!.assign(identity, 'us-central1') - expect(TARGETS.map(({ id }) => id)).toContain(moved.cellId) - expect(moved.assignmentEpoch).toBe(first.assignmentEpoch + 1) - expect(await reservedRequests(ISOLATED.id)).toBe(sourceBefore) - expect( - (await reservedRequests(TARGETS[0]!.id)) + (await reservedRequests(TARGETS[1]!.id)) - ).toBe(targetsBefore + 1) - // One control added on the target; the source's control and splice kept. - expect(await counters(identity)).toEqual({ controls: 2, splices: 1 }) - await expectReservationAccounting() - - // The source closes the host's sockets: each release takes its own units. - expect(await stores[0]!.releaseActivity(identity, `control:${ISOLATED.id}:1`)).toBe(true) - expect(await reservedRequests(ISOLATED.id)).toBe(sourceBefore - 1) - expect(await counters(identity)).toEqual({ controls: 1, splices: 1 }) - expect(await stores[0]!.releaseActivity(identity, 'splice:keep-1')).toBe(true) - expect(await reservedRequests(ISOLATED.id)).toBe(0) - // The target's control survives the source's releases. - expect(await counters(identity)).toEqual({ controls: 1, splices: 0 }) - await expectReservationAccounting() - }, 30_000) - - it('re-places an isolated incumbent while the source row is held', async () => { - await resetFleet() - const { identity, first } = await seedActiveHostOnIsolatedSource(911) - const sourceBefore = await reservedRequests(ISOLATED.id) - const release = await holdCellRows([ISOLATED.id]) - try { - // Held far past the 500ms bounded wait: a placement that asked for the - // source row could not finish inside this window. - const moved = await Promise.race([ - stores[1]!.assign(identity, 'us-central1'), - new Promise<'blocked'>((resolve) => setTimeout(() => resolve('blocked'), 3_000)) - ]) - expect(moved).not.toBe('blocked') - expect(moved).toMatchObject({ assignmentEpoch: first.assignmentEpoch + 1 }) - } finally { - await release() - } - expect(await reservedRequests(ISOLATED.id)).toBe(sourceBefore) - await expectReservationAccounting() - }, 30_000) - - it('waits for the target rows it increments', async () => { - await resetFleet() - const { identity, first } = await seedActiveHostOnIsolatedSource(912) - const targetsBefore = - (await reservedRequests(TARGETS[0]!.id)) + (await reservedRequests(TARGETS[1]!.id)) - const release = await holdCellRows(TARGETS.map(({ id }) => id)) - const placement = stores[1]!.assign(identity, 'us-central1') - try { - await waitForLock('relay_cells') - } finally { - await release() - await placement.catch(() => undefined) - } - expect(await placement).toMatchObject({ assignmentEpoch: first.assignmentEpoch + 1 }) - expect( - (await reservedRequests(TARGETS[0]!.id)) + (await reservedRequests(TARGETS[1]!.id)) - ).toBe(targetsBefore + 1) - await expectReservationAccounting() - }, 30_000) - - it('keeps the pin when no general cell in any region has headroom', async () => { - await resetFleet() - const { identity, first } = await seedActiveHostOnIsolatedSource(913) - const sourceBefore = await reservedRequests(ISOLATED.id) - await databases[0]!.query( - `UPDATE relay_cells SET reserved_requests = capacity_requests WHERE cell_id IN (?, ?, ?)`, - [...TARGETS, OTHER_REGION].map(({ id }) => id) - ) - try { - expect(await stores[1]!.assign(identity, 'us-central1')).toMatchObject({ - cellId: ISOLATED.id, - assignmentEpoch: first.assignmentEpoch - }) - expect(await reservedRequests(ISOLATED.id)).toBe(sourceBefore) - expect(await counters(identity)).toEqual({ controls: 1, splices: 1 }) - } finally { - await databases[0]!.query( - `UPDATE relay_cells SET reserved_requests = 0 WHERE cell_id IN (?, ?, ?)`, - [...TARGETS, OTHER_REGION].map(({ id }) => id) - ) - } - }, 30_000) - - it('moves to another region when its own is at the connection cap, without the source row', async () => { - await resetFleet() - const { identity, first } = await seedActiveHostOnIsolatedSource(917) - const sourceBefore = await reservedRequests(ISOLATED.id) - await heartbeatAll(Object.fromEntries(TARGETS.map(({ id }) => [id, 600]))) - const release = await holdCellRows([ISOLATED.id]) - try { - const moved = await Promise.race([ - stores[1]!.assign(identity, 'us-central1'), - new Promise<'blocked'>((resolve) => setTimeout(() => resolve('blocked'), 3_000)) - ]) - expect(moved).toMatchObject({ - cellId: OTHER_REGION.id, - region: 'asia-east2', - assignmentEpoch: first.assignmentEpoch + 1 - }) - } finally { - await release() - await heartbeatAll() - } - expect(await reservedRequests(ISOLATED.id)).toBe(sourceBefore) - expect(await reservedRequests(OTHER_REGION.id)).toBe(1) - await expectReservationAccounting() - }, 30_000) - it('places a dormant host without asking for its old cell row', async () => { - await resetFleet() - const identity = hostIdentity(914) - await applySelector({ [TARGETS[0]!.id]: 'migration-only', [TARGETS[1]!.id]: 'migration-only' }) - const first = await stores[0]!.assign(identity, 'us-central1') - expect(first.cellId).toBe(ISOLATED.id) - // Dormant: no units held and no activity inside the dormancy window. - await databases[0]!.query( - `DELETE FROM relay_assignment_activity_leases WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - await databases[0]!.query( - `UPDATE relay_assignments SET reserved_controls = 0, last_activity_at = ? - WHERE user_id = ? AND relay_host_id = ?`, - [NOW - ASSIGNMENT_LIMITS.dormantTtlMs, identity.userId, identity.relayHostId] - ) - await databases[0]!.query(`UPDATE relay_cells SET reserved_requests = 0 WHERE cell_id = ?`, [ - ISOLATED.id - ]) - await applySelector({ [TARGETS[0]!.id]: 'general', [TARGETS[1]!.id]: 'general' }) - await applySelector({ [ISOLATED.id]: 'migration-only' }, [ISOLATED.id]) - - const release = await holdCellRows([ISOLATED.id]) - try { - const moved = await Promise.race([ - stores[1]!.assign(identity, 'us-central1'), - new Promise<'blocked'>((resolve) => setTimeout(() => resolve('blocked'), 3_000)) - ]) - expect(moved).toMatchObject({ assignmentEpoch: first.assignmentEpoch + 1 }) - expect(TARGETS.map(({ id }) => id)).toContain(moved === 'blocked' ? moved : moved.cellId) - } finally { - await release() - } - await expectReservationAccounting() - }, 30_000) - // Moves a seeded host onto TARGETS[0] next to another host whose splice there - // outlives the test, so an over-charge shows instead of clamping at zero. - async function seedMovedHostBesideNeighbour(index: number): Promise<{ - identity: { userId: string; relayHostId: string } - neighbour: { userId: string; relayHostId: string } - }> { - const { identity } = await seedActiveHostOnIsolatedSource(index) - await applySelector({ [TARGETS[1]!.id]: 'migration-only' }) - const neighbour = hostIdentity(index + 50) - expect((await stores[0]!.assign(neighbour, 'us-central1')).cellId).toBe(TARGETS[0]!.id) - await stores[0]!.acquireActivity(neighbour, { - activityId: 'splice:neighbour', - kind: 'splice', - cellId: TARGETS[0]!.id, - expiresAt: NOW + 10 * 60 * 60_000 - }) - expect((await stores[1]!.assign(identity, 'us-central1')).cellId).toBe(TARGETS[0]!.id) - expect(await counters(identity)).toEqual({ controls: 2, splices: 1 }) - await expectReservationAccounting() - return { identity, neighbour } - } - - it('leaves a host with leases on two cells to the lease sweep', async () => { - await resetFleet() - const { identity } = await seedMovedHostBesideNeighbour(915) - // Past every lease but the neighbour's splice. - const later = new RelayAssignmentStore(databases[0]!, () => NOW + 60 * 60_000, { - requireLiveCells: true, - heartbeatTtlMs: 45_000 - }) - try { - // Aggregate expiry first, with the source's leases still present: the - // order a lease sweep skipped on a busy row leaves behind. - await later.releaseExpiredActivity() - expect(await counters(identity)).toEqual({ controls: 2, splices: 1 }) - await expectReservationAccounting() - await later.releaseExpiredActivityLeases() - await later.releaseExpiredActivity() - expect(await counters(identity)).toEqual({ controls: 0, splices: 0 }) - expect(await reservedRequests(ISOLATED.id)).toBe(0) - // Only the neighbour's splice is left on the target. - expect(await reservedRequests(TARGETS[0]!.id)).toBe(2) - await expectReservationAccounting() - } finally { - await applySelector({ [TARGETS[1]!.id]: 'general' }) - } - }, 30_000) - - it('frees the source leases on their own cell when the target dies', async () => { - await resetFleet() - const { identity } = await seedMovedHostBesideNeighbour(916) - // The roll finishes, then the target stops heartbeating before the source - // has released the host. Uncapped, so no fence is needed to move off it. - await applySelector({ [ISOLATED.id]: 'general' }) - await databases[0]!.query(`UPDATE relay_cell_runtime SET ready = 0 WHERE cell_id = ?`, [ - TARGETS[0]!.id - ]) - await databases[0]!.query(`DELETE FROM relay_cell_connection_limits WHERE cell_id = ?`, [ - TARGETS[0]!.id - ]) - try { - const moved = await stores[1]!.assign(identity, 'us-central1') - expect(moved.cellId).toBe(ISOLATED.id) - expect(await counters(identity)).toEqual({ controls: 1, splices: 0 }) - // The deleted source leases took their units with them; a late release - // from the source finds nothing and charges nothing. - expect(await stores[0]!.releaseActivity(identity, `control:${ISOLATED.id}:1`)).toBe(false) - expect(await reservedRequests(ISOLATED.id)).toBe(1) - expect(await reservedRequests(TARGETS[0]!.id)).toBe(3) - await expectReservationAccounting() - } finally { - // Re-registers the connection limit, then the heartbeat restores ready. - await stores[0]!.reconcileCells(CELLS, false) - await heartbeatAll() - await applySelector({ [TARGETS[1]!.id]: 'general' }) - } - }, 30_000) - // A host main's old placement left behind: its counters were reset while its - // source lease stayed, and the lease's release floored them at zero. - async function seedDriftedHost( - index: number, - counted: { controls: number; unbackedSourceUnits: number } - ): Promise<{ identity: { userId: string; relayHostId: string }; epoch: number }> { - const identity = hostIdentity(index) - await applySelector({ [TARGETS[0]!.id]: 'migration-only', [TARGETS[1]!.id]: 'migration-only' }) - const first = await stores[0]!.assign(identity, 'us-central1') - expect(first.cellId).toBe(ISOLATED.id) - await stores[0]!.activateControl(identity, { - cellId: ISOLATED.id, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await databases[0]!.query( - `UPDATE relay_assignments SET reserved_controls = ? WHERE user_id = ? AND relay_host_id = ?`, - [counted.controls, identity.userId, identity.relayHostId] - ) - // Units the source still counts with no lease behind them. - await databases[0]!.query( - `UPDATE relay_cells SET reserved_requests = reserved_requests + ? WHERE cell_id = ?`, - [counted.unbackedSourceUnits, ISOLATED.id] - ) - await applySelector({ [TARGETS[0]!.id]: 'general', [TARGETS[1]!.id]: 'general' }) - await applySelector({ [ISOLATED.id]: 'migration-only' }, [ISOLATED.id]) - return { identity, epoch: first.assignmentEpoch } - } - - it('heals counters below the leases on the narrowed path', async () => { - await resetFleet() - const { identity, epoch } = await seedDriftedHost(918, { controls: 0, unbackedSourceUnits: 0 }) - expect(await counters(identity)).toEqual({ controls: 0, splices: 0 }) - await expectReservationAccounting() - const release = await holdCellRows([ISOLATED.id]) - try { - const moved = await Promise.race([ - stores[1]!.assign(identity, 'us-central1'), - new Promise<'blocked'>((resolve) => setTimeout(() => resolve('blocked'), 3_000)) - ]) - expect(moved).toMatchObject({ assignmentEpoch: epoch + 1 }) - expect(TARGETS.map(({ id }) => id)).toContain(moved === 'blocked' ? moved : moved.cellId) - } finally { - await release() - } - // The kept source control plus the new one. - expect(await counters(identity)).toEqual({ controls: 2, splices: 0 }) - await expectReservationAccounting() - expect(await stores[0]!.releaseActivity(identity, `control:${ISOLATED.id}:1`)).toBe(true) - expect(await counters(identity)).toEqual({ controls: 1, splices: 0 }) - expect(await reservedRequests(ISOLATED.id)).toBe(0) - await expectReservationAccounting() - }, 30_000) - - it('takes the all-rows path for units no lease backs', async () => { - await resetFleet() - const { identity, epoch } = await seedDriftedHost(919, { controls: 3, unbackedSourceUnits: 2 }) - await expectReservationAccountingExcept(ISOLATED.id) - const release = await holdCellRows([ISOLATED.id]) - const held = stores[1]!.assign(identity, 'us-central1').then( - () => 'placed' as const, - () => 'failed' as const - ) - try { - // It needs the source row to take the unbacked units off it, so while the - // row is held it either waits or times out; it never places. - expect( - await Promise.race([ - held, - new Promise<'waiting'>((resolve) => setTimeout(() => resolve('waiting'), 1_000)) - ]) - ).not.toBe('placed') - } finally { - await release() - } - await held - // Whether the held dial finished after the release or failed, the next one - // lands the single move. - expect(await stores[1]!.assign(identity, 'us-central1')).toMatchObject({ - assignmentEpoch: epoch + 1 - }) - expect(await counters(identity)).toEqual({ controls: 2, splices: 0 }) - await expectReservationAccounting() - }, 30_000) - it('refuses at once while the host’s own release holds its assignment row', async () => { - await resetFleet() - const { identity, epoch } = await seedDriftedHost(921, { controls: 1, unbackedSourceUnits: 0 }) - const release = await holdRows( - `SELECT user_id FROM relay_assignments WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - try { - const startedAt = performance.now() - await expect(stores[1]!.assign(identity, 'us-central1')).rejects.toBeInstanceOf( - RelayAssignmentRowBusyError - ) - // An isolated pin gets no wait: far under the 1s a release can hold it. - expect(performance.now() - startedAt).toBeLessThan(500) - } finally { - await release() - } - expect((await stores[0]!.resolve(identity))?.assignmentEpoch).toBe(epoch) - expect((await stores[1]!.assign(identity, 'us-central1')).assignmentEpoch).toBe(epoch + 1) - await expectReservationAccounting() - }, 30_000) - - it('waits up to a second for the row of a host pinned to a live general cell', async () => { - await resetFleet() - const identity = hostIdentity(922) - const first = await stores[0]!.assign(identity, 'us-central1') - const holdAssignment = async (): Promise<() => Promise> => - await holdRows( - `SELECT user_id FROM relay_assignments WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - - // A short hold, like a calm host's own release: the sticky re-grant waits. - const shortHold = await holdAssignment() - const regrant = stores[1]!.assign(identity, 'us-central1') - try { - await waitForLock('relay_assignments') - } finally { - await shortHold() - await regrant.catch(() => undefined) - } - expect(await regrant).toMatchObject({ - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch - }) - - // Held past the bound: refused, after about the bound and not the pool's. - const longHold = await holdAssignment() - try { - const startedAt = performance.now() - await expect(stores[1]!.assign(identity, 'us-central1')).rejects.toBeInstanceOf( - RelayAssignmentRowBusyError - ) - const waitedMs = performance.now() - startedAt - expect(waitedMs).toBeGreaterThanOrEqual(900) - expect(waitedMs).toBeLessThan(2_000) - } finally { - await longHold() - } - }, 30_000) it('never waits on the assignment row while its retry holds the pinned cell row', async () => { await resetFleet() const identity = hostIdentity(923) diff --git a/cloud/apps/relay/src/assignment/assignment-isolated-cell-replacement.test.ts b/cloud/apps/relay/src/assignment/assignment-isolated-cell-replacement.test.ts index 49bf26fde73..5c3fe055fa0 100644 --- a/cloud/apps/relay/src/assignment/assignment-isolated-cell-replacement.test.ts +++ b/cloud/apps/relay/src/assignment/assignment-isolated-cell-replacement.test.ts @@ -1,7 +1,7 @@ import { createHash } from 'node:crypto' import { afterEach, describe, expect, it, vi } from 'vitest' -import { RelayAssignmentStore, RelayHomeCellUnavailableError } from './assignment-store.js' -import { ReservePaceError } from './reserve-placement/reserve-assignment.js' +import { RelayAssignmentStore } from './assignment-store.js' + import { encodeMembership, type CellAdmissionMembership, @@ -41,16 +41,10 @@ afterEach(async () => { for (const database of databases.splice(0)) await database.close() }) -// Counts the reads this change adds, so the general hot path can be held to a -// single admission lookup and no migration lookup at all. -class QueryCountingDatabase implements RelayDatabase { - readonly sql: string[] = [] +class WriteFailureDatabase implements RelayDatabase { // Fails the first statement containing this fragment, so a test can roll a // transaction back at a chosen point. failOnce: string | undefined - // Locked statements that report the row busy, in order: each fragment fires - // once, on the first locked statement containing it after the one before. - lockUnavailableSequence: string[] = [] constructor(private readonly delegate: RelayDatabase) {} @@ -58,12 +52,7 @@ class QueryCountingDatabase implements RelayDatabase { return this.delegate.dialect } - count(fragment: string): number { - return this.sql.filter((statement) => statement.includes(fragment)).length - } - record(sql: string): void { - this.sql.push(sql) if (this.failOnce !== undefined && sql.includes(this.failOnce)) { this.failOnce = undefined throw new Error('injected_placement_write_failure') @@ -80,17 +69,8 @@ class QueryCountingDatabase implements RelayDatabase { params?: unknown[], options?: RelayLockOptions ): Promise { - this.recordLocked(sql) - return await this.delegate.queryLocked(sql, params, options) - } - - recordLocked(sql: string): void { this.record(sql) - const next = this.lockUnavailableSequence[0] - if (next !== undefined && sql.includes(next)) { - this.lockUnavailableSequence.shift() - throw new Error('database_lock_unavailable') - } + return await this.delegate.queryLocked(sql, params, options) } async transaction( @@ -107,8 +87,7 @@ class QueryCountingDatabase implements RelayDatabase { await this.delegate.close() } - // A nested transaction shares this one's tape, so a whole assign() is - // measured as a unit. + // Inject the failure inside the transaction so the real database rolls it back. private recording(inner: RelayDatabase): RelayDatabase { return { dialect: inner.dialect, @@ -117,7 +96,7 @@ class QueryCountingDatabase implements RelayDatabase { return await inner.query(sql, params) }, queryLocked: async (sql, params, options) => { - this.recordLocked(sql) + this.record(sql) return await inner.queryLocked(sql, params, options) }, transaction: async (operation, options) => await inner.transaction(operation, options), @@ -129,7 +108,7 @@ class QueryCountingDatabase implements RelayDatabase { interface Harness { store: RelayAssignmentStore database: RelayDatabase - counter: QueryCountingDatabase + counter: WriteFailureDatabase heartbeat: (cell: RelayCellConfig, at?: number) => Promise setNow: (value: number) => void /** The real isolate path: one selector apply that names the cell it stamps. */ @@ -144,7 +123,7 @@ interface Harness { async function setup(cells: RelayCellConfig[] = CELLS): Promise { const inner = await openInMemoryRelayDatabase() databases.push(inner) - const counter = new QueryCountingDatabase(inner) + const counter = new WriteFailureDatabase(inner) let now = START_MS const store = new RelayAssignmentStore(counter, () => now, { requireLiveCells: true, @@ -233,43 +212,6 @@ async function setup(cells: RelayCellConfig[] = CELLS): Promise { } } -async function insertMigration( - database: RelayDatabase, - input: { - sourceCellId: string - targetCellId: string - assignmentEpoch: number - leases: number - settled?: 'completed' | 'aborted' - } -): Promise { - await database.query( - `INSERT INTO relay_assignment_migrations - (user_id, relay_host_id, source_cell_id, target_cell_id, previous_epoch, - assignment_epoch, source_request_units, target_reserved_units, expires_at, - target_registered_at, completed_at, aborted_at, created_at, updated_at) - VALUES (?, ?, ?, ?, ?, ?, 1, 1, ?, NULL, ?, ?, ?, ?)`, - [ - IDENTITY.userId, - IDENTITY.relayHostId, - input.sourceCellId, - input.targetCellId, - input.assignmentEpoch - 1, - input.assignmentEpoch, - START_MS + 900_000, - input.settled === 'completed' ? START_MS : null, - input.settled === 'aborted' ? START_MS : null, - START_MS, - START_MS - ] - ) - await database.query( - `UPDATE relay_assignments SET migration_leases = ? - WHERE user_id = ? AND relay_host_id = ?`, - [input.leases, IDENTITY.userId, IDENTITY.relayHostId] - ) -} - type ConsoleWarnSpy = { mock: { calls: unknown[][] } } function jsonEvents(warn: ConsoleWarnSpy, event: string): unknown[] { @@ -280,381 +222,6 @@ function jsonEvents(warn: ConsoleWarnSpy, event: string): unknown[] { } describe('re-placing a host off a cell isolated for a roll', () => { - it('leaves a host on a live general cell untouched, at one added admission read', async () => { - const { store, counter } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - - counter.sql.length = 0 - const second = await store.assign(IDENTITY, 'us-central1') - - // Identical, not merely same-celled: the clock has not moved, so every - // field including the lease deadline must match; only the first was placed. - expect(second).toEqual({ ...first, placed: undefined }) - // One row read answers both the stranded rule and the roll-stamp check. - expect(counter.count('relay_cell_admission')).toBe(1) - expect(counter.count('relay_assignment_migrations')).toBe(0) - // No placement: the sticky lane never reaches the fleet-wide inventory. - expect(counter.count('ORDER BY cell_id ASC')).toBe(0) - }) - - it('keeps a host pinned to a migration-only cell with no roll stamp', async () => { - // Unstamped non-roll parking must retain hosts or undo evacuation/Asia rollback/operator intent. - const { store, park, rollIsolatedAt } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - await park(first.cellId, 'migration-only') - - expect(await rollIsolatedAt(first.cellId)).toBeNull() - const pinned = await store.assign(IDENTITY, 'us-central1') - expect(pinned).toMatchObject({ cellId: first.cellId, assignmentEpoch: first.assignmentEpoch }) - expect(pinned.placed).toBeUndefined() - }) - - it('re-places a host once the roll stamp is set', async () => { - const { store, counter, isolateForRoll, rollIsolatedAt } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - await isolateForRoll(first.cellId) - - expect(await rollIsolatedAt(first.cellId)).toBe(START_MS) - counter.sql.length = 0 - const moved = await store.assign(IDENTITY, 'us-central1') - - expect(moved.cellId).not.toBe(first.cellId) - expect(moved.assignmentEpoch).toBe(first.assignmentEpoch + 1) - expect(moved.placed).toBe(true) - expect(counter.count('relay_assignment_migrations')).toBeGreaterThan(0) - - // Durable: the next dial does not bounce back to the isolated cell. - const kept = await store.assign(IDENTITY, 'us-central1') - expect(kept).toMatchObject({ cellId: moved.cellId, assignmentEpoch: moved.assignmentEpoch }) - expect(kept.placed).toBeUndefined() - }) - - it.each([ - { label: 'just inside the bound', age: 2 * 60 * 60_000 - 1, moves: true }, - { label: 'just outside the bound', age: 2 * 60 * 60_000 + 1, moves: false } - ])('treats a stamp $label as $moves', async ({ age, moves }) => { - // Past a normal ~15-minute roll, stamps may be failed-wave or old-restore orphans; keep possibly healthy hosts pinned for operator recovery. - const { store, heartbeat, isolateForRoll, setNow } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - await isolateForRoll(first.cellId) - - const later = START_MS + age - setNow(later) - for (const cell of CELLS) await heartbeat(cell, later) - const grant = await store.assign(IDENTITY, 'us-central1') - - if (moves) { - expect(grant.cellId).not.toBe(first.cellId) - expect(grant.assignmentEpoch).toBe(first.assignmentEpoch + 1) - } else { - expect(grant.cellId).toBe(first.cellId) - expect(grant.assignmentEpoch).toBe(first.assignmentEpoch) - } - }) - - it('stops re-placing once restore clears the stamp', async () => { - const { store, isolateForRoll, restore, rollIsolatedAt } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - await isolateForRoll(first.cellId) - await restore(first.cellId) - - expect(await rollIsolatedAt(first.cellId)).toBeNull() - expect(await store.assign(IDENTITY, 'us-central1')).toMatchObject({ - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch - }) - }) - - it('keeps a host pinned to an existing-only cell that still serves it', async () => { - // Why: existing-only cells serve the hosts they already hold (PR #194). Only - // assignmentStrandedOnUnservedCell may release that pin, and only on proof - // the cell stopped serving this host. - const { store, database, heartbeat, park, setNow } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - await park(first.cellId, 'existing-only') - await database.query( - `INSERT INTO relay_assignment_activity_leases - (user_id, relay_host_id, activity_id, activity_kind, cell_id, - request_units, expires_at, updated_at) - VALUES (?, ?, 'control:live-1', 'control', ?, 1, ?, ?)`, - [IDENTITY.userId, IDENTITY.relayHostId, first.cellId, START_MS + 600_000, START_MS] - ) - - // Past the stranded rule's minimum grant age, which outlives the heartbeat TTL. - setNow(START_MS + 61_000) - for (const cell of CELLS) await heartbeat(cell, START_MS + 61_000) - expect(await store.assign(IDENTITY, 'us-central1')).toMatchObject({ - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch - }) - }) - - it('keeps a host pinned on an unstamped cell whose migration has completed', async () => { - // Completed evacuations await separate promotion in migration-only; re-placement would undo them. - const { store, database, park } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - await insertMigration(database, { - sourceCellId: 'us-c2', - targetCellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - leases: 0, - settled: 'completed' - }) - await park(first.cellId, 'migration-only') - - expect(await store.assign(IDENTITY, 'us-central1')).toMatchObject({ - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch - }) - }) - - it('re-places a stamped cell whose migration has completed', async () => { - const { store, database, isolateForRoll } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - await insertMigration(database, { - sourceCellId: 'us-c2', - targetCellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - leases: 0, - settled: 'completed' - }) - await isolateForRoll(first.cellId) - - expect((await store.assign(IDENTITY, 'us-central1')).cellId).not.toBe(first.cellId) - }) - - it('keeps the pin while a migration lease is outstanding', async () => { - const { store, database, isolateForRoll } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - await insertMigration(database, { - sourceCellId: first.cellId, - targetCellId: 'us-c2', - assignmentEpoch: first.assignmentEpoch, - leases: 1 - }) - await isolateForRoll(first.cellId) - - expect(await store.assign(IDENTITY, 'us-central1')).toMatchObject({ - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch - }) - }) - - it('keeps the pin while a migration row is open but its lease has lapsed', async () => { - // Migration rows outlive their 15-minute counters and cannot roll back from non-general sources; re-placement would strand them. - const { store, database, isolateForRoll } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - await insertMigration(database, { - sourceCellId: first.cellId, - targetCellId: 'us-c2', - assignmentEpoch: first.assignmentEpoch, - leases: 0 - }) - await isolateForRoll(first.cellId) - - expect(await store.assign(IDENTITY, 'us-central1')).toMatchObject({ - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch - }) - }) - - it('crosses a region boundary only when its own region has no room', async () => { - const warn = vi.spyOn(console, 'warn').mockImplementation(() => {}) - const { store, isolateForRoll, park } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - const other = CELLS.find((cell) => cell.region === 'us-central1' && cell.id !== first.cellId)! - await park(other.id, 'migration-only') - await isolateForRoll(first.cellId) - - warn.mockClear() - expect(await store.assign(IDENTITY, 'us-central1')).toMatchObject({ - cellId: 'asia-c1', - assignmentEpoch: first.assignmentEpoch + 1 - }) - expect(jsonEvents(warn, 'orca_relay_sticky_replaced_off_isolated_cell')).toEqual([ - { - event: 'orca_relay_sticky_replaced_off_isolated_cell', - fromCellId: first.cellId, - fromRegion: 'us-central1', - admissionState: 'migration-only', - toCellId: 'asia-c1', - region: 'asia-east2' - } - ]) - }) - - it('keeps the pin, and says so, when no region has a general cell with room', async () => { - const warn = vi.spyOn(console, 'warn').mockImplementation(() => {}) - const { store, isolateForRoll, park } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - for (const cell of CELLS) { - if (cell.id !== first.cellId) await park(cell.id, 'migration-only') - } - await isolateForRoll(first.cellId) - - warn.mockClear() - expect(await store.assign(IDENTITY, 'us-central1')).toMatchObject({ - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch - }) - expect(jsonEvents(warn, 'orca_relay_sticky_replacement_deferred')).toEqual([ - { - event: 'orca_relay_sticky_replacement_deferred', - reason: 'no_same_region_headroom', - cellId: first.cellId, - region: 'us-central1' - } - ]) - expect(jsonEvents(warn, 'orca_relay_sticky_replaced_off_isolated_cell')).toEqual([]) - }) - - it('prefers its own region over a less loaded cell elsewhere', async () => { - const { store, isolateForRoll } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - await isolateForRoll(first.cellId) - const moved = await store.assign(IDENTITY, 'us-central1') - expect(moved.region).toBe('us-central1') - expect(moved.cellId).not.toBe(first.cellId) - }) - - it('moves the only cell of a region to another region', async () => { - const { store, isolateForRoll } = await setup() - const first = await store.assign(IDENTITY, 'asia-east2') - expect(first.region).toBe('asia-east2') - await isolateForRoll(first.cellId) - - // asia-c1 is the only Asia cell, so the only in-region candidate is gone. - const moved = await store.assign(IDENTITY, 'asia-east2') - expect(moved.region).toBe('us-central1') - expect(moved.assignmentEpoch).toBe(first.assignmentEpoch + 1) - }) - - describe('with a reserve cell in its own region', () => { - const onReserve = { - ...IDENTITY, - cellId: 'asia-reserve', - cellUrl: 'https://asia-reserve.example.com', - assignmentEpoch: 9, - leaseExpiresAt: START_MS + 1_000_000, - region: 'asia-east2' as const - } - - it('leaves the region as before when the reserve cell has no room either', async () => { - const warn = vi.spyOn(console, 'warn').mockImplementation(() => {}) - const { store, isolateForRoll } = await setup() - const first = await store.assign(IDENTITY, 'asia-east2') - await isolateForRoll(first.cellId) - warn.mockClear() - const regionReserve = vi.fn(async () => null) - const moved = await store.assign(IDENTITY, 'asia-east2', 'asia-east2', undefined, { - regionReserve - }) - expect(moved).toMatchObject({ - region: 'us-central1', - assignmentEpoch: first.assignmentEpoch + 1 - }) - expect(regionReserve).toHaveBeenCalledOnce() - expect(jsonEvents(warn, 'orca_relay_sticky_replaced_off_isolated_cell')).toMatchObject([ - { fromCellId: first.cellId, region: 'us-central1' } - ]) - }) - - it('treats a throttled reserve cell as no room, so the drain does not wait on its intake', async () => { - const { store, isolateForRoll } = await setup() - const first = await store.assign(IDENTITY, 'asia-east2') - await isolateForRoll(first.cellId) - const regionReserve = vi.fn(async () => { - throw new ReservePaceError(4) - }) - await expect( - store.assign(IDENTITY, 'asia-east2', 'asia-east2', undefined, { regionReserve }) - ).resolves.toMatchObject({ - region: 'us-central1', - assignmentEpoch: first.assignmentEpoch + 1 - }) - expect(regionReserve).toHaveBeenCalledOnce() - }) - - describe('when no database cell has room anywhere', () => { - const onUsReserve = { ...onReserve, cellId: 'us-reserve', region: 'us-central1' as const } - const isolateWithNoDatabaseRoom = async () => { - const harness = await setup() - const first = await harness.store.assign(IDENTITY, 'asia-east2') - await harness.isolateForRoll(first.cellId) - for (const cell of CELLS.filter((entry) => entry.region === 'us-central1')) { - await harness.park(cell.id, 'migration-only') - } - return { ...harness, first } - } - - // Today's rule: a live isolated cell keeps a host no other cell can take. - it('keeps the pin and never asks the spill', async () => { - const { store, first } = await isolateWithNoDatabaseRoom() - const reserveSpill = vi.fn(async () => onUsReserve) - const kept = await store.assign(IDENTITY, 'asia-east2', 'asia-east2', undefined, { - reserveSpill - }) - expect(kept).toMatchObject({ cellId: first.cellId, assignmentEpoch: first.assignmentEpoch }) - expect(reserveSpill).not.toHaveBeenCalled() - }) - }) - - it('does not hold a host whose preferred region is elsewhere', async () => { - const { store, isolateForRoll, park } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - const other = CELLS.find((cell) => cell.region === 'us-central1' && cell.id !== first.cellId)! - await park(other.id, 'migration-only') - await isolateForRoll(first.cellId) - const regionReserve = vi.fn(async () => onReserve) - await expect( - store.assign(IDENTITY, 'asia-east2', 'asia-east2', undefined, { regionReserve }) - ).resolves.toMatchObject({ cellId: 'asia-c1' }) - expect(regionReserve).not.toHaveBeenCalled() - }) - }) - - it('takes the dead-cell path when a stamped cell stops heartbeating', async () => { - // Why: the fence is the only proof that a cell we cannot reach has stopped - // serving the sockets it still holds. A stamp does not make it reachable. - const { store, heartbeat, isolateForRoll, setNow } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - await isolateForRoll(first.cellId) - - const stale = START_MS + HEARTBEAT_TTL_MS + 1_000 - setNow(stale) - for (const cell of CELLS) { - if (cell.id !== first.cellId) await heartbeat(cell, stale) - } - - await expect(store.assign(IDENTITY, 'us-central1')).rejects.toBeInstanceOf( - RelayHomeCellUnavailableError - ) - }) - - it('leaves the source cell activity leases in place', async () => { - // Contrast with the fence and stranded paths, which delete them: an isolated - // cell is alive and still owns drainable work behind those leases. - const { store, database, isolateForRoll } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - await database.query( - `INSERT INTO relay_assignment_activity_leases - (user_id, relay_host_id, activity_id, activity_kind, cell_id, - request_units, expires_at, updated_at) - VALUES (?, ?, 'splice:keep-1', 'splice', ?, 1, ?, ?)`, - [IDENTITY.userId, IDENTITY.relayHostId, first.cellId, START_MS + 600_000, START_MS] - ) - await isolateForRoll(first.cellId) - - await store.assign(IDENTITY, 'us-central1') - expect( - await database.query( - `SELECT activity_id FROM relay_assignment_activity_leases - WHERE user_id = ? AND relay_host_id = ? AND activity_id = 'splice:keep-1'`, - [IDENTITY.userId, IDENTITY.relayHostId] - ) - ).toHaveLength(1) - }) - it('emits nothing when the placement rolls back after the decision', async () => { // Log only committed moves; stdout cannot roll back with a failed lease/reservation transaction. const warn = vi.spyOn(console, 'warn').mockImplementation(() => {}) @@ -682,169 +249,4 @@ describe('re-placing a host off a cell isolated for a roll', () => { expect(moved.cellId).not.toBe(first.cellId) expect(jsonEvents(warn, 'orca_relay_sticky_replaced_off_isolated_cell')).toHaveLength(1) }) - describe('a host whose leases span two cells after the move', () => { - const NEIGHBOUR = { userId: 'user-b', relayHostId: 'host000000000002' } - - async function reserved(database: RelayDatabase, cellId: string): Promise { - const rows = await database.query( - `SELECT reserved_requests FROM relay_cells WHERE cell_id = ?`, - [cellId] - ) - return Number(rows[0]!['reserved_requests']) - } - - async function expectAccounting(database: RelayDatabase): Promise { - for (const cell of CELLS) { - const leased = await database.query( - `SELECT COALESCE(SUM(request_units), 0) AS units - FROM relay_assignment_activity_leases WHERE cell_id = ?`, - [cell.id] - ) - expect({ cell: cell.id, reserved: await reserved(database, cell.id) }).toEqual({ - cell: cell.id, - reserved: Number(leased[0]!['units']) - }) - } - } - - async function counters(database: RelayDatabase): Promise { - const rows = await database.query( - `SELECT reserved_controls, reserved_splices FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [IDENTITY.userId, IDENTITY.relayHostId] - ) - return [Number(rows[0]!['reserved_controls']), Number(rows[0]!['reserved_splices'])] - } - - // us-c1 is isolated with the host's control and splice on it; the host - // moves to us-c2, where a neighbour's splice outlives every other lease. - async function movedHost(): Promise { - const harness = await setup() - const { store, isolateForRoll } = harness - const first = await store.assign(IDENTITY, 'us-central1') - expect(first.cellId).toBe('us-c1') - await store.activateControl(IDENTITY, { - cellId: 'us-c1', - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.acquireActivity(IDENTITY, { - activityId: 'splice:keep-1', - kind: 'splice', - cellId: 'us-c1' - }) - await isolateForRoll('us-c1') - expect((await store.assign(NEIGHBOUR, 'us-central1')).cellId).toBe('us-c2') - await store.acquireActivity(NEIGHBOUR, { - activityId: 'splice:neighbour', - kind: 'splice', - cellId: 'us-c2', - expiresAt: START_MS + 10 * 60 * 60_000 - }) - expect((await store.assign(IDENTITY, 'us-central1')).cellId).toBe('us-c2') - expect(await counters(harness.database)).toEqual([2, 1]) - await expectAccounting(harness.database) - return harness - } - - it('is left to the lease sweep by aggregate expiry', async () => { - const { store, database, setNow } = await movedHost() - setNow(START_MS + 60 * 60_000) - await store.releaseExpiredActivity() - expect(await counters(database)).toEqual([2, 1]) - await expectAccounting(database) - await store.releaseExpiredActivityLeases() - await store.releaseExpiredActivity() - expect(await counters(database)).toEqual([0, 0]) - expect(await reserved(database, 'us-c1')).toBe(0) - expect(await reserved(database, 'us-c2')).toBe(2) - await expectAccounting(database) - }) - - it('frees the source leases on their own cell when the target dies', async () => { - const { store, database, setNow, heartbeat, restore } = await movedHost() - await restore('us-c1') - // Uncapped, so the dead-cell path needs no fence to move off it. - await database.query(`DELETE FROM relay_cell_connection_limits WHERE cell_id = 'us-c2'`) - setNow(START_MS + HEARTBEAT_TTL_MS + 5_000) - await heartbeat(CELLS[0]!) - await heartbeat(CELLS[2]!) - - expect((await store.assign(IDENTITY, 'us-central1')).cellId).toBe('us-c1') - expect(await counters(database)).toEqual([1, 0]) - expect(await store.releaseActivity(IDENTITY, 'control:us-c1:1')).toBe(false) - expect(await reserved(database, 'us-c1')).toBe(1) - expect(await reserved(database, 'us-c2')).toBe(3) - await expectAccounting(database) - }) - }) - it('retries a busy isolated attempt in its own tier, never under the all-rows lock', async () => { - const { store, counter, isolateForRoll } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - await isolateForRoll(first.cellId) - counter.sql.length = 0 - // The first attempt finds a target row busy, then its retry finds the host's - // lease rows busy after it has already taken the tier's rows. - counter.lockUnavailableSequence = [ - 'SELECT * FROM relay_cells WHERE cell_id IN (', - 'FROM relay_assignment_activity_leases' - ] - - const moved = await store.assign(IDENTITY, 'us-central1') - expect(counter.lockUnavailableSequence).toEqual([]) - expect(moved).toMatchObject({ - region: 'us-central1', - assignmentEpoch: first.assignmentEpoch + 1 - }) - expect(counter.count('SELECT * FROM relay_cells ORDER BY cell_id ASC')).toBe(0) - }) -}) - -describe('classifying a reconnect whose home is isolated for a roll', () => { - const classify = { classifyHomeRollIsolation: true } - - it('reads the classification in the verification query itself', async () => { - const { store, counter, isolateForRoll } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - await isolateForRoll(first.cellId) - - counter.sql.length = 0 - await store.resolve(IDENTITY, classify) - - expect(counter.sql.filter((sql) => sql.includes('FROM relay_assignments'))).toHaveLength(1) - expect(counter.count('relay_cell_admission')).toBe(1) - }) - - it('still treats a host its draining cell already released as a drain return', async () => { - // A drain releases the host's control lease before it tells the host, so the redial - // finds no activity: the stamp, not a live lease, has to carry the classification. - const warn = vi.spyOn(console, 'warn').mockImplementation(() => {}) - const { store, database, isolateForRoll } = await setup() - const first = await store.assign(IDENTITY, 'us-central1') - await store.activateControl(IDENTITY, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await isolateForRoll(first.cellId) - expect(await store.releaseActivity(IDENTITY, `control:${first.cellId}:1`)).toBe(true) - expect( - await database.query( - `SELECT activity_id FROM relay_assignment_activity_leases WHERE user_id = ?`, - [IDENTITY.userId] - ) - ).toEqual([]) - - expect(await store.resolve(IDENTITY, classify)).toMatchObject({ - cellId: first.cellId, - homeCellRollIsolated: true - }) - warn.mockClear() - const moved = await store.assign(IDENTITY, 'us-central1') - expect(moved.cellId).not.toBe(first.cellId) - expect(moved.assignmentEpoch).toBe(first.assignmentEpoch + 1) - expect(jsonEvents(warn, 'orca_relay_sticky_replaced_off_isolated_cell')).toMatchObject([ - { fromCellId: first.cellId, toCellId: moved.cellId } - ]) - }) }) diff --git a/cloud/apps/relay/src/assignment/assignment-store.test.ts b/cloud/apps/relay/src/assignment/assignment-store.test.ts index fab6a34fd95..e45e81ca20b 100644 --- a/cloud/apps/relay/src/assignment/assignment-store.test.ts +++ b/cloud/apps/relay/src/assignment/assignment-store.test.ts @@ -2,12 +2,11 @@ import { ASSIGNMENT_LIMITS } from '@orca-cloud/relay-contract/assignment-invaria import { createHash } from 'node:crypto' import { afterEach, describe, expect, it, vi } from 'vitest' import type { RelayCellConfig } from '../config.js' +import { RelayAssignmentStore } from './assignment-store.js' import { - RelayAssignmentRowBusyError, - RelayAssignmentStore, - STRANDED_MIGRATION_ABANDON_MS -} from './assignment-store.js' -import { encodeMembership, type CellAdmissionMembership } from '../cell/admission/cell-admission-selector.js' + encodeMembership, + type CellAdmissionMembership +} from '../cell/admission/cell-admission-selector.js' import { openInMemoryRelayDatabase, type RelayDatabase, @@ -20,35 +19,6 @@ const CELLS: RelayCellConfig[] = [ { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 2 }, { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 2 } ] -const NO_EXPIRED_EVACUATION_DIAGNOSTICS = { - expiredUnregistered: 0, - repairableExpiredUnregistered: 0, - abortableExpiredUnregistered: 0, - blockedExpiredUnregistered: 0, - blockedExpiredOnNewerTargetAssignment: 0 -} -const NO_REGISTERED_EVACUATION_DIAGNOSTICS = { - registeredSourceActive: 0, - registeredCompletable: 0, - registeredTargetInactive: 0 -} -const NO_ACTIVE_MIGRATION_LEASE = { - oldestExpiresAt: null, - oldestRemainingMs: null -} -const FENCE_PLAN_BINDING = { - planObjectName: - 'terraform/state/relay-fence-plans/production/22222222-2222-4222-8222-222222222222.tfplan', - planObjectGeneration: '123456789', - varFileSha256: 'c'.repeat(64), - terraformStateLineage: '33333333-3333-4333-8333-333333333333', - terraformStateSerial: 7, - terraformStateObjectGeneration: '987654321', - terraformStateObjectSha256: 'd'.repeat(64), - requestReason: 'orca-relay-fence/22222222-2222-4222-8222-222222222222' -} -const FENCE_INVOCATION_ID = '55555555-5555-4555-8555-555555555555' -const FENCE_INVOCATION_REASON = `${FENCE_PLAN_BINDING.requestReason}/${FENCE_INVOCATION_ID}` async function applyGenerationZeroSelector( store: RelayAssignmentStore, @@ -65,85 +35,6 @@ async function applyGenerationZeroSelector( }) } -function cellFenceEvidence(attemptId = '22222222-2222-4222-8222-222222222222') { - return { - attemptId, - environment: 'production' as const, - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - migName: 'orca-relay-c1', - instanceGroup: 'https://compute.example/instanceGroups/orca-relay-c1', - generationIdentity: 'https://compute.example/instanceTemplates/orca-relay-c1-abc', - fenceCommit: 'a'.repeat(40), - planSha256: 'b'.repeat(64), - ...FENCE_PLAN_BINDING - } -} - -class RepeatedDrainAccountingFailureDatabase implements RelayDatabase { - refreshAttempts = 0 - private armed = false - private failuresRemaining = 0 - - constructor(private readonly delegate: RelayDatabase) {} - - arm(failures: number): void { - this.armed = true - this.failuresRemaining = failures - this.refreshAttempts = 0 - } - - async query(sql: string, params: unknown[] = []): Promise { - return await this.delegate.query(sql, params) - } - - async queryLocked( - sql: string, - params: unknown[] = [], - options: RelayLockOptions = {} - ): Promise { - return await this.lockedQuery(this.delegate, sql, params, options) - } - - async transaction(operation: (transaction: RelayDatabase) => Promise): Promise { - return await this.delegate.transaction( - async (transaction) => - await operation({ - dialect: transaction.dialect, - query: async (sql, params = []) => await transaction.query(sql, params), - queryLocked: async (sql, params = [], options = {}) => - await this.lockedQuery(transaction, sql, params, options), - transaction: async (nested) => await transaction.transaction(nested), - close: async () => {} - }) - ) - } - - async close(): Promise { - await this.delegate.close() - } - - private async lockedQuery( - database: RelayDatabase, - sql: string, - params: unknown[], - options: RelayLockOptions - ): Promise { - const drainRefresh = - sql.includes('SELECT migration.*') && - sql.includes('WHERE migration.source_cell_id = ?') && - !sql.includes('source_cell_incarnation') - if (this.armed && drainRefresh) { - this.refreshAttempts++ - if (this.failuresRemaining > 0) { - this.failuresRemaining-- - throw new Error('migration_activity_accounting_mismatch') - } - } - return await database.queryLocked(sql, params, options) - } -} - // Runs a side effect between the sticky lane and the placement lane, the window // in which a host can acquire control after the sticky read called it dormant. class SeedBetweenAssignmentLanesDatabase implements RelayDatabase { @@ -240,1149 +131,6 @@ describe('RelayAssignmentStore', () => { }) } - it('admits only cells with a fresh ready heartbeat', async () => { - let now = 100 - const store = await setupWithHeartbeats(() => now, [CELLS[0]!]) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - - await expect(store.assign(identity)).rejects.toThrow('relay_capacity_exhausted') - await heartbeat(store, CELLS[0]!, { ready: false }) - await expect(store.assign(identity)).rejects.toThrow('relay_capacity_exhausted') - await heartbeat(store) - expect((await store.assign(identity)).cellId).toBe('cell-a') - now += 45_001 - expect(await store.resolve(identity)).toBeNull() - }) - - it('fences stale incarnations and origin mismatches', async () => { - const store = await setupWithHeartbeats(() => 100, [CELLS[0]!]) - await heartbeat(store, CELLS[0]!, { startedAt: 50 }) - await expect( - heartbeat(store, { ...CELLS[0]!, url: 'https://other.example.com' }) - ).rejects.toThrow('cell_origin_mismatch') - await expect( - heartbeat(store, CELLS[0]!, { - incarnation: '22222222-2222-4222-8222-222222222222', - startedAt: 50 - }) - ).rejects.toThrow('stale_cell_incarnation') - await heartbeat(store, CELLS[0]!, { - incarnation: '22222222-2222-4222-8222-222222222222', - startedAt: 51 - }) - await expect(heartbeat(store, CELLS[0]!, { startedAt: 50 })).rejects.toThrow( - 'stale_cell_incarnation' - ) - }) - - it('records receipt-relative legacy drain states and pins post-send migrations', async () => { - let now = 100 - const store = await setupWithHeartbeats(() => now) - await heartbeat(store, CELLS[0]!) - await heartbeat(store, CELLS[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222' - }) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await store.assign(identity) - await store.setCellEnabled('cell-a', false) - const migration = await store.startEvacuation(identity, 'cell-b') - await database!.query( - `UPDATE relay_assignments SET migration_leases = migration_leases + 1 - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - const incarnation = '11111111-1111-4111-8111-111111111111' - const attemptId = '33333333-3333-4333-8333-333333333333' - const traceValue = '44444444-4444-4444-8444-444444444444' - - await expect( - store.prepareCellDrainAttempt({ - attemptId, - cellId: 'cell-a', - cellIncarnation: incarnation, - traceValue, - plannedGraceMs: 120_000 - }) - ).resolves.toMatchObject({ state: 'prepared', shouldSend: false }) - expect(await database!.query(`SELECT * FROM relay_post_drain_migration_pins`)).toEqual([]) - await expect( - store.prepareCellDrainRecovery({ - attemptId, - cellId: 'cell-a', - cellIncarnation: incarnation - }) - ).resolves.toMatchObject({ - shouldSend: false, - preparedAttempt: { - attemptId, - state: 'prepared', - traceValue, - plannedGraceMs: 120_000 - } - }) - - await expect( - store.beginCellDrainSend({ - attemptId, - cellId: 'cell-a', - cellIncarnation: incarnation - }) - ).resolves.toMatchObject({ - state: 'send-may-have-started', - shouldSend: true, - sendPermitExpiresAt: 30_100 - }) - await expect( - database!.query( - `SELECT migration_leases FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).resolves.toEqual([{ migration_leases: 1 }]) - await expect( - store.beginCellDrainSend({ - attemptId, - cellId: 'cell-a', - cellIncarnation: incarnation - }) - ).resolves.toMatchObject({ - state: 'send-may-have-started', - shouldSend: false - }) - await expect( - store.prepareCellDrainRecovery({ - attemptId, - cellId: 'cell-a', - cellIncarnation: incarnation - }) - ).rejects.toThrow('drain_application_receipt_missing') - expect( - await database!.query( - `SELECT drain_attempt_id, source_cell_id, source_cell_incarnation, - target_cell_id, assignment_epoch - FROM relay_post_drain_migration_pins` - ) - ).toEqual([ - { - drain_attempt_id: attemptId, - source_cell_id: 'cell-a', - source_cell_incarnation: incarnation, - target_cell_id: 'cell-b', - assignment_epoch: migration.assignmentEpoch - } - ]) - - now = migration.expiresAt + 1 - expect(await store.abortExpiredEvacuations()).toBe(0) - expect(await store.releaseExpiredActivityLeases()).toBe(1) - expect( - await database!.query( - `SELECT activity_kind, cell_id FROM relay_assignment_activity_leases - WHERE user_id = ? ORDER BY activity_kind`, - [identity.userId] - ) - ).toEqual([ - { activity_kind: 'control', cell_id: 'cell-b' }, - { activity_kind: 'migration', cell_id: 'cell-b' } - ]) - - now = 200_000 - await expect( - store.recordCellDrainApplicationReceipt({ - attemptId, - cellId: 'cell-a', - cellIncarnation: incarnation, - traceValue, - backendStatus: 200 - }) - ).resolves.toMatchObject({ - state: 'application-receipt', - applicationReceiptAt: 200_000, - retryAfter: 350_000 - }) - await expect( - store.prepareCellDrainRecovery({ attemptId, cellId: 'cell-a', cellIncarnation: incarnation }) - ).rejects.toThrow('drain_recovery_too_early') - now = 350_000 - await expect( - store.prepareCellDrainRecovery({ attemptId, cellId: 'cell-a', cellIncarnation: incarnation }) - ).resolves.toEqual({ - shouldSend: true, - retryAfter: 350_000 - }) - await expect( - store.prepareCellDrainRecovery({ attemptId, cellId: 'cell-a', cellIncarnation: incarnation }) - ).resolves.toEqual({ - shouldSend: false, - retryAfter: 350_000 - }) - }) - - it('recovers a proven drain once after the source cell is replaced', async () => { - let now = 100 - const store = await setupWithHeartbeats(() => now) - const oldIncarnation = '11111111-1111-4111-8111-111111111111' - const newIncarnation = '22222222-2222-4222-8222-222222222222' - const newerIncarnation = '55555555-5555-4555-8555-555555555555' - const attempt = { - attemptId: '33333333-3333-4333-8333-333333333333', - cellId: 'cell-a', - cellIncarnation: oldIncarnation, - traceValue: '44444444-4444-4444-8444-444444444444', - plannedGraceMs: 120_000 - } - await heartbeat(store) - await store.setCellEnabled('cell-a', false) - await store.prepareCellDrainAttempt(attempt) - await store.beginCellDrainSend(attempt) - now = 200 - await store.recordCellDrainApplicationReceipt({ - ...attempt, - backendStatus: 200 - }) - - now = 150_200 - await heartbeat(store, CELLS[0]!, { - incarnation: newIncarnation, - startedAt: 51 - }) - await expect( - store.prepareCellDrainRecovery({ - cellId: 'cell-a', - cellIncarnation: newIncarnation - }) - ).resolves.toEqual({ shouldSend: true, retryAfter: 150_200 }) - await expect( - store.prepareCellDrainRecovery({ - cellId: 'cell-a', - cellIncarnation: newIncarnation - }) - ).resolves.toEqual({ shouldSend: false, retryAfter: 150_200 }) - - now = 150_300 - await heartbeat(store, CELLS[0]!, { - incarnation: newerIncarnation, - startedAt: 52 - }) - const concurrentRecoveries = await Promise.all([ - store.prepareCellDrainRecovery({ - cellId: 'cell-a', - cellIncarnation: newerIncarnation - }), - store.prepareCellDrainRecovery({ - cellId: 'cell-a', - cellIncarnation: newerIncarnation - }) - ]) - expect(concurrentRecoveries.map((recovery) => recovery.shouldSend).sort()).toEqual([ - false, - true - ]) - await expect( - store.prepareCellDrainRecovery({ - cellId: 'cell-a', - cellIncarnation: newerIncarnation - }) - ).resolves.toEqual({ shouldSend: false, retryAfter: 150_200 }) - await expect( - database!.query( - `SELECT cell_incarnation FROM relay_cell_drain_recovery_attempts - WHERE drain_attempt_id = ? ORDER BY cell_incarnation`, - [attempt.attemptId] - ) - ).resolves.toEqual([ - { cell_incarnation: newIncarnation }, - { cell_incarnation: newerIncarnation } - ]) - }) - - it('rejects an invalid receipt and a prepared drain from an old incarnation', async () => { - let now = 100 - const store = await setupWithHeartbeats(() => now) - const oldIncarnation = '11111111-1111-4111-8111-111111111111' - const newIncarnation = '22222222-2222-4222-8222-222222222222' - const attempt = { - attemptId: '33333333-3333-4333-8333-333333333333', - cellId: 'cell-a', - cellIncarnation: oldIncarnation, - traceValue: '44444444-4444-4444-8444-444444444444', - plannedGraceMs: 120_000 - } - await heartbeat(store) - await store.setCellEnabled('cell-a', false) - await store.prepareCellDrainAttempt(attempt) - now = 150_200 - await heartbeat(store, CELLS[0]!, { - incarnation: newIncarnation, - startedAt: 51 - }) - await expect( - store.prepareCellDrainRecovery({ - cellId: 'cell-a', - cellIncarnation: newIncarnation - }) - ).rejects.toThrow('drain_application_receipt_missing') - - await database!.query( - `UPDATE relay_cell_drain_attempt_states - SET state = 'application-receipt', application_receipt_at = ?, - receipt_cell_incarnation = ?, retry_after = ? - WHERE attempt_id = ?`, - [200, oldIncarnation, 150_200, attempt.attemptId] - ) - await expect( - store.prepareCellDrainRecovery({ - cellId: 'cell-a', - cellIncarnation: newIncarnation - }) - ).rejects.toThrow('drain_application_receipt_missing') - }) - - it('restores an expired registered migration lease before a prepared drain send', async () => { - let now = 100 - const store = await setupWithHeartbeats(() => now) - await heartbeat(store, CELLS[0]!) - await heartbeat(store, CELLS[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222' - }) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await store.assign(identity) - await store.setCellEnabled('cell-a', false) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - const attempt = { - attemptId: '55555555-5555-4555-8555-555555555555', - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - traceValue: '66666666-6666-4666-8666-666666666666', - plannedGraceMs: 120_000 - } - await store.prepareCellDrainAttempt(attempt) - - now = migration.expiresAt + 1 - expect(await store.releaseExpiredActivityLeases()).toBeGreaterThan(0) - await heartbeat(store, CELLS[0]!) - await heartbeat(store, CELLS[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222' - }) - await expect( - store.beginCellDrainSend({ - attemptId: attempt.attemptId, - cellId: attempt.cellId, - cellIncarnation: attempt.cellIncarnation - }) - ).resolves.toMatchObject({ - state: 'send-may-have-started', - shouldSend: true - }) - await expect( - database!.query( - `SELECT activity_id, activity_kind, cell_id, request_units, expires_at - FROM relay_assignment_activity_leases - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).resolves.toContainEqual({ - activity_id: `migration:${migration.assignmentEpoch}`, - activity_kind: 'migration', - cell_id: 'cell-b', - request_units: 1, - expires_at: now + ASSIGNMENT_LIMITS.migrationLeaseMs - }) - }) - - it('refreshes registered migration leases before prepared drain recovery', async () => { - let now = 100 - const cappedCells = CELLS.map((cell) => ({ - ...cell, - connectionHardCap: 600 as const, - connectionUnobservedBound: 50 - })) - const store = await setupWithHeartbeats(() => now, cappedCells) - await heartbeat(store, cappedCells[0]!) - await heartbeat(store, cappedCells[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222' - }) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await store.assign(identity) - await store.setCellEnabled('cell-a', false) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - const attempt = { - attemptId: '99999999-9999-4999-8999-999999999999', - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - traceValue: 'aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa', - plannedGraceMs: 120_000 - } - await store.prepareCellDrainAttempt(attempt) - - now = migration.expiresAt - 500_000 - await heartbeat(store, cappedCells[0]!) - await heartbeat(store, cappedCells[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222' - }) - await expect(store.prepareCellDrainRecovery(attempt)).resolves.toMatchObject({ - shouldSend: false, - preparedAttempt: { attemptId: attempt.attemptId } - }) - const refreshedExpiresAt = now + ASSIGNMENT_LIMITS.migrationLeaseMs - await expect( - database!.query( - `SELECT expires_at FROM relay_assignment_migrations - WHERE user_id = ? AND relay_host_id = ? AND assignment_epoch = ?`, - [identity.userId, identity.relayHostId, migration.assignmentEpoch] - ) - ).resolves.toEqual([{ expires_at: refreshedExpiresAt }]) - await expect( - database!.query( - `SELECT state, timeout_at FROM relay_control_connection_reservations - WHERE user_id = ? AND relay_host_id = ? AND assignment_epoch = ?`, - [identity.userId, identity.relayHostId, migration.assignmentEpoch] - ) - ).resolves.toEqual([{ state: 'reserved', timeout_at: refreshedExpiresAt }]) - }) - - it('bounds repeated accounting repair before prepared drain recovery', async () => { - const delegate = await openInMemoryRelayDatabase() - const retryDatabase = new RepeatedDrainAccountingFailureDatabase(delegate) - database = retryDatabase - const store = new RelayAssignmentStore(retryDatabase, () => 100, { - requireLiveCells: true, - heartbeatTtlMs: 45_000 - }) - await store.reconcileCells(CELLS) - await heartbeat(store, CELLS[0]!) - await heartbeat(store, CELLS[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222' - }) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await store.assign(identity) - await store.setCellEnabled('cell-a', false) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - const attempt = { - attemptId: '99999999-9999-4999-8999-999999999999', - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - traceValue: 'aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa', - plannedGraceMs: 120_000 - } - await store.prepareCellDrainAttempt(attempt) - retryDatabase.arm(2) - - await expect(store.prepareCellDrainRecovery(attempt)).resolves.toMatchObject({ - shouldSend: false, - preparedAttempt: { attemptId: attempt.attemptId } - }) - expect(retryDatabase.refreshAttempts).toBe(3) - - retryDatabase.arm(4) - await expect(store.prepareCellDrainRecovery(attempt)).rejects.toThrow( - 'migration_activity_accounting_mismatch' - ) - expect(retryDatabase.refreshAttempts).toBe(4) - }) - - it('retires a pinned migration superseded by a newer authoritative assignment', async () => { - let now = 100 - const cells = [ - ...CELLS, - { - id: 'cell-c', - url: 'https://relay-c.example.com', - capacityRequests: 2 - } - ] - const store = await setupWithHeartbeats(() => now, cells) - await heartbeat(store, cells[0]!) - await heartbeat(store, cells[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222' - }) - await heartbeat(store, cells[2]!, { - incarnation: '33333333-3333-4333-8333-333333333333' - }) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await store.assign(identity) - await store.setCellEnabled('cell-a', false) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - const attempt = { - attemptId: '99999999-9999-4999-8999-999999999999', - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - traceValue: 'aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa', - plannedGraceMs: 120_000 - } - await store.prepareCellDrainAttempt(attempt) - await store.beginCellDrainSend(attempt) - const receipt = await store.recordCellDrainApplicationReceipt({ - ...attempt, - backendStatus: 200 - }) - - await database!.query( - `DELETE FROM relay_assignment_activity_leases - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - await database!.query( - `UPDATE relay_assignments SET reserved_controls = 0, reserved_splices = 0, - reserved_invites = 0, pending_installs = 0, pending_confirmations = 0, - migration_leases = 0, lease_expires_at = 0, last_activity_at = 0 - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - await database!.query(`UPDATE relay_cells SET reserved_requests = 0 WHERE cell_id IN (?, ?)`, [ - 'cell-a', - 'cell-b' - ]) - now = ASSIGNMENT_LIMITS.dormantTtlMs + 1 - await heartbeat(store, cells[2]!, { - incarnation: '33333333-3333-4333-8333-333333333333' - }) - const current = await store.rebalanceDormant(identity, 'cell-c') - await store.activateControl(identity, { - cellId: 'cell-c', - assignmentEpoch: current.assignmentEpoch, - generation: 1 - }) - - expect(receipt.retryAfter).toBeLessThanOrEqual(now) - await heartbeat(store, cells[0]!) - await expect(store.prepareCellDrainRecovery(attempt)).resolves.toMatchObject({ - shouldSend: true - }) - await expect( - database!.query( - `SELECT aborted_at FROM relay_assignment_migrations - WHERE user_id = ? AND relay_host_id = ? AND assignment_epoch = ?`, - [identity.userId, identity.relayHostId, migration.assignmentEpoch] - ) - ).resolves.toEqual([{ aborted_at: now }]) - await expect( - database!.query( - `SELECT cell_id, assignment_epoch FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).resolves.toEqual([{ cell_id: 'cell-c', assignment_epoch: current.assignmentEpoch }]) - await expect( - database!.query( - `SELECT activity_id, cell_id FROM relay_assignment_activity_leases - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).resolves.toEqual([{ activity_id: 'control:cell-c:1', cell_id: 'cell-c' }]) - }) - - it('refuses to restore a missing migration lease without durable target registration', async () => { - let now = 100 - const store = await setupWithHeartbeats(() => now) - await heartbeat(store, CELLS[0]!) - await heartbeat(store, CELLS[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222' - }) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await store.assign(identity) - await store.setCellEnabled('cell-a', false) - const migration = await store.startEvacuation(identity, 'cell-b') - const attempt = { - attemptId: '77777777-7777-4777-8777-777777777777', - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - traceValue: '88888888-8888-4888-8888-888888888888', - plannedGraceMs: 120_000 - } - await store.prepareCellDrainAttempt(attempt) - - now = migration.expiresAt + 1 - expect(await store.releaseExpiredActivityLeases()).toBeGreaterThan(0) - await heartbeat(store, CELLS[0]!) - await heartbeat(store, CELLS[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222' - }) - await expect( - store.beginCellDrainSend({ - attemptId: attempt.attemptId, - cellId: attempt.cellId, - cellIncarnation: attempt.cellIncarnation - }) - ).rejects.toThrow('migration_activity_lease_shape_mismatch') - }) - - it('moves a dead assignment only after a completed exact-incarnation fence attempt', async () => { - let now = 100 - const cappedCells = CELLS.map((cell) => ({ - ...cell, - connectionHardCap: 600 as const, - connectionUnobservedBound: 50 - })) - const store = await setupWithHeartbeats(() => now, cappedCells) - await heartbeat(store, cappedCells[0]!) - await heartbeat(store, cappedCells[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222' - }) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await store.assign(identity) - await store.setCellEnabled('cell-a', false) - now += 45_001 - await heartbeat(store, cappedCells[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222' - }) - - await store.attestCellFence('cell-a', '11111111-1111-4111-8111-111111111111') - expect( - await database!.query( - `SELECT cell_id FROM relay_cell_legacy_fence_adoptions WHERE cell_id = ?`, - ['cell-a'] - ) - ).toEqual([]) - expect(await store.evacuateDeadCells()).toBe(0) - expect( - await database!.query( - `SELECT cell_id FROM relay_assignments WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ cell_id: 'cell-a' }]) - - now += 300_001 - await heartbeat(store, cappedCells[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222' - }) - const evidence = { - attemptId: '22222222-2222-4222-8222-222222222222', - environment: 'production' as const, - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - migName: 'orca-relay-c1', - instanceGroup: 'https://compute.example/instanceGroups/orca-relay-c1', - generationIdentity: 'https://compute.example/instanceTemplates/orca-relay-c1-abc', - fenceCommit: 'a'.repeat(40), - planSha256: 'b'.repeat(64), - ...FENCE_PLAN_BINDING - } - await store.prepareCellFenceAttempt(evidence) - await store.bindCellFencePlanGeneration(evidence, evidence.planObjectGeneration) - await store.startCellFenceApply(evidence, FENCE_INVOCATION_ID, FENCE_INVOCATION_REASON) - await store.recordCellFenceOperation( - evidence, - FENCE_INVOCATION_ID, - FENCE_INVOCATION_REASON, - 'operation-1' - ) - await store.attestCellFenceAttempt(evidence, 'operation-1') - - expect(await store.evacuateDeadCells()).toBe(1) - expect((await store.resolve(identity))?.cellId).toBe('cell-b') - }) - - it('preserves proven non-delivery and permits one fresh full-grace attempt', async () => { - const store = await setupWithHeartbeats(() => 100, [CELLS[0]!]) - await heartbeat(store) - await store.setCellEnabled('cell-a', false) - const first = { - attemptId: '33333333-3333-4333-8333-333333333333', - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - traceValue: '44444444-4444-4444-8444-444444444444', - plannedGraceMs: 120_000 - } - await store.prepareCellDrainAttempt(first) - await store.beginCellDrainSend(first) - await expect(store.proveCellDrainNotDelivered(first)).resolves.toMatchObject({ - state: 'proven-not-delivered', - provenNotDeliveredAt: 100 - }) - await expect( - store.prepareCellDrainAttempt({ - ...first, - attemptId: '55555555-5555-4555-8555-555555555555', - traceValue: '66666666-6666-4666-8666-666666666666' - }) - ).resolves.toMatchObject({ state: 'prepared' }) - }) - - it('binds fence attestation to one durable Terraform attempt', async () => { - let now = 100 - const store = await setupWithHeartbeats(() => now, [CELLS[0]!]) - await heartbeat(store) - await store.setCellEnabled('cell-a', false) - const evidence = { - attemptId: '22222222-2222-4222-8222-222222222222', - environment: 'production' as const, - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - migName: 'orca-relay-c1', - instanceGroup: 'https://compute.example/instanceGroups/orca-relay-c1', - generationIdentity: 'https://compute.example/instanceTemplates/orca-relay-c1-abc', - fenceCommit: 'a'.repeat(40), - planSha256: 'b'.repeat(64), - ...FENCE_PLAN_BINDING - } - const prepared = await store.prepareCellFenceAttempt(evidence) - expect(prepared).toMatchObject({ createdAt: 100, expiresAt: 3_600_100 }) - expect(prepared.planObjectGeneration).toBeUndefined() - await expect( - store.bindCellFencePlanGeneration(evidence, evidence.planObjectGeneration) - ).resolves.toMatchObject({ - planObjectGeneration: evidence.planObjectGeneration - }) - await expect( - store.bindCellFencePlanGeneration(evidence, evidence.planObjectGeneration) - ).resolves.toMatchObject({ - planObjectGeneration: evidence.planObjectGeneration - }) - await expect(store.bindCellFencePlanGeneration(evidence, '987654321')).rejects.toThrow( - 'cell_fence_plan_generation_mismatch' - ) - for (const changed of [ - { attemptId: '33333333-3333-4333-8333-333333333333' }, - { environment: 'staging' as const }, - { cellId: 'cell-b' }, - { cellIncarnation: '33333333-3333-4333-8333-333333333333' }, - { migName: 'orca-relay-other' }, - { instanceGroup: `${evidence.instanceGroup}-other` }, - { generationIdentity: `${evidence.generationIdentity}-other` }, - { fenceCommit: 'c'.repeat(40) }, - { planSha256: 'c'.repeat(64) } - ]) { - await expect( - store.startCellFenceApply( - { ...evidence, ...changed }, - FENCE_INVOCATION_ID, - FENCE_INVOCATION_REASON - ) - ).rejects.toThrow() - } - await store.startCellFenceApply(evidence, FENCE_INVOCATION_ID, FENCE_INVOCATION_REASON) - await store.recordCellFenceOperation( - evidence, - FENCE_INVOCATION_ID, - FENCE_INVOCATION_REASON, - 'operation-1' - ) - now += 45_001 - await expect(store.attestCellFenceAttempt(evidence, 'operation-other')).rejects.toThrow( - 'cell_fence_operation_not_attested' - ) - const attested = await store.attestCellFenceAttempt(evidence, 'operation-1') - expect(attested).toMatchObject({ - expiresAt: now + 300_000, - attempt: { ...evidence, gceOperation: 'operation-1', completedAt: now } - }) - await expect(store.attestCellFenceAttempt(evidence, 'operation-1')).resolves.toEqual(attested) - now += 300_001 - await expect(store.attestCellFenceAttempt(evidence, 'operation-1')).resolves.toMatchObject({ - expiresAt: now + 300_000, - attempt: { completedAt: attested.attempt.completedAt } - }) - }) - - it('aborts only a Terraform fence whose apply never started', async () => { - const store = await setupWithHeartbeats(() => 100, [CELLS[0]!]) - await heartbeat(store) - await store.setCellEnabled('cell-a', false) - const evidence = { - attemptId: '22222222-2222-4222-8222-222222222222', - environment: 'production' as const, - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - migName: 'orca-relay-c1', - instanceGroup: 'https://compute.example/instanceGroups/orca-relay-c1', - generationIdentity: 'https://compute.example/instanceTemplates/orca-relay-c1-abc', - fenceCommit: 'a'.repeat(40), - planSha256: 'b'.repeat(64), - ...FENCE_PLAN_BINDING - } - await store.prepareCellFenceAttempt(evidence) - await store.bindCellFencePlanGeneration(evidence, evidence.planObjectGeneration) - await expect(store.abortCellFenceAttempt(evidence)).resolves.toMatchObject({ - abortedAt: 100 - }) - await expect( - store.startCellFenceApply(evidence, FENCE_INVOCATION_ID, FENCE_INVOCATION_REASON) - ).rejects.toThrow('cell_fence_attempt_aborted') - }) - - it('adopts a stale disabled legacy fence only when no durable attempt exists', async () => { - let now = 100 - const store = await setupWithHeartbeats(() => now, [CELLS[0]!]) - await heartbeat(store) - await store.setCellEnabled('cell-a', false) - now += 45_001 - - await expect( - store.adoptLegacyCellFence('cell-a', '11111111-1111-4111-8111-111111111111') - ).resolves.toBe(now + 300_000) - await expect( - database!.query(`SELECT cell_id, cell_incarnation FROM relay_cell_fences WHERE cell_id = ?`, [ - 'cell-a' - ]) - ).resolves.toEqual([ - { - cell_id: 'cell-a', - cell_incarnation: '11111111-1111-4111-8111-111111111111' - } - ]) - await expect( - database!.query( - `SELECT cell_id, cell_incarnation - FROM relay_cell_legacy_fence_adoptions WHERE cell_id = ?`, - ['cell-a'] - ) - ).resolves.toEqual([]) - await store.commitLegacyCellFenceAdoption('cell-a', '11111111-1111-4111-8111-111111111111') - await expect( - database!.query( - `SELECT cell_id, cell_incarnation - FROM relay_cell_legacy_fence_adoptions WHERE cell_id = ?`, - ['cell-a'] - ) - ).resolves.toEqual([ - { - cell_id: 'cell-a', - cell_incarnation: '11111111-1111-4111-8111-111111111111' - } - ]) - - now += 1 - await expect( - store.adoptLegacyCellFence('cell-a', '11111111-1111-4111-8111-111111111111') - ).resolves.toBe(now + 300_000) - await store.commitLegacyCellFenceAdoption('cell-a', '11111111-1111-4111-8111-111111111111') - await expect( - database!.query( - `SELECT attested_at, expires_at - FROM relay_cell_legacy_fence_adoptions WHERE cell_id = ?`, - ['cell-a'] - ) - ).resolves.toEqual([{ attested_at: now, expires_at: now + 300_000 }]) - - await heartbeat(store) - await expect( - database!.query(`SELECT cell_id FROM relay_cell_legacy_fence_adoptions WHERE cell_id = ?`, [ - 'cell-a' - ]) - ).resolves.toEqual([]) - }) - - it.each(['active', 'completed', 'aborted'] as const)( - 'rejects legacy adoption after a %s durable attempt', - async (status) => { - let now = 100 - const store = await setupWithHeartbeats(() => now, [CELLS[0]!]) - await heartbeat(store) - await store.setCellEnabled('cell-a', false) - const evidence = cellFenceEvidence() - await store.prepareCellFenceAttempt(evidence) - if (status === 'aborted') await store.abortCellFenceAttempt(evidence) - if (status === 'completed') { - await store.bindCellFencePlanGeneration(evidence, evidence.planObjectGeneration) - await store.startCellFenceApply(evidence, FENCE_INVOCATION_ID, FENCE_INVOCATION_REASON) - await store.recordCellFenceOperation( - evidence, - FENCE_INVOCATION_ID, - FENCE_INVOCATION_REASON, - 'operation-1' - ) - } - now += 45_001 - if (status === 'completed') { - await store.attestCellFenceAttempt(evidence, 'operation-1') - } - - await expect( - store.adoptLegacyCellFence('cell-a', '11111111-1111-4111-8111-111111111111') - ).rejects.toThrow('legacy_cell_fence_attempt_exists') - } - ) - - it('serializes legacy adoption against durable attempt preparation', async () => { - let now = 100 - const store = await setupWithHeartbeats(() => now, [CELLS[0]!]) - await heartbeat(store) - await store.setCellEnabled('cell-a', false) - now += 45_001 - - const results = await Promise.allSettled([ - store.adoptLegacyCellFence('cell-a', '11111111-1111-4111-8111-111111111111'), - store.prepareCellFenceAttempt(cellFenceEvidence()) - ]) - expect(results.filter(({ status }) => status === 'fulfilled')).toHaveLength(1) - const attempts = await database!.query( - `SELECT COUNT(*) AS count FROM relay_cell_fence_attempts WHERE cell_id = ?`, - ['cell-a'] - ) - const fences = await database!.query( - `SELECT COUNT(*) AS count FROM relay_cell_fences WHERE cell_id = ?`, - ['cell-a'] - ) - const adoptions = await database!.query( - `SELECT COUNT(*) AS count FROM relay_cell_legacy_fence_adoptions - WHERE cell_id = ?`, - ['cell-a'] - ) - expect(Number(attempts[0]!.count) + Number(fences[0]!.count)).toBe(1) - expect(Number(adoptions[0]!.count)).toBe(0) - }) - - it('rejects an expired durable Terraform fence attempt', async () => { - let now = 100 - const store = await setupWithHeartbeats(() => now, [CELLS[0]!]) - await heartbeat(store) - await store.setCellEnabled('cell-a', false) - const evidence = { - attemptId: '22222222-2222-4222-8222-222222222222', - environment: 'production' as const, - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - migName: 'orca-relay-c1', - instanceGroup: 'https://compute.example/instanceGroups/orca-relay-c1', - generationIdentity: 'https://compute.example/instanceTemplates/orca-relay-c1-abc', - fenceCommit: 'a'.repeat(40), - planSha256: 'b'.repeat(64), - ...FENCE_PLAN_BINDING - } - await store.prepareCellFenceAttempt(evidence) - await store.bindCellFencePlanGeneration(evidence, evidence.planObjectGeneration) - now += 3_600_001 - await expect( - store.startCellFenceApply(evidence, FENCE_INVOCATION_ID, FENCE_INVOCATION_REASON) - ).rejects.toThrow('cell_fence_attempt_expired') - }) - - it('keeps a started Terraform fence attempt recoverable after its preparation TTL', async () => { - let now = 100 - const store = await setupWithHeartbeats(() => now, [CELLS[0]!]) - await heartbeat(store) - await store.setCellEnabled('cell-a', false) - const evidence = { - attemptId: '22222222-2222-4222-8222-222222222222', - environment: 'production' as const, - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - migName: 'orca-relay-c1', - instanceGroup: 'https://compute.example/instanceGroups/orca-relay-c1', - generationIdentity: 'https://compute.example/instanceTemplates/orca-relay-c1-abc', - fenceCommit: 'a'.repeat(40), - planSha256: 'b'.repeat(64), - ...FENCE_PLAN_BINDING - } - await store.prepareCellFenceAttempt(evidence) - await store.bindCellFencePlanGeneration(evidence, evidence.planObjectGeneration) - await store.startCellFenceApply(evidence, FENCE_INVOCATION_ID, FENCE_INVOCATION_REASON) - now += 3_600_001 - await expect( - store.recordCellFenceOperation( - evidence, - FENCE_INVOCATION_ID, - FENCE_INVOCATION_REASON, - 'operation-1' - ) - ).resolves.toMatchObject({ - attempt: { gceOperation: 'operation-1' }, - invocation: { gceOperation: 'operation-1' } - }) - await expect( - store.prepareCellFenceAttempt({ - ...evidence, - attemptId: '44444444-4444-4444-8444-444444444444', - planObjectName: - 'terraform/state/relay-fence-plans/production/44444444-4444-4444-8444-444444444444.tfplan', - requestReason: 'orca-relay-fence/44444444-4444-4444-8444-444444444444' - }) - ).rejects.toThrow('cell_fence_attempt_evidence_mismatch') - }) - - it('reports aggregate deployment state and heartbeat freshness without identities', async () => { - let now = 100 - const store = await setupWithHeartbeats(() => now, [CELLS[0]!]) - await heartbeat(store) - const identity = { userId: 'private-user', relayHostId: 'host000000000001' } - const assignment = await store.assign(identity) - expect(await store.cellDeploymentStatus('cell-a')).toMatchObject({ - activityLeases: 1, - activityRequestUnits: 1, - restartBlockingActivityLeases: 0, - restartBlockingActivityRequestUnits: 0, - restartBlockingReservedRequests: 0 - }) - await store.activateControl(identity, { - cellId: 'cell-a', - assignmentEpoch: assignment.assignmentEpoch, - generation: 1 - }) - - expect(await store.cellDeploymentStatus('cell-a')).toEqual({ - cellId: 'cell-a', - cellUrl: 'https://relay-a.example.com', - region: 'us-central1', - enabled: true, - admissionState: 'general', - capacityRequests: 2, - reservedRequests: 1, - assignments: 1, - activityLeases: 1, - activityRequestUnits: 1, - restartBlockingActivityLeases: 1, - restartBlockingActivityRequestUnits: 1, - restartBlockingReservedRequests: 1, - outgoingMigrations: 0, - incomingMigrations: 0, - connectionCapacity: null, - runtime: { - cellUrl: 'https://relay-a.example.com', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - startedAt: 50, - ready: true, - observedRequests: 0, - lastHeartbeatAt: 100, - heartbeatFresh: true, - regionalRehomeProtocol: 0 - } - }) - now += 45_001 - expect((await store.cellDeploymentStatus('cell-a')).runtime?.heartbeatFresh).toBe(false) - await expect(store.cellDeploymentStatus('missing')).rejects.toThrow('cell_not_found') - }) - - it('keeps concurrent sticky assignment grants restart-safe', async () => { - const store = await setup( - () => 100, - [{ id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }] - ) - const identity = { userId: 'private-user', relayHostId: 'host000000000001' } - - await Promise.all(Array.from({ length: 20 }, async () => await store.assign(identity))) - - expect(await store.cellDeploymentStatus('cell-a')).toMatchObject({ - activityLeases: 1, - activityRequestUnits: 1, - reservedRequests: 1, - restartBlockingActivityLeases: 0, - restartBlockingActivityRequestUnits: 0, - restartBlockingReservedRequests: 0 - }) - }) - - it('classifies activated and non-control activity as restart-blocking', async () => { - const store = await setup( - () => 100, - [{ id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }] - ) - const identity = { userId: 'private-user', relayHostId: 'host000000000001' } - const assignment = await store.assign(identity) - await store.activateControl(identity, { - cellId: assignment.cellId, - assignmentEpoch: assignment.assignmentEpoch, - generation: 1 - }) - for (const kind of ['splice', 'invite', 'install', 'confirmation', 'migration'] as const) { - await store.acquireActivity(identity, { - activityId: `${kind}:test`, - kind, - cellId: assignment.cellId - }) - } - - expect(await store.cellDeploymentStatus('cell-a')).toMatchObject({ - activityLeases: 6, - activityRequestUnits: 7, - reservedRequests: 7, - restartBlockingActivityLeases: 6, - restartBlockingActivityRequestUnits: 7, - restartBlockingReservedRequests: 7 - }) - }) - - it('fails closed for malformed pending controls and unexplained reservations', async () => { - const store = await setup( - () => 100, - [{ id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }] - ) - await store.assign({ userId: 'private-user', relayHostId: 'host000000000001' }) - await database!.query( - `UPDATE relay_assignment_activity_leases SET request_units = 2 - WHERE cell_id = ?`, - ['cell-a'] - ) - expect(await store.cellDeploymentStatus('cell-a')).toMatchObject({ - restartBlockingActivityLeases: 1, - restartBlockingActivityRequestUnits: 2, - restartBlockingReservedRequests: 1 - }) - - await database!.query( - `UPDATE relay_assignment_activity_leases SET request_units = 1 WHERE cell_id = ?`, - ['cell-a'] - ) - await database!.query(`UPDATE relay_cells SET reserved_requests = 0 WHERE cell_id = ?`, [ - 'cell-a' - ]) - expect(await store.cellDeploymentStatus('cell-a')).toMatchObject({ - restartBlockingActivityLeases: 0, - restartBlockingActivityRequestUnits: 0, - restartBlockingReservedRequests: -1 - }) - - await database!.query(`UPDATE relay_cells SET reserved_requests = 2 WHERE cell_id = ?`, [ - 'cell-a' - ]) - expect(await store.cellDeploymentStatus('cell-a')).toMatchObject({ - restartBlockingActivityLeases: 0, - restartBlockingActivityRequestUnits: 0, - restartBlockingReservedRequests: 1 - }) - }) - - it('keeps a migration blocking when its target also has a pending control', async () => { - const store = await setup( - () => 100, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 20 } - ] - ) - const identity = { userId: 'private-user', relayHostId: 'host000000000001' } - await store.assign(identity) - await store.startEvacuation(identity, 'cell-b') - - expect(await store.cellDeploymentStatus('cell-b')).toMatchObject({ - activityLeases: 2, - restartBlockingActivityLeases: 1, - restartBlockingActivityRequestUnits: 1, - restartBlockingReservedRequests: 1, - incomingMigrations: 1 - }) - }) - - it('starts declared candidates disabled without overwriting later operator state', async () => { - const candidate: RelayCellConfig = { - id: 'candidate', - url: 'https://candidate.example.com', - capacityRequests: 20, - initiallyEnabled: false - } - const store = await setup(() => 100, [candidate]) - expect((await store.cellDeploymentStatus('candidate')).enabled).toBe(false) - await store.setCellEnabled('candidate', true) - await store.reconcileCells([candidate]) - expect((await store.cellDeploymentStatus('candidate')).enabled).toBe(true) - }) - it('moves a stranded host off an existing-only cell that stopped serving it', async () => { // C3 rejected attaches on an existing-only cell; repeated grants defeated dormancy (#194, #225). Use recent failed grants on assignment rows: no cap reservations exist, and expired leases are pruned. let now = 100 @@ -1409,457 +157,6 @@ describe('RelayAssignmentStore', () => { expect(settled.assignmentEpoch).toBe(moved.assignmentEpoch) }) - it('keeps a serving existing-only cell pinned for hosts with live activity', async () => { - let now = 100 - const store = await setup(() => now) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - await store.setCellEnabled(first.cellId, false) - // A live claimed control proves the cell still serves this host. - await database!.query( - `INSERT INTO relay_assignment_activity_leases - (user_id, relay_host_id, activity_id, activity_kind, cell_id, - request_units, expires_at, updated_at) - VALUES (?, ?, ?, 'control', ?, 1, ?, ?)`, - [identity.userId, identity.relayHostId, 'control:live-1', first.cellId, now + 600_000, now] - ) - now += 61_000 - const pinned = await store.assign(identity) - expect(pinned.cellId).toBe(first.cellId) - }) - - it('keeps migration-only cells pinned inside the stranded window', async () => { - // migration-only durably holds evacuation/Asia rollback/failed-wave hosts; only same-cap roll stamps authorize re-placement. - let now = 100 - const store = await setup(() => now) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - await store.setCellAdmissionState(first.cellId, 'migration-only') - now += 61_000 - const pinned = await store.assign(identity) - expect(pinned.cellId).toBe(first.cellId) - }) - - it('leaves quiet existing-only assignments to the normal dormancy rule', async () => { - // Why: outside the 15-minute stranded window there is no active retry - // loop to break; ordinary returns stay pinned until 24h dormancy. - let now = 100 - const store = await setup(() => now) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - await store.setCellEnabled(first.cellId, false) - now += 20 * 60_000 - const pinned = await store.assign(identity) - expect(pinned.cellId).toBe(first.cellId) - }) - - it('reassigns an active assignment from an uncapped stale cell without a fence', async () => { - let now = 100 - const store = await setupWithHeartbeats(() => now) - await heartbeat(store, CELLS[0]!) - await heartbeat(store, CELLS[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222' - }) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - await store.changeActivity(identity, 'invite', 1) - await database!.query( - `INSERT INTO relay_assignment_migrations - (user_id, relay_host_id, source_cell_id, target_cell_id, - previous_epoch, assignment_epoch, source_request_units, - target_reserved_units, expires_at, target_registered_at, - completed_at, aborted_at, created_at, updated_at) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, NULL, NULL, NULL, ?, ?)`, - [identity.userId, identity.relayHostId, 'cell-b', 'cell-a', -1, 0, 0, 1, 90_100, now, now] - ) - await database!.query( - `INSERT INTO relay_post_drain_migration_pins - (user_id, relay_host_id, assignment_epoch, drain_attempt_id, - source_cell_id, source_cell_incarnation, target_cell_id, - target_cell_incarnation, source_request_units, target_reserved_units, - pinned_at) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`, - [ - identity.userId, - identity.relayHostId, - 0, - '33333333-3333-4333-8333-333333333333', - 'cell-b', - '22222222-2222-4222-8222-222222222222', - 'cell-a', - '11111111-1111-4111-8111-111111111111', - 0, - 1, - now - ] - ) - - now += 45_001 - await heartbeat(store, CELLS[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222' - }) - expect(await store.evacuateDeadCells()).toBe(1) - const replacement = await store.resolve(identity) - expect(replacement).toMatchObject({ - cellId: 'cell-b', - assignmentEpoch: first.assignmentEpoch + 1 - }) - expect( - await database!.query( - `SELECT activity_kind, cell_id FROM relay_assignment_activity_leases - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ activity_kind: 'control', cell_id: 'cell-b' }]) - }) - - it('skips a host whose row is busy and still evacuates the rest of the dead cell', async () => { - let now = 100 - const cells: RelayCellConfig[] = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const store = await setupWithHeartbeats(() => now, cells) - for (const cell of cells) await heartbeat(store, cell) - await store.setCellEnabled('cell-b', false) - const busy = { userId: 'a-busy', relayHostId: 'host000000000001' } - const later = { userId: 'b-later', relayHostId: 'host000000000002' } - expect(await store.assign(busy)).toMatchObject({ cellId: 'cell-a' }) - expect(await store.assign(later)).toMatchObject({ cellId: 'cell-a' }) - await store.setCellEnabled('cell-b', true) - - now += 45_001 - await heartbeat(store, cells[1]!) - // The sweep reaches the busy host first: its own release holds its row. - const assign = store.assign.bind(store) - vi.spyOn(store, 'assign').mockImplementation(async (identity, ...rest) => { - if (identity.relayHostId === busy.relayHostId) throw new RelayAssignmentRowBusyError() - return await assign(identity, ...rest) - }) - - expect(await store.evacuateDeadCells()).toBe(1) - expect(await store.resolve(later)).toMatchObject({ cellId: 'cell-b' }) - expect( - await database!.query(`SELECT cell_id FROM relay_assignments WHERE user_id = ?`, [ - busy.userId - ]) - ).toEqual([{ cell_id: 'cell-a' }]) - }) - - it('does not let an unfenced capped cell starve eligible legacy recovery', async () => { - let now = 100 - const cells: RelayCellConfig[] = [ - { - id: 'cell-a', - url: 'https://relay-a.example.com', - capacityRequests: 10, - connectionHardCap: 600, - connectionUnobservedBound: 50 - }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 }, - { id: 'cell-c', url: 'https://relay-c.example.com', capacityRequests: 10 } - ] - const store = await setupWithHeartbeats(() => now, cells) - for (const cell of cells) await heartbeat(store, cell) - await store.setCellEnabled('cell-b', false) - await store.setCellEnabled('cell-c', false) - const cappedIdentity = { userId: 'a-capped', relayHostId: 'host000000000001' } - expect(await store.assign(cappedIdentity)).toMatchObject({ cellId: 'cell-a' }) - - await store.setCellEnabled('cell-a', false) - await store.setCellEnabled('cell-b', true) - const legacyIdentity = { userId: 'z-legacy', relayHostId: 'host000000000002' } - expect(await store.assign(legacyIdentity)).toMatchObject({ cellId: 'cell-b' }) - await store.setCellEnabled('cell-c', true) - - now += 45_001 - await heartbeat(store, cells[2]!) - expect(await store.evacuateDeadCells(1)).toBe(1) - expect(await store.resolve(legacyIdentity)).toMatchObject({ cellId: 'cell-c' }) - expect( - await database!.query(`SELECT cell_id FROM relay_assignments WHERE user_id = ?`, [ - cappedIdentity.userId - ]) - ).toEqual([{ cell_id: 'cell-a' }]) - }) - - it('refuses evacuation into a cell without a fresh ready heartbeat', async () => { - const store = await setupWithHeartbeats(() => 100) - await heartbeat(store, CELLS[0]!) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await store.assign(identity) - - await expect(store.startEvacuation(identity, 'cell-b')).rejects.toThrow( - 'target_cell_unavailable' - ) - }) - - it('keeps an active assignment sticky without increasing its epoch or reservation', async () => { - const store = await setup(() => 100) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const second = await store.assign(identity) - - expect(first.placed).toBe(true) - expect(second).toEqual({ ...first, placed: undefined }) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 1, 'cell-b': 0 }) - }) - - it('selects the least-loaded cell with a stable cell-id tie break', async () => { - const store = await setup(() => 100) - const first = await store.assign({ userId: 'user-a', relayHostId: 'host000000000001' }) - const second = await store.assign({ userId: 'user-b', relayHostId: 'host000000000002' }) - - expect([first.cellId, second.cellId]).toEqual(['cell-a', 'cell-b']) - }) - - it('admits exactly through the configured capacity boundary', async () => { - const store = await setup( - () => 100, - [{ id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 2 }] - ) - await store.assign({ userId: 'user-a', relayHostId: 'host000000000001' }) - await store.assign({ userId: 'user-b', relayHostId: 'host000000000002' }) - - await expect( - store.assign({ userId: 'user-c', relayHostId: 'host000000000003' }) - ).rejects.toThrow('relay_capacity_exhausted') - expect(await cellReservations(database!)).toEqual({ 'cell-a': 2 }) - }) - - it('does not oversubscribe when assignments race', async () => { - const store = await setup( - () => 100, - [{ id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 2 }] - ) - const results = await Promise.allSettled( - Array.from({ length: 8 }, (_, index) => - store.assign({ - userId: `user-${index}`, - relayHostId: `host${String(index).padStart(12, '0')}` - }) - ) - ) - - expect(results.filter(({ status }) => status === 'fulfilled')).toHaveLength(2) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 2 }) - }) - - it('reassigns only after all activity expires and the dormant TTL elapses', async () => { - let now = 100 - const store = await setup(() => now) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - await store.changeActivity(identity, 'invite', 1) - await store.changeActivity(identity, 'control', -1) - - now += ASSIGNMENT_LIMITS.activityLeaseMs + 1 - await store.releaseExpiredActivityLeases() - await store.releaseExpiredActivity() - await database!.query(`UPDATE relay_cells SET observed_requests = 2 WHERE cell_id = ?`, [ - first.cellId - ]) - now += ASSIGNMENT_LIMITS.dormantTtlMs - const reassigned = await store.assign(identity) - - expect(reassigned.cellId).not.toBe(first.cellId) - expect(reassigned.assignmentEpoch).toBe(first.assignmentEpoch + 1) - }) - - it('will not normally move an assignment while any durable activity remains', async () => { - let now = 100 - const store = await setup(() => now) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - await store.changeActivity(identity, 'migration', 1) - await store.changeActivity(identity, 'control', -1) - await database!.query(`UPDATE relay_cells SET observed_requests = 2 WHERE cell_id = ?`, [ - first.cellId - ]) - now += ASSIGNMENT_LIMITS.dormantTtlMs + 1 - - expect(await store.assign(identity)).toMatchObject({ - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch - }) - }) - - it('releases every expired activity reservation without going negative', async () => { - let now = 100 - const store = await setup( - () => now, - [{ id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }] - ) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await store.assign(identity) - for (const kind of ['splice', 'invite', 'install', 'confirmation', 'migration'] as const) { - await store.changeActivity(identity, kind, 1) - } - expect(await cellReservations(database!)).toEqual({ 'cell-a': 7 }) - - now += ASSIGNMENT_LIMITS.activityLeaseMs + 1 - expect(await store.releaseExpiredActivityLeases()).toBe(1) - expect(await store.releaseExpiredActivity()).toBe(1) - expect(await store.releaseExpiredActivity()).toBe(0) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 0 }) - }) - - it('isolates assignments by host and verifies both cell and epoch', async () => { - const store = await setup(() => 100) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const assignment = await store.assign(identity) - - await expect( - store.verifyCellAssignment({ ...identity, cellId: assignment.cellId, assignmentEpoch: 1 }) - ).resolves.toBe(true) - await expect( - store.verifyCellAssignment({ ...identity, cellId: 'cell-b', assignmentEpoch: 1 }) - ).resolves.toBe(false) - await expect( - store.verifyCellAssignment({ ...identity, cellId: assignment.cellId, assignmentEpoch: 2 }) - ).resolves.toBe(false) - await expect( - store.verifyCellAssignment({ - ...identity, - userId: 'other', - cellId: assignment.cellId, - assignmentEpoch: 1 - }) - ).resolves.toBe(false) - await expect( - store.verifyCellAssignment({ - ...identity, - relayHostId: 'host000000000002', - cellId: assignment.cellId, - assignmentEpoch: 1 - }) - ).resolves.toBe(false) - await expect( - store.resolve({ userId: 'other', relayHostId: identity.relayHostId }) - ).resolves.toBeNull() - }) - - it('converts the director reservation into an idempotent active-control lease', async () => { - const store = await setup(() => 100) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const assignment = await store.assign(identity) - - const activityId = await store.activateControl(identity, { - cellId: assignment.cellId, - assignmentEpoch: assignment.assignmentEpoch, - generation: 1 - }) - await store.activateControl(identity, { - cellId: assignment.cellId, - assignmentEpoch: assignment.assignmentEpoch, - generation: 1 - }) - - expect(activityId).toBe(`control:${assignment.cellId}:1`) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 1, 'cell-b': 0 }) - const leases = await database!.query(`SELECT activity_id FROM relay_assignment_activity_leases`) - expect(leases).toEqual([{ activity_id: activityId }]) - }) - - it('transactionally supersedes older controls on only the same cell', async () => { - const cells = [ - { - id: 'cell-a', - url: 'https://relay-a.example.com', - capacityRequests: 10 - }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const store = await setup(() => 100, cells) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await store.setCellEnabled('cell-b', false) - const assignment = await store.assign(identity) - await store.activateControl(identity, { - cellId: assignment.cellId, - assignmentEpoch: assignment.assignmentEpoch, - generation: 1 - }) - await store.setCellEnabled('cell-b', true) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 1 - }) - await database!.query( - `INSERT INTO relay_assignment_activity_leases - (user_id, relay_host_id, activity_id, activity_kind, cell_id, - request_units, expires_at, updated_at) - VALUES (?, ?, ?, 'control', 'cell-b', 1, 90100, 100), - (?, ?, ?, 'control', 'cell-b', 1, 90100, 100)`, - [ - identity.userId, - identity.relayHostId, - 'control:cell-b:2', - identity.userId, - identity.relayHostId, - 'control:cell-b:3' - ] - ) - // The store reserves a unit per control lease, so a hand-written pair has to - // carry its own reservation or the fixture starts out of balance. - await database!.query( - `UPDATE relay_cells SET reserved_requests = reserved_requests + 2 WHERE cell_id = 'cell-b'` - ) - const latest = await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 4 - }) - - expect( - await database!.query( - `SELECT activity_id, cell_id FROM relay_assignment_activity_leases - WHERE activity_kind = 'control' ORDER BY cell_id` - ) - ).toEqual([ - { activity_id: 'control:cell-a:1', cell_id: 'cell-a' }, - { activity_id: latest, cell_id: 'cell-b' } - ]) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 1, 'cell-b': 2 }) - expect( - await database!.query( - `SELECT reserved_controls FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ reserved_controls: 2 }]) - }) - - it('re-reserves a sticky grant for a host holding no control lease', async () => { - const store = await setup(() => 100) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const assignment = await store.assign(identity) - const control = await store.activateControl(identity, { - cellId: assignment.cellId, - assignmentEpoch: assignment.assignmentEpoch, - generation: 1 - }) - await store.releaseActivity(identity, control) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 0, 'cell-b': 0 }) - - await expect(store.assign(identity)).resolves.toMatchObject({ - cellId: assignment.cellId, - assignmentEpoch: assignment.assignmentEpoch - }) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 1, 'cell-b': 0 }) - expect( - await database!.query(`SELECT activity_id FROM relay_assignment_activity_leases`) - ).toEqual([{ activity_id: 'control-pending:1' }]) - expect( - await database!.query( - `SELECT reserved_controls FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ reserved_controls: 1 }]) - }) - it('re-pins a host that took control after the sticky lane read it dormant', async () => { const now = 100 const delegate = await openInMemoryRelayDatabase() @@ -1925,532 +222,6 @@ describe('RelayAssignmentStore', () => { ]) }) - it('reserves control on the pinned cell when the only lease sits on another', async () => { - const now = 100 - const store = await setup(() => now) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await database!.query( - `INSERT INTO relay_assignments - (user_id, relay_host_id, cell_id, assignment_epoch, lease_expires_at, - last_activity_at, reserved_controls, reserved_splices, reserved_invites, - pending_installs, pending_confirmations, migration_leases) - VALUES (?, ?, 'cell-b', 2, ?, ?, 1, 0, 0, 0, 0, 0)`, - [identity.userId, identity.relayHostId, now + ASSIGNMENT_LIMITS.activityLeaseMs, now] - ) - await database!.query( - `INSERT INTO relay_assignment_activity_leases - (user_id, relay_host_id, activity_id, activity_kind, cell_id, - request_units, expires_at, updated_at) - VALUES (?, ?, 'control:cell-a:1', 'control', 'cell-a', 1, ?, ?)`, - [identity.userId, identity.relayHostId, now + ASSIGNMENT_LIMITS.activityLeaseMs, now] - ) - await database!.query(`UPDATE relay_cells SET reserved_requests = 1 WHERE cell_id = 'cell-a'`) - - await expect(store.assign(identity)).resolves.toMatchObject({ - cellId: 'cell-b', - assignmentEpoch: 2 - }) - expect( - await database!.query( - `SELECT activity_id, cell_id FROM relay_assignment_activity_leases - ORDER BY activity_id ASC` - ) - ).toEqual([ - { activity_id: 'control-pending:2', cell_id: 'cell-b' }, - { activity_id: 'control:cell-a:1', cell_id: 'cell-a' } - ]) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 1, 'cell-b': 1 }) - expect( - await database!.query( - `SELECT reserved_controls FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ reserved_controls: 2 }]) - }) - - it('mints a pending control when the only lease is an older epoch pending', async () => { - const now = 100 - const store = await setup(() => now) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await database!.query( - `INSERT INTO relay_assignments - (user_id, relay_host_id, cell_id, assignment_epoch, lease_expires_at, - last_activity_at, reserved_controls, reserved_splices, reserved_invites, - pending_installs, pending_confirmations, migration_leases) - VALUES (?, ?, 'cell-a', 3, ?, ?, 1, 0, 0, 0, 0, 0)`, - [identity.userId, identity.relayHostId, now + ASSIGNMENT_LIMITS.activityLeaseMs, now] - ) - await database!.query( - `INSERT INTO relay_assignment_activity_leases - (user_id, relay_host_id, activity_id, activity_kind, cell_id, - request_units, expires_at, updated_at) - VALUES (?, ?, 'control-pending:1', 'control', 'cell-a', 1, ?, ?)`, - [identity.userId, identity.relayHostId, now + ASSIGNMENT_LIMITS.activityLeaseMs, now] - ) - await database!.query(`UPDATE relay_cells SET reserved_requests = 1 WHERE cell_id = 'cell-a'`) - - await expect(store.assign(identity)).resolves.toMatchObject({ - cellId: 'cell-a', - assignmentEpoch: 3 - }) - expect( - await database!.query( - `SELECT activity_id FROM relay_assignment_activity_leases - ORDER BY activity_id ASC` - ) - ).toEqual([{ activity_id: 'control-pending:1' }, { activity_id: 'control-pending:3' }]) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 2, 'cell-b': 0 }) - expect( - await database!.query( - `SELECT reserved_controls FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ reserved_controls: 2 }]) - }) - - it('re-reserves a re-pinned grant for a host holding no control lease', async () => { - const now = 100 - const delegate = await openInMemoryRelayDatabase() - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const seeded = new SeedBetweenAssignmentLanesDatabase(delegate, async () => { - await delegate.query( - `INSERT INTO relay_assignment_activity_leases - (user_id, relay_host_id, activity_id, activity_kind, cell_id, - request_units, expires_at, updated_at) - VALUES (?, ?, 'splice:connection-1', 'splice', 'cell-a', 1, ?, ?)`, - [identity.userId, identity.relayHostId, now + ASSIGNMENT_LIMITS.activityLeaseMs, now] - ) - await delegate.query( - `UPDATE relay_assignments SET reserved_splices = 1 - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - await delegate.query(`UPDATE relay_cells SET reserved_requests = 1 WHERE cell_id = 'cell-a'`) - }) - database = seeded - const store = new RelayAssignmentStore(seeded, () => now) - await store.reconcileCells(CELLS) - await delegate.query( - `INSERT INTO relay_assignments - (user_id, relay_host_id, cell_id, assignment_epoch, lease_expires_at, - last_activity_at, reserved_controls, reserved_splices, reserved_invites, - pending_installs, pending_confirmations, migration_leases) - VALUES (?, ?, 'cell-a', 1, ?, ?, 0, 0, 0, 0, 0, 0)`, - [identity.userId, identity.relayHostId, now, now - ASSIGNMENT_LIMITS.dormantTtlMs] - ) - seeded.arm() - - await expect(store.assign(identity)).resolves.toMatchObject({ - cellId: 'cell-a', - assignmentEpoch: 1 - }) - expect( - await delegate.query( - `SELECT reserved_controls, reserved_splices FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ reserved_controls: 1, reserved_splices: 1 }]) - expect( - await delegate.query( - `SELECT activity_id FROM relay_assignment_activity_leases - ORDER BY activity_id ASC` - ) - ).toEqual([{ activity_id: 'control-pending:1' }, { activity_id: 'splice:connection-1' }]) - expect(await cellReservations(delegate)).toEqual({ 'cell-a': 2, 'cell-b': 0 }) - }) - - it('extends the lease of a control-holding host on a sticky grant', async () => { - let now = 100 - const store = await setup(() => now) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const assignment = await store.assign(identity) - await store.activateControl(identity, { - cellId: assignment.cellId, - assignmentEpoch: assignment.assignmentEpoch, - generation: 1 - }) - - now = 40_000 - await expect(store.assign(identity)).resolves.toMatchObject({ - cellId: assignment.cellId - }) - expect( - await database!.query( - `SELECT lease_expires_at, last_activity_at FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([ - { lease_expires_at: now + ASSIGNMENT_LIMITS.activityLeaseMs, last_activity_at: now } - ]) - }) - - // The old absolute write shortened a 15-minute migration lease to the 90s - // grant lease; only the touch's monotonic CASE keeps the longer one now. - it('never shortens a migration lease to the grant lease', async () => { - let now = 100 - const store = await setup(() => now) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const assignment = await store.assign(identity) - await store.activateControl(identity, { - cellId: assignment.cellId, - assignmentEpoch: assignment.assignmentEpoch, - generation: 1 - }) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 1 - }) - const before = await database!.query( - `SELECT lease_expires_at FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - expect(before).toEqual([{ lease_expires_at: 100 + ASSIGNMENT_LIMITS.migrationLeaseMs }]) - - now = 1000 - await expect(store.assign(identity)).resolves.toMatchObject({ cellId: 'cell-b' }) - expect( - await database!.query( - `SELECT lease_expires_at, last_activity_at FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([ - { lease_expires_at: 100 + ASSIGNMENT_LIMITS.migrationLeaseMs, last_activity_at: now } - ]) - }) - - it('moves an origin-scoped activity reservation without double counting', async () => { - const store = await setup( - () => 100, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - ) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await store.assign(identity) - await store.acquireActivity(identity, { - activityId: 'splice:connection-1', - kind: 'splice', - cellId: 'cell-a' - }) - await store.startEvacuation(identity, 'cell-b') - await store.acquireActivity(identity, { - activityId: 'splice:connection-1', - kind: 'splice', - cellId: 'cell-b' - }) - - expect(await cellReservations(database!)).toEqual({ 'cell-a': 1, 'cell-b': 6 }) - await expect(store.releaseActivity(identity, 'splice:connection-1')).resolves.toBe(true) - await expect(store.releaseActivity(identity, 'splice:connection-1')).resolves.toBe(false) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 1, 'cell-b': 4 }) - }) - - it('rejects a durable activity before it can exceed cell capacity', async () => { - const store = await setup( - () => 100, - [{ id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 2 }] - ) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await store.assign(identity) - - await expect( - store.acquireActivity(identity, { - activityId: 'splice:connection-1', - kind: 'splice', - cellId: 'cell-a' - }) - ).rejects.toThrow('relay_capacity_exhausted') - expect(await cellReservations(database!)).toEqual({ 'cell-a': 1 }) - }) - - it('moves active assignments target-first and completes only after source drain', async () => { - const store = await setup( - () => 100, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - ) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const sourceControl = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - - const migration = await store.startEvacuation(identity, 'cell-b') - expect(await store.startEvacuation(identity, 'cell-b')).toEqual(migration) - expect(migration).toMatchObject({ - sourceCellId: 'cell-a', - targetCellId: 'cell-b', - previousEpoch: 1, - assignmentEpoch: 2 - }) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 1, 'cell-b': 2 }) - - const targetControl = await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: 2, - generation: 1 - }) - await store.markMigrationTargetRegistered(identity, { cellId: 'cell-b', assignmentEpoch: 2 }) - await expect(store.completeEvacuation(identity, 2)).rejects.toThrow( - 'migration_source_still_active' - ) - await store.releaseActivity(identity, sourceControl) - await store.completeEvacuation(identity, 2) - - expect(await cellReservations(database!)).toEqual({ 'cell-a': 0, 'cell-b': 1 }) - expect(await store.resolve(identity)).toMatchObject({ cellId: 'cell-b', assignmentEpoch: 2 }) - expect( - await database!.query( - `SELECT activity_id FROM relay_assignment_activity_leases ORDER BY activity_id` - ) - ).toEqual([{ activity_id: targetControl }]) - await expect( - store.acquireActivity(identity, { - activityId: 'splice:late-source', - kind: 'splice', - cellId: 'cell-a' - }) - ).rejects.toThrow('activity_cell_not_authoritative') - }) - - it('automatically completes only after the source runtime is freshly quiescent', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const store = await setupWithHeartbeats(() => now, cells) - await heartbeat(store, cells[0]!) - await heartbeat(store, cells[1]!) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const sourceControl = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 1 - }) - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - await store.releaseActivity(identity, sourceControl) - await store.setCellEnabled('cell-a', false) - await heartbeat(store, cells[0]!, { observedRequests: 1 }) - - expect(await store.completeReadyEvacuations()).toBe(0) - await heartbeat(store, cells[0]!, { observedRequests: 0 }) - now = 150 - await heartbeat(store, cells[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222', - startedAt: 125 - }) - expect(await store.completeReadyEvacuations()).toBe(0) - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 2 - }) - expect(await store.completeReadyEvacuations()).toBe(1) - }) - - it('completes a fenced migration only after the source heartbeat is stale', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const store = await setupWithHeartbeats(() => now, cells) - await heartbeat(store, cells[0]!, { observedRequests: 1 }) - await heartbeat(store, cells[1]!) - await store.setCellEnabled('cell-b', false) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const sourceControl = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.setCellEnabled('cell-b', true) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 1 - }) - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - await store.releaseActivity(identity, sourceControl) - await store.setCellEnabled('cell-a', false) - - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', true)).toMatchObject({ - inProgress: 1, - blocked: 1 - }) - now += 45_001 - await heartbeat(store, cells[1]!) - await store.attestCellFence('cell-a', '11111111-1111-4111-8111-111111111111') - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', true)).toMatchObject({ - inProgress: 0, - completed: 1 - }) - }) - - it('blocks aggregate fenced completion on assignment accounting mismatch', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const store = await setupWithHeartbeats(() => now, cells) - await heartbeat(store, cells[0]!) - await heartbeat(store, cells[1]!) - await store.setCellEnabled('cell-b', false) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const sourceControl = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.setCellEnabled('cell-b', true) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 1 - }) - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - await store.releaseActivity(identity, sourceControl) - await store.setCellEnabled('cell-a', false) - await database!.query( - `UPDATE relay_assignments SET reserved_splices = reserved_splices + 1 - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - now += 45_001 - await heartbeat(store, cells[1]!) - await store.attestCellFence('cell-a', '11111111-1111-4111-8111-111111111111') - - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', true)).toMatchObject({ - inProgress: 1, - blocked: 1 - }) - }) - - it('blocks aggregate fenced completion on an unexpected third-cell lease', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 }, - { id: 'cell-c', url: 'https://relay-c.example.com', capacityRequests: 10 } - ] - const store = await setupWithHeartbeats(() => now, cells) - for (const cell of cells) await heartbeat(store, cell) - await store.setCellEnabled('cell-b', false) - await store.setCellEnabled('cell-c', false) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const sourceControl = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.setCellEnabled('cell-b', true) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 1 - }) - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - await store.releaseActivity(identity, sourceControl) - await store.setCellEnabled('cell-a', false) - await database!.query( - `INSERT INTO relay_assignment_activity_leases - (user_id, relay_host_id, activity_id, activity_kind, cell_id, - request_units, expires_at, updated_at) - VALUES (?, ?, ?, ?, ?, ?, ?, ?)`, - [ - identity.userId, - identity.relayHostId, - 'splice:unexpected-cell', - 'splice', - 'cell-c', - 2, - now + ASSIGNMENT_LIMITS.activityLeaseMs, - now - ] - ) - await database!.query( - `UPDATE relay_assignments SET reserved_splices = reserved_splices + 1 - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - await database!.query( - `UPDATE relay_cells SET reserved_requests = reserved_requests + 2 WHERE cell_id = ?`, - ['cell-c'] - ) - now += 45_001 - await heartbeat(store, cells[1]!) - await store.attestCellFence('cell-a', '11111111-1111-4111-8111-111111111111') - - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', true)).toMatchObject({ - inProgress: 1, - blocked: 1 - }) - }) - - it('rolls back an unregistered expired evacuation with a strictly newer epoch', async () => { - let now = 100 - const store = await setup( - () => now, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - ) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.startEvacuation(identity, 'cell-b') - - now += ASSIGNMENT_LIMITS.migrationLeaseMs + 1 - expect(await store.abortExpiredEvacuations()).toBe(1) - expect(await store.resolve(identity)).toMatchObject({ cellId: 'cell-a', assignmentEpoch: 3 }) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 1, 'cell-b': 0 }) - }) - // Disabled registered targets satisfy neither completion nor expiry rollback, stranding migration rows. async function wedgeRegisteredMigration( now: () => number, @@ -2482,238 +253,20 @@ describe('RelayAssignmentStore', () => { cellId: 'cell-b', assignmentEpoch: migration.assignmentEpoch }) - if (releaseSourceControl) await store.releaseActivity(identity, sourceControl) - if (disableSource) await store.setCellEnabled('cell-a', false) + if (releaseSourceControl) { + await store.releaseActivity(identity, sourceControl) + } + if (disableSource) { + await store.setCellEnabled('cell-a', false) + } // The desktop leaves the half-migrated target, then an operator disables that cell. await store.releaseActivity(identity, targetControl) - if (disableTarget) await store.setCellEnabled('cell-b', false) + if (disableTarget) { + await store.setCellEnabled('cell-b', false) + } return { store, identity } } - async function insertReservedControlConnection( - identity: { userId: string; relayHostId: string }, - cellId: string, - assignmentEpoch: number, - now: number - ): Promise { - await database!.query( - `INSERT INTO relay_control_connection_reservations - (reservation_id, idempotency_key, user_id, relay_host_id, assignment_epoch, - cell_id, state, created_at, timeout_at, updated_at) - VALUES ('abandoned-reservation', 'abandoned-key', ?, ?, ?, ?, 'reserved', ?, ?, ?)`, - [identity.userId, identity.relayHostId, assignmentEpoch, cellId, now, now + 60_000, now] - ) - } - - it('reaps an expired migration whose registered target cell was disabled', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const { store, identity } = await wedgeRegisteredMigration(() => now, cells) - - now += ASSIGNMENT_LIMITS.migrationLeaseMs + STRANDED_MIGRATION_ABANDON_MS + 1 - // A disabled target can never satisfy completion, so waiting cannot help. - expect(await store.completeReadyEvacuations()).toBe(0) - expect(await store.abortExpiredEvacuations()).toBe(1) - // Rollback to disabled source resolves empty for evacuateDeadCells to re-place; retire the row rather than revisit every tick. - expect(await store.resolve(identity)).toBeNull() - expect(await store.abortExpiredEvacuations()).toBe(0) - }) - - it('leaves a freshly disabled target for supersede-target to recover', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const { store } = await wedgeRegisteredMigration(() => now, cells) - - // Expired, but a disabled target is what supersede-target itself creates, so the operator - // window must stay open; aborting here would fail their run with migration_already_superseded. - now += ASSIGNMENT_LIMITS.migrationLeaseMs + 1 - expect(await store.abortExpiredEvacuations()).toBe(0) - - now += STRANDED_MIGRATION_ABANDON_MS - expect(await store.abortExpiredEvacuations()).toBe(1) - }) - - it('rolls an abandoned disabled target back while its source remains active', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const { store, identity } = await wedgeRegisteredMigration(() => now, cells, true, false, false) - - now += ASSIGNMENT_LIMITS.migrationLeaseMs + STRANDED_MIGRATION_ABANDON_MS + 1 - expect(await store.abortExpiredEvacuations()).toBe(1) - expect( - await database!.query( - `SELECT cell_id, assignment_epoch FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ cell_id: 'cell-a', assignment_epoch: 3 }]) - expect( - await database!.query( - `SELECT completed_at, aborted_at FROM relay_assignment_migrations - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ completed_at: null, aborted_at: now }]) - }) - - it('starts the abandon window when an old migration target is disabled', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const { store } = await wedgeRegisteredMigration(() => now, cells, false, false) - now += ASSIGNMENT_LIMITS.migrationLeaseMs + STRANDED_MIGRATION_ABANDON_MS + 1 - - await store.setCellEnabled('cell-b', false) - expect(await store.abortExpiredEvacuations()).toBe(0) - - now += STRANDED_MIGRATION_ABANDON_MS + 1 - expect(await store.abortExpiredEvacuations()).toBe(1) - }) - - it('reaps an expired migration from a retired source when its target control is gone', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const { store, identity } = await wedgeRegisteredMigration(() => now, cells, false) - await applyGenerationZeroSelector(store, { - attemptId: 'retired_source_migration_target', - membership: { - existingOnly: ['cell-a'], - migrationOnly: ['cell-b'], - general: [] - } - }) - await insertReservedControlConnection(identity, 'cell-b', 2, now) - - now += ASSIGNMENT_LIMITS.migrationLeaseMs + STRANDED_MIGRATION_ABANDON_MS + 1 - expect(await store.abortExpiredEvacuations()).toBe(1) - expect( - await database!.query( - `SELECT assignment.cell_id, assignment.assignment_epoch, - migration.completed_at, migration.aborted_at - FROM relay_assignments assignment - JOIN relay_assignment_migrations migration - ON migration.user_id = assignment.user_id - AND migration.relay_host_id = assignment.relay_host_id - WHERE assignment.user_id = ? AND assignment.relay_host_id = ? - AND migration.assignment_epoch = ?`, - [identity.userId, identity.relayHostId, 2] - ) - ).toEqual([ - { - cell_id: 'cell-b', - assignment_epoch: 2, - completed_at: now, - aborted_at: null - } - ]) - expect( - await database!.query( - `SELECT reserved_controls, migration_leases FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ reserved_controls: 0, migration_leases: 0 }]) - expect( - await database!.query( - `SELECT activity_id FROM relay_assignment_activity_leases - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([]) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 0, 'cell-b': 0 }) - expect( - await database!.query( - `SELECT state FROM relay_control_connection_reservations - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ state: 'released' }]) - }) - - it('reaps a retired-side migration with only a pending target control', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const store = await setupWithHeartbeats(() => now, cells) - await heartbeat(store, cells[0]!) - await heartbeat(store, cells[1]!) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const sourceControl = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - await store.releaseActivity(identity, sourceControl) - await applyGenerationZeroSelector(store, { - attemptId: 'retired_source_pending_target', - membership: { - existingOnly: ['cell-a'], - migrationOnly: ['cell-b'], - general: [] - } - }) - await insertReservedControlConnection(identity, 'cell-b', migration.assignmentEpoch, now) - - now += ASSIGNMENT_LIMITS.migrationLeaseMs + STRANDED_MIGRATION_ABANDON_MS + 1 - await database!.query( - `UPDATE relay_assignment_activity_leases SET expires_at = ? - WHERE user_id = ? AND relay_host_id = ? AND activity_id = ?`, - [now, identity.userId, identity.relayHostId, `control-pending:${migration.assignmentEpoch}`] - ) - expect(await store.abortExpiredEvacuations()).toBe(1) - expect( - await database!.query( - `SELECT cell_id, assignment_epoch FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ cell_id: 'cell-b', assignment_epoch: migration.assignmentEpoch }]) - expect( - await database!.query( - `SELECT reserved_controls, migration_leases FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ reserved_controls: 0, migration_leases: 0 }]) - expect( - await database!.query( - `SELECT activity_id FROM relay_assignment_activity_leases - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([]) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 0, 'cell-b': 0 }) - expect( - await database!.query( - `SELECT state FROM relay_control_connection_reservations - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ state: 'released' }]) - }) - it('preserves a fresh target grant created after abandoned migration selection', async () => { let now = 100 const cells: RelayCellConfig[] = [ @@ -2794,1470 +347,6 @@ describe('RelayAssignmentStore', () => { ) ).toEqual([{ completed_at: null }]) }) - - it('keeps an abandoned target migration open while its source is still active', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const { store, identity } = await wedgeRegisteredMigration(() => now, cells, false, true, false) - await applyGenerationZeroSelector(store, { - attemptId: 'retired_source_active', - membership: { - existingOnly: ['cell-a'], - migrationOnly: ['cell-b'], - general: [] - } - }) - - now += ASSIGNMENT_LIMITS.migrationLeaseMs + STRANDED_MIGRATION_ABANDON_MS + 1 - expect(await store.abortExpiredEvacuations()).toBe(0) - expect( - await database!.query( - `SELECT completed_at, aborted_at FROM relay_assignment_migrations - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ completed_at: null, aborted_at: null }]) - }) - - it('starts the abandon window when an old migration source is retired', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const { store } = await wedgeRegisteredMigration(() => now, cells, false, false) - now += ASSIGNMENT_LIMITS.migrationLeaseMs + STRANDED_MIGRATION_ABANDON_MS + 1 - - await store.setCellEnabled('cell-a', false) - expect(await store.abortExpiredEvacuations()).toBe(0) - - now += STRANDED_MIGRATION_ABANDON_MS + 1 - expect(await store.abortExpiredEvacuations()).toBe(1) - }) - - it('reaps after an old source migration lease is refreshed and expires', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const { store } = await wedgeRegisteredMigration(() => now, cells, false) - await applyGenerationZeroSelector(store, { - attemptId: 'retired_source_refreshed_lease', - membership: { - existingOnly: ['cell-a'], - migrationOnly: ['cell-b'], - general: [] - } - }) - now += STRANDED_MIGRATION_ABANDON_MS + ASSIGNMENT_LIMITS.migrationLeaseMs + 1 - await database!.query(`UPDATE relay_assignment_migrations SET expires_at = ?`, [now - 1]) - - expect(await store.abortExpiredEvacuations()).toBe(1) - }) - - it('keeps a freshly retired target open despite an old retired source', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const { store } = await wedgeRegisteredMigration(() => now, cells, false) - now += ASSIGNMENT_LIMITS.migrationLeaseMs + STRANDED_MIGRATION_ABANDON_MS + 1 - - await store.setCellEnabled('cell-b', false) - expect(await store.abortExpiredEvacuations()).toBe(0) - - now += STRANDED_MIGRATION_ABANDON_MS + 1 - expect(await store.abortExpiredEvacuations()).toBe(1) - }) - - it('fails supersession closed when reaping wins after selection', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 }, - { id: 'cell-c', url: 'https://relay-c.example.com', capacityRequests: 10 } - ] - const { store } = await wedgeRegisteredMigration(() => now, cells) - now += ASSIGNMENT_LIMITS.migrationLeaseMs + STRANDED_MIGRATION_ABANDON_MS + 1 - const query = database!.query.bind(database) - vi.spyOn(database!, 'query').mockImplementationOnce(async (sql, params) => { - const rows = await query(sql, params) - expect(await store.abortExpiredEvacuations()).toBe(1) - return rows - }) - - await expect( - store.supersedeRegisteredCellEvacuations('cell-a', 'cell-b', 'cell-c', 100) - ).rejects.toThrow('migration_already_superseded') - }) - - it('fails supersession closed when reaping wins after preparation', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 }, - { id: 'cell-c', url: 'https://relay-c.example.com', capacityRequests: 10 } - ] - const { store } = await wedgeRegisteredMigration(() => now, cells) - now += ASSIGNMENT_LIMITS.migrationLeaseMs + STRANDED_MIGRATION_ABANDON_MS + 1 - await store.attestCellFence('cell-b', '11111111-1111-4111-8111-111111111111') - const supersede = store.supersedeRegisteredEvacuation.bind(store) - vi.spyOn(store, 'supersedeRegisteredEvacuation').mockImplementationOnce(async (...args) => { - expect(await store.abortExpiredEvacuations()).toBe(1) - return await supersede(...args) - }) - - await expect( - store.supersedeRegisteredCellEvacuations('cell-a', 'cell-b', 'cell-c', 100) - ).rejects.toThrow('migration_already_superseded') - }) - - it('fails supersession closed when reaping wins before an accounting retry', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 }, - { id: 'cell-c', url: 'https://relay-c.example.com', capacityRequests: 10 } - ] - const { store } = await wedgeRegisteredMigration(() => now, cells) - now += ASSIGNMENT_LIMITS.migrationLeaseMs + STRANDED_MIGRATION_ABANDON_MS + 1 - await heartbeat(store, cells[0]!) - await heartbeat(store, cells[2]!) - await store.attestCellFence('cell-b', '11111111-1111-4111-8111-111111111111') - await database!.query(`UPDATE relay_cells SET reserved_requests = 1 WHERE cell_id = ?`, [ - 'cell-c' - ]) - const supersede = store.supersedeRegisteredEvacuation.bind(store) - let attempts = 0 - vi.spyOn(store, 'supersedeRegisteredEvacuation').mockImplementation(async (...args) => { - attempts++ - if (attempts === 2) expect(await store.abortExpiredEvacuations()).toBe(1) - return await supersede(...args) - }) - - await expect( - store.supersedeRegisteredCellEvacuations('cell-a', 'cell-b', 'cell-c', 100) - ).rejects.toThrow('migration_already_superseded') - expect(attempts).toBe(2) - }) - - it('reaps a pinned expired migration once its target cell is disabled', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - const { store, identity } = await wedgeRegisteredMigration(() => now, cells) - // Drains pin their migrations and nothing ever deletes a pin, so the pin outlives the drain. - await database!.query( - `INSERT INTO relay_post_drain_migration_pins - (user_id, relay_host_id, assignment_epoch, drain_attempt_id, source_cell_id, - source_cell_incarnation, target_cell_id, target_cell_incarnation, - source_request_units, target_reserved_units, pinned_at) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`, - [ - identity.userId, - identity.relayHostId, - 2, - 'attempt-0000', - 'cell-a', - '11111111-1111-4111-8111-111111111111', - 'cell-b', - '11111111-1111-4111-8111-111111111111', - 1, - 1, - now - ] - ) - - now += ASSIGNMENT_LIMITS.migrationLeaseMs + STRANDED_MIGRATION_ABANDON_MS + 1 - expect(await store.completeReadyEvacuations()).toBe(0) - expect(await store.abortExpiredEvacuations()).toBe(1) - expect(await store.abortExpiredEvacuations()).toBe(0) - }) - - it('repairs an expired migration marker from its exact active target control', async () => { - let now = 100 - const store = await setup( - () => now, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - ) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const sourceControl = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: 2, - generation: 1 - }) - - now += ASSIGNMENT_LIMITS.migrationLeaseMs + 1 - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: 2, - generation: 1 - }) - expect(await store.abortExpiredEvacuations()).toBe(0) - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', false)).toEqual({ - inProgress: 1, - oldestExpiresAt: 100 + ASSIGNMENT_LIMITS.migrationLeaseMs, - oldestRemainingMs: -1, - targetRegistered: 1, - registeredSourceActive: 1, - registeredCompletable: 0, - registeredTargetInactive: 0, - completed: 0, - blocked: 0, - ...NO_EXPIRED_EVACUATION_DIAGNOSTICS - }) - await store.releaseActivity(identity, sourceControl) - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', true)).toEqual({ - inProgress: 0, - ...NO_ACTIVE_MIGRATION_LEASE, - targetRegistered: 0, - ...NO_REGISTERED_EVACUATION_DIAGNOSTICS, - completed: 1, - blocked: 0, - ...NO_EXPIRED_EVACUATION_DIAGNOSTICS - }) - expect(await store.resolve(identity)).toMatchObject({ cellId: 'cell-b', assignmentEpoch: 2 }) - }) - - it('keeps a registered migration pending while its proven target control is offline', async () => { - let now = 100 - const store = await setup( - () => now, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - ) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const sourceControl = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - const migration = await store.startEvacuation(identity, 'cell-b') - const targetControl = await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 2 - }) - expect( - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - ).toBe(true) - expect(await store.completeReadyEvacuations()).toBe(0) - await store.releaseActivity(identity, sourceControl) - now += ASSIGNMENT_LIMITS.activityLeaseMs + 1 - expect(await store.completeReadyEvacuations()).toBe(0) - await expect(store.completeEvacuation(identity, migration.assignmentEpoch)).rejects.toThrow( - 'migration_target_not_active' - ) - await store.releaseActivity(identity, targetControl) - expect(await store.completeReadyEvacuations()).toBe(0) - - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', true)).toEqual({ - inProgress: 1, - oldestExpiresAt: 100 + ASSIGNMENT_LIMITS.migrationLeaseMs, - oldestRemainingMs: ASSIGNMENT_LIMITS.migrationLeaseMs - ASSIGNMENT_LIMITS.activityLeaseMs - 1, - targetRegistered: 1, - registeredSourceActive: 0, - registeredCompletable: 0, - registeredTargetInactive: 1, - completed: 0, - blocked: 1, - ...NO_EXPIRED_EVACUATION_DIAGNOSTICS - }) - - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 3 - }) - expect(await store.completeReadyEvacuations()).toBe(1) - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', false)).toEqual({ - inProgress: 0, - ...NO_ACTIVE_MIGRATION_LEASE, - targetRegistered: 0, - ...NO_REGISTERED_EVACUATION_DIAGNOSTICS, - completed: 0, - blocked: 0, - ...NO_EXPIRED_EVACUATION_DIAGNOSTICS - }) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 0, 'cell-b': 1 }) - }) - - it('completes a registered migration after its disabled source is proven dead', async () => { - let now = 100 - const store = await setupWithHeartbeats( - () => now, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - ) - await heartbeat(store, { - id: 'cell-a', - url: 'https://relay-a.example.com', - capacityRequests: 10 - }) - await heartbeat(store, { - id: 'cell-b', - url: 'https://relay-b.example.com', - capacityRequests: 10 - }) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const sourceControl = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.setCellEnabled('cell-a', false) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 1 - }) - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - await store.releaseActivity(identity, sourceControl) - now += 45_001 - await heartbeat( - store, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 }, - { startedAt: 50 } - ) - await store.attestCellFence('cell-a', '11111111-1111-4111-8111-111111111111') - - const input = { - assignmentEpoch: migration.assignmentEpoch, - sourceCellId: 'cell-a', - targetCellId: 'cell-b' - } - await expect(store.completeEvacuationFromDeadSource(identity, input)).resolves.toEqual({ - changed: true, - assignmentEpoch: 2, - sourceCellId: 'cell-a', - targetCellId: 'cell-b' - }) - await expect(store.completeEvacuationFromDeadSource(identity, input)).resolves.toEqual({ - changed: false, - assignmentEpoch: 2, - sourceCellId: 'cell-a', - targetCellId: 'cell-b' - }) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 0, 'cell-b': 1 }) - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', false)).toMatchObject({ - inProgress: 0 - }) - }) - - it('retires an inactive registered migration after its source is proven dead', async () => { - let now = 100 - const cells = [ - { - id: 'cell-a', - url: 'https://relay-a.example.com', - capacityRequests: 10, - connectionHardCap: 600 as const, - connectionUnobservedBound: 50 - }, - { - id: 'cell-b', - url: 'https://relay-b.example.com', - capacityRequests: 10, - connectionHardCap: 600 as const, - connectionUnobservedBound: 50 - } - ] - const store = await setupWithHeartbeats(() => now, cells) - await heartbeat(store, cells[0]!) - await heartbeat(store, cells[1]!) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const sourceControl = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.setCellEnabled('cell-a', false) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - await store.releaseActivity(identity, sourceControl) - now += 45_001 - await heartbeat(store, cells[1]!, { startedAt: 50 }) - await store.attestCellFence('cell-a', '11111111-1111-4111-8111-111111111111') - - await expect(store.cellEvacuationStatus('cell-a', 'cell-b', true)).resolves.toMatchObject({ - inProgress: 0, - completed: 1, - blocked: 0 - }) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 0, 'cell-b': 0 }) - expect( - await database!.query( - `SELECT activity_id FROM relay_assignment_activity_leases - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([]) - expect( - await database!.query( - `SELECT state FROM relay_control_connection_reservations - WHERE user_id = ? AND relay_host_id = ? AND cell_id = ? AND assignment_epoch = ?`, - [identity.userId, identity.relayHostId, 'cell-b', migration.assignmentEpoch] - ) - ).toEqual([{ state: 'released' }]) - expect( - await database!.query( - `SELECT cell_id, assignment_epoch, reserved_controls, migration_leases - FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([ - { - cell_id: 'cell-b', - assignment_epoch: 2, - reserved_controls: 0, - migration_leases: 0 - } - ]) - }) - - it.each(['expired', 'previous-incarnation'] as const)( - 'retires a registered migration and its %s target control after the source dies', - async (targetControlState) => { - let now = 100 - const cells = [ - { - id: 'cell-a', - url: 'https://relay-a.example.com', - capacityRequests: 10, - connectionHardCap: 600 as const, - connectionUnobservedBound: 50 - }, - { - id: 'cell-b', - url: 'https://relay-b.example.com', - capacityRequests: 10, - connectionHardCap: 600 as const, - connectionUnobservedBound: 50 - } - ] - const store = await setupWithHeartbeats(() => now, cells) - await heartbeat(store, cells[0]!) - await heartbeat(store, cells[1]!) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const sourceControl = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.setCellEnabled('cell-a', false) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 1 - }) - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - await store.releaseActivity(identity, sourceControl) - now += targetControlState === 'expired' ? ASSIGNMENT_LIMITS.activityLeaseMs + 1 : 45_001 - await heartbeat(store, cells[1]!, { - startedAt: targetControlState === 'previous-incarnation' ? now - 1 : 50, - incarnation: - targetControlState === 'previous-incarnation' - ? '22222222-2222-4222-8222-222222222222' - : '11111111-1111-4111-8111-111111111111' - }) - await store.attestCellFence('cell-a', '11111111-1111-4111-8111-111111111111') - - await expect(store.cellEvacuationStatus('cell-a', 'cell-b', false)).resolves.toMatchObject({ - inProgress: 1, - registeredCompletable: 0, - registeredTargetInactive: 1 - }) - await expect(store.cellEvacuationStatus('cell-a', 'cell-b', true)).resolves.toMatchObject({ - inProgress: 0, - completed: 1, - blocked: 0 - }) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 0, 'cell-b': 0 }) - expect( - await database!.query( - `SELECT activity_id FROM relay_assignment_activity_leases - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([]) - expect( - await database!.query( - `SELECT cell_id, assignment_epoch, reserved_controls, migration_leases - FROM relay_assignments WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([ - { - cell_id: 'cell-b', - assignment_epoch: migration.assignmentEpoch, - reserved_controls: 0, - migration_leases: 0 - } - ]) - } - ) - - it('refuses dead-source completion while the source heartbeat is fresh', async () => { - const store = await setupWithHeartbeats( - () => 100, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - ) - await heartbeat(store, { - id: 'cell-a', - url: 'https://relay-a.example.com', - capacityRequests: 10 - }) - await heartbeat(store, { - id: 'cell-b', - url: 'https://relay-b.example.com', - capacityRequests: 10 - }) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const sourceControl = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.setCellEnabled('cell-a', false) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 1 - }) - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - await store.releaseActivity(identity, sourceControl) - - await expect( - store.attestCellFence('cell-a', '11111111-1111-4111-8111-111111111111') - ).rejects.toThrow('cell_fence_runtime_not_stale') - await expect( - store.completeEvacuationFromDeadSource(identity, { - assignmentEpoch: migration.assignmentEpoch, - sourceCellId: 'cell-a', - targetCellId: 'cell-b' - }) - ).rejects.toThrow('cell_fence_attestation_missing') - expect(await cellReservations(database!)).toEqual({ 'cell-a': 0, 'cell-b': 2 }) - }) - - it('supersedes a registered migration after its disabled target is proven unavailable', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 }, - { id: 'cell-c', url: 'https://relay-c.example.com', capacityRequests: 10 } - ] - const store = await setupWithHeartbeats(() => now, cells) - for (const cell of cells) await heartbeat(store, cell) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.setCellEnabled('cell-a', false) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 1 - }) - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - await database!.query( - `INSERT INTO relay_control_connection_reservations - (reservation_id, idempotency_key, user_id, relay_host_id, - assignment_epoch, cell_id, state, inclusion_watermark, - claim_activity_id, created_at, timeout_at, claimed_at, released_at, - updated_at) - VALUES (?, ?, ?, ?, ?, ?, 'late-arrival-debt', NULL, NULL, ?, ?, NULL, NULL, ?)`, - [ - 'superseded-reservation', - 'superseded-reservation', - identity.userId, - identity.relayHostId, - migration.assignmentEpoch, - 'cell-b', - 100, - 100, - 100 - ] - ) - await store.setCellEnabled('cell-b', false) - now += 45_001 - await heartbeat(store, cells[0]!, { startedAt: 50 }) - await heartbeat(store, cells[2]!, { startedAt: 50 }) - await store.attestCellFence('cell-b', '11111111-1111-4111-8111-111111111111') - const input = { - assignmentEpoch: migration.assignmentEpoch, - sourceCellId: 'cell-a', - currentTargetCellId: 'cell-b', - replacementTargetCellId: 'cell-c' - } - - const replacement = await store.supersedeRegisteredEvacuation(identity, input) - expect(replacement).toMatchObject({ - sourceCellId: 'cell-a', - targetCellId: 'cell-c', - previousEpoch: 2, - assignmentEpoch: 3 - }) - await expect(store.supersedeRegisteredEvacuation(identity, input)).resolves.toEqual(replacement) - expect(await store.resolve(identity)).toMatchObject({ cellId: 'cell-c', assignmentEpoch: 3 }) - expect( - await database!.query( - `SELECT state FROM relay_control_connection_reservations - WHERE reservation_id = ?`, - ['superseded-reservation'] - ) - ).toEqual([{ state: 'released' }]) - expect(await cellReservations(database!)).toEqual({ - 'cell-a': 1, - 'cell-b': 0, - 'cell-c': 2 - }) - expect( - await database!.query( - `SELECT activity_kind, cell_id FROM relay_assignment_activity_leases - WHERE user_id = ? AND relay_host_id = ? ORDER BY cell_id, activity_id`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([ - { activity_kind: 'control', cell_id: 'cell-a' }, - { activity_kind: 'control', cell_id: 'cell-c' }, - { activity_kind: 'migration', cell_id: 'cell-c' } - ]) - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', false)).toMatchObject({ - inProgress: 0 - }) - expect(await store.cellEvacuationStatus('cell-a', 'cell-c', false)).toMatchObject({ - inProgress: 1 - }) - }) - - it('reconciles durable cell accounting once before aggregate supersession', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 }, - { id: 'cell-c', url: 'https://relay-c.example.com', capacityRequests: 10 } - ] - const store = await setupWithHeartbeats(() => now, cells) - for (const cell of cells) await heartbeat(store, cell) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.setCellEnabled('cell-a', false) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 1 - }) - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - await store.setCellEnabled('cell-b', false) - now += 45_001 - await heartbeat(store, cells[0]!, { startedAt: 50 }) - await heartbeat(store, cells[2]!, { startedAt: 50 }) - await store.attestCellFence('cell-b', '11111111-1111-4111-8111-111111111111') - await database!.query( - `UPDATE relay_cells - SET reserved_requests = CASE WHEN cell_id = ? THEN 1 ELSE 0 END - WHERE cell_id IN (?, ?)`, - ['cell-c', 'cell-a', 'cell-c'] - ) - - await expect( - store.supersedeRegisteredCellEvacuations('cell-a', 'cell-b', 'cell-c', 100) - ).resolves.toBe(1) - expect(await cellReservations(database!)).toEqual({ - 'cell-a': 1, - 'cell-b': 0, - 'cell-c': 2 - }) - expect( - await database!.query( - `SELECT assignment_epoch, target_cell_id, aborted_at - FROM relay_assignment_migrations - WHERE user_id = ? ORDER BY assignment_epoch`, - [identity.userId] - ) - ).toEqual([ - { assignment_epoch: 2, target_cell_id: 'cell-b', aborted_at: 45_101 }, - { assignment_epoch: 3, target_cell_id: 'cell-c', aborted_at: null } - ]) - }) - - it('preserves healthy third-cell activity during aggregate supersession', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 }, - { id: 'cell-c', url: 'https://relay-c.example.com', capacityRequests: 10 }, - { id: 'cell-d', url: 'https://relay-d.example.com', capacityRequests: 10 } - ] - const store = await setupWithHeartbeats(() => now, cells) - for (const cell of cells) await heartbeat(store, cell) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const sourceControl = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.setCellEnabled('cell-a', false) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 1 - }) - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - await database!.query( - `UPDATE relay_assignment_activity_leases SET cell_id = ? - WHERE user_id = ? AND relay_host_id = ? AND activity_id = ?`, - ['cell-d', identity.userId, identity.relayHostId, sourceControl] - ) - await database!.query(`UPDATE relay_cells SET reserved_requests = ? WHERE cell_id = ?`, [ - 5, - 'cell-c' - ]) - await store.setCellEnabled('cell-b', false) - now += 45_001 - await heartbeat(store, cells[0]!, { startedAt: 50 }) - await heartbeat(store, cells[2]!, { startedAt: 50 }) - await heartbeat(store, cells[3]!, { startedAt: 50 }) - await store.attestCellFence('cell-b', '11111111-1111-4111-8111-111111111111') - - await expect( - store.supersedeRegisteredCellEvacuations('cell-a', 'cell-b', 'cell-c', 100) - ).resolves.toBe(1) - expect(await cellReservations(database!)).toEqual({ - 'cell-a': 0, - 'cell-b': 0, - 'cell-c': 1, - 'cell-d': 1 - }) - expect( - await database!.query( - `SELECT activity_kind, cell_id FROM relay_assignment_activity_leases - WHERE user_id = ? AND relay_host_id = ? ORDER BY cell_id, activity_id`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([ - { activity_kind: 'control', cell_id: 'cell-c' }, - { activity_kind: 'migration', cell_id: 'cell-c' }, - { activity_kind: 'control', cell_id: 'cell-d' } - ]) - }) - - it('refuses supersession while the registered target remains available', async () => { - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 }, - { id: 'cell-c', url: 'https://relay-c.example.com', capacityRequests: 10 } - ] - const store = await setupWithHeartbeats(() => 100, cells) - for (const cell of cells) await heartbeat(store, cell) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.setCellEnabled('cell-a', false) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 1 - }) - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - await store.setCellEnabled('cell-b', false) - - await expect( - store.attestCellFence('cell-b', '11111111-1111-4111-8111-111111111111') - ).rejects.toThrow('cell_fence_runtime_not_stale') - await expect( - store.supersedeRegisteredEvacuation(identity, { - assignmentEpoch: migration.assignmentEpoch, - sourceCellId: 'cell-a', - currentTargetCellId: 'cell-b', - replacementTargetCellId: 'cell-c' - }) - ).rejects.toThrow('cell_fence_attestation_missing') - expect( - await database!.query( - `SELECT cell_id, assignment_epoch FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ cell_id: 'cell-b', assignment_epoch: 2 }]) - }) - - it('serializes concurrent retries of registered migration supersession', async () => { - let now = 100 - const cells = [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 }, - { id: 'cell-c', url: 'https://relay-c.example.com', capacityRequests: 10 } - ] - const store = await setupWithHeartbeats(() => now, cells) - for (const cell of cells) await heartbeat(store, cell) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.setCellEnabled('cell-a', false) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 1 - }) - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - await store.setCellEnabled('cell-b', false) - now += 45_001 - await heartbeat(store, cells[0]!, { startedAt: 50 }) - await heartbeat(store, cells[2]!, { startedAt: 50 }) - await store.attestCellFence('cell-b', '11111111-1111-4111-8111-111111111111') - const input = { - assignmentEpoch: migration.assignmentEpoch, - sourceCellId: 'cell-a', - currentTargetCellId: 'cell-b', - replacementTargetCellId: 'cell-c' - } - - const results = await Promise.all([ - store.supersedeRegisteredEvacuation(identity, input), - store.supersedeRegisteredEvacuation(identity, input) - ]) - expect(results[0]).toEqual(results[1]) - expect( - await database!.query( - `SELECT assignment_epoch FROM relay_assignment_migrations - WHERE user_id = ? AND relay_host_id = ? ORDER BY assignment_epoch`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ assignment_epoch: 2 }, { assignment_epoch: 3 }]) - expect(await cellReservations(database!)).toEqual({ - 'cell-a': 1, - 'cell-b': 0, - 'cell-c': 2 - }) - }) - - it('does not complete a registered migration after the assignment epoch advances', async () => { - const store = await setup( - () => 100, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 20 } - ] - ) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const sourceControl = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - const migration = await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch, - generation: 1 - }) - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: migration.assignmentEpoch - }) - await store.releaseActivity(identity, sourceControl) - await database!.query( - `UPDATE relay_assignments SET assignment_epoch = ? - WHERE user_id = ? AND relay_host_id = ?`, - [migration.assignmentEpoch + 1, identity.userId, identity.relayHostId] - ) - - expect(await store.completeReadyEvacuations()).toBe(0) - await expect(store.completeEvacuation(identity, migration.assignmentEpoch)).rejects.toThrow( - 'migration_assignment_mismatch' - ) - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', false)).toMatchObject({ - inProgress: 1, - targetRegistered: 1 - }) - }) - - it('retires an expired migration without rewriting its newer target assignment', async () => { - let now = 100 - const store = await setup( - () => now, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 20 } - ] - ) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: 2, - generation: 1 - }) - await database!.query( - `UPDATE relay_assignments SET assignment_epoch = ? - WHERE user_id = ? AND relay_host_id = ?`, - [3, identity.userId, identity.relayHostId] - ) - - now += ASSIGNMENT_LIMITS.migrationLeaseMs + 1 - expect(await store.abortExpiredEvacuations()).toBe(1) - expect(await store.resolve(identity)).toMatchObject({ - cellId: 'cell-b', - assignmentEpoch: 3 - }) - expect( - await database!.query( - `SELECT activity_id FROM relay_assignment_activity_leases - WHERE user_id = ? AND relay_host_id = ? ORDER BY activity_id`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([{ activity_id: 'control:cell-a:1' }, { activity_id: 'control:cell-b:1' }]) - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', false)).toMatchObject({ - inProgress: 0 - }) - }) - - it.each([ - { assignmentEpoch: 1, removeAssignment: false, expected: 'migration_assignment_mismatch' }, - { assignmentEpoch: 2, removeAssignment: true, expected: 'migration_assignment_missing' } - ])( - 'fails closed when expired migration assignment state is not superseding: $expected', - async ({ assignmentEpoch, removeAssignment, expected }) => { - let now = 100 - const store = await setup( - () => now, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 20 } - ] - ) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await store.assign(identity) - await store.startEvacuation(identity, 'cell-b') - if (removeAssignment) { - await database!.query( - `DELETE FROM relay_assignments WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - } else { - await database!.query( - `UPDATE relay_assignments SET assignment_epoch = ? - WHERE user_id = ? AND relay_host_id = ?`, - [assignmentEpoch, identity.userId, identity.relayHostId] - ) - } - - now += ASSIGNMENT_LIMITS.migrationLeaseMs + 1 - await expect(store.abortExpiredEvacuations()).rejects.toThrow(expected) - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', false)).toMatchObject({ - inProgress: 1, - targetRegistered: 0 - }) - } - ) - - it('reconciles duplicated assignment counters and cell reservations after evacuation', async () => { - const store = await setup( - () => 100, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 20 } - ] - ) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const sourceControl = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await store.startEvacuation(identity, 'cell-b') - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: 2, - generation: 1 - }) - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: 2 - }) - await store.releaseActivity(identity, sourceControl) - await database!.query( - `UPDATE relay_assignments SET reserved_controls = 9, reserved_splices = 4, - reserved_invites = 3, pending_installs = 2, pending_confirmations = 2, - migration_leases = 7 WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - await database!.query( - `UPDATE relay_cells SET reserved_requests = - CASE WHEN cell_id = ? THEN 11 ELSE 3 END`, - ['cell-a'] - ) - - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', true)).toEqual({ - inProgress: 0, - ...NO_ACTIVE_MIGRATION_LEASE, - targetRegistered: 0, - ...NO_REGISTERED_EVACUATION_DIAGNOSTICS, - completed: 1, - blocked: 0, - ...NO_EXPIRED_EVACUATION_DIAGNOSTICS - }) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 0, 'cell-b': 1 }) - expect( - await database!.query( - `SELECT reserved_controls, reserved_splices, reserved_invites, - pending_installs, pending_confirmations, migration_leases - FROM relay_assignments WHERE user_id = ? AND relay_host_id = ?`, - [identity.userId, identity.relayHostId] - ) - ).toEqual([ - { - reserved_controls: 1, - reserved_splices: 0, - reserved_invites: 0, - pending_installs: 0, - pending_confirmations: 0, - migration_leases: 0 - } - ]) - }) - - it('refuses reservation reconciliation when an activity lease has no assignment', async () => { - const store = await setup( - () => 100, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 20 } - ] - ) - await database!.query( - `INSERT INTO relay_assignment_activity_leases - (user_id, relay_host_id, activity_id, activity_kind, cell_id, - request_units, expires_at, updated_at) - VALUES (?, ?, ?, ?, ?, ?, ?, ?)`, - ['orphan-user', 'orphanhost000001', 'control:orphan', 'control', 'cell-a', 1, 200, 100] - ) - - await expect(store.cellEvacuationStatus('cell-a', 'cell-b', true)).rejects.toThrow( - 'activity_lease_assignment_missing' - ) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 0, 'cell-b': 0 }) - }) - - it('refuses reservation reconciliation when an activity lease names no cell', async () => { - const store = await setup( - () => 100, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 20 } - ] - ) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - await store.assign(identity) - await database!.query( - `INSERT INTO relay_assignment_activity_leases - (user_id, relay_host_id, activity_id, activity_kind, cell_id, - request_units, expires_at, updated_at) - VALUES (?, ?, ?, ?, ?, ?, ?, ?)`, - [ - identity.userId, - identity.relayHostId, - 'splice:missing-cell', - 'splice', - 'missing-cell', - 2, - 200, - 100 - ] - ) - - await expect(store.cellEvacuationStatus('cell-a', 'cell-b', true)).rejects.toThrow( - 'activity_lease_cell_missing' - ) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 1, 'cell-b': 0 }) - }) - - it('leaves accounting for cells outside the selected evacuation pair unchanged', async () => { - const store = await setup( - () => 100, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 20 }, - { id: 'cell-c', url: 'https://relay-c.example.com', capacityRequests: 20 } - ] - ) - await database!.query( - `INSERT INTO relay_assignments - (user_id, relay_host_id, cell_id, assignment_epoch, lease_expires_at, - last_activity_at, reserved_controls, reserved_splices, reserved_invites, - pending_installs, pending_confirmations, migration_leases) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)`, - ['unrelated-user', 'unrelatedhost001', 'cell-c', 1, 200, 100, 9, 0, 0, 0, 0, 0] - ) - await database!.query( - `INSERT INTO relay_assignment_activity_leases - (user_id, relay_host_id, activity_id, activity_kind, cell_id, - request_units, expires_at, updated_at) - VALUES (?, ?, ?, ?, ?, ?, ?, ?)`, - ['unrelated-user', 'unrelatedhost001', 'control:unrelated', 'control', 'cell-c', 1, 200, 100] - ) - await database!.query(`UPDATE relay_cells SET reserved_requests = 9 WHERE cell_id = ?`, [ - 'cell-c' - ]) - - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', true)).toMatchObject({ - inProgress: 0 - }) - expect(await cellReservations(database!)).toEqual({ - 'cell-a': 0, - 'cell-b': 0, - 'cell-c': 9 - }) - expect( - await database!.query( - `SELECT reserved_controls FROM relay_assignments - WHERE user_id = ? AND relay_host_id = ?`, - ['unrelated-user', 'unrelatedhost001'] - ) - ).toEqual([{ reserved_controls: 9 }]) - }) - - it('rebalances only a fully inactive assignment after the dormant TTL', async () => { - let now = 100 - const store = await setup( - () => now, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - ) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const first = await store.assign(identity) - const control = await store.activateControl(identity, { - cellId: first.cellId, - assignmentEpoch: first.assignmentEpoch, - generation: 1 - }) - await expect(store.rebalanceDormant(identity, 'cell-b')).rejects.toThrow('assignment_active') - await store.releaseActivity(identity, control) - now += ASSIGNMENT_LIMITS.dormantTtlMs + 1 - - await expect(store.rebalanceDormant(identity, 'cell-b')).resolves.toMatchObject({ - cellId: 'cell-b', - assignmentEpoch: 2 - }) - expect(await cellReservations(database!)).toEqual({ 'cell-a': 0, 'cell-b': 1 }) - }) - - it('durably removes an unhealthy cell from new assignment without moving existing hosts', async () => { - const store = await setup( - () => 100, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ] - ) - const existing = { userId: 'user-a', relayHostId: 'host000000000001' } - expect(await store.assign(existing)).toMatchObject({ cellId: 'cell-a' }) - await store.setCellEnabled('cell-a', false) - await store.reconcileCells([ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 10 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 10 } - ]) - expect(await store.resolve(existing)).toMatchObject({ cellId: 'cell-a' }) - await expect( - store.assign({ userId: 'user-b', relayHostId: 'host000000000002' }) - ).resolves.toMatchObject({ cellId: 'cell-b' }) - await store.setCellEnabled('cell-a', true) - await expect(store.setCellEnabled('missing', false)).rejects.toThrow('cell_not_found') - }) - - it('bulk-migrates active controls without exposing assignment identities', async () => { - const store = await setup( - () => 100, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 20 } - ] - ) - await store.setCellEnabled('cell-b', false) - const identities = [1, 2, 3].map((index) => ({ - userId: `user-${index}`, - relayHostId: `host${String(index).padStart(12, '0')}` - })) - const sourceControls: string[] = [] - for (const identity of identities) { - const assignment = await store.assign(identity) - sourceControls.push( - await store.activateControl(identity, { - cellId: 'cell-a', - assignmentEpoch: assignment.assignmentEpoch, - generation: 1 - }) - ) - } - await store.setCellEnabled('cell-b', true) - expect(await store.cellEvacuationCapacity('cell-a', 'cell-b')).toEqual({ - sourceAssignments: 3, - requiredTargetUnits: 6, - availableTargetUnits: 20 - }) - expect(await store.startActiveCellEvacuations('cell-a', 'cell-b', 2)).toBe(2) - expect(await store.startActiveCellEvacuations('cell-a', 'cell-b', 2)).toBe(1) - expect(await store.startActiveCellEvacuations('cell-a', 'cell-b', 2)).toBe(0) - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', false)).toEqual({ - inProgress: 3, - oldestExpiresAt: 100 + ASSIGNMENT_LIMITS.migrationLeaseMs, - oldestRemainingMs: ASSIGNMENT_LIMITS.migrationLeaseMs, - targetRegistered: 0, - ...NO_REGISTERED_EVACUATION_DIAGNOSTICS, - completed: 0, - blocked: 0, - ...NO_EXPIRED_EVACUATION_DIAGNOSTICS - }) - for (const identity of identities) { - const assignment = await store.resolve(identity) - await store.activateControl(identity, { - cellId: 'cell-b', - assignmentEpoch: assignment!.assignmentEpoch, - generation: 2 - }) - await store.markMigrationTargetRegistered(identity, { - cellId: 'cell-b', - assignmentEpoch: assignment!.assignmentEpoch - }) - } - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', true)).toEqual({ - inProgress: 3, - oldestExpiresAt: 100 + ASSIGNMENT_LIMITS.migrationLeaseMs, - oldestRemainingMs: ASSIGNMENT_LIMITS.migrationLeaseMs, - targetRegistered: 3, - registeredSourceActive: 3, - registeredCompletable: 0, - registeredTargetInactive: 0, - completed: 0, - blocked: 3, - ...NO_EXPIRED_EVACUATION_DIAGNOSTICS - }) - for (let index = 0; index < identities.length; index++) { - await store.releaseActivity(identities[index]!, sourceControls[index]!) - } - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', true)).toEqual({ - inProgress: 0, - ...NO_ACTIVE_MIGRATION_LEASE, - targetRegistered: 0, - ...NO_REGISTERED_EVACUATION_DIAGNOSTICS, - completed: 3, - blocked: 0, - ...NO_EXPIRED_EVACUATION_DIAGNOSTICS - }) - }) - - it.each(['cell-b', 'cell-c'])( - 'skips a batch row that concurrently moved from the selected source to %s', - async (movedCellId) => { - const store = await setup( - () => 100, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 20 }, - { id: 'cell-c', url: 'https://relay-c.example.com', capacityRequests: 20 } - ] - ) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const assignment = await store.assign(identity) - await store.activateControl(identity, { - cellId: 'cell-a', - assignmentEpoch: assignment.assignmentEpoch, - generation: 1 - }) - const startEvacuation = store.startEvacuation.bind(store) - vi.spyOn(store, 'startEvacuation').mockImplementationOnce(async (...args) => { - await database!.query( - `UPDATE relay_assignments SET cell_id = ? WHERE user_id = ? AND relay_host_id = ?`, - [movedCellId, identity.userId, identity.relayHostId] - ) - return await startEvacuation(...args) - }) - - expect(await store.startActiveCellEvacuations('cell-a', 'cell-b', 10)).toBe(0) - expect(await store.resolve(identity)).toMatchObject({ cellId: movedCellId }) - expect(await database!.query(`SELECT * FROM relay_assignment_migrations`)).toEqual([]) - } - ) - - it('does not count an existing migration after a stale batch row moves to its target', async () => { - const store = await setup( - () => 100, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 20 } - ] - ) - const identity = { userId: 'user-a', relayHostId: 'host000000000001' } - const assignment = await store.assign(identity) - await store.activateControl(identity, { - cellId: 'cell-a', - assignmentEpoch: assignment.assignmentEpoch, - generation: 1 - }) - const startEvacuation = store.startEvacuation.bind(store) - vi.spyOn(store, 'startEvacuation').mockImplementationOnce(async (...args) => { - await startEvacuation(identity, 'cell-b') - return await startEvacuation(...args) - }) - - expect(await store.startActiveCellEvacuations('cell-a', 'cell-b', 10)).toBe(0) - expect(await store.resolve(identity)).toMatchObject({ cellId: 'cell-b' }) - expect(await store.cellEvacuationStatus('cell-a', 'cell-b', false)).toMatchObject({ - inProgress: 1 - }) - }) - - it('preserves operator-owned tagged URLs and admission state across reconciliation', async () => { - const store = await setup( - () => 100, - [{ id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }] - ) - await store.configureCell( - { id: 'cell-a', url: 'https://old---relay-a.example.com', capacityRequests: 20 }, - false - ) - await store.reconcileCells([ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 } - ]) - const rows = await database!.query( - `SELECT cell_url, enabled, capacity_requests FROM relay_cells WHERE cell_id = ?`, - ['cell-a'] - ) - expect(rows).toEqual([ - { - cell_url: 'https://old---relay-a.example.com', - enabled: 0, - capacity_requests: 20 - } - ]) - }) - - it('bulk-migrates activity even when its source control is temporarily absent', async () => { - const store = await setup( - () => 100, - [ - { id: 'cell-a', url: 'https://relay-a.example.com', capacityRequests: 20 }, - { id: 'cell-b', url: 'https://relay-b.example.com', capacityRequests: 20 } - ] - ) - const identity = { userId: 'user-1', relayHostId: 'host000000000001' } - const assignment = await store.assign(identity) - const control = await store.activateControl(identity, { - cellId: 'cell-a', - assignmentEpoch: assignment.assignmentEpoch, - generation: 1 - }) - await store.acquireActivity(identity, { - activityId: 'splice-without-control', - kind: 'splice', - cellId: 'cell-a' - }) - await store.releaseActivity(identity, control) - expect(await store.cellEvacuationCapacity('cell-a', 'cell-b')).toEqual({ - sourceAssignments: 1, - requiredTargetUnits: 3, - availableTargetUnits: 20 - }) - expect(await store.startActiveCellEvacuations('cell-a', 'cell-b', 10)).toBe(1) - expect(await store.resolve(identity)).toMatchObject({ cellId: 'cell-b', assignmentEpoch: 2 }) - }) }) async function cellReservations(database: RelayDatabase): Promise> { diff --git a/cloud/apps/relay/src/assignment/public-admission/public-assignment-overload.test.ts b/cloud/apps/relay/src/assignment/public-admission/public-assignment-overload.test.ts index 1f130d6a746..14455be8b0b 100644 --- a/cloud/apps/relay/src/assignment/public-admission/public-assignment-overload.test.ts +++ b/cloud/apps/relay/src/assignment/public-admission/public-assignment-overload.test.ts @@ -17,42 +17,6 @@ vi.mock('../../authentication/relay-token-verifier.js', () => ({ import { createRelayApp } from '../../app.js' describe('public assignment overload', () => { - it('rejects duplicate and excess work before it reaches assignment state', async () => { - const hostA = 'aaaaaaaaaaaaaaaa' - const hostB = 'bbbbbbbbbbbbbbbb' - const hostC = 'cccccccccccccccc' - const pending = new Map>>() - const assign = vi.fn(async ({ relayHostId }: { relayHostId: string }) => { - const operation = deferred() - pending.set(relayHostId, operation) - return await operation.promise - }) - const app = createRelayApp(config({ publicAssignmentQueueMax: 0 }), { - store: {} as never, - assignments: { assign } as never, - drain: vi.fn(), - ready: vi.fn(async () => true) - }) - - const first = app.request('/v1/assign', assignmentRequest(hostA)) - await vi.waitFor(() => expect(pending.has(hostA)).toBe(true)) - const duplicate = await app.request('/v1/assign', assignmentRequest(hostA)) - expect(duplicate.status).toBe(503) - - const second = app.request('/v1/assign', assignmentRequest(hostB)) - await vi.waitFor(() => expect(pending.has(hostB)).toBe(true)) - const excess = await app.request('/v1/assign', assignmentRequest(hostC)) - expect(excess.status).toBe(503) - expect(excess.headers.get('retry-after')).toBe('5') - expect(assign).toHaveBeenCalledTimes(2) - - pending.get(hostA)?.resolve(assignment('cell-a', hostA)) - pending.get(hostB)?.resolve(assignment('cell-b', hostB)) - expect((await first).status).toBe(200) - expect((await second).status).toBe(200) - expect((await app.request('/v1/assign', assignmentRequest(hostA))).status).toBe(503) - expect(assign).toHaveBeenCalledTimes(2) - }) it('fairly drains a bounded incident-scale burst without raising database concurrency', async () => { const pending = new Map>>() diff --git a/cloud/apps/relay/src/cell/reservations/cell-reserve-routes.test.ts b/cloud/apps/relay/src/cell/reservations/cell-reserve-routes.test.ts index d2de04e180e..6f8be31a9e8 100644 --- a/cloud/apps/relay/src/cell/reservations/cell-reserve-routes.test.ts +++ b/cloud/apps/relay/src/cell/reservations/cell-reserve-routes.test.ts @@ -40,37 +40,7 @@ function app(config: RelayConfig = cell) { return { post, postChunked, reserve, demote, routes } } -const booking = { - v: 1, - directorId: 'director-a', - items: [{ userId: 'user-1', relayHostId: 'abcdefghijklmnop', epoch: 3, ttlMs: 30_000 }] -} - describe('cell reserve routes', () => { - it('books for a director holding the rehome credential and refuses everyone else', async () => { - const { post, reserve } = app() - const ok = await post('/internal/reserve', booking) - expect(await ok.json()).toEqual({ v: 1, results: [{ outcome: 'ok' }] }) - expect((await post('/internal/reserve', booking, 'someone-else')).status).toBe(401) - expect((await post('/internal/reserve', { ...booking, items: [] })).status).toBe(400) - expect((await post('/internal/reserve', { ...booking, v: 2 })).status).toBe(400) - expect(reserve).toHaveBeenCalledTimes(1) - }) - - it('is absent on a director and on a cell without the rehome pair', async () => { - expect((await app({ ...cell, role: 'director' }).post('/internal/reserve', booking)).status).toBe(404) - const noPair = app({ ...cell, rehomeDirectorServiceAccount: undefined }) - expect((await noPair.post('/internal/demote', {})).status).toBe(404) - }) - - it('demotes only a fully named seat', async () => { - const { post, demote } = app() - const seat = { v: 1, userId: 'user-1', relayHostId: 'abcdefghijklmnop', epoch: 3 } - expect((await post('/internal/demote', seat)).status).toBe(400) - const reply = await post('/internal/demote', { ...seat, joinedAt: 1_000 }) - expect(await reply.json()).toEqual({ v: 1, outcome: 'demoted' }) - expect(demote).toHaveBeenCalledWith({ ...seat, joinedAt: 1_000 }) - }) it.each(['/internal/reserve', '/internal/demote'])( 'rejects an oversized chunked body on %s without calling the handler', @@ -110,43 +80,4 @@ describe('cell reserve routes', () => { } ) - it.each(['/internal/reserve', '/internal/demote'])( - 'refuses an unauthorized oversized %s before the size check', - async (path) => { - const { routes, reserve, demote } = app() - const response = await routes.request(path, { - method: 'POST', - headers: { - authorization: 'Bearer someone-else', - 'content-type': 'application/json', - 'content-length': String(16 * 1024 + 1) - }, - body: '{}' - }) - - expect(response.status).toBe(401) - expect(await response.json()).toEqual({ error: 'invalid_token' }) - expect(reserve).not.toHaveBeenCalled() - expect(demote).not.toHaveBeenCalled() - } - ) - - it.each(['/internal/reserve', '/internal/demote'])( - 'hides a missing %s route before measuring an oversized body', - async (path) => { - const { routes } = app({ ...cell, role: 'director' }) - const response = await routes.request(path, { - method: 'POST', - headers: { - authorization: 'Bearer director-token', - 'content-type': 'application/json', - 'content-length': String(16 * 1024 + 1) - }, - body: '{}' - }) - - expect(response.status).toBe(404) - expect(await response.json()).toEqual({ error: 'reserve_unavailable' }) - } - ) }) diff --git a/cloud/apps/relay/src/config.test.ts b/cloud/apps/relay/src/config.test.ts deleted file mode 100644 index a349dd0ff3d..00000000000 --- a/cloud/apps/relay/src/config.test.ts +++ /dev/null @@ -1,189 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { loadRelayConfig } from './config.js' -import { RELAY_CELL_CONNECTION_HARD_CAP } from '@orca-cloud/relay-contract/admission-budgets' -import { RELAY_READINESS_JWKS_GRACE_MS, RELAY_READINESS_SQL_GRACE_MS } from './process-lifecycle/relay-readiness.js' - -function cellEnvironment(capacity: number): NodeJS.ProcessEnv { - return { - ORCA_RELAY_PUBLIC_URL: 'https://c1.relay.example.com', - ORCA_RELAY_CELL_URL: 'https://c1.relay.example.com', - ORCA_RELAY_AUTH_ISSUER: 'https://auth.example.com', - ORCA_RELAY_JWKS_URL: 'https://auth.example.com/.well-known/jwks.json', - ORCA_RELAY_ASSIGNMENT_SIGNING_KEY: 'assignment-key-with-at-least-thirty-two-bytes', - ORCA_RELAY_ROLE: 'cell', - ORCA_RELAY_CELL_ID: 'gce-c1', - ORCA_RELAY_CELL_CAPACITY: String(capacity), - ORCA_RELAY_ADMIN_AUDIENCE: 'https://relay.example.com/v1/admin/drain', - ORCA_RELAY_DEPLOY_SERVICE_ACCOUNT: 'deploy@example.iam.gserviceaccount.com' - } -} - -describe('GCE relay capacity configuration', () => { - - it('reads an unset readiness grace variable as the default, never as zero', () => { - const env = cellEnvironment(4_000) - env.ORCA_RELAY_READINESS_JWKS_GRACE_MS = '' - env.ORCA_RELAY_READINESS_SQL_GRACE_MS = '' - expect(loadRelayConfig(env)).toMatchObject({ - readinessJwksGraceMs: RELAY_READINESS_JWKS_GRACE_MS, - readinessSqlGraceMs: RELAY_READINESS_SQL_GRACE_MS - }) - }) - - it('requires a distinct paired identity and exact audience for regional host drain', () => { - const env = cellEnvironment(4_000) - env.ORCA_RELAY_REHOME_DIRECTOR_SERVICE_ACCOUNT = - 'relay-director@example.iam.gserviceaccount.com' - expect(() => loadRelayConfig(env)).toThrow( - 'relay rehome identity and audience must be configured together' - ) - env.ORCA_RELAY_REHOME_AUDIENCE = 'https://relay.example.com/v1/admin/host-drain' - expect(loadRelayConfig(env)).toMatchObject({ - rehomeDirectorServiceAccount: 'relay-director@example.iam.gserviceaccount.com', - rehomeAudience: 'https://relay.example.com/v1/admin/host-drain' - }) - env.ORCA_RELAY_REHOME_AUDIENCE = 'https://relay.example.com/v1/admin/drain' - expect(() => loadRelayConfig(env)).toThrow( - 'relay rehome audience must target the host drain route' - ) - env.ORCA_RELAY_REHOME_AUDIENCE = 'https://relay.example.com/v1/admin/host-drain' - env.ORCA_RELAY_RUNTIME_SERVICE_ACCOUNT = - env.ORCA_RELAY_REHOME_DIRECTOR_SERVICE_ACCOUNT - expect(() => loadRelayConfig(env)).toThrow( - 'relay rehome director identity must differ from the cell runtime identity' - ) - }) - - it('keeps legacy cells uncapped and requires a supported hard-cap pair', () => { - const env = cellEnvironment(4_000) - expect(loadRelayConfig(env)).toMatchObject({ - connectionHardCap: undefined, - connectionUnobservedBound: undefined - }) - - env.ORCA_RELAY_CELL_CONNECTION_HARD_CAP = String(RELAY_CELL_CONNECTION_HARD_CAP) - expect(() => loadRelayConfig(env)).toThrow( - 'connection hard cap and unobserved bound must be configured together' - ) - env.ORCA_RELAY_CELL_CONNECTION_UNOBSERVED_BOUND = '60' - expect(loadRelayConfig(env)).toMatchObject({ - connectionHardCap: 600, - connectionUnobservedBound: 60 - }) - env.ORCA_RELAY_CELL_CONNECTION_HARD_CAP = '599' - expect(() => loadRelayConfig(env)).toThrow() - env.ORCA_RELAY_CELL_CONNECTION_HARD_CAP = '600' - env.ORCA_RELAY_CELL_CONNECTION_UNOBSERVED_BOUND = '500' - expect(() => loadRelayConfig(env)).toThrow() - env.ORCA_RELAY_CELL_CONNECTION_UNOBSERVED_BOUND = '600' - expect(() => loadRelayConfig(env)).toThrow() - env.ORCA_RELAY_CELL_CONNECTION_HARD_CAP = '1000' - env.ORCA_RELAY_CELL_CONNECTION_UNOBSERVED_BOUND = '60' - expect(loadRelayConfig(env)).toMatchObject({ - connectionHardCap: 1_000, - connectionUnobservedBound: 60 - }) - env.ORCA_RELAY_CELL_CONNECTION_UNOBSERVED_BOUND = '900' - expect(() => loadRelayConfig(env)).toThrow() - }) - - it('fails closed when public request lanes exceed the director database pool', () => { - const env = cellEnvironment(4_000) - env.ORCA_RELAY_ROLE = 'director' - env.ORCA_RELAY_CELLS_JSON = JSON.stringify([ - { - id: 'gce-c1', - url: 'https://c1.relay.example.com', - capacityRequests: 4_000 - } - ]) - env.ORCA_RELAY_DATABASE_POOL_MAX = '2' - - expect(() => loadRelayConfig(env)).toThrow( - 'public relay admission must leave database pool headroom' - ) - }) -}) - -describe('relay edge configuration', () => { - function directorEnvironment(): NodeJS.ProcessEnv { - return { - ...cellEnvironment(4_000), - ORCA_RELAY_PUBLIC_URL: 'https://relay.example.com', - ORCA_RELAY_ROLE: 'director', - ORCA_RELAY_CELLS_JSON: JSON.stringify([ - { id: 'gce-c1', url: 'https://c1.relay.example.com', capacityRequests: 4_000 } - ]) - } - } - - it('is off unless a director names an edge URL, and then defaults to no cohort in us-central1', () => { - expect(loadRelayConfig(directorEnvironment()).edge).toBeUndefined() - expect( - loadRelayConfig({ ...cellEnvironment(4_000), ORCA_RELAY_EDGE_CELL_URL: 'https://edge.relay.example.com' }).edge - ).toBeUndefined() - expect(() => - loadRelayConfig({ ...directorEnvironment(), ORCA_RELAY_EDGE_CELL_URL: 'https://edge.relay.example.com' }) - ).toThrow('ORCA_RELAY_EDGE_ADMIN_SIGNING_KEY') - const edge = loadRelayConfig({ - ...directorEnvironment(), - ORCA_RELAY_EDGE_CELL_URL: 'https://edge.relay.example.com', - ORCA_RELAY_EDGE_ADMIN_SIGNING_KEY: 'edge-admin-key-with-at-least-32-bytes!!' - }).edge - expect(edge).toEqual({ - cellUrl: 'https://edge.relay.example.com', - adminSigningKey: new TextEncoder().encode('edge-admin-key-with-at-least-32-bytes!!'), - rolloutPercent: 0, - allowHosts: new Set(), - allowUsers: new Set(), - denyHosts: new Set(), - regions: new Set(['us-central1']) - }) - }) - - it('parses the cohort and refuses unsafe edge settings', () => { - const env = { - ...directorEnvironment(), - ORCA_RELAY_EDGE_CELL_URL: 'https://edge.relay.example.com', - ORCA_RELAY_EDGE_ADMIN_SIGNING_KEY: 'edge-admin-key-with-at-least-32-bytes!!', - ORCA_RELAY_EDGE_ROLLOUT_PERCENT: '10', - ORCA_RELAY_EDGE_ALLOW_HOSTS: 'abcdefghijklmnop, ABCDEFGHIJKLMNOP', - ORCA_RELAY_EDGE_DENY_HOSTS: 'zzzzzzzzzzzzzzzz', - ORCA_RELAY_EDGE_ALLOW_USERS: ' user_01ABC , 6b1f-uuid ', - ORCA_RELAY_EDGE_REGIONS: 'us-central1,asia-east2' - } - expect(loadRelayConfig(env).edge).toMatchObject({ - rolloutPercent: 10, - allowHosts: new Set(['abcdefghijklmnop', 'ABCDEFGHIJKLMNOP']), - allowUsers: new Set(['user_01ABC', '6b1f-uuid']), - denyHosts: new Set(['zzzzzzzzzzzzzzzz']), - regions: new Set(['us-central1', 'asia-east2']) - }) - expect(() => loadRelayConfig({ ...env, ORCA_RELAY_EDGE_ROLLOUT_PERCENT: '101' })).toThrow() - expect(() => loadRelayConfig({ ...env, ORCA_RELAY_EDGE_ALLOW_HOSTS: 'short' })).toThrow() - expect(() => loadRelayConfig({ ...env, ORCA_RELAY_EDGE_ALLOW_USERS: 'a b' })).toThrow() - expect(() => loadRelayConfig({ ...env, ORCA_RELAY_EDGE_REGIONS: 'europe-west1' })).toThrow() - expect(() => loadRelayConfig({ ...env, ORCA_RELAY_EDGE_CELL_URL: 'https://edge.relay.example.com/path' })).toThrow() - expect(() => loadRelayConfig({ ...env, ORCA_RELAY_EDGE_CELL_URL: 'https://c1.relay.example.com' })).toThrow() - expect(() => loadRelayConfig({ ...env, ORCA_RELAY_EDGE_CELL_URL: 'https://relay.example.com' })).toThrow() - }) - - it('parses the export skip threshold, leaving the default when unset or empty', () => { - const env = { - ...directorEnvironment(), - ORCA_RELAY_EDGE_CELL_URL: 'https://edge.relay.example.com', - ORCA_RELAY_EDGE_ADMIN_SIGNING_KEY: 'edge-admin-key-with-at-least-32-bytes!!' - } - expect(loadRelayConfig(env).edge).not.toHaveProperty('exportSkipAfterMs') - expect(loadRelayConfig({ ...env, ORCA_RELAY_EDGE_EXPORT_SKIP_AFTER_MS: '' }).edge).not.toHaveProperty( - 'exportSkipAfterMs' - ) - expect(loadRelayConfig({ ...env, ORCA_RELAY_EDGE_EXPORT_SKIP_AFTER_MS: '0' }).edge?.exportSkipAfterMs).toBe(0) - expect(loadRelayConfig({ ...env, ORCA_RELAY_EDGE_EXPORT_SKIP_AFTER_MS: '300000' }).edge?.exportSkipAfterMs).toBe( - 300_000 - ) - expect(() => loadRelayConfig({ ...env, ORCA_RELAY_EDGE_EXPORT_SKIP_AFTER_MS: '-1' })).toThrow() - expect(() => loadRelayConfig({ ...env, ORCA_RELAY_EDGE_EXPORT_SKIP_AFTER_MS: '1.5' })).toThrow() - expect(() => loadRelayConfig({ ...env, ORCA_RELAY_EDGE_EXPORT_SKIP_AFTER_MS: 'soon' })).toThrow() - }) -}) diff --git a/cloud/apps/relay/src/edge-relay-app.test.ts b/cloud/apps/relay/src/edge-relay-app.test.ts deleted file mode 100644 index 601d1a127c3..00000000000 --- a/cloud/apps/relay/src/edge-relay-app.test.ts +++ /dev/null @@ -1,130 +0,0 @@ -import { afterEach, describe, expect, it, vi } from 'vitest' -import type { RelayConfig } from './config.js' -import { openInMemoryRelayDatabase, type RelayDatabase } from './database/database.js' -import { EdgeAssignments, type EdgeRelayConfig } from './edge-relay.js' - -const fakes = vi.hoisted(() => ({ - verifyRelayToken: vi.fn(async (token: string) => ({ sub: 'user-1', relayHostId: token })) -})) - -vi.mock('./authentication/relay-token-verifier.js', () => ({ - createRelayTokenVerifier: () => fakes.verifyRelayToken, - readBearer: (value: string | undefined) => value?.replace(/^Bearer /, '') ?? null -})) - -import { createRelayApp } from './app.js' - -const EDGE_URL = 'https://edge.relay.example.test' -const COHORT_HOST = 'edgecohorthost01' - -const databases: RelayDatabase[] = [] -afterEach(async () => { - for (const database of databases.splice(0)) { await database.close() } -}) - -function config(): RelayConfig { - return { - port: 8080, - publicUrl: 'https://relay.example.test', - cellUrl: 'https://relay.example.test', - region: 'us-central1', - authIssuer: 'https://auth.example.test', - authAudience: 'orca-relay', - jwksUrl: 'https://auth.example.test/jwks', - assignmentSigningKey: new TextEncoder().encode('assignment-key-with-at-least-32-bytes'), - role: 'director', - cellId: 'director', - cells: [], - adminAudience: 'https://relay.example.test/v1/admin/drain', - deployServiceAccount: 'deploy@example.test', - runtimeServiceAccount: 'runtime@example.test', - adminJwksUrl: 'https://auth.example.test/jwks', - databasePoolMax: 3, - publicAssignmentsEnabled: true, - regionalPlacementEnabled: true, - publicAssignmentConcurrency: 2, - publicAssignmentQueueMax: 128, - publicAssignmentWaitMs: 4_000, - publicResolveConcurrency: 1, - publicResolveWaitMs: 5_000, - publicAssignmentRetryAfterSeconds: 5, - dataDir: './data' - } -} - -async function harness(options: { seeded?: boolean } = {}) { - const database = await openInMemoryRelayDatabase() - databases.push(database) - const edgeConfig: EdgeRelayConfig = { - cellUrl: EDGE_URL, - rolloutPercent: 0, - allowHosts: new Set([COHORT_HOST]), - denyHosts: new Set(), - regions: new Set(['us-central1']) - } - const edge = new EdgeAssignments(database, edgeConfig) - if (options.seeded !== false) { await edge.ensureEdgeCell() } - const gce = { - userId: 'user-1', - cellId: 'us-c1', - cellUrl: 'https://us-c1.relay.example.test', - region: 'us-central1' as const, - assignmentEpoch: 3, - leaseExpiresAt: Date.now() + 90_000 - } - const assignments = { - assign: vi.fn(async (identity: { relayHostId: string }) => ({ ...gce, relayHostId: identity.relayHostId })), - resolve: vi.fn(async () => null), - exchangeRegionCorrection: vi.fn() - } - const plan = vi.fn(async () => ({ kind: 'database' })) - const raiseEpochFloor = vi.fn() - const store = { resolveResume: vi.fn(async () => ({ userId: 'user-1' })) } - const app = createRelayApp(config(), { - store: store as never, - assignments: assignments as never, - reservePlacement: { plan, raiseEpochFloor, rowEpochFloor: () => 0 } as never, - edgeAssignments: edge, - drain: vi.fn(), - ready: vi.fn(async () => true) - }) - const assign = async (relayHostId: string, extra: Record = {}) => - await app.request('/v1/assign', { - method: 'POST', - headers: { authorization: `Bearer ${relayHostId}`, 'content-type': 'application/json' }, - body: JSON.stringify({ v: 1, relayHostId, preferredRegion: 'us-central1', ...extra }) - }) - const resolve = async (relayHostId: string) => - await app.request('/v1/resolve', { - method: 'POST', - headers: { 'content-type': 'application/json' }, - body: JSON.stringify({ v: 1, relayHostId, resumeToken: 'r'.repeat(43) }) - }) - return { database, edge, assignments, plan, raiseEpochFloor, assign, resolve } -} - -describe('director routes with the relay edge', () => { - - it('keeps a host still holding units on its old cell there (no 503), moving it on a later ask', async () => { - const h = await harness() - await h.database.query( - `INSERT INTO relay_assignments - (user_id, relay_host_id, cell_id, assignment_epoch, lease_expires_at, last_activity_at, - reserved_controls, reserved_splices, reserved_invites, pending_installs, - pending_confirmations, migration_leases) - VALUES ('user-1', ?, 'us-c1', 5, 0, 0, 1, 0, 0, 0, 0, 0)`, - [COHORT_HOST] - ) - const response = await h.assign(COHORT_HOST) - expect(response.status).toBe(200) - expect(await response.json()).toMatchObject({ cellUrl: 'https://us-c1.relay.example.test' }) - expect(h.assignments.assign).toHaveBeenCalled() - }) - - it('never moves a host on a phone resolve', async () => { - const h = await harness() - const response = await h.resolve(COHORT_HOST) - expect(await response.json()).toMatchObject({ cellUrl: 'https://us-c1.relay.example.test' }) - expect(await h.edge.edgeAssignment({ userId: 'user-1', relayHostId: COHORT_HOST })).toBeNull() - }) -}) diff --git a/cloud/apps/relay/src/edge-relay-cohort.ts b/cloud/apps/relay/src/edge-relay-cohort.ts index 5227e8f9ff4..c9161ff7d59 100644 --- a/cloud/apps/relay/src/edge-relay-cohort.ts +++ b/cloud/apps/relay/src/edge-relay-cohort.ts @@ -50,22 +50,40 @@ export function edgeCohortBucketPermille(relayHostId: string): number { } // Mode off or down empties the cohort. Otherwise deny wins, then host allow, then region scope; -// within the region, account allow or the rollout share. +// within the region, account allow or the rollout share. Region 'any' skips the region scope. export function inEdgeCohort( config: EdgeRelayConfig, relayHostId: string, - region: RelayRegion | undefined, + region: RelayRegion | undefined | 'any', userId?: string ): boolean { const flags = config.control?.() ?? EDGE_CONTROL_DEFAULTS if (flags.mode !== 'on') { return false } if (config.denyHosts.has(relayHostId)) { return false } if (config.allowHosts.has(relayHostId)) { return true } - if (!config.regions.has(region ?? RELAY_DEFAULT_REGION)) { return false } + if (region !== 'any' && !config.regions.has(region ?? RELAY_DEFAULT_REGION)) { return false } if (userId !== undefined && config.allowUsers?.has(userId)) { return true } return edgeCohortBucketPermille(relayHostId) < edgeRolloutPermille(config.rolloutPercent, flags) } +// Whether the host's assignment row may be on the edge, so an ask that is not moving it there must +// read the row (leave) first. A host reaches the edge only through the cohort (its bucket under the +// rollout) or an allow list, and cohorts only grow with the rollout, so a host above the highest +// rollout ever applied (leaveCeilingPermille) never had an edge row. Unset: every host may. +// Mode is ignored: hosts leave under off and down too. +export function mayBeOnEdge(config: EdgeRelayConfig, relayHostId: string, userId?: string): boolean { + const flags = config.control?.() ?? EDGE_CONTROL_DEFAULTS + if (flags.leaveCeilingPermille === undefined) { return true } + if (config.allowHosts.has(relayHostId) || config.denyHosts.has(relayHostId)) { return true } + if (userId !== undefined && config.allowUsers?.has(userId)) { return true } + const ceiling = Math.max( + flags.leaveCeilingPermille, + edgeRolloutPermille(config.rolloutPercent, flags), + config.rolloutPercent * 10 + ) + return edgeCohortBucketPermille(relayHostId) < ceiling +} + // Another director holds the host's row, or the host is on the edge and cannot leave yet (its // desktop is still connected there): retry shortly. export class EdgeMoveBusyError extends Error { diff --git a/cloud/apps/relay/src/edge-relay-control.ts b/cloud/apps/relay/src/edge-relay-control.ts index b59eff1cece..7f0e333db3b 100644 --- a/cloud/apps/relay/src/edge-relay-control.ts +++ b/cloud/apps/relay/src/edge-relay-control.ts @@ -17,6 +17,14 @@ export type EdgeControlFlags = { mode: EdgeControlMode // Replaces the env rollout percent when present (1‰ steps). rolloutPermille?: number + // Highest rollout (permille) ever applied. Present: a host above it (and above the current + // rollout, and on no allow or deny list) cannot have a row on the edge, so its asks skip the + // edge row read (mayBeOnEdge). Absent: every host's ask reads it. Operating rules: + // - never lower it below a rollout that was applied (a file with it below rolloutPermille is void); + // - raise it in its own write, at least a minute (many polls) before a higher rollout, so no + // director still skips a host another director has just moved; + // - unset it before removing an allow list entry (the ceiling covers buckets, not the lists). + leaveCeilingPermille?: number } export const EDGE_CONTROL_DEFAULTS: EdgeControlFlags = { mode: 'on' } @@ -25,10 +33,19 @@ export const EDGE_CONTROL_APPLIED_EVENT = 'orca_relay_edge_control_applied' const EdgeControlFlagsSchema = z.object({ mode: z.enum(['on', 'off', 'down']).default(EDGE_CONTROL_DEFAULTS.mode), - rolloutPermille: z.number().int().min(0).max(1_000).optional() + rolloutPermille: z.number().int().min(0).max(1_000).optional(), + leaveCeilingPermille: z.number().int().min(0).max(1_000).optional() }) const KNOWN_FLAG_KEYS = new Set(Object.keys(EdgeControlFlagsSchema.shape)) -const EdgeControlObjectSchema = z.object({ v: z.literal(1), flags: EdgeControlFlagsSchema }) +const EdgeControlObjectSchema = z.object({ + v: z.literal(1), + flags: EdgeControlFlagsSchema.refine( + (flags) => + flags.leaveCeilingPermille === undefined || + flags.rolloutPermille === undefined || + flags.leaveCeilingPermille >= flags.rolloutPermille + ) +}) // Unknown keys (a newer writer's, or a typo) are dropped and reported; a known key with a bad value // voids the whole object, so the last applied flags stay. @@ -42,8 +59,15 @@ export const parseEdgeControl: ControlFlagParse = (body) => { named !== null && typeof named === 'object' ? Object.keys(named).filter((key) => !KNOWN_FLAG_KEYS.has(key)).sort() : [] - const { mode, rolloutPermille } = parsed.data.flags - return { flags: rolloutPermille === undefined ? { mode } : { mode, rolloutPermille }, ignoredKeys } + const { mode, rolloutPermille, leaveCeilingPermille } = parsed.data.flags + return { + flags: { + mode, + ...(rolloutPermille === undefined ? {} : { rolloutPermille }), + ...(leaveCeilingPermille === undefined ? {} : { leaveCeilingPermille }) + }, + ignoredKeys + } } export type EdgeControl = { diff --git a/cloud/apps/relay/src/edge-relay-evacuation.test.ts b/cloud/apps/relay/src/edge-relay-evacuation.test.ts deleted file mode 100644 index 9b671710f28..00000000000 --- a/cloud/apps/relay/src/edge-relay-evacuation.test.ts +++ /dev/null @@ -1,172 +0,0 @@ -import { createHash } from 'node:crypto' -import { jwtVerify } from 'jose' -import { afterEach, describe, expect, it, vi } from 'vitest' -import { openInMemoryRelayDatabase, type RelayDatabase } from './database/database.js' -import { - EDGE_ADMIN_AUDIENCE, - EdgeAdminUnavailableError, - createEdgeAdmin, - type EdgeAdmin, - type EdgeDrainResult -} from './edge-admin-client.js' -import { EDGE_EVACUATION_BUSY_INTERVAL_MS, EDGE_EVACUATION_CONCURRENCY, EDGE_EVACUATION_CONTROL_DELAY_MS, EdgeEvacuation } from './edge-relay-evacuation.js' -import { EDGE_CELL_ID, type EdgeRelayConfig } from './edge-relay.js' -import type { EdgeControlFlags } from './edge-relay-control.js' - -const EDGE_URL = 'https://edge.relay.example.test' -const SIGNING_KEY = new TextEncoder().encode('edge-admin-key-with-at-least-32-bytes!!') - -const databases: RelayDatabase[] = [] -afterEach(async () => { - vi.useRealTimers() - vi.restoreAllMocks() - for (const database of databases.splice(0)) { await database.close() } -}) - -function hostId(index: number): string { - return `host${String(index).padStart(12, '0')}` -} - -class FakeAdmin implements EdgeAdmin { - drained: string[] = [] - unavailable = new Set() - answer: EdgeDrainResult = { outcome: 'drained', controls: 1 } - // Set: each drain waits for release(), so the test can count drains in flight. - holding = false - readonly held: (() => void)[] = [] - - release(): void { - for (const resolve of this.held.splice(0)) { resolve() } - } - - async assign(): Promise { - throw new Error('unexpected assign') - } - - async exportHost(): Promise { - throw new Error('unexpected export') - } - - async drain(relayHostId: string): Promise { - if (this.unavailable.has(relayHostId)) { throw new EdgeAdminUnavailableError('status_404') } - this.drained.push(relayHostId) - if (this.holding) { await new Promise((resolve) => this.held.push(resolve)) } - return this.answer - } -} - -async function harness(overrides: Partial = {}, random = 0.5) { - const database = await openInMemoryRelayDatabase() - databases.push(database) - const config: EdgeRelayConfig = { - cellUrl: EDGE_URL, - rolloutPercent: 0, - allowHosts: new Set(), - denyHosts: new Set(), - regions: new Set(['us-central1']), - ...overrides - } - const admin = new FakeAdmin() - const clock = { now: 1_700_000_000_000 } - const evacuation = new EdgeEvacuation(database, config, admin, EDGE_CELL_ID, () => clock.now, () => random) - const insert = async (relayHostId: string, cellId = EDGE_CELL_ID, userId = 'user-1') => - await database.query( - `INSERT INTO relay_assignments - (user_id, relay_host_id, cell_id, assignment_epoch, lease_expires_at, last_activity_at, - reserved_controls, reserved_splices, reserved_invites, pending_installs, - pending_confirmations, migration_leases) - VALUES (?, ?, ?, 1, 0, 0, 0, 0, 0, 0, 0, 0)`, - [userId, relayHostId, cellId] - ) - const prefer = async (relayHostId: string, region: string, userId = 'user-1') => - await database.query( - `INSERT INTO relay_assignment_region_preferences (user_id, relay_host_id, preferred_region, observed_at) - VALUES (?, ?, ?, 0)`, - [userId, relayHostId, region] - ) - return { database, config, admin, clock, evacuation, insert, prefer } -} - -describe('edge evacuation under runtime control', () => { - - it('re-arms after a pass that was running when the control changed', async () => { - vi.useFakeTimers() - vi.spyOn(console, 'warn').mockImplementation(() => {}) - const flags: EdgeControlFlags = { mode: 'on', rolloutPermille: 0 } - const h = await harness({ control: () => flags }) - await h.insert(hostId(1)) - h.admin.holding = true - const sweep = vi.spyOn(h.evacuation, 'sweep') - h.evacuation.start() - await vi.advanceTimersByTimeAsync(EDGE_EVACUATION_BUSY_INTERVAL_MS) - expect(h.admin.held).toHaveLength(1) - flags.mode = 'down' - h.evacuation.controlChanged() - h.admin.release() - await vi.advanceTimersByTimeAsync(EDGE_EVACUATION_CONTROL_DELAY_MS) - expect(sweep).toHaveBeenCalledTimes(2) - h.evacuation.stop() - }) - - it(`sends at most ${EDGE_EVACUATION_CONCURRENCY} drains at once`, async () => { - vi.spyOn(console, 'warn').mockImplementation(() => {}) - const h = await harness() - for (let index = 0; index < 35; index += 1) { await h.insert(hostId(index)) } - h.admin.holding = true - let done = false - const pass = h.evacuation.sweep().then((answered) => { - done = true - return answered - }) - let most = 0 - while (!done) { - await new Promise((resolve) => setTimeout(resolve, 0)) - most = Math.max(most, h.admin.held.length) - h.admin.release() - } - expect(await pass).toBe(35) - expect(most).toBe(EDGE_EVACUATION_CONCURRENCY) - }) -}) - -describe('edge admin drain call', () => { - it('posts the signed drain op and reads both answers; anything else is unavailable', async () => { - const answers: [number, unknown][] = [ - [200, { outcome: 'drained', controls: 2 }], - [200, { outcome: 'idle' }], - [404, {}], - [401, {}], - [200, { outcome: 'drained' }] - ] - const requests: { url: string; init: RequestInit }[] = [] - const admin = createEdgeAdmin({ - cellUrl: EDGE_URL, - signingKey: SIGNING_KEY, - issuer: 'https://relay.example.test', - fetch: async (url, init) => { - requests.push({ url: String(url), init: init! }) - const [status, body] = answers.shift()! - return new Response(JSON.stringify(body), { status }) - } - }) - expect(await admin.drain(hostId(1))).toEqual({ outcome: 'drained', controls: 2 }) - expect(await admin.drain(hostId(1))).toEqual({ outcome: 'idle' }) - await expect(admin.drain(hostId(1))).rejects.toBeInstanceOf(EdgeAdminUnavailableError) - await expect(admin.drain(hostId(1))).rejects.toBeInstanceOf(EdgeAdminUnavailableError) - await expect(admin.drain(hostId(1))).rejects.toBeInstanceOf(EdgeAdminUnavailableError) - const first = requests[0]! - expect(first.url).toBe(`${EDGE_URL}/__admin/drain`) - expect(first.init.method).toBe('POST') - expect(first.init.body).toBe(JSON.stringify({ relayHostId: hostId(1) })) - const token = String((first.init.headers as Record).authorization).replace('Bearer ', '') - const { payload } = await jwtVerify(token, SIGNING_KEY, { - audience: EDGE_ADMIN_AUDIENCE, - issuer: 'https://relay.example.test' - }) - expect(payload).toMatchObject({ - purpose: 'edge-admin', - op: 'drain', - bodySha256: createHash('sha256').update(String(first.init.body)).digest('base64url') - }) - }) -}) diff --git a/cloud/apps/relay/src/edge-relay-evacuation.ts b/cloud/apps/relay/src/edge-relay-evacuation.ts index ae1c31f5056..9232c2f3f42 100644 --- a/cloud/apps/relay/src/edge-relay-evacuation.ts +++ b/cloud/apps/relay/src/edge-relay-evacuation.ts @@ -3,10 +3,9 @@ // rows whose host is no longer in the cohort and asks the edge to drain them; the desktop then // re-asks /v1/assign, and that ask exports its data and places it on a cell (app.ts). Each pass also // retries fences that did not land after a host left (edge-relay-fence.ts). -import { RELAY_DEFAULT_REGION, RelayRegionSchema } from '@orca-cloud/relay-contract/relay-regions' import type { RelayDatabase } from './database/database.js' import { EdgeAdminUnavailableError, type EdgeAdmin } from './edge-admin-client.js' -import { inEdgeCohort, text, type EdgeRelayConfig, type Identity } from './edge-relay-cohort.js' +import { inEdgeCohort, mayBeOnEdge, text, type EdgeRelayConfig, type Identity } from './edge-relay-cohort.js' import { forEachBounded, retryPendingFences } from './edge-relay-fence.js' // A cohort change (director/edge.json, or a new revision) re-arms the sweep (controlChanged), so a @@ -116,9 +115,16 @@ export class EdgeEvacuation { for (const row of rows) { const identity = { userId: text(row, 'user_id'), relayHostId: text(row, 'relay_host_id') } pass.cursor = identity - const stored = RelayRegionSchema.safeParse(row.preferred_region) - const region = stored.success ? stored.data : RELAY_DEFAULT_REGION - if (inEdgeCohort(this.config, identity.relayHostId, region, identity.userId)) { continue } + // Region scope is the assign path's call alone: it decides with the region the desktop + // asks for, which the stored preference can miss or lag. Judging it here too drained + // hosts that the next ask put straight back (a drain every few minutes). A host that asks + // for a region outside the scope leaves on that ask. + if (inEdgeCohort(this.config, identity.relayHostId, 'any', identity.userId)) { continue } + if (!mayBeOnEdge(this.config, identity.relayHostId, identity.userId)) { + // leaveCeilingPermille is set below a rollout this host was moved under: its asks skip + // the leave read, so it would be re-placed without its devices. Raise the ceiling. + console.error(JSON.stringify({ event: 'orca_relay_edge_row_above_ceiling' })) + } if (this.drainedAt.has(drainKey(identity))) { continue } leaving.push(identity) // Resume after the last host taken, so the rest of the page is read next tick. @@ -143,10 +149,8 @@ export class EdgeEvacuation { private async readPage(pass: Pass) { const { cursor, origin, wrapped } = pass return await this.database.query( - `SELECT a.user_id, a.relay_host_id, p.preferred_region + `SELECT a.user_id, a.relay_host_id FROM relay_assignments a - LEFT JOIN relay_assignment_region_preferences p - ON p.user_id = a.user_id AND p.relay_host_id = a.relay_host_id WHERE a.cell_id = ? AND (a.user_id > ? OR (a.user_id = ? AND a.relay_host_id > ?)) ${wrapped ? 'AND (a.user_id < ? OR (a.user_id = ? AND a.relay_host_id <= ?))' : ''} ORDER BY a.user_id, a.relay_host_id diff --git a/cloud/apps/relay/src/edge-relay-fence.test.ts b/cloud/apps/relay/src/edge-relay-fence.test.ts index abdef6a01ba..7033840a2b1 100644 --- a/cloud/apps/relay/src/edge-relay-fence.test.ts +++ b/cloud/apps/relay/src/edge-relay-fence.test.ts @@ -1,7 +1,7 @@ import { afterEach, describe, expect, it, vi } from 'vitest' import { openInMemoryRelayDatabase, type RelayDatabase } from './database/database.js' -import { EdgeAdminUnavailableError, type EdgeAdmin, type EdgeAdminCallOptions, type EdgeAssignBody, type EdgeAssignResult } from './edge-admin-client.js' -import { EDGE_FENCE_RETRY_BASE_MS, EDGE_FENCE_RETRY_BATCH, recordPendingFence, retryPendingFences } from './edge-relay-fence.js' +import type { EdgeAdmin, EdgeAdminCallOptions, EdgeAssignBody, EdgeAssignResult } from './edge-admin-client.js' +import { EDGE_FENCE_RETRY_BASE_MS, retryPendingFences } from './edge-relay-fence.js' import { EDGE_CELL_ID, EdgeAssignments, type EdgeRelayConfig } from './edge-relay.js' const EDGE_URL = 'https://edge.relay.example.test' @@ -16,31 +16,16 @@ afterEach(async () => { for (const database of databases.splice(0)) { await database.close() } }) -type Answer = EdgeAssignResult['outcome'] | 'down' | 'hang' - -// Answers each assign from `answers` (then 'applied'); 'hang' waits until `release()`. class ScriptedEdge implements EdgeAdmin { - answers: Answer[] = [] + answers: EdgeAssignResult['outcome'][] = [] calls: { body: EdgeAssignBody; options?: EdgeAdminCallOptions }[] = [] - private waiting: (() => void)[] = [] async assign(body: EdgeAssignBody, options?: EdgeAdminCallOptions): Promise { this.calls.push({ body, ...(options ? { options } : {}) }) - const answer = this.answers.shift() ?? 'applied' - if (answer === 'down') { throw new EdgeAdminUnavailableError('network') } - if (answer === 'hang') { await new Promise((resolve) => this.waiting.push(resolve)) } - const outcome = answer === 'hang' ? 'applied' : answer + const outcome = this.answers.shift() ?? 'applied' return { outcome, assignmentEpoch: outcome === 'stale' ? body.assignmentEpoch + 5 : body.assignmentEpoch } } - get hanging(): number { - return this.waiting.length - } - - release(): void { - for (const resolve of this.waiting.splice(0)) { resolve() } - } - async exportHost(): Promise { throw new Error('unexpected export') } @@ -96,26 +81,6 @@ function logged(spy: { mock: { calls: unknown[][] } }, event: string): Record entry.event === event) } -describe('relay edge fence after a host leaves', () => { - - it('records nothing when the fence lands, and a newer failure replaces an older record', async () => { - vi.spyOn(console, 'error').mockImplementation(() => {}) - const h = await harness() - h.edge.answers = ['down', 'unchanged'] - expect(await h.assignments.fenceAway({ userId: USER, relayHostId: HOST }, 'us-c1', 9)).toBe(true) - expect(await h.pending()).toEqual([]) - h.edge.answers = ['down', 'down', 'down'] - await h.assignments.fenceAway({ userId: USER, relayHostId: HOST }, 'us-c1', 9) - await h.database.query(`UPDATE relay_edge_fence_pending SET attempts = 3`) - h.clock.now += 5_000 - h.edge.answers = ['stale'] - await h.assignments.fenceAway({ userId: USER, relayHostId: HOST }, 'us-c2', 12) - expect(await h.pending()).toEqual([ - { relayHostId: HOST, cellId: 'us-c2', assignmentEpoch: 12, attempts: 0, nextAttemptAt: h.clock.now + EDGE_FENCE_RETRY_BASE_MS } - ]) - }) -}) - describe('relay edge pending fence retries', () => { it('re-fences to the current row, not the recorded one, and clears the record once it lands', async () => { const warn = vi.spyOn(console, 'warn').mockImplementation(() => {}) @@ -137,33 +102,6 @@ describe('relay edge pending fence retries', () => { ]) }) - it(`retries up to ${EDGE_FENCE_RETRY_BATCH} due fences per pass, 10 in flight at once`, async () => { - vi.spyOn(console, 'warn').mockImplementation(() => {}) - const h = await harness() - const hosts = Array.from({ length: EDGE_FENCE_RETRY_BATCH + 10 }, (_, index) => `fencehost${String(index).padStart(7, '0')}`) - for (const host of hosts) { - await h.placeRow('us-c1', 9, host) - await recordPendingFence(h.database, { userId: USER, relayHostId: host }, 'us-c1', 9, h.clock.now) - } - h.clock.now += EDGE_FENCE_RETRY_BASE_MS - h.edge.answers = hosts.map(() => 'hang') - let settled = false - const pass = h.retry().then((left) => { - settled = true - return left - }) - let maxInFlight = 0 - while (!settled) { - await new Promise((resolve) => setTimeout(resolve, 0)) - maxInFlight = Math.max(maxInFlight, h.edge.hanging) - h.edge.release() - } - expect(await pass).toBe(true) - expect(h.edge.calls).toHaveLength(EDGE_FENCE_RETRY_BATCH) - expect(maxInFlight).toBe(10) - expect(await h.pending()).toHaveLength(10) - }) - it('lets only one director claim an attempt', async () => { vi.spyOn(console, 'warn').mockImplementation(() => {}) vi.spyOn(console, 'error').mockImplementation(() => {}) diff --git a/cloud/apps/relay/src/edge-relay-fence.ts b/cloud/apps/relay/src/edge-relay-fence.ts index 3d01795ddaa..e18056b5eeb 100644 --- a/cloud/apps/relay/src/edge-relay-fence.ts +++ b/cloud/apps/relay/src/edge-relay-fence.ts @@ -41,6 +41,27 @@ export async function recordPendingFence( ) } +// One fence call. `conflict` means the edge holds this very epoch for another placement (a move onto +// the edge whose push landed though the director counted it as failed, then a placement elsewhere +// minted the same epoch). No later move can produce that (a later move has a higher epoch, which +// answers `stale`), so the fence goes once more one epoch above: it lands, and a later move onto +// the edge re-mints above it as for any edge epoch (moveToEdge). +async function assignFence( + admin: EdgeAdmin, + fence: Identity & { cellId: string; assignmentEpoch: number } +): Promise<{ outcome: string; assignmentEpoch: number }> { + const first = await admin.assign(fence) + if (first.outcome !== 'conflict' || first.assignmentEpoch !== fence.assignmentEpoch) { + return { outcome: first.outcome, assignmentEpoch: fence.assignmentEpoch } + } + const above = fence.assignmentEpoch + 1 + const second = await admin.assign({ ...fence, assignmentEpoch: above }) + console.warn( + JSON.stringify({ event: 'orca_relay_edge_fence_above_conflict', outcome: second.outcome, assignmentEpoch: above }) + ) + return { outcome: second.outcome, assignmentEpoch: above } +} + // The fence right after a host left (EdgeAssignments.fenceAway). Anything but applied/unchanged // fails: unavailable, `conflict`, or `stale` (the edge holds a newer epoch, so it still claims the // host); the failure is logged and recorded for retry. Returns whether the fence landed. @@ -55,7 +76,7 @@ export async function fenceEdge( let outcome = 'unavailable' for (let attempt = 0; attempt < attempts; attempt += 1) { try { - outcome = (await admin.assign(fence)).outcome + outcome = (await assignFence(admin, fence)).outcome } catch (error) { if (!(error instanceof EdgeAdminUnavailableError)) { throw error } outcome = error.message @@ -138,7 +159,7 @@ async function retryOne( const assignmentEpoch = integer(row, 'assignment_epoch') let outcome: string try { - outcome = (await admin.assign({ ...identity, cellId, assignmentEpoch })).outcome + outcome = (await assignFence(admin, { ...identity, cellId, assignmentEpoch })).outcome } catch (error) { if (!(error instanceof EdgeAdminUnavailableError)) { throw error } outcome = error.message diff --git a/cloud/apps/relay/src/edge-relay.ts b/cloud/apps/relay/src/edge-relay.ts index a4d4952ac16..75747b71915 100644 --- a/cloud/apps/relay/src/edge-relay.ts +++ b/cloud/apps/relay/src/edge-relay.ts @@ -37,6 +37,7 @@ export { edgeCohortBucket, inEdgeCohort, mapEpochFloor, + mayBeOnEdge, type EdgeRelayConfig } from './edge-relay-cohort.js' diff --git a/cloud/apps/relay/src/relay.blackbox.test.ts b/cloud/apps/relay/src/relay.blackbox.test.ts index e4c71f4dd54..21820c22ba6 100644 --- a/cloud/apps/relay/src/relay.blackbox.test.ts +++ b/cloud/apps/relay/src/relay.blackbox.test.ts @@ -1,26 +1,22 @@ import type { ChildProcess } from 'node:child_process' import { spawnProcess } from '@orca/process-host' import { createHash, createHmac } from 'node:crypto' -import { mkdtempSync, rmSync, writeFileSync } from 'node:fs' +import { mkdtempSync, rmSync } from 'node:fs' import { createServer, type Server } from 'node:http' import { createServer as createNetServer } from 'node:net' import { dirname, resolve } from 'node:path' import { tmpdir } from 'node:os' import { fileURLToPath } from 'node:url' -import { exportJWK, generateKeyPair, jwtVerify, SignJWT } from 'jose' -import { ASSIGNMENT_LIMITS } from '@orca-cloud/relay-contract/assignment-invariants' -import { buildHostProofMacInput, HOST_CHALLENGE_PLAINTEXT_DOMAIN } from '@orca-cloud/relay-contract/host-proof-transcript' +import { exportJWK, generateKeyPair, SignJWT } from 'jose' + +import { + buildHostProofMacInput, + HOST_CHALLENGE_PLAINTEXT_DOMAIN +} from '@orca-cloud/relay-contract/host-proof-transcript' import nacl from 'tweetnacl' import { afterAll, beforeAll, describe, expect, it } from 'vitest' import WebSocket from 'ws' import type { RawData } from 'ws' -import { assignmentLeaseKeyId } from './assignment/assignment-lease.js' -import { RelayAssignmentStore } from './assignment/assignment-store.js' -import { - encodeMembership, - type CellAdmissionMembership -} from './cell/admission/cell-admission-selector.js' -import { openRelayDatabase } from './database/database.js' const appDirectory = resolve(dirname(fileURLToPath(import.meta.url)), '..') const assignmentKey = 'test-assignment-key-with-at-least-32-bytes' @@ -29,7 +25,6 @@ let jwksServer: Server let relayUrl: string let issuer: string let privateKey: Awaited>['privateKey'] -let adminPrivateKey: Awaited>['privateKey'] let relayDataDirectory: string let adminAudience: string let forwardedSourceSequence = 0 @@ -94,47 +89,6 @@ async function waitForRelay(child: ChildProcess): Promise { }) } -async function withClockRelay( - operation: (clockFile: string, dataDirectory: string) => Promise -): Promise { - const originalUrl = relayUrl - const clockPort = await unusedPort() - const clockUrl = `http://127.0.0.1:${clockPort}` - const clockData = mkdtempSync(resolve(tmpdir(), 'orca-relay-clock-')) - const clockFile = resolve(clockData, 'offset-ms') - writeFileSync(clockFile, '0') - const clockProcess = spawnProcess({ - program: process.execPath, - args: ['--import', 'tsx', 'src/fault-injection-test-entry.ts'], - cwd: appDirectory, - env: { - ...process.env, - NODE_ENV: 'test', - PORT: String(clockPort), - ORCA_RELAY_PUBLIC_URL: clockUrl, - ORCA_RELAY_CELL_URL: clockUrl, - ORCA_RELAY_AUTH_ISSUER: issuer, - ORCA_RELAY_JWKS_URL: `${issuer}/jwks`, - ORCA_RELAY_ASSIGNMENT_SIGNING_KEY: assignmentKey, - ORCA_RELAY_DATA_DIR: clockData, - ORCA_RELAY_ADMIN_AUDIENCE: adminAudience, - ORCA_RELAY_DEPLOY_SERVICE_ACCOUNT: 'deploy@example.com', - ORCA_RELAY_ADMIN_JWKS_URL: `${issuer}/jwks`, - ORCA_RELAY_TEST_CLOCK_FILE: clockFile - }, - stdio: ['ignore', 'pipe', 'pipe'] - }) - relayUrl = clockUrl - try { - await waitForRelay(clockProcess) - await operation(clockFile, clockData) - } finally { - await stopRelay(clockProcess) - relayUrl = originalUrl - rmSync(clockData, { recursive: true, force: true }) - } -} - async function relayToken(audience: string, relayHostId = 'abcdefghijklmnop'): Promise { return await new SignJWT({ prof: 'profile-1', @@ -151,80 +105,6 @@ async function relayToken(audience: string, relayHostId = 'abcdefghijklmnop'): P .sign(privateKey) } -async function adminToken(): Promise { - return await googleServiceToken(adminAudience) -} - -async function googleServiceToken(audience: string, email = 'deploy@example.com'): Promise { - return await new SignJWT({ email, email_verified: true }) - .setProtectedHeader({ alg: 'RS256', kid: 'admin-key' }) - .setIssuer('https://accounts.google.com') - .setAudience(audience) - .setSubject('deploy-subject') - .setIssuedAt() - .setExpirationTime('5m') - .sign(adminPrivateKey) -} - -async function postCellHeartbeat( - directorUrl: string, - cell: { id: string; url: string }, - overrides: { incarnation?: string; startedAt?: number; ready?: boolean } = {} -): Promise { - const audience = `${directorUrl}/v1/admin/cell-heartbeat` - return await fetch(audience, { - method: 'POST', - headers: { - authorization: `Bearer ${await googleServiceToken(audience)}`, - 'content-type': 'application/json' - }, - body: JSON.stringify({ - v: 1, - cellId: cell.id, - cellUrl: cell.url, - cellIncarnation: overrides.incarnation ?? '11111111-1111-4111-8111-111111111111', - startedAt: overrides.startedAt ?? Date.now(), - ready: overrides.ready ?? true, - observedRequests: 0 - }) - }) -} - -function spawnTopologyRelay(input: { - url: string - dataDirectory: string - role: 'director' | 'cell' - cellId: string - cells?: Array<{ id: string; url: string; capacityRequests: number }> -}): ChildProcess { - return spawnProcess({ - program: process.execPath, - args: ['--import', 'tsx', 'src/index.ts'], - cwd: appDirectory, - env: { - ...process.env, - PORT: new URL(input.url).port, - ORCA_RELAY_PUBLIC_URL: input.url, - ORCA_RELAY_CELL_URL: input.url, - ORCA_RELAY_CELL_ID: input.cellId, - ORCA_RELAY_CELL_CAPACITY: '10', - ORCA_RELAY_CELLS_JSON: JSON.stringify(input.cells ?? []), - ORCA_RELAY_ROLE: input.role, - ORCA_RELAY_AUTH_ISSUER: issuer, - ORCA_RELAY_JWKS_URL: `${issuer}/jwks`, - ORCA_RELAY_ASSIGNMENT_SIGNING_KEY: assignmentKey, - ORCA_RELAY_DATA_DIR: input.dataDirectory, - ORCA_RELAY_ADMIN_AUDIENCE: adminAudience, - ORCA_RELAY_DEPLOY_SERVICE_ACCOUNT: 'deploy@example.com', - ORCA_RELAY_MONITOR_SERVICE_ACCOUNT: 'monitor@example.com', - ORCA_RELAY_FENCE_SERVICE_ACCOUNT: 'fence@example.com', - ORCA_RELAY_FENCE_BROKER_SERVICE_ACCOUNT: 'broker@example.com', - ORCA_RELAY_ADMIN_JWKS_URL: `${issuer}/jwks` - }, - stdio: ['ignore', 'pipe', 'pipe'] - }) -} - function nextMessage(socket: WebSocket): Promise> { return new Promise((resolveMessage, reject) => { const cleanup = (): void => { @@ -254,99 +134,6 @@ function nextMessage(socket: WebSocket): Promise> { }) } -function nextRawMessage(socket: WebSocket): Promise<{ data: Buffer; binary: boolean }> { - return new Promise((resolveMessage, reject) => { - socket.once('message', (data, binary) => - resolveMessage({ data: Buffer.from(data as ArrayBuffer), binary }) - ) - socket.once('error', reject) - }) -} - -function collectMessages(socket: WebSocket, count: number): Promise[]> { - return new Promise((resolveMessages, reject) => { - const messages: Record[] = [] - const onMessage = (data: RawData): void => { - try { - messages.push(JSON.parse(data.toString()) as Record) - if (messages.length === count) { - socket.off('message', onMessage) - resolveMessages(messages) - } - } catch (error) { - reject(error) - } - } - socket.on('message', onMessage) - socket.once('error', reject) - }) -} - -async function installDirectCredential(input: { - host: WebSocket - relayDeviceId: string - reqId: string - resumeToken: string -}): Promise> { - const response = nextMessage(input.host) - input.host.send( - JSON.stringify({ - type: 'device-credential-install', - v: 1, - reqId: input.reqId, - relayDeviceId: input.relayDeviceId, - newResumeTokenHash: createHash('sha256').update(input.resumeToken).digest('base64url'), - authorization: { mode: 'authenticated-direct', directAuthId: `direct-${input.reqId}` } - }) - ) - return await response -} - -async function attachPhone(input: { - host: WebSocket - hostAck: Record - hostId: string - credential: string -}): Promise<{ - phone: WebSocket - data: WebSocket - connId: string - hello: Record -}> { - const headers = forwardedHeaders() - const phone = new WebSocket(`${relayUrl.replace('http:', 'ws:')}/v1/connect/${input.hostId}`, { - headers - }) - await new Promise((resolveOpen, reject) => { - phone.once('open', resolveOpen) - phone.once('error', reject) - }) - const connOpenPromise = nextMessage(input.host) - phone.send(JSON.stringify({ type: 'relay-auth', v: 1, mode: 'connect', credential: input.credential })) - const connOpen = await connOpenPromise - expect(connOpen.type).toBe('conn-open') - const connId = String(connOpen.connId) - const data = new WebSocket(`${relayUrl.replace('http:', 'ws:')}/v1/host/data/${connId}`, { - headers - }) - await new Promise((resolveOpen, reject) => { - data.once('open', resolveOpen) - data.once('error', reject) - }) - const helloPromise = nextMessage(phone) - data.send( - JSON.stringify({ - type: 'host-data-auth', - v: 1, - connTicket: connOpen.connTicket, - generation: input.hostAck.generation - }) - ) - const hello = await helloPromise - expect(hello).toMatchObject({ type: 'relay-hello', ok: true }) - return { phone, data, connId, hello } -} - async function openHostControl(input?: { controlResumeSecret?: string previousGeneration?: number @@ -413,53 +200,11 @@ async function openHostControl(input?: { return { socket, ack: await nextMessage(socket), keyPair } } -async function seedDurableAssignment( - keyPair: nacl.BoxKeyPair, - epoch: number, - wrongCell = false -): Promise { - const identity = { - userId: 'user-1', - relayHostId: createHash('sha256').update(keyPair.publicKey).digest('base64url').slice(0, 16) - } - const database = await openRelayDatabase({ dataDir: relayDataDirectory }) - let now = - Date.now() - - (epoch - 1) * (2 * ASSIGNMENT_LIMITS.dormantTtlMs + ASSIGNMENT_LIMITS.activityLeaseMs + 2) - const assignments = new RelayAssignmentStore(database, () => now) - try { - await assignments.reconcileCells([{ id: 'combined', url: relayUrl, capacityRequests: 4_000 }]) - await assignments.assign(identity) - for (let nextEpoch = 2; nextEpoch <= epoch; nextEpoch++) { - now += ASSIGNMENT_LIMITS.dormantTtlMs + ASSIGNMENT_LIMITS.activityLeaseMs + 1 - await assignments.releaseExpiredActivityLeases() - await assignments.releaseExpiredActivity() - now += ASSIGNMENT_LIMITS.dormantTtlMs + 1 - expect(await assignments.assign(identity)).toMatchObject({ - cellId: 'combined', - assignmentEpoch: nextEpoch - }) - } - if (wrongCell) { - const otherCellId = `other-${identity.relayHostId}` - await assignments.reconcileCells([ - { id: 'combined', url: relayUrl, capacityRequests: 4_000 }, - { id: otherCellId, url: `https://${otherCellId}.example.test`, capacityRequests: 4_000 } - ]) - await assignments.startEvacuation(identity, otherCellId) - await assignments.reconcileCells([{ id: 'combined', url: relayUrl, capacityRequests: 4_000 }]) - } - } finally { - await database.close() - } -} - beforeAll(async () => { const keys = await generateKeyPair('ES256') privateKey = keys.privateKey const publicJwk = await exportJWK(keys.publicKey) const adminKeys = await generateKeyPair('RS256') - adminPrivateKey = adminKeys.privateKey const adminPublicJwk = await exportJWK(adminKeys.publicKey) jwksServer = createServer((_request, response) => { response.setHeader('content-type', 'application/json') @@ -512,303 +257,7 @@ afterAll(async () => { }) describe('served relay URL', () => { - it('keeps liveness healthy when dependency readiness fails', async () => { - const port = await unusedPort() - const url = `http://127.0.0.1:${port}` - const dataDirectory = mkdtempSync(resolve(tmpdir(), 'orca-relay-unready-')) - const processUnderTest = spawnProcess({ - program: process.execPath, - args: ['--import', 'tsx', 'src/index.ts'], - cwd: appDirectory, - env: { - ...process.env, - PORT: String(port), - ORCA_RELAY_PUBLIC_URL: url, - ORCA_RELAY_CELL_URL: url, - ORCA_RELAY_AUTH_ISSUER: issuer, - ORCA_RELAY_JWKS_URL: 'http://127.0.0.1:1/jwks', - ORCA_RELAY_ASSIGNMENT_SIGNING_KEY: assignmentKey, - ORCA_RELAY_DATA_DIR: dataDirectory, - ORCA_RELAY_ADMIN_AUDIENCE: adminAudience, - ORCA_RELAY_DEPLOY_SERVICE_ACCOUNT: 'deploy@example.com', - ORCA_RELAY_IMAGE_DIGEST: `sha256:${'a'.repeat(64)}`, - ORCA_RELAY_ADMIN_JWKS_URL: `${issuer}/jwks` - }, - stdio: ['ignore', 'pipe', 'pipe'] - }) - try { - await waitForRelay(processUnderTest) - expect((await fetch(`${url}/health`)).status).toBe(200) - expect((await fetch(`${url}/ready`)).status).toBe(503) - } finally { - await stopRelay(processUnderTest, 'SIGTERM') - rmSync(dataDirectory, { recursive: true, force: true }) - } - }) - - it('rejects missing and broad-audience bearer tokens', async () => { - const body = JSON.stringify({ v: 1, relayHostId: 'abcdefghijklmnop' }) - expect((await fetch(`${relayUrl}/v1/assign`, { method: 'POST', body })).status).toBe(401) - expect( - ( - await fetch(`${relayUrl}/v1/assign`, { - method: 'POST', - headers: { authorization: `Bearer ${await relayToken('orca-cloud')}` }, - body - }) - ).status - ).toBe(401) - }) - - it('bounds slow first-frame admission and rejects URL credentials before upgrade', async () => { - const slow: WebSocket[] = [] - for (let index = 0; index < 4; index++) { - const socket = new WebSocket( - `${relayUrl.replace('http:', 'ws:')}/v1/connect/abcdefghijklmnop` - ) - await new Promise((resolveOpen, reject) => { - socket.once('open', resolveOpen) - socket.once('error', reject) - }) - slow.push(socket) - } - const limited = new WebSocket( - `${relayUrl.replace('http:', 'ws:')}/v1/connect/abcdefghijklmnop` - ) - const limitedStatus = await new Promise((resolveStatus) => { - limited.once('unexpected-response', (_request, response) => - resolveStatus(response.statusCode ?? 0) - ) - limited.once('error', () => {}) - }) - expect(limitedStatus).toBe(429) - const isolated = new WebSocket( - `${relayUrl.replace('http:', 'ws:')}/v1/connect/abcdefghijklmnop`, - { headers: { 'x-forwarded-for': 'spoofed, 198.51.100.9, 35.191.0.1' } } - ) - await new Promise((resolveOpen, reject) => { - isolated.once('open', resolveOpen) - isolated.once('error', reject) - }) - isolated.close() - for (const socket of slow) socket.close() - - const leaked = new WebSocket( - `${relayUrl.replace('http:', 'ws:')}/v1/connect/abcdefghijklmnop?credential=secret` - ) - const leakedStatus = await new Promise((resolveStatus) => { - leaked.once('unexpected-response', (_request, response) => - resolveStatus(response.statusCode ?? 0) - ) - leaked.once('error', () => {}) - }) - expect(leakedStatus).toBe(400) - }) - - it('enforces process-wide slow-auth and per-source rate budgets', async () => { - const slow: WebSocket[] = [] - for (let index = 0; index < 45; index++) { - const socket = new WebSocket( - `${relayUrl.replace('http:', 'ws:')}/v1/connect/abcdefghijklmnop`, - { headers: { 'x-forwarded-for': `spoofed, 198.51.100.${index + 1}, 35.191.0.1` } } - ) - await new Promise((resolveOpen, reject) => { - socket.once('open', resolveOpen) - socket.once('error', reject) - }) - slow.push(socket) - } - const globallyLimited = new WebSocket( - `${relayUrl.replace('http:', 'ws:')}/v1/connect/abcdefghijklmnop`, - { headers: { 'x-forwarded-for': 'spoofed, 203.0.113.1, 35.191.0.1' } } - ) - const globalStatus = await new Promise((resolveStatus) => { - globallyLimited.once('unexpected-response', (_request, response) => - resolveStatus(response.statusCode ?? 0) - ) - globallyLimited.once('error', () => {}) - }) - expect(globalStatus).toBe(429) - await Promise.all( - slow.map( - (socket) => - new Promise((resolveClose) => { - socket.once('close', () => resolveClose()) - socket.close() - }) - ) - ) - - for (let index = 0; index < 30; index++) { - const socket = new WebSocket( - `${relayUrl.replace('http:', 'ws:')}/v1/connect/abcdefghijklmnop`, - { headers: { 'x-forwarded-for': 'spoofed, 203.0.113.2, 35.191.0.1' } } - ) - await new Promise((resolveOpen, reject) => { - socket.once('open', resolveOpen) - socket.once('error', reject) - }) - const closed = new Promise((resolveClose) => socket.once('close', () => resolveClose())) - socket.send('{}') - await closed - } - const rateLimited = new WebSocket( - `${relayUrl.replace('http:', 'ws:')}/v1/connect/abcdefghijklmnop`, - { headers: { 'x-forwarded-for': 'spoofed, 203.0.113.2, 35.191.0.1' } } - ) - const rateStatus = await new Promise((resolveStatus) => { - rateLimited.once('unexpected-response', (_request, response) => - resolveStatus(response.statusCode ?? 0) - ) - rateLimited.once('error', () => {}) - }) - expect(rateStatus).toBe(429) - }) - - it('returns a signed combined-service assignment for the bound host', async () => { - const response = await fetch(`${relayUrl}/v1/assign`, { - method: 'POST', - headers: { - authorization: `Bearer ${await relayToken('orca-relay')}`, - 'content-type': 'application/json' - }, - body: JSON.stringify({ v: 1, relayHostId: 'abcdefghijklmnop' }) - }) - expect(response.status).toBe(200) - const assignment = (await response.json()) as { - v: number - cellUrl: string - assignmentEpoch: number - lease: string - } - expect(assignment).toMatchObject({ v: 1, cellUrl: relayUrl, assignmentEpoch: 1 }) - const verified = await jwtVerify(assignment.lease, new TextEncoder().encode(assignmentKey), { - issuer: relayUrl, - audience: 'orca-relay-cell', - algorithms: ['HS256'] - }) - expect(verified.payload).toMatchObject({ relayHostId: 'abcdefghijklmnop' }) - expect(verified.protectedHeader.kid).toBe( - assignmentLeaseKeyId(new TextEncoder().encode(assignmentKey)) - ) - }) - - it('requires canonical host key possession and supports same-generation rebind', async () => { - const first = await openHostControl() - expect(first.ack).toMatchObject({ type: 'host-hello-ack', v: 1, generation: 1 }) - const firstClose = new Promise((resolveClose) => - first.socket.once('close', (code) => resolveClose(code)) - ) - const rebound = await openHostControl({ - keyPair: first.keyPair, - controlResumeSecret: String(first.ack.controlResumeSecret), - previousGeneration: 1 - }) - expect(rebound.ack).toMatchObject({ type: 'host-hello-ack', v: 1, generation: 1 }) - expect(await firstClose).toBe(4408) - rebound.socket.close() - }) - - it('rejects a scoped token presented by a different host key', async () => { - const claimedKey = nacl.box.keyPair() - const wrongKey = nacl.box.keyPair() - const hostId = createHash('sha256').update(claimedKey.publicKey).digest('base64url').slice(0, 16) - const socket = new WebSocket(`${relayUrl.replace('http:', 'ws:')}/v1/host/control`, { - headers: { authorization: `Bearer ${await relayToken('orca-relay', hostId)}` } - }) - await new Promise((resolveOpen) => socket.once('open', resolveOpen)) - const closed = new Promise((resolveClose) => - socket.once('close', (code) => resolveClose(code)) - ) - socket.send( - JSON.stringify({ - type: 'host-hello', - v: 1, - relayHostId: hostId, - assignmentEpoch: 1, - hostPublicKeyB64: Buffer.from(wrongKey.publicKey).toString('base64'), - appVersion: 'test' - }) - ) - expect(await closed).toBe(4401) - }) - - it.each([1, 2, 7])('accepts combined control and pairing at durable epoch %i', async (epoch) => { - const keyPair = nacl.box.keyPair() - await seedDurableAssignment(keyPair, epoch) - const first = await openHostControl({ keyPair, assignmentEpoch: epoch }) - expect(first.ack).toMatchObject({ type: 'host-hello-ack', v: 1 }) - first.socket.close() - const reconnected = await openHostControl({ keyPair, assignmentEpoch: epoch }) - try { - expect(reconnected.ack).toMatchObject({ type: 'host-hello-ack', v: 1 }) - const invite = nextMessage(reconnected.socket) - reconnected.socket.send( - JSON.stringify({ - type: 'invite-create', - reqId: 'reassigned-invite', - relayDeviceId: 'reassigned-device' - }) - ) - expect(await invite).toMatchObject({ type: 'invite-created', reqId: 'reassigned-invite' }) - } finally { - reconnected.socket.close() - } - }) - - it('preserves combined epoch-one bootstrap without a durable assignment', async () => { - const host = await openHostControl() - try { - expect(host.ack).toMatchObject({ type: 'host-hello-ack', v: 1 }) - } finally { - host.socket.close() - } - }) - - it.each([ - { storedEpoch: undefined, helloEpoch: 2, wrongCell: false }, - { storedEpoch: 2, helloEpoch: 1, wrongCell: false }, - { storedEpoch: 2, helloEpoch: 3, wrongCell: false }, - { storedEpoch: 1, helloEpoch: 1, wrongCell: true }, - { storedEpoch: 1, helloEpoch: 2, wrongCell: true } - ])('refuses invalid combined admission: %j', async ({ storedEpoch, helloEpoch, wrongCell }) => { - const keyPair = nacl.box.keyPair() - if (storedEpoch !== undefined) { - await seedDurableAssignment(keyPair, storedEpoch, wrongCell) - } - const hostId = createHash('sha256').update(keyPair.publicKey).digest('base64url').slice(0, 16) - const socket = new WebSocket(`${relayUrl.replace('http:', 'ws:')}/v1/host/control`, { - headers: { authorization: `Bearer ${await relayToken('orca-relay', hostId)}` } - }) - await new Promise((resolveOpen, reject) => { - socket.once('open', resolveOpen) - socket.once('error', reject) - }) - const closed = new Promise<{ code: number; reason: string }>((resolveClose) => { - socket.once('message', () => resolveClose({ code: 0, reason: 'unexpected host challenge' })) - socket.once('close', (code, reason) => resolveClose({ code, reason: reason.toString() })) - }) - socket.send( - JSON.stringify({ - type: 'host-hello', - v: 1, - relayHostId: hostId, - assignmentEpoch: helloEpoch, - hostPublicKeyB64: Buffer.from(keyPair.publicKey).toString('base64'), - appVersion: 'test' - }) - ) - try { - const result = await closed - expect(result.code).toBe(4409) - expect(result.reason).not.toContain('http') - } finally { - socket.close() - } - }) - - it('restates a pending connection to the rebound control, detailed only when advertised', async () => { - // Real upgrade must carry x-orca-host-capabilities into acceptControl; unit tests cannot catch a misspelled header here. + it('keeps a pending attach usable after a bad ticket and rejects ticket replay', async () => { const host = await openHostControl() const hostId = createHash('sha256') .update(host.keyPair.publicKey) @@ -818,8 +267,8 @@ describe('served relay URL', () => { host.socket.send( JSON.stringify({ type: 'invite-create', - reqId: 'capability-invite', - relayDeviceId: 'capability-device' + reqId: 'ticket-invite', + relayDeviceId: 'ticket-device' }) ) const invite = await inviteResponse @@ -834,61 +283,6 @@ describe('served relay URL', () => { phone.send( JSON.stringify({ type: 'relay-auth', v: 1, mode: 'connect', credential: invite.inviteToken }) ) - // Never attached: the connection stays pending, which is what the ack restates. - const connection = await connectionPromise - expect(connection.type).toBe('conn-open') - - const capable = await openHostControl({ - keyPair: host.keyPair, - controlResumeSecret: String(host.ack.controlResumeSecret), - previousGeneration: 1, - capabilities: 'pending-conn-details' - }) - expect(capable.ack.pendingConns).toEqual([ - { - connId: connection.connId, - connTicket: connection.connTicket, - kind: 'invite', - relayDeviceId: 'capability-device' - } - ]) - - const legacy = await openHostControl({ - keyPair: host.keyPair, - controlResumeSecret: String(capable.ack.controlResumeSecret), - previousGeneration: 1 - }) - // Legacy hosts strictly decode entries; unadvertised fields would kill an otherwise healthy control. - expect(legacy.ack.pendingConns).toEqual([ - { connId: connection.connId, connTicket: connection.connTicket } - ]) - - phone.close() - legacy.socket.close() - }) - - it('keeps a pending attach usable after a bad ticket and rejects ticket replay', async () => { - const host = await openHostControl() - const hostId = createHash('sha256') - .update(host.keyPair.publicKey) - .digest('base64url') - .slice(0, 16) - const inviteResponse = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ type: 'invite-create', reqId: 'ticket-invite', relayDeviceId: 'ticket-device' }) - ) - const invite = await inviteResponse - const phone = new WebSocket(`${relayUrl.replace('http:', 'ws:')}/v1/connect/${hostId}`, { - headers: forwardedHeaders() - }) - await new Promise((resolveOpen, reject) => { - phone.once('open', resolveOpen) - phone.once('error', reject) - }) - const connectionPromise = nextMessage(host.socket) - phone.send( - JSON.stringify({ type: 'relay-auth', v: 1, mode: 'connect', credential: invite.inviteToken }) - ) const connection = await connectionPromise const dataUrl = `${relayUrl.replace('http:', 'ws:')}/v1/host/data/${connection.connId}` @@ -948,1636 +342,6 @@ describe('served relay URL', () => { host.socket.close() }) - it('attaches before success, preserves text/binary opcodes, installs, and confirms resume', async () => { - const host = await openHostControl() - const hostId = createHash('sha256') - .update(host.keyPair.publicKey) - .digest('base64url') - .slice(0, 16) - const invitePromise = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ type: 'invite-create', reqId: 'invite-1', relayDeviceId: 'device-1' }) - ) - const invite = await invitePromise - expect(invite.type).toBe('invite-created') - const first = await attachPhone({ - host: host.socket, - hostAck: host.ack, - hostId, - credential: String(invite.inviteToken) - }) - - const hostText = nextRawMessage(first.data) - first.phone.send('phone-text') - expect(await hostText).toEqual({ data: Buffer.from('phone-text'), binary: false }) - const phoneBinary = nextRawMessage(first.phone) - first.data.send(Buffer.from([1, 2, 3]), { binary: true }) - expect(await phoneBinary).toEqual({ data: Buffer.from([1, 2, 3]), binary: true }) - - const resumeToken = Buffer.alloc(32, 9).toString('base64url') - const installedPromise = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ - type: 'device-credential-install', - v: 1, - reqId: 'install-1', - relayDeviceId: 'device-1', - newResumeTokenHash: createHash('sha256').update(resumeToken).digest('base64url'), - authorization: { mode: 'relay-basis', basisConnId: first.connId } - }) - ) - const installed = await installedPromise - expect(installed).toMatchObject({ - type: 'device-credential-installed', - authorizationMode: 'relay-basis', - currentVersion: 1 - }) - const resolved = await fetch(`${relayUrl}/v1/resolve`, { - method: 'POST', - headers: { 'content-type': 'application/json' }, - body: JSON.stringify({ v: 1, relayHostId: hostId, resumeToken }) - }) - expect(resolved.status).toBe(200) - expect(await resolved.json()).toMatchObject({ v: 1, cellUrl: relayUrl, assignmentEpoch: 1 }) - first.phone.close() - - const resumed = await attachPhone({ - host: host.socket, - hostAck: host.ack, - hostId, - credential: resumeToken - }) - const confirmedPromise = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ - type: 'device-resume-confirm', - v: 1, - reqId: 'confirm-1', - basisConnId: resumed.connId - }) - ) - expect(await confirmedPromise).toMatchObject({ - type: 'device-resume-confirmed', - renewed: true, - acceptedAs: 'current' - }) - resumed.phone.close() - resumed.data.close() - host.socket.close() - }) - - it('does not renew outer-only or injected confirmations and reports offline/peer loss', async () => { - const host = await openHostControl() - const hostId = createHash('sha256') - .update(host.keyPair.publicKey) - .digest('base64url') - .slice(0, 16) - const resumeToken = Buffer.alloc(32, 11).toString('base64url') - expect( - await installDirectCredential({ - host: host.socket, - relayDeviceId: 'outer-device', - reqId: 'outer-install', - resumeToken - }) - ).toMatchObject({ type: 'device-credential-installed', currentVersion: 1 }) - - const first = await attachPhone({ - host: host.socket, - hostAck: host.ack, - hostId, - credential: resumeToken - }) - const originalExpiry = first.hello.resumeExpiresAt - // Only the relay's close of the data leg proves it saw the phone leave; a client-side close can race the confirm. - const firstDataClosed = new Promise((resolveClose) => - first.data.once('close', (code) => resolveClose(code)) - ) - first.phone.close() - expect(await firstDataClosed).toBe(4408) - const closedBasis = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ - type: 'device-resume-confirm', - v: 1, - reqId: 'closed-basis-confirm', - basisConnId: first.connId - }) - ) - expect(await closedBasis).toMatchObject({ - type: 'control-error', - reqId: 'closed-basis-confirm', - code: 'confirmation_not_active' - }) - const second = await attachPhone({ - host: host.socket, - hostAck: host.ack, - hostId, - credential: resumeToken - }) - expect(second.hello.resumeExpiresAt).toBe(originalExpiry) - const injectedResult = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ - type: 'device-resume-confirm', - v: 1, - reqId: 'injected-confirm', - basisConnId: second.connId, - relayDeviceId: 'injected', - acceptedCredentialVersion: 99 - }) - ) - expect(await injectedResult).toMatchObject({ type: 'control-error', reqId: 'injected-confirm' }) - const phoneClosed = new Promise((resolveClose) => - second.phone.once('close', (code) => resolveClose(code)) - ) - second.data.close() - expect(await phoneClosed).toBe(4408) - - await new Promise((resolveClose) => { - host.socket.once('close', () => resolveClose()) - host.socket.close() - }) - const offline = new WebSocket(`${relayUrl.replace('http:', 'ws:')}/v1/connect/${hostId}`, { - headers: forwardedHeaders() - }) - await new Promise((resolveOpen) => offline.once('open', resolveOpen)) - const offlineHello = nextMessage(offline) - offline.send( - JSON.stringify({ type: 'relay-auth', v: 1, mode: 'connect', credential: resumeToken }) - ) - expect(await offlineHello).toEqual({ type: 'relay-hello', ok: false, code: 4404 }) - }) - - it('rejects the first post-E2EE confirmation after its server-owned deadline', async () => { - await withClockRelay(async (clockFile) => { - const host = await openHostControl() - const hostId = createHash('sha256') - .update(host.keyPair.publicKey) - .digest('base64url') - .slice(0, 16) - const resumeToken = Buffer.alloc(32, 25).toString('base64url') - await installDirectCredential({ - host: host.socket, - relayDeviceId: 'late-confirm-device', - reqId: 'late-confirm-install', - resumeToken - }) - const splice = await attachPhone({ - host: host.socket, - hostAck: host.ack, - hostId, - credential: resumeToken - }) - writeFileSync(clockFile, '31000') - const rejected = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ - type: 'device-resume-confirm', - v: 1, - reqId: 'late-first-confirm', - basisConnId: splice.connId - }) - ) - expect(await rejected).toMatchObject({ - type: 'control-error', - reqId: 'late-first-confirm', - code: 'confirmation_not_active' - }) - splice.phone.close() - splice.data.close() - host.socket.close() - }) - }) - - it('fences a competing generation and rejects its old immutable basis', async () => { - const firstHost = await openHostControl() - const hostId = createHash('sha256') - .update(firstHost.keyPair.publicKey) - .digest('base64url') - .slice(0, 16) - const resumeToken = Buffer.alloc(32, 12).toString('base64url') - await installDirectCredential({ - host: firstHost.socket, - relayDeviceId: 'fenced-device', - reqId: 'fenced-install', - resumeToken - }) - const splice = await attachPhone({ - host: firstHost.socket, - hostAck: firstHost.ack, - hostId, - credential: resumeToken - }) - const replacement = await openHostControl({ keyPair: firstHost.keyPair, previousGeneration: 1 }) - expect(replacement.ack.generation).toBe(2) - const rejected = nextMessage(replacement.socket) - replacement.socket.send( - JSON.stringify({ - type: 'device-resume-confirm', - v: 1, - reqId: 'wrong-generation-confirm', - basisConnId: splice.connId - }) - ) - expect(await rejected).toMatchObject({ - type: 'control-error', - reqId: 'wrong-generation-confirm', - code: 'confirmation_not_active' - }) - replacement.socket.close() - }) - - it('serializes late direct and invite authorization modes into one served result', async () => { - const host = await openHostControl() - const hostId = createHash('sha256') - .update(host.keyPair.publicKey) - .digest('base64url') - .slice(0, 16) - const inviteResponse = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ type: 'invite-create', reqId: 'race-invite', relayDeviceId: 'race-device' }) - ) - const invite = await inviteResponse - const splice = await attachPhone({ - host: host.socket, - hostAck: host.ack, - hostId, - credential: String(invite.inviteToken) - }) - const responses = collectMessages(host.socket, 2) - const base = { - type: 'device-credential-install', - v: 1, - reqId: 'race-install', - relayDeviceId: 'race-device', - newResumeTokenHash: createHash('sha256').update('race-resume').digest('base64url') - } - host.socket.send( - JSON.stringify({ - ...base, - authorization: { mode: 'relay-basis', basisConnId: splice.connId } - }) - ) - host.socket.send( - JSON.stringify({ - ...base, - authorization: { mode: 'authenticated-direct', directAuthId: 'late-direct' } - }) - ) - const installed = await responses - expect(installed).toHaveLength(2) - expect(installed[0]).toEqual(installed[1]) - expect(installed[0]).toMatchObject({ type: 'device-credential-installed', currentVersion: 1 }) - splice.phone.close() - splice.data.close() - host.socket.close() - }) - - it('reconciles a direct commit after its response is ignored and rejects bad authorization', async () => { - const firstHost = await openHostControl() - const hostId = createHash('sha256') - .update(firstHost.keyPair.publicKey) - .digest('base64url') - .slice(0, 16) - const inviteResponse = nextMessage(firstHost.socket) - firstHost.socket.send( - JSON.stringify({ - type: 'invite-create', - reqId: 'lost-response-invite', - relayDeviceId: 'lost-response-device' - }) - ) - const invite = await inviteResponse - const resumeToken = Buffer.alloc(32, 26).toString('base64url') - const committed = nextMessage(firstHost.socket) - firstHost.socket.send( - JSON.stringify({ - type: 'device-credential-install', - v: 1, - reqId: 'lost-response-install', - relayDeviceId: 'lost-response-device', - newResumeTokenHash: createHash('sha256').update(resumeToken).digest('base64url'), - authorization: { mode: 'authenticated-direct', directAuthId: 'lost-response-direct' } - }) - ) - // Observe the commit boundary; recovery below uses only the durable status. - expect(await committed).toMatchObject({ - type: 'device-credential-installed', - currentVersion: 1 - }) - firstHost.socket.terminate() - const rebound = await openHostControl({ - keyPair: firstHost.keyPair, - controlResumeSecret: String(firstHost.ack.controlResumeSecret), - previousGeneration: Number(firstHost.ack.generation) - }) - const status = nextMessage(rebound.socket) - rebound.socket.send( - JSON.stringify({ - type: 'device-credential-install-status', - v: 1, - reqId: 'lost-response-install', - relayDeviceId: 'lost-response-device' - }) - ) - expect(await status).toMatchObject({ - type: 'device-credential-install-status-result', - state: 'committed', - result: { authorizationMode: 'authenticated-direct', currentVersion: 1 } - }) - - const invalidatedInvite = new WebSocket( - `${relayUrl.replace('http:', 'ws:')}/v1/connect/${hostId}`, - { headers: forwardedHeaders() } - ) - await new Promise((resolveOpen, reject) => { - invalidatedInvite.once('open', resolveOpen) - invalidatedInvite.once('error', reject) - }) - const rejectedInvite = nextMessage(invalidatedInvite) - invalidatedInvite.send( - JSON.stringify({ type: 'relay-auth', v: 1, mode: 'connect', credential: invite.inviteToken }) - ) - expect(await rejectedInvite).toEqual({ type: 'relay-hello', ok: false, code: 4401 }) - - const unauthorized = nextMessage(rebound.socket) - rebound.socket.send( - JSON.stringify({ - type: 'device-credential-install', - v: 1, - reqId: 'unauthorized-install', - relayDeviceId: 'unauthorized-device', - newResumeTokenHash: createHash('sha256').update('unauthorized').digest('base64url'), - authorization: { mode: 'relay-basis', basisConnId: 'unknown-basis' } - }) - ) - expect(await unauthorized).toMatchObject({ - type: 'control-error', - reqId: 'unauthorized-install', - code: 'invalid_relay_basis' - }) - const missing = nextMessage(rebound.socket) - rebound.socket.send( - JSON.stringify({ - type: 'device-credential-install-status', - v: 1, - reqId: 'unauthorized-install', - relayDeviceId: 'unauthorized-device' - }) - ) - expect(await missing).toMatchObject({ - type: 'device-credential-install-status-result', - state: 'not-found' - }) - rebound.socket.close() - }) - - it('serializes confirmation against direct rotation, relay rotation, and revoke', async () => { - const host = await openHostControl() - const hostId = createHash('sha256') - .update(host.keyPair.publicKey) - .digest('base64url') - .slice(0, 16) - const firstToken = Buffer.alloc(32, 21).toString('base64url') - await installDirectCredential({ - host: host.socket, - relayDeviceId: 'confirm-race-device', - reqId: 'confirm-race-initial', - resumeToken: firstToken - }) - - const firstResume = await attachPhone({ - host: host.socket, - hostAck: host.ack, - hostId, - credential: firstToken - }) - const secondToken = Buffer.alloc(32, 22).toString('base64url') - const directResponses = collectMessages(host.socket, 2) - host.socket.send( - JSON.stringify({ - type: 'device-resume-confirm', - v: 1, - reqId: 'confirm-before-direct', - basisConnId: firstResume.connId - }) - ) - host.socket.send( - JSON.stringify({ - type: 'device-credential-install', - v: 1, - reqId: 'direct-after-confirm', - relayDeviceId: 'confirm-race-device', - newResumeTokenHash: createHash('sha256').update(secondToken).digest('base64url'), - expectedCurrentHash: createHash('sha256').update(firstToken).digest('base64url'), - authorization: { mode: 'authenticated-direct', directAuthId: 'direct-after-confirm' } - }) - ) - const directResults = await directResponses - expect(directResults.find((result) => result.type === 'device-resume-confirmed')).toMatchObject({ - reqId: 'confirm-before-direct', - currentVersion: 1, - renewed: true - }) - expect(directResults.find((result) => result.type === 'device-credential-installed')).toMatchObject({ - reqId: 'direct-after-confirm', - currentVersion: 2 - }) - const replayPromise = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ - type: 'device-resume-confirm', - v: 1, - reqId: 'confirm-before-direct', - basisConnId: firstResume.connId - }) - ) - expect(await replayPromise).toEqual( - directResults.find((result) => result.type === 'device-resume-confirmed') - ) - - const secondResume = await attachPhone({ - host: host.socket, - hostAck: host.ack, - hostId, - credential: secondToken - }) - const inviteResponse = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ - type: 'invite-create', - reqId: 'relay-rotation-invite', - relayDeviceId: 'confirm-race-device' - }) - ) - const invite = await inviteResponse - const inviteSplice = await attachPhone({ - host: host.socket, - hostAck: host.ack, - hostId, - credential: String(invite.inviteToken) - }) - const thirdToken = Buffer.alloc(32, 23).toString('base64url') - const relayResponses = collectMessages(host.socket, 2) - host.socket.send( - JSON.stringify({ - type: 'device-credential-install', - v: 1, - reqId: 'relay-before-confirm', - relayDeviceId: 'confirm-race-device', - newResumeTokenHash: createHash('sha256').update(thirdToken).digest('base64url'), - expectedCurrentHash: createHash('sha256').update(secondToken).digest('base64url'), - authorization: { mode: 'relay-basis', basisConnId: inviteSplice.connId } - }) - ) - host.socket.send( - JSON.stringify({ - type: 'device-resume-confirm', - v: 1, - reqId: 'confirm-after-relay', - basisConnId: secondResume.connId - }) - ) - const relayResults = await relayResponses - expect(relayResults.find((result) => result.type === 'device-credential-installed')).toMatchObject({ - reqId: 'relay-before-confirm', - currentVersion: 3 - }) - expect(relayResults.find((result) => result.type === 'device-resume-confirmed')).toMatchObject({ - reqId: 'confirm-after-relay', - currentVersion: 3, - renewed: false - }) - - const retiredResume = await attachPhone({ - host: host.socket, - hostAck: host.ack, - hostId, - credential: secondToken - }) - const fourthToken = Buffer.alloc(32, 24).toString('base64url') - expect( - await installDirectCredential({ - host: host.socket, - relayDeviceId: 'confirm-race-device', - reqId: 'retire-before-confirm', - resumeToken: fourthToken - }) - ).toMatchObject({ type: 'device-credential-installed', currentVersion: 4 }) - const retiredResult = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ - type: 'device-resume-confirm', - v: 1, - reqId: 'confirm-retired', - basisConnId: retiredResume.connId - }) - ) - expect(await retiredResult).toMatchObject({ - type: 'control-error', - reqId: 'confirm-retired', - code: 'reject-retired' - }) - - const currentResume = await attachPhone({ - host: host.socket, - hostAck: host.ack, - hostId, - credential: fourthToken - }) - const revokeResponses = collectMessages(host.socket, 2) - host.socket.send( - JSON.stringify({ - type: 'device-revoke', - reqId: 'revoke-before-confirm', - relayDeviceId: 'confirm-race-device' - }) - ) - host.socket.send( - JSON.stringify({ - type: 'device-resume-confirm', - v: 1, - reqId: 'confirm-after-revoke', - basisConnId: currentResume.connId - }) - ) - const revokeResults = await revokeResponses - expect(revokeResults.find((result) => result.type === 'device-revoked')).toMatchObject({ - reqId: 'revoke-before-confirm' - }) - expect(revokeResults.find((result) => result.type === 'control-error')).toMatchObject({ - reqId: 'confirm-after-revoke', - code: 'reject-revoked' - }) - - for (const splice of [firstResume, secondResume, inviteSplice, retiredResume, currentResume]) { - splice.phone.close() - splice.data.close() - } - host.socket.close() - }) - - it('enforces the eight-splice host limit with typed 4429 recovery', async () => { - const host = await openHostControl() - const hostId = createHash('sha256') - .update(host.keyPair.publicKey) - .digest('base64url') - .slice(0, 16) - const resumeToken = Buffer.alloc(32, 13).toString('base64url') - await installDirectCredential({ - host: host.socket, - relayDeviceId: 'limit-device', - reqId: 'limit-install', - resumeToken - }) - const splices = [] - for (let index = 0; index < 8; index++) { - splices.push( - await attachPhone({ host: host.socket, hostAck: host.ack, hostId, credential: resumeToken }) - ) - } - const ninth = new WebSocket(`${relayUrl.replace('http:', 'ws:')}/v1/connect/${hostId}`, { - headers: forwardedHeaders() - }) - await new Promise((resolveOpen) => ninth.once('open', resolveOpen)) - const rejected = nextMessage(ninth) - ninth.send( - JSON.stringify({ type: 'relay-auth', v: 1, mode: 'connect', credential: resumeToken }) - ) - expect(await rejected).toEqual({ type: 'relay-hello', ok: false, code: 4429 }) - for (const splice of splices) { - splice.phone.close() - splice.data.close() - } - host.socket.close() - }) - - it('rolls an aborted invite reservation into bounded cooldown before retry', async () => { - await withClockRelay(async (clockFile, dataDirectory) => { - const host = await openHostControl() - const hostId = createHash('sha256') - .update(host.keyPair.publicKey) - .digest('base64url') - .slice(0, 16) - const inviteResponse = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ - type: 'invite-create', - reqId: 'cooldown-invite', - relayDeviceId: 'cooldown-device' - }) - ) - const invite = await inviteResponse - const first = new WebSocket(`${relayUrl.replace('http:', 'ws:')}/v1/connect/${hostId}`, { - headers: forwardedHeaders() - }) - await new Promise((resolveOpen) => first.once('open', resolveOpen)) - const firstOpen = nextMessage(host.socket) - first.send( - JSON.stringify({ - type: 'relay-auth', - v: 1, - mode: 'connect', - credential: invite.inviteToken - }) - ) - await firstOpen - const database = await openRelayDatabase({ dataDir: dataDirectory }) - try { - first.close() - await expect - .poll( - async () => - ( - await database.query(`SELECT state FROM relay_invites WHERE relay_device_id = ?`, [ - 'cooldown-device' - ]) - )[0]?.state - ) - .toBe('cooldown') - - const cooldown = new WebSocket(`${relayUrl.replace('http:', 'ws:')}/v1/connect/${hostId}`, { - headers: forwardedHeaders() - }) - await new Promise((resolveOpen) => cooldown.once('open', resolveOpen)) - const cooldownHello = nextMessage(cooldown) - cooldown.send( - JSON.stringify({ - type: 'relay-auth', - v: 1, - mode: 'connect', - credential: invite.inviteToken - }) - ) - expect(await cooldownHello).toEqual({ type: 'relay-hello', ok: false, code: 4401 }) - - writeFileSync(clockFile, '2050') - const retry = new WebSocket(`${relayUrl.replace('http:', 'ws:')}/v1/connect/${hostId}`, { - headers: forwardedHeaders() - }) - await new Promise((resolveOpen) => retry.once('open', resolveOpen)) - const retriedOpen = nextMessage(host.socket) - retry.send( - JSON.stringify({ - type: 'relay-auth', - v: 1, - mode: 'connect', - credential: invite.inviteToken - }) - ) - expect(await retriedOpen).toMatchObject({ type: 'conn-open', kind: 'invite' }) - retry.close() - host.socket.close() - } finally { - await database.close() - host.socket.close() - } - }) - }) - - it('keeps install status and every effect not-found after injected SQL failure', async () => { - const originalUrl = relayUrl - const faultPort = await unusedPort() - const faultUrl = `http://127.0.0.1:${faultPort}` - const faultData = mkdtempSync(resolve(tmpdir(), 'orca-relay-fault-')) - const faultProcess = spawnProcess({ - program: process.execPath, - args: ['--import', 'tsx', 'src/fault-injection-test-entry.ts'], - cwd: appDirectory, - env: { - ...process.env, - NODE_ENV: 'test', - PORT: String(faultPort), - ORCA_RELAY_PUBLIC_URL: faultUrl, - ORCA_RELAY_CELL_URL: faultUrl, - ORCA_RELAY_AUTH_ISSUER: issuer, - ORCA_RELAY_JWKS_URL: `${issuer}/jwks`, - ORCA_RELAY_ASSIGNMENT_SIGNING_KEY: assignmentKey, - ORCA_RELAY_DATA_DIR: faultData, - ORCA_RELAY_ADMIN_AUDIENCE: adminAudience, - ORCA_RELAY_DEPLOY_SERVICE_ACCOUNT: 'deploy@example.com', - ORCA_RELAY_ADMIN_JWKS_URL: `${issuer}/jwks`, - ORCA_RELAY_TEST_FAULT_SQL: 'INSERT INTO relay_install_results' - }, - stdio: ['ignore', 'pipe', 'pipe'] - }) - relayUrl = faultUrl - try { - await waitForRelay(faultProcess) - const host = await openHostControl() - const hostId = createHash('sha256') - .update(host.keyPair.publicKey) - .digest('base64url') - .slice(0, 16) - const inviteResponse = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ - type: 'invite-create', - reqId: 'fault-invite', - relayDeviceId: 'fault-device' - }) - ) - const invite = await inviteResponse - const splice = await attachPhone({ - host: host.socket, - hostAck: host.ack, - hostId, - credential: String(invite.inviteToken) - }) - const install = { - type: 'device-credential-install', - v: 1, - reqId: 'fault-install', - relayDeviceId: 'fault-device', - newResumeTokenHash: createHash('sha256').update('fault-resume').digest('base64url'), - authorization: { mode: 'relay-basis', basisConnId: splice.connId } - } - const failed = nextMessage(host.socket) - host.socket.send(JSON.stringify(install)) - expect(await failed).toMatchObject({ - type: 'control-error', - reqId: 'fault-install', - code: 'control_operation_failed' - }) - const status = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ - type: 'device-credential-install-status', - v: 1, - reqId: 'fault-install', - relayDeviceId: 'fault-device' - }) - ) - expect(await status).toMatchObject({ - type: 'device-credential-install-status-result', - state: 'not-found' - }) - const retried = nextMessage(host.socket) - host.socket.send(JSON.stringify(install)) - expect(await retried).toMatchObject({ - type: 'device-credential-installed', - currentVersion: 1 - }) - splice.phone.close() - splice.data.close() - host.socket.close() - } finally { - await stopRelay(faultProcess, 'SIGKILL') - relayUrl = originalUrl - rmSync(faultData, { recursive: true, force: true }) - } - }) - - it('falls back to an invite only after a failed direct attempt is authoritatively not-found', async () => { - const originalUrl = relayUrl - const faultPort = await unusedPort() - const faultUrl = `http://127.0.0.1:${faultPort}` - const faultData = mkdtempSync(resolve(tmpdir(), 'orca-relay-direct-fault-')) - const faultProcess = spawnProcess({ - program: process.execPath, - args: ['--import', 'tsx', 'src/fault-injection-test-entry.ts'], - cwd: appDirectory, - env: { - ...process.env, - NODE_ENV: 'test', - PORT: String(faultPort), - ORCA_RELAY_PUBLIC_URL: faultUrl, - ORCA_RELAY_CELL_URL: faultUrl, - ORCA_RELAY_AUTH_ISSUER: issuer, - ORCA_RELAY_JWKS_URL: `${issuer}/jwks`, - ORCA_RELAY_ASSIGNMENT_SIGNING_KEY: assignmentKey, - ORCA_RELAY_DATA_DIR: faultData, - ORCA_RELAY_ADMIN_AUDIENCE: adminAudience, - ORCA_RELAY_DEPLOY_SERVICE_ACCOUNT: 'deploy@example.com', - ORCA_RELAY_ADMIN_JWKS_URL: `${issuer}/jwks`, - ORCA_RELAY_TEST_FAULT_SQL: 'INSERT INTO relay_direct_authorizations' - }, - stdio: ['ignore', 'pipe', 'pipe'] - }) - relayUrl = faultUrl - try { - await waitForRelay(faultProcess) - const host = await openHostControl() - const hostId = createHash('sha256') - .update(host.keyPair.publicKey) - .digest('base64url') - .slice(0, 16) - const inviteResponse = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ - type: 'invite-create', - reqId: 'fallback-invite', - relayDeviceId: 'fallback-device' - }) - ) - const invite = await inviteResponse - const splice = await attachPhone({ - host: host.socket, - hostAck: host.ack, - hostId, - credential: String(invite.inviteToken) - }) - const installBase = { - type: 'device-credential-install', - v: 1, - reqId: 'fallback-install', - relayDeviceId: 'fallback-device', - newResumeTokenHash: createHash('sha256').update('fallback-resume').digest('base64url') - } - const directFailure = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ - ...installBase, - authorization: { mode: 'authenticated-direct', directAuthId: 'failed-direct' } - }) - ) - expect(await directFailure).toMatchObject({ - type: 'control-error', - reqId: 'fallback-install', - code: 'control_operation_failed' - }) - const status = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ - type: 'device-credential-install-status', - v: 1, - reqId: 'fallback-install', - relayDeviceId: 'fallback-device' - }) - ) - expect(await status).toMatchObject({ - type: 'device-credential-install-status-result', - state: 'not-found' - }) - const fallback = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ - ...installBase, - authorization: { mode: 'relay-basis', basisConnId: splice.connId } - }) - ) - expect(await fallback).toMatchObject({ - type: 'device-credential-installed', - authorizationMode: 'relay-basis', - currentVersion: 1 - }) - splice.phone.close() - splice.data.close() - host.socket.close() - } finally { - await stopRelay(faultProcess, 'SIGKILL') - relayUrl = originalUrl - rmSync(faultData, { recursive: true, force: true }) - } - }) - - it('keeps director HTTP routes off cells and enforces the durable cell epoch', async () => { - const originalUrl = relayUrl - const cellPort = await unusedPort() - const cellUrl = `http://127.0.0.1:${cellPort}` - const cellData = mkdtempSync(resolve(tmpdir(), 'orca-relay-cell-')) - const keyPair = nacl.box.keyPair() - const hostId = createHash('sha256').update(keyPair.publicKey).digest('base64url').slice(0, 16) - const database = await openRelayDatabase({ dataDir: cellData }) - const assignments = new RelayAssignmentStore(database, () => 100) - await assignments.reconcileCells([{ id: 'cell-a', url: cellUrl, capacityRequests: 10 }]) - await assignments.assign({ userId: 'user-1', relayHostId: hostId }) - await database.close() - const cellProcess = spawnProcess({ - program: process.execPath, - args: ['--import', 'tsx', 'src/index.ts'], - cwd: appDirectory, - env: { - ...process.env, - PORT: String(cellPort), - ORCA_RELAY_PUBLIC_URL: cellUrl, - ORCA_RELAY_CELL_URL: cellUrl, - ORCA_RELAY_CELL_ID: 'cell-a', - ORCA_RELAY_CELL_CAPACITY: '10', - ORCA_RELAY_ROLE: 'cell', - ORCA_RELAY_AUTH_ISSUER: issuer, - ORCA_RELAY_JWKS_URL: `${issuer}/jwks`, - ORCA_RELAY_ASSIGNMENT_SIGNING_KEY: assignmentKey, - ORCA_RELAY_DATA_DIR: cellData, - ORCA_RELAY_ADMIN_AUDIENCE: adminAudience, - ORCA_RELAY_DEPLOY_SERVICE_ACCOUNT: 'deploy@example.com', - ORCA_RELAY_ADMIN_JWKS_URL: `${issuer}/jwks` - }, - stdio: ['ignore', 'pipe', 'pipe'] - }) - relayUrl = cellUrl - try { - await waitForRelay(cellProcess) - const token = await relayToken('orca-relay', hostId) - const assignmentResponse = await fetch(`${cellUrl}/v1/assign`, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify({ v: 1, relayHostId: hostId }) - }) - expect(assignmentResponse.status).toBe(404) - const cellStatusResponse = await fetch(`${cellUrl}/v1/admin/cell-status`, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify({ v: 1, cellId: 'cell-a' }) - }) - expect(cellStatusResponse.status).toBe(404) - - const stale = new WebSocket(`${cellUrl.replace('http:', 'ws:')}/v1/host/control`, { - headers: { authorization: `Bearer ${token}` } - }) - await new Promise((resolveOpen) => stale.once('open', resolveOpen)) - const staleClosed = new Promise((resolveClose) => - stale.once('close', (code) => resolveClose(code)) - ) - stale.send( - JSON.stringify({ - type: 'host-hello', - v: 1, - relayHostId: hostId, - assignmentEpoch: 2, - hostPublicKeyB64: Buffer.from(keyPair.publicKey).toString('base64'), - appVersion: 'test' - }) - ) - expect(await staleClosed).toBe(4409) - - const assigned = await openHostControl({ keyPair }) - expect(assigned.ack).toMatchObject({ type: 'host-hello-ack', generation: 1 }) - const invitePromise = nextMessage(assigned.socket) - assigned.socket.send( - JSON.stringify({ - type: 'invite-create', - reqId: 'cell-invite', - relayDeviceId: 'cell-device' - }) - ) - const invite = await invitePromise - const splice = await attachPhone({ - host: assigned.socket, - hostAck: assigned.ack, - hostId, - credential: String(invite.inviteToken) - }) - const observedDatabase = await openRelayDatabase({ dataDir: cellData }) - const activities = await observedDatabase.query( - `SELECT activity_kind, request_units FROM relay_assignment_activity_leases - ORDER BY activity_kind, activity_id` - ) - await observedDatabase.close() - expect(activities).toEqual([ - { activity_kind: 'control', request_units: 1 }, - { activity_kind: 'invite', request_units: 1 }, - { activity_kind: 'invite', request_units: 1 }, - { activity_kind: 'splice', request_units: 2 } - ]) - splice.phone.close() - splice.data.close() - assigned.socket.close() - } finally { - await stopRelay(cellProcess, 'SIGTERM') - relayUrl = originalUrl - rmSync(cellData, { recursive: true, force: true }) - } - }) - - it('runs target-first dual-cell evacuation before releasing the source control', async () => { - const originalUrl = relayUrl - const dataDirectory = mkdtempSync(resolve(tmpdir(), 'orca-relay-topology-')) - const directorUrl = `http://127.0.0.1:${await unusedPort()}` - const cellAUrl = `http://127.0.0.1:${await unusedPort()}` - const cellBUrl = `http://127.0.0.1:${await unusedPort()}` - const cells = [ - { id: 'cell-a', url: cellAUrl, capacityRequests: 10 }, - { id: 'cell-b', url: cellBUrl, capacityRequests: 10 } - ] - const keyPair = nacl.box.keyPair() - const hostId = createHash('sha256').update(keyPair.publicKey).digest('base64url').slice(0, 16) - const seedDatabase = await openRelayDatabase({ dataDir: dataDirectory }) - const seedAssignments = new RelayAssignmentStore(seedDatabase) - await seedAssignments.reconcileCells(cells) - await seedAssignments.assign({ userId: 'user-1', relayHostId: hostId }) - await seedDatabase.close() - - const cellA = spawnTopologyRelay({ - url: cellAUrl, - dataDirectory, - role: 'cell', - cellId: 'cell-a' - }) - let director: ChildProcess | undefined - let cellB: ChildProcess | undefined - try { - await waitForRelay(cellA) - director = spawnTopologyRelay({ - url: directorUrl, - dataDirectory, - role: 'director', - cellId: 'director', - cells - }) - await waitForRelay(director) - expect( - await fetch(`${directorUrl}/v1/admin/cell-heartbeat`, { - method: 'POST', - headers: { 'content-type': 'application/json' }, - body: '{}' - }) - ).toMatchObject({ status: 401 }) - const heartbeatAudience = `${directorUrl}/v1/admin/cell-heartbeat` - expect( - await fetch(heartbeatAudience, { - method: 'POST', - headers: { - authorization: `Bearer ${await googleServiceToken(`${directorUrl}/wrong`)}`, - 'content-type': 'application/json' - }, - body: '{}' - }) - ).toMatchObject({ status: 401 }) - expect( - await fetch(heartbeatAudience, { - method: 'POST', - headers: { - authorization: `Bearer ${await googleServiceToken(heartbeatAudience, 'wrong@example.com')}`, - 'content-type': 'application/json' - }, - body: '{}' - }) - ).toMatchObject({ status: 401 }) - expect(await postCellHeartbeat(directorUrl, cells[0]!, { startedAt: 1_000 })).toMatchObject({ - status: 200 - }) - expect( - await postCellHeartbeat(directorUrl, cells[0]!, { - incarnation: '33333333-3333-4333-8333-333333333333', - startedAt: 999 - }) - ).toMatchObject({ status: 409 }) - expect( - await postCellHeartbeat(directorUrl, cells[1]!, { - incarnation: '22222222-2222-4222-8222-222222222222', - startedAt: 2_000 - }) - ).toMatchObject({ status: 200 }) - relayUrl = cellAUrl - const sourceHost = await openHostControl({ keyPair, assignmentEpoch: 1 }) - const token = await adminToken() - const recoveryRequests = [ - { - path: 'cell-fence-attempt-prepare', - body: { - v: 1, - attemptId: '44444444-4444-4444-8444-444444444444', - environment: 'production', - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - migName: 'orca-relay-c1', - instanceGroup: 'https://compute.example/instanceGroups/orca-relay-c1', - generationIdentity: 'https://compute.example/instanceTemplates/orca-relay-c1-abc', - fenceCommit: 'a'.repeat(40), - planSha256: 'b'.repeat(64), - planObjectName: - 'terraform/state/relay-fence-plans/production/44444444-4444-4444-8444-444444444444.tfplan', - varFileSha256: 'c'.repeat(64), - terraformStateLineage: 'c739dab4-e6e1-e627-02a9-504b3dda1a2c', - terraformStateSerial: 7, - terraformStateObjectGeneration: '987654321', - terraformStateObjectSha256: 'd'.repeat(64), - requestReason: 'orca-relay-fence/44444444-4444-4444-8444-444444444444' - }, - confirmation: 'PREPARE_TERRAFORM_CELL_FENCE', - expected: { status: 409, body: { error: 'cell_fence_admission_enabled' } } - }, - { - path: 'cell-fence-attempt-abort', - body: { - v: 1, - attemptId: '44444444-4444-4444-8444-444444444444', - environment: 'production', - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - migName: 'orca-relay-c1', - instanceGroup: 'https://compute.example/instanceGroups/orca-relay-c1', - generationIdentity: 'https://compute.example/instanceTemplates/orca-relay-c1-abc', - fenceCommit: 'a'.repeat(40), - planSha256: 'b'.repeat(64), - planObjectName: - 'terraform/state/relay-fence-plans/production/44444444-4444-4444-8444-444444444444.tfplan', - varFileSha256: 'c'.repeat(64), - terraformStateLineage: 'c739dab4-e6e1-e627-02a9-504b3dda1a2c', - terraformStateSerial: 7, - terraformStateObjectGeneration: '987654321', - terraformStateObjectSha256: 'd'.repeat(64), - requestReason: 'orca-relay-fence/44444444-4444-4444-8444-444444444444' - }, - confirmation: 'ABORT_UNSTARTED_TERRAFORM_CELL_FENCE', - expected: { status: 409, body: { error: 'cell_fence_attempt_not_found' } } - }, - { - path: 'migration-supersede-cell', - body: { - v: 1, - sourceCellId: 'cell-a', - currentTargetCellId: 'cell-b', - replacementTargetCellId: 'cell-c', - limit: 100 - }, - confirmation: 'SUPERSEDE_REGISTERED_CELL_MIGRATIONS', - expected: { status: 200, body: { v: 1, superseded: 0 } } - }, - { - path: 'drain-attempt-prepare', - body: { - v: 1, - attemptId: '55555555-5555-4555-8555-555555555555', - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - traceValue: '66666666-6666-4666-8666-666666666666', - graceMs: 120_000 - }, - confirmation: 'PREPARE_LEGACY_DRAIN', - expected: { status: 409, body: { error: 'drain_attempt_admission_enabled' } } - }, - { - path: 'drain-attempt-recover-forward', - body: { - v: 1, - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111' - }, - confirmation: 'RECOVER_LEGACY_DRAIN', - expected: { status: 409, body: { error: 'drain_attempt_admission_enabled' } } - } - ] - for (const request of recoveryRequests) { - const url = `${directorUrl}/v1/admin/${request.path}` - expect( - await fetch(url, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify(request.body) - }) - ).toMatchObject({ status: 400 }) - const confirmed = await fetch(url, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify({ ...request.body, confirmation: request.confirmation }) - }) - expect(confirmed.status).toBe(request.expected.status) - expect(await confirmed.json()).toEqual(request.expected.body) - } - const statusUrl = `${directorUrl}/v1/admin/cell-status` - expect( - await fetch(statusUrl, { - method: 'POST', - headers: { 'content-type': 'application/json' }, - body: JSON.stringify({ v: 1, cellId: 'cell-a' }) - }) - ).toMatchObject({ status: 401 }) - expect( - await fetch(statusUrl, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify({ v: 1, cellId: 'cell-a', userId: 'must-not-be-accepted' }) - }) - ).toMatchObject({ status: 400 }) - const sourceStatusResponse = await fetch(statusUrl, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify({ v: 1, cellId: 'cell-a' }) - }) - expect(sourceStatusResponse.status).toBe(200) - const sourceStatusText = await sourceStatusResponse.text() - expect(sourceStatusText).not.toContain('user-1') - expect(sourceStatusText).not.toContain(hostId) - expect(JSON.parse(sourceStatusText)).toMatchObject({ - v: 1, - status: { - cellId: 'cell-a', - cellUrl: cellAUrl, - enabled: true, - assignments: 1, - activityLeases: 1, - activityRequestUnits: 1, - restartBlockingActivityLeases: 1, - restartBlockingActivityRequestUnits: 1, - restartBlockingReservedRequests: 1, - runtime: { cellUrl: cellAUrl, ready: true, heartbeatFresh: true } - } - }) - const cellState = async (cellId: string, enabled: boolean): Promise => - await fetch(`${directorUrl}/v1/admin/cell-state`, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify({ v: 1, cellId, enabled }) - }) - const configuredTarget = await fetch(`${directorUrl}/v1/admin/cell-config`, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify({ - v: 1, - cellId: 'cell-b', - cellUrl: cellBUrl, - capacityRequests: 10, - state: 'existing-only' - }) - }) - expect(configuredTarget.status).toBe(200) - expect(await configuredTarget.json()).toEqual({ ok: true }) - const incompleteLimit = await fetch(`${directorUrl}/v1/admin/cell-config`, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify({ - v: 1, - cellId: 'cell-b', - cellUrl: cellBUrl, - capacityRequests: 10, - connectionHardCap: 600, - enabled: false - }) - }) - expect(incompleteLimit.status).toBe(400) - const capacity = await fetch(`${directorUrl}/v1/admin/evacuation-capacity`, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify({ v: 1, sourceCellId: 'cell-a', targetCellId: 'cell-b' }) - }) - expect(capacity.status).toBe(200) - expect(await capacity.json()).toEqual({ - v: 1, - sourceAssignments: 1, - requiredTargetUnits: 2, - availableTargetUnits: 10 - }) - const disabledTarget = await fetch(`${directorUrl}/v1/admin/evacuate`, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify({ - v: 1, - userId: 'user-1', - relayHostId: hostId, - targetCellId: 'cell-b' - }) - }) - expect(disabledTarget.status).toBe(409) - expect(await disabledTarget.json()).toEqual({ error: 'target_cell_unavailable' }) - expect((await cellState('cell-b', true)).status).toBe(200) - const migrationResponse = await fetch(`${directorUrl}/v1/admin/evacuate-cell`, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify({ - v: 1, - sourceCellId: 'cell-a', - targetCellId: 'cell-b', - limit: 10 - }) - }) - expect(migrationResponse.status).toBe(200) - expect(await migrationResponse.json()).toEqual({ v: 1, started: 1 }) - const pendingStatus = await fetch(`${directorUrl}/v1/admin/evacuation-status`, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify({ - v: 1, - sourceCellId: 'cell-a', - targetCellId: 'cell-b' - }) - }) - expect(pendingStatus.status).toBe(200) - expect(await pendingStatus.json()).toMatchObject({ - v: 1, - inProgress: 1, - targetRegistered: 0, - registeredSourceActive: 0, - registeredCompletable: 0, - registeredTargetInactive: 0, - completed: 0, - blocked: 0, - expiredUnregistered: 0, - repairableExpiredUnregistered: 0, - abortableExpiredUnregistered: 0, - blockedExpiredUnregistered: 0, - blockedExpiredOnNewerTargetAssignment: 0 - }) - // Admin completion must prove source admission stopped despite its separate topology preflight. - expect((await cellState('cell-a', false)).status).toBe(200) - - cellB = spawnTopologyRelay({ - url: cellBUrl, - dataDirectory, - role: 'cell', - cellId: 'cell-b' - }) - await waitForRelay(cellB) - relayUrl = cellBUrl - const targetHost = await openHostControl({ keyPair, assignmentEpoch: 2 }) - const completionBody = JSON.stringify({ - v: 1, - sourceCellId: 'cell-a', - targetCellId: 'cell-b', - completeReady: true - }) - const premature = await fetch(`${directorUrl}/v1/admin/evacuation-status`, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: completionBody - }) - expect(premature.status).toBe(200) - expect(await premature.json()).toMatchObject({ - v: 1, - inProgress: 1, - targetRegistered: 1, - registeredSourceActive: 1, - registeredCompletable: 0, - registeredTargetInactive: 0, - completed: 0, - blocked: 1, - expiredUnregistered: 0, - repairableExpiredUnregistered: 0, - abortableExpiredUnregistered: 0, - blockedExpiredUnregistered: 0, - blockedExpiredOnNewerTargetAssignment: 0 - }) - - const sourceClosed = new Promise((resolveClose) => - sourceHost.socket.once('close', (code) => resolveClose(code)) - ) - const drain = await fetch(`${cellAUrl}/v1/admin/drain`, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify({ v: 1, graceMs: 0 }) - }) - expect(drain.status).toBe(200) - expect(await sourceClosed).toBe(4503) - - let completed: Response | undefined - for (let attempt = 0; attempt < 20; attempt++) { - completed = await fetch(`${directorUrl}/v1/admin/evacuation-status`, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: completionBody - }) - if ( - completed.status === 200 && - ((await completed.clone().json()) as { inProgress?: number }).inProgress === 0 - ) { - break - } - await new Promise((resolveWait) => setTimeout(resolveWait, 10)) - } - expect(completed?.status).toBe(200) - expect(await completed?.json()).toMatchObject({ - v: 1, - inProgress: 0, - targetRegistered: 0, - registeredSourceActive: 0, - registeredCompletable: 0, - registeredTargetInactive: 0, - completed: 1, - blocked: 0, - expiredUnregistered: 0, - repairableExpiredUnregistered: 0, - abortableExpiredUnregistered: 0, - blockedExpiredUnregistered: 0, - blockedExpiredOnNewerTargetAssignment: 0 - }) - const observedDatabase = await openRelayDatabase({ dataDir: dataDirectory }) - const assignment = await new RelayAssignmentStore(observedDatabase).resolve({ - userId: 'user-1', - relayHostId: hostId - }) - const reservations = await observedDatabase.query( - `SELECT cell_id, reserved_requests FROM relay_cells ORDER BY cell_id` - ) - await observedDatabase.close() - expect(assignment).toMatchObject({ cellId: 'cell-b', assignmentEpoch: 2 }) - expect(reservations).toEqual([ - { cell_id: 'cell-a', reserved_requests: 0 }, - { cell_id: 'cell-b', reserved_requests: 1 } - ]) - const selectorStatusBefore = await fetch( - `${directorUrl}/v1/admin/admission-selector/status`, - { - method: 'POST', - headers: { - authorization: `Bearer ${token}`, - 'content-type': 'application/json' - }, - body: JSON.stringify({ v: 1 }) - } - ) - expect(selectorStatusBefore.status).toBe(200) - const selectorBefore = (await selectorStatusBefore.json()) as { - selector: { membership: CellAdmissionMembership } - } - const selectorInput = { - v: 1, - attemptId: 'blackbox_cutover', - expectedGeneration: 0, - expectedMembershipSha256: createHash('sha256') - .update(encodeMembership(selectorBefore.selector.membership)) - .digest('hex'), - membership: { - existingOnly: ['cell-a'], - migrationOnly: [], - general: ['cell-b'] - } - } - const unsafeSelectorInput = { ...selectorInput, expectedMembershipSha256: undefined } - const unsafeSelectorResponse = await fetch( - `${directorUrl}/v1/admin/admission-selector/apply`, - { - method: 'POST', - headers: { - authorization: `Bearer ${token}`, - 'content-type': 'application/json' - }, - body: JSON.stringify(unsafeSelectorInput) - } - ) - expect(unsafeSelectorResponse.status).toBe(400) - const selectorResponse = await fetch(`${directorUrl}/v1/admin/admission-selector/apply`, { - method: 'POST', - headers: { - authorization: `Bearer ${token}`, - 'content-type': 'application/json' - }, - body: JSON.stringify(selectorInput) - }) - expect(selectorResponse.status).toBe(200) - expect(await selectorResponse.json()).toMatchObject({ - v: 1, - changed: true, - selector: { generation: 1, membership: selectorInput.membership } - }) - const selectorStatus = await fetch(`${directorUrl}/v1/admin/admission-selector/status`, { - method: 'POST', - headers: { - authorization: `Bearer ${token}`, - 'content-type': 'application/json' - }, - body: JSON.stringify({ v: 1, attemptId: selectorInput.attemptId }) - }) - expect(selectorStatus.status).toBe(200) - expect(await selectorStatus.json()).toMatchObject({ - v: 1, - selector: { generation: 1, membership: selectorInput.membership }, - intent: { attemptId: selectorInput.attemptId, state: 'committed' } - }) - const addCellsInput = { - v: 1, - attemptId: 'blackbox_add_cells', - expectedGeneration: 1, - cells: [ - { - cellId: 'cell-c', - cellUrl: 'https://relay-c.example.com', - capacityRequests: 20, - connectionHardCap: 1_000, - connectionUnobservedBound: 60 - } - ] - } - const addCellsResponse = await fetch( - `${directorUrl}/v1/admin/admission-selector/add-migration-cells`, - { - method: 'POST', - headers: { - authorization: `Bearer ${token}`, - 'content-type': 'application/json' - }, - body: JSON.stringify(addCellsInput) - } - ) - expect(addCellsResponse.status).toBe(200) - expect(await addCellsResponse.json()).toMatchObject({ - v: 1, - changed: true, - selector: { - generation: 2, - membership: { - existingOnly: ['cell-a'], - migrationOnly: ['cell-c'], - general: ['cell-b'] - } - } - }) - expect((await cellState('cell-a', true)).status).toBe(409) - targetHost.socket.close() - } finally { - for (const child of [cellA, cellB, director]) { - await stopRelay(child) - } - relayUrl = originalUrl - rmSync(dataDirectory, { recursive: true, force: true }) - } - }) - - it('recovers an unexpired invite through a restarted configured director without reservation', async () => { - const combinedUrl = relayUrl - const host = await openHostControl() - const hostId = createHash('sha256') - .update(host.keyPair.publicKey) - .digest('base64url') - .slice(0, 16) - const invitePromise = nextMessage(host.socket) - host.socket.send( - JSON.stringify({ type: 'invite-create', reqId: 'move-invite', relayDeviceId: 'move-device' }) - ) - const invite = await invitePromise - host.socket.close() - - await stopRelay(relayProcess, 'SIGKILL') - const directorPort = await unusedPort() - relayUrl = `http://127.0.0.1:${directorPort}` - relayProcess = spawnProcess({ - program: process.execPath, - args: ['--import', 'tsx', 'src/index.ts'], - cwd: appDirectory, - env: { - ...process.env, - PORT: String(directorPort), - ORCA_RELAY_PUBLIC_URL: relayUrl, - ORCA_RELAY_CELL_URL: 'https://relay-c2.onorca.dev', - ORCA_RELAY_AUTH_ISSUER: issuer, - ORCA_RELAY_JWKS_URL: `${issuer}/jwks`, - ORCA_RELAY_ASSIGNMENT_SIGNING_KEY: assignmentKey, - ORCA_RELAY_DATA_DIR: relayDataDirectory, - ORCA_RELAY_ROLE: 'director', - ORCA_RELAY_CELLS_JSON: JSON.stringify([ - { - id: 'cell-c2', - url: 'https://relay-c2.onorca.dev', - capacityRequests: 900 - } - ]), - ORCA_RELAY_ADMIN_AUDIENCE: adminAudience, - ORCA_RELAY_DEPLOY_SERVICE_ACCOUNT: 'deploy@example.com', - ORCA_RELAY_ADMIN_JWKS_URL: `${issuer}/jwks` - }, - stdio: ['ignore', 'pipe', 'pipe'] - }) - await waitForRelay(relayProcess) - expect( - await postCellHeartbeat(relayUrl, { - id: 'cell-c2', - url: 'https://relay-c2.onorca.dev' - }) - ).toMatchObject({ status: 200 }) - - const phone = new WebSocket(`${relayUrl.replace('http:', 'ws:')}/v1/connect/${hostId}`, { - headers: forwardedHeaders() - }) - await new Promise((resolveOpen) => phone.once('open', resolveOpen)) - const movedPromise = nextMessage(phone) - const closed = new Promise((resolveClose) => - phone.once('close', (code) => resolveClose(code)) - ) - phone.send( - JSON.stringify({ - type: 'relay-auth', - v: 1, - mode: 'connect', - credential: invite.inviteToken - }) - ) - expect(await movedPromise).toEqual({ - type: 'relay-moved', - v: 1, - cellUrl: 'https://relay-c2.onorca.dev', - assignmentEpoch: 1 - }) - expect(await closed).toBe(4503) - - await stopRelay(relayProcess, 'SIGTERM') - relayUrl = combinedUrl - relayProcess = spawnProcess({ - program: process.execPath, - args: ['--import', 'tsx', 'src/index.ts'], - cwd: appDirectory, - env: { - ...process.env, - PORT: new URL(combinedUrl).port, - ORCA_RELAY_PUBLIC_URL: combinedUrl, - ORCA_RELAY_CELL_URL: combinedUrl, - ORCA_RELAY_AUTH_ISSUER: issuer, - ORCA_RELAY_JWKS_URL: `${issuer}/jwks`, - ORCA_RELAY_ASSIGNMENT_SIGNING_KEY: assignmentKey, - ORCA_RELAY_DATA_DIR: relayDataDirectory, - ORCA_RELAY_ADMIN_AUDIENCE: adminAudience, - ORCA_RELAY_DEPLOY_SERVICE_ACCOUNT: 'deploy@example.com', - ORCA_RELAY_CAPACITY_SERVICE_ACCOUNT: 'capacity@example.com', - ORCA_RELAY_MONITOR_SERVICE_ACCOUNT: 'monitor@example.com', - ORCA_RELAY_FENCE_SERVICE_ACCOUNT: 'fence@example.com', - ORCA_RELAY_IMAGE_DIGEST: `sha256:${'a'.repeat(64)}`, - ORCA_RELAY_ADMIN_JWKS_URL: `${issuer}/jwks` - }, - stdio: ['ignore', 'pipe', 'pipe'] - }) - await waitForRelay(relayProcess) - }) - it('uses configured-director recovery and typed 4503 on unplanned SIGTERM', async () => { const originalUrl = relayUrl const signalPort = await unusedPort() @@ -2627,236 +391,4 @@ describe('served relay URL', () => { rmSync(signalData, { recursive: true, force: true }) } }) - - it('authenticates admin drain with exact Google audience and deploy identity', async () => { - const host = await openHostControl() - const drainMessage = nextMessage(host.socket) - const closed = new Promise((resolveClose) => - host.socket.once('close', (code) => resolveClose(code)) - ) - const token = await new SignJWT({ email: 'deploy@example.com', email_verified: true }) - .setProtectedHeader({ alg: 'RS256', kid: 'admin-key' }) - .setIssuer('https://accounts.google.com') - .setAudience(adminAudience) - .setSubject('deploy-subject') - .setIssuedAt() - .setExpirationTime('5m') - .sign(adminPrivateKey) - for (const invalid of [ - await googleServiceToken(`${adminAudience}/other`), - await googleServiceToken(adminAudience, 'other@example.com') - ]) { - expect( - ( - await fetch(`${relayUrl}/v1/admin/drain`, { - method: 'POST', - headers: { authorization: `Bearer ${invalid}`, 'content-type': 'application/json' }, - body: JSON.stringify({ v: 1, graceMs: 0 }) - }) - ).status - ).toBe(401) - } - const response = await fetch(`${relayUrl}/v1/admin/drain`, { - method: 'POST', - headers: { - authorization: `Bearer ${token}`, - 'content-type': 'application/json' - }, - body: JSON.stringify({ v: 1, graceMs: 0 }) - }) - expect(response.status).toBe(200) - expect(await drainMessage).toEqual({ - type: 'drain', - graceMs: 0, - recovery: 'resolve-director' - }) - expect(await closed).toBe(4503) - }) - - it('keeps dedicated capacity, monitor, and fence identities on exact routes', async () => { - const capacity = await googleServiceToken(adminAudience, 'capacity@example.com') - const monitor = await googleServiceToken(adminAudience, 'monitor@example.com') - const fence = await googleServiceToken(adminAudience, 'fence@example.com') - const broker = await googleServiceToken(adminAudience, 'broker@example.com') - const post = async (path: string, token: string, body: unknown): Promise => - await fetch(`${relayUrl}${path}`, { - method: 'POST', - headers: { - authorization: `Bearer ${token}`, - 'content-type': 'application/json' - }, - body: JSON.stringify(body) - }) - - expect((await post('/v1/admin/runtime-status', capacity, { v: 1 })).status).toBe(200) - expect( - ( - await post('/v1/admin/evacuation-status', capacity, { - v: 1, - sourceCellId: 'source', - targetCellId: 'target', - completeReady: false - }) - ).status - ).toBe(401) - expect( - ( - await post('/v1/admin/cell-fence-attempt-status', capacity, { - v: 1, - cellId: 'production-gce-c1' - }) - ).status - ).toBe(401) - - expect((await post('/v1/admin/runtime-status', monitor, { v: 1 })).status).toBe(200) - expect((await post('/v1/admin/drain', monitor, { v: 1, graceMs: 0 })).status).toBe(401) - expect( - ( - await post('/v1/admin/cell-fence-attempt-status', monitor, { - v: 1, - cellId: 'production-gce-c1' - }) - ).status - ).toBe(401) - - expect((await post('/v1/admin/runtime-status', fence, { v: 1 })).status).toBe(200) - expect((await post('/v1/admin/drain', fence, { v: 1, graceMs: 0 })).status).toBe(401) - expect( - ( - await post('/v1/admin/cell-fence-attempt-status', fence, { - v: 1, - cellId: 'production-gce-c1' - }) - ).status - ).toBe(404) - expect( - ( - await post('/v1/admin/cell-fence-attest', fence, { - v: 1 - }) - ).status - ).toBe(401) - - const directorPort = await unusedPort() - const directorUrl = `http://127.0.0.1:${directorPort}` - const directorData = mkdtempSync(resolve(tmpdir(), 'orca-relay-monitor-auth-')) - const director = spawnTopologyRelay({ - url: directorUrl, - dataDirectory: directorData, - role: 'director', - cellId: 'director', - cells: [{ id: 'cell-a', url: 'https://cell-a.example.com', capacityRequests: 10 }] - }) - try { - await waitForRelay(director) - const adoption = { - v: 1, - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - confirmation: 'ADOPT_LEGACY_TERRAFORM_CELL_FENCE' - } - const postDirector = async (token: string): Promise => - await fetch(`${directorUrl}/v1/admin/cell-fence-adopt-legacy`, { - method: 'POST', - headers: { - authorization: `Bearer ${token}`, - 'content-type': 'application/json' - }, - body: JSON.stringify(adoption) - }) - expect((await postDirector(fence)).status).toBe(401) - expect((await postDirector(broker)).status).toBe(409) - const commitAdoption = { - v: 1, - cellId: 'cell-a', - cellIncarnation: '11111111-1111-4111-8111-111111111111', - confirmation: 'COMMIT_LEGACY_TERRAFORM_CELL_FENCE_ADOPTION' - } - const postCommit = async (token: string): Promise => - await fetch(`${directorUrl}/v1/admin/cell-fence-commit-legacy-adoption`, { - method: 'POST', - headers: { - authorization: `Bearer ${token}`, - 'content-type': 'application/json' - }, - body: JSON.stringify(commitAdoption) - }) - expect((await postCommit(fence)).status).toBe(401) - expect((await postCommit(broker)).status).toBe(409) - const response = await fetch(`${directorUrl}/v1/admin/evacuation-status`, { - method: 'POST', - headers: { - authorization: `Bearer ${monitor}`, - 'content-type': 'application/json' - }, - body: JSON.stringify({ - v: 1, - sourceCellId: 'cell-a', - targetCellId: 'cell-b', - completeReady: true - }) - }) - expect(response.status).toBe(403) - const fenceResponse = await fetch(`${directorUrl}/v1/admin/evacuation-status`, { - method: 'POST', - headers: { - authorization: `Bearer ${fence}`, - 'content-type': 'application/json' - }, - body: JSON.stringify({ - v: 1, - sourceCellId: 'cell-a', - targetCellId: 'cell-b', - completeReady: true - }) - }) - expect(fenceResponse.status).toBe(403) - } finally { - await stopRelay(director) - rmSync(directorData, { recursive: true, force: true }) - } - }) - - it('reports only authenticated aggregate runtime identity and the served digest', async () => { - const token = await adminToken() - expect( - await fetch(`${relayUrl}/v1/admin/runtime-status`, { - method: 'POST', - headers: { 'content-type': 'application/json' }, - body: JSON.stringify({ v: 1 }) - }) - ).toMatchObject({ status: 401 }) - expect( - await fetch(`${relayUrl}/v1/admin/runtime-status`, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify({ v: 1, hostId: 'must-not-be-accepted' }) - }) - ).toMatchObject({ status: 400 }) - const response = await fetch(`${relayUrl}/v1/admin/runtime-status`, { - method: 'POST', - headers: { authorization: `Bearer ${token}`, 'content-type': 'application/json' }, - body: JSON.stringify({ v: 1 }) - }) - expect(response.status).toBe(200) - expect(await response.json()).toEqual({ - v: 1, - role: 'combined', - cellId: 'combined', - cellUrl: relayUrl, - region: 'us-central1', - imageDigest: `sha256:${'a'.repeat(64)}`, - draining: true, - regionalRehomeProtocol: 0, - connectionCapacity: null, - runtime: { - totalConnections: 0, - preAuthConnections: 0, - controls: 0, - splices: 0, - pendingSplices: 0, - queuedBytes: 0 - } - }) - }) }) diff --git a/config/ast-grep/rule-tests/__snapshots__/claude-chat-entrypoint-callers-snapshot.yml b/config/ast-grep/rule-tests/__snapshots__/claude-chat-entrypoint-callers-snapshot.yml new file mode 100644 index 00000000000..6bd5f856dd1 --- /dev/null +++ b/config/ast-grep/rule-tests/__snapshots__/claude-chat-entrypoint-callers-snapshot.yml @@ -0,0 +1,14 @@ +id: claude-chat-entrypoint-callers +snapshots: + "import { withOrcaClaudeChatEntrypoint as stamp } from './claude-chat-entrypoint'": + labels: + - source: withOrcaClaudeChatEntrypoint + style: primary + start: 9 + end: 37 + 'withOrcaClaudeChatEntrypoint(env, platform)': + labels: + - source: withOrcaClaudeChatEntrypoint + style: primary + start: 0 + end: 28 diff --git a/config/ast-grep/rule-tests/__snapshots__/claude-chat-entrypoint-owner-snapshot.yml b/config/ast-grep/rule-tests/__snapshots__/claude-chat-entrypoint-owner-snapshot.yml new file mode 100644 index 00000000000..05f177c95df --- /dev/null +++ b/config/ast-grep/rule-tests/__snapshots__/claude-chat-entrypoint-owner-snapshot.yml @@ -0,0 +1,20 @@ +id: claude-chat-entrypoint-owner +snapshots: + "const env = { CLAUDE_CODE_ENTRYPOINT: 'orca' }": + labels: + - source: CLAUDE_CODE_ENTRYPOINT + style: primary + start: 14 + end: 36 + const identity = 'sdk-cli': + labels: + - source: sdk-cli + style: primary + start: 18 + end: 25 + "env['claude_code_entrypoint'] = 'other'": + labels: + - source: claude_code_entrypoint + style: primary + start: 5 + end: 27 diff --git a/config/ast-grep/rule-tests/__snapshots__/claude-entrypoint-key-owner-snapshot.yml b/config/ast-grep/rule-tests/__snapshots__/claude-entrypoint-key-owner-snapshot.yml new file mode 100644 index 00000000000..ea2790098fb --- /dev/null +++ b/config/ast-grep/rule-tests/__snapshots__/claude-entrypoint-key-owner-snapshot.yml @@ -0,0 +1,14 @@ +id: claude-entrypoint-key-owner +snapshots: + "env[CLAUDE_ENTRYPOINT_ENV] = 'orca'": + labels: + - source: CLAUDE_ENTRYPOINT_ENV + style: primary + start: 4 + end: 25 + "import { CLAUDE_ENTRYPOINT_ENV as key } from './claude-chat-entrypoint'": + labels: + - source: CLAUDE_ENTRYPOINT_ENV + style: primary + start: 9 + end: 30 diff --git a/config/ast-grep/rule-tests/claude-chat-entrypoint-callers-test.yml b/config/ast-grep/rule-tests/claude-chat-entrypoint-callers-test.yml new file mode 100644 index 00000000000..2af948c77c9 --- /dev/null +++ b/config/ast-grep/rule-tests/claude-chat-entrypoint-callers-test.yml @@ -0,0 +1,6 @@ +id: claude-chat-entrypoint-callers +valid: + - 'stripInheritedAgentSessionEnv(env)' +invalid: + - 'withOrcaClaudeChatEntrypoint(env, platform)' + - "import { withOrcaClaudeChatEntrypoint as stamp } from './claude-chat-entrypoint'" diff --git a/config/ast-grep/rule-tests/claude-chat-entrypoint-owner-test.yml b/config/ast-grep/rule-tests/claude-chat-entrypoint-owner-test.yml new file mode 100644 index 00000000000..87a75f4a143 --- /dev/null +++ b/config/ast-grep/rule-tests/claude-chat-entrypoint-owner-test.yml @@ -0,0 +1,8 @@ +id: claude-chat-entrypoint-owner +valid: + - 'const env = withOrcaClaudeChatEntrypoint(configured, platform)' + - "const binary = 'orca'" +invalid: + - "const env = { CLAUDE_CODE_ENTRYPOINT: 'orca' }" + - "env['claude_code_entrypoint'] = 'other'" + - "const identity = 'sdk-cli'" diff --git a/config/ast-grep/rule-tests/claude-entrypoint-key-owner-test.yml b/config/ast-grep/rule-tests/claude-entrypoint-key-owner-test.yml new file mode 100644 index 00000000000..c63b8b38063 --- /dev/null +++ b/config/ast-grep/rule-tests/claude-entrypoint-key-owner-test.yml @@ -0,0 +1,6 @@ +id: claude-entrypoint-key-owner +valid: + - "const binary = 'orca'" +invalid: + - "env[CLAUDE_ENTRYPOINT_ENV] = 'orca'" + - "import { CLAUDE_ENTRYPOINT_ENV as key } from './claude-chat-entrypoint'" diff --git a/config/ast-grep/rules/claude-chat-entrypoint.yml b/config/ast-grep/rules/claude-chat-entrypoint.yml new file mode 100644 index 00000000000..0d2bbad8f49 --- /dev/null +++ b/config/ast-grep/rules/claude-chat-entrypoint.yml @@ -0,0 +1,117 @@ +id: claude-chat-entrypoint-owner +language: typescript +severity: error +message: Keep the Claude identity literal in claude-chat-entrypoint.ts. +files: ['src/**'] +ignores: + - '**/*.test.*' + - '**/*.test-fixtures.*' + - '**/__fixtures__/**' + - 'src/shared/agent-launch/startup/claude-chat-entrypoint.ts' +rule: + all: + - any: + - kind: string_fragment + - kind: property_identifier + - kind: identifier + - regex: '(?i)^(CLAUDE_CODE_ENTRYPOINT|sdk-cli)$' +--- +id: claude-chat-entrypoint-owner-tsx +language: tsx +severity: error +message: Keep the Claude identity literal in claude-chat-entrypoint.ts. +files: ['src/**'] +ignores: + - '**/*.test.*' + - '**/*.test-fixtures.*' + - '**/__fixtures__/**' + - 'src/shared/agent-launch/startup/claude-chat-entrypoint.ts' +rule: + all: + - any: + - kind: string_fragment + - kind: property_identifier + - kind: identifier + - regex: '(?i)^(CLAUDE_CODE_ENTRYPOINT|sdk-cli)$' +--- +id: claude-chat-entrypoint-callers +language: typescript +severity: error +message: Only structured native chat and its own probes may apply the chat identity. +files: ['src/**'] +ignores: + - '**/*.test.*' + - '**/*.test-fixtures.*' + - '**/__fixtures__/**' + - 'src/shared/agent-launch/startup/claude-chat-entrypoint.ts' + - 'src/main/claude/claude-stream-json-connection.ts' + - 'src/main/claude/claude-agent-sdk-process-spawn.ts' + - 'src/main/claude/structured/launch/claude-structured-child-env.ts' + - 'src/main/claude/claude-model-catalog-probe.ts' +rule: + all: + - any: + - kind: string_fragment + - kind: property_identifier + - kind: identifier + - regex: '^withOrcaClaudeChatEntrypoint$' +--- +id: claude-chat-entrypoint-callers-tsx +language: tsx +severity: error +message: Only structured native chat and its own probes may apply the chat identity. +files: ['src/**'] +ignores: + - '**/*.test.*' + - '**/*.test-fixtures.*' + - '**/__fixtures__/**' + - 'src/shared/agent-launch/startup/claude-chat-entrypoint.ts' + - 'src/main/claude/claude-stream-json-connection.ts' + - 'src/main/claude/claude-agent-sdk-process-spawn.ts' + - 'src/main/claude/structured/launch/claude-structured-child-env.ts' + - 'src/main/claude/claude-model-catalog-probe.ts' +rule: + all: + - any: + - kind: string_fragment + - kind: property_identifier + - kind: identifier + - regex: '^withOrcaClaudeChatEntrypoint$' +--- +id: claude-entrypoint-key-owner +language: typescript +severity: error +message: Only the chat identity owner and inherited-session isolation may access this key directly. +files: ['src/**'] +ignores: + - '**/*.test.*' + - '**/*.test-fixtures.*' + - '**/__fixtures__/**' + - 'src/shared/agent-launch/startup/claude-chat-entrypoint.ts' + - 'src/shared/agent-launch/startup/parent-agent-session-env.ts' +rule: + all: + - any: + - kind: string_fragment + - kind: property_identifier + - kind: identifier + - regex: '^CLAUDE_ENTRYPOINT_ENV$' +--- +id: claude-entrypoint-key-owner-tsx +language: tsx +severity: error +message: Only the chat identity owner and inherited-session isolation may access this key directly. +files: ['src/**'] +ignores: + - '**/*.test.*' + - '**/*.test-fixtures.*' + - '**/__fixtures__/**' + - 'src/shared/agent-launch/startup/claude-chat-entrypoint.ts' + - 'src/shared/agent-launch/startup/parent-agent-session-env.ts' +rule: + all: + - any: + - kind: string_fragment + - kind: property_identifier + - kind: identifier + - regex: '^CLAUDE_ENTRYPOINT_ENV$' diff --git a/config/ast-grep/rules/profile-full-save-callers.yml b/config/ast-grep/rules/profile-full-save-callers.yml new file mode 100644 index 00000000000..abb42188e33 --- /dev/null +++ b/config/ast-grep/rules/profile-full-save-callers.yml @@ -0,0 +1,14 @@ +# Mutations save the domains they change; only startup load and maintenance resume rewrite the whole profile. +id: profile-full-save-callers +language: typescript +severity: error +message: Name the profile domains this mutation changed with scheduleSave(owner, [...domains]). scheduleFullProfileSave is for startup load and maintenance resume only. +files: + - src/** +ignores: + - '**/*.test.*' + - src/main/persistence/loading-store/profile-writing/write-scheduling.ts + - src/main/persistence/loading-store/store.ts + - src/main/persistence/loading-store/profile-writing/profile-state-maintenance.ts +rule: + pattern: scheduleFullProfileSave($$$) diff --git a/config/benchmarks/computer-use/README.md b/config/benchmarks/computer-use/README.md index 7fb194bcf8a..1e9e7cb7116 100644 --- a/config/benchmarks/computer-use/README.md +++ b/config/benchmarks/computer-use/README.md @@ -82,15 +82,6 @@ focus change, and singleton accessibility/native counts do not establish an atom identity mapping if a window closes or the accessibility tree is stale. The probe covers stable fixtures and detected ambiguity, not those concurrent lifecycle races. -## Headless contract checks - -```sh -ORCA_BACKGROUND_LAUNCH=1 python3 -m unittest discover -s config/benchmarks/computer-use -p 'test_*.py' -``` - -These checks protect the historical false-success cases and process-tree cleanup. -They do not import desktop observers or generate native input. - Transports, fixtures and observers were adapted from the historical `bench/computer-cua` prototype at `68a68ccf0f16c0a7f952d55adfe21850247b8ee9`. Historical checkouts and result artifacts remain unchanged. diff --git a/config/benchmarks/computer-use/test_trial_contract.py b/config/benchmarks/computer-use/test_trial_contract.py deleted file mode 100644 index 3e165b3f266..00000000000 --- a/config/benchmarks/computer-use/test_trial_contract.py +++ /dev/null @@ -1,91 +0,0 @@ -"""Regressions for false success claims and unsafe trial reuse in the original benchmark.""" -import unittest - -from trial_contract import (DECOY, DiscoveryError, MARKER, acknowledged, completed, - initial_state, prepared, select_unique, summarize, verdict) - - -class TaskContractTests(unittest.TestCase): - def test_reset_requires_current_command_on_current_fixture(self): - state = {**initial_state("targeted_type"), "instance": "new", "pid": 19, "ack": "current"} - self.assertTrue(prepared(state, "targeted_type", "new", 19, "current")) - for key, value in (("ack", "previous"), ("instance", "old"), ("pid", 20), - ("logicalFocus", "field"), ("selLen", 1), ("top", 1), ("dropOpen", True), - ("submittedText", "old"), ("clickedColor", "Blue")): - with self.subTest(key=key): - self.assertFalse(prepared({**state, key: value}, "targeted_type", "new", 19, "current")) - self.assertFalse(acknowledged(state, "new", 19, "previous")) - for key in ("submittedText", "clickedColor"): - without_payload = {name: value for name, value in state.items() if name != key} - self.assertFalse(prepared(without_payload, "targeted_type", "new", 19, "current")) - - def test_selectors_never_substitute_another_control(self): - selector = (r"button", r"\bincrement\b") - desired = {"role": "button", "label": "Increment"} - self.assertEqual(select_unique([{"role": "button", "label": "Delete"}, desired], selector), desired) - for elements in ([{"role": "button", "label": "Delete"}], - [{"role": "pane", "label": "Increment"}], [desired, dict(desired)], []): - with self.subTest(elements=elements), self.assertRaises(DiscoveryError): - select_unique(elements, selector) - - def test_completion_requires_exact_raw_text_and_unchanged_decoy(self): - final = {**initial_state("targeted_type"), "text": MARKER} - self.assertTrue(completed(final, "targeted_type")) - for text in ("q" + MARKER, MARKER + "q", "Orca qcafé Ω", ""): - with self.subTest(text=text): - self.assertFalse(completed({**final, "text": text}, "targeted_type")) - self.assertFalse(completed({**final, "decoyText": DECOY + MARKER}, "targeted_type")) - - def test_exactly_once_actions_reject_intermediate_and_duplicate_effects(self): - for task, key in (("choose_and_click", "count"), ("type_submit", "returns"), ("replace_submit", "returns")): - final = {**initial_state(task), key: 1} - if task == "choose_and_click": - final["combo"] = "Blue" - payload, correct, wrong = "clickedColor", "Blue", "Red" - else: - final["text"] = MARKER - payload, correct, wrong = "submittedText", MARKER, "" - final[payload] = correct - self.assertTrue(completed(final, task)) - for value in (wrong, None): - with self.subTest(task=task, payload=value): - self.assertFalse(completed({**final, payload: value}, task)) - self.assertFalse(completed({name: value for name, value in final.items() if name != payload}, task)) - for value in (0, 2): - with self.subTest(task=task, value=value): - self.assertFalse(completed({**final, key: value}, task)) - for color in ("Red", "Blue"): - self.assertTrue(completed({**initial_state("click_interference"), "count": 1, - "clickedColor": color}, "click_interference")) - - def test_observed_completion_is_independent_of_api_errors(self): - row = {"prepared": True, "task": "targeted_type", "api_errors": ["timeout"]} - self.assertEqual(verdict(row, {**initial_state(row["task"]), "text": MARKER}), "completed") - self.assertEqual(verdict(row, initial_state(row["task"])), "failed") - self.assertEqual(verdict(row, None), "unobserved") - self.assertEqual(verdict({**row, "prepared": False}, None), "invalid_setup") - - def test_invalid_setup_does_not_inflate_scored_completion(self): - base = {"engine": "candidate", "task": "targeted_type", "profile": "background"} - result = summarize([{**base, "verdict": "invalid_setup"}, - {**base, "verdict": "failed", "discovery_error": "no field"}, - {**base, "verdict": "unobserved"}, - {**base, "verdict": "completed", "api_errors": ["late error"]}])[0] - self.assertEqual((result["planned"], result["scored"], result["invalid"], result["completed"]), (4, 3, 1, 1)) - self.assertEqual((result["discovery_failures"], result["unobserved"], result["api_errors"]), (1, 1, 1)) - - def test_partial_failures_cannot_make_task_latency_look_fast(self): - base = {"engine": "candidate", "task": "type_submit", "profile": "background"} - result = summarize([{**base, "verdict": "completed", "attempt_ms": 400, "action_read_ms": [100, 150]}, - {**base, "verdict": "failed", "attempt_ms": 2, "action_read_ms": [1]}, - {**base, "verdict": "unobserved", "attempt_ms": 30000}])[0] - self.assertEqual(result["task_ms"], 400) - self.assertEqual(result["action_read_ms"], 125) - self.assertEqual((result["timed_completions"], result["timed_failures"]), (1, 2)) - self.assertEqual(result["failed_attempt_ms"], 15001) - - - - -if __name__ == "__main__": - unittest.main() diff --git a/config/build-plugins/cli-main-entry-names.ts b/config/build-plugins/cli-main-entry-names.ts index 4c11dc043b1..bb80c31d534 100644 --- a/config/build-plugins/cli-main-entry-names.ts +++ b/config/build-plugins/cli-main-entry-names.ts @@ -1,7 +1,7 @@ // The CLI loads these paths after electron-vite replaces out/main. export const CLI_MAIN_ENTRY_NAMES = [ 'agent-hooks/installation/managed-agent-hook-controls', - 'gitlab/project-ref-parser', + 'gitlab/projects/project-ref-parser', 'orca-profiles/profile-index-store', 'claude-accounts/keychain', // The CLI checks a relocated runtime socket dir before it sends the auth token. @@ -15,16 +15,14 @@ export const CLI_MAIN_ENTRY_NAMES = [ // `orca vm env doctor` runs its checks in the CLI process. 'environment-doctor/environment-doctor', 'environment-doctor/environment-doctor-host', - ...[ - 'access', - 'active-location', - 'storage-classification', - 'offline-settings', - 'backup-path', - 'database-recovery', - 'domain-reader', - 'recovery-command' - ].map((module) => `persistence/profile-state/profile-state-${module}`), + 'persistence/profile-state/access/profile-state-access', + 'persistence/profile-state/offline-access/profile-state-active-location', + 'persistence/profile-state/database/profile-state-storage-classification', + 'persistence/profile-state/offline-access/profile-state-offline-settings', + 'persistence/profile-state/backup/profile-state-backup-path', + 'persistence/profile-state/recovery/profile-state-database-recovery', + 'persistence/profile-state/documents/profile-state-domain-reader', + 'persistence/profile-state/recovery/profile-state-recovery-command', 'persistence/profile-state/legacy-json/profile-state-export-path', 'persistence/profile-state/legacy-json/profile-state-recovery', 'startup/http1-compatibility-marker' diff --git a/config/build-plugins/main-build-entry-points.ts b/config/build-plugins/main-build-entry-points.ts index 819c08e1680..ccd430d2f88 100644 --- a/config/build-plugins/main-build-entry-points.ts +++ b/config/build-plugins/main-build-entry-points.ts @@ -19,7 +19,9 @@ export const MAIN_BUILD_ENTRY_POINTS: Record = { ), 'stt-worker': resolve('src/main/speech/stt-worker.ts'), 'warp-theme-parser-worker': resolve('src/main/warp-themes/warp-theme-parser-worker.ts'), - 'session-search-worker-entry': resolve('src/main/ai-vault-search/session-search-worker-entry.ts'), + 'session-search-worker-entry': resolve( + 'src/main/ai-vault-search/worker/session-search-worker-entry.ts' + ), 'foreign-sqlite-reader-entry': resolve( 'src/main/foreign-sqlite-readers/foreign-sqlite-reader-entry.ts' ), @@ -39,7 +41,7 @@ export const MAIN_BUILD_ENTRY_POINTS: Record = { 'src/main/worker-thread-child-process/worker-thread-child-process-entry.ts' ), // Usage scans synchronously walk histories/SQLite; keep them off the main loop. - 'usage-scan-worker-entry': resolve('src/main/usage/usage-scan-worker-entry.ts'), + 'usage-scan-worker-entry': resolve('src/main/usage/scan-worker/usage-scan-worker-entry.ts'), 'workspace-space-scan-worker-entry': resolve( 'src/main/workspaces/space-analysis/workspace-space-scan-worker-entry.ts' ), @@ -48,10 +50,10 @@ export const MAIN_BUILD_ENTRY_POINTS: Record = { 'src/main/claude-accounts/claude-profile-setup-worker-entry.ts' ), 'profile-state-backup-worker-entry': resolve( - 'src/main/persistence/profile-state/profile-state-backup-worker-entry.ts' + 'src/main/persistence/profile-state/backup/profile-state-backup-worker-entry.ts' ), 'profile-state-writer-worker-entry': resolve( - 'src/main/persistence/profile-state/profile-state-writer-worker-entry.ts' + 'src/main/persistence/profile-state/writer/profile-state-writer-worker-entry.ts' ), // Isolate native @parcel/watcher faults from main (#7547). 'parcel-watcher-process-entry': resolve( diff --git a/config/build-plugins/react-compiler-uncompiled-files.mjs b/config/build-plugins/react-compiler-uncompiled-files.mjs new file mode 100644 index 00000000000..9c7826c0f19 --- /dev/null +++ b/config/build-plugins/react-compiler-uncompiled-files.mjs @@ -0,0 +1,36 @@ +import { readFileSync } from 'node:fs' +import { resolve } from 'node:path' +import { fileURLToPath } from 'node:url' + +// Why: import.meta.url, not dirname — electron-vite's config bundle rewrites only the former. +const REPO_ROOT = fileURLToPath(new URL('../..', import.meta.url)) + +export const UNCOMPILED_LIST = 'config/react-compiler-uncompiled-files.txt' +// Hand-kept list plus every file still in a hazard ratchet; compiled, these would run differently. +export const UNCOMPILED_FILE_LISTS = [ + UNCOMPILED_LIST, + 'config/render-path-translate-baseline.txt', + 'config/react-compiler-hazard-baseline.txt' +] + +/** Repo-relative paths from a list or count baseline: `[count ]path[#detail][ # note]`. */ +export function parseListedFiles(text) { + return text + .split('\n') + .map((line) => line.trim()) + .filter((line) => line && !line.startsWith('#')) + .map((line) => + line + .replace(/^\d+\s+/, '') + .split('#')[0] + .trim() + ) +} + +export function readListedFiles(list, root = REPO_ROOT) { + return parseListedFiles(readFileSync(resolve(root, list), 'utf8')) +} + +export function reactCompilerExcludedFiles(root = REPO_ROOT) { + return [...new Set(UNCOMPILED_FILE_LISTS.flatMap((list) => readListedFiles(list, root)))] +} diff --git a/config/build-plugins/react-compiler.ts b/config/build-plugins/react-compiler.ts index fcdb314daa8..33ec76cc24b 100644 --- a/config/build-plugins/react-compiler.ts +++ b/config/build-plugins/react-compiler.ts @@ -1,25 +1,5 @@ -import { readFileSync } from 'node:fs' -import { resolve } from 'node:path' import type { Options } from '@vitejs/plugin-react' - -// Hand-kept list plus every file still in a hazard ratchet; compiled, these would run differently. -const UNCOMPILED_FILE_LISTS = [ - 'config/react-compiler-uncompiled-files.txt', - 'config/render-path-translate-baseline.txt', - 'config/react-compiler-hazard-baseline.txt' -] - -function listedFiles(list: string): string[] { - return readFileSync(resolve(list), 'utf8') - .split('\n') - .map((line) => line.trim()) - .filter((line) => line && !line.startsWith('#')) - .map((line) => line.replace(/^\d+\s+/, '').split('#')[0]) -} - -export function reactCompilerExcludedFiles(): string[] { - return [...new Set(UNCOMPILED_FILE_LISTS.flatMap(listedFiles))] -} +import { reactCompilerExcludedFiles } from './react-compiler-uncompiled-files.mjs' export function isReactCompilerEnabled(): boolean { return process.env.ORCA_REACT_COMPILER !== '0' diff --git a/config/ci/windows-ssh-provider/invoke-windows-host-cells.ps1 b/config/ci/windows-ssh-provider/invoke-windows-host-cells.ps1 index 0483fc0d02a..d4d1c9c4f26 100644 --- a/config/ci/windows-ssh-provider/invoke-windows-host-cells.ps1 +++ b/config/ci/windows-ssh-provider/invoke-windows-host-cells.ps1 @@ -4,13 +4,13 @@ param( [Parameter(Mandatory=$true)][hashtable]$Context, [Parameter(Mandatory=$true)][ValidateSet('win32-arm64','win32-x64')][string]$Target, [Parameter(Mandatory=$true)][string]$ReceiptRoot, - [ValidateSet('orcad-cmd','orcad-powershell','orcad-convert','orcad-cli-managed','orcad-cli-convert')][string[]]$Cells=@('orcad-cmd','orcad-powershell') + [ValidateSet('orcad-cmd','orcad-powershell','orcad-cli-managed')][string[]]$Cells=@('orcad-cmd','orcad-powershell') ) $ErrorActionPreference='Stop' if($env:GITHUB_ACTIONS -ne 'true' -or $env:ORCA_ISOLATED_SSH_CI -ne '1'){throw 'Disposable CI only'} -$shells=@{'orcad-cmd'='cmd';'orcad-powershell'='powershell';'orcad-convert'='cmd';'orcad-cli-managed'='cmd';'orcad-cli-convert'='cmd'} +$shells=@{'orcad-cmd'='cmd';'orcad-powershell'='powershell';'orcad-cli-managed'='cmd'} # App-level cells drive the e2e build (and the bundled CLI) against the host; each greps one tagged test. -$appCells=@{'orcad-convert'=@('tests/e2e/ssh-orcad-auto-convert.spec.ts','');'orcad-cli-managed'=@('tests/e2e/ssh-orcad-windows-cli-matrix.spec.ts','@orcad-cli-managed');'orcad-cli-convert'=@('tests/e2e/ssh-orcad-windows-cli-matrix.spec.ts','@orcad-cli-convert')} +$appCells=@{'orcad-cli-managed'=@('tests/e2e/ssh-orcad-windows-cli-matrix.spec.ts','@orcad-cli-managed')} $electronBuilt=$false if($Context.accounts.Count -lt $Cells.Count){throw 'Each cell needs its own private account'} $seenApp=$false diff --git a/config/electron-builder.config.cjs b/config/electron-builder.config.cjs index b4655ee824e..2df9f8177df 100644 --- a/config/electron-builder.config.cjs +++ b/config/electron-builder.config.cjs @@ -341,7 +341,7 @@ module.exports = { 'out/main/cursor/**', 'out/main/droid/**', 'out/main/gemini/**', - 'out/main/gitlab/project-ref-parser.js', + 'out/main/gitlab/projects/project-ref-parser.js', 'out/main/grok/**', 'out/main/hermes/**', 'out/main/filesystem/asar-transparent-fs.js', diff --git a/config/flaky-test-pattern-baseline.txt b/config/flaky-test-pattern-baseline.txt index 5b3a0aab500..42efc2b86cd 100644 --- a/config/flaky-test-pattern-baseline.txt +++ b/config/flaky-test-pattern-baseline.txt @@ -2,18 +2,16 @@ # This is a RATCHET: counts may only go DOWN. Run `pnpm lint:ast-grep:flaky-tests` to list them. # Prune after a fix: pnpm check:flaky-test-pattern-ratchet --prune 1 test-no-in-test-import-actual:src/cli/runtime/launch-serve-replaced-app-restart.test.ts -1 test-no-in-test-import-actual:src/main/bitbucket/credential-connection.test.ts 4 test-no-in-test-import-actual:src/main/bitbucket/credential-store.test.ts 1 test-no-in-test-import-actual:src/main/bitbucket/status-no-decrypt.test.ts -2 test-no-in-test-import-actual:src/main/browser/cookies/browser-cookie-import.comet.test.ts 3 test-no-in-test-import-actual:src/main/claude-usage/scanner-scan.test.ts 1 test-no-in-test-import-actual:src/main/claude/claude-agent-sdk-process-spawn.test.ts 5 test-no-in-test-import-actual:src/main/daemon/endpoint/publication/testing/daemon-endpoint-publish.test.ts 1 test-no-in-test-import-actual:src/main/daemon/history/storage/testing/terminal-history-permissions.test.ts 1 test-no-in-test-import-actual:src/main/git/command-runner/spawned-command-tree-kill.test.ts 1 test-no-in-test-import-actual:src/main/ipc/filesystem/filesystem-content-search-cancellation.test.ts -1 test-no-in-test-import-actual:src/main/linear/client.test.ts -1 test-no-in-test-import-actual:src/main/linear/linear-description-images.test.ts +1 test-no-in-test-import-actual:src/main/linear/accounts/linear-account-client.test.ts +1 test-no-in-test-import-actual:src/main/linear/issues/linear-description-images.test.ts 1 test-no-in-test-import-actual:src/main/omp/omp-session-cwd-lookup.test.ts 1 test-no-in-test-import-actual:src/main/orcad/electron-serve-provider-selection.test.ts 1 test-no-in-test-import-actual:src/main/pty/scrollback/overlay-mirror.test.ts @@ -29,9 +27,6 @@ 1 test-no-in-test-import-actual:src/renderer/src/components/terminal-pane/pty-connection/notifications/pty-connection-hook-idle-arbitration.test.ts 3 test-no-in-test-import-actual:src/renderer/src/components/terminal-pane/snapshots/remote-snapshot-alt-screen-host-chain.test.ts 1 test-no-in-test-import-actual:src/renderer/src/hooks/useIpcEvents-agent-status-pane-teardown.test.ts -1 test-no-in-test-import-actual:src/renderer/src/hooks/useIpcEvents-agent-status-snapshot-hydration.test.ts -1 test-no-in-test-import-actual:src/renderer/src/hooks/useIpcEvents-rate-limit-hydration.test.ts -1 test-no-in-test-import-actual:src/renderer/src/lib/agent-session/launch/new-tab/agent-launch-caller-routing.test.ts 1 test-no-polling-loop:src/main/browser/cookies/browser-cookie-import-concurrency.test.ts 1 test-no-polling-loop:src/main/claude/claude-stop-ack-race.test.ts 1 test-no-polling-loop:src/main/claude/claude-stream-json-connection.test.ts @@ -41,7 +36,6 @@ 1 test-no-polling-loop:src/main/claude/structured/claude-structured-real-cli-stop-task.test.ts 5 test-no-polling-loop:src/main/claude/structured/claude-structured-real-cli.test.ts 1 test-no-polling-loop:src/main/claude/structured/launch/claude-structured-real-cli-options.test.ts -3 test-no-polling-loop:src/main/cli/packaged-cli-assets.test.ts 1 test-no-polling-loop:src/main/codex/hooks/reconciliation/codex-hook-toggle-off-wins.test.ts 1 test-no-polling-loop:src/main/codex/structured/launch/codex-structured-real-cli-command-env.test.ts 1 test-no-polling-loop:src/main/daemon/providers/adapter/testing/daemon-self-retirement-respawn.test.ts @@ -96,7 +90,6 @@ 1 test-no-polling-loop:tests/e2e/fixtures/daemon-generation-reconnect-client.ts 2 test-no-polling-loop:tests/e2e/floating-workspace-reopen-webgl-recovery.spec.ts 1 test-no-polling-loop:tests/e2e/floating-workspace-shared-glyph-atlas.spec.ts -1 test-no-polling-loop:tests/e2e/golden-core-flows.spec.ts 1 test-no-polling-loop:tests/e2e/helpers/computer-cli-driver.ts 2 test-no-polling-loop:tests/e2e/helpers/computer-driver.ts 1 test-no-polling-loop:tests/e2e/helpers/daemon-generation-processes.ts @@ -153,7 +146,6 @@ 1 test-no-real-time-wait:src/main/antigravity/windows-hook-payload-delivery.test.ts 1 test-no-real-time-wait:src/main/browser/cdp/input/guest-focused-frame-route.test.ts 3 test-no-real-time-wait:src/main/browser/cookies/browser-cookie-import-concurrency.test.ts -2 test-no-real-time-wait:src/main/browser/guest-lifecycle/popups/compatibility/browser-popup-compatibility.electron.test.ts 1 test-no-real-time-wait:src/main/browser/guest-lifecycle/popups/compatibility/browser-popup-native-compatibility.electron.test.ts 1 test-no-real-time-wait:src/main/browser/identity/wire-probes/browser-session-ua-wire-identity-cross-context.electron.test.ts 1 test-no-real-time-wait:src/main/browser/identity/wire-probes/browser-session-ua-wire-identity.electron.test.ts @@ -174,14 +166,11 @@ 2 test-no-real-time-wait:src/main/claude/structured/claude-structured-real-cli-stop-task.test.ts 5 test-no-real-time-wait:src/main/claude/structured/claude-structured-real-cli.test.ts 1 test-no-real-time-wait:src/main/claude/structured/launch/claude-structured-real-cli-options.test.ts -3 test-no-real-time-wait:src/main/cli/packaged-cli-assets.test.ts -3 test-no-real-time-wait:src/main/codex/hooks/installation/hook-service-concurrent-launch-install.test.ts 1 test-no-real-time-wait:src/main/codex/hooks/reconciliation/codex-hook-reconcile.test.ts 1 test-no-real-time-wait:src/main/codex/hooks/reconciliation/codex-hook-toggle-off-wins.test.ts 1 test-no-real-time-wait:src/main/codex/structured/launch/codex-structured-real-cli-command-env.test.ts 1 test-no-real-time-wait:src/main/codex/structured/turns/codex-structured-turn-open-wait.test.ts 1 test-no-real-time-wait:src/main/codex/trust/hooks/codex-hook-hash-lookup.test.ts -1 test-no-real-time-wait:src/main/computer/macos-computer-use-permission-status.test.ts 1 test-no-real-time-wait:src/main/daemon/executable-host/windows/testing/daemon-host-file-hash-cache.test.ts 4 test-no-real-time-wait:src/main/daemon/providers/adapter/testing/daemon-pty-adapter-history-checkpoints.test.ts 2 test-no-real-time-wait:src/main/daemon/providers/adapter/testing/daemon-pty-adapter-history-recovery.test.ts @@ -203,10 +192,8 @@ 3 test-no-real-time-wait:src/main/daemon/transport/client/testing/client.test.ts 1 test-no-real-time-wait:src/main/git/refs/maintenance/local-repo-ref-maintenance.test.ts 4 test-no-real-time-wait:src/main/git/refs/maintenance/repo-ref-maintenance-real-git.test.ts -1 test-no-real-time-wait:src/main/git/worktrees/creation/worktree-configured-paths-concurrency.test.ts 1 test-no-real-time-wait:src/main/git/worktrees/removal/remove-worktree-branch-cleanup.test.ts 1 test-no-real-time-wait:src/main/git/worktrees/removal/worktree-prune-guard.test.ts -1 test-no-real-time-wait:src/main/gitlab/work-item-details.test.ts 1 test-no-real-time-wait:src/main/grok/grok-hook-stdin-no-eof.test.ts 1 test-no-real-time-wait:src/main/ipc/filesystem/watcher-process/parcel-watcher-shallow-file-subscription.test.ts 1 test-no-real-time-wait:src/main/ipc/filesystem/watcher-process/rebinding-file-watch-noise.test.ts @@ -257,23 +244,19 @@ 1 test-no-real-time-wait:src/main/windows/windows-process-tree-command-line-patch.test.ts 2 test-no-real-time-wait:src/main/windows/windows-pty-job.win32.test.ts 1 test-no-real-time-wait:src/main/worker-thread-child-process/worker-thread-child-process.test.ts -1 test-no-real-time-wait:src/main/workspaces/creation/preparation/worktree-create-preparation-cancellation.test.ts 1 test-no-real-time-wait:src/main/workspaces/removal/local-worktree-removal-recovery-live.test.ts 2 test-no-real-time-wait:src/main/wsl/execution/wsl-command-loop.test.ts 2 test-no-real-time-wait:src/main/wsl/orcad/wsl-orcad-real-distro-lane.test.ts 4 test-no-real-time-wait:src/renderer/src/components/activity/activity-auto-mark-read-loop.react185.test.tsx 1 test-no-real-time-wait:src/renderer/src/components/editor/DiagramViewerModal.test.tsx 1 test-no-real-time-wait:src/renderer/src/components/editor/combined-diff/load-sections/combined-diff-stale-analysis-work-budget.test.tsx -4 test-no-real-time-wait:src/renderer/src/components/native-chat/drafts/native-chat-composer-draft-store.test.ts 1 test-no-real-time-wait:src/renderer/src/components/terminal-pane/layout/split/resolve-split-cwd.test.ts 2 test-no-real-time-wait:src/renderer/src/components/terminal-pane/pty-connection/emulation/fish-color-scheme-child-stdin.node-pty.test.ts 1 test-no-real-time-wait:src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-connect-failure-recovery.test.ts -2 test-no-real-time-wait:src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-exit-record.test.ts -3 test-no-real-time-wait:src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-subscribe-ack-input.test.ts +1 test-no-real-time-wait:src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-subscribe-ack-input.test.ts 1 test-no-real-time-wait:src/renderer/src/components/terminal-pane/viewport/terminal-fit-restore.test.ts 1 test-no-real-time-wait:src/renderer/src/hooks/runtime-project-refresh-scheduler.test.ts 1 test-no-real-time-wait:src/renderer/src/lib/agent-session/resume/cli-fork/native-chat-cli-fork-preparation.test.ts -1 test-no-real-time-wait:src/renderer/src/lib/orca-yaml-trust-prompt-slot-eviction.test.ts 2 test-no-real-time-wait:src/renderer/src/store/slices/workspace-cleanup/workspace-cleanup-removal-preflight.test.ts 2 test-no-real-time-wait:src/shared/__tests__/process-host/windows-tree-kill-late-taskkill.win32.test.ts 1 test-no-real-time-wait:src/shared/darwin-process-table-capture.test.ts @@ -298,7 +281,6 @@ 1 test-no-real-time-wait:tests/e2e/codex-ctrl-c-status.spec.ts 4 test-no-real-time-wait:tests/e2e/combined-diff-scroll-restore.spec.ts 1 test-no-real-time-wait:tests/e2e/computer-windows.e2e.ts -1 test-no-real-time-wait:tests/e2e/cross-version-wire/cross-version-agent-session-wire.unit.test.ts 3 test-no-real-time-wait:tests/e2e/cross-version-wire/host-model-catalog-released-phone.unit.test.ts 1 test-no-real-time-wait:tests/e2e/cross-version-wire/legacy-relay-bridge.unit.test.ts 1 test-no-real-time-wait:tests/e2e/cross-version-wire/released-relay-daemon.ts @@ -315,7 +297,6 @@ 4 test-no-real-time-wait:tests/e2e/floating-workspace-reopen-webgl-recovery.spec.ts 4 test-no-real-time-wait:tests/e2e/floating-workspace-shared-glyph-atlas.spec.ts 2 test-no-real-time-wait:tests/e2e/github-project-board.spec.ts -1 test-no-real-time-wait:tests/e2e/golden-core-flows.spec.ts 1 test-no-real-time-wait:tests/e2e/headless-paired-remote-terminal-reveal-grid.spec.ts 1 test-no-real-time-wait:tests/e2e/headless-paired-remote-terminal-viewer-size.spec.ts 2 test-no-real-time-wait:tests/e2e/helpers/computer-cli-driver.ts @@ -384,10 +365,8 @@ 2 test-no-real-time-wait:tests/e2e/sidebar-sort-stamps.spec.ts 1 test-no-real-time-wait:tests/e2e/sidebar-unread-older-paired-host.spec.ts 2 test-no-real-time-wait:tests/e2e/slept-workspace-remount-wake.spec.ts -1 test-no-real-time-wait:tests/e2e/sparse-preset-proof.spec.ts 1 test-no-real-time-wait:tests/e2e/ssh-orcad-explorer-selected-host.spec.ts 1 test-no-real-time-wait:tests/e2e/ssh-orcad-idle-exit.spec.ts -1 test-no-real-time-wait:tests/e2e/ssh-orcad-legacy-relay-bridge.spec.ts 1 test-no-real-time-wait:tests/e2e/ssh-orcad-pairing-repair.spec.ts 1 test-no-real-time-wait:tests/e2e/ssh-orcad-relay-tab-only-shell.spec.ts 1 test-no-real-time-wait:tests/e2e/ssh-orcad-sleep-disconnected.spec.ts @@ -455,20 +434,16 @@ 5 test-no-wall-clock:src/cli/runtime/serve-pid1-init-reaper.test.ts 1 test-no-wall-clock:src/cli/runtime/status-caller.test.ts 2 test-no-wall-clock:src/main/agent-hooks/installation/scripts/managed-hook-timeout.test.ts -2 test-no-wall-clock:src/main/agent-hooks/installation/scripts/posix-hook-json-stdin-reader.test.ts 1 test-no-wall-clock:src/main/agent-hooks/server/testing/http/server-endpoint-file-lifecycle.test.ts 3 test-no-wall-clock:src/main/agent-hooks/server/testing/structured-ingress/server-ingest-structured-status.test.ts 4 test-no-wall-clock:src/main/agent-hooks/server/testing/identity/server-launch-resume-identity.test.ts 5 test-no-wall-clock:src/main/agent-hooks/server/testing/replay/spool.test.ts 2 test-no-wall-clock:src/main/agent-hooks/installation/commands/windows-native-hook-exe-hosts.test.ts -2 test-no-wall-clock:src/main/ai-vault-search/session-search-indexer.test.ts 1 test-no-wall-clock:src/main/ai-vault/parse-cache/session-parse-cache-preview-upgrade.test.ts -1 test-no-wall-clock:src/main/ai-vault/scanners/copilot/session-scanner-copilot-cache-upgrade.test.ts 2 test-no-wall-clock:src/main/ai-vault/scanners/copilot/session-scanner-copilot-parser.test.ts 2 test-no-wall-clock:src/main/ai-vault/scanners/cursor/session-scanner-cursor-chat-meta.test.ts 1 test-no-wall-clock:src/main/ai-vault/scanners/devin/session-scanner-devin-db.test.ts 2 test-no-wall-clock:src/main/ai-vault/scanners/grok/session-scanner-grok-parser.test.ts -3 test-no-wall-clock:src/main/ai-vault/scanners/jcode/session-scanner-jcode-parser.test.ts 1 test-no-wall-clock:src/main/ai-vault/scanners/kimi/session-scanner-kimi-parser.test.ts 1 test-no-wall-clock:src/main/ai-vault/scanners/opencode/reader-transport/session-scanner-opencode-sqlite-process.test.ts 2 test-no-wall-clock:src/main/ai-vault/scanners/opencode/session-scanner-opencode-parser.test.ts @@ -485,11 +460,8 @@ 3 test-no-wall-clock:src/main/claude/structured/claude-structured-real-cli-stop-task.test.ts 10 test-no-wall-clock:src/main/claude/structured/claude-structured-real-cli.test.ts 3 test-no-wall-clock:src/main/claude/structured/launch/claude-structured-real-cli-options.test.ts -1 test-no-wall-clock:src/main/cli/appimage-generation-lease.test.ts -6 test-no-wall-clock:src/main/cli/packaged-cli-assets.test.ts 1 test-no-wall-clock:src/main/codex-accounts/legacy-wsl-runtime-auth-drain-rollback-script.test.ts 6 test-no-wall-clock:src/main/codex/app-server/codex-app-server-client.test.ts -1 test-no-wall-clock:src/main/codex/structured/catalog/codex-usage-limits.test.ts 2 test-no-wall-clock:src/main/codex/structured/launch/codex-structured-real-cli-command-env.test.ts 2 test-no-wall-clock:src/main/codex/trust/hooks/codex-hook-trust-derivation.test.ts 1 test-no-wall-clock:src/main/daemon/admission/testing/terminal-spawn-gate-legacy-restores.test.ts @@ -515,7 +487,6 @@ 3 test-no-wall-clock:src/main/github/pr-refresh-coordinator-active-visible-priority.test.ts 8 test-no-wall-clock:src/main/github/pr-refresh-coordinator-alias-coalescing.test.ts 5 test-no-wall-clock:src/main/github/pr-refresh-coordinator-completion-order.test.ts -1 test-no-wall-clock:src/main/github/pr-refresh-coordinator-error-cadence.test.ts 3 test-no-wall-clock:src/main/github/pr-refresh-coordinator-foreground-pacing.test.ts 3 test-no-wall-clock:src/main/github/pr-refresh-coordinator-refresh-events.test.ts 4 test-no-wall-clock:src/main/github/pr-refresh-coordinator-visibility-policy.test.ts @@ -532,22 +503,17 @@ 3 test-no-wall-clock:src/main/managed-server/install/remote-node-runtime-store-gc.test.ts 1 test-no-wall-clock:src/main/native-chat/agent-session-attachments/agent-session-attachment-sweep.test.ts 1 test-no-wall-clock:src/main/observability/bundle.test.ts -1 test-no-wall-clock:src/main/opencode/opencode-launch-model-context-supervision.test.ts -1 test-no-wall-clock:src/main/opencode/overlay-dir-gc.test.ts -2 test-no-wall-clock:src/main/orca-profiles/profile-cloud-service-connect-overlap.test.ts -2 test-no-wall-clock:src/main/orca-profiles/profile-cloud-service-sign-out-connect-race.test.ts +1 test-no-wall-clock:src/main/opencode/status-hooks/overlay-dir-gc.test.ts +2 test-no-wall-clock:src/main/orca-profiles/cloud-auth/profile-cloud-service-connect-overlap.test.ts +2 test-no-wall-clock:src/main/orca-profiles/cloud-auth/profile-cloud-service-sign-out-connect-race.test.ts 2 test-no-wall-clock:src/main/orcad/orcad-artifact-cache-retention.test.ts 1 test-no-wall-clock:src/main/orcad/orcad-artifact-materializer.test.ts 6 test-no-wall-clock:src/main/orcad/orcad-serve-parity.integration.test.ts 1 test-no-wall-clock:src/main/orcad/orcad-stale-lock-reclaim.test.ts 3 test-no-wall-clock:src/main/orcad/orcad-stop-request-shutdown.integration.test.ts 1 test-no-wall-clock:src/main/persistence/closed-terminal-tab-write-fence.test.ts -1 test-no-wall-clock:src/main/persistence/loading-store/profile-state-temp-cleanup-lifetime.test.ts -1 test-no-wall-clock:src/main/persistence/loading-store/pty-spawn-restore-durability.test.ts -1 test-no-wall-clock:src/main/persistence/profile-state/profile-state-backup-rotation.test.ts -2 test-no-wall-clock:src/main/persistence/profile-state/profile-state-backup-temporary-files.test.ts -1 test-no-wall-clock:src/main/persistence/profile-state/profile-state-pre-migration-backup.test.ts -1 test-no-wall-clock:src/main/persistence/profile-state/profile-state-section-repair.test.ts +1 test-no-wall-clock:src/main/persistence/profile-state/backup/profile-state-backup-rotation.test.ts +1 test-no-wall-clock:src/main/persistence/profile-state/recovery/profile-state-section-repair.test.ts 2 test-no-wall-clock:src/main/persistence/tracking-repos/persistence-deregistered-repo-residue.test.ts 1 test-no-wall-clock:src/main/persistence/tracking-repos/worktree-metadata-normalization.test.ts 2 test-no-wall-clock:src/main/provider-process/provider-group-orphan-guard.integration.test.ts @@ -566,7 +532,6 @@ 2 test-no-wall-clock:src/main/runtime/agent-session/structured-agent-session-held-signal.test.ts 1 test-no-wall-clock:src/main/runtime/agent-session/structured-child-records-switch.test.ts 1 test-no-wall-clock:src/main/runtime/mobile-cloud-relay/mobile-relay-e2ee.integration.test.ts -1 test-no-wall-clock:src/main/runtime/mobile-cloud-relay/relay-http-client.test.ts 2 test-no-wall-clock:src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-codex-real-pty.integration.test.ts 2 test-no-wall-clock:src/main/runtime/orchestration/workers/archives/worker-output-archive.test.ts 3 test-no-wall-clock:src/main/runtime/orchestration/workers/archives/worker-terminal-archive-release.test.ts @@ -622,7 +587,6 @@ 3 test-no-wall-clock:src/main/windows/windows-msys-job.win32.test.ts 1 test-no-wall-clock:src/main/windows/windows-process-table-native-addon.win32.test.ts 2 test-no-wall-clock:src/main/windows/windows-pty-job.win32.test.ts -2 test-no-wall-clock:src/main/workspace-hooks/hook-archive-timeout-observation.test.ts 2 test-no-wall-clock:src/main/workspaces/removal/local-worktree-removal-recovery-live.test.ts 1 test-no-wall-clock:src/main/workspaces/removal/worktree-removal-close-records.test.ts 2 test-no-wall-clock:src/main/wsl/execution/wsl-runner.wsl.test.ts @@ -630,36 +594,20 @@ 3 test-no-wall-clock:src/renderer/src/components/activity/activity-auto-mark-read-loop.react185.test.tsx 2 test-no-wall-clock:src/renderer/src/components/artifacts/ArtifactCollection.test.tsx 1 test-no-wall-clock:src/renderer/src/components/browser-pane/assemble-chrome/browser-workspace-pane.adoption-chrome.test.tsx -2 test-no-wall-clock:src/renderer/src/components/dashboard/useLiveDashboardSnapshot.test.ts -1 test-no-wall-clock:src/renderer/src/components/native-chat/conversation/slots/NativeChatMessageList.opening-send.test.tsx -1 test-no-wall-clock:src/renderer/src/components/native-chat/conversation/slots/NativeChatMessageList.queued-turn-order.test.tsx -2 test-no-wall-clock:src/renderer/src/components/native-chat/conversation/turns/NativeChatMessageList.turn-indicator.test.tsx 3 test-no-wall-clock:src/renderer/src/components/native-chat/conversation/turns/NativeChatResolvedView.turn-status.test.tsx -1 test-no-wall-clock:src/renderer/src/components/native-chat/session/structured/delivery/NativeChatMessageList.unsent-message.test.tsx -3 test-no-wall-clock:src/renderer/src/components/native-chat/surfaces/integration/NativeChatMessageList.test.tsx 2 test-no-wall-clock:src/renderer/src/components/native-chat/tools/tasks/NativeChatStructuredSessionStatus.test.tsx -3 test-no-wall-clock:src/renderer/src/components/sidebar/workspace-card/review/use-workspace-reference-details.test.tsx +1 test-no-wall-clock:src/renderer/src/components/sidebar/workspace-card/review/use-workspace-reference-details.test.tsx 1 test-no-wall-clock:src/renderer/src/components/sidebar/worktree-list/listing/WorktreeList.lineage-agent-expansion-coupling.test.tsx -2 test-no-wall-clock:src/renderer/src/components/task-page/jira/task-page-jira-cache-selectors.test.ts 2 test-no-wall-clock:src/renderer/src/components/terminal-pane/pty-connection/emulation/fish-color-scheme-child-stdin.node-pty.test.ts 2 test-no-wall-clock:src/renderer/src/components/terminal-pane/snapshots/remote-snapshot-alt-screen-host-chain.test.ts 1 test-no-wall-clock:src/renderer/src/components/terminal/initial-terminal-structured-launch.test.tsx 2 test-no-wall-clock:src/renderer/src/components/workspace-cleanup/use-workspace-cleanup-removal.agent-stop.test.tsx 1 test-no-wall-clock:src/renderer/src/components/worktree-jump/WorktreeJumpPalette.recent-tabs.behavior.test.tsx -4 test-no-wall-clock:src/renderer/src/components/worktree-jump/WorktreeJumpPalette.recent-tabs.test.tsx 2 test-no-wall-clock:src/renderer/src/hooks/ipc-events/agent-status-terminal-title-tab-write.test.ts -1 test-no-wall-clock:src/renderer/src/hooks/useIpcEvents-agent-status-hook-titles.test.ts -1 test-no-wall-clock:src/renderer/src/lib/paired-runtime-closed-tab-resume.test.ts -2 test-no-wall-clock:src/renderer/src/lib/use-tab-agent-observed-signal-dispatch.test.tsx -2 test-no-wall-clock:src/renderer/src/lib/wake-sleeping-agents-live-unmounted-pane.test.ts 1 test-no-wall-clock:src/renderer/src/lib/workspace/ownership/workspace-terminal-host-authority.test.ts 1 test-no-wall-clock:src/renderer/src/lib/workspace/activation/worktree-activation-emptied-workspace-reseed.test.ts -2 test-no-wall-clock:src/renderer/src/runtime/native-chat/tab-retirement/structured-agent-session-tab-retirement.test.ts 2 test-no-wall-clock:src/renderer/src/store/github/pull-requests/github-pr-branch-linked-pr-divergence.test.ts -6 test-no-wall-clock:src/renderer/src/store/slices/jira/jira.test.ts 5 test-no-wall-clock:src/renderer/src/store/slices/worktrees/metadata/worktree-meta-hosted-review.test.ts -1 test-no-wall-clock:src/renderer/src/store/slices/worktrees/session/worktrees-terminal-reference-origins.test.ts -1 test-no-wall-clock:src/renderer/src/store/terminals/store-sleep-exact-runtime-stop.test.ts 1 test-no-wall-clock:src/shared/__tests__/process-host/windows-cmd-shim-resolution.test.ts 7 test-no-wall-clock:src/shared/__tests__/process-host/windows-tree-kill-late-taskkill.win32.test.ts 1 test-no-wall-clock:src/shared/agent-hook-listener/transport/agent-hook-spool-drain.test.ts @@ -677,18 +625,13 @@ 4 test-no-wall-clock:tests/e2e/cross-version-wire/release-checkout.unit.test.ts 2 test-no-wall-clock:tests/e2e/cross-version-wire/release-source-retention.unit.test.ts 1 test-no-wall-clock:tests/e2e/host-cold-park-remote-subscriber.unit.test.ts -2 test-no-wall-clock:tests/e2e/omp-child-session-recovery.unit.test.ts -1 test-no-wall-clock:tests/e2e/structured-session-tab-close-regressions.unit.test.ts 2 test-timeout-needs-reason:mobile/src/terminal/document/native-document-bundle.test.ts -1 test-timeout-needs-reason:mobile/src/test-support/rpc-recording/family-recordings.test.ts -1 test-timeout-needs-reason:mobile/src/test-support/rpc-recording/mutants/family-mutants.test.ts 1 test-timeout-needs-reason:src/cli/agent-launch-process.test.ts 1 test-timeout-needs-reason:src/cli/runtime/serve-pid1-init-reaper.test.ts 1 test-timeout-needs-reason:src/cli/skills-install.test.ts 2 test-timeout-needs-reason:src/main/acp/journal/acp-structured-broken-stream.test.ts 4 test-timeout-needs-reason:src/main/agent-hooks/server/testing/http/server-transport-interference.test.ts 1 test-timeout-needs-reason:src/main/agent-hooks/wsl-relay/testing/wsl-hook-relay-live.integration.test.ts -1 test-timeout-needs-reason:src/main/ai-vault/parse-cache/session-parse-cache-large-scan.test.ts 1 test-timeout-needs-reason:src/main/antigravity/native-macos-credentials.real.test.ts 1 test-timeout-needs-reason:src/main/antigravity/posix-hook-invocation.test.ts 2 test-timeout-needs-reason:src/main/antigravity/windows-hook-json-post.test.ts @@ -745,7 +688,6 @@ 1 test-timeout-needs-reason:src/main/orcad/orcad-stop-request-shutdown.integration.test.ts 1 test-timeout-needs-reason:src/main/orcad/orcad-windows-conpty-breakaway.integration.test.ts 1 test-timeout-needs-reason:src/main/persistence/applying-settings/persistence-source-control-ai-migration.test.ts -1 test-timeout-needs-reason:src/main/persistence/profile-state/profile-state-writer-stall.electron.test.ts 1 test-timeout-needs-reason:src/main/plugins/workers/plugin-worker-supervision.integration.test.ts 2 test-timeout-needs-reason:src/main/providers/agent-foreground-process-git-bash.win32.test.ts 1 test-timeout-needs-reason:src/main/providers/local-pty/local-pty-child-process-verdict.test.ts @@ -773,7 +715,7 @@ 1 test-timeout-needs-reason:src/main/windows/windows-msys-job.win32.test.ts 2 test-timeout-needs-reason:src/main/windows/windows-pty-job.win32.test.ts 5 test-timeout-needs-reason:src/main/worker-thread-child-process/worker-thread-child-process.test.ts -2 test-timeout-needs-reason:src/main/workspace-hooks/hook-archive-timeout-observation.test.ts +1 test-timeout-needs-reason:src/main/workspace-hooks/hook-archive-timeout-observation.test.ts 2 test-timeout-needs-reason:src/main/workspace-hooks/hook-termination-real-process.test.ts 2 test-timeout-needs-reason:src/main/workspaces/removal/local-worktree-filesystem-wsl-banner.wsl.test.ts 4 test-timeout-needs-reason:src/main/wsl/execution/wsl-runner.wsl.test.ts @@ -822,7 +764,7 @@ 1 test-timeout-needs-reason:tests/e2e/headless-serve-chat-tab-placement.spec.ts 1 test-timeout-needs-reason:tests/e2e/headless-serve-cli-terminal-retention-parity.spec.ts 1 test-timeout-needs-reason:tests/e2e/headless-serve-mobile-markdown.spec.ts -3 test-timeout-needs-reason:tests/e2e/headless-serve-mobile-native-chat-identity.spec.ts +1 test-timeout-needs-reason:tests/e2e/headless-serve-mobile-native-chat-identity.spec.ts 4 test-timeout-needs-reason:tests/e2e/helpers/electron-process-shutdown.unit.test.ts 1 test-timeout-needs-reason:tests/e2e/host-parked-pane-remote-viewer.spec.ts 2 test-timeout-needs-reason:tests/e2e/host-terminal-agent-phone-push.spec.ts @@ -871,7 +813,6 @@ 2 test-timeout-needs-reason:tests/e2e/paired-host-usage-credentials.spec.ts 7 test-timeout-needs-reason:tests/e2e/paired-instant-browser-tab.spec.ts 1 test-timeout-needs-reason:tests/e2e/paired-mobile-desktop-mirror-files-git-review.spec.ts -1 test-timeout-needs-reason:tests/e2e/paired-mobile-desktop-mirror-server-browser.spec.ts 1 test-timeout-needs-reason:tests/e2e/paired-mobile-desktop-mirror-workspace-visibility.spec.ts 2 test-timeout-needs-reason:tests/e2e/paired-mobile-desktop-mirror.spec.ts 1 test-timeout-needs-reason:tests/e2e/paired-mobile-desktop-tab-composition.spec.ts @@ -900,7 +841,7 @@ 1 test-timeout-needs-reason:tests/e2e/paired-remote-terminal-probe-gap-recovery.spec.ts 1 test-timeout-needs-reason:tests/e2e/paired-remote-terminal-reconnect-idle-frame.spec.ts 1 test-timeout-needs-reason:tests/e2e/paired-remote-terminal-retention-memory.spec.ts -2 test-timeout-needs-reason:tests/e2e/paired-remote-terminal-serve-restart-binding.spec.ts +1 test-timeout-needs-reason:tests/e2e/paired-remote-terminal-serve-restart-binding.spec.ts 1 test-timeout-needs-reason:tests/e2e/paired-remote-terminal-stall-recovery.spec.ts 2 test-timeout-needs-reason:tests/e2e/paired-remote-terminal-truncated-tail-first-paint.spec.ts 1 test-timeout-needs-reason:tests/e2e/paired-remote-terminal-wide-viewport.spec.ts @@ -913,7 +854,7 @@ 1 test-timeout-needs-reason:tests/e2e/paired-two-client-emptied-workspace-reseed.spec.ts 1 test-timeout-needs-reason:tests/e2e/paired-usage-owner-placeholders.spec.ts 1 test-timeout-needs-reason:tests/e2e/paired-worktree-activation-isolation.spec.ts -5 test-timeout-needs-reason:tests/e2e/persisted-session-production-upgrade.spec.ts +3 test-timeout-needs-reason:tests/e2e/persisted-session-production-upgrade.spec.ts 1 test-timeout-needs-reason:tests/e2e/pr11346-selected-runtime-add.spec.ts 1 test-timeout-needs-reason:tests/e2e/profile-state-automatic-backup-recovery.spec.ts 3 test-timeout-needs-reason:tests/e2e/relay-region-correction.unit.test.ts @@ -935,7 +876,6 @@ 2 test-timeout-needs-reason:tests/e2e/sidebar-unread-older-paired-host.spec.ts 1 test-timeout-needs-reason:tests/e2e/sidebar-workspace-rows.spec.ts 1 test-timeout-needs-reason:tests/e2e/source-control-large-file-count.spec.ts -5 test-timeout-needs-reason:tests/e2e/ssh-orcad-auto-convert.spec.ts 1 test-timeout-needs-reason:tests/e2e/ssh-orcad-browser-drop-owner.spec.ts 1 test-timeout-needs-reason:tests/e2e/ssh-orcad-browser-routing.spec.ts 1 test-timeout-needs-reason:tests/e2e/ssh-orcad-browser-service-status.spec.ts @@ -946,7 +886,7 @@ 1 test-timeout-needs-reason:tests/e2e/ssh-orcad-explorer-selected-host.spec.ts 1 test-timeout-needs-reason:tests/e2e/ssh-orcad-explorer-watch-recovery.spec.ts 4 test-timeout-needs-reason:tests/e2e/ssh-orcad-idle-exit.spec.ts -3 test-timeout-needs-reason:tests/e2e/ssh-orcad-legacy-relay-bridge.spec.ts +1 test-timeout-needs-reason:tests/e2e/ssh-orcad-legacy-relay-bridge.spec.ts 1 test-timeout-needs-reason:tests/e2e/ssh-orcad-markdown-conversion.spec.ts 1 test-timeout-needs-reason:tests/e2e/ssh-orcad-markdown-link-refresh.spec.ts 1 test-timeout-needs-reason:tests/e2e/ssh-orcad-markdown-live-documents.spec.ts @@ -965,7 +905,7 @@ 1 test-timeout-needs-reason:tests/e2e/ssh-orcad-terminal-root-owner.spec.ts 1 test-timeout-needs-reason:tests/e2e/ssh-orcad-unbindable-tunnel-port.spec.ts 1 test-timeout-needs-reason:tests/e2e/ssh-orcad-update-anyway.spec.ts -2 test-timeout-needs-reason:tests/e2e/ssh-orcad-windows-cli-matrix.spec.ts +1 test-timeout-needs-reason:tests/e2e/ssh-orcad-windows-cli-matrix.spec.ts 4 test-timeout-needs-reason:tests/e2e/ssh-orcad-workspace-tools.spec.ts 1 test-timeout-needs-reason:tests/e2e/staging-skill-sharing.spec.ts 1 test-timeout-needs-reason:tests/e2e/structured-chat-tabs-open-close.spec.ts diff --git a/config/focus-setting-read-baseline.txt b/config/focus-setting-read-baseline.txt index 4b3f4c25346..7fc0cfa7341 100644 --- a/config/focus-setting-read-baseline.txt +++ b/config/focus-setting-read-baseline.txt @@ -12,17 +12,17 @@ 3 src/renderer/src/components/LinearIssueTextEditor.tsx 3 src/renderer/src/components/LinearIssueWorkspace.tsx 5 src/renderer/src/components/LinearItemDrawer.tsx -1 src/renderer/src/components/NativeChatResumeOnRestartGroups.tsx +1 src/renderer/src/components/native-chat-recovery/tree/NativeChatResumeOnRestartGroups.tsx 1 src/renderer/src/components/activity/ActivityPrototypePage.tsx 1 src/renderer/src/components/activity/activity-scope-filter-controls.tsx 2 src/renderer/src/components/activity/activity-thread-actions.ts 1 src/renderer/src/components/activity/use-agent-pane-thread-store-data.ts 1 src/renderer/src/components/activity/use-agent-pane-threads.ts 4 src/renderer/src/components/agent/AgentSettingsDialog.tsx -1 src/renderer/src/components/automations/automation-host-client.ts +1 src/renderer/src/components/automations/hosts/automation-host-client.ts 1 src/renderer/src/components/automations/automations-page-fixtures.ts 1 src/renderer/src/components/automations/use-automations-page-controller.ts -1 src/renderer/src/components/automations/use-automations-page-destination-form.ts +1 src/renderer/src/components/automations/authoring/use-automations-page-destination-form.ts 1 src/renderer/src/components/browser-pane/ReopenBrowserPageOnServerButton.tsx 1 src/renderer/src/components/browser-pane/browser-reopen-on-server.ts 1 src/renderer/src/components/browser-pane/stream-remote/use-remote-browser-page-stream.ts @@ -204,11 +204,11 @@ 1 src/renderer/src/hooks/ipc-events/runtime-environment-subscription-selection.ts 1 src/renderer/src/hooks/ipc-events/settings-sidebar-ipc-bridge.ts 1 src/renderer/src/hooks/ipc-events/terminal-request-ipc-bridge.ts -1 src/renderer/src/hooks/use-active-skill-discovery-runtime-target.ts +1 src/renderer/src/hooks/skills/discovery/use-active-skill-discovery-runtime-target.ts 2 src/renderer/src/hooks/use-integration-provider-status-refresh.ts -1 src/renderer/src/hooks/useActiveProjectSkillRuntime.ts +1 src/renderer/src/hooks/skills/runtime/useActiveProjectSkillRuntime.ts 1 src/renderer/src/hooks/useEditorExternalWatch.ts -1 src/renderer/src/hooks/useInstalledAgentSkills.ts +1 src/renderer/src/hooks/skills/discovery/useInstalledAgentSkills.ts 1 src/renderer/src/hooks/useIpcEvents.ts 4 src/renderer/src/hooks/useIssueMetadata.ts 2 src/renderer/src/hooks/useLinearIssuePublication.ts @@ -220,21 +220,21 @@ 1 src/renderer/src/lib/browser/navigation/http-link-localhost-route.ts # extracted from http-link-routing.ts 1 src/renderer/src/lib/browser/navigation/http-link-routing.ts 2 src/renderer/src/lib/browser/workspace/workspace-browser-tab-open.ts -1 src/renderer/src/lib/client-creation-action-error.ts -2 src/renderer/src/lib/client-creation-action-policy.ts +1 src/renderer/src/lib/workspace/creation/surface-policy/client-creation-action-error.ts +2 src/renderer/src/lib/workspace/creation/surface-policy/client-creation-action-policy.ts 1 src/renderer/src/runtime/hosts/selection/default-creation-host.ts # the sanctioned reader of the default host -1 src/renderer/src/lib/launch-ai-vault-session.ts -1 src/renderer/src/lib/local-preflight-context.ts +1 src/renderer/src/lib/agent-session/resume/history/launch-ai-vault-session.ts +1 src/renderer/src/runtime/hosts/preflight/local-preflight-context.ts 2 src/renderer/src/runtime/hosts/observations/provider-runtime-context.ts 2 src/renderer/src/lib/workspace/ownership/repo-runtime-owner.ts 1 src/renderer/src/lib/workspace/ownership/runtime-session-mirror-owners.ts -1 src/renderer/src/lib/runtime-session-mirror-targets.ts +1 src/renderer/src/runtime/web-session-tabs-sync/subscriptions/runtime-session-mirror-targets.ts 1 src/renderer/src/lib/workspace/ownership/single-runtime-legacy-owner.ts -1 src/renderer/src/lib/skill-runtime-command.ts -1 src/renderer/src/lib/terminal-close-route.ts -4 src/renderer/src/lib/terminal-worktree-route.ts # resolveTerminalPtyOwner: teardown, close and PTY identity read spawn's attribution (round 3 F8), which retired the deprecated resolver's readers -3 src/renderer/src/lib/unread-badge-count-selector.ts -1 src/renderer/src/lib/web-runtime-worktree-terminal-after-wake.ts +1 src/renderer/src/lib/skills/runtime/skill-runtime-command.ts +1 src/renderer/src/lib/workspace/ownership/terminal-close-route.ts +4 src/renderer/src/lib/workspace/ownership/terminal-worktree-route.ts # resolveTerminalPtyOwner: teardown, close and PTY identity read spawn's attribution (round 3 F8), which retired the deprecated resolver's readers +3 src/renderer/src/attention/unread/unread-badge-count-selector.ts +1 src/renderer/src/runtime/hosted-terminals/restoration/web-runtime-worktree-terminal-after-wake.ts 1 src/renderer/src/lib/work-items/linear/linear-issue-url-lookup.ts 1 src/renderer/src/lib/work-items/linear/linear-issue-write.ts 1 src/renderer/src/lib/workspace/activation/worktree-activation.ts diff --git a/config/host-list-render-baseline.txt b/config/host-list-render-baseline.txt index 09d3a029300..8cceee047a8 100644 --- a/config/host-list-render-baseline.txt +++ b/config/host-list-render-baseline.txt @@ -1,7 +1,7 @@ # JSX mapped straight over a host collection, per file, outside components/host-picker. # This is a RATCHET: counts may only go DOWN. Draw host lists with HostCombobox or # useBoundedHostRows. Prune after a fix: pnpm check:host-list-render-ratchet --prune -1 src/renderer/src/components/automations/AutomationRunsDashboard.tsx +1 src/renderer/src/components/automations/runs/AutomationRunsDashboard.tsx 1 src/renderer/src/components/right-sidebar/ai-vault/panel/AiVaultPanelControls.tsx 1 src/renderer/src/components/right-sidebar/source-control/ai/SourceControlAgentActionDialogForm.tsx 1 src/renderer/src/components/settings/browser/profiles/BrowserSessionCookiesSection.tsx diff --git a/config/id-only-store-write-baseline.txt b/config/id-only-store-write-baseline.txt index 584595e88d3..6597b504e64 100644 --- a/config/id-only-store-write-baseline.txt +++ b/config/id-only-store-write-baseline.txt @@ -3,5 +3,5 @@ # This is a RATCHET: entries may only be REMOVED. Take RepoHostTarget or HostWorktreeTarget, # or match the row by id AND host (getRepoExecutionHostId). # Prune after a fix: pnpm check:id-only-store-write-ratchet --prune -lookup:src/main/persistence/loading-store/terminal-binding-recovery.ts#getConnectionIdForWorktree +lookup:src/main/persistence/loading-store/terminal-bindings/terminal-binding-recovery.ts#getConnectionIdForWorktree lookup:src/main/persistence/tracking-repos/project-host-operations.ts#getRepo diff --git a/config/knip.json b/config/knip.json index c9fe794f998..34746da37b6 100644 --- a/config/knip.json +++ b/config/knip.json @@ -41,11 +41,11 @@ "src/main/plugins/testing/plugin-test-register.ts", "src/main/ai-vault/scan-service/session-scanner-service-entry.ts", "src/main/native-chat/wsl-transcript-fs-process-entry.ts", - "src/main/usage/usage-scan-worker-entry.ts", + "src/main/usage/scan-worker/usage-scan-worker-entry.ts", "src/main/workspaces/space-analysis/workspace-space-scan-worker-entry.ts", "src/main/claude-accounts/claude-profile-setup-worker-entry.ts", - "src/main/persistence/profile-state/profile-state-backup-worker-entry.ts", - "src/main/persistence/profile-state/profile-state-writer-worker-entry.ts", + "src/main/persistence/profile-state/backup/profile-state-backup-worker-entry.ts", + "src/main/persistence/profile-state/writer/profile-state-writer-worker-entry.ts", "src/main/orcad/orcad-local-serve-selection-entry.ts", "src/main/orcad/launcher.ts", "src/main/claude-accounts/claude-profile-wsl-entry.ts", diff --git a/config/legacy-relay-compat-tags-baseline.txt b/config/legacy-relay-compat-tags-baseline.txt index 3ed5dc0a23e..ad9eb1fa6e3 100644 --- a/config/legacy-relay-compat-tags-baseline.txt +++ b/config/legacy-relay-compat-tags-baseline.txt @@ -12,7 +12,6 @@ src/main/runtime/orchestration/terminal-authority/verify-orchestration-compatibi src/main/runtime/orchestration/terminal-authority/orchestration-compatibility-authority.ts src/main/managed-server/migration/cutover/orcad-migration-delta-move.test.ts src/main/managed-server/migration/cutover/orcad-migration-delta-move.ts -src/main/managed-server/migration/linking/orcad-migration-repository-link.test.ts src/main/ssh/migration-source/orcad-migration-terminal-gate.test.ts src/main/ssh/migration-source/orcad-migration-terminal-gate.ts src/main/ssh/host-server/ssh-host-server-on-connect.ts diff --git a/config/legacy-relay-importers-baseline.txt b/config/legacy-relay-importers-baseline.txt index c48864aa1ed..8696af1340b 100644 --- a/config/legacy-relay-importers-baseline.txt +++ b/config/legacy-relay-importers-baseline.txt @@ -2,7 +2,6 @@ # The relay retirement (2027-01-15) deletes the folder and edits exactly these files. # Prune: pnpm check:legacy-relay-fence-ratchet --prune src/main/ipc/runtime-environments/orcad-delta-move-handlers.ts -src/main/ipc/pty/runtime/kill-legacy-relay-bridged.test.ts src/main/ipc/pty/runtime/kill.ts src/main/ipc/ssh/ssh-connect-decision-cancellation.test.ts src/main/ipc/ssh/ssh-connect-flow.ts diff --git a/config/main-blocking-sqlite-baseline.txt b/config/main-blocking-sqlite-baseline.txt index 9be60f2f3c4..b23a0a1d3f4 100644 --- a/config/main-blocking-sqlite-baseline.txt +++ b/config/main-blocking-sqlite-baseline.txt @@ -1,17 +1,17 @@ # Legacy synchronous sqlite uses per file; counts may only go DOWN. # Only explicit worker/utility entry files are exempt; their imports remain guarded. -8 src/main/ai-vault-search/session-search-index-generation.ts -6 src/main/ai-vault-search/session-search-index-writer.ts -10 src/main/ai-vault-search/session-search-message-rows.ts -3 src/main/ai-vault-search/session-search-query-schema.ts -17 src/main/ai-vault-search/session-search-retention-delete.ts -13 src/main/ai-vault-search/session-search-schema.ts -2 src/main/ai-vault-search/session-search-snippet.ts -2 src/main/ai-vault-search/session-search-source-presence.ts -16 src/main/ai-vault-search/session-search-store.ts -13 src/main/ai-vault-search/session-search-tool-purge.ts -2 src/main/ai-vault-search/session-search-typo-repair.ts -8 src/main/ai-vault-search/session-search-write-buffer.ts +2 src/main/ai-vault-search/query/session-search-snippet.ts +2 src/main/ai-vault-search/query/session-search-source-presence.ts +2 src/main/ai-vault-search/query/session-search-typo-repair.ts +8 src/main/ai-vault-search/storage/session-search-index-generation.ts +6 src/main/ai-vault-search/storage/session-search-index-writer.ts +10 src/main/ai-vault-search/storage/session-search-message-rows.ts +3 src/main/ai-vault-search/storage/session-search-query-schema.ts +17 src/main/ai-vault-search/storage/session-search-retention-delete.ts +13 src/main/ai-vault-search/storage/session-search-schema.ts +16 src/main/ai-vault-search/storage/session-search-store.ts +13 src/main/ai-vault-search/storage/session-search-tool-purge.ts +8 src/main/ai-vault-search/storage/session-search-write-buffer.ts 19 src/main/ai-vault/parse-cache/session-parse-cache-database.ts 13 src/main/ai-vault/parse-cache/session-scope-cwds-table.ts 2 src/main/ai-vault/scanners/opencode/sqlite/session-scanner-opencode-sqlite-capture.ts @@ -51,28 +51,28 @@ 10 src/main/native-chat/transcript-opencode2-sqlite.ts 10 src/main/opencode-usage/opencode-usage-row-queries.ts 1 src/main/opencode-usage/scanner.ts -12 src/main/persistence/moving-wsl-projects/wsl-move-orchestration-history-rewrite.ts +12 src/main/persistence/moving-wsl-projects/desktop-state/wsl-move-orchestration-history-rewrite.ts +8 src/main/persistence/profile-state/automation-runs/profile-state-automation-runs-migration.ts +3 src/main/persistence/profile-state/automation-runs/profile-state-automation-runs-reader.ts +6 src/main/persistence/profile-state/automation-runs/profile-state-automation-runs-storage.ts +2 src/main/persistence/profile-state/automation-runs/profile-state-automation-runs-validation.ts +8 src/main/persistence/profile-state/automation-runs/profile-state-automation-runs-writer.ts +2 src/main/persistence/profile-state/automation-runs/profile-state-automation-runs.ts +3 src/main/persistence/profile-state/database/profile-state-database-snapshot.ts +4 src/main/persistence/profile-state/database/profile-state-database-validation.ts +6 src/main/persistence/profile-state/database/profile-state-database.ts +3 src/main/persistence/profile-state/database/profile-state-read-snapshot.ts +4 src/main/persistence/profile-state/database/profile-state-revision.ts +3 src/main/persistence/profile-state/database/profile-state-write-transaction.ts +2 src/main/persistence/profile-state/document-parts/profile-state-document-parts-reader.ts +23 src/main/persistence/profile-state/document-parts/profile-state-document-parts-storage.ts +3 src/main/persistence/profile-state/document-parts/profile-state-document-parts.ts +4 src/main/persistence/profile-state/document-parts/profile-state-legacy-document-refresh.ts +1 src/main/persistence/profile-state/documents/profile-state-document-reader.ts +7 src/main/persistence/profile-state/documents/profile-state-documents.ts +8 src/main/persistence/profile-state/documents/profile-state-domain-writes.ts 4 src/main/persistence/profile-state/legacy-json/profile-state-json-acceptance.ts -8 src/main/persistence/profile-state/profile-state-automation-runs-migration.ts -3 src/main/persistence/profile-state/profile-state-automation-runs-reader.ts -6 src/main/persistence/profile-state/profile-state-automation-runs-storage.ts -2 src/main/persistence/profile-state/profile-state-automation-runs-validation.ts -8 src/main/persistence/profile-state/profile-state-automation-runs-writer.ts -2 src/main/persistence/profile-state/profile-state-automation-runs.ts -3 src/main/persistence/profile-state/profile-state-database-snapshot.ts -4 src/main/persistence/profile-state/profile-state-database-validation.ts -6 src/main/persistence/profile-state/profile-state-database.ts -2 src/main/persistence/profile-state/profile-state-document-parts-reader.ts -23 src/main/persistence/profile-state/profile-state-document-parts-storage.ts -3 src/main/persistence/profile-state/profile-state-document-parts.ts -1 src/main/persistence/profile-state/profile-state-document-reader.ts -7 src/main/persistence/profile-state/profile-state-documents.ts -8 src/main/persistence/profile-state/profile-state-domain-writes.ts -4 src/main/persistence/profile-state/profile-state-legacy-document-refresh.ts -3 src/main/persistence/profile-state/profile-state-read-snapshot.ts -4 src/main/persistence/profile-state/profile-state-revision.ts -1 src/main/persistence/profile-state/profile-state-section-repair.ts -3 src/main/persistence/profile-state/profile-state-write-transaction.ts +1 src/main/persistence/profile-state/recovery/profile-state-section-repair.ts 3 src/main/rate-limits/providers/opencode-go/opencode-go-api-key-source.ts 2 src/main/runtime/agent-session/records/agent-session-record-lineage.ts 34 src/main/runtime/agent-session/records/agent-session-record-rows.ts @@ -81,6 +81,7 @@ 9 src/main/runtime/orchestration/db/lifecycle-transition.ts 7 src/main/runtime/orchestration/db/mutation-receipts/mutation-receipt-capacity.ts 5 src/main/runtime/orchestration/db/orchestration-db.ts +4 src/main/runtime/orchestration/db/peer-runs/peer-run-queue-sql.ts 10 src/main/runtime/orchestration/db/reset/removed-orchestration-work-read.ts 6 src/main/runtime/orchestration/db/reset/removed-orchestration-work-store.ts 4 src/main/runtime/orchestration/db/runs/run-coordinator-mail-routing.ts @@ -89,6 +90,6 @@ 5 src/main/runtime/orchestration/db/worker-dispatch/worker-dispatch-settlement.ts 4 src/main/runtime/orchestration/workers/lifecycle/context-only-dispatch-release.ts 19 src/main/sqlite/row-cache/keyed-json-row-cache.ts -2 src/main/sqlite/sync-database.ts +5 src/main/sqlite/sync-database.ts 8 src/main/sqlite/versioned-cache-database.ts 12 src/main/wsl/filesystem/wsl-drive-unc-conversion-stores.ts diff --git a/config/main-blocking-worker-entries.json b/config/main-blocking-worker-entries.json index 7ca3f46fab1..71bcbfa92b4 100644 --- a/config/main-blocking-worker-entries.json +++ b/config/main-blocking-worker-entries.json @@ -3,16 +3,16 @@ "src/main/claude/claude-conversation-fork-worker-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", "src/main/speech/stt-worker.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", "src/main/warp-themes/warp-theme-parser-worker.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", - "src/main/ai-vault-search/session-search-worker-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", + "src/main/ai-vault-search/worker/session-search-worker-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", "src/main/foreign-sqlite-readers/foreign-sqlite-reader-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", "src/main/ports/port-scan-command-worker-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", "src/main/ipc/command-path/command-path-directory-worker-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", "src/main/worker-thread-child-process/worker-thread-child-process-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", - "src/main/usage/usage-scan-worker-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", + "src/main/usage/scan-worker/usage-scan-worker-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", "src/main/workspaces/space-analysis/workspace-space-scan-worker-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", "src/main/claude-accounts/claude-profile-setup-worker-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", - "src/main/persistence/profile-state/profile-state-backup-worker-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", - "src/main/persistence/profile-state/profile-state-writer-worker-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", + "src/main/persistence/profile-state/backup/profile-state-backup-worker-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", + "src/main/persistence/profile-state/writer/profile-state-writer-worker-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", "src/main/hang-watchdog/main-thread-hang-watchdog-entry.ts": "Dedicated worker-thread entry; blocking work stays off Electron main.", "src/main/browser/extensions/native-messaging/browser-extension-native-host-supervisor-entry.ts": "Dedicated utility/child-process entry; blocking work stays off Electron main.", "src/main/daemon/daemon-entry.ts": "Dedicated utility/child-process entry; blocking work stays off Electron main.", diff --git a/config/main-layout-writer-baseline.txt b/config/main-layout-writer-baseline.txt index 38d52fa4386..1dec6b9a0d4 100644 --- a/config/main-layout-writer-baseline.txt +++ b/config/main-layout-writer-baseline.txt @@ -11,37 +11,37 @@ 1 src/main/ipc/runtime-environments/runtime-environment-removal-cleanup.ts 1 src/main/ipc/runtime-environments/runtime-environment-session-reconcile.ts 2 src/main/ipc/session.ts -6 src/main/orca-profiles/profile-project-session-state.ts -4 src/main/orca-profiles/profile-project-source-removal.ts -2 src/main/orca-profiles/profile-project-state-file.ts -4 src/main/orca-profiles/profile-project-transfer-payload.ts -2 src/main/orca-profiles/profile-project-transfer.ts -9 src/main/orca-profiles/profile-session-owner-transfer.ts +6 src/main/orca-profiles/project-transfer/profile-project-session-state.ts +4 src/main/orca-profiles/project-transfer/profile-project-source-removal.ts +2 src/main/orca-profiles/project-transfer/profile-project-state-file.ts +4 src/main/orca-profiles/project-transfer/profile-project-transfer-payload.ts +2 src/main/orca-profiles/project-transfer/profile-project-transfer.ts +9 src/main/orca-profiles/project-transfer/profile-session-owner-transfer.ts 3 src/main/persistence/leasing-ssh-ptys/ssh-pty-binding-cleanup.ts -1 src/main/persistence/loading-store/loaded-state-parsing.ts -1 src/main/persistence/loading-store/metadata-lineage-operations.ts -1 src/main/persistence/loading-store/mobile-tab-selection-persistence.ts -1 src/main/persistence/loading-store/normalize-loaded-profile-state.ts -8 src/main/persistence/loading-store/pty-binding-persistence.ts -10 src/main/persistence/loading-store/pty-binding-session-update.ts -10 src/main/persistence/loading-store/repo-lifecycle-operations.ts -10 src/main/persistence/loading-store/session-host-partitions.ts -9 src/main/persistence/loading-store/session-snapshot-operations.ts -3 src/main/persistence/loading-store/state-serialization-secret-handling.ts -4 src/main/persistence/loading-store/workspace-session-snapshot-publication.ts -4 src/main/persistence/loading-store/workspace-session-terminal-binding-replay.ts -2 src/main/persistence/migrating-orcad-catalog/orcad-destination-client-state.ts -1 src/main/persistence/migrating-orcad-catalog/orcad-destination-workspace-session.ts -3 src/main/persistence/migrating-orcad-catalog/orcad-dormant-state-records.ts -1 src/main/persistence/migrating-orcad-catalog/orcad-migration-source-retention.ts -2 src/main/persistence/migrating-orcad-catalog/orcad-source-client-subtraction.ts -1 src/main/persistence/migrating-orcad-catalog/orcad-source-dormant-state.ts -1 src/main/persistence/migrating-orcad-catalog/orcad-source-scrollback-state.ts -1 src/main/persistence/migrating-orcad-catalog/orcad-source-workspace-session-eligibility.ts -3 src/main/persistence/migrating-orcad-catalog/orcad-source-workspace-session-layout.ts -4 src/main/persistence/migrating-orcad-catalog/orcad-source-workspace-session-subtraction.ts -1 src/main/persistence/migrating-orcad-catalog/orcad-source-workspace-session.ts -2 src/main/persistence/moving-wsl-projects/wsl-move-main-rewrite-stores.ts +1 src/main/persistence/loading-store/profile-loading/loaded-state-parsing.ts +1 src/main/persistence/loading-store/workspace-lineage/metadata-lineage-operations.ts +1 src/main/persistence/loading-store/profile-preferences/mobile-tab-selection-persistence.ts +1 src/main/persistence/loading-store/profile-loading/normalize-loaded-profile-state.ts +8 src/main/persistence/loading-store/terminal-bindings/pty-binding-persistence.ts +10 src/main/persistence/loading-store/terminal-bindings/pty-binding-session-update.ts +10 src/main/persistence/loading-store/project-catalog/repo-lifecycle-operations.ts +10 src/main/persistence/loading-store/workspace-sessions/session-host-partitions.ts +9 src/main/persistence/loading-store/workspace-sessions/session-snapshot-operations.ts +2 src/main/persistence/loading-store/profile-writing/state-serialization-secret-handling.ts +4 src/main/persistence/loading-store/workspace-sessions/workspace-session-snapshot-publication.ts +4 src/main/persistence/loading-store/workspace-sessions/workspace-session-terminal-binding-replay.ts +2 src/main/persistence/migrating-orcad-catalog/destination/orcad-destination-client-state.ts +1 src/main/persistence/migrating-orcad-catalog/destination/orcad-destination-workspace-session.ts +3 src/main/persistence/migrating-orcad-catalog/destination/orcad-dormant-state-records.ts +1 src/main/persistence/migrating-orcad-catalog/retained-source/orcad-migration-source-retention.ts +2 src/main/persistence/migrating-orcad-catalog/source/clients/orcad-source-client-subtraction.ts +1 src/main/persistence/migrating-orcad-catalog/source/dormancy/orcad-source-dormant-state.ts +1 src/main/persistence/migrating-orcad-catalog/source/scrollback/orcad-source-scrollback-state.ts +1 src/main/persistence/migrating-orcad-catalog/source/sessions/orcad-source-workspace-session-eligibility.ts +3 src/main/persistence/migrating-orcad-catalog/source/sessions/orcad-source-workspace-session-layout.ts +4 src/main/persistence/migrating-orcad-catalog/source/sessions/orcad-source-workspace-session-subtraction.ts +1 src/main/persistence/migrating-orcad-catalog/source/sessions/orcad-source-workspace-session.ts +2 src/main/persistence/moving-wsl-projects/desktop-state/wsl-move-main-rewrite-stores.ts 1 src/main/persistence/restoring-sessions/folder-workspace-operations.ts 1 src/main/persistence/restoring-sessions/invalid-workspace-layout-purge.ts 5 src/main/persistence/restoring-sessions/session-owner-fields.ts diff --git a/config/main-sync-fs-baseline.txt b/config/main-sync-fs-baseline.txt index 5551626cc46..8247db59dc5 100644 --- a/config/main-sync-fs-baseline.txt +++ b/config/main-sync-fs-baseline.txt @@ -14,11 +14,11 @@ 14 src/main/agent-launch/trust/agent-trust-presets.ts 2 src/main/agent-launch/trust/antigravity-workspace-trust-ownership.ts 1 src/main/agent-launch/trust/execution-host-workspace-trust.ts -1 src/main/ai-vault-search/session-search-worker-client.ts +1 src/main/ai-vault-search/worker/session-search-worker-client.ts 4 src/main/ai-vault/parse-cache/session-parse-cache-legacy-json.ts 2 src/main/ai-vault/scan-service/session-scanner-service-entry-path.ts 1 src/main/ai-vault/scan-service/session-scanner-service-spawn.ts -1 src/main/ai-vault/scanners/omp/omp-session-root.ts +3 src/main/ai-vault/scanners/omp/omp-session-root.ts # small fixed profile-dir probes mirroring OMP dirs.ts; one readdir + per-profile candidate checks, not a per-file sweep 1 src/main/ai-vault/scanners/opencode/reader-transport/opencode-wsl-runtime-preparation.ts 2 src/main/ai-vault/scanners/opencode/reader-transport/session-scanner-opencode-sqlite-worker-spawn.ts 8 src/main/amp/hook-service.ts @@ -97,18 +97,18 @@ 1 src/main/claude/hook-service.ts 3 src/main/claude/statusline-install.ts 6 src/main/claude/windows-hook-files.ts -1 src/main/cli/appimage-copy-pre-extraction.ts -3 src/main/cli/appimage-extracted-root.ts -1 src/main/cli/appimage-extraction-pruning.ts -2 src/main/cli/appimage-generation-lease.ts -4 src/main/cli/appimage-generation-residency.ts -16 src/main/cli/appimage-stable-launcher.ts -1 src/main/cli/cli-command-inspection.ts -1 src/main/cli/cli-dev-launcher.ts -3 src/main/cli/cli-install-location.ts -2 src/main/cli/linux-bare-orca-dispatcher.ts -7 src/main/cli/linux-terminal-orca-cli-shim.ts -2 src/main/cli/wsl-managed-cli.ts +1 src/main/cli/appimage/appimage-copy-pre-extraction.ts +3 src/main/cli/appimage/appimage-extracted-root.ts +1 src/main/cli/appimage/appimage-extraction-pruning.ts +2 src/main/cli/appimage/appimage-generation-lease.ts +4 src/main/cli/appimage/appimage-generation-residency.ts +16 src/main/cli/appimage/appimage-stable-launcher.ts +1 src/main/cli/installation/cli-command-inspection.ts +3 src/main/cli/installation/cli-install-location.ts +1 src/main/cli/launchers/cli-dev-launcher.ts +2 src/main/cli/launchers/linux-bare-orca-dispatcher.ts +7 src/main/cli/launchers/linux-terminal-orca-cli-shim.ts +2 src/main/cli/wsl/wsl-managed-cli.ts 2 src/main/codex-accounts/codex-account-identity.ts 3 src/main/codex-accounts/codex-account-registration.ts 4 src/main/codex-accounts/codex-config-mirror.ts @@ -165,14 +165,14 @@ 1 src/main/codex/trust/identity/codex-trust-identity.ts 1 src/main/codex/trust/toml/config-toml-project-trust.ts 7 src/main/codex/trust/toml/config-toml-trust.ts -2 src/main/computer/desktop-script-provider-paths.ts -1 src/main/computer/macos-native-provider-client.ts -3 src/main/computer/macos-native-provider-paths.ts -5 src/main/computer/macos-native-provider-transport.ts -1 src/main/computer/sidecar-client.ts +2 src/main/computer/desktop-script/desktop-script-provider-paths.ts +1 src/main/computer/macos-native/macos-native-provider-client.ts +3 src/main/computer/macos-native/macos-native-provider-paths.ts +5 src/main/computer/macos-native/macos-native-provider-transport.ts +1 src/main/computer/sidecar-transport/sidecar-client.ts 3 src/main/connector-cloud/connector-turn-events.ts 1 src/main/copilot/hook-service.ts -4 src/main/crash-reporting/appimage-crashpad-handler-exit.ts +4 src/main/crash-reporting/capture/appimage-crashpad-handler-exit.ts 2 src/main/credentials/credential-file-protection.ts 6 src/main/credentials/encrypted-api-key-file-store.ts 10 src/main/credentials/integration-credential-file.ts @@ -296,10 +296,10 @@ 3 src/main/kiro/hook-service.ts 1 src/main/kiro/standalone-hooks.ts 3 src/main/lib/hidden-probe-cwd.ts -4 src/main/linear/linear-credential-paths.ts -3 src/main/linear/linear-legacy-viewer-store.ts -1 src/main/linear/linear-token-store.ts -3 src/main/linear/linear-workspace-registry.ts +4 src/main/linear/accounts/linear-credential-paths.ts +3 src/main/linear/accounts/linear-legacy-viewer-store.ts +1 src/main/linear/accounts/linear-token-store.ts +3 src/main/linear/accounts/linear-workspace-registry.ts 1 src/main/macos-permissions/macos-tcc-prompt-notice.ts 3 src/main/managed-data-accounts/credential-capture.ts 18 src/main/managed-data-accounts/profile-removal.ts @@ -323,22 +323,22 @@ 1 src/main/observability/bounded-log-file-writer.ts 2 src/main/observability/bundle.ts 6 src/main/observability/local-file-sink.ts -14 src/main/opencode/hook-service.ts -1 src/main/opencode/legacy-plugin-acl-retry.ts -2 src/main/opencode/opencode-overlay-manifest.ts -1 src/main/opencode/opencode-plugin-config-writer.ts 1 src/main/opencode/opencode-private-server.ts -1 src/main/opencode/opencode-wsl-text-task.ts -2 src/main/orca-profiles/new-profile-state.ts -3 src/main/orca-profiles/other-profile-workspace-catalog.ts -3 src/main/orca-profiles/profile-artifact-cloud-cleanup.ts -1 src/main/orca-profiles/profile-cloud-index.ts -4 src/main/orca-profiles/profile-cloud-session-store.ts +14 src/main/opencode/status-hooks/hook-service.ts +1 src/main/opencode/status-hooks/legacy-plugin-acl-retry.ts +2 src/main/opencode/status-hooks/opencode-overlay-manifest.ts +1 src/main/opencode/status-hooks/opencode-plugin-config-writer.ts +1 src/main/opencode/text-tasks/wsl/opencode-wsl-text-task.ts +3 src/main/orca-profiles/catalog/other-profile-workspace-catalog.ts +3 src/main/orca-profiles/cloud-auth/profile-artifact-cloud-cleanup.ts +1 src/main/orca-profiles/cloud-auth/profile-cloud-index.ts +4 src/main/orca-profiles/cloud-session/profile-cloud-session-store.ts 12 src/main/orca-profiles/profile-index-store.ts -5 src/main/orca-profiles/profile-legacy-state-import.ts -4 src/main/orca-profiles/profile-project-move-intent.ts -3 src/main/orca-profiles/profile-project-move-record.ts -4 src/main/orca-profiles/profile-project-state-file.ts +4 src/main/orca-profiles/project-transfer/profile-project-move-intent.ts +3 src/main/orca-profiles/project-transfer/profile-project-move-record.ts +4 src/main/orca-profiles/project-transfer/profile-project-state-file.ts +2 src/main/orca-profiles/storage/new-profile-state.ts +5 src/main/orca-profiles/storage/profile-legacy-state-import.ts 2 src/main/orcad/launcher.ts 7 src/main/orcad/node-pty-prebuilt-slot.ts 2 src/main/orcad/node-pty-precondition.ts @@ -375,52 +375,52 @@ 1 src/main/orcad/serve-profile-ssh-targets.ts 6 src/main/persistence/atomic-snapshot-writer.ts 5 src/main/persistence/loading-store/user-data-path.ts -9 src/main/persistence/migrating-orcad-catalog/migration-journal-directory.ts -4 src/main/persistence/migrating-orcad-catalog/orcad-migration-blob-installers.ts -3 src/main/persistence/migrating-orcad-catalog/orcad-migration-blob-staging.ts -17 src/main/persistence/migrating-orcad-catalog/orcad-migration-staged-file.ts -1 src/main/persistence/migrating-orcad-catalog/orcad-scrollback-snapshot-transfer.ts -11 src/main/persistence/migrating-orcad-catalog/orcad-shell-history-installer.ts -7 src/main/persistence/migrating-orcad-catalog/orcad-terminal-history-installer.ts -1 src/main/persistence/migrating-orcad-catalog/orcad-terminal-restore-hint-store.ts -1 src/main/persistence/moving-wsl-projects/wsl-move-orchestration-history-rewrite.ts -1 src/main/persistence/moving-wsl-projects/wsl-move-orchestrator-store.ts -6 src/main/persistence/moving-wsl-projects/wsl-move-slept-scrollback.ts -2 src/main/persistence/moving-wsl-projects/wsl-move-slept-spool-sweep.ts +4 src/main/persistence/migrating-orcad-catalog/blob-transfer/orcad-migration-blob-installers.ts +3 src/main/persistence/migrating-orcad-catalog/blob-transfer/orcad-migration-blob-staging.ts +17 src/main/persistence/migrating-orcad-catalog/blob-transfer/orcad-migration-staged-file.ts +9 src/main/persistence/migrating-orcad-catalog/cutover-journals/migration-journal-directory.ts +1 src/main/persistence/migrating-orcad-catalog/terminal-history/orcad-scrollback-snapshot-transfer.ts +11 src/main/persistence/migrating-orcad-catalog/terminal-history/orcad-shell-history-installer.ts +7 src/main/persistence/migrating-orcad-catalog/terminal-history/orcad-terminal-history-installer.ts +1 src/main/persistence/migrating-orcad-catalog/terminal-history/orcad-terminal-restore-hint-store.ts +1 src/main/persistence/moving-wsl-projects/desktop-state/wsl-move-orchestration-history-rewrite.ts +1 src/main/persistence/moving-wsl-projects/orchestration/wsl-move-orchestrator-store.ts +6 src/main/persistence/moving-wsl-projects/terminal-state/wsl-move-slept-scrollback.ts +2 src/main/persistence/moving-wsl-projects/terminal-state/wsl-move-slept-spool-sweep.ts 5 src/main/persistence/preferences/active-view-preference.ts +5 src/main/persistence/profile-state/access/profile-state-access-identity.ts +12 src/main/persistence/profile-state/access/profile-state-access-owner.ts +3 src/main/persistence/profile-state/access/profile-state-access.ts +2 src/main/persistence/profile-state/backup/profile-state-backup-path.ts +2 src/main/persistence/profile-state/backup/profile-state-backup-worker.ts +1 src/main/persistence/profile-state/database/profile-state-authority-marker.ts +2 src/main/persistence/profile-state/database/profile-state-database.ts +2 src/main/persistence/profile-state/database/profile-state-storage-classification.ts 4 src/main/persistence/profile-state/legacy-json/profile-state-authority-exports.ts 2 src/main/persistence/profile-state/legacy-json/profile-state-export-path.ts 1 src/main/persistence/profile-state/legacy-json/profile-state-legacy-backup-path.ts 2 src/main/persistence/profile-state/legacy-json/profile-state-legacy-import.ts 8 src/main/persistence/profile-state/legacy-json/profile-state-recovery.ts 6 src/main/persistence/profile-state/legacy-json/profile-state-versioned-export.ts -5 src/main/persistence/profile-state/profile-state-access-identity.ts -12 src/main/persistence/profile-state/profile-state-access-owner.ts -3 src/main/persistence/profile-state/profile-state-access.ts -2 src/main/persistence/profile-state/profile-state-active-location.ts -5 src/main/persistence/profile-state/profile-state-authority-bootstrap.ts -1 src/main/persistence/profile-state/profile-state-authority-marker.ts -2 src/main/persistence/profile-state/profile-state-backup-path.ts -2 src/main/persistence/profile-state/profile-state-backup-worker.ts -5 src/main/persistence/profile-state/profile-state-database-quarantine.ts -9 src/main/persistence/profile-state/profile-state-database-recovery.ts -2 src/main/persistence/profile-state/profile-state-database.ts -4 src/main/persistence/profile-state/profile-state-migration.ts -6 src/main/persistence/profile-state/profile-state-offline-settings.ts -6 src/main/persistence/profile-state/profile-state-recovery-command.ts -8 src/main/persistence/profile-state/profile-state-recovery-copy.ts -2 src/main/persistence/profile-state/profile-state-recovery-crash-process.ts -1 src/main/persistence/profile-state/profile-state-recovery-required.ts -2 src/main/persistence/profile-state/profile-state-section-repair.ts +2 src/main/persistence/profile-state/offline-access/profile-state-active-location.ts +6 src/main/persistence/profile-state/offline-access/profile-state-offline-settings.ts 2 src/main/persistence/profile-state/profile-state-sqlite-authority.ts -1 src/main/persistence/profile-state/profile-state-startup-recovery-dialog.ts -2 src/main/persistence/profile-state/profile-state-storage-classification.ts -1 src/main/persistence/profile-state/profile-state-writer-worker-path.ts +5 src/main/persistence/profile-state/recovery/profile-state-database-quarantine.ts +9 src/main/persistence/profile-state/recovery/profile-state-database-recovery.ts +6 src/main/persistence/profile-state/recovery/profile-state-recovery-command.ts +8 src/main/persistence/profile-state/recovery/profile-state-recovery-copy.ts +2 src/main/persistence/profile-state/recovery/profile-state-recovery-crash-process.ts +1 src/main/persistence/profile-state/recovery/profile-state-recovery-required.ts +2 src/main/persistence/profile-state/recovery/profile-state-section-repair.ts +5 src/main/persistence/profile-state/startup/profile-state-authority-bootstrap.ts +4 src/main/persistence/profile-state/startup/profile-state-migration.ts +1 src/main/persistence/profile-state/startup/profile-state-startup-recovery-dialog.ts +1 src/main/persistence/profile-state/writer/profile-state-writer-worker-path.ts 2 src/main/persistence/restoring-sessions/floating-workspace-normalization.ts 1 src/main/persistence/tracking-repos/worktree-metadata-normalization.ts 1 src/main/persistence/window-save-divergence.ts -8 src/main/pi/legacy-omp-overlay-migration.ts -5 src/main/pi/titlebar-extension-service.ts +8 src/main/pi/managed-extensions/legacy-omp-overlay-migration.ts +5 src/main/pi/managed-extensions/titlebar-extension-service.ts 3 src/main/plugins/appearance/plugin-appearance-service.ts 2 src/main/plugins/installation/plugin-install-staging.ts 1 src/main/plugins/installation/plugin-install.ts @@ -478,7 +478,7 @@ 2 src/main/runtime/mobile-cloud-relay/relay-revoke-outbox.ts 1 src/main/runtime/orchestration/db/runtime-orchestration-database-access.ts 2 src/main/runtime/push/push-unregister-outbox.ts -2 src/main/runtime/rpc/methods/mobile-delivery/bundled-mobile-web-bundle.ts +1 src/main/runtime/rpc/methods/mobile-delivery/bundled-mobile-web-bundle.ts 1 src/main/runtime/rpc/server/network-source-policy-store.ts 2 src/main/runtime/rpc/server/pairing/device-registry-corruption.ts 2 src/main/runtime/rpc/server/pairing/device-registry-disk-merge.ts @@ -492,9 +492,9 @@ 1 src/main/runtime/workspaces/persisted-surfaces/crew-operations.ts 1 src/main/server/serve-pairing-output.ts 2 src/main/speech/model-cache-path.ts -9 src/main/speech/model-manager.ts +7 src/main/speech/model-manager.ts 10 src/main/speech/openai-api-key-store.ts -2 src/main/speech/speech-model-download-cleanup.ts +1 src/main/speech/speech-model-download-cleanup.ts 1 src/main/speech/speech-model-download-transport.ts 1 src/main/speech/speech-model-files.ts 2 src/main/speech/speech-model-http-download.ts @@ -538,8 +538,8 @@ 1 src/main/updater/linux-package/linux-package-install-command.ts 1 src/main/updater/linux-package/linux-update-package-type.ts 6 src/main/updater/serve-update-handoff.ts -2 src/main/usage/usage-provider-store-lifecycle.ts -1 src/main/usage/usage-scan-worker-spawn.ts +2 src/main/usage/provider-lifecycle/usage-provider-store-lifecycle.ts +1 src/main/usage/scan-worker/usage-scan-worker-spawn.ts 1 src/main/warp-themes/discovery.ts 1 src/main/window/desktop-integration/custom-app-icon.ts 3 src/main/window/desktop-integration/macos-press-and-hold-default.ts @@ -550,7 +550,6 @@ 2 src/main/worker-threads/forked-child-entry-path.ts 4 src/main/workspace-hooks/hooks.ts 10 src/main/workspace-hooks/issue-command-file.ts -4 src/main/workspace-hooks/worktree-runner-script.ts 1 src/main/workspaces/catalog/folder-repo-git-conversion.ts 2 src/main/workspaces/catalog/folder-upgrade-worktree-path.ts 3 src/main/workspaces/execution-host/project-runtime-git-router.ts diff --git a/config/main-sync-spawn-baseline.txt b/config/main-sync-spawn-baseline.txt index 74d6bcf7923..3b71fe0aa11 100644 --- a/config/main-sync-spawn-baseline.txt +++ b/config/main-sync-spawn-baseline.txt @@ -14,7 +14,7 @@ 1 src/main/codex-accounts/runtime-home-service-home-routing.ts 1 src/main/codex-accounts/runtime-home-service-wsl.ts 1 src/main/codex-accounts/service.ts -1 src/main/computer/macos-computer-use-permissions.ts +1 src/main/computer/macos-permissions/macos-computer-use-permissions.ts 1 src/main/daemon/endpoint/identity/daemon-process-identity-query.ts 1 src/main/daemon/endpoint/identity/daemon-process-start-time.ts 2 src/main/daemon/process-scopes/daemon-cgroup-scope.ts @@ -28,11 +28,11 @@ 1 src/main/git/runner.ts 1 src/main/ipc/worktree-logic.ts 1 src/main/network/macos-tailscale-dns-diagnostic.ts -1 src/main/opencode/legacy-plugin-acl-retry.ts +1 src/main/opencode/status-hooks/legacy-plugin-acl-retry.ts 2 src/main/orcad/node-pty-precondition.ts 1 src/main/orcad/orcad-data-root-privacy.ts -2 src/main/persistence/profile-state/profile-state-access-identity.ts -1 src/main/persistence/profile-state/profile-state-recovery-copy.ts +2 src/main/persistence/profile-state/access/profile-state-access-identity.ts +1 src/main/persistence/profile-state/recovery/profile-state-recovery-copy.ts 1 src/main/plugins/catalog/plugin-private-marketplace-ssh-shim.cjs 1 src/main/pty/process-retirement/posix-pty-process-table.ts 1 src/main/pty/shell-startup/pwsh.ts diff --git a/config/mobile-ci.vitest.config.mjs b/config/mobile-ci.vitest.config.mjs index 61ddb17f32e..ae040d6c5b2 100644 --- a/config/mobile-ci.vitest.config.mjs +++ b/config/mobile-ci.vitest.config.mjs @@ -7,8 +7,6 @@ const nodeFiles = [ 'src/mock-server-key-pair.test.ts', 'src/mobile-release/prepare-android-release-script.test.ts', 'src/navigation/query-string-named-exports.test.ts', - 'src/components/mobile-markdown-parser-progress.test.ts', - 'src/components/rich-markdown/native-document-bundle.test.ts', 'src/terminal/document/native-document-bundle.test.ts', 'src/transport/encryption/mobile-e2ee-v2-client-session.test.ts', 'src/transport/encryption/mobile-e2ee-v2-physical-channel.test.ts', diff --git a/config/mobile-localization-coverage-allowlist.json b/config/mobile-localization-coverage-allowlist.json index 265dd13cf28..594bc0a7919 100644 --- a/config/mobile-localization-coverage-allowlist.json +++ b/config/mobile-localization-coverage-allowlist.json @@ -42,70 +42,70 @@ "count": 1 }, { - "filePath": "mobile/src/components/accounts-snapshot.ts", + "filePath": "mobile/src/accounts/accounts-snapshot.ts", "kind": "object-property:message", "text": "Claude limits use the wrong provider identity", "dynamic": false, "count": 1 }, { - "filePath": "mobile/src/components/accounts-snapshot.ts", + "filePath": "mobile/src/accounts/accounts-snapshot.ts", "kind": "object-property:message", "text": "Codex limits use the wrong provider identity", "dynamic": false, "count": 1 }, { - "filePath": "mobile/src/components/accounts-snapshot.ts", + "filePath": "mobile/src/accounts/accounts-snapshot.ts", "kind": "object-property:message", "text": "Host Codex accounts cannot name a WSL distro", "dynamic": false, "count": 1 }, { - "filePath": "mobile/src/components/accounts-snapshot.ts", + "filePath": "mobile/src/accounts/accounts-snapshot.ts", "kind": "object-property:message", "text": "Host rate-limit targets cannot name a WSL distro", "dynamic": false, "count": 1 }, { - "filePath": "mobile/src/components/accounts-snapshot.ts", + "filePath": "mobile/src/accounts/accounts-snapshot.ts", "kind": "object-property:message", "text": "Inactive Claude limits use the wrong provider identity", "dynamic": false, "count": 1 }, { - "filePath": "mobile/src/components/accounts-snapshot.ts", + "filePath": "mobile/src/accounts/accounts-snapshot.ts", "kind": "object-property:message", "text": "Inactive Codex limits use the wrong provider identity", "dynamic": false, "count": 1 }, { - "filePath": "mobile/src/components/accounts-snapshot.ts", + "filePath": "mobile/src/accounts/accounts-snapshot.ts", "kind": "object-property:message", "text": "WSL Codex accounts require an exact distro", "dynamic": false, "count": 1 }, { - "filePath": "mobile/src/components/accounts-snapshot.ts", + "filePath": "mobile/src/accounts/accounts-snapshot.ts", "kind": "object-property:message", "text": "WSL rate-limit targets require an exact distro", "dynamic": false, "count": 1 }, { - "filePath": "mobile/src/components/codex-reset-credit-reply-schema.ts", + "filePath": "mobile/src/accounts/usage/codex-reset-credit-reply-schema.ts", "kind": "object-property:message", "text": "Host reset scopes cannot name a WSL distro", "dynamic": false, "count": 1 }, { - "filePath": "mobile/src/components/codex-reset-credit-reply-schema.ts", + "filePath": "mobile/src/accounts/usage/codex-reset-credit-reply-schema.ts", "kind": "object-property:message", "text": "WSL reset scopes require an exact distro", "dynamic": false, @@ -560,21 +560,21 @@ "count": 1 }, { - "filePath": "mobile/src/transport/hosts/mobile-relay-host-overlay.ts", + "filePath": "mobile/src/host-catalog/mobile-relay-host-overlay.ts", "kind": "object-property:message", "text": "Expected exactly one endpoint for configured relay metadata", "dynamic": false, "count": 1 }, { - "filePath": "mobile/src/transport/hosts/mobile-relay-host-overlay.ts", + "filePath": "mobile/src/host-catalog/mobile-relay-host-overlay.ts", "kind": "object-property:message", "text": "Relay host identity mismatch", "dynamic": false, "count": 1 }, { - "filePath": "mobile/src/transport/hosts/mobile-relay-host-overlay.ts", + "filePath": "mobile/src/host-catalog/mobile-relay-host-overlay.ts", "kind": "object-property:message", "text": "Relay identity and endpoint must coexist", "dynamic": false, diff --git a/config/process-host-direct-import-baseline.txt b/config/process-host-direct-import-baseline.txt index 89669f71704..2bc95ef8cd6 100644 --- a/config/process-host-direct-import-baseline.txt +++ b/config/process-host-direct-import-baseline.txt @@ -14,11 +14,11 @@ src/main/browser/network/egress/browser-route-egress-electron-launch.ts src/main/codex-accounts/legacy-wsl-runtime-auth-drain-recovery-script-harness.ts src/main/codex-accounts/legacy-wsl-runtime-auth-drain-script-harness.ts src/main/codex-accounts/service.ts -src/main/computer/desktop-script-provider-bridge.ts -src/main/computer/macos-computer-use-permission-status.ts -src/main/computer/macos-computer-use-permissions.ts -src/main/computer/macos-native-provider-transport.ts -src/main/computer/sidecar-client.ts +src/main/computer/desktop-script/desktop-script-provider-bridge.ts +src/main/computer/macos-permissions/macos-computer-use-permission-status.ts +src/main/computer/macos-permissions/macos-computer-use-permissions.ts +src/main/computer/macos-native/macos-native-provider-transport.ts +src/main/computer/sidecar-transport/sidecar-client.ts src/main/daemon/endpoint/identity/daemon-process-identity-query.ts src/main/daemon/endpoint/identity/daemon-process-inspection.ts src/main/daemon/endpoint/identity/daemon-process-start-time.ts diff --git a/config/react-compiler-bailout-baseline.txt b/config/react-compiler-bailout-baseline.txt index d1bc3f33bea..7a85324765e 100644 --- a/config/react-compiler-bailout-baseline.txt +++ b/config/react-compiler-bailout-baseline.txt @@ -28,27 +28,27 @@ 1 src/renderer/src/components/artifacts/ArtifactPublishButton.tsx 2 src/renderer/src/components/artifacts/ArtifactsPage.tsx 2 src/renderer/src/components/artifacts/useArtifactPagination.ts -2 src/renderer/src/components/automations/AutomationEditorPromptEditor.tsx -1 src/renderer/src/components/automations/AutomationHostFilterNotice.tsx -1 src/renderer/src/components/automations/AutomationProjectCombobox.tsx -1 src/renderer/src/components/automations/AutomationRunHistory.tsx -1 src/renderer/src/components/automations/AutomationRunsDashboard.tsx -1 src/renderer/src/components/automations/AutomationRunsTable.tsx +2 src/renderer/src/components/automations/authoring/AutomationEditorPromptEditor.tsx +1 src/renderer/src/components/automations/hosts/AutomationHostFilterNotice.tsx +1 src/renderer/src/components/automations/authoring/AutomationProjectCombobox.tsx +1 src/renderer/src/components/automations/runs/AutomationRunHistory.tsx +1 src/renderer/src/components/automations/runs/AutomationRunsDashboard.tsx +1 src/renderer/src/components/automations/runs/AutomationRunsTable.tsx 1 src/renderer/src/components/automations/AutomationsPageSurface.tsx -1 src/renderer/src/components/automations/use-automation-agent-picker-entries.ts -2 src/renderer/src/components/automations/use-automation-create-destination.ts -4 src/renderer/src/components/automations/use-automation-host-catalog.ts -4 src/renderer/src/components/automations/use-automation-list-search.ts -2 src/renderer/src/components/automations/use-automation-migrate-action.ts -1 src/renderer/src/components/automations/use-automation-runs-dashboard.ts -1 src/renderer/src/components/automations/use-automations-page-list-state.ts +1 src/renderer/src/components/automations/authoring/use-automation-agent-picker-entries.ts +2 src/renderer/src/components/automations/authoring/use-automation-create-destination.ts +4 src/renderer/src/components/automations/hosts/use-automation-host-catalog.ts +4 src/renderer/src/components/automations/listing/use-automation-list-search.ts +2 src/renderer/src/components/automations/authoring/use-automation-migrate-action.ts +1 src/renderer/src/components/automations/runs/use-automation-runs-dashboard.ts +1 src/renderer/src/components/automations/listing/use-automations-page-list-state.ts 1 src/renderer/src/components/automations/use-automations-page-local-state.ts 1 src/renderer/src/components/automations/use-automations-page-refresh.ts -1 src/renderer/src/components/automations/use-automations-page-setup-state.ts +1 src/renderer/src/components/automations/authoring/use-automations-page-setup-state.ts 1 src/renderer/src/components/automations/use-automations-page-store-state.ts -1 src/renderer/src/components/automations/use-external-automation-scope-retention.ts -2 src/renderer/src/components/automations/use-scoped-external-automations.ts -16 src/renderer/src/components/automations/use-selected-automation-run-history.ts +1 src/renderer/src/components/automations/external/use-external-automation-scope-retention.ts +2 src/renderer/src/components/automations/external/use-scoped-external-automations.ts +16 src/renderer/src/components/automations/runs/use-selected-automation-run-history.ts 7 src/renderer/src/components/browser-extension-install-dialog.tsx 1 src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.tsx 2 src/renderer/src/components/browser-pane/annotate/MarkupOverlay.tsx @@ -99,18 +99,17 @@ 1 src/renderer/src/components/editor/combined-diff/resolve-changes/use-combined-diff-section-row-keys.ts 1 src/renderer/src/components/editor/combined-diff/review-controls/use-combined-diff-notes-actions.ts 1 src/renderer/src/components/editor/combined-diff/scroll-viewport/use-combined-diff-virtualizer.ts -1 src/renderer/src/components/editor/csv/CsvGrid.tsx +1 src/renderer/src/components/editor/csv/grid/CsvGrid.tsx 1 src/renderer/src/components/editor/csv/CsvViewer.tsx -1 src/renderer/src/components/editor/csv/useCsvClipboard.ts -1 src/renderer/src/components/editor/csv/useCsvPagedPreview.ts -3 src/renderer/src/components/editor/csv/useCsvTableEditor.ts +1 src/renderer/src/components/editor/csv/editing/clipboard/useCsvClipboard.ts +1 src/renderer/src/components/editor/csv/preview/useCsvPagedPreview.ts +3 src/renderer/src/components/editor/csv/editing/useCsvTableEditor.ts 1 src/renderer/src/components/editor/diff/large-files/useDiffViewerLargeDiffLifecycle.ts 3 src/renderer/src/components/editor/diff/monaco-view/DiffViewer.tsx 1 src/renderer/src/components/editor/diff/review/DiffNotesSendMenu.tsx 1 src/renderer/src/components/editor/editor-header-file-rename.ts 1 src/renderer/src/components/editor/external-changes/ExternalFileChangeCompareDialog.tsx 1 src/renderer/src/components/editor/git-graph/git-graph-filter.tsx -1 src/renderer/src/components/editor/git-graph/git-graph-tab.tsx 1 src/renderer/src/components/editor/markdown-preview/render-tree/use-markdown-preview-components.tsx 1 src/renderer/src/components/editor/markdown-preview/review/MarkdownPreviewAnnotationComposer.tsx 1 src/renderer/src/components/editor/markdown-preview/surface/MarkdownPreview.tsx @@ -145,7 +144,7 @@ 3 src/renderer/src/components/editor/useEditorPanelFileContentLoader.ts 4 src/renderer/src/components/editor/useLocalLogTail.ts 1 src/renderer/src/components/editor/usePreserveSectionDuringExternalEdit.ts -7 src/renderer/src/components/emulator-pane/emulator-screen-stream-content.tsx +1 src/renderer/src/components/emulator-pane/emulator-screen-stream-content.tsx 3 src/renderer/src/components/emulator-pane/use-emulator-pane-session.ts 1 src/renderer/src/components/emulator-pane/use-emulator-pane-shutdown.ts 1 src/renderer/src/components/emulator-pane/use-emulator-video-stream.ts @@ -206,7 +205,7 @@ 1 src/renderer/src/components/mobile/WindowsFirewallNotice.tsx 2 src/renderer/src/components/mobile/use-mobile-page-paired-devices.ts 1 src/renderer/src/components/mobile/use-mobile-pairing-generation.ts -1 src/renderer/src/components/native-chat-restart-runtimes.ts +1 src/renderer/src/components/native-chat-recovery/offers/native-chat-restart-runtimes.ts 1 src/renderer/src/components/native-chat/NativeChatStructuredSession.tsx 8 src/renderer/src/components/native-chat/attachments/chips/use-native-chat-composer-attachments.ts 2 src/renderer/src/components/native-chat/attachments/intake/use-native-chat-resolved-path-attachments.ts @@ -542,16 +541,16 @@ 4 src/renderer/src/components/sidebar/worktree-list/viewport/use-row-measurement.ts 1 src/renderer/src/components/sidebar/worktree-list/viewport/use-scroll-to-top.ts 1 src/renderer/src/components/sidebar/worktree-list/viewport/use-virtualizer.ts -1 src/renderer/src/components/skills/SkillBundleInstallFlow.tsx -2 src/renderer/src/components/skills/SkillInstallDialog.tsx -4 src/renderer/src/components/skills/SkillInstallManagementDialog.tsx -1 src/renderer/src/components/skills/SkillShareDialog.tsx -1 src/renderer/src/components/skills/SkillSharedLinkRow.tsx +1 src/renderer/src/components/skills/installation/SkillBundleInstallFlow.tsx +2 src/renderer/src/components/skills/installation/SkillInstallDialog.tsx +4 src/renderer/src/components/skills/installation/SkillInstallManagementDialog.tsx +1 src/renderer/src/components/skills/sharing/SkillShareDialog.tsx +1 src/renderer/src/components/skills/sharing/SkillSharedLinkRow.tsx 1 src/renderer/src/components/skills/SkillsPage.tsx 1 src/renderer/src/components/skills/setup/WslAgentSkillSetupPanel.tsx -2 src/renderer/src/components/skills/use-owned-skill-shares.ts -1 src/renderer/src/components/skills/use-reviewed-skill-plan.ts -1 src/renderer/src/components/skills/use-skill-delete-flow.ts +2 src/renderer/src/components/skills/sharing/use-owned-skill-shares.ts +1 src/renderer/src/components/skills/freshness/use-reviewed-skill-plan.ts +1 src/renderer/src/components/skills/deletion/use-skill-delete-flow.ts 1 src/renderer/src/components/sparse/SparseCheckoutPresetSelect.tsx 1 src/renderer/src/components/ssh-host-recovery/SshHostMoveAnywayAction.tsx 2 src/renderer/src/components/star-nag/StarNagAgentValueMomentObserver.tsx @@ -651,7 +650,7 @@ 2 src/renderer/src/components/terminal-pane/mobile-driver/MobileDriverOverlay.tsx 1 src/renderer/src/components/terminal-pane/mobile-driver/TerminalPaneMobileDriverPortals.tsx 1 src/renderer/src/components/terminal-pane/mounting/use-terminal-pane-mount-lifecycle.ts -2 src/renderer/src/components/terminal-pane/parking/lifecycle/use-terminal-tab-cold-parking.ts +1 src/renderer/src/components/terminal-pane/parking/lifecycle/use-terminal-tab-cold-parking.ts 1 src/renderer/src/components/terminal-pane/parking/retention/terminal-pending-startup-park-presence.ts 1 src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/recovery/TerminalPaneRecoveryPortals.tsx 2 src/renderer/src/components/terminal-pane/session-fork/TerminalAgentSessionForkDialog.tsx @@ -693,21 +692,21 @@ 1 src/renderer/src/hooks/composer-state/workspace-identity-state.ts 3 src/renderer/src/hooks/linear-issue-committed-state.ts 1 src/renderer/src/hooks/use-audio-capture.ts -1 src/renderer/src/hooks/use-bundled-skill-install.ts +1 src/renderer/src/hooks/skills/installation/use-bundled-skill-install.ts 2 src/renderer/src/hooks/useDetectedAgents.ts 2 src/renderer/src/hooks/useGitHubTaskItems.ts 2 src/renderer/src/hooks/useImmediateMutation.ts -6 src/renderer/src/hooks/useInstalledAgentSkills.ts +6 src/renderer/src/hooks/skills/discovery/useInstalledAgentSkills.ts 1 src/renderer/src/hooks/useIssueMetadata.ts 3 src/renderer/src/hooks/useLinearIssuePublication.ts 1 src/renderer/src/hooks/useMacTccAttributionSeveredNotice.ts 1 src/renderer/src/hooks/useSettingsNavigationMetadata.ts -4 src/renderer/src/hooks/useSkillFreshness.ts +4 src/renderer/src/hooks/skills/freshness/useSkillFreshness.ts 1 src/renderer/src/hooks/useTaskPageGitHubWorkItemMutation.ts 6 src/renderer/src/hooks/useVirtualizedScrollAnchor.ts -1 src/renderer/src/lib/host-chat-program-acquisition.ts -1 src/renderer/src/lib/quick-open-file-history.ts -2 src/renderer/src/lib/worker-auto-close.ts +1 src/renderer/src/lib/agent-session/launch/inventory/host-chat-program-acquisition.ts +1 src/renderer/src/lib/files/search/quick-open-file-history.ts +2 src/renderer/src/runtime/agent-orchestration/worker-auto-close.ts 1 src/renderer/src/runtime/native-chat/naming/structured-chat-name-observation.ts 1 src/renderer/src/store/plugins/appearance/plugin-icon-themes.ts 5 src/renderer/src/store/retained-views/app-state-view.ts diff --git a/config/react-compiler-hazard-baseline.txt b/config/react-compiler-hazard-baseline.txt index 27196222a7d..3f359d3ae77 100644 --- a/config/react-compiler-hazard-baseline.txt +++ b/config/react-compiler-hazard-baseline.txt @@ -1,5 +1,5 @@ # Grandfathered code React Compiler would run differently (#:). # Generated; never hand-edit. Lower after a fix: pnpm check:react-compiler-compat-ratchet --prune 1 src/renderer/src/components/agent/agent-launch-picker-drafts.ts#useAgentPickerSetup:discarded-subscription -1 src/renderer/src/components/native-chat-restart-runtimes.ts#useNativeChatRestartRuntimes:discarded-subscription +1 src/renderer/src/components/native-chat-recovery/offers/native-chat-restart-runtimes.ts#useNativeChatRestartRuntimes:discarded-subscription 1 src/renderer/src/components/right-sidebar/source-control/ai/use-source-control-action-agent-choice.ts#useSourceControlActionAgentChoice:store-read-in-memo-block diff --git a/config/recurring-timer-baseline.txt b/config/recurring-timer-baseline.txt index e48d5c80d66..8054472ea82 100644 --- a/config/recurring-timer-baseline.txt +++ b/config/recurring-timer-baseline.txt @@ -12,12 +12,12 @@ 1 src/main/browser/extensions/native-messaging/browser-extension-native-ports.ts 1 src/main/browser/extensions/web-store/browser-extension-webstore-updater.ts 1 src/main/claude/agent-view/agent-view-bridge.ts -1 src/main/cli/appimage-serve-preparation.ts +1 src/main/cli/appimage/appimage-serve-preparation.ts 1 src/main/codex-accounts/codex-login-session.ts 1 src/main/codex/configuration/homes/codex-windows-sandbox-read-grant.ts -1 src/main/crash-reporting/pre-gone-host-memory.ts -1 src/main/crash-reporting/process-gone-diagnostics.ts -1 src/main/crash-reporting/renderer-heap-allocation-profile.ts +1 src/main/crash-reporting/memory/pre-gone-host-memory.ts +1 src/main/crash-reporting/process-exits/process-gone-diagnostics.ts +1 src/main/crash-reporting/memory/renderer-heap-allocation-profile.ts 1 src/main/daemon/admission/host-terminal-ledger.ts 1 src/main/daemon/admission/host-terminal-policy.ts 1 src/main/daemon/endpoint/publication/daemon-endpoint-lifecycle.ts @@ -72,7 +72,6 @@ 1 src/renderer/src/app-shell/use-app-session-persistence.ts 1 src/renderer/src/components/browser-pane/browser-client-page-position-driver.ts 1 src/renderer/src/components/contextual-tours/use-contextual-tour.ts -1 src/renderer/src/components/editor/setup-contextual-copy.ts 1 src/renderer/src/components/right-sidebar/plugin-panels/health/plugin-panel-watchdog.ts 1 src/renderer/src/components/sidebar/SeveredTerminalDaemonBanner.tsx 1 src/renderer/src/components/sidebar/StalledTerminalDaemonBanner.tsx @@ -85,9 +84,9 @@ 1 src/renderer/src/components/terminal-pane/render-health/terminal-render-desync-sentinel.ts 1 src/renderer/src/hooks/use-now.ts 1 src/renderer/src/lib/agent-session/hibernation/agent-hibernation-coordinator.ts -1 src/renderer/src/lib/crash-diagnostics.ts -1 src/renderer/src/lib/window-visibility-interval.ts -1 src/renderer/src/lib/worker-auto-close.ts +1 src/renderer/src/diagnostics/crash-reporting/crash-diagnostics.ts +1 src/renderer/src/lib/window-activity/window-visibility-interval.ts +1 src/renderer/src/runtime/agent-orchestration/worker-auto-close.ts 1 src/renderer/src/runtime/hosts/wsl/wsl-refused-read-watch.ts 1 src/shared/remote-runtime/control/remote-runtime-shared-control-app-heartbeat.ts 1 src/shared/remote-runtime/remote-runtime-socket-liveness.ts diff --git a/config/reliability-gates.jsonc b/config/reliability-gates.jsonc index 0ad7088de9a..37ace49618b 100644 --- a/config/reliability-gates.jsonc +++ b/config/reliability-gates.jsonc @@ -454,16 +454,16 @@ "providers": ["local", "daemon", "ssh", "wsl", "remote-runtime", "mobile-relay"], "coveredPlatforms": ["macos"], "coveredProviders": [], - "coverageNotes": "Audit2251 narrows agent-paste-draft.test.ts from 25 authored cases (26 literal cases) to four. Retained cases cover buffered readiness on PTY binding, separate spawn/composer lifetimes, real per-PTY paste/Enter serialization against a competing paste, and frame closure/no Enter after a rejected content chunk. Intentionally lost alarms include agent marker and fallback examples, direct-write failure/rejection, missing-PTY and Codex process-only timeout paths, exact nonprimary-PTY routing, full large-body chunk reconstruction, escaping/CRLF samples, internal laziness/yield work assertions, oversized preflight refusal, and exact configured delay/budget counts. No equivalent replacement, new execution, real PTY/provider delivery, rendered/native UI, deployment, measured performance or cross-platform result is claimed. Historical prior account (preserved verbatim): Mobile owner-layout policy retires whole tests and mixed registrations without equivalent replacement coverage. Retained callbacks and reduced selectors need fresh execution at their stated scope; prior measurements do not validate them. Affected sources: mobile/src/session/mobile-prompt-controller.test.ts, tests/e2e/native-chat-ssh-delivery.unit.test.ts, mobile/src/session/native-chat/use-mobile-native-chat-controller.test.ts, mobile/src/session/native-chat/input/use-mobile-native-chat-cancel-ask.test.ts, mobile/src/session/native-chat/input/use-mobile-native-chat-answer-send.test.ts, mobile/src/session/native-chat/transcript/use-mobile-native-chat-message-send.test.ts. Historical scope: Audit2003: Remove agent-prompt absence routing, throwing/live/missing-probe and cached-probe-count examples from the stale-leaf source. Controller-proven absence, unknown-liveness admission, obsolete-absence clearing and same-ID respawn fences remain at a supplied provider/row seam. Preserve the independent wire-codec receipt only in its original scope. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1991: Remove partial-runtime terminal-send guard/status/floor/query projection and argument-inventory samples. Retained RPC viewport admission, authenticated-client spoof refusal, text admission and stale-binding fences remain bounded mock-boundary behavior. The unchanged wire-codec receipt remains valid only for its original command; it does not validate this reduced RPC selector. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1908 removes the complete prompt-presentation hook and literal interactive-protocol mapping suites and narrows the interactive card and prompt-card input suites. Lost alarms include replacement approval A settling after answered B; collapse/expand composer ownership and partial-answer presentation; identical new waits after an unmounted view; collapsed transcript re-reads; answered/dismissed status-backed persistence and retirement; and literal answer-to-PTY byte arrays. The retained stale-PTY acknowledgment, cancellation/answer retry, and answered-approval remount/rebind assertions remain meaningful but are not equivalent replacement coverage. No fresh reduced-selector result, physical provider, rendered/native-focus, mixed-version deployment, soak, or measured-budget validation is claimed. The unchanged wire-codec receipt remains valid only for its exact command. Historical prior account (preserved verbatim): Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1471 removes the entire interactive-send hook suite. Its mock-writer routing, cancellation-handle, option-digit, interrupt, supplied settlement and inference-argument alarms are retired. No actual PTY bytes, replacement question lifetime or agent delivery were exercised. No equivalent replacement or fresh execution of the reduced reliability selector is claimed; historical receipts retain their original scope. Audit1468 removes the entire runtime-send suite. Its mock PTY clear/body/Enter byte-order, nominal timing, queue cancellation/serialization, attachment escaping, key-group pacing and deferred acceptance callback alarms are intentionally retired. No actual receiving agent or physical terminal delivery was exercised. No equivalent replacement or fresh execution of the reduced reliability selector is claimed; historical receipts retain their original scope. Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally reduces src/renderer/src/lib/agent-paste-draft-submit-retry.test.ts: Loses configured retry gap and single-Enter agent selection alarms alongside forbidden timer-count checks. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1383 changes referenced sources; no new execution result validates reduced selectors. Retained unchanged receipts apply only to unchanged commands. Historical coverage: Audits1340 and1348 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1316 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Production mobile controller, parser, presentation, overlay, view, question, permission and composer run with native surfaces mocked on macOS. Desktop selector groups traverse the real observed-write queue, verified helper, IPC chunker, SSH provider and transport callbacks; paired sends traverse the real dispatcher and runtime writer into that provider. Local/daemon contracts and released-version terminal codecs are covered. Provider labels describe contracts, not physical deployments; physical WSL/Linux/Windows remain gaps. Audit885 removes the isolated observed-send mock-call suite; no replacement-equivalence claim is made. Audit1107 removes the small healthy ordinary SSH-send byte/callback sample. Its exact clear/body/Enter sample alarm is lost; retained slow-answer, cancellation and simulated older-host sequence checks are not claimed as equivalent replacement coverage. The SSH delivery fixture uses controlled fake provider settlement, and its paired path uses the real runtime/dispatcher without a physical SSH or paired wire transport. Audit1278 removes the mobile Stop display/disabled/placeholder suite; its local Stop presentation, repeat-stop and dispatch-visibility alarms are intentionally lost. No equivalent replacement or runtime stopping proof is claimed. Audit1292: The blind OpenCode readiness warning and late launch success/failure content-plus-submit write samples are removed. Their mocked readiness/inspection/delivery alarms are lost; no real PTY delivery or equivalent replacement coverage is claimed. Audit1294 removes mobile/src/session/native-chat/input/mobile-native-chat-permission-send.test.ts. Its mock-only request/capability/private-state/copy alarms are intentionally lost. Remaining tests are not equivalent replacement coverage. Narrowed commands require fresh parent-owned validation; no new runtime, platform or physical mobile evidence is claimed. Audit1302: src/main/ipc/pty/ipc/write-input-acceptance.test.ts: Provider registry and write acceptance/refusal/unverifiable receipts are supplied by fixture; local/daemon/WSL/SSH labels use the same fake provider. Chunking/settlement/remount cases inspect delegated calls or canned receipts without actual provider acceptance/acknowledgement. Lose chunk/refusal/pending/remount and raw-pane routing alarms; no equivalent replacement. Reduced selectors require fresh validation; prior full-suite receipts do not validate removed or changed coverage. No equivalent replacement or physical-provider claim. Audit1303 intentionally removes supplied-state/mock-callback component and hook examples in mobile/src/session/native-chat/input/use-mobile-native-chat-ask-dismiss.test.ts, mobile/src/session/native-chat/input/MobileNativeChatPromptCard.test.tsx. Their exact retired alarms are not equivalent to retained coverage; no new runtime, physical phone or deployed mixed-version evidence is claimed. Audit1310 removes the supplied-geometry/direct-callback chat history-paging suite. Its prepend/scroll-position examples are intentionally lost; no real rendered anchoring, equivalent replacement or physical phone proof is claimed. Narrowed commands need fresh validation. Audit1315 removes/narrows mobile/src/session/native-chat/MobileNativeChatView.composer-lock.test.ts, mobile/src/session/native-chat/MobileNativeChatView.prompt-presentation.test.ts. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands. Audit1316: src/renderer/src/lib/agent-followup-delivery.test.ts removed. Interpreter wrapper/live child/shell readiness and final readiness recheck delivery mock samples lose alarms. No equivalent replacement coverage is claimed. Audit1322 removes/narrows mobile/src/session/native-chat/MobileNativeChatView.tail-follow.test.ts. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands. Audit1341 scope1334 removes/narrows mobile/src/session/native-chat/mobile-native-chat-send.test.ts, mobile/src/session/native-chat/transcript/use-mobile-native-chat-message-send.test.ts. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands. Audit1341 scope1335 removes/narrows mobile/src/session/native-chat/use-mobile-native-chat-controller.test.ts, mobile/src/session/mobile-prompt-controller.test.ts, mobile/src/session/native-chat/input/use-mobile-native-chat-answer-send.test.ts. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands. Audit1340: src/main/daemon/daemon-pty-write-settlement-recovery.test.ts removed. Ambiguous handoff settlement remains unverifiable when listener throws. No equivalent replacement coverage is claimed. Audit1348: src/main/ipc/pty/ipc/write-input-chunk-yield.test.ts removed. Check-phase yielding and no-yield single-chunk scheduling work. No equivalent replacement coverage is claimed. Audit1352: focused Linux unit selections validated on source head b638e07d395b76af3ba6b03761a1a0fe7e5e026e. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1360: focused Linux unit selections validated on source head 415c9cffc2d10024131ec4b6721767a22195de6d. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1383: src/main/ipc/pty/ipc/write-input-user-input.test.ts reduced. Lose admission provenance spy, direct local Escape write outcome matrix and separate client-side SSH no-evidence control. Provider writes mocked; retained tests protect observation order/facts only. No equivalent replacement coverage is claimed. Audit1401: src/main/ipc/pty/ipc/write-input-user-input.test.ts reduced. Loses local-only post-accept observation and refused/unverifiable settlement delivery alarms. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1402: src/renderer/src/components/native-chat/native-chat-runtime-send-launch-draft.test.ts removed. Intentionally loses clear-confirmation/body/submit and maximal-clear ordering, queued text/image send ordering, ordinary cursor-spanning draft replacement and oversized refusal/queue settlement alarms. No equivalent replacement or real terminal delivery claim. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1426 removes NativeChatComposer.test.tsx. Local pane-remount, draft/cancel/confirmation sequencing and manual IME callback alarms are lost. No equivalent replacement coverage or provider delivery is claimed; historical receipts retain their original scope and the reduced selector has no new execution result. Audit2450 removes the MobileNativeChatView failure-banner callback-only example whose old banner is supplied unchanged by its props. Retain fatal-read gating and the ordering test that preserves a new delivery notice. The removed false-send/old-banner combination has no equivalent replacement; prior raw receipts and budgets retain their original source scope. No new soak, platform, performance or red/green claim.", + "coverageNotes": "Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. The broad mobile runner loses retired-name sequencing and PR action samples while retaining the editor-lifetime and original PR action keeper; commit-message generation is unchanged. Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. The broad mobile command loses the entire three-case mocked diff-review controller suite and the stale layout-sequence comparator sample. Keep only the direct layout-versus-scrollback counter distinction; the unchanged dictation retry hook retains complete recording replay. No rendered app, native capture, actual process death or remote execution is claimed. Audit3451 composes ROOT-adopted3444/independent3445: intentionally removes101 authored registrations across16 reviewed sources, deleting7 whole suites and reducing8; one reviewed source is unchanged. Fresh main has123 authored registrations before and22 after because an upstream direct-child shell regression remains verbatim with zero removal credit. Registered removals are100+7*S and explicit-active removals99+7*S, where S is the unprobed count0..3 of admitted bash/zsh/fish shells. No equivalent replacement or fresh execution is claimed. Broad mobile discovery loses whole prompt-presentation, Jira-URL and folder-source-repository suites. The prompt suite exercised presentation projections; it did not provide native mobile prompt acknowledgment acceptance. Existing direct prompt-controller selectors are unchanged. Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. The stale-leaf-liveness suite and its exact command/testFiles selector are removed; its fake terminal refusal/liveness alarms are intentionally lost. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The entire mocked mobile failure-banner suite and its sole send/previous-banner/new-notice ordering alarm are retired. Its filenames are removed from active selectors. Desktop prompt roots and the independent unchanged terminal wire-codec receipt remain at their stated scopes; no mobile send/recovery proof is claimed. Audit2251 narrows agent-paste-draft.test.ts from 25 authored cases (26 literal cases) to four. Retained cases cover buffered readiness on PTY binding, separate spawn/composer lifetimes, real per-PTY paste/Enter serialization against a competing paste, and frame closure/no Enter after a rejected content chunk. Intentionally lost alarms include agent marker and fallback examples, direct-write failure/rejection, missing-PTY and Codex process-only timeout paths, exact nonprimary-PTY routing, full large-body chunk reconstruction, escaping/CRLF samples, internal laziness/yield work assertions, oversized preflight refusal, and exact configured delay/budget counts. No equivalent replacement, new execution, real PTY/provider delivery, rendered/native UI, deployment, measured performance or cross-platform result is claimed. Historical prior account (preserved verbatim): Mobile owner-layout policy retires whole tests and mixed registrations without equivalent replacement coverage. Retained callbacks and reduced selectors need fresh execution at their stated scope; prior measurements do not validate them. Affected sources: mobile/src/session/mobile-prompt-controller.test.ts, tests/e2e/native-chat-ssh-delivery.unit.test.ts, mobile/src/session/native-chat/use-mobile-native-chat-controller.test.ts, mobile/src/session/native-chat/input/use-mobile-native-chat-cancel-ask.test.ts, mobile/src/session/native-chat/input/use-mobile-native-chat-answer-send.test.ts, mobile/src/session/native-chat/transcript/use-mobile-native-chat-message-send.test.ts. Historical scope: Audit2003: Remove agent-prompt absence routing, throwing/live/missing-probe and cached-probe-count examples from the stale-leaf source. Controller-proven absence, unknown-liveness admission, obsolete-absence clearing and same-ID respawn fences remain at a supplied provider/row seam. Preserve the independent wire-codec receipt only in its original scope. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1991: Remove partial-runtime terminal-send guard/status/floor/query projection and argument-inventory samples. Retained RPC viewport admission, authenticated-client spoof refusal, text admission and stale-binding fences remain bounded mock-boundary behavior. The unchanged wire-codec receipt remains valid only for its original command; it does not validate this reduced RPC selector. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1908 removes the complete prompt-presentation hook and literal interactive-protocol mapping suites and narrows the interactive card and prompt-card input suites. Lost alarms include replacement approval A settling after answered B; collapse/expand composer ownership and partial-answer presentation; identical new waits after an unmounted view; collapsed transcript re-reads; answered/dismissed status-backed persistence and retirement; and literal answer-to-PTY byte arrays. The retained stale-PTY acknowledgment, cancellation/answer retry, and answered-approval remount/rebind assertions remain meaningful but are not equivalent replacement coverage. No fresh reduced-selector result, physical provider, rendered/native-focus, mixed-version deployment, soak, or measured-budget validation is claimed. The unchanged wire-codec receipt remains valid only for its exact command. Historical prior account (preserved verbatim): Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1471 removes the entire interactive-send hook suite. Its mock-writer routing, cancellation-handle, option-digit, interrupt, supplied settlement and inference-argument alarms are retired. No actual PTY bytes, replacement question lifetime or agent delivery were exercised. No equivalent replacement or fresh execution of the reduced reliability selector is claimed; historical receipts retain their original scope. Audit1468 removes the entire runtime-send suite. Its mock PTY clear/body/Enter byte-order, nominal timing, queue cancellation/serialization, attachment escaping, key-group pacing and deferred acceptance callback alarms are intentionally retired. No actual receiving agent or physical terminal delivery was exercised. No equivalent replacement or fresh execution of the reduced reliability selector is claimed; historical receipts retain their original scope. Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally reduces src/renderer/src/lib/agent-paste-draft-submit-retry.test.ts: Loses configured retry gap and single-Enter agent selection alarms alongside forbidden timer-count checks. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1383 changes referenced sources; no new execution result validates reduced selectors. Retained unchanged receipts apply only to unchanged commands. Historical coverage: Audits1340 and1348 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1316 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Production mobile controller, parser, presentation, overlay, view, question, permission and composer run with native surfaces mocked on macOS. Desktop selector groups traverse the real observed-write queue, verified helper, IPC chunker, SSH provider and transport callbacks; paired sends traverse the real dispatcher and runtime writer into that provider. Local/daemon contracts and released-version terminal codecs are covered. Provider labels describe contracts, not physical deployments; physical WSL/Linux/Windows remain gaps. Audit885 removes the isolated observed-send mock-call suite; no replacement-equivalence claim is made. Audit1107 removes the small healthy ordinary SSH-send byte/callback sample. Its exact clear/body/Enter sample alarm is lost; retained slow-answer, cancellation and simulated older-host sequence checks are not claimed as equivalent replacement coverage. The SSH delivery fixture uses controlled fake provider settlement, and its paired path uses the real runtime/dispatcher without a physical SSH or paired wire transport. Audit1278 removes the mobile Stop display/disabled/placeholder suite; its local Stop presentation, repeat-stop and dispatch-visibility alarms are intentionally lost. No equivalent replacement or runtime stopping proof is claimed. Audit1292: The blind OpenCode readiness warning and late launch success/failure content-plus-submit write samples are removed. Their mocked readiness/inspection/delivery alarms are lost; no real PTY delivery or equivalent replacement coverage is claimed. Audit1294 removes mobile/src/session/native-chat/input/mobile-native-chat-permission-send.test.ts. Its mock-only request/capability/private-state/copy alarms are intentionally lost. Remaining tests are not equivalent replacement coverage. Narrowed commands require fresh parent-owned validation; no new runtime, platform or physical mobile evidence is claimed. Audit1302: src/main/ipc/pty/ipc/write-input-acceptance.test.ts: Provider registry and write acceptance/refusal/unverifiable receipts are supplied by fixture; local/daemon/WSL/SSH labels use the same fake provider. Chunking/settlement/remount cases inspect delegated calls or canned receipts without actual provider acceptance/acknowledgement. Lose chunk/refusal/pending/remount and raw-pane routing alarms; no equivalent replacement. Reduced selectors require fresh validation; prior full-suite receipts do not validate removed or changed coverage. No equivalent replacement or physical-provider claim. Audit1303 intentionally removes supplied-state/mock-callback component and hook examples in mobile/src/session/native-chat/input/use-mobile-native-chat-ask-dismiss.test.ts, mobile/src/session/native-chat/input/MobileNativeChatPromptCard.test.tsx. Their exact retired alarms are not equivalent to retained coverage; no new runtime, physical phone or deployed mixed-version evidence is claimed. Audit1310 removes the supplied-geometry/direct-callback chat history-paging suite. Its prepend/scroll-position examples are intentionally lost; no real rendered anchoring, equivalent replacement or physical phone proof is claimed. Narrowed commands need fresh validation. Audit1315 removes/narrows mobile/src/session/native-chat/MobileNativeChatView.composer-lock.test.ts, mobile/src/session/native-chat/MobileNativeChatView.prompt-presentation.test.ts. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands. Audit1316: src/renderer/src/lib/agent-followup-delivery.test.ts removed. Interpreter wrapper/live child/shell readiness and final readiness recheck delivery mock samples lose alarms. No equivalent replacement coverage is claimed. Audit1322 removes/narrows mobile/src/session/native-chat/MobileNativeChatView.tail-follow.test.ts. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands. Audit1341 scope1334 removes/narrows mobile/src/session/native-chat/mobile-native-chat-send.test.ts, mobile/src/session/native-chat/transcript/use-mobile-native-chat-message-send.test.ts. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands. Audit1341 scope1335 removes/narrows mobile/src/session/native-chat/use-mobile-native-chat-controller.test.ts, mobile/src/session/mobile-prompt-controller.test.ts, mobile/src/session/native-chat/input/use-mobile-native-chat-answer-send.test.ts. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands. Audit1340: src/main/daemon/daemon-pty-write-settlement-recovery.test.ts removed. Ambiguous handoff settlement remains unverifiable when listener throws. No equivalent replacement coverage is claimed. Audit1348: src/main/ipc/pty/ipc/write-input-chunk-yield.test.ts removed. Check-phase yielding and no-yield single-chunk scheduling work. No equivalent replacement coverage is claimed. Audit1352: focused Linux unit selections validated on source head b638e07d395b76af3ba6b03761a1a0fe7e5e026e. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1360: focused Linux unit selections validated on source head 415c9cffc2d10024131ec4b6721767a22195de6d. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1383: src/main/ipc/pty/ipc/write-input-user-input.test.ts reduced. Lose admission provenance spy, direct local Escape write outcome matrix and separate client-side SSH no-evidence control. Provider writes mocked; retained tests protect observation order/facts only. No equivalent replacement coverage is claimed. Audit1401: src/main/ipc/pty/ipc/write-input-user-input.test.ts reduced. Loses local-only post-accept observation and refused/unverifiable settlement delivery alarms. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1402: src/renderer/src/components/native-chat/native-chat-runtime-send-launch-draft.test.ts removed. Intentionally loses clear-confirmation/body/submit and maximal-clear ordering, queued text/image send ordering, ordinary cursor-spanning draft replacement and oversized refusal/queue settlement alarms. No equivalent replacement or real terminal delivery claim. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1426 removes NativeChatComposer.test.tsx. Local pane-remount, draft/cancel/confirmation sequencing and manual IME callback alarms are lost. No equivalent replacement coverage or provider delivery is claimed; historical receipts retain their original scope and the reduced selector has no new execution result. Audit2450 removes the MobileNativeChatView failure-banner callback-only example whose old banner is supplied unchanged by its props. Retain fatal-read gating and the ordering test that preserves a new delivery notice. The removed false-send/old-banner combination has no equivalent replacement; prior raw receipts and budgets retain their original source scope. No new soak, platform, performance or red/green claim.", "motivatingLinks": ["https://github.com/stablyai/orca/pull/25761"], "invariant": "A prompt occurrence leaves the input region only when an accepted reply answers it (a current host's provider acknowledgment, or an older host's whole-write acceptance as before) or the user collapses it to a strip above the composer, which writes nothing and keeps the card mounted with its partial answer; status-backed occurrences are told apart by the host wait's start, so view toggles and remounts preserve them while real clear/replacement supersedes them, and a transcript-only one is dropped when the view stops observing it; obsolete results cannot change replacements; selector groups wait for complete writes before pacing; refusal or unknown handoff never causes replay; a card retires an unsubmitted composer send without writing under it or losing its text, and the hidden composer cannot send or interrupt; Collapse or Escape folds a card without writing, never during an in-flight answer, and a new occurrence shows expanded again; the phone blocks only Send while a card is expanded and shows one card per occurrence; cancellation stops unsent groups and active dictation can stop.", - "oracle": "Audit2251 narrows agent-paste-draft.test.ts from 25 authored cases (26 literal cases) to four. Retained cases cover buffered readiness on PTY binding, separate spawn/composer lifetimes, real per-PTY paste/Enter serialization against a competing paste, and frame closure/no Enter after a rejected content chunk. Intentionally lost alarms include agent marker and fallback examples, direct-write failure/rejection, missing-PTY and Codex process-only timeout paths, exact nonprimary-PTY routing, full large-body chunk reconstruction, escaping/CRLF samples, internal laziness/yield work assertions, oversized preflight refusal, and exact configured delay/budget counts. No equivalent replacement, new execution, real PTY/provider delivery, rendered/native UI, deployment, measured performance or cross-platform result is claimed. Historical prior account (preserved verbatim): Mobile owner-layout policy retires whole tests and mixed registrations without equivalent replacement coverage. Retained callbacks and reduced selectors need fresh execution at their stated scope; prior measurements do not validate them. Historical oracle: Audit2003: Remove agent-prompt absence routing, throwing/live/missing-probe and cached-probe-count examples from the stale-leaf source. Controller-proven absence, unknown-liveness admission, obsolete-absence clearing and same-ID respawn fences remain at a supplied provider/row seam. Preserve the independent wire-codec receipt only in its original scope. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1991: Remove partial-runtime terminal-send guard/status/floor/query projection and argument-inventory samples. Retained RPC viewport admission, authenticated-client spoof refusal, text admission and stale-binding fences remain bounded mock-boundary behavior. The unchanged wire-codec receipt remains valid only for its original command; it does not validate this reduced RPC selector. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1908 removes the complete prompt-presentation hook and literal interactive-protocol mapping suites and narrows the interactive card and prompt-card input suites. Lost alarms include replacement approval A settling after answered B; collapse/expand composer ownership and partial-answer presentation; identical new waits after an unmounted view; collapsed transcript re-reads; answered/dismissed status-backed persistence and retirement; and literal answer-to-PTY byte arrays. The retained stale-PTY acknowledgment, cancellation/answer retry, and answered-approval remount/rebind assertions remain meaningful but are not equivalent replacement coverage. No fresh reduced-selector result, physical provider, rendered/native-focus, mixed-version deployment, soak, or measured-budget validation is claimed. The unchanged wire-codec receipt remains valid only for its exact command. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Retained unchanged-selector receipts are the only current execution evidence. Reduced-source assertions await validation. Historical prior oracle: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): After acknowledged phone replies with stale host status, the exact card disappears and Send is enabled; unknown, refused or unverifiable-settlement replies retain enabled choices, while an older host's accepted reply dismisses like an acknowledged one; a same-occurrence view toggle retains pending acknowledgment and real replacements discard it. A slow 32 KiB SSH answer completes all chunks before Enter; cancellation preserves issued bytes but omits remaining groups. Paired settlement invokes the actual provider and lost callbacks remain unknown; older hosts deliver ordinary messages, launch and selector groups once and their accepted answers dismiss as before. An answered card stays hidden across a view remount; a collapsed card is a strip that frees the composer and expands back; an identical question in a new wait shows again; a composer send caught by a new card keeps its bubble without submitting or clearing the line under it. Audit2450 removes the MobileNativeChatView failure-banner callback-only example whose old banner is supplied unchanged by its props. Retain fatal-read gating and the ordering test that preserves a new delivery notice. The removed false-send/old-banner combination has no equivalent replacement; prior raw receipts and budgets retain their original source scope. No new soak, platform, performance or red/green claim.", + "oracle": "Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. The broad mobile runner loses retired-name sequencing and PR action samples while retaining the editor-lifetime and original PR action keeper; commit-message generation is unchanged. Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. The broad mobile command loses the entire three-case mocked diff-review controller suite and the stale layout-sequence comparator sample. Keep only the direct layout-versus-scrollback counter distinction; the unchanged dictation retry hook retains complete recording replay. No rendered app, native capture, actual process death or remote execution is claimed. Audit3451 composes ROOT-adopted3444/independent3445: intentionally removes101 authored registrations across16 reviewed sources, deleting7 whole suites and reducing8; one reviewed source is unchanged. Fresh main has123 authored registrations before and22 after because an upstream direct-child shell regression remains verbatim with zero removal credit. Registered removals are100+7*S and explicit-active removals99+7*S, where S is the unprobed count0..3 of admitted bash/zsh/fish shells. No equivalent replacement or fresh execution is claimed. Broad mobile discovery loses whole prompt-presentation, Jira-URL and folder-source-repository suites. The prompt suite exercised presentation projections; it did not provide native mobile prompt acknowledgment acceptance. Existing direct prompt-controller selectors are unchanged. Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. The stale-leaf-liveness suite and its exact command/testFiles selector are removed; its fake terminal refusal/liveness alarms are intentionally lost. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The entire mocked mobile failure-banner suite and its sole send/previous-banner/new-notice ordering alarm are retired. Its filenames are removed from active selectors. Desktop prompt roots and the independent unchanged terminal wire-codec receipt remain at their stated scopes; no mobile send/recovery proof is claimed. Audit2251 narrows agent-paste-draft.test.ts from 25 authored cases (26 literal cases) to four. Retained cases cover buffered readiness on PTY binding, separate spawn/composer lifetimes, real per-PTY paste/Enter serialization against a competing paste, and frame closure/no Enter after a rejected content chunk. Intentionally lost alarms include agent marker and fallback examples, direct-write failure/rejection, missing-PTY and Codex process-only timeout paths, exact nonprimary-PTY routing, full large-body chunk reconstruction, escaping/CRLF samples, internal laziness/yield work assertions, oversized preflight refusal, and exact configured delay/budget counts. No equivalent replacement, new execution, real PTY/provider delivery, rendered/native UI, deployment, measured performance or cross-platform result is claimed. Historical prior account (preserved verbatim): Mobile owner-layout policy retires whole tests and mixed registrations without equivalent replacement coverage. Retained callbacks and reduced selectors need fresh execution at their stated scope; prior measurements do not validate them. Historical oracle: Audit2003: Remove agent-prompt absence routing, throwing/live/missing-probe and cached-probe-count examples from the stale-leaf source. Controller-proven absence, unknown-liveness admission, obsolete-absence clearing and same-ID respawn fences remain at a supplied provider/row seam. Preserve the independent wire-codec receipt only in its original scope. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1991: Remove partial-runtime terminal-send guard/status/floor/query projection and argument-inventory samples. Retained RPC viewport admission, authenticated-client spoof refusal, text admission and stale-binding fences remain bounded mock-boundary behavior. The unchanged wire-codec receipt remains valid only for its original command; it does not validate this reduced RPC selector. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1908 removes the complete prompt-presentation hook and literal interactive-protocol mapping suites and narrows the interactive card and prompt-card input suites. Lost alarms include replacement approval A settling after answered B; collapse/expand composer ownership and partial-answer presentation; identical new waits after an unmounted view; collapsed transcript re-reads; answered/dismissed status-backed persistence and retirement; and literal answer-to-PTY byte arrays. The retained stale-PTY acknowledgment, cancellation/answer retry, and answered-approval remount/rebind assertions remain meaningful but are not equivalent replacement coverage. No fresh reduced-selector result, physical provider, rendered/native-focus, mixed-version deployment, soak, or measured-budget validation is claimed. The unchanged wire-codec receipt remains valid only for its exact command. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Retained unchanged-selector receipts are the only current execution evidence. Reduced-source assertions await validation. Historical prior oracle: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): After acknowledged phone replies with stale host status, the exact card disappears and Send is enabled; unknown, refused or unverifiable-settlement replies retain enabled choices, while an older host's accepted reply dismisses like an acknowledged one; a same-occurrence view toggle retains pending acknowledgment and real replacements discard it. A slow 32 KiB SSH answer completes all chunks before Enter; cancellation preserves issued bytes but omits remaining groups. Paired settlement invokes the actual provider and lost callbacks remain unknown; older hosts deliver ordinary messages, launch and selector groups once and their accepted answers dismiss as before. An answered card stays hidden across a view remount; a collapsed card is a strip that frees the composer and expands back; an identical question in a new wait shows again; a composer send caught by a new card keeps its bubble without submitting or clearing the line under it. Audit2450 removes the MobileNativeChatView failure-banner callback-only example whose old banner is supplied unchanged by its props. Retain fatal-read gating and the ordering test that preserves a new delivery notice. The removed false-send/old-banner combination has no equivalent replacement; prior raw receipts and budgets retain their original source scope. No new soak, platform, performance or red/green claim.", "commands": [ - "ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/components/native-chat/prompts/NativeChatInteractiveCard.test.tsx src/renderer/src/components/native-chat/prompts/NativeChatResolvedView.prompt-card-input.test.tsx src/renderer/src/components/native-chat/surfaces/integration/NativeChatResolvedView.prompt-card-composer.test.tsx src/renderer/src/components/native-chat/conversation/turns/NativeChatResolvedView.turn-status.test.tsx src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft.test.ts src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft-submit-retry.test.ts src/main/ipc/pty/ipc/write-input-user-input.test.ts src/main/ipc/pty/pty-write-ipc-validation.test.ts src/main/runtime/terminal/input/runtime-terminal-writer.test.ts src/main/runtime/rpc/terminal-send.test.ts src/main/runtime/terminal/input/terminal-send-stale-leaf-liveness.test.ts --maxWorkers=2", - "ORCA_BACKGROUND_LAUNCH=1 mobile/node_modules/.bin/vitest run --config mobile/vitest.config.ts mobile/src/session/native-chat/MobileNativeChatView.prompt-presentation.test.ts mobile/src/session/native-chat/MobileNativeChatView.failure-banner.test.ts mobile/src/session/mobile-prompt-controller.test.ts --maxWorkers=2", + "ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/components/native-chat/prompts/NativeChatInteractiveCard.test.tsx src/renderer/src/components/native-chat/prompts/NativeChatResolvedView.prompt-card-input.test.tsx src/renderer/src/components/native-chat/surfaces/integration/NativeChatResolvedView.prompt-card-composer.test.tsx src/renderer/src/components/native-chat/conversation/turns/NativeChatResolvedView.turn-status.test.tsx src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft.test.ts src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft-submit-retry.test.ts src/main/ipc/pty/ipc/write-input-user-input.test.ts src/main/ipc/pty/pty-write-ipc-validation.test.ts src/main/runtime/terminal/input/runtime-terminal-writer.test.ts src/main/runtime/rpc/terminal-send.test.ts --maxWorkers=2", + "ORCA_BACKGROUND_LAUNCH=1 mobile/node_modules/.bin/vitest run --config mobile/vitest.config.ts mobile/src/session/native-chat/input/mobile-prompt-controller.test.ts --maxWorkers=2", "ORCA_BACKGROUND_LAUNCH=1 pnpm test tests/e2e/cross-version-wire/cross-version-terminal-wire.unit.test.ts --maxWorkers=1", "ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/components/native-chat/prompts/NativeChatInteractiveCard.test.tsx src/renderer/src/components/native-chat/prompts/NativeChatResolvedView.prompt-card-input.test.tsx src/renderer/src/components/native-chat/conversation/turns/NativeChatResolvedView.turn-status.test.tsx src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft.test.ts src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft-submit-retry.test.ts src/main/ipc/pty/ipc/write-input-user-input.test.ts src/main/ipc/pty/pty-write-ipc-validation.test.ts --maxWorkers=2", - "ORCA_BACKGROUND_LAUNCH=1 mobile/node_modules/.bin/vitest run --config mobile/vitest.config.ts mobile/src/session/native-chat/MobileNativeChatView.prompt-presentation.test.ts mobile/src/session/native-chat/MobileNativeChatView.failure-banner.test.ts --maxWorkers=2" + "ORCA_BACKGROUND_LAUNCH=1 mobile/node_modules/.bin/vitest run --config mobile/vitest.config.ts --maxWorkers=2" ], "testFiles": [ "src/renderer/src/components/native-chat/prompts/NativeChatInteractiveCard.test.tsx", @@ -477,10 +477,7 @@ "src/main/ipc/pty/pty-write-ipc-validation.test.ts", "src/main/runtime/terminal/input/runtime-terminal-writer.test.ts", "src/main/runtime/rpc/terminal-send.test.ts", - "src/main/runtime/terminal/input/terminal-send-stale-leaf-liveness.test.ts", - "mobile/src/session/native-chat/MobileNativeChatView.prompt-presentation.test.ts", - "mobile/src/session/native-chat/MobileNativeChatView.failure-banner.test.ts", - "mobile/src/session/mobile-prompt-controller.test.ts", + "mobile/src/session/native-chat/input/mobile-prompt-controller.test.ts", "tests/e2e/cross-version-wire/cross-version-terminal-wire.unit.test.ts" ], "assertionRefs": [ @@ -491,18 +488,12 @@ "sends only one cancellation, can cancel an answer, and permits retry after unknown" ] }, + { - "file": "mobile/src/session/native-chat/MobileNativeChatView.prompt-presentation.test.ts", - "assertions": [ - "a late answer cannot reshow an answered replacement occurrence", - "a late answer cannot dismiss a replacement session" - ] - }, - { - "file": "mobile/src/session/mobile-prompt-controller.test.ts", + "file": "mobile/src/session/native-chat/input/mobile-prompt-controller.test.ts", "assertions": [ "retains permission choices on %s", - "shows a collapsed prompt again as a new wait", + "keeps an acknowledged Deny hidden after the chat screen remounts on a lingering status", "settles the terminal answer for Q1 after Q2 arrives without hiding Q2", "keeps structured answer controls after a thrown send" @@ -607,7 +598,14 @@ "Mobile owner-layout policy retires whole tests and mixed registrations without equivalent replacement coverage. Retained callbacks and reduced selectors need fresh execution at their stated scope; prior measurements do not validate them. Affected sources: mobile/src/session/mobile-prompt-controller.test.ts, tests/e2e/native-chat-ssh-delivery.unit.test.ts, mobile/src/session/native-chat/use-mobile-native-chat-controller.test.ts, mobile/src/session/native-chat/input/use-mobile-native-chat-cancel-ask.test.ts, mobile/src/session/native-chat/input/use-mobile-native-chat-answer-send.test.ts, mobile/src/session/native-chat/transcript/use-mobile-native-chat-message-send.test.ts.", "Historical assertion references before mobile owner-layout policy; removed references have no replacement claim: [{\"file\":\"src/renderer/src/components/native-chat/prompts/NativeChatInteractiveCard.test.tsx\",\"assertions\":[\"ignores a raw acknowledgment from a rebound PTY\",\"sends only one cancellation, can cancel an answer, and permits retry after unknown\"]},{\"file\":\"mobile/src/session/native-chat/MobileNativeChatView.prompt-presentation.test.ts\",\"assertions\":[\"a late answer cannot reshow an answered replacement occurrence\",\"a late answer cannot dismiss a replacement session\"]},{\"file\":\"mobile/src/session/mobile-prompt-controller.test.ts\",\"assertions\":[\"finishes an older-host selector once and dismisses it like an acknowledged answer\",\"dismisses older-host approval choice %i like an acknowledged answer and restores Send\",\"retains permission choices on %s\",\"acknowledges the same pending %s after a view-only toggle\",\"shows a collapsed prompt again as a new wait\",\"keeps an acknowledged Deny hidden after the chat screen remounts on a lingering status\",\"drops an accepted result after real %s replacement\",\"keeps an agent notice answerable and retires only human input through the %s view\",\"retains exact cancelled calls through edits, prefix/ID replay, paging and new equal rows (%s)\",\"keeps structured %s admission separate from captured Cancel and delivered rows\",\"settles the terminal answer for Q1 after Q2 arrives without hiding Q2\",\"fences a late captured structured answer after %s replacement\",\"does not turn real %s host-result conversion into an answered question\",\"keeps later same-ID Cancel after eviction/reentry and old answer settlement\",\"keeps structured answer controls after a thrown send\",\"isolates equal portable IDs on two hosts and rejects the old host callback\"]},{\"file\":\"tests/e2e/native-chat-ssh-delivery.unit.test.ts\",\"assertions\":[\"serializes every chunk of a healthy large SSH answer before Enter and dismissal\",\"cancels remaining paced groups while an already-issued body still settles\",\"paired terminal.send uses provider settlement for accepted and lost acknowledgment\",\"older paired hosts keep their whole-write verdict for answers and ordinary sequences\",\"older paired hosts confirm ordinary chat sends and pasted answers as before\",\"finishes every older-host selector group once and settles the answer as delivered\"]},{\"file\":\"src/renderer/src/components/native-chat/surfaces/integration/NativeChatResolvedView.prompt-card-composer.test.tsx\",\"assertions\":[\"keeps an in-flight message visible and never submits it into the approval\",\"routes no typing to the hidden composer until the card is answered\"]},{\"file\":\"src/renderer/src/components/native-chat/prompts/NativeChatResolvedView.prompt-card-input.test.tsx\",\"assertions\":[\"keeps an answered approval hidden across a chat view remount and a PTY rebind\"]},{\"file\":\"src/main/runtime/terminal/input/runtime-terminal-writer.test.ts\",\"assertions\":[\"waits for complete body settlement before Enter\",\"does not send the suffix after refusal or unknown settlement\",\"returns unknown after an acknowledged prefix followed by refusal or bookkeeping failure\",\"preserves legacy raw body and Enter writes\"]}]", "Audit2251 narrows agent-paste-draft.test.ts from 25 authored cases (26 literal cases) to four. Retained cases cover buffered readiness on PTY binding, separate spawn/composer lifetimes, real per-PTY paste/Enter serialization against a competing paste, and frame closure/no Enter after a rejected content chunk. Intentionally lost alarms include agent marker and fallback examples, direct-write failure/rejection, missing-PTY and Codex process-only timeout paths, exact nonprimary-PTY routing, full large-body chunk reconstruction, escaping/CRLF samples, internal laziness/yield work assertions, oversized preflight refusal, and exact configured delay/budget counts. No equivalent replacement, new execution, real PTY/provider delivery, rendered/native UI, deployment, measured performance or cross-platform result is claimed.", - "Audit2450 removes the MobileNativeChatView failure-banner callback-only example whose old banner is supplied unchanged by its props. Retain fatal-read gating and the ordering test that preserves a new delivery notice. The removed false-send/old-banner combination has no equivalent replacement; prior raw receipts and budgets retain their original source scope. No new soak, platform, performance or red/green claim." + "Audit2450 removes the MobileNativeChatView failure-banner callback-only example whose old banner is supplied unchanged by its props. Retain fatal-read gating and the ordering test that preserves a new delivery notice. The removed false-send/old-banner combination has no equivalent replacement; prior raw receipts and budgets retain their original source scope. No new soak, platform, performance or red/green claim.", + "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The entire mocked mobile failure-banner suite and its sole send/previous-banner/new-notice ordering alarm are retired. Its filenames are removed from active selectors. Desktop prompt roots and the independent unchanged terminal wire-codec receipt remain at their stated scopes; no mobile send/recovery proof is claimed. Original scope text is retained as the exact suffix of coverageNotes/oracle; historical evidence is unchanged. Original active selector fields (historical complete raw JSON values, not current coverage): commands: [\n \"ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/components/native-chat/prompts/NativeChatInteractiveCard.test.tsx src/renderer/src/components/native-chat/prompts/NativeChatResolvedView.prompt-card-input.test.tsx src/renderer/src/components/native-chat/surfaces/integration/NativeChatResolvedView.prompt-card-composer.test.tsx src/renderer/src/components/native-chat/conversation/turns/NativeChatResolvedView.turn-status.test.tsx src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft.test.ts src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft-submit-retry.test.ts src/main/ipc/pty/ipc/write-input-user-input.test.ts src/main/ipc/pty/pty-write-ipc-validation.test.ts src/main/runtime/terminal/input/runtime-terminal-writer.test.ts src/main/runtime/rpc/terminal-send.test.ts src/main/runtime/terminal/input/terminal-send-stale-leaf-liveness.test.ts --maxWorkers=2\",\n \"ORCA_BACKGROUND_LAUNCH=1 mobile/node_modules/.bin/vitest run --config mobile/vitest.config.ts mobile/src/session/native-chat/MobileNativeChatView.failure-banner.test.ts mobile/src/session/native-chat/input/mobile-prompt-controller.test.ts --maxWorkers=2\",\n \"ORCA_BACKGROUND_LAUNCH=1 pnpm test tests/e2e/cross-version-wire/cross-version-terminal-wire.unit.test.ts --maxWorkers=1\",\n \"ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/components/native-chat/prompts/NativeChatInteractiveCard.test.tsx src/renderer/src/components/native-chat/prompts/NativeChatResolvedView.prompt-card-input.test.tsx src/renderer/src/components/native-chat/conversation/turns/NativeChatResolvedView.turn-status.test.tsx src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft.test.ts src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft-submit-retry.test.ts src/main/ipc/pty/ipc/write-input-user-input.test.ts src/main/ipc/pty/pty-write-ipc-validation.test.ts --maxWorkers=2\",\n \"ORCA_BACKGROUND_LAUNCH=1 mobile/node_modules/.bin/vitest run --config mobile/vitest.config.ts mobile/src/session/native-chat/MobileNativeChatView.failure-banner.test.ts --maxWorkers=2\"\n ]\ntestFiles: [\n \"src/renderer/src/components/native-chat/prompts/NativeChatInteractiveCard.test.tsx\",\n \"src/renderer/src/components/native-chat/prompts/NativeChatResolvedView.prompt-card-input.test.tsx\",\n \"src/renderer/src/components/native-chat/surfaces/integration/NativeChatResolvedView.prompt-card-composer.test.tsx\",\n \"src/renderer/src/components/native-chat/conversation/turns/NativeChatResolvedView.turn-status.test.tsx\",\n \"src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts\",\n \"src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft.test.ts\",\n \"src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft-submit-retry.test.ts\",\n \"src/main/ipc/pty/ipc/write-input-user-input.test.ts\",\n \"src/main/ipc/pty/pty-write-ipc-validation.test.ts\",\n \"src/main/runtime/terminal/input/runtime-terminal-writer.test.ts\",\n \"src/main/runtime/rpc/terminal-send.test.ts\",\n \"src/main/runtime/terminal/input/terminal-send-stale-leaf-liveness.test.ts\",\n\n \"mobile/src/session/native-chat/MobileNativeChatView.failure-banner.test.ts\",\n \"mobile/src/session/native-chat/input/mobile-prompt-controller.test.ts\",\n \"tests/e2e/cross-version-wire/cross-version-terminal-wire.unit.test.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/components/native-chat/prompts/NativeChatInteractiveCard.test.tsx\",\n \"assertions\": [\n \"ignores a raw acknowledgment from a rebound PTY\",\n \"sends only one cancellation, can cancel an answer, and permits retry after unknown\"\n ]\n },\n\n {\n \"file\": \"mobile/src/session/native-chat/input/mobile-prompt-controller.test.ts\",\n \"assertions\": [\n \"retains permission choices on %s\",\n\n \"keeps an acknowledged Deny hidden after the chat screen remounts on a lingering status\",\n \"settles the terminal answer for Q1 after Q2 arrives without hiding Q2\",\n \"keeps structured answer controls after a thrown send\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/native-chat/surfaces/integration/NativeChatResolvedView.prompt-card-composer.test.tsx\",\n \"assertions\": [\n \"keeps an in-flight message visible and never submits it into the approval\",\n \"routes no typing to the hidden composer until the card is answered\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/native-chat/prompts/NativeChatResolvedView.prompt-card-input.test.tsx\",\n \"assertions\": [\n \"keeps an answered approval hidden across a chat view remount and a PTY rebind\"\n ]\n },\n {\n \"file\": \"src/main/runtime/terminal/input/runtime-terminal-writer.test.ts\",\n \"assertions\": [\n \"waits for complete body settlement before Enter\",\n \"does not send the suffix after refusal or unknown settlement\",\n \"returns unknown after an acknowledged prefix followed by refusal or bookkeeping failure\",\n \"preserves legacy raw body and Enter writes\"\n ]\n }\n ]", + "Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. The stale-leaf-liveness suite and its exact command/testFiles selector are removed; its fake terminal refusal/liveness alarms are intentionally lost. Earlier notes and dated/archived evidence retain original scopes.", + "Complete prior commands before exact deleted selectors were pruned: [\"ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/components/native-chat/prompts/NativeChatInteractiveCard.test.tsx src/renderer/src/components/native-chat/prompts/NativeChatResolvedView.prompt-card-input.test.tsx src/renderer/src/components/native-chat/surfaces/integration/NativeChatResolvedView.prompt-card-composer.test.tsx src/renderer/src/components/native-chat/conversation/turns/NativeChatResolvedView.turn-status.test.tsx src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft.test.ts src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft-submit-retry.test.ts src/main/ipc/pty/ipc/write-input-user-input.test.ts src/main/ipc/pty/pty-write-ipc-validation.test.ts src/main/runtime/terminal/input/runtime-terminal-writer.test.ts src/main/runtime/rpc/terminal-send.test.ts src/main/runtime/terminal/input/terminal-send-stale-leaf-liveness.test.ts --maxWorkers=2\",\"ORCA_BACKGROUND_LAUNCH=1 mobile/node_modules/.bin/vitest run --config mobile/vitest.config.ts mobile/src/session/native-chat/input/mobile-prompt-controller.test.ts --maxWorkers=2\",\"ORCA_BACKGROUND_LAUNCH=1 pnpm test tests/e2e/cross-version-wire/cross-version-terminal-wire.unit.test.ts --maxWorkers=1\",\"ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/components/native-chat/prompts/NativeChatInteractiveCard.test.tsx src/renderer/src/components/native-chat/prompts/NativeChatResolvedView.prompt-card-input.test.tsx src/renderer/src/components/native-chat/conversation/turns/NativeChatResolvedView.turn-status.test.tsx src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft.test.ts src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft-submit-retry.test.ts src/main/ipc/pty/ipc/write-input-user-input.test.ts src/main/ipc/pty/pty-write-ipc-validation.test.ts --maxWorkers=2\",\"ORCA_BACKGROUND_LAUNCH=1 mobile/node_modules/.bin/vitest run --config mobile/vitest.config.ts --maxWorkers=2\"]", + "Complete prior testFiles before exact deleted selectors were pruned: [\"src/renderer/src/components/native-chat/prompts/NativeChatInteractiveCard.test.tsx\",\"src/renderer/src/components/native-chat/prompts/NativeChatResolvedView.prompt-card-input.test.tsx\",\"src/renderer/src/components/native-chat/surfaces/integration/NativeChatResolvedView.prompt-card-composer.test.tsx\",\"src/renderer/src/components/native-chat/conversation/turns/NativeChatResolvedView.turn-status.test.tsx\",\"src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts\",\"src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft.test.ts\",\"src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft-submit-retry.test.ts\",\"src/main/ipc/pty/ipc/write-input-user-input.test.ts\",\"src/main/ipc/pty/pty-write-ipc-validation.test.ts\",\"src/main/runtime/terminal/input/runtime-terminal-writer.test.ts\",\"src/main/runtime/rpc/terminal-send.test.ts\",\"src/main/runtime/terminal/input/terminal-send-stale-leaf-liveness.test.ts\",\"mobile/src/session/native-chat/input/mobile-prompt-controller.test.ts\",\"tests/e2e/cross-version-wire/cross-version-terminal-wire.unit.test.ts\"]", + "Audit3451 composes ROOT-adopted3444/independent3445: intentionally removes101 authored registrations across16 reviewed sources, deleting7 whole suites and reducing8; one reviewed source is unchanged. Fresh main has123 authored registrations before and22 after because an upstream direct-child shell regression remains verbatim with zero removal credit. Registered removals are100+7*S and explicit-active removals99+7*S, where S is the unprobed count0..3 of admitted bash/zsh/fish shells. No equivalent replacement or fresh execution is claimed. Broad mobile discovery loses whole prompt-presentation, Jira-URL and folder-source-repository suites. The prompt suite exercised presentation projections; it did not provide native mobile prompt acknowledgment acceptance. Existing direct prompt-controller selectors are unchanged. All prior notes, assertion references and complete dated receipts retain their original historical scopes.", + "Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. The broad mobile command loses the entire three-case mocked diff-review controller suite and the stale layout-sequence comparator sample. Keep only the direct layout-versus-scrollback counter distinction; the unchanged dictation retry hook retains complete recording replay. No rendered app, native capture, actual process death or remote execution is claimed. All prior notes and archived receipts retain original scopes.", + "Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. The broad mobile runner loses retired-name sequencing and PR action samples while retaining the editor-lifetime and original PR action keeper; commit-message generation is unchanged. Earlier notes, complete dated receipts and archived gaps retain their original scopes." ], "promotionCriteria": [ "Record change-reverted red/green evidence and repeatable remote rendered approval/question/dictation journeys.", @@ -1095,7 +1093,7 @@ "id": "settings.terminal-section-lifetime", "title": "Terminal settings search preserves matching section state", "maturity": "experimental", - "protection": "partial", + "protection": "none", "owner": "terminal-runtime", "layer": "renderer-unit", "surfaces": [ @@ -1105,66 +1103,43 @@ ], "platforms": ["macos", "linux", "windows"], "providers": ["local", "daemon", "ssh", "wsl", "remote-runtime"], - "coveredPlatforms": ["macos"], + "coveredPlatforms": [], "coveredProviders": [], - "coverageNotes": "Actual TerminalPane, ManageSessionsSection, health listener and scrollback form with mocked store/provider and display/action boundaries. Unix/Windows and Mac-client/Windows-host flags simulated; no physical provider, process-stop or native input coverage.", + "coverageNotes": "Module-layout wave1 retires the terminal-section lifetime owning suite and its complete dated receipt. The remaining TCC attribution notice suite does not establish the search-lifetime invariant. No current protection, replacement coverage, native/provider execution or fresh evidence is claimed. Historical scope before retirement: Actual TerminalPane, ManageSessionsSection, health listener and scrollback form with mocked store/provider and display/action boundaries. Unix/Windows and Mac-client/Windows-host flags simulated; no physical provider, process-stop or native input coverage.", "motivatingLinks": [ "https://github.com/stablyai/orca/blob/main/src/renderer/src/components/settings/terminal/TerminalPane.tsx" ], "invariant": "A matching settings section retains its state when preceding sections are filtered away; a section removed from search releases its owner and refreshes when shown again. A retained section still refreshes when another surface invalidates the session inventory. Diagnostic inventory never becomes authority for process death.", - "oracle": "Across 15 matched search edits the matched section keeps the same DOM node and the inventory/health read counts do not grow, instead of six reads each. A foreign inventory invalidation still reads once on the retained section and not after unmount. A draft and pending target survive matched search; actual hide/reopen reloads, explicit Refresh still reads, and hidden/unmounted health listeners do not fire.", - "commands": [ - "ORCA_BACKGROUND_LAUNCH=1 pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/settings/terminal/TerminalPane.section-lifetime.test.tsx src/renderer/src/components/settings/developer-permissions/TerminalTccAttributionNotice.test.tsx" - ], - "testFiles": [ - "src/renderer/src/components/settings/terminal/TerminalPane.section-lifetime.test.tsx", - "src/renderer/src/components/settings/developer-permissions/TerminalTccAttributionNotice.test.tsx" - ], - "assertionRefs": [ - { - "file": "src/renderer/src/components/settings/terminal/TerminalPane.section-lifetime.test.tsx", - "assertions": [ - "refreshes a retained section when another surface invalidates the inventory", - "refreshes explicitly, reloads genuinely hidden sections, and removes focus listeners", - "preserves an uncommitted scrollback draft while its section remains visible", - "retains a pending action target only while its section remains visible" - ] - } - ], - "evidenceRuns": [ - { - "date": "2026-09-26", - "runner": "local", - "platform": "macos", - "command": "ORCA_BACKGROUND_LAUNCH=1 pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/settings/TerminalPane.section-lifetime.test.tsx src/renderer/src/components/settings/TerminalTccAttributionNotice.test.tsx", - "currentCommand": "ORCA_BACKGROUND_LAUNCH=1 pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/settings/terminal/TerminalPane.section-lifetime.test.tsx src/renderer/src/components/settings/developer-permissions/TerminalTccAttributionNotice.test.tsx", - "result": "passed", - "durationSeconds": 1.48, - "summary": "12 tests/2 suites pass after the shared SettingsSectionStack adoption and the inventory-invalidation subscription. Read-count oracles restated as node identity plus non-growing read counts; original main fails all three simulated platform cases, the draft, the pending target and the foreign-invalidation refresh." - } - ], + "oracle": "Target oracle, currently unprotected after whole-suite retirement: Across 15 matched search edits the matched section keeps the same DOM node and the inventory/health read counts do not grow, instead of six reads each. A foreign inventory invalidation still reads once on the retained section and not after unmount. A draft and pending target survive matched search; actual hide/reopen reloads, explicit Refresh still reads, and hidden/unmounted health listeners do not fire.", + "commands": [], + "testFiles": [], + "assertionRefs": [], + "evidenceRuns": [], "runtimeBudget": { "p95Seconds": 10, "scope": "Focused renderer-unit suites, p95 not established." }, "flakeHistory": { "status": "not-started", - "evidence": "Author and independent local evidence only; no CI soak." + "evidence": "No current search-lifetime suite or soak evidence remains. Historical statement before retirement: Author and independent local evidence only; no CI soak." }, "redGreenEvidence": { - "status": "complete", - "evidence": "Original new suite fails all three simulated platform read-count cases, draft and pending target; one cleanup/refresh control passes. Candidate6pass. Independent scratch5pass/original4fail1control." + "status": "missing", + "evidence": "The owning search-lifetime suite was retired whole. Its historical red/green result does not validate the remaining unrelated TCC attribution notice suite." }, "performanceBudget": { "required": true, - "evidence": "Actual child inventory and health reads 6 to 1 across 15 matched search edits. Fixed small section filter/map now lives in the shared SettingsSectionStack; no new polling, cache or subprocess. One added in-renderer invalidation listener replaces the incidental search-driven refresh, so a retained section stays as fresh as the signal every other inventory reader already uses. No packaged CPU/frame/heap claim." + "evidence": "Historical budget account only; no current selector or fresh performance measurement: Actual child inventory and health reads 6 to 1 across 15 matched search edits. Fixed small section filter/map now lives in the shared SettingsSectionStack; no new polling, cache or subprocess. One added in-renderer invalidation listener replaces the incidental search-driven refresh, so a retained section stays as fresh as the signal every other inventory reader already uses. No packaged CPU/frame/heap claim." }, "knownGaps": [ "CI soak pending.", "No physical local/daemon/SSH/WSL/remote-runtime provider, native Linux/Windows or process-stop behavior exercised; routing, PTY ownership, commands and wire formats unchanged.", "Matched searches keep the loaded snapshot until existing Refresh, completed mutation, a foreign inventory invalidation or genuine hide/reopen; health also refreshes on focus/revision.", "Pending action target and drafts remain while their parent section matches, including individual controls hidden inside a retained section.", - "No packaged app latency, heap, real focus or pending destructive-mutation completion evidence. Hidden Electron component visual proof is separate from the gate." + "No packaged app latency, heap, real focus or pending destructive-mutation completion evidence. Hidden Electron component visual proof is separate from the gate.", + "Module-layout wave1 intentionally retires complete prohibited owning registrations in src/renderer/src/components/settings/terminal/TerminalPane.section-lifetime.test.tsx. Lost alarms: refreshes a retained section when another surface invalidates the inventory; refreshes explicitly, reloads genuinely hidden sections, and removes focus listeners; preserves an uncommitted scrollback draft while its section remains visible; retains a pending action target only while its section remains visible. No equivalent replacement coverage or pass for a reduced selector is claimed. All unrelated selectors and historical receipts retain their original scope.", + "Module-layout wave1 retires this complete historical receipt because its explicit current selector was reduced. It does not validate the reduced suite. Original receipt verbatim:\n{\n \"date\": \"2026-09-26\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/settings/TerminalPane.section-lifetime.test.tsx src/renderer/src/components/settings/TerminalTccAttributionNotice.test.tsx\",\n \"currentCommand\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/settings/terminal/TerminalPane.section-lifetime.test.tsx src/renderer/src/components/settings/developer-permissions/TerminalTccAttributionNotice.test.tsx\",\n \"result\": \"passed\",\n \"durationSeconds\": 1.48,\n \"summary\": \"12 tests/2 suites pass after the shared SettingsSectionStack adoption and the inventory-invalidation subscription. Read-count oracles restated as node identity plus non-growing read counts; original main fails all three simulated platform cases, the draft, the pending target and the foreign-invalidation refresh.\"\n }", + "Module-layout wave1 historical red/green statement before owning-suite retirement, retained verbatim without current validation credit: {\"status\":\"complete\",\"evidence\":\"Original new suite fails all three simulated platform read-count cases, draft and pending target; one cleanup/refresh control passes. Candidate6pass. Independent scratch5pass/original4fail1control.\"}" ], "promotionCriteria": [ "Retain count, real draft, pending target and cleanup oracles; obtain stable CI history and relevant full-app/provider evidence before promotion." @@ -1252,12 +1227,12 @@ ], "platforms": ["macos", "linux", "windows"], "providers": ["remote-runtime"], - "coveredPlatforms": ["macos", "linux"], + "coveredPlatforms": ["macos"], "coveredProviders": [], - "coverageNotes": "Audit1348 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Real authenticated sockets plus isolated desktop and headless hosts with desktop and browser viewers; deterministic lifecycle tests cover stale results and reader deadlines. The test-value audit removes the standalone runtime-status-snapshot.test.ts example that immediately applied the same supplied snapshots to two isolated slice stores. Its direct sequence-2 then older unavailable sequence-1 acceptance/rejection alarm is intentionally lost; it did not exercise a pending read, subscription delivery or a shared viewer connection. The suite retains failed-verification/recovery, disconnect/pairing retirement and catalog-refresh replay examples, which are not equivalent replacements. Historical executed commands, counts and results remain unchanged; no new live host, process restart or platform evidence is claimed. Audit1348: src/main/ipc/runtime-environments/runtime-environment-status-recovery.test.ts removed. Startup retry/broadcast counts and passive-before-active bootstrap request count. No equivalent replacement coverage is claimed. Audit1352: focused Linux unit selections validated on source head b638e07d395b76af3ba6b03761a1a0fe7e5e026e. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. The current assertion index names unchanged owner lifecycle tests from the successful focused run. They do not replace the deleted startup retry/broadcast count alarms. Audit1360: focused Linux unit selections validated on source head 415c9cffc2d10024131ec4b6721767a22195de6d. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1748 removes7 of13 authored host-status-owner definitions: request/polling counts, reconnect/no-request variants, deadline copy and blocked-reason projections. Lost alarms are intentional; no equivalent replacement coverage is claimed. Existing dated evidenceRuns are historical and unchanged, and do not validate this reduced source or current aggregate selectors. Focused candidate execution, if successful, validates only the retained local fake-request/clock tests, not authenticated sockets, rendered clients or platform parity.", + "coverageNotes": "Audit 3301 removes the failed-verification/recovery/restart generation and host-contact-epoch, hosting and no-toast example from runtime-status-snapshot.test.ts. Earlier prose describing that example as retained is historical. Disconnect/pairing retirement and delayed catalog replay remain unchanged without equivalent replacement. Archive both complete historical 22-case unit receipts because their selector includes the reduced source; preserve the unrelated rendered receipt, current selectors and other-owner assertion references. No fresh aggregate or live host validation is claimed. Linux coverage from those two unit runs is historical; current covered-platform scope is limited to the preserved macOS rendered receipt. Audit1348 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Real authenticated sockets plus isolated desktop and headless hosts with desktop and browser viewers; deterministic lifecycle tests cover stale results and reader deadlines. The test-value audit removes the standalone runtime-status-snapshot.test.ts example that immediately applied the same supplied snapshots to two isolated slice stores. Its direct sequence-2 then older unavailable sequence-1 acceptance/rejection alarm is intentionally lost; it did not exercise a pending read, subscription delivery or a shared viewer connection. The suite retains failed-verification/recovery, disconnect/pairing retirement and catalog-refresh replay examples, which are not equivalent replacements. Historical executed commands, counts and results remain unchanged; no new live host, process restart or platform evidence is claimed. Audit1348: src/main/ipc/runtime-environments/runtime-environment-status-recovery.test.ts removed. Startup retry/broadcast counts and passive-before-active bootstrap request count. No equivalent replacement coverage is claimed. Audit1352: focused Linux unit selections validated on source head b638e07d395b76af3ba6b03761a1a0fe7e5e026e. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. The current assertion index names unchanged owner lifecycle tests from the successful focused run. They do not replace the deleted startup retry/broadcast count alarms. Audit1360: focused Linux unit selections validated on source head 415c9cffc2d10024131ec4b6721767a22195de6d. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1748 removes7 of13 authored host-status-owner definitions: request/polling counts, reconnect/no-request variants, deadline copy and blocked-reason projections. Lost alarms are intentional; no equivalent replacement coverage is claimed. Existing dated evidenceRuns are historical and unchanged, and do not validate this reduced source or current aggregate selectors. Focused candidate execution, if successful, validates only the retained local fake-request/clock tests, not authenticated sockets, rendered clients or platform parity.", "motivatingLinks": ["https://github.com/stablyai/orca/pull/19163"], "invariant": "Failed bootstrap and authenticated reconnect converge without UI triggers; one connection owner publishes verified status, with no independent healthy status polling.", - "oracle": "Retained local cases check independent waiter deadlines/cancellation, failed-operation recovery, stale deferred results, disposal and explicit reconnect after authentication refusal. Historical aggregate receipts predate audit1748 and are not fresh validation of reduced sources.", + "oracle": "Audit 3301 removes the failed-verification/recovery/restart generation and host-contact-epoch, hosting and no-toast example from runtime-status-snapshot.test.ts. Earlier prose describing that example as retained is historical. Disconnect/pairing retirement and delayed catalog replay remain unchanged without equivalent replacement. Archive both complete historical 22-case unit receipts because their selector includes the reduced source; preserve the unrelated rendered receipt, current selectors and other-owner assertion references. No fresh aggregate or live host validation is claimed. Linux coverage from those two unit runs is historical; current covered-platform scope is limited to the preserved macOS rendered receipt. Retained local cases check independent waiter deadlines/cancellation, failed-operation recovery, stale deferred results, disposal and explicit reconnect after authentication refusal. Historical aggregate receipts predate audit1748 and are not fresh validation of reduced sources.", "commands": [ "ORCA_BACKGROUND_LAUNCH=1 pnpm test src/shared/remote-runtime/host-status/runtime-host-status-owner.test.ts src/main/ipc/runtime-environments/runtime-environment-status-connection.test.ts src/renderer/src/store/slices/runtime-status/runtime-status-snapshot.test.ts src/renderer/src/web/web-runtime-status-owner.test.ts", "ORCA_BACKGROUND_LAUNCH=1 ORCA_E2E_WEB_CLIENT=1 pnpm exec playwright test tests/e2e/runtime-host-status-recovery.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1" @@ -1287,26 +1262,6 @@ "result": "passed", "summary": "Desktop-host and headless-host journeys passed with desktop and browser viewers.", "durationSeconds": 31.3 - }, - { - "date": "2026-11-04", - "runner": "local", - "platform": "linux", - "result": "passed", - "command": "ORCA_BACKGROUND_LAUNCH=1 pnpm --config.verifyDepsBeforeRun=false test src/main/ipc/runtime-environments/runtime-environment-status-connection.test.ts src/renderer/src/store/slices/runtime-status-snapshot.test.ts src/renderer/src/web/web-runtime-status-owner.test.ts src/shared/remote-runtime/host-status/runtime-host-status-owner.test.ts --maxWorkers=2", - "currentCommand": "ORCA_BACKGROUND_LAUNCH=1 pnpm test src/shared/remote-runtime/host-status/runtime-host-status-owner.test.ts src/main/ipc/runtime-environments/runtime-environment-status-connection.test.ts src/renderer/src/store/slices/runtime-status/runtime-status-snapshot.test.ts src/renderer/src/web/web-runtime-status-owner.test.ts", - "durationSeconds": 4.37, - "summary": "Test Files 4 passed (4); Tests 22 passed (22). Focused Linux unit execution; no physical-provider, p95 or cross-platform claim. Source head b638e07d395b76af3ba6b03761a1a0fe7e5e026e." - }, - { - "date": "2026-11-04", - "runner": "local", - "platform": "linux", - "result": "passed", - "command": "ORCA_BACKGROUND_LAUNCH=1 pnpm --config.verifyDepsBeforeRun=false test src/main/ipc/runtime-environments/runtime-environment-status-connection.test.ts src/renderer/src/store/slices/runtime-status-snapshot.test.ts src/renderer/src/web/web-runtime-status-owner.test.ts src/shared/remote-runtime/host-status/runtime-host-status-owner.test.ts --maxWorkers=2", - "currentCommand": "ORCA_BACKGROUND_LAUNCH=1 pnpm test src/shared/remote-runtime/host-status/runtime-host-status-owner.test.ts src/main/ipc/runtime-environments/runtime-environment-status-connection.test.ts src/renderer/src/store/slices/runtime-status/runtime-status-snapshot.test.ts src/renderer/src/web/web-runtime-status-owner.test.ts", - "durationSeconds": 4.52, - "summary": "Test Files 4 passed (4); Tests 22 passed (22). Focused Linux unit execution; no physical-provider, p95 or cross-platform claim. Source head 415c9cffc2d10024131ec4b6721767a22195de6d." } ], "runtimeBudget": { @@ -1334,7 +1289,10 @@ "The test-value audit removes the standalone runtime-status-snapshot.test.ts example that immediately applied the same supplied snapshots to two isolated slice stores. Its direct sequence-2 then older unavailable sequence-1 acceptance/rejection alarm is intentionally lost; it did not exercise a pending read, subscription delivery or a shared viewer connection. The suite retains failed-verification/recovery, disconnect/pairing retirement and catalog-refresh replay examples, which are not equivalent replacements. Historical executed commands, counts and results remain unchanged; no new live host, process restart or platform evidence is claimed.", "Audit1348: src/main/ipc/runtime-environments/runtime-environment-status-recovery.test.ts removed. Startup retry/broadcast counts and passive-before-active bootstrap request count. No equivalent replacement coverage is claimed.", "Audit1348 historical platform/provider scope before source changes: {\"coveredPlatforms\":[\"macos\"],\"coveredProviders\":[\"remote-runtime\"]}. Remaining provider scope applies only to unchanged-source receipts.", - "Audit1348 historical assertion inventory for deleted/reduced sources; not current validated assertions:\n[\n {\n \"file\": \"src/main/ipc/runtime-environments/runtime-environment-status-recovery.test.ts\",\n \"assertions\": [\n \"recovers a saved host after its first status check fails, without another UI request\"\n ]\n }\n]" + "Audit1348 historical assertion inventory for deleted/reduced sources; not current validated assertions:\n[\n {\n \"file\": \"src/main/ipc/runtime-environments/runtime-environment-status-recovery.test.ts\",\n \"assertions\": [\n \"recovers a saved host after its first status check fails, without another UI request\"\n ]\n }\n]", + "Audit 3301 removes the failed-verification/recovery/restart generation and host-contact-epoch, hosting and no-toast example from runtime-status-snapshot.test.ts. Earlier prose describing that example as retained is historical. Disconnect/pairing retirement and delayed catalog replay remain unchanged without equivalent replacement. Archive both complete historical 22-case unit receipts because their selector includes the reduced source; preserve the unrelated rendered receipt, current selectors and other-owner assertion references. No fresh aggregate or live host validation is claimed. Linux coverage from those two unit runs is historical; current covered-platform scope is limited to the preserved macOS rendered receipt.", + "Audit 3301 retires this complete dated unit receipt because runtime-status-snapshot.test.ts was reduced. Its original command, result and counts remain historical and do not validate the reduced selector. Original receipt verbatim:\n{\n \"date\": \"2026-11-04\",\n \"runner\": \"local\",\n \"platform\": \"linux\",\n \"result\": \"passed\",\n \"command\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm --config.verifyDepsBeforeRun=false test src/main/ipc/runtime-environments/runtime-environment-status-connection.test.ts src/renderer/src/store/slices/runtime-status-snapshot.test.ts src/renderer/src/web/web-runtime-status-owner.test.ts src/shared/remote-runtime/host-status/runtime-host-status-owner.test.ts --maxWorkers=2\",\n \"currentCommand\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm test src/shared/remote-runtime/host-status/runtime-host-status-owner.test.ts src/main/ipc/runtime-environments/runtime-environment-status-connection.test.ts src/renderer/src/store/slices/runtime-status/runtime-status-snapshot.test.ts src/renderer/src/web/web-runtime-status-owner.test.ts\",\n \"durationSeconds\": 4.37,\n \"summary\": \"Test Files 4 passed (4); Tests 22 passed (22). Focused Linux unit execution; no physical-provider, p95 or cross-platform claim. Source head b638e07d395b76af3ba6b03761a1a0fe7e5e026e.\"\n }", + "Audit 3301 retires this complete dated unit receipt because runtime-status-snapshot.test.ts was reduced. Its original command, result and counts remain historical and do not validate the reduced selector. Original receipt verbatim:\n{\n \"date\": \"2026-11-04\",\n \"runner\": \"local\",\n \"platform\": \"linux\",\n \"result\": \"passed\",\n \"command\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm --config.verifyDepsBeforeRun=false test src/main/ipc/runtime-environments/runtime-environment-status-connection.test.ts src/renderer/src/store/slices/runtime-status-snapshot.test.ts src/renderer/src/web/web-runtime-status-owner.test.ts src/shared/remote-runtime/host-status/runtime-host-status-owner.test.ts --maxWorkers=2\",\n \"currentCommand\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm test src/shared/remote-runtime/host-status/runtime-host-status-owner.test.ts src/main/ipc/runtime-environments/runtime-environment-status-connection.test.ts src/renderer/src/store/slices/runtime-status/runtime-status-snapshot.test.ts src/renderer/src/web/web-runtime-status-owner.test.ts\",\n \"durationSeconds\": 4.52,\n \"summary\": \"Test Files 4 passed (4); Tests 22 passed (22). Focused Linux unit execution; no physical-provider, p95 or cross-platform claim. Source head 415c9cffc2d10024131ec4b6721767a22195de6d.\"\n }" ], "demotionRule": "Keep experimental until repeated runs establish reliability; preserve request-count and lifecycle assertions." }, @@ -1396,10 +1354,10 @@ "providers": ["local", "ssh", "remote-runtime", "mobile"], "coveredPlatforms": [], "coveredProviders": [], - "coverageNotes": "Audit1659 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1474 removes the full renderer session-hook suite. Supplied-state projection, mock transport/settings forwarding and assembled shared-owner policy alarms are retired; no equivalent replacement coverage is claimed. The option admission assertion reference was already stale. Reduced selectors have no fresh focused run; historical execution evidence retains its original scope. Audit1308 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic host and direct/Relay transport tests cover per-operation duplicate protection, caller changes, missing host journal rows, acknowledgement loss, and expiry. Mobile tests cover new-action identity, remount, storage refusal, current attachment paths, and capability changes; renderer tests cover one request per send and the bounded hand-back. Live SSH/remote runtimes and physical iOS/Android lifecycle are not exercised. The test-value audit removes the mock send-bridge suite: skills/options/attachment forwarding and accepted/unknown/queued/rejected callback policy no longer have that isolated alarm. Remaining send/draft tests are not claimed as equivalent coverage. Historical run commands and counts are preserved as historical records; a narrowed selector is not a new passed run. Audit1294 removes mobile/src/session/use-mobile-structured-agent-session-newer-approval-send.test.tsx. Its mock-only request/capability/private-state/copy alarms are intentionally lost. Remaining tests are not equivalent replacement coverage. Narrowed commands require fresh parent-owned validation; no new runtime, platform or physical mobile evidence is claimed. Audit1302: src/main/native-chat/agent-session-wire/structured-agent-session-send-idempotency.test.ts: Direct performSend composition seeds real journal outcomes but adapter dispatch is never reachable from performSend at all (owner lines90–159: delivery runs separately). Thus both never-redispatch claims are unexercised; caller ledgers are not constructed and supplied acceptance callbacks never execute. Remaining assertions copy seeded unknown state or count one queued row. Lose isolated submission replay/dedup characterization; no equivalent replacement. Reduced selectors require fresh validation; prior full-suite receipts do not validate removed or changed coverage. No equivalent replacement or physical-provider claim. Audit1303 intentionally removes supplied-state/mock-callback component and hook examples in mobile/src/session/mobile-structured-send-delivery.test.ts, mobile/src/session/use-mobile-structured-agent-session-background-tasks.test.tsx. Their exact retired alarms are not equivalent to retained coverage; no new runtime, physical phone or deployed mixed-version evidence is claimed. Audit1308: src/renderer/src/lib/launch-structured-agent-session.test.ts removed. Unresolvable probe retries, exhausted selector refusal and unknown-outcome create-envelope mock alarms disappear. No equivalent replacement coverage is claimed. Audit1315 removes/narrows mobile/src/session/use-mobile-structured-agent-session-prompt-cancel.test.tsx. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands. Audit1341 scope1334 removes/narrows mobile/src/mobile-web-shell/use-page-host-snapshot.test.tsx. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands. Audit1341 scope1335 removes/narrows mobile/src/session/native-chat/composer/use-mobile-native-chat-image-attachments.test.ts, mobile/src/session/use-mobile-structured-agent-session-send.test.tsx, mobile/src/session/use-mobile-structured-agent-session.test.tsx, mobile/src/transport/mobile-relay-rpc-session.test.ts, mobile/src/transport/stable-logical-rpc-client.test.ts, mobile/src/session/use-mobile-structured-agent-session-queued.test.tsx, mobile/src/mobile-web-shell/bridge-host-init.test.ts. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands.", + "coverageNotes": "Audit3438 composes ROOT-adopted3434/independent3436: intentionally removes60 authored/62 potential expanded cases across16 sources, deleting9 whole suites. Eight authored/eight potential cases remain; delete the102line unused ACP fixture and57line unused teardown helper with zero test credit. No equivalent replacement or fresh execution is claimed. Retire the full mobile structured-session hook and launch suites, including their mocked send/abort state projections. Current commands, testFiles and evidenceRuns are already empty; prior narratives and archived receipts retain original scopes. Audit1659 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1474 removes the full renderer session-hook suite. Supplied-state projection, mock transport/settings forwarding and assembled shared-owner policy alarms are retired; no equivalent replacement coverage is claimed. The option admission assertion reference was already stale. Reduced selectors have no fresh focused run; historical execution evidence retains its original scope. Audit1308 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic host and direct/Relay transport tests cover per-operation duplicate protection, caller changes, missing host journal rows, acknowledgement loss, and expiry. Mobile tests cover new-action identity, remount, storage refusal, current attachment paths, and capability changes; renderer tests cover one request per send and the bounded hand-back. Live SSH/remote runtimes and physical iOS/Android lifecycle are not exercised. The test-value audit removes the mock send-bridge suite: skills/options/attachment forwarding and accepted/unknown/queued/rejected callback policy no longer have that isolated alarm. Remaining send/draft tests are not claimed as equivalent coverage. Historical run commands and counts are preserved as historical records; a narrowed selector is not a new passed run. Audit1294 removes mobile/src/session/use-mobile-structured-agent-session-newer-approval-send.test.tsx. Its mock-only request/capability/private-state/copy alarms are intentionally lost. Remaining tests are not equivalent replacement coverage. Narrowed commands require fresh parent-owned validation; no new runtime, platform or physical mobile evidence is claimed. Audit1302: src/main/native-chat/agent-session-wire/structured-agent-session-send-idempotency.test.ts: Direct performSend composition seeds real journal outcomes but adapter dispatch is never reachable from performSend at all (owner lines90–159: delivery runs separately). Thus both never-redispatch claims are unexercised; caller ledgers are not constructed and supplied acceptance callbacks never execute. Remaining assertions copy seeded unknown state or count one queued row. Lose isolated submission replay/dedup characterization; no equivalent replacement. Reduced selectors require fresh validation; prior full-suite receipts do not validate removed or changed coverage. No equivalent replacement or physical-provider claim. Audit1303 intentionally removes supplied-state/mock-callback component and hook examples in mobile/src/session/mobile-structured-send-delivery.test.ts, mobile/src/session/use-mobile-structured-agent-session-background-tasks.test.tsx. Their exact retired alarms are not equivalent to retained coverage; no new runtime, physical phone or deployed mixed-version evidence is claimed. Audit1308: src/renderer/src/lib/launch-structured-agent-session.test.ts removed. Unresolvable probe retries, exhausted selector refusal and unknown-outcome create-envelope mock alarms disappear. No equivalent replacement coverage is claimed. Audit1315 removes/narrows mobile/src/session/use-mobile-structured-agent-session-prompt-cancel.test.tsx. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands. Audit1341 scope1334 removes/narrows mobile/src/mobile-web-shell/use-page-host-snapshot.test.tsx. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands. Audit1341 scope1335 removes/narrows mobile/src/session/native-chat/composer/use-mobile-native-chat-image-attachments.test.ts, mobile/src/session/use-mobile-structured-agent-session-send.test.tsx, mobile/src/session/use-mobile-structured-agent-session.test.tsx, mobile/src/transport/mobile-relay-rpc-session.test.ts, mobile/src/transport/stable-logical-rpc-client.test.ts, mobile/src/session/use-mobile-structured-agent-session-queued.test.tsx, mobile/src/mobile-web-shell/bridge-host-init.test.ts. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands.", "motivatingLinks": ["https://github.com/stablyai/orca/pull/20133"], "invariant": "One structured-send operation id causes at most one provider dispatch. Each user Send on phone or desktop is a new action with a fresh id and one request; neither automatically resends an ambiguous action. The host retains the original action's outcome, and a later phone Send remains possible with equal text, after remount, or when phone storage fails. Repeated transmission of the same operation remains protected by host deduplication.", - "oracle": "The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Inject adapter/RPC acknowledgement loss, caller replacement, logical-client close after response, auth recovery with a written request, missing host submissions, legacy pending rows, stale fences, expiry, mobile remount, and phone storage refusal. Assert at most one dispatch for repeated transmission of one operation. For a later phone Send, assert a fresh id and second delivery while the original host entry remains unknown; equal images use current uploaded paths and delivery fields follow current host capabilities.", + "oracle": "Audit3438 composes ROOT-adopted3434/independent3436: intentionally removes60 authored/62 potential expanded cases across16 sources, deleting9 whole suites. Eight authored/eight potential cases remain; delete the102line unused ACP fixture and57line unused teardown helper with zero test credit. No equivalent replacement or fresh execution is claimed. Retire the full mobile structured-session hook and launch suites, including their mocked send/abort state projections. Current commands, testFiles and evidenceRuns are already empty; prior narratives and archived receipts retain original scopes. The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Inject adapter/RPC acknowledgement loss, caller replacement, logical-client close after response, auth recovery with a written request, missing host submissions, legacy pending rows, stale fences, expiry, mobile remount, and phone storage refusal. Assert at most one dispatch for repeated transmission of one operation. For a later phone Send, assert a fresh id and second delivery while the original host entry remains unknown; equal images use current uploaded paths and delivery fields follow current host capabilities.", "commands": [], "testFiles": [], "assertionRefs": [], @@ -1448,7 +1406,8 @@ "Retired during audit1312 selector cleanup; original complete execution receipt (unchanged): {\"date\":\"2026-11-04\",\"runner\":\"local\",\"platform\":\"linux\",\"result\":\"passed\",\"command\":\"ORCA_BACKGROUND_LAUNCH=1 pnpm --config.verifyDepsBeforeRun=false test src/shared/agent-session/lifecycle/agent-session-operation-ledger.test.ts src/shared/agent-session/requests/structured-agent-session-send-evidence.test.ts src/main/runtime/agent-session/ownership/agent-session-operation-admission.test.ts src/main/native-chat/agent-session-wire/structured-agent-session-send.test.ts src/main/runtime/orchestration/structured-mailbox-pointer-delivery.test.ts src/main/runtime/orchestration/structured-mailbox-pointer-host.test.ts src/renderer/src/components/native-chat/structured-agent-session-message-sender.test.ts src/renderer/src/components/native-chat/use-structured-agent-session.test.tsx src/renderer/src/lib/launch-structured-agent-session.test.ts --maxWorkers=2\",\"currentCommand\":\"ORCA_BACKGROUND_LAUNCH=1 pnpm test src/shared/agent-session/lifecycle/agent-session-operation-ledger.test.ts src/shared/agent-session/requests/structured-agent-session-send-evidence.test.ts src/main/runtime/agent-session/ownership/agent-session-operation-admission.test.ts src/main/native-chat/agent-session-wire/structured-agent-session-send.test.ts src/main/runtime/orchestration/structured-mailbox-pointer-delivery.test.ts src/main/runtime/orchestration/structured-mailbox-pointer-host.test.ts src/renderer/src/components/native-chat/structured-agent-session-message-sender.test.ts src/renderer/src/components/native-chat/use-structured-agent-session.test.tsx src/renderer/src/lib/launch-structured-agent-session.test.ts\",\"durationSeconds\":11.86,\"summary\":\"Test Files 9 passed (9); Tests 145 passed (145). Focused unit selector; native adapters remain mocked where present. Single local execution, not a p95 or cross-platform measurement. Source head 36536504876bf7fa79c79256377cde97f1f3a133.\"}", "Audit1315 removes/narrows mobile/src/session/use-mobile-structured-agent-session-prompt-cancel.test.tsx. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands.", "Audit1341 scope1334 removes/narrows mobile/src/mobile-web-shell/use-page-host-snapshot.test.tsx. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands.", - "Audit1341 scope1335 removes/narrows mobile/src/session/native-chat/composer/use-mobile-native-chat-image-attachments.test.ts, mobile/src/session/use-mobile-structured-agent-session-send.test.tsx, mobile/src/session/use-mobile-structured-agent-session.test.tsx, mobile/src/transport/mobile-relay-rpc-session.test.ts, mobile/src/transport/stable-logical-rpc-client.test.ts, mobile/src/session/use-mobile-structured-agent-session-queued.test.tsx, mobile/src/mobile-web-shell/bridge-host-init.test.ts. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands." + "Audit1341 scope1335 removes/narrows mobile/src/session/native-chat/composer/use-mobile-native-chat-image-attachments.test.ts, mobile/src/session/use-mobile-structured-agent-session-send.test.tsx, mobile/src/session/use-mobile-structured-agent-session.test.tsx, mobile/src/transport/mobile-relay-rpc-session.test.ts, mobile/src/transport/stable-logical-rpc-client.test.ts, mobile/src/session/use-mobile-structured-agent-session-queued.test.tsx, mobile/src/mobile-web-shell/bridge-host-init.test.ts. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands.", + "Audit3438 composes ROOT-adopted3434/independent3436: intentionally removes60 authored/62 potential expanded cases across16 sources, deleting9 whole suites. Eight authored/eight potential cases remain; delete the102line unused ACP fixture and57line unused teardown helper with zero test credit. No equivalent replacement or fresh execution is claimed. Retire the full mobile structured-session hook and launch suites, including their mocked send/abort state projections. Current commands, testFiles and evidenceRuns are already empty; prior narratives and archived receipts retain original scopes. All prior notes and dated/archived evidence retain original scopes." ], "demotionRule": "Keep experimental or demote if one operation dispatches twice, uncertainty is reported as definite rejection, a later phone Send reuses the earlier action or is blocked by phone storage, or the focused commands flake without a diagnosed harness defect." }, @@ -1634,70 +1593,35 @@ "id": "agent-session.hibernation-runtime-inventory-budget", "title": "Hibernation preserves fresh host evidence and shutdown safety", "maturity": "experimental", - "protection": "partial", + "protection": "none", "owner": "agent-session-runtime", "layer": "shared-and-renderer-unit", "surfaces": ["automatic agent hibernation", "remote terminal liveness"], "platforms": ["macos", "linux", "windows"], "providers": ["local", "remote-runtime"], - "coveredPlatforms": ["linux"], - "coveredProviders": ["local", "remote-runtime"], - "coverageNotes": "Audit2058 intentionally retires the standalone visibility subscription/callback-count alarm without replacement. Audit2310 additionally retires two pane-age getter-map expiry/pruning samples without equivalent replacement. The reduced five-source hibernation selector was freshly run on Linux:52 tests pass. The earlier 54-test receipt is archived verbatim in knownGaps and does not validate the reduced source. Its prior macOS execution receipt/current-command association is archived verbatim in knownGaps and is not current execution evidence for the reduced selector. Current covered platform is Linux; remote replies remain scripted, with no live SSH/WSL/native provider or p95 claim. Historical prior account (preserved verbatim): Local hibernation, remote inventory authority and folder-workspace identity are covered by coordinator/model contracts on macOS. Daemon, SSH, WSL, relay and native platform execution boundaries and existing RPC payloads are unchanged. Current assertions cover shutdown safety and owning-host selection; historical inventory-count and performance evidence below is retained for provenance and is not current count coverage.", + "coveredPlatforms": [], + "coveredProviders": [], + "coverageNotes": "Audit3368 retires the whole hibernation coordinator suite and intentionally loses supplied inventory/liveness/attention/confirmation/changed-workspace/sequential teardown alarms without equivalent replacement. The sole compound dated receipt is retired verbatim; no shortened command inherits its results. With no active evidence, protection/platform/provider evidence clears and ALL current commands/testFiles/assertionRefs are retired as complete original arrays in historical gaps. Other source files remain in the broad suite. Prior red/green/flake accounts are historical only; no fresh runtime/provider/UI/mobile/mixed-version/cross-platform evidence is claimed. Audit2058 intentionally retires the standalone visibility subscription/callback-count alarm without replacement. Audit2310 additionally retires two pane-age getter-map expiry/pruning samples without equivalent replacement. The reduced five-source hibernation selector was freshly run on Linux:52 tests pass. The earlier 54-test receipt is archived verbatim in knownGaps and does not validate the reduced source. Its prior macOS execution receipt/current-command association is archived verbatim in knownGaps and is not current execution evidence for the reduced selector. Current covered platform is Linux; remote replies remain scripted, with no live SSH/WSL/native provider or p95 claim. Historical prior account (preserved verbatim): Local hibernation, remote inventory authority and folder-workspace identity are covered by coordinator/model contracts on macOS. Daemon, SSH, WSL, relay and native platform execution boundaries and existing RPC payloads are unchanged. Current assertions cover shutdown safety and owning-host selection; historical inventory-count and performance evidence below is retained for provenance and is not current count coverage.", "motivatingLinks": [ "https://github.com/stablyai/orca/blob/main/src/renderer/src/lib/agent-hibernation-coordinator.test.ts" ], "invariant": "Automatic hibernation must retain two stable confirmations and fresh execution-host evidence before shutdown. Skipping a workspace with no completed agent must not authorize a newly completed pane using stale client PTYs.", - "oracle": "Audit2058 intentionally retires the standalone visibility subscription/callback-count alarm without replacement. Audit2310 additionally retires two pane-age getter-map expiry/pruning samples without equivalent replacement. The reduced five-source hibernation selector was freshly run on Linux:52 tests pass. The earlier 54-test receipt is archived verbatim in knownGaps and does not validate the reduced source. Its prior macOS execution receipt/current-command association is archived verbatim in knownGaps and is not current execution evidence for the reduced selector. Current covered platform is Linux; remote replies remain scripted, with no live SSH/WSL/native provider or p95 claim. Historical prior account (preserved verbatim): Working and waiting agents across remote workspaces must not be shut down. A skipped workspace completing while another inventory awaits remains ineligible until two later host-confirmed passes, and so does a workspace that only becomes runtime-owned while an inventory is outstanding — a pass carrying no host evidence for a workspace never counts as one of its two confirmations. Folder and git workspaces hibernate the exact host PTY; rejected/truncated inventories and intervening input/output or state changes block shutdown.", - "commands": [ - "ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/lib/agent-session/hibernation/agent-hibernation-coordinator.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-planner.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-pane-age.test.ts src/renderer/src/lib/foreground-terminal-tabs.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-runtime-liveness-race.test.ts --maxWorkers=2" - ], - "testFiles": [ - "src/renderer/src/lib/agent-session/hibernation/agent-hibernation-coordinator.test.ts", - "src/renderer/src/lib/agent-session/hibernation/agent-hibernation-planner.test.ts", - "src/renderer/src/lib/agent-session/hibernation/agent-hibernation-pane-age.test.ts", - "src/renderer/src/lib/foreground-terminal-tabs.test.ts", - "src/renderer/src/lib/agent-session/hibernation/agent-hibernation-runtime-liveness-race.test.ts" - ], - "assertionRefs": [ - { - "file": "src/renderer/src/lib/agent-session/hibernation/agent-hibernation-coordinator.test.ts", - "assertions": [ - "does not hibernate working or waiting agents across remote workspaces", - "requires host evidence after a skipped workspace completes during another inventory request", - "hibernates a runtime-backed candidate in %s with fresh liveness and exact PTYs", - "fails closed on truncated runtime liveness samples", - "fails closed when fresh runtime liveness rejects after an earlier good sample" - ] - }, - { - "file": "src/renderer/src/lib/agent-session/hibernation/agent-hibernation-runtime-liveness-race.test.ts", - "assertions": [ - "requires host evidence when a workspace becomes runtime-owned during an inventory request" - ] - } - ], - "evidenceRuns": [ - { - "date": "2026-11-08", - "runner": "local", - "platform": "linux", - "command": "ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/lib/agent-session/hibernation/agent-hibernation-coordinator.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-planner.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-pane-age.test.ts src/renderer/src/lib/foreground-terminal-tabs.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-runtime-liveness-race.test.ts --maxWorkers=2", - "result": "passed", - "durationSeconds": 5.426, - "summary": "52 tests across the five coordinator/planner/age/foreground/liveness-race files passed on public parent60aee85d9182f602af45cf5f6facae7257670061 plus the audit2310 test-removal candidate (source tree da2595af5391e9fa07a924ac69afede47ad31906). Includes the reduced two-case pane-age suite. Scripted runtime contracts; no live SSH/native WSL, soak or measured p95 claim." - } - ], + "oracle": "Audit3368 retires the whole hibernation coordinator suite and intentionally loses supplied inventory/liveness/attention/confirmation/changed-workspace/sequential teardown alarms without equivalent replacement. The sole compound dated receipt is retired verbatim; no shortened command inherits its results. With no active evidence, protection/platform/provider evidence clears and ALL current commands/testFiles/assertionRefs are retired as complete original arrays in historical gaps. Other source files remain in the broad suite. Prior red/green/flake accounts are historical only; no fresh runtime/provider/UI/mobile/mixed-version/cross-platform evidence is claimed. Audit2058 intentionally retires the standalone visibility subscription/callback-count alarm without replacement. Audit2310 additionally retires two pane-age getter-map expiry/pruning samples without equivalent replacement. The reduced five-source hibernation selector was freshly run on Linux:52 tests pass. The earlier 54-test receipt is archived verbatim in knownGaps and does not validate the reduced source. Its prior macOS execution receipt/current-command association is archived verbatim in knownGaps and is not current execution evidence for the reduced selector. Current covered platform is Linux; remote replies remain scripted, with no live SSH/WSL/native provider or p95 claim. Historical prior account (preserved verbatim): Working and waiting agents across remote workspaces must not be shut down. A skipped workspace completing while another inventory awaits remains ineligible until two later host-confirmed passes, and so does a workspace that only becomes runtime-owned while an inventory is outstanding — a pass carrying no host evidence for a workspace never counts as one of its two confirmations. Folder and git workspaces hibernate the exact host PTY; rejected/truncated inventories and intervening input/output or state changes block shutdown.", + "commands": [], + "testFiles": [], + "assertionRefs": [], + "evidenceRuns": [], "runtimeBudget": { "p95Seconds": 60, "scope": "Focused unit/provider-contract suite; local runtime budget, not an established p95." }, "flakeHistory": { - "status": "not-started", - "evidence": "Initial local validation; no CI soak history." + "status": "unknown", + "evidence": "Audit3368 retires sole active dated receipt. No fresh execution/soak validates current coverage; complete original account preserved verbatim as history." }, "redGreenEvidence": { - "status": "complete", - "evidence": "Baseline made 101 runtime calls in the new no-completed-agent fixture; candidate makes zero. Existing confirmation, final recheck and failure-path assertions continue to pass, including completion during an outstanding request. Separately, baseline hibernated a workspace that became runtime-owned mid-inventory one tick early, taking its first confirmation from a pass planned entirely from client PTYs; candidate withholds that pass and requires two host-confirmed ones." + "status": "missing", + "evidence": "Audit3368 changes/deletes referenced sources. No fresh red/green proof validates reduced coverage; original complete account preserved verbatim in knownGaps as history." }, "performanceBudget": { "required": true, @@ -1708,7 +1632,17 @@ "This improves the experimental automatic hibernation path only; it does not remove inventories for workspaces that contain completed agents.", "Historical audit2058 coverage note before audit2310, preserved verbatim; not current execution evidence: Audit2058 intentionally retires the standalone visibility subscription/callback-count alarm without replacement. The remaining five-source hibernation selector was freshly run on Linux:54 tests pass. Its prior macOS execution receipt/current-command association is archived verbatim in knownGaps and is not current execution evidence for the reduced selector. Current covered platform is Linux; remote replies remain scripted, with no live SSH/WSL/native provider or p95 claim.", "Audit2058 archives this exact historical receipt after deleting a selector in its currentCommand; historical provenance only, not current execution evidence:\n{\n \"date\": \"2026-09-07\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/lib/agent-hibernation-coordinator.test.ts src/renderer/src/lib/agent-hibernation-planner.test.ts src/renderer/src/lib/agent-hibernation-confirmation.test.ts src/renderer/src/lib/agent-hibernation-pane-age.test.ts src/renderer/src/lib/agent-hibernation-output-activity.test.ts src/renderer/src/lib/agent-hibernation-visibility.test.ts src/renderer/src/lib/foreground-terminal-tabs.test.ts src/renderer/src/lib/agent-hibernation-runtime-liveness-race.test.ts\",\n \"currentCommand\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/lib/agent-session/hibernation/agent-hibernation-coordinator.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-planner.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-pane-age.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-visibility.test.ts src/renderer/src/lib/foreground-terminal-tabs.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-runtime-liveness-race.test.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 48.18,\n \"summary\": \"93 tests passed across eight coordinator, liveness-race, planner, confirmation, age, activity and visibility files.\"\n }", - "Historical receipt retired by audit2310 because two pane-age getter-map registrations were removed; original record preserved verbatim, not current execution evidence:\n{\n \"date\": \"2026-11-08\",\n \"runner\": \"local\",\n \"platform\": \"linux\",\n \"command\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/lib/agent-session/hibernation/agent-hibernation-coordinator.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-planner.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-pane-age.test.ts src/renderer/src/lib/foreground-terminal-tabs.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-runtime-liveness-race.test.ts --maxWorkers=2\",\n \"result\": \"passed\",\n \"durationSeconds\": 7.377,\n \"summary\": \"54 tests across five unchanged coordinator/planner/age/foreground/liveness-race files passed on the actual39644 squash plus test-removal candidate. Reduced selector only; scripted runtime contracts, no live SSH/native WSL, soak or measured p95 claim.\"\n }" + "Historical receipt retired by audit2310 because two pane-age getter-map registrations were removed; original record preserved verbatim, not current execution evidence:\n{\n \"date\": \"2026-11-08\",\n \"runner\": \"local\",\n \"platform\": \"linux\",\n \"command\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/lib/agent-session/hibernation/agent-hibernation-coordinator.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-planner.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-pane-age.test.ts src/renderer/src/lib/foreground-terminal-tabs.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-runtime-liveness-race.test.ts --maxWorkers=2\",\n \"result\": \"passed\",\n \"durationSeconds\": 7.377,\n \"summary\": \"54 tests across five unchanged coordinator/planner/age/foreground/liveness-race files passed on the actual39644 squash plus test-removal candidate. Reduced selector only; scripted runtime contracts, no live SSH/native WSL, soak or measured p95 claim.\"\n }", + "Audit3368 retires the whole hibernation coordinator suite and intentionally loses supplied inventory/liveness/attention/confirmation/changed-workspace/sequential teardown alarms without equivalent replacement. The sole compound dated receipt is retired verbatim; no shortened command inherits its results. With no active evidence, protection/platform/provider evidence clears and ALL current commands/testFiles/assertionRefs are retired as complete original arrays in historical gaps. Other source files remain in the broad suite. Prior red/green/flake accounts are historical only; no fresh runtime/provider/UI/mobile/mixed-version/cross-platform evidence is claimed.", + "Audit3368 historical original commands object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n[\n \"ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/lib/agent-session/hibernation/agent-hibernation-coordinator.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-planner.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-pane-age.test.ts src/renderer/src/components/terminal-pane/parking/retention/foreground-terminal-tabs.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-runtime-liveness-race.test.ts --maxWorkers=2\"\n ]", + "Audit3368 historical original testFiles object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n[\n \"src/renderer/src/lib/agent-session/hibernation/agent-hibernation-coordinator.test.ts\",\n \"src/renderer/src/lib/agent-session/hibernation/agent-hibernation-planner.test.ts\",\n \"src/renderer/src/lib/agent-session/hibernation/agent-hibernation-pane-age.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/retention/foreground-terminal-tabs.test.ts\",\n \"src/renderer/src/lib/agent-session/hibernation/agent-hibernation-runtime-liveness-race.test.ts\"\n ]", + "Audit3368 historical original assertionRefs object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n[\n {\n \"file\": \"src/renderer/src/lib/agent-session/hibernation/agent-hibernation-coordinator.test.ts\",\n \"assertions\": [\n \"does not hibernate working or waiting agents across remote workspaces\",\n \"requires host evidence after a skipped workspace completes during another inventory request\",\n \"hibernates a runtime-backed candidate in %s with fresh liveness and exact PTYs\",\n \"fails closed on truncated runtime liveness samples\",\n \"fails closed when fresh runtime liveness rejects after an earlier good sample\"\n ]\n },\n {\n \"file\": \"src/renderer/src/lib/agent-session/hibernation/agent-hibernation-runtime-liveness-race.test.ts\",\n \"assertions\": [\n \"requires host evidence when a workspace becomes runtime-owned during an inventory request\"\n ]\n }\n ]", + "Audit3368 historical original evidenceRuns object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n[\n {\n \"date\": \"2026-11-08\",\n \"runner\": \"local\",\n \"platform\": \"linux\",\n \"command\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/lib/agent-session/hibernation/agent-hibernation-coordinator.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-planner.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-pane-age.test.ts src/renderer/src/lib/foreground-terminal-tabs.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-runtime-liveness-race.test.ts --maxWorkers=2\",\n \"currentCommand\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/lib/agent-session/hibernation/agent-hibernation-coordinator.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-planner.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-pane-age.test.ts src/renderer/src/components/terminal-pane/parking/retention/foreground-terminal-tabs.test.ts src/renderer/src/lib/agent-session/hibernation/agent-hibernation-runtime-liveness-race.test.ts --maxWorkers=2\",\n \"result\": \"passed\",\n \"durationSeconds\": 5.426,\n \"summary\": \"52 tests across the five coordinator/planner/age/foreground/liveness-race files passed on public parent60aee85d9182f602af45cf5f6facae7257670061 plus the audit2310 test-removal candidate (source tree da2595af5391e9fa07a924ac69afede47ad31906). Includes the reduced two-case pane-age suite. Scripted runtime contracts; no live SSH/native WSL, soak or measured p95 claim.\"\n }\n ]", + "Audit3368 historical original protection object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"partial\"", + "Audit3368 historical original coveredPlatforms object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n[\"linux\"]", + "Audit3368 historical original coveredProviders object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n[\"local\", \"remote-runtime\"]", + "Audit3368 historical original redGreenEvidence object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n{\n \"status\": \"complete\",\n \"evidence\": \"Baseline made 101 runtime calls in the new no-completed-agent fixture; candidate makes zero. Existing confirmation, final recheck and failure-path assertions continue to pass, including completion during an outstanding request. Separately, baseline hibernated a workspace that became runtime-owned mid-inventory one tick early, taking its first confirmation from a pass planned entirely from client PTYs; candidate withholds that pass and requires two host-confirmed ones.\"\n }", + "Audit3368 historical original flakeHistory object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n{\n \"status\": \"not-started\",\n \"evidence\": \"Initial local validation; no CI soak history.\"\n }" ], "promotionCriteria": [ "Complete CI soak with zero unexplained flakes and preserve the observable oracle." @@ -1796,7 +1730,7 @@ "Complete CI soak with zero unexplained flakes and preserve the observable oracle." ], "demotionRule": "Keep experimental until CI soak; investigate failures without relaxing fidelity or resource-count assertions.", - "coverageNotes": "Audit2365 further reduces the supporting renderer agent-status suites. It removes the title-batch publication bound and generated-title sample, ordered acceptance/publication and nested/reentrant scheduling ledgers, Jcode manually assembled session-start sample, freshness-tick epoch example, repeated quit-capture identity and batched-clear examples, and sequential/batch retained-cap examples. Those alarms are no longer present; the following historical account must not be read as current coverage for them. No equivalent replacement or fresh execution evidence is claimed. Audit1400 intentionally deletes or reduces the listed sources. No fresh execution result validates their reduced selectors. Historical coverage account: Actual title-sync subscriber and Zustand publications are covered on macOS. Existing fixtures include SSH/runtime owner invalidation and folder workspaces; no live remote transport was launched. The guard has no platform branches, remote execution, liveness verdict or wire change. The test-value audit retires sequential/batch same-reducer replay, isolated capture-field examples, provider permutations and mock scheduling ledgers from the supporting renderer suites. The title batch publication bound remains, as do checkpoint precedence and real shutdown capture checks. This supplies no replacement evidence for the retired alarms; historical executed commands, counts and results remain historical. The test-value audit also retires isolated freshness-epoch, timestamp/attribution-copy, suppressor/reference and retained below-cap/overwrite examples from agent-status.test.ts. The original title-sync assertion references remain; retained stale-snapshot, cleanup and hard-bound checks are not equivalent replacements for these lost alarms. Historical commands, counts and results remain historical. Audit1400: src/renderer/src/lib/ai-vault-tab-title-sync-inputs.test.ts reduced. Loses one scan/count registration; retains owner invalidation and actual stale-reference release. No equivalent replacement coverage is claimed.", + "coverageNotes": "Audit2365 further reduces the supporting renderer agent-status suites. It removes the title-batch publication bound and generated-title sample, ordered acceptance/publication and nested/reentrant scheduling ledgers, Jcode manually assembled session-start sample, freshness-tick epoch example, repeated quit-capture identity and batched-clear examples, and sequential/batch retained-cap examples. Those alarms are no longer present; the following historical account must not be read as current coverage for them. No equivalent replacement or fresh execution evidence is claimed. Audit1400 intentionally deletes or reduces the listed sources. No fresh execution result validates their reduced selectors. Historical coverage account: Actual title-sync subscriber and Zustand publications are covered on macOS. Existing fixtures include SSH/runtime owner invalidation and folder workspaces; no live remote transport was launched. The guard has no platform branches, remote execution, liveness verdict or wire change. The test-value audit retires sequential/batch same-reducer replay, isolated capture-field examples, provider permutations and mock scheduling ledgers from the supporting renderer suites. The title batch publication bound remains, as do checkpoint precedence and real shutdown capture checks. This supplies no replacement evidence for the retired alarms; historical executed commands, counts and results remain historical. The test-value audit also retires isolated freshness-epoch, timestamp/attribution-copy, suppressor/reference and retained below-cap/overwrite examples from agent-status.test.ts. The original title-sync assertion references remain; retained stale-snapshot, cleanup and hard-bound checks are not equivalent replacements for these lost alarms. Historical commands, counts and results remain historical. Audit1400: src/renderer/src/lib/ai-vault-tab-title-sync-inputs.test.ts reduced. Loses one scan/count registration; retains owner invalidation and actual stale-reference release. No equivalent replacement coverage is claimed. Audit3146 incorporates source3132: seven authored/nine expanded provider-session lifecycle and shutdown examples are deliberately retired without replacement, including completed-session remote/manual-shutdown promotion and quit/done precedence over heartbeat. Captured-record conditional replacement and clockless Codex owner/root turn-fact isolation remain; they do not replace these alarms or establish actual shutdown/resume coverage.", "invariant": "Title-sync publications must not enumerate unchanged session collections, while title identity, provider availability, active pane, stored title and effective execution-host changes retain their previous invalidation decisions.", "oracle": "No current automated execution oracle is claimed for this gate after Audit1400 retired changed-source receipts. Historical oracle account: Fifty live heartbeat publications with 500 retained and 500 sleeping records cause zero unchanged-map enumerations and no extra scheduled reconciliations. Provider identity, additions/removals, agent/pane ownership, effective host, active pane and stored title changes still invalidate.", "commands": [], @@ -1826,7 +1760,8 @@ "Audit1400 historical assertion inventory for deleted/reduced sources; not current validated assertions:\n[\n {\n \"file\": \"src/renderer/src/lib/ai-vault-tab-title-sync-inputs.test.ts\",\n \"assertions\": [\n \"does not enumerate unchanged retained and sleeping maps during live status writes\",\n \"still detects provider changes in %s with other maps reused\",\n \"still checks workspace ownership after unchanged record collections\",\n \"still checks active panes and stored titles after unchanged record collections\"\n ]\n }\n]", "Audit1400 archived original active assertionRefs verbatim after retirement of all passed receipts:\n[\n {\n \"file\": \"src/renderer/src/lib/ai-vault-tab-title-sync-inputs.test.ts\",\n \"assertions\": [\n \"does not enumerate unchanged retained and sleeping maps during live status writes\",\n \"still detects provider changes in %s with other maps reused\",\n \"still checks workspace ownership after unchanged record collections\",\n \"still checks active panes and stored titles after unchanged record collections\"\n ]\n }\n ]", "Audit1400 archived active selectors after retirement of all passed receipts: {\"commands\":[\"ORCA_BACKGROUND_LAUNCH=1 pnpm test src/renderer/src/lib/ai-vault-tab-title-sync-inputs.test.ts src/renderer/src/lib/ai-vault-tab-title-sync.test.ts src/renderer/src/store/slices/agent-status/agent-status-batch.test.ts src/renderer/src/store/slices/agent-status/agent-status-provider-session.test.ts src/renderer/src/store/slices/agent-status/agent-status.test.ts src/renderer/src/store/slices/agent-status/agent-status-manual-sleep-capture.test.ts\"],\"testFiles\":[\"src/renderer/src/lib/ai-vault-tab-title-sync-inputs.test.ts\",\"src/renderer/src/lib/ai-vault-tab-title-sync.test.ts\",\"src/renderer/src/store/slices/agent-status/agent-status-batch.test.ts\",\"src/renderer/src/store/slices/agent-status/agent-status-provider-session.test.ts\",\"src/renderer/src/store/slices/agent-status/agent-status.test.ts\",\"src/renderer/src/store/slices/agent-status/agent-status-manual-sleep-capture.test.ts\"]}", - "Audit2365 further reduces the supporting renderer agent-status suites. It removes the title-batch publication bound and generated-title sample, ordered acceptance/publication and nested/reentrant scheduling ledgers, Jcode manually assembled session-start sample, freshness-tick epoch example, repeated quit-capture identity and batched-clear examples, and sequential/batch retained-cap examples. Those alarms are no longer present; the following historical account must not be read as current coverage for them. No equivalent replacement or fresh execution evidence is claimed." + "Audit2365 further reduces the supporting renderer agent-status suites. It removes the title-batch publication bound and generated-title sample, ordered acceptance/publication and nested/reentrant scheduling ledgers, Jcode manually assembled session-start sample, freshness-tick epoch example, repeated quit-capture identity and batched-clear examples, and sequential/batch retained-cap examples. Those alarms are no longer present; the following historical account must not be read as current coverage for them. No equivalent replacement or fresh execution evidence is claimed.", + "Renderer direct-owner cleanup retires the complete ai-vault-tab-title-sync suite (seven registrations), already referenced only by dormant historical metadata in this gate. Lost alarms: recovered sleeping-title retention, legacy title-kind precedence, host-name versus late-client precedence, provider identity invalidation, per-host batching concurrency/serialization, transcript-path retry, and failed-refresh pacing/name preservation. Real-clock polling or exact internal timer scheduling caused whole-case cuts. Freshness retains its complete queued closed-tab admission case at the public batch callback boundary; its hardcoded delivered-request count is not an internal work budget. No replacement, fresh execution, transport/native UI, provider, measured performance or cross-platform claim. Existing historical entries remain unchanged." ] }, { @@ -2163,7 +2098,7 @@ "id": "terminal-output.prestarted-shell-snapshot-adoption", "title": "Prestarted shell adoption paints covered output once", "maturity": "experimental", - "protection": "partial", + "protection": "none", "owner": "terminal-runtime", "layer": "renderer-transport-and-live-electron", "surfaces": [ @@ -2173,46 +2108,19 @@ ], "platforms": ["macos", "linux", "windows"], "providers": ["local", "daemon", "wsl", "ssh", "remote-runtime"], - "coveredPlatforms": ["linux"], + "coveredPlatforms": [], "coveredProviders": [], - "coverageNotes": "Audit3086: the transport filename selector loses IPC suspension/input/reattach cases and the entire spawn-errors suite. Unique classification, ownership, fallback retirement, reply-limit, write-failure and teardown-branch alarms are intentionally retired without replacement. Remaining registrations are unchanged; no fresh execution or real provider result is claimed. Audit2694 source-only review: Remove14 authored/14 expanded cases in the renderer completion wrapper family, including the complete bell/query-reply/stale-input factory, without replacement. Retain29 authored/34 expanded cases with unchanged callback bodies. Three removals are the existing pending2203 overlap and must be adopted/count-reconciled once; eleven are fresh removals. No current-source runtime or gate execution is supplied by this packet; dated evidence retains its original source scope and does not validate the reduced factory bytes. No equivalent replacement, physical provider, mixed-version, mobile, rendered UI, cross-platform, soak or measured-performance result is claimed. The retained directory-level discovery command continues to discover the reduced family; historical wrapper mentions are not fresh import-closure or execution evidence. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2065 (sources2063/2064): Intentionally retire these low-value alarms without replacement: src/renderer/src/components/terminal-pane/pty-connection/startup/pty-connection-startup-cwd-fallback-notice.spec.ts: prints a terminal notice when the startup cwd fell back to the workspace root. src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-pi-coalesce.test.ts: surfaces working frames when many spinner frames arrive in one chunk. src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-pi-spinner.test.ts: surfaces normalized working and idle labels across a spinner cycle; surfaces working even when a single chunk contains multiple spinner frames. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts: ordinary registration cleanup removes only import { registerPtyConnectionStartupCwdFallbackNoticeTests } from '../startup/pty-connection-startup-cwd-fallback-notice.spec'; registerPtyConnectionStartupCwdFallbackNoticeTests(). Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2061 (sources2059/2060): Intentionally retire these low-value alarms without replacement: src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-agent-trust-hold.test.ts: spawns only after the answer, carrying \"let agents ask\" to main for this launch; reattaches a section terminal without asking or changing trust; spawns with today's default when the prompt is released without an answer. src/renderer/src/components/terminal-pane/pty-connection/host-ownership/pty-connection-ssh-hook-status-authority.spec.ts: leaves SSH IPC OSC 9999 status ownership in the main runtime. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-completion-and-notification.test.ts: ordinary registration cleanup removes only import { registerPtyConnectionSshHookStatusAuthorityTests } from '../host-ownership/pty-connection-ssh-hook-status-authority.spec'; registerPtyConnectionSshHookStatusAuthorityTests(). Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Historical prior account (preserved verbatim): Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-spawn-intent.test.ts: declares the intent only when the spawn resumes an agent; reports a deferral to the pane instead of an error toast. src/renderer/src/components/terminal-pane/pty-connection/startup/in-place-resume-hold.test.ts: owns the record while the start runs, through a nested start, and releases on settle; holds nothing for a start not resuming a record, or once the pane is disposed. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Historical prior account (preserved verbatim): Audit1939 (sources1934/1935): The existing directory-level pnpm test selector includes eleven changed source files and automatically omits the three whole deletions. Keep this nonempty discovery command unchanged; no dated receipt uses this broad path. Removed agent admission fields, mock transport routing and terminal-id projection alarms are lost. Retained foreground state, actual headless xterm, redraw, abort/rebind reader and bridge claim progression remain scoped to their unchanged callbacks. No current-source execution, independent replacement, native transport or physical provider result is assigned. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally reduces src/renderer/src/components/terminal-pane/pty-connection/main-pane-start-wait.test.ts: Loses joined waiter invocation/failure notification and raw terminal error/paired-host readable sentence alarms; survivors preserve hold detection and card clearing. deletes src/renderer/src/components/terminal-pane/pty-connection-hidden-tui-snapshot-replay.spec.ts: Loses rich hidden snapshot sequence replay/grid resize and forced repaint after hidden snapshot alarms, including live-trigger deduplication. deletes src/renderer/src/components/terminal-pane/pty-connection-pi-synchronized-input.test.ts: Loses typed-input forced synchronized-frame presentation alarm; setup implements the parser behavior it claims to exercise. deletes src/renderer/src/components/terminal-pane/pty-connection-unserved-ssh-pane.test.ts: Loses automatic SSH dial deduplication, passphrase gating, stale pane exclusion, and disposal cancellation alarms. deletes src/renderer/src/components/terminal-pane/pty-connection-remote-snapshot-source-grid.test.ts: Loses source grid before frame and destination grid restoration ordering alarm. deletes src/renderer/src/components/terminal-pane/pty-connection-restart-replacement.spec.ts: Loses wrapper-level hidden/visible restart resume, dispose/rebind suppression and finished-turn replay alarms; manual pipeline and mock-implemented binding invalidate the whole callbacks. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1391 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1361 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): macOS daemon-backed Electron journey verifies same PID and terminal identity plus rendered output. Focused renderer contracts pass on Linux, Windows and WSL. Neighboring SSH model and replay contracts pass locally; no new live SSH or paired-runtime journey. Audit1342: src/renderer/src/components/terminal-pane/pty-connection-unanswered-command-finish.spec.ts removed. Unanswered SSH shell finish keeps/drops mocked agent row matrix disappears. src/renderer/src/components/terminal-pane/pty-connection-split-cwd-resolution.test.ts reduced. Happy inherited-cwd wait and transport-option forwarding sample loses its individual alarm. src/renderer/src/components/terminal-pane/pty-connection-command-input-agent-identity.spec.ts removed. Typed Droid versus process/launch identity and SSH/runtime process-evidence matrices disappear. src/renderer/src/components/terminal-pane/pty-connection/reattach-success-settle.test.ts removed. Success/no-ID/expired/superseded attach-settlement bag alarms disappear. src/renderer/src/components/terminal-pane/pty-transport-user-input.test.ts reduced. Every-write kind forwarding and synchronous driving-attempt observer/rejection/ACK call counts disappear. src/renderer/src/components/terminal-pane/pty-connection-codex-restart-input-lookup.spec.ts removed. No global tab enumeration on ordinary/stale input and known restart notice input-block mock-call alarms. src/renderer/src/components/terminal-pane/pty-connection-layout-owner-wake.test.ts removed. Hidden-to-visible single-pane start request, attach-only argument and negative local wake-record alarms are intentionally dropped; no real server wake/ack occurs. src/renderer/src/components/terminal-pane/pty-connection-completion-and-notification.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. src/renderer/src/components/terminal-pane/pty-connection-command-finished-cleanup.spec.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. src/renderer/src/components/terminal-pane/pty-connection-terminal-input-gating.spec.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Audit1361: src/renderer/src/components/terminal-pane/pty-connection/foreground-output-scan.test.ts reduced. Internal searched-character budget and ordinary/malformed no-op controls. No equivalent replacement coverage is claimed. Audit1365: focused Linux unit selection passed on source head 8880357cb420c45f1b808ae545a5bc609324624d. This new result has its own exact command; historical results keep their prior scope. Intentional test losses remain recorded in knownGaps. No physical-provider, native input, rendered E2E, p95, soak or replacement-coverage claim. Audit1369: src/renderer/src/components/terminal-pane/pty-connection/disposed-spawn-retention.test.ts removed. Rootless/removed/moved tabs, missing leaves, queued deletion and host-qualified/legacy deletion eligibility fixtures. No equivalent replacement coverage is claimed. Audit1391: src/renderer/src/components/terminal-pane/pty-connection-remote-pause-drop-notice.spec.ts reduced. Lose repeated quiet switches avoiding snapshots and legacy host without drop-report capability requesting a snapshot. Retained imported registrar uses fake transport/xterm writes, exercising real gap/restore lifecycle rather than actual terminal rendering. No equivalent replacement coverage is claimed. Audit1396: src/renderer/src/components/terminal-pane/pty-connection-pending-spawn.spec.ts reduced. Lose standalone debug-state retention/log silence alarm. React StrictMode is not mounted; bindings manually simulate remount over mocked transport. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1400: src/renderer/src/components/terminal-pane/pty-connection/terminal-input-echo-delay.test.ts reduced. Removes two fabricated-binding pipeline registrations; retains timestamp-policy outcomes without wall-clock speed assertions. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1402: src/renderer/src/components/terminal-pane/pty-connection-park-reveal-model-snapshot.spec.ts reduced. Loses basic paired serialize/initial replay forwarding check; hidden alt-frame grid/precedence policy remains. No real terminal renderer claim. src/renderer/src/components/terminal-pane/pty-connection/main-pane-resume-banner.test.ts reduced. Loses subscription-budget and attach-start generation predicate alarms; actual restored-banner renderer is not exercised. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result.", + "coverageNotes": "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3086: the transport filename selector loses IPC suspension/input/reattach cases and the entire spawn-errors suite. Unique classification, ownership, fallback retirement, reply-limit, write-failure and teardown-branch alarms are intentionally retired without replacement. Remaining registrations are unchanged; no fresh execution or real provider result is claimed. Audit2694 source-only review: Remove14 authored/14 expanded cases in the renderer completion wrapper family, including the complete bell/query-reply/stale-input factory, without replacement. Retain29 authored/34 expanded cases with unchanged callback bodies. Three removals are the existing pending2203 overlap and must be adopted/count-reconciled once; eleven are fresh removals. No current-source runtime or gate execution is supplied by this packet; dated evidence retains its original source scope and does not validate the reduced factory bytes. No equivalent replacement, physical provider, mixed-version, mobile, rendered UI, cross-platform, soak or measured-performance result is claimed. The retained directory-level discovery command continues to discover the reduced family; historical wrapper mentions are not fresh import-closure or execution evidence. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2065 (sources2063/2064): Intentionally retire these low-value alarms without replacement: src/renderer/src/components/terminal-pane/pty-connection/startup/pty-connection-startup-cwd-fallback-notice.spec.ts: prints a terminal notice when the startup cwd fell back to the workspace root. src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-pi-coalesce.test.ts: surfaces working frames when many spinner frames arrive in one chunk. src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-pi-spinner.test.ts: surfaces normalized working and idle labels across a spinner cycle; surfaces working even when a single chunk contains multiple spinner frames. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts: ordinary registration cleanup removes only import { registerPtyConnectionStartupCwdFallbackNoticeTests } from '../startup/pty-connection-startup-cwd-fallback-notice.spec'; registerPtyConnectionStartupCwdFallbackNoticeTests(). Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2061 (sources2059/2060): Intentionally retire these low-value alarms without replacement: src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-agent-trust-hold.test.ts: spawns only after the answer, carrying \"let agents ask\" to main for this launch; reattaches a section terminal without asking or changing trust; spawns with today's default when the prompt is released without an answer. src/renderer/src/components/terminal-pane/pty-connection/host-ownership/pty-connection-ssh-hook-status-authority.spec.ts: leaves SSH IPC OSC 9999 status ownership in the main runtime. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-completion-and-notification.test.ts: ordinary registration cleanup removes only import { registerPtyConnectionSshHookStatusAuthorityTests } from '../host-ownership/pty-connection-ssh-hook-status-authority.spec'; registerPtyConnectionSshHookStatusAuthorityTests(). Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Historical prior account (preserved verbatim): Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-spawn-intent.test.ts: declares the intent only when the spawn resumes an agent; reports a deferral to the pane instead of an error toast. src/renderer/src/components/terminal-pane/pty-connection/startup/in-place-resume-hold.test.ts: owns the record while the start runs, through a nested start, and releases on settle; holds nothing for a start not resuming a record, or once the pane is disposed. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Historical prior account (preserved verbatim): Audit1939 (sources1934/1935): The existing directory-level pnpm test selector includes eleven changed source files and automatically omits the three whole deletions. Keep this nonempty discovery command unchanged; no dated receipt uses this broad path. Removed agent admission fields, mock transport routing and terminal-id projection alarms are lost. Retained foreground state, actual headless xterm, redraw, abort/rebind reader and bridge claim progression remain scoped to their unchanged callbacks. No current-source execution, independent replacement, native transport or physical provider result is assigned. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally reduces src/renderer/src/components/terminal-pane/pty-connection/main-pane-start-wait.test.ts: Loses joined waiter invocation/failure notification and raw terminal error/paired-host readable sentence alarms; survivors preserve hold detection and card clearing. deletes src/renderer/src/components/terminal-pane/pty-connection-hidden-tui-snapshot-replay.spec.ts: Loses rich hidden snapshot sequence replay/grid resize and forced repaint after hidden snapshot alarms, including live-trigger deduplication. deletes src/renderer/src/components/terminal-pane/pty-connection-pi-synchronized-input.test.ts: Loses typed-input forced synchronized-frame presentation alarm; setup implements the parser behavior it claims to exercise. deletes src/renderer/src/components/terminal-pane/pty-connection-unserved-ssh-pane.test.ts: Loses automatic SSH dial deduplication, passphrase gating, stale pane exclusion, and disposal cancellation alarms. deletes src/renderer/src/components/terminal-pane/pty-connection-remote-snapshot-source-grid.test.ts: Loses source grid before frame and destination grid restoration ordering alarm. deletes src/renderer/src/components/terminal-pane/pty-connection-restart-replacement.spec.ts: Loses wrapper-level hidden/visible restart resume, dispose/rebind suppression and finished-turn replay alarms; manual pipeline and mock-implemented binding invalidate the whole callbacks. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1391 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1361 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): macOS daemon-backed Electron journey verifies same PID and terminal identity plus rendered output. Focused renderer contracts pass on Linux, Windows and WSL. Neighboring SSH model and replay contracts pass locally; no new live SSH or paired-runtime journey. Audit1342: src/renderer/src/components/terminal-pane/pty-connection-unanswered-command-finish.spec.ts removed. Unanswered SSH shell finish keeps/drops mocked agent row matrix disappears. src/renderer/src/components/terminal-pane/pty-connection-split-cwd-resolution.test.ts reduced. Happy inherited-cwd wait and transport-option forwarding sample loses its individual alarm. src/renderer/src/components/terminal-pane/pty-connection-command-input-agent-identity.spec.ts removed. Typed Droid versus process/launch identity and SSH/runtime process-evidence matrices disappear. src/renderer/src/components/terminal-pane/pty-connection/reattach-success-settle.test.ts removed. Success/no-ID/expired/superseded attach-settlement bag alarms disappear. src/renderer/src/components/terminal-pane/pty-transport-user-input.test.ts reduced. Every-write kind forwarding and synchronous driving-attempt observer/rejection/ACK call counts disappear. src/renderer/src/components/terminal-pane/pty-connection-codex-restart-input-lookup.spec.ts removed. No global tab enumeration on ordinary/stale input and known restart notice input-block mock-call alarms. src/renderer/src/components/terminal-pane/pty-connection-layout-owner-wake.test.ts removed. Hidden-to-visible single-pane start request, attach-only argument and negative local wake-record alarms are intentionally dropped; no real server wake/ack occurs. src/renderer/src/components/terminal-pane/pty-connection-completion-and-notification.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. src/renderer/src/components/terminal-pane/pty-connection-command-finished-cleanup.spec.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. src/renderer/src/components/terminal-pane/pty-connection-terminal-input-gating.spec.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Audit1361: src/renderer/src/components/terminal-pane/pty-connection/foreground-output-scan.test.ts reduced. Internal searched-character budget and ordinary/malformed no-op controls. No equivalent replacement coverage is claimed. Audit1365: focused Linux unit selection passed on source head 8880357cb420c45f1b808ae545a5bc609324624d. This new result has its own exact command; historical results keep their prior scope. Intentional test losses remain recorded in knownGaps. No physical-provider, native input, rendered E2E, p95, soak or replacement-coverage claim. Audit1369: src/renderer/src/components/terminal-pane/pty-connection/disposed-spawn-retention.test.ts removed. Rootless/removed/moved tabs, missing leaves, queued deletion and host-qualified/legacy deletion eligibility fixtures. No equivalent replacement coverage is claimed. Audit1391: src/renderer/src/components/terminal-pane/pty-connection-remote-pause-drop-notice.spec.ts reduced. Lose repeated quiet switches avoiding snapshots and legacy host without drop-report capability requesting a snapshot. Retained imported registrar uses fake transport/xterm writes, exercising real gap/restore lifecycle rather than actual terminal rendering. No equivalent replacement coverage is claimed. Audit1396: src/renderer/src/components/terminal-pane/pty-connection-pending-spawn.spec.ts reduced. Lose standalone debug-state retention/log silence alarm. React StrictMode is not mounted; bindings manually simulate remount over mocked transport. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1400: src/renderer/src/components/terminal-pane/pty-connection/terminal-input-echo-delay.test.ts reduced. Removes two fabricated-binding pipeline registrations; retains timestamp-policy outcomes without wall-clock speed assertions. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1402: src/renderer/src/components/terminal-pane/pty-connection-park-reveal-model-snapshot.spec.ts reduced. Loses basic paired serialize/initial replay forwarding check; hidden alt-frame grid/precedence policy remains. No real terminal renderer claim. src/renderer/src/components/terminal-pane/pty-connection/main-pane-resume-banner.test.ts reduced. Loses subscription-budget and attach-start generation predicate alarms; actual restored-banner renderer is not exercised. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result.", "motivatingLinks": [ "https://github.com/user-attachments/assets/e8c6d1dc-6150-4c3d-b55a-3d12efefdd04", "https://github.com/user-attachments/assets/b0328f88-34ac-4d51-8119-9efe17072435" ], "invariant": "Adopting a prestarted terminal preserves its existing process and paints snapshot-covered startup output once while retaining subsequent live output. Missing sequence proof or blank snapshots must not authorize dropping output.", - "oracle": "Audit3086: the transport filename selector loses IPC suspension/input/reattach cases and the entire spawn-errors suite. Unique classification, ownership, fallback retirement, reply-limit, write-failure and teardown-branch alarms are intentionally retired without replacement. Remaining registrations are unchanged; no fresh execution or real provider result is claimed. Audit2694 source-only review: Remove14 authored/14 expanded cases in the renderer completion wrapper family, including the complete bell/query-reply/stale-input factory, without replacement. Retain29 authored/34 expanded cases with unchanged callback bodies. Three removals are the existing pending2203 overlap and must be adopted/count-reconciled once; eleven are fresh removals. No current-source runtime or gate execution is supplied by this packet; dated evidence retains its original source scope and does not validate the reduced factory bytes. No equivalent replacement, physical provider, mixed-version, mobile, rendered UI, cross-platform, soak or measured-performance result is claimed. The retained directory-level discovery command continues to discover the reduced family; historical wrapper mentions are not fresh import-closure or execution evidence. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2065 (sources2063/2064): Intentionally retire these low-value alarms without replacement: src/renderer/src/components/terminal-pane/pty-connection/startup/pty-connection-startup-cwd-fallback-notice.spec.ts: prints a terminal notice when the startup cwd fell back to the workspace root. src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-pi-coalesce.test.ts: surfaces working frames when many spinner frames arrive in one chunk. src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-pi-spinner.test.ts: surfaces normalized working and idle labels across a spinner cycle; surfaces working even when a single chunk contains multiple spinner frames. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts: ordinary registration cleanup removes only import { registerPtyConnectionStartupCwdFallbackNoticeTests } from '../startup/pty-connection-startup-cwd-fallback-notice.spec'; registerPtyConnectionStartupCwdFallbackNoticeTests(). Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2061 (sources2059/2060): Intentionally retire these low-value alarms without replacement: src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-agent-trust-hold.test.ts: spawns only after the answer, carrying \"let agents ask\" to main for this launch; reattaches a section terminal without asking or changing trust; spawns with today's default when the prompt is released without an answer. src/renderer/src/components/terminal-pane/pty-connection/host-ownership/pty-connection-ssh-hook-status-authority.spec.ts: leaves SSH IPC OSC 9999 status ownership in the main runtime. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-completion-and-notification.test.ts: ordinary registration cleanup removes only import { registerPtyConnectionSshHookStatusAuthorityTests } from '../host-ownership/pty-connection-ssh-hook-status-authority.spec'; registerPtyConnectionSshHookStatusAuthorityTests(). Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Historical prior account (preserved verbatim): Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-spawn-intent.test.ts: declares the intent only when the spawn resumes an agent; reports a deferral to the pane instead of an error toast. src/renderer/src/components/terminal-pane/pty-connection/startup/in-place-resume-hold.test.ts: owns the record while the start runs, through a nested start, and releases on settle; holds nothing for a start not resuming a record, or once the pane is disposed. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Historical prior account (preserved verbatim): Audit1939 (sources1934/1935): The existing directory-level pnpm test selector includes eleven changed source files and automatically omits the three whole deletions. Keep this nonempty discovery command unchanged; no dated receipt uses this broad path. Removed agent admission fields, mock transport routing and terminal-id projection alarms are lost. Retained foreground state, actual headless xterm, redraw, abort/rebind reader and bridge claim progression remain scoped to their unchanged callbacks. No current-source execution, independent replacement, native transport or physical provider result is assigned. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Pass snapshot sequence and proven zero keyboard flags through real IPC transport projection. Deliver snapshot-covered and newer output before reattach resolves; drain replay parse callbacks and require one startup marker and the newer output. Repeat with no sequence and blank snapshot to retain unproven bytes. In Electron select a prestarted workspace, type a generated marker and compare PID and stable terminal identities before and after.", - "commands": [ - "pnpm test src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts", - "pnpm test src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts", - "pnpm test src/renderer/src/components/terminal-pane/pty-connection src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport", - "pnpm test src/shared/terminal/protocol/escape/terminal-synchronized-output-socket-splits.test.ts" - ], - "testFiles": [ - "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts" - ], - "assertionRefs": [ - { - "file": "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts", - "assertions": [ - "startup output covered by the snapshot is painted once", - "new output remains visible", - "legacy unsequenced and blank snapshots retain bytes" - ] - } - ], - "evidenceRuns": [ - { - "date": "2026-11-04", - "runner": "local", - "platform": "linux", - "command": "pnpm --config.verifyDepsBeforeRun=false test src/renderer/src/components/terminal-pane/pty-connection/foreground-output-scan.test.ts --maxWorkers=2", - "result": "passed", - "durationSeconds": 2.31, - "summary": "Test Files 1 passed (1); Tests 3 passed (3). Source head 8880357cb420c45f1b808ae545a5bc609324624d. Focused retained foreground-output scan only, not all directory-selected gate cases or live provider behavior. Node24.22.0 with ORCA_BACKGROUND_LAUNCH=1 and an isolated Xvfb display.", - "currentCommand": "pnpm test src/shared/terminal/protocol/escape/terminal-synchronized-output-socket-splits.test.ts" - } - ], + "oracle": "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3086: the transport filename selector loses IPC suspension/input/reattach cases and the entire spawn-errors suite. Unique classification, ownership, fallback retirement, reply-limit, write-failure and teardown-branch alarms are intentionally retired without replacement. Remaining registrations are unchanged; no fresh execution or real provider result is claimed. Audit2694 source-only review: Remove14 authored/14 expanded cases in the renderer completion wrapper family, including the complete bell/query-reply/stale-input factory, without replacement. Retain29 authored/34 expanded cases with unchanged callback bodies. Three removals are the existing pending2203 overlap and must be adopted/count-reconciled once; eleven are fresh removals. No current-source runtime or gate execution is supplied by this packet; dated evidence retains its original source scope and does not validate the reduced factory bytes. No equivalent replacement, physical provider, mixed-version, mobile, rendered UI, cross-platform, soak or measured-performance result is claimed. The retained directory-level discovery command continues to discover the reduced family; historical wrapper mentions are not fresh import-closure or execution evidence. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2065 (sources2063/2064): Intentionally retire these low-value alarms without replacement: src/renderer/src/components/terminal-pane/pty-connection/startup/pty-connection-startup-cwd-fallback-notice.spec.ts: prints a terminal notice when the startup cwd fell back to the workspace root. src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-pi-coalesce.test.ts: surfaces working frames when many spinner frames arrive in one chunk. src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-pi-spinner.test.ts: surfaces normalized working and idle labels across a spinner cycle; surfaces working even when a single chunk contains multiple spinner frames. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts: ordinary registration cleanup removes only import { registerPtyConnectionStartupCwdFallbackNoticeTests } from '../startup/pty-connection-startup-cwd-fallback-notice.spec'; registerPtyConnectionStartupCwdFallbackNoticeTests(). Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2061 (sources2059/2060): Intentionally retire these low-value alarms without replacement: src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-agent-trust-hold.test.ts: spawns only after the answer, carrying \"let agents ask\" to main for this launch; reattaches a section terminal without asking or changing trust; spawns with today's default when the prompt is released without an answer. src/renderer/src/components/terminal-pane/pty-connection/host-ownership/pty-connection-ssh-hook-status-authority.spec.ts: leaves SSH IPC OSC 9999 status ownership in the main runtime. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-completion-and-notification.test.ts: ordinary registration cleanup removes only import { registerPtyConnectionSshHookStatusAuthorityTests } from '../host-ownership/pty-connection-ssh-hook-status-authority.spec'; registerPtyConnectionSshHookStatusAuthorityTests(). Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Historical prior account (preserved verbatim): Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-spawn-intent.test.ts: declares the intent only when the spawn resumes an agent; reports a deferral to the pane instead of an error toast. src/renderer/src/components/terminal-pane/pty-connection/startup/in-place-resume-hold.test.ts: owns the record while the start runs, through a nested start, and releases on settle; holds nothing for a start not resuming a record, or once the pane is disposed. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Historical prior account (preserved verbatim): Audit1939 (sources1934/1935): The existing directory-level pnpm test selector includes eleven changed source files and automatically omits the three whole deletions. Keep this nonempty discovery command unchanged; no dated receipt uses this broad path. Removed agent admission fields, mock transport routing and terminal-id projection alarms are lost. Retained foreground state, actual headless xterm, redraw, abort/rebind reader and bridge claim progression remain scoped to their unchanged callbacks. No current-source execution, independent replacement, native transport or physical provider result is assigned. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Pass snapshot sequence and proven zero keyboard flags through real IPC transport projection. Deliver snapshot-covered and newer output before reattach resolves; drain replay parse callbacks and require one startup marker and the newer output. Repeat with no sequence and blank snapshot to retain unproven bytes. In Electron select a prestarted workspace, type a generated marker and compare PID and stable terminal identities before and after.", + "commands": [], + "testFiles": [], + "assertionRefs": [], + "evidenceRuns": [], "runtimeBudget": { "p95Seconds": 15, "scope": "Historical pre-audit selector budget; changed selectors have no new runtime measurement. Unchanged receipts remain scoped to their own commands." @@ -2235,6 +2143,9 @@ "Exercise live SSH and paired-runtime snapshot adoption before claiming full provider coverage." ], "knownGaps": [ + "NEXT65 current scope qualification: The NEXT65 knownGaps entries below govern the changed selectors and qualify any broader coverage implication in this gate’s unchanged oracle/coverageNotes narratives. Those narratives and preserved dated evidenceRuns retain their historical text and original exact execution scopes only; no fresh execution, transferred pass or equivalent replacement coverage is claimed. Upstream case removals remain upstream; original NEXT65 proposal descriptions grant no duplicate retirement credit.", + "NEXT65 active selector scope reduction (including directory-selected whole-file retirements): src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts. Remove complete registrations or registrar files within the selected scope for src/renderer/src/components/terminal-pane/pty-connection/emulation/pty-connection-mode-2031-subscriptions.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/geometry/pty-connection-visibility-resume-size.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/geometry/remote-reconnect-unimaged-pane-redraw.test.ts, src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-restore-fit-overflow.test.ts, src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-restore-flood-abandon.test.ts, src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-restore-unhide-repaint-fallback.test.ts, src/renderer/src/components/terminal-pane/pty-connection/output-restore/remote-hidden-output-restore-outcomes.test.ts, src/renderer/src/components/terminal-pane/pty-connection/reattach/pty-connection-daemon-snapshot-replay.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/reattach/pty-connection-stale-daemon-snapshot-replay.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/spawn/pty-connection-split-spawn.spec.ts. Intentionally lose these named regression alarms without replacement: catches a subscribed pane up once per mode change across repeated reconnects — Mode2031 theme reporting catch-up/deduplication across repeated reconnects loses this direct protocol example.; defers to the viewer holding the grid, then catches up once on release — Held-grid viewer deferral and one catch-up/current-mode resending on release lose this direct protocol example.; repairs grid drift with a trailing probe when output stops inside the settled interval — A trailing drift probe after the last output frame loses this direct alarm.; skips foreground grid drift repair while mobile owns the PTY without a fit override — Mobile driver ownership suppressing foreground drift repair without override loses this direct alarm.; reports desktop geometry without resizing while a mobile-fit override is active — Desktop geometry reporting without resizing a mobile-owned grid loses this direct alarm.; defers a remote-desktop viewport claim until structural replay completes — Remote-desktop viewport claim waiting for structural replay completion loses this direct alarm.; skips observed desktop reassertion while mobile owns the PTY without a fit override — Observed desktop reassertion suppression under mobile ownership loses this direct alarm.; queues re-asserted resizes while pane resize holds are active — Resize hold release flushing the latest reasserted grid loses this direct alarm.; reasserts a remote grid only when visible (%s) — Visible-only remote grid reassertion loses its visible and hidden examples.; claims a focused visible remote mirror once when its passive fit hold arrives — Focused visible passive mirror claiming once, with unfocused and late repeat suppression, loses this direct sequence alarm.; does NOT re-assert while a mobile-fit override parks the PTY at phone dims — Phone fit hold suppressing visibility-resume PTY reassertion loses this direct alarm.; does NOT forward when the pane is hidden again before getSize resolves (stale hop) — Late size lookup after re-hide refusing a hidden-tab SIGWINCH loses this direct adverse-ordering alarm.; holds the repaint for a hidden pane until it is revealed — Unimaged hidden pane deferring one-row repaint until reveal loses this direct alarm.; puts the row back once the host confirms the short grid, not when the client sent it — Short-grid host confirmation gating row restoration loses this direct alarm.; does not take the size back from a viewer that claimed it mid-repaint — A viewer claiming geometry mid-repaint preventing old-size restoration loses this direct alarm.; leaves a swapped-out PTY alone when its nudge is still pending — Swapped-out PTY avoiding a pending repaint nudge loses this direct alarm.; puts the row back when the pane unmounts mid-repaint — Unmount during repaint restoring the nudged row loses this direct alarm.; recovers $name live output when the deadline interrupts an answered snapshot — Answered-snapshot deadline interruption under overflow/small/partial/split-escape/styled/styled-gap/unmapped/unhide-gap/fresh-gap live output loses nine direct recovery examples.; [invariant] reconciles the retained bytes through the deferred post-flood repaint — Queue-overflow quiet abandonment later reconciling retained bytes or disclosing loss loses this direct invariant alarm.; [invariant] keeps recovery armed while the user reads scrollback — Recovery remaining armed during scrollback reading/background stint then following output loses this direct invariant alarm.; [invariant] reconciles the retained bytes after the iteration backstop fires — Iteration-cap quiet abandonment owing later reconciliation/disclosure loses this direct invariant alarm.; does not leave a parked repaint after a repeated episode is repaired — Repeated repaired episode not leaving a parked repaint loses this direct alarm.; keeps the deferred repaint when pending live bytes overflow before the snapshot drains — Pending-live overflow before snapshot drain preserving deferred repaint loses this direct alarm.; keeps the existing repaint behavior for a pending-cap marker — Pending-cap marker preserving deferred repaint behavior loses this direct alarm.; fetches a fresh snapshot when hidden bytes arrived during the first fetch — Bytes arriving hidden during fetch forcing a fresh snapshot loses this direct alarm.; keeps recovery pending after the first snapshot is %s — Rejected/unavailable first capture preserving pending recovery until retry and acknowledgement loses two direct examples.; [modern] repaints a recovered visible pane from the retained host buffer — Visible modern recovery repaint from the retained host snapshot loses this direct example.; [modern] accepts an empty snapshot as successful recovery without a loss banner — Empty modern snapshots counting as successful recovery without loss disclosure loses this direct example.; [modern] waits for a reported outcome instead of applying the old elapsed-time deadline — Modern pending recovery respecting reported outcomes beyond the old elapsed deadline loses this direct example.; [modern] banners on the seventh retry-worthy host answer and never sends an eighth request — Seventh retry-worthy answer causing disclosure and suppression of an eighth request loses this direct example.; [modern] does not spend the host answer budget on locally-gated retries — Locally-gated answers leaving the host-answer budget available loses this direct example.; [modern] still bounds locally-gated retries at their own cap — Repeated local gating eventually ending recovery and disclosing loss loses this direct example.; [modern] banners immediately on permanent unavailability without retrying — Permanent host unavailability immediately disclosing loss without retry loses this direct example.; [modern] cancels a live flood repaint when it declares the output unrecoverable — Unrecoverable declaration cancelling a later flood repaint loses this direct example.; [legacy] switches an explicit unknown-host answer to the existing four-request heuristic — Explicit unknown-host result switching to legacy recovery heuristic loses this direct example.; [modern] parks retry repaint while scrolled back and resumes when following output — Scrolled-back recovery parking until follow-output resumes loses this direct example.; clears the captured pen for a normal-buffer fallback reattach — Fallback normal-buffer reattach clearing captured pen and dirty background loses this direct example.; waits for a recovered destination fit before forwarding its grid or live output — Recovered destination fitting before forwarding grid or live output loses this direct example.; suppresses the deferred reattach grid push when mobile claims the PTY while hidden — Mobile takeover while hidden suppressing deferred reattach grid forwarding loses this direct example.; drops stale callbacks but delivers fresh replacement output after an old replay clear — Fresh replacement output winning over stale callbacks after old replay clear loses this direct example.; clears the mobile-fit pane binding when the pane connection is disposed — Pane dispose clearing the mobile-fit binding and PTY dataset loses this direct example.; continues post-spawn size reconcile after a transient mobile presence lock — Size reconciliation continuing after a transient phone-presence lock loses this direct example.; spawns the delayed primary pane of an issue-command split when its sibling owns the tab PTY fallback — Delayed primary split spawning independently after a sibling acquires tab fallback loses this direct example.; does not reuse a sibling split pane pending spawn after remount — Remounted primary adopting its own pending PTY rather than the sibling spawn loses this direct example.; replays a stable-pane adoption without submitting the resume command — Stable-pane adoption replay preserving replay-before-live ordering and suppressing resume command loses this direct example.; forwards focus and hover reports without claiming a parked mirror (#26469) — Passive focus/hover forwarding without stealing mirror ownership, then intended Ctrl+C/click claiming, loses this direct example.. Surviving parent statements and sibling registrations are preserved, but these reduced parent selectors have no fresh execution or transferred historical pass. Unrelated complete dated receipts retain only their original exact scopes; no equivalent replacement, rendered UI, provider, mobile, or cross-platform coverage is claimed.", + "NEXT65 historical original active parent-selector fields (verbatim native JSON values; not current coverage):\ncommands: [\n \"pnpm test src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"pnpm test src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts\",\n \"pnpm test src/renderer/src/components/terminal-pane/pty-connection src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport\",\n \"pnpm test src/shared/terminal/protocol/escape/terminal-synchronized-output-socket-splits.test.ts\"\n ]\ntestFiles: [\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"assertions\": [\n \"startup output covered by the snapshot is painted once\",\n \"new output remains visible\",\n \"legacy unsequenced and blank snapshots retain bytes\"\n ]\n }\n ]", "Audit3077 retires the IPC zero/nonzero snapshot-sequence and zero-keyboard-proof examples and their direct selectors. The retained join projects only sequence 7 and flags 3. No equivalent replacement or fresh gate execution is claimed.", "Audit3069 retires nominal spawn/resume/banner wiring, first-fit and lookup-budget variants, private pending-map checks, the split-CWD disposal suite and startup command/draft baseline variants. Distinct regression alarms are intentionally lost without equivalent replacement; retained ownership, cancellation and recovery cases remain. Existing selectors and dated evidence retain their original scope.", "Audit3061 retires the park-model supplied snapshot suite and nominal mode, cursor, focus, geometry and remote resume metadata variants. Their distinct alarms are intentionally lost; six retained mode/remote cases preserve selected tail-order, authority and parse-readiness boundaries without equivalent replacement. Existing selectors and dated evidence retain their original scope.", @@ -2261,7 +2172,9 @@ "Audit1939 (sources1934/1935): The existing directory-level pnpm test selector includes eleven changed source files and automatically omits the three whole deletions. Keep this nonempty discovery command unchanged; no dated receipt uses this broad path. Removed agent admission fields, mock transport routing and terminal-id projection alarms are lost. Retained foreground state, actual headless xterm, redraw, abort/rebind reader and bridge claim progression remain scoped to their unchanged callbacks. No current-source execution, independent replacement, native transport or physical provider result is assigned. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Exact retired authored alarms: 'bounds a startup title storm to one extra read ladder and never adopts the title as identity'; 'leaves untrackable providers free of client process scans'; 'keeps a legacy remote process hint unverifiable after a startup title'; 'releases a retained capability when disposed mid-read'; 'releases a retained capability when an exit schedules no successor read'; 'releases a retained capability when an untrackable $exit ends the read'; 'does not release when the cancelled read has a successor'; 'settles the visible confirmation when the pty id is gone before the read runs'; 'reports a read in flight when a command-finished read owns the pane'; 'reads the foreground once after a command starts and publishes the recognized agent'; 'does not replace known foreground identity with typed command inference'; 'revokes stale routing immediately while a known pane confirms a new command'; 'reads the foreground for a visible PTY so restored running Codex panes regain identity'; 'does not retry or publish visible PTY reads for an idle shell foreground'; 'retries visible PTY reads only while a foreground wrapper may resolve to an agent'; 'stops after the ladder and publishes no identity for a persistent unknown process'; 'does not treat a nested shell seen mid-command as prompt proof'; 'recognizes an agent started from a nested shell on a ladder re-read'; 'marks shell foreground on command finished without any foreground read'; 'trusts a rapid ordinary command finish without forcing a fresh scan'; 'still marks shell without a read for a duplicate D pair on an idle pane'; 'marks shell on a rapid command start->finish when the foreground is a shell'; 'marks shell foreground when the confirming read shows the agent is gone'; 'confirms a command finished for a launch-known agent pane before any read'; 'accepts a fresh shell result for a launch-known Droid pane'; 'marks a confirmed shell without repeating a post-boundary scan'; 'never reads or publishes for remote or ssh panes'; 'does not let forged OSC 133/777 output assert remote identity'; 'keeps command-only pane inference bounded for large pasted scripts'; 'skips jcode colors for command-only startup %s'; 'keeps explicit pane ownership ahead of a delayed command hint'; 'does not infer a TUI from %s'; 'survives a launch config registered before its identity lands'; 'prefers the tab launch agent over every later signal'; 'falls back through startup, then initial status, then the registered config'; 'ignores a registered agent name that is not a known TUI agent'; 'skips the OSC color answer for jcode and no one else'; 'drops a Done that landed before the command-finished fact'; 'keeps a program Done reported before the command-finished fact'; 'dismisses the kept result when the next command starts'; 'keeps a facet-less OSC Done from a non-agent program'; 'still drops a real agent Done'; 'still drops an interrupted program Done'; 'retires a hook-identified row the foreground tracker never read'; 'leaves a pane with an armed command-finished drop to its own confirming read'; 'leaves a remote pane to its execution host'; 'keeps the row when the host can verify the owner process itself'; 'keeps a row that belongs to a different agent'; 'does not watch the store for an owner it can never name'; 'control: a fresh host image repaints the pane without resizing the program'; 'asks the program to repaint when the image is %s'; 'asks the program to repaint when the host never answers the snapshot request'; 'repaints a full-screen TUI on the alternate screen the same way'; 'leaves the size alone while a phone or another desktop holds it'; 'grows a pane at the host minimum height instead of asking for the same clamped size'; 'does not nudge while the stream is still reconnecting'; 'mounts and remounts the tab owner while an unrelated workspace is active (%s)'; 'continues a recorded live folder owner despite ambiguous inventory (%s)'; 'resolves an encoded split surface using its parent tab and active leaf'; 'does not capture a remote revision for a local terminal'; 'omits incarnation and length for older runtime responses'; 'refuses %s owner before RPC'; 'refuses a resolved terminal belonging to another native PTY'; 'refuses a foreign remote terminal handle despite a matching native PTY ID'; 'refuses a remote handle owned by another environment'; 'refuses a remote terminal with no live native PTY'; 'does not fall back locally when remote lacks RPC'; 'rejects malformed or oversized encoded response %#'; 'maps a unified terminal tab id to its legacy owner id'; 'keeps non-terminal and unknown ids unchanged'; 'keeps an exact terminal owner ahead of a stale unified alias'; 'stays inert on a host that was not kept for the bridge'; 'stays inert for a pane main does not list, so it still dials the host'.", "Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-spawn-intent.test.ts: declares the intent only when the spawn resumes an agent; reports a deferral to the pane instead of an error toast. src/renderer/src/components/terminal-pane/pty-connection/startup/in-place-resume-hold.test.ts: owns the record while the start runs, through a nested start, and releases on settle; holds nothing for a start not resuming a record, or once the pane is disposed. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed.", "Audit2061 (sources2059/2060): Intentionally retire these low-value alarms without replacement: src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-agent-trust-hold.test.ts: spawns only after the answer, carrying \"let agents ask\" to main for this launch; reattaches a section terminal without asking or changing trust; spawns with today's default when the prompt is released without an answer. src/renderer/src/components/terminal-pane/pty-connection/host-ownership/pty-connection-ssh-hook-status-authority.spec.ts: leaves SSH IPC OSC 9999 status ownership in the main runtime. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-completion-and-notification.test.ts: ordinary registration cleanup removes only import { registerPtyConnectionSshHookStatusAuthorityTests } from '../host-ownership/pty-connection-ssh-hook-status-authority.spec'; registerPtyConnectionSshHookStatusAuthorityTests(). Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed.", - "Audit3086: the transport filename selector loses IPC suspension/input/reattach cases and the entire spawn-errors suite. Unique classification, ownership, fallback retirement, reply-limit, write-failure and teardown-branch alarms are intentionally retired without replacement. Remaining registrations are unchanged; no fresh execution or real provider result is claimed." + "Audit3086: the transport filename selector loses IPC suspension/input/reattach cases and the entire spawn-errors suite. Unique classification, ownership, fallback retirement, reply-limit, write-failure and teardown-branch alarms are intentionally retired without replacement. Remaining registrations are unchanged; no fresh execution or real provider result is claimed.", + "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed.\nOriginal active selector fields (historical raw native JSON values; not current coverage):\ncommands: [\n \"pnpm test src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"pnpm test src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts\",\n \"pnpm test src/renderer/src/components/terminal-pane/pty-connection src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport\",\n \"pnpm test src/shared/terminal/protocol/escape/terminal-synchronized-output-socket-splits.test.ts\"\n ]\ntestFiles: [\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"assertions\": [\n \"startup output covered by the snapshot is painted once\",\n \"new output remains visible\",\n \"legacy unsequenced and blank snapshots retain bytes\"\n ]\n }\n ]", + "Audit3392 validation correction: no remaining directly selected suite protects prestarted snapshot adoption; protection is none. Remaining broad scan commands do not establish this invariant. Retired gate status, covered scope, commands and complete dated receipt follow as historical raw values:\nprotection: \"partial\"\ncommands: [\n \"pnpm test src/renderer/src/components/terminal-pane/pty-connection src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport\",\n \"pnpm test src/shared/terminal/protocol/escape/terminal-synchronized-output-socket-splits.test.ts\"\n ]\ncoveredPlatforms: [\"linux\"]\ncoveredProviders: []\nevidenceRuns: [\n {\n \"date\": \"2026-11-04\",\n \"runner\": \"local\",\n \"platform\": \"linux\",\n \"command\": \"pnpm --config.verifyDepsBeforeRun=false test src/renderer/src/components/terminal-pane/pty-connection/foreground-output-scan.test.ts --maxWorkers=2\",\n \"result\": \"passed\",\n \"durationSeconds\": 2.31,\n \"summary\": \"Test Files 1 passed (1); Tests 3 passed (3). Source head 8880357cb420c45f1b808ae545a5bc609324624d. Focused retained foreground-output scan only, not all directory-selected gate cases or live provider behavior. Node24.22.0 with ORCA_BACKGROUND_LAUNCH=1 and an isolated Xvfb display.\",\n \"currentCommand\": \"pnpm test src/shared/terminal/protocol/escape/terminal-synchronized-output-socket-splits.test.ts\"\n }\n ]" ], "demotionRule": "Keep experimental or demote if adoption duplicates covered output, drops newer or unproven output, changes terminal ownership, or flakes without explanation." }, @@ -2377,35 +2290,31 @@ "providers": ["local", "ssh", "remote-runtime"], "coveredPlatforms": ["macos"], "coveredProviders": [], - "coverageNotes": "Audit2729 reduces browser-page-palette-activation.test.ts: separate SSH/paired-runtime alias forwarding, distinct multigroup views accepted, and remote-folder activation forwarding alarms are removed. Collision refusal, preactivation address-bar focus capture, owning-group activation state and missing-tab refusal remain byte-identical. No equivalent replacement, fresh gate execution or actual host/browser delivery evidence is claimed. Prior coverage account: Audit2697 browser source review (metadata followup2702): Reduce src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts by four authored/expanded cases without replacement. The remaining three cases preserve only their existing same-ID execution-host separation, absent stamped-owner refusal and ambiguous legacy-bucket refusal scope. Intentionally lose duplicate backing-tab-ID suppression, multiple unified-browser claims of one workspace, foreign-worktree unified-tab rejection, and the 1000-workspace output/internal getter-read budget alarm. These are real removed alarms; the retained host cases are not equivalent replacements. Current test-value policy rejects internal getter/read budgets; no replacement performance or measured-cost claim is made. Keep existing nonempty selectors and the retained same-ID browser assertionRef. No fresh gate execution or reduced-source validation is supplied; dated receipts, results, commands and historical coverage accounts remain within their original source scope. No live browser activation, physical provider, mixed-version execution, mobile, native UI, platform hardware, soak or timing result is added. Prior coverage account (preserved verbatim): Audit2266 reduces cmd-j-host-qualified-candidate-ownership.test.ts to the scoped open-tab hidden same-ID legacy ambiguity refusal. Separate browser/simulator paired-runtime alias and current-row projections, generic workspace host projection and hostless explicit-owner refusal examples are removed without equivalent replacement. No fresh gate execution, browser activation, physical host, simulator or remote delivery evidence is claimed. Historical dated receipts and budgets remain raw-byte exact. Prior coverage account: Audit1899 replays sealed Audit1895: workspace-session-schema.test.ts keeps only cross-workspace truncated-tab salvage and legacy browser-history cap normalization. Four current commands and testFiles retain that reduced source; no current assertionRef or active receipt selects it. SSH file-owner, isolated browser partition, launch/title/quick-command fields, recency, structured-chat/view-mode and remote browser identity hydration alarms are intentionally lost. Existing retired receipt strings and unrelated active receipts remain verbatim. No equivalent replacement, new Cmd-J gate execution, native simulator or remote/browser restore proof is claimed. Historical coverage account before Audit1899: Audit1494 removes use-open-tab-search.test.ts. Supplied host/worktree/title/ranking projections, simple subscription updates and result-array identity alarms are retired. No actual activation or navigation occurred in that suite. No equivalent replacement coverage or fresh Cmd-J gate validation is claimed. Historical receipts remain scoped to their original selectors. Audit1433 narrows worktree-checks-review-index.test.ts to same-ID local/SSH object-key review isolation. Local provider/cache lookup, GitLab preference, suppression/legacy fallback, explicit-PR authority, physical-versus-runtime review isolation, and branchless-workspace alarms are intentionally removed. No equivalent replacement coverage is claimed. Historical receipts and commands remain unchanged and do not certify the reduced source. Historical coverage account: Audit1396 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1308 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic candidate-builder contracts inject local and paired-runtime worktrees with the same bare id into the real aggregated tab buckets, including folder workspaces and a paired runtime transporting an SSH-owned worktree. A mirror contract preserves distinct same-id runtime tabs. A paired Electron journey verifies both visible browser rows and both visible simulator rows, then requires each selection to render its owning active tab and update backing host-qualified state. The test-value audit narrowed simulator-palette-search.test.ts to the recency tie, same-id host isolation, ambiguous legacy host rejection and oversized-input getter tripwire. Supplied timestamp, empty-query context ordering, host projection, alias/range, metadata matching, active-tab score, over-token/whitespace and malformed display-name fallback examples were removed. Their separate alarms are lost; retained candidate and activation contracts do not establish equivalent coverage. Historical run commands and results remain historical. The audit also removed the standalone workspace-tab-palette-search suite: supplied row, title, metadata, alias, range, ranking and ownership examples no longer provide their separate alarms. Other retained contracts are not replacement coverage. The mirror-identity fixture now retains same-id sibling-runtime isolation and the repeated-frame subscriber tripwire only. Supplied field, owner, alias and mapping examples are removed; their separate alarms are lost. The retained sibling-runtime case is not equivalent coverage for them. The test-value audit removed tabs-open-close-lifecycle host-stamping examples and ordinary tab/group operations from tabs-pane-layout-operations. Local-null, explicit-runtime and SSH-without-active-host stamp assertions are lost; retained mobile/MRU and subscriber/atomic split cases do not replace them. Candidate and live Cmd-J evidence retains its own scope. Historical commands, outcomes and narratives remain historical. Audit1308: src/renderer/src/lib/browser-palette-search.test.ts removed. Browser-palette token and pasted-query size-guard work alarms disappear. No equivalent replacement coverage is claimed. Audit1386: src/renderer/src/lib/open-mobile-emulator-tab.test.ts reduced. Duplicate attach count and null-tab creation retry/guard reset standalone alarms removed; no simulator device used. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1396: src/renderer/src/lib/simulator-palette-search.test.ts reduced. Lose simulator-specific lastFocusedAt tie-order alarm; identity/routing and pre-scan size fence remain. No native simulator or real remote launch claim. No equivalent replacement coverage is claimed. Audit1402: src/renderer/src/runtime/web-session-tabs-sync-mirror-identity.test.ts reduced. Loses repeated no-op frame store-notification budget; independent cross-runtime resource preservation remains. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", + "coverageNotes": "Audit3381 intentionally removes the entire Cmd-J host-qualified candidate-ownership suite and its active selectors/assertion. The hidden same-id sibling ambiguity regression alarm is lost without replacement. The complete original dated failed receipt below is retired verbatim, including both command and currentCommand, rather than reassigned as validation of remaining selectors. Other complete receipts retain their exact original scopes; remaining browser/simulator/workspace/e2e selectors do not imply equivalent ownership protection. No fresh execution is claimed. Audit3359 retires the whole ensure-simulator-tab-behavior suite: host-collision reuse, host stamping, inactive creation and unknown-owner routing alarms are intentionally lost without equivalent replacement. Its standalone command is removed and four compound commands narrowed. Three complete dated receipts selecting that source through currentCommand are retired verbatim, including their compound historical selectors; no retained test inherits their validation. Seven unrelated macOS receipts retain their original scope. No fresh runtime/UI, simulator, provider, historical-import, mobile, mixed-version or cross-platform validation is claimed. Audit 3301 removes the orphaned mobile file-close fallback and ordinary cross-content MRU examples from tabs-open-close-lifecycle.test.ts. Earlier descriptions of retained MRU coverage are historical. The integrated mobile markdown close/frame-settlement case remains unchanged and is narrower. Preserve the existing administrative failed receipt and all complete retired receipts verbatim, along with selectors and unrelated assertions; no equivalent replacement or fresh Cmd-J, native or remote result is claimed. Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims. Audit2729 reduces browser-page-palette-activation.test.ts: separate SSH/paired-runtime alias forwarding, distinct multigroup views accepted, and remote-folder activation forwarding alarms are removed. Collision refusal, preactivation address-bar focus capture, owning-group activation state and missing-tab refusal remain byte-identical. No equivalent replacement, fresh gate execution or actual host/browser delivery evidence is claimed. Prior coverage account: Audit2697 browser source review (metadata followup2702): Reduce src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts by four authored/expanded cases without replacement. The remaining three cases preserve only their existing same-ID execution-host separation, absent stamped-owner refusal and ambiguous legacy-bucket refusal scope. Intentionally lose duplicate backing-tab-ID suppression, multiple unified-browser claims of one workspace, foreign-worktree unified-tab rejection, and the 1000-workspace output/internal getter-read budget alarm. These are real removed alarms; the retained host cases are not equivalent replacements. Current test-value policy rejects internal getter/read budgets; no replacement performance or measured-cost claim is made. Keep existing nonempty selectors and the retained same-ID browser assertionRef. No fresh gate execution or reduced-source validation is supplied; dated receipts, results, commands and historical coverage accounts remain within their original source scope. No live browser activation, physical provider, mixed-version execution, mobile, native UI, platform hardware, soak or timing result is added. Prior coverage account (preserved verbatim): Audit2266 reduces cmd-j-host-qualified-candidate-ownership.test.ts to the scoped open-tab hidden same-ID legacy ambiguity refusal. Separate browser/simulator paired-runtime alias and current-row projections, generic workspace host projection and hostless explicit-owner refusal examples are removed without equivalent replacement. No fresh gate execution, browser activation, physical host, simulator or remote delivery evidence is claimed. Historical dated receipts and budgets remain raw-byte exact. Prior coverage account: Audit1899 replays sealed Audit1895: workspace-session-schema.test.ts keeps only cross-workspace truncated-tab salvage and legacy browser-history cap normalization. Four current commands and testFiles retain that reduced source; no current assertionRef or active receipt selects it. SSH file-owner, isolated browser partition, launch/title/quick-command fields, recency, structured-chat/view-mode and remote browser identity hydration alarms are intentionally lost. Existing retired receipt strings and unrelated active receipts remain verbatim. No equivalent replacement, new Cmd-J gate execution, native simulator or remote/browser restore proof is claimed. Historical coverage account before Audit1899: Audit1494 removes use-open-tab-search.test.ts. Supplied host/worktree/title/ranking projections, simple subscription updates and result-array identity alarms are retired. No actual activation or navigation occurred in that suite. No equivalent replacement coverage or fresh Cmd-J gate validation is claimed. Historical receipts remain scoped to their original selectors. Audit1433 narrows worktree-checks-review-index.test.ts to same-ID local/SSH object-key review isolation. Local provider/cache lookup, GitLab preference, suppression/legacy fallback, explicit-PR authority, physical-versus-runtime review isolation, and branchless-workspace alarms are intentionally removed. No equivalent replacement coverage is claimed. Historical receipts and commands remain unchanged and do not certify the reduced source. Historical coverage account: Audit1396 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1308 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic candidate-builder contracts inject local and paired-runtime worktrees with the same bare id into the real aggregated tab buckets, including folder workspaces and a paired runtime transporting an SSH-owned worktree. A mirror contract preserves distinct same-id runtime tabs. A paired Electron journey verifies both visible browser rows and both visible simulator rows, then requires each selection to render its owning active tab and update backing host-qualified state. The test-value audit narrowed simulator-palette-search.test.ts to the recency tie, same-id host isolation, ambiguous legacy host rejection and oversized-input getter tripwire. Supplied timestamp, empty-query context ordering, host projection, alias/range, metadata matching, active-tab score, over-token/whitespace and malformed display-name fallback examples were removed. Their separate alarms are lost; retained candidate and activation contracts do not establish equivalent coverage. Historical run commands and results remain historical. The audit also removed the standalone workspace-tab-palette-search suite: supplied row, title, metadata, alias, range, ranking and ownership examples no longer provide their separate alarms. Other retained contracts are not replacement coverage. The mirror-identity fixture now retains same-id sibling-runtime isolation and the repeated-frame subscriber tripwire only. Supplied field, owner, alias and mapping examples are removed; their separate alarms are lost. The retained sibling-runtime case is not equivalent coverage for them. The test-value audit removed tabs-open-close-lifecycle host-stamping examples and ordinary tab/group operations from tabs-pane-layout-operations. Local-null, explicit-runtime and SSH-without-active-host stamp assertions are lost; retained mobile/MRU and subscriber/atomic split cases do not replace them. Candidate and live Cmd-J evidence retains its own scope. Historical commands, outcomes and narratives remain historical. Audit1308: src/renderer/src/lib/browser-palette-search.test.ts removed. Browser-palette token and pasted-query size-guard work alarms disappear. No equivalent replacement coverage is claimed. Audit1386: src/renderer/src/lib/open-mobile-emulator-tab.test.ts reduced. Duplicate attach count and null-tab creation retry/guard reset standalone alarms removed; no simulator device used. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1396: src/renderer/src/lib/simulator-palette-search.test.ts reduced. Lose simulator-specific lastFocusedAt tie-order alarm; identity/routing and pre-scan size fence remain. No native simulator or real remote launch claim. No equivalent replacement coverage is claimed. Audit1402: src/renderer/src/runtime/web-session-tabs-sync-mirror-identity.test.ts reduced. Loses repeated no-op frame store-notification budget; independent cross-runtime resource preservation remains. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", "motivatingLinks": [ "https://linear.app/stably/issue/STA-4965", "https://github.com/stablyai/orca/pull/15371" ], "invariant": "Candidate identity is the tuple of execution-host identity and worktree identity: same-id sibling hosts retain separate correct browser, simulator, and workspace tabs, each tab appears exactly once, and selection activates its owning host.", - "oracle": "Audit2697 browser source review (metadata followup2702): Reduce src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts by four authored/expanded cases without replacement. The remaining three cases preserve only their existing same-ID execution-host separation, absent stamped-owner refusal and ambiguous legacy-bucket refusal scope. Intentionally lose duplicate backing-tab-ID suppression, multiple unified-browser claims of one workspace, foreign-worktree unified-tab rejection, and the 1000-workspace output/internal getter-read budget alarm. These are real removed alarms; the retained host cases are not equivalent replacements. Current test-value policy rejects internal getter/read budgets; no replacement performance or measured-cost claim is made. Keep existing nonempty selectors and the retained same-ID browser assertionRef. No fresh gate execution or reduced-source validation is supplied; dated receipts, results, commands and historical coverage accounts remain within their original source scope. No live browser activation, physical provider, mixed-version execution, mobile, native UI, platform hardware, soak or timing result is added. Prior coverage account (preserved verbatim): Audit2266 current retained source checks only that scoped open-tab search rejects hostless legacy browser, simulator and workspace tabs when a hidden same-ID sibling host remains in the ownership catalog. Reduced selectors require fresh validation; existing historical receipts do not validate the changed source. Prior oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Aggregate two hosts' tabs under one intentionally colliding worktree id, stamp each unified tab with its execution host, and require exactly one candidate per owner. Repeat with an SSH physical owner transported by a paired-runtime alias. Independently require each browser and simulator Cmd-J selection to update activeWorkspaceExecutionHostId plus its owning workspace/group and render the selected tab active. Ambiguous legacy tabs without ownership fail closed.", + "oracle": "Audit3381 intentionally removes the entire Cmd-J host-qualified candidate-ownership suite and its active selectors/assertion. The hidden same-id sibling ambiguity regression alarm is lost without replacement. The complete original dated failed receipt below is retired verbatim, including both command and currentCommand, rather than reassigned as validation of remaining selectors. Other complete receipts retain their exact original scopes; remaining browser/simulator/workspace/e2e selectors do not imply equivalent ownership protection. No fresh execution is claimed. Audit3359 retires the whole ensure-simulator-tab-behavior suite: host-collision reuse, host stamping, inactive creation and unknown-owner routing alarms are intentionally lost without equivalent replacement. Its standalone command is removed and four compound commands narrowed. Three complete dated receipts selecting that source through currentCommand are retired verbatim, including their compound historical selectors; no retained test inherits their validation. Seven unrelated macOS receipts retain their original scope. No fresh runtime/UI, simulator, provider, historical-import, mobile, mixed-version or cross-platform validation is claimed. Audit 3301 removes the orphaned mobile file-close fallback and ordinary cross-content MRU examples from tabs-open-close-lifecycle.test.ts. Earlier descriptions of retained MRU coverage are historical. The integrated mobile markdown close/frame-settlement case remains unchanged and is narrower. Preserve the existing administrative failed receipt and all complete retired receipts verbatim, along with selectors and unrelated assertions; no equivalent replacement or fresh Cmd-J, native or remote result is claimed. Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims. Audit2697 browser source review (metadata followup2702): Reduce src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts by four authored/expanded cases without replacement. The remaining three cases preserve only their existing same-ID execution-host separation, absent stamped-owner refusal and ambiguous legacy-bucket refusal scope. Intentionally lose duplicate backing-tab-ID suppression, multiple unified-browser claims of one workspace, foreign-worktree unified-tab rejection, and the 1000-workspace output/internal getter-read budget alarm. These are real removed alarms; the retained host cases are not equivalent replacements. Current test-value policy rejects internal getter/read budgets; no replacement performance or measured-cost claim is made. Keep existing nonempty selectors and the retained same-ID browser assertionRef. No fresh gate execution or reduced-source validation is supplied; dated receipts, results, commands and historical coverage accounts remain within their original source scope. No live browser activation, physical provider, mixed-version execution, mobile, native UI, platform hardware, soak or timing result is added. Prior coverage account (preserved verbatim): Audit2266 current retained source checks only that scoped open-tab search rejects hostless legacy browser, simulator and workspace tabs when a hidden same-ID sibling host remains in the ownership catalog. Reduced selectors require fresh validation; existing historical receipts do not validate the changed source. Prior oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Aggregate two hosts' tabs under one intentionally colliding worktree id, stamp each unified tab with its execution host, and require exactly one candidate per owner. Repeat with an SSH physical owner transported by a paired-runtime alias. Independently require each browser and simulator Cmd-J selection to update activeWorkspaceExecutionHostId plus its owning workspace/group and render the selected tab active. Ambiguous legacy tabs without ownership fail closed.", "commands": [ "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/cmd-j/worktree-checks-review-index.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/cmd-j-host-qualified-candidate-ownership.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts src/shared/workspace-session/workspace-session-schema.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/cmd-j-host-qualified-candidate-ownership.test.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/renderer/src/lib/browser/palette/browser-page-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/simulator-tab-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-mirror-identity.test.ts src/shared/workspace-session/workspace-session-schema.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/cmd-j/worktree-checks-review-index.test.ts src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx src/renderer/src/lib/cmd-j-host-qualified-candidate-ownership.test.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/renderer/src/lib/browser/palette/browser-page-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/simulator-tab-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-mirror-identity.test.ts src/shared/workspace-session/workspace-session-schema.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/cmd-j/worktree-checks-review-index.test.ts src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx src/renderer/src/lib/cmd-j-host-qualified-candidate-ownership.test.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/renderer/src/lib/browser/palette/browser-page-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/simulator-tab-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts src/renderer/src/lib/simulator/launch/open-mobile-emulator-tab.test.ts src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-mirror-identity.test.ts src/shared/workspace-session/workspace-session-schema.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/shared/workspace-session/workspace-session-schema.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/renderer/src/lib/browser/palette/browser-page-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/simulator-tab-palette-activation.test.ts src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-mirror-identity.test.ts src/shared/workspace-session/workspace-session-schema.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/cmd-j/worktree-checks-review-index.test.ts src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/renderer/src/lib/browser/palette/browser-page-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/simulator-tab-palette-activation.test.ts src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-mirror-identity.test.ts src/shared/workspace-session/workspace-session-schema.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/cmd-j/worktree-checks-review-index.test.ts src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/renderer/src/lib/browser/palette/browser-page-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/simulator-tab-palette-activation.test.ts src/renderer/src/lib/simulator/launch/open-mobile-emulator-tab.test.ts src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-mirror-identity.test.ts src/shared/workspace-session/workspace-session-schema.test.ts", "pnpm exec playwright test tests/e2e/paired-cmd-j-host-qualified-tabs.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1", "SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-cmd-j-host-qualified-tabs.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1" ], "testFiles": [ "src/renderer/src/components/cmd-j/worktree-checks-review-index.test.ts", "src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx", - "src/renderer/src/lib/cmd-j-host-qualified-candidate-ownership.test.ts", "src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts", "src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts", "src/renderer/src/lib/browser/palette/browser-page-palette-activation.test.ts", "src/renderer/src/lib/simulator/tabs/simulator-tab-palette-activation.test.ts", - "src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts", "src/renderer/src/lib/simulator/launch/open-mobile-emulator-tab.test.ts", "src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-mirror-identity.test.ts", "tests/e2e/paired-cmd-j-host-qualified-tabs.spec.ts", @@ -2416,21 +2325,6 @@ "file": "src/renderer/src/components/cmd-j/worktree-checks-review-index.test.ts", "assertions": ["same-id local and SSH worktrees keep separate review-index results"] }, - - { - "file": "src/renderer/src/lib/cmd-j-host-qualified-candidate-ownership.test.ts", - "assertions": [ - "scoped open-tab search keeps a hidden same-id sibling in the legacy ownership ambiguity set" - ] - }, - { - "file": "src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts", - "assertions": [ - "same-id folder simulator reuse selects the active owning host", - "inactive local simulator creation remains host-stamped amid a collision", - "an explicitly owned simulator is reused before its matching worktree row hydrates" - ] - }, { "file": "src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts", "assertions": [ @@ -2446,16 +2340,6 @@ } ], "evidenceRuns": [ - { - "date": "2026-08-20", - "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/cmd-j-host-qualified-candidate-ownership.test.ts src/renderer/src/store/slices/tabs-open-close-lifecycle.test.ts", - "result": "failed", - "durationSeconds": 1.8, - "summary": "The first review-round oracle failed 4/40: browser and simulator dropped the SSH worktree's paired-runtime-owned tab, generic workspace rows attributed the remote tab to local, and active local tab creation left ownership unstamped. Historical command and result are preserved after the test-value audit removed the tab-store assertions this run included. currentCommand is only an administrative link to the remaining gate command; the historical run has not validated that command or equivalent coverage.", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/cmd-j-host-qualified-candidate-ownership.test.ts" - }, { "date": "2026-08-20", "runner": "local", @@ -2476,37 +2360,6 @@ "summary": "A fresh electron-vite --mode e2e build passed the paired journey: the visible Cmd-J list retained one owning browser/simulator row and each selection changed the execution host plus its owning workspace or group.", "currentCommand": "pnpm exec playwright test tests/e2e/paired-cmd-j-host-qualified-tabs.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1" }, - { - "date": "2026-08-20", - "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/ensure-simulator-tab-behavior.test.ts src/renderer/src/lib/palette-repo-resolution.test.ts", - "result": "failed", - "durationSeconds": 0.8, - "summary": "The final-review oracle failed 4/16 before the follow-up: same-id folder simulator reuse selected no owning tab, inactive local simulator creation was unstamped, the paired SSH/runtime alias resolved local metadata, and an explicit unknown owner fell back locally. Historical command preserved after the test-value audit removed the palette repo resolver suite. currentCommand is an administrative link to a remaining gate command; this historical run has not validated that command or equivalent coverage.", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts" - }, - { - "date": "2026-08-20", - "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/palette-repo-resolution.test.ts", - "result": "failed", - "durationSeconds": 0.1, - "summary": "The final reviewer repo-label oracle failed 1/6 before the follow-up: a paired SSH worktree resolved the local bare-id repository instead of its runtime-owned repository. Historical command preserved after the test-value audit removed the palette repo resolver suite. currentCommand is an administrative link to a remaining gate command; this historical run has not validated that command or equivalent coverage.", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts" - }, - { - "date": "2026-08-20", - "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/palette-repo-resolution.test.ts", - "result": "failed", - "durationSeconds": 0.1, - "summary": "The final clean-round fail-closed oracle failed 1/7 before the follow-up: an unavailable explicit runtime owner borrowed physical SSH repository metadata. Historical command preserved after the test-value audit removed the palette repo resolver suite. currentCommand is an administrative link to a remaining gate command; this historical run has not validated that command or equivalent coverage.", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts" - }, - { "date": "2026-08-20", "runner": "local", @@ -2594,7 +2447,21 @@ "Audit1402: src/renderer/src/runtime/web-session-tabs-sync-mirror-identity.test.ts reduced. Loses repeated no-op frame store-notification budget; independent cross-runtime resource preservation remains. No equivalent replacement coverage is claimed. Historical removed assertion inventory: [{\"file\":\"src/renderer/src/runtime/web-session-tabs-sync-mirror-identity.test.ts\",\"assertions\":[\"preserves a sibling runtime mirror under the same bare worktree id\"]}]", "Audit1494 removes use-open-tab-search.test.ts. Supplied host/worktree/title/ranking projections, simple subscription updates and result-array identity alarms are retired. No actual activation or navigation occurred in that suite. No equivalent replacement coverage or fresh Cmd-J gate validation is claimed. Historical receipts remain scoped to their original selectors.", "Audit1899 replays sealed Audit1895: workspace-session-schema.test.ts keeps only cross-workspace truncated-tab salvage and legacy browser-history cap normalization. Four current commands and testFiles retain that reduced source; no current assertionRef or active receipt selects it. SSH file-owner, isolated browser partition, launch/title/quick-command fields, recency, structured-chat/view-mode and remote browser identity hydration alarms are intentionally lost. Existing retired receipt strings and unrelated active receipts remain verbatim. No equivalent replacement, new Cmd-J gate execution, native simulator or remote/browser restore proof is claimed.", - "Audit2192 retires the removed physical-SSH repository badge assertion from WorktreeJumpPalette.test.tsx and its exact historical failed oracle receipt. Current reduced test selectors and unrelated unit/E2E receipts remain; none was rerun by this source audit and equivalent coverage is not claimed. Original obsolete assertion object verbatim:\n{\n \"file\": \"src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx\",\n \"assertions\": [\n \"a runtime-owned worktree row never renders repository metadata borrowed from its physical SSH host\"\n ]\n }\nOriginal dated failed receipt object verbatim:\n{\n \"date\": \"2026-08-20\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/WorktreeJumpPalette.test.tsx\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx\",\n \"result\": \"failed\",\n \"durationSeconds\": 5.1,\n \"summary\": \"With the component's physical-host prelookup restored, the rendered palette oracle failed 1/12: the runtime-owned row displayed the physical SSH repository badge.\"\n }" + "Audit2192 retires the removed physical-SSH repository badge assertion from WorktreeJumpPalette.test.tsx and its exact historical failed oracle receipt. Current reduced test selectors and unrelated unit/E2E receipts remain; none was rerun by this source audit and equivalent coverage is not claimed. Original obsolete assertion object verbatim:\n{\n \"file\": \"src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx\",\n \"assertions\": [\n \"a runtime-owned worktree row never renders repository metadata borrowed from its physical SSH host\"\n ]\n }\nOriginal dated failed receipt object verbatim:\n{\n \"date\": \"2026-08-20\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/WorktreeJumpPalette.test.tsx\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx\",\n \"result\": \"failed\",\n \"durationSeconds\": 5.1,\n \"summary\": \"With the component's physical-host prelookup restored, the rendered palette oracle failed 1/12: the runtime-owned row displayed the physical SSH repository badge.\"\n }", + "Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims.", + "Audit 3301 removes the orphaned mobile file-close fallback and ordinary cross-content MRU examples from tabs-open-close-lifecycle.test.ts. Earlier descriptions of retained MRU coverage are historical. The integrated mobile markdown close/frame-settlement case remains unchanged and is narrower. Preserve the existing administrative failed receipt and all complete retired receipts verbatim, along with selectors and unrelated assertions; no equivalent replacement or fresh Cmd-J, native or remote result is claimed.", + "Audit3359 retires the whole ensure-simulator-tab-behavior suite: host-collision reuse, host stamping, inactive creation and unknown-owner routing alarms are intentionally lost without equivalent replacement. Its standalone command is removed and four compound commands narrowed. Three complete dated receipts selecting that source through currentCommand are retired verbatim, including their compound historical selectors; no retained test inherits their validation. Seven unrelated macOS receipts retain their original scope. No fresh runtime/UI, simulator, provider, historical-import, mobile, mixed-version or cross-platform validation is claimed.", + "Audit3359 historical original commands object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts\"", + "Audit3359 historical original commands object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts src/shared/workspace-session/workspace-session-schema.test.ts\"", + "Audit3359 historical original commands object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/workspace/search/palette/cmd-j-host-qualified-candidate-ownership.test.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/renderer/src/lib/browser/palette/browser-page-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/simulator-tab-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-mirror-identity.test.ts src/shared/workspace-session/workspace-session-schema.test.ts\"", + "Audit3359 historical original commands object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/cmd-j/worktree-checks-review-index.test.ts src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx src/renderer/src/lib/workspace/search/palette/cmd-j-host-qualified-candidate-ownership.test.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/renderer/src/lib/browser/palette/browser-page-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/simulator-tab-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-mirror-identity.test.ts src/shared/workspace-session/workspace-session-schema.test.ts\"", + "Audit3359 historical original commands object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/cmd-j/worktree-checks-review-index.test.ts src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx src/renderer/src/lib/workspace/search/palette/cmd-j-host-qualified-candidate-ownership.test.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/renderer/src/lib/browser/palette/browser-page-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/simulator-tab-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts src/renderer/src/lib/simulator/launch/open-mobile-emulator-tab.test.ts src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-mirror-identity.test.ts src/shared/workspace-session/workspace-session-schema.test.ts\"", + "Audit3359 historical original testFiles object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts\"", + "Audit3359 historical original assertionRefs object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n{\n \"file\": \"src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts\",\n \"assertions\": [\n \"same-id folder simulator reuse selects the active owning host\",\n \"inactive local simulator creation remains host-stamped amid a collision\",\n \"an explicitly owned simulator is reused before its matching worktree row hydrates\"\n ]\n }", + "Audit3359 historical original evidenceRuns object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n{\n \"date\": \"2026-08-20\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/ensure-simulator-tab-behavior.test.ts src/renderer/src/lib/palette-repo-resolution.test.ts\",\n \"result\": \"failed\",\n \"durationSeconds\": 0.8,\n \"summary\": \"The final-review oracle failed 4/16 before the follow-up: same-id folder simulator reuse selected no owning tab, inactive local simulator creation was unstamped, the paired SSH/runtime alias resolved local metadata, and an explicit unknown owner fell back locally. Historical command preserved after the test-value audit removed the palette repo resolver suite. currentCommand is an administrative link to a remaining gate command; this historical run has not validated that command or equivalent coverage.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts\"\n }", + "Audit3359 historical original evidenceRuns object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n{\n \"date\": \"2026-08-20\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/palette-repo-resolution.test.ts\",\n \"result\": \"failed\",\n \"durationSeconds\": 0.1,\n \"summary\": \"The final reviewer repo-label oracle failed 1/6 before the follow-up: a paired SSH worktree resolved the local bare-id repository instead of its runtime-owned repository. Historical command preserved after the test-value audit removed the palette repo resolver suite. currentCommand is an administrative link to a remaining gate command; this historical run has not validated that command or equivalent coverage.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts\"\n }", + "Audit3359 historical original evidenceRuns object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n{\n \"date\": \"2026-08-20\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/palette-repo-resolution.test.ts\",\n \"result\": \"failed\",\n \"durationSeconds\": 0.1,\n \"summary\": \"The final clean-round fail-closed oracle failed 1/7 before the follow-up: an unavailable explicit runtime owner borrowed physical SSH repository metadata. Historical command preserved after the test-value audit removed the palette repo resolver suite. currentCommand is an administrative link to a remaining gate command; this historical run has not validated that command or equivalent coverage.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts\"\n }", + "Audit3381 intentionally removes the entire Cmd-J host-qualified candidate-ownership suite and its active selectors/assertion. The hidden same-id sibling ambiguity regression alarm is lost without replacement. The complete original dated failed receipt below is retired verbatim, including both command and currentCommand, rather than reassigned as validation of remaining selectors. Other complete receipts retain their exact original scopes; remaining browser/simulator/workspace/e2e selectors do not imply equivalent ownership protection. No fresh execution is claimed.\nOriginal active selector fields (historical raw native JSON values):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/cmd-j/worktree-checks-review-index.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/workspace/search/palette/cmd-j-host-qualified-candidate-ownership.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/shared/workspace-session/workspace-session-schema.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/workspace/search/palette/cmd-j-host-qualified-candidate-ownership.test.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/renderer/src/lib/browser/palette/browser-page-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/simulator-tab-palette-activation.test.ts src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-mirror-identity.test.ts src/shared/workspace-session/workspace-session-schema.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/cmd-j/worktree-checks-review-index.test.ts src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx src/renderer/src/lib/workspace/search/palette/cmd-j-host-qualified-candidate-ownership.test.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/renderer/src/lib/browser/palette/browser-page-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/simulator-tab-palette-activation.test.ts src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-mirror-identity.test.ts src/shared/workspace-session/workspace-session-schema.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/cmd-j/worktree-checks-review-index.test.ts src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx src/renderer/src/lib/workspace/search/palette/cmd-j-host-qualified-candidate-ownership.test.ts src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts src/renderer/src/lib/browser/palette/browser-page-palette-activation.test.ts src/renderer/src/lib/simulator/tabs/simulator-tab-palette-activation.test.ts src/renderer/src/lib/simulator/launch/open-mobile-emulator-tab.test.ts src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-mirror-identity.test.ts src/shared/workspace-session/workspace-session-schema.test.ts\",\n \"pnpm exec playwright test tests/e2e/paired-cmd-j-host-qualified-tabs.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-cmd-j-host-qualified-tabs.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\"\n ]\ntestFiles: [\n \"src/renderer/src/components/cmd-j/worktree-checks-review-index.test.ts\",\n \"src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx\",\n \"src/renderer/src/lib/workspace/search/palette/cmd-j-host-qualified-candidate-ownership.test.ts\",\n \"src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts\",\n \"src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts\",\n \"src/renderer/src/lib/browser/palette/browser-page-palette-activation.test.ts\",\n \"src/renderer/src/lib/simulator/tabs/simulator-tab-palette-activation.test.ts\",\n \"src/renderer/src/lib/simulator/launch/open-mobile-emulator-tab.test.ts\",\n \"src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-mirror-identity.test.ts\",\n \"tests/e2e/paired-cmd-j-host-qualified-tabs.spec.ts\",\n \"src/shared/workspace-session/workspace-session-schema.test.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/components/cmd-j/worktree-checks-review-index.test.ts\",\n \"assertions\": [\"same-id local and SSH worktrees keep separate review-index results\"]\n },\n {\n \"file\": \"src/renderer/src/lib/workspace/search/palette/cmd-j-host-qualified-candidate-ownership.test.ts\",\n \"assertions\": [\n \"scoped open-tab search keeps a hidden same-id sibling in the legacy ownership ambiguity set\"\n ]\n },\n {\n \"file\": \"src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts\",\n \"assertions\": [\n \"same-id local and remote browser tabs appear once under their owning hosts\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-cmd-j-host-qualified-tabs.spec.ts\",\n \"assertions\": [\n \"both browser selections activate and render their owning host and workspace\",\n \"both simulator selections activate and render their owning host and group\"\n ]\n }\n ]\nComplete retired dated receipt (verbatim native JSON object):\n{\n \"date\": \"2026-08-20\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/cmd-j-host-qualified-candidate-ownership.test.ts src/renderer/src/store/slices/tabs-open-close-lifecycle.test.ts\",\n \"result\": \"failed\",\n \"durationSeconds\": 1.8,\n \"summary\": \"The first review-round oracle failed 4/40: browser and simulator dropped the SSH worktree's paired-runtime-owned tab, generic workspace rows attributed the remote tab to local, and active local tab creation left ownership unstamped. Historical command and result are preserved after the test-value audit removed the tab-store assertions this run included. currentCommand is only an administrative link to the remaining gate command; the historical run has not validated that command or equivalent coverage.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/workspace/search/palette/cmd-j-host-qualified-candidate-ownership.test.ts\"\n }" ], "demotionRule": "Cannot promote if a same-id sibling tab duplicates, disappears, activates another host, or if ambiguous unstamped ownership is guessed." }, @@ -2615,14 +2482,14 @@ "providers": ["orca-server", "direct-ssh"], "coveredPlatforms": ["macos"], "coveredProviders": ["orca-server", "direct-ssh"], - "coverageNotes": "Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/lib/ephemeral-vm-failed-create-cleanup.test.ts: removes the imported project setup before destroying its VM; retains the VM when setup deletion throws; retains the VM when setup deletion reports no result. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Exact retired assertionRefs, preserved as historical objects only: {\n \"file\": \"src/renderer/src/lib/ephemeral-vm-failed-create-cleanup.test.ts\",\n \"assertions\": [\"failed or unconfirmed project-host rollback prevents provider destroy\"]\n } Historical prior account (preserved verbatim): Audit1634 removes low-value IPC, filesystem and runtime projections, argument inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained cancellation, ownership, authorization, filesystem and SQLite boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1627 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1441 removes the complete renderer VM-runtime settings suite: display filter/status/SSH-retry flags, cleanup and stop RPC-to-toast/dialog plumbing, manual-copy plumbing and polling toast silence. The suite did not execute provider teardown or process cancellation. Its rendered stop/retry and hidden-SSH display alarms are intentionally retired; no equivalent replacement or fresh reduced-selector runtime result is claimed. Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally deletes src/renderer/src/lib/ephemeral-vm-workspace-target.test.ts: Loses wrapper-level host rebinding, incompatible provisioned-root refusal and best-effort cleanup-call alarms; all are mock-only orchestration projections. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): A pinned exact-source harness runs the pre-#14352 reader and lifecycle service against baseline, affected-main, candidate, and fix-reverted stores. Platform-neutral tests cover store compatibility, user-cancellable cleanup, branch/ref adoption; audit885 removes the direct resume ownership predicate alarms. The direct-SSH provisioned-root Electron journey remains the live transport and destroy proof; this desktop sidecar is not mobile-facing and changes no RPC or remote wire payload. The test-value audit removed the renderer provisioned-root create-options suite. Its two incomplete-identity rejection assertions are lost: one omitted workspaceRunContext and other identity fields, and one supplied the context but omitted ephemeralVmExpectedRefHead. The suite did not test successful option mapping. Retained source-ref and lifecycle suites do not establish equivalent renderer guard coverage. Audit1342: src/renderer/src/lib/ephemeral-vm-runtime-cleanup.test.ts removed. Runtime/SSH ownership, encoded target, retry/failure/listing-error cleanup projection samples disappear. No equivalent replacement coverage is claimed.", + "coverageNotes": "Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. The recipe-process suite loses its three-row UTF-8 tail-cap subprocess sample; keep the original POSIX process-group timeout case proving descendant death, with Windows explicitly skipped. The active synchronous-graceful-termination assertion reference was already absent from the adopted original source before this reduction; it is preserved verbatim in knownGaps as historical stale metadata rather than replaced by a different claim. Unrelated cross-version rollback receipt and all prior narratives remain exact. Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. The rollback suite retains only exact preservation of an unknown future-version provisioning file and refusal of a new provisioning upsert. It retires malformed/oversized/merge/migration and old-reader schema projection examples; no actual old client runtime was executed by those removed cases. The IPC suite retains the immutable recipe snapshot used by an actual destroy child after plugin removal; other IPC validation/lifecycle projections are retired. Existing unrelated pinned rollback reproduction receipt retains its original scope. Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. The runtime-service source intentionally loses14of16cases: ordinary lifecycle/retry/configuration/cleanup projections, unreadable-companion refusal and successful post-create compensation examples are retired. Keep only non-JSON credential refusal before provider launch and failed compensation after post-create persistence failure, with old-readable recovery identity across two local injected faults. This does not prove a subsequent retry or actual remote provider cleanup. Existing unrelated rollback reproduction receipt remains exact; no fresh execution, protection change or equivalent replacement claimed. Audit 3292 retires the direct-SSH failed-project retention, managed-server failed-project retention and ordinary confirmed managed-VM destruction/no-repo.rm examples from repos-ephemeral-vm-cleanup-retention.test.ts. Host-scoped same-workspace isolation and stale renderer catalog reconciliation remain byte-identical. These three supplied-result alarms are intentionally lost without equivalent replacement. Existing selectors/assertionRefs, unrelated cross-version rollback receipt and archived complete 122-case cleanup receipt remain exact; no fresh broad runtime, provider, platform or mixed-version result is claimed. Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/lib/ephemeral-vm-failed-create-cleanup.test.ts: removes the imported project setup before destroying its VM; retains the VM when setup deletion throws; retains the VM when setup deletion reports no result. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Exact retired assertionRefs, preserved as historical objects only: {\n \"file\": \"src/renderer/src/lib/ephemeral-vm-failed-create-cleanup.test.ts\",\n \"assertions\": [\"failed or unconfirmed project-host rollback prevents provider destroy\"]\n } Historical prior account (preserved verbatim): Audit1634 removes low-value IPC, filesystem and runtime projections, argument inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained cancellation, ownership, authorization, filesystem and SQLite boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1627 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1441 removes the complete renderer VM-runtime settings suite: display filter/status/SSH-retry flags, cleanup and stop RPC-to-toast/dialog plumbing, manual-copy plumbing and polling toast silence. The suite did not execute provider teardown or process cancellation. Its rendered stop/retry and hidden-SSH display alarms are intentionally retired; no equivalent replacement or fresh reduced-selector runtime result is claimed. Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally deletes src/renderer/src/lib/ephemeral-vm-workspace-target.test.ts: Loses wrapper-level host rebinding, incompatible provisioned-root refusal and best-effort cleanup-call alarms; all are mock-only orchestration projections. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): A pinned exact-source harness runs the pre-#14352 reader and lifecycle service against baseline, affected-main, candidate, and fix-reverted stores. Platform-neutral tests cover store compatibility, user-cancellable cleanup, branch/ref adoption; audit885 removes the direct resume ownership predicate alarms. The direct-SSH provisioned-root Electron journey remains the live transport and destroy proof; this desktop sidecar is not mobile-facing and changes no RPC or remote wire payload. The test-value audit removed the renderer provisioned-root create-options suite. Its two incomplete-identity rejection assertions are lost: one omitted workspaceRunContext and other identity fields, and one supplied the context but omitted ephemeralVmExpectedRefHead. The suite did not test successful option mapping. Retained source-ref and lifecycle suites do not establish equivalent renderer guard coverage. Audit1342: src/renderer/src/lib/ephemeral-vm-runtime-cleanup.test.ts removed. Runtime/SSH ownership, encoded target, retry/failure/listing-error cleanup projection samples disappear. No equivalent replacement coverage is claimed.", "motivatingLinks": [ "https://linear.app/stably/issue/STA-4274", "https://github.com/stablyai/orca/pull/14352", "https://github.com/stablyai/orca/issues/13044" ], "invariant": "A sidecar written by the new build cannot make the previous production build lose otherwise compatible VM runtimes. Downgrade lifecycle writes remain authoritative after re-upgrade, provisioned-root metadata remains recoverable, and corrupt or future feature metadata is preserved without poisoning the rollback-readable v1 store. Destroy attempts have no automatic wall-clock cutoff; a user stop terminates the process tree, retains cleanup ownership, and permits a fresh retry. Provider failure retains the SSH/project context needed for safe cleanup. Unrecoverable recipe context releases only the hidden SSH registration while preserving lifecycle/provider metadata. Provisioned-root create receives the source ref's pinned commit, adoption verifies the requested branch/ref, and resume preserves the connection mode plus stable SSH ownership identity while allowing endpoint rotation.", - "oracle": "Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/lib/ephemeral-vm-failed-create-cleanup.test.ts: removes the imported project setup before destroying its VM; retains the VM when setup deletion throws; retains the VM when setup deletion reports no result. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Exact retired assertionRefs, preserved as historical objects only: {\n \"file\": \"src/renderer/src/lib/ephemeral-vm-failed-create-cleanup.test.ts\",\n \"assertions\": [\"failed or unconfirmed project-host rollback prevents provider destroy\"]\n } Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Write one ordinary schema-v1 runtime and one provisioned-root runtime. Require the exact pre-#14352 reader to return both, run the old destroy lifecycle against the projected provisioned record, then require the candidate to retain the cleaned state while restoring schema-v2 and checkout-mode metadata. The same old reader must reject affected-main and fix-reverted bytes. Malformed, oversized, unknown-record, and future-version feature sidecars must leave rollback-compatible records accessible and must not be overwritten during compatible lifecycle mutations. Require destroy to have no implicit deadline, stop a hung destroy through the public desktop action, require cleanup_failed plus a fresh successful retry, prove provider or project-host rollback failure retains every ownership record required to retry, and prove missing recipe context cannot leave an unremovable hidden SSH registration. Supply the source ref's captured commit to create, reject a provisioned checkout on the wrong branch/ref, and reject a resume that changes connection mode or SSH ownership.", + "oracle": "Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. The recipe-process suite loses its three-row UTF-8 tail-cap subprocess sample; keep the original POSIX process-group timeout case proving descendant death, with Windows explicitly skipped. The active synchronous-graceful-termination assertion reference was already absent from the adopted original source before this reduction; it is preserved verbatim in knownGaps as historical stale metadata rather than replaced by a different claim. Unrelated cross-version rollback receipt and all prior narratives remain exact. Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. The rollback suite retains only exact preservation of an unknown future-version provisioning file and refusal of a new provisioning upsert. It retires malformed/oversized/merge/migration and old-reader schema projection examples; no actual old client runtime was executed by those removed cases. The IPC suite retains the immutable recipe snapshot used by an actual destroy child after plugin removal; other IPC validation/lifecycle projections are retired. Existing unrelated pinned rollback reproduction receipt retains its original scope. Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. The runtime-service source intentionally loses14of16cases: ordinary lifecycle/retry/configuration/cleanup projections, unreadable-companion refusal and successful post-create compensation examples are retired. Keep only non-JSON credential refusal before provider launch and failed compensation after post-create persistence failure, with old-readable recovery identity across two local injected faults. This does not prove a subsequent retry or actual remote provider cleanup. Existing unrelated rollback reproduction receipt remains exact; no fresh execution, protection change or equivalent replacement claimed. Audit 3292 retires the direct-SSH failed-project retention, managed-server failed-project retention and ordinary confirmed managed-VM destruction/no-repo.rm examples from repos-ephemeral-vm-cleanup-retention.test.ts. Host-scoped same-workspace isolation and stale renderer catalog reconciliation remain byte-identical. These three supplied-result alarms are intentionally lost without equivalent replacement. Existing selectors/assertionRefs, unrelated cross-version rollback receipt and archived complete 122-case cleanup receipt remain exact; no fresh broad runtime, provider, platform or mixed-version result is claimed. Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/lib/ephemeral-vm-failed-create-cleanup.test.ts: removes the imported project setup before destroying its VM; retains the VM when setup deletion throws; retains the VM when setup deletion reports no result. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Exact retired assertionRefs, preserved as historical objects only: {\n \"file\": \"src/renderer/src/lib/ephemeral-vm-failed-create-cleanup.test.ts\",\n \"assertions\": [\"failed or unconfirmed project-host rollback prevents provider destroy\"]\n } Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Write one ordinary schema-v1 runtime and one provisioned-root runtime. Require the exact pre-#14352 reader to return both, run the old destroy lifecycle against the projected provisioned record, then require the candidate to retain the cleaned state while restoring schema-v2 and checkout-mode metadata. The same old reader must reject affected-main and fix-reverted bytes. Malformed, oversized, unknown-record, and future-version feature sidecars must leave rollback-compatible records accessible and must not be overwritten during compatible lifecycle mutations. Require destroy to have no implicit deadline, stop a hung destroy through the public desktop action, require cleanup_failed plus a fresh successful retry, prove provider or project-host rollback failure retains every ownership record required to retry, and prove missing recipe context cannot leave an unremovable hidden SSH registration. Supply the source ref's captured commit to create, reject a provisioned checkout on the wrong branch/ref, and reject a resume that changes connection mode or SSH ownership.", "commands": [ "node config/scripts/runtime-verification/ephemeral-store/run-ephemeral-vm-runtime-store-rollback-repro.mjs config/scripts/runtime-verification/ephemeral-store/ephemeral-vm-runtime-store-cross-version.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/shared/ephemeral-vm-runtime-store.test.ts src/shared/ephemeral-vm-runtime-store-rollback.test.ts src/shared/ephemeral-vm-recipe-process.test.ts src/main/ephemeral-vm/runtime-service.test.ts src/main/ephemeral-vm/recipe-runner.test.ts src/main/ephemeral-vm/runtime-ssh-cleanup.test.ts src/main/ipc/ephemeral-vm-runtime-handler-cleanup.test.ts src/main/ipc/ephemeral-vm-provision-cancel.test.ts src/main/ipc/ephemeral-vm-provisioned-root-ref.test.ts src/main/ipc/ephemeral-vm.test.ts src/renderer/src/store/repos/repos-ephemeral-vm-cleanup-retention.test.ts", @@ -2656,24 +2523,15 @@ { "file": "src/shared/ephemeral-vm-runtime-store-rollback.test.ts", "assertions": [ - "malformed, future, oversized, and unknown feature data is preserved without poisoning v1 records", - "current-main poisoned bytes migrate to a rollback-readable projection" + "unknown future-version provisioning metadata is preserved byte-for-byte and a new provisioning upsert refuses" ] }, { "file": "src/main/ephemeral-vm/runtime-service.test.ts", "assertions": [ - "an unreadable companion rejects checkout-mode recipes before their create command runs", - "post-create persistence failure destroys the provider resource when possible", "failed destroy persists a durable rollback-readable cleanup recovery record" ] }, - { - "file": "src/shared/ephemeral-vm-recipe-process.test.ts", - "assertions": [ - "synchronous graceful termination settles cancellation and clears the force-kill timer" - ] - }, { "file": "src/main/ipc/ephemeral-vm-runtime-handler-cleanup.test.ts", "assertions": [ @@ -2749,7 +2607,14 @@ "Audit1417 intentionally deletes src/renderer/src/lib/ephemeral-vm-workspace-target.test.ts: Loses wrapper-level host rebinding, incompatible provisioned-root refusal and best-effort cleanup-call alarms; all are mock-only orchestration projections. No equivalent replacement coverage or fresh result is claimed.", "Audit1853 accepts removal of the runtime-ssh-cleanup.test.ts alarm for repairing cleanup_failed/provider-succeeded records that already lack a target ID. No equivalent replacement coverage is claimed. Keep the surviving cleanup selector and unchanged cross-version rollback receipt; the historical 2026-08-14 122-case cleanup receipt remains archived verbatim in knownGaps.", "Audit1863 removes the standalone default-source-ref provisioning example. Its direct default-ref pinning alarm is intentionally lost; selected-ref pinning and invalid-ref cases remain without an equivalent replacement claim. Focused survivor execution does not validate the broad rollback selector or physical cross-version provisioning. Existing receipts retain their original commands and counts.", - "Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/lib/ephemeral-vm-failed-create-cleanup.test.ts: removes the imported project setup before destroying its VM; retains the VM when setup deletion throws; retains the VM when setup deletion reports no result. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Exact retired assertionRefs, preserved as historical objects only: {\n \"file\": \"src/renderer/src/lib/ephemeral-vm-failed-create-cleanup.test.ts\",\n \"assertions\": [\"failed or unconfirmed project-host rollback prevents provider destroy\"]\n }" + "Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/lib/ephemeral-vm-failed-create-cleanup.test.ts: removes the imported project setup before destroying its VM; retains the VM when setup deletion throws; retains the VM when setup deletion reports no result. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Exact retired assertionRefs, preserved as historical objects only: {\n \"file\": \"src/renderer/src/lib/ephemeral-vm-failed-create-cleanup.test.ts\",\n \"assertions\": [\"failed or unconfirmed project-host rollback prevents provider destroy\"]\n }", + "Audit 3292 retires the direct-SSH failed-project retention, managed-server failed-project retention and ordinary confirmed managed-VM destruction/no-repo.rm examples from repos-ephemeral-vm-cleanup-retention.test.ts. Host-scoped same-workspace isolation and stale renderer catalog reconciliation remain byte-identical. These three supplied-result alarms are intentionally lost without equivalent replacement. Existing selectors/assertionRefs, unrelated cross-version rollback receipt and archived complete 122-case cleanup receipt remain exact; no fresh broad runtime, provider, platform or mixed-version result is claimed.", + "Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. The runtime-service source intentionally loses14of16cases: ordinary lifecycle/retry/configuration/cleanup projections, unreadable-companion refusal and successful post-create compensation examples are retired. Keep only non-JSON credential refusal before provider launch and failed compensation after post-create persistence failure, with old-readable recovery identity across two local injected faults. This does not prove a subsequent retry or actual remote provider cleanup. Existing unrelated rollback reproduction receipt remains exact; no fresh execution, protection change or equivalent replacement claimed. All previous note strings, dated receipts, archived raw receipts and prior gap entries retain their original scopes.", + "Audit3413 retires two runtime-service assertion claims after source reduction; the failed-destroy durable rollback-readable cleanup recovery claim remains current. Complete prior assertionRef preserved as historical data only: {\n \"file\": \"src/main/ephemeral-vm/runtime-service.test.ts\",\n \"assertions\": [\n \"an unreadable companion rejects checkout-mode recipes before their create command runs\",\n \"post-create persistence failure destroys the provider resource when possible\",\n \"failed destroy persists a durable rollback-readable cleanup recovery record\"\n ]\n }", + "Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. The rollback suite retains only exact preservation of an unknown future-version provisioning file and refusal of a new provisioning upsert. It retires malformed/oversized/merge/migration and old-reader schema projection examples; no actual old client runtime was executed by those removed cases. The IPC suite retains the immutable recipe snapshot used by an actual destroy child after plugin removal; other IPC validation/lifecycle projections are retired. Existing unrelated pinned rollback reproduction receipt retains its original scope. All prior notes and complete dated receipts retain their original scopes.", + "Audit3446 archived original assertionRef after source reduction; historical scope only, raw original object follows:\n{\n \"file\": \"src/shared/ephemeral-vm-runtime-store-rollback.test.ts\",\n \"assertions\": [\n \"malformed, future, oversized, and unknown feature data is preserved without poisoning v1 records\",\n \"current-main poisoned bytes migrate to a rollback-readable projection\"\n ]\n }", + "Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. The recipe-process suite loses its three-row UTF-8 tail-cap subprocess sample; keep the original POSIX process-group timeout case proving descendant death, with Windows explicitly skipped. The active synchronous-graceful-termination assertion reference was already absent from the adopted original source before this reduction; it is preserved verbatim in knownGaps as historical stale metadata rather than replaced by a different claim. Unrelated cross-version rollback receipt and all prior narratives remain exact. All prior notes and archived receipts retain original scopes.", + "Audit3456 preserves this pre-existing stale assertion reference verbatim as historical metadata only; the synchronous termination case was already absent from exact adopted base before this reduction: {\n \"file\": \"src/shared/ephemeral-vm-recipe-process.test.ts\",\n \"assertions\": [\n \"synchronous graceful termination settles cancellation and clears the force-kill timer\"\n ]\n }" ], "demotionRule": "Demote if a new write fails the pinned rollback reader, a downgrade lifecycle mutation is lost after re-upgrade, malformed/future metadata overwrites recoverable bytes, ordinary v1 bytes change, user stop cannot settle a destroy process tree, cleanup loses retry ownership, an unrecoverable context leaves a permanent hidden SSH registration, or the focused gate flakes without an identified harness defect." }, @@ -2870,7 +2735,7 @@ "id": "editor.restored-sibling-owner-reparent", "title": "Restored sibling tabs migrate filesystem authority before becoming editable", "maturity": "experimental", - "protection": "partial", + "protection": "none", "owner": "editor-runtime", "layer": "renderer-store-controller-contract", "surfaces": [ @@ -2880,63 +2745,30 @@ ], "platforms": ["macos", "linux", "windows"], "providers": ["local", "ssh", "paired-runtime"], - "coveredPlatforms": ["macos"], - "coveredProviders": ["local", "ssh", "paired-runtime"], - "coverageNotes": "Deterministic store/controller tests cover local, direct-SSH, paired-runtime identity, folder workspaces, queue quiescence, stale route and connection-generation rejection, authoritative active-workspace projection, owner-derived IDs, drafts and editor maps, tab/group placement, exact watch replacement, change/delete/rename correlation, explicit save, autosave, collision refusal without activation reconciliation, provenance, and restart hot-exit persistence. Live headed/headless paired-runtime and post-establish Electron IPC remain uncollected. The test-value audit removed the standalone runtime-workspace file-route suite. Its direct same-host sibling, folder-root, exact-SSH, outside-path and directory-routing alarms are lost. Retained editor lifecycle contracts do not establish equivalent selector coverage; historical run commands and results remain historical. The test-value audit narrows restored-editor-owner-reparent.test.ts by removing standalone unrelated-explorer-reveal, duplicate-tab repair/refusal, clean/dirty collision-table, watcher-target projection, folder-workspace context and direct-SSH provenance examples. Their exact scalar/ID/reference, selector and route/generation-field alarms are intentionally lost. The dirty collision variant did not assert preservation of its destination draft, and the main-owned duplicate-tab branch checked a synthetic missing-group refusal rather than duplicate repair. Remaining authored cases still check coupled dirty-state migration, subscribed activation, hot-exit roundtrip, rejection without destination reconciliation, mounted watch replacement and destination event correlation. They are not equivalent replacements for the deleted alarms. Historical executed commands, counts and results remain unchanged; no new live host, process restart or platform evidence is claimed.", + "coveredPlatforms": [], + "coveredProviders": [], + "coverageNotes": "Audit3359 keeps two restored-editor-owner-reparent cases covering coupled dirty-editor/draft/preview/main-group migration and hot-exit serialization/hydration. The subscribed activation, collision refusal and mounted watch replacement/destination-event correlation alarms are intentionally lost without equivalent replacement. The complete compound dated receipt is retired verbatim. With no active receipt, protection and covered scope are cleared and prospective command/test-file/assertion selectors are retired; their complete originals and prior red/green/flake accounts remain historical in knownGaps. The retained reparent cases and unchanged save-lifecycle source remain reachable through broad unit execution, not active evidence for this gate. No fresh provider, filesystem restart, historical-import, mobile, mixed-version or cross-platform validation is claimed. Deterministic store/controller tests cover local, direct-SSH, paired-runtime identity, folder workspaces, queue quiescence, stale route and connection-generation rejection, authoritative active-workspace projection, owner-derived IDs, drafts and editor maps, tab/group placement, exact watch replacement, change/delete/rename correlation, explicit save, autosave, collision refusal without activation reconciliation, provenance, and restart hot-exit persistence. Live headed/headless paired-runtime and post-establish Electron IPC remain uncollected. The test-value audit removed the standalone runtime-workspace file-route suite. Its direct same-host sibling, folder-root, exact-SSH, outside-path and directory-routing alarms are lost. Retained editor lifecycle contracts do not establish equivalent selector coverage; historical run commands and results remain historical. The test-value audit narrows restored-editor-owner-reparent.test.ts by removing standalone unrelated-explorer-reveal, duplicate-tab repair/refusal, clean/dirty collision-table, watcher-target projection, folder-workspace context and direct-SSH provenance examples. Their exact scalar/ID/reference, selector and route/generation-field alarms are intentionally lost. The dirty collision variant did not assert preservation of its destination draft, and the main-owned duplicate-tab branch checked a synthetic missing-group refusal rather than duplicate repair. Remaining authored cases still check coupled dirty-state migration, subscribed activation, hot-exit roundtrip, rejection without destination reconciliation, mounted watch replacement and destination event correlation. They are not equivalent replacements for the deleted alarms. Historical executed commands, counts and results remain unchanged; no new live host, process restart or platform evidence is claimed.", "motivatingLinks": [ "https://github.com/stablyai/orca/issues/11304", "https://github.com/stablyai/orca/pull/11369" ], "invariant": "A restored absolute path owned by a same-host sibling workspace cannot read, save, watch, or persist until old saves drain, the exact route and host generations are revalidated, and one authoritative activation transaction installs the sibling owner, target projection, editor state, reconciliation, and first-activation terminal preparation; collisions and stale routes fail before activation preparation or reconciliation.", - "oracle": "Hold an old-owner save in flight, start migration, then remove the sibling, change a folder root, or reconnect SSH and require owner migration to fail closed after quiescence. On a stable route require one coherent target-workspace projection, first-activation terminal generation preparation, destination authority for explicit save and autosave, exact watch replacement, destination-only change/delete/rename handling, owner-derived state rekeys, and hot-exit restart ownership. Seed an invalid destination tab/group model before a collision and require the target projection to remain byte-identical.", - "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/editor/hydration/restored-editor-owner-reparent.test.ts src/renderer/src/components/editor/restored-editor-owner-save-lifecycle.test.ts" - ], - "testFiles": [ - "src/renderer/src/store/slices/editor/hydration/restored-editor-owner-reparent.test.ts", - "src/renderer/src/components/editor/restored-editor-owner-save-lifecycle.test.ts" - ], - "assertionRefs": [ - { - "file": "src/renderer/src/store/slices/editor/hydration/restored-editor-owner-reparent.test.ts", - "assertions": [ - "one atomic commit rekeys owner-derived editor, preview, draft, cursor, view, tab, group, active, reveal, focus, provenance, and persistence state", - "active reparenting uses the centralized workspace activation transaction for terminal, browser, pending-creation, explorer, first-activation, and post-commit state", - "source watch unsubscribes once, destination watch subscribes once, and only destination change/delete/rename events reach the file", - "a destination collision fails closed without changing current selection or reconciling destination tabs and groups" - ] - }, - { - "file": "src/renderer/src/components/editor/restored-editor-owner-save-lifecycle.test.ts", - "assertions": [ - "migration waits for the old save queue and routes later explicit and automatic saves through the destination worktree", - "a removed sibling, changed folder root, or changed direct-SSH generation after quiescence rejects migration without changing ownership" - ] - } - ], - "evidenceRuns": [ - { - "date": "2026-08-03", - "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/restored-editor-owner-reparent.test.ts src/renderer/src/components/editor/restored-editor-owner-save-lifecycle.test.ts src/renderer/src/lib/runtime-workspace-file-route.test.ts", - "result": "passed", - "durationSeconds": 3, - "summary": "Three deterministic files passed 20 lifecycle, stale-route, activation, ownership, host, collision, persistence, watch, and save tests.", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/editor/hydration/restored-editor-owner-reparent.test.ts src/renderer/src/components/editor/restored-editor-owner-save-lifecycle.test.ts" - } - ], + "oracle": "Audit3359 keeps two restored-editor-owner-reparent cases covering coupled dirty-editor/draft/preview/main-group migration and hot-exit serialization/hydration. The subscribed activation, collision refusal and mounted watch replacement/destination-event correlation alarms are intentionally lost without equivalent replacement. The complete compound dated receipt is retired verbatim. With no active receipt, protection and covered scope are cleared and prospective command/test-file/assertion selectors are retired; their complete originals and prior red/green/flake accounts remain historical in knownGaps. The retained reparent cases and unchanged save-lifecycle source remain reachable through broad unit execution, not active evidence for this gate. No fresh provider, filesystem restart, historical-import, mobile, mixed-version or cross-platform validation is claimed. Hold an old-owner save in flight, start migration, then remove the sibling, change a folder root, or reconnect SSH and require owner migration to fail closed after quiescence. On a stable route require one coherent target-workspace projection, first-activation terminal generation preparation, destination authority for explicit save and autosave, exact watch replacement, destination-only change/delete/rename handling, owner-derived state rekeys, and hot-exit restart ownership. Seed an invalid destination tab/group model before a collision and require the target projection to remain byte-identical.", + "commands": [], + "testFiles": [], + "assertionRefs": [], + "evidenceRuns": [], "runtimeBudget": { "p95Seconds": 5, "scope": "focused renderer store/controller contract on a local development runner" }, "flakeHistory": { "status": "unknown", - "evidence": "One local deterministic run is recorded; CI and soak history have not started." + "evidence": "Audit3359 retires the sole dated compound receipt. No fresh execution or soak history validates the reduced selector; original flake account is preserved verbatim as history." }, "redGreenEvidence": { - "status": "complete", - "evidence": "The final2 verifier's byte-identical post-quiescence lifecycle scope passed 21/21 on 7890271160 and failed 7 tests on f92db196a1; base e08eba674c, published 1bcfe3bcb0, and revert b3627461ab were structurally red. The permanent collision oracle is in test blob ac62a89c671a0c8f081ebf06736715bd2150ce9f (SHA-256 a61970ace80be1cb56f781aee6f878a8446c6c4527f9eb0cd0c151d8df96bf50). The same byte-identical blob is structurally red on base, published, and revert, behaviorally red on rejected final2 candidate 7890271160 because pre-commit reconciliation removes the stale destination tab, and green on implementation b72a838cdc; the full permanent gate passes 20/20." + "status": "missing", + "evidence": "Audit3359 changes the referenced test source and retires collision/watch/activation oracles. No fresh red/green proof applies to the reduced selector. The complete prior account is preserved verbatim in knownGaps as historical only." }, "performanceBudget": { "required": true, @@ -2952,7 +2784,18 @@ "Cold many-repo main-process sibling discovery remains a separately measured follow-up.", "Registered-workspace symlink policy remains inherited and unchanged.", "The test-value audit removed the standalone runtime-workspace file-route suite. Its direct same-host sibling, folder-root, exact-SSH, outside-path and directory-routing alarms are lost. Retained editor lifecycle contracts do not establish equivalent selector coverage; historical run commands and results remain historical.", - "The test-value audit narrows restored-editor-owner-reparent.test.ts by removing standalone unrelated-explorer-reveal, duplicate-tab repair/refusal, clean/dirty collision-table, watcher-target projection, folder-workspace context and direct-SSH provenance examples. Their exact scalar/ID/reference, selector and route/generation-field alarms are intentionally lost. The dirty collision variant did not assert preservation of its destination draft, and the main-owned duplicate-tab branch checked a synthetic missing-group refusal rather than duplicate repair. Remaining authored cases still check coupled dirty-state migration, subscribed activation, hot-exit roundtrip, rejection without destination reconciliation, mounted watch replacement and destination event correlation. They are not equivalent replacements for the deleted alarms. Historical executed commands, counts and results remain unchanged; no new live host, process restart or platform evidence is claimed." + "The test-value audit narrows restored-editor-owner-reparent.test.ts by removing standalone unrelated-explorer-reveal, duplicate-tab repair/refusal, clean/dirty collision-table, watcher-target projection, folder-workspace context and direct-SSH provenance examples. Their exact scalar/ID/reference, selector and route/generation-field alarms are intentionally lost. The dirty collision variant did not assert preservation of its destination draft, and the main-owned duplicate-tab branch checked a synthetic missing-group refusal rather than duplicate repair. Remaining authored cases still check coupled dirty-state migration, subscribed activation, hot-exit roundtrip, rejection without destination reconciliation, mounted watch replacement and destination event correlation. They are not equivalent replacements for the deleted alarms. Historical executed commands, counts and results remain unchanged; no new live host, process restart or platform evidence is claimed.", + "Audit3359 keeps two restored-editor-owner-reparent cases covering coupled dirty-editor/draft/preview/main-group migration and hot-exit serialization/hydration. The subscribed activation, collision refusal and mounted watch replacement/destination-event correlation alarms are intentionally lost without equivalent replacement. The complete compound dated receipt is retired verbatim. With no active receipt, protection and covered scope are cleared and prospective command/test-file/assertion selectors are retired; their complete originals and prior red/green/flake accounts remain historical in knownGaps. The retained reparent cases and unchanged save-lifecycle source remain reachable through broad unit execution, not active evidence for this gate. No fresh provider, filesystem restart, historical-import, mobile, mixed-version or cross-platform validation is claimed.", + "Audit3359 historical original assertionRefs object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n{\n \"file\": \"src/renderer/src/store/slices/editor/hydration/restored-editor-owner-reparent.test.ts\",\n \"assertions\": [\n \"one atomic commit rekeys owner-derived editor, preview, draft, cursor, view, tab, group, active, reveal, focus, provenance, and persistence state\",\n \"active reparenting uses the centralized workspace activation transaction for terminal, browser, pending-creation, explorer, first-activation, and post-commit state\",\n \"source watch unsubscribes once, destination watch subscribes once, and only destination change/delete/rename events reach the file\",\n \"a destination collision fails closed without changing current selection or reconciling destination tabs and groups\"\n ]\n }", + "Audit3359 historical original evidenceRuns object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n{\n \"date\": \"2026-08-03\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/restored-editor-owner-reparent.test.ts src/renderer/src/components/editor/restored-editor-owner-save-lifecycle.test.ts src/renderer/src/lib/runtime-workspace-file-route.test.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 3,\n \"summary\": \"Three deterministic files passed 20 lifecycle, stale-route, activation, ownership, host, collision, persistence, watch, and save tests.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/editor/hydration/restored-editor-owner-reparent.test.ts src/renderer/src/components/editor/restored-editor-owner-save-lifecycle.test.ts\"\n }", + "Audit3359 historical original protection object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"partial\"", + "Audit3359 historical original coveredPlatforms object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n[\"macos\"]", + "Audit3359 historical original coveredProviders object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n[\"local\", \"ssh\", \"paired-runtime\"]", + "Audit3359 historical original redGreenEvidence object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n{\n \"status\": \"complete\",\n \"evidence\": \"The final2 verifier's byte-identical post-quiescence lifecycle scope passed 21/21 on 7890271160 and failed 7 tests on f92db196a1; base e08eba674c, published 1bcfe3bcb0, and revert b3627461ab were structurally red. The permanent collision oracle is in test blob ac62a89c671a0c8f081ebf06736715bd2150ce9f (SHA-256 a61970ace80be1cb56f781aee6f878a8446c6c4527f9eb0cd0c151d8df96bf50). The same byte-identical blob is structurally red on base, published, and revert, behaviorally red on rejected final2 candidate 7890271160 because pre-commit reconciliation removes the stale destination tab, and green on implementation b72a838cdc; the full permanent gate passes 20/20.\"\n }", + "Audit3359 historical original flakeHistory object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n{\n \"status\": \"unknown\",\n \"evidence\": \"One local deterministic run is recorded; CI and soak history have not started.\"\n }", + "Audit3361 gate38 prospective commands selector retired; complete original preserved verbatim as historical only:\n[\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/editor/hydration/restored-editor-owner-reparent.test.ts src/renderer/src/components/editor/restored-editor-owner-save-lifecycle.test.ts\"\n ]", + "Audit3361 gate38 prospective testFiles selector retired; complete original preserved verbatim as historical only:\n[\n \"src/renderer/src/store/slices/editor/hydration/restored-editor-owner-reparent.test.ts\",\n \"src/renderer/src/components/editor/restored-editor-owner-save-lifecycle.test.ts\"\n ]", + "Audit3361 gate38 prospective assertionRefs selector retired; complete original preserved verbatim as historical only:\n[\n {\n \"file\": \"src/renderer/src/store/slices/editor/hydration/restored-editor-owner-reparent.test.ts\",\n \"assertions\": [\n \"coupled dirty-editor ID, draft, preview and main-group migration remains coherent\",\n \"hot-exit serialization and hydration preserve migrated editor ownership and dirty state\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/editor/restored-editor-owner-save-lifecycle.test.ts\",\n \"assertions\": [\n \"migration waits for the old save queue and routes later explicit and automatic saves through the destination worktree\",\n \"a removed sibling, changed folder root, or changed direct-SSH generation after quiescence rejects migration without changing ownership\"\n ]\n }\n ]" ], "demotionRule": "Keep experimental or demote if migration can race a save, retain source authority, fan out watches, lose dirty/editor state, accept an owner-generation change, merge a collision, or the focused contract flakes without a product or harness bug." }, @@ -3596,16 +3439,16 @@ "providers": ["local", "ssh"], "coveredPlatforms": ["macos"], "coveredProviders": [], - "coverageNotes": "Module layout SSH policy: Retire reset/private-arithmetic generation rollover registrations. The two retained local-versus-SSH mutation refusals do not establish process-scope rollover or sibling-token invalidation; remove this unrelated gate selector and its rollover assertion claim. Unchanged unrelated execution receipts retain only their original scope. No replacement, fresh rollover execution or cross-platform proof is claimed. Historical prior account (preserved verbatim): Audit2003: Remove the standalone one-client shared-runtime/headless-publication example. The retained two-client callback (real WebSocket/runtime coordination with supplied Git listings and watcher notifications) and invalidated scan/reconnect races keep their exact owning scope, without replacement-equivalence or rendered-headless proof. Retire the entire dated38-case receipt through its effective currentCommand. Preserve the unrelated SSH bridge receipt and paired Electron receipt within their original commands. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1645 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1412 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Local deterministic evidence covers git-common classification, desktop watcher debounce counts, non-overlapping poller semantics, macOS native-watch fallback, paired-runtime publication to two independent clients with reconnect and stale-cache checks, and process generation-scope rollover across sibling targets. A headed macOS Electron host and separate paired Electron client both rendered a worktree created through the real Git binary and watcher entry path without reconnect. Linux/Windows desktop clients, multi-target live fanout, and WSL runs remain gaps. Audit1309: src/main/ipc/worktrees/creation/worktree-head-identity-reader.test.ts: Keep real filesystem HEAD/loose/packed/relative metadata reads and traversal refusal. Remove invalid-oid/nonstandard-layout characterization. Lose malformed object-id and bare-dir omission alarms; no Git-produced layout claim. Reduced selectors require fresh validation; prior full-suite receipts do not validate removed or changed coverage. No equivalent replacement or physical-provider claim. Audit1381 removes the two mock-forwarding registrations in src/renderer/src/components/right-sidebar/source-control/sync/git-status-push-signal-refresh.test.ts. Sibling attribution suppression and missing/unknown attribution refresh callback alarms are intentionally lost; no equivalent replacement or real hook lifecycle/status-update coverage is claimed. Remaining exact receipts, platform/provider scope, and budgets remain limited to their unchanged selectors; no new execution result is claimed. Audit1412: src/main/ssh/ssh-provider-authority.test.ts removed. Loses real AbortController revocation/target isolation/reentrancy outcomes, recreated-target generation-floor/session rollover behavior, stale mutation refusal and settled-registration cleanup alarms. These useful alarms are deliberately lost; no equivalent cancellation coverage is claimed. No equivalent replacement coverage is claimed.", + "coverageNotes": "Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. The whole main-window attach-services suite is removed: runtime/window attach, notifier wiring, reload/teardown and permission-handler mock orchestration alarms are intentionally lost. Prune its exact deleted command selectors, testFiles entries and notifier assertionRef where present; complete prior selectors/ref are archived. Unrelated dated receipts remain exact and retain their original scope; no fresh reduced-selector, native-window or remote execution is claimed. Module layout SSH policy: Retire reset/private-arithmetic generation rollover registrations. The two retained local-versus-SSH mutation refusals do not establish process-scope rollover or sibling-token invalidation; remove this unrelated gate selector and its rollover assertion claim. Unchanged unrelated execution receipts retain only their original scope. No replacement, fresh rollover execution or cross-platform proof is claimed. Historical prior account (preserved verbatim): Audit2003: Remove the standalone one-client shared-runtime/headless-publication example. The retained two-client callback (real WebSocket/runtime coordination with supplied Git listings and watcher notifications) and invalidated scan/reconnect races keep their exact owning scope, without replacement-equivalence or rendered-headless proof. Retire the entire dated38-case receipt through its effective currentCommand. Preserve the unrelated SSH bridge receipt and paired Electron receipt within their original commands. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1645 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1412 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Local deterministic evidence covers git-common classification, desktop watcher debounce counts, non-overlapping poller semantics, macOS native-watch fallback, paired-runtime publication to two independent clients with reconnect and stale-cache checks, and process generation-scope rollover across sibling targets. A headed macOS Electron host and separate paired Electron client both rendered a worktree created through the real Git binary and watcher entry path without reconnect. Linux/Windows desktop clients, multi-target live fanout, and WSL runs remain gaps. Audit1309: src/main/ipc/worktrees/creation/worktree-head-identity-reader.test.ts: Keep real filesystem HEAD/loose/packed/relative metadata reads and traversal refusal. Remove invalid-oid/nonstandard-layout characterization. Lose malformed object-id and bare-dir omission alarms; no Git-produced layout claim. Reduced selectors require fresh validation; prior full-suite receipts do not validate removed or changed coverage. No equivalent replacement or physical-provider claim. Audit1381 removes the two mock-forwarding registrations in src/renderer/src/components/right-sidebar/source-control/sync/git-status-push-signal-refresh.test.ts. Sibling attribution suppression and missing/unknown attribution refresh callback alarms are intentionally lost; no equivalent replacement or real hook lifecycle/status-update coverage is claimed. Remaining exact receipts, platform/provider scope, and budgets remain limited to their unchanged selectors; no new execution result is claimed. Audit1412: src/main/ssh/ssh-provider-authority.test.ts removed. Loses real AbortController revocation/target isolation/reentrancy outcomes, recreated-target generation-floor/session rollover behavior, stale mutation refusal and settled-registration cleanup alarms. These useful alarms are deliberately lost; no equivalent cancellation coverage is claimed. No equivalent replacement coverage is claimed.", "motivatingLinks": [ "https://github.com/stablyai/orca/pull/7086", "https://github.com/stablyai/orca/issues/16477" ], "invariant": "Index-only Git activity below the common Git directory must not emit worktrees:changed, invalidate worktree caches, or trigger fetchWorktrees fanout; structural add/remove/HEAD/gitdir/locked/config.worktree changes must still refresh worktrees and nudge Source Control. When the authoritative paired host accepts an external structural change for a uniquely identified server-local repo, each live client for that host must receive one existing host-scoped worktreesChanged invalidation and converge to the same repo/worktree identity without reconnect; duplicate watcher events must coalesce, stale cached or in-flight catalogs must not survive invalidation, and event-ignoring clients must remain compatible. Colliding local/SSH repo IDs must not publish the host-blind event until existing semantics can carry owner identity. External head moves (commit, amend, reset) must reach background worktree rows through spawn-free metadata reads, never through structural fanout. A process generation-scope rollover revokes every direct SSH target and old-scope provider request, not only the target whose counter exhausted.", - "oracle": "Module layout SSH policy: Retire reset/private-arithmetic generation rollover registrations. The two retained local-versus-SSH mutation refusals do not establish process-scope rollover or sibling-token invalidation; remove this unrelated gate selector and its rollover assertion claim. Unchanged unrelated execution receipts retain only their original scope. No replacement, fresh rollover execution or cross-platform proof is claimed. Historical prior account (preserved verbatim): Audit2003: Remove the standalone one-client shared-runtime/headless-publication example. The retained two-client callback (real WebSocket/runtime coordination with supplied Git listings and watcher notifications) and invalidated scan/reconnect races keep their exact owning scope, without replacement-equivalence or rendered-headless proof. Retire the entire dated38-case receipt through its effective currentCommand. Preserve the unrelated SSH bridge receipt and paired Electron receipt within their original commands. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Classify exact git-common paths as structural, status-only, or ignored; count notifications from debounced watcher events; force the Linux/Windows poll path to emit allowlisted leaf events, detect linked HEAD rewrites independent of entry-directory mtime, and surface in-place index rewrites via the backstop re-stat; diff head identities from metadata-file reads and notify only real head moves. Join the real runtime RPC server to two independently authenticated E2EE clients plus an event-ignoring client, advance the host Git inventory, trigger duplicate structural watcher callbacks, and require one host renderer notification plus one runtime event and a refreshed catalog per subscribed client; require the event-ignoring client to refresh safely on explicit read. Hold a scan after it captures old inventory, join it from a second paired client, publish the watcher invalidation, advance Git independently, and require both overlapping RPCs to retry or join one fresh scan before returning. Disconnect one client, advance inventory again, and require reconnect to read current state without stale event replay. Give a watcher a local repo ID colliding with an SSH owner and require the host renderer refresh while the unqualified runtime event stays absent. Force the real path in isolated Electron apps with git worktree add, a host Git inventory assertion, store-subscription barriers, matching host/client worktree identity, and visible rows in both renderers. For direct SSH, roll one exhausted target into a fresh process generation scope while invalidating sibling target tokens, and fill a partial pushed authority before clearing that target's PTY bindings once. Audit1381 removes the two mock-forwarding registrations in src/renderer/src/components/right-sidebar/source-control/sync/git-status-push-signal-refresh.test.ts. Sibling attribution suppression and missing/unknown attribution refresh callback alarms are intentionally lost; no equivalent replacement or real hook lifecycle/status-update coverage is claimed. Remaining exact receipts, platform/provider scope, and budgets remain limited to their unchanged selectors; no new execution result is claimed.", + "oracle": "Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. The whole main-window attach-services suite is removed: runtime/window attach, notifier wiring, reload/teardown and permission-handler mock orchestration alarms are intentionally lost. Prune its exact deleted command selectors, testFiles entries and notifier assertionRef where present; complete prior selectors/ref are archived. Unrelated dated receipts remain exact and retain their original scope; no fresh reduced-selector, native-window or remote execution is claimed. Module layout SSH policy: Retire reset/private-arithmetic generation rollover registrations. The two retained local-versus-SSH mutation refusals do not establish process-scope rollover or sibling-token invalidation; remove this unrelated gate selector and its rollover assertion claim. Unchanged unrelated execution receipts retain only their original scope. No replacement, fresh rollover execution or cross-platform proof is claimed. Historical prior account (preserved verbatim): Audit2003: Remove the standalone one-client shared-runtime/headless-publication example. The retained two-client callback (real WebSocket/runtime coordination with supplied Git listings and watcher notifications) and invalidated scan/reconnect races keep their exact owning scope, without replacement-equivalence or rendered-headless proof. Retire the entire dated38-case receipt through its effective currentCommand. Preserve the unrelated SSH bridge receipt and paired Electron receipt within their original commands. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Classify exact git-common paths as structural, status-only, or ignored; count notifications from debounced watcher events; force the Linux/Windows poll path to emit allowlisted leaf events, detect linked HEAD rewrites independent of entry-directory mtime, and surface in-place index rewrites via the backstop re-stat; diff head identities from metadata-file reads and notify only real head moves. Join the real runtime RPC server to two independently authenticated E2EE clients plus an event-ignoring client, advance the host Git inventory, trigger duplicate structural watcher callbacks, and require one host renderer notification plus one runtime event and a refreshed catalog per subscribed client; require the event-ignoring client to refresh safely on explicit read. Hold a scan after it captures old inventory, join it from a second paired client, publish the watcher invalidation, advance Git independently, and require both overlapping RPCs to retry or join one fresh scan before returning. Disconnect one client, advance inventory again, and require reconnect to read current state without stale event replay. Give a watcher a local repo ID colliding with an SSH owner and require the host renderer refresh while the unqualified runtime event stays absent. Force the real path in isolated Electron apps with git worktree add, a host Git inventory assertion, store-subscription barriers, matching host/client worktree identity, and visible rows in both renderers. For direct SSH, roll one exhausted target into a fresh process generation scope while invalidating sibling target tokens, and fill a partial pushed authority before clearing that target's PTY bindings once. Audit1381 removes the two mock-forwarding registrations in src/renderer/src/components/right-sidebar/source-control/sync/git-status-push-signal-refresh.test.ts. Sibling attribution suppression and missing/unknown attribution refresh callback alarms are intentionally lost; no equivalent replacement or real hook lifecycle/status-update coverage is claimed. Remaining exact receipts, platform/provider scope, and budgets remain limited to their unchanged selectors; no new execution result is claimed.", "commands": [ "pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/worktrees/creation/worktree-base-directory-event-filter.test.ts src/main/ipc/worktrees/creation/worktree-head-identity-reader.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/workspaces/catalog/external-worktree-paired-client-discovery.integration.test.ts src/main/window/attach-main-window-services.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/workspaces/catalog/external-worktree-paired-client-discovery.integration.test.ts", "ORCA_E2E_FORCE_HEADFUL=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-external-worktree-discovery.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1", "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/hooks/useIpcEvents-agent-status-ssh-authority.test.ts --reporter=dot" ], @@ -3613,7 +3456,6 @@ "src/main/ipc/worktrees/creation/worktree-base-directory-event-filter.test.ts", "src/main/ipc/worktrees/creation/worktree-head-identity-reader.test.ts", "src/main/runtime/workspaces/catalog/external-worktree-paired-client-discovery.integration.test.ts", - "src/main/window/attach-main-window-services.test.ts", "tests/e2e/paired-external-worktree-discovery.spec.ts", "src/renderer/src/hooks/useIpcEvents-agent-status-ssh-authority.test.ts" ], @@ -3641,12 +3483,6 @@ "an event-ignoring client remains compatible, and colliding local/SSH owners do not publish an owner-blind event" ] }, - { - "file": "src/main/window/attach-main-window-services.test.ts", - "assertions": [ - "main-window wiring installs the runtime as the watched-worktree remote-client notifier alongside the existing repo notifier" - ] - }, { "file": "tests/e2e/paired-external-worktree-discovery.spec.ts", "assertions": [ @@ -3718,7 +3554,11 @@ "Audit2003 historical original assertionRefs object, preserved verbatim; retired objects are not active execution evidence or replacement coverage:\n{\n \"file\": \"src/main/runtime/workspaces/catalog/external-worktree-paired-client-discovery.integration.test.ts\",\n \"assertions\": [\n \"duplicate host watcher callbacks coalesce to one local notification and one worktreesChanged event for each of two live paired clients\",\n \"host inventory and both paired catalogs advance to the same worktree identity after runtime cache invalidation\",\n \"an invalidated in-flight host scan and a second client's joined read converge through one fresh retry before either can return stale data\",\n \"a disconnected client reconnects to current catalog state without replaying a stale invalidation\",\n \"an event-ignoring client remains compatible, and colliding local/SSH owners do not publish an owner-blind event\",\n \"the shared runtime publication remains valid without a headed renderer notifier\"\n ]\n }", "Audit2003 historical original evidenceRuns object, preserved verbatim; retired objects are not active execution evidence or replacement coverage:\n{\n \"date\": \"2026-08-26\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/watched-worktree-catalog-notification.test.ts src/main/runtime/external-worktree-paired-client-discovery.integration.test.ts src/main/window/attach-main-window-services.test.ts\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/workspaces/catalog/external-worktree-paired-client-discovery.integration.test.ts src/main/window/attach-main-window-services.test.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 6.19,\n \"summary\": \"Three watcher/runtime/wiring files passed with 38 tests, including two-client publication, reconnect, stale scan fencing, headless parity, owner-collision suppression, failure isolation, and main-window notifier wiring. Historical run: the watched-worktree-catalog-notification suite was later removed as mock forwarding coverage; it is not an active gate or replacement-equivalence claim.\"\n }", "Module layout SSH policy: Retire reset/private-arithmetic generation rollover registrations. The two retained local-versus-SSH mutation refusals do not establish process-scope rollover or sibling-token invalidation; remove this unrelated gate selector and its rollover assertion claim. Unchanged unrelated execution receipts retain only their original scope. No replacement, fresh rollover execution or cross-platform proof is claimed.", - "Historical SSH generation selector and assertion metadata before policy retirement, preserved verbatim; not current coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/main/ssh/connection/authority/ssh-connection-generation.test.ts --reporter=dot\"\n\"src/main/ssh/connection/authority/ssh-connection-generation.test.ts\"\n{\n \"file\": \"src/main/ssh/connection/authority/ssh-connection-generation.test.ts\",\n \"assertions\": [\n \"one exhausted target rolls the process generation scope and invalidates every sibling target token\",\n \"old-scope mutation expectations fail while the new-scope authority continues rotating\"\n ]\n }" + "Historical SSH generation selector and assertion metadata before policy retirement, preserved verbatim; not current coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/main/ssh/connection/authority/ssh-connection-generation.test.ts --reporter=dot\"\n\"src/main/ssh/connection/authority/ssh-connection-generation.test.ts\"\n{\n \"file\": \"src/main/ssh/connection/authority/ssh-connection-generation.test.ts\",\n \"assertions\": [\n \"one exhausted target rolls the process generation scope and invalidates every sibling target token\",\n \"old-scope mutation expectations fail while the new-scope authority continues rotating\"\n ]\n }", + "Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. The whole main-window attach-services suite is removed: runtime/window attach, notifier wiring, reload/teardown and permission-handler mock orchestration alarms are intentionally lost. Prune its exact deleted command selectors, testFiles entries and notifier assertionRef where present; complete prior selectors/ref are archived. Unrelated dated receipts remain exact and retain their original scope; no fresh reduced-selector, native-window or remote execution is claimed. All earlier notes and dated/archived evidence retain original scopes.", + "Exact prior command before deleted attach-main-window-services selector removal: \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/workspaces/catalog/external-worktree-paired-client-discovery.integration.test.ts src/main/window/attach-main-window-services.test.ts\"", + "Exact retired testFiles selector: \"src/main/window/attach-main-window-services.test.ts\"", + "Complete prior assertionRef retired as historical data only: {\n \"file\": \"src/main/window/attach-main-window-services.test.ts\",\n \"assertions\": [\n \"main-window wiring installs the runtime as the watched-worktree remote-client notifier alongside the existing repo notifier\"\n ]\n }" ], "demotionRule": "Keep experimental or demote if the focused gate flakes without a product or harness bug, if index-only churn can emit worktrees:changed, or if structural add/remove/HEAD/lock changes fail to converge." }, @@ -3841,15 +3681,15 @@ "providers": ["local", "daemon", "ssh"], "coveredPlatforms": ["linux"], "coveredProviders": [], - "coverageNotes": "Audit2271: Linux coverage is limited to the unchanged serve-signal-exit-diagnostic supervisor selector and the late-handoff-after-child-exit assertion recorded below. It does not cover desktop promotion, renderer continuity, persistent PTYs or native updater behavior. No current local, daemon or SSH provider execution is established; coveredProviders is empty. Historical macOS/provider scope remains only in preserved prior accounts and archived receipts. Audit2252 removes the entire handassembled serve promotion/renderer hydration suite. Retired alarms: queued and repeated activation coalescing, duplicate serve suppression, unavailable-provider diagnostic, and zero resume/replacement accounting on independently supplied renderer state. The fixture never joined actual daemon-to-renderer delivery. These exact alarms have no equivalent replacement assigned. Remaining gate selectors keep their existing narrower scope; historical dated receipts remain verbatim and do not validate this changed selector set. No fresh runtime, native/provider, live remote/mobile, cross-platform or performance result is claimed. Archived removed active entries verbatim: commands: \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/serve-desktop-promotion-session-continuity.test.ts\"\ntestFiles: \"src/renderer/src/lib/serve-desktop-promotion-session-continuity.test.ts\"\nassertionRefs: {\n \"file\": \"src/renderer/src/lib/serve-desktop-promotion-session-continuity.test.ts\",\n \"assertions\": [\n \"a forced desktop relaunch reaching the headless lock owner opens exactly one window, and only after the persistent provider settles\",\n \"a duplicate `orca serve` launch never promotes the headless owner\",\n \"the renderer promoted inside the serve process resumes zero agents while daemon panes survive, before and after those panes rebind their PTYs\",\n \"no replacement resume tab, startup command, or automatic-resume claim is created, and every surviving session record is left untouched\"\n ]\n } Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2020: Retire CLI supervisor outcome, local-open promotion and paired-open projection alarms; launch retains only the two referenced stream-framing cases. Remaining CLI refusal/timeout cases do not replace headless-promotion coverage. Preserve both independent dated receipts at their original commands. Reduced selectors have no fresh result or equivalent replacement claim. Historical prior account (preserved verbatim): Audit1589 removes mock-only CLI forwarding, canned provisioning/catalog/error projections and private inventories without equivalent replacement coverage. Retained cases exercise actual local markdown/paste/reconciliation, stream framing/backpressure/output-drain, temporary directory cleanup and persisted handoff with injected host/provider/process boundaries. No real Jira, provisioning, remote launch, native pipe/process-tree authority or deployed provider catalog proof. Assertion references use the surviving handoff registration titles; changed-selector historical receipts are retired and unaffected receipts remain unchanged. Historical scope before this audit: Deterministic unit coverage exercises activation gating, single-instance ownership, local/remote CLI status, headless binding persistence, local daemon identity, SSH identity transfer, the promoted renderer's agent-resume accounting, and the macOS serve update handoff from staged installer through atomic bundle replacement and target-version readiness. Supervisor settlement coverage prevents a late handoff-completion failure from rearming termination after the replacement child exits. A macOS Electron journey covers headless promotion and persistent PTY identity. A disposable locally signed Electron canary exercised real ShipIt and a temporary LaunchAgent with the compiled production supervisor; full packaged Orca and Linux/Windows serve updates remain uncollected. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", + "coverageNotes": "Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. The whole main-window attach-services suite is removed: runtime/window attach, notifier wiring, reload/teardown and permission-handler mock orchestration alarms are intentionally lost. Prune its exact deleted command selectors, testFiles entries and notifier assertionRef where present; complete prior selectors/ref are archived. Unrelated dated receipts remain exact and retain their original scope; no fresh reduced-selector, native-window or remote execution is claimed. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit2271: Linux coverage is limited to the unchanged serve-signal-exit-diagnostic supervisor selector and the late-handoff-after-child-exit assertion recorded below. It does not cover desktop promotion, renderer continuity, persistent PTYs or native updater behavior. No current local, daemon or SSH provider execution is established; coveredProviders is empty. Historical macOS/provider scope remains only in preserved prior accounts and archived receipts. Audit2252 removes the entire handassembled serve promotion/renderer hydration suite. Retired alarms: queued and repeated activation coalescing, duplicate serve suppression, unavailable-provider diagnostic, and zero resume/replacement accounting on independently supplied renderer state. The fixture never joined actual daemon-to-renderer delivery. These exact alarms have no equivalent replacement assigned. Remaining gate selectors keep their existing narrower scope; historical dated receipts remain verbatim and do not validate this changed selector set. No fresh runtime, native/provider, live remote/mobile, cross-platform or performance result is claimed. Archived removed active entries verbatim: commands: \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/serve-desktop-promotion-session-continuity.test.ts\"\ntestFiles: \"src/renderer/src/lib/serve-desktop-promotion-session-continuity.test.ts\"\nassertionRefs: {\n \"file\": \"src/renderer/src/lib/serve-desktop-promotion-session-continuity.test.ts\",\n \"assertions\": [\n \"a forced desktop relaunch reaching the headless lock owner opens exactly one window, and only after the persistent provider settles\",\n \"a duplicate `orca serve` launch never promotes the headless owner\",\n \"the renderer promoted inside the serve process resumes zero agents while daemon panes survive, before and after those panes rebind their PTYs\",\n \"no replacement resume tab, startup command, or automatic-resume claim is created, and every surviving session record is left untouched\"\n ]\n } Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2020: Retire CLI supervisor outcome, local-open promotion and paired-open projection alarms; launch retains only the two referenced stream-framing cases. Remaining CLI refusal/timeout cases do not replace headless-promotion coverage. Preserve both independent dated receipts at their original commands. Reduced selectors have no fresh result or equivalent replacement claim. Historical prior account (preserved verbatim): Audit1589 removes mock-only CLI forwarding, canned provisioning/catalog/error projections and private inventories without equivalent replacement coverage. Retained cases exercise actual local markdown/paste/reconciliation, stream framing/backpressure/output-drain, temporary directory cleanup and persisted handoff with injected host/provider/process boundaries. No real Jira, provisioning, remote launch, native pipe/process-tree authority or deployed provider catalog proof. Assertion references use the surviving handoff registration titles; changed-selector historical receipts are retired and unaffected receipts remain unchanged. Historical scope before this audit: Deterministic unit coverage exercises activation gating, single-instance ownership, local/remote CLI status, headless binding persistence, local daemon identity, SSH identity transfer, the promoted renderer's agent-resume accounting, and the macOS serve update handoff from staged installer through atomic bundle replacement and target-version readiness. Supervisor settlement coverage prevents a late handoff-completion failure from rearming termination after the replacement child exits. A macOS Electron journey covers headless promotion and persistent PTY identity. A disposable locally signed Electron canary exercised real ShipIt and a temporary LaunchAgent with the compiled production supervisor; full packaged Orca and Linux/Windows serve updates remain uncollected. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", "motivatingLinks": [ "https://github.com/stablyai/orca/issues/8457", "https://github.com/stablyai/orca/issues/9563" ], "invariant": "A safely promotable headless serve process is the single app owner. Desktop activation preserves its daemon-backed sessions. On macOS, a CLI-supervised serve update keeps the node-mode parent alive across ShipIt's atomic bundle swap, restarts with the original serve arguments only after the target bundle is present, and clears handoff state only after that target version reports runtime readiness. Once a supervised child exits or fails to start, no late handoff completion may signal it or arm force-kill escalation. Unsupported or failed handoffs leave the current serving owner intact or recover it once without an install retry loop.", - "oracle": "Audit2252: The removed synthetic lock/gate/hydration fixture supplies no current promotion continuity oracle. Existing other selectors retain only their own independent scope; changed selector execution is pending. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2020: Retire CLI supervisor outcome, local-open promotion and paired-open projection alarms; launch retains only the two referenced stream-framing cases. Remaining CLI refusal/timeout cases do not replace headless-promotion coverage. Preserve both independent dated receipts at their original commands. Reduced selectors have no fresh result or equivalent replacement claim. Historical prior account (preserved verbatim): Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Unit tests coalesce early activation, preserve daemon and SSH identity, and reproduce the update race with a staged target, old serving child, persistent CLI parent, atomic .app replacement, and replacement readiness message. They assert the parent does not exit for launchd to respawn the old app, the native updater does not launch an interactive GUI, the replacement version is verified before handoff completion, mismatches become durable failures without retries, and unsupported/preflight-failed installs do not invoke native quit or PTY cleanup. Force handoff completion to fail after the replacement child exits and require zero later child signals and zero escalation timers. A joined lock-owner/activation/hydration contract asserts that a forced relaunch opens exactly one window and that the renderer promoted inside the serve process launches zero agent resumes, creates no replacement tab or startup command, and leaves every surviving session record untouched. The Electron journey independently verifies headless promotion retains owner/runtime/daemon/PTY identity and terminal I/O.", + "oracle": "Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. The whole main-window attach-services suite is removed: runtime/window attach, notifier wiring, reload/teardown and permission-handler mock orchestration alarms are intentionally lost. Prune its exact deleted command selectors, testFiles entries and notifier assertionRef where present; complete prior selectors/ref are archived. Unrelated dated receipts remain exact and retain their original scope; no fresh reduced-selector, native-window or remote execution is claimed. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit2252: The removed synthetic lock/gate/hydration fixture supplies no current promotion continuity oracle. Existing other selectors retain only their own independent scope; changed selector execution is pending. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2020: Retire CLI supervisor outcome, local-open promotion and paired-open projection alarms; launch retains only the two referenced stream-framing cases. Remaining CLI refusal/timeout cases do not replace headless-promotion coverage. Preserve both independent dated receipts at their original commands. Reduced selectors have no fresh result or equivalent replacement claim. Historical prior account (preserved verbatim): Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Unit tests coalesce early activation, preserve daemon and SSH identity, and reproduce the update race with a staged target, old serving child, persistent CLI parent, atomic .app replacement, and replacement readiness message. They assert the parent does not exit for launchd to respawn the old app, the native updater does not launch an interactive GUI, the replacement version is verified before handoff completion, mismatches become durable failures without retries, and unsupported/preflight-failed installs do not invoke native quit or PTY cleanup. Force handoff completion to fail after the replacement child exits and require zero later child signals and zero escalation timers. A joined lock-owner/activation/hydration contract asserts that a forced relaunch opens exactly one window and that the renderer promoted inside the serve process launches zero agent resumes, creates no replacement tab or startup command, and leaves every surviving session record untouched. The Electron journey independently verifies headless promotion retains owner/runtime/daemon/PTY identity and terminal I/O.", "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/cli/runtime/launch.test.ts src/main/updater/serve-update-handoff.test.ts src/main/updater/updater.headless-serve-install.test.ts src/main/updater/mac-install/updater.mac-install.test.ts src/main/window/attach-main-window-services.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/cli/runtime/launch.test.ts src/main/updater/serve-update-handoff.test.ts src/main/updater/updater.headless-serve-install.test.ts src/main/updater/mac-install/updater.mac-install.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/cli/runtime/serve-signal-exit-diagnostic.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/startup/serve-desktop-activation.test.ts src/cli/runtime-client.test.ts src/cli/runtime/websocket-transport.test.ts src/main/runtime/construction/orca-runtime.test.ts", "pnpm exec electron-vite build --mode e2e", @@ -3971,7 +3811,10 @@ "Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/mobile-session-tabs-part-14.spec'). src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-03.spec.ts: arms the stale-title timer for a seeded working title; arms the Command Code scrape from the noted spawn command; prefers the tracked title over a stale renderer lastTitle in the hydration seed; writes recent output into the current runtime output map; uses a later title handler replacement with the runtime receiver; calls the current injected listener with the runtime receiver; keeps optional reconciliation lazy after its callback is removed. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-14.spec.ts: lists them, so a paired client can mirror a migrated editor; closes one by retiring it from the host session; keeps an unsaved draft unless the close is forced; shares aggregate work but leaves a replacement pending promise alone; lets a targeted refresh finish while an aggregate refresh waits; refuses a close when the store lacks %s before the guard; keeps a later missing %s on the original caught failure path. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed.", "Audit2061 (sources2059/2060): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/mobile-session-tabs-headless-chat-rebuild.spec'); await import('./orca-runtime-tests/mobile-session-tabs-cold-serve-hydrate.spec'); await import('./orca-runtime-tests/worktree-removal-execution-host.spec'); await import('./orca-runtime-tests/terminal-spawn-dispatch.spec'). src/main/runtime/orca-runtime-tests/headless-snapshots-part-02.spec.ts: replaces a cwd parsed before late WSL context with the provider cwd; keeps a live WSL cwd that arrives during late-context snapshot recovery; infers local reconstructed WSL context from a WSL UNC worktree; clears stale terminal file URI hostnames after empty-host OSC7 cwd updates; serializes SSH headless OSC7 cwd as POSIX when the desktop runtime is on Windows; keeps Windows SSH OSC7 cwd as a drive path when the desktop runtime is POSIX; serializes Windows SSH headless OSC7 cwd as a drive path on POSIX desktops; infers restored SSH connection identity from app-scoped PTY ids. src/main/runtime/orca-runtime-tests/mobile-session-tabs-headless-chat-rebuild.spec.ts: survives the rebuild that closing a saved editor tab forces; keeps its place in the tab order when the host lists the workspace again; lists tabs to phones in the order desktop clients draw after a rebuild; keeps the place a window gave a chat across a graph resend before the chat is restored. src/main/runtime/orca-runtime-tests/mobile-session-tabs-cold-serve-hydrate.spec.ts: lists every persisted terminal of a windowless host after a cold restart; lists every persisted terminal in the all-worktrees inventory after a cold restart; lists persisted editor tabs beside the terminals after a cold restart; restores a persisted split group layout on the cold rebuild; restores the saved active group of a split even when it is not the first group; falls back to the active tab group when the saved active group was not restored; keeps the headless group active when there is no persisted split; keeps phone and CLI creates in the group they joined across a cold restart. src/main/runtime/orca-runtime-tests/worktree-removal-failed-retry.spec.ts: lists the leftover with its error, though Git no longer does; takes the normal delete once Git registers a checkout at the path again; joins a retry another client started while this Delete listed Git; shows the failed row with its error, not the scan cached before the delete. src/main/runtime/orca-runtime-tests/worktree-removal-execution-host.spec.ts: refuses an SSH row whose host is unreachable instead of deleting here; refuses a runtime row with no nested SSH target rather than deleting locally; refuses a runtime row that also names a nested SSH target; retains runtime purge dispatch in a recovery job; uses the runtime helper override before resuming an interrupted removal; uses the runtime helper override before retrying a failed removal; captures the watcher callback and retains its job-host receiver; reads the current runtime removal queue. src/main/runtime/orca-runtime-tests/terminal-spawn-dispatch.spec.ts: reports the spawn request before it leaves for the pty controller; reports it even when the spawn itself then fails; does not report it when the create fails before any spawn request; captures the admission method before reading the incarnation; captures the record method before evaluating its state object; skips database payload serialization when no database exists; skips a throwing database payload when no database exists; keeps the database method and receiver captured before its payload; captures the canonical map method before a binding getter changes it; completes the captured replacement fence without another map lookup. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed.", "Module layout policy correction: retire the remaining program-status-osc.spec.ts event-projection case (production/mock-derived pane-key oracle) and sign-in timeout case (real setTimeout wait with Date-only fake clocks). The runtime test registrar no longer imports that file. No replacement coverage or fresh execution is claimed for these losses; historical receipts retain their original source scope.", - "Module layout policy correction: retire the two remaining worktree-ps-agent-row-dismissal.spec.ts registrations. The remint/dismissal/exit case computed expected snapshotVersion increments from a production snapshot and used real-clock vi.waitFor; the legacy OSC case derived its expected paneKey from the production layout-owner switch. The runtime registrar no longer imports this file. These public projection scenarios have no replacement coverage or fresh execution claimed; all historical receipts and earlier loss notes retain their original source scope." + "Module layout policy correction: retire the two remaining worktree-ps-agent-row-dismissal.spec.ts registrations. The remint/dismissal/exit case computed expected snapshotVersion increments from a production snapshot and used real-clock vi.waitFor; the legacy OSC case derived its expected paneKey from the production layout-owner switch. The runtime registrar no longer imports this file. These public projection scenarios have no replacement coverage or fresh execution claimed; all historical receipts and earlier loss notes retain their original source scope.", + "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Original scope text is retained as the exact suffix of coverageNotes/oracle; historical evidence is unchanged.", + "Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. The whole main-window attach-services suite is removed: runtime/window attach, notifier wiring, reload/teardown and permission-handler mock orchestration alarms are intentionally lost. Prune its exact deleted command selectors, testFiles entries and notifier assertionRef where present; complete prior selectors/ref are archived. Unrelated dated receipts remain exact and retain their original scope; no fresh reduced-selector, native-window or remote execution is claimed. All earlier notes and dated/archived evidence retain original scopes.", + "Exact prior command before deleted attach-main-window-services selector removal: \"pnpm exec vitest run --config config/vitest.config.ts src/cli/runtime/launch.test.ts src/main/updater/serve-update-handoff.test.ts src/main/updater/updater.headless-serve-install.test.ts src/main/updater/mac-install/updater.mac-install.test.ts src/main/window/attach-main-window-services.test.ts\"" ], "demotionRule": "Quarantine the Electron journey only with a linked product or harness defect; demote if activation changes the owner/runtime/daemon/PTY identity, loses prior output, opens before provider readiness, or fails to honor a committed quit." }, @@ -3991,16 +3834,16 @@ "providers": ["local", "daemon", "ssh", "paired-runtime"], "coveredPlatforms": ["macos"], "coveredProviders": ["local", "daemon", "paired-runtime"], - "coverageNotes": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Deterministic lifecycle, IPC, window-notification, and runtime ownership tests cover generation replacement, stale callbacks, same-frame old-document publication, blocked external navigation, cancelled renderer navigation, concurrent provisional starts, process loss, timeout cleanup, headless fallback, and competing windows. Isolated macOS Electron validation covers cancelled navigation, forced renderer recovery, and headless serve promotion with live daemon-backed PTY identity and I/O. Linux, Windows, WSL, SSH promotion, and mixed-version desktop/server live runs remain uncollected; the renderer generation stays local to Electron IPC and does not change the remote wire. The renderer scheduling fixture now retains in-flight coalescing only, and payload partitioning retains publication-failure and main-dropped-worktree retry. Immediate publication, stale SSH cleanup, reconnect resync and isolated partition membership alarms were removed; other lifecycle evidence does not establish equivalent coverage. Audit1312 removes low-value imported specs from aggregate test drivers; old whole-driver execution receipts are archived. Retained registrations are unchanged. No equivalent replacement coverage is claimed. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1400: src/renderer/src/runtime/sync-runtime-graph-scheduling.test.ts removed. Removes whole coalescing call-count suite; no newest-state delivery or replacement claim. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", + "coverageNotes": "Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. The whole main-window attach-services suite is removed: runtime/window attach, notifier wiring, reload/teardown and permission-handler mock orchestration alarms are intentionally lost. Prune its exact deleted command selectors, testFiles entries and notifier assertionRef where present; complete prior selectors/ref are archived. Unrelated dated receipts remain exact and retain their original scope; no fresh reduced-selector, native-window or remote execution is claimed. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Deterministic lifecycle, IPC, window-notification, and runtime ownership tests cover generation replacement, stale callbacks, same-frame old-document publication, blocked external navigation, cancelled renderer navigation, concurrent provisional starts, process loss, timeout cleanup, headless fallback, and competing windows. Isolated macOS Electron validation covers cancelled navigation, forced renderer recovery, and headless serve promotion with live daemon-backed PTY identity and I/O. Linux, Windows, WSL, SSH promotion, and mixed-version desktop/server live runs remain uncollected; the renderer generation stays local to Electron IPC and does not change the remote wire. The renderer scheduling fixture now retains in-flight coalescing only, and payload partitioning retains publication-failure and main-dropped-worktree retry. Immediate publication, stale SSH cleanup, reconnect resync and isolated partition membership alarms were removed; other lifecycle evidence does not establish equivalent coverage. Audit1312 removes low-value imported specs from aggregate test drivers; old whole-driver execution receipts are archived. Retained registrations are unchanged. No equivalent replacement coverage is claimed. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1400: src/renderer/src/runtime/sync-runtime-graph-scheduling.test.ts removed. Removes whole coalescing call-count suite; no newest-state delivery or replacement claim. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", "motivatingLinks": [ "https://github.com/stablyai/orca/issues/14066", "https://linear.app/stably/issue/STA-4016", "https://github.com/stablyai/orca/pull/14070" ], "invariant": "Every genuine renderer graph reload revision settles exactly once, while a blocked external navigation that preserves the current document never starts a revision. A cancelled renderer-document navigation restores authority only when that same renderer survived; cancellation after an earlier document committed remains fenced until publication or timeout. Replacing a reload cancels only the prior revision; its timer and callbacks cannot settle a newer revision. A desktop reload succeeds only from a publication carrying a new renderer-document generation, while a failed headless promotion may recover only from its originating window. Timeout, renderer loss, and close reach a terminal graph state, and successful desktop publication permanently retires headless sentinel fallback until a new headless runtime is established.", - "oracle": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Start a blocked external main-frame navigation and require the current renderer graph and notification path to remain authoritative. Start a same-renderer navigation, cancel it before commit, and require the renderer canary and ready authority to survive; coalesce overlapping provisional starts into one fence, and keep an earlier committed reload fenced if a later navigation is cancelled. Drive two genuine reloads half a timeout apart and require the first deadline to leave the second revision reloading while the second deadline alone makes it unavailable. During the second revision publish from the prior renderer document through the still-current main frame and require rejection without graph mutation or timeout cancellation. Restore headless authority after failed promotion, publish from a competing window, and require rejection while the sentinel remains authoritative. Then force a real renderer crash and separately promote an isolated headless serve owner; require runtime graph readiness, stable runtime/main/daemon/PTY identities, recovered visible terminal output, and post-recovery input/output.", + "oracle": "Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. The whole main-window attach-services suite is removed: runtime/window attach, notifier wiring, reload/teardown and permission-handler mock orchestration alarms are intentionally lost. Prune its exact deleted command selectors, testFiles entries and notifier assertionRef where present; complete prior selectors/ref are archived. Unrelated dated receipts remain exact and retain their original scope; no fresh reduced-selector, native-window or remote execution is claimed. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Start a blocked external main-frame navigation and require the current renderer graph and notification path to remain authoritative. Start a same-renderer navigation, cancel it before commit, and require the renderer canary and ready authority to survive; coalesce overlapping provisional starts into one fence, and keep an earlier committed reload fenced if a later navigation is cancelled. Drive two genuine reloads half a timeout apart and require the first deadline to leave the second revision reloading while the second deadline alone makes it unavailable. During the second revision publish from the prior renderer document through the still-current main frame and require rejection without graph mutation or timeout cancellation. Restore headless authority after failed promotion, publish from a competing window, and require rejection while the sentinel remains authoritative. Then force a real renderer crash and separately promote an isolated headless serve owner; require runtime graph readiness, stable runtime/main/daemon/PTY identities, recovered visible terminal output, and post-recovery input/output.", "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/session-graph/runtime-graph-reload-lifecycle.test.ts src/main/window/runtime-renderer-notification-sender.test.ts src/main/window/renderer-document-navigation.test.ts src/main/ipc/runtime.test.ts src/main/window/attach-main-window-services.test.ts src/main/runtime/construction/orca-runtime.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-payload-partition.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/session-graph/runtime-graph-reload-lifecycle.test.ts src/main/window/runtime-renderer-notification-sender.test.ts src/main/window/renderer-document-navigation.test.ts src/main/ipc/runtime.test.ts src/main/runtime/construction/orca-runtime.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-payload-partition.test.ts", "pnpm exec electron-vite build --mode e2e", "SKIP_BUILD=1 pnpm exec playwright test tests/e2e/renderer-blocked-navigation-graph-authority.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1", "SKIP_BUILD=1 pnpm exec playwright test e2e/renderer-crash-recovery-terminal-input.spec.ts tests/e2e/renderer-crash-recovery-terminal-input.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1", @@ -4011,7 +3854,6 @@ "src/main/window/runtime-renderer-notification-sender.test.ts", "src/main/window/renderer-document-navigation.test.ts", "src/main/ipc/runtime.test.ts", - "src/main/window/attach-main-window-services.test.ts", "src/main/runtime/construction/orca-runtime.test.ts", "src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-payload-partition.test.ts", "tests/e2e/renderer-blocked-navigation-graph-authority.spec.ts", @@ -4140,7 +3982,11 @@ "Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/mobile-session-tabs-part-14.spec'). src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-03.spec.ts: arms the stale-title timer for a seeded working title; arms the Command Code scrape from the noted spawn command; prefers the tracked title over a stale renderer lastTitle in the hydration seed; writes recent output into the current runtime output map; uses a later title handler replacement with the runtime receiver; calls the current injected listener with the runtime receiver; keeps optional reconciliation lazy after its callback is removed. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-14.spec.ts: lists them, so a paired client can mirror a migrated editor; closes one by retiring it from the host session; keeps an unsaved draft unless the close is forced; shares aggregate work but leaves a replacement pending promise alone; lets a targeted refresh finish while an aggregate refresh waits; refuses a close when the store lacks %s before the guard; keeps a later missing %s on the original caught failure path. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed.", "Audit2061 (sources2059/2060): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/mobile-session-tabs-headless-chat-rebuild.spec'); await import('./orca-runtime-tests/mobile-session-tabs-cold-serve-hydrate.spec'); await import('./orca-runtime-tests/worktree-removal-execution-host.spec'); await import('./orca-runtime-tests/terminal-spawn-dispatch.spec'). src/main/runtime/orca-runtime-tests/headless-snapshots-part-02.spec.ts: replaces a cwd parsed before late WSL context with the provider cwd; keeps a live WSL cwd that arrives during late-context snapshot recovery; infers local reconstructed WSL context from a WSL UNC worktree; clears stale terminal file URI hostnames after empty-host OSC7 cwd updates; serializes SSH headless OSC7 cwd as POSIX when the desktop runtime is on Windows; keeps Windows SSH OSC7 cwd as a drive path when the desktop runtime is POSIX; serializes Windows SSH headless OSC7 cwd as a drive path on POSIX desktops; infers restored SSH connection identity from app-scoped PTY ids. src/main/runtime/orca-runtime-tests/mobile-session-tabs-headless-chat-rebuild.spec.ts: survives the rebuild that closing a saved editor tab forces; keeps its place in the tab order when the host lists the workspace again; lists tabs to phones in the order desktop clients draw after a rebuild; keeps the place a window gave a chat across a graph resend before the chat is restored. src/main/runtime/orca-runtime-tests/mobile-session-tabs-cold-serve-hydrate.spec.ts: lists every persisted terminal of a windowless host after a cold restart; lists every persisted terminal in the all-worktrees inventory after a cold restart; lists persisted editor tabs beside the terminals after a cold restart; restores a persisted split group layout on the cold rebuild; restores the saved active group of a split even when it is not the first group; falls back to the active tab group when the saved active group was not restored; keeps the headless group active when there is no persisted split; keeps phone and CLI creates in the group they joined across a cold restart. src/main/runtime/orca-runtime-tests/worktree-removal-failed-retry.spec.ts: lists the leftover with its error, though Git no longer does; takes the normal delete once Git registers a checkout at the path again; joins a retry another client started while this Delete listed Git; shows the failed row with its error, not the scan cached before the delete. src/main/runtime/orca-runtime-tests/worktree-removal-execution-host.spec.ts: refuses an SSH row whose host is unreachable instead of deleting here; refuses a runtime row with no nested SSH target rather than deleting locally; refuses a runtime row that also names a nested SSH target; retains runtime purge dispatch in a recovery job; uses the runtime helper override before resuming an interrupted removal; uses the runtime helper override before retrying a failed removal; captures the watcher callback and retains its job-host receiver; reads the current runtime removal queue. src/main/runtime/orca-runtime-tests/terminal-spawn-dispatch.spec.ts: reports the spawn request before it leaves for the pty controller; reports it even when the spawn itself then fails; does not report it when the create fails before any spawn request; captures the admission method before reading the incarnation; captures the record method before evaluating its state object; skips database payload serialization when no database exists; skips a throwing database payload when no database exists; keeps the database method and receiver captured before its payload; captures the canonical map method before a binding getter changes it; completes the captured replacement fence without another map lookup. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed.", "Module layout policy correction: retire the remaining program-status-osc.spec.ts event-projection case (production/mock-derived pane-key oracle) and sign-in timeout case (real setTimeout wait with Date-only fake clocks). The runtime test registrar no longer imports that file. No replacement coverage or fresh execution is claimed for these losses; historical receipts retain their original source scope.", - "Module layout policy correction: retire the two remaining worktree-ps-agent-row-dismissal.spec.ts registrations. The remint/dismissal/exit case computed expected snapshotVersion increments from a production snapshot and used real-clock vi.waitFor; the legacy OSC case derived its expected paneKey from the production layout-owner switch. The runtime registrar no longer imports this file. These public projection scenarios have no replacement coverage or fresh execution claimed; all historical receipts and earlier loss notes retain their original source scope." + "Module layout policy correction: retire the two remaining worktree-ps-agent-row-dismissal.spec.ts registrations. The remint/dismissal/exit case computed expected snapshotVersion increments from a production snapshot and used real-clock vi.waitFor; the legacy OSC case derived its expected paneKey from the production layout-owner switch. The runtime registrar no longer imports this file. These public projection scenarios have no replacement coverage or fresh execution claimed; all historical receipts and earlier loss notes retain their original source scope.", + "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Original scope text is retained as the exact suffix of coverageNotes/oracle; historical evidence is unchanged.", + "Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. The whole main-window attach-services suite is removed: runtime/window attach, notifier wiring, reload/teardown and permission-handler mock orchestration alarms are intentionally lost. Prune its exact deleted command selectors, testFiles entries and notifier assertionRef where present; complete prior selectors/ref are archived. Unrelated dated receipts remain exact and retain their original scope; no fresh reduced-selector, native-window or remote execution is claimed. All earlier notes and dated/archived evidence retain original scopes.", + "Exact prior command before deleted attach-main-window-services selector removal: \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/session-graph/runtime-graph-reload-lifecycle.test.ts src/main/window/runtime-renderer-notification-sender.test.ts src/main/window/renderer-document-navigation.test.ts src/main/ipc/runtime.test.ts src/main/window/attach-main-window-services.test.ts src/main/runtime/construction/orca-runtime.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-payload-partition.test.ts\"", + "Exact retired testFiles selector: \"src/main/window/attach-main-window-services.test.ts\"" ], "demotionRule": "Demote if a reload revision settles more than once, a stale document or competing window can publish, a timer survives settlement, desktop failure stays indefinitely reloading, headless fallback returns after successful promotion, or either isolated Electron journey loses runtime or PTY identity." }, @@ -4230,10 +4076,10 @@ "providers": ["remote-runtime"], "coveredPlatforms": ["macos"], "coveredProviders": ["remote-runtime"], - "coverageNotes": "Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Deterministic main-IPC contract tests cover disconnect-driven close delivery, exactly-once close, per-subscription teardown isolation against a failing socket close and a throwing liveness probe, containment of a throwing renderer send on the unguarded host-close path, and continued suppression of stale payloads from a retired transport. A headed paired-server journey (real Orca host plus a separate paired Orca desktop client) covers hidden-but-mounted reveal, cold-parked reveal, and cold-parked reveal across a disconnect/reconnect. Live Linux and Windows paired-server evidence and real sleep/wake transport loss remain uncollected.", + "coverageNotes": "Audit3492 composes ROOT-approved75(AUTHOR3475/PEER3476 and AUTHOR3485/PEER3481, including five-field clarification and zero-credit selector3483) plus123(AUTHOR3486/PEER3487 reconciled FINAL3491, including peer case10:3 and9:0 wording clarifications). It intentionally removes198 authored registrations/232 finite literal-table potential registrations across70 changed JS/TS test sources, including45 whole suites;87 authored/90 finite potential registrations remain across95 reviewed JS/TS bodies. One mobile native-suspension manual recipe and the now-unreferenced GitLab mock fixture helper are separately removed with zero registration credit. Static literal table potential is not execution. No equivalent replacement, fresh runtime result or merge credit is claimed. Earlier135 complete dated receipts, all raw gaps and full prior98/161/history notes retain their exact scopes and bytes. The additional123 retirement accepts loss of mocked GitLab request/error/identity/classification inventories; basic Linear migration and metadata discovery; simulated OpenCode key failed-save retention/retry/log redaction; analytics identity-flush smoke that did not prove ordering; AppImage static entry guards and empty-staging cleanup; GPU/process/minidump breadcrumb/annotation shapes and weak redaction oracles; namespace/status/foreign-launcher ownership guards and persistence roundtrips; profile transfer field projections; worker hook/screen/incarnation/result admission/classification guards; and source-coupled CLI transaction fixtures. Privileged publication failure injection was a false-positive: its mkdir regex missed -m 700 and outer rejection accepted an inner assertion before any shell ran. The identity-flush case awaited identity after flush and could pass despite early flush. Retained actual negative-token cache recovery, SQL filter-before-LIMIT open approval, unreadable-root FTS preservation/degradation, latest-connect-wins persistence, worker stop-debt settlement, unmodified same-inode foreign-content transaction, explicit incomplete-pagination error, FTS own-message snippet association, filter-before-route result and bounded-search truncation honesty are distinct bounded outcomes, not replacements for retired alarms. Case9:0 checks both roots before chmod but only mounted-session/degraded-root after chmod. Entire extraction-root suite is removed; no retained extraction cleanup is claimed. Removing the manual iOS foreground-stall shell script loses its unique real native-suspension recipe; timer tests do not replace it. First-match PIDs, indefinite waiting, broad success matching and absent trap cleanup made that diagnostic brittle and able to leave a desktop stopped. The current Windows operational driver remains byte-exact, preserving already-merged removal of orcad-convert and orcad-cli-convert selectors and the retained cmd/powershell/managed CLI lanes. The package skill-sharing release selector loses only the exact already-retired skills-suite token; no extra test credit. Included approved75 retirement account follows (historical proposal labels identify provenance; final198 counts above control): Audit3488 composes ROOT-approved source49(AUTHOR3485/PEER3481, including its immutable five-field clarification) and source26(AUTHOR3475/PEER3476): intentionally removes75 authored registrations/87 finite potential registrations across35 changed sources, including25 whole suites;35 authored/36 finite potential registrations remain in the combined reviewed scopes. Literal table potential counts are not executions. This source-only reduction has no equivalent replacement, fresh runtime result or merge credit. Root unit discovery deliberately loses entire message-row filtering/chunk reconstruction, discussion-pagination rejection passthrough, Linear bearer/stack redaction, new-profile telemetry/default/existing-JSON no-op, WSL user-trigger routing, terminal-delivery refusal, native-chat worker-approval UI, followup-paste routing, live-surface tombstone refusal, activity-bar hydration, fabricated approval-caller policy, child-PATH transformation and branch-review URL/identity suites. It also loses cache roundtrip/mode/fingerprint/fallback/no-op samples; GPU field-shape privacy examples; older auth-probe failure retention; orphan SQLite-sidecar/future-schema admission; usage tie/duplicate/composite-key examples; allocation-name sanitizer/unknown-prefix examples; real worker-and-backup preflight wrapper smoke; and JSONL descriptor-loop truncation. The discussion page contained id-only discussions without notes, so its rejection did not prove a nonempty notes-prefix oracle. The preflight did launch actual worker/backup entrypoints with production internal self-validation; removing its revision/version wrapper deliberately retires that real-entry smoke alarm. The skipped-prefix JSONL keeper rewrites/grows after collecting the suffix and before final validation, not concurrently during parsing. Retained queue rejection/recovery and held/drain mechanisms, recorder nonsettling-provider deadline, corrupt authoritative-DB refusal, legacy cache split migration, merge-added-row indexing, external-frame redaction, and pinned JSONL read/verification/mutation checks are bounded concrete oracles, not equivalent replacements for retired alarms. The full cloud relay cohort/ceiling/control suite is separately removed from the relay package runner, outside root unit discovery; no cloud runtime result is claimed. The Python computer-use benchmark remains unchanged tooling with zero authored/removal credit; no native benchmark trial ran. The package skill-sharing release selector drops only the exact already-deleted skills-suite token, with zero additional removal credit. Prior dated receipts, raw gaps, and complete earlier161/98/history notes remain exactly at their original scopes; no changed-source historical receipt becomes fresh reduced-suite evidence. Included approved26 alarm account: Broad root-unit discovery loses entire ref-label string, hostile/malformed CSV-link rendering, Codex filename-discovery, mocked paged-preview postscan mutation, usage path-containment, real symlink-ancestor, Codex skip RPC, local/remote inference routing, width-preference, and synthetic workspace-document input suites. It also loses the hand-assembled sorted CSV edit example, connect-time JPEG seed and invalid AVCC guard samples, and eight-record/64KiB detector boundary cases. The symlink suite exercised actual kernel traversal; its lost ancestor alarm could omit supplemental local editor watches and leave content stale, not bypass authorization. Retained linked stream cancellation, preview-only save fence, failed-flush dirty-draft preservation, clipboard byte/edit preservation, fragmented AVCC parsing and independent quoted-CSV interpretation checks do not replace these deliberately retired alarms. The stream fixture uses an in-memory source and does not establish actual fd cleanup; editor save endpoints are synthetic, browser events are synthetic, and no native focus, actual remote delivery, real disk write, cross-platform execution or interoperability is claimed. Earlier complete dated receipts, raw known gaps and previous notes are historical evidence at their original source/selector scope, not fresh evidence for this reduced suite. Audit3438 composes ROOT-adopted3434/independent3436: intentionally removes60 authored/62 potential expanded cases across16 sources, deleting9 whole suites. Eight authored/eight potential cases remain; delete the102line unused ACP fixture and57line unused teardown helper with zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses ACP model-catalog fixtures, resume-record projections, dashboard mock payload/state cases, mobile folder/launch/session examples and dictionary pipeline rows. Selected E2E removals also retire auto-conversion and golden-core journeys and one Windows CLI conversion registration. Retain ACP reply text across a resumed subagent, both VAD checks, focused tab send ownership, async focus ownership in happy-dom, the question-skip journey, the original managed Windows CLI lifecycle journey and dictionary substitution. These checks do not replace the removed alarms. Audit3470 composes ROOT-approved AUTHOR3466/PEER3467 source proposal: intentionally removes38 authored registrations/59 finite potential expansions, including8 whole registering suites, retaining13 authored registrations/18 finite potential expansions. The sole dead shell-recipe caller cleanup has zero additional test credit. No equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses process-import boundary, Korean/Japanese locale policy, worker-reset, mobile agent-history/queued-message and median-summary suites, plus packaged mobile-manifest, worker-pool fixture, HTML preview, mobile shell and terminal samples. The environment-provider contract and its sole shell-recipe caller are deleted. Separate cross-version-wire discovery loses the large byte-budget fresh-snapshot/replay sample while retaining independent live same-revision note publication; the retained terminal stale-refresh and dirty HTML draft persistence checks do not replace removed alarms. The source4 unused start/stop fixture hooks are removed; its retained nested failed-import test remains byte-exact with its own lifecycle. Unchanged SVG preview and Git-resolution registrations stay intact. Root balanced CI excludes the cross-version directory, which has a separate job; unbalanced root discovery can include its parent. No native app/device, actual remote, released-pair interoperability or cross-platform execution result is claimed. Audit3468 accepted source proposal AUTHOR3462/PEER3463, composed privately by audit3469: removes62 authored registrations/95 finite potential expansions, including5 whole suites, retaining25 authored registrations/29 finite potential expansions. ROOT approved source value; no equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses the profile-state worker smoke, worker-agent views and three search discovery suites, plus samples from node-server qualification, skill-bundle generation, CLI hooks/profile/recovery/offline admission, permission-hook holds and search indexing. The separate Cloud relay runner loses one relay blackbox sample; unchanged mobile native-chat and dependent-transcript drivers remain. Retained source callback/table/ancestor/fixture bytes bind to the sealed candidate. No physical-device, mixed-version, remote, cross-platform or app execution result is claimed. Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. Broad root-unit discovery loses whole cross-client workspace-sync, terminal-preview, picker-skill-hint and close-routing suites plus reduced worker-stop, remote-owned-record, scanner, mobile-bundle and daemon-health samples. Separate E2E discovery also loses the paired mobile/desktop mirror journey and two unit drivers. Retained callback/table/outer-loop/guard bytes are exact; retained checks do not replace the removed alarms. No app, native device, mixed-version, remote or cross-platform execution result is claimed. Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. Broad unit discovery intentionally loses whole trust-dialog observer, background-turn notifications, redirected session refusal, typed-agent identity, chat-tab lifetime-cost, model-manager and mobile diff-review controller suites, plus individual persistence, synthetic composition, pairing, manifest and subprocess samples. Retain deferred snapshot dirty-domain persistence, two direct editor ownership cases, stream counter-domain distinction, two persisted pairing identity cases, parser entrypoint asymmetry, dictation retry and process-group timeout; paired restart and packaged old-binary/corrupt-profile journeys remain in their E2E driver scope. Retained checks do not replace removed alarms. No fresh execution, native IME/microphone, real authentication, mixed-version/platform or performance result is claimed. Audit3451 composes ROOT-adopted3444/independent3445: intentionally removes101 authored registrations across16 reviewed sources, deleting7 whole suites and reducing8; one reviewed source is unchanged. Fresh main has123 authored registrations before and22 after because an upstream direct-child shell regression remains verbatim with zero removal credit. Registered removals are100+7*S and explicit-active removals99+7*S, where S is the unprobed count0..3 of admitted bash/zsh/fish shells. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses extra stream lifecycle/forwarding examples, unreadable-store/cache projections, orchestration presentation/benchmark cases, remote-owned routing matrices, mobile legacy navigation and model-catalog listing/cache examples. Whole suites retire renderer client-event projections, manually assembled structured-session reader ownership, mobile prompt presentation, renderer AI-vault resume commands, mobile Jira URL lookup, composer retention and mobile folder source-repository queries. Retained checks preserve original stream/store/orchestration/routing/navigation/catalog cases and shell behavior, including the upstream direct-child case. No real provider, native desktop or mobile acceptance is established by this reduction. Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit and mobile discovery loses interrupt/wake registrars, task storage/session-close/account snapshot hooks, permission tables, copy/preference/model-discovery/composer examples, launch placement examples, VM projections and extra mobile-history scenarios. Retained checks cover abandoned versus dispatched fork uncertainty; /fast dispatch supersession; discovery lock release after exit; stale-send draft preservation; OSC status lifetime; future-version file preservation; launch cancellation before/during dispatch on both layout owners; mobile resume addressability before hooks; and recipe snapshot cleanup after plugin removal. The paired browser-link Electron source is unchanged. Terminal launch seams, mobile roles-only history and injected provider results do not establish native terminal destruction, transcript text fidelity or real remote provider cleanup. Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses reduced or deleted relay, coordinator mail, recovery watchdog, automation observer, launch picker, folder PTY, profile restart, web migration, retirement, pointer delivery, agent-row and run-bound mailbox examples. Retained checks cover relay hello/payload and SIGTERM drain, coordinator pending-check and clear-to-Run continuity, profile persistence, the full six-row web merge table and real run-bound delivery waiter. These do not replace removed alarms. Audit3429 composes root-adopted3426/independent3427: intentionally removes168 authored/205 potential expanded cases across16 semantic sources, deleting11 whole suites and one304line unused assertion helper. Five authored/five potential cases remain; the duplicate500k graph row is dropped while its50k row and callback remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted migration/recovery/federation/rich-draft/paste/automation/mobile/catalog examples. Keep server-edit preservation during migration, native supervised cancellation holding the agent home until physical stop, pagehide lost-text preservation, graph old-result WRAPPER WeakRef collection with50k rows, and mobile React render isolation. The WeakRef does not prove all commit objects are collectible or a memory budget. Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted mock orchestration, refusal, restart and storage examples. Retain unchanged two-phase real-WSL deployment/survival, the reduced idle-release holder proof without restart/first-output measurement, real worker stop/release cleanup barrier rows, physical Git branch-preservation rows, and SSH disconnected-close proof. Other SSH and CLI variants and WSL telemetry/warmup churn are intentionally removed. Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. Broad root-unit discovery loses naming/title/queued-host fixtures, main-window focus-shortcut and attach-services mock orchestration, Git Bash console-capacity fake process inventories, most real-Git preparation/locking variants and Claude/Codex catch-up examples. Keep lifetime rejected-writer followed by late termination proof and autonomous real-checkout cleanup; two-row real-Git rollback after a real move preserving a replacement/admin marker or revoked permission; a live translator write during a held transcript read fencing stale Claude history append; and Codex expected-item revision rejection before a historical writer shim. Codex driver registers retained bounds exactly once with original inputs; bounds does not prove modern writer persistence. Accepted changed-lock preflight sentinel and omitted-parent routing losses are not replaced. Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Broad root-unit discovery loses35WSL examples,22STT examples,22shared-server-banner examples,18clipboard-handler examples (whole suite deleted),14VM lifecycle examples and16commit-message cancellation examples. Retain4WSL and7STT mocked connector/worker cases,1rendered stale-banner refusal,2VM guard/failed-compensation cases and1late-stream ownership cancellation case; real WSL/microphone/remote-provider proof is not established. Separately discovered e2e-unit drivers lose13cross-version-wire local cases and15mobile active-publication cases, keeping same-process disk-reopen/new-host cursor content/epoch/sequence outcomes and a host/renderer-snapshot selection and inventory revision race respectively. Imported released stop-note scenarios remain unchanged and receive no duplicate credit. Cloud suites are outside root UNIT_INCLUDE. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The broad root-unit command loses the UNIT_INCLUDE src/ subset of retired examples; mobile is outside UNIT_INCLUDE. Other lost alarms are recorded by the adopted per-case source reviews. Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3381 composes root-adopted3376/independent3377 and3379/independent3380: intentionally retires436 authored registrations/670 expanded cases, including79 whole suites and12877 test lines, without equivalent replacement. Lost alarms include scheduling, account/host/status/filter/format inventories, microphone/image cleanup, title/bell/capability lifecycle routing, access/impersonation/outcome matrices, paste/input resend/ledger/retention, stale completions/reload containment, trust-read failure and popup OAuth/security/geometry vectors. Retained30 registrations/34expanded cases in22 suites preserve narrower SQLite TEMP/TZ/WAL, HTTP transcript root resume, mobile original-index Choose/Submit, child environment/Git lock expiry, stale ACK/PTY lifetime/peer fairness/durable replay/output ordering, actual DOM paste/editor focus, DEC2026 conservation, filesystem rollback, owned buffer lifetime, actual OSC parser/tracker handback, POSIX Python UTF8/fallback, durable trust concurrency/version, OpenSSH verdicts and hidden Chromium POST/route lifecycle. Mocked boundaries limit claims. Current bounded defining-owner reads preserve the retained oracles; captured identities are not full transitive semantic review. Both component blind pins authenticated before exchange; final reconciliation and explicit postpin3380reason correction supplement control, without retroactive blind claims. Root unit command excludes mobile and separately admitted Electron probes; use existing respective runners. No fresh execution, native focus/device/pixel UI, live SSH/remote, equivalent replacement or broad mixed-version/cross-platform validation is claimed. Prior dated receipts retain exact original scopes. Audit3375 composes root-adopted3370/independent3371 and3373/independent3374: intentionally retires79 authored registrations/84 expanded cases, including39 whole suites, without equivalent replacement. Lost alarms include federation field/parser inventories; Claude rejected-key precedence, credential clone redaction, managed-versus-user hook preservation and CLI defaults; setting/status/activity projections, mocked SSH/notification/reveal/Linear refusal, fake-clock reconnect and noise; image-fold artifact visibility, paste eligibility, setup trust, scripted ACP error-to-journal publication and ligature cache tuple aliasing; plus supplied folder-runner uniqueness, mobile host-overlay/credential/update/preference races, status/markup/title/keyed-row projections, subscriber cleanup, cancellation/close/refusal/link-issue and mirror suppression alarms. Retained3373 merger contiguity, dual-clock overdue-resume exactly-once, rejected-paste IPC sink and annotation schema roundtrip remain bounded. Retained actual HTTP/OSC status composition, destructive sibling-filesystem isolation, external contrast invariant and fixture CSS pixel intervention remain narrower. Original reviewed87authored/92expanded become9/9; current OpenCode suite adds two preserved upstream cases and the synthetic-title suite gained one Cursor policy mock-call case, independently reviewed for removal in root3378; current90/95 become11/11. That Cursor suppression/ready-frame regression alarm is intentionally lost; it does not observe native title ownership or tab flicker. For3370 only the peer was independently blind, with author exposure explicit;3373/3374 both blind pins were verified. This broad root unit command selects the reduced root unit suite; UNIT_INCLUDE excludes mobile tests, which require the existing mobile runner; retained Playwright component-pixel spec uses its separate existing headless fixture runner and is not validated by the broad unit command. No fresh execution, actual agent/shell/provider, OS material/focus, historical import equivalence, mobile, mixed-version or cross-platform evidence is claimed. All dated receipts retain their original scope. Audit3368 composes root-adopted3363/3364 and3367/3369: intentionally retires181 authored registrations/196 expanded cases, including28 whole suites, without equivalent replacement. Lost alarms include hibernation attention/liveness/backoff/sequential teardown and inventory, host launch compatibility/legacy/Kimi/resource cleanup, terminal recovery parser/pause/quarantine/remount, window-visibility omission-fence lifetime, launch-option rendered Start, sleeping-resume saved recipe/WSL quoting/cancellation, plus removed project/window/input variants. Additional tiny-suite losses include sentence/label/field/default inventories, credential omission, Windows argument/environment mapping, URI decoding, diagnostics, provider classification and fake-clock callback/parser examples. Retained ten registrations/twelve expanded cases include two literal Unicode Mn/Cf zero-width range guards in the actual character-range algorithm and protect narrower delayed editor bytes/destructive ownership, mounted hidden collision repair, ten transport epochs, duplicate-command refusal, caller timeout typing, executor unknown-opener refusal and failed-chunk user bytes. This broad unit command selects the reduced suite; no fresh runtime, real provider/network/PTY, filesystem restart, native UI, historical import equivalence, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3362 composes root-adopted3358/independent3360: intentionally retires129 authored registrations/140 expanded cases, including four whole suites, without equivalent replacement. Lost alarms include supplied orphan-adoption retry/malformed inventory/cancellation; fake-terminal replay parser/wedge/disposal callbacks; all-host catalog metadata and Windows preferences; host keepalive/protocol/stale/settings failures; and removed exact-stop/suppression, source save lifetime, diff-note queue, rename/editor close, input flood/chunk refusal/limits, purge and creation examples. Retained18 registrations/21 expanded cases protect narrower ownership, generation, dirty-state, queue convergence, encoding and attachment-lease outcomes. No replacement or keeper quota claim. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY/xterm parser, disk restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3359 composes root-adopted source3355/independent3356: intentionally retires130 authored registrations/139 expanded cases, including eight whole suites, without equivalent replacement. Lost alarms include strict create naming/capability/legacy payloads; supplied transport host replacement, deadline reattach, create-handoff and split activation; agent-session fork/clipboard/platform flags; shutdown cleared-scrollback/unmounted bindings; simulator host-collision/selection/shutdown; and removed editor, catalog, mutation, launch and status examples. Retained12 adverse-ordering/state-consequence cases are narrower and do not replace all removed alarms. Two queue absences receive zero removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY, filesystem restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3349 composes adopted batches3343,3345 and refreshed3354: intentionally retires234 authored registrations/294 expanded cases, including13 whole suites, without equivalent replacement. Lost alarms include supplied terminal reconnect/replacement/typeahead/mirror/result and snapshot examples; synthetic render-desync persistence/recovery; worktree listing/owner/catalog/lineage/removal and activation/creation examples; host-scoped PR and task-record projections; editor diff/status/comment and UI send-target examples; automation observation/wake, supplied sleep/deadline clock and native-chat completion/notification/relaunch samples; held-tab layout and cleanup/progress guard examples. Retained adverse-ordering and wire-boundary cases are narrower and do not replace all removed alarms. The already-upstream visibility-resume deletion receives zero new removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH, native process/power/GPU, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3342 composes adopted source batches3333/3334,3336/3337 and3340/3341: intentionally retires180 authored registrations/263 expanded cases, including seven whole suites, without equivalent replacement. Lost alarms include corrupt editor hydration; mobile editor/diff publication and privacy projections; stale-resubscribe routing; model-picker projection/refetch/retry/fallback; editor check-details and frame property inventories; latched-pane cleanup/quiescence; client create replay identity/options/compatibility; and removed owner, async routing, terminal and layout examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts keep their original scope. Audit3335 composes adopted source unions3327/3328 and3330/3332: intentionally retires100 authored registrations/123 expanded cases, including ten whole suites, without equivalent replacement. Lost alarms include seeded host persistence/contention and stale-host cleanup; browser snapshot assembly; mocked wake/DPR callbacks and frame budgets; preflight projections; palette authority/cache suppression, URL intent and saved-title cross-repo collisions; metadata coverage/set patch and dropdown assembly; and removed terminal, worktree, review-refresh and owner-routing examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI/GPU/focus, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain only their original scope. Audit 3318 composes adopted sources 3310, 3313 and 3317: intentionally retires 71 authored declarations and 102 expanded cases, including whole terminal-detach agent-retention, seeded batch/single open-files equivalence, shallow context-menu shortcut-badge, mocked active-workspace delete-dispatch, workspace session hydration, SSH target cleanup, editor session hydration and worktree terminal purge suites. Lost alarms include chained transfer alias and immediate close/exit retention; batch/single divergence, survivor/selection/map preservation and input nonmutation across 400 imperative seeds (one registered case); disconnected pending-handle retry, authoritative absences/close-record shortcut/older-host absence and published-presence/unpublished-frame examples; published empty host-graph omission to pane exit; legacy search ranking/exclusion fallback; provider request upgrade/dedupe/finalizer ownership; asynchronous PR suppression/primary-change and same-number different-repository URL rejection. Deletion routing loses host/instance qualification, paired and legacy mapping, folder ownership, active-versus-hover/menu-row selection, ambiguity, modal/editable/creation/view/main/deleting/missing guards and shortcut advertisement. Unchanged real keyboard/hover/confirmation/catalog E2E remains narrower, not an equivalent replacement. Additional losses include scripted old-host disk/UTF-8/noop/baseline and landed/unlanded lost-reply/replacement-retry outcomes; ordinary/repeated healthy-link reattach; cross-owner terminal/chat binding; oversized replay permanent-unavailable classification; floating reveal keyboard ownership/close/disable/listener disposal; naming/retained-turn/Sleep/error/close/reject status tables; SSH membership prune/new-target-only reads and environment/local bucket isolation; same-frame receipt capacity and positive bare/headless publisher readmission. These actual regression alarms are deliberately lost; no fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit 3312 composes adopted sources 3302 and 3308: deliberately retires 33 authored declarations and 36 expanded cases, including the whole backend startup-focus, active-browser IPC-close-routing, remote-browser-creation and agent-terminal-presence suites. Intentionally lost alarms cover distinct six-pane reconnect handles; SSH host label/Connect callback, unhydrated visit cleanup, repo cache aliases and hidden worktree/tab/PTY cleanup; adopted-agent startup focus and viewer navigation/reuse; staged, pageless, source, stale and orphan browser-close routing; web local-materialization refusal, desktop incapable-host fallback, failed/thrown remote creation and paired-web sign-in refusal; BOM/NUL and remote/local custom-editor byte-read examples; immediate folder activation and unread clearing; and batching idle/coalescing, accumulated byte ceiling, leading-edge-disabled, standalone synchronous oversize rejection, validation yield, deferred pending-tail order and both viewport-clear examples. The newly reintroduced agent-terminal-presence suite also loses actual terminal-status membership positive and nonterminal-status callback suppression alarms, including the recent 40916 guard regression; the older different 2133 presence-suite history remains historical and receives zero duplicate removal credit. These real regression alarms are intentionally lost. The unchanged survivors provide narrower coverage, with no equivalent replacement or fresh gate, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation claimed. Audit 3301 combines adopted source batches 3296 and 3299: retire 27 authored declarations and 36 expanded scenarios, including six whole suites. Intentionally lost alarms cover failed-verification/recovery/restart counters and mocked hosting/toast; early overlapping pane-read scheduling/count; unreadable removal listing draft guard; bulk-purge remote-qualified and raw-local guard maps; initial-snapshot blank/mode/oversize/printable/fresh-spawn callback and replay examples; fallback mobile file close and ordinary MRU; default queue overload/drain; seeded browser-page reuse and supplied missing-page URL recreation; ambiguous sleep/hibernation owner refusal and untouched bindings/origins; ordinary selection/activity/fallback priority; skip-remote success and retained hints; supplied structured-chat unsent retention and scoped removal draft eviction; caller-chat focus precedence; open/draft PR cache eviction and merged-head fallback result inventories. Retained adverse-ordering and ownership cases are narrower and do not establish equivalent replacements. No fresh runtime, native, physical provider, cross-platform, mobile or mixed-version evidence is claimed. Audit 3292 combines adopted 3285/3287/3289/3293 removals: 40 authored declarations and 47 expanded scenarios, including whole frame-editor-view, ambiguous remote-delete-refusal, unverifiable-host subscription and editor-close cleanup suites. The previously reviewed dock-badge suite was already removed upstream in PR 40895 and receives zero new removal credit. Intentionally retired alarms include background browser selection and last-tab landing; main startup fallback, SSH project cleanup/survivor routing, exact-PR contradiction/saved-push positives, replay/sidecar rollback and wrapped remote error normalization; records/snapshot missing-diff hydration, ambiguous folder-owner delete refusal, focus no-op notifications, nested editor context-only cache check, pending broadcast-first status and ordinary four-confirmation aggregation; preview-source frontmatter pruning, approved local/runtime agent dispatch, non-GitHub legacy PR cache invalidation, stale merged-head transient-error fallback, empty-queue immediate query reply and unverified-to-concrete preflight risk. Additional intentionally retired alarms are injected host subscription/unsubscribe counts, synthetic editor reveal/draft/fallback/scoped close, ambiguous unread refusals and hidden mark/read roundtrip, immediate connect backoff/noError, positive mirrored evidence-clock renewal, supplied VM failure/success projections and git-local/folder-SSH wake permutations. Remaining temporal/ownership cases are narrower; no equivalent replacement or fresh execution is claimed. Audit 3283 removes 20 authored declarations and 31 expanded scenarios, including two whole suites. Retired alarms cover PR refresh-state pruning, shared runtime subscription cleanup and store isolation, language content-change routing and older completion ownership, ordinary panel retry-timer cleanup and pending loading, four hosted-review lifetime permutations, mocked terminal creation error/order wiring, five sleep-inventory variants with pending-frame-only assertions, palette fallback/composite highlights, Windows/UNC encoded-editor input rows, mixed-repository partial failure counts, title setters and generated-title bypass/replacement, five window-close coordinator delegation/guard/finally branches, and ambiguous-old-record frame reveal. These regression checks are intentionally lost under the test-value audit; retained cases are not equivalent replacements. Prior coverage notes and receipts remain historical. Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims. Audit 3256 removes these specific alarms from the broad root unit commands: skill dialog active-share selection, close and pending-share handoff; simple keyed-record deletion; marker live-region insertion, simple landing and nine baseline policy examples; General search/control navigation inventory; orphan-count cache bootstrap; seven Codex code classifications and HTTP 429 warning mapping; two skill unread-root verdict examples; peer-mail payload and conversation-ID rejection; and the GitHub organization TABLE text-field optimistic rollback/failed-envelope example. These include real behaviors; retained tests do not provide equivalent coverage for every removed scenario. Mobile losses are recorded separately and are not coverage of these root commands. Audit3246 retires NewRowsMarker reveal/no-repeat and pane-scoped beforeinput checks; skill-owner option availability/count/dedup/order; six styled Input/Textarea IME forwarding rows; the static Codex/OpenCode smart-key inventory; tab-map AST ratchet diagnostic fixtures; child-roster work-budget and retained-aggregate alarms; malformed persisted floating-cwd fallback/no-crash/empty exact-root checks; the unanswered-host empty-list discriminator; the direct invalidated-cache commit-false assertion; one redundant digit-keyup IME row; cached non-supported Claude title-generator rows; and the duplicate late naming-result singleton. These root broad commands lose those specific alarms without equivalent replacement. Distinct retained owner/state checks have their own bounded claims; the real scheduler still rejects stale response data, while the direct false-return alarm is retired. Audit3231 retires supported-host restore-pane key mapping, closed/open creation-sidebar toggle visibility, unrelated scope-error/null classification and quick-submit reveal/no-create checks. These broad commands lose those real narrow alarms; no replacement coverage is claimed. Audit3219 removes the synthetic Cmd+J extra-source suite; this broad command no longer checks its match/tie placement and selection, announced count, empty-query cap, or workspace hiding with retained recent tabs. No replacement coverage is claimed. Audit3209 composes approved sources3202/3206: deliberately retires seven authored/expanded cases in four whole suites without equivalent replacement. Work-item queries lose real GitHub/GitLab oversized ASCII secret-prefix empty-query and whitespace-before-trim refusal alarms; inputs share the imported size bound and exercise only its fast length branch, with no multibyte or actual provider/exposure guarantee. Skill sharing loses complete/partial managed-bundle and destination-ambiguity association checks plus three negative origin/path/scheme admission examples; these do not establish uploaded contents, arbitrary-URL fetching, authorization or execution. Retain exact originless-project direct-link fallback, cloud-delete confirmation, bundled-target repair/owner isolation and explicit Windows-host preference over stale WSL suites. Rejected3201 runtime-preference removal is excluded. No real cloud/network/host/disk, mobile or mixed-version execution validation is claimed. Audit3200 composes approved source3194: deliberately retires thirteen authored registrations/twenty-seven expanded cases in six whole automation host/list policy suites without equivalent replacement. Real RPC category/retryability and wrapped-timeout recognition, unscoped-failure/scoped-success health evidence precedence, exact-ID create selectors and per-run workspace omission, paired-web local/SSH/absent host catalog routing, incompatible/removed/unhydrated/offline execution health, runtime-before-nested-SSH recovery dispatch, and no-owned-focus/successor/foreign-list focus policy alarms are consciously lost. Retain exact20line orphan allow/refuse/precondition and exact90line cross-host same-ID search suites. No retry-timer/fence lifecycle, actual reconnect/network/write delivery, native focus, mobile/mixed-version runtime or disk persistence coverage is claimed. Audit3191 combines approved source3182/3187/3188: deliberately retires thirteen authored Vitest registrations and fifteen expanded cases, including five whole suites, without equivalent replacement. Attachment intake loses real portal/native-capture terminal interception and unowned-container refusal, immediate child-only committed availability/claim-ref negotiation and delivery, and direct-target over stable focused/background composer routing through disable/re-enable/remount and independent question focus. Exact destination/cache/draft and final-stat owner/workspace/File-release suites remain; they do not replace Surface recipient routing. Automation authoring loses destination runtime catalog membership, local/direct-SSH exclusion of paired-runtime repos, unknown-runtime empty catalog, logical project/host/setup/repo/path context payload, and missing/nonready setup refusal; these were genuine direct helper alarms, while exact schedule transformation, legacy schedule and setup-decision suites remain. Agent picker loses setup-chat/terminal/missing-installer/unsupported-or-unknown-host row projection samples and the ordinary unsearched menu variant; the entire original26-line resume recipe suite remains, including reported bypass versus default/absent permission modes, as does the exact search-result menu callback with its fixtures, model/effort commits and staged Arguments reopen outcome. Rejected predecessor3180 full recipe deletion is excluded. No actual native drag/cursor/focus/IME, upload bytes or disk/restart persistence, full automation save/scheduler/runtime transport, real resume-process flags/environment delivery, or native menu/rendered layout validation is claimed. Audit3178 combines source3169/3170/3175: deliberately retires eight authored units (six Vitest cases and two imperative custom relay scenarios), including two whole suites, without equivalent replacement. Voice Section loses per-model pending-delete isolation across interleaved A/B completion and the two-success refresh-call alarm; exact VoicePane delayed key-clear/newer enabled-toggle merge remains and does not replace row deletion coverage. Speech loses dedicated rating-scale/inclusive-ceiling, unsupported-versus-unmeasured, explicit/system-language precedence/locale alias, accuracy versus fast named/default/best-measured selection, and unmeasured/no-match examples; exact offered-user-pick versus retired-selection case and its fixture remain. Relay loses legacy ping-delivery count/liveness sampled before the silence deadline and grouped malformed Bearer/host-ID 401/429 routing checks; twelve real Worker/DurableObject/shipped-client scenarios remain, not equivalent replacement for those narrow alarms. Six prior speech cases are not all deleted: approved successor3175 keeps the original user-choice case. No actual credential/file persistence, native/GPU/engine/download delivery, production assignment policy or deployed-runtime validation is claimed by this reduction. Audit3165 combines source3160/3162: deliberately retires six authored/expanded cases across three whole suites without equivalent replacement. Launch/status losses: observed React-render pending/resuming coordination across settings and deferred offer read; stale-offer reread suppressing dialog reopen; held-local-chat recovery visibility with new-chat preferences off; disabled-local admission avoiding offer RPC despite an injected but unconsumed paired-tab fixture; and run-only lost-reply uncertainty reachability until direct viewed-run retirement. Launch probe does not prove arbitrary synchronous-store atomicity, the paired fixture is not remote runtime enrollment, and the status case directly marks viewed state rather than rendering the summary. Crew-hook losses: old-host method_not_found cache persists across party changes but is released by independently supplied connection generation/verified pairing status or pairing revision, with actual frame publication and teardown. These are real narrow coordination, admission, uncertainty and mixed-version cache alarms consciously lost. Exact web verified-runtime writer handoff guard remains; it does not replace those alarms or prove live host/native/mobile delivery. Audit3156 combines3147/3150/3152/3153/3154: deliberately retires39authored/40expanded native-chat recovery cases, eight whole suites and two orphan test-support files without equivalent replacement. Lost alarms: lost-reply unconfirmed reconciliation, skipped rows/counts and missed-frame repair, unknown/pending outcome and omitted-failure-list compatibility, uncertain history after dismissal, retry/refusal/dismiss lifecycle, hidden/consumed picker ownership, result-tree keyboard focus/disclosure and all-skipped retirement; unconfirmed-over-conflict guidance and failed-chat changes despite older host timestamps; nearest-listed ancestor/cyclic forest shape, descendant membership, host ordering/missing-host local fallback; skipped/readiness/admission counts, provisional skip/progress monotonicity, early per-chat verdicts with batch pending protection, older-host waiting, start-slot/delivery distinction, retry-over-failure and unknown-after-withdrawal attention; remote snooze/reconnect/reoffer, unseen mixed summary through open/close, watched completion retirement, new success beside old failure, failed-reread mixed-result preservation, filter/collapse completion resets, retry summary replacement and current-offer/history selection; cross-host workspace identity, rendered cyclic reachability, nested tri-state/toggle propagation, project eligibility isolation and collapse preserving selection. Exact fallback-list completion barrier, batched verdict/cleanup retention, stale-read versus dismissal publication race, and requested-but-never-rendered finished-run retirement remain; they do not replace retired alarms. Audit3146 combines source reviews3132/3133/3135/3138/3143: intentionally retire20authored/31expanded cases without equivalent replacement. Provider-session losses: structured-native terminal-resume exclusion, metadata-less completed identity, new-turn completion clearing, Pi provider-only/periodic/manual promotion, changed-transcript launch-config isolation, Pi/omp/prime-agent completed-session remote/manual-shutdown promotion, and quit/done precedence over heartbeat. Side-thread/question losses: finished-pane acquisition, hidden title/recap states, local/relay/relay-done conversation takeover with prompt/session/child resets, plain-message abandonment, compaction/session replacement and completion resets. Codex startup losses: incoming-owner cached child replacement, old-relay foreign live-session correction, completed foreign-root turn-fact permutations. Transcript losses: real temporary-JSONL partial sibling/final-child completion, unlabelled child attribution, compact cached replay preservation and100/1000completed-child roster retention/release. Compiler-ratchet losses: valid-line uncompiled-list parser grammar examples and injected-existence stale-path filtering; these did not exercise actual filesystem canonicalization or build exclusion. These are real lifecycle, ownership, replay, liveness and retention alarms, including recent#40246 regressions, deliberately lost. Retained conditional record replacement, clockless root/SSH owner isolation, persisted main-thread fork rejection, partial/final question-answer lifetime, cached-roster/missing-ID/live HTTP/durable startup boundaries and restarted-relay refusal/acceptance do not replace those losses. No native/SSH/WSL execution or equivalent coverage is claimed. Audit3128 scoped coverage reduction: Audit3121 removes VoiceDictationLanguageSetting.test.tsx (Spanish-to-es callback and unsupported-model Korean option presence) and voice-speech-model-rows.test.ts (provider/language-order/retired-on-disk list policy); these real narrow alarms are deliberately retired without replacement. VoiceSpeechModelSection per-model concurrent deletion remains unchanged. Audit3122 removes the direct absolute/parent-segment sparse-directory exception-type sample and the five-row IPC sparse-preset error-code/non-save table (two authored/six expanded cases). Those real typed-validation and IPC refusal/error-code alarms are deliberately retired. Keep both real symlink/junction floating-directory trust cases and the minimal RPC structured validation-reason serialization case. The RPC case does not replace IPC save/refusal behavior, typed normalization for both path inputs, actual Git sparse checkout or rendered localization. No equivalent replacement or fresh test/runtime/platform/remote/performance validation is claimed. Audit3124 removes ExperimentalPane.test.tsx (ordinary Pet switch callback), WorkspaceDirectorySetting.test.tsx (padded absolute saved-path normalization/no-write blur), and repository-search.perf.test.ts (navigation/selected-pane builder-call policy, fixture cardinality/nonempty entries and renamed project keyword inclusion). These real narrow alarms are retired without replacement; RepositoryPane.search.test.tsx search-to-sparse-editor request remains unchanged. Audit3129: resolver Windows case-insensitive and POSIX case-sensitive configured-env composition plus mocked-base launch-preflight Windows composition are intentionally no longer checked by the two deleted suites. No equivalent coverage claimed. Keep runtime-structured-agent-host-env.test.ts unchanged: configured Windows Claude-home account identity and host-account precedence remain checked. Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Deterministic main-IPC contract tests cover disconnect-driven close delivery, exactly-once close, per-subscription teardown isolation against a failing socket close and a throwing liveness probe, containment of a throwing renderer send on the unguarded host-close path, and continued suppression of stale payloads from a retired transport. A headed paired-server journey (real Orca host plus a separate paired Orca desktop client) covers hidden-but-mounted reveal, cold-parked reveal, and cold-parked reveal across a disconnect/reconnect. Live Linux and Windows paired-server evidence and real sleep/wake transport loss remain uncollected.", "motivatingLinks": ["tests/e2e/paired-remote-terminal-parked-reveal-interactivity.spec.ts"], "invariant": "Every renderer-held runtime subscription receives exactly one terminal close event when its transport is retired, including when the retirement advanced the transport generation first, and a single failing teardown never abandons that environment's remaining subscriptions nor escapes into the transport that reported the close. Payload frames from a retired transport stay suppressed. A revealed remote terminal therefore reattaches over a live multiplex connection: its buffer restores, typed input reaches the host PTY, the echo paints without a tab flip, and the PTY converges on the revealed pane grid.", - "oracle": "Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): The main IPC contract test subscribes terminal.multiplex through the real handler, disconnects the environment, and asserts the renderer received exactly one {type: close} subscription event. Two isolation tests subscribe a second stream to the same environment and make the first one fail -- in its socket close, and in the liveness probe inside notifyClosed -- then assert the disconnect does not throw, both transports closed, and every close the renderer could still receive was delivered. A third drives a host-initiated close through the transport callback, which is the one notifyClosed call site with no surrounding guard, with a renderer send that throws, and asserts it cannot escape into the WebSocket close handler. A fourth test asserts that after retirement a late response frame is not forwarded and a late transport close does not re-send. The paired-server journey runs three reveal scenarios against one real host and one real paired desktop client, and for each records buffer restore, host-side receipt of the typed marker through an out-of-band host sink file, live paint without a tab flip, and PTY-versus-pane grid convergence.", + "oracle": "Audit3492 composes ROOT-approved75(AUTHOR3475/PEER3476 and AUTHOR3485/PEER3481, including five-field clarification and zero-credit selector3483) plus123(AUTHOR3486/PEER3487 reconciled FINAL3491, including peer case10:3 and9:0 wording clarifications). It intentionally removes198 authored registrations/232 finite literal-table potential registrations across70 changed JS/TS test sources, including45 whole suites;87 authored/90 finite potential registrations remain across95 reviewed JS/TS bodies. One mobile native-suspension manual recipe and the now-unreferenced GitLab mock fixture helper are separately removed with zero registration credit. Static literal table potential is not execution. No equivalent replacement, fresh runtime result or merge credit is claimed. Earlier135 complete dated receipts, all raw gaps and full prior98/161/history notes retain their exact scopes and bytes. The additional123 retirement accepts loss of mocked GitLab request/error/identity/classification inventories; basic Linear migration and metadata discovery; simulated OpenCode key failed-save retention/retry/log redaction; analytics identity-flush smoke that did not prove ordering; AppImage static entry guards and empty-staging cleanup; GPU/process/minidump breadcrumb/annotation shapes and weak redaction oracles; namespace/status/foreign-launcher ownership guards and persistence roundtrips; profile transfer field projections; worker hook/screen/incarnation/result admission/classification guards; and source-coupled CLI transaction fixtures. Privileged publication failure injection was a false-positive: its mkdir regex missed -m 700 and outer rejection accepted an inner assertion before any shell ran. The identity-flush case awaited identity after flush and could pass despite early flush. Retained actual negative-token cache recovery, SQL filter-before-LIMIT open approval, unreadable-root FTS preservation/degradation, latest-connect-wins persistence, worker stop-debt settlement, unmodified same-inode foreign-content transaction, explicit incomplete-pagination error, FTS own-message snippet association, filter-before-route result and bounded-search truncation honesty are distinct bounded outcomes, not replacements for retired alarms. Case9:0 checks both roots before chmod but only mounted-session/degraded-root after chmod. Entire extraction-root suite is removed; no retained extraction cleanup is claimed. Removing the manual iOS foreground-stall shell script loses its unique real native-suspension recipe; timer tests do not replace it. First-match PIDs, indefinite waiting, broad success matching and absent trap cleanup made that diagnostic brittle and able to leave a desktop stopped. The current Windows operational driver remains byte-exact, preserving already-merged removal of orcad-convert and orcad-cli-convert selectors and the retained cmd/powershell/managed CLI lanes. The package skill-sharing release selector loses only the exact already-retired skills-suite token; no extra test credit. Included approved75 retirement account follows (historical proposal labels identify provenance; final198 counts above control): Audit3488 composes ROOT-approved source49(AUTHOR3485/PEER3481, including its immutable five-field clarification) and source26(AUTHOR3475/PEER3476): intentionally removes75 authored registrations/87 finite potential registrations across35 changed sources, including25 whole suites;35 authored/36 finite potential registrations remain in the combined reviewed scopes. Literal table potential counts are not executions. This source-only reduction has no equivalent replacement, fresh runtime result or merge credit. Root unit discovery deliberately loses entire message-row filtering/chunk reconstruction, discussion-pagination rejection passthrough, Linear bearer/stack redaction, new-profile telemetry/default/existing-JSON no-op, WSL user-trigger routing, terminal-delivery refusal, native-chat worker-approval UI, followup-paste routing, live-surface tombstone refusal, activity-bar hydration, fabricated approval-caller policy, child-PATH transformation and branch-review URL/identity suites. It also loses cache roundtrip/mode/fingerprint/fallback/no-op samples; GPU field-shape privacy examples; older auth-probe failure retention; orphan SQLite-sidecar/future-schema admission; usage tie/duplicate/composite-key examples; allocation-name sanitizer/unknown-prefix examples; real worker-and-backup preflight wrapper smoke; and JSONL descriptor-loop truncation. The discussion page contained id-only discussions without notes, so its rejection did not prove a nonempty notes-prefix oracle. The preflight did launch actual worker/backup entrypoints with production internal self-validation; removing its revision/version wrapper deliberately retires that real-entry smoke alarm. The skipped-prefix JSONL keeper rewrites/grows after collecting the suffix and before final validation, not concurrently during parsing. Retained queue rejection/recovery and held/drain mechanisms, recorder nonsettling-provider deadline, corrupt authoritative-DB refusal, legacy cache split migration, merge-added-row indexing, external-frame redaction, and pinned JSONL read/verification/mutation checks are bounded concrete oracles, not equivalent replacements for retired alarms. The full cloud relay cohort/ceiling/control suite is separately removed from the relay package runner, outside root unit discovery; no cloud runtime result is claimed. The Python computer-use benchmark remains unchanged tooling with zero authored/removal credit; no native benchmark trial ran. The package skill-sharing release selector drops only the exact already-deleted skills-suite token, with zero additional removal credit. Prior dated receipts, raw gaps, and complete earlier161/98/history notes remain exactly at their original scopes; no changed-source historical receipt becomes fresh reduced-suite evidence. Included approved26 alarm account: Broad root-unit discovery loses entire ref-label string, hostile/malformed CSV-link rendering, Codex filename-discovery, mocked paged-preview postscan mutation, usage path-containment, real symlink-ancestor, Codex skip RPC, local/remote inference routing, width-preference, and synthetic workspace-document input suites. It also loses the hand-assembled sorted CSV edit example, connect-time JPEG seed and invalid AVCC guard samples, and eight-record/64KiB detector boundary cases. The symlink suite exercised actual kernel traversal; its lost ancestor alarm could omit supplemental local editor watches and leave content stale, not bypass authorization. Retained linked stream cancellation, preview-only save fence, failed-flush dirty-draft preservation, clipboard byte/edit preservation, fragmented AVCC parsing and independent quoted-CSV interpretation checks do not replace these deliberately retired alarms. The stream fixture uses an in-memory source and does not establish actual fd cleanup; editor save endpoints are synthetic, browser events are synthetic, and no native focus, actual remote delivery, real disk write, cross-platform execution or interoperability is claimed. Earlier complete dated receipts, raw known gaps and previous notes are historical evidence at their original source/selector scope, not fresh evidence for this reduced suite. Audit3438 composes ROOT-adopted3434/independent3436: intentionally removes60 authored/62 potential expanded cases across16 sources, deleting9 whole suites. Eight authored/eight potential cases remain; delete the102line unused ACP fixture and57line unused teardown helper with zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses ACP model-catalog fixtures, resume-record projections, dashboard mock payload/state cases, mobile folder/launch/session examples and dictionary pipeline rows. Selected E2E removals also retire auto-conversion and golden-core journeys and one Windows CLI conversion registration. Retain ACP reply text across a resumed subagent, both VAD checks, focused tab send ownership, async focus ownership in happy-dom, the question-skip journey, the original managed Windows CLI lifecycle journey and dictionary substitution. These checks do not replace the removed alarms. Audit3470 composes ROOT-approved AUTHOR3466/PEER3467 source proposal: intentionally removes38 authored registrations/59 finite potential expansions, including8 whole registering suites, retaining13 authored registrations/18 finite potential expansions. The sole dead shell-recipe caller cleanup has zero additional test credit. No equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses process-import boundary, Korean/Japanese locale policy, worker-reset, mobile agent-history/queued-message and median-summary suites, plus packaged mobile-manifest, worker-pool fixture, HTML preview, mobile shell and terminal samples. The environment-provider contract and its sole shell-recipe caller are deleted. Separate cross-version-wire discovery loses the large byte-budget fresh-snapshot/replay sample while retaining independent live same-revision note publication; the retained terminal stale-refresh and dirty HTML draft persistence checks do not replace removed alarms. The source4 unused start/stop fixture hooks are removed; its retained nested failed-import test remains byte-exact with its own lifecycle. Unchanged SVG preview and Git-resolution registrations stay intact. Root balanced CI excludes the cross-version directory, which has a separate job; unbalanced root discovery can include its parent. No native app/device, actual remote, released-pair interoperability or cross-platform execution result is claimed. Audit3468 accepted source proposal AUTHOR3462/PEER3463, composed privately by audit3469: removes62 authored registrations/95 finite potential expansions, including5 whole suites, retaining25 authored registrations/29 finite potential expansions. ROOT approved source value; no equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses the profile-state worker smoke, worker-agent views and three search discovery suites, plus samples from node-server qualification, skill-bundle generation, CLI hooks/profile/recovery/offline admission, permission-hook holds and search indexing. The separate Cloud relay runner loses one relay blackbox sample; unchanged mobile native-chat and dependent-transcript drivers remain. Retained source callback/table/ancestor/fixture bytes bind to the sealed candidate. No physical-device, mixed-version, remote, cross-platform or app execution result is claimed. Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. Broad root-unit discovery loses whole cross-client workspace-sync, terminal-preview, picker-skill-hint and close-routing suites plus reduced worker-stop, remote-owned-record, scanner, mobile-bundle and daemon-health samples. Separate E2E discovery also loses the paired mobile/desktop mirror journey and two unit drivers. Retained callback/table/outer-loop/guard bytes are exact; retained checks do not replace the removed alarms. No app, native device, mixed-version, remote or cross-platform execution result is claimed. Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. Broad unit discovery intentionally loses whole trust-dialog observer, background-turn notifications, redirected session refusal, typed-agent identity, chat-tab lifetime-cost, model-manager and mobile diff-review controller suites, plus individual persistence, synthetic composition, pairing, manifest and subprocess samples. Retain deferred snapshot dirty-domain persistence, two direct editor ownership cases, stream counter-domain distinction, two persisted pairing identity cases, parser entrypoint asymmetry, dictation retry and process-group timeout; paired restart and packaged old-binary/corrupt-profile journeys remain in their E2E driver scope. Retained checks do not replace removed alarms. No fresh execution, native IME/microphone, real authentication, mixed-version/platform or performance result is claimed. Audit3451 composes ROOT-adopted3444/independent3445: intentionally removes101 authored registrations across16 reviewed sources, deleting7 whole suites and reducing8; one reviewed source is unchanged. Fresh main has123 authored registrations before and22 after because an upstream direct-child shell regression remains verbatim with zero removal credit. Registered removals are100+7*S and explicit-active removals99+7*S, where S is the unprobed count0..3 of admitted bash/zsh/fish shells. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses extra stream lifecycle/forwarding examples, unreadable-store/cache projections, orchestration presentation/benchmark cases, remote-owned routing matrices, mobile legacy navigation and model-catalog listing/cache examples. Whole suites retire renderer client-event projections, manually assembled structured-session reader ownership, mobile prompt presentation, renderer AI-vault resume commands, mobile Jira URL lookup, composer retention and mobile folder source-repository queries. Retained checks preserve original stream/store/orchestration/routing/navigation/catalog cases and shell behavior, including the upstream direct-child case. No real provider, native desktop or mobile acceptance is established by this reduction. Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit and mobile discovery loses interrupt/wake registrars, task storage/session-close/account snapshot hooks, permission tables, copy/preference/model-discovery/composer examples, launch placement examples, VM projections and extra mobile-history scenarios. Retained checks cover abandoned versus dispatched fork uncertainty; /fast dispatch supersession; discovery lock release after exit; stale-send draft preservation; OSC status lifetime; future-version file preservation; launch cancellation before/during dispatch on both layout owners; mobile resume addressability before hooks; and recipe snapshot cleanup after plugin removal. The paired browser-link Electron source is unchanged. Terminal launch seams, mobile roles-only history and injected provider results do not establish native terminal destruction, transcript text fidelity or real remote provider cleanup. Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses reduced or deleted relay, coordinator mail, recovery watchdog, automation observer, launch picker, folder PTY, profile restart, web migration, retirement, pointer delivery, agent-row and run-bound mailbox examples. Retained checks cover relay hello/payload and SIGTERM drain, coordinator pending-check and clear-to-Run continuity, profile persistence, the full six-row web merge table and real run-bound delivery waiter. These do not replace removed alarms. Audit3429 composes root-adopted3426/independent3427: intentionally removes168 authored/205 potential expanded cases across16 semantic sources, deleting11 whole suites and one304line unused assertion helper. Five authored/five potential cases remain; the duplicate500k graph row is dropped while its50k row and callback remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted migration/recovery/federation/rich-draft/paste/automation/mobile/catalog examples. Keep server-edit preservation during migration, native supervised cancellation holding the agent home until physical stop, pagehide lost-text preservation, graph old-result WRAPPER WeakRef collection with50k rows, and mobile React render isolation. The WeakRef does not prove all commit objects are collectible or a memory budget. Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted mock orchestration, refusal, restart and storage examples. Retain unchanged two-phase real-WSL deployment/survival, the reduced idle-release holder proof without restart/first-output measurement, real worker stop/release cleanup barrier rows, physical Git branch-preservation rows, and SSH disconnected-close proof. Other SSH and CLI variants and WSL telemetry/warmup churn are intentionally removed. Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. Broad root-unit discovery loses naming/title/queued-host fixtures, main-window focus-shortcut and attach-services mock orchestration, Git Bash console-capacity fake process inventories, most real-Git preparation/locking variants and Claude/Codex catch-up examples. Keep lifetime rejected-writer followed by late termination proof and autonomous real-checkout cleanup; two-row real-Git rollback after a real move preserving a replacement/admin marker or revoked permission; a live translator write during a held transcript read fencing stale Claude history append; and Codex expected-item revision rejection before a historical writer shim. Codex driver registers retained bounds exactly once with original inputs; bounds does not prove modern writer persistence. Accepted changed-lock preflight sentinel and omitted-parent routing losses are not replaced. Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Broad root-unit discovery loses35WSL examples,22STT examples,22shared-server-banner examples,18clipboard-handler examples (whole suite deleted),14VM lifecycle examples and16commit-message cancellation examples. Retain4WSL and7STT mocked connector/worker cases,1rendered stale-banner refusal,2VM guard/failed-compensation cases and1late-stream ownership cancellation case; real WSL/microphone/remote-provider proof is not established. Separately discovered e2e-unit drivers lose13cross-version-wire local cases and15mobile active-publication cases, keeping same-process disk-reopen/new-host cursor content/epoch/sequence outcomes and a host/renderer-snapshot selection and inventory revision race respectively. Imported released stop-note scenarios remain unchanged and receive no duplicate credit. Cloud suites are outside root UNIT_INCLUDE. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The broad root-unit command loses the UNIT_INCLUDE src/ subset of retired examples; mobile is outside UNIT_INCLUDE. Other lost alarms are recorded by the adopted per-case source reviews. Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3381 composes root-adopted3376/independent3377 and3379/independent3380: intentionally retires436 authored registrations/670 expanded cases, including79 whole suites and12877 test lines, without equivalent replacement. Lost alarms include scheduling, account/host/status/filter/format inventories, microphone/image cleanup, title/bell/capability lifecycle routing, access/impersonation/outcome matrices, paste/input resend/ledger/retention, stale completions/reload containment, trust-read failure and popup OAuth/security/geometry vectors. Retained30 registrations/34expanded cases in22 suites preserve narrower SQLite TEMP/TZ/WAL, HTTP transcript root resume, mobile original-index Choose/Submit, child environment/Git lock expiry, stale ACK/PTY lifetime/peer fairness/durable replay/output ordering, actual DOM paste/editor focus, DEC2026 conservation, filesystem rollback, owned buffer lifetime, actual OSC parser/tracker handback, POSIX Python UTF8/fallback, durable trust concurrency/version, OpenSSH verdicts and hidden Chromium POST/route lifecycle. Mocked boundaries limit claims. Current bounded defining-owner reads preserve the retained oracles; captured identities are not full transitive semantic review. Both component blind pins authenticated before exchange; final reconciliation and explicit postpin3380reason correction supplement control, without retroactive blind claims. Root unit command excludes mobile and separately admitted Electron probes; use existing respective runners. No fresh execution, native focus/device/pixel UI, live SSH/remote, equivalent replacement or broad mixed-version/cross-platform validation is claimed. Prior dated receipts retain exact original scopes. Audit3375 composes root-adopted3370/independent3371 and3373/independent3374: intentionally retires79 authored registrations/84 expanded cases, including39 whole suites, without equivalent replacement. Lost alarms include federation field/parser inventories; Claude rejected-key precedence, credential clone redaction, managed-versus-user hook preservation and CLI defaults; setting/status/activity projections, mocked SSH/notification/reveal/Linear refusal, fake-clock reconnect and noise; image-fold artifact visibility, paste eligibility, setup trust, scripted ACP error-to-journal publication and ligature cache tuple aliasing; plus supplied folder-runner uniqueness, mobile host-overlay/credential/update/preference races, status/markup/title/keyed-row projections, subscriber cleanup, cancellation/close/refusal/link-issue and mirror suppression alarms. Retained3373 merger contiguity, dual-clock overdue-resume exactly-once, rejected-paste IPC sink and annotation schema roundtrip remain bounded. Retained actual HTTP/OSC status composition, destructive sibling-filesystem isolation, external contrast invariant and fixture CSS pixel intervention remain narrower. Original reviewed87authored/92expanded become9/9; current OpenCode suite adds two preserved upstream cases and the synthetic-title suite gained one Cursor policy mock-call case, independently reviewed for removal in root3378; current90/95 become11/11. That Cursor suppression/ready-frame regression alarm is intentionally lost; it does not observe native title ownership or tab flicker. For3370 only the peer was independently blind, with author exposure explicit;3373/3374 both blind pins were verified. This broad root unit command selects the reduced root unit suite; UNIT_INCLUDE excludes mobile tests, which require the existing mobile runner; retained Playwright component-pixel spec uses its separate existing headless fixture runner and is not validated by the broad unit command. No fresh execution, actual agent/shell/provider, OS material/focus, historical import equivalence, mobile, mixed-version or cross-platform evidence is claimed. All dated receipts retain their original scope. Audit3368 composes root-adopted3363/3364 and3367/3369: intentionally retires181 authored registrations/196 expanded cases, including28 whole suites, without equivalent replacement. Lost alarms include hibernation attention/liveness/backoff/sequential teardown and inventory, host launch compatibility/legacy/Kimi/resource cleanup, terminal recovery parser/pause/quarantine/remount, window-visibility omission-fence lifetime, launch-option rendered Start, sleeping-resume saved recipe/WSL quoting/cancellation, plus removed project/window/input variants. Additional tiny-suite losses include sentence/label/field/default inventories, credential omission, Windows argument/environment mapping, URI decoding, diagnostics, provider classification and fake-clock callback/parser examples. Retained ten registrations/twelve expanded cases include two literal Unicode Mn/Cf zero-width range guards in the actual character-range algorithm and protect narrower delayed editor bytes/destructive ownership, mounted hidden collision repair, ten transport epochs, duplicate-command refusal, caller timeout typing, executor unknown-opener refusal and failed-chunk user bytes. This broad unit command selects the reduced suite; no fresh runtime, real provider/network/PTY, filesystem restart, native UI, historical import equivalence, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3362 composes root-adopted3358/independent3360: intentionally retires129 authored registrations/140 expanded cases, including four whole suites, without equivalent replacement. Lost alarms include supplied orphan-adoption retry/malformed inventory/cancellation; fake-terminal replay parser/wedge/disposal callbacks; all-host catalog metadata and Windows preferences; host keepalive/protocol/stale/settings failures; and removed exact-stop/suppression, source save lifetime, diff-note queue, rename/editor close, input flood/chunk refusal/limits, purge and creation examples. Retained18 registrations/21 expanded cases protect narrower ownership, generation, dirty-state, queue convergence, encoding and attachment-lease outcomes. No replacement or keeper quota claim. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY/xterm parser, disk restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3359 composes root-adopted source3355/independent3356: intentionally retires130 authored registrations/139 expanded cases, including eight whole suites, without equivalent replacement. Lost alarms include strict create naming/capability/legacy payloads; supplied transport host replacement, deadline reattach, create-handoff and split activation; agent-session fork/clipboard/platform flags; shutdown cleared-scrollback/unmounted bindings; simulator host-collision/selection/shutdown; and removed editor, catalog, mutation, launch and status examples. Retained12 adverse-ordering/state-consequence cases are narrower and do not replace all removed alarms. Two queue absences receive zero removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY, filesystem restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3349 composes adopted batches3343,3345 and refreshed3354: intentionally retires234 authored registrations/294 expanded cases, including13 whole suites, without equivalent replacement. Lost alarms include supplied terminal reconnect/replacement/typeahead/mirror/result and snapshot examples; synthetic render-desync persistence/recovery; worktree listing/owner/catalog/lineage/removal and activation/creation examples; host-scoped PR and task-record projections; editor diff/status/comment and UI send-target examples; automation observation/wake, supplied sleep/deadline clock and native-chat completion/notification/relaunch samples; held-tab layout and cleanup/progress guard examples. Retained adverse-ordering and wire-boundary cases are narrower and do not replace all removed alarms. The already-upstream visibility-resume deletion receives zero new removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH, native process/power/GPU, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3342 composes adopted source batches3333/3334,3336/3337 and3340/3341: intentionally retires180 authored registrations/263 expanded cases, including seven whole suites, without equivalent replacement. Lost alarms include corrupt editor hydration; mobile editor/diff publication and privacy projections; stale-resubscribe routing; model-picker projection/refetch/retry/fallback; editor check-details and frame property inventories; latched-pane cleanup/quiescence; client create replay identity/options/compatibility; and removed owner, async routing, terminal and layout examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts keep their original scope. Audit3335 composes adopted source unions3327/3328 and3330/3332: intentionally retires100 authored registrations/123 expanded cases, including ten whole suites, without equivalent replacement. Lost alarms include seeded host persistence/contention and stale-host cleanup; browser snapshot assembly; mocked wake/DPR callbacks and frame budgets; preflight projections; palette authority/cache suppression, URL intent and saved-title cross-repo collisions; metadata coverage/set patch and dropdown assembly; and removed terminal, worktree, review-refresh and owner-routing examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI/GPU/focus, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain only their original scope. Audit 3318 composes adopted sources 3310, 3313 and 3317: intentionally retires 71 authored declarations and 102 expanded cases, including whole terminal-detach agent-retention, seeded batch/single open-files equivalence, shallow context-menu shortcut-badge, mocked active-workspace delete-dispatch, workspace session hydration, SSH target cleanup, editor session hydration and worktree terminal purge suites. Lost alarms include chained transfer alias and immediate close/exit retention; batch/single divergence, survivor/selection/map preservation and input nonmutation across 400 imperative seeds (one registered case); disconnected pending-handle retry, authoritative absences/close-record shortcut/older-host absence and published-presence/unpublished-frame examples; published empty host-graph omission to pane exit; legacy search ranking/exclusion fallback; provider request upgrade/dedupe/finalizer ownership; asynchronous PR suppression/primary-change and same-number different-repository URL rejection. Deletion routing loses host/instance qualification, paired and legacy mapping, folder ownership, active-versus-hover/menu-row selection, ambiguity, modal/editable/creation/view/main/deleting/missing guards and shortcut advertisement. Unchanged real keyboard/hover/confirmation/catalog E2E remains narrower, not an equivalent replacement. Additional losses include scripted old-host disk/UTF-8/noop/baseline and landed/unlanded lost-reply/replacement-retry outcomes; ordinary/repeated healthy-link reattach; cross-owner terminal/chat binding; oversized replay permanent-unavailable classification; floating reveal keyboard ownership/close/disable/listener disposal; naming/retained-turn/Sleep/error/close/reject status tables; SSH membership prune/new-target-only reads and environment/local bucket isolation; same-frame receipt capacity and positive bare/headless publisher readmission. These actual regression alarms are deliberately lost; no fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit 3312 composes adopted sources 3302 and 3308: deliberately retires 33 authored declarations and 36 expanded cases, including the whole backend startup-focus, active-browser IPC-close-routing, remote-browser-creation and agent-terminal-presence suites. Intentionally lost alarms cover distinct six-pane reconnect handles; SSH host label/Connect callback, unhydrated visit cleanup, repo cache aliases and hidden worktree/tab/PTY cleanup; adopted-agent startup focus and viewer navigation/reuse; staged, pageless, source, stale and orphan browser-close routing; web local-materialization refusal, desktop incapable-host fallback, failed/thrown remote creation and paired-web sign-in refusal; BOM/NUL and remote/local custom-editor byte-read examples; immediate folder activation and unread clearing; and batching idle/coalescing, accumulated byte ceiling, leading-edge-disabled, standalone synchronous oversize rejection, validation yield, deferred pending-tail order and both viewport-clear examples. The newly reintroduced agent-terminal-presence suite also loses actual terminal-status membership positive and nonterminal-status callback suppression alarms, including the recent 40916 guard regression; the older different 2133 presence-suite history remains historical and receives zero duplicate removal credit. These real regression alarms are intentionally lost. The unchanged survivors provide narrower coverage, with no equivalent replacement or fresh gate, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation claimed. Audit 3301 combines adopted source batches 3296 and 3299: retire 27 authored declarations and 36 expanded scenarios, including six whole suites. Intentionally lost alarms cover failed-verification/recovery/restart counters and mocked hosting/toast; early overlapping pane-read scheduling/count; unreadable removal listing draft guard; bulk-purge remote-qualified and raw-local guard maps; initial-snapshot blank/mode/oversize/printable/fresh-spawn callback and replay examples; fallback mobile file close and ordinary MRU; default queue overload/drain; seeded browser-page reuse and supplied missing-page URL recreation; ambiguous sleep/hibernation owner refusal and untouched bindings/origins; ordinary selection/activity/fallback priority; skip-remote success and retained hints; supplied structured-chat unsent retention and scoped removal draft eviction; caller-chat focus precedence; open/draft PR cache eviction and merged-head fallback result inventories. Retained adverse-ordering and ownership cases are narrower and do not establish equivalent replacements. No fresh runtime, native, physical provider, cross-platform, mobile or mixed-version evidence is claimed. Audit 3292 combines adopted 3285/3287/3289/3293 removals: 40 authored declarations and 47 expanded scenarios, including whole frame-editor-view, ambiguous remote-delete-refusal, unverifiable-host subscription and editor-close cleanup suites. The previously reviewed dock-badge suite was already removed upstream in PR 40895 and receives zero new removal credit. Intentionally retired alarms include background browser selection and last-tab landing; main startup fallback, SSH project cleanup/survivor routing, exact-PR contradiction/saved-push positives, replay/sidecar rollback and wrapped remote error normalization; records/snapshot missing-diff hydration, ambiguous folder-owner delete refusal, focus no-op notifications, nested editor context-only cache check, pending broadcast-first status and ordinary four-confirmation aggregation; preview-source frontmatter pruning, approved local/runtime agent dispatch, non-GitHub legacy PR cache invalidation, stale merged-head transient-error fallback, empty-queue immediate query reply and unverified-to-concrete preflight risk. Additional intentionally retired alarms are injected host subscription/unsubscribe counts, synthetic editor reveal/draft/fallback/scoped close, ambiguous unread refusals and hidden mark/read roundtrip, immediate connect backoff/noError, positive mirrored evidence-clock renewal, supplied VM failure/success projections and git-local/folder-SSH wake permutations. Remaining temporal/ownership cases are narrower; no equivalent replacement or fresh execution is claimed. Audit 3283 removes 20 authored declarations and 31 expanded scenarios, including two whole suites. Retired alarms cover PR refresh-state pruning, shared runtime subscription cleanup and store isolation, language content-change routing and older completion ownership, ordinary panel retry-timer cleanup and pending loading, four hosted-review lifetime permutations, mocked terminal creation error/order wiring, five sleep-inventory variants with pending-frame-only assertions, palette fallback/composite highlights, Windows/UNC encoded-editor input rows, mixed-repository partial failure counts, title setters and generated-title bypass/replacement, five window-close coordinator delegation/guard/finally branches, and ambiguous-old-record frame reveal. These regression checks are intentionally lost under the test-value audit; retained cases are not equivalent replacements. Prior coverage notes and receipts remain historical. Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims. Audit 3256 removes these specific alarms from the broad root unit commands: skill dialog active-share selection, close and pending-share handoff; simple keyed-record deletion; marker live-region insertion, simple landing and nine baseline policy examples; General search/control navigation inventory; orphan-count cache bootstrap; seven Codex code classifications and HTTP 429 warning mapping; two skill unread-root verdict examples; peer-mail payload and conversation-ID rejection; and the GitHub organization TABLE text-field optimistic rollback/failed-envelope example. These include real behaviors; retained tests do not provide equivalent coverage for every removed scenario. Mobile losses are recorded separately and are not coverage of these root commands. Audit3246 retires NewRowsMarker reveal/no-repeat and pane-scoped beforeinput checks; skill-owner option availability/count/dedup/order; six styled Input/Textarea IME forwarding rows; the static Codex/OpenCode smart-key inventory; tab-map AST ratchet diagnostic fixtures; child-roster work-budget and retained-aggregate alarms; malformed persisted floating-cwd fallback/no-crash/empty exact-root checks; the unanswered-host empty-list discriminator; the direct invalidated-cache commit-false assertion; one redundant digit-keyup IME row; cached non-supported Claude title-generator rows; and the duplicate late naming-result singleton. These root broad commands lose those specific alarms without equivalent replacement. Distinct retained owner/state checks have their own bounded claims; the real scheduler still rejects stale response data, while the direct false-return alarm is retired. Audit3231 retires supported-host restore-pane key mapping, closed/open creation-sidebar toggle visibility, unrelated scope-error/null classification and quick-submit reveal/no-create checks. These broad commands lose those real narrow alarms; no replacement coverage is claimed. Audit3219 removes the synthetic Cmd+J extra-source suite; this broad command no longer checks its match/tie placement and selection, announced count, empty-query cap, or workspace hiding with retained recent tabs. No replacement coverage is claimed. Audit3209 composes approved sources3202/3206: deliberately retires seven authored/expanded cases in four whole suites without equivalent replacement. Work-item queries lose real GitHub/GitLab oversized ASCII secret-prefix empty-query and whitespace-before-trim refusal alarms; inputs share the imported size bound and exercise only its fast length branch, with no multibyte or actual provider/exposure guarantee. Skill sharing loses complete/partial managed-bundle and destination-ambiguity association checks plus three negative origin/path/scheme admission examples; these do not establish uploaded contents, arbitrary-URL fetching, authorization or execution. Retain exact originless-project direct-link fallback, cloud-delete confirmation, bundled-target repair/owner isolation and explicit Windows-host preference over stale WSL suites. Rejected3201 runtime-preference removal is excluded. No real cloud/network/host/disk, mobile or mixed-version execution validation is claimed. Audit3200 composes approved source3194: deliberately retires thirteen authored registrations/twenty-seven expanded cases in six whole automation host/list policy suites without equivalent replacement. Real RPC category/retryability and wrapped-timeout recognition, unscoped-failure/scoped-success health evidence precedence, exact-ID create selectors and per-run workspace omission, paired-web local/SSH/absent host catalog routing, incompatible/removed/unhydrated/offline execution health, runtime-before-nested-SSH recovery dispatch, and no-owned-focus/successor/foreign-list focus policy alarms are consciously lost. Retain exact20line orphan allow/refuse/precondition and exact90line cross-host same-ID search suites. No retry-timer/fence lifecycle, actual reconnect/network/write delivery, native focus, mobile/mixed-version runtime or disk persistence coverage is claimed. Audit3191 combines approved source3182/3187/3188: deliberately retires thirteen authored Vitest registrations and fifteen expanded cases, including five whole suites, without equivalent replacement. Attachment intake loses real portal/native-capture terminal interception and unowned-container refusal, immediate child-only committed availability/claim-ref negotiation and delivery, and direct-target over stable focused/background composer routing through disable/re-enable/remount and independent question focus. Exact destination/cache/draft and final-stat owner/workspace/File-release suites remain; they do not replace Surface recipient routing. Automation authoring loses destination runtime catalog membership, local/direct-SSH exclusion of paired-runtime repos, unknown-runtime empty catalog, logical project/host/setup/repo/path context payload, and missing/nonready setup refusal; these were genuine direct helper alarms, while exact schedule transformation, legacy schedule and setup-decision suites remain. Agent picker loses setup-chat/terminal/missing-installer/unsupported-or-unknown-host row projection samples and the ordinary unsearched menu variant; the entire original26-line resume recipe suite remains, including reported bypass versus default/absent permission modes, as does the exact search-result menu callback with its fixtures, model/effort commits and staged Arguments reopen outcome. Rejected predecessor3180 full recipe deletion is excluded. No actual native drag/cursor/focus/IME, upload bytes or disk/restart persistence, full automation save/scheduler/runtime transport, real resume-process flags/environment delivery, or native menu/rendered layout validation is claimed. Audit3178 combines source3169/3170/3175: deliberately retires eight authored units (six Vitest cases and two imperative custom relay scenarios), including two whole suites, without equivalent replacement. Voice Section loses per-model pending-delete isolation across interleaved A/B completion and the two-success refresh-call alarm; exact VoicePane delayed key-clear/newer enabled-toggle merge remains and does not replace row deletion coverage. Speech loses dedicated rating-scale/inclusive-ceiling, unsupported-versus-unmeasured, explicit/system-language precedence/locale alias, accuracy versus fast named/default/best-measured selection, and unmeasured/no-match examples; exact offered-user-pick versus retired-selection case and its fixture remain. Relay loses legacy ping-delivery count/liveness sampled before the silence deadline and grouped malformed Bearer/host-ID 401/429 routing checks; twelve real Worker/DurableObject/shipped-client scenarios remain, not equivalent replacement for those narrow alarms. Six prior speech cases are not all deleted: approved successor3175 keeps the original user-choice case. No actual credential/file persistence, native/GPU/engine/download delivery, production assignment policy or deployed-runtime validation is claimed by this reduction. Audit3165 combines source3160/3162: deliberately retires six authored/expanded cases across three whole suites without equivalent replacement. Launch/status losses: observed React-render pending/resuming coordination across settings and deferred offer read; stale-offer reread suppressing dialog reopen; held-local-chat recovery visibility with new-chat preferences off; disabled-local admission avoiding offer RPC despite an injected but unconsumed paired-tab fixture; and run-only lost-reply uncertainty reachability until direct viewed-run retirement. Launch probe does not prove arbitrary synchronous-store atomicity, the paired fixture is not remote runtime enrollment, and the status case directly marks viewed state rather than rendering the summary. Crew-hook losses: old-host method_not_found cache persists across party changes but is released by independently supplied connection generation/verified pairing status or pairing revision, with actual frame publication and teardown. These are real narrow coordination, admission, uncertainty and mixed-version cache alarms consciously lost. Exact web verified-runtime writer handoff guard remains; it does not replace those alarms or prove live host/native/mobile delivery. Audit3156 combines3147/3150/3152/3153/3154: deliberately retires39authored/40expanded native-chat recovery cases, eight whole suites and two orphan test-support files without equivalent replacement. Lost alarms: lost-reply unconfirmed reconciliation, skipped rows/counts and missed-frame repair, unknown/pending outcome and omitted-failure-list compatibility, uncertain history after dismissal, retry/refusal/dismiss lifecycle, hidden/consumed picker ownership, result-tree keyboard focus/disclosure and all-skipped retirement; unconfirmed-over-conflict guidance and failed-chat changes despite older host timestamps; nearest-listed ancestor/cyclic forest shape, descendant membership, host ordering/missing-host local fallback; skipped/readiness/admission counts, provisional skip/progress monotonicity, early per-chat verdicts with batch pending protection, older-host waiting, start-slot/delivery distinction, retry-over-failure and unknown-after-withdrawal attention; remote snooze/reconnect/reoffer, unseen mixed summary through open/close, watched completion retirement, new success beside old failure, failed-reread mixed-result preservation, filter/collapse completion resets, retry summary replacement and current-offer/history selection; cross-host workspace identity, rendered cyclic reachability, nested tri-state/toggle propagation, project eligibility isolation and collapse preserving selection. Exact fallback-list completion barrier, batched verdict/cleanup retention, stale-read versus dismissal publication race, and requested-but-never-rendered finished-run retirement remain; they do not replace retired alarms. Audit3146 combines source reviews3132/3133/3135/3138/3143: intentionally retire20authored/31expanded cases without equivalent replacement. Provider-session losses: structured-native terminal-resume exclusion, metadata-less completed identity, new-turn completion clearing, Pi provider-only/periodic/manual promotion, changed-transcript launch-config isolation, Pi/omp/prime-agent completed-session remote/manual-shutdown promotion, and quit/done precedence over heartbeat. Side-thread/question losses: finished-pane acquisition, hidden title/recap states, local/relay/relay-done conversation takeover with prompt/session/child resets, plain-message abandonment, compaction/session replacement and completion resets. Codex startup losses: incoming-owner cached child replacement, old-relay foreign live-session correction, completed foreign-root turn-fact permutations. Transcript losses: real temporary-JSONL partial sibling/final-child completion, unlabelled child attribution, compact cached replay preservation and100/1000completed-child roster retention/release. Compiler-ratchet losses: valid-line uncompiled-list parser grammar examples and injected-existence stale-path filtering; these did not exercise actual filesystem canonicalization or build exclusion. These are real lifecycle, ownership, replay, liveness and retention alarms, including recent#40246 regressions, deliberately lost. Retained conditional record replacement, clockless root/SSH owner isolation, persisted main-thread fork rejection, partial/final question-answer lifetime, cached-roster/missing-ID/live HTTP/durable startup boundaries and restarted-relay refusal/acceptance do not replace those losses. No native/SSH/WSL execution or equivalent coverage is claimed. Audit3128 scoped coverage reduction: Audit3121 removes VoiceDictationLanguageSetting.test.tsx (Spanish-to-es callback and unsupported-model Korean option presence) and voice-speech-model-rows.test.ts (provider/language-order/retired-on-disk list policy); these real narrow alarms are deliberately retired without replacement. VoiceSpeechModelSection per-model concurrent deletion remains unchanged. Audit3122 removes the direct absolute/parent-segment sparse-directory exception-type sample and the five-row IPC sparse-preset error-code/non-save table (two authored/six expanded cases). Those real typed-validation and IPC refusal/error-code alarms are deliberately retired. Keep both real symlink/junction floating-directory trust cases and the minimal RPC structured validation-reason serialization case. The RPC case does not replace IPC save/refusal behavior, typed normalization for both path inputs, actual Git sparse checkout or rendered localization. No equivalent replacement or fresh test/runtime/platform/remote/performance validation is claimed. Audit3124 removes ExperimentalPane.test.tsx (ordinary Pet switch callback), WorkspaceDirectorySetting.test.tsx (padded absolute saved-path normalization/no-write blur), and repository-search.perf.test.ts (navigation/selected-pane builder-call policy, fixture cardinality/nonempty entries and renamed project keyword inclusion). These real narrow alarms are retired without replacement; RepositoryPane.search.test.tsx search-to-sparse-editor request remains unchanged. Audit3129: resolver Windows case-insensitive and POSIX case-sensitive configured-env composition plus mocked-base launch-preflight Windows composition are intentionally no longer checked by the two deleted suites. No equivalent coverage claimed. Keep runtime-structured-agent-host-env.test.ts unchanged: configured Windows Claude-home account identity and host-account precedence remain checked. Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): The main IPC contract test subscribes terminal.multiplex through the real handler, disconnects the environment, and asserts the renderer received exactly one {type: close} subscription event. Two isolation tests subscribe a second stream to the same environment and make the first one fail -- in its socket close, and in the liveness probe inside notifyClosed -- then assert the disconnect does not throw, both transports closed, and every close the renderer could still receive was delivered. A third drives a host-initiated close through the transport callback, which is the one notifyClosed call site with no surrounding guard, with a renderer send that throws, and asserts it cannot escape into the WebSocket close handler. A fourth test asserts that after retirement a late response frame is not forwarded and a late transport close does not re-send. The paired-server journey runs three reveal scenarios against one real host and one real paired desktop client, and for each records buffer restore, host-side receipt of the typed marker through an out-of-band host sink file, live paint without a tab flip, and PTY-versus-pane grid convergence.", "commands": [ "pnpm exec vitest run --config config/vitest.config.ts", "pnpm exec playwright test tests/e2e/paired-remote-terminal-parked-reveal-interactivity.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1" @@ -4301,6 +4147,7 @@ "Add real sleep/wake and network-loss transport drops alongside the explicit disconnect trigger." ], "knownGaps": [ + "Launch direct-owner cleanup current scope: This gate’s unfiltered unit command now selects a suite reduced by 82 whole registrations / 159 potential table examples in 10 whole test Programs, including 8 registrations / 15 examples from five once-registered create-message factory closures. Lost alarms include frozen first-message/options and legacy-host fallback; distinct actions and redelivery; uncertain/refused/reloaded input custody, Retry and late proof; rich prompt/attachment upload Stop/close and handback; ordinary draft/editor/IME/StrictMode lifetime and accepted topology; provisional fallback tab placement/group/pin/order and rich worktree handoff. Four whole consent/resume-identity cases remain in two Programs; they do not replace these alarms. This entry governs current reduced-unit scope and qualifies any broader implication of unchanged oracle/coverageNotes history. Entire dated evidenceRuns, original commands/currentCommand values, counts/results and existing history retain their original scopes only; no fresh execution, transferred pass, replacement equivalence or prior upstream-removal credit is claimed.", "Audit2133 current-parent preparation (988 authored removals; independently reviewed2099/2107/2115/2116 decisions; upstream clear-buffer and recovery-image regressions retained): Intentionally retire these low-value alarms without replacement: src/main/persistence/worktree-sort-order-write.test.ts: re-ranks every writable row when a blocked row sits in the requested order. src/main/runtime/construction/orca-runtime.test.ts: remove only literal registration import/call pairs await import('../orca-runtime-tests/worktree-setup-and-startup.spec'), await import('../orca-runtime-tests/gitlab-and-pr-bases.spec'); no additional authored credit. src/main/runtime/orca-runtime-tests/targeting-and-resilience.spec.ts: routes tab switch and capture start by explicit page id; accepts focus on tab switch without altering bridge args (focus is main-side concern); keeps terminal cwd resolution fail-soft when the provider is unavailable. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts: drops the bounded scan cache when orphan-cleanup removal completes; clears optimistic reconcile tokens when a CLI worktree removal succeeds; emits drift without mutating when the fetched base fast-forwards created HEAD; emits base_changed without mutation when the fetched base rewrote history; skips stale-token reconciles without mutating or emitting stale status; emits unknown without mutation when fetch fails or the base ref is missing. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts: routes runtime preserved-branch force-delete through the selected WSL project runtime; replies to a waiting client with the error of a delete that fails after acceptance; treats forced runtime deletion of an already-missing unregistered worktree as cleanup; treats normal runtime deletion of an already-missing unregistered worktree as cleanup. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts: warns that a missing-repo removal only forgot the workspace; restores runtime watchers when CLI worktree deletion fails after teardown; does not re-spend the drain budget on a removal after a wedged install was abandoned; routes runtime worktree removal through the selected WSL project runtime; force-deletes a branch that was preserved by runtime worktree removal. src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases-part-02.spec.ts: records GitLab pasted-project recents only after successful runtime lookup; threads explicit origin preference through runtime WSL PR base resolution; resolves local GitLab fork MR bases from the target project MR head ref; captures the fork MR head from a dedicated ref, not the shared FETCH_HEAD; keeps the durable MR head when the head fetch fails but the local ref resolves; routes runtime GitLab fork MR base git calls through the selected WSL project runtime. src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases.spec.ts: passes SSH connection ids through GitLab task operations; routes runtime GitLab issue, MR, work-item, and todo actions through the selected WSL project runtime; routes runtime GitLab MR details, review-management, job, and pasted URL actions through the selected WSL project runtime; normalizes runtime GitLab issue list arguments like the desktop IPC path. src/main/runtime/orca-runtime-tests/worktree-setup-and-startup-part-03.spec.ts: does not warn when setup is explicitly skipped for CLI-created worktrees; puts the agent a create starts in the first default tab, as the window does; keeps the 8s main-runtime startup readiness budget for agents without an override; gives OpenCode the 20s main-runtime startup readiness budget; launches explicit startup agents with prompts for CLI-created worktrees. src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts: returns a setup launch payload for CLI-created worktrees when hooks are explicitly enabled; does not hand the window a setup main never tried to start; passes the selected Windows setup shell into runtime runner generation; follows normal setup policy for CLI-created worktrees without activating them; uses returned WSL setup shell metadata when runtime spawns setup; uses the shell-aware setup runner for windowless creates without a startup command; reports the in-process setup hook as running when nothing can launch the runner. src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-02.spec.ts: coalesces two clients sleeping the same host worktree; stops exactly the expected live PTYs for a worktree; explains a refused workspace close instead of throwing the raw refusal enum. src/main/runtime/orca-runtime-tests/mobile-summaries-part-03.spec.ts: marks the desktop-active worktree as isActive; includes SSH-backed worktrees in the mobile worktree summary; caches repeated malformed path misses before normalizing them again. src/main/runtime/orca-runtime-tests/mobile-summaries-part-02.spec.ts: keeps title-only foreground work ahead of monitoring in another pane; keeps a local hook row while a connected PTY still backs its pane; keeps an OSC row via its connected PTY after the pane binding is cleared. src/main/runtime/orca-runtime-tests/mobile-summaries.spec.ts: resolves files through a source-visible linked-checkout worktree; marks saved session tabs with live PTYs as host sidebar activity; attributes live legacy PTYs from saved layout bindings when their panes are hidden; marks saved browser tabs as host sidebar activity like desktop; falls back to the path-keyed GitHub cache entry; includes folder workspaces in compact worktree summaries for mobile; attaches inline agent rows from the latest OSC 9999 status; projects monitoring over a title-derived working status. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-03.spec.ts: pushes to an idle pane when the only live waiter filters out the message type; resolves a registered waiter without PTY-injecting when the leaf is already idle; keeps already-idle status after tui-idle wait for immediate message delivery; resolves message waiters when notifyMessageArrived is called; does not resolve type-filtered message waiters for unrelated message types; removes message waiter abort listeners after message arrival; resolves message waiters on timeout when no message arrives. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-02.spec.ts: delivers pending mail via notifyMessageArrived when the recipient is already idle; does not keep retrying when every pending row was already pointed; repoints pending rows restored with a live-idle coordinator. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-13.spec.ts: rolls back a half-created terminal whose surface never publishes. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts: rejects startup prompts for agents that require post-ready stdin; uses portable Unix quoting for mobile agent launch commands in WSL project runtimes; keeps PowerShell quoting for mobile agent launch commands in Windows host runtimes; uses cmd.exe quoting for mobile agent launch commands in local Windows host runtimes; publishes headless mobile session agent identity with synthesized PTY status; rejects disabled mobile session agent launches before spawning; validates mobile terminal insertion anchors before resolving agent launch commands. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-11.spec.ts: coalesces a reconnect close burst onto one authoritative PTY inventory; keeps an explicit user close destructive while the PTY is live; builds mobile session agent launch commands on the runtime host; injects mobile quick-command prompts into the host-built agent startup command. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-10.spec.ts: closes persisted headless terminal parents before any prior list call; tears down a serve-owned headless tab on close while a renderer is attached so it cannot resurrect; defers a renderer-published pending tab to the renderer instead of tearing it down; returns a delegated close outcome with no selection tombstone when the renderer owns the outcome; tears down a runtime pending shell the renderer never adopted on close. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-08.spec.ts: materializes a plain shell when the pending tab has no launch agent; hydrates legacy persisted terminal tabs without layout entries; reads and indexes the full agent-status snapshot once per mobile projection; kills persisted SSH PTYs when closing hydrated headless tabs before pane metadata is restored; materializes hydrated pending headless terminals with the persisted session identity. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-07.spec.ts: hydrates a persisted SSH-owned pane before an attached renderer publishes its graph. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-05.spec.ts: publishes the desktop's tab name over the live agent title, and the live title without one; uses fresh neutral PTY titles over stale mobile snapshot and OSC titles; operates PTY-backed mobile session terminals without a renderer graph; reuses pane close for live PTYs that do not own a renderer tab; lists PTY-backed mobile session terminals without a renderer graph; shows and resolves active PTY-backed mobile session terminals without a renderer graph. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-04.spec.ts: creates mobile session terminals for folder workspaces in a headless runtime server; spawns fresh headless SSH mobile session terminals instead of reattaching synthetic local ids; hydrates headless mobile session terminals from the host workspace session; keeps live headless mobile session terminals when a desktop renderer publishes without them; publishes laptop-created remote runtime split terminals to phone session tabs. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-02.spec.ts: does not report headless wake degradation without sleeping records; does not wake slept agents for non-mobile session-only activation; does not rewrite unread metadata when a mobile activation finds the worktree already read; returns unread:false from worktree.ps after a mobile activation clears the flag; materializes pending mobile session terminals without focusing desktop clients; closes browser mobile session tabs when addressed by browser workspace id. src/main/runtime/orca-runtime-tests/mobile-session-tabs.spec.ts: resolves mobile terminal surfaces by exact split leaf; closes the matching mobile terminal UUID leaf without closing the whole tab; closes the whole mobile terminal tab when addressed by parent tab id; activates the active split leaf when addressed by parent tab id; clears unread metadata on mobile worktree activation without focusing desktop clients; wakes slept agents on the host renderer when a phone activates a worktree. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-05.spec.ts: publishes the hook provider session on a headless mobile tab so native chat can address the transcript; recovers the agent type from the hook row when the pane was launched without an agent hint; reads one agent-status snapshot per projection, not one per terminal tab; waits for unknown-launch foreground owner before publishing Pi-compatible mobile status; keeps Pi-compatible mobile session status as Pi for an unknown-launch foreground pi PTY; keeps renderer-vetted mobile agent status for custom-titled terminals. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-04.spec.ts: publishes terminal surface agent status for paired web clients; preserves authoritative OMP identity for Pi-compatible remote terminal snapshots; normalizes a remote OMP title without republishing omitted launch identity; skips the foreground-process probe when the PTY launch agent is already known; probes the foreground process only on a status transition for unknown launch agents; passes the client signal and the slept-worktree refusal to the spawn. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts: does not use stale runtime-created PTY status when a neutral PTY title exists; recognizes runtime-created Codex PTY handles from the ready prompt; recognizes runtime-created Antigravity PTY handles from the ready prompt; recognizes live leaf Antigravity terminals from the ready prompt; recognizes a later Antigravity header with a prompt but no model line; keeps mobile terminal surfaces visible while their leaf handle is pending. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-02.spec.ts: lets Claude agents management titles clear stale runtime-created title status; does not recognize live Claude agents panes from a Claude foreground process; does not let stale tab-level agent titles override current neutral pane titles; lists live terminals with fresh pane titles over stale tab titles; lets adopted neutral pane titles use non-shell foreground fallback; lets adopted neutral pane titles retry wrapper foregrounds until recognized; authorizes settled CLI prompts only after positive %s foreground identity; does not recognize arbitrary foreground TUIs as running agents; lets live neutral pane titles retry wrapper foregrounds until recognized; lets current Claude agents PTY titles override stale runtime-created OSC titles; does not let stale Claude agents OSC titles suppress current PTY title activity. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status.spec.ts: keeps preallocated terminal handles valid across renderer reloads; preserves runtime-created PTY process identity after graph unavailable; keeps prompt bindings fenced across runtime restarts without provider incarnation; recognizes runtime-created PTY handles with agent launch titles; does not treat a bare Cursor Agent native title as a running agent session; uses stale runtime-created PTY status when there is no title or foreground evidence. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-07.spec.ts: keeps orphaned list and show writability aligned with the send gate. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-04.spec.ts: cancels a coalesced SSH worker recovery retry when its provider disconnects. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-03.spec.ts: retries renderer reveal before clearing an adopted legacy worker sleeping record. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-02.spec.ts: recovers exported ORCA_TERMINAL_HANDLE from discovered live PTY sessions. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-12.spec.ts: applies ANSI erase-from-start line controls in retained previews; applies ANSI stripping for private or intermediate CSI line controls; applies ANSI stripping for unsupported erase-line modes; reveals an agent terminal under the pane the caller reserved; keeps a fresh %s pane host-owned when a desktop window is available; keeps desktop publication %s separate from the reserved host spawn; mints its own pane when the reserved leaf is malformed, and reports the one it used; starts an agent terminal with the model the caller picked; starts an agent terminal without a model flag when no pick was made; attributes a startup-agent launch named %s as %s; attributes a fresh agent session the host builds as unknown; leaves a bare agent command the user typed out of launch attribution. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-11.spec.ts: trims oversized terminal output bursts without per-line array shifts; builds terminal previews without mapping the full retained tail; keeps recent PTY replay output capped without needing previous data for large chunks; applies terminal redraw controls before retaining previews; applies ANSI terminal redraw controls before retaining previews; retains multi-line ANSI footer redraws instead of appending old frames; keeps the cursor column when erasing full lines in multi-line redraws; applies ANSI split redraw controls without leaking raw params. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-10.spec.ts: returns renderer visible screen lines through terminal.read RPC JSON result; separates composer drafts from provider-owned terminal screens. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-09.spec.ts: reports an in-flight PTY focus as not navigated when its notifier disappears; reports graph-leaf focus as not navigated without a host notifier; grounds the provider mode tracker before a later chunk, in the emulator order; grounds an in-flight provider snapshot capture so it cannot publish the pre-reset screen; waits for terminal exit and resolves with the exit status; keeps terminal read payloads bounded while retained output remains pageable; trims terminal read preview character budget without per-line array shifts. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-08.spec.ts: submits a silent Claude composer once after the bounded render fallback; chunks large terminal.send text before provider writes; yields chunked terminal input through immediates between writes; yields while validating accepted large terminal.send text before provider writes; reveals a background terminal session when focusing its handle; replays captured launch config when focusing a background agent session; reveals background terminal sessions with the freshest PTY title; renames background terminal handles without requiring a visible tab; keeps a background terminal handle stable while reveal adoption is racing. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-07.spec.ts: resolves tui-idle when a stale Codex prompt is followed by Antigravity readiness; returns an agent-neutral blocked wait result for update prompts; returns an agent-neutral blocked wait result for workspace trust prompts; returns an agent-neutral blocked wait result for cwd selection prompts; returns a blocked wait result for Codex model migration prompts; returns a blocked wait result for Codex startup hook review prompts; returns an agent-neutral blocked wait result for generic interactive prompts; splits text and enter writes for background terminal handles; types the lead line for %s: %s; submits through the agent-specific PTY timing policy for %s. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-06.spec.ts: waits for exit on background terminal handles; keeps retained PTY transcript memory when controller refresh fails; resolves tui-idle from an Antigravity ready prompt preview; resolves Antigravity ready prompts with newline-heavy pasted tails without splitting; resolves live-leaf tui-idle from an Antigravity ready prompt preview. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-03.spec.ts: spawns the available Qoder command for a captured same-session resume: %s; does not use the local Windows shell setting for remote Windows bare agent creates; matches canonical bare agent commands when a command override is configured; keeps non-bare agent command terminal creates unchanged; keeps disabled bare agent command terminal creates unchanged; injects runtime hook receiver env into terminal sessions; creates background terminal sessions for a $label; creates background terminal sessions for a $label; enables Claude Agent Teams only for direct Claude launches when configured in-process; reveals Claude Agent Teams launches with the rewritten launch config; preserves Claude Agent Teams for sequenced Claude launches. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness.spec.ts: creates visible terminal sessions without asking the renderer to focus a tab; asks the pty controller for the requested shell instead of a startup command; knows the agent a flagged launch command names before any process read; retires a flagged command pane identity when the command exits; retires only receipted restored PTY authority on command completion and exit; forgets synthetic handles when disconnected PTY records are pruned. src/main/runtime/orca-runtime-tests/headless-snapshots.spec.ts: returns OSC titles from headless main terminal snapshots; adopts renderer-seeded titles into headless main terminal snapshots; returns cwd metadata from seeded headless main terminal snapshots; adopts OSC7 host metadata from seeded headless terminal scrollback; falls back to the renderer snapshot for hidden-output recovery without headless state; keeps an empty headless snapshot authoritative for hidden-output recovery; advances the absolute output sequence across a daemon stream gap; emits explicit OSC 9999 agent status from runtime PTY data. src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-02.spec.ts: falls back to the provider snapshot for a restored PTY with no mounted renderer; falls back to the available mirror when authoritative provider history is unavailable; keeps an empty renderer snapshot when the provider has no retained content; keeps restored provider history authoritative after later live output; uses provider alternate-screen state while a partial model is unsafe; prefers the tracked title over the headless emulator lastTitle; keeps the cursor-agent literal in record-fallback snapshots only without a tracker title; touches mobile snapshots once for decorative spinner ticks, again on idle. src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts: creates a same-repo PR branch override from a resolved head SHA and matching push target; skips broad remote fetch for an existing full-SHA PR base; creates a selected Bitbucket PR branch override from a matching remote branch; suffixes an existing PR when a matching push target lacks selected PR metadata; suffixes a matching push target branch when selected PR metadata has no PR number; suffixes a matching push target branch when the existing PR is different; suffixes a selected PR remote conflict when the PR lookup fails; checks out an unused runtime PR branch only when it is at the resolved head SHA; suffixes only the runtime worktree path when an exact PR branch checkout path exists. src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts: returns runtime local base update suggestions from addWorktree; creates a runtime local worktree from a usable persisted local branch base; does not create a runtime local worktree when the refresh fails and no local base ref exists; creates a branchNameOverride worktree from the selected matching remote base ref. src/main/runtime/integrations/skill/orca-runtime-skill-recovery.test.ts: continues skill management after startup recovery fails. src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-detached-routing.spec.ts: uses bounded ownership lookup for direct arrivals while the agent cannot take input; wakes a bound Run waiter when same-Run direct mail arrives; keeps an unowned detached-recipient message in its direct mailbox; uses primary-key lookups for bounded routing updates. src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-delivery.test.ts: remove only literal registration import/call pairs import './orchestration-mailbox-pointer-cli-command.spec'; no additional authored credit. src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-pointer-cli-command.spec.ts: renders the %s CLI command in a mailbox pointer. src/main/runtime/rpc/methods/terminal/terminal-multiplex-link-estimate.test.ts: sizes a slow high-latency link near twice its bandwidth-delay product; never paces a LAN, even when its client parses slowly; never paces a fast link; returns to legacy windows when the path RTT jumps. src/main/runtime/rpc/methods/terminal/terminal-snapshot-scrollback-rows.test.ts: steps down the row ladder when history is over the byte budget; tries the larger first row count, then the usual ladder within the same byte budget. src/main/runtime/rpc/server/pairing/network/windows-default-route-interfaces.test.ts: returns unknown when route inspection fails or emits malformed data; does not inspect routes outside Windows. src/main/runtime/rpc/server/pairing/pairing-offer-owner-cli.test.ts: is refused to a paired %s client; reports a failed widening instead of advertising an unreachable address. src/main/runtime/rpc/terminal-multiplex-end-verdict.test.ts: reports exited only when the owning runtime completes the exit waiter; reports unverifiable when the runtime cannot observe the exit waiter; reports unverifiable when a disconnected PTY resolves with unknown liveness. src/main/runtime/session-graph/headless-runtime-graph.spec.ts: lets a session tab inventory settle on a host no renderer publishes for. src/main/runtime/session-graph/runtime-graph-standing-contracts.test.ts: remove only literal registration import/call pairs import { registerHeadlessRuntimeGraphTests } from './headless-runtime-graph.spec', registerHeadlessRuntimeGraphTests(); no additional authored credit. src/main/runtime/session-tabs/structured-conversation-tab-title.test.ts: bumps the stored snapshot version only when the title changes. src/main/runtime/session-tabs/terminal-close-observed-exit.test.ts: keeps the healthy aggregate verification and delayed physical exit behavior; uses a stamped exit for the incarnation that was actually being closed. src/main/runtime/terminal/identity/terminal-identity-probe.test.ts: answers live for a structured worker without touching the PTY graph; answers live for a PTY handle the runtime still holds; runs the full leaf check for a handle with no live PTY; answers not-live for a stale handle; propagates \"could not look\" rather than reporting it as a dead handle. src/main/runtime/terminal/layout/paired-desktop-server-writes-layout-owner.test.ts: names the tab in main’s layout through terminal.rename; takes a window-style layout.apply close as already stopped, so the terminal runs on. src/main/runtime/terminal/lifecycle/pty-lifecycle-generation-retention.test.ts: retains no lifecycle generation after a spawn/exit cycle. src/main/runtime/terminal/lifecycle/run-terminal-user-open.test.ts: reads a freshly spawned terminal as used once a user opens its tab, not on a probe; keeps the open mark on the process a user open starts. src/main/runtime/terminal/surface/terminal-surface-replies-window.test.ts: from a desktop window that mounts both panes; from a server with no window. src/main/runtime/terminal/surface/workspace-layout-projection.test.ts: carries views for a partition that holds none yet. src/main/runtime/terminal/view/terminal-subscribe-exit-waiter-leak.test.ts: releases a signalled exit-waiter when the signal aborts. src/main/runtime/terminal/wait/orca-runtime-exact-worker-provider-session.test.ts: selects a local hook status for a local pane. src/main/runtime/terminal/wait/prime-agent-screen-readiness-transcripts.test.ts: keeps the footer and the bare caret on screen mid-turn; %s: the screen alone reads ready during %s. src/main/runtime/workspaces/startup/runtime-worktree-agent-startup.test.ts: uses per-launch arguments and preserves launch telemetry; attributes a startup agent whose caller named no surface as unknown; launches %s bare for an absent or blank prompt; attributes a %s draft launch named %s as %s; merges an automation's extras over the host defaults; threads worktree-create extras into the startup build; returns an enabled requested agent without detecting; returns the default when nothing was requested; detects instead of using the default when the requested agent is disabled; starts no agent when the default is blank; detects an enabled agent on this host when nothing usable was named; starts no agent when detection finds none. src/main/runtime/workspaces/startup/runtime-worktree-startup-readiness.test.ts: pastes and submits through composer readiness, never typing raw input; types the follow-up on WSL or SSH-to-Windows once the agent is in front, as before; cleans up the deadline when the composer was already captured; a draft that is not submitted is pasted on the box cursor, as before; takes the box after the grace when the row never comes, whatever repaints; takes the box at the deadline when the grace would outlast the budget; lets a dialog on screen veto a grace; refuses the deadline inside a pending grace while a shell is in front; takes the box at the deadline inside a pending grace with the agent in front; takes the box at the deadline after a refused grace once the agent is in front. src/main/skills/skill-install-transaction.test.ts: installs, previews unchanged bytes, and updates a clean receipt-owned skill; preserves the old version after a %s filesystem failure. src/main/speech/model-manager-download-resume.test.ts: requests the remaining bytes when a clean range response ends before the file total; bounds a server that advances by pathologically tiny segments forever. src/main/ssh/config/ssh-config-parser.test.ts: parses a basic host block; parses multiple host blocks; skips wildcard-only Host entries; skips Host entries with only pattern characters; parses IdentityFile with ~ expansion; parses Windows-style IdentityFile with ~ expansion; parses quoted scalar values like OpenSSH; parses equals-form scalar directives; parses IdentityAgent with ~ expansion; parses IdentitiesOnly; parses GSSAPIAuthentication; keeps the first GSSAPIAuthentication value like OpenSSH; parses ProxyCommand, ProxyUseFdpass, and ProxyJump; ignores comments and blank lines; handles case-insensitive keywords; stops current block on Match directive; returns empty array for empty input; creates one parsed host per concrete alias on a multi-pattern Host line; applies identity agent settings to every concrete alias on a multi-pattern Host line; defaults port to 22 for invalid port values; converts hosts to SshTarget objects; uses host alias as hostname when HostName is missing; skips hosts that are already imported; defaults username to empty string when not specified; carries through identityFile, identityAgent, identitiesOnly, proxyCommand, and jumpHost; carries through gssapiAuthentication; imports duplicate aliases only once and keeps the first concrete host; maps hosts for the picker and flags aliases already in Orca; de-dupes aliases and defaults missing fields; parses hostname, user, port from ssh -G output; collects multiple identity files; parses forwardagent yes; defaults port to 22 when missing; returns empty hostname when missing; returns undefined user when missing; handles empty output; skips lines without spaces; parses proxycommand and filters \"none\"; parses proxyusefdpass yes; parses proxyjump and filters \"none\"; handles ~ expansion in identity file paths; handles Windows-style ~ expansion in identity file paths; parses identityagent with ~ expansion; preserves identityagent none so auth can disable agent fallback; parses identitiesonly yes; parses gssapiauthentication; parses controlmaster options and filters controlpath none. src/main/ssh/config/ssh-known-hosts-source.test.ts: splits the space-separated list ssh -G prints on one line; expands ~ in a reported path; keeps a double-quoted path containing spaces whole; falls back to the default files when ssh -G reported nothing; drops an explicit none without falling back to the defaults; splits both known_hosts lists on one line each; reads StrictHostKeyChecking, including accept-new; reads HostKeyAlias and prefers it for the lookup; reads the non-default port; reports that the lookup came from an alias, so the port is not appended; reports no alias when the dialed host is used; unions the entries of every file; skips a path that is a directory; returns nothing when no file can be read; reports nothing unreadable when every file parses; does not count an empty file as unreadable; prefers HostKeyAlias over the resolved hostname; uses the dialed host, because a resolved hostname can just echo the label; still prefers an explicit HostKeyAlias over the dialed host; falls back to the dialed host when nothing was resolved; is rejoined when the split fragments resolve to nothing; leaves a single unresolvable path alone rather than inventing one; expands the __PROGRAMDATA__ token rather than passing it through as a path; does not rewrite a path that merely BEGINS with the token characters; keeps a drive-letter path with mixed separators intact; splits a spaced Windows home into the fragments the rejoin has to put back. src/main/ssh/config/ssh-known-hosts.test.ts: reads the algorithm from the blob rather than trusting the line; rejects %s; refuses a malformed blob: %s; uses the bare host on the default port; tries the bracketed form first and falls back to bare off-port; matches an exact line; matches case-insensitively; reports a changed key of the same type; reports unknown for %s; matches any host in a comma list; matches the bracketed form on its port; does not apply a bracketed entry to the default port; falls back to a bare line when off-port; never reports a change from the fallback pass; matches a bare literal on the default port; matches a bracketed literal on its port; reports a change for a literal; handles %s; still reports a change for a different key on a revoked host; skips a line carrying an unrecognised marker; does not report a change when only another key type is on file; matches within the same type; accepts CRLF terminators; skips blanks, comments and surrounding whitespace; accepts a hit regardless of which file holds it (%s); never brackets the alias, whatever the port; still brackets an ordinary host on a non-default port; matches a bare alias entry on a non-default port; still accepts the unmodified key field; accepts a hashed entry whose salt is a full SHA1 digest; still accepts the unmutated ssh-keygen -H vector; falls back to the bare host line on a non-default port, as ssh did; refuses a key type it has not seen for a host it knows, as ssh did. src/main/ssh/connection/ssh-connect-config.test.ts: returns undefined when no default keys exist; returns the first existing key file; probes regular and FIDO2 keys in stable default order; keeps a regular default ahead of a malformed FIDO2 default; uses target host/port/username; falls back to resolved config when target fields are empty; keeps imported endpoint fields as the fallback when ssh -G is unavailable; sets readyTimeout to CONNECT_TIMEOUT_MS; sets keepaliveInterval to 15s; enables keyboard-interactive auth so MFA challenges can be answered; uses agent auth when no explicit key and SSH_AUTH_SOCK is set; enables agent forwarding when OpenSSH config requests it and an agent is available; does not enable agent forwarding without a usable agent; resolves IdentityAgent SSH_AUTH_SOCK from the environment; uses the Windows OpenSSH agent pipe when no environment socket is available on Windows; wraps agent auth with IdentityFile filtering when IdentitiesOnly is enabled; applies a manual target IdentitiesOnly setting when ssh -G reports it off; includes unencrypted target.identityFile auth when an agent is available; defers encrypted target.identityFile auth when an agent is available; uses keyFile auth when target.identityFile is set and no agent is available; includes unencrypted resolved identityFile auth when an agent is available; defers a default-path resolved identityFile to the no-agent retry; offers the keyboard-interactive challenge when the agent defers no key; provides fallback key when no agent is available; can force private key inclusion for the post-agent fallback path; falls back to resolved proxyCommand; returns structured jump-host config for target.jumpHost; returns structured jump-host config for resolved proxyJump; returns undefined when no proxy is configured. src/main/ssh/connection/ssh-connection-auth-fallback.test.ts: resolves OpenSSH config using configHost when present; tries ssh-agent before reading an explicit private key; falls back to direct private key auth when agent auth fails; falls back to direct private key auth after too many agent authentication failures; answers bounded keyboard-interactive challenges such as Duo 2FA. src/main/ssh/connection/ssh-connection-store.test.ts: lists picker suppression aliases without consulting re-adoption tombstones; getTarget delegates to store; addTarget generates an id and persists; saves the CLI control switch as given, with no consent stamp; addTarget stamps source as manual by default; addTarget preserves an explicitly provided source; inserts a new config host stamped as ssh-config; asks the parser for all hosts — reconciliation happens in the store; updates an existing config-sourced target when the port changed; refreshes gssapiAuthentication on sync; never overwrites a manual target that owns the alias; does not rewrite an unchanged config-sourced target; returns empty array when nothing changed; tombstones a deleted config-sourced host so re-import skips it; suppresses a deleted manual target from config discovery; re-adding a deleted host reclaims its alias so sync stops suppressing it; editing a target reclaims its alias from the deleted set; records a tombstone when removing any user-facing target; re-adopts orphaned repos when the same host is re-added. src/main/ssh/connection/ssh-connection.test.ts: transitions to connected on successful connect; captures the negotiated SSH server key fingerprint; allows concurrent exec commands for ssh2 transport; removes startup listeners after ssh2 connect succeeds; scopes lifecycle events and pending handshake timers to one mock client; enables TCP_NODELAY on the new ssh2 client after a reconnect cycle; transitions through connecting → connected states; reports error state on connection failure; disconnect cleans up and sets state to disconnected; getTarget returns a copy of the target; getState returns a copy of the state; throws when connecting a disposed connection. src/main/ssh/orcad-migration-stuck-host-profiles.test.ts: never leaves a running terminal behind; is offered only when leaving saved state behind would clear the refusal. src/main/ssh/orcad-runtime-maintenance.test.ts: keeps a connect from retrying a build an explicit Update also failed; offers Force when Update was refused by policy; forwards anew after an activation, since the new slot may bind another port; passes a refusal through and leaves the server linked; forwards anew once a serving slot is restored, which may have bound another port. src/main/ssh/port-forwarding/ssh-port-forward.test.ts: reports the port the OS bound when an ssh2 forward asks for port 0; adds an ssh2 port forward and returns entry; adds a system SSH port forward when no ssh2 client is available; reports the port a system SSH forward resolved when asked for port 0; passes resolved OpenSSH config to system SSH port forwards; disposes a system SSH tunnel when removing the forward; lists forwards filtered by connectionId; removes a forward by id; awaits forward close when removing a forward for user actions; returns null when removing nonexistent forward; removes all forwards for a connection; dispose removes all forwards; stores label in the entry; preserves the existing id when updating a forward succeeds. src/main/ssh/ssh-channel-multiplexer.test.ts: sends a JSON-RPC request and resolves on response; assigns unique request IDs; sends notifications without expecting a response; dispatches incoming notifications to handler; sends one keepalive frame per cadence tick; drives keepalive sends AND dead-link detection from a single interval; resolves false immediately on a disposed mux; throws on request after dispose; reports isDisposed correctly; clears registered handlers on dispose; does not retain handlers registered after dispose. src/main/ssh/system-transport/system-ssh-forward-process.test.ts: spawns exactly the argv the orphan matcher is given, LogLevel=INFO included; runs port forwards unmultiplexed even when ssh_config disables muxing; preserves manual target port and identity options in the forwarded ssh command; does not spawn ssh when the requested local forward port is already in use; spawns ssh after the requested local forward port preflight succeeds; resolves startup after the grace period when ssh keeps running; sends SIGTERM then SIGKILL when the process does not exit; does not resolve stop until the process exits. src/main/ssh/system-transport/system-ssh-loopback-route.test.ts: dials the held forward ahead of the alias so OpenSSH keeps these over ssh_config; drops a manual target's own port and proxies, which would fight the route; never routes a forward, whose argv must stay stable for orphan recovery; %s → %s; opens the forward over the real proxy, then proves a login over the route; lands the forward on the sshd and known_hosts name the direct route resolved; holds the forward with server-alive probes; never lets the background forward or probe ask for credentials; starts no forward when admission refuses the route; stops the forward when sshd refuses logins over it; stops the whole forward process tree on Windows, once; reports a forward that already exited before anyone listened for it. src/main/startup/browser-process-user-agent-ordering.test.ts: explains admission refusal before a desktop launch exits; explains an orcad holding the profile instead of exiting silently; does not acquire profile admission for a duplicate launch; executes after the dev app name and before later preflight work; exits and releases admission after pending profile move recovery fails; keeps Linux background startup failures console-only and immediate; keeps Linux serve startup failures console-only and immediate. src/main/startup/quit/quit-path-durable-write-blocking.test.ts: store.flushAsync() issues no synchronous fs syscalls; store.flushAsync() also moves the active-view and github-cache sidecars off the thread; stats.flushAsync() issues no synchronous fs syscalls; Grok session cleanup issues no synchronous fs syscalls; stats.flushAsync() closes out live agents before it returns, not when its write lands; a stalled mount leaves the event loop live instead of parking it; store.flushAsync() is one idempotent final barrier; store.flushAsync() resolves instead of throwing when the profile mount rejects writes. src/main/stats/agent-session-transition-recorder.test.ts: counts a hook-only agent that never writes an agent-shaped terminal title; never opens a session from a replayed or disk-restored working status; still closes a live session when the terminating status arrives as a replay; counts one session per turn across repeated working/done cycles; closes an open session when its pane is torn down; bounds the mirror and closes what it evicts; stops the session when the main agent settles and only a watch loop holds the row working; keeps the session open while a subagent outlives the main agent, and closes it when the child settles; dates the stop by the evidence when a shell outlives the last subagent; opens a new session dated by the observation when the main agent resumes after monitoring; never dates a reopen before the close a fact-less OSC repaint caused; dates the first live row after a restored one by the evidence, not the restored clock; treats an unchanged answer as a snapshot, never a transition; opens only on a live working edge; closes only a session it opened. src/main/text-generation/commit-message-text-generation-model-discovery.test.ts: returns static catalog models without spawning for static agents; discovers dynamic models through the agent CLI; discovers dynamic models through the configured agent command override; falls back to static models when dynamic discovery returns no parseable models; falls back to the first discovered non-Pi model when its static default is unavailable. src/main/text-generation/pull-request-context.test.ts: does not fetch unrelated fork remotes before generating PR context; bounds exact remote-ref probe concurrency for a large remote list; reports no branch change because PR context preparation is read-only; keeps a remote-qualified base when the selected base includes the remote. src/main/text-generation/source-control-local-process.test.ts: asks the supervisor to stop and leaves its group to it; signals nothing once the supervisor has exited; stops an agent that ignores its stdin end through its supervisor. src/main/updater/linux-package/linux-package-update-recovery.test.ts: retains the downloaded package with the digest from the event metadata; requires a string downloaded path; accepts an uppercase extension; requires a non-empty string version; matches an absolute file URL by basename; accepts duplicate entries that agree on the digest; refuses an entry with a missing or non-string digest; refuses a digest that is not base64 at all; refuses a malformed percent-encoded URL; refuses a missing or non-array file list; tolerates a non-object event; replaces the retained artifact with a newer download; keeps the retained artifact when a new download has no usable digest; keeps the retained artifact when an unrelated download event arrives; clears the retained artifact; preserves the artifact across a recheck of the same version; clears the artifact when another version takes over; preserves the artifact for an unknown or empty version; is a no-op without a retained artifact; returns the built command and package file name for a verified package; reports missing without a retained artifact; propagates a package-manager discovery failure; rejects a well-formed digest that belongs to another file; never hashes a package that a malformed digest failed to arm; rejects a path outside the cache root; rejects the cache root itself; rejects a package in the updater directory itself; rejects a pending directory that is a symlink out of the cache; performs one hash pass for concurrent requests; revalidates once the in-flight pass settles; does not reuse an in-flight pass for a different artifact; starts a fresh proof when the same package is captured again; returns the verified package path; returns missing without a retained artifact. src/main/updater/releases/updater-prerelease-feed-readiness.test.ts: accepts a GitHub %s asset redirect as ready; reports a GitHub asset request error as unavailable; reports not-ready with a verified last-good tag when the newest assets are unavailable; does not classify a non-positive tag limit as feed unavailability; reproduces the v1.4.142 publishing incident as not-ready; reports transport failures as unavailable instead of not-ready; treats an explicit asset 404 as not-ready when another asset is unavailable; accepts absolute manifest asset URLs without rewriting them to release asset paths; returns not-ready with an older ready update as last-good while newest is publishing. src/main/updater/releases/updater-release-builds.test.ts: lists hourly builds from the dedicated repo, newest first; lists daily builds from the dedicated repo, newest first; separates stable from rc in the shared main repo; skips drafts and unparseable tags; keeps a composed release title and drops one that repeats the tag; hides builds that published no artifact for this platform; returns an empty list when no build has this platform artifact; keeps mac builds visible on macOS regardless of the Windows leg; resolves the platform installer download url; leaves the installer url null when the release published no installer; tolerates a release whose assets are missing or malformed; sends the local gh token as a bearer header when one is available; sends no authorization header when gh has no token; retries unauthenticated once when GitHub rejects the token; does not retry a 401 that was already unauthenticated; falls back to the per-IP bucket when the token is rate limited and tells the gh breaker; reports a secondary limit carrying retry-after without retrying or tripping the breaker; records a primary limit in the token scope %s; keeps %s authenticated when only %s is blocked; skips the token while its scope %s is blocked; surfaces a rate limit with its reset time and a sign-in hint when unauthenticated; omits the sign-in hint when the rate-limited request was authenticated; treats 429 as a rate limit; reports a 403 without rate-limit headers as a plain HTTP error; reports a missing hourly repo distinctly; is null when GitHub sent no reset; prefers retry-after over the primary reset epoch; falls back to the primary reset epoch when there is no retry-after; reads retry-after as seconds; reads retry-after as an HTTP date; pins an hourly tag at the hourly repo download path; pins a daily tag at the daily repo download path; pins a stable tag at the main repo download path; rejects a tag that is not a version. src/main/updater/updater.build-channel-selection.test.ts: uses the display label in the unsupported-platform %s pinned-build error; still pins %s from an unsigned Windows dev build; restores ordinary release checks after local build selection fails; opts into the RC channel when checkForUpdatesFromMenu is called with includePrerelease; pins the generic feed to a perf-tagged prerelease when requested; surfaces no-update feedback when no newer perf-tagged prerelease exists; keeps prerelease publishing-window misses on the generic retry path; leaves the feed URL alone for a normal user-initiated check. src/main/updater/updater.check-preflight.test.ts: ignores a stale update-not-available event after a new check starts preflight; deduplicates repeated manual checks while the immediate checking status is active. src/main/updater/updater.prerelease-fallback.test.ts: retries a prerelease check once against the previous feed tag when the manifest is missing; surfaces a promise-only prerelease fallback failure after the primary error event. src/main/updater/updater.publishing-window-feed.test.ts: repins the generic feed to the newest RC tag for a prerelease user; repins the generic feed to a newer stable tag for a prerelease user; pins a stable fallback when Atom has no newer prerelease; uses last-good concrete feed when a user-initiated check lands during publishing; can offer an older fully published update while the newest release is publishing; keeps background publishing-window fallback on the short retry cadence. src/main/updater/updater.quit-and-install.test.ts: surfaces an accepted retry before electron-updater emits download progress; defers quitAndInstall and runs its launcher within the launch PATH scope; runs pre-quit cleanup before local PTY cleanup during update install; keeps optional pre-quit cleanup fail-and-continue behavior by default; ignores duplicate quitAndInstall requests while the shared delay is pending; arms the forced-exit watchdog once the install commits; disarms the forced-exit watchdog when sync install error recovery keeps the app open. src/main/window/createMainWindow-markdown-editor-focus.test.ts: ignores traffic light sync IPC on non-macOS; still intercepts Cmd+Shift+B and Cmd+Alt+B when the markdown editor is focused; coerces non-boolean setMarkdownEditorFocused payloads to false; opens a table-aware context menu synchronously without a renderer query; builds the plain edit menu for the one right-click the renderer marks as plain text. src/main/window/createMainWindow-renderer-crash-recovery.test.ts: notifies the caller when the renderer process is gone; passes the renderer webContents id through crash recording and recovery callbacks; forwards expected renderer teardowns so the recorder can diagnose suppression; reloads the app shell after an unexpected renderer process loss; does not reload after renderer loss when recovery is disabled; stops auto-reloading after a rapid renderer crash loop trips the breaker. src/main/window/dashboard-popout-window.test.ts: updates the title after language initialization and unsubscribes when closed; lets its preload expose saved WSL hosts in serve-only, and passes nothing otherwise; creates a native-frame window with the shared preload and no webview surface; shows the window on ready-to-show; loads the prod file entry; loads the dev server URL when in dev; focuses the existing window instead of creating a second one; trusts only the live popout webContents; restores a minimized window when re-requested; restores valid persisted bounds; discards off-screen persisted bounds and falls back to defaults; persists bounds on resize after the debounce, guarding near-minimum sizes; keeps saving bounds after a vetoed quit and freezes them only on an allowed quit; closeDashboardPopout closes an open window; applies the persisted app zoom level on dom-ready; follows app zoom changes while open and unsubscribes on close; zoomDashboardPopoutIfFocused steps the popout zoom only while focused; handles the zoom-in chord via before-input-event and ignores other keys; handles mouse-wheel zoom requests outside before-input-event; respects zoom keybinding overrides for keyboard and mouse-wheel paths. src/main/window/dropped-path-preparation.test.ts: opens and stores each unique source once as drop size grows tenfold; passes ordinary paths without copying for %s; preserves ordinary successes and copied successes when another file fails; serializes copy requests from different owners; reports all lost paths without a shared reason when their failures differ. src/main/window/main-window-updater-deferred-setup.test.ts: releases all 64 completed fallback handles without repeating initialization; keeps setup after ready-to-show and releases its fallback afterward; preserves the 15-second fallback when first paint never arrives; preserves destroyed-window guard reads before and at the fallback deadline; keeps the exact %s error and releases its completed fallback; keeps the exact fallback %s error without retrying initialization; preserves pending manual setup after failed ready registration; keeps setup options, live store reads, nudge writes and required quit flush. src/main/worker-threads/worker-thread-request-queue.test.ts: posts one request at a time and in the order it was dispatched; fires a posted call at its own deadline; stops respawning and fails the rest of the queue once deaths hit the cap; clears the death count when a fresh burst starts from full idle. src/main/workspace-hooks/hooks-setup-runner-script.test.ts: builds Windows runners for newline-heavy scripts without line-array splitting; builds POSIX runners without regex-wide CRLF normalization; writes POSIX setup runners for shebang-declared scripts on native Windows paths; keeps batch setup scripts on cmd.exe when the terminal is Git Bash; hands a Git Bash pane a launch command MSYS cannot rewrite for a cmd runner; replays interpreter flags declared on the shebang line; preserves cmd.exe setup runner semantics for configured cmd users; keeps POSIX runner behavior on POSIX platforms; waits when either local or project policy requires completed setup; marks setup-runner terminals for the always-on credential guard; maps git-bash to POSIX setup launch metadata on Windows; falls back to the cmd runner when the git-bash setting has no installed Git Bash; keeps the cmd runner for a non-Git bash such as Cygwin; keeps the cmd runner for a bare bash whose flavor cannot be resolved; uses the POSIX runner for a bare bash that resolves to Git Bash; uses the POSIX runner for an extension-less Git Bash path; preserves the existing cmd runner for PowerShell terminals; preserves cmd setup compatibility when a Windows-host project has a WSL shell setting; classifies an installed explicit Git Bash executable as a POSIX runner; falls back to the cmd runner when the explicit Git Bash path no longer exists. src/main/workspaces/catalog/repo-git-remote-identity-enrichment.test.ts: schedules remote identity enrichment without blocking the caller; probes a drive project whose runtime is WSL %s; sweeps a local repo: %s; probes an SSH row that carries only executionHostId on its own host; keeps same-path rows on two different SSH hosts from sharing one backoff; coalesces concurrent probes for the same repo location; caches no-identity probes briefly so list calls do not retry every time; does not rewrite the no-remote marker on a later retry; resolves a settled no-remote repo once it gains a remote; does not re-probe a resolved identity before the refresh window elapses; re-probes a resolved identity after the refresh window elapses; bounds re-probes per sweep so a large repo list drains gradually; forgets a removed repo location so its deadline cannot outlive the repo; keeps a surviving repo backoff when a sibling repo is removed; probes again when the same location is re-added after its probe was retired; coalesces concurrent sweeps instead of running one pass per list call. src/main/workspaces/creation/preparation/worktree-create-preparation.test.ts: preserves create priority through claim probes on %s; starts the checkout only once the async workspace root resolves; still deduplicates when both callers await the same pending root lookup; namespaces native Windows preparation directories for long paths; deduplicates preparation for the same repo, base, runtime, and workspace root; does not spend a divergence walk when the base matches exactly; claims when the two sides spell the same ref differently; evicts a repo's own stale preparation before another repo's; still discards armed checkouts when the project runtime needs repair; routes preparation and finalization through the selected WSL runtime; retries stale cleanup after a transient listing failure; does not discard a detached worktree with caller-controlled preparation metadata; does not re-arm after an isolated create; re-arms a preparation once creates arrive in a burst; holds the re-arm checkout until the create runs the deferred thunk; starts one explicit prefetch after the create completes; does not re-arm when finalization failed; reports a pending create while a stale-cleanup scan is running. src/main/workspaces/removal/local-worktree-removal-recovery.test.ts: recovers Git for Windows partial filesystem deletion failures; finishes a clean non-force deletion after Git leaves a Windows directory behind; recovers localized Windows failures after Git already removed the registration; does not recover unrelated localized failures while Git still owns the row; finishes a macOS deletion Git deregistered before failing with Directory not empty; leaves an orphaned checkout to the orphan cleanup instead of deleting it; prunes and strictly verifies on the selected WSL host without deleting files or branches. src/main/workspaces/removal/worktree-removal-safety.test.ts: rejects deleting a worktree that contains another registered worktree; rejects POSIX home directories even when host homedir has a different path shape; refuses a home the host reported even when no path rule recognises it; refuses the Windows host's home directory from a POSIX client; refuses the Windows host's home directory even when the host reported nothing. src/main/wsl/discovery/distro-catalog.test.ts: retries asynchronous discovery after a transient wsl.exe failure; retries synchronous discovery after a transient wsl.exe failure; retries asynchronous discovery after wsl.exe reports no distros yet; retries synchronous discovery after wsl.exe reports no distros yet; bounds the wsl.exe spawn rate while no distros are installed; bounds the asynchronous spawn rate while no distros are installed; still caches a non-empty distro list for the process lifetime; re-probes a docker-desktop-only machine once a user distro can appear; backs off while the list keeps coming back empty; backs off after repeated distro-list failures; caps the empty-list backoff at five minutes; keeps reporting an empty result after it goes stale; keeps reporting a known distro list indefinitely; bounds cached homes while retaining the most recently used distros; still lists distros, and an excluded distro home probe fails like any other probe; gives the async home probe time for a cold boot instead of killing it at 5 s; retries availability after a probe timeout instead of latching false; bounds the probe rate while the failure window is open; caches a successful probe for the process lifetime; names an explicit spawn directory, so no deleted cwd can read as ENOENT; shares one wsl.exe spawn between concurrent probes; keeps reporting the last observed answer after it goes stale; holds a definitive failure far longer than a timeout when %s; backs off after repeated probe failures; re-probes a seeded retryable failure once its window lapses; re-probes availability once a distro list succeeds after %s; does not drop an availability failure for an empty distro list; keeps reporting unavailable off Windows without probing. src/main/wsl/discovery/wsl-distro-holder.test.ts: runs a busybox-safe loop through --exec and names the distro; spawns a detached-style holder, records it, and waits for the distro to run; a holder exiting with code 1 notes its distro may have stopped (E9); rejects a pid whose command line is not our holder for that distro; cleans up stale and corrupt records; keeps a holder and its record when release cannot verify it; reports unverifiable when the command line is unreadable even with a matching pid; release kills a verified holder and removes its record; release never kills a pid that is no longer our holder; reports a spawned holder exit so liveness can re-check. src/main/wsl/filesystem/wsl-guest-drive-mountinfo.test.ts: skips 9p shares that are not drvfs, and malformed lines. src/main/wsl/orcad/wsl-orcad-deploy-app-update.test.ts: plans the update on the census the running orcad reports, not an unknown one; forwards force to the update planner; does not serve the incumbent past a refusal that is not a wait; does not re-activate the build this host rolled back from; labels the launch with the build the adoption found serving, not the stale record; defers while another run holds the host fence; lets an explicit force deploy past both skips; names a newer host refusal apart from a rolled-back one, so only Force is offered; updates an older host as before, without asking to adopt it; never asks the incumbent when it already runs this build. src/renderer/src/components/agent/agent-launch-picker-acquisition.test.ts: keeps a completed listing usable when the host rejects the wait parameter. src/renderer/src/components/feature-tips/feature-tip-telemetry.test.ts: delivers to chat-default users in all targeting while holding out not-switched users. src/renderer/src/components/native-chat/composer/pickers/use-native-chat-side-chat-command.test.ts: completes the row on a pick, even when the command is already typed; ignores a pick of the row while side chats are unavailable. src/renderer/src/components/native-chat/media/images/native-chat-image-copy.test.ts: explains a too-large refusal that arrives through the IPC error prefix. src/renderer/src/components/native-chat/messages/actions/native-chat-fork-launch.test.ts: keeps the question with the caller and says once that it never went; tells the user to check the side chat when delivery is unconfirmed; reports a delivered question as sent, silently. src/renderer/src/components/native-chat/messages/actions/native-chat-side-chat-fork-point.test.ts: decides each of %i tool-only turns once per layout, and nothing without a listener. src/renderer/src/components/native-chat/messages/actions/use-native-chat-fork.test.tsx: places a side chat whose question was %s: %o. src/renderer/src/components/terminal-pane/provider-notices/agent-presence/agent-terminal-presence.test.ts: calls back once for %s; stops watching once unsubscribed. src/renderer/src/components/terminal-pane/pty-connection/emulation/pty-connection-mode2031-raw-subscription.spec.ts: records a mode 2031 subscribe from the raw chunk boundary without answering. src/renderer/src/components/terminal-pane/pty-connection/input/pty-connection-deferred-input-forwarding.spec.ts: routes terminal input through deferPtyInput so the host can withhold it; forwards terminal input directly when the host supplies no deferPtyInput. src/renderer/src/components/terminal-pane/pty-connection/notifications/pty-connection-terminal-bell-attention.spec.ts: forwards onBell to pane attention and notification policy; hands the bell to the attention module with its pane even when pane attention is off. src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-dropped-output-snapshot-healing.spec.ts: repaints from the main-owned snapshot when main drops pending output at the cap. src/renderer/src/components/terminal-pane/pty-connection/output/pty-connection-fresh-native-follow-reset.spec.ts: retries a fresh-spawn native follow reset when renderer dimensions return. src/renderer/src/components/terminal-pane/pty-connection/spawn/unbound-pane-spawn-recovery.test.ts: requests a tab remount for an unbound spawn; leaves recovery to a remote transport that armed its own retry; requests a remount when the transport reports no recovery of its own; settles the spawn as failed before requesting a remount; prefers the restored leaf id when reporting the anomaly; falls back to the pane leaf id when no restored leaf exists. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-foreground-agent.test.ts: remove only literal registration import/call pairs import { registerPtyConnectionDeferredInputForwardingTests } from '../input/pty-connection-deferred-input-forwarding.spec', registerPtyConnectionDeferredInputForwardingTests(); no additional authored credit. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts: structural support changed only; no new authored removal credit. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts: remove only literal registration import/call pairs import { registerPtyConnectionFreshNativeFollowResetTests } from '../output/pty-connection-fresh-native-follow-reset.spec', registerPtyConnectionFreshNativeFollowResetTests(); no additional authored credit. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts: remove only literal registration import/call pairs import { registerPtyConnectionTerminalBellAttentionTests } from '../notifications/pty-connection-terminal-bell-attention.spec', registerPtyConnectionTerminalBellAttentionTests(); no additional authored credit. src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-delivery-interest.test.ts: registers interest on the first sidecar and releases on the last unsubscribe; releases sidecar interest only once for repeated unsubscribes; does not let an eager pre-mount buffer defeat hidden delivery gating; keeps eager buffers outside delivery interest when the PTY exits before mount; lets a sidecar exclusively own interest while an eager buffer overlaps. src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-push-reattach.test.ts: blackholed delivery reproduces the wedge: no handler dispatch, no ACK ever. src/renderer/src/components/terminal-pane/pty-transport/ipc/ipc-pty-opencode-model.test.ts: sends preferences to the execution host and attaches only to its returned PTY; preserves one operation ID across a lost reply and reconnect; preserves ordinary raw startup and captured-session attachment. src/renderer/src/components/terminal-pane/pty-transport/output/pty-side-effect-pending-census.test.ts: sums registered gauges and drops disposed ones; ignores a repeated dispose instead of dropping another gauge; stops tracking new gauges past the cap so a missed dispose cannot grow it; tracks a live output processor queue through enqueue, drain, and dispose; excludes cleared consumed entries from retention after a bounded drain. src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-prebind-discard-notice.test.ts: says nothing once the pane is closed. src/renderer/src/components/terminal-pane/render-health/terminal-webgl-atlas-recovery.test.ts: refreshes after each scheduled atlas reset; falls back to a timeout when animation frames are unavailable; continues recovery when a manager throws after scheduling. src/renderer/src/components/terminal-pane/snapshots/pty-buffer-serializer.test.ts: tracks a remounted quiet title source even when the stale owner unregisters later; preserves the renderer-parsed output sequence in the response; preserves a pending escape tail for snapshot replay; routes a host's Reset Terminal request to the pane that owns the PTY. src/renderer/src/components/terminal-pane/snapshots/saved-terminal-output-replay.test.ts: marks panes with restored scrollback for fresh-shell viewport blanking. src/renderer/src/components/terminal-pane/viewport/split-right-white-screen.test.ts: recovers a 0x0 spawn whose container is briefly unmeasurable then settles. src/renderer/src/components/terminal-pane/viewport/visibility/stale-document-visibility.test.ts: removes global listeners when the last pane unregisters. src/renderer/src/components/ui/security-surface-theme-contrast.test.tsx: keeps trust text readable on a host-owned dialog surface; applies the hostile surface to ordinary dialogs, so the case above is exercised. src/renderer/src/components/use-terminal-parking-pass.test.tsx: does not queue a render when a pass produces the same parking sets; keeps parking transitions working under StrictMode. src/renderer/src/hooks/client-workspace-view-report.test.ts: reports an away user’s screen with no presence, and renews as soon as input returns; retries a failed send, empty or not, no sooner than a refresh. src/renderer/src/hooks/ipc-events/terminal-request-ipc-bridge-placement.test.ts: is new work in a workspace with no live terminal: its first bind moves it up in Recent. src/renderer/src/hooks/use-bundled-skill-install.test.tsx: ignores a repeated click while the install runs; retries the last requested skills on this host. src/renderer/src/hooks/useGitHubSlugMetadata.assignee-reuse.test.tsx: adds seeds to a successful empty list but not to loading or failed results; retains seed projection after expiry and fetches fresh metadata for a new reader. src/renderer/src/hooks/useSettingsNavigationMetadata.language-switch.test.tsx: retranslates the settings nav labels when the UI language changes live. src/renderer/src/lib/codex-stale-pane-account-identity.test.ts: keeps the prompt when the roster read fails and every label collapses. src/renderer/src/lib/image-blob-png.test.ts: downscales a pasted image above the pixel cap; releases its temporary URL on a decode error; releases its temporary URL when PNG encoding fails or exceeds the byte cap. src/renderer/src/lib/react-commit-cascade-store-write-samples.test.ts: names callers above the frame the write came from; restores Error.stackTraceLimit when the capture throws; stops collecting after the sample cap when captureStackTrace is unavailable; caps reported changed keys from a single wide write. src/renderer/src/lib/work-items/linear/linear-issue-context-snapshot.test.ts: applies the rendered text hard cap last and reserves the final overflow marker. src/renderer/src/runtime/rpc/targets/use-worktree-runtime-target.test.ts: keeps the runtime target identity stable across unrelated store writes. src/renderer/src/runtime/source-control/git/runtime-git-branch-client.test.ts: keeps creation available on old hosts and explains the missing operation; preserves landed warnings and direct collision recovery data; propagates remote discovery failure instead of a false empty page. src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-key-reuse.test.ts: reuses unchanged worktree tab projections when one worktree title changes; bumps only the changed worktree version when a sibling stays byte-identical. src/renderer/src/store/repos/repos-catalog-request-coordination.test.ts: shares safe-auto fork sync cooldown attempts across store instances. src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-batch.test.ts: collapses a 193-workspace hydration to one store write; leaves the store byte-identical to the per-workspace path; re-reconciling the batched result is a no-op, as it is for the per-workspace path. src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-fixture.ts: dedicated zero-case helper retirement; no authored test credit. src/renderer/src/store/slices/worktrees/metadata/update-worktrees-meta.test.ts: persists each batch metadata update to its workspace owner. src/renderer/src/store/slices/worktrees/metadata/worktree-meta-rename.test.ts: dismisses a rename error on its capable remote owner; clears pending first-agent rename when the title is updated. src/renderer/src/store/terminals/store-sleep-shutdown-order.test.ts: orders capture, guards, handlers, main's stop, commit, cleanup, and exit settlement. src/renderer/src/store/terminals/terminal-first-tab-publication.test.ts: publishes the first terminal and root tab group atomically; publishes the first terminal and root tab group atomically, then marks it starting in main. src/renderer/src/store/terminals/workspace-terminal-reconnect-hydration.test.ts: restores daemon terminal wake hints before declaring the session ready. src/renderer/src/web/web-runtime-connection-auth-framing.test.ts: keeps legacy framing for sockets that cannot absorb a refused attempt. src/shared/terminal/appearance/terminal-font-weight-windows-regular.test.ts: moves the old Windows default to Regular once and queues the notice; keeps custom weights and fresh profiles without a notice; leaves macOS and Linux profiles untouched. tests/e2e/claude-agent-row-view.unit.test.ts: updates a mounted compact workflow description through the subscribed production parent; bounds upstream active-SSH visits for $population records, fallback=$fallback; derives %s destinations without requiring type or a workflow child ID; terminates a $path parent $status with no third request or intermediate toast; does not recover a first child %s. tests/e2e/cross-version-wire/agent-permission-legacy-spawn.unit.test.ts: keeps exact legacy ordering when structured creation cannot express afterTabId; can create a terminal without selecting the target worktree; preserves the legacy fresh-agent path when host authority is unavailable. tests/e2e/paired-instant-browser-tab.spec.ts: shows a paired browser tab before its create RPC resolves, then keeps it as one tab; adopts a paired browser tab without rebuilding its chrome. tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts: bounds host publication and renderer application across remote worktrees; globally caps decorative freshness while every working status stays fresh. tests/e2e/session-tabs/mobile-session-active-performance.unit.test.ts: bounds saved-order publication selection at N and 10N without rematerializing navigation; bounds admitted placement reconciliation during supported reads at N and 10N; bounds selection input visits at 50 and 500 rows, including unavailable-target projection; keeps publication scoped to a changed worktree and shared by listeners at N and 10N; bounds preserved-chat merge and runtime-owned hydration at N and 10N (legacy=%s); bounds actual native retirement and shared delivery work at N and 10N. tests/e2e/session-tabs/mobile-session-active-publication.unit.test.ts: does not substitute a preserved row for an unavailable explicit legacy selection; resolves main-layout group selection %s (omitted group=%s). tests/e2e/structured-agent-session-launch-admission.unit.test.ts: opens a direct caller's terminal with the caller's own CLI arguments on a decline; opens the chat on the server that admitted it; opens only the terminal when this machine declines, without a notice; opens a new agent tab's terminal with the typed prompt when the caller names none; opens the chat, not a terminal, when this machine cannot resolve a new workspace yet; keeps its terminal fallback, as before. tests/e2e/structured-attention-prompt-relay.unit.test.ts: settles once per relayed prompt, not on every later status update. tests/e2e/structured-attention-read-retirement.unit.test.ts: Mark read on a chat never opened withdraws the prompt alert it surfaced; Mark read on a chat hidden since an earlier view covers the newer prompt it surfaced; reads a newly accepted visible prompt without sending an RPC for text-only updates. tests/e2e/structured-chat-tab-lifetime-cost.unit.test.ts: counts real raw stores, unrelated window publications and captured cleanup at %i chats; counts complete supplied-member sweep and separate final retirement at S=%i N=%i. tests/e2e/structured-session-workspace-authority.unit.test.ts: bounds actual target reveal across %i repo roots and metadata aliases. tests/e2e/terminal-agent-pane-launch.unit.test.ts: starts the host's planned command once, at the pane's size, and says it started; plans a pane whose prompt the window submits without the startup update prompt; preserves caller shell-ready delivery only for a connection-scoped adapter ($connectionId); starts no shell on plan failure (original failure: $returnLaunchFailure); cannot confirm a start whose provider answer was lost. tests/e2e/terminal-parked-memory.spec.ts: releases renderer terminal memory when hidden tabs park. tests/e2e/terminal-shortcuts.spec.ts: @headful Codex-like background output stays visible without disabling WebGL in auto mode; Shift with Russian layout text reaches the PTY as Cyrillic under kitty keyboard reporting. tests/e2e/terminal-split-activation-latency.spec.ts: records attributed CWD, spawn, bind, fixture-ready, input, and echo phases. tests/e2e/terminal-split-activation-latency-phases.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-main-probe.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-artifact.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-report.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-tab-switch-visual-restore.spec.ts: restores skipped hidden Grok output on light tab resume. tests/e2e/web-runtime-session-terminal-host-authority.unit.test.ts: delivers independent %s effort through the real prepared web callback; keeps same-ID local and runtime worktrees on the selected runtime owner; creates paired web agents through host authority so activation is mirrored; delivers generated continuation context after host-authoritative creation; seeds the chat composer for a draft that rode in on the launch command. Current changed source bytes, wrapper registrations and reduced selectors have no fresh execution or red/green credit. Unrelated surviving receipt objects keep their original narrow scope; current literal graph reachability does not establish historical import closure or equivalent replacement coverage. Current conservative command/import graph reaches src/main/persistence/worktree-sort-order-write.test.ts, src/main/runtime/construction/orca-runtime.test.ts, src/main/runtime/orca-runtime-tests/targeting-and-resilience.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts, src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases-part-02.spec.ts, src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases.spec.ts, src/main/runtime/orca-runtime-tests/worktree-setup-and-startup-part-03.spec.ts, src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts, src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-13.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-11.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-10.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-08.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-07.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-05.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-04.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-05.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-04.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-07.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-04.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-12.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-11.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-10.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-09.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-08.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-07.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-06.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness.spec.ts, src/main/runtime/orca-runtime-tests/headless-snapshots.spec.ts, src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-02.spec.ts, src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts, src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts, src/main/runtime/integrations/skill/orca-runtime-skill-recovery.test.ts, src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-detached-routing.spec.ts, src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-delivery.test.ts, src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-pointer-cli-command.spec.ts, src/main/runtime/rpc/methods/terminal/terminal-multiplex-link-estimate.test.ts, src/main/runtime/rpc/methods/terminal/terminal-snapshot-scrollback-rows.test.ts, src/main/runtime/rpc/server/pairing/network/windows-default-route-interfaces.test.ts, src/main/runtime/rpc/server/pairing/pairing-offer-owner-cli.test.ts, src/main/runtime/rpc/terminal-multiplex-end-verdict.test.ts, src/main/runtime/session-graph/headless-runtime-graph.spec.ts, src/main/runtime/session-graph/runtime-graph-standing-contracts.test.ts, src/main/runtime/session-tabs/structured-conversation-tab-title.test.ts, src/main/runtime/session-tabs/terminal-close-observed-exit.test.ts, src/main/runtime/terminal/identity/terminal-identity-probe.test.ts, src/main/runtime/terminal/layout/paired-desktop-server-writes-layout-owner.test.ts, src/main/runtime/terminal/lifecycle/pty-lifecycle-generation-retention.test.ts, src/main/runtime/terminal/lifecycle/run-terminal-user-open.test.ts, src/main/runtime/terminal/surface/terminal-surface-replies-window.test.ts, src/main/runtime/terminal/surface/workspace-layout-projection.test.ts, src/main/runtime/terminal/view/terminal-subscribe-exit-waiter-leak.test.ts, src/main/runtime/terminal/wait/orca-runtime-exact-worker-provider-session.test.ts, src/main/runtime/terminal/wait/prime-agent-screen-readiness-transcripts.test.ts, src/main/runtime/workspaces/startup/runtime-worktree-agent-startup.test.ts, src/main/runtime/workspaces/startup/runtime-worktree-startup-readiness.test.ts, src/main/skills/skill-install-transaction.test.ts, src/main/speech/model-manager-download-resume.test.ts, src/main/ssh/config/ssh-config-parser.test.ts, src/main/ssh/config/ssh-known-hosts-source.test.ts, src/main/ssh/config/ssh-known-hosts.test.ts, src/main/ssh/connection/ssh-connect-config.test.ts, src/main/ssh/connection/ssh-connection-auth-fallback.test.ts, src/main/ssh/connection/ssh-connection-store.test.ts, src/main/ssh/connection/ssh-connection.test.ts, src/main/ssh/orcad-migration-stuck-host-profiles.test.ts, src/main/ssh/orcad-runtime-maintenance.test.ts, src/main/ssh/port-forwarding/ssh-port-forward.test.ts, src/main/ssh/ssh-channel-multiplexer.test.ts, src/main/ssh/system-transport/system-ssh-forward-process.test.ts, src/main/ssh/system-transport/system-ssh-loopback-route.test.ts, src/main/startup/browser-process-user-agent-ordering.test.ts, src/main/startup/quit/quit-path-durable-write-blocking.test.ts, src/main/stats/agent-session-transition-recorder.test.ts, src/main/text-generation/commit-message-text-generation-model-discovery.test.ts, src/main/text-generation/pull-request-context.test.ts, src/main/text-generation/source-control-local-process.test.ts, src/main/updater/linux-package/linux-package-update-recovery.test.ts, src/main/updater/releases/updater-prerelease-feed-readiness.test.ts, src/main/updater/releases/updater-release-builds.test.ts, src/main/updater/updater.build-channel-selection.test.ts, src/main/updater/updater.check-preflight.test.ts, src/main/updater/updater.prerelease-fallback.test.ts, src/main/updater/updater.publishing-window-feed.test.ts, src/main/updater/updater.quit-and-install.test.ts, src/main/window/createMainWindow-markdown-editor-focus.test.ts, src/main/window/createMainWindow-renderer-crash-recovery.test.ts, src/main/window/dashboard-popout-window.test.ts, src/main/window/dropped-path-preparation.test.ts, src/main/window/main-window-updater-deferred-setup.test.ts, src/main/worker-threads/worker-thread-request-queue.test.ts, src/main/workspace-hooks/hooks-setup-runner-script.test.ts, src/main/workspaces/catalog/repo-git-remote-identity-enrichment.test.ts, src/main/workspaces/creation/preparation/worktree-create-preparation.test.ts, src/main/workspaces/removal/local-worktree-removal-recovery.test.ts, src/main/workspaces/removal/worktree-removal-safety.test.ts, src/main/wsl/discovery/distro-catalog.test.ts, src/main/wsl/discovery/wsl-distro-holder.test.ts, src/main/wsl/filesystem/wsl-guest-drive-mountinfo.test.ts, src/main/wsl/orcad/wsl-orcad-deploy-app-update.test.ts, src/renderer/src/components/agent/agent-launch-picker-acquisition.test.ts, src/renderer/src/components/feature-tips/feature-tip-telemetry.test.ts, src/renderer/src/components/native-chat/composer/pickers/use-native-chat-side-chat-command.test.ts, src/renderer/src/components/native-chat/media/images/native-chat-image-copy.test.ts, src/renderer/src/components/native-chat/messages/actions/native-chat-fork-launch.test.ts, src/renderer/src/components/native-chat/messages/actions/native-chat-side-chat-fork-point.test.ts, src/renderer/src/components/native-chat/messages/actions/use-native-chat-fork.test.tsx, src/renderer/src/components/terminal-pane/provider-notices/agent-presence/agent-terminal-presence.test.ts, src/renderer/src/components/terminal-pane/pty-connection/emulation/pty-connection-mode2031-raw-subscription.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/input/pty-connection-deferred-input-forwarding.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/notifications/pty-connection-terminal-bell-attention.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-dropped-output-snapshot-healing.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/output/pty-connection-fresh-native-follow-reset.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/spawn/unbound-pane-spawn-recovery.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-foreground-agent.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts, src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-delivery-interest.test.ts, src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-push-reattach.test.ts, src/renderer/src/components/terminal-pane/pty-transport/ipc/ipc-pty-opencode-model.test.ts, src/renderer/src/components/terminal-pane/pty-transport/output/pty-side-effect-pending-census.test.ts, src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-prebind-discard-notice.test.ts, src/renderer/src/components/terminal-pane/render-health/terminal-webgl-atlas-recovery.test.ts, src/renderer/src/components/terminal-pane/snapshots/pty-buffer-serializer.test.ts, src/renderer/src/components/terminal-pane/snapshots/saved-terminal-output-replay.test.ts, src/renderer/src/components/terminal-pane/viewport/split-right-white-screen.test.ts, src/renderer/src/components/terminal-pane/viewport/visibility/stale-document-visibility.test.ts, src/renderer/src/components/ui/security-surface-theme-contrast.test.tsx, src/renderer/src/components/use-terminal-parking-pass.test.tsx, src/renderer/src/hooks/client-workspace-view-report.test.ts, src/renderer/src/hooks/ipc-events/terminal-request-ipc-bridge-placement.test.ts, src/renderer/src/hooks/use-bundled-skill-install.test.tsx, src/renderer/src/hooks/useGitHubSlugMetadata.assignee-reuse.test.tsx, src/renderer/src/hooks/useSettingsNavigationMetadata.language-switch.test.tsx, src/renderer/src/lib/codex-stale-pane-account-identity.test.ts, src/renderer/src/lib/image-blob-png.test.ts, src/renderer/src/lib/react-commit-cascade-store-write-samples.test.ts, src/renderer/src/lib/work-items/linear/linear-issue-context-snapshot.test.ts, src/renderer/src/runtime/rpc/targets/use-worktree-runtime-target.test.ts, src/renderer/src/runtime/source-control/git/runtime-git-branch-client.test.ts, src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-key-reuse.test.ts, src/renderer/src/store/repos/repos-catalog-request-coordination.test.ts, src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-batch.test.ts, src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-fixture.ts, src/renderer/src/store/slices/worktrees/metadata/update-worktrees-meta.test.ts, src/renderer/src/store/slices/worktrees/metadata/worktree-meta-rename.test.ts, src/renderer/src/store/terminals/store-sleep-shutdown-order.test.ts, src/renderer/src/store/terminals/terminal-first-tab-publication.test.ts, src/renderer/src/store/terminals/workspace-terminal-reconnect-hydration.test.ts, src/renderer/src/web/web-runtime-connection-auth-framing.test.ts, src/shared/terminal/appearance/terminal-font-weight-windows-regular.test.ts, tests/e2e/claude-agent-row-view.unit.test.ts, tests/e2e/cross-version-wire/agent-permission-legacy-spawn.unit.test.ts, tests/e2e/paired-instant-browser-tab.spec.ts, tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts, tests/e2e/session-tabs/mobile-session-active-performance.unit.test.ts, tests/e2e/session-tabs/mobile-session-active-publication.unit.test.ts, tests/e2e/structured-agent-session-launch-admission.unit.test.ts, tests/e2e/structured-attention-prompt-relay.unit.test.ts, tests/e2e/structured-attention-read-retirement.unit.test.ts, tests/e2e/structured-chat-tab-lifetime-cost.unit.test.ts, tests/e2e/structured-session-workspace-authority.unit.test.ts, tests/e2e/terminal-agent-pane-launch.unit.test.ts, tests/e2e/terminal-parked-memory.spec.ts, tests/e2e/terminal-shortcuts.spec.ts, tests/e2e/terminal-split-activation-latency.spec.ts, tests/e2e/terminal-split-activation-latency-phases.ts, tests/e2e/terminal-split-activation-latency-main-probe.ts, tests/e2e/terminal-split-activation-latency-artifact.ts, tests/e2e/terminal-split-activation-latency-report.ts, tests/e2e/terminal-tab-switch-visual-restore.spec.ts, tests/e2e/web-runtime-session-terminal-host-authority.unit.test.ts. Unresolved local/computed edges remain explicit debt.", "Audit2095 current-parent preparation2126 (approved2092/2093 removals; source refresh2109/independent2112): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-03.spec.ts: rejects exact terminal stop for multiple expected PTYs before stopping anything; omits stale renderer leaves when fresh PTY liveness is required; omits unbound renderer placeholders when fresh PTY liveness is required; captures the event method before the nested sleep receipt changes it; returns the close receipt without requiring a PTY stop; uses the same stop result as an empty explicit stop. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-04.spec.ts: builds a compact worktree summary from persisted and live runtime state; reads the linked-PR state from the renderer repoId-keyed GitHub cache; carries persisted worktree host ownership in mobile summaries; emits only instance- and boundary-validated lineage parents in mobile summaries; resolves WSL platforms only for repos represented in mobile summaries; omits worktrees hidden by the host visibility policy from mobile summaries; applies linked-checkout source visibility to mobile summaries. src/main/runtime/orca-runtime-tests/hooks-and-hosted-review-part-02.spec.ts: routes runtime GitHub PR details and actions through the selected WSL project runtime; passes SSH connection context through hosted review creation flows; routes local WSL project hosted review flows through runtime git options; treats SSH worktree drift as unknown without local git probes. src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts: emits one mobile session terminal tab per live PTY even if two tabs resolve to it; resolves projected split authority from the parent layout PTY binding; keeps explicit-id terminal lists from resolving all worktrees; keeps explicit-id cold-cache terminal lists from classifying unrelated same-repo worktrees; keeps unknown bare terminal-list ids on the no-scan exact-id path; matches explicit-id cwd PTYs for folder workspace instance IDs; routes PTY output through the PTY leaf index in large terminal graphs. src/main/runtime/orca-runtime-tests/window-authority.spec.ts: claims the first window as authoritative and ignores later windows; transfers authority from the headless sentinel to the first real window; relays terminal browser launches only while headless owns the graph; marks live headless PTYs for renderer reattach before desktop promotion; reports the activation gate state while no desktop window is available; bumps the epoch and enters reloading when the authoritative window reloads; can mark the graph ready for the authoritative window; drops back to unavailable and clears authority when the window disappears; hands the graph back to headless when a promoted serve window closes (#27292); keeps a crashed promoted serve renderer on its own window while the window is open; stays unavailable during initial loads before a graph is published. src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-routing-races.spec.ts: stops paged routing when the check is cancelled; keeps an unfiltered redrive unrestricted when reservations merge; keeps an unfiltered parked delivery unrestricted when reservations merge; uses a bounded indexed pane lookup for reminted Dispatch identity. src/main/runtime/workspaces/removal/worktree-teardown-unstopped-pty.test.ts: removes the reported wedged automation workspace without --force; clears PTY state once a failed stop is proven to have exited; names only the PTYs that are actually live, not every failed stop; warns with the specific sweep failure, not the generic deadline; still fails closed on a sweep-level failure without force. src/main/skills/bundled-skill-install/layouts.test.ts: links into a project only where its agent folder already exists; reads a pending cloud transaction as busy and a cloud receipt as another skill. src/main/skills/skill-upload-session-service.test.ts: joins concurrent disposal callers through exact cleanup completion. src/main/source-control/hosted-review-creation.test.ts: creates the pull request after fresh main-process validation passes; routes local WSL git and GitHub review creation through the selected runtime; creates a pull request on a GitHub Enterprise Server remote (#8312); creates a GitLab merge request after fresh main-process validation passes; creates an Azure DevOps pull request after fresh main-process validation passes; creates a Gitea pull request after fresh main-process validation passes. src/main/source-control/hosted-review-execution-host-routing.test.ts: reads a GitHub review on the SSH host a row names only in executionHostId; reads a GitLab review on the executionHostId host when connectionId names a different one; does not dial this client for a runtime row whose nested target shares a local name; keeps a runtime row with no nested target on this process (self-addressed stamp); keeps a legacy connectionId-only SSH row on its target; does not share a cached answer between two rows at one path on different hosts; creates a Bitbucket review locally for a runtime row rather than dialing its nested target; reports creation eligibility from the executionHostId-only SSH host; resolves the GitHub slug for a repo listing on the row it is asked about; refuses to dial a runtime host from this process; answers with the SSH target for both spellings and local otherwise; reads a runtime stamp on a row in this store as self-addressing, not a second machine. src/main/source-control/hosted-review-inflight-invalidation.test.ts: keeps other hosts, paths and their pending promises isolated. src/main/speech/model-manager.test.ts: requires pinned, internally consistent metadata for every model file; verifies downloaded model file hashes before installation; rejects non-HTTPS model downloads; marks OpenAI transcription models ready only when an API key is configured. src/main/ssh/connection/ssh-connection-sftp-namespace.test.ts: writes to the SFTP namespace path discovered on the same session; uploads the bundle into the SFTP namespace directory; issues no discovery requests when the caller supplies no mapping; ignores a mapping on a Windows host; never resolves on the system-SSH transport; leaves writeBuffer and openFileUploadSession on the shell path; keeps the shell path when discovery is inconclusive; preserves a session-limit channel-open error unchanged. src/main/ssh/connection/ssh-connection-system-transport.test.ts: uses system SSH transport when ProxyUseFdpass is resolved by OpenSSH; allows concurrent exec commands for system SSH with an Orca ControlMaster socket; keeps concurrent exec commands disabled for system SSH without a reusable socket; uses system SSH transport for ProxyCommand targets before ssh2 auth; keeps the original ssh2 reachability error when the system SSH probe fails; reports the system SSH failure when ssh2 cannot negotiate with the host; uses system transport for target or resolved OpenSSH proxy directives; allows an environment override for e2e coverage; ignores stale imported proxy fields when fresh OpenSSH config has no proxy. src/main/ssh/orcad-migration-catalog-client.test.ts: keeps each server project’s execution host, so a nested SSH row is never read as local; reads the server’s folder workspaces and the groups that place them on a host; sends and validates the %s operation; validates an abort result without letting it erase committed state; validates a committed receipt against the requested manifest; rejects malformed stage timestamps and abort envelopes; fails closed for method absence, malformed identity, and invalid pairing; refuses a destination without the capability before sending any migration request; reads method-not-found as the same refusal, not as a lost answer. src/main/ssh/runtime-ssh-access.test.ts: persists intent then claim before connecting and publishes redacted authenticated access; names the saved dependency when dependent state blocks an SSH access link; handles lost link responses without connecting or verifying again; invalidates old transport only after authenticated access is published; rejects changed request tuple after a completed link; rejects provisioning and missing durable generations without connecting; treats a lost successful unlink response as an idempotent no-op; hashes connection identity, not display state or owner; strictly validates ports and request IDs. src/main/startup/cli-launch-redirect.test.ts: detects a launch that received the unpacked CLI entrypoint; ignores normal desktop launches; ignores the entrypoint when it is only the executable itself (argv[0]); applies on Linux too; strips injected Chromium switches before node-mode CLI arguments; keeps user flags after the command and malformed boolean assignments; does not treat a later positional entrypoint path as the launcher; redirects a direct binary launch with no AppImage env at all; strips Chromium switches node mode would reject; preserves desktop-shaped switches after the command; leaves direct serve in-process but redirects its help; treats help as a CLI launch even without a command; treats %s as a CLI launch even without a command; does not treat a value of %s as a CLI early-exit flag; does not treat a serve option value as a help request; does not reinterpret help after the argument terminator; leaves a plain desktop launch alone; skips flag values when looking for the command positional; preserves a project selector in %j; does not apply the command form on macOS or Windows; never redirects an unpackaged build; runs the in-package CLI in Electron node mode with sanitized env; refuses to redirect twice so a dropped ELECTRON_RUN_AS_NODE cannot loop; reports a missing CLI entrypoint instead of booting the desktop app; execs a direct serve into the CLI so it keeps its pid and honours profile and supervise; keeps ORCA_USER_DATA_PATH for a direct serve without --user-data-dir; serves in-process when this runtime cannot exec or the exec fails; never execs the --serve child the CLI itself spawns, or serve on other platforms; surfaces a spawn failure as a non-zero exit; re-execs a direct --serve onto X11 when Electron resolved Wayland; leaves $name alone. src/main/startup/main-process-runtime-launch-activation.test.ts: marks startup settled for the launch record only after the window has loaded and settled; loads SSH targets on a windowless serve before paired clients can connect (#25886); pins the serve listener to loopback only for orcad browser sidecars (sidecar=$sidecar, #31895); saves Codex auth before a headless serve update restart, like the desktop does. src/main/startup/run-electron-vite-dev.test.ts: forwards dev instance identity to electron-vite; prepares userData orca and orca-dev wrappers for dev terminals; consumes the stable-name flag before forwarding args to electron-vite. src/main/updater/releases/updater-prerelease-feed.test.ts: returns the newest stable tag when the user is on an RC and a newer stable exists; returns the newest RC tag when no stable is newer than the current RC; can exclude prerelease tags for stable-channel checks; probes the %s %s platform manifest; returns null for stable-channel checks when only prereleases are newer; returns null when nothing in the feed is newer than the current version; ignores entries with unparseable tags; returns null when the fetch is not ok; returns null when the fetch throws; picks semver-newest across a mixed-order feed; ignores perf-tagged prereleases for regular RC checks; reports no RC update when only perf-tagged prereleases are newer; picks the semver-newest perf-tagged prerelease; matches only literal rc.N.perf prerelease tags for perf checks; reports no perf update instead of falling back to stable or RC tags; returns a bounded fallback candidate after the newest newer tag; returns null when the only newer tag has a manifest but its asset still 404s; requires a known old timestamp for a stable-fallback tag. src/main/updater/updater-events.test.ts: hands the whole downloaded event to artifact capture; publishes manual-install recovery after a %s download; publishes the normal downloaded state for AppImage builds; blocks downloaded-state handling when the packaged marker is unusable; passes the actual updater error into the install-failure handler; keeps manual-install recovery when a later check finds only the installed release; drops the artifact when another version takes over the cycle; ignores a downloaded event for an older target; accepts a matching event when the pending cache target was cleared; drops the artifact when progress reports a different pending version. src/main/updater/updater-linux-package-recovery-actions.test.ts: rejects both actions while no package-install recovery is active; validates the retained package on every invocation; restores recovery after a recheck resolves without a terminal event; restores recovery after a recheck fails; restores recovery when a pinned check resolves to the current version; restores recovery when resolving a pinned check fails; clears recovery for both actions once the package is gone; resolves %s as a result and keeps the card usable instead of rejecting; keeps recovery available after a transient read failure. src/main/updater/updater.check-settlement.test.ts: leaves a dismissed release update on the release source; surfaces net::ERR_FAILED to user-initiated checks with a friendly message; shows checking immediately for a user-initiated check while feed pinning is pending; keeps background checks event-driven before checking-for-update fires. src/main/usage/usage-provider-store-lifecycle.test.ts: persists identities for a whole first scan with one write; skips disabled and fresh matching states; invalidates prior sources on fingerprint changes and reuses them for forced scans. src/main/window/createMainWindow-close-confirmation.test.ts: clears the quit latch when the renderer prevents unload; does not notify the crash recorder when renderer teardown follows a confirmed window close; allows close when Electron reports a crashed webContents; requests confirmation for a hung-but-alive renderer instead of bypassing. src/main/workspaces/catalog/worktree-identity-persistence.test.ts: stores independent metadata for colliding locators on two hosts; projects canonical-only metadata for exactly one host; keeps canonical metadata current for legacy writers on a known owner; removes only the selected legacy-owner metadata when locators collide; keeps the canonical identity stable when the locator changes; leaves other hosts at the old locator when one host renames its folder. src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.test.ts: leaves a journaled conversion untouched with the gate closed, %s. src/main/wsl/orcad/wsl-orcad-deploy.test.ts: holds the distro before it deploys and launches, and reports what C5 dials; passes its connect-state read (%s) on as hints; applies the SSH census and downgrade admission to the first deploy; refuses a WSL 1 distro before holding it or touching its files; tells an unregistered distro how to find the installed ones, before holding anything; surfaces an unsupported libc as the SSH host refusal does; starts an already-active slot the distro stop ended, instead of reporting it ready; deploys over an adopted unrecorded orcad under the SSH terminal gate, never a fresh launch; reports the adopted instance once the same version is serving; returns a deferral rather than launching over live terminals; hands a failed first deploy to the fresh-install cleanup before reporting it. src/main/zcode/zcode-v2-plan-credentials.test.ts: prefers migrated credentials over a stale legacy account; keeps legacy support when no personal v2 file exists; honors the upstream personal config override independently of the credential directory; does not borrow credentials from another execution host; preserves the protected Orca key priority even if v2 is corrupt; rejects upstream-invalid selection %j without legacy fallback; accepts a valid optional reasoning level; rejects upstream-invalid rule containers %j without legacy fallback; accepts a valid selected-provider empty personal rule and smart model rule; cannot establish selected credentials from %s rules; leaves encrypted CLI files unchanged across repeated account reads. tests/e2e/automation-terminal-launch.unit.test.ts: launches explicit Chat for %s through the common entry and keeps its actual fallback; does not apply stored Terminal extras to Chat; forwards only complete Chat-consumed values, with no Terminal startup base; refuses an expired admission without minting another launch identity; records the actual chat identity and delegates new workspace setup and provenance. tests/e2e/github-project-provider-columns.unit.test.ts: renders %s through one bounded items request on a named cloud host; preserves zero and complete counters: %j; preserves populated and legacy rows through shared sorting, grouping and cells. tests/e2e/structured-agent-session-launch-continuation.unit.test.ts: carries renderer lifetime through host intent to the real %s provider builders. tests/e2e/terminal-account-restart.unit.test.ts: replaces a tombstoned owner while its persisted pane binding has not yet been cleared; paired restart retains the old owner (host authority: %s). tests/e2e/terminal-hidden-view-parking.spec.ts: does not park excluded tabs; reproduces a static frame byte-for-byte across 25 park/reveal cycles. tests/e2e/terminal-long-table-scroll-restore.spec.ts: reproduces long markdown table artifacts after workspace switch and scroll; keeps narrow wrapped signer markdown table coherent after restore and scroll; keeps real emoji markdown table right edge clean after restore and scroll. tests/e2e/terminal-long-table-fixtures.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-paste-ownership.spec.ts: Windows multiline keyboard paste normalizes terminal newlines with one PTY owner; right-click paste sends clipboard text to the focused terminal exactly once. tests/e2e/terminal-raw-emoji-table-scroll-restore.spec.ts: uses WebGL by default for ordinary terminal output when available @terminal-rendering-golden. tests/e2e/terminal-windows-shell-paste-ownership.spec.ts: cmd.exe default terminal keyboard paste preserves exact content with one PTY owner; Git Bash default terminal keyboard paste preserves POSIX-shaped content with one PTY owner; WSL terminal keyboard paste preserves Linux shell content with one PTY owner. tests/e2e/workspace-board-lane-virtualization.spec.ts: mounts a window of cards for a large lane and keeps lane indexes; renders later lane indexes after the lane scrolls. Current changed source bytes, wrapper registrations and reduced selectors have no fresh execution or red/green credit. Unrelated surviving receipt objects keep their original narrow scope; current literal graph reachability does not establish historical import closure or equivalent replacement coverage. Current conservative command/import graph reaches src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-04.spec.ts, src/main/runtime/orca-runtime-tests/hooks-and-hosted-review-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts, src/main/runtime/orca-runtime-tests/window-authority.spec.ts, src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-routing-races.spec.ts, src/main/runtime/workspaces/removal/worktree-teardown-unstopped-pty.test.ts, src/main/skills/bundled-skill-install/layouts.test.ts, src/main/skills/skill-upload-session-service.test.ts, src/main/source-control/hosted-review-creation.test.ts, src/main/source-control/hosted-review-execution-host-routing.test.ts, src/main/source-control/hosted-review-inflight-invalidation.test.ts, src/main/speech/model-manager.test.ts, src/main/ssh/connection/ssh-connection-sftp-namespace.test.ts, src/main/ssh/connection/ssh-connection-system-transport.test.ts, src/main/ssh/orcad-migration-catalog-client.test.ts, src/main/ssh/runtime-ssh-access.test.ts, src/main/startup/cli-launch-redirect.test.ts, src/main/startup/main-process-runtime-launch-activation.test.ts, src/main/startup/run-electron-vite-dev.test.ts, src/main/updater/releases/updater-prerelease-feed.test.ts, src/main/updater/updater-events.test.ts, src/main/updater/updater-linux-package-recovery-actions.test.ts, src/main/updater/updater.check-settlement.test.ts, src/main/usage/usage-provider-store-lifecycle.test.ts, src/main/window/createMainWindow-close-confirmation.test.ts, src/main/workspaces/catalog/worktree-identity-persistence.test.ts, src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.test.ts, src/main/wsl/orcad/wsl-orcad-deploy.test.ts, src/main/zcode/zcode-v2-plan-credentials.test.ts, tests/e2e/automation-terminal-launch.unit.test.ts, tests/e2e/github-project-provider-columns.unit.test.ts, tests/e2e/structured-agent-session-launch-continuation.unit.test.ts, tests/e2e/terminal-account-restart.unit.test.ts, tests/e2e/terminal-hidden-view-parking.spec.ts, tests/e2e/terminal-long-table-scroll-restore.spec.ts, tests/e2e/terminal-long-table-fixtures.ts, tests/e2e/terminal-paste-ownership.spec.ts, tests/e2e/terminal-raw-emoji-table-scroll-restore.spec.ts, tests/e2e/terminal-windows-shell-paste-ownership.spec.ts, tests/e2e/workspace-board-lane-virtualization.spec.ts. Unresolved local/computed edges remain explicit debt.", "Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded.", @@ -4323,7 +4170,48 @@ "Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed.", "Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed.", "Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation.", - "Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed." + "Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed.", + "Audit3128 scoped coverage reduction: Audit3121 removes VoiceDictationLanguageSetting.test.tsx (Spanish-to-es callback and unsupported-model Korean option presence) and voice-speech-model-rows.test.ts (provider/language-order/retired-on-disk list policy); these real narrow alarms are deliberately retired without replacement. VoiceSpeechModelSection per-model concurrent deletion remains unchanged. Audit3122 removes the direct absolute/parent-segment sparse-directory exception-type sample and the five-row IPC sparse-preset error-code/non-save table (two authored/six expanded cases). Those real typed-validation and IPC refusal/error-code alarms are deliberately retired. Keep both real symlink/junction floating-directory trust cases and the minimal RPC structured validation-reason serialization case. The RPC case does not replace IPC save/refusal behavior, typed normalization for both path inputs, actual Git sparse checkout or rendered localization. No equivalent replacement or fresh test/runtime/platform/remote/performance validation is claimed. Audit3124 removes ExperimentalPane.test.tsx (ordinary Pet switch callback), WorkspaceDirectorySetting.test.tsx (padded absolute saved-path normalization/no-write blur), and repository-search.perf.test.ts (navigation/selected-pane builder-call policy, fixture cardinality/nonempty entries and renamed project keyword inclusion). These real narrow alarms are retired without replacement; RepositoryPane.search.test.tsx search-to-sparse-editor request remains unchanged. Audit3129: resolver Windows case-insensitive and POSIX case-sensitive configured-env composition plus mocked-base launch-preflight Windows composition are intentionally no longer checked by the two deleted suites. No equivalent coverage claimed. Keep runtime-structured-agent-host-env.test.ts unchanged: configured Windows Claude-home account identity and host-account precedence remain checked.", + "Audit3146 combines source reviews3132/3133/3135/3138/3143: intentionally retire20authored/31expanded cases without equivalent replacement. Provider-session losses: structured-native terminal-resume exclusion, metadata-less completed identity, new-turn completion clearing, Pi provider-only/periodic/manual promotion, changed-transcript launch-config isolation, Pi/omp/prime-agent completed-session remote/manual-shutdown promotion, and quit/done precedence over heartbeat. Side-thread/question losses: finished-pane acquisition, hidden title/recap states, local/relay/relay-done conversation takeover with prompt/session/child resets, plain-message abandonment, compaction/session replacement and completion resets. Codex startup losses: incoming-owner cached child replacement, old-relay foreign live-session correction, completed foreign-root turn-fact permutations. Transcript losses: real temporary-JSONL partial sibling/final-child completion, unlabelled child attribution, compact cached replay preservation and100/1000completed-child roster retention/release. Compiler-ratchet losses: valid-line uncompiled-list parser grammar examples and injected-existence stale-path filtering; these did not exercise actual filesystem canonicalization or build exclusion. These are real lifecycle, ownership, replay, liveness and retention alarms, including recent#40246 regressions, deliberately lost. Retained conditional record replacement, clockless root/SSH owner isolation, persisted main-thread fork rejection, partial/final question-answer lifetime, cached-roster/missing-ID/live HTTP/durable startup boundaries and restarted-relay refusal/acceptance do not replace those losses. No native/SSH/WSL execution or equivalent coverage is claimed.", + "Audit3156 combines3147/3150/3152/3153/3154: deliberately retires39authored/40expanded native-chat recovery cases, eight whole suites and two orphan test-support files without equivalent replacement. Lost alarms: lost-reply unconfirmed reconciliation, skipped rows/counts and missed-frame repair, unknown/pending outcome and omitted-failure-list compatibility, uncertain history after dismissal, retry/refusal/dismiss lifecycle, hidden/consumed picker ownership, result-tree keyboard focus/disclosure and all-skipped retirement; unconfirmed-over-conflict guidance and failed-chat changes despite older host timestamps; nearest-listed ancestor/cyclic forest shape, descendant membership, host ordering/missing-host local fallback; skipped/readiness/admission counts, provisional skip/progress monotonicity, early per-chat verdicts with batch pending protection, older-host waiting, start-slot/delivery distinction, retry-over-failure and unknown-after-withdrawal attention; remote snooze/reconnect/reoffer, unseen mixed summary through open/close, watched completion retirement, new success beside old failure, failed-reread mixed-result preservation, filter/collapse completion resets, retry summary replacement and current-offer/history selection; cross-host workspace identity, rendered cyclic reachability, nested tri-state/toggle propagation, project eligibility isolation and collapse preserving selection. Exact fallback-list completion barrier, batched verdict/cleanup retention, stale-read versus dismissal publication race, and requested-but-never-rendered finished-run retirement remain; they do not replace retired alarms.", + "Audit3165 combines source3160/3162: deliberately retires six authored/expanded cases across three whole suites without equivalent replacement. Launch/status losses: observed React-render pending/resuming coordination across settings and deferred offer read; stale-offer reread suppressing dialog reopen; held-local-chat recovery visibility with new-chat preferences off; disabled-local admission avoiding offer RPC despite an injected but unconsumed paired-tab fixture; and run-only lost-reply uncertainty reachability until direct viewed-run retirement. Launch probe does not prove arbitrary synchronous-store atomicity, the paired fixture is not remote runtime enrollment, and the status case directly marks viewed state rather than rendering the summary. Crew-hook losses: old-host method_not_found cache persists across party changes but is released by independently supplied connection generation/verified pairing status or pairing revision, with actual frame publication and teardown. These are real narrow coordination, admission, uncertainty and mixed-version cache alarms consciously lost. Exact web verified-runtime writer handoff guard remains; it does not replace those alarms or prove live host/native/mobile delivery.", + "Audit3178 combines source3169/3170/3175: deliberately retires eight authored units (six Vitest cases and two imperative custom relay scenarios), including two whole suites, without equivalent replacement. Voice Section loses per-model pending-delete isolation across interleaved A/B completion and the two-success refresh-call alarm; exact VoicePane delayed key-clear/newer enabled-toggle merge remains and does not replace row deletion coverage. Speech loses dedicated rating-scale/inclusive-ceiling, unsupported-versus-unmeasured, explicit/system-language precedence/locale alias, accuracy versus fast named/default/best-measured selection, and unmeasured/no-match examples; exact offered-user-pick versus retired-selection case and its fixture remain. Relay loses legacy ping-delivery count/liveness sampled before the silence deadline and grouped malformed Bearer/host-ID 401/429 routing checks; twelve real Worker/DurableObject/shipped-client scenarios remain, not equivalent replacement for those narrow alarms. Six prior speech cases are not all deleted: approved successor3175 keeps the original user-choice case. No actual credential/file persistence, native/GPU/engine/download delivery, production assignment policy or deployed-runtime validation is claimed by this reduction.", + "Audit3191 combines approved source3182/3187/3188: deliberately retires thirteen authored Vitest registrations and fifteen expanded cases, including five whole suites, without equivalent replacement. Attachment intake loses real portal/native-capture terminal interception and unowned-container refusal, immediate child-only committed availability/claim-ref negotiation and delivery, and direct-target over stable focused/background composer routing through disable/re-enable/remount and independent question focus. Exact destination/cache/draft and final-stat owner/workspace/File-release suites remain; they do not replace Surface recipient routing. Automation authoring loses destination runtime catalog membership, local/direct-SSH exclusion of paired-runtime repos, unknown-runtime empty catalog, logical project/host/setup/repo/path context payload, and missing/nonready setup refusal; these were genuine direct helper alarms, while exact schedule transformation, legacy schedule and setup-decision suites remain. Agent picker loses setup-chat/terminal/missing-installer/unsupported-or-unknown-host row projection samples and the ordinary unsearched menu variant; the entire original26-line resume recipe suite remains, including reported bypass versus default/absent permission modes, as does the exact search-result menu callback with its fixtures, model/effort commits and staged Arguments reopen outcome. Rejected predecessor3180 full recipe deletion is excluded. No actual native drag/cursor/focus/IME, upload bytes or disk/restart persistence, full automation save/scheduler/runtime transport, real resume-process flags/environment delivery, or native menu/rendered layout validation is claimed.", + "Audit3200 composes approved source3194: deliberately retires thirteen authored registrations/twenty-seven expanded cases in six whole automation host/list policy suites without equivalent replacement. Real RPC category/retryability and wrapped-timeout recognition, unscoped-failure/scoped-success health evidence precedence, exact-ID create selectors and per-run workspace omission, paired-web local/SSH/absent host catalog routing, incompatible/removed/unhydrated/offline execution health, runtime-before-nested-SSH recovery dispatch, and no-owned-focus/successor/foreign-list focus policy alarms are consciously lost. Retain exact20line orphan allow/refuse/precondition and exact90line cross-host same-ID search suites. No retry-timer/fence lifecycle, actual reconnect/network/write delivery, native focus, mobile/mixed-version runtime or disk persistence coverage is claimed.", + "Audit3209 composes approved sources3202/3206: deliberately retires seven authored/expanded cases in four whole suites without equivalent replacement. Work-item queries lose real GitHub/GitLab oversized ASCII secret-prefix empty-query and whitespace-before-trim refusal alarms; inputs share the imported size bound and exercise only its fast length branch, with no multibyte or actual provider/exposure guarantee. Skill sharing loses complete/partial managed-bundle and destination-ambiguity association checks plus three negative origin/path/scheme admission examples; these do not establish uploaded contents, arbitrary-URL fetching, authorization or execution. Retain exact originless-project direct-link fallback, cloud-delete confirmation, bundled-target repair/owner isolation and explicit Windows-host preference over stale WSL suites. Rejected3201 runtime-preference removal is excluded. No real cloud/network/host/disk, mobile or mixed-version execution validation is claimed.", + "Audit3219 removes the synthetic Cmd+J extra-source suite; this broad command no longer checks its match/tie placement and selection, announced count, empty-query cap, or workspace hiding with retained recent tabs. No replacement coverage is claimed.", + "Audit3231 retires supported-host restore-pane key mapping, closed/open creation-sidebar toggle visibility, unrelated scope-error/null classification and quick-submit reveal/no-create checks. These broad commands lose those real narrow alarms; no replacement coverage is claimed.", + "Audit3246 retires NewRowsMarker reveal/no-repeat and pane-scoped beforeinput checks; skill-owner option availability/count/dedup/order; six styled Input/Textarea IME forwarding rows; the static Codex/OpenCode smart-key inventory; tab-map AST ratchet diagnostic fixtures; child-roster work-budget and retained-aggregate alarms; malformed persisted floating-cwd fallback/no-crash/empty exact-root checks; the unanswered-host empty-list discriminator; the direct invalidated-cache commit-false assertion; one redundant digit-keyup IME row; cached non-supported Claude title-generator rows; and the duplicate late naming-result singleton. These root broad commands lose those specific alarms without equivalent replacement. Distinct retained owner/state checks have their own bounded claims; the real scheduler still rejects stale response data, while the direct false-return alarm is retired.", + "Audit 3256 removes these specific alarms from the broad root unit commands: skill dialog active-share selection, close and pending-share handoff; simple keyed-record deletion; marker live-region insertion, simple landing and nine baseline policy examples; General search/control navigation inventory; orphan-count cache bootstrap; seven Codex code classifications and HTTP 429 warning mapping; two skill unread-root verdict examples; peer-mail payload and conversation-ID rejection; and the GitHub organization TABLE text-field optimistic rollback/failed-envelope example. These include real behaviors; retained tests do not provide equivalent coverage for every removed scenario. Mobile losses are recorded separately and are not coverage of these root commands.", + "Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims.", + "Audit 3283 removes 20 authored declarations and 31 expanded scenarios, including two whole suites. Retired alarms cover PR refresh-state pruning, shared runtime subscription cleanup and store isolation, language content-change routing and older completion ownership, ordinary panel retry-timer cleanup and pending loading, four hosted-review lifetime permutations, mocked terminal creation error/order wiring, five sleep-inventory variants with pending-frame-only assertions, palette fallback/composite highlights, Windows/UNC encoded-editor input rows, mixed-repository partial failure counts, title setters and generated-title bypass/replacement, five window-close coordinator delegation/guard/finally branches, and ambiguous-old-record frame reveal. These regression checks are intentionally lost under the test-value audit; retained cases are not equivalent replacements. Prior coverage notes and receipts remain historical.", + "Audit 3292 combines adopted 3285/3287/3289/3293 removals: 40 authored declarations and 47 expanded scenarios, including whole frame-editor-view, ambiguous remote-delete-refusal, unverifiable-host subscription and editor-close cleanup suites. The previously reviewed dock-badge suite was already removed upstream in PR 40895 and receives zero new removal credit. Intentionally retired alarms include background browser selection and last-tab landing; main startup fallback, SSH project cleanup/survivor routing, exact-PR contradiction/saved-push positives, replay/sidecar rollback and wrapped remote error normalization; records/snapshot missing-diff hydration, ambiguous folder-owner delete refusal, focus no-op notifications, nested editor context-only cache check, pending broadcast-first status and ordinary four-confirmation aggregation; preview-source frontmatter pruning, approved local/runtime agent dispatch, non-GitHub legacy PR cache invalidation, stale merged-head transient-error fallback, empty-queue immediate query reply and unverified-to-concrete preflight risk. Additional intentionally retired alarms are injected host subscription/unsubscribe counts, synthetic editor reveal/draft/fallback/scoped close, ambiguous unread refusals and hidden mark/read roundtrip, immediate connect backoff/noError, positive mirrored evidence-clock renewal, supplied VM failure/success projections and git-local/folder-SSH wake permutations. Remaining temporal/ownership cases are narrower; no equivalent replacement or fresh execution is claimed.", + "Audit 3301 combines adopted source batches 3296 and 3299: retire 27 authored declarations and 36 expanded scenarios, including six whole suites. Intentionally lost alarms cover failed-verification/recovery/restart counters and mocked hosting/toast; early overlapping pane-read scheduling/count; unreadable removal listing draft guard; bulk-purge remote-qualified and raw-local guard maps; initial-snapshot blank/mode/oversize/printable/fresh-spawn callback and replay examples; fallback mobile file close and ordinary MRU; default queue overload/drain; seeded browser-page reuse and supplied missing-page URL recreation; ambiguous sleep/hibernation owner refusal and untouched bindings/origins; ordinary selection/activity/fallback priority; skip-remote success and retained hints; supplied structured-chat unsent retention and scoped removal draft eviction; caller-chat focus precedence; open/draft PR cache eviction and merged-head fallback result inventories. Retained adverse-ordering and ownership cases are narrower and do not establish equivalent replacements. No fresh runtime, native, physical provider, cross-platform, mobile or mixed-version evidence is claimed.", + "Audit 3312 composes adopted sources 3302 and 3308: deliberately retires 33 authored declarations and 36 expanded cases, including the whole backend startup-focus, active-browser IPC-close-routing, remote-browser-creation and agent-terminal-presence suites. Intentionally lost alarms cover distinct six-pane reconnect handles; SSH host label/Connect callback, unhydrated visit cleanup, repo cache aliases and hidden worktree/tab/PTY cleanup; adopted-agent startup focus and viewer navigation/reuse; staged, pageless, source, stale and orphan browser-close routing; web local-materialization refusal, desktop incapable-host fallback, failed/thrown remote creation and paired-web sign-in refusal; BOM/NUL and remote/local custom-editor byte-read examples; immediate folder activation and unread clearing; and batching idle/coalescing, accumulated byte ceiling, leading-edge-disabled, standalone synchronous oversize rejection, validation yield, deferred pending-tail order and both viewport-clear examples. The newly reintroduced agent-terminal-presence suite also loses actual terminal-status membership positive and nonterminal-status callback suppression alarms, including the recent 40916 guard regression; the older different 2133 presence-suite history remains historical and receives zero duplicate removal credit. These real regression alarms are intentionally lost. The unchanged survivors provide narrower coverage, with no equivalent replacement or fresh gate, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation claimed.", + "Audit 3318 composes adopted sources 3310, 3313 and 3317: intentionally retires 71 authored declarations and 102 expanded cases, including whole terminal-detach agent-retention, seeded batch/single open-files equivalence, shallow context-menu shortcut-badge, mocked active-workspace delete-dispatch, workspace session hydration, SSH target cleanup, editor session hydration and worktree terminal purge suites. Lost alarms include chained transfer alias and immediate close/exit retention; batch/single divergence, survivor/selection/map preservation and input nonmutation across 400 imperative seeds (one registered case); disconnected pending-handle retry, authoritative absences/close-record shortcut/older-host absence and published-presence/unpublished-frame examples; published empty host-graph omission to pane exit; legacy search ranking/exclusion fallback; provider request upgrade/dedupe/finalizer ownership; asynchronous PR suppression/primary-change and same-number different-repository URL rejection. Deletion routing loses host/instance qualification, paired and legacy mapping, folder ownership, active-versus-hover/menu-row selection, ambiguity, modal/editable/creation/view/main/deleting/missing guards and shortcut advertisement. Unchanged real keyboard/hover/confirmation/catalog E2E remains narrower, not an equivalent replacement. Additional losses include scripted old-host disk/UTF-8/noop/baseline and landed/unlanded lost-reply/replacement-retry outcomes; ordinary/repeated healthy-link reattach; cross-owner terminal/chat binding; oversized replay permanent-unavailable classification; floating reveal keyboard ownership/close/disable/listener disposal; naming/retained-turn/Sleep/error/close/reject status tables; SSH membership prune/new-target-only reads and environment/local bucket isolation; same-frame receipt capacity and positive bare/headless publisher readmission. These actual regression alarms are deliberately lost; no fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed.", + "Audit3335 composes adopted source unions3327/3328 and3330/3332: intentionally retires100 authored registrations/123 expanded cases, including ten whole suites, without equivalent replacement. Lost alarms include seeded host persistence/contention and stale-host cleanup; browser snapshot assembly; mocked wake/DPR callbacks and frame budgets; preflight projections; palette authority/cache suppression, URL intent and saved-title cross-repo collisions; metadata coverage/set patch and dropdown assembly; and removed terminal, worktree, review-refresh and owner-routing examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI/GPU/focus, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain only their original scope.", + "Audit3342 composes adopted source batches3333/3334,3336/3337 and3340/3341: intentionally retires180 authored registrations/263 expanded cases, including seven whole suites, without equivalent replacement. Lost alarms include corrupt editor hydration; mobile editor/diff publication and privacy projections; stale-resubscribe routing; model-picker projection/refetch/retry/fallback; editor check-details and frame property inventories; latched-pane cleanup/quiescence; client create replay identity/options/compatibility; and removed owner, async routing, terminal and layout examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts keep their original scope.", + "Audit3349 composes adopted batches3343,3345 and refreshed3354: intentionally retires234 authored registrations/294 expanded cases, including13 whole suites, without equivalent replacement. Lost alarms include supplied terminal reconnect/replacement/typeahead/mirror/result and snapshot examples; synthetic render-desync persistence/recovery; worktree listing/owner/catalog/lineage/removal and activation/creation examples; host-scoped PR and task-record projections; editor diff/status/comment and UI send-target examples; automation observation/wake, supplied sleep/deadline clock and native-chat completion/notification/relaunch samples; held-tab layout and cleanup/progress guard examples. Retained adverse-ordering and wire-boundary cases are narrower and do not replace all removed alarms. The already-upstream visibility-resume deletion receives zero new removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH, native process/power/GPU, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3359 composes root-adopted source3355/independent3356: intentionally retires130 authored registrations/139 expanded cases, including eight whole suites, without equivalent replacement. Lost alarms include strict create naming/capability/legacy payloads; supplied transport host replacement, deadline reattach, create-handoff and split activation; agent-session fork/clipboard/platform flags; shutdown cleared-scrollback/unmounted bindings; simulator host-collision/selection/shutdown; and removed editor, catalog, mutation, launch and status examples. Retained12 adverse-ordering/state-consequence cases are narrower and do not replace all removed alarms. Two queue absences receive zero removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY, filesystem restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3362 composes root-adopted3358/independent3360: intentionally retires129 authored registrations/140 expanded cases, including four whole suites, without equivalent replacement. Lost alarms include supplied orphan-adoption retry/malformed inventory/cancellation; fake-terminal replay parser/wedge/disposal callbacks; all-host catalog metadata and Windows preferences; host keepalive/protocol/stale/settings failures; and removed exact-stop/suppression, source save lifetime, diff-note queue, rename/editor close, input flood/chunk refusal/limits, purge and creation examples. Retained18 registrations/21 expanded cases protect narrower ownership, generation, dirty-state, queue convergence, encoding and attachment-lease outcomes. No replacement or keeper quota claim. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY/xterm parser, disk restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3368 composes root-adopted3363/3364 and3367/3369: intentionally retires181 authored registrations/196 expanded cases, including28 whole suites, without equivalent replacement. Lost alarms include hibernation attention/liveness/backoff/sequential teardown and inventory, host launch compatibility/legacy/Kimi/resource cleanup, terminal recovery parser/pause/quarantine/remount, window-visibility omission-fence lifetime, launch-option rendered Start, sleeping-resume saved recipe/WSL quoting/cancellation, plus removed project/window/input variants. Additional tiny-suite losses include sentence/label/field/default inventories, credential omission, Windows argument/environment mapping, URI decoding, diagnostics, provider classification and fake-clock callback/parser examples. Retained ten registrations/twelve expanded cases include two literal Unicode Mn/Cf zero-width range guards in the actual character-range algorithm and protect narrower delayed editor bytes/destructive ownership, mounted hidden collision repair, ten transport epochs, duplicate-command refusal, caller timeout typing, executor unknown-opener refusal and failed-chunk user bytes. This broad unit command selects the reduced suite; no fresh runtime, real provider/network/PTY, filesystem restart, native UI, historical import equivalence, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3375 composes root-adopted3370/independent3371 and3373/independent3374: intentionally retires79 authored registrations/84 expanded cases, including39 whole suites, without equivalent replacement. Lost alarms include federation field/parser inventories; Claude rejected-key precedence, credential clone redaction, managed-versus-user hook preservation and CLI defaults; setting/status/activity projections, mocked SSH/notification/reveal/Linear refusal, fake-clock reconnect and noise; image-fold artifact visibility, paste eligibility, setup trust, scripted ACP error-to-journal publication and ligature cache tuple aliasing; plus supplied folder-runner uniqueness, mobile host-overlay/credential/update/preference races, status/markup/title/keyed-row projections, subscriber cleanup, cancellation/close/refusal/link-issue and mirror suppression alarms. Retained3373 merger contiguity, dual-clock overdue-resume exactly-once, rejected-paste IPC sink and annotation schema roundtrip remain bounded. Retained actual HTTP/OSC status composition, destructive sibling-filesystem isolation, external contrast invariant and fixture CSS pixel intervention remain narrower. Original reviewed87authored/92expanded become9/9; current OpenCode suite adds two preserved upstream cases and the synthetic-title suite gained one Cursor policy mock-call case, independently reviewed for removal in root3378; current90/95 become11/11. That Cursor suppression/ready-frame regression alarm is intentionally lost; it does not observe native title ownership or tab flicker. For3370 only the peer was independently blind, with author exposure explicit;3373/3374 both blind pins were verified. This broad root unit command selects the reduced root unit suite; UNIT_INCLUDE excludes mobile tests, which require the existing mobile runner; retained Playwright component-pixel spec uses its separate existing headless fixture runner and is not validated by the broad unit command. No fresh execution, actual agent/shell/provider, OS material/focus, historical import equivalence, mobile, mixed-version or cross-platform evidence is claimed. All dated receipts retain their original scope.", + "Audit3381 composes root-adopted3376/independent3377 and3379/independent3380: intentionally retires436 authored registrations/670 expanded cases, including79 whole suites and12877 test lines, without equivalent replacement. Lost alarms include scheduling, account/host/status/filter/format inventories, microphone/image cleanup, title/bell/capability lifecycle routing, access/impersonation/outcome matrices, paste/input resend/ledger/retention, stale completions/reload containment, trust-read failure and popup OAuth/security/geometry vectors. Retained30 registrations/34expanded cases in22 suites preserve narrower SQLite TEMP/TZ/WAL, HTTP transcript root resume, mobile original-index Choose/Submit, child environment/Git lock expiry, stale ACK/PTY lifetime/peer fairness/durable replay/output ordering, actual DOM paste/editor focus, DEC2026 conservation, filesystem rollback, owned buffer lifetime, actual OSC parser/tracker handback, POSIX Python UTF8/fallback, durable trust concurrency/version, OpenSSH verdicts and hidden Chromium POST/route lifecycle. Mocked boundaries limit claims. Current bounded defining-owner reads preserve the retained oracles; captured identities are not full transitive semantic review. Both component blind pins authenticated before exchange; final reconciliation and explicit postpin3380reason correction supplement control, without retroactive blind claims. Root unit command excludes mobile and separately admitted Electron probes; use existing respective runners. No fresh execution, native focus/device/pixel UI, live SSH/remote, equivalent replacement or broad mixed-version/cross-platform validation is claimed. Prior dated receipts retain exact original scopes.", + "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed.\nOriginal active selector fields (historical raw native JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts\",\n \"pnpm exec playwright test tests/e2e/paired-remote-terminal-parked-reveal-interactivity.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\"\n ]\ntestFiles: [\"tests/e2e/paired-remote-terminal-parked-reveal-interactivity.spec.ts\"]\nassertionRefs: [\n {\n \"file\": \"tests/e2e/paired-remote-terminal-parked-reveal-interactivity.spec.ts\",\n \"assertions\": [\n \"a revealed hidden-but-mounted remote terminal restores, accepts input, and paints live\",\n \"a revealed cold-parked remote terminal restores, accepts input, and paints live\",\n \"a cold-parked remote terminal revealed after a runtime disconnect and reconnect restores, accepts input, and paints live\",\n \"the host PTY grid converges on the revealed pane grid in every scenario\"\n ]\n }\n ]", + "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The broad root-unit command loses the UNIT_INCLUDE src/ subset of retired examples; mobile is outside UNIT_INCLUDE. Other lost alarms are recorded by the adopted per-case source reviews. Original scope text is retained as the exact suffix of coverageNotes/oracle; historical evidence is unchanged.", + "Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Broad root-unit discovery loses35WSL examples,22STT examples,22shared-server-banner examples,18clipboard-handler examples (whole suite deleted),14VM lifecycle examples and16commit-message cancellation examples. Retain4WSL and7STT mocked connector/worker cases,1rendered stale-banner refusal,2VM guard/failed-compensation cases and1late-stream ownership cancellation case; real WSL/microphone/remote-provider proof is not established. Separately discovered e2e-unit drivers lose13cross-version-wire local cases and15mobile active-publication cases, keeping same-process disk-reopen/new-host cursor content/epoch/sequence outcomes and a host/renderer-snapshot selection and inventory revision race respectively. Imported released stop-note scenarios remain unchanged and receive no duplicate credit. Cloud suites are outside root UNIT_INCLUDE. All previous note strings, dated receipts, archived raw receipts and prior gap entries retain their original scopes.", + "Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. Broad root-unit discovery loses naming/title/queued-host fixtures, main-window focus-shortcut and attach-services mock orchestration, Git Bash console-capacity fake process inventories, most real-Git preparation/locking variants and Claude/Codex catch-up examples. Keep lifetime rejected-writer followed by late termination proof and autonomous real-checkout cleanup; two-row real-Git rollback after a real move preserving a replacement/admin marker or revoked permission; a live translator write during a held transcript read fencing stale Claude history append; and Codex expected-item revision rejection before a historical writer shim. Codex driver registers retained bounds exactly once with original inputs; bounds does not prove modern writer persistence. Accepted changed-lock preflight sentinel and omitted-parent routing losses are not replaced. All earlier notes and dated/archived evidence retain original scopes.", + "Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted mock orchestration, refusal, restart and storage examples. Retain unchanged two-phase real-WSL deployment/survival, the reduced idle-release holder proof without restart/first-output measurement, real worker stop/release cleanup barrier rows, physical Git branch-preservation rows, and SSH disconnected-close proof. Other SSH and CLI variants and WSL telemetry/warmup churn are intentionally removed. Earlier notes and dated/archived evidence retain original scopes.", + "Audit3429 composes root-adopted3426/independent3427: intentionally removes168 authored/205 potential expanded cases across16 semantic sources, deleting11 whole suites and one304line unused assertion helper. Five authored/five potential cases remain; the duplicate500k graph row is dropped while its50k row and callback remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted migration/recovery/federation/rich-draft/paste/automation/mobile/catalog examples. Keep server-edit preservation during migration, native supervised cancellation holding the agent home until physical stop, pagehide lost-text preservation, graph old-result WRAPPER WeakRef collection with50k rows, and mobile React render isolation. The WeakRef does not prove all commit objects are collectible or a memory budget. All prior notes and dated/archived evidence retain original scopes.", + "Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses reduced or deleted relay, coordinator mail, recovery watchdog, automation observer, launch picker, folder PTY, profile restart, web migration, retirement, pointer delivery, agent-row and run-bound mailbox examples. Retained checks cover relay hello/payload and SIGTERM drain, coordinator pending-check and clear-to-Run continuity, profile persistence, the full six-row web merge table and real run-bound delivery waiter. These do not replace removed alarms. All prior notes and dated/archived evidence retain original scopes.", + "Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit and mobile discovery loses interrupt/wake registrars, task storage/session-close/account snapshot hooks, permission tables, copy/preference/model-discovery/composer examples, launch placement examples, VM projections and extra mobile-history scenarios. Retained checks cover abandoned versus dispatched fork uncertainty; /fast dispatch supersession; discovery lock release after exit; stale-send draft preservation; OSC status lifetime; future-version file preservation; launch cancellation before/during dispatch on both layout owners; mobile resume addressability before hooks; and recipe snapshot cleanup after plugin removal. The paired browser-link Electron source is unchanged. Terminal launch seams, mobile roles-only history and injected provider results do not establish native terminal destruction, transcript text fidelity or real remote provider cleanup. All prior notes and complete dated receipts retain their original scopes.", + "Audit3451 composes ROOT-adopted3444/independent3445: intentionally removes101 authored registrations across16 reviewed sources, deleting7 whole suites and reducing8; one reviewed source is unchanged. Fresh main has123 authored registrations before and22 after because an upstream direct-child shell regression remains verbatim with zero removal credit. Registered removals are100+7*S and explicit-active removals99+7*S, where S is the unprobed count0..3 of admitted bash/zsh/fish shells. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses extra stream lifecycle/forwarding examples, unreadable-store/cache projections, orchestration presentation/benchmark cases, remote-owned routing matrices, mobile legacy navigation and model-catalog listing/cache examples. Whole suites retire renderer client-event projections, manually assembled structured-session reader ownership, mobile prompt presentation, renderer AI-vault resume commands, mobile Jira URL lookup, composer retention and mobile folder source-repository queries. Retained checks preserve original stream/store/orchestration/routing/navigation/catalog cases and shell behavior, including the upstream direct-child case. No real provider, native desktop or mobile acceptance is established by this reduction. All prior notes, assertion references and complete dated receipts retain their original historical scopes.", + "Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. Broad unit discovery intentionally loses whole trust-dialog observer, background-turn notifications, redirected session refusal, typed-agent identity, chat-tab lifetime-cost, model-manager and mobile diff-review controller suites, plus individual persistence, synthetic composition, pairing, manifest and subprocess samples. Retain deferred snapshot dirty-domain persistence, two direct editor ownership cases, stream counter-domain distinction, two persisted pairing identity cases, parser entrypoint asymmetry, dictation retry and process-group timeout; paired restart and packaged old-binary/corrupt-profile journeys remain in their E2E driver scope. Retained checks do not replace removed alarms. No fresh execution, native IME/microphone, real authentication, mixed-version/platform or performance result is claimed. All prior notes and archived receipts retain original scopes.", + "Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. Broad root-unit discovery loses whole cross-client workspace-sync, terminal-preview, picker-skill-hint and close-routing suites plus reduced worker-stop, remote-owned-record, scanner, mobile-bundle and daemon-health samples. Separate E2E discovery also loses the paired mobile/desktop mirror journey and two unit drivers. Retained callback/table/outer-loop/guard bytes are exact; retained checks do not replace the removed alarms. No app, native device, mixed-version, remote or cross-platform execution result is claimed. Earlier notes, complete dated receipts and archived gaps retain their original scopes.", + "Audit3468 accepted source proposal AUTHOR3462/PEER3463, composed privately by audit3469: removes62 authored registrations/95 finite potential expansions, including5 whole suites, retaining25 authored registrations/29 finite potential expansions. ROOT approved source value; no equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses the profile-state worker smoke, worker-agent views and three search discovery suites, plus samples from node-server qualification, skill-bundle generation, CLI hooks/profile/recovery/offline admission, permission-hook holds and search indexing. The separate Cloud relay runner loses one relay blackbox sample; unchanged mobile native-chat and dependent-transcript drivers remain. Retained source callback/table/ancestor/fixture bytes bind to the sealed candidate. No physical-device, mixed-version, remote, cross-platform or app execution result is claimed. Earlier notes, complete dated receipts and archived gaps retain their original scopes.", + "Audit3438 composes ROOT-adopted3434/independent3436: intentionally removes60 authored/62 potential expanded cases across16 sources, deleting9 whole suites. Eight authored/eight potential cases remain; delete the102line unused ACP fixture and57line unused teardown helper with zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses ACP model-catalog fixtures, resume-record projections, dashboard mock payload/state cases, mobile folder/launch/session examples and dictionary pipeline rows. Selected E2E removals also retire auto-conversion and golden-core journeys and one Windows CLI conversion registration. Retain ACP reply text across a resumed subagent, both VAD checks, focused tab send ownership, async focus ownership in happy-dom, the question-skip journey, the original managed Windows CLI lifecycle journey and dictionary substitution. These checks do not replace the removed alarms. All prior notes and dated/archived evidence retain original scopes.", + "Audit3470 composes ROOT-approved AUTHOR3466/PEER3467 source proposal: intentionally removes38 authored registrations/59 finite potential expansions, including8 whole registering suites, retaining13 authored registrations/18 finite potential expansions. The sole dead shell-recipe caller cleanup has zero additional test credit. No equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses process-import boundary, Korean/Japanese locale policy, worker-reset, mobile agent-history/queued-message and median-summary suites, plus packaged mobile-manifest, worker-pool fixture, HTML preview, mobile shell and terminal samples. The environment-provider contract and its sole shell-recipe caller are deleted. Separate cross-version-wire discovery loses the large byte-budget fresh-snapshot/replay sample while retaining independent live same-revision note publication; the retained terminal stale-refresh and dirty HTML draft persistence checks do not replace removed alarms. The source4 unused start/stop fixture hooks are removed; its retained nested failed-import test remains byte-exact with its own lifecycle. Unchanged SVG preview and Git-resolution registrations stay intact. Root balanced CI excludes the cross-version directory, which has a separate job; unbalanced root discovery can include its parent. No native app/device, actual remote, released-pair interoperability or cross-platform execution result is claimed. Earlier notes, complete dated receipts and archived gaps retain their original scopes.", + "Audit3492 composes ROOT-approved75(AUTHOR3475/PEER3476 and AUTHOR3485/PEER3481, including five-field clarification and zero-credit selector3483) plus123(AUTHOR3486/PEER3487 reconciled FINAL3491, including peer case10:3 and9:0 wording clarifications). It intentionally removes198 authored registrations/232 finite literal-table potential registrations across70 changed JS/TS test sources, including45 whole suites;87 authored/90 finite potential registrations remain across95 reviewed JS/TS bodies. One mobile native-suspension manual recipe and the now-unreferenced GitLab mock fixture helper are separately removed with zero registration credit. Static literal table potential is not execution. No equivalent replacement, fresh runtime result or merge credit is claimed. Earlier135 complete dated receipts, all raw gaps and full prior98/161/history notes retain their exact scopes and bytes. The additional123 retirement accepts loss of mocked GitLab request/error/identity/classification inventories; basic Linear migration and metadata discovery; simulated OpenCode key failed-save retention/retry/log redaction; analytics identity-flush smoke that did not prove ordering; AppImage static entry guards and empty-staging cleanup; GPU/process/minidump breadcrumb/annotation shapes and weak redaction oracles; namespace/status/foreign-launcher ownership guards and persistence roundtrips; profile transfer field projections; worker hook/screen/incarnation/result admission/classification guards; and source-coupled CLI transaction fixtures. Privileged publication failure injection was a false-positive: its mkdir regex missed -m 700 and outer rejection accepted an inner assertion before any shell ran. The identity-flush case awaited identity after flush and could pass despite early flush. Retained actual negative-token cache recovery, SQL filter-before-LIMIT open approval, unreadable-root FTS preservation/degradation, latest-connect-wins persistence, worker stop-debt settlement, unmodified same-inode foreign-content transaction, explicit incomplete-pagination error, FTS own-message snippet association, filter-before-route result and bounded-search truncation honesty are distinct bounded outcomes, not replacements for retired alarms. Case9:0 checks both roots before chmod but only mounted-session/degraded-root after chmod. Entire extraction-root suite is removed; no retained extraction cleanup is claimed. Removing the manual iOS foreground-stall shell script loses its unique real native-suspension recipe; timer tests do not replace it. First-match PIDs, indefinite waiting, broad success matching and absent trap cleanup made that diagnostic brittle and able to leave a desktop stopped. The current Windows operational driver remains byte-exact, preserving already-merged removal of orcad-convert and orcad-cli-convert selectors and the retained cmd/powershell/managed CLI lanes. The package skill-sharing release selector loses only the exact already-retired skills-suite token; no extra test credit. Included approved75 retirement account follows (historical proposal labels identify provenance; final198 counts above control): Audit3488 composes ROOT-approved source49(AUTHOR3485/PEER3481, including its immutable five-field clarification) and source26(AUTHOR3475/PEER3476): intentionally removes75 authored registrations/87 finite potential registrations across35 changed sources, including25 whole suites;35 authored/36 finite potential registrations remain in the combined reviewed scopes. Literal table potential counts are not executions. This source-only reduction has no equivalent replacement, fresh runtime result or merge credit. Root unit discovery deliberately loses entire message-row filtering/chunk reconstruction, discussion-pagination rejection passthrough, Linear bearer/stack redaction, new-profile telemetry/default/existing-JSON no-op, WSL user-trigger routing, terminal-delivery refusal, native-chat worker-approval UI, followup-paste routing, live-surface tombstone refusal, activity-bar hydration, fabricated approval-caller policy, child-PATH transformation and branch-review URL/identity suites. It also loses cache roundtrip/mode/fingerprint/fallback/no-op samples; GPU field-shape privacy examples; older auth-probe failure retention; orphan SQLite-sidecar/future-schema admission; usage tie/duplicate/composite-key examples; allocation-name sanitizer/unknown-prefix examples; real worker-and-backup preflight wrapper smoke; and JSONL descriptor-loop truncation. The discussion page contained id-only discussions without notes, so its rejection did not prove a nonempty notes-prefix oracle. The preflight did launch actual worker/backup entrypoints with production internal self-validation; removing its revision/version wrapper deliberately retires that real-entry smoke alarm. The skipped-prefix JSONL keeper rewrites/grows after collecting the suffix and before final validation, not concurrently during parsing. Retained queue rejection/recovery and held/drain mechanisms, recorder nonsettling-provider deadline, corrupt authoritative-DB refusal, legacy cache split migration, merge-added-row indexing, external-frame redaction, and pinned JSONL read/verification/mutation checks are bounded concrete oracles, not equivalent replacements for retired alarms. The full cloud relay cohort/ceiling/control suite is separately removed from the relay package runner, outside root unit discovery; no cloud runtime result is claimed. The Python computer-use benchmark remains unchanged tooling with zero authored/removal credit; no native benchmark trial ran. The package skill-sharing release selector drops only the exact already-deleted skills-suite token, with zero additional removal credit. Prior dated receipts, raw gaps, and complete earlier161/98/history notes remain exactly at their original scopes; no changed-source historical receipt becomes fresh reduced-suite evidence. Included approved26 alarm account: Broad root-unit discovery loses entire ref-label string, hostile/malformed CSV-link rendering, Codex filename-discovery, mocked paged-preview postscan mutation, usage path-containment, real symlink-ancestor, Codex skip RPC, local/remote inference routing, width-preference, and synthetic workspace-document input suites. It also loses the hand-assembled sorted CSV edit example, connect-time JPEG seed and invalid AVCC guard samples, and eight-record/64KiB detector boundary cases. The symlink suite exercised actual kernel traversal; its lost ancestor alarm could omit supplemental local editor watches and leave content stale, not bypass authorization. Retained linked stream cancellation, preview-only save fence, failed-flush dirty-draft preservation, clipboard byte/edit preservation, fragmented AVCC parsing and independent quoted-CSV interpretation checks do not replace these deliberately retired alarms. The stream fixture uses an in-memory source and does not establish actual fd cleanup; editor save endpoints are synthetic, browser events are synthetic, and no native focus, actual remote delivery, real disk write, cross-platform execution or interoperability is claimed. Earlier complete dated receipts, raw known gaps and previous notes are historical evidence at their original source/selector scope, not fresh evidence for this reduced suite. Earlier notes, complete dated receipts and archived gaps retain their original scopes." ], "demotionRule": "Demote if a retired runtime transport can leave a renderer subscription without a close event, if a close is delivered more than once, if one failing teardown strands its sibling subscriptions, if payload frames from a retired transport reach the renderer, or if a revealed remote terminal can stay blank or reject input after a reconnect." }, @@ -4441,7 +4329,7 @@ "providers": ["remote-runtime"], "coveredPlatforms": ["macos"], "coveredProviders": [], - "coverageNotes": "Audit3108: doc-preview-grants.test.ts now retains only the stale grant-rejection race: a late rejected grant request must not evict a newer grant registry entry, witnessed by later revocation of grant-2. Retire stable minted-location and outside-workspace POSIX/Windows request-projection alarms without replacement. The direct nonempty grant selector remains unchanged; no real grant-server/file authorization, SSH/HTML delivery or native-focus result is claimed. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2043: Remove the registration-wait, webview-security, preview-authorization, guest-lifecycle and grant-IPC unit suites and the sibling-directory assertion reference. Runtime and browser capability consumers also lose removed imported examples. Remaining document-policy, file-reader and grant-registry assertions do not replace those alarms. Preserve the 27 independent dated receipts at their original unchanged selectors; reduced prospective unit selectors have no fresh result or equivalent replacement claim. Historical prior account (preserved verbatim): Audit1973: Delete the browser RPC forwarding/schema/scalar suite and its prospective selector. Preserve all27 unrelated dated receipts; no actual browser operation alarm is replaced. Whole original changed dated receipts are retired, never narrowed or transferred. This metadata review claims no fresh execution, equivalent replacement, provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1925 (sources1922/1923): The complete terminal-file-link-actions suite is removed. Lose supplied local/remote menu-row inventories, browser label/order/download/reveal callback forwarding, platform-copy and source-group pinning examples. No OS reveal/download, real remote preview or browser navigation was exercised; the other real document-preview sources are not equivalent replacements. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1899 replays sealed Audit1895: workspace-doc-history.test.ts is entirely removed from its current command and testFiles. Supplied recency/dedupe/cap/title/identity examples and the10000-row getter-read budget alarm are intentionally lost. No current assertionRef or active receipt selects that file. Unrelated active receipts and all prior gap literals remain verbatim; no replacement history/index-work coverage or new browser/paired-preview gate execution is claimed. Historical coverage account before Audit1899: Audit1853 reduces LinkActionPopover.test.tsx and archives its complete 2026-09-06 mixed-selector receipt. The lost copy/open-state and Settings callback-order/omission alarms are accepted without equivalent replacement coverage. No fresh execution of this gate is credited. Audit1709 removes low-value test definitions and retires affected assertion or execution-receipt claims without equivalent replacement coverage. Per-source reviews bound retained behavior and injected/native/remote limits. Unchanged assertions and receipts keep their original scope; gates lacking current active evidence are downgraded. Historical scope before this audit: Audit1687 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1630 removes low-value Git, GitHub/GitLab and IPC projections, argument inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained cancellation, ownership, authorization, filesystem and SQLite boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1571 removes mock forwarding, capability/schema inventories, private predicates, supplied error/result replays, and filesystem-mocked persistence checks without equivalent replacement claims. Retained changed tests also exercise real local permission-file reread, registry proxy rollback/credential retirement, site display recovery, and pending sender/credential/document admission with injected Electron/UI producers. Retained network tests exercise owned stream credit/cleanup, generation and retirement fences, real loopback proxy/SOCKS bytes and file-backed binding state. SSH/WSL/paired runtime, native sessions, authority producers and storage clears remain injected; simulated relaunch uses filesystem mocks. The unchanged profile-retirement suite was statically reviewed and not rerun. No actual SSH/WSL runtime, native Chromium jar deletion, durable process restart, remote DNS or external site proof. Receipts selecting changed tests are retired and unaffected receipts remain unchanged. Historical scope before this audit: Audit1568 removes API inventories, supplied mock-value/forwarding assertions, implementation-shape tables and negative/setup cases that do not reach their intended boundary, without equivalent replacement claims. Retained changed definitions exercise owned manager lifetime/queue/refcount/clamp and real synthetic process/files/staging boundaries. Seventeen unchanged native Electron definitions across this combined audit are statically reviewed and not rerun. Changed native suites exercise local popup wire/cookie/session and clean/native process-identity behavior; known popup-admission flaws remain unfixed. Unit native/event/session/registry inputs remain injected. No actual OS focus, registry/host execution, CRX verification or durable restart proof. Receipts selecting changed tests are retired and unaffected receipts remain unchanged. Historical scope before this audit: Audit1564 retires copied cookie key recipes, mock bridge/preview forwarding and flag tables, source-spelling/script inventories and setup-only alarms without equivalent replacement coverage. Retained changed cases exercise actual scoped SQLite merge/rollback/schema refusal, owned cancellation and grant authority/canonical containment, ranged response consistency, replacement guest ownership and executed guest-script promise/DOM cleanup behavior. Session, host response, geometry/observer and transport producers remain injected where documented. One unchanged native extension definition is not rerun locally; no actual remote filesystem, native layout/focus or authentication claim. Receipts selecting modified tests are retired; unaffected exact-selector receipts remain unchanged. Historical scope before this audit: Audit1412 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1386 changes referenced sources; no new execution result validates reduced selectors. Retained unchanged receipts apply only to unchanged commands. Historical coverage: Audit1308 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): A macOS desktop host and a separate paired Electron client exercise the Explorer preview action end to end: the document renders inside the client-local orca-preview guest, the client gains exactly one browser workspace and it is the document one, the host's own page registry and tab snapshot gain nothing, the split does not take focus from the source editor, an explicit click activates the preview, and closing it with its X leaves the editor and terminal intact. Both host oracles are read in a run where an ordinary URL browser tab from the same client does arrive in them, because a host that cannot project browser pages at all would otherwise answer the absence question the same way. A second journey quits that client with a document tab open and relaunches it on the same profile, which is the restore the user's original report turned on: the same workspace row comes back blank and named by the document, renders again, and does so over a grant URL that differs from the one that was quit. The same journey pins the guest URL to the orca-preview scheme, so a regression back to file:// or to a host browser page is visible. The rewritten journey caught a live gap the old one could not see: since previews became browser pages they had no chrome to hand focus to their guest, so main refused every reported link click as coming from an unfocused guest and the one route out of a preview was dead. Main's own log answered it — registered true, grant live, focused false — after the embedder reported the anchor really taking six real presses. The pane now hands focus over when it is the reader's surface, and the journey routes. The preview's own components moved out of the editor folder into browser-pane/workspace-doc/ with this change, since a preview is a browser pane and no longer an editor one; their i18n keys keep the historical auto.components.editor.HtmlDocPreview prefix rather than dropping thirty translated strings across four locales for a tidier key path. Seven gate commands named those files by their old paths and were re-issued at the new ones, and the nine dated runs behind them were retired rather than left naming files that are no longer there, on the same principle this gate already applied twice: vitest treats a missing named file as a filter and exits 0, so such a command reports green while silently running only the half that still exists. Each retired record's finding is carried into the replacement run recorded below it, including the red half of the entry/subresource pair, which was re-measured by re-applying its mutant at the new path rather than being dropped. The fence over the page-management channels was decided channel by channel before it was built, and that decision record is: of the 23 channels that can name a page, 6 are allowed for a workspace-document page — the tool channels the reader drives, which reach it through the one authority that reads both halves of the registry — 9 refuse (download accept and cancel, devtools, certificate proceed, client page metadata publish, viewport override, WebAuthn account response, registration probe, registration repair), 3 cannot name a page at all because they take a profile or a worktree instead, and the rest are the registration and activation doors, refused on membership. What shipped is not the per-channel guard that classification implies: eleven call sites read the browsing map directly, so a guard per channel is exactly the caller-flag seam that has to be remembered at every future call site. The registry was split in two instead, which makes the classification structural — a document guest is absent from the browsing map, so every refusing channel refuses by absence rather than by a guard, and a channel added later inherits the refusal without being classified at all. Unit contracts cover grant scoping and path containment, per-owner read routing, refusal of a truncated or over-cap read, the old-server binary degradation, scheme admission on will-attach-webview, the guest navigation policy, the plan layer's local/SSH/paired/out-of-worktree routing, and the distinct sentence the reader sees for each failure reason. The paired browser-creation surfaces this gate still owns — capability rejection cleanup, canonical page identity, reconciliation rollback, close convergence — keep their existing headed and headless journeys. Linux and Windows live journeys remain gaps. A refused subresource is a notice on a rendered document rather than a failure panel, since only the entry document's failure leaves the reader with nothing; the entry document is served as text by every owner and cannot be refused for its format at all. Grants die with the renderer document that minted them, at window creation and on every reload, because the renderer holds the only record of which preview owns which grant. The mint and revoke channels answer only the trusted renderer, and a preview tab is never republished to mobile clients, which have no grant to read it with. External URLs leave the preview only via a trusted user click on an anchor while the preview is focused; script-driven navigation and popups reach nothing. The guest's navigation sinks are deny-only and route no URL at all, and the guest carries a preview-only preload, pinned by will-attach-webview and denied to every other attach path, whose capture-phase click handler reports an anchor's URL to main; main answers only a report from a preview guest with a live bound grant that is the focused contents, and only for http(s). Two earlier reader-facing records from 2026-08-26, which measured a shape where a subresource failure was filtered out and the panel still carried an unsupported-asset sentence, were retired with that shape rather than left contradicting the 10/10 runs of the command they share. Two more were retired on the same principle when the external-link design changed: a record showing that removing a recent-input gate let the unattended document open two browser tabs, and a record showing that dropping the webview's allowpopups attribute left a target=_blank press with nothing to route. Both measured machinery that no longer exists — the input gate could not tell a script's navigation from the click it followed, which is the case now recorded below, and the preload intercepts the press before Chromium considers a popup at all, so allowpopups was removed. WebRTC is fenced by the guest's IP-handling policy alone: this Chromium answers a webrtc content-security-policy directive as unrecognized and gathers candidates anyway, so the directive is deliberately absent from the served policy and a unit assertion keeps it out. A standalone Electron probe on the same version gathered 7 candidates including a STUN reflexive one without the policy and 0 with it. Two command paths this gate used to carry no longer exist, and their structured evidence was retired with them rather than left naming files that are no longer there: vitest treats a missing named file as a filter and exits 0, so such a command reports green while silently running only the half that still exists. The first is src/renderer/src/lib/file-preview-capability-cleanup.test.ts, deleted in STA-5557 when HTML previews stopped creating paired browser tabs: on 2026-08-12 its five-assertion STA-4063 oracle ran red 5/5 on scan e4c278eb52 and on main bc2e30000b, partially green 2/5 on pre-fix PR #14100, and green 5/5 on candidate 14b5877a75; the surviving half of that oracle is web-runtime-browser-capability-cleanup.test.ts, still commanded above. The second is tests/e2e/paired-remote-html-browser-focus.spec.ts, renamed in STA-5557 to paired-remote-html-preview-local-render.spec.ts because the journey no longer proves anything about browser focus: its 2026-08-12 runs established the owning-runtime routing and no-focus-steal behavior of the then-current browser-tab preview (red on main 346e59c879 and a90a18d43d, green on candidates d05217c40d and b7de9c0961, red again with only the side-preview focus or routing seam disabled), and its 2026-08-26 runs are recorded below under the current path. An adversarial pass after the journey landed found four coverage gaps rather than shipping defects, and all four are pinned here. The page url had a third door: the navigation commit wrote whatever url was reported, unfenced, and while nothing reaches it for a document page today it sat one report away from giving a document page a URL that persistence, the publish boundary and the address bar all read. The group projection was the load-bearing half of the mobile publish boundary that no test had: removing it alone left the whole suite green, because no test in it had tab groups, while the phone payload gained a group whose order and active tab named a document tab it was never sent. The focus handoff was covered only in the narrowing direction, so widening it — dropping the page-activity check, or either half of the reader-surface check — survived both suites. And the handoff itself was offered once and never again, so another app taking the front left the preview's one route out shut until the pane remounted, which is a desktop gap rather than a test-only one. The standalone capability-cleanup and browser-placement ledger suites were removed, including their mixed-version rejection, cleanup transfer, capacity and partition alarms. web-runtime-session.test.ts no longer supplies browser creation, rollback or recovery assertions. The grouped workspace-document exclusion remains; the separate no-group publication example was removed. Existing live/browser-store evidence does not establish equivalent replacement alarms. Earlier descriptions of the removed fixtures and their run results are historical. The client-owned-placement and layout-groups suites are removed. The broad mirror fixture no longer supplies preview placement/reservation/move assertions. Browser rows retain pre-response replay and real local-workspace reuse; focus intent retains response ordering and exact-leaf sibling ordering. Supplied browser-layout and placement/focus projection alarms are lost; retained evidence is narrower and not equivalent. The test-value audit retires renderer grant-release mock ledgers, direct creation/title/session-field copies, notification/onboarding calls and several placement/per-page projections. Canonical-ID rejection, document reopen/restore and preview URL fences remain; they do not prove close-to-registry revocation or replace every lost alarm. Historical execution evidence is unchanged. The test-value audit removed the direct legacy editor-preview hydration example from tabs-hydration.test.ts. Dropping legacy preview chrome while preserving the same-document ordinary editor no longer has that alarm. The surviving corrupt-id deduplication case does not cover that migration, and retained preview journeys are not equivalent replacement coverage. Historical run counts and migration mutation findings describe the earlier suite. Audit1308: src/renderer/src/components/editor/EditorPanelShell.header.test.tsx removed. Header visibility and mocked editor-surface inventory alarms disappear. No equivalent replacement coverage is claimed. Audit1312 removes low-value imported specs from aggregate test drivers; old whole-driver execution receipts are archived. Retained registrations are unchanged. No equivalent replacement coverage is claimed. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1386: src/renderer/src/lib/doc-preview-grants.test.ts reduced. Repeated-mount mint count, ordinary release/remint and failed-mint cache retry standalone alarms removed; no actual grant server/access test. No equivalent replacement coverage is claimed. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1412: src/main/browser/guest-lifecycle/manager/browser-manager-guest-policy-profile.test.ts removed. Loses workspace-document in-grant navigation/popup refusal, cleanup/re-attach, cross-registry guest authorization and browsing-map separation alarms. No equivalent browser policy coverage is claimed. No equivalent replacement coverage is claimed. Audit1421 removes browser-address-bar-suggestions.test.ts. Document suggestion title/path matching, recency merging and path-prefix ranking alarms are lost. No equivalent replacement coverage is claimed. Historical receipts remain scoped to unchanged selectors; the reduced command has no new execution result. Audit2452 removes the whole fake-effect browser-close routing suite. Active selectors and assertion references no longer select it. Its requested-worktree default close, sibling-page close and explicit missing-page typed reply alarms are intentionally retired without equivalent replacement. Prior dated receipts remain unchanged and scoped to their original sources; no fresh execution of the reduced gate, rendered browser, live remote, mobile or cross-platform validation is claimed.", + "coverageNotes": "Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. The complete mocked session-close routing suite is removed, including the explicit cross-worktree cleanup alarm. Remove its active file, command token and assertion reference; historical selectors and receipts retain their original scope. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit3342 retires the complete mobile editor/diff tab-publication projection suite: editor/diff serialization, workspace-document privacy withholding, pending/focus and capability/options projections are intentionally lost without equivalent replacement. The surviving focused selectors are unexecuted in this source composition. Six complete compound macOS receipts whose command fields select the changed source are retired verbatim as history; their other selected tests receive no promoted evidence. Other dated receipts keep their original scope; no fresh runtime/UI/mobile/mixed-version or cross-platform validation is claimed. Audit3335 retires the complete three-case browser-tabs snapshot assembly suite: canonical snapshot replay/placement/focus, local host-page adoption and unstamped host echo leaving a local page untouched alarms are intentionally lost without equivalent replacement. The surviving focused selector is unexecuted in this source composition. Unrelated dated receipts keep their original scope; no fresh runtime/network, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Audit 3301 removes the caller-chat-target precedence over host selection example from web-session-tabs-sync-focus-intent.test.ts. The snapshot-before-RPC replay and split-sibling-first exact-leaf focus cases remain unchanged and match the existing assertion reference. Preserve current selectors, assertion references, unrelated active receipts and complete archived history. These mocked state-composition survivors provide no equivalent replacement, rendered, native, network or fresh execution proof. Audit3108: doc-preview-grants.test.ts now retains only the stale grant-rejection race: a late rejected grant request must not evict a newer grant registry entry, witnessed by later revocation of grant-2. Retire stable minted-location and outside-workspace POSIX/Windows request-projection alarms without replacement. The direct nonempty grant selector remains unchanged; no real grant-server/file authorization, SSH/HTML delivery or native-focus result is claimed. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2043: Remove the registration-wait, webview-security, preview-authorization, guest-lifecycle and grant-IPC unit suites and the sibling-directory assertion reference. Runtime and browser capability consumers also lose removed imported examples. Remaining document-policy, file-reader and grant-registry assertions do not replace those alarms. Preserve the 27 independent dated receipts at their original unchanged selectors; reduced prospective unit selectors have no fresh result or equivalent replacement claim. Historical prior account (preserved verbatim): Audit1973: Delete the browser RPC forwarding/schema/scalar suite and its prospective selector. Preserve all27 unrelated dated receipts; no actual browser operation alarm is replaced. Whole original changed dated receipts are retired, never narrowed or transferred. This metadata review claims no fresh execution, equivalent replacement, provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1925 (sources1922/1923): The complete terminal-file-link-actions suite is removed. Lose supplied local/remote menu-row inventories, browser label/order/download/reveal callback forwarding, platform-copy and source-group pinning examples. No OS reveal/download, real remote preview or browser navigation was exercised; the other real document-preview sources are not equivalent replacements. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1899 replays sealed Audit1895: workspace-doc-history.test.ts is entirely removed from its current command and testFiles. Supplied recency/dedupe/cap/title/identity examples and the10000-row getter-read budget alarm are intentionally lost. No current assertionRef or active receipt selects that file. Unrelated active receipts and all prior gap literals remain verbatim; no replacement history/index-work coverage or new browser/paired-preview gate execution is claimed. Historical coverage account before Audit1899: Audit1853 reduces LinkActionPopover.test.tsx and archives its complete 2026-09-06 mixed-selector receipt. The lost copy/open-state and Settings callback-order/omission alarms are accepted without equivalent replacement coverage. No fresh execution of this gate is credited. Audit1709 removes low-value test definitions and retires affected assertion or execution-receipt claims without equivalent replacement coverage. Per-source reviews bound retained behavior and injected/native/remote limits. Unchanged assertions and receipts keep their original scope; gates lacking current active evidence are downgraded. Historical scope before this audit: Audit1687 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1630 removes low-value Git, GitHub/GitLab and IPC projections, argument inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained cancellation, ownership, authorization, filesystem and SQLite boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1571 removes mock forwarding, capability/schema inventories, private predicates, supplied error/result replays, and filesystem-mocked persistence checks without equivalent replacement claims. Retained changed tests also exercise real local permission-file reread, registry proxy rollback/credential retirement, site display recovery, and pending sender/credential/document admission with injected Electron/UI producers. Retained network tests exercise owned stream credit/cleanup, generation and retirement fences, real loopback proxy/SOCKS bytes and file-backed binding state. SSH/WSL/paired runtime, native sessions, authority producers and storage clears remain injected; simulated relaunch uses filesystem mocks. The unchanged profile-retirement suite was statically reviewed and not rerun. No actual SSH/WSL runtime, native Chromium jar deletion, durable process restart, remote DNS or external site proof. Receipts selecting changed tests are retired and unaffected receipts remain unchanged. Historical scope before this audit: Audit1568 removes API inventories, supplied mock-value/forwarding assertions, implementation-shape tables and negative/setup cases that do not reach their intended boundary, without equivalent replacement claims. Retained changed definitions exercise owned manager lifetime/queue/refcount/clamp and real synthetic process/files/staging boundaries. Seventeen unchanged native Electron definitions across this combined audit are statically reviewed and not rerun. Changed native suites exercise local popup wire/cookie/session and clean/native process-identity behavior; known popup-admission flaws remain unfixed. Unit native/event/session/registry inputs remain injected. No actual OS focus, registry/host execution, CRX verification or durable restart proof. Receipts selecting changed tests are retired and unaffected receipts remain unchanged. Historical scope before this audit: Audit1564 retires copied cookie key recipes, mock bridge/preview forwarding and flag tables, source-spelling/script inventories and setup-only alarms without equivalent replacement coverage. Retained changed cases exercise actual scoped SQLite merge/rollback/schema refusal, owned cancellation and grant authority/canonical containment, ranged response consistency, replacement guest ownership and executed guest-script promise/DOM cleanup behavior. Session, host response, geometry/observer and transport producers remain injected where documented. One unchanged native extension definition is not rerun locally; no actual remote filesystem, native layout/focus or authentication claim. Receipts selecting modified tests are retired; unaffected exact-selector receipts remain unchanged. Historical scope before this audit: Audit1412 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1386 changes referenced sources; no new execution result validates reduced selectors. Retained unchanged receipts apply only to unchanged commands. Historical coverage: Audit1308 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): A macOS desktop host and a separate paired Electron client exercise the Explorer preview action end to end: the document renders inside the client-local orca-preview guest, the client gains exactly one browser workspace and it is the document one, the host's own page registry and tab snapshot gain nothing, the split does not take focus from the source editor, an explicit click activates the preview, and closing it with its X leaves the editor and terminal intact. Both host oracles are read in a run where an ordinary URL browser tab from the same client does arrive in them, because a host that cannot project browser pages at all would otherwise answer the absence question the same way. A second journey quits that client with a document tab open and relaunches it on the same profile, which is the restore the user's original report turned on: the same workspace row comes back blank and named by the document, renders again, and does so over a grant URL that differs from the one that was quit. The same journey pins the guest URL to the orca-preview scheme, so a regression back to file:// or to a host browser page is visible. The rewritten journey caught a live gap the old one could not see: since previews became browser pages they had no chrome to hand focus to their guest, so main refused every reported link click as coming from an unfocused guest and the one route out of a preview was dead. Main's own log answered it — registered true, grant live, focused false — after the embedder reported the anchor really taking six real presses. The pane now hands focus over when it is the reader's surface, and the journey routes. The preview's own components moved out of the editor folder into browser-pane/workspace-doc/ with this change, since a preview is a browser pane and no longer an editor one; their i18n keys keep the historical auto.components.editor.HtmlDocPreview prefix rather than dropping thirty translated strings across four locales for a tidier key path. Seven gate commands named those files by their old paths and were re-issued at the new ones, and the nine dated runs behind them were retired rather than left naming files that are no longer there, on the same principle this gate already applied twice: vitest treats a missing named file as a filter and exits 0, so such a command reports green while silently running only the half that still exists. Each retired record's finding is carried into the replacement run recorded below it, including the red half of the entry/subresource pair, which was re-measured by re-applying its mutant at the new path rather than being dropped. The fence over the page-management channels was decided channel by channel before it was built, and that decision record is: of the 23 channels that can name a page, 6 are allowed for a workspace-document page — the tool channels the reader drives, which reach it through the one authority that reads both halves of the registry — 9 refuse (download accept and cancel, devtools, certificate proceed, client page metadata publish, viewport override, WebAuthn account response, registration probe, registration repair), 3 cannot name a page at all because they take a profile or a worktree instead, and the rest are the registration and activation doors, refused on membership. What shipped is not the per-channel guard that classification implies: eleven call sites read the browsing map directly, so a guard per channel is exactly the caller-flag seam that has to be remembered at every future call site. The registry was split in two instead, which makes the classification structural — a document guest is absent from the browsing map, so every refusing channel refuses by absence rather than by a guard, and a channel added later inherits the refusal without being classified at all. Unit contracts cover grant scoping and path containment, per-owner read routing, refusal of a truncated or over-cap read, the old-server binary degradation, scheme admission on will-attach-webview, the guest navigation policy, the plan layer's local/SSH/paired/out-of-worktree routing, and the distinct sentence the reader sees for each failure reason. The paired browser-creation surfaces this gate still owns — capability rejection cleanup, canonical page identity, reconciliation rollback, close convergence — keep their existing headed and headless journeys. Linux and Windows live journeys remain gaps. A refused subresource is a notice on a rendered document rather than a failure panel, since only the entry document's failure leaves the reader with nothing; the entry document is served as text by every owner and cannot be refused for its format at all. Grants die with the renderer document that minted them, at window creation and on every reload, because the renderer holds the only record of which preview owns which grant. The mint and revoke channels answer only the trusted renderer, and a preview tab is never republished to mobile clients, which have no grant to read it with. External URLs leave the preview only via a trusted user click on an anchor while the preview is focused; script-driven navigation and popups reach nothing. The guest's navigation sinks are deny-only and route no URL at all, and the guest carries a preview-only preload, pinned by will-attach-webview and denied to every other attach path, whose capture-phase click handler reports an anchor's URL to main; main answers only a report from a preview guest with a live bound grant that is the focused contents, and only for http(s). Two earlier reader-facing records from 2026-08-26, which measured a shape where a subresource failure was filtered out and the panel still carried an unsupported-asset sentence, were retired with that shape rather than left contradicting the 10/10 runs of the command they share. Two more were retired on the same principle when the external-link design changed: a record showing that removing a recent-input gate let the unattended document open two browser tabs, and a record showing that dropping the webview's allowpopups attribute left a target=_blank press with nothing to route. Both measured machinery that no longer exists — the input gate could not tell a script's navigation from the click it followed, which is the case now recorded below, and the preload intercepts the press before Chromium considers a popup at all, so allowpopups was removed. WebRTC is fenced by the guest's IP-handling policy alone: this Chromium answers a webrtc content-security-policy directive as unrecognized and gathers candidates anyway, so the directive is deliberately absent from the served policy and a unit assertion keeps it out. A standalone Electron probe on the same version gathered 7 candidates including a STUN reflexive one without the policy and 0 with it. Two command paths this gate used to carry no longer exist, and their structured evidence was retired with them rather than left naming files that are no longer there: vitest treats a missing named file as a filter and exits 0, so such a command reports green while silently running only the half that still exists. The first is src/renderer/src/lib/file-preview-capability-cleanup.test.ts, deleted in STA-5557 when HTML previews stopped creating paired browser tabs: on 2026-08-12 its five-assertion STA-4063 oracle ran red 5/5 on scan e4c278eb52 and on main bc2e30000b, partially green 2/5 on pre-fix PR #14100, and green 5/5 on candidate 14b5877a75; the surviving half of that oracle is web-runtime-browser-capability-cleanup.test.ts, still commanded above. The second is tests/e2e/paired-remote-html-browser-focus.spec.ts, renamed in STA-5557 to paired-remote-html-preview-local-render.spec.ts because the journey no longer proves anything about browser focus: its 2026-08-12 runs established the owning-runtime routing and no-focus-steal behavior of the then-current browser-tab preview (red on main 346e59c879 and a90a18d43d, green on candidates d05217c40d and b7de9c0961, red again with only the side-preview focus or routing seam disabled), and its 2026-08-26 runs are recorded below under the current path. An adversarial pass after the journey landed found four coverage gaps rather than shipping defects, and all four are pinned here. The page url had a third door: the navigation commit wrote whatever url was reported, unfenced, and while nothing reaches it for a document page today it sat one report away from giving a document page a URL that persistence, the publish boundary and the address bar all read. The group projection was the load-bearing half of the mobile publish boundary that no test had: removing it alone left the whole suite green, because no test in it had tab groups, while the phone payload gained a group whose order and active tab named a document tab it was never sent. The focus handoff was covered only in the narrowing direction, so widening it — dropping the page-activity check, or either half of the reader-surface check — survived both suites. And the handoff itself was offered once and never again, so another app taking the front left the preview's one route out shut until the pane remounted, which is a desktop gap rather than a test-only one. The standalone capability-cleanup and browser-placement ledger suites were removed, including their mixed-version rejection, cleanup transfer, capacity and partition alarms. web-runtime-session.test.ts no longer supplies browser creation, rollback or recovery assertions. The grouped workspace-document exclusion remains; the separate no-group publication example was removed. Existing live/browser-store evidence does not establish equivalent replacement alarms. Earlier descriptions of the removed fixtures and their run results are historical. The client-owned-placement and layout-groups suites are removed. The broad mirror fixture no longer supplies preview placement/reservation/move assertions. Browser rows retain pre-response replay and real local-workspace reuse; focus intent retains response ordering and exact-leaf sibling ordering. Supplied browser-layout and placement/focus projection alarms are lost; retained evidence is narrower and not equivalent. The test-value audit retires renderer grant-release mock ledgers, direct creation/title/session-field copies, notification/onboarding calls and several placement/per-page projections. Canonical-ID rejection, document reopen/restore and preview URL fences remain; they do not prove close-to-registry revocation or replace every lost alarm. Historical execution evidence is unchanged. The test-value audit removed the direct legacy editor-preview hydration example from tabs-hydration.test.ts. Dropping legacy preview chrome while preserving the same-document ordinary editor no longer has that alarm. The surviving corrupt-id deduplication case does not cover that migration, and retained preview journeys are not equivalent replacement coverage. Historical run counts and migration mutation findings describe the earlier suite. Audit1308: src/renderer/src/components/editor/EditorPanelShell.header.test.tsx removed. Header visibility and mocked editor-surface inventory alarms disappear. No equivalent replacement coverage is claimed. Audit1312 removes low-value imported specs from aggregate test drivers; old whole-driver execution receipts are archived. Retained registrations are unchanged. No equivalent replacement coverage is claimed. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1386: src/renderer/src/lib/doc-preview-grants.test.ts reduced. Repeated-mount mint count, ordinary release/remint and failed-mint cache retry standalone alarms removed; no actual grant server/access test. No equivalent replacement coverage is claimed. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1412: src/main/browser/guest-lifecycle/manager/browser-manager-guest-policy-profile.test.ts removed. Loses workspace-document in-grant navigation/popup refusal, cleanup/re-attach, cross-registry guest authorization and browsing-map separation alarms. No equivalent browser policy coverage is claimed. No equivalent replacement coverage is claimed. Audit1421 removes browser-address-bar-suggestions.test.ts. Document suggestion title/path matching, recency merging and path-prefix ranking alarms are lost. No equivalent replacement coverage is claimed. Historical receipts remain scoped to unchanged selectors; the reduced command has no new execution result. Audit2452 removes the whole fake-effect browser-close routing suite. Active selectors and assertion references no longer select it. Its requested-worktree default close, sibling-page close and explicit missing-page typed reply alarms are intentionally retired without equivalent replacement. Prior dated receipts remain unchanged and scoped to their original sources; no fresh execution of the reduced gate, rendered browser, live remote, mobile or cross-platform validation is claimed.", "motivatingLinks": [ "https://linear.app/stably/issue/STA-5557/remote-html-preview-render-workspace-files-locally-over-the-file", "https://linear.app/stably/issue/STA-3872/unable-to-open-html-files-in-remote-server", @@ -4452,35 +4340,34 @@ "https://github.com/stablyai/orca/pull/13876" ], "invariant": "Opening one HTML preview from a paired client renders the workspace document in exactly one client-local browser tab, located by that document and served over the orca-preview scheme. The client gains exactly that one browser workspace and it is the document one — blank where a URL page carries a URL, named by the document, with the chip naming the file — while the host gains no browser page at all, neither in its own page registry nor in the tab snapshot its clients publish into. The preview occupies its own split without taking focus from the source editor; an explicit click activates it, and closing it removes only the preview. Following a document from a file link is the other half of that switch and does move the reader to it, tab group included, whether the preview is new or already open, because opening a file is a request to look at it. A document tab quit with the client comes back as the same row on a grant the relaunched client mints afresh. A preview is named by the browser page it is open in, not by a namespace of its own, and the page registry has two halves: a workspace-document guest is registered in its own map and is absent from the browsing one entirely. That absence is the fence. Page, session and profile management, agent tab enumeration and command targeting, download routing and certificate attribution all read the browsing map directly, in more places than a per-channel guard could be remembered in, so none of them can name a document page and none of them carries a guard. Browser tools the reader drives (element grab, hover describe, selection capture, the annotation viewport bridge) are the one operation that legitimately spans the halves, and they go through the single authority that reads both, keyed by the page and its hosting renderer. The halves are disjoint in both directions: browsing registration refuses a page the document half already holds, and minting a grant refuses a page the browsing half already holds, so one id can never name a surface in both. The headless backend acts on that refusal by destroying the window it had already opened rather than leaving a policy-less page behind an id nothing can drive, keeping nothing under that id for its own shutdown to hand back. Registration refuses on the same terms when the guest it was asked about is already gone. The exit door is guarded in both its halves: a preview withdraws by revoking its grant and never through the unregister channel, so a page the document half holds arriving there is refused before either the registration teardown or the grab-state disposal beside it, which would otherwise drop the intent an in-flight preview grab compares by identity and leave that grab answering ok without ever arming its guest. A bridge request whose guest does not resolve is refused without tearing down the page it named, so a misaddressed request cannot cancel a healthy page's in-flight downloads and grabs. The annotation viewport bridge resolves its guest when its serialized op actually runs rather than when the request arrived, so a cross-process navigation while it waited cannot leave the bridge installed in a retired guest while the reader looks at a new one. State main keys by a preview's page is disposed when that page's grant is revoked, which is the only signal a preview's surface is gone. A tool asking for a page whose guest has not attached yet waits for that registration and arms when it arrives, rather than answering not-ready at the reader; that wait resolves only the request already naming this page, never the worktree-wide or any-tab waits the CLI and agents use to ask for a browser tab to drive. Handing the previewed document to the reader's own machine routes on the owners its grant was minted against — the file's own connection owner and the worktree's own runtime owner, neither read from the tab's stored fields. Only a document proven to live on this machine reaches the client OS; one with a resolved remote owner is downloaded first; and one whose owner cannot be resolved at all, workspace root included, is refused with a message naming that, because the download route would otherwise read the same absolute path on the client and hand back a same-named local file under the remote document's name. A runtime-owned path that falls outside its worktree root is refused by that route itself and surfaces as a failure toast rather than a download. Nothing the document does writes a file to this machine either: the preview partition denies downloads outright instead of routing them through the browser download flow, which has no page to attribute a preview's bytes to and would otherwise reserve a name in this desktop's Downloads folder and write them there unprompted. That refusal is visible to the reader and invisible to the document: the preview's shell carries a fixed sentence saying downloads are off, published at most once per preview per interval so a document asking in a loop cannot fill Orca's chrome, while the page itself gets back exactly what it got before, which is nothing. The sentence names no file, because the document chooses the name it offers; and a refusal never takes the document away the way an entry document's own failure does, whatever it names. A preview is a browser tab, not an editor tab in a preview mode: it is named the way a browser tab is named — by the document it shows when that document declares a title, and by the file it shows when it does not — while the chip goes on naming the file and the host whatever the document calls itself. A title is refused on the same terms the url is: a document that declares none has Chromium report the grant URL as its title, and that title is stored, mirrored onto the tab and written to disk, so anything carrying the scheme falls back to the file instead. It is created by the preview action as a page located by its document, it carries the workspace-relative path copy the editor's path header owned, and closing it revokes the grant that made the document readable while a URL tab closing beside it revokes nothing. Chrome persisted by builds that made previews editor tabs is dropped on restore rather than coming back naming a surface no restore can produce, and the ordinary editor tab for the same document is left alone. A document tab is held back at the mobile publish boundary — no client holds its grant, and the wire has no tab kind for it — while an ordinary browser tab beside it still publishes. It is held back from the group projection that publishes tab order, recency and group activity as well as from the tab list itself, so no published group names a tab the phone is never sent. A browser page can be located by a workspace document instead of a URL, and the document is the whole of its stored identity. The grant and the orca-preview URL that document is served over are minted when the page mounts and replaced by a hard reload, so neither is ever written to the page's url, mirrored onto its tab, persisted or published: such a page's url is the blank URL from creation through restore, including when a session written elsewhere carries a grant URL in, and what the session carries is the worktree and path a restored page mints afresh against today's owners. Every door onto a page's url holds that line — creation, the title update, and the navigation commit alike — so a report about a document page cannot give it a URL it never had, and the title fallback and the loading affordance follow the url each door actually wrote. The mirror carries the document too, so a tab entry cannot go on naming a document its active page has left. Every guest in the app is policy-attached through one door: a workspace document takes a restricted profile there rather than a separate installer beside it, so the attachment bookkeeping that door owns — what registration refuses, and what teardown frees — covers a preview on the same terms as a browsing page, and a preview takes none of the browsing machinery that door installs. That authority answers from the moment the embedder hands the guest over rather than only after a later navigation: the guest binds to the grant it is already showing, so the tools reach the document the reader opened and not just one they navigated to. A read the host reports as truncated or over-cap is refused rather than served partially, and a document outside the paired worktree is refused with a message naming that boundary instead of a bare read failure. The rendered document reaches nothing off-machine on its own: every served response carries a self-only content security policy, the preview session cancels any request that is not in-document, subframes cannot navigate outside the grant, a guest no document has yet bound to a grant may not navigate at all, the guest gathers no ICE candidates, and an SSH path that canonicalizes outside the grant root is refused before it is read. The one route out is a link the reader presses: a trusted click on an anchor, reported by the preview's own preload from a guest still bound to a live grant, leaves through the configured browser destination and captured source route — and only after the reader confirms the exact destination URL, so a document cannot spend a single stray press exfiltrating what it can read into a link it authored. The preview hands its guest that focus itself whenever it is the surface the reader is in — a browsing page gets it from the chrome around it, and a preview has no chrome to get it from — and it does so only then, so a preview mounted behind a terminal or an editor never takes the keyboard from what the reader is actually in. It offers again when the window itself takes focus back and nothing in the embedder has claimed that focus, because another app coming to the front lands focus on the embedder rather than the guest and the route out would otherwise stay shut until something remounted the pane — while the same window focus also arrives when the reader presses a tab, that being the guest's own blur returning, and taking focus back from there would fight the reader for their own click. Nothing else does. A navigation or popup the document starts by itself is swallowed whatever else is happening, including immediately after a genuine press elsewhere in the document, so a page that can read its grant cannot hand it to a browser tab; a middle click opens nothing; and a fragment link is answered inside the document. A preview attach carries the preview preload and no renderer-supplied one, and no other attach path can acquire it. A subresource the workspace will not send degrades the document to a notice naming that file, never to a failure panel over a page that rendered. A grant outlives neither the tab that owns it nor the renderer document that minted it, and only the trusted renderer can mint or revoke one. For the browser creations this gate still owns, owner-pinned creation returns the canonical host page identity before navigation readiness; delayed navigation cannot turn a created page into an unidentifiable failure or a duplicate retry. Capability rejection before host mutation must preserve the original error, issue no RPC, surface a failure toast, and remove only a caller-declared newly-created empty split. Post-create reconciliation failure requires exact rollback; ambiguous rollback rejects without local fallback.", - "oracle": "Audit3108: doc-preview-grants.test.ts now retains only the stale grant-rejection race: a late rejected grant request must not evict a newer grant registry entry, witnessed by later revocation of grant-2. Retire stable minted-location and outside-workspace POSIX/Windows request-projection alarms without replacement. The direct nonempty grant selector remains unchanged; no real grant-server/file authorization, SSH/HTML delivery or native-focus result is claimed. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2043: Remove the registration-wait, webview-security, preview-authorization, guest-lifecycle and grant-IPC unit suites and the sibling-directory assertion reference. Runtime and browser capability consumers also lose removed imported examples. Remaining document-policy, file-reader and grant-registry assertions do not replace those alarms. Preserve the 27 independent dated receipts at their original unchanged selectors; reduced prospective unit selectors have no fresh result or equivalent replacement claim. Historical prior account (preserved verbatim): Audit1973: Delete the browser RPC forwarding/schema/scalar suite and its prospective selector. Preserve all27 unrelated dated receipts; no actual browser operation alarm is replaced. Whole original changed dated receipts are retired, never narrowed or transferred. This metadata review claims no fresh execution, equivalent replacement, provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1925 (sources1922/1923): The complete terminal-file-link-actions suite is removed. Lose supplied local/remote menu-row inventories, browser label/order/download/reveal callback forwarding, platform-copy and source-group pinning examples. No OS reveal/download, real remote preview or browser navigation was exercised; the other real document-preview sources are not equivalent replacements. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1709 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1687 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1421 narrows renderer unit coverage as recorded in coverageNotes. Prior oracle descriptions are historical for the changed suite. The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Retained unchanged-selector receipts are the only current execution evidence. Reduced-source assertions await validation. Historical prior oracle: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): In paired Electron, write an HTML fixture that declares its own title on the host, invoke the Explorer preview action on the client, and require the document text to be readable out of the orca-preview guest before judging any absence. With that presence established, require the client to hold exactly one browser workspace more than its baseline and that workspace to be the document one: page and tab url blank, the document path mirrored onto both, the tab named by the document's title, the chip naming the file, no editor row of the retired preview species anywhere, and the guest URL carrying the orca-preview scheme. Ask the host through its own page registry as well as through the tab snapshot, and in the same run open an ordinary URL browser tab from the same client and require that one to arrive in both — the presence precondition without which “the host gained nothing” is satisfied just as well by an oracle that cannot see browser pages at all. Require the preview to sit in a group other than the source editor's while the active group and tab remain the source editor's. Then click away to the terminal, click the preview tab, require it to reactivate and still render, close it with its own X, and require the document tab to be gone while the host still holds only the URL tab and the source group, source editor and terminal survive. Quit the client with a document tab open and relaunch it on the same profile: require the same workspace row to come back, blank and named by the document, rendering the document again over a grant URL that differs from the one that was quit, with no preview-scheme or document-named page anywhere in what the host holds. Prove the halves are live by flipping one product property at a time and requiring the run to fail: publish document workspaces to the host like ordinary ones, and stop mirroring the document onto the workspace row. Have the fixture document attempt its own egress on every load — an unattended window.open and location.href to an off-machine URL, plus an inline ICE gathering probe — and require the same baseline counts and a candidate count of zero, so the document's own attempts are measured rather than assumed. Then, as a separate phase after the close oracle has already run, bring the client window to the front, press the document's heading with a real mouse event, and require the document to report that the same press drove it to attempt a second window.open and location.href while both browser counts stay at that phase's baseline and nothing routes — the case a recent-input gate cannot distinguish from the press's own effect. Only then press the target=_blank link with a real mouse event and require both a recorded routing call that returned success and a browser count above that baseline, with the preview tab still open. Drive the preload's click policy as a unit oracle over a real document: a dispatched click, a trusted press on an external anchor, an anchor reached through what it wraps, an SVG animated href, a sibling preview link, fragment and percent-encoded fragment targets, a bare hash, and a middle click. Create a browser page located by a workspace document, handing creation a live grant URL, and require its stored url, its mirrored tab url and the written session payload all to be blank with no orca-preview string anywhere in what was written, while an ordinary page created the same way keeps the URL it was given and asks for the address bar the document page never does. Parse the written page and tab through the session schema and require the document to survive both halves. Hydrate them back and require the document page to return blank and still named — including when its page row was salvaged away and only the tab's own copy remains, and when a foreign session carried a grant URL into both rows. Drive the mirror across a page switch out of the document and back, and across a repair in which the document is the only mirrored field that differs. Name a document page from its document and require the tab to take that name, name it with an empty title and require the file, name it with a live grant URL and require the file again with no preview scheme anywhere in the written session, and require an ordinary blank browser tab beside it to still be called New Tab. Dispatch a title update out of a rendered preview's own guest and require it to reach the page state while the identity chip still reads the document's workspace-relative path. Attach a browsing guest and a workspace-document guest through the same method in one run and require the browsing one to take clicked-link routing, popup handling and auth-identity detach tracking while the document guest takes none of them, stays inside the grant it is showing, denies every window it asks for, and is dropped from the page-keyed document registry by the same teardown that frees its id for a later attach. Register a browsing guest and attach a workspace-document guest in one run against the real manager, require the one door to answer each page with the guest of its own half, and require the document page to be absent from the browsing map and from its enumeration. Drive both browsing registration entry points with a page the document half already holds and require them to register nothing, and drive the mint channel with a page the browsing half already holds and require it to refuse; and drive the offscreen one with a guest that is missing and with one already destroyed, requiring the same refusal. Arm a grab on a live preview target, drive the unregister channel at that same target in the window before the queued operation runs, and require the grab to reach the guest anyway — then drive the same sequence for an ordinary browser page and require its grab state to be disposed after all. Hold one viewport-bridge op open, queue a second behind it, swap the page's guest while that second op waits, and require the injection to land in the guest the page has then. Revoke a grant after a tool has run against its page and require that page's grab state to be cancelled and disposed. Ask a tool for a document page whose guest has not attached, require the request to park in the registration wait, attach the guest, and require the same request to arm on it; require a page nothing ever renders to answer not-ready once that wait elapses. With a document open, ask a tool for a browsing page id and require it to be answered by the browsing half or not at all, with the same channel reaching the document guest under the page it really renders. Drive open-externally for a document whose per-file owner is remote while the workspace-scoped owner is unresolved, for a runtime-owned worktree whose preview tab carries no runtime id of its own, and for a worktree that resolves no runtime owner while the tab still carries one, requiring the download route in each; and for an owner that cannot be resolved at all, and for an unknown workspace root while nothing names another host, requiring a refusal that neither opens nor downloads. Drive the headless backend with a page the document half already holds and require it to reject, destroy the window, and unregister nothing — then shut the backend down and require it still to have unregistered nothing. Navigate a bound preview guest at a second grant through both latch events and require it to stay on the grant it bound to. Mount a preview while a renderer drag is already in flight and require its guest to be click-through at the moment it is appended, not a turn later. Render the editor panel shell in each remaining tab mode and require the path header exactly where the surface does not already name itself. Drive the preview action and require a browser tab located by the document rather than an editor tab, require a second open of the same document to activate the tab it is already in, and require closing that tab to revoke its grant while a URL tab closed beside it revokes none. Publish a worktree holding a document tab and a URL tab and require only the URL tab to reach the mobile snapshot. Install the shared partition policies for a preview partition and for an ordinary browsing partition in the same run, fire each one's own will-download listener, and require the preview's to cancel while the browsing one still reaches the download router — then require the preview protocol installer to be what asks for that deny. In the same run, require the cancelled download to raise a reader-facing notice and the routed one to raise none. require the guest registry to name the bound grant for a live preview guest and nothing for a contents that is not one, has committed no document, or is gone. Drive the shell with a refusal and require one fixed sentence, still one row after three more refusals, standing beside an asset failure rather than being counted with it, gone behind the failure panel, and ignored when it names another preview's grant. Drive the main-side report gate directly for a sender that is no preview guest, a guest with no bound or a revoked grant, a genuine press Electron's webview focus flag misreports as unfocused, and non-web URLs; drive the reader-facing confirmation for accept, cancel, and a confirmed tab the browser refuses; and drive will-attach-webview in both preload directions. Run the per-owner reader, grant-containment, scheme-admission, guest-policy, and plan-routing contracts as unit oracles, including a host-reported truncation, an over-cap binary, and an out-of-worktree paired path. Drive the reader-facing component with the payloads the reader can actually produce — the entry document fails only as truncated or unreadable, a subresource additionally as a refused format — and require the asset case to leave the guest mounted. Drive the closed-tab cleanup hook, the window installer, and the grant IPC handlers directly, requiring the grant to be released when the preview tab closes, cleared at window creation and on a cross-document main-frame navigation, and refused to any sender that is not the trusted renderer. For the browser creations this gate still owns, run the unchanged contract oracle for direct create and side-preview callers with absent status, unknown capabilities, and a mixed-version host, requiring the original unsupported error or visible toast, zero RPCs, and no retained new split; hold a real navigation response beyond the 15-second client deadline after host creation and require the first RPC to return the exact host inventory page ID, one host page, and no retry; repeat reconciliation faults against headless serve and retain the separate exact-page reconciliation rollback oracle. Audit2452 removes the whole fake-effect browser-close routing suite. Active selectors and assertion references no longer select it. Its requested-worktree default close, sibling-page close and explicit missing-page typed reply alarms are intentionally retired without equivalent replacement. Prior dated receipts remain unchanged and scoped to their original sources; no fresh execution of the reduced gate, rendered browser, live remote, mobile or cross-platform validation is claimed.", + "oracle": "Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. The complete mocked session-close routing suite is removed, including the explicit cross-worktree cleanup alarm. Remove its active file, command token and assertion reference; historical selectors and receipts retain their original scope. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit3342 retires the complete mobile editor/diff tab-publication projection suite: editor/diff serialization, workspace-document privacy withholding, pending/focus and capability/options projections are intentionally lost without equivalent replacement. The surviving focused selectors are unexecuted in this source composition. Six complete compound macOS receipts whose command fields select the changed source are retired verbatim as history; their other selected tests receive no promoted evidence. Other dated receipts keep their original scope; no fresh runtime/UI/mobile/mixed-version or cross-platform validation is claimed. Audit3335 retires the complete three-case browser-tabs snapshot assembly suite: canonical snapshot replay/placement/focus, local host-page adoption and unstamped host echo leaving a local page untouched alarms are intentionally lost without equivalent replacement. The surviving focused selector is unexecuted in this source composition. Unrelated dated receipts keep their original scope; no fresh runtime/network, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Audit 3301 removes the caller-chat-target precedence over host selection example from web-session-tabs-sync-focus-intent.test.ts. The snapshot-before-RPC replay and split-sibling-first exact-leaf focus cases remain unchanged and match the existing assertion reference. Preserve current selectors, assertion references, unrelated active receipts and complete archived history. These mocked state-composition survivors provide no equivalent replacement, rendered, native, network or fresh execution proof. Audit3108: doc-preview-grants.test.ts now retains only the stale grant-rejection race: a late rejected grant request must not evict a newer grant registry entry, witnessed by later revocation of grant-2. Retire stable minted-location and outside-workspace POSIX/Windows request-projection alarms without replacement. The direct nonempty grant selector remains unchanged; no real grant-server/file authorization, SSH/HTML delivery or native-focus result is claimed. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2043: Remove the registration-wait, webview-security, preview-authorization, guest-lifecycle and grant-IPC unit suites and the sibling-directory assertion reference. Runtime and browser capability consumers also lose removed imported examples. Remaining document-policy, file-reader and grant-registry assertions do not replace those alarms. Preserve the 27 independent dated receipts at their original unchanged selectors; reduced prospective unit selectors have no fresh result or equivalent replacement claim. Historical prior account (preserved verbatim): Audit1973: Delete the browser RPC forwarding/schema/scalar suite and its prospective selector. Preserve all27 unrelated dated receipts; no actual browser operation alarm is replaced. Whole original changed dated receipts are retired, never narrowed or transferred. This metadata review claims no fresh execution, equivalent replacement, provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1925 (sources1922/1923): The complete terminal-file-link-actions suite is removed. Lose supplied local/remote menu-row inventories, browser label/order/download/reveal callback forwarding, platform-copy and source-group pinning examples. No OS reveal/download, real remote preview or browser navigation was exercised; the other real document-preview sources are not equivalent replacements. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1709 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1687 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1421 narrows renderer unit coverage as recorded in coverageNotes. Prior oracle descriptions are historical for the changed suite. The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Retained unchanged-selector receipts are the only current execution evidence. Reduced-source assertions await validation. Historical prior oracle: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): In paired Electron, write an HTML fixture that declares its own title on the host, invoke the Explorer preview action on the client, and require the document text to be readable out of the orca-preview guest before judging any absence. With that presence established, require the client to hold exactly one browser workspace more than its baseline and that workspace to be the document one: page and tab url blank, the document path mirrored onto both, the tab named by the document's title, the chip naming the file, no editor row of the retired preview species anywhere, and the guest URL carrying the orca-preview scheme. Ask the host through its own page registry as well as through the tab snapshot, and in the same run open an ordinary URL browser tab from the same client and require that one to arrive in both — the presence precondition without which “the host gained nothing” is satisfied just as well by an oracle that cannot see browser pages at all. Require the preview to sit in a group other than the source editor's while the active group and tab remain the source editor's. Then click away to the terminal, click the preview tab, require it to reactivate and still render, close it with its own X, and require the document tab to be gone while the host still holds only the URL tab and the source group, source editor and terminal survive. Quit the client with a document tab open and relaunch it on the same profile: require the same workspace row to come back, blank and named by the document, rendering the document again over a grant URL that differs from the one that was quit, with no preview-scheme or document-named page anywhere in what the host holds. Prove the halves are live by flipping one product property at a time and requiring the run to fail: publish document workspaces to the host like ordinary ones, and stop mirroring the document onto the workspace row. Have the fixture document attempt its own egress on every load — an unattended window.open and location.href to an off-machine URL, plus an inline ICE gathering probe — and require the same baseline counts and a candidate count of zero, so the document's own attempts are measured rather than assumed. Then, as a separate phase after the close oracle has already run, bring the client window to the front, press the document's heading with a real mouse event, and require the document to report that the same press drove it to attempt a second window.open and location.href while both browser counts stay at that phase's baseline and nothing routes — the case a recent-input gate cannot distinguish from the press's own effect. Only then press the target=_blank link with a real mouse event and require both a recorded routing call that returned success and a browser count above that baseline, with the preview tab still open. Drive the preload's click policy as a unit oracle over a real document: a dispatched click, a trusted press on an external anchor, an anchor reached through what it wraps, an SVG animated href, a sibling preview link, fragment and percent-encoded fragment targets, a bare hash, and a middle click. Create a browser page located by a workspace document, handing creation a live grant URL, and require its stored url, its mirrored tab url and the written session payload all to be blank with no orca-preview string anywhere in what was written, while an ordinary page created the same way keeps the URL it was given and asks for the address bar the document page never does. Parse the written page and tab through the session schema and require the document to survive both halves. Hydrate them back and require the document page to return blank and still named — including when its page row was salvaged away and only the tab's own copy remains, and when a foreign session carried a grant URL into both rows. Drive the mirror across a page switch out of the document and back, and across a repair in which the document is the only mirrored field that differs. Name a document page from its document and require the tab to take that name, name it with an empty title and require the file, name it with a live grant URL and require the file again with no preview scheme anywhere in the written session, and require an ordinary blank browser tab beside it to still be called New Tab. Dispatch a title update out of a rendered preview's own guest and require it to reach the page state while the identity chip still reads the document's workspace-relative path. Attach a browsing guest and a workspace-document guest through the same method in one run and require the browsing one to take clicked-link routing, popup handling and auth-identity detach tracking while the document guest takes none of them, stays inside the grant it is showing, denies every window it asks for, and is dropped from the page-keyed document registry by the same teardown that frees its id for a later attach. Register a browsing guest and attach a workspace-document guest in one run against the real manager, require the one door to answer each page with the guest of its own half, and require the document page to be absent from the browsing map and from its enumeration. Drive both browsing registration entry points with a page the document half already holds and require them to register nothing, and drive the mint channel with a page the browsing half already holds and require it to refuse; and drive the offscreen one with a guest that is missing and with one already destroyed, requiring the same refusal. Arm a grab on a live preview target, drive the unregister channel at that same target in the window before the queued operation runs, and require the grab to reach the guest anyway — then drive the same sequence for an ordinary browser page and require its grab state to be disposed after all. Hold one viewport-bridge op open, queue a second behind it, swap the page's guest while that second op waits, and require the injection to land in the guest the page has then. Revoke a grant after a tool has run against its page and require that page's grab state to be cancelled and disposed. Ask a tool for a document page whose guest has not attached, require the request to park in the registration wait, attach the guest, and require the same request to arm on it; require a page nothing ever renders to answer not-ready once that wait elapses. With a document open, ask a tool for a browsing page id and require it to be answered by the browsing half or not at all, with the same channel reaching the document guest under the page it really renders. Drive open-externally for a document whose per-file owner is remote while the workspace-scoped owner is unresolved, for a runtime-owned worktree whose preview tab carries no runtime id of its own, and for a worktree that resolves no runtime owner while the tab still carries one, requiring the download route in each; and for an owner that cannot be resolved at all, and for an unknown workspace root while nothing names another host, requiring a refusal that neither opens nor downloads. Drive the headless backend with a page the document half already holds and require it to reject, destroy the window, and unregister nothing — then shut the backend down and require it still to have unregistered nothing. Navigate a bound preview guest at a second grant through both latch events and require it to stay on the grant it bound to. Mount a preview while a renderer drag is already in flight and require its guest to be click-through at the moment it is appended, not a turn later. Render the editor panel shell in each remaining tab mode and require the path header exactly where the surface does not already name itself. Drive the preview action and require a browser tab located by the document rather than an editor tab, require a second open of the same document to activate the tab it is already in, and require closing that tab to revoke its grant while a URL tab closed beside it revokes none. Publish a worktree holding a document tab and a URL tab and require only the URL tab to reach the mobile snapshot. Install the shared partition policies for a preview partition and for an ordinary browsing partition in the same run, fire each one's own will-download listener, and require the preview's to cancel while the browsing one still reaches the download router — then require the preview protocol installer to be what asks for that deny. In the same run, require the cancelled download to raise a reader-facing notice and the routed one to raise none. require the guest registry to name the bound grant for a live preview guest and nothing for a contents that is not one, has committed no document, or is gone. Drive the shell with a refusal and require one fixed sentence, still one row after three more refusals, standing beside an asset failure rather than being counted with it, gone behind the failure panel, and ignored when it names another preview's grant. Drive the main-side report gate directly for a sender that is no preview guest, a guest with no bound or a revoked grant, a genuine press Electron's webview focus flag misreports as unfocused, and non-web URLs; drive the reader-facing confirmation for accept, cancel, and a confirmed tab the browser refuses; and drive will-attach-webview in both preload directions. Run the per-owner reader, grant-containment, scheme-admission, guest-policy, and plan-routing contracts as unit oracles, including a host-reported truncation, an over-cap binary, and an out-of-worktree paired path. Drive the reader-facing component with the payloads the reader can actually produce — the entry document fails only as truncated or unreadable, a subresource additionally as a refused format — and require the asset case to leave the guest mounted. Drive the closed-tab cleanup hook, the window installer, and the grant IPC handlers directly, requiring the grant to be released when the preview tab closes, cleared at window creation and on a cross-document main-frame navigation, and refused to any sender that is not the trusted renderer. For the browser creations this gate still owns, run the unchanged contract oracle for direct create and side-preview callers with absent status, unknown capabilities, and a mixed-version host, requiring the original unsupported error or visible toast, zero RPCs, and no retained new split; hold a real navigation response beyond the 15-second client deadline after host creation and require the first RPC to return the exact host inventory page ID, one host page, and no retry; repeat reconciliation faults against headless serve and retain the separate exact-page reconciliation rollback oracle. Audit2452 removes the whole fake-effect browser-close routing suite. Active selectors and assertion references no longer select it. Its requested-worktree default close, sibling-page close and explicit missing-page typed reply alarms are intentionally retired without equivalent replacement. Prior dated receipts remain unchanged and scoped to their original sources; no fresh execution of the reduced gate, rendered browser, live remote, mobile or cross-platform validation is claimed.", "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser/client-pages/orca-runtime-browser.test.ts src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts src/renderer/src/runtime/web-session-tabs-sync/placement/web-session-tabs-sync-browser-tabs.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser/client-pages/orca-runtime-browser.test.ts src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/document-preview/doc-preview-grant-registry.test.ts src/main/browser/document-preview/doc-preview-file-reader.test.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts src/main/browser/document-preview/doc-preview-failure-notice.test.ts src/shared/document-preview/doc-preview-scheme.test.ts src/renderer/src/lib/browser/documents/doc-preview-grants.test.ts src/renderer/src/components/browser-pane/workspace-doc/doc-preview-external-link-confirmation.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/sessions/partition-policies/browser-session-partition-policies.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/sessions/partition-policies/browser-session-partition-policies.test.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx src/shared/document-preview/doc-preview-scheme.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/guest-lifecycle/manager/viewport/browser-manager-annotation-bridge.test.ts src/shared/document-preview/doc-preview-scheme.test.ts src/renderer/src/components/browser-pane/workspace-doc/doc-preview-document-actions.test.ts src/renderer/src/components/browser-pane/workspace-doc/use-doc-preview-guest-tools.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", - "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/guest-lifecycle/manager/viewport/browser-manager-annotation-bridge.test.ts src/main/browser/backends/offscreen-browser-backend-lifecycle.test.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts src/shared/document-preview/doc-preview-scheme.test.ts src/renderer/src/components/browser-pane/workspace-doc/doc-preview-document-actions.test.ts src/renderer/src/components/browser-pane/workspace-doc/use-doc-preview-guest-tools.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/link-actions/LinkActionPopover.test.tsx src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/guest-lifecycle/manager/viewport/browser-manager-annotation-bridge.test.ts src/shared/document-preview/doc-preview-scheme.test.ts src/renderer/src/components/browser-pane/workspace-doc/use-doc-preview-guest-tools.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/guest-lifecycle/manager/viewport/browser-manager-annotation-bridge.test.ts src/main/browser/backends/offscreen-browser-backend-lifecycle.test.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts src/shared/document-preview/doc-preview-scheme.test.ts src/renderer/src/components/browser-pane/workspace-doc/use-doc-preview-guest-tools.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-page-conversion.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-conversion-publish.test.ts src/renderer/src/lib/workspace-doc-address-input.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/link-actions/LinkActionPopover.test.tsx", + "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/guest-lifecycle/manager/viewport/browser-manager-annotation-bridge.test.ts src/main/browser/backends/offscreen-browser-backend-lifecycle.test.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts src/shared/document-preview/doc-preview-scheme.test.ts src/renderer/src/components/browser-pane/workspace-doc/use-doc-preview-guest-tools.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-page-conversion.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-conversion-publish.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", "SKIP_BUILD=1 ORCA_E2E_WEB_CLIENT=1 ORCA_E2E_FORCE_HEADFUL=1 pnpm exec playwright test tests/e2e/paired-preview-address-bar-convergence.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --reporter=list", "SKIP_BUILD=1 ORCA_E2E_WEB_CLIENT=1 ORCA_E2E_FORCE_HEADFUL=1 pnpm exec playwright test tests/e2e/paired-remote-html-preview-local-render.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --reporter=line", "SKIP_BUILD=1 ORCA_E2E_WEB_CLIENT=1 ORCA_E2E_FORCE_HEADFUL=1 pnpm exec playwright test tests/e2e/paired-remote-html-preview-local-render.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --reporter=line --repeat-each=3", "npx playwright test --config tests/playwright.config.ts --project=electron-headless tests/e2e/paired-remote-html-preview-local-render.spec.ts --workers=1", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser/client-pages/orca-runtime-browser.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/browser/client-pages/orca-runtime-browser.test.ts src/renderer/src/hooks/useIpcEvents-close-routing-session-tabs.test.ts src/renderer/src/store/slices/browser/browser.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/browser/client-pages/orca-runtime-browser.test.ts src/renderer/src/store/slices/browser/browser.test.ts", "SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-browser-create-navigation-deadline.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1", "SKIP_BUILD=1 ORCA_E2E_FORCE_HEADFUL=1 ORCA_E2E_FORWARD_APP_LOGS=1 pnpm exec playwright test tests/e2e/paired-browser-creation-reconciliation-failure.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1 --reporter=line", "SKIP_BUILD=1 ORCA_E2E_FORCE_HEADFUL=1 ORCA_E2E_FORWARD_APP_LOGS=1 pnpm exec playwright test tests/e2e/paired-browser-creation-reconciliation-failure.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --reporter=line" ], "testFiles": [ "src/main/runtime/browser/client-pages/orca-runtime-browser.test.ts", - "src/renderer/src/hooks/useIpcEvents-close-routing-session-tabs.test.ts", "src/renderer/src/store/slices/browser/browser.test.ts", "src/main/browser/document-preview/doc-preview-grant-registry.test.ts", "src/main/browser/document-preview/doc-preview-file-reader.test.ts", @@ -4490,29 +4377,21 @@ "src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts", "src/main/browser/guest-lifecycle/manager/viewport/browser-manager-annotation-bridge.test.ts", "src/main/browser/backends/offscreen-browser-backend-lifecycle.test.ts", - "src/renderer/src/components/browser-pane/workspace-doc/doc-preview-document-actions.test.ts", "src/renderer/src/components/browser-pane/workspace-doc/use-doc-preview-guest-tools.test.ts", "src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", "src/shared/document-preview/doc-preview-scheme.test.ts", "src/renderer/src/lib/browser/documents/doc-preview-grants.test.ts", "src/renderer/src/components/browser-pane/workspace-doc/doc-preview-external-link-confirmation.test.ts", "src/renderer/src/components/link-actions/LinkActionPopover.test.tsx", - "src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts", "src/renderer/src/store/slices/browser/pages/browser-page-conversion.test.ts", "src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-conversion-publish.test.ts", - "src/renderer/src/lib/workspace-doc-address-input.test.ts", "tests/e2e/paired-remote-html-preview-local-render.spec.ts", "tests/e2e/paired-preview-address-bar-convergence.spec.ts", "tests/e2e/paired-browser-create-navigation-deadline.spec.ts", "tests/e2e/paired-browser-creation-reconciliation-failure.spec.ts", - "src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts", - "src/renderer/src/runtime/web-session-tabs-sync/placement/web-session-tabs-sync-browser-tabs.test.ts" + "src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts" ], "assertionRefs": [ - { - "file": "src/renderer/src/hooks/useIpcEvents-close-routing-session-tabs.test.ts", - "assertions": ["explicit cleanup cannot close a page owned by another worktree"] - }, { "file": "src/renderer/src/store/slices/browser/browser.test.ts", "assertions": [ @@ -4573,12 +4452,6 @@ "a document navigation report leaves its URL blank, its title standing and nothing loading; its session excludes preview URLs" ] }, - { - "file": "src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts", - "assertions": [ - "keeps a workspace document out of published tab groups as well as the tab list" - ] - }, { "file": "src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", "assertions": [ @@ -4602,13 +4475,6 @@ "headed and headless hosts preserve the unrelated editor and terminal without local fallback" ] }, - { - "file": "src/renderer/src/runtime/web-session-tabs-sync/placement/web-session-tabs-sync-browser-tabs.test.ts", - "assertions": [ - "replays a pre-response browser snapshot after canonical placement and focus are known", - "reuses a local browser workspace that already points at the host page" - ] - }, { "file": "src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts", "assertions": [ @@ -4618,66 +4484,6 @@ } ], "evidenceRuns": [ - { - "date": "2026-08-27", - "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/workspace-doc-page-pane.test.tsx src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", - "result": "failed", - "durationSeconds": 7, - "summary": "The adversarial pass answered the request for its own group-projection probe after this round landed, and it had measured a third observable this test was missing: the held-back group also has to leave the published layout tree, or the phone renders a split whose second pane can never hold anything. Adopted as a fourth assertion and re-run against the same sole delta, which now fails on the dangling-reference check and, with that check blinded, on the layout alone — group-left and group-right against the group-right the clean tree publishes. The two probes agreed on everything else, including that the tab list is unchanged under this mutant, which is why an assertion reading only the tab list cannot reach the site at all." - }, - { - "date": "2026-08-27", - "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/workspace-doc-page-pane.test.tsx src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", - "result": "passed", - "durationSeconds": 3, - "summary": "The adversarial pass's four coverage findings, landed and pinned: 58/58. The third url door now keeps a document page blank and names it by its document, the group projection holds a document back from published groups as well as from the tab list, the pane's focus handoff is pinned in the widening direction as well as the narrowing one, and the handoff is re-offered when the window takes focus back." - }, - { - "date": "2026-08-27", - "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/workspace-doc-page-pane.test.tsx src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", - "result": "failed", - "durationSeconds": 3, - "summary": "Three sole-delta mutants on the third url door, each failing only the new store test: committing the reported url onto a document page, dropping the document from the title normalizer there (which renames the tab New Tab, since a blank url is what that fallback reads), and marking a blank document page loading. The ordinary-page half of the same test passes under all three, so the door is pinned as a document-only refusal rather than as a door that writes nothing." - }, - { - "date": "2026-08-27", - "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/workspace-doc-page-pane.test.tsx src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", - "result": "failed", - "durationSeconds": 3, - "summary": "Two sole-delta mutants on the mobile publish boundary. Dropping the document from the group projection's browser ids fails only the new grouped test — the tab list stays correct because the per-tab guard still refuses the tab, and what breaks is a published group whose order and active tab name a tab the phone is never sent. This is the survivor the adversarial pass reported: it survives the whole suite without this test, because no other test in it has tab groups. Dropping the per-tab guard instead fails only the ungrouped test, so the two halves of the boundary are pinned separately." - }, - { - "date": "2026-08-27", - "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/workspace-doc-page-pane.test.tsx src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", - "result": "failed", - "durationSeconds": 3, - "summary": "Three sole-delta mutants widening the focus handoff, the direction the adversarial pass found uncovered: dropping the page-activity half, dropping the active-tab-type half, and dropping the active-browser-tab half each fail exactly one of the pane's refusals — the inactive page, the terminal in front, and the other browser tab respectively. The presence half of that test passes under all three, so a pane that had stopped offering focus at all would still fail rather than pass the refusals vacuously." - }, - { - "date": "2026-08-27", - "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/workspace-doc-page-pane.test.tsx src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx", - "result": "failed", - "durationSeconds": 3, - "summary": "One sole-delta mutant dropping the window-focus re-offer: the guest is focused once at mount and never again after the window comes back, which is the desktop gap behind it — another app taking the front leaves the preview's only route out shut until the pane remounts. It fails only the new re-offer test, and the refusing-preview case beside it stays green, so the re-offer is pinned as gated rather than unconditional." - }, { "date": "2026-08-27", "runner": "local", @@ -4954,7 +4760,25 @@ "D01 candidate audit retires this complete dated receipt because a named test source changes in the candidate overlay. It supplies no new execution or equivalent-coverage claim. Original receipt verbatim:\n{\n \"date\": \"2026-08-27\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.failure-message.test.tsx\",\n \"result\": \"passed\",\n \"durationSeconds\": 1.54,\n \"summary\": \"14/14 on the reader-facing failure suite at its relocated path. This and the red run below replace the 2026-08-26 pair recorded against the pre-relocation path (10/10 green, 3/10 red), re-measured today so the entry/subresource split keeps a red half rather than only a green one.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.failure-message.test.tsx\"\n }", "D01 final candidate whole-registration policy removes retired module selectors and obsolete assertion descriptions prospectively. Existing unaffected receipts retain their original scope; reduced selectors have no new execution or equivalent replacement claim. Retired named modules: [\"src/preload/doc-preview-link-interception.test.ts\",\"src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.failure-message.test.tsx\"]. Retired compound assertion refs, preserved as historical data: [{\"file\":\"src/renderer/src/components/browser-pane/workspace-doc/doc-preview-external-link-confirmation.test.ts\",\"assertions\":[\"an external preview link shows the reader its exact destination and becomes a browser tab only after confirmation\",\"a declined confirmation opens nothing, and a confirmed tab that is refused or fails outright surfaces instead of being dropped\"]}]", "Audit2452 removes the whole fake-effect browser-close routing suite. Active selectors and assertion references no longer select it. Its requested-worktree default close, sibling-page close and explicit missing-page typed reply alarms are intentionally retired without equivalent replacement. Prior dated receipts remain unchanged and scoped to their original sources; no fresh execution of the reduced gate, rendered browser, live remote, mobile or cross-platform validation is claimed. Retired assertion reference: {\"file\":\"src/renderer/src/hooks/useIpcEvents-close-routing-browser-pages.test.ts\",\"assertions\":[\"closing an absent renderer page returns browser_tab_not_found instead of an untyped failure\"]}", - "Audit3108: doc-preview-grants.test.ts now retains only the stale grant-rejection race: a late rejected grant request must not evict a newer grant registry entry, witnessed by later revocation of grant-2. Retire stable minted-location and outside-workspace POSIX/Windows request-projection alarms without replacement. The direct nonempty grant selector remains unchanged; no real grant-server/file authorization, SSH/HTML delivery or native-focus result is claimed." + "Audit3108: doc-preview-grants.test.ts now retains only the stale grant-rejection race: a late rejected grant request must not evict a newer grant registry entry, witnessed by later revocation of grant-2. Retire stable minted-location and outside-workspace POSIX/Windows request-projection alarms without replacement. The direct nonempty grant selector remains unchanged; no real grant-server/file authorization, SSH/HTML delivery or native-focus result is claimed.", + "File/document owner layout retires the complete workspace-doc-address-input unit suite because its sole mixed case asserts internal catalog-enumeration work. The current-workspace HTML-resolution alarm is lost; no equivalent replacement coverage or pass for the reduced unit selector is claimed. Historical receipts and all remaining selectors/assertions retain their original scope.", + "Module-layout wave2 intentionally retires complete prohibited owning registrations in src/renderer/src/components/browser-pane/workspace-doc/doc-preview-document-actions.test.ts. Lost alarms: A resolved remote file owner taking precedence over an unresolved workspace owner would lose its routing alarm. A project published on two hosts refusing to open an ambiguous local copy would lose its refusal alarm. An unresolved document refusing both local open and remote download, and including its path in the refusal, would lose the existing alarm. An unknown workspace root preventing an accidental local document open would lose its guard alarm. A restored document using its recorded runtime owner when the worktree resolves none would lose its existing fallback alarm. A restored tab without a recorded owner consulting the resolved worktree owner would lose its existing fallback alarm. No equivalent replacement coverage or reduced-selector pass is claimed.", + "Audit 3301 removes the caller-chat-target precedence over host selection example from web-session-tabs-sync-focus-intent.test.ts. The snapshot-before-RPC replay and split-sibling-first exact-leaf focus cases remain unchanged and match the existing assertion reference. Preserve current selectors, assertion references, unrelated active receipts and complete archived history. These mocked state-composition survivors provide no equivalent replacement, rendered, native, network or fresh execution proof.", + "Audit3335 retires the complete three-case browser-tabs snapshot assembly suite: canonical snapshot replay/placement/focus, local host-page adoption and unstamped host echo leaving a local page untouched alarms are intentionally lost without equivalent replacement. The surviving focused selector is unexecuted in this source composition. Unrelated dated receipts keep their original scope; no fresh runtime/network, rendered UI, mobile, mixed-version or cross-platform validation is claimed.", + "Audit3342 retires the complete mobile editor/diff tab-publication projection suite: editor/diff serialization, workspace-document privacy withholding, pending/focus and capability/options projections are intentionally lost without equivalent replacement. The surviving focused selectors are unexecuted in this source composition. Six complete compound macOS receipts whose command fields select the changed source are retired verbatim as history; their other selected tests receive no promoted evidence. Other dated receipts keep their original scope; no fresh runtime/UI/mobile/mixed-version or cross-platform validation is claimed.", + "Audit3342 historical original commands object, preserved verbatim; retired objects are not active evidence or replacement coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\"", + "Audit3342 historical original commands object, preserved verbatim; retired objects are not active evidence or replacement coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/link-actions/LinkActionPopover.test.tsx src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts\"", + "Audit3342 historical original testFiles object, preserved verbatim; retired objects are not active evidence or replacement coverage:\n\"src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts\"", + "Audit3342 historical original assertionRefs object, preserved verbatim; retired objects are not active evidence or replacement coverage:\n{\n \"file\": \"src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts\",\n \"assertions\": [\n \"keeps a workspace document out of published tab groups as well as the tab list\"\n ]\n }", + "Audit3342 historical original evidenceRuns object, preserved verbatim; retired objects are not active evidence or replacement coverage:\n{\n \"date\": \"2026-08-27\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/workspace-doc-page-pane.test.tsx src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"result\": \"failed\",\n \"durationSeconds\": 7,\n \"summary\": \"The adversarial pass answered the request for its own group-projection probe after this round landed, and it had measured a third observable this test was missing: the held-back group also has to leave the published layout tree, or the phone renders a split whose second pane can never hold anything. Adopted as a fourth assertion and re-run against the same sole delta, which now fails on the dangling-reference check and, with that check blinded, on the layout alone — group-left and group-right against the group-right the clean tree publishes. The two probes agreed on everything else, including that the tab list is unchanged under this mutant, which is why an assertion reading only the tab list cannot reach the site at all.\"\n }", + "Audit3342 historical original evidenceRuns object, preserved verbatim; retired objects are not active evidence or replacement coverage:\n{\n \"date\": \"2026-08-27\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/workspace-doc-page-pane.test.tsx src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"result\": \"passed\",\n \"durationSeconds\": 3,\n \"summary\": \"The adversarial pass's four coverage findings, landed and pinned: 58/58. The third url door now keeps a document page blank and names it by its document, the group projection holds a document back from published groups as well as from the tab list, the pane's focus handoff is pinned in the widening direction as well as the narrowing one, and the handoff is re-offered when the window takes focus back.\"\n }", + "Audit3342 historical original evidenceRuns object, preserved verbatim; retired objects are not active evidence or replacement coverage:\n{\n \"date\": \"2026-08-27\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/workspace-doc-page-pane.test.tsx src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"result\": \"failed\",\n \"durationSeconds\": 3,\n \"summary\": \"Three sole-delta mutants on the third url door, each failing only the new store test: committing the reported url onto a document page, dropping the document from the title normalizer there (which renames the tab New Tab, since a blank url is what that fallback reads), and marking a blank document page loading. The ordinary-page half of the same test passes under all three, so the door is pinned as a document-only refusal rather than as a door that writes nothing.\"\n }", + "Audit3342 historical original evidenceRuns object, preserved verbatim; retired objects are not active evidence or replacement coverage:\n{\n \"date\": \"2026-08-27\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/workspace-doc-page-pane.test.tsx src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"result\": \"failed\",\n \"durationSeconds\": 3,\n \"summary\": \"Two sole-delta mutants on the mobile publish boundary. Dropping the document from the group projection's browser ids fails only the new grouped test — the tab list stays correct because the per-tab guard still refuses the tab, and what breaks is a published group whose order and active tab name a tab the phone is never sent. This is the survivor the adversarial pass reported: it survives the whole suite without this test, because no other test in it has tab groups. Dropping the per-tab guard instead fails only the ungrouped test, so the two halves of the boundary are pinned separately.\"\n }", + "Audit3342 historical original evidenceRuns object, preserved verbatim; retired objects are not active evidence or replacement coverage:\n{\n \"date\": \"2026-08-27\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/workspace-doc-page-pane.test.tsx src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"result\": \"failed\",\n \"durationSeconds\": 3,\n \"summary\": \"Three sole-delta mutants widening the focus handoff, the direction the adversarial pass found uncovered: dropping the page-activity half, dropping the active-tab-type half, and dropping the active-browser-tab half each fail exactly one of the pane's refusals — the inactive page, the terminal in front, and the other browser tab respectively. The presence half of that test passes under all three, so a pane that had stopped offering focus at all would still fail rather than pass the refusals vacuously.\"\n }", + "Audit3342 historical original evidenceRuns object, preserved verbatim; retired objects are not active evidence or replacement coverage:\n{\n \"date\": \"2026-08-27\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/workspace-doc-page-pane.test.tsx src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"result\": \"failed\",\n \"durationSeconds\": 3,\n \"summary\": \"One sole-delta mutant dropping the window-focus re-offer: the guest is focused once at mount and never again after the window comes back, which is the desktop gap behind it — another app taking the front leaves the preview's only route out shut until the pane remounts. It fails only the new re-offer test, and the refusing-preview case beside it stays green, so the re-offer is pinned as gated rather than unconditional.\"\n }", + "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Original scope text is retained as the exact suffix of coverageNotes/oracle; historical evidence is unchanged.", + "Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. The complete mocked session-close routing suite is removed, including the explicit cross-worktree cleanup alarm. Remove its active file, command token and assertion reference; historical selectors and receipts retain their original scope. Earlier notes, complete dated receipts and archived gaps retain their original scopes.", + "Audit3460 historical original active selectors (verbatim JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser/client-pages/orca-runtime-browser.test.ts src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/document-preview/doc-preview-grant-registry.test.ts src/main/browser/document-preview/doc-preview-file-reader.test.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts src/main/browser/document-preview/doc-preview-failure-notice.test.ts src/shared/document-preview/doc-preview-scheme.test.ts src/renderer/src/lib/browser/documents/doc-preview-grants.test.ts src/renderer/src/components/browser-pane/workspace-doc/doc-preview-external-link-confirmation.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/sessions/partition-policies/browser-session-partition-policies.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/sessions/partition-policies/browser-session-partition-policies.test.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx src/shared/document-preview/doc-preview-scheme.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/guest-lifecycle/manager/viewport/browser-manager-annotation-bridge.test.ts src/shared/document-preview/doc-preview-scheme.test.ts src/renderer/src/components/browser-pane/workspace-doc/use-doc-preview-guest-tools.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/guest-lifecycle/manager/viewport/browser-manager-annotation-bridge.test.ts src/main/browser/backends/offscreen-browser-backend-lifecycle.test.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts src/shared/document-preview/doc-preview-scheme.test.ts src/renderer/src/components/browser-pane/workspace-doc/use-doc-preview-guest-tools.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/link-actions/LinkActionPopover.test.tsx\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/guest-lifecycle/manager/viewport/browser-manager-annotation-bridge.test.ts src/main/browser/backends/offscreen-browser-backend-lifecycle.test.ts src/main/browser/document-preview/doc-preview-guest-policy.test.ts src/shared/document-preview/doc-preview-scheme.test.ts src/renderer/src/components/browser-pane/workspace-doc/use-doc-preview-guest-tools.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/browser/pages/browser-page-conversion.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-conversion-publish.test.ts src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"SKIP_BUILD=1 ORCA_E2E_WEB_CLIENT=1 ORCA_E2E_FORCE_HEADFUL=1 pnpm exec playwright test tests/e2e/paired-preview-address-bar-convergence.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --reporter=list\",\n \"SKIP_BUILD=1 ORCA_E2E_WEB_CLIENT=1 ORCA_E2E_FORCE_HEADFUL=1 pnpm exec playwright test tests/e2e/paired-remote-html-preview-local-render.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --reporter=line\",\n \"SKIP_BUILD=1 ORCA_E2E_WEB_CLIENT=1 ORCA_E2E_FORCE_HEADFUL=1 pnpm exec playwright test tests/e2e/paired-remote-html-preview-local-render.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --reporter=line --repeat-each=3\",\n \"npx playwright test --config tests/playwright.config.ts --project=electron-headless tests/e2e/paired-remote-html-preview-local-render.spec.ts --workers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser/client-pages/orca-runtime-browser.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/browser/client-pages/orca-runtime-browser.test.ts src/renderer/src/hooks/useIpcEvents-close-routing-session-tabs.test.ts src/renderer/src/store/slices/browser/browser.test.ts\",\n \"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-browser-create-navigation-deadline.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"SKIP_BUILD=1 ORCA_E2E_FORCE_HEADFUL=1 ORCA_E2E_FORWARD_APP_LOGS=1 pnpm exec playwright test tests/e2e/paired-browser-creation-reconciliation-failure.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1 --reporter=line\",\n \"SKIP_BUILD=1 ORCA_E2E_FORCE_HEADFUL=1 ORCA_E2E_FORWARD_APP_LOGS=1 pnpm exec playwright test tests/e2e/paired-browser-creation-reconciliation-failure.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --reporter=line\"\n ]\ntestFiles: [\n \"src/main/runtime/browser/client-pages/orca-runtime-browser.test.ts\",\n \"src/renderer/src/hooks/useIpcEvents-close-routing-session-tabs.test.ts\",\n \"src/renderer/src/store/slices/browser/browser.test.ts\",\n \"src/main/browser/document-preview/doc-preview-grant-registry.test.ts\",\n \"src/main/browser/document-preview/doc-preview-file-reader.test.ts\",\n \"src/main/browser/sessions/partition-policies/browser-session-partition-policies.test.ts\",\n \"src/main/browser/document-preview/doc-preview-guest-policy.test.ts\",\n \"src/main/browser/document-preview/doc-preview-failure-notice.test.ts\",\n \"src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts\",\n \"src/main/browser/guest-lifecycle/manager/viewport/browser-manager-annotation-bridge.test.ts\",\n \"src/main/browser/backends/offscreen-browser-backend-lifecycle.test.ts\",\n \"src/renderer/src/components/browser-pane/workspace-doc/use-doc-preview-guest-tools.test.ts\",\n \"src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"src/shared/document-preview/doc-preview-scheme.test.ts\",\n \"src/renderer/src/lib/browser/documents/doc-preview-grants.test.ts\",\n \"src/renderer/src/components/browser-pane/workspace-doc/doc-preview-external-link-confirmation.test.ts\",\n \"src/renderer/src/components/link-actions/LinkActionPopover.test.tsx\",\n \"src/renderer/src/store/slices/browser/pages/browser-page-conversion.test.ts\",\n \"src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-conversion-publish.test.ts\",\n \"tests/e2e/paired-remote-html-preview-local-render.spec.ts\",\n \"tests/e2e/paired-preview-address-bar-convergence.spec.ts\",\n \"tests/e2e/paired-browser-create-navigation-deadline.spec.ts\",\n \"tests/e2e/paired-browser-creation-reconciliation-failure.spec.ts\",\n \"src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/hooks/useIpcEvents-close-routing-session-tabs.test.ts\",\n \"assertions\": [\"explicit cleanup cannot close a page owned by another worktree\"]\n },\n {\n \"file\": \"src/renderer/src/store/slices/browser/browser.test.ts\",\n \"assertions\": [\n \"a requested canonical page ID is stored on the page rather than reused as its workspace ID\",\n \"duplicate canonical page IDs are rejected before a second tab can materialize\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-remote-html-preview-local-render.spec.ts\",\n \"assertions\": [\n \"the host's HTML document renders inside the client-local orca-preview guest\",\n \"neither the client browser-workspace count nor the host browser-tab count moves off baseline\",\n \"the preview opens in its own split with mode html-preview and leaves the source editor active\",\n \"an explicit click reactivates the preview, and closing it preserves the source editor, its group, and the terminal\",\n \"the document reports having attempted both its unattended and its post-press egress, so neither absence assertion can pass on a document that never tried\",\n \"a scripted window.open and location.href driven by a real press elsewhere in the document route nothing and move no browser count\",\n \"a real target=_blank press in the rendered document routes out as an Orca browser tab while the preview stays open\"\n ]\n },\n {\n \"file\": \"src/main/browser/document-preview/doc-preview-file-reader.test.ts\",\n \"assertions\": [\n \"reads a document too large for one reply by range under the same grant\",\n \"refuses a document rewritten between ranges instead of splicing versions\",\n \"requires approval for a sibling directory before touching the runtime\"\n ]\n },\n {\n \"file\": \"src/main/browser/document-preview/doc-preview-grant-registry.test.ts\",\n \"assertions\": [\n \"keeps silent authority over a document directory strictly inside the workspace, and only there\",\n \"uses Windows semantics when authorizing a sibling directory\",\n \"keeps an approved SSH directory inside the canonical workspace boundary\"\n ]\n },\n {\n \"file\": \"src/main/browser/document-preview/doc-preview-failure-notice.test.ts\",\n \"assertions\": [\"413 and 415 map to distinct reasons and everything else stays generic\"]\n },\n {\n \"file\": \"src/main/browser/document-preview/doc-preview-guest-policy.test.ts\",\n \"assertions\": [\n \"never rebinds a bound guest onto a second grant\",\n \"leaves a re-minted preview registered when the guest it replaced tears down\"\n ]\n },\n {\n \"file\": \"src/shared/document-preview/doc-preview-scheme.test.ts\",\n \"assertions\": [\n \"malformed grant ids and unsupported schemes are refused\",\n \"undecodable percent escapes are refused\"\n ]\n },\n {\n \"file\": \"src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts\",\n \"assertions\": [\n \"a document page's url is blank in the store, in the written session and after restore\",\n \"a document navigation report leaves its URL blank, its title standing and nothing loading; its session excludes preview URLs\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx\",\n \"assertions\": [\n \"a preview that is the reader's surface hands its guest focus, and one that is not leaves focus alone\",\n \"the window taking focus back re-offers it to the guest, and re-offers nothing for a preview that was refusing\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-browser-create-navigation-deadline.spec.ts\",\n \"assertions\": [\n \"a held navigation exceeds the former create deadline while the first RPC returns the exact authoritative host page ID\",\n \"host inventory contains exactly one new page and the user retry branch is never entered\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-browser-creation-reconciliation-failure.spec.ts\",\n \"assertions\": [\n \"the exact created page exists on the host while publication is held and no browser tab materializes on the client\",\n \"a forced post-create reconciliation timeout closes the exact host page and removes only the reserved empty split\",\n \"a forced capability rejection after caller preflight shows a toast and restores exact host and client inventories\",\n \"headed and headless hosts preserve the unrelated editor and terminal without local fallback\"\n ]\n },\n {\n \"file\": \"src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts\",\n \"assertions\": [\n \"replays a snapshot that beat the RPC response and focuses the exact adopted leaf\",\n \"retains exact-leaf focus intent when a split sibling publishes first\"\n ]\n }\n ]" ], "demotionRule": "Demote if a paired HTML preview creates a browser workspace on either side, renders from anything other than the orca-preview scheme, serves a read the host reported as truncated or over-cap, serves a document without the self-only content security policy, lets the preview session carry an off-machine request, reads an SSH path that canonicalizes outside its grant root, steals focus from the source editor when it opens, removes unrelated editor or terminal state on close, hides a document that rendered because one subresource was refused, leaves a grant readable after the tab or renderer that owns it is gone, mints one for a sender that is not the trusted renderer, opens a browser tab for a navigation the document started with no one at the keyboard, or lets the guest gather an ICE candidate; or if a paired browser creation this gate still owns produces duplicate client or host identities or loses its requested split." }, @@ -4986,32 +4810,32 @@ "providers": ["local", "remote-runtime", "ssh", "wsl"], "coveredPlatforms": ["macos", "linux"], "coveredProviders": [], - "coverageNotes": "Module layout SSH policy: Retire the dynamic-forward launch argument/default inventory. The retained actual startup-cancellation entry case covers cancellation classification and termination/probe cleanup requests with supplied process/socket boundaries, not real SSH launch flags or live forwarding. Remove only the retired launch-flags assertion; unrelated dated receipts and their executed commands remain unchanged. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit1991: Remove the ordinary browser-host release/sub-cap and exact socket-close counter aliases. Retain the two actual admitted-device fairness and shared ask/browser/wait budget callbacks, which call server handlers with fake WebSockets and controlled pending RPCs. Preserve all3 unrelated dated receipts. No real browser placement or remote tunnel deployment is proved by this admission suite. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Delete the mocked browser placement mutation and projection suites and both prospective selectors. Preserve3 unrelated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1973: Remove stale production-registration and negotiated metadata aliases, compound refusal/cleanup aliases, isolated descriptor/route/memory/cleanup microcases. Retain exact negotiated command settlement, duplicate/conflict fencing, ready/replay ordering, superseded-connection cleanup, second-host refusal, ungranted target refusal, public connector redaction, revocation race and route replacement aliases within injected-port scope. Reconciliation and all3 unrelated dated receipts remain unchanged. Whole original changed dated receipts are retired, never narrowed or transferred. This metadata review claims no fresh execution, equivalent replacement, provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1918 narrows browser-host-command-ledger-capacity: intentionally loses injected per-page/global cache expiry-count ceilings and authority/command/result cloning inventory alarms. Retain valid commands/testFile and the oversized-wire pre-admission and delivery-failure outstanding-outcome assertions, backed by unchanged retained real-ledger callbacks with supplied browser delivery. These survivors are not equivalent replacement coverage for the deleted cache/cloning examples. Existing three exact unrelated tunnel/wire receipts retain their original scope; no fresh reduced-gate, real browser/provider, native/platform, soak or measured-budget result is added. Historical prior account (preserved verbatim): Audit1900 reduces ws-outbound-backpressure-queue by seven authored definitions while retaining ten. Current source19 assertions still describe distinct direct/queued aggregate admission, cooperative drain ordering and aggregate claim release. Existing commands, testFiles and all three source19 assertions remain valid and unchanged. The affected2026-11-04 Linux44tests/4files/5.58s receipt is retired whole as historical evidence. The other three unchanged-selector browser receipts retain their exact original scope. Reduced selectors have no fresh integrated, physical-device, mixed-host, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1709 removes low-value test definitions and retires affected assertion or execution-receipt claims without equivalent replacement coverage. Per-source reviews bound retained behavior and injected/native/remote limits. Unchanged assertions and receipts keep their original scope; gates lacking current active evidence are downgraded. Historical scope before this audit: Audit1687 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1686 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1571 removes mock forwarding, capability/schema inventories, private predicates, supplied error/result replays, and filesystem-mocked persistence checks without equivalent replacement claims. Retained changed tests also exercise real local permission-file reread, registry proxy rollback/credential retirement, site display recovery, and pending sender/credential/document admission with injected Electron/UI producers. Retained network tests exercise owned stream credit/cleanup, generation and retirement fences, real loopback proxy/SOCKS bytes and file-backed binding state. SSH/WSL/paired runtime, native sessions, authority producers and storage clears remain injected; simulated relaunch uses filesystem mocks. The unchanged profile-retirement suite was statically reviewed and not rerun. No actual SSH/WSL runtime, native Chromium jar deletion, durable process restart, remote DNS or external site proof. Receipts selecting changed tests are retired and unaffected receipts remain unchanged. Historical scope before this audit: Audit1563 retires mock cookie inventories, summary/flag/counter checks, historical replacement/replay narratives and setup-only alarms without equivalent replacement coverage. Retained changed cases exercise owned admission and cleanup, real staged-file lifetime, JSON/SQLite/WAL/schema compatibility, synthetic encryption and native Electron SameSite storage. Session/CDP/credential/write/renderer producers remain injected where recorded. Seven unchanged native definitions are not rerun locally; known stale registry-stub fixtures are not executable proof. Receipts selecting modified tests are retired; unaffected exact-selector receipts remain unchanged. Historical scope before this audit: Audit1559 removes mocked host/lease/reconciliation, event/flag/counter, forwarding, inventory and retry-budget alarms without equivalent replacement coverage. Retained cases establish owned promise, registry, rollback, admission and cleanup boundaries with injected Electron/renderer/host inputs; actual local sockets, file staging and Buffer collection are scoped in the PR. Receipts selecting modified tests are retired; unaffected exact-selector receipts remain historical evidence only. No live paired runtime, rendered browser/profile/TLS or device claim. Historical scope before this audit: Audit1401 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1340 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic protocol, registry, injected-socket, and loopback-listener tests cover strict framing, remote-DNS targets, exact destination-write and source-consumption credit, at most 256 streams per route with pending opens counted inside that cap, 1024 admitted opens per 10-second monotonic window, an 8 MiB per-route application-buffer ledger, shared 32 MiB browser-host and 128 MiB process ledgers across application copies, encrypted client queues, and native WebSocket bufferedAmount, bounded byte/claim/socket-source counts, a four-frame queued-drain quantum, authority epochs, exact host selection, one host per authenticated connection, four hosts per paired device, eight global browser-host polls with four per authenticated paired device, a shared ask/host ceiling that retains one quarter for waits, bounded initial and reconnect runtime_busy recovery, long-poll metering and disconnect abort, monotonic host/page/route generations without page tombstones, two-phase exact page retirement with cancellation, connection-owned cleanup, exact client revocation, stale and replaced fences, retired stream IDs, half-close and close ordering, SOCKS CONNECT, bind/close races, listener wildcard normalization, unsupported commands, unavailable routes, and raw/terminal binary-handler isolation. Page commands use a separately echoed v1 attach negotiation, exact authority/host/page generations, bounded command IDs and sequences, and bounded create/navigate payloads; legacy attaches still receive only the unchanged ready/revoked event shapes. A second optional reconciliation subprotocol gates bounded reclaim, close, and restore payloads behind exact attach/ready echo, complete inventory, command negotiation, reconnect authority, and command-result authority; the production client advertises it only with the matching command and inventory capabilities. Exact guest or app-renderer loss marks one page generation outcome-unknown, coalesces a bounded negotiated inventory reattach, closes or retires the dead generation, and allocates a fresh generation before URL restore; explicit close is not misclassified as a crash. Mixed-version mutation tests project hidden client pages before activate, close, split, reorder, and move-to-group admission, preserve hidden raw order slots, translate visible insertion indices, and project mutation snapshots. A production server orchestrator consumes each immutable inventory once, reserves target generations without exposing placement, emits only negotiated ledger commands, commits after exact completed proof, preserves unrelated and server placements, aborts an attempt when connection authority enters reconnect grace, and requires fresh inventory after failure or abort. The production client dispatcher additionally proves per-page FIFO execution, exact payload-matched duplicate replay, frozen command/result snapshots, a global retired-generation floor, transactional admission, bounded pages/active commands/queues/per-page and global result cache/concurrency, create dependency failure, cancellation, deduplicated retirement joining, and bounded close without late-result overwrite. The server ledger owns issue order and immutable command/result snapshots, bounds outstanding commands, active pages, and per-page/global replay caches, releases active-page capacity after an exact completed close while retaining bounded result replay, validates the shared wire payload before admission, requires live delivery and exact placement, authenticates results to the negotiated connection and paired lease, rejects gaps and conflicting replay, and fences outstanding outcomes at exact retirement. Negotiated command results reuse the authenticated attach socket through bounded nested JSON requests; exact ID routing, reverse-order replies, unknown and duplicate IDs, timeout teardown, serialization failure, aggregate queue accounting, acknowledgement validation, and the unchanged non-v1 path are deterministic. A stable local listener rejects CONNECT while offline or reconnecting, retains its address across replacement, requires a strictly increasing tunnel generation, ignores late superseded callbacks, propagates tunnel protocol failure to the route owner, and recycles exhausted stream IDs only after generation replacement. Reconnect uses the unchanged native v1 attach payload and capability pair; SSH descriptors alone add an execution-host capability and require a runtime-minted grant bound to the exact browser-host lease. Exact SSH provider epoch and connection generation fence ssh2 forwardOut and one non-interactive standalone system-SSH dynamic forward per route. Unit tests preserve domain-form SOCKS requests, sanitize remote errors, bound stderr, cancel startup, release timed-out and synchronously failed sockets, and release routes once. An ephemeral Docker sshd resolves a container-only domain and returns a unique HTTP marker through both ssh2 and the actual system-OpenSSH dynamic-forward adapter without touching the user's SSH files; authority loss fences the ssh2 route. The execution runtime charges route application bytes to the same per-host/process policy; its existing E2EE owner separately caps native outbound buffers process-wide. Production-registered browser-host and paired-runtime methods lease one exact host, prove attach, command delivery, and result settlement share one exact connection identity, then carry SOCKS and HTTP bytes over a dedicated E2EE socket to the fenced execution-host revision and prove route close destroys the destination socket. The production desktop adapter now composes one exact host per environment pairing revision with the page executor, current renderer selector, route Session/WebContents registries, and one reference-counted route per canonical execution-host key. Negotiated same-client control reconnect retains exact authority, placements, grants, dispatcher dedupe, executor guests, and listener addresses; it fences tunnels immediately, blocks route admission, reattaches command delivery only after ready, and replays unsettled commands without repeating completed mutations. Terminal release, replacement, legacy disconnect, and reconnect-grace expiry make only the exact host generation's client placements non-cancellable retirement-pending while retaining capacity until exact cleanup; reconnect grace preserves them. Environment replacement and app shutdown still serialize transport closure before page cleanup and force-close every remaining route. The production placement preparation starts the exact desktop adapter and advertises host/tunnel capabilities only when the paired Electron client is eligible. Node stream-internal high-water bytes, strict cross-route scheduling, and physical cross-platform evidence remain uncovered. The two Docker remote-only SSH browser routing journeys now run in the dedicated Linux ssh-browser-network-route CI job on full runs and their mapped source/test changes; 2 baseline and 6 repeated cases passed with no skips/retries on 2026-09-06. The removed retry-arithmetic and attach-request inventory suites are not current coverage; retained lease and composition suites exercise admission retry, cleanup, inventory negotiation, and reconnect behavior. Test-value audit1293 removes src/main/browser/network/tunnels/browser-network-tunnel-client-memory-budget.test.ts (4 authored cases). Their isolated assertions no longer run; surviving tests are not claimed as equivalent coverage. Fresh execution against the candidate SHA is required. Audit1302: src/main/browser/client-pages/lifecycle/browser-client-page-unavailability.test.ts: Every route/guest lifecycle/currentness/navigation/renderer/automation authority is supplied by fake callbacks, then unavailability listener is invoked manually and private inventory/mock calls are checked. No guest destruction, renderer disconnect or actual reconciliation/close consumer. Lose generation fence/reconcile-once/missing-renderer-close branch alarms; no equivalent replacement. Reduced selectors require fresh validation; prior full-suite receipts do not validate removed or changed coverage. No equivalent replacement or physical-provider claim. Audit1318: src/shared/remote-runtime/requests/remote-runtime-subscription-request.test.ts: Retain actual local encrypted WebSocket subscription concurrency routing when host replies out of order, plus an exception thrown by a real ws consumer callback being turned into a subscription error. Server is a test-shaped handshake/response producer using production crypto, not actual runtime host/auth authority or independent cryptographic oracle. Remove happy second-request duplicate, unknown/duplicate-ID branches, fixed32 capacity, serialization/capacity/timeouts and fake memory release/admission call-count scenarios; intentionally lose those alarms. Reduced selectors need fresh validation; historical full-suite receipts do not validate the changed coverage. No equivalent replacement or physical-provider claim. Audit1340: src/main/runtime/runtime-binary-message-router.test.ts removed. Connection mode conflict exceptions and one terminal/raw callback each. No equivalent replacement coverage is claimed. Audit1352: focused Linux unit selections validated on source head b638e07d395b76af3ba6b03761a1a0fe7e5e026e. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1360: focused Linux unit selections validated on source head 415c9cffc2d10024131ec4b6721767a22195de6d. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1371 removes the reconciliation protocol/capability echo inventory from browser-client-host-reconciliation.test.ts. The pending command result refusal without exact authority and later accepted acknowledgement callback remains byte-identical. The narrow negotiation echo alarm is intentionally lost; no equivalent browser/authenticated transport proof is claimed. Existing receipts with unchanged selectors retain only their original scope. Audit1401: src/main/browser/client-pages/lifecycle/browser-client-page-inventory.test.ts reduced. Loses deterministic equal-length URL compaction tie-breaking and reversed-input invariance alarm. No equivalent replacement coverage is claimed.", + "coverageNotes": "Audit3381 intentionally removes the entire browser network tunnel protocol suite and active selectors/assertion. Static envelope/dispatch protocol alarms are lost without equivalent replacement. Remaining tunnel session and stream tests have narrower scopes. All three unrelated complete dated receipts are preserved verbatim with their original selectors; no fresh execution claimed. Module layout SSH policy: Retire the dynamic-forward launch argument/default inventory. The retained actual startup-cancellation entry case covers cancellation classification and termination/probe cleanup requests with supplied process/socket boundaries, not real SSH launch flags or live forwarding. Remove only the retired launch-flags assertion; unrelated dated receipts and their executed commands remain unchanged. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit1991: Remove the ordinary browser-host release/sub-cap and exact socket-close counter aliases. Retain the two actual admitted-device fairness and shared ask/browser/wait budget callbacks, which call server handlers with fake WebSockets and controlled pending RPCs. Preserve all3 unrelated dated receipts. No real browser placement or remote tunnel deployment is proved by this admission suite. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Delete the mocked browser placement mutation and projection suites and both prospective selectors. Preserve3 unrelated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1973: Remove stale production-registration and negotiated metadata aliases, compound refusal/cleanup aliases, isolated descriptor/route/memory/cleanup microcases. Retain exact negotiated command settlement, duplicate/conflict fencing, ready/replay ordering, superseded-connection cleanup, second-host refusal, ungranted target refusal, public connector redaction, revocation race and route replacement aliases within injected-port scope. Reconciliation and all3 unrelated dated receipts remain unchanged. Whole original changed dated receipts are retired, never narrowed or transferred. This metadata review claims no fresh execution, equivalent replacement, provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1918 narrows browser-host-command-ledger-capacity: intentionally loses injected per-page/global cache expiry-count ceilings and authority/command/result cloning inventory alarms. Retain valid commands/testFile and the oversized-wire pre-admission and delivery-failure outstanding-outcome assertions, backed by unchanged retained real-ledger callbacks with supplied browser delivery. These survivors are not equivalent replacement coverage for the deleted cache/cloning examples. Existing three exact unrelated tunnel/wire receipts retain their original scope; no fresh reduced-gate, real browser/provider, native/platform, soak or measured-budget result is added. Historical prior account (preserved verbatim): Audit1900 reduces ws-outbound-backpressure-queue by seven authored definitions while retaining ten. Current source19 assertions still describe distinct direct/queued aggregate admission, cooperative drain ordering and aggregate claim release. Existing commands, testFiles and all three source19 assertions remain valid and unchanged. The affected2026-11-04 Linux44tests/4files/5.58s receipt is retired whole as historical evidence. The other three unchanged-selector browser receipts retain their exact original scope. Reduced selectors have no fresh integrated, physical-device, mixed-host, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1709 removes low-value test definitions and retires affected assertion or execution-receipt claims without equivalent replacement coverage. Per-source reviews bound retained behavior and injected/native/remote limits. Unchanged assertions and receipts keep their original scope; gates lacking current active evidence are downgraded. Historical scope before this audit: Audit1687 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1686 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1571 removes mock forwarding, capability/schema inventories, private predicates, supplied error/result replays, and filesystem-mocked persistence checks without equivalent replacement claims. Retained changed tests also exercise real local permission-file reread, registry proxy rollback/credential retirement, site display recovery, and pending sender/credential/document admission with injected Electron/UI producers. Retained network tests exercise owned stream credit/cleanup, generation and retirement fences, real loopback proxy/SOCKS bytes and file-backed binding state. SSH/WSL/paired runtime, native sessions, authority producers and storage clears remain injected; simulated relaunch uses filesystem mocks. The unchanged profile-retirement suite was statically reviewed and not rerun. No actual SSH/WSL runtime, native Chromium jar deletion, durable process restart, remote DNS or external site proof. Receipts selecting changed tests are retired and unaffected receipts remain unchanged. Historical scope before this audit: Audit1563 retires mock cookie inventories, summary/flag/counter checks, historical replacement/replay narratives and setup-only alarms without equivalent replacement coverage. Retained changed cases exercise owned admission and cleanup, real staged-file lifetime, JSON/SQLite/WAL/schema compatibility, synthetic encryption and native Electron SameSite storage. Session/CDP/credential/write/renderer producers remain injected where recorded. Seven unchanged native definitions are not rerun locally; known stale registry-stub fixtures are not executable proof. Receipts selecting modified tests are retired; unaffected exact-selector receipts remain unchanged. Historical scope before this audit: Audit1559 removes mocked host/lease/reconciliation, event/flag/counter, forwarding, inventory and retry-budget alarms without equivalent replacement coverage. Retained cases establish owned promise, registry, rollback, admission and cleanup boundaries with injected Electron/renderer/host inputs; actual local sockets, file staging and Buffer collection are scoped in the PR. Receipts selecting modified tests are retired; unaffected exact-selector receipts remain historical evidence only. No live paired runtime, rendered browser/profile/TLS or device claim. Historical scope before this audit: Audit1401 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1340 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic protocol, registry, injected-socket, and loopback-listener tests cover strict framing, remote-DNS targets, exact destination-write and source-consumption credit, at most 256 streams per route with pending opens counted inside that cap, 1024 admitted opens per 10-second monotonic window, an 8 MiB per-route application-buffer ledger, shared 32 MiB browser-host and 128 MiB process ledgers across application copies, encrypted client queues, and native WebSocket bufferedAmount, bounded byte/claim/socket-source counts, a four-frame queued-drain quantum, authority epochs, exact host selection, one host per authenticated connection, four hosts per paired device, eight global browser-host polls with four per authenticated paired device, a shared ask/host ceiling that retains one quarter for waits, bounded initial and reconnect runtime_busy recovery, long-poll metering and disconnect abort, monotonic host/page/route generations without page tombstones, two-phase exact page retirement with cancellation, connection-owned cleanup, exact client revocation, stale and replaced fences, retired stream IDs, half-close and close ordering, SOCKS CONNECT, bind/close races, listener wildcard normalization, unsupported commands, unavailable routes, and raw/terminal binary-handler isolation. Page commands use a separately echoed v1 attach negotiation, exact authority/host/page generations, bounded command IDs and sequences, and bounded create/navigate payloads; legacy attaches still receive only the unchanged ready/revoked event shapes. A second optional reconciliation subprotocol gates bounded reclaim, close, and restore payloads behind exact attach/ready echo, complete inventory, command negotiation, reconnect authority, and command-result authority; the production client advertises it only with the matching command and inventory capabilities. Exact guest or app-renderer loss marks one page generation outcome-unknown, coalesces a bounded negotiated inventory reattach, closes or retires the dead generation, and allocates a fresh generation before URL restore; explicit close is not misclassified as a crash. Mixed-version mutation tests project hidden client pages before activate, close, split, reorder, and move-to-group admission, preserve hidden raw order slots, translate visible insertion indices, and project mutation snapshots. A production server orchestrator consumes each immutable inventory once, reserves target generations without exposing placement, emits only negotiated ledger commands, commits after exact completed proof, preserves unrelated and server placements, aborts an attempt when connection authority enters reconnect grace, and requires fresh inventory after failure or abort. The production client dispatcher additionally proves per-page FIFO execution, exact payload-matched duplicate replay, frozen command/result snapshots, a global retired-generation floor, transactional admission, bounded pages/active commands/queues/per-page and global result cache/concurrency, create dependency failure, cancellation, deduplicated retirement joining, and bounded close without late-result overwrite. The server ledger owns issue order and immutable command/result snapshots, bounds outstanding commands, active pages, and per-page/global replay caches, releases active-page capacity after an exact completed close while retaining bounded result replay, validates the shared wire payload before admission, requires live delivery and exact placement, authenticates results to the negotiated connection and paired lease, rejects gaps and conflicting replay, and fences outstanding outcomes at exact retirement. Negotiated command results reuse the authenticated attach socket through bounded nested JSON requests; exact ID routing, reverse-order replies, unknown and duplicate IDs, timeout teardown, serialization failure, aggregate queue accounting, acknowledgement validation, and the unchanged non-v1 path are deterministic. A stable local listener rejects CONNECT while offline or reconnecting, retains its address across replacement, requires a strictly increasing tunnel generation, ignores late superseded callbacks, propagates tunnel protocol failure to the route owner, and recycles exhausted stream IDs only after generation replacement. Reconnect uses the unchanged native v1 attach payload and capability pair; SSH descriptors alone add an execution-host capability and require a runtime-minted grant bound to the exact browser-host lease. Exact SSH provider epoch and connection generation fence ssh2 forwardOut and one non-interactive standalone system-SSH dynamic forward per route. Unit tests preserve domain-form SOCKS requests, sanitize remote errors, bound stderr, cancel startup, release timed-out and synchronously failed sockets, and release routes once. An ephemeral Docker sshd resolves a container-only domain and returns a unique HTTP marker through both ssh2 and the actual system-OpenSSH dynamic-forward adapter without touching the user's SSH files; authority loss fences the ssh2 route. The execution runtime charges route application bytes to the same per-host/process policy; its existing E2EE owner separately caps native outbound buffers process-wide. Production-registered browser-host and paired-runtime methods lease one exact host, prove attach, command delivery, and result settlement share one exact connection identity, then carry SOCKS and HTTP bytes over a dedicated E2EE socket to the fenced execution-host revision and prove route close destroys the destination socket. The production desktop adapter now composes one exact host per environment pairing revision with the page executor, current renderer selector, route Session/WebContents registries, and one reference-counted route per canonical execution-host key. Negotiated same-client control reconnect retains exact authority, placements, grants, dispatcher dedupe, executor guests, and listener addresses; it fences tunnels immediately, blocks route admission, reattaches command delivery only after ready, and replays unsettled commands without repeating completed mutations. Terminal release, replacement, legacy disconnect, and reconnect-grace expiry make only the exact host generation's client placements non-cancellable retirement-pending while retaining capacity until exact cleanup; reconnect grace preserves them. Environment replacement and app shutdown still serialize transport closure before page cleanup and force-close every remaining route. The production placement preparation starts the exact desktop adapter and advertises host/tunnel capabilities only when the paired Electron client is eligible. Node stream-internal high-water bytes, strict cross-route scheduling, and physical cross-platform evidence remain uncovered. The two Docker remote-only SSH browser routing journeys now run in the dedicated Linux ssh-browser-network-route CI job on full runs and their mapped source/test changes; 2 baseline and 6 repeated cases passed with no skips/retries on 2026-09-06. The removed retry-arithmetic and attach-request inventory suites are not current coverage; retained lease and composition suites exercise admission retry, cleanup, inventory negotiation, and reconnect behavior. Test-value audit1293 removes src/main/browser/network/tunnels/browser-network-tunnel-client-memory-budget.test.ts (4 authored cases). Their isolated assertions no longer run; surviving tests are not claimed as equivalent coverage. Fresh execution against the candidate SHA is required. Audit1302: src/main/browser/client-pages/lifecycle/browser-client-page-unavailability.test.ts: Every route/guest lifecycle/currentness/navigation/renderer/automation authority is supplied by fake callbacks, then unavailability listener is invoked manually and private inventory/mock calls are checked. No guest destruction, renderer disconnect or actual reconciliation/close consumer. Lose generation fence/reconcile-once/missing-renderer-close branch alarms; no equivalent replacement. Reduced selectors require fresh validation; prior full-suite receipts do not validate removed or changed coverage. No equivalent replacement or physical-provider claim. Audit1318: src/shared/remote-runtime/requests/remote-runtime-subscription-request.test.ts: Retain actual local encrypted WebSocket subscription concurrency routing when host replies out of order, plus an exception thrown by a real ws consumer callback being turned into a subscription error. Server is a test-shaped handshake/response producer using production crypto, not actual runtime host/auth authority or independent cryptographic oracle. Remove happy second-request duplicate, unknown/duplicate-ID branches, fixed32 capacity, serialization/capacity/timeouts and fake memory release/admission call-count scenarios; intentionally lose those alarms. Reduced selectors need fresh validation; historical full-suite receipts do not validate the changed coverage. No equivalent replacement or physical-provider claim. Audit1340: src/main/runtime/runtime-binary-message-router.test.ts removed. Connection mode conflict exceptions and one terminal/raw callback each. No equivalent replacement coverage is claimed. Audit1352: focused Linux unit selections validated on source head b638e07d395b76af3ba6b03761a1a0fe7e5e026e. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1360: focused Linux unit selections validated on source head 415c9cffc2d10024131ec4b6721767a22195de6d. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1371 removes the reconciliation protocol/capability echo inventory from browser-client-host-reconciliation.test.ts. The pending command result refusal without exact authority and later accepted acknowledgement callback remains byte-identical. The narrow negotiation echo alarm is intentionally lost; no equivalent browser/authenticated transport proof is claimed. Existing receipts with unchanged selectors retain only their original scope. Audit1401: src/main/browser/client-pages/lifecycle/browser-client-page-inventory.test.ts reduced. Loses deterministic equal-length URL compaction tie-breaking and reversed-input invariance alarm. No equivalent replacement coverage is claimed.", "motivatingLinks": [ "https://linear.app/stably/issue/STA-4150/refactor-remote-browser-to-client-hosted-electron-webviews" ], "invariant": "A client-hosted browser network route exists only for an exact live server-owned browser-host lease, authority epoch, host generation, paired identity, execution-host revision or SSH provider authority, and server-owned route generation. A client page is usable only when its runtime ID, authority epoch, host identity and generation, logical page ID, page-host generation, current placement, and still-live lease all match atomically; a retired, retirement-pending, or server-placed page cannot be claimed as live client placement. Live logical placements and their identities are bounded, an occupied logical page cannot change placement until exact two-phase retirement completes, cancellation restores the same authority, and the runtime-wide page generation stays monotonic without tombstones. Server-issued page commands and results remain bounded, FIFO per page, immutable after admission, authenticated to the exact paired lease, attach connection, and live placement, and replayable only when byte-equivalent. Negotiated transient result-transport loss retains exact authority and replays unsettled commands through the preserved client dedupe cache; terminal authority loss makes outstanding outcomes unknown and makes only the exact host generation's placements non-cancellable retirement-pending until exact cleanup or reconciliation proof. Desktop composition installs exact command authority before delivery, keeps result settlements below nested-request capacity, suspends every tunnel without closing guests on negotiated loss, gates handlers through route recovery, and synchronously suspends routes and revokes exact retained navigation grants before asynchronous transport or handler cleanup on terminal loss. Navigation-revocation failure remains observable without preventing guest destruction and route cleanup. One environment pairing revision owns at most one composed desktop host and one reference-counted route per canonical execution-host key; pairing replacement and shutdown close control transport before pages and force-close routes even when guest cleanup remains ambiguous. Non-native descriptors require explicit capability negotiation and an exact runtime-minted lease-bound execution-host grant. Host selection never chooses arbitrarily, stale cleanup or settlement cannot remove a replacement, destination names remain unresolved until the execution host, credit returns only after writes settle, and route loss never falls back to desktop DNS or sockets. A main-owned local listener remains stable across upstream transport loss, rejects CONNECT while offline, accepts only a strictly newer tunnel generation, ignores superseded callbacks, and never reuses a stream ID within one generation. Pending opens, admitted open rate, nested control requests, per-route application bytes, aggregate browser-host/process bytes, claims, and socket sources remain bounded with exact release on settlement and retirement. Queued transport drain yields after a bounded quantum. The local SOCKS endpoint accepts only loopback CONNECT and rejects unsupported commands.", - "oracle": "Module layout SSH policy: Retire the dynamic-forward launch argument/default inventory. The retained actual startup-cancellation entry case covers cancellation classification and termination/probe cleanup requests with supplied process/socket boundaries, not real SSH launch flags or live forwarding. Remove only the retired launch-flags assertion; unrelated dated receipts and their executed commands remain unchanged. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit1991: Remove the ordinary browser-host release/sub-cap and exact socket-close counter aliases. Retain the two actual admitted-device fairness and shared ask/browser/wait budget callbacks, which call server handlers with fake WebSockets and controlled pending RPCs. Preserve all3 unrelated dated receipts. No real browser placement or remote tunnel deployment is proved by this admission suite. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Delete the mocked browser placement mutation and projection suites and both prospective selectors. Preserve3 unrelated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1973: Remove stale production-registration and negotiated metadata aliases, compound refusal/cleanup aliases, isolated descriptor/route/memory/cleanup microcases. Retain exact negotiated command settlement, duplicate/conflict fencing, ready/replay ordering, superseded-connection cleanup, second-host refusal, ungranted target refusal, public connector redaction, revocation race and route replacement aliases within injected-port scope. Reconciliation and all3 unrelated dated receipts remain unchanged. Whole original changed dated receipts are retired, never narrowed or transferred. This metadata review claims no fresh execution, equivalent replacement, provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1918 narrows browser-host-command-ledger-capacity: intentionally loses injected per-page/global cache expiry-count ceilings and authority/command/result cloning inventory alarms. Retain valid commands/testFile and the oversized-wire pre-admission and delivery-failure outstanding-outcome assertions, backed by unchanged retained real-ledger callbacks with supplied browser delivery. These survivors are not equivalent replacement coverage for the deleted cache/cloning examples. Existing three exact unrelated tunnel/wire receipts retain their original scope; no fresh reduced-gate, real browser/provider, native/platform, soak or measured-budget result is added. Historical prior account (preserved verbatim): Audit1900 reduces ws-outbound-backpressure-queue by seven authored definitions while retaining ten. Current source19 assertions still describe distinct direct/queued aggregate admission, cooperative drain ordering and aggregate claim release. Existing commands, testFiles and all three source19 assertions remain valid and unchanged. The affected2026-11-04 Linux44tests/4files/5.58s receipt is retired whole as historical evidence. The other three unchanged-selector browser receipts retain their exact original scope. Reduced selectors have no fresh integrated, physical-device, mixed-host, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1709 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1687 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1686 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Attach two browser hosts and require unqualified selection to fail ambiguous while exact selection succeeds. Reject a second identity on one connection and a fifth identity for one paired device, release one exact lease, then admit its replacement without starving another device. Admit four hosts from one authenticated device and a host from a second, reject the first device's fifth host, and release only the first device's exact counters while the second remains live. Fill asks and hosts to their shared ceiling, retain a quarter of the total budget for ordinary waits, close both sockets, and prove every global, class, and device counter releases. Reject one initial host attach with the unchanged runtime_busy response, then require bounded client-specific jitter to attach when capacity returns; repeated rejection and explicit close must release every timer and subscription. Replace one same-device connection, require the old subscription and route to fence, then prove late old cleanup leaves the new generation live. Mint an exact execution-host grant, reject a different key, prove late old grant cleanup leaves its replacement, and invalidate every grant with lease replacement. Reject client-to-client, client-to-server, server-to-server, and server-to-client placement overwrite until exact retirement. Begin retirement once idempotently, reject client use and every replacement while pending, cancel the exact token to restore the same placement, and reject delayed cancellation or completion after a newer retirement begins. On explicit release, replacement, legacy disconnect, and reconnect-grace expiry, require only the exact host generation's client placements to become non-cancellable retirement-pending before lease settlement; preserve negotiated grace, other hosts, server placements, replacements, and capacity until exact completion. Complete only the exact pending token, retain capacity until completion, and require a reused client page ID to receive a higher global generation without retaining a tombstone. Require a client page through the exact runtime, epoch, host, and page tuple; reject every mismatch, released or replaced leases, retirement-pending pages, retired pages, server placements, invalid identities, and the 257th live placement. Admit 1024 opens in one monotonic 10-second window and reject the 1025th until the window expires. Fill 8 MiB across destination-to-client queues and separately across unsettled client-to-destination writes, release one exact retired stream, admit one replacement, and require the next byte claim to close the route without stale-callback or reentrant-close underflow. Across multiple routes, charge application copies, encrypted queue entries, and dynamic native socket bytes to one 32 MiB browser-host and 128 MiB process ceiling; reject zero-byte claim/socket-source floods, fence released leases, synchronously release JavaScript queue claims while retaining native claims through exact socket close, and yield a parked queue after four frames without reordering. Route nested responses by exact ID under reordering, reject unknown and duplicate IDs, cap pending requests and queued bytes, and tear down every concurrent waiter once on timeout or close. Drive one real paired attach, command, and result through one exact connection ID; reject missing send support and malformed or wrong-runtime acknowledgements while preserving old non-v1 attaches. Drop an authenticated transport, require the same listener to reject CONNECT before and during reconnect, attach the exact existing native v1 payload and capability pair to a strictly newer generation, ignore late old callbacks, and roll an exhausted stream-ID ledger only by replacing the generation. Require SSH descriptors to add an execution-host capability and exact grant, reject missing grants and stale provider authority before resolver or binary registration, pass exact domains to ssh2 and system-SSH SOCKS without local resolution, sanitize connector diagnostics, and close every stream and standalone route process once on timeout, synchronous failure, or rotation. Drive the accepted lease through real paired E2EE native SOCKS-to-HTTP and ephemeral Docker ssh2 remote-only DNS journeys, then exercise exact frame, credit, half-close, stale-stream, remote-DNS, unsupported-command, offline, and teardown assertions.", + "oracle": "Test-value audit removes the retired suite and its active selectors/assertions. Retire the paired-host late subscription smoke: it checks a mocked close count and startup rejection, without remote unsubscribe or successor outcomes. Audit3381 intentionally removes the entire browser network tunnel protocol suite and active selectors/assertion. Static envelope/dispatch protocol alarms are lost without equivalent replacement. Remaining tunnel session and stream tests have narrower scopes. All three unrelated complete dated receipts are preserved verbatim with their original selectors; no fresh execution claimed. Module layout SSH policy: Retire the dynamic-forward launch argument/default inventory. The retained actual startup-cancellation entry case covers cancellation classification and termination/probe cleanup requests with supplied process/socket boundaries, not real SSH launch flags or live forwarding. Remove only the retired launch-flags assertion; unrelated dated receipts and their executed commands remain unchanged. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit1991: Remove the ordinary browser-host release/sub-cap and exact socket-close counter aliases. Retain the two actual admitted-device fairness and shared ask/browser/wait budget callbacks, which call server handlers with fake WebSockets and controlled pending RPCs. Preserve all3 unrelated dated receipts. No real browser placement or remote tunnel deployment is proved by this admission suite. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Delete the mocked browser placement mutation and projection suites and both prospective selectors. Preserve3 unrelated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1973: Remove stale production-registration and negotiated metadata aliases, compound refusal/cleanup aliases, isolated descriptor/route/memory/cleanup microcases. Retain exact negotiated command settlement, duplicate/conflict fencing, ready/replay ordering, superseded-connection cleanup, second-host refusal, ungranted target refusal, public connector redaction, revocation race and route replacement aliases within injected-port scope. Reconciliation and all3 unrelated dated receipts remain unchanged. Whole original changed dated receipts are retired, never narrowed or transferred. This metadata review claims no fresh execution, equivalent replacement, provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1918 narrows browser-host-command-ledger-capacity: intentionally loses injected per-page/global cache expiry-count ceilings and authority/command/result cloning inventory alarms. Retain valid commands/testFile and the oversized-wire pre-admission and delivery-failure outstanding-outcome assertions, backed by unchanged retained real-ledger callbacks with supplied browser delivery. These survivors are not equivalent replacement coverage for the deleted cache/cloning examples. Existing three exact unrelated tunnel/wire receipts retain their original scope; no fresh reduced-gate, real browser/provider, native/platform, soak or measured-budget result is added. Historical prior account (preserved verbatim): Audit1900 reduces ws-outbound-backpressure-queue by seven authored definitions while retaining ten. Current source19 assertions still describe distinct direct/queued aggregate admission, cooperative drain ordering and aggregate claim release. Existing commands, testFiles and all three source19 assertions remain valid and unchanged. The affected2026-11-04 Linux44tests/4files/5.58s receipt is retired whole as historical evidence. The other three unchanged-selector browser receipts retain their exact original scope. Reduced selectors have no fresh integrated, physical-device, mixed-host, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1709 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1687 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1686 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Attach two browser hosts and require unqualified selection to fail ambiguous while exact selection succeeds. Reject a second identity on one connection and a fifth identity for one paired device, release one exact lease, then admit its replacement without starving another device. Admit four hosts from one authenticated device and a host from a second, reject the first device's fifth host, and release only the first device's exact counters while the second remains live. Fill asks and hosts to their shared ceiling, retain a quarter of the total budget for ordinary waits, close both sockets, and prove every global, class, and device counter releases. Reject one initial host attach with the unchanged runtime_busy response, then require bounded client-specific jitter to attach when capacity returns; repeated rejection and explicit close must release every timer and subscription. Replace one same-device connection, require the old subscription and route to fence, then prove late old cleanup leaves the new generation live. Mint an exact execution-host grant, reject a different key, prove late old grant cleanup leaves its replacement, and invalidate every grant with lease replacement. Reject client-to-client, client-to-server, server-to-server, and server-to-client placement overwrite until exact retirement. Begin retirement once idempotently, reject client use and every replacement while pending, cancel the exact token to restore the same placement, and reject delayed cancellation or completion after a newer retirement begins. On explicit release, replacement, legacy disconnect, and reconnect-grace expiry, require only the exact host generation's client placements to become non-cancellable retirement-pending before lease settlement; preserve negotiated grace, other hosts, server placements, replacements, and capacity until exact completion. Complete only the exact pending token, retain capacity until completion, and require a reused client page ID to receive a higher global generation without retaining a tombstone. Require a client page through the exact runtime, epoch, host, and page tuple; reject every mismatch, released or replaced leases, retirement-pending pages, retired pages, server placements, invalid identities, and the 257th live placement. Admit 1024 opens in one monotonic 10-second window and reject the 1025th until the window expires. Fill 8 MiB across destination-to-client queues and separately across unsettled client-to-destination writes, release one exact retired stream, admit one replacement, and require the next byte claim to close the route without stale-callback or reentrant-close underflow. Across multiple routes, charge application copies, encrypted queue entries, and dynamic native socket bytes to one 32 MiB browser-host and 128 MiB process ceiling; reject zero-byte claim/socket-source floods, fence released leases, synchronously release JavaScript queue claims while retaining native claims through exact socket close, and yield a parked queue after four frames without reordering. Route nested responses by exact ID under reordering, reject unknown and duplicate IDs, cap pending requests and queued bytes, and tear down every concurrent waiter once on timeout or close. Drive one real paired attach, command, and result through one exact connection ID; reject missing send support and malformed or wrong-runtime acknowledgements while preserving old non-v1 attaches. Drop an authenticated transport, require the same listener to reject CONNECT before and during reconnect, attach the exact existing native v1 payload and capability pair to a strictly newer generation, ignore late old callbacks, and roll an exhausted stream-ID ledger only by replacing the generation. Require SSH descriptors to add an execution-host capability and exact grant, reject missing grants and stale provider authority before resolver or binary registration, pass exact domains to ssh2 and system-SSH SOCKS without local resolution, sanitize connector diagnostics, and close every stream and standalone route process once on timeout, synchronous failure, or rotation. Drive the accepted lease through real paired E2EE native SOCKS-to-HTTP and ephemeral Docker ssh2 remote-only DNS journeys, then exercise exact frame, credit, half-close, stale-stream, remote-DNS, unsupported-command, offline, and teardown assertions.", "commands": [ "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/routing/guest-authority/browser-route-webcontents-registry.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-reconnect.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts src/main/runtime/browser/client-pages/runtime-browser-client-page-recovery.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser-host/reconciliation/browser-host-page-retirement.test.ts src/main/runtime/browser-host/reconciliation/browser-host-page-placement-replacement.test.ts src/main/runtime/browser-host/reconciliation/browser-host-page-placement.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser-host/commands/browser-host-command-ledger.test.ts src/main/runtime/browser-host/reconciliation/browser-host-page-placement.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/browser/browser-client-host-reconciliation.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/client-pages/execution/browser-client-page-command-executor.test.ts src/main/browser/client-pages/execution/browser-client-page-command-integration.test.ts src/main/browser/client-pages/lifecycle/browser-client-page-inventory.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/client-pages/execution/browser-client-page-command-executor.test.ts src/main/browser/client-pages/execution/browser-client-page-command-integration.test.ts src/main/browser/client-pages/lifecycle/browser-client-page-inventory.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/client-pages/lifecycle/browser-client-page-reconciliation-adapters.test.ts src/main/browser/routing/sessions/browser-route-prepared-page-rekey.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/shared/browser/network/tunnels/browser-network-tunnel-protocol.test.ts src/main/browser/network/tunnels/browser-network-tunnel-session.test.ts src/main/browser/network/tunnels/remote-browser-socks-server.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/network/tunnels/browser-network-tunnel-session.test.ts src/main/browser/network/tunnels/remote-browser-socks-server.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/network/tunnels/browser-network-tunnel-client.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/rpc/methods/browser/browser-network-tunnel.test.ts src/main/runtime/browser/network/browser-network-tunnel-paired-runtime.integration.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/network/tunnels/browser-network-tunnel-outbound-memory-budget.test.ts src/main/browser/network/tunnels/browser-network-tunnel-session-aggregate-memory.test.ts src/shared/ws-outbound-backpressure-queue.test.ts src/shared/remote-runtime/remote-runtime-client.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/shared/ws-outbound-backpressure-queue.test.ts src/shared/remote-runtime/remote-runtime-client.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/server/runtime-rpc-browser-host-admission.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts src/main/runtime/rpc/methods/browser/browser-network-tunnel.test.ts src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/browser/network/browser-network-tunnel-paired-runtime.integration.test.ts src/main/browser/network/tunnels/browser-network-tunnel-client.test.ts src/main/browser/network/tunnels/browser-network-tunnel-session.test.ts src/main/browser/network/tunnels/browser-network-tunnel-session-aggregate-memory.test.ts src/main/browser/network/tunnels/browser-network-tunnel-outbound-memory-budget.test.ts src/main/browser/network/tunnels/remote-browser-socks-server.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/server/runtime-rpc-browser-host-admission.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts src/main/runtime/rpc/methods/browser/browser-network-tunnel.test.ts src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/browser/network/browser-network-tunnel-paired-runtime.integration.test.ts src/main/browser/network/tunnels/browser-network-tunnel-client.test.ts src/main/browser/network/tunnels/browser-network-tunnel-session.test.ts src/main/browser/network/tunnels/remote-browser-socks-server.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/shared/ws-outbound-backpressure-queue.test.ts src/shared/remote-runtime/remote-runtime-client.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/server/runtime-rpc-browser-host-admission.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts src/main/runtime/rpc/methods/browser/browser-network-tunnel.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/browser/network/browser-network-tunnel-paired-runtime.integration.test.ts src/main/browser/network/tunnels/browser-network-tunnel-client.test.ts src/main/browser/network/tunnels/browser-network-tunnel-session.test.ts src/main/browser/network/tunnels/browser-network-tunnel-session-aggregate-memory.test.ts src/main/browser/network/tunnels/browser-network-tunnel-outbound-memory-budget.test.ts src/main/browser/network/tunnels/remote-browser-socks-server.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/server/runtime-rpc-browser-host-admission.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts src/main/runtime/rpc/methods/browser/browser-network-tunnel.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/browser/network/browser-network-tunnel-paired-runtime.integration.test.ts src/main/browser/network/tunnels/browser-network-tunnel-client.test.ts src/main/browser/network/tunnels/browser-network-tunnel-session.test.ts src/main/browser/network/tunnels/remote-browser-socks-server.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/shared/remote-runtime/remote-runtime-client.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/shared/remote-runtime/requests/remote-runtime-subscription-request.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/client-hosts/commands/browser-client-host-command-dispatcher.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts src/main/browser/client-hosts/commands/browser-client-host-command-dispatcher.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-reconnect.test.ts src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts src/main/browser/client-hosts/commands/browser-client-host-command-dispatcher.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/client-hosts/commands/browser-client-host-command-dispatcher.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-reconnect.test.ts src/main/browser/client-hosts/commands/browser-client-host-command-dispatcher.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/server/runtime-rpc-browser-host-admission.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/network/client-routes/browser-client-network-route-registry.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-reconnect.test.ts src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/browser-host/commands/browser-host-command-ledger.test.ts src/main/runtime/browser-host/commands/browser-host-command-ledger-capacity.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/network/client-routes/browser-client-network-route-registry.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-reconnect.test.ts src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/browser-host/commands/browser-host-command-ledger.test.ts src/main/runtime/browser-host/commands/browser-host-command-ledger-capacity.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/server/runtime-rpc-browser-host-admission.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/network/client-routes/browser-client-network-route-registry.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-reconnect.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/browser-host/commands/browser-host-command-ledger.test.ts src/main/runtime/browser-host/commands/browser-host-command-ledger-capacity.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/network/client-routes/browser-client-network-route-registry.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-reconnect.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/browser-host/commands/browser-host-command-ledger.test.ts src/main/runtime/browser-host/commands/browser-host-command-ledger-capacity.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/server/runtime-rpc-browser-host-admission.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/network/client-routes/browser-client-network-route-registry.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-registry.test.ts src/main/browser/client-pages/execution/browser-client-page-command-executor.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser-host/commands/browser-host-command-ledger.test.ts src/main/runtime/browser-host/commands/browser-host-command-ledger-capacity.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/browser/network/execution-routes/browser-network-deferred-socket.test.ts src/main/browser/network/execution-routes/browser-network-execution-route.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/rpc/methods/browser/browser-network-tunnel.test.ts src/main/browser/network/execution-routes/ssh-browser-network-execution-route.test.ts src/main/browser/network/tunnels/system-ssh-socks-client-socket.test.ts src/main/ssh/system-transport/forwarding/system-ssh-dynamic-forward-process.test.ts src/main/ssh/system-transport/forwarding/system-ssh-forward-process.test.ts src/main/ssh/system-transport/system-ssh-operations.test.ts src/main/ssh/port-forwarding/ssh-port-forward.test.ts", @@ -5021,7 +4845,6 @@ "testFiles": [ "src/main/browser/routing/guest-authority/browser-route-webcontents-registry.test.ts", "src/main/runtime/browser/client-pages/runtime-browser-client-page-recovery.test.ts", - "src/shared/browser/network/tunnels/browser-network-tunnel-protocol.test.ts", "src/main/runtime/browser-host/reconciliation/browser-host-page-retirement.test.ts", "src/main/runtime/browser-host/reconciliation/browser-host-page-placement-replacement.test.ts", "src/main/runtime/browser-host/reconciliation/browser-host-page-placement.test.ts", @@ -5031,7 +4854,6 @@ "src/main/runtime/rpc/server/runtime-rpc-browser-host-admission.test.ts", "src/main/runtime/rpc/methods/browser/browser-client-host.test.ts", "src/main/runtime/rpc/methods/browser/browser-client-host-reconciliation.test.ts", - "src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts", "src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-reconnect.test.ts", "src/main/browser/network/client-routes/browser-client-network-route-registry.test.ts", "src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts", @@ -5069,10 +4891,6 @@ "asks and browser hosts share a ceiling that retains one quarter of total capacity for waits" ] }, - { - "file": "src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts", - "assertions": ["closes a subscription acquired after local teardown"] - }, { "file": "src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-reconnect.test.ts", "assertions": [ @@ -5159,13 +4977,6 @@ "command result settlement requires the exact negotiated reconciliation authority" ] }, - { - "file": "src/shared/browser/network/tunnels/browser-network-tunnel-protocol.test.ts", - "assertions": [ - "remote DNS names round-trip without client resolution", - "unknown versions, opcodes, oversized payloads, and length mismatches fail closed" - ] - }, { "file": "src/main/browser/network/tunnels/browser-network-tunnel-session.test.ts", "assertions": [ @@ -5413,7 +5224,9 @@ "Audit1991: Remove the ordinary browser-host release/sub-cap and exact socket-close counter aliases. Retain the two actual admitted-device fairness and shared ask/browser/wait budget callbacks, which call server handlers with fake WebSockets and controlled pending RPCs. Preserve all3 unrelated dated receipts. No real browser placement or remote tunnel deployment is proved by this admission suite. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed.", "Audit1991 historical original assertionRefs object, preserved verbatim; retired objects are not active execution evidence or replacement coverage:\n{\n \"file\": \"src/main/runtime/rpc/server/runtime-rpc-browser-host-admission.test.ts\",\n \"assertions\": [\n \"browser-host attachment has a dedicated sub-cap that preserves ordinary wait admission\",\n \"one paired device cannot consume the second device's reserved browser-host share\",\n \"asks and browser hosts share a ceiling that retains one quarter of total capacity for waits\",\n \"socket close aborts the exact host and wait handlers and releases both counters\"\n ]\n }", "Module layout SSH policy: Retire the dynamic-forward launch argument/default inventory. The retained actual startup-cancellation entry case covers cancellation classification and termination/probe cleanup requests with supplied process/socket boundaries, not real SSH launch flags or live forwarding. Remove only the retired launch-flags assertion; unrelated dated receipts and their executed commands remain unchanged.", - "Historical dynamic-forward assertion metadata before inventory retirement, preserved verbatim:\n{\n \"file\": \"src/main/ssh/system-transport/forwarding/system-ssh-dynamic-forward-process.test.ts\",\n \"assertions\": [\n \"system SSH uses BatchMode=yes, disables ControlMaster, and positions one dynamic forward before the destination\",\n \"authority invalidation cancels an in-progress SSH launch and destroys its active readiness probe immediately\"\n ]\n }" + "Historical dynamic-forward assertion metadata before inventory retirement, preserved verbatim:\n{\n \"file\": \"src/main/ssh/system-transport/forwarding/system-ssh-dynamic-forward-process.test.ts\",\n \"assertions\": [\n \"system SSH uses BatchMode=yes, disables ControlMaster, and positions one dynamic forward before the destination\",\n \"authority invalidation cancels an in-progress SSH launch and destroys its active readiness probe immediately\"\n ]\n }", + "Audit3381 intentionally removes the entire browser network tunnel protocol suite and active selectors/assertion. Static envelope/dispatch protocol alarms are lost without equivalent replacement. Remaining tunnel session and stream tests have narrower scopes. All three unrelated complete dated receipts are preserved verbatim with their original selectors; no fresh execution claimed.\nOriginal active selector fields, historical raw native JSON values:\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/routing/guest-authority/browser-route-webcontents-registry.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-reconnect.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts src/main/runtime/browser/client-pages/runtime-browser-client-page-recovery.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser-host/reconciliation/browser-host-page-retirement.test.ts src/main/runtime/browser-host/reconciliation/browser-host-page-placement-replacement.test.ts src/main/runtime/browser-host/reconciliation/browser-host-page-placement.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser-host/commands/browser-host-command-ledger.test.ts src/main/runtime/browser-host/reconciliation/browser-host-page-placement.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/browser/browser-client-host-reconciliation.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/client-pages/execution/browser-client-page-command-executor.test.ts src/main/browser/client-pages/execution/browser-client-page-command-integration.test.ts src/main/browser/client-pages/lifecycle/browser-client-page-inventory.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/client-pages/lifecycle/browser-client-page-reconciliation-adapters.test.ts src/main/browser/routing/sessions/browser-route-prepared-page-rekey.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/shared/browser/network/tunnels/browser-network-tunnel-protocol.test.ts src/main/browser/network/tunnels/browser-network-tunnel-session.test.ts src/main/browser/network/tunnels/remote-browser-socks-server.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/network/tunnels/browser-network-tunnel-client.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/rpc/methods/browser/browser-network-tunnel.test.ts src/main/runtime/browser/network/browser-network-tunnel-paired-runtime.integration.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/network/tunnels/browser-network-tunnel-outbound-memory-budget.test.ts src/main/browser/network/tunnels/browser-network-tunnel-session-aggregate-memory.test.ts src/shared/ws-outbound-backpressure-queue.test.ts src/shared/remote-runtime/remote-runtime-client.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/shared/ws-outbound-backpressure-queue.test.ts src/shared/remote-runtime/remote-runtime-client.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/server/runtime-rpc-browser-host-admission.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts src/main/runtime/rpc/methods/browser/browser-network-tunnel.test.ts src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/browser/network/browser-network-tunnel-paired-runtime.integration.test.ts src/main/browser/network/tunnels/browser-network-tunnel-client.test.ts src/main/browser/network/tunnels/browser-network-tunnel-session.test.ts src/main/browser/network/tunnels/browser-network-tunnel-session-aggregate-memory.test.ts src/main/browser/network/tunnels/browser-network-tunnel-outbound-memory-budget.test.ts src/main/browser/network/tunnels/remote-browser-socks-server.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/server/runtime-rpc-browser-host-admission.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts src/main/runtime/rpc/methods/browser/browser-network-tunnel.test.ts src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/browser/network/browser-network-tunnel-paired-runtime.integration.test.ts src/main/browser/network/tunnels/browser-network-tunnel-client.test.ts src/main/browser/network/tunnels/browser-network-tunnel-session.test.ts src/main/browser/network/tunnels/remote-browser-socks-server.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/shared/remote-runtime/remote-runtime-client.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/shared/remote-runtime/requests/remote-runtime-subscription-request.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/client-hosts/commands/browser-client-host-command-dispatcher.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts src/main/browser/client-hosts/commands/browser-client-host-command-dispatcher.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-reconnect.test.ts src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts src/main/browser/client-hosts/commands/browser-client-host-command-dispatcher.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/server/runtime-rpc-browser-host-admission.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/network/client-routes/browser-client-network-route-registry.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-reconnect.test.ts src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/browser-host/commands/browser-host-command-ledger.test.ts src/main/runtime/browser-host/commands/browser-host-command-ledger-capacity.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/network/client-routes/browser-client-network-route-registry.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-reconnect.test.ts src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/browser-host/commands/browser-host-command-ledger.test.ts src/main/runtime/browser-host/commands/browser-host-command-ledger-capacity.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/server/runtime-rpc-browser-host-admission.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/browser/network/client-routes/browser-client-network-route-registry.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-registry.test.ts src/main/browser/client-pages/execution/browser-client-page-command-executor.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser-host/commands/browser-host-command-ledger.test.ts src/main/runtime/browser-host/commands/browser-host-command-ledger-capacity.test.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/runtime/rpc/methods/browser/browser-client-host.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts src/main/browser/network/execution-routes/browser-network-deferred-socket.test.ts src/main/browser/network/execution-routes/browser-network-execution-route.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/runtime/rpc/methods/browser/browser-network-tunnel.test.ts src/main/browser/network/execution-routes/ssh-browser-network-execution-route.test.ts src/main/browser/network/tunnels/system-ssh-socks-client-socket.test.ts src/main/ssh/system-transport/forwarding/system-ssh-dynamic-forward-process.test.ts src/main/ssh/system-transport/forwarding/system-ssh-forward-process.test.ts src/main/ssh/system-transport/system-ssh-operations.test.ts src/main/ssh/port-forwarding/ssh-port-forward.test.ts\",\n \"ORCA_RUN_DOCKER_SSH_BROWSER_E2E=1 pnpm exec vitest run --config config/vitest.config.ts tests/e2e/ssh-browser-network-execution-route.docker.unit.test.ts\",\n \"ORCA_RUN_DOCKER_SSH_BROWSER_E2E=1 node_modules/.bin/vitest run --config config/vitest.config.ts tests/e2e/ssh-browser-network-execution-route.docker.unit.test.ts\"\n ]\ntestFiles: [\n \"src/main/browser/routing/guest-authority/browser-route-webcontents-registry.test.ts\",\n \"src/main/runtime/browser/client-pages/runtime-browser-client-page-recovery.test.ts\",\n \"src/shared/browser/network/tunnels/browser-network-tunnel-protocol.test.ts\",\n \"src/main/runtime/browser-host/reconciliation/browser-host-page-retirement.test.ts\",\n \"src/main/runtime/browser-host/reconciliation/browser-host-page-placement-replacement.test.ts\",\n \"src/main/runtime/browser-host/reconciliation/browser-host-page-placement.test.ts\",\n \"src/main/runtime/browser-host/commands/browser-host-command-ledger.test.ts\",\n \"src/main/runtime/browser-host/commands/browser-host-command-ledger-capacity.test.ts\",\n \"src/main/runtime/browser-host/leases/browser-host-lease-registry.test.ts\",\n \"src/main/runtime/rpc/server/runtime-rpc-browser-host-admission.test.ts\",\n \"src/main/runtime/rpc/methods/browser/browser-client-host.test.ts\",\n \"src/main/runtime/rpc/methods/browser/browser-client-host-reconciliation.test.ts\",\n \"src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts\",\n \"src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-reconnect.test.ts\",\n \"src/main/browser/network/client-routes/browser-client-network-route-registry.test.ts\",\n \"src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts\",\n \"src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-registry.test.ts\",\n \"src/main/browser/client-pages/execution/browser-client-page-command-executor.test.ts\",\n \"src/main/browser/client-pages/execution/browser-client-page-command-integration.test.ts\",\n \"src/main/browser/client-pages/lifecycle/browser-client-page-reconciliation-adapters.test.ts\",\n \"src/main/browser/client-pages/lifecycle/browser-client-page-inventory.test.ts\",\n \"src/main/browser/routing/sessions/browser-route-prepared-page-rekey.test.ts\",\n \"src/main/browser/client-hosts/commands/browser-client-host-command-dispatcher.test.ts\",\n \"src/main/browser/network/tunnels/browser-network-tunnel-session.test.ts\",\n \"src/main/browser/network/tunnels/browser-network-tunnel-session-aggregate-memory.test.ts\",\n \"src/main/browser/network/tunnels/browser-network-tunnel-client.test.ts\",\n \"src/main/browser/network/tunnels/browser-network-tunnel-outbound-memory-budget.test.ts\",\n \"src/main/browser/network/execution-routes/browser-network-deferred-socket.test.ts\",\n \"src/main/browser/network/execution-routes/browser-network-execution-route.test.ts\",\n \"src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts\",\n \"src/main/browser/network/execution-routes/ssh-browser-network-execution-route.test.ts\",\n \"src/main/browser/network/tunnels/system-ssh-socks-client-socket.test.ts\",\n \"src/main/ssh/system-transport/forwarding/system-ssh-dynamic-forward-process.test.ts\",\n \"src/main/ssh/port-forwarding/ssh-port-forward.test.ts\",\n \"src/main/browser/network/tunnels/remote-browser-socks-server.test.ts\",\n \"src/main/runtime/rpc/methods/browser/browser-network-tunnel.test.ts\",\n \"src/main/runtime/browser/network/browser-network-tunnel-paired-runtime.integration.test.ts\",\n \"src/shared/remote-runtime/remote-runtime-client.test.ts\",\n \"src/shared/remote-runtime/requests/remote-runtime-subscription-request.test.ts\",\n \"src/shared/ws-outbound-backpressure-queue.test.ts\",\n \"tests/e2e/ssh-browser-network-execution-route.docker.unit.test.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/main/runtime/rpc/server/runtime-rpc-browser-host-admission.test.ts\",\n \"assertions\": [\n \"one paired device cannot consume the second device's reserved browser-host share\",\n \"asks and browser hosts share a ceiling that retains one quarter of total capacity for waits\"\n ]\n },\n {\n \"file\": \"src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts\",\n \"assertions\": [\"closes a subscription acquired after local teardown\"]\n },\n {\n \"file\": \"src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-reconnect.test.ts\",\n \"assertions\": [\n \"an acknowledged mutation replay uses the preserved dispatcher result without rerunning its handler\"\n ]\n },\n {\n \"file\": \"src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts\",\n \"assertions\": [\n \"waits for old handlers and ignores their late callbacks before replacement\",\n \"keeps one command gate across repeated loss while fencing stale route recovery\",\n \"fails closed without racing page cleanup when handlers do not settle\"\n ]\n },\n {\n \"file\": \"src/main/browser/client-pages/execution/browser-client-page-command-executor.test.ts\",\n \"assertions\": [\"holds Session and route release for the exact destroyed acknowledgement\"]\n },\n {\n \"file\": \"src/main/browser/client-pages/lifecycle/browser-client-page-reconciliation-adapters.test.ts\",\n \"assertions\": [\n \"destroys a guest rekeyed during an authority transition instead of granting navigation\"\n ]\n },\n {\n \"file\": \"src/main/browser/routing/sessions/browser-route-prepared-page-rekey.test.ts\",\n \"assertions\": [\n \"prepared authority rekeys without changing its opaque capability token\",\n \"stale, occupied, cross-page, and cross-renderer targets fail without mutation\"\n ]\n },\n {\n \"file\": \"src/main/browser/client-pages/execution/browser-client-page-command-integration.test.ts\",\n \"assertions\": [\n \"spontaneous exact guest destruction revokes active inventory before explicit page retirement\"\n ]\n },\n {\n \"file\": \"src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-registry.test.ts\",\n \"assertions\": [\"keeps a failed authority transition tombstoned until cleanup settles\"]\n },\n {\n \"file\": \"src/main/browser/network/client-routes/browser-client-network-route-registry.test.ts\",\n \"assertions\": [\n \"retains one exact route until its final page releases it\",\n \"keeps an ambiguously closed route fenced until final registry cleanup\",\n \"retires old authority routes without destroying them before exact page cleanup\",\n \"aborts a stale route recovery without retaining its retry timer\",\n \"fails bounded recovery after one route exhausts grace without leaking timers\",\n \"mints a fresh route for a retain that lands while the previous one is closing\",\n \"waits for a route still closing before reporting retirement\",\n \"rejects a retain the moment its signal aborts mid-startup\",\n \"refuses a retain that waited out a closing route onto a retired registry\",\n \"reports a failed final cleanup to an awaiting retirement\"\n ]\n },\n {\n \"file\": \"src/main/browser/client-hosts/commands/browser-client-host-command-dispatcher.test.ts\",\n \"assertions\": [\n \"keeps a timed-out retirement fenced until its handler actually settles\",\n \"bounds close while canceling queued and non-cooperative handlers\"\n ]\n },\n {\n \"file\": \"src/main/runtime/browser-host/commands/browser-host-command-ledger-capacity.test.ts\",\n \"assertions\": [\n \"oversized wire payloads fail before page, sequence, or delivery admission\",\n \"new issue delivery failure closes the ledger and fences every outstanding outcome\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/methods/browser/browser-client-host.test.ts\",\n \"assertions\": [\n \"negotiated exact reattach emits ready before replaying the unchanged unsettled command\",\n \"reattach before old cleanup preserves the same authority and ends only the superseded connection stream\",\n \"only the exact negotiated connection, paired device, and live page placement can settle a server-owned command\",\n \"exact duplicate results are idempotent while conflicts and stale or retired placement fail closed\",\n \"a second browser-host identity on one authenticated connection is rejected\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/methods/browser/browser-client-host-reconciliation.test.ts\",\n \"assertions\": [\n \"command result settlement requires the exact negotiated reconciliation authority\"\n ]\n },\n {\n \"file\": \"src/shared/browser/network/tunnels/browser-network-tunnel-protocol.test.ts\",\n \"assertions\": [\n \"remote DNS names round-trip without client resolution\",\n \"unknown versions, opcodes, oversized payloads, and length mismatches fail closed\"\n ]\n },\n {\n \"file\": \"src/main/browser/network/tunnels/browser-network-tunnel-session.test.ts\",\n \"assertions\": [\n \"replenishes client credit only after the destination write settles\",\n \"keeps concurrent streams alive when late data arrives for a retired stream\",\n \"flushes credited destination bytes before close\",\n \"caps aggregate retained destination bytes and releases exact stream accounting\",\n \"caps unsettled destination writes and releases retirement exactly once\",\n \"releases queued bytes once when an accepted send closes reentrantly\"\n ]\n },\n {\n \"file\": \"src/main/browser/network/tunnels/browser-network-tunnel-session-aggregate-memory.test.ts\",\n \"assertions\": [\n \"multiple execution-host routes share browser-host application-byte admission in both traffic directions\",\n \"route close releases aggregate claims exactly before stale destination-write callbacks\"\n ]\n },\n {\n \"file\": \"src/main/browser/network/tunnels/browser-network-tunnel-client.test.ts\",\n \"assertions\": [\n \"preserves remote DNS and waits for an opened acknowledgement\",\n \"sends only credited bytes in bounded frames and replenishes consumed input\",\n \"ignores a retired stream frame but rejects a never-allocated stream ID\",\n \"never reuses stream IDs within one generation after its bounded ledger exhausts\",\n \"replenishes only bytes settled after the readable consumer takes them\",\n \"fails closed when pending tiny destination frames exceed the chunk cap\",\n \"drains data that precedes a remote close before retiring the socket\"\n ]\n },\n {\n \"file\": \"src/main/browser/network/tunnels/browser-network-tunnel-outbound-memory-budget.test.ts\",\n \"assertions\": [\n \"application, encrypted-queue, and native socket bytes share one host ceiling\",\n \"distinct hosts share one process ceiling with exact release\",\n \"zero-byte claims, socket sources, hosts, and leases have independent bounds\",\n \"released leases cannot admit work and retained owners keep exact accounting alive\",\n \"unavailable native-buffer evidence fails closed until its exact source releases\"\n ]\n },\n {\n \"file\": \"src/main/browser/network/tunnels/remote-browser-socks-server.test.ts\",\n \"assertions\": [\n \"domain CONNECT preserves the final execution-host DNS target\",\n \"unsupported commands and unavailable routes open no fallback destination\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/methods/browser/browser-network-tunnel.test.ts\",\n \"assertions\": [\n \"ungranted or wrong-key SSH routes are rejected before resolver or binary registration\",\n \"connector diagnostics are mapped to a stable public error without local path disclosure\",\n \"grant revocation aborts connector startup immediately and cannot race through route admission\",\n \"the server allocates route generations and fences the replaced route\"\n ]\n },\n {\n \"file\": \"src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts\",\n \"assertions\": [\n \"closes a subscription that resolves after route teardown\",\n \"settles startup when close follows subscription acquisition before readiness\",\n \"bounds the post-auth readiness wait\",\n \"binds and releases the exact browser-host outbound memory lease\",\n \"keeps one listener fail-closed and accepts an increasing replacement generation\",\n \"ignores late callbacks from a superseded transport\",\n \"recovers again after a second transport death\",\n \"rejects a non-increasing replacement generation and remains retryable\",\n \"fences a ready generation even when the replacement closes before its await resumes\",\n \"replaces the tunnel generation before recycling a bounded stream ID\"\n ]\n },\n {\n \"file\": \"src/main/browser/network/execution-routes/browser-network-deferred-socket.test.ts\",\n \"assertions\": [\n \"destroy before source attachment emits one close and destroys a late source\",\n \"source close after destroy cannot emit duplicate wrapper close\"\n ]\n },\n {\n \"file\": \"src/main/browser/network/execution-routes/browser-network-execution-route.test.ts\",\n \"assertions\": [\n \"execution-host route keys cannot collide on delimiter-containing identities\",\n \"native routing accepts only the exact runtime revision without retaining an invalidation callback\"\n ]\n },\n {\n \"file\": \"src/main/browser/network/execution-routes/ssh-browser-network-execution-route.test.ts\",\n \"assertions\": [\n \"does not adopt a replacement ssh2 client under the captured authority\",\n \"releases a deferred socket when forwardOut throws during disconnect\",\n \"aborts system SSH startup when route authorization is revoked\",\n \"reaches external sites over ssh2 through the host proxy and keeps local names direct\",\n \"dials directly while the host environment is unreadable and adopts it once a retry reads it\",\n \"reaches external sites over system SSH through the host proxy\"\n ]\n },\n {\n \"file\": \"src/main/browser/network/tunnels/system-ssh-socks-client-socket.test.ts\",\n \"assertions\": [\n \"the internal SOCKS5 client encodes the exact destination as a domain request\"\n ]\n },\n {\n \"file\": \"src/main/ssh/system-transport/forwarding/system-ssh-dynamic-forward-process.test.ts\",\n \"assertions\": [\n \"authority invalidation cancels an in-progress SSH launch and destroys its active readiness probe immediately\"\n ]\n },\n {\n \"file\": \"tests/e2e/ssh-browser-network-execution-route.docker.unit.test.ts\",\n \"assertions\": [\n \"an ephemeral sshd resolves a container-only domain and returns a unique HTTP marker\",\n \"the real ssh2 forwardOut receives that exact domain and provider loss fences the route\",\n \"one non-interactive system-OpenSSH dynamic forward passes the same remote-only oracle and closes cleanly\"\n ]\n },\n {\n \"file\": \"src/shared/remote-runtime/requests/remote-runtime-subscription-request.test.ts\",\n \"assertions\": [\n \"nested JSON responses route by exact request ID under reverse-order delivery\"\n ]\n },\n {\n \"file\": \"src/shared/remote-runtime/remote-runtime-client.test.ts\",\n \"assertions\": [\n \"the authenticated socket binds the optional tunnel capability\",\n \"the dedicated outbound queue reports hard overflow instead of dropping a frame\",\n \"encrypted queue claims release synchronously while native socket ownership remains charged through exact close\"\n ]\n },\n {\n \"file\": \"src/shared/ws-outbound-backpressure-queue.test.ts\",\n \"assertions\": [\n \"direct and already-retained queued frames use distinct aggregate admission semantics\",\n \"queued drain yields after its configured frame quantum without reordering\",\n \"aggregate queue claims release on drain, denial, disposal, and close\"\n ]\n }\n ]", + "Test-value audit: Retire the paired-host late subscription smoke: it checks a mocked close count and startup rejection, without remote unsubscribe or successor outcomes. No equivalent replacement or fresh execution is claimed." ], "demotionRule": "Keep experimental or demote if a self-asserted or ambiguous host can receive a route, an SSH descriptor bypasses capability, lease-bound grant, or provider-authority checks, late cleanup can remove a replacement, a route can resolve names on the desktop, exceed a byte or stream bound, replenish credit before destination settlement, accept a stale or non-increasing generation, reuse a stream ID within one generation, lose or bypass its fail-closed listener during reconnect, expose the SOCKS listener off-loopback, accept BIND/UDP, or fall back when the selected route is unavailable." }, @@ -5586,14 +5399,14 @@ "https://linear.app/stably/issue/STA-4150/refactor-remote-browser-to-client-hosted-electron-webviews" ], "invariant": "Placement is selected exactly once before page creation. An eligible, capable paired Electron desktop creates one client-hosted guest; old, ineligible, web/mobile, browserless-client, or explicit-server callers use the unchanged server path. Omitted placement remains server-hosted. Once client placement is selected, failure is surfaced and must not create, migrate, or fall back to a server guest. The acknowledged exact environment, worktree or folder workspace, remote page, and target group must materialize before the renderer reports success. Client pages bypass screencast and remote-input rendering, while agent and CLI automation routes only to the exact client guest. Disabling the kill switch affects only later pages. Reconnect, replacement, and cleanup preserve exact authority and never revive or retire another generation.", - "oracle": "Audit1709 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1687 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1686 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Create through the normal renderer-store action with client hosting enabled. Require client placement, one client-owned guest at the fixture URL, zero server-owned guests, no remote-browser frame, a visible retained marker, and a browser.snapshot marker from the same remote page. Disable the setting and require that guest to survive; create another page and require one server-owned guest, zero matching client guests, and a visible server screencast. Delay renderer publication after tabCreate acknowledgement and require one exact bounded subscription to materialize the page without polling or cleanup. Reject a client create and require no server fallback. Omit placement or capabilities and require no client-host RPC. During replacement, admit close-first only for negotiated reconciliation of imported inventory; ordinary close-first and navigate-first remain rejected. Run the same placement oracle against headed and headless paired hosts, plus deterministic native, SSH, WSL, folder, worktree, reconnect, retirement, and browserless-host contracts.", + "oracle": "Test-value audit removes the retired suite and its active selectors/assertions. Retire screencast lifecycle restart/argument/frame-count and malformed-frame ACK examples; decoded frame freshness and stream cases remain with narrower scope. Audit1709 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1687 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1686 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Create through the normal renderer-store action with client hosting enabled. Require client placement, one client-owned guest at the fixture URL, zero server-owned guests, no remote-browser frame, a visible retained marker, and a browser.snapshot marker from the same remote page. Disable the setting and require that guest to survive; create another page and require one server-owned guest, zero matching client guests, and a visible server screencast. Delay renderer publication after tabCreate acknowledgement and require one exact bounded subscription to materialize the page without polling or cleanup. Reject a client create and require no server fallback. Omit placement or capabilities and require no client-host RPC. During replacement, admit close-first only for negotiated reconciliation of imported inventory; ordinary close-first and navigate-first remain rejected. Run the same placement oracle against headed and headless paired hosts, plus deterministic native, SSH, WSL, folder, worktree, reconnect, retirement, and browserless-host contracts.", "commands": [ "pnpm exec playwright test tests/e2e/paired-client-hosted-browser.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser/client-pages/runtime-browser-client-page-creation.test.ts src/main/runtime/browser-host/commands/browser-host-command-ledger.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/shared/remote-runtime/remote-runtime-client.test.ts src/main/ipc/runtime-environments/runtime-environment-browser-client-host-handler.test.ts", "SKIP_BUILD=1 ORCA_CROSS_VERSION_PACKAGED_EXECUTABLE=/Applications/Orca.app/Contents/MacOS/Orca pnpm exec playwright test tests/e2e/packaged-mixed-version-browser-placement.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/browser/network/browser-network-tunnel-paired-runtime.integration.test.ts src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts src/main/browser/network/execution-routes/browser-network-execution-route.test.ts src/main/browser/network/execution-routes/wsl-browser-network-execution-route.test.ts src/main/browser/network/execution-routes/wsl-browser-network-relay-launch.test.ts src/main/runtime/browser/network/runtime-browser-network-execution-host.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/cdp/screencast/browser-screencast-lifecycle.test.ts src/main/browser/cdp/screencast/browser-screencast-stream.test.ts src/main/runtime/browser/screencast/orca-runtime-browser-screencast-fanout.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/main/browser/cdp/screencast/browser-screencast-stream.test.ts src/main/runtime/browser/screencast/orca-runtime-browser-screencast-fanout.test.ts", "ORCA_RUN_DOCKER_SSH_BROWSER_E2E=1 pnpm exec vitest run --config config/vitest.config.ts tests/e2e/ssh-browser-network-execution-route.docker.unit.test.ts", "Manual iOS 26.5 simulator: pair current mobile code to packaged Orca 1.4.184; create Browser; navigate to https://example.com; require one visible Example Domain tab on the server-hosted surface", "ORCA_RUN_DOCKER_SSH_BROWSER_E2E=1 node_modules/.bin/vitest run --config config/vitest.config.ts tests/e2e/ssh-browser-network-execution-route.docker.unit.test.ts" @@ -5611,7 +5424,6 @@ "src/main/browser/network/execution-routes/wsl-browser-network-execution-route.test.ts", "src/main/browser/network/execution-routes/wsl-browser-network-relay-launch.test.ts", "src/main/runtime/browser/network/runtime-browser-network-execution-host.test.ts", - "src/main/browser/cdp/screencast/browser-screencast-lifecycle.test.ts", "src/main/browser/cdp/screencast/browser-screencast-stream.test.ts", "src/main/runtime/browser/screencast/orca-runtime-browser-screencast-fanout.test.ts", "tests/e2e/ssh-browser-network-execution-route.docker.unit.test.ts" @@ -5723,7 +5535,8 @@ "The live fixture proves routed HTTP, HTTPS, WebSocket, redirect, subresource, and download ownership plus remote DNS through the fixed SOCKS session; worker, speculative, WebRTC, UDP, and DoH containment remain unrecorded.", "The setting currently requires explicit enablement while product rollout policy is decided; disabling it is intentionally new-page-only.", "The mocked client-placement and immediate create-failure suites were removed, including parameter selection, delayed mocked materialization and no-fallback call ledgers. The remaining live journeys and contracts do not establish equivalent unit alarms. Earlier descriptions and executed results for those fixtures are historical.", - "The browser-placement schema suite was retired; its initial optional-field inventory is no longer active coverage. Historical local/macos run on 2026-08-16: pnpm exec vitest run --config config/vitest.config.ts tests/e2e/cross-version-wire/cross-version-browser-placement.unit.test.ts; passed in 0.23s. Three assertions passed against published v1.4.182 and the current tree: the release lacks the negotiated capabilities, strips additive placement without changing legacy fields, and the current server preserves an old request with omitted placement. No replacement equivalence is claimed." + "The browser-placement schema suite was retired; its initial optional-field inventory is no longer active coverage. Historical local/macos run on 2026-08-16: pnpm exec vitest run --config config/vitest.config.ts tests/e2e/cross-version-wire/cross-version-browser-placement.unit.test.ts; passed in 0.23s. Three assertions passed against published v1.4.182 and the current tree: the release lacks the negotiated capabilities, strips additive placement without changing legacy fields, and the current server preserves an old request with omitted placement. No replacement equivalence is claimed.", + "Test-value audit: Retire screencast lifecycle restart/argument/frame-count and malformed-frame ACK examples; decoded frame freshness and stream cases remain with narrower scope. No equivalent replacement or fresh execution is claimed." ], "demotionRule": "Demote if placement changes after creation, a client failure creates a server fallback page, one logical page owns two engines, an omitted or unnegotiated field activates client hosting, the execution route resolves on the viewing desktop, a client page uses screencast/input RPC rendering, automation reaches a different page or engine, delayed publication leaks listeners or causes cleanup of a materialized page, or the kill switch mutates an existing page." }, @@ -5852,14 +5665,12 @@ "invariant": "Append-only external file growth changes only Monaco's model suffix, retaining the viewport, selection, Find state, and renderer liveness above the append point; read-only live tails do not create undo history, while editable external updates remain undoable and arbitrary rewrites continue to replace the model content.", "oracle": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit1709 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Focused tests assert one post-mount content owner and actual lifecycle remount ordering across retained path models. Real-Monaco tests cover undo behavior for read-only live tails versus editable files. Standalone Node timing and private undo-retention budgets at 9 and 50 MiB were retired by audit1677 and provide no current alarm. The Electron scenario compares legacy setValue with watcher appends, checking visible ranges, selection, Find state, scroll offset, non-undoability, renderer survival and memory budgets. Mock-only edit-shape assertions were retired during test-value audit.", "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/editor/EditorContent.monaco-lifecycle.test.tsx", "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/editor/monaco-content-sync.undo-history.test.ts", "node --expose-gc ./node_modules/vitest/vitest.mjs bench --pool=threads", "pnpm run test:e2e -- tests/e2e/agent-session-log-tail-stability.spec.ts --workers=1" ], "testFiles": [ "src/renderer/src/components/editor/monaco-content-sync.undo-history.test.ts", - "src/renderer/src/components/editor/EditorContent.monaco-lifecycle.test.tsx", "tests/e2e/agent-session-log-tail-stability.spec.ts" ], "assertionRefs": [ @@ -5869,12 +5680,6 @@ "a real Monaco read-only live-tail append leaves canUndo false while an ordinary external update remains undoable" ] }, - { - "file": "src/renderer/src/components/editor/EditorContent.monaco-lifecycle.test.tsx", - "assertions": [ - "a same-pane path switch unmounts the prior outer Monaco before real mount reconciliation refreshes the stale target; the prior retained model content and undo sentinel remain untouched" - ] - }, { "file": "tests/e2e/agent-session-log-tail-stability.spec.ts", "assertions": [ @@ -5925,7 +5730,8 @@ "Audit1677 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded.", "No live Windows or Linux View Log evidence yet.", "Historical retired benchmark receipt (not active evidence): {\"date\":\"2026-07-12\",\"runner\":\"local\",\"platform\":\"macos\",\"command\":\"node --expose-gc ./node_modules/vitest/vitest.mjs bench src/renderer/src/components/editor/monaco-content-sync.bench.ts --pool=threads\",\"result\":\"passed\",\"durationSeconds\":75,\"summary\":\"Forced-GC, settled, alternating fresh-model Monaco p95: 9 MiB append 4.02-5.51ms versus replacement 81.42-83.76ms; 50 MiB append 22.72-26.60ms versus replacement 445.11-449.21ms.\"}", - "Historical retired benchmark receipt (not active evidence): {\"date\":\"2026-07-13\",\"runner\":\"local\",\"platform\":\"macos\",\"command\":\"node --expose-gc ./node_modules/vitest/vitest.mjs bench src/renderer/src/components/editor/monaco-content-sync.undo-retention.bench.ts --pool=threads\",\"result\":\"passed\",\"durationSeconds\":5,\"summary\":\"The undoable 50 MiB control retained 104,858,630 undo-service bytes and 104,857,790 ArrayBuffer bytes; the read-only live-tail arm retained zero of both and remained non-undoable.\"}" + "Historical retired benchmark receipt (not active evidence): {\"date\":\"2026-07-13\",\"runner\":\"local\",\"platform\":\"macos\",\"command\":\"node --expose-gc ./node_modules/vitest/vitest.mjs bench src/renderer/src/components/editor/monaco-content-sync.undo-retention.bench.ts --pool=threads\",\"result\":\"passed\",\"durationSeconds\":5,\"summary\":\"The undoable 50 MiB control retained 104,858,630 undo-service bytes and 104,857,790 ArrayBuffer bytes; the read-only live-tail arm retained zero of both and remained non-undoable.\"}", + "Module-layout wave1 intentionally retires complete prohibited owning registrations in src/renderer/src/components/editor/EditorContent.monaco-lifecycle.test.tsx. Lost alarms: unmounts the prior path before reconciling a stale retained target model; keeps the diff editor mounted when a save updates the modified content; still remounts the diff editor for an explicit reload request. No equivalent replacement coverage or pass for a reduced selector is claimed. All unrelated selectors and historical receipts retain their original scope." ], "demotionRule": "Quarantine the Electron scenario if it flakes without a product or harness bug; demote if viewport/Find drift, renderer loss, or Electron memory retention exceeds the registered budgets." }, @@ -6003,12 +5809,12 @@ "providers": ["local", "daemon", "ssh", "remote-runtime", "wsl"], "coveredPlatforms": ["macos"], "coveredProviders": ["local", "daemon", "remote-runtime"], - "coverageNotes": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Partial mobile-presence suite retains only five authored callbacks: admitted preview-paste completion across phone takeover, desktop take-back superseding mobile input, desktop viewport write/restore geometry, and held-fit reclaim convergence. Other supplied floor/rollback/selection/viewport/grace/disconnect/reconnect/orphan-state alarms are lost. No per-source assertion object exists to reassign. The one affected dated mobile-view-authority receipt is retired whole into historical notes with its full original/currentCommand/raw data preserved; it is not active corroboration for reduced candidate bytes. Imported mobile-subscribe registrations and retained callbacks remain bounded to their actual source obligations, without equivalent replacement or physical-phone/native-PTY claims. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1709 removes low-value test definitions and retires affected assertion or execution-receipt claims without equivalent replacement coverage. Per-source reviews bound retained behavior and injected/native/remote limits. Unchanged assertions and receipts keep their original scope; gates lacking current active evidence are downgraded. Historical scope before this audit: Audit1683 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1627 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1623 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally deletes src/renderer/src/components/terminal-pane/pty-connection-hidden-tui-snapshot-replay.spec.ts: Loses rich hidden snapshot sequence replay/grid resize and forced repaint after hidden snapshot alarms, including live-trigger deduplication. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1320 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic host/parser, process-classifier, snapshot-publication, mixed-version, renderer, and macOS Electron coverage proves the local and shared paired-runtime contracts. Direct SSH intentionally publishes no shell proof and immediately preserves incumbent behavior. WSL, Windows ConPTY, Linux desktop, and paired headed/headless journeys remain gaps. The audit removed the isolated terminal-multiplex pending-escape-tail forwarding test. Its direct RPC snapshot field-copy alarm is lost; retained parser, snapshot and lifecycle suites do not establish equivalent RPC field coverage. Audit1320: src/renderer/src/components/terminal-pane/remote-runtime-pty-snapshot-escape-tail.test.ts removed. Snapshot pending escape/alternate-screen/shell metadata forwarding and negative app-store-read alarm disappears. No equivalent replacement coverage is claimed. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1391: src/renderer/src/components/terminal-pane/pty-connection-remote-pause-drop-notice.spec.ts reduced. Lose repeated quiet switches avoiding snapshots and legacy host without drop-report capability requesting a snapshot. Retained imported registrar uses fake transport/xterm writes, exercising real gap/restore lifecycle rather than actual terminal rendering. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1402: src/renderer/src/components/terminal-pane/pty-connection-park-reveal-model-snapshot.spec.ts reduced. Loses basic paired serialize/initial replay forwarding check; hidden alt-frame grid/precedence policy remains. No real terminal renderer claim. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1412: src/main/daemon/terminal-host-concurrent-create.test.ts reduced. Loses race deduplication, attach during unsettled ownership proof, retry after failed spawn, distinct-session parallelism, disposal waiting and shutdown retry-fencing alarms bundled with removed internal-call counts or real-time waits. No replacement-equivalence claim. src/main/daemon/terminal-checkpoint-serializer.test.ts reduced. Loses bounded native conversion/no-whole-candidate materialization and snapshot getter single-read alarms. Retained byte-size outcomes do not establish CPU/allocation bounds. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", + "coverageNotes": "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Partial mobile-presence suite retains only five authored callbacks: admitted preview-paste completion across phone takeover, desktop take-back superseding mobile input, desktop viewport write/restore geometry, and held-fit reclaim convergence. Other supplied floor/rollback/selection/viewport/grace/disconnect/reconnect/orphan-state alarms are lost. No per-source assertion object exists to reassign. The one affected dated mobile-view-authority receipt is retired whole into historical notes with its full original/currentCommand/raw data preserved; it is not active corroboration for reduced candidate bytes. Imported mobile-subscribe registrations and retained callbacks remain bounded to their actual source obligations, without equivalent replacement or physical-phone/native-PTY claims. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1709 removes low-value test definitions and retires affected assertion or execution-receipt claims without equivalent replacement coverage. Per-source reviews bound retained behavior and injected/native/remote limits. Unchanged assertions and receipts keep their original scope; gates lacking current active evidence are downgraded. Historical scope before this audit: Audit1683 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1627 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1623 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally deletes src/renderer/src/components/terminal-pane/pty-connection-hidden-tui-snapshot-replay.spec.ts: Loses rich hidden snapshot sequence replay/grid resize and forced repaint after hidden snapshot alarms, including live-trigger deduplication. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1320 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic host/parser, process-classifier, snapshot-publication, mixed-version, renderer, and macOS Electron coverage proves the local and shared paired-runtime contracts. Direct SSH intentionally publishes no shell proof and immediately preserves incumbent behavior. WSL, Windows ConPTY, Linux desktop, and paired headed/headless journeys remain gaps. The audit removed the isolated terminal-multiplex pending-escape-tail forwarding test. Its direct RPC snapshot field-copy alarm is lost; retained parser, snapshot and lifecycle suites do not establish equivalent RPC field coverage. Audit1320: src/renderer/src/components/terminal-pane/remote-runtime-pty-snapshot-escape-tail.test.ts removed. Snapshot pending escape/alternate-screen/shell metadata forwarding and negative app-store-read alarm disappears. No equivalent replacement coverage is claimed. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1391: src/renderer/src/components/terminal-pane/pty-connection-remote-pause-drop-notice.spec.ts reduced. Lose repeated quiet switches avoiding snapshots and legacy host without drop-report capability requesting a snapshot. Retained imported registrar uses fake transport/xterm writes, exercising real gap/restore lifecycle rather than actual terminal rendering. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1402: src/renderer/src/components/terminal-pane/pty-connection-park-reveal-model-snapshot.spec.ts reduced. Loses basic paired serialize/initial replay forwarding check; hidden alt-frame grid/precedence policy remains. No real terminal renderer claim. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1412: src/main/daemon/terminal-host-concurrent-create.test.ts reduced. Loses race deduplication, attach during unsettled ownership proof, retry after failed spawn, distinct-session parallelism, disposal waiting and shutdown retry-fencing alarms bundled with removed internal-call counts or real-time waits. No replacement-equivalence claim. src/main/daemon/terminal-checkpoint-serializer.test.ts reduced. Loses bounded native conversion/no-whole-candidate materialization and snapshot getter single-read alarms. Retained byte-size outcomes do not establish CPU/allocation bounds. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", "motivatingLinks": ["https://github.com/stablyai/orca/pull/16379"], "invariant": "After a TUI exits or is killed, reveal, reattach, snapshot replay, or renderer remount must not deliver terminal-owned mouse or alternate-screen protocol bytes to the surviving shell. Recovery is an ordered output barrier in the daemon session data path: an OSC 133;D completing while the alternate screen is still active pauses the stream at that exact byte boundary, a fresh execution-host process inspection proves shell ownership, and on proof a mode reset is injected as in-stream output so every consumer converges by parsing the same bytes and the queued post-boundary shell output (the prompt) lands on the normal buffer. Snapshots are pure reads. Any failure — refuted proof, timeout, queue overflow, session death, disposal — flushes the queue unmodified, preserving incumbent behavior; later command or mode bytes revoke proof. Clean alternate-screen exits prove ownership asynchronously without pausing.", - "oracle": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Partial mobile-presence suite retains only five authored callbacks: admitted preview-paste completion across phone takeover, desktop take-back superseding mobile input, desktop viewport write/restore geometry, and held-fit reclaim convergence. Other supplied floor/rollback/selection/viewport/grace/disconnect/reconnect/orphan-state alarms are lost. No per-source assertion object exists to reassign. The one affected dated mobile-view-authority receipt is retired whole into historical notes with its full original/currentCommand/raw data preserved; it is not active corroboration for reduced candidate bytes. Imported mobile-subscribe registrations and retained callbacks remain bounded to their actual source obligations, without equivalent replacement or physical-phone/native-PTY claims. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1709 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1683 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Run one fixed child-TUI journey for normal exit and cleanup-free SIGKILL. Assert renderer and host normal-buffer/non-mouse state, host snapshot terminalOwner metadata, exact PTY writes with no post-exit mouse report, unrelated-pane survival, post-boundary prompt output preserved (normal exit), ordered proof invalidation, bounded settlement and bail-out flush, one inspection per unclean episode with zero scans for ordinary output, split-escape safety at every chunk boundary, and old/new client-host fallback parity.", + "oracle": "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Partial mobile-presence suite retains only five authored callbacks: admitted preview-paste completion across phone takeover, desktop take-back superseding mobile input, desktop viewport write/restore geometry, and held-fit reclaim convergence. Other supplied floor/rollback/selection/viewport/grace/disconnect/reconnect/orphan-state alarms are lost. No per-source assertion object exists to reassign. The one affected dated mobile-view-authority receipt is retired whole into historical notes with its full original/currentCommand/raw data preserved; it is not active corroboration for reduced candidate bytes. Imported mobile-subscribe registrations and retained callbacks remain bounded to their actual source obligations, without equivalent replacement or physical-phone/native-PTY claims. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1709 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1683 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Run one fixed child-TUI journey for normal exit and cleanup-free SIGKILL. Assert renderer and host normal-buffer/non-mouse state, host snapshot terminalOwner metadata, exact PTY writes with no post-exit mouse report, unrelated-pane survival, post-boundary prompt output preserved (normal exit), ordered proof invalidation, bounded settlement and bail-out flush, one inspection per unclean episode with zero scans for ordinary output, split-escape safety at every chunk boundary, and old/new client-host fallback parity.", "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/main/daemon/shell-readiness/testing/terminal-shell-recovery-barrier.test.ts src/main/daemon/sessions/testing/session-shell-recovery.test.ts src/main/daemon/sessions/testing/session.test.ts src/main/daemon/terminal-host/testing/terminal-host-concurrent-create.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/daemon/history/restoration/testing/daemon-restore-scrollback-depth.test.ts src/main/daemon/history/restoration/testing/terminal-checkpoint-serializer.test.ts src/main/providers/agent-foreground-process.test.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/terminal/layout/mobile-presence-lock.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/shared/terminal/protocol/escape/terminal-partial-escape-tail.test.ts src/shared/terminal/protocol/escape/terminal-partial-escape-tail.fuzz.test.ts --reporter=dot", + "pnpm exec vitest run --config config/vitest.config.ts src/main/daemon/shell-readiness/testing/terminal-shell-recovery-barrier.test.ts src/main/daemon/sessions/testing/session-shell-recovery.test.ts src/main/daemon/sessions/testing/session.test.ts src/main/daemon/terminal-host/testing/terminal-host-concurrent-create.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/daemon/history/restoration/testing/daemon-restore-scrollback-depth.test.ts src/main/daemon/history/restoration/testing/terminal-checkpoint-serializer.test.ts src/main/providers/agent-foreground-process.test.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/terminal/layout/mobile-presence-lock.test.ts src/shared/terminal/protocol/escape/terminal-partial-escape-tail.test.ts src/shared/terminal/protocol/escape/terminal-partial-escape-tail.fuzz.test.ts --reporter=dot", "pnpm exec vitest run --config config/vitest.config.ts tests/e2e/cross-version-wire/cross-version-terminal-wire.unit.test.ts --reporter=dot", "pnpm exec electron-vite build --mode e2e", "SKIP_BUILD=1 pnpm exec playwright test tests/e2e/terminal-hidden-child-tui-kill-mode-reset.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1" @@ -6024,9 +5830,6 @@ "src/main/providers/agent-foreground-process.test.ts", "src/main/runtime/construction/orca-runtime.test.ts", "src/main/runtime/terminal/layout/mobile-presence-lock.test.ts", - "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts", - "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts", - "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts", "src/shared/terminal/protocol/escape/terminal-partial-escape-tail.test.ts", "src/shared/terminal/protocol/escape/terminal-partial-escape-tail.fuzz.test.ts", "tests/e2e/cross-version-wire/cross-version-terminal-wire.unit.test.ts", @@ -6091,6 +5894,9 @@ "Keep missing-proof mixed-version behavior identical to the incumbent client path." ], "knownGaps": [ + "NEXT65 current scope qualification: The NEXT65 knownGaps entries below govern the changed selectors and qualify any broader coverage implication in this gate’s unchanged oracle/coverageNotes narratives. Those narratives and preserved dated evidenceRuns retain their historical text and original exact execution scopes only; no fresh execution, transferred pass or equivalent replacement coverage is claimed. Upstream case removals remain upstream; original NEXT65 proposal descriptions grant no duplicate retirement credit.", + "NEXT65 active selector scope reduction (including directory-selected whole-file retirements): src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts. Remove complete registrations or registrar files within the selected scope for src/renderer/src/components/terminal-pane/pty-connection/reattach/pty-connection-daemon-snapshot-replay.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/emulation/pty-connection-mode-2031-subscriptions.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/geometry/pty-connection-visibility-resume-size.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/reattach/pty-connection-stale-daemon-snapshot-replay.spec.ts. Intentionally lose these named regression alarms without replacement: catches a subscribed pane up once per mode change across repeated reconnects — Mode2031 theme reporting catch-up/deduplication across repeated reconnects loses this direct protocol example.; defers to the viewer holding the grid, then catches up once on release — Held-grid viewer deferral and one catch-up/current-mode resending on release lose this direct protocol example.; repairs grid drift with a trailing probe when output stops inside the settled interval — A trailing drift probe after the last output frame loses this direct alarm.; skips foreground grid drift repair while mobile owns the PTY without a fit override — Mobile driver ownership suppressing foreground drift repair without override loses this direct alarm.; reports desktop geometry without resizing while a mobile-fit override is active — Desktop geometry reporting without resizing a mobile-owned grid loses this direct alarm.; defers a remote-desktop viewport claim until structural replay completes — Remote-desktop viewport claim waiting for structural replay completion loses this direct alarm.; skips observed desktop reassertion while mobile owns the PTY without a fit override — Observed desktop reassertion suppression under mobile ownership loses this direct alarm.; queues re-asserted resizes while pane resize holds are active — Resize hold release flushing the latest reasserted grid loses this direct alarm.; reasserts a remote grid only when visible (%s) — Visible-only remote grid reassertion loses its visible and hidden examples.; claims a focused visible remote mirror once when its passive fit hold arrives — Focused visible passive mirror claiming once, with unfocused and late repeat suppression, loses this direct sequence alarm.; does NOT re-assert while a mobile-fit override parks the PTY at phone dims — Phone fit hold suppressing visibility-resume PTY reassertion loses this direct alarm.; does NOT forward when the pane is hidden again before getSize resolves (stale hop) — Late size lookup after re-hide refusing a hidden-tab SIGWINCH loses this direct adverse-ordering alarm.; clears the captured pen for a normal-buffer fallback reattach — Fallback normal-buffer reattach clearing captured pen and dirty background loses this direct example.; waits for a recovered destination fit before forwarding its grid or live output — Recovered destination fitting before forwarding grid or live output loses this direct example.; suppresses the deferred reattach grid push when mobile claims the PTY while hidden — Mobile takeover while hidden suppressing deferred reattach grid forwarding loses this direct example.; drops stale callbacks but delivers fresh replacement output after an old replay clear — Fresh replacement output winning over stale callbacks after old replay clear loses this direct example.. Surviving parent statements and sibling registrations are preserved, but these reduced parent selectors have no fresh execution or transferred historical pass. Unrelated complete dated receipts retain only their original exact scopes; no equivalent replacement, rendered UI, provider, mobile, or cross-platform coverage is claimed.", + "NEXT65 historical original active parent-selector fields (verbatim native JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/daemon/shell-readiness/testing/terminal-shell-recovery-barrier.test.ts src/main/daemon/sessions/testing/session-shell-recovery.test.ts src/main/daemon/sessions/testing/session.test.ts src/main/daemon/terminal-host/testing/terminal-host-concurrent-create.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/daemon/history/restoration/testing/daemon-restore-scrollback-depth.test.ts src/main/daemon/history/restoration/testing/terminal-checkpoint-serializer.test.ts src/main/providers/agent-foreground-process.test.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/terminal/layout/mobile-presence-lock.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/shared/terminal/protocol/escape/terminal-partial-escape-tail.test.ts src/shared/terminal/protocol/escape/terminal-partial-escape-tail.fuzz.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts tests/e2e/cross-version-wire/cross-version-terminal-wire.unit.test.ts --reporter=dot\",\n \"pnpm exec electron-vite build --mode e2e\",\n \"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/terminal-hidden-child-tui-kill-mode-reset.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\"\n ]\ntestFiles: [\n \"src/main/daemon/shell-readiness/testing/terminal-shell-recovery-barrier.test.ts\",\n \"src/main/daemon/sessions/testing/session-shell-recovery.test.ts\",\n \"src/main/daemon/sessions/testing/session.test.ts\",\n \"src/main/daemon/terminal-host/testing/terminal-host-concurrent-create.test.ts\",\n \"src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts\",\n \"src/main/daemon/history/restoration/testing/daemon-restore-scrollback-depth.test.ts\",\n \"src/main/daemon/history/restoration/testing/terminal-checkpoint-serializer.test.ts\",\n \"src/main/providers/agent-foreground-process.test.ts\",\n \"src/main/runtime/construction/orca-runtime.test.ts\",\n \"src/main/runtime/terminal/layout/mobile-presence-lock.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"src/shared/terminal/protocol/escape/terminal-partial-escape-tail.test.ts\",\n \"src/shared/terminal/protocol/escape/terminal-partial-escape-tail.fuzz.test.ts\",\n \"tests/e2e/cross-version-wire/cross-version-terminal-wire.unit.test.ts\",\n \"tests/e2e/terminal-hidden-child-tui-kill-mode-reset.spec.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/main/daemon/sessions/testing/session-shell-recovery.test.ts\",\n \"assertions\": [\n \"post-kill shell output survives into the normalized snapshot instead of the discarded alt buffer\",\n \"a snapshot taken during a split escape keeps the pending tail intact and stale proof is revoked by the completing bytes\"\n ]\n },\n {\n \"file\": \"src/shared/terminal/protocol/escape/terminal-partial-escape-tail.fuzz.test.ts\",\n \"assertions\": [\n \"the pending tail this gate threads over the wire folds identically at every code-unit split of the combined stream, including boundaries landing inside oscEsc/stringEsc\",\n \"the split sweep runs over an alphabet carrying CAN, SUB, doubled ESC inside OSC/DCS/SOS/PM/APC, BEL, C1 ST, NUL, DEL, intermediates, CJK, astral, and lone surrogates\"\n ]\n },\n {\n \"file\": \"tests/e2e/terminal-hidden-child-tui-kill-mode-reset.spec.ts\",\n \"assertions\": [\n \"normal exit and cleanup-free SIGKILL both restore a visible clean shell marker\",\n \"renderer logical buffer is normal and mouse tracking is disabled after host-proven recovery\",\n \"real pointer input writes no SGR mouse report to the surviving shell\",\n \"an unrelated pane remains live\"\n ]\n }\n ]", "Audit3077 deletes the Kitty restore/reset integration suite and its registrar. The input-and-repaint driver remains populated; the retired emission/mirror/host-request alarms have no equivalent replacement.", "Audit3061 retires the park-model supplied snapshot suite and nominal mode, cursor, focus, geometry and remote resume metadata variants. Their distinct alarms are intentionally lost; six retained mode/remote cases preserve selected tail-order, authority and parse-readiness boundaries without equivalent replacement. Existing selectors and dated evidence retain their original scope.", "Audit3053 reduces hidden-replay coverage by retiring nominal overlap, resize, cursor metadata and standalone stalled-restore variants. Timeout, overflow, identity/generation fences and retained live-output coordination remain; the removed alarms are intentionally lost without equivalent replacement. Existing commands, assertion references and dated evidence retain their original scope.", @@ -6130,7 +5936,9 @@ "Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/mobile-session-tabs-part-14.spec'). src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-03.spec.ts: arms the stale-title timer for a seeded working title; arms the Command Code scrape from the noted spawn command; prefers the tracked title over a stale renderer lastTitle in the hydration seed; writes recent output into the current runtime output map; uses a later title handler replacement with the runtime receiver; calls the current injected listener with the runtime receiver; keeps optional reconciliation lazy after its callback is removed. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-14.spec.ts: lists them, so a paired client can mirror a migrated editor; closes one by retiring it from the host session; keeps an unsaved draft unless the close is forced; shares aggregate work but leaves a replacement pending promise alone; lets a targeted refresh finish while an aggregate refresh waits; refuses a close when the store lacks %s before the guard; keeps a later missing %s on the original caught failure path. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed.", "Audit2061 (sources2059/2060): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/mobile-session-tabs-headless-chat-rebuild.spec'); await import('./orca-runtime-tests/mobile-session-tabs-cold-serve-hydrate.spec'); await import('./orca-runtime-tests/worktree-removal-execution-host.spec'); await import('./orca-runtime-tests/terminal-spawn-dispatch.spec'). src/main/runtime/orca-runtime-tests/headless-snapshots-part-02.spec.ts: replaces a cwd parsed before late WSL context with the provider cwd; keeps a live WSL cwd that arrives during late-context snapshot recovery; infers local reconstructed WSL context from a WSL UNC worktree; clears stale terminal file URI hostnames after empty-host OSC7 cwd updates; serializes SSH headless OSC7 cwd as POSIX when the desktop runtime is on Windows; keeps Windows SSH OSC7 cwd as a drive path when the desktop runtime is POSIX; serializes Windows SSH headless OSC7 cwd as a drive path on POSIX desktops; infers restored SSH connection identity from app-scoped PTY ids. src/main/runtime/orca-runtime-tests/mobile-session-tabs-headless-chat-rebuild.spec.ts: survives the rebuild that closing a saved editor tab forces; keeps its place in the tab order when the host lists the workspace again; lists tabs to phones in the order desktop clients draw after a rebuild; keeps the place a window gave a chat across a graph resend before the chat is restored. src/main/runtime/orca-runtime-tests/mobile-session-tabs-cold-serve-hydrate.spec.ts: lists every persisted terminal of a windowless host after a cold restart; lists every persisted terminal in the all-worktrees inventory after a cold restart; lists persisted editor tabs beside the terminals after a cold restart; restores a persisted split group layout on the cold rebuild; restores the saved active group of a split even when it is not the first group; falls back to the active tab group when the saved active group was not restored; keeps the headless group active when there is no persisted split; keeps phone and CLI creates in the group they joined across a cold restart. src/main/runtime/orca-runtime-tests/worktree-removal-failed-retry.spec.ts: lists the leftover with its error, though Git no longer does; takes the normal delete once Git registers a checkout at the path again; joins a retry another client started while this Delete listed Git; shows the failed row with its error, not the scan cached before the delete. src/main/runtime/orca-runtime-tests/worktree-removal-execution-host.spec.ts: refuses an SSH row whose host is unreachable instead of deleting here; refuses a runtime row with no nested SSH target rather than deleting locally; refuses a runtime row that also names a nested SSH target; retains runtime purge dispatch in a recovery job; uses the runtime helper override before resuming an interrupted removal; uses the runtime helper override before retrying a failed removal; captures the watcher callback and retains its job-host receiver; reads the current runtime removal queue. src/main/runtime/orca-runtime-tests/terminal-spawn-dispatch.spec.ts: reports the spawn request before it leaves for the pty controller; reports it even when the spawn itself then fails; does not report it when the create fails before any spawn request; captures the admission method before reading the incarnation; captures the record method before evaluating its state object; skips database payload serialization when no database exists; skips a throwing database payload when no database exists; keeps the database method and receiver captured before its payload; captures the canonical map method before a binding getter changes it; completes the captured replacement fence without another map lookup. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed.", "Module layout policy correction: retire the remaining program-status-osc.spec.ts event-projection case (production/mock-derived pane-key oracle) and sign-in timeout case (real setTimeout wait with Date-only fake clocks). The runtime test registrar no longer imports that file. No replacement coverage or fresh execution is claimed for these losses; historical receipts retain their original source scope.", - "Module layout policy correction: retire the two remaining worktree-ps-agent-row-dismissal.spec.ts registrations. The remint/dismissal/exit case computed expected snapshotVersion increments from a production snapshot and used real-clock vi.waitFor; the legacy OSC case derived its expected paneKey from the production layout-owner switch. The runtime registrar no longer imports this file. These public projection scenarios have no replacement coverage or fresh execution claimed; all historical receipts and earlier loss notes retain their original source scope." + "Module layout policy correction: retire the two remaining worktree-ps-agent-row-dismissal.spec.ts registrations. The remint/dismissal/exit case computed expected snapshotVersion increments from a production snapshot and used real-clock vi.waitFor; the legacy OSC case derived its expected paneKey from the production layout-owner switch. The runtime registrar no longer imports this file. These public projection scenarios have no replacement coverage or fresh execution claimed; all historical receipts and earlier loss notes retain their original source scope.", + "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed.\nOriginal active selector fields (historical raw native JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/daemon/shell-readiness/testing/terminal-shell-recovery-barrier.test.ts src/main/daemon/sessions/testing/session-shell-recovery.test.ts src/main/daemon/sessions/testing/session.test.ts src/main/daemon/terminal-host/testing/terminal-host-concurrent-create.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/daemon/history/restoration/testing/daemon-restore-scrollback-depth.test.ts src/main/daemon/history/restoration/testing/terminal-checkpoint-serializer.test.ts src/main/providers/agent-foreground-process.test.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/terminal/layout/mobile-presence-lock.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/shared/terminal/protocol/escape/terminal-partial-escape-tail.test.ts src/shared/terminal/protocol/escape/terminal-partial-escape-tail.fuzz.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts tests/e2e/cross-version-wire/cross-version-terminal-wire.unit.test.ts --reporter=dot\",\n \"pnpm exec electron-vite build --mode e2e\",\n \"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/terminal-hidden-child-tui-kill-mode-reset.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\"\n ]\ntestFiles: [\n \"src/main/daemon/shell-readiness/testing/terminal-shell-recovery-barrier.test.ts\",\n \"src/main/daemon/sessions/testing/session-shell-recovery.test.ts\",\n \"src/main/daemon/sessions/testing/session.test.ts\",\n \"src/main/daemon/terminal-host/testing/terminal-host-concurrent-create.test.ts\",\n \"src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts\",\n \"src/main/daemon/history/restoration/testing/daemon-restore-scrollback-depth.test.ts\",\n \"src/main/daemon/history/restoration/testing/terminal-checkpoint-serializer.test.ts\",\n \"src/main/providers/agent-foreground-process.test.ts\",\n \"src/main/runtime/construction/orca-runtime.test.ts\",\n \"src/main/runtime/terminal/layout/mobile-presence-lock.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"src/shared/terminal/protocol/escape/terminal-partial-escape-tail.test.ts\",\n \"src/shared/terminal/protocol/escape/terminal-partial-escape-tail.fuzz.test.ts\",\n \"tests/e2e/cross-version-wire/cross-version-terminal-wire.unit.test.ts\",\n \"tests/e2e/terminal-hidden-child-tui-kill-mode-reset.spec.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/main/daemon/sessions/testing/session-shell-recovery.test.ts\",\n \"assertions\": [\n \"post-kill shell output survives into the normalized snapshot instead of the discarded alt buffer\",\n \"a snapshot taken during a split escape keeps the pending tail intact and stale proof is revoked by the completing bytes\"\n ]\n },\n {\n \"file\": \"src/shared/terminal/protocol/escape/terminal-partial-escape-tail.fuzz.test.ts\",\n \"assertions\": [\n \"the pending tail this gate threads over the wire folds identically at every code-unit split of the combined stream, including boundaries landing inside oscEsc/stringEsc\",\n \"the split sweep runs over an alphabet carrying CAN, SUB, doubled ESC inside OSC/DCS/SOS/PM/APC, BEL, C1 ST, NUL, DEL, intermediates, CJK, astral, and lone surrogates\"\n ]\n },\n {\n \"file\": \"tests/e2e/terminal-hidden-child-tui-kill-mode-reset.spec.ts\",\n \"assertions\": [\n \"normal exit and cleanup-free SIGKILL both restore a visible clean shell marker\",\n \"renderer logical buffer is normal and mouse tracking is disabled after host-proven recovery\",\n \"real pointer input writes no SGR mouse report to the surviving shell\",\n \"an unrelated pane remains live\"\n ]\n }\n ]", + "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Original scope text is retained as the exact suffix of coverageNotes/oracle; historical evidence is unchanged." ], "demotionRule": "Keep experimental or demote if missing ownership proof changes incumbent behavior, a live TUI loses mouse/focus modes, foreground inspection enters ordinary output/reveal paths, or the focused Electron journey flakes without an identified product or harness fault." }, @@ -6388,7 +6196,7 @@ "providers": ["local", "daemon", "ssh", "runtime"], "coveredPlatforms": ["macos"], "coveredProviders": ["local", "daemon", "ssh", "runtime"], - "coverageNotes": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1904 reduces persistence-pty-binding-reconciliation from six to four definitions, intentionally losing legacy remap-load and first-binding projection alarms. Current selector/testFile remains valid, with no selected-source assertionRef or active matching receipt. The six unchanged close/continuity receipts keep their exact original scope; no new broad gate or replacement evidence is claimed. Historical prior account (preserved verbatim): Audit1683 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1674 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1630 removes low-value Git, GitHub/GitLab and IPC projections, argument inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained cancellation, ownership, authorization, filesystem and SQLite boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1627 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Live macOS Electron tests prove exact local PTY disappearance after parked-tab close and detached-pgid descendant death after agent close. A deterministic final-pane interleaving now proves durable tab retirement commits before externally owned PTY teardown can publish graph loss, and preserves an unrelated live canary through duplicate exit retirement. Deterministic tests also cover final-pane CLI close durability and same-incarnation handle continuity; persisted-empty restart suppression remains historical Electron evidence, alongside replacement and hard graph-loss stale fencing, preallocated-handle supersession, daemon and SSH routing, local/daemon pending-snapshot ownership across natural exit, stale-root descendant-signal suppression, graceful-to-immediate kill upgrades, duplicate-kill completion sharing, locale-stable bounded/fresh/coalesced process-table reads, deadline-safe successor scans, cycle-safe linear descendant traversal, target-only escalation indexing, 32-wide bulk teardown, source-scan timestamp identity, same-second PID ambiguity, ordinary runtime close ownership, unified-only hydration, split ownership, pane detach transfer, restart alias hydration, and late-hook suppression; live Linux, Windows, WSL, SSH, and remote-runtime process evidence remains pending. A paired macOS Electron journey (real attached-window desktop host plus a separate real paired desktop client, isolated profiles) covers the inverse authority direction for host-created terminals: a renderer graph sync must not retire a tab that `orca terminal create` made. The retained paired journey covers the incident shape the real CLI produces - a repo's FIRST host-created terminal, since src/cli/handlers/terminal.ts sends no clientMutationId. The repeated target-after-unrelated-terminal journey was retired; its separate ordering alarm is no longer provided. An earlier reading of this gate called a preceding host-created terminal and a `clientMutationId` protective; main-process instrumentation refuted that. The renderer's stale session write deleted the host tab from persistence in every variant, and only the delete's timing relative to the measured sync differed, so those rows were false negatives of a single-sync oracle. The defect was in persistence: persistPtyBinding did not raise the repo's terminal topology fence for the first host-admitted tab, leaving the renderer's pre-create tab list free to replay over it. Elapsed time and paired-client mirroring never decided anything. A windowless `orca serve` parity arm runs the identical oracle and passes on both the merge-base and the branch, confirming that topology does not exhibit the defect (the gate it turns on is window-conditioned) and that making the host binding unconditional did not regress it. All of this is macOS-local only. The reported incident occurred on a physical Windows host; we did not run against one. The claim that the mechanism is platform-independent rests on the authoritative-window gate and publication-epoch inheritance being OS-agnostic, not on Windows evidence, so no ConPTY, Windows window-lifecycle, update, or sleep behavior is covered here. The synthetic default-tabs unit suite was retired: its explicit-empty/default-tab assertions no longer supply unit evidence. This retirement supplies no new persisted-restart, runtime-routing, cross-platform, or mobile evidence; existing historical runs and counts remain historical. The test-value audit removes the isolated re-retirement-token/epoch, activity-cutoff, idle-reattach and sibling-restore examples. The cited exact retirement and chained-detach cases remain unchanged, alongside closed-tab revival fencing and alias churn bounds. Their retained evidence is not equivalent coverage for every removed permutation; historical execution evidence is unchanged. The test-value audit removed shared-owner snapshot/cold-restore reference examples, a direct absent-tab PTY-index update, caller-supplied host-owned teardown boolean/no-dispatch, and a single local-provider rejection example. It also removed hand-built detach-retention comparator examples for different runs, handles, provider identities, and handle-less rows without independent identity ingress. Their specific snapshot, missing-tab, host-decision, rejection-count, and comparator alarms are lost. Current exact authority/ordering and chained-detach cases remain retained; they do not establish equivalent coverage for the removed examples. Historical commands, counts, results, and red-green narratives remain historical. The test-value audit retires terminals-explicit-empty-hydration.test.ts in full: its direct git/folder empty-tombstone assertions and literal-flag auto-create helper check are lost. The store test never mounted the initial-terminal effect or performed a persisted restart. The audit also removes terminal-tab-retirement.test.ts pure ownership/alias/routing plan inventories and sleeping-record map assertions; its former 100-tab scan-count case was subsequently retired too; no assertion remains in that suite. These retained and historical cases do not establish equivalent tombstone, default-create, provider teardown, cross-platform, or mobile coverage. Historical commands, results, counts, and red-green narratives remain historical. The subsequent test-value audit deletes the remaining terminal-tab-retirement.test.ts suite. Its 100-tab case asserted only returned plan count and one outer scan per ownership store; it never inspected per-tab plans or provider teardown. Those direct cardinality/work-count alarms are intentionally lost. Historical executed commands, results, counts and red-green narratives remain historical; no equivalent replacement or new runtime, platform or mobile evidence is claimed. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1392: src/main/agent-hooks/server-pane-authority.test.ts reduced. Retires one duplicate-transfer no-op listener count and latest pty/timestamp callback fixture. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", + "coverageNotes": "Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Lose the complete completed-worker-retirement-resume suite: exact terminal-close resume-record revocation, PTY-exit recovery retention and settled-worker release examples. Remove its exact command token or standalone command, testFiles entry and assertionRef, archiving complete prior fields. Independent receipts retain original scopes. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit3323 (reconciled source audit3320) intentionally retires seven low-value renderer authority/retirement examples: retires one pane, clears resume authority, and rejects late status without harming siblings — Late status reviving a retired pane, sibling damage, or resume authority left behind.; can retire live pane authority while retaining its sleeping session — Retiring live authority accidentally dropping a retained sleeping session.; keeps a physical pane routed through chained detaches until its current owner closes — Chained detach alias routing broken after original owner closes, or alias survives final close.; forgets routing aliases for purged tabs — Purged-tab routing aliases lingering.; retires split, relay, deferred, and pending sessions for a parked tab — Split, relay, deferred or pending session omitted from teardown, sleeping-record sibling damaged, parked disposer skipped.; retires parked ownership before teardown and sweeps published state before unified close — Parked cleanup/provider teardown/state removal/sweep/unified-close ordering changes.; starts mixed provider teardown and classifies both rejection kinds after synchronous retirement — Mixed teardown failures blocking retirement, or local/runtime warning counts misclassified.. Remove the exact-pane-retirement and chained-detach assertion references because their source cases are gone. Other retained cases do not replace these alarms. Preserve all dated evidenceRuns and prior history with their original source scope; no fresh execution or historical import-closure equivalence is claimed. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1904 reduces persistence-pty-binding-reconciliation from six to four definitions, intentionally losing legacy remap-load and first-binding projection alarms. Current selector/testFile remains valid, with no selected-source assertionRef or active matching receipt. The six unchanged close/continuity receipts keep their exact original scope; no new broad gate or replacement evidence is claimed. Historical prior account (preserved verbatim): Audit1683 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1674 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1630 removes low-value Git, GitHub/GitLab and IPC projections, argument inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained cancellation, ownership, authorization, filesystem and SQLite boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1627 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Live macOS Electron tests prove exact local PTY disappearance after parked-tab close and detached-pgid descendant death after agent close. A deterministic final-pane interleaving now proves durable tab retirement commits before externally owned PTY teardown can publish graph loss, and preserves an unrelated live canary through duplicate exit retirement. Deterministic tests also cover final-pane CLI close durability and same-incarnation handle continuity; persisted-empty restart suppression remains historical Electron evidence, alongside replacement and hard graph-loss stale fencing, preallocated-handle supersession, daemon and SSH routing, local/daemon pending-snapshot ownership across natural exit, stale-root descendant-signal suppression, graceful-to-immediate kill upgrades, duplicate-kill completion sharing, locale-stable bounded/fresh/coalesced process-table reads, deadline-safe successor scans, cycle-safe linear descendant traversal, target-only escalation indexing, 32-wide bulk teardown, source-scan timestamp identity, same-second PID ambiguity, ordinary runtime close ownership, unified-only hydration, split ownership, pane detach transfer, restart alias hydration, and late-hook suppression; live Linux, Windows, WSL, SSH, and remote-runtime process evidence remains pending. A paired macOS Electron journey (real attached-window desktop host plus a separate real paired desktop client, isolated profiles) covers the inverse authority direction for host-created terminals: a renderer graph sync must not retire a tab that `orca terminal create` made. The retained paired journey covers the incident shape the real CLI produces - a repo's FIRST host-created terminal, since src/cli/handlers/terminal.ts sends no clientMutationId. The repeated target-after-unrelated-terminal journey was retired; its separate ordering alarm is no longer provided. An earlier reading of this gate called a preceding host-created terminal and a `clientMutationId` protective; main-process instrumentation refuted that. The renderer's stale session write deleted the host tab from persistence in every variant, and only the delete's timing relative to the measured sync differed, so those rows were false negatives of a single-sync oracle. The defect was in persistence: persistPtyBinding did not raise the repo's terminal topology fence for the first host-admitted tab, leaving the renderer's pre-create tab list free to replay over it. Elapsed time and paired-client mirroring never decided anything. A windowless `orca serve` parity arm runs the identical oracle and passes on both the merge-base and the branch, confirming that topology does not exhibit the defect (the gate it turns on is window-conditioned) and that making the host binding unconditional did not regress it. All of this is macOS-local only. The reported incident occurred on a physical Windows host; we did not run against one. The claim that the mechanism is platform-independent rests on the authoritative-window gate and publication-epoch inheritance being OS-agnostic, not on Windows evidence, so no ConPTY, Windows window-lifecycle, update, or sleep behavior is covered here. The synthetic default-tabs unit suite was retired: its explicit-empty/default-tab assertions no longer supply unit evidence. This retirement supplies no new persisted-restart, runtime-routing, cross-platform, or mobile evidence; existing historical runs and counts remain historical. The test-value audit removes the isolated re-retirement-token/epoch, activity-cutoff, idle-reattach and sibling-restore examples. The cited exact retirement and chained-detach cases remain unchanged, alongside closed-tab revival fencing and alias churn bounds. Their retained evidence is not equivalent coverage for every removed permutation; historical execution evidence is unchanged. The test-value audit removed shared-owner snapshot/cold-restore reference examples, a direct absent-tab PTY-index update, caller-supplied host-owned teardown boolean/no-dispatch, and a single local-provider rejection example. It also removed hand-built detach-retention comparator examples for different runs, handles, provider identities, and handle-less rows without independent identity ingress. Their specific snapshot, missing-tab, host-decision, rejection-count, and comparator alarms are lost. Current exact authority/ordering and chained-detach cases remain retained; they do not establish equivalent coverage for the removed examples. Historical commands, counts, results, and red-green narratives remain historical. The test-value audit retires terminals-explicit-empty-hydration.test.ts in full: its direct git/folder empty-tombstone assertions and literal-flag auto-create helper check are lost. The store test never mounted the initial-terminal effect or performed a persisted restart. The audit also removes terminal-tab-retirement.test.ts pure ownership/alias/routing plan inventories and sleeping-record map assertions; its former 100-tab scan-count case was subsequently retired too; no assertion remains in that suite. These retained and historical cases do not establish equivalent tombstone, default-create, provider teardown, cross-platform, or mobile coverage. Historical commands, results, counts, and red-green narratives remain historical. The subsequent test-value audit deletes the remaining terminal-tab-retirement.test.ts suite. Its 100-tab case asserted only returned plan count and one outer scan per ownership store; it never inspected per-tab plans or provider teardown. Those direct cardinality/work-count alarms are intentionally lost. Historical executed commands, results, counts and red-green narratives remain historical; no equivalent replacement or new runtime, platform or mobile evidence is claimed. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1392: src/main/agent-hooks/server-pane-authority.test.ts reduced. Retires one duplicate-transfer no-op listener count and latest pty/timestamp callback fixture. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", "motivatingLinks": [ "https://linear.app/stably/issue/STA-4327", "https://github.com/stablyai/orca/pull/14590", @@ -6397,11 +6205,11 @@ "https://github.com/stablyai/orca/issues/14524" ], "invariant": "Close permanently removes the owned provider session, agent descendants, persisted tab/layout authority, and resume authority even when no TerminalPane is mounted; final-pane CLI close commits durable tab retirement before PTY stop can publish graph loss, does not acknowledge before that retirement, and treats the later exit retirement as idempotent. Workspace-wide CLI close applies that same durable contract to every terminal in exactly one worktree, including pinned and persisted-only surfaces, without touching sibling-worktree PTYs or resume records. A persisted explicit-empty state prevents initial-tab fallback from repopulating the workspace after reload or restart. A handle remains valid while the same provider-attested PTY incarnation survives renderer reload or re-key, and becomes stale without adopting a replacement incarnation. A terminating id remains reserved through natural exit, duplicate callers await the same completion, and immediate teardown upgrades any graceful request without signalling a recycled PID or a descendant tree after root ownership is lost; process-table work is locale-stable, bounded, fresh for each post-start request, same-turn coalesced, and begins within the requesting caller's deadline, including bulk worktree cleanup; detach and park preserve ownership; aliases prevent a detached agent's immutable physical pane key from being retired with its former tab.", - "oracle": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1904 reduces persistence-pty-binding-reconciliation from six to four definitions, intentionally losing legacy remap-load and first-binding projection alarms. Current selector/testFile remains valid, with no selected-source assertionRef or active matching receipt. The six unchanged close/continuity receipts keep their exact original scope; no new broad gate or replacement evidence is claimed. Historical prior account (preserved verbatim): Audit1683 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1674 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Capture exact tab, pane, PTY, handle, incarnation, and persisted layout identities. Final-pane terminal.close must invoke one durability-acknowledged tab retirement before exact PTY teardown; controlled PTY exit and graph removal afterward must remain idempotent, omit the target from persistence and provider inventory, and leave an unrelated canary handle live. terminal.closeAll must force-retire every pinned and unpinned target surface, clear its persisted agent-resume and incarnation records, await authoritative PTY exit, preserve a sibling worktree's tab, PTY, and resume authority, and return an unverifiable failure instead of claiming exit when the owning host does not confirm a stop. The ordinary path stays pending until the persisted row is removed and never falls back to the fire-and-forget pane event; reload/restart must keep the explicitly emptied worktree at zero terminal tabs and provider sessions. Reloading the renderer with the same tab/pane/PTY/incarnation must keep the handle readable; changing only the incarnation behind the same PTY id, losing the authoritative graph, or superseding the renderer handle with a preallocated handle must reject the old handle with terminal_handle_stale. Parked-close tests prove the exact PTY disappears; descendant/process tests keep natural exits reserved, upgrade teardown safely, bound/coalesce process-table work, and protect recycled identities.", + "oracle": "Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Lose the complete completed-worker-retirement-resume suite: exact terminal-close resume-record revocation, PTY-exit recovery retention and settled-worker release examples. Remove its exact command token or standalone command, testFiles entry and assertionRef, archiving complete prior fields. Independent receipts retain original scopes. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit3323 (reconciled source audit3320) intentionally retires seven low-value renderer authority/retirement examples: retires one pane, clears resume authority, and rejects late status without harming siblings — Late status reviving a retired pane, sibling damage, or resume authority left behind.; can retire live pane authority while retaining its sleeping session — Retiring live authority accidentally dropping a retained sleeping session.; keeps a physical pane routed through chained detaches until its current owner closes — Chained detach alias routing broken after original owner closes, or alias survives final close.; forgets routing aliases for purged tabs — Purged-tab routing aliases lingering.; retires split, relay, deferred, and pending sessions for a parked tab — Split, relay, deferred or pending session omitted from teardown, sleeping-record sibling damaged, parked disposer skipped.; retires parked ownership before teardown and sweeps published state before unified close — Parked cleanup/provider teardown/state removal/sweep/unified-close ordering changes.; starts mixed provider teardown and classifies both rejection kinds after synchronous retirement — Mixed teardown failures blocking retirement, or local/runtime warning counts misclassified.. Remove the exact-pane-retirement and chained-detach assertion references because their source cases are gone. Other retained cases do not replace these alarms. Preserve all dated evidenceRuns and prior history with their original source scope; no fresh execution or historical import-closure equivalence is claimed. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1904 reduces persistence-pty-binding-reconciliation from six to four definitions, intentionally losing legacy remap-load and first-binding projection alarms. Current selector/testFile remains valid, with no selected-source assertionRef or active matching receipt. The six unchanged close/continuity receipts keep their exact original scope; no new broad gate or replacement evidence is claimed. Historical prior account (preserved verbatim): Audit1683 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1674 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Capture exact tab, pane, PTY, handle, incarnation, and persisted layout identities. Final-pane terminal.close must invoke one durability-acknowledged tab retirement before exact PTY teardown; controlled PTY exit and graph removal afterward must remain idempotent, omit the target from persistence and provider inventory, and leave an unrelated canary handle live. terminal.closeAll must force-retire every pinned and unpinned target surface, clear its persisted agent-resume and incarnation records, await authoritative PTY exit, preserve a sibling worktree's tab, PTY, and resume authority, and return an unverifiable failure instead of claiming exit when the owning host does not confirm a stop. The ordinary path stays pending until the persisted row is removed and never falls back to the fire-and-forget pane event; reload/restart must keep the explicitly emptied worktree at zero terminal tabs and provider sessions. Reloading the renderer with the same tab/pane/PTY/incarnation must keep the handle readable; changing only the incarnation behind the same PTY id, losing the authoritative graph, or superseding the renderer handle with a preallocated handle must reject the old handle with terminal_handle_stale. Parked-close tests prove the exact PTY disappears; descendant/process tests keep natural exits reserved, upgrade teardown safely, bound/coalesce process-table work, and protect recycled identities.", "commands": [ "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/terminal/surface/orca-runtime-terminal-close-continuity.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts", - "pnpm dlx node@24 ./node_modules/vitest/vitest.mjs run --config config/vitest.config.ts src/main/agent-hooks/server/testing/authority/server-pane-authority.test.ts src/main/ipc/agent-hooks.test.ts src/main/ipc/agent-pane-authority-ownership.test.ts src/main/persistence/terminal-topology/persistence-pane-identity-migration.test.ts src/main/persistence/terminal-topology/persistence-pty-binding-reconciliation.test.ts src/renderer/src/store/slices/agent-status/agent-pane-authority.test.ts src/renderer/src/store/terminals/terminal-pane-detach-agent-identity.test.ts src/renderer/src/store/terminals/terminal-tab-retirement-store.test.ts tests/e2e/completed-worker-retirement-resume.unit.test.ts src/renderer/src/components/shared/kill-all-terminal-surfaces.test.ts", + "pnpm dlx node@24 ./node_modules/vitest/vitest.mjs run --config config/vitest.config.ts src/main/agent-hooks/server/testing/authority/server-pane-authority.test.ts src/main/ipc/agent-hooks.test.ts src/main/ipc/agent-pane-authority-ownership.test.ts src/main/persistence/terminal-topology/persistence-pane-identity-migration.test.ts src/main/persistence/terminal-topology/persistence-pty-binding-reconciliation.test.ts src/renderer/src/store/slices/agent-status/agent-pane-authority.test.ts src/renderer/src/store/terminals/terminal-pane-detach-agent-identity.test.ts src/renderer/src/store/terminals/terminal-tab-retirement-store.test.ts src/renderer/src/components/shared/kill-all-terminal-surfaces.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/pty/process-retirement/pty-descendant-termination.test.ts src/main/daemon/sessions/testing/session.test.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/providers/local-pty/local-pty-provider-shutdown.test.ts src/main/runtime/workspaces/removal/worktree-teardown.test.ts", "pnpm run test:e2e -- tests/e2e/terminal-tab-close-restart-persistence.spec.ts --workers=1", "pnpm run test:e2e -- tests/e2e/terminal-parked-close-retirement.spec.ts --workers=1", @@ -6425,7 +6233,6 @@ "src/renderer/src/store/slices/agent-status/agent-pane-authority.test.ts", "src/renderer/src/store/terminals/terminal-pane-detach-agent-identity.test.ts", "src/renderer/src/store/terminals/terminal-tab-retirement-store.test.ts", - "tests/e2e/completed-worker-retirement-resume.unit.test.ts", "src/renderer/src/components/shared/kill-all-terminal-surfaces.test.ts", "tests/e2e/terminal-tab-close-restart-persistence.spec.ts", "tests/e2e/terminal-parked-close-retirement.spec.ts", @@ -6451,12 +6258,6 @@ "a durability-acknowledged whole-tab close leaves zero terminal tabs and provider sessions after restart" ] }, - { - "file": "tests/e2e/completed-worker-retirement-resume.unit.test.ts", - "assertions": [ - "explicit close revokes the exact live recovery record both before and after PTY exit removes the tab, while PTY exit alone preserves interrupted-session recovery" - ] - }, { "file": "tests/e2e/terminal-parked-close-retirement.spec.ts", "assertions": [ @@ -6489,13 +6290,6 @@ "pane authority transfer accepts only the canonical legacy/scoped runtime handle bound to the authoritative pane" ] }, - { - "file": "src/renderer/src/store/slices/agent-status/agent-pane-authority.test.ts", - "assertions": [ - "exact pane retirement removes resume and launch authority while preserving siblings", - "chained detach keeps physical hooks and resume authority routed to the current owner until that owner closes" - ] - }, { "file": "src/main/runtime/workspaces/removal/worktree-teardown.test.ts", "assertions": [ @@ -6590,7 +6384,13 @@ "Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/mobile-session-tabs-part-14.spec'). src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-03.spec.ts: arms the stale-title timer for a seeded working title; arms the Command Code scrape from the noted spawn command; prefers the tracked title over a stale renderer lastTitle in the hydration seed; writes recent output into the current runtime output map; uses a later title handler replacement with the runtime receiver; calls the current injected listener with the runtime receiver; keeps optional reconciliation lazy after its callback is removed. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-14.spec.ts: lists them, so a paired client can mirror a migrated editor; closes one by retiring it from the host session; keeps an unsaved draft unless the close is forced; shares aggregate work but leaves a replacement pending promise alone; lets a targeted refresh finish while an aggregate refresh waits; refuses a close when the store lacks %s before the guard; keeps a later missing %s on the original caught failure path. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed.", "Audit2061 (sources2059/2060): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/mobile-session-tabs-headless-chat-rebuild.spec'); await import('./orca-runtime-tests/mobile-session-tabs-cold-serve-hydrate.spec'); await import('./orca-runtime-tests/worktree-removal-execution-host.spec'); await import('./orca-runtime-tests/terminal-spawn-dispatch.spec'). src/main/runtime/orca-runtime-tests/headless-snapshots-part-02.spec.ts: replaces a cwd parsed before late WSL context with the provider cwd; keeps a live WSL cwd that arrives during late-context snapshot recovery; infers local reconstructed WSL context from a WSL UNC worktree; clears stale terminal file URI hostnames after empty-host OSC7 cwd updates; serializes SSH headless OSC7 cwd as POSIX when the desktop runtime is on Windows; keeps Windows SSH OSC7 cwd as a drive path when the desktop runtime is POSIX; serializes Windows SSH headless OSC7 cwd as a drive path on POSIX desktops; infers restored SSH connection identity from app-scoped PTY ids. src/main/runtime/orca-runtime-tests/mobile-session-tabs-headless-chat-rebuild.spec.ts: survives the rebuild that closing a saved editor tab forces; keeps its place in the tab order when the host lists the workspace again; lists tabs to phones in the order desktop clients draw after a rebuild; keeps the place a window gave a chat across a graph resend before the chat is restored. src/main/runtime/orca-runtime-tests/mobile-session-tabs-cold-serve-hydrate.spec.ts: lists every persisted terminal of a windowless host after a cold restart; lists every persisted terminal in the all-worktrees inventory after a cold restart; lists persisted editor tabs beside the terminals after a cold restart; restores a persisted split group layout on the cold rebuild; restores the saved active group of a split even when it is not the first group; falls back to the active tab group when the saved active group was not restored; keeps the headless group active when there is no persisted split; keeps phone and CLI creates in the group they joined across a cold restart. src/main/runtime/orca-runtime-tests/worktree-removal-failed-retry.spec.ts: lists the leftover with its error, though Git no longer does; takes the normal delete once Git registers a checkout at the path again; joins a retry another client started while this Delete listed Git; shows the failed row with its error, not the scan cached before the delete. src/main/runtime/orca-runtime-tests/worktree-removal-execution-host.spec.ts: refuses an SSH row whose host is unreachable instead of deleting here; refuses a runtime row with no nested SSH target rather than deleting locally; refuses a runtime row that also names a nested SSH target; retains runtime purge dispatch in a recovery job; uses the runtime helper override before resuming an interrupted removal; uses the runtime helper override before retrying a failed removal; captures the watcher callback and retains its job-host receiver; reads the current runtime removal queue. src/main/runtime/orca-runtime-tests/terminal-spawn-dispatch.spec.ts: reports the spawn request before it leaves for the pty controller; reports it even when the spawn itself then fails; does not report it when the create fails before any spawn request; captures the admission method before reading the incarnation; captures the record method before evaluating its state object; skips database payload serialization when no database exists; skips a throwing database payload when no database exists; keeps the database method and receiver captured before its payload; captures the canonical map method before a binding getter changes it; completes the captured replacement fence without another map lookup. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed.", "Module layout policy correction: retire the remaining program-status-osc.spec.ts event-projection case (production/mock-derived pane-key oracle) and sign-in timeout case (real setTimeout wait with Date-only fake clocks). The runtime test registrar no longer imports that file. No replacement coverage or fresh execution is claimed for these losses; historical receipts retain their original source scope.", - "Module layout policy correction: retire the two remaining worktree-ps-agent-row-dismissal.spec.ts registrations. The remint/dismissal/exit case computed expected snapshotVersion increments from a production snapshot and used real-clock vi.waitFor; the legacy OSC case derived its expected paneKey from the production layout-owner switch. The runtime registrar no longer imports this file. These public projection scenarios have no replacement coverage or fresh execution claimed; all historical receipts and earlier loss notes retain their original source scope." + "Module layout policy correction: retire the two remaining worktree-ps-agent-row-dismissal.spec.ts registrations. The remint/dismissal/exit case computed expected snapshotVersion increments from a production snapshot and used real-clock vi.waitFor; the legacy OSC case derived its expected paneKey from the production layout-owner switch. The runtime registrar no longer imports this file. These public projection scenarios have no replacement coverage or fresh execution claimed; all historical receipts and earlier loss notes retain their original source scope.", + "Audit3323 (reconciled source audit3320) intentionally retires seven low-value renderer authority/retirement examples: retires one pane, clears resume authority, and rejects late status without harming siblings — Late status reviving a retired pane, sibling damage, or resume authority left behind.; can retire live pane authority while retaining its sleeping session — Retiring live authority accidentally dropping a retained sleeping session.; keeps a physical pane routed through chained detaches until its current owner closes — Chained detach alias routing broken after original owner closes, or alias survives final close.; forgets routing aliases for purged tabs — Purged-tab routing aliases lingering.; retires split, relay, deferred, and pending sessions for a parked tab — Split, relay, deferred or pending session omitted from teardown, sleeping-record sibling damaged, parked disposer skipped.; retires parked ownership before teardown and sweeps published state before unified close — Parked cleanup/provider teardown/state removal/sweep/unified-close ordering changes.; starts mixed provider teardown and classifies both rejection kinds after synchronous retirement — Mixed teardown failures blocking retirement, or local/runtime warning counts misclassified.. Remove the exact-pane-retirement and chained-detach assertion references because their source cases are gone. Other retained cases do not replace these alarms. Preserve all dated evidenceRuns and prior history with their original source scope; no fresh execution or historical import-closure equivalence is claimed.", + "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Original scope text is retained as the exact suffix of coverageNotes/oracle; historical evidence is unchanged.", + "Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Lose the complete completed-worker-retirement-resume suite: exact terminal-close resume-record revocation, PTY-exit recovery retention and settled-worker release examples. Remove its exact command token or standalone command, testFiles entry and assertionRef, archiving complete prior fields. Independent receipts retain original scopes. All prior notes and dated/archived evidence retain original scopes.", + "Audit3437 complete prior commands before completed-worker-retirement-resume retirement: [\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/terminal/surface/orca-runtime-terminal-close-continuity.test.ts\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts\",\"pnpm dlx node@24 ./node_modules/vitest/vitest.mjs run --config config/vitest.config.ts src/main/agent-hooks/server/testing/authority/server-pane-authority.test.ts src/main/ipc/agent-hooks.test.ts src/main/ipc/agent-pane-authority-ownership.test.ts src/main/persistence/terminal-topology/persistence-pane-identity-migration.test.ts src/main/persistence/terminal-topology/persistence-pty-binding-reconciliation.test.ts src/renderer/src/store/slices/agent-status/agent-pane-authority.test.ts src/renderer/src/store/terminals/terminal-pane-detach-agent-identity.test.ts src/renderer/src/store/terminals/terminal-tab-retirement-store.test.ts tests/e2e/completed-worker-retirement-resume.unit.test.ts src/renderer/src/components/shared/kill-all-terminal-surfaces.test.ts\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/pty/process-retirement/pty-descendant-termination.test.ts src/main/daemon/sessions/testing/session.test.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/providers/local-pty/local-pty-provider-shutdown.test.ts src/main/runtime/workspaces/removal/worktree-teardown.test.ts\",\"pnpm run test:e2e -- tests/e2e/terminal-tab-close-restart-persistence.spec.ts --workers=1\",\"pnpm run test:e2e -- tests/e2e/terminal-parked-close-retirement.spec.ts --workers=1\",\"pnpm run test:e2e -- tests/e2e/agent-descendant-process-kill.spec.ts --workers=1\",\"pnpm run test:e2e -- tests/e2e/paired-cli-terminal-graph-sync-tab-retention.spec.ts --workers=1\",\"pnpm run test:e2e -- tests/e2e/headless-serve-cli-terminal-retention-parity.spec.ts --workers=1\"]", + "Audit3437 complete prior testFiles before completed-worker-retirement-resume retirement: [\"src/main/runtime/terminal/surface/orca-runtime-terminal-close-continuity.test.ts\",\"src/main/runtime/construction/orca-runtime.test.ts\",\"src/main/agent-hooks/server/testing/authority/server-pane-authority.test.ts\",\"src/main/ipc/agent-hooks.test.ts\",\"src/main/ipc/agent-pane-authority-ownership.test.ts\",\"src/main/persistence/terminal-topology/persistence-pane-identity-migration.test.ts\",\"src/main/persistence/terminal-topology/persistence-pty-binding-reconciliation.test.ts\",\"src/main/pty/process-retirement/pty-descendant-termination.test.ts\",\"src/main/daemon/sessions/testing/session.test.ts\",\"src/main/daemon/terminal-host/testing/terminal-host.test.ts\",\"src/main/providers/local-pty/local-pty-provider-shutdown.test.ts\",\"src/main/runtime/workspaces/removal/worktree-teardown.test.ts\",\"src/renderer/src/store/slices/agent-status/agent-pane-authority.test.ts\",\"src/renderer/src/store/terminals/terminal-pane-detach-agent-identity.test.ts\",\"src/renderer/src/store/terminals/terminal-tab-retirement-store.test.ts\",\"tests/e2e/completed-worker-retirement-resume.unit.test.ts\",\"src/renderer/src/components/shared/kill-all-terminal-surfaces.test.ts\",\"tests/e2e/terminal-tab-close-restart-persistence.spec.ts\",\"tests/e2e/terminal-parked-close-retirement.spec.ts\",\"tests/e2e/agent-descendant-process-kill.spec.ts\",\"tests/e2e/paired-cli-terminal-graph-sync-tab-retention.spec.ts\",\"tests/e2e/headless-serve-cli-terminal-retention-parity.spec.ts\"]", + "Audit3437 complete prior assertionRefs before completed-worker-retirement-resume retirement: [{\"file\":\"src/main/runtime/terminal/surface/orca-runtime-terminal-close-continuity.test.ts\",\"assertions\":[\"final-pane terminal.close remains pending until one renderer durability acknowledgement retires the persisted tab and layout\",\"final-pane externally owned teardown commits session retirement before PTY stop, tolerates duplicate exit retirement, and preserves an unrelated live canary\",\"post-ack workspace-session loss falls back to renderer cleanup and verified PTY teardown while every pre-ack retirement error remains non-destructive\",\"renderer reload with the same provider-attested PTY incarnation preserves the exact handle\",\"same-id replacement incarnation publishes a new handle and makes the old handle deterministically stale\",\"hard graph loss and preallocated-handle supersession make the retained renderer handle deterministically stale\"]},{\"file\":\"tests/e2e/terminal-tab-close-restart-persistence.spec.ts\",\"assertions\":[\"a durability-acknowledged whole-tab close leaves zero terminal tabs and provider sessions after restart\"]},{\"file\":\"tests/e2e/completed-worker-retirement-resume.unit.test.ts\",\"assertions\":[\"explicit close revokes the exact live recovery record both before and after PTY exit removes the tab, while PTY exit alone preserves interrupted-session recovery\"]},{\"file\":\"tests/e2e/terminal-parked-close-retirement.spec.ts\",\"assertions\":[\"a long-lived exact PTY remains alive after its terminal view is parked\",\"closing the parked tab removes the exact PTY from the provider inventory and the visible tab model\"]},{\"file\":\"tests/e2e/paired-cli-terminal-graph-sync-tab-retention.spec.ts\",\"assertions\":[\"an attached-window desktop host publishes the CLI-created terminal under the renderer publication epoch it inherits, proving the vulnerable classification path was taken rather than a headless or serve/SSH-shaped one\",\"with the target as the first host-created terminal, a renderer graph sync leaves the `terminal.create` tab in the host session inventory still naming its original daemon PTY\",\"the original fixture process answers a write through that handle with its own pid and a single READY line, so a respawned replacement cannot pass as a survivor\",\"the paired client applied that same sync and kept the tab with no replacement or resume tab appended\",\"an unrelated workspace keeps its own CLI terminal and PTY, and the client raises no direct local connection attempt or uncaught renderer error\"]},{\"file\":\"tests/e2e/headless-serve-cli-terminal-retention-parity.spec.ts\",\"assertions\":[\"a windowless serve host publishes host-created terminals under a headless epoch, never a renderer one, which is why it cannot reach the window-conditioned prune the desktop arm reproduces\",\"a later CLI dispatch leaves the earlier host-created terminal in the serve-host inventory still bound to its original PTY\",\"both original fixture processes answer writes through their own handles after the later dispatch\",\"the paired client mirrors exactly those two tabs with no replacement or resume tab appended, no direct local connection attempt, and no uncaught renderer error\"]},{\"file\":\"src/main/ipc/agent-pane-authority-ownership.test.ts\",\"assertions\":[\"pane authority transfer accepts only the canonical legacy/scoped runtime handle bound to the authoritative pane\"]},{\"file\":\"src/main/runtime/workspaces/removal/worktree-teardown.test.ts\",\"assertions\":[\"owned provider shutdowns start together so process-table snapshots can coalesce within a batch\",\"inventories above 32 sessions never exceed 32 concurrent provider shutdowns\"]},{\"file\":\"tests/e2e/agent-descendant-process-kill.spec.ts\",\"assertions\":[\"a detached-pgid descendant is alive before agent PTY kill and absent afterward\"]}]" ], "demotionRule": "Keep experimental or demote to protection none if exact PTY disappearance flakes, a sibling/detached pane is retired, late hooks can recreate closed authority, or a renderer graph sync retires a host-created tab that no explicit close retired." }, @@ -6612,7 +6412,7 @@ "providers": ["daemon", "runtime", "ssh", "wsl"], "coveredPlatforms": ["linux", "macos", "windows"], "coveredProviders": ["daemon", "runtime"], - "coverageNotes": "Audit2153: Reduced sources intentionally lose the forwarding smoke and retire an unrelated current selector; historical runs do not validate changed source bytes. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2020: The CLI WebSocket source retains old-protocol refusal only; its paired-open, capability, timeout and admission projection examples are removed. No daemon-generation coverage is transferred to that callback. Both independent daemon E2E receipts remain unchanged at their original commands; the reduced unit selector has no fresh result. Historical prior account (preserved verbatim): Audit1983: Delete the reasonless-close scalar suite and optional-capability socket forwarding alias. Delete the mocked close-attribution topology field-inventory suite and its aliases/selectors; preserve independent dated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1959 (sources 1957:11, 1957:35, 1957:36): The fixture-supplied repository roundtrip, isolated capability metadata readback, parser/default-timer/size-threshold/internal failure-counter examples and standalone handshake-only replay example are removed. Source11 retains real encrypted multi-client event ordering, reconnect snapshot and multiplex delivery under synthetic runtime state, and does not establish the broad handshake-to-reasonless-close refusal alias; retire that whole assertion object. Source36 capability metadata readback alias is retired. Source35 retains the actual v2 runtime-only metadata/downgrade refusal callback and captured mutating-trace fresh-nonce rejection; its mapped mobile-v2 refusal alias remains within modeled credential lookup scope. Both independent daemon E2E dated receipts remain byte-exact with their original commands and results. No historical passed receipt is narrowed or transferred to changed source bytes. No fresh execution, equivalent replacement, physical provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed by this metadata packet. Historical prior account (preserved verbatim): Audit1939 (sources1934/1935): Retain actual parked exit/disposal/cancel/leaf progression using injected exit and close adapters. The retained last-watcher case checks exact lifecyclePtyId, but no retained callback establishes the whole existing replacement-or-sibling-incarnation alias. Retire that broad assertion object rather than transfer partial support. Capability admission, static fields and duplicate routing examples are intentionally lost; unchanged daemon E2E receipts remain scoped to their own commands. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): The browser auth capability-advertisement case is removed in this audit; its direct encrypted-auth literal alarm is lost. Retained lifecycle evidence is not an equivalent replacement. Historical run commands and results remain historical. Recorded native Windows evidence covers the v21/v22/v23/v24/v25 named-pipe matrix. The deterministic daemon harness covers capable and legacy paired-runtime request shapes against live v25/v26 PTYs in separate worktrees, plus an unrelated control. Host/renderer tests cover old servers, missing liveness, stale publications, reused claims, split parents, explicit user intent, cross-profile isolation, remote runtime clients, SSH-provider routing, and WSL boundaries. A headed host paired to a separate live client, headless serve parity, Linux, SSH, and WSL remain explicit gaps. The audit removed private-router tests of mocked kill results and log fields. Their isolated success/failure attribution and pending-spawn tolerance alarms are no longer registered here; live lifecycle evidence does not establish equivalent log coverage. The isolated close-intent suite was removed. web-runtime-session.test.ts no longer supplies the lifecycle-close or old-server method-not-found assertions formerly referenced here. Their direct partition and RPC-shape alarms are lost; retained live daemon evidence does not establish equivalent coverage. The broad mirror fixture retains user-close suppression, refused-close reconciliation and optimistic reorder only. Its earlier reconnect/incarnation and projection examples no longer establish current daemon-generation coverage. Those narrow alarms are lost; other daemon evidence is not equivalent replacement coverage. Audit1318: src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts: Retain real local encrypted WebSocket regressions for pre-ready socket replacement preserving a request, close-before-ready logical subscription cleanup, unrelated RPC surviving another deadline, and pending setup abort leaving a sibling pending. Host server is synthetic and uses production crypto; kept scenarios also retain internal diagnostics/memory assertions unchanged. Remove happy routing, authority-envelope, unknown-ID/log, cleanup enum, binary, keepalive/liveness and production-budget/private socket inventories; intentionally lose those alarms, no physical host authorization, independent crypto or remote provider claim. Reduced selectors need fresh validation; historical full-suite receipts do not validate the changed coverage. No equivalent replacement or physical-provider claim. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", + "coverageNotes": "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit2153: Reduced sources intentionally lose the forwarding smoke and retire an unrelated current selector; historical runs do not validate changed source bytes. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2020: The CLI WebSocket source retains old-protocol refusal only; its paired-open, capability, timeout and admission projection examples are removed. No daemon-generation coverage is transferred to that callback. Both independent daemon E2E receipts remain unchanged at their original commands; the reduced unit selector has no fresh result. Historical prior account (preserved verbatim): Audit1983: Delete the reasonless-close scalar suite and optional-capability socket forwarding alias. Delete the mocked close-attribution topology field-inventory suite and its aliases/selectors; preserve independent dated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1959 (sources 1957:11, 1957:35, 1957:36): The fixture-supplied repository roundtrip, isolated capability metadata readback, parser/default-timer/size-threshold/internal failure-counter examples and standalone handshake-only replay example are removed. Source11 retains real encrypted multi-client event ordering, reconnect snapshot and multiplex delivery under synthetic runtime state, and does not establish the broad handshake-to-reasonless-close refusal alias; retire that whole assertion object. Source36 capability metadata readback alias is retired. Source35 retains the actual v2 runtime-only metadata/downgrade refusal callback and captured mutating-trace fresh-nonce rejection; its mapped mobile-v2 refusal alias remains within modeled credential lookup scope. Both independent daemon E2E dated receipts remain byte-exact with their original commands and results. No historical passed receipt is narrowed or transferred to changed source bytes. No fresh execution, equivalent replacement, physical provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed by this metadata packet. Historical prior account (preserved verbatim): Audit1939 (sources1934/1935): Retain actual parked exit/disposal/cancel/leaf progression using injected exit and close adapters. The retained last-watcher case checks exact lifecyclePtyId, but no retained callback establishes the whole existing replacement-or-sibling-incarnation alias. Retire that broad assertion object rather than transfer partial support. Capability admission, static fields and duplicate routing examples are intentionally lost; unchanged daemon E2E receipts remain scoped to their own commands. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): The browser auth capability-advertisement case is removed in this audit; its direct encrypted-auth literal alarm is lost. Retained lifecycle evidence is not an equivalent replacement. Historical run commands and results remain historical. Recorded native Windows evidence covers the v21/v22/v23/v24/v25 named-pipe matrix. The deterministic daemon harness covers capable and legacy paired-runtime request shapes against live v25/v26 PTYs in separate worktrees, plus an unrelated control. Host/renderer tests cover old servers, missing liveness, stale publications, reused claims, split parents, explicit user intent, cross-profile isolation, remote runtime clients, SSH-provider routing, and WSL boundaries. A headed host paired to a separate live client, headless serve parity, Linux, SSH, and WSL remain explicit gaps. The audit removed private-router tests of mocked kill results and log fields. Their isolated success/failure attribution and pending-spawn tolerance alarms are no longer registered here; live lifecycle evidence does not establish equivalent log coverage. The isolated close-intent suite was removed. web-runtime-session.test.ts no longer supplies the lifecycle-close or old-server method-not-found assertions formerly referenced here. Their direct partition and RPC-shape alarms are lost; retained live daemon evidence does not establish equivalent coverage. The broad mirror fixture retains user-close suppression, refused-close reconciliation and optimistic reorder only. Its earlier reconnect/incarnation and projection examples no longer establish current daemon-generation coverage. Those narrow alarms are lost; other daemon evidence is not equivalent replacement coverage. Audit1318: src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts: Retain real local encrypted WebSocket regressions for pre-ready socket replacement preserving a request, close-before-ready logical subscription cleanup, unrelated RPC surviving another deadline, and pending setup abort leaving a sibling pending. Host server is synthetic and uses production crypto; kept scenarios also retain internal diagnostics/memory assertions unchanged. Remove happy routing, authority-envelope, unknown-ID/log, cleanup enum, binary, keepalive/liveness and production-budget/private socket inventories; intentionally lose those alarms, no physical host authorization, independent crypto or remote provider claim. Reduced selectors need fresh validation; historical full-suite receipts do not validate the changed coverage. No equivalent replacement or physical-provider claim. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", "motivatingLinks": [ "https://github.com/stablyai/orca/issues/9749", "https://github.com/stablyai/orca/issues/9949", @@ -6621,7 +6421,7 @@ "https://github.com/stablyai/orca/issues/9229" ], "invariant": "Reconnect, replay, or lifecycle observations from a viewer that negotiated explicit close intent must never kill a live PTY. A capable reasonless close must keep and republish; a legacy paired viewer must retain current-main behavior because its intentional close and cleanup echo are wire-identical. Lifecycle close requires the exact observed publication, terminal, environment, and authoritative liveness, never signals a process, and leaves renderer-owned or partial-split retirement to its owner. Legacy daemon hello and warm reattachment remain non-destructive.", - "oracle": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1983: Delete the reasonless-close scalar suite and optional-capability socket forwarding alias. Delete the mocked close-attribution topology field-inventory suite and its aliases/selectors; preserve independent dated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1959 (sources 1957:11, 1957:35, 1957:36): The fixture-supplied repository roundtrip, isolated capability metadata readback, parser/default-timer/size-threshold/internal failure-counter examples and standalone handshake-only replay example are removed. Source11 retains real encrypted multi-client event ordering, reconnect snapshot and multiplex delivery under synthetic runtime state, and does not establish the broad handshake-to-reasonless-close refusal alias; retire that whole assertion object. Source36 capability metadata readback alias is retired. Source35 retains the actual v2 runtime-only metadata/downgrade refusal callback and captured mutating-trace fresh-nonce rejection; its mapped mobile-v2 refusal alias remains within modeled credential lookup scope. Both independent daemon E2E dated receipts remain byte-exact with their original commands and results. No historical passed receipt is narrowed or transferred to changed source bytes. No fresh execution, equivalent replacement, physical provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed by this metadata packet. Historical prior account (preserved verbatim): Audit1939 (sources1934/1935): Retain actual parked exit/disposal/cancel/leaf progression using injected exit and close adapters. The retained last-watcher case checks exact lifecyclePtyId, but no retained callback establishes the whole existing replacement-or-sibling-incarnation alias. Retire that broad assertion object rather than transfer partial support. Capability admission, static fields and duplicate routing examples are intentionally lost; unchanged daemon E2E receipts remain scoped to their own commands. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Start isolated v25 and v26 daemon generations with one capable-viewer PTY and one legacy-viewer PTY per generation in four target worktrees plus an unaddressed control PTY in a fifth worktree. Route them through the production desktop scanner, runtime, RPC dispatcher, renderer-close relay, and daemon router. First issue sequential reasonless closes from an authenticated capable connection and require refusal, snapshot republish, zero shutdown calls, exact process survival, and post-close I/O. Then issue the byte-identical requests without the negotiated capability and require current-main behavior: two ordered immediate shutdowns, session-killed events, and exact root/descendant death, while capable and control PTYs survive. An observer lists all targets before, between, and after while issuing zero closes. Unit contracts also require in-process reasonless refusal, legacy runtime/mobile compatibility, explicit user closes, encrypted client-auth advertisement, and old-server lifecycle calls never to fall back.", + "oracle": "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1983: Delete the reasonless-close scalar suite and optional-capability socket forwarding alias. Delete the mocked close-attribution topology field-inventory suite and its aliases/selectors; preserve independent dated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1959 (sources 1957:11, 1957:35, 1957:36): The fixture-supplied repository roundtrip, isolated capability metadata readback, parser/default-timer/size-threshold/internal failure-counter examples and standalone handshake-only replay example are removed. Source11 retains real encrypted multi-client event ordering, reconnect snapshot and multiplex delivery under synthetic runtime state, and does not establish the broad handshake-to-reasonless-close refusal alias; retire that whole assertion object. Source36 capability metadata readback alias is retired. Source35 retains the actual v2 runtime-only metadata/downgrade refusal callback and captured mutating-trace fresh-nonce rejection; its mapped mobile-v2 refusal alias remains within modeled credential lookup scope. Both independent daemon E2E dated receipts remain byte-exact with their original commands and results. No historical passed receipt is narrowed or transferred to changed source bytes. No fresh execution, equivalent replacement, physical provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed by this metadata packet. Historical prior account (preserved verbatim): Audit1939 (sources1934/1935): Retain actual parked exit/disposal/cancel/leaf progression using injected exit and close adapters. The retained last-watcher case checks exact lifecyclePtyId, but no retained callback establishes the whole existing replacement-or-sibling-incarnation alias. Retire that broad assertion object rather than transfer partial support. Capability admission, static fields and duplicate routing examples are intentionally lost; unchanged daemon E2E receipts remain scoped to their own commands. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Start isolated v25 and v26 daemon generations with one capable-viewer PTY and one legacy-viewer PTY per generation in four target worktrees plus an unaddressed control PTY in a fifth worktree. Route them through the production desktop scanner, runtime, RPC dispatcher, renderer-close relay, and daemon router. First issue sequential reasonless closes from an authenticated capable connection and require refusal, snapshot republish, zero shutdown calls, exact process survival, and post-close I/O. Then issue the byte-identical requests without the negotiated capability and require current-main behavior: two ordered immediate shutdowns, session-killed events, and exact root/descendant death, while capable and control PTYs survive. An observer lists all targets before, between, and after while issuing zero closes. Unit contracts also require in-process reasonless refusal, legacy runtime/mobile compatibility, explicit user closes, encrypted client-auth advertisement, and old-server lifecycle calls never to fall back.", "commands": [ "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/e2ee-channel.test.ts src/main/runtime/rpc/e2ee-channel-v2.test.ts src/main/runtime/rpc/mobile-socket-wiring.test.ts src/main/runtime/rpc/runtime-client-capabilities.test.ts src/shared/remote-runtime/remote-runtime-client.test.ts src/shared/remote-runtime/requests/remote-runtime-request-connection.test.ts src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts src/cli/runtime/websocket-transport.test.ts src/renderer/src/web/web-runtime-client.test.ts src/renderer/src/components/terminal/terminal-tab-actions.test.ts src/renderer/src/components/terminal/terminal-close-incarnation.test.ts src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-tab-watchers.test.ts", "pnpm exec playwright test tests/e2e/daemon-generation-reconnect-safety.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1", @@ -6770,7 +6570,9 @@ "Module layout policy correction: retire the two remaining worktree-ps-agent-row-dismissal.spec.ts registrations. The remint/dismissal/exit case computed expected snapshotVersion increments from a production snapshot and used real-clock vi.waitFor; the legacy OSC case derived its expected paneKey from the production layout-owner switch. The runtime registrar no longer imports this file. These public projection scenarios have no replacement coverage or fresh execution claimed; all historical receipts and earlier loss notes retain their original source scope.", "Audit2153: Intentionally retire the ordinary fake-create event-forwarding registration from src/main/runtime/rpc/server/remote-runtime-request-connection.integration.test.ts. The two retained callbacks prove encrypted fanout/reconnect and physical connection multiplexing under a fake business runtime; neither establishes close-intent authorization, actual terminal sleep, or equivalent replacement for the removed forwarding smoke. Remove this unrelated current close-safety selector. Existing assertionRefs and dated evidenceRuns remain byte-identical and scoped to their own source/commands. No fresh execution or platform/provider coverage is claimed.", "Audit2153 historical original commands item, preserved verbatim; retired selector is not active execution evidence: \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/server/remote-runtime-request-connection.integration.test.ts src/main/runtime/rpc/e2ee-channel.test.ts src/main/runtime/rpc/e2ee-channel-v2.test.ts src/main/runtime/rpc/mobile-socket-wiring.test.ts src/main/runtime/rpc/runtime-client-capabilities.test.ts src/shared/remote-runtime/remote-runtime-client.test.ts src/shared/remote-runtime/requests/remote-runtime-request-connection.test.ts src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts src/cli/runtime/websocket-transport.test.ts src/renderer/src/web/web-runtime-client.test.ts src/renderer/src/components/terminal/terminal-tab-actions.test.ts src/renderer/src/components/terminal/terminal-close-incarnation.test.ts src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-tab-watchers.test.ts\"", - "Audit2153 historical original testFiles item, preserved verbatim; retired selector is not active execution evidence: \"src/main/runtime/rpc/server/remote-runtime-request-connection.integration.test.ts\"" + "Audit2153 historical original testFiles item, preserved verbatim; retired selector is not active execution evidence: \"src/main/runtime/rpc/server/remote-runtime-request-connection.integration.test.ts\"", + "Terminal/runtime defining-owner cleanup retires complete parking timer, lifecycle, mocked close/disposal and render/flip/mount work-count cases under repository test policy. The retained watcher source has only two literal-oracle coverage decisions; the retained cold-parking hook source has only the layout-PTY exemption invalidation case. Lost alarms include cooldown/measure/pin wakeups, split exit/close attribution and cancellation, watcher disposal/restart, flood timer rearm, worktree verdict damping, and destroyed-transport cold restore. No equivalent replacement coverage or execution pass for the reduced cases is claimed; prior dated receipts retain their original scope.", + "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Original scope text is retained as the exact suffix of coverageNotes/oracle; historical evidence is unchanged." ], "demotionRule": "Keep experimental or quarantine if reconnect emits session-killed for a live canary, an exact root/descendant dies, an old server receives fallback destructive close, cleanup leaks a fixture process/pipe, or the gate flakes without a proven harness defect." }, @@ -6993,16 +6795,15 @@ "providers": ["local", "wsl", "ssh", "remote-runtime"], "coveredPlatforms": ["windows"], "coveredProviders": [], - "coverageNotes": "Audit2371 reduces repos-project-group-create-race.test.ts by removing the two-host generic failed-create-response/no-op example. Its alarm that a failed create reply leaves an intervening refreshed state untouched is intentionally lost. The surviving refreshed-field and original-owner races do not supply equivalent replacement coverage. No fresh execution or red/green evidence validates the reduced source; unrelated physical Windows/WSL receipt retains its original command and scope. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit1396 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): A deterministic Windows-mode renderer oracle keeps an active WSL project and explicit-local Floating Workspace mounted together with disjoint agent inventories, then independently asserts discovery and launch authority. A headed physical Windows 2 journey with real Ubuntu WSL2 independently verified the rendered inventory and native PowerShell launch; SSH and paired-runtime behavior retain their existing contract coverage. The test-value audit removes standalone WSL/provider argument inventories and basic supplied-result/cache-clear examples from detected-agents.test.ts. It retains shared in-flight detection, cached-context return, repair/retry, stale-response fencing, SSH refresh/pruning and old-server fallback behavior. These retained tests do not replace the removed route-argument alarms or execute a live WSL/remote probe. Historical commands, counts and results remain unchanged. The later test-value audit removes narrow refusal/reset ledgers, a settled-project eviction/reacquisition example, a simple stale-success variant and redundant plain-text draft cleanup examples. local-detected-agent-state retains independent inventory completion orders, preference-change fencing, full-refresh loading settlement, refresh failure/retry, native-versus-WSL separation, subscriber broadcast bounds and in-flight project eviction. The removed settled-context sibling-preservation/reacquisition alarm is intentionally lost; retained cases are not equivalent replacements and no live provider execution is claimed. Historical commands, counts and results remain unchanged. The test-value audit retires the standalone project-runtime registrar from repos-project-mutations.test.ts. Its updateProject runtime-preference example no longer checks clearing detectedAgentIds, isDetectingAgents and isRefreshingAgents or dispatch of orca:installed-agent-skills-changed. This narrow invalidation alarm is lost; no equivalent replacement is claimed. Historical executed commands, counts and results remain unchanged. Audit1342: src/renderer/src/hooks/useAgentDetectionTarget.test.ts removed. Floating/runtime/hydration/stamped owner key selection, scanning count and malformed decode fallback matrices disappear. No equivalent replacement coverage is claimed. Audit1396: src/renderer/src/components/terminal-pane/pty-connection-pending-spawn.spec.ts reduced. Lose standalone debug-state retention/log silence alarm. React StrictMode is not mounted; bindings manually simulate remount over mocked transport. No equivalent replacement coverage is claimed.", + "coverageNotes": "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit2371 reduces repos-project-group-create-race.test.ts by removing the two-host generic failed-create-response/no-op example. Its alarm that a failed create reply leaves an intervening refreshed state untouched is intentionally lost. The surviving refreshed-field and original-owner races do not supply equivalent replacement coverage. No fresh execution or red/green evidence validates the reduced source; unrelated physical Windows/WSL receipt retains its original command and scope. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit1396 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): A deterministic Windows-mode renderer oracle keeps an active WSL project and explicit-local Floating Workspace mounted together with disjoint agent inventories, then independently asserts discovery and launch authority. A headed physical Windows 2 journey with real Ubuntu WSL2 independently verified the rendered inventory and native PowerShell launch; SSH and paired-runtime behavior retain their existing contract coverage. The test-value audit removes standalone WSL/provider argument inventories and basic supplied-result/cache-clear examples from detected-agents.test.ts. It retains shared in-flight detection, cached-context return, repair/retry, stale-response fencing, SSH refresh/pruning and old-server fallback behavior. These retained tests do not replace the removed route-argument alarms or execute a live WSL/remote probe. Historical commands, counts and results remain unchanged. The later test-value audit removes narrow refusal/reset ledgers, a settled-project eviction/reacquisition example, a simple stale-success variant and redundant plain-text draft cleanup examples. local-detected-agent-state retains independent inventory completion orders, preference-change fencing, full-refresh loading settlement, refresh failure/retry, native-versus-WSL separation, subscriber broadcast bounds and in-flight project eviction. The removed settled-context sibling-preservation/reacquisition alarm is intentionally lost; retained cases are not equivalent replacements and no live provider execution is claimed. Historical commands, counts and results remain unchanged. The test-value audit retires the standalone project-runtime registrar from repos-project-mutations.test.ts. Its updateProject runtime-preference example no longer checks clearing detectedAgentIds, isDetectingAgents and isRefreshingAgents or dispatch of orca:installed-agent-skills-changed. This narrow invalidation alarm is lost; no equivalent replacement is claimed. Historical executed commands, counts and results remain unchanged. Audit1342: src/renderer/src/hooks/useAgentDetectionTarget.test.ts removed. Floating/runtime/hydration/stamped owner key selection, scanning count and malformed decode fallback matrices disappear. No equivalent replacement coverage is claimed. Audit1396: src/renderer/src/components/terminal-pane/pty-connection-pending-spawn.spec.ts reduced. Lose standalone debug-state retention/log silence alarm. React StrictMode is not mounted; bindings manually simulate remount over mocked transport. No equivalent replacement coverage is claimed.", "motivatingLinks": [ "https://linear.app/stably/issue/STA-4027/p1-floating-workspace-agent-detection-still-uses-active-wsl-project", "https://github.com/stablyai/orca/pull/13995" ], "invariant": "Every agent launch surface must advertise the provider set detected on its explicit execution authority and launch on that same authority; a local Floating Workspace must never inherit an unrelated active project's WSL, SSH, or paired-runtime context.", - "oracle": "Audit2371 reduces repos-project-group-create-race.test.ts by removing the two-host generic failed-create-response/no-op example. Its alarm that a failed create reply leaves an intervening refreshed state untouched is intentionally lost. The surviving refreshed-field and original-owner races do not supply equivalent replacement coverage. No fresh execution or red/green evidence validates the reduced source; unrelated physical Windows/WSL receipt retains its original command and scope. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Model an active WSL project and a native-Windows Floating Workspace with WSL-only Claude and host-only Codex. Keep both detection consumers mounted, require their advertised sets to stay disjoint through refresh, require the legacy active-project inventory to remain unchanged, then independently assert the Floating launch call and PTY transport select local IPC with no WSL project runtime.", + "oracle": "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit2371 reduces repos-project-group-create-race.test.ts by removing the two-host generic failed-create-response/no-op example. Its alarm that a failed create reply leaves an intervening refreshed state untouched is intentionally lost. The surviving refreshed-field and original-owner races do not supply equivalent replacement coverage. No fresh execution or red/green evidence validates the reduced source; unrelated physical Windows/WSL receipt retains its original command and scope. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Model an active WSL project and a native-Windows Floating Workspace with WSL-only Claude and host-only Codex. Keep both detection consumers mounted, require their advertised sets to stay disjoint through refresh, require the legacy active-project inventory to remain unchanged, then independently assert the Floating launch call and PTY transport select local IPC with no WSL project runtime.", "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/hooks/useDetectedAgents.test.tsx src/renderer/src/store/slices/agent-inventory/detected-agents.test.ts src/renderer/src/store/slices/agent-inventory/local-detected-agent-state.test.ts src/renderer/src/store/project-groups/repos-project-group-create-race.test.ts src/renderer/src/store/project-groups/repos-project-groups-delete.test.ts src/renderer/src/store/project-groups/repos-project-groups-owner-routing.test.ts src/renderer/src/store/projects/repos-project-host-capability.test.ts src/renderer/src/store/projects/repos-project-host-lifecycle.test.ts src/renderer/src/store/repos/repos-remove-project-purge-leak.test.ts src/renderer/src/store/repos/repos-update-serialization.test.ts src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab.test.ts --reporter=verbose", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts --reporter=dot", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/hooks/useDetectedAgents.test.tsx src/renderer/src/store/slices/agent-inventory/detected-agents.test.ts src/renderer/src/store/slices/agent-inventory/local-detected-agent-state.test.ts src/renderer/src/store/project-groups/repos-project-group-create-race.test.ts src/renderer/src/store/project-groups/repos-project-groups-delete.test.ts src/renderer/src/store/project-groups/repos-project-groups-owner-routing.test.ts src/renderer/src/store/projects/repos-project-host-capability.test.ts src/renderer/src/store/projects/repos-project-host-lifecycle.test.ts src/renderer/src/store/repos/repos-remove-project-purge-leak.test.ts src/renderer/src/store/repos/repos-update-serialization.test.ts --reporter=verbose", "Headed Electron/CDP STA-4027 journey on Orca environment windows 2 with a selected Ubuntu-24.04 WSL project and local Floating Workspace" ], "testFiles": [ @@ -7015,9 +6816,7 @@ "src/renderer/src/store/projects/repos-project-host-capability.test.ts", "src/renderer/src/store/projects/repos-project-host-lifecycle.test.ts", "src/renderer/src/store/repos/repos-remove-project-purge-leak.test.ts", - "src/renderer/src/store/repos/repos-update-serialization.test.ts", - "src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab.test.ts", - "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts" + "src/renderer/src/store/repos/repos-update-serialization.test.ts" ], "assertionRefs": [ { @@ -7040,12 +6839,6 @@ "assertions": [ "removing one project evicts its authority-scoped agent inventory without disturbing another project" ] - }, - { - "file": "src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab.test.ts", - "assertions": [ - "the advertised Floating agent launches in a Floating tab with null runtime ownership and no paired-runtime create call" - ] } ], "evidenceRuns": [ @@ -7081,6 +6874,9 @@ "Keep disjoint provider inventories, refresh isolation, launch authority, and bounded in-flight state green." ], "knownGaps": [ + "NEXT65 current scope qualification: The NEXT65 knownGaps entries below govern the changed selectors and qualify any broader coverage implication in this gate’s unchanged oracle/coverageNotes narratives. Those narratives and preserved dated evidenceRuns retain their historical text and original exact execution scopes only; no fresh execution, transferred pass or equivalent replacement coverage is claimed. Upstream case removals remain upstream; original NEXT65 proposal descriptions grant no duplicate retirement credit.", + "NEXT65 active selector scope reduction (including directory-selected whole-file retirements): src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts. Remove complete registrations or registrar files within the selected scope for src/renderer/src/components/terminal-pane/pty-connection/spawn/pty-connection-split-spawn.spec.ts. Intentionally lose these named regression alarms without replacement: clears the mobile-fit pane binding when the pane connection is disposed — Pane dispose clearing the mobile-fit binding and PTY dataset loses this direct example.; continues post-spawn size reconcile after a transient mobile presence lock — Size reconciliation continuing after a transient phone-presence lock loses this direct example.; spawns the delayed primary pane of an issue-command split when its sibling owns the tab PTY fallback — Delayed primary split spawning independently after a sibling acquires tab fallback loses this direct example.; does not reuse a sibling split pane pending spawn after remount — Remounted primary adopting its own pending PTY rather than the sibling spawn loses this direct example.; replays a stable-pane adoption without submitting the resume command — Stable-pane adoption replay preserving replay-before-live ordering and suppressing resume command loses this direct example.; forwards focus and hover reports without claiming a parked mirror (#26469) — Passive focus/hover forwarding without stealing mirror ownership, then intended Ctrl+C/click claiming, loses this direct example.. Surviving parent statements and sibling registrations are preserved, but these reduced parent selectors have no fresh execution or transferred historical pass. Unrelated complete dated receipts retain only their original exact scopes; no equivalent replacement, rendered UI, provider, mobile, or cross-platform coverage is claimed.", + "NEXT65 historical original active parent-selector fields (verbatim native JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/hooks/useDetectedAgents.test.tsx src/renderer/src/store/slices/agent-inventory/detected-agents.test.ts src/renderer/src/store/slices/agent-inventory/local-detected-agent-state.test.ts src/renderer/src/store/project-groups/repos-project-group-create-race.test.ts src/renderer/src/store/project-groups/repos-project-groups-delete.test.ts src/renderer/src/store/project-groups/repos-project-groups-owner-routing.test.ts src/renderer/src/store/projects/repos-project-host-capability.test.ts src/renderer/src/store/projects/repos-project-host-lifecycle.test.ts src/renderer/src/store/repos/repos-remove-project-purge-leak.test.ts src/renderer/src/store/repos/repos-update-serialization.test.ts src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab.test.ts --reporter=verbose\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts --reporter=dot\",\n \"Headed Electron/CDP STA-4027 journey on Orca environment windows 2 with a selected Ubuntu-24.04 WSL project and local Floating Workspace\"\n ]\ntestFiles: [\n \"src/renderer/src/hooks/useDetectedAgents.test.tsx\",\n \"src/renderer/src/store/slices/agent-inventory/detected-agents.test.ts\",\n \"src/renderer/src/store/slices/agent-inventory/local-detected-agent-state.test.ts\",\n \"src/renderer/src/store/project-groups/repos-project-group-create-race.test.ts\",\n \"src/renderer/src/store/project-groups/repos-project-groups-delete.test.ts\",\n \"src/renderer/src/store/project-groups/repos-project-groups-owner-routing.test.ts\",\n \"src/renderer/src/store/projects/repos-project-host-capability.test.ts\",\n \"src/renderer/src/store/projects/repos-project-host-lifecycle.test.ts\",\n \"src/renderer/src/store/repos/repos-remove-project-purge-leak.test.ts\",\n \"src/renderer/src/store/repos/repos-update-serialization.test.ts\",\n \"src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/hooks/useDetectedAgents.test.tsx\",\n \"assertions\": [\n \"the active WSL project advertises only its WSL agent while Floating advertises only the native-host agent\",\n \"Floating refresh preserves both scoped inventories and does not overwrite the legacy active-project inventory\"\n ]\n },\n {\n \"file\": \"src/renderer/src/store/slices/agent-inventory/local-detected-agent-state.test.ts\",\n \"assertions\": [\n \"same-context callers deduplicate without cached broadcast fanout\",\n \"refresh supersedes stale detection and failed cold refresh remains retryable\",\n \"project removal evicts in-flight context state\"\n ]\n },\n {\n \"file\": \"src/renderer/src/store/repos/repos-remove-project-purge-leak.test.ts\",\n \"assertions\": [\n \"removing one project evicts its authority-scoped agent inventory without disturbing another project\"\n ]\n },\n {\n \"file\": \"src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab.test.ts\",\n \"assertions\": [\n \"the advertised Floating agent launches in a Floating tab with null runtime ownership and no paired-runtime create call\"\n ]\n }\n ]", "Audit3069 retires nominal spawn/resume/banner wiring, first-fit and lookup-budget variants, private pending-map checks, the split-CWD disposal suite and startup command/draft baseline variants. Distinct regression alarms are intentionally lost without equivalent replacement; retained ownership, cancellation and recovery cases remain. Existing selectors and dated evidence retain their original scope. The retired Floating local IPC/WSL routing alias is removed; the separate StrictMode pending-spawn adoption alias remains.", "Audit3061 retires the park-model supplied snapshot suite and nominal mode, cursor, focus, geometry and remote resume metadata variants. Their distinct alarms are intentionally lost; six retained mode/remote cases preserve selected tail-order, authority and parse-readiness boundaries without equivalent replacement. Existing selectors and dated evidence retain their original scope.", "Audit2133 current-parent preparation (988 authored removals; independently reviewed2099/2107/2115/2116 decisions; upstream clear-buffer and recovery-image regressions retained): Intentionally retire these low-value alarms without replacement: src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts: remove only literal registration import/call pairs import { registerPtyConnectionTerminalBellAttentionTests } from '../notifications/pty-connection-terminal-bell-attention.spec', registerPtyConnectionTerminalBellAttentionTests(); no additional authored credit. src/renderer/src/components/terminal-pane/pty-connection/notifications/pty-connection-terminal-bell-attention.spec.ts: forwards onBell to pane attention and notification policy; hands the bell to the attention module with its pane even when pane attention is off. Current changed source bytes, wrapper registrations and reduced selectors have no fresh execution or red/green credit. Unrelated surviving receipt objects keep their original narrow scope; current literal graph reachability does not establish historical import closure or equivalent replacement coverage. Current conservative command/import graph reaches src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts, src/renderer/src/components/terminal-pane/pty-connection/notifications/pty-connection-terminal-bell-attention.spec.ts. Unresolved local/computed edges remain explicit debt.", @@ -7095,7 +6891,10 @@ "Audit1396: src/renderer/src/components/terminal-pane/pty-connection-pending-spawn.spec.ts reduced. Lose standalone debug-state retention/log silence alarm. React StrictMode is not mounted; bindings manually simulate remount over mocked transport. No equivalent replacement coverage is claimed.", "Audit1396 retires this complete dated receipt because a source in its selector was deleted or reduced. It does not validate the reduced selector. Original receipt verbatim:\n{\n \"date\": \"2026-08-12\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-connection-fresh-spawn-guards.test.ts --reporter=dot\",\n \"result\": \"passed\",\n \"durationSeconds\": 20,\n \"summary\": \"The full PTY connection suite passed the independent Floating native-host transport oracle.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-connection-spawn-and-startup.test.ts --reporter=dot\"\n }", "Audit1396 historical platform/provider scope before source changes: {\"coveredPlatforms\":[\"macos\",\"windows\"],\"coveredProviders\":[\"local\",\"wsl\"]}. Remaining provider scope applies only to unchanged-source receipts.", - "Audit2371 reduces repos-project-group-create-race.test.ts by removing the two-host generic failed-create-response/no-op example. Its alarm that a failed create reply leaves an intervening refreshed state untouched is intentionally lost. The surviving refreshed-field and original-owner races do not supply equivalent replacement coverage. No fresh execution or red/green evidence validates the reduced source; unrelated physical Windows/WSL receipt retains its original command and scope." + "Audit2371 reduces repos-project-group-create-race.test.ts by removing the two-host generic failed-create-response/no-op example. Its alarm that a failed create reply leaves an intervening refreshed state untouched is intentionally lost. The surviving refreshed-field and original-owner races do not supply equivalent replacement coverage. No fresh execution or red/green evidence validates the reduced source; unrelated physical Windows/WSL receipt retains its original command and scope.", + "Finite R02 ownership closure retires all three cases from pty-connection/spawn/pty-connection-fresh-spawn-guards.spec.ts and its empty aggregate registration. Intentionally lost alarms: deletion-phase fresh-spawn admission; wrapped worktree-removal fence error suppression; classified typing versus synthetic query/mouse/alternate-wheel replay input, normal-arrow preservation, deferred input provenance and post-replay restoration. No equivalent replacement coverage, new execution, real PTY delivery or CI claim. Historical receipts and their original commands/counts/results remain historical and do not validate the reduced selector.", + "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed.\nOriginal active selector fields (historical raw native JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/hooks/useDetectedAgents.test.tsx src/renderer/src/store/slices/agent-inventory/detected-agents.test.ts src/renderer/src/store/slices/agent-inventory/local-detected-agent-state.test.ts src/renderer/src/store/project-groups/repos-project-group-create-race.test.ts src/renderer/src/store/project-groups/repos-project-groups-delete.test.ts src/renderer/src/store/project-groups/repos-project-groups-owner-routing.test.ts src/renderer/src/store/projects/repos-project-host-capability.test.ts src/renderer/src/store/projects/repos-project-host-lifecycle.test.ts src/renderer/src/store/repos/repos-remove-project-purge-leak.test.ts src/renderer/src/store/repos/repos-update-serialization.test.ts src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab.test.ts --reporter=verbose\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts --reporter=dot\",\n \"Headed Electron/CDP STA-4027 journey on Orca environment windows 2 with a selected Ubuntu-24.04 WSL project and local Floating Workspace\"\n ]\ntestFiles: [\n \"src/renderer/src/hooks/useDetectedAgents.test.tsx\",\n \"src/renderer/src/store/slices/agent-inventory/detected-agents.test.ts\",\n \"src/renderer/src/store/slices/agent-inventory/local-detected-agent-state.test.ts\",\n \"src/renderer/src/store/project-groups/repos-project-group-create-race.test.ts\",\n \"src/renderer/src/store/project-groups/repos-project-groups-delete.test.ts\",\n \"src/renderer/src/store/project-groups/repos-project-groups-owner-routing.test.ts\",\n \"src/renderer/src/store/projects/repos-project-host-capability.test.ts\",\n \"src/renderer/src/store/projects/repos-project-host-lifecycle.test.ts\",\n \"src/renderer/src/store/repos/repos-remove-project-purge-leak.test.ts\",\n \"src/renderer/src/store/repos/repos-update-serialization.test.ts\",\n \"src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/hooks/useDetectedAgents.test.tsx\",\n \"assertions\": [\n \"the active WSL project advertises only its WSL agent while Floating advertises only the native-host agent\",\n \"Floating refresh preserves both scoped inventories and does not overwrite the legacy active-project inventory\"\n ]\n },\n {\n \"file\": \"src/renderer/src/store/slices/agent-inventory/local-detected-agent-state.test.ts\",\n \"assertions\": [\n \"same-context callers deduplicate without cached broadcast fanout\",\n \"refresh supersedes stale detection and failed cold refresh remains retryable\",\n \"project removal evicts in-flight context state\"\n ]\n },\n {\n \"file\": \"src/renderer/src/store/repos/repos-remove-project-purge-leak.test.ts\",\n \"assertions\": [\n \"removing one project evicts its authority-scoped agent inventory without disturbing another project\"\n ]\n },\n {\n \"file\": \"src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab.test.ts\",\n \"assertions\": [\n \"the advertised Floating agent launches in a Floating tab with null runtime ownership and no paired-runtime create call\"\n ]\n }\n ]", + "Renderer direct-owner cleanup retires the complete launch-agent-in-new-tab suite (six registrations/ten examples). Lost alarms cover child cwd/trust scope, captured host/selection ownership and creation settlement, precreation refusal, canonical args/model fallback, oversized Windows draft paste, and late-SSH status fencing. Owning private capability fixture state was consumed. No equivalent replacement, fresh execution, native process/provider, rendered UI, performance, or cross-platform result is claimed. Other source mappings and the existing independent manual Windows receipt keep their prior scope; retained shortcut/SourceControl/continuation cases do not replace these alarms. Historical removed active mappings (verbatim semantic values; no longer active): [{\"field\":\"testFiles\",\"previous\":[\"src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab.test.ts\"]},{\"field\":\"assertionRefs\",\"previous\":[{\"file\":\"src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab.test.ts\",\"assertions\":[\"the advertised Floating agent launches in a Floating tab with null runtime ownership and no paired-runtime create call\"]}]},{\"field\":\"commands\",\"previous\":[\"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/hooks/useDetectedAgents.test.tsx src/renderer/src/store/slices/agent-inventory/detected-agents.test.ts src/renderer/src/store/slices/agent-inventory/local-detected-agent-state.test.ts src/renderer/src/store/project-groups/repos-project-group-create-race.test.ts src/renderer/src/store/project-groups/repos-project-groups-delete.test.ts src/renderer/src/store/project-groups/repos-project-groups-owner-routing.test.ts src/renderer/src/store/projects/repos-project-host-capability.test.ts src/renderer/src/store/projects/repos-project-host-lifecycle.test.ts src/renderer/src/store/repos/repos-remove-project-purge-leak.test.ts src/renderer/src/store/repos/repos-update-serialization.test.ts src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab.test.ts --reporter=verbose\"]}]" ], "demotionRule": "Demote if discovery and launch can resolve different authorities, a scoped Floating probe overwrites the active-project inventory, or local context selection adds recurring scans or retained in-flight entries." }, @@ -7159,7 +6958,7 @@ "id": "agent-session.provider-ownership", "title": "Provider sessions are resumed once per workspace ownership claim", "maturity": "experimental", - "protection": "partial", + "protection": "none", "owner": "agent-session", "layer": "cross-boundary", "surfaces": [ @@ -7172,9 +6971,9 @@ ], "platforms": ["macos", "linux", "windows"], "providers": ["local", "daemon", "ssh", "wsl", "remote-runtime"], - "coveredPlatforms": ["macos"], - "coveredProviders": ["local", "daemon", "remote-runtime"], - "coverageNotes": "Audit2236: pane-fit.test.ts is reduced to terminal-identity reveal, stale-handle replacement ownership and withheld-animation-frame completion. The existing withheld-frame assertion remains exact; additional scheduling/breadcrumb, cancellation, display-none and synthetic metric examples are removed. No new execution or equivalent replacement coverage is claimed. Historical dated receipts and budgets are preserved verbatim and do not validate these reduced source bytes. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1685 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1683 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1627 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1623 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally deletes src/renderer/src/components/terminal-pane/pty-connection-hidden-tui-snapshot-replay.spec.ts: Loses rich hidden snapshot sequence replay/grid resize and forced repaint after hidden snapshot alarms, including live-trigger deduplication. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Renderer ownership/dedupe contracts cover provider-session claims. Local and daemon attach-only contracts prove an existing stable-pane owner is adopted without provider creation, while remote-runtime transport contracts preserve adopted ownership through cancellation. The Electron oracle covers a local macOS runtime and daemon with real agent, Setup, and unrelated-canary processes; SSH, WSL, paired-server, Linux, and Windows remain contract-only or unrun. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1391: src/renderer/src/components/terminal-pane/pty-connection-remote-pause-drop-notice.spec.ts reduced. Lose repeated quiet switches avoiding snapshots and legacy host without drop-report capability requesting a snapshot. Retained imported registrar uses fake transport/xterm writes, exercising real gap/restore lifecycle rather than actual terminal rendering. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", + "coveredPlatforms": [], + "coveredProviders": [], + "coverageNotes": "Audit3368 retires whole sleeping-agent-resume and host-session-launch suites: provider-claim/deduplication, stable-pane reattach, recipe/WSL startup, callback/cancel/create-close and compatibility examples are intentionally lost without equivalent replacement. The sole dated receipt is retired verbatim. With no active evidence, protection/platform/provider evidence clears and ALL commands/testFiles/assertionRefs are retired as complete original arrays in historical gaps, including selectors of surviving other sources; those sources remain in the broad suite. Prior red/green/flake accounts are historical only. No fresh runtime/provider/process/UI/mobile/mixed-version/cross-platform evidence is claimed. Audit2236: pane-fit.test.ts is reduced to terminal-identity reveal, stale-handle replacement ownership and withheld-animation-frame completion. The existing withheld-frame assertion remains exact; additional scheduling/breadcrumb, cancellation, display-none and synthetic metric examples are removed. No new execution or equivalent replacement coverage is claimed. Historical dated receipts and budgets are preserved verbatim and do not validate these reduced source bytes. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1685 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1683 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1627 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1623 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally deletes src/renderer/src/components/terminal-pane/pty-connection-hidden-tui-snapshot-replay.spec.ts: Loses rich hidden snapshot sequence replay/grid resize and forced repaint after hidden snapshot alarms, including live-trigger deduplication. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Renderer ownership/dedupe contracts cover provider-session claims. Local and daemon attach-only contracts prove an existing stable-pane owner is adopted without provider creation, while remote-runtime transport contracts preserve adopted ownership through cancellation. The Electron oracle covers a local macOS runtime and daemon with real agent, Setup, and unrelated-canary processes; SSH, WSL, paired-server, Linux, and Windows remain contract-only or unrun. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1391: src/renderer/src/components/terminal-pane/pty-connection-remote-pause-drop-notice.spec.ts reduced. Lose repeated quiet switches avoiding snapshots and legacy host without drop-report capability requesting a snapshot. Retained imported registrar uses fake transport/xterm writes, exercising real gap/restore lifecycle rather than actual terminal rendering. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", "motivatingLinks": [ "https://github.com/stablyai/orca/pull/6800", "https://github.com/stablyai/orca/pull/5240", @@ -7184,107 +6983,22 @@ "https://github.com/stablyai/orca/pull/11819" ], "invariant": "Workspace activation, launch, restore, sleep, hibernate, dedupe, clearing, mount, remount, and reconnect code must not replay or resume a provider session id already owned, queued, pending, live, or durably bound to a host PTY in that workspace. A renderer with missing projection state must adopt the exact runtime-owned PTY for the original tab and leaf rather than create a replacement.", - "oracle": "Current assertionRefs retain separate provider-session non-replay and exact-PTY adoption checks in resume-sleeping-agent-session, completed-worker-retirement-resume, remote-runtime-pty-transport-host-session-launch and live-background-terminal-mount-authority. This batch changes only pane-fit's contribution: its three surviving cases check terminal-identity reveal, stale-handle replacement and withheld-frame completion; they do not prove provider-session ownership or exact-PTY adoption. Other assertionRefs and selectors remain unchanged; no fresh execution of those separate contracts is claimed. Audit2236: pane-fit.test.ts is reduced to terminal-identity reveal, stale-handle replacement ownership and withheld-animation-frame completion. The existing withheld-frame assertion remains exact; additional scheduling/breadcrumb, cancellation, display-none and synthetic metric examples are removed. No new execution or equivalent replacement coverage is claimed. Historical dated receipts and budgets are preserved verbatim and do not validate these reduced source bytes. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1685 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1683 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Renderer-state tests assert provider-session ownership across preserved and queued panes. Main/provider contracts assert atomic attach-only adoption, stable host/worktree/tab/leaf identity, no fresh spawn on adoption, and safe paired-runtime cancellation. The Electron oracle creates inactive runtime-owned Codex and Setup PTYs plus an unrelated canary, seeds an exact resumable provider session, removes only the target renderer projections, and activates the workspace. It requires byte-stable handle, PTY, incarnation, tab, leaf, process PID, renderer graph, persisted binding, runtime id, graph epoch, and daemon PID across first mount and reload; PID-specific DOM keyboard I/O must remain live with one launch, zero resume argv, zero signals, zero interruption text, and no canary mutation.", - "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts tests/e2e/completed-worker-retirement-resume.unit.test.ts --reporter=verbose", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session.test.ts src/main/providers/local-pty/local-pty-provider-spawn-session.test.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/ipc/pty/pty-pane-reservation-settlement.test.ts src/main/runtime/construction/orca-runtime.test.ts src/renderer/src/lib/pane-manager/pane-fit.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts", - "pnpm exec electron-vite build --mode e2e && SKIP_BUILD=1 pnpm exec playwright test tests/e2e/live-background-terminal-mount-authority.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1", - "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/agent-session/lifecycle/structured-agent-cli-writers.test.ts src/main/runtime/rpc/methods/structured-sessions/creation/structured-agent-session-adoption-replay.test.ts src/main/providers/agent-foreground-process-git-bash.win32.test.ts" - ], - "testFiles": [ - "src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session.test.ts", - "tests/e2e/completed-worker-retirement-resume.unit.test.ts", - "src/main/providers/local-pty/local-pty-provider-spawn-session.test.ts", - "src/main/daemon/terminal-host/testing/terminal-host.test.ts", - "src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts", - "src/main/ipc/pty/pty-pane-reservation-settlement.test.ts", - "src/main/runtime/construction/orca-runtime.test.ts", - "src/renderer/src/lib/pane-manager/pane-fit.test.ts", - "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts", - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts", - "tests/e2e/live-background-terminal-mount-authority.spec.ts", - "src/main/runtime/agent-session/lifecycle/structured-agent-cli-writers.test.ts", - "src/main/runtime/rpc/methods/structured-sessions/creation/structured-agent-session-adoption-replay.test.ts", - "src/main/providers/agent-foreground-process-git-bash.win32.test.ts" - ], - "assertionRefs": [ - { - "file": "src/main/runtime/rpc/methods/structured-sessions/creation/structured-agent-session-adoption-replay.test.ts", - "assertions": ["captures source before routing (unary=%s)"] - }, - { - "file": "src/main/providers/agent-foreground-process-git-bash.win32.test.ts", - "assertions": ["sets aside a detached ssh-agent for adoption, but not a background job"] - }, - { - "file": "tests/e2e/completed-worker-retirement-resume.unit.test.ts", - "assertions": [ - "completed and explicitly retired workers retain no provider-resume authority on first workspace activation", - "the original tab, leaf, PTY, provider session, release state, replacement count, queued resume argv, emitted restored banner, and unrelated canary remain exact across restart" - ] - }, - { - "file": "src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session.test.ts", - "assertions": [ - "preserved panes claim their provider session and only stale duplicates are cleared", - "one launch per provider session: skipped duplicates are cleared instead of relaunched", - "active stable-pane records owned by preserved or visible panes are not resumed again", - "hibernated stable panes with cleared live PTY bindings are skipped" - ] - }, - { - "file": "src/renderer/src/lib/pane-manager/pane-fit.test.ts", - "assertions": [ - "withheld hidden-window animation frames exhaust the bounded fit retry and release its continuation" - ] - }, - { - "file": "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts", - "assertions": [ - "same-generation explicit reattach drains the authoritative snapshot before immediate live bytes and ACKs their delivery credit" - ] - }, - { - "file": "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts", - "assertions": [ - "paired-runtime stable-pane adoption reports reattach without fresh-spawn ownership", - "cancellation after a paired-runtime adoption cannot close the original owner" - ] - }, - { - "file": "tests/e2e/live-background-terminal-mount-authority.spec.ts", - "assertions": [ - "first mount and renderer reload preserve exact agent and Setup handle, PTY, incarnation, tab, leaf, and PID identity", - "PID-specific keyboard input and output remain user-visible in both mounted panes", - "runtime inventory, renderer graph, persisted session, runtime epoch, and daemon PID converge without replacement or resume", - "the unrelated canary remains writable and receives no signal across target projection repair" - ] - } - ], - "evidenceRuns": [ - { - "date": "2026-07-03", - "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/resume-sleeping-agent-session.test.ts", - "result": "passed", - "durationSeconds": 1.9, - "summary": "1 test file(s) passed, 30 tests passed on main@1282f5c2d in a clean checkout.", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session.test.ts" - } - ], + "oracle": "Audit3368 retires whole sleeping-agent-resume and host-session-launch suites: provider-claim/deduplication, stable-pane reattach, recipe/WSL startup, callback/cancel/create-close and compatibility examples are intentionally lost without equivalent replacement. The sole dated receipt is retired verbatim. With no active evidence, protection/platform/provider evidence clears and ALL commands/testFiles/assertionRefs are retired as complete original arrays in historical gaps, including selectors of surviving other sources; those sources remain in the broad suite. Prior red/green/flake accounts are historical only. No fresh runtime/provider/process/UI/mobile/mixed-version/cross-platform evidence is claimed. Current assertionRefs retain separate provider-session non-replay and exact-PTY adoption checks in resume-sleeping-agent-session, completed-worker-retirement-resume, remote-runtime-pty-transport-host-session-launch and live-background-terminal-mount-authority. This batch changes only pane-fit's contribution: its three surviving cases check terminal-identity reveal, stale-handle replacement and withheld-frame completion; they do not prove provider-session ownership or exact-PTY adoption. Other assertionRefs and selectors remain unchanged; no fresh execution of those separate contracts is claimed. Audit2236: pane-fit.test.ts is reduced to terminal-identity reveal, stale-handle replacement ownership and withheld-animation-frame completion. The existing withheld-frame assertion remains exact; additional scheduling/breadcrumb, cancellation, display-none and synthetic metric examples are removed. No new execution or equivalent replacement coverage is claimed. Historical dated receipts and budgets are preserved verbatim and do not validate these reduced source bytes. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit1685 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Audit1683 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Renderer-state tests assert provider-session ownership across preserved and queued panes. Main/provider contracts assert atomic attach-only adoption, stable host/worktree/tab/leaf identity, no fresh spawn on adoption, and safe paired-runtime cancellation. The Electron oracle creates inactive runtime-owned Codex and Setup PTYs plus an unrelated canary, seeds an exact resumable provider session, removes only the target renderer projections, and activates the workspace. It requires byte-stable handle, PTY, incarnation, tab, leaf, process PID, renderer graph, persisted binding, runtime id, graph epoch, and daemon PID across first mount and reload; PID-specific DOM keyboard I/O must remain live with one launch, zero resume argv, zero signals, zero interruption text, and no canary mutation.", + "commands": [], + "testFiles": [], + "assertionRefs": [], + "evidenceRuns": [], "runtimeBudget": { "p95Seconds": 180, "scope": "focused renderer/main/provider contracts plus one isolated Electron mount-and-reload journey" }, "flakeHistory": { "status": "unknown", - "evidence": "The renderer gate has prior local evidence; the stable-pane Electron oracle is new and needs CI soak before blocking promotion." + "evidence": "Audit3368 retires sole active dated receipt. No fresh execution/soak validates current coverage; complete original account preserved verbatim as history." }, "redGreenEvidence": { "status": "missing", - "evidence": "Audit2133 current-parent preparation: Changed test bytes/selectors have no fresh red/green validation. Unrelated retained-source historical evidence keeps its original scope. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Changed test bytes/selectors have no fresh red/green validation. Unrelated retained-source historical evidence keeps its original scope. Historical prior account (preserved verbatim): Renderer tests encode provider-session dedupe across active, inactive, queued, and live claims. The cross-boundary Electron oracle is constructed for byte-identical latest-main, candidate, and candidate-revert runs; record those three terminal results before promoting this gate." + "evidence": "Audit3368 changes/deletes referenced sources. No fresh red/green proof validates reduced coverage; original complete account preserved verbatim in knownGaps as history." }, "performanceBudget": { "required": true, @@ -7297,6 +7011,9 @@ "Record byte-identical latest-main, candidate, and candidate-revert Electron results." ], "knownGaps": [ + "NEXT65 current scope qualification: The NEXT65 knownGaps entries below govern the changed selectors and qualify any broader coverage implication in this gate’s unchanged oracle/coverageNotes narratives. Those narratives and preserved dated evidenceRuns retain their historical text and original exact execution scopes only; no fresh execution, transferred pass or equivalent replacement coverage is claimed. Upstream case removals remain upstream; original NEXT65 proposal descriptions grant no duplicate retirement credit.", + "NEXT65 active selector scope reduction (including directory-selected whole-file retirements): src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts. Remove complete registrations or registrar files within the selected scope for src/renderer/src/components/terminal-pane/pty-connection/reattach/pty-connection-daemon-snapshot-replay.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/reattach/pty-connection-stale-daemon-snapshot-replay.spec.ts. Intentionally lose these named regression alarms without replacement: clears the captured pen for a normal-buffer fallback reattach — Fallback normal-buffer reattach clearing captured pen and dirty background loses this direct example.; waits for a recovered destination fit before forwarding its grid or live output — Recovered destination fitting before forwarding grid or live output loses this direct example.; suppresses the deferred reattach grid push when mobile claims the PTY while hidden — Mobile takeover while hidden suppressing deferred reattach grid forwarding loses this direct example.; drops stale callbacks but delivers fresh replacement output after an old replay clear — Fresh replacement output winning over stale callbacks after old replay clear loses this direct example.. Surviving parent statements and sibling registrations are preserved, but these reduced parent selectors have no fresh execution or transferred historical pass. Unrelated complete dated receipts retain only their original exact scopes; no equivalent replacement, rendered UI, provider, mobile, or cross-platform coverage is claimed.", + "NEXT65 historical original active parent-selector fields (verbatim native JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts tests/e2e/completed-worker-retirement-resume.unit.test.ts --reporter=verbose\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session.test.ts src/main/providers/local-pty/local-pty-provider-spawn-session.test.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/ipc/pty/pty-pane-reservation-settlement.test.ts src/main/runtime/construction/orca-runtime.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts\",\n \"pnpm exec electron-vite build --mode e2e && SKIP_BUILD=1 pnpm exec playwright test tests/e2e/live-background-terminal-mount-authority.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/agent-session/lifecycle/structured-agent-cli-writers.test.ts src/main/runtime/rpc/methods/structured-sessions/creation/structured-agent-session-adoption-replay.test.ts src/main/providers/agent-foreground-process-git-bash.win32.test.ts\"\n ]\ntestFiles: [\n \"src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session.test.ts\",\n \"tests/e2e/completed-worker-retirement-resume.unit.test.ts\",\n \"src/main/providers/local-pty/local-pty-provider-spawn-session.test.ts\",\n \"src/main/daemon/terminal-host/testing/terminal-host.test.ts\",\n \"src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts\",\n \"src/main/ipc/pty/pty-pane-reservation-settlement.test.ts\",\n \"src/main/runtime/construction/orca-runtime.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts\",\n \"tests/e2e/live-background-terminal-mount-authority.spec.ts\",\n \"src/main/runtime/agent-session/lifecycle/structured-agent-cli-writers.test.ts\",\n \"src/main/runtime/rpc/methods/structured-sessions/creation/structured-agent-session-adoption-replay.test.ts\",\n \"src/main/providers/agent-foreground-process-git-bash.win32.test.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/main/runtime/rpc/methods/structured-sessions/creation/structured-agent-session-adoption-replay.test.ts\",\n \"assertions\": [\"captures source before routing (unary=%s)\"]\n },\n {\n \"file\": \"src/main/providers/agent-foreground-process-git-bash.win32.test.ts\",\n \"assertions\": [\"sets aside a detached ssh-agent for adoption, but not a background job\"]\n },\n {\n \"file\": \"tests/e2e/completed-worker-retirement-resume.unit.test.ts\",\n \"assertions\": [\n \"completed and explicitly retired workers retain no provider-resume authority on first workspace activation\",\n \"the original tab, leaf, PTY, provider session, release state, replacement count, queued resume argv, emitted restored banner, and unrelated canary remain exact across restart\"\n ]\n },\n {\n \"file\": \"src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session.test.ts\",\n \"assertions\": [\n \"preserved panes claim their provider session and only stale duplicates are cleared\",\n \"one launch per provider session: skipped duplicates are cleared instead of relaunched\",\n \"active stable-pane records owned by preserved or visible panes are not resumed again\",\n \"hibernated stable panes with cleared live PTY bindings are skipped\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"assertions\": [\n \"same-generation explicit reattach drains the authoritative snapshot before immediate live bytes and ACKs their delivery credit\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts\",\n \"assertions\": [\n \"paired-runtime stable-pane adoption reports reattach without fresh-spawn ownership\",\n \"cancellation after a paired-runtime adoption cannot close the original owner\"\n ]\n },\n {\n \"file\": \"tests/e2e/live-background-terminal-mount-authority.spec.ts\",\n \"assertions\": [\n \"first mount and renderer reload preserve exact agent and Setup handle, PTY, incarnation, tab, leaf, and PID identity\",\n \"PID-specific keyboard input and output remain user-visible in both mounted panes\",\n \"runtime inventory, renderer graph, persisted session, runtime epoch, and daemon PID converge without replacement or resume\",\n \"the unrelated canary remains writable and receives no signal across target projection repair\"\n ]\n }\n ]", "Audit3053 reduces hidden-replay coverage by retiring nominal overlap, resize, cursor metadata and standalone stalled-restore variants. Timeout, overflow, identity/generation fences and retained live-output coordination remain; the removed alarms are intentionally lost without equivalent replacement. Existing commands, assertion references and dated evidence retain their original scope.", "Audit2236: pane-fit.test.ts is reduced to terminal-identity reveal, stale-handle replacement ownership and withheld-animation-frame completion. The existing withheld-frame assertion remains exact; additional scheduling/breadcrumb, cancellation, display-none and synthetic metric examples are removed. No new execution or equivalent replacement coverage is claimed. Historical dated receipts and budgets are preserved verbatim and do not validate these reduced source bytes.", "Audit2145 accepts removal of canned runtime metadata/guard/forwarding, fake in-memory persistence, private work-count and wrapper-duplication tests from the construction/orca-runtime.test.ts aggregate, plus the two automation run-context guards from runtime-workspace-launch-contracts.test.ts. Retained race, framing, physical completion and ownership callbacks remain byte-identical. Existing commands remain valid selectors; historical receipts stay unchanged and provide no fresh validation or replacement coverage for the reduced suites.", @@ -7324,7 +7041,18 @@ "Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/mobile-session-tabs-part-14.spec'). src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-03.spec.ts: arms the stale-title timer for a seeded working title; arms the Command Code scrape from the noted spawn command; prefers the tracked title over a stale renderer lastTitle in the hydration seed; writes recent output into the current runtime output map; uses a later title handler replacement with the runtime receiver; calls the current injected listener with the runtime receiver; keeps optional reconciliation lazy after its callback is removed. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-14.spec.ts: lists them, so a paired client can mirror a migrated editor; closes one by retiring it from the host session; keeps an unsaved draft unless the close is forced; shares aggregate work but leaves a replacement pending promise alone; lets a targeted refresh finish while an aggregate refresh waits; refuses a close when the store lacks %s before the guard; keeps a later missing %s on the original caught failure path. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed.", "Audit2061 (sources2059/2060): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/mobile-session-tabs-headless-chat-rebuild.spec'); await import('./orca-runtime-tests/mobile-session-tabs-cold-serve-hydrate.spec'); await import('./orca-runtime-tests/worktree-removal-execution-host.spec'); await import('./orca-runtime-tests/terminal-spawn-dispatch.spec'). src/main/runtime/orca-runtime-tests/headless-snapshots-part-02.spec.ts: replaces a cwd parsed before late WSL context with the provider cwd; keeps a live WSL cwd that arrives during late-context snapshot recovery; infers local reconstructed WSL context from a WSL UNC worktree; clears stale terminal file URI hostnames after empty-host OSC7 cwd updates; serializes SSH headless OSC7 cwd as POSIX when the desktop runtime is on Windows; keeps Windows SSH OSC7 cwd as a drive path when the desktop runtime is POSIX; serializes Windows SSH headless OSC7 cwd as a drive path on POSIX desktops; infers restored SSH connection identity from app-scoped PTY ids. src/main/runtime/orca-runtime-tests/mobile-session-tabs-headless-chat-rebuild.spec.ts: survives the rebuild that closing a saved editor tab forces; keeps its place in the tab order when the host lists the workspace again; lists tabs to phones in the order desktop clients draw after a rebuild; keeps the place a window gave a chat across a graph resend before the chat is restored. src/main/runtime/orca-runtime-tests/mobile-session-tabs-cold-serve-hydrate.spec.ts: lists every persisted terminal of a windowless host after a cold restart; lists every persisted terminal in the all-worktrees inventory after a cold restart; lists persisted editor tabs beside the terminals after a cold restart; restores a persisted split group layout on the cold rebuild; restores the saved active group of a split even when it is not the first group; falls back to the active tab group when the saved active group was not restored; keeps the headless group active when there is no persisted split; keeps phone and CLI creates in the group they joined across a cold restart. src/main/runtime/orca-runtime-tests/worktree-removal-failed-retry.spec.ts: lists the leftover with its error, though Git no longer does; takes the normal delete once Git registers a checkout at the path again; joins a retry another client started while this Delete listed Git; shows the failed row with its error, not the scan cached before the delete. src/main/runtime/orca-runtime-tests/worktree-removal-execution-host.spec.ts: refuses an SSH row whose host is unreachable instead of deleting here; refuses a runtime row with no nested SSH target rather than deleting locally; refuses a runtime row that also names a nested SSH target; retains runtime purge dispatch in a recovery job; uses the runtime helper override before resuming an interrupted removal; uses the runtime helper override before retrying a failed removal; captures the watcher callback and retains its job-host receiver; reads the current runtime removal queue. src/main/runtime/orca-runtime-tests/terminal-spawn-dispatch.spec.ts: reports the spawn request before it leaves for the pty controller; reports it even when the spawn itself then fails; does not report it when the create fails before any spawn request; captures the admission method before reading the incarnation; captures the record method before evaluating its state object; skips database payload serialization when no database exists; skips a throwing database payload when no database exists; keeps the database method and receiver captured before its payload; captures the canonical map method before a binding getter changes it; completes the captured replacement fence without another map lookup. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed.", "Module layout policy correction: retire the remaining program-status-osc.spec.ts event-projection case (production/mock-derived pane-key oracle) and sign-in timeout case (real setTimeout wait with Date-only fake clocks). The runtime test registrar no longer imports that file. No replacement coverage or fresh execution is claimed for these losses; historical receipts retain their original source scope.", - "Module layout policy correction: retire the two remaining worktree-ps-agent-row-dismissal.spec.ts registrations. The remint/dismissal/exit case computed expected snapshotVersion increments from a production snapshot and used real-clock vi.waitFor; the legacy OSC case derived its expected paneKey from the production layout-owner switch. The runtime registrar no longer imports this file. These public projection scenarios have no replacement coverage or fresh execution claimed; all historical receipts and earlier loss notes retain their original source scope." + "Module layout policy correction: retire the two remaining worktree-ps-agent-row-dismissal.spec.ts registrations. The remint/dismissal/exit case computed expected snapshotVersion increments from a production snapshot and used real-clock vi.waitFor; the legacy OSC case derived its expected paneKey from the production layout-owner switch. The runtime registrar no longer imports this file. These public projection scenarios have no replacement coverage or fresh execution claimed; all historical receipts and earlier loss notes retain their original source scope.", + "Module-layout wave1 intentionally retires complete prohibited owning registrations in src/renderer/src/lib/pane-manager/pane-fit.test.ts. Lost alarms: runs the continuation when the reveal fit arrives on a different pane object; does not let a stale handle cancel its deferred replacement; resolves failure when hidden-window animation frames are withheld. No equivalent replacement coverage or pass for a reduced selector is claimed. All unrelated selectors and historical receipts retain their original scope.", + "Audit3368 retires whole sleeping-agent-resume and host-session-launch suites: provider-claim/deduplication, stable-pane reattach, recipe/WSL startup, callback/cancel/create-close and compatibility examples are intentionally lost without equivalent replacement. The sole dated receipt is retired verbatim. With no active evidence, protection/platform/provider evidence clears and ALL commands/testFiles/assertionRefs are retired as complete original arrays in historical gaps, including selectors of surviving other sources; those sources remain in the broad suite. Prior red/green/flake accounts are historical only. No fresh runtime/provider/process/UI/mobile/mixed-version/cross-platform evidence is claimed.", + "Audit3368 historical original commands object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n[\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts tests/e2e/completed-worker-retirement-resume.unit.test.ts --reporter=verbose\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session.test.ts src/main/providers/local-pty/local-pty-provider-spawn-session.test.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/ipc/pty/pty-pane-reservation-settlement.test.ts src/main/runtime/construction/orca-runtime.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts\",\n \"pnpm exec electron-vite build --mode e2e && SKIP_BUILD=1 pnpm exec playwright test tests/e2e/live-background-terminal-mount-authority.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/agent-session/lifecycle/structured-agent-cli-writers.test.ts src/main/runtime/rpc/methods/structured-sessions/creation/structured-agent-session-adoption-replay.test.ts src/main/providers/agent-foreground-process-git-bash.win32.test.ts\"\n ]", + "Audit3368 historical original testFiles object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n[\n \"src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session.test.ts\",\n \"tests/e2e/completed-worker-retirement-resume.unit.test.ts\",\n \"src/main/providers/local-pty/local-pty-provider-spawn-session.test.ts\",\n \"src/main/daemon/terminal-host/testing/terminal-host.test.ts\",\n \"src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts\",\n \"src/main/ipc/pty/pty-pane-reservation-settlement.test.ts\",\n \"src/main/runtime/construction/orca-runtime.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts\",\n \"tests/e2e/live-background-terminal-mount-authority.spec.ts\",\n \"src/main/runtime/agent-session/lifecycle/structured-agent-cli-writers.test.ts\",\n \"src/main/runtime/rpc/methods/structured-sessions/creation/structured-agent-session-adoption-replay.test.ts\",\n \"src/main/providers/agent-foreground-process-git-bash.win32.test.ts\"\n ]", + "Audit3368 historical original assertionRefs object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n[\n {\n \"file\": \"src/main/runtime/rpc/methods/structured-sessions/creation/structured-agent-session-adoption-replay.test.ts\",\n \"assertions\": [\"captures source before routing (unary=%s)\"]\n },\n {\n \"file\": \"src/main/providers/agent-foreground-process-git-bash.win32.test.ts\",\n \"assertions\": [\"sets aside a detached ssh-agent for adoption, but not a background job\"]\n },\n {\n \"file\": \"tests/e2e/completed-worker-retirement-resume.unit.test.ts\",\n \"assertions\": [\n \"completed and explicitly retired workers retain no provider-resume authority on first workspace activation\",\n \"the original tab, leaf, PTY, provider session, release state, replacement count, queued resume argv, emitted restored banner, and unrelated canary remain exact across restart\"\n ]\n },\n {\n \"file\": \"src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session.test.ts\",\n \"assertions\": [\n \"preserved panes claim their provider session and only stale duplicates are cleared\",\n \"one launch per provider session: skipped duplicates are cleared instead of relaunched\",\n \"active stable-pane records owned by preserved or visible panes are not resumed again\",\n \"hibernated stable panes with cleared live PTY bindings are skipped\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"assertions\": [\n \"same-generation explicit reattach drains the authoritative snapshot before immediate live bytes and ACKs their delivery credit\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts\",\n \"assertions\": [\n \"paired-runtime stable-pane adoption reports reattach without fresh-spawn ownership\",\n \"cancellation after a paired-runtime adoption cannot close the original owner\"\n ]\n },\n {\n \"file\": \"tests/e2e/live-background-terminal-mount-authority.spec.ts\",\n \"assertions\": [\n \"first mount and renderer reload preserve exact agent and Setup handle, PTY, incarnation, tab, leaf, and PID identity\",\n \"PID-specific keyboard input and output remain user-visible in both mounted panes\",\n \"runtime inventory, renderer graph, persisted session, runtime epoch, and daemon PID converge without replacement or resume\",\n \"the unrelated canary remains writable and receives no signal across target projection repair\"\n ]\n }\n ]", + "Audit3368 historical original evidenceRuns object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n[\n {\n \"date\": \"2026-07-03\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/resume-sleeping-agent-session.test.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 1.9,\n \"summary\": \"1 test file(s) passed, 30 tests passed on main@1282f5c2d in a clean checkout.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session.test.ts\"\n }\n ]", + "Audit3368 historical original protection object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"partial\"", + "Audit3368 historical original coveredPlatforms object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n[\"macos\"]", + "Audit3368 historical original coveredProviders object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n[\"local\", \"daemon\", \"remote-runtime\"]", + "Audit3368 historical original redGreenEvidence object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n{\n \"status\": \"missing\",\n \"evidence\": \"Audit2133 current-parent preparation: Changed test bytes/selectors have no fresh red/green validation. Unrelated retained-source historical evidence keeps its original scope. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Changed test bytes/selectors have no fresh red/green validation. Unrelated retained-source historical evidence keeps its original scope. Historical prior account (preserved verbatim): Renderer tests encode provider-session dedupe across active, inactive, queued, and live claims. The cross-boundary Electron oracle is constructed for byte-identical latest-main, candidate, and candidate-revert runs; record those three terminal results before promoting this gate.\"\n }", + "Audit3368 historical original flakeHistory object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n{\n \"status\": \"unknown\",\n \"evidence\": \"The renderer gate has prior local evidence; the stable-pane Electron oracle is new and needs CI soak before blocking promotion.\"\n }" ], "demotionRule": "Demote or quarantine if failures are non-actionable or if a duplicate resume escape occurs outside the modeled matrix." }, @@ -7350,7 +7078,7 @@ "providers": ["local", "daemon", "ssh", "wsl", "remote-runtime"], "coveredPlatforms": ["macos"], "coveredProviders": ["local", "daemon", "ssh", "wsl", "remote-runtime"], - "coverageNotes": "Audit2694 source-only review: Remove14 authored/14 expanded cases in the renderer completion wrapper family, including the complete bell/query-reply/stale-input factory, without replacement. Retain29 authored/34 expanded cases with unchanged callback bodies. Three removals are the existing pending2203 overlap and must be adopted/count-reconciled once; eleven are fresh removals. No current-source runtime or gate execution is supplied by this packet; dated evidence retains its original source scope and does not validate the reduced factory bytes. No equivalent replacement, physical provider, mixed-version, mobile, rendered UI, cross-platform, soak or measured-performance result is claimed. The existing command and testFiles selector retain tests/pty-connection-completion-and-notification.test.ts; no wrapper-specific assertionRef is removed. Historical selector results do not validate its changed reachable factories. Historical prior account (preserved verbatim): Audit2709 removes src/renderer/src/runtime/web-session-tabs-sync/inventory/remote-runtime-session-tabs-inflight.test.ts: intentionally retire waiting out an older inventory and sharing a fresh post-operation request among concurrent callers. No equivalent replacement or fresh execution is claimed. Dated receipts remain historical evidence for their unchanged selectors only; they do not validate the reduced commands or full current gate. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2003: Delete the complete pure orphan-topology suite and its file membership; preserve the other selectors from its combined command after archiving the original command string. Lost alarms are synthetic current-layout preservation, one-anchor grafting and ambiguous-anchor appending examples. Do not transfer their ownership/topology scope to sibling suites. Preserve all5 independent historical receipts exactly. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Delete the mocked agent-session suite and its prospective selector and aliases. Retire all3 whole dated changed-selector receipts, preserving their original raw objects in historical gaps without transferring counts or durations. Preserve5 unrelated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Partial agent-operation service suite retains only concurrent retry joining with changed-fingerprint conflict. Retire its complete three-title assertion object: old-owner legacy fallback before side effects, nested SSH Pi transcript refusal and completed/ambiguous physical-commit replay fences are no longer backed. Other probe/launch option/ledger/failure/remote-inventory examples disappear as detailed below. No actual provider spawn, live SSH or physical commit proof is retained by this source. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1911: The complete provider PTY-inspection mock suite is removed: missing-provider rejection, stale-PTY renderer unverifiable mapping, preserved supplied renderer failures, and supplied transport-loss mapping alarms are intentionally lost. No actual terminal teardown, daemon error or remote transport was exercised. Only the deleted explicit source tokens, testFile and whole assertionRef are removed. Meaningful remaining source selectors/assertions and unaffected dated receipts retain their original scope. No equivalent replacement, fresh reduced-gate, native/platform/provider, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1627 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1623 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1495 intentionally deletes the orphan-owner suite: explicit owner/host predicate examples are retired; no equivalent replacement coverage or fresh result is claimed. Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally deletes src/renderer/src/components/terminal-pane/agent-completion-coordinator-pending-title-inspection.test.ts: Loses obsolete pending title process races, inspection failure suppression, explicit completion precedence and delayed remote inspection alarms. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audits1301 and1308 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic macOS tests cover controller claims, daemon and SSH/relay operation replay, mixed-version selection, runtime ownership, exact provisional handoff, durable terminal retirement, two independent viewer mirrors, guarded adoption of legacy live PTYs, and completion classification when either the outer remote transport or authoritative host/provider process inspection becomes unreachable. The adoption harness models v1.4.150 agent/setup/shell tabs, current-generation restart and reconnect, exact handle/incarnation/worktree/host checks, topology CAS, competing clients, split-pane/group restoration, WSL ownership, and SSH owner rejection. The secondary parity repro runs independent clients against one headless remote Orca runtime over encrypted pairing and a real daemon-backed PTY, with tokened fixture-process identity separated from unrelated Codex app-server startup probes. The automated primary topology runs an isolated headed macOS Orca desktop server plus a separate paired web client and proves viewer-local fresh/resume focus, exact legacy placement, writable PTYs, unrelated-terminal survival, and host/client cleanup. SSH coverage is provider/relay contract and fault-injection coverage only; it does not substitute for paired-server coverage. Live Windows, Linux, WSL, SSH, and physical paired-Linux hosts remain gaps. The isolated intent-owner ledger suite was removed. web-runtime-session.test.ts retains exact post-create handoff confirmation only; its previous fresh/resume presentation and publication-replay assertions are no longer current references. Those direct owner-partition, cap and RPC/focus alarms are lost; other agent-session evidence does not establish equivalence. Structured handoff and adopted-leaf focus references now point to their dedicated surviving fixtures. Mixed-version recovery retains actual old-host recovery followed by a new CLI tab; its unsupported/missing-evidence tables are removed. Orphan recovery retains in-flight adoption-conflict serialization only; previous topology/pruning and absence/adoption examples are removed. These removed projection, capability and adoption-shape alarms are lost; retained cases do not replace them. Audit1301: src/renderer/src/runtime/remote-runtime-session-tabs-inflight.test.ts reduced. Direct dedupe eviction/count and equal receipt-position sample loses authored alarm. No equivalent replacement coverage is claimed. Audit1308: src/renderer/src/runtime/web-session-tabs-sync-agent-handoff.test.ts removed. Exact provisional replacement and post-create exit confirmation handoff pipeline alarms disappear. No equivalent replacement coverage is claimed. Audit1313: src/main/runtime/terminal-orphan-topology.test.ts: Retain actual topology merge algorithms preserving disjoint subtrees and grafted/ambiguous shared anchors with independent expected trees. Remove duplicate leaf validator and empty/no-change passthrough examples. Lose basic validation and no-group/noop characterization; no renderer layout proof. Reduced selectors require fresh validation; prior full-suite receipts do not validate removed or changed coverage. No equivalent replacement or physical-provider claim. Audit1342: src/renderer/src/components/terminal-pane/pty-connection-completion-and-notification.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", + "coverageNotes": "Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. The Codex restart suite and exact command/testFiles/assertionRef are removed; its mock account-change/remote-pane restart alarms are intentionally lost. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit3368 retires the whole host-session-launch unit source, including host-authority/create/ensure/legacy/Kimi/refusal/draft/options/prompt/cancel/kill/shared-disconnect and passive-sleep output callback alarms, without equivalent replacement. Its unit command token and test-file entry retire. Five unrelated macOS receipts remain verbatim and keep only their original scope; no fresh changed-selector/runtime/provider/process/UI/mobile/mixed-version/cross-platform evidence is claimed. Audit3359 retires the whole create-handoff suite. Supplied disposition, late completion, close-callback and metadata-bookkeeping alarms are intentionally lost without equivalent replacement; the compound unit selector and test-file entry narrow accordingly. Five unrelated macOS receipts retain their original scope. No fresh runtime, process-deduplication, physical provider/network, historical-import, mobile, mixed-version or cross-platform validation is claimed. Audit 3301 removes the caller-chat-target precedence over host selection example from web-session-tabs-sync-focus-intent.test.ts. The snapshot-before-RPC replay and split-sibling-first exact-leaf focus cases remain unchanged and match the existing assertion reference. Preserve current selectors, assertion references, unrelated active receipts and complete archived history. These mocked state-composition survivors provide no equivalent replacement, rendered, native, network or fresh execution proof. Audit2694 source-only review: Remove14 authored/14 expanded cases in the renderer completion wrapper family, including the complete bell/query-reply/stale-input factory, without replacement. Retain29 authored/34 expanded cases with unchanged callback bodies. Three removals are the existing pending2203 overlap and must be adopted/count-reconciled once; eleven are fresh removals. No current-source runtime or gate execution is supplied by this packet; dated evidence retains its original source scope and does not validate the reduced factory bytes. No equivalent replacement, physical provider, mixed-version, mobile, rendered UI, cross-platform, soak or measured-performance result is claimed. The existing command and testFiles selector retain tests/pty-connection-completion-and-notification.test.ts; no wrapper-specific assertionRef is removed. Historical selector results do not validate its changed reachable factories. Historical prior account (preserved verbatim): Audit2709 removes src/renderer/src/runtime/web-session-tabs-sync/inventory/remote-runtime-session-tabs-inflight.test.ts: intentionally retire waiting out an older inventory and sharing a fresh post-operation request among concurrent callers. No equivalent replacement or fresh execution is claimed. Dated receipts remain historical evidence for their unchanged selectors only; they do not validate the reduced commands or full current gate. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2003: Delete the complete pure orphan-topology suite and its file membership; preserve the other selectors from its combined command after archiving the original command string. Lost alarms are synthetic current-layout preservation, one-anchor grafting and ambiguous-anchor appending examples. Do not transfer their ownership/topology scope to sibling suites. Preserve all5 independent historical receipts exactly. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Delete the mocked agent-session suite and its prospective selector and aliases. Retire all3 whole dated changed-selector receipts, preserving their original raw objects in historical gaps without transferring counts or durations. Preserve5 unrelated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Partial agent-operation service suite retains only concurrent retry joining with changed-fingerprint conflict. Retire its complete three-title assertion object: old-owner legacy fallback before side effects, nested SSH Pi transcript refusal and completed/ambiguous physical-commit replay fences are no longer backed. Other probe/launch option/ledger/failure/remote-inventory examples disappear as detailed below. No actual provider spawn, live SSH or physical commit proof is retained by this source. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1911: The complete provider PTY-inspection mock suite is removed: missing-provider rejection, stale-PTY renderer unverifiable mapping, preserved supplied renderer failures, and supplied transport-loss mapping alarms are intentionally lost. No actual terminal teardown, daemon error or remote transport was exercised. Only the deleted explicit source tokens, testFile and whole assertionRef are removed. Meaningful remaining source selectors/assertions and unaffected dated receipts retain their original scope. No equivalent replacement, fresh reduced-gate, native/platform/provider, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1627 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1623 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1495 intentionally deletes the orphan-owner suite: explicit owner/host predicate examples are retired; no equivalent replacement coverage or fresh result is claimed. Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally deletes src/renderer/src/components/terminal-pane/agent-completion-coordinator-pending-title-inspection.test.ts: Loses obsolete pending title process races, inspection failure suppression, explicit completion precedence and delayed remote inspection alarms. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audits1301 and1308 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic macOS tests cover controller claims, daemon and SSH/relay operation replay, mixed-version selection, runtime ownership, exact provisional handoff, durable terminal retirement, two independent viewer mirrors, guarded adoption of legacy live PTYs, and completion classification when either the outer remote transport or authoritative host/provider process inspection becomes unreachable. The adoption harness models v1.4.150 agent/setup/shell tabs, current-generation restart and reconnect, exact handle/incarnation/worktree/host checks, topology CAS, competing clients, split-pane/group restoration, WSL ownership, and SSH owner rejection. The secondary parity repro runs independent clients against one headless remote Orca runtime over encrypted pairing and a real daemon-backed PTY, with tokened fixture-process identity separated from unrelated Codex app-server startup probes. The automated primary topology runs an isolated headed macOS Orca desktop server plus a separate paired web client and proves viewer-local fresh/resume focus, exact legacy placement, writable PTYs, unrelated-terminal survival, and host/client cleanup. SSH coverage is provider/relay contract and fault-injection coverage only; it does not substitute for paired-server coverage. Live Windows, Linux, WSL, SSH, and physical paired-Linux hosts remain gaps. The isolated intent-owner ledger suite was removed. web-runtime-session.test.ts retains exact post-create handoff confirmation only; its previous fresh/resume presentation and publication-replay assertions are no longer current references. Those direct owner-partition, cap and RPC/focus alarms are lost; other agent-session evidence does not establish equivalence. Structured handoff and adopted-leaf focus references now point to their dedicated surviving fixtures. Mixed-version recovery retains actual old-host recovery followed by a new CLI tab; its unsupported/missing-evidence tables are removed. Orphan recovery retains in-flight adoption-conflict serialization only; previous topology/pruning and absence/adoption examples are removed. These removed projection, capability and adoption-shape alarms are lost; retained cases do not replace them. Audit1301: src/renderer/src/runtime/remote-runtime-session-tabs-inflight.test.ts reduced. Direct dedupe eviction/count and equal receipt-position sample loses authored alarm. No equivalent replacement coverage is claimed. Audit1308: src/renderer/src/runtime/web-session-tabs-sync-agent-handoff.test.ts removed. Exact provisional replacement and post-create exit confirmation handoff pipeline alarms disappear. No equivalent replacement coverage is claimed. Audit1313: src/main/runtime/terminal-orphan-topology.test.ts: Retain actual topology merge algorithms preserving disjoint subtrees and grafted/ambiguous shared anchors with independent expected trees. Remove duplicate leaf validator and empty/no-change passthrough examples. Lose basic validation and no-group/noop characterization; no renderer layout proof. Reduced selectors require fresh validation; prior full-suite receipts do not validate removed or changed coverage. No equivalent replacement or physical-provider claim. Audit1342: src/renderer/src/components/terminal-pane/pty-connection-completion-and-notification.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", "motivatingLinks": [ "https://github.com/stablyai/orca/issues/8878", "https://github.com/stablyai/orca/issues/9151", @@ -7360,10 +7088,10 @@ "https://github.com/stablyai/orca/pull/10193" ], "invariant": "For every claim-capable execution route, one provider-session identity has at most one live PTY owner and one canonical host surface across concurrent clients, retries, reconnects, and stale publications. For paired structured fresh and resume requests, the authenticated owning runtime creates in background without a renderer window; activate=true focuses the exact requested leaf only on the requesting viewer, while activate=false changes no viewer focus. A live orphan may be adopted only when the controller proves its exact handle and incarnation, its worktree and host owner match, no competing visual owner exists, and a host topology CAS wins. A viewer may classify completion only from successful host/provider inspection or explicit lifecycle evidence; transport, handle, or provider unavailability remains unknown and breaks any consecutive-idle proof. A physical exit retires that exact incarnation durably so stale client state and host restart cannot recreate it. Mixed-version routes select the unchanged legacy request before any authority side effect or execution-owner-local filesystem access.", - "oracle": "Audit2694 source-only review: Remove14 authored/14 expanded cases in the renderer completion wrapper family, including the complete bell/query-reply/stale-input factory, without replacement. Retain29 authored/34 expanded cases with unchanged callback bodies. Three removals are the existing pending2203 overlap and must be adopted/count-reconciled once; eleven are fresh removals. No current-source runtime or gate execution is supplied by this packet; dated evidence retains its original source scope and does not validate the reduced factory bytes. No equivalent replacement, physical provider, mixed-version, mobile, rendered UI, cross-platform, soak or measured-performance result is claimed. The existing command and testFiles selector retain tests/pty-connection-completion-and-notification.test.ts; no wrapper-specific assertionRef is removed. Historical selector results do not validate its changed reachable factories. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2003: Delete the complete pure orphan-topology suite and its file membership; preserve the other selectors from its combined command after archiving the original command string. Lost alarms are synthetic current-layout preservation, one-anchor grafting and ambiguous-anchor appending examples. Do not transfer their ownership/topology scope to sibling suites. Preserve all5 independent historical receipts exactly. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Delete the mocked agent-session suite and its prospective selector and aliases. Retire all3 whole dated changed-selector receipts, preserving their original raw objects in historical gaps without transferring counts or durations. Preserve5 unrelated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Partial agent-operation service suite retains only concurrent retry joining with changed-fingerprint conflict. Retire its complete three-title assertion object: old-owner legacy fallback before side effects, nested SSH Pi transcript refusal and completed/ambiguous physical-commit replay fences are no longer backed. Other probe/launch option/ledger/failure/remote-inventory examples disappear as detailed below. No actual provider spawn, live SSH or physical commit proof is retained by this source. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1911: The complete provider PTY-inspection mock suite is removed: missing-provider rejection, stale-PTY renderer unverifiable mapping, preserved supplied renderer failures, and supplied transport-loss mapping alarms are intentionally lost. No actual terminal teardown, daemon error or remote transport was exercised. Only the deleted explicit source tokens, testFile and whole assertionRef are removed. Meaningful remaining source selectors/assertions and unaffected dated receipts retain their original scope. No equivalent replacement, fresh reduced-gate, native/platform/provider, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Race independent clients and repeated operation IDs, then assert one physical spawn and one canonical PTY/surface; inject exit-before-reply, provider disconnect, conflicting claim scope, old daemon/relay capabilities, reused handles, stale incarnations, owner mismatch, and topology revision conflict; assert safe adoption or explicit failure without a second spawn or wrong-process attachment. Run fresh/resume with activate true/false against an isolated headed desktop host and a separate paired client, then against isolated headless serve: assert host presentation stays background, only the requesting viewer focuses the exact leaf, inactive calls preserve client/DOM focus, a same-version publication replay cannot lose focus intent, and sibling-first split publication cannot consume exact-leaf intent. Restore legacy split panes and groups beside a newer host-owned tab, preserving exact predecessor/new/successor order, output, input, resize, titles, tab/leaf identity, active group, and multi-client convergence. For completion, drive a known running agent through outer transport loss, authoritative provider rejection, reconnect, explicit stop, real exit status, and successful hook completion; assert unavailable evidence never dispatches completion and two fresh authoritative idle samples are required after the gap. After exact exit, assert terminal and tab listings omit the surface, a stale publication cannot restore it, restart cannot resurrect it, exact tokened fixture PIDs are dead, and unrelated tabs/processes survive until scoped cleanup.", + "oracle": "Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. The Codex restart suite and exact command/testFiles/assertionRef are removed; its mock account-change/remote-pane restart alarms are intentionally lost. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit3368 retires the whole host-session-launch unit source, including host-authority/create/ensure/legacy/Kimi/refusal/draft/options/prompt/cancel/kill/shared-disconnect and passive-sleep output callback alarms, without equivalent replacement. Its unit command token and test-file entry retire. Five unrelated macOS receipts remain verbatim and keep only their original scope; no fresh changed-selector/runtime/provider/process/UI/mobile/mixed-version/cross-platform evidence is claimed. Audit3359 retires the whole create-handoff suite. Supplied disposition, late completion, close-callback and metadata-bookkeeping alarms are intentionally lost without equivalent replacement; the compound unit selector and test-file entry narrow accordingly. Five unrelated macOS receipts retain their original scope. No fresh runtime, process-deduplication, physical provider/network, historical-import, mobile, mixed-version or cross-platform validation is claimed. Audit 3301 removes the caller-chat-target precedence over host selection example from web-session-tabs-sync-focus-intent.test.ts. The snapshot-before-RPC replay and split-sibling-first exact-leaf focus cases remain unchanged and match the existing assertion reference. Preserve current selectors, assertion references, unrelated active receipts and complete archived history. These mocked state-composition survivors provide no equivalent replacement, rendered, native, network or fresh execution proof. Audit2694 source-only review: Remove14 authored/14 expanded cases in the renderer completion wrapper family, including the complete bell/query-reply/stale-input factory, without replacement. Retain29 authored/34 expanded cases with unchanged callback bodies. Three removals are the existing pending2203 overlap and must be adopted/count-reconciled once; eleven are fresh removals. No current-source runtime or gate execution is supplied by this packet; dated evidence retains its original source scope and does not validate the reduced factory bytes. No equivalent replacement, physical provider, mixed-version, mobile, rendered UI, cross-platform, soak or measured-performance result is claimed. The existing command and testFiles selector retain tests/pty-connection-completion-and-notification.test.ts; no wrapper-specific assertionRef is removed. Historical selector results do not validate its changed reachable factories. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2003: Delete the complete pure orphan-topology suite and its file membership; preserve the other selectors from its combined command after archiving the original command string. Lost alarms are synthetic current-layout preservation, one-anchor grafting and ambiguous-anchor appending examples. Do not transfer their ownership/topology scope to sibling suites. Preserve all5 independent historical receipts exactly. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Delete the mocked agent-session suite and its prospective selector and aliases. Retire all3 whole dated changed-selector receipts, preserving their original raw objects in historical gaps without transferring counts or durations. Preserve5 unrelated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Partial agent-operation service suite retains only concurrent retry joining with changed-fingerprint conflict. Retire its complete three-title assertion object: old-owner legacy fallback before side effects, nested SSH Pi transcript refusal and completed/ambiguous physical-commit replay fences are no longer backed. Other probe/launch option/ledger/failure/remote-inventory examples disappear as detailed below. No actual provider spawn, live SSH or physical commit proof is retained by this source. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1911: The complete provider PTY-inspection mock suite is removed: missing-provider rejection, stale-PTY renderer unverifiable mapping, preserved supplied renderer failures, and supplied transport-loss mapping alarms are intentionally lost. No actual terminal teardown, daemon error or remote transport was exercised. Only the deleted explicit source tokens, testFile and whole assertionRef are removed. Meaningful remaining source selectors/assertions and unaffected dated receipts retain their original scope. No equivalent replacement, fresh reduced-gate, native/platform/provider, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Race independent clients and repeated operation IDs, then assert one physical spawn and one canonical PTY/surface; inject exit-before-reply, provider disconnect, conflicting claim scope, old daemon/relay capabilities, reused handles, stale incarnations, owner mismatch, and topology revision conflict; assert safe adoption or explicit failure without a second spawn or wrong-process attachment. Run fresh/resume with activate true/false against an isolated headed desktop host and a separate paired client, then against isolated headless serve: assert host presentation stays background, only the requesting viewer focuses the exact leaf, inactive calls preserve client/DOM focus, a same-version publication replay cannot lose focus intent, and sibling-first split publication cannot consume exact-leaf intent. Restore legacy split panes and groups beside a newer host-owned tab, preserving exact predecessor/new/successor order, output, input, resize, titles, tab/leaf identity, active group, and multi-client convergence. For completion, drive a known running agent through outer transport loss, authoritative provider rejection, reconnect, explicit stop, real exit status, and successful hook completion; assert unavailable evidence never dispatches completion and two fresh authoritative idle samples are required after the gap. After exact exit, assert terminal and tab listings omit the surface, a stale publication cannot restore it, restart cannot resurrect it, exact tokened fixture PIDs are dead, and unrelated tabs/processes survive until scoped cleanup.", "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/runtime/web-session-tabs-sync/inventory/web-runtime-session.test.ts src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/shared/claimed-agent-pty-owner.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/runtime/session-construction/agent-session/orca-runtime-agent-session-operation.test.ts src/main/runtime/session-construction/agent-session/remote-agent-session-host-authority.integration.test.ts src/main/runtime/terminal/surface/orca-runtime-terminal-retirement.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts src/renderer/src/runtime/web-session-tabs-sync/inventory/web-runtime-session.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/shared/claimed-agent-pty-owner.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/runtime/session-construction/agent-session/orca-runtime-agent-session-operation.test.ts src/main/runtime/session-construction/agent-session/remote-agent-session-host-authority.integration.test.ts src/main/runtime/terminal/surface/orca-runtime-terminal-retirement.test.ts", "pnpm exec vitest run --config config/vitest.config.ts tests/e2e/remote-terminal-tab-retirement.unit.test.ts", "pnpm run build:cli && pnpm run build:electron-vite && node config/scripts/diagnostics/remote-agent-authority/remote-agent-session-authority-repro.mjs", "node --check config/scripts/development/remote-session-cleanup/remote-agent-session-process-cleanup.mjs && node config/scripts/diagnostics/remote-agent-authority/remote-agent-session-authority-repro.mjs", @@ -7373,7 +7101,7 @@ "Manual headed paired-server journey: isolated Orca desktop host + separate paired web client + real Codex process + 20-second WebSocket fault + reconnect + explicit stop", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-recovery.test.ts src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-mixed-version.test.ts --maxWorkers=1", "pnpm exec vitest run --config config/vitest.config.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/daemon/providers/routing/testing/daemon-pty-router.test.ts src/main/daemon/providers/routing/testing/degraded-daemon-pty-provider.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/runtime/construction/orca-runtime.test.ts tests/e2e/remote-agent-completion-authority.unit.test.ts src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts src/renderer/src/components/terminal-pane/agent-completion/agent-completion-coordinator-process-cadence.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts tests/e2e/remote-agent-completion-authority.unit.test.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/daemon/providers/routing/testing/daemon-pty-router.test.ts src/main/daemon/providers/routing/testing/degraded-daemon-pty-provider.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts src/renderer/src/components/terminal-pane/agent-completion/agent-completion-coordinator-process-cadence.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-completion-and-notification.test.ts src/renderer/src/lib/agent-session/accounts/codex/codex-session-restart.test.ts" + "pnpm exec vitest run --config config/vitest.config.ts tests/e2e/remote-agent-completion-authority.unit.test.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/daemon/providers/routing/testing/daemon-pty-router.test.ts src/main/daemon/providers/routing/testing/degraded-daemon-pty-provider.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts src/renderer/src/components/terminal-pane/agent-completion/agent-completion-coordinator-process-cadence.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-completion-and-notification.test.ts" ], "testFiles": [ "src/main/daemon/terminal-host/testing/terminal-host.test.ts", @@ -7384,15 +7112,11 @@ "src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts", "src/renderer/src/components/terminal-pane/agent-completion/agent-completion-coordinator-process-cadence.test.ts", "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-completion-and-notification.test.ts", - "src/renderer/src/lib/agent-session/accounts/codex/codex-session-restart.test.ts", "src/shared/claimed-agent-pty-owner.test.ts", "src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts", "src/main/runtime/session-construction/agent-session/orca-runtime-agent-session-operation.test.ts", "src/main/runtime/session-construction/agent-session/remote-agent-session-host-authority.integration.test.ts", "src/main/runtime/terminal/surface/orca-runtime-terminal-retirement.test.ts", - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts", - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts", - "src/renderer/src/runtime/web-session-tabs-sync/inventory/web-runtime-session.test.ts", "tests/e2e/remote-agent-session-focus-authority.spec.ts", "config/scripts/diagnostics/remote-agent-authority/remote-agent-session-authority-repro.mjs", "config/scripts/development/remote-session-cleanup/remote-agent-session-process-cleanup.mjs", @@ -7416,12 +7140,6 @@ "explicit stop, real exit status, and genuine successful completion remain distinct" ] }, - { - "file": "src/renderer/src/lib/agent-session/accounts/codex/codex-session-restart.test.ts", - "assertions": [ - "one unreachable pane cannot suppress restart notices for another authoritatively confirmed Codex pane" - ] - }, { "file": "src/shared/claimed-agent-pty-owner.test.ts", "assertions": [ @@ -7474,10 +7192,6 @@ "same-epoch stale publications cannot resurrect the retired surface after reconnect" ] }, - { - "file": "src/renderer/src/runtime/web-session-tabs-sync/inventory/web-runtime-session.test.ts", - "assertions": ["confirms only the exact handoff after its post-create list completes"] - }, { "file": "src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts", "assertions": [ @@ -7623,7 +7337,20 @@ "Audit2061 (sources2059/2060): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/mobile-session-tabs-headless-chat-rebuild.spec'); await import('./orca-runtime-tests/mobile-session-tabs-cold-serve-hydrate.spec'); await import('./orca-runtime-tests/worktree-removal-execution-host.spec'); await import('./orca-runtime-tests/terminal-spawn-dispatch.spec'). src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-completion-and-notification.test.ts: ordinary registration cleanup removes only import { registerPtyConnectionSshHookStatusAuthorityTests } from '../host-ownership/pty-connection-ssh-hook-status-authority.spec'; registerPtyConnectionSshHookStatusAuthorityTests(). src/main/runtime/orca-runtime-tests/headless-snapshots-part-02.spec.ts: replaces a cwd parsed before late WSL context with the provider cwd; keeps a live WSL cwd that arrives during late-context snapshot recovery; infers local reconstructed WSL context from a WSL UNC worktree; clears stale terminal file URI hostnames after empty-host OSC7 cwd updates; serializes SSH headless OSC7 cwd as POSIX when the desktop runtime is on Windows; keeps Windows SSH OSC7 cwd as a drive path when the desktop runtime is POSIX; serializes Windows SSH headless OSC7 cwd as a drive path on POSIX desktops; infers restored SSH connection identity from app-scoped PTY ids. src/main/runtime/orca-runtime-tests/mobile-session-tabs-headless-chat-rebuild.spec.ts: survives the rebuild that closing a saved editor tab forces; keeps its place in the tab order when the host lists the workspace again; lists tabs to phones in the order desktop clients draw after a rebuild; keeps the place a window gave a chat across a graph resend before the chat is restored. src/main/runtime/orca-runtime-tests/mobile-session-tabs-cold-serve-hydrate.spec.ts: lists every persisted terminal of a windowless host after a cold restart; lists every persisted terminal in the all-worktrees inventory after a cold restart; lists persisted editor tabs beside the terminals after a cold restart; restores a persisted split group layout on the cold rebuild; restores the saved active group of a split even when it is not the first group; falls back to the active tab group when the saved active group was not restored; keeps the headless group active when there is no persisted split; keeps phone and CLI creates in the group they joined across a cold restart. src/main/runtime/orca-runtime-tests/worktree-removal-failed-retry.spec.ts: lists the leftover with its error, though Git no longer does; takes the normal delete once Git registers a checkout at the path again; joins a retry another client started while this Delete listed Git; shows the failed row with its error, not the scan cached before the delete. src/main/runtime/orca-runtime-tests/worktree-removal-execution-host.spec.ts: refuses an SSH row whose host is unreachable instead of deleting here; refuses a runtime row with no nested SSH target rather than deleting locally; refuses a runtime row that also names a nested SSH target; retains runtime purge dispatch in a recovery job; uses the runtime helper override before resuming an interrupted removal; uses the runtime helper override before retrying a failed removal; captures the watcher callback and retains its job-host receiver; reads the current runtime removal queue. src/main/runtime/orca-runtime-tests/terminal-spawn-dispatch.spec.ts: reports the spawn request before it leaves for the pty controller; reports it even when the spawn itself then fails; does not report it when the create fails before any spawn request; captures the admission method before reading the incarnation; captures the record method before evaluating its state object; skips database payload serialization when no database exists; skips a throwing database payload when no database exists; keeps the database method and receiver captured before its payload; captures the canonical map method before a binding getter changes it; completes the captured replacement fence without another map lookup. src/renderer/src/components/terminal-pane/pty-connection/host-ownership/pty-connection-ssh-hook-status-authority.spec.ts: leaves SSH IPC OSC 9999 status ownership in the main runtime. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed.", "Module layout policy correction: retire the remaining program-status-osc.spec.ts event-projection case (production/mock-derived pane-key oracle) and sign-in timeout case (real setTimeout wait with Date-only fake clocks). The runtime test registrar no longer imports that file. No replacement coverage or fresh execution is claimed for these losses; historical receipts retain their original source scope.", "Module layout policy correction: retire the two remaining worktree-ps-agent-row-dismissal.spec.ts registrations. The remint/dismissal/exit case computed expected snapshotVersion increments from a production snapshot and used real-clock vi.waitFor; the legacy OSC case derived its expected paneKey from the production layout-owner switch. The runtime registrar no longer imports this file. These public projection scenarios have no replacement coverage or fresh execution claimed; all historical receipts and earlier loss notes retain their original source scope.", - "Audit2709 removes src/renderer/src/runtime/web-session-tabs-sync/inventory/remote-runtime-session-tabs-inflight.test.ts: intentionally retire waiting out an older inventory and sharing a fresh post-operation request among concurrent callers. No equivalent replacement or fresh execution is claimed. Dated receipts remain historical evidence for their unchanged selectors only; they do not validate the reduced commands or full current gate. Original prospective command before removal: pnpm exec vitest run --config config/vitest.config.ts src/shared/claimed-agent-pty-owner.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/runtime/session-construction/agent-session/orca-runtime-agent-session-operation.test.ts src/main/runtime/session-construction/agent-session/remote-agent-session-host-authority.integration.test.ts src/main/runtime/terminal/surface/orca-runtime-terminal-retirement.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts src/renderer/src/runtime/web-session-tabs-sync/inventory/remote-runtime-session-tabs-inflight.test.ts src/renderer/src/runtime/web-session-tabs-sync/inventory/web-runtime-session.test.ts" + "Audit2709 removes src/renderer/src/runtime/web-session-tabs-sync/inventory/remote-runtime-session-tabs-inflight.test.ts: intentionally retire waiting out an older inventory and sharing a fresh post-operation request among concurrent callers. No equivalent replacement or fresh execution is claimed. Dated receipts remain historical evidence for their unchanged selectors only; they do not validate the reduced commands or full current gate. Original prospective command before removal: pnpm exec vitest run --config config/vitest.config.ts src/shared/claimed-agent-pty-owner.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/runtime/session-construction/agent-session/orca-runtime-agent-session-operation.test.ts src/main/runtime/session-construction/agent-session/remote-agent-session-host-authority.integration.test.ts src/main/runtime/terminal/surface/orca-runtime-terminal-retirement.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts src/renderer/src/runtime/web-session-tabs-sync/inventory/remote-runtime-session-tabs-inflight.test.ts src/renderer/src/runtime/web-session-tabs-sync/inventory/web-runtime-session.test.ts", + "Module-layout wave1 intentionally retires complete prohibited owning registrations in src/renderer/src/runtime/web-session-tabs-sync/inventory/web-runtime-session.test.ts. Lost alarms: confirms only the exact handoff after its post-create list completes. No equivalent replacement coverage or pass for a reduced selector is claimed. All unrelated selectors and historical receipts retain their original scope.", + "Audit 3301 removes the caller-chat-target precedence over host selection example from web-session-tabs-sync-focus-intent.test.ts. The snapshot-before-RPC replay and split-sibling-first exact-leaf focus cases remain unchanged and match the existing assertion reference. Preserve current selectors, assertion references, unrelated active receipts and complete archived history. These mocked state-composition survivors provide no equivalent replacement, rendered, native, network or fresh execution proof.", + "Audit3359 retires the whole create-handoff suite. Supplied disposition, late completion, close-callback and metadata-bookkeeping alarms are intentionally lost without equivalent replacement; the compound unit selector and test-file entry narrow accordingly. Five unrelated macOS receipts retain their original scope. No fresh runtime, process-deduplication, physical provider/network, historical-import, mobile, mixed-version or cross-platform validation is claimed.", + "Audit3359 historical original commands object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/shared/claimed-agent-pty-owner.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/runtime/session-construction/agent-session/orca-runtime-agent-session-operation.test.ts src/main/runtime/session-construction/agent-session/remote-agent-session-host-authority.integration.test.ts src/main/runtime/terminal/surface/orca-runtime-terminal-retirement.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts\"", + "Audit3359 historical original testFiles object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts\"", + "Audit3368 retires the whole host-session-launch unit source, including host-authority/create/ensure/legacy/Kimi/refusal/draft/options/prompt/cancel/kill/shared-disconnect and passive-sleep output callback alarms, without equivalent replacement. Its unit command token and test-file entry retire. Five unrelated macOS receipts remain verbatim and keep only their original scope; no fresh changed-selector/runtime/provider/process/UI/mobile/mixed-version/cross-platform evidence is claimed.", + "Audit3368 historical original commands object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/shared/claimed-agent-pty-owner.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/runtime/session-construction/agent-session/orca-runtime-agent-session-operation.test.ts src/main/runtime/session-construction/agent-session/remote-agent-session-host-authority.integration.test.ts src/main/runtime/terminal/surface/orca-runtime-terminal-retirement.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts\"", + "Audit3368 historical original testFiles object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts\"", + "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Original scope text is retained as the exact suffix of coverageNotes/oracle; historical evidence is unchanged.", + "Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. The Codex restart suite and exact command/testFiles/assertionRef are removed; its mock account-change/remote-pane restart alarms are intentionally lost. Earlier notes and dated/archived evidence retain original scopes.", + "Complete prior commands before exact deleted selectors were pruned: [\"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts\",\"pnpm exec vitest run --config config/vitest.config.ts src/shared/claimed-agent-pty-owner.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/runtime/session-construction/agent-session/orca-runtime-agent-session-operation.test.ts src/main/runtime/session-construction/agent-session/remote-agent-session-host-authority.integration.test.ts src/main/runtime/terminal/surface/orca-runtime-terminal-retirement.test.ts\",\"pnpm exec vitest run --config config/vitest.config.ts tests/e2e/remote-terminal-tab-retirement.unit.test.ts\",\"pnpm run build:cli && pnpm run build:electron-vite && node config/scripts/diagnostics/remote-agent-authority/remote-agent-session-authority-repro.mjs\",\"node --check config/scripts/development/remote-session-cleanup/remote-agent-session-process-cleanup.mjs && node config/scripts/diagnostics/remote-agent-authority/remote-agent-session-authority-repro.mjs\",\"pnpm exec electron-vite build --mode e2e\",\"VITE_EXPOSE_STORE=true pnpm run build:web\",\"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/remote-agent-session-focus-authority.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\"Manual headed paired-server journey: isolated Orca desktop host + separate paired web client + real Codex process + 20-second WebSocket fault + reconnect + explicit stop\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-recovery.test.ts src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-mixed-version.test.ts --maxWorkers=1\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/daemon/providers/routing/testing/daemon-pty-router.test.ts src/main/daemon/providers/routing/testing/degraded-daemon-pty-provider.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/runtime/construction/orca-runtime.test.ts tests/e2e/remote-agent-completion-authority.unit.test.ts src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts src/renderer/src/components/terminal-pane/agent-completion/agent-completion-coordinator-process-cadence.test.ts\",\"pnpm exec vitest run --config config/vitest.config.ts tests/e2e/remote-agent-completion-authority.unit.test.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/daemon/providers/routing/testing/daemon-pty-router.test.ts src/main/daemon/providers/routing/testing/degraded-daemon-pty-provider.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts src/renderer/src/components/terminal-pane/agent-completion/agent-completion-coordinator-process-cadence.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-completion-and-notification.test.ts src/renderer/src/lib/agent-session/accounts/codex/codex-session-restart.test.ts\"]", + "Complete prior testFiles before exact deleted selectors were pruned: [\"src/main/daemon/terminal-host/testing/terminal-host.test.ts\",\"src/main/daemon/providers/routing/testing/daemon-pty-router.test.ts\",\"src/main/daemon/providers/routing/testing/degraded-daemon-pty-provider.test.ts\",\"src/main/runtime/construction/orca-runtime.test.ts\",\"tests/e2e/remote-agent-completion-authority.unit.test.ts\",\"src/renderer/src/runtime/hosted-terminals/inspection/runtime-terminal-inspection.test.ts\",\"src/renderer/src/components/terminal-pane/agent-completion/agent-completion-coordinator-process-cadence.test.ts\",\"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-completion-and-notification.test.ts\",\"src/renderer/src/lib/agent-session/accounts/codex/codex-session-restart.test.ts\",\"src/shared/claimed-agent-pty-owner.test.ts\",\"src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts\",\"src/main/runtime/session-construction/agent-session/orca-runtime-agent-session-operation.test.ts\",\"src/main/runtime/session-construction/agent-session/remote-agent-session-host-authority.integration.test.ts\",\"src/main/runtime/terminal/surface/orca-runtime-terminal-retirement.test.ts\",\"tests/e2e/remote-agent-session-focus-authority.spec.ts\",\"config/scripts/diagnostics/remote-agent-authority/remote-agent-session-authority-repro.mjs\",\"config/scripts/development/remote-session-cleanup/remote-agent-session-process-cleanup.mjs\",\"tests/e2e/remote-terminal-tab-retirement.unit.test.ts\",\"src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-recovery.test.ts\",\"src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-mixed-version.test.ts\",\"src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts\"]", + "Complete prior assertionRefs before exact deleted selectors were pruned: [{\"file\":\"src/main/daemon/providers/routing/testing/degraded-daemon-pty-provider.test.ts\",\"assertions\":[\"completion inspection rejects an unmapped session instead of borrowing the local fallback\"]},{\"file\":\"tests/e2e/remote-agent-completion-authority.unit.test.ts\",\"assertions\":[\"transport loss remains unknown through reconnect and cannot dispatch completion\",\"returned unavailability or a thrown transport failure interrupts consecutive-idle proof and requires two fresh authoritative idle samples\",\"explicit stop, real exit status, and genuine successful completion remain distinct\"]},{\"file\":\"src/renderer/src/lib/agent-session/accounts/codex/codex-session-restart.test.ts\",\"assertions\":[\"one unreachable pane cannot suppress restart notices for another authoritatively confirmed Codex pane\"]},{\"file\":\"src/shared/claimed-agent-pty-owner.test.ts\",\"assertions\":[\"concurrent exact claims spawn once and later callers adopt the canonical owner\",\"same identity in another worktree conflicts and cannot be found as the current scope's owner\",\"generation-guarded exit and authoritative reconciliation cannot retire a replacement owner\"]},{\"file\":\"src/main/runtime/session-construction/agent-session/remote-agent-session-host-authority.integration.test.ts\",\"assertions\":[\"independent runtime clients converge on one canonical live agent-session owner\",\"retries and concurrent requests cannot create a second physical PTY\"]},{\"file\":\"src/main/runtime/terminal/surface/orca-runtime-terminal-retirement.test.ts\",\"assertions\":[\"an exact PTY exit retires host membership and stale topology cannot recreate the surface\",\"incarnation fencing prevents an old delayed exit from retiring a replacement PTY\"]},{\"file\":\"tests/e2e/remote-agent-session-focus-authority.spec.ts\",\"assertions\":[\"headed desktop host remains unfocused while the paired requester alone follows active fresh/resume sessions and inactive rows preserve exact client/DOM focus\",\"legacy afterTabId placement is exact in authoritative, mirrored, and rendered order with a pre-existing successor\",\"host PTY inventory plus writable agent/unrelated shell markers prove liveness, unrelated survival, and exact terminal/tab/PTY/process cleanup\"]},{\"file\":\"config/scripts/diagnostics/remote-agent-authority/remote-agent-session-authority-repro.mjs\",\"assertions\":[\"headless focused fresh/resume requests create background host surfaces without a renderer window\",\"dropped committed responses replay the same operation identity without another tokened agent spawn\",\"exact terminal/tab/process identity survives retries and stale-write rejection, then retires without restart resurrection while unrelated shells survive until scoped cleanup\"]},{\"file\":\"config/scripts/development/remote-session-cleanup/remote-agent-session-process-cleanup.mjs\",\"assertions\":[\"isolated daemon roots and captured descendants are verified dead before profile PID records are removed\"]},{\"file\":\"tests/e2e/remote-terminal-tab-retirement.unit.test.ts\",\"assertions\":[\"a durable host exit removes the terminal from two independent viewer mirrors instead of publishing a handle-less phantom\",\"one exact exit produces one same-epoch higher-version host publication and one durable persistence flush\",\"same-epoch stale publications cannot resurrect the retired surface after reconnect\"]},{\"file\":\"src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts\",\"assertions\":[\"replays a snapshot that beat the RPC response and focuses the exact adopted leaf\",\"retains exact-leaf focus intent when a split sibling publishes first\"]},{\"file\":\"src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-mixed-version.test.ts\",\"assertions\":[\"mirrors a new CLI tab after old-host recovery when $name\"]},{\"file\":\"src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-recovery.test.ts\",\"assertions\":[\"serializes a newer convergence snapshot after an in-flight adoption conflict\"]}]" ], "demotionRule": "Keep experimental or demote if the focused gate flakes without a product or harness bug, if a retry can physically spawn twice, if a stale exit/publication can replace or resurrect a terminal, or if mixed-version fallback occurs after an authority side effect." }, @@ -7647,28 +7374,25 @@ "providers": ["local", "remote-runtime", "ssh", "wsl"], "coveredPlatforms": ["macos", "linux"], "coveredProviders": [], - "coverageNotes": "Audit2371 reduces all-host-folder-workspace-catalogs.test.ts by removing the repeated offline compatibility-probe budget and its incidental local-fallback/restored-owner samples, and catalog-settlement-notifications.test.ts by removing the four-route ten-equal-refresh notification/reference matrix. Those probe, quietness, identity and fallback alarms are intentionally lost. Remaining stale-response and revision-fencing examples do not supply equivalent replacement coverage. No fresh execution or red/green evidence validates the reduced sources; the four unrelated physical selected-runtime E2E receipts retain their original commands and scope. Historical prior account (preserved verbatim): Audit2360 removes src/renderer/src/hooks/useIpcEvents-terminal-create-surfacing.test.ts and its exclusive fake-effect harness. Lose local default-runtime persistence across navigation; focused/background terminal request/create/reveal and no-focus recovery; startup cwd/config/agent/view-mode forwarding; explicit runtime-session routing; remote/ambiguous/missing owner refusal; history focus; existing PTY reuse/title preservation; pending tab PTY/layout/identity adoption; split tree, focus, identity and telemetry samples. No equivalent replacement claimed. Changed selectors have no fresh execution or red/green credit. Unrelated retained receipt objects keep their original narrow scope. Historical prior account (preserved verbatim): Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/store/project-groups/nested-repository-operations.test.ts: routes local nested scan progress by scanId and unsubscribes after completion. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Historical prior account (preserved verbatim): Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1488 deletes NonGitFolderDialog tests. The hand-assembled scan/import pipelines, supplied host and folder outcomes, registration callback receipts and static host confirmation alarms are retired. No equivalent replacement coverage or fresh routing validation is claimed. Historical receipts and assertions describe their original sources only. Audit1487 deletes AddProjectFromFolderDialog and project-added-default-checkout tests and reduces AddRepoStartSteps to custom ArrowDown navigation. Mocked admission/activation and static host-control assertions are retired. No equivalent replacement coverage or fresh routing validation is claimed. Historical receipts and assertions below describe their original sources only. Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally reduces src/renderer/src/store/slices/repos-stale-fetch.spec.ts: Loses startup catalog admission/reconnect preservation and settlement failure gating alarms. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1391 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audits1342 and1337 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1320 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): This audit removes browser generic Active Server settings isolation and unknown-choice examples; their direct preference and rejection alarms are lost. Other routing evidence is not an equivalent replacement. Historical commands and results remain historical. Platform-neutral deterministic tests separate the durable Active Server preference from per-client connection, selected-workspace, browser-session, Add Project, and execution-host routing. The composed regression models Local desktop -> connect/navigate Windows 2 -> reveal a local terminal -> restart. Multi-client browser host overrides, multi-server profile caches, generic settings IPC rejection, local and remote workspace ownership, Add Project eligibility/owner capture/stale-result fencing, host-qualified group/folder/worktree identity, and restart reset of transient routing are covered. A visible macOS Orca desktop server plus separate paired Electron and web clients prove selected-runtime Add Project operations and disabled creation when the only listed host is blocked or unavailable; headless-server parity also passed. Live Linux, Windows, WSL, and SSH Add Project journeys remain uncollected. The static wrapper-rendering suite was removed during the low-value-test audit; its supplied-prop host-browser and control-visibility output assertions are no longer checked by that suite. This removal supplies no new runtime-routing evidence. The fake-React Clone hook unit suite was also retired: its captured-owner and same-ID sibling assertions no longer supply unit evidence. Historical run commands and counts remain historical; this retirement adds no runtime-routing, cross-platform, or mobile evidence. The test-value audit narrowed resolved-worktree-execution-host.test.ts to cache reuse and invalidation. Its direct hydrated-worktree, missing-folder, restored-owner, host-stamp and empty-runtime selection alarms are lost. Other routing and recovery suites do not establish equivalent selector coverage; historical run commands and results remain historical. The test-value audit narrowed worktree-runtime-owner.test.ts to deterministic owner-lookup work bounds with correct worktree/folder results and changed-collection invalidation. Its separate host/default/folder/mirror inventory alarms are lost; these retained in-memory checks establish no actual host delivery, restart or equivalent replacement coverage. Historical run commands and results remain historical. web-runtime-session.test.ts no longer supplies the terminal/browser/staged-browser explicit-host collision assertions formerly referenced here. Those direct routing alarms are lost; the remaining selector and live routing evidence does not establish equivalent replacement coverage. The test-value audit removes the direct host/provider/project-setup selector tables. selectors.test.ts retains only floating-tab/unread scan-cost checks, which supply no current Active Server routing evidence. Its separate missing-runtime/no-local-fallback and owner-choice alarms are lost; other gate evidence is not an equivalent replacement. Historical executed commands and results remain historical. browser.test.ts no longer supplies the host/profile projection examples. Current routing commands and references name the retained deferred host-list/import completion tests in browser-session-host-selection.test.ts instead. Its actual source supports stale-completion fencing; it does not establish the formerly listed multi-client selection or restart-reset claims. Other evidence is not an equivalent replacement; historical executed commands/counts/results remain historical. The test-value audit deletes repos-paired-runtime-add.test.ts. Its supplied-result assertion that an explicitly selected paired host receives repo.add with the selected path, folder kind and 15000ms timeout while native repos.add and pickFolder remain unused is intentionally lost. Other gate evidence is not an equivalent replacement. Historical executed commands, counts and results remain unchanged. The test-value audit narrows repos-selected-owner-routing.test.ts to an overlapping selected-runtime import/local refresh, reversed same-host folder replies, and group/folder replies crossing an actual pairing revision. Its separate same-ID host-partition, desktop-only pruning, sequential explicit-runtime preservation, and SSH scan/cancel forwarding alarms are intentionally lost. The stale-response case overwrites its group result before the final assertion, so it supplies only a folder stale-response alarm. The catalog-reconciliation caller also retires the refresh-identity and runtime-visibility-default registrars: their immediate reference/field/count, filter/dismissal, readoption-inventory, timestamp and settings/capability-copy/retention alarms are lost. No equivalent replacement or new live host, restart, platform or mobile evidence is claimed; historical executed commands, counts and results remain unchanged. The test-value audit removes the reversed-order direct worktree lookup example from selected-host-active-workspace-identity.test.ts. Its explicit-runtime path lookup with reversed same-ID catalog rows is intentionally lost; that example did not activate a workspace. After the subsequent audit, current assertions in this suite name only the retained local-first worktree activation; the selected-runtime folder/group host-echo example was removed. They are not equivalent replacements for the reversed-order lookup alarm. Historical executed commands, counts and results remain unchanged; no new live host, restart, platform or mobile evidence is claimed. The test-value audit narrows renderer store settings.test.ts by removing immediate authoritative-settings/response rebasing, checked-failure forwarding, best-effort logging, mobile-address/provider normalization, successful catalog-start, hand-seeded partial-status coverage and ghost-status filtering examples. Those direct response, normalization, error and catalog-projection alarms are intentionally lost. The runtime focus-switch resource/draft preservation, unreachable/incompatible refusal and held catalog coalescing/retry/staleness cases remain; they are not equivalent replacements for the removed alarms. Historical executed commands, counts and results remain unchanged; no new live host, restart, platform or mobile evidence is claimed. The test-value audit narrows worktrees-fetch-owner-routing.test.ts by removing default-local transport selection, ownerless runtime stamping, isolated force-local routing, and mocked mobile-denial/toast examples. Those direct routing, field and presentation alarms are lost. Retained concurrency and authority-fencing cases do not establish equivalent replacement coverage or live host, platform, restart or mobile evidence. Historical commands, counts and results remain unchanged. The test-value audit removes the separate paired-web host-switch resource-preservation example from renderer store settings.test.ts. Its explicit web-mode terminal/browser no-close and retained PTY/remote-browser-handle alarms are intentionally lost. The surviving desktop host-merge, resource/draft preservation, refusal and catalog retry/coalescing/staleness cases are not equivalent replacement coverage. Historical executed commands, counts and results remain unchanged; no new live host, restart, platform or mobile evidence is claimed. The test-value audit removes the selected-runtime folder/group activation example from selected-host-active-workspace-identity.test.ts. That large same-ID fixture only asserted that the explicit host argument was stored and read back; it did not check the chosen folder path, group or delivered operation. Its narrow non-rejection/host-echo alarm is intentionally lost. Only the local-first worktree case that independently checks the returned runtime path remains in this suite. Historical executed commands, counts and results remain unchanged; no equivalent replacement or new live-host evidence is claimed. The continued test-value audit narrows worktrees-fetch-owner-routing.test.ts by retiring the simple explicit-local duplicate-repo request and runtime-only host-stamping examples. Those exact request-option and supplied-row alarms are intentionally lost. The retained force-local sibling-preservation and project-setup stamping cases use different inputs and are not equivalent replacements. Historical commands, counts and results remain unchanged; no live-host, restart, platform or mobile evidence is added. The test-value audit removes the browser-settings host-option fallback helper suite. Its direct selected/default/empty-option preference alarms are lost; no browser session, host delivery or persistence was exercised there. Remaining routing evidence is not an equivalent replacement. Historical commands, counts and results remain historical. The test-value audit deletes paired-web-add-project-unavailable-host.spec.ts. Its injected blocked/unavailable-host disabled-action and no-local-option presentation alarms are intentionally lost. The snapshot sequence and null transport do not prove actual version negotiation or operation rejection. Other routing evidence is not an equivalent replacement; no new runtime, platform or mobile evidence is claimed. The two retired historical receipts and assertion reference are archived below with their original fields and results. Audit1320: src/renderer/src/components/settings/runtime-environments/catalog/RuntimeEnvironmentsPane.test.ts removed. Transport-up/runtime-down, failed-probe ready/reconnect/handshake and stale compatibility label/button state inventories lose alarms. No equivalent replacement coverage is claimed. Audit1342: src/renderer/src/components/sidebar/worktree-list/listing/host-filtering.test.ts removed. Runtime/SSH/default row ownership and folder/project path-status routing samples disappear. src/renderer/src/store/slices/repos-catalog-reconciliation.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Audit1337: src/renderer/src/components/sidebar/project-admission/dialog/add-repo-browse-authority.test.ts removed. Removes paired-host browse versus native picker callback flags and SSH no-browse predicate samples. src/renderer/src/components/sidebar/project-admission/dialog/AddRepoDialog.default-checkout.test.ts removed. Removes explicit local/runtime versus missing owner selector examples. No equivalent replacement coverage is claimed. Audit1352: focused Linux unit selections validated on source head b638e07d395b76af3ba6b03761a1a0fe7e5e026e. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1360: focused Linux unit selections validated on source head 415c9cffc2d10024131ec4b6721767a22195de6d. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1391: src/renderer/src/lib/worktree-runtime-owner.test.ts reduced. Lose explicit repeated-lookup work/read budget and standalone initial owner lookup alarms. Retained production resolver proves changed ownership is visible, using synthetic catalogs rather than server publication. No equivalent replacement coverage is claimed.", + "coverageNotes": "Audit3362 retires the whole settings suite, including dirty-draft focus, background-host keepalive, protocol/catalog compatibility, stale/failure and refresh examples. The compound unit selector and test-file entry narrow; all prior owner-routing retirements/history remain. Four unrelated selected-runtime macOS E2E receipts remain verbatim and do not validate the changed unit selector. No equivalent replacement or fresh runtime/provider/UI/mobile/mixed-version/cross-platform evidence is claimed. Audit3349 retires the explicit runtime-owner, explicit SSH-owner and missing-owner-after-catalog-change examples from worktrees-fetch-owner-routing. Of those four named assertions, only the missing-owner-after-provider-reconnect assertion remains; the command and test-file selector survive. Those three alarms are intentionally lost without equivalent replacement. Four unrelated physical selected-runtime macOS E2E receipts remain verbatim; the frozen static closure does not select changed tests through their literal roots. No fresh runtime, provider, historical-import, mobile, mixed-version or cross-platform validation is claimed. Audit3326 adopts reconciled source audit3324 and intentionally retires these low-value examples and their regression alarms: drops older same-host group and folder responses that finish last — Copies group and folder fixtures plus four deferred responses to re-test the same generic catalog generation fence in two wrappers. Retires stale same-host response rejection at these API copies.; drops pre-reconnect group and folder responses without pruning the new catalog — Directly replaces pairing/catalog fixtures then resolves scripted old group/folder replies; repeats identity-fence contract in two catalog wrappers without real reconnect. Retires pre-reconnect catalog pruning refusal example.. Retained tests do not replace these alarms. Dated unrelated evidence remains scoped to its original execution; no historical source/import-closure equivalence, fresh execution, real network/provider/SSH, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Audit2371 reduces all-host-folder-workspace-catalogs.test.ts by removing the repeated offline compatibility-probe budget and its incidental local-fallback/restored-owner samples, and catalog-settlement-notifications.test.ts by removing the four-route ten-equal-refresh notification/reference matrix. Those probe, quietness, identity and fallback alarms are intentionally lost. Remaining stale-response and revision-fencing examples do not supply equivalent replacement coverage. No fresh execution or red/green evidence validates the reduced sources; the four unrelated physical selected-runtime E2E receipts retain their original commands and scope. Historical prior account (preserved verbatim): Audit2360 removes src/renderer/src/hooks/useIpcEvents-terminal-create-surfacing.test.ts and its exclusive fake-effect harness. Lose local default-runtime persistence across navigation; focused/background terminal request/create/reveal and no-focus recovery; startup cwd/config/agent/view-mode forwarding; explicit runtime-session routing; remote/ambiguous/missing owner refusal; history focus; existing PTY reuse/title preservation; pending tab PTY/layout/identity adoption; split tree, focus, identity and telemetry samples. No equivalent replacement claimed. Changed selectors have no fresh execution or red/green credit. Unrelated retained receipt objects keep their original narrow scope. Historical prior account (preserved verbatim): Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/store/project-groups/nested-repository-operations.test.ts: routes local nested scan progress by scanId and unsubscribes after completion. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Historical prior account (preserved verbatim): Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1488 deletes NonGitFolderDialog tests. The hand-assembled scan/import pipelines, supplied host and folder outcomes, registration callback receipts and static host confirmation alarms are retired. No equivalent replacement coverage or fresh routing validation is claimed. Historical receipts and assertions describe their original sources only. Audit1487 deletes AddProjectFromFolderDialog and project-added-default-checkout tests and reduces AddRepoStartSteps to custom ArrowDown navigation. Mocked admission/activation and static host-control assertions are retired. No equivalent replacement coverage or fresh routing validation is claimed. Historical receipts and assertions below describe their original sources only. Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally reduces src/renderer/src/store/slices/repos-stale-fetch.spec.ts: Loses startup catalog admission/reconnect preservation and settlement failure gating alarms. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1391 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audits1342 and1337 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1320 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): This audit removes browser generic Active Server settings isolation and unknown-choice examples; their direct preference and rejection alarms are lost. Other routing evidence is not an equivalent replacement. Historical commands and results remain historical. Platform-neutral deterministic tests separate the durable Active Server preference from per-client connection, selected-workspace, browser-session, Add Project, and execution-host routing. The composed regression models Local desktop -> connect/navigate Windows 2 -> reveal a local terminal -> restart. Multi-client browser host overrides, multi-server profile caches, generic settings IPC rejection, local and remote workspace ownership, Add Project eligibility/owner capture/stale-result fencing, host-qualified group/folder/worktree identity, and restart reset of transient routing are covered. A visible macOS Orca desktop server plus separate paired Electron and web clients prove selected-runtime Add Project operations and disabled creation when the only listed host is blocked or unavailable; headless-server parity also passed. Live Linux, Windows, WSL, and SSH Add Project journeys remain uncollected. The static wrapper-rendering suite was removed during the low-value-test audit; its supplied-prop host-browser and control-visibility output assertions are no longer checked by that suite. This removal supplies no new runtime-routing evidence. The fake-React Clone hook unit suite was also retired: its captured-owner and same-ID sibling assertions no longer supply unit evidence. Historical run commands and counts remain historical; this retirement adds no runtime-routing, cross-platform, or mobile evidence. The test-value audit narrowed resolved-worktree-execution-host.test.ts to cache reuse and invalidation. Its direct hydrated-worktree, missing-folder, restored-owner, host-stamp and empty-runtime selection alarms are lost. Other routing and recovery suites do not establish equivalent selector coverage; historical run commands and results remain historical. The test-value audit narrowed worktree-runtime-owner.test.ts to deterministic owner-lookup work bounds with correct worktree/folder results and changed-collection invalidation. Its separate host/default/folder/mirror inventory alarms are lost; these retained in-memory checks establish no actual host delivery, restart or equivalent replacement coverage. Historical run commands and results remain historical. web-runtime-session.test.ts no longer supplies the terminal/browser/staged-browser explicit-host collision assertions formerly referenced here. Those direct routing alarms are lost; the remaining selector and live routing evidence does not establish equivalent replacement coverage. The test-value audit removes the direct host/provider/project-setup selector tables. selectors.test.ts retains only floating-tab/unread scan-cost checks, which supply no current Active Server routing evidence. Its separate missing-runtime/no-local-fallback and owner-choice alarms are lost; other gate evidence is not an equivalent replacement. Historical executed commands and results remain historical. browser.test.ts no longer supplies the host/profile projection examples. Current routing commands and references name the retained deferred host-list/import completion tests in browser-session-host-selection.test.ts instead. Its actual source supports stale-completion fencing; it does not establish the formerly listed multi-client selection or restart-reset claims. Other evidence is not an equivalent replacement; historical executed commands/counts/results remain historical. The test-value audit deletes repos-paired-runtime-add.test.ts. Its supplied-result assertion that an explicitly selected paired host receives repo.add with the selected path, folder kind and 15000ms timeout while native repos.add and pickFolder remain unused is intentionally lost. Other gate evidence is not an equivalent replacement. Historical executed commands, counts and results remain unchanged. The test-value audit narrows repos-selected-owner-routing.test.ts to an overlapping selected-runtime import/local refresh, reversed same-host folder replies, and group/folder replies crossing an actual pairing revision. Its separate same-ID host-partition, desktop-only pruning, sequential explicit-runtime preservation, and SSH scan/cancel forwarding alarms are intentionally lost. The stale-response case overwrites its group result before the final assertion, so it supplies only a folder stale-response alarm. The catalog-reconciliation caller also retires the refresh-identity and runtime-visibility-default registrars: their immediate reference/field/count, filter/dismissal, readoption-inventory, timestamp and settings/capability-copy/retention alarms are lost. No equivalent replacement or new live host, restart, platform or mobile evidence is claimed; historical executed commands, counts and results remain unchanged. The test-value audit removes the reversed-order direct worktree lookup example from selected-host-active-workspace-identity.test.ts. Its explicit-runtime path lookup with reversed same-ID catalog rows is intentionally lost; that example did not activate a workspace. After the subsequent audit, current assertions in this suite name only the retained local-first worktree activation; the selected-runtime folder/group host-echo example was removed. They are not equivalent replacements for the reversed-order lookup alarm. Historical executed commands, counts and results remain unchanged; no new live host, restart, platform or mobile evidence is claimed. The test-value audit narrows renderer store settings.test.ts by removing immediate authoritative-settings/response rebasing, checked-failure forwarding, best-effort logging, mobile-address/provider normalization, successful catalog-start, hand-seeded partial-status coverage and ghost-status filtering examples. Those direct response, normalization, error and catalog-projection alarms are intentionally lost. The runtime focus-switch resource/draft preservation, unreachable/incompatible refusal and held catalog coalescing/retry/staleness cases remain; they are not equivalent replacements for the removed alarms. Historical executed commands, counts and results remain unchanged; no new live host, restart, platform or mobile evidence is claimed. The test-value audit narrows worktrees-fetch-owner-routing.test.ts by removing default-local transport selection, ownerless runtime stamping, isolated force-local routing, and mocked mobile-denial/toast examples. Those direct routing, field and presentation alarms are lost. Retained concurrency and authority-fencing cases do not establish equivalent replacement coverage or live host, platform, restart or mobile evidence. Historical commands, counts and results remain unchanged. The test-value audit removes the separate paired-web host-switch resource-preservation example from renderer store settings.test.ts. Its explicit web-mode terminal/browser no-close and retained PTY/remote-browser-handle alarms are intentionally lost. The surviving desktop host-merge, resource/draft preservation, refusal and catalog retry/coalescing/staleness cases are not equivalent replacement coverage. Historical executed commands, counts and results remain unchanged; no new live host, restart, platform or mobile evidence is claimed. The test-value audit removes the selected-runtime folder/group activation example from selected-host-active-workspace-identity.test.ts. That large same-ID fixture only asserted that the explicit host argument was stored and read back; it did not check the chosen folder path, group or delivered operation. Its narrow non-rejection/host-echo alarm is intentionally lost. Only the local-first worktree case that independently checks the returned runtime path remains in this suite. Historical executed commands, counts and results remain unchanged; no equivalent replacement or new live-host evidence is claimed. The continued test-value audit narrows worktrees-fetch-owner-routing.test.ts by retiring the simple explicit-local duplicate-repo request and runtime-only host-stamping examples. Those exact request-option and supplied-row alarms are intentionally lost. The retained force-local sibling-preservation and project-setup stamping cases use different inputs and are not equivalent replacements. Historical commands, counts and results remain unchanged; no live-host, restart, platform or mobile evidence is added. The test-value audit removes the browser-settings host-option fallback helper suite. Its direct selected/default/empty-option preference alarms are lost; no browser session, host delivery or persistence was exercised there. Remaining routing evidence is not an equivalent replacement. Historical commands, counts and results remain historical. The test-value audit deletes paired-web-add-project-unavailable-host.spec.ts. Its injected blocked/unavailable-host disabled-action and no-local-option presentation alarms are intentionally lost. The snapshot sequence and null transport do not prove actual version negotiation or operation rejection. Other routing evidence is not an equivalent replacement; no new runtime, platform or mobile evidence is claimed. The two retired historical receipts and assertion reference are archived below with their original fields and results. Audit1320: src/renderer/src/components/settings/runtime-environments/catalog/RuntimeEnvironmentsPane.test.ts removed. Transport-up/runtime-down, failed-probe ready/reconnect/handshake and stale compatibility label/button state inventories lose alarms. No equivalent replacement coverage is claimed. Audit1342: src/renderer/src/components/sidebar/worktree-list/listing/host-filtering.test.ts removed. Runtime/SSH/default row ownership and folder/project path-status routing samples disappear. src/renderer/src/store/slices/repos-catalog-reconciliation.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Audit1337: src/renderer/src/components/sidebar/project-admission/dialog/add-repo-browse-authority.test.ts removed. Removes paired-host browse versus native picker callback flags and SSH no-browse predicate samples. src/renderer/src/components/sidebar/project-admission/dialog/AddRepoDialog.default-checkout.test.ts removed. Removes explicit local/runtime versus missing owner selector examples. No equivalent replacement coverage is claimed. Audit1352: focused Linux unit selections validated on source head b638e07d395b76af3ba6b03761a1a0fe7e5e026e. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1360: focused Linux unit selections validated on source head 415c9cffc2d10024131ec4b6721767a22195de6d. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1391: src/renderer/src/lib/worktree-runtime-owner.test.ts reduced. Lose explicit repeated-lookup work/read budget and standalone initial owner lookup alarms. Retained production resolver proves changed ownership is visible, using synthetic catalogs rather than server publication. No equivalent replacement coverage is claimed.", "motivatingLinks": [ "https://github.com/stablyai/orca/pull/9687", "https://linear.app/stably/issue/STA-4024/p1-paired-web-add-project-enables-unavailable-host-fallback-after-pr" ], "invariant": "Only an explicit user change in Settings > Remote Orca Servers > Advanced > Active Server may mutate activeRuntimeEnvironmentId. Connecting, pairing, disconnecting, selecting or revealing a workspace or terminal, browser/mobile handoff, remote navigation, and reconnect must use transient or target-owner routing and must never rewrite the durable preference. Every Add Project selected host must satisfy canSelectAddRepoHost; paired web has no local filesystem fallback, so no valid host means Browse, Clone, and Create remain disabled. Every operation stays on the host selected when it began, even if preference or catalog state changes. Generic settings mutation cannot bypass the dedicated preference IPC.", - "oracle": "Audit2371 reduces all-host-folder-workspace-catalogs.test.ts by removing the repeated offline compatibility-probe budget and its incidental local-fallback/restored-owner samples, and catalog-settlement-notifications.test.ts by removing the four-route ten-equal-refresh notification/reference matrix. Those probe, quietness, identity and fallback alarms are intentionally lost. Remaining stale-response and revision-fencing examples do not supply equivalent replacement coverage. No fresh execution or red/green evidence validates the reduced sources; the four unrelated physical selected-runtime E2E receipts retain their original commands and scope. Historical prior account (preserved verbatim): Audit2360 removes src/renderer/src/hooks/useIpcEvents-terminal-create-surfacing.test.ts and its exclusive fake-effect harness. Lose local default-runtime persistence across navigation; focused/background terminal request/create/reveal and no-focus recovery; startup cwd/config/agent/view-mode forwarding; explicit runtime-session routing; remote/ambiguous/missing owner refusal; history focus; existing PTY reuse/title preservation; pending tab PTY/layout/identity adoption; split tree, focus, identity and telemetry samples. No equivalent replacement claimed. Changed selectors have no fresh execution or red/green credit. Unrelated retained receipt objects keep their original narrow scope. Historical prior account (preserved verbatim): Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/store/project-groups/nested-repository-operations.test.ts: routes local nested scan progress by scanId and unsubscribes after completion. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Start with Active Server=Local desktop, connect and navigate Windows 2, then reveal a local terminal and assert it succeeds while the persisted preference remains local before and after restart. Repeat transient routing and selected-runtime Add Project operations with exact-ID host decoys and completion reordering. Separately pair the real web client to an isolated headed host, then make its sole still-listed runtime compatibility-blocked and unavailable. Require a null authoritative selection, a disabled host option, and disabled Browse, Clone, and Create actions with no local fallback. Repeat against headless serve. Run the byte-identical selector/action contract on latest main, candidate, and candidate with the eligibility seam disabled.", + "oracle": "Audit3362 retires the whole settings suite, including dirty-draft focus, background-host keepalive, protocol/catalog compatibility, stale/failure and refresh examples. The compound unit selector and test-file entry narrow; all prior owner-routing retirements/history remain. Four unrelated selected-runtime macOS E2E receipts remain verbatim and do not validate the changed unit selector. No equivalent replacement or fresh runtime/provider/UI/mobile/mixed-version/cross-platform evidence is claimed. Audit3349 retires the explicit runtime-owner, explicit SSH-owner and missing-owner-after-catalog-change examples from worktrees-fetch-owner-routing. Of those four named assertions, only the missing-owner-after-provider-reconnect assertion remains; the command and test-file selector survive. Those three alarms are intentionally lost without equivalent replacement. Four unrelated physical selected-runtime macOS E2E receipts remain verbatim; the frozen static closure does not select changed tests through their literal roots. No fresh runtime, provider, historical-import, mobile, mixed-version or cross-platform validation is claimed. Audit3326 adopts reconciled source audit3324 and intentionally retires these low-value examples and their regression alarms: drops older same-host group and folder responses that finish last — Copies group and folder fixtures plus four deferred responses to re-test the same generic catalog generation fence in two wrappers. Retires stale same-host response rejection at these API copies.; drops pre-reconnect group and folder responses without pruning the new catalog — Directly replaces pairing/catalog fixtures then resolves scripted old group/folder replies; repeats identity-fence contract in two catalog wrappers without real reconnect. Retires pre-reconnect catalog pruning refusal example.. Retained tests do not replace these alarms. Dated unrelated evidence remains scoped to its original execution; no historical source/import-closure equivalence, fresh execution, real network/provider/SSH, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Audit2371 reduces all-host-folder-workspace-catalogs.test.ts by removing the repeated offline compatibility-probe budget and its incidental local-fallback/restored-owner samples, and catalog-settlement-notifications.test.ts by removing the four-route ten-equal-refresh notification/reference matrix. Those probe, quietness, identity and fallback alarms are intentionally lost. Remaining stale-response and revision-fencing examples do not supply equivalent replacement coverage. No fresh execution or red/green evidence validates the reduced sources; the four unrelated physical selected-runtime E2E receipts retain their original commands and scope. Historical prior account (preserved verbatim): Audit2360 removes src/renderer/src/hooks/useIpcEvents-terminal-create-surfacing.test.ts and its exclusive fake-effect harness. Lose local default-runtime persistence across navigation; focused/background terminal request/create/reveal and no-focus recovery; startup cwd/config/agent/view-mode forwarding; explicit runtime-session routing; remote/ambiguous/missing owner refusal; history focus; existing PTY reuse/title preservation; pending tab PTY/layout/identity adoption; split tree, focus, identity and telemetry samples. No equivalent replacement claimed. Changed selectors have no fresh execution or red/green credit. Unrelated retained receipt objects keep their original narrow scope. Historical prior account (preserved verbatim): Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/store/project-groups/nested-repository-operations.test.ts: routes local nested scan progress by scanId and unsubscribes after completion. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Start with Active Server=Local desktop, connect and navigate Windows 2, then reveal a local terminal and assert it succeeds while the persisted preference remains local before and after restart. Repeat transient routing and selected-runtime Add Project operations with exact-ID host decoys and completion reordering. Separately pair the real web client to an isolated headed host, then make its sole still-listed runtime compatibility-blocked and unavailable. Require a null authoritative selection, a disabled host option, and disabled Browse, Clone, and Create actions with no local fallback. Repeat against headless serve. Run the byte-identical selector/action contract on latest main, candidate, and candidate with the eligibility seam disabled.", "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/runtime-environments/runtime-environments-pairing.test.ts src/renderer/src/store/slices/settings/settings.test.ts src/renderer/src/store/slices/browser/hosts/browser-session-host-selection.test.ts src/renderer/src/web/web-preload-api-runtime-environment.test.ts --maxWorkers=1", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/resolved-worktree-execution-host.test.ts src/renderer/src/store/repos/ssh-repo-readoption-drafts.test.ts src/renderer/src/store/folder-workspaces/folder-workspace-readoption-drafts.test.ts src/renderer/src/store/repos/repo-catalog-readoption-drafts.test.ts src/renderer/src/store/folder-workspaces/all-host-folder-workspace-catalogs.test.ts src/renderer/src/store/host-catalog/catalog-settlement-notifications.test.ts src/renderer/src/store/repos/repos-stale-fetch.test.ts src/renderer/src/store/folder-workspaces/folder-workspace-routing.test.ts src/renderer/src/store/repos/repos-selected-owner-routing.test.ts src/renderer/src/store/slices/worktrees/session/selected-host-active-workspace-identity.test.ts src/renderer/src/store/slices/worktrees/listing/worktrees-fetch-owner-routing.test.ts --maxWorkers=1", + "pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/runtime-environments/runtime-environments-pairing.test.ts src/renderer/src/store/slices/browser/hosts/browser-session-host-selection.test.ts src/renderer/src/web/web-preload-api-runtime-environment.test.ts --maxWorkers=1", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/repos/ssh-repo-readoption-drafts.test.ts src/renderer/src/store/folder-workspaces/folder-workspace-readoption-drafts.test.ts src/renderer/src/store/repos/repo-catalog-readoption-drafts.test.ts src/renderer/src/store/folder-workspaces/all-host-folder-workspace-catalogs.test.ts src/renderer/src/store/host-catalog/catalog-settlement-notifications.test.ts src/renderer/src/store/repos/repos-stale-fetch.test.ts src/renderer/src/store/folder-workspaces/folder-workspace-routing.test.ts src/renderer/src/store/repos/repos-selected-owner-routing.test.ts src/renderer/src/store/slices/worktrees/session/selected-host-active-workspace-identity.test.ts src/renderer/src/store/slices/worktrees/listing/worktrees-fetch-owner-routing.test.ts --maxWorkers=1", "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/sidebar/project-admission/dialog/AddRepoStartSteps.test.tsx --maxWorkers=1", "pnpm run ensure:electron-runtime && npx playwright test tests/e2e/pr11346-selected-runtime-add.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1 --reporter=line", "pnpm run ensure:electron-runtime && npx playwright test tests/e2e/pr11346-selected-runtime-add.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --reporter=line" ], "testFiles": [ "src/main/ipc/runtime-environments/runtime-environments-pairing.test.ts", - "src/renderer/src/store/slices/settings/settings.test.ts", "src/renderer/src/store/slices/browser/hosts/browser-session-host-selection.test.ts", - "src/renderer/src/web/web-preload-api-runtime-environment.test.ts", "src/renderer/src/components/sidebar/project-admission/dialog/AddRepoStartSteps.test.tsx", - "src/renderer/src/lib/resolved-worktree-execution-host.test.ts", "src/renderer/src/store/repos/ssh-repo-readoption-drafts.test.ts", "src/renderer/src/store/folder-workspaces/folder-workspace-readoption-drafts.test.ts", "src/renderer/src/store/repos/repo-catalog-readoption-drafts.test.ts", @@ -7692,19 +7416,12 @@ { "file": "src/renderer/src/store/repos/repos-selected-owner-routing.test.ts", "assertions": [ - "keeps a selected-runtime import refresh across an overlapping local refresh", - "drops reversed same-host folder responses without replacing the newer folder catalog", - "rejects pre-reconnect group and folder responses after the runtime pairing revision changes" + "keeps a selected-runtime import refresh across an overlapping local refresh" ] }, { "file": "src/renderer/src/store/slices/worktrees/listing/worktrees-fetch-owner-routing.test.ts", - "assertions": [ - "honors an explicit runtime owner before the repo catalog is hydrated", - "honors an explicit SSH owner before the repo catalog is hydrated", - "rejects a missing-owner SSH result after the repo catalog changes", - "rejects a missing-owner SSH result after the provider reconnects" - ] + "assertions": ["rejects a missing-owner SSH result after the provider reconnects"] }, { "file": "src/renderer/src/store/slices/worktrees/session/selected-host-active-workspace-identity.test.ts", @@ -7833,7 +7550,14 @@ "Audit1488 deletes NonGitFolderDialog tests. The hand-assembled scan/import pipelines, supplied host and folder outcomes, registration callback receipts and static host confirmation alarms are retired. No equivalent replacement coverage or fresh routing validation is claimed. Historical receipts and assertions describe their original sources only.", "Audit1488 historical assertion inventory; not current validated assertions: []", "Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/store/project-groups/nested-repository-operations.test.ts: routes local nested scan progress by scanId and unsubscribes after completion. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed.", - "Audit2371 reduces all-host-folder-workspace-catalogs.test.ts by removing the repeated offline compatibility-probe budget and its incidental local-fallback/restored-owner samples, and catalog-settlement-notifications.test.ts by removing the four-route ten-equal-refresh notification/reference matrix. Those probe, quietness, identity and fallback alarms are intentionally lost. Remaining stale-response and revision-fencing examples do not supply equivalent replacement coverage. No fresh execution or red/green evidence validates the reduced sources; the four unrelated physical selected-runtime E2E receipts retain their original commands and scope." + "Audit2371 reduces all-host-folder-workspace-catalogs.test.ts by removing the repeated offline compatibility-probe budget and its incidental local-fallback/restored-owner samples, and catalog-settlement-notifications.test.ts by removing the four-route ten-equal-refresh notification/reference matrix. Those probe, quietness, identity and fallback alarms are intentionally lost. Remaining stale-response and revision-fencing examples do not supply equivalent replacement coverage. No fresh execution or red/green evidence validates the reduced sources; the four unrelated physical selected-runtime E2E receipts retain their original commands and scope.", + "Module-layout wave2 intentionally retires complete prohibited owning registrations in src/renderer/src/lib/resolved-worktree-execution-host.test.ts. Lost alarms: Both explicit and legacy workspace owners resolve to env-a initially. Replacing the repo catalog refreshes legacy ownership to env-b. A conflicting local repo row makes ownership ambiguous and returns null. Repeated unrelated updates perform zero id reads, an internal work-budget alarm removed. No equivalent replacement coverage or reduced-selector pass is claimed.", + "Audit3326 adopts reconciled source audit3324 and intentionally retires these low-value examples and their regression alarms: drops older same-host group and folder responses that finish last — Copies group and folder fixtures plus four deferred responses to re-test the same generic catalog generation fence in two wrappers. Retires stale same-host response rejection at these API copies.; drops pre-reconnect group and folder responses without pruning the new catalog — Directly replaces pairing/catalog fixtures then resolves scripted old group/folder replies; repeats identity-fence contract in two catalog wrappers without real reconnect. Retires pre-reconnect catalog pruning refusal example.. Retained tests do not replace these alarms. Dated unrelated evidence remains scoped to its original execution; no historical source/import-closure equivalence, fresh execution, real network/provider/SSH, rendered UI, mobile, mixed-version or cross-platform validation is claimed.", + "Audit3349 retires the explicit runtime-owner, explicit SSH-owner and missing-owner-after-catalog-change examples from worktrees-fetch-owner-routing. Of those four named assertions, only the missing-owner-after-provider-reconnect assertion remains; the command and test-file selector survive. Those three alarms are intentionally lost without equivalent replacement. Four unrelated physical selected-runtime macOS E2E receipts remain verbatim; the frozen static closure does not select changed tests through their literal roots. No fresh runtime, provider, historical-import, mobile, mixed-version or cross-platform validation is claimed.", + "Audit3349 historical original assertionRefs object, preserved verbatim; retired source claims are not active evidence or replacement coverage:\n{\n \"file\": \"src/renderer/src/store/slices/worktrees/listing/worktrees-fetch-owner-routing.test.ts\",\n \"assertions\": [\n \"honors an explicit runtime owner before the repo catalog is hydrated\",\n \"honors an explicit SSH owner before the repo catalog is hydrated\",\n \"rejects a missing-owner SSH result after the repo catalog changes\",\n \"rejects a missing-owner SSH result after the provider reconnects\"\n ]\n }", + "Audit3362 retires the whole settings suite, including dirty-draft focus, background-host keepalive, protocol/catalog compatibility, stale/failure and refresh examples. The compound unit selector and test-file entry narrow; all prior owner-routing retirements/history remain. Four unrelated selected-runtime macOS E2E receipts remain verbatim and do not validate the changed unit selector. No equivalent replacement or fresh runtime/provider/UI/mobile/mixed-version/cross-platform evidence is claimed.", + "Audit3362 historical original commands object, preserved verbatim; retired source claims are not active evidence or replacement coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/runtime-environments/runtime-environments-pairing.test.ts src/renderer/src/store/slices/settings/settings.test.ts src/renderer/src/store/slices/browser/hosts/browser-session-host-selection.test.ts src/renderer/src/web/web-preload-api-runtime-environment.test.ts --maxWorkers=1\"", + "Audit3362 historical original testFiles object, preserved verbatim; retired source claims are not active evidence or replacement coverage:\n\"src/renderer/src/store/slices/settings/settings.test.ts\"" ], "demotionRule": "Demote or block release if any non-Advanced path mutates Active Server, if local reveal or Add Project depends on the durable default instead of captured workspace/host ownership, if an Add Project operation reaches a different host after it begins, or if transient host state survives restart." }, @@ -8038,7 +7762,7 @@ "id": "terminal-scroll.intent-preservation", "title": "Scrollbar drag intent survives tab and visibility resume", "maturity": "experimental", - "protection": "partial", + "protection": "none", "owner": "terminal-rendering", "layer": "renderer-unit", "surfaces": [ @@ -8050,36 +7774,16 @@ ], "platforms": ["macos", "linux", "windows"], "providers": ["local", "daemon", "ssh", "wsl", "remote-runtime"], - "coveredPlatforms": ["macos"], + "coveredPlatforms": [], "coveredProviders": [], "coverageNotes": "Audit2236: retain only old-terminal disposal refusing to overwrite its keyed successor, and mouse-report classification preserving wheel intent through rebuild. Both use synthetic terminal state. Remove delayed wheel sampling, pinned-growth remount, stale settle, generic rebuild suppression, wheel direction matrix, cleared-buffer durable pin and cancelled rebuild examples. No direct scrollbar/native scroll coverage or equivalent replacement is claimed. Historical dated receipt and budgets remain verbatim and do not validate these reduced source bytes. Historical prior account (preserved verbatim): The audit removes all direct scrollbar pointer-classification, dragged-viewport restoration and terminal-body exclusion examples. Retained wheel/rebuild and keyed-owner fixtures exercise related scroll-intent behavior with synthetic terminal state; they do not provide equivalent scrollbar coverage. The recorded macOS run is historical and is not a rerun of the reduced suite. Live daemon, SSH, WSL, remote-runtime, Linux and Windows scrollbar validation remains unproved.", "motivatingLinks": ["STA-1341"], "invariant": "A user-driven xterm scrollbar thumb or track scroll updates the live terminal scroll intent before tab, visibility, or layout resume enforces intent, so resume preserves the latest dragged viewport instead of an older pinned line.", "oracle": "Audit2236: retain only old-terminal disposal refusing to overwrite its keyed successor, and mouse-report classification preserving wheel intent through rebuild. Both use synthetic terminal state. Remove delayed wheel sampling, pinned-growth remount, stale settle, generic rebuild suppression, wheel direction matrix, cleared-buffer durable pin and cancelled rebuild examples. No direct scrollbar/native scroll coverage or equivalent replacement is claimed. Historical dated receipt and budgets remain verbatim and do not validate these reduced source bytes. Historical prior account (preserved verbatim): No retained unit test directly exercises scrollbar thumb/track targeting or a dragged viewport. The retained deterministic slice checks delayed wheel viewport sampling, keyed disposal/remount ownership, and wheel intent through rebuild completion or cancellation; these checks do not establish scrollbar-drag preservation.", - "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/pane-manager/terminal-scroll-intent.test.ts" - ], - "testFiles": ["src/renderer/src/lib/pane-manager/terminal-scroll-intent.test.ts"], - "assertionRefs": [ - { - "file": "src/renderer/src/lib/pane-manager/terminal-scroll-intent.test.ts", - "assertions": [ - "does not let an old terminal disposal overwrite its keyed successor", - "keeps rebuild wheel intent when xterm classifies the same event as mouse input" - ] - } - ], - "evidenceRuns": [ - { - "date": "2026-07-05", - "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/pane-manager/terminal-scroll-intent.test.ts", - "result": "passed", - "durationSeconds": 0.3, - "summary": "1 test file(s) passed, 17 tests passed in this worktree. Audit965 removes the direct scrollbar examples; this command/result remains historical and does not validate the reduced suite or equivalent scrollbar coverage." - } - ], + "commands": [], + "testFiles": [], + "assertionRefs": [], + "evidenceRuns": [], "runtimeBudget": { "p95Seconds": 10, "scope": "focused renderer unit test" @@ -8102,6 +7806,10 @@ "Attach red/green evidence for stale intent restoring the wrong viewport." ], "knownGaps": [ + "NEXT65 current scope qualification: The NEXT65 knownGaps entries below govern the changed selectors and qualify any broader coverage implication in this gate’s unchanged oracle/coverageNotes narratives. Those narratives and preserved dated evidenceRuns retain their historical text and original exact execution scopes only; no fresh execution, transferred pass or equivalent replacement coverage is claimed. Upstream case removals remain upstream; original NEXT65 proposal descriptions grant no duplicate retirement credit.", + "NEXT65 terminal-owner layout and whole-case policy: src/renderer/src/lib/pane-manager/terminal-scroll-intent.test.ts. Complete retired/reduced selectors lose their listed alarms; retained cases have no transferred historical pass or equivalent replacement coverage. Unaffected dated receipts retain only their original exact scopes. This metadata edit is not fresh execution evidence.", + "NEXT65 historical original active selector fields (verbatim JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/pane-manager/terminal-scroll-intent.test.ts\"\n ]\ntestFiles: [\"src/renderer/src/lib/pane-manager/terminal-scroll-intent.test.ts\"]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/lib/pane-manager/terminal-scroll-intent.test.ts\",\n \"assertions\": [\n \"does not let an old terminal disposal overwrite its keyed successor\",\n \"keeps rebuild wheel intent when xterm classifies the same event as mouse input\"\n ]\n }\n ]\ncoveredPlatforms: [\"macos\"]\ncoveredProviders: []", + "NEXT65 historical original evidenceRuns object (verbatim; no current-selector pass credit):\n{\n \"date\": \"2026-07-05\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/pane-manager/terminal-scroll-intent.test.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 0.3,\n \"summary\": \"1 test file(s) passed, 17 tests passed in this worktree. Audit965 removes the direct scrollbar examples; this command/result remains historical and does not validate the reduced suite or equivalent scrollbar coverage.\"\n }", "Audit2236: retain only old-terminal disposal refusing to overwrite its keyed successor, and mouse-report classification preserving wheel intent through rebuild. Both use synthetic terminal state. Remove delayed wheel sampling, pinned-growth remount, stale settle, generic rebuild suppression, wheel direction matrix, cleared-buffer durable pin and cancelled rebuild examples. No direct scrollbar/native scroll coverage or equivalent replacement is claimed. Historical dated receipt and budgets remain verbatim and do not validate these reduced source bytes.", "The manifest command covers narrower deterministic wheel/rebuild/keyed-owner behavior; it does not exercise scrollbar dragging or its DOM target contract.", "Live daemon, SSH, WSL, remote-runtime, Linux, and Windows validation is not covered by this gate.", @@ -8114,7 +7822,7 @@ "id": "terminal-scroll.streaming-refocus-intent", "title": "Streaming refocus preserves follow-output viewport intent", "maturity": "experimental", - "protection": "partial", + "protection": "none", "owner": "terminal-rendering", "layer": "renderer-unit-and-electron-e2e", "surfaces": [ @@ -8126,43 +7834,19 @@ ], "platforms": ["macos", "linux", "windows"], "providers": ["local", "daemon", "ssh", "wsl", "remote-runtime"], - "coveredPlatforms": ["macos"], - "coveredProviders": ["local", "daemon"], - "coverageNotes": "Unit coverage proves provider-independent ordering for any PaneManager. Live Electron coverage exercises a local PTY through the daemon on macOS; SSH, WSL, remote-runtime, Linux, and Windows remain unproved for this exact race. Audit1299 removes tests/e2e/terminal-streaming-refocus-viewport.spec.ts. Private-state/work-budget/assembled-fixture alarms are intentionally lost; retained suites are not equivalent replacement coverage. No new runtime/platform evidence is claimed.", + "coveredPlatforms": [], + "coveredProviders": [], + "coverageNotes": "NEXT46 terminal-owner layout and whole-case policy: src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts. Complete retired/reduced selectors lose their listed alarms; retained cases have no transferred historical pass or equivalent replacement coverage. Unaffected dated receipts retain only their original exact scopes. This metadata edit is not fresh execution evidence. Historical prior account (preserved verbatim): Unit coverage proves provider-independent ordering for any PaneManager. Live Electron coverage exercises a local PTY through the daemon on macOS; SSH, WSL, remote-runtime, Linux, and Windows remain unproved for this exact race. Audit1299 removes tests/e2e/terminal-streaming-refocus-viewport.spec.ts. Private-state/work-budget/assembled-fixture alarms are intentionally lost; retained suites are not equivalent replacement coverage. No new runtime/platform evidence is claimed.", "motivatingLinks": [ "https://github.com/stablyai/orca/issues/11753", "https://github.com/stablyai/orca/pull/11915" ], "invariant": "When output is queued during a focus or visibility transition, Orca records the pre-flush viewport intent before xterm parses backlog writes, so a follow-output terminal stays at the bottom and a pinned terminal keeps its prior position.", "oracle": "Unit tests require exactly one intent sync before each queued-output flush. The Electron test injects a transient top-of-buffer xterm wobble during refocus and requires every presented scrollbar frame, including the final rendered output, to remain at the bottom.", - "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts", - "pnpm exec electron-vite build --mode e2e" - ], - "testFiles": [ - "src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts" - ], - "assertionRefs": [ - { - "file": "src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts", - "assertions": [ - "window-wake recovery synchronizes viewport intent exactly once before flushing queued output", - "heavy visibility resume synchronizes intent exactly once before flushing queued output" - ] - } - ], - "evidenceRuns": [ - { - "date": "2026-08-01", - "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/terminal-visibility-resume.test.ts", - "result": "passed", - "durationSeconds": 0.096, - "summary": "14 tests passed, including exact sync count and pre-flush ordering for wake and heavy visibility resume.", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts" - } - ], + "commands": [], + "testFiles": [], + "assertionRefs": [], + "evidenceRuns": [], "runtimeBudget": { "p95Seconds": 30, "scope": "focused renderer unit test or one Electron E2E iteration" @@ -8189,7 +7873,10 @@ "Live Linux, Windows, SSH, WSL, and remote-runtime execution is not covered for this exact race.", "The Electron gate proves follow-output behavior; adjacent scroll-intent coverage protects pinned viewport behavior.", "Audit1299 removes tests/e2e/terminal-streaming-refocus-viewport.spec.ts. Private-state/work-budget/assembled-fixture alarms are intentionally lost; retained suites are not equivalent replacement coverage. No new runtime/platform evidence is claimed.", - "Archived retired-suite historical receipt (JSON, original fields/results unchanged): {\"date\":\"2026-08-01\",\"runner\":\"local\",\"platform\":\"macos\",\"command\":\"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/terminal-streaming-refocus-viewport.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --repeat-each=5\",\"result\":\"passed\",\"durationSeconds\":35.2,\"summary\":\"Five consecutive Electron iterations passed after replacing fixed-time readiness and stale tab capture with deterministic viewport and pane-identity oracles.\"}" + "Archived retired-suite historical receipt (JSON, original fields/results unchanged): {\"date\":\"2026-08-01\",\"runner\":\"local\",\"platform\":\"macos\",\"command\":\"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/terminal-streaming-refocus-viewport.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --repeat-each=5\",\"result\":\"passed\",\"durationSeconds\":35.2,\"summary\":\"Five consecutive Electron iterations passed after replacing fixed-time readiness and stale tab capture with deterministic viewport and pane-identity oracles.\"}", + "NEXT46 terminal-owner layout and whole-case policy: src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts. Complete retired/reduced selectors lose their listed alarms; retained cases have no transferred historical pass or equivalent replacement coverage. Unaffected dated receipts retain only their original exact scopes. This metadata edit is not fresh execution evidence.", + "NEXT46 historical original active selector fields (verbatim JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts\",\n \"pnpm exec electron-vite build --mode e2e\"\n ]\ntestFiles: [\n \"src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts\",\n \"assertions\": [\n \"window-wake recovery synchronizes viewport intent exactly once before flushing queued output\",\n \"heavy visibility resume synchronizes intent exactly once before flushing queued output\"\n ]\n }\n ]\ncoveredPlatforms: [\"macos\"]\ncoveredProviders: [\"local\", \"daemon\"]", + "NEXT46 historical original evidenceRuns object (verbatim; no current-selector pass credit):\n{\n \"date\": \"2026-08-01\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/terminal-visibility-resume.test.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 0.096,\n \"summary\": \"14 tests passed, including exact sync count and pre-flush ordering for wake and heavy visibility resume.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts\"\n }" ], "demotionRule": "Demote or quarantine if the Electron oracle flakes without a product bug or harness bug filed to terminal-rendering." }, @@ -8560,15 +8247,15 @@ ], "platforms": ["macos", "linux", "windows"], "providers": ["paired-runtime", "ssh"], - "coveredPlatforms": ["macos", "linux"], + "coveredPlatforms": ["macos"], "coveredProviders": [], - "coverageNotes": "Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. The direct side-effect-facts selector retains six cases: replay exclusion, live sequence handling, stale disposer ownership, one handoff drain, drain-before-snapshot, and stale replacement-snapshot refusal. Successful current-entry snapshot application is not witnessed by the retained snapshot case. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2162: Reduced inventory-authority source intentionally loses the examples recorded in knownGaps; historical execution is not validation of changed bytes. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2003: Remove SSH/absent-inventory attach refusal, later-subscriber retry, no-view adoption/takeback, provider-tail/unknown-read projections, failed-keystroke retry and simpler loss reattach examples. Keep the existing-subscriber inventory-ready retry alias only at its retained callback, plus retained held-input cancellation/replacement and overlapping attach/loss fences. The inventory driver also loses the whole empty-worktree-publication registration and folder-host/unverifiable scalar examples. Retire the entire dated10-case attach receipt; retain16 independent receipts only in their original scopes. No retained-memory or real-daemon measurement follows from supplied provider inventories. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1991: Remove initial-snapshot sequence-domain, limited-tail/truncation and unknown-output-sequence aliases whose callbacks are removed. The source retains partial-chunk replay and requested-snapshot retry/admission at supplied snapshot/data seams, not equivalent replacement or measured retained-memory proof. Preserve the existing stream/pending-wait capacity aliases only to their retained owning multiplex callbacks with supplied PTY resolutions. Removing the sibling-PTY heartbeat dedup work-count sample does not establish a new decorative fanout budget; the unrelated-PTY cancellation fence survives. Preserve17 unrelated dated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Remove the reasonless-close selector and narrow census aliases to actual retained runtime and injected-inventory callbacks. The removed synthetic census-dedup and isolated pre-boundary timing cases receive no replacement credit; preserve17 unrelated dated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1939 (sources1934/1935): Delete the synthetic watcher-synchronization and partial-reconciliation suites. Retire all affected host-fact, capability-owner, activation-residue and retention-cap aliases because the remaining callbacks do not establish those full claims. Keep exact local hook/timer, byte-stream side effects, exit/disposal, scroll-intent cleanup and deterministic local rank/TTL progression callbacks within their mocked-host scope. No physical paired-host retention, resource budget or equivalent replacement evidence is assigned. The generic broad test command remains a runnable discovery command, never a dated execution receipt. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Delete the complete hook-agent-status projection suite and its two behavioral assertion aliases. Supplied stored hook/title/resume/staleness/rename/question/generation/PTY-retirement/snapshot-version projections are intentionally lost. The separate osc-status-scan gate mentions this source only in existing historical notes and receives no mutation. No measured hidden-output retention, CPU/RSS or resource budget result is claimed by the deleted source or this audit. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Module ownership cleanup retires the modeled cold-park private watcher/render/work-count suites under the current test policy. Their assertions are no longer active evidence. Retained lifecycle tests and headed/headless journeys do not establish equivalent coverage for those removed harness alarms. Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1634 removes low-value IPC, filesystem and runtime projections, argument inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained cancellation, ownership, authorization, filesystem and SQLite boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1627 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally deletes src/renderer/src/components/terminal-pane/pty-connection-hidden-tui-snapshot-replay.spec.ts: Loses rich hidden snapshot sequence replay/grid resize and forced repaint after hidden snapshot alarms, including live-trigger deduplication. deletes src/renderer/src/components/terminal-pane/terminal-cold-park-verdict-loop.test.tsx: Loses modeled React oscillation alarm; real pane/watchers are not exercised. deletes src/renderer/src/runtime/remote-runtime-terminal-parse-backpressure.test.ts: Loses delayed credit until parsing, malformed frame/unknown stream handling, discarded transformed output recovery and failed ACK rearm alarms. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1412 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): This audit removes the browser response-after-manual-disconnect example. Its distinct in-flight response fencing alarm is lost; retained queued-call disconnect tests are not an equivalent replacement. Historical commands and results remain historical. Deterministic headed macOS runs launch an isolated Orca desktop server and a separate paired web client. A byte-identical headless run uses an isolated `orca serve` host. Both create six real paired host PTYs with bounded high-output scrollback, prove sustained output while all six client xterms are warm-mounted but hidden causes zero renderer scheduler work, then drive 180 timed real-PTY spinner frames through a second production `session.tabs.subscribeAll` transport and the real Zustand store. Each worktree must publish and apply only its exact initial-working and final-idle titles. Both topologies ordinary-park five xterms without enabling the lossy retention budget, assert bounded cells/heap/timer lag, then restore the bounded authoritative tail exactly once on the original PTY including output produced while parked and continued input/output. The headed oracle additionally keeps every remote target workspace and terminal unmounted in the host renderer before and after client recovery. Production-parity React contracts reproduce and remove the independent cold-park watcher/title feedback loop, including memo-cache discard, StrictMode cleanup replay, detached split-PTY replacement, and the zero-park fast path. A deterministic cross-boundary contract drives 24 real PTY trackers in distinct worktrees through 2,880 decorative spinner and bare-native redraw chunks and counts host publications, serialized bytes, renderer apply calls, and store mutations while preserving exact per-PTY raw chunks and per-worktree semantic transitions. Fake-clock continuation beyond the 30-minute stale boundary requires one deduplicated refresh per worktree every 15 minutes, globally spaced by at least 50 ms, with every mirrored working status still fresh. Exact-identical Pi plus rotating normalized Pi/Grok frames renew coarse working/permission state; rich prompt/tool/question fields retain their original 30-minute lease, and `stateStartedAt`/acknowledgement identity remain stable across title/hook source swaps. A separate headed desktop-client journey relaunches the host main process while retaining the daemon and a daemon-backgrounded PTY, then requires first-observation foreground sync and continued input/output on the same PTY. Unit coverage keeps layout versions out of snapshot output high-waters when a restored snapshot has no output sequence and retries an existing subscriber only after authoritative provider inventory proves the retained PTY exists. Separate headed/headless ACK-starvation tests recover one stalled stream without replacing its PTY. A headed output-drop oracle proves a successful snapshot probe cannot certify a stale live stream when the authoritative PTY sequence advanced beyond the client high-water. Unit coverage requires an unsequenced client to establish a first-probe baseline, remain attached at the same sequence, and recover only after a later probe advances. A capability-disabled run proves legacy hosts retain the prior lossy limit/TTL fallback. Unit tests cover exact-owner capability routing, raw-stream release, singleton side-effect facts with timed handoff cleanup, 64 simultaneous synthetic-title sources with zero decorative client events after convergence, per-client late-subscribe recovery, semantic bell/title transitions, local animation-frame preservation, legacy no-output-pause delivery gating with exact snapshot restore, provider-authoritative snapshots, 128 active streams plus retry after a 129th-stream capacity rejection, capacity-pressure backoff, full split-leaf remint reconciliation, truncation, and manual-disconnect queue fencing. Linux, Windows, live SSH, and production-scale paired hosts remain gaps. The audit removed the E2E parking override/debug-handle suite. Override exposure guards, delay/retention independence, TTL filtering and debug-handle forwarding alarms are lost. Retained real parking journeys do not establish equivalent test-harness configuration coverage. The test-value audit removes separate responsive-stream, intervening-control-frame and capacity-error classification examples. Retained multiplexer checks use fake clocks and captured transport callbacks; their per-stream isolation, deadline and probe-baseline assertions do not prove an actual host restart or equivalent replacement coverage. Historical run commands and results remain historical. The test-value audit removes the standalone retained/live metadata projection and additive-preference negative example from runtime-client-events.test.ts. Its remaining case checks partial-authority event admission through a captured callback; it does not establish full-pair projection, actual peer delivery or equivalent replacement coverage. Historical commands and results remain historical. The isolated accepted-handle-events observer suite is removed. Its runtime/worktree/pane membership, once-only delivery and listener-release ledger alarms are lost. Live hidden-retention evidence does not establish equivalent observer coverage. Audit1292: The entire host-session mirror empty-inventory settle suite is removed. Live-unpublished versus genuinely-empty hydration, same-ID revision response/in-flight fencing and cleared-tracking pending-probe invalidation alarms are lost. The singleton store and inventories were mocked; no real host census or resume delivery or equivalent replacement coverage is claimed. Audit1302: src/main/runtime/session-tabs-inventory-publication.test.ts: Keep actual runtime public inventory authority across renderer epochs/resync, fallback, aborts and invalid graph publishers. Remove copied nonempty publication, private scan counters/collector and known-host replacement, fake refresh that performs the restoration itself, environment capability flag, and private resume-store characterization whose fixture supplies reservation/rollback ordering. Lose isolated refresh/churn/receiver/capability and copied-payload wiring alarms; no equivalent replacement. Reduced selectors require fresh validation; prior full-suite receipts do not validate removed or changed coverage. No equivalent replacement or physical-provider claim. Audit1312 removes low-value imported specs from aggregate test drivers; old whole-driver execution receipts are archived. Retained registrations are unchanged. No equivalent replacement coverage is claimed. Audit1318: src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts: Retain real local encrypted WebSocket regressions for pre-ready socket replacement preserving a request, close-before-ready logical subscription cleanup, unrelated RPC surviving another deadline, and pending setup abort leaving a sibling pending. Host server is synthetic and uses production crypto; kept scenarios also retain internal diagnostics/memory assertions unchanged. Remove happy routing, authority-envelope, unknown-ID/log, cleanup enum, binary, keepalive/liveness and production-budget/private socket inventories; intentionally lose those alarms, no physical host authorization, independent crypto or remote provider claim. Reduced selectors need fresh validation; historical full-suite receipts do not validate the changed coverage. No equivalent replacement or physical-provider claim. Audit1346 removes the entire private-state-injected session-tabs rich-status boundary suite. Its stale task/question, neutral-title preservation, owner-change and provider-generation alarms are intentionally lost. Retained real terminal journeys do not establish equivalent replacement coverage. The prior mixed 42-contract execution receipt is historical and must not validate the reduced current selector; fresh validation remains required. Audit1352: focused Linux unit selections validated on source head b638e07d395b76af3ba6b03761a1a0fe7e5e026e. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1360: focused Linux unit selections validated on source head 415c9cffc2d10024131ec4b6721767a22195de6d. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1391: src/renderer/src/components/terminal-pane/pty-connection-remote-pause-drop-notice.spec.ts reduced. Lose repeated quiet switches avoiding snapshots and legacy host without drop-report capability requesting a snapshot. Retained imported registrar uses fake transport/xterm writes, exercising real gap/restore lifecycle rather than actual terminal rendering. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1396: src/renderer/src/components/terminal-pane/terminal-parked-watcher-reconciliation.test.ts reduced. Retire standalone reconcile set output and positive untouchedFreshSpawn/workspaceOwner copying alarms; no native watcher execution claim. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1402: src/renderer/src/components/terminal-pane/pty-connection-park-reveal-model-snapshot.spec.ts reduced. Loses basic paired serialize/initial replay forwarding check; hidden alt-frame grid/precedence policy remains. No real terminal renderer claim. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1412: src/main/runtime/mobile-session-tabs-agent-status-heartbeat.test.ts reduced. Loses FIFO fairness/spacing, semantic bypass/cancellation, delayed-boundary scheduling and teardown timer-cleanup alarms. Retained fixed emission cases do not replace those outcomes. No equivalent replacement coverage is claimed.", + "coverageNotes": "Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. The decorative fanout suite retains only real OSC9999 ingestion through runtime/title heartbeat/viewer past the stale boundary, preserving stateStartedAt and clearing expired prompt metadata. Spinner volume/zero-work inventories, Pi/Grok frame tables, rich-status and foreground-reset examples are retired. Existing receipts for separate paired-terminal sources retain their original scopes. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3342 removes three supplied activation/inventory fallback and same-handle retry examples; their fallback/retry alarms are intentionally lost without equivalent replacement. The exact mounted-HUB pending old-stream-end versus replacement-snapshot registration and its assertion remain. Unrelated dated macOS receipts retain only their original scope; no fresh runtime, provider, performance, mobile, mixed-version or cross-platform validation is claimed. NEXT46 terminal-owner layout and whole-case policy: src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts, src/renderer/src/runtime/hosted-terminals/streams/remote-runtime-terminal-stall-recovery.test.ts. Complete retired/reduced selectors lose their listed alarms; retained cases have no transferred historical pass or equivalent replacement coverage. Unaffected dated receipts retain only their original exact scopes. This metadata edit is not fresh execution evidence. Historical prior account (preserved verbatim): Audit3326 adopts reconciled source audit3324 and intentionally retires these low-value examples and their regression alarms: restarts only the stream whose renderer delivery credit never settles — An unreturned renderer delivery credit stalls only its stream, leaving healthy sibling/shared transport alive. Fake-clock deadline plus real multiplexer unsubscribe isolates recovery ownership.; probes then restarts a stream when an entered command receives no frames — Entered command produces no output; actual multiplexer must probe then close only its stalled stream after probe timeout. Distinct response liveness from parser credit.; establishes a probe baseline before recovering an unsequenced stream — 142-line manual five-probe baseline/regression sequence derives request IDs from encoded mock traffic and checks repeated no-close/close choreography. Oversized algorithm/state-machine example; no actual renderer/host command or recovery delivery. Retires unsequenced/unchanged/regressed baseline classification alarms.. Retained tests do not replace these alarms. Dated unrelated evidence remains scoped to its original execution; no historical source/import-closure equivalence, fresh execution, real network/provider/SSH, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Audit 3318 reduces remote-runtime-pty-transport-unpublished-host-graph.test.ts, retiring its direct published-empty-graph omission-to-pane-exit alarm. The unchanged bounded unpublished-frame/pushed-recovery and stale-handle park/manual-retry cases are narrower, not equivalent replacements. Both complete three-case Linux receipts dated 2026-11-04 are archived as historical, including source heads; they do not validate this reduced selector. Remaining fourteen active receipts are macOS only. No fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit 3318 composes adopted sources 3310, 3313 and 3317: intentionally retires 71 authored declarations and 102 expanded cases, including whole terminal-detach agent-retention, seeded batch/single open-files equivalence, shallow context-menu shortcut-badge, mocked active-workspace delete-dispatch, workspace session hydration, SSH target cleanup, editor session hydration and worktree terminal purge suites. Lost alarms include chained transfer alias and immediate close/exit retention; batch/single divergence, survivor/selection/map preservation and input nonmutation across 400 imperative seeds (one registered case); disconnected pending-handle retry, authoritative absences/close-record shortcut/older-host absence and published-presence/unpublished-frame examples; published empty host-graph omission to pane exit; legacy search ranking/exclusion fallback; provider request upgrade/dedupe/finalizer ownership; asynchronous PR suppression/primary-change and same-number different-repository URL rejection. Deletion routing loses host/instance qualification, paired and legacy mapping, folder ownership, active-versus-hover/menu-row selection, ambiguity, modal/editable/creation/view/main/deleting/missing guards and shortcut advertisement. Unchanged real keyboard/hover/confirmation/catalog E2E remains narrower, not an equivalent replacement. Additional losses include scripted old-host disk/UTF-8/noop/baseline and landed/unlanded lost-reply/replacement-retry outcomes; ordinary/repeated healthy-link reattach; cross-owner terminal/chat binding; oversized replay permanent-unavailable classification; floating reveal keyboard ownership/close/disable/listener disposal; naming/retained-turn/Sleep/error/close/reject status tables; SSH membership prune/new-target-only reads and environment/local bucket isolation; same-frame receipt capacity and positive bare/headless publisher readmission. These actual regression alarms are deliberately lost; no fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit 3312 composes adopted sources 3302 and 3308: deliberately retires 33 authored declarations and 36 expanded cases, including the whole backend startup-focus, active-browser IPC-close-routing, remote-browser-creation and agent-terminal-presence suites. Intentionally lost alarms cover distinct six-pane reconnect handles; SSH host label/Connect callback, unhydrated visit cleanup, repo cache aliases and hidden worktree/tab/PTY cleanup; adopted-agent startup focus and viewer navigation/reuse; staged, pageless, source, stale and orphan browser-close routing; web local-materialization refusal, desktop incapable-host fallback, failed/thrown remote creation and paired-web sign-in refusal; BOM/NUL and remote/local custom-editor byte-read examples; immediate folder activation and unread clearing; and batching idle/coalescing, accumulated byte ceiling, leading-edge-disabled, standalone synchronous oversize rejection, validation yield, deferred pending-tail order and both viewport-clear examples. The newly reintroduced agent-terminal-presence suite also loses actual terminal-status membership positive and nonterminal-status callback suppression alarms, including the recent 40916 guard regression; the older different 2133 presence-suite history remains historical and receives zero duplicate removal credit. These real regression alarms are intentionally lost. The unchanged survivors provide narrower coverage, with no equivalent replacement or fresh gate, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation claimed. Audit 3301 combines adopted source batches 3296 and 3299: retire 27 authored declarations and 36 expanded scenarios, including six whole suites. Intentionally lost alarms cover failed-verification/recovery/restart counters and mocked hosting/toast; early overlapping pane-read scheduling/count; unreadable removal listing draft guard; bulk-purge remote-qualified and raw-local guard maps; initial-snapshot blank/mode/oversize/printable/fresh-spawn callback and replay examples; fallback mobile file close and ordinary MRU; default queue overload/drain; seeded browser-page reuse and supplied missing-page URL recreation; ambiguous sleep/hibernation owner refusal and untouched bindings/origins; ordinary selection/activity/fallback priority; skip-remote success and retained hints; supplied structured-chat unsent retention and scoped removal draft eviction; caller-chat focus precedence; open/draft PR cache eviction and merged-head fallback result inventories. Retained adverse-ordering and ownership cases are narrower and do not establish equivalent replacements. No fresh runtime, native, physical provider, cross-platform, mobile or mixed-version evidence is claimed. Audit 3292 combines adopted 3285/3287/3289/3293 removals: 40 authored declarations and 47 expanded scenarios, including whole frame-editor-view, ambiguous remote-delete-refusal, unverifiable-host subscription and editor-close cleanup suites. The previously reviewed dock-badge suite was already removed upstream in PR 40895 and receives zero new removal credit. Intentionally retired alarms include background browser selection and last-tab landing; main startup fallback, SSH project cleanup/survivor routing, exact-PR contradiction/saved-push positives, replay/sidecar rollback and wrapped remote error normalization; records/snapshot missing-diff hydration, ambiguous folder-owner delete refusal, focus no-op notifications, nested editor context-only cache check, pending broadcast-first status and ordinary four-confirmation aggregation; preview-source frontmatter pruning, approved local/runtime agent dispatch, non-GitHub legacy PR cache invalidation, stale merged-head transient-error fallback, empty-queue immediate query reply and unverified-to-concrete preflight risk. Additional intentionally retired alarms are injected host subscription/unsubscribe counts, synthetic editor reveal/draft/fallback/scoped close, ambiguous unread refusals and hidden mark/read roundtrip, immediate connect backoff/noError, positive mirrored evidence-clock renewal, supplied VM failure/success projections and git-local/folder-SSH wake permutations. Remaining temporal/ownership cases are narrower; no equivalent replacement or fresh execution is claimed. Audit 3283 removes 20 authored declarations and 31 expanded scenarios, including two whole suites. Retired alarms cover PR refresh-state pruning, shared runtime subscription cleanup and store isolation, language content-change routing and older completion ownership, ordinary panel retry-timer cleanup and pending loading, four hosted-review lifetime permutations, mocked terminal creation error/order wiring, five sleep-inventory variants with pending-frame-only assertions, palette fallback/composite highlights, Windows/UNC encoded-editor input rows, mixed-repository partial failure counts, title setters and generated-title bypass/replacement, five window-close coordinator delegation/guard/finally branches, and ambiguous-old-record frame reveal. These regression checks are intentionally lost under the test-value audit; retained cases are not equivalent replacements. Prior coverage notes and receipts remain historical. Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims. Audit 3256 removes these specific alarms from the broad root unit commands: skill dialog active-share selection, close and pending-share handoff; simple keyed-record deletion; marker live-region insertion, simple landing and nine baseline policy examples; General search/control navigation inventory; orphan-count cache bootstrap; seven Codex code classifications and HTTP 429 warning mapping; two skill unread-root verdict examples; peer-mail payload and conversation-ID rejection; and the GitHub organization TABLE text-field optimistic rollback/failed-envelope example. These include real behaviors; retained tests do not provide equivalent coverage for every removed scenario. Mobile losses are recorded separately and are not coverage of these root commands. Audit3246 retires NewRowsMarker reveal/no-repeat and pane-scoped beforeinput checks; skill-owner option availability/count/dedup/order; six styled Input/Textarea IME forwarding rows; the static Codex/OpenCode smart-key inventory; tab-map AST ratchet diagnostic fixtures; child-roster work-budget and retained-aggregate alarms; malformed persisted floating-cwd fallback/no-crash/empty exact-root checks; the unanswered-host empty-list discriminator; the direct invalidated-cache commit-false assertion; one redundant digit-keyup IME row; cached non-supported Claude title-generator rows; and the duplicate late naming-result singleton. These root broad commands lose those specific alarms without equivalent replacement. Distinct retained owner/state checks have their own bounded claims; the real scheduler still rejects stale response data, while the direct false-return alarm is retired. Audit3231 retires supported-host restore-pane key mapping, closed/open creation-sidebar toggle visibility, unrelated scope-error/null classification and quick-submit reveal/no-create checks. These broad commands lose those real narrow alarms; no replacement coverage is claimed. Audit3219 removes the synthetic Cmd+J extra-source suite; this broad command no longer checks its match/tie placement and selection, announced count, empty-query cap, or workspace hiding with retained recent tabs. No replacement coverage is claimed. Audit3209 composes approved sources3202/3206: deliberately retires seven authored/expanded cases in four whole suites without equivalent replacement. Work-item queries lose real GitHub/GitLab oversized ASCII secret-prefix empty-query and whitespace-before-trim refusal alarms; inputs share the imported size bound and exercise only its fast length branch, with no multibyte or actual provider/exposure guarantee. Skill sharing loses complete/partial managed-bundle and destination-ambiguity association checks plus three negative origin/path/scheme admission examples; these do not establish uploaded contents, arbitrary-URL fetching, authorization or execution. Retain exact originless-project direct-link fallback, cloud-delete confirmation, bundled-target repair/owner isolation and explicit Windows-host preference over stale WSL suites. Rejected3201 runtime-preference removal is excluded. No real cloud/network/host/disk, mobile or mixed-version execution validation is claimed. Audit3200 composes approved source3194: deliberately retires thirteen authored registrations/twenty-seven expanded cases in six whole automation host/list policy suites without equivalent replacement. Real RPC category/retryability and wrapped-timeout recognition, unscoped-failure/scoped-success health evidence precedence, exact-ID create selectors and per-run workspace omission, paired-web local/SSH/absent host catalog routing, incompatible/removed/unhydrated/offline execution health, runtime-before-nested-SSH recovery dispatch, and no-owned-focus/successor/foreign-list focus policy alarms are consciously lost. Retain exact20line orphan allow/refuse/precondition and exact90line cross-host same-ID search suites. No retry-timer/fence lifecycle, actual reconnect/network/write delivery, native focus, mobile/mixed-version runtime or disk persistence coverage is claimed. Audit3191 combines approved source3182/3187/3188: deliberately retires thirteen authored Vitest registrations and fifteen expanded cases, including five whole suites, without equivalent replacement. Attachment intake loses real portal/native-capture terminal interception and unowned-container refusal, immediate child-only committed availability/claim-ref negotiation and delivery, and direct-target over stable focused/background composer routing through disable/re-enable/remount and independent question focus. Exact destination/cache/draft and final-stat owner/workspace/File-release suites remain; they do not replace Surface recipient routing. Automation authoring loses destination runtime catalog membership, local/direct-SSH exclusion of paired-runtime repos, unknown-runtime empty catalog, logical project/host/setup/repo/path context payload, and missing/nonready setup refusal; these were genuine direct helper alarms, while exact schedule transformation, legacy schedule and setup-decision suites remain. Agent picker loses setup-chat/terminal/missing-installer/unsupported-or-unknown-host row projection samples and the ordinary unsearched menu variant; the entire original26-line resume recipe suite remains, including reported bypass versus default/absent permission modes, as does the exact search-result menu callback with its fixtures, model/effort commits and staged Arguments reopen outcome. Rejected predecessor3180 full recipe deletion is excluded. No actual native drag/cursor/focus/IME, upload bytes or disk/restart persistence, full automation save/scheduler/runtime transport, real resume-process flags/environment delivery, or native menu/rendered layout validation is claimed. Audit3178 combines source3169/3170/3175: deliberately retires eight authored units (six Vitest cases and two imperative custom relay scenarios), including two whole suites, without equivalent replacement. Voice Section loses per-model pending-delete isolation across interleaved A/B completion and the two-success refresh-call alarm; exact VoicePane delayed key-clear/newer enabled-toggle merge remains and does not replace row deletion coverage. Speech loses dedicated rating-scale/inclusive-ceiling, unsupported-versus-unmeasured, explicit/system-language precedence/locale alias, accuracy versus fast named/default/best-measured selection, and unmeasured/no-match examples; exact offered-user-pick versus retired-selection case and its fixture remain. Relay loses legacy ping-delivery count/liveness sampled before the silence deadline and grouped malformed Bearer/host-ID 401/429 routing checks; twelve real Worker/DurableObject/shipped-client scenarios remain, not equivalent replacement for those narrow alarms. Six prior speech cases are not all deleted: approved successor3175 keeps the original user-choice case. No actual credential/file persistence, native/GPU/engine/download delivery, production assignment policy or deployed-runtime validation is claimed by this reduction. Audit3165 combines source3160/3162: deliberately retires six authored/expanded cases across three whole suites without equivalent replacement. Launch/status losses: observed React-render pending/resuming coordination across settings and deferred offer read; stale-offer reread suppressing dialog reopen; held-local-chat recovery visibility with new-chat preferences off; disabled-local admission avoiding offer RPC despite an injected but unconsumed paired-tab fixture; and run-only lost-reply uncertainty reachability until direct viewed-run retirement. Launch probe does not prove arbitrary synchronous-store atomicity, the paired fixture is not remote runtime enrollment, and the status case directly marks viewed state rather than rendering the summary. Crew-hook losses: old-host method_not_found cache persists across party changes but is released by independently supplied connection generation/verified pairing status or pairing revision, with actual frame publication and teardown. These are real narrow coordination, admission, uncertainty and mixed-version cache alarms consciously lost. Exact web verified-runtime writer handoff guard remains; it does not replace those alarms or prove live host/native/mobile delivery. Audit3156 combines3147/3150/3152/3153/3154: deliberately retires39authored/40expanded native-chat recovery cases, eight whole suites and two orphan test-support files without equivalent replacement. Lost alarms: lost-reply unconfirmed reconciliation, skipped rows/counts and missed-frame repair, unknown/pending outcome and omitted-failure-list compatibility, uncertain history after dismissal, retry/refusal/dismiss lifecycle, hidden/consumed picker ownership, result-tree keyboard focus/disclosure and all-skipped retirement; unconfirmed-over-conflict guidance and failed-chat changes despite older host timestamps; nearest-listed ancestor/cyclic forest shape, descendant membership, host ordering/missing-host local fallback; skipped/readiness/admission counts, provisional skip/progress monotonicity, early per-chat verdicts with batch pending protection, older-host waiting, start-slot/delivery distinction, retry-over-failure and unknown-after-withdrawal attention; remote snooze/reconnect/reoffer, unseen mixed summary through open/close, watched completion retirement, new success beside old failure, failed-reread mixed-result preservation, filter/collapse completion resets, retry summary replacement and current-offer/history selection; cross-host workspace identity, rendered cyclic reachability, nested tri-state/toggle propagation, project eligibility isolation and collapse preserving selection. Exact fallback-list completion barrier, batched verdict/cleanup retention, stale-read versus dismissal publication race, and requested-but-never-rendered finished-run retirement remain; they do not replace retired alarms. Audit3146 combines source reviews3132/3133/3135/3138/3143: intentionally retire20authored/31expanded cases without equivalent replacement. Provider-session losses: structured-native terminal-resume exclusion, metadata-less completed identity, new-turn completion clearing, Pi provider-only/periodic/manual promotion, changed-transcript launch-config isolation, Pi/omp/prime-agent completed-session remote/manual-shutdown promotion, and quit/done precedence over heartbeat. Side-thread/question losses: finished-pane acquisition, hidden title/recap states, local/relay/relay-done conversation takeover with prompt/session/child resets, plain-message abandonment, compaction/session replacement and completion resets. Codex startup losses: incoming-owner cached child replacement, old-relay foreign live-session correction, completed foreign-root turn-fact permutations. Transcript losses: real temporary-JSONL partial sibling/final-child completion, unlabelled child attribution, compact cached replay preservation and100/1000completed-child roster retention/release. Compiler-ratchet losses: valid-line uncompiled-list parser grammar examples and injected-existence stale-path filtering; these did not exercise actual filesystem canonicalization or build exclusion. These are real lifecycle, ownership, replay, liveness and retention alarms, including recent#40246 regressions, deliberately lost. Retained conditional record replacement, clockless root/SSH owner isolation, persisted main-thread fork rejection, partial/final question-answer lifetime, cached-roster/missing-ID/live HTTP/durable startup boundaries and restarted-relay refusal/acceptance do not replace those losses. No native/SSH/WSL execution or equivalent coverage is claimed. Audit3128 scoped coverage reduction: Audit3121 removes VoiceDictationLanguageSetting.test.tsx (Spanish-to-es callback and unsupported-model Korean option presence) and voice-speech-model-rows.test.ts (provider/language-order/retired-on-disk list policy); these real narrow alarms are deliberately retired without replacement. VoiceSpeechModelSection per-model concurrent deletion remains unchanged. Audit3122 removes the direct absolute/parent-segment sparse-directory exception-type sample and the five-row IPC sparse-preset error-code/non-save table (two authored/six expanded cases). Those real typed-validation and IPC refusal/error-code alarms are deliberately retired. Keep both real symlink/junction floating-directory trust cases and the minimal RPC structured validation-reason serialization case. The RPC case does not replace IPC save/refusal behavior, typed normalization for both path inputs, actual Git sparse checkout or rendered localization. No equivalent replacement or fresh test/runtime/platform/remote/performance validation is claimed. Audit3124 removes ExperimentalPane.test.tsx (ordinary Pet switch callback), WorkspaceDirectorySetting.test.tsx (padded absolute saved-path normalization/no-write blur), and repository-search.perf.test.ts (navigation/selected-pane builder-call policy, fixture cardinality/nonempty entries and renamed project keyword inclusion). These real narrow alarms are retired without replacement; RepositoryPane.search.test.tsx search-to-sparse-editor request remains unchanged. Audit3129: resolver Windows case-insensitive and POSIX case-sensitive configured-env composition plus mocked-base launch-preflight Windows composition are intentionally no longer checked by the two deleted suites. No equivalent coverage claimed. Keep runtime-structured-agent-host-env.test.ts unchanged: configured Windows Claude-home account identity and host-account precedence remain checked. Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. The direct side-effect-facts selector retains six cases: replay exclusion, live sequence handling, stale disposer ownership, one handoff drain, drain-before-snapshot, and stale replacement-snapshot refusal. Successful current-entry snapshot application is not witnessed by the retained snapshot case. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2162: Reduced inventory-authority source intentionally loses the examples recorded in knownGaps; historical execution is not validation of changed bytes. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2003: Remove SSH/absent-inventory attach refusal, later-subscriber retry, no-view adoption/takeback, provider-tail/unknown-read projections, failed-keystroke retry and simpler loss reattach examples. Keep the existing-subscriber inventory-ready retry alias only at its retained callback, plus retained held-input cancellation/replacement and overlapping attach/loss fences. The inventory driver also loses the whole empty-worktree-publication registration and folder-host/unverifiable scalar examples. Retire the entire dated10-case attach receipt; retain16 independent receipts only in their original scopes. No retained-memory or real-daemon measurement follows from supplied provider inventories. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1991: Remove initial-snapshot sequence-domain, limited-tail/truncation and unknown-output-sequence aliases whose callbacks are removed. The source retains partial-chunk replay and requested-snapshot retry/admission at supplied snapshot/data seams, not equivalent replacement or measured retained-memory proof. Preserve the existing stream/pending-wait capacity aliases only to their retained owning multiplex callbacks with supplied PTY resolutions. Removing the sibling-PTY heartbeat dedup work-count sample does not establish a new decorative fanout budget; the unrelated-PTY cancellation fence survives. Preserve17 unrelated dated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Remove the reasonless-close selector and narrow census aliases to actual retained runtime and injected-inventory callbacks. The removed synthetic census-dedup and isolated pre-boundary timing cases receive no replacement credit; preserve17 unrelated dated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1939 (sources1934/1935): Delete the synthetic watcher-synchronization and partial-reconciliation suites. Retire all affected host-fact, capability-owner, activation-residue and retention-cap aliases because the remaining callbacks do not establish those full claims. Keep exact local hook/timer, byte-stream side effects, exit/disposal, scroll-intent cleanup and deterministic local rank/TTL progression callbacks within their mocked-host scope. No physical paired-host retention, resource budget or equivalent replacement evidence is assigned. The generic broad test command remains a runnable discovery command, never a dated execution receipt. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Delete the complete hook-agent-status projection suite and its two behavioral assertion aliases. Supplied stored hook/title/resume/staleness/rename/question/generation/PTY-retirement/snapshot-version projections are intentionally lost. The separate osc-status-scan gate mentions this source only in existing historical notes and receives no mutation. No measured hidden-output retention, CPU/RSS or resource budget result is claimed by the deleted source or this audit. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Module ownership cleanup retires the modeled cold-park private watcher/render/work-count suites under the current test policy. Their assertions are no longer active evidence. Retained lifecycle tests and headed/headless journeys do not establish equivalent coverage for those removed harness alarms. Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1634 removes low-value IPC, filesystem and runtime projections, argument inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained cancellation, ownership, authorization, filesystem and SQLite boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1627 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally deletes src/renderer/src/components/terminal-pane/pty-connection-hidden-tui-snapshot-replay.spec.ts: Loses rich hidden snapshot sequence replay/grid resize and forced repaint after hidden snapshot alarms, including live-trigger deduplication. deletes src/renderer/src/components/terminal-pane/terminal-cold-park-verdict-loop.test.tsx: Loses modeled React oscillation alarm; real pane/watchers are not exercised. deletes src/renderer/src/runtime/remote-runtime-terminal-parse-backpressure.test.ts: Loses delayed credit until parsing, malformed frame/unknown stream handling, discarded transformed output recovery and failed ACK rearm alarms. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1412 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): This audit removes the browser response-after-manual-disconnect example. Its distinct in-flight response fencing alarm is lost; retained queued-call disconnect tests are not an equivalent replacement. Historical commands and results remain historical. Deterministic headed macOS runs launch an isolated Orca desktop server and a separate paired web client. A byte-identical headless run uses an isolated `orca serve` host. Both create six real paired host PTYs with bounded high-output scrollback, prove sustained output while all six client xterms are warm-mounted but hidden causes zero renderer scheduler work, then drive 180 timed real-PTY spinner frames through a second production `session.tabs.subscribeAll` transport and the real Zustand store. Each worktree must publish and apply only its exact initial-working and final-idle titles. Both topologies ordinary-park five xterms without enabling the lossy retention budget, assert bounded cells/heap/timer lag, then restore the bounded authoritative tail exactly once on the original PTY including output produced while parked and continued input/output. The headed oracle additionally keeps every remote target workspace and terminal unmounted in the host renderer before and after client recovery. Production-parity React contracts reproduce and remove the independent cold-park watcher/title feedback loop, including memo-cache discard, StrictMode cleanup replay, detached split-PTY replacement, and the zero-park fast path. A deterministic cross-boundary contract drives 24 real PTY trackers in distinct worktrees through 2,880 decorative spinner and bare-native redraw chunks and counts host publications, serialized bytes, renderer apply calls, and store mutations while preserving exact per-PTY raw chunks and per-worktree semantic transitions. Fake-clock continuation beyond the 30-minute stale boundary requires one deduplicated refresh per worktree every 15 minutes, globally spaced by at least 50 ms, with every mirrored working status still fresh. Exact-identical Pi plus rotating normalized Pi/Grok frames renew coarse working/permission state; rich prompt/tool/question fields retain their original 30-minute lease, and `stateStartedAt`/acknowledgement identity remain stable across title/hook source swaps. A separate headed desktop-client journey relaunches the host main process while retaining the daemon and a daemon-backgrounded PTY, then requires first-observation foreground sync and continued input/output on the same PTY. Unit coverage keeps layout versions out of snapshot output high-waters when a restored snapshot has no output sequence and retries an existing subscriber only after authoritative provider inventory proves the retained PTY exists. Separate headed/headless ACK-starvation tests recover one stalled stream without replacing its PTY. A headed output-drop oracle proves a successful snapshot probe cannot certify a stale live stream when the authoritative PTY sequence advanced beyond the client high-water. Unit coverage requires an unsequenced client to establish a first-probe baseline, remain attached at the same sequence, and recover only after a later probe advances. A capability-disabled run proves legacy hosts retain the prior lossy limit/TTL fallback. Unit tests cover exact-owner capability routing, raw-stream release, singleton side-effect facts with timed handoff cleanup, 64 simultaneous synthetic-title sources with zero decorative client events after convergence, per-client late-subscribe recovery, semantic bell/title transitions, local animation-frame preservation, legacy no-output-pause delivery gating with exact snapshot restore, provider-authoritative snapshots, 128 active streams plus retry after a 129th-stream capacity rejection, capacity-pressure backoff, full split-leaf remint reconciliation, truncation, and manual-disconnect queue fencing. Linux, Windows, live SSH, and production-scale paired hosts remain gaps. The audit removed the E2E parking override/debug-handle suite. Override exposure guards, delay/retention independence, TTL filtering and debug-handle forwarding alarms are lost. Retained real parking journeys do not establish equivalent test-harness configuration coverage. The test-value audit removes separate responsive-stream, intervening-control-frame and capacity-error classification examples. Retained multiplexer checks use fake clocks and captured transport callbacks; their per-stream isolation, deadline and probe-baseline assertions do not prove an actual host restart or equivalent replacement coverage. Historical run commands and results remain historical. The test-value audit removes the standalone retained/live metadata projection and additive-preference negative example from runtime-client-events.test.ts. Its remaining case checks partial-authority event admission through a captured callback; it does not establish full-pair projection, actual peer delivery or equivalent replacement coverage. Historical commands and results remain historical. The isolated accepted-handle-events observer suite is removed. Its runtime/worktree/pane membership, once-only delivery and listener-release ledger alarms are lost. Live hidden-retention evidence does not establish equivalent observer coverage. Audit1292: The entire host-session mirror empty-inventory settle suite is removed. Live-unpublished versus genuinely-empty hydration, same-ID revision response/in-flight fencing and cleared-tracking pending-probe invalidation alarms are lost. The singleton store and inventories were mocked; no real host census or resume delivery or equivalent replacement coverage is claimed. Audit1302: src/main/runtime/session-tabs-inventory-publication.test.ts: Keep actual runtime public inventory authority across renderer epochs/resync, fallback, aborts and invalid graph publishers. Remove copied nonempty publication, private scan counters/collector and known-host replacement, fake refresh that performs the restoration itself, environment capability flag, and private resume-store characterization whose fixture supplies reservation/rollback ordering. Lose isolated refresh/churn/receiver/capability and copied-payload wiring alarms; no equivalent replacement. Reduced selectors require fresh validation; prior full-suite receipts do not validate removed or changed coverage. No equivalent replacement or physical-provider claim. Audit1312 removes low-value imported specs from aggregate test drivers; old whole-driver execution receipts are archived. Retained registrations are unchanged. No equivalent replacement coverage is claimed. Audit1318: src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts: Retain real local encrypted WebSocket regressions for pre-ready socket replacement preserving a request, close-before-ready logical subscription cleanup, unrelated RPC surviving another deadline, and pending setup abort leaving a sibling pending. Host server is synthetic and uses production crypto; kept scenarios also retain internal diagnostics/memory assertions unchanged. Remove happy routing, authority-envelope, unknown-ID/log, cleanup enum, binary, keepalive/liveness and production-budget/private socket inventories; intentionally lose those alarms, no physical host authorization, independent crypto or remote provider claim. Reduced selectors need fresh validation; historical full-suite receipts do not validate the changed coverage. No equivalent replacement or physical-provider claim. Audit1346 removes the entire private-state-injected session-tabs rich-status boundary suite. Its stale task/question, neutral-title preservation, owner-change and provider-generation alarms are intentionally lost. Retained real terminal journeys do not establish equivalent replacement coverage. The prior mixed 42-contract execution receipt is historical and must not validate the reduced current selector; fresh validation remains required. Audit1352: focused Linux unit selections validated on source head b638e07d395b76af3ba6b03761a1a0fe7e5e026e. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1360: focused Linux unit selections validated on source head 415c9cffc2d10024131ec4b6721767a22195de6d. Historical statements above retain their original scope. Intentional test losses are recorded in knownGaps; these runs claim no physical-provider, p95, rendered E2E or cross-platform validation. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1391: src/renderer/src/components/terminal-pane/pty-connection-remote-pause-drop-notice.spec.ts reduced. Lose repeated quiet switches avoiding snapshots and legacy host without drop-report capability requesting a snapshot. Retained imported registrar uses fake transport/xterm writes, exercising real gap/restore lifecycle rather than actual terminal rendering. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1396: src/renderer/src/components/terminal-pane/terminal-parked-watcher-reconciliation.test.ts reduced. Retire standalone reconcile set output and positive untouchedFreshSpawn/workspaceOwner copying alarms; no native watcher execution claim. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1402: src/renderer/src/components/terminal-pane/pty-connection-park-reveal-model-snapshot.spec.ts reduced. Loses basic paired serialize/initial replay forwarding check; hidden alt-frame grid/precedence policy remains. No real terminal renderer claim. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1412: src/main/runtime/mobile-session-tabs-agent-status-heartbeat.test.ts reduced. Loses FIFO fairness/spacing, semantic bypass/cancellation, delayed-boundary scheduling and teardown timer-cleanup alarms. Retained fixed emission cases do not replace those outcomes. No equivalent replacement coverage is claimed.", "motivatingLinks": [ "https://github.com/stablyai/orca/issues/8652", "https://github.com/stablyai/orca/pull/10625" ], "invariant": "A host advertising terminal.paired-parking.v1 keeps the PTY and bounded authoritative history alive while an ordinary hidden-view park destroys the client xterm and releases its raw per-PTY stream. Reveal must restore up to the requested 5,000 rows, parked-time side effects/output, the same PTY identity, and continued input/output. Parked watcher synchronization compares parking semantics rather than fresh object identity, owns setup and cleanup across StrictMode replay, reconciles real PTY/layout changes, and performs no terminal-state scan when nothing is parked. After a host main-process relaunch, unknown local delivery-sync state must not be treated as proof that a surviving daemon PTY is already foregrounded. An empty headed session-tab inventory is authoritative only after the current renderer graph generation publishes a complete inventory and every execution host answers the PTY census; unpublished, resync-pending, transport-failed, and partially scoped inventories remain unverifiable, while genuinely authoritative empty and non-empty inventories settle and a scope-less legacy empty keeps its pre-authority best-effort settle so outdated hosts retain agent auto-resume. The unpublished-empty regression must keep the resume dispatch parked with exactly one daemon process/writer; restoring unconditional empty hydration must release one dispatch and create two live writers. If subscription precedes provider readiness, authoritative inventory must reconsider that existing subscriber without spawning, resizing, or changing reconnect state. A snapshot without an output high-water must keep it unknown rather than borrowing a layout version that can suppress newer live output. Hosts without the capability must gate hidden raw output before xterm scheduling and repaint from the authoritative snapshot on reveal while retaining the existing limit/TTL force-parking fallback. After the first semantic title state, decorative spinner frequency must add zero paired client-event frames and zero full session-tabs work between status-freshness leases regardless of hidden worktree count. Continuous working or permission evidence may refresh each affected worktree once per 15 minutes through one globally spaced FIFO so current and legacy viewers do not decay before 30 minutes; sibling PTYs share that worktree refresh, while local title animation, raw output, and semantic title, status, bell, completion, and query facts remain intact. A paired terminal stream whose delivery credits stop progressing must replace only that stream; command silence first probes authoritative state and replaces the stream if the probe times out or proves the PTY advanced beyond the client's delivered output sequence. When no comparable delivery high-water exists, the first sequenced probe establishes a baseline and only later advancement proves staleness. A same-sequence snapshot remains valid proof of a responsive silent command. A successful status probe may replace a pre-ready shared-control socket without rejecting or duplicating calls already waiting for that transport. Manual disconnect must retain pairing while preventing queued or passive calls and subscriptions from recreating transport until explicit Connect. A paired pane reconnecting to a relaunched host that has not yet published its window graph (an unpublished frame, bare or client-projected) must stay in recovery rather than retire, and the host's first published snapshot carrying the surface must reattach it; a published frame lacking the surface still retires it. The placeholder is only ever sent before the host's graph first publishes; afterwards a worktree with no tabs gets a real empty answer, pushed once to any client that asked during startup, so a paired client opening a never-opened host worktree still gets its first terminal.", - "oracle": "Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. The direct side-effect-facts selector retains six cases: replay exclusion, live sequence handling, stale disposer ownership, one handoff drain, drain-before-snapshot, and stale replacement-snapshot refusal. Successful current-entry snapshot application is not witnessed by the retained snapshot case. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2003: Remove SSH/absent-inventory attach refusal, later-subscriber retry, no-view adoption/takeback, provider-tail/unknown-read projections, failed-keystroke retry and simpler loss reattach examples. Keep the existing-subscriber inventory-ready retry alias only at its retained callback, plus retained held-input cancellation/replacement and overlapping attach/loss fences. The inventory driver also loses the whole empty-worktree-publication registration and folder-host/unverifiable scalar examples. Retire the entire dated10-case attach receipt; retain16 independent receipts only in their original scopes. No retained-memory or real-daemon measurement follows from supplied provider inventories. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1991: Remove initial-snapshot sequence-domain, limited-tail/truncation and unknown-output-sequence aliases whose callbacks are removed. The source retains partial-chunk replay and requested-snapshot retry/admission at supplied snapshot/data seams, not equivalent replacement or measured retained-memory proof. Preserve the existing stream/pending-wait capacity aliases only to their retained owning multiplex callbacks with supplied PTY resolutions. Removing the sibling-PTY heartbeat dedup work-count sample does not establish a new decorative fanout budget; the unrelated-PTY cancellation fence survives. Preserve17 unrelated dated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Remove the reasonless-close selector and narrow census aliases to actual retained runtime and injected-inventory callbacks. The removed synthetic census-dedup and isolated pre-boundary timing cases receive no replacement credit; preserve17 unrelated dated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1939 (sources1934/1935): Delete the synthetic watcher-synchronization and partial-reconciliation suites. Retire all affected host-fact, capability-owner, activation-residue and retention-cap aliases because the remaining callbacks do not establish those full claims. Keep exact local hook/timer, byte-stream side effects, exit/disposal, scroll-intent cleanup and deterministic local rank/TTL progression callbacks within their mocked-host scope. No physical paired-host retention, resource budget or equivalent replacement evidence is assigned. The generic broad test command remains a runnable discovery command, never a dated execution receipt. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Delete the complete hook-agent-status projection suite and its two behavioral assertion aliases. Supplied stored hook/title/resume/staleness/rename/question/generation/PTY-retirement/snapshot-version projections are intentionally lost. The separate osc-status-scan gate mentions this source only in existing historical notes and receives no mutation. No measured hidden-output retention, CPU/RSS or resource budget result is claimed by the deleted source or this audit. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Run one byte-identical six-terminal oracle against an isolated headed desktop host and an isolated headless `orca serve` host. Stage at least 1,000,000 xterm cells, hide all six warm managers, emit an initial working title followed by 30 timed real-PTY spinner frames and a final idle title per worktree, and observe a second real session-tabs subscription plus the production renderer store. Require exactly two transport envelopes and two title mutations per worktree, no decorative title crossing either boundary, and positive decoded-envelope bytes. Enable ordinary parking with the lossy retention budget disabled, require exactly one mounted manager and five parked tabs, at most 45% retained cells, no more than 16 MiB heap growth, and under 500 ms timer drift. In headed mode, require the host renderer to remain on its original workspace with zero target terminal managers mounted throughout client park, reveal, and live I/O. While a tab is parked, require authoritative terminal.read to observe new PTY output; reveal it and require the original PTY, a marker within the requested 5,000-row history, the parked marker, and post-reveal input/output. Drive 24 real PTY title trackers in distinct worktrees through 40 decorative spinner frames each, then 40 spinner frames alternating with Cursor's bare native identity redraw, using fake clocks. Require all 2,880 raw chunks exactly and zero host session-tabs publications, serialized bytes, renderer apply calls, and renderer store mutations. Continue decorative evidence beyond 30 minutes, require exactly one refresh per worktree per 15-minute lease through a FIFO spaced by at least 50 ms, and require all 24 viewer statuses to remain working and fresh; then require one exact semantic idle transition and one visible-output chunk per PTY. Require ordinary and interior-Braille title changes to publish. Drive 64 host PTYs through ten 80 ms synthetic title frames, require zero paired client events after the first frame per PTY while all 640 local frames remain observable, attach a late client and require one current frame per PTY, then require semantic bell and idle transitions on both clients. Reconstruct a legacy subscribed stream with no outputPause capability, hide a chatty pane, require no hidden xterm writes, reveal it, and require one authoritative snapshot plus continued live output. Drop and acknowledge output only for one original paired-client stream, prove the fixture process consumed input while the host model advanced and the client stayed stale, then require the command snapshot probe to replace that stream, repaint exact fixture output, preserve authoritative PTY identity and target-tab cardinality, and resume live I/O. For a client without a delivered sequence, require the first numeric probe to establish a baseline without replacement, a same-sequence probe to remain attached, and a later advanced probe to replace only that stream. Withhold the first encrypted shared-control ready frame, start one RPC, trigger a status-probe refresh, and require two connections, one host delivery, successful response, and zero retained request bytes. Admit 128 active streams, reject the 129th as retryable, release one stream, then require the retry to attach and publish a snapshot without multiplying retained subscribers. Disable terminal.paired-parking.v1 and require the same oracle to fail before parking, while the legacy limit-one fallback separately passes. Also preserve truncated first paint, ACK-starved same-PTY recovery, responsive silent-command snapshot probes, dead-stream probe timeout recovery, and queued manual-disconnect fencing.", + "oracle": "Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. The decorative fanout suite retains only real OSC9999 ingestion through runtime/title heartbeat/viewer past the stale boundary, preserving stateStartedAt and clearing expired prompt metadata. Spinner volume/zero-work inventories, Pi/Grok frame tables, rich-status and foreground-reset examples are retired. Existing receipts for separate paired-terminal sources retain their original scopes. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3342 removes three supplied activation/inventory fallback and same-handle retry examples; their fallback/retry alarms are intentionally lost without equivalent replacement. The exact mounted-HUB pending old-stream-end versus replacement-snapshot registration and its assertion remain. Unrelated dated macOS receipts retain only their original scope; no fresh runtime, provider, performance, mobile, mixed-version or cross-platform validation is claimed. Audit3326 adopts reconciled source audit3324 and intentionally retires these low-value examples and their regression alarms: restarts only the stream whose renderer delivery credit never settles — An unreturned renderer delivery credit stalls only its stream, leaving healthy sibling/shared transport alive. Fake-clock deadline plus real multiplexer unsubscribe isolates recovery ownership.; probes then restarts a stream when an entered command receives no frames — Entered command produces no output; actual multiplexer must probe then close only its stalled stream after probe timeout. Distinct response liveness from parser credit.; establishes a probe baseline before recovering an unsequenced stream — 142-line manual five-probe baseline/regression sequence derives request IDs from encoded mock traffic and checks repeated no-close/close choreography. Oversized algorithm/state-machine example; no actual renderer/host command or recovery delivery. Retires unsequenced/unchanged/regressed baseline classification alarms.. Retained tests do not replace these alarms. Dated unrelated evidence remains scoped to its original execution; no historical source/import-closure equivalence, fresh execution, real network/provider/SSH, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Audit 3318 reduces remote-runtime-pty-transport-unpublished-host-graph.test.ts, retiring its direct published-empty-graph omission-to-pane-exit alarm. The unchanged bounded unpublished-frame/pushed-recovery and stale-handle park/manual-retry cases are narrower, not equivalent replacements. Both complete three-case Linux receipts dated 2026-11-04 are archived as historical, including source heads; they do not validate this reduced selector. Remaining fourteen active receipts are macOS only. No fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit 3318 composes adopted sources 3310, 3313 and 3317: intentionally retires 71 authored declarations and 102 expanded cases, including whole terminal-detach agent-retention, seeded batch/single open-files equivalence, shallow context-menu shortcut-badge, mocked active-workspace delete-dispatch, workspace session hydration, SSH target cleanup, editor session hydration and worktree terminal purge suites. Lost alarms include chained transfer alias and immediate close/exit retention; batch/single divergence, survivor/selection/map preservation and input nonmutation across 400 imperative seeds (one registered case); disconnected pending-handle retry, authoritative absences/close-record shortcut/older-host absence and published-presence/unpublished-frame examples; published empty host-graph omission to pane exit; legacy search ranking/exclusion fallback; provider request upgrade/dedupe/finalizer ownership; asynchronous PR suppression/primary-change and same-number different-repository URL rejection. Deletion routing loses host/instance qualification, paired and legacy mapping, folder ownership, active-versus-hover/menu-row selection, ambiguity, modal/editable/creation/view/main/deleting/missing guards and shortcut advertisement. Unchanged real keyboard/hover/confirmation/catalog E2E remains narrower, not an equivalent replacement. Additional losses include scripted old-host disk/UTF-8/noop/baseline and landed/unlanded lost-reply/replacement-retry outcomes; ordinary/repeated healthy-link reattach; cross-owner terminal/chat binding; oversized replay permanent-unavailable classification; floating reveal keyboard ownership/close/disable/listener disposal; naming/retained-turn/Sleep/error/close/reject status tables; SSH membership prune/new-target-only reads and environment/local bucket isolation; same-frame receipt capacity and positive bare/headless publisher readmission. These actual regression alarms are deliberately lost; no fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit 3312 composes adopted sources 3302 and 3308: deliberately retires 33 authored declarations and 36 expanded cases, including the whole backend startup-focus, active-browser IPC-close-routing, remote-browser-creation and agent-terminal-presence suites. Intentionally lost alarms cover distinct six-pane reconnect handles; SSH host label/Connect callback, unhydrated visit cleanup, repo cache aliases and hidden worktree/tab/PTY cleanup; adopted-agent startup focus and viewer navigation/reuse; staged, pageless, source, stale and orphan browser-close routing; web local-materialization refusal, desktop incapable-host fallback, failed/thrown remote creation and paired-web sign-in refusal; BOM/NUL and remote/local custom-editor byte-read examples; immediate folder activation and unread clearing; and batching idle/coalescing, accumulated byte ceiling, leading-edge-disabled, standalone synchronous oversize rejection, validation yield, deferred pending-tail order and both viewport-clear examples. The newly reintroduced agent-terminal-presence suite also loses actual terminal-status membership positive and nonterminal-status callback suppression alarms, including the recent 40916 guard regression; the older different 2133 presence-suite history remains historical and receives zero duplicate removal credit. These real regression alarms are intentionally lost. The unchanged survivors provide narrower coverage, with no equivalent replacement or fresh gate, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation claimed. Audit 3301 combines adopted source batches 3296 and 3299: retire 27 authored declarations and 36 expanded scenarios, including six whole suites. Intentionally lost alarms cover failed-verification/recovery/restart counters and mocked hosting/toast; early overlapping pane-read scheduling/count; unreadable removal listing draft guard; bulk-purge remote-qualified and raw-local guard maps; initial-snapshot blank/mode/oversize/printable/fresh-spawn callback and replay examples; fallback mobile file close and ordinary MRU; default queue overload/drain; seeded browser-page reuse and supplied missing-page URL recreation; ambiguous sleep/hibernation owner refusal and untouched bindings/origins; ordinary selection/activity/fallback priority; skip-remote success and retained hints; supplied structured-chat unsent retention and scoped removal draft eviction; caller-chat focus precedence; open/draft PR cache eviction and merged-head fallback result inventories. Retained adverse-ordering and ownership cases are narrower and do not establish equivalent replacements. No fresh runtime, native, physical provider, cross-platform, mobile or mixed-version evidence is claimed. Audit 3292 combines adopted 3285/3287/3289/3293 removals: 40 authored declarations and 47 expanded scenarios, including whole frame-editor-view, ambiguous remote-delete-refusal, unverifiable-host subscription and editor-close cleanup suites. The previously reviewed dock-badge suite was already removed upstream in PR 40895 and receives zero new removal credit. Intentionally retired alarms include background browser selection and last-tab landing; main startup fallback, SSH project cleanup/survivor routing, exact-PR contradiction/saved-push positives, replay/sidecar rollback and wrapped remote error normalization; records/snapshot missing-diff hydration, ambiguous folder-owner delete refusal, focus no-op notifications, nested editor context-only cache check, pending broadcast-first status and ordinary four-confirmation aggregation; preview-source frontmatter pruning, approved local/runtime agent dispatch, non-GitHub legacy PR cache invalidation, stale merged-head transient-error fallback, empty-queue immediate query reply and unverified-to-concrete preflight risk. Additional intentionally retired alarms are injected host subscription/unsubscribe counts, synthetic editor reveal/draft/fallback/scoped close, ambiguous unread refusals and hidden mark/read roundtrip, immediate connect backoff/noError, positive mirrored evidence-clock renewal, supplied VM failure/success projections and git-local/folder-SSH wake permutations. Remaining temporal/ownership cases are narrower; no equivalent replacement or fresh execution is claimed. Audit 3283 removes 20 authored declarations and 31 expanded scenarios, including two whole suites. Retired alarms cover PR refresh-state pruning, shared runtime subscription cleanup and store isolation, language content-change routing and older completion ownership, ordinary panel retry-timer cleanup and pending loading, four hosted-review lifetime permutations, mocked terminal creation error/order wiring, five sleep-inventory variants with pending-frame-only assertions, palette fallback/composite highlights, Windows/UNC encoded-editor input rows, mixed-repository partial failure counts, title setters and generated-title bypass/replacement, five window-close coordinator delegation/guard/finally branches, and ambiguous-old-record frame reveal. These regression checks are intentionally lost under the test-value audit; retained cases are not equivalent replacements. Prior coverage notes and receipts remain historical. Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims. Audit 3256 removes these specific alarms from the broad root unit commands: skill dialog active-share selection, close and pending-share handoff; simple keyed-record deletion; marker live-region insertion, simple landing and nine baseline policy examples; General search/control navigation inventory; orphan-count cache bootstrap; seven Codex code classifications and HTTP 429 warning mapping; two skill unread-root verdict examples; peer-mail payload and conversation-ID rejection; and the GitHub organization TABLE text-field optimistic rollback/failed-envelope example. These include real behaviors; retained tests do not provide equivalent coverage for every removed scenario. Mobile losses are recorded separately and are not coverage of these root commands. Audit3246 retires NewRowsMarker reveal/no-repeat and pane-scoped beforeinput checks; skill-owner option availability/count/dedup/order; six styled Input/Textarea IME forwarding rows; the static Codex/OpenCode smart-key inventory; tab-map AST ratchet diagnostic fixtures; child-roster work-budget and retained-aggregate alarms; malformed persisted floating-cwd fallback/no-crash/empty exact-root checks; the unanswered-host empty-list discriminator; the direct invalidated-cache commit-false assertion; one redundant digit-keyup IME row; cached non-supported Claude title-generator rows; and the duplicate late naming-result singleton. These root broad commands lose those specific alarms without equivalent replacement. Distinct retained owner/state checks have their own bounded claims; the real scheduler still rejects stale response data, while the direct false-return alarm is retired. Audit3231 retires supported-host restore-pane key mapping, closed/open creation-sidebar toggle visibility, unrelated scope-error/null classification and quick-submit reveal/no-create checks. These broad commands lose those real narrow alarms; no replacement coverage is claimed. Audit3219 removes the synthetic Cmd+J extra-source suite; this broad command no longer checks its match/tie placement and selection, announced count, empty-query cap, or workspace hiding with retained recent tabs. No replacement coverage is claimed. Audit3209 composes approved sources3202/3206: deliberately retires seven authored/expanded cases in four whole suites without equivalent replacement. Work-item queries lose real GitHub/GitLab oversized ASCII secret-prefix empty-query and whitespace-before-trim refusal alarms; inputs share the imported size bound and exercise only its fast length branch, with no multibyte or actual provider/exposure guarantee. Skill sharing loses complete/partial managed-bundle and destination-ambiguity association checks plus three negative origin/path/scheme admission examples; these do not establish uploaded contents, arbitrary-URL fetching, authorization or execution. Retain exact originless-project direct-link fallback, cloud-delete confirmation, bundled-target repair/owner isolation and explicit Windows-host preference over stale WSL suites. Rejected3201 runtime-preference removal is excluded. No real cloud/network/host/disk, mobile or mixed-version execution validation is claimed. Audit3200 composes approved source3194: deliberately retires thirteen authored registrations/twenty-seven expanded cases in six whole automation host/list policy suites without equivalent replacement. Real RPC category/retryability and wrapped-timeout recognition, unscoped-failure/scoped-success health evidence precedence, exact-ID create selectors and per-run workspace omission, paired-web local/SSH/absent host catalog routing, incompatible/removed/unhydrated/offline execution health, runtime-before-nested-SSH recovery dispatch, and no-owned-focus/successor/foreign-list focus policy alarms are consciously lost. Retain exact20line orphan allow/refuse/precondition and exact90line cross-host same-ID search suites. No retry-timer/fence lifecycle, actual reconnect/network/write delivery, native focus, mobile/mixed-version runtime or disk persistence coverage is claimed. Audit3191 combines approved source3182/3187/3188: deliberately retires thirteen authored Vitest registrations and fifteen expanded cases, including five whole suites, without equivalent replacement. Attachment intake loses real portal/native-capture terminal interception and unowned-container refusal, immediate child-only committed availability/claim-ref negotiation and delivery, and direct-target over stable focused/background composer routing through disable/re-enable/remount and independent question focus. Exact destination/cache/draft and final-stat owner/workspace/File-release suites remain; they do not replace Surface recipient routing. Automation authoring loses destination runtime catalog membership, local/direct-SSH exclusion of paired-runtime repos, unknown-runtime empty catalog, logical project/host/setup/repo/path context payload, and missing/nonready setup refusal; these were genuine direct helper alarms, while exact schedule transformation, legacy schedule and setup-decision suites remain. Agent picker loses setup-chat/terminal/missing-installer/unsupported-or-unknown-host row projection samples and the ordinary unsearched menu variant; the entire original26-line resume recipe suite remains, including reported bypass versus default/absent permission modes, as does the exact search-result menu callback with its fixtures, model/effort commits and staged Arguments reopen outcome. Rejected predecessor3180 full recipe deletion is excluded. No actual native drag/cursor/focus/IME, upload bytes or disk/restart persistence, full automation save/scheduler/runtime transport, real resume-process flags/environment delivery, or native menu/rendered layout validation is claimed. Audit3178 combines source3169/3170/3175: deliberately retires eight authored units (six Vitest cases and two imperative custom relay scenarios), including two whole suites, without equivalent replacement. Voice Section loses per-model pending-delete isolation across interleaved A/B completion and the two-success refresh-call alarm; exact VoicePane delayed key-clear/newer enabled-toggle merge remains and does not replace row deletion coverage. Speech loses dedicated rating-scale/inclusive-ceiling, unsupported-versus-unmeasured, explicit/system-language precedence/locale alias, accuracy versus fast named/default/best-measured selection, and unmeasured/no-match examples; exact offered-user-pick versus retired-selection case and its fixture remain. Relay loses legacy ping-delivery count/liveness sampled before the silence deadline and grouped malformed Bearer/host-ID 401/429 routing checks; twelve real Worker/DurableObject/shipped-client scenarios remain, not equivalent replacement for those narrow alarms. Six prior speech cases are not all deleted: approved successor3175 keeps the original user-choice case. No actual credential/file persistence, native/GPU/engine/download delivery, production assignment policy or deployed-runtime validation is claimed by this reduction. Audit3165 combines source3160/3162: deliberately retires six authored/expanded cases across three whole suites without equivalent replacement. Launch/status losses: observed React-render pending/resuming coordination across settings and deferred offer read; stale-offer reread suppressing dialog reopen; held-local-chat recovery visibility with new-chat preferences off; disabled-local admission avoiding offer RPC despite an injected but unconsumed paired-tab fixture; and run-only lost-reply uncertainty reachability until direct viewed-run retirement. Launch probe does not prove arbitrary synchronous-store atomicity, the paired fixture is not remote runtime enrollment, and the status case directly marks viewed state rather than rendering the summary. Crew-hook losses: old-host method_not_found cache persists across party changes but is released by independently supplied connection generation/verified pairing status or pairing revision, with actual frame publication and teardown. These are real narrow coordination, admission, uncertainty and mixed-version cache alarms consciously lost. Exact web verified-runtime writer handoff guard remains; it does not replace those alarms or prove live host/native/mobile delivery. Audit3156 combines3147/3150/3152/3153/3154: deliberately retires39authored/40expanded native-chat recovery cases, eight whole suites and two orphan test-support files without equivalent replacement. Lost alarms: lost-reply unconfirmed reconciliation, skipped rows/counts and missed-frame repair, unknown/pending outcome and omitted-failure-list compatibility, uncertain history after dismissal, retry/refusal/dismiss lifecycle, hidden/consumed picker ownership, result-tree keyboard focus/disclosure and all-skipped retirement; unconfirmed-over-conflict guidance and failed-chat changes despite older host timestamps; nearest-listed ancestor/cyclic forest shape, descendant membership, host ordering/missing-host local fallback; skipped/readiness/admission counts, provisional skip/progress monotonicity, early per-chat verdicts with batch pending protection, older-host waiting, start-slot/delivery distinction, retry-over-failure and unknown-after-withdrawal attention; remote snooze/reconnect/reoffer, unseen mixed summary through open/close, watched completion retirement, new success beside old failure, failed-reread mixed-result preservation, filter/collapse completion resets, retry summary replacement and current-offer/history selection; cross-host workspace identity, rendered cyclic reachability, nested tri-state/toggle propagation, project eligibility isolation and collapse preserving selection. Exact fallback-list completion barrier, batched verdict/cleanup retention, stale-read versus dismissal publication race, and requested-but-never-rendered finished-run retirement remain; they do not replace retired alarms. Audit3146 combines source reviews3132/3133/3135/3138/3143: intentionally retire20authored/31expanded cases without equivalent replacement. Provider-session losses: structured-native terminal-resume exclusion, metadata-less completed identity, new-turn completion clearing, Pi provider-only/periodic/manual promotion, changed-transcript launch-config isolation, Pi/omp/prime-agent completed-session remote/manual-shutdown promotion, and quit/done precedence over heartbeat. Side-thread/question losses: finished-pane acquisition, hidden title/recap states, local/relay/relay-done conversation takeover with prompt/session/child resets, plain-message abandonment, compaction/session replacement and completion resets. Codex startup losses: incoming-owner cached child replacement, old-relay foreign live-session correction, completed foreign-root turn-fact permutations. Transcript losses: real temporary-JSONL partial sibling/final-child completion, unlabelled child attribution, compact cached replay preservation and100/1000completed-child roster retention/release. Compiler-ratchet losses: valid-line uncompiled-list parser grammar examples and injected-existence stale-path filtering; these did not exercise actual filesystem canonicalization or build exclusion. These are real lifecycle, ownership, replay, liveness and retention alarms, including recent#40246 regressions, deliberately lost. Retained conditional record replacement, clockless root/SSH owner isolation, persisted main-thread fork rejection, partial/final question-answer lifetime, cached-roster/missing-ID/live HTTP/durable startup boundaries and restarted-relay refusal/acceptance do not replace those losses. No native/SSH/WSL execution or equivalent coverage is claimed. Audit3128 scoped coverage reduction: Audit3121 removes VoiceDictationLanguageSetting.test.tsx (Spanish-to-es callback and unsupported-model Korean option presence) and voice-speech-model-rows.test.ts (provider/language-order/retired-on-disk list policy); these real narrow alarms are deliberately retired without replacement. VoiceSpeechModelSection per-model concurrent deletion remains unchanged. Audit3122 removes the direct absolute/parent-segment sparse-directory exception-type sample and the five-row IPC sparse-preset error-code/non-save table (two authored/six expanded cases). Those real typed-validation and IPC refusal/error-code alarms are deliberately retired. Keep both real symlink/junction floating-directory trust cases and the minimal RPC structured validation-reason serialization case. The RPC case does not replace IPC save/refusal behavior, typed normalization for both path inputs, actual Git sparse checkout or rendered localization. No equivalent replacement or fresh test/runtime/platform/remote/performance validation is claimed. Audit3124 removes ExperimentalPane.test.tsx (ordinary Pet switch callback), WorkspaceDirectorySetting.test.tsx (padded absolute saved-path normalization/no-write blur), and repository-search.perf.test.ts (navigation/selected-pane builder-call policy, fixture cardinality/nonempty entries and renamed project keyword inclusion). These real narrow alarms are retired without replacement; RepositoryPane.search.test.tsx search-to-sparse-editor request remains unchanged. Audit3129: resolver Windows case-insensitive and POSIX case-sensitive configured-env composition plus mocked-base launch-preflight Windows composition are intentionally no longer checked by the two deleted suites. No equivalent coverage claimed. Keep runtime-structured-agent-host-env.test.ts unchanged: configured Windows Claude-home account identity and host-account precedence remain checked. Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. The direct side-effect-facts selector retains six cases: replay exclusion, live sequence handling, stale disposer ownership, one handoff drain, drain-before-snapshot, and stale replacement-snapshot refusal. Successful current-entry snapshot application is not witnessed by the retained snapshot case. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2003: Remove SSH/absent-inventory attach refusal, later-subscriber retry, no-view adoption/takeback, provider-tail/unknown-read projections, failed-keystroke retry and simpler loss reattach examples. Keep the existing-subscriber inventory-ready retry alias only at its retained callback, plus retained held-input cancellation/replacement and overlapping attach/loss fences. The inventory driver also loses the whole empty-worktree-publication registration and folder-host/unverifiable scalar examples. Retire the entire dated10-case attach receipt; retain16 independent receipts only in their original scopes. No retained-memory or real-daemon measurement follows from supplied provider inventories. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1991: Remove initial-snapshot sequence-domain, limited-tail/truncation and unknown-output-sequence aliases whose callbacks are removed. The source retains partial-chunk replay and requested-snapshot retry/admission at supplied snapshot/data seams, not equivalent replacement or measured retained-memory proof. Preserve the existing stream/pending-wait capacity aliases only to their retained owning multiplex callbacks with supplied PTY resolutions. Removing the sibling-PTY heartbeat dedup work-count sample does not establish a new decorative fanout budget; the unrelated-PTY cancellation fence survives. Preserve17 unrelated dated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Remove the reasonless-close selector and narrow census aliases to actual retained runtime and injected-inventory callbacks. The removed synthetic census-dedup and isolated pre-boundary timing cases receive no replacement credit; preserve17 unrelated dated receipts. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1939 (sources1934/1935): Delete the synthetic watcher-synchronization and partial-reconciliation suites. Retire all affected host-fact, capability-owner, activation-residue and retention-cap aliases because the remaining callbacks do not establish those full claims. Keep exact local hook/timer, byte-stream side effects, exit/disposal, scroll-intent cleanup and deterministic local rank/TTL progression callbacks within their mocked-host scope. No physical paired-host retention, resource budget or equivalent replacement evidence is assigned. The generic broad test command remains a runnable discovery command, never a dated execution receipt. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Delete the complete hook-agent-status projection suite and its two behavioral assertion aliases. Supplied stored hook/title/resume/staleness/rename/question/generation/PTY-retirement/snapshot-version projections are intentionally lost. The separate osc-status-scan gate mentions this source only in existing historical notes and receives no mutation. No measured hidden-output retention, CPU/RSS or resource budget result is claimed by the deleted source or this audit. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Run one byte-identical six-terminal oracle against an isolated headed desktop host and an isolated headless `orca serve` host. Stage at least 1,000,000 xterm cells, hide all six warm managers, emit an initial working title followed by 30 timed real-PTY spinner frames and a final idle title per worktree, and observe a second real session-tabs subscription plus the production renderer store. Require exactly two transport envelopes and two title mutations per worktree, no decorative title crossing either boundary, and positive decoded-envelope bytes. Enable ordinary parking with the lossy retention budget disabled, require exactly one mounted manager and five parked tabs, at most 45% retained cells, no more than 16 MiB heap growth, and under 500 ms timer drift. In headed mode, require the host renderer to remain on its original workspace with zero target terminal managers mounted throughout client park, reveal, and live I/O. While a tab is parked, require authoritative terminal.read to observe new PTY output; reveal it and require the original PTY, a marker within the requested 5,000-row history, the parked marker, and post-reveal input/output. Drive 24 real PTY title trackers in distinct worktrees through 40 decorative spinner frames each, then 40 spinner frames alternating with Cursor's bare native identity redraw, using fake clocks. Require all 2,880 raw chunks exactly and zero host session-tabs publications, serialized bytes, renderer apply calls, and renderer store mutations. Continue decorative evidence beyond 30 minutes, require exactly one refresh per worktree per 15-minute lease through a FIFO spaced by at least 50 ms, and require all 24 viewer statuses to remain working and fresh; then require one exact semantic idle transition and one visible-output chunk per PTY. Require ordinary and interior-Braille title changes to publish. Drive 64 host PTYs through ten 80 ms synthetic title frames, require zero paired client events after the first frame per PTY while all 640 local frames remain observable, attach a late client and require one current frame per PTY, then require semantic bell and idle transitions on both clients. Reconstruct a legacy subscribed stream with no outputPause capability, hide a chatty pane, require no hidden xterm writes, reveal it, and require one authoritative snapshot plus continued live output. Drop and acknowledge output only for one original paired-client stream, prove the fixture process consumed input while the host model advanced and the client stayed stale, then require the command snapshot probe to replace that stream, repaint exact fixture output, preserve authoritative PTY identity and target-tab cardinality, and resume live I/O. For a client without a delivered sequence, require the first numeric probe to establish a baseline without replacement, a same-sequence probe to remain attached, and a later advanced probe to replace only that stream. Withhold the first encrypted shared-control ready frame, start one RPC, trigger a status-probe refresh, and require two connections, one host delivery, successful response, and zero retained request bytes. Admit 128 active streams, reject the 129th as retryable, release one stream, then require the retry to attach and publish a snapshot without multiplying retained subscribers. Disable terminal.paired-parking.v1 and require the same oracle to fail before parking, while the legacy limit-one fallback separately passes. Also preserve truncated first paint, ACK-starved same-PTY recovery, responsive silent-command snapshot probes, dead-stream probe timeout recovery, and queued manual-disconnect fencing.", "commands": [ "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-unpublished-host-graph.test.ts", "ORCA_BACKGROUND_LAUNCH=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-host-quit-reconnect-input.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1", @@ -8576,11 +8263,10 @@ "ORCA_BACKGROUND_LAUNCH=1 pnpm exec playwright test tests/e2e/paired-client-first-terminal-unopened-host-worktree.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/session-lifecycle/publication/mobile-session-tabs-agent-status-heartbeat.test.ts tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts --maxWorkers=1", "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/parking/lifecycle/use-terminal-tab-cold-parking.test.ts --maxWorkers=1", - "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/terminal-multiplex-initial-snapshot-buffering.test.ts src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts src/main/runtime/rpc/terminal-subscribe-buffer.test.ts src/renderer/src/components/terminal-pane/parking/output-watchers/parked-terminal-byte-watcher.test.ts src/renderer/src/components/terminal-pane/pty-transport/output/terminal-side-effect-facts-handler.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-activation-inventory-fallback.test.ts src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-view-parking.test.ts src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-worktree-retention.test.ts src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-tab-watchers.test.ts src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-watcher-reconciliation.test.ts src/renderer/src/runtime/hosted-terminals/streams/remote-runtime-terminal-stall-recovery.test.ts src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts src/renderer/src/web/web-preload-api-runtime-environment.test.ts src/main/ipc/runtime-environments/runtime-environments-pairing.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/terminal-multiplex-initial-snapshot-buffering.test.ts src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts src/main/runtime/rpc/terminal-subscribe-buffer.test.ts src/renderer/src/components/terminal-pane/pty-transport/output/terminal-side-effect-facts-handler.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-activation-inventory-fallback.test.ts src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-view-parking.test.ts src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-worktree-retention.test.ts src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-tab-watchers.test.ts src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts src/renderer/src/web/web-preload-api-runtime-environment.test.ts src/main/ipc/runtime-environments/runtime-environments-pairing.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/terminal/adoption/terminal-subscriber-driven-daemon-attach.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/session-tabs/runtime-inventory-publication-authority.test.ts src/main/runtime/rpc/methods/session-tabs/session-tabs-inventory-census-race.test.ts src/main/daemon/terminal-host/testing/terminal-host-agent-session.test.ts tests/e2e/session-tabs-empty-inventory-daemon-oracle.unit.test.ts --maxWorkers=1", "pnpm exec vitest run --config config/vitest.config.ts src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts", "SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-host-restart-background-sync.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1", "ORCA_E2E_FORWARD_APP_LOGS=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-host-restart-background-sync.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --repeat-each=10 --max-failures=1", "ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-truncated-tail-first-paint.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1", @@ -8610,15 +8296,10 @@ "src/main/runtime/rpc/methods/session-tabs/session-tabs-inventory-census-race.test.ts", "src/main/daemon/terminal-host/testing/terminal-host-agent-session.test.ts", "tests/e2e/session-tabs-empty-inventory-daemon-oracle.unit.test.ts", - "src/renderer/src/components/terminal-pane/parking/output-watchers/parked-terminal-byte-watcher.test.ts", "src/renderer/src/components/terminal-pane/pty-transport/output/terminal-side-effect-facts-handler.test.ts", - "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts", - "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts", "src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-worktree-retention.test.ts", "src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-view-parking.test.ts", "src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-tab-watchers.test.ts", - "src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-watcher-reconciliation.test.ts", - "src/renderer/src/runtime/hosted-terminals/streams/remote-runtime-terminal-stall-recovery.test.ts", "src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts", "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-activation-inventory-fallback.test.ts", "src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts", @@ -8640,16 +8321,7 @@ { "file": "tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts", "assertions": [ - "2,880 decorative spinner and bare-native real-PTY OSC chunks publish zero session-tabs snapshots or serialized bytes after semantic convergence", - "the viewer performs zero snapshot applies and zero store mutations during decorative activity", - "after 30 minutes, one globally spaced refresh per worktree keeps every mirrored working status fresh", - "exact Pi and rotating normalized Pi/Grok frames renew explicit and fallback status without changing stateStartedAt or acknowledgement semantics", - "matching title evidence renews retained OSC hook status without resetting stateStartedAt, then drops unverifiable prompt metadata after the hook row expires", - "renderer-authored rich status keeps its original lease, then renews only coarse title-confirmed state and provider identity", - "ordinary-shell title transitions replace working stateStartedAt with the completion transition time", - "decorative heartbeats remain blocked until unknown foreground ownership resolves, then resume at the bounded interval", - "tracked terminal state reset clears delayed foreground ownership markers", - "raw chunks, semantic idle transitions, and visible output remain exact" + "real OSC9999 hook status remains live through title heartbeats without resetting stateStartedAt, then loses unverifiable prompt metadata after its original lease expires" ] }, { @@ -8743,28 +8415,12 @@ "reserves PTY wait capacity independently from active streams" ] }, - { - "file": "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts", - "assertions": [ - "pauses capable paired output while hidden and restores exactly on reveal", - "locally gates hidden paired output when a legacy host cannot pause it" - ] - }, { "file": "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-activation-inventory-fallback.test.ts", "assertions": [ "keeps a mounted HUB mirror alive when the old stream ends before the replacement snapshot" ] }, - { - "file": "src/renderer/src/runtime/hosted-terminals/streams/remote-runtime-terminal-stall-recovery.test.ts", - "assertions": [ - "restarts only the stream whose renderer delivery credit never settles", - "keeps the oldest pending delivery deadline anchored while later frames settle", - "probes then restarts a stream when an entered command receives no frames", - "establishes a first-probe baseline and fences regressed snapshots before recovering an unsequenced stream" - ] - }, { "file": "src/renderer/src/web/web-preload-api-runtime-environment.test.ts", "assertions": [ @@ -8914,26 +8570,6 @@ "durationSeconds": 17.5, "summary": "The headed six-PTY oracle kept all warm-mounted hidden streams at zero renderer scheduler enqueues/drains under sustained output and under 500 ms timer lag, then restored the authoritative flood tail and parked/live markers exactly once.", "currentCommand": "ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-retention-memory.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1" - }, - { - "date": "2026-11-04", - "runner": "local", - "platform": "linux", - "result": "passed", - "command": "ORCA_BACKGROUND_LAUNCH=1 pnpm --config.verifyDepsBeforeRun=false test src/renderer/src/components/terminal-pane/remote-runtime-pty-transport-unpublished-host-graph.test.ts --maxWorkers=2", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-unpublished-host-graph.test.ts", - "durationSeconds": 3.87, - "summary": "Test Files 1 passed (1); Tests 3 passed (3). Focused Linux unit execution; no physical-provider, p95 or cross-platform claim. Source head b638e07d395b76af3ba6b03761a1a0fe7e5e026e." - }, - { - "date": "2026-11-04", - "runner": "local", - "platform": "linux", - "result": "passed", - "command": "ORCA_BACKGROUND_LAUNCH=1 pnpm --config.verifyDepsBeforeRun=false test src/renderer/src/components/terminal-pane/remote-runtime-pty-transport-unpublished-host-graph.test.ts --maxWorkers=2", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-unpublished-host-graph.test.ts", - "durationSeconds": 3.79, - "summary": "Test Files 1 passed (1); Tests 3 passed (3). Focused Linux unit execution; no physical-provider, p95 or cross-platform claim. Source head 415c9cffc2d10024131ec4b6721767a22195de6d." } ], "runtimeBudget": { @@ -8960,6 +8596,9 @@ "Keep the budget-off control, exact manager count, final bounded-tail flood marker, parked-time output, and post-reveal PTY input in both topology runs." ], "knownGaps": [ + "NEXT65 current scope qualification: The NEXT65 knownGaps entries below govern the changed selectors and qualify any broader coverage implication in this gate’s unchanged oracle/coverageNotes narratives. Those narratives and preserved dated evidenceRuns retain their historical text and original exact execution scopes only; no fresh execution, transferred pass or equivalent replacement coverage is claimed. Upstream case removals remain upstream; original NEXT65 proposal descriptions grant no duplicate retirement credit.", + "NEXT65 terminal-owner layout and whole-case policy: src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-watcher-reconciliation.test.ts. Complete retired/reduced selectors lose their listed alarms; retained cases have no transferred historical pass or equivalent replacement coverage. Unaffected dated receipts retain only their original exact scopes. This metadata edit is not fresh execution evidence.", + "NEXT65 historical original active selector fields (verbatim JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-unpublished-host-graph.test.ts\",\n \"ORCA_BACKGROUND_LAUNCH=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-host-quit-reconnect-input.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/terminal/query/runtime-terminal-inventory-contracts.test.ts\",\n \"ORCA_BACKGROUND_LAUNCH=1 pnpm exec playwright test tests/e2e/paired-client-first-terminal-unopened-host-worktree.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/session-lifecycle/publication/mobile-session-tabs-agent-status-heartbeat.test.ts tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts --maxWorkers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/parking/lifecycle/use-terminal-tab-cold-parking.test.ts --maxWorkers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/terminal-multiplex-initial-snapshot-buffering.test.ts src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts src/main/runtime/rpc/terminal-subscribe-buffer.test.ts src/renderer/src/components/terminal-pane/pty-transport/output/terminal-side-effect-facts-handler.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-activation-inventory-fallback.test.ts src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-view-parking.test.ts src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-worktree-retention.test.ts src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-tab-watchers.test.ts src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-watcher-reconciliation.test.ts src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts src/renderer/src/web/web-preload-api-runtime-environment.test.ts src/main/ipc/runtime-environments/runtime-environments-pairing.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/terminal/adoption/terminal-subscriber-driven-daemon-attach.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/session-tabs/runtime-inventory-publication-authority.test.ts src/main/runtime/rpc/methods/session-tabs/session-tabs-inventory-census-race.test.ts src/main/daemon/terminal-host/testing/terminal-host-agent-session.test.ts tests/e2e/session-tabs-empty-inventory-daemon-oracle.unit.test.ts --maxWorkers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts\",\n \"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-host-restart-background-sync.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"ORCA_E2E_FORWARD_APP_LOGS=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-host-restart-background-sync.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --repeat-each=10 --max-failures=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-truncated-tail-first-paint.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-lossy-initial-snapshot.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 ORCA_E2E_DISABLE_PAIRED_TERMINAL_PARKING=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-truncated-tail-first-paint.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-stall-recovery.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-probe-gap-recovery.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/headless-paired-remote-terminal-stall-recovery.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-retention-memory.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-retention-memory.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/headless-paired-remote-terminal-retention-memory.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/terminal-parked-memory.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\"\n ]\ntestFiles: [\n \"src/main/runtime/session-lifecycle/publication/mobile-session-tabs-agent-status-heartbeat.test.ts\",\n \"tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/lifecycle/use-terminal-tab-cold-parking.test.ts\",\n \"src/main/runtime/construction/orca-runtime.test.ts\",\n \"src/renderer/src/web/web-preload-api-runtime-environment.test.ts\",\n \"src/main/ipc/runtime-environments/runtime-environments-pairing.test.ts\",\n \"src/main/runtime/rpc/terminal-multiplex-initial-snapshot-buffering.test.ts\",\n \"src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts\",\n \"src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts\",\n \"src/main/runtime/rpc/terminal-subscribe-buffer.test.ts\",\n \"src/main/runtime/terminal/adoption/terminal-subscriber-driven-daemon-attach.test.ts\",\n \"src/main/runtime/session-tabs/runtime-inventory-publication-authority.test.ts\",\n \"src/main/runtime/rpc/methods/session-tabs/session-tabs-inventory-census-race.test.ts\",\n \"src/main/daemon/terminal-host/testing/terminal-host-agent-session.test.ts\",\n \"tests/e2e/session-tabs-empty-inventory-daemon-oracle.unit.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/output/terminal-side-effect-facts-handler.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-worktree-retention.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-view-parking.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-tab-watchers.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-watcher-reconciliation.test.ts\",\n \"src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-activation-inventory-fallback.test.ts\",\n \"src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts\",\n \"tests/e2e/paired-remote-terminal-lossy-initial-snapshot.spec.ts\",\n \"tests/e2e/paired-remote-terminal-truncated-tail-first-paint.spec.ts\",\n \"tests/e2e/paired-remote-terminal-stall-recovery.spec.ts\",\n \"tests/e2e/paired-remote-terminal-probe-gap-recovery.spec.ts\",\n \"tests/e2e/headless-paired-remote-terminal-stall-recovery.spec.ts\",\n \"tests/e2e/paired-remote-terminal-retention-memory.spec.ts\",\n \"tests/e2e/headless-paired-remote-terminal-retention-memory.spec.ts\",\n \"tests/e2e/terminal-parked-memory.spec.ts\",\n \"tests/e2e/paired-remote-terminal-host-restart-background-sync.spec.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-unpublished-host-graph.test.ts\",\n \"tests/e2e/paired-remote-terminal-host-quit-reconnect-input.spec.ts\",\n \"src/main/runtime/terminal/query/runtime-terminal-inventory-contracts.test.ts\",\n \"tests/e2e/paired-client-first-terminal-unopened-host-worktree.spec.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts\",\n \"assertions\": [\n \"2,880 decorative spinner and bare-native real-PTY OSC chunks publish zero session-tabs snapshots or serialized bytes after semantic convergence\",\n \"the viewer performs zero snapshot applies and zero store mutations during decorative activity\",\n \"after 30 minutes, one globally spaced refresh per worktree keeps every mirrored working status fresh\",\n \"exact Pi and rotating normalized Pi/Grok frames renew explicit and fallback status without changing stateStartedAt or acknowledgement semantics\",\n \"matching title evidence renews retained OSC hook status without resetting stateStartedAt, then drops unverifiable prompt metadata after the hook row expires\",\n \"renderer-authored rich status keeps its original lease, then renews only coarse title-confirmed state and provider identity\",\n \"ordinary-shell title transitions replace working stateStartedAt with the completion transition time\",\n \"decorative heartbeats remain blocked until unknown foreground ownership resolves, then resume at the bounded interval\",\n \"tracked terminal state reset clears delayed foreground ownership markers\",\n \"raw chunks, semantic idle transitions, and visible output remain exact\"\n ]\n },\n {\n \"file\": \"src/main/runtime/terminal/adoption/terminal-subscriber-driven-daemon-attach.test.ts\",\n \"assertions\": [\"retries an existing subscriber when provider inventory becomes ready\"]\n },\n {\n \"file\": \"src/main/runtime/rpc/methods/session-tabs/session-tabs-inventory-census-race.test.ts\",\n \"assertions\": [\n \"creation and removal at the census release edge are subsumed once, and a delayed pre-boundary change is not replayed\",\n \"post-boundary creation and removal replay after the initial snapshot in sequence order\",\n \"create/remove/recreate transitions are preserved without collapse\",\n \"a post-boundary projected-state change is delivered without a new snapshot revision\",\n \"an older coalesced callback cannot overwrite a newer immediate change\",\n \"initialization churn publishes only the latest projected state and repeated structural overflow fails after bounded recollection\",\n \"disconnect aborts the census and removes the real runtime listener\"\n ]\n },\n {\n \"file\": \"tests/e2e/session-tabs-empty-inventory-daemon-oracle.unit.test.ts\",\n \"assertions\": [\n \"unpublished empty inventory keeps resume dispatch at zero with the original daemon session, process id, and writer as the sole live writer\",\n \"an authoritative empty inventory settles the mirror and releases exactly one resume dispatch with zero liveness probes\",\n \"re-enabling unconditional empty hydration makes the identical oracle red with one resume dispatch, two session ids, two process ids, and two writer calls\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-host-restart-background-sync.spec.ts\",\n \"assertions\": [\n \"preserves daemon PID and target PTY identity across the paired host relaunch\",\n \"foregrounds the daemon-backgrounded target on its first post-relaunch remote observation\",\n \"delivers target and post-relaunch control terminal input and live output\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-probe-gap-recovery.spec.ts\",\n \"assertions\": [\"replaces a stale paired stream when the PTY snapshot advanced\"]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-stall-recovery.spec.ts\",\n \"assertions\": [\n \"restarts one ACK-starved paired terminal stream without replacing its PTY\"\n ]\n },\n {\n \"file\": \"tests/e2e/headless-paired-remote-terminal-stall-recovery.spec.ts\",\n \"assertions\": [\"recovers an ACK-starved stream from an isolated headless Orca host\"]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-lossy-initial-snapshot.spec.ts\",\n \"assertions\": [\n \"a nonempty lossy initial snapshot paints exactly once on a paired client\",\n \"the authoritative host cursor advances and live output resumes exactly once\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-truncated-tail-first-paint.spec.ts\",\n \"assertions\": [\n \"paints a paired remote terminal when only its retained text tail overflowed\",\n \"legacy paired hosts retain the lossy hidden-manager budget fallback\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-retention-memory.spec.ts\",\n \"assertions\": [\n \"ordinary-parks paired terminals and restores authoritative host scrollback\",\n \"warm-mounted hidden paired streams schedule zero renderer output work under sustained host output\",\n \"six hidden real PTYs publish and apply only exact working and idle title transitions across paired transport\",\n \"client recovery completes while every target terminal remains unmounted in the host renderer\"\n ]\n },\n {\n \"file\": \"tests/e2e/headless-paired-remote-terminal-retention-memory.spec.ts\",\n \"assertions\": [\n \"ordinary-parks paired terminals against an isolated headless Orca host\",\n \"cold-activates only visible paired terminals against an isolated headless host\",\n \"the headless host bounds real-PTY decorative title transport and production store application\",\n \"the headless host shares the zero-hidden-renderer-work and exact-restoration contract\"\n ]\n },\n {\n \"file\": \"tests/e2e/terminal-parked-memory.spec.ts\",\n \"assertions\": [\n \"releases un-parkable hidden worktree buffers only once the retention budget engages\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts\",\n \"assertions\": [\n \"admits 128 active streams, rejects the 129th, and reuses released capacity\",\n \"reserves PTY wait capacity independently from active streams\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"assertions\": [\n \"pauses capable paired output while hidden and restores exactly on reveal\",\n \"locally gates hidden paired output when a legacy host cannot pause it\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-activation-inventory-fallback.test.ts\",\n \"assertions\": [\n \"keeps a mounted HUB mirror alive when the old stream ends before the replacement snapshot\"\n ]\n },\n {\n \"file\": \"src/renderer/src/web/web-preload-api-runtime-environment.test.ts\",\n \"assertions\": [\n \"keeps pairing while manual disconnect fences passive reconnects\",\n \"returns a disconnect envelope when a queued active runtime call disconnects\",\n \"returns a disconnect envelope when a queued selected environment call disconnects\"\n ]\n }\n ]", "Audit3061 retires the park-model supplied snapshot suite and nominal mode, cursor, focus, geometry and remote resume metadata variants. Their distinct alarms are intentionally lost; six retained mode/remote cases preserve selected tail-order, authority and parse-readiness boundaries without equivalent replacement. Existing selectors and dated evidence retain their original scope. The ordinary paired-scroll-back alias was already absent before this batch and is removed as stale metadata, separately from the newly retired floating-pane example.", "Audit3053 reduces hidden-replay coverage by retiring nominal overlap, resize, cursor metadata and standalone stalled-restore variants. Timeout, overflow, identity/generation fences and retained live-output coordination remain; the removed alarms are intentionally lost without equivalent replacement. Existing commands, assertion references and dated evidence retain their original scope.", "Audit2145 accepts removal of canned runtime metadata/guard/forwarding, fake in-memory persistence, private work-count and wrapper-duplication tests from the construction/orca-runtime.test.ts aggregate, plus the two automation run-context guards from runtime-workspace-launch-contracts.test.ts. Retained race, framing, physical completion and ownership callbacks remain byte-identical. Existing commands remain valid selectors; historical receipts stay unchanged and provide no fresh validation or replacement coverage for the reduced suites.", @@ -9043,7 +8682,37 @@ "Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed.", "Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed.", "Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation.", - "Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed." + "Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed.", + "Audit3128 scoped coverage reduction: Audit3121 removes VoiceDictationLanguageSetting.test.tsx (Spanish-to-es callback and unsupported-model Korean option presence) and voice-speech-model-rows.test.ts (provider/language-order/retired-on-disk list policy); these real narrow alarms are deliberately retired without replacement. VoiceSpeechModelSection per-model concurrent deletion remains unchanged. Audit3122 removes the direct absolute/parent-segment sparse-directory exception-type sample and the five-row IPC sparse-preset error-code/non-save table (two authored/six expanded cases). Those real typed-validation and IPC refusal/error-code alarms are deliberately retired. Keep both real symlink/junction floating-directory trust cases and the minimal RPC structured validation-reason serialization case. The RPC case does not replace IPC save/refusal behavior, typed normalization for both path inputs, actual Git sparse checkout or rendered localization. No equivalent replacement or fresh test/runtime/platform/remote/performance validation is claimed. Audit3124 removes ExperimentalPane.test.tsx (ordinary Pet switch callback), WorkspaceDirectorySetting.test.tsx (padded absolute saved-path normalization/no-write blur), and repository-search.perf.test.ts (navigation/selected-pane builder-call policy, fixture cardinality/nonempty entries and renamed project keyword inclusion). These real narrow alarms are retired without replacement; RepositoryPane.search.test.tsx search-to-sparse-editor request remains unchanged. Audit3129: resolver Windows case-insensitive and POSIX case-sensitive configured-env composition plus mocked-base launch-preflight Windows composition are intentionally no longer checked by the two deleted suites. No equivalent coverage claimed. Keep runtime-structured-agent-host-env.test.ts unchanged: configured Windows Claude-home account identity and host-account precedence remain checked.", + "Audit3146 combines source reviews3132/3133/3135/3138/3143: intentionally retire20authored/31expanded cases without equivalent replacement. Provider-session losses: structured-native terminal-resume exclusion, metadata-less completed identity, new-turn completion clearing, Pi provider-only/periodic/manual promotion, changed-transcript launch-config isolation, Pi/omp/prime-agent completed-session remote/manual-shutdown promotion, and quit/done precedence over heartbeat. Side-thread/question losses: finished-pane acquisition, hidden title/recap states, local/relay/relay-done conversation takeover with prompt/session/child resets, plain-message abandonment, compaction/session replacement and completion resets. Codex startup losses: incoming-owner cached child replacement, old-relay foreign live-session correction, completed foreign-root turn-fact permutations. Transcript losses: real temporary-JSONL partial sibling/final-child completion, unlabelled child attribution, compact cached replay preservation and100/1000completed-child roster retention/release. Compiler-ratchet losses: valid-line uncompiled-list parser grammar examples and injected-existence stale-path filtering; these did not exercise actual filesystem canonicalization or build exclusion. These are real lifecycle, ownership, replay, liveness and retention alarms, including recent#40246 regressions, deliberately lost. Retained conditional record replacement, clockless root/SSH owner isolation, persisted main-thread fork rejection, partial/final question-answer lifetime, cached-roster/missing-ID/live HTTP/durable startup boundaries and restarted-relay refusal/acceptance do not replace those losses. No native/SSH/WSL execution or equivalent coverage is claimed.", + "Audit3156 combines3147/3150/3152/3153/3154: deliberately retires39authored/40expanded native-chat recovery cases, eight whole suites and two orphan test-support files without equivalent replacement. Lost alarms: lost-reply unconfirmed reconciliation, skipped rows/counts and missed-frame repair, unknown/pending outcome and omitted-failure-list compatibility, uncertain history after dismissal, retry/refusal/dismiss lifecycle, hidden/consumed picker ownership, result-tree keyboard focus/disclosure and all-skipped retirement; unconfirmed-over-conflict guidance and failed-chat changes despite older host timestamps; nearest-listed ancestor/cyclic forest shape, descendant membership, host ordering/missing-host local fallback; skipped/readiness/admission counts, provisional skip/progress monotonicity, early per-chat verdicts with batch pending protection, older-host waiting, start-slot/delivery distinction, retry-over-failure and unknown-after-withdrawal attention; remote snooze/reconnect/reoffer, unseen mixed summary through open/close, watched completion retirement, new success beside old failure, failed-reread mixed-result preservation, filter/collapse completion resets, retry summary replacement and current-offer/history selection; cross-host workspace identity, rendered cyclic reachability, nested tri-state/toggle propagation, project eligibility isolation and collapse preserving selection. Exact fallback-list completion barrier, batched verdict/cleanup retention, stale-read versus dismissal publication race, and requested-but-never-rendered finished-run retirement remain; they do not replace retired alarms.", + "Audit3165 combines source3160/3162: deliberately retires six authored/expanded cases across three whole suites without equivalent replacement. Launch/status losses: observed React-render pending/resuming coordination across settings and deferred offer read; stale-offer reread suppressing dialog reopen; held-local-chat recovery visibility with new-chat preferences off; disabled-local admission avoiding offer RPC despite an injected but unconsumed paired-tab fixture; and run-only lost-reply uncertainty reachability until direct viewed-run retirement. Launch probe does not prove arbitrary synchronous-store atomicity, the paired fixture is not remote runtime enrollment, and the status case directly marks viewed state rather than rendering the summary. Crew-hook losses: old-host method_not_found cache persists across party changes but is released by independently supplied connection generation/verified pairing status or pairing revision, with actual frame publication and teardown. These are real narrow coordination, admission, uncertainty and mixed-version cache alarms consciously lost. Exact web verified-runtime writer handoff guard remains; it does not replace those alarms or prove live host/native/mobile delivery.", + "Audit3178 combines source3169/3170/3175: deliberately retires eight authored units (six Vitest cases and two imperative custom relay scenarios), including two whole suites, without equivalent replacement. Voice Section loses per-model pending-delete isolation across interleaved A/B completion and the two-success refresh-call alarm; exact VoicePane delayed key-clear/newer enabled-toggle merge remains and does not replace row deletion coverage. Speech loses dedicated rating-scale/inclusive-ceiling, unsupported-versus-unmeasured, explicit/system-language precedence/locale alias, accuracy versus fast named/default/best-measured selection, and unmeasured/no-match examples; exact offered-user-pick versus retired-selection case and its fixture remain. Relay loses legacy ping-delivery count/liveness sampled before the silence deadline and grouped malformed Bearer/host-ID 401/429 routing checks; twelve real Worker/DurableObject/shipped-client scenarios remain, not equivalent replacement for those narrow alarms. Six prior speech cases are not all deleted: approved successor3175 keeps the original user-choice case. No actual credential/file persistence, native/GPU/engine/download delivery, production assignment policy or deployed-runtime validation is claimed by this reduction.", + "Audit3191 combines approved source3182/3187/3188: deliberately retires thirteen authored Vitest registrations and fifteen expanded cases, including five whole suites, without equivalent replacement. Attachment intake loses real portal/native-capture terminal interception and unowned-container refusal, immediate child-only committed availability/claim-ref negotiation and delivery, and direct-target over stable focused/background composer routing through disable/re-enable/remount and independent question focus. Exact destination/cache/draft and final-stat owner/workspace/File-release suites remain; they do not replace Surface recipient routing. Automation authoring loses destination runtime catalog membership, local/direct-SSH exclusion of paired-runtime repos, unknown-runtime empty catalog, logical project/host/setup/repo/path context payload, and missing/nonready setup refusal; these were genuine direct helper alarms, while exact schedule transformation, legacy schedule and setup-decision suites remain. Agent picker loses setup-chat/terminal/missing-installer/unsupported-or-unknown-host row projection samples and the ordinary unsearched menu variant; the entire original26-line resume recipe suite remains, including reported bypass versus default/absent permission modes, as does the exact search-result menu callback with its fixtures, model/effort commits and staged Arguments reopen outcome. Rejected predecessor3180 full recipe deletion is excluded. No actual native drag/cursor/focus/IME, upload bytes or disk/restart persistence, full automation save/scheduler/runtime transport, real resume-process flags/environment delivery, or native menu/rendered layout validation is claimed.", + "Audit3200 composes approved source3194: deliberately retires thirteen authored registrations/twenty-seven expanded cases in six whole automation host/list policy suites without equivalent replacement. Real RPC category/retryability and wrapped-timeout recognition, unscoped-failure/scoped-success health evidence precedence, exact-ID create selectors and per-run workspace omission, paired-web local/SSH/absent host catalog routing, incompatible/removed/unhydrated/offline execution health, runtime-before-nested-SSH recovery dispatch, and no-owned-focus/successor/foreign-list focus policy alarms are consciously lost. Retain exact20line orphan allow/refuse/precondition and exact90line cross-host same-ID search suites. No retry-timer/fence lifecycle, actual reconnect/network/write delivery, native focus, mobile/mixed-version runtime or disk persistence coverage is claimed.", + "Audit3209 composes approved sources3202/3206: deliberately retires seven authored/expanded cases in four whole suites without equivalent replacement. Work-item queries lose real GitHub/GitLab oversized ASCII secret-prefix empty-query and whitespace-before-trim refusal alarms; inputs share the imported size bound and exercise only its fast length branch, with no multibyte or actual provider/exposure guarantee. Skill sharing loses complete/partial managed-bundle and destination-ambiguity association checks plus three negative origin/path/scheme admission examples; these do not establish uploaded contents, arbitrary-URL fetching, authorization or execution. Retain exact originless-project direct-link fallback, cloud-delete confirmation, bundled-target repair/owner isolation and explicit Windows-host preference over stale WSL suites. Rejected3201 runtime-preference removal is excluded. No real cloud/network/host/disk, mobile or mixed-version execution validation is claimed.", + "Audit3219 removes the synthetic Cmd+J extra-source suite; this broad command no longer checks its match/tie placement and selection, announced count, empty-query cap, or workspace hiding with retained recent tabs. No replacement coverage is claimed.", + "Audit3231 retires supported-host restore-pane key mapping, closed/open creation-sidebar toggle visibility, unrelated scope-error/null classification and quick-submit reveal/no-create checks. These broad commands lose those real narrow alarms; no replacement coverage is claimed.", + "Audit3246 retires NewRowsMarker reveal/no-repeat and pane-scoped beforeinput checks; skill-owner option availability/count/dedup/order; six styled Input/Textarea IME forwarding rows; the static Codex/OpenCode smart-key inventory; tab-map AST ratchet diagnostic fixtures; child-roster work-budget and retained-aggregate alarms; malformed persisted floating-cwd fallback/no-crash/empty exact-root checks; the unanswered-host empty-list discriminator; the direct invalidated-cache commit-false assertion; one redundant digit-keyup IME row; cached non-supported Claude title-generator rows; and the duplicate late naming-result singleton. These root broad commands lose those specific alarms without equivalent replacement. Distinct retained owner/state checks have their own bounded claims; the real scheduler still rejects stale response data, while the direct false-return alarm is retired.", + "Terminal/runtime defining-owner cleanup retires complete parking timer, lifecycle, mocked close/disposal and render/flip/mount work-count cases under repository test policy. The retained watcher source has only two literal-oracle coverage decisions; the retained cold-parking hook source has only the layout-PTY exemption invalidation case. Lost alarms include cooldown/measure/pin wakeups, split exit/close attribution and cancellation, watcher disposal/restart, flood timer rearm, worktree verdict damping, and destroyed-transport cold restore. No equivalent replacement coverage or execution pass for the reduced cases is claimed; prior dated receipts retain their original scope.", + "Module-layout wave3 intentionally retires complete prohibited owning registrations in src/renderer/src/components/terminal-pane/parking/output-watchers/parked-terminal-byte-watcher.test.ts. Lost alarms: Loss of the OSC title forwarding/order alarm for both pane and tab titles. Loss of the bare Cursor Agent title versus synthetic spinner title/deduplication alarm. Loss of the unread BEL attribution and delayed OS bell notification alarm. Loss of the OSC-terminator BEL exclusion alarm across chunk boundaries. Loss of the working-to-idle prompt-cache and completion-notification alarm. Loss of the same-burst completion-over-bell coalescing alarm. Loss of the resumed-working cancellation of pending completion and cache timer alarm. Loss of the cross-chunk GitHub pull-request discovery and workspace/pane attribution alarm. Loss of the Command Code return-to-done callback wiring alarm; real composer delivery was not established. Loss of the already-in-flight Command Code scrape/return alarm. Loss of the park-time working seed to idle completion alarm. Loss of the no-unobserved-transition completion alarm. Loss of the shutdown cancellation and final-flush attention-suppression alarm. Loss of the sidecar unregistration and pending-bell cancellation alarm. Loss of the same-PTY previous-watcher disposal alarm. Loss of the cold snapshot title restoration without replayed attention alarm. Loss of the stale-derived idle fact state-clear/no-completion alarm. Loss of the fact-consumer disposal and written title-slot clearing alarm. No equivalent replacement coverage or reduced-selector pass is claimed.", + "Audit 3256 removes these specific alarms from the broad root unit commands: skill dialog active-share selection, close and pending-share handoff; simple keyed-record deletion; marker live-region insertion, simple landing and nine baseline policy examples; General search/control navigation inventory; orphan-count cache bootstrap; seven Codex code classifications and HTTP 429 warning mapping; two skill unread-root verdict examples; peer-mail payload and conversation-ID rejection; and the GitHub organization TABLE text-field optimistic rollback/failed-envelope example. These include real behaviors; retained tests do not provide equivalent coverage for every removed scenario. Mobile losses are recorded separately and are not coverage of these root commands.", + "Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims.", + "Audit 3283 removes 20 authored declarations and 31 expanded scenarios, including two whole suites. Retired alarms cover PR refresh-state pruning, shared runtime subscription cleanup and store isolation, language content-change routing and older completion ownership, ordinary panel retry-timer cleanup and pending loading, four hosted-review lifetime permutations, mocked terminal creation error/order wiring, five sleep-inventory variants with pending-frame-only assertions, palette fallback/composite highlights, Windows/UNC encoded-editor input rows, mixed-repository partial failure counts, title setters and generated-title bypass/replacement, five window-close coordinator delegation/guard/finally branches, and ambiguous-old-record frame reveal. These regression checks are intentionally lost under the test-value audit; retained cases are not equivalent replacements. Prior coverage notes and receipts remain historical.", + "Audit 3292 combines adopted 3285/3287/3289/3293 removals: 40 authored declarations and 47 expanded scenarios, including whole frame-editor-view, ambiguous remote-delete-refusal, unverifiable-host subscription and editor-close cleanup suites. The previously reviewed dock-badge suite was already removed upstream in PR 40895 and receives zero new removal credit. Intentionally retired alarms include background browser selection and last-tab landing; main startup fallback, SSH project cleanup/survivor routing, exact-PR contradiction/saved-push positives, replay/sidecar rollback and wrapped remote error normalization; records/snapshot missing-diff hydration, ambiguous folder-owner delete refusal, focus no-op notifications, nested editor context-only cache check, pending broadcast-first status and ordinary four-confirmation aggregation; preview-source frontmatter pruning, approved local/runtime agent dispatch, non-GitHub legacy PR cache invalidation, stale merged-head transient-error fallback, empty-queue immediate query reply and unverified-to-concrete preflight risk. Additional intentionally retired alarms are injected host subscription/unsubscribe counts, synthetic editor reveal/draft/fallback/scoped close, ambiguous unread refusals and hidden mark/read roundtrip, immediate connect backoff/noError, positive mirrored evidence-clock renewal, supplied VM failure/success projections and git-local/folder-SSH wake permutations. Remaining temporal/ownership cases are narrower; no equivalent replacement or fresh execution is claimed.", + "Audit 3301 combines adopted source batches 3296 and 3299: retire 27 authored declarations and 36 expanded scenarios, including six whole suites. Intentionally lost alarms cover failed-verification/recovery/restart counters and mocked hosting/toast; early overlapping pane-read scheduling/count; unreadable removal listing draft guard; bulk-purge remote-qualified and raw-local guard maps; initial-snapshot blank/mode/oversize/printable/fresh-spawn callback and replay examples; fallback mobile file close and ordinary MRU; default queue overload/drain; seeded browser-page reuse and supplied missing-page URL recreation; ambiguous sleep/hibernation owner refusal and untouched bindings/origins; ordinary selection/activity/fallback priority; skip-remote success and retained hints; supplied structured-chat unsent retention and scoped removal draft eviction; caller-chat focus precedence; open/draft PR cache eviction and merged-head fallback result inventories. Retained adverse-ordering and ownership cases are narrower and do not establish equivalent replacements. No fresh runtime, native, physical provider, cross-platform, mobile or mixed-version evidence is claimed.", + "Audit 3312 composes adopted sources 3302 and 3308: deliberately retires 33 authored declarations and 36 expanded cases, including the whole backend startup-focus, active-browser IPC-close-routing, remote-browser-creation and agent-terminal-presence suites. Intentionally lost alarms cover distinct six-pane reconnect handles; SSH host label/Connect callback, unhydrated visit cleanup, repo cache aliases and hidden worktree/tab/PTY cleanup; adopted-agent startup focus and viewer navigation/reuse; staged, pageless, source, stale and orphan browser-close routing; web local-materialization refusal, desktop incapable-host fallback, failed/thrown remote creation and paired-web sign-in refusal; BOM/NUL and remote/local custom-editor byte-read examples; immediate folder activation and unread clearing; and batching idle/coalescing, accumulated byte ceiling, leading-edge-disabled, standalone synchronous oversize rejection, validation yield, deferred pending-tail order and both viewport-clear examples. The newly reintroduced agent-terminal-presence suite also loses actual terminal-status membership positive and nonterminal-status callback suppression alarms, including the recent 40916 guard regression; the older different 2133 presence-suite history remains historical and receives zero duplicate removal credit. These real regression alarms are intentionally lost. The unchanged survivors provide narrower coverage, with no equivalent replacement or fresh gate, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation claimed.", + "Audit 3318 reduces remote-runtime-pty-transport-unpublished-host-graph.test.ts, retiring its direct published-empty-graph omission-to-pane-exit alarm. The unchanged bounded unpublished-frame/pushed-recovery and stale-handle park/manual-retry cases are narrower, not equivalent replacements. Both complete three-case Linux receipts dated 2026-11-04 are archived as historical, including source heads; they do not validate this reduced selector. Remaining fourteen active receipts are macOS only. No fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit 3318 composes adopted sources 3310, 3313 and 3317: intentionally retires 71 authored declarations and 102 expanded cases, including whole terminal-detach agent-retention, seeded batch/single open-files equivalence, shallow context-menu shortcut-badge, mocked active-workspace delete-dispatch, workspace session hydration, SSH target cleanup, editor session hydration and worktree terminal purge suites. Lost alarms include chained transfer alias and immediate close/exit retention; batch/single divergence, survivor/selection/map preservation and input nonmutation across 400 imperative seeds (one registered case); disconnected pending-handle retry, authoritative absences/close-record shortcut/older-host absence and published-presence/unpublished-frame examples; published empty host-graph omission to pane exit; legacy search ranking/exclusion fallback; provider request upgrade/dedupe/finalizer ownership; asynchronous PR suppression/primary-change and same-number different-repository URL rejection. Deletion routing loses host/instance qualification, paired and legacy mapping, folder ownership, active-versus-hover/menu-row selection, ambiguity, modal/editable/creation/view/main/deleting/missing guards and shortcut advertisement. Unchanged real keyboard/hover/confirmation/catalog E2E remains narrower, not an equivalent replacement. Additional losses include scripted old-host disk/UTF-8/noop/baseline and landed/unlanded lost-reply/replacement-retry outcomes; ordinary/repeated healthy-link reattach; cross-owner terminal/chat binding; oversized replay permanent-unavailable classification; floating reveal keyboard ownership/close/disable/listener disposal; naming/retained-turn/Sleep/error/close/reject status tables; SSH membership prune/new-target-only reads and environment/local bucket isolation; same-frame receipt capacity and positive bare/headless publisher readmission. These actual regression alarms are deliberately lost; no fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed.", + "Audit 3318 retires this complete dated three-case Linux unit receipt because remote-runtime-pty-transport-unpublished-host-graph.test.ts was reduced. Original command/currentCommand/result/date/duration/source head/count remain historical and do not validate the reduced selector. Original receipt verbatim:\n{\n \"date\": \"2026-11-04\",\n \"runner\": \"local\",\n \"platform\": \"linux\",\n \"result\": \"passed\",\n \"command\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm --config.verifyDepsBeforeRun=false test src/renderer/src/components/terminal-pane/remote-runtime-pty-transport-unpublished-host-graph.test.ts --maxWorkers=2\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-unpublished-host-graph.test.ts\",\n \"durationSeconds\": 3.87,\n \"summary\": \"Test Files 1 passed (1); Tests 3 passed (3). Focused Linux unit execution; no physical-provider, p95 or cross-platform claim. Source head b638e07d395b76af3ba6b03761a1a0fe7e5e026e.\"\n }", + "Audit 3318 retires this complete dated three-case Linux unit receipt because remote-runtime-pty-transport-unpublished-host-graph.test.ts was reduced. Original command/currentCommand/result/date/duration/source head/count remain historical and do not validate the reduced selector. Original receipt verbatim:\n{\n \"date\": \"2026-11-04\",\n \"runner\": \"local\",\n \"platform\": \"linux\",\n \"result\": \"passed\",\n \"command\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm --config.verifyDepsBeforeRun=false test src/renderer/src/components/terminal-pane/remote-runtime-pty-transport-unpublished-host-graph.test.ts --maxWorkers=2\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-unpublished-host-graph.test.ts\",\n \"durationSeconds\": 3.79,\n \"summary\": \"Test Files 1 passed (1); Tests 3 passed (3). Focused Linux unit execution; no physical-provider, p95 or cross-platform claim. Source head 415c9cffc2d10024131ec4b6721767a22195de6d.\"\n }", + "Audit3326 adopts reconciled source audit3324 and intentionally retires these low-value examples and their regression alarms: restarts only the stream whose renderer delivery credit never settles — An unreturned renderer delivery credit stalls only its stream, leaving healthy sibling/shared transport alive. Fake-clock deadline plus real multiplexer unsubscribe isolates recovery ownership.; probes then restarts a stream when an entered command receives no frames — Entered command produces no output; actual multiplexer must probe then close only its stalled stream after probe timeout. Distinct response liveness from parser credit.; establishes a probe baseline before recovering an unsequenced stream — 142-line manual five-probe baseline/regression sequence derives request IDs from encoded mock traffic and checks repeated no-close/close choreography. Oversized algorithm/state-machine example; no actual renderer/host command or recovery delivery. Retires unsequenced/unchanged/regressed baseline classification alarms.. Retained tests do not replace these alarms. Dated unrelated evidence remains scoped to its original execution; no historical source/import-closure equivalence, fresh execution, real network/provider/SSH, rendered UI, mobile, mixed-version or cross-platform validation is claimed.", + "NEXT46 terminal-owner layout and whole-case policy: src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts, src/renderer/src/runtime/hosted-terminals/streams/remote-runtime-terminal-stall-recovery.test.ts. Complete retired/reduced selectors lose their listed alarms; retained cases have no transferred historical pass or equivalent replacement coverage. Unaffected dated receipts retain only their original exact scopes. This metadata edit is not fresh execution evidence.", + "NEXT46 historical original active selector fields (verbatim JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-unpublished-host-graph.test.ts\",\n \"ORCA_BACKGROUND_LAUNCH=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-host-quit-reconnect-input.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/terminal/query/runtime-terminal-inventory-contracts.test.ts\",\n \"ORCA_BACKGROUND_LAUNCH=1 pnpm exec playwright test tests/e2e/paired-client-first-terminal-unopened-host-worktree.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/session-lifecycle/publication/mobile-session-tabs-agent-status-heartbeat.test.ts tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts --maxWorkers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/parking/lifecycle/use-terminal-tab-cold-parking.test.ts --maxWorkers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/terminal-multiplex-initial-snapshot-buffering.test.ts src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts src/main/runtime/rpc/terminal-subscribe-buffer.test.ts src/renderer/src/components/terminal-pane/pty-transport/output/terminal-side-effect-facts-handler.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-activation-inventory-fallback.test.ts src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-view-parking.test.ts src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-worktree-retention.test.ts src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-tab-watchers.test.ts src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-watcher-reconciliation.test.ts src/renderer/src/runtime/hosted-terminals/streams/remote-runtime-terminal-stall-recovery.test.ts src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts src/renderer/src/web/web-preload-api-runtime-environment.test.ts src/main/ipc/runtime-environments/runtime-environments-pairing.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/terminal/adoption/terminal-subscriber-driven-daemon-attach.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/session-tabs/runtime-inventory-publication-authority.test.ts src/main/runtime/rpc/methods/session-tabs/session-tabs-inventory-census-race.test.ts src/main/daemon/terminal-host/testing/terminal-host-agent-session.test.ts tests/e2e/session-tabs-empty-inventory-daemon-oracle.unit.test.ts --maxWorkers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts\",\n \"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-host-restart-background-sync.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"ORCA_E2E_FORWARD_APP_LOGS=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-host-restart-background-sync.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --repeat-each=10 --max-failures=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-truncated-tail-first-paint.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-lossy-initial-snapshot.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 ORCA_E2E_DISABLE_PAIRED_TERMINAL_PARKING=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-truncated-tail-first-paint.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-stall-recovery.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-probe-gap-recovery.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/headless-paired-remote-terminal-stall-recovery.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-retention-memory.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-retention-memory.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/headless-paired-remote-terminal-retention-memory.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/terminal-parked-memory.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\"\n ]\ntestFiles: [\n \"src/main/runtime/session-lifecycle/publication/mobile-session-tabs-agent-status-heartbeat.test.ts\",\n \"tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/lifecycle/use-terminal-tab-cold-parking.test.ts\",\n \"src/main/runtime/construction/orca-runtime.test.ts\",\n \"src/renderer/src/web/web-preload-api-runtime-environment.test.ts\",\n \"src/main/ipc/runtime-environments/runtime-environments-pairing.test.ts\",\n \"src/main/runtime/rpc/terminal-multiplex-initial-snapshot-buffering.test.ts\",\n \"src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts\",\n \"src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts\",\n \"src/main/runtime/rpc/terminal-subscribe-buffer.test.ts\",\n \"src/main/runtime/terminal/adoption/terminal-subscriber-driven-daemon-attach.test.ts\",\n \"src/main/runtime/session-tabs/runtime-inventory-publication-authority.test.ts\",\n \"src/main/runtime/rpc/methods/session-tabs/session-tabs-inventory-census-race.test.ts\",\n \"src/main/daemon/terminal-host/testing/terminal-host-agent-session.test.ts\",\n \"tests/e2e/session-tabs-empty-inventory-daemon-oracle.unit.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/output/terminal-side-effect-facts-handler.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-worktree-retention.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-view-parking.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-tab-watchers.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-watcher-reconciliation.test.ts\",\n \"src/renderer/src/runtime/hosted-terminals/streams/remote-runtime-terminal-stall-recovery.test.ts\",\n \"src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-activation-inventory-fallback.test.ts\",\n \"src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts\",\n \"tests/e2e/paired-remote-terminal-lossy-initial-snapshot.spec.ts\",\n \"tests/e2e/paired-remote-terminal-truncated-tail-first-paint.spec.ts\",\n \"tests/e2e/paired-remote-terminal-stall-recovery.spec.ts\",\n \"tests/e2e/paired-remote-terminal-probe-gap-recovery.spec.ts\",\n \"tests/e2e/headless-paired-remote-terminal-stall-recovery.spec.ts\",\n \"tests/e2e/paired-remote-terminal-retention-memory.spec.ts\",\n \"tests/e2e/headless-paired-remote-terminal-retention-memory.spec.ts\",\n \"tests/e2e/terminal-parked-memory.spec.ts\",\n \"tests/e2e/paired-remote-terminal-host-restart-background-sync.spec.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-unpublished-host-graph.test.ts\",\n \"tests/e2e/paired-remote-terminal-host-quit-reconnect-input.spec.ts\",\n \"src/main/runtime/terminal/query/runtime-terminal-inventory-contracts.test.ts\",\n \"tests/e2e/paired-client-first-terminal-unopened-host-worktree.spec.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts\",\n \"assertions\": [\n \"2,880 decorative spinner and bare-native real-PTY OSC chunks publish zero session-tabs snapshots or serialized bytes after semantic convergence\",\n \"the viewer performs zero snapshot applies and zero store mutations during decorative activity\",\n \"after 30 minutes, one globally spaced refresh per worktree keeps every mirrored working status fresh\",\n \"exact Pi and rotating normalized Pi/Grok frames renew explicit and fallback status without changing stateStartedAt or acknowledgement semantics\",\n \"matching title evidence renews retained OSC hook status without resetting stateStartedAt, then drops unverifiable prompt metadata after the hook row expires\",\n \"renderer-authored rich status keeps its original lease, then renews only coarse title-confirmed state and provider identity\",\n \"ordinary-shell title transitions replace working stateStartedAt with the completion transition time\",\n \"decorative heartbeats remain blocked until unknown foreground ownership resolves, then resume at the bounded interval\",\n \"tracked terminal state reset clears delayed foreground ownership markers\",\n \"raw chunks, semantic idle transitions, and visible output remain exact\"\n ]\n },\n {\n \"file\": \"src/main/runtime/terminal/adoption/terminal-subscriber-driven-daemon-attach.test.ts\",\n \"assertions\": [\"retries an existing subscriber when provider inventory becomes ready\"]\n },\n {\n \"file\": \"src/main/runtime/rpc/methods/session-tabs/session-tabs-inventory-census-race.test.ts\",\n \"assertions\": [\n \"creation and removal at the census release edge are subsumed once, and a delayed pre-boundary change is not replayed\",\n \"post-boundary creation and removal replay after the initial snapshot in sequence order\",\n \"create/remove/recreate transitions are preserved without collapse\",\n \"a post-boundary projected-state change is delivered without a new snapshot revision\",\n \"an older coalesced callback cannot overwrite a newer immediate change\",\n \"initialization churn publishes only the latest projected state and repeated structural overflow fails after bounded recollection\",\n \"disconnect aborts the census and removes the real runtime listener\"\n ]\n },\n {\n \"file\": \"tests/e2e/session-tabs-empty-inventory-daemon-oracle.unit.test.ts\",\n \"assertions\": [\n \"unpublished empty inventory keeps resume dispatch at zero with the original daemon session, process id, and writer as the sole live writer\",\n \"an authoritative empty inventory settles the mirror and releases exactly one resume dispatch with zero liveness probes\",\n \"re-enabling unconditional empty hydration makes the identical oracle red with one resume dispatch, two session ids, two process ids, and two writer calls\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-host-restart-background-sync.spec.ts\",\n \"assertions\": [\n \"preserves daemon PID and target PTY identity across the paired host relaunch\",\n \"foregrounds the daemon-backgrounded target on its first post-relaunch remote observation\",\n \"delivers target and post-relaunch control terminal input and live output\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-probe-gap-recovery.spec.ts\",\n \"assertions\": [\"replaces a stale paired stream when the PTY snapshot advanced\"]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-stall-recovery.spec.ts\",\n \"assertions\": [\n \"restarts one ACK-starved paired terminal stream without replacing its PTY\"\n ]\n },\n {\n \"file\": \"tests/e2e/headless-paired-remote-terminal-stall-recovery.spec.ts\",\n \"assertions\": [\"recovers an ACK-starved stream from an isolated headless Orca host\"]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-lossy-initial-snapshot.spec.ts\",\n \"assertions\": [\n \"a nonempty lossy initial snapshot paints exactly once on a paired client\",\n \"the authoritative host cursor advances and live output resumes exactly once\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-truncated-tail-first-paint.spec.ts\",\n \"assertions\": [\n \"paints a paired remote terminal when only its retained text tail overflowed\",\n \"legacy paired hosts retain the lossy hidden-manager budget fallback\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-retention-memory.spec.ts\",\n \"assertions\": [\n \"ordinary-parks paired terminals and restores authoritative host scrollback\",\n \"warm-mounted hidden paired streams schedule zero renderer output work under sustained host output\",\n \"six hidden real PTYs publish and apply only exact working and idle title transitions across paired transport\",\n \"client recovery completes while every target terminal remains unmounted in the host renderer\"\n ]\n },\n {\n \"file\": \"tests/e2e/headless-paired-remote-terminal-retention-memory.spec.ts\",\n \"assertions\": [\n \"ordinary-parks paired terminals against an isolated headless Orca host\",\n \"cold-activates only visible paired terminals against an isolated headless host\",\n \"the headless host bounds real-PTY decorative title transport and production store application\",\n \"the headless host shares the zero-hidden-renderer-work and exact-restoration contract\"\n ]\n },\n {\n \"file\": \"tests/e2e/terminal-parked-memory.spec.ts\",\n \"assertions\": [\n \"releases un-parkable hidden worktree buffers only once the retention budget engages\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts\",\n \"assertions\": [\n \"admits 128 active streams, rejects the 129th, and reuses released capacity\",\n \"reserves PTY wait capacity independently from active streams\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"assertions\": [\n \"pauses capable paired output while hidden and restores exactly on reveal\",\n \"locally gates hidden paired output when a legacy host cannot pause it\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-activation-inventory-fallback.test.ts\",\n \"assertions\": [\n \"keeps a mounted HUB mirror alive when the old stream ends before the replacement snapshot\"\n ]\n },\n {\n \"file\": \"src/renderer/src/runtime/hosted-terminals/streams/remote-runtime-terminal-stall-recovery.test.ts\",\n \"assertions\": [\n \"keeps the oldest pending delivery deadline anchored while later frames settle\"\n ]\n },\n {\n \"file\": \"src/renderer/src/web/web-preload-api-runtime-environment.test.ts\",\n \"assertions\": [\n \"keeps pairing while manual disconnect fences passive reconnects\",\n \"returns a disconnect envelope when a queued active runtime call disconnects\",\n \"returns a disconnect envelope when a queued selected environment call disconnects\"\n ]\n }\n ]", + "Audit3342 removes three supplied activation/inventory fallback and same-handle retry examples; their fallback/retry alarms are intentionally lost without equivalent replacement. The exact mounted-HUB pending old-stream-end versus replacement-snapshot registration and its assertion remain. Unrelated dated macOS receipts retain only their original scope; no fresh runtime, provider, performance, mobile, mixed-version or cross-platform validation is claimed.", + "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed.\nOriginal active selector fields (historical raw native JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-unpublished-host-graph.test.ts\",\n \"ORCA_BACKGROUND_LAUNCH=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-host-quit-reconnect-input.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/terminal/query/runtime-terminal-inventory-contracts.test.ts\",\n \"ORCA_BACKGROUND_LAUNCH=1 pnpm exec playwright test tests/e2e/paired-client-first-terminal-unopened-host-worktree.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/session-lifecycle/publication/mobile-session-tabs-agent-status-heartbeat.test.ts tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts --maxWorkers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/parking/lifecycle/use-terminal-tab-cold-parking.test.ts --maxWorkers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/terminal-multiplex-initial-snapshot-buffering.test.ts src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts src/main/runtime/rpc/terminal-subscribe-buffer.test.ts src/renderer/src/components/terminal-pane/pty-transport/output/terminal-side-effect-facts-handler.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-activation-inventory-fallback.test.ts src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-view-parking.test.ts src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-worktree-retention.test.ts src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-tab-watchers.test.ts src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts src/renderer/src/web/web-preload-api-runtime-environment.test.ts src/main/ipc/runtime-environments/runtime-environments-pairing.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/terminal/adoption/terminal-subscriber-driven-daemon-attach.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/session-tabs/runtime-inventory-publication-authority.test.ts src/main/runtime/rpc/methods/session-tabs/session-tabs-inventory-census-race.test.ts src/main/daemon/terminal-host/testing/terminal-host-agent-session.test.ts tests/e2e/session-tabs-empty-inventory-daemon-oracle.unit.test.ts --maxWorkers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts\",\n \"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-host-restart-background-sync.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"ORCA_E2E_FORWARD_APP_LOGS=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-host-restart-background-sync.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1 --repeat-each=10 --max-failures=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-truncated-tail-first-paint.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-lossy-initial-snapshot.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 ORCA_E2E_DISABLE_PAIRED_TERMINAL_PARKING=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-truncated-tail-first-paint.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-stall-recovery.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-probe-gap-recovery.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/headless-paired-remote-terminal-stall-recovery.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-retention-memory.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-retention-memory.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"ORCA_E2E_WEB_CLIENT=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/headless-paired-remote-terminal-retention-memory.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/terminal-parked-memory.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\"\n ]\ntestFiles: [\n \"src/main/runtime/session-lifecycle/publication/mobile-session-tabs-agent-status-heartbeat.test.ts\",\n \"tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/lifecycle/use-terminal-tab-cold-parking.test.ts\",\n \"src/main/runtime/construction/orca-runtime.test.ts\",\n \"src/renderer/src/web/web-preload-api-runtime-environment.test.ts\",\n \"src/main/ipc/runtime-environments/runtime-environments-pairing.test.ts\",\n \"src/main/runtime/rpc/terminal-multiplex-initial-snapshot-buffering.test.ts\",\n \"src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts\",\n \"src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts\",\n \"src/main/runtime/rpc/terminal-subscribe-buffer.test.ts\",\n \"src/main/runtime/terminal/adoption/terminal-subscriber-driven-daemon-attach.test.ts\",\n \"src/main/runtime/session-tabs/runtime-inventory-publication-authority.test.ts\",\n \"src/main/runtime/rpc/methods/session-tabs/session-tabs-inventory-census-race.test.ts\",\n \"src/main/daemon/terminal-host/testing/terminal-host-agent-session.test.ts\",\n \"tests/e2e/session-tabs-empty-inventory-daemon-oracle.unit.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/output/terminal-side-effect-facts-handler.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-worktree-retention.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-view-parking.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-tab-watchers.test.ts\",\n \"src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-activation-inventory-fallback.test.ts\",\n \"src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts\",\n \"tests/e2e/paired-remote-terminal-lossy-initial-snapshot.spec.ts\",\n \"tests/e2e/paired-remote-terminal-truncated-tail-first-paint.spec.ts\",\n \"tests/e2e/paired-remote-terminal-stall-recovery.spec.ts\",\n \"tests/e2e/paired-remote-terminal-probe-gap-recovery.spec.ts\",\n \"tests/e2e/headless-paired-remote-terminal-stall-recovery.spec.ts\",\n \"tests/e2e/paired-remote-terminal-retention-memory.spec.ts\",\n \"tests/e2e/headless-paired-remote-terminal-retention-memory.spec.ts\",\n \"tests/e2e/terminal-parked-memory.spec.ts\",\n \"tests/e2e/paired-remote-terminal-host-restart-background-sync.spec.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-unpublished-host-graph.test.ts\",\n \"tests/e2e/paired-remote-terminal-host-quit-reconnect-input.spec.ts\",\n \"src/main/runtime/terminal/query/runtime-terminal-inventory-contracts.test.ts\",\n \"tests/e2e/paired-client-first-terminal-unopened-host-worktree.spec.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts\",\n \"assertions\": [\n \"2,880 decorative spinner and bare-native real-PTY OSC chunks publish zero session-tabs snapshots or serialized bytes after semantic convergence\",\n \"the viewer performs zero snapshot applies and zero store mutations during decorative activity\",\n \"after 30 minutes, one globally spaced refresh per worktree keeps every mirrored working status fresh\",\n \"exact Pi and rotating normalized Pi/Grok frames renew explicit and fallback status without changing stateStartedAt or acknowledgement semantics\",\n \"matching title evidence renews retained OSC hook status without resetting stateStartedAt, then drops unverifiable prompt metadata after the hook row expires\",\n \"renderer-authored rich status keeps its original lease, then renews only coarse title-confirmed state and provider identity\",\n \"ordinary-shell title transitions replace working stateStartedAt with the completion transition time\",\n \"decorative heartbeats remain blocked until unknown foreground ownership resolves, then resume at the bounded interval\",\n \"tracked terminal state reset clears delayed foreground ownership markers\",\n \"raw chunks, semantic idle transitions, and visible output remain exact\"\n ]\n },\n {\n \"file\": \"src/main/runtime/terminal/adoption/terminal-subscriber-driven-daemon-attach.test.ts\",\n \"assertions\": [\"retries an existing subscriber when provider inventory becomes ready\"]\n },\n {\n \"file\": \"src/main/runtime/rpc/methods/session-tabs/session-tabs-inventory-census-race.test.ts\",\n \"assertions\": [\n \"creation and removal at the census release edge are subsumed once, and a delayed pre-boundary change is not replayed\",\n \"post-boundary creation and removal replay after the initial snapshot in sequence order\",\n \"create/remove/recreate transitions are preserved without collapse\",\n \"a post-boundary projected-state change is delivered without a new snapshot revision\",\n \"an older coalesced callback cannot overwrite a newer immediate change\",\n \"initialization churn publishes only the latest projected state and repeated structural overflow fails after bounded recollection\",\n \"disconnect aborts the census and removes the real runtime listener\"\n ]\n },\n {\n \"file\": \"tests/e2e/session-tabs-empty-inventory-daemon-oracle.unit.test.ts\",\n \"assertions\": [\n \"unpublished empty inventory keeps resume dispatch at zero with the original daemon session, process id, and writer as the sole live writer\",\n \"an authoritative empty inventory settles the mirror and releases exactly one resume dispatch with zero liveness probes\",\n \"re-enabling unconditional empty hydration makes the identical oracle red with one resume dispatch, two session ids, two process ids, and two writer calls\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-host-restart-background-sync.spec.ts\",\n \"assertions\": [\n \"preserves daemon PID and target PTY identity across the paired host relaunch\",\n \"foregrounds the daemon-backgrounded target on its first post-relaunch remote observation\",\n \"delivers target and post-relaunch control terminal input and live output\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-probe-gap-recovery.spec.ts\",\n \"assertions\": [\"replaces a stale paired stream when the PTY snapshot advanced\"]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-stall-recovery.spec.ts\",\n \"assertions\": [\n \"restarts one ACK-starved paired terminal stream without replacing its PTY\"\n ]\n },\n {\n \"file\": \"tests/e2e/headless-paired-remote-terminal-stall-recovery.spec.ts\",\n \"assertions\": [\"recovers an ACK-starved stream from an isolated headless Orca host\"]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-lossy-initial-snapshot.spec.ts\",\n \"assertions\": [\n \"a nonempty lossy initial snapshot paints exactly once on a paired client\",\n \"the authoritative host cursor advances and live output resumes exactly once\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-truncated-tail-first-paint.spec.ts\",\n \"assertions\": [\n \"paints a paired remote terminal when only its retained text tail overflowed\",\n \"legacy paired hosts retain the lossy hidden-manager budget fallback\"\n ]\n },\n {\n \"file\": \"tests/e2e/paired-remote-terminal-retention-memory.spec.ts\",\n \"assertions\": [\n \"ordinary-parks paired terminals and restores authoritative host scrollback\",\n \"warm-mounted hidden paired streams schedule zero renderer output work under sustained host output\",\n \"six hidden real PTYs publish and apply only exact working and idle title transitions across paired transport\",\n \"client recovery completes while every target terminal remains unmounted in the host renderer\"\n ]\n },\n {\n \"file\": \"tests/e2e/headless-paired-remote-terminal-retention-memory.spec.ts\",\n \"assertions\": [\n \"ordinary-parks paired terminals against an isolated headless Orca host\",\n \"cold-activates only visible paired terminals against an isolated headless host\",\n \"the headless host bounds real-PTY decorative title transport and production store application\",\n \"the headless host shares the zero-hidden-renderer-work and exact-restoration contract\"\n ]\n },\n {\n \"file\": \"tests/e2e/terminal-parked-memory.spec.ts\",\n \"assertions\": [\n \"releases un-parkable hidden worktree buffers only once the retention budget engages\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts\",\n \"assertions\": [\n \"admits 128 active streams, rejects the 129th, and reuses released capacity\",\n \"reserves PTY wait capacity independently from active streams\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"assertions\": [\n \"pauses capable paired output while hidden and restores exactly on reveal\",\n \"locally gates hidden paired output when a legacy host cannot pause it\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-activation-inventory-fallback.test.ts\",\n \"assertions\": [\n \"keeps a mounted HUB mirror alive when the old stream ends before the replacement snapshot\"\n ]\n },\n {\n \"file\": \"src/renderer/src/web/web-preload-api-runtime-environment.test.ts\",\n \"assertions\": [\n \"keeps pairing while manual disconnect fences passive reconnects\",\n \"returns a disconnect envelope when a queued active runtime call disconnects\",\n \"returns a disconnect envelope when a queued selected environment call disconnects\"\n ]\n }\n ]", + "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Original scope text is retained as the exact suffix of coverageNotes/oracle; historical evidence is unchanged.", + "Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. The decorative fanout suite retains only real OSC9999 ingestion through runtime/title heartbeat/viewer past the stale boundary, preserving stateStartedAt and clearing expired prompt metadata. Spinner volume/zero-work inventories, Pi/Grok frame tables, rich-status and foreground-reset examples are retired. Existing receipts for separate paired-terminal sources retain their original scopes. All prior notes and complete dated receipts retain their original scopes.", + "Audit3446 archived original assertionRef after source reduction; historical scope only, raw original object follows:\n{\n \"file\": \"tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts\",\n \"assertions\": [\n \"2,880 decorative spinner and bare-native real-PTY OSC chunks publish zero session-tabs snapshots or serialized bytes after semantic convergence\",\n \"the viewer performs zero snapshot applies and zero store mutations during decorative activity\",\n \"after 30 minutes, one globally spaced refresh per worktree keeps every mirrored working status fresh\",\n \"exact Pi and rotating normalized Pi/Grok frames renew explicit and fallback status without changing stateStartedAt or acknowledgement semantics\",\n \"matching title evidence renews retained OSC hook status without resetting stateStartedAt, then drops unverifiable prompt metadata after the hook row expires\",\n \"renderer-authored rich status keeps its original lease, then renews only coarse title-confirmed state and provider identity\",\n \"ordinary-shell title transitions replace working stateStartedAt with the completion transition time\",\n \"decorative heartbeats remain blocked until unknown foreground ownership resolves, then resume at the bounded interval\",\n \"tracked terminal state reset clears delayed foreground ownership markers\",\n \"raw chunks, semantic idle transitions, and visible output remain exact\"\n ]\n }" ], "demotionRule": "Keep experimental or demote to protection none if decorative title frequency changes paired client-event or session-tabs publication volume after convergence, a semantic fact is dropped, paired first paint is blank, passive work reconnects after manual disconnect, a capable hidden paired manager survives ordinary parking, a legacy hidden pane schedules raw xterm output or bypasses its fallback, reveal loses requested bounded history or live PTY identity, retained buffer cells do not fall, or either headed/headless scenario flakes." }, @@ -9114,7 +8783,8 @@ "Audit1301 retires this complete dated receipt because a source in its selector was deleted or reduced. It does not validate the reduced selector. Original receipt verbatim:\n{\n \"date\": \"2026-10-06\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"result\": \"passed\",\n \"command\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/pty-startup-barrier-and-listing.test.ts src/renderer/src/components/status-bar/use-resource-session-inventory.test.tsx src/renderer/src/components/status-bar/resource-session-inventory.test.ts --maxWorkers=2 --reporter=dot\",\n \"currentCommand\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/pty/pty-startup-barrier-and-listing.test.ts src/renderer/src/components/status-bar/use-resource-session-inventory.test.tsx src/renderer/src/components/status-bar/resource-session-inventory.test.ts --maxWorkers=2 --reporter=dot\",\n \"durationSeconds\": 8.736,\n \"summary\": \"After removing source-text tests, the retained behavioral cohort passed 28 tests. No fresh native desktop, Docker, or hosted run is claimed. Historical evidence before the test removal (original commands were executed then, not rerun now): [{\\\"date\\\":\\\"2026-07-22\\\",\\\"runner\\\":\\\"local\\\",\\\"platform\\\":\\\"macos\\\",\\\"command\\\":\\\"pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/pty/pty-startup-barrier-and-listing.test.ts src/renderer/src/components/status-bar/use-resource-session-inventory.test.tsx src/renderer/src/components/status-bar/resource-session-inventory.test.ts src/renderer/src/components/status-bar/ResourceUsageStatusSegment.session-polling.test.ts\\\",\\\"result\\\":\\\"passed\\\",\\\"durationSeconds\\\":4.3,\\\"summary\\\":\\\"4 files and 358 tests passed, covering readiness seed/recovery, zero interval polling, bounded unknown-spawn reconciliation, concurrent provider starts, exit fencing, cleanup, and out-of-order refresh fencing.\\\"}]\"\n }", "Audit1301 historical assertion inventory for deleted/reduced sources; not current validated assertions:\n[\n {\n \"file\": \"src/renderer/src/components/status-bar/use-resource-session-inventory.test.tsx\",\n \"assertions\": [\n \"the false-to-true workspace readiness transition performs one daemon inventory seed\",\n \"a failed readiness seed surfaces an error and a later inventory refresh recovers\",\n \"known-session reattach signals perform zero additional inventory reads\",\n \"multiple unknown background spawn signals coalesce to one inventory read\",\n \"spawn signals during a slow inventory read never overlap provider-wide scans and cause at most one required follow-up\",\n \"unknown sessions that exit before reconciliation cancel their queued inventory read\",\n \"unmount during a slow inventory read cannot schedule follow-up work\",\n \"exit and out-of-order refresh races cannot resurrect stale sessions\",\n \"an explicit daemon-management invalidation performs exactly one inventory read, and none before readiness or after unmount\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/status-bar/resource-session-inventory.test.ts\",\n \"assertions\": [\n \"daemon inventory construction copies its source and preserves count parity\",\n \"single and batch removals preserve unrelated sessions and no-op references\"\n ]\n }\n]", "Audit1302: src/main/ai-vault/parse-cache/session-parse-cache-persistence.test.ts: Keep real filesystem/SQLite persistence, reopen/restart hits, changed-file invalidation, legacy/corrupt-cache recovery, concurrent scope replacement and optional-cache write failure isolation. Remove configuration/sidecar copy inventories, write-call-only timing/row counts, a wall-clock polling case with an internally hung parser, synthetic UNC aging/stat inventory and a no-op mock pretending to be failed database deletion. Lose these private configuration/scheduling/sidecar/UNC/fault wiring alarms; no equivalent replacement. Reduced selectors require fresh validation; prior full-suite receipts do not validate removed or changed coverage. No equivalent replacement or physical-provider claim.", - "Audit1302 retired the complete dated receipt after source coverage changed. Its result does not validate the reduced selector. Original receipt verbatim:\n{\n \"date\": \"2026-10-02\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/ai-vault-tab-title-sync.test.ts src/main/ai-vault/session-scanner-service-client.test.ts src/main/ai-vault/session-title-file-reader.test.ts src/main/ai-vault/session-parse-cache-persistence.test.ts src/main/ipc/ai-vault.test.ts src/main/runtime/rpc/methods/ai-vault.test.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 5.3,\n \"summary\": \"The focused run passed 138 tests across 7 files, proving exact-title-only renderer requests, provider-isolated batching, per-lane scanner-service lifecycle and fault recovery, exact transcript identity, host routing, mixed-version degradation, and zero broad-scan fallback.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/ai-vault-tab-title-sync.test.ts src/main/ai-vault/scan-service/session-scanner-service-client.test.ts src/main/ai-vault/session-titles/session-title-file-reader.test.ts src/main/ai-vault/parse-cache/session-parse-cache-persistence.test.ts src/main/ipc/ai-vault/ai-vault.test.ts src/main/runtime/rpc/methods/ai-vault.test.ts\"\n }" + "Audit1302 retired the complete dated receipt after source coverage changed. Its result does not validate the reduced selector. Original receipt verbatim:\n{\n \"date\": \"2026-10-02\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/ai-vault-tab-title-sync.test.ts src/main/ai-vault/session-scanner-service-client.test.ts src/main/ai-vault/session-title-file-reader.test.ts src/main/ai-vault/session-parse-cache-persistence.test.ts src/main/ipc/ai-vault.test.ts src/main/runtime/rpc/methods/ai-vault.test.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 5.3,\n \"summary\": \"The focused run passed 138 tests across 7 files, proving exact-title-only renderer requests, provider-isolated batching, per-lane scanner-service lifecycle and fault recovery, exact transcript identity, host routing, mixed-version degradation, and zero broad-scan fallback.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/ai-vault-tab-title-sync.test.ts src/main/ai-vault/scan-service/session-scanner-service-client.test.ts src/main/ai-vault/session-titles/session-title-file-reader.test.ts src/main/ai-vault/parse-cache/session-parse-cache-persistence.test.ts src/main/ipc/ai-vault/ai-vault.test.ts src/main/runtime/rpc/methods/ai-vault.test.ts\"\n }", + "Renderer direct-owner cleanup retires the complete ai-vault-tab-title-sync suite (seven registrations), already referenced only by dormant historical metadata here. Its sleeping-title retention, kind normalization, late-host precedence, identity invalidation, wire serialization/concurrency, transcript-path retry and refresh-pacing alarms are lost without equivalent replacement. The retained freshness queued closed-tab case exercises public batch admission only and supplies no polling-budget, transport/provider/native UI or measured-performance result. No current gate evidence/selector is added; existing historical entries retain their original scope." ], "demotionRule": "Cannot promote if the test allows broad listing in any hot interaction path." }, @@ -9122,7 +8792,7 @@ "id": "terminal-observability.lifecycle-breadcrumbs", "title": "Terminal lifecycle anomalies enter crash diagnostics as compact breadcrumbs", "maturity": "experimental", - "protection": "partial", + "protection": "none", "owner": "terminal-runtime", "layer": "renderer-observability", "surfaces": [ @@ -9135,51 +8805,30 @@ ], "platforms": ["macos", "linux", "windows"], "providers": ["local", "daemon", "ssh", "wsl", "remote-runtime"], - "coveredPlatforms": ["macos"], + "coveredPlatforms": [], "coveredProviders": [], - "coverageNotes": "Renderer unit coverage proves replay-guard lost-completion and certified-wedge events carry correlatable tab, worktree, durable leaf, pane, and redacted PTY identity without exposing path-bearing values. Full provider lifecycle attribution and diagnostics-bundle artifact proof remain gaps.", + "coverageNotes": "NEXT46 terminal-owner layout and whole-case policy: src/renderer/src/components/terminal-pane/snapshots/replay-guard.test.ts. Complete retired/reduced selectors lose their listed alarms; retained cases have no transferred historical pass or equivalent replacement coverage. Unaffected dated receipts retain only their original exact scopes. This metadata edit is not fresh execution evidence. Historical prior account (preserved verbatim): Retained renderer unit cases exercise guard release after a silent stalled parse and hardcoded breadcrumb event/pane identity with a fake terminal and mocked recorder. The identity-rich hashing/redaction registration was retired whole. No hashed tab/worktree/leaf identity, path-redaction, diagnostics-bundle export, live provider or packaged runtime coverage is claimed.", "motivatingLinks": [ "https://github.com/stablyai/orca/pull/6800", "https://github.com/stablyai/orca/issues/6773" ], "invariant": "Terminal lifecycle anomalies around reattach, restore, replay wedges, provider ownership, stale liveness, and fallback routing must leave compact, deduped, privacy-safe breadcrumbs in crash diagnostics so future reports can be attributed from evidence. Replay anomalies must distinguish pane managers and PTYs without recording path-bearing worktree or session identities.", - "oracle": "Drop a replay write completion while allowing its FIFO probe to parse, then require the lost-completion breadcrumb to include pane ID, stable hashes for tab/worktree/leaf identity, and a path-redacted PTY ID. Existing wedge tests require both lost-completion and certified-dead paths to record their distinct event names. Full pane transition traces and diagnostics-bundle artifact proof remain follow-ups.", - "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/snapshots/replay-guard.test.ts" - ], - "testFiles": ["src/renderer/src/components/terminal-pane/snapshots/replay-guard.test.ts"], - "assertionRefs": [ - { - "file": "src/renderer/src/components/terminal-pane/snapshots/replay-guard.test.ts", - "assertions": [ - "records correlatable replay identity without exposing worktree or PTY paths", - "releases after the probe itself never parses (wedged pipeline) and reports it" - ] - } - ], - "evidenceRuns": [ - { - "date": "2026-07-29", - "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/replay-guard.test.ts", - "result": "passed", - "durationSeconds": 0.201, - "summary": "The focused file passed 29 tests; replay anomaly breadcrumbs preserved event classification while adding hashed tab/worktree/leaf correlation and a path-redacted PTY identity.", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/snapshots/replay-guard.test.ts" - } - ], + "oracle": "Simulate replay and probe completions that never arrive, advance fake timers through both quiet windows, and require the real replay guard to transition from engaged to released while the mocked recorder receives terminal_replay_guard_wedged_release with paneId 1. This does not establish correlation hashing, path redaction or diagnostics-bundle export.", + "commands": [], + "testFiles": [], + "assertionRefs": [], + "evidenceRuns": [], "runtimeBudget": { "p95Seconds": 10, "scope": "renderer observability unit test" }, "flakeHistory": { "status": "unknown", - "evidence": "The replay-guard unit slice passed locally once; no CI soak history yet." + "evidence": "Retained selector has no CI soak history; fresh focused execution is recorded separately." }, "redGreenEvidence": { - "status": "partial", - "evidence": "Tests fail if replay anomalies stop recording their event name, omit pane/terminal correlation, or expose the fixture's path-bearing worktree and PTY prefixes. Needs diagnostics-bundle artifact proof and full transition-trace evidence before promotion." + "status": "missing", + "evidence": "No fresh revert/fault control was run for the retained selector. Historical richer-oracle statement before retirement is preserved in knownGaps and is not current reduced-selector evidence." }, "performanceBudget": { "required": true, @@ -9194,7 +8843,13 @@ "The replay identity schema has not yet been exercised in a live Electron/provider failure.", "Current coverage records anomaly breadcrumbs only, not a full pane lifecycle state-machine trace.", "Current coverage does not prove crash/diagnostics bundle export includes the breadcrumb.", - "Current coverage does not assert forbidden transitions across live Electron/provider flows." + "Current coverage does not assert forbidden transitions across live Electron/provider flows.", + "Module-layout wave1 intentionally retires complete prohibited owning registrations in src/renderer/src/components/terminal-pane/snapshots/replay-guard.test.ts. Lost alarms: a wedged release hands the terminal to pane recovery; a healthy parse completion never notifies pane recovery; HOLDS the guard while a slow replay is still parsing — a probe is queued, never a blind release; records correlatable replay identity without exposing worktree or PTY paths; holds past the probe deadline while sibling completions prove the parser alive; settles guards on a disposed xterm without certifying a wedge. No equivalent replacement coverage or pass for a reduced selector is claimed. All unrelated selectors and historical receipts retain their original scope.", + "Module-layout wave1 retires this complete historical receipt because its explicit current selector was reduced. It does not validate the reduced suite. Original receipt verbatim:\n{\n \"date\": \"2026-07-29\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/replay-guard.test.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 0.201,\n \"summary\": \"The focused file passed 29 tests; replay anomaly breadcrumbs preserved event classification while adding hashed tab/worktree/leaf correlation and a path-redacted PTY identity.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/snapshots/replay-guard.test.ts\"\n }", + "Module-layout wave1 historical richer-oracle metadata before identity-registration retirement, retained verbatim without current validation credit: {\"coverageNotes\":\"Renderer unit coverage proves replay-guard lost-completion and certified-wedge events carry correlatable tab, worktree, durable leaf, pane, and redacted PTY identity without exposing path-bearing values. Full provider lifecycle attribution and diagnostics-bundle artifact proof remain gaps.\",\"oracle\":\"Drop a replay write completion while allowing its FIFO probe to parse, then require the lost-completion breadcrumb to include pane ID, stable hashes for tab/worktree/leaf identity, and a path-redacted PTY ID. Existing wedge tests require both lost-completion and certified-dead paths to record their distinct event names. Full pane transition traces and diagnostics-bundle artifact proof remain follow-ups.\",\"redGreenEvidence\":{\"status\":\"partial\",\"evidence\":\"Tests fail if replay anomalies stop recording their event name, omit pane/terminal correlation, or expose the fixture's path-bearing worktree and PTY prefixes. Needs diagnostics-bundle artifact proof and full transition-trace evidence before promotion.\"}}", + "NEXT46 terminal-owner layout and whole-case policy: src/renderer/src/components/terminal-pane/snapshots/replay-guard.test.ts. Complete retired/reduced selectors lose their listed alarms; retained cases have no transferred historical pass or equivalent replacement coverage. Unaffected dated receipts retain only their original exact scopes. This metadata edit is not fresh execution evidence.", + "NEXT46 historical original active selector fields (verbatim JSON values; not current coverage):\ncommands: [\n \"ORCA_BACKGROUND_LAUNCH=1 pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/snapshots/replay-guard.test.ts --maxWorkers=2\"\n ]\ntestFiles: [\"src/renderer/src/components/terminal-pane/snapshots/replay-guard.test.ts\"]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/components/terminal-pane/snapshots/replay-guard.test.ts\",\n \"assertions\": [\n \"releases after the probe itself never parses (wedged pipeline) and reports it\"\n ]\n }\n ]\ncoveredPlatforms: [\"macos\"]\ncoveredProviders: []", + "NEXT46 historical original evidenceRuns object (verbatim; no current-selector pass credit):\n{\n \"date\": \"2026-11-10\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"result\": \"passed\",\n \"command\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/snapshots/replay-guard.test.ts --maxWorkers=2\",\n \"durationSeconds\": 1.52,\n \"summary\": \"Retained replay-guard suite passed 19 cases on the module-layout wave1 candidate. The named breadcrumb case preserves real replay guard release and the hardcoded wedged event/pane1 with a fake terminal and mocked recorder. No identity-hash/redaction, live provider, diagnostics-bundle, fresh red/green, performance or CI-soak claim.\"\n }" ], "demotionRule": "Cannot promote if diagnostics are console-only, unbounded, or missing from support artifacts." }, @@ -9221,7 +8876,7 @@ "providers": ["local", "daemon", "ssh", "remote-runtime"], "coveredPlatforms": ["macos"], "coveredProviders": [], - "coverageNotes": "Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Module layout SSH policy: Retire the multiplexer private-clock saturation registration, the writer saturation transition-count registration and the changed-source dated writer/backpressure receipt. Retained byte delivery, lane order, fairness, settlement and cancellation cases are unvalidated by that historical receipt. No equivalent replacement, new execution, measured performance, live SSH/WSL or cross-platform proof is claimed. The unchanged WSL protocol receipt retains only its original command scope. Historical prior account (preserved verbatim): Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2070 (sources2068/2069): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/hooks-and-hosted-review.spec'). src/main/ssh/ssh-multiplexer-transport-writer.test.ts: reports saturated epochs and their drain boundary exactly once. src/main/runtime/orca-runtime-tests/worktree-removal-archive-hook-gate.spec.ts: removes and records the waiver when the failure is explicitly overridden; removes without an override record when the hook succeeds; removes when the hook is configured but not requested; removes when no archive hook is configured; holds a desktop removal in the same repo until this one is accepted; joins a desktop removal of the same worktree accepted while this one waited. src/main/runtime/orca-runtime-tests/worktree-ps-agent-row-dismissal.spec.ts: drops the row as soon as the user dismisses it, without waiting for the PTY to exit; tells paired clients to republish on the transition and on the dismissal; rejoins a row through its %s handle after pane ownership clears. src/main/runtime/orca-runtime-tests/hooks-and-hosted-review.spec.ts: reports an error when the SSH filesystem provider is unavailable; reports an SSH orca.yaml as an error without reading any filesystem; reports ok for a local repo hook check; reads SSH issue commands as absent and drops writes without touching any filesystem; allows host integration slug helpers for SSH repos through provider-aware GitHub clients; routes runtime GitHub repo identity helpers through the selected WSL project runtime; routes runtime GitHub issue and work-item actions through the selected WSL project runtime; pins explicit origin preference on runtime open-by-number work item lookups; forwards check-details cancellation without local Git overrides. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. The historical receipt/currentCommand selecting src/main/ssh/ssh-multiplexer-transport-writer.test.ts remains historical and is not a passing result for the reduced current command. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Delete the complete tail-wait memo suite: its sole current authored callback checks supplied fromTail/blocked field values. Retire all three broader memoization/equivalence/eviction assertion aliases; they are not backed by retained source callbacks. No scan-work budget, sustained output, physical terminal or resource measurement is assigned to this removed test. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1674 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1634 removes low-value IPC, filesystem and runtime projections, argument inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained cancellation, ownership, authorization, filesystem and SQLite boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Local macOS evidence covers main-process pending-output and projection-admission caps, saturated-tail wait detection, direct-SSH source retention/accounting, always-on V1 negotiation with legacy peer fallback, exact provider-generation pause ownership, renderer exit/data ordering, decoder input bounds, bounded reconnect scheduling, and WSL stdio transport settlement through deterministic unit contracts. A joined main/runtime oracle exercises renderer-sourced headed semantics and headless-model snapshot semantics without launching a live paired server. Separately, a macOS-hosted Docker OpenSSH run exercises only the deployed Linux relay and direct SSH provider with an exact 256 KiB source-credit plateau, concurrent PTY typing, fixed-size filesystem frames, Git churn, and owner-lease reconnect. Neither deterministic topology labels nor Docker SSH constitute live headed desktop, headless orca serve, or physical WSL evidence; local/daemon, prior-version daemons, Windows named pipes/ConPTY, folder workspaces, and mixed-version clients also remain uncovered. Audit1312 removes low-value imported specs from aggregate test drivers; old whole-driver execution receipts are archived. Retained registrations are unchanged. No equivalent replacement coverage is claimed. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", + "coverageNotes": "Audit3492 composes ROOT-approved75(AUTHOR3475/PEER3476 and AUTHOR3485/PEER3481, including five-field clarification and zero-credit selector3483) plus123(AUTHOR3486/PEER3487 reconciled FINAL3491, including peer case10:3 and9:0 wording clarifications). It intentionally removes198 authored registrations/232 finite literal-table potential registrations across70 changed JS/TS test sources, including45 whole suites;87 authored/90 finite potential registrations remain across95 reviewed JS/TS bodies. One mobile native-suspension manual recipe and the now-unreferenced GitLab mock fixture helper are separately removed with zero registration credit. Static literal table potential is not execution. No equivalent replacement, fresh runtime result or merge credit is claimed. Earlier135 complete dated receipts, all raw gaps and full prior98/161/history notes retain their exact scopes and bytes. The additional123 retirement accepts loss of mocked GitLab request/error/identity/classification inventories; basic Linear migration and metadata discovery; simulated OpenCode key failed-save retention/retry/log redaction; analytics identity-flush smoke that did not prove ordering; AppImage static entry guards and empty-staging cleanup; GPU/process/minidump breadcrumb/annotation shapes and weak redaction oracles; namespace/status/foreign-launcher ownership guards and persistence roundtrips; profile transfer field projections; worker hook/screen/incarnation/result admission/classification guards; and source-coupled CLI transaction fixtures. Privileged publication failure injection was a false-positive: its mkdir regex missed -m 700 and outer rejection accepted an inner assertion before any shell ran. The identity-flush case awaited identity after flush and could pass despite early flush. Retained actual negative-token cache recovery, SQL filter-before-LIMIT open approval, unreadable-root FTS preservation/degradation, latest-connect-wins persistence, worker stop-debt settlement, unmodified same-inode foreign-content transaction, explicit incomplete-pagination error, FTS own-message snippet association, filter-before-route result and bounded-search truncation honesty are distinct bounded outcomes, not replacements for retired alarms. Case9:0 checks both roots before chmod but only mounted-session/degraded-root after chmod. Entire extraction-root suite is removed; no retained extraction cleanup is claimed. Removing the manual iOS foreground-stall shell script loses its unique real native-suspension recipe; timer tests do not replace it. First-match PIDs, indefinite waiting, broad success matching and absent trap cleanup made that diagnostic brittle and able to leave a desktop stopped. The current Windows operational driver remains byte-exact, preserving already-merged removal of orcad-convert and orcad-cli-convert selectors and the retained cmd/powershell/managed CLI lanes. The package skill-sharing release selector loses only the exact already-retired skills-suite token; no extra test credit. Included approved75 retirement account follows (historical proposal labels identify provenance; final198 counts above control): Audit3488 composes ROOT-approved source49(AUTHOR3485/PEER3481, including its immutable five-field clarification) and source26(AUTHOR3475/PEER3476): intentionally removes75 authored registrations/87 finite potential registrations across35 changed sources, including25 whole suites;35 authored/36 finite potential registrations remain in the combined reviewed scopes. Literal table potential counts are not executions. This source-only reduction has no equivalent replacement, fresh runtime result or merge credit. Root unit discovery deliberately loses entire message-row filtering/chunk reconstruction, discussion-pagination rejection passthrough, Linear bearer/stack redaction, new-profile telemetry/default/existing-JSON no-op, WSL user-trigger routing, terminal-delivery refusal, native-chat worker-approval UI, followup-paste routing, live-surface tombstone refusal, activity-bar hydration, fabricated approval-caller policy, child-PATH transformation and branch-review URL/identity suites. It also loses cache roundtrip/mode/fingerprint/fallback/no-op samples; GPU field-shape privacy examples; older auth-probe failure retention; orphan SQLite-sidecar/future-schema admission; usage tie/duplicate/composite-key examples; allocation-name sanitizer/unknown-prefix examples; real worker-and-backup preflight wrapper smoke; and JSONL descriptor-loop truncation. The discussion page contained id-only discussions without notes, so its rejection did not prove a nonempty notes-prefix oracle. The preflight did launch actual worker/backup entrypoints with production internal self-validation; removing its revision/version wrapper deliberately retires that real-entry smoke alarm. The skipped-prefix JSONL keeper rewrites/grows after collecting the suffix and before final validation, not concurrently during parsing. Retained queue rejection/recovery and held/drain mechanisms, recorder nonsettling-provider deadline, corrupt authoritative-DB refusal, legacy cache split migration, merge-added-row indexing, external-frame redaction, and pinned JSONL read/verification/mutation checks are bounded concrete oracles, not equivalent replacements for retired alarms. The full cloud relay cohort/ceiling/control suite is separately removed from the relay package runner, outside root unit discovery; no cloud runtime result is claimed. The Python computer-use benchmark remains unchanged tooling with zero authored/removal credit; no native benchmark trial ran. The package skill-sharing release selector drops only the exact already-deleted skills-suite token, with zero additional removal credit. Prior dated receipts, raw gaps, and complete earlier161/98/history notes remain exactly at their original scopes; no changed-source historical receipt becomes fresh reduced-suite evidence. Included approved26 alarm account: Broad root-unit discovery loses entire ref-label string, hostile/malformed CSV-link rendering, Codex filename-discovery, mocked paged-preview postscan mutation, usage path-containment, real symlink-ancestor, Codex skip RPC, local/remote inference routing, width-preference, and synthetic workspace-document input suites. It also loses the hand-assembled sorted CSV edit example, connect-time JPEG seed and invalid AVCC guard samples, and eight-record/64KiB detector boundary cases. The symlink suite exercised actual kernel traversal; its lost ancestor alarm could omit supplemental local editor watches and leave content stale, not bypass authorization. Retained linked stream cancellation, preview-only save fence, failed-flush dirty-draft preservation, clipboard byte/edit preservation, fragmented AVCC parsing and independent quoted-CSV interpretation checks do not replace these deliberately retired alarms. The stream fixture uses an in-memory source and does not establish actual fd cleanup; editor save endpoints are synthetic, browser events are synthetic, and no native focus, actual remote delivery, real disk write, cross-platform execution or interoperability is claimed. Earlier complete dated receipts, raw known gaps and previous notes are historical evidence at their original source/selector scope, not fresh evidence for this reduced suite. Audit3438 composes ROOT-adopted3434/independent3436: intentionally removes60 authored/62 potential expanded cases across16 sources, deleting9 whole suites. Eight authored/eight potential cases remain; delete the102line unused ACP fixture and57line unused teardown helper with zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses ACP model-catalog fixtures, resume-record projections, dashboard mock payload/state cases, mobile folder/launch/session examples and dictionary pipeline rows. Selected E2E removals also retire auto-conversion and golden-core journeys and one Windows CLI conversion registration. Retain ACP reply text across a resumed subagent, both VAD checks, focused tab send ownership, async focus ownership in happy-dom, the question-skip journey, the original managed Windows CLI lifecycle journey and dictionary substitution. These checks do not replace the removed alarms. Audit3470 composes ROOT-approved AUTHOR3466/PEER3467 source proposal: intentionally removes38 authored registrations/59 finite potential expansions, including8 whole registering suites, retaining13 authored registrations/18 finite potential expansions. The sole dead shell-recipe caller cleanup has zero additional test credit. No equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses process-import boundary, Korean/Japanese locale policy, worker-reset, mobile agent-history/queued-message and median-summary suites, plus packaged mobile-manifest, worker-pool fixture, HTML preview, mobile shell and terminal samples. The environment-provider contract and its sole shell-recipe caller are deleted. Separate cross-version-wire discovery loses the large byte-budget fresh-snapshot/replay sample while retaining independent live same-revision note publication; the retained terminal stale-refresh and dirty HTML draft persistence checks do not replace removed alarms. The source4 unused start/stop fixture hooks are removed; its retained nested failed-import test remains byte-exact with its own lifecycle. Unchanged SVG preview and Git-resolution registrations stay intact. Root balanced CI excludes the cross-version directory, which has a separate job; unbalanced root discovery can include its parent. No native app/device, actual remote, released-pair interoperability or cross-platform execution result is claimed. Audit3468 accepted source proposal AUTHOR3462/PEER3463, composed privately by audit3469: removes62 authored registrations/95 finite potential expansions, including5 whole suites, retaining25 authored registrations/29 finite potential expansions. ROOT approved source value; no equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses the profile-state worker smoke, worker-agent views and three search discovery suites, plus samples from node-server qualification, skill-bundle generation, CLI hooks/profile/recovery/offline admission, permission-hook holds and search indexing. The separate Cloud relay runner loses one relay blackbox sample; unchanged mobile native-chat and dependent-transcript drivers remain. Retained source callback/table/ancestor/fixture bytes bind to the sealed candidate. No physical-device, mixed-version, remote, cross-platform or app execution result is claimed. Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. Broad root-unit discovery loses whole cross-client workspace-sync, terminal-preview, picker-skill-hint and close-routing suites plus reduced worker-stop, remote-owned-record, scanner, mobile-bundle and daemon-health samples. Separate E2E discovery also loses the paired mobile/desktop mirror journey and two unit drivers. Retained callback/table/outer-loop/guard bytes are exact; retained checks do not replace the removed alarms. No app, native device, mixed-version, remote or cross-platform execution result is claimed. Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. Broad unit discovery intentionally loses whole trust-dialog observer, background-turn notifications, redirected session refusal, typed-agent identity, chat-tab lifetime-cost, model-manager and mobile diff-review controller suites, plus individual persistence, synthetic composition, pairing, manifest and subprocess samples. Retain deferred snapshot dirty-domain persistence, two direct editor ownership cases, stream counter-domain distinction, two persisted pairing identity cases, parser entrypoint asymmetry, dictation retry and process-group timeout; paired restart and packaged old-binary/corrupt-profile journeys remain in their E2E driver scope. Retained checks do not replace removed alarms. No fresh execution, native IME/microphone, real authentication, mixed-version/platform or performance result is claimed. Audit3451 composes ROOT-adopted3444/independent3445: intentionally removes101 authored registrations across16 reviewed sources, deleting7 whole suites and reducing8; one reviewed source is unchanged. Fresh main has123 authored registrations before and22 after because an upstream direct-child shell regression remains verbatim with zero removal credit. Registered removals are100+7*S and explicit-active removals99+7*S, where S is the unprobed count0..3 of admitted bash/zsh/fish shells. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses extra stream lifecycle/forwarding examples, unreadable-store/cache projections, orchestration presentation/benchmark cases, remote-owned routing matrices, mobile legacy navigation and model-catalog listing/cache examples. Whole suites retire renderer client-event projections, manually assembled structured-session reader ownership, mobile prompt presentation, renderer AI-vault resume commands, mobile Jira URL lookup, composer retention and mobile folder source-repository queries. Retained checks preserve original stream/store/orchestration/routing/navigation/catalog cases and shell behavior, including the upstream direct-child case. No real provider, native desktop or mobile acceptance is established by this reduction. Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit and mobile discovery loses interrupt/wake registrars, task storage/session-close/account snapshot hooks, permission tables, copy/preference/model-discovery/composer examples, launch placement examples, VM projections and extra mobile-history scenarios. Retained checks cover abandoned versus dispatched fork uncertainty; /fast dispatch supersession; discovery lock release after exit; stale-send draft preservation; OSC status lifetime; future-version file preservation; launch cancellation before/during dispatch on both layout owners; mobile resume addressability before hooks; and recipe snapshot cleanup after plugin removal. The paired browser-link Electron source is unchanged. Terminal launch seams, mobile roles-only history and injected provider results do not establish native terminal destruction, transcript text fidelity or real remote provider cleanup. Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses reduced or deleted relay, coordinator mail, recovery watchdog, automation observer, launch picker, folder PTY, profile restart, web migration, retirement, pointer delivery, agent-row and run-bound mailbox examples. Retained checks cover relay hello/payload and SIGTERM drain, coordinator pending-check and clear-to-Run continuity, profile persistence, the full six-row web merge table and real run-bound delivery waiter. These do not replace removed alarms. Audit3429 composes root-adopted3426/independent3427: intentionally removes168 authored/205 potential expanded cases across16 semantic sources, deleting11 whole suites and one304line unused assertion helper. Five authored/five potential cases remain; the duplicate500k graph row is dropped while its50k row and callback remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted migration/recovery/federation/rich-draft/paste/automation/mobile/catalog examples. Keep server-edit preservation during migration, native supervised cancellation holding the agent home until physical stop, pagehide lost-text preservation, graph old-result WRAPPER WeakRef collection with50k rows, and mobile React render isolation. The WeakRef does not prove all commit objects are collectible or a memory budget. Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted mock orchestration, refusal, restart and storage examples. Retain unchanged two-phase real-WSL deployment/survival, the reduced idle-release holder proof without restart/first-output measurement, real worker stop/release cleanup barrier rows, physical Git branch-preservation rows, and SSH disconnected-close proof. Other SSH and CLI variants and WSL telemetry/warmup churn are intentionally removed. Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. Broad root-unit discovery loses naming/title/queued-host fixtures, main-window focus-shortcut and attach-services mock orchestration, Git Bash console-capacity fake process inventories, most real-Git preparation/locking variants and Claude/Codex catch-up examples. Keep lifetime rejected-writer followed by late termination proof and autonomous real-checkout cleanup; two-row real-Git rollback after a real move preserving a replacement/admin marker or revoked permission; a live translator write during a held transcript read fencing stale Claude history append; and Codex expected-item revision rejection before a historical writer shim. Codex driver registers retained bounds exactly once with original inputs; bounds does not prove modern writer persistence. Accepted changed-lock preflight sentinel and omitted-parent routing losses are not replaced. Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Broad root-unit discovery loses35WSL examples,22STT examples,22shared-server-banner examples,18clipboard-handler examples (whole suite deleted),14VM lifecycle examples and16commit-message cancellation examples. Retain4WSL and7STT mocked connector/worker cases,1rendered stale-banner refusal,2VM guard/failed-compensation cases and1late-stream ownership cancellation case; real WSL/microphone/remote-provider proof is not established. Separately discovered e2e-unit drivers lose13cross-version-wire local cases and15mobile active-publication cases, keeping same-process disk-reopen/new-host cursor content/epoch/sequence outcomes and a host/renderer-snapshot selection and inventory revision race respectively. Imported released stop-note scenarios remain unchanged and receive no duplicate credit. Cloud suites are outside root UNIT_INCLUDE. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. The broad root-unit command loses the UNIT_INCLUDE src/ subset of retired examples; mobile is outside UNIT_INCLUDE. Other lost alarms are recorded by the adopted per-case source reviews. Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3381 composes root-adopted3376/independent3377 and3379/independent3380: intentionally retires436 authored registrations/670 expanded cases, including79 whole suites and12877 test lines, without equivalent replacement. Lost alarms include scheduling, account/host/status/filter/format inventories, microphone/image cleanup, title/bell/capability lifecycle routing, access/impersonation/outcome matrices, paste/input resend/ledger/retention, stale completions/reload containment, trust-read failure and popup OAuth/security/geometry vectors. Retained30 registrations/34expanded cases in22 suites preserve narrower SQLite TEMP/TZ/WAL, HTTP transcript root resume, mobile original-index Choose/Submit, child environment/Git lock expiry, stale ACK/PTY lifetime/peer fairness/durable replay/output ordering, actual DOM paste/editor focus, DEC2026 conservation, filesystem rollback, owned buffer lifetime, actual OSC parser/tracker handback, POSIX Python UTF8/fallback, durable trust concurrency/version, OpenSSH verdicts and hidden Chromium POST/route lifecycle. Mocked boundaries limit claims. Current bounded defining-owner reads preserve the retained oracles; captured identities are not full transitive semantic review. Both component blind pins authenticated before exchange; final reconciliation and explicit postpin3380reason correction supplement control, without retroactive blind claims. Root unit command excludes mobile and separately admitted Electron probes; use existing respective runners. No fresh execution, native focus/device/pixel UI, live SSH/remote, equivalent replacement or broad mixed-version/cross-platform validation is claimed. Prior dated receipts retain exact original scopes. Audit3375 composes root-adopted3370/independent3371 and3373/independent3374: intentionally retires79 authored registrations/84 expanded cases, including39 whole suites, without equivalent replacement. Lost alarms include federation field/parser inventories; Claude rejected-key precedence, credential clone redaction, managed-versus-user hook preservation and CLI defaults; setting/status/activity projections, mocked SSH/notification/reveal/Linear refusal, fake-clock reconnect and noise; image-fold artifact visibility, paste eligibility, setup trust, scripted ACP error-to-journal publication and ligature cache tuple aliasing; plus supplied folder-runner uniqueness, mobile host-overlay/credential/update/preference races, status/markup/title/keyed-row projections, subscriber cleanup, cancellation/close/refusal/link-issue and mirror suppression alarms. Retained3373 merger contiguity, dual-clock overdue-resume exactly-once, rejected-paste IPC sink and annotation schema roundtrip remain bounded. Retained actual HTTP/OSC status composition, destructive sibling-filesystem isolation, external contrast invariant and fixture CSS pixel intervention remain narrower. Original reviewed87authored/92expanded become9/9; current OpenCode suite adds two preserved upstream cases and the synthetic-title suite gained one Cursor policy mock-call case, independently reviewed for removal in root3378; current90/95 become11/11. That Cursor suppression/ready-frame regression alarm is intentionally lost; it does not observe native title ownership or tab flicker. For3370 only the peer was independently blind, with author exposure explicit;3373/3374 both blind pins were verified. This broad root unit command selects the reduced root unit suite; UNIT_INCLUDE excludes mobile tests, which require the existing mobile runner; retained Playwright component-pixel spec uses its separate existing headless fixture runner and is not validated by the broad unit command. No fresh execution, actual agent/shell/provider, OS material/focus, historical import equivalence, mobile, mixed-version or cross-platform evidence is claimed. All dated receipts retain their original scope. Audit3368 composes root-adopted3363/3364 and3367/3369: intentionally retires181 authored registrations/196 expanded cases, including28 whole suites, without equivalent replacement. Lost alarms include hibernation attention/liveness/backoff/sequential teardown and inventory, host launch compatibility/legacy/Kimi/resource cleanup, terminal recovery parser/pause/quarantine/remount, window-visibility omission-fence lifetime, launch-option rendered Start, sleeping-resume saved recipe/WSL quoting/cancellation, plus removed project/window/input variants. Additional tiny-suite losses include sentence/label/field/default inventories, credential omission, Windows argument/environment mapping, URI decoding, diagnostics, provider classification and fake-clock callback/parser examples. Retained ten registrations/twelve expanded cases include two literal Unicode Mn/Cf zero-width range guards in the actual character-range algorithm and protect narrower delayed editor bytes/destructive ownership, mounted hidden collision repair, ten transport epochs, duplicate-command refusal, caller timeout typing, executor unknown-opener refusal and failed-chunk user bytes. This broad unit command selects the reduced suite; no fresh runtime, real provider/network/PTY, filesystem restart, native UI, historical import equivalence, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3362 composes root-adopted3358/independent3360: intentionally retires129 authored registrations/140 expanded cases, including four whole suites, without equivalent replacement. Lost alarms include supplied orphan-adoption retry/malformed inventory/cancellation; fake-terminal replay parser/wedge/disposal callbacks; all-host catalog metadata and Windows preferences; host keepalive/protocol/stale/settings failures; and removed exact-stop/suppression, source save lifetime, diff-note queue, rename/editor close, input flood/chunk refusal/limits, purge and creation examples. Retained18 registrations/21 expanded cases protect narrower ownership, generation, dirty-state, queue convergence, encoding and attachment-lease outcomes. No replacement or keeper quota claim. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY/xterm parser, disk restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3359 composes root-adopted source3355/independent3356: intentionally retires130 authored registrations/139 expanded cases, including eight whole suites, without equivalent replacement. Lost alarms include strict create naming/capability/legacy payloads; supplied transport host replacement, deadline reattach, create-handoff and split activation; agent-session fork/clipboard/platform flags; shutdown cleared-scrollback/unmounted bindings; simulator host-collision/selection/shutdown; and removed editor, catalog, mutation, launch and status examples. Retained12 adverse-ordering/state-consequence cases are narrower and do not replace all removed alarms. Two queue absences receive zero removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY, filesystem restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3349 composes adopted batches3343,3345 and refreshed3354: intentionally retires234 authored registrations/294 expanded cases, including13 whole suites, without equivalent replacement. Lost alarms include supplied terminal reconnect/replacement/typeahead/mirror/result and snapshot examples; synthetic render-desync persistence/recovery; worktree listing/owner/catalog/lineage/removal and activation/creation examples; host-scoped PR and task-record projections; editor diff/status/comment and UI send-target examples; automation observation/wake, supplied sleep/deadline clock and native-chat completion/notification/relaunch samples; held-tab layout and cleanup/progress guard examples. Retained adverse-ordering and wire-boundary cases are narrower and do not replace all removed alarms. The already-upstream visibility-resume deletion receives zero new removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH, native process/power/GPU, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3342 composes adopted source batches3333/3334,3336/3337 and3340/3341: intentionally retires180 authored registrations/263 expanded cases, including seven whole suites, without equivalent replacement. Lost alarms include corrupt editor hydration; mobile editor/diff publication and privacy projections; stale-resubscribe routing; model-picker projection/refetch/retry/fallback; editor check-details and frame property inventories; latched-pane cleanup/quiescence; client create replay identity/options/compatibility; and removed owner, async routing, terminal and layout examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts keep their original scope. Audit3335 composes adopted source unions3327/3328 and3330/3332: intentionally retires100 authored registrations/123 expanded cases, including ten whole suites, without equivalent replacement. Lost alarms include seeded host persistence/contention and stale-host cleanup; browser snapshot assembly; mocked wake/DPR callbacks and frame budgets; preflight projections; palette authority/cache suppression, URL intent and saved-title cross-repo collisions; metadata coverage/set patch and dropdown assembly; and removed terminal, worktree, review-refresh and owner-routing examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI/GPU/focus, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain only their original scope. Audit 3318 composes adopted sources 3310, 3313 and 3317: intentionally retires 71 authored declarations and 102 expanded cases, including whole terminal-detach agent-retention, seeded batch/single open-files equivalence, shallow context-menu shortcut-badge, mocked active-workspace delete-dispatch, workspace session hydration, SSH target cleanup, editor session hydration and worktree terminal purge suites. Lost alarms include chained transfer alias and immediate close/exit retention; batch/single divergence, survivor/selection/map preservation and input nonmutation across 400 imperative seeds (one registered case); disconnected pending-handle retry, authoritative absences/close-record shortcut/older-host absence and published-presence/unpublished-frame examples; published empty host-graph omission to pane exit; legacy search ranking/exclusion fallback; provider request upgrade/dedupe/finalizer ownership; asynchronous PR suppression/primary-change and same-number different-repository URL rejection. Deletion routing loses host/instance qualification, paired and legacy mapping, folder ownership, active-versus-hover/menu-row selection, ambiguity, modal/editable/creation/view/main/deleting/missing guards and shortcut advertisement. Unchanged real keyboard/hover/confirmation/catalog E2E remains narrower, not an equivalent replacement. Additional losses include scripted old-host disk/UTF-8/noop/baseline and landed/unlanded lost-reply/replacement-retry outcomes; ordinary/repeated healthy-link reattach; cross-owner terminal/chat binding; oversized replay permanent-unavailable classification; floating reveal keyboard ownership/close/disable/listener disposal; naming/retained-turn/Sleep/error/close/reject status tables; SSH membership prune/new-target-only reads and environment/local bucket isolation; same-frame receipt capacity and positive bare/headless publisher readmission. These actual regression alarms are deliberately lost; no fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit 3312 composes adopted sources 3302 and 3308: deliberately retires 33 authored declarations and 36 expanded cases, including the whole backend startup-focus, active-browser IPC-close-routing, remote-browser-creation and agent-terminal-presence suites. Intentionally lost alarms cover distinct six-pane reconnect handles; SSH host label/Connect callback, unhydrated visit cleanup, repo cache aliases and hidden worktree/tab/PTY cleanup; adopted-agent startup focus and viewer navigation/reuse; staged, pageless, source, stale and orphan browser-close routing; web local-materialization refusal, desktop incapable-host fallback, failed/thrown remote creation and paired-web sign-in refusal; BOM/NUL and remote/local custom-editor byte-read examples; immediate folder activation and unread clearing; and batching idle/coalescing, accumulated byte ceiling, leading-edge-disabled, standalone synchronous oversize rejection, validation yield, deferred pending-tail order and both viewport-clear examples. The newly reintroduced agent-terminal-presence suite also loses actual terminal-status membership positive and nonterminal-status callback suppression alarms, including the recent 40916 guard regression; the older different 2133 presence-suite history remains historical and receives zero duplicate removal credit. These real regression alarms are intentionally lost. The unchanged survivors provide narrower coverage, with no equivalent replacement or fresh gate, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation claimed. Audit 3301 combines adopted source batches 3296 and 3299: retire 27 authored declarations and 36 expanded scenarios, including six whole suites. Intentionally lost alarms cover failed-verification/recovery/restart counters and mocked hosting/toast; early overlapping pane-read scheduling/count; unreadable removal listing draft guard; bulk-purge remote-qualified and raw-local guard maps; initial-snapshot blank/mode/oversize/printable/fresh-spawn callback and replay examples; fallback mobile file close and ordinary MRU; default queue overload/drain; seeded browser-page reuse and supplied missing-page URL recreation; ambiguous sleep/hibernation owner refusal and untouched bindings/origins; ordinary selection/activity/fallback priority; skip-remote success and retained hints; supplied structured-chat unsent retention and scoped removal draft eviction; caller-chat focus precedence; open/draft PR cache eviction and merged-head fallback result inventories. Retained adverse-ordering and ownership cases are narrower and do not establish equivalent replacements. No fresh runtime, native, physical provider, cross-platform, mobile or mixed-version evidence is claimed. Audit 3292 combines adopted 3285/3287/3289/3293 removals: 40 authored declarations and 47 expanded scenarios, including whole frame-editor-view, ambiguous remote-delete-refusal, unverifiable-host subscription and editor-close cleanup suites. The previously reviewed dock-badge suite was already removed upstream in PR 40895 and receives zero new removal credit. Intentionally retired alarms include background browser selection and last-tab landing; main startup fallback, SSH project cleanup/survivor routing, exact-PR contradiction/saved-push positives, replay/sidecar rollback and wrapped remote error normalization; records/snapshot missing-diff hydration, ambiguous folder-owner delete refusal, focus no-op notifications, nested editor context-only cache check, pending broadcast-first status and ordinary four-confirmation aggregation; preview-source frontmatter pruning, approved local/runtime agent dispatch, non-GitHub legacy PR cache invalidation, stale merged-head transient-error fallback, empty-queue immediate query reply and unverified-to-concrete preflight risk. Additional intentionally retired alarms are injected host subscription/unsubscribe counts, synthetic editor reveal/draft/fallback/scoped close, ambiguous unread refusals and hidden mark/read roundtrip, immediate connect backoff/noError, positive mirrored evidence-clock renewal, supplied VM failure/success projections and git-local/folder-SSH wake permutations. Remaining temporal/ownership cases are narrower; no equivalent replacement or fresh execution is claimed. Audit 3283 removes 20 authored declarations and 31 expanded scenarios, including two whole suites. Retired alarms cover PR refresh-state pruning, shared runtime subscription cleanup and store isolation, language content-change routing and older completion ownership, ordinary panel retry-timer cleanup and pending loading, four hosted-review lifetime permutations, mocked terminal creation error/order wiring, five sleep-inventory variants with pending-frame-only assertions, palette fallback/composite highlights, Windows/UNC encoded-editor input rows, mixed-repository partial failure counts, title setters and generated-title bypass/replacement, five window-close coordinator delegation/guard/finally branches, and ambiguous-old-record frame reveal. These regression checks are intentionally lost under the test-value audit; retained cases are not equivalent replacements. Prior coverage notes and receipts remain historical. Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims. Audit 3256 removes these specific alarms from the broad root unit commands: skill dialog active-share selection, close and pending-share handoff; simple keyed-record deletion; marker live-region insertion, simple landing and nine baseline policy examples; General search/control navigation inventory; orphan-count cache bootstrap; seven Codex code classifications and HTTP 429 warning mapping; two skill unread-root verdict examples; peer-mail payload and conversation-ID rejection; and the GitHub organization TABLE text-field optimistic rollback/failed-envelope example. These include real behaviors; retained tests do not provide equivalent coverage for every removed scenario. Mobile losses are recorded separately and are not coverage of these root commands. Audit3246 retires NewRowsMarker reveal/no-repeat and pane-scoped beforeinput checks; skill-owner option availability/count/dedup/order; six styled Input/Textarea IME forwarding rows; the static Codex/OpenCode smart-key inventory; tab-map AST ratchet diagnostic fixtures; child-roster work-budget and retained-aggregate alarms; malformed persisted floating-cwd fallback/no-crash/empty exact-root checks; the unanswered-host empty-list discriminator; the direct invalidated-cache commit-false assertion; one redundant digit-keyup IME row; cached non-supported Claude title-generator rows; and the duplicate late naming-result singleton. These root broad commands lose those specific alarms without equivalent replacement. Distinct retained owner/state checks have their own bounded claims; the real scheduler still rejects stale response data, while the direct false-return alarm is retired. Audit3231 retires supported-host restore-pane key mapping, closed/open creation-sidebar toggle visibility, unrelated scope-error/null classification and quick-submit reveal/no-create checks. These broad commands lose those real narrow alarms; no replacement coverage is claimed. Audit3219 removes the synthetic Cmd+J extra-source suite; this broad command no longer checks its match/tie placement and selection, announced count, empty-query cap, or workspace hiding with retained recent tabs. No replacement coverage is claimed. Audit3209 composes approved sources3202/3206: deliberately retires seven authored/expanded cases in four whole suites without equivalent replacement. Work-item queries lose real GitHub/GitLab oversized ASCII secret-prefix empty-query and whitespace-before-trim refusal alarms; inputs share the imported size bound and exercise only its fast length branch, with no multibyte or actual provider/exposure guarantee. Skill sharing loses complete/partial managed-bundle and destination-ambiguity association checks plus three negative origin/path/scheme admission examples; these do not establish uploaded contents, arbitrary-URL fetching, authorization or execution. Retain exact originless-project direct-link fallback, cloud-delete confirmation, bundled-target repair/owner isolation and explicit Windows-host preference over stale WSL suites. Rejected3201 runtime-preference removal is excluded. No real cloud/network/host/disk, mobile or mixed-version execution validation is claimed. Audit3200 composes approved source3194: deliberately retires thirteen authored registrations/twenty-seven expanded cases in six whole automation host/list policy suites without equivalent replacement. Real RPC category/retryability and wrapped-timeout recognition, unscoped-failure/scoped-success health evidence precedence, exact-ID create selectors and per-run workspace omission, paired-web local/SSH/absent host catalog routing, incompatible/removed/unhydrated/offline execution health, runtime-before-nested-SSH recovery dispatch, and no-owned-focus/successor/foreign-list focus policy alarms are consciously lost. Retain exact20line orphan allow/refuse/precondition and exact90line cross-host same-ID search suites. No retry-timer/fence lifecycle, actual reconnect/network/write delivery, native focus, mobile/mixed-version runtime or disk persistence coverage is claimed. Audit3191 combines approved source3182/3187/3188: deliberately retires thirteen authored Vitest registrations and fifteen expanded cases, including five whole suites, without equivalent replacement. Attachment intake loses real portal/native-capture terminal interception and unowned-container refusal, immediate child-only committed availability/claim-ref negotiation and delivery, and direct-target over stable focused/background composer routing through disable/re-enable/remount and independent question focus. Exact destination/cache/draft and final-stat owner/workspace/File-release suites remain; they do not replace Surface recipient routing. Automation authoring loses destination runtime catalog membership, local/direct-SSH exclusion of paired-runtime repos, unknown-runtime empty catalog, logical project/host/setup/repo/path context payload, and missing/nonready setup refusal; these were genuine direct helper alarms, while exact schedule transformation, legacy schedule and setup-decision suites remain. Agent picker loses setup-chat/terminal/missing-installer/unsupported-or-unknown-host row projection samples and the ordinary unsearched menu variant; the entire original26-line resume recipe suite remains, including reported bypass versus default/absent permission modes, as does the exact search-result menu callback with its fixtures, model/effort commits and staged Arguments reopen outcome. Rejected predecessor3180 full recipe deletion is excluded. No actual native drag/cursor/focus/IME, upload bytes or disk/restart persistence, full automation save/scheduler/runtime transport, real resume-process flags/environment delivery, or native menu/rendered layout validation is claimed. Audit3178 combines source3169/3170/3175: deliberately retires eight authored units (six Vitest cases and two imperative custom relay scenarios), including two whole suites, without equivalent replacement. Voice Section loses per-model pending-delete isolation across interleaved A/B completion and the two-success refresh-call alarm; exact VoicePane delayed key-clear/newer enabled-toggle merge remains and does not replace row deletion coverage. Speech loses dedicated rating-scale/inclusive-ceiling, unsupported-versus-unmeasured, explicit/system-language precedence/locale alias, accuracy versus fast named/default/best-measured selection, and unmeasured/no-match examples; exact offered-user-pick versus retired-selection case and its fixture remain. Relay loses legacy ping-delivery count/liveness sampled before the silence deadline and grouped malformed Bearer/host-ID 401/429 routing checks; twelve real Worker/DurableObject/shipped-client scenarios remain, not equivalent replacement for those narrow alarms. Six prior speech cases are not all deleted: approved successor3175 keeps the original user-choice case. No actual credential/file persistence, native/GPU/engine/download delivery, production assignment policy or deployed-runtime validation is claimed by this reduction. Audit3165 combines source3160/3162: deliberately retires six authored/expanded cases across three whole suites without equivalent replacement. Launch/status losses: observed React-render pending/resuming coordination across settings and deferred offer read; stale-offer reread suppressing dialog reopen; held-local-chat recovery visibility with new-chat preferences off; disabled-local admission avoiding offer RPC despite an injected but unconsumed paired-tab fixture; and run-only lost-reply uncertainty reachability until direct viewed-run retirement. Launch probe does not prove arbitrary synchronous-store atomicity, the paired fixture is not remote runtime enrollment, and the status case directly marks viewed state rather than rendering the summary. Crew-hook losses: old-host method_not_found cache persists across party changes but is released by independently supplied connection generation/verified pairing status or pairing revision, with actual frame publication and teardown. These are real narrow coordination, admission, uncertainty and mixed-version cache alarms consciously lost. Exact web verified-runtime writer handoff guard remains; it does not replace those alarms or prove live host/native/mobile delivery. Audit3156 combines3147/3150/3152/3153/3154: deliberately retires39authored/40expanded native-chat recovery cases, eight whole suites and two orphan test-support files without equivalent replacement. Lost alarms: lost-reply unconfirmed reconciliation, skipped rows/counts and missed-frame repair, unknown/pending outcome and omitted-failure-list compatibility, uncertain history after dismissal, retry/refusal/dismiss lifecycle, hidden/consumed picker ownership, result-tree keyboard focus/disclosure and all-skipped retirement; unconfirmed-over-conflict guidance and failed-chat changes despite older host timestamps; nearest-listed ancestor/cyclic forest shape, descendant membership, host ordering/missing-host local fallback; skipped/readiness/admission counts, provisional skip/progress monotonicity, early per-chat verdicts with batch pending protection, older-host waiting, start-slot/delivery distinction, retry-over-failure and unknown-after-withdrawal attention; remote snooze/reconnect/reoffer, unseen mixed summary through open/close, watched completion retirement, new success beside old failure, failed-reread mixed-result preservation, filter/collapse completion resets, retry summary replacement and current-offer/history selection; cross-host workspace identity, rendered cyclic reachability, nested tri-state/toggle propagation, project eligibility isolation and collapse preserving selection. Exact fallback-list completion barrier, batched verdict/cleanup retention, stale-read versus dismissal publication race, and requested-but-never-rendered finished-run retirement remain; they do not replace retired alarms. Audit3146 combines source reviews3132/3133/3135/3138/3143: intentionally retire20authored/31expanded cases without equivalent replacement. Provider-session losses: structured-native terminal-resume exclusion, metadata-less completed identity, new-turn completion clearing, Pi provider-only/periodic/manual promotion, changed-transcript launch-config isolation, Pi/omp/prime-agent completed-session remote/manual-shutdown promotion, and quit/done precedence over heartbeat. Side-thread/question losses: finished-pane acquisition, hidden title/recap states, local/relay/relay-done conversation takeover with prompt/session/child resets, plain-message abandonment, compaction/session replacement and completion resets. Codex startup losses: incoming-owner cached child replacement, old-relay foreign live-session correction, completed foreign-root turn-fact permutations. Transcript losses: real temporary-JSONL partial sibling/final-child completion, unlabelled child attribution, compact cached replay preservation and100/1000completed-child roster retention/release. Compiler-ratchet losses: valid-line uncompiled-list parser grammar examples and injected-existence stale-path filtering; these did not exercise actual filesystem canonicalization or build exclusion. These are real lifecycle, ownership, replay, liveness and retention alarms, including recent#40246 regressions, deliberately lost. Retained conditional record replacement, clockless root/SSH owner isolation, persisted main-thread fork rejection, partial/final question-answer lifetime, cached-roster/missing-ID/live HTTP/durable startup boundaries and restarted-relay refusal/acceptance do not replace those losses. No native/SSH/WSL execution or equivalent coverage is claimed. Audit3128 scoped coverage reduction: Audit3121 removes VoiceDictationLanguageSetting.test.tsx (Spanish-to-es callback and unsupported-model Korean option presence) and voice-speech-model-rows.test.ts (provider/language-order/retired-on-disk list policy); these real narrow alarms are deliberately retired without replacement. VoiceSpeechModelSection per-model concurrent deletion remains unchanged. Audit3122 removes the direct absolute/parent-segment sparse-directory exception-type sample and the five-row IPC sparse-preset error-code/non-save table (two authored/six expanded cases). Those real typed-validation and IPC refusal/error-code alarms are deliberately retired. Keep both real symlink/junction floating-directory trust cases and the minimal RPC structured validation-reason serialization case. The RPC case does not replace IPC save/refusal behavior, typed normalization for both path inputs, actual Git sparse checkout or rendered localization. No equivalent replacement or fresh test/runtime/platform/remote/performance validation is claimed. Audit3124 removes ExperimentalPane.test.tsx (ordinary Pet switch callback), WorkspaceDirectorySetting.test.tsx (padded absolute saved-path normalization/no-write blur), and repository-search.perf.test.ts (navigation/selected-pane builder-call policy, fixture cardinality/nonempty entries and renamed project keyword inclusion). These real narrow alarms are retired without replacement; RepositoryPane.search.test.tsx search-to-sparse-editor request remains unchanged. Audit3129: resolver Windows case-insensitive and POSIX case-sensitive configured-env composition plus mocked-base launch-preflight Windows composition are intentionally no longer checked by the two deleted suites. No equivalent coverage claimed. Keep runtime-structured-agent-host-env.test.ts unchanged: configured Windows Claude-home account identity and host-account precedence remain checked. Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Module layout SSH policy: Retire the multiplexer private-clock saturation registration, the writer saturation transition-count registration and the changed-source dated writer/backpressure receipt. Retained byte delivery, lane order, fairness, settlement and cancellation cases are unvalidated by that historical receipt. No equivalent replacement, new execution, measured performance, live SSH/WSL or cross-platform proof is claimed. The unchanged WSL protocol receipt retains only its original command scope. Historical prior account (preserved verbatim): Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2070 (sources2068/2069): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/hooks-and-hosted-review.spec'). src/main/ssh/ssh-multiplexer-transport-writer.test.ts: reports saturated epochs and their drain boundary exactly once. src/main/runtime/orca-runtime-tests/worktree-removal-archive-hook-gate.spec.ts: removes and records the waiver when the failure is explicitly overridden; removes without an override record when the hook succeeds; removes when the hook is configured but not requested; removes when no archive hook is configured; holds a desktop removal in the same repo until this one is accepted; joins a desktop removal of the same worktree accepted while this one waited. src/main/runtime/orca-runtime-tests/worktree-ps-agent-row-dismissal.spec.ts: drops the row as soon as the user dismisses it, without waiting for the PTY to exit; tells paired clients to republish on the transition and on the dismissal; rejoins a row through its %s handle after pane ownership clears. src/main/runtime/orca-runtime-tests/hooks-and-hosted-review.spec.ts: reports an error when the SSH filesystem provider is unavailable; reports an SSH orca.yaml as an error without reading any filesystem; reports ok for a local repo hook check; reads SSH issue commands as absent and drops writes without touching any filesystem; allows host integration slug helpers for SSH repos through provider-aware GitHub clients; routes runtime GitHub repo identity helpers through the selected WSL project runtime; routes runtime GitHub issue and work-item actions through the selected WSL project runtime; pins explicit origin preference on runtime open-by-number work item lookups; forwards check-details cancellation without local Git overrides. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. The historical receipt/currentCommand selecting src/main/ssh/ssh-multiplexer-transport-writer.test.ts remains historical and is not a passing result for the reduced current command. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Delete the complete tail-wait memo suite: its sole current authored callback checks supplied fromTail/blocked field values. Retire all three broader memoization/equivalence/eviction assertion aliases; they are not backed by retained source callbacks. No scan-work budget, sustained output, physical terminal or resource measurement is assigned to this removed test. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1674 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1634 removes low-value IPC, filesystem and runtime projections, argument inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained cancellation, ownership, authorization, filesystem and SQLite boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Local macOS evidence covers main-process pending-output and projection-admission caps, saturated-tail wait detection, direct-SSH source retention/accounting, always-on V1 negotiation with legacy peer fallback, exact provider-generation pause ownership, renderer exit/data ordering, decoder input bounds, bounded reconnect scheduling, and WSL stdio transport settlement through deterministic unit contracts. A joined main/runtime oracle exercises renderer-sourced headed semantics and headless-model snapshot semantics without launching a live paired server. Separately, a macOS-hosted Docker OpenSSH run exercises only the deployed Linux relay and direct SSH provider with an exact 256 KiB source-credit plateau, concurrent PTY typing, fixed-size filesystem frames, Git churn, and owner-lease reconnect. Neither deterministic topology labels nor Docker SSH constitute live headed desktop, headless orca serve, or physical WSL evidence; local/daemon, prior-version daemons, Windows named pipes/ConPTY, folder workspaces, and mixed-version clients also remain uncovered. Audit1312 removes low-value imported specs from aggregate test drivers; old whole-driver execution receipts are archived. Retained registrations are unchanged. No equivalent replacement coverage is claimed. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", "motivatingLinks": [ "https://github.com/stablyai/orca/pull/6836", "https://github.com/stablyai/orca/pull/6858", @@ -9229,7 +8884,7 @@ "https://github.com/stablyai/orca/pull/7054" ], "invariant": "High-volume terminal output must stay bounded across daemon socket writes, SSH relay writer/decoder/source retention/reconnect, main model and projection admission, runtime metadata, detectors, and tail checks, main-to-renderer in-flight bytes, renderer scheduler queues, and hidden-output restore without starving focused input. Every new SSH session offers V1 and every same-build relay supports it; legacy delivery is reachable only when capability negotiation proves the peer cannot use V1. Negotiated SSH spans remain exact and contiguous through activation, exit, cancellation, recovery, desktop projection, and required remote replacement; provisional activation data cannot project, reconnect may release it only into the exact attempt's private recovery quarantine after contract validation, and exit seals that quarantine against later same-token frames until ordered admission or exact cancellation proof. Reconnect checkpoint capture freezes exact provider-generation/PTy admission, cancels queued old work, and waits for the running raw completion before exposing its accepted checkpoint; timeout or failure detaches only that PTy's old model, makes the checkpoint unavailable, and releases the bounded fence without closing the shared provider, while the same failure outside an active exact migration remains generation-fatal and overlapping reconnects preserve any earlier outstanding fence. Pending renderer projection IDs are capped and compacted across split remainders, exit preparation owns its renderer fence through finalization, exit-time cancellation transfers published projections before proof commit, generation close fences late proof while draining exact projection waiters, closed-generation identity compacts without weakening stale rejection, canceled source-delivery retirement retains at most one ordered token per PTY, and pause/resume targets only the exact provider generation. Additional subscribers cannot stall the owner, while the required legacy primary retains backpressure.", - "oracle": "Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Module layout SSH policy: Retire the multiplexer private-clock saturation registration, the writer saturation transition-count registration and the changed-source dated writer/backpressure receipt. Retained byte delivery, lane order, fairness, settlement and cancellation cases are unvalidated by that historical receipt. No equivalent replacement, new execution, measured performance, live SSH/WSL or cross-platform proof is claimed. The unchanged WSL protocol receipt retains only its original command scope. Historical prior account (preserved verbatim): Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2070 (sources2068/2069): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/hooks-and-hosted-review.spec'). src/main/ssh/ssh-multiplexer-transport-writer.test.ts: reports saturated epochs and their drain boundary exactly once. src/main/runtime/orca-runtime-tests/worktree-removal-archive-hook-gate.spec.ts: removes and records the waiver when the failure is explicitly overridden; removes without an override record when the hook succeeds; removes when the hook is configured but not requested; removes when no archive hook is configured; holds a desktop removal in the same repo until this one is accepted; joins a desktop removal of the same worktree accepted while this one waited. src/main/runtime/orca-runtime-tests/worktree-ps-agent-row-dismissal.spec.ts: drops the row as soon as the user dismisses it, without waiting for the PTY to exit; tells paired clients to republish on the transition and on the dismissal; rejoins a row through its %s handle after pane ownership clears. src/main/runtime/orca-runtime-tests/hooks-and-hosted-review.spec.ts: reports an error when the SSH filesystem provider is unavailable; reports an SSH orca.yaml as an error without reading any filesystem; reports ok for a local repo hook check; reads SSH issue commands as absent and drops writes without touching any filesystem; allows host integration slug helpers for SSH repos through provider-aware GitHub clients; routes runtime GitHub repo identity helpers through the selected WSL project runtime; routes runtime GitHub issue and work-item actions through the selected WSL project runtime; pins explicit origin preference on runtime open-by-number work item lookups; forwards check-details cancellation without local Git overrides. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. The historical receipt/currentCommand selecting src/main/ssh/ssh-multiplexer-transport-writer.test.ts remains historical and is not a passing result for the reduced current command. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Delete the complete tail-wait memo suite: its sole current authored callback checks supplied fromTail/blocked field values. Retire all three broader memoization/equivalence/eviction assertion aliases; they are not backed by retained source callbacks. No scan-work budget, sustained output, physical terminal or resource measurement is assigned to this removed test. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1674 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: The current executable slice injects main-process renderer backlog pressure, then asserts ordinary terminal-wait detection without a joined-tail allocation and with full prompt-family continuity, per-PTY and total pending-output caps, a 1,024-ID projection cap with split-remainder compaction, preserved sequenced-tail metadata, active-pending protection ahead of background trimming, exact provider-generation pause ownership, renderer exit/data ordering, and ACK-gated in-flight bounds. The negotiation seam proves every initial connection and reconnect offers V1, the same-build relay advertises V1 without launch flags, old clients remain token-free, and method-not-found peers fall back without installing source ACK publication. The joined source-intake/multiplex oracle blocks renderer or headless serialization, admits one snapshot-covered span and one trailing span, requires replacement reservation only after the authoritative sequence is known, advances upstream ACK eligibility exactly to the covered boundary after SnapshotEnd, and delivers then ACKs the trailing span through the ordinary live path without cancellation. Source-range ledger and multiplex seams additionally require cumulative byte ACK 40 then 100 for one 100-byte frame to release exact byte credit without early source settlement, admit a contiguous higher-generation recovered token while the prior token remains unsettled, and reject stale stream or source generations without releasing in-flight byte credit. Replacement reservation rolls back every earlier span on a later failure, commit requires the exact frozen transfer states, and an authoritatively reclaimed covered span rejects commit without local trim authority while rollback removes the reservation idempotently. The exit-deadline oracle publishes a source-backed desktop projection, advances a fake clock to cancellation, and requires one projection transfer, proof commit, preparation, and final exit with no provider close, retained obligation, duplicate finalization, or process-lifetime cancellation tombstone; a second controlled proof remains pending across generation close and must never publish final exit, while both paths release the renderer preparation lease exactly once. The model-migration oracle accepts span A, blocks span B's raw emulator completion, begins disconnect migration, and proves no checkpoint or reconnect attach can remain at A; releasing B advances the exact checkpoint to B and projects B once. Its fake-clock arm reaches the 10-second deadline, requires checkpoint-unavailable, one exact model reset, zero retained admission charge and timers, and no effect from late raw settlement. Its two-PTY failure arm rejects one running raw callback under an active exact migration and requires one checkpoint-unavailable result, one model reset, zero provider closes, retained sibling checkpoint and transport liveness, zero charges and timers, and an unaffected other generation; a non-migrating sibling oracle still requires generation close. The intake additionally closes 2,048 sequential provider generations into one exact range, rejects stale events across that range, and preserves an out-of-order live gap until its own close. Direct-SSH contracts additionally prove activation-response settlement before the first source frame, claim-gated projection under same-decoder-turn response/data delivery, exact early-ACK reservation through send settlement or same-token retry, recovery completion visible before lease-held frames transfers those frames only into the private quarantine and admits no output until exact checkpoint-to-recoveryEnd coverage, invalid-checkpoint restore retention through response settlement followed by fresh-token retry and one live source frame, isolated saturated-subscriber eviction with healthy owner liveness, preserved legacy-primary backpressure, one-write ownership across write(false)/drain, control selection ahead of queued ordinary PTY input with FIFO lanes and bounded fairness, liveness rebasing, failed-exit retention through late ACK or exact recovery, response-settlement cancellation authority, token-scoped exit cancellation, exact checkpoint-to-recoveryEnd continuity, stale-owner one-shot retry, no physical PTY teardown on recovery failure, exact provider-generation closure and once-only cleanup when recovery cancellation publication or proof rejects, 16 MiB-plus-1 MiB decoder caps, charged per-PTY/session retention budgets, and eight-wide isolated reattach. The live Electron perf oracle adds hidden-output floods, renderer scheduler queue depth, dropped-output-zero normal scenarios, and active key latency budgets before promotion.", + "oracle": "Audit3492 composes ROOT-approved75(AUTHOR3475/PEER3476 and AUTHOR3485/PEER3481, including five-field clarification and zero-credit selector3483) plus123(AUTHOR3486/PEER3487 reconciled FINAL3491, including peer case10:3 and9:0 wording clarifications). It intentionally removes198 authored registrations/232 finite literal-table potential registrations across70 changed JS/TS test sources, including45 whole suites;87 authored/90 finite potential registrations remain across95 reviewed JS/TS bodies. One mobile native-suspension manual recipe and the now-unreferenced GitLab mock fixture helper are separately removed with zero registration credit. Static literal table potential is not execution. No equivalent replacement, fresh runtime result or merge credit is claimed. Earlier135 complete dated receipts, all raw gaps and full prior98/161/history notes retain their exact scopes and bytes. The additional123 retirement accepts loss of mocked GitLab request/error/identity/classification inventories; basic Linear migration and metadata discovery; simulated OpenCode key failed-save retention/retry/log redaction; analytics identity-flush smoke that did not prove ordering; AppImage static entry guards and empty-staging cleanup; GPU/process/minidump breadcrumb/annotation shapes and weak redaction oracles; namespace/status/foreign-launcher ownership guards and persistence roundtrips; profile transfer field projections; worker hook/screen/incarnation/result admission/classification guards; and source-coupled CLI transaction fixtures. Privileged publication failure injection was a false-positive: its mkdir regex missed -m 700 and outer rejection accepted an inner assertion before any shell ran. The identity-flush case awaited identity after flush and could pass despite early flush. Retained actual negative-token cache recovery, SQL filter-before-LIMIT open approval, unreadable-root FTS preservation/degradation, latest-connect-wins persistence, worker stop-debt settlement, unmodified same-inode foreign-content transaction, explicit incomplete-pagination error, FTS own-message snippet association, filter-before-route result and bounded-search truncation honesty are distinct bounded outcomes, not replacements for retired alarms. Case9:0 checks both roots before chmod but only mounted-session/degraded-root after chmod. Entire extraction-root suite is removed; no retained extraction cleanup is claimed. Removing the manual iOS foreground-stall shell script loses its unique real native-suspension recipe; timer tests do not replace it. First-match PIDs, indefinite waiting, broad success matching and absent trap cleanup made that diagnostic brittle and able to leave a desktop stopped. The current Windows operational driver remains byte-exact, preserving already-merged removal of orcad-convert and orcad-cli-convert selectors and the retained cmd/powershell/managed CLI lanes. The package skill-sharing release selector loses only the exact already-retired skills-suite token; no extra test credit. Included approved75 retirement account follows (historical proposal labels identify provenance; final198 counts above control): Audit3488 composes ROOT-approved source49(AUTHOR3485/PEER3481, including its immutable five-field clarification) and source26(AUTHOR3475/PEER3476): intentionally removes75 authored registrations/87 finite potential registrations across35 changed sources, including25 whole suites;35 authored/36 finite potential registrations remain in the combined reviewed scopes. Literal table potential counts are not executions. This source-only reduction has no equivalent replacement, fresh runtime result or merge credit. Root unit discovery deliberately loses entire message-row filtering/chunk reconstruction, discussion-pagination rejection passthrough, Linear bearer/stack redaction, new-profile telemetry/default/existing-JSON no-op, WSL user-trigger routing, terminal-delivery refusal, native-chat worker-approval UI, followup-paste routing, live-surface tombstone refusal, activity-bar hydration, fabricated approval-caller policy, child-PATH transformation and branch-review URL/identity suites. It also loses cache roundtrip/mode/fingerprint/fallback/no-op samples; GPU field-shape privacy examples; older auth-probe failure retention; orphan SQLite-sidecar/future-schema admission; usage tie/duplicate/composite-key examples; allocation-name sanitizer/unknown-prefix examples; real worker-and-backup preflight wrapper smoke; and JSONL descriptor-loop truncation. The discussion page contained id-only discussions without notes, so its rejection did not prove a nonempty notes-prefix oracle. The preflight did launch actual worker/backup entrypoints with production internal self-validation; removing its revision/version wrapper deliberately retires that real-entry smoke alarm. The skipped-prefix JSONL keeper rewrites/grows after collecting the suffix and before final validation, not concurrently during parsing. Retained queue rejection/recovery and held/drain mechanisms, recorder nonsettling-provider deadline, corrupt authoritative-DB refusal, legacy cache split migration, merge-added-row indexing, external-frame redaction, and pinned JSONL read/verification/mutation checks are bounded concrete oracles, not equivalent replacements for retired alarms. The full cloud relay cohort/ceiling/control suite is separately removed from the relay package runner, outside root unit discovery; no cloud runtime result is claimed. The Python computer-use benchmark remains unchanged tooling with zero authored/removal credit; no native benchmark trial ran. The package skill-sharing release selector drops only the exact already-deleted skills-suite token, with zero additional removal credit. Prior dated receipts, raw gaps, and complete earlier161/98/history notes remain exactly at their original scopes; no changed-source historical receipt becomes fresh reduced-suite evidence. Included approved26 alarm account: Broad root-unit discovery loses entire ref-label string, hostile/malformed CSV-link rendering, Codex filename-discovery, mocked paged-preview postscan mutation, usage path-containment, real symlink-ancestor, Codex skip RPC, local/remote inference routing, width-preference, and synthetic workspace-document input suites. It also loses the hand-assembled sorted CSV edit example, connect-time JPEG seed and invalid AVCC guard samples, and eight-record/64KiB detector boundary cases. The symlink suite exercised actual kernel traversal; its lost ancestor alarm could omit supplemental local editor watches and leave content stale, not bypass authorization. Retained linked stream cancellation, preview-only save fence, failed-flush dirty-draft preservation, clipboard byte/edit preservation, fragmented AVCC parsing and independent quoted-CSV interpretation checks do not replace these deliberately retired alarms. The stream fixture uses an in-memory source and does not establish actual fd cleanup; editor save endpoints are synthetic, browser events are synthetic, and no native focus, actual remote delivery, real disk write, cross-platform execution or interoperability is claimed. Earlier complete dated receipts, raw known gaps and previous notes are historical evidence at their original source/selector scope, not fresh evidence for this reduced suite. Audit3438 composes ROOT-adopted3434/independent3436: intentionally removes60 authored/62 potential expanded cases across16 sources, deleting9 whole suites. Eight authored/eight potential cases remain; delete the102line unused ACP fixture and57line unused teardown helper with zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses ACP model-catalog fixtures, resume-record projections, dashboard mock payload/state cases, mobile folder/launch/session examples and dictionary pipeline rows. Selected E2E removals also retire auto-conversion and golden-core journeys and one Windows CLI conversion registration. Retain ACP reply text across a resumed subagent, both VAD checks, focused tab send ownership, async focus ownership in happy-dom, the question-skip journey, the original managed Windows CLI lifecycle journey and dictionary substitution. These checks do not replace the removed alarms. Audit3470 composes ROOT-approved AUTHOR3466/PEER3467 source proposal: intentionally removes38 authored registrations/59 finite potential expansions, including8 whole registering suites, retaining13 authored registrations/18 finite potential expansions. The sole dead shell-recipe caller cleanup has zero additional test credit. No equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses process-import boundary, Korean/Japanese locale policy, worker-reset, mobile agent-history/queued-message and median-summary suites, plus packaged mobile-manifest, worker-pool fixture, HTML preview, mobile shell and terminal samples. The environment-provider contract and its sole shell-recipe caller are deleted. Separate cross-version-wire discovery loses the large byte-budget fresh-snapshot/replay sample while retaining independent live same-revision note publication; the retained terminal stale-refresh and dirty HTML draft persistence checks do not replace removed alarms. The source4 unused start/stop fixture hooks are removed; its retained nested failed-import test remains byte-exact with its own lifecycle. Unchanged SVG preview and Git-resolution registrations stay intact. Root balanced CI excludes the cross-version directory, which has a separate job; unbalanced root discovery can include its parent. No native app/device, actual remote, released-pair interoperability or cross-platform execution result is claimed. Audit3468 accepted source proposal AUTHOR3462/PEER3463, composed privately by audit3469: removes62 authored registrations/95 finite potential expansions, including5 whole suites, retaining25 authored registrations/29 finite potential expansions. ROOT approved source value; no equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses the profile-state worker smoke, worker-agent views and three search discovery suites, plus samples from node-server qualification, skill-bundle generation, CLI hooks/profile/recovery/offline admission, permission-hook holds and search indexing. The separate Cloud relay runner loses one relay blackbox sample; unchanged mobile native-chat and dependent-transcript drivers remain. Retained source callback/table/ancestor/fixture bytes bind to the sealed candidate. No physical-device, mixed-version, remote, cross-platform or app execution result is claimed. Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. Broad root-unit discovery loses whole cross-client workspace-sync, terminal-preview, picker-skill-hint and close-routing suites plus reduced worker-stop, remote-owned-record, scanner, mobile-bundle and daemon-health samples. Separate E2E discovery also loses the paired mobile/desktop mirror journey and two unit drivers. Retained callback/table/outer-loop/guard bytes are exact; retained checks do not replace the removed alarms. No app, native device, mixed-version, remote or cross-platform execution result is claimed. Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. Broad unit discovery intentionally loses whole trust-dialog observer, background-turn notifications, redirected session refusal, typed-agent identity, chat-tab lifetime-cost, model-manager and mobile diff-review controller suites, plus individual persistence, synthetic composition, pairing, manifest and subprocess samples. Retain deferred snapshot dirty-domain persistence, two direct editor ownership cases, stream counter-domain distinction, two persisted pairing identity cases, parser entrypoint asymmetry, dictation retry and process-group timeout; paired restart and packaged old-binary/corrupt-profile journeys remain in their E2E driver scope. Retained checks do not replace removed alarms. No fresh execution, native IME/microphone, real authentication, mixed-version/platform or performance result is claimed. Audit3451 composes ROOT-adopted3444/independent3445: intentionally removes101 authored registrations across16 reviewed sources, deleting7 whole suites and reducing8; one reviewed source is unchanged. Fresh main has123 authored registrations before and22 after because an upstream direct-child shell regression remains verbatim with zero removal credit. Registered removals are100+7*S and explicit-active removals99+7*S, where S is the unprobed count0..3 of admitted bash/zsh/fish shells. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses extra stream lifecycle/forwarding examples, unreadable-store/cache projections, orchestration presentation/benchmark cases, remote-owned routing matrices, mobile legacy navigation and model-catalog listing/cache examples. Whole suites retire renderer client-event projections, manually assembled structured-session reader ownership, mobile prompt presentation, renderer AI-vault resume commands, mobile Jira URL lookup, composer retention and mobile folder source-repository queries. Retained checks preserve original stream/store/orchestration/routing/navigation/catalog cases and shell behavior, including the upstream direct-child case. No real provider, native desktop or mobile acceptance is established by this reduction. Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit and mobile discovery loses interrupt/wake registrars, task storage/session-close/account snapshot hooks, permission tables, copy/preference/model-discovery/composer examples, launch placement examples, VM projections and extra mobile-history scenarios. Retained checks cover abandoned versus dispatched fork uncertainty; /fast dispatch supersession; discovery lock release after exit; stale-send draft preservation; OSC status lifetime; future-version file preservation; launch cancellation before/during dispatch on both layout owners; mobile resume addressability before hooks; and recipe snapshot cleanup after plugin removal. The paired browser-link Electron source is unchanged. Terminal launch seams, mobile roles-only history and injected provider results do not establish native terminal destruction, transcript text fidelity or real remote provider cleanup. Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses reduced or deleted relay, coordinator mail, recovery watchdog, automation observer, launch picker, folder PTY, profile restart, web migration, retirement, pointer delivery, agent-row and run-bound mailbox examples. Retained checks cover relay hello/payload and SIGTERM drain, coordinator pending-check and clear-to-Run continuity, profile persistence, the full six-row web merge table and real run-bound delivery waiter. These do not replace removed alarms. Audit3429 composes root-adopted3426/independent3427: intentionally removes168 authored/205 potential expanded cases across16 semantic sources, deleting11 whole suites and one304line unused assertion helper. Five authored/five potential cases remain; the duplicate500k graph row is dropped while its50k row and callback remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted migration/recovery/federation/rich-draft/paste/automation/mobile/catalog examples. Keep server-edit preservation during migration, native supervised cancellation holding the agent home until physical stop, pagehide lost-text preservation, graph old-result WRAPPER WeakRef collection with50k rows, and mobile React render isolation. The WeakRef does not prove all commit objects are collectible or a memory budget. Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted mock orchestration, refusal, restart and storage examples. Retain unchanged two-phase real-WSL deployment/survival, the reduced idle-release holder proof without restart/first-output measurement, real worker stop/release cleanup barrier rows, physical Git branch-preservation rows, and SSH disconnected-close proof. Other SSH and CLI variants and WSL telemetry/warmup churn are intentionally removed. Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. Broad root-unit discovery loses naming/title/queued-host fixtures, main-window focus-shortcut and attach-services mock orchestration, Git Bash console-capacity fake process inventories, most real-Git preparation/locking variants and Claude/Codex catch-up examples. Keep lifetime rejected-writer followed by late termination proof and autonomous real-checkout cleanup; two-row real-Git rollback after a real move preserving a replacement/admin marker or revoked permission; a live translator write during a held transcript read fencing stale Claude history append; and Codex expected-item revision rejection before a historical writer shim. Codex driver registers retained bounds exactly once with original inputs; bounds does not prove modern writer persistence. Accepted changed-lock preflight sentinel and omitted-parent routing losses are not replaced. Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Broad root-unit discovery loses35WSL examples,22STT examples,22shared-server-banner examples,18clipboard-handler examples (whole suite deleted),14VM lifecycle examples and16commit-message cancellation examples. Retain4WSL and7STT mocked connector/worker cases,1rendered stale-banner refusal,2VM guard/failed-compensation cases and1late-stream ownership cancellation case; real WSL/microphone/remote-provider proof is not established. Separately discovered e2e-unit drivers lose13cross-version-wire local cases and15mobile active-publication cases, keeping same-process disk-reopen/new-host cursor content/epoch/sequence outcomes and a host/renderer-snapshot selection and inventory revision race respectively. Imported released stop-note scenarios remain unchanged and receive no duplicate credit. Cloud suites are outside root UNIT_INCLUDE. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. The broad root-unit command loses the UNIT_INCLUDE src/ subset of retired examples; mobile is outside UNIT_INCLUDE. Other lost alarms are recorded by the adopted per-case source reviews. Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3381 composes root-adopted3376/independent3377 and3379/independent3380: intentionally retires436 authored registrations/670 expanded cases, including79 whole suites and12877 test lines, without equivalent replacement. Lost alarms include scheduling, account/host/status/filter/format inventories, microphone/image cleanup, title/bell/capability lifecycle routing, access/impersonation/outcome matrices, paste/input resend/ledger/retention, stale completions/reload containment, trust-read failure and popup OAuth/security/geometry vectors. Retained30 registrations/34expanded cases in22 suites preserve narrower SQLite TEMP/TZ/WAL, HTTP transcript root resume, mobile original-index Choose/Submit, child environment/Git lock expiry, stale ACK/PTY lifetime/peer fairness/durable replay/output ordering, actual DOM paste/editor focus, DEC2026 conservation, filesystem rollback, owned buffer lifetime, actual OSC parser/tracker handback, POSIX Python UTF8/fallback, durable trust concurrency/version, OpenSSH verdicts and hidden Chromium POST/route lifecycle. Mocked boundaries limit claims. Current bounded defining-owner reads preserve the retained oracles; captured identities are not full transitive semantic review. Both component blind pins authenticated before exchange; final reconciliation and explicit postpin3380reason correction supplement control, without retroactive blind claims. Root unit command excludes mobile and separately admitted Electron probes; use existing respective runners. No fresh execution, native focus/device/pixel UI, live SSH/remote, equivalent replacement or broad mixed-version/cross-platform validation is claimed. Prior dated receipts retain exact original scopes. Audit3375 composes root-adopted3370/independent3371 and3373/independent3374: intentionally retires79 authored registrations/84 expanded cases, including39 whole suites, without equivalent replacement. Lost alarms include federation field/parser inventories; Claude rejected-key precedence, credential clone redaction, managed-versus-user hook preservation and CLI defaults; setting/status/activity projections, mocked SSH/notification/reveal/Linear refusal, fake-clock reconnect and noise; image-fold artifact visibility, paste eligibility, setup trust, scripted ACP error-to-journal publication and ligature cache tuple aliasing; plus supplied folder-runner uniqueness, mobile host-overlay/credential/update/preference races, status/markup/title/keyed-row projections, subscriber cleanup, cancellation/close/refusal/link-issue and mirror suppression alarms. Retained3373 merger contiguity, dual-clock overdue-resume exactly-once, rejected-paste IPC sink and annotation schema roundtrip remain bounded. Retained actual HTTP/OSC status composition, destructive sibling-filesystem isolation, external contrast invariant and fixture CSS pixel intervention remain narrower. Original reviewed87authored/92expanded become9/9; current OpenCode suite adds two preserved upstream cases and the synthetic-title suite gained one Cursor policy mock-call case, independently reviewed for removal in root3378; current90/95 become11/11. That Cursor suppression/ready-frame regression alarm is intentionally lost; it does not observe native title ownership or tab flicker. For3370 only the peer was independently blind, with author exposure explicit;3373/3374 both blind pins were verified. This broad root unit command selects the reduced root unit suite; UNIT_INCLUDE excludes mobile tests, which require the existing mobile runner; retained Playwright component-pixel spec uses its separate existing headless fixture runner and is not validated by the broad unit command. No fresh execution, actual agent/shell/provider, OS material/focus, historical import equivalence, mobile, mixed-version or cross-platform evidence is claimed. All dated receipts retain their original scope. Audit3368 composes root-adopted3363/3364 and3367/3369: intentionally retires181 authored registrations/196 expanded cases, including28 whole suites, without equivalent replacement. Lost alarms include hibernation attention/liveness/backoff/sequential teardown and inventory, host launch compatibility/legacy/Kimi/resource cleanup, terminal recovery parser/pause/quarantine/remount, window-visibility omission-fence lifetime, launch-option rendered Start, sleeping-resume saved recipe/WSL quoting/cancellation, plus removed project/window/input variants. Additional tiny-suite losses include sentence/label/field/default inventories, credential omission, Windows argument/environment mapping, URI decoding, diagnostics, provider classification and fake-clock callback/parser examples. Retained ten registrations/twelve expanded cases include two literal Unicode Mn/Cf zero-width range guards in the actual character-range algorithm and protect narrower delayed editor bytes/destructive ownership, mounted hidden collision repair, ten transport epochs, duplicate-command refusal, caller timeout typing, executor unknown-opener refusal and failed-chunk user bytes. This broad unit command selects the reduced suite; no fresh runtime, real provider/network/PTY, filesystem restart, native UI, historical import equivalence, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3362 composes root-adopted3358/independent3360: intentionally retires129 authored registrations/140 expanded cases, including four whole suites, without equivalent replacement. Lost alarms include supplied orphan-adoption retry/malformed inventory/cancellation; fake-terminal replay parser/wedge/disposal callbacks; all-host catalog metadata and Windows preferences; host keepalive/protocol/stale/settings failures; and removed exact-stop/suppression, source save lifetime, diff-note queue, rename/editor close, input flood/chunk refusal/limits, purge and creation examples. Retained18 registrations/21 expanded cases protect narrower ownership, generation, dirty-state, queue convergence, encoding and attachment-lease outcomes. No replacement or keeper quota claim. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY/xterm parser, disk restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3359 composes root-adopted source3355/independent3356: intentionally retires130 authored registrations/139 expanded cases, including eight whole suites, without equivalent replacement. Lost alarms include strict create naming/capability/legacy payloads; supplied transport host replacement, deadline reattach, create-handoff and split activation; agent-session fork/clipboard/platform flags; shutdown cleared-scrollback/unmounted bindings; simulator host-collision/selection/shutdown; and removed editor, catalog, mutation, launch and status examples. Retained12 adverse-ordering/state-consequence cases are narrower and do not replace all removed alarms. Two queue absences receive zero removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY, filesystem restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3349 composes adopted batches3343,3345 and refreshed3354: intentionally retires234 authored registrations/294 expanded cases, including13 whole suites, without equivalent replacement. Lost alarms include supplied terminal reconnect/replacement/typeahead/mirror/result and snapshot examples; synthetic render-desync persistence/recovery; worktree listing/owner/catalog/lineage/removal and activation/creation examples; host-scoped PR and task-record projections; editor diff/status/comment and UI send-target examples; automation observation/wake, supplied sleep/deadline clock and native-chat completion/notification/relaunch samples; held-tab layout and cleanup/progress guard examples. Retained adverse-ordering and wire-boundary cases are narrower and do not replace all removed alarms. The already-upstream visibility-resume deletion receives zero new removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH, native process/power/GPU, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3342 composes adopted source batches3333/3334,3336/3337 and3340/3341: intentionally retires180 authored registrations/263 expanded cases, including seven whole suites, without equivalent replacement. Lost alarms include corrupt editor hydration; mobile editor/diff publication and privacy projections; stale-resubscribe routing; model-picker projection/refetch/retry/fallback; editor check-details and frame property inventories; latched-pane cleanup/quiescence; client create replay identity/options/compatibility; and removed owner, async routing, terminal and layout examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts keep their original scope. Audit3335 composes adopted source unions3327/3328 and3330/3332: intentionally retires100 authored registrations/123 expanded cases, including ten whole suites, without equivalent replacement. Lost alarms include seeded host persistence/contention and stale-host cleanup; browser snapshot assembly; mocked wake/DPR callbacks and frame budgets; preflight projections; palette authority/cache suppression, URL intent and saved-title cross-repo collisions; metadata coverage/set patch and dropdown assembly; and removed terminal, worktree, review-refresh and owner-routing examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI/GPU/focus, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain only their original scope. Audit 3318 composes adopted sources 3310, 3313 and 3317: intentionally retires 71 authored declarations and 102 expanded cases, including whole terminal-detach agent-retention, seeded batch/single open-files equivalence, shallow context-menu shortcut-badge, mocked active-workspace delete-dispatch, workspace session hydration, SSH target cleanup, editor session hydration and worktree terminal purge suites. Lost alarms include chained transfer alias and immediate close/exit retention; batch/single divergence, survivor/selection/map preservation and input nonmutation across 400 imperative seeds (one registered case); disconnected pending-handle retry, authoritative absences/close-record shortcut/older-host absence and published-presence/unpublished-frame examples; published empty host-graph omission to pane exit; legacy search ranking/exclusion fallback; provider request upgrade/dedupe/finalizer ownership; asynchronous PR suppression/primary-change and same-number different-repository URL rejection. Deletion routing loses host/instance qualification, paired and legacy mapping, folder ownership, active-versus-hover/menu-row selection, ambiguity, modal/editable/creation/view/main/deleting/missing guards and shortcut advertisement. Unchanged real keyboard/hover/confirmation/catalog E2E remains narrower, not an equivalent replacement. Additional losses include scripted old-host disk/UTF-8/noop/baseline and landed/unlanded lost-reply/replacement-retry outcomes; ordinary/repeated healthy-link reattach; cross-owner terminal/chat binding; oversized replay permanent-unavailable classification; floating reveal keyboard ownership/close/disable/listener disposal; naming/retained-turn/Sleep/error/close/reject status tables; SSH membership prune/new-target-only reads and environment/local bucket isolation; same-frame receipt capacity and positive bare/headless publisher readmission. These actual regression alarms are deliberately lost; no fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit 3312 composes adopted sources 3302 and 3308: deliberately retires 33 authored declarations and 36 expanded cases, including the whole backend startup-focus, active-browser IPC-close-routing, remote-browser-creation and agent-terminal-presence suites. Intentionally lost alarms cover distinct six-pane reconnect handles; SSH host label/Connect callback, unhydrated visit cleanup, repo cache aliases and hidden worktree/tab/PTY cleanup; adopted-agent startup focus and viewer navigation/reuse; staged, pageless, source, stale and orphan browser-close routing; web local-materialization refusal, desktop incapable-host fallback, failed/thrown remote creation and paired-web sign-in refusal; BOM/NUL and remote/local custom-editor byte-read examples; immediate folder activation and unread clearing; and batching idle/coalescing, accumulated byte ceiling, leading-edge-disabled, standalone synchronous oversize rejection, validation yield, deferred pending-tail order and both viewport-clear examples. The newly reintroduced agent-terminal-presence suite also loses actual terminal-status membership positive and nonterminal-status callback suppression alarms, including the recent 40916 guard regression; the older different 2133 presence-suite history remains historical and receives zero duplicate removal credit. These real regression alarms are intentionally lost. The unchanged survivors provide narrower coverage, with no equivalent replacement or fresh gate, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation claimed. Audit 3301 combines adopted source batches 3296 and 3299: retire 27 authored declarations and 36 expanded scenarios, including six whole suites. Intentionally lost alarms cover failed-verification/recovery/restart counters and mocked hosting/toast; early overlapping pane-read scheduling/count; unreadable removal listing draft guard; bulk-purge remote-qualified and raw-local guard maps; initial-snapshot blank/mode/oversize/printable/fresh-spawn callback and replay examples; fallback mobile file close and ordinary MRU; default queue overload/drain; seeded browser-page reuse and supplied missing-page URL recreation; ambiguous sleep/hibernation owner refusal and untouched bindings/origins; ordinary selection/activity/fallback priority; skip-remote success and retained hints; supplied structured-chat unsent retention and scoped removal draft eviction; caller-chat focus precedence; open/draft PR cache eviction and merged-head fallback result inventories. Retained adverse-ordering and ownership cases are narrower and do not establish equivalent replacements. No fresh runtime, native, physical provider, cross-platform, mobile or mixed-version evidence is claimed. Audit 3292 combines adopted 3285/3287/3289/3293 removals: 40 authored declarations and 47 expanded scenarios, including whole frame-editor-view, ambiguous remote-delete-refusal, unverifiable-host subscription and editor-close cleanup suites. The previously reviewed dock-badge suite was already removed upstream in PR 40895 and receives zero new removal credit. Intentionally retired alarms include background browser selection and last-tab landing; main startup fallback, SSH project cleanup/survivor routing, exact-PR contradiction/saved-push positives, replay/sidecar rollback and wrapped remote error normalization; records/snapshot missing-diff hydration, ambiguous folder-owner delete refusal, focus no-op notifications, nested editor context-only cache check, pending broadcast-first status and ordinary four-confirmation aggregation; preview-source frontmatter pruning, approved local/runtime agent dispatch, non-GitHub legacy PR cache invalidation, stale merged-head transient-error fallback, empty-queue immediate query reply and unverified-to-concrete preflight risk. Additional intentionally retired alarms are injected host subscription/unsubscribe counts, synthetic editor reveal/draft/fallback/scoped close, ambiguous unread refusals and hidden mark/read roundtrip, immediate connect backoff/noError, positive mirrored evidence-clock renewal, supplied VM failure/success projections and git-local/folder-SSH wake permutations. Remaining temporal/ownership cases are narrower; no equivalent replacement or fresh execution is claimed. Audit 3283 removes 20 authored declarations and 31 expanded scenarios, including two whole suites. Retired alarms cover PR refresh-state pruning, shared runtime subscription cleanup and store isolation, language content-change routing and older completion ownership, ordinary panel retry-timer cleanup and pending loading, four hosted-review lifetime permutations, mocked terminal creation error/order wiring, five sleep-inventory variants with pending-frame-only assertions, palette fallback/composite highlights, Windows/UNC encoded-editor input rows, mixed-repository partial failure counts, title setters and generated-title bypass/replacement, five window-close coordinator delegation/guard/finally branches, and ambiguous-old-record frame reveal. These regression checks are intentionally lost under the test-value audit; retained cases are not equivalent replacements. Prior coverage notes and receipts remain historical. Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims. Audit 3256 removes these specific alarms from the broad root unit commands: skill dialog active-share selection, close and pending-share handoff; simple keyed-record deletion; marker live-region insertion, simple landing and nine baseline policy examples; General search/control navigation inventory; orphan-count cache bootstrap; seven Codex code classifications and HTTP 429 warning mapping; two skill unread-root verdict examples; peer-mail payload and conversation-ID rejection; and the GitHub organization TABLE text-field optimistic rollback/failed-envelope example. These include real behaviors; retained tests do not provide equivalent coverage for every removed scenario. Mobile losses are recorded separately and are not coverage of these root commands. Audit3246 retires NewRowsMarker reveal/no-repeat and pane-scoped beforeinput checks; skill-owner option availability/count/dedup/order; six styled Input/Textarea IME forwarding rows; the static Codex/OpenCode smart-key inventory; tab-map AST ratchet diagnostic fixtures; child-roster work-budget and retained-aggregate alarms; malformed persisted floating-cwd fallback/no-crash/empty exact-root checks; the unanswered-host empty-list discriminator; the direct invalidated-cache commit-false assertion; one redundant digit-keyup IME row; cached non-supported Claude title-generator rows; and the duplicate late naming-result singleton. These root broad commands lose those specific alarms without equivalent replacement. Distinct retained owner/state checks have their own bounded claims; the real scheduler still rejects stale response data, while the direct false-return alarm is retired. Audit3231 retires supported-host restore-pane key mapping, closed/open creation-sidebar toggle visibility, unrelated scope-error/null classification and quick-submit reveal/no-create checks. These broad commands lose those real narrow alarms; no replacement coverage is claimed. Audit3219 removes the synthetic Cmd+J extra-source suite; this broad command no longer checks its match/tie placement and selection, announced count, empty-query cap, or workspace hiding with retained recent tabs. No replacement coverage is claimed. Audit3209 composes approved sources3202/3206: deliberately retires seven authored/expanded cases in four whole suites without equivalent replacement. Work-item queries lose real GitHub/GitLab oversized ASCII secret-prefix empty-query and whitespace-before-trim refusal alarms; inputs share the imported size bound and exercise only its fast length branch, with no multibyte or actual provider/exposure guarantee. Skill sharing loses complete/partial managed-bundle and destination-ambiguity association checks plus three negative origin/path/scheme admission examples; these do not establish uploaded contents, arbitrary-URL fetching, authorization or execution. Retain exact originless-project direct-link fallback, cloud-delete confirmation, bundled-target repair/owner isolation and explicit Windows-host preference over stale WSL suites. Rejected3201 runtime-preference removal is excluded. No real cloud/network/host/disk, mobile or mixed-version execution validation is claimed. Audit3200 composes approved source3194: deliberately retires thirteen authored registrations/twenty-seven expanded cases in six whole automation host/list policy suites without equivalent replacement. Real RPC category/retryability and wrapped-timeout recognition, unscoped-failure/scoped-success health evidence precedence, exact-ID create selectors and per-run workspace omission, paired-web local/SSH/absent host catalog routing, incompatible/removed/unhydrated/offline execution health, runtime-before-nested-SSH recovery dispatch, and no-owned-focus/successor/foreign-list focus policy alarms are consciously lost. Retain exact20line orphan allow/refuse/precondition and exact90line cross-host same-ID search suites. No retry-timer/fence lifecycle, actual reconnect/network/write delivery, native focus, mobile/mixed-version runtime or disk persistence coverage is claimed. Audit3191 combines approved source3182/3187/3188: deliberately retires thirteen authored Vitest registrations and fifteen expanded cases, including five whole suites, without equivalent replacement. Attachment intake loses real portal/native-capture terminal interception and unowned-container refusal, immediate child-only committed availability/claim-ref negotiation and delivery, and direct-target over stable focused/background composer routing through disable/re-enable/remount and independent question focus. Exact destination/cache/draft and final-stat owner/workspace/File-release suites remain; they do not replace Surface recipient routing. Automation authoring loses destination runtime catalog membership, local/direct-SSH exclusion of paired-runtime repos, unknown-runtime empty catalog, logical project/host/setup/repo/path context payload, and missing/nonready setup refusal; these were genuine direct helper alarms, while exact schedule transformation, legacy schedule and setup-decision suites remain. Agent picker loses setup-chat/terminal/missing-installer/unsupported-or-unknown-host row projection samples and the ordinary unsearched menu variant; the entire original26-line resume recipe suite remains, including reported bypass versus default/absent permission modes, as does the exact search-result menu callback with its fixtures, model/effort commits and staged Arguments reopen outcome. Rejected predecessor3180 full recipe deletion is excluded. No actual native drag/cursor/focus/IME, upload bytes or disk/restart persistence, full automation save/scheduler/runtime transport, real resume-process flags/environment delivery, or native menu/rendered layout validation is claimed. Audit3178 combines source3169/3170/3175: deliberately retires eight authored units (six Vitest cases and two imperative custom relay scenarios), including two whole suites, without equivalent replacement. Voice Section loses per-model pending-delete isolation across interleaved A/B completion and the two-success refresh-call alarm; exact VoicePane delayed key-clear/newer enabled-toggle merge remains and does not replace row deletion coverage. Speech loses dedicated rating-scale/inclusive-ceiling, unsupported-versus-unmeasured, explicit/system-language precedence/locale alias, accuracy versus fast named/default/best-measured selection, and unmeasured/no-match examples; exact offered-user-pick versus retired-selection case and its fixture remain. Relay loses legacy ping-delivery count/liveness sampled before the silence deadline and grouped malformed Bearer/host-ID 401/429 routing checks; twelve real Worker/DurableObject/shipped-client scenarios remain, not equivalent replacement for those narrow alarms. Six prior speech cases are not all deleted: approved successor3175 keeps the original user-choice case. No actual credential/file persistence, native/GPU/engine/download delivery, production assignment policy or deployed-runtime validation is claimed by this reduction. Audit3165 combines source3160/3162: deliberately retires six authored/expanded cases across three whole suites without equivalent replacement. Launch/status losses: observed React-render pending/resuming coordination across settings and deferred offer read; stale-offer reread suppressing dialog reopen; held-local-chat recovery visibility with new-chat preferences off; disabled-local admission avoiding offer RPC despite an injected but unconsumed paired-tab fixture; and run-only lost-reply uncertainty reachability until direct viewed-run retirement. Launch probe does not prove arbitrary synchronous-store atomicity, the paired fixture is not remote runtime enrollment, and the status case directly marks viewed state rather than rendering the summary. Crew-hook losses: old-host method_not_found cache persists across party changes but is released by independently supplied connection generation/verified pairing status or pairing revision, with actual frame publication and teardown. These are real narrow coordination, admission, uncertainty and mixed-version cache alarms consciously lost. Exact web verified-runtime writer handoff guard remains; it does not replace those alarms or prove live host/native/mobile delivery. Audit3156 combines3147/3150/3152/3153/3154: deliberately retires39authored/40expanded native-chat recovery cases, eight whole suites and two orphan test-support files without equivalent replacement. Lost alarms: lost-reply unconfirmed reconciliation, skipped rows/counts and missed-frame repair, unknown/pending outcome and omitted-failure-list compatibility, uncertain history after dismissal, retry/refusal/dismiss lifecycle, hidden/consumed picker ownership, result-tree keyboard focus/disclosure and all-skipped retirement; unconfirmed-over-conflict guidance and failed-chat changes despite older host timestamps; nearest-listed ancestor/cyclic forest shape, descendant membership, host ordering/missing-host local fallback; skipped/readiness/admission counts, provisional skip/progress monotonicity, early per-chat verdicts with batch pending protection, older-host waiting, start-slot/delivery distinction, retry-over-failure and unknown-after-withdrawal attention; remote snooze/reconnect/reoffer, unseen mixed summary through open/close, watched completion retirement, new success beside old failure, failed-reread mixed-result preservation, filter/collapse completion resets, retry summary replacement and current-offer/history selection; cross-host workspace identity, rendered cyclic reachability, nested tri-state/toggle propagation, project eligibility isolation and collapse preserving selection. Exact fallback-list completion barrier, batched verdict/cleanup retention, stale-read versus dismissal publication race, and requested-but-never-rendered finished-run retirement remain; they do not replace retired alarms. Audit3146 combines source reviews3132/3133/3135/3138/3143: intentionally retire20authored/31expanded cases without equivalent replacement. Provider-session losses: structured-native terminal-resume exclusion, metadata-less completed identity, new-turn completion clearing, Pi provider-only/periodic/manual promotion, changed-transcript launch-config isolation, Pi/omp/prime-agent completed-session remote/manual-shutdown promotion, and quit/done precedence over heartbeat. Side-thread/question losses: finished-pane acquisition, hidden title/recap states, local/relay/relay-done conversation takeover with prompt/session/child resets, plain-message abandonment, compaction/session replacement and completion resets. Codex startup losses: incoming-owner cached child replacement, old-relay foreign live-session correction, completed foreign-root turn-fact permutations. Transcript losses: real temporary-JSONL partial sibling/final-child completion, unlabelled child attribution, compact cached replay preservation and100/1000completed-child roster retention/release. Compiler-ratchet losses: valid-line uncompiled-list parser grammar examples and injected-existence stale-path filtering; these did not exercise actual filesystem canonicalization or build exclusion. These are real lifecycle, ownership, replay, liveness and retention alarms, including recent#40246 regressions, deliberately lost. Retained conditional record replacement, clockless root/SSH owner isolation, persisted main-thread fork rejection, partial/final question-answer lifetime, cached-roster/missing-ID/live HTTP/durable startup boundaries and restarted-relay refusal/acceptance do not replace those losses. No native/SSH/WSL execution or equivalent coverage is claimed. Audit3128 scoped coverage reduction: Audit3121 removes VoiceDictationLanguageSetting.test.tsx (Spanish-to-es callback and unsupported-model Korean option presence) and voice-speech-model-rows.test.ts (provider/language-order/retired-on-disk list policy); these real narrow alarms are deliberately retired without replacement. VoiceSpeechModelSection per-model concurrent deletion remains unchanged. Audit3122 removes the direct absolute/parent-segment sparse-directory exception-type sample and the five-row IPC sparse-preset error-code/non-save table (two authored/six expanded cases). Those real typed-validation and IPC refusal/error-code alarms are deliberately retired. Keep both real symlink/junction floating-directory trust cases and the minimal RPC structured validation-reason serialization case. The RPC case does not replace IPC save/refusal behavior, typed normalization for both path inputs, actual Git sparse checkout or rendered localization. No equivalent replacement or fresh test/runtime/platform/remote/performance validation is claimed. Audit3124 removes ExperimentalPane.test.tsx (ordinary Pet switch callback), WorkspaceDirectorySetting.test.tsx (padded absolute saved-path normalization/no-write blur), and repository-search.perf.test.ts (navigation/selected-pane builder-call policy, fixture cardinality/nonempty entries and renamed project keyword inclusion). These real narrow alarms are retired without replacement; RepositoryPane.search.test.tsx search-to-sparse-editor request remains unchanged. Audit3129: resolver Windows case-insensitive and POSIX case-sensitive configured-env composition plus mocked-base launch-preflight Windows composition are intentionally no longer checked by the two deleted suites. No equivalent coverage claimed. Keep runtime-structured-agent-host-env.test.ts unchanged: configured Windows Claude-home account identity and host-account precedence remain checked. Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Module layout SSH policy: Retire the multiplexer private-clock saturation registration, the writer saturation transition-count registration and the changed-source dated writer/backpressure receipt. Retained byte delivery, lane order, fairness, settlement and cancellation cases are unvalidated by that historical receipt. No equivalent replacement, new execution, measured performance, live SSH/WSL or cross-platform proof is claimed. The unchanged WSL protocol receipt retains only its original command scope. Historical prior account (preserved verbatim): Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2070 (sources2068/2069): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/hooks-and-hosted-review.spec'). src/main/ssh/ssh-multiplexer-transport-writer.test.ts: reports saturated epochs and their drain boundary exactly once. src/main/runtime/orca-runtime-tests/worktree-removal-archive-hook-gate.spec.ts: removes and records the waiver when the failure is explicitly overridden; removes without an override record when the hook succeeds; removes when the hook is configured but not requested; removes when no archive hook is configured; holds a desktop removal in the same repo until this one is accepted; joins a desktop removal of the same worktree accepted while this one waited. src/main/runtime/orca-runtime-tests/worktree-ps-agent-row-dismissal.spec.ts: drops the row as soon as the user dismisses it, without waiting for the PTY to exit; tells paired clients to republish on the transition and on the dismissal; rejoins a row through its %s handle after pane ownership clears. src/main/runtime/orca-runtime-tests/hooks-and-hosted-review.spec.ts: reports an error when the SSH filesystem provider is unavailable; reports an SSH orca.yaml as an error without reading any filesystem; reports ok for a local repo hook check; reads SSH issue commands as absent and drops writes without touching any filesystem; allows host integration slug helpers for SSH repos through provider-aware GitHub clients; routes runtime GitHub repo identity helpers through the selected WSL project runtime; routes runtime GitHub issue and work-item actions through the selected WSL project runtime; pins explicit origin preference on runtime open-by-number work item lookups; forwards check-details cancellation without local Git overrides. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. The historical receipt/currentCommand selecting src/main/ssh/ssh-multiplexer-transport-writer.test.ts remains historical and is not a passing result for the reduced current command. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Delete the complete tail-wait memo suite: its sole current authored callback checks supplied fromTail/blocked field values. Retire all three broader memoization/equivalence/eviction assertion aliases; they are not backed by retained source callbacks. No scan-work budget, sustained output, physical terminal or resource measurement is assigned to this removed test. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1674 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: The current executable slice injects main-process renderer backlog pressure, then asserts ordinary terminal-wait detection without a joined-tail allocation and with full prompt-family continuity, per-PTY and total pending-output caps, a 1,024-ID projection cap with split-remainder compaction, preserved sequenced-tail metadata, active-pending protection ahead of background trimming, exact provider-generation pause ownership, renderer exit/data ordering, and ACK-gated in-flight bounds. The negotiation seam proves every initial connection and reconnect offers V1, the same-build relay advertises V1 without launch flags, old clients remain token-free, and method-not-found peers fall back without installing source ACK publication. The joined source-intake/multiplex oracle blocks renderer or headless serialization, admits one snapshot-covered span and one trailing span, requires replacement reservation only after the authoritative sequence is known, advances upstream ACK eligibility exactly to the covered boundary after SnapshotEnd, and delivers then ACKs the trailing span through the ordinary live path without cancellation. Source-range ledger and multiplex seams additionally require cumulative byte ACK 40 then 100 for one 100-byte frame to release exact byte credit without early source settlement, admit a contiguous higher-generation recovered token while the prior token remains unsettled, and reject stale stream or source generations without releasing in-flight byte credit. Replacement reservation rolls back every earlier span on a later failure, commit requires the exact frozen transfer states, and an authoritatively reclaimed covered span rejects commit without local trim authority while rollback removes the reservation idempotently. The exit-deadline oracle publishes a source-backed desktop projection, advances a fake clock to cancellation, and requires one projection transfer, proof commit, preparation, and final exit with no provider close, retained obligation, duplicate finalization, or process-lifetime cancellation tombstone; a second controlled proof remains pending across generation close and must never publish final exit, while both paths release the renderer preparation lease exactly once. The model-migration oracle accepts span A, blocks span B's raw emulator completion, begins disconnect migration, and proves no checkpoint or reconnect attach can remain at A; releasing B advances the exact checkpoint to B and projects B once. Its fake-clock arm reaches the 10-second deadline, requires checkpoint-unavailable, one exact model reset, zero retained admission charge and timers, and no effect from late raw settlement. Its two-PTY failure arm rejects one running raw callback under an active exact migration and requires one checkpoint-unavailable result, one model reset, zero provider closes, retained sibling checkpoint and transport liveness, zero charges and timers, and an unaffected other generation; a non-migrating sibling oracle still requires generation close. The intake additionally closes 2,048 sequential provider generations into one exact range, rejects stale events across that range, and preserves an out-of-order live gap until its own close. Direct-SSH contracts additionally prove activation-response settlement before the first source frame, claim-gated projection under same-decoder-turn response/data delivery, exact early-ACK reservation through send settlement or same-token retry, recovery completion visible before lease-held frames transfers those frames only into the private quarantine and admits no output until exact checkpoint-to-recoveryEnd coverage, invalid-checkpoint restore retention through response settlement followed by fresh-token retry and one live source frame, isolated saturated-subscriber eviction with healthy owner liveness, preserved legacy-primary backpressure, one-write ownership across write(false)/drain, control selection ahead of queued ordinary PTY input with FIFO lanes and bounded fairness, liveness rebasing, failed-exit retention through late ACK or exact recovery, response-settlement cancellation authority, token-scoped exit cancellation, exact checkpoint-to-recoveryEnd continuity, stale-owner one-shot retry, no physical PTY teardown on recovery failure, exact provider-generation closure and once-only cleanup when recovery cancellation publication or proof rejects, 16 MiB-plus-1 MiB decoder caps, charged per-PTY/session retention budgets, and eight-wide isolated reattach. The live Electron perf oracle adds hidden-output floods, renderer scheduler queue depth, dropped-output-zero normal scenarios, and active key latency budgets before promotion.", "commands": [ "pnpm exec vitest run --config config/vitest.config.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts", @@ -9328,6 +8983,7 @@ "Keep stress variants non-blocking until stable runtime history exists." ], "knownGaps": [ + "Launch direct-owner cleanup current scope: This gate’s unfiltered unit command now selects a suite reduced by 82 whole registrations / 159 potential table examples in 10 whole test Programs, including 8 registrations / 15 examples from five once-registered create-message factory closures. Lost alarms include frozen first-message/options and legacy-host fallback; distinct actions and redelivery; uncertain/refused/reloaded input custody, Retry and late proof; rich prompt/attachment upload Stop/close and handback; ordinary draft/editor/IME/StrictMode lifetime and accepted topology; provisional fallback tab placement/group/pin/order and rich worktree handoff. Four whole consent/resume-identity cases remain in two Programs; they do not replace these alarms. This entry governs current reduced-unit scope and qualifies any broader implication of unchanged oracle/coverageNotes history. Entire dated evidenceRuns, original commands/currentCommand values, counts/results and existing history retain their original scopes only; no fresh execution, transferred pass, replacement equivalence or prior upstream-removal credit is claimed.", "Audit2145 accepts removal of canned runtime metadata/guard/forwarding, fake in-memory persistence, private work-count and wrapper-duplication tests from the construction/orca-runtime.test.ts aggregate, plus the two automation run-context guards from runtime-workspace-launch-contracts.test.ts. Retained race, framing, physical completion and ownership callbacks remain byte-identical. Existing commands remain valid selectors; historical receipts stay unchanged and provide no fresh validation or replacement coverage for the reduced suites.", "Audit2133 current-parent preparation (988 authored removals; independently reviewed2099/2107/2115/2116 decisions; upstream clear-buffer and recovery-image regressions retained): Intentionally retire these low-value alarms without replacement: src/main/runtime/construction/orca-runtime.test.ts: remove only literal registration import/call pairs await import('../orca-runtime-tests/worktree-setup-and-startup.spec'), await import('../orca-runtime-tests/gitlab-and-pr-bases.spec'); no additional authored credit. src/main/ssh/ssh-channel-multiplexer.test.ts: sends a JSON-RPC request and resolves on response; assigns unique request IDs; sends notifications without expecting a response; dispatches incoming notifications to handler; sends one keepalive frame per cadence tick; drives keepalive sends AND dead-link detection from a single interval; resolves false immediately on a disposed mux; throws on request after dispose; reports isDisposed correctly; clears registered handlers on dispose; does not retain handlers registered after dispose. src/main/persistence/worktree-sort-order-write.test.ts: re-ranks every writable row when a blocked row sits in the requested order. src/main/runtime/orca-runtime-tests/targeting-and-resilience.spec.ts: routes tab switch and capture start by explicit page id; accepts focus on tab switch without altering bridge args (focus is main-side concern); keeps terminal cwd resolution fail-soft when the provider is unavailable. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts: drops the bounded scan cache when orphan-cleanup removal completes; clears optimistic reconcile tokens when a CLI worktree removal succeeds; emits drift without mutating when the fetched base fast-forwards created HEAD; emits base_changed without mutation when the fetched base rewrote history; skips stale-token reconciles without mutating or emitting stale status; emits unknown without mutation when fetch fails or the base ref is missing. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts: routes runtime preserved-branch force-delete through the selected WSL project runtime; replies to a waiting client with the error of a delete that fails after acceptance; treats forced runtime deletion of an already-missing unregistered worktree as cleanup; treats normal runtime deletion of an already-missing unregistered worktree as cleanup. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts: warns that a missing-repo removal only forgot the workspace; restores runtime watchers when CLI worktree deletion fails after teardown; does not re-spend the drain budget on a removal after a wedged install was abandoned; routes runtime worktree removal through the selected WSL project runtime; force-deletes a branch that was preserved by runtime worktree removal. src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases-part-02.spec.ts: records GitLab pasted-project recents only after successful runtime lookup; threads explicit origin preference through runtime WSL PR base resolution; resolves local GitLab fork MR bases from the target project MR head ref; captures the fork MR head from a dedicated ref, not the shared FETCH_HEAD; keeps the durable MR head when the head fetch fails but the local ref resolves; routes runtime GitLab fork MR base git calls through the selected WSL project runtime. src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases.spec.ts: passes SSH connection ids through GitLab task operations; routes runtime GitLab issue, MR, work-item, and todo actions through the selected WSL project runtime; routes runtime GitLab MR details, review-management, job, and pasted URL actions through the selected WSL project runtime; normalizes runtime GitLab issue list arguments like the desktop IPC path. src/main/runtime/orca-runtime-tests/worktree-setup-and-startup-part-03.spec.ts: does not warn when setup is explicitly skipped for CLI-created worktrees; puts the agent a create starts in the first default tab, as the window does; keeps the 8s main-runtime startup readiness budget for agents without an override; gives OpenCode the 20s main-runtime startup readiness budget; launches explicit startup agents with prompts for CLI-created worktrees. src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts: returns a setup launch payload for CLI-created worktrees when hooks are explicitly enabled; does not hand the window a setup main never tried to start; passes the selected Windows setup shell into runtime runner generation; follows normal setup policy for CLI-created worktrees without activating them; uses returned WSL setup shell metadata when runtime spawns setup; uses the shell-aware setup runner for windowless creates without a startup command; reports the in-process setup hook as running when nothing can launch the runner. src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-02.spec.ts: coalesces two clients sleeping the same host worktree; stops exactly the expected live PTYs for a worktree; explains a refused workspace close instead of throwing the raw refusal enum. src/main/runtime/orca-runtime-tests/mobile-summaries-part-03.spec.ts: marks the desktop-active worktree as isActive; includes SSH-backed worktrees in the mobile worktree summary; caches repeated malformed path misses before normalizing them again. src/main/runtime/orca-runtime-tests/mobile-summaries-part-02.spec.ts: keeps title-only foreground work ahead of monitoring in another pane; keeps a local hook row while a connected PTY still backs its pane; keeps an OSC row via its connected PTY after the pane binding is cleared. src/main/runtime/orca-runtime-tests/mobile-summaries.spec.ts: resolves files through a source-visible linked-checkout worktree; marks saved session tabs with live PTYs as host sidebar activity; attributes live legacy PTYs from saved layout bindings when their panes are hidden; marks saved browser tabs as host sidebar activity like desktop; falls back to the path-keyed GitHub cache entry; includes folder workspaces in compact worktree summaries for mobile; attaches inline agent rows from the latest OSC 9999 status; projects monitoring over a title-derived working status. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-03.spec.ts: pushes to an idle pane when the only live waiter filters out the message type; resolves a registered waiter without PTY-injecting when the leaf is already idle; keeps already-idle status after tui-idle wait for immediate message delivery; resolves message waiters when notifyMessageArrived is called; does not resolve type-filtered message waiters for unrelated message types; removes message waiter abort listeners after message arrival; resolves message waiters on timeout when no message arrives. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-02.spec.ts: delivers pending mail via notifyMessageArrived when the recipient is already idle; does not keep retrying when every pending row was already pointed; repoints pending rows restored with a live-idle coordinator. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-13.spec.ts: rolls back a half-created terminal whose surface never publishes. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts: rejects startup prompts for agents that require post-ready stdin; uses portable Unix quoting for mobile agent launch commands in WSL project runtimes; keeps PowerShell quoting for mobile agent launch commands in Windows host runtimes; uses cmd.exe quoting for mobile agent launch commands in local Windows host runtimes; publishes headless mobile session agent identity with synthesized PTY status; rejects disabled mobile session agent launches before spawning; validates mobile terminal insertion anchors before resolving agent launch commands. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-11.spec.ts: coalesces a reconnect close burst onto one authoritative PTY inventory; keeps an explicit user close destructive while the PTY is live; builds mobile session agent launch commands on the runtime host; injects mobile quick-command prompts into the host-built agent startup command. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-10.spec.ts: closes persisted headless terminal parents before any prior list call; tears down a serve-owned headless tab on close while a renderer is attached so it cannot resurrect; defers a renderer-published pending tab to the renderer instead of tearing it down; returns a delegated close outcome with no selection tombstone when the renderer owns the outcome; tears down a runtime pending shell the renderer never adopted on close. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-08.spec.ts: materializes a plain shell when the pending tab has no launch agent; hydrates legacy persisted terminal tabs without layout entries; reads and indexes the full agent-status snapshot once per mobile projection; kills persisted SSH PTYs when closing hydrated headless tabs before pane metadata is restored; materializes hydrated pending headless terminals with the persisted session identity. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-07.spec.ts: hydrates a persisted SSH-owned pane before an attached renderer publishes its graph. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-05.spec.ts: publishes the desktop's tab name over the live agent title, and the live title without one; uses fresh neutral PTY titles over stale mobile snapshot and OSC titles; operates PTY-backed mobile session terminals without a renderer graph; reuses pane close for live PTYs that do not own a renderer tab; lists PTY-backed mobile session terminals without a renderer graph; shows and resolves active PTY-backed mobile session terminals without a renderer graph. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-04.spec.ts: creates mobile session terminals for folder workspaces in a headless runtime server; spawns fresh headless SSH mobile session terminals instead of reattaching synthetic local ids; hydrates headless mobile session terminals from the host workspace session; keeps live headless mobile session terminals when a desktop renderer publishes without them; publishes laptop-created remote runtime split terminals to phone session tabs. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-02.spec.ts: does not report headless wake degradation without sleeping records; does not wake slept agents for non-mobile session-only activation; does not rewrite unread metadata when a mobile activation finds the worktree already read; returns unread:false from worktree.ps after a mobile activation clears the flag; materializes pending mobile session terminals without focusing desktop clients; closes browser mobile session tabs when addressed by browser workspace id. src/main/runtime/orca-runtime-tests/mobile-session-tabs.spec.ts: resolves mobile terminal surfaces by exact split leaf; closes the matching mobile terminal UUID leaf without closing the whole tab; closes the whole mobile terminal tab when addressed by parent tab id; activates the active split leaf when addressed by parent tab id; clears unread metadata on mobile worktree activation without focusing desktop clients; wakes slept agents on the host renderer when a phone activates a worktree. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-05.spec.ts: publishes the hook provider session on a headless mobile tab so native chat can address the transcript; recovers the agent type from the hook row when the pane was launched without an agent hint; reads one agent-status snapshot per projection, not one per terminal tab; waits for unknown-launch foreground owner before publishing Pi-compatible mobile status; keeps Pi-compatible mobile session status as Pi for an unknown-launch foreground pi PTY; keeps renderer-vetted mobile agent status for custom-titled terminals. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-04.spec.ts: publishes terminal surface agent status for paired web clients; preserves authoritative OMP identity for Pi-compatible remote terminal snapshots; normalizes a remote OMP title without republishing omitted launch identity; skips the foreground-process probe when the PTY launch agent is already known; probes the foreground process only on a status transition for unknown launch agents; passes the client signal and the slept-worktree refusal to the spawn. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts: does not use stale runtime-created PTY status when a neutral PTY title exists; recognizes runtime-created Codex PTY handles from the ready prompt; recognizes runtime-created Antigravity PTY handles from the ready prompt; recognizes live leaf Antigravity terminals from the ready prompt; recognizes a later Antigravity header with a prompt but no model line; keeps mobile terminal surfaces visible while their leaf handle is pending. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-02.spec.ts: lets Claude agents management titles clear stale runtime-created title status; does not recognize live Claude agents panes from a Claude foreground process; does not let stale tab-level agent titles override current neutral pane titles; lists live terminals with fresh pane titles over stale tab titles; lets adopted neutral pane titles use non-shell foreground fallback; lets adopted neutral pane titles retry wrapper foregrounds until recognized; authorizes settled CLI prompts only after positive %s foreground identity; does not recognize arbitrary foreground TUIs as running agents; lets live neutral pane titles retry wrapper foregrounds until recognized; lets current Claude agents PTY titles override stale runtime-created OSC titles; does not let stale Claude agents OSC titles suppress current PTY title activity. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status.spec.ts: keeps preallocated terminal handles valid across renderer reloads; preserves runtime-created PTY process identity after graph unavailable; keeps prompt bindings fenced across runtime restarts without provider incarnation; recognizes runtime-created PTY handles with agent launch titles; does not treat a bare Cursor Agent native title as a running agent session; uses stale runtime-created PTY status when there is no title or foreground evidence. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-07.spec.ts: keeps orphaned list and show writability aligned with the send gate. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-04.spec.ts: cancels a coalesced SSH worker recovery retry when its provider disconnects. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-03.spec.ts: retries renderer reveal before clearing an adopted legacy worker sleeping record. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-02.spec.ts: recovers exported ORCA_TERMINAL_HANDLE from discovered live PTY sessions. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-12.spec.ts: applies ANSI erase-from-start line controls in retained previews; applies ANSI stripping for private or intermediate CSI line controls; applies ANSI stripping for unsupported erase-line modes; reveals an agent terminal under the pane the caller reserved; keeps a fresh %s pane host-owned when a desktop window is available; keeps desktop publication %s separate from the reserved host spawn; mints its own pane when the reserved leaf is malformed, and reports the one it used; starts an agent terminal with the model the caller picked; starts an agent terminal without a model flag when no pick was made; attributes a startup-agent launch named %s as %s; attributes a fresh agent session the host builds as unknown; leaves a bare agent command the user typed out of launch attribution. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-11.spec.ts: trims oversized terminal output bursts without per-line array shifts; builds terminal previews without mapping the full retained tail; keeps recent PTY replay output capped without needing previous data for large chunks; applies terminal redraw controls before retaining previews; applies ANSI terminal redraw controls before retaining previews; retains multi-line ANSI footer redraws instead of appending old frames; keeps the cursor column when erasing full lines in multi-line redraws; applies ANSI split redraw controls without leaking raw params. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-10.spec.ts: returns renderer visible screen lines through terminal.read RPC JSON result; separates composer drafts from provider-owned terminal screens. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-09.spec.ts: reports an in-flight PTY focus as not navigated when its notifier disappears; reports graph-leaf focus as not navigated without a host notifier; grounds the provider mode tracker before a later chunk, in the emulator order; grounds an in-flight provider snapshot capture so it cannot publish the pre-reset screen; waits for terminal exit and resolves with the exit status; keeps terminal read payloads bounded while retained output remains pageable; trims terminal read preview character budget without per-line array shifts. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-08.spec.ts: submits a silent Claude composer once after the bounded render fallback; chunks large terminal.send text before provider writes; yields chunked terminal input through immediates between writes; yields while validating accepted large terminal.send text before provider writes; reveals a background terminal session when focusing its handle; replays captured launch config when focusing a background agent session; reveals background terminal sessions with the freshest PTY title; renames background terminal handles without requiring a visible tab; keeps a background terminal handle stable while reveal adoption is racing. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-07.spec.ts: resolves tui-idle when a stale Codex prompt is followed by Antigravity readiness; returns an agent-neutral blocked wait result for update prompts; returns an agent-neutral blocked wait result for workspace trust prompts; returns an agent-neutral blocked wait result for cwd selection prompts; returns a blocked wait result for Codex model migration prompts; returns a blocked wait result for Codex startup hook review prompts; returns an agent-neutral blocked wait result for generic interactive prompts; splits text and enter writes for background terminal handles; types the lead line for %s: %s; submits through the agent-specific PTY timing policy for %s. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-06.spec.ts: waits for exit on background terminal handles; keeps retained PTY transcript memory when controller refresh fails; resolves tui-idle from an Antigravity ready prompt preview; resolves Antigravity ready prompts with newline-heavy pasted tails without splitting; resolves live-leaf tui-idle from an Antigravity ready prompt preview. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-03.spec.ts: spawns the available Qoder command for a captured same-session resume: %s; does not use the local Windows shell setting for remote Windows bare agent creates; matches canonical bare agent commands when a command override is configured; keeps non-bare agent command terminal creates unchanged; keeps disabled bare agent command terminal creates unchanged; injects runtime hook receiver env into terminal sessions; creates background terminal sessions for a $label; creates background terminal sessions for a $label; enables Claude Agent Teams only for direct Claude launches when configured in-process; reveals Claude Agent Teams launches with the rewritten launch config; preserves Claude Agent Teams for sequenced Claude launches. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness.spec.ts: creates visible terminal sessions without asking the renderer to focus a tab; asks the pty controller for the requested shell instead of a startup command; knows the agent a flagged launch command names before any process read; retires a flagged command pane identity when the command exits; retires only receipted restored PTY authority on command completion and exit; forgets synthetic handles when disconnected PTY records are pruned. src/main/runtime/orca-runtime-tests/headless-snapshots.spec.ts: returns OSC titles from headless main terminal snapshots; adopts renderer-seeded titles into headless main terminal snapshots; returns cwd metadata from seeded headless main terminal snapshots; adopts OSC7 host metadata from seeded headless terminal scrollback; falls back to the renderer snapshot for hidden-output recovery without headless state; keeps an empty headless snapshot authoritative for hidden-output recovery; advances the absolute output sequence across a daemon stream gap; emits explicit OSC 9999 agent status from runtime PTY data. src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-02.spec.ts: falls back to the provider snapshot for a restored PTY with no mounted renderer; falls back to the available mirror when authoritative provider history is unavailable; keeps an empty renderer snapshot when the provider has no retained content; keeps restored provider history authoritative after later live output; uses provider alternate-screen state while a partial model is unsafe; prefers the tracked title over the headless emulator lastTitle; keeps the cursor-agent literal in record-fallback snapshots only without a tracker title; touches mobile snapshots once for decorative spinner ticks, again on idle. src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts: creates a same-repo PR branch override from a resolved head SHA and matching push target; skips broad remote fetch for an existing full-SHA PR base; creates a selected Bitbucket PR branch override from a matching remote branch; suffixes an existing PR when a matching push target lacks selected PR metadata; suffixes a matching push target branch when selected PR metadata has no PR number; suffixes a matching push target branch when the existing PR is different; suffixes a selected PR remote conflict when the PR lookup fails; checks out an unused runtime PR branch only when it is at the resolved head SHA; suffixes only the runtime worktree path when an exact PR branch checkout path exists. src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts: returns runtime local base update suggestions from addWorktree; creates a runtime local worktree from a usable persisted local branch base; does not create a runtime local worktree when the refresh fails and no local base ref exists; creates a branchNameOverride worktree from the selected matching remote base ref. src/main/runtime/integrations/skill/orca-runtime-skill-recovery.test.ts: continues skill management after startup recovery fails. src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-detached-routing.spec.ts: uses bounded ownership lookup for direct arrivals while the agent cannot take input; wakes a bound Run waiter when same-Run direct mail arrives; keeps an unowned detached-recipient message in its direct mailbox; uses primary-key lookups for bounded routing updates. src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-delivery.test.ts: remove only literal registration import/call pairs import './orchestration-mailbox-pointer-cli-command.spec'; no additional authored credit. src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-pointer-cli-command.spec.ts: renders the %s CLI command in a mailbox pointer. src/main/runtime/rpc/methods/terminal/terminal-multiplex-link-estimate.test.ts: sizes a slow high-latency link near twice its bandwidth-delay product; never paces a LAN, even when its client parses slowly; never paces a fast link; returns to legacy windows when the path RTT jumps. src/main/runtime/rpc/methods/terminal/terminal-snapshot-scrollback-rows.test.ts: steps down the row ladder when history is over the byte budget; tries the larger first row count, then the usual ladder within the same byte budget. src/main/runtime/rpc/server/pairing/network/windows-default-route-interfaces.test.ts: returns unknown when route inspection fails or emits malformed data; does not inspect routes outside Windows. src/main/runtime/rpc/server/pairing/pairing-offer-owner-cli.test.ts: is refused to a paired %s client; reports a failed widening instead of advertising an unreachable address. src/main/runtime/rpc/terminal-multiplex-end-verdict.test.ts: reports exited only when the owning runtime completes the exit waiter; reports unverifiable when the runtime cannot observe the exit waiter; reports unverifiable when a disconnected PTY resolves with unknown liveness. src/main/runtime/session-graph/headless-runtime-graph.spec.ts: lets a session tab inventory settle on a host no renderer publishes for. src/main/runtime/session-graph/runtime-graph-standing-contracts.test.ts: remove only literal registration import/call pairs import { registerHeadlessRuntimeGraphTests } from './headless-runtime-graph.spec', registerHeadlessRuntimeGraphTests(); no additional authored credit. src/main/runtime/session-tabs/structured-conversation-tab-title.test.ts: bumps the stored snapshot version only when the title changes. src/main/runtime/session-tabs/terminal-close-observed-exit.test.ts: keeps the healthy aggregate verification and delayed physical exit behavior; uses a stamped exit for the incarnation that was actually being closed. src/main/runtime/terminal/identity/terminal-identity-probe.test.ts: answers live for a structured worker without touching the PTY graph; answers live for a PTY handle the runtime still holds; runs the full leaf check for a handle with no live PTY; answers not-live for a stale handle; propagates \"could not look\" rather than reporting it as a dead handle. src/main/runtime/terminal/layout/paired-desktop-server-writes-layout-owner.test.ts: names the tab in main’s layout through terminal.rename; takes a window-style layout.apply close as already stopped, so the terminal runs on. src/main/runtime/terminal/lifecycle/pty-lifecycle-generation-retention.test.ts: retains no lifecycle generation after a spawn/exit cycle. src/main/runtime/terminal/lifecycle/run-terminal-user-open.test.ts: reads a freshly spawned terminal as used once a user opens its tab, not on a probe; keeps the open mark on the process a user open starts. src/main/runtime/terminal/surface/terminal-surface-replies-window.test.ts: from a desktop window that mounts both panes; from a server with no window. src/main/runtime/terminal/surface/workspace-layout-projection.test.ts: carries views for a partition that holds none yet. src/main/runtime/terminal/view/terminal-subscribe-exit-waiter-leak.test.ts: releases a signalled exit-waiter when the signal aborts. src/main/runtime/terminal/wait/orca-runtime-exact-worker-provider-session.test.ts: selects a local hook status for a local pane. src/main/runtime/terminal/wait/prime-agent-screen-readiness-transcripts.test.ts: keeps the footer and the bare caret on screen mid-turn; %s: the screen alone reads ready during %s. src/main/runtime/workspaces/startup/runtime-worktree-agent-startup.test.ts: uses per-launch arguments and preserves launch telemetry; attributes a startup agent whose caller named no surface as unknown; launches %s bare for an absent or blank prompt; attributes a %s draft launch named %s as %s; merges an automation's extras over the host defaults; threads worktree-create extras into the startup build; returns an enabled requested agent without detecting; returns the default when nothing was requested; detects instead of using the default when the requested agent is disabled; starts no agent when the default is blank; detects an enabled agent on this host when nothing usable was named; starts no agent when detection finds none. src/main/runtime/workspaces/startup/runtime-worktree-startup-readiness.test.ts: pastes and submits through composer readiness, never typing raw input; types the follow-up on WSL or SSH-to-Windows once the agent is in front, as before; cleans up the deadline when the composer was already captured; a draft that is not submitted is pasted on the box cursor, as before; takes the box after the grace when the row never comes, whatever repaints; takes the box at the deadline when the grace would outlast the budget; lets a dialog on screen veto a grace; refuses the deadline inside a pending grace while a shell is in front; takes the box at the deadline inside a pending grace with the agent in front; takes the box at the deadline after a refused grace once the agent is in front. src/main/skills/skill-install-transaction.test.ts: installs, previews unchanged bytes, and updates a clean receipt-owned skill; preserves the old version after a %s filesystem failure. src/main/speech/model-manager-download-resume.test.ts: requests the remaining bytes when a clean range response ends before the file total; bounds a server that advances by pathologically tiny segments forever. src/main/ssh/config/ssh-config-parser.test.ts: parses a basic host block; parses multiple host blocks; skips wildcard-only Host entries; skips Host entries with only pattern characters; parses IdentityFile with ~ expansion; parses Windows-style IdentityFile with ~ expansion; parses quoted scalar values like OpenSSH; parses equals-form scalar directives; parses IdentityAgent with ~ expansion; parses IdentitiesOnly; parses GSSAPIAuthentication; keeps the first GSSAPIAuthentication value like OpenSSH; parses ProxyCommand, ProxyUseFdpass, and ProxyJump; ignores comments and blank lines; handles case-insensitive keywords; stops current block on Match directive; returns empty array for empty input; creates one parsed host per concrete alias on a multi-pattern Host line; applies identity agent settings to every concrete alias on a multi-pattern Host line; defaults port to 22 for invalid port values; converts hosts to SshTarget objects; uses host alias as hostname when HostName is missing; skips hosts that are already imported; defaults username to empty string when not specified; carries through identityFile, identityAgent, identitiesOnly, proxyCommand, and jumpHost; carries through gssapiAuthentication; imports duplicate aliases only once and keeps the first concrete host; maps hosts for the picker and flags aliases already in Orca; de-dupes aliases and defaults missing fields; parses hostname, user, port from ssh -G output; collects multiple identity files; parses forwardagent yes; defaults port to 22 when missing; returns empty hostname when missing; returns undefined user when missing; handles empty output; skips lines without spaces; parses proxycommand and filters \"none\"; parses proxyusefdpass yes; parses proxyjump and filters \"none\"; handles ~ expansion in identity file paths; handles Windows-style ~ expansion in identity file paths; parses identityagent with ~ expansion; preserves identityagent none so auth can disable agent fallback; parses identitiesonly yes; parses gssapiauthentication; parses controlmaster options and filters controlpath none. src/main/ssh/config/ssh-known-hosts-source.test.ts: splits the space-separated list ssh -G prints on one line; expands ~ in a reported path; keeps a double-quoted path containing spaces whole; falls back to the default files when ssh -G reported nothing; drops an explicit none without falling back to the defaults; splits both known_hosts lists on one line each; reads StrictHostKeyChecking, including accept-new; reads HostKeyAlias and prefers it for the lookup; reads the non-default port; reports that the lookup came from an alias, so the port is not appended; reports no alias when the dialed host is used; unions the entries of every file; skips a path that is a directory; returns nothing when no file can be read; reports nothing unreadable when every file parses; does not count an empty file as unreadable; prefers HostKeyAlias over the resolved hostname; uses the dialed host, because a resolved hostname can just echo the label; still prefers an explicit HostKeyAlias over the dialed host; falls back to the dialed host when nothing was resolved; is rejoined when the split fragments resolve to nothing; leaves a single unresolvable path alone rather than inventing one; expands the __PROGRAMDATA__ token rather than passing it through as a path; does not rewrite a path that merely BEGINS with the token characters; keeps a drive-letter path with mixed separators intact; splits a spaced Windows home into the fragments the rejoin has to put back. src/main/ssh/config/ssh-known-hosts.test.ts: reads the algorithm from the blob rather than trusting the line; rejects %s; refuses a malformed blob: %s; uses the bare host on the default port; tries the bracketed form first and falls back to bare off-port; matches an exact line; matches case-insensitively; reports a changed key of the same type; reports unknown for %s; matches any host in a comma list; matches the bracketed form on its port; does not apply a bracketed entry to the default port; falls back to a bare line when off-port; never reports a change from the fallback pass; matches a bare literal on the default port; matches a bracketed literal on its port; reports a change for a literal; handles %s; still reports a change for a different key on a revoked host; skips a line carrying an unrecognised marker; does not report a change when only another key type is on file; matches within the same type; accepts CRLF terminators; skips blanks, comments and surrounding whitespace; accepts a hit regardless of which file holds it (%s); never brackets the alias, whatever the port; still brackets an ordinary host on a non-default port; matches a bare alias entry on a non-default port; still accepts the unmodified key field; accepts a hashed entry whose salt is a full SHA1 digest; still accepts the unmutated ssh-keygen -H vector; falls back to the bare host line on a non-default port, as ssh did; refuses a key type it has not seen for a host it knows, as ssh did. src/main/ssh/connection/ssh-connect-config.test.ts: returns undefined when no default keys exist; returns the first existing key file; probes regular and FIDO2 keys in stable default order; keeps a regular default ahead of a malformed FIDO2 default; uses target host/port/username; falls back to resolved config when target fields are empty; keeps imported endpoint fields as the fallback when ssh -G is unavailable; sets readyTimeout to CONNECT_TIMEOUT_MS; sets keepaliveInterval to 15s; enables keyboard-interactive auth so MFA challenges can be answered; uses agent auth when no explicit key and SSH_AUTH_SOCK is set; enables agent forwarding when OpenSSH config requests it and an agent is available; does not enable agent forwarding without a usable agent; resolves IdentityAgent SSH_AUTH_SOCK from the environment; uses the Windows OpenSSH agent pipe when no environment socket is available on Windows; wraps agent auth with IdentityFile filtering when IdentitiesOnly is enabled; applies a manual target IdentitiesOnly setting when ssh -G reports it off; includes unencrypted target.identityFile auth when an agent is available; defers encrypted target.identityFile auth when an agent is available; uses keyFile auth when target.identityFile is set and no agent is available; includes unencrypted resolved identityFile auth when an agent is available; defers a default-path resolved identityFile to the no-agent retry; offers the keyboard-interactive challenge when the agent defers no key; provides fallback key when no agent is available; can force private key inclusion for the post-agent fallback path; falls back to resolved proxyCommand; returns structured jump-host config for target.jumpHost; returns structured jump-host config for resolved proxyJump; returns undefined when no proxy is configured. src/main/ssh/connection/ssh-connection-auth-fallback.test.ts: resolves OpenSSH config using configHost when present; tries ssh-agent before reading an explicit private key; falls back to direct private key auth when agent auth fails; falls back to direct private key auth after too many agent authentication failures; answers bounded keyboard-interactive challenges such as Duo 2FA. src/main/ssh/connection/ssh-connection-store.test.ts: lists picker suppression aliases without consulting re-adoption tombstones; getTarget delegates to store; addTarget generates an id and persists; saves the CLI control switch as given, with no consent stamp; addTarget stamps source as manual by default; addTarget preserves an explicitly provided source; inserts a new config host stamped as ssh-config; asks the parser for all hosts — reconciliation happens in the store; updates an existing config-sourced target when the port changed; refreshes gssapiAuthentication on sync; never overwrites a manual target that owns the alias; does not rewrite an unchanged config-sourced target; returns empty array when nothing changed; tombstones a deleted config-sourced host so re-import skips it; suppresses a deleted manual target from config discovery; re-adding a deleted host reclaims its alias so sync stops suppressing it; editing a target reclaims its alias from the deleted set; records a tombstone when removing any user-facing target; re-adopts orphaned repos when the same host is re-added. src/main/ssh/connection/ssh-connection.test.ts: transitions to connected on successful connect; captures the negotiated SSH server key fingerprint; allows concurrent exec commands for ssh2 transport; removes startup listeners after ssh2 connect succeeds; scopes lifecycle events and pending handshake timers to one mock client; enables TCP_NODELAY on the new ssh2 client after a reconnect cycle; transitions through connecting → connected states; reports error state on connection failure; disconnect cleans up and sets state to disconnected; getTarget returns a copy of the target; getState returns a copy of the state; throws when connecting a disposed connection. src/main/ssh/orcad-migration-stuck-host-profiles.test.ts: never leaves a running terminal behind; is offered only when leaving saved state behind would clear the refusal. src/main/ssh/orcad-runtime-maintenance.test.ts: keeps a connect from retrying a build an explicit Update also failed; offers Force when Update was refused by policy; forwards anew after an activation, since the new slot may bind another port; passes a refusal through and leaves the server linked; forwards anew once a serving slot is restored, which may have bound another port. src/main/ssh/port-forwarding/ssh-port-forward.test.ts: reports the port the OS bound when an ssh2 forward asks for port 0; adds an ssh2 port forward and returns entry; adds a system SSH port forward when no ssh2 client is available; reports the port a system SSH forward resolved when asked for port 0; passes resolved OpenSSH config to system SSH port forwards; disposes a system SSH tunnel when removing the forward; lists forwards filtered by connectionId; removes a forward by id; awaits forward close when removing a forward for user actions; returns null when removing nonexistent forward; removes all forwards for a connection; dispose removes all forwards; stores label in the entry; preserves the existing id when updating a forward succeeds. src/main/ssh/system-transport/system-ssh-forward-process.test.ts: spawns exactly the argv the orphan matcher is given, LogLevel=INFO included; runs port forwards unmultiplexed even when ssh_config disables muxing; preserves manual target port and identity options in the forwarded ssh command; does not spawn ssh when the requested local forward port is already in use; spawns ssh after the requested local forward port preflight succeeds; resolves startup after the grace period when ssh keeps running; sends SIGTERM then SIGKILL when the process does not exit; does not resolve stop until the process exits. src/main/ssh/system-transport/system-ssh-loopback-route.test.ts: dials the held forward ahead of the alias so OpenSSH keeps these over ssh_config; drops a manual target's own port and proxies, which would fight the route; never routes a forward, whose argv must stay stable for orphan recovery; %s → %s; opens the forward over the real proxy, then proves a login over the route; lands the forward on the sshd and known_hosts name the direct route resolved; holds the forward with server-alive probes; never lets the background forward or probe ask for credentials; starts no forward when admission refuses the route; stops the forward when sshd refuses logins over it; stops the whole forward process tree on Windows, once; reports a forward that already exited before anyone listened for it. src/main/startup/browser-process-user-agent-ordering.test.ts: explains admission refusal before a desktop launch exits; explains an orcad holding the profile instead of exiting silently; does not acquire profile admission for a duplicate launch; executes after the dev app name and before later preflight work; exits and releases admission after pending profile move recovery fails; keeps Linux background startup failures console-only and immediate; keeps Linux serve startup failures console-only and immediate. src/main/startup/quit/quit-path-durable-write-blocking.test.ts: store.flushAsync() issues no synchronous fs syscalls; store.flushAsync() also moves the active-view and github-cache sidecars off the thread; stats.flushAsync() issues no synchronous fs syscalls; Grok session cleanup issues no synchronous fs syscalls; stats.flushAsync() closes out live agents before it returns, not when its write lands; a stalled mount leaves the event loop live instead of parking it; store.flushAsync() is one idempotent final barrier; store.flushAsync() resolves instead of throwing when the profile mount rejects writes. src/main/stats/agent-session-transition-recorder.test.ts: counts a hook-only agent that never writes an agent-shaped terminal title; never opens a session from a replayed or disk-restored working status; still closes a live session when the terminating status arrives as a replay; counts one session per turn across repeated working/done cycles; closes an open session when its pane is torn down; bounds the mirror and closes what it evicts; stops the session when the main agent settles and only a watch loop holds the row working; keeps the session open while a subagent outlives the main agent, and closes it when the child settles; dates the stop by the evidence when a shell outlives the last subagent; opens a new session dated by the observation when the main agent resumes after monitoring; never dates a reopen before the close a fact-less OSC repaint caused; dates the first live row after a restored one by the evidence, not the restored clock; treats an unchanged answer as a snapshot, never a transition; opens only on a live working edge; closes only a session it opened. src/main/text-generation/commit-message-text-generation-model-discovery.test.ts: returns static catalog models without spawning for static agents; discovers dynamic models through the agent CLI; discovers dynamic models through the configured agent command override; falls back to static models when dynamic discovery returns no parseable models; falls back to the first discovered non-Pi model when its static default is unavailable. src/main/text-generation/pull-request-context.test.ts: does not fetch unrelated fork remotes before generating PR context; bounds exact remote-ref probe concurrency for a large remote list; reports no branch change because PR context preparation is read-only; keeps a remote-qualified base when the selected base includes the remote. src/main/text-generation/source-control-local-process.test.ts: asks the supervisor to stop and leaves its group to it; signals nothing once the supervisor has exited; stops an agent that ignores its stdin end through its supervisor. src/main/updater/linux-package/linux-package-update-recovery.test.ts: retains the downloaded package with the digest from the event metadata; requires a string downloaded path; accepts an uppercase extension; requires a non-empty string version; matches an absolute file URL by basename; accepts duplicate entries that agree on the digest; refuses an entry with a missing or non-string digest; refuses a digest that is not base64 at all; refuses a malformed percent-encoded URL; refuses a missing or non-array file list; tolerates a non-object event; replaces the retained artifact with a newer download; keeps the retained artifact when a new download has no usable digest; keeps the retained artifact when an unrelated download event arrives; clears the retained artifact; preserves the artifact across a recheck of the same version; clears the artifact when another version takes over; preserves the artifact for an unknown or empty version; is a no-op without a retained artifact; returns the built command and package file name for a verified package; reports missing without a retained artifact; propagates a package-manager discovery failure; rejects a well-formed digest that belongs to another file; never hashes a package that a malformed digest failed to arm; rejects a path outside the cache root; rejects the cache root itself; rejects a package in the updater directory itself; rejects a pending directory that is a symlink out of the cache; performs one hash pass for concurrent requests; revalidates once the in-flight pass settles; does not reuse an in-flight pass for a different artifact; starts a fresh proof when the same package is captured again; returns the verified package path; returns missing without a retained artifact. src/main/updater/releases/updater-prerelease-feed-readiness.test.ts: accepts a GitHub %s asset redirect as ready; reports a GitHub asset request error as unavailable; reports not-ready with a verified last-good tag when the newest assets are unavailable; does not classify a non-positive tag limit as feed unavailability; reproduces the v1.4.142 publishing incident as not-ready; reports transport failures as unavailable instead of not-ready; treats an explicit asset 404 as not-ready when another asset is unavailable; accepts absolute manifest asset URLs without rewriting them to release asset paths; returns not-ready with an older ready update as last-good while newest is publishing. src/main/updater/releases/updater-release-builds.test.ts: lists hourly builds from the dedicated repo, newest first; lists daily builds from the dedicated repo, newest first; separates stable from rc in the shared main repo; skips drafts and unparseable tags; keeps a composed release title and drops one that repeats the tag; hides builds that published no artifact for this platform; returns an empty list when no build has this platform artifact; keeps mac builds visible on macOS regardless of the Windows leg; resolves the platform installer download url; leaves the installer url null when the release published no installer; tolerates a release whose assets are missing or malformed; sends the local gh token as a bearer header when one is available; sends no authorization header when gh has no token; retries unauthenticated once when GitHub rejects the token; does not retry a 401 that was already unauthenticated; falls back to the per-IP bucket when the token is rate limited and tells the gh breaker; reports a secondary limit carrying retry-after without retrying or tripping the breaker; records a primary limit in the token scope %s; keeps %s authenticated when only %s is blocked; skips the token while its scope %s is blocked; surfaces a rate limit with its reset time and a sign-in hint when unauthenticated; omits the sign-in hint when the rate-limited request was authenticated; treats 429 as a rate limit; reports a 403 without rate-limit headers as a plain HTTP error; reports a missing hourly repo distinctly; is null when GitHub sent no reset; prefers retry-after over the primary reset epoch; falls back to the primary reset epoch when there is no retry-after; reads retry-after as seconds; reads retry-after as an HTTP date; pins an hourly tag at the hourly repo download path; pins a daily tag at the daily repo download path; pins a stable tag at the main repo download path; rejects a tag that is not a version. src/main/updater/updater.build-channel-selection.test.ts: uses the display label in the unsupported-platform %s pinned-build error; still pins %s from an unsigned Windows dev build; restores ordinary release checks after local build selection fails; opts into the RC channel when checkForUpdatesFromMenu is called with includePrerelease; pins the generic feed to a perf-tagged prerelease when requested; surfaces no-update feedback when no newer perf-tagged prerelease exists; keeps prerelease publishing-window misses on the generic retry path; leaves the feed URL alone for a normal user-initiated check. src/main/updater/updater.check-preflight.test.ts: ignores a stale update-not-available event after a new check starts preflight; deduplicates repeated manual checks while the immediate checking status is active. src/main/updater/updater.prerelease-fallback.test.ts: retries a prerelease check once against the previous feed tag when the manifest is missing; surfaces a promise-only prerelease fallback failure after the primary error event. src/main/updater/updater.publishing-window-feed.test.ts: repins the generic feed to the newest RC tag for a prerelease user; repins the generic feed to a newer stable tag for a prerelease user; pins a stable fallback when Atom has no newer prerelease; uses last-good concrete feed when a user-initiated check lands during publishing; can offer an older fully published update while the newest release is publishing; keeps background publishing-window fallback on the short retry cadence. src/main/updater/updater.quit-and-install.test.ts: surfaces an accepted retry before electron-updater emits download progress; defers quitAndInstall and runs its launcher within the launch PATH scope; runs pre-quit cleanup before local PTY cleanup during update install; keeps optional pre-quit cleanup fail-and-continue behavior by default; ignores duplicate quitAndInstall requests while the shared delay is pending; arms the forced-exit watchdog once the install commits; disarms the forced-exit watchdog when sync install error recovery keeps the app open. src/main/window/createMainWindow-markdown-editor-focus.test.ts: ignores traffic light sync IPC on non-macOS; still intercepts Cmd+Shift+B and Cmd+Alt+B when the markdown editor is focused; coerces non-boolean setMarkdownEditorFocused payloads to false; opens a table-aware context menu synchronously without a renderer query; builds the plain edit menu for the one right-click the renderer marks as plain text. src/main/window/createMainWindow-renderer-crash-recovery.test.ts: notifies the caller when the renderer process is gone; passes the renderer webContents id through crash recording and recovery callbacks; forwards expected renderer teardowns so the recorder can diagnose suppression; reloads the app shell after an unexpected renderer process loss; does not reload after renderer loss when recovery is disabled; stops auto-reloading after a rapid renderer crash loop trips the breaker. src/main/window/dashboard-popout-window.test.ts: updates the title after language initialization and unsubscribes when closed; lets its preload expose saved WSL hosts in serve-only, and passes nothing otherwise; creates a native-frame window with the shared preload and no webview surface; shows the window on ready-to-show; loads the prod file entry; loads the dev server URL when in dev; focuses the existing window instead of creating a second one; trusts only the live popout webContents; restores a minimized window when re-requested; restores valid persisted bounds; discards off-screen persisted bounds and falls back to defaults; persists bounds on resize after the debounce, guarding near-minimum sizes; keeps saving bounds after a vetoed quit and freezes them only on an allowed quit; closeDashboardPopout closes an open window; applies the persisted app zoom level on dom-ready; follows app zoom changes while open and unsubscribes on close; zoomDashboardPopoutIfFocused steps the popout zoom only while focused; handles the zoom-in chord via before-input-event and ignores other keys; handles mouse-wheel zoom requests outside before-input-event; respects zoom keybinding overrides for keyboard and mouse-wheel paths. src/main/window/dropped-path-preparation.test.ts: opens and stores each unique source once as drop size grows tenfold; passes ordinary paths without copying for %s; preserves ordinary successes and copied successes when another file fails; serializes copy requests from different owners; reports all lost paths without a shared reason when their failures differ. src/main/window/main-window-updater-deferred-setup.test.ts: releases all 64 completed fallback handles without repeating initialization; keeps setup after ready-to-show and releases its fallback afterward; preserves the 15-second fallback when first paint never arrives; preserves destroyed-window guard reads before and at the fallback deadline; keeps the exact %s error and releases its completed fallback; keeps the exact fallback %s error without retrying initialization; preserves pending manual setup after failed ready registration; keeps setup options, live store reads, nudge writes and required quit flush. src/main/worker-threads/worker-thread-request-queue.test.ts: posts one request at a time and in the order it was dispatched; fires a posted call at its own deadline; stops respawning and fails the rest of the queue once deaths hit the cap; clears the death count when a fresh burst starts from full idle. src/main/workspace-hooks/hooks-setup-runner-script.test.ts: builds Windows runners for newline-heavy scripts without line-array splitting; builds POSIX runners without regex-wide CRLF normalization; writes POSIX setup runners for shebang-declared scripts on native Windows paths; keeps batch setup scripts on cmd.exe when the terminal is Git Bash; hands a Git Bash pane a launch command MSYS cannot rewrite for a cmd runner; replays interpreter flags declared on the shebang line; preserves cmd.exe setup runner semantics for configured cmd users; keeps POSIX runner behavior on POSIX platforms; waits when either local or project policy requires completed setup; marks setup-runner terminals for the always-on credential guard; maps git-bash to POSIX setup launch metadata on Windows; falls back to the cmd runner when the git-bash setting has no installed Git Bash; keeps the cmd runner for a non-Git bash such as Cygwin; keeps the cmd runner for a bare bash whose flavor cannot be resolved; uses the POSIX runner for a bare bash that resolves to Git Bash; uses the POSIX runner for an extension-less Git Bash path; preserves the existing cmd runner for PowerShell terminals; preserves cmd setup compatibility when a Windows-host project has a WSL shell setting; classifies an installed explicit Git Bash executable as a POSIX runner; falls back to the cmd runner when the explicit Git Bash path no longer exists. src/main/workspaces/catalog/repo-git-remote-identity-enrichment.test.ts: schedules remote identity enrichment without blocking the caller; probes a drive project whose runtime is WSL %s; sweeps a local repo: %s; probes an SSH row that carries only executionHostId on its own host; keeps same-path rows on two different SSH hosts from sharing one backoff; coalesces concurrent probes for the same repo location; caches no-identity probes briefly so list calls do not retry every time; does not rewrite the no-remote marker on a later retry; resolves a settled no-remote repo once it gains a remote; does not re-probe a resolved identity before the refresh window elapses; re-probes a resolved identity after the refresh window elapses; bounds re-probes per sweep so a large repo list drains gradually; forgets a removed repo location so its deadline cannot outlive the repo; keeps a surviving repo backoff when a sibling repo is removed; probes again when the same location is re-added after its probe was retired; coalesces concurrent sweeps instead of running one pass per list call. src/main/workspaces/creation/preparation/worktree-create-preparation.test.ts: preserves create priority through claim probes on %s; starts the checkout only once the async workspace root resolves; still deduplicates when both callers await the same pending root lookup; namespaces native Windows preparation directories for long paths; deduplicates preparation for the same repo, base, runtime, and workspace root; does not spend a divergence walk when the base matches exactly; claims when the two sides spell the same ref differently; evicts a repo's own stale preparation before another repo's; still discards armed checkouts when the project runtime needs repair; routes preparation and finalization through the selected WSL runtime; retries stale cleanup after a transient listing failure; does not discard a detached worktree with caller-controlled preparation metadata; does not re-arm after an isolated create; re-arms a preparation once creates arrive in a burst; holds the re-arm checkout until the create runs the deferred thunk; starts one explicit prefetch after the create completes; does not re-arm when finalization failed; reports a pending create while a stale-cleanup scan is running. src/main/workspaces/removal/local-worktree-removal-recovery.test.ts: recovers Git for Windows partial filesystem deletion failures; finishes a clean non-force deletion after Git leaves a Windows directory behind; recovers localized Windows failures after Git already removed the registration; does not recover unrelated localized failures while Git still owns the row; finishes a macOS deletion Git deregistered before failing with Directory not empty; leaves an orphaned checkout to the orphan cleanup instead of deleting it; prunes and strictly verifies on the selected WSL host without deleting files or branches. src/main/workspaces/removal/worktree-removal-safety.test.ts: rejects deleting a worktree that contains another registered worktree; rejects POSIX home directories even when host homedir has a different path shape; refuses a home the host reported even when no path rule recognises it; refuses the Windows host's home directory from a POSIX client; refuses the Windows host's home directory even when the host reported nothing. src/main/wsl/discovery/distro-catalog.test.ts: retries asynchronous discovery after a transient wsl.exe failure; retries synchronous discovery after a transient wsl.exe failure; retries asynchronous discovery after wsl.exe reports no distros yet; retries synchronous discovery after wsl.exe reports no distros yet; bounds the wsl.exe spawn rate while no distros are installed; bounds the asynchronous spawn rate while no distros are installed; still caches a non-empty distro list for the process lifetime; re-probes a docker-desktop-only machine once a user distro can appear; backs off while the list keeps coming back empty; backs off after repeated distro-list failures; caps the empty-list backoff at five minutes; keeps reporting an empty result after it goes stale; keeps reporting a known distro list indefinitely; bounds cached homes while retaining the most recently used distros; still lists distros, and an excluded distro home probe fails like any other probe; gives the async home probe time for a cold boot instead of killing it at 5 s; retries availability after a probe timeout instead of latching false; bounds the probe rate while the failure window is open; caches a successful probe for the process lifetime; names an explicit spawn directory, so no deleted cwd can read as ENOENT; shares one wsl.exe spawn between concurrent probes; keeps reporting the last observed answer after it goes stale; holds a definitive failure far longer than a timeout when %s; backs off after repeated probe failures; re-probes a seeded retryable failure once its window lapses; re-probes availability once a distro list succeeds after %s; does not drop an availability failure for an empty distro list; keeps reporting unavailable off Windows without probing. src/main/wsl/discovery/wsl-distro-holder.test.ts: runs a busybox-safe loop through --exec and names the distro; spawns a detached-style holder, records it, and waits for the distro to run; a holder exiting with code 1 notes its distro may have stopped (E9); rejects a pid whose command line is not our holder for that distro; cleans up stale and corrupt records; keeps a holder and its record when release cannot verify it; reports unverifiable when the command line is unreadable even with a matching pid; release kills a verified holder and removes its record; release never kills a pid that is no longer our holder; reports a spawned holder exit so liveness can re-check. src/main/wsl/filesystem/wsl-guest-drive-mountinfo.test.ts: skips 9p shares that are not drvfs, and malformed lines. src/main/wsl/orcad/wsl-orcad-deploy-app-update.test.ts: plans the update on the census the running orcad reports, not an unknown one; forwards force to the update planner; does not serve the incumbent past a refusal that is not a wait; does not re-activate the build this host rolled back from; labels the launch with the build the adoption found serving, not the stale record; defers while another run holds the host fence; lets an explicit force deploy past both skips; names a newer host refusal apart from a rolled-back one, so only Force is offered; updates an older host as before, without asking to adopt it; never asks the incumbent when it already runs this build. src/renderer/src/components/agent/agent-launch-picker-acquisition.test.ts: keeps a completed listing usable when the host rejects the wait parameter. src/renderer/src/components/feature-tips/feature-tip-telemetry.test.ts: delivers to chat-default users in all targeting while holding out not-switched users. src/renderer/src/components/native-chat/composer/pickers/use-native-chat-side-chat-command.test.ts: completes the row on a pick, even when the command is already typed; ignores a pick of the row while side chats are unavailable. src/renderer/src/components/native-chat/media/images/native-chat-image-copy.test.ts: explains a too-large refusal that arrives through the IPC error prefix. src/renderer/src/components/native-chat/messages/actions/native-chat-fork-launch.test.ts: keeps the question with the caller and says once that it never went; tells the user to check the side chat when delivery is unconfirmed; reports a delivered question as sent, silently. src/renderer/src/components/native-chat/messages/actions/native-chat-side-chat-fork-point.test.ts: decides each of %i tool-only turns once per layout, and nothing without a listener. src/renderer/src/components/native-chat/messages/actions/use-native-chat-fork.test.tsx: places a side chat whose question was %s: %o. src/renderer/src/components/terminal-pane/provider-notices/agent-presence/agent-terminal-presence.test.ts: calls back once for %s; stops watching once unsubscribed. src/renderer/src/components/terminal-pane/pty-connection/emulation/pty-connection-mode2031-raw-subscription.spec.ts: records a mode 2031 subscribe from the raw chunk boundary without answering. src/renderer/src/components/terminal-pane/pty-connection/input/pty-connection-deferred-input-forwarding.spec.ts: routes terminal input through deferPtyInput so the host can withhold it; forwards terminal input directly when the host supplies no deferPtyInput. src/renderer/src/components/terminal-pane/pty-connection/notifications/pty-connection-terminal-bell-attention.spec.ts: forwards onBell to pane attention and notification policy; hands the bell to the attention module with its pane even when pane attention is off. src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-dropped-output-snapshot-healing.spec.ts: repaints from the main-owned snapshot when main drops pending output at the cap. src/renderer/src/components/terminal-pane/pty-connection/output/pty-connection-fresh-native-follow-reset.spec.ts: retries a fresh-spawn native follow reset when renderer dimensions return. src/renderer/src/components/terminal-pane/pty-connection/spawn/unbound-pane-spawn-recovery.test.ts: requests a tab remount for an unbound spawn; leaves recovery to a remote transport that armed its own retry; requests a remount when the transport reports no recovery of its own; settles the spawn as failed before requesting a remount; prefers the restored leaf id when reporting the anomaly; falls back to the pane leaf id when no restored leaf exists. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-foreground-agent.test.ts: remove only literal registration import/call pairs import { registerPtyConnectionDeferredInputForwardingTests } from '../input/pty-connection-deferred-input-forwarding.spec', registerPtyConnectionDeferredInputForwardingTests(); no additional authored credit. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts: structural support changed only; no new authored removal credit. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts: remove only literal registration import/call pairs import { registerPtyConnectionFreshNativeFollowResetTests } from '../output/pty-connection-fresh-native-follow-reset.spec', registerPtyConnectionFreshNativeFollowResetTests(); no additional authored credit. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts: remove only literal registration import/call pairs import { registerPtyConnectionTerminalBellAttentionTests } from '../notifications/pty-connection-terminal-bell-attention.spec', registerPtyConnectionTerminalBellAttentionTests(); no additional authored credit. src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-delivery-interest.test.ts: registers interest on the first sidecar and releases on the last unsubscribe; releases sidecar interest only once for repeated unsubscribes; does not let an eager pre-mount buffer defeat hidden delivery gating; keeps eager buffers outside delivery interest when the PTY exits before mount; lets a sidecar exclusively own interest while an eager buffer overlaps. src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-push-reattach.test.ts: blackholed delivery reproduces the wedge: no handler dispatch, no ACK ever. src/renderer/src/components/terminal-pane/pty-transport/ipc/ipc-pty-opencode-model.test.ts: sends preferences to the execution host and attaches only to its returned PTY; preserves one operation ID across a lost reply and reconnect; preserves ordinary raw startup and captured-session attachment. src/renderer/src/components/terminal-pane/pty-transport/output/pty-side-effect-pending-census.test.ts: sums registered gauges and drops disposed ones; ignores a repeated dispose instead of dropping another gauge; stops tracking new gauges past the cap so a missed dispose cannot grow it; tracks a live output processor queue through enqueue, drain, and dispose; excludes cleared consumed entries from retention after a bounded drain. src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-prebind-discard-notice.test.ts: says nothing once the pane is closed. src/renderer/src/components/terminal-pane/render-health/terminal-webgl-atlas-recovery.test.ts: refreshes after each scheduled atlas reset; falls back to a timeout when animation frames are unavailable; continues recovery when a manager throws after scheduling. src/renderer/src/components/terminal-pane/snapshots/pty-buffer-serializer.test.ts: tracks a remounted quiet title source even when the stale owner unregisters later; preserves the renderer-parsed output sequence in the response; preserves a pending escape tail for snapshot replay; routes a host's Reset Terminal request to the pane that owns the PTY. src/renderer/src/components/terminal-pane/snapshots/saved-terminal-output-replay.test.ts: marks panes with restored scrollback for fresh-shell viewport blanking. src/renderer/src/components/terminal-pane/viewport/split-right-white-screen.test.ts: recovers a 0x0 spawn whose container is briefly unmeasurable then settles. src/renderer/src/components/terminal-pane/viewport/visibility/stale-document-visibility.test.ts: removes global listeners when the last pane unregisters. src/renderer/src/components/ui/security-surface-theme-contrast.test.tsx: keeps trust text readable on a host-owned dialog surface; applies the hostile surface to ordinary dialogs, so the case above is exercised. src/renderer/src/components/use-terminal-parking-pass.test.tsx: does not queue a render when a pass produces the same parking sets; keeps parking transitions working under StrictMode. src/renderer/src/hooks/client-workspace-view-report.test.ts: reports an away user’s screen with no presence, and renews as soon as input returns; retries a failed send, empty or not, no sooner than a refresh. src/renderer/src/hooks/ipc-events/terminal-request-ipc-bridge-placement.test.ts: is new work in a workspace with no live terminal: its first bind moves it up in Recent. src/renderer/src/hooks/use-bundled-skill-install.test.tsx: ignores a repeated click while the install runs; retries the last requested skills on this host. src/renderer/src/hooks/useGitHubSlugMetadata.assignee-reuse.test.tsx: adds seeds to a successful empty list but not to loading or failed results; retains seed projection after expiry and fetches fresh metadata for a new reader. src/renderer/src/hooks/useSettingsNavigationMetadata.language-switch.test.tsx: retranslates the settings nav labels when the UI language changes live. src/renderer/src/lib/codex-stale-pane-account-identity.test.ts: keeps the prompt when the roster read fails and every label collapses. src/renderer/src/lib/image-blob-png.test.ts: downscales a pasted image above the pixel cap; releases its temporary URL on a decode error; releases its temporary URL when PNG encoding fails or exceeds the byte cap. src/renderer/src/lib/react-commit-cascade-store-write-samples.test.ts: names callers above the frame the write came from; restores Error.stackTraceLimit when the capture throws; stops collecting after the sample cap when captureStackTrace is unavailable; caps reported changed keys from a single wide write. src/renderer/src/lib/work-items/linear/linear-issue-context-snapshot.test.ts: applies the rendered text hard cap last and reserves the final overflow marker. src/renderer/src/runtime/rpc/targets/use-worktree-runtime-target.test.ts: keeps the runtime target identity stable across unrelated store writes. src/renderer/src/runtime/source-control/git/runtime-git-branch-client.test.ts: keeps creation available on old hosts and explains the missing operation; preserves landed warnings and direct collision recovery data; propagates remote discovery failure instead of a false empty page. src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-key-reuse.test.ts: reuses unchanged worktree tab projections when one worktree title changes; bumps only the changed worktree version when a sibling stays byte-identical. src/renderer/src/store/repos/repos-catalog-request-coordination.test.ts: shares safe-auto fork sync cooldown attempts across store instances. src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-batch.test.ts: collapses a 193-workspace hydration to one store write; leaves the store byte-identical to the per-workspace path; re-reconciling the batched result is a no-op, as it is for the per-workspace path. src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-fixture.ts: dedicated zero-case helper retirement; no authored test credit. src/renderer/src/store/slices/worktrees/metadata/update-worktrees-meta.test.ts: persists each batch metadata update to its workspace owner. src/renderer/src/store/slices/worktrees/metadata/worktree-meta-rename.test.ts: dismisses a rename error on its capable remote owner; clears pending first-agent rename when the title is updated. src/renderer/src/store/terminals/store-sleep-shutdown-order.test.ts: orders capture, guards, handlers, main's stop, commit, cleanup, and exit settlement. src/renderer/src/store/terminals/terminal-first-tab-publication.test.ts: publishes the first terminal and root tab group atomically; publishes the first terminal and root tab group atomically, then marks it starting in main. src/renderer/src/store/terminals/workspace-terminal-reconnect-hydration.test.ts: restores daemon terminal wake hints before declaring the session ready. src/renderer/src/web/web-runtime-connection-auth-framing.test.ts: keeps legacy framing for sockets that cannot absorb a refused attempt. src/shared/terminal/appearance/terminal-font-weight-windows-regular.test.ts: moves the old Windows default to Regular once and queues the notice; keeps custom weights and fresh profiles without a notice; leaves macOS and Linux profiles untouched. tests/e2e/claude-agent-row-view.unit.test.ts: updates a mounted compact workflow description through the subscribed production parent; bounds upstream active-SSH visits for $population records, fallback=$fallback; derives %s destinations without requiring type or a workflow child ID; terminates a $path parent $status with no third request or intermediate toast; does not recover a first child %s. tests/e2e/cross-version-wire/agent-permission-legacy-spawn.unit.test.ts: keeps exact legacy ordering when structured creation cannot express afterTabId; can create a terminal without selecting the target worktree; preserves the legacy fresh-agent path when host authority is unavailable. tests/e2e/paired-instant-browser-tab.spec.ts: shows a paired browser tab before its create RPC resolves, then keeps it as one tab; adopts a paired browser tab without rebuilding its chrome. tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts: bounds host publication and renderer application across remote worktrees; globally caps decorative freshness while every working status stays fresh. tests/e2e/session-tabs/mobile-session-active-performance.unit.test.ts: bounds saved-order publication selection at N and 10N without rematerializing navigation; bounds admitted placement reconciliation during supported reads at N and 10N; bounds selection input visits at 50 and 500 rows, including unavailable-target projection; keeps publication scoped to a changed worktree and shared by listeners at N and 10N; bounds preserved-chat merge and runtime-owned hydration at N and 10N (legacy=%s); bounds actual native retirement and shared delivery work at N and 10N. tests/e2e/session-tabs/mobile-session-active-publication.unit.test.ts: does not substitute a preserved row for an unavailable explicit legacy selection; resolves main-layout group selection %s (omitted group=%s). tests/e2e/structured-agent-session-launch-admission.unit.test.ts: opens a direct caller's terminal with the caller's own CLI arguments on a decline; opens the chat on the server that admitted it; opens only the terminal when this machine declines, without a notice; opens a new agent tab's terminal with the typed prompt when the caller names none; opens the chat, not a terminal, when this machine cannot resolve a new workspace yet; keeps its terminal fallback, as before. tests/e2e/structured-attention-prompt-relay.unit.test.ts: settles once per relayed prompt, not on every later status update. tests/e2e/structured-attention-read-retirement.unit.test.ts: Mark read on a chat never opened withdraws the prompt alert it surfaced; Mark read on a chat hidden since an earlier view covers the newer prompt it surfaced; reads a newly accepted visible prompt without sending an RPC for text-only updates. tests/e2e/structured-chat-tab-lifetime-cost.unit.test.ts: counts real raw stores, unrelated window publications and captured cleanup at %i chats; counts complete supplied-member sweep and separate final retirement at S=%i N=%i. tests/e2e/structured-session-workspace-authority.unit.test.ts: bounds actual target reveal across %i repo roots and metadata aliases. tests/e2e/terminal-agent-pane-launch.unit.test.ts: starts the host's planned command once, at the pane's size, and says it started; plans a pane whose prompt the window submits without the startup update prompt; preserves caller shell-ready delivery only for a connection-scoped adapter ($connectionId); starts no shell on plan failure (original failure: $returnLaunchFailure); cannot confirm a start whose provider answer was lost. tests/e2e/terminal-parked-memory.spec.ts: releases renderer terminal memory when hidden tabs park. tests/e2e/terminal-shortcuts.spec.ts: @headful Codex-like background output stays visible without disabling WebGL in auto mode; Shift with Russian layout text reaches the PTY as Cyrillic under kitty keyboard reporting. tests/e2e/terminal-split-activation-latency.spec.ts: records attributed CWD, spawn, bind, fixture-ready, input, and echo phases. tests/e2e/terminal-split-activation-latency-phases.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-main-probe.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-artifact.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-report.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-tab-switch-visual-restore.spec.ts: restores skipped hidden Grok output on light tab resume. tests/e2e/web-runtime-session-terminal-host-authority.unit.test.ts: delivers independent %s effort through the real prepared web callback; keeps same-ID local and runtime worktrees on the selected runtime owner; creates paired web agents through host authority so activation is mirrored; delivers generated continuation context after host-authoritative creation; seeds the chat composer for a draft that rode in on the launch command. Current changed source bytes, wrapper registrations and reduced selectors have no fresh execution or red/green credit. Unrelated surviving receipt objects keep their original narrow scope; current literal graph reachability does not establish historical import closure or equivalent replacement coverage. Current conservative command/import graph reaches src/main/persistence/worktree-sort-order-write.test.ts, src/main/runtime/construction/orca-runtime.test.ts, src/main/runtime/orca-runtime-tests/targeting-and-resilience.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts, src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases-part-02.spec.ts, src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases.spec.ts, src/main/runtime/orca-runtime-tests/worktree-setup-and-startup-part-03.spec.ts, src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts, src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-13.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-11.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-10.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-08.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-07.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-05.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-04.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-05.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-04.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-07.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-04.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-12.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-11.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-10.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-09.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-08.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-07.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-06.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness.spec.ts, src/main/runtime/orca-runtime-tests/headless-snapshots.spec.ts, src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-02.spec.ts, src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts, src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts, src/main/runtime/integrations/skill/orca-runtime-skill-recovery.test.ts, src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-detached-routing.spec.ts, src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-delivery.test.ts, src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-pointer-cli-command.spec.ts, src/main/runtime/rpc/methods/terminal/terminal-multiplex-link-estimate.test.ts, src/main/runtime/rpc/methods/terminal/terminal-snapshot-scrollback-rows.test.ts, src/main/runtime/rpc/server/pairing/network/windows-default-route-interfaces.test.ts, src/main/runtime/rpc/server/pairing/pairing-offer-owner-cli.test.ts, src/main/runtime/rpc/terminal-multiplex-end-verdict.test.ts, src/main/runtime/session-graph/headless-runtime-graph.spec.ts, src/main/runtime/session-graph/runtime-graph-standing-contracts.test.ts, src/main/runtime/session-tabs/structured-conversation-tab-title.test.ts, src/main/runtime/session-tabs/terminal-close-observed-exit.test.ts, src/main/runtime/terminal/identity/terminal-identity-probe.test.ts, src/main/runtime/terminal/layout/paired-desktop-server-writes-layout-owner.test.ts, src/main/runtime/terminal/lifecycle/pty-lifecycle-generation-retention.test.ts, src/main/runtime/terminal/lifecycle/run-terminal-user-open.test.ts, src/main/runtime/terminal/surface/terminal-surface-replies-window.test.ts, src/main/runtime/terminal/surface/workspace-layout-projection.test.ts, src/main/runtime/terminal/view/terminal-subscribe-exit-waiter-leak.test.ts, src/main/runtime/terminal/wait/orca-runtime-exact-worker-provider-session.test.ts, src/main/runtime/terminal/wait/prime-agent-screen-readiness-transcripts.test.ts, src/main/runtime/workspaces/startup/runtime-worktree-agent-startup.test.ts, src/main/runtime/workspaces/startup/runtime-worktree-startup-readiness.test.ts, src/main/skills/skill-install-transaction.test.ts, src/main/speech/model-manager-download-resume.test.ts, src/main/ssh/config/ssh-config-parser.test.ts, src/main/ssh/config/ssh-known-hosts-source.test.ts, src/main/ssh/config/ssh-known-hosts.test.ts, src/main/ssh/connection/ssh-connect-config.test.ts, src/main/ssh/connection/ssh-connection-auth-fallback.test.ts, src/main/ssh/connection/ssh-connection-store.test.ts, src/main/ssh/connection/ssh-connection.test.ts, src/main/ssh/orcad-migration-stuck-host-profiles.test.ts, src/main/ssh/orcad-runtime-maintenance.test.ts, src/main/ssh/port-forwarding/ssh-port-forward.test.ts, src/main/ssh/ssh-channel-multiplexer.test.ts, src/main/ssh/system-transport/system-ssh-forward-process.test.ts, src/main/ssh/system-transport/system-ssh-loopback-route.test.ts, src/main/startup/browser-process-user-agent-ordering.test.ts, src/main/startup/quit/quit-path-durable-write-blocking.test.ts, src/main/stats/agent-session-transition-recorder.test.ts, src/main/text-generation/commit-message-text-generation-model-discovery.test.ts, src/main/text-generation/pull-request-context.test.ts, src/main/text-generation/source-control-local-process.test.ts, src/main/updater/linux-package/linux-package-update-recovery.test.ts, src/main/updater/releases/updater-prerelease-feed-readiness.test.ts, src/main/updater/releases/updater-release-builds.test.ts, src/main/updater/updater.build-channel-selection.test.ts, src/main/updater/updater.check-preflight.test.ts, src/main/updater/updater.prerelease-fallback.test.ts, src/main/updater/updater.publishing-window-feed.test.ts, src/main/updater/updater.quit-and-install.test.ts, src/main/window/createMainWindow-markdown-editor-focus.test.ts, src/main/window/createMainWindow-renderer-crash-recovery.test.ts, src/main/window/dashboard-popout-window.test.ts, src/main/window/dropped-path-preparation.test.ts, src/main/window/main-window-updater-deferred-setup.test.ts, src/main/worker-threads/worker-thread-request-queue.test.ts, src/main/workspace-hooks/hooks-setup-runner-script.test.ts, src/main/workspaces/catalog/repo-git-remote-identity-enrichment.test.ts, src/main/workspaces/creation/preparation/worktree-create-preparation.test.ts, src/main/workspaces/removal/local-worktree-removal-recovery.test.ts, src/main/workspaces/removal/worktree-removal-safety.test.ts, src/main/wsl/discovery/distro-catalog.test.ts, src/main/wsl/discovery/wsl-distro-holder.test.ts, src/main/wsl/filesystem/wsl-guest-drive-mountinfo.test.ts, src/main/wsl/orcad/wsl-orcad-deploy-app-update.test.ts, src/renderer/src/components/agent/agent-launch-picker-acquisition.test.ts, src/renderer/src/components/feature-tips/feature-tip-telemetry.test.ts, src/renderer/src/components/native-chat/composer/pickers/use-native-chat-side-chat-command.test.ts, src/renderer/src/components/native-chat/media/images/native-chat-image-copy.test.ts, src/renderer/src/components/native-chat/messages/actions/native-chat-fork-launch.test.ts, src/renderer/src/components/native-chat/messages/actions/native-chat-side-chat-fork-point.test.ts, src/renderer/src/components/native-chat/messages/actions/use-native-chat-fork.test.tsx, src/renderer/src/components/terminal-pane/provider-notices/agent-presence/agent-terminal-presence.test.ts, src/renderer/src/components/terminal-pane/pty-connection/emulation/pty-connection-mode2031-raw-subscription.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/input/pty-connection-deferred-input-forwarding.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/notifications/pty-connection-terminal-bell-attention.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-dropped-output-snapshot-healing.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/output/pty-connection-fresh-native-follow-reset.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/spawn/unbound-pane-spawn-recovery.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-foreground-agent.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts, src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-delivery-interest.test.ts, src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-push-reattach.test.ts, src/renderer/src/components/terminal-pane/pty-transport/ipc/ipc-pty-opencode-model.test.ts, src/renderer/src/components/terminal-pane/pty-transport/output/pty-side-effect-pending-census.test.ts, src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-prebind-discard-notice.test.ts, src/renderer/src/components/terminal-pane/render-health/terminal-webgl-atlas-recovery.test.ts, src/renderer/src/components/terminal-pane/snapshots/pty-buffer-serializer.test.ts, src/renderer/src/components/terminal-pane/snapshots/saved-terminal-output-replay.test.ts, src/renderer/src/components/terminal-pane/viewport/split-right-white-screen.test.ts, src/renderer/src/components/terminal-pane/viewport/visibility/stale-document-visibility.test.ts, src/renderer/src/components/ui/security-surface-theme-contrast.test.tsx, src/renderer/src/components/use-terminal-parking-pass.test.tsx, src/renderer/src/hooks/client-workspace-view-report.test.ts, src/renderer/src/hooks/ipc-events/terminal-request-ipc-bridge-placement.test.ts, src/renderer/src/hooks/use-bundled-skill-install.test.tsx, src/renderer/src/hooks/useGitHubSlugMetadata.assignee-reuse.test.tsx, src/renderer/src/hooks/useSettingsNavigationMetadata.language-switch.test.tsx, src/renderer/src/lib/codex-stale-pane-account-identity.test.ts, src/renderer/src/lib/image-blob-png.test.ts, src/renderer/src/lib/react-commit-cascade-store-write-samples.test.ts, src/renderer/src/lib/work-items/linear/linear-issue-context-snapshot.test.ts, src/renderer/src/runtime/rpc/targets/use-worktree-runtime-target.test.ts, src/renderer/src/runtime/source-control/git/runtime-git-branch-client.test.ts, src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-key-reuse.test.ts, src/renderer/src/store/repos/repos-catalog-request-coordination.test.ts, src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-batch.test.ts, src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-fixture.ts, src/renderer/src/store/slices/worktrees/metadata/update-worktrees-meta.test.ts, src/renderer/src/store/slices/worktrees/metadata/worktree-meta-rename.test.ts, src/renderer/src/store/terminals/store-sleep-shutdown-order.test.ts, src/renderer/src/store/terminals/terminal-first-tab-publication.test.ts, src/renderer/src/store/terminals/workspace-terminal-reconnect-hydration.test.ts, src/renderer/src/web/web-runtime-connection-auth-framing.test.ts, src/shared/terminal/appearance/terminal-font-weight-windows-regular.test.ts, tests/e2e/claude-agent-row-view.unit.test.ts, tests/e2e/cross-version-wire/agent-permission-legacy-spawn.unit.test.ts, tests/e2e/paired-instant-browser-tab.spec.ts, tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts, tests/e2e/session-tabs/mobile-session-active-performance.unit.test.ts, tests/e2e/session-tabs/mobile-session-active-publication.unit.test.ts, tests/e2e/structured-agent-session-launch-admission.unit.test.ts, tests/e2e/structured-attention-prompt-relay.unit.test.ts, tests/e2e/structured-attention-read-retirement.unit.test.ts, tests/e2e/structured-chat-tab-lifetime-cost.unit.test.ts, tests/e2e/structured-session-workspace-authority.unit.test.ts, tests/e2e/terminal-agent-pane-launch.unit.test.ts, tests/e2e/terminal-parked-memory.spec.ts, tests/e2e/terminal-shortcuts.spec.ts, tests/e2e/terminal-split-activation-latency.spec.ts, tests/e2e/terminal-split-activation-latency-phases.ts, tests/e2e/terminal-split-activation-latency-main-probe.ts, tests/e2e/terminal-split-activation-latency-artifact.ts, tests/e2e/terminal-split-activation-latency-report.ts, tests/e2e/terminal-tab-switch-visual-restore.spec.ts, tests/e2e/web-runtime-session-terminal-host-authority.unit.test.ts. Unresolved local/computed edges remain explicit debt.", "Audit2095 current-parent preparation2126 (approved2092/2093 removals; source refresh2109/independent2112): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-03.spec.ts: rejects exact terminal stop for multiple expected PTYs before stopping anything; omits stale renderer leaves when fresh PTY liveness is required; omits unbound renderer placeholders when fresh PTY liveness is required; captures the event method before the nested sleep receipt changes it; returns the close receipt without requiring a PTY stop; uses the same stop result as an empty explicit stop. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-04.spec.ts: builds a compact worktree summary from persisted and live runtime state; reads the linked-PR state from the renderer repoId-keyed GitHub cache; carries persisted worktree host ownership in mobile summaries; emits only instance- and boundary-validated lineage parents in mobile summaries; resolves WSL platforms only for repos represented in mobile summaries; omits worktrees hidden by the host visibility policy from mobile summaries; applies linked-checkout source visibility to mobile summaries. src/main/runtime/orca-runtime-tests/hooks-and-hosted-review-part-02.spec.ts: routes runtime GitHub PR details and actions through the selected WSL project runtime; passes SSH connection context through hosted review creation flows; routes local WSL project hosted review flows through runtime git options; treats SSH worktree drift as unknown without local git probes. src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts: emits one mobile session terminal tab per live PTY even if two tabs resolve to it; resolves projected split authority from the parent layout PTY binding; keeps explicit-id terminal lists from resolving all worktrees; keeps explicit-id cold-cache terminal lists from classifying unrelated same-repo worktrees; keeps unknown bare terminal-list ids on the no-scan exact-id path; matches explicit-id cwd PTYs for folder workspace instance IDs; routes PTY output through the PTY leaf index in large terminal graphs. src/main/runtime/orca-runtime-tests/window-authority.spec.ts: claims the first window as authoritative and ignores later windows; transfers authority from the headless sentinel to the first real window; relays terminal browser launches only while headless owns the graph; marks live headless PTYs for renderer reattach before desktop promotion; reports the activation gate state while no desktop window is available; bumps the epoch and enters reloading when the authoritative window reloads; can mark the graph ready for the authoritative window; drops back to unavailable and clears authority when the window disappears; hands the graph back to headless when a promoted serve window closes (#27292); keeps a crashed promoted serve renderer on its own window while the window is open; stays unavailable during initial loads before a graph is published. src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-routing-races.spec.ts: stops paged routing when the check is cancelled; keeps an unfiltered redrive unrestricted when reservations merge; keeps an unfiltered parked delivery unrestricted when reservations merge; uses a bounded indexed pane lookup for reminted Dispatch identity. src/main/runtime/workspaces/removal/worktree-teardown-unstopped-pty.test.ts: removes the reported wedged automation workspace without --force; clears PTY state once a failed stop is proven to have exited; names only the PTYs that are actually live, not every failed stop; warns with the specific sweep failure, not the generic deadline; still fails closed on a sweep-level failure without force. src/main/skills/bundled-skill-install/layouts.test.ts: links into a project only where its agent folder already exists; reads a pending cloud transaction as busy and a cloud receipt as another skill. src/main/skills/skill-upload-session-service.test.ts: joins concurrent disposal callers through exact cleanup completion. src/main/source-control/hosted-review-creation.test.ts: creates the pull request after fresh main-process validation passes; routes local WSL git and GitHub review creation through the selected runtime; creates a pull request on a GitHub Enterprise Server remote (#8312); creates a GitLab merge request after fresh main-process validation passes; creates an Azure DevOps pull request after fresh main-process validation passes; creates a Gitea pull request after fresh main-process validation passes. src/main/source-control/hosted-review-execution-host-routing.test.ts: reads a GitHub review on the SSH host a row names only in executionHostId; reads a GitLab review on the executionHostId host when connectionId names a different one; does not dial this client for a runtime row whose nested target shares a local name; keeps a runtime row with no nested target on this process (self-addressed stamp); keeps a legacy connectionId-only SSH row on its target; does not share a cached answer between two rows at one path on different hosts; creates a Bitbucket review locally for a runtime row rather than dialing its nested target; reports creation eligibility from the executionHostId-only SSH host; resolves the GitHub slug for a repo listing on the row it is asked about; refuses to dial a runtime host from this process; answers with the SSH target for both spellings and local otherwise; reads a runtime stamp on a row in this store as self-addressing, not a second machine. src/main/source-control/hosted-review-inflight-invalidation.test.ts: keeps other hosts, paths and their pending promises isolated. src/main/speech/model-manager.test.ts: requires pinned, internally consistent metadata for every model file; verifies downloaded model file hashes before installation; rejects non-HTTPS model downloads; marks OpenAI transcription models ready only when an API key is configured. src/main/ssh/connection/ssh-connection-sftp-namespace.test.ts: writes to the SFTP namespace path discovered on the same session; uploads the bundle into the SFTP namespace directory; issues no discovery requests when the caller supplies no mapping; ignores a mapping on a Windows host; never resolves on the system-SSH transport; leaves writeBuffer and openFileUploadSession on the shell path; keeps the shell path when discovery is inconclusive; preserves a session-limit channel-open error unchanged. src/main/ssh/connection/ssh-connection-system-transport.test.ts: uses system SSH transport when ProxyUseFdpass is resolved by OpenSSH; allows concurrent exec commands for system SSH with an Orca ControlMaster socket; keeps concurrent exec commands disabled for system SSH without a reusable socket; uses system SSH transport for ProxyCommand targets before ssh2 auth; keeps the original ssh2 reachability error when the system SSH probe fails; reports the system SSH failure when ssh2 cannot negotiate with the host; uses system transport for target or resolved OpenSSH proxy directives; allows an environment override for e2e coverage; ignores stale imported proxy fields when fresh OpenSSH config has no proxy. src/main/ssh/orcad-migration-catalog-client.test.ts: keeps each server project’s execution host, so a nested SSH row is never read as local; reads the server’s folder workspaces and the groups that place them on a host; sends and validates the %s operation; validates an abort result without letting it erase committed state; validates a committed receipt against the requested manifest; rejects malformed stage timestamps and abort envelopes; fails closed for method absence, malformed identity, and invalid pairing; refuses a destination without the capability before sending any migration request; reads method-not-found as the same refusal, not as a lost answer. src/main/ssh/runtime-ssh-access.test.ts: persists intent then claim before connecting and publishes redacted authenticated access; names the saved dependency when dependent state blocks an SSH access link; handles lost link responses without connecting or verifying again; invalidates old transport only after authenticated access is published; rejects changed request tuple after a completed link; rejects provisioning and missing durable generations without connecting; treats a lost successful unlink response as an idempotent no-op; hashes connection identity, not display state or owner; strictly validates ports and request IDs. src/main/startup/cli-launch-redirect.test.ts: detects a launch that received the unpacked CLI entrypoint; ignores normal desktop launches; ignores the entrypoint when it is only the executable itself (argv[0]); applies on Linux too; strips injected Chromium switches before node-mode CLI arguments; keeps user flags after the command and malformed boolean assignments; does not treat a later positional entrypoint path as the launcher; redirects a direct binary launch with no AppImage env at all; strips Chromium switches node mode would reject; preserves desktop-shaped switches after the command; leaves direct serve in-process but redirects its help; treats help as a CLI launch even without a command; treats %s as a CLI launch even without a command; does not treat a value of %s as a CLI early-exit flag; does not treat a serve option value as a help request; does not reinterpret help after the argument terminator; leaves a plain desktop launch alone; skips flag values when looking for the command positional; preserves a project selector in %j; does not apply the command form on macOS or Windows; never redirects an unpackaged build; runs the in-package CLI in Electron node mode with sanitized env; refuses to redirect twice so a dropped ELECTRON_RUN_AS_NODE cannot loop; reports a missing CLI entrypoint instead of booting the desktop app; execs a direct serve into the CLI so it keeps its pid and honours profile and supervise; keeps ORCA_USER_DATA_PATH for a direct serve without --user-data-dir; serves in-process when this runtime cannot exec or the exec fails; never execs the --serve child the CLI itself spawns, or serve on other platforms; surfaces a spawn failure as a non-zero exit; re-execs a direct --serve onto X11 when Electron resolved Wayland; leaves $name alone. src/main/startup/main-process-runtime-launch-activation.test.ts: marks startup settled for the launch record only after the window has loaded and settled; loads SSH targets on a windowless serve before paired clients can connect (#25886); pins the serve listener to loopback only for orcad browser sidecars (sidecar=$sidecar, #31895); saves Codex auth before a headless serve update restart, like the desktop does. src/main/startup/run-electron-vite-dev.test.ts: forwards dev instance identity to electron-vite; prepares userData orca and orca-dev wrappers for dev terminals; consumes the stable-name flag before forwarding args to electron-vite. src/main/updater/releases/updater-prerelease-feed.test.ts: returns the newest stable tag when the user is on an RC and a newer stable exists; returns the newest RC tag when no stable is newer than the current RC; can exclude prerelease tags for stable-channel checks; probes the %s %s platform manifest; returns null for stable-channel checks when only prereleases are newer; returns null when nothing in the feed is newer than the current version; ignores entries with unparseable tags; returns null when the fetch is not ok; returns null when the fetch throws; picks semver-newest across a mixed-order feed; ignores perf-tagged prereleases for regular RC checks; reports no RC update when only perf-tagged prereleases are newer; picks the semver-newest perf-tagged prerelease; matches only literal rc.N.perf prerelease tags for perf checks; reports no perf update instead of falling back to stable or RC tags; returns a bounded fallback candidate after the newest newer tag; returns null when the only newer tag has a manifest but its asset still 404s; requires a known old timestamp for a stable-fallback tag. src/main/updater/updater-events.test.ts: hands the whole downloaded event to artifact capture; publishes manual-install recovery after a %s download; publishes the normal downloaded state for AppImage builds; blocks downloaded-state handling when the packaged marker is unusable; passes the actual updater error into the install-failure handler; keeps manual-install recovery when a later check finds only the installed release; drops the artifact when another version takes over the cycle; ignores a downloaded event for an older target; accepts a matching event when the pending cache target was cleared; drops the artifact when progress reports a different pending version. src/main/updater/updater-linux-package-recovery-actions.test.ts: rejects both actions while no package-install recovery is active; validates the retained package on every invocation; restores recovery after a recheck resolves without a terminal event; restores recovery after a recheck fails; restores recovery when a pinned check resolves to the current version; restores recovery when resolving a pinned check fails; clears recovery for both actions once the package is gone; resolves %s as a result and keeps the card usable instead of rejecting; keeps recovery available after a transient read failure. src/main/updater/updater.check-settlement.test.ts: leaves a dismissed release update on the release source; surfaces net::ERR_FAILED to user-initiated checks with a friendly message; shows checking immediately for a user-initiated check while feed pinning is pending; keeps background checks event-driven before checking-for-update fires. src/main/usage/usage-provider-store-lifecycle.test.ts: persists identities for a whole first scan with one write; skips disabled and fresh matching states; invalidates prior sources on fingerprint changes and reuses them for forced scans. src/main/window/createMainWindow-close-confirmation.test.ts: clears the quit latch when the renderer prevents unload; does not notify the crash recorder when renderer teardown follows a confirmed window close; allows close when Electron reports a crashed webContents; requests confirmation for a hung-but-alive renderer instead of bypassing. src/main/workspaces/catalog/worktree-identity-persistence.test.ts: stores independent metadata for colliding locators on two hosts; projects canonical-only metadata for exactly one host; keeps canonical metadata current for legacy writers on a known owner; removes only the selected legacy-owner metadata when locators collide; keeps the canonical identity stable when the locator changes; leaves other hosts at the old locator when one host renames its folder. src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.test.ts: leaves a journaled conversion untouched with the gate closed, %s. src/main/wsl/orcad/wsl-orcad-deploy.test.ts: holds the distro before it deploys and launches, and reports what C5 dials; passes its connect-state read (%s) on as hints; applies the SSH census and downgrade admission to the first deploy; refuses a WSL 1 distro before holding it or touching its files; tells an unregistered distro how to find the installed ones, before holding anything; surfaces an unsupported libc as the SSH host refusal does; starts an already-active slot the distro stop ended, instead of reporting it ready; deploys over an adopted unrecorded orcad under the SSH terminal gate, never a fresh launch; reports the adopted instance once the same version is serving; returns a deferral rather than launching over live terminals; hands a failed first deploy to the fresh-install cleanup before reporting it. src/main/zcode/zcode-v2-plan-credentials.test.ts: prefers migrated credentials over a stale legacy account; keeps legacy support when no personal v2 file exists; honors the upstream personal config override independently of the credential directory; does not borrow credentials from another execution host; preserves the protected Orca key priority even if v2 is corrupt; rejects upstream-invalid selection %j without legacy fallback; accepts a valid optional reasoning level; rejects upstream-invalid rule containers %j without legacy fallback; accepts a valid selected-provider empty personal rule and smart model rule; cannot establish selected credentials from %s rules; leaves encrypted CLI files unchanged across repeated account reads. tests/e2e/automation-terminal-launch.unit.test.ts: launches explicit Chat for %s through the common entry and keeps its actual fallback; does not apply stored Terminal extras to Chat; forwards only complete Chat-consumed values, with no Terminal startup base; refuses an expired admission without minting another launch identity; records the actual chat identity and delegates new workspace setup and provenance. tests/e2e/github-project-provider-columns.unit.test.ts: renders %s through one bounded items request on a named cloud host; preserves zero and complete counters: %j; preserves populated and legacy rows through shared sorting, grouping and cells. tests/e2e/structured-agent-session-launch-continuation.unit.test.ts: carries renderer lifetime through host intent to the real %s provider builders. tests/e2e/terminal-account-restart.unit.test.ts: replaces a tombstoned owner while its persisted pane binding has not yet been cleared; paired restart retains the old owner (host authority: %s). tests/e2e/terminal-hidden-view-parking.spec.ts: does not park excluded tabs; reproduces a static frame byte-for-byte across 25 park/reveal cycles. tests/e2e/terminal-long-table-scroll-restore.spec.ts: reproduces long markdown table artifacts after workspace switch and scroll; keeps narrow wrapped signer markdown table coherent after restore and scroll; keeps real emoji markdown table right edge clean after restore and scroll. tests/e2e/terminal-long-table-fixtures.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-paste-ownership.spec.ts: Windows multiline keyboard paste normalizes terminal newlines with one PTY owner; right-click paste sends clipboard text to the focused terminal exactly once. tests/e2e/terminal-raw-emoji-table-scroll-restore.spec.ts: uses WebGL by default for ordinary terminal output when available @terminal-rendering-golden. tests/e2e/terminal-windows-shell-paste-ownership.spec.ts: cmd.exe default terminal keyboard paste preserves exact content with one PTY owner; Git Bash default terminal keyboard paste preserves POSIX-shaped content with one PTY owner; WSL terminal keyboard paste preserves Linux shell content with one PTY owner. tests/e2e/workspace-board-lane-virtualization.spec.ts: mounts a window of cards for a large lane and keeps lane indexes; renders later lane indexes after the lane scrolls. Current changed source bytes, wrapper registrations and reduced selectors have no fresh execution or red/green credit. Unrelated surviving receipt objects keep their original narrow scope; current literal graph reachability does not establish historical import closure or equivalent replacement coverage. Current conservative command/import graph reaches src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-04.spec.ts, src/main/runtime/orca-runtime-tests/hooks-and-hosted-review-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts, src/main/runtime/orca-runtime-tests/window-authority.spec.ts, src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-routing-races.spec.ts, src/main/runtime/workspaces/removal/worktree-teardown-unstopped-pty.test.ts, src/main/skills/bundled-skill-install/layouts.test.ts, src/main/skills/skill-upload-session-service.test.ts, src/main/source-control/hosted-review-creation.test.ts, src/main/source-control/hosted-review-execution-host-routing.test.ts, src/main/source-control/hosted-review-inflight-invalidation.test.ts, src/main/speech/model-manager.test.ts, src/main/ssh/connection/ssh-connection-sftp-namespace.test.ts, src/main/ssh/connection/ssh-connection-system-transport.test.ts, src/main/ssh/orcad-migration-catalog-client.test.ts, src/main/ssh/runtime-ssh-access.test.ts, src/main/startup/cli-launch-redirect.test.ts, src/main/startup/main-process-runtime-launch-activation.test.ts, src/main/startup/run-electron-vite-dev.test.ts, src/main/updater/releases/updater-prerelease-feed.test.ts, src/main/updater/updater-events.test.ts, src/main/updater/updater-linux-package-recovery-actions.test.ts, src/main/updater/updater.check-settlement.test.ts, src/main/usage/usage-provider-store-lifecycle.test.ts, src/main/window/createMainWindow-close-confirmation.test.ts, src/main/workspaces/catalog/worktree-identity-persistence.test.ts, src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.test.ts, src/main/wsl/orcad/wsl-orcad-deploy.test.ts, src/main/zcode/zcode-v2-plan-credentials.test.ts, tests/e2e/automation-terminal-launch.unit.test.ts, tests/e2e/github-project-provider-columns.unit.test.ts, tests/e2e/structured-agent-session-launch-continuation.unit.test.ts, tests/e2e/terminal-account-restart.unit.test.ts, tests/e2e/terminal-hidden-view-parking.spec.ts, tests/e2e/terminal-long-table-scroll-restore.spec.ts, tests/e2e/terminal-long-table-fixtures.ts, tests/e2e/terminal-paste-ownership.spec.ts, tests/e2e/terminal-raw-emoji-table-scroll-restore.spec.ts, tests/e2e/terminal-windows-shell-paste-ownership.spec.ts, tests/e2e/workspace-board-lane-virtualization.spec.ts. Unresolved local/computed edges remain explicit debt.", @@ -9376,7 +9032,48 @@ "Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed.", "Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed.", "Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation.", - "Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed." + "Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed.", + "Audit3128 scoped coverage reduction: Audit3121 removes VoiceDictationLanguageSetting.test.tsx (Spanish-to-es callback and unsupported-model Korean option presence) and voice-speech-model-rows.test.ts (provider/language-order/retired-on-disk list policy); these real narrow alarms are deliberately retired without replacement. VoiceSpeechModelSection per-model concurrent deletion remains unchanged. Audit3122 removes the direct absolute/parent-segment sparse-directory exception-type sample and the five-row IPC sparse-preset error-code/non-save table (two authored/six expanded cases). Those real typed-validation and IPC refusal/error-code alarms are deliberately retired. Keep both real symlink/junction floating-directory trust cases and the minimal RPC structured validation-reason serialization case. The RPC case does not replace IPC save/refusal behavior, typed normalization for both path inputs, actual Git sparse checkout or rendered localization. No equivalent replacement or fresh test/runtime/platform/remote/performance validation is claimed. Audit3124 removes ExperimentalPane.test.tsx (ordinary Pet switch callback), WorkspaceDirectorySetting.test.tsx (padded absolute saved-path normalization/no-write blur), and repository-search.perf.test.ts (navigation/selected-pane builder-call policy, fixture cardinality/nonempty entries and renamed project keyword inclusion). These real narrow alarms are retired without replacement; RepositoryPane.search.test.tsx search-to-sparse-editor request remains unchanged. Audit3129: resolver Windows case-insensitive and POSIX case-sensitive configured-env composition plus mocked-base launch-preflight Windows composition are intentionally no longer checked by the two deleted suites. No equivalent coverage claimed. Keep runtime-structured-agent-host-env.test.ts unchanged: configured Windows Claude-home account identity and host-account precedence remain checked.", + "Audit3146 combines source reviews3132/3133/3135/3138/3143: intentionally retire20authored/31expanded cases without equivalent replacement. Provider-session losses: structured-native terminal-resume exclusion, metadata-less completed identity, new-turn completion clearing, Pi provider-only/periodic/manual promotion, changed-transcript launch-config isolation, Pi/omp/prime-agent completed-session remote/manual-shutdown promotion, and quit/done precedence over heartbeat. Side-thread/question losses: finished-pane acquisition, hidden title/recap states, local/relay/relay-done conversation takeover with prompt/session/child resets, plain-message abandonment, compaction/session replacement and completion resets. Codex startup losses: incoming-owner cached child replacement, old-relay foreign live-session correction, completed foreign-root turn-fact permutations. Transcript losses: real temporary-JSONL partial sibling/final-child completion, unlabelled child attribution, compact cached replay preservation and100/1000completed-child roster retention/release. Compiler-ratchet losses: valid-line uncompiled-list parser grammar examples and injected-existence stale-path filtering; these did not exercise actual filesystem canonicalization or build exclusion. These are real lifecycle, ownership, replay, liveness and retention alarms, including recent#40246 regressions, deliberately lost. Retained conditional record replacement, clockless root/SSH owner isolation, persisted main-thread fork rejection, partial/final question-answer lifetime, cached-roster/missing-ID/live HTTP/durable startup boundaries and restarted-relay refusal/acceptance do not replace those losses. No native/SSH/WSL execution or equivalent coverage is claimed.", + "Audit3156 combines3147/3150/3152/3153/3154: deliberately retires39authored/40expanded native-chat recovery cases, eight whole suites and two orphan test-support files without equivalent replacement. Lost alarms: lost-reply unconfirmed reconciliation, skipped rows/counts and missed-frame repair, unknown/pending outcome and omitted-failure-list compatibility, uncertain history after dismissal, retry/refusal/dismiss lifecycle, hidden/consumed picker ownership, result-tree keyboard focus/disclosure and all-skipped retirement; unconfirmed-over-conflict guidance and failed-chat changes despite older host timestamps; nearest-listed ancestor/cyclic forest shape, descendant membership, host ordering/missing-host local fallback; skipped/readiness/admission counts, provisional skip/progress monotonicity, early per-chat verdicts with batch pending protection, older-host waiting, start-slot/delivery distinction, retry-over-failure and unknown-after-withdrawal attention; remote snooze/reconnect/reoffer, unseen mixed summary through open/close, watched completion retirement, new success beside old failure, failed-reread mixed-result preservation, filter/collapse completion resets, retry summary replacement and current-offer/history selection; cross-host workspace identity, rendered cyclic reachability, nested tri-state/toggle propagation, project eligibility isolation and collapse preserving selection. Exact fallback-list completion barrier, batched verdict/cleanup retention, stale-read versus dismissal publication race, and requested-but-never-rendered finished-run retirement remain; they do not replace retired alarms.", + "Audit3165 combines source3160/3162: deliberately retires six authored/expanded cases across three whole suites without equivalent replacement. Launch/status losses: observed React-render pending/resuming coordination across settings and deferred offer read; stale-offer reread suppressing dialog reopen; held-local-chat recovery visibility with new-chat preferences off; disabled-local admission avoiding offer RPC despite an injected but unconsumed paired-tab fixture; and run-only lost-reply uncertainty reachability until direct viewed-run retirement. Launch probe does not prove arbitrary synchronous-store atomicity, the paired fixture is not remote runtime enrollment, and the status case directly marks viewed state rather than rendering the summary. Crew-hook losses: old-host method_not_found cache persists across party changes but is released by independently supplied connection generation/verified pairing status or pairing revision, with actual frame publication and teardown. These are real narrow coordination, admission, uncertainty and mixed-version cache alarms consciously lost. Exact web verified-runtime writer handoff guard remains; it does not replace those alarms or prove live host/native/mobile delivery.", + "Audit3178 combines source3169/3170/3175: deliberately retires eight authored units (six Vitest cases and two imperative custom relay scenarios), including two whole suites, without equivalent replacement. Voice Section loses per-model pending-delete isolation across interleaved A/B completion and the two-success refresh-call alarm; exact VoicePane delayed key-clear/newer enabled-toggle merge remains and does not replace row deletion coverage. Speech loses dedicated rating-scale/inclusive-ceiling, unsupported-versus-unmeasured, explicit/system-language precedence/locale alias, accuracy versus fast named/default/best-measured selection, and unmeasured/no-match examples; exact offered-user-pick versus retired-selection case and its fixture remain. Relay loses legacy ping-delivery count/liveness sampled before the silence deadline and grouped malformed Bearer/host-ID 401/429 routing checks; twelve real Worker/DurableObject/shipped-client scenarios remain, not equivalent replacement for those narrow alarms. Six prior speech cases are not all deleted: approved successor3175 keeps the original user-choice case. No actual credential/file persistence, native/GPU/engine/download delivery, production assignment policy or deployed-runtime validation is claimed by this reduction.", + "Audit3191 combines approved source3182/3187/3188: deliberately retires thirteen authored Vitest registrations and fifteen expanded cases, including five whole suites, without equivalent replacement. Attachment intake loses real portal/native-capture terminal interception and unowned-container refusal, immediate child-only committed availability/claim-ref negotiation and delivery, and direct-target over stable focused/background composer routing through disable/re-enable/remount and independent question focus. Exact destination/cache/draft and final-stat owner/workspace/File-release suites remain; they do not replace Surface recipient routing. Automation authoring loses destination runtime catalog membership, local/direct-SSH exclusion of paired-runtime repos, unknown-runtime empty catalog, logical project/host/setup/repo/path context payload, and missing/nonready setup refusal; these were genuine direct helper alarms, while exact schedule transformation, legacy schedule and setup-decision suites remain. Agent picker loses setup-chat/terminal/missing-installer/unsupported-or-unknown-host row projection samples and the ordinary unsearched menu variant; the entire original26-line resume recipe suite remains, including reported bypass versus default/absent permission modes, as does the exact search-result menu callback with its fixtures, model/effort commits and staged Arguments reopen outcome. Rejected predecessor3180 full recipe deletion is excluded. No actual native drag/cursor/focus/IME, upload bytes or disk/restart persistence, full automation save/scheduler/runtime transport, real resume-process flags/environment delivery, or native menu/rendered layout validation is claimed.", + "Audit3200 composes approved source3194: deliberately retires thirteen authored registrations/twenty-seven expanded cases in six whole automation host/list policy suites without equivalent replacement. Real RPC category/retryability and wrapped-timeout recognition, unscoped-failure/scoped-success health evidence precedence, exact-ID create selectors and per-run workspace omission, paired-web local/SSH/absent host catalog routing, incompatible/removed/unhydrated/offline execution health, runtime-before-nested-SSH recovery dispatch, and no-owned-focus/successor/foreign-list focus policy alarms are consciously lost. Retain exact20line orphan allow/refuse/precondition and exact90line cross-host same-ID search suites. No retry-timer/fence lifecycle, actual reconnect/network/write delivery, native focus, mobile/mixed-version runtime or disk persistence coverage is claimed.", + "Audit3209 composes approved sources3202/3206: deliberately retires seven authored/expanded cases in four whole suites without equivalent replacement. Work-item queries lose real GitHub/GitLab oversized ASCII secret-prefix empty-query and whitespace-before-trim refusal alarms; inputs share the imported size bound and exercise only its fast length branch, with no multibyte or actual provider/exposure guarantee. Skill sharing loses complete/partial managed-bundle and destination-ambiguity association checks plus three negative origin/path/scheme admission examples; these do not establish uploaded contents, arbitrary-URL fetching, authorization or execution. Retain exact originless-project direct-link fallback, cloud-delete confirmation, bundled-target repair/owner isolation and explicit Windows-host preference over stale WSL suites. Rejected3201 runtime-preference removal is excluded. No real cloud/network/host/disk, mobile or mixed-version execution validation is claimed.", + "Audit3219 removes the synthetic Cmd+J extra-source suite; this broad command no longer checks its match/tie placement and selection, announced count, empty-query cap, or workspace hiding with retained recent tabs. No replacement coverage is claimed.", + "Audit3231 retires supported-host restore-pane key mapping, closed/open creation-sidebar toggle visibility, unrelated scope-error/null classification and quick-submit reveal/no-create checks. These broad commands lose those real narrow alarms; no replacement coverage is claimed.", + "Audit3246 retires NewRowsMarker reveal/no-repeat and pane-scoped beforeinput checks; skill-owner option availability/count/dedup/order; six styled Input/Textarea IME forwarding rows; the static Codex/OpenCode smart-key inventory; tab-map AST ratchet diagnostic fixtures; child-roster work-budget and retained-aggregate alarms; malformed persisted floating-cwd fallback/no-crash/empty exact-root checks; the unanswered-host empty-list discriminator; the direct invalidated-cache commit-false assertion; one redundant digit-keyup IME row; cached non-supported Claude title-generator rows; and the duplicate late naming-result singleton. These root broad commands lose those specific alarms without equivalent replacement. Distinct retained owner/state checks have their own bounded claims; the real scheduler still rejects stale response data, while the direct false-return alarm is retired.", + "Audit 3256 removes these specific alarms from the broad root unit commands: skill dialog active-share selection, close and pending-share handoff; simple keyed-record deletion; marker live-region insertion, simple landing and nine baseline policy examples; General search/control navigation inventory; orphan-count cache bootstrap; seven Codex code classifications and HTTP 429 warning mapping; two skill unread-root verdict examples; peer-mail payload and conversation-ID rejection; and the GitHub organization TABLE text-field optimistic rollback/failed-envelope example. These include real behaviors; retained tests do not provide equivalent coverage for every removed scenario. Mobile losses are recorded separately and are not coverage of these root commands.", + "Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims.", + "Audit 3283 removes 20 authored declarations and 31 expanded scenarios, including two whole suites. Retired alarms cover PR refresh-state pruning, shared runtime subscription cleanup and store isolation, language content-change routing and older completion ownership, ordinary panel retry-timer cleanup and pending loading, four hosted-review lifetime permutations, mocked terminal creation error/order wiring, five sleep-inventory variants with pending-frame-only assertions, palette fallback/composite highlights, Windows/UNC encoded-editor input rows, mixed-repository partial failure counts, title setters and generated-title bypass/replacement, five window-close coordinator delegation/guard/finally branches, and ambiguous-old-record frame reveal. These regression checks are intentionally lost under the test-value audit; retained cases are not equivalent replacements. Prior coverage notes and receipts remain historical.", + "Audit 3292 combines adopted 3285/3287/3289/3293 removals: 40 authored declarations and 47 expanded scenarios, including whole frame-editor-view, ambiguous remote-delete-refusal, unverifiable-host subscription and editor-close cleanup suites. The previously reviewed dock-badge suite was already removed upstream in PR 40895 and receives zero new removal credit. Intentionally retired alarms include background browser selection and last-tab landing; main startup fallback, SSH project cleanup/survivor routing, exact-PR contradiction/saved-push positives, replay/sidecar rollback and wrapped remote error normalization; records/snapshot missing-diff hydration, ambiguous folder-owner delete refusal, focus no-op notifications, nested editor context-only cache check, pending broadcast-first status and ordinary four-confirmation aggregation; preview-source frontmatter pruning, approved local/runtime agent dispatch, non-GitHub legacy PR cache invalidation, stale merged-head transient-error fallback, empty-queue immediate query reply and unverified-to-concrete preflight risk. Additional intentionally retired alarms are injected host subscription/unsubscribe counts, synthetic editor reveal/draft/fallback/scoped close, ambiguous unread refusals and hidden mark/read roundtrip, immediate connect backoff/noError, positive mirrored evidence-clock renewal, supplied VM failure/success projections and git-local/folder-SSH wake permutations. Remaining temporal/ownership cases are narrower; no equivalent replacement or fresh execution is claimed.", + "Audit 3301 combines adopted source batches 3296 and 3299: retire 27 authored declarations and 36 expanded scenarios, including six whole suites. Intentionally lost alarms cover failed-verification/recovery/restart counters and mocked hosting/toast; early overlapping pane-read scheduling/count; unreadable removal listing draft guard; bulk-purge remote-qualified and raw-local guard maps; initial-snapshot blank/mode/oversize/printable/fresh-spawn callback and replay examples; fallback mobile file close and ordinary MRU; default queue overload/drain; seeded browser-page reuse and supplied missing-page URL recreation; ambiguous sleep/hibernation owner refusal and untouched bindings/origins; ordinary selection/activity/fallback priority; skip-remote success and retained hints; supplied structured-chat unsent retention and scoped removal draft eviction; caller-chat focus precedence; open/draft PR cache eviction and merged-head fallback result inventories. Retained adverse-ordering and ownership cases are narrower and do not establish equivalent replacements. No fresh runtime, native, physical provider, cross-platform, mobile or mixed-version evidence is claimed.", + "Audit 3312 composes adopted sources 3302 and 3308: deliberately retires 33 authored declarations and 36 expanded cases, including the whole backend startup-focus, active-browser IPC-close-routing, remote-browser-creation and agent-terminal-presence suites. Intentionally lost alarms cover distinct six-pane reconnect handles; SSH host label/Connect callback, unhydrated visit cleanup, repo cache aliases and hidden worktree/tab/PTY cleanup; adopted-agent startup focus and viewer navigation/reuse; staged, pageless, source, stale and orphan browser-close routing; web local-materialization refusal, desktop incapable-host fallback, failed/thrown remote creation and paired-web sign-in refusal; BOM/NUL and remote/local custom-editor byte-read examples; immediate folder activation and unread clearing; and batching idle/coalescing, accumulated byte ceiling, leading-edge-disabled, standalone synchronous oversize rejection, validation yield, deferred pending-tail order and both viewport-clear examples. The newly reintroduced agent-terminal-presence suite also loses actual terminal-status membership positive and nonterminal-status callback suppression alarms, including the recent 40916 guard regression; the older different 2133 presence-suite history remains historical and receives zero duplicate removal credit. These real regression alarms are intentionally lost. The unchanged survivors provide narrower coverage, with no equivalent replacement or fresh gate, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation claimed.", + "Audit 3318 composes adopted sources 3310, 3313 and 3317: intentionally retires 71 authored declarations and 102 expanded cases, including whole terminal-detach agent-retention, seeded batch/single open-files equivalence, shallow context-menu shortcut-badge, mocked active-workspace delete-dispatch, workspace session hydration, SSH target cleanup, editor session hydration and worktree terminal purge suites. Lost alarms include chained transfer alias and immediate close/exit retention; batch/single divergence, survivor/selection/map preservation and input nonmutation across 400 imperative seeds (one registered case); disconnected pending-handle retry, authoritative absences/close-record shortcut/older-host absence and published-presence/unpublished-frame examples; published empty host-graph omission to pane exit; legacy search ranking/exclusion fallback; provider request upgrade/dedupe/finalizer ownership; asynchronous PR suppression/primary-change and same-number different-repository URL rejection. Deletion routing loses host/instance qualification, paired and legacy mapping, folder ownership, active-versus-hover/menu-row selection, ambiguity, modal/editable/creation/view/main/deleting/missing guards and shortcut advertisement. Unchanged real keyboard/hover/confirmation/catalog E2E remains narrower, not an equivalent replacement. Additional losses include scripted old-host disk/UTF-8/noop/baseline and landed/unlanded lost-reply/replacement-retry outcomes; ordinary/repeated healthy-link reattach; cross-owner terminal/chat binding; oversized replay permanent-unavailable classification; floating reveal keyboard ownership/close/disable/listener disposal; naming/retained-turn/Sleep/error/close/reject status tables; SSH membership prune/new-target-only reads and environment/local bucket isolation; same-frame receipt capacity and positive bare/headless publisher readmission. These actual regression alarms are deliberately lost; no fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed.", + "Audit3335 composes adopted source unions3327/3328 and3330/3332: intentionally retires100 authored registrations/123 expanded cases, including ten whole suites, without equivalent replacement. Lost alarms include seeded host persistence/contention and stale-host cleanup; browser snapshot assembly; mocked wake/DPR callbacks and frame budgets; preflight projections; palette authority/cache suppression, URL intent and saved-title cross-repo collisions; metadata coverage/set patch and dropdown assembly; and removed terminal, worktree, review-refresh and owner-routing examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI/GPU/focus, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain only their original scope.", + "Audit3342 composes adopted source batches3333/3334,3336/3337 and3340/3341: intentionally retires180 authored registrations/263 expanded cases, including seven whole suites, without equivalent replacement. Lost alarms include corrupt editor hydration; mobile editor/diff publication and privacy projections; stale-resubscribe routing; model-picker projection/refetch/retry/fallback; editor check-details and frame property inventories; latched-pane cleanup/quiescence; client create replay identity/options/compatibility; and removed owner, async routing, terminal and layout examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts keep their original scope.", + "Audit3349 composes adopted batches3343,3345 and refreshed3354: intentionally retires234 authored registrations/294 expanded cases, including13 whole suites, without equivalent replacement. Lost alarms include supplied terminal reconnect/replacement/typeahead/mirror/result and snapshot examples; synthetic render-desync persistence/recovery; worktree listing/owner/catalog/lineage/removal and activation/creation examples; host-scoped PR and task-record projections; editor diff/status/comment and UI send-target examples; automation observation/wake, supplied sleep/deadline clock and native-chat completion/notification/relaunch samples; held-tab layout and cleanup/progress guard examples. Retained adverse-ordering and wire-boundary cases are narrower and do not replace all removed alarms. The already-upstream visibility-resume deletion receives zero new removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH, native process/power/GPU, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3359 composes root-adopted source3355/independent3356: intentionally retires130 authored registrations/139 expanded cases, including eight whole suites, without equivalent replacement. Lost alarms include strict create naming/capability/legacy payloads; supplied transport host replacement, deadline reattach, create-handoff and split activation; agent-session fork/clipboard/platform flags; shutdown cleared-scrollback/unmounted bindings; simulator host-collision/selection/shutdown; and removed editor, catalog, mutation, launch and status examples. Retained12 adverse-ordering/state-consequence cases are narrower and do not replace all removed alarms. Two queue absences receive zero removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY, filesystem restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3362 composes root-adopted3358/independent3360: intentionally retires129 authored registrations/140 expanded cases, including four whole suites, without equivalent replacement. Lost alarms include supplied orphan-adoption retry/malformed inventory/cancellation; fake-terminal replay parser/wedge/disposal callbacks; all-host catalog metadata and Windows preferences; host keepalive/protocol/stale/settings failures; and removed exact-stop/suppression, source save lifetime, diff-note queue, rename/editor close, input flood/chunk refusal/limits, purge and creation examples. Retained18 registrations/21 expanded cases protect narrower ownership, generation, dirty-state, queue convergence, encoding and attachment-lease outcomes. No replacement or keeper quota claim. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY/xterm parser, disk restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3368 composes root-adopted3363/3364 and3367/3369: intentionally retires181 authored registrations/196 expanded cases, including28 whole suites, without equivalent replacement. Lost alarms include hibernation attention/liveness/backoff/sequential teardown and inventory, host launch compatibility/legacy/Kimi/resource cleanup, terminal recovery parser/pause/quarantine/remount, window-visibility omission-fence lifetime, launch-option rendered Start, sleeping-resume saved recipe/WSL quoting/cancellation, plus removed project/window/input variants. Additional tiny-suite losses include sentence/label/field/default inventories, credential omission, Windows argument/environment mapping, URI decoding, diagnostics, provider classification and fake-clock callback/parser examples. Retained ten registrations/twelve expanded cases include two literal Unicode Mn/Cf zero-width range guards in the actual character-range algorithm and protect narrower delayed editor bytes/destructive ownership, mounted hidden collision repair, ten transport epochs, duplicate-command refusal, caller timeout typing, executor unknown-opener refusal and failed-chunk user bytes. This broad unit command selects the reduced suite; no fresh runtime, real provider/network/PTY, filesystem restart, native UI, historical import equivalence, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3375 composes root-adopted3370/independent3371 and3373/independent3374: intentionally retires79 authored registrations/84 expanded cases, including39 whole suites, without equivalent replacement. Lost alarms include federation field/parser inventories; Claude rejected-key precedence, credential clone redaction, managed-versus-user hook preservation and CLI defaults; setting/status/activity projections, mocked SSH/notification/reveal/Linear refusal, fake-clock reconnect and noise; image-fold artifact visibility, paste eligibility, setup trust, scripted ACP error-to-journal publication and ligature cache tuple aliasing; plus supplied folder-runner uniqueness, mobile host-overlay/credential/update/preference races, status/markup/title/keyed-row projections, subscriber cleanup, cancellation/close/refusal/link-issue and mirror suppression alarms. Retained3373 merger contiguity, dual-clock overdue-resume exactly-once, rejected-paste IPC sink and annotation schema roundtrip remain bounded. Retained actual HTTP/OSC status composition, destructive sibling-filesystem isolation, external contrast invariant and fixture CSS pixel intervention remain narrower. Original reviewed87authored/92expanded become9/9; current OpenCode suite adds two preserved upstream cases and the synthetic-title suite gained one Cursor policy mock-call case, independently reviewed for removal in root3378; current90/95 become11/11. That Cursor suppression/ready-frame regression alarm is intentionally lost; it does not observe native title ownership or tab flicker. For3370 only the peer was independently blind, with author exposure explicit;3373/3374 both blind pins were verified. This broad root unit command selects the reduced root unit suite; UNIT_INCLUDE excludes mobile tests, which require the existing mobile runner; retained Playwright component-pixel spec uses its separate existing headless fixture runner and is not validated by the broad unit command. No fresh execution, actual agent/shell/provider, OS material/focus, historical import equivalence, mobile, mixed-version or cross-platform evidence is claimed. All dated receipts retain their original scope.", + "Audit3381 composes root-adopted3376/independent3377 and3379/independent3380: intentionally retires436 authored registrations/670 expanded cases, including79 whole suites and12877 test lines, without equivalent replacement. Lost alarms include scheduling, account/host/status/filter/format inventories, microphone/image cleanup, title/bell/capability lifecycle routing, access/impersonation/outcome matrices, paste/input resend/ledger/retention, stale completions/reload containment, trust-read failure and popup OAuth/security/geometry vectors. Retained30 registrations/34expanded cases in22 suites preserve narrower SQLite TEMP/TZ/WAL, HTTP transcript root resume, mobile original-index Choose/Submit, child environment/Git lock expiry, stale ACK/PTY lifetime/peer fairness/durable replay/output ordering, actual DOM paste/editor focus, DEC2026 conservation, filesystem rollback, owned buffer lifetime, actual OSC parser/tracker handback, POSIX Python UTF8/fallback, durable trust concurrency/version, OpenSSH verdicts and hidden Chromium POST/route lifecycle. Mocked boundaries limit claims. Current bounded defining-owner reads preserve the retained oracles; captured identities are not full transitive semantic review. Both component blind pins authenticated before exchange; final reconciliation and explicit postpin3380reason correction supplement control, without retroactive blind claims. Root unit command excludes mobile and separately admitted Electron probes; use existing respective runners. No fresh execution, native focus/device/pixel UI, live SSH/remote, equivalent replacement or broad mixed-version/cross-platform validation is claimed. Prior dated receipts retain exact original scopes.", + "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed.\nOriginal active selector fields (historical raw native JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/wsl-guest/protocol-backpressure.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/wsl-guest/dispatcher.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/ssh/protocol/ssh-multiplexer-transport-writer.test.ts src/main/ssh/protocol/ssh-channel-multiplexer.test.ts src/wsl-guest/dispatcher-client-writer.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/ssh/protocol/ssh-multiplexer-transport-writer.test.ts src/main/ssh/protocol/ssh-channel-multiplexer.test.ts src/main/ssh/protocol/ssh-channel-multiplexer-backpressure.test.ts src/wsl-guest/dispatcher-client-writer.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/ssh/protocol/ssh-multiplexer-transport-writer.test.ts src/main/ssh/protocol/ssh-channel-multiplexer-backpressure.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/agent-hooks/wsl-relay/wsl-hook-relay-sentinel.test.ts --reporter=dot\"\n ]\ntestFiles: [\n \"src/main/runtime/construction/orca-runtime.test.ts\",\n \"src/wsl-guest/protocol-backpressure.test.ts\",\n \"src/wsl-guest/dispatcher.test.ts\",\n \"src/main/ssh/protocol/ssh-multiplexer-transport-writer.test.ts\",\n \"src/main/ssh/protocol/ssh-channel-multiplexer.test.ts\",\n \"src/main/ssh/protocol/ssh-channel-multiplexer-backpressure.test.ts\",\n \"src/wsl-guest/dispatcher-client-writer.test.ts\",\n \"src/main/agent-hooks/wsl-relay/wsl-hook-relay-sentinel.test.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/wsl-guest/dispatcher.test.ts\",\n \"assertions\": [\n \"a saturated legacy primary remains required backpressure and is never detached as an additional subscriber\"\n ]\n },\n {\n \"file\": \"src/wsl-guest/protocol-backpressure.test.ts\",\n \"assertions\": [\n \"relay decoder accepts one maximum frame plus 1 MiB partial input and rejects one extra byte\",\n \"a throwing continuation clears retained input, releases one pause epoch, and publishes one typed ownership error\"\n ]\n },\n {\n \"file\": \"src/main/ssh/protocol/ssh-multiplexer-transport-writer.test.ts\",\n \"assertions\": [\n \"write(false) owns one frame and later ordinary traffic waits for drain\",\n \"queued control is selected before ordinary PTY backlog at drain while each lane remains FIFO\",\n \"four-control fairness guarantees ordinary progress without starving control\",\n \"one coalesced liveness bypass is allowed per saturated epoch\"\n ]\n },\n {\n \"file\": \"src/main/ssh/protocol/ssh-channel-multiplexer-backpressure.test.ts\",\n \"assertions\": [\n \"source ACK, cancellation, exit, request, and response control frames precede queued pasted PTY input after drain\",\n \"control and ordinary frames preserve lane FIFO while ordinary input progresses after four control writes\"\n ]\n },\n {\n \"file\": \"src/wsl-guest/dispatcher-client-writer.test.ts\",\n \"assertions\": [\n \"encoded producer frames stay below high-water-minus-reserve capacity\",\n \"one fixed-size filesystem compatibility frame is admitted only on an empty sink\",\n \"control remains reserved while producer retention stays bounded\"\n ]\n },\n {\n \"file\": \"src/main/agent-hooks/wsl-relay/wsl-hook-relay-sentinel.test.ts\",\n \"assertions\": [\n \"WSL stdin forwards write(false), callback settlement, and drain without claiming a live WSL topology\"\n ]\n }\n ]", + "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. The broad root-unit command loses the UNIT_INCLUDE src/ subset of retired examples; mobile is outside UNIT_INCLUDE. Other lost alarms are recorded by the adopted per-case source reviews. Original scope text is retained as the exact suffix of coverageNotes/oracle; historical evidence is unchanged.", + "Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Broad root-unit discovery loses35WSL examples,22STT examples,22shared-server-banner examples,18clipboard-handler examples (whole suite deleted),14VM lifecycle examples and16commit-message cancellation examples. Retain4WSL and7STT mocked connector/worker cases,1rendered stale-banner refusal,2VM guard/failed-compensation cases and1late-stream ownership cancellation case; real WSL/microphone/remote-provider proof is not established. Separately discovered e2e-unit drivers lose13cross-version-wire local cases and15mobile active-publication cases, keeping same-process disk-reopen/new-host cursor content/epoch/sequence outcomes and a host/renderer-snapshot selection and inventory revision race respectively. Imported released stop-note scenarios remain unchanged and receive no duplicate credit. Cloud suites are outside root UNIT_INCLUDE. All previous note strings, dated receipts, archived raw receipts and prior gap entries retain their original scopes.", + "Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. Broad root-unit discovery loses naming/title/queued-host fixtures, main-window focus-shortcut and attach-services mock orchestration, Git Bash console-capacity fake process inventories, most real-Git preparation/locking variants and Claude/Codex catch-up examples. Keep lifetime rejected-writer followed by late termination proof and autonomous real-checkout cleanup; two-row real-Git rollback after a real move preserving a replacement/admin marker or revoked permission; a live translator write during a held transcript read fencing stale Claude history append; and Codex expected-item revision rejection before a historical writer shim. Codex driver registers retained bounds exactly once with original inputs; bounds does not prove modern writer persistence. Accepted changed-lock preflight sentinel and omitted-parent routing losses are not replaced. All earlier notes and dated/archived evidence retain original scopes.", + "Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted mock orchestration, refusal, restart and storage examples. Retain unchanged two-phase real-WSL deployment/survival, the reduced idle-release holder proof without restart/first-output measurement, real worker stop/release cleanup barrier rows, physical Git branch-preservation rows, and SSH disconnected-close proof. Other SSH and CLI variants and WSL telemetry/warmup churn are intentionally removed. Earlier notes and dated/archived evidence retain original scopes.", + "Audit3429 composes root-adopted3426/independent3427: intentionally removes168 authored/205 potential expanded cases across16 semantic sources, deleting11 whole suites and one304line unused assertion helper. Five authored/five potential cases remain; the duplicate500k graph row is dropped while its50k row and callback remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted migration/recovery/federation/rich-draft/paste/automation/mobile/catalog examples. Keep server-edit preservation during migration, native supervised cancellation holding the agent home until physical stop, pagehide lost-text preservation, graph old-result WRAPPER WeakRef collection with50k rows, and mobile React render isolation. The WeakRef does not prove all commit objects are collectible or a memory budget. All prior notes and dated/archived evidence retain original scopes.", + "Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses reduced or deleted relay, coordinator mail, recovery watchdog, automation observer, launch picker, folder PTY, profile restart, web migration, retirement, pointer delivery, agent-row and run-bound mailbox examples. Retained checks cover relay hello/payload and SIGTERM drain, coordinator pending-check and clear-to-Run continuity, profile persistence, the full six-row web merge table and real run-bound delivery waiter. These do not replace removed alarms. All prior notes and dated/archived evidence retain original scopes.", + "Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit and mobile discovery loses interrupt/wake registrars, task storage/session-close/account snapshot hooks, permission tables, copy/preference/model-discovery/composer examples, launch placement examples, VM projections and extra mobile-history scenarios. Retained checks cover abandoned versus dispatched fork uncertainty; /fast dispatch supersession; discovery lock release after exit; stale-send draft preservation; OSC status lifetime; future-version file preservation; launch cancellation before/during dispatch on both layout owners; mobile resume addressability before hooks; and recipe snapshot cleanup after plugin removal. The paired browser-link Electron source is unchanged. Terminal launch seams, mobile roles-only history and injected provider results do not establish native terminal destruction, transcript text fidelity or real remote provider cleanup. All prior notes and complete dated receipts retain their original scopes.", + "Audit3451 composes ROOT-adopted3444/independent3445: intentionally removes101 authored registrations across16 reviewed sources, deleting7 whole suites and reducing8; one reviewed source is unchanged. Fresh main has123 authored registrations before and22 after because an upstream direct-child shell regression remains verbatim with zero removal credit. Registered removals are100+7*S and explicit-active removals99+7*S, where S is the unprobed count0..3 of admitted bash/zsh/fish shells. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses extra stream lifecycle/forwarding examples, unreadable-store/cache projections, orchestration presentation/benchmark cases, remote-owned routing matrices, mobile legacy navigation and model-catalog listing/cache examples. Whole suites retire renderer client-event projections, manually assembled structured-session reader ownership, mobile prompt presentation, renderer AI-vault resume commands, mobile Jira URL lookup, composer retention and mobile folder source-repository queries. Retained checks preserve original stream/store/orchestration/routing/navigation/catalog cases and shell behavior, including the upstream direct-child case. No real provider, native desktop or mobile acceptance is established by this reduction. All prior notes, assertion references and complete dated receipts retain their original historical scopes.", + "Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. Broad unit discovery intentionally loses whole trust-dialog observer, background-turn notifications, redirected session refusal, typed-agent identity, chat-tab lifetime-cost, model-manager and mobile diff-review controller suites, plus individual persistence, synthetic composition, pairing, manifest and subprocess samples. Retain deferred snapshot dirty-domain persistence, two direct editor ownership cases, stream counter-domain distinction, two persisted pairing identity cases, parser entrypoint asymmetry, dictation retry and process-group timeout; paired restart and packaged old-binary/corrupt-profile journeys remain in their E2E driver scope. Retained checks do not replace removed alarms. No fresh execution, native IME/microphone, real authentication, mixed-version/platform or performance result is claimed. All prior notes and archived receipts retain original scopes.", + "Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. Broad root-unit discovery loses whole cross-client workspace-sync, terminal-preview, picker-skill-hint and close-routing suites plus reduced worker-stop, remote-owned-record, scanner, mobile-bundle and daemon-health samples. Separate E2E discovery also loses the paired mobile/desktop mirror journey and two unit drivers. Retained callback/table/outer-loop/guard bytes are exact; retained checks do not replace the removed alarms. No app, native device, mixed-version, remote or cross-platform execution result is claimed. Earlier notes, complete dated receipts and archived gaps retain their original scopes.", + "Audit3468 accepted source proposal AUTHOR3462/PEER3463, composed privately by audit3469: removes62 authored registrations/95 finite potential expansions, including5 whole suites, retaining25 authored registrations/29 finite potential expansions. ROOT approved source value; no equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses the profile-state worker smoke, worker-agent views and three search discovery suites, plus samples from node-server qualification, skill-bundle generation, CLI hooks/profile/recovery/offline admission, permission-hook holds and search indexing. The separate Cloud relay runner loses one relay blackbox sample; unchanged mobile native-chat and dependent-transcript drivers remain. Retained source callback/table/ancestor/fixture bytes bind to the sealed candidate. No physical-device, mixed-version, remote, cross-platform or app execution result is claimed. Earlier notes, complete dated receipts and archived gaps retain their original scopes.", + "Audit3438 composes ROOT-adopted3434/independent3436: intentionally removes60 authored/62 potential expanded cases across16 sources, deleting9 whole suites. Eight authored/eight potential cases remain; delete the102line unused ACP fixture and57line unused teardown helper with zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses ACP model-catalog fixtures, resume-record projections, dashboard mock payload/state cases, mobile folder/launch/session examples and dictionary pipeline rows. Selected E2E removals also retire auto-conversion and golden-core journeys and one Windows CLI conversion registration. Retain ACP reply text across a resumed subagent, both VAD checks, focused tab send ownership, async focus ownership in happy-dom, the question-skip journey, the original managed Windows CLI lifecycle journey and dictionary substitution. These checks do not replace the removed alarms. All prior notes and dated/archived evidence retain original scopes.", + "Audit3470 composes ROOT-approved AUTHOR3466/PEER3467 source proposal: intentionally removes38 authored registrations/59 finite potential expansions, including8 whole registering suites, retaining13 authored registrations/18 finite potential expansions. The sole dead shell-recipe caller cleanup has zero additional test credit. No equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses process-import boundary, Korean/Japanese locale policy, worker-reset, mobile agent-history/queued-message and median-summary suites, plus packaged mobile-manifest, worker-pool fixture, HTML preview, mobile shell and terminal samples. The environment-provider contract and its sole shell-recipe caller are deleted. Separate cross-version-wire discovery loses the large byte-budget fresh-snapshot/replay sample while retaining independent live same-revision note publication; the retained terminal stale-refresh and dirty HTML draft persistence checks do not replace removed alarms. The source4 unused start/stop fixture hooks are removed; its retained nested failed-import test remains byte-exact with its own lifecycle. Unchanged SVG preview and Git-resolution registrations stay intact. Root balanced CI excludes the cross-version directory, which has a separate job; unbalanced root discovery can include its parent. No native app/device, actual remote, released-pair interoperability or cross-platform execution result is claimed. Earlier notes, complete dated receipts and archived gaps retain their original scopes.", + "Audit3492 composes ROOT-approved75(AUTHOR3475/PEER3476 and AUTHOR3485/PEER3481, including five-field clarification and zero-credit selector3483) plus123(AUTHOR3486/PEER3487 reconciled FINAL3491, including peer case10:3 and9:0 wording clarifications). It intentionally removes198 authored registrations/232 finite literal-table potential registrations across70 changed JS/TS test sources, including45 whole suites;87 authored/90 finite potential registrations remain across95 reviewed JS/TS bodies. One mobile native-suspension manual recipe and the now-unreferenced GitLab mock fixture helper are separately removed with zero registration credit. Static literal table potential is not execution. No equivalent replacement, fresh runtime result or merge credit is claimed. Earlier135 complete dated receipts, all raw gaps and full prior98/161/history notes retain their exact scopes and bytes. The additional123 retirement accepts loss of mocked GitLab request/error/identity/classification inventories; basic Linear migration and metadata discovery; simulated OpenCode key failed-save retention/retry/log redaction; analytics identity-flush smoke that did not prove ordering; AppImage static entry guards and empty-staging cleanup; GPU/process/minidump breadcrumb/annotation shapes and weak redaction oracles; namespace/status/foreign-launcher ownership guards and persistence roundtrips; profile transfer field projections; worker hook/screen/incarnation/result admission/classification guards; and source-coupled CLI transaction fixtures. Privileged publication failure injection was a false-positive: its mkdir regex missed -m 700 and outer rejection accepted an inner assertion before any shell ran. The identity-flush case awaited identity after flush and could pass despite early flush. Retained actual negative-token cache recovery, SQL filter-before-LIMIT open approval, unreadable-root FTS preservation/degradation, latest-connect-wins persistence, worker stop-debt settlement, unmodified same-inode foreign-content transaction, explicit incomplete-pagination error, FTS own-message snippet association, filter-before-route result and bounded-search truncation honesty are distinct bounded outcomes, not replacements for retired alarms. Case9:0 checks both roots before chmod but only mounted-session/degraded-root after chmod. Entire extraction-root suite is removed; no retained extraction cleanup is claimed. Removing the manual iOS foreground-stall shell script loses its unique real native-suspension recipe; timer tests do not replace it. First-match PIDs, indefinite waiting, broad success matching and absent trap cleanup made that diagnostic brittle and able to leave a desktop stopped. The current Windows operational driver remains byte-exact, preserving already-merged removal of orcad-convert and orcad-cli-convert selectors and the retained cmd/powershell/managed CLI lanes. The package skill-sharing release selector loses only the exact already-retired skills-suite token; no extra test credit. Included approved75 retirement account follows (historical proposal labels identify provenance; final198 counts above control): Audit3488 composes ROOT-approved source49(AUTHOR3485/PEER3481, including its immutable five-field clarification) and source26(AUTHOR3475/PEER3476): intentionally removes75 authored registrations/87 finite potential registrations across35 changed sources, including25 whole suites;35 authored/36 finite potential registrations remain in the combined reviewed scopes. Literal table potential counts are not executions. This source-only reduction has no equivalent replacement, fresh runtime result or merge credit. Root unit discovery deliberately loses entire message-row filtering/chunk reconstruction, discussion-pagination rejection passthrough, Linear bearer/stack redaction, new-profile telemetry/default/existing-JSON no-op, WSL user-trigger routing, terminal-delivery refusal, native-chat worker-approval UI, followup-paste routing, live-surface tombstone refusal, activity-bar hydration, fabricated approval-caller policy, child-PATH transformation and branch-review URL/identity suites. It also loses cache roundtrip/mode/fingerprint/fallback/no-op samples; GPU field-shape privacy examples; older auth-probe failure retention; orphan SQLite-sidecar/future-schema admission; usage tie/duplicate/composite-key examples; allocation-name sanitizer/unknown-prefix examples; real worker-and-backup preflight wrapper smoke; and JSONL descriptor-loop truncation. The discussion page contained id-only discussions without notes, so its rejection did not prove a nonempty notes-prefix oracle. The preflight did launch actual worker/backup entrypoints with production internal self-validation; removing its revision/version wrapper deliberately retires that real-entry smoke alarm. The skipped-prefix JSONL keeper rewrites/grows after collecting the suffix and before final validation, not concurrently during parsing. Retained queue rejection/recovery and held/drain mechanisms, recorder nonsettling-provider deadline, corrupt authoritative-DB refusal, legacy cache split migration, merge-added-row indexing, external-frame redaction, and pinned JSONL read/verification/mutation checks are bounded concrete oracles, not equivalent replacements for retired alarms. The full cloud relay cohort/ceiling/control suite is separately removed from the relay package runner, outside root unit discovery; no cloud runtime result is claimed. The Python computer-use benchmark remains unchanged tooling with zero authored/removal credit; no native benchmark trial ran. The package skill-sharing release selector drops only the exact already-deleted skills-suite token, with zero additional removal credit. Prior dated receipts, raw gaps, and complete earlier161/98/history notes remain exactly at their original scopes; no changed-source historical receipt becomes fresh reduced-suite evidence. Included approved26 alarm account: Broad root-unit discovery loses entire ref-label string, hostile/malformed CSV-link rendering, Codex filename-discovery, mocked paged-preview postscan mutation, usage path-containment, real symlink-ancestor, Codex skip RPC, local/remote inference routing, width-preference, and synthetic workspace-document input suites. It also loses the hand-assembled sorted CSV edit example, connect-time JPEG seed and invalid AVCC guard samples, and eight-record/64KiB detector boundary cases. The symlink suite exercised actual kernel traversal; its lost ancestor alarm could omit supplemental local editor watches and leave content stale, not bypass authorization. Retained linked stream cancellation, preview-only save fence, failed-flush dirty-draft preservation, clipboard byte/edit preservation, fragmented AVCC parsing and independent quoted-CSV interpretation checks do not replace these deliberately retired alarms. The stream fixture uses an in-memory source and does not establish actual fd cleanup; editor save endpoints are synthetic, browser events are synthetic, and no native focus, actual remote delivery, real disk write, cross-platform execution or interoperability is claimed. Earlier complete dated receipts, raw known gaps and previous notes are historical evidence at their original source/selector scope, not fresh evidence for this reduced suite. Earlier notes, complete dated receipts and archived gaps retain their original scopes." ], "demotionRule": "Cannot promote without metric artifacts and bounded-byte assertions." }, @@ -9610,9 +9307,9 @@ ], "platforms": ["macos", "linux", "windows"], "providers": ["ssh", "remote-runtime", "wsl"], - "coveredPlatforms": ["macos"], + "coveredPlatforms": ["linux"], "coveredProviders": ["ssh", "remote-runtime"], - "coverageNotes": "Audit3096: remove the deleted reconnect-banner selector and its two UI aliases. The reduced recovery-state selector retains only the deadline cancelling pending backoff and explicit retry owning a new epoch alias; healthy-replacement stale-schedule and independent caller-cutoff cancellation aliases retire. Other retained state cases cover reentrant retry, owner settlement and same-epoch parked revival, without replacing those removed alarms. Prior admission-selector retirement, archived July 28 receipt, unrelated selectors/claims/receipts and old gaps remain unchanged; no fresh execution is claimed. Audit3086: retire the destroyed fresh-session fallback settlement/non-destructive reattach alias and its direct selector; retain the detach/attach selector and assertion unchanged. The retained admission cases cover adopt-before-data and explicitly buffered-death admission without a new spawn, without replacing fallback retirement. July 28 evidence was already archived by audit3077; no duplicate retirement or new execution is claimed. Audit2709 removes src/renderer/src/runtime/web-session-tabs-sync/inventory/remote-runtime-session-tabs-inflight.test.ts: intentionally retire waiting out an older inventory and sharing a fresh post-operation request among concurrent callers. No equivalent replacement or fresh execution is claimed. Dated receipts remain historical evidence for their unchanged selectors only; they do not validate the reduced commands or full current gate. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/ssh/connection/ssh-connection-manager.test.ts: tears a failed startup down quietly, so its error is not replaced by a disconnect; marks a dial that never reached the host, so setup reports SSH’s reason; removes the registration when bulk teardown fails; leaves a connection whose own reconnect is asking the user alone; clears the pool entry when the closed connection is still the registered one; still reuses a connection that is already up; dials a user's connection test. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2052 (sources2049/2050/2051): Remove complete low-value restored-pane-title and pane-visibility-identity suites and their current selectors. Their supplied snapshot/title and nullable identity-comparison alarms are intentionally lost without replacement. Unrelated dated evidenceRuns remain unchanged and do not validate the reduced commands. No fresh gate execution, actual PTY/provider, rendered, remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Delete the terminal-create idempotency forwarding suite and its prospective selector. Preserve2 unrelated receipts without claiming the lost forwarding alarm was replaced. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Delete complete transport-unmount and queued-initial-CWD helper suites: despite lifecycle-shaped fixtures, the unmount owner returns a Boolean PTY-id predicate, while CWD cases check nullish field selection and callback counts. Lose their detach/destroy/teardown and one-shot-CWD supplied examples. Partial queued-pane-startup loses three identical/empty/nonowner identity examples, retaining four exact one-shot/replacement ownership callbacks. No assertion object maps to these three sources, so unrelated alias objects remain byte-exact. Preserve the current81ed prior removal of pane-split-startup; stale bd948 source metadata snapshots are not replayed. No actual process/PTY startup, transport shutdown, live SSH or rendered recovery is proven by this metadata change. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1925 (sources1922/1923): Delete the sole supplied public-SSH-state spread/sanitized-error projection and its provider-authority-pair alias. Also delete the complete tiny one-shot split-startup wrapper suite: callback-visible temporary field/reset, sequential payload and thrown-sentinel reset alarms disappear. No SSH provider epoch handoff, connection, process startup or actual terminal split was performed by either deleted suite. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1903 removes whole mocked detach, supplied geometry and/or close-request suites selected by this gate. Their pending-CWD/PTY-binding argument/order, fabricated hit-test and close bookkeeping alarms are intentionally lost without replacement. Valid remaining selectors/assertions and unchanged-selector execution receipts retain their original scope. Reduced unit selections have no fresh broad gate, real PTY/provider, rendered focus, or measured-budget validation. Historical prior account (preserved verbatim): Audit1645 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1301 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic renderer coverage proves retained native and runtime SSH payloads are admitted through production routes only with valid complete authority, stale cleanup cannot unregister a replacement runtime terminal, direct SSH Git and folder panes keep their PTY bindings through disconnect and reconnect, one authority chain stops after two automatic attempts even when each timeout exceeds the rolling window, rejected acknowledgements mutate no store maps, and one shared exact attempt admits every concurrent split-pane spawn and reattach while preserving the first PTY as the tab fallback. A later sibling failure rotates the tab once, stale callbacks from the prior attempt mutate no state, split remount activity suppression is counted per leaf, primary PTY exit promotes a bound survivor or preserves an empty continuation gap for a late sibling, and primary, non-primary, or null-PTY detach preserves exact authority on both resulting tabs. Intentional pane disposal cancels its settlement timer without breaking StrictMode remount timeout ownership. A mounted remote-runtime terminal survives repeated transport partitions without changing PTY identity. A real encrypted-WebSocket oracle proves a successful reachability probe can replace a pre-ready shared-control socket without rejecting or duplicating the waiting RPC. Direct SSH coordinator tests cover immediate terminal finalization, hydration correction, damping, bounded retry, and telemetry non-interference. Client/server heartbeat tests cover timer suspension, socket generations fence stale callbacks, cold restored-terminal attachment retries, cached pixels remain unhealthy until authoritative replay, automatic retries stop after one minute, manual reconnect preserves the PTY, and pane closure releases recovery UI state. Current-transport recovery clears every error that transport surfaced without clearing or displaying a sibling pane's errors, while transport suppression, pane retention, and the rendered surface are independently bounded. Current macOS Electron journeys against an ephemeral Linux Docker SSH target cover exact-authority repo/worktree hydration, live terminal recovery after disconnect/reconnect, and eager six-terminal remount after renderer reload. A Windows remote-runtime smoke covers reachability and PTY round-trip. Multi-target live fanout, paired-close, WSL, and patched live partition journeys remain gaps. The test-value audit narrowed resolved-worktree-execution-host.test.ts to cache reuse and invalidation. Its direct hydrated-worktree, missing-folder, restored-owner, host-stamp and empty-runtime selection alarms are lost. Other routing and recovery suites do not establish equivalent selector coverage; historical run commands and results remain historical. The test-value audit removes standalone unwritten/released renderer-authority and cross-scope request-count examples. The retained synthetic mirror/store/sidebar and pending-inventory checks do not establish real PTY byte ownership, SSH reconnection or equivalent replacement coverage; historical commands and results remain historical. The test-value audit removes direct join/label ledgers, immediate failure and negative-only stale/removal/partial-authority examples, plus the standalone retained/live event projection. Retained synthetic store/hydration compositions do not establish real SSH continuity, remote authority delivery or equivalent replacement alarms. Historical commands and results remain historical. The renderer scheduling fixture retains in-flight coalescing only. Its immediate publication and negative stale-SSH-cleanup call ledgers were removed; the retained SSH recovery evidence does not replace those alarms. The accepted-handle-events observer suite is removed, including its scoped listener and settlement-release assertions. These observer alarms are lost; retained SSH/transport journeys are not equivalent replacement coverage. The test-value audit removed repeated remote-handle rotation inventories and snapshot-first pending-restart migration examples from terminal-pty-identity-replacement.test.ts, plus direct foreground metadata setter, confirmation, evidence-enum, and prefix/worktree cleanup examples. Those rotation, pending-restart, snapshot-first migration, and foreground scalar-update alarms are lost. The retained replacement case observes pane and tab identities in one subscriber publication; it does not establish equivalent migration, process-evidence, or input-routing coverage. Historical commands and results remain historical. The test-value audit narrows terminals-hydration.test.ts to a real reconnect batch with one measured store publication and hydration-seeded history consumed by a subsequent visit/Back check. Direct split-layout, runtime/folder/floating restoration, dead-leaf focus, cold/known-absent SSH deferral, title, default-tab marker, navigation initialization, and hydrationSucceeded scalar examples are removed; those specific alarms are lost. No actual target-removal transition, live SSH connection, session writer, or persisted restart is exercised by the retained cases. The old target-scoped/snapshot assertion references are retired because the current file does not contain those oracles. Other suites and historical runs do not establish equivalent replacement coverage. Audit1299 removes tests/e2e/terminal-cold-activation-deferral.spec.ts. Private-state/work-budget/assembled-fixture alarms are intentionally lost; retained suites are not equivalent replacement coverage. No new runtime/platform evidence is claimed. Audit1301: src/renderer/src/runtime/remote-runtime-session-tabs-inflight.test.ts reduced. Direct dedupe eviction/count and equal receipt-position sample loses authored alarm. No equivalent replacement coverage is claimed. Audit1318: src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts: Retain real local encrypted WebSocket regressions for pre-ready socket replacement preserving a request, close-before-ready logical subscription cleanup, unrelated RPC surviving another deadline, and pending setup abort leaving a sibling pending. Host server is synthetic and uses production crypto; kept scenarios also retain internal diagnostics/memory assertions unchanged. Remove happy routing, authority-envelope, unknown-ID/log, cleanup enum, binary, keepalive/liveness and production-budget/private socket inventories; intentionally lose those alarms, no physical host authorization, independent crypto or remote provider claim. Reduced selectors need fresh validation; historical full-suite receipts do not validate the changed coverage. No equivalent replacement or physical-provider claim. Audit1342: src/renderer/src/hooks/ipc-events/direct-ssh-connect-reply-routing.test.ts removed. Initial and event-triggered partial-authority hydration fixture alarms disappear. src/renderer/src/components/terminal-pane/terminal-error-accumulation.test.ts removed. Multiline dedup/storm bounds, resource classification/collision, scoped clear/reconnect strip and1000-pane map count alarms disappear. No equivalent replacement coverage is claimed. Audit1396: src/renderer/src/components/terminal-pane/pty-connection-pending-spawn.spec.ts reduced. Lose standalone debug-state retention/log silence alarm. React StrictMode is not mounted; bindings manually simulate remount over mocked transport. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1400: src/main/ipc/ssh/ssh.test.ts reduced. Lose trivial missing target and mocked publication inventory. Preexisting unresolved ../ssh/ssh-port-scanner mock is recorded, not fixed. src/renderer/src/runtime/sync-runtime-graph-scheduling.test.ts removed. Removes whole coalescing call-count suite; no newest-state delivery or replacement claim. src/renderer/src/store/slices/terminal-pty-identity-replacement.test.ts reduced. Removes three no-op/work-count registrations; retains externally observed ownership consistency. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1412: src/main/ssh/ssh-provider-authority.test.ts removed. Loses real AbortController revocation/target isolation/reentrancy outcomes, recreated-target generation-floor/session rollover behavior, stale mutation refusal and settled-registration cleanup alarms. These useful alarms are deliberately lost; no equivalent cancellation coverage is claimed. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1743 removes the standalone line-height clamp/default and pane cwd fallback helper tests (5 authored cases). These trivial-helper alarms are intentionally lost, with no equivalent replacement. Only current commands/testFiles lose the deleted selectors; historical receipts and evidenceRuns remain unchanged and do not validate the reduced commands.", + "coverageNotes": "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3368 narrows stream-reconnect coverage to the actual ten synthetic transport epochs retaining one PTY identity, accepting and holding detached input for exactly-once later delivery, current decoded output and per-epoch subscription release. Prior rejection wording was inaccurate. Phase/backoff/cutoff/manual reconnect and parser/OSC/pause/retained-image/fatal/latch/claim/early-close alarms are intentionally lost without equivalent replacement. The Linux multi-pane reconnect receipt remains verbatim with its original scope; no fresh live SSH/provider/PTY/UI/mobile/mixed-version/cross-platform evidence is claimed. Audit3359 retires whole host-surface-replacement and create-handoff suites, removing their compound unit command tokens, test-file entries and assertion references. Fake polling/deadline/subscription, supplied stale-handle ownership, close and replacement examples are intentionally lost without equivalent replacement. The unrelated Linux paired multi-pane reconnect receipt stays verbatim with its original scope. No fresh SSH/provider/network/PTY recovery, historical-import, mobile, mixed-version or cross-platform validation is claimed. Audit3342 retires the complete client create-outcome identity/options/recovery suite and the malformed-or-contradictory repo-owner response matrix. Client replay identity, options, no-downgrade, quiescence/budget/manual retry, authoritative probe-error and malformed-owner refusal alarms are intentionally lost without equivalent replacement. Remaining repo-owner late catalog and old-host re-adoption boundaries do not replace them. The unrelated Linux paired-reconnect receipt stays verbatim with its original scope. Surviving selectors are unexecuted here; no fresh SSH/provider/process-deduplication, mobile, mixed-version or cross-platform validation is claimed. Audit3329 execution amendment: the reduced one-suite reconnect selector passed on Linux (1 case). Original source-review statements about no fresh execution describe the earlier static review; this new receipt validates only this one local deterministic unit case, not the complete gate or physical/runtime/rendered/provider/platform parity. Historical seven-case macOS and two-case Linux receipts remain archived verbatim. Audit3326 adopts reconciled source audit3324 and intentionally retires these low-value examples and their regression alarms: keeps a sidebar row for every still-live pane after a long sleep — Whole suite: 279 lines manually replay renderer ownership registry/status writes, snapshot patch/set, six-pane fixture inventory, and sidebar selectors/builders; expected pane IDs are production-computed. Does not run sleep/wake/transport or actual sidebar entry. Retires reconnect row-preservation assembly alarm.; still retires the regular TUI surface after an explicit terminal exit — Ordinary explicit-exit callback/map cleanup is repeated in the stale/new stream lifecycle case below. Retires separate regular-TUI baseline; keeper is not equivalent process/UI proof.; asks the HUB to recover an expired SSH pane and rebinds the host identity — Expired SSH owner error must ask the owning HUB to recover, then adopt fixed replacement handle, resubscribe and report rebind; actual transport dispatch and handle state prevent wrong-client recovery.; does not recover a pane whose relay reply was an identity mismatch — Identity mismatch means a different live PTY, so actual transport must surface refusal without recover/create, keeping original identity. Prevents destructive duplicate agent recovery.; fails closed when an older HUB cannot recover an expired SSH pane — Old HUB method_not_found is scripted mock refusal/error echo with no actual skewed host; repeats generic recovery failure propagation. Retires old-host recovery fallback refusal example.; names a held recovery's stopped WSL distro in readable copy, not the raw hold code — Pins exact WSL stopped-distro error prose after mock code; translation/copy assertion with no actual held recovery behavior. Retires readable-copy alarm.. Retained tests do not replace these alarms. Dated unrelated evidence remains scoped to its original execution; no historical source/import-closure equivalence, fresh execution, real network/provider/SSH, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Audit 3318 reduces runtime-environment-ssh-state.test.ts, intentionally losing metadata membership-pruning/new-target-only-read and other-environment/local-bucket isolation alarms. Preserve generation/failed-full-refresh assertion and unknown-target authoritative-list reread; these narrower cases are not equivalent replacements. The unchanged active two-case Linux reconnect materialization/sidebar receipt and covered platform retain their exact scope and do not validate the reduced SSH state selector. Preserve unrelated SSH assertions, selectors and archived history. No fresh SSH discovery, provider/PTY/network, rendered, mobile, mixed-version, cross-platform or full-gate execution is claimed. Audit3315 execution amendment: the reduced two-suite reconnect selector passed on Linux (2 cases). Original source-review statements about no fresh execution describe the earlier static review; this new receipt validates only these two local deterministic unit cases, not the complete gate or physical/runtime/rendered/provider/platform parity. Historical seven-case macOS receipt remains archived verbatim. Audit 3312 retires the ordinary six-pane distinct-live-handle reconnect/resubscription alarm from paired-reconnect-multi-pane-materialization.test.ts. The unchanged parked-pane activation/rematerialization case remains narrower and is not an equivalent replacement. The complete prior seven-contract macOS receipt is archived as historical evidence; it does not validate the reduced selector. No fresh socket, PTY, sleep/wake, provider, platform, mobile, mixed-version or rendered execution is claimed. Audit3096: remove the deleted reconnect-banner selector and its two UI aliases. The reduced recovery-state selector retains only the deadline cancelling pending backoff and explicit retry owning a new epoch alias; healthy-replacement stale-schedule and independent caller-cutoff cancellation aliases retire. Other retained state cases cover reentrant retry, owner settlement and same-epoch parked revival, without replacing those removed alarms. Prior admission-selector retirement, archived July 28 receipt, unrelated selectors/claims/receipts and old gaps remain unchanged; no fresh execution is claimed. Audit3086: retire the destroyed fresh-session fallback settlement/non-destructive reattach alias and its direct selector; retain the detach/attach selector and assertion unchanged. The retained admission cases cover adopt-before-data and explicitly buffered-death admission without a new spawn, without replacing fallback retirement. July 28 evidence was already archived by audit3077; no duplicate retirement or new execution is claimed. Audit2709 removes src/renderer/src/runtime/web-session-tabs-sync/inventory/remote-runtime-session-tabs-inflight.test.ts: intentionally retire waiting out an older inventory and sharing a fresh post-operation request among concurrent callers. No equivalent replacement or fresh execution is claimed. Dated receipts remain historical evidence for their unchanged selectors only; they do not validate the reduced commands or full current gate. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/ssh/connection/ssh-connection-manager.test.ts: tears a failed startup down quietly, so its error is not replaced by a disconnect; marks a dial that never reached the host, so setup reports SSH’s reason; removes the registration when bulk teardown fails; leaves a connection whose own reconnect is asking the user alone; clears the pool entry when the closed connection is still the registered one; still reuses a connection that is already up; dials a user's connection test. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2052 (sources2049/2050/2051): Remove complete low-value restored-pane-title and pane-visibility-identity suites and their current selectors. Their supplied snapshot/title and nullable identity-comparison alarms are intentionally lost without replacement. Unrelated dated evidenceRuns remain unchanged and do not validate the reduced commands. No fresh gate execution, actual PTY/provider, rendered, remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Delete the terminal-create idempotency forwarding suite and its prospective selector. Preserve2 unrelated receipts without claiming the lost forwarding alarm was replaced. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Delete complete transport-unmount and queued-initial-CWD helper suites: despite lifecycle-shaped fixtures, the unmount owner returns a Boolean PTY-id predicate, while CWD cases check nullish field selection and callback counts. Lose their detach/destroy/teardown and one-shot-CWD supplied examples. Partial queued-pane-startup loses three identical/empty/nonowner identity examples, retaining four exact one-shot/replacement ownership callbacks. No assertion object maps to these three sources, so unrelated alias objects remain byte-exact. Preserve the current81ed prior removal of pane-split-startup; stale bd948 source metadata snapshots are not replayed. No actual process/PTY startup, transport shutdown, live SSH or rendered recovery is proven by this metadata change. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1925 (sources1922/1923): Delete the sole supplied public-SSH-state spread/sanitized-error projection and its provider-authority-pair alias. Also delete the complete tiny one-shot split-startup wrapper suite: callback-visible temporary field/reset, sequential payload and thrown-sentinel reset alarms disappear. No SSH provider epoch handoff, connection, process startup or actual terminal split was performed by either deleted suite. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1903 removes whole mocked detach, supplied geometry and/or close-request suites selected by this gate. Their pending-CWD/PTY-binding argument/order, fabricated hit-test and close bookkeeping alarms are intentionally lost without replacement. Valid remaining selectors/assertions and unchanged-selector execution receipts retain their original scope. Reduced unit selections have no fresh broad gate, real PTY/provider, rendered focus, or measured-budget validation. Historical prior account (preserved verbatim): Audit1645 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1301 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic renderer coverage proves retained native and runtime SSH payloads are admitted through production routes only with valid complete authority, stale cleanup cannot unregister a replacement runtime terminal, direct SSH Git and folder panes keep their PTY bindings through disconnect and reconnect, one authority chain stops after two automatic attempts even when each timeout exceeds the rolling window, rejected acknowledgements mutate no store maps, and one shared exact attempt admits every concurrent split-pane spawn and reattach while preserving the first PTY as the tab fallback. A later sibling failure rotates the tab once, stale callbacks from the prior attempt mutate no state, split remount activity suppression is counted per leaf, primary PTY exit promotes a bound survivor or preserves an empty continuation gap for a late sibling, and primary, non-primary, or null-PTY detach preserves exact authority on both resulting tabs. Intentional pane disposal cancels its settlement timer without breaking StrictMode remount timeout ownership. A mounted remote-runtime terminal survives repeated transport partitions without changing PTY identity. A real encrypted-WebSocket oracle proves a successful reachability probe can replace a pre-ready shared-control socket without rejecting or duplicating the waiting RPC. Direct SSH coordinator tests cover immediate terminal finalization, hydration correction, damping, bounded retry, and telemetry non-interference. Client/server heartbeat tests cover timer suspension, socket generations fence stale callbacks, cold restored-terminal attachment retries, cached pixels remain unhealthy until authoritative replay, automatic retries stop after one minute, manual reconnect preserves the PTY, and pane closure releases recovery UI state. Current-transport recovery clears every error that transport surfaced without clearing or displaying a sibling pane's errors, while transport suppression, pane retention, and the rendered surface are independently bounded. Current macOS Electron journeys against an ephemeral Linux Docker SSH target cover exact-authority repo/worktree hydration, live terminal recovery after disconnect/reconnect, and eager six-terminal remount after renderer reload. A Windows remote-runtime smoke covers reachability and PTY round-trip. Multi-target live fanout, paired-close, WSL, and patched live partition journeys remain gaps. The test-value audit narrowed resolved-worktree-execution-host.test.ts to cache reuse and invalidation. Its direct hydrated-worktree, missing-folder, restored-owner, host-stamp and empty-runtime selection alarms are lost. Other routing and recovery suites do not establish equivalent selector coverage; historical run commands and results remain historical. The test-value audit removes standalone unwritten/released renderer-authority and cross-scope request-count examples. The retained synthetic mirror/store/sidebar and pending-inventory checks do not establish real PTY byte ownership, SSH reconnection or equivalent replacement coverage; historical commands and results remain historical. The test-value audit removes direct join/label ledgers, immediate failure and negative-only stale/removal/partial-authority examples, plus the standalone retained/live event projection. Retained synthetic store/hydration compositions do not establish real SSH continuity, remote authority delivery or equivalent replacement alarms. Historical commands and results remain historical. The renderer scheduling fixture retains in-flight coalescing only. Its immediate publication and negative stale-SSH-cleanup call ledgers were removed; the retained SSH recovery evidence does not replace those alarms. The accepted-handle-events observer suite is removed, including its scoped listener and settlement-release assertions. These observer alarms are lost; retained SSH/transport journeys are not equivalent replacement coverage. The test-value audit removed repeated remote-handle rotation inventories and snapshot-first pending-restart migration examples from terminal-pty-identity-replacement.test.ts, plus direct foreground metadata setter, confirmation, evidence-enum, and prefix/worktree cleanup examples. Those rotation, pending-restart, snapshot-first migration, and foreground scalar-update alarms are lost. The retained replacement case observes pane and tab identities in one subscriber publication; it does not establish equivalent migration, process-evidence, or input-routing coverage. Historical commands and results remain historical. The test-value audit narrows terminals-hydration.test.ts to a real reconnect batch with one measured store publication and hydration-seeded history consumed by a subsequent visit/Back check. Direct split-layout, runtime/folder/floating restoration, dead-leaf focus, cold/known-absent SSH deferral, title, default-tab marker, navigation initialization, and hydrationSucceeded scalar examples are removed; those specific alarms are lost. No actual target-removal transition, live SSH connection, session writer, or persisted restart is exercised by the retained cases. The old target-scoped/snapshot assertion references are retired because the current file does not contain those oracles. Other suites and historical runs do not establish equivalent replacement coverage. Audit1299 removes tests/e2e/terminal-cold-activation-deferral.spec.ts. Private-state/work-budget/assembled-fixture alarms are intentionally lost; retained suites are not equivalent replacement coverage. No new runtime/platform evidence is claimed. Audit1301: src/renderer/src/runtime/remote-runtime-session-tabs-inflight.test.ts reduced. Direct dedupe eviction/count and equal receipt-position sample loses authored alarm. No equivalent replacement coverage is claimed. Audit1318: src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts: Retain real local encrypted WebSocket regressions for pre-ready socket replacement preserving a request, close-before-ready logical subscription cleanup, unrelated RPC surviving another deadline, and pending setup abort leaving a sibling pending. Host server is synthetic and uses production crypto; kept scenarios also retain internal diagnostics/memory assertions unchanged. Remove happy routing, authority-envelope, unknown-ID/log, cleanup enum, binary, keepalive/liveness and production-budget/private socket inventories; intentionally lose those alarms, no physical host authorization, independent crypto or remote provider claim. Reduced selectors need fresh validation; historical full-suite receipts do not validate the changed coverage. No equivalent replacement or physical-provider claim. Audit1342: src/renderer/src/hooks/ipc-events/direct-ssh-connect-reply-routing.test.ts removed. Initial and event-triggered partial-authority hydration fixture alarms disappear. src/renderer/src/components/terminal-pane/terminal-error-accumulation.test.ts removed. Multiline dedup/storm bounds, resource classification/collision, scoped clear/reconnect strip and1000-pane map count alarms disappear. No equivalent replacement coverage is claimed. Audit1396: src/renderer/src/components/terminal-pane/pty-connection-pending-spawn.spec.ts reduced. Lose standalone debug-state retention/log silence alarm. React StrictMode is not mounted; bindings manually simulate remount over mocked transport. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1400: src/main/ipc/ssh/ssh.test.ts reduced. Lose trivial missing target and mocked publication inventory. Preexisting unresolved ../ssh/ssh-port-scanner mock is recorded, not fixed. src/renderer/src/runtime/sync-runtime-graph-scheduling.test.ts removed. Removes whole coalescing call-count suite; no newest-state delivery or replacement claim. src/renderer/src/store/slices/terminal-pty-identity-replacement.test.ts reduced. Removes three no-op/work-count registrations; retains externally observed ownership consistency. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1412: src/main/ssh/ssh-provider-authority.test.ts removed. Loses real AbortController revocation/target isolation/reentrancy outcomes, recreated-target generation-floor/session rollover behavior, stale mutation refusal and settled-registration cleanup alarms. These useful alarms are deliberately lost; no equivalent cancellation coverage is claimed. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1743 removes the standalone line-height clamp/default and pane cwd fallback helper tests (5 authored cases). These trivial-helper alarms are intentionally lost, with no equivalent replacement. Only current commands/testFiles lose the deleted selectors; historical receipts and evidenceRuns remain unchanged and do not validate the reduced commands.", "motivatingLinks": [ "https://linear.app/stably/issue/STA-3107", "https://github.com/stablyai/orca/pull/12664", @@ -9627,14 +9324,13 @@ "https://github.com/stablyai/orca/issues/12902" ], "invariant": "SSH, WSL, and remote-runtime restore paths must treat provider listing failures and unknown liveness as unknown, not dead, while still avoiding duplicate spawn and clearing expired relay leases exactly once. Direct SSH disconnect, reconnect, and wake must keep PTY bindings and relay identity, and target snapshot hydration/reconnect cannot reset sibling SSH, local, WSL, or runtime-owned state. Every restored remote terminal must preserve its provider PTY identity, including the authoritative incarnation returned by a successful session-ID reattach. After a recoverable partition the same authenticated runtime must reattach the same PTY, reject detached input, apply the latest viewport, and report healthy only after authoritative replay. A successful one-shot reachability probe may replace a pre-ready shared-control socket, but waiting RPCs must continue onto the replacement under their original deadline without duplicate host delivery or retained request bytes. Automatic PTY recovery stops after one bounded minute without a fatal terminal error; a manual reconnect starts a newly fenced epoch against the same PTY, and closed panes retain no recovery UI state. Successful current-transport recovery must clear every stale error surfaced for that pane without clearing or displaying a sibling pane's error; a later genuine failure must remain visible. Each transport retains at most eight suppressed messages, each pane retains at most eight distinct messages, and the rendered surface retains at most 24 lines and 4,000 characters. One capability-gated terminal-create mutation must produce at most one host PTY across an unknown response outcome, remain manually retryable after cutoff, and never let a stale completion replace a newer pane lifecycle. Reconnect must alternate exact activation with authoritative inventory so neither a stale activation response nor an activation failure can strand or retire a pane, and activating a parked surface whose persisted binding was already retired must respawn it rather than report a changed owner after signalling its exit.", - "oracle": "Audit3096: remove the deleted reconnect-banner selector and its two UI aliases. The reduced recovery-state selector retains only the deadline cancelling pending backoff and explicit retry owning a new epoch alias; healthy-replacement stale-schedule and independent caller-cutoff cancellation aliases retire. Other retained state cases cover reentrant retry, owner settlement and same-epoch parked revival, without replacing those removed alarms. Prior admission-selector retirement, archived July 28 receipt, unrelated selectors/claims/receipts and old gaps remain unchanged; no fresh execution is claimed. Audit3086: retire the destroyed fresh-session fallback settlement/non-destructive reattach alias and its direct selector; retain the detach/attach selector and assertion unchanged. The retained admission cases cover adopt-before-data and explicitly buffered-death admission without a new spawn, without replacing fallback retirement. July 28 evidence was already archived by audit3077; no duplicate retirement or new execution is claimed. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/ssh/connection/ssh-connection-manager.test.ts: tears a failed startup down quietly, so its error is not replaced by a disconnect; marks a dial that never reached the host, so setup reports SSH’s reason; removes the registration when bulk teardown fails; leaves a connection whose own reconnect is asking the user alone; clears the pool entry when the closed connection is still the registered one; still reuses a connection that is already up; dials a user's connection test. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2052 (sources2049/2050/2051): Remove complete low-value restored-pane-title and pane-visibility-identity suites and their current selectors. Their supplied snapshot/title and nullable identity-comparison alarms are intentionally lost without replacement. Unrelated dated evidenceRuns remain unchanged and do not validate the reduced commands. No fresh gate execution, actual PTY/provider, rendered, remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Delete the terminal-create idempotency forwarding suite and its prospective selector. Preserve2 unrelated receipts without claiming the lost forwarding alarm was replaced. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Delete complete transport-unmount and queued-initial-CWD helper suites: despite lifecycle-shaped fixtures, the unmount owner returns a Boolean PTY-id predicate, while CWD cases check nullish field selection and callback counts. Lose their detach/destroy/teardown and one-shot-CWD supplied examples. Partial queued-pane-startup loses three identical/empty/nonowner identity examples, retaining four exact one-shot/replacement ownership callbacks. No assertion object maps to these three sources, so unrelated alias objects remain byte-exact. Preserve the current81ed prior removal of pane-split-startup; stale bd948 source metadata snapshots are not replayed. No actual process/PTY startup, transport shutdown, live SSH or rendered recovery is proven by this metadata change. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1925 (sources1922/1923): Delete the sole supplied public-SSH-state spread/sanitized-error projection and its provider-authority-pair alias. Also delete the complete tiny one-shot split-startup wrapper suite: callback-visible temporary field/reset, sequential payload and thrown-sentinel reset alarms disappear. No SSH provider epoch handoff, connection, process startup or actual terminal split was performed by either deleted suite. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1903 removes whole mocked detach, supplied geometry and/or close-request suites selected by this gate. Their pending-CWD/PTY-binding argument/order, fabricated hit-test and close bookkeeping alarms are intentionally lost without replacement. Valid remaining selectors/assertions and unchanged-selector execution receipts retain their original scope. Reduced unit selections have no fresh broad gate, real PTY/provider, rendered focus, or measured-budget validation. Historical prior account (preserved verbatim): Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Deterministic tests cover bounded stale-handle replacement, suspended heartbeat clocks, cold and established subscription failure, ten partition/recovery cycles, automatic-recovery cutoff, manual reconnect, and direct SSH binding retention. They assert SSH state changes leave PTY bindings in place, relay identity survives, and another target/local/WSL/runtime panes remain byte-identical through target snapshot hydration and reconnect. Both remount callbacks consume split-count activity suppression, intentional dispose emits no failure/timeout, and a same-attempt StrictMode remount still owns one timeout. Hydration clears an untrusted PTY hint without clearing its current pending owner, healthy current-authority bindings suppress correction, hydration finalizes once, and reconnect emits no paired close lifecycle. A provider-level session-ID reattach returns an incarnation, then a legacy exit without an incarnation must resolve to that returned identity rather than minting a fallback identity. The shared-control oracle withholds the first encrypted ready frame, starts one RPC, triggers the successful-probe refresh, then requires exactly two client connections, one host request, a successful response, zero pending calls, and zero retained request bytes. Tests also assert one unsubscribe per remote-runtime epoch, observable recovery phases, stable PTY identity, resumed snapshot/output/input, no healthy state before replay, no retry or input after cutoff, a new manual epoch against the same PTY, quiet recovery UI with an explicit Reconnect action, pane-close state cleanup, one stable create mutation id, old-runtime no-retry behavior, cross-process PTY adoption, and bounded in-flight coordination. A focused recovery oracle surfaces two distinct failures through one transport, completes authoritative replay, and requires both matching clear callbacks; pane-state tests require only the active pane's error to render, matching-pane recovery to preserve sibling and unrelated errors, dismissal to re-admit later failures, and distinct storms to retain only the newest eight messages within 24 lines and 4,000 characters. The retained store replacement assertion observes one atomic pane/tab subscriber publication; repeated rotations and snapshot-first pending-restart migration no longer have their direct store examples.", + "oracle": "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3368 narrows stream-reconnect coverage to the actual ten synthetic transport epochs retaining one PTY identity, accepting and holding detached input for exactly-once later delivery, current decoded output and per-epoch subscription release. Prior rejection wording was inaccurate. Phase/backoff/cutoff/manual reconnect and parser/OSC/pause/retained-image/fatal/latch/claim/early-close alarms are intentionally lost without equivalent replacement. The Linux multi-pane reconnect receipt remains verbatim with its original scope; no fresh live SSH/provider/PTY/UI/mobile/mixed-version/cross-platform evidence is claimed. Audit3359 retires whole host-surface-replacement and create-handoff suites, removing their compound unit command tokens, test-file entries and assertion references. Fake polling/deadline/subscription, supplied stale-handle ownership, close and replacement examples are intentionally lost without equivalent replacement. The unrelated Linux paired multi-pane reconnect receipt stays verbatim with its original scope. No fresh SSH/provider/network/PTY recovery, historical-import, mobile, mixed-version or cross-platform validation is claimed. Audit3342 retires the complete client create-outcome identity/options/recovery suite and the malformed-or-contradictory repo-owner response matrix. Client replay identity, options, no-downgrade, quiescence/budget/manual retry, authoritative probe-error and malformed-owner refusal alarms are intentionally lost without equivalent replacement. Remaining repo-owner late catalog and old-host re-adoption boundaries do not replace them. The unrelated Linux paired-reconnect receipt stays verbatim with its original scope. Surviving selectors are unexecuted here; no fresh SSH/provider/process-deduplication, mobile, mixed-version or cross-platform validation is claimed. Audit3326 adopts reconciled source audit3324 and intentionally retires these low-value examples and their regression alarms: keeps a sidebar row for every still-live pane after a long sleep — Whole suite: 279 lines manually replay renderer ownership registry/status writes, snapshot patch/set, six-pane fixture inventory, and sidebar selectors/builders; expected pane IDs are production-computed. Does not run sleep/wake/transport or actual sidebar entry. Retires reconnect row-preservation assembly alarm.; still retires the regular TUI surface after an explicit terminal exit — Ordinary explicit-exit callback/map cleanup is repeated in the stale/new stream lifecycle case below. Retires separate regular-TUI baseline; keeper is not equivalent process/UI proof.; asks the HUB to recover an expired SSH pane and rebinds the host identity — Expired SSH owner error must ask the owning HUB to recover, then adopt fixed replacement handle, resubscribe and report rebind; actual transport dispatch and handle state prevent wrong-client recovery.; does not recover a pane whose relay reply was an identity mismatch — Identity mismatch means a different live PTY, so actual transport must surface refusal without recover/create, keeping original identity. Prevents destructive duplicate agent recovery.; fails closed when an older HUB cannot recover an expired SSH pane — Old HUB method_not_found is scripted mock refusal/error echo with no actual skewed host; repeats generic recovery failure propagation. Retires old-host recovery fallback refusal example.; names a held recovery's stopped WSL distro in readable copy, not the raw hold code — Pins exact WSL stopped-distro error prose after mock code; translation/copy assertion with no actual held recovery behavior. Retires readable-copy alarm.. Retained tests do not replace these alarms. Dated unrelated evidence remains scoped to its original execution; no historical source/import-closure equivalence, fresh execution, real network/provider/SSH, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Audit 3318 reduces runtime-environment-ssh-state.test.ts, intentionally losing metadata membership-pruning/new-target-only-read and other-environment/local-bucket isolation alarms. Preserve generation/failed-full-refresh assertion and unknown-target authoritative-list reread; these narrower cases are not equivalent replacements. The unchanged active two-case Linux reconnect materialization/sidebar receipt and covered platform retain their exact scope and do not validate the reduced SSH state selector. Preserve unrelated SSH assertions, selectors and archived history. No fresh SSH discovery, provider/PTY/network, rendered, mobile, mixed-version, cross-platform or full-gate execution is claimed. Audit 3312 retires the ordinary six-pane distinct-live-handle reconnect/resubscription alarm from paired-reconnect-multi-pane-materialization.test.ts. The unchanged parked-pane activation/rematerialization case remains narrower and is not an equivalent replacement. The complete prior seven-contract macOS receipt is archived as historical evidence; it does not validate the reduced selector. No fresh socket, PTY, sleep/wake, provider, platform, mobile, mixed-version or rendered execution is claimed. Audit3096: remove the deleted reconnect-banner selector and its two UI aliases. The reduced recovery-state selector retains only the deadline cancelling pending backoff and explicit retry owning a new epoch alias; healthy-replacement stale-schedule and independent caller-cutoff cancellation aliases retire. Other retained state cases cover reentrant retry, owner settlement and same-epoch parked revival, without replacing those removed alarms. Prior admission-selector retirement, archived July 28 receipt, unrelated selectors/claims/receipts and old gaps remain unchanged; no fresh execution is claimed. Audit3086: retire the destroyed fresh-session fallback settlement/non-destructive reattach alias and its direct selector; retain the detach/attach selector and assertion unchanged. The retained admission cases cover adopt-before-data and explicitly buffered-death admission without a new spawn, without replacing fallback retirement. July 28 evidence was already archived by audit3077; no duplicate retirement or new execution is claimed. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/ssh/connection/ssh-connection-manager.test.ts: tears a failed startup down quietly, so its error is not replaced by a disconnect; marks a dial that never reached the host, so setup reports SSH’s reason; removes the registration when bulk teardown fails; leaves a connection whose own reconnect is asking the user alone; clears the pool entry when the closed connection is still the registered one; still reuses a connection that is already up; dials a user's connection test. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2052 (sources2049/2050/2051): Remove complete low-value restored-pane-title and pane-visibility-identity suites and their current selectors. Their supplied snapshot/title and nullable identity-comparison alarms are intentionally lost without replacement. Unrelated dated evidenceRuns remain unchanged and do not validate the reduced commands. No fresh gate execution, actual PTY/provider, rendered, remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Delete the terminal-create idempotency forwarding suite and its prospective selector. Preserve2 unrelated receipts without claiming the lost forwarding alarm was replaced. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Delete complete transport-unmount and queued-initial-CWD helper suites: despite lifecycle-shaped fixtures, the unmount owner returns a Boolean PTY-id predicate, while CWD cases check nullish field selection and callback counts. Lose their detach/destroy/teardown and one-shot-CWD supplied examples. Partial queued-pane-startup loses three identical/empty/nonowner identity examples, retaining four exact one-shot/replacement ownership callbacks. No assertion object maps to these three sources, so unrelated alias objects remain byte-exact. Preserve the current81ed prior removal of pane-split-startup; stale bd948 source metadata snapshots are not replayed. No actual process/PTY startup, transport shutdown, live SSH or rendered recovery is proven by this metadata change. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1925 (sources1922/1923): Delete the sole supplied public-SSH-state spread/sanitized-error projection and its provider-authority-pair alias. Also delete the complete tiny one-shot split-startup wrapper suite: callback-visible temporary field/reset, sequential payload and thrown-sentinel reset alarms disappear. No SSH provider epoch handoff, connection, process startup or actual terminal split was performed by either deleted suite. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1903 removes whole mocked detach, supplied geometry and/or close-request suites selected by this gate. Their pending-CWD/PTY-binding argument/order, fabricated hit-test and close bookkeeping alarms are intentionally lost without replacement. Valid remaining selectors/assertions and unchanged-selector execution receipts retain their original scope. Reduced unit selections have no fresh broad gate, real PTY/provider, rendered focus, or measured-budget validation. Historical prior account (preserved verbatim): Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Deterministic tests cover bounded stale-handle replacement, suspended heartbeat clocks, cold and established subscription failure, ten partition/recovery cycles, automatic-recovery cutoff, manual reconnect, and direct SSH binding retention. They assert SSH state changes leave PTY bindings in place, relay identity survives, and another target/local/WSL/runtime panes remain byte-identical through target snapshot hydration and reconnect. Both remount callbacks consume split-count activity suppression, intentional dispose emits no failure/timeout, and a same-attempt StrictMode remount still owns one timeout. Hydration clears an untrusted PTY hint without clearing its current pending owner, healthy current-authority bindings suppress correction, hydration finalizes once, and reconnect emits no paired close lifecycle. A provider-level session-ID reattach returns an incarnation, then a legacy exit without an incarnation must resolve to that returned identity rather than minting a fallback identity. The shared-control oracle withholds the first encrypted ready frame, starts one RPC, triggers the successful-probe refresh, then requires exactly two client connections, one host request, a successful response, zero pending calls, and zero retained request bytes. Tests also assert one unsubscribe per remote-runtime epoch, observable recovery phases, stable PTY identity, resumed snapshot/output/input, no healthy state before replay, no retry or input after cutoff, a new manual epoch against the same PTY, quiet recovery UI with an explicit Reconnect action, pane-close state cleanup, one stable create mutation id, old-runtime no-retry behavior, cross-process PTY adoption, and bounded in-flight coordination. A focused recovery oracle surfaces two distinct failures through one transport, completes authoritative replay, and requires both matching clear callbacks; pane-state tests require only the active pane's error to render, matching-pane recovery to preserve sibling and unrelated errors, dismissal to re-admit later failures, and distinct storms to retain only the newest eight messages within 24 lines and 4,000 characters. The retained store replacement assertion observes one atomic pane/tab subscriber publication; repeated rotations and snapshot-first pending-restart migration no longer have their direct store examples.", "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts src/renderer/src/runtime/web-session-tabs-sync/agent-status/paired-reconnect-sidebar-agent-count.test.ts --reporter=dot", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/resolved-worktree-execution-host.test.ts src/renderer/src/components/terminal/background-terminal-worktree-mount.test.ts src/renderer/src/components/terminal-pane/mounting/queued-pane-startup.test.ts src/renderer/src/components/terminal-pane/parking/one-shot-park-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-surface-replacement.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts src/renderer/src/store/terminals/terminal-pty-identity-replacement.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts --reporter=dot", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal/background-terminal-worktree-mount.test.ts src/renderer/src/components/terminal-pane/mounting/queued-pane-startup.test.ts src/renderer/src/components/terminal-pane/parking/one-shot-park-replay.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts src/renderer/src/store/terminals/terminal-pty-identity-replacement.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-detach-attach-handoff.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-attach-subscription.test.ts --reporter=dot", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-attach-subscription.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-surface-replacement.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-expired-pane-recovery.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-outcome-recovery.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/recovery/remote-runtime-pty-recovery-state.test.ts src/shared/remote-runtime/remote-runtime-socket-liveness.test.ts src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts src/shared/remote-runtime/control/remote-runtime-shared-control-socket-generation.test.ts src/shared/remote-runtime/remote-runtime-client-error-classification.test.ts src/main/runtime/rpc/remote-runtime-server-heartbeat.test.ts src/main/runtime/terminal/launch/orca-runtime-terminal-create-idempotency.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/ui/workspace-navigation-history-hydration.test.ts src/renderer/src/store/repos/repos-ssh-host-reconciliation.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts --reporter=dot", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-expired-pane-recovery.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/recovery/remote-runtime-pty-recovery-state.test.ts src/shared/remote-runtime/remote-runtime-socket-liveness.test.ts src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts src/shared/remote-runtime/control/remote-runtime-shared-control-socket-generation.test.ts src/shared/remote-runtime/remote-runtime-client-error-classification.test.ts src/main/runtime/rpc/remote-runtime-server-heartbeat.test.ts src/main/runtime/terminal/launch/orca-runtime-terminal-create-idempotency.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/ui/workspace-navigation-history-hydration.test.ts src/renderer/src/store/repos/repos-ssh-host-reconciliation.test.ts --reporter=dot", "pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/ssh/ssh.test.ts src/main/ipc/worktrees-ssh-repo-owner-resolution.test.ts src/main/ssh/connection/ssh-connection-manager.test.ts src/main/ssh/connection/ssh-connection.test.ts src/preload/ssh-authority-forwarding.test.ts src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts src/renderer/src/runtime/hosts/ssh/runtime-environment-ssh-state.test.ts src/shared/ssh-retained-payload-admission.test.ts --reporter=dot", "pnpm exec electron-vite build --mode e2e", "pnpm run build:web-from-renderer", @@ -9642,19 +9338,12 @@ ], "testFiles": [ "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts", - "src/renderer/src/runtime/web-session-tabs-sync/agent-status/paired-reconnect-sidebar-agent-count.test.ts", - "src/renderer/src/lib/resolved-worktree-execution-host.test.ts", "src/renderer/src/components/terminal/background-terminal-worktree-mount.test.ts", "src/renderer/src/components/terminal-pane/mounting/queued-pane-startup.test.ts", "src/renderer/src/components/terminal-pane/parking/one-shot-park-replay.test.ts", - "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts", "src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-detach-attach-handoff.test.ts", - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-attach-subscription.test.ts", - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-surface-replacement.test.ts", "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts", "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-expired-pane-recovery.test.ts", - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-outcome-recovery.test.ts", - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts", "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/recovery/remote-runtime-pty-recovery-state.test.ts", "src/renderer/src/store/terminals/terminal-pty-identity-replacement.test.ts", "src/shared/remote-runtime/remote-runtime-socket-liveness.test.ts", @@ -9679,53 +9368,13 @@ { "file": "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts", "assertions": [ - "six panes sharing one dropped multiplex connection each resubscribe to a distinct live host handle", "a pane parked while the client slept is authoritatively activated and rematerialized without leaving any pane handle null" ] }, - { - "file": "src/renderer/src/runtime/web-session-tabs-sync/agent-status/paired-reconnect-sidebar-agent-count.test.ts", - "assertions": [ - "after a long sleep every live host PTY and tab retains its client-owned sidebar agent row" - ] - }, - { - "file": "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-surface-replacement.test.ts", - "assertions": [ - "a stale web-mirror handle polls until a different ready handle is published without resubscribing the stale handle", - "replacement does not emit pane exit or disconnect callbacks and explicit terminal exit still retires the mirror", - "replacement polling and each in-flight request share a 15-second deadline, then accepted snapshots own recovery without input re-arming polling" - ] - }, - { - "file": "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-attach-subscription.test.ts", - "assertions": [ - "cold restored-terminal subscription failure retries and resumes snapshot, output, and input without a fatal error", - "a canonical close before subscription readiness opens exactly one replacement stream without surfacing a fatal error", - "cached terminal pixels remain disconnected until authoritative replay completes", - "authoritative current-stream replay clears every distinct error surfaced by that transport" - ] - }, { "file": "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts", "assertions": [ - "recovery exposes connecting, recovering, backoff, connected, and fatal-offline phases with fenced epochs", - "ten partition cycles retain one PTY identity, reject detached input, and unsubscribe each epoch exactly once", - "automatic retries stop after one minute with no fatal error, no further requests, and no stale input", - "manual reconnect starts a new epoch, resubscribes the same PTY exactly once, and becomes healthy only after its snapshot" - ] - }, - { - "file": "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-outcome-recovery.test.ts", - "assertions": [ - "unknown terminal-create recovery stops all request activity after one minute without a fatal error, clips post-probe RPC timeouts to the remaining budget, then manual retry re-probes capability and reconciles the same mutation", - "an authoritative capability-probe failure replaces the stale connectivity error" - ] - }, - { - "file": "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts", - "assertions": [ - "a stale create completion cannot replace or close a newer attachment, including when two runtimes use the same raw handle" + "ten synthetic partition cycles retain one PTY identity, deliver each held detached input exactly once and release each epoch subscription exactly once; decoded live input/output remains current" ] }, { @@ -9786,21 +9435,8 @@ { "file": "src/renderer/src/runtime/hosts/ssh/runtime-environment-ssh-state.test.ts", "assertions": [ - "membership refresh prunes removed targets and reads only newly joined targets", "held replies from an old generation cannot replace a newer generation; failed full refresh preserves live state behind queued metadata", - "positive environment and local state remain isolated; an unknown target triggers an authoritative list reread" - ] - }, - { - "file": "src/renderer/src/store/repos/repos-ssh-host-reconciliation.test.ts", - "assertions": [ - "a provider result becomes stale when same-ID repo ownership turns malformed or contradictory during the await" - ] - }, - { - "file": "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts", - "assertions": [ - "a StrictMode remount joins the pending spawn instead of starting a second one" + "an unknown target triggers an authoritative list reread" ] }, { @@ -9812,14 +9448,14 @@ ], "evidenceRuns": [ { - "date": "2026-08-23", + "date": "2026-11-11", "runner": "local", - "platform": "macos", - "command": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/paired-reconnect-multi-pane-materialization.test.ts src/renderer/src/runtime/paired-reconnect-sidebar-agent-count.test.ts --reporter=dot", + "platform": "linux", + "command": "ORCA_BACKGROUND_LAUNCH=1 pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts --reporter=dot --maxWorkers=2", + "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts --reporter=dot", "result": "passed", - "durationSeconds": 2.54, - "summary": "Seven deterministic STA-3107 contracts passed across six-pane multiplex rematerialization and client-owned sidebar-row retention after sleep/wake.", - "currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts src/renderer/src/runtime/web-session-tabs-sync/agent-status/paired-reconnect-sidebar-agent-count.test.ts --reporter=dot" + "durationSeconds": 1.99, + "summary": "Audit3329 focused candidate run: 1 suite / 1 deterministic unit case passed for parked-pane reconnect materialization. currentCommand names the same gate selector; executed command adds background launch and two-worker flags. This is local fake-runtime/store evidence only, not the complete gate, authenticated SSH/PTY/network, rendered Electron, provider, sleep/wake, mobile, mixed-version or cross-platform validation. Re-executed after updating onto main 985176b11bbb92175043a8d302581412d703e81c; unchanged finite reviewed source and owner identities." } ], "runtimeBudget": { @@ -9844,6 +9480,9 @@ "Include reconnect/polling artifacts that identify provider, connection id, and lease state." ], "knownGaps": [ + "NEXT65 current scope qualification: The NEXT65 knownGaps entries below govern the changed selectors and qualify any broader coverage implication in this gate’s unchanged oracle/coverageNotes narratives. Those narratives and preserved dated evidenceRuns retain their historical text and original exact execution scopes only; no fresh execution, transferred pass or equivalent replacement coverage is claimed. Upstream case removals remain upstream; original NEXT65 proposal descriptions grant no duplicate retirement credit.", + "NEXT65 active selector scope reduction (including directory-selected whole-file retirements): src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts. Remove complete registrations or registrar files within the selected scope for src/renderer/src/components/terminal-pane/pty-connection/spawn/pty-connection-split-spawn.spec.ts. Intentionally lose these named regression alarms without replacement: clears the mobile-fit pane binding when the pane connection is disposed — Pane dispose clearing the mobile-fit binding and PTY dataset loses this direct example.; continues post-spawn size reconcile after a transient mobile presence lock — Size reconciliation continuing after a transient phone-presence lock loses this direct example.; spawns the delayed primary pane of an issue-command split when its sibling owns the tab PTY fallback — Delayed primary split spawning independently after a sibling acquires tab fallback loses this direct example.; does not reuse a sibling split pane pending spawn after remount — Remounted primary adopting its own pending PTY rather than the sibling spawn loses this direct example.; replays a stable-pane adoption without submitting the resume command — Stable-pane adoption replay preserving replay-before-live ordering and suppressing resume command loses this direct example.; forwards focus and hover reports without claiming a parked mirror (#26469) — Passive focus/hover forwarding without stealing mirror ownership, then intended Ctrl+C/click claiming, loses this direct example.. Surviving parent statements and sibling registrations are preserved, but these reduced parent selectors have no fresh execution or transferred historical pass. Unrelated complete dated receipts retain only their original exact scopes; no equivalent replacement, rendered UI, provider, mobile, or cross-platform coverage is claimed.", + "NEXT65 historical original active parent-selector fields (verbatim native JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal/background-terminal-worktree-mount.test.ts src/renderer/src/components/terminal-pane/mounting/queued-pane-startup.test.ts src/renderer/src/components/terminal-pane/parking/one-shot-park-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-surface-replacement.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts src/renderer/src/store/terminals/terminal-pty-identity-replacement.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-detach-attach-handoff.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-surface-replacement.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-expired-pane-recovery.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-outcome-recovery.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/recovery/remote-runtime-pty-recovery-state.test.ts src/shared/remote-runtime/remote-runtime-socket-liveness.test.ts src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts src/shared/remote-runtime/control/remote-runtime-shared-control-socket-generation.test.ts src/shared/remote-runtime/remote-runtime-client-error-classification.test.ts src/main/runtime/rpc/remote-runtime-server-heartbeat.test.ts src/main/runtime/terminal/launch/orca-runtime-terminal-create-idempotency.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/ui/workspace-navigation-history-hydration.test.ts src/renderer/src/store/repos/repos-ssh-host-reconciliation.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/ssh/ssh.test.ts src/main/ipc/worktrees-ssh-repo-owner-resolution.test.ts src/main/ssh/connection/ssh-connection-manager.test.ts src/main/ssh/connection/ssh-connection.test.ts src/preload/ssh-authority-forwarding.test.ts src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts src/renderer/src/runtime/hosts/ssh/runtime-environment-ssh-state.test.ts src/shared/ssh-retained-payload-admission.test.ts --reporter=dot\",\n \"pnpm exec electron-vite build --mode e2e\",\n \"pnpm run build:web-from-renderer\",\n \"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-materialization-reconnect.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\"\n ]\ntestFiles: [\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts\",\n \"src/renderer/src/components/terminal/background-terminal-worktree-mount.test.ts\",\n \"src/renderer/src/components/terminal-pane/mounting/queued-pane-startup.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/one-shot-park-replay.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-detach-attach-handoff.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-surface-replacement.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-expired-pane-recovery.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-outcome-recovery.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/recovery/remote-runtime-pty-recovery-state.test.ts\",\n \"src/renderer/src/store/terminals/terminal-pty-identity-replacement.test.ts\",\n \"src/shared/remote-runtime/remote-runtime-socket-liveness.test.ts\",\n \"src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts\",\n \"src/shared/remote-runtime/control/remote-runtime-shared-control-socket-generation.test.ts\",\n \"src/shared/remote-runtime/remote-runtime-client-error-classification.test.ts\",\n \"src/main/runtime/rpc/remote-runtime-server-heartbeat.test.ts\",\n \"src/main/runtime/terminal/launch/orca-runtime-terminal-create-idempotency.test.ts\",\n \"tests/e2e/paired-remote-terminal-materialization-reconnect.spec.ts\",\n \"src/renderer/src/store/slices/ui/workspace-navigation-history-hydration.test.ts\",\n \"src/renderer/src/store/repos/repos-ssh-host-reconciliation.test.ts\",\n \"src/main/ipc/ssh/ssh.test.ts\",\n \"src/main/ipc/worktrees-ssh-repo-owner-resolution.test.ts\",\n \"src/main/ssh/connection/ssh-connection-manager.test.ts\",\n \"src/main/ssh/connection/ssh-connection.test.ts\",\n \"src/preload/ssh-authority-forwarding.test.ts\",\n \"src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts\",\n \"src/renderer/src/runtime/hosts/ssh/runtime-environment-ssh-state.test.ts\",\n \"src/shared/ssh-retained-payload-admission.test.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts\",\n \"assertions\": [\n \"a pane parked while the client slept is authoritatively activated and rematerialized without leaving any pane handle null\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-surface-replacement.test.ts\",\n \"assertions\": [\n \"a stale web-mirror handle polls until a different ready handle is published without resubscribing the stale handle\",\n \"replacement does not emit pane exit or disconnect callbacks and explicit terminal exit still retires the mirror\",\n \"replacement polling and each in-flight request share a 15-second deadline, then accepted snapshots own recovery without input re-arming polling\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts\",\n \"assertions\": [\n \"recovery exposes connecting, recovering, backoff, connected, and fatal-offline phases with fenced epochs\",\n \"ten partition cycles retain one PTY identity, reject detached input, and unsubscribe each epoch exactly once\",\n \"automatic retries stop after one minute with no fatal error, no further requests, and no stale input\",\n \"manual reconnect starts a new epoch, resubscribes the same PTY exactly once, and becomes healthy only after its snapshot\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-outcome-recovery.test.ts\",\n \"assertions\": [\n \"unknown terminal-create recovery stops all request activity after one minute without a fatal error, clips post-probe RPC timeouts to the remaining budget, then manual retry re-probes capability and reconciles the same mutation\",\n \"an authoritative capability-probe failure replaces the stale connectivity error\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts\",\n \"assertions\": [\n \"a stale create completion cannot replace or close a newer attachment, including when two runtimes use the same raw handle\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/recovery/remote-runtime-pty-recovery-state.test.ts\",\n \"assertions\": [\n \"the automatic-recovery deadline cancels pending backoff and a manual retry owns a new epoch\"\n ]\n },\n {\n \"file\": \"src/shared/remote-runtime/remote-runtime-socket-liveness.test.ts\",\n \"assertions\": [\n \"a suspended client receives a fresh probe deadline after resume and post-resume activity clears it\"\n ]\n },\n {\n \"file\": \"src/main/runtime/terminal/launch/orca-runtime-terminal-create-idempotency.test.ts\",\n \"assertions\": [\n \"one authenticated client/worktree mutation derives a stable server-owned terminal handle\",\n \"an unknown-outcome retry adopts the same provider PTY after runtime-process restart without rerunning startup\",\n \"retry inventory failure, missing same-worktree identity metadata, or ownership mismatch fails closed without spawning\",\n \"in-flight mutation coordination is bounded and releases capacity after settlement\"\n ]\n },\n {\n \"file\": \"src/main/ssh/connection/ssh-connection-manager.test.ts\",\n \"assertions\": [\n \"disconnect invalidates a pending transport attempt immediately so late rejection or resolution cannot remove the replacement\"\n ]\n },\n {\n \"file\": \"src/main/ssh/connection/ssh-connection.test.ts\",\n \"assertions\": [\n \"late ssh2 ready and startup error events after disconnect cannot resurrect or overwrite disconnected state\"\n ]\n },\n {\n \"file\": \"src/preload/ssh-authority-forwarding.test.ts\",\n \"assertions\": [\n \"full authority crosses Electron IPC without loss\",\n \"partial authority becomes unknown for bounded reconciliation and malformed full authority is dropped\",\n \"variable-form host-qualified worktree requests retain fail-closed outcomes in their return type\"\n ]\n },\n {\n \"file\": \"src/shared/ssh-retained-payload-admission.test.ts\",\n \"assertions\": [\n \"retained connection states reject partial or malformed authority\",\n \"only partial compatibility authority can normalize to unknown for bounded direct-SSH reconciliation\",\n \"shared direct SSH authority admission requires bounded identifiers and a non-negative safe generation\"\n ]\n },\n {\n \"file\": \"src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts\",\n \"assertions\": [\n \"partial runtime authority is rejected through the captured subscription callback before environment state receives it\"\n ]\n },\n {\n \"file\": \"src/renderer/src/runtime/hosts/ssh/runtime-environment-ssh-state.test.ts\",\n \"assertions\": [\n \"held replies from an old generation cannot replace a newer generation; failed full refresh preserves live state behind queued metadata\",\n \"an unknown target triggers an authoritative list reread\"\n ]\n },\n {\n \"file\": \"src/renderer/src/store/repos/repos-ssh-host-reconciliation.test.ts\",\n \"assertions\": [\n \"a provider result becomes stale when same-ID repo ownership turns malformed or contradictory during the await\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts\",\n \"assertions\": [\n \"a StrictMode remount joins the pending spawn instead of starting a second one\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-detach-attach-handoff.test.ts\",\n \"assertions\": [\n \"abandoning an obsolete reattach drops its data, replay, write-unavailable, and exit handlers without killing the durable PTY\"\n ]\n }\n ]", "Audit3077 reduces the IPC handoff suite while retaining the obsolete-reattach detach observer case and its alias. Removed nominal no-kill and gauge-cleanup alarms have no equivalent replacement.", "Audit3077 retires this complete dated receipt because its selected source was reduced. It does not validate the reduced selector. Original receipt verbatim:\n{\n \"date\": \"2026-07-28\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport-reattach-admission.test.ts src/renderer/src/components/terminal-pane/pty-transport-detach-attach-handoff.test.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 1.48,\n \"summary\": \"All 90 transport tests passed, including pre-publication admission rejection, handler-complete non-destructive detach for obsolete SSH reattach transports, settled retirement of rejected or destroyed fresh fallbacks, and reported shutdown refusal.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-reattach-admission.test.ts src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-detach-attach-handoff.test.ts\"\n }", "Audit3069 retires nominal spawn/resume/banner wiring, first-fit and lookup-budget variants, private pending-map checks, the split-CWD disposal suite and startup command/draft baseline variants. Distinct regression alarms are intentionally lost without equivalent replacement; retained ownership, cancellation and recovery cases remain. Existing selectors and dated evidence retain their original scope.", @@ -9896,7 +9535,31 @@ "Audit2195 removes the low-value startup admission boolean and host deferral predicate inventories from background-terminal-worktree-mount.test.ts. The reduced source retains concrete targeted mount, prune and reveal ownership transitions, not those oracle assertions. Existing selectors remain unexecuted here; no equivalent replacement or new runtime/provider/platform/budget result is claimed. Original retired assertion object verbatim:\n{\n \"file\": \"src/renderer/src/components/terminal/background-terminal-worktree-mount.test.ts\",\n \"assertions\": [\n \"startup waits for hydration before mounting terminal panes while degraded mode remains interactive\",\n \"only an explicit local execution host can defer cold activation\",\n \"SSH, remote-runtime, and unresolved owners remain eager\"\n ]\n }", "Audit2709 removes src/renderer/src/runtime/web-session-tabs-sync/inventory/remote-runtime-session-tabs-inflight.test.ts: intentionally retire waiting out an older inventory and sharing a fresh post-operation request among concurrent callers. No equivalent replacement or fresh execution is claimed. Dated receipts remain historical evidence for their unchanged selectors only; they do not validate the reduced commands or full current gate. Original prospective command before removal: pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/lib/resolved-worktree-execution-host.test.ts src/renderer/src/components/terminal/background-terminal-worktree-mount.test.ts src/renderer/src/components/terminal-pane/mounting/queued-pane-startup.test.ts src/renderer/src/components/terminal-pane/parking/one-shot-park-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-surface-replacement.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts src/renderer/src/runtime/web-session-tabs-sync/inventory/remote-runtime-session-tabs-inflight.test.ts src/renderer/src/store/terminals/terminal-pty-identity-replacement.test.ts", "Audit3086: retire the destroyed fresh-session fallback settlement/non-destructive reattach alias and its direct selector; retain the detach/attach selector and assertion unchanged. The retained admission cases cover adopt-before-data and explicitly buffered-death admission without a new spawn, without replacing fallback retirement. July 28 evidence was already archived by audit3077; no duplicate retirement or new execution is claimed.", - "Audit3096: remove the deleted reconnect-banner selector and its two UI aliases. The reduced recovery-state selector retains only the deadline cancelling pending backoff and explicit retry owning a new epoch alias; healthy-replacement stale-schedule and independent caller-cutoff cancellation aliases retire. Other retained state cases cover reentrant retry, owner settlement and same-epoch parked revival, without replacing those removed alarms. Prior admission-selector retirement, archived July 28 receipt, unrelated selectors/claims/receipts and old gaps remain unchanged; no fresh execution is claimed." + "Audit3096: remove the deleted reconnect-banner selector and its two UI aliases. The reduced recovery-state selector retains only the deadline cancelling pending backoff and explicit retry owning a new epoch alias; healthy-replacement stale-schedule and independent caller-cutoff cancellation aliases retire. Other retained state cases cover reentrant retry, owner settlement and same-epoch parked revival, without replacing those removed alarms. Prior admission-selector retirement, archived July 28 receipt, unrelated selectors/claims/receipts and old gaps remain unchanged; no fresh execution is claimed.", + "Module-layout wave1 intentionally retires complete prohibited owning registrations in src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-attach-subscription.test.ts. Lost alarms: attaches to an existing remote runtime terminal handle; reports a rejected multiplex write through the pane recovery callback; does not report a rejected write from a superseded multiplex stream; does not report attachment health until the authoritative PTY snapshot arrives; drops its side-effect gauge from the census on %s; recovers when the first restored-terminal subscription attempt is offline; recovers when the runtime closes before a restored subscription becomes ready; surfaces a fatal error during subscription setup exactly once; reports viewer disconnect as an unverifiable remote exit; clears every retained transport error when the current stream becomes healthy. No equivalent replacement coverage or pass for a reduced selector is claimed. All unrelated selectors and historical receipts retain their original scope.", + "Module-layout wave2 intentionally retires complete prohibited owning registrations in src/renderer/src/lib/resolved-worktree-execution-host.test.ts. Lost alarms: Both explicit and legacy workspace owners resolve to env-a initially. Replacing the repo catalog refreshes legacy ownership to env-b. A conflicting local repo row makes ownership ambiguous and returns null. Repeated unrelated updates perform zero id reads, an internal work-budget alarm removed. No equivalent replacement coverage or reduced-selector pass is claimed.", + "Audit 3312 retires the ordinary six-pane distinct-live-handle reconnect/resubscription alarm from paired-reconnect-multi-pane-materialization.test.ts. The unchanged parked-pane activation/rematerialization case remains narrower and is not an equivalent replacement. The complete prior seven-contract macOS receipt is archived as historical evidence; it does not validate the reduced selector. No fresh socket, PTY, sleep/wake, provider, platform, mobile, mixed-version or rendered execution is claimed.", + "Audit 3312 retires this complete dated seven-contract receipt because paired-reconnect-multi-pane-materialization.test.ts was reduced. Original command, currentCommand, result, counts, date and duration remain historical and do not validate the reduced selector. Original receipt verbatim:\n{\n \"date\": \"2026-08-23\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/paired-reconnect-multi-pane-materialization.test.ts src/renderer/src/runtime/paired-reconnect-sidebar-agent-count.test.ts --reporter=dot\",\n \"result\": \"passed\",\n \"durationSeconds\": 2.54,\n \"summary\": \"Seven deterministic STA-3107 contracts passed across six-pane multiplex rematerialization and client-owned sidebar-row retention after sleep/wake.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts src/renderer/src/runtime/web-session-tabs-sync/agent-status/paired-reconnect-sidebar-agent-count.test.ts --reporter=dot\"\n }", + "Audit3315 execution amendment: the reduced two-suite reconnect selector passed on Linux (2 cases). Original source-review statements about no fresh execution describe the earlier static review; this new receipt validates only these two local deterministic unit cases, not the complete gate or physical/runtime/rendered/provider/platform parity. Historical seven-case macOS receipt remains archived verbatim.", + "Audit 3318 reduces runtime-environment-ssh-state.test.ts, intentionally losing metadata membership-pruning/new-target-only-read and other-environment/local-bucket isolation alarms. Preserve generation/failed-full-refresh assertion and unknown-target authoritative-list reread; these narrower cases are not equivalent replacements. The unchanged active two-case Linux reconnect materialization/sidebar receipt and covered platform retain their exact scope and do not validate the reduced SSH state selector. Preserve unrelated SSH assertions, selectors and archived history. No fresh SSH discovery, provider/PTY/network, rendered, mobile, mixed-version, cross-platform or full-gate execution is claimed.", + "Audit3326 adopts reconciled source audit3324 and intentionally retires these low-value examples and their regression alarms: keeps a sidebar row for every still-live pane after a long sleep — Whole suite: 279 lines manually replay renderer ownership registry/status writes, snapshot patch/set, six-pane fixture inventory, and sidebar selectors/builders; expected pane IDs are production-computed. Does not run sleep/wake/transport or actual sidebar entry. Retires reconnect row-preservation assembly alarm.; still retires the regular TUI surface after an explicit terminal exit — Ordinary explicit-exit callback/map cleanup is repeated in the stale/new stream lifecycle case below. Retires separate regular-TUI baseline; keeper is not equivalent process/UI proof.; asks the HUB to recover an expired SSH pane and rebinds the host identity — Expired SSH owner error must ask the owning HUB to recover, then adopt fixed replacement handle, resubscribe and report rebind; actual transport dispatch and handle state prevent wrong-client recovery.; does not recover a pane whose relay reply was an identity mismatch — Identity mismatch means a different live PTY, so actual transport must surface refusal without recover/create, keeping original identity. Prevents destructive duplicate agent recovery.; fails closed when an older HUB cannot recover an expired SSH pane — Old HUB method_not_found is scripted mock refusal/error echo with no actual skewed host; repeats generic recovery failure propagation. Retires old-host recovery fallback refusal example.; names a held recovery's stopped WSL distro in readable copy, not the raw hold code — Pins exact WSL stopped-distro error prose after mock code; translation/copy assertion with no actual held recovery behavior. Retires readable-copy alarm.. Retained tests do not replace these alarms. Dated unrelated evidence remains scoped to its original execution; no historical source/import-closure equivalence, fresh execution, real network/provider/SSH, rendered UI, mobile, mixed-version or cross-platform validation is claimed.", + "Audit3326 retires this complete historical compound Linux unit receipt from active evidence because its paired-sidebar selector was removed. A fresh surviving-selector execution is required before restoring current evidence/platform credit. Original receipt verbatim:\n{\n \"date\": \"2026-11-11\",\n \"runner\": \"local\",\n \"platform\": \"linux\",\n \"command\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts src/renderer/src/runtime/web-session-tabs-sync/agent-status/paired-reconnect-sidebar-agent-count.test.ts --reporter=dot --maxWorkers=2\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts src/renderer/src/runtime/web-session-tabs-sync/agent-status/paired-reconnect-sidebar-agent-count.test.ts --reporter=dot\",\n \"result\": \"passed\",\n \"durationSeconds\": 5.65,\n \"summary\": \"Audit3315 focused candidate run: 2 suites / 2 deterministic unit cases passed for parked-pane reconnect materialization and client-owned sidebar retention. currentCommand names the same gate selector; executed command adds background launch and two-worker flags. This is local fake-runtime/store evidence only, not the complete gate, authenticated SSH/PTY/network, rendered Electron, provider, sleep/wake, mobile, mixed-version or cross-platform validation. Re-executed after rebasing onto main 1af64194a46d338777058c06954c2c8ee4a437be (candidate source commit 63adee8174d388466f9276a893972255cee06588).\"\n }", + "Audit3329 execution amendment: the reduced one-suite reconnect selector passed on Linux (1 case). Original source-review statements about no fresh execution describe the earlier static review; this new receipt validates only this one local deterministic unit case, not the complete gate or physical/runtime/rendered/provider/platform parity. Historical seven-case macOS and two-case Linux receipts remain archived verbatim.", + "Audit3342 retires the complete client create-outcome identity/options/recovery suite and the malformed-or-contradictory repo-owner response matrix. Client replay identity, options, no-downgrade, quiescence/budget/manual retry, authoritative probe-error and malformed-owner refusal alarms are intentionally lost without equivalent replacement. Remaining repo-owner late catalog and old-host re-adoption boundaries do not replace them. The unrelated Linux paired-reconnect receipt stays verbatim with its original scope. Surviving selectors are unexecuted here; no fresh SSH/provider/process-deduplication, mobile, mixed-version or cross-platform validation is claimed.", + "Audit3342 historical original commands object, preserved verbatim; retired objects are not active evidence or replacement coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-surface-replacement.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-expired-pane-recovery.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-outcome-recovery.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/recovery/remote-runtime-pty-recovery-state.test.ts src/shared/remote-runtime/remote-runtime-socket-liveness.test.ts src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts src/shared/remote-runtime/control/remote-runtime-shared-control-socket-generation.test.ts src/shared/remote-runtime/remote-runtime-client-error-classification.test.ts src/main/runtime/rpc/remote-runtime-server-heartbeat.test.ts src/main/runtime/terminal/launch/orca-runtime-terminal-create-idempotency.test.ts\"", + "Audit3342 historical original testFiles object, preserved verbatim; retired objects are not active evidence or replacement coverage:\n\"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-outcome-recovery.test.ts\"", + "Audit3342 historical original assertionRefs object, preserved verbatim; retired objects are not active evidence or replacement coverage:\n{\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-outcome-recovery.test.ts\",\n \"assertions\": [\n \"unknown terminal-create recovery stops all request activity after one minute without a fatal error, clips post-probe RPC timeouts to the remaining budget, then manual retry re-probes capability and reconciles the same mutation\",\n \"an authoritative capability-probe failure replaces the stale connectivity error\"\n ]\n }", + "Audit3342 historical original assertionRefs object, preserved verbatim; retired objects are not active evidence or replacement coverage:\n{\n \"file\": \"src/renderer/src/store/repos/repos-ssh-host-reconciliation.test.ts\",\n \"assertions\": [\n \"a provider result becomes stale when same-ID repo ownership turns malformed or contradictory during the await\"\n ]\n }", + "Audit3359 retires whole host-surface-replacement and create-handoff suites, removing their compound unit command tokens, test-file entries and assertion references. Fake polling/deadline/subscription, supplied stale-handle ownership, close and replacement examples are intentionally lost without equivalent replacement. The unrelated Linux paired multi-pane reconnect receipt stays verbatim with its original scope. No fresh SSH/provider/network/PTY recovery, historical-import, mobile, mixed-version or cross-platform validation is claimed.", + "Audit3359 historical original commands object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal/background-terminal-worktree-mount.test.ts src/renderer/src/components/terminal-pane/mounting/queued-pane-startup.test.ts src/renderer/src/components/terminal-pane/parking/one-shot-park-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-surface-replacement.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts src/renderer/src/store/terminals/terminal-pty-identity-replacement.test.ts\"", + "Audit3359 historical original commands object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-surface-replacement.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-expired-pane-recovery.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/recovery/remote-runtime-pty-recovery-state.test.ts src/shared/remote-runtime/remote-runtime-socket-liveness.test.ts src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts src/shared/remote-runtime/control/remote-runtime-shared-control-socket-generation.test.ts src/shared/remote-runtime/remote-runtime-client-error-classification.test.ts src/main/runtime/rpc/remote-runtime-server-heartbeat.test.ts src/main/runtime/terminal/launch/orca-runtime-terminal-create-idempotency.test.ts\"", + "Audit3359 historical original testFiles object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-surface-replacement.test.ts\"", + "Audit3359 historical original testFiles object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n\"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts\"", + "Audit3359 historical original assertionRefs object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n{\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-surface-replacement.test.ts\",\n \"assertions\": [\n \"a stale web-mirror handle polls until a different ready handle is published without resubscribing the stale handle\",\n \"replacement does not emit pane exit or disconnect callbacks and explicit terminal exit still retires the mirror\",\n \"replacement polling and each in-flight request share a 15-second deadline, then accepted snapshots own recovery without input re-arming polling\"\n ]\n }", + "Audit3359 historical original assertionRefs object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n{\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts\",\n \"assertions\": [\n \"a stale create completion cannot replace or close a newer attachment, including when two runtimes use the same raw handle\"\n ]\n }", + "Audit3368 narrows stream-reconnect coverage to the actual ten synthetic transport epochs retaining one PTY identity, accepting and holding detached input for exactly-once later delivery, current decoded output and per-epoch subscription release. Prior rejection wording was inaccurate. Phase/backoff/cutoff/manual reconnect and parser/OSC/pause/retained-image/fatal/latch/claim/early-close alarms are intentionally lost without equivalent replacement. The Linux multi-pane reconnect receipt remains verbatim with its original scope; no fresh live SSH/provider/PTY/UI/mobile/mixed-version/cross-platform evidence is claimed.", + "Audit3368 historical original assertionRefs object, preserved verbatim; retired claims are not active evidence or replacement coverage:\n{\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts\",\n \"assertions\": [\n \"recovery exposes connecting, recovering, backoff, connected, and fatal-offline phases with fenced epochs\",\n \"ten partition cycles retain one PTY identity, reject detached input, and unsubscribe each epoch exactly once\",\n \"automatic retries stop after one minute with no fatal error, no further requests, and no stale input\",\n \"manual reconnect starts a new epoch, resubscribes the same PTY exactly once, and becomes healthy only after its snapshot\"\n ]\n }", + "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed.\nOriginal active selector fields (historical raw native JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal/background-terminal-worktree-mount.test.ts src/renderer/src/components/terminal-pane/mounting/queued-pane-startup.test.ts src/renderer/src/components/terminal-pane/parking/one-shot-park-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts src/renderer/src/store/terminals/terminal-pty-identity-replacement.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-detach-attach-handoff.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-expired-pane-recovery.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/recovery/remote-runtime-pty-recovery-state.test.ts src/shared/remote-runtime/remote-runtime-socket-liveness.test.ts src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts src/shared/remote-runtime/control/remote-runtime-shared-control-socket-generation.test.ts src/shared/remote-runtime/remote-runtime-client-error-classification.test.ts src/main/runtime/rpc/remote-runtime-server-heartbeat.test.ts src/main/runtime/terminal/launch/orca-runtime-terminal-create-idempotency.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/store/slices/ui/workspace-navigation-history-hydration.test.ts src/renderer/src/store/repos/repos-ssh-host-reconciliation.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/ssh/ssh.test.ts src/main/ipc/worktrees-ssh-repo-owner-resolution.test.ts src/main/ssh/connection/ssh-connection-manager.test.ts src/main/ssh/connection/ssh-connection.test.ts src/preload/ssh-authority-forwarding.test.ts src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts src/renderer/src/runtime/hosts/ssh/runtime-environment-ssh-state.test.ts src/shared/ssh-retained-payload-admission.test.ts --reporter=dot\",\n \"pnpm exec electron-vite build --mode e2e\",\n \"pnpm run build:web-from-renderer\",\n \"SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-remote-terminal-materialization-reconnect.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\"\n ]\ntestFiles: [\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts\",\n \"src/renderer/src/components/terminal/background-terminal-worktree-mount.test.ts\",\n \"src/renderer/src/components/terminal-pane/mounting/queued-pane-startup.test.ts\",\n \"src/renderer/src/components/terminal-pane/parking/one-shot-park-replay.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-detach-attach-handoff.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-expired-pane-recovery.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/recovery/remote-runtime-pty-recovery-state.test.ts\",\n \"src/renderer/src/store/terminals/terminal-pty-identity-replacement.test.ts\",\n \"src/shared/remote-runtime/remote-runtime-socket-liveness.test.ts\",\n \"src/shared/remote-runtime/control/remote-runtime-shared-control-connection.test.ts\",\n \"src/shared/remote-runtime/control/remote-runtime-shared-control-socket-generation.test.ts\",\n \"src/shared/remote-runtime/remote-runtime-client-error-classification.test.ts\",\n \"src/main/runtime/rpc/remote-runtime-server-heartbeat.test.ts\",\n \"src/main/runtime/terminal/launch/orca-runtime-terminal-create-idempotency.test.ts\",\n \"tests/e2e/paired-remote-terminal-materialization-reconnect.spec.ts\",\n \"src/renderer/src/store/slices/ui/workspace-navigation-history-hydration.test.ts\",\n \"src/renderer/src/store/repos/repos-ssh-host-reconciliation.test.ts\",\n \"src/main/ipc/ssh/ssh.test.ts\",\n \"src/main/ipc/worktrees-ssh-repo-owner-resolution.test.ts\",\n \"src/main/ssh/connection/ssh-connection-manager.test.ts\",\n \"src/main/ssh/connection/ssh-connection.test.ts\",\n \"src/preload/ssh-authority-forwarding.test.ts\",\n \"src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts\",\n \"src/renderer/src/runtime/hosts/ssh/runtime-environment-ssh-state.test.ts\",\n \"src/shared/ssh-retained-payload-admission.test.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/paired-reconnect-multi-pane-materialization.test.ts\",\n \"assertions\": [\n \"a pane parked while the client slept is authoritatively activated and rematerialized without leaving any pane handle null\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts\",\n \"assertions\": [\n \"ten synthetic partition cycles retain one PTY identity, deliver each held detached input exactly once and release each epoch subscription exactly once; decoded live input/output remains current\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/recovery/remote-runtime-pty-recovery-state.test.ts\",\n \"assertions\": [\n \"the automatic-recovery deadline cancels pending backoff and a manual retry owns a new epoch\"\n ]\n },\n {\n \"file\": \"src/shared/remote-runtime/remote-runtime-socket-liveness.test.ts\",\n \"assertions\": [\n \"a suspended client receives a fresh probe deadline after resume and post-resume activity clears it\"\n ]\n },\n {\n \"file\": \"src/main/runtime/terminal/launch/orca-runtime-terminal-create-idempotency.test.ts\",\n \"assertions\": [\n \"one authenticated client/worktree mutation derives a stable server-owned terminal handle\",\n \"an unknown-outcome retry adopts the same provider PTY after runtime-process restart without rerunning startup\",\n \"retry inventory failure, missing same-worktree identity metadata, or ownership mismatch fails closed without spawning\",\n \"in-flight mutation coordination is bounded and releases capacity after settlement\"\n ]\n },\n {\n \"file\": \"src/main/ssh/connection/ssh-connection-manager.test.ts\",\n \"assertions\": [\n \"disconnect invalidates a pending transport attempt immediately so late rejection or resolution cannot remove the replacement\"\n ]\n },\n {\n \"file\": \"src/main/ssh/connection/ssh-connection.test.ts\",\n \"assertions\": [\n \"late ssh2 ready and startup error events after disconnect cannot resurrect or overwrite disconnected state\"\n ]\n },\n {\n \"file\": \"src/preload/ssh-authority-forwarding.test.ts\",\n \"assertions\": [\n \"full authority crosses Electron IPC without loss\",\n \"partial authority becomes unknown for bounded reconciliation and malformed full authority is dropped\",\n \"variable-form host-qualified worktree requests retain fail-closed outcomes in their return type\"\n ]\n },\n {\n \"file\": \"src/shared/ssh-retained-payload-admission.test.ts\",\n \"assertions\": [\n \"retained connection states reject partial or malformed authority\",\n \"only partial compatibility authority can normalize to unknown for bounded direct-SSH reconciliation\",\n \"shared direct SSH authority admission requires bounded identifiers and a non-negative safe generation\"\n ]\n },\n {\n \"file\": \"src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts\",\n \"assertions\": [\n \"partial runtime authority is rejected through the captured subscription callback before environment state receives it\"\n ]\n },\n {\n \"file\": \"src/renderer/src/runtime/hosts/ssh/runtime-environment-ssh-state.test.ts\",\n \"assertions\": [\n \"held replies from an old generation cannot replace a newer generation; failed full refresh preserves live state behind queued metadata\",\n \"an unknown target triggers an authoritative list reread\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts\",\n \"assertions\": [\n \"a StrictMode remount joins the pending spawn instead of starting a second one\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-detach-attach-handoff.test.ts\",\n \"assertions\": [\n \"abandoning an obsolete reattach drops its data, replay, write-unavailable, and exit handlers without killing the durable PTY\"\n ]\n }\n ]" ], "demotionRule": "Cannot promote if provider failure can close panes or if the oracle is screenshot-only." }, @@ -10098,7 +9761,7 @@ "providers": ["local", "daemon", "ssh", "remote-runtime"], "coveredPlatforms": ["macos", "linux"], "coveredProviders": [], - "coverageNotes": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit1709 removes low-value test definitions and retires affected assertion or execution-receipt claims without equivalent replacement coverage. Per-source reviews bound retained behavior and injected/native/remote limits. Unchanged assertions and receipts keep their original scope; gates lacking current active evidence are downgraded. Historical scope before this audit: Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1623 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1619 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally reduces src/renderer/src/components/terminal-pane/terminal-ime-candidate-key-release-guard.test.ts: Loses direct timestamp-formula assertion; no useful independent alarm in removed registration. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1361 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1320 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1301 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): This audit removes the browser native-keyboard fallback inventory case. Its empty-chord, absent-layout and no-op-subscription alarms are lost; retained native input evidence is not an equivalent replacement. Historical commands and results remain historical. Local macOS and containerized Linux evidence, deterministic renderer-unit coverage for the Linux/Sogou candidate-key policy including the legacy orphaned-keyup fallback, xterm preedit visibility and row-occlusion behavior, Electron/CDP preedit geometry, Electron/CDP live-PTY Sogou-style repros, and macOS renderer/main slices for Preview kitty commits and layout-native Option input. The Option slice covers complete CSI-u flag fields including lock state, repeat/release event types, authoritative committed associated text, native dead-key release suppression, functional-versus-printable numpad codes, press-pinned release identity, live keyup modifiers, pending-layout text fallback, atomic layout refresh, rapid in-focus input-source changes, stable native layout characters, and both native/web preload fallbacks. The standalone remote SnapshotStart metadata suite is removed. Its proven-zero, nonzero, absent-field and malformed-value propagation alarms are intentionally lost; retained daemon and preview consumer contracts do not establish equivalent remote projection coverage. Historical commands and results remain historical. Real Linux/Sogou OS IME automation, native Windows candidate-window placement, Windows ConPTY post-agent reset, and the CJK/Vietnamese/Arabic matrix remain registered gaps. The audit removes isolated candidate-anchor width, last-column, timer-ordering and detached-textarea examples. The retained deterministic fixtures do not observe a native candidate window or establish equivalent geometry coverage; separate Electron geometry evidence remains historical. The test-value audit removes the empty end-of-row/no-tail composition baseline from terminal-korean-midline-preedit-occlusion.spec.ts. The placeholder masking and measured row-tail occlusion registrations remain; they are not equivalent replacement coverage for the removed empty-tail alarm. No new execution or native IME evidence is claimed. Audit1301: src/renderer/src/components/terminal-pane/terminal-shortcut-option-compose.test.ts reduced. Dead-key/IME variants, Unicode/language inventories, numpad/CapsLock cases and other protocol samples lose their individual alarms. No equivalent replacement coverage is claimed. Audit1320: src/renderer/src/lib/keyboard-layout/layout-base-character.test.ts reduced. Last-complete snapshot while layout-map/native-snapshot partial refresh settles loses its individual implementation-cache alarm. No equivalent replacement coverage is claimed. Audit1342: src/renderer/src/components/terminal-pane/terminal-ime-macos-keybinding-dict-trace.test.ts reduced. Second Korean-layout replay, ordinary Korean/ASCII no-remap baselines and weak Option nonempty-byte alarm are dropped. No equivalent replacement coverage is claimed. Audit1361: src/renderer/src/components/dashboard-popout/preview-terminal-snapshot-replay.test.ts removed. Snapshot/live-proven kitty flags, replacement choice and replay idempotence in the assembled mirror. No equivalent replacement coverage is claimed. Audit1365: focused Linux unit selection passed on source head 8880357cb420c45f1b808ae545a5bc609324624d. This new result has its own exact command; historical results keep their prior scope. Intentional test losses remain recorded in knownGaps. No physical-provider, native input, rendered E2E, p95, soak or replacement-coverage claim. Audit1391: src/renderer/src/lib/pane-manager/terminal-ime-candidate-anchor.test.ts reduced. Lose explicit one-read/unchanged-style work budget across 30 syllables and single-timer burst alarm. Synthetic screen bounds/terminal cursor bound retained proof to DOM anchor updates, not actual OS IME placement. src/renderer/src/components/terminal-pane/terminal-kitty-csi-u-encoding.test.ts reduced. Lose explicit PC-101 alternate omission, multi-codepoint/control associated text filtering, lock modifier integer, shifted punctuation, standalone separator and printable nonfunctional keypad fallbacks. Retained pure encoding is a wire-contract check without host input delivery. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1396: src/renderer/src/components/terminal-pane/xterm-bypass-policy.test.ts reduced. Lose standalone handled Ctrl, Shift+Space, shifted non-ASCII keydown and active-composition backspace/arrow/text/Process suppression alarms. No actual IME/PTY encoding occurs. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1402: src/renderer/src/lib/keyboard-layout/option-as-alt-probe.test.ts removed. Intentionally loses invalidation, focus/manual refresh gating and stale/newest generation settlement outcomes, including direct stale category suppression. No equivalent replacement or default preload input-source delivery claim. src/renderer/src/components/terminal-pane/terminal-ime-substituted-text-commit.test.ts removed. Intentionally loses substituted sentence punctuation, shifted/backslash/multi-unit/full-width/letter input and Kitty flag/release/report encoding alarms across14 authored registrations. No equivalent replacement or real pane/browser input delivery claim. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", + "coverageNotes": "Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. The complete mocked AgentTerminalPreview component suite is removed, including the snapshot-proven kitty mirror forwarding alarm. Remove its active file, command token and assertion reference; the other IME drivers are unchanged and do not replace the removed component checks. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit1709 removes low-value test definitions and retires affected assertion or execution-receipt claims without equivalent replacement coverage. Per-source reviews bound retained behavior and injected/native/remote limits. Unchanged assertions and receipts keep their original scope; gates lacking current active evidence are downgraded. Historical scope before this audit: Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1623 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1619 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally reduces src/renderer/src/components/terminal-pane/terminal-ime-candidate-key-release-guard.test.ts: Loses direct timestamp-formula assertion; no useful independent alarm in removed registration. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1361 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1320 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Audit1301 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): This audit removes the browser native-keyboard fallback inventory case. Its empty-chord, absent-layout and no-op-subscription alarms are lost; retained native input evidence is not an equivalent replacement. Historical commands and results remain historical. Local macOS and containerized Linux evidence, deterministic renderer-unit coverage for the Linux/Sogou candidate-key policy including the legacy orphaned-keyup fallback, xterm preedit visibility and row-occlusion behavior, Electron/CDP preedit geometry, Electron/CDP live-PTY Sogou-style repros, and macOS renderer/main slices for Preview kitty commits and layout-native Option input. The Option slice covers complete CSI-u flag fields including lock state, repeat/release event types, authoritative committed associated text, native dead-key release suppression, functional-versus-printable numpad codes, press-pinned release identity, live keyup modifiers, pending-layout text fallback, atomic layout refresh, rapid in-focus input-source changes, stable native layout characters, and both native/web preload fallbacks. The standalone remote SnapshotStart metadata suite is removed. Its proven-zero, nonzero, absent-field and malformed-value propagation alarms are intentionally lost; retained daemon and preview consumer contracts do not establish equivalent remote projection coverage. Historical commands and results remain historical. Real Linux/Sogou OS IME automation, native Windows candidate-window placement, Windows ConPTY post-agent reset, and the CJK/Vietnamese/Arabic matrix remain registered gaps. The audit removes isolated candidate-anchor width, last-column, timer-ordering and detached-textarea examples. The retained deterministic fixtures do not observe a native candidate window or establish equivalent geometry coverage; separate Electron geometry evidence remains historical. The test-value audit removes the empty end-of-row/no-tail composition baseline from terminal-korean-midline-preedit-occlusion.spec.ts. The placeholder masking and measured row-tail occlusion registrations remain; they are not equivalent replacement coverage for the removed empty-tail alarm. No new execution or native IME evidence is claimed. Audit1301: src/renderer/src/components/terminal-pane/terminal-shortcut-option-compose.test.ts reduced. Dead-key/IME variants, Unicode/language inventories, numpad/CapsLock cases and other protocol samples lose their individual alarms. No equivalent replacement coverage is claimed. Audit1320: src/renderer/src/lib/keyboard-layout/layout-base-character.test.ts reduced. Last-complete snapshot while layout-map/native-snapshot partial refresh settles loses its individual implementation-cache alarm. No equivalent replacement coverage is claimed. Audit1342: src/renderer/src/components/terminal-pane/terminal-ime-macos-keybinding-dict-trace.test.ts reduced. Second Korean-layout replay, ordinary Korean/ASCII no-remap baselines and weak Option nonempty-byte alarm are dropped. No equivalent replacement coverage is claimed. Audit1361: src/renderer/src/components/dashboard-popout/preview-terminal-snapshot-replay.test.ts removed. Snapshot/live-proven kitty flags, replacement choice and replay idempotence in the assembled mirror. No equivalent replacement coverage is claimed. Audit1365: focused Linux unit selection passed on source head 8880357cb420c45f1b808ae545a5bc609324624d. This new result has its own exact command; historical results keep their prior scope. Intentional test losses remain recorded in knownGaps. No physical-provider, native input, rendered E2E, p95, soak or replacement-coverage claim. Audit1391: src/renderer/src/lib/pane-manager/terminal-ime-candidate-anchor.test.ts reduced. Lose explicit one-read/unchanged-style work budget across 30 syllables and single-timer burst alarm. Synthetic screen bounds/terminal cursor bound retained proof to DOM anchor updates, not actual OS IME placement. src/renderer/src/components/terminal-pane/terminal-kitty-csi-u-encoding.test.ts reduced. Lose explicit PC-101 alternate omission, multi-codepoint/control associated text filtering, lock modifier integer, shifted punctuation, standalone separator and printable nonfunctional keypad fallbacks. Retained pure encoding is a wire-contract check without host input delivery. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1396: src/renderer/src/components/terminal-pane/xterm-bypass-policy.test.ts reduced. Lose standalone handled Ctrl, Shift+Space, shifted non-ASCII keydown and active-composition backspace/arrow/text/Process suppression alarms. No actual IME/PTY encoding occurs. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1402: src/renderer/src/lib/keyboard-layout/option-as-alt-probe.test.ts removed. Intentionally loses invalidation, focus/manual refresh gating and stale/newest generation settlement outcomes, including direct stale category suppression. No equivalent replacement or default preload input-source delivery claim. src/renderer/src/components/terminal-pane/terminal-ime-substituted-text-commit.test.ts removed. Intentionally loses substituted sentence punctuation, shifted/backslash/multi-unit/full-width/letter input and Kitty flag/release/report encoding alarms across14 authored registrations. No equivalent replacement or real pane/browser input delivery claim. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", "motivatingLinks": [ "https://github.com/stablyai/orca/pull/6699", "https://github.com/stablyai/orca/pull/6682", @@ -10109,13 +9772,13 @@ "https://github.com/stablyai/orca/pull/17170" ], "invariant": "Composition, native text forwarding, synthetic input, paste, and platform keyboard bypass paths must not send preedit/control bytes before commit and must commit text exactly once to the intended PTY. A live preedit must stay visible across an IME-resumed transaction, preserve every committed row-tail cell hidden by its opaque overlay, mask only a structurally verified Codex or Claude placeholder and never a row carrying typed text, keep the themed insertion caret and native candidate anchor inside the terminal at the final column, and clean up without stale overlay children or ownership classes. Layout-native Option text must preserve negotiated CSI-u alternate/associated fields and lock modifiers, distinguish repeat from press, and resolve releases with the press's primary identity plus the actual keyup modifiers without exposing a partial or stale layout refresh. An in-focus macOS input-source change must invalidate both renderer authorities before the next key can use the old source. When the snapshot source proves kitty state, macOS Preview commits must use the application's effective flags after the sequenced snapshot and every proven replay/live transition, and a claimed press delivered under report_event_types must produce exactly one matching release regardless of whether keyup arrives before or after insertText and regardless of xterm's defensive internal reset.", - "oracle": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit1709 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Exact outbound bytes from the REAL native-text forwarder behind installPreviewImeBridge after initial snapshot restore, replacement resync, live transitions, and both keydown->insertText->keyup and keydown->keyup->insertText orderings; a wiring-only mock is supporting evidence, not the oracle. The current renderer-unit slice asserts native text commits route to the intended PTY once, composition/preedit bookkeeping does not leak premature text, resumed Windows event traces reactivate the visible preedit, an opaque mid-line overlay reproduces the committed row tail it covers, arbitrary DIM output remains visible, and final-column layout keeps both caret and textarea candidate anchor within the available screen width. The retained candidate-anchor slice checks layout-read caching, deferred timer coalescing, recognized-screen follow-ups and refit refresh with deterministic DOM fixtures. A Codex frame whose prompt row is bold and whose dimmed model footer sits below a blank gap acquires the mask class while composing; the same placeholder text without that footer, a framed-versus-unframed Claude prompt, a row of arbitrary dimmed output, and a row carrying typed text do not. The class is gone after composition end, after a blur that is not followed by a session end, and after disposal. Rendered Electron/CDP geometry independently proves the overlay reproduces every committed cell it hides, that a real Codex placeholder at column 2 is masked rather than repeated, and that the final-column caret, preedit, and textarea right edges all land inside the screen. Input-source classification handles synthetic/native paths, paste/runtime forwarding avoids duplicate terminal payloads for covered fixtures, and real fcitx4/Sogou captures send only the committed candidate for Space/digit picks while ordinary typing, literal Space and digits stay available. A main/preload/renderer notification chain proves every live window invalidates immediately, the old native read settles before a coalesced refresh signal, and older refreshes are generation-fenced. The Electron/CDP live-PTY repro verifies Sogou-style Space and digit selectors submit only the committed Chinese text. Real legacy IME commit preservation, native candidate-window placement, and the full CJK/Vietnamese/Arabic/JIS-yen matrix run in follow-up platform soak where automation is possible.", + "oracle": "Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. The complete mocked AgentTerminalPreview component suite is removed, including the snapshot-proven kitty mirror forwarding alarm. Remove its active file, command token and assertion reference; the other IME drivers are unchanged and do not replace the removed component checks. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit1709 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Exact outbound bytes from the REAL native-text forwarder behind installPreviewImeBridge after initial snapshot restore, replacement resync, live transitions, and both keydown->insertText->keyup and keydown->keyup->insertText orderings; a wiring-only mock is supporting evidence, not the oracle. The current renderer-unit slice asserts native text commits route to the intended PTY once, composition/preedit bookkeeping does not leak premature text, resumed Windows event traces reactivate the visible preedit, an opaque mid-line overlay reproduces the committed row tail it covers, arbitrary DIM output remains visible, and final-column layout keeps both caret and textarea candidate anchor within the available screen width. The retained candidate-anchor slice checks layout-read caching, deferred timer coalescing, recognized-screen follow-ups and refit refresh with deterministic DOM fixtures. A Codex frame whose prompt row is bold and whose dimmed model footer sits below a blank gap acquires the mask class while composing; the same placeholder text without that footer, a framed-versus-unframed Claude prompt, a row of arbitrary dimmed output, and a row carrying typed text do not. The class is gone after composition end, after a blur that is not followed by a session end, and after disposal. Rendered Electron/CDP geometry independently proves the overlay reproduces every committed cell it hides, that a real Codex placeholder at column 2 is masked rather than repeated, and that the final-column caret, preedit, and textarea right edges all land inside the screen. Input-source classification handles synthetic/native paths, paste/runtime forwarding avoids duplicate terminal payloads for covered fixtures, and real fcitx4/Sogou captures send only the committed candidate for Space/digit picks while ordinary typing, literal Space and digits stay available. A main/preload/renderer notification chain proves every live window invalidates immediately, the old native read settles before a coalesced refresh signal, and older refreshes are generation-fenced. The Electron/CDP live-PTY repro verifies Sogou-style Space and digit selectors submit only the committed Chinese text. Real legacy IME commit preservation, native candidate-window placement, and the full CJK/Vietnamese/Arabic/JIS-yen matrix run in follow-up platform soak where automation is possible.", "commands": [ "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-native-text-forwarder.test.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-macos-keybinding-dict-trace.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-linux-fcitx4-trace-replay.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-midline-preedit-tail.test.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-resumed-preedit-visibility.test.ts src/renderer/src/lib/pane-manager/terminal-ime-candidate-anchor.test.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-composer-placeholder-mask.test.ts src/shared/terminal/input/terminal-composer-draft.test.ts src/main/daemon/emulation/testing/terminal-cursor-line-context.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/dashboard-popout/preview-terminal-ime-bridge-kitty-bytes.test.ts src/renderer/src/components/dashboard-popout/AgentTerminalPreview.test.tsx src/shared/terminal/protocol/input-modes/terminal-kitty-keyboard-mode-tracker.test.ts src/main/ipc/terminal-preview-output-stream.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/input/keyboard/terminal-option-kitty-release.test.ts src/renderer/src/lib/keyboard-layout/layout-base-character.test.ts src/main/ipc/macos-keyboard-layout-change-notifications.test.ts src/preload/app-restart-checkpoint-routing.test.ts src/renderer/src/web/web-preload-api-ui.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-resumed-preedit-visibility.test.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-composer-placeholder-mask.test.ts src/shared/terminal/input/terminal-composer-draft.test.ts src/main/daemon/emulation/testing/terminal-cursor-line-context.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/dashboard-popout/preview-terminal-ime-bridge-kitty-bytes.test.ts src/shared/terminal/protocol/input-modes/terminal-kitty-keyboard-mode-tracker.test.ts src/main/ipc/terminal-preview-output-stream.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/input/keyboard/terminal-option-kitty-release.test.ts src/main/ipc/macos-keyboard-layout-change-notifications.test.ts src/preload/app-restart-checkpoint-routing.test.ts src/renderer/src/web/web-preload-api-ui.test.ts", "pnpm run test:e2e -- tests/e2e/chinese-ime-chat-input-repro.spec.ts", "pnpm run test:e2e -- tests/e2e/terminal-korean-endofrow-preedit-cell-span.spec.ts tests/e2e/terminal-korean-midline-preedit-occlusion.spec.ts", "pnpm run test:e2e -- tests/e2e/terminal-option-composed-ascii.spec.ts" @@ -10125,19 +9788,15 @@ "src/renderer/src/components/terminal-pane/input/ime/terminal-ime-native-text-forwarder.test.ts", "src/renderer/src/components/terminal-pane/input/ime/terminal-ime-macos-keybinding-dict-trace.test.ts", "src/renderer/src/components/terminal-pane/input/ime/terminal-ime-linux-fcitx4-trace-replay.test.ts", - "src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-midline-preedit-tail.test.ts", "src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-resumed-preedit-visibility.test.ts", - "src/renderer/src/lib/pane-manager/terminal-ime-candidate-anchor.test.ts", "src/renderer/src/components/terminal-pane/input/ime/terminal-ime-composer-placeholder-mask.test.ts", "src/shared/terminal/input/terminal-composer-draft.test.ts", "src/main/daemon/emulation/testing/terminal-cursor-line-context.test.ts", "src/renderer/src/components/terminal-pane/input/keyboard/terminal-option-kitty-release.test.ts", - "src/renderer/src/lib/keyboard-layout/layout-base-character.test.ts", "src/main/ipc/macos-keyboard-layout-change-notifications.test.ts", "src/preload/app-restart-checkpoint-routing.test.ts", "src/renderer/src/web/web-preload-api-ui.test.ts", "src/renderer/src/components/dashboard-popout/preview-terminal-ime-bridge-kitty-bytes.test.ts", - "src/renderer/src/components/dashboard-popout/AgentTerminalPreview.test.tsx", "src/shared/terminal/protocol/input-modes/terminal-kitty-keyboard-mode-tracker.test.ts", "src/main/ipc/terminal-preview-output-stream.test.ts", "src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts", @@ -10154,13 +9813,6 @@ "an XIM pick's code-less keydown pairs with its keyup so kitty event reporting sends one release per pick" ] }, - { - "file": "src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-midline-preedit-tail.test.ts", - "assertions": [ - "With supplied geometry, competing xterm render and Orca clamp preserve final-cell caret/candidate anchor positions.", - "Actual xterm buffer repaint updates the row tail while the preedit remains open." - ] - }, { "file": "src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-resumed-preedit-visibility.test.ts", "assertions": ["A transaction inferred from update alone commits and cleans up."] @@ -10205,12 +9857,6 @@ "auto-repeat, two-key rollover, a swallowed commit, a retired claim, blur, and disposal each emit at most one release and never synthesize one" ] }, - { - "file": "src/renderer/src/components/dashboard-popout/AgentTerminalPreview.test.tsx", - "assertions": [ - "the Preview hands the forwarder the live kitty mirror seeded from the snapshot's proven flags" - ] - }, { "file": "src/shared/terminal/protocol/input-modes/terminal-kitty-keyboard-mode-tracker.test.ts", "assertions": [ @@ -10284,6 +9930,9 @@ "Pair with Windows ConPTY keyboard reset for Windows standard-key behavior." ], "knownGaps": [ + "NEXT65 current scope qualification: The NEXT65 knownGaps entries below govern the changed selectors and qualify any broader coverage implication in this gate’s unchanged oracle/coverageNotes narratives. Those narratives and preserved dated evidenceRuns retain their historical text and original exact execution scopes only; no fresh execution, transferred pass or equivalent replacement coverage is claimed. Upstream case removals remain upstream; original NEXT65 proposal descriptions grant no duplicate retirement credit.", + "NEXT65 terminal-owner layout and whole-case policy: src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-midline-preedit-tail.test.ts, src/renderer/src/lib/pane-manager/terminal-ime-candidate-anchor.test.ts. Complete retired/reduced selectors lose their listed alarms; retained cases have no transferred historical pass or equivalent replacement coverage. Unaffected dated receipts retain only their original exact scopes. This metadata edit is not fresh execution evidence.", + "NEXT65 historical original active selector fields (verbatim JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-native-text-forwarder.test.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-macos-keybinding-dict-trace.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-linux-fcitx4-trace-replay.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-midline-preedit-tail.test.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-resumed-preedit-visibility.test.ts src/renderer/src/lib/pane-manager/terminal-ime-candidate-anchor.test.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-composer-placeholder-mask.test.ts src/shared/terminal/input/terminal-composer-draft.test.ts src/main/daemon/emulation/testing/terminal-cursor-line-context.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/dashboard-popout/preview-terminal-ime-bridge-kitty-bytes.test.ts src/renderer/src/components/dashboard-popout/AgentTerminalPreview.test.tsx src/shared/terminal/protocol/input-modes/terminal-kitty-keyboard-mode-tracker.test.ts src/main/ipc/terminal-preview-output-stream.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/input/keyboard/terminal-option-kitty-release.test.ts src/renderer/src/lib/keyboard-layout/layout-base-character.test.ts src/main/ipc/macos-keyboard-layout-change-notifications.test.ts src/preload/app-restart-checkpoint-routing.test.ts src/renderer/src/web/web-preload-api-ui.test.ts\",\n \"pnpm run test:e2e -- tests/e2e/chinese-ime-chat-input-repro.spec.ts\",\n \"pnpm run test:e2e -- tests/e2e/terminal-korean-endofrow-preedit-cell-span.spec.ts tests/e2e/terminal-korean-midline-preedit-occlusion.spec.ts\",\n \"pnpm run test:e2e -- tests/e2e/terminal-option-composed-ascii.spec.ts\"\n ]\ntestFiles: [\n \"tests/e2e/terminal-option-composed-ascii.spec.ts\",\n \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-native-text-forwarder.test.ts\",\n \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-macos-keybinding-dict-trace.test.ts\",\n \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-linux-fcitx4-trace-replay.test.ts\",\n \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-midline-preedit-tail.test.ts\",\n \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-resumed-preedit-visibility.test.ts\",\n \"src/renderer/src/lib/pane-manager/terminal-ime-candidate-anchor.test.ts\",\n \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-composer-placeholder-mask.test.ts\",\n \"src/shared/terminal/input/terminal-composer-draft.test.ts\",\n \"src/main/daemon/emulation/testing/terminal-cursor-line-context.test.ts\",\n \"src/renderer/src/components/terminal-pane/input/keyboard/terminal-option-kitty-release.test.ts\",\n \"src/renderer/src/lib/keyboard-layout/layout-base-character.test.ts\",\n \"src/main/ipc/macos-keyboard-layout-change-notifications.test.ts\",\n \"src/preload/app-restart-checkpoint-routing.test.ts\",\n \"src/renderer/src/web/web-preload-api-ui.test.ts\",\n \"src/renderer/src/components/dashboard-popout/preview-terminal-ime-bridge-kitty-bytes.test.ts\",\n \"src/renderer/src/components/dashboard-popout/AgentTerminalPreview.test.tsx\",\n \"src/shared/terminal/protocol/input-modes/terminal-kitty-keyboard-mode-tracker.test.ts\",\n \"src/main/ipc/terminal-preview-output-stream.test.ts\",\n \"src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts\",\n \"tests/e2e/chinese-ime-chat-input-repro.spec.ts\",\n \"tests/e2e/terminal-korean-endofrow-preedit-cell-span.spec.ts\",\n \"tests/e2e/terminal-korean-midline-preedit-occlusion.spec.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-linux-fcitx4-trace-replay.test.ts\",\n \"assertions\": [\n \"real fcitx4 Sogou captures (GTK module and XIM) send only the committed candidate for Space and digit picks, under legacy keys and kitty flags 1 and 5\",\n \"a real fcitx4 Google Pinyin in-client preedit still commits through the composition path\",\n \"an XIM pick's code-less keydown pairs with its keyup so kitty event reporting sends one release per pick\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-midline-preedit-tail.test.ts\",\n \"assertions\": [\n \"With supplied geometry, competing xterm render and Orca clamp preserve final-cell caret/candidate anchor positions.\",\n \"Actual xterm buffer repaint updates the row tail while the preedit remains open.\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-resumed-preedit-visibility.test.ts\",\n \"assertions\": [\"A transaction inferred from update alone commits and cleans up.\"]\n },\n {\n \"file\": \"tests/e2e/terminal-option-composed-ascii.spec.ts\",\n \"assertions\": [\n \"a live kitty-negotiated pane receives the Option-composed ASCII character, not the physical alt chord\",\n \"an Option layer that also needs Shift still reaches the pty as text\",\n \"configured Option-as-Alt still reports the layout-resolved physical chord\",\n \"a non-ASCII Option glyph still reaches the application as its alt hotkey\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/input/keyboard/terminal-option-kitty-release.test.ts\",\n \"assertions\": [\n \"Autorepeat cannot replace the first release sender; a fresh press can replace an orphaned sender for the same key.\"\n ]\n },\n {\n \"file\": \"src/main/ipc/macos-keyboard-layout-change-notifications.test.ts\",\n \"assertions\": [\n \"rapid input-source changes coalesce to one latest-generation refresh signal\"\n ]\n },\n {\n \"file\": \"src/preload/app-restart-checkpoint-routing.test.ts\",\n \"assertions\": [\n \"macOS keyboard reads and the change subscription remain wired after main integration\",\n \"the two-phase change payload reaches the renderer unchanged\",\n \"the subscription disposer removes the exact IPC listener\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/dashboard-popout/preview-terminal-ime-bridge-kitty-bytes.test.ts\",\n \"assertions\": [\n \"the real forwarder behind the Preview bridge encodes the commit from the snapshot-proven flags before any live output\",\n \"flags 0/1 commit raw text, flags 2 add one CSI-u release, flags 8 emit one CSI-u press, and flags 10 emit a CSI-u press followed by exactly one release\",\n \"both keydown->insertText->keyup and keydown->keyup->insertText orderings produce the same bytes\",\n \"the release is emitted by the forwarder while xterm's internal kitty flags stay 0\",\n \"the mutable flags getter is read exactly once, at commit time, never on keydown or keyup\",\n \"auto-repeat, two-key rollover, a swallowed commit, a retired claim, blur, and disposal each emit at most one release and never synthesize one\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/dashboard-popout/AgentTerminalPreview.test.tsx\",\n \"assertions\": [\n \"the Preview hands the forwarder the live kitty mirror seeded from the snapshot's proven flags\"\n ]\n },\n {\n \"file\": \"src/shared/terminal/protocol/input-modes/terminal-kitty-keyboard-mode-tracker.test.ts\",\n \"assertions\": [\n \"a fresh PTY's known 0 is distinguishable from a snapshot's unproven 0 fallback\",\n \"restoreSnapshotFlags proves only the active screen\",\n \"provenance survives absolute sets, screen switches, RIS and DECSTR, but a pop past omitted push history returns to unknown rather than a manufactured 0\"\n ]\n },\n {\n \"file\": \"src/main/ipc/terminal-preview-output-stream.test.ts\",\n \"assertions\": [\n \"a partially covered sequenced chunk retains exactly its unseen suffix in live mode\",\n \"a transformed overlap remains unsliced in replay mode\"\n ]\n },\n {\n \"file\": \"tests/e2e/chinese-ime-chat-input-repro.spec.ts\",\n \"assertions\": [\n \"Sogou-style Space candidate selection submits only the committed Chinese character\",\n \"Sogou-style digit candidate selection submits only the committed Chinese phrase\",\n \"Post-composition Sogou-style digit selection stays out of the PTY after compositionend\",\n \"Legacy orphaned-letter-keyup digit selection submits no selector byte to the PTY; real legacy candidate commit preservation remains a platform gap\"\n ]\n },\n {\n \"file\": \"tests/e2e/terminal-korean-endofrow-preedit-cell-span.spec.ts\",\n \"assertions\": [\n \"the rendered final-column preedit caret remains inside the terminal screen\",\n \"a rendered full-width Korean preedit spans materially more than the one terminal cell reported in #12729\"\n ]\n },\n {\n \"file\": \"tests/e2e/terminal-korean-midline-preedit-occlusion.spec.ts\",\n \"assertions\": [\n \"the rendered opaque overlay reproduces every committed row-tail cell its measured rectangle hides\",\n \"a real Codex placeholder with bold prompt, blank footer gap, model footer, and cursor at column 2 stays masked\"\n ]\n }\n ]", "Audit2133 current-parent preparation (988 authored removals; independently reviewed2099/2107/2115/2116 decisions; upstream clear-buffer and recovery-image regressions retained): Intentionally retire these low-value alarms without replacement: tests/e2e/claude-agent-row-view.unit.test.ts: updates a mounted compact workflow description through the subscribed production parent; bounds upstream active-SSH visits for $population records, fallback=$fallback; derives %s destinations without requiring type or a workflow child ID; terminates a $path parent $status with no third request or intermediate toast; does not recover a first child %s. tests/e2e/cross-version-wire/agent-permission-legacy-spawn.unit.test.ts: keeps exact legacy ordering when structured creation cannot express afterTabId; can create a terminal without selecting the target worktree; preserves the legacy fresh-agent path when host authority is unavailable. tests/e2e/paired-instant-browser-tab.spec.ts: shows a paired browser tab before its create RPC resolves, then keeps it as one tab; adopts a paired browser tab without rebuilding its chrome. tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts: bounds host publication and renderer application across remote worktrees; globally caps decorative freshness while every working status stays fresh. tests/e2e/session-tabs/mobile-session-active-performance.unit.test.ts: bounds saved-order publication selection at N and 10N without rematerializing navigation; bounds admitted placement reconciliation during supported reads at N and 10N; bounds selection input visits at 50 and 500 rows, including unavailable-target projection; keeps publication scoped to a changed worktree and shared by listeners at N and 10N; bounds preserved-chat merge and runtime-owned hydration at N and 10N (legacy=%s); bounds actual native retirement and shared delivery work at N and 10N. tests/e2e/session-tabs/mobile-session-active-publication.unit.test.ts: does not substitute a preserved row for an unavailable explicit legacy selection; resolves main-layout group selection %s (omitted group=%s). tests/e2e/structured-agent-session-launch-admission.unit.test.ts: opens a direct caller's terminal with the caller's own CLI arguments on a decline; opens the chat on the server that admitted it; opens only the terminal when this machine declines, without a notice; opens a new agent tab's terminal with the typed prompt when the caller names none; opens the chat, not a terminal, when this machine cannot resolve a new workspace yet; keeps its terminal fallback, as before. tests/e2e/structured-attention-prompt-relay.unit.test.ts: settles once per relayed prompt, not on every later status update. tests/e2e/structured-attention-read-retirement.unit.test.ts: Mark read on a chat never opened withdraws the prompt alert it surfaced; Mark read on a chat hidden since an earlier view covers the newer prompt it surfaced; reads a newly accepted visible prompt without sending an RPC for text-only updates. tests/e2e/structured-chat-tab-lifetime-cost.unit.test.ts: counts real raw stores, unrelated window publications and captured cleanup at %i chats; counts complete supplied-member sweep and separate final retirement at S=%i N=%i. tests/e2e/structured-session-workspace-authority.unit.test.ts: bounds actual target reveal across %i repo roots and metadata aliases. tests/e2e/terminal-agent-pane-launch.unit.test.ts: starts the host's planned command once, at the pane's size, and says it started; plans a pane whose prompt the window submits without the startup update prompt; preserves caller shell-ready delivery only for a connection-scoped adapter ($connectionId); starts no shell on plan failure (original failure: $returnLaunchFailure); cannot confirm a start whose provider answer was lost. tests/e2e/terminal-parked-memory.spec.ts: releases renderer terminal memory when hidden tabs park. tests/e2e/terminal-shortcuts.spec.ts: @headful Codex-like background output stays visible without disabling WebGL in auto mode; Shift with Russian layout text reaches the PTY as Cyrillic under kitty keyboard reporting. tests/e2e/terminal-split-activation-latency.spec.ts: records attributed CWD, spawn, bind, fixture-ready, input, and echo phases. tests/e2e/terminal-split-activation-latency-phases.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-main-probe.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-artifact.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-report.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-tab-switch-visual-restore.spec.ts: restores skipped hidden Grok output on light tab resume. tests/e2e/web-runtime-session-terminal-host-authority.unit.test.ts: delivers independent %s effort through the real prepared web callback; keeps same-ID local and runtime worktrees on the selected runtime owner; creates paired web agents through host authority so activation is mirrored; delivers generated continuation context after host-authoritative creation; seeds the chat composer for a draft that rode in on the launch command. Current changed source bytes, wrapper registrations and reduced selectors have no fresh execution or red/green credit. Unrelated surviving receipt objects keep their original narrow scope; current literal graph reachability does not establish historical import closure or equivalent replacement coverage. Current conservative command/import graph reaches tests/e2e/claude-agent-row-view.unit.test.ts, tests/e2e/cross-version-wire/agent-permission-legacy-spawn.unit.test.ts, tests/e2e/paired-instant-browser-tab.spec.ts, tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts, tests/e2e/session-tabs/mobile-session-active-performance.unit.test.ts, tests/e2e/session-tabs/mobile-session-active-publication.unit.test.ts, tests/e2e/structured-agent-session-launch-admission.unit.test.ts, tests/e2e/structured-attention-prompt-relay.unit.test.ts, tests/e2e/structured-attention-read-retirement.unit.test.ts, tests/e2e/structured-chat-tab-lifetime-cost.unit.test.ts, tests/e2e/structured-session-workspace-authority.unit.test.ts, tests/e2e/terminal-agent-pane-launch.unit.test.ts, tests/e2e/terminal-parked-memory.spec.ts, tests/e2e/terminal-shortcuts.spec.ts, tests/e2e/terminal-split-activation-latency.spec.ts, tests/e2e/terminal-split-activation-latency-phases.ts, tests/e2e/terminal-split-activation-latency-main-probe.ts, tests/e2e/terminal-split-activation-latency-artifact.ts, tests/e2e/terminal-split-activation-latency-report.ts, tests/e2e/terminal-tab-switch-visual-restore.spec.ts, tests/e2e/web-runtime-session-terminal-host-authority.unit.test.ts. Unresolved local/computed edges remain explicit debt.", "Audit2095 current-parent preparation2126 (approved2092/2093 removals; source refresh2109/independent2112): Intentionally retire these low-value alarms without replacement: tests/e2e/automation-terminal-launch.unit.test.ts: launches explicit Chat for %s through the common entry and keeps its actual fallback; does not apply stored Terminal extras to Chat; forwards only complete Chat-consumed values, with no Terminal startup base; refuses an expired admission without minting another launch identity; records the actual chat identity and delegates new workspace setup and provenance. tests/e2e/github-project-provider-columns.unit.test.ts: renders %s through one bounded items request on a named cloud host; preserves zero and complete counters: %j; preserves populated and legacy rows through shared sorting, grouping and cells. tests/e2e/structured-agent-session-launch-continuation.unit.test.ts: carries renderer lifetime through host intent to the real %s provider builders. tests/e2e/terminal-account-restart.unit.test.ts: replaces a tombstoned owner while its persisted pane binding has not yet been cleared; paired restart retains the old owner (host authority: %s). tests/e2e/terminal-hidden-view-parking.spec.ts: does not park excluded tabs; reproduces a static frame byte-for-byte across 25 park/reveal cycles. tests/e2e/terminal-long-table-scroll-restore.spec.ts: reproduces long markdown table artifacts after workspace switch and scroll; keeps narrow wrapped signer markdown table coherent after restore and scroll; keeps real emoji markdown table right edge clean after restore and scroll. tests/e2e/terminal-long-table-fixtures.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-paste-ownership.spec.ts: Windows multiline keyboard paste normalizes terminal newlines with one PTY owner; right-click paste sends clipboard text to the focused terminal exactly once. tests/e2e/terminal-raw-emoji-table-scroll-restore.spec.ts: uses WebGL by default for ordinary terminal output when available @terminal-rendering-golden. tests/e2e/terminal-windows-shell-paste-ownership.spec.ts: cmd.exe default terminal keyboard paste preserves exact content with one PTY owner; Git Bash default terminal keyboard paste preserves POSIX-shaped content with one PTY owner; WSL terminal keyboard paste preserves Linux shell content with one PTY owner. tests/e2e/workspace-board-lane-virtualization.spec.ts: mounts a window of cards for a large lane and keeps lane indexes; renders later lane indexes after the lane scrolls. Current changed source bytes, wrapper registrations and reduced selectors have no fresh execution or red/green credit. Unrelated surviving receipt objects keep their original narrow scope; current literal graph reachability does not establish historical import closure or equivalent replacement coverage. Current conservative command/import graph reaches tests/e2e/automation-terminal-launch.unit.test.ts, tests/e2e/github-project-provider-columns.unit.test.ts, tests/e2e/structured-agent-session-launch-continuation.unit.test.ts, tests/e2e/terminal-account-restart.unit.test.ts, tests/e2e/terminal-hidden-view-parking.spec.ts, tests/e2e/terminal-long-table-scroll-restore.spec.ts, tests/e2e/terminal-long-table-fixtures.ts, tests/e2e/terminal-paste-ownership.spec.ts, tests/e2e/terminal-raw-emoji-table-scroll-restore.spec.ts, tests/e2e/terminal-windows-shell-paste-ownership.spec.ts, tests/e2e/workspace-board-lane-virtualization.spec.ts. Unresolved local/computed edges remain explicit debt. Complete dated receipts with direct selectors or current literal graph reaching tests/e2e/automation-terminal-launch.unit.test.ts, tests/e2e/github-project-provider-columns.unit.test.ts, tests/e2e/structured-agent-session-launch-continuation.unit.test.ts, tests/e2e/terminal-account-restart.unit.test.ts, tests/e2e/terminal-hidden-view-parking.spec.ts, tests/e2e/terminal-long-table-scroll-restore.spec.ts, tests/e2e/terminal-long-table-fixtures.ts, tests/e2e/terminal-paste-ownership.spec.ts, tests/e2e/terminal-raw-emoji-table-scroll-restore.spec.ts, tests/e2e/terminal-windows-shell-paste-ownership.spec.ts, tests/e2e/workspace-board-lane-virtualization.spec.ts are retired below as historical raw objects; their counts do not validate reduced commands. Historical retired receipt verbatim:\n{\n \"date\": \"2026-08-16\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm run test:e2e -- tests/e2e/terminal-option-composed-ascii.spec.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 66,\n \"summary\": \"Four live-Electron scenarios passed against a real pty whose kitty flags were armed by the application's own CSI > 1 u: Option-composed `@` and Option+Shift-composed `\\\\` arrive as text with no alt chord, configured Option-as-Alt still reports the layout-resolved chord, and a non-ASCII Option glyph still reaches the application as its alt hotkey. Discrimination was proven by mutation rather than assumed — restoring the pre-fix policy makes exactly the two composed-text scenarios fail with the character never reaching the pty, while both chord scenarios stay green.\"\n } Historical retired receipt verbatim:\n{\n \"date\": \"2026-08-16\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm run test:e2e -- tests/e2e/chinese-ime-chat-input-repro.spec.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 13.9,\n \"summary\": \"The Electron live-PTY IME gate passed three scenarios covering Windows IME Shift commit, candidate-selector suppression with committed Chinese text, and composed text/cursor/Backspace stability; the opt-in real-agent scenario remained skipped.\"\n } Historical retired receipt verbatim:\n{\n \"date\": \"2026-07-11\",\n \"runner\": \"local\",\n \"platform\": \"linux\",\n \"command\": \"pnpm run test:e2e -- tests/e2e/chinese-ime-chat-input-repro.spec.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 30.3,\n \"summary\": \"Debian 12 arm64 Docker with Node 24 and Xvfb passed both live Electron/PTY IME scenarios; the orphaned-letter-keyup candidate digit submitted no selector byte, and the real-Codex opt-in scenario was skipped.\"\n } Historical retired receipt verbatim:\n{\n \"date\": \"2026-07-07\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm run test:e2e -- tests/e2e/chinese-ime-chat-input-repro.spec.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 72,\n \"summary\": \"Electron/CDP IME repro passed: Sogou candidate selection, post-composition candidate selection, and existing Chinese IME harness passed; real Codex IME test was skipped behind ORCA_E2E_REAL_CODEX_IME.\"\n }", "Audit2090 (sources2088/2089): Intentionally retire these low-value alarms without replacement: tests/e2e/terminal-option-composed-ascii.spec.ts: still reports the Alt chord when Option is configured as Alt. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. The historical receipt/currentCommand selecting tests/e2e/terminal-option-composed-ascii.spec.ts remains historical and is not a passing result for the reduced current command.", @@ -10321,7 +9970,10 @@ "Audit1888 removes the entire candidate-key-release-guard and composition-tracker suites. Direct candidate predicate/map, held-repeat, expiry, changed-modifier and overlapping-release alarms, plus composition active/stale/trailing-guard/reset alarms, are intentionally lost. It reduces placeholder-mask: frame/lookalike/stock-draft inventories and simple end/dispose cleanup alarms are lost; real xterm draft visibility, blur without end/repaint, live reclassification and newest-session ownership remain. Native-text-forwarder loses structural claim, direct forwarding/encoding inventories, early-keyup/modifier/tombstone/transaction/disposal examples; only NumLock press-pinned release identity, swallowed-repeat release obligation and negotiation-pop suppression remain. The standalone Mac remap expected-text case is removed; captured remap plus an explicitly DERIVED neighbour remains. Four pre-audit assertionRefs are retired below as historical inventory, with no equivalent replacement claim. Retained tests use simulated events, flags, frames and transport; this is not native IME/substitution, real host/PTY, focus, soak or measured-budget validation. All five active IME receipts remain raw unchanged because their exact selectors are unaffected: four Electron receipts and the byte-exact unchanged fcitx4 replay suite/currentCommand. Other active selectors/assertions, coverage/maturity accounting, and all prior notes remain unchanged.", "Audit1888 historical assertion inventory for removed/reduced suites; not current validated assertions. Original raw assertion objects follow:\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-candidate-key-release-guard.test.ts\",\n \"assertions\": [\n \"suppressed candidate keydown arms only the matching keypress/keyup release guard\",\n \"held-key repeat keydowns stay guarded until their keyup, even past expiry\",\n \"fresh keydowns, other keys, modified keys, and expired keypresses are not guarded, and a fresh press drops a stale pending release\"\n ]\n }\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-composition-tracker.test.ts\",\n \"assertions\": [\n \"empty Sogou-style compositionupdate keeps composition active\",\n \"stale composition state expires so editing keys cannot stay suppressed indefinitely\",\n \"post-composition candidate guard is armed only by Sogou-style empty updates and clears after real typing\"\n ]\n }\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-composer-placeholder-mask.test.ts\",\n \"assertions\": [\n \"a bold Codex prompt row with a dimmed model footer below a blank gap, and a framed Claude prompt, acquire the mask class only while composing\",\n \"the same placeholder text without its footer or frame, and arbitrary dimmed output, acquire nothing\",\n \"a row carrying typed text acquires no mask even while the stock placeholder is still rendered to its right\",\n \"the class is gone after composition end, after a blur with no session end behind it, and after disposal\"\n ]\n }\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-native-text-forwarder.test.ts\",\n \"assertions\": [\n \"native text commits route once to the intended PTY\",\n \"composition/preedit bookkeeping does not leak premature text\",\n \"multi-codepoint committed text is reported independently from physical key identity\"\n ]\n }", "Audit1896 removes the entire synthetic local-echo trailing-preedit suite, CSI-u encoding table, Option-compose scalar policy, non-Mac/Mac bypass matrices and runtime-prefix projection suite. Their direct overlay, scalar key/flag encoding, bypass/suppression and environment-projection alarms are intentionally lost. The removed paste-runtime suite only projects supplied PTY-prefix/runtime-environment values; runtime-environment selection does not validate payload forwarding or deduplication. Its retired duplicate-payload assertion overstated that test and is preserved verbatim only as historical inventory. It reduces midline-preedit-tail to competing final-cell caret/candidate anchor owners with supplied geometry and actual xterm buffer repaint under an open preedit: arbitrary dimmed-output, simple cleanup, other row-tail/style inventories and nearby geometry cases are lost. Resumed-preedit-visibility retains only commit/cleanup of an update-inferred transaction; recorded/ordinary-neighbour reactivation examples are removed. Option-kitty-release retains only first-sender ownership across autorepeat versus fresh-press replacement of an orphaned owner: live modifier/layout/NumLock identity, native dead-key and negotiation/mode-pop inventories are lost. Three complete assertionRefs are retired and three narrowed; all six prior raw objects are archived below as historical inventory. Tests use synthetic DOM events, supplied geometry/state and callback/transport sinks, with no native IME/keyboard, current device, real PTY, ConPTY, remote runtime, focus/app, soak or measured-budget validation. No equivalent replacement is claimed. All five active IME receipts retain exact unaffected selectors and raw objects; all230 current receipts, prior knownGap literals and unrelated accounting/fields are preserved. This note records scope loss only and promotes no new execution evidence.", - "Audit1896 historical assertion inventory for three retired and three narrowed refs; not current validated assertions. Original raw assertion objects follow:\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-trailing-preedit-occlusion.test.ts\",\n \"assertions\": [\n \"rolling Korean input keeps only the uncommitted trailing syllable in the themed overlay\",\n \"the overlay remains anchored to the live cursor cell and clears after commit\"\n ]\n }\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/keyboard/xterm-bypass-policy-non-mac.test.ts\",\n \"assertions\": [\n \"standalone Linux 229 keydowns reach xterm while Windows 229 keydowns stay suppressed\",\n \"candidate Space/digit selectors are suppressed only while candidate guards are active\"\n ]\n }\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/paste/terminal-paste-runtime.test.ts\",\n \"assertions\": [\"paste/runtime forwarding avoids duplicate terminal payloads\"]\n }\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-midline-preedit-tail.test.ts\",\n \"assertions\": [\n \"a mid-line preedit reproduces committed cells hidden by its opaque overlay and refreshes that tail after terminal renders\",\n \"arbitrary fully dimmed output remains visible even at column zero\",\n \"the final-column caret stays visible and the textarea candidate anchor shifts left with an over-wide preedit\",\n \"cancel, empty resumed updates, and disposal remove transient overlay state\"\n ]\n }\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-resumed-preedit-visibility.test.ts\",\n \"assertions\": [\n \"recorded Windows Korean compositionupdate-without-compositionstart traces reactivate a visible preedit transaction\",\n \"the resumed transaction commits exactly once and cleans up normally\",\n \"the ordinary Linux compositionstart sequence remains unchanged\"\n ]\n }\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/keyboard/terminal-option-kitty-release.test.ts\",\n \"assertions\": [\n \"owned releases use live Shift and Option state and current alternate-key flags\",\n \"owned releases retain the delivered press identity across layout, Shift, and NumLock changes\",\n \"a native dead-key keyup is consumed without inventing an unmatched protocol release\",\n \"event-type pop consumes without bytes and repeat keydowns cannot replace the original release owner\"\n ]\n }" + "Audit1896 historical assertion inventory for three retired and three narrowed refs; not current validated assertions. Original raw assertion objects follow:\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-trailing-preedit-occlusion.test.ts\",\n \"assertions\": [\n \"rolling Korean input keeps only the uncommitted trailing syllable in the themed overlay\",\n \"the overlay remains anchored to the live cursor cell and clears after commit\"\n ]\n }\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/keyboard/xterm-bypass-policy-non-mac.test.ts\",\n \"assertions\": [\n \"standalone Linux 229 keydowns reach xterm while Windows 229 keydowns stay suppressed\",\n \"candidate Space/digit selectors are suppressed only while candidate guards are active\"\n ]\n }\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/paste/terminal-paste-runtime.test.ts\",\n \"assertions\": [\"paste/runtime forwarding avoids duplicate terminal payloads\"]\n }\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-midline-preedit-tail.test.ts\",\n \"assertions\": [\n \"a mid-line preedit reproduces committed cells hidden by its opaque overlay and refreshes that tail after terminal renders\",\n \"arbitrary fully dimmed output remains visible even at column zero\",\n \"the final-column caret stays visible and the textarea candidate anchor shifts left with an over-wide preedit\",\n \"cancel, empty resumed updates, and disposal remove transient overlay state\"\n ]\n }\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-resumed-preedit-visibility.test.ts\",\n \"assertions\": [\n \"recorded Windows Korean compositionupdate-without-compositionstart traces reactivate a visible preedit transaction\",\n \"the resumed transaction commits exactly once and cleans up normally\",\n \"the ordinary Linux compositionstart sequence remains unchanged\"\n ]\n }\n{\n \"file\": \"src/renderer/src/components/terminal-pane/input/keyboard/terminal-option-kitty-release.test.ts\",\n \"assertions\": [\n \"owned releases use live Shift and Option state and current alternate-key flags\",\n \"owned releases retain the delivered press identity across layout, Shift, and NumLock changes\",\n \"a native dead-key keyup is consumed without inventing an unmatched protocol release\",\n \"event-type pop consumes without bytes and repeat keydowns cannot replace the original release owner\"\n ]\n }", + "Renderer direct-owner cleanup retires the complete layout-base-character suite (one registration). Lost alarm: layout invalidation blocks focus refresh, fences an older snapshot, and accepts the new-generation character. The removed case consumed private snapshot/reset state and internal refresh-count accounting. No equivalent replacement or new execution is claimed. Remaining IME/keyboard/provider sources and the unchanged fcitx4 receipt retain their existing bounded qualifications; this removal does not validate their selectors. Historical removed active mappings (verbatim semantic values; no longer active): [{\"field\":\"testFiles\",\"previous\":[\"src/renderer/src/lib/keyboard-layout/layout-base-character.test.ts\"]},{\"field\":\"commands\",\"previous\":[\"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/input/keyboard/terminal-option-kitty-release.test.ts src/renderer/src/lib/keyboard-layout/layout-base-character.test.ts src/main/ipc/macos-keyboard-layout-change-notifications.test.ts src/preload/app-restart-checkpoint-routing.test.ts src/renderer/src/web/web-preload-api-ui.test.ts\"]}]", + "Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. The complete mocked AgentTerminalPreview component suite is removed, including the snapshot-proven kitty mirror forwarding alarm. Remove its active file, command token and assertion reference; the other IME drivers are unchanged and do not replace the removed component checks. Earlier notes, complete dated receipts and archived gaps retain their original scopes.", + "Audit3460 historical original active selectors (verbatim JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-native-text-forwarder.test.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-macos-keybinding-dict-trace.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-linux-fcitx4-trace-replay.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-resumed-preedit-visibility.test.ts src/renderer/src/components/terminal-pane/input/ime/terminal-ime-composer-placeholder-mask.test.ts src/shared/terminal/input/terminal-composer-draft.test.ts src/main/daemon/emulation/testing/terminal-cursor-line-context.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/dashboard-popout/preview-terminal-ime-bridge-kitty-bytes.test.ts src/renderer/src/components/dashboard-popout/AgentTerminalPreview.test.tsx src/shared/terminal/protocol/input-modes/terminal-kitty-keyboard-mode-tracker.test.ts src/main/ipc/terminal-preview-output-stream.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/input/keyboard/terminal-option-kitty-release.test.ts src/main/ipc/macos-keyboard-layout-change-notifications.test.ts src/preload/app-restart-checkpoint-routing.test.ts src/renderer/src/web/web-preload-api-ui.test.ts\",\n \"pnpm run test:e2e -- tests/e2e/chinese-ime-chat-input-repro.spec.ts\",\n \"pnpm run test:e2e -- tests/e2e/terminal-korean-endofrow-preedit-cell-span.spec.ts tests/e2e/terminal-korean-midline-preedit-occlusion.spec.ts\",\n \"pnpm run test:e2e -- tests/e2e/terminal-option-composed-ascii.spec.ts\"\n ]\ntestFiles: [\n \"tests/e2e/terminal-option-composed-ascii.spec.ts\",\n \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-native-text-forwarder.test.ts\",\n \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-macos-keybinding-dict-trace.test.ts\",\n \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-linux-fcitx4-trace-replay.test.ts\",\n \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-resumed-preedit-visibility.test.ts\",\n \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-composer-placeholder-mask.test.ts\",\n \"src/shared/terminal/input/terminal-composer-draft.test.ts\",\n \"src/main/daemon/emulation/testing/terminal-cursor-line-context.test.ts\",\n \"src/renderer/src/components/terminal-pane/input/keyboard/terminal-option-kitty-release.test.ts\",\n \"src/main/ipc/macos-keyboard-layout-change-notifications.test.ts\",\n \"src/preload/app-restart-checkpoint-routing.test.ts\",\n \"src/renderer/src/web/web-preload-api-ui.test.ts\",\n \"src/renderer/src/components/dashboard-popout/preview-terminal-ime-bridge-kitty-bytes.test.ts\",\n \"src/renderer/src/components/dashboard-popout/AgentTerminalPreview.test.tsx\",\n \"src/shared/terminal/protocol/input-modes/terminal-kitty-keyboard-mode-tracker.test.ts\",\n \"src/main/ipc/terminal-preview-output-stream.test.ts\",\n \"src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts\",\n \"tests/e2e/chinese-ime-chat-input-repro.spec.ts\",\n \"tests/e2e/terminal-korean-endofrow-preedit-cell-span.spec.ts\",\n \"tests/e2e/terminal-korean-midline-preedit-occlusion.spec.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-linux-fcitx4-trace-replay.test.ts\",\n \"assertions\": [\n \"real fcitx4 Sogou captures (GTK module and XIM) send only the committed candidate for Space and digit picks, under legacy keys and kitty flags 1 and 5\",\n \"a real fcitx4 Google Pinyin in-client preedit still commits through the composition path\",\n \"an XIM pick's code-less keydown pairs with its keyup so kitty event reporting sends one release per pick\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-resumed-preedit-visibility.test.ts\",\n \"assertions\": [\"A transaction inferred from update alone commits and cleans up.\"]\n },\n {\n \"file\": \"tests/e2e/terminal-option-composed-ascii.spec.ts\",\n \"assertions\": [\n \"a live kitty-negotiated pane receives the Option-composed ASCII character, not the physical alt chord\",\n \"an Option layer that also needs Shift still reaches the pty as text\",\n \"configured Option-as-Alt still reports the layout-resolved physical chord\",\n \"a non-ASCII Option glyph still reaches the application as its alt hotkey\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/input/keyboard/terminal-option-kitty-release.test.ts\",\n \"assertions\": [\n \"Autorepeat cannot replace the first release sender; a fresh press can replace an orphaned sender for the same key.\"\n ]\n },\n {\n \"file\": \"src/main/ipc/macos-keyboard-layout-change-notifications.test.ts\",\n \"assertions\": [\n \"rapid input-source changes coalesce to one latest-generation refresh signal\"\n ]\n },\n {\n \"file\": \"src/preload/app-restart-checkpoint-routing.test.ts\",\n \"assertions\": [\n \"macOS keyboard reads and the change subscription remain wired after main integration\",\n \"the two-phase change payload reaches the renderer unchanged\",\n \"the subscription disposer removes the exact IPC listener\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/dashboard-popout/preview-terminal-ime-bridge-kitty-bytes.test.ts\",\n \"assertions\": [\n \"the real forwarder behind the Preview bridge encodes the commit from the snapshot-proven flags before any live output\",\n \"flags 0/1 commit raw text, flags 2 add one CSI-u release, flags 8 emit one CSI-u press, and flags 10 emit a CSI-u press followed by exactly one release\",\n \"both keydown->insertText->keyup and keydown->keyup->insertText orderings produce the same bytes\",\n \"the release is emitted by the forwarder while xterm's internal kitty flags stay 0\",\n \"the mutable flags getter is read exactly once, at commit time, never on keydown or keyup\",\n \"auto-repeat, two-key rollover, a swallowed commit, a retired claim, blur, and disposal each emit at most one release and never synthesize one\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/dashboard-popout/AgentTerminalPreview.test.tsx\",\n \"assertions\": [\n \"the Preview hands the forwarder the live kitty mirror seeded from the snapshot's proven flags\"\n ]\n },\n {\n \"file\": \"src/shared/terminal/protocol/input-modes/terminal-kitty-keyboard-mode-tracker.test.ts\",\n \"assertions\": [\n \"a fresh PTY's known 0 is distinguishable from a snapshot's unproven 0 fallback\",\n \"restoreSnapshotFlags proves only the active screen\",\n \"provenance survives absolute sets, screen switches, RIS and DECSTR, but a pop past omitted push history returns to unknown rather than a manufactured 0\"\n ]\n },\n {\n \"file\": \"src/main/ipc/terminal-preview-output-stream.test.ts\",\n \"assertions\": [\n \"a partially covered sequenced chunk retains exactly its unseen suffix in live mode\",\n \"a transformed overlap remains unsliced in replay mode\"\n ]\n },\n {\n \"file\": \"tests/e2e/chinese-ime-chat-input-repro.spec.ts\",\n \"assertions\": [\n \"Sogou-style Space candidate selection submits only the committed Chinese character\",\n \"Sogou-style digit candidate selection submits only the committed Chinese phrase\",\n \"Post-composition Sogou-style digit selection stays out of the PTY after compositionend\",\n \"Legacy orphaned-letter-keyup digit selection submits no selector byte to the PTY; real legacy candidate commit preservation remains a platform gap\"\n ]\n },\n {\n \"file\": \"tests/e2e/terminal-korean-endofrow-preedit-cell-span.spec.ts\",\n \"assertions\": [\n \"the rendered final-column preedit caret remains inside the terminal screen\",\n \"a rendered full-width Korean preedit spans materially more than the one terminal cell reported in #12729\"\n ]\n },\n {\n \"file\": \"tests/e2e/terminal-korean-midline-preedit-occlusion.spec.ts\",\n \"assertions\": [\n \"the rendered opaque overlay reproduces every committed row-tail cell its measured rectangle hides\",\n \"a real Codex placeholder with bold prompt, blank footer gap, model footer, and cursor at column 2 stays masked\"\n ]\n }\n ]" ], "demotionRule": "Cannot promote if success is based only on DOM text without PTY byte/cell evidence." }, @@ -10621,7 +10273,7 @@ "providers": ["local", "daemon", "ssh", "remote-runtime"], "coveredPlatforms": ["macos"], "coveredProviders": [], - "coverageNotes": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. NEXT136 retains only unchanged execution receipts at their original scopes. Reduced-source selectors and retained static assertions have no new execution or equivalent replacement credit.", + "coverageNotes": "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. NEXT136 retains only unchanged execution receipts at their original scopes. Reduced-source selectors and retained static assertions have no new execution or equivalent replacement credit.", "motivatingLinks": [ "https://linear.app/stably/issue/STA-3800", "https://linear.app/stably/issue/STA-3904", @@ -10631,7 +10283,7 @@ "https://github.com/stablyai/orca/issues/14347" ], "invariant": "Injected orchestration task prompts for recognized agent CLIs must send the prompt body inside one bracketed-paste frame, sanitize embedded ESC bytes, preserve chunk boundaries without losing the frame, and submit exactly once only after the agent can accept Enter. Local worker-start with supported observation must preserve an unobserved turn as start_unknown without revoking authority, closing questions, or triggering a rescue Enter; a worker report during observation must settle normally. Claude and Codex must emit a post-paste composer marker and then settle, or reach the bounded fallback first; every other agent retains the platform delay.", - "oracle": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Retained assertion references and unchanged receipts keep their original scopes; retired callbacks and archived receipts provide no current coverage.", + "oracle": "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Retained assertion references and unchanged receipts keep their original scopes; retired callbacks and archived receipts provide no current coverage.", "commands": [ "pnpm exec vitest run --config config/vitest.config.ts src/shared/agent-launch/startup/agent-prompt-injection.test.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/methods/orchestration/runs/tasks-dispatch.test.ts src/main/runtime/orchestration/coordinator/coordinator.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/worker/worker-start-prompt-contract.test.ts --reporter=dot", @@ -10733,7 +10385,8 @@ "Audit2090 (sources2088/2089): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/mobile-session-tabs-windowless-sleep-resume.spec.ts: keeps the recorded permission flags of the launch it resumes; still refuses a session another pane also records; resumes in the pane with a window present too: main is the one executor; keeps the original provider and current retry intent through a refused main start; resumes once; a second open after it finished attaches to the same terminal; a reloaded window's open attaches to the terminal main started, never a second resume. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-05.spec.ts: defers live workers without exact controller identity evidence; defers an SSH folder legacy worker while its folder path is unavailable. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence.", "Audit2095 current-parent preparation2126 (approved2092/2093 removals; source refresh2109/independent2112): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-03.spec.ts: rejects exact terminal stop for multiple expected PTYs before stopping anything; omits stale renderer leaves when fresh PTY liveness is required; omits unbound renderer placeholders when fresh PTY liveness is required; captures the event method before the nested sleep receipt changes it; returns the close receipt without requiring a PTY stop; uses the same stop result as an empty explicit stop. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-04.spec.ts: builds a compact worktree summary from persisted and live runtime state; reads the linked-PR state from the renderer repoId-keyed GitHub cache; carries persisted worktree host ownership in mobile summaries; emits only instance- and boundary-validated lineage parents in mobile summaries; resolves WSL platforms only for repos represented in mobile summaries; omits worktrees hidden by the host visibility policy from mobile summaries; applies linked-checkout source visibility to mobile summaries. src/main/runtime/orca-runtime-tests/hooks-and-hosted-review-part-02.spec.ts: routes runtime GitHub PR details and actions through the selected WSL project runtime; passes SSH connection context through hosted review creation flows; routes local WSL project hosted review flows through runtime git options; treats SSH worktree drift as unknown without local git probes. src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts: emits one mobile session terminal tab per live PTY even if two tabs resolve to it; resolves projected split authority from the parent layout PTY binding; keeps explicit-id terminal lists from resolving all worktrees; keeps explicit-id cold-cache terminal lists from classifying unrelated same-repo worktrees; keeps unknown bare terminal-list ids on the no-scan exact-id path; matches explicit-id cwd PTYs for folder workspace instance IDs; routes PTY output through the PTY leaf index in large terminal graphs. src/main/runtime/orca-runtime-tests/window-authority.spec.ts: claims the first window as authoritative and ignores later windows; transfers authority from the headless sentinel to the first real window; relays terminal browser launches only while headless owns the graph; marks live headless PTYs for renderer reattach before desktop promotion; reports the activation gate state while no desktop window is available; bumps the epoch and enters reloading when the authoritative window reloads; can mark the graph ready for the authoritative window; drops back to unavailable and clears authority when the window disappears; hands the graph back to headless when a promoted serve window closes (#27292); keeps a crashed promoted serve renderer on its own window while the window is open; stays unavailable during initial loads before a graph is published. Current changed source bytes, wrapper registrations and reduced selectors have no fresh execution or red/green credit. Unrelated surviving receipt objects keep their original narrow scope; current literal graph reachability does not establish historical import closure or equivalent replacement coverage. Current conservative command/import graph reaches src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-04.spec.ts, src/main/runtime/orca-runtime-tests/hooks-and-hosted-review-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts, src/main/runtime/orca-runtime-tests/window-authority.spec.ts. Unresolved local/computed edges remain explicit debt.", "Audit2133 current-parent preparation (988 authored removals; independently reviewed2099/2107/2115/2116 decisions; upstream clear-buffer and recovery-image regressions retained): Intentionally retire these low-value alarms without replacement: src/main/runtime/construction/orca-runtime.test.ts: remove only literal registration import/call pairs await import('../orca-runtime-tests/worktree-setup-and-startup.spec'), await import('../orca-runtime-tests/gitlab-and-pr-bases.spec'); no additional authored credit. src/main/runtime/orca-runtime-tests/targeting-and-resilience.spec.ts: routes tab switch and capture start by explicit page id; accepts focus on tab switch without altering bridge args (focus is main-side concern); keeps terminal cwd resolution fail-soft when the provider is unavailable. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts: drops the bounded scan cache when orphan-cleanup removal completes; clears optimistic reconcile tokens when a CLI worktree removal succeeds; emits drift without mutating when the fetched base fast-forwards created HEAD; emits base_changed without mutation when the fetched base rewrote history; skips stale-token reconciles without mutating or emitting stale status; emits unknown without mutation when fetch fails or the base ref is missing. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts: routes runtime preserved-branch force-delete through the selected WSL project runtime; replies to a waiting client with the error of a delete that fails after acceptance; treats forced runtime deletion of an already-missing unregistered worktree as cleanup; treats normal runtime deletion of an already-missing unregistered worktree as cleanup. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts: warns that a missing-repo removal only forgot the workspace; restores runtime watchers when CLI worktree deletion fails after teardown; does not re-spend the drain budget on a removal after a wedged install was abandoned; routes runtime worktree removal through the selected WSL project runtime; force-deletes a branch that was preserved by runtime worktree removal. src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases-part-02.spec.ts: records GitLab pasted-project recents only after successful runtime lookup; threads explicit origin preference through runtime WSL PR base resolution; resolves local GitLab fork MR bases from the target project MR head ref; captures the fork MR head from a dedicated ref, not the shared FETCH_HEAD; keeps the durable MR head when the head fetch fails but the local ref resolves; routes runtime GitLab fork MR base git calls through the selected WSL project runtime. src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases.spec.ts: passes SSH connection ids through GitLab task operations; routes runtime GitLab issue, MR, work-item, and todo actions through the selected WSL project runtime; routes runtime GitLab MR details, review-management, job, and pasted URL actions through the selected WSL project runtime; normalizes runtime GitLab issue list arguments like the desktop IPC path. src/main/runtime/orca-runtime-tests/worktree-setup-and-startup-part-03.spec.ts: does not warn when setup is explicitly skipped for CLI-created worktrees; puts the agent a create starts in the first default tab, as the window does; keeps the 8s main-runtime startup readiness budget for agents without an override; gives OpenCode the 20s main-runtime startup readiness budget; launches explicit startup agents with prompts for CLI-created worktrees. src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts: returns a setup launch payload for CLI-created worktrees when hooks are explicitly enabled; does not hand the window a setup main never tried to start; passes the selected Windows setup shell into runtime runner generation; follows normal setup policy for CLI-created worktrees without activating them; uses returned WSL setup shell metadata when runtime spawns setup; uses the shell-aware setup runner for windowless creates without a startup command; reports the in-process setup hook as running when nothing can launch the runner. src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-02.spec.ts: coalesces two clients sleeping the same host worktree; stops exactly the expected live PTYs for a worktree; explains a refused workspace close instead of throwing the raw refusal enum. src/main/runtime/orca-runtime-tests/mobile-summaries-part-03.spec.ts: marks the desktop-active worktree as isActive; includes SSH-backed worktrees in the mobile worktree summary; caches repeated malformed path misses before normalizing them again. src/main/runtime/orca-runtime-tests/mobile-summaries-part-02.spec.ts: keeps title-only foreground work ahead of monitoring in another pane; keeps a local hook row while a connected PTY still backs its pane; keeps an OSC row via its connected PTY after the pane binding is cleared. src/main/runtime/orca-runtime-tests/mobile-summaries.spec.ts: resolves files through a source-visible linked-checkout worktree; marks saved session tabs with live PTYs as host sidebar activity; attributes live legacy PTYs from saved layout bindings when their panes are hidden; marks saved browser tabs as host sidebar activity like desktop; falls back to the path-keyed GitHub cache entry; includes folder workspaces in compact worktree summaries for mobile; attaches inline agent rows from the latest OSC 9999 status; projects monitoring over a title-derived working status. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-03.spec.ts: pushes to an idle pane when the only live waiter filters out the message type; resolves a registered waiter without PTY-injecting when the leaf is already idle; keeps already-idle status after tui-idle wait for immediate message delivery; resolves message waiters when notifyMessageArrived is called; does not resolve type-filtered message waiters for unrelated message types; removes message waiter abort listeners after message arrival; resolves message waiters on timeout when no message arrives. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-02.spec.ts: delivers pending mail via notifyMessageArrived when the recipient is already idle; does not keep retrying when every pending row was already pointed; repoints pending rows restored with a live-idle coordinator. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-13.spec.ts: rolls back a half-created terminal whose surface never publishes. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts: rejects startup prompts for agents that require post-ready stdin; uses portable Unix quoting for mobile agent launch commands in WSL project runtimes; keeps PowerShell quoting for mobile agent launch commands in Windows host runtimes; uses cmd.exe quoting for mobile agent launch commands in local Windows host runtimes; publishes headless mobile session agent identity with synthesized PTY status; rejects disabled mobile session agent launches before spawning; validates mobile terminal insertion anchors before resolving agent launch commands. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-11.spec.ts: coalesces a reconnect close burst onto one authoritative PTY inventory; keeps an explicit user close destructive while the PTY is live; builds mobile session agent launch commands on the runtime host; injects mobile quick-command prompts into the host-built agent startup command. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-10.spec.ts: closes persisted headless terminal parents before any prior list call; tears down a serve-owned headless tab on close while a renderer is attached so it cannot resurrect; defers a renderer-published pending tab to the renderer instead of tearing it down; returns a delegated close outcome with no selection tombstone when the renderer owns the outcome; tears down a runtime pending shell the renderer never adopted on close. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-08.spec.ts: materializes a plain shell when the pending tab has no launch agent; hydrates legacy persisted terminal tabs without layout entries; reads and indexes the full agent-status snapshot once per mobile projection; kills persisted SSH PTYs when closing hydrated headless tabs before pane metadata is restored; materializes hydrated pending headless terminals with the persisted session identity. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-07.spec.ts: hydrates a persisted SSH-owned pane before an attached renderer publishes its graph. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-05.spec.ts: publishes the desktop's tab name over the live agent title, and the live title without one; uses fresh neutral PTY titles over stale mobile snapshot and OSC titles; operates PTY-backed mobile session terminals without a renderer graph; reuses pane close for live PTYs that do not own a renderer tab; lists PTY-backed mobile session terminals without a renderer graph; shows and resolves active PTY-backed mobile session terminals without a renderer graph. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-04.spec.ts: creates mobile session terminals for folder workspaces in a headless runtime server; spawns fresh headless SSH mobile session terminals instead of reattaching synthetic local ids; hydrates headless mobile session terminals from the host workspace session; keeps live headless mobile session terminals when a desktop renderer publishes without them; publishes laptop-created remote runtime split terminals to phone session tabs. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-02.spec.ts: does not report headless wake degradation without sleeping records; does not wake slept agents for non-mobile session-only activation; does not rewrite unread metadata when a mobile activation finds the worktree already read; returns unread:false from worktree.ps after a mobile activation clears the flag; materializes pending mobile session terminals without focusing desktop clients; closes browser mobile session tabs when addressed by browser workspace id. src/main/runtime/orca-runtime-tests/mobile-session-tabs.spec.ts: resolves mobile terminal surfaces by exact split leaf; closes the matching mobile terminal UUID leaf without closing the whole tab; closes the whole mobile terminal tab when addressed by parent tab id; activates the active split leaf when addressed by parent tab id; clears unread metadata on mobile worktree activation without focusing desktop clients; wakes slept agents on the host renderer when a phone activates a worktree. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-05.spec.ts: publishes the hook provider session on a headless mobile tab so native chat can address the transcript; recovers the agent type from the hook row when the pane was launched without an agent hint; reads one agent-status snapshot per projection, not one per terminal tab; waits for unknown-launch foreground owner before publishing Pi-compatible mobile status; keeps Pi-compatible mobile session status as Pi for an unknown-launch foreground pi PTY; keeps renderer-vetted mobile agent status for custom-titled terminals. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-04.spec.ts: publishes terminal surface agent status for paired web clients; preserves authoritative OMP identity for Pi-compatible remote terminal snapshots; normalizes a remote OMP title without republishing omitted launch identity; skips the foreground-process probe when the PTY launch agent is already known; probes the foreground process only on a status transition for unknown launch agents; passes the client signal and the slept-worktree refusal to the spawn. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts: does not use stale runtime-created PTY status when a neutral PTY title exists; recognizes runtime-created Codex PTY handles from the ready prompt; recognizes runtime-created Antigravity PTY handles from the ready prompt; recognizes live leaf Antigravity terminals from the ready prompt; recognizes a later Antigravity header with a prompt but no model line; keeps mobile terminal surfaces visible while their leaf handle is pending. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-02.spec.ts: lets Claude agents management titles clear stale runtime-created title status; does not recognize live Claude agents panes from a Claude foreground process; does not let stale tab-level agent titles override current neutral pane titles; lists live terminals with fresh pane titles over stale tab titles; lets adopted neutral pane titles use non-shell foreground fallback; lets adopted neutral pane titles retry wrapper foregrounds until recognized; authorizes settled CLI prompts only after positive %s foreground identity; does not recognize arbitrary foreground TUIs as running agents; lets live neutral pane titles retry wrapper foregrounds until recognized; lets current Claude agents PTY titles override stale runtime-created OSC titles; does not let stale Claude agents OSC titles suppress current PTY title activity. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status.spec.ts: keeps preallocated terminal handles valid across renderer reloads; preserves runtime-created PTY process identity after graph unavailable; keeps prompt bindings fenced across runtime restarts without provider incarnation; recognizes runtime-created PTY handles with agent launch titles; does not treat a bare Cursor Agent native title as a running agent session; uses stale runtime-created PTY status when there is no title or foreground evidence. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-07.spec.ts: keeps orphaned list and show writability aligned with the send gate. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-04.spec.ts: cancels a coalesced SSH worker recovery retry when its provider disconnects. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-03.spec.ts: retries renderer reveal before clearing an adopted legacy worker sleeping record. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-02.spec.ts: recovers exported ORCA_TERMINAL_HANDLE from discovered live PTY sessions. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-12.spec.ts: applies ANSI erase-from-start line controls in retained previews; applies ANSI stripping for private or intermediate CSI line controls; applies ANSI stripping for unsupported erase-line modes; reveals an agent terminal under the pane the caller reserved; keeps a fresh %s pane host-owned when a desktop window is available; keeps desktop publication %s separate from the reserved host spawn; mints its own pane when the reserved leaf is malformed, and reports the one it used; starts an agent terminal with the model the caller picked; starts an agent terminal without a model flag when no pick was made; attributes a startup-agent launch named %s as %s; attributes a fresh agent session the host builds as unknown; leaves a bare agent command the user typed out of launch attribution. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-11.spec.ts: trims oversized terminal output bursts without per-line array shifts; builds terminal previews without mapping the full retained tail; keeps recent PTY replay output capped without needing previous data for large chunks; applies terminal redraw controls before retaining previews; applies ANSI terminal redraw controls before retaining previews; retains multi-line ANSI footer redraws instead of appending old frames; keeps the cursor column when erasing full lines in multi-line redraws; applies ANSI split redraw controls without leaking raw params. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-10.spec.ts: returns renderer visible screen lines through terminal.read RPC JSON result; separates composer drafts from provider-owned terminal screens. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-09.spec.ts: reports an in-flight PTY focus as not navigated when its notifier disappears; reports graph-leaf focus as not navigated without a host notifier; grounds the provider mode tracker before a later chunk, in the emulator order; grounds an in-flight provider snapshot capture so it cannot publish the pre-reset screen; waits for terminal exit and resolves with the exit status; keeps terminal read payloads bounded while retained output remains pageable; trims terminal read preview character budget without per-line array shifts. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-08.spec.ts: submits a silent Claude composer once after the bounded render fallback; chunks large terminal.send text before provider writes; yields chunked terminal input through immediates between writes; yields while validating accepted large terminal.send text before provider writes; reveals a background terminal session when focusing its handle; replays captured launch config when focusing a background agent session; reveals background terminal sessions with the freshest PTY title; renames background terminal handles without requiring a visible tab; keeps a background terminal handle stable while reveal adoption is racing. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-07.spec.ts: resolves tui-idle when a stale Codex prompt is followed by Antigravity readiness; returns an agent-neutral blocked wait result for update prompts; returns an agent-neutral blocked wait result for workspace trust prompts; returns an agent-neutral blocked wait result for cwd selection prompts; returns a blocked wait result for Codex model migration prompts; returns a blocked wait result for Codex startup hook review prompts; returns an agent-neutral blocked wait result for generic interactive prompts; splits text and enter writes for background terminal handles; types the lead line for %s: %s; submits through the agent-specific PTY timing policy for %s. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-06.spec.ts: waits for exit on background terminal handles; keeps retained PTY transcript memory when controller refresh fails; resolves tui-idle from an Antigravity ready prompt preview; resolves Antigravity ready prompts with newline-heavy pasted tails without splitting; resolves live-leaf tui-idle from an Antigravity ready prompt preview. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-03.spec.ts: spawns the available Qoder command for a captured same-session resume: %s; does not use the local Windows shell setting for remote Windows bare agent creates; matches canonical bare agent commands when a command override is configured; keeps non-bare agent command terminal creates unchanged; keeps disabled bare agent command terminal creates unchanged; injects runtime hook receiver env into terminal sessions; creates background terminal sessions for a $label; creates background terminal sessions for a $label; enables Claude Agent Teams only for direct Claude launches when configured in-process; reveals Claude Agent Teams launches with the rewritten launch config; preserves Claude Agent Teams for sequenced Claude launches. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness.spec.ts: creates visible terminal sessions without asking the renderer to focus a tab; asks the pty controller for the requested shell instead of a startup command; knows the agent a flagged launch command names before any process read; retires a flagged command pane identity when the command exits; retires only receipted restored PTY authority on command completion and exit; forgets synthetic handles when disconnected PTY records are pruned. src/main/runtime/orca-runtime-tests/headless-snapshots.spec.ts: returns OSC titles from headless main terminal snapshots; adopts renderer-seeded titles into headless main terminal snapshots; returns cwd metadata from seeded headless main terminal snapshots; adopts OSC7 host metadata from seeded headless terminal scrollback; falls back to the renderer snapshot for hidden-output recovery without headless state; keeps an empty headless snapshot authoritative for hidden-output recovery; advances the absolute output sequence across a daemon stream gap; emits explicit OSC 9999 agent status from runtime PTY data. src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-02.spec.ts: falls back to the provider snapshot for a restored PTY with no mounted renderer; falls back to the available mirror when authoritative provider history is unavailable; keeps an empty renderer snapshot when the provider has no retained content; keeps restored provider history authoritative after later live output; uses provider alternate-screen state while a partial model is unsafe; prefers the tracked title over the headless emulator lastTitle; keeps the cursor-agent literal in record-fallback snapshots only without a tracker title; touches mobile snapshots once for decorative spinner ticks, again on idle. src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts: creates a same-repo PR branch override from a resolved head SHA and matching push target; skips broad remote fetch for an existing full-SHA PR base; creates a selected Bitbucket PR branch override from a matching remote branch; suffixes an existing PR when a matching push target lacks selected PR metadata; suffixes a matching push target branch when selected PR metadata has no PR number; suffixes a matching push target branch when the existing PR is different; suffixes a selected PR remote conflict when the PR lookup fails; checks out an unused runtime PR branch only when it is at the resolved head SHA; suffixes only the runtime worktree path when an exact PR branch checkout path exists. src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts: returns runtime local base update suggestions from addWorktree; creates a runtime local worktree from a usable persisted local branch base; does not create a runtime local worktree when the refresh fails and no local base ref exists; creates a branchNameOverride worktree from the selected matching remote base ref. Current changed source bytes, wrapper registrations and reduced selectors have no fresh execution or red/green credit. Unrelated surviving receipt objects keep their original narrow scope; current literal graph reachability does not establish historical import closure or equivalent replacement coverage. Current conservative command/import graph reaches src/main/runtime/construction/orca-runtime.test.ts, src/main/runtime/orca-runtime-tests/targeting-and-resilience.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts, src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases-part-02.spec.ts, src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases.spec.ts, src/main/runtime/orca-runtime-tests/worktree-setup-and-startup-part-03.spec.ts, src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts, src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-13.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-11.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-10.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-08.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-07.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-05.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-04.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-05.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-04.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-07.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-04.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-12.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-11.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-10.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-09.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-08.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-07.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-06.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness.spec.ts, src/main/runtime/orca-runtime-tests/headless-snapshots.spec.ts, src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-02.spec.ts, src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts, src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts. Unresolved local/computed edges remain explicit debt.", - "Audit2145 accepts removal of canned runtime metadata/guard/forwarding, fake in-memory persistence, private work-count and wrapper-duplication tests from the construction/orca-runtime.test.ts aggregate, plus the two automation run-context guards from runtime-workspace-launch-contracts.test.ts. Retained race, framing, physical completion and ownership callbacks remain byte-identical. Existing commands remain valid selectors; historical receipts stay unchanged and provide no fresh validation or replacement coverage for the reduced suites." + "Audit2145 accepts removal of canned runtime metadata/guard/forwarding, fake in-memory persistence, private work-count and wrapper-duplication tests from the construction/orca-runtime.test.ts aggregate, plus the two automation run-context guards from runtime-workspace-launch-contracts.test.ts. Retained race, framing, physical completion and ownership callbacks remain byte-identical. Existing commands remain valid selectors; historical receipts stay unchanged and provide no fresh validation or replacement coverage for the reduced suites.", + "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Original scope text is retained as the exact suffix of coverageNotes/oracle; historical evidence is unchanged." ], "demotionRule": "Demote or quarantine if the live harness flakes without a product bug or harness bug filed to the terminal-input owner." }, @@ -10852,7 +10505,7 @@ "providers": ["local", "daemon", "ssh", "wsl", "remote-runtime"], "coveredPlatforms": ["macos"], "coveredProviders": [], - "coverageNotes": "Audit2923 accepts loss of the first/replayed attested legacy worker_done CLI acceptance alarms, including exact send parameters, sender pane proof, lifecycle-wait flag and minted mutation identity. The removed fixture supplied settled runtime verdicts; it did not execute settlement authority, durable replay or outage recovery. Reduced selectors have no new execution, fault-control or equivalent replacement credit. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. NEXT136 retains only unchanged execution receipts at their original scopes. Reduced-source selectors and retained static assertions have no new execution or equivalent replacement credit.", + "coverageNotes": "Audit3429 composes root-adopted3426/independent3427: intentionally removes168 authored/205 potential expanded cases across16 semantic sources, deleting11 whole suites and one304line unused assertion helper. Five authored/five potential cases remain; the duplicate500k graph row is dropped while its50k row and callback remain. No equivalent replacement or fresh execution is claimed. The complete federation-lifecycle-settlement suite is removed, losing its fake remote settlement/protocol/acknowledgment examples. Its exact standalone command, testFiles entry and complete assertionRef are retired and prior fields archived. Existing receipts select unrelated migration and compiled CLI journeys and retain original scopes. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit2923 accepts loss of the first/replayed attested legacy worker_done CLI acceptance alarms, including exact send parameters, sender pane proof, lifecycle-wait flag and minted mutation identity. The removed fixture supplied settled runtime verdicts; it did not execute settlement authority, durable replay or outage recovery. Reduced selectors have no new execution, fault-control or equivalent replacement credit. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. NEXT136 retains only unchanged execution receipts at their original scopes. Reduced-source selectors and retained static assertions have no new execution or equivalent replacement credit.", "motivatingLinks": [ "https://github.com/stablyai/orca/pull/11107#discussion_r3663321387", "https://github.com/stablyai/orca/issues/13858", @@ -10862,13 +10515,12 @@ "https://linear.app/stably/issue/STA-4022" ], "invariant": "Starting a worker in the coordinator's current workspace must materialize one inactive terminal tab before worker-start returns, preserve coordinator focus, and remain exactly once after workspace re-entry. After an app update or restart, an exact live legacy worker must fence automatic provider resume, adopt its original PTY into its original background pane, retain readable output, and clear the resume record without spawning, writing, signalling, interrupting, replacing, or focusing the worker. A current-contract worker whose renderer graph identity is temporarily absent must retain its Dispatch capability and settle exactly once from exact hook-attested handle, pane, and process evidence; otherwise only an exact attested coordinator may take over. A worker_done caller may report success only after the owning runtime returns an explicit lifecycle verdict or authoritative reads prove that the exact Task, Dispatch, and worker report receipt settled the expected outcome. Federated terminal settlement must remain replay-eligible until the worker durably acknowledges it, and identical same-outcome retries must converge idempotently. Independently updated clients and worker servers must preserve the negotiated protocol: current peers use Run-home lifecycle settlement, while protocol v1/v2 peers retain their legacy completion path without receiving newer-only fields. A federated worker may accept only the authority defined by its negotiated protocol. An exact existing target workspace must receive a discoverable tab without stealing coordinator focus; if renderer reveal fails, worker-start must expose that the live worker remains background-only. Run and Dispatch checks must resolve through the caller's stable pane identity when a terminal handle is reminted, while a live handle outranks mismatched pane metadata. A nested worker's creator edge requires the current creator pane, process incarnation, and owning Run generation; reminting and rebinding that pane to another Run must remove the stale edge. Explicit legacy terminal inspection remains handle-scoped, and remote or headless worker presentation remains background-only.", - "oracle": "Audit2923 accepts loss of the first/replayed attested legacy worker_done CLI acceptance alarms, including exact send parameters, sender pane proof, lifecycle-wait flag and minted mutation identity. The removed fixture supplied settled runtime verdicts; it did not execute settlement authority, durable replay or outage recovery. Reduced selectors have no new execution, fault-control or equivalent replacement credit. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Retained assertion references and unchanged receipts keep their original scopes; retired callbacks and archived receipts provide no current coverage.", + "oracle": "Audit3429 composes root-adopted3426/independent3427: intentionally removes168 authored/205 potential expanded cases across16 semantic sources, deleting11 whole suites and one304line unused assertion helper. Five authored/five potential cases remain; the duplicate500k graph row is dropped while its50k row and callback remain. No equivalent replacement or fresh execution is claimed. The complete federation-lifecycle-settlement suite is removed, losing its fake remote settlement/protocol/acknowledgment examples. Its exact standalone command, testFiles entry and complete assertionRef are retired and prior fields archived. Existing receipts select unrelated migration and compiled CLI journeys and retain original scopes. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit2923 accepts loss of the first/replayed attested legacy worker_done CLI acceptance alarms, including exact send parameters, sender pane proof, lifecycle-wait flag and minted mutation identity. The removed fixture supplied settled runtime verdicts; it did not execute settlement authority, durable replay or outage recovery. Reduced selectors have no new execution, fault-control or equivalent replacement credit. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Retained assertion references and unchanged receipts keep their original scopes; retired callbacks and archived receipts provide no current coverage.", "commands": [ "ORCA_BACKGROUND_LAUNCH=1 npx vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/messaging/check-worker-federated-attachment.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/cli/handlers/orchestration.test.ts src/cli/handlers/orchestration-check-identity.test.ts src/cli/handlers/orchestration-worker-cli.test.ts src/main/runtime/rpc/methods/orchestration/worker/composed-workers.test.ts src/main/runtime/rpc/methods/orchestration/messaging/check.test.ts src/main/runtime/rpc/methods/orchestration/messaging/send.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/cli/handlers/orchestration-lifecycle-rejection.test.ts src/cli/handlers/orchestration-lifecycle-json-rejection.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/federation/federation.test.ts", - "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/federation/federation-lifecycle-settlement.test.ts --reporter=dot", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/orchestration/db/federation/federation-acknowledgment-migration.test.ts --reporter=dot", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts", "pnpm run test:e2e -- tests/e2e/orchestration-worker-terminal-visibility.spec.ts --workers=1", @@ -10886,7 +10538,6 @@ "src/main/runtime/rpc/methods/orchestration/messaging/check.test.ts", "src/main/runtime/rpc/methods/orchestration/messaging/send.test.ts", "src/main/runtime/rpc/methods/orchestration/federation/federation.test.ts", - "src/main/runtime/rpc/methods/orchestration/federation/federation-lifecycle-settlement.test.ts", "src/main/runtime/orchestration/db/federation/federation-acknowledgment-migration.test.ts", "tests/e2e/orchestration-worker-terminal-visibility.spec.ts", "tests/e2e/orchestration-worker-settlement-release-cli.spec.ts" @@ -10934,20 +10585,6 @@ "Dispatch delivery resolves through a stable worker pane after handle remint" ] }, - { - "file": "src/main/runtime/rpc/methods/orchestration/federation/federation-lifecycle-settlement.test.ts", - "assertions": [ - "a remote worker_done waits for Run-home settlement even when an older CLI omits the wait hint", - "a current Run home still completes reports from legacy protocol v1/v2 worker servers", - "persisted protocol v1/v2 workers retain legacy-compatible completion after their worker server updates", - "preexisting same-outcome terminal ACK batches settle atomically while conflicting outcomes acknowledge nothing", - "an aborted settlement wait returns operation_unknown instead of accepted success", - "a Run-home terminal verdict settles the remote attachment and revokes its capability", - "a terminal verdict cannot settle an unrelated relay item", - "a terminal verdict cannot contradict the exact queued worker report outcome", - "a rejected report replays its exact verdict without mutating durable rejection mail twice" - ] - }, { "file": "src/main/runtime/orchestration/db/federation/federation-acknowledgment-migration.test.ts", "assertions": [ @@ -11066,7 +10703,13 @@ "Audit2090 (sources2088/2089): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/mobile-session-tabs-windowless-sleep-resume.spec.ts: keeps the recorded permission flags of the launch it resumes; still refuses a session another pane also records; resumes in the pane with a window present too: main is the one executor; keeps the original provider and current retry intent through a refused main start; resumes once; a second open after it finished attaches to the same terminal; a reloaded window's open attaches to the terminal main started, never a second resume. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-05.spec.ts: defers live workers without exact controller identity evidence; defers an SSH folder legacy worker while its folder path is unavailable. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence.", "Audit2095 current-parent preparation2126 (approved2092/2093 removals; source refresh2109/independent2112): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-03.spec.ts: rejects exact terminal stop for multiple expected PTYs before stopping anything; omits stale renderer leaves when fresh PTY liveness is required; omits unbound renderer placeholders when fresh PTY liveness is required; captures the event method before the nested sleep receipt changes it; returns the close receipt without requiring a PTY stop; uses the same stop result as an empty explicit stop. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-04.spec.ts: builds a compact worktree summary from persisted and live runtime state; reads the linked-PR state from the renderer repoId-keyed GitHub cache; carries persisted worktree host ownership in mobile summaries; emits only instance- and boundary-validated lineage parents in mobile summaries; resolves WSL platforms only for repos represented in mobile summaries; omits worktrees hidden by the host visibility policy from mobile summaries; applies linked-checkout source visibility to mobile summaries. src/main/runtime/orca-runtime-tests/hooks-and-hosted-review-part-02.spec.ts: routes runtime GitHub PR details and actions through the selected WSL project runtime; passes SSH connection context through hosted review creation flows; routes local WSL project hosted review flows through runtime git options; treats SSH worktree drift as unknown without local git probes. src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts: emits one mobile session terminal tab per live PTY even if two tabs resolve to it; resolves projected split authority from the parent layout PTY binding; keeps explicit-id terminal lists from resolving all worktrees; keeps explicit-id cold-cache terminal lists from classifying unrelated same-repo worktrees; keeps unknown bare terminal-list ids on the no-scan exact-id path; matches explicit-id cwd PTYs for folder workspace instance IDs; routes PTY output through the PTY leaf index in large terminal graphs. src/main/runtime/orca-runtime-tests/window-authority.spec.ts: claims the first window as authoritative and ignores later windows; transfers authority from the headless sentinel to the first real window; relays terminal browser launches only while headless owns the graph; marks live headless PTYs for renderer reattach before desktop promotion; reports the activation gate state while no desktop window is available; bumps the epoch and enters reloading when the authoritative window reloads; can mark the graph ready for the authoritative window; drops back to unavailable and clears authority when the window disappears; hands the graph back to headless when a promoted serve window closes (#27292); keeps a crashed promoted serve renderer on its own window while the window is open; stays unavailable during initial loads before a graph is published. tests/e2e/automation-terminal-launch.unit.test.ts: launches explicit Chat for %s through the common entry and keeps its actual fallback; does not apply stored Terminal extras to Chat; forwards only complete Chat-consumed values, with no Terminal startup base; refuses an expired admission without minting another launch identity; records the actual chat identity and delegates new workspace setup and provenance. tests/e2e/github-project-provider-columns.unit.test.ts: renders %s through one bounded items request on a named cloud host; preserves zero and complete counters: %j; preserves populated and legacy rows through shared sorting, grouping and cells. tests/e2e/structured-agent-session-launch-continuation.unit.test.ts: carries renderer lifetime through host intent to the real %s provider builders. tests/e2e/terminal-account-restart.unit.test.ts: replaces a tombstoned owner while its persisted pane binding has not yet been cleared; paired restart retains the old owner (host authority: %s). tests/e2e/terminal-hidden-view-parking.spec.ts: does not park excluded tabs; reproduces a static frame byte-for-byte across 25 park/reveal cycles. tests/e2e/terminal-long-table-scroll-restore.spec.ts: reproduces long markdown table artifacts after workspace switch and scroll; keeps narrow wrapped signer markdown table coherent after restore and scroll; keeps real emoji markdown table right edge clean after restore and scroll. tests/e2e/terminal-long-table-fixtures.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-paste-ownership.spec.ts: Windows multiline keyboard paste normalizes terminal newlines with one PTY owner; right-click paste sends clipboard text to the focused terminal exactly once. tests/e2e/terminal-raw-emoji-table-scroll-restore.spec.ts: uses WebGL by default for ordinary terminal output when available @terminal-rendering-golden. tests/e2e/terminal-windows-shell-paste-ownership.spec.ts: cmd.exe default terminal keyboard paste preserves exact content with one PTY owner; Git Bash default terminal keyboard paste preserves POSIX-shaped content with one PTY owner; WSL terminal keyboard paste preserves Linux shell content with one PTY owner. tests/e2e/workspace-board-lane-virtualization.spec.ts: mounts a window of cards for a large lane and keeps lane indexes; renders later lane indexes after the lane scrolls. Current changed source bytes, wrapper registrations and reduced selectors have no fresh execution or red/green credit. Unrelated surviving receipt objects keep their original narrow scope; current literal graph reachability does not establish historical import closure or equivalent replacement coverage. Current conservative command/import graph reaches src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-04.spec.ts, src/main/runtime/orca-runtime-tests/hooks-and-hosted-review-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts, src/main/runtime/orca-runtime-tests/window-authority.spec.ts, tests/e2e/automation-terminal-launch.unit.test.ts, tests/e2e/github-project-provider-columns.unit.test.ts, tests/e2e/structured-agent-session-launch-continuation.unit.test.ts, tests/e2e/terminal-account-restart.unit.test.ts, tests/e2e/terminal-hidden-view-parking.spec.ts, tests/e2e/terminal-long-table-scroll-restore.spec.ts, tests/e2e/terminal-long-table-fixtures.ts, tests/e2e/terminal-paste-ownership.spec.ts, tests/e2e/terminal-raw-emoji-table-scroll-restore.spec.ts, tests/e2e/terminal-windows-shell-paste-ownership.spec.ts, tests/e2e/workspace-board-lane-virtualization.spec.ts. Unresolved local/computed edges remain explicit debt. Complete dated receipts with direct selectors or current literal graph reaching tests/e2e/automation-terminal-launch.unit.test.ts, tests/e2e/github-project-provider-columns.unit.test.ts, tests/e2e/structured-agent-session-launch-continuation.unit.test.ts, tests/e2e/terminal-account-restart.unit.test.ts, tests/e2e/terminal-hidden-view-parking.spec.ts, tests/e2e/terminal-long-table-scroll-restore.spec.ts, tests/e2e/terminal-long-table-fixtures.ts, tests/e2e/terminal-paste-ownership.spec.ts, tests/e2e/terminal-raw-emoji-table-scroll-restore.spec.ts, tests/e2e/terminal-windows-shell-paste-ownership.spec.ts, tests/e2e/workspace-board-lane-virtualization.spec.ts are retired below as historical raw objects; their counts do not validate reduced commands. Historical retired receipt verbatim:\n{\n \"date\": \"2026-07-28\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm run test:e2e -- tests/e2e/orchestration-worker-terminal-visibility.spec.ts --workers=1\",\n \"result\": \"passed\",\n \"durationSeconds\": 8.3,\n \"summary\": \"The isolated Electron journey passed with one live fake-agent spawn, no interruption events, stable PTY/incarnation/tab/leaf/worktree/Task/Dispatch identity, immediate inactive presentation, pane-stable ACK delivery, and exactly one tab after workspace re-entry.\"\n } Historical retired receipt verbatim:\n{\n \"date\": \"2026-07-28\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm run test:e2e -- tests/e2e/orchestration-legacy-worker-restart-recovery.spec.ts --workers=1\",\n \"result\": \"passed\",\n \"durationSeconds\": 12.6,\n \"summary\": \"The restart journey retained one daemon PTY and PID, adopted its exact original background pane, preserved readable ACK output and Task/Dispatch authority, cleared all resume state, and recorded no second spawn, resume argv, input, signal, interruption, or duplicate after workspace re-entry.\"\n }", "Audit2133 current-parent preparation (988 authored removals; independently reviewed2099/2107/2115/2116 decisions; upstream clear-buffer and recovery-image regressions retained): Intentionally retire these low-value alarms without replacement: src/main/runtime/construction/orca-runtime.test.ts: remove only literal registration import/call pairs await import('../orca-runtime-tests/worktree-setup-and-startup.spec'), await import('../orca-runtime-tests/gitlab-and-pr-bases.spec'); no additional authored credit. src/main/runtime/orca-runtime-tests/targeting-and-resilience.spec.ts: routes tab switch and capture start by explicit page id; accepts focus on tab switch without altering bridge args (focus is main-side concern); keeps terminal cwd resolution fail-soft when the provider is unavailable. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts: drops the bounded scan cache when orphan-cleanup removal completes; clears optimistic reconcile tokens when a CLI worktree removal succeeds; emits drift without mutating when the fetched base fast-forwards created HEAD; emits base_changed without mutation when the fetched base rewrote history; skips stale-token reconciles without mutating or emitting stale status; emits unknown without mutation when fetch fails or the base ref is missing. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts: routes runtime preserved-branch force-delete through the selected WSL project runtime; replies to a waiting client with the error of a delete that fails after acceptance; treats forced runtime deletion of an already-missing unregistered worktree as cleanup; treats normal runtime deletion of an already-missing unregistered worktree as cleanup. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts: warns that a missing-repo removal only forgot the workspace; restores runtime watchers when CLI worktree deletion fails after teardown; does not re-spend the drain budget on a removal after a wedged install was abandoned; routes runtime worktree removal through the selected WSL project runtime; force-deletes a branch that was preserved by runtime worktree removal. src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases-part-02.spec.ts: records GitLab pasted-project recents only after successful runtime lookup; threads explicit origin preference through runtime WSL PR base resolution; resolves local GitLab fork MR bases from the target project MR head ref; captures the fork MR head from a dedicated ref, not the shared FETCH_HEAD; keeps the durable MR head when the head fetch fails but the local ref resolves; routes runtime GitLab fork MR base git calls through the selected WSL project runtime. src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases.spec.ts: passes SSH connection ids through GitLab task operations; routes runtime GitLab issue, MR, work-item, and todo actions through the selected WSL project runtime; routes runtime GitLab MR details, review-management, job, and pasted URL actions through the selected WSL project runtime; normalizes runtime GitLab issue list arguments like the desktop IPC path. src/main/runtime/orca-runtime-tests/worktree-setup-and-startup-part-03.spec.ts: does not warn when setup is explicitly skipped for CLI-created worktrees; puts the agent a create starts in the first default tab, as the window does; keeps the 8s main-runtime startup readiness budget for agents without an override; gives OpenCode the 20s main-runtime startup readiness budget; launches explicit startup agents with prompts for CLI-created worktrees. src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts: returns a setup launch payload for CLI-created worktrees when hooks are explicitly enabled; does not hand the window a setup main never tried to start; passes the selected Windows setup shell into runtime runner generation; follows normal setup policy for CLI-created worktrees without activating them; uses returned WSL setup shell metadata when runtime spawns setup; uses the shell-aware setup runner for windowless creates without a startup command; reports the in-process setup hook as running when nothing can launch the runner. src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-02.spec.ts: coalesces two clients sleeping the same host worktree; stops exactly the expected live PTYs for a worktree; explains a refused workspace close instead of throwing the raw refusal enum. src/main/runtime/orca-runtime-tests/mobile-summaries-part-03.spec.ts: marks the desktop-active worktree as isActive; includes SSH-backed worktrees in the mobile worktree summary; caches repeated malformed path misses before normalizing them again. src/main/runtime/orca-runtime-tests/mobile-summaries-part-02.spec.ts: keeps title-only foreground work ahead of monitoring in another pane; keeps a local hook row while a connected PTY still backs its pane; keeps an OSC row via its connected PTY after the pane binding is cleared. src/main/runtime/orca-runtime-tests/mobile-summaries.spec.ts: resolves files through a source-visible linked-checkout worktree; marks saved session tabs with live PTYs as host sidebar activity; attributes live legacy PTYs from saved layout bindings when their panes are hidden; marks saved browser tabs as host sidebar activity like desktop; falls back to the path-keyed GitHub cache entry; includes folder workspaces in compact worktree summaries for mobile; attaches inline agent rows from the latest OSC 9999 status; projects monitoring over a title-derived working status. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-03.spec.ts: pushes to an idle pane when the only live waiter filters out the message type; resolves a registered waiter without PTY-injecting when the leaf is already idle; keeps already-idle status after tui-idle wait for immediate message delivery; resolves message waiters when notifyMessageArrived is called; does not resolve type-filtered message waiters for unrelated message types; removes message waiter abort listeners after message arrival; resolves message waiters on timeout when no message arrives. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-02.spec.ts: delivers pending mail via notifyMessageArrived when the recipient is already idle; does not keep retrying when every pending row was already pointed; repoints pending rows restored with a live-idle coordinator. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-13.spec.ts: rolls back a half-created terminal whose surface never publishes. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts: rejects startup prompts for agents that require post-ready stdin; uses portable Unix quoting for mobile agent launch commands in WSL project runtimes; keeps PowerShell quoting for mobile agent launch commands in Windows host runtimes; uses cmd.exe quoting for mobile agent launch commands in local Windows host runtimes; publishes headless mobile session agent identity with synthesized PTY status; rejects disabled mobile session agent launches before spawning; validates mobile terminal insertion anchors before resolving agent launch commands. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-11.spec.ts: coalesces a reconnect close burst onto one authoritative PTY inventory; keeps an explicit user close destructive while the PTY is live; builds mobile session agent launch commands on the runtime host; injects mobile quick-command prompts into the host-built agent startup command. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-10.spec.ts: closes persisted headless terminal parents before any prior list call; tears down a serve-owned headless tab on close while a renderer is attached so it cannot resurrect; defers a renderer-published pending tab to the renderer instead of tearing it down; returns a delegated close outcome with no selection tombstone when the renderer owns the outcome; tears down a runtime pending shell the renderer never adopted on close. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-08.spec.ts: materializes a plain shell when the pending tab has no launch agent; hydrates legacy persisted terminal tabs without layout entries; reads and indexes the full agent-status snapshot once per mobile projection; kills persisted SSH PTYs when closing hydrated headless tabs before pane metadata is restored; materializes hydrated pending headless terminals with the persisted session identity. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-07.spec.ts: hydrates a persisted SSH-owned pane before an attached renderer publishes its graph. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-05.spec.ts: publishes the desktop's tab name over the live agent title, and the live title without one; uses fresh neutral PTY titles over stale mobile snapshot and OSC titles; operates PTY-backed mobile session terminals without a renderer graph; reuses pane close for live PTYs that do not own a renderer tab; lists PTY-backed mobile session terminals without a renderer graph; shows and resolves active PTY-backed mobile session terminals without a renderer graph. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-04.spec.ts: creates mobile session terminals for folder workspaces in a headless runtime server; spawns fresh headless SSH mobile session terminals instead of reattaching synthetic local ids; hydrates headless mobile session terminals from the host workspace session; keeps live headless mobile session terminals when a desktop renderer publishes without them; publishes laptop-created remote runtime split terminals to phone session tabs. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-02.spec.ts: does not report headless wake degradation without sleeping records; does not wake slept agents for non-mobile session-only activation; does not rewrite unread metadata when a mobile activation finds the worktree already read; returns unread:false from worktree.ps after a mobile activation clears the flag; materializes pending mobile session terminals without focusing desktop clients; closes browser mobile session tabs when addressed by browser workspace id. src/main/runtime/orca-runtime-tests/mobile-session-tabs.spec.ts: resolves mobile terminal surfaces by exact split leaf; closes the matching mobile terminal UUID leaf without closing the whole tab; closes the whole mobile terminal tab when addressed by parent tab id; activates the active split leaf when addressed by parent tab id; clears unread metadata on mobile worktree activation without focusing desktop clients; wakes slept agents on the host renderer when a phone activates a worktree. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-05.spec.ts: publishes the hook provider session on a headless mobile tab so native chat can address the transcript; recovers the agent type from the hook row when the pane was launched without an agent hint; reads one agent-status snapshot per projection, not one per terminal tab; waits for unknown-launch foreground owner before publishing Pi-compatible mobile status; keeps Pi-compatible mobile session status as Pi for an unknown-launch foreground pi PTY; keeps renderer-vetted mobile agent status for custom-titled terminals. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-04.spec.ts: publishes terminal surface agent status for paired web clients; preserves authoritative OMP identity for Pi-compatible remote terminal snapshots; normalizes a remote OMP title without republishing omitted launch identity; skips the foreground-process probe when the PTY launch agent is already known; probes the foreground process only on a status transition for unknown launch agents; passes the client signal and the slept-worktree refusal to the spawn. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts: does not use stale runtime-created PTY status when a neutral PTY title exists; recognizes runtime-created Codex PTY handles from the ready prompt; recognizes runtime-created Antigravity PTY handles from the ready prompt; recognizes live leaf Antigravity terminals from the ready prompt; recognizes a later Antigravity header with a prompt but no model line; keeps mobile terminal surfaces visible while their leaf handle is pending. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-02.spec.ts: lets Claude agents management titles clear stale runtime-created title status; does not recognize live Claude agents panes from a Claude foreground process; does not let stale tab-level agent titles override current neutral pane titles; lists live terminals with fresh pane titles over stale tab titles; lets adopted neutral pane titles use non-shell foreground fallback; lets adopted neutral pane titles retry wrapper foregrounds until recognized; authorizes settled CLI prompts only after positive %s foreground identity; does not recognize arbitrary foreground TUIs as running agents; lets live neutral pane titles retry wrapper foregrounds until recognized; lets current Claude agents PTY titles override stale runtime-created OSC titles; does not let stale Claude agents OSC titles suppress current PTY title activity. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status.spec.ts: keeps preallocated terminal handles valid across renderer reloads; preserves runtime-created PTY process identity after graph unavailable; keeps prompt bindings fenced across runtime restarts without provider incarnation; recognizes runtime-created PTY handles with agent launch titles; does not treat a bare Cursor Agent native title as a running agent session; uses stale runtime-created PTY status when there is no title or foreground evidence. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-07.spec.ts: keeps orphaned list and show writability aligned with the send gate. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-04.spec.ts: cancels a coalesced SSH worker recovery retry when its provider disconnects. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-03.spec.ts: retries renderer reveal before clearing an adopted legacy worker sleeping record. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-02.spec.ts: recovers exported ORCA_TERMINAL_HANDLE from discovered live PTY sessions. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-12.spec.ts: applies ANSI erase-from-start line controls in retained previews; applies ANSI stripping for private or intermediate CSI line controls; applies ANSI stripping for unsupported erase-line modes; reveals an agent terminal under the pane the caller reserved; keeps a fresh %s pane host-owned when a desktop window is available; keeps desktop publication %s separate from the reserved host spawn; mints its own pane when the reserved leaf is malformed, and reports the one it used; starts an agent terminal with the model the caller picked; starts an agent terminal without a model flag when no pick was made; attributes a startup-agent launch named %s as %s; attributes a fresh agent session the host builds as unknown; leaves a bare agent command the user typed out of launch attribution. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-11.spec.ts: trims oversized terminal output bursts without per-line array shifts; builds terminal previews without mapping the full retained tail; keeps recent PTY replay output capped without needing previous data for large chunks; applies terminal redraw controls before retaining previews; applies ANSI terminal redraw controls before retaining previews; retains multi-line ANSI footer redraws instead of appending old frames; keeps the cursor column when erasing full lines in multi-line redraws; applies ANSI split redraw controls without leaking raw params. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-10.spec.ts: returns renderer visible screen lines through terminal.read RPC JSON result; separates composer drafts from provider-owned terminal screens. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-09.spec.ts: reports an in-flight PTY focus as not navigated when its notifier disappears; reports graph-leaf focus as not navigated without a host notifier; grounds the provider mode tracker before a later chunk, in the emulator order; grounds an in-flight provider snapshot capture so it cannot publish the pre-reset screen; waits for terminal exit and resolves with the exit status; keeps terminal read payloads bounded while retained output remains pageable; trims terminal read preview character budget without per-line array shifts. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-08.spec.ts: submits a silent Claude composer once after the bounded render fallback; chunks large terminal.send text before provider writes; yields chunked terminal input through immediates between writes; yields while validating accepted large terminal.send text before provider writes; reveals a background terminal session when focusing its handle; replays captured launch config when focusing a background agent session; reveals background terminal sessions with the freshest PTY title; renames background terminal handles without requiring a visible tab; keeps a background terminal handle stable while reveal adoption is racing. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-07.spec.ts: resolves tui-idle when a stale Codex prompt is followed by Antigravity readiness; returns an agent-neutral blocked wait result for update prompts; returns an agent-neutral blocked wait result for workspace trust prompts; returns an agent-neutral blocked wait result for cwd selection prompts; returns a blocked wait result for Codex model migration prompts; returns a blocked wait result for Codex startup hook review prompts; returns an agent-neutral blocked wait result for generic interactive prompts; splits text and enter writes for background terminal handles; types the lead line for %s: %s; submits through the agent-specific PTY timing policy for %s. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-06.spec.ts: waits for exit on background terminal handles; keeps retained PTY transcript memory when controller refresh fails; resolves tui-idle from an Antigravity ready prompt preview; resolves Antigravity ready prompts with newline-heavy pasted tails without splitting; resolves live-leaf tui-idle from an Antigravity ready prompt preview. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-03.spec.ts: spawns the available Qoder command for a captured same-session resume: %s; does not use the local Windows shell setting for remote Windows bare agent creates; matches canonical bare agent commands when a command override is configured; keeps non-bare agent command terminal creates unchanged; keeps disabled bare agent command terminal creates unchanged; injects runtime hook receiver env into terminal sessions; creates background terminal sessions for a $label; creates background terminal sessions for a $label; enables Claude Agent Teams only for direct Claude launches when configured in-process; reveals Claude Agent Teams launches with the rewritten launch config; preserves Claude Agent Teams for sequenced Claude launches. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness.spec.ts: creates visible terminal sessions without asking the renderer to focus a tab; asks the pty controller for the requested shell instead of a startup command; knows the agent a flagged launch command names before any process read; retires a flagged command pane identity when the command exits; retires only receipted restored PTY authority on command completion and exit; forgets synthetic handles when disconnected PTY records are pruned. src/main/runtime/orca-runtime-tests/headless-snapshots.spec.ts: returns OSC titles from headless main terminal snapshots; adopts renderer-seeded titles into headless main terminal snapshots; returns cwd metadata from seeded headless main terminal snapshots; adopts OSC7 host metadata from seeded headless terminal scrollback; falls back to the renderer snapshot for hidden-output recovery without headless state; keeps an empty headless snapshot authoritative for hidden-output recovery; advances the absolute output sequence across a daemon stream gap; emits explicit OSC 9999 agent status from runtime PTY data. src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-02.spec.ts: falls back to the provider snapshot for a restored PTY with no mounted renderer; falls back to the available mirror when authoritative provider history is unavailable; keeps an empty renderer snapshot when the provider has no retained content; keeps restored provider history authoritative after later live output; uses provider alternate-screen state while a partial model is unsafe; prefers the tracked title over the headless emulator lastTitle; keeps the cursor-agent literal in record-fallback snapshots only without a tracker title; touches mobile snapshots once for decorative spinner ticks, again on idle. src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts: creates a same-repo PR branch override from a resolved head SHA and matching push target; skips broad remote fetch for an existing full-SHA PR base; creates a selected Bitbucket PR branch override from a matching remote branch; suffixes an existing PR when a matching push target lacks selected PR metadata; suffixes a matching push target branch when selected PR metadata has no PR number; suffixes a matching push target branch when the existing PR is different; suffixes a selected PR remote conflict when the PR lookup fails; checks out an unused runtime PR branch only when it is at the resolved head SHA; suffixes only the runtime worktree path when an exact PR branch checkout path exists. src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts: returns runtime local base update suggestions from addWorktree; creates a runtime local worktree from a usable persisted local branch base; does not create a runtime local worktree when the refresh fails and no local base ref exists; creates a branchNameOverride worktree from the selected matching remote base ref. tests/e2e/claude-agent-row-view.unit.test.ts: updates a mounted compact workflow description through the subscribed production parent; bounds upstream active-SSH visits for $population records, fallback=$fallback; derives %s destinations without requiring type or a workflow child ID; terminates a $path parent $status with no third request or intermediate toast; does not recover a first child %s. tests/e2e/cross-version-wire/agent-permission-legacy-spawn.unit.test.ts: keeps exact legacy ordering when structured creation cannot express afterTabId; can create a terminal without selecting the target worktree; preserves the legacy fresh-agent path when host authority is unavailable. tests/e2e/paired-instant-browser-tab.spec.ts: shows a paired browser tab before its create RPC resolves, then keeps it as one tab; adopts a paired browser tab without rebuilding its chrome. tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts: bounds host publication and renderer application across remote worktrees; globally caps decorative freshness while every working status stays fresh. tests/e2e/session-tabs/mobile-session-active-performance.unit.test.ts: bounds saved-order publication selection at N and 10N without rematerializing navigation; bounds admitted placement reconciliation during supported reads at N and 10N; bounds selection input visits at 50 and 500 rows, including unavailable-target projection; keeps publication scoped to a changed worktree and shared by listeners at N and 10N; bounds preserved-chat merge and runtime-owned hydration at N and 10N (legacy=%s); bounds actual native retirement and shared delivery work at N and 10N. tests/e2e/session-tabs/mobile-session-active-publication.unit.test.ts: does not substitute a preserved row for an unavailable explicit legacy selection; resolves main-layout group selection %s (omitted group=%s). tests/e2e/structured-agent-session-launch-admission.unit.test.ts: opens a direct caller's terminal with the caller's own CLI arguments on a decline; opens the chat on the server that admitted it; opens only the terminal when this machine declines, without a notice; opens a new agent tab's terminal with the typed prompt when the caller names none; opens the chat, not a terminal, when this machine cannot resolve a new workspace yet; keeps its terminal fallback, as before. tests/e2e/structured-attention-prompt-relay.unit.test.ts: settles once per relayed prompt, not on every later status update. tests/e2e/structured-attention-read-retirement.unit.test.ts: Mark read on a chat never opened withdraws the prompt alert it surfaced; Mark read on a chat hidden since an earlier view covers the newer prompt it surfaced; reads a newly accepted visible prompt without sending an RPC for text-only updates. tests/e2e/structured-chat-tab-lifetime-cost.unit.test.ts: counts real raw stores, unrelated window publications and captured cleanup at %i chats; counts complete supplied-member sweep and separate final retirement at S=%i N=%i. tests/e2e/structured-session-workspace-authority.unit.test.ts: bounds actual target reveal across %i repo roots and metadata aliases. tests/e2e/terminal-agent-pane-launch.unit.test.ts: starts the host's planned command once, at the pane's size, and says it started; plans a pane whose prompt the window submits without the startup update prompt; preserves caller shell-ready delivery only for a connection-scoped adapter ($connectionId); starts no shell on plan failure (original failure: $returnLaunchFailure); cannot confirm a start whose provider answer was lost. tests/e2e/terminal-parked-memory.spec.ts: releases renderer terminal memory when hidden tabs park. tests/e2e/terminal-shortcuts.spec.ts: @headful Codex-like background output stays visible without disabling WebGL in auto mode; Shift with Russian layout text reaches the PTY as Cyrillic under kitty keyboard reporting. tests/e2e/terminal-split-activation-latency.spec.ts: records attributed CWD, spawn, bind, fixture-ready, input, and echo phases. tests/e2e/terminal-split-activation-latency-phases.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-main-probe.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-artifact.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-report.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-tab-switch-visual-restore.spec.ts: restores skipped hidden Grok output on light tab resume. tests/e2e/web-runtime-session-terminal-host-authority.unit.test.ts: delivers independent %s effort through the real prepared web callback; keeps same-ID local and runtime worktrees on the selected runtime owner; creates paired web agents through host authority so activation is mirrored; delivers generated continuation context after host-authoritative creation; seeds the chat composer for a draft that rode in on the launch command. Current changed source bytes, wrapper registrations and reduced selectors have no fresh execution or red/green credit. Unrelated surviving receipt objects keep their original narrow scope; current literal graph reachability does not establish historical import closure or equivalent replacement coverage. Current conservative command/import graph reaches src/main/runtime/construction/orca-runtime.test.ts, src/main/runtime/orca-runtime-tests/targeting-and-resilience.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts, src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases-part-02.spec.ts, src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases.spec.ts, src/main/runtime/orca-runtime-tests/worktree-setup-and-startup-part-03.spec.ts, src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts, src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-13.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-11.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-10.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-08.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-07.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-05.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-04.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-05.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-04.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-07.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-04.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-12.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-11.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-10.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-09.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-08.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-07.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-06.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness.spec.ts, src/main/runtime/orca-runtime-tests/headless-snapshots.spec.ts, src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-02.spec.ts, src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts, src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts, tests/e2e/claude-agent-row-view.unit.test.ts, tests/e2e/cross-version-wire/agent-permission-legacy-spawn.unit.test.ts, tests/e2e/paired-instant-browser-tab.spec.ts, tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts, tests/e2e/session-tabs/mobile-session-active-performance.unit.test.ts, tests/e2e/session-tabs/mobile-session-active-publication.unit.test.ts, tests/e2e/structured-agent-session-launch-admission.unit.test.ts, tests/e2e/structured-attention-prompt-relay.unit.test.ts, tests/e2e/structured-attention-read-retirement.unit.test.ts, tests/e2e/structured-chat-tab-lifetime-cost.unit.test.ts, tests/e2e/structured-session-workspace-authority.unit.test.ts, tests/e2e/terminal-agent-pane-launch.unit.test.ts, tests/e2e/terminal-parked-memory.spec.ts, tests/e2e/terminal-shortcuts.spec.ts, tests/e2e/terminal-split-activation-latency.spec.ts, tests/e2e/terminal-split-activation-latency-phases.ts, tests/e2e/terminal-split-activation-latency-main-probe.ts, tests/e2e/terminal-split-activation-latency-artifact.ts, tests/e2e/terminal-split-activation-latency-report.ts, tests/e2e/terminal-tab-switch-visual-restore.spec.ts, tests/e2e/web-runtime-session-terminal-host-authority.unit.test.ts. Unresolved local/computed edges remain explicit debt.", - "Audit2145 accepts removal of canned runtime metadata/guard/forwarding, fake in-memory persistence, private work-count and wrapper-duplication tests from the construction/orca-runtime.test.ts aggregate, plus the two automation run-context guards from runtime-workspace-launch-contracts.test.ts. Retained race, framing, physical completion and ownership callbacks remain byte-identical. Existing commands remain valid selectors; historical receipts stay unchanged and provide no fresh validation or replacement coverage for the reduced suites." + "Audit2145 accepts removal of canned runtime metadata/guard/forwarding, fake in-memory persistence, private work-count and wrapper-duplication tests from the construction/orca-runtime.test.ts aggregate, plus the two automation run-context guards from runtime-workspace-launch-contracts.test.ts. Retained race, framing, physical completion and ownership callbacks remain byte-identical. Existing commands remain valid selectors; historical receipts stay unchanged and provide no fresh validation or replacement coverage for the reduced suites.", + "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed.\nOriginal active selector fields (historical raw native JSON values; not current coverage):\ncommands: [\n \"ORCA_BACKGROUND_LAUNCH=1 npx vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/messaging/check-worker-federated-attachment.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/cli/handlers/orchestration.test.ts src/cli/handlers/orchestration-check-identity.test.ts src/cli/handlers/orchestration-worker-cli.test.ts src/main/runtime/rpc/methods/orchestration/worker/composed-workers.test.ts src/main/runtime/rpc/methods/orchestration/messaging/check.test.ts src/main/runtime/rpc/methods/orchestration/messaging/send.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/cli/handlers/orchestration-lifecycle-rejection.test.ts src/cli/handlers/orchestration-lifecycle-json-rejection.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/federation/federation.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/federation/federation-lifecycle-settlement.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/orchestration/db/federation/federation-acknowledgment-migration.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts\",\n \"pnpm run test:e2e -- tests/e2e/orchestration-worker-terminal-visibility.spec.ts --workers=1\",\n \"pnpm run build:cli && SKIP_BUILD=1 pnpm exec playwright test tests/e2e/orchestration-worker-settlement-release-cli.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\"\n ]\ntestFiles: [\n \"src/main/runtime/rpc/methods/orchestration/messaging/check-worker-federated-attachment.test.ts\",\n \"src/main/runtime/construction/orca-runtime.test.ts\",\n \"src/cli/handlers/orchestration.test.ts\",\n \"src/cli/handlers/orchestration-lifecycle-rejection.test.ts\",\n \"src/cli/handlers/orchestration-lifecycle-json-rejection.test.ts\",\n \"src/cli/handlers/orchestration-check-identity.test.ts\",\n \"src/cli/handlers/orchestration-worker-cli.test.ts\",\n \"src/main/runtime/rpc/methods/orchestration/worker/composed-workers.test.ts\",\n \"src/main/runtime/rpc/methods/orchestration/messaging/check.test.ts\",\n \"src/main/runtime/rpc/methods/orchestration/messaging/send.test.ts\",\n \"src/main/runtime/rpc/methods/orchestration/federation/federation.test.ts\",\n \"src/main/runtime/rpc/methods/orchestration/federation/federation-lifecycle-settlement.test.ts\",\n \"src/main/runtime/orchestration/db/federation/federation-acknowledgment-migration.test.ts\",\n \"tests/e2e/orchestration-worker-terminal-visibility.spec.ts\",\n \"tests/e2e/orchestration-worker-settlement-release-cli.spec.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/main/runtime/rpc/methods/orchestration/messaging/check-worker-federated-attachment.test.ts\",\n \"assertions\": [\n \"replays the coordinator instruction and takes its ack after the app restarts\",\n \"files loopback mail once under the local Dispatch Run without replacing its owner\"\n ]\n },\n {\n \"file\": \"src/cli/handlers/orchestration-lifecycle-rejection.test.ts\",\n \"assertions\": [\n \"an explicit current worker_done verdict completes without a compatibility read\",\n \"a worker_done response without a lifecycle verdict checks the exact authoritative Dispatch and report receipt\",\n \"legacy succeeded and failed reports require matching terminal Task and Dispatch state\",\n \"stopped or stale Dispatches cannot impersonate report settlement\",\n \"an idempotent retry accepts the first authoritative report from the same worker\",\n \"a Run-home relay rejection reaches the CLI error boundary\"\n ]\n },\n {\n \"file\": \"src/cli/handlers/orchestration-lifecycle-json-rejection.test.ts\",\n \"assertions\": [\"a rejected lifecycle verdict is emitted as a JSON ok=false envelope\"]\n },\n {\n \"file\": \"src/cli/handlers/orchestration-check-identity.test.ts\",\n \"assertions\": [\n \"implicit check carries the caller pane key with a potentially stale environment handle\",\n \"explicit legacy terminal inspection does not inherit the caller pane key\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/methods/orchestration/messaging/check.test.ts\",\n \"assertions\": [\n \"Run delivery resolves through a stable coordinator pane after handle remint\",\n \"a live handle cannot be retargeted by mismatched pane metadata\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/methods/orchestration/messaging/send.test.ts\",\n \"assertions\": [\n \"Dispatch delivery resolves through a stable worker pane after handle remint\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/methods/orchestration/federation/federation-lifecycle-settlement.test.ts\",\n \"assertions\": [\n \"a remote worker_done waits for Run-home settlement even when an older CLI omits the wait hint\",\n \"a current Run home still completes reports from legacy protocol v1/v2 worker servers\",\n \"persisted protocol v1/v2 workers retain legacy-compatible completion after their worker server updates\",\n \"preexisting same-outcome terminal ACK batches settle atomically while conflicting outcomes acknowledge nothing\",\n \"an aborted settlement wait returns operation_unknown instead of accepted success\",\n \"a Run-home terminal verdict settles the remote attachment and revokes its capability\",\n \"a terminal verdict cannot settle an unrelated relay item\",\n \"a terminal verdict cannot contradict the exact queued worker report outcome\",\n \"a rejected report replays its exact verdict without mutating durable rejection mail twice\"\n ]\n },\n {\n \"file\": \"src/main/runtime/orchestration/db/federation/federation-acknowledgment-migration.test.ts\",\n \"assertions\": [\n \"a v26 database gains a zeroed durable home-to-worker acknowledgment watermark\",\n \"a complete v26 database starts migration at v26 rather than replaying v7-v26\",\n \"the migration advances schema version without losing the imported relay cursor\"\n ]\n },\n {\n \"file\": \"tests/e2e/orchestration-worker-terminal-visibility.spec.ts\",\n \"assertions\": [\n \"worker-start exposes one inactive worker tab before workspace navigation\",\n \"the coordinator tab remains active\",\n \"ACK delivery reaches a stable coordinator pane through a stale handle\",\n \"one spawn remains live with no interruption event\",\n \"PTY/incarnation, tab, leaf, worktree, Task, and Dispatch identities remain stable\",\n \"workspace re-entry does not duplicate the worker tab or print Conversation interrupted\"\n ]\n },\n {\n \"file\": \"tests/e2e/orchestration-worker-settlement-release-cli.spec.ts\",\n \"assertions\": [\n \"a compiled CLI worker_done with the wrong identity exits nonzero with ok=false\",\n \"the exact Task and Dispatch remain dispatched after rejection\",\n \"the correct worker identity receives an explicit completed lifecycle verdict\",\n \"an independent runtime read observes the Dispatch completed\"\n ]\n }\n ]", + "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. Original scope text is retained as the exact suffix of coverageNotes/oracle; historical evidence is unchanged.", + "Audit3429 composes root-adopted3426/independent3427: intentionally removes168 authored/205 potential expanded cases across16 semantic sources, deleting11 whole suites and one304line unused assertion helper. Five authored/five potential cases remain; the duplicate500k graph row is dropped while its50k row and callback remain. No equivalent replacement or fresh execution is claimed. The complete federation-lifecycle-settlement suite is removed, losing its fake remote settlement/protocol/acknowledgment examples. Its exact standalone command, testFiles entry and complete assertionRef are retired and prior fields archived. Existing receipts select unrelated migration and compiled CLI journeys and retain original scopes. All prior notes and dated/archived evidence retain original scopes.", + "Complete prior commands before federation-lifecycle suite retirement: [\"ORCA_BACKGROUND_LAUNCH=1 npx vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/messaging/check-worker-federated-attachment.test.ts\",\"pnpm exec vitest run --config config/vitest.config.ts src/cli/handlers/orchestration.test.ts src/cli/handlers/orchestration-check-identity.test.ts src/cli/handlers/orchestration-worker-cli.test.ts src/main/runtime/rpc/methods/orchestration/worker/composed-workers.test.ts src/main/runtime/rpc/methods/orchestration/messaging/check.test.ts src/main/runtime/rpc/methods/orchestration/messaging/send.test.ts\",\"pnpm exec vitest run --config config/vitest.config.ts src/cli/handlers/orchestration-lifecycle-rejection.test.ts src/cli/handlers/orchestration-lifecycle-json-rejection.test.ts\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/federation/federation.test.ts\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/federation/federation-lifecycle-settlement.test.ts --reporter=dot\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/orchestration/db/federation/federation-acknowledgment-migration.test.ts --reporter=dot\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/construction/orca-runtime.test.ts\",\"pnpm run test:e2e -- tests/e2e/orchestration-worker-terminal-visibility.spec.ts --workers=1\",\"pnpm run build:cli && SKIP_BUILD=1 pnpm exec playwright test tests/e2e/orchestration-worker-settlement-release-cli.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\"]", + "Complete prior testFiles before federation-lifecycle suite retirement: [\"src/main/runtime/rpc/methods/orchestration/messaging/check-worker-federated-attachment.test.ts\",\"src/main/runtime/construction/orca-runtime.test.ts\",\"src/cli/handlers/orchestration.test.ts\",\"src/cli/handlers/orchestration-lifecycle-rejection.test.ts\",\"src/cli/handlers/orchestration-lifecycle-json-rejection.test.ts\",\"src/cli/handlers/orchestration-check-identity.test.ts\",\"src/cli/handlers/orchestration-worker-cli.test.ts\",\"src/main/runtime/rpc/methods/orchestration/worker/composed-workers.test.ts\",\"src/main/runtime/rpc/methods/orchestration/messaging/check.test.ts\",\"src/main/runtime/rpc/methods/orchestration/messaging/send.test.ts\",\"src/main/runtime/rpc/methods/orchestration/federation/federation.test.ts\",\"src/main/runtime/rpc/methods/orchestration/federation/federation-lifecycle-settlement.test.ts\",\"src/main/runtime/orchestration/db/federation/federation-acknowledgment-migration.test.ts\",\"tests/e2e/orchestration-worker-terminal-visibility.spec.ts\",\"tests/e2e/orchestration-worker-settlement-release-cli.spec.ts\"]", + "Complete prior assertionRefs before federation-lifecycle suite retirement: [{\"file\":\"src/main/runtime/rpc/methods/orchestration/messaging/check-worker-federated-attachment.test.ts\",\"assertions\":[\"replays the coordinator instruction and takes its ack after the app restarts\",\"files loopback mail once under the local Dispatch Run without replacing its owner\"]},{\"file\":\"src/cli/handlers/orchestration-lifecycle-rejection.test.ts\",\"assertions\":[\"an explicit current worker_done verdict completes without a compatibility read\",\"a worker_done response without a lifecycle verdict checks the exact authoritative Dispatch and report receipt\",\"legacy succeeded and failed reports require matching terminal Task and Dispatch state\",\"stopped or stale Dispatches cannot impersonate report settlement\",\"an idempotent retry accepts the first authoritative report from the same worker\",\"a Run-home relay rejection reaches the CLI error boundary\"]},{\"file\":\"src/cli/handlers/orchestration-lifecycle-json-rejection.test.ts\",\"assertions\":[\"a rejected lifecycle verdict is emitted as a JSON ok=false envelope\"]},{\"file\":\"src/cli/handlers/orchestration-check-identity.test.ts\",\"assertions\":[\"implicit check carries the caller pane key with a potentially stale environment handle\",\"explicit legacy terminal inspection does not inherit the caller pane key\"]},{\"file\":\"src/main/runtime/rpc/methods/orchestration/messaging/check.test.ts\",\"assertions\":[\"Run delivery resolves through a stable coordinator pane after handle remint\",\"a live handle cannot be retargeted by mismatched pane metadata\"]},{\"file\":\"src/main/runtime/rpc/methods/orchestration/messaging/send.test.ts\",\"assertions\":[\"Dispatch delivery resolves through a stable worker pane after handle remint\"]},{\"file\":\"src/main/runtime/rpc/methods/orchestration/federation/federation-lifecycle-settlement.test.ts\",\"assertions\":[\"a remote worker_done waits for Run-home settlement even when an older CLI omits the wait hint\",\"a current Run home still completes reports from legacy protocol v1/v2 worker servers\",\"persisted protocol v1/v2 workers retain legacy-compatible completion after their worker server updates\",\"preexisting same-outcome terminal ACK batches settle atomically while conflicting outcomes acknowledge nothing\",\"an aborted settlement wait returns operation_unknown instead of accepted success\",\"a Run-home terminal verdict settles the remote attachment and revokes its capability\",\"a terminal verdict cannot settle an unrelated relay item\",\"a terminal verdict cannot contradict the exact queued worker report outcome\",\"a rejected report replays its exact verdict without mutating durable rejection mail twice\"]},{\"file\":\"src/main/runtime/orchestration/db/federation/federation-acknowledgment-migration.test.ts\",\"assertions\":[\"a v26 database gains a zeroed durable home-to-worker acknowledgment watermark\",\"a complete v26 database starts migration at v26 rather than replaying v7-v26\",\"the migration advances schema version without losing the imported relay cursor\"]},{\"file\":\"tests/e2e/orchestration-worker-terminal-visibility.spec.ts\",\"assertions\":[\"worker-start exposes one inactive worker tab before workspace navigation\",\"the coordinator tab remains active\",\"ACK delivery reaches a stable coordinator pane through a stale handle\",\"one spawn remains live with no interruption event\",\"PTY/incarnation, tab, leaf, worktree, Task, and Dispatch identities remain stable\",\"workspace re-entry does not duplicate the worker tab or print Conversation interrupted\"]},{\"file\":\"tests/e2e/orchestration-worker-settlement-release-cli.spec.ts\",\"assertions\":[\"a compiled CLI worker_done with the wrong identity exits nonzero with ok=false\",\"the exact Task and Dispatch remain dispatched after rejection\",\"the correct worker identity receives an explicit completed lifecycle verdict\",\"an independent runtime read observes the Dispatch completed\"]}]" ], "demotionRule": "Keep experimental or demote if either Electron journey flakes without a product or harness defect, if local worker-start can return before tab materialization without an explicit reveal warning, if focus moves to the worker, if restart or workspace re-entry spawns/resumes/duplicates/interferes with the worker, if retained output becomes unreadable, or if pane-stable delivery reads the wrong mailbox." }, @@ -11198,7 +10841,7 @@ "providers": ["local", "daemon", "ssh", "wsl", "remote-runtime"], "coveredPlatforms": ["macos"], "coveredProviders": [], - "coverageNotes": "Audit2003: Remove3 preexisting unsupported320-live-PTY,400-retirement/256-history and replacement-lifecycle aliases from the inventory driver: neither its frozen original imported registrars nor proposed candidate owns those callbacks. This metadata correction adds no test-removal credit. The driver loses the empty-worktree-publication suite and3 folder-host/unverifiable scalar examples while retaining concurrent inventory freshness and provider-failure verdict fences. The retained inventory callbacks are not terminal-release, historical-cache capacity or performance-budget replacement coverage. Preserve the independent compiled-CLI Electron receipt exactly. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Remove unsupported user-taken-over, transferred-owner, exact-reuse, host-scope, immutable-transcript, legacy-ambiguity, reset and50-worker aliases from their claimed sources. Remove the deleted pending-release ledger replay alias. Narrow surviving external-retention and recovery aliases to actual retained callbacks; no transfer to another file or process-restart proof. Preserve the independent receipt. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1959 (sources 1955:34): Pruning removes unsupported-provider/out-of-range scalar refusals and the single Grok happy decoder fixture. Retain actual file cursor append/paging, same-inode checkpoint invalidation, opaque IDs and oversized-line progress. Retire the complete dated 3.48s combined receipt through its effective currentCommand, without changing its original command or transferring its 56-test result. Unchanged CLI/Electron receipt retains its independent scope. No historical passed receipt is narrowed or transferred to changed source bytes. No fresh execution, equivalent replacement, physical provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed by this metadata packet. Historical prior account (preserved verbatim): Audit1379 changes src/main/runtime/orca-runtime-process-incarnation-liveness.test.ts (7 authored registrations removed; 0 retained). Intentional losses: Loses supplied host lists and record states mapped to liveness enums and routing counts; no live/dead process evidence. No equivalent replacement coverage is claimed. Remaining exact receipts validate only their unchanged selectors. Historical coverage account: Only Keep open keeps a worker; a phone or desktop names it by handle, pane or session, and older clients' typing reports record nothing. Host byte lanes perform zero orchestration SQL work; local and injected SSH Keep open tests fence release. Deterministic service tests cover release-versus-reuse ordering, transactional retain and takeover cancellation, exact host/pane/process identity, dead external/user-owned/transferred/stopped/abandoned reconciliation, host-partition persistence and legacy retirement replay with an absent web-terminal layout map, conservative unknown provider and legacy metadata handling, immutable transcript and bounded terminal archives, mutation restart, reset cleanup, replay idempotency, and 50-resource accounting. A macOS Electron journey invokes the freshly compiled worker-release CLI after the worker process disappears, then independently checks released SQLite state and coordinator liveness. Injected inventories cover local and SSH provider routing; live SSH, WSL, Windows, paired-runtime, and provider-close lost-ack journeys remain explicit gaps. Audit1396: src/main/runtime/rpc/methods/orchestration/worker/worker-release-mobile-report.test.ts reduced. Retires unary/stream no-database-work call counts and three mobile RPC allowlist membership checks. Ancillary input delivery assertions in the budget registration intentionally lost without equivalence claim. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", + "coverageNotes": "Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Lose the complete completed-worker-retirement-resume suite: exact terminal-close resume-record revocation, PTY-exit recovery retention and settled-worker release examples. Remove its exact command token or standalone command, testFiles entry and assertionRef, archiving complete prior fields. Independent receipts retain original scopes. Audit2003: Remove3 preexisting unsupported320-live-PTY,400-retirement/256-history and replacement-lifecycle aliases from the inventory driver: neither its frozen original imported registrars nor proposed candidate owns those callbacks. This metadata correction adds no test-removal credit. The driver loses the empty-worktree-publication suite and3 folder-host/unverifiable scalar examples while retaining concurrent inventory freshness and provider-failure verdict fences. The retained inventory callbacks are not terminal-release, historical-cache capacity or performance-budget replacement coverage. Preserve the independent compiled-CLI Electron receipt exactly. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Remove unsupported user-taken-over, transferred-owner, exact-reuse, host-scope, immutable-transcript, legacy-ambiguity, reset and50-worker aliases from their claimed sources. Remove the deleted pending-release ledger replay alias. Narrow surviving external-retention and recovery aliases to actual retained callbacks; no transfer to another file or process-restart proof. Preserve the independent receipt. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1959 (sources 1955:34): Pruning removes unsupported-provider/out-of-range scalar refusals and the single Grok happy decoder fixture. Retain actual file cursor append/paging, same-inode checkpoint invalidation, opaque IDs and oversized-line progress. Retire the complete dated 3.48s combined receipt through its effective currentCommand, without changing its original command or transferring its 56-test result. Unchanged CLI/Electron receipt retains its independent scope. No historical passed receipt is narrowed or transferred to changed source bytes. No fresh execution, equivalent replacement, physical provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed by this metadata packet. Historical prior account (preserved verbatim): Audit1379 changes src/main/runtime/orca-runtime-process-incarnation-liveness.test.ts (7 authored registrations removed; 0 retained). Intentional losses: Loses supplied host lists and record states mapped to liveness enums and routing counts; no live/dead process evidence. No equivalent replacement coverage is claimed. Remaining exact receipts validate only their unchanged selectors. Historical coverage account: Only Keep open keeps a worker; a phone or desktop names it by handle, pane or session, and older clients' typing reports record nothing. Host byte lanes perform zero orchestration SQL work; local and injected SSH Keep open tests fence release. Deterministic service tests cover release-versus-reuse ordering, transactional retain and takeover cancellation, exact host/pane/process identity, dead external/user-owned/transferred/stopped/abandoned reconciliation, host-partition persistence and legacy retirement replay with an absent web-terminal layout map, conservative unknown provider and legacy metadata handling, immutable transcript and bounded terminal archives, mutation restart, reset cleanup, replay idempotency, and 50-resource accounting. A macOS Electron journey invokes the freshly compiled worker-release CLI after the worker process disappears, then independently checks released SQLite state and coordinator liveness. Injected inventories cover local and SSH provider routing; live SSH, WSL, Windows, paired-runtime, and provider-close lost-ack journeys remain explicit gaps. Audit1396: src/main/runtime/rpc/methods/orchestration/worker/worker-release-mobile-report.test.ts reduced. Retires unary/stream no-database-work call counts and three mobile RPC allowlist membership checks. Ancillary input delivery assertions in the budget registration intentionally lost without equivalence claim. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", "motivatingLinks": [ "https://github.com/stablyai/orca/pull/12355", "https://github.com/stablyai/orca/issues/13860", @@ -11207,14 +10850,13 @@ "STA-5122" ], "invariant": "A settled Dispatch may close only its one coordinator-created terminal lease. Explicit reuse, Keep open, retain, identity or host change, ambiguity, and another resource for the same exact host/pane/process must fence closure. Once the authoritative owning provider positively excludes the resource's exact immutable process incarnation, even an external, user-owned, or transferred dead resource must converge to released without any process close. Unknown host scope, missing incarnation metadata, or unavailable inventory must remain retained. Exact terminal-close persistence must settle when a host partition omits renderer-owned layout state. Output preservation and the requested-to-releasing transition are atomic, archives remain readable without the provider file, retries resume idempotently, and orchestration reset removes archive and authority state.", - "oracle": "Audit2003: Remove3 preexisting unsupported320-live-PTY,400-retirement/256-history and replacement-lifecycle aliases from the inventory driver: neither its frozen original imported registrars nor proposed candidate owns those callbacks. This metadata correction adds no test-removal credit. The driver loses the empty-worktree-publication suite and3 folder-host/unverifiable scalar examples while retaining concurrent inventory freshness and provider-failure verdict fences. The retained inventory callbacks are not terminal-release, historical-cache capacity or performance-budget replacement coverage. Preserve the independent compiled-CLI Electron receipt exactly. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Remove unsupported user-taken-over, transferred-owner, exact-reuse, host-scope, immutable-transcript, legacy-ambiguity, reset and50-worker aliases from their claimed sources. Remove the deleted pending-release ledger replay alias. Narrow surviving external-retention and recovery aliases to actual retained callbacks; no transfer to another file or process-restart proof. Preserve the independent receipt. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1959 (sources 1955:34): Pruning removes unsupported-provider/out-of-range scalar refusals and the single Grok happy decoder fixture. Retain actual file cursor append/paging, same-inode checkpoint invalidation, opaque IDs and oversized-line progress. Retire the complete dated 3.48s combined receipt through its effective currentCommand, without changing its original command or transferring its 56-test result. Unchanged CLI/Electron receipt retains its independent scope. No historical passed receipt is narrowed or transferred to changed source bytes. No fresh execution, equivalent replacement, physical provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed by this metadata packet. Historical prior account (preserved verbatim): Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Surviving unchanged-source receipts are the current oracle; changed-source assertions await validation. Historical oracle account: Record release intent for a settled owner, attempt exact reuse before close, and require worker-start to fail with terminal_release_in_progress while the terminal stays open; then release the original owner exactly once. Race retain against a controlled archive promise and require no committed archive or close. Rebase a closed web-terminal host partition without terminalLayoutsByTabId and require the persistence write to complete while preserving host-authoritative membership; replay a valid legacy retirement under the same omission and require exact membership removal plus revision advancement. For retained external, user-owned, transferred, stopped, and abandoned resources, run one fresh inventory against the exact local/WSL or SSH provider: an exact live incarnation and every unknown inventory shape stay retained, while positive absence atomically sets ownership_state and release_state to released with processAction none and zero closeTerminal calls. Change host or process identity and inject duplicate resource evidence to require retention. Freeze a structured transcript, delete its source file, and require archived worker-read to return the same bounded redacted messages. Restart a pending mutation, reset orchestration state, and create 50 resources while asserting replay convergence, zero orphan rows, two-query worker listing, and no unrelated close.", + "oracle": "Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Lose the complete completed-worker-retirement-resume suite: exact terminal-close resume-record revocation, PTY-exit recovery retention and settled-worker release examples. Remove its exact command token or standalone command, testFiles entry and assertionRef, archiving complete prior fields. Independent receipts retain original scopes. Audit2003: Remove3 preexisting unsupported320-live-PTY,400-retirement/256-history and replacement-lifecycle aliases from the inventory driver: neither its frozen original imported registrars nor proposed candidate owns those callbacks. This metadata correction adds no test-removal credit. The driver loses the empty-worktree-publication suite and3 folder-host/unverifiable scalar examples while retaining concurrent inventory freshness and provider-failure verdict fences. The retained inventory callbacks are not terminal-release, historical-cache capacity or performance-budget replacement coverage. Preserve the independent compiled-CLI Electron receipt exactly. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1983: Remove unsupported user-taken-over, transferred-owner, exact-reuse, host-scope, immutable-transcript, legacy-ambiguity, reset and50-worker aliases from their claimed sources. Remove the deleted pending-release ledger replay alias. Narrow surviving external-retention and recovery aliases to actual retained callbacks; no transfer to another file or process-restart proof. Preserve the independent receipt. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, provider/PTY, rendered, live remote/mobile or cross-platform result is claimed. Historical prior account (preserved verbatim): Audit1959 (sources 1955:34): Pruning removes unsupported-provider/out-of-range scalar refusals and the single Grok happy decoder fixture. Retain actual file cursor append/paging, same-inode checkpoint invalidation, opaque IDs and oversized-line progress. Retire the complete dated 3.48s combined receipt through its effective currentCommand, without changing its original command or transferring its 56-test result. Unchanged CLI/Electron receipt retains its independent scope. No historical passed receipt is narrowed or transferred to changed source bytes. No fresh execution, equivalent replacement, physical provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed by this metadata packet. Historical prior account (preserved verbatim): Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Surviving unchanged-source receipts are the current oracle; changed-source assertions await validation. Historical oracle account: Record release intent for a settled owner, attempt exact reuse before close, and require worker-start to fail with terminal_release_in_progress while the terminal stays open; then release the original owner exactly once. Race retain against a controlled archive promise and require no committed archive or close. Rebase a closed web-terminal host partition without terminalLayoutsByTabId and require the persistence write to complete while preserving host-authoritative membership; replay a valid legacy retirement under the same omission and require exact membership removal plus revision advancement. For retained external, user-owned, transferred, stopped, and abandoned resources, run one fresh inventory against the exact local/WSL or SSH provider: an exact live incarnation and every unknown inventory shape stay retained, while positive absence atomically sets ownership_state and release_state to released with processAction none and zero closeTerminal calls. Change host or process identity and inject duplicate resource evidence to require retention. Freeze a structured transcript, delete its source file, and require archived worker-read to return the same bounded redacted messages. Restart a pending mutation, reset orchestration state, and create 50 resources while asserting replay convergence, zero orphan rows, two-query worker listing, and no unrelated close.", "commands": [ "ORCA_BACKGROUND_LAUNCH=1 pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release-mobile-report.test.ts src/main/runtime/terminal/identity/orca-runtime-terminal-handle-incarnation.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/terminal/query/runtime-terminal-inventory-contracts.test.ts src/main/runtime/terminal/surface/mobile-session-terminal-persistence-retirement.test.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release.test.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release-recovery.test.ts src/main/runtime/rpc/orchestration-mutation-ledger.test.ts src/main/runtime/orchestration/workers/transcripts/worker-transcript-read.test.ts --reporter=dot", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/terminal/surface/mobile-session-terminal-persistence-retirement.test.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release.test.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release-recovery.test.ts src/main/runtime/rpc/orchestration-mutation-ledger.test.ts src/main/runtime/orchestration/workers/transcripts/worker-transcript-read.test.ts --reporter=dot", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release.test.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release-recovery.test.ts src/main/runtime/rpc/orchestration-mutation-ledger.test.ts src/main/runtime/orchestration/workers/transcripts/worker-transcript-read.test.ts --reporter=dot", "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release.test.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release-recovery.test.ts src/main/runtime/rpc/orchestration-mutation-ledger.test.ts src/main/runtime/orchestration/workers/transcripts/worker-transcript-read.test.ts --reporter=dot", - "pnpm exec vitest run --config config/vitest.config.ts tests/e2e/completed-worker-retirement-resume.unit.test.ts --reporter=verbose", "pnpm run build:cli && SKIP_BUILD=1 pnpm exec playwright test tests/e2e/orchestration-worker-settlement-release-cli.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1" ], "testFiles": [ @@ -11225,7 +10867,6 @@ "src/main/runtime/rpc/methods/orchestration/worker/worker-release-recovery.test.ts", "src/main/runtime/rpc/orchestration-mutation-ledger.test.ts", "src/main/runtime/orchestration/workers/transcripts/worker-transcript-read.test.ts", - "tests/e2e/completed-worker-retirement-resume.unit.test.ts", "tests/e2e/orchestration-worker-settlement-release-cli.spec.ts" ], "assertionRefs": [ @@ -11236,12 +10877,6 @@ "replays a legacy retirement when its host partition omits terminal layouts" ] }, - { - "file": "tests/e2e/completed-worker-retirement-resume.unit.test.ts", - "assertions": [ - "an already-exited succeeded Dispatch reaches released while its late exact close revokes the missing tab's stale resume record" - ] - }, { "file": "src/main/runtime/rpc/methods/orchestration/worker/worker-release.test.ts", "assertions": [ @@ -11317,7 +10952,11 @@ "Audit1983 historical original assertionRefs object, preserved verbatim; retired objects are not active execution evidence or replacement coverage:\n{\n \"file\": \"src/main/runtime/rpc/orchestration-mutation-ledger.test.ts\",\n \"assertions\": [\"resumes a pending idempotent worker release after restart\"]\n }", "Audit1983 historical original assertionRefs object, preserved verbatim; retired objects are not active execution evidence or replacement coverage:\n{\n \"file\": \"src/main/runtime/rpc/methods/orchestration/worker/worker-release-recovery.test.ts\",\n \"assertions\": [\n \"finishes a requested release after restart-style interruption\",\n \"coalesces overlapping reconciliation passes and closes each resource once\",\n \"keeps live terminals bounded across 50 settled workers while controls survive\"\n ]\n }", "Audit2003: Remove3 preexisting unsupported320-live-PTY,400-retirement/256-history and replacement-lifecycle aliases from the inventory driver: neither its frozen original imported registrars nor proposed candidate owns those callbacks. This metadata correction adds no test-removal credit. The driver loses the empty-worktree-publication suite and3 folder-host/unverifiable scalar examples while retaining concurrent inventory freshness and provider-failure verdict fences. The retained inventory callbacks are not terminal-release, historical-cache capacity or performance-budget replacement coverage. Preserve the independent compiled-CLI Electron receipt exactly. Changed-source prior results do not validate reduced-source bytes. No fresh execution, equivalent replacement, red/green, measured budget, soak, physical provider/PTY, rendered, live remote/mobile or cross-platform result is claimed.", - "Audit2003 historical original assertionRefs object, preserved verbatim; retired objects are not active execution evidence or replacement coverage:\n{\n \"file\": \"src/main/runtime/terminal/query/runtime-terminal-inventory-contracts.test.ts\",\n \"assertions\": [\n \"320 simultaneously live PTYs retain truthful verdicts with linear identity checks and no detached history\",\n \"400 unresolved PTY retirements preserve active doubt while bounding history at 256 entries\",\n \"a replacement lifecycle clears the retained historical verdict for the reused PTY id\"\n ]\n }" + "Audit2003 historical original assertionRefs object, preserved verbatim; retired objects are not active execution evidence or replacement coverage:\n{\n \"file\": \"src/main/runtime/terminal/query/runtime-terminal-inventory-contracts.test.ts\",\n \"assertions\": [\n \"320 simultaneously live PTYs retain truthful verdicts with linear identity checks and no detached history\",\n \"400 unresolved PTY retirements preserve active doubt while bounding history at 256 entries\",\n \"a replacement lifecycle clears the retained historical verdict for the reused PTY id\"\n ]\n }", + "Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Lose the complete completed-worker-retirement-resume suite: exact terminal-close resume-record revocation, PTY-exit recovery retention and settled-worker release examples. Remove its exact command token or standalone command, testFiles entry and assertionRef, archiving complete prior fields. Independent receipts retain original scopes. All prior notes and dated/archived evidence retain original scopes.", + "Audit3437 complete prior commands before completed-worker-retirement-resume retirement: [\"ORCA_BACKGROUND_LAUNCH=1 pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release-mobile-report.test.ts src/main/runtime/terminal/identity/orca-runtime-terminal-handle-incarnation.test.ts\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/terminal/query/runtime-terminal-inventory-contracts.test.ts src/main/runtime/terminal/surface/mobile-session-terminal-persistence-retirement.test.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release.test.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release-recovery.test.ts src/main/runtime/rpc/orchestration-mutation-ledger.test.ts src/main/runtime/orchestration/workers/transcripts/worker-transcript-read.test.ts --reporter=dot\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/terminal/surface/mobile-session-terminal-persistence-retirement.test.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release.test.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release-recovery.test.ts src/main/runtime/rpc/orchestration-mutation-ledger.test.ts src/main/runtime/orchestration/workers/transcripts/worker-transcript-read.test.ts --reporter=dot\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release.test.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release-recovery.test.ts src/main/runtime/rpc/orchestration-mutation-ledger.test.ts src/main/runtime/orchestration/workers/transcripts/worker-transcript-read.test.ts --reporter=dot\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release.test.ts src/main/runtime/rpc/methods/orchestration/worker/worker-release-recovery.test.ts src/main/runtime/rpc/orchestration-mutation-ledger.test.ts src/main/runtime/orchestration/workers/transcripts/worker-transcript-read.test.ts --reporter=dot\",\"pnpm exec vitest run --config config/vitest.config.ts tests/e2e/completed-worker-retirement-resume.unit.test.ts --reporter=verbose\",\"pnpm run build:cli && SKIP_BUILD=1 pnpm exec playwright test tests/e2e/orchestration-worker-settlement-release-cli.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\"]", + "Audit3437 complete prior testFiles before completed-worker-retirement-resume retirement: [\"src/main/runtime/rpc/methods/orchestration/worker/worker-release-mobile-report.test.ts\",\"src/main/runtime/terminal/query/runtime-terminal-inventory-contracts.test.ts\",\"src/main/runtime/terminal/surface/mobile-session-terminal-persistence-retirement.test.ts\",\"src/main/runtime/rpc/methods/orchestration/worker/worker-release.test.ts\",\"src/main/runtime/rpc/methods/orchestration/worker/worker-release-recovery.test.ts\",\"src/main/runtime/rpc/orchestration-mutation-ledger.test.ts\",\"src/main/runtime/orchestration/workers/transcripts/worker-transcript-read.test.ts\",\"tests/e2e/completed-worker-retirement-resume.unit.test.ts\",\"tests/e2e/orchestration-worker-settlement-release-cli.spec.ts\"]", + "Audit3437 complete prior assertionRefs before completed-worker-retirement-resume retirement: [{\"file\":\"src/main/runtime/terminal/surface/mobile-session-terminal-persistence-retirement.test.ts\",\"assertions\":[\"rebases a host partition that no longer carries the closed web-terminal layout\",\"replays a legacy retirement when its host partition omits terminal layouts\"]},{\"file\":\"tests/e2e/completed-worker-retirement-resume.unit.test.ts\",\"assertions\":[\"an already-exited succeeded Dispatch reaches released while its late exact close revokes the missing tab's stale resume record\"]},{\"file\":\"src/main/runtime/rpc/methods/orchestration/worker/worker-release.test.ts\",\"assertions\":[\"retains a dead external terminal without closing a process\",\"releases a dead stopped or abandoned worker without closing a process\",\"lets an explicit retain cancel a release while output capture is pending\"]},{\"file\":\"src/main/runtime/rpc/methods/orchestration/worker/worker-release-recovery.test.ts\",\"assertions\":[\"finishes a requested release after restart-style interruption within the same runtime and database\",\"coalesces reconciliation joining an interactive release into one recorded recovery attempt and one terminal close\"]},{\"file\":\"tests/e2e/orchestration-worker-settlement-release-cli.spec.ts\",\"assertions\":[\"compiled worker-release reconciles a dead external retained resource to released\",\"the CLI reports processAction none instead of closing a process\",\"SQLite independently records released ownership and release state\",\"the unrelated coordinator terminal remains live\"]}]" ], "demotionRule": "Keep experimental or demote if release can overlap exact reuse, close a conflicting lease, lose immutable output, retain reset archives, fan out per worker, or any focused ordering test flakes without a product or harness defect." }, @@ -11849,14 +11488,14 @@ "providers": ["local", "daemon", "ssh"], "coveredPlatforms": ["macos"], "coveredProviders": ["local"], - "coverageNotes": "Audit3086: retire the immediate-reply ceiling and thrown renderer-write recovery aliases. Narrow FIFO coverage to deferred preconnect validation and teardown coverage to natural-exit stale ordinary/accepted tails; live acknowledged barriers and disconnect/detach branches are intentionally retired. Prior queue cleanup and unchanged Electron receipts remain exact; no replacement or fresh execution is claimed. Audit1878 retires the dated reduced-source unit receipt. Only the unchanged macOS local Electron receipts remain current, scoped to their exact commands; reduced unit selectors and SSH have no current execution receipt. Historical pre-audit coverageNotes: Deterministic renderer and IPC-transport tests prove count and text ceilings, oldest-reply shedding, explicit query-reply source routing, ordinary-input preservation, acknowledged-write FIFO barriers, single-worker drain reentrancy, one-reply-per-write delivery for OSC, DA1, and CPR replies, real xterm OSC reply generation, drain-failure containment, teardown settlement, and clear/reuse generation fencing. Remote-runtime tests preserve separate query-reply writes across pending input, async validation, and viewport-claim buffering. Host-contract tests prove a later DA1/CPR reply cannot overtake a deferred OSC reply, including a coalesced legacy-client payload. Live macOS Electron tests cover local PTY OSC replies and interactive typing; a macOS-hosted Docker OpenSSH test proves an upstream-node-pty Linux relay keeps OSC/DA1 replies out of the next fish child's stdin. No live daemon, paired-runtime, WSL, physical Linux/Windows client, or binary mixed-version run is registered.", + "coverageNotes": "Audit3362 retires the 10,000-query newest64 viewport-claim flood-cap assertion and second-chunk refusal, coalescing/burst/limit/yield and constant examples. The surviving ordinary/query/ordinary binary-frame ordering and UTF8 emoji-safe acknowledged chunk cases retain narrower coverage. Unit commands/test-file selectors remain; the first binary-order assertion stays exact. Two unrelated macOS E2E receipts remain verbatim with their original scope. No equivalent replacement or fresh runtime/PTY/provider/UI/mobile/mixed-version/cross-platform evidence is claimed. Audit 3312 reduces remote-runtime-pty-batching.test.ts, intentionally losing idle leading/trailing coalescing, leading-edge-disabled, accumulated byte-ceiling flush, standalone synchronous oversized-input rejection, accepted-input validation yield, deferred pending-tail byte order, and queued-viewport clear/flush and timer-cancellation alarms. The unchanged UTF-8 splitting, validation barrier ordering and asynchronous oversized-input nondelivery cases are narrower, not equivalent replacements. The barrier assertion and both existing Electron receipts remain unchanged and do not validate these retired cases. No fresh runtime, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit 3292 retires the empty-queue immediate query-reply delivery example from remote-runtime-pty-query-reply-immediate.test.ts. Pending ordinary-input separation and asynchronous paste-validation ordering cases remain byte-identical, matching the existing assertion reference. The no-pending-input delivery alarm is intentionally lost without equivalent replacement. Existing selectors, unchanged local Electron receipts and historical receipts remain exact; no new runtime, PTY deadline, platform or mixed-version result is claimed. Audit3086: retire the immediate-reply ceiling and thrown renderer-write recovery aliases. Narrow FIFO coverage to deferred preconnect validation and teardown coverage to natural-exit stale ordinary/accepted tails; live acknowledged barriers and disconnect/detach branches are intentionally retired. Prior queue cleanup and unchanged Electron receipts remain exact; no replacement or fresh execution is claimed. Audit1878 retires the dated reduced-source unit receipt. Only the unchanged macOS local Electron receipts remain current, scoped to their exact commands; reduced unit selectors and SSH have no current execution receipt. Historical pre-audit coverageNotes: Deterministic renderer and IPC-transport tests prove count and text ceilings, oldest-reply shedding, explicit query-reply source routing, ordinary-input preservation, acknowledged-write FIFO barriers, single-worker drain reentrancy, one-reply-per-write delivery for OSC, DA1, and CPR replies, real xterm OSC reply generation, drain-failure containment, teardown settlement, and clear/reuse generation fencing. Remote-runtime tests preserve separate query-reply writes across pending input, async validation, and viewport-claim buffering. Host-contract tests prove a later DA1/CPR reply cannot overtake a deferred OSC reply, including a coalesced legacy-client payload. Live macOS Electron tests cover local PTY OSC replies and interactive typing; a macOS-hosted Docker OpenSSH test proves an upstream-node-pty Linux relay keeps OSC/DA1 replies out of the next fish child's stdin. No live daemon, paired-runtime, WSL, physical Linux/Windows client, or binary mixed-version run is registered.", "motivatingLinks": [ "https://github.com/stablyai/orca/issues/13137", "https://github.com/stablyai/orca/issues/7329", "https://github.com/stablyai/orca/issues/13892" ], "invariant": "The desktop PTY input queue retains at most 64 explicitly sourced pending terminal query replies and 4096 UTF-16 code units. Every retained reply reaches the provider as one atomic write, and ordinary, acknowledged, and reply input share one invocation-ordered FIFO so no later write overtakes an acknowledged write. Reentrant write callbacks cannot start a second drain worker or strand input admitted after clear/reuse. A reply's own echo is contained on the output side by projecting its known echo shapes; the ESC-initial verbatim shape is matched only when complete, never held as a partial, so a query torn at its own ESC is still answered. Overflow removes only the oldest query replies, never ordinary input except the documented modified-F3/CPR byte collision, and failure or teardown cannot clear a newer queue generation or strand an acknowledged promise.", - "oracle": "Audit3086: retire the immediate-reply ceiling and thrown renderer-write recovery aliases. Narrow FIFO coverage to deferred preconnect validation and teardown coverage to natural-exit stale ordinary/accepted tails; live acknowledged barriers and disconnect/detach branches are intentionally retired. Prior queue cleanup and unchanged Electron receipts remain exact; no replacement or fresh execution is claimed. Audit1878 retires the dated reduced-source unit receipt. Only the unchanged macOS local Electron receipts remain current, scoped to their exact commands; reduced unit selectors and SSH have no current execution receipt. Historical pre-audit oracle: Synchronously enqueue separate 10,000-entry OSC and DA1 reply floods before the scheduled drain and assert that only the initial immediate reply and newest 64 pending replies are written, each as one provider write, before a trailing keystroke. Stall an acknowledged write between earlier and later ordinary/reply input, then require teardown to settle it and same-id reuse to receive no stale tail. Reenter the queue synchronously from an acknowledged write with both enqueue and clear/reuse, requiring one drain and fresh input delivery only after the stale acknowledged write settles false. At the host boundary, defer an OSC reply and assert that separate or legacy-coalesced DA1/CPR replies flush after it in observed query order. At the remote-runtime boundary, preserve separate writes around pending ordinary input, async validation, and viewport-claim buffering. Repeat behind 10,000 ordinary inputs and exercise the text ceiling, real xterm generation, provider-write failure, rejected yield, and clear/reuse generation fencing.", + "oracle": "Audit3362 retires the 10,000-query newest64 viewport-claim flood-cap assertion and second-chunk refusal, coalescing/burst/limit/yield and constant examples. The surviving ordinary/query/ordinary binary-frame ordering and UTF8 emoji-safe acknowledged chunk cases retain narrower coverage. Unit commands/test-file selectors remain; the first binary-order assertion stays exact. Two unrelated macOS E2E receipts remain verbatim with their original scope. No equivalent replacement or fresh runtime/PTY/provider/UI/mobile/mixed-version/cross-platform evidence is claimed. Audit 3312 reduces remote-runtime-pty-batching.test.ts, intentionally losing idle leading/trailing coalescing, leading-edge-disabled, accumulated byte-ceiling flush, standalone synchronous oversized-input rejection, accepted-input validation yield, deferred pending-tail byte order, and queued-viewport clear/flush and timer-cancellation alarms. The unchanged UTF-8 splitting, validation barrier ordering and asynchronous oversized-input nondelivery cases are narrower, not equivalent replacements. The barrier assertion and both existing Electron receipts remain unchanged and do not validate these retired cases. No fresh runtime, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit 3292 retires the empty-queue immediate query-reply delivery example from remote-runtime-pty-query-reply-immediate.test.ts. Pending ordinary-input separation and asynchronous paste-validation ordering cases remain byte-identical, matching the existing assertion reference. The no-pending-input delivery alarm is intentionally lost without equivalent replacement. Existing selectors, unchanged local Electron receipts and historical receipts remain exact; no new runtime, PTY deadline, platform or mixed-version result is claimed. Audit3086: retire the immediate-reply ceiling and thrown renderer-write recovery aliases. Narrow FIFO coverage to deferred preconnect validation and teardown coverage to natural-exit stale ordinary/accepted tails; live acknowledged barriers and disconnect/detach branches are intentionally retired. Prior queue cleanup and unchanged Electron receipts remain exact; no replacement or fresh execution is claimed. Audit1878 retires the dated reduced-source unit receipt. Only the unchanged macOS local Electron receipts remain current, scoped to their exact commands; reduced unit selectors and SSH have no current execution receipt. Historical pre-audit oracle: Synchronously enqueue separate 10,000-entry OSC and DA1 reply floods before the scheduled drain and assert that only the initial immediate reply and newest 64 pending replies are written, each as one provider write, before a trailing keystroke. Stall an acknowledged write between earlier and later ordinary/reply input, then require teardown to settle it and same-id reuse to receive no stale tail. Reenter the queue synchronously from an acknowledged write with both enqueue and clear/reuse, requiring one drain and fresh input delivery only after the stale acknowledged write settles false. At the host boundary, defer an OSC reply and assert that separate or legacy-coalesced DA1/CPR replies flush after it in observed query order. At the remote-runtime boundary, preserve separate writes around pending ordinary input, async validation, and viewport-claim buffering. Repeat behind 10,000 ordinary inputs and exercise the text ceiling, real xterm generation, provider-write failure, rejected yield, and clear/reuse generation fencing.", "commands": [ "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/input/pty-input-write-queue.test.ts src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-input-write.test.ts src/shared/terminal/protocol/queries/terminal-query-reply.test.ts src/shared/terminal/pty/ingress/pty-startup-ingress-live-query-reply.test.ts src/shared/terminal/pty/ingress/pty-startup-reply-echo-shapes.test.ts", "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/output/remote-runtime-pty-batching.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-query-reply-immediate.test.ts src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-input-coalescing.test.ts", @@ -11909,8 +11548,7 @@ { "file": "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-input-coalescing.test.ts", "assertions": [ - "viewport-claim buffering replays ordinary input, a query reply, and later ordinary input as three ordered stream frames", - "a 10,000-reply viewport-claim flood retains and replays only the newest 64 query replies" + "viewport-claim buffering replays ordinary input, a query reply, and later ordinary input as three ordered stream frames" ] }, { @@ -11987,7 +11625,11 @@ "Reply overload intentionally sheds the oldest synthetic replies; the modified-F3/CPR byte collision shares that budget, and live application behavior under a pathological query flood is not measured.", "Audit1878 retires this complete dated receipt because a source in its selector was reduced. It does not validate the reduced selector. Original receipt verbatim:\n{\n \"date\": \"2026-08-30\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-input-write-queue.test.ts src/renderer/src/components/terminal-pane/pty-transport-input-write.test.ts src/shared/terminal-query-reply.test.ts src/shared/pty-startup-ingress-live-query-reply.test.ts src/shared/pty-startup-reply-echo-shapes.test.ts\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-transport/input/pty-input-write-queue.test.ts src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-input-write.test.ts src/shared/terminal/protocol/queries/terminal-query-reply.test.ts src/shared/terminal/pty/ingress/pty-startup-ingress-live-query-reply.test.ts src/shared/terminal/pty/ingress/pty-startup-reply-echo-shapes.test.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 15,\n \"summary\": \"Five files and 149 tests passed in 15.16 seconds, including explicit IPC reply-source routing, the 10,000-reply count and text ceilings, 10,000-entry ordinary backlog preservation, acknowledged-write FIFO barriers, synchronous reentrancy fencing, prompt teardown settlement, same-id generation fencing, real xterm OSC query floods, single-shot drain-failure recovery, and one-reply-per-write echo containment.\"\n }", "Audit1878 removes standalone reply-classifier inventory, ordinary-keystroke helper/no-write checks and a latency-order title that never executes the host path from pty-startup-ingress-live-query-reply.test.ts. It also removes projection needle/refusal/holdPartial and ConPTY/WSL string/array inventories from pty-startup-reply-echo-shapes.test.ts, including the direct short-needle and ESC-hold guard alarms. Captured echo matching and actual ingress writes/output state remain, without equivalent replacement coverage. Only the two unchanged macOS local Electron receipts remain active; neither proves the reduced five-file unit selector, SSH, a new soak result, or a new measured budget.", - "Audit3086: retire the immediate-reply ceiling and thrown renderer-write recovery aliases. Narrow FIFO coverage to deferred preconnect validation and teardown coverage to natural-exit stale ordinary/accepted tails; live acknowledged barriers and disconnect/detach branches are intentionally retired. Prior queue cleanup and unchanged Electron receipts remain exact; no replacement or fresh execution is claimed." + "Audit3086: retire the immediate-reply ceiling and thrown renderer-write recovery aliases. Narrow FIFO coverage to deferred preconnect validation and teardown coverage to natural-exit stale ordinary/accepted tails; live acknowledged barriers and disconnect/detach branches are intentionally retired. Prior queue cleanup and unchanged Electron receipts remain exact; no replacement or fresh execution is claimed.", + "Audit 3292 retires the empty-queue immediate query-reply delivery example from remote-runtime-pty-query-reply-immediate.test.ts. Pending ordinary-input separation and asynchronous paste-validation ordering cases remain byte-identical, matching the existing assertion reference. The no-pending-input delivery alarm is intentionally lost without equivalent replacement. Existing selectors, unchanged local Electron receipts and historical receipts remain exact; no new runtime, PTY deadline, platform or mixed-version result is claimed.", + "Audit 3312 reduces remote-runtime-pty-batching.test.ts, intentionally losing idle leading/trailing coalescing, leading-edge-disabled, accumulated byte-ceiling flush, standalone synchronous oversized-input rejection, accepted-input validation yield, deferred pending-tail byte order, and queued-viewport clear/flush and timer-cancellation alarms. The unchanged UTF-8 splitting, validation barrier ordering and asynchronous oversized-input nondelivery cases are narrower, not equivalent replacements. The barrier assertion and both existing Electron receipts remain unchanged and do not validate these retired cases. No fresh runtime, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed.", + "Audit3362 retires the 10,000-query newest64 viewport-claim flood-cap assertion and second-chunk refusal, coalescing/burst/limit/yield and constant examples. The surviving ordinary/query/ordinary binary-frame ordering and UTF8 emoji-safe acknowledged chunk cases retain narrower coverage. Unit commands/test-file selectors remain; the first binary-order assertion stays exact. Two unrelated macOS E2E receipts remain verbatim with their original scope. No equivalent replacement or fresh runtime/PTY/provider/UI/mobile/mixed-version/cross-platform evidence is claimed.", + "Audit3362 historical original assertionRefs object, preserved verbatim; retired source claims are not active evidence or replacement coverage:\n{\n \"file\": \"src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-input-coalescing.test.ts\",\n \"assertions\": [\n \"viewport-claim buffering replays ordinary input, a query reply, and later ordinary input as three ordered stream frames\",\n \"a 10,000-reply viewport-claim flood retains and replays only the newest 64 query replies\"\n ]\n }" ], "demotionRule": "Keep experimental or revert if ordinary input is evicted, pending replies exceed either ceiling, retained replies are coalesced, a trailing key sits behind more than the bounded reply window, or the gate develops unexplained flakes." }, @@ -12079,7 +11721,7 @@ "providers": ["remote-runtime", "ssh", "local", "daemon"], "coveredPlatforms": [], "coveredProviders": [], - "coverageNotes": "Audit1400 intentionally deletes or reduces the listed sources. No fresh execution result validates their reduced selectors. Historical coverage account: Local macOS evidence covers runtime-RPC stream budgets, paired-renderer parse/discard credit, and negotiated host-side suppression for hidden paired desktop panes. Deferred credit is shared by local and remote transports, batches ACKs at 192 KiB or 4 ms, grows per-stream windows from 512 KiB to 2 MiB and aggregate windows from 2 MiB to 8 MiB, bounds queued output to 256 KiB per stream, and caps each multiplex connection at 32 active or pending streams for an 8 MiB aggregate pending-output ceiling. Deterministic tests cover replay ordering, stale generations, malformed frames, hidden panes, queue eviction, disposal, send/recovery failure, repeated pending-slot replacement, reconnect, mixed-version pause negotiation, and round-robin fairness. The opt-in benchmark models 1/20/100 ms RTT and 1/4/8 viewers, throughput, window use, completion spread and protocol-frame counts. It measures model scheduler elapsed time separately from actual @xterm/headless parser CPU/retained heap; modeled credit and ACK results do not qualify production credit enforcement. Live Android restore evidence, browser/WebGL parser measurements, and legacy JSON subscribe parity remain required. The audit removed the PTY ACK wrapper suite, which replayed credit arithmetic with mocked IPC. Its isolated wrapper alarms are no longer registered here; generic credit and runtime stream tests do not establish equivalent PTY integration coverage. The audit removes the standalone auto-settle-before-deferred-claim example. Nested-owner and claimed-child completion tests remain; they do not establish that removed timing alarm. The test-value audit removes the bulk-ACK threshold, output-pause capability/paused-input, transformed-metadata disposal, late-parser and renderer-throw examples. The retained captured-parser, malformed-frame and failed-ACK timer checks do not exercise real xterm parsing or server credit enforcement and do not replace the removed alarms. Historical run commands and results remain historical. The test-value audit removes the pure mobile stream-decision suite: pause/resume/rearm/viewport branch inventories no longer have that isolated alarm. The surviving stream-hook tests do not establish equivalent WebView restore, PTY resize, input-lease or subscription delivery coverage. Historical run commands and counts are preserved as historical records; a narrowed selector is not a new passed run. Audit1302: src/main/runtime/rpc/terminal-multiplex-ack-output-budget.test.ts: Keep production RPC dispatcher/terminal framing with emitted binary bytes, UTF-8 reconstruction and client ACK releasing genuinely withheld output; also keep the direct binary-subscribe chunk boundary. Remove shared-budget fairness matrix that sleeps real time and relies on exact synthetic per-stream window scheduling. Lose that eight-stream fairness/call wiring alarm; no equivalent replacement. Reduced selectors require fresh validation; prior full-suite receipts do not validate removed or changed coverage. No equivalent replacement or physical-provider claim. Audit1341 scope1334 removes/narrows mobile/src/session/native-chat/use-mobile-native-chat-terminal-stream.test.ts. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands. Audit1391: src/renderer/src/components/terminal-pane/pty-connection-remote-pause-drop-notice.spec.ts reduced. Lose repeated quiet switches avoiding snapshots and legacy host without drop-report capability requesting a snapshot. Retained imported registrar uses fake transport/xterm writes, exercising real gap/restore lifecycle rather than actual terminal rendering. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1400: src/main/runtime/rpc/terminal-multiplex-flow-control.bench.test.ts removed. Lose ORCA_TERMINAL_PERF_BENCH diagnostic report and local xterm parser measurements; this was not an ordinary CI assertion gate. No equivalent replacement coverage is claimed.", + "coverageNotes": "Audit1400 intentionally deletes or reduces the listed sources. No fresh execution result validates their reduced selectors. Historical coverage account: Local macOS evidence covers runtime-RPC stream budgets, paired-renderer parse/discard credit, and negotiated host-side suppression for hidden paired desktop panes. Deferred credit is shared by local and remote transports, batches ACKs at 192 KiB or 4 ms, grows per-stream windows from 512 KiB to 2 MiB and aggregate windows from 2 MiB to 8 MiB, bounds queued output to 256 KiB per stream, and caps each multiplex connection at 32 active or pending streams for an 8 MiB aggregate pending-output ceiling. Deterministic tests cover replay ordering, stale generations, malformed frames, hidden panes, queue eviction, disposal, send/recovery failure, repeated pending-slot replacement, reconnect, mixed-version pause negotiation, and round-robin fairness. The opt-in benchmark models 1/20/100 ms RTT and 1/4/8 viewers, throughput, window use, completion spread and protocol-frame counts. It measures model scheduler elapsed time separately from actual @xterm/headless parser CPU/retained heap; modeled credit and ACK results do not qualify production credit enforcement. Live Android restore evidence, browser/WebGL parser measurements, and legacy JSON subscribe parity remain required. The audit removed the PTY ACK wrapper suite, which replayed credit arithmetic with mocked IPC. Its isolated wrapper alarms are no longer registered here; generic credit and runtime stream tests do not establish equivalent PTY integration coverage. The audit removes the standalone auto-settle-before-deferred-claim example. Nested-owner and claimed-child completion tests remain; they do not establish that removed timing alarm. The test-value audit removes the bulk-ACK threshold, output-pause capability/paused-input, transformed-metadata disposal, late-parser and renderer-throw examples. The retained captured-parser, malformed-frame and failed-ACK timer checks do not exercise real xterm parsing or server credit enforcement and do not replace the removed alarms. Historical run commands and results remain historical. The test-value audit removes the pure mobile stream-decision suite: pause/resume/rearm/viewport branch inventories no longer have that isolated alarm. The surviving stream-hook tests do not establish equivalent WebView restore, PTY resize, input-lease or subscription delivery coverage. Historical run commands and counts are preserved as historical records; a narrowed selector is not a new passed run. Audit1302: src/main/runtime/rpc/terminal-multiplex-ack-output-budget.test.ts: Keep production RPC dispatcher/terminal framing with emitted binary bytes, UTF-8 reconstruction and client ACK releasing genuinely withheld output; also keep the direct binary-subscribe chunk boundary. Remove shared-budget fairness matrix that sleeps real time and relies on exact synthetic per-stream window scheduling. Lose that eight-stream fairness/call wiring alarm; no equivalent replacement. Reduced selectors require fresh validation; prior full-suite receipts do not validate removed or changed coverage. No equivalent replacement or physical-provider claim. Audit1341 scope1334 removes/narrows mobile/src/session/native-chat/use-mobile-native-chat-terminal-stream.test.ts. Exact retired scenarios are intentionally lost; surviving assertions are limited to unchanged retained authored cases. No equivalent replacement, physical phone or deployed mixed-host claim. Fresh validation is required for narrowed commands. Audit1391: src/renderer/src/components/terminal-pane/pty-connection-remote-pause-drop-notice.spec.ts reduced. Lose repeated quiet switches avoiding snapshots and legacy host without drop-report capability requesting a snapshot. Retained imported registrar uses fake transport/xterm writes, exercising real gap/restore lifecycle rather than actual terminal rendering. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result. Audit1400: src/main/runtime/rpc/terminal-multiplex-flow-control.bench.test.ts removed. Lose ORCA_TERMINAL_PERF_BENCH diagnostic report and local xterm parser measurements; this was not an ordinary CI assertion gate. No equivalent replacement coverage is claimed. Broader617 Mobile owner follow-up retires six whole work-count/timing registrations from mobile/src/session/native-chat/use-mobile-native-chat-terminal-stream.test.ts, retaining five functional handoff/readiness/absence/recovery registrations. Prior Audit1400 retained-but-unvalidated and archived inventories describe earlier source and remain historical after this follow-up. No equivalent replacement, fresh execution, timing measurement, physical phone, or deployed mixed-host validation is claimed by this source change. Current premerge review correction for the Broader617 Mobile owner follow-up: four additional whole mock-only/mock-produced-state stream registrations are retired, for ten total cuts and one unchanged retained registration, keeps asking until a tab snapshot replaces the exhausted handle. The preceding five-retained description records the superseded candidate, not current coverage. The retained case checks the real hook-owned recovery-needed result; handoff, readiness and absence-marker mock-delivery alarms are intentionally lost without equivalent replacement. Dead test render counting and unused handoff setup are removed. No new native, physical-phone, timing or deployed-host proof is implied.", "motivatingLinks": [ "https://github.com/stablyai/orca/pull/6951", "https://github.com/stablyai/orca/pull/6955", @@ -12136,7 +11778,9 @@ "Audit1400 retained but unvalidated assertion inventory pending a new run of the reduced command:\n[\n {\n \"file\": \"src/main/runtime/rpc/terminal-subscribe-buffer.test.ts\",\n \"assertions\": [\n \"legacy binary output queued during initial snapshot serialization stays bounded\",\n \"stale mobile resize re-stream completions are dropped for legacy binary streams\",\n \"aborted stream signals do not register stale listeners\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-output-batching.test.ts\",\n \"assertions\": [\n \"desktop output bursts coalesce before stream emission\",\n \"large binary output is encoded lazily before the first output frame\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts\",\n \"assertions\": [\n \"requested snapshots fall back smaller when serialized data exceeds the send budget\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-multiplex-ack-output-budget.test.ts\",\n \"assertions\": [\n \"oversized live output frames are bounded for subscribed binary streams\",\n \"multibyte live output flushes when encoded bytes reach the batch budget\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-multiplex-ack-overflow-recovery.test.ts\",\n \"assertions\": [\n \"send and recovery serialization failures detach once instead of leaking credit or retrying forever\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts\",\n \"assertions\": [\n \"32 active or pending slots cap aggregate queued output and repeated pending-slot subscribe cancels its older waiter\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-multiplex-output-pause-and-viewport.test.ts\",\n \"assertions\": [\n \"three negotiated hidden desktop streams emit zero output frames under sustained load while an unpaused stream remains live\",\n \"an older client that omits pause negotiation continues receiving output\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-connection-hidden-replay.test.ts\",\n \"assertions\": [\n \"a runtime-owned hidden pane pauses output, consumes status/title/theme facts, and keeps input writable\",\n \"reveal resumes before one authoritative snapshot and exact live output with no hidden raw write, loss, or duplication\",\n \"dispose releases pause and unregisters the fact consumer\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/remote-runtime-pty-transport-stream-reconnect.test.ts\",\n \"assertions\": [\n \"desired pause reapplies after either capability/snapshot ordering and across reconnect\",\n \"reconnect delivers each authoritative snapshot and post-resume live marker exactly once\"\n ]\n },\n {\n \"file\": \"src/renderer/src/lib/pane-manager/terminal-delivery-credit.test.ts\",\n \"assertions\": [\n \"nested synchronous deliveries restore the outer credit owner\",\n \"every claimed scheduler child must settle before the parent credits\"\n ]\n },\n {\n \"file\": \"src/renderer/src/runtime/remote-runtime-terminal-parse-backpressure.test.ts\",\n \"assertions\": [\n \"paired renderer ACK waits for the output scheduler captured parse callback before releasing encoded-byte credit\",\n \"unknown stream output is unsubscribed and malformed framing closes the connection; malformed transformed data is discarded and credited before resync\",\n \"an ACK write failure tears down the stream with zero rearmed flush timers under fake time\"\n ]\n },\n {\n \"file\": \"mobile/src/session/native-chat/use-mobile-native-chat-terminal-stream.test.ts\",\n \"assertions\": [\n \"trades a lease-only stream for output when a chat tab hands off to a terminal tab\",\n \"repairs a lease-only stream once its WebView reports ready\",\n \"stops rearming a handle whose stream never comes back (covered: %s, #10681)\",\n \"does not charge the rearm budget for a subscribe its own gates turned away\",\n \"charges the rearm budget for a subscribe the bridge refused before returning\",\n \"refills the rearm budget when terminal.list reports the handle again (covered: %s, #10681)\",\n \"does not let a dead PTY buy a new budget with its own `subscribed` ack\",\n \"refills the budget for a rearmed stream that outlives the teardown window\",\n \"keeps an absence marker observed before the budget ran out\",\n \"keeps asking until a tab snapshot replaces the exhausted handle\",\n \"resumes a cold-start lease-only stream when WebView readiness arrives late\"\n ]\n }\n]", "Audit1400 historical assertion inventory for deleted/reduced sources; not current validated assertions:\n[\n {\n \"file\": \"src/main/runtime/rpc/terminal-multiplex-flow-control.bench.test.ts\",\n \"assertions\": [\n \"the opt-in benchmark reports modeled RTT throughput, window use, protocol-frame counts and completion spread, with model scheduler elapsed time and separately measured @xterm/headless parser CPU and retained heap\"\n ]\n }\n]", "Audit1400 archived original active assertionRefs verbatim after retirement of all passed receipts:\n[\n {\n \"file\": \"src/main/runtime/rpc/terminal-subscribe-buffer.test.ts\",\n \"assertions\": [\n \"legacy binary output queued during initial snapshot serialization stays bounded\",\n \"stale mobile resize re-stream completions are dropped for legacy binary streams\",\n \"aborted stream signals do not register stale listeners\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-output-batching.test.ts\",\n \"assertions\": [\n \"desktop output bursts coalesce before stream emission\",\n \"large binary output is encoded lazily before the first output frame\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts\",\n \"assertions\": [\n \"requested snapshots fall back smaller when serialized data exceeds the send budget\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-multiplex-ack-output-budget.test.ts\",\n \"assertions\": [\n \"oversized live output frames are bounded for subscribed binary streams\",\n \"multibyte live output flushes when encoded bytes reach the batch budget\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-multiplex-ack-overflow-recovery.test.ts\",\n \"assertions\": [\n \"send and recovery serialization failures detach once instead of leaking credit or retrying forever\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts\",\n \"assertions\": [\n \"32 active or pending slots cap aggregate queued output and repeated pending-slot subscribe cancels its older waiter\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-multiplex-output-pause-and-viewport.test.ts\",\n \"assertions\": [\n \"three negotiated hidden desktop streams emit zero output frames under sustained load while an unpaused stream remains live\",\n \"an older client that omits pause negotiation continues receiving output\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-connection-hidden-replay.test.ts\",\n \"assertions\": [\n \"a runtime-owned hidden pane pauses output, consumes status/title/theme facts, and keeps input writable\",\n \"reveal resumes before one authoritative snapshot and exact live output with no hidden raw write, loss, or duplication\",\n \"dispose releases pause and unregisters the fact consumer\"\n ]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/remote-runtime-pty-transport-stream-reconnect.test.ts\",\n \"assertions\": [\n \"desired pause reapplies after either capability/snapshot ordering and across reconnect\",\n \"reconnect delivers each authoritative snapshot and post-resume live marker exactly once\"\n ]\n },\n {\n \"file\": \"src/renderer/src/lib/pane-manager/terminal-delivery-credit.test.ts\",\n \"assertions\": [\n \"nested synchronous deliveries restore the outer credit owner\",\n \"every claimed scheduler child must settle before the parent credits\"\n ]\n },\n {\n \"file\": \"src/renderer/src/runtime/remote-runtime-terminal-parse-backpressure.test.ts\",\n \"assertions\": [\n \"paired renderer ACK waits for the output scheduler captured parse callback before releasing encoded-byte credit\",\n \"unknown stream output is unsubscribed and malformed framing closes the connection; malformed transformed data is discarded and credited before resync\",\n \"an ACK write failure tears down the stream with zero rearmed flush timers under fake time\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/terminal-multiplex-flow-control.bench.test.ts\",\n \"assertions\": [\n \"the opt-in benchmark reports modeled RTT throughput, window use, protocol-frame counts and completion spread, with model scheduler elapsed time and separately measured @xterm/headless parser CPU and retained heap\"\n ]\n },\n {\n \"file\": \"mobile/src/session/native-chat/use-mobile-native-chat-terminal-stream.test.ts\",\n \"assertions\": [\n \"trades a lease-only stream for output when a chat tab hands off to a terminal tab\",\n \"repairs a lease-only stream once its WebView reports ready\",\n \"stops rearming a handle whose stream never comes back (covered: %s, #10681)\",\n \"does not charge the rearm budget for a subscribe its own gates turned away\",\n \"charges the rearm budget for a subscribe the bridge refused before returning\",\n \"refills the rearm budget when terminal.list reports the handle again (covered: %s, #10681)\",\n \"does not let a dead PTY buy a new budget with its own `subscribed` ack\",\n \"refills the budget for a rearmed stream that outlives the teardown window\",\n \"keeps an absence marker observed before the budget ran out\",\n \"keeps asking until a tab snapshot replaces the exhausted handle\",\n \"resumes a cold-start lease-only stream when WebView readiness arrives late\"\n ]\n }\n ]", - "Audit1400 archived active selectors after retirement of all passed receipts: {\"commands\":[\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts src/main/runtime/rpc/terminal-multiplex-ack-output-budget.test.ts src/main/runtime/rpc/terminal-multiplex-ack-overflow-recovery.test.ts src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts src/main/runtime/rpc/terminal-multiplex-output-pause-and-viewport.test.ts --maxWorkers=1\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/terminal-subscribe-buffer.test.ts src/main/runtime/rpc/terminal-output-batching.test.ts src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts src/main/runtime/rpc/terminal-multiplex-ack-output-budget.test.ts src/main/runtime/rpc/terminal-multiplex-ack-overflow-recovery.test.ts src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts src/main/runtime/rpc/terminal-multiplex-output-pause-and-viewport.test.ts\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/terminal-subscribe-buffer.test.ts src/main/runtime/rpc/terminal-output-batching.test.ts src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts src/main/runtime/rpc/terminal-multiplex-ack-output-budget.test.ts src/main/runtime/rpc/terminal-multiplex-ack-overflow-recovery.test.ts src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts src/main/runtime/rpc/terminal-multiplex-output-pause-and-viewport.test.ts src/renderer/src/components/terminal-pane/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/remote-runtime-pty-transport-stream-reconnect.test.ts src/renderer/src/lib/pane-manager/terminal-delivery-credit.test.ts src/renderer/src/runtime/remote-runtime-terminal-parse-backpressure.test.ts src/renderer/src/runtime/runtime-terminal-stream.test.ts --maxWorkers=1\",\"ORCA_TERMINAL_PERF_BENCH=1 pnpm exec vitest run --config config/vitest.config.ts --disableConsoleIntercept src/main/runtime/rpc/terminal-multiplex-flow-control.bench.test.ts\",\"pnpm --dir mobile exec vitest run --root .. mobile/src/session/native-chat/use-mobile-native-chat-terminal-stream.test.ts\"],\"testFiles\":[\"src/main/runtime/rpc/terminal-subscribe-buffer.test.ts\",\"src/main/runtime/rpc/terminal-output-batching.test.ts\",\"src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts\",\"src/main/runtime/rpc/terminal-multiplex-ack-output-budget.test.ts\",\"src/main/runtime/rpc/terminal-multiplex-ack-overflow-recovery.test.ts\",\"src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts\",\"src/main/runtime/rpc/terminal-multiplex-output-pause-and-viewport.test.ts\",\"src/main/runtime/rpc/terminal-multiplex-flow-control.bench.test.ts\",\"src/renderer/src/components/terminal-pane/pty-connection-hidden-replay.test.ts\",\"src/renderer/src/components/terminal-pane/remote-runtime-pty-transport-stream-reconnect.test.ts\",\"src/renderer/src/lib/pane-manager/terminal-delivery-credit.test.ts\",\"src/renderer/src/runtime/remote-runtime-terminal-parse-backpressure.test.ts\",\"src/renderer/src/runtime/runtime-terminal-stream.test.ts\",\"mobile/src/session/native-chat/use-mobile-native-chat-terminal-stream.test.ts\"]}" + "Audit1400 archived active selectors after retirement of all passed receipts: {\"commands\":[\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts src/main/runtime/rpc/terminal-multiplex-ack-output-budget.test.ts src/main/runtime/rpc/terminal-multiplex-ack-overflow-recovery.test.ts src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts src/main/runtime/rpc/terminal-multiplex-output-pause-and-viewport.test.ts --maxWorkers=1\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/terminal-subscribe-buffer.test.ts src/main/runtime/rpc/terminal-output-batching.test.ts src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts src/main/runtime/rpc/terminal-multiplex-ack-output-budget.test.ts src/main/runtime/rpc/terminal-multiplex-ack-overflow-recovery.test.ts src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts src/main/runtime/rpc/terminal-multiplex-output-pause-and-viewport.test.ts\",\"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/rpc/terminal-subscribe-buffer.test.ts src/main/runtime/rpc/terminal-output-batching.test.ts src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts src/main/runtime/rpc/terminal-multiplex-ack-output-budget.test.ts src/main/runtime/rpc/terminal-multiplex-ack-overflow-recovery.test.ts src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts src/main/runtime/rpc/terminal-multiplex-output-pause-and-viewport.test.ts src/renderer/src/components/terminal-pane/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/remote-runtime-pty-transport-stream-reconnect.test.ts src/renderer/src/lib/pane-manager/terminal-delivery-credit.test.ts src/renderer/src/runtime/remote-runtime-terminal-parse-backpressure.test.ts src/renderer/src/runtime/runtime-terminal-stream.test.ts --maxWorkers=1\",\"ORCA_TERMINAL_PERF_BENCH=1 pnpm exec vitest run --config config/vitest.config.ts --disableConsoleIntercept src/main/runtime/rpc/terminal-multiplex-flow-control.bench.test.ts\",\"pnpm --dir mobile exec vitest run --root .. mobile/src/session/native-chat/use-mobile-native-chat-terminal-stream.test.ts\"],\"testFiles\":[\"src/main/runtime/rpc/terminal-subscribe-buffer.test.ts\",\"src/main/runtime/rpc/terminal-output-batching.test.ts\",\"src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts\",\"src/main/runtime/rpc/terminal-multiplex-ack-output-budget.test.ts\",\"src/main/runtime/rpc/terminal-multiplex-ack-overflow-recovery.test.ts\",\"src/main/runtime/rpc/terminal-multiplex-pty-wait-capacity.test.ts\",\"src/main/runtime/rpc/terminal-multiplex-output-pause-and-viewport.test.ts\",\"src/main/runtime/rpc/terminal-multiplex-flow-control.bench.test.ts\",\"src/renderer/src/components/terminal-pane/pty-connection-hidden-replay.test.ts\",\"src/renderer/src/components/terminal-pane/remote-runtime-pty-transport-stream-reconnect.test.ts\",\"src/renderer/src/lib/pane-manager/terminal-delivery-credit.test.ts\",\"src/renderer/src/runtime/remote-runtime-terminal-parse-backpressure.test.ts\",\"src/renderer/src/runtime/runtime-terminal-stream.test.ts\",\"mobile/src/session/native-chat/use-mobile-native-chat-terminal-stream.test.ts\"]}", + "Broader617 Mobile owner follow-up retires six whole work-count/timing registrations from mobile/src/session/native-chat/use-mobile-native-chat-terminal-stream.test.ts, retaining five functional handoff/readiness/absence/recovery registrations. Prior Audit1400 retained-but-unvalidated and archived inventories describe earlier source and remain historical after this follow-up. No equivalent replacement, fresh execution, timing measurement, physical phone, or deployed mixed-host validation is claimed by this source change.", + "Current premerge review correction for the Broader617 Mobile owner follow-up: four additional whole mock-only/mock-produced-state stream registrations are retired, for ten total cuts and one unchanged retained registration, keeps asking until a tab snapshot replaces the exhausted handle. The preceding five-retained description records the superseded candidate, not current coverage. The retained case checks the real hook-owned recovery-needed result; handoff, readiness and absence-marker mock-delivery alarms are intentionally lost without equivalent replacement. Dead test render counting and unused handoff setup are removed. No new native, physical-phone, timing or deployed-host proof is implied." ], "demotionRule": "Cannot promote while a supported stream path has uncapped snapshot or live-output buffering." }, @@ -12271,46 +11915,20 @@ "providers": ["local", "daemon", "ssh", "remote-runtime"], "coveredPlatforms": ["macos"], "coveredProviders": ["local"], - "coverageNotes": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally deletes src/renderer/src/components/terminal-pane/pty-connection-hidden-tui-snapshot-replay.spec.ts: Loses rich hidden snapshot sequence replay/grid resize and forced repaint after hidden snapshot alarms, including live-trigger deduplication. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic renderer contracts require foreground renderer-risk, synchronized, hidden, and alternate-screen PTY output to stay on pane-local repaint paths without a global atlas reset. Separate contracts preserve explicit paste, reveal, visibility-resume, system-resume, and confirmed-desync recovery. A macOS Electron run verifies that a document visibility cycle preserves real WebGL atlases and terminal pixels; the candidate has not been rerun against an isolated live paired server. The test-value audit removed registry recovery fanout, visibility, ordering and failure-isolation assertions. The remaining registry test constrains diagnostic sampling only and is excluded from this gate. No equivalent recovery coverage is claimed. Completed settled tab-reveal repaint execution is not covered after removal of pane-reveal-repaint.test.ts. The separate terminal-visibility-resume tests assert mocked scheduling and presentation calls; they do not establish completed repaint execution. Audit1342: src/renderer/src/lib/pane-manager/pane-webgl-context-recovery.test.ts removed. Context resume/reveal retry and deferred rebuild mock-pane alarms disappear. No equivalent replacement coverage is claimed. Audit1391: src/renderer/src/components/terminal-pane/pty-connection-remote-pause-drop-notice.spec.ts reduced. Lose repeated quiet switches avoiding snapshots and legacy host without drop-report capability requesting a snapshot. Retained imported registrar uses fake transport/xterm writes, exercising real gap/restore lifecycle rather than actual terminal rendering. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result.", + "coverageNotes": "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3349 retires the whole terminal-render-desync-sentinel suite, including the same-cells persistence/recovery alarm, without equivalent replacement. Its unit command selector, test-file selector and assertion reference are removed prospectively. Earlier global-effects/window-wake retirements and the retired dated sentinel receipt remain historical verbatim. Two unrelated macOS document-visibility E2E receipts remain verbatim; the frozen static closure does not select changed tests through their literal roots. No fresh GPU/rendered UI, runtime, historical-import, mobile, mixed-version or cross-platform validation is claimed. NEXT46 terminal-owner layout and whole-case policy: src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts. Complete retired/reduced selectors lose their listed alarms; retained cases have no transferred historical pass or equivalent replacement coverage. Unaffected dated receipts retain only their original exact scopes. This metadata edit is not fresh execution evidence. Historical prior account (preserved verbatim): Audit3335 retires the complete mocked window-wake recovery suite (11 authored registrations/12 expanded cases), intentionally losing fullscreen atlas-preservation, wake callback ordering, deferred-DPR deduplication/repair and private frame-budget alarms without equivalent replacement. The surviving focused selector is unexecuted in this source composition. Unrelated dated receipts keep their original scope; no fresh runtime/GPU/focus, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Audit3326 adopts reconciled source audit3324 and intentionally retires these low-value examples and their regression alarms: recovers visible terminal rendering and input when the window regains focus — Whole suite: fake React useEffect immediately invokes bodies and ignores cleanup/deps; fake useRef/store hooks plus mocked pane manager only assert callback choreography. Does not exercise window focus, actual input or pixels. Retires focus wake wiring alarm.; clears WebGL texture atlases when the OS resumes — Whole suite: same fake-hook harness invokes captured OS resume callback and counts mocked atlas-clear/repaint methods. No GPU, actual OS resume, or real hook lifetime. Retires atlas clear wiring alarm.; preserves WebGL texture atlases when the active terminal document becomes visible — Whole suite: direct fake document visibility listener and mock-call absence/presence under fake hooks cannot establish real WebGL preservation or cleanup. Retires visibility wake wiring alarm.. Retained tests do not replace these alarms. Dated unrelated evidence remains scoped to its original execution; no historical source/import-closure equivalence, fresh execution, real network/provider/SSH, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Audit1417 intentionally deletes src/renderer/src/components/terminal-pane/pty-connection-hidden-tui-snapshot-replay.spec.ts: Loses rich hidden snapshot sequence replay/grid resize and forced repaint after hidden snapshot alarms, including live-trigger deduplication. No equivalent replacement coverage or fresh result is claimed. Historical coverage account: Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic renderer contracts require foreground renderer-risk, synchronized, hidden, and alternate-screen PTY output to stay on pane-local repaint paths without a global atlas reset. Separate contracts preserve explicit paste, reveal, visibility-resume, system-resume, and confirmed-desync recovery. A macOS Electron run verifies that a document visibility cycle preserves real WebGL atlases and terminal pixels; the candidate has not been rerun against an isolated live paired server. The test-value audit removed registry recovery fanout, visibility, ordering and failure-isolation assertions. The remaining registry test constrains diagnostic sampling only and is excluded from this gate. No equivalent recovery coverage is claimed. Completed settled tab-reveal repaint execution is not covered after removal of pane-reveal-repaint.test.ts. The separate terminal-visibility-resume tests assert mocked scheduling and presentation calls; they do not establish completed repaint execution. Audit1342: src/renderer/src/lib/pane-manager/pane-webgl-context-recovery.test.ts removed. Context resume/reveal retry and deferred rebuild mock-pane alarms disappear. No equivalent replacement coverage is claimed. Audit1391: src/renderer/src/components/terminal-pane/pty-connection-remote-pause-drop-notice.spec.ts reduced. Lose repeated quiet switches avoiding snapshots and legacy host without drop-report capability requesting a snapshot. Retained imported registrar uses fake transport/xterm writes, exercising real gap/restore lifecycle rather than actual terminal rendering. No equivalent replacement coverage is claimed. The existing primary-selector receipt and its claims remain scoped to their unchanged sources; the broad optional command has no new execution result.", "motivatingLinks": [ "https://github.com/stablyai/orca/pull/7054", "https://github.com/stablyai/orca/pull/7604", "https://github.com/stablyai/orca/issues/12094" ], "invariant": "Ordinary PTY output must never clear the shared WebGL glyph atlas, including synchronized frames, hidden output, renderer-risk glyphs, and alternate-screen entry, redraw, or exit. Affected visible panes still receive pane-local refresh after parsing. Explicit paste, reveal, visibility-resume, system-resume, context-loss, and confirmed-desync recovery remain available and may reset visible renderers.", - "oracle": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Parse foreground renderer-risk, synchronized, hidden, and alternate-screen PTY output and require pane-local refresh where needed with zero calls to shared reset-and-refresh recovery. Require the atlas-recovery module to expose only explicit lifecycle entry points, then verify paste recovery. Completed settled tab-reveal repaint is not verified by the remaining unit evidence. Dispatch a visible document visibilitychange and require atlas-preserving wake recovery. Separately, drive an Electron visibility cycle with two real WebGL panes, require zero atlas clears, and retain at least 85% of each pane's baseline ink pixels.", + "oracle": "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3349 retires the whole terminal-render-desync-sentinel suite, including the same-cells persistence/recovery alarm, without equivalent replacement. Its unit command selector, test-file selector and assertion reference are removed prospectively. Earlier global-effects/window-wake retirements and the retired dated sentinel receipt remain historical verbatim. Two unrelated macOS document-visibility E2E receipts remain verbatim; the frozen static closure does not select changed tests through their literal roots. No fresh GPU/rendered UI, runtime, historical-import, mobile, mixed-version or cross-platform validation is claimed. Audit3335 retires the complete mocked window-wake recovery suite (11 authored registrations/12 expanded cases), intentionally losing fullscreen atlas-preservation, wake callback ordering, deferred-DPR deduplication/repair and private frame-budget alarms without equivalent replacement. The surviving focused selector is unexecuted in this source composition. Unrelated dated receipts keep their original scope; no fresh runtime/GPU/focus, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Audit3326 adopts reconciled source audit3324 and intentionally retires these low-value examples and their regression alarms: recovers visible terminal rendering and input when the window regains focus — Whole suite: fake React useEffect immediately invokes bodies and ignores cleanup/deps; fake useRef/store hooks plus mocked pane manager only assert callback choreography. Does not exercise window focus, actual input or pixels. Retires focus wake wiring alarm.; clears WebGL texture atlases when the OS resumes — Whole suite: same fake-hook harness invokes captured OS resume callback and counts mocked atlas-clear/repaint methods. No GPU, actual OS resume, or real hook lifetime. Retires atlas clear wiring alarm.; preserves WebGL texture atlases when the active terminal document becomes visible — Whole suite: direct fake document visibility listener and mock-call absence/presence under fake hooks cannot establish real WebGL preservation or cleanup. Retires visibility wake wiring alarm.. Retained tests do not replace these alarms. Dated unrelated evidence remains scoped to its original execution; no historical source/import-closure equivalence, fresh execution, real network/provider/SSH, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Retained exact unchanged-source receipts remain the only current execution evidence. Reduced selectors have no fresh execution result. Historical pre-audit oracle account for changed sources: The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Parse foreground renderer-risk, synchronized, hidden, and alternate-screen PTY output and require pane-local refresh where needed with zero calls to shared reset-and-refresh recovery. Require the atlas-recovery module to expose only explicit lifecycle entry points, then verify paste recovery. Completed settled tab-reveal repaint is not verified by the remaining unit evidence. Dispatch a visible document visibilitychange and require atlas-preserving wake recovery. Separately, drive an Electron visibility cycle with two real WebGL panes, require zero atlas clears, and retain at least 85% of each pane's baseline ink pixels.", "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/viewport/visibility/use-terminal-window-wake-recovery.test.ts src/renderer/src/components/terminal-pane/viewport/visibility/use-terminal-pane-global-effects-window-focus-recovery.test.ts src/renderer/src/components/terminal-pane/render-health/terminal-render-desync-sentinel.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts", "pnpm run ensure:electron-runtime && pnpm exec playwright test tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1", "pnpm run ensure:electron-runtime && pnpm exec playwright test tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1" ], - "testFiles": [ - "src/renderer/src/components/terminal-pane/viewport/visibility/use-terminal-window-wake-recovery.test.ts", - "src/renderer/src/components/terminal-pane/viewport/visibility/use-terminal-pane-global-effects-window-focus-recovery.test.ts", - "src/renderer/src/components/terminal-pane/render-health/terminal-render-desync-sentinel.test.ts", - "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts", - "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts", - "tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts" - ], + "testFiles": ["tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts"], "assertionRefs": [ - { - "file": "src/renderer/src/components/terminal-pane/viewport/visibility/use-terminal-window-wake-recovery.test.ts", - "assertions": ["preserves the glyph atlas when a fullscreen Space becomes visible"] - }, - { - "file": "src/renderer/src/components/terminal-pane/viewport/visibility/use-terminal-pane-global-effects-window-focus-recovery.test.ts", - "assertions": [ - "preserves WebGL texture atlases when the active terminal document becomes visible" - ] - }, - { - "file": "src/renderer/src/components/terminal-pane/render-health/terminal-render-desync-sentinel.test.ts", - "assertions": ["persists and recovers after the same cells stay missing twice"] - }, - { - "file": "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts", - "assertions": ["keeps hidden synchronized output off the global atlas recovery path"] - }, { "file": "tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts", "assertions": [ @@ -12360,6 +11978,9 @@ "Add Linux and Windows WebGL visibility evidence before claiming cross-platform visual coverage." ], "knownGaps": [ + "NEXT65 current scope qualification: The NEXT65 knownGaps entries below govern the changed selectors and qualify any broader coverage implication in this gate’s unchanged oracle/coverageNotes narratives. Those narratives and preserved dated evidenceRuns retain their historical text and original exact execution scopes only; no fresh execution, transferred pass or equivalent replacement coverage is claimed. Upstream case removals remain upstream; original NEXT65 proposal descriptions grant no duplicate retirement credit.", + "NEXT65 active selector scope reduction (including directory-selected whole-file retirements): src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts. Remove complete registrations or registrar files within the selected scope for src/renderer/src/components/terminal-pane/pty-connection/reattach/pty-connection-daemon-snapshot-replay.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/emulation/pty-connection-mode-2031-subscriptions.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/reattach/pty-connection-stale-daemon-snapshot-replay.spec.ts. Intentionally lose these named regression alarms without replacement: catches a subscribed pane up once per mode change across repeated reconnects — Mode2031 theme reporting catch-up/deduplication across repeated reconnects loses this direct protocol example.; defers to the viewer holding the grid, then catches up once on release — Held-grid viewer deferral and one catch-up/current-mode resending on release lose this direct protocol example.; clears the captured pen for a normal-buffer fallback reattach — Fallback normal-buffer reattach clearing captured pen and dirty background loses this direct example.; waits for a recovered destination fit before forwarding its grid or live output — Recovered destination fitting before forwarding grid or live output loses this direct example.; suppresses the deferred reattach grid push when mobile claims the PTY while hidden — Mobile takeover while hidden suppressing deferred reattach grid forwarding loses this direct example.; drops stale callbacks but delivers fresh replacement output after an old replay clear — Fresh replacement output winning over stale callbacks after old replay clear loses this direct example.. Surviving parent statements and sibling registrations are preserved, but these reduced parent selectors have no fresh execution or transferred historical pass. Unrelated complete dated receipts retain only their original exact scopes; no equivalent replacement, rendered UI, provider, mobile, or cross-platform coverage is claimed.", + "NEXT65 historical original active parent-selector fields (verbatim native JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/render-health/terminal-render-desync-sentinel.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts\",\n \"pnpm run ensure:electron-runtime && pnpm exec playwright test tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"pnpm run ensure:electron-runtime && pnpm exec playwright test tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\"\n ]\ntestFiles: [\n \"src/renderer/src/components/terminal-pane/render-health/terminal-render-desync-sentinel.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts\",\n \"tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/components/terminal-pane/render-health/terminal-render-desync-sentinel.test.ts\",\n \"assertions\": [\"persists and recovers after the same cells stay missing twice\"]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"assertions\": [\"keeps hidden synchronized output off the global atlas recovery path\"]\n },\n {\n \"file\": \"tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts\",\n \"assertions\": [\n \"preserves the WebGL atlas and keeps terminal text painted after document visibility resumes\"\n ]\n }\n ]", "Audit3061 retires the park-model supplied snapshot suite and nominal mode, cursor, focus, geometry and remote resume metadata variants. Their distinct alarms are intentionally lost; six retained mode/remote cases preserve selected tail-order, authority and parse-readiness boundaries without equivalent replacement. Existing selectors and dated evidence retain their original scope.", "Audit3053 reduces hidden-replay coverage by retiring nominal overlap, resize, cursor metadata and standalone stalled-restore variants. Timeout, overflow, identity/generation fences and retained live-output coordination remain; the removed alarms are intentionally lost without equivalent replacement. Existing commands, assertion references and dated evidence retain their original scope.", "Audit3037 removes seven supplied-input baseline cases from the terminal-input-gating registrar. Input-and-repaint wrapper selectors and unrelated assertions remain; historical receipts do not validate the reduced source bytes. No renewed atlas, renderer, native or performance evidence is claimed.", @@ -12375,7 +11996,16 @@ "Audit1342 historical assertion inventory for deleted/reduced sources; not current validated assertions:\n[\n {\n \"file\": \"src/renderer/src/lib/pane-manager/pane-webgl-context-recovery.test.ts\",\n \"assertions\": [\n \"recovers a context-lost pane on the next rendering resume\"\n ]\n }\n]", "Audit1391: src/renderer/src/components/terminal-pane/pty-connection-remote-pause-drop-notice.spec.ts reduced. Lose repeated quiet switches avoiding snapshots and legacy host without drop-report capability requesting a snapshot. Retained imported registrar uses fake transport/xterm writes, exercising real gap/restore lifecycle rather than actual terminal rendering. No equivalent replacement coverage is claimed. Existing exact primary-selector receipts remain unchanged.", "Audit1417 intentionally deletes src/renderer/src/components/terminal-pane/pty-connection-hidden-tui-snapshot-replay.spec.ts: Loses rich hidden snapshot sequence replay/grid resize and forced repaint after hidden snapshot alarms, including live-trigger deduplication. No equivalent replacement coverage or fresh result is claimed.", - "Issue #22458 removes non-Windows repaint tests that only assert private synchronous refresh calls. Their renderer-risk and alternate-screen atlas assertions are no longer registered; historical results do not validate equivalent coverage." + "Issue #22458 removes non-Windows repaint tests that only assert private synchronous refresh calls. Their renderer-risk and alternate-screen atlas assertions are no longer registered; historical results do not validate equivalent coverage.", + "Audit3326 adopts reconciled source audit3324 and intentionally retires these low-value examples and their regression alarms: recovers visible terminal rendering and input when the window regains focus — Whole suite: fake React useEffect immediately invokes bodies and ignores cleanup/deps; fake useRef/store hooks plus mocked pane manager only assert callback choreography. Does not exercise window focus, actual input or pixels. Retires focus wake wiring alarm.; clears WebGL texture atlases when the OS resumes — Whole suite: same fake-hook harness invokes captured OS resume callback and counts mocked atlas-clear/repaint methods. No GPU, actual OS resume, or real hook lifetime. Retires atlas clear wiring alarm.; preserves WebGL texture atlases when the active terminal document becomes visible — Whole suite: direct fake document visibility listener and mock-call absence/presence under fake hooks cannot establish real WebGL preservation or cleanup. Retires visibility wake wiring alarm.. Retained tests do not replace these alarms. Dated unrelated evidence remains scoped to its original execution; no historical source/import-closure equivalence, fresh execution, real network/provider/SSH, rendered UI, mobile, mixed-version or cross-platform validation is claimed.", + "Audit3335 retires the complete mocked window-wake recovery suite (11 authored registrations/12 expanded cases), intentionally losing fullscreen atlas-preservation, wake callback ordering, deferred-DPR deduplication/repair and private frame-budget alarms without equivalent replacement. The surviving focused selector is unexecuted in this source composition. Unrelated dated receipts keep their original scope; no fresh runtime/GPU/focus, rendered UI, mobile, mixed-version or cross-platform validation is claimed.", + "NEXT46 terminal-owner layout and whole-case policy: src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts. Complete retired/reduced selectors lose their listed alarms; retained cases have no transferred historical pass or equivalent replacement coverage. Unaffected dated receipts retain only their original exact scopes. This metadata edit is not fresh execution evidence.", + "NEXT46 historical original active selector fields (verbatim JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/render-health/terminal-render-desync-sentinel.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts\",\n \"pnpm run ensure:electron-runtime && pnpm exec playwright test tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"pnpm run ensure:electron-runtime && pnpm exec playwright test tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\"\n ]\ntestFiles: [\n \"src/renderer/src/components/terminal-pane/render-health/terminal-render-desync-sentinel.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts\",\n \"tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/components/terminal-pane/render-health/terminal-render-desync-sentinel.test.ts\",\n \"assertions\": [\"persists and recovers after the same cells stay missing twice\"]\n },\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"assertions\": [\"keeps hidden synchronized output off the global atlas recovery path\"]\n },\n {\n \"file\": \"tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts\",\n \"assertions\": [\n \"preserves the WebGL atlas and keeps terminal text painted after document visibility resumes\"\n ]\n }\n ]", + "Audit3349 retires the whole terminal-render-desync-sentinel suite, including the same-cells persistence/recovery alarm, without equivalent replacement. Its unit command selector, test-file selector and assertion reference are removed prospectively. Earlier global-effects/window-wake retirements and the retired dated sentinel receipt remain historical verbatim. Two unrelated macOS document-visibility E2E receipts remain verbatim; the frozen static closure does not select changed tests through their literal roots. No fresh GPU/rendered UI, runtime, historical-import, mobile, mixed-version or cross-platform validation is claimed.", + "Audit3349 historical original commands object, preserved verbatim; retired source claims are not active evidence or replacement coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/render-health/terminal-render-desync-sentinel.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts\"", + "Audit3349 historical original testFiles object, preserved verbatim; retired source claims are not active evidence or replacement coverage:\n\"src/renderer/src/components/terminal-pane/render-health/terminal-render-desync-sentinel.test.ts\"", + "Audit3349 historical original assertionRefs object, preserved verbatim; retired source claims are not active evidence or replacement coverage:\n{\n \"file\": \"src/renderer/src/components/terminal-pane/render-health/terminal-render-desync-sentinel.test.ts\",\n \"assertions\": [\"persists and recovers after the same cells stay missing twice\"]\n }", + "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed.\nOriginal active selector fields (historical raw native JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts\",\n \"pnpm run ensure:electron-runtime && pnpm exec playwright test tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1\",\n \"pnpm run ensure:electron-runtime && pnpm exec playwright test tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\"\n ]\ntestFiles: [\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts\",\n \"tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts\",\n \"assertions\": [\"keeps hidden synchronized output off the global atlas recovery path\"]\n },\n {\n \"file\": \"tests/e2e/terminal-document-visibility-webgl-recovery.spec.ts\",\n \"assertions\": [\n \"preserves the WebGL atlas and keeps terminal text painted after document visibility resumes\"\n ]\n }\n ]" ], "demotionRule": "Demote if ordinary PTY output re-enters shared reset/refresh recovery, pane-local redraw coverage regresses, ordinary visibility clears the atlas, real WebGL pixels regress, or the focused Electron test cannot remain deterministic." }, @@ -12447,38 +12077,19 @@ "providers": ["local", "daemon"], "coveredPlatforms": ["macos"], "coveredProviders": ["local"], - "coverageNotes": "Audit1948: Audit1944 keeps the two snapshot/imageless restore cases but removes three real-clock delayed-scheduling/null-retry cases from pty-connection-hidden-runtime-snapshot.test.ts. Inactive split scheduling and its mock boundary alarms are intentionally lost. The changed source has no transferred historical pass, timing or equivalent-rendered-coverage claim. Independent unchanged headed Electron receipts retain only their original exact scopes; static metadata/source review is no fresh execution evidence. The entire dated 98-contract renderer receipt is retired whole, with all original command/currentCommand/date/count/result fields preserved as historical. Historical prior account (preserved verbatim): A headed macOS Electron test drives explicit destructive atlas recovery while DEC 2026 output is held, then compares compositor screenshots before and after a direct full-buffer present. The same renderer choreography is provider-local, but daemon, SSH, remote-runtime, Linux, and Windows GPU runs remain gaps. The test-value audit removed registry recovery fanout, visibility, ordering and failure-isolation assertions. The remaining registry test constrains diagnostic sampling only and is excluded from this gate. No equivalent recovery coverage is claimed. The audit removes the canvas-DPR and render-pause-release unit suites and several renderer flag/retry examples. Their isolated DPR-cache, render-service routing and display-none retry alarms are no longer registered; retained unit and historical Electron evidence do not establish equivalent coverage. No live GPU rerun accompanies this administrative update.", + "coverageNotes": "NEXT46 terminal-owner layout and whole-case policy: src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-runtime-snapshot.test.ts, src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-backlog-snapshot.test.ts, src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts, src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts. Complete retired/reduced selectors lose their listed alarms; retained cases have no transferred historical pass or equivalent replacement coverage. Unaffected dated receipts retain only their original exact scopes. This metadata edit is not fresh execution evidence. Historical prior account (preserved verbatim): Audit3335 retires the complete mocked window-wake recovery suite (11 authored registrations/12 expanded cases), intentionally losing fullscreen atlas-preservation, wake callback ordering, deferred-DPR deduplication/repair and private frame-budget alarms without equivalent replacement. The surviving focused selector is unexecuted in this source composition. Unrelated dated receipts keep their original scope; no fresh runtime/GPU/focus, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Audit1948: Audit1944 keeps the two snapshot/imageless restore cases but removes three real-clock delayed-scheduling/null-retry cases from pty-connection-hidden-runtime-snapshot.test.ts. Inactive split scheduling and its mock boundary alarms are intentionally lost. The changed source has no transferred historical pass, timing or equivalent-rendered-coverage claim. Independent unchanged headed Electron receipts retain only their original exact scopes; static metadata/source review is no fresh execution evidence. The entire dated 98-contract renderer receipt is retired whole, with all original command/currentCommand/date/count/result fields preserved as historical. Historical prior account (preserved verbatim): A headed macOS Electron test drives explicit destructive atlas recovery while DEC 2026 output is held, then compares compositor screenshots before and after a direct full-buffer present. The same renderer choreography is provider-local, but daemon, SSH, remote-runtime, Linux, and Windows GPU runs remain gaps. The test-value audit removed registry recovery fanout, visibility, ordering and failure-isolation assertions. The remaining registry test constrains diagnostic sampling only and is excluded from this gate. No equivalent recovery coverage is claimed. The audit removes the canvas-DPR and render-pause-release unit suites and several renderer flag/retry examples. Their isolated DPR-cache, render-service routing and display-none retry alarms are no longer registered; retained unit and historical Electron evidence do not establish equivalent coverage. No live GPU rerun accompanies this administrative update.", "motivatingLinks": [ "https://github.com/stablyai/orca/pull/7133", "https://github.com/stablyai/orca/pull/7054" ], "invariant": "After proven renderer damage triggers destructive recovery, visible pixels equal a full model-invalidating present of the current buffer.", - "oracle": "Audit1948: Audit1944 keeps the two snapshot/imageless restore cases but removes three real-clock delayed-scheduling/null-retry cases from pty-connection-hidden-runtime-snapshot.test.ts. Inactive split scheduling and its mock boundary alarms are intentionally lost. The changed source has no transferred historical pass, timing or equivalent-rendered-coverage claim. Independent unchanged headed Electron receipts retain only their original exact scopes; static metadata/source review is no fresh execution evidence. Historical prior account (preserved verbatim): Hold DEC 2026, invoke explicit atlas recovery, require an atlas clear, screenshot the pane, force a direct renderer present, and assert the bounded pixel diff is immaterial. Compositor screenshots only, because WebGL canvas readback is blank with preserveDrawingBuffer disabled.", + "oracle": "Audit3335 retires the complete mocked window-wake recovery suite (11 authored registrations/12 expanded cases), intentionally losing fullscreen atlas-preservation, wake callback ordering, deferred-DPR deduplication/repair and private frame-budget alarms without equivalent replacement. The surviving focused selector is unexecuted in this source composition. Unrelated dated receipts keep their original scope; no fresh runtime/GPU/focus, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Audit1948: Audit1944 keeps the two snapshot/imageless restore cases but removes three real-clock delayed-scheduling/null-retry cases from pty-connection-hidden-runtime-snapshot.test.ts. Inactive split scheduling and its mock boundary alarms are intentionally lost. The changed source has no transferred historical pass, timing or equivalent-rendered-coverage claim. Independent unchanged headed Electron receipts retain only their original exact scopes; static metadata/source review is no fresh execution evidence. Historical prior account (preserved verbatim): Hold DEC 2026, invoke explicit atlas recovery, require an atlas clear, screenshot the pane, force a direct renderer present, and assert the bounded pixel diff is immaterial. Compositor screenshots only, because WebGL canvas readback is blank with preserveDrawingBuffer disabled.", "commands": [ "pnpm run ensure:electron-runtime && pnpm exec playwright test tests/e2e/terminal-reveal-paused-render-repro.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-runtime-snapshot.test.ts src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-backlog-snapshot.test.ts src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts src/renderer/src/components/terminal-pane/viewport/visibility/use-terminal-window-wake-recovery.test.ts src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts", "ORCA_E2E_RECORD_VIDEO=1 pnpm exec playwright test tests/e2e/terminal-reveal-paused-render-repro.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1 --repeat-each=3" ], - "testFiles": [ - "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-runtime-snapshot.test.ts", - "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-backlog-snapshot.test.ts", - "src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts", - "src/renderer/src/components/terminal-pane/viewport/visibility/use-terminal-window-wake-recovery.test.ts", - "src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts", - "tests/e2e/terminal-reveal-paused-render-repro.spec.ts" - ], + "testFiles": ["tests/e2e/terminal-reveal-paused-render-repro.spec.ts"], "assertionRefs": [ - { - "file": "src/renderer/src/components/terminal-pane/viewport/visibility/use-terminal-window-wake-recovery.test.ts", - "assertions": [ - "deduplicates a deferred dpr retry and consumes it after repair succeeds", - "caps a deferred dpr transition at sixteen animation-frame retries" - ] - }, - { - "file": "src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts", - "assertions": ["defers a heavy-reveal dpr present until the shared atlas recovery"] - }, { "file": "tests/e2e/terminal-reveal-paused-render-repro.spec.ts", "assertions": ["@headful atlas recovery presents a synchronized-output WebGL frame"] @@ -12532,7 +12143,10 @@ "The test-value audit removed registry recovery fanout, visibility, ordering and failure-isolation assertions. The remaining registry test constrains diagnostic sampling only and is excluded from this gate. No equivalent recovery coverage is claimed.", "The audit removes the canvas-DPR and render-pause-release unit suites and several renderer flag/retry examples. Their isolated DPR-cache, render-service routing and display-none retry alarms are no longer registered; retained unit and historical Electron evidence do not establish equivalent coverage. No live GPU rerun accompanies this administrative update.", "Audit1948: Audit1944 keeps the two snapshot/imageless restore cases but removes three real-clock delayed-scheduling/null-retry cases from pty-connection-hidden-runtime-snapshot.test.ts. Inactive split scheduling and its mock boundary alarms are intentionally lost. The changed source has no transferred historical pass, timing or equivalent-rendered-coverage claim. Independent unchanged headed Electron receipts retain only their original exact scopes; static metadata/source review is no fresh execution evidence.", - "Audit1948 historical original evidenceRuns object, preserved verbatim; retired objects are not active execution evidence or replacement coverage:\n{\n \"date\": \"2026-08-23\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-connection-hidden-backlog-snapshot.test.ts src/renderer/src/components/terminal-pane/terminal-visibility-resume.test.ts src/renderer/src/components/terminal-pane/use-terminal-window-wake-recovery.test.ts src/renderer/src/lib/pane-manager/pane-manager-registry.test.ts src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts src/renderer/src/lib/pane-manager/terminal-canvas-dpr-repair.test.ts src/renderer/src/lib/pane-manager/terminal-render-pause-release.test.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 2,\n \"summary\": \"All 98 renderer contracts passed, including same-DPR zero-scan behavior, visible-only fanout, tri-state DPR repair, deduplicated bounded retry, heavy-reveal repair, and listener cleanup. Historical command preserved after the test-value audit removed the referenced reveal/repaint or registry recovery assertions. currentCommand is an administrative link; this historical run has not validated the remaining command or equivalent coverage. Administrative command maintenance removes deleted unit suites; the executed command and result are historical, with no rerun or equivalence claim.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-runtime-snapshot.test.ts src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-backlog-snapshot.test.ts src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts src/renderer/src/components/terminal-pane/viewport/visibility/use-terminal-window-wake-recovery.test.ts src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts\"\n }" + "Audit1948 historical original evidenceRuns object, preserved verbatim; retired objects are not active execution evidence or replacement coverage:\n{\n \"date\": \"2026-08-23\",\n \"runner\": \"local\",\n \"platform\": \"macos\",\n \"command\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-connection-hidden-backlog-snapshot.test.ts src/renderer/src/components/terminal-pane/terminal-visibility-resume.test.ts src/renderer/src/components/terminal-pane/use-terminal-window-wake-recovery.test.ts src/renderer/src/lib/pane-manager/pane-manager-registry.test.ts src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts src/renderer/src/lib/pane-manager/terminal-canvas-dpr-repair.test.ts src/renderer/src/lib/pane-manager/terminal-render-pause-release.test.ts\",\n \"result\": \"passed\",\n \"durationSeconds\": 2,\n \"summary\": \"All 98 renderer contracts passed, including same-DPR zero-scan behavior, visible-only fanout, tri-state DPR repair, deduplicated bounded retry, heavy-reveal repair, and listener cleanup. Historical command preserved after the test-value audit removed the referenced reveal/repaint or registry recovery assertions. currentCommand is an administrative link; this historical run has not validated the remaining command or equivalent coverage. Administrative command maintenance removes deleted unit suites; the executed command and result are historical, with no rerun or equivalence claim.\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-runtime-snapshot.test.ts src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-backlog-snapshot.test.ts src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts src/renderer/src/components/terminal-pane/viewport/visibility/use-terminal-window-wake-recovery.test.ts src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts\"\n }", + "Audit3335 retires the complete mocked window-wake recovery suite (11 authored registrations/12 expanded cases), intentionally losing fullscreen atlas-preservation, wake callback ordering, deferred-DPR deduplication/repair and private frame-budget alarms without equivalent replacement. The surviving focused selector is unexecuted in this source composition. Unrelated dated receipts keep their original scope; no fresh runtime/GPU/focus, rendered UI, mobile, mixed-version or cross-platform validation is claimed.", + "NEXT46 terminal-owner layout and whole-case policy: src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-runtime-snapshot.test.ts, src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-backlog-snapshot.test.ts, src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts, src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts. Complete retired/reduced selectors lose their listed alarms; retained cases have no transferred historical pass or equivalent replacement coverage. Unaffected dated receipts retain only their original exact scopes. This metadata edit is not fresh execution evidence.", + "NEXT46 historical original active selector fields (verbatim JSON values; not current coverage):\ncommands: [\n \"pnpm run ensure:electron-runtime && pnpm exec playwright test tests/e2e/terminal-reveal-paused-render-repro.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-runtime-snapshot.test.ts src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-backlog-snapshot.test.ts src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts\",\n \"ORCA_E2E_RECORD_VIDEO=1 pnpm exec playwright test tests/e2e/terminal-reveal-paused-render-repro.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1 --repeat-each=3\"\n ]\ntestFiles: [\n \"src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-runtime-snapshot.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-backlog-snapshot.test.ts\",\n \"src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts\",\n \"src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts\",\n \"tests/e2e/terminal-reveal-paused-render-repro.spec.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts\",\n \"assertions\": [\"defers a heavy-reveal dpr present until the shared atlas recovery\"]\n },\n {\n \"file\": \"tests/e2e/terminal-reveal-paused-render-repro.spec.ts\",\n \"assertions\": [\"@headful atlas recovery presents a synchronized-output WebGL frame\"]\n }\n ]" ], "demotionRule": "Drop from the golden suite back to nightly diagnostic if diff thresholds cannot be kept stable across CI runners." }, @@ -12548,7 +12162,7 @@ "providers": ["local", "daemon", "ssh", "remote-runtime"], "coveredPlatforms": ["macos"], "coveredProviders": ["local"], - "coverageNotes": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit1948: Audit1944 keeps the two snapshot/imageless restore cases but removes three real-clock delayed-scheduling/null-retry cases from pty-connection-hidden-runtime-snapshot.test.ts. Inactive split scheduling and its mock boundary alarms are intentionally lost. The changed source has no transferred historical pass, timing or equivalent-rendered-coverage claim. Independent unchanged headed Electron receipts retain only their original exact scopes; static metadata/source review is no fresh execution evidence. Historical prior account (preserved verbatim): A headed macOS Electron test uses a real xterm WebGL renderer and production tab reveal. It proves the coherent pre-hide canvas remains visible while DEC 2026 holds a newer buffer, then proves normal release and xterm's one-second watchdog publish complete frames. Renderer behavior is provider-neutral; live Linux, Windows, daemon, SSH, and remote-runtime GPU runs remain gaps. The audit removes isolated synchronized-frame viewport-present and render-pause-release unit examples. The historical headed Electron oracle remains recorded; retained scheduling tests do not establish equivalent render-service routing or completed-frame coverage. No live GPU rerun accompanies this administrative update.", + "coverageNotes": "NEXT46 terminal-owner layout and whole-case policy: src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-runtime-snapshot.test.ts, src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-backlog-snapshot.test.ts, src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts, src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts. Complete retired/reduced selectors lose their listed alarms; retained cases have no transferred historical pass or equivalent replacement coverage. Unaffected dated receipts retain only their original exact scopes. This metadata edit is not fresh execution evidence. Historical prior account (preserved verbatim): Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit1948: Audit1944 keeps the two snapshot/imageless restore cases but removes three real-clock delayed-scheduling/null-retry cases from pty-connection-hidden-runtime-snapshot.test.ts. Inactive split scheduling and its mock boundary alarms are intentionally lost. The changed source has no transferred historical pass, timing or equivalent-rendered-coverage claim. Independent unchanged headed Electron receipts retain only their original exact scopes; static metadata/source review is no fresh execution evidence. Historical prior account (preserved verbatim): A headed macOS Electron test uses a real xterm WebGL renderer and production tab reveal. It proves the coherent pre-hide canvas remains visible while DEC 2026 holds a newer buffer, then proves normal release and xterm's one-second watchdog publish complete frames. Renderer behavior is provider-neutral; live Linux, Windows, daemon, SSH, and remote-runtime GPU runs remain gaps. The audit removes isolated synchronized-frame viewport-present and render-pause-release unit examples. The historical headed Electron oracle remains recorded; retained scheduling tests do not establish equivalent render-service routing or completed-frame coverage. No live GPU rerun accompanies this administrative update.", "motivatingLinks": [ "https://github.com/stablyai/orca/pull/7133", "https://github.com/stablyai/orca/pull/7054" @@ -12556,24 +12170,10 @@ "invariant": "terminal-render.synchronized-reveal-coherence: an ordinary reveal never clears a healthy shared atlas or publishes a partially built DEC 2026 frame; it retains the last coherent canvas until release or xterm's bounded watchdog.", "oracle": "Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit1948: Audit1944 keeps the two snapshot/imageless restore cases but removes three real-clock delayed-scheduling/null-retry cases from pty-connection-hidden-runtime-snapshot.test.ts. Inactive split scheduling and its mock boundary alarms are intentionally lost. The changed source has no transferred historical pass, timing or equivalent-rendered-coverage claim. Independent unchanged headed Electron receipts retain only their original exact scopes; static metadata/source review is no fresh execution evidence. Historical prior account (preserved verbatim): Paint and capture a coherent frame, hide the real terminal tab, build a distinct full-screen frame while DEC 2026 is held, reveal through production, and require zero atlas clears plus pixel-equivalence with the coherent frame. Then release normally and through the one-second watchdog, requiring both compositor frames to match a direct renderer present.", "commands": [ - "pnpm run ensure:electron-runtime && pnpm exec playwright test tests/e2e/terminal-reveal-paused-render-repro.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1", - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-runtime-snapshot.test.ts src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-backlog-snapshot.test.ts src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts" - ], - "testFiles": [ - "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-runtime-snapshot.test.ts", - "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-backlog-snapshot.test.ts", - "src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts", - "src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts", - "tests/e2e/terminal-reveal-paused-render-repro.spec.ts" + "pnpm run ensure:electron-runtime && pnpm exec playwright test tests/e2e/terminal-reveal-paused-render-repro.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1" ], + "testFiles": ["tests/e2e/terminal-reveal-paused-render-repro.spec.ts"], "assertionRefs": [ - { - "file": "src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts", - "assertions": [ - "schedules an atlas-preserving present on a light tab reveal", - "keeps heavy atlas recovery off a plain window refocus" - ] - }, { "file": "tests/e2e/terminal-reveal-paused-render-repro.spec.ts", "assertions": [ @@ -12619,7 +12219,9 @@ "Linux, Windows, daemon, SSH, and remote-runtime live GPU evidence is not yet recorded.", "The 1.5% compositor threshold tolerates cursor and shell-prompt timing noise; exact buffer content and atlas-clear counts are asserted separately.", "The audit removes isolated synchronized-frame viewport-present and render-pause-release unit examples. The historical headed Electron oracle remains recorded; retained scheduling tests do not establish equivalent render-service routing or completed-frame coverage. No live GPU rerun accompanies this administrative update.", - "Audit1948: Audit1944 keeps the two snapshot/imageless restore cases but removes three real-clock delayed-scheduling/null-retry cases from pty-connection-hidden-runtime-snapshot.test.ts. Inactive split scheduling and its mock boundary alarms are intentionally lost. The changed source has no transferred historical pass, timing or equivalent-rendered-coverage claim. Independent unchanged headed Electron receipts retain only their original exact scopes; static metadata/source review is no fresh execution evidence." + "Audit1948: Audit1944 keeps the two snapshot/imageless restore cases but removes three real-clock delayed-scheduling/null-retry cases from pty-connection-hidden-runtime-snapshot.test.ts. Inactive split scheduling and its mock boundary alarms are intentionally lost. The changed source has no transferred historical pass, timing or equivalent-rendered-coverage claim. Independent unchanged headed Electron receipts retain only their original exact scopes; static metadata/source review is no fresh execution evidence.", + "NEXT46 terminal-owner layout and whole-case policy: src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-runtime-snapshot.test.ts, src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-backlog-snapshot.test.ts, src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts, src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts. Complete retired/reduced selectors lose their listed alarms; retained cases have no transferred historical pass or equivalent replacement coverage. Unaffected dated receipts retain only their original exact scopes. This metadata edit is not fresh execution evidence.", + "NEXT46 historical original active selector fields (verbatim JSON values; not current coverage):\ncommands: [\n \"pnpm run ensure:electron-runtime && pnpm exec playwright test tests/e2e/terminal-reveal-paused-render-repro.spec.ts --config tests/playwright.config.ts --project electron-headful --workers=1\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-runtime-snapshot.test.ts src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-backlog-snapshot.test.ts src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts\"\n ]\ntestFiles: [\n \"src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-runtime-snapshot.test.ts\",\n \"src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-backlog-snapshot.test.ts\",\n \"src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts\",\n \"src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts\",\n \"tests/e2e/terminal-reveal-paused-render-repro.spec.ts\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts\",\n \"assertions\": [\n \"schedules an atlas-preserving present on a light tab reveal\",\n \"keeps heavy atlas recovery off a plain window refocus\"\n ]\n },\n {\n \"file\": \"tests/e2e/terminal-reveal-paused-render-repro.spec.ts\",\n \"assertions\": [\n \"@headful reveal preserves the coherent frame until synchronized output releases\"\n ]\n }\n ]" ], "demotionRule": "Demote if ordinary reveal clears the shared atlas, the held frame stops matching its coherent baseline, release/watchdog output diverges from a direct present, or the headed oracle cannot remain deterministic." }, @@ -12752,14 +12354,14 @@ "providers": ["local", "remote-runtime", "ssh"], "coveredPlatforms": ["macos", "linux"], "coveredProviders": ["local", "remote-runtime", "ssh"], - "coverageNotes": "Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/runtime/files/watching/runtime-file-client-watch.test.ts: delivers remote file changes to listeners for the same worktree. src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/mobile-session-tabs-part-14.spec'). src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-03.spec.ts: arms the stale-title timer for a seeded working title; arms the Command Code scrape from the noted spawn command; prefers the tracked title over a stale renderer lastTitle in the hydration seed; writes recent output into the current runtime output map; uses a later title handler replacement with the runtime receiver; calls the current injected listener with the runtime receiver; keeps optional reconciliation lazy after its callback is removed. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-14.spec.ts: lists them, so a paired client can mirror a migrated editor; closes one by retiring it from the host session; keeps an unsaved draft unless the close is forced; shares aggregate work but leaves a replacement pending promise alone; lets a targeted refresh finish while an aggregate refresh waits; refuses a close when the store lacks %s before the guard; keeps a later missing %s on the original caught failure path. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Exact retired assertionRefs, preserved as historical objects only: {\n \"file\": \"src/renderer/src/runtime/files/watching/runtime-file-client-watch.test.ts\",\n \"assertions\": [\n \"terminal watcher error and setup failure evict the shared entry before retrying callbacks run\",\n \"an old stream end cannot evict the replacement stream, which still delivers to its listener\",\n \"two same-worktree listeners share a synthetic subscription until the final stop unsubscribes and sends unwatch\"\n ]\n } Historical prior account (preserved verbatim): Audit1973: Delete the standalone mocked watcher cleanup suite and its entire sole-file prospective command. Retire the removed file-command transport-abort alias; preserve the independent cancellation suite and final-overflow/error/end cleanup callback, and13 unrelated receipt objects. Whole original changed dated receipts are retired, never narrowed or transferred. This metadata review claims no fresh execution, equivalent replacement, provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Partial runtime files-watch suite retains controlled Windows close-event waiting, shared-client survival, late physical-exit ownership/deadline cleanup and shutdown joining. Its combined Windows close/deadline/late-exit alias remains backed by unchanged callbacks. Retire native-error-close, pre-publication setup ownership and failed-delete rearm aliases; associated delegation, failure forwarding, removal routing and recovery examples are lost. These tests inject watch/subscription seams and do not observe an actual native watcher or physical process. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1925 (sources1922/1923): Partial runtime watcher-host suite loses mocked option/event/overflow/resubscription forwarding, supplied teardown-error propagation, aborted-signal/no-call and private ten-thousand-waiter-count inventories. Retire the 10,000-caller bound and failed-recovery-subscriber-ending assertion aliases. Keep same-root owner cancellation, pre-ready replacement, held root-close join, stale-generation recovery delivery and initial failed-root ownership mappings backed by retained real-host callbacks with injected subscription/error/physical-exit promises. No actual native watcher, process termination or resource bound was observed. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1683 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1645 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1634 removes low-value IPC, filesystem and runtime projections, argument inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained cancellation, ownership, authorization, filesystem and SQLite boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1627 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1623 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1516 removes package-electron-runtime-contract.test.mjs, a copied release-workflow platform and marker matrix. Its workflow wiring alarm is intentionally retired; no actual packaged watcher delivery was exercised and no equivalent replacement is claimed. Unaffected dated execution receipts retain their original scope; changed optional selectors have no fresh full-gate execution result. This audit removes the paired-web stopped-during-outage and late-ready direct-branch examples. The retained pre-ready cancellation, failed-unwatch retry and replay-continuity cases are not equivalent replacements for those ordering alarms. Current web-runtime-client.test.ts assertions below name only its retained pre-ready callback case; replay cases remain in their separate suite. Historical commands and results remain historical. Deterministic tests cover one shared healthy child per runtime process plus at most four bounded fault-quarantine children, native desktop, paired-runtime, and WSL snapshot processes sharing the same eight-physical-child reservation with typed serialized event-driven capacity recovery, including recursive re-wait when crash recovery reclaims an announced slot, one quarantine attempt per watch lifetime, generation-scoped cancellation, bounded termination with removable deadline waiters, replacement-crawl errors that cannot be blessed by a late readiness ack, pre-ready paired-web cancellation registered before an unbounded capacity wait, already-resolved and late physical-exit retry of a rejected paired-web teardown, physical desktop-install and local/SSH PTY teardown, stale-generation rejection, per-child stat bounds, final-overflow RPC delivery, and renderer eviction before terminal callbacks can retry. Destructive local and SSH removal fences both ID-derived and resolved-cwd terminal roots, including sibling-root/cwd combinations with reverse admission rollback, closes descendant relay watches before parent deletion, enumerates authoritative provider/cwd ownership, falls back to daemon spawn cwd before OSC 7, and keeps daemon/relay immediate shutdown pending until native exit or a bounded fail-closed error; a dead relay PID discovered during attach also settles concurrent shutdown before its stale entry is reaped, while Windows runtime watcher deadlines retain one removable physical-close waiter, treat Node's error-close path as positive physical-exit proof, and clear root ownership on late close. The relay policy test maps a standard repository's base, Git common directory, and worktree roots to one healthy supervisor, then proves a shared-child failure recovers those roots in separate quarantine supervisors with overflow and resumed events. Abortable capacity, quarantine, runtime-root, relay, SSH, and relay pre-install setup waits attach one reaction to each shared promise and explicitly remove 10,000 cancelled caller closures while one anchor remains. Built-entry macOS harnesses kill the desktop/runtime and SSH relay watcher children, then require automatic resubscription and later events while the host process and relay PTY survive. SSH bundles the child boundary beside relay.js, requires both artifacts for install completeness, and preserves registration-owned same-root cancellation. The test-value audit corrects the active renderer watch command/file reference to the existing runtime-file-client-watch.test.ts, whose three cases are retained unchanged. They observe synthetic subscription retry/fanout and unsubscribe/unwatch calls, not actual preload/main bookkeeping or physical watcher-process cleanup. The separate read/preview client suite loses forwarding, supplied-error and negative-only examples, retaining binary detection and Unicode SVG decoding. Historical evidence commands/results are unchanged. Test-value audit1293 removes src/main/providers/local-pty/local-pty-provider-session-inventory.test.ts (2 authored cases). Their isolated assertions no longer run; surviving tests are not claimed as equivalent coverage. Fresh execution against the candidate SHA is required. Audit1312 removes low-value imported specs from aggregate test drivers; old whole-driver execution receipts are archived. Retained registrations are unchanged. No equivalent replacement coverage is claimed. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1412: src/main/workspaces/removal/watcher-removal-gate.test.ts reduced. Loses exact removal-error compatibility with renderer predicate under shared message constants. Kept public refusal outcomes do not establish that renderer classification. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", + "coverageNotes": "Audit3492 composes ROOT-approved75(AUTHOR3475/PEER3476 and AUTHOR3485/PEER3481, including five-field clarification and zero-credit selector3483) plus123(AUTHOR3486/PEER3487 reconciled FINAL3491, including peer case10:3 and9:0 wording clarifications). It intentionally removes198 authored registrations/232 finite literal-table potential registrations across70 changed JS/TS test sources, including45 whole suites;87 authored/90 finite potential registrations remain across95 reviewed JS/TS bodies. One mobile native-suspension manual recipe and the now-unreferenced GitLab mock fixture helper are separately removed with zero registration credit. Static literal table potential is not execution. No equivalent replacement, fresh runtime result or merge credit is claimed. Earlier135 complete dated receipts, all raw gaps and full prior98/161/history notes retain their exact scopes and bytes. The additional123 retirement accepts loss of mocked GitLab request/error/identity/classification inventories; basic Linear migration and metadata discovery; simulated OpenCode key failed-save retention/retry/log redaction; analytics identity-flush smoke that did not prove ordering; AppImage static entry guards and empty-staging cleanup; GPU/process/minidump breadcrumb/annotation shapes and weak redaction oracles; namespace/status/foreign-launcher ownership guards and persistence roundtrips; profile transfer field projections; worker hook/screen/incarnation/result admission/classification guards; and source-coupled CLI transaction fixtures. Privileged publication failure injection was a false-positive: its mkdir regex missed -m 700 and outer rejection accepted an inner assertion before any shell ran. The identity-flush case awaited identity after flush and could pass despite early flush. Retained actual negative-token cache recovery, SQL filter-before-LIMIT open approval, unreadable-root FTS preservation/degradation, latest-connect-wins persistence, worker stop-debt settlement, unmodified same-inode foreign-content transaction, explicit incomplete-pagination error, FTS own-message snippet association, filter-before-route result and bounded-search truncation honesty are distinct bounded outcomes, not replacements for retired alarms. Case9:0 checks both roots before chmod but only mounted-session/degraded-root after chmod. Entire extraction-root suite is removed; no retained extraction cleanup is claimed. Removing the manual iOS foreground-stall shell script loses its unique real native-suspension recipe; timer tests do not replace it. First-match PIDs, indefinite waiting, broad success matching and absent trap cleanup made that diagnostic brittle and able to leave a desktop stopped. The current Windows operational driver remains byte-exact, preserving already-merged removal of orcad-convert and orcad-cli-convert selectors and the retained cmd/powershell/managed CLI lanes. The package skill-sharing release selector loses only the exact already-retired skills-suite token; no extra test credit. Included approved75 retirement account follows (historical proposal labels identify provenance; final198 counts above control): Audit3488 composes ROOT-approved source49(AUTHOR3485/PEER3481, including its immutable five-field clarification) and source26(AUTHOR3475/PEER3476): intentionally removes75 authored registrations/87 finite potential registrations across35 changed sources, including25 whole suites;35 authored/36 finite potential registrations remain in the combined reviewed scopes. Literal table potential counts are not executions. This source-only reduction has no equivalent replacement, fresh runtime result or merge credit. Root unit discovery deliberately loses entire message-row filtering/chunk reconstruction, discussion-pagination rejection passthrough, Linear bearer/stack redaction, new-profile telemetry/default/existing-JSON no-op, WSL user-trigger routing, terminal-delivery refusal, native-chat worker-approval UI, followup-paste routing, live-surface tombstone refusal, activity-bar hydration, fabricated approval-caller policy, child-PATH transformation and branch-review URL/identity suites. It also loses cache roundtrip/mode/fingerprint/fallback/no-op samples; GPU field-shape privacy examples; older auth-probe failure retention; orphan SQLite-sidecar/future-schema admission; usage tie/duplicate/composite-key examples; allocation-name sanitizer/unknown-prefix examples; real worker-and-backup preflight wrapper smoke; and JSONL descriptor-loop truncation. The discussion page contained id-only discussions without notes, so its rejection did not prove a nonempty notes-prefix oracle. The preflight did launch actual worker/backup entrypoints with production internal self-validation; removing its revision/version wrapper deliberately retires that real-entry smoke alarm. The skipped-prefix JSONL keeper rewrites/grows after collecting the suffix and before final validation, not concurrently during parsing. Retained queue rejection/recovery and held/drain mechanisms, recorder nonsettling-provider deadline, corrupt authoritative-DB refusal, legacy cache split migration, merge-added-row indexing, external-frame redaction, and pinned JSONL read/verification/mutation checks are bounded concrete oracles, not equivalent replacements for retired alarms. The full cloud relay cohort/ceiling/control suite is separately removed from the relay package runner, outside root unit discovery; no cloud runtime result is claimed. The Python computer-use benchmark remains unchanged tooling with zero authored/removal credit; no native benchmark trial ran. The package skill-sharing release selector drops only the exact already-deleted skills-suite token, with zero additional removal credit. Prior dated receipts, raw gaps, and complete earlier161/98/history notes remain exactly at their original scopes; no changed-source historical receipt becomes fresh reduced-suite evidence. Included approved26 alarm account: Broad root-unit discovery loses entire ref-label string, hostile/malformed CSV-link rendering, Codex filename-discovery, mocked paged-preview postscan mutation, usage path-containment, real symlink-ancestor, Codex skip RPC, local/remote inference routing, width-preference, and synthetic workspace-document input suites. It also loses the hand-assembled sorted CSV edit example, connect-time JPEG seed and invalid AVCC guard samples, and eight-record/64KiB detector boundary cases. The symlink suite exercised actual kernel traversal; its lost ancestor alarm could omit supplemental local editor watches and leave content stale, not bypass authorization. Retained linked stream cancellation, preview-only save fence, failed-flush dirty-draft preservation, clipboard byte/edit preservation, fragmented AVCC parsing and independent quoted-CSV interpretation checks do not replace these deliberately retired alarms. The stream fixture uses an in-memory source and does not establish actual fd cleanup; editor save endpoints are synthetic, browser events are synthetic, and no native focus, actual remote delivery, real disk write, cross-platform execution or interoperability is claimed. Earlier complete dated receipts, raw known gaps and previous notes are historical evidence at their original source/selector scope, not fresh evidence for this reduced suite. Audit3438 composes ROOT-adopted3434/independent3436: intentionally removes60 authored/62 potential expanded cases across16 sources, deleting9 whole suites. Eight authored/eight potential cases remain; delete the102line unused ACP fixture and57line unused teardown helper with zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses ACP model-catalog fixtures, resume-record projections, dashboard mock payload/state cases, mobile folder/launch/session examples and dictionary pipeline rows. Selected E2E removals also retire auto-conversion and golden-core journeys and one Windows CLI conversion registration. Retain ACP reply text across a resumed subagent, both VAD checks, focused tab send ownership, async focus ownership in happy-dom, the question-skip journey, the original managed Windows CLI lifecycle journey and dictionary substitution. These checks do not replace the removed alarms. Audit3470 composes ROOT-approved AUTHOR3466/PEER3467 source proposal: intentionally removes38 authored registrations/59 finite potential expansions, including8 whole registering suites, retaining13 authored registrations/18 finite potential expansions. The sole dead shell-recipe caller cleanup has zero additional test credit. No equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses process-import boundary, Korean/Japanese locale policy, worker-reset, mobile agent-history/queued-message and median-summary suites, plus packaged mobile-manifest, worker-pool fixture, HTML preview, mobile shell and terminal samples. The environment-provider contract and its sole shell-recipe caller are deleted. Separate cross-version-wire discovery loses the large byte-budget fresh-snapshot/replay sample while retaining independent live same-revision note publication; the retained terminal stale-refresh and dirty HTML draft persistence checks do not replace removed alarms. The source4 unused start/stop fixture hooks are removed; its retained nested failed-import test remains byte-exact with its own lifecycle. Unchanged SVG preview and Git-resolution registrations stay intact. Root balanced CI excludes the cross-version directory, which has a separate job; unbalanced root discovery can include its parent. No native app/device, actual remote, released-pair interoperability or cross-platform execution result is claimed. Audit3468 accepted source proposal AUTHOR3462/PEER3463, composed privately by audit3469: removes62 authored registrations/95 finite potential expansions, including5 whole suites, retaining25 authored registrations/29 finite potential expansions. ROOT approved source value; no equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses the profile-state worker smoke, worker-agent views and three search discovery suites, plus samples from node-server qualification, skill-bundle generation, CLI hooks/profile/recovery/offline admission, permission-hook holds and search indexing. The separate Cloud relay runner loses one relay blackbox sample; unchanged mobile native-chat and dependent-transcript drivers remain. Retained source callback/table/ancestor/fixture bytes bind to the sealed candidate. No physical-device, mixed-version, remote, cross-platform or app execution result is claimed. Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. Broad root-unit discovery loses whole cross-client workspace-sync, terminal-preview, picker-skill-hint and close-routing suites plus reduced worker-stop, remote-owned-record, scanner, mobile-bundle and daemon-health samples. Separate E2E discovery also loses the paired mobile/desktop mirror journey and two unit drivers. Retained callback/table/outer-loop/guard bytes are exact; retained checks do not replace the removed alarms. No app, native device, mixed-version, remote or cross-platform execution result is claimed. Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. Broad unit discovery intentionally loses whole trust-dialog observer, background-turn notifications, redirected session refusal, typed-agent identity, chat-tab lifetime-cost, model-manager and mobile diff-review controller suites, plus individual persistence, synthetic composition, pairing, manifest and subprocess samples. Retain deferred snapshot dirty-domain persistence, two direct editor ownership cases, stream counter-domain distinction, two persisted pairing identity cases, parser entrypoint asymmetry, dictation retry and process-group timeout; paired restart and packaged old-binary/corrupt-profile journeys remain in their E2E driver scope. Retained checks do not replace removed alarms. No fresh execution, native IME/microphone, real authentication, mixed-version/platform or performance result is claimed. Audit3451 composes ROOT-adopted3444/independent3445: intentionally removes101 authored registrations across16 reviewed sources, deleting7 whole suites and reducing8; one reviewed source is unchanged. Fresh main has123 authored registrations before and22 after because an upstream direct-child shell regression remains verbatim with zero removal credit. Registered removals are100+7*S and explicit-active removals99+7*S, where S is the unprobed count0..3 of admitted bash/zsh/fish shells. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses extra stream lifecycle/forwarding examples, unreadable-store/cache projections, orchestration presentation/benchmark cases, remote-owned routing matrices, mobile legacy navigation and model-catalog listing/cache examples. Whole suites retire renderer client-event projections, manually assembled structured-session reader ownership, mobile prompt presentation, renderer AI-vault resume commands, mobile Jira URL lookup, composer retention and mobile folder source-repository queries. Retained checks preserve original stream/store/orchestration/routing/navigation/catalog cases and shell behavior, including the upstream direct-child case. No real provider, native desktop or mobile acceptance is established by this reduction. Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit and mobile discovery loses interrupt/wake registrars, task storage/session-close/account snapshot hooks, permission tables, copy/preference/model-discovery/composer examples, launch placement examples, VM projections and extra mobile-history scenarios. Retained checks cover abandoned versus dispatched fork uncertainty; /fast dispatch supersession; discovery lock release after exit; stale-send draft preservation; OSC status lifetime; future-version file preservation; launch cancellation before/during dispatch on both layout owners; mobile resume addressability before hooks; and recipe snapshot cleanup after plugin removal. The paired browser-link Electron source is unchanged. Terminal launch seams, mobile roles-only history and injected provider results do not establish native terminal destruction, transcript text fidelity or real remote provider cleanup. Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses reduced or deleted relay, coordinator mail, recovery watchdog, automation observer, launch picker, folder PTY, profile restart, web migration, retirement, pointer delivery, agent-row and run-bound mailbox examples. Retained checks cover relay hello/payload and SIGTERM drain, coordinator pending-check and clear-to-Run continuity, profile persistence, the full six-row web merge table and real run-bound delivery waiter. These do not replace removed alarms. Audit3429 composes root-adopted3426/independent3427: intentionally removes168 authored/205 potential expanded cases across16 semantic sources, deleting11 whole suites and one304line unused assertion helper. Five authored/five potential cases remain; the duplicate500k graph row is dropped while its50k row and callback remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted migration/recovery/federation/rich-draft/paste/automation/mobile/catalog examples. Keep server-edit preservation during migration, native supervised cancellation holding the agent home until physical stop, pagehide lost-text preservation, graph old-result WRAPPER WeakRef collection with50k rows, and mobile React render isolation. The WeakRef does not prove all commit objects are collectible or a memory budget. Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted mock orchestration, refusal, restart and storage examples. Retain unchanged two-phase real-WSL deployment/survival, the reduced idle-release holder proof without restart/first-output measurement, real worker stop/release cleanup barrier rows, physical Git branch-preservation rows, and SSH disconnected-close proof. Other SSH and CLI variants and WSL telemetry/warmup churn are intentionally removed. Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. Broad root-unit discovery loses naming/title/queued-host fixtures, main-window focus-shortcut and attach-services mock orchestration, Git Bash console-capacity fake process inventories, most real-Git preparation/locking variants and Claude/Codex catch-up examples. Keep lifetime rejected-writer followed by late termination proof and autonomous real-checkout cleanup; two-row real-Git rollback after a real move preserving a replacement/admin marker or revoked permission; a live translator write during a held transcript read fencing stale Claude history append; and Codex expected-item revision rejection before a historical writer shim. Codex driver registers retained bounds exactly once with original inputs; bounds does not prove modern writer persistence. Accepted changed-lock preflight sentinel and omitted-parent routing losses are not replaced. Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Broad root-unit discovery loses35WSL examples,22STT examples,22shared-server-banner examples,18clipboard-handler examples (whole suite deleted),14VM lifecycle examples and16commit-message cancellation examples. Retain4WSL and7STT mocked connector/worker cases,1rendered stale-banner refusal,2VM guard/failed-compensation cases and1late-stream ownership cancellation case; real WSL/microphone/remote-provider proof is not established. Separately discovered e2e-unit drivers lose13cross-version-wire local cases and15mobile active-publication cases, keeping same-process disk-reopen/new-host cursor content/epoch/sequence outcomes and a host/renderer-snapshot selection and inventory revision race respectively. Imported released stop-note scenarios remain unchanged and receive no duplicate credit. Cloud suites are outside root UNIT_INCLUDE. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. The broad root-unit command loses the UNIT_INCLUDE src/ subset of retired examples; mobile is outside UNIT_INCLUDE. Other lost alarms are recorded by the adopted per-case source reviews. Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3381 composes root-adopted3376/independent3377 and3379/independent3380: intentionally retires436 authored registrations/670 expanded cases, including79 whole suites and12877 test lines, without equivalent replacement. Lost alarms include scheduling, account/host/status/filter/format inventories, microphone/image cleanup, title/bell/capability lifecycle routing, access/impersonation/outcome matrices, paste/input resend/ledger/retention, stale completions/reload containment, trust-read failure and popup OAuth/security/geometry vectors. Retained30 registrations/34expanded cases in22 suites preserve narrower SQLite TEMP/TZ/WAL, HTTP transcript root resume, mobile original-index Choose/Submit, child environment/Git lock expiry, stale ACK/PTY lifetime/peer fairness/durable replay/output ordering, actual DOM paste/editor focus, DEC2026 conservation, filesystem rollback, owned buffer lifetime, actual OSC parser/tracker handback, POSIX Python UTF8/fallback, durable trust concurrency/version, OpenSSH verdicts and hidden Chromium POST/route lifecycle. Mocked boundaries limit claims. Current bounded defining-owner reads preserve the retained oracles; captured identities are not full transitive semantic review. Both component blind pins authenticated before exchange; final reconciliation and explicit postpin3380reason correction supplement control, without retroactive blind claims. Root unit command excludes mobile and separately admitted Electron probes; use existing respective runners. No fresh execution, native focus/device/pixel UI, live SSH/remote, equivalent replacement or broad mixed-version/cross-platform validation is claimed. Prior dated receipts retain exact original scopes. Audit3375 composes root-adopted3370/independent3371 and3373/independent3374: intentionally retires79 authored registrations/84 expanded cases, including39 whole suites, without equivalent replacement. Lost alarms include federation field/parser inventories; Claude rejected-key precedence, credential clone redaction, managed-versus-user hook preservation and CLI defaults; setting/status/activity projections, mocked SSH/notification/reveal/Linear refusal, fake-clock reconnect and noise; image-fold artifact visibility, paste eligibility, setup trust, scripted ACP error-to-journal publication and ligature cache tuple aliasing; plus supplied folder-runner uniqueness, mobile host-overlay/credential/update/preference races, status/markup/title/keyed-row projections, subscriber cleanup, cancellation/close/refusal/link-issue and mirror suppression alarms. Retained3373 merger contiguity, dual-clock overdue-resume exactly-once, rejected-paste IPC sink and annotation schema roundtrip remain bounded. Retained actual HTTP/OSC status composition, destructive sibling-filesystem isolation, external contrast invariant and fixture CSS pixel intervention remain narrower. Original reviewed87authored/92expanded become9/9; current OpenCode suite adds two preserved upstream cases and the synthetic-title suite gained one Cursor policy mock-call case, independently reviewed for removal in root3378; current90/95 become11/11. That Cursor suppression/ready-frame regression alarm is intentionally lost; it does not observe native title ownership or tab flicker. For3370 only the peer was independently blind, with author exposure explicit;3373/3374 both blind pins were verified. This broad root unit command selects the reduced root unit suite; UNIT_INCLUDE excludes mobile tests, which require the existing mobile runner; retained Playwright component-pixel spec uses its separate existing headless fixture runner and is not validated by the broad unit command. No fresh execution, actual agent/shell/provider, OS material/focus, historical import equivalence, mobile, mixed-version or cross-platform evidence is claimed. All dated receipts retain their original scope. Audit3368 composes root-adopted3363/3364 and3367/3369: intentionally retires181 authored registrations/196 expanded cases, including28 whole suites, without equivalent replacement. Lost alarms include hibernation attention/liveness/backoff/sequential teardown and inventory, host launch compatibility/legacy/Kimi/resource cleanup, terminal recovery parser/pause/quarantine/remount, window-visibility omission-fence lifetime, launch-option rendered Start, sleeping-resume saved recipe/WSL quoting/cancellation, plus removed project/window/input variants. Additional tiny-suite losses include sentence/label/field/default inventories, credential omission, Windows argument/environment mapping, URI decoding, diagnostics, provider classification and fake-clock callback/parser examples. Retained ten registrations/twelve expanded cases include two literal Unicode Mn/Cf zero-width range guards in the actual character-range algorithm and protect narrower delayed editor bytes/destructive ownership, mounted hidden collision repair, ten transport epochs, duplicate-command refusal, caller timeout typing, executor unknown-opener refusal and failed-chunk user bytes. This broad unit command selects the reduced suite; no fresh runtime, real provider/network/PTY, filesystem restart, native UI, historical import equivalence, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3362 composes root-adopted3358/independent3360: intentionally retires129 authored registrations/140 expanded cases, including four whole suites, without equivalent replacement. Lost alarms include supplied orphan-adoption retry/malformed inventory/cancellation; fake-terminal replay parser/wedge/disposal callbacks; all-host catalog metadata and Windows preferences; host keepalive/protocol/stale/settings failures; and removed exact-stop/suppression, source save lifetime, diff-note queue, rename/editor close, input flood/chunk refusal/limits, purge and creation examples. Retained18 registrations/21 expanded cases protect narrower ownership, generation, dirty-state, queue convergence, encoding and attachment-lease outcomes. No replacement or keeper quota claim. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY/xterm parser, disk restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3359 composes root-adopted source3355/independent3356: intentionally retires130 authored registrations/139 expanded cases, including eight whole suites, without equivalent replacement. Lost alarms include strict create naming/capability/legacy payloads; supplied transport host replacement, deadline reattach, create-handoff and split activation; agent-session fork/clipboard/platform flags; shutdown cleared-scrollback/unmounted bindings; simulator host-collision/selection/shutdown; and removed editor, catalog, mutation, launch and status examples. Retained12 adverse-ordering/state-consequence cases are narrower and do not replace all removed alarms. Two queue absences receive zero removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY, filesystem restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3349 composes adopted batches3343,3345 and refreshed3354: intentionally retires234 authored registrations/294 expanded cases, including13 whole suites, without equivalent replacement. Lost alarms include supplied terminal reconnect/replacement/typeahead/mirror/result and snapshot examples; synthetic render-desync persistence/recovery; worktree listing/owner/catalog/lineage/removal and activation/creation examples; host-scoped PR and task-record projections; editor diff/status/comment and UI send-target examples; automation observation/wake, supplied sleep/deadline clock and native-chat completion/notification/relaunch samples; held-tab layout and cleanup/progress guard examples. Retained adverse-ordering and wire-boundary cases are narrower and do not replace all removed alarms. The already-upstream visibility-resume deletion receives zero new removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH, native process/power/GPU, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3342 composes adopted source batches3333/3334,3336/3337 and3340/3341: intentionally retires180 authored registrations/263 expanded cases, including seven whole suites, without equivalent replacement. Lost alarms include corrupt editor hydration; mobile editor/diff publication and privacy projections; stale-resubscribe routing; model-picker projection/refetch/retry/fallback; editor check-details and frame property inventories; latched-pane cleanup/quiescence; client create replay identity/options/compatibility; and removed owner, async routing, terminal and layout examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts keep their original scope. Audit3335 composes adopted source unions3327/3328 and3330/3332: intentionally retires100 authored registrations/123 expanded cases, including ten whole suites, without equivalent replacement. Lost alarms include seeded host persistence/contention and stale-host cleanup; browser snapshot assembly; mocked wake/DPR callbacks and frame budgets; preflight projections; palette authority/cache suppression, URL intent and saved-title cross-repo collisions; metadata coverage/set patch and dropdown assembly; and removed terminal, worktree, review-refresh and owner-routing examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI/GPU/focus, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain only their original scope. Audit 3318 composes adopted sources 3310, 3313 and 3317: intentionally retires 71 authored declarations and 102 expanded cases, including whole terminal-detach agent-retention, seeded batch/single open-files equivalence, shallow context-menu shortcut-badge, mocked active-workspace delete-dispatch, workspace session hydration, SSH target cleanup, editor session hydration and worktree terminal purge suites. Lost alarms include chained transfer alias and immediate close/exit retention; batch/single divergence, survivor/selection/map preservation and input nonmutation across 400 imperative seeds (one registered case); disconnected pending-handle retry, authoritative absences/close-record shortcut/older-host absence and published-presence/unpublished-frame examples; published empty host-graph omission to pane exit; legacy search ranking/exclusion fallback; provider request upgrade/dedupe/finalizer ownership; asynchronous PR suppression/primary-change and same-number different-repository URL rejection. Deletion routing loses host/instance qualification, paired and legacy mapping, folder ownership, active-versus-hover/menu-row selection, ambiguity, modal/editable/creation/view/main/deleting/missing guards and shortcut advertisement. Unchanged real keyboard/hover/confirmation/catalog E2E remains narrower, not an equivalent replacement. Additional losses include scripted old-host disk/UTF-8/noop/baseline and landed/unlanded lost-reply/replacement-retry outcomes; ordinary/repeated healthy-link reattach; cross-owner terminal/chat binding; oversized replay permanent-unavailable classification; floating reveal keyboard ownership/close/disable/listener disposal; naming/retained-turn/Sleep/error/close/reject status tables; SSH membership prune/new-target-only reads and environment/local bucket isolation; same-frame receipt capacity and positive bare/headless publisher readmission. These actual regression alarms are deliberately lost; no fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit 3312 composes adopted sources 3302 and 3308: deliberately retires 33 authored declarations and 36 expanded cases, including the whole backend startup-focus, active-browser IPC-close-routing, remote-browser-creation and agent-terminal-presence suites. Intentionally lost alarms cover distinct six-pane reconnect handles; SSH host label/Connect callback, unhydrated visit cleanup, repo cache aliases and hidden worktree/tab/PTY cleanup; adopted-agent startup focus and viewer navigation/reuse; staged, pageless, source, stale and orphan browser-close routing; web local-materialization refusal, desktop incapable-host fallback, failed/thrown remote creation and paired-web sign-in refusal; BOM/NUL and remote/local custom-editor byte-read examples; immediate folder activation and unread clearing; and batching idle/coalescing, accumulated byte ceiling, leading-edge-disabled, standalone synchronous oversize rejection, validation yield, deferred pending-tail order and both viewport-clear examples. The newly reintroduced agent-terminal-presence suite also loses actual terminal-status membership positive and nonterminal-status callback suppression alarms, including the recent 40916 guard regression; the older different 2133 presence-suite history remains historical and receives zero duplicate removal credit. These real regression alarms are intentionally lost. The unchanged survivors provide narrower coverage, with no equivalent replacement or fresh gate, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation claimed. Audit 3301 combines adopted source batches 3296 and 3299: retire 27 authored declarations and 36 expanded scenarios, including six whole suites. Intentionally lost alarms cover failed-verification/recovery/restart counters and mocked hosting/toast; early overlapping pane-read scheduling/count; unreadable removal listing draft guard; bulk-purge remote-qualified and raw-local guard maps; initial-snapshot blank/mode/oversize/printable/fresh-spawn callback and replay examples; fallback mobile file close and ordinary MRU; default queue overload/drain; seeded browser-page reuse and supplied missing-page URL recreation; ambiguous sleep/hibernation owner refusal and untouched bindings/origins; ordinary selection/activity/fallback priority; skip-remote success and retained hints; supplied structured-chat unsent retention and scoped removal draft eviction; caller-chat focus precedence; open/draft PR cache eviction and merged-head fallback result inventories. Retained adverse-ordering and ownership cases are narrower and do not establish equivalent replacements. No fresh runtime, native, physical provider, cross-platform, mobile or mixed-version evidence is claimed. Audit 3292 combines adopted 3285/3287/3289/3293 removals: 40 authored declarations and 47 expanded scenarios, including whole frame-editor-view, ambiguous remote-delete-refusal, unverifiable-host subscription and editor-close cleanup suites. The previously reviewed dock-badge suite was already removed upstream in PR 40895 and receives zero new removal credit. Intentionally retired alarms include background browser selection and last-tab landing; main startup fallback, SSH project cleanup/survivor routing, exact-PR contradiction/saved-push positives, replay/sidecar rollback and wrapped remote error normalization; records/snapshot missing-diff hydration, ambiguous folder-owner delete refusal, focus no-op notifications, nested editor context-only cache check, pending broadcast-first status and ordinary four-confirmation aggregation; preview-source frontmatter pruning, approved local/runtime agent dispatch, non-GitHub legacy PR cache invalidation, stale merged-head transient-error fallback, empty-queue immediate query reply and unverified-to-concrete preflight risk. Additional intentionally retired alarms are injected host subscription/unsubscribe counts, synthetic editor reveal/draft/fallback/scoped close, ambiguous unread refusals and hidden mark/read roundtrip, immediate connect backoff/noError, positive mirrored evidence-clock renewal, supplied VM failure/success projections and git-local/folder-SSH wake permutations. Remaining temporal/ownership cases are narrower; no equivalent replacement or fresh execution is claimed. Audit 3283 removes 20 authored declarations and 31 expanded scenarios, including two whole suites. Retired alarms cover PR refresh-state pruning, shared runtime subscription cleanup and store isolation, language content-change routing and older completion ownership, ordinary panel retry-timer cleanup and pending loading, four hosted-review lifetime permutations, mocked terminal creation error/order wiring, five sleep-inventory variants with pending-frame-only assertions, palette fallback/composite highlights, Windows/UNC encoded-editor input rows, mixed-repository partial failure counts, title setters and generated-title bypass/replacement, five window-close coordinator delegation/guard/finally branches, and ambiguous-old-record frame reveal. These regression checks are intentionally lost under the test-value audit; retained cases are not equivalent replacements. Prior coverage notes and receipts remain historical. Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims. Audit 3256 removes these specific alarms from the broad root unit commands: skill dialog active-share selection, close and pending-share handoff; simple keyed-record deletion; marker live-region insertion, simple landing and nine baseline policy examples; General search/control navigation inventory; orphan-count cache bootstrap; seven Codex code classifications and HTTP 429 warning mapping; two skill unread-root verdict examples; peer-mail payload and conversation-ID rejection; and the GitHub organization TABLE text-field optimistic rollback/failed-envelope example. These include real behaviors; retained tests do not provide equivalent coverage for every removed scenario. Mobile losses are recorded separately and are not coverage of these root commands. Audit3246 retires NewRowsMarker reveal/no-repeat and pane-scoped beforeinput checks; skill-owner option availability/count/dedup/order; six styled Input/Textarea IME forwarding rows; the static Codex/OpenCode smart-key inventory; tab-map AST ratchet diagnostic fixtures; child-roster work-budget and retained-aggregate alarms; malformed persisted floating-cwd fallback/no-crash/empty exact-root checks; the unanswered-host empty-list discriminator; the direct invalidated-cache commit-false assertion; one redundant digit-keyup IME row; cached non-supported Claude title-generator rows; and the duplicate late naming-result singleton. These root broad commands lose those specific alarms without equivalent replacement. Distinct retained owner/state checks have their own bounded claims; the real scheduler still rejects stale response data, while the direct false-return alarm is retired. Audit3231 retires supported-host restore-pane key mapping, closed/open creation-sidebar toggle visibility, unrelated scope-error/null classification and quick-submit reveal/no-create checks. These broad commands lose those real narrow alarms; no replacement coverage is claimed. Audit3219 removes the synthetic Cmd+J extra-source suite; this broad command no longer checks its match/tie placement and selection, announced count, empty-query cap, or workspace hiding with retained recent tabs. No replacement coverage is claimed. Audit3209 composes approved sources3202/3206: deliberately retires seven authored/expanded cases in four whole suites without equivalent replacement. Work-item queries lose real GitHub/GitLab oversized ASCII secret-prefix empty-query and whitespace-before-trim refusal alarms; inputs share the imported size bound and exercise only its fast length branch, with no multibyte or actual provider/exposure guarantee. Skill sharing loses complete/partial managed-bundle and destination-ambiguity association checks plus three negative origin/path/scheme admission examples; these do not establish uploaded contents, arbitrary-URL fetching, authorization or execution. Retain exact originless-project direct-link fallback, cloud-delete confirmation, bundled-target repair/owner isolation and explicit Windows-host preference over stale WSL suites. Rejected3201 runtime-preference removal is excluded. No real cloud/network/host/disk, mobile or mixed-version execution validation is claimed. Audit3200 composes approved source3194: deliberately retires thirteen authored registrations/twenty-seven expanded cases in six whole automation host/list policy suites without equivalent replacement. Real RPC category/retryability and wrapped-timeout recognition, unscoped-failure/scoped-success health evidence precedence, exact-ID create selectors and per-run workspace omission, paired-web local/SSH/absent host catalog routing, incompatible/removed/unhydrated/offline execution health, runtime-before-nested-SSH recovery dispatch, and no-owned-focus/successor/foreign-list focus policy alarms are consciously lost. Retain exact20line orphan allow/refuse/precondition and exact90line cross-host same-ID search suites. No retry-timer/fence lifecycle, actual reconnect/network/write delivery, native focus, mobile/mixed-version runtime or disk persistence coverage is claimed. Audit3191 combines approved source3182/3187/3188: deliberately retires thirteen authored Vitest registrations and fifteen expanded cases, including five whole suites, without equivalent replacement. Attachment intake loses real portal/native-capture terminal interception and unowned-container refusal, immediate child-only committed availability/claim-ref negotiation and delivery, and direct-target over stable focused/background composer routing through disable/re-enable/remount and independent question focus. Exact destination/cache/draft and final-stat owner/workspace/File-release suites remain; they do not replace Surface recipient routing. Automation authoring loses destination runtime catalog membership, local/direct-SSH exclusion of paired-runtime repos, unknown-runtime empty catalog, logical project/host/setup/repo/path context payload, and missing/nonready setup refusal; these were genuine direct helper alarms, while exact schedule transformation, legacy schedule and setup-decision suites remain. Agent picker loses setup-chat/terminal/missing-installer/unsupported-or-unknown-host row projection samples and the ordinary unsearched menu variant; the entire original26-line resume recipe suite remains, including reported bypass versus default/absent permission modes, as does the exact search-result menu callback with its fixtures, model/effort commits and staged Arguments reopen outcome. Rejected predecessor3180 full recipe deletion is excluded. No actual native drag/cursor/focus/IME, upload bytes or disk/restart persistence, full automation save/scheduler/runtime transport, real resume-process flags/environment delivery, or native menu/rendered layout validation is claimed. Audit3178 combines source3169/3170/3175: deliberately retires eight authored units (six Vitest cases and two imperative custom relay scenarios), including two whole suites, without equivalent replacement. Voice Section loses per-model pending-delete isolation across interleaved A/B completion and the two-success refresh-call alarm; exact VoicePane delayed key-clear/newer enabled-toggle merge remains and does not replace row deletion coverage. Speech loses dedicated rating-scale/inclusive-ceiling, unsupported-versus-unmeasured, explicit/system-language precedence/locale alias, accuracy versus fast named/default/best-measured selection, and unmeasured/no-match examples; exact offered-user-pick versus retired-selection case and its fixture remain. Relay loses legacy ping-delivery count/liveness sampled before the silence deadline and grouped malformed Bearer/host-ID 401/429 routing checks; twelve real Worker/DurableObject/shipped-client scenarios remain, not equivalent replacement for those narrow alarms. Six prior speech cases are not all deleted: approved successor3175 keeps the original user-choice case. No actual credential/file persistence, native/GPU/engine/download delivery, production assignment policy or deployed-runtime validation is claimed by this reduction. Audit3165 combines source3160/3162: deliberately retires six authored/expanded cases across three whole suites without equivalent replacement. Launch/status losses: observed React-render pending/resuming coordination across settings and deferred offer read; stale-offer reread suppressing dialog reopen; held-local-chat recovery visibility with new-chat preferences off; disabled-local admission avoiding offer RPC despite an injected but unconsumed paired-tab fixture; and run-only lost-reply uncertainty reachability until direct viewed-run retirement. Launch probe does not prove arbitrary synchronous-store atomicity, the paired fixture is not remote runtime enrollment, and the status case directly marks viewed state rather than rendering the summary. Crew-hook losses: old-host method_not_found cache persists across party changes but is released by independently supplied connection generation/verified pairing status or pairing revision, with actual frame publication and teardown. These are real narrow coordination, admission, uncertainty and mixed-version cache alarms consciously lost. Exact web verified-runtime writer handoff guard remains; it does not replace those alarms or prove live host/native/mobile delivery. Audit3156 combines3147/3150/3152/3153/3154: deliberately retires39authored/40expanded native-chat recovery cases, eight whole suites and two orphan test-support files without equivalent replacement. Lost alarms: lost-reply unconfirmed reconciliation, skipped rows/counts and missed-frame repair, unknown/pending outcome and omitted-failure-list compatibility, uncertain history after dismissal, retry/refusal/dismiss lifecycle, hidden/consumed picker ownership, result-tree keyboard focus/disclosure and all-skipped retirement; unconfirmed-over-conflict guidance and failed-chat changes despite older host timestamps; nearest-listed ancestor/cyclic forest shape, descendant membership, host ordering/missing-host local fallback; skipped/readiness/admission counts, provisional skip/progress monotonicity, early per-chat verdicts with batch pending protection, older-host waiting, start-slot/delivery distinction, retry-over-failure and unknown-after-withdrawal attention; remote snooze/reconnect/reoffer, unseen mixed summary through open/close, watched completion retirement, new success beside old failure, failed-reread mixed-result preservation, filter/collapse completion resets, retry summary replacement and current-offer/history selection; cross-host workspace identity, rendered cyclic reachability, nested tri-state/toggle propagation, project eligibility isolation and collapse preserving selection. Exact fallback-list completion barrier, batched verdict/cleanup retention, stale-read versus dismissal publication race, and requested-but-never-rendered finished-run retirement remain; they do not replace retired alarms. Audit3146 combines source reviews3132/3133/3135/3138/3143: intentionally retire20authored/31expanded cases without equivalent replacement. Provider-session losses: structured-native terminal-resume exclusion, metadata-less completed identity, new-turn completion clearing, Pi provider-only/periodic/manual promotion, changed-transcript launch-config isolation, Pi/omp/prime-agent completed-session remote/manual-shutdown promotion, and quit/done precedence over heartbeat. Side-thread/question losses: finished-pane acquisition, hidden title/recap states, local/relay/relay-done conversation takeover with prompt/session/child resets, plain-message abandonment, compaction/session replacement and completion resets. Codex startup losses: incoming-owner cached child replacement, old-relay foreign live-session correction, completed foreign-root turn-fact permutations. Transcript losses: real temporary-JSONL partial sibling/final-child completion, unlabelled child attribution, compact cached replay preservation and100/1000completed-child roster retention/release. Compiler-ratchet losses: valid-line uncompiled-list parser grammar examples and injected-existence stale-path filtering; these did not exercise actual filesystem canonicalization or build exclusion. These are real lifecycle, ownership, replay, liveness and retention alarms, including recent#40246 regressions, deliberately lost. Retained conditional record replacement, clockless root/SSH owner isolation, persisted main-thread fork rejection, partial/final question-answer lifetime, cached-roster/missing-ID/live HTTP/durable startup boundaries and restarted-relay refusal/acceptance do not replace those losses. No native/SSH/WSL execution or equivalent coverage is claimed. Audit3128 scoped coverage reduction: Audit3121 removes VoiceDictationLanguageSetting.test.tsx (Spanish-to-es callback and unsupported-model Korean option presence) and voice-speech-model-rows.test.ts (provider/language-order/retired-on-disk list policy); these real narrow alarms are deliberately retired without replacement. VoiceSpeechModelSection per-model concurrent deletion remains unchanged. Audit3122 removes the direct absolute/parent-segment sparse-directory exception-type sample and the five-row IPC sparse-preset error-code/non-save table (two authored/six expanded cases). Those real typed-validation and IPC refusal/error-code alarms are deliberately retired. Keep both real symlink/junction floating-directory trust cases and the minimal RPC structured validation-reason serialization case. The RPC case does not replace IPC save/refusal behavior, typed normalization for both path inputs, actual Git sparse checkout or rendered localization. No equivalent replacement or fresh test/runtime/platform/remote/performance validation is claimed. Audit3124 removes ExperimentalPane.test.tsx (ordinary Pet switch callback), WorkspaceDirectorySetting.test.tsx (padded absolute saved-path normalization/no-write blur), and repository-search.perf.test.ts (navigation/selected-pane builder-call policy, fixture cardinality/nonempty entries and renamed project keyword inclusion). These real narrow alarms are retired without replacement; RepositoryPane.search.test.tsx search-to-sparse-editor request remains unchanged. Audit3129: resolver Windows case-insensitive and POSIX case-sensitive configured-env composition plus mocked-base launch-preflight Windows composition are intentionally no longer checked by the two deleted suites. No equivalent coverage claimed. Keep runtime-structured-agent-host-env.test.ts unchanged: configured Windows Claude-home account identity and host-account precedence remain checked. Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/runtime/files/watching/runtime-file-client-watch.test.ts: delivers remote file changes to listeners for the same worktree. src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/mobile-session-tabs-part-14.spec'). src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-03.spec.ts: arms the stale-title timer for a seeded working title; arms the Command Code scrape from the noted spawn command; prefers the tracked title over a stale renderer lastTitle in the hydration seed; writes recent output into the current runtime output map; uses a later title handler replacement with the runtime receiver; calls the current injected listener with the runtime receiver; keeps optional reconciliation lazy after its callback is removed. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-14.spec.ts: lists them, so a paired client can mirror a migrated editor; closes one by retiring it from the host session; keeps an unsaved draft unless the close is forced; shares aggregate work but leaves a replacement pending promise alone; lets a targeted refresh finish while an aggregate refresh waits; refuses a close when the store lacks %s before the guard; keeps a later missing %s on the original caught failure path. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Exact retired assertionRefs, preserved as historical objects only: {\n \"file\": \"src/renderer/src/runtime/files/watching/runtime-file-client-watch.test.ts\",\n \"assertions\": [\n \"terminal watcher error and setup failure evict the shared entry before retrying callbacks run\",\n \"an old stream end cannot evict the replacement stream, which still delivers to its listener\",\n \"two same-worktree listeners share a synthetic subscription until the final stop unsubscribes and sends unwatch\"\n ]\n } Historical prior account (preserved verbatim): Audit1973: Delete the standalone mocked watcher cleanup suite and its entire sole-file prospective command. Retire the removed file-command transport-abort alias; preserve the independent cancellation suite and final-overflow/error/end cleanup callback, and13 unrelated receipt objects. Whole original changed dated receipts are retired, never narrowed or transferred. This metadata review claims no fresh execution, equivalent replacement, provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Partial runtime files-watch suite retains controlled Windows close-event waiting, shared-client survival, late physical-exit ownership/deadline cleanup and shutdown joining. Its combined Windows close/deadline/late-exit alias remains backed by unchanged callbacks. Retire native-error-close, pre-publication setup ownership and failed-delete rearm aliases; associated delegation, failure forwarding, removal routing and recovery examples are lost. These tests inject watch/subscription seams and do not observe an actual native watcher or physical process. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1925 (sources1922/1923): Partial runtime watcher-host suite loses mocked option/event/overflow/resubscription forwarding, supplied teardown-error propagation, aborted-signal/no-call and private ten-thousand-waiter-count inventories. Retire the 10,000-caller bound and failed-recovery-subscriber-ending assertion aliases. Keep same-root owner cancellation, pre-ready replacement, held root-close join, stale-generation recovery delivery and initial failed-root ownership mappings backed by retained real-host callbacks with injected subscription/error/physical-exit promises. No actual native watcher, process termination or resource bound was observed. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1683 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1645 removes low-value test projections, mock wiring, private-state assertions, inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained public behavior and refusal boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1640 removes low-value IPC, SSH, workspace and transcript-watcher tests without equivalent replacement coverage. Per-source reviews record retained public refusal, cancellation, execution-host and real-filesystem outcomes with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1634 removes low-value IPC, filesystem and runtime projections, argument inventories and duplicate examples without equivalent replacement coverage. Per-source reviews record retained cancellation, ownership, authorization, filesystem and SQLite boundaries with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1627 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1623 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1516 removes package-electron-runtime-contract.test.mjs, a copied release-workflow platform and marker matrix. Its workflow wiring alarm is intentionally retired; no actual packaged watcher delivery was exercised and no equivalent replacement is claimed. Unaffected dated execution receipts retain their original scope; changed optional selectors have no fresh full-gate execution result. This audit removes the paired-web stopped-during-outage and late-ready direct-branch examples. The retained pre-ready cancellation, failed-unwatch retry and replay-continuity cases are not equivalent replacements for those ordering alarms. Current web-runtime-client.test.ts assertions below name only its retained pre-ready callback case; replay cases remain in their separate suite. Historical commands and results remain historical. Deterministic tests cover one shared healthy child per runtime process plus at most four bounded fault-quarantine children, native desktop, paired-runtime, and WSL snapshot processes sharing the same eight-physical-child reservation with typed serialized event-driven capacity recovery, including recursive re-wait when crash recovery reclaims an announced slot, one quarantine attempt per watch lifetime, generation-scoped cancellation, bounded termination with removable deadline waiters, replacement-crawl errors that cannot be blessed by a late readiness ack, pre-ready paired-web cancellation registered before an unbounded capacity wait, already-resolved and late physical-exit retry of a rejected paired-web teardown, physical desktop-install and local/SSH PTY teardown, stale-generation rejection, per-child stat bounds, final-overflow RPC delivery, and renderer eviction before terminal callbacks can retry. Destructive local and SSH removal fences both ID-derived and resolved-cwd terminal roots, including sibling-root/cwd combinations with reverse admission rollback, closes descendant relay watches before parent deletion, enumerates authoritative provider/cwd ownership, falls back to daemon spawn cwd before OSC 7, and keeps daemon/relay immediate shutdown pending until native exit or a bounded fail-closed error; a dead relay PID discovered during attach also settles concurrent shutdown before its stale entry is reaped, while Windows runtime watcher deadlines retain one removable physical-close waiter, treat Node's error-close path as positive physical-exit proof, and clear root ownership on late close. The relay policy test maps a standard repository's base, Git common directory, and worktree roots to one healthy supervisor, then proves a shared-child failure recovers those roots in separate quarantine supervisors with overflow and resumed events. Abortable capacity, quarantine, runtime-root, relay, SSH, and relay pre-install setup waits attach one reaction to each shared promise and explicitly remove 10,000 cancelled caller closures while one anchor remains. Built-entry macOS harnesses kill the desktop/runtime and SSH relay watcher children, then require automatic resubscription and later events while the host process and relay PTY survive. SSH bundles the child boundary beside relay.js, requires both artifacts for install completeness, and preserves registration-owned same-root cancellation. The test-value audit corrects the active renderer watch command/file reference to the existing runtime-file-client-watch.test.ts, whose three cases are retained unchanged. They observe synthetic subscription retry/fanout and unsubscribe/unwatch calls, not actual preload/main bookkeeping or physical watcher-process cleanup. The separate read/preview client suite loses forwarding, supplied-error and negative-only examples, retaining binary detection and Unicode SVG decoding. Historical evidence commands/results are unchanged. Test-value audit1293 removes src/main/providers/local-pty/local-pty-provider-session-inventory.test.ts (2 authored cases). Their isolated assertions no longer run; surviving tests are not claimed as equivalent coverage. Fresh execution against the candidate SHA is required. Audit1312 removes low-value imported specs from aggregate test drivers; old whole-driver execution receipts are archived. Retained registrations are unchanged. No equivalent replacement coverage is claimed. Audit1383: src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts reduced. Lose command-list/receipt/default/background activation matrices whose provider spawn returns canned IDs. Retained test proves actual tab allocation separation, not terminal startup. No equivalent replacement coverage is claimed. Existing exact unaffected receipts and their platform/provider/budget claims remain scoped to unchanged selectors. Changed optional selectors have no new execution result. Audit1401: src/main/runtime/orca-runtime-tests/mobile-session-tabs-duplicate-pty-repair.spec.ts removed. Loses listing-on-already-repaired-data alarm; it never established runtime repair invocation. src/main/runtime/orca-runtime-tests/mobile-session-tabs-split-agent-tab.spec.ts removed. Loses actual mobile split sibling shell versus recorded-agent resume command alarms; no equivalent coverage asserted. src/main/runtime/orca-runtime-tests/worktree-native-chat-setup.spec.ts removed. Loses separate setup/startup tab result in that manually assembled path. src/main/runtime/orca-runtime.test.ts reduced. Driver registration/import of a whole-deleted selected spec is removed; directly authored cases remain unchanged. No extra authored removal credit. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result. Audit1412: src/main/workspaces/removal/watcher-removal-gate.test.ts reduced. Loses exact removal-error compatibility with renderer predicate under shared message constants. Kept public refusal outcomes do not establish that renderer classification. No equivalent replacement coverage is claimed. Existing exact unaffected receipts remain unchanged and apply only to their unchanged selectors. Changed optional selectors have no new execution result.", "motivatingLinks": [ "https://github.com/stablyai/orca/issues/5308", "https://github.com/stablyai/orca/issues/7547", "https://github.com/stablyai/orca/issues/8212" ], "invariant": "Local runtime and SSH relay roots share one watcher child per host process while healthy and use at most four quarantine children after shard failure; native desktop, paired-runtime, and direct WSL snapshot children consume the same process-wide eight-child reservation and retry transient exhaustion without permanently disabling a root. Cancellation remains owned by its child generation and settles only after acknowledgement or bounded physical exit; paired-web retains cleanup ownership and can cancel before readiness even while capacity is exhausted, retries a failed unwatch after already-resolved or late physical exit without duplicating stream termination, replacements never overlap a still-retiring generation, and aborted or timed-out callers detach immediately even while queued behind same-root relay teardown. Destructive local and SSH cleanup holds one containment-aware watcher/terminal removal fence through descendant watcher and PTY physical exit plus parent Git/filesystem deletion; daemon and relay kill requests retain ownership until the actual subprocess exit callback or an equivalent positive dead-PID proof and propagate rejected signals or a bounded failure otherwise. A crash-fused shared shard moves affected roots into the bounded quarantine pool, a second fused quarantine ends those watch lifetimes, interrupted setup emits overflow after recovery, metadata work stays bounded, and the SSH relay, PTYs, Git, and other filesystem operations never load the watcher native addon or share its fault boundary.", - "oracle": "Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/runtime/files/watching/runtime-file-client-watch.test.ts: delivers remote file changes to listeners for the same worktree. src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/mobile-session-tabs-part-14.spec'). src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-03.spec.ts: arms the stale-title timer for a seeded working title; arms the Command Code scrape from the noted spawn command; prefers the tracked title over a stale renderer lastTitle in the hydration seed; writes recent output into the current runtime output map; uses a later title handler replacement with the runtime receiver; calls the current injected listener with the runtime receiver; keeps optional reconciliation lazy after its callback is removed. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-14.spec.ts: lists them, so a paired client can mirror a migrated editor; closes one by retiring it from the host session; keeps an unsaved draft unless the close is forced; shares aggregate work but leaves a replacement pending promise alone; lets a targeted refresh finish while an aggregate refresh waits; refuses a close when the store lacks %s before the guard; keeps a later missing %s on the original caught failure path. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Exact retired assertionRefs, preserved as historical objects only: {\n \"file\": \"src/renderer/src/runtime/files/watching/runtime-file-client-watch.test.ts\",\n \"assertions\": [\n \"terminal watcher error and setup failure evict the shared entry before retrying callbacks run\",\n \"an old stream end cannot evict the replacement stream, which still delivers to its listener\",\n \"two same-worktree listeners share a synthetic subscription until the final stop unsubscribes and sends unwatch\"\n ]\n } Historical prior account (preserved verbatim): Audit1973: Delete the standalone mocked watcher cleanup suite and its entire sole-file prospective command. Retire the removed file-command transport-abort alias; preserve the independent cancellation suite and final-overflow/error/end cleanup callback, and13 unrelated receipt objects. Whole original changed dated receipts are retired, never narrowed or transferred. This metadata review claims no fresh execution, equivalent replacement, provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Partial runtime files-watch suite retains controlled Windows close-event waiting, shared-client survival, late physical-exit ownership/deadline cleanup and shutdown joining. Its combined Windows close/deadline/late-exit alias remains backed by unchanged callbacks. Retire native-error-close, pre-publication setup ownership and failed-delete rearm aliases; associated delegation, failure forwarding, removal routing and recovery examples are lost. These tests inject watch/subscription seams and do not observe an actual native watcher or physical process. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1925 (sources1922/1923): Partial runtime watcher-host suite loses mocked option/event/overflow/resubscription forwarding, supplied teardown-error propagation, aborted-signal/no-call and private ten-thousand-waiter-count inventories. Retire the 10,000-caller bound and failed-recovery-subscriber-ending assertion aliases. Keep same-root owner cancellation, pre-ready replacement, held root-close join, stale-generation recovery delivery and initial failed-root ownership mappings backed by retained real-host callbacks with injected subscription/error/physical-exit promises. No actual native watcher, process termination or resource bound was observed. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1683 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Fill the global watcher-child reservation, require native desktop, paired-runtime, and WSL setup to retain typed transient capacity and retry after one serialized release, then cancel pending desktop and paired-client watches and require no retry. Hold one live anchor while aborting 10,000 callers at the capacity, quarantine-assignment, runtime-root, relay-setup, and SSH-registration layers; require exactly one explicit waiter and one base-promise reaction to remain, then zero after settlement. Hold an old relay unsubscribe, queue one same-root setup leader and one anchor, then abort 10,000 joiners; require every cancellation to settle before teardown releases, exactly one anchor waiter, and only one later physical install. Advance the former paired-web callback deadline while capacity remains full, require cancellation ownership to stay live, publish the server token before ready, and require files.unwatch to abort setup before a later slot release can install a native root. Reject the first ready-watch unwatch with a physical-exit promise, resolve that exit later, and require a fresh physical unwatch attempt, registry release, and exactly one stream end. Fill one healthy shared child with multiple roots, map a standard SSH repository's base, Git common directory, and worktree roots to one relay supervisor, then inject IPC disconnect-before-exit, queued and active cancellation, operations during termination, kill-without-exit, repeated unkillable generations, initial and recovery timeouts, and shard failure. During local and SSH deletion, attempt a late terminal spawn whose worktree identity and cwd name different roots, enumerate a non-prefix remote PTY by authoritative worktree ownership, withhold daemon/relay exit callbacks, make attach positively prove a concurrent-shutdown PID dead, and make the provider unavailable; require every acquired admission to roll back on rejection, dead-PID proof to settle physical exit before reaping, timeout to retain ownership, and Git/filesystem deletion never to start. Require bounded watcher process count, physical-exit settlement, healthy-root recovery, stale-generation rejection, overflow plus later events, and fail-closed destructive cleanup. Verify relay build hashes and remote install probes require both relay.js and relay-watcher.js. Launch the built relay with a real PTY and Parcel watch, kill only the watcher child, and require the same relay PID and PTY to answer before a replacement child delivers overflow and a post-crash event.", + "oracle": "Audit3492 composes ROOT-approved75(AUTHOR3475/PEER3476 and AUTHOR3485/PEER3481, including five-field clarification and zero-credit selector3483) plus123(AUTHOR3486/PEER3487 reconciled FINAL3491, including peer case10:3 and9:0 wording clarifications). It intentionally removes198 authored registrations/232 finite literal-table potential registrations across70 changed JS/TS test sources, including45 whole suites;87 authored/90 finite potential registrations remain across95 reviewed JS/TS bodies. One mobile native-suspension manual recipe and the now-unreferenced GitLab mock fixture helper are separately removed with zero registration credit. Static literal table potential is not execution. No equivalent replacement, fresh runtime result or merge credit is claimed. Earlier135 complete dated receipts, all raw gaps and full prior98/161/history notes retain their exact scopes and bytes. The additional123 retirement accepts loss of mocked GitLab request/error/identity/classification inventories; basic Linear migration and metadata discovery; simulated OpenCode key failed-save retention/retry/log redaction; analytics identity-flush smoke that did not prove ordering; AppImage static entry guards and empty-staging cleanup; GPU/process/minidump breadcrumb/annotation shapes and weak redaction oracles; namespace/status/foreign-launcher ownership guards and persistence roundtrips; profile transfer field projections; worker hook/screen/incarnation/result admission/classification guards; and source-coupled CLI transaction fixtures. Privileged publication failure injection was a false-positive: its mkdir regex missed -m 700 and outer rejection accepted an inner assertion before any shell ran. The identity-flush case awaited identity after flush and could pass despite early flush. Retained actual negative-token cache recovery, SQL filter-before-LIMIT open approval, unreadable-root FTS preservation/degradation, latest-connect-wins persistence, worker stop-debt settlement, unmodified same-inode foreign-content transaction, explicit incomplete-pagination error, FTS own-message snippet association, filter-before-route result and bounded-search truncation honesty are distinct bounded outcomes, not replacements for retired alarms. Case9:0 checks both roots before chmod but only mounted-session/degraded-root after chmod. Entire extraction-root suite is removed; no retained extraction cleanup is claimed. Removing the manual iOS foreground-stall shell script loses its unique real native-suspension recipe; timer tests do not replace it. First-match PIDs, indefinite waiting, broad success matching and absent trap cleanup made that diagnostic brittle and able to leave a desktop stopped. The current Windows operational driver remains byte-exact, preserving already-merged removal of orcad-convert and orcad-cli-convert selectors and the retained cmd/powershell/managed CLI lanes. The package skill-sharing release selector loses only the exact already-retired skills-suite token; no extra test credit. Included approved75 retirement account follows (historical proposal labels identify provenance; final198 counts above control): Audit3488 composes ROOT-approved source49(AUTHOR3485/PEER3481, including its immutable five-field clarification) and source26(AUTHOR3475/PEER3476): intentionally removes75 authored registrations/87 finite potential registrations across35 changed sources, including25 whole suites;35 authored/36 finite potential registrations remain in the combined reviewed scopes. Literal table potential counts are not executions. This source-only reduction has no equivalent replacement, fresh runtime result or merge credit. Root unit discovery deliberately loses entire message-row filtering/chunk reconstruction, discussion-pagination rejection passthrough, Linear bearer/stack redaction, new-profile telemetry/default/existing-JSON no-op, WSL user-trigger routing, terminal-delivery refusal, native-chat worker-approval UI, followup-paste routing, live-surface tombstone refusal, activity-bar hydration, fabricated approval-caller policy, child-PATH transformation and branch-review URL/identity suites. It also loses cache roundtrip/mode/fingerprint/fallback/no-op samples; GPU field-shape privacy examples; older auth-probe failure retention; orphan SQLite-sidecar/future-schema admission; usage tie/duplicate/composite-key examples; allocation-name sanitizer/unknown-prefix examples; real worker-and-backup preflight wrapper smoke; and JSONL descriptor-loop truncation. The discussion page contained id-only discussions without notes, so its rejection did not prove a nonempty notes-prefix oracle. The preflight did launch actual worker/backup entrypoints with production internal self-validation; removing its revision/version wrapper deliberately retires that real-entry smoke alarm. The skipped-prefix JSONL keeper rewrites/grows after collecting the suffix and before final validation, not concurrently during parsing. Retained queue rejection/recovery and held/drain mechanisms, recorder nonsettling-provider deadline, corrupt authoritative-DB refusal, legacy cache split migration, merge-added-row indexing, external-frame redaction, and pinned JSONL read/verification/mutation checks are bounded concrete oracles, not equivalent replacements for retired alarms. The full cloud relay cohort/ceiling/control suite is separately removed from the relay package runner, outside root unit discovery; no cloud runtime result is claimed. The Python computer-use benchmark remains unchanged tooling with zero authored/removal credit; no native benchmark trial ran. The package skill-sharing release selector drops only the exact already-deleted skills-suite token, with zero additional removal credit. Prior dated receipts, raw gaps, and complete earlier161/98/history notes remain exactly at their original scopes; no changed-source historical receipt becomes fresh reduced-suite evidence. Included approved26 alarm account: Broad root-unit discovery loses entire ref-label string, hostile/malformed CSV-link rendering, Codex filename-discovery, mocked paged-preview postscan mutation, usage path-containment, real symlink-ancestor, Codex skip RPC, local/remote inference routing, width-preference, and synthetic workspace-document input suites. It also loses the hand-assembled sorted CSV edit example, connect-time JPEG seed and invalid AVCC guard samples, and eight-record/64KiB detector boundary cases. The symlink suite exercised actual kernel traversal; its lost ancestor alarm could omit supplemental local editor watches and leave content stale, not bypass authorization. Retained linked stream cancellation, preview-only save fence, failed-flush dirty-draft preservation, clipboard byte/edit preservation, fragmented AVCC parsing and independent quoted-CSV interpretation checks do not replace these deliberately retired alarms. The stream fixture uses an in-memory source and does not establish actual fd cleanup; editor save endpoints are synthetic, browser events are synthetic, and no native focus, actual remote delivery, real disk write, cross-platform execution or interoperability is claimed. Earlier complete dated receipts, raw known gaps and previous notes are historical evidence at their original source/selector scope, not fresh evidence for this reduced suite. Audit3438 composes ROOT-adopted3434/independent3436: intentionally removes60 authored/62 potential expanded cases across16 sources, deleting9 whole suites. Eight authored/eight potential cases remain; delete the102line unused ACP fixture and57line unused teardown helper with zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses ACP model-catalog fixtures, resume-record projections, dashboard mock payload/state cases, mobile folder/launch/session examples and dictionary pipeline rows. Selected E2E removals also retire auto-conversion and golden-core journeys and one Windows CLI conversion registration. Retain ACP reply text across a resumed subagent, both VAD checks, focused tab send ownership, async focus ownership in happy-dom, the question-skip journey, the original managed Windows CLI lifecycle journey and dictionary substitution. These checks do not replace the removed alarms. Audit3470 composes ROOT-approved AUTHOR3466/PEER3467 source proposal: intentionally removes38 authored registrations/59 finite potential expansions, including8 whole registering suites, retaining13 authored registrations/18 finite potential expansions. The sole dead shell-recipe caller cleanup has zero additional test credit. No equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses process-import boundary, Korean/Japanese locale policy, worker-reset, mobile agent-history/queued-message and median-summary suites, plus packaged mobile-manifest, worker-pool fixture, HTML preview, mobile shell and terminal samples. The environment-provider contract and its sole shell-recipe caller are deleted. Separate cross-version-wire discovery loses the large byte-budget fresh-snapshot/replay sample while retaining independent live same-revision note publication; the retained terminal stale-refresh and dirty HTML draft persistence checks do not replace removed alarms. The source4 unused start/stop fixture hooks are removed; its retained nested failed-import test remains byte-exact with its own lifecycle. Unchanged SVG preview and Git-resolution registrations stay intact. Root balanced CI excludes the cross-version directory, which has a separate job; unbalanced root discovery can include its parent. No native app/device, actual remote, released-pair interoperability or cross-platform execution result is claimed. Audit3468 accepted source proposal AUTHOR3462/PEER3463, composed privately by audit3469: removes62 authored registrations/95 finite potential expansions, including5 whole suites, retaining25 authored registrations/29 finite potential expansions. ROOT approved source value; no equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses the profile-state worker smoke, worker-agent views and three search discovery suites, plus samples from node-server qualification, skill-bundle generation, CLI hooks/profile/recovery/offline admission, permission-hook holds and search indexing. The separate Cloud relay runner loses one relay blackbox sample; unchanged mobile native-chat and dependent-transcript drivers remain. Retained source callback/table/ancestor/fixture bytes bind to the sealed candidate. No physical-device, mixed-version, remote, cross-platform or app execution result is claimed. Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. Broad root-unit discovery loses whole cross-client workspace-sync, terminal-preview, picker-skill-hint and close-routing suites plus reduced worker-stop, remote-owned-record, scanner, mobile-bundle and daemon-health samples. Separate E2E discovery also loses the paired mobile/desktop mirror journey and two unit drivers. Retained callback/table/outer-loop/guard bytes are exact; retained checks do not replace the removed alarms. No app, native device, mixed-version, remote or cross-platform execution result is claimed. Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. Broad unit discovery intentionally loses whole trust-dialog observer, background-turn notifications, redirected session refusal, typed-agent identity, chat-tab lifetime-cost, model-manager and mobile diff-review controller suites, plus individual persistence, synthetic composition, pairing, manifest and subprocess samples. Retain deferred snapshot dirty-domain persistence, two direct editor ownership cases, stream counter-domain distinction, two persisted pairing identity cases, parser entrypoint asymmetry, dictation retry and process-group timeout; paired restart and packaged old-binary/corrupt-profile journeys remain in their E2E driver scope. Retained checks do not replace removed alarms. No fresh execution, native IME/microphone, real authentication, mixed-version/platform or performance result is claimed. Audit3451 composes ROOT-adopted3444/independent3445: intentionally removes101 authored registrations across16 reviewed sources, deleting7 whole suites and reducing8; one reviewed source is unchanged. Fresh main has123 authored registrations before and22 after because an upstream direct-child shell regression remains verbatim with zero removal credit. Registered removals are100+7*S and explicit-active removals99+7*S, where S is the unprobed count0..3 of admitted bash/zsh/fish shells. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses extra stream lifecycle/forwarding examples, unreadable-store/cache projections, orchestration presentation/benchmark cases, remote-owned routing matrices, mobile legacy navigation and model-catalog listing/cache examples. Whole suites retire renderer client-event projections, manually assembled structured-session reader ownership, mobile prompt presentation, renderer AI-vault resume commands, mobile Jira URL lookup, composer retention and mobile folder source-repository queries. Retained checks preserve original stream/store/orchestration/routing/navigation/catalog cases and shell behavior, including the upstream direct-child case. No real provider, native desktop or mobile acceptance is established by this reduction. Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit and mobile discovery loses interrupt/wake registrars, task storage/session-close/account snapshot hooks, permission tables, copy/preference/model-discovery/composer examples, launch placement examples, VM projections and extra mobile-history scenarios. Retained checks cover abandoned versus dispatched fork uncertainty; /fast dispatch supersession; discovery lock release after exit; stale-send draft preservation; OSC status lifetime; future-version file preservation; launch cancellation before/during dispatch on both layout owners; mobile resume addressability before hooks; and recipe snapshot cleanup after plugin removal. The paired browser-link Electron source is unchanged. Terminal launch seams, mobile roles-only history and injected provider results do not establish native terminal destruction, transcript text fidelity or real remote provider cleanup. Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses reduced or deleted relay, coordinator mail, recovery watchdog, automation observer, launch picker, folder PTY, profile restart, web migration, retirement, pointer delivery, agent-row and run-bound mailbox examples. Retained checks cover relay hello/payload and SIGTERM drain, coordinator pending-check and clear-to-Run continuity, profile persistence, the full six-row web merge table and real run-bound delivery waiter. These do not replace removed alarms. Audit3429 composes root-adopted3426/independent3427: intentionally removes168 authored/205 potential expanded cases across16 semantic sources, deleting11 whole suites and one304line unused assertion helper. Five authored/five potential cases remain; the duplicate500k graph row is dropped while its50k row and callback remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted migration/recovery/federation/rich-draft/paste/automation/mobile/catalog examples. Keep server-edit preservation during migration, native supervised cancellation holding the agent home until physical stop, pagehide lost-text preservation, graph old-result WRAPPER WeakRef collection with50k rows, and mobile React render isolation. The WeakRef does not prove all commit objects are collectible or a memory budget. Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted mock orchestration, refusal, restart and storage examples. Retain unchanged two-phase real-WSL deployment/survival, the reduced idle-release holder proof without restart/first-output measurement, real worker stop/release cleanup barrier rows, physical Git branch-preservation rows, and SSH disconnected-close proof. Other SSH and CLI variants and WSL telemetry/warmup churn are intentionally removed. Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. Broad root-unit discovery loses naming/title/queued-host fixtures, main-window focus-shortcut and attach-services mock orchestration, Git Bash console-capacity fake process inventories, most real-Git preparation/locking variants and Claude/Codex catch-up examples. Keep lifetime rejected-writer followed by late termination proof and autonomous real-checkout cleanup; two-row real-Git rollback after a real move preserving a replacement/admin marker or revoked permission; a live translator write during a held transcript read fencing stale Claude history append; and Codex expected-item revision rejection before a historical writer shim. Codex driver registers retained bounds exactly once with original inputs; bounds does not prove modern writer persistence. Accepted changed-lock preflight sentinel and omitted-parent routing losses are not replaced. Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Broad root-unit discovery loses35WSL examples,22STT examples,22shared-server-banner examples,18clipboard-handler examples (whole suite deleted),14VM lifecycle examples and16commit-message cancellation examples. Retain4WSL and7STT mocked connector/worker cases,1rendered stale-banner refusal,2VM guard/failed-compensation cases and1late-stream ownership cancellation case; real WSL/microphone/remote-provider proof is not established. Separately discovered e2e-unit drivers lose13cross-version-wire local cases and15mobile active-publication cases, keeping same-process disk-reopen/new-host cursor content/epoch/sequence outcomes and a host/renderer-snapshot selection and inventory revision race respectively. Imported released stop-note scenarios remain unchanged and receive no duplicate credit. Cloud suites are outside root UNIT_INCLUDE. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. The broad root-unit command loses the UNIT_INCLUDE src/ subset of retired examples; mobile is outside UNIT_INCLUDE. Other lost alarms are recorded by the adopted per-case source reviews. Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3381 composes root-adopted3376/independent3377 and3379/independent3380: intentionally retires436 authored registrations/670 expanded cases, including79 whole suites and12877 test lines, without equivalent replacement. Lost alarms include scheduling, account/host/status/filter/format inventories, microphone/image cleanup, title/bell/capability lifecycle routing, access/impersonation/outcome matrices, paste/input resend/ledger/retention, stale completions/reload containment, trust-read failure and popup OAuth/security/geometry vectors. Retained30 registrations/34expanded cases in22 suites preserve narrower SQLite TEMP/TZ/WAL, HTTP transcript root resume, mobile original-index Choose/Submit, child environment/Git lock expiry, stale ACK/PTY lifetime/peer fairness/durable replay/output ordering, actual DOM paste/editor focus, DEC2026 conservation, filesystem rollback, owned buffer lifetime, actual OSC parser/tracker handback, POSIX Python UTF8/fallback, durable trust concurrency/version, OpenSSH verdicts and hidden Chromium POST/route lifecycle. Mocked boundaries limit claims. Current bounded defining-owner reads preserve the retained oracles; captured identities are not full transitive semantic review. Both component blind pins authenticated before exchange; final reconciliation and explicit postpin3380reason correction supplement control, without retroactive blind claims. Root unit command excludes mobile and separately admitted Electron probes; use existing respective runners. No fresh execution, native focus/device/pixel UI, live SSH/remote, equivalent replacement or broad mixed-version/cross-platform validation is claimed. Prior dated receipts retain exact original scopes. Audit3375 composes root-adopted3370/independent3371 and3373/independent3374: intentionally retires79 authored registrations/84 expanded cases, including39 whole suites, without equivalent replacement. Lost alarms include federation field/parser inventories; Claude rejected-key precedence, credential clone redaction, managed-versus-user hook preservation and CLI defaults; setting/status/activity projections, mocked SSH/notification/reveal/Linear refusal, fake-clock reconnect and noise; image-fold artifact visibility, paste eligibility, setup trust, scripted ACP error-to-journal publication and ligature cache tuple aliasing; plus supplied folder-runner uniqueness, mobile host-overlay/credential/update/preference races, status/markup/title/keyed-row projections, subscriber cleanup, cancellation/close/refusal/link-issue and mirror suppression alarms. Retained3373 merger contiguity, dual-clock overdue-resume exactly-once, rejected-paste IPC sink and annotation schema roundtrip remain bounded. Retained actual HTTP/OSC status composition, destructive sibling-filesystem isolation, external contrast invariant and fixture CSS pixel intervention remain narrower. Original reviewed87authored/92expanded become9/9; current OpenCode suite adds two preserved upstream cases and the synthetic-title suite gained one Cursor policy mock-call case, independently reviewed for removal in root3378; current90/95 become11/11. That Cursor suppression/ready-frame regression alarm is intentionally lost; it does not observe native title ownership or tab flicker. For3370 only the peer was independently blind, with author exposure explicit;3373/3374 both blind pins were verified. This broad root unit command selects the reduced root unit suite; UNIT_INCLUDE excludes mobile tests, which require the existing mobile runner; retained Playwright component-pixel spec uses its separate existing headless fixture runner and is not validated by the broad unit command. No fresh execution, actual agent/shell/provider, OS material/focus, historical import equivalence, mobile, mixed-version or cross-platform evidence is claimed. All dated receipts retain their original scope. Audit3368 composes root-adopted3363/3364 and3367/3369: intentionally retires181 authored registrations/196 expanded cases, including28 whole suites, without equivalent replacement. Lost alarms include hibernation attention/liveness/backoff/sequential teardown and inventory, host launch compatibility/legacy/Kimi/resource cleanup, terminal recovery parser/pause/quarantine/remount, window-visibility omission-fence lifetime, launch-option rendered Start, sleeping-resume saved recipe/WSL quoting/cancellation, plus removed project/window/input variants. Additional tiny-suite losses include sentence/label/field/default inventories, credential omission, Windows argument/environment mapping, URI decoding, diagnostics, provider classification and fake-clock callback/parser examples. Retained ten registrations/twelve expanded cases include two literal Unicode Mn/Cf zero-width range guards in the actual character-range algorithm and protect narrower delayed editor bytes/destructive ownership, mounted hidden collision repair, ten transport epochs, duplicate-command refusal, caller timeout typing, executor unknown-opener refusal and failed-chunk user bytes. This broad unit command selects the reduced suite; no fresh runtime, real provider/network/PTY, filesystem restart, native UI, historical import equivalence, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3362 composes root-adopted3358/independent3360: intentionally retires129 authored registrations/140 expanded cases, including four whole suites, without equivalent replacement. Lost alarms include supplied orphan-adoption retry/malformed inventory/cancellation; fake-terminal replay parser/wedge/disposal callbacks; all-host catalog metadata and Windows preferences; host keepalive/protocol/stale/settings failures; and removed exact-stop/suppression, source save lifetime, diff-note queue, rename/editor close, input flood/chunk refusal/limits, purge and creation examples. Retained18 registrations/21 expanded cases protect narrower ownership, generation, dirty-state, queue convergence, encoding and attachment-lease outcomes. No replacement or keeper quota claim. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY/xterm parser, disk restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3359 composes root-adopted source3355/independent3356: intentionally retires130 authored registrations/139 expanded cases, including eight whole suites, without equivalent replacement. Lost alarms include strict create naming/capability/legacy payloads; supplied transport host replacement, deadline reattach, create-handoff and split activation; agent-session fork/clipboard/platform flags; shutdown cleared-scrollback/unmounted bindings; simulator host-collision/selection/shutdown; and removed editor, catalog, mutation, launch and status examples. Retained12 adverse-ordering/state-consequence cases are narrower and do not replace all removed alarms. Two queue absences receive zero removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY, filesystem restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3349 composes adopted batches3343,3345 and refreshed3354: intentionally retires234 authored registrations/294 expanded cases, including13 whole suites, without equivalent replacement. Lost alarms include supplied terminal reconnect/replacement/typeahead/mirror/result and snapshot examples; synthetic render-desync persistence/recovery; worktree listing/owner/catalog/lineage/removal and activation/creation examples; host-scoped PR and task-record projections; editor diff/status/comment and UI send-target examples; automation observation/wake, supplied sleep/deadline clock and native-chat completion/notification/relaunch samples; held-tab layout and cleanup/progress guard examples. Retained adverse-ordering and wire-boundary cases are narrower and do not replace all removed alarms. The already-upstream visibility-resume deletion receives zero new removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH, native process/power/GPU, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3342 composes adopted source batches3333/3334,3336/3337 and3340/3341: intentionally retires180 authored registrations/263 expanded cases, including seven whole suites, without equivalent replacement. Lost alarms include corrupt editor hydration; mobile editor/diff publication and privacy projections; stale-resubscribe routing; model-picker projection/refetch/retry/fallback; editor check-details and frame property inventories; latched-pane cleanup/quiescence; client create replay identity/options/compatibility; and removed owner, async routing, terminal and layout examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts keep their original scope. Audit3335 composes adopted source unions3327/3328 and3330/3332: intentionally retires100 authored registrations/123 expanded cases, including ten whole suites, without equivalent replacement. Lost alarms include seeded host persistence/contention and stale-host cleanup; browser snapshot assembly; mocked wake/DPR callbacks and frame budgets; preflight projections; palette authority/cache suppression, URL intent and saved-title cross-repo collisions; metadata coverage/set patch and dropdown assembly; and removed terminal, worktree, review-refresh and owner-routing examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI/GPU/focus, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain only their original scope. Audit 3318 composes adopted sources 3310, 3313 and 3317: intentionally retires 71 authored declarations and 102 expanded cases, including whole terminal-detach agent-retention, seeded batch/single open-files equivalence, shallow context-menu shortcut-badge, mocked active-workspace delete-dispatch, workspace session hydration, SSH target cleanup, editor session hydration and worktree terminal purge suites. Lost alarms include chained transfer alias and immediate close/exit retention; batch/single divergence, survivor/selection/map preservation and input nonmutation across 400 imperative seeds (one registered case); disconnected pending-handle retry, authoritative absences/close-record shortcut/older-host absence and published-presence/unpublished-frame examples; published empty host-graph omission to pane exit; legacy search ranking/exclusion fallback; provider request upgrade/dedupe/finalizer ownership; asynchronous PR suppression/primary-change and same-number different-repository URL rejection. Deletion routing loses host/instance qualification, paired and legacy mapping, folder ownership, active-versus-hover/menu-row selection, ambiguity, modal/editable/creation/view/main/deleting/missing guards and shortcut advertisement. Unchanged real keyboard/hover/confirmation/catalog E2E remains narrower, not an equivalent replacement. Additional losses include scripted old-host disk/UTF-8/noop/baseline and landed/unlanded lost-reply/replacement-retry outcomes; ordinary/repeated healthy-link reattach; cross-owner terminal/chat binding; oversized replay permanent-unavailable classification; floating reveal keyboard ownership/close/disable/listener disposal; naming/retained-turn/Sleep/error/close/reject status tables; SSH membership prune/new-target-only reads and environment/local bucket isolation; same-frame receipt capacity and positive bare/headless publisher readmission. These actual regression alarms are deliberately lost; no fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit 3312 composes adopted sources 3302 and 3308: deliberately retires 33 authored declarations and 36 expanded cases, including the whole backend startup-focus, active-browser IPC-close-routing, remote-browser-creation and agent-terminal-presence suites. Intentionally lost alarms cover distinct six-pane reconnect handles; SSH host label/Connect callback, unhydrated visit cleanup, repo cache aliases and hidden worktree/tab/PTY cleanup; adopted-agent startup focus and viewer navigation/reuse; staged, pageless, source, stale and orphan browser-close routing; web local-materialization refusal, desktop incapable-host fallback, failed/thrown remote creation and paired-web sign-in refusal; BOM/NUL and remote/local custom-editor byte-read examples; immediate folder activation and unread clearing; and batching idle/coalescing, accumulated byte ceiling, leading-edge-disabled, standalone synchronous oversize rejection, validation yield, deferred pending-tail order and both viewport-clear examples. The newly reintroduced agent-terminal-presence suite also loses actual terminal-status membership positive and nonterminal-status callback suppression alarms, including the recent 40916 guard regression; the older different 2133 presence-suite history remains historical and receives zero duplicate removal credit. These real regression alarms are intentionally lost. The unchanged survivors provide narrower coverage, with no equivalent replacement or fresh gate, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation claimed. Audit 3301 combines adopted source batches 3296 and 3299: retire 27 authored declarations and 36 expanded scenarios, including six whole suites. Intentionally lost alarms cover failed-verification/recovery/restart counters and mocked hosting/toast; early overlapping pane-read scheduling/count; unreadable removal listing draft guard; bulk-purge remote-qualified and raw-local guard maps; initial-snapshot blank/mode/oversize/printable/fresh-spawn callback and replay examples; fallback mobile file close and ordinary MRU; default queue overload/drain; seeded browser-page reuse and supplied missing-page URL recreation; ambiguous sleep/hibernation owner refusal and untouched bindings/origins; ordinary selection/activity/fallback priority; skip-remote success and retained hints; supplied structured-chat unsent retention and scoped removal draft eviction; caller-chat focus precedence; open/draft PR cache eviction and merged-head fallback result inventories. Retained adverse-ordering and ownership cases are narrower and do not establish equivalent replacements. No fresh runtime, native, physical provider, cross-platform, mobile or mixed-version evidence is claimed. Audit 3292 combines adopted 3285/3287/3289/3293 removals: 40 authored declarations and 47 expanded scenarios, including whole frame-editor-view, ambiguous remote-delete-refusal, unverifiable-host subscription and editor-close cleanup suites. The previously reviewed dock-badge suite was already removed upstream in PR 40895 and receives zero new removal credit. Intentionally retired alarms include background browser selection and last-tab landing; main startup fallback, SSH project cleanup/survivor routing, exact-PR contradiction/saved-push positives, replay/sidecar rollback and wrapped remote error normalization; records/snapshot missing-diff hydration, ambiguous folder-owner delete refusal, focus no-op notifications, nested editor context-only cache check, pending broadcast-first status and ordinary four-confirmation aggregation; preview-source frontmatter pruning, approved local/runtime agent dispatch, non-GitHub legacy PR cache invalidation, stale merged-head transient-error fallback, empty-queue immediate query reply and unverified-to-concrete preflight risk. Additional intentionally retired alarms are injected host subscription/unsubscribe counts, synthetic editor reveal/draft/fallback/scoped close, ambiguous unread refusals and hidden mark/read roundtrip, immediate connect backoff/noError, positive mirrored evidence-clock renewal, supplied VM failure/success projections and git-local/folder-SSH wake permutations. Remaining temporal/ownership cases are narrower; no equivalent replacement or fresh execution is claimed. Audit 3283 removes 20 authored declarations and 31 expanded scenarios, including two whole suites. Retired alarms cover PR refresh-state pruning, shared runtime subscription cleanup and store isolation, language content-change routing and older completion ownership, ordinary panel retry-timer cleanup and pending loading, four hosted-review lifetime permutations, mocked terminal creation error/order wiring, five sleep-inventory variants with pending-frame-only assertions, palette fallback/composite highlights, Windows/UNC encoded-editor input rows, mixed-repository partial failure counts, title setters and generated-title bypass/replacement, five window-close coordinator delegation/guard/finally branches, and ambiguous-old-record frame reveal. These regression checks are intentionally lost under the test-value audit; retained cases are not equivalent replacements. Prior coverage notes and receipts remain historical. Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims. Audit 3256 removes these specific alarms from the broad root unit commands: skill dialog active-share selection, close and pending-share handoff; simple keyed-record deletion; marker live-region insertion, simple landing and nine baseline policy examples; General search/control navigation inventory; orphan-count cache bootstrap; seven Codex code classifications and HTTP 429 warning mapping; two skill unread-root verdict examples; peer-mail payload and conversation-ID rejection; and the GitHub organization TABLE text-field optimistic rollback/failed-envelope example. These include real behaviors; retained tests do not provide equivalent coverage for every removed scenario. Mobile losses are recorded separately and are not coverage of these root commands. Audit3246 retires NewRowsMarker reveal/no-repeat and pane-scoped beforeinput checks; skill-owner option availability/count/dedup/order; six styled Input/Textarea IME forwarding rows; the static Codex/OpenCode smart-key inventory; tab-map AST ratchet diagnostic fixtures; child-roster work-budget and retained-aggregate alarms; malformed persisted floating-cwd fallback/no-crash/empty exact-root checks; the unanswered-host empty-list discriminator; the direct invalidated-cache commit-false assertion; one redundant digit-keyup IME row; cached non-supported Claude title-generator rows; and the duplicate late naming-result singleton. These root broad commands lose those specific alarms without equivalent replacement. Distinct retained owner/state checks have their own bounded claims; the real scheduler still rejects stale response data, while the direct false-return alarm is retired. Audit3231 retires supported-host restore-pane key mapping, closed/open creation-sidebar toggle visibility, unrelated scope-error/null classification and quick-submit reveal/no-create checks. These broad commands lose those real narrow alarms; no replacement coverage is claimed. Audit3219 removes the synthetic Cmd+J extra-source suite; this broad command no longer checks its match/tie placement and selection, announced count, empty-query cap, or workspace hiding with retained recent tabs. No replacement coverage is claimed. Audit3209 composes approved sources3202/3206: deliberately retires seven authored/expanded cases in four whole suites without equivalent replacement. Work-item queries lose real GitHub/GitLab oversized ASCII secret-prefix empty-query and whitespace-before-trim refusal alarms; inputs share the imported size bound and exercise only its fast length branch, with no multibyte or actual provider/exposure guarantee. Skill sharing loses complete/partial managed-bundle and destination-ambiguity association checks plus three negative origin/path/scheme admission examples; these do not establish uploaded contents, arbitrary-URL fetching, authorization or execution. Retain exact originless-project direct-link fallback, cloud-delete confirmation, bundled-target repair/owner isolation and explicit Windows-host preference over stale WSL suites. Rejected3201 runtime-preference removal is excluded. No real cloud/network/host/disk, mobile or mixed-version execution validation is claimed. Audit3200 composes approved source3194: deliberately retires thirteen authored registrations/twenty-seven expanded cases in six whole automation host/list policy suites without equivalent replacement. Real RPC category/retryability and wrapped-timeout recognition, unscoped-failure/scoped-success health evidence precedence, exact-ID create selectors and per-run workspace omission, paired-web local/SSH/absent host catalog routing, incompatible/removed/unhydrated/offline execution health, runtime-before-nested-SSH recovery dispatch, and no-owned-focus/successor/foreign-list focus policy alarms are consciously lost. Retain exact20line orphan allow/refuse/precondition and exact90line cross-host same-ID search suites. No retry-timer/fence lifecycle, actual reconnect/network/write delivery, native focus, mobile/mixed-version runtime or disk persistence coverage is claimed. Audit3191 combines approved source3182/3187/3188: deliberately retires thirteen authored Vitest registrations and fifteen expanded cases, including five whole suites, without equivalent replacement. Attachment intake loses real portal/native-capture terminal interception and unowned-container refusal, immediate child-only committed availability/claim-ref negotiation and delivery, and direct-target over stable focused/background composer routing through disable/re-enable/remount and independent question focus. Exact destination/cache/draft and final-stat owner/workspace/File-release suites remain; they do not replace Surface recipient routing. Automation authoring loses destination runtime catalog membership, local/direct-SSH exclusion of paired-runtime repos, unknown-runtime empty catalog, logical project/host/setup/repo/path context payload, and missing/nonready setup refusal; these were genuine direct helper alarms, while exact schedule transformation, legacy schedule and setup-decision suites remain. Agent picker loses setup-chat/terminal/missing-installer/unsupported-or-unknown-host row projection samples and the ordinary unsearched menu variant; the entire original26-line resume recipe suite remains, including reported bypass versus default/absent permission modes, as does the exact search-result menu callback with its fixtures, model/effort commits and staged Arguments reopen outcome. Rejected predecessor3180 full recipe deletion is excluded. No actual native drag/cursor/focus/IME, upload bytes or disk/restart persistence, full automation save/scheduler/runtime transport, real resume-process flags/environment delivery, or native menu/rendered layout validation is claimed. Audit3178 combines source3169/3170/3175: deliberately retires eight authored units (six Vitest cases and two imperative custom relay scenarios), including two whole suites, without equivalent replacement. Voice Section loses per-model pending-delete isolation across interleaved A/B completion and the two-success refresh-call alarm; exact VoicePane delayed key-clear/newer enabled-toggle merge remains and does not replace row deletion coverage. Speech loses dedicated rating-scale/inclusive-ceiling, unsupported-versus-unmeasured, explicit/system-language precedence/locale alias, accuracy versus fast named/default/best-measured selection, and unmeasured/no-match examples; exact offered-user-pick versus retired-selection case and its fixture remain. Relay loses legacy ping-delivery count/liveness sampled before the silence deadline and grouped malformed Bearer/host-ID 401/429 routing checks; twelve real Worker/DurableObject/shipped-client scenarios remain, not equivalent replacement for those narrow alarms. Six prior speech cases are not all deleted: approved successor3175 keeps the original user-choice case. No actual credential/file persistence, native/GPU/engine/download delivery, production assignment policy or deployed-runtime validation is claimed by this reduction. Audit3165 combines source3160/3162: deliberately retires six authored/expanded cases across three whole suites without equivalent replacement. Launch/status losses: observed React-render pending/resuming coordination across settings and deferred offer read; stale-offer reread suppressing dialog reopen; held-local-chat recovery visibility with new-chat preferences off; disabled-local admission avoiding offer RPC despite an injected but unconsumed paired-tab fixture; and run-only lost-reply uncertainty reachability until direct viewed-run retirement. Launch probe does not prove arbitrary synchronous-store atomicity, the paired fixture is not remote runtime enrollment, and the status case directly marks viewed state rather than rendering the summary. Crew-hook losses: old-host method_not_found cache persists across party changes but is released by independently supplied connection generation/verified pairing status or pairing revision, with actual frame publication and teardown. These are real narrow coordination, admission, uncertainty and mixed-version cache alarms consciously lost. Exact web verified-runtime writer handoff guard remains; it does not replace those alarms or prove live host/native/mobile delivery. Audit3156 combines3147/3150/3152/3153/3154: deliberately retires39authored/40expanded native-chat recovery cases, eight whole suites and two orphan test-support files without equivalent replacement. Lost alarms: lost-reply unconfirmed reconciliation, skipped rows/counts and missed-frame repair, unknown/pending outcome and omitted-failure-list compatibility, uncertain history after dismissal, retry/refusal/dismiss lifecycle, hidden/consumed picker ownership, result-tree keyboard focus/disclosure and all-skipped retirement; unconfirmed-over-conflict guidance and failed-chat changes despite older host timestamps; nearest-listed ancestor/cyclic forest shape, descendant membership, host ordering/missing-host local fallback; skipped/readiness/admission counts, provisional skip/progress monotonicity, early per-chat verdicts with batch pending protection, older-host waiting, start-slot/delivery distinction, retry-over-failure and unknown-after-withdrawal attention; remote snooze/reconnect/reoffer, unseen mixed summary through open/close, watched completion retirement, new success beside old failure, failed-reread mixed-result preservation, filter/collapse completion resets, retry summary replacement and current-offer/history selection; cross-host workspace identity, rendered cyclic reachability, nested tri-state/toggle propagation, project eligibility isolation and collapse preserving selection. Exact fallback-list completion barrier, batched verdict/cleanup retention, stale-read versus dismissal publication race, and requested-but-never-rendered finished-run retirement remain; they do not replace retired alarms. Audit3146 combines source reviews3132/3133/3135/3138/3143: intentionally retire20authored/31expanded cases without equivalent replacement. Provider-session losses: structured-native terminal-resume exclusion, metadata-less completed identity, new-turn completion clearing, Pi provider-only/periodic/manual promotion, changed-transcript launch-config isolation, Pi/omp/prime-agent completed-session remote/manual-shutdown promotion, and quit/done precedence over heartbeat. Side-thread/question losses: finished-pane acquisition, hidden title/recap states, local/relay/relay-done conversation takeover with prompt/session/child resets, plain-message abandonment, compaction/session replacement and completion resets. Codex startup losses: incoming-owner cached child replacement, old-relay foreign live-session correction, completed foreign-root turn-fact permutations. Transcript losses: real temporary-JSONL partial sibling/final-child completion, unlabelled child attribution, compact cached replay preservation and100/1000completed-child roster retention/release. Compiler-ratchet losses: valid-line uncompiled-list parser grammar examples and injected-existence stale-path filtering; these did not exercise actual filesystem canonicalization or build exclusion. These are real lifecycle, ownership, replay, liveness and retention alarms, including recent#40246 regressions, deliberately lost. Retained conditional record replacement, clockless root/SSH owner isolation, persisted main-thread fork rejection, partial/final question-answer lifetime, cached-roster/missing-ID/live HTTP/durable startup boundaries and restarted-relay refusal/acceptance do not replace those losses. No native/SSH/WSL execution or equivalent coverage is claimed. Audit3128 scoped coverage reduction: Audit3121 removes VoiceDictationLanguageSetting.test.tsx (Spanish-to-es callback and unsupported-model Korean option presence) and voice-speech-model-rows.test.ts (provider/language-order/retired-on-disk list policy); these real narrow alarms are deliberately retired without replacement. VoiceSpeechModelSection per-model concurrent deletion remains unchanged. Audit3122 removes the direct absolute/parent-segment sparse-directory exception-type sample and the five-row IPC sparse-preset error-code/non-save table (two authored/six expanded cases). Those real typed-validation and IPC refusal/error-code alarms are deliberately retired. Keep both real symlink/junction floating-directory trust cases and the minimal RPC structured validation-reason serialization case. The RPC case does not replace IPC save/refusal behavior, typed normalization for both path inputs, actual Git sparse checkout or rendered localization. No equivalent replacement or fresh test/runtime/platform/remote/performance validation is claimed. Audit3124 removes ExperimentalPane.test.tsx (ordinary Pet switch callback), WorkspaceDirectorySetting.test.tsx (padded absolute saved-path normalization/no-write blur), and repository-search.perf.test.ts (navigation/selected-pane builder-call policy, fixture cardinality/nonempty entries and renamed project keyword inclusion). These real narrow alarms are retired without replacement; RepositoryPane.search.test.tsx search-to-sparse-editor request remains unchanged. Audit3129: resolver Windows case-insensitive and POSIX case-sensitive configured-env composition plus mocked-base launch-preflight Windows composition are intentionally no longer checked by the two deleted suites. No equivalent coverage claimed. Keep runtime-structured-agent-host-env.test.ts unchanged: configured Windows Claude-home account identity and host-account precedence remain checked. Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2090 (sources2088/2089): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2086 (sources2082/2083): Current reduced suites intentionally retire the alarms listed in knownGaps; prior dated execution and replacement claims do not validate changed source bytes or selectors. Historical prior account (preserved verbatim): Audit2076 (sources2073/2074): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-handles-part-02.spec.ts: recovers a moved SSH pane through the tab it now sits in, not the one its lease froze; reports a plain expired orphan; does not report a pane whose only recent lease was superseded; does not report a pane whose only recent lease had its relay id recycled; picks the eligible orphan over a superseded predecessor that matches first; collects the same tabs the per-tab reader reports, in one sweep of the leases; reports no candidate when no lease names any of the worktree tabs. src/main/runtime/orca-runtime-tests/runtime-availability.spec.ts: starts unavailable with no authoritative window; reports the configured Windows terminal shell on status; reports floating workspace availability from settings on status; polls floating tabs with targeted PTY liveness and no repo/provider inventory; hydrates persisted tabs when the store cannot report repos; advertises browser screencast only when a renderer window is available; routes mobile Codex reset consumption through the account mutation coordinator; maps a definite pre-provider rejection into an authoritative current snapshot. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Frozen current literal-import graph reaches these changed test bytes; unresolved local and computed edges remain debt, and current reachability is not historical execution or equivalent replacement evidence. Historical prior account (preserved verbatim): Audit2056 (sources2054/2055): Intentionally retire these low-value alarms without replacement: src/renderer/src/runtime/files/watching/runtime-file-client-watch.test.ts: delivers remote file changes to listeners for the same worktree. src/main/runtime/orca-runtime.test.ts: ordinary registration cleanup removes only await import('./orca-runtime-tests/mobile-session-tabs-part-14.spec'). src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-03.spec.ts: arms the stale-title timer for a seeded working title; arms the Command Code scrape from the noted spawn command; prefers the tracked title over a stale renderer lastTitle in the hydration seed; writes recent output into the current runtime output map; uses a later title handler replacement with the runtime receiver; calls the current injected listener with the runtime receiver; keeps optional reconciliation lazy after its callback is removed. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-14.spec.ts: lists them, so a paired client can mirror a migrated editor; closes one by retiring it from the host session; keeps an unsaved draft unless the close is forced; shares aggregate work but leaves a replacement pending promise alone; lets a targeted refresh finish while an aggregate refresh waits; refuses a close when the store lacks %s before the guard; keeps a later missing %s on the original caught failure path. Existing unrelated evidenceRuns retain their original scope; unchanged dated receipt objects do not validate changed source bytes or reduced selectors. No fresh gate execution or historical import-closure equivalence is claimed. Exact retired assertionRefs, preserved as historical objects only: {\n \"file\": \"src/renderer/src/runtime/files/watching/runtime-file-client-watch.test.ts\",\n \"assertions\": [\n \"terminal watcher error and setup failure evict the shared entry before retrying callbacks run\",\n \"an old stream end cannot evict the replacement stream, which still delivers to its listener\",\n \"two same-worktree listeners share a synthetic subscription until the final stop unsubscribes and sends unwatch\"\n ]\n } Historical prior account (preserved verbatim): Audit1973: Delete the standalone mocked watcher cleanup suite and its entire sole-file prospective command. Retire the removed file-command transport-abort alias; preserve the independent cancellation suite and final-overflow/error/end cleanup callback, and13 unrelated receipt objects. Whole original changed dated receipts are retired, never narrowed or transferred. This metadata review claims no fresh execution, equivalent replacement, provider/PTY, live remote/mobile, rendered, cross-platform, soak or measured-budget result. Historical prior account (preserved verbatim): Audit1931 (sources1928/1929): Partial runtime files-watch suite retains controlled Windows close-event waiting, shared-client survival, late physical-exit ownership/deadline cleanup and shutdown joining. Its combined Windows close/deadline/late-exit alias remains backed by unchanged callbacks. Retire native-error-close, pre-publication setup ownership and failed-delete rearm aliases; associated delegation, failure forwarding, removal routing and recovery examples are lost. These tests inject watch/subscription seams and do not observe an actual native watcher or physical process. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1925 (sources1922/1923): Partial runtime watcher-host suite loses mocked option/event/overflow/resubscription forwarding, supplied teardown-error propagation, aborted-signal/no-call and private ten-thousand-waiter-count inventories. Retire the 10,000-caller bound and failed-recovery-subscriber-ending assertion aliases. Keep same-root owner cancellation, pre-ready replacement, held root-close join, stale-generation recovery delivery and initial failed-root ownership mappings backed by retained real-host callbacks with injected subscription/error/physical-exit promises. No actual native watcher, process termination or resource bound was observed. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1683 retires changed-source assertion and execution scope without equivalent replacement coverage. Existing unchanged-selector receipts remain scoped to their original sources. Historical prior-source oracle: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Existing exact unchanged-selector receipts remain the only current execution evidence. Changed source selectors have no fresh execution result. Historical prior-source oracle account: Fill the global watcher-child reservation, require native desktop, paired-runtime, and WSL setup to retain typed transient capacity and retry after one serialized release, then cancel pending desktop and paired-client watches and require no retry. Hold one live anchor while aborting 10,000 callers at the capacity, quarantine-assignment, runtime-root, relay-setup, and SSH-registration layers; require exactly one explicit waiter and one base-promise reaction to remain, then zero after settlement. Hold an old relay unsubscribe, queue one same-root setup leader and one anchor, then abort 10,000 joiners; require every cancellation to settle before teardown releases, exactly one anchor waiter, and only one later physical install. Advance the former paired-web callback deadline while capacity remains full, require cancellation ownership to stay live, publish the server token before ready, and require files.unwatch to abort setup before a later slot release can install a native root. Reject the first ready-watch unwatch with a physical-exit promise, resolve that exit later, and require a fresh physical unwatch attempt, registry release, and exactly one stream end. Fill one healthy shared child with multiple roots, map a standard SSH repository's base, Git common directory, and worktree roots to one relay supervisor, then inject IPC disconnect-before-exit, queued and active cancellation, operations during termination, kill-without-exit, repeated unkillable generations, initial and recovery timeouts, and shard failure. During local and SSH deletion, attempt a late terminal spawn whose worktree identity and cwd name different roots, enumerate a non-prefix remote PTY by authoritative worktree ownership, withhold daemon/relay exit callbacks, make attach positively prove a concurrent-shutdown PID dead, and make the provider unavailable; require every acquired admission to roll back on rejection, dead-PID proof to settle physical exit before reaping, timeout to retain ownership, and Git/filesystem deletion never to start. Require bounded watcher process count, physical-exit settlement, healthy-root recovery, stale-generation rejection, overflow plus later events, and fail-closed destructive cleanup. Verify relay build hashes and remote install probes require both relay.js and relay-watcher.js. Launch the built relay with a real PTY and Parcel watch, kill only the watcher child, and require the same relay PID and PTY to answer before a replacement child delivers overflow and a post-crash event.", "commands": [ "pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-unsubscribe-timeout.test.ts --reporter=dot", "pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/filesystem/watchers/filesystem-watcher.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-native-capacity.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-child-registry.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-child-launch.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-process.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-supervisor-capacity.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-disconnect-termination.test.ts src/main/ipc/filesystem/watcher-process/runtime-watcher-pending-assignment.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-event-delivery.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-local-unsubscribe.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-wsl.test.ts src/main/ipc/worktrees-delete-pty-teardown.test.ts src/main/ipc/worktrees-orphan-directory-cleanup.test.ts src/main/ipc/worktrees-remove-preflight.test.ts src/main/workspaces/removal/watcher-removal-gate.test.ts src/main/runtime/files/watch/orca-runtime-files-watch.test.ts src/main/runtime/workspaces/removal/worktree-teardown.test.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/methods/files/files.test.ts src/main/runtime/rpc/methods/files/files-watch-cancellation.test.ts src/renderer/src/web/web-runtime-client.test.ts src/shared/cross-platform-path.test.ts src/shared/physical-exit-tracker.test.ts src/shared/promise-settlement-waiters.test.ts src/main/ipc/pty/pty-spawn-cwd-fallback.test.ts src/main/providers/local-pty/local-pty-provider-shutdown.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/daemon/pty-subprocess/testing/pty-subprocess.test.ts src/main/daemon/sessions/testing/session.test.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/daemon/terminal-host/testing/terminal-host-session-reaping-leak.test.ts --reporter=dot", @@ -13110,6 +12712,7 @@ "Add a packaged orca serve pairing scenario that proves a connected client refreshes after child replacement." ], "knownGaps": [ + "Launch direct-owner cleanup current scope: This gate’s unfiltered unit command now selects a suite reduced by 82 whole registrations / 159 potential table examples in 10 whole test Programs, including 8 registrations / 15 examples from five once-registered create-message factory closures. Lost alarms include frozen first-message/options and legacy-host fallback; distinct actions and redelivery; uncertain/refused/reloaded input custody, Retry and late proof; rich prompt/attachment upload Stop/close and handback; ordinary draft/editor/IME/StrictMode lifetime and accepted topology; provisional fallback tab placement/group/pin/order and rich worktree handoff. Four whole consent/resume-identity cases remain in two Programs; they do not replace these alarms. This entry governs current reduced-unit scope and qualifies any broader implication of unchanged oracle/coverageNotes history. Entire dated evidenceRuns, original commands/currentCommand values, counts/results and existing history retain their original scopes only; no fresh execution, transferred pass, replacement equivalence or prior upstream-removal credit is claimed.", "Audit2145 accepts removal of canned runtime metadata/guard/forwarding, fake in-memory persistence, private work-count and wrapper-duplication tests from the construction/orca-runtime.test.ts aggregate, plus the two automation run-context guards from runtime-workspace-launch-contracts.test.ts. Retained race, framing, physical completion and ownership callbacks remain byte-identical. Existing commands remain valid selectors; historical receipts stay unchanged and provide no fresh validation or replacement coverage for the reduced suites.", "Audit2133 current-parent preparation (988 authored removals; independently reviewed2099/2107/2115/2116 decisions; upstream clear-buffer and recovery-image regressions retained): Intentionally retire these low-value alarms without replacement: src/main/runtime/construction/orca-runtime.test.ts: remove only literal registration import/call pairs await import('../orca-runtime-tests/worktree-setup-and-startup.spec'), await import('../orca-runtime-tests/gitlab-and-pr-bases.spec'); no additional authored credit. src/main/runtime/orca-runtime-tests/targeting-and-resilience.spec.ts: routes tab switch and capture start by explicit page id; accepts focus on tab switch without altering bridge args (focus is main-side concern); keeps terminal cwd resolution fail-soft when the provider is unavailable. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts: drops the bounded scan cache when orphan-cleanup removal completes; clears optimistic reconcile tokens when a CLI worktree removal succeeds; emits drift without mutating when the fetched base fast-forwards created HEAD; emits base_changed without mutation when the fetched base rewrote history; skips stale-token reconciles without mutating or emitting stale status; emits unknown without mutation when fetch fails or the base ref is missing. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts: routes runtime preserved-branch force-delete through the selected WSL project runtime; replies to a waiting client with the error of a delete that fails after acceptance; treats forced runtime deletion of an already-missing unregistered worktree as cleanup; treats normal runtime deletion of an already-missing unregistered worktree as cleanup. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts: warns that a missing-repo removal only forgot the workspace; restores runtime watchers when CLI worktree deletion fails after teardown; does not re-spend the drain budget on a removal after a wedged install was abandoned; routes runtime worktree removal through the selected WSL project runtime; force-deletes a branch that was preserved by runtime worktree removal. src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases-part-02.spec.ts: records GitLab pasted-project recents only after successful runtime lookup; threads explicit origin preference through runtime WSL PR base resolution; resolves local GitLab fork MR bases from the target project MR head ref; captures the fork MR head from a dedicated ref, not the shared FETCH_HEAD; keeps the durable MR head when the head fetch fails but the local ref resolves; routes runtime GitLab fork MR base git calls through the selected WSL project runtime. src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases.spec.ts: passes SSH connection ids through GitLab task operations; routes runtime GitLab issue, MR, work-item, and todo actions through the selected WSL project runtime; routes runtime GitLab MR details, review-management, job, and pasted URL actions through the selected WSL project runtime; normalizes runtime GitLab issue list arguments like the desktop IPC path. src/main/runtime/orca-runtime-tests/worktree-setup-and-startup-part-03.spec.ts: does not warn when setup is explicitly skipped for CLI-created worktrees; puts the agent a create starts in the first default tab, as the window does; keeps the 8s main-runtime startup readiness budget for agents without an override; gives OpenCode the 20s main-runtime startup readiness budget; launches explicit startup agents with prompts for CLI-created worktrees. src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts: returns a setup launch payload for CLI-created worktrees when hooks are explicitly enabled; does not hand the window a setup main never tried to start; passes the selected Windows setup shell into runtime runner generation; follows normal setup policy for CLI-created worktrees without activating them; uses returned WSL setup shell metadata when runtime spawns setup; uses the shell-aware setup runner for windowless creates without a startup command; reports the in-process setup hook as running when nothing can launch the runner. src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-02.spec.ts: coalesces two clients sleeping the same host worktree; stops exactly the expected live PTYs for a worktree; explains a refused workspace close instead of throwing the raw refusal enum. src/main/runtime/orca-runtime-tests/mobile-summaries-part-03.spec.ts: marks the desktop-active worktree as isActive; includes SSH-backed worktrees in the mobile worktree summary; caches repeated malformed path misses before normalizing them again. src/main/runtime/orca-runtime-tests/mobile-summaries-part-02.spec.ts: keeps title-only foreground work ahead of monitoring in another pane; keeps a local hook row while a connected PTY still backs its pane; keeps an OSC row via its connected PTY after the pane binding is cleared. src/main/runtime/orca-runtime-tests/mobile-summaries.spec.ts: resolves files through a source-visible linked-checkout worktree; marks saved session tabs with live PTYs as host sidebar activity; attributes live legacy PTYs from saved layout bindings when their panes are hidden; marks saved browser tabs as host sidebar activity like desktop; falls back to the path-keyed GitHub cache entry; includes folder workspaces in compact worktree summaries for mobile; attaches inline agent rows from the latest OSC 9999 status; projects monitoring over a title-derived working status. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-03.spec.ts: pushes to an idle pane when the only live waiter filters out the message type; resolves a registered waiter without PTY-injecting when the leaf is already idle; keeps already-idle status after tui-idle wait for immediate message delivery; resolves message waiters when notifyMessageArrived is called; does not resolve type-filtered message waiters for unrelated message types; removes message waiter abort listeners after message arrival; resolves message waiters on timeout when no message arrives. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-02.spec.ts: delivers pending mail via notifyMessageArrived when the recipient is already idle; does not keep retrying when every pending row was already pointed; repoints pending rows restored with a live-idle coordinator. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-13.spec.ts: rolls back a half-created terminal whose surface never publishes. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts: rejects startup prompts for agents that require post-ready stdin; uses portable Unix quoting for mobile agent launch commands in WSL project runtimes; keeps PowerShell quoting for mobile agent launch commands in Windows host runtimes; uses cmd.exe quoting for mobile agent launch commands in local Windows host runtimes; publishes headless mobile session agent identity with synthesized PTY status; rejects disabled mobile session agent launches before spawning; validates mobile terminal insertion anchors before resolving agent launch commands. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-11.spec.ts: coalesces a reconnect close burst onto one authoritative PTY inventory; keeps an explicit user close destructive while the PTY is live; builds mobile session agent launch commands on the runtime host; injects mobile quick-command prompts into the host-built agent startup command. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-10.spec.ts: closes persisted headless terminal parents before any prior list call; tears down a serve-owned headless tab on close while a renderer is attached so it cannot resurrect; defers a renderer-published pending tab to the renderer instead of tearing it down; returns a delegated close outcome with no selection tombstone when the renderer owns the outcome; tears down a runtime pending shell the renderer never adopted on close. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-08.spec.ts: materializes a plain shell when the pending tab has no launch agent; hydrates legacy persisted terminal tabs without layout entries; reads and indexes the full agent-status snapshot once per mobile projection; kills persisted SSH PTYs when closing hydrated headless tabs before pane metadata is restored; materializes hydrated pending headless terminals with the persisted session identity. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-07.spec.ts: hydrates a persisted SSH-owned pane before an attached renderer publishes its graph. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-05.spec.ts: publishes the desktop's tab name over the live agent title, and the live title without one; uses fresh neutral PTY titles over stale mobile snapshot and OSC titles; operates PTY-backed mobile session terminals without a renderer graph; reuses pane close for live PTYs that do not own a renderer tab; lists PTY-backed mobile session terminals without a renderer graph; shows and resolves active PTY-backed mobile session terminals without a renderer graph. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-04.spec.ts: creates mobile session terminals for folder workspaces in a headless runtime server; spawns fresh headless SSH mobile session terminals instead of reattaching synthetic local ids; hydrates headless mobile session terminals from the host workspace session; keeps live headless mobile session terminals when a desktop renderer publishes without them; publishes laptop-created remote runtime split terminals to phone session tabs. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-02.spec.ts: does not report headless wake degradation without sleeping records; does not wake slept agents for non-mobile session-only activation; does not rewrite unread metadata when a mobile activation finds the worktree already read; returns unread:false from worktree.ps after a mobile activation clears the flag; materializes pending mobile session terminals without focusing desktop clients; closes browser mobile session tabs when addressed by browser workspace id. src/main/runtime/orca-runtime-tests/mobile-session-tabs.spec.ts: resolves mobile terminal surfaces by exact split leaf; closes the matching mobile terminal UUID leaf without closing the whole tab; closes the whole mobile terminal tab when addressed by parent tab id; activates the active split leaf when addressed by parent tab id; clears unread metadata on mobile worktree activation without focusing desktop clients; wakes slept agents on the host renderer when a phone activates a worktree. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-05.spec.ts: publishes the hook provider session on a headless mobile tab so native chat can address the transcript; recovers the agent type from the hook row when the pane was launched without an agent hint; reads one agent-status snapshot per projection, not one per terminal tab; waits for unknown-launch foreground owner before publishing Pi-compatible mobile status; keeps Pi-compatible mobile session status as Pi for an unknown-launch foreground pi PTY; keeps renderer-vetted mobile agent status for custom-titled terminals. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-04.spec.ts: publishes terminal surface agent status for paired web clients; preserves authoritative OMP identity for Pi-compatible remote terminal snapshots; normalizes a remote OMP title without republishing omitted launch identity; skips the foreground-process probe when the PTY launch agent is already known; probes the foreground process only on a status transition for unknown launch agents; passes the client signal and the slept-worktree refusal to the spawn. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts: does not use stale runtime-created PTY status when a neutral PTY title exists; recognizes runtime-created Codex PTY handles from the ready prompt; recognizes runtime-created Antigravity PTY handles from the ready prompt; recognizes live leaf Antigravity terminals from the ready prompt; recognizes a later Antigravity header with a prompt but no model line; keeps mobile terminal surfaces visible while their leaf handle is pending. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-02.spec.ts: lets Claude agents management titles clear stale runtime-created title status; does not recognize live Claude agents panes from a Claude foreground process; does not let stale tab-level agent titles override current neutral pane titles; lists live terminals with fresh pane titles over stale tab titles; lets adopted neutral pane titles use non-shell foreground fallback; lets adopted neutral pane titles retry wrapper foregrounds until recognized; authorizes settled CLI prompts only after positive %s foreground identity; does not recognize arbitrary foreground TUIs as running agents; lets live neutral pane titles retry wrapper foregrounds until recognized; lets current Claude agents PTY titles override stale runtime-created OSC titles; does not let stale Claude agents OSC titles suppress current PTY title activity. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status.spec.ts: keeps preallocated terminal handles valid across renderer reloads; preserves runtime-created PTY process identity after graph unavailable; keeps prompt bindings fenced across runtime restarts without provider incarnation; recognizes runtime-created PTY handles with agent launch titles; does not treat a bare Cursor Agent native title as a running agent session; uses stale runtime-created PTY status when there is no title or foreground evidence. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-07.spec.ts: keeps orphaned list and show writability aligned with the send gate. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-04.spec.ts: cancels a coalesced SSH worker recovery retry when its provider disconnects. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-03.spec.ts: retries renderer reveal before clearing an adopted legacy worker sleeping record. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-02.spec.ts: recovers exported ORCA_TERMINAL_HANDLE from discovered live PTY sessions. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-12.spec.ts: applies ANSI erase-from-start line controls in retained previews; applies ANSI stripping for private or intermediate CSI line controls; applies ANSI stripping for unsupported erase-line modes; reveals an agent terminal under the pane the caller reserved; keeps a fresh %s pane host-owned when a desktop window is available; keeps desktop publication %s separate from the reserved host spawn; mints its own pane when the reserved leaf is malformed, and reports the one it used; starts an agent terminal with the model the caller picked; starts an agent terminal without a model flag when no pick was made; attributes a startup-agent launch named %s as %s; attributes a fresh agent session the host builds as unknown; leaves a bare agent command the user typed out of launch attribution. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-11.spec.ts: trims oversized terminal output bursts without per-line array shifts; builds terminal previews without mapping the full retained tail; keeps recent PTY replay output capped without needing previous data for large chunks; applies terminal redraw controls before retaining previews; applies ANSI terminal redraw controls before retaining previews; retains multi-line ANSI footer redraws instead of appending old frames; keeps the cursor column when erasing full lines in multi-line redraws; applies ANSI split redraw controls without leaking raw params. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-10.spec.ts: returns renderer visible screen lines through terminal.read RPC JSON result; separates composer drafts from provider-owned terminal screens. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-09.spec.ts: reports an in-flight PTY focus as not navigated when its notifier disappears; reports graph-leaf focus as not navigated without a host notifier; grounds the provider mode tracker before a later chunk, in the emulator order; grounds an in-flight provider snapshot capture so it cannot publish the pre-reset screen; waits for terminal exit and resolves with the exit status; keeps terminal read payloads bounded while retained output remains pageable; trims terminal read preview character budget without per-line array shifts. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-08.spec.ts: submits a silent Claude composer once after the bounded render fallback; chunks large terminal.send text before provider writes; yields chunked terminal input through immediates between writes; yields while validating accepted large terminal.send text before provider writes; reveals a background terminal session when focusing its handle; replays captured launch config when focusing a background agent session; reveals background terminal sessions with the freshest PTY title; renames background terminal handles without requiring a visible tab; keeps a background terminal handle stable while reveal adoption is racing. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-07.spec.ts: resolves tui-idle when a stale Codex prompt is followed by Antigravity readiness; returns an agent-neutral blocked wait result for update prompts; returns an agent-neutral blocked wait result for workspace trust prompts; returns an agent-neutral blocked wait result for cwd selection prompts; returns a blocked wait result for Codex model migration prompts; returns a blocked wait result for Codex startup hook review prompts; returns an agent-neutral blocked wait result for generic interactive prompts; splits text and enter writes for background terminal handles; types the lead line for %s: %s; submits through the agent-specific PTY timing policy for %s. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-06.spec.ts: waits for exit on background terminal handles; keeps retained PTY transcript memory when controller refresh fails; resolves tui-idle from an Antigravity ready prompt preview; resolves Antigravity ready prompts with newline-heavy pasted tails without splitting; resolves live-leaf tui-idle from an Antigravity ready prompt preview. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-03.spec.ts: spawns the available Qoder command for a captured same-session resume: %s; does not use the local Windows shell setting for remote Windows bare agent creates; matches canonical bare agent commands when a command override is configured; keeps non-bare agent command terminal creates unchanged; keeps disabled bare agent command terminal creates unchanged; injects runtime hook receiver env into terminal sessions; creates background terminal sessions for a $label; creates background terminal sessions for a $label; enables Claude Agent Teams only for direct Claude launches when configured in-process; reveals Claude Agent Teams launches with the rewritten launch config; preserves Claude Agent Teams for sequenced Claude launches. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness.spec.ts: creates visible terminal sessions without asking the renderer to focus a tab; asks the pty controller for the requested shell instead of a startup command; knows the agent a flagged launch command names before any process read; retires a flagged command pane identity when the command exits; retires only receipted restored PTY authority on command completion and exit; forgets synthetic handles when disconnected PTY records are pruned. src/main/runtime/orca-runtime-tests/headless-snapshots.spec.ts: returns OSC titles from headless main terminal snapshots; adopts renderer-seeded titles into headless main terminal snapshots; returns cwd metadata from seeded headless main terminal snapshots; adopts OSC7 host metadata from seeded headless terminal scrollback; falls back to the renderer snapshot for hidden-output recovery without headless state; keeps an empty headless snapshot authoritative for hidden-output recovery; advances the absolute output sequence across a daemon stream gap; emits explicit OSC 9999 agent status from runtime PTY data. src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-02.spec.ts: falls back to the provider snapshot for a restored PTY with no mounted renderer; falls back to the available mirror when authoritative provider history is unavailable; keeps an empty renderer snapshot when the provider has no retained content; keeps restored provider history authoritative after later live output; uses provider alternate-screen state while a partial model is unsafe; prefers the tracked title over the headless emulator lastTitle; keeps the cursor-agent literal in record-fallback snapshots only without a tracker title; touches mobile snapshots once for decorative spinner ticks, again on idle. src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts: creates a same-repo PR branch override from a resolved head SHA and matching push target; skips broad remote fetch for an existing full-SHA PR base; creates a selected Bitbucket PR branch override from a matching remote branch; suffixes an existing PR when a matching push target lacks selected PR metadata; suffixes a matching push target branch when selected PR metadata has no PR number; suffixes a matching push target branch when the existing PR is different; suffixes a selected PR remote conflict when the PR lookup fails; checks out an unused runtime PR branch only when it is at the resolved head SHA; suffixes only the runtime worktree path when an exact PR branch checkout path exists. src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts: returns runtime local base update suggestions from addWorktree; creates a runtime local worktree from a usable persisted local branch base; does not create a runtime local worktree when the refresh fails and no local base ref exists; creates a branchNameOverride worktree from the selected matching remote base ref. src/main/persistence/worktree-sort-order-write.test.ts: re-ranks every writable row when a blocked row sits in the requested order. src/main/runtime/integrations/skill/orca-runtime-skill-recovery.test.ts: continues skill management after startup recovery fails. src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-detached-routing.spec.ts: uses bounded ownership lookup for direct arrivals while the agent cannot take input; wakes a bound Run waiter when same-Run direct mail arrives; keeps an unowned detached-recipient message in its direct mailbox; uses primary-key lookups for bounded routing updates. src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-delivery.test.ts: remove only literal registration import/call pairs import './orchestration-mailbox-pointer-cli-command.spec'; no additional authored credit. src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-pointer-cli-command.spec.ts: renders the %s CLI command in a mailbox pointer. src/main/runtime/rpc/methods/terminal/terminal-multiplex-link-estimate.test.ts: sizes a slow high-latency link near twice its bandwidth-delay product; never paces a LAN, even when its client parses slowly; never paces a fast link; returns to legacy windows when the path RTT jumps. src/main/runtime/rpc/methods/terminal/terminal-snapshot-scrollback-rows.test.ts: steps down the row ladder when history is over the byte budget; tries the larger first row count, then the usual ladder within the same byte budget. src/main/runtime/rpc/server/pairing/network/windows-default-route-interfaces.test.ts: returns unknown when route inspection fails or emits malformed data; does not inspect routes outside Windows. src/main/runtime/rpc/server/pairing/pairing-offer-owner-cli.test.ts: is refused to a paired %s client; reports a failed widening instead of advertising an unreachable address. src/main/runtime/rpc/terminal-multiplex-end-verdict.test.ts: reports exited only when the owning runtime completes the exit waiter; reports unverifiable when the runtime cannot observe the exit waiter; reports unverifiable when a disconnected PTY resolves with unknown liveness. src/main/runtime/session-graph/headless-runtime-graph.spec.ts: lets a session tab inventory settle on a host no renderer publishes for. src/main/runtime/session-graph/runtime-graph-standing-contracts.test.ts: remove only literal registration import/call pairs import { registerHeadlessRuntimeGraphTests } from './headless-runtime-graph.spec', registerHeadlessRuntimeGraphTests(); no additional authored credit. src/main/runtime/session-tabs/structured-conversation-tab-title.test.ts: bumps the stored snapshot version only when the title changes. src/main/runtime/session-tabs/terminal-close-observed-exit.test.ts: keeps the healthy aggregate verification and delayed physical exit behavior; uses a stamped exit for the incarnation that was actually being closed. src/main/runtime/terminal/identity/terminal-identity-probe.test.ts: answers live for a structured worker without touching the PTY graph; answers live for a PTY handle the runtime still holds; runs the full leaf check for a handle with no live PTY; answers not-live for a stale handle; propagates \"could not look\" rather than reporting it as a dead handle. src/main/runtime/terminal/layout/paired-desktop-server-writes-layout-owner.test.ts: names the tab in main’s layout through terminal.rename; takes a window-style layout.apply close as already stopped, so the terminal runs on. src/main/runtime/terminal/lifecycle/pty-lifecycle-generation-retention.test.ts: retains no lifecycle generation after a spawn/exit cycle. src/main/runtime/terminal/lifecycle/run-terminal-user-open.test.ts: reads a freshly spawned terminal as used once a user opens its tab, not on a probe; keeps the open mark on the process a user open starts. src/main/runtime/terminal/surface/terminal-surface-replies-window.test.ts: from a desktop window that mounts both panes; from a server with no window. src/main/runtime/terminal/surface/workspace-layout-projection.test.ts: carries views for a partition that holds none yet. src/main/runtime/terminal/view/terminal-subscribe-exit-waiter-leak.test.ts: releases a signalled exit-waiter when the signal aborts. src/main/runtime/terminal/wait/orca-runtime-exact-worker-provider-session.test.ts: selects a local hook status for a local pane. src/main/runtime/terminal/wait/prime-agent-screen-readiness-transcripts.test.ts: keeps the footer and the bare caret on screen mid-turn; %s: the screen alone reads ready during %s. src/main/runtime/workspaces/startup/runtime-worktree-agent-startup.test.ts: uses per-launch arguments and preserves launch telemetry; attributes a startup agent whose caller named no surface as unknown; launches %s bare for an absent or blank prompt; attributes a %s draft launch named %s as %s; merges an automation's extras over the host defaults; threads worktree-create extras into the startup build; returns an enabled requested agent without detecting; returns the default when nothing was requested; detects instead of using the default when the requested agent is disabled; starts no agent when the default is blank; detects an enabled agent on this host when nothing usable was named; starts no agent when detection finds none. src/main/runtime/workspaces/startup/runtime-worktree-startup-readiness.test.ts: pastes and submits through composer readiness, never typing raw input; types the follow-up on WSL or SSH-to-Windows once the agent is in front, as before; cleans up the deadline when the composer was already captured; a draft that is not submitted is pasted on the box cursor, as before; takes the box after the grace when the row never comes, whatever repaints; takes the box at the deadline when the grace would outlast the budget; lets a dialog on screen veto a grace; refuses the deadline inside a pending grace while a shell is in front; takes the box at the deadline inside a pending grace with the agent in front; takes the box at the deadline after a refused grace once the agent is in front. src/main/skills/skill-install-transaction.test.ts: installs, previews unchanged bytes, and updates a clean receipt-owned skill; preserves the old version after a %s filesystem failure. src/main/speech/model-manager-download-resume.test.ts: requests the remaining bytes when a clean range response ends before the file total; bounds a server that advances by pathologically tiny segments forever. src/main/ssh/config/ssh-config-parser.test.ts: parses a basic host block; parses multiple host blocks; skips wildcard-only Host entries; skips Host entries with only pattern characters; parses IdentityFile with ~ expansion; parses Windows-style IdentityFile with ~ expansion; parses quoted scalar values like OpenSSH; parses equals-form scalar directives; parses IdentityAgent with ~ expansion; parses IdentitiesOnly; parses GSSAPIAuthentication; keeps the first GSSAPIAuthentication value like OpenSSH; parses ProxyCommand, ProxyUseFdpass, and ProxyJump; ignores comments and blank lines; handles case-insensitive keywords; stops current block on Match directive; returns empty array for empty input; creates one parsed host per concrete alias on a multi-pattern Host line; applies identity agent settings to every concrete alias on a multi-pattern Host line; defaults port to 22 for invalid port values; converts hosts to SshTarget objects; uses host alias as hostname when HostName is missing; skips hosts that are already imported; defaults username to empty string when not specified; carries through identityFile, identityAgent, identitiesOnly, proxyCommand, and jumpHost; carries through gssapiAuthentication; imports duplicate aliases only once and keeps the first concrete host; maps hosts for the picker and flags aliases already in Orca; de-dupes aliases and defaults missing fields; parses hostname, user, port from ssh -G output; collects multiple identity files; parses forwardagent yes; defaults port to 22 when missing; returns empty hostname when missing; returns undefined user when missing; handles empty output; skips lines without spaces; parses proxycommand and filters \"none\"; parses proxyusefdpass yes; parses proxyjump and filters \"none\"; handles ~ expansion in identity file paths; handles Windows-style ~ expansion in identity file paths; parses identityagent with ~ expansion; preserves identityagent none so auth can disable agent fallback; parses identitiesonly yes; parses gssapiauthentication; parses controlmaster options and filters controlpath none. src/main/ssh/config/ssh-known-hosts-source.test.ts: splits the space-separated list ssh -G prints on one line; expands ~ in a reported path; keeps a double-quoted path containing spaces whole; falls back to the default files when ssh -G reported nothing; drops an explicit none without falling back to the defaults; splits both known_hosts lists on one line each; reads StrictHostKeyChecking, including accept-new; reads HostKeyAlias and prefers it for the lookup; reads the non-default port; reports that the lookup came from an alias, so the port is not appended; reports no alias when the dialed host is used; unions the entries of every file; skips a path that is a directory; returns nothing when no file can be read; reports nothing unreadable when every file parses; does not count an empty file as unreadable; prefers HostKeyAlias over the resolved hostname; uses the dialed host, because a resolved hostname can just echo the label; still prefers an explicit HostKeyAlias over the dialed host; falls back to the dialed host when nothing was resolved; is rejoined when the split fragments resolve to nothing; leaves a single unresolvable path alone rather than inventing one; expands the __PROGRAMDATA__ token rather than passing it through as a path; does not rewrite a path that merely BEGINS with the token characters; keeps a drive-letter path with mixed separators intact; splits a spaced Windows home into the fragments the rejoin has to put back. src/main/ssh/config/ssh-known-hosts.test.ts: reads the algorithm from the blob rather than trusting the line; rejects %s; refuses a malformed blob: %s; uses the bare host on the default port; tries the bracketed form first and falls back to bare off-port; matches an exact line; matches case-insensitively; reports a changed key of the same type; reports unknown for %s; matches any host in a comma list; matches the bracketed form on its port; does not apply a bracketed entry to the default port; falls back to a bare line when off-port; never reports a change from the fallback pass; matches a bare literal on the default port; matches a bracketed literal on its port; reports a change for a literal; handles %s; still reports a change for a different key on a revoked host; skips a line carrying an unrecognised marker; does not report a change when only another key type is on file; matches within the same type; accepts CRLF terminators; skips blanks, comments and surrounding whitespace; accepts a hit regardless of which file holds it (%s); never brackets the alias, whatever the port; still brackets an ordinary host on a non-default port; matches a bare alias entry on a non-default port; still accepts the unmodified key field; accepts a hashed entry whose salt is a full SHA1 digest; still accepts the unmutated ssh-keygen -H vector; falls back to the bare host line on a non-default port, as ssh did; refuses a key type it has not seen for a host it knows, as ssh did. src/main/ssh/connection/ssh-connect-config.test.ts: returns undefined when no default keys exist; returns the first existing key file; probes regular and FIDO2 keys in stable default order; keeps a regular default ahead of a malformed FIDO2 default; uses target host/port/username; falls back to resolved config when target fields are empty; keeps imported endpoint fields as the fallback when ssh -G is unavailable; sets readyTimeout to CONNECT_TIMEOUT_MS; sets keepaliveInterval to 15s; enables keyboard-interactive auth so MFA challenges can be answered; uses agent auth when no explicit key and SSH_AUTH_SOCK is set; enables agent forwarding when OpenSSH config requests it and an agent is available; does not enable agent forwarding without a usable agent; resolves IdentityAgent SSH_AUTH_SOCK from the environment; uses the Windows OpenSSH agent pipe when no environment socket is available on Windows; wraps agent auth with IdentityFile filtering when IdentitiesOnly is enabled; applies a manual target IdentitiesOnly setting when ssh -G reports it off; includes unencrypted target.identityFile auth when an agent is available; defers encrypted target.identityFile auth when an agent is available; uses keyFile auth when target.identityFile is set and no agent is available; includes unencrypted resolved identityFile auth when an agent is available; defers a default-path resolved identityFile to the no-agent retry; offers the keyboard-interactive challenge when the agent defers no key; provides fallback key when no agent is available; can force private key inclusion for the post-agent fallback path; falls back to resolved proxyCommand; returns structured jump-host config for target.jumpHost; returns structured jump-host config for resolved proxyJump; returns undefined when no proxy is configured. src/main/ssh/connection/ssh-connection-auth-fallback.test.ts: resolves OpenSSH config using configHost when present; tries ssh-agent before reading an explicit private key; falls back to direct private key auth when agent auth fails; falls back to direct private key auth after too many agent authentication failures; answers bounded keyboard-interactive challenges such as Duo 2FA. src/main/ssh/connection/ssh-connection-store.test.ts: lists picker suppression aliases without consulting re-adoption tombstones; getTarget delegates to store; addTarget generates an id and persists; saves the CLI control switch as given, with no consent stamp; addTarget stamps source as manual by default; addTarget preserves an explicitly provided source; inserts a new config host stamped as ssh-config; asks the parser for all hosts — reconciliation happens in the store; updates an existing config-sourced target when the port changed; refreshes gssapiAuthentication on sync; never overwrites a manual target that owns the alias; does not rewrite an unchanged config-sourced target; returns empty array when nothing changed; tombstones a deleted config-sourced host so re-import skips it; suppresses a deleted manual target from config discovery; re-adding a deleted host reclaims its alias so sync stops suppressing it; editing a target reclaims its alias from the deleted set; records a tombstone when removing any user-facing target; re-adopts orphaned repos when the same host is re-added. src/main/ssh/connection/ssh-connection.test.ts: transitions to connected on successful connect; captures the negotiated SSH server key fingerprint; allows concurrent exec commands for ssh2 transport; removes startup listeners after ssh2 connect succeeds; scopes lifecycle events and pending handshake timers to one mock client; enables TCP_NODELAY on the new ssh2 client after a reconnect cycle; transitions through connecting → connected states; reports error state on connection failure; disconnect cleans up and sets state to disconnected; getTarget returns a copy of the target; getState returns a copy of the state; throws when connecting a disposed connection. src/main/ssh/orcad-migration-stuck-host-profiles.test.ts: never leaves a running terminal behind; is offered only when leaving saved state behind would clear the refusal. src/main/ssh/orcad-runtime-maintenance.test.ts: keeps a connect from retrying a build an explicit Update also failed; offers Force when Update was refused by policy; forwards anew after an activation, since the new slot may bind another port; passes a refusal through and leaves the server linked; forwards anew once a serving slot is restored, which may have bound another port. src/main/ssh/port-forwarding/ssh-port-forward.test.ts: reports the port the OS bound when an ssh2 forward asks for port 0; adds an ssh2 port forward and returns entry; adds a system SSH port forward when no ssh2 client is available; reports the port a system SSH forward resolved when asked for port 0; passes resolved OpenSSH config to system SSH port forwards; disposes a system SSH tunnel when removing the forward; lists forwards filtered by connectionId; removes a forward by id; awaits forward close when removing a forward for user actions; returns null when removing nonexistent forward; removes all forwards for a connection; dispose removes all forwards; stores label in the entry; preserves the existing id when updating a forward succeeds. src/main/ssh/ssh-channel-multiplexer.test.ts: sends a JSON-RPC request and resolves on response; assigns unique request IDs; sends notifications without expecting a response; dispatches incoming notifications to handler; sends one keepalive frame per cadence tick; drives keepalive sends AND dead-link detection from a single interval; resolves false immediately on a disposed mux; throws on request after dispose; reports isDisposed correctly; clears registered handlers on dispose; does not retain handlers registered after dispose. src/main/ssh/system-transport/system-ssh-forward-process.test.ts: spawns exactly the argv the orphan matcher is given, LogLevel=INFO included; runs port forwards unmultiplexed even when ssh_config disables muxing; preserves manual target port and identity options in the forwarded ssh command; does not spawn ssh when the requested local forward port is already in use; spawns ssh after the requested local forward port preflight succeeds; resolves startup after the grace period when ssh keeps running; sends SIGTERM then SIGKILL when the process does not exit; does not resolve stop until the process exits. src/main/ssh/system-transport/system-ssh-loopback-route.test.ts: dials the held forward ahead of the alias so OpenSSH keeps these over ssh_config; drops a manual target's own port and proxies, which would fight the route; never routes a forward, whose argv must stay stable for orphan recovery; %s → %s; opens the forward over the real proxy, then proves a login over the route; lands the forward on the sshd and known_hosts name the direct route resolved; holds the forward with server-alive probes; never lets the background forward or probe ask for credentials; starts no forward when admission refuses the route; stops the forward when sshd refuses logins over it; stops the whole forward process tree on Windows, once; reports a forward that already exited before anyone listened for it. src/main/startup/browser-process-user-agent-ordering.test.ts: explains admission refusal before a desktop launch exits; explains an orcad holding the profile instead of exiting silently; does not acquire profile admission for a duplicate launch; executes after the dev app name and before later preflight work; exits and releases admission after pending profile move recovery fails; keeps Linux background startup failures console-only and immediate; keeps Linux serve startup failures console-only and immediate. src/main/startup/quit/quit-path-durable-write-blocking.test.ts: store.flushAsync() issues no synchronous fs syscalls; store.flushAsync() also moves the active-view and github-cache sidecars off the thread; stats.flushAsync() issues no synchronous fs syscalls; Grok session cleanup issues no synchronous fs syscalls; stats.flushAsync() closes out live agents before it returns, not when its write lands; a stalled mount leaves the event loop live instead of parking it; store.flushAsync() is one idempotent final barrier; store.flushAsync() resolves instead of throwing when the profile mount rejects writes. src/main/stats/agent-session-transition-recorder.test.ts: counts a hook-only agent that never writes an agent-shaped terminal title; never opens a session from a replayed or disk-restored working status; still closes a live session when the terminating status arrives as a replay; counts one session per turn across repeated working/done cycles; closes an open session when its pane is torn down; bounds the mirror and closes what it evicts; stops the session when the main agent settles and only a watch loop holds the row working; keeps the session open while a subagent outlives the main agent, and closes it when the child settles; dates the stop by the evidence when a shell outlives the last subagent; opens a new session dated by the observation when the main agent resumes after monitoring; never dates a reopen before the close a fact-less OSC repaint caused; dates the first live row after a restored one by the evidence, not the restored clock; treats an unchanged answer as a snapshot, never a transition; opens only on a live working edge; closes only a session it opened. src/main/text-generation/commit-message-text-generation-model-discovery.test.ts: returns static catalog models without spawning for static agents; discovers dynamic models through the agent CLI; discovers dynamic models through the configured agent command override; falls back to static models when dynamic discovery returns no parseable models; falls back to the first discovered non-Pi model when its static default is unavailable. src/main/text-generation/pull-request-context.test.ts: does not fetch unrelated fork remotes before generating PR context; bounds exact remote-ref probe concurrency for a large remote list; reports no branch change because PR context preparation is read-only; keeps a remote-qualified base when the selected base includes the remote. src/main/text-generation/source-control-local-process.test.ts: asks the supervisor to stop and leaves its group to it; signals nothing once the supervisor has exited; stops an agent that ignores its stdin end through its supervisor. src/main/updater/linux-package/linux-package-update-recovery.test.ts: retains the downloaded package with the digest from the event metadata; requires a string downloaded path; accepts an uppercase extension; requires a non-empty string version; matches an absolute file URL by basename; accepts duplicate entries that agree on the digest; refuses an entry with a missing or non-string digest; refuses a digest that is not base64 at all; refuses a malformed percent-encoded URL; refuses a missing or non-array file list; tolerates a non-object event; replaces the retained artifact with a newer download; keeps the retained artifact when a new download has no usable digest; keeps the retained artifact when an unrelated download event arrives; clears the retained artifact; preserves the artifact across a recheck of the same version; clears the artifact when another version takes over; preserves the artifact for an unknown or empty version; is a no-op without a retained artifact; returns the built command and package file name for a verified package; reports missing without a retained artifact; propagates a package-manager discovery failure; rejects a well-formed digest that belongs to another file; never hashes a package that a malformed digest failed to arm; rejects a path outside the cache root; rejects the cache root itself; rejects a package in the updater directory itself; rejects a pending directory that is a symlink out of the cache; performs one hash pass for concurrent requests; revalidates once the in-flight pass settles; does not reuse an in-flight pass for a different artifact; starts a fresh proof when the same package is captured again; returns the verified package path; returns missing without a retained artifact. src/main/updater/releases/updater-prerelease-feed-readiness.test.ts: accepts a GitHub %s asset redirect as ready; reports a GitHub asset request error as unavailable; reports not-ready with a verified last-good tag when the newest assets are unavailable; does not classify a non-positive tag limit as feed unavailability; reproduces the v1.4.142 publishing incident as not-ready; reports transport failures as unavailable instead of not-ready; treats an explicit asset 404 as not-ready when another asset is unavailable; accepts absolute manifest asset URLs without rewriting them to release asset paths; returns not-ready with an older ready update as last-good while newest is publishing. src/main/updater/releases/updater-release-builds.test.ts: lists hourly builds from the dedicated repo, newest first; lists daily builds from the dedicated repo, newest first; separates stable from rc in the shared main repo; skips drafts and unparseable tags; keeps a composed release title and drops one that repeats the tag; hides builds that published no artifact for this platform; returns an empty list when no build has this platform artifact; keeps mac builds visible on macOS regardless of the Windows leg; resolves the platform installer download url; leaves the installer url null when the release published no installer; tolerates a release whose assets are missing or malformed; sends the local gh token as a bearer header when one is available; sends no authorization header when gh has no token; retries unauthenticated once when GitHub rejects the token; does not retry a 401 that was already unauthenticated; falls back to the per-IP bucket when the token is rate limited and tells the gh breaker; reports a secondary limit carrying retry-after without retrying or tripping the breaker; records a primary limit in the token scope %s; keeps %s authenticated when only %s is blocked; skips the token while its scope %s is blocked; surfaces a rate limit with its reset time and a sign-in hint when unauthenticated; omits the sign-in hint when the rate-limited request was authenticated; treats 429 as a rate limit; reports a 403 without rate-limit headers as a plain HTTP error; reports a missing hourly repo distinctly; is null when GitHub sent no reset; prefers retry-after over the primary reset epoch; falls back to the primary reset epoch when there is no retry-after; reads retry-after as seconds; reads retry-after as an HTTP date; pins an hourly tag at the hourly repo download path; pins a daily tag at the daily repo download path; pins a stable tag at the main repo download path; rejects a tag that is not a version. src/main/updater/updater.build-channel-selection.test.ts: uses the display label in the unsupported-platform %s pinned-build error; still pins %s from an unsigned Windows dev build; restores ordinary release checks after local build selection fails; opts into the RC channel when checkForUpdatesFromMenu is called with includePrerelease; pins the generic feed to a perf-tagged prerelease when requested; surfaces no-update feedback when no newer perf-tagged prerelease exists; keeps prerelease publishing-window misses on the generic retry path; leaves the feed URL alone for a normal user-initiated check. src/main/updater/updater.check-preflight.test.ts: ignores a stale update-not-available event after a new check starts preflight; deduplicates repeated manual checks while the immediate checking status is active. src/main/updater/updater.prerelease-fallback.test.ts: retries a prerelease check once against the previous feed tag when the manifest is missing; surfaces a promise-only prerelease fallback failure after the primary error event. src/main/updater/updater.publishing-window-feed.test.ts: repins the generic feed to the newest RC tag for a prerelease user; repins the generic feed to a newer stable tag for a prerelease user; pins a stable fallback when Atom has no newer prerelease; uses last-good concrete feed when a user-initiated check lands during publishing; can offer an older fully published update while the newest release is publishing; keeps background publishing-window fallback on the short retry cadence. src/main/updater/updater.quit-and-install.test.ts: surfaces an accepted retry before electron-updater emits download progress; defers quitAndInstall and runs its launcher within the launch PATH scope; runs pre-quit cleanup before local PTY cleanup during update install; keeps optional pre-quit cleanup fail-and-continue behavior by default; ignores duplicate quitAndInstall requests while the shared delay is pending; arms the forced-exit watchdog once the install commits; disarms the forced-exit watchdog when sync install error recovery keeps the app open. src/main/window/createMainWindow-markdown-editor-focus.test.ts: ignores traffic light sync IPC on non-macOS; still intercepts Cmd+Shift+B and Cmd+Alt+B when the markdown editor is focused; coerces non-boolean setMarkdownEditorFocused payloads to false; opens a table-aware context menu synchronously without a renderer query; builds the plain edit menu for the one right-click the renderer marks as plain text. src/main/window/createMainWindow-renderer-crash-recovery.test.ts: notifies the caller when the renderer process is gone; passes the renderer webContents id through crash recording and recovery callbacks; forwards expected renderer teardowns so the recorder can diagnose suppression; reloads the app shell after an unexpected renderer process loss; does not reload after renderer loss when recovery is disabled; stops auto-reloading after a rapid renderer crash loop trips the breaker. src/main/window/dashboard-popout-window.test.ts: updates the title after language initialization and unsubscribes when closed; lets its preload expose saved WSL hosts in serve-only, and passes nothing otherwise; creates a native-frame window with the shared preload and no webview surface; shows the window on ready-to-show; loads the prod file entry; loads the dev server URL when in dev; focuses the existing window instead of creating a second one; trusts only the live popout webContents; restores a minimized window when re-requested; restores valid persisted bounds; discards off-screen persisted bounds and falls back to defaults; persists bounds on resize after the debounce, guarding near-minimum sizes; keeps saving bounds after a vetoed quit and freezes them only on an allowed quit; closeDashboardPopout closes an open window; applies the persisted app zoom level on dom-ready; follows app zoom changes while open and unsubscribes on close; zoomDashboardPopoutIfFocused steps the popout zoom only while focused; handles the zoom-in chord via before-input-event and ignores other keys; handles mouse-wheel zoom requests outside before-input-event; respects zoom keybinding overrides for keyboard and mouse-wheel paths. src/main/window/dropped-path-preparation.test.ts: opens and stores each unique source once as drop size grows tenfold; passes ordinary paths without copying for %s; preserves ordinary successes and copied successes when another file fails; serializes copy requests from different owners; reports all lost paths without a shared reason when their failures differ. src/main/window/main-window-updater-deferred-setup.test.ts: releases all 64 completed fallback handles without repeating initialization; keeps setup after ready-to-show and releases its fallback afterward; preserves the 15-second fallback when first paint never arrives; preserves destroyed-window guard reads before and at the fallback deadline; keeps the exact %s error and releases its completed fallback; keeps the exact fallback %s error without retrying initialization; preserves pending manual setup after failed ready registration; keeps setup options, live store reads, nudge writes and required quit flush. src/main/worker-threads/worker-thread-request-queue.test.ts: posts one request at a time and in the order it was dispatched; fires a posted call at its own deadline; stops respawning and fails the rest of the queue once deaths hit the cap; clears the death count when a fresh burst starts from full idle. src/main/workspace-hooks/hooks-setup-runner-script.test.ts: builds Windows runners for newline-heavy scripts without line-array splitting; builds POSIX runners without regex-wide CRLF normalization; writes POSIX setup runners for shebang-declared scripts on native Windows paths; keeps batch setup scripts on cmd.exe when the terminal is Git Bash; hands a Git Bash pane a launch command MSYS cannot rewrite for a cmd runner; replays interpreter flags declared on the shebang line; preserves cmd.exe setup runner semantics for configured cmd users; keeps POSIX runner behavior on POSIX platforms; waits when either local or project policy requires completed setup; marks setup-runner terminals for the always-on credential guard; maps git-bash to POSIX setup launch metadata on Windows; falls back to the cmd runner when the git-bash setting has no installed Git Bash; keeps the cmd runner for a non-Git bash such as Cygwin; keeps the cmd runner for a bare bash whose flavor cannot be resolved; uses the POSIX runner for a bare bash that resolves to Git Bash; uses the POSIX runner for an extension-less Git Bash path; preserves the existing cmd runner for PowerShell terminals; preserves cmd setup compatibility when a Windows-host project has a WSL shell setting; classifies an installed explicit Git Bash executable as a POSIX runner; falls back to the cmd runner when the explicit Git Bash path no longer exists. src/main/workspaces/catalog/repo-git-remote-identity-enrichment.test.ts: schedules remote identity enrichment without blocking the caller; probes a drive project whose runtime is WSL %s; sweeps a local repo: %s; probes an SSH row that carries only executionHostId on its own host; keeps same-path rows on two different SSH hosts from sharing one backoff; coalesces concurrent probes for the same repo location; caches no-identity probes briefly so list calls do not retry every time; does not rewrite the no-remote marker on a later retry; resolves a settled no-remote repo once it gains a remote; does not re-probe a resolved identity before the refresh window elapses; re-probes a resolved identity after the refresh window elapses; bounds re-probes per sweep so a large repo list drains gradually; forgets a removed repo location so its deadline cannot outlive the repo; keeps a surviving repo backoff when a sibling repo is removed; probes again when the same location is re-added after its probe was retired; coalesces concurrent sweeps instead of running one pass per list call. src/main/workspaces/creation/preparation/worktree-create-preparation.test.ts: preserves create priority through claim probes on %s; starts the checkout only once the async workspace root resolves; still deduplicates when both callers await the same pending root lookup; namespaces native Windows preparation directories for long paths; deduplicates preparation for the same repo, base, runtime, and workspace root; does not spend a divergence walk when the base matches exactly; claims when the two sides spell the same ref differently; evicts a repo's own stale preparation before another repo's; still discards armed checkouts when the project runtime needs repair; routes preparation and finalization through the selected WSL runtime; retries stale cleanup after a transient listing failure; does not discard a detached worktree with caller-controlled preparation metadata; does not re-arm after an isolated create; re-arms a preparation once creates arrive in a burst; holds the re-arm checkout until the create runs the deferred thunk; starts one explicit prefetch after the create completes; does not re-arm when finalization failed; reports a pending create while a stale-cleanup scan is running. src/main/workspaces/removal/local-worktree-removal-recovery.test.ts: recovers Git for Windows partial filesystem deletion failures; finishes a clean non-force deletion after Git leaves a Windows directory behind; recovers localized Windows failures after Git already removed the registration; does not recover unrelated localized failures while Git still owns the row; finishes a macOS deletion Git deregistered before failing with Directory not empty; leaves an orphaned checkout to the orphan cleanup instead of deleting it; prunes and strictly verifies on the selected WSL host without deleting files or branches. src/main/workspaces/removal/worktree-removal-safety.test.ts: rejects deleting a worktree that contains another registered worktree; rejects POSIX home directories even when host homedir has a different path shape; refuses a home the host reported even when no path rule recognises it; refuses the Windows host's home directory from a POSIX client; refuses the Windows host's home directory even when the host reported nothing. src/main/wsl/discovery/distro-catalog.test.ts: retries asynchronous discovery after a transient wsl.exe failure; retries synchronous discovery after a transient wsl.exe failure; retries asynchronous discovery after wsl.exe reports no distros yet; retries synchronous discovery after wsl.exe reports no distros yet; bounds the wsl.exe spawn rate while no distros are installed; bounds the asynchronous spawn rate while no distros are installed; still caches a non-empty distro list for the process lifetime; re-probes a docker-desktop-only machine once a user distro can appear; backs off while the list keeps coming back empty; backs off after repeated distro-list failures; caps the empty-list backoff at five minutes; keeps reporting an empty result after it goes stale; keeps reporting a known distro list indefinitely; bounds cached homes while retaining the most recently used distros; still lists distros, and an excluded distro home probe fails like any other probe; gives the async home probe time for a cold boot instead of killing it at 5 s; retries availability after a probe timeout instead of latching false; bounds the probe rate while the failure window is open; caches a successful probe for the process lifetime; names an explicit spawn directory, so no deleted cwd can read as ENOENT; shares one wsl.exe spawn between concurrent probes; keeps reporting the last observed answer after it goes stale; holds a definitive failure far longer than a timeout when %s; backs off after repeated probe failures; re-probes a seeded retryable failure once its window lapses; re-probes availability once a distro list succeeds after %s; does not drop an availability failure for an empty distro list; keeps reporting unavailable off Windows without probing. src/main/wsl/discovery/wsl-distro-holder.test.ts: runs a busybox-safe loop through --exec and names the distro; spawns a detached-style holder, records it, and waits for the distro to run; a holder exiting with code 1 notes its distro may have stopped (E9); rejects a pid whose command line is not our holder for that distro; cleans up stale and corrupt records; keeps a holder and its record when release cannot verify it; reports unverifiable when the command line is unreadable even with a matching pid; release kills a verified holder and removes its record; release never kills a pid that is no longer our holder; reports a spawned holder exit so liveness can re-check. src/main/wsl/filesystem/wsl-guest-drive-mountinfo.test.ts: skips 9p shares that are not drvfs, and malformed lines. src/main/wsl/orcad/wsl-orcad-deploy-app-update.test.ts: plans the update on the census the running orcad reports, not an unknown one; forwards force to the update planner; does not serve the incumbent past a refusal that is not a wait; does not re-activate the build this host rolled back from; labels the launch with the build the adoption found serving, not the stale record; defers while another run holds the host fence; lets an explicit force deploy past both skips; names a newer host refusal apart from a rolled-back one, so only Force is offered; updates an older host as before, without asking to adopt it; never asks the incumbent when it already runs this build. src/renderer/src/components/agent/agent-launch-picker-acquisition.test.ts: keeps a completed listing usable when the host rejects the wait parameter. src/renderer/src/components/feature-tips/feature-tip-telemetry.test.ts: delivers to chat-default users in all targeting while holding out not-switched users. src/renderer/src/components/native-chat/composer/pickers/use-native-chat-side-chat-command.test.ts: completes the row on a pick, even when the command is already typed; ignores a pick of the row while side chats are unavailable. src/renderer/src/components/native-chat/media/images/native-chat-image-copy.test.ts: explains a too-large refusal that arrives through the IPC error prefix. src/renderer/src/components/native-chat/messages/actions/native-chat-fork-launch.test.ts: keeps the question with the caller and says once that it never went; tells the user to check the side chat when delivery is unconfirmed; reports a delivered question as sent, silently. src/renderer/src/components/native-chat/messages/actions/native-chat-side-chat-fork-point.test.ts: decides each of %i tool-only turns once per layout, and nothing without a listener. src/renderer/src/components/native-chat/messages/actions/use-native-chat-fork.test.tsx: places a side chat whose question was %s: %o. src/renderer/src/components/terminal-pane/provider-notices/agent-presence/agent-terminal-presence.test.ts: calls back once for %s; stops watching once unsubscribed. src/renderer/src/components/terminal-pane/pty-connection/emulation/pty-connection-mode2031-raw-subscription.spec.ts: records a mode 2031 subscribe from the raw chunk boundary without answering. src/renderer/src/components/terminal-pane/pty-connection/input/pty-connection-deferred-input-forwarding.spec.ts: routes terminal input through deferPtyInput so the host can withhold it; forwards terminal input directly when the host supplies no deferPtyInput. src/renderer/src/components/terminal-pane/pty-connection/notifications/pty-connection-terminal-bell-attention.spec.ts: forwards onBell to pane attention and notification policy; hands the bell to the attention module with its pane even when pane attention is off. src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-dropped-output-snapshot-healing.spec.ts: repaints from the main-owned snapshot when main drops pending output at the cap. src/renderer/src/components/terminal-pane/pty-connection/output/pty-connection-fresh-native-follow-reset.spec.ts: retries a fresh-spawn native follow reset when renderer dimensions return. src/renderer/src/components/terminal-pane/pty-connection/spawn/unbound-pane-spawn-recovery.test.ts: requests a tab remount for an unbound spawn; leaves recovery to a remote transport that armed its own retry; requests a remount when the transport reports no recovery of its own; settles the spawn as failed before requesting a remount; prefers the restored leaf id when reporting the anomaly; falls back to the pane leaf id when no restored leaf exists. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-foreground-agent.test.ts: remove only literal registration import/call pairs import { registerPtyConnectionDeferredInputForwardingTests } from '../input/pty-connection-deferred-input-forwarding.spec', registerPtyConnectionDeferredInputForwardingTests(); no additional authored credit. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts: structural support changed only; no new authored removal credit. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts: remove only literal registration import/call pairs import { registerPtyConnectionFreshNativeFollowResetTests } from '../output/pty-connection-fresh-native-follow-reset.spec', registerPtyConnectionFreshNativeFollowResetTests(); no additional authored credit. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts: remove only literal registration import/call pairs import { registerPtyConnectionTerminalBellAttentionTests } from '../notifications/pty-connection-terminal-bell-attention.spec', registerPtyConnectionTerminalBellAttentionTests(); no additional authored credit. src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-delivery-interest.test.ts: registers interest on the first sidecar and releases on the last unsubscribe; releases sidecar interest only once for repeated unsubscribes; does not let an eager pre-mount buffer defeat hidden delivery gating; keeps eager buffers outside delivery interest when the PTY exits before mount; lets a sidecar exclusively own interest while an eager buffer overlaps. src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-push-reattach.test.ts: blackholed delivery reproduces the wedge: no handler dispatch, no ACK ever. src/renderer/src/components/terminal-pane/pty-transport/ipc/ipc-pty-opencode-model.test.ts: sends preferences to the execution host and attaches only to its returned PTY; preserves one operation ID across a lost reply and reconnect; preserves ordinary raw startup and captured-session attachment. src/renderer/src/components/terminal-pane/pty-transport/output/pty-side-effect-pending-census.test.ts: sums registered gauges and drops disposed ones; ignores a repeated dispose instead of dropping another gauge; stops tracking new gauges past the cap so a missed dispose cannot grow it; tracks a live output processor queue through enqueue, drain, and dispose; excludes cleared consumed entries from retention after a bounded drain. src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-prebind-discard-notice.test.ts: says nothing once the pane is closed. src/renderer/src/components/terminal-pane/render-health/terminal-webgl-atlas-recovery.test.ts: refreshes after each scheduled atlas reset; falls back to a timeout when animation frames are unavailable; continues recovery when a manager throws after scheduling. src/renderer/src/components/terminal-pane/snapshots/pty-buffer-serializer.test.ts: tracks a remounted quiet title source even when the stale owner unregisters later; preserves the renderer-parsed output sequence in the response; preserves a pending escape tail for snapshot replay; routes a host's Reset Terminal request to the pane that owns the PTY. src/renderer/src/components/terminal-pane/snapshots/saved-terminal-output-replay.test.ts: marks panes with restored scrollback for fresh-shell viewport blanking. src/renderer/src/components/terminal-pane/viewport/split-right-white-screen.test.ts: recovers a 0x0 spawn whose container is briefly unmeasurable then settles. src/renderer/src/components/terminal-pane/viewport/visibility/stale-document-visibility.test.ts: removes global listeners when the last pane unregisters. src/renderer/src/components/ui/security-surface-theme-contrast.test.tsx: keeps trust text readable on a host-owned dialog surface; applies the hostile surface to ordinary dialogs, so the case above is exercised. src/renderer/src/components/use-terminal-parking-pass.test.tsx: does not queue a render when a pass produces the same parking sets; keeps parking transitions working under StrictMode. src/renderer/src/hooks/client-workspace-view-report.test.ts: reports an away user’s screen with no presence, and renews as soon as input returns; retries a failed send, empty or not, no sooner than a refresh. src/renderer/src/hooks/ipc-events/terminal-request-ipc-bridge-placement.test.ts: is new work in a workspace with no live terminal: its first bind moves it up in Recent. src/renderer/src/hooks/use-bundled-skill-install.test.tsx: ignores a repeated click while the install runs; retries the last requested skills on this host. src/renderer/src/hooks/useGitHubSlugMetadata.assignee-reuse.test.tsx: adds seeds to a successful empty list but not to loading or failed results; retains seed projection after expiry and fetches fresh metadata for a new reader. src/renderer/src/hooks/useSettingsNavigationMetadata.language-switch.test.tsx: retranslates the settings nav labels when the UI language changes live. src/renderer/src/lib/codex-stale-pane-account-identity.test.ts: keeps the prompt when the roster read fails and every label collapses. src/renderer/src/lib/image-blob-png.test.ts: downscales a pasted image above the pixel cap; releases its temporary URL on a decode error; releases its temporary URL when PNG encoding fails or exceeds the byte cap. src/renderer/src/lib/react-commit-cascade-store-write-samples.test.ts: names callers above the frame the write came from; restores Error.stackTraceLimit when the capture throws; stops collecting after the sample cap when captureStackTrace is unavailable; caps reported changed keys from a single wide write. src/renderer/src/lib/work-items/linear/linear-issue-context-snapshot.test.ts: applies the rendered text hard cap last and reserves the final overflow marker. src/renderer/src/runtime/rpc/targets/use-worktree-runtime-target.test.ts: keeps the runtime target identity stable across unrelated store writes. src/renderer/src/runtime/source-control/git/runtime-git-branch-client.test.ts: keeps creation available on old hosts and explains the missing operation; preserves landed warnings and direct collision recovery data; propagates remote discovery failure instead of a false empty page. src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-key-reuse.test.ts: reuses unchanged worktree tab projections when one worktree title changes; bumps only the changed worktree version when a sibling stays byte-identical. src/renderer/src/store/repos/repos-catalog-request-coordination.test.ts: shares safe-auto fork sync cooldown attempts across store instances. src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-batch.test.ts: collapses a 193-workspace hydration to one store write; leaves the store byte-identical to the per-workspace path; re-reconciling the batched result is a no-op, as it is for the per-workspace path. src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-fixture.ts: dedicated zero-case helper retirement; no authored test credit. src/renderer/src/store/slices/worktrees/metadata/update-worktrees-meta.test.ts: persists each batch metadata update to its workspace owner. src/renderer/src/store/slices/worktrees/metadata/worktree-meta-rename.test.ts: dismisses a rename error on its capable remote owner; clears pending first-agent rename when the title is updated. src/renderer/src/store/terminals/store-sleep-shutdown-order.test.ts: orders capture, guards, handlers, main's stop, commit, cleanup, and exit settlement. src/renderer/src/store/terminals/terminal-first-tab-publication.test.ts: publishes the first terminal and root tab group atomically; publishes the first terminal and root tab group atomically, then marks it starting in main. src/renderer/src/store/terminals/workspace-terminal-reconnect-hydration.test.ts: restores daemon terminal wake hints before declaring the session ready. src/renderer/src/web/web-runtime-connection-auth-framing.test.ts: keeps legacy framing for sockets that cannot absorb a refused attempt. src/shared/terminal/appearance/terminal-font-weight-windows-regular.test.ts: moves the old Windows default to Regular once and queues the notice; keeps custom weights and fresh profiles without a notice; leaves macOS and Linux profiles untouched. tests/e2e/claude-agent-row-view.unit.test.ts: updates a mounted compact workflow description through the subscribed production parent; bounds upstream active-SSH visits for $population records, fallback=$fallback; derives %s destinations without requiring type or a workflow child ID; terminates a $path parent $status with no third request or intermediate toast; does not recover a first child %s. tests/e2e/cross-version-wire/agent-permission-legacy-spawn.unit.test.ts: keeps exact legacy ordering when structured creation cannot express afterTabId; can create a terminal without selecting the target worktree; preserves the legacy fresh-agent path when host authority is unavailable. tests/e2e/paired-instant-browser-tab.spec.ts: shows a paired browser tab before its create RPC resolves, then keeps it as one tab; adopts a paired browser tab without rebuilding its chrome. tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts: bounds host publication and renderer application across remote worktrees; globally caps decorative freshness while every working status stays fresh. tests/e2e/session-tabs/mobile-session-active-performance.unit.test.ts: bounds saved-order publication selection at N and 10N without rematerializing navigation; bounds admitted placement reconciliation during supported reads at N and 10N; bounds selection input visits at 50 and 500 rows, including unavailable-target projection; keeps publication scoped to a changed worktree and shared by listeners at N and 10N; bounds preserved-chat merge and runtime-owned hydration at N and 10N (legacy=%s); bounds actual native retirement and shared delivery work at N and 10N. tests/e2e/session-tabs/mobile-session-active-publication.unit.test.ts: does not substitute a preserved row for an unavailable explicit legacy selection; resolves main-layout group selection %s (omitted group=%s). tests/e2e/structured-agent-session-launch-admission.unit.test.ts: opens a direct caller's terminal with the caller's own CLI arguments on a decline; opens the chat on the server that admitted it; opens only the terminal when this machine declines, without a notice; opens a new agent tab's terminal with the typed prompt when the caller names none; opens the chat, not a terminal, when this machine cannot resolve a new workspace yet; keeps its terminal fallback, as before. tests/e2e/structured-attention-prompt-relay.unit.test.ts: settles once per relayed prompt, not on every later status update. tests/e2e/structured-attention-read-retirement.unit.test.ts: Mark read on a chat never opened withdraws the prompt alert it surfaced; Mark read on a chat hidden since an earlier view covers the newer prompt it surfaced; reads a newly accepted visible prompt without sending an RPC for text-only updates. tests/e2e/structured-chat-tab-lifetime-cost.unit.test.ts: counts real raw stores, unrelated window publications and captured cleanup at %i chats; counts complete supplied-member sweep and separate final retirement at S=%i N=%i. tests/e2e/structured-session-workspace-authority.unit.test.ts: bounds actual target reveal across %i repo roots and metadata aliases. tests/e2e/terminal-agent-pane-launch.unit.test.ts: starts the host's planned command once, at the pane's size, and says it started; plans a pane whose prompt the window submits without the startup update prompt; preserves caller shell-ready delivery only for a connection-scoped adapter ($connectionId); starts no shell on plan failure (original failure: $returnLaunchFailure); cannot confirm a start whose provider answer was lost. tests/e2e/terminal-parked-memory.spec.ts: releases renderer terminal memory when hidden tabs park. tests/e2e/terminal-shortcuts.spec.ts: @headful Codex-like background output stays visible without disabling WebGL in auto mode; Shift with Russian layout text reaches the PTY as Cyrillic under kitty keyboard reporting. tests/e2e/terminal-split-activation-latency.spec.ts: records attributed CWD, spawn, bind, fixture-ready, input, and echo phases. tests/e2e/terminal-split-activation-latency-phases.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-main-probe.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-artifact.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-report.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-tab-switch-visual-restore.spec.ts: restores skipped hidden Grok output on light tab resume. tests/e2e/web-runtime-session-terminal-host-authority.unit.test.ts: delivers independent %s effort through the real prepared web callback; keeps same-ID local and runtime worktrees on the selected runtime owner; creates paired web agents through host authority so activation is mirrored; delivers generated continuation context after host-authoritative creation; seeds the chat composer for a draft that rode in on the launch command. Current changed source bytes, wrapper registrations and reduced selectors have no fresh execution or red/green credit. Unrelated surviving receipt objects keep their original narrow scope; current literal graph reachability does not establish historical import closure or equivalent replacement coverage. Current conservative command/import graph reaches src/main/runtime/construction/orca-runtime.test.ts, src/main/runtime/orca-runtime-tests/targeting-and-resilience.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts, src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases-part-02.spec.ts, src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases.spec.ts, src/main/runtime/orca-runtime-tests/worktree-setup-and-startup-part-03.spec.ts, src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts, src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-13.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-11.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-10.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-08.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-07.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-05.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-04.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-05.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-04.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-07.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-04.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-12.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-11.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-10.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-09.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-08.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-07.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-06.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness.spec.ts, src/main/runtime/orca-runtime-tests/headless-snapshots.spec.ts, src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-02.spec.ts, src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts, src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts, src/main/persistence/worktree-sort-order-write.test.ts, src/main/runtime/integrations/skill/orca-runtime-skill-recovery.test.ts, src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-detached-routing.spec.ts, src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-delivery.test.ts, src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-pointer-cli-command.spec.ts, src/main/runtime/rpc/methods/terminal/terminal-multiplex-link-estimate.test.ts, src/main/runtime/rpc/methods/terminal/terminal-snapshot-scrollback-rows.test.ts, src/main/runtime/rpc/server/pairing/network/windows-default-route-interfaces.test.ts, src/main/runtime/rpc/server/pairing/pairing-offer-owner-cli.test.ts, src/main/runtime/rpc/terminal-multiplex-end-verdict.test.ts, src/main/runtime/session-graph/headless-runtime-graph.spec.ts, src/main/runtime/session-graph/runtime-graph-standing-contracts.test.ts, src/main/runtime/session-tabs/structured-conversation-tab-title.test.ts, src/main/runtime/session-tabs/terminal-close-observed-exit.test.ts, src/main/runtime/terminal/identity/terminal-identity-probe.test.ts, src/main/runtime/terminal/layout/paired-desktop-server-writes-layout-owner.test.ts, src/main/runtime/terminal/lifecycle/pty-lifecycle-generation-retention.test.ts, src/main/runtime/terminal/lifecycle/run-terminal-user-open.test.ts, src/main/runtime/terminal/surface/terminal-surface-replies-window.test.ts, src/main/runtime/terminal/surface/workspace-layout-projection.test.ts, src/main/runtime/terminal/view/terminal-subscribe-exit-waiter-leak.test.ts, src/main/runtime/terminal/wait/orca-runtime-exact-worker-provider-session.test.ts, src/main/runtime/terminal/wait/prime-agent-screen-readiness-transcripts.test.ts, src/main/runtime/workspaces/startup/runtime-worktree-agent-startup.test.ts, src/main/runtime/workspaces/startup/runtime-worktree-startup-readiness.test.ts, src/main/skills/skill-install-transaction.test.ts, src/main/speech/model-manager-download-resume.test.ts, src/main/ssh/config/ssh-config-parser.test.ts, src/main/ssh/config/ssh-known-hosts-source.test.ts, src/main/ssh/config/ssh-known-hosts.test.ts, src/main/ssh/connection/ssh-connect-config.test.ts, src/main/ssh/connection/ssh-connection-auth-fallback.test.ts, src/main/ssh/connection/ssh-connection-store.test.ts, src/main/ssh/connection/ssh-connection.test.ts, src/main/ssh/orcad-migration-stuck-host-profiles.test.ts, src/main/ssh/orcad-runtime-maintenance.test.ts, src/main/ssh/port-forwarding/ssh-port-forward.test.ts, src/main/ssh/ssh-channel-multiplexer.test.ts, src/main/ssh/system-transport/system-ssh-forward-process.test.ts, src/main/ssh/system-transport/system-ssh-loopback-route.test.ts, src/main/startup/browser-process-user-agent-ordering.test.ts, src/main/startup/quit/quit-path-durable-write-blocking.test.ts, src/main/stats/agent-session-transition-recorder.test.ts, src/main/text-generation/commit-message-text-generation-model-discovery.test.ts, src/main/text-generation/pull-request-context.test.ts, src/main/text-generation/source-control-local-process.test.ts, src/main/updater/linux-package/linux-package-update-recovery.test.ts, src/main/updater/releases/updater-prerelease-feed-readiness.test.ts, src/main/updater/releases/updater-release-builds.test.ts, src/main/updater/updater.build-channel-selection.test.ts, src/main/updater/updater.check-preflight.test.ts, src/main/updater/updater.prerelease-fallback.test.ts, src/main/updater/updater.publishing-window-feed.test.ts, src/main/updater/updater.quit-and-install.test.ts, src/main/window/createMainWindow-markdown-editor-focus.test.ts, src/main/window/createMainWindow-renderer-crash-recovery.test.ts, src/main/window/dashboard-popout-window.test.ts, src/main/window/dropped-path-preparation.test.ts, src/main/window/main-window-updater-deferred-setup.test.ts, src/main/worker-threads/worker-thread-request-queue.test.ts, src/main/workspace-hooks/hooks-setup-runner-script.test.ts, src/main/workspaces/catalog/repo-git-remote-identity-enrichment.test.ts, src/main/workspaces/creation/preparation/worktree-create-preparation.test.ts, src/main/workspaces/removal/local-worktree-removal-recovery.test.ts, src/main/workspaces/removal/worktree-removal-safety.test.ts, src/main/wsl/discovery/distro-catalog.test.ts, src/main/wsl/discovery/wsl-distro-holder.test.ts, src/main/wsl/filesystem/wsl-guest-drive-mountinfo.test.ts, src/main/wsl/orcad/wsl-orcad-deploy-app-update.test.ts, src/renderer/src/components/agent/agent-launch-picker-acquisition.test.ts, src/renderer/src/components/feature-tips/feature-tip-telemetry.test.ts, src/renderer/src/components/native-chat/composer/pickers/use-native-chat-side-chat-command.test.ts, src/renderer/src/components/native-chat/media/images/native-chat-image-copy.test.ts, src/renderer/src/components/native-chat/messages/actions/native-chat-fork-launch.test.ts, src/renderer/src/components/native-chat/messages/actions/native-chat-side-chat-fork-point.test.ts, src/renderer/src/components/native-chat/messages/actions/use-native-chat-fork.test.tsx, src/renderer/src/components/terminal-pane/provider-notices/agent-presence/agent-terminal-presence.test.ts, src/renderer/src/components/terminal-pane/pty-connection/emulation/pty-connection-mode2031-raw-subscription.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/input/pty-connection-deferred-input-forwarding.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/notifications/pty-connection-terminal-bell-attention.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-dropped-output-snapshot-healing.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/output/pty-connection-fresh-native-follow-reset.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/spawn/unbound-pane-spawn-recovery.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-foreground-agent.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts, src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-delivery-interest.test.ts, src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-push-reattach.test.ts, src/renderer/src/components/terminal-pane/pty-transport/ipc/ipc-pty-opencode-model.test.ts, src/renderer/src/components/terminal-pane/pty-transport/output/pty-side-effect-pending-census.test.ts, src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-prebind-discard-notice.test.ts, src/renderer/src/components/terminal-pane/render-health/terminal-webgl-atlas-recovery.test.ts, src/renderer/src/components/terminal-pane/snapshots/pty-buffer-serializer.test.ts, src/renderer/src/components/terminal-pane/snapshots/saved-terminal-output-replay.test.ts, src/renderer/src/components/terminal-pane/viewport/split-right-white-screen.test.ts, src/renderer/src/components/terminal-pane/viewport/visibility/stale-document-visibility.test.ts, src/renderer/src/components/ui/security-surface-theme-contrast.test.tsx, src/renderer/src/components/use-terminal-parking-pass.test.tsx, src/renderer/src/hooks/client-workspace-view-report.test.ts, src/renderer/src/hooks/ipc-events/terminal-request-ipc-bridge-placement.test.ts, src/renderer/src/hooks/use-bundled-skill-install.test.tsx, src/renderer/src/hooks/useGitHubSlugMetadata.assignee-reuse.test.tsx, src/renderer/src/hooks/useSettingsNavigationMetadata.language-switch.test.tsx, src/renderer/src/lib/codex-stale-pane-account-identity.test.ts, src/renderer/src/lib/image-blob-png.test.ts, src/renderer/src/lib/react-commit-cascade-store-write-samples.test.ts, src/renderer/src/lib/work-items/linear/linear-issue-context-snapshot.test.ts, src/renderer/src/runtime/rpc/targets/use-worktree-runtime-target.test.ts, src/renderer/src/runtime/source-control/git/runtime-git-branch-client.test.ts, src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-key-reuse.test.ts, src/renderer/src/store/repos/repos-catalog-request-coordination.test.ts, src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-batch.test.ts, src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-fixture.ts, src/renderer/src/store/slices/worktrees/metadata/update-worktrees-meta.test.ts, src/renderer/src/store/slices/worktrees/metadata/worktree-meta-rename.test.ts, src/renderer/src/store/terminals/store-sleep-shutdown-order.test.ts, src/renderer/src/store/terminals/terminal-first-tab-publication.test.ts, src/renderer/src/store/terminals/workspace-terminal-reconnect-hydration.test.ts, src/renderer/src/web/web-runtime-connection-auth-framing.test.ts, src/shared/terminal/appearance/terminal-font-weight-windows-regular.test.ts, tests/e2e/claude-agent-row-view.unit.test.ts, tests/e2e/cross-version-wire/agent-permission-legacy-spawn.unit.test.ts, tests/e2e/paired-instant-browser-tab.spec.ts, tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts, tests/e2e/session-tabs/mobile-session-active-performance.unit.test.ts, tests/e2e/session-tabs/mobile-session-active-publication.unit.test.ts, tests/e2e/structured-agent-session-launch-admission.unit.test.ts, tests/e2e/structured-attention-prompt-relay.unit.test.ts, tests/e2e/structured-attention-read-retirement.unit.test.ts, tests/e2e/structured-chat-tab-lifetime-cost.unit.test.ts, tests/e2e/structured-session-workspace-authority.unit.test.ts, tests/e2e/terminal-agent-pane-launch.unit.test.ts, tests/e2e/terminal-parked-memory.spec.ts, tests/e2e/terminal-shortcuts.spec.ts, tests/e2e/terminal-split-activation-latency.spec.ts, tests/e2e/terminal-split-activation-latency-phases.ts, tests/e2e/terminal-split-activation-latency-main-probe.ts, tests/e2e/terminal-split-activation-latency-artifact.ts, tests/e2e/terminal-split-activation-latency-report.ts, tests/e2e/terminal-tab-switch-visual-restore.spec.ts, tests/e2e/web-runtime-session-terminal-host-authority.unit.test.ts. Unresolved local/computed edges remain explicit debt.", "Audit2095 current-parent preparation2126 (approved2092/2093 removals; source refresh2109/independent2112): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-03.spec.ts: rejects exact terminal stop for multiple expected PTYs before stopping anything; omits stale renderer leaves when fresh PTY liveness is required; omits unbound renderer placeholders when fresh PTY liveness is required; captures the event method before the nested sleep receipt changes it; returns the close receipt without requiring a PTY stop; uses the same stop result as an empty explicit stop. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-04.spec.ts: builds a compact worktree summary from persisted and live runtime state; reads the linked-PR state from the renderer repoId-keyed GitHub cache; carries persisted worktree host ownership in mobile summaries; emits only instance- and boundary-validated lineage parents in mobile summaries; resolves WSL platforms only for repos represented in mobile summaries; omits worktrees hidden by the host visibility policy from mobile summaries; applies linked-checkout source visibility to mobile summaries. src/main/runtime/orca-runtime-tests/hooks-and-hosted-review-part-02.spec.ts: routes runtime GitHub PR details and actions through the selected WSL project runtime; passes SSH connection context through hosted review creation flows; routes local WSL project hosted review flows through runtime git options; treats SSH worktree drift as unknown without local git probes. src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts: emits one mobile session terminal tab per live PTY even if two tabs resolve to it; resolves projected split authority from the parent layout PTY binding; keeps explicit-id terminal lists from resolving all worktrees; keeps explicit-id cold-cache terminal lists from classifying unrelated same-repo worktrees; keeps unknown bare terminal-list ids on the no-scan exact-id path; matches explicit-id cwd PTYs for folder workspace instance IDs; routes PTY output through the PTY leaf index in large terminal graphs. src/main/runtime/orca-runtime-tests/window-authority.spec.ts: claims the first window as authoritative and ignores later windows; transfers authority from the headless sentinel to the first real window; relays terminal browser launches only while headless owns the graph; marks live headless PTYs for renderer reattach before desktop promotion; reports the activation gate state while no desktop window is available; bumps the epoch and enters reloading when the authoritative window reloads; can mark the graph ready for the authoritative window; drops back to unavailable and clears authority when the window disappears; hands the graph back to headless when a promoted serve window closes (#27292); keeps a crashed promoted serve renderer on its own window while the window is open; stays unavailable during initial loads before a graph is published. src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-routing-races.spec.ts: stops paged routing when the check is cancelled; keeps an unfiltered redrive unrestricted when reservations merge; keeps an unfiltered parked delivery unrestricted when reservations merge; uses a bounded indexed pane lookup for reminted Dispatch identity. src/main/runtime/workspaces/removal/worktree-teardown-unstopped-pty.test.ts: removes the reported wedged automation workspace without --force; clears PTY state once a failed stop is proven to have exited; names only the PTYs that are actually live, not every failed stop; warns with the specific sweep failure, not the generic deadline; still fails closed on a sweep-level failure without force. src/main/skills/bundled-skill-install/layouts.test.ts: links into a project only where its agent folder already exists; reads a pending cloud transaction as busy and a cloud receipt as another skill. src/main/skills/skill-upload-session-service.test.ts: joins concurrent disposal callers through exact cleanup completion. src/main/source-control/hosted-review-creation.test.ts: creates the pull request after fresh main-process validation passes; routes local WSL git and GitHub review creation through the selected runtime; creates a pull request on a GitHub Enterprise Server remote (#8312); creates a GitLab merge request after fresh main-process validation passes; creates an Azure DevOps pull request after fresh main-process validation passes; creates a Gitea pull request after fresh main-process validation passes. src/main/source-control/hosted-review-execution-host-routing.test.ts: reads a GitHub review on the SSH host a row names only in executionHostId; reads a GitLab review on the executionHostId host when connectionId names a different one; does not dial this client for a runtime row whose nested target shares a local name; keeps a runtime row with no nested target on this process (self-addressed stamp); keeps a legacy connectionId-only SSH row on its target; does not share a cached answer between two rows at one path on different hosts; creates a Bitbucket review locally for a runtime row rather than dialing its nested target; reports creation eligibility from the executionHostId-only SSH host; resolves the GitHub slug for a repo listing on the row it is asked about; refuses to dial a runtime host from this process; answers with the SSH target for both spellings and local otherwise; reads a runtime stamp on a row in this store as self-addressing, not a second machine. src/main/source-control/hosted-review-inflight-invalidation.test.ts: keeps other hosts, paths and their pending promises isolated. src/main/speech/model-manager.test.ts: requires pinned, internally consistent metadata for every model file; verifies downloaded model file hashes before installation; rejects non-HTTPS model downloads; marks OpenAI transcription models ready only when an API key is configured. src/main/ssh/connection/ssh-connection-sftp-namespace.test.ts: writes to the SFTP namespace path discovered on the same session; uploads the bundle into the SFTP namespace directory; issues no discovery requests when the caller supplies no mapping; ignores a mapping on a Windows host; never resolves on the system-SSH transport; leaves writeBuffer and openFileUploadSession on the shell path; keeps the shell path when discovery is inconclusive; preserves a session-limit channel-open error unchanged. src/main/ssh/connection/ssh-connection-system-transport.test.ts: uses system SSH transport when ProxyUseFdpass is resolved by OpenSSH; allows concurrent exec commands for system SSH with an Orca ControlMaster socket; keeps concurrent exec commands disabled for system SSH without a reusable socket; uses system SSH transport for ProxyCommand targets before ssh2 auth; keeps the original ssh2 reachability error when the system SSH probe fails; reports the system SSH failure when ssh2 cannot negotiate with the host; uses system transport for target or resolved OpenSSH proxy directives; allows an environment override for e2e coverage; ignores stale imported proxy fields when fresh OpenSSH config has no proxy. src/main/ssh/orcad-migration-catalog-client.test.ts: keeps each server project’s execution host, so a nested SSH row is never read as local; reads the server’s folder workspaces and the groups that place them on a host; sends and validates the %s operation; validates an abort result without letting it erase committed state; validates a committed receipt against the requested manifest; rejects malformed stage timestamps and abort envelopes; fails closed for method absence, malformed identity, and invalid pairing; refuses a destination without the capability before sending any migration request; reads method-not-found as the same refusal, not as a lost answer. src/main/ssh/runtime-ssh-access.test.ts: persists intent then claim before connecting and publishes redacted authenticated access; names the saved dependency when dependent state blocks an SSH access link; handles lost link responses without connecting or verifying again; invalidates old transport only after authenticated access is published; rejects changed request tuple after a completed link; rejects provisioning and missing durable generations without connecting; treats a lost successful unlink response as an idempotent no-op; hashes connection identity, not display state or owner; strictly validates ports and request IDs. src/main/startup/cli-launch-redirect.test.ts: detects a launch that received the unpacked CLI entrypoint; ignores normal desktop launches; ignores the entrypoint when it is only the executable itself (argv[0]); applies on Linux too; strips injected Chromium switches before node-mode CLI arguments; keeps user flags after the command and malformed boolean assignments; does not treat a later positional entrypoint path as the launcher; redirects a direct binary launch with no AppImage env at all; strips Chromium switches node mode would reject; preserves desktop-shaped switches after the command; leaves direct serve in-process but redirects its help; treats help as a CLI launch even without a command; treats %s as a CLI launch even without a command; does not treat a value of %s as a CLI early-exit flag; does not treat a serve option value as a help request; does not reinterpret help after the argument terminator; leaves a plain desktop launch alone; skips flag values when looking for the command positional; preserves a project selector in %j; does not apply the command form on macOS or Windows; never redirects an unpackaged build; runs the in-package CLI in Electron node mode with sanitized env; refuses to redirect twice so a dropped ELECTRON_RUN_AS_NODE cannot loop; reports a missing CLI entrypoint instead of booting the desktop app; execs a direct serve into the CLI so it keeps its pid and honours profile and supervise; keeps ORCA_USER_DATA_PATH for a direct serve without --user-data-dir; serves in-process when this runtime cannot exec or the exec fails; never execs the --serve child the CLI itself spawns, or serve on other platforms; surfaces a spawn failure as a non-zero exit; re-execs a direct --serve onto X11 when Electron resolved Wayland; leaves $name alone. src/main/startup/main-process-runtime-launch-activation.test.ts: marks startup settled for the launch record only after the window has loaded and settled; loads SSH targets on a windowless serve before paired clients can connect (#25886); pins the serve listener to loopback only for orcad browser sidecars (sidecar=$sidecar, #31895); saves Codex auth before a headless serve update restart, like the desktop does. src/main/startup/run-electron-vite-dev.test.ts: forwards dev instance identity to electron-vite; prepares userData orca and orca-dev wrappers for dev terminals; consumes the stable-name flag before forwarding args to electron-vite. src/main/updater/releases/updater-prerelease-feed.test.ts: returns the newest stable tag when the user is on an RC and a newer stable exists; returns the newest RC tag when no stable is newer than the current RC; can exclude prerelease tags for stable-channel checks; probes the %s %s platform manifest; returns null for stable-channel checks when only prereleases are newer; returns null when nothing in the feed is newer than the current version; ignores entries with unparseable tags; returns null when the fetch is not ok; returns null when the fetch throws; picks semver-newest across a mixed-order feed; ignores perf-tagged prereleases for regular RC checks; reports no RC update when only perf-tagged prereleases are newer; picks the semver-newest perf-tagged prerelease; matches only literal rc.N.perf prerelease tags for perf checks; reports no perf update instead of falling back to stable or RC tags; returns a bounded fallback candidate after the newest newer tag; returns null when the only newer tag has a manifest but its asset still 404s; requires a known old timestamp for a stable-fallback tag. src/main/updater/updater-events.test.ts: hands the whole downloaded event to artifact capture; publishes manual-install recovery after a %s download; publishes the normal downloaded state for AppImage builds; blocks downloaded-state handling when the packaged marker is unusable; passes the actual updater error into the install-failure handler; keeps manual-install recovery when a later check finds only the installed release; drops the artifact when another version takes over the cycle; ignores a downloaded event for an older target; accepts a matching event when the pending cache target was cleared; drops the artifact when progress reports a different pending version. src/main/updater/updater-linux-package-recovery-actions.test.ts: rejects both actions while no package-install recovery is active; validates the retained package on every invocation; restores recovery after a recheck resolves without a terminal event; restores recovery after a recheck fails; restores recovery when a pinned check resolves to the current version; restores recovery when resolving a pinned check fails; clears recovery for both actions once the package is gone; resolves %s as a result and keeps the card usable instead of rejecting; keeps recovery available after a transient read failure. src/main/updater/updater.check-settlement.test.ts: leaves a dismissed release update on the release source; surfaces net::ERR_FAILED to user-initiated checks with a friendly message; shows checking immediately for a user-initiated check while feed pinning is pending; keeps background checks event-driven before checking-for-update fires. src/main/usage/usage-provider-store-lifecycle.test.ts: persists identities for a whole first scan with one write; skips disabled and fresh matching states; invalidates prior sources on fingerprint changes and reuses them for forced scans. src/main/window/createMainWindow-close-confirmation.test.ts: clears the quit latch when the renderer prevents unload; does not notify the crash recorder when renderer teardown follows a confirmed window close; allows close when Electron reports a crashed webContents; requests confirmation for a hung-but-alive renderer instead of bypassing. src/main/workspaces/catalog/worktree-identity-persistence.test.ts: stores independent metadata for colliding locators on two hosts; projects canonical-only metadata for exactly one host; keeps canonical metadata current for legacy writers on a known owner; removes only the selected legacy-owner metadata when locators collide; keeps the canonical identity stable when the locator changes; leaves other hosts at the old locator when one host renames its folder. src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.test.ts: leaves a journaled conversion untouched with the gate closed, %s. src/main/wsl/orcad/wsl-orcad-deploy.test.ts: holds the distro before it deploys and launches, and reports what C5 dials; passes its connect-state read (%s) on as hints; applies the SSH census and downgrade admission to the first deploy; refuses a WSL 1 distro before holding it or touching its files; tells an unregistered distro how to find the installed ones, before holding anything; surfaces an unsupported libc as the SSH host refusal does; starts an already-active slot the distro stop ended, instead of reporting it ready; deploys over an adopted unrecorded orcad under the SSH terminal gate, never a fresh launch; reports the adopted instance once the same version is serving; returns a deferral rather than launching over live terminals; hands a failed first deploy to the fresh-install cleanup before reporting it. src/main/zcode/zcode-v2-plan-credentials.test.ts: prefers migrated credentials over a stale legacy account; keeps legacy support when no personal v2 file exists; honors the upstream personal config override independently of the credential directory; does not borrow credentials from another execution host; preserves the protected Orca key priority even if v2 is corrupt; rejects upstream-invalid selection %j without legacy fallback; accepts a valid optional reasoning level; rejects upstream-invalid rule containers %j without legacy fallback; accepts a valid selected-provider empty personal rule and smart model rule; cannot establish selected credentials from %s rules; leaves encrypted CLI files unchanged across repeated account reads. tests/e2e/automation-terminal-launch.unit.test.ts: launches explicit Chat for %s through the common entry and keeps its actual fallback; does not apply stored Terminal extras to Chat; forwards only complete Chat-consumed values, with no Terminal startup base; refuses an expired admission without minting another launch identity; records the actual chat identity and delegates new workspace setup and provenance. tests/e2e/github-project-provider-columns.unit.test.ts: renders %s through one bounded items request on a named cloud host; preserves zero and complete counters: %j; preserves populated and legacy rows through shared sorting, grouping and cells. tests/e2e/structured-agent-session-launch-continuation.unit.test.ts: carries renderer lifetime through host intent to the real %s provider builders. tests/e2e/terminal-account-restart.unit.test.ts: replaces a tombstoned owner while its persisted pane binding has not yet been cleared; paired restart retains the old owner (host authority: %s). tests/e2e/terminal-hidden-view-parking.spec.ts: does not park excluded tabs; reproduces a static frame byte-for-byte across 25 park/reveal cycles. tests/e2e/terminal-long-table-scroll-restore.spec.ts: reproduces long markdown table artifacts after workspace switch and scroll; keeps narrow wrapped signer markdown table coherent after restore and scroll; keeps real emoji markdown table right edge clean after restore and scroll. tests/e2e/terminal-long-table-fixtures.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-paste-ownership.spec.ts: Windows multiline keyboard paste normalizes terminal newlines with one PTY owner; right-click paste sends clipboard text to the focused terminal exactly once. tests/e2e/terminal-raw-emoji-table-scroll-restore.spec.ts: uses WebGL by default for ordinary terminal output when available @terminal-rendering-golden. tests/e2e/terminal-windows-shell-paste-ownership.spec.ts: cmd.exe default terminal keyboard paste preserves exact content with one PTY owner; Git Bash default terminal keyboard paste preserves POSIX-shaped content with one PTY owner; WSL terminal keyboard paste preserves Linux shell content with one PTY owner. tests/e2e/workspace-board-lane-virtualization.spec.ts: mounts a window of cards for a large lane and keeps lane indexes; renders later lane indexes after the lane scrolls. Current changed source bytes, wrapper registrations and reduced selectors have no fresh execution or red/green credit. Unrelated surviving receipt objects keep their original narrow scope; current literal graph reachability does not establish historical import closure or equivalent replacement coverage. Current conservative command/import graph reaches src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-04.spec.ts, src/main/runtime/orca-runtime-tests/hooks-and-hosted-review-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts, src/main/runtime/orca-runtime-tests/window-authority.spec.ts, src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-routing-races.spec.ts, src/main/runtime/workspaces/removal/worktree-teardown-unstopped-pty.test.ts, src/main/skills/bundled-skill-install/layouts.test.ts, src/main/skills/skill-upload-session-service.test.ts, src/main/source-control/hosted-review-creation.test.ts, src/main/source-control/hosted-review-execution-host-routing.test.ts, src/main/source-control/hosted-review-inflight-invalidation.test.ts, src/main/speech/model-manager.test.ts, src/main/ssh/connection/ssh-connection-sftp-namespace.test.ts, src/main/ssh/connection/ssh-connection-system-transport.test.ts, src/main/ssh/orcad-migration-catalog-client.test.ts, src/main/ssh/runtime-ssh-access.test.ts, src/main/startup/cli-launch-redirect.test.ts, src/main/startup/main-process-runtime-launch-activation.test.ts, src/main/startup/run-electron-vite-dev.test.ts, src/main/updater/releases/updater-prerelease-feed.test.ts, src/main/updater/updater-events.test.ts, src/main/updater/updater-linux-package-recovery-actions.test.ts, src/main/updater/updater.check-settlement.test.ts, src/main/usage/usage-provider-store-lifecycle.test.ts, src/main/window/createMainWindow-close-confirmation.test.ts, src/main/workspaces/catalog/worktree-identity-persistence.test.ts, src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.test.ts, src/main/wsl/orcad/wsl-orcad-deploy.test.ts, src/main/zcode/zcode-v2-plan-credentials.test.ts, tests/e2e/automation-terminal-launch.unit.test.ts, tests/e2e/github-project-provider-columns.unit.test.ts, tests/e2e/structured-agent-session-launch-continuation.unit.test.ts, tests/e2e/terminal-account-restart.unit.test.ts, tests/e2e/terminal-hidden-view-parking.spec.ts, tests/e2e/terminal-long-table-scroll-restore.spec.ts, tests/e2e/terminal-long-table-fixtures.ts, tests/e2e/terminal-paste-ownership.spec.ts, tests/e2e/terminal-raw-emoji-table-scroll-restore.spec.ts, tests/e2e/terminal-windows-shell-paste-ownership.spec.ts, tests/e2e/workspace-board-lane-virtualization.spec.ts. Unresolved local/computed edges remain explicit debt.", @@ -13182,7 +12785,48 @@ "Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed.", "Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed.", "Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation.", - "Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed." + "Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed.", + "Audit3128 scoped coverage reduction: Audit3121 removes VoiceDictationLanguageSetting.test.tsx (Spanish-to-es callback and unsupported-model Korean option presence) and voice-speech-model-rows.test.ts (provider/language-order/retired-on-disk list policy); these real narrow alarms are deliberately retired without replacement. VoiceSpeechModelSection per-model concurrent deletion remains unchanged. Audit3122 removes the direct absolute/parent-segment sparse-directory exception-type sample and the five-row IPC sparse-preset error-code/non-save table (two authored/six expanded cases). Those real typed-validation and IPC refusal/error-code alarms are deliberately retired. Keep both real symlink/junction floating-directory trust cases and the minimal RPC structured validation-reason serialization case. The RPC case does not replace IPC save/refusal behavior, typed normalization for both path inputs, actual Git sparse checkout or rendered localization. No equivalent replacement or fresh test/runtime/platform/remote/performance validation is claimed. Audit3124 removes ExperimentalPane.test.tsx (ordinary Pet switch callback), WorkspaceDirectorySetting.test.tsx (padded absolute saved-path normalization/no-write blur), and repository-search.perf.test.ts (navigation/selected-pane builder-call policy, fixture cardinality/nonempty entries and renamed project keyword inclusion). These real narrow alarms are retired without replacement; RepositoryPane.search.test.tsx search-to-sparse-editor request remains unchanged. Audit3129: resolver Windows case-insensitive and POSIX case-sensitive configured-env composition plus mocked-base launch-preflight Windows composition are intentionally no longer checked by the two deleted suites. No equivalent coverage claimed. Keep runtime-structured-agent-host-env.test.ts unchanged: configured Windows Claude-home account identity and host-account precedence remain checked.", + "Audit3146 combines source reviews3132/3133/3135/3138/3143: intentionally retire20authored/31expanded cases without equivalent replacement. Provider-session losses: structured-native terminal-resume exclusion, metadata-less completed identity, new-turn completion clearing, Pi provider-only/periodic/manual promotion, changed-transcript launch-config isolation, Pi/omp/prime-agent completed-session remote/manual-shutdown promotion, and quit/done precedence over heartbeat. Side-thread/question losses: finished-pane acquisition, hidden title/recap states, local/relay/relay-done conversation takeover with prompt/session/child resets, plain-message abandonment, compaction/session replacement and completion resets. Codex startup losses: incoming-owner cached child replacement, old-relay foreign live-session correction, completed foreign-root turn-fact permutations. Transcript losses: real temporary-JSONL partial sibling/final-child completion, unlabelled child attribution, compact cached replay preservation and100/1000completed-child roster retention/release. Compiler-ratchet losses: valid-line uncompiled-list parser grammar examples and injected-existence stale-path filtering; these did not exercise actual filesystem canonicalization or build exclusion. These are real lifecycle, ownership, replay, liveness and retention alarms, including recent#40246 regressions, deliberately lost. Retained conditional record replacement, clockless root/SSH owner isolation, persisted main-thread fork rejection, partial/final question-answer lifetime, cached-roster/missing-ID/live HTTP/durable startup boundaries and restarted-relay refusal/acceptance do not replace those losses. No native/SSH/WSL execution or equivalent coverage is claimed.", + "Audit3156 combines3147/3150/3152/3153/3154: deliberately retires39authored/40expanded native-chat recovery cases, eight whole suites and two orphan test-support files without equivalent replacement. Lost alarms: lost-reply unconfirmed reconciliation, skipped rows/counts and missed-frame repair, unknown/pending outcome and omitted-failure-list compatibility, uncertain history after dismissal, retry/refusal/dismiss lifecycle, hidden/consumed picker ownership, result-tree keyboard focus/disclosure and all-skipped retirement; unconfirmed-over-conflict guidance and failed-chat changes despite older host timestamps; nearest-listed ancestor/cyclic forest shape, descendant membership, host ordering/missing-host local fallback; skipped/readiness/admission counts, provisional skip/progress monotonicity, early per-chat verdicts with batch pending protection, older-host waiting, start-slot/delivery distinction, retry-over-failure and unknown-after-withdrawal attention; remote snooze/reconnect/reoffer, unseen mixed summary through open/close, watched completion retirement, new success beside old failure, failed-reread mixed-result preservation, filter/collapse completion resets, retry summary replacement and current-offer/history selection; cross-host workspace identity, rendered cyclic reachability, nested tri-state/toggle propagation, project eligibility isolation and collapse preserving selection. Exact fallback-list completion barrier, batched verdict/cleanup retention, stale-read versus dismissal publication race, and requested-but-never-rendered finished-run retirement remain; they do not replace retired alarms.", + "Audit3165 combines source3160/3162: deliberately retires six authored/expanded cases across three whole suites without equivalent replacement. Launch/status losses: observed React-render pending/resuming coordination across settings and deferred offer read; stale-offer reread suppressing dialog reopen; held-local-chat recovery visibility with new-chat preferences off; disabled-local admission avoiding offer RPC despite an injected but unconsumed paired-tab fixture; and run-only lost-reply uncertainty reachability until direct viewed-run retirement. Launch probe does not prove arbitrary synchronous-store atomicity, the paired fixture is not remote runtime enrollment, and the status case directly marks viewed state rather than rendering the summary. Crew-hook losses: old-host method_not_found cache persists across party changes but is released by independently supplied connection generation/verified pairing status or pairing revision, with actual frame publication and teardown. These are real narrow coordination, admission, uncertainty and mixed-version cache alarms consciously lost. Exact web verified-runtime writer handoff guard remains; it does not replace those alarms or prove live host/native/mobile delivery.", + "Audit3178 combines source3169/3170/3175: deliberately retires eight authored units (six Vitest cases and two imperative custom relay scenarios), including two whole suites, without equivalent replacement. Voice Section loses per-model pending-delete isolation across interleaved A/B completion and the two-success refresh-call alarm; exact VoicePane delayed key-clear/newer enabled-toggle merge remains and does not replace row deletion coverage. Speech loses dedicated rating-scale/inclusive-ceiling, unsupported-versus-unmeasured, explicit/system-language precedence/locale alias, accuracy versus fast named/default/best-measured selection, and unmeasured/no-match examples; exact offered-user-pick versus retired-selection case and its fixture remain. Relay loses legacy ping-delivery count/liveness sampled before the silence deadline and grouped malformed Bearer/host-ID 401/429 routing checks; twelve real Worker/DurableObject/shipped-client scenarios remain, not equivalent replacement for those narrow alarms. Six prior speech cases are not all deleted: approved successor3175 keeps the original user-choice case. No actual credential/file persistence, native/GPU/engine/download delivery, production assignment policy or deployed-runtime validation is claimed by this reduction.", + "Audit3191 combines approved source3182/3187/3188: deliberately retires thirteen authored Vitest registrations and fifteen expanded cases, including five whole suites, without equivalent replacement. Attachment intake loses real portal/native-capture terminal interception and unowned-container refusal, immediate child-only committed availability/claim-ref negotiation and delivery, and direct-target over stable focused/background composer routing through disable/re-enable/remount and independent question focus. Exact destination/cache/draft and final-stat owner/workspace/File-release suites remain; they do not replace Surface recipient routing. Automation authoring loses destination runtime catalog membership, local/direct-SSH exclusion of paired-runtime repos, unknown-runtime empty catalog, logical project/host/setup/repo/path context payload, and missing/nonready setup refusal; these were genuine direct helper alarms, while exact schedule transformation, legacy schedule and setup-decision suites remain. Agent picker loses setup-chat/terminal/missing-installer/unsupported-or-unknown-host row projection samples and the ordinary unsearched menu variant; the entire original26-line resume recipe suite remains, including reported bypass versus default/absent permission modes, as does the exact search-result menu callback with its fixtures, model/effort commits and staged Arguments reopen outcome. Rejected predecessor3180 full recipe deletion is excluded. No actual native drag/cursor/focus/IME, upload bytes or disk/restart persistence, full automation save/scheduler/runtime transport, real resume-process flags/environment delivery, or native menu/rendered layout validation is claimed.", + "Audit3200 composes approved source3194: deliberately retires thirteen authored registrations/twenty-seven expanded cases in six whole automation host/list policy suites without equivalent replacement. Real RPC category/retryability and wrapped-timeout recognition, unscoped-failure/scoped-success health evidence precedence, exact-ID create selectors and per-run workspace omission, paired-web local/SSH/absent host catalog routing, incompatible/removed/unhydrated/offline execution health, runtime-before-nested-SSH recovery dispatch, and no-owned-focus/successor/foreign-list focus policy alarms are consciously lost. Retain exact20line orphan allow/refuse/precondition and exact90line cross-host same-ID search suites. No retry-timer/fence lifecycle, actual reconnect/network/write delivery, native focus, mobile/mixed-version runtime or disk persistence coverage is claimed.", + "Audit3209 composes approved sources3202/3206: deliberately retires seven authored/expanded cases in four whole suites without equivalent replacement. Work-item queries lose real GitHub/GitLab oversized ASCII secret-prefix empty-query and whitespace-before-trim refusal alarms; inputs share the imported size bound and exercise only its fast length branch, with no multibyte or actual provider/exposure guarantee. Skill sharing loses complete/partial managed-bundle and destination-ambiguity association checks plus three negative origin/path/scheme admission examples; these do not establish uploaded contents, arbitrary-URL fetching, authorization or execution. Retain exact originless-project direct-link fallback, cloud-delete confirmation, bundled-target repair/owner isolation and explicit Windows-host preference over stale WSL suites. Rejected3201 runtime-preference removal is excluded. No real cloud/network/host/disk, mobile or mixed-version execution validation is claimed.", + "Audit3219 removes the synthetic Cmd+J extra-source suite; this broad command no longer checks its match/tie placement and selection, announced count, empty-query cap, or workspace hiding with retained recent tabs. No replacement coverage is claimed.", + "Audit3231 retires supported-host restore-pane key mapping, closed/open creation-sidebar toggle visibility, unrelated scope-error/null classification and quick-submit reveal/no-create checks. These broad commands lose those real narrow alarms; no replacement coverage is claimed.", + "Audit3246 retires NewRowsMarker reveal/no-repeat and pane-scoped beforeinput checks; skill-owner option availability/count/dedup/order; six styled Input/Textarea IME forwarding rows; the static Codex/OpenCode smart-key inventory; tab-map AST ratchet diagnostic fixtures; child-roster work-budget and retained-aggregate alarms; malformed persisted floating-cwd fallback/no-crash/empty exact-root checks; the unanswered-host empty-list discriminator; the direct invalidated-cache commit-false assertion; one redundant digit-keyup IME row; cached non-supported Claude title-generator rows; and the duplicate late naming-result singleton. These root broad commands lose those specific alarms without equivalent replacement. Distinct retained owner/state checks have their own bounded claims; the real scheduler still rejects stale response data, while the direct false-return alarm is retired.", + "Audit 3256 removes these specific alarms from the broad root unit commands: skill dialog active-share selection, close and pending-share handoff; simple keyed-record deletion; marker live-region insertion, simple landing and nine baseline policy examples; General search/control navigation inventory; orphan-count cache bootstrap; seven Codex code classifications and HTTP 429 warning mapping; two skill unread-root verdict examples; peer-mail payload and conversation-ID rejection; and the GitHub organization TABLE text-field optimistic rollback/failed-envelope example. These include real behaviors; retained tests do not provide equivalent coverage for every removed scenario. Mobile losses are recorded separately and are not coverage of these root commands.", + "Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims.", + "Audit 3283 removes 20 authored declarations and 31 expanded scenarios, including two whole suites. Retired alarms cover PR refresh-state pruning, shared runtime subscription cleanup and store isolation, language content-change routing and older completion ownership, ordinary panel retry-timer cleanup and pending loading, four hosted-review lifetime permutations, mocked terminal creation error/order wiring, five sleep-inventory variants with pending-frame-only assertions, palette fallback/composite highlights, Windows/UNC encoded-editor input rows, mixed-repository partial failure counts, title setters and generated-title bypass/replacement, five window-close coordinator delegation/guard/finally branches, and ambiguous-old-record frame reveal. These regression checks are intentionally lost under the test-value audit; retained cases are not equivalent replacements. Prior coverage notes and receipts remain historical.", + "Audit 3292 combines adopted 3285/3287/3289/3293 removals: 40 authored declarations and 47 expanded scenarios, including whole frame-editor-view, ambiguous remote-delete-refusal, unverifiable-host subscription and editor-close cleanup suites. The previously reviewed dock-badge suite was already removed upstream in PR 40895 and receives zero new removal credit. Intentionally retired alarms include background browser selection and last-tab landing; main startup fallback, SSH project cleanup/survivor routing, exact-PR contradiction/saved-push positives, replay/sidecar rollback and wrapped remote error normalization; records/snapshot missing-diff hydration, ambiguous folder-owner delete refusal, focus no-op notifications, nested editor context-only cache check, pending broadcast-first status and ordinary four-confirmation aggregation; preview-source frontmatter pruning, approved local/runtime agent dispatch, non-GitHub legacy PR cache invalidation, stale merged-head transient-error fallback, empty-queue immediate query reply and unverified-to-concrete preflight risk. Additional intentionally retired alarms are injected host subscription/unsubscribe counts, synthetic editor reveal/draft/fallback/scoped close, ambiguous unread refusals and hidden mark/read roundtrip, immediate connect backoff/noError, positive mirrored evidence-clock renewal, supplied VM failure/success projections and git-local/folder-SSH wake permutations. Remaining temporal/ownership cases are narrower; no equivalent replacement or fresh execution is claimed.", + "Audit 3301 combines adopted source batches 3296 and 3299: retire 27 authored declarations and 36 expanded scenarios, including six whole suites. Intentionally lost alarms cover failed-verification/recovery/restart counters and mocked hosting/toast; early overlapping pane-read scheduling/count; unreadable removal listing draft guard; bulk-purge remote-qualified and raw-local guard maps; initial-snapshot blank/mode/oversize/printable/fresh-spawn callback and replay examples; fallback mobile file close and ordinary MRU; default queue overload/drain; seeded browser-page reuse and supplied missing-page URL recreation; ambiguous sleep/hibernation owner refusal and untouched bindings/origins; ordinary selection/activity/fallback priority; skip-remote success and retained hints; supplied structured-chat unsent retention and scoped removal draft eviction; caller-chat focus precedence; open/draft PR cache eviction and merged-head fallback result inventories. Retained adverse-ordering and ownership cases are narrower and do not establish equivalent replacements. No fresh runtime, native, physical provider, cross-platform, mobile or mixed-version evidence is claimed.", + "Audit 3312 composes adopted sources 3302 and 3308: deliberately retires 33 authored declarations and 36 expanded cases, including the whole backend startup-focus, active-browser IPC-close-routing, remote-browser-creation and agent-terminal-presence suites. Intentionally lost alarms cover distinct six-pane reconnect handles; SSH host label/Connect callback, unhydrated visit cleanup, repo cache aliases and hidden worktree/tab/PTY cleanup; adopted-agent startup focus and viewer navigation/reuse; staged, pageless, source, stale and orphan browser-close routing; web local-materialization refusal, desktop incapable-host fallback, failed/thrown remote creation and paired-web sign-in refusal; BOM/NUL and remote/local custom-editor byte-read examples; immediate folder activation and unread clearing; and batching idle/coalescing, accumulated byte ceiling, leading-edge-disabled, standalone synchronous oversize rejection, validation yield, deferred pending-tail order and both viewport-clear examples. The newly reintroduced agent-terminal-presence suite also loses actual terminal-status membership positive and nonterminal-status callback suppression alarms, including the recent 40916 guard regression; the older different 2133 presence-suite history remains historical and receives zero duplicate removal credit. These real regression alarms are intentionally lost. The unchanged survivors provide narrower coverage, with no equivalent replacement or fresh gate, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation claimed.", + "Audit 3318 composes adopted sources 3310, 3313 and 3317: intentionally retires 71 authored declarations and 102 expanded cases, including whole terminal-detach agent-retention, seeded batch/single open-files equivalence, shallow context-menu shortcut-badge, mocked active-workspace delete-dispatch, workspace session hydration, SSH target cleanup, editor session hydration and worktree terminal purge suites. Lost alarms include chained transfer alias and immediate close/exit retention; batch/single divergence, survivor/selection/map preservation and input nonmutation across 400 imperative seeds (one registered case); disconnected pending-handle retry, authoritative absences/close-record shortcut/older-host absence and published-presence/unpublished-frame examples; published empty host-graph omission to pane exit; legacy search ranking/exclusion fallback; provider request upgrade/dedupe/finalizer ownership; asynchronous PR suppression/primary-change and same-number different-repository URL rejection. Deletion routing loses host/instance qualification, paired and legacy mapping, folder ownership, active-versus-hover/menu-row selection, ambiguity, modal/editable/creation/view/main/deleting/missing guards and shortcut advertisement. Unchanged real keyboard/hover/confirmation/catalog E2E remains narrower, not an equivalent replacement. Additional losses include scripted old-host disk/UTF-8/noop/baseline and landed/unlanded lost-reply/replacement-retry outcomes; ordinary/repeated healthy-link reattach; cross-owner terminal/chat binding; oversized replay permanent-unavailable classification; floating reveal keyboard ownership/close/disable/listener disposal; naming/retained-turn/Sleep/error/close/reject status tables; SSH membership prune/new-target-only reads and environment/local bucket isolation; same-frame receipt capacity and positive bare/headless publisher readmission. These actual regression alarms are deliberately lost; no fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed.", + "Audit3335 composes adopted source unions3327/3328 and3330/3332: intentionally retires100 authored registrations/123 expanded cases, including ten whole suites, without equivalent replacement. Lost alarms include seeded host persistence/contention and stale-host cleanup; browser snapshot assembly; mocked wake/DPR callbacks and frame budgets; preflight projections; palette authority/cache suppression, URL intent and saved-title cross-repo collisions; metadata coverage/set patch and dropdown assembly; and removed terminal, worktree, review-refresh and owner-routing examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI/GPU/focus, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain only their original scope.", + "Audit3342 composes adopted source batches3333/3334,3336/3337 and3340/3341: intentionally retires180 authored registrations/263 expanded cases, including seven whole suites, without equivalent replacement. Lost alarms include corrupt editor hydration; mobile editor/diff publication and privacy projections; stale-resubscribe routing; model-picker projection/refetch/retry/fallback; editor check-details and frame property inventories; latched-pane cleanup/quiescence; client create replay identity/options/compatibility; and removed owner, async routing, terminal and layout examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts keep their original scope.", + "Audit3349 composes adopted batches3343,3345 and refreshed3354: intentionally retires234 authored registrations/294 expanded cases, including13 whole suites, without equivalent replacement. Lost alarms include supplied terminal reconnect/replacement/typeahead/mirror/result and snapshot examples; synthetic render-desync persistence/recovery; worktree listing/owner/catalog/lineage/removal and activation/creation examples; host-scoped PR and task-record projections; editor diff/status/comment and UI send-target examples; automation observation/wake, supplied sleep/deadline clock and native-chat completion/notification/relaunch samples; held-tab layout and cleanup/progress guard examples. Retained adverse-ordering and wire-boundary cases are narrower and do not replace all removed alarms. The already-upstream visibility-resume deletion receives zero new removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH, native process/power/GPU, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3359 composes root-adopted source3355/independent3356: intentionally retires130 authored registrations/139 expanded cases, including eight whole suites, without equivalent replacement. Lost alarms include strict create naming/capability/legacy payloads; supplied transport host replacement, deadline reattach, create-handoff and split activation; agent-session fork/clipboard/platform flags; shutdown cleared-scrollback/unmounted bindings; simulator host-collision/selection/shutdown; and removed editor, catalog, mutation, launch and status examples. Retained12 adverse-ordering/state-consequence cases are narrower and do not replace all removed alarms. Two queue absences receive zero removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY, filesystem restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3362 composes root-adopted3358/independent3360: intentionally retires129 authored registrations/140 expanded cases, including four whole suites, without equivalent replacement. Lost alarms include supplied orphan-adoption retry/malformed inventory/cancellation; fake-terminal replay parser/wedge/disposal callbacks; all-host catalog metadata and Windows preferences; host keepalive/protocol/stale/settings failures; and removed exact-stop/suppression, source save lifetime, diff-note queue, rename/editor close, input flood/chunk refusal/limits, purge and creation examples. Retained18 registrations/21 expanded cases protect narrower ownership, generation, dirty-state, queue convergence, encoding and attachment-lease outcomes. No replacement or keeper quota claim. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY/xterm parser, disk restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3368 composes root-adopted3363/3364 and3367/3369: intentionally retires181 authored registrations/196 expanded cases, including28 whole suites, without equivalent replacement. Lost alarms include hibernation attention/liveness/backoff/sequential teardown and inventory, host launch compatibility/legacy/Kimi/resource cleanup, terminal recovery parser/pause/quarantine/remount, window-visibility omission-fence lifetime, launch-option rendered Start, sleeping-resume saved recipe/WSL quoting/cancellation, plus removed project/window/input variants. Additional tiny-suite losses include sentence/label/field/default inventories, credential omission, Windows argument/environment mapping, URI decoding, diagnostics, provider classification and fake-clock callback/parser examples. Retained ten registrations/twelve expanded cases include two literal Unicode Mn/Cf zero-width range guards in the actual character-range algorithm and protect narrower delayed editor bytes/destructive ownership, mounted hidden collision repair, ten transport epochs, duplicate-command refusal, caller timeout typing, executor unknown-opener refusal and failed-chunk user bytes. This broad unit command selects the reduced suite; no fresh runtime, real provider/network/PTY, filesystem restart, native UI, historical import equivalence, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3375 composes root-adopted3370/independent3371 and3373/independent3374: intentionally retires79 authored registrations/84 expanded cases, including39 whole suites, without equivalent replacement. Lost alarms include federation field/parser inventories; Claude rejected-key precedence, credential clone redaction, managed-versus-user hook preservation and CLI defaults; setting/status/activity projections, mocked SSH/notification/reveal/Linear refusal, fake-clock reconnect and noise; image-fold artifact visibility, paste eligibility, setup trust, scripted ACP error-to-journal publication and ligature cache tuple aliasing; plus supplied folder-runner uniqueness, mobile host-overlay/credential/update/preference races, status/markup/title/keyed-row projections, subscriber cleanup, cancellation/close/refusal/link-issue and mirror suppression alarms. Retained3373 merger contiguity, dual-clock overdue-resume exactly-once, rejected-paste IPC sink and annotation schema roundtrip remain bounded. Retained actual HTTP/OSC status composition, destructive sibling-filesystem isolation, external contrast invariant and fixture CSS pixel intervention remain narrower. Original reviewed87authored/92expanded become9/9; current OpenCode suite adds two preserved upstream cases and the synthetic-title suite gained one Cursor policy mock-call case, independently reviewed for removal in root3378; current90/95 become11/11. That Cursor suppression/ready-frame regression alarm is intentionally lost; it does not observe native title ownership or tab flicker. For3370 only the peer was independently blind, with author exposure explicit;3373/3374 both blind pins were verified. This broad root unit command selects the reduced root unit suite; UNIT_INCLUDE excludes mobile tests, which require the existing mobile runner; retained Playwright component-pixel spec uses its separate existing headless fixture runner and is not validated by the broad unit command. No fresh execution, actual agent/shell/provider, OS material/focus, historical import equivalence, mobile, mixed-version or cross-platform evidence is claimed. All dated receipts retain their original scope.", + "Audit3381 composes root-adopted3376/independent3377 and3379/independent3380: intentionally retires436 authored registrations/670 expanded cases, including79 whole suites and12877 test lines, without equivalent replacement. Lost alarms include scheduling, account/host/status/filter/format inventories, microphone/image cleanup, title/bell/capability lifecycle routing, access/impersonation/outcome matrices, paste/input resend/ledger/retention, stale completions/reload containment, trust-read failure and popup OAuth/security/geometry vectors. Retained30 registrations/34expanded cases in22 suites preserve narrower SQLite TEMP/TZ/WAL, HTTP transcript root resume, mobile original-index Choose/Submit, child environment/Git lock expiry, stale ACK/PTY lifetime/peer fairness/durable replay/output ordering, actual DOM paste/editor focus, DEC2026 conservation, filesystem rollback, owned buffer lifetime, actual OSC parser/tracker handback, POSIX Python UTF8/fallback, durable trust concurrency/version, OpenSSH verdicts and hidden Chromium POST/route lifecycle. Mocked boundaries limit claims. Current bounded defining-owner reads preserve the retained oracles; captured identities are not full transitive semantic review. Both component blind pins authenticated before exchange; final reconciliation and explicit postpin3380reason correction supplement control, without retroactive blind claims. Root unit command excludes mobile and separately admitted Electron probes; use existing respective runners. No fresh execution, native focus/device/pixel UI, live SSH/remote, equivalent replacement or broad mixed-version/cross-platform validation is claimed. Prior dated receipts retain exact original scopes.", + "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed.\nOriginal active selector fields (historical raw native JSON values; not current coverage):\ncommands: [\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-unsubscribe-timeout.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/filesystem/watchers/filesystem-watcher.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-native-capacity.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-child-registry.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-child-launch.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-process.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-supervisor-capacity.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-disconnect-termination.test.ts src/main/ipc/filesystem/watcher-process/runtime-watcher-pending-assignment.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-event-delivery.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-local-unsubscribe.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-wsl.test.ts src/main/ipc/worktrees-delete-pty-teardown.test.ts src/main/ipc/worktrees-orphan-directory-cleanup.test.ts src/main/ipc/worktrees-remove-preflight.test.ts src/main/workspaces/removal/watcher-removal-gate.test.ts src/main/runtime/files/watch/orca-runtime-files-watch.test.ts src/main/runtime/workspaces/removal/worktree-teardown.test.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/methods/files/files.test.ts src/main/runtime/rpc/methods/files/files-watch-cancellation.test.ts src/renderer/src/web/web-runtime-client.test.ts src/shared/cross-platform-path.test.ts src/shared/physical-exit-tracker.test.ts src/shared/promise-settlement-waiters.test.ts src/main/ipc/pty/pty-spawn-cwd-fallback.test.ts src/main/providers/local-pty/local-pty-provider-shutdown.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/daemon/pty-subprocess/testing/pty-subprocess.test.ts src/main/daemon/sessions/testing/session.test.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/daemon/terminal-host/testing/terminal-host-session-reaping-leak.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/filesystem/watchers/filesystem-watcher.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-native-capacity.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-child-registry.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-child-launch.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-process.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-supervisor-capacity.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-disconnect-termination.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-event-delivery.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-local-unsubscribe.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-wsl.test.ts src/main/ipc/worktrees-delete-pty-teardown.test.ts src/main/ipc/worktrees-orphan-directory-cleanup.test.ts src/main/ipc/worktrees-remove-preflight.test.ts src/main/workspaces/removal/watcher-removal-gate.test.ts src/main/runtime/files/watch/orca-runtime-files-watch.test.ts src/main/runtime/workspaces/removal/worktree-teardown.test.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/methods/files/files.test.ts src/main/runtime/rpc/methods/files/files-watch-cancellation.test.ts src/renderer/src/web/web-runtime-client.test.ts src/shared/cross-platform-path.test.ts src/shared/physical-exit-tracker.test.ts src/main/ipc/pty/pty-spawn-cwd-fallback.test.ts src/main/providers/local-pty/local-pty-provider-shutdown.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts src/main/daemon/pty-subprocess/testing/pty-subprocess.test.ts src/main/daemon/sessions/testing/session.test.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/daemon/terminal-host/testing/terminal-host-session-reaping-leak.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/filesystem/watchers/filesystem-watcher.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-process.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-disconnect-termination.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-event-delivery.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-local-unsubscribe.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-wsl.test.ts src/main/ipc/worktrees-delete-pty-teardown.test.ts src/main/ipc/worktrees-orphan-directory-cleanup.test.ts src/main/ipc/worktrees-remove-preflight.test.ts src/main/workspaces/removal/watcher-removal-gate.test.ts src/main/runtime/files/watch/orca-runtime-files-watch.test.ts src/main/runtime/workspaces/removal/worktree-teardown.test.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/methods/files/files.test.ts src/renderer/src/web/web-runtime-client.test.ts src/shared/cross-platform-path.test.ts src/main/ipc/pty/pty-spawn-cwd-fallback.test.ts src/main/providers/local-pty/local-pty-provider-shutdown.test.ts src/main/daemon/pty-subprocess/testing/pty-subprocess.test.ts src/main/daemon/sessions/testing/session.test.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/daemon/terminal-host/testing/terminal-host-session-reaping-leak.test.ts --reporter=dot\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-process.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-disconnect-termination.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-event-delivery.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-local-unsubscribe.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-wsl.test.ts src/main/ipc/worktrees-delete-pty-teardown.test.ts src/main/ipc/worktrees-orphan-directory-cleanup.test.ts src/main/ipc/worktrees-remove-preflight.test.ts src/main/workspaces/removal/watcher-removal-gate.test.ts src/main/runtime/files/watch/orca-runtime-files-watch.test.ts src/main/runtime/workspaces/removal/worktree-teardown.test.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/methods/files/files.test.ts src/renderer/src/web/web-runtime-client.test.ts src/shared/cross-platform-path.test.ts src/main/ipc/pty/pty-spawn-cwd-fallback.test.ts src/main/providers/local-pty/local-pty-provider-shutdown.test.ts src/main/daemon/pty-subprocess/testing/pty-subprocess.test.ts src/main/daemon/sessions/testing/session.test.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/daemon/terminal-host/testing/terminal-host-session-reaping-leak.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-process.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-disconnect-termination.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-event-delivery.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-local-unsubscribe.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-wsl.test.ts src/main/ipc/worktrees-delete-pty-teardown.test.ts src/main/ipc/worktrees-orphan-directory-cleanup.test.ts src/main/ipc/worktrees-remove-preflight.test.ts src/main/workspaces/removal/watcher-removal-gate.test.ts src/main/runtime/files/watch/orca-runtime-files-watch.test.ts src/main/runtime/workspaces/removal/worktree-teardown.test.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/methods/files/files.test.ts src/renderer/src/web/web-runtime-client.test.ts src/shared/cross-platform-path.test.ts src/main/ipc/pty/pty-spawn-cwd-fallback.test.ts src/main/providers/local-pty/local-pty-provider-shutdown.test.ts src/main/daemon/sessions/testing/session.test.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/daemon/terminal-host/testing/terminal-host-session-reaping-leak.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-process.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-disconnect-termination.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-event-delivery.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-local-unsubscribe.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-wsl.test.ts src/main/ipc/worktrees-delete-pty-teardown.test.ts src/main/ipc/worktrees-orphan-directory-cleanup.test.ts src/main/ipc/worktrees-remove-preflight.test.ts src/main/workspaces/removal/watcher-removal-gate.test.ts src/main/runtime/files/watch/orca-runtime-files-watch.test.ts src/main/runtime/workspaces/removal/worktree-teardown.test.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/methods/files/files.test.ts src/renderer/src/web/web-runtime-client.test.ts src/shared/cross-platform-path.test.ts src/main/ipc/pty/pty-spawn-cwd-fallback.test.ts src/main/daemon/terminal-host/testing/terminal-host.test.ts src/main/daemon/terminal-host/testing/terminal-host-session-reaping-leak.test.ts\",\n \"pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-process.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-disconnect-termination.test.ts src/main/ipc/filesystem/watcher-process/parcel-watcher-event-delivery.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-local-unsubscribe.test.ts src/main/ipc/filesystem/watchers/filesystem-watcher-wsl.test.ts src/main/ipc/worktrees-delete-pty-teardown.test.ts src/main/ipc/worktrees-orphan-directory-cleanup.test.ts src/main/ipc/worktrees-remove-preflight.test.ts src/main/workspaces/removal/watcher-removal-gate.test.ts src/main/runtime/files/watch/orca-runtime-files-watch.test.ts src/main/runtime/workspaces/removal/worktree-teardown.test.ts src/main/runtime/construction/orca-runtime.test.ts src/main/runtime/rpc/methods/files/files.test.ts src/renderer/src/web/web-runtime-client.test.ts src/shared/cross-platform-path.test.ts\",\n \"pnpm run build:electron-vite\",\n \"node config/scripts/diagnostics/runtime-watchers/runtime-file-watcher-resource-probe.mjs\",\n \"node config/scripts/diagnostics/runtime-watchers/runtime-file-watcher-fault-harness.mjs\",\n \"ELECTRON_RUN_AS_NODE=1 pnpm exec electron config/scripts/diagnostics/runtime-watchers/runtime-file-watcher-fault-harness.mjs\",\n \"pnpm exec vitest run --config config/vitest.config.ts\"\n ]\ntestFiles: [\n \"src/main/daemon/providers/adapter/testing/daemon-pty-adapter.test.ts\",\n \"src/main/ipc/filesystem/watchers/filesystem-watcher.test.ts\",\n \"src/main/ipc/filesystem/watchers/filesystem-watcher-native-capacity.test.ts\",\n \"src/main/ipc/filesystem/watcher-process/parcel-watcher-child-registry.test.ts\",\n \"src/main/ipc/filesystem/watcher-process/parcel-watcher-child-launch.test.ts\",\n \"src/main/ipc/filesystem/watcher-process/parcel-watcher-process.test.ts\",\n \"src/main/ipc/filesystem/watcher-process/parcel-watcher-unsubscribe-timeout.test.ts\",\n \"src/main/ipc/filesystem/watcher-process/parcel-watcher-supervisor-capacity.test.ts\",\n \"src/main/ipc/filesystem/watcher-process/parcel-watcher-disconnect-termination.test.ts\",\n \"src/main/ipc/filesystem/watcher-process/runtime-watcher-pending-assignment.test.ts\",\n \"src/main/ipc/filesystem/watcher-process/parcel-watcher-event-delivery.test.ts\",\n \"src/main/ipc/filesystem/watchers/filesystem-watcher-local-unsubscribe.test.ts\",\n \"src/main/ipc/filesystem/watchers/filesystem-watcher-wsl.test.ts\",\n \"src/main/ipc/worktrees-delete-pty-teardown.test.ts\",\n \"src/main/ipc/worktrees-orphan-directory-cleanup.test.ts\",\n \"src/main/ipc/worktrees-remove-preflight.test.ts\",\n \"src/main/workspaces/removal/watcher-removal-gate.test.ts\",\n \"src/main/ipc/pty/pty-spawn-cwd-fallback.test.ts\",\n \"src/main/providers/local-pty/local-pty-provider-shutdown.test.ts\",\n \"src/main/daemon/pty-subprocess/testing/pty-subprocess.test.ts\",\n \"src/main/daemon/sessions/testing/session.test.ts\",\n \"src/main/daemon/terminal-host/testing/terminal-host.test.ts\",\n \"src/main/daemon/terminal-host/testing/terminal-host-session-reaping-leak.test.ts\",\n \"src/main/runtime/files/watch/orca-runtime-files-watch.test.ts\",\n \"src/main/runtime/workspaces/removal/worktree-teardown.test.ts\",\n \"src/main/runtime/construction/orca-runtime.test.ts\",\n \"src/main/runtime/rpc/methods/files/files.test.ts\",\n \"src/main/runtime/rpc/methods/files/files-watch-cancellation.test.ts\",\n \"src/renderer/src/web/web-runtime-client.test.ts\",\n \"src/shared/cross-platform-path.test.ts\",\n \"src/shared/physical-exit-tracker.test.ts\",\n \"src/shared/promise-settlement-waiters.test.ts\",\n \"config/scripts/diagnostics/runtime-watchers/runtime-file-watcher-fault-harness.mjs\",\n \"config/scripts/diagnostics/runtime-watchers/runtime-file-watcher-resource-probe.mjs\"\n ]\nassertionRefs: [\n {\n \"file\": \"src/main/ipc/filesystem/watchers/filesystem-watcher.test.ts\",\n \"assertions\": [\n \"a transient WSL child-capacity rejection automatically retries on release and renderer unwatch cancels the wait\",\n \"failed SSH worktree removal restores every live renderer listener, emits overflow, and resumes precise events\"\n ]\n },\n {\n \"file\": \"src/main/ipc/filesystem/watchers/filesystem-watcher-native-capacity.test.ts\",\n \"assertions\": [\n \"typed native child-capacity exhaustion automatically retries after a serialized slot release\",\n \"renderer unwatch cancels a pending native capacity retry before subscription restarts\"\n ]\n },\n {\n \"file\": \"src/main/ipc/filesystem/watcher-process/parcel-watcher-child-registry.test.ts\",\n \"assertions\": [\n \"capacity notification closes the release-before-listen race and serializes reserving waiters per released slot\"\n ]\n },\n {\n \"file\": \"src/shared/physical-exit-tracker.test.ts\",\n \"assertions\": [\n \"timed-out physical-exit waiters detach while active and later retries still settle on exact exit\"\n ]\n },\n {\n \"file\": \"src/shared/promise-settlement-waiters.test.ts\",\n \"assertions\": [\n \"an actual timed-out waiter rejects while a remaining waiter resolves and pending timers are cleared on settlement\",\n \"an already-aborted caller rejects and invokes its ownership-abandon callback\"\n ]\n },\n {\n \"file\": \"src/main/ipc/filesystem/watcher-process/parcel-watcher-process.test.ts\",\n \"assertions\": [\n \"initial-subscribe crashes complete with an interruption refresh\",\n \"watch errors before readiness reject setup and physically cancel the native crawl\",\n \"watch errors during replacement crawl terminate recovery and a late readiness ack cannot revive the failed root\",\n \"IPC disconnect recovery restores every existing root before accepting new setup\",\n \"queued abort removes one request without restarting healthy roots, while active abort or crawl-scoped timeout restores the shard\",\n \"a crash-resubscribe crawl deadline and concurrent unsubscribe settle only after physical shard exit, or report physical-exit failure at the termination deadline\",\n \"a close-only asynchronous spawn failure settles physical termination without waiting for the exit deadline\",\n \"production runtime-pool disposal rejects later subscriptions without forking an overlapping child\",\n \"missing built entries fail closed\"\n ]\n },\n {\n \"file\": \"src/main/ipc/filesystem/watcher-process/parcel-watcher-unsubscribe-timeout.test.ts\",\n \"assertions\": [\n \"a canary-independent native-unsubscribe deadline restarts the shard and restores healthy siblings after physical child exit\",\n \"an unkillable child rejects the native unsubscribe with its retained physical-exit promise only at the bounded exit deadline\"\n ]\n },\n {\n \"file\": \"src/main/ipc/filesystem/watcher-process/parcel-watcher-supervisor-capacity.test.ts\",\n \"assertions\": [\n \"one released physical slot launches one shared supervisor child for every waiting root, while partial/all cancellation and disposal remove the shared capacity barrier\",\n \"a waiter recursively re-enters the event-driven barrier when crash recovery reclaims its announced slot\"\n ]\n },\n {\n \"file\": \"src/main/ipc/filesystem/watcher-process/parcel-watcher-disconnect-termination.test.ts\",\n \"assertions\": [\n \"pending-crawl cancellation after disconnect remains pending until the exact child exits\",\n \"ready and pending-crawl cancellation force disconnected-child exit even while a healthy sibling root remains\",\n \"a cancellation deadline joins active disconnect termination without duplicate sibling resubscription\",\n \"an exit-deadline failure replaces the early cancellation and remains visible to synchronous unsubscribe until physical exit\"\n ]\n },\n {\n \"file\": \"src/main/ipc/filesystem/watcher-process/runtime-watcher-pending-assignment.test.ts\",\n \"assertions\": [\n \"10,000 cancelled quarantine-assignment callers leave exactly one live anchor and zero waiters after grant\",\n \"an already-aborted first caller synchronously releases pending assignment ownership\"\n ]\n },\n {\n \"file\": \"src/main/ipc/filesystem/watchers/filesystem-watcher-local-unsubscribe.test.ts\",\n \"assertions\": [\n \"worktree deletion physically aborts pending native setup and settles before its crawl resolves\",\n \"a cancelled pending install retains physical-exit failure across an immediate second destructive close\",\n \"desktop terminal failure remains root-owned even when the cleared subscription later unsubscribes cleanly\",\n \"Windows event payloads retain the physical root spelling instead of the comparison key\",\n \"failed local worktree removal restores every live renderer listener and emits overflow\"\n ]\n },\n {\n \"file\": \"src/main/runtime/files/watch/orca-runtime-files-watch.test.ts\",\n \"assertions\": [\n \"Windows runtime cleanup waits for the native close event, fails closed at a bounded deadline, and clears retained ownership on late close without retry listeners\"\n ]\n },\n {\n \"file\": \"src/main/runtime/workspaces/removal/worktree-teardown.test.ts\",\n \"assertions\": [\n \"overlapping runtime, provider, and registry sweeps stay behind one physical PTY-stop promise\",\n \"destructive teardown rejects instead of releasing deletion when physical stop misses its deadline\",\n \"cwd-owned and floating PTYs are swept while legacy rows without cwd retain prefix ownership\",\n \"remote provider enumeration matches authoritative worktree ownership without touching the local-only registry\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/methods/files/files.test.ts\",\n \"assertions\": [\n \"terminal watcher loss flushes a final overflow change before error/end and unregisters cleanup\"\n ]\n },\n {\n \"file\": \"src/main/runtime/rpc/methods/files/files-watch-cancellation.test.ts\",\n \"assertions\": [\n \"the server publishes a cleanup token before ready and files.unwatch aborts pending setup without delivering queued crawl events\"\n ]\n },\n {\n \"file\": \"src/shared/cross-platform-path.test.ts\",\n \"assertions\": [\n \"POSIX literal backslashes preserve containment and relative identity\",\n \"Windows drive and UNC roots enforce containment\",\n \"WSL Linux-tail comparisons remain case-sensitive and relative suffix bytes remain exact\"\n ]\n },\n {\n \"file\": \"src/renderer/src/web/web-runtime-client.test.ts\",\n \"assertions\": [\n \"a stopped pre-ready paired-web watch retains its callback beyond the former deadline and uses the early server token to unwatch\"\n ]\n },\n {\n \"file\": \"config/scripts/diagnostics/runtime-watchers/runtime-file-watcher-resource-probe.mjs\",\n \"assertions\": [\n \"five healthy roots share one exact watcher PID within the per-child RSS budget\",\n \"four quarantine roots use exactly four child PIDs and remain within the global eight-child reservation cap\",\n \"CPU and RSS are sampled for every exact child PID and every PID exits during cleanup\",\n \"per-child and aggregate RSS and sampled CPU ceilings fail the probe before the physical child cap can hide excess resource use\"\n ]\n },\n {\n \"file\": \"config/scripts/diagnostics/runtime-watchers/runtime-file-watcher-fault-harness.mjs\",\n \"assertions\": [\n \"the built watcher entry delivers an event before fault injection\",\n \"the harness parent survives watcher-child SIGSEGV\",\n \"the real supervisor automatically replaces the child, resubscribes, and delivers a post-crash event\"\n ]\n }\n ]", + "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The retained runtime registration driver loses three complete imported fragments: changed-working-label title facts and suppressed-frame tracked snapshots; refusing SSH GitLab MR-base lookup before local Git/glab calls; and missing folder-workspace path creation/update refusal before spawn/store mutation. These alarms are intentionally lost. Other imported fragments and separately rooted dated receipts are unchanged; they are not equivalent replacement coverage. The broad root-unit command loses the UNIT_INCLUDE src/ subset of retired examples; mobile is outside UNIT_INCLUDE. Other lost alarms are recorded by the adopted per-case source reviews. Original scope text is retained as the exact suffix of coverageNotes/oracle; historical evidence is unchanged.", + "Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Broad root-unit discovery loses35WSL examples,22STT examples,22shared-server-banner examples,18clipboard-handler examples (whole suite deleted),14VM lifecycle examples and16commit-message cancellation examples. Retain4WSL and7STT mocked connector/worker cases,1rendered stale-banner refusal,2VM guard/failed-compensation cases and1late-stream ownership cancellation case; real WSL/microphone/remote-provider proof is not established. Separately discovered e2e-unit drivers lose13cross-version-wire local cases and15mobile active-publication cases, keeping same-process disk-reopen/new-host cursor content/epoch/sequence outcomes and a host/renderer-snapshot selection and inventory revision race respectively. Imported released stop-note scenarios remain unchanged and receive no duplicate credit. Cloud suites are outside root UNIT_INCLUDE. All previous note strings, dated receipts, archived raw receipts and prior gap entries retain their original scopes.", + "Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. Broad root-unit discovery loses naming/title/queued-host fixtures, main-window focus-shortcut and attach-services mock orchestration, Git Bash console-capacity fake process inventories, most real-Git preparation/locking variants and Claude/Codex catch-up examples. Keep lifetime rejected-writer followed by late termination proof and autonomous real-checkout cleanup; two-row real-Git rollback after a real move preserving a replacement/admin marker or revoked permission; a live translator write during a held transcript read fencing stale Claude history append; and Codex expected-item revision rejection before a historical writer shim. Codex driver registers retained bounds exactly once with original inputs; bounds does not prove modern writer persistence. Accepted changed-lock preflight sentinel and omitted-parent routing losses are not replaced. All earlier notes and dated/archived evidence retain original scopes.", + "Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted mock orchestration, refusal, restart and storage examples. Retain unchanged two-phase real-WSL deployment/survival, the reduced idle-release holder proof without restart/first-output measurement, real worker stop/release cleanup barrier rows, physical Git branch-preservation rows, and SSH disconnected-close proof. Other SSH and CLI variants and WSL telemetry/warmup churn are intentionally removed. Earlier notes and dated/archived evidence retain original scopes.", + "Audit3429 composes root-adopted3426/independent3427: intentionally removes168 authored/205 potential expanded cases across16 semantic sources, deleting11 whole suites and one304line unused assertion helper. Five authored/five potential cases remain; the duplicate500k graph row is dropped while its50k row and callback remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted migration/recovery/federation/rich-draft/paste/automation/mobile/catalog examples. Keep server-edit preservation during migration, native supervised cancellation holding the agent home until physical stop, pagehide lost-text preservation, graph old-result WRAPPER WeakRef collection with50k rows, and mobile React render isolation. The WeakRef does not prove all commit objects are collectible or a memory budget. All prior notes and dated/archived evidence retain original scopes.", + "Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses reduced or deleted relay, coordinator mail, recovery watchdog, automation observer, launch picker, folder PTY, profile restart, web migration, retirement, pointer delivery, agent-row and run-bound mailbox examples. Retained checks cover relay hello/payload and SIGTERM drain, coordinator pending-check and clear-to-Run continuity, profile persistence, the full six-row web merge table and real run-bound delivery waiter. These do not replace removed alarms. All prior notes and dated/archived evidence retain original scopes.", + "Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit and mobile discovery loses interrupt/wake registrars, task storage/session-close/account snapshot hooks, permission tables, copy/preference/model-discovery/composer examples, launch placement examples, VM projections and extra mobile-history scenarios. Retained checks cover abandoned versus dispatched fork uncertainty; /fast dispatch supersession; discovery lock release after exit; stale-send draft preservation; OSC status lifetime; future-version file preservation; launch cancellation before/during dispatch on both layout owners; mobile resume addressability before hooks; and recipe snapshot cleanup after plugin removal. The paired browser-link Electron source is unchanged. Terminal launch seams, mobile roles-only history and injected provider results do not establish native terminal destruction, transcript text fidelity or real remote provider cleanup. All prior notes and complete dated receipts retain their original scopes.", + "Audit3451 composes ROOT-adopted3444/independent3445: intentionally removes101 authored registrations across16 reviewed sources, deleting7 whole suites and reducing8; one reviewed source is unchanged. Fresh main has123 authored registrations before and22 after because an upstream direct-child shell regression remains verbatim with zero removal credit. Registered removals are100+7*S and explicit-active removals99+7*S, where S is the unprobed count0..3 of admitted bash/zsh/fish shells. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses extra stream lifecycle/forwarding examples, unreadable-store/cache projections, orchestration presentation/benchmark cases, remote-owned routing matrices, mobile legacy navigation and model-catalog listing/cache examples. Whole suites retire renderer client-event projections, manually assembled structured-session reader ownership, mobile prompt presentation, renderer AI-vault resume commands, mobile Jira URL lookup, composer retention and mobile folder source-repository queries. Retained checks preserve original stream/store/orchestration/routing/navigation/catalog cases and shell behavior, including the upstream direct-child case. No real provider, native desktop or mobile acceptance is established by this reduction. All prior notes, assertion references and complete dated receipts retain their original historical scopes.", + "Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. Broad unit discovery intentionally loses whole trust-dialog observer, background-turn notifications, redirected session refusal, typed-agent identity, chat-tab lifetime-cost, model-manager and mobile diff-review controller suites, plus individual persistence, synthetic composition, pairing, manifest and subprocess samples. Retain deferred snapshot dirty-domain persistence, two direct editor ownership cases, stream counter-domain distinction, two persisted pairing identity cases, parser entrypoint asymmetry, dictation retry and process-group timeout; paired restart and packaged old-binary/corrupt-profile journeys remain in their E2E driver scope. Retained checks do not replace removed alarms. No fresh execution, native IME/microphone, real authentication, mixed-version/platform or performance result is claimed. All prior notes and archived receipts retain original scopes.", + "Audit3460 final-v2 composes accepted AUTHOR3454/PEER3455 on actual post263 main: intentionally removes99 authored/106 potential expanded cases across16 selected drivers, including7 whole suites, retaining24 authored/26 potential cases. No equivalent replacement or fresh runtime is claimed. Broad root-unit discovery loses whole cross-client workspace-sync, terminal-preview, picker-skill-hint and close-routing suites plus reduced worker-stop, remote-owned-record, scanner, mobile-bundle and daemon-health samples. Separate E2E discovery also loses the paired mobile/desktop mirror journey and two unit drivers. Retained callback/table/outer-loop/guard bytes are exact; retained checks do not replace the removed alarms. No app, native device, mixed-version, remote or cross-platform execution result is claimed. Earlier notes, complete dated receipts and archived gaps retain their original scopes.", + "Audit3468 accepted source proposal AUTHOR3462/PEER3463, composed privately by audit3469: removes62 authored registrations/95 finite potential expansions, including5 whole suites, retaining25 authored registrations/29 finite potential expansions. ROOT approved source value; no equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses the profile-state worker smoke, worker-agent views and three search discovery suites, plus samples from node-server qualification, skill-bundle generation, CLI hooks/profile/recovery/offline admission, permission-hook holds and search indexing. The separate Cloud relay runner loses one relay blackbox sample; unchanged mobile native-chat and dependent-transcript drivers remain. Retained source callback/table/ancestor/fixture bytes bind to the sealed candidate. No physical-device, mixed-version, remote, cross-platform or app execution result is claimed. Earlier notes, complete dated receipts and archived gaps retain their original scopes.", + "Audit3438 composes ROOT-adopted3434/independent3436: intentionally removes60 authored/62 potential expanded cases across16 sources, deleting9 whole suites. Eight authored/eight potential cases remain; delete the102line unused ACP fixture and57line unused teardown helper with zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses ACP model-catalog fixtures, resume-record projections, dashboard mock payload/state cases, mobile folder/launch/session examples and dictionary pipeline rows. Selected E2E removals also retire auto-conversion and golden-core journeys and one Windows CLI conversion registration. Retain ACP reply text across a resumed subagent, both VAD checks, focused tab send ownership, async focus ownership in happy-dom, the question-skip journey, the original managed Windows CLI lifecycle journey and dictionary substitution. These checks do not replace the removed alarms. All prior notes and dated/archived evidence retain original scopes.", + "Audit3470 composes ROOT-approved AUTHOR3466/PEER3467 source proposal: intentionally removes38 authored registrations/59 finite potential expansions, including8 whole registering suites, retaining13 authored registrations/18 finite potential expansions. The sole dead shell-recipe caller cleanup has zero additional test credit. No equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses process-import boundary, Korean/Japanese locale policy, worker-reset, mobile agent-history/queued-message and median-summary suites, plus packaged mobile-manifest, worker-pool fixture, HTML preview, mobile shell and terminal samples. The environment-provider contract and its sole shell-recipe caller are deleted. Separate cross-version-wire discovery loses the large byte-budget fresh-snapshot/replay sample while retaining independent live same-revision note publication; the retained terminal stale-refresh and dirty HTML draft persistence checks do not replace removed alarms. The source4 unused start/stop fixture hooks are removed; its retained nested failed-import test remains byte-exact with its own lifecycle. Unchanged SVG preview and Git-resolution registrations stay intact. Root balanced CI excludes the cross-version directory, which has a separate job; unbalanced root discovery can include its parent. No native app/device, actual remote, released-pair interoperability or cross-platform execution result is claimed. Earlier notes, complete dated receipts and archived gaps retain their original scopes.", + "Audit3492 composes ROOT-approved75(AUTHOR3475/PEER3476 and AUTHOR3485/PEER3481, including five-field clarification and zero-credit selector3483) plus123(AUTHOR3486/PEER3487 reconciled FINAL3491, including peer case10:3 and9:0 wording clarifications). It intentionally removes198 authored registrations/232 finite literal-table potential registrations across70 changed JS/TS test sources, including45 whole suites;87 authored/90 finite potential registrations remain across95 reviewed JS/TS bodies. One mobile native-suspension manual recipe and the now-unreferenced GitLab mock fixture helper are separately removed with zero registration credit. Static literal table potential is not execution. No equivalent replacement, fresh runtime result or merge credit is claimed. Earlier135 complete dated receipts, all raw gaps and full prior98/161/history notes retain their exact scopes and bytes. The additional123 retirement accepts loss of mocked GitLab request/error/identity/classification inventories; basic Linear migration and metadata discovery; simulated OpenCode key failed-save retention/retry/log redaction; analytics identity-flush smoke that did not prove ordering; AppImage static entry guards and empty-staging cleanup; GPU/process/minidump breadcrumb/annotation shapes and weak redaction oracles; namespace/status/foreign-launcher ownership guards and persistence roundtrips; profile transfer field projections; worker hook/screen/incarnation/result admission/classification guards; and source-coupled CLI transaction fixtures. Privileged publication failure injection was a false-positive: its mkdir regex missed -m 700 and outer rejection accepted an inner assertion before any shell ran. The identity-flush case awaited identity after flush and could pass despite early flush. Retained actual negative-token cache recovery, SQL filter-before-LIMIT open approval, unreadable-root FTS preservation/degradation, latest-connect-wins persistence, worker stop-debt settlement, unmodified same-inode foreign-content transaction, explicit incomplete-pagination error, FTS own-message snippet association, filter-before-route result and bounded-search truncation honesty are distinct bounded outcomes, not replacements for retired alarms. Case9:0 checks both roots before chmod but only mounted-session/degraded-root after chmod. Entire extraction-root suite is removed; no retained extraction cleanup is claimed. Removing the manual iOS foreground-stall shell script loses its unique real native-suspension recipe; timer tests do not replace it. First-match PIDs, indefinite waiting, broad success matching and absent trap cleanup made that diagnostic brittle and able to leave a desktop stopped. The current Windows operational driver remains byte-exact, preserving already-merged removal of orcad-convert and orcad-cli-convert selectors and the retained cmd/powershell/managed CLI lanes. The package skill-sharing release selector loses only the exact already-retired skills-suite token; no extra test credit. Included approved75 retirement account follows (historical proposal labels identify provenance; final198 counts above control): Audit3488 composes ROOT-approved source49(AUTHOR3485/PEER3481, including its immutable five-field clarification) and source26(AUTHOR3475/PEER3476): intentionally removes75 authored registrations/87 finite potential registrations across35 changed sources, including25 whole suites;35 authored/36 finite potential registrations remain in the combined reviewed scopes. Literal table potential counts are not executions. This source-only reduction has no equivalent replacement, fresh runtime result or merge credit. Root unit discovery deliberately loses entire message-row filtering/chunk reconstruction, discussion-pagination rejection passthrough, Linear bearer/stack redaction, new-profile telemetry/default/existing-JSON no-op, WSL user-trigger routing, terminal-delivery refusal, native-chat worker-approval UI, followup-paste routing, live-surface tombstone refusal, activity-bar hydration, fabricated approval-caller policy, child-PATH transformation and branch-review URL/identity suites. It also loses cache roundtrip/mode/fingerprint/fallback/no-op samples; GPU field-shape privacy examples; older auth-probe failure retention; orphan SQLite-sidecar/future-schema admission; usage tie/duplicate/composite-key examples; allocation-name sanitizer/unknown-prefix examples; real worker-and-backup preflight wrapper smoke; and JSONL descriptor-loop truncation. The discussion page contained id-only discussions without notes, so its rejection did not prove a nonempty notes-prefix oracle. The preflight did launch actual worker/backup entrypoints with production internal self-validation; removing its revision/version wrapper deliberately retires that real-entry smoke alarm. The skipped-prefix JSONL keeper rewrites/grows after collecting the suffix and before final validation, not concurrently during parsing. Retained queue rejection/recovery and held/drain mechanisms, recorder nonsettling-provider deadline, corrupt authoritative-DB refusal, legacy cache split migration, merge-added-row indexing, external-frame redaction, and pinned JSONL read/verification/mutation checks are bounded concrete oracles, not equivalent replacements for retired alarms. The full cloud relay cohort/ceiling/control suite is separately removed from the relay package runner, outside root unit discovery; no cloud runtime result is claimed. The Python computer-use benchmark remains unchanged tooling with zero authored/removal credit; no native benchmark trial ran. The package skill-sharing release selector drops only the exact already-deleted skills-suite token, with zero additional removal credit. Prior dated receipts, raw gaps, and complete earlier161/98/history notes remain exactly at their original scopes; no changed-source historical receipt becomes fresh reduced-suite evidence. Included approved26 alarm account: Broad root-unit discovery loses entire ref-label string, hostile/malformed CSV-link rendering, Codex filename-discovery, mocked paged-preview postscan mutation, usage path-containment, real symlink-ancestor, Codex skip RPC, local/remote inference routing, width-preference, and synthetic workspace-document input suites. It also loses the hand-assembled sorted CSV edit example, connect-time JPEG seed and invalid AVCC guard samples, and eight-record/64KiB detector boundary cases. The symlink suite exercised actual kernel traversal; its lost ancestor alarm could omit supplemental local editor watches and leave content stale, not bypass authorization. Retained linked stream cancellation, preview-only save fence, failed-flush dirty-draft preservation, clipboard byte/edit preservation, fragmented AVCC parsing and independent quoted-CSV interpretation checks do not replace these deliberately retired alarms. The stream fixture uses an in-memory source and does not establish actual fd cleanup; editor save endpoints are synthetic, browser events are synthetic, and no native focus, actual remote delivery, real disk write, cross-platform execution or interoperability is claimed. Earlier complete dated receipts, raw known gaps and previous notes are historical evidence at their original source/selector scope, not fresh evidence for this reduced suite. Earlier notes, complete dated receipts and archived gaps retain their original scopes." ], "demotionRule": "Demote or quarantine if the fault harness flakes without a product or harness bug, if healthy operation exceeds one runtime watcher child, if total physical operation exceeds eight children including retiring generations, if quarantine children outlive their roots or repeat after fusing, if event delivery becomes unbounded, or if metadata/stat work returns to the serve process." }, @@ -13958,7 +13602,7 @@ "providers": ["local-daemon", "ssh-daemon", "paired-runtime"], "coveredPlatforms": ["macos"], "coveredProviders": ["local-daemon", "paired-runtime"], - "coverageNotes": "Audit1939 (sources1934/1935): Pruned cold-parking hook and parked-watcher suites retain local timer/selection/split and exit/cancel/disposal progression. Lose supplied capability/eligibility/topology/admission and duplicate state examples recorded below. No assertion objects map to these sources here; preserve independent actual E2E receipt scopes without transferring their results to reduced units. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1623 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic policy and multiplex tests separate renderer parking from authoritative stream liveness, while runtime-graph tests cover exact parked leaf, pane runtime ID, title, multi-pane active-leaf, disposal behavior, and queued split routing to an exact cold-parked tab. A real Electron journey runs the shipped dev CLI against the app's isolated profile, proves the exact parked target alone remounts under a bounded lease, completes before the historical 10-second timeout without stealing active tab or focus, re-parks, then reveals two stable-identity panes with independent keyboard/output round trips. Focused mirror-recovery tests preserve a verified binding across pending-handle snapshots, quarantine positive PTY-identity mismatches, accept authoritative ready replacement or removal, and fence recovery to the pairing revision. Daemon attach-only tests prove a replacement runtime re-registers one active session and one history writer. Headed cold-park and headless runtime-restart paired journeys prove rendered output, input, resize convergence, process identity, authoritative close, checkpoint continuity, and post-restart history append against real daemon PTYs. The parked-leaf graph fixture now retains only PTY exit during the park handoff gap. Its standalone exact leaf/title, multi-pane active-leaf and disposal assertions were removed. web-runtime-session.test.ts no longer supplies the eager worktree-switch/post-create recovery assertion. Those alarms are lost; the remaining cold-park and recovery journeys do not establish equivalent replacement coverage. Recovery references retain old-host-to-new-tab mirroring, adoption/list recovery, blocked local ownership changes, coalescing/overtaking/global concurrency, adoption-conflict serialization and pane-resolution retries. Stable unsupported/malformed adoption tables, supplied inventory/topology/identity and verified-binding shape examples were removed. Their separate alarms are lost; remaining compositions are not equivalent coverage. Historical executed commands and results remain historical. The separate Unsubscribe-to-raw-subscriber-veto-clear sample was removed. Its exact raw-presence transition alarm is lost; remaining fake-provider streaming/attachment checks and real paired journeys do not establish equivalent replacement coverage. The deterministic second subscription is a second live connection, not a disconnect/reconnect proof. Audit1292: The entire orphan-inventory retry suite is removed. Unchanged-snapshot retry for temporarily absent, pending or attached PTYs, live-binding preservation, and consecutive-absence confirmation reset after a ready frame are lost. Mock adoption/list behavior and assembled snapshot handling did not establish actual orphan adoption or equivalent replacement coverage. Audit1342: src/renderer/src/runtime/web-session-terminal-orphan-recovery-regressions.test.ts reduced. Exact global RPC concurrency4/counts for fabricated worktrees. No equivalent replacement coverage is claimed.", + "coverageNotes": "Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. The paired serve-restart file loses only the expensive automation-run-ID restart case. Its original terminal journey remains byte-identical: daemon/fixture process identity survives replacement serve, keyboard/output/grid/history/checkpoint converge and authoritative close removes the binding. LAYOUT_OWNER_BUILD gates its pending-handle assertion. Existing dated receipt objects and assertion references retain their original terminal-journey scope and provide no fresh validation of the reduced file selector. Audit3362 retires the whole orphan-recovery adoption-regressions suite, including thrown-adoption/post-adoption malformed or unavailable retries, prior-binding preservation, projected sibling retirement merging and blocked local-close/group-move fencing. Its compound unit token, test-file entry and assertion reference are removed. Injected inventory/adoption projections did not demonstrate usable input delivery. Two unrelated macOS E2E receipts remain verbatim; no equivalent replacement or fresh runtime/PTY/provider/UI/mobile/mixed-version/cross-platform evidence is claimed. Audit 3318 reduces web-session-terminal-pending-handle-recovery.test.ts, intentionally retiring disconnected retry, two-authoritative-absence retirement, explicit close-record short circuit, older-host disconnected absence, positive published-presence protection and unpublished-frame no-count alarms. Remove only the disconnected-retry assertion alias; preserve transient-retry assertion and both unchanged active Electron receipts. The remaining absence-reset interleaving is narrower, not an equivalent replacement for these six removed cases. Historical receipts retain their original scope. No fresh runtime, host/PTY/network, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit1939 (sources1934/1935): Pruned cold-parking hook and parked-watcher suites retain local timer/selection/split and exit/cancel/disposal progression. Lose supplied capability/eligibility/topology/admission and duplicate state examples recorded below. No assertion objects map to these sources here; preserve independent actual E2E receipt scopes without transferring their results to reduced units. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): Audit1623 removes low-value mocked daemon projections, scalar tables and duplicate terminal examples without equivalent replacement coverage. Per-source reviews record retained terminal content preservation, process ownership refusal and recovery boundaries together with injected/native/remote limits. Affected historical receipts are retired; gates without active current evidence are downgraded. Historical scope before this audit: Audit1342 changes referenced sources. Retained unchanged-source receipts apply only to their unchanged commands; the reduced selectors have no new execution result. Historical coverage account (not a current claim for changed sources): Deterministic policy and multiplex tests separate renderer parking from authoritative stream liveness, while runtime-graph tests cover exact parked leaf, pane runtime ID, title, multi-pane active-leaf, disposal behavior, and queued split routing to an exact cold-parked tab. A real Electron journey runs the shipped dev CLI against the app's isolated profile, proves the exact parked target alone remounts under a bounded lease, completes before the historical 10-second timeout without stealing active tab or focus, re-parks, then reveals two stable-identity panes with independent keyboard/output round trips. Focused mirror-recovery tests preserve a verified binding across pending-handle snapshots, quarantine positive PTY-identity mismatches, accept authoritative ready replacement or removal, and fence recovery to the pairing revision. Daemon attach-only tests prove a replacement runtime re-registers one active session and one history writer. Headed cold-park and headless runtime-restart paired journeys prove rendered output, input, resize convergence, process identity, authoritative close, checkpoint continuity, and post-restart history append against real daemon PTYs. The parked-leaf graph fixture now retains only PTY exit during the park handoff gap. Its standalone exact leaf/title, multi-pane active-leaf and disposal assertions were removed. web-runtime-session.test.ts no longer supplies the eager worktree-switch/post-create recovery assertion. Those alarms are lost; the remaining cold-park and recovery journeys do not establish equivalent replacement coverage. Recovery references retain old-host-to-new-tab mirroring, adoption/list recovery, blocked local ownership changes, coalescing/overtaking/global concurrency, adoption-conflict serialization and pane-resolution retries. Stable unsupported/malformed adoption tables, supplied inventory/topology/identity and verified-binding shape examples were removed. Their separate alarms are lost; remaining compositions are not equivalent coverage. Historical executed commands and results remain historical. The separate Unsubscribe-to-raw-subscriber-veto-clear sample was removed. Its exact raw-presence transition alarm is lost; remaining fake-provider streaming/attachment checks and real paired journeys do not establish equivalent replacement coverage. The deterministic second subscription is a second live connection, not a disconnect/reconnect proof. Audit1292: The entire orphan-inventory retry suite is removed. Unchanged-snapshot retry for temporarily absent, pending or attached PTYs, live-binding preservation, and consecutive-absence confirmation reset after a ready frame are lost. Mock adoption/list behavior and assembled snapshot handling did not establish actual orphan adoption or equivalent replacement coverage. Audit1342: src/renderer/src/runtime/web-session-terminal-orphan-recovery-regressions.test.ts reduced. Exact global RPC concurrency4/counts for fabricated worktrees. No equivalent replacement coverage is claimed.", "motivatingLinks": [ "https://linear.app/stably/issue/STA-2854", "https://github.com/stablyai/orca/pull/15514", @@ -13966,9 +13610,9 @@ "https://github.com/stablyai/orca/issues/17297" ], "invariant": "Cold parking or restarting a host renderer/runtime never retires a live PTY's runtime-graph leaf, erases a paired viewer's last verified leaf binding merely because the host temporarily publishes pending-handle, or drops the surviving PTY's history writer. A split request for a cold-parked tab replays against its stable source leaf after exact-tab remount without switching workspaces or focusing the tab. The paired stream, input, resize, pane identity, multi-pane routing, checkpoint, and output log converge to the authoritative ready handle; the binding clears only after positive replacement, mismatch, or two consecutive authoritative absence observations without an intervening ready surface.", - "oracle": "Audit1939 (sources1934/1935): Pruned cold-parking hook and parked-watcher suites retain local timer/selection/split and exit/cancel/disposal progression. Lose supplied capability/eligibility/topology/admission and duplicate state examples recorded below. No assertion objects map to these sources here; preserve independent actual E2E receipt scopes without transferring their results to reduced units. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Cold-park a host-owned pane while a paired client actively views it, require the host manager to unmount, then type through the client and require the same PTY to receive and echo the token without any disconnected sample. Restart a real pinned-port headless runtime while its daemon PTY survives, observe a pending-handle snapshot, require the viewer binding never to become empty, then require rendered output, focused keyboard input, a post-recovery window resize, the pre-restart checkpoint, and post-restart output-log append to reach the same PTY and process before authoritative close clears the binding. Invoke the real `orca-dev terminal split` against a cold-parked renderer-owned tab, require only that tab to acquire and release the existing background-mount lease, complete before the historical timeout, preserve the active worktree/tab/focus, then reveal two rendered panes and type through each while retaining the stable source leaf and PTY. Deterministically require synchronous stable-leaf replay after lifecycle registration and fail closed for a missing or stale leaf. Separately publish multi-pane parked leaves with exact pane runtime IDs and require per-PTY disposal to remove only the retired leaf.", + "oracle": "Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. The paired serve-restart file loses only the expensive automation-run-ID restart case. Its original terminal journey remains byte-identical: daemon/fixture process identity survives replacement serve, keyboard/output/grid/history/checkpoint converge and authoritative close removes the binding. LAYOUT_OWNER_BUILD gates its pending-handle assertion. Existing dated receipt objects and assertion references retain their original terminal-journey scope and provide no fresh validation of the reduced file selector. Audit3362 retires the whole orphan-recovery adoption-regressions suite, including thrown-adoption/post-adoption malformed or unavailable retries, prior-binding preservation, projected sibling retirement merging and blocked local-close/group-move fencing. Its compound unit token, test-file entry and assertion reference are removed. Injected inventory/adoption projections did not demonstrate usable input delivery. Two unrelated macOS E2E receipts remain verbatim; no equivalent replacement or fresh runtime/PTY/provider/UI/mobile/mixed-version/cross-platform evidence is claimed. Audit 3318 reduces web-session-terminal-pending-handle-recovery.test.ts, intentionally retiring disconnected retry, two-authoritative-absence retirement, explicit close-record short circuit, older-host disconnected absence, positive published-presence protection and unpublished-frame no-count alarms. Remove only the disconnected-retry assertion alias; preserve transient-retry assertion and both unchanged active Electron receipts. The remaining absence-reset interleaving is narrower, not an equivalent replacement for these six removed cases. Historical receipts retain their original scope. No fresh runtime, host/PTY/network, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit1939 (sources1934/1935): Pruned cold-parking hook and parked-watcher suites retain local timer/selection/split and exit/cancel/disposal progression. Lose supplied capability/eligibility/topology/admission and duplicate state examples recorded below. No assertion objects map to these sources here; preserve independent actual E2E receipt scopes without transferring their results to reduced units. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Historical prior account (preserved verbatim): The retained unchanged-source receipts are the only current execution evidence; reduced-source assertions await validation. Historical oracle account (not a current claim for changed sources): Cold-park a host-owned pane while a paired client actively views it, require the host manager to unmount, then type through the client and require the same PTY to receive and echo the token without any disconnected sample. Restart a real pinned-port headless runtime while its daemon PTY survives, observe a pending-handle snapshot, require the viewer binding never to become empty, then require rendered output, focused keyboard input, a post-recovery window resize, the pre-restart checkpoint, and post-restart output-log append to reach the same PTY and process before authoritative close clears the binding. Invoke the real `orca-dev terminal split` against a cold-parked renderer-owned tab, require only that tab to acquire and release the existing background-mount lease, complete before the historical timeout, preserve the active worktree/tab/focus, then reveal two rendered panes and type through each while retaining the stable source leaf and PTY. Deterministically require synchronous stable-leaf replay after lifecycle registration and fail closed for a missing or stale leaf. Separately publish multi-pane parked leaves with exact pane runtime IDs and require per-PTY disposal to remove only the retired leaf.", "commands": [ - "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-tab-watchers.test.ts src/renderer/src/components/terminal-pane/layout/split/terminal-pane-split-request-routing.test.ts src/renderer/src/components/terminal-pane/parking/lifecycle/use-terminal-tab-cold-parking.test.ts src/renderer/src/hooks/ipc-events/terminal-ui-routing-ipc-bridge-split.test.ts src/main/runtime/terminal/layout/orca-runtime-terminal-split-authority.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-parked-leaf.test.ts src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-mixed-version.test.ts src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-recovery.test.ts src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-recovery-regressions.test.ts src/renderer/src/runtime/hosted-terminals/recovery/adoption/web-session-terminal-orphan-recovery-adoption-regressions.test.ts src/renderer/src/runtime/hosted-terminals/recovery/panes/web-session-terminal-pending-handle-recovery.test.ts tests/e2e/host-cold-park-remote-subscriber.unit.test.ts --reporter=dot", + "pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-tab-watchers.test.ts src/renderer/src/components/terminal-pane/layout/split/terminal-pane-split-request-routing.test.ts src/renderer/src/components/terminal-pane/parking/lifecycle/use-terminal-tab-cold-parking.test.ts src/renderer/src/hooks/ipc-events/terminal-ui-routing-ipc-bridge-split.test.ts src/main/runtime/terminal/layout/orca-runtime-terminal-split-authority.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-parked-leaf.test.ts src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-mixed-version.test.ts src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-recovery.test.ts src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-recovery-regressions.test.ts src/renderer/src/runtime/hosted-terminals/recovery/panes/web-session-terminal-pending-handle-recovery.test.ts tests/e2e/host-cold-park-remote-subscriber.unit.test.ts --reporter=dot", "pnpm exec vitest run --config config/vitest.config.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter-cold-restore-reanchor.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter-session-adoption.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter-protocol-compatibility.test.ts src/main/daemon/providers/adapter/testing/daemon-pty-adapter-history-recovery.test.ts --reporter=dot", "pnpm exec playwright test tests/e2e/host-parked-pane-remote-viewer.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1", "pnpm exec playwright test tests/e2e/terminal-parked-cli-split.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1", @@ -13984,7 +13628,6 @@ "src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-mixed-version.test.ts", "src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-recovery.test.ts", "src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-recovery-regressions.test.ts", - "src/renderer/src/runtime/hosted-terminals/recovery/adoption/web-session-terminal-orphan-recovery-adoption-regressions.test.ts", "src/renderer/src/runtime/hosted-terminals/recovery/panes/web-session-terminal-pending-handle-recovery.test.ts", "src/main/daemon/providers/adapter/testing/daemon-pty-adapter-cold-restore-reanchor.test.ts", "src/main/daemon/providers/adapter/testing/daemon-pty-adapter-session-adoption.test.ts", @@ -14042,17 +13685,6 @@ "file": "src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-mixed-version.test.ts", "assertions": ["mirrors a new CLI tab after old-host recovery when $name"] }, - { - "file": "src/renderer/src/runtime/hosted-terminals/recovery/adoption/web-session-terminal-orphan-recovery-adoption-regressions.test.ts", - "assertions": [ - "retries a transient thrown adoption on an unchanged semantic frame", - "retains the client epoch and retries when the post-adoption list has $failure", - "preserves prior terminal bindings after a post-adoption $failure and retries", - "merges host-projected $verdict sibling state after adoption without treating pending as exited", - "does not apply an adoption result after the local tab closes while adoption is blocked", - "does not apply an adoption result after the local tab moves groups while adoption is blocked" - ] - }, { "file": "src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-recovery.test.ts", "assertions": [ @@ -14062,8 +13694,7 @@ { "file": "src/renderer/src/runtime/hosted-terminals/recovery/panes/web-session-terminal-pending-handle-recovery.test.ts", "assertions": [ - "retries a transient pane-resolution failure for an unchanged replayed snapshot", - "retries a disconnected pane resolution for an unchanged replayed snapshot" + "retries a transient pane-resolution failure for an unchanged replayed snapshot" ] } ], @@ -14124,7 +13755,14 @@ "Audit1342 retires this complete dated receipt because a source in its selector was deleted or reduced. It does not validate the reduced selector. Original receipt verbatim:\n{\n \"date\": \"2026-11-04\",\n \"runner\": \"local\",\n \"platform\": \"linux\",\n \"command\": \"ORCA_BACKGROUND_LAUNCH=1 pnpm --config.verifyDepsBeforeRun=false test src/renderer/src/components/terminal-pane/terminal-parked-tab-watchers.test.ts src/renderer/src/components/terminal-pane/terminal-pane-split-request-routing.test.ts src/renderer/src/components/terminal-pane/use-terminal-tab-cold-parking.test.ts src/renderer/src/hooks/ipc-events/terminal-ui-routing-ipc-bridge-split.test.ts src/main/runtime/orca-runtime-terminal-split-authority.test.ts src/renderer/src/runtime/sync-runtime-graph-parked-leaf.test.ts src/renderer/src/runtime/web-session-terminal-orphan-mixed-version.test.ts src/renderer/src/runtime/web-session-terminal-orphan-recovery.test.ts src/renderer/src/runtime/web-session-terminal-orphan-recovery-regressions.test.ts src/renderer/src/runtime/web-session-terminal-orphan-recovery-adoption-regressions.test.ts src/renderer/src/runtime/web-session-terminal-pending-handle-recovery.test.ts tests/e2e/host-cold-park-remote-subscriber.unit.test.ts --maxWorkers=2\",\n \"currentCommand\": \"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/terminal-parked-tab-watchers.test.ts src/renderer/src/components/terminal-pane/terminal-pane-split-request-routing.test.ts src/renderer/src/components/terminal-pane/use-terminal-tab-cold-parking.test.ts src/renderer/src/hooks/ipc-events/terminal-ui-routing-ipc-bridge-split.test.ts src/main/runtime/orca-runtime-terminal-split-authority.test.ts src/renderer/src/runtime/sync-runtime-graph-parked-leaf.test.ts src/renderer/src/runtime/web-session-terminal-orphan-mixed-version.test.ts src/renderer/src/runtime/web-session-terminal-orphan-recovery.test.ts src/renderer/src/runtime/web-session-terminal-orphan-recovery-regressions.test.ts src/renderer/src/runtime/web-session-terminal-orphan-recovery-adoption-regressions.test.ts src/renderer/src/runtime/web-session-terminal-pending-handle-recovery.test.ts tests/e2e/host-cold-park-remote-subscriber.unit.test.ts --reporter=dot\",\n \"result\": \"passed\",\n \"durationSeconds\": 14.82,\n \"summary\": \"Test Files 12 passed (12); Tests 86 passed (86). Deterministic fixtures; no physical phone or deployed mixed-host claim.\"\n }", "Audit1342 historical platform/provider scope before source changes: {\"coveredPlatforms\":[\"macos\",\"linux\"],\"coveredProviders\":[\"local-daemon\",\"paired-runtime\"]}. Remaining provider scope applies only to unchanged-source receipts.", "Audit1342 historical assertion inventory for deleted/reduced sources; not current validated assertions:\n[\n {\n \"file\": \"src/renderer/src/runtime/web-session-terminal-orphan-recovery-regressions.test.ts\",\n \"assertions\": [\n \"coalesces degraded frames to one active and one latest queued recovery\",\n \"lets a newer fully ready frame overtake an in-flight degraded recovery\",\n \"limits recovery RPC concurrency globally across worktrees\"\n ]\n }\n]", - "Audit1939 (sources1934/1935): Pruned cold-parking hook and parked-watcher suites retain local timer/selection/split and exit/cancel/disposal progression. Lose supplied capability/eligibility/topology/admission and duplicate state examples recorded below. No assertion objects map to these sources here; preserve independent actual E2E receipt scopes without transferring their results to reduced units. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Exact retired authored alarms: 'parks paired-runtime tabs only when their exact host advertises restore'; 'skips parking scans for capability-equivalent status writes and scans membership changes'; 'keeps eviction-exempt tabs mounted when the worktree is force-parked'; 'resolves eviction exemptions once per force-park input change'; 'does not exempt a tab from a truncated malformed pane key'; 'never starts a watcher for a PTY that exited into the park handoff gap'; 'collapses the exited leaf out of the stored layout when deferring'; 'retires launch/title hints when the launch-owning parked leaf exits'; 'keeps launch ownership when only a parked shell sibling exits'; 'rejects ordinary parking for a preserved daemon with a lossy snapshot'; 'rejects a capture containing a PTY without snapshot backing'; 'accepts layout-derived candidates when the capture is stale'; 'rejects layout-derived candidates missing a leaf PTY binding'." + "Audit1939 (sources1934/1935): Pruned cold-parking hook and parked-watcher suites retain local timer/selection/split and exit/cancel/disposal progression. Lose supplied capability/eligibility/topology/admission and duplicate state examples recorded below. No assertion objects map to these sources here; preserve independent actual E2E receipt scopes without transferring their results to reduced units. Preserve meaningful remaining selectors/assertions and unchanged dated receipts within their original scope. Reduced selectors have no fresh gate execution evidence in this metadata packet. No equivalent replacement, physical watcher/PTY/provider, live SSH/remote/mobile, rendered, cross-platform, soak or measured-budget result is claimed. Exact retired authored alarms: 'parks paired-runtime tabs only when their exact host advertises restore'; 'skips parking scans for capability-equivalent status writes and scans membership changes'; 'keeps eviction-exempt tabs mounted when the worktree is force-parked'; 'resolves eviction exemptions once per force-park input change'; 'does not exempt a tab from a truncated malformed pane key'; 'never starts a watcher for a PTY that exited into the park handoff gap'; 'collapses the exited leaf out of the stored layout when deferring'; 'retires launch/title hints when the launch-owning parked leaf exits'; 'keeps launch ownership when only a parked shell sibling exits'; 'rejects ordinary parking for a preserved daemon with a lossy snapshot'; 'rejects a capture containing a PTY without snapshot backing'; 'accepts layout-derived candidates when the capture is stale'; 'rejects layout-derived candidates missing a leaf PTY binding'.", + "Terminal/runtime defining-owner cleanup retires complete parking timer, lifecycle, mocked close/disposal and render/flip/mount work-count cases under repository test policy. The retained watcher source has only two literal-oracle coverage decisions; the retained cold-parking hook source has only the layout-PTY exemption invalidation case. Lost alarms include cooldown/measure/pin wakeups, split exit/close attribution and cancellation, watcher disposal/restart, flood timer rearm, worktree verdict damping, and destroyed-transport cold restore. No equivalent replacement coverage or execution pass for the reduced cases is claimed; prior dated receipts retain their original scope.", + "Audit 3318 reduces web-session-terminal-pending-handle-recovery.test.ts, intentionally retiring disconnected retry, two-authoritative-absence retirement, explicit close-record short circuit, older-host disconnected absence, positive published-presence protection and unpublished-frame no-count alarms. Remove only the disconnected-retry assertion alias; preserve transient-retry assertion and both unchanged active Electron receipts. The remaining absence-reset interleaving is narrower, not an equivalent replacement for these six removed cases. Historical receipts retain their original scope. No fresh runtime, host/PTY/network, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed.", + "Audit3362 retires the whole orphan-recovery adoption-regressions suite, including thrown-adoption/post-adoption malformed or unavailable retries, prior-binding preservation, projected sibling retirement merging and blocked local-close/group-move fencing. Its compound unit token, test-file entry and assertion reference are removed. Injected inventory/adoption projections did not demonstrate usable input delivery. Two unrelated macOS E2E receipts remain verbatim; no equivalent replacement or fresh runtime/PTY/provider/UI/mobile/mixed-version/cross-platform evidence is claimed.", + "Audit3362 historical original commands object, preserved verbatim; retired source claims are not active evidence or replacement coverage:\n\"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-tab-watchers.test.ts src/renderer/src/components/terminal-pane/layout/split/terminal-pane-split-request-routing.test.ts src/renderer/src/components/terminal-pane/parking/lifecycle/use-terminal-tab-cold-parking.test.ts src/renderer/src/hooks/ipc-events/terminal-ui-routing-ipc-bridge-split.test.ts src/main/runtime/terminal/layout/orca-runtime-terminal-split-authority.test.ts src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-parked-leaf.test.ts src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-mixed-version.test.ts src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-recovery.test.ts src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-recovery-regressions.test.ts src/renderer/src/runtime/hosted-terminals/recovery/adoption/web-session-terminal-orphan-recovery-adoption-regressions.test.ts src/renderer/src/runtime/hosted-terminals/recovery/panes/web-session-terminal-pending-handle-recovery.test.ts tests/e2e/host-cold-park-remote-subscriber.unit.test.ts --reporter=dot\"", + "Audit3362 historical original testFiles object, preserved verbatim; retired source claims are not active evidence or replacement coverage:\n\"src/renderer/src/runtime/hosted-terminals/recovery/adoption/web-session-terminal-orphan-recovery-adoption-regressions.test.ts\"", + "Audit3362 historical original assertionRefs object, preserved verbatim; retired source claims are not active evidence or replacement coverage:\n{\n \"file\": \"src/renderer/src/runtime/hosted-terminals/recovery/adoption/web-session-terminal-orphan-recovery-adoption-regressions.test.ts\",\n \"assertions\": [\n \"retries a transient thrown adoption on an unchanged semantic frame\",\n \"retains the client epoch and retries when the post-adoption list has $failure\",\n \"preserves prior terminal bindings after a post-adoption $failure and retries\",\n \"merges host-projected $verdict sibling state after adoption without treating pending as exited\",\n \"does not apply an adoption result after the local tab closes while adoption is blocked\",\n \"does not apply an adoption result after the local tab moves groups while adoption is blocked\"\n ]\n }", + "Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. The paired serve-restart file loses only the expensive automation-run-ID restart case. Its original terminal journey remains byte-identical: daemon/fixture process identity survives replacement serve, keyboard/output/grid/history/checkpoint converge and authoritative close removes the binding. LAYOUT_OWNER_BUILD gates its pending-handle assertion. Existing dated receipt objects and assertion references retain their original terminal-journey scope and provide no fresh validation of the reduced file selector. All prior notes and archived receipts retain original scopes." ], "demotionRule": "Demote if a live parked/restarting PTY loses its exact graph leaf or verified viewer binding, a retired PTY remains published, multi-pane identity drifts, or either routed client round trip flakes without a diagnosed cause." }, @@ -14426,10 +14064,10 @@ "providers": ["paired-runtime"], "coveredPlatforms": ["linux"], "coveredProviders": ["paired-runtime"], - "coverageNotes": "Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit1579 removes workflow/manifest/regex/private binary-header and diagnostic metric inventories, fixture selectors, injected forwarding/platform/signature/process examples, unproven overlap and internal churn counters without equivalent replacement coverage. Retains actual Git trust/diffs; filesystem hash/ELF-region/native discovery; child CLI module repair; compiler/lock/publication/rollback and synthetic Electron install/cache ownership; executable shell quoting/exit; controlled notary/timer cleanup; local patched extractor file/AST freshness; real Chromium/WebKit CSP/sandbox/HTTPS image/referrer/link/preservation controls under parsed Android headers. Five unchanged setup-pnpm/VM request-cleanup definitions reviewed and not rerun. GitHub, installer/archive, OS metric, client, native delegate, compressor, builder and Apple boundaries injected or absent where recorded. No actual native PTY, shipped full/native app, real Actions/cache/npm signature authority, downloaded Electron archive, real objdump/linker/native CLI/AppImage, signing/NSIS/notary/upload/updater or live freeze proof. Historical scope before this audit: Published Linux 1.4.188 desktop against current source in both directions; scheduled weekly and manually runnable. No required PR check.", + "coverageNotes": "Audit3492 composes ROOT-approved75(AUTHOR3475/PEER3476 and AUTHOR3485/PEER3481, including five-field clarification and zero-credit selector3483) plus123(AUTHOR3486/PEER3487 reconciled FINAL3491, including peer case10:3 and9:0 wording clarifications). It intentionally removes198 authored registrations/232 finite literal-table potential registrations across70 changed JS/TS test sources, including45 whole suites;87 authored/90 finite potential registrations remain across95 reviewed JS/TS bodies. One mobile native-suspension manual recipe and the now-unreferenced GitLab mock fixture helper are separately removed with zero registration credit. Static literal table potential is not execution. No equivalent replacement, fresh runtime result or merge credit is claimed. Earlier135 complete dated receipts, all raw gaps and full prior98/161/history notes retain their exact scopes and bytes. The additional123 retirement accepts loss of mocked GitLab request/error/identity/classification inventories; basic Linear migration and metadata discovery; simulated OpenCode key failed-save retention/retry/log redaction; analytics identity-flush smoke that did not prove ordering; AppImage static entry guards and empty-staging cleanup; GPU/process/minidump breadcrumb/annotation shapes and weak redaction oracles; namespace/status/foreign-launcher ownership guards and persistence roundtrips; profile transfer field projections; worker hook/screen/incarnation/result admission/classification guards; and source-coupled CLI transaction fixtures. Privileged publication failure injection was a false-positive: its mkdir regex missed -m 700 and outer rejection accepted an inner assertion before any shell ran. The identity-flush case awaited identity after flush and could pass despite early flush. Retained actual negative-token cache recovery, SQL filter-before-LIMIT open approval, unreadable-root FTS preservation/degradation, latest-connect-wins persistence, worker stop-debt settlement, unmodified same-inode foreign-content transaction, explicit incomplete-pagination error, FTS own-message snippet association, filter-before-route result and bounded-search truncation honesty are distinct bounded outcomes, not replacements for retired alarms. Case9:0 checks both roots before chmod but only mounted-session/degraded-root after chmod. Entire extraction-root suite is removed; no retained extraction cleanup is claimed. Removing the manual iOS foreground-stall shell script loses its unique real native-suspension recipe; timer tests do not replace it. First-match PIDs, indefinite waiting, broad success matching and absent trap cleanup made that diagnostic brittle and able to leave a desktop stopped. The current Windows operational driver remains byte-exact, preserving already-merged removal of orcad-convert and orcad-cli-convert selectors and the retained cmd/powershell/managed CLI lanes. The package skill-sharing release selector loses only the exact already-retired skills-suite token; no extra test credit. Included approved75 retirement account follows (historical proposal labels identify provenance; final198 counts above control): Audit3488 composes ROOT-approved source49(AUTHOR3485/PEER3481, including its immutable five-field clarification) and source26(AUTHOR3475/PEER3476): intentionally removes75 authored registrations/87 finite potential registrations across35 changed sources, including25 whole suites;35 authored/36 finite potential registrations remain in the combined reviewed scopes. Literal table potential counts are not executions. This source-only reduction has no equivalent replacement, fresh runtime result or merge credit. Root unit discovery deliberately loses entire message-row filtering/chunk reconstruction, discussion-pagination rejection passthrough, Linear bearer/stack redaction, new-profile telemetry/default/existing-JSON no-op, WSL user-trigger routing, terminal-delivery refusal, native-chat worker-approval UI, followup-paste routing, live-surface tombstone refusal, activity-bar hydration, fabricated approval-caller policy, child-PATH transformation and branch-review URL/identity suites. It also loses cache roundtrip/mode/fingerprint/fallback/no-op samples; GPU field-shape privacy examples; older auth-probe failure retention; orphan SQLite-sidecar/future-schema admission; usage tie/duplicate/composite-key examples; allocation-name sanitizer/unknown-prefix examples; real worker-and-backup preflight wrapper smoke; and JSONL descriptor-loop truncation. The discussion page contained id-only discussions without notes, so its rejection did not prove a nonempty notes-prefix oracle. The preflight did launch actual worker/backup entrypoints with production internal self-validation; removing its revision/version wrapper deliberately retires that real-entry smoke alarm. The skipped-prefix JSONL keeper rewrites/grows after collecting the suffix and before final validation, not concurrently during parsing. Retained queue rejection/recovery and held/drain mechanisms, recorder nonsettling-provider deadline, corrupt authoritative-DB refusal, legacy cache split migration, merge-added-row indexing, external-frame redaction, and pinned JSONL read/verification/mutation checks are bounded concrete oracles, not equivalent replacements for retired alarms. The full cloud relay cohort/ceiling/control suite is separately removed from the relay package runner, outside root unit discovery; no cloud runtime result is claimed. The Python computer-use benchmark remains unchanged tooling with zero authored/removal credit; no native benchmark trial ran. The package skill-sharing release selector drops only the exact already-deleted skills-suite token, with zero additional removal credit. Prior dated receipts, raw gaps, and complete earlier161/98/history notes remain exactly at their original scopes; no changed-source historical receipt becomes fresh reduced-suite evidence. Included approved26 alarm account: Broad root-unit discovery loses entire ref-label string, hostile/malformed CSV-link rendering, Codex filename-discovery, mocked paged-preview postscan mutation, usage path-containment, real symlink-ancestor, Codex skip RPC, local/remote inference routing, width-preference, and synthetic workspace-document input suites. It also loses the hand-assembled sorted CSV edit example, connect-time JPEG seed and invalid AVCC guard samples, and eight-record/64KiB detector boundary cases. The symlink suite exercised actual kernel traversal; its lost ancestor alarm could omit supplemental local editor watches and leave content stale, not bypass authorization. Retained linked stream cancellation, preview-only save fence, failed-flush dirty-draft preservation, clipboard byte/edit preservation, fragmented AVCC parsing and independent quoted-CSV interpretation checks do not replace these deliberately retired alarms. The stream fixture uses an in-memory source and does not establish actual fd cleanup; editor save endpoints are synthetic, browser events are synthetic, and no native focus, actual remote delivery, real disk write, cross-platform execution or interoperability is claimed. Earlier complete dated receipts, raw known gaps and previous notes are historical evidence at their original source/selector scope, not fresh evidence for this reduced suite. Audit3438 composes ROOT-adopted3434/independent3436: intentionally removes60 authored/62 potential expanded cases across16 sources, deleting9 whole suites. Eight authored/eight potential cases remain; delete the102line unused ACP fixture and57line unused teardown helper with zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses ACP model-catalog fixtures, resume-record projections, dashboard mock payload/state cases, mobile folder/launch/session examples and dictionary pipeline rows. Selected E2E removals also retire auto-conversion and golden-core journeys and one Windows CLI conversion registration. Retain ACP reply text across a resumed subagent, both VAD checks, focused tab send ownership, async focus ownership in happy-dom, the question-skip journey, the original managed Windows CLI lifecycle journey and dictionary substitution. These checks do not replace the removed alarms. Audit3470 composes ROOT-approved AUTHOR3466/PEER3467 source proposal: intentionally removes38 authored registrations/59 finite potential expansions, including8 whole registering suites, retaining13 authored registrations/18 finite potential expansions. The sole dead shell-recipe caller cleanup has zero additional test credit. No equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses process-import boundary, Korean/Japanese locale policy, worker-reset, mobile agent-history/queued-message and median-summary suites, plus packaged mobile-manifest, worker-pool fixture, HTML preview, mobile shell and terminal samples. The environment-provider contract and its sole shell-recipe caller are deleted. Separate cross-version-wire discovery loses the large byte-budget fresh-snapshot/replay sample while retaining independent live same-revision note publication; the retained terminal stale-refresh and dirty HTML draft persistence checks do not replace removed alarms. The source4 unused start/stop fixture hooks are removed; its retained nested failed-import test remains byte-exact with its own lifecycle. Unchanged SVG preview and Git-resolution registrations stay intact. Root balanced CI excludes the cross-version directory, which has a separate job; unbalanced root discovery can include its parent. No native app/device, actual remote, released-pair interoperability or cross-platform execution result is claimed. Audit3468 accepted source proposal AUTHOR3462/PEER3463, composed privately by audit3469: removes62 authored registrations/95 finite potential expansions, including5 whole suites, retaining25 authored registrations/29 finite potential expansions. ROOT approved source value; no equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses the profile-state worker smoke, worker-agent views and three search discovery suites, plus samples from node-server qualification, skill-bundle generation, CLI hooks/profile/recovery/offline admission, permission-hook holds and search indexing. The separate Cloud relay runner loses one relay blackbox sample; unchanged mobile native-chat and dependent-transcript drivers remain. Retained source callback/table/ancestor/fixture bytes bind to the sealed candidate. No physical-device, mixed-version, remote, cross-platform or app execution result is claimed. Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. Broad unit discovery intentionally loses whole trust-dialog observer, background-turn notifications, redirected session refusal, typed-agent identity, chat-tab lifetime-cost, model-manager and mobile diff-review controller suites, plus individual persistence, synthetic composition, pairing, manifest and subprocess samples. Retain deferred snapshot dirty-domain persistence, two direct editor ownership cases, stream counter-domain distinction, two persisted pairing identity cases, parser entrypoint asymmetry, dictation retry and process-group timeout; paired restart and packaged old-binary/corrupt-profile journeys remain in their E2E driver scope. Retained checks do not replace removed alarms. No fresh execution, native IME/microphone, real authentication, mixed-version/platform or performance result is claimed. Audit3451 composes ROOT-adopted3444/independent3445: intentionally removes101 authored registrations across16 reviewed sources, deleting7 whole suites and reducing8; one reviewed source is unchanged. Fresh main has123 authored registrations before and22 after because an upstream direct-child shell regression remains verbatim with zero removal credit. Registered removals are100+7*S and explicit-active removals99+7*S, where S is the unprobed count0..3 of admitted bash/zsh/fish shells. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses extra stream lifecycle/forwarding examples, unreadable-store/cache projections, orchestration presentation/benchmark cases, remote-owned routing matrices, mobile legacy navigation and model-catalog listing/cache examples. Whole suites retire renderer client-event projections, manually assembled structured-session reader ownership, mobile prompt presentation, renderer AI-vault resume commands, mobile Jira URL lookup, composer retention and mobile folder source-repository queries. Retained checks preserve original stream/store/orchestration/routing/navigation/catalog cases and shell behavior, including the upstream direct-child case. No real provider, native desktop or mobile acceptance is established by this reduction. Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit and mobile discovery loses interrupt/wake registrars, task storage/session-close/account snapshot hooks, permission tables, copy/preference/model-discovery/composer examples, launch placement examples, VM projections and extra mobile-history scenarios. Retained checks cover abandoned versus dispatched fork uncertainty; /fast dispatch supersession; discovery lock release after exit; stale-send draft preservation; OSC status lifetime; future-version file preservation; launch cancellation before/during dispatch on both layout owners; mobile resume addressability before hooks; and recipe snapshot cleanup after plugin removal. The paired browser-link Electron source is unchanged. Terminal launch seams, mobile roles-only history and injected provider results do not establish native terminal destruction, transcript text fidelity or real remote provider cleanup. Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses reduced or deleted relay, coordinator mail, recovery watchdog, automation observer, launch picker, folder PTY, profile restart, web migration, retirement, pointer delivery, agent-row and run-bound mailbox examples. Retained checks cover relay hello/payload and SIGTERM drain, coordinator pending-check and clear-to-Run continuity, profile persistence, the full six-row web merge table and real run-bound delivery waiter. These do not replace removed alarms. Audit3429 composes root-adopted3426/independent3427: intentionally removes168 authored/205 potential expanded cases across16 semantic sources, deleting11 whole suites and one304line unused assertion helper. Five authored/five potential cases remain; the duplicate500k graph row is dropped while its50k row and callback remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted migration/recovery/federation/rich-draft/paste/automation/mobile/catalog examples. Keep server-edit preservation during migration, native supervised cancellation holding the agent home until physical stop, pagehide lost-text preservation, graph old-result WRAPPER WeakRef collection with50k rows, and mobile React render isolation. The WeakRef does not prove all commit objects are collectible or a memory budget. Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted mock orchestration, refusal, restart and storage examples. Retain unchanged two-phase real-WSL deployment/survival, the reduced idle-release holder proof without restart/first-output measurement, real worker stop/release cleanup barrier rows, physical Git branch-preservation rows, and SSH disconnected-close proof. Other SSH and CLI variants and WSL telemetry/warmup churn are intentionally removed. Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. Broad root-unit discovery loses naming/title/queued-host fixtures, main-window focus-shortcut and attach-services mock orchestration, Git Bash console-capacity fake process inventories, most real-Git preparation/locking variants and Claude/Codex catch-up examples. Keep lifetime rejected-writer followed by late termination proof and autonomous real-checkout cleanup; two-row real-Git rollback after a real move preserving a replacement/admin marker or revoked permission; a live translator write during a held transcript read fencing stale Claude history append; and Codex expected-item revision rejection before a historical writer shim. Codex driver registers retained bounds exactly once with original inputs; bounds does not prove modern writer persistence. Accepted changed-lock preflight sentinel and omitted-parent routing losses are not replaced. Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Broad root-unit discovery loses35WSL examples,22STT examples,22shared-server-banner examples,18clipboard-handler examples (whole suite deleted),14VM lifecycle examples and16commit-message cancellation examples. Retain4WSL and7STT mocked connector/worker cases,1rendered stale-banner refusal,2VM guard/failed-compensation cases and1late-stream ownership cancellation case; real WSL/microphone/remote-provider proof is not established. Separately discovered e2e-unit drivers lose13cross-version-wire local cases and15mobile active-publication cases, keeping same-process disk-reopen/new-host cursor content/epoch/sequence outcomes and a host/renderer-snapshot selection and inventory revision race respectively. Imported released stop-note scenarios remain unchanged and receive no duplicate credit. Cloud suites are outside root UNIT_INCLUDE. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The broad root-unit command loses the UNIT_INCLUDE src/ subset of retired examples; mobile is outside UNIT_INCLUDE. Other lost alarms are recorded by the adopted per-case source reviews. Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3381 composes root-adopted3376/independent3377 and3379/independent3380: intentionally retires436 authored registrations/670 expanded cases, including79 whole suites and12877 test lines, without equivalent replacement. Lost alarms include scheduling, account/host/status/filter/format inventories, microphone/image cleanup, title/bell/capability lifecycle routing, access/impersonation/outcome matrices, paste/input resend/ledger/retention, stale completions/reload containment, trust-read failure and popup OAuth/security/geometry vectors. Retained30 registrations/34expanded cases in22 suites preserve narrower SQLite TEMP/TZ/WAL, HTTP transcript root resume, mobile original-index Choose/Submit, child environment/Git lock expiry, stale ACK/PTY lifetime/peer fairness/durable replay/output ordering, actual DOM paste/editor focus, DEC2026 conservation, filesystem rollback, owned buffer lifetime, actual OSC parser/tracker handback, POSIX Python UTF8/fallback, durable trust concurrency/version, OpenSSH verdicts and hidden Chromium POST/route lifecycle. Mocked boundaries limit claims. Current bounded defining-owner reads preserve the retained oracles; captured identities are not full transitive semantic review. Both component blind pins authenticated before exchange; final reconciliation and explicit postpin3380reason correction supplement control, without retroactive blind claims. Root unit command excludes mobile and separately admitted Electron probes; use existing respective runners. No fresh execution, native focus/device/pixel UI, live SSH/remote, equivalent replacement or broad mixed-version/cross-platform validation is claimed. Prior dated receipts retain exact original scopes. Audit3375 composes root-adopted3370/independent3371 and3373/independent3374: intentionally retires79 authored registrations/84 expanded cases, including39 whole suites, without equivalent replacement. Lost alarms include federation field/parser inventories; Claude rejected-key precedence, credential clone redaction, managed-versus-user hook preservation and CLI defaults; setting/status/activity projections, mocked SSH/notification/reveal/Linear refusal, fake-clock reconnect and noise; image-fold artifact visibility, paste eligibility, setup trust, scripted ACP error-to-journal publication and ligature cache tuple aliasing; plus supplied folder-runner uniqueness, mobile host-overlay/credential/update/preference races, status/markup/title/keyed-row projections, subscriber cleanup, cancellation/close/refusal/link-issue and mirror suppression alarms. Retained3373 merger contiguity, dual-clock overdue-resume exactly-once, rejected-paste IPC sink and annotation schema roundtrip remain bounded. Retained actual HTTP/OSC status composition, destructive sibling-filesystem isolation, external contrast invariant and fixture CSS pixel intervention remain narrower. Original reviewed87authored/92expanded become9/9; current OpenCode suite adds two preserved upstream cases and the synthetic-title suite gained one Cursor policy mock-call case, independently reviewed for removal in root3378; current90/95 become11/11. That Cursor suppression/ready-frame regression alarm is intentionally lost; it does not observe native title ownership or tab flicker. For3370 only the peer was independently blind, with author exposure explicit;3373/3374 both blind pins were verified. This broad root unit command selects the reduced root unit suite; UNIT_INCLUDE excludes mobile tests, which require the existing mobile runner; retained Playwright component-pixel spec uses its separate existing headless fixture runner and is not validated by the broad unit command. No fresh execution, actual agent/shell/provider, OS material/focus, historical import equivalence, mobile, mixed-version or cross-platform evidence is claimed. All dated receipts retain their original scope. Audit3368 composes root-adopted3363/3364 and3367/3369: intentionally retires181 authored registrations/196 expanded cases, including28 whole suites, without equivalent replacement. Lost alarms include hibernation attention/liveness/backoff/sequential teardown and inventory, host launch compatibility/legacy/Kimi/resource cleanup, terminal recovery parser/pause/quarantine/remount, window-visibility omission-fence lifetime, launch-option rendered Start, sleeping-resume saved recipe/WSL quoting/cancellation, plus removed project/window/input variants. Additional tiny-suite losses include sentence/label/field/default inventories, credential omission, Windows argument/environment mapping, URI decoding, diagnostics, provider classification and fake-clock callback/parser examples. Retained ten registrations/twelve expanded cases include two literal Unicode Mn/Cf zero-width range guards in the actual character-range algorithm and protect narrower delayed editor bytes/destructive ownership, mounted hidden collision repair, ten transport epochs, duplicate-command refusal, caller timeout typing, executor unknown-opener refusal and failed-chunk user bytes. This broad unit command selects the reduced suite; no fresh runtime, real provider/network/PTY, filesystem restart, native UI, historical import equivalence, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3362 composes root-adopted3358/independent3360: intentionally retires129 authored registrations/140 expanded cases, including four whole suites, without equivalent replacement. Lost alarms include supplied orphan-adoption retry/malformed inventory/cancellation; fake-terminal replay parser/wedge/disposal callbacks; all-host catalog metadata and Windows preferences; host keepalive/protocol/stale/settings failures; and removed exact-stop/suppression, source save lifetime, diff-note queue, rename/editor close, input flood/chunk refusal/limits, purge and creation examples. Retained18 registrations/21 expanded cases protect narrower ownership, generation, dirty-state, queue convergence, encoding and attachment-lease outcomes. No replacement or keeper quota claim. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY/xterm parser, disk restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3359 composes root-adopted source3355/independent3356: intentionally retires130 authored registrations/139 expanded cases, including eight whole suites, without equivalent replacement. Lost alarms include strict create naming/capability/legacy payloads; supplied transport host replacement, deadline reattach, create-handoff and split activation; agent-session fork/clipboard/platform flags; shutdown cleared-scrollback/unmounted bindings; simulator host-collision/selection/shutdown; and removed editor, catalog, mutation, launch and status examples. Retained12 adverse-ordering/state-consequence cases are narrower and do not replace all removed alarms. Two queue absences receive zero removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY, filesystem restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3349 composes adopted batches3343,3345 and refreshed3354: intentionally retires234 authored registrations/294 expanded cases, including13 whole suites, without equivalent replacement. Lost alarms include supplied terminal reconnect/replacement/typeahead/mirror/result and snapshot examples; synthetic render-desync persistence/recovery; worktree listing/owner/catalog/lineage/removal and activation/creation examples; host-scoped PR and task-record projections; editor diff/status/comment and UI send-target examples; automation observation/wake, supplied sleep/deadline clock and native-chat completion/notification/relaunch samples; held-tab layout and cleanup/progress guard examples. Retained adverse-ordering and wire-boundary cases are narrower and do not replace all removed alarms. The already-upstream visibility-resume deletion receives zero new removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH, native process/power/GPU, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3342 composes adopted source batches3333/3334,3336/3337 and3340/3341: intentionally retires180 authored registrations/263 expanded cases, including seven whole suites, without equivalent replacement. Lost alarms include corrupt editor hydration; mobile editor/diff publication and privacy projections; stale-resubscribe routing; model-picker projection/refetch/retry/fallback; editor check-details and frame property inventories; latched-pane cleanup/quiescence; client create replay identity/options/compatibility; and removed owner, async routing, terminal and layout examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts keep their original scope. Audit3335 composes adopted source unions3327/3328 and3330/3332: intentionally retires100 authored registrations/123 expanded cases, including ten whole suites, without equivalent replacement. Lost alarms include seeded host persistence/contention and stale-host cleanup; browser snapshot assembly; mocked wake/DPR callbacks and frame budgets; preflight projections; palette authority/cache suppression, URL intent and saved-title cross-repo collisions; metadata coverage/set patch and dropdown assembly; and removed terminal, worktree, review-refresh and owner-routing examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI/GPU/focus, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain only their original scope. Audit 3318 composes adopted sources 3310, 3313 and 3317: intentionally retires 71 authored declarations and 102 expanded cases, including whole terminal-detach agent-retention, seeded batch/single open-files equivalence, shallow context-menu shortcut-badge, mocked active-workspace delete-dispatch, workspace session hydration, SSH target cleanup, editor session hydration and worktree terminal purge suites. Lost alarms include chained transfer alias and immediate close/exit retention; batch/single divergence, survivor/selection/map preservation and input nonmutation across 400 imperative seeds (one registered case); disconnected pending-handle retry, authoritative absences/close-record shortcut/older-host absence and published-presence/unpublished-frame examples; published empty host-graph omission to pane exit; legacy search ranking/exclusion fallback; provider request upgrade/dedupe/finalizer ownership; asynchronous PR suppression/primary-change and same-number different-repository URL rejection. Deletion routing loses host/instance qualification, paired and legacy mapping, folder ownership, active-versus-hover/menu-row selection, ambiguity, modal/editable/creation/view/main/deleting/missing guards and shortcut advertisement. Unchanged real keyboard/hover/confirmation/catalog E2E remains narrower, not an equivalent replacement. Additional losses include scripted old-host disk/UTF-8/noop/baseline and landed/unlanded lost-reply/replacement-retry outcomes; ordinary/repeated healthy-link reattach; cross-owner terminal/chat binding; oversized replay permanent-unavailable classification; floating reveal keyboard ownership/close/disable/listener disposal; naming/retained-turn/Sleep/error/close/reject status tables; SSH membership prune/new-target-only reads and environment/local bucket isolation; same-frame receipt capacity and positive bare/headless publisher readmission. These actual regression alarms are deliberately lost; no fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit 3312 composes adopted sources 3302 and 3308: deliberately retires 33 authored declarations and 36 expanded cases, including the whole backend startup-focus, active-browser IPC-close-routing, remote-browser-creation and agent-terminal-presence suites. Intentionally lost alarms cover distinct six-pane reconnect handles; SSH host label/Connect callback, unhydrated visit cleanup, repo cache aliases and hidden worktree/tab/PTY cleanup; adopted-agent startup focus and viewer navigation/reuse; staged, pageless, source, stale and orphan browser-close routing; web local-materialization refusal, desktop incapable-host fallback, failed/thrown remote creation and paired-web sign-in refusal; BOM/NUL and remote/local custom-editor byte-read examples; immediate folder activation and unread clearing; and batching idle/coalescing, accumulated byte ceiling, leading-edge-disabled, standalone synchronous oversize rejection, validation yield, deferred pending-tail order and both viewport-clear examples. The newly reintroduced agent-terminal-presence suite also loses actual terminal-status membership positive and nonterminal-status callback suppression alarms, including the recent 40916 guard regression; the older different 2133 presence-suite history remains historical and receives zero duplicate removal credit. These real regression alarms are intentionally lost. The unchanged survivors provide narrower coverage, with no equivalent replacement or fresh gate, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation claimed. Audit 3301 combines adopted source batches 3296 and 3299: retire 27 authored declarations and 36 expanded scenarios, including six whole suites. Intentionally lost alarms cover failed-verification/recovery/restart counters and mocked hosting/toast; early overlapping pane-read scheduling/count; unreadable removal listing draft guard; bulk-purge remote-qualified and raw-local guard maps; initial-snapshot blank/mode/oversize/printable/fresh-spawn callback and replay examples; fallback mobile file close and ordinary MRU; default queue overload/drain; seeded browser-page reuse and supplied missing-page URL recreation; ambiguous sleep/hibernation owner refusal and untouched bindings/origins; ordinary selection/activity/fallback priority; skip-remote success and retained hints; supplied structured-chat unsent retention and scoped removal draft eviction; caller-chat focus precedence; open/draft PR cache eviction and merged-head fallback result inventories. Retained adverse-ordering and ownership cases are narrower and do not establish equivalent replacements. No fresh runtime, native, physical provider, cross-platform, mobile or mixed-version evidence is claimed. Audit 3292 combines adopted 3285/3287/3289/3293 removals: 40 authored declarations and 47 expanded scenarios, including whole frame-editor-view, ambiguous remote-delete-refusal, unverifiable-host subscription and editor-close cleanup suites. The previously reviewed dock-badge suite was already removed upstream in PR 40895 and receives zero new removal credit. Intentionally retired alarms include background browser selection and last-tab landing; main startup fallback, SSH project cleanup/survivor routing, exact-PR contradiction/saved-push positives, replay/sidecar rollback and wrapped remote error normalization; records/snapshot missing-diff hydration, ambiguous folder-owner delete refusal, focus no-op notifications, nested editor context-only cache check, pending broadcast-first status and ordinary four-confirmation aggregation; preview-source frontmatter pruning, approved local/runtime agent dispatch, non-GitHub legacy PR cache invalidation, stale merged-head transient-error fallback, empty-queue immediate query reply and unverified-to-concrete preflight risk. Additional intentionally retired alarms are injected host subscription/unsubscribe counts, synthetic editor reveal/draft/fallback/scoped close, ambiguous unread refusals and hidden mark/read roundtrip, immediate connect backoff/noError, positive mirrored evidence-clock renewal, supplied VM failure/success projections and git-local/folder-SSH wake permutations. Remaining temporal/ownership cases are narrower; no equivalent replacement or fresh execution is claimed. Audit 3283 removes 20 authored declarations and 31 expanded scenarios, including two whole suites. Retired alarms cover PR refresh-state pruning, shared runtime subscription cleanup and store isolation, language content-change routing and older completion ownership, ordinary panel retry-timer cleanup and pending loading, four hosted-review lifetime permutations, mocked terminal creation error/order wiring, five sleep-inventory variants with pending-frame-only assertions, palette fallback/composite highlights, Windows/UNC encoded-editor input rows, mixed-repository partial failure counts, title setters and generated-title bypass/replacement, five window-close coordinator delegation/guard/finally branches, and ambiguous-old-record frame reveal. These regression checks are intentionally lost under the test-value audit; retained cases are not equivalent replacements. Prior coverage notes and receipts remain historical. Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims. Audit 3256 removes these specific alarms from the broad root unit commands: skill dialog active-share selection, close and pending-share handoff; simple keyed-record deletion; marker live-region insertion, simple landing and nine baseline policy examples; General search/control navigation inventory; orphan-count cache bootstrap; seven Codex code classifications and HTTP 429 warning mapping; two skill unread-root verdict examples; peer-mail payload and conversation-ID rejection; and the GitHub organization TABLE text-field optimistic rollback/failed-envelope example. These include real behaviors; retained tests do not provide equivalent coverage for every removed scenario. Mobile losses are recorded separately and are not coverage of these root commands. Audit3246 retires NewRowsMarker reveal/no-repeat and pane-scoped beforeinput checks; skill-owner option availability/count/dedup/order; six styled Input/Textarea IME forwarding rows; the static Codex/OpenCode smart-key inventory; tab-map AST ratchet diagnostic fixtures; child-roster work-budget and retained-aggregate alarms; malformed persisted floating-cwd fallback/no-crash/empty exact-root checks; the unanswered-host empty-list discriminator; the direct invalidated-cache commit-false assertion; one redundant digit-keyup IME row; cached non-supported Claude title-generator rows; and the duplicate late naming-result singleton. These root broad commands lose those specific alarms without equivalent replacement. Distinct retained owner/state checks have their own bounded claims; the real scheduler still rejects stale response data, while the direct false-return alarm is retired. Audit3231 retires supported-host restore-pane key mapping, closed/open creation-sidebar toggle visibility, unrelated scope-error/null classification and quick-submit reveal/no-create checks. These broad commands lose those real narrow alarms; no replacement coverage is claimed. Audit3219 removes the synthetic Cmd+J extra-source suite; this broad command no longer checks its match/tie placement and selection, announced count, empty-query cap, or workspace hiding with retained recent tabs. No replacement coverage is claimed. Audit3209 composes approved sources3202/3206: deliberately retires seven authored/expanded cases in four whole suites without equivalent replacement. Work-item queries lose real GitHub/GitLab oversized ASCII secret-prefix empty-query and whitespace-before-trim refusal alarms; inputs share the imported size bound and exercise only its fast length branch, with no multibyte or actual provider/exposure guarantee. Skill sharing loses complete/partial managed-bundle and destination-ambiguity association checks plus three negative origin/path/scheme admission examples; these do not establish uploaded contents, arbitrary-URL fetching, authorization or execution. Retain exact originless-project direct-link fallback, cloud-delete confirmation, bundled-target repair/owner isolation and explicit Windows-host preference over stale WSL suites. Rejected3201 runtime-preference removal is excluded. No real cloud/network/host/disk, mobile or mixed-version execution validation is claimed. Audit3200 composes approved source3194: deliberately retires thirteen authored registrations/twenty-seven expanded cases in six whole automation host/list policy suites without equivalent replacement. Real RPC category/retryability and wrapped-timeout recognition, unscoped-failure/scoped-success health evidence precedence, exact-ID create selectors and per-run workspace omission, paired-web local/SSH/absent host catalog routing, incompatible/removed/unhydrated/offline execution health, runtime-before-nested-SSH recovery dispatch, and no-owned-focus/successor/foreign-list focus policy alarms are consciously lost. Retain exact20line orphan allow/refuse/precondition and exact90line cross-host same-ID search suites. No retry-timer/fence lifecycle, actual reconnect/network/write delivery, native focus, mobile/mixed-version runtime or disk persistence coverage is claimed. Audit3191 combines approved source3182/3187/3188: deliberately retires thirteen authored Vitest registrations and fifteen expanded cases, including five whole suites, without equivalent replacement. Attachment intake loses real portal/native-capture terminal interception and unowned-container refusal, immediate child-only committed availability/claim-ref negotiation and delivery, and direct-target over stable focused/background composer routing through disable/re-enable/remount and independent question focus. Exact destination/cache/draft and final-stat owner/workspace/File-release suites remain; they do not replace Surface recipient routing. Automation authoring loses destination runtime catalog membership, local/direct-SSH exclusion of paired-runtime repos, unknown-runtime empty catalog, logical project/host/setup/repo/path context payload, and missing/nonready setup refusal; these were genuine direct helper alarms, while exact schedule transformation, legacy schedule and setup-decision suites remain. Agent picker loses setup-chat/terminal/missing-installer/unsupported-or-unknown-host row projection samples and the ordinary unsearched menu variant; the entire original26-line resume recipe suite remains, including reported bypass versus default/absent permission modes, as does the exact search-result menu callback with its fixtures, model/effort commits and staged Arguments reopen outcome. Rejected predecessor3180 full recipe deletion is excluded. No actual native drag/cursor/focus/IME, upload bytes or disk/restart persistence, full automation save/scheduler/runtime transport, real resume-process flags/environment delivery, or native menu/rendered layout validation is claimed. Audit3178 combines source3169/3170/3175: deliberately retires eight authored units (six Vitest cases and two imperative custom relay scenarios), including two whole suites, without equivalent replacement. Voice Section loses per-model pending-delete isolation across interleaved A/B completion and the two-success refresh-call alarm; exact VoicePane delayed key-clear/newer enabled-toggle merge remains and does not replace row deletion coverage. Speech loses dedicated rating-scale/inclusive-ceiling, unsupported-versus-unmeasured, explicit/system-language precedence/locale alias, accuracy versus fast named/default/best-measured selection, and unmeasured/no-match examples; exact offered-user-pick versus retired-selection case and its fixture remain. Relay loses legacy ping-delivery count/liveness sampled before the silence deadline and grouped malformed Bearer/host-ID 401/429 routing checks; twelve real Worker/DurableObject/shipped-client scenarios remain, not equivalent replacement for those narrow alarms. Six prior speech cases are not all deleted: approved successor3175 keeps the original user-choice case. No actual credential/file persistence, native/GPU/engine/download delivery, production assignment policy or deployed-runtime validation is claimed by this reduction. Audit3165 combines source3160/3162: deliberately retires six authored/expanded cases across three whole suites without equivalent replacement. Launch/status losses: observed React-render pending/resuming coordination across settings and deferred offer read; stale-offer reread suppressing dialog reopen; held-local-chat recovery visibility with new-chat preferences off; disabled-local admission avoiding offer RPC despite an injected but unconsumed paired-tab fixture; and run-only lost-reply uncertainty reachability until direct viewed-run retirement. Launch probe does not prove arbitrary synchronous-store atomicity, the paired fixture is not remote runtime enrollment, and the status case directly marks viewed state rather than rendering the summary. Crew-hook losses: old-host method_not_found cache persists across party changes but is released by independently supplied connection generation/verified pairing status or pairing revision, with actual frame publication and teardown. These are real narrow coordination, admission, uncertainty and mixed-version cache alarms consciously lost. Exact web verified-runtime writer handoff guard remains; it does not replace those alarms or prove live host/native/mobile delivery. Audit3156 combines3147/3150/3152/3153/3154: deliberately retires39authored/40expanded native-chat recovery cases, eight whole suites and two orphan test-support files without equivalent replacement. Lost alarms: lost-reply unconfirmed reconciliation, skipped rows/counts and missed-frame repair, unknown/pending outcome and omitted-failure-list compatibility, uncertain history after dismissal, retry/refusal/dismiss lifecycle, hidden/consumed picker ownership, result-tree keyboard focus/disclosure and all-skipped retirement; unconfirmed-over-conflict guidance and failed-chat changes despite older host timestamps; nearest-listed ancestor/cyclic forest shape, descendant membership, host ordering/missing-host local fallback; skipped/readiness/admission counts, provisional skip/progress monotonicity, early per-chat verdicts with batch pending protection, older-host waiting, start-slot/delivery distinction, retry-over-failure and unknown-after-withdrawal attention; remote snooze/reconnect/reoffer, unseen mixed summary through open/close, watched completion retirement, new success beside old failure, failed-reread mixed-result preservation, filter/collapse completion resets, retry summary replacement and current-offer/history selection; cross-host workspace identity, rendered cyclic reachability, nested tri-state/toggle propagation, project eligibility isolation and collapse preserving selection. Exact fallback-list completion barrier, batched verdict/cleanup retention, stale-read versus dismissal publication race, and requested-but-never-rendered finished-run retirement remain; they do not replace retired alarms. Audit3146 combines source reviews3132/3133/3135/3138/3143: intentionally retire20authored/31expanded cases without equivalent replacement. Provider-session losses: structured-native terminal-resume exclusion, metadata-less completed identity, new-turn completion clearing, Pi provider-only/periodic/manual promotion, changed-transcript launch-config isolation, Pi/omp/prime-agent completed-session remote/manual-shutdown promotion, and quit/done precedence over heartbeat. Side-thread/question losses: finished-pane acquisition, hidden title/recap states, local/relay/relay-done conversation takeover with prompt/session/child resets, plain-message abandonment, compaction/session replacement and completion resets. Codex startup losses: incoming-owner cached child replacement, old-relay foreign live-session correction, completed foreign-root turn-fact permutations. Transcript losses: real temporary-JSONL partial sibling/final-child completion, unlabelled child attribution, compact cached replay preservation and100/1000completed-child roster retention/release. Compiler-ratchet losses: valid-line uncompiled-list parser grammar examples and injected-existence stale-path filtering; these did not exercise actual filesystem canonicalization or build exclusion. These are real lifecycle, ownership, replay, liveness and retention alarms, including recent#40246 regressions, deliberately lost. Retained conditional record replacement, clockless root/SSH owner isolation, persisted main-thread fork rejection, partial/final question-answer lifetime, cached-roster/missing-ID/live HTTP/durable startup boundaries and restarted-relay refusal/acceptance do not replace those losses. No native/SSH/WSL execution or equivalent coverage is claimed. Audit3128 scoped coverage reduction: Audit3121 removes VoiceDictationLanguageSetting.test.tsx (Spanish-to-es callback and unsupported-model Korean option presence) and voice-speech-model-rows.test.ts (provider/language-order/retired-on-disk list policy); these real narrow alarms are deliberately retired without replacement. VoiceSpeechModelSection per-model concurrent deletion remains unchanged. Audit3122 removes the direct absolute/parent-segment sparse-directory exception-type sample and the five-row IPC sparse-preset error-code/non-save table (two authored/six expanded cases). Those real typed-validation and IPC refusal/error-code alarms are deliberately retired. Keep both real symlink/junction floating-directory trust cases and the minimal RPC structured validation-reason serialization case. The RPC case does not replace IPC save/refusal behavior, typed normalization for both path inputs, actual Git sparse checkout or rendered localization. No equivalent replacement or fresh test/runtime/platform/remote/performance validation is claimed. Audit3124 removes ExperimentalPane.test.tsx (ordinary Pet switch callback), WorkspaceDirectorySetting.test.tsx (padded absolute saved-path normalization/no-write blur), and repository-search.perf.test.ts (navigation/selected-pane builder-call policy, fixture cardinality/nonempty entries and renamed project keyword inclusion). These real narrow alarms are retired without replacement; RepositoryPane.search.test.tsx search-to-sparse-editor request remains unchanged. Audit3129: resolver Windows case-insensitive and POSIX case-sensitive configured-env composition plus mocked-base launch-preflight Windows composition are intentionally no longer checked by the two deleted suites. No equivalent coverage claimed. Keep runtime-structured-agent-host-env.test.ts unchanged: configured Windows Claude-home account identity and host-account precedence remain checked. Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit1579 removes workflow/manifest/regex/private binary-header and diagnostic metric inventories, fixture selectors, injected forwarding/platform/signature/process examples, unproven overlap and internal churn counters without equivalent replacement coverage. Retains actual Git trust/diffs; filesystem hash/ELF-region/native discovery; child CLI module repair; compiler/lock/publication/rollback and synthetic Electron install/cache ownership; executable shell quoting/exit; controlled notary/timer cleanup; local patched extractor file/AST freshness; real Chromium/WebKit CSP/sandbox/HTTPS image/referrer/link/preservation controls under parsed Android headers. Five unchanged setup-pnpm/VM request-cleanup definitions reviewed and not rerun. GitHub, installer/archive, OS metric, client, native delegate, compressor, builder and Apple boundaries injected or absent where recorded. No actual native PTY, shipped full/native app, real Actions/cache/npm signature authority, downloaded Electron archive, real objdump/linker/native CLI/AppImage, signing/NSIS/notary/upload/updater or live freeze proof. Historical scope before this audit: Published Linux 1.4.188 desktop against current source in both directions; scheduled weekly and manually runnable. No required PR check.", "motivatingLinks": ["https://github.com/stablyai/orca/actions/runs/34069063016"], "invariant": "A paired client and host without client-hosted browser capabilities retain server-hosted browser placement across supported version skew.", - "oracle": "Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Require both existing named browser placement scenarios to pass three times with one attempt, zero skips, zero failures, and no report errors.", + "oracle": "Audit3492 composes ROOT-approved75(AUTHOR3475/PEER3476 and AUTHOR3485/PEER3481, including five-field clarification and zero-credit selector3483) plus123(AUTHOR3486/PEER3487 reconciled FINAL3491, including peer case10:3 and9:0 wording clarifications). It intentionally removes198 authored registrations/232 finite literal-table potential registrations across70 changed JS/TS test sources, including45 whole suites;87 authored/90 finite potential registrations remain across95 reviewed JS/TS bodies. One mobile native-suspension manual recipe and the now-unreferenced GitLab mock fixture helper are separately removed with zero registration credit. Static literal table potential is not execution. No equivalent replacement, fresh runtime result or merge credit is claimed. Earlier135 complete dated receipts, all raw gaps and full prior98/161/history notes retain their exact scopes and bytes. The additional123 retirement accepts loss of mocked GitLab request/error/identity/classification inventories; basic Linear migration and metadata discovery; simulated OpenCode key failed-save retention/retry/log redaction; analytics identity-flush smoke that did not prove ordering; AppImage static entry guards and empty-staging cleanup; GPU/process/minidump breadcrumb/annotation shapes and weak redaction oracles; namespace/status/foreign-launcher ownership guards and persistence roundtrips; profile transfer field projections; worker hook/screen/incarnation/result admission/classification guards; and source-coupled CLI transaction fixtures. Privileged publication failure injection was a false-positive: its mkdir regex missed -m 700 and outer rejection accepted an inner assertion before any shell ran. The identity-flush case awaited identity after flush and could pass despite early flush. Retained actual negative-token cache recovery, SQL filter-before-LIMIT open approval, unreadable-root FTS preservation/degradation, latest-connect-wins persistence, worker stop-debt settlement, unmodified same-inode foreign-content transaction, explicit incomplete-pagination error, FTS own-message snippet association, filter-before-route result and bounded-search truncation honesty are distinct bounded outcomes, not replacements for retired alarms. Case9:0 checks both roots before chmod but only mounted-session/degraded-root after chmod. Entire extraction-root suite is removed; no retained extraction cleanup is claimed. Removing the manual iOS foreground-stall shell script loses its unique real native-suspension recipe; timer tests do not replace it. First-match PIDs, indefinite waiting, broad success matching and absent trap cleanup made that diagnostic brittle and able to leave a desktop stopped. The current Windows operational driver remains byte-exact, preserving already-merged removal of orcad-convert and orcad-cli-convert selectors and the retained cmd/powershell/managed CLI lanes. The package skill-sharing release selector loses only the exact already-retired skills-suite token; no extra test credit. Included approved75 retirement account follows (historical proposal labels identify provenance; final198 counts above control): Audit3488 composes ROOT-approved source49(AUTHOR3485/PEER3481, including its immutable five-field clarification) and source26(AUTHOR3475/PEER3476): intentionally removes75 authored registrations/87 finite potential registrations across35 changed sources, including25 whole suites;35 authored/36 finite potential registrations remain in the combined reviewed scopes. Literal table potential counts are not executions. This source-only reduction has no equivalent replacement, fresh runtime result or merge credit. Root unit discovery deliberately loses entire message-row filtering/chunk reconstruction, discussion-pagination rejection passthrough, Linear bearer/stack redaction, new-profile telemetry/default/existing-JSON no-op, WSL user-trigger routing, terminal-delivery refusal, native-chat worker-approval UI, followup-paste routing, live-surface tombstone refusal, activity-bar hydration, fabricated approval-caller policy, child-PATH transformation and branch-review URL/identity suites. It also loses cache roundtrip/mode/fingerprint/fallback/no-op samples; GPU field-shape privacy examples; older auth-probe failure retention; orphan SQLite-sidecar/future-schema admission; usage tie/duplicate/composite-key examples; allocation-name sanitizer/unknown-prefix examples; real worker-and-backup preflight wrapper smoke; and JSONL descriptor-loop truncation. The discussion page contained id-only discussions without notes, so its rejection did not prove a nonempty notes-prefix oracle. The preflight did launch actual worker/backup entrypoints with production internal self-validation; removing its revision/version wrapper deliberately retires that real-entry smoke alarm. The skipped-prefix JSONL keeper rewrites/grows after collecting the suffix and before final validation, not concurrently during parsing. Retained queue rejection/recovery and held/drain mechanisms, recorder nonsettling-provider deadline, corrupt authoritative-DB refusal, legacy cache split migration, merge-added-row indexing, external-frame redaction, and pinned JSONL read/verification/mutation checks are bounded concrete oracles, not equivalent replacements for retired alarms. The full cloud relay cohort/ceiling/control suite is separately removed from the relay package runner, outside root unit discovery; no cloud runtime result is claimed. The Python computer-use benchmark remains unchanged tooling with zero authored/removal credit; no native benchmark trial ran. The package skill-sharing release selector drops only the exact already-deleted skills-suite token, with zero additional removal credit. Prior dated receipts, raw gaps, and complete earlier161/98/history notes remain exactly at their original scopes; no changed-source historical receipt becomes fresh reduced-suite evidence. Included approved26 alarm account: Broad root-unit discovery loses entire ref-label string, hostile/malformed CSV-link rendering, Codex filename-discovery, mocked paged-preview postscan mutation, usage path-containment, real symlink-ancestor, Codex skip RPC, local/remote inference routing, width-preference, and synthetic workspace-document input suites. It also loses the hand-assembled sorted CSV edit example, connect-time JPEG seed and invalid AVCC guard samples, and eight-record/64KiB detector boundary cases. The symlink suite exercised actual kernel traversal; its lost ancestor alarm could omit supplemental local editor watches and leave content stale, not bypass authorization. Retained linked stream cancellation, preview-only save fence, failed-flush dirty-draft preservation, clipboard byte/edit preservation, fragmented AVCC parsing and independent quoted-CSV interpretation checks do not replace these deliberately retired alarms. The stream fixture uses an in-memory source and does not establish actual fd cleanup; editor save endpoints are synthetic, browser events are synthetic, and no native focus, actual remote delivery, real disk write, cross-platform execution or interoperability is claimed. Earlier complete dated receipts, raw known gaps and previous notes are historical evidence at their original source/selector scope, not fresh evidence for this reduced suite. Audit3438 composes ROOT-adopted3434/independent3436: intentionally removes60 authored/62 potential expanded cases across16 sources, deleting9 whole suites. Eight authored/eight potential cases remain; delete the102line unused ACP fixture and57line unused teardown helper with zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses ACP model-catalog fixtures, resume-record projections, dashboard mock payload/state cases, mobile folder/launch/session examples and dictionary pipeline rows. Selected E2E removals also retire auto-conversion and golden-core journeys and one Windows CLI conversion registration. Retain ACP reply text across a resumed subagent, both VAD checks, focused tab send ownership, async focus ownership in happy-dom, the question-skip journey, the original managed Windows CLI lifecycle journey and dictionary substitution. These checks do not replace the removed alarms. Audit3470 composes ROOT-approved AUTHOR3466/PEER3467 source proposal: intentionally removes38 authored registrations/59 finite potential expansions, including8 whole registering suites, retaining13 authored registrations/18 finite potential expansions. The sole dead shell-recipe caller cleanup has zero additional test credit. No equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses process-import boundary, Korean/Japanese locale policy, worker-reset, mobile agent-history/queued-message and median-summary suites, plus packaged mobile-manifest, worker-pool fixture, HTML preview, mobile shell and terminal samples. The environment-provider contract and its sole shell-recipe caller are deleted. Separate cross-version-wire discovery loses the large byte-budget fresh-snapshot/replay sample while retaining independent live same-revision note publication; the retained terminal stale-refresh and dirty HTML draft persistence checks do not replace removed alarms. The source4 unused start/stop fixture hooks are removed; its retained nested failed-import test remains byte-exact with its own lifecycle. Unchanged SVG preview and Git-resolution registrations stay intact. Root balanced CI excludes the cross-version directory, which has a separate job; unbalanced root discovery can include its parent. No native app/device, actual remote, released-pair interoperability or cross-platform execution result is claimed. Audit3468 accepted source proposal AUTHOR3462/PEER3463, composed privately by audit3469: removes62 authored registrations/95 finite potential expansions, including5 whole suites, retaining25 authored registrations/29 finite potential expansions. ROOT approved source value; no equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses the profile-state worker smoke, worker-agent views and three search discovery suites, plus samples from node-server qualification, skill-bundle generation, CLI hooks/profile/recovery/offline admission, permission-hook holds and search indexing. The separate Cloud relay runner loses one relay blackbox sample; unchanged mobile native-chat and dependent-transcript drivers remain. Retained source callback/table/ancestor/fixture bytes bind to the sealed candidate. No physical-device, mixed-version, remote, cross-platform or app execution result is claimed. Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. Broad unit discovery intentionally loses whole trust-dialog observer, background-turn notifications, redirected session refusal, typed-agent identity, chat-tab lifetime-cost, model-manager and mobile diff-review controller suites, plus individual persistence, synthetic composition, pairing, manifest and subprocess samples. Retain deferred snapshot dirty-domain persistence, two direct editor ownership cases, stream counter-domain distinction, two persisted pairing identity cases, parser entrypoint asymmetry, dictation retry and process-group timeout; paired restart and packaged old-binary/corrupt-profile journeys remain in their E2E driver scope. Retained checks do not replace removed alarms. No fresh execution, native IME/microphone, real authentication, mixed-version/platform or performance result is claimed. Audit3451 composes ROOT-adopted3444/independent3445: intentionally removes101 authored registrations across16 reviewed sources, deleting7 whole suites and reducing8; one reviewed source is unchanged. Fresh main has123 authored registrations before and22 after because an upstream direct-child shell regression remains verbatim with zero removal credit. Registered removals are100+7*S and explicit-active removals99+7*S, where S is the unprobed count0..3 of admitted bash/zsh/fish shells. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses extra stream lifecycle/forwarding examples, unreadable-store/cache projections, orchestration presentation/benchmark cases, remote-owned routing matrices, mobile legacy navigation and model-catalog listing/cache examples. Whole suites retire renderer client-event projections, manually assembled structured-session reader ownership, mobile prompt presentation, renderer AI-vault resume commands, mobile Jira URL lookup, composer retention and mobile folder source-repository queries. Retained checks preserve original stream/store/orchestration/routing/navigation/catalog cases and shell behavior, including the upstream direct-child case. No real provider, native desktop or mobile acceptance is established by this reduction. Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit and mobile discovery loses interrupt/wake registrars, task storage/session-close/account snapshot hooks, permission tables, copy/preference/model-discovery/composer examples, launch placement examples, VM projections and extra mobile-history scenarios. Retained checks cover abandoned versus dispatched fork uncertainty; /fast dispatch supersession; discovery lock release after exit; stale-send draft preservation; OSC status lifetime; future-version file preservation; launch cancellation before/during dispatch on both layout owners; mobile resume addressability before hooks; and recipe snapshot cleanup after plugin removal. The paired browser-link Electron source is unchanged. Terminal launch seams, mobile roles-only history and injected provider results do not establish native terminal destruction, transcript text fidelity or real remote provider cleanup. Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses reduced or deleted relay, coordinator mail, recovery watchdog, automation observer, launch picker, folder PTY, profile restart, web migration, retirement, pointer delivery, agent-row and run-bound mailbox examples. Retained checks cover relay hello/payload and SIGTERM drain, coordinator pending-check and clear-to-Run continuity, profile persistence, the full six-row web merge table and real run-bound delivery waiter. These do not replace removed alarms. Audit3429 composes root-adopted3426/independent3427: intentionally removes168 authored/205 potential expanded cases across16 semantic sources, deleting11 whole suites and one304line unused assertion helper. Five authored/five potential cases remain; the duplicate500k graph row is dropped while its50k row and callback remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted migration/recovery/federation/rich-draft/paste/automation/mobile/catalog examples. Keep server-edit preservation during migration, native supervised cancellation holding the agent home until physical stop, pagehide lost-text preservation, graph old-result WRAPPER WeakRef collection with50k rows, and mobile React render isolation. The WeakRef does not prove all commit objects are collectible or a memory budget. Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted mock orchestration, refusal, restart and storage examples. Retain unchanged two-phase real-WSL deployment/survival, the reduced idle-release holder proof without restart/first-output measurement, real worker stop/release cleanup barrier rows, physical Git branch-preservation rows, and SSH disconnected-close proof. Other SSH and CLI variants and WSL telemetry/warmup churn are intentionally removed. Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. Broad root-unit discovery loses naming/title/queued-host fixtures, main-window focus-shortcut and attach-services mock orchestration, Git Bash console-capacity fake process inventories, most real-Git preparation/locking variants and Claude/Codex catch-up examples. Keep lifetime rejected-writer followed by late termination proof and autonomous real-checkout cleanup; two-row real-Git rollback after a real move preserving a replacement/admin marker or revoked permission; a live translator write during a held transcript read fencing stale Claude history append; and Codex expected-item revision rejection before a historical writer shim. Codex driver registers retained bounds exactly once with original inputs; bounds does not prove modern writer persistence. Accepted changed-lock preflight sentinel and omitted-parent routing losses are not replaced. Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Broad root-unit discovery loses35WSL examples,22STT examples,22shared-server-banner examples,18clipboard-handler examples (whole suite deleted),14VM lifecycle examples and16commit-message cancellation examples. Retain4WSL and7STT mocked connector/worker cases,1rendered stale-banner refusal,2VM guard/failed-compensation cases and1late-stream ownership cancellation case; real WSL/microphone/remote-provider proof is not established. Separately discovered e2e-unit drivers lose13cross-version-wire local cases and15mobile active-publication cases, keeping same-process disk-reopen/new-host cursor content/epoch/sequence outcomes and a host/renderer-snapshot selection and inventory revision race respectively. Imported released stop-note scenarios remain unchanged and receive no duplicate credit. Cloud suites are outside root UNIT_INCLUDE. Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The broad root-unit command loses the UNIT_INCLUDE src/ subset of retired examples; mobile is outside UNIT_INCLUDE. Other lost alarms are recorded by the adopted per-case source reviews. Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed. Audit3381 composes root-adopted3376/independent3377 and3379/independent3380: intentionally retires436 authored registrations/670 expanded cases, including79 whole suites and12877 test lines, without equivalent replacement. Lost alarms include scheduling, account/host/status/filter/format inventories, microphone/image cleanup, title/bell/capability lifecycle routing, access/impersonation/outcome matrices, paste/input resend/ledger/retention, stale completions/reload containment, trust-read failure and popup OAuth/security/geometry vectors. Retained30 registrations/34expanded cases in22 suites preserve narrower SQLite TEMP/TZ/WAL, HTTP transcript root resume, mobile original-index Choose/Submit, child environment/Git lock expiry, stale ACK/PTY lifetime/peer fairness/durable replay/output ordering, actual DOM paste/editor focus, DEC2026 conservation, filesystem rollback, owned buffer lifetime, actual OSC parser/tracker handback, POSIX Python UTF8/fallback, durable trust concurrency/version, OpenSSH verdicts and hidden Chromium POST/route lifecycle. Mocked boundaries limit claims. Current bounded defining-owner reads preserve the retained oracles; captured identities are not full transitive semantic review. Both component blind pins authenticated before exchange; final reconciliation and explicit postpin3380reason correction supplement control, without retroactive blind claims. Root unit command excludes mobile and separately admitted Electron probes; use existing respective runners. No fresh execution, native focus/device/pixel UI, live SSH/remote, equivalent replacement or broad mixed-version/cross-platform validation is claimed. Prior dated receipts retain exact original scopes. Audit3375 composes root-adopted3370/independent3371 and3373/independent3374: intentionally retires79 authored registrations/84 expanded cases, including39 whole suites, without equivalent replacement. Lost alarms include federation field/parser inventories; Claude rejected-key precedence, credential clone redaction, managed-versus-user hook preservation and CLI defaults; setting/status/activity projections, mocked SSH/notification/reveal/Linear refusal, fake-clock reconnect and noise; image-fold artifact visibility, paste eligibility, setup trust, scripted ACP error-to-journal publication and ligature cache tuple aliasing; plus supplied folder-runner uniqueness, mobile host-overlay/credential/update/preference races, status/markup/title/keyed-row projections, subscriber cleanup, cancellation/close/refusal/link-issue and mirror suppression alarms. Retained3373 merger contiguity, dual-clock overdue-resume exactly-once, rejected-paste IPC sink and annotation schema roundtrip remain bounded. Retained actual HTTP/OSC status composition, destructive sibling-filesystem isolation, external contrast invariant and fixture CSS pixel intervention remain narrower. Original reviewed87authored/92expanded become9/9; current OpenCode suite adds two preserved upstream cases and the synthetic-title suite gained one Cursor policy mock-call case, independently reviewed for removal in root3378; current90/95 become11/11. That Cursor suppression/ready-frame regression alarm is intentionally lost; it does not observe native title ownership or tab flicker. For3370 only the peer was independently blind, with author exposure explicit;3373/3374 both blind pins were verified. This broad root unit command selects the reduced root unit suite; UNIT_INCLUDE excludes mobile tests, which require the existing mobile runner; retained Playwright component-pixel spec uses its separate existing headless fixture runner and is not validated by the broad unit command. No fresh execution, actual agent/shell/provider, OS material/focus, historical import equivalence, mobile, mixed-version or cross-platform evidence is claimed. All dated receipts retain their original scope. Audit3368 composes root-adopted3363/3364 and3367/3369: intentionally retires181 authored registrations/196 expanded cases, including28 whole suites, without equivalent replacement. Lost alarms include hibernation attention/liveness/backoff/sequential teardown and inventory, host launch compatibility/legacy/Kimi/resource cleanup, terminal recovery parser/pause/quarantine/remount, window-visibility omission-fence lifetime, launch-option rendered Start, sleeping-resume saved recipe/WSL quoting/cancellation, plus removed project/window/input variants. Additional tiny-suite losses include sentence/label/field/default inventories, credential omission, Windows argument/environment mapping, URI decoding, diagnostics, provider classification and fake-clock callback/parser examples. Retained ten registrations/twelve expanded cases include two literal Unicode Mn/Cf zero-width range guards in the actual character-range algorithm and protect narrower delayed editor bytes/destructive ownership, mounted hidden collision repair, ten transport epochs, duplicate-command refusal, caller timeout typing, executor unknown-opener refusal and failed-chunk user bytes. This broad unit command selects the reduced suite; no fresh runtime, real provider/network/PTY, filesystem restart, native UI, historical import equivalence, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3362 composes root-adopted3358/independent3360: intentionally retires129 authored registrations/140 expanded cases, including four whole suites, without equivalent replacement. Lost alarms include supplied orphan-adoption retry/malformed inventory/cancellation; fake-terminal replay parser/wedge/disposal callbacks; all-host catalog metadata and Windows preferences; host keepalive/protocol/stale/settings failures; and removed exact-stop/suppression, source save lifetime, diff-note queue, rename/editor close, input flood/chunk refusal/limits, purge and creation examples. Retained18 registrations/21 expanded cases protect narrower ownership, generation, dirty-state, queue convergence, encoding and attachment-lease outcomes. No replacement or keeper quota claim. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY/xterm parser, disk restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3359 composes root-adopted source3355/independent3356: intentionally retires130 authored registrations/139 expanded cases, including eight whole suites, without equivalent replacement. Lost alarms include strict create naming/capability/legacy payloads; supplied transport host replacement, deadline reattach, create-handoff and split activation; agent-session fork/clipboard/platform flags; shutdown cleared-scrollback/unmounted bindings; simulator host-collision/selection/shutdown; and removed editor, catalog, mutation, launch and status examples. Retained12 adverse-ordering/state-consequence cases are narrower and do not replace all removed alarms. Two queue absences receive zero removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY, filesystem restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3349 composes adopted batches3343,3345 and refreshed3354: intentionally retires234 authored registrations/294 expanded cases, including13 whole suites, without equivalent replacement. Lost alarms include supplied terminal reconnect/replacement/typeahead/mirror/result and snapshot examples; synthetic render-desync persistence/recovery; worktree listing/owner/catalog/lineage/removal and activation/creation examples; host-scoped PR and task-record projections; editor diff/status/comment and UI send-target examples; automation observation/wake, supplied sleep/deadline clock and native-chat completion/notification/relaunch samples; held-tab layout and cleanup/progress guard examples. Retained adverse-ordering and wire-boundary cases are narrower and do not replace all removed alarms. The already-upstream visibility-resume deletion receives zero new removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH, native process/power/GPU, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope. Audit3342 composes adopted source batches3333/3334,3336/3337 and3340/3341: intentionally retires180 authored registrations/263 expanded cases, including seven whole suites, without equivalent replacement. Lost alarms include corrupt editor hydration; mobile editor/diff publication and privacy projections; stale-resubscribe routing; model-picker projection/refetch/retry/fallback; editor check-details and frame property inventories; latched-pane cleanup/quiescence; client create replay identity/options/compatibility; and removed owner, async routing, terminal and layout examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts keep their original scope. Audit3335 composes adopted source unions3327/3328 and3330/3332: intentionally retires100 authored registrations/123 expanded cases, including ten whole suites, without equivalent replacement. Lost alarms include seeded host persistence/contention and stale-host cleanup; browser snapshot assembly; mocked wake/DPR callbacks and frame budgets; preflight projections; palette authority/cache suppression, URL intent and saved-title cross-repo collisions; metadata coverage/set patch and dropdown assembly; and removed terminal, worktree, review-refresh and owner-routing examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI/GPU/focus, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain only their original scope. Audit 3318 composes adopted sources 3310, 3313 and 3317: intentionally retires 71 authored declarations and 102 expanded cases, including whole terminal-detach agent-retention, seeded batch/single open-files equivalence, shallow context-menu shortcut-badge, mocked active-workspace delete-dispatch, workspace session hydration, SSH target cleanup, editor session hydration and worktree terminal purge suites. Lost alarms include chained transfer alias and immediate close/exit retention; batch/single divergence, survivor/selection/map preservation and input nonmutation across 400 imperative seeds (one registered case); disconnected pending-handle retry, authoritative absences/close-record shortcut/older-host absence and published-presence/unpublished-frame examples; published empty host-graph omission to pane exit; legacy search ranking/exclusion fallback; provider request upgrade/dedupe/finalizer ownership; asynchronous PR suppression/primary-change and same-number different-repository URL rejection. Deletion routing loses host/instance qualification, paired and legacy mapping, folder ownership, active-versus-hover/menu-row selection, ambiguity, modal/editable/creation/view/main/deleting/missing guards and shortcut advertisement. Unchanged real keyboard/hover/confirmation/catalog E2E remains narrower, not an equivalent replacement. Additional losses include scripted old-host disk/UTF-8/noop/baseline and landed/unlanded lost-reply/replacement-retry outcomes; ordinary/repeated healthy-link reattach; cross-owner terminal/chat binding; oversized replay permanent-unavailable classification; floating reveal keyboard ownership/close/disable/listener disposal; naming/retained-turn/Sleep/error/close/reject status tables; SSH membership prune/new-target-only reads and environment/local bucket isolation; same-frame receipt capacity and positive bare/headless publisher readmission. These actual regression alarms are deliberately lost; no fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed. Audit 3312 composes adopted sources 3302 and 3308: deliberately retires 33 authored declarations and 36 expanded cases, including the whole backend startup-focus, active-browser IPC-close-routing, remote-browser-creation and agent-terminal-presence suites. Intentionally lost alarms cover distinct six-pane reconnect handles; SSH host label/Connect callback, unhydrated visit cleanup, repo cache aliases and hidden worktree/tab/PTY cleanup; adopted-agent startup focus and viewer navigation/reuse; staged, pageless, source, stale and orphan browser-close routing; web local-materialization refusal, desktop incapable-host fallback, failed/thrown remote creation and paired-web sign-in refusal; BOM/NUL and remote/local custom-editor byte-read examples; immediate folder activation and unread clearing; and batching idle/coalescing, accumulated byte ceiling, leading-edge-disabled, standalone synchronous oversize rejection, validation yield, deferred pending-tail order and both viewport-clear examples. The newly reintroduced agent-terminal-presence suite also loses actual terminal-status membership positive and nonterminal-status callback suppression alarms, including the recent 40916 guard regression; the older different 2133 presence-suite history remains historical and receives zero duplicate removal credit. These real regression alarms are intentionally lost. The unchanged survivors provide narrower coverage, with no equivalent replacement or fresh gate, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation claimed. Audit 3301 combines adopted source batches 3296 and 3299: retire 27 authored declarations and 36 expanded scenarios, including six whole suites. Intentionally lost alarms cover failed-verification/recovery/restart counters and mocked hosting/toast; early overlapping pane-read scheduling/count; unreadable removal listing draft guard; bulk-purge remote-qualified and raw-local guard maps; initial-snapshot blank/mode/oversize/printable/fresh-spawn callback and replay examples; fallback mobile file close and ordinary MRU; default queue overload/drain; seeded browser-page reuse and supplied missing-page URL recreation; ambiguous sleep/hibernation owner refusal and untouched bindings/origins; ordinary selection/activity/fallback priority; skip-remote success and retained hints; supplied structured-chat unsent retention and scoped removal draft eviction; caller-chat focus precedence; open/draft PR cache eviction and merged-head fallback result inventories. Retained adverse-ordering and ownership cases are narrower and do not establish equivalent replacements. No fresh runtime, native, physical provider, cross-platform, mobile or mixed-version evidence is claimed. Audit 3292 combines adopted 3285/3287/3289/3293 removals: 40 authored declarations and 47 expanded scenarios, including whole frame-editor-view, ambiguous remote-delete-refusal, unverifiable-host subscription and editor-close cleanup suites. The previously reviewed dock-badge suite was already removed upstream in PR 40895 and receives zero new removal credit. Intentionally retired alarms include background browser selection and last-tab landing; main startup fallback, SSH project cleanup/survivor routing, exact-PR contradiction/saved-push positives, replay/sidecar rollback and wrapped remote error normalization; records/snapshot missing-diff hydration, ambiguous folder-owner delete refusal, focus no-op notifications, nested editor context-only cache check, pending broadcast-first status and ordinary four-confirmation aggregation; preview-source frontmatter pruning, approved local/runtime agent dispatch, non-GitHub legacy PR cache invalidation, stale merged-head transient-error fallback, empty-queue immediate query reply and unverified-to-concrete preflight risk. Additional intentionally retired alarms are injected host subscription/unsubscribe counts, synthetic editor reveal/draft/fallback/scoped close, ambiguous unread refusals and hidden mark/read roundtrip, immediate connect backoff/noError, positive mirrored evidence-clock renewal, supplied VM failure/success projections and git-local/folder-SSH wake permutations. Remaining temporal/ownership cases are narrower; no equivalent replacement or fresh execution is claimed. Audit 3283 removes 20 authored declarations and 31 expanded scenarios, including two whole suites. Retired alarms cover PR refresh-state pruning, shared runtime subscription cleanup and store isolation, language content-change routing and older completion ownership, ordinary panel retry-timer cleanup and pending loading, four hosted-review lifetime permutations, mocked terminal creation error/order wiring, five sleep-inventory variants with pending-frame-only assertions, palette fallback/composite highlights, Windows/UNC encoded-editor input rows, mixed-repository partial failure counts, title setters and generated-title bypass/replacement, five window-close coordinator delegation/guard/finally branches, and ambiguous-old-record frame reveal. These regression checks are intentionally lost under the test-value audit; retained cases are not equivalent replacements. Prior coverage notes and receipts remain historical. Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims. Audit 3256 removes these specific alarms from the broad root unit commands: skill dialog active-share selection, close and pending-share handoff; simple keyed-record deletion; marker live-region insertion, simple landing and nine baseline policy examples; General search/control navigation inventory; orphan-count cache bootstrap; seven Codex code classifications and HTTP 429 warning mapping; two skill unread-root verdict examples; peer-mail payload and conversation-ID rejection; and the GitHub organization TABLE text-field optimistic rollback/failed-envelope example. These include real behaviors; retained tests do not provide equivalent coverage for every removed scenario. Mobile losses are recorded separately and are not coverage of these root commands. Audit3246 retires NewRowsMarker reveal/no-repeat and pane-scoped beforeinput checks; skill-owner option availability/count/dedup/order; six styled Input/Textarea IME forwarding rows; the static Codex/OpenCode smart-key inventory; tab-map AST ratchet diagnostic fixtures; child-roster work-budget and retained-aggregate alarms; malformed persisted floating-cwd fallback/no-crash/empty exact-root checks; the unanswered-host empty-list discriminator; the direct invalidated-cache commit-false assertion; one redundant digit-keyup IME row; cached non-supported Claude title-generator rows; and the duplicate late naming-result singleton. These root broad commands lose those specific alarms without equivalent replacement. Distinct retained owner/state checks have their own bounded claims; the real scheduler still rejects stale response data, while the direct false-return alarm is retired. Audit3231 retires supported-host restore-pane key mapping, closed/open creation-sidebar toggle visibility, unrelated scope-error/null classification and quick-submit reveal/no-create checks. These broad commands lose those real narrow alarms; no replacement coverage is claimed. Audit3219 removes the synthetic Cmd+J extra-source suite; this broad command no longer checks its match/tie placement and selection, announced count, empty-query cap, or workspace hiding with retained recent tabs. No replacement coverage is claimed. Audit3209 composes approved sources3202/3206: deliberately retires seven authored/expanded cases in four whole suites without equivalent replacement. Work-item queries lose real GitHub/GitLab oversized ASCII secret-prefix empty-query and whitespace-before-trim refusal alarms; inputs share the imported size bound and exercise only its fast length branch, with no multibyte or actual provider/exposure guarantee. Skill sharing loses complete/partial managed-bundle and destination-ambiguity association checks plus three negative origin/path/scheme admission examples; these do not establish uploaded contents, arbitrary-URL fetching, authorization or execution. Retain exact originless-project direct-link fallback, cloud-delete confirmation, bundled-target repair/owner isolation and explicit Windows-host preference over stale WSL suites. Rejected3201 runtime-preference removal is excluded. No real cloud/network/host/disk, mobile or mixed-version execution validation is claimed. Audit3200 composes approved source3194: deliberately retires thirteen authored registrations/twenty-seven expanded cases in six whole automation host/list policy suites without equivalent replacement. Real RPC category/retryability and wrapped-timeout recognition, unscoped-failure/scoped-success health evidence precedence, exact-ID create selectors and per-run workspace omission, paired-web local/SSH/absent host catalog routing, incompatible/removed/unhydrated/offline execution health, runtime-before-nested-SSH recovery dispatch, and no-owned-focus/successor/foreign-list focus policy alarms are consciously lost. Retain exact20line orphan allow/refuse/precondition and exact90line cross-host same-ID search suites. No retry-timer/fence lifecycle, actual reconnect/network/write delivery, native focus, mobile/mixed-version runtime or disk persistence coverage is claimed. Audit3191 combines approved source3182/3187/3188: deliberately retires thirteen authored Vitest registrations and fifteen expanded cases, including five whole suites, without equivalent replacement. Attachment intake loses real portal/native-capture terminal interception and unowned-container refusal, immediate child-only committed availability/claim-ref negotiation and delivery, and direct-target over stable focused/background composer routing through disable/re-enable/remount and independent question focus. Exact destination/cache/draft and final-stat owner/workspace/File-release suites remain; they do not replace Surface recipient routing. Automation authoring loses destination runtime catalog membership, local/direct-SSH exclusion of paired-runtime repos, unknown-runtime empty catalog, logical project/host/setup/repo/path context payload, and missing/nonready setup refusal; these were genuine direct helper alarms, while exact schedule transformation, legacy schedule and setup-decision suites remain. Agent picker loses setup-chat/terminal/missing-installer/unsupported-or-unknown-host row projection samples and the ordinary unsearched menu variant; the entire original26-line resume recipe suite remains, including reported bypass versus default/absent permission modes, as does the exact search-result menu callback with its fixtures, model/effort commits and staged Arguments reopen outcome. Rejected predecessor3180 full recipe deletion is excluded. No actual native drag/cursor/focus/IME, upload bytes or disk/restart persistence, full automation save/scheduler/runtime transport, real resume-process flags/environment delivery, or native menu/rendered layout validation is claimed. Audit3178 combines source3169/3170/3175: deliberately retires eight authored units (six Vitest cases and two imperative custom relay scenarios), including two whole suites, without equivalent replacement. Voice Section loses per-model pending-delete isolation across interleaved A/B completion and the two-success refresh-call alarm; exact VoicePane delayed key-clear/newer enabled-toggle merge remains and does not replace row deletion coverage. Speech loses dedicated rating-scale/inclusive-ceiling, unsupported-versus-unmeasured, explicit/system-language precedence/locale alias, accuracy versus fast named/default/best-measured selection, and unmeasured/no-match examples; exact offered-user-pick versus retired-selection case and its fixture remain. Relay loses legacy ping-delivery count/liveness sampled before the silence deadline and grouped malformed Bearer/host-ID 401/429 routing checks; twelve real Worker/DurableObject/shipped-client scenarios remain, not equivalent replacement for those narrow alarms. Six prior speech cases are not all deleted: approved successor3175 keeps the original user-choice case. No actual credential/file persistence, native/GPU/engine/download delivery, production assignment policy or deployed-runtime validation is claimed by this reduction. Audit3165 combines source3160/3162: deliberately retires six authored/expanded cases across three whole suites without equivalent replacement. Launch/status losses: observed React-render pending/resuming coordination across settings and deferred offer read; stale-offer reread suppressing dialog reopen; held-local-chat recovery visibility with new-chat preferences off; disabled-local admission avoiding offer RPC despite an injected but unconsumed paired-tab fixture; and run-only lost-reply uncertainty reachability until direct viewed-run retirement. Launch probe does not prove arbitrary synchronous-store atomicity, the paired fixture is not remote runtime enrollment, and the status case directly marks viewed state rather than rendering the summary. Crew-hook losses: old-host method_not_found cache persists across party changes but is released by independently supplied connection generation/verified pairing status or pairing revision, with actual frame publication and teardown. These are real narrow coordination, admission, uncertainty and mixed-version cache alarms consciously lost. Exact web verified-runtime writer handoff guard remains; it does not replace those alarms or prove live host/native/mobile delivery. Audit3156 combines3147/3150/3152/3153/3154: deliberately retires39authored/40expanded native-chat recovery cases, eight whole suites and two orphan test-support files without equivalent replacement. Lost alarms: lost-reply unconfirmed reconciliation, skipped rows/counts and missed-frame repair, unknown/pending outcome and omitted-failure-list compatibility, uncertain history after dismissal, retry/refusal/dismiss lifecycle, hidden/consumed picker ownership, result-tree keyboard focus/disclosure and all-skipped retirement; unconfirmed-over-conflict guidance and failed-chat changes despite older host timestamps; nearest-listed ancestor/cyclic forest shape, descendant membership, host ordering/missing-host local fallback; skipped/readiness/admission counts, provisional skip/progress monotonicity, early per-chat verdicts with batch pending protection, older-host waiting, start-slot/delivery distinction, retry-over-failure and unknown-after-withdrawal attention; remote snooze/reconnect/reoffer, unseen mixed summary through open/close, watched completion retirement, new success beside old failure, failed-reread mixed-result preservation, filter/collapse completion resets, retry summary replacement and current-offer/history selection; cross-host workspace identity, rendered cyclic reachability, nested tri-state/toggle propagation, project eligibility isolation and collapse preserving selection. Exact fallback-list completion barrier, batched verdict/cleanup retention, stale-read versus dismissal publication race, and requested-but-never-rendered finished-run retirement remain; they do not replace retired alarms. Audit3146 combines source reviews3132/3133/3135/3138/3143: intentionally retire20authored/31expanded cases without equivalent replacement. Provider-session losses: structured-native terminal-resume exclusion, metadata-less completed identity, new-turn completion clearing, Pi provider-only/periodic/manual promotion, changed-transcript launch-config isolation, Pi/omp/prime-agent completed-session remote/manual-shutdown promotion, and quit/done precedence over heartbeat. Side-thread/question losses: finished-pane acquisition, hidden title/recap states, local/relay/relay-done conversation takeover with prompt/session/child resets, plain-message abandonment, compaction/session replacement and completion resets. Codex startup losses: incoming-owner cached child replacement, old-relay foreign live-session correction, completed foreign-root turn-fact permutations. Transcript losses: real temporary-JSONL partial sibling/final-child completion, unlabelled child attribution, compact cached replay preservation and100/1000completed-child roster retention/release. Compiler-ratchet losses: valid-line uncompiled-list parser grammar examples and injected-existence stale-path filtering; these did not exercise actual filesystem canonicalization or build exclusion. These are real lifecycle, ownership, replay, liveness and retention alarms, including recent#40246 regressions, deliberately lost. Retained conditional record replacement, clockless root/SSH owner isolation, persisted main-thread fork rejection, partial/final question-answer lifetime, cached-roster/missing-ID/live HTTP/durable startup boundaries and restarted-relay refusal/acceptance do not replace those losses. No native/SSH/WSL execution or equivalent coverage is claimed. Audit3128 scoped coverage reduction: Audit3121 removes VoiceDictationLanguageSetting.test.tsx (Spanish-to-es callback and unsupported-model Korean option presence) and voice-speech-model-rows.test.ts (provider/language-order/retired-on-disk list policy); these real narrow alarms are deliberately retired without replacement. VoiceSpeechModelSection per-model concurrent deletion remains unchanged. Audit3122 removes the direct absolute/parent-segment sparse-directory exception-type sample and the five-row IPC sparse-preset error-code/non-save table (two authored/six expanded cases). Those real typed-validation and IPC refusal/error-code alarms are deliberately retired. Keep both real symlink/junction floating-directory trust cases and the minimal RPC structured validation-reason serialization case. The RPC case does not replace IPC save/refusal behavior, typed normalization for both path inputs, actual Git sparse checkout or rendered localization. No equivalent replacement or fresh test/runtime/platform/remote/performance validation is claimed. Audit3124 removes ExperimentalPane.test.tsx (ordinary Pet switch callback), WorkspaceDirectorySetting.test.tsx (padded absolute saved-path normalization/no-write blur), and repository-search.perf.test.ts (navigation/selected-pane builder-call policy, fixture cardinality/nonempty entries and renamed project keyword inclusion). These real narrow alarms are retired without replacement; RepositoryPane.search.test.tsx search-to-sparse-editor request remains unchanged. Audit3129: resolver Windows case-insensitive and POSIX case-sensitive configured-env composition plus mocked-base launch-preflight Windows composition are intentionally no longer checked by the two deleted suites. No equivalent coverage claimed. Keep runtime-structured-agent-host-env.test.ts unchanged: configured Windows Claude-home account identity and host-account precedence remain checked. Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed. Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation. Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed. Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed. Audit3096 source-only reduction (3087/3088): retire 69 authored/76 expanded cases, including complete recovery-portals and reconnect-banner suites. Intentionally lose dead/default TUI replay, generated alternate-frame style composition, reset/mode/dimension and legacy missing-mode-boundary alarms, UI notice/action/reveal policies, and isolated recovery lifecycle variants, without equivalent replacement. Retained registrations and callbacks are unchanged; headless cells are not pixels, and no fresh runtime, host, SSH, WSL, rendered-app or performance result is claimed. Audit3086 source-only reduction (3079/3080/3081): intentionally retire 93 authored/100 expanded mock-boundary cases, including the complete spawn-errors and SSH reconnect overlay suites, without replacement. Retired alarms include spawn classification/ownership, reply ceilings and renderer-write failure recovery, disconnect/detach fencing branches, authority facts, and overlay retry/visibility wiring. Retained callbacks are unchanged; no fresh execution, real PTY/SSH, rendered UI, or performance result is claimed. Audit2432: The broad unit command loses the isolated BranchPicker open-change notification sample. Its unique true/false callback alarm is intentionally retired; reopening/status-refresh behavior was not exercised. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2425: The broad unit command loses the workspace-copy-status supplied readError forwarding sample. It did not exercise the branch-switch blocking promised by its title. This alarm is intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2417: The broad unit command loses two ordinary clean Git cherry-pick/revert success samples and two terminal startup foreground-read work-budget samples. These unique alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2412: The broad unit command loses the whole six-case fake-React-hook scroll-anchor suite, two generic draft-retention samples, a simple new-agent order sample, a real history-publication batching-count sample, an unmounted handoff abort/timer sample and three basic WSL preview/error samples. These alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2404: The broad unit command loses the standalone share-name lookup 503 propagation suite, initial deletion placement-kind sample, direct changed-mtime stale sample, first-pass rollback existence example and abandoned-preparation directory sample. These exact alarms are intentionally retired without equivalent replacement or fresh validation of the reduced selector. Audit2397 review amendment: The broad unit command loses three standalone suites, two partial-case definitions and two URL table rows across package/download/placement tests. Keep initial wrong-port authorization, modified independent-copy digest refusal and abort-after-begin cancellation dispatch. The remaining alarms are deliberately retired; no equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2393 current-parent refresh2401: Remove the basic skill-install service alias sample and original public managed-remove receiptless refusal case. Preserve the upstream request ownership suite and transaction interruption coverage. No equivalent complete replacement or fresh validation of the reduced selector is claimed. Audit2389: The broad unit command loses the missing-preview suite, plain-global destination sample and prepublished-receipt recovery example. No equivalent replacement or fresh validation of the reduced selector is claimed. Audit2385: The broad unit command loses four authored walker/staging/protocol examples (six expanded cases); no equivalent replacement or fresh validation is claimed for the reduced suite. Audit2383: The unscoped Vitest command no longer includes the removed Antigravity catalogue suite; its exact provider-root/owner example has no equivalent replacement or fresh validation claim. Audit2377/2381: The unscoped Vitest command includes the reduced bundled-skill and native-discovery suites; the eight removed backup/legacy/catalogue/symlink/SSH-builder examples have no replacement-equivalence or fresh validation claim here. Audit2133 current-parent preparation: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Audit2095 current-parent preparation2126: Current reduced sources/selectors intentionally retire the alarms listed in knownGaps; prior dated runs and replacement claims do not validate the changed set. Historical prior account (preserved verbatim): Require both existing named browser placement scenarios to pass three times with one attempt, zero skips, zero failures, and no report errors.", "commands": [ "gh workflow run packaged-browser-e2e.yml", "pnpm exec playwright test tests/e2e/packaged-mixed-version-browser-placement.spec.ts --config tests/playwright.config.ts --project=electron-headless --workers=1 --repeat-each=3 --retries=0", @@ -14478,6 +14116,7 @@ "Collect repeated scheduled history before making this required." ], "knownGaps": [ + "Launch direct-owner cleanup current scope: This gate’s unfiltered unit command now selects a suite reduced by 82 whole registrations / 159 potential table examples in 10 whole test Programs, including 8 registrations / 15 examples from five once-registered create-message factory closures. Lost alarms include frozen first-message/options and legacy-host fallback; distinct actions and redelivery; uncertain/refused/reloaded input custody, Retry and late proof; rich prompt/attachment upload Stop/close and handback; ordinary draft/editor/IME/StrictMode lifetime and accepted topology; provisional fallback tab placement/group/pin/order and rich worktree handoff. Four whole consent/resume-identity cases remain in two Programs; they do not replace these alarms. This entry governs current reduced-unit scope and qualifies any broader implication of unchanged oracle/coverageNotes history. Entire dated evidenceRuns, original commands/currentCommand values, counts/results and existing history retain their original scopes only; no fresh execution, transferred pass, replacement equivalence or prior upstream-removal credit is claimed.", "Audit2133 current-parent preparation (988 authored removals; independently reviewed2099/2107/2115/2116 decisions; upstream clear-buffer and recovery-image regressions retained): Intentionally retire these low-value alarms without replacement: src/main/persistence/worktree-sort-order-write.test.ts: re-ranks every writable row when a blocked row sits in the requested order. src/main/runtime/construction/orca-runtime.test.ts: remove only literal registration import/call pairs await import('../orca-runtime-tests/worktree-setup-and-startup.spec'), await import('../orca-runtime-tests/gitlab-and-pr-bases.spec'); no additional authored credit. src/main/runtime/orca-runtime-tests/targeting-and-resilience.spec.ts: routes tab switch and capture start by explicit page id; accepts focus on tab switch without altering bridge args (focus is main-side concern); keeps terminal cwd resolution fail-soft when the provider is unavailable. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts: drops the bounded scan cache when orphan-cleanup removal completes; clears optimistic reconcile tokens when a CLI worktree removal succeeds; emits drift without mutating when the fetched base fast-forwards created HEAD; emits base_changed without mutation when the fetched base rewrote history; skips stale-token reconciles without mutating or emitting stale status; emits unknown without mutation when fetch fails or the base ref is missing. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts: routes runtime preserved-branch force-delete through the selected WSL project runtime; replies to a waiting client with the error of a delete that fails after acceptance; treats forced runtime deletion of an already-missing unregistered worktree as cleanup; treats normal runtime deletion of an already-missing unregistered worktree as cleanup. src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts: warns that a missing-repo removal only forgot the workspace; restores runtime watchers when CLI worktree deletion fails after teardown; does not re-spend the drain budget on a removal after a wedged install was abandoned; routes runtime worktree removal through the selected WSL project runtime; force-deletes a branch that was preserved by runtime worktree removal. src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases-part-02.spec.ts: records GitLab pasted-project recents only after successful runtime lookup; threads explicit origin preference through runtime WSL PR base resolution; resolves local GitLab fork MR bases from the target project MR head ref; captures the fork MR head from a dedicated ref, not the shared FETCH_HEAD; keeps the durable MR head when the head fetch fails but the local ref resolves; routes runtime GitLab fork MR base git calls through the selected WSL project runtime. src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases.spec.ts: passes SSH connection ids through GitLab task operations; routes runtime GitLab issue, MR, work-item, and todo actions through the selected WSL project runtime; routes runtime GitLab MR details, review-management, job, and pasted URL actions through the selected WSL project runtime; normalizes runtime GitLab issue list arguments like the desktop IPC path. src/main/runtime/orca-runtime-tests/worktree-setup-and-startup-part-03.spec.ts: does not warn when setup is explicitly skipped for CLI-created worktrees; puts the agent a create starts in the first default tab, as the window does; keeps the 8s main-runtime startup readiness budget for agents without an override; gives OpenCode the 20s main-runtime startup readiness budget; launches explicit startup agents with prompts for CLI-created worktrees. src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts: returns a setup launch payload for CLI-created worktrees when hooks are explicitly enabled; does not hand the window a setup main never tried to start; passes the selected Windows setup shell into runtime runner generation; follows normal setup policy for CLI-created worktrees without activating them; uses returned WSL setup shell metadata when runtime spawns setup; uses the shell-aware setup runner for windowless creates without a startup command; reports the in-process setup hook as running when nothing can launch the runner. src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-02.spec.ts: coalesces two clients sleeping the same host worktree; stops exactly the expected live PTYs for a worktree; explains a refused workspace close instead of throwing the raw refusal enum. src/main/runtime/orca-runtime-tests/mobile-summaries-part-03.spec.ts: marks the desktop-active worktree as isActive; includes SSH-backed worktrees in the mobile worktree summary; caches repeated malformed path misses before normalizing them again. src/main/runtime/orca-runtime-tests/mobile-summaries-part-02.spec.ts: keeps title-only foreground work ahead of monitoring in another pane; keeps a local hook row while a connected PTY still backs its pane; keeps an OSC row via its connected PTY after the pane binding is cleared. src/main/runtime/orca-runtime-tests/mobile-summaries.spec.ts: resolves files through a source-visible linked-checkout worktree; marks saved session tabs with live PTYs as host sidebar activity; attributes live legacy PTYs from saved layout bindings when their panes are hidden; marks saved browser tabs as host sidebar activity like desktop; falls back to the path-keyed GitHub cache entry; includes folder workspaces in compact worktree summaries for mobile; attaches inline agent rows from the latest OSC 9999 status; projects monitoring over a title-derived working status. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-03.spec.ts: pushes to an idle pane when the only live waiter filters out the message type; resolves a registered waiter without PTY-injecting when the leaf is already idle; keeps already-idle status after tui-idle wait for immediate message delivery; resolves message waiters when notifyMessageArrived is called; does not resolve type-filtered message waiters for unrelated message types; removes message waiter abort listeners after message arrival; resolves message waiters on timeout when no message arrives. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-02.spec.ts: delivers pending mail via notifyMessageArrived when the recipient is already idle; does not keep retrying when every pending row was already pointed; repoints pending rows restored with a live-idle coordinator. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-13.spec.ts: rolls back a half-created terminal whose surface never publishes. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts: rejects startup prompts for agents that require post-ready stdin; uses portable Unix quoting for mobile agent launch commands in WSL project runtimes; keeps PowerShell quoting for mobile agent launch commands in Windows host runtimes; uses cmd.exe quoting for mobile agent launch commands in local Windows host runtimes; publishes headless mobile session agent identity with synthesized PTY status; rejects disabled mobile session agent launches before spawning; validates mobile terminal insertion anchors before resolving agent launch commands. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-11.spec.ts: coalesces a reconnect close burst onto one authoritative PTY inventory; keeps an explicit user close destructive while the PTY is live; builds mobile session agent launch commands on the runtime host; injects mobile quick-command prompts into the host-built agent startup command. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-10.spec.ts: closes persisted headless terminal parents before any prior list call; tears down a serve-owned headless tab on close while a renderer is attached so it cannot resurrect; defers a renderer-published pending tab to the renderer instead of tearing it down; returns a delegated close outcome with no selection tombstone when the renderer owns the outcome; tears down a runtime pending shell the renderer never adopted on close. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-08.spec.ts: materializes a plain shell when the pending tab has no launch agent; hydrates legacy persisted terminal tabs without layout entries; reads and indexes the full agent-status snapshot once per mobile projection; kills persisted SSH PTYs when closing hydrated headless tabs before pane metadata is restored; materializes hydrated pending headless terminals with the persisted session identity. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-07.spec.ts: hydrates a persisted SSH-owned pane before an attached renderer publishes its graph. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-05.spec.ts: publishes the desktop's tab name over the live agent title, and the live title without one; uses fresh neutral PTY titles over stale mobile snapshot and OSC titles; operates PTY-backed mobile session terminals without a renderer graph; reuses pane close for live PTYs that do not own a renderer tab; lists PTY-backed mobile session terminals without a renderer graph; shows and resolves active PTY-backed mobile session terminals without a renderer graph. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-04.spec.ts: creates mobile session terminals for folder workspaces in a headless runtime server; spawns fresh headless SSH mobile session terminals instead of reattaching synthetic local ids; hydrates headless mobile session terminals from the host workspace session; keeps live headless mobile session terminals when a desktop renderer publishes without them; publishes laptop-created remote runtime split terminals to phone session tabs. src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-02.spec.ts: does not report headless wake degradation without sleeping records; does not wake slept agents for non-mobile session-only activation; does not rewrite unread metadata when a mobile activation finds the worktree already read; returns unread:false from worktree.ps after a mobile activation clears the flag; materializes pending mobile session terminals without focusing desktop clients; closes browser mobile session tabs when addressed by browser workspace id. src/main/runtime/orca-runtime-tests/mobile-session-tabs.spec.ts: resolves mobile terminal surfaces by exact split leaf; closes the matching mobile terminal UUID leaf without closing the whole tab; closes the whole mobile terminal tab when addressed by parent tab id; activates the active split leaf when addressed by parent tab id; clears unread metadata on mobile worktree activation without focusing desktop clients; wakes slept agents on the host renderer when a phone activates a worktree. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-05.spec.ts: publishes the hook provider session on a headless mobile tab so native chat can address the transcript; recovers the agent type from the hook row when the pane was launched without an agent hint; reads one agent-status snapshot per projection, not one per terminal tab; waits for unknown-launch foreground owner before publishing Pi-compatible mobile status; keeps Pi-compatible mobile session status as Pi for an unknown-launch foreground pi PTY; keeps renderer-vetted mobile agent status for custom-titled terminals. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-04.spec.ts: publishes terminal surface agent status for paired web clients; preserves authoritative OMP identity for Pi-compatible remote terminal snapshots; normalizes a remote OMP title without republishing omitted launch identity; skips the foreground-process probe when the PTY launch agent is already known; probes the foreground process only on a status transition for unknown launch agents; passes the client signal and the slept-worktree refusal to the spawn. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts: does not use stale runtime-created PTY status when a neutral PTY title exists; recognizes runtime-created Codex PTY handles from the ready prompt; recognizes runtime-created Antigravity PTY handles from the ready prompt; recognizes live leaf Antigravity terminals from the ready prompt; recognizes a later Antigravity header with a prompt but no model line; keeps mobile terminal surfaces visible while their leaf handle is pending. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-02.spec.ts: lets Claude agents management titles clear stale runtime-created title status; does not recognize live Claude agents panes from a Claude foreground process; does not let stale tab-level agent titles override current neutral pane titles; lists live terminals with fresh pane titles over stale tab titles; lets adopted neutral pane titles use non-shell foreground fallback; lets adopted neutral pane titles retry wrapper foregrounds until recognized; authorizes settled CLI prompts only after positive %s foreground identity; does not recognize arbitrary foreground TUIs as running agents; lets live neutral pane titles retry wrapper foregrounds until recognized; lets current Claude agents PTY titles override stale runtime-created OSC titles; does not let stale Claude agents OSC titles suppress current PTY title activity. src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status.spec.ts: keeps preallocated terminal handles valid across renderer reloads; preserves runtime-created PTY process identity after graph unavailable; keeps prompt bindings fenced across runtime restarts without provider incarnation; recognizes runtime-created PTY handles with agent launch titles; does not treat a bare Cursor Agent native title as a running agent session; uses stale runtime-created PTY status when there is no title or foreground evidence. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-07.spec.ts: keeps orphaned list and show writability aligned with the send gate. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-04.spec.ts: cancels a coalesced SSH worker recovery retry when its provider disconnects. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-03.spec.ts: retries renderer reveal before clearing an adopted legacy worker sleeping record. src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-02.spec.ts: recovers exported ORCA_TERMINAL_HANDLE from discovered live PTY sessions. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-12.spec.ts: applies ANSI erase-from-start line controls in retained previews; applies ANSI stripping for private or intermediate CSI line controls; applies ANSI stripping for unsupported erase-line modes; reveals an agent terminal under the pane the caller reserved; keeps a fresh %s pane host-owned when a desktop window is available; keeps desktop publication %s separate from the reserved host spawn; mints its own pane when the reserved leaf is malformed, and reports the one it used; starts an agent terminal with the model the caller picked; starts an agent terminal without a model flag when no pick was made; attributes a startup-agent launch named %s as %s; attributes a fresh agent session the host builds as unknown; leaves a bare agent command the user typed out of launch attribution. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-11.spec.ts: trims oversized terminal output bursts without per-line array shifts; builds terminal previews without mapping the full retained tail; keeps recent PTY replay output capped without needing previous data for large chunks; applies terminal redraw controls before retaining previews; applies ANSI terminal redraw controls before retaining previews; retains multi-line ANSI footer redraws instead of appending old frames; keeps the cursor column when erasing full lines in multi-line redraws; applies ANSI split redraw controls without leaking raw params. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-10.spec.ts: returns renderer visible screen lines through terminal.read RPC JSON result; separates composer drafts from provider-owned terminal screens. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-09.spec.ts: reports an in-flight PTY focus as not navigated when its notifier disappears; reports graph-leaf focus as not navigated without a host notifier; grounds the provider mode tracker before a later chunk, in the emulator order; grounds an in-flight provider snapshot capture so it cannot publish the pre-reset screen; waits for terminal exit and resolves with the exit status; keeps terminal read payloads bounded while retained output remains pageable; trims terminal read preview character budget without per-line array shifts. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-08.spec.ts: submits a silent Claude composer once after the bounded render fallback; chunks large terminal.send text before provider writes; yields chunked terminal input through immediates between writes; yields while validating accepted large terminal.send text before provider writes; reveals a background terminal session when focusing its handle; replays captured launch config when focusing a background agent session; reveals background terminal sessions with the freshest PTY title; renames background terminal handles without requiring a visible tab; keeps a background terminal handle stable while reveal adoption is racing. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-07.spec.ts: resolves tui-idle when a stale Codex prompt is followed by Antigravity readiness; returns an agent-neutral blocked wait result for update prompts; returns an agent-neutral blocked wait result for workspace trust prompts; returns an agent-neutral blocked wait result for cwd selection prompts; returns a blocked wait result for Codex model migration prompts; returns a blocked wait result for Codex startup hook review prompts; returns an agent-neutral blocked wait result for generic interactive prompts; splits text and enter writes for background terminal handles; types the lead line for %s: %s; submits through the agent-specific PTY timing policy for %s. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-06.spec.ts: waits for exit on background terminal handles; keeps retained PTY transcript memory when controller refresh fails; resolves tui-idle from an Antigravity ready prompt preview; resolves Antigravity ready prompts with newline-heavy pasted tails without splitting; resolves live-leaf tui-idle from an Antigravity ready prompt preview. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-03.spec.ts: spawns the available Qoder command for a captured same-session resume: %s; does not use the local Windows shell setting for remote Windows bare agent creates; matches canonical bare agent commands when a command override is configured; keeps non-bare agent command terminal creates unchanged; keeps disabled bare agent command terminal creates unchanged; injects runtime hook receiver env into terminal sessions; creates background terminal sessions for a $label; creates background terminal sessions for a $label; enables Claude Agent Teams only for direct Claude launches when configured in-process; reveals Claude Agent Teams launches with the rewritten launch config; preserves Claude Agent Teams for sequenced Claude launches. src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness.spec.ts: creates visible terminal sessions without asking the renderer to focus a tab; asks the pty controller for the requested shell instead of a startup command; knows the agent a flagged launch command names before any process read; retires a flagged command pane identity when the command exits; retires only receipted restored PTY authority on command completion and exit; forgets synthetic handles when disconnected PTY records are pruned. src/main/runtime/orca-runtime-tests/headless-snapshots.spec.ts: returns OSC titles from headless main terminal snapshots; adopts renderer-seeded titles into headless main terminal snapshots; returns cwd metadata from seeded headless main terminal snapshots; adopts OSC7 host metadata from seeded headless terminal scrollback; falls back to the renderer snapshot for hidden-output recovery without headless state; keeps an empty headless snapshot authoritative for hidden-output recovery; advances the absolute output sequence across a daemon stream gap; emits explicit OSC 9999 agent status from runtime PTY data. src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-02.spec.ts: falls back to the provider snapshot for a restored PTY with no mounted renderer; falls back to the available mirror when authoritative provider history is unavailable; keeps an empty renderer snapshot when the provider has no retained content; keeps restored provider history authoritative after later live output; uses provider alternate-screen state while a partial model is unsafe; prefers the tracked title over the headless emulator lastTitle; keeps the cursor-agent literal in record-fallback snapshots only without a tracker title; touches mobile snapshots once for decorative spinner ticks, again on idle. src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts: creates a same-repo PR branch override from a resolved head SHA and matching push target; skips broad remote fetch for an existing full-SHA PR base; creates a selected Bitbucket PR branch override from a matching remote branch; suffixes an existing PR when a matching push target lacks selected PR metadata; suffixes a matching push target branch when selected PR metadata has no PR number; suffixes a matching push target branch when the existing PR is different; suffixes a selected PR remote conflict when the PR lookup fails; checks out an unused runtime PR branch only when it is at the resolved head SHA; suffixes only the runtime worktree path when an exact PR branch checkout path exists. src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts: returns runtime local base update suggestions from addWorktree; creates a runtime local worktree from a usable persisted local branch base; does not create a runtime local worktree when the refresh fails and no local base ref exists; creates a branchNameOverride worktree from the selected matching remote base ref. src/main/runtime/integrations/skill/orca-runtime-skill-recovery.test.ts: continues skill management after startup recovery fails. src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-detached-routing.spec.ts: uses bounded ownership lookup for direct arrivals while the agent cannot take input; wakes a bound Run waiter when same-Run direct mail arrives; keeps an unowned detached-recipient message in its direct mailbox; uses primary-key lookups for bounded routing updates. src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-delivery.test.ts: remove only literal registration import/call pairs import './orchestration-mailbox-pointer-cli-command.spec'; no additional authored credit. src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-pointer-cli-command.spec.ts: renders the %s CLI command in a mailbox pointer. src/main/runtime/rpc/methods/terminal/terminal-multiplex-link-estimate.test.ts: sizes a slow high-latency link near twice its bandwidth-delay product; never paces a LAN, even when its client parses slowly; never paces a fast link; returns to legacy windows when the path RTT jumps. src/main/runtime/rpc/methods/terminal/terminal-snapshot-scrollback-rows.test.ts: steps down the row ladder when history is over the byte budget; tries the larger first row count, then the usual ladder within the same byte budget. src/main/runtime/rpc/server/pairing/network/windows-default-route-interfaces.test.ts: returns unknown when route inspection fails or emits malformed data; does not inspect routes outside Windows. src/main/runtime/rpc/server/pairing/pairing-offer-owner-cli.test.ts: is refused to a paired %s client; reports a failed widening instead of advertising an unreachable address. src/main/runtime/rpc/terminal-multiplex-end-verdict.test.ts: reports exited only when the owning runtime completes the exit waiter; reports unverifiable when the runtime cannot observe the exit waiter; reports unverifiable when a disconnected PTY resolves with unknown liveness. src/main/runtime/session-graph/headless-runtime-graph.spec.ts: lets a session tab inventory settle on a host no renderer publishes for. src/main/runtime/session-graph/runtime-graph-standing-contracts.test.ts: remove only literal registration import/call pairs import { registerHeadlessRuntimeGraphTests } from './headless-runtime-graph.spec', registerHeadlessRuntimeGraphTests(); no additional authored credit. src/main/runtime/session-tabs/structured-conversation-tab-title.test.ts: bumps the stored snapshot version only when the title changes. src/main/runtime/session-tabs/terminal-close-observed-exit.test.ts: keeps the healthy aggregate verification and delayed physical exit behavior; uses a stamped exit for the incarnation that was actually being closed. src/main/runtime/terminal/identity/terminal-identity-probe.test.ts: answers live for a structured worker without touching the PTY graph; answers live for a PTY handle the runtime still holds; runs the full leaf check for a handle with no live PTY; answers not-live for a stale handle; propagates \"could not look\" rather than reporting it as a dead handle. src/main/runtime/terminal/layout/paired-desktop-server-writes-layout-owner.test.ts: names the tab in main’s layout through terminal.rename; takes a window-style layout.apply close as already stopped, so the terminal runs on. src/main/runtime/terminal/lifecycle/pty-lifecycle-generation-retention.test.ts: retains no lifecycle generation after a spawn/exit cycle. src/main/runtime/terminal/lifecycle/run-terminal-user-open.test.ts: reads a freshly spawned terminal as used once a user opens its tab, not on a probe; keeps the open mark on the process a user open starts. src/main/runtime/terminal/surface/terminal-surface-replies-window.test.ts: from a desktop window that mounts both panes; from a server with no window. src/main/runtime/terminal/surface/workspace-layout-projection.test.ts: carries views for a partition that holds none yet. src/main/runtime/terminal/view/terminal-subscribe-exit-waiter-leak.test.ts: releases a signalled exit-waiter when the signal aborts. src/main/runtime/terminal/wait/orca-runtime-exact-worker-provider-session.test.ts: selects a local hook status for a local pane. src/main/runtime/terminal/wait/prime-agent-screen-readiness-transcripts.test.ts: keeps the footer and the bare caret on screen mid-turn; %s: the screen alone reads ready during %s. src/main/runtime/workspaces/startup/runtime-worktree-agent-startup.test.ts: uses per-launch arguments and preserves launch telemetry; attributes a startup agent whose caller named no surface as unknown; launches %s bare for an absent or blank prompt; attributes a %s draft launch named %s as %s; merges an automation's extras over the host defaults; threads worktree-create extras into the startup build; returns an enabled requested agent without detecting; returns the default when nothing was requested; detects instead of using the default when the requested agent is disabled; starts no agent when the default is blank; detects an enabled agent on this host when nothing usable was named; starts no agent when detection finds none. src/main/runtime/workspaces/startup/runtime-worktree-startup-readiness.test.ts: pastes and submits through composer readiness, never typing raw input; types the follow-up on WSL or SSH-to-Windows once the agent is in front, as before; cleans up the deadline when the composer was already captured; a draft that is not submitted is pasted on the box cursor, as before; takes the box after the grace when the row never comes, whatever repaints; takes the box at the deadline when the grace would outlast the budget; lets a dialog on screen veto a grace; refuses the deadline inside a pending grace while a shell is in front; takes the box at the deadline inside a pending grace with the agent in front; takes the box at the deadline after a refused grace once the agent is in front. src/main/skills/skill-install-transaction.test.ts: installs, previews unchanged bytes, and updates a clean receipt-owned skill; preserves the old version after a %s filesystem failure. src/main/speech/model-manager-download-resume.test.ts: requests the remaining bytes when a clean range response ends before the file total; bounds a server that advances by pathologically tiny segments forever. src/main/ssh/config/ssh-config-parser.test.ts: parses a basic host block; parses multiple host blocks; skips wildcard-only Host entries; skips Host entries with only pattern characters; parses IdentityFile with ~ expansion; parses Windows-style IdentityFile with ~ expansion; parses quoted scalar values like OpenSSH; parses equals-form scalar directives; parses IdentityAgent with ~ expansion; parses IdentitiesOnly; parses GSSAPIAuthentication; keeps the first GSSAPIAuthentication value like OpenSSH; parses ProxyCommand, ProxyUseFdpass, and ProxyJump; ignores comments and blank lines; handles case-insensitive keywords; stops current block on Match directive; returns empty array for empty input; creates one parsed host per concrete alias on a multi-pattern Host line; applies identity agent settings to every concrete alias on a multi-pattern Host line; defaults port to 22 for invalid port values; converts hosts to SshTarget objects; uses host alias as hostname when HostName is missing; skips hosts that are already imported; defaults username to empty string when not specified; carries through identityFile, identityAgent, identitiesOnly, proxyCommand, and jumpHost; carries through gssapiAuthentication; imports duplicate aliases only once and keeps the first concrete host; maps hosts for the picker and flags aliases already in Orca; de-dupes aliases and defaults missing fields; parses hostname, user, port from ssh -G output; collects multiple identity files; parses forwardagent yes; defaults port to 22 when missing; returns empty hostname when missing; returns undefined user when missing; handles empty output; skips lines without spaces; parses proxycommand and filters \"none\"; parses proxyusefdpass yes; parses proxyjump and filters \"none\"; handles ~ expansion in identity file paths; handles Windows-style ~ expansion in identity file paths; parses identityagent with ~ expansion; preserves identityagent none so auth can disable agent fallback; parses identitiesonly yes; parses gssapiauthentication; parses controlmaster options and filters controlpath none. src/main/ssh/config/ssh-known-hosts-source.test.ts: splits the space-separated list ssh -G prints on one line; expands ~ in a reported path; keeps a double-quoted path containing spaces whole; falls back to the default files when ssh -G reported nothing; drops an explicit none without falling back to the defaults; splits both known_hosts lists on one line each; reads StrictHostKeyChecking, including accept-new; reads HostKeyAlias and prefers it for the lookup; reads the non-default port; reports that the lookup came from an alias, so the port is not appended; reports no alias when the dialed host is used; unions the entries of every file; skips a path that is a directory; returns nothing when no file can be read; reports nothing unreadable when every file parses; does not count an empty file as unreadable; prefers HostKeyAlias over the resolved hostname; uses the dialed host, because a resolved hostname can just echo the label; still prefers an explicit HostKeyAlias over the dialed host; falls back to the dialed host when nothing was resolved; is rejoined when the split fragments resolve to nothing; leaves a single unresolvable path alone rather than inventing one; expands the __PROGRAMDATA__ token rather than passing it through as a path; does not rewrite a path that merely BEGINS with the token characters; keeps a drive-letter path with mixed separators intact; splits a spaced Windows home into the fragments the rejoin has to put back. src/main/ssh/config/ssh-known-hosts.test.ts: reads the algorithm from the blob rather than trusting the line; rejects %s; refuses a malformed blob: %s; uses the bare host on the default port; tries the bracketed form first and falls back to bare off-port; matches an exact line; matches case-insensitively; reports a changed key of the same type; reports unknown for %s; matches any host in a comma list; matches the bracketed form on its port; does not apply a bracketed entry to the default port; falls back to a bare line when off-port; never reports a change from the fallback pass; matches a bare literal on the default port; matches a bracketed literal on its port; reports a change for a literal; handles %s; still reports a change for a different key on a revoked host; skips a line carrying an unrecognised marker; does not report a change when only another key type is on file; matches within the same type; accepts CRLF terminators; skips blanks, comments and surrounding whitespace; accepts a hit regardless of which file holds it (%s); never brackets the alias, whatever the port; still brackets an ordinary host on a non-default port; matches a bare alias entry on a non-default port; still accepts the unmodified key field; accepts a hashed entry whose salt is a full SHA1 digest; still accepts the unmutated ssh-keygen -H vector; falls back to the bare host line on a non-default port, as ssh did; refuses a key type it has not seen for a host it knows, as ssh did. src/main/ssh/connection/ssh-connect-config.test.ts: returns undefined when no default keys exist; returns the first existing key file; probes regular and FIDO2 keys in stable default order; keeps a regular default ahead of a malformed FIDO2 default; uses target host/port/username; falls back to resolved config when target fields are empty; keeps imported endpoint fields as the fallback when ssh -G is unavailable; sets readyTimeout to CONNECT_TIMEOUT_MS; sets keepaliveInterval to 15s; enables keyboard-interactive auth so MFA challenges can be answered; uses agent auth when no explicit key and SSH_AUTH_SOCK is set; enables agent forwarding when OpenSSH config requests it and an agent is available; does not enable agent forwarding without a usable agent; resolves IdentityAgent SSH_AUTH_SOCK from the environment; uses the Windows OpenSSH agent pipe when no environment socket is available on Windows; wraps agent auth with IdentityFile filtering when IdentitiesOnly is enabled; applies a manual target IdentitiesOnly setting when ssh -G reports it off; includes unencrypted target.identityFile auth when an agent is available; defers encrypted target.identityFile auth when an agent is available; uses keyFile auth when target.identityFile is set and no agent is available; includes unencrypted resolved identityFile auth when an agent is available; defers a default-path resolved identityFile to the no-agent retry; offers the keyboard-interactive challenge when the agent defers no key; provides fallback key when no agent is available; can force private key inclusion for the post-agent fallback path; falls back to resolved proxyCommand; returns structured jump-host config for target.jumpHost; returns structured jump-host config for resolved proxyJump; returns undefined when no proxy is configured. src/main/ssh/connection/ssh-connection-auth-fallback.test.ts: resolves OpenSSH config using configHost when present; tries ssh-agent before reading an explicit private key; falls back to direct private key auth when agent auth fails; falls back to direct private key auth after too many agent authentication failures; answers bounded keyboard-interactive challenges such as Duo 2FA. src/main/ssh/connection/ssh-connection-store.test.ts: lists picker suppression aliases without consulting re-adoption tombstones; getTarget delegates to store; addTarget generates an id and persists; saves the CLI control switch as given, with no consent stamp; addTarget stamps source as manual by default; addTarget preserves an explicitly provided source; inserts a new config host stamped as ssh-config; asks the parser for all hosts — reconciliation happens in the store; updates an existing config-sourced target when the port changed; refreshes gssapiAuthentication on sync; never overwrites a manual target that owns the alias; does not rewrite an unchanged config-sourced target; returns empty array when nothing changed; tombstones a deleted config-sourced host so re-import skips it; suppresses a deleted manual target from config discovery; re-adding a deleted host reclaims its alias so sync stops suppressing it; editing a target reclaims its alias from the deleted set; records a tombstone when removing any user-facing target; re-adopts orphaned repos when the same host is re-added. src/main/ssh/connection/ssh-connection.test.ts: transitions to connected on successful connect; captures the negotiated SSH server key fingerprint; allows concurrent exec commands for ssh2 transport; removes startup listeners after ssh2 connect succeeds; scopes lifecycle events and pending handshake timers to one mock client; enables TCP_NODELAY on the new ssh2 client after a reconnect cycle; transitions through connecting → connected states; reports error state on connection failure; disconnect cleans up and sets state to disconnected; getTarget returns a copy of the target; getState returns a copy of the state; throws when connecting a disposed connection. src/main/ssh/orcad-migration-stuck-host-profiles.test.ts: never leaves a running terminal behind; is offered only when leaving saved state behind would clear the refusal. src/main/ssh/orcad-runtime-maintenance.test.ts: keeps a connect from retrying a build an explicit Update also failed; offers Force when Update was refused by policy; forwards anew after an activation, since the new slot may bind another port; passes a refusal through and leaves the server linked; forwards anew once a serving slot is restored, which may have bound another port. src/main/ssh/port-forwarding/ssh-port-forward.test.ts: reports the port the OS bound when an ssh2 forward asks for port 0; adds an ssh2 port forward and returns entry; adds a system SSH port forward when no ssh2 client is available; reports the port a system SSH forward resolved when asked for port 0; passes resolved OpenSSH config to system SSH port forwards; disposes a system SSH tunnel when removing the forward; lists forwards filtered by connectionId; removes a forward by id; awaits forward close when removing a forward for user actions; returns null when removing nonexistent forward; removes all forwards for a connection; dispose removes all forwards; stores label in the entry; preserves the existing id when updating a forward succeeds. src/main/ssh/ssh-channel-multiplexer.test.ts: sends a JSON-RPC request and resolves on response; assigns unique request IDs; sends notifications without expecting a response; dispatches incoming notifications to handler; sends one keepalive frame per cadence tick; drives keepalive sends AND dead-link detection from a single interval; resolves false immediately on a disposed mux; throws on request after dispose; reports isDisposed correctly; clears registered handlers on dispose; does not retain handlers registered after dispose. src/main/ssh/system-transport/system-ssh-forward-process.test.ts: spawns exactly the argv the orphan matcher is given, LogLevel=INFO included; runs port forwards unmultiplexed even when ssh_config disables muxing; preserves manual target port and identity options in the forwarded ssh command; does not spawn ssh when the requested local forward port is already in use; spawns ssh after the requested local forward port preflight succeeds; resolves startup after the grace period when ssh keeps running; sends SIGTERM then SIGKILL when the process does not exit; does not resolve stop until the process exits. src/main/ssh/system-transport/system-ssh-loopback-route.test.ts: dials the held forward ahead of the alias so OpenSSH keeps these over ssh_config; drops a manual target's own port and proxies, which would fight the route; never routes a forward, whose argv must stay stable for orphan recovery; %s → %s; opens the forward over the real proxy, then proves a login over the route; lands the forward on the sshd and known_hosts name the direct route resolved; holds the forward with server-alive probes; never lets the background forward or probe ask for credentials; starts no forward when admission refuses the route; stops the forward when sshd refuses logins over it; stops the whole forward process tree on Windows, once; reports a forward that already exited before anyone listened for it. src/main/startup/browser-process-user-agent-ordering.test.ts: explains admission refusal before a desktop launch exits; explains an orcad holding the profile instead of exiting silently; does not acquire profile admission for a duplicate launch; executes after the dev app name and before later preflight work; exits and releases admission after pending profile move recovery fails; keeps Linux background startup failures console-only and immediate; keeps Linux serve startup failures console-only and immediate. src/main/startup/quit/quit-path-durable-write-blocking.test.ts: store.flushAsync() issues no synchronous fs syscalls; store.flushAsync() also moves the active-view and github-cache sidecars off the thread; stats.flushAsync() issues no synchronous fs syscalls; Grok session cleanup issues no synchronous fs syscalls; stats.flushAsync() closes out live agents before it returns, not when its write lands; a stalled mount leaves the event loop live instead of parking it; store.flushAsync() is one idempotent final barrier; store.flushAsync() resolves instead of throwing when the profile mount rejects writes. src/main/stats/agent-session-transition-recorder.test.ts: counts a hook-only agent that never writes an agent-shaped terminal title; never opens a session from a replayed or disk-restored working status; still closes a live session when the terminating status arrives as a replay; counts one session per turn across repeated working/done cycles; closes an open session when its pane is torn down; bounds the mirror and closes what it evicts; stops the session when the main agent settles and only a watch loop holds the row working; keeps the session open while a subagent outlives the main agent, and closes it when the child settles; dates the stop by the evidence when a shell outlives the last subagent; opens a new session dated by the observation when the main agent resumes after monitoring; never dates a reopen before the close a fact-less OSC repaint caused; dates the first live row after a restored one by the evidence, not the restored clock; treats an unchanged answer as a snapshot, never a transition; opens only on a live working edge; closes only a session it opened. src/main/text-generation/commit-message-text-generation-model-discovery.test.ts: returns static catalog models without spawning for static agents; discovers dynamic models through the agent CLI; discovers dynamic models through the configured agent command override; falls back to static models when dynamic discovery returns no parseable models; falls back to the first discovered non-Pi model when its static default is unavailable. src/main/text-generation/pull-request-context.test.ts: does not fetch unrelated fork remotes before generating PR context; bounds exact remote-ref probe concurrency for a large remote list; reports no branch change because PR context preparation is read-only; keeps a remote-qualified base when the selected base includes the remote. src/main/text-generation/source-control-local-process.test.ts: asks the supervisor to stop and leaves its group to it; signals nothing once the supervisor has exited; stops an agent that ignores its stdin end through its supervisor. src/main/updater/linux-package/linux-package-update-recovery.test.ts: retains the downloaded package with the digest from the event metadata; requires a string downloaded path; accepts an uppercase extension; requires a non-empty string version; matches an absolute file URL by basename; accepts duplicate entries that agree on the digest; refuses an entry with a missing or non-string digest; refuses a digest that is not base64 at all; refuses a malformed percent-encoded URL; refuses a missing or non-array file list; tolerates a non-object event; replaces the retained artifact with a newer download; keeps the retained artifact when a new download has no usable digest; keeps the retained artifact when an unrelated download event arrives; clears the retained artifact; preserves the artifact across a recheck of the same version; clears the artifact when another version takes over; preserves the artifact for an unknown or empty version; is a no-op without a retained artifact; returns the built command and package file name for a verified package; reports missing without a retained artifact; propagates a package-manager discovery failure; rejects a well-formed digest that belongs to another file; never hashes a package that a malformed digest failed to arm; rejects a path outside the cache root; rejects the cache root itself; rejects a package in the updater directory itself; rejects a pending directory that is a symlink out of the cache; performs one hash pass for concurrent requests; revalidates once the in-flight pass settles; does not reuse an in-flight pass for a different artifact; starts a fresh proof when the same package is captured again; returns the verified package path; returns missing without a retained artifact. src/main/updater/releases/updater-prerelease-feed-readiness.test.ts: accepts a GitHub %s asset redirect as ready; reports a GitHub asset request error as unavailable; reports not-ready with a verified last-good tag when the newest assets are unavailable; does not classify a non-positive tag limit as feed unavailability; reproduces the v1.4.142 publishing incident as not-ready; reports transport failures as unavailable instead of not-ready; treats an explicit asset 404 as not-ready when another asset is unavailable; accepts absolute manifest asset URLs without rewriting them to release asset paths; returns not-ready with an older ready update as last-good while newest is publishing. src/main/updater/releases/updater-release-builds.test.ts: lists hourly builds from the dedicated repo, newest first; lists daily builds from the dedicated repo, newest first; separates stable from rc in the shared main repo; skips drafts and unparseable tags; keeps a composed release title and drops one that repeats the tag; hides builds that published no artifact for this platform; returns an empty list when no build has this platform artifact; keeps mac builds visible on macOS regardless of the Windows leg; resolves the platform installer download url; leaves the installer url null when the release published no installer; tolerates a release whose assets are missing or malformed; sends the local gh token as a bearer header when one is available; sends no authorization header when gh has no token; retries unauthenticated once when GitHub rejects the token; does not retry a 401 that was already unauthenticated; falls back to the per-IP bucket when the token is rate limited and tells the gh breaker; reports a secondary limit carrying retry-after without retrying or tripping the breaker; records a primary limit in the token scope %s; keeps %s authenticated when only %s is blocked; skips the token while its scope %s is blocked; surfaces a rate limit with its reset time and a sign-in hint when unauthenticated; omits the sign-in hint when the rate-limited request was authenticated; treats 429 as a rate limit; reports a 403 without rate-limit headers as a plain HTTP error; reports a missing hourly repo distinctly; is null when GitHub sent no reset; prefers retry-after over the primary reset epoch; falls back to the primary reset epoch when there is no retry-after; reads retry-after as seconds; reads retry-after as an HTTP date; pins an hourly tag at the hourly repo download path; pins a daily tag at the daily repo download path; pins a stable tag at the main repo download path; rejects a tag that is not a version. src/main/updater/updater.build-channel-selection.test.ts: uses the display label in the unsupported-platform %s pinned-build error; still pins %s from an unsigned Windows dev build; restores ordinary release checks after local build selection fails; opts into the RC channel when checkForUpdatesFromMenu is called with includePrerelease; pins the generic feed to a perf-tagged prerelease when requested; surfaces no-update feedback when no newer perf-tagged prerelease exists; keeps prerelease publishing-window misses on the generic retry path; leaves the feed URL alone for a normal user-initiated check. src/main/updater/updater.check-preflight.test.ts: ignores a stale update-not-available event after a new check starts preflight; deduplicates repeated manual checks while the immediate checking status is active. src/main/updater/updater.prerelease-fallback.test.ts: retries a prerelease check once against the previous feed tag when the manifest is missing; surfaces a promise-only prerelease fallback failure after the primary error event. src/main/updater/updater.publishing-window-feed.test.ts: repins the generic feed to the newest RC tag for a prerelease user; repins the generic feed to a newer stable tag for a prerelease user; pins a stable fallback when Atom has no newer prerelease; uses last-good concrete feed when a user-initiated check lands during publishing; can offer an older fully published update while the newest release is publishing; keeps background publishing-window fallback on the short retry cadence. src/main/updater/updater.quit-and-install.test.ts: surfaces an accepted retry before electron-updater emits download progress; defers quitAndInstall and runs its launcher within the launch PATH scope; runs pre-quit cleanup before local PTY cleanup during update install; keeps optional pre-quit cleanup fail-and-continue behavior by default; ignores duplicate quitAndInstall requests while the shared delay is pending; arms the forced-exit watchdog once the install commits; disarms the forced-exit watchdog when sync install error recovery keeps the app open. src/main/window/createMainWindow-markdown-editor-focus.test.ts: ignores traffic light sync IPC on non-macOS; still intercepts Cmd+Shift+B and Cmd+Alt+B when the markdown editor is focused; coerces non-boolean setMarkdownEditorFocused payloads to false; opens a table-aware context menu synchronously without a renderer query; builds the plain edit menu for the one right-click the renderer marks as plain text. src/main/window/createMainWindow-renderer-crash-recovery.test.ts: notifies the caller when the renderer process is gone; passes the renderer webContents id through crash recording and recovery callbacks; forwards expected renderer teardowns so the recorder can diagnose suppression; reloads the app shell after an unexpected renderer process loss; does not reload after renderer loss when recovery is disabled; stops auto-reloading after a rapid renderer crash loop trips the breaker. src/main/window/dashboard-popout-window.test.ts: updates the title after language initialization and unsubscribes when closed; lets its preload expose saved WSL hosts in serve-only, and passes nothing otherwise; creates a native-frame window with the shared preload and no webview surface; shows the window on ready-to-show; loads the prod file entry; loads the dev server URL when in dev; focuses the existing window instead of creating a second one; trusts only the live popout webContents; restores a minimized window when re-requested; restores valid persisted bounds; discards off-screen persisted bounds and falls back to defaults; persists bounds on resize after the debounce, guarding near-minimum sizes; keeps saving bounds after a vetoed quit and freezes them only on an allowed quit; closeDashboardPopout closes an open window; applies the persisted app zoom level on dom-ready; follows app zoom changes while open and unsubscribes on close; zoomDashboardPopoutIfFocused steps the popout zoom only while focused; handles the zoom-in chord via before-input-event and ignores other keys; handles mouse-wheel zoom requests outside before-input-event; respects zoom keybinding overrides for keyboard and mouse-wheel paths. src/main/window/dropped-path-preparation.test.ts: opens and stores each unique source once as drop size grows tenfold; passes ordinary paths without copying for %s; preserves ordinary successes and copied successes when another file fails; serializes copy requests from different owners; reports all lost paths without a shared reason when their failures differ. src/main/window/main-window-updater-deferred-setup.test.ts: releases all 64 completed fallback handles without repeating initialization; keeps setup after ready-to-show and releases its fallback afterward; preserves the 15-second fallback when first paint never arrives; preserves destroyed-window guard reads before and at the fallback deadline; keeps the exact %s error and releases its completed fallback; keeps the exact fallback %s error without retrying initialization; preserves pending manual setup after failed ready registration; keeps setup options, live store reads, nudge writes and required quit flush. src/main/worker-threads/worker-thread-request-queue.test.ts: posts one request at a time and in the order it was dispatched; fires a posted call at its own deadline; stops respawning and fails the rest of the queue once deaths hit the cap; clears the death count when a fresh burst starts from full idle. src/main/workspace-hooks/hooks-setup-runner-script.test.ts: builds Windows runners for newline-heavy scripts without line-array splitting; builds POSIX runners without regex-wide CRLF normalization; writes POSIX setup runners for shebang-declared scripts on native Windows paths; keeps batch setup scripts on cmd.exe when the terminal is Git Bash; hands a Git Bash pane a launch command MSYS cannot rewrite for a cmd runner; replays interpreter flags declared on the shebang line; preserves cmd.exe setup runner semantics for configured cmd users; keeps POSIX runner behavior on POSIX platforms; waits when either local or project policy requires completed setup; marks setup-runner terminals for the always-on credential guard; maps git-bash to POSIX setup launch metadata on Windows; falls back to the cmd runner when the git-bash setting has no installed Git Bash; keeps the cmd runner for a non-Git bash such as Cygwin; keeps the cmd runner for a bare bash whose flavor cannot be resolved; uses the POSIX runner for a bare bash that resolves to Git Bash; uses the POSIX runner for an extension-less Git Bash path; preserves the existing cmd runner for PowerShell terminals; preserves cmd setup compatibility when a Windows-host project has a WSL shell setting; classifies an installed explicit Git Bash executable as a POSIX runner; falls back to the cmd runner when the explicit Git Bash path no longer exists. src/main/workspaces/catalog/repo-git-remote-identity-enrichment.test.ts: schedules remote identity enrichment without blocking the caller; probes a drive project whose runtime is WSL %s; sweeps a local repo: %s; probes an SSH row that carries only executionHostId on its own host; keeps same-path rows on two different SSH hosts from sharing one backoff; coalesces concurrent probes for the same repo location; caches no-identity probes briefly so list calls do not retry every time; does not rewrite the no-remote marker on a later retry; resolves a settled no-remote repo once it gains a remote; does not re-probe a resolved identity before the refresh window elapses; re-probes a resolved identity after the refresh window elapses; bounds re-probes per sweep so a large repo list drains gradually; forgets a removed repo location so its deadline cannot outlive the repo; keeps a surviving repo backoff when a sibling repo is removed; probes again when the same location is re-added after its probe was retired; coalesces concurrent sweeps instead of running one pass per list call. src/main/workspaces/creation/preparation/worktree-create-preparation.test.ts: preserves create priority through claim probes on %s; starts the checkout only once the async workspace root resolves; still deduplicates when both callers await the same pending root lookup; namespaces native Windows preparation directories for long paths; deduplicates preparation for the same repo, base, runtime, and workspace root; does not spend a divergence walk when the base matches exactly; claims when the two sides spell the same ref differently; evicts a repo's own stale preparation before another repo's; still discards armed checkouts when the project runtime needs repair; routes preparation and finalization through the selected WSL runtime; retries stale cleanup after a transient listing failure; does not discard a detached worktree with caller-controlled preparation metadata; does not re-arm after an isolated create; re-arms a preparation once creates arrive in a burst; holds the re-arm checkout until the create runs the deferred thunk; starts one explicit prefetch after the create completes; does not re-arm when finalization failed; reports a pending create while a stale-cleanup scan is running. src/main/workspaces/removal/local-worktree-removal-recovery.test.ts: recovers Git for Windows partial filesystem deletion failures; finishes a clean non-force deletion after Git leaves a Windows directory behind; recovers localized Windows failures after Git already removed the registration; does not recover unrelated localized failures while Git still owns the row; finishes a macOS deletion Git deregistered before failing with Directory not empty; leaves an orphaned checkout to the orphan cleanup instead of deleting it; prunes and strictly verifies on the selected WSL host without deleting files or branches. src/main/workspaces/removal/worktree-removal-safety.test.ts: rejects deleting a worktree that contains another registered worktree; rejects POSIX home directories even when host homedir has a different path shape; refuses a home the host reported even when no path rule recognises it; refuses the Windows host's home directory from a POSIX client; refuses the Windows host's home directory even when the host reported nothing. src/main/wsl/discovery/distro-catalog.test.ts: retries asynchronous discovery after a transient wsl.exe failure; retries synchronous discovery after a transient wsl.exe failure; retries asynchronous discovery after wsl.exe reports no distros yet; retries synchronous discovery after wsl.exe reports no distros yet; bounds the wsl.exe spawn rate while no distros are installed; bounds the asynchronous spawn rate while no distros are installed; still caches a non-empty distro list for the process lifetime; re-probes a docker-desktop-only machine once a user distro can appear; backs off while the list keeps coming back empty; backs off after repeated distro-list failures; caps the empty-list backoff at five minutes; keeps reporting an empty result after it goes stale; keeps reporting a known distro list indefinitely; bounds cached homes while retaining the most recently used distros; still lists distros, and an excluded distro home probe fails like any other probe; gives the async home probe time for a cold boot instead of killing it at 5 s; retries availability after a probe timeout instead of latching false; bounds the probe rate while the failure window is open; caches a successful probe for the process lifetime; names an explicit spawn directory, so no deleted cwd can read as ENOENT; shares one wsl.exe spawn between concurrent probes; keeps reporting the last observed answer after it goes stale; holds a definitive failure far longer than a timeout when %s; backs off after repeated probe failures; re-probes a seeded retryable failure once its window lapses; re-probes availability once a distro list succeeds after %s; does not drop an availability failure for an empty distro list; keeps reporting unavailable off Windows without probing. src/main/wsl/discovery/wsl-distro-holder.test.ts: runs a busybox-safe loop through --exec and names the distro; spawns a detached-style holder, records it, and waits for the distro to run; a holder exiting with code 1 notes its distro may have stopped (E9); rejects a pid whose command line is not our holder for that distro; cleans up stale and corrupt records; keeps a holder and its record when release cannot verify it; reports unverifiable when the command line is unreadable even with a matching pid; release kills a verified holder and removes its record; release never kills a pid that is no longer our holder; reports a spawned holder exit so liveness can re-check. src/main/wsl/filesystem/wsl-guest-drive-mountinfo.test.ts: skips 9p shares that are not drvfs, and malformed lines. src/main/wsl/orcad/wsl-orcad-deploy-app-update.test.ts: plans the update on the census the running orcad reports, not an unknown one; forwards force to the update planner; does not serve the incumbent past a refusal that is not a wait; does not re-activate the build this host rolled back from; labels the launch with the build the adoption found serving, not the stale record; defers while another run holds the host fence; lets an explicit force deploy past both skips; names a newer host refusal apart from a rolled-back one, so only Force is offered; updates an older host as before, without asking to adopt it; never asks the incumbent when it already runs this build. src/renderer/src/components/agent/agent-launch-picker-acquisition.test.ts: keeps a completed listing usable when the host rejects the wait parameter. src/renderer/src/components/feature-tips/feature-tip-telemetry.test.ts: delivers to chat-default users in all targeting while holding out not-switched users. src/renderer/src/components/native-chat/composer/pickers/use-native-chat-side-chat-command.test.ts: completes the row on a pick, even when the command is already typed; ignores a pick of the row while side chats are unavailable. src/renderer/src/components/native-chat/media/images/native-chat-image-copy.test.ts: explains a too-large refusal that arrives through the IPC error prefix. src/renderer/src/components/native-chat/messages/actions/native-chat-fork-launch.test.ts: keeps the question with the caller and says once that it never went; tells the user to check the side chat when delivery is unconfirmed; reports a delivered question as sent, silently. src/renderer/src/components/native-chat/messages/actions/native-chat-side-chat-fork-point.test.ts: decides each of %i tool-only turns once per layout, and nothing without a listener. src/renderer/src/components/native-chat/messages/actions/use-native-chat-fork.test.tsx: places a side chat whose question was %s: %o. src/renderer/src/components/terminal-pane/provider-notices/agent-presence/agent-terminal-presence.test.ts: calls back once for %s; stops watching once unsubscribed. src/renderer/src/components/terminal-pane/pty-connection/emulation/pty-connection-mode2031-raw-subscription.spec.ts: records a mode 2031 subscribe from the raw chunk boundary without answering. src/renderer/src/components/terminal-pane/pty-connection/input/pty-connection-deferred-input-forwarding.spec.ts: routes terminal input through deferPtyInput so the host can withhold it; forwards terminal input directly when the host supplies no deferPtyInput. src/renderer/src/components/terminal-pane/pty-connection/notifications/pty-connection-terminal-bell-attention.spec.ts: forwards onBell to pane attention and notification policy; hands the bell to the attention module with its pane even when pane attention is off. src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-dropped-output-snapshot-healing.spec.ts: repaints from the main-owned snapshot when main drops pending output at the cap. src/renderer/src/components/terminal-pane/pty-connection/output/pty-connection-fresh-native-follow-reset.spec.ts: retries a fresh-spawn native follow reset when renderer dimensions return. src/renderer/src/components/terminal-pane/pty-connection/spawn/unbound-pane-spawn-recovery.test.ts: requests a tab remount for an unbound spawn; leaves recovery to a remote transport that armed its own retry; requests a remount when the transport reports no recovery of its own; settles the spawn as failed before requesting a remount; prefers the restored leaf id when reporting the anomaly; falls back to the pane leaf id when no restored leaf exists. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-foreground-agent.test.ts: remove only literal registration import/call pairs import { registerPtyConnectionDeferredInputForwardingTests } from '../input/pty-connection-deferred-input-forwarding.spec', registerPtyConnectionDeferredInputForwardingTests(); no additional authored credit. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts: structural support changed only; no new authored removal credit. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts: remove only literal registration import/call pairs import { registerPtyConnectionFreshNativeFollowResetTests } from '../output/pty-connection-fresh-native-follow-reset.spec', registerPtyConnectionFreshNativeFollowResetTests(); no additional authored credit. src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts: remove only literal registration import/call pairs import { registerPtyConnectionTerminalBellAttentionTests } from '../notifications/pty-connection-terminal-bell-attention.spec', registerPtyConnectionTerminalBellAttentionTests(); no additional authored credit. src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-delivery-interest.test.ts: registers interest on the first sidecar and releases on the last unsubscribe; releases sidecar interest only once for repeated unsubscribes; does not let an eager pre-mount buffer defeat hidden delivery gating; keeps eager buffers outside delivery interest when the PTY exits before mount; lets a sidecar exclusively own interest while an eager buffer overlaps. src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-push-reattach.test.ts: blackholed delivery reproduces the wedge: no handler dispatch, no ACK ever. src/renderer/src/components/terminal-pane/pty-transport/ipc/ipc-pty-opencode-model.test.ts: sends preferences to the execution host and attaches only to its returned PTY; preserves one operation ID across a lost reply and reconnect; preserves ordinary raw startup and captured-session attachment. src/renderer/src/components/terminal-pane/pty-transport/output/pty-side-effect-pending-census.test.ts: sums registered gauges and drops disposed ones; ignores a repeated dispose instead of dropping another gauge; stops tracking new gauges past the cap so a missed dispose cannot grow it; tracks a live output processor queue through enqueue, drain, and dispose; excludes cleared consumed entries from retention after a bounded drain. src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-prebind-discard-notice.test.ts: says nothing once the pane is closed. src/renderer/src/components/terminal-pane/render-health/terminal-webgl-atlas-recovery.test.ts: refreshes after each scheduled atlas reset; falls back to a timeout when animation frames are unavailable; continues recovery when a manager throws after scheduling. src/renderer/src/components/terminal-pane/snapshots/pty-buffer-serializer.test.ts: tracks a remounted quiet title source even when the stale owner unregisters later; preserves the renderer-parsed output sequence in the response; preserves a pending escape tail for snapshot replay; routes a host's Reset Terminal request to the pane that owns the PTY. src/renderer/src/components/terminal-pane/snapshots/saved-terminal-output-replay.test.ts: marks panes with restored scrollback for fresh-shell viewport blanking. src/renderer/src/components/terminal-pane/viewport/split-right-white-screen.test.ts: recovers a 0x0 spawn whose container is briefly unmeasurable then settles. src/renderer/src/components/terminal-pane/viewport/visibility/stale-document-visibility.test.ts: removes global listeners when the last pane unregisters. src/renderer/src/components/ui/security-surface-theme-contrast.test.tsx: keeps trust text readable on a host-owned dialog surface; applies the hostile surface to ordinary dialogs, so the case above is exercised. src/renderer/src/components/use-terminal-parking-pass.test.tsx: does not queue a render when a pass produces the same parking sets; keeps parking transitions working under StrictMode. src/renderer/src/hooks/client-workspace-view-report.test.ts: reports an away user’s screen with no presence, and renews as soon as input returns; retries a failed send, empty or not, no sooner than a refresh. src/renderer/src/hooks/ipc-events/terminal-request-ipc-bridge-placement.test.ts: is new work in a workspace with no live terminal: its first bind moves it up in Recent. src/renderer/src/hooks/use-bundled-skill-install.test.tsx: ignores a repeated click while the install runs; retries the last requested skills on this host. src/renderer/src/hooks/useGitHubSlugMetadata.assignee-reuse.test.tsx: adds seeds to a successful empty list but not to loading or failed results; retains seed projection after expiry and fetches fresh metadata for a new reader. src/renderer/src/hooks/useSettingsNavigationMetadata.language-switch.test.tsx: retranslates the settings nav labels when the UI language changes live. src/renderer/src/lib/codex-stale-pane-account-identity.test.ts: keeps the prompt when the roster read fails and every label collapses. src/renderer/src/lib/image-blob-png.test.ts: downscales a pasted image above the pixel cap; releases its temporary URL on a decode error; releases its temporary URL when PNG encoding fails or exceeds the byte cap. src/renderer/src/lib/react-commit-cascade-store-write-samples.test.ts: names callers above the frame the write came from; restores Error.stackTraceLimit when the capture throws; stops collecting after the sample cap when captureStackTrace is unavailable; caps reported changed keys from a single wide write. src/renderer/src/lib/work-items/linear/linear-issue-context-snapshot.test.ts: applies the rendered text hard cap last and reserves the final overflow marker. src/renderer/src/runtime/rpc/targets/use-worktree-runtime-target.test.ts: keeps the runtime target identity stable across unrelated store writes. src/renderer/src/runtime/source-control/git/runtime-git-branch-client.test.ts: keeps creation available on old hosts and explains the missing operation; preserves landed warnings and direct collision recovery data; propagates remote discovery failure instead of a false empty page. src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-key-reuse.test.ts: reuses unchanged worktree tab projections when one worktree title changes; bumps only the changed worktree version when a sibling stays byte-identical. src/renderer/src/store/repos/repos-catalog-request-coordination.test.ts: shares safe-auto fork sync cooldown attempts across store instances. src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-batch.test.ts: collapses a 193-workspace hydration to one store write; leaves the store byte-identical to the per-workspace path; re-reconciling the batched result is a no-op, as it is for the per-workspace path. src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-fixture.ts: dedicated zero-case helper retirement; no authored test credit. src/renderer/src/store/slices/worktrees/metadata/update-worktrees-meta.test.ts: persists each batch metadata update to its workspace owner. src/renderer/src/store/slices/worktrees/metadata/worktree-meta-rename.test.ts: dismisses a rename error on its capable remote owner; clears pending first-agent rename when the title is updated. src/renderer/src/store/terminals/store-sleep-shutdown-order.test.ts: orders capture, guards, handlers, main's stop, commit, cleanup, and exit settlement. src/renderer/src/store/terminals/terminal-first-tab-publication.test.ts: publishes the first terminal and root tab group atomically; publishes the first terminal and root tab group atomically, then marks it starting in main. src/renderer/src/store/terminals/workspace-terminal-reconnect-hydration.test.ts: restores daemon terminal wake hints before declaring the session ready. src/renderer/src/web/web-runtime-connection-auth-framing.test.ts: keeps legacy framing for sockets that cannot absorb a refused attempt. src/shared/terminal/appearance/terminal-font-weight-windows-regular.test.ts: moves the old Windows default to Regular once and queues the notice; keeps custom weights and fresh profiles without a notice; leaves macOS and Linux profiles untouched. tests/e2e/claude-agent-row-view.unit.test.ts: updates a mounted compact workflow description through the subscribed production parent; bounds upstream active-SSH visits for $population records, fallback=$fallback; derives %s destinations without requiring type or a workflow child ID; terminates a $path parent $status with no third request or intermediate toast; does not recover a first child %s. tests/e2e/cross-version-wire/agent-permission-legacy-spawn.unit.test.ts: keeps exact legacy ordering when structured creation cannot express afterTabId; can create a terminal without selecting the target worktree; preserves the legacy fresh-agent path when host authority is unavailable. tests/e2e/paired-instant-browser-tab.spec.ts: shows a paired browser tab before its create RPC resolves, then keeps it as one tab; adopts a paired browser tab without rebuilding its chrome. tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts: bounds host publication and renderer application across remote worktrees; globally caps decorative freshness while every working status stays fresh. tests/e2e/session-tabs/mobile-session-active-performance.unit.test.ts: bounds saved-order publication selection at N and 10N without rematerializing navigation; bounds admitted placement reconciliation during supported reads at N and 10N; bounds selection input visits at 50 and 500 rows, including unavailable-target projection; keeps publication scoped to a changed worktree and shared by listeners at N and 10N; bounds preserved-chat merge and runtime-owned hydration at N and 10N (legacy=%s); bounds actual native retirement and shared delivery work at N and 10N. tests/e2e/session-tabs/mobile-session-active-publication.unit.test.ts: does not substitute a preserved row for an unavailable explicit legacy selection; resolves main-layout group selection %s (omitted group=%s). tests/e2e/structured-agent-session-launch-admission.unit.test.ts: opens a direct caller's terminal with the caller's own CLI arguments on a decline; opens the chat on the server that admitted it; opens only the terminal when this machine declines, without a notice; opens a new agent tab's terminal with the typed prompt when the caller names none; opens the chat, not a terminal, when this machine cannot resolve a new workspace yet; keeps its terminal fallback, as before. tests/e2e/structured-attention-prompt-relay.unit.test.ts: settles once per relayed prompt, not on every later status update. tests/e2e/structured-attention-read-retirement.unit.test.ts: Mark read on a chat never opened withdraws the prompt alert it surfaced; Mark read on a chat hidden since an earlier view covers the newer prompt it surfaced; reads a newly accepted visible prompt without sending an RPC for text-only updates. tests/e2e/structured-chat-tab-lifetime-cost.unit.test.ts: counts real raw stores, unrelated window publications and captured cleanup at %i chats; counts complete supplied-member sweep and separate final retirement at S=%i N=%i. tests/e2e/structured-session-workspace-authority.unit.test.ts: bounds actual target reveal across %i repo roots and metadata aliases. tests/e2e/terminal-agent-pane-launch.unit.test.ts: starts the host's planned command once, at the pane's size, and says it started; plans a pane whose prompt the window submits without the startup update prompt; preserves caller shell-ready delivery only for a connection-scoped adapter ($connectionId); starts no shell on plan failure (original failure: $returnLaunchFailure); cannot confirm a start whose provider answer was lost. tests/e2e/terminal-parked-memory.spec.ts: releases renderer terminal memory when hidden tabs park. tests/e2e/terminal-shortcuts.spec.ts: @headful Codex-like background output stays visible without disabling WebGL in auto mode; Shift with Russian layout text reaches the PTY as Cyrillic under kitty keyboard reporting. tests/e2e/terminal-split-activation-latency.spec.ts: records attributed CWD, spawn, bind, fixture-ready, input, and echo phases. tests/e2e/terminal-split-activation-latency-phases.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-main-probe.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-artifact.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-split-activation-latency-report.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-tab-switch-visual-restore.spec.ts: restores skipped hidden Grok output on light tab resume. tests/e2e/web-runtime-session-terminal-host-authority.unit.test.ts: delivers independent %s effort through the real prepared web callback; keeps same-ID local and runtime worktrees on the selected runtime owner; creates paired web agents through host authority so activation is mirrored; delivers generated continuation context after host-authoritative creation; seeds the chat composer for a draft that rode in on the launch command. Current changed source bytes, wrapper registrations and reduced selectors have no fresh execution or red/green credit. Unrelated surviving receipt objects keep their original narrow scope; current literal graph reachability does not establish historical import closure or equivalent replacement coverage. Current conservative command/import graph reaches src/main/persistence/worktree-sort-order-write.test.ts, src/main/runtime/construction/orca-runtime.test.ts, src/main/runtime/orca-runtime-tests/targeting-and-resilience.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-04.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-03.spec.ts, src/main/runtime/orca-runtime-tests/worktree-removal-and-reconciliation-part-02.spec.ts, src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases-part-02.spec.ts, src/main/runtime/orca-runtime-tests/gitlab-and-pr-bases.spec.ts, src/main/runtime/orca-runtime-tests/worktree-setup-and-startup-part-03.spec.ts, src/main/runtime/orca-runtime-tests/worktree-setup-and-startup.spec.ts, src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-summaries.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-13.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-12.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-11.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-10.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-08.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-07.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-05.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-04.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs-part-02.spec.ts, src/main/runtime/orca-runtime-tests/mobile-session-tabs.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-05.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-04.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-handles-and-agent-status.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-07.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-04.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-output-and-worker-recovery-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-12.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-11.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-10.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-09.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-08.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-07.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-06.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness-part-03.spec.ts, src/main/runtime/orca-runtime-tests/terminal-creation-and-readiness.spec.ts, src/main/runtime/orca-runtime-tests/headless-snapshots.spec.ts, src/main/runtime/orca-runtime-tests/terminal-side-effect-facts-part-02.spec.ts, src/main/runtime/orca-runtime-tests/local-worktree-creation-part-02.spec.ts, src/main/runtime/orca-runtime-tests/local-worktree-creation.spec.ts, src/main/runtime/integrations/skill/orca-runtime-skill-recovery.test.ts, src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-detached-routing.spec.ts, src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-delivery.test.ts, src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-pointer-cli-command.spec.ts, src/main/runtime/rpc/methods/terminal/terminal-multiplex-link-estimate.test.ts, src/main/runtime/rpc/methods/terminal/terminal-snapshot-scrollback-rows.test.ts, src/main/runtime/rpc/server/pairing/network/windows-default-route-interfaces.test.ts, src/main/runtime/rpc/server/pairing/pairing-offer-owner-cli.test.ts, src/main/runtime/rpc/terminal-multiplex-end-verdict.test.ts, src/main/runtime/session-graph/headless-runtime-graph.spec.ts, src/main/runtime/session-graph/runtime-graph-standing-contracts.test.ts, src/main/runtime/session-tabs/structured-conversation-tab-title.test.ts, src/main/runtime/session-tabs/terminal-close-observed-exit.test.ts, src/main/runtime/terminal/identity/terminal-identity-probe.test.ts, src/main/runtime/terminal/layout/paired-desktop-server-writes-layout-owner.test.ts, src/main/runtime/terminal/lifecycle/pty-lifecycle-generation-retention.test.ts, src/main/runtime/terminal/lifecycle/run-terminal-user-open.test.ts, src/main/runtime/terminal/surface/terminal-surface-replies-window.test.ts, src/main/runtime/terminal/surface/workspace-layout-projection.test.ts, src/main/runtime/terminal/view/terminal-subscribe-exit-waiter-leak.test.ts, src/main/runtime/terminal/wait/orca-runtime-exact-worker-provider-session.test.ts, src/main/runtime/terminal/wait/prime-agent-screen-readiness-transcripts.test.ts, src/main/runtime/workspaces/startup/runtime-worktree-agent-startup.test.ts, src/main/runtime/workspaces/startup/runtime-worktree-startup-readiness.test.ts, src/main/skills/skill-install-transaction.test.ts, src/main/speech/model-manager-download-resume.test.ts, src/main/ssh/config/ssh-config-parser.test.ts, src/main/ssh/config/ssh-known-hosts-source.test.ts, src/main/ssh/config/ssh-known-hosts.test.ts, src/main/ssh/connection/ssh-connect-config.test.ts, src/main/ssh/connection/ssh-connection-auth-fallback.test.ts, src/main/ssh/connection/ssh-connection-store.test.ts, src/main/ssh/connection/ssh-connection.test.ts, src/main/ssh/orcad-migration-stuck-host-profiles.test.ts, src/main/ssh/orcad-runtime-maintenance.test.ts, src/main/ssh/port-forwarding/ssh-port-forward.test.ts, src/main/ssh/ssh-channel-multiplexer.test.ts, src/main/ssh/system-transport/system-ssh-forward-process.test.ts, src/main/ssh/system-transport/system-ssh-loopback-route.test.ts, src/main/startup/browser-process-user-agent-ordering.test.ts, src/main/startup/quit/quit-path-durable-write-blocking.test.ts, src/main/stats/agent-session-transition-recorder.test.ts, src/main/text-generation/commit-message-text-generation-model-discovery.test.ts, src/main/text-generation/pull-request-context.test.ts, src/main/text-generation/source-control-local-process.test.ts, src/main/updater/linux-package/linux-package-update-recovery.test.ts, src/main/updater/releases/updater-prerelease-feed-readiness.test.ts, src/main/updater/releases/updater-release-builds.test.ts, src/main/updater/updater.build-channel-selection.test.ts, src/main/updater/updater.check-preflight.test.ts, src/main/updater/updater.prerelease-fallback.test.ts, src/main/updater/updater.publishing-window-feed.test.ts, src/main/updater/updater.quit-and-install.test.ts, src/main/window/createMainWindow-markdown-editor-focus.test.ts, src/main/window/createMainWindow-renderer-crash-recovery.test.ts, src/main/window/dashboard-popout-window.test.ts, src/main/window/dropped-path-preparation.test.ts, src/main/window/main-window-updater-deferred-setup.test.ts, src/main/worker-threads/worker-thread-request-queue.test.ts, src/main/workspace-hooks/hooks-setup-runner-script.test.ts, src/main/workspaces/catalog/repo-git-remote-identity-enrichment.test.ts, src/main/workspaces/creation/preparation/worktree-create-preparation.test.ts, src/main/workspaces/removal/local-worktree-removal-recovery.test.ts, src/main/workspaces/removal/worktree-removal-safety.test.ts, src/main/wsl/discovery/distro-catalog.test.ts, src/main/wsl/discovery/wsl-distro-holder.test.ts, src/main/wsl/filesystem/wsl-guest-drive-mountinfo.test.ts, src/main/wsl/orcad/wsl-orcad-deploy-app-update.test.ts, src/renderer/src/components/agent/agent-launch-picker-acquisition.test.ts, src/renderer/src/components/feature-tips/feature-tip-telemetry.test.ts, src/renderer/src/components/native-chat/composer/pickers/use-native-chat-side-chat-command.test.ts, src/renderer/src/components/native-chat/media/images/native-chat-image-copy.test.ts, src/renderer/src/components/native-chat/messages/actions/native-chat-fork-launch.test.ts, src/renderer/src/components/native-chat/messages/actions/native-chat-side-chat-fork-point.test.ts, src/renderer/src/components/native-chat/messages/actions/use-native-chat-fork.test.tsx, src/renderer/src/components/terminal-pane/provider-notices/agent-presence/agent-terminal-presence.test.ts, src/renderer/src/components/terminal-pane/pty-connection/emulation/pty-connection-mode2031-raw-subscription.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/input/pty-connection-deferred-input-forwarding.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/notifications/pty-connection-terminal-bell-attention.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-dropped-output-snapshot-healing.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/output/pty-connection-fresh-native-follow-reset.spec.ts, src/renderer/src/components/terminal-pane/pty-connection/spawn/unbound-pane-spawn-recovery.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-foreground-agent.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts, src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts, src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-delivery-interest.test.ts, src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-push-reattach.test.ts, src/renderer/src/components/terminal-pane/pty-transport/ipc/ipc-pty-opencode-model.test.ts, src/renderer/src/components/terminal-pane/pty-transport/output/pty-side-effect-pending-census.test.ts, src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-prebind-discard-notice.test.ts, src/renderer/src/components/terminal-pane/render-health/terminal-webgl-atlas-recovery.test.ts, src/renderer/src/components/terminal-pane/snapshots/pty-buffer-serializer.test.ts, src/renderer/src/components/terminal-pane/snapshots/saved-terminal-output-replay.test.ts, src/renderer/src/components/terminal-pane/viewport/split-right-white-screen.test.ts, src/renderer/src/components/terminal-pane/viewport/visibility/stale-document-visibility.test.ts, src/renderer/src/components/ui/security-surface-theme-contrast.test.tsx, src/renderer/src/components/use-terminal-parking-pass.test.tsx, src/renderer/src/hooks/client-workspace-view-report.test.ts, src/renderer/src/hooks/ipc-events/terminal-request-ipc-bridge-placement.test.ts, src/renderer/src/hooks/use-bundled-skill-install.test.tsx, src/renderer/src/hooks/useGitHubSlugMetadata.assignee-reuse.test.tsx, src/renderer/src/hooks/useSettingsNavigationMetadata.language-switch.test.tsx, src/renderer/src/lib/codex-stale-pane-account-identity.test.ts, src/renderer/src/lib/image-blob-png.test.ts, src/renderer/src/lib/react-commit-cascade-store-write-samples.test.ts, src/renderer/src/lib/work-items/linear/linear-issue-context-snapshot.test.ts, src/renderer/src/runtime/rpc/targets/use-worktree-runtime-target.test.ts, src/renderer/src/runtime/source-control/git/runtime-git-branch-client.test.ts, src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-key-reuse.test.ts, src/renderer/src/store/repos/repos-catalog-request-coordination.test.ts, src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-batch.test.ts, src/renderer/src/store/slices/tabs/hydrated-workspace-reconciliation-fixture.ts, src/renderer/src/store/slices/worktrees/metadata/update-worktrees-meta.test.ts, src/renderer/src/store/slices/worktrees/metadata/worktree-meta-rename.test.ts, src/renderer/src/store/terminals/store-sleep-shutdown-order.test.ts, src/renderer/src/store/terminals/terminal-first-tab-publication.test.ts, src/renderer/src/store/terminals/workspace-terminal-reconnect-hydration.test.ts, src/renderer/src/web/web-runtime-connection-auth-framing.test.ts, src/shared/terminal/appearance/terminal-font-weight-windows-regular.test.ts, tests/e2e/claude-agent-row-view.unit.test.ts, tests/e2e/cross-version-wire/agent-permission-legacy-spawn.unit.test.ts, tests/e2e/paired-instant-browser-tab.spec.ts, tests/e2e/session-tabs-decorative-title-fanout.unit.test.ts, tests/e2e/session-tabs/mobile-session-active-performance.unit.test.ts, tests/e2e/session-tabs/mobile-session-active-publication.unit.test.ts, tests/e2e/structured-agent-session-launch-admission.unit.test.ts, tests/e2e/structured-attention-prompt-relay.unit.test.ts, tests/e2e/structured-attention-read-retirement.unit.test.ts, tests/e2e/structured-chat-tab-lifetime-cost.unit.test.ts, tests/e2e/structured-session-workspace-authority.unit.test.ts, tests/e2e/terminal-agent-pane-launch.unit.test.ts, tests/e2e/terminal-parked-memory.spec.ts, tests/e2e/terminal-shortcuts.spec.ts, tests/e2e/terminal-split-activation-latency.spec.ts, tests/e2e/terminal-split-activation-latency-phases.ts, tests/e2e/terminal-split-activation-latency-main-probe.ts, tests/e2e/terminal-split-activation-latency-artifact.ts, tests/e2e/terminal-split-activation-latency-report.ts, tests/e2e/terminal-tab-switch-visual-restore.spec.ts, tests/e2e/web-runtime-session-terminal-host-authority.unit.test.ts. Unresolved local/computed edges remain explicit debt.", "Audit2095 current-parent preparation2126 (approved2092/2093 removals; source refresh2109/independent2112): Intentionally retire these low-value alarms without replacement: src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-03.spec.ts: rejects exact terminal stop for multiple expected PTYs before stopping anything; omits stale renderer leaves when fresh PTY liveness is required; omits unbound renderer placeholders when fresh PTY liveness is required; captures the event method before the nested sleep receipt changes it; returns the close receipt without requiring a PTY stop; uses the same stop result as an empty explicit stop. src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-04.spec.ts: builds a compact worktree summary from persisted and live runtime state; reads the linked-PR state from the renderer repoId-keyed GitHub cache; carries persisted worktree host ownership in mobile summaries; emits only instance- and boundary-validated lineage parents in mobile summaries; resolves WSL platforms only for repos represented in mobile summaries; omits worktrees hidden by the host visibility policy from mobile summaries; applies linked-checkout source visibility to mobile summaries. src/main/runtime/orca-runtime-tests/hooks-and-hosted-review-part-02.spec.ts: routes runtime GitHub PR details and actions through the selected WSL project runtime; passes SSH connection context through hosted review creation flows; routes local WSL project hosted review flows through runtime git options; treats SSH worktree drift as unknown without local git probes. src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts: emits one mobile session terminal tab per live PTY even if two tabs resolve to it; resolves projected split authority from the parent layout PTY binding; keeps explicit-id terminal lists from resolving all worktrees; keeps explicit-id cold-cache terminal lists from classifying unrelated same-repo worktrees; keeps unknown bare terminal-list ids on the no-scan exact-id path; matches explicit-id cwd PTYs for folder workspace instance IDs; routes PTY output through the PTY leaf index in large terminal graphs. src/main/runtime/orca-runtime-tests/window-authority.spec.ts: claims the first window as authoritative and ignores later windows; transfers authority from the headless sentinel to the first real window; relays terminal browser launches only while headless owns the graph; marks live headless PTYs for renderer reattach before desktop promotion; reports the activation gate state while no desktop window is available; bumps the epoch and enters reloading when the authoritative window reloads; can mark the graph ready for the authoritative window; drops back to unavailable and clears authority when the window disappears; hands the graph back to headless when a promoted serve window closes (#27292); keeps a crashed promoted serve renderer on its own window while the window is open; stays unavailable during initial loads before a graph is published. src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-routing-races.spec.ts: stops paged routing when the check is cancelled; keeps an unfiltered redrive unrestricted when reservations merge; keeps an unfiltered parked delivery unrestricted when reservations merge; uses a bounded indexed pane lookup for reminted Dispatch identity. src/main/runtime/workspaces/removal/worktree-teardown-unstopped-pty.test.ts: removes the reported wedged automation workspace without --force; clears PTY state once a failed stop is proven to have exited; names only the PTYs that are actually live, not every failed stop; warns with the specific sweep failure, not the generic deadline; still fails closed on a sweep-level failure without force. src/main/skills/bundled-skill-install/layouts.test.ts: links into a project only where its agent folder already exists; reads a pending cloud transaction as busy and a cloud receipt as another skill. src/main/skills/skill-upload-session-service.test.ts: joins concurrent disposal callers through exact cleanup completion. src/main/source-control/hosted-review-creation.test.ts: creates the pull request after fresh main-process validation passes; routes local WSL git and GitHub review creation through the selected runtime; creates a pull request on a GitHub Enterprise Server remote (#8312); creates a GitLab merge request after fresh main-process validation passes; creates an Azure DevOps pull request after fresh main-process validation passes; creates a Gitea pull request after fresh main-process validation passes. src/main/source-control/hosted-review-execution-host-routing.test.ts: reads a GitHub review on the SSH host a row names only in executionHostId; reads a GitLab review on the executionHostId host when connectionId names a different one; does not dial this client for a runtime row whose nested target shares a local name; keeps a runtime row with no nested target on this process (self-addressed stamp); keeps a legacy connectionId-only SSH row on its target; does not share a cached answer between two rows at one path on different hosts; creates a Bitbucket review locally for a runtime row rather than dialing its nested target; reports creation eligibility from the executionHostId-only SSH host; resolves the GitHub slug for a repo listing on the row it is asked about; refuses to dial a runtime host from this process; answers with the SSH target for both spellings and local otherwise; reads a runtime stamp on a row in this store as self-addressing, not a second machine. src/main/source-control/hosted-review-inflight-invalidation.test.ts: keeps other hosts, paths and their pending promises isolated. src/main/speech/model-manager.test.ts: requires pinned, internally consistent metadata for every model file; verifies downloaded model file hashes before installation; rejects non-HTTPS model downloads; marks OpenAI transcription models ready only when an API key is configured. src/main/ssh/connection/ssh-connection-sftp-namespace.test.ts: writes to the SFTP namespace path discovered on the same session; uploads the bundle into the SFTP namespace directory; issues no discovery requests when the caller supplies no mapping; ignores a mapping on a Windows host; never resolves on the system-SSH transport; leaves writeBuffer and openFileUploadSession on the shell path; keeps the shell path when discovery is inconclusive; preserves a session-limit channel-open error unchanged. src/main/ssh/connection/ssh-connection-system-transport.test.ts: uses system SSH transport when ProxyUseFdpass is resolved by OpenSSH; allows concurrent exec commands for system SSH with an Orca ControlMaster socket; keeps concurrent exec commands disabled for system SSH without a reusable socket; uses system SSH transport for ProxyCommand targets before ssh2 auth; keeps the original ssh2 reachability error when the system SSH probe fails; reports the system SSH failure when ssh2 cannot negotiate with the host; uses system transport for target or resolved OpenSSH proxy directives; allows an environment override for e2e coverage; ignores stale imported proxy fields when fresh OpenSSH config has no proxy. src/main/ssh/orcad-migration-catalog-client.test.ts: keeps each server project’s execution host, so a nested SSH row is never read as local; reads the server’s folder workspaces and the groups that place them on a host; sends and validates the %s operation; validates an abort result without letting it erase committed state; validates a committed receipt against the requested manifest; rejects malformed stage timestamps and abort envelopes; fails closed for method absence, malformed identity, and invalid pairing; refuses a destination without the capability before sending any migration request; reads method-not-found as the same refusal, not as a lost answer. src/main/ssh/runtime-ssh-access.test.ts: persists intent then claim before connecting and publishes redacted authenticated access; names the saved dependency when dependent state blocks an SSH access link; handles lost link responses without connecting or verifying again; invalidates old transport only after authenticated access is published; rejects changed request tuple after a completed link; rejects provisioning and missing durable generations without connecting; treats a lost successful unlink response as an idempotent no-op; hashes connection identity, not display state or owner; strictly validates ports and request IDs. src/main/startup/cli-launch-redirect.test.ts: detects a launch that received the unpacked CLI entrypoint; ignores normal desktop launches; ignores the entrypoint when it is only the executable itself (argv[0]); applies on Linux too; strips injected Chromium switches before node-mode CLI arguments; keeps user flags after the command and malformed boolean assignments; does not treat a later positional entrypoint path as the launcher; redirects a direct binary launch with no AppImage env at all; strips Chromium switches node mode would reject; preserves desktop-shaped switches after the command; leaves direct serve in-process but redirects its help; treats help as a CLI launch even without a command; treats %s as a CLI launch even without a command; does not treat a value of %s as a CLI early-exit flag; does not treat a serve option value as a help request; does not reinterpret help after the argument terminator; leaves a plain desktop launch alone; skips flag values when looking for the command positional; preserves a project selector in %j; does not apply the command form on macOS or Windows; never redirects an unpackaged build; runs the in-package CLI in Electron node mode with sanitized env; refuses to redirect twice so a dropped ELECTRON_RUN_AS_NODE cannot loop; reports a missing CLI entrypoint instead of booting the desktop app; execs a direct serve into the CLI so it keeps its pid and honours profile and supervise; keeps ORCA_USER_DATA_PATH for a direct serve without --user-data-dir; serves in-process when this runtime cannot exec or the exec fails; never execs the --serve child the CLI itself spawns, or serve on other platforms; surfaces a spawn failure as a non-zero exit; re-execs a direct --serve onto X11 when Electron resolved Wayland; leaves $name alone. src/main/startup/main-process-runtime-launch-activation.test.ts: marks startup settled for the launch record only after the window has loaded and settled; loads SSH targets on a windowless serve before paired clients can connect (#25886); pins the serve listener to loopback only for orcad browser sidecars (sidecar=$sidecar, #31895); saves Codex auth before a headless serve update restart, like the desktop does. src/main/startup/run-electron-vite-dev.test.ts: forwards dev instance identity to electron-vite; prepares userData orca and orca-dev wrappers for dev terminals; consumes the stable-name flag before forwarding args to electron-vite. src/main/updater/releases/updater-prerelease-feed.test.ts: returns the newest stable tag when the user is on an RC and a newer stable exists; returns the newest RC tag when no stable is newer than the current RC; can exclude prerelease tags for stable-channel checks; probes the %s %s platform manifest; returns null for stable-channel checks when only prereleases are newer; returns null when nothing in the feed is newer than the current version; ignores entries with unparseable tags; returns null when the fetch is not ok; returns null when the fetch throws; picks semver-newest across a mixed-order feed; ignores perf-tagged prereleases for regular RC checks; reports no RC update when only perf-tagged prereleases are newer; picks the semver-newest perf-tagged prerelease; matches only literal rc.N.perf prerelease tags for perf checks; reports no perf update instead of falling back to stable or RC tags; returns a bounded fallback candidate after the newest newer tag; returns null when the only newer tag has a manifest but its asset still 404s; requires a known old timestamp for a stable-fallback tag. src/main/updater/updater-events.test.ts: hands the whole downloaded event to artifact capture; publishes manual-install recovery after a %s download; publishes the normal downloaded state for AppImage builds; blocks downloaded-state handling when the packaged marker is unusable; passes the actual updater error into the install-failure handler; keeps manual-install recovery when a later check finds only the installed release; drops the artifact when another version takes over the cycle; ignores a downloaded event for an older target; accepts a matching event when the pending cache target was cleared; drops the artifact when progress reports a different pending version. src/main/updater/updater-linux-package-recovery-actions.test.ts: rejects both actions while no package-install recovery is active; validates the retained package on every invocation; restores recovery after a recheck resolves without a terminal event; restores recovery after a recheck fails; restores recovery when a pinned check resolves to the current version; restores recovery when resolving a pinned check fails; clears recovery for both actions once the package is gone; resolves %s as a result and keeps the card usable instead of rejecting; keeps recovery available after a transient read failure. src/main/updater/updater.check-settlement.test.ts: leaves a dismissed release update on the release source; surfaces net::ERR_FAILED to user-initiated checks with a friendly message; shows checking immediately for a user-initiated check while feed pinning is pending; keeps background checks event-driven before checking-for-update fires. src/main/usage/usage-provider-store-lifecycle.test.ts: persists identities for a whole first scan with one write; skips disabled and fresh matching states; invalidates prior sources on fingerprint changes and reuses them for forced scans. src/main/window/createMainWindow-close-confirmation.test.ts: clears the quit latch when the renderer prevents unload; does not notify the crash recorder when renderer teardown follows a confirmed window close; allows close when Electron reports a crashed webContents; requests confirmation for a hung-but-alive renderer instead of bypassing. src/main/workspaces/catalog/worktree-identity-persistence.test.ts: stores independent metadata for colliding locators on two hosts; projects canonical-only metadata for exactly one host; keeps canonical metadata current for legacy writers on a known owner; removes only the selected legacy-owner metadata when locators collide; keeps the canonical identity stable when the locator changes; leaves other hosts at the old locator when one host renames its folder. src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.test.ts: leaves a journaled conversion untouched with the gate closed, %s. src/main/wsl/orcad/wsl-orcad-deploy.test.ts: holds the distro before it deploys and launches, and reports what C5 dials; passes its connect-state read (%s) on as hints; applies the SSH census and downgrade admission to the first deploy; refuses a WSL 1 distro before holding it or touching its files; tells an unregistered distro how to find the installed ones, before holding anything; surfaces an unsupported libc as the SSH host refusal does; starts an already-active slot the distro stop ended, instead of reporting it ready; deploys over an adopted unrecorded orcad under the SSH terminal gate, never a fresh launch; reports the adopted instance once the same version is serving; returns a deferral rather than launching over live terminals; hands a failed first deploy to the fresh-install cleanup before reporting it. src/main/zcode/zcode-v2-plan-credentials.test.ts: prefers migrated credentials over a stale legacy account; keeps legacy support when no personal v2 file exists; honors the upstream personal config override independently of the credential directory; does not borrow credentials from another execution host; preserves the protected Orca key priority even if v2 is corrupt; rejects upstream-invalid selection %j without legacy fallback; accepts a valid optional reasoning level; rejects upstream-invalid rule containers %j without legacy fallback; accepts a valid selected-provider empty personal rule and smart model rule; cannot establish selected credentials from %s rules; leaves encrypted CLI files unchanged across repeated account reads. tests/e2e/automation-terminal-launch.unit.test.ts: launches explicit Chat for %s through the common entry and keeps its actual fallback; does not apply stored Terminal extras to Chat; forwards only complete Chat-consumed values, with no Terminal startup base; refuses an expired admission without minting another launch identity; records the actual chat identity and delegates new workspace setup and provenance. tests/e2e/github-project-provider-columns.unit.test.ts: renders %s through one bounded items request on a named cloud host; preserves zero and complete counters: %j; preserves populated and legacy rows through shared sorting, grouping and cells. tests/e2e/structured-agent-session-launch-continuation.unit.test.ts: carries renderer lifetime through host intent to the real %s provider builders. tests/e2e/terminal-account-restart.unit.test.ts: replaces a tombstoned owner while its persisted pane binding has not yet been cleared; paired restart retains the old owner (host authority: %s). tests/e2e/terminal-hidden-view-parking.spec.ts: does not park excluded tabs; reproduces a static frame byte-for-byte across 25 park/reveal cycles. tests/e2e/terminal-long-table-scroll-restore.spec.ts: reproduces long markdown table artifacts after workspace switch and scroll; keeps narrow wrapped signer markdown table coherent after restore and scroll; keeps real emoji markdown table right edge clean after restore and scroll. tests/e2e/terminal-long-table-fixtures.ts: dedicated zero-case helper retirement; no authored test credit. tests/e2e/terminal-paste-ownership.spec.ts: Windows multiline keyboard paste normalizes terminal newlines with one PTY owner; right-click paste sends clipboard text to the focused terminal exactly once. tests/e2e/terminal-raw-emoji-table-scroll-restore.spec.ts: uses WebGL by default for ordinary terminal output when available @terminal-rendering-golden. tests/e2e/terminal-windows-shell-paste-ownership.spec.ts: cmd.exe default terminal keyboard paste preserves exact content with one PTY owner; Git Bash default terminal keyboard paste preserves POSIX-shaped content with one PTY owner; WSL terminal keyboard paste preserves Linux shell content with one PTY owner. tests/e2e/workspace-board-lane-virtualization.spec.ts: mounts a window of cards for a large lane and keeps lane indexes; renders later lane indexes after the lane scrolls. Current changed source bytes, wrapper registrations and reduced selectors have no fresh execution or red/green credit. Unrelated surviving receipt objects keep their original narrow scope; current literal graph reachability does not establish historical import closure or equivalent replacement coverage. Current conservative command/import graph reaches src/main/runtime/orca-runtime-tests/terminal-sleep-and-teardown-part-03.spec.ts, src/main/runtime/orca-runtime-tests/mobile-creation-and-orchestration-part-04.spec.ts, src/main/runtime/orca-runtime-tests/hooks-and-hosted-review-part-02.spec.ts, src/main/runtime/orca-runtime-tests/terminal-listing.spec.ts, src/main/runtime/orca-runtime-tests/window-authority.spec.ts, src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-routing-races.spec.ts, src/main/runtime/workspaces/removal/worktree-teardown-unstopped-pty.test.ts, src/main/skills/bundled-skill-install/layouts.test.ts, src/main/skills/skill-upload-session-service.test.ts, src/main/source-control/hosted-review-creation.test.ts, src/main/source-control/hosted-review-execution-host-routing.test.ts, src/main/source-control/hosted-review-inflight-invalidation.test.ts, src/main/speech/model-manager.test.ts, src/main/ssh/connection/ssh-connection-sftp-namespace.test.ts, src/main/ssh/connection/ssh-connection-system-transport.test.ts, src/main/ssh/orcad-migration-catalog-client.test.ts, src/main/ssh/runtime-ssh-access.test.ts, src/main/startup/cli-launch-redirect.test.ts, src/main/startup/main-process-runtime-launch-activation.test.ts, src/main/startup/run-electron-vite-dev.test.ts, src/main/updater/releases/updater-prerelease-feed.test.ts, src/main/updater/updater-events.test.ts, src/main/updater/updater-linux-package-recovery-actions.test.ts, src/main/updater/updater.check-settlement.test.ts, src/main/usage/usage-provider-store-lifecycle.test.ts, src/main/window/createMainWindow-close-confirmation.test.ts, src/main/workspaces/catalog/worktree-identity-persistence.test.ts, src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.test.ts, src/main/wsl/orcad/wsl-orcad-deploy.test.ts, src/main/zcode/zcode-v2-plan-credentials.test.ts, tests/e2e/automation-terminal-launch.unit.test.ts, tests/e2e/github-project-provider-columns.unit.test.ts, tests/e2e/structured-agent-session-launch-continuation.unit.test.ts, tests/e2e/terminal-account-restart.unit.test.ts, tests/e2e/terminal-hidden-view-parking.spec.ts, tests/e2e/terminal-long-table-scroll-restore.spec.ts, tests/e2e/terminal-long-table-fixtures.ts, tests/e2e/terminal-paste-ownership.spec.ts, tests/e2e/terminal-raw-emoji-table-scroll-restore.spec.ts, tests/e2e/terminal-windows-shell-paste-ownership.spec.ts, tests/e2e/workspace-board-lane-virtualization.spec.ts. Unresolved local/computed edges remain explicit debt.", "Audit1579 removes workflow/manifest/regex/private binary-header and diagnostic metric inventories, fixture selectors, injected forwarding/platform/signature/process examples, unproven overlap and internal churn counters without equivalent replacement coverage. Retains actual Git trust/diffs; filesystem hash/ELF-region/native discovery; child CLI module repair; compiler/lock/publication/rollback and synthetic Electron install/cache ownership; executable shell quoting/exit; controlled notary/timer cleanup; local patched extractor file/AST freshness; real Chromium/WebKit CSP/sandbox/HTTPS image/referrer/link/preservation controls under parsed Android headers. Five unchanged setup-pnpm/VM request-cleanup definitions reviewed and not rerun. GitHub, installer/archive, OS metric, client, native delegate, compressor, builder and Apple boundaries injected or absent where recorded. No actual native PTY, shipped full/native app, real Actions/cache/npm signature authority, downloaded Electron archive, real objdump/linker/native CLI/AppImage, signing/NSIS/notary/upload/updater or live freeze proof.", @@ -14500,7 +14139,47 @@ "Audit3108 source-only reduction (3094/3095/3100): retire 27 authored/30 expanded cases, including complete markdown view-state, file-preview link-open and CLI agent-server-route suites, without replacement. Deliberate losses include preview visibility/reference lifetime and same-path owners; SSH stat, directory/missing-target, explicit-null owner, nonmarkdown line/column, local URI routing, remote-to-client guard and same-file reuse; document-preview source-owner/folder/reuse routing, stable grant location and outside-workspace POSIX/Windows request projection; and verified remote CLI send/check refusal, suggested --on argv/copy, shell no-probe bypass, unverified-launch admission and older-peer refusal. Retain two markdown source-runtime/qualified-reveal alarms, one stale grant-rejection fence and two remote read/mutation evidence policies, with original callbacks. Final last-wins reveal did not prove transient cancellation; CLI prerequisite did not prove no real send, and envelope tests do not execute server refusal. No fresh runtime, rendered UI, actual file/SSH/paired transport, authorization, mixed-version or performance result is claimed.", "Audit3114 incorporates source3101: retire three structured Claude child-environment wrapper cases covering inherited stamp isolation/default and explicit entrypoint, Windows SDK-key canonicalization/default/duplicate-key order, and configured lookup/final environment/config-dir conjunction. Keep direct auth/session sanitation and Windows-versus-Linux overlay checks, actual executable lookup from supplied inherited PATH, native Windows child environment delivery, and stale option-mutation fencing. These are not equivalent replacements for the retired wrapper alarms. No fresh test/runtime, real login-shell probe, Claude SDK startup, remote/mixed-version, UI or performance result is claimed.", "Audit3114 incorporates source3105: retire 17 authored/20 expanded daemon launch-note cases, including the entire two-case SessionLaunchNote suite. Deliberately lose split-marker carry across same-token re-arm, stale-token retirement refusal, foreground tri-state and serial settlement, omitted-note/no-incarnation mixed-version policy, sticky retirement, first-incarnation/replacement launch preservation and held-launch precedence. Keep only the unchanged unresolved foreground-read race against a later finished attach. Supplied notes/foreground and runtime calls do not establish actual daemon/main restart, SSH, native Windows observation, mobile UI, equivalent replacement or fresh runtime/performance validation.", - "Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed." + "Audit3114 incorporates source3109: retire six authored/35 expanded pricing cases: 21 accepted model-name examples, 10 unsupported/future-model fail-closed examples, malformed TTL clamp, unknown-model estimate refusal, flat-model long-context disregard and oversized long-context clamp. Keep mixed five-minute/one-hour write allocation and short/all-long/mixed long-context allocation with original fixed oracles. Real parser/refusal/bounds alarms are knowingly lost without equivalent replacement; retained tests do not validate provider rates, actual billing or request threshold classification. Preserve the archived usage-scan-append source-freeze receipt without transferring historical execution/performance credit. No fresh runtime result is claimed.", + "Audit3128 scoped coverage reduction: Audit3121 removes VoiceDictationLanguageSetting.test.tsx (Spanish-to-es callback and unsupported-model Korean option presence) and voice-speech-model-rows.test.ts (provider/language-order/retired-on-disk list policy); these real narrow alarms are deliberately retired without replacement. VoiceSpeechModelSection per-model concurrent deletion remains unchanged. Audit3122 removes the direct absolute/parent-segment sparse-directory exception-type sample and the five-row IPC sparse-preset error-code/non-save table (two authored/six expanded cases). Those real typed-validation and IPC refusal/error-code alarms are deliberately retired. Keep both real symlink/junction floating-directory trust cases and the minimal RPC structured validation-reason serialization case. The RPC case does not replace IPC save/refusal behavior, typed normalization for both path inputs, actual Git sparse checkout or rendered localization. No equivalent replacement or fresh test/runtime/platform/remote/performance validation is claimed. Audit3124 removes ExperimentalPane.test.tsx (ordinary Pet switch callback), WorkspaceDirectorySetting.test.tsx (padded absolute saved-path normalization/no-write blur), and repository-search.perf.test.ts (navigation/selected-pane builder-call policy, fixture cardinality/nonempty entries and renamed project keyword inclusion). These real narrow alarms are retired without replacement; RepositoryPane.search.test.tsx search-to-sparse-editor request remains unchanged. Audit3129: resolver Windows case-insensitive and POSIX case-sensitive configured-env composition plus mocked-base launch-preflight Windows composition are intentionally no longer checked by the two deleted suites. No equivalent coverage claimed. Keep runtime-structured-agent-host-env.test.ts unchanged: configured Windows Claude-home account identity and host-account precedence remain checked.", + "Audit3146 combines source reviews3132/3133/3135/3138/3143: intentionally retire20authored/31expanded cases without equivalent replacement. Provider-session losses: structured-native terminal-resume exclusion, metadata-less completed identity, new-turn completion clearing, Pi provider-only/periodic/manual promotion, changed-transcript launch-config isolation, Pi/omp/prime-agent completed-session remote/manual-shutdown promotion, and quit/done precedence over heartbeat. Side-thread/question losses: finished-pane acquisition, hidden title/recap states, local/relay/relay-done conversation takeover with prompt/session/child resets, plain-message abandonment, compaction/session replacement and completion resets. Codex startup losses: incoming-owner cached child replacement, old-relay foreign live-session correction, completed foreign-root turn-fact permutations. Transcript losses: real temporary-JSONL partial sibling/final-child completion, unlabelled child attribution, compact cached replay preservation and100/1000completed-child roster retention/release. Compiler-ratchet losses: valid-line uncompiled-list parser grammar examples and injected-existence stale-path filtering; these did not exercise actual filesystem canonicalization or build exclusion. These are real lifecycle, ownership, replay, liveness and retention alarms, including recent#40246 regressions, deliberately lost. Retained conditional record replacement, clockless root/SSH owner isolation, persisted main-thread fork rejection, partial/final question-answer lifetime, cached-roster/missing-ID/live HTTP/durable startup boundaries and restarted-relay refusal/acceptance do not replace those losses. No native/SSH/WSL execution or equivalent coverage is claimed.", + "Audit3156 combines3147/3150/3152/3153/3154: deliberately retires39authored/40expanded native-chat recovery cases, eight whole suites and two orphan test-support files without equivalent replacement. Lost alarms: lost-reply unconfirmed reconciliation, skipped rows/counts and missed-frame repair, unknown/pending outcome and omitted-failure-list compatibility, uncertain history after dismissal, retry/refusal/dismiss lifecycle, hidden/consumed picker ownership, result-tree keyboard focus/disclosure and all-skipped retirement; unconfirmed-over-conflict guidance and failed-chat changes despite older host timestamps; nearest-listed ancestor/cyclic forest shape, descendant membership, host ordering/missing-host local fallback; skipped/readiness/admission counts, provisional skip/progress monotonicity, early per-chat verdicts with batch pending protection, older-host waiting, start-slot/delivery distinction, retry-over-failure and unknown-after-withdrawal attention; remote snooze/reconnect/reoffer, unseen mixed summary through open/close, watched completion retirement, new success beside old failure, failed-reread mixed-result preservation, filter/collapse completion resets, retry summary replacement and current-offer/history selection; cross-host workspace identity, rendered cyclic reachability, nested tri-state/toggle propagation, project eligibility isolation and collapse preserving selection. Exact fallback-list completion barrier, batched verdict/cleanup retention, stale-read versus dismissal publication race, and requested-but-never-rendered finished-run retirement remain; they do not replace retired alarms.", + "Audit3165 combines source3160/3162: deliberately retires six authored/expanded cases across three whole suites without equivalent replacement. Launch/status losses: observed React-render pending/resuming coordination across settings and deferred offer read; stale-offer reread suppressing dialog reopen; held-local-chat recovery visibility with new-chat preferences off; disabled-local admission avoiding offer RPC despite an injected but unconsumed paired-tab fixture; and run-only lost-reply uncertainty reachability until direct viewed-run retirement. Launch probe does not prove arbitrary synchronous-store atomicity, the paired fixture is not remote runtime enrollment, and the status case directly marks viewed state rather than rendering the summary. Crew-hook losses: old-host method_not_found cache persists across party changes but is released by independently supplied connection generation/verified pairing status or pairing revision, with actual frame publication and teardown. These are real narrow coordination, admission, uncertainty and mixed-version cache alarms consciously lost. Exact web verified-runtime writer handoff guard remains; it does not replace those alarms or prove live host/native/mobile delivery.", + "Audit3178 combines source3169/3170/3175: deliberately retires eight authored units (six Vitest cases and two imperative custom relay scenarios), including two whole suites, without equivalent replacement. Voice Section loses per-model pending-delete isolation across interleaved A/B completion and the two-success refresh-call alarm; exact VoicePane delayed key-clear/newer enabled-toggle merge remains and does not replace row deletion coverage. Speech loses dedicated rating-scale/inclusive-ceiling, unsupported-versus-unmeasured, explicit/system-language precedence/locale alias, accuracy versus fast named/default/best-measured selection, and unmeasured/no-match examples; exact offered-user-pick versus retired-selection case and its fixture remain. Relay loses legacy ping-delivery count/liveness sampled before the silence deadline and grouped malformed Bearer/host-ID 401/429 routing checks; twelve real Worker/DurableObject/shipped-client scenarios remain, not equivalent replacement for those narrow alarms. Six prior speech cases are not all deleted: approved successor3175 keeps the original user-choice case. No actual credential/file persistence, native/GPU/engine/download delivery, production assignment policy or deployed-runtime validation is claimed by this reduction.", + "Audit3191 combines approved source3182/3187/3188: deliberately retires thirteen authored Vitest registrations and fifteen expanded cases, including five whole suites, without equivalent replacement. Attachment intake loses real portal/native-capture terminal interception and unowned-container refusal, immediate child-only committed availability/claim-ref negotiation and delivery, and direct-target over stable focused/background composer routing through disable/re-enable/remount and independent question focus. Exact destination/cache/draft and final-stat owner/workspace/File-release suites remain; they do not replace Surface recipient routing. Automation authoring loses destination runtime catalog membership, local/direct-SSH exclusion of paired-runtime repos, unknown-runtime empty catalog, logical project/host/setup/repo/path context payload, and missing/nonready setup refusal; these were genuine direct helper alarms, while exact schedule transformation, legacy schedule and setup-decision suites remain. Agent picker loses setup-chat/terminal/missing-installer/unsupported-or-unknown-host row projection samples and the ordinary unsearched menu variant; the entire original26-line resume recipe suite remains, including reported bypass versus default/absent permission modes, as does the exact search-result menu callback with its fixtures, model/effort commits and staged Arguments reopen outcome. Rejected predecessor3180 full recipe deletion is excluded. No actual native drag/cursor/focus/IME, upload bytes or disk/restart persistence, full automation save/scheduler/runtime transport, real resume-process flags/environment delivery, or native menu/rendered layout validation is claimed.", + "Audit3200 composes approved source3194: deliberately retires thirteen authored registrations/twenty-seven expanded cases in six whole automation host/list policy suites without equivalent replacement. Real RPC category/retryability and wrapped-timeout recognition, unscoped-failure/scoped-success health evidence precedence, exact-ID create selectors and per-run workspace omission, paired-web local/SSH/absent host catalog routing, incompatible/removed/unhydrated/offline execution health, runtime-before-nested-SSH recovery dispatch, and no-owned-focus/successor/foreign-list focus policy alarms are consciously lost. Retain exact20line orphan allow/refuse/precondition and exact90line cross-host same-ID search suites. No retry-timer/fence lifecycle, actual reconnect/network/write delivery, native focus, mobile/mixed-version runtime or disk persistence coverage is claimed.", + "Audit3209 composes approved sources3202/3206: deliberately retires seven authored/expanded cases in four whole suites without equivalent replacement. Work-item queries lose real GitHub/GitLab oversized ASCII secret-prefix empty-query and whitespace-before-trim refusal alarms; inputs share the imported size bound and exercise only its fast length branch, with no multibyte or actual provider/exposure guarantee. Skill sharing loses complete/partial managed-bundle and destination-ambiguity association checks plus three negative origin/path/scheme admission examples; these do not establish uploaded contents, arbitrary-URL fetching, authorization or execution. Retain exact originless-project direct-link fallback, cloud-delete confirmation, bundled-target repair/owner isolation and explicit Windows-host preference over stale WSL suites. Rejected3201 runtime-preference removal is excluded. No real cloud/network/host/disk, mobile or mixed-version execution validation is claimed.", + "Audit3219 removes the synthetic Cmd+J extra-source suite; this broad command no longer checks its match/tie placement and selection, announced count, empty-query cap, or workspace hiding with retained recent tabs. No replacement coverage is claimed.", + "Audit3231 retires supported-host restore-pane key mapping, closed/open creation-sidebar toggle visibility, unrelated scope-error/null classification and quick-submit reveal/no-create checks. These broad commands lose those real narrow alarms; no replacement coverage is claimed.", + "Audit3246 retires NewRowsMarker reveal/no-repeat and pane-scoped beforeinput checks; skill-owner option availability/count/dedup/order; six styled Input/Textarea IME forwarding rows; the static Codex/OpenCode smart-key inventory; tab-map AST ratchet diagnostic fixtures; child-roster work-budget and retained-aggregate alarms; malformed persisted floating-cwd fallback/no-crash/empty exact-root checks; the unanswered-host empty-list discriminator; the direct invalidated-cache commit-false assertion; one redundant digit-keyup IME row; cached non-supported Claude title-generator rows; and the duplicate late naming-result singleton. These root broad commands lose those specific alarms without equivalent replacement. Distinct retained owner/state checks have their own bounded claims; the real scheduler still rejects stale response data, while the direct false-return alarm is retired.", + "Audit 3256 removes these specific alarms from the broad root unit commands: skill dialog active-share selection, close and pending-share handoff; simple keyed-record deletion; marker live-region insertion, simple landing and nine baseline policy examples; General search/control navigation inventory; orphan-count cache bootstrap; seven Codex code classifications and HTTP 429 warning mapping; two skill unread-root verdict examples; peer-mail payload and conversation-ID rejection; and the GitHub organization TABLE text-field optimistic rollback/failed-envelope example. These include real behaviors; retained tests do not provide equivalent coverage for every removed scenario. Mobile losses are recorded separately and are not coverage of these root commands.", + "Audit 3273 removes 14 authored declarations and 19 expanded scenarios across four whole suites and eight partial suites. Retired alarms cover saved-local cancellation/layout ownership, ambiguous-owner warning reset, folder attachment routing, VM false-capability bypass, abandoned reveal warmup cleanup and viewport claim deduplication/rearming, quiet unrelated remote-removal refusal, startup-command one-shot consumption, repository/floating recovery-ledger rows, fake-React pinned-scroll intent, split-ratio state identity/subscriber suppression and fractional change, cross-host project-group join refusal, three PR request-lifetime permutations, upstream-status preservation on error, and unresolved Git-owner refusal. These regression checks are intentionally lost under the test-value audit; retained scenarios are not equivalent replacements. Historical coverage receipts remain historical, including gate35 subscriber claims.", + "Audit 3283 removes 20 authored declarations and 31 expanded scenarios, including two whole suites. Retired alarms cover PR refresh-state pruning, shared runtime subscription cleanup and store isolation, language content-change routing and older completion ownership, ordinary panel retry-timer cleanup and pending loading, four hosted-review lifetime permutations, mocked terminal creation error/order wiring, five sleep-inventory variants with pending-frame-only assertions, palette fallback/composite highlights, Windows/UNC encoded-editor input rows, mixed-repository partial failure counts, title setters and generated-title bypass/replacement, five window-close coordinator delegation/guard/finally branches, and ambiguous-old-record frame reveal. These regression checks are intentionally lost under the test-value audit; retained cases are not equivalent replacements. Prior coverage notes and receipts remain historical.", + "Audit 3292 combines adopted 3285/3287/3289/3293 removals: 40 authored declarations and 47 expanded scenarios, including whole frame-editor-view, ambiguous remote-delete-refusal, unverifiable-host subscription and editor-close cleanup suites. The previously reviewed dock-badge suite was already removed upstream in PR 40895 and receives zero new removal credit. Intentionally retired alarms include background browser selection and last-tab landing; main startup fallback, SSH project cleanup/survivor routing, exact-PR contradiction/saved-push positives, replay/sidecar rollback and wrapped remote error normalization; records/snapshot missing-diff hydration, ambiguous folder-owner delete refusal, focus no-op notifications, nested editor context-only cache check, pending broadcast-first status and ordinary four-confirmation aggregation; preview-source frontmatter pruning, approved local/runtime agent dispatch, non-GitHub legacy PR cache invalidation, stale merged-head transient-error fallback, empty-queue immediate query reply and unverified-to-concrete preflight risk. Additional intentionally retired alarms are injected host subscription/unsubscribe counts, synthetic editor reveal/draft/fallback/scoped close, ambiguous unread refusals and hidden mark/read roundtrip, immediate connect backoff/noError, positive mirrored evidence-clock renewal, supplied VM failure/success projections and git-local/folder-SSH wake permutations. Remaining temporal/ownership cases are narrower; no equivalent replacement or fresh execution is claimed.", + "Audit 3301 combines adopted source batches 3296 and 3299: retire 27 authored declarations and 36 expanded scenarios, including six whole suites. Intentionally lost alarms cover failed-verification/recovery/restart counters and mocked hosting/toast; early overlapping pane-read scheduling/count; unreadable removal listing draft guard; bulk-purge remote-qualified and raw-local guard maps; initial-snapshot blank/mode/oversize/printable/fresh-spawn callback and replay examples; fallback mobile file close and ordinary MRU; default queue overload/drain; seeded browser-page reuse and supplied missing-page URL recreation; ambiguous sleep/hibernation owner refusal and untouched bindings/origins; ordinary selection/activity/fallback priority; skip-remote success and retained hints; supplied structured-chat unsent retention and scoped removal draft eviction; caller-chat focus precedence; open/draft PR cache eviction and merged-head fallback result inventories. Retained adverse-ordering and ownership cases are narrower and do not establish equivalent replacements. No fresh runtime, native, physical provider, cross-platform, mobile or mixed-version evidence is claimed.", + "Audit 3312 composes adopted sources 3302 and 3308: deliberately retires 33 authored declarations and 36 expanded cases, including the whole backend startup-focus, active-browser IPC-close-routing, remote-browser-creation and agent-terminal-presence suites. Intentionally lost alarms cover distinct six-pane reconnect handles; SSH host label/Connect callback, unhydrated visit cleanup, repo cache aliases and hidden worktree/tab/PTY cleanup; adopted-agent startup focus and viewer navigation/reuse; staged, pageless, source, stale and orphan browser-close routing; web local-materialization refusal, desktop incapable-host fallback, failed/thrown remote creation and paired-web sign-in refusal; BOM/NUL and remote/local custom-editor byte-read examples; immediate folder activation and unread clearing; and batching idle/coalescing, accumulated byte ceiling, leading-edge-disabled, standalone synchronous oversize rejection, validation yield, deferred pending-tail order and both viewport-clear examples. The newly reintroduced agent-terminal-presence suite also loses actual terminal-status membership positive and nonterminal-status callback suppression alarms, including the recent 40916 guard regression; the older different 2133 presence-suite history remains historical and receives zero duplicate removal credit. These real regression alarms are intentionally lost. The unchanged survivors provide narrower coverage, with no equivalent replacement or fresh gate, provider, rendered, remote/mobile, mixed-version, cross-platform, soak or measured-budget validation claimed.", + "Audit 3318 composes adopted sources 3310, 3313 and 3317: intentionally retires 71 authored declarations and 102 expanded cases, including whole terminal-detach agent-retention, seeded batch/single open-files equivalence, shallow context-menu shortcut-badge, mocked active-workspace delete-dispatch, workspace session hydration, SSH target cleanup, editor session hydration and worktree terminal purge suites. Lost alarms include chained transfer alias and immediate close/exit retention; batch/single divergence, survivor/selection/map preservation and input nonmutation across 400 imperative seeds (one registered case); disconnected pending-handle retry, authoritative absences/close-record shortcut/older-host absence and published-presence/unpublished-frame examples; published empty host-graph omission to pane exit; legacy search ranking/exclusion fallback; provider request upgrade/dedupe/finalizer ownership; asynchronous PR suppression/primary-change and same-number different-repository URL rejection. Deletion routing loses host/instance qualification, paired and legacy mapping, folder ownership, active-versus-hover/menu-row selection, ambiguity, modal/editable/creation/view/main/deleting/missing guards and shortcut advertisement. Unchanged real keyboard/hover/confirmation/catalog E2E remains narrower, not an equivalent replacement. Additional losses include scripted old-host disk/UTF-8/noop/baseline and landed/unlanded lost-reply/replacement-retry outcomes; ordinary/repeated healthy-link reattach; cross-owner terminal/chat binding; oversized replay permanent-unavailable classification; floating reveal keyboard ownership/close/disable/listener disposal; naming/retained-turn/Sleep/error/close/reject status tables; SSH membership prune/new-target-only reads and environment/local bucket isolation; same-frame receipt capacity and positive bare/headless publisher readmission. These actual regression alarms are deliberately lost; no fresh gate, provider, rendered, mobile, mixed-version, cross-platform, soak or measured-budget validation is claimed.", + "Audit3335 composes adopted source unions3327/3328 and3330/3332: intentionally retires100 authored registrations/123 expanded cases, including ten whole suites, without equivalent replacement. Lost alarms include seeded host persistence/contention and stale-host cleanup; browser snapshot assembly; mocked wake/DPR callbacks and frame budgets; preflight projections; palette authority/cache suppression, URL intent and saved-title cross-repo collisions; metadata coverage/set patch and dropdown assembly; and removed terminal, worktree, review-refresh and owner-routing examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI/GPU/focus, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain only their original scope.", + "Audit3342 composes adopted source batches3333/3334,3336/3337 and3340/3341: intentionally retires180 authored registrations/263 expanded cases, including seven whole suites, without equivalent replacement. Lost alarms include corrupt editor hydration; mobile editor/diff publication and privacy projections; stale-resubscribe routing; model-picker projection/refetch/retry/fallback; editor check-details and frame property inventories; latched-pane cleanup/quiescence; client create replay identity/options/compatibility; and removed owner, async routing, terminal and layout examples. Retained definitions do not replace these alarms. This broad root unit command selects the reduced suite; no fresh execution, historical source/import equivalence, real provider/network/SSH, rendered UI, durability restart, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts keep their original scope.", + "Audit3349 composes adopted batches3343,3345 and refreshed3354: intentionally retires234 authored registrations/294 expanded cases, including13 whole suites, without equivalent replacement. Lost alarms include supplied terminal reconnect/replacement/typeahead/mirror/result and snapshot examples; synthetic render-desync persistence/recovery; worktree listing/owner/catalog/lineage/removal and activation/creation examples; host-scoped PR and task-record projections; editor diff/status/comment and UI send-target examples; automation observation/wake, supplied sleep/deadline clock and native-chat completion/notification/relaunch samples; held-tab layout and cleanup/progress guard examples. Retained adverse-ordering and wire-boundary cases are narrower and do not replace all removed alarms. The already-upstream visibility-resume deletion receives zero new removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH, native process/power/GPU, rendered UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3359 composes root-adopted source3355/independent3356: intentionally retires130 authored registrations/139 expanded cases, including eight whole suites, without equivalent replacement. Lost alarms include strict create naming/capability/legacy payloads; supplied transport host replacement, deadline reattach, create-handoff and split activation; agent-session fork/clipboard/platform flags; shutdown cleared-scrollback/unmounted bindings; simulator host-collision/selection/shutdown; and removed editor, catalog, mutation, launch and status examples. Retained12 adverse-ordering/state-consequence cases are narrower and do not replace all removed alarms. Two queue absences receive zero removal credit. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY, filesystem restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3362 composes root-adopted3358/independent3360: intentionally retires129 authored registrations/140 expanded cases, including four whole suites, without equivalent replacement. Lost alarms include supplied orphan-adoption retry/malformed inventory/cancellation; fake-terminal replay parser/wedge/disposal callbacks; all-host catalog metadata and Windows preferences; host keepalive/protocol/stale/settings failures; and removed exact-stop/suppression, source save lifetime, diff-note queue, rename/editor close, input flood/chunk refusal/limits, purge and creation examples. Retained18 registrations/21 expanded cases protect narrower ownership, generation, dirty-state, queue convergence, encoding and attachment-lease outcomes. No replacement or keeper quota claim. This broad unit command selects the reduced suite; no fresh execution, historical import equivalence, real provider/network/SSH/PTY/xterm parser, disk restart, native UI, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3368 composes root-adopted3363/3364 and3367/3369: intentionally retires181 authored registrations/196 expanded cases, including28 whole suites, without equivalent replacement. Lost alarms include hibernation attention/liveness/backoff/sequential teardown and inventory, host launch compatibility/legacy/Kimi/resource cleanup, terminal recovery parser/pause/quarantine/remount, window-visibility omission-fence lifetime, launch-option rendered Start, sleeping-resume saved recipe/WSL quoting/cancellation, plus removed project/window/input variants. Additional tiny-suite losses include sentence/label/field/default inventories, credential omission, Windows argument/environment mapping, URI decoding, diagnostics, provider classification and fake-clock callback/parser examples. Retained ten registrations/twelve expanded cases include two literal Unicode Mn/Cf zero-width range guards in the actual character-range algorithm and protect narrower delayed editor bytes/destructive ownership, mounted hidden collision repair, ten transport epochs, duplicate-command refusal, caller timeout typing, executor unknown-opener refusal and failed-chunk user bytes. This broad unit command selects the reduced suite; no fresh runtime, real provider/network/PTY, filesystem restart, native UI, historical import equivalence, mobile, mixed-version or cross-platform validation is claimed. Unrelated dated receipts retain their original scope.", + "Audit3375 composes root-adopted3370/independent3371 and3373/independent3374: intentionally retires79 authored registrations/84 expanded cases, including39 whole suites, without equivalent replacement. Lost alarms include federation field/parser inventories; Claude rejected-key precedence, credential clone redaction, managed-versus-user hook preservation and CLI defaults; setting/status/activity projections, mocked SSH/notification/reveal/Linear refusal, fake-clock reconnect and noise; image-fold artifact visibility, paste eligibility, setup trust, scripted ACP error-to-journal publication and ligature cache tuple aliasing; plus supplied folder-runner uniqueness, mobile host-overlay/credential/update/preference races, status/markup/title/keyed-row projections, subscriber cleanup, cancellation/close/refusal/link-issue and mirror suppression alarms. Retained3373 merger contiguity, dual-clock overdue-resume exactly-once, rejected-paste IPC sink and annotation schema roundtrip remain bounded. Retained actual HTTP/OSC status composition, destructive sibling-filesystem isolation, external contrast invariant and fixture CSS pixel intervention remain narrower. Original reviewed87authored/92expanded become9/9; current OpenCode suite adds two preserved upstream cases and the synthetic-title suite gained one Cursor policy mock-call case, independently reviewed for removal in root3378; current90/95 become11/11. That Cursor suppression/ready-frame regression alarm is intentionally lost; it does not observe native title ownership or tab flicker. For3370 only the peer was independently blind, with author exposure explicit;3373/3374 both blind pins were verified. This broad root unit command selects the reduced root unit suite; UNIT_INCLUDE excludes mobile tests, which require the existing mobile runner; retained Playwright component-pixel spec uses its separate existing headless fixture runner and is not validated by the broad unit command. No fresh execution, actual agent/shell/provider, OS material/focus, historical import equivalence, mobile, mixed-version or cross-platform evidence is claimed. All dated receipts retain their original scope.", + "Audit3381 composes root-adopted3376/independent3377 and3379/independent3380: intentionally retires436 authored registrations/670 expanded cases, including79 whole suites and12877 test lines, without equivalent replacement. Lost alarms include scheduling, account/host/status/filter/format inventories, microphone/image cleanup, title/bell/capability lifecycle routing, access/impersonation/outcome matrices, paste/input resend/ledger/retention, stale completions/reload containment, trust-read failure and popup OAuth/security/geometry vectors. Retained30 registrations/34expanded cases in22 suites preserve narrower SQLite TEMP/TZ/WAL, HTTP transcript root resume, mobile original-index Choose/Submit, child environment/Git lock expiry, stale ACK/PTY lifetime/peer fairness/durable replay/output ordering, actual DOM paste/editor focus, DEC2026 conservation, filesystem rollback, owned buffer lifetime, actual OSC parser/tracker handback, POSIX Python UTF8/fallback, durable trust concurrency/version, OpenSSH verdicts and hidden Chromium POST/route lifecycle. Mocked boundaries limit claims. Current bounded defining-owner reads preserve the retained oracles; captured identities are not full transitive semantic review. Both component blind pins authenticated before exchange; final reconciliation and explicit postpin3380reason correction supplement control, without retroactive blind claims. Root unit command excludes mobile and separately admitted Electron probes; use existing respective runners. No fresh execution, native focus/device/pixel UI, live SSH/remote, equivalent replacement or broad mixed-version/cross-platform validation is claimed. Prior dated receipts retain exact original scopes.", + "Audit3390 composes root-adopted3382/independent3383 and3386/independent3387 and3388/independent3389: intentionally retires216 authored registrations/230 expanded cases in42 whole authored suites plus5 zero-case registration drivers, without equivalent replacement. Lost local alarms include fake PTY identity/routing/startup/replay/mode/title/mouse/IME/scroll matrices, broad startup identity and file-open wiring, mock mailbox title recovery, mobile row parity and whole-v-selective save parity. Retained24 registrations/26 expanded cases in22 suites preserve actual xterm Windows buffer/wrap/scroll, typed TOML scalar, real Promise cancellation/settlement, HTTP Codex scanner/projector semantics, durable recovery admission/newer-schema bytes, federation completion/ACK/SQLite atomicity and failed stale-run-write versus imported durable history. Additional retained clock-domain scheduling, durable freeze/ACK/checkpoint ordering, ABA dirty intent, SQL atomicity, folder-domain retier/last-note deletion, scrollback durable no-sync staging, PanelBridge subscriber lifetime and reserved-send publication preserve narrower concrete behaviors. Current finite owner drift assessed in bounded defining bodies; retained callback bytes unchanged. Historical notes and complete dated receipts keep their original exact scopes. No new execution, equivalent replacement, native focus/device/pixel, live remote or global mixed-version guarantee is claimed.\nOriginal active selector fields (historical raw native JSON values; not current coverage):\ncommands: [\n \"gh workflow run packaged-browser-e2e.yml\",\n \"pnpm exec playwright test tests/e2e/packaged-mixed-version-browser-placement.spec.ts --config tests/playwright.config.ts --project=electron-headless --workers=1 --repeat-each=3 --retries=0\",\n \"gh run view 34069063016 --log\",\n \"ORCA_BACKGROUND_LAUNCH=1 pnpm exec vitest run --config config/vitest.config.ts --maxWorkers=2 --reporter=dot\"\n ]\ntestFiles: [\"tests/e2e/packaged-mixed-version-browser-placement.spec.ts\"]\nassertionRefs: [\n {\n \"file\": \"tests/e2e/packaged-mixed-version-browser-placement.spec.ts\",\n \"assertions\": [\n \"old client and old host lack client-host and browser-tunnel capabilities\",\n \"browser contents remain owned by the server and the expected snapshot marker is readable\"\n ]\n }\n ]", + "Audit3403 composes root-adopted3393/3394,3400/3401 and3398/3399: intentionally retires167 authored registrations/196 potential expanded cases across93 whole suites without equivalent replacement or fresh execution. Retained65 registrations/79 potential cases include one conditional missing-input failure sentinel; potential counts are not executions. Historical notes and complete dated receipts retain their exact original scopes. The broad root-unit command loses the UNIT_INCLUDE src/ subset of retired examples; mobile is outside UNIT_INCLUDE. Other lost alarms are recorded by the adopted per-case source reviews. Original scope text is retained as the exact suffix of coverageNotes/oracle; historical evidence is unchanged.", + "Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Broad root-unit discovery loses35WSL examples,22STT examples,22shared-server-banner examples,18clipboard-handler examples (whole suite deleted),14VM lifecycle examples and16commit-message cancellation examples. Retain4WSL and7STT mocked connector/worker cases,1rendered stale-banner refusal,2VM guard/failed-compensation cases and1late-stream ownership cancellation case; real WSL/microphone/remote-provider proof is not established. Separately discovered e2e-unit drivers lose13cross-version-wire local cases and15mobile active-publication cases, keeping same-process disk-reopen/new-host cursor content/epoch/sequence outcomes and a host/renderer-snapshot selection and inventory revision race respectively. Imported released stop-note scenarios remain unchanged and receive no duplicate credit. Cloud suites are outside root UNIT_INCLUDE. All previous note strings, dated receipts, archived raw receipts and prior gap entries retain their original scopes.", + "Audit3417 composes root-adopted3415v2/independent3416v2: intentionally removes117authored/173potential expanded registrations from12semantic sources, deleting4whole conventional suites and3registration modules and retaining4authored/5expanded cases, without equivalent replacement or fresh execution. Broad root-unit discovery loses naming/title/queued-host fixtures, main-window focus-shortcut and attach-services mock orchestration, Git Bash console-capacity fake process inventories, most real-Git preparation/locking variants and Claude/Codex catch-up examples. Keep lifetime rejected-writer followed by late termination proof and autonomous real-checkout cleanup; two-row real-Git rollback after a real move preserving a replacement/admin marker or revoked permission; a live translator write during a held transcript read fencing stale Claude history append; and Codex expected-item revision rejection before a historical writer shim. Codex driver registers retained bounds exactly once with original inputs; bounds does not prove modern writer persistence. Accepted changed-lock preflight sentinel and omitted-parent routing losses are not replaced. All earlier notes and dated/archived evidence retain original scopes.", + "Audit3425 composes root-adopted3420/independent3421: intentionally removes83 authored/112 potential expanded registrations across13 semantic sources, deleting7 whole conventional suites and1 registering helper;7 authored/10 potential expanded cases remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted mock orchestration, refusal, restart and storage examples. Retain unchanged two-phase real-WSL deployment/survival, the reduced idle-release holder proof without restart/first-output measurement, real worker stop/release cleanup barrier rows, physical Git branch-preservation rows, and SSH disconnected-close proof. Other SSH and CLI variants and WSL telemetry/warmup churn are intentionally removed. Earlier notes and dated/archived evidence retain original scopes.", + "Audit3429 composes root-adopted3426/independent3427: intentionally removes168 authored/205 potential expanded cases across16 semantic sources, deleting11 whole suites and one304line unused assertion helper. Five authored/five potential cases remain; the duplicate500k graph row is dropped while its50k row and callback remain. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses the adopted migration/recovery/federation/rich-draft/paste/automation/mobile/catalog examples. Keep server-edit preservation during migration, native supervised cancellation holding the agent home until physical stop, pagehide lost-text preservation, graph old-result WRAPPER WeakRef collection with50k rows, and mobile React render isolation. The WeakRef does not prove all commit objects are collectible or a memory budget. All prior notes and dated/archived evidence retain original scopes.", + "Audit3437 composes ROOT-adopted3431/independent3432: intentionally removes127 authored/174 potential expanded cases across12 sources, deleting7 whole suites and one267line unused helper without test credit. Retain8 authored/13 potential cases. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses reduced or deleted relay, coordinator mail, recovery watchdog, automation observer, launch picker, folder PTY, profile restart, web migration, retirement, pointer delivery, agent-row and run-bound mailbox examples. Retained checks cover relay hello/payload and SIGTERM drain, coordinator pending-check and clear-to-Run continuity, profile persistence, the full six-row web merge table and real run-bound delivery waiter. These do not replace removed alarms. All prior notes and dated/archived evidence retain original scopes.", + "Audit3446 composes ROOT-adopted3441/independent3442: intentionally removes100 authored registrations/119 potential expanded cases (118 conditional-active before platform gates) across16 sources, retaining11 authored/13 expanded cases and deleting6 whole suites. Two parent registrar import/call cleanups and the unused68line CLI recording fixture carry zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit and mobile discovery loses interrupt/wake registrars, task storage/session-close/account snapshot hooks, permission tables, copy/preference/model-discovery/composer examples, launch placement examples, VM projections and extra mobile-history scenarios. Retained checks cover abandoned versus dispatched fork uncertainty; /fast dispatch supersession; discovery lock release after exit; stale-send draft preservation; OSC status lifetime; future-version file preservation; launch cancellation before/during dispatch on both layout owners; mobile resume addressability before hooks; and recipe snapshot cleanup after plugin removal. The paired browser-link Electron source is unchanged. Terminal launch seams, mobile roles-only history and injected provider results do not establish native terminal destruction, transcript text fidelity or real remote provider cleanup. All prior notes and complete dated receipts retain their original scopes.", + "Audit3451 composes ROOT-adopted3444/independent3445: intentionally removes101 authored registrations across16 reviewed sources, deleting7 whole suites and reducing8; one reviewed source is unchanged. Fresh main has123 authored registrations before and22 after because an upstream direct-child shell regression remains verbatim with zero removal credit. Registered removals are100+7*S and explicit-active removals99+7*S, where S is the unprobed count0..3 of admitted bash/zsh/fish shells. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses extra stream lifecycle/forwarding examples, unreadable-store/cache projections, orchestration presentation/benchmark cases, remote-owned routing matrices, mobile legacy navigation and model-catalog listing/cache examples. Whole suites retire renderer client-event projections, manually assembled structured-session reader ownership, mobile prompt presentation, renderer AI-vault resume commands, mobile Jira URL lookup, composer retention and mobile folder source-repository queries. Retained checks preserve original stream/store/orchestration/routing/navigation/catalog cases and shell behavior, including the upstream direct-child case. No real provider, native desktop or mobile acceptance is established by this reduction. All prior notes, assertion references and complete dated receipts retain their original historical scopes.", + "Audit3456 composes ROOT-adopted3449/independent3450: intentionally removes62 authored/82 potential expanded cases from16 selected drivers, including7 whole suites, while13 authored/13 potential cases remain. Delete the unused48line legacy workspace-session JSON fixture with zero test credit. These are source-only reductions without equivalent replacement or fresh runtime claims. Broad unit discovery intentionally loses whole trust-dialog observer, background-turn notifications, redirected session refusal, typed-agent identity, chat-tab lifetime-cost, model-manager and mobile diff-review controller suites, plus individual persistence, synthetic composition, pairing, manifest and subprocess samples. Retain deferred snapshot dirty-domain persistence, two direct editor ownership cases, stream counter-domain distinction, two persisted pairing identity cases, parser entrypoint asymmetry, dictation retry and process-group timeout; paired restart and packaged old-binary/corrupt-profile journeys remain in their E2E driver scope. Retained checks do not replace removed alarms. No fresh execution, native IME/microphone, real authentication, mixed-version/platform or performance result is claimed. All prior notes and archived receipts retain original scopes.", + "Audit3468 accepted source proposal AUTHOR3462/PEER3463, composed privately by audit3469: removes62 authored registrations/95 finite potential expansions, including5 whole suites, retaining25 authored registrations/29 finite potential expansions. ROOT approved source value; no equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses the profile-state worker smoke, worker-agent views and three search discovery suites, plus samples from node-server qualification, skill-bundle generation, CLI hooks/profile/recovery/offline admission, permission-hook holds and search indexing. The separate Cloud relay runner loses one relay blackbox sample; unchanged mobile native-chat and dependent-transcript drivers remain. Retained source callback/table/ancestor/fixture bytes bind to the sealed candidate. No physical-device, mixed-version, remote, cross-platform or app execution result is claimed. Earlier notes, complete dated receipts and archived gaps retain their original scopes.", + "Audit3438 composes ROOT-adopted3434/independent3436: intentionally removes60 authored/62 potential expanded cases across16 sources, deleting9 whole suites. Eight authored/eight potential cases remain; delete the102line unused ACP fixture and57line unused teardown helper with zero test credit. No equivalent replacement or fresh execution is claimed. Broad unit discovery loses ACP model-catalog fixtures, resume-record projections, dashboard mock payload/state cases, mobile folder/launch/session examples and dictionary pipeline rows. Selected E2E removals also retire auto-conversion and golden-core journeys and one Windows CLI conversion registration. Retain ACP reply text across a resumed subagent, both VAD checks, focused tab send ownership, async focus ownership in happy-dom, the question-skip journey, the original managed Windows CLI lifecycle journey and dictionary substitution. These checks do not replace the removed alarms. All prior notes and dated/archived evidence retain original scopes.", + "Audit3470 composes ROOT-approved AUTHOR3466/PEER3467 source proposal: intentionally removes38 authored registrations/59 finite potential expansions, including8 whole registering suites, retaining13 authored registrations/18 finite potential expansions. The sole dead shell-recipe caller cleanup has zero additional test credit. No equivalent replacement, fresh runtime or merge credit is claimed. Broad root-unit discovery loses process-import boundary, Korean/Japanese locale policy, worker-reset, mobile agent-history/queued-message and median-summary suites, plus packaged mobile-manifest, worker-pool fixture, HTML preview, mobile shell and terminal samples. The environment-provider contract and its sole shell-recipe caller are deleted. Separate cross-version-wire discovery loses the large byte-budget fresh-snapshot/replay sample while retaining independent live same-revision note publication; the retained terminal stale-refresh and dirty HTML draft persistence checks do not replace removed alarms. The source4 unused start/stop fixture hooks are removed; its retained nested failed-import test remains byte-exact with its own lifecycle. Unchanged SVG preview and Git-resolution registrations stay intact. Root balanced CI excludes the cross-version directory, which has a separate job; unbalanced root discovery can include its parent. No native app/device, actual remote, released-pair interoperability or cross-platform execution result is claimed. Earlier notes, complete dated receipts and archived gaps retain their original scopes.", + "Audit3492 composes ROOT-approved75(AUTHOR3475/PEER3476 and AUTHOR3485/PEER3481, including five-field clarification and zero-credit selector3483) plus123(AUTHOR3486/PEER3487 reconciled FINAL3491, including peer case10:3 and9:0 wording clarifications). It intentionally removes198 authored registrations/232 finite literal-table potential registrations across70 changed JS/TS test sources, including45 whole suites;87 authored/90 finite potential registrations remain across95 reviewed JS/TS bodies. One mobile native-suspension manual recipe and the now-unreferenced GitLab mock fixture helper are separately removed with zero registration credit. Static literal table potential is not execution. No equivalent replacement, fresh runtime result or merge credit is claimed. Earlier135 complete dated receipts, all raw gaps and full prior98/161/history notes retain their exact scopes and bytes. The additional123 retirement accepts loss of mocked GitLab request/error/identity/classification inventories; basic Linear migration and metadata discovery; simulated OpenCode key failed-save retention/retry/log redaction; analytics identity-flush smoke that did not prove ordering; AppImage static entry guards and empty-staging cleanup; GPU/process/minidump breadcrumb/annotation shapes and weak redaction oracles; namespace/status/foreign-launcher ownership guards and persistence roundtrips; profile transfer field projections; worker hook/screen/incarnation/result admission/classification guards; and source-coupled CLI transaction fixtures. Privileged publication failure injection was a false-positive: its mkdir regex missed -m 700 and outer rejection accepted an inner assertion before any shell ran. The identity-flush case awaited identity after flush and could pass despite early flush. Retained actual negative-token cache recovery, SQL filter-before-LIMIT open approval, unreadable-root FTS preservation/degradation, latest-connect-wins persistence, worker stop-debt settlement, unmodified same-inode foreign-content transaction, explicit incomplete-pagination error, FTS own-message snippet association, filter-before-route result and bounded-search truncation honesty are distinct bounded outcomes, not replacements for retired alarms. Case9:0 checks both roots before chmod but only mounted-session/degraded-root after chmod. Entire extraction-root suite is removed; no retained extraction cleanup is claimed. Removing the manual iOS foreground-stall shell script loses its unique real native-suspension recipe; timer tests do not replace it. First-match PIDs, indefinite waiting, broad success matching and absent trap cleanup made that diagnostic brittle and able to leave a desktop stopped. The current Windows operational driver remains byte-exact, preserving already-merged removal of orcad-convert and orcad-cli-convert selectors and the retained cmd/powershell/managed CLI lanes. The package skill-sharing release selector loses only the exact already-retired skills-suite token; no extra test credit. Included approved75 retirement account follows (historical proposal labels identify provenance; final198 counts above control): Audit3488 composes ROOT-approved source49(AUTHOR3485/PEER3481, including its immutable five-field clarification) and source26(AUTHOR3475/PEER3476): intentionally removes75 authored registrations/87 finite potential registrations across35 changed sources, including25 whole suites;35 authored/36 finite potential registrations remain in the combined reviewed scopes. Literal table potential counts are not executions. This source-only reduction has no equivalent replacement, fresh runtime result or merge credit. Root unit discovery deliberately loses entire message-row filtering/chunk reconstruction, discussion-pagination rejection passthrough, Linear bearer/stack redaction, new-profile telemetry/default/existing-JSON no-op, WSL user-trigger routing, terminal-delivery refusal, native-chat worker-approval UI, followup-paste routing, live-surface tombstone refusal, activity-bar hydration, fabricated approval-caller policy, child-PATH transformation and branch-review URL/identity suites. It also loses cache roundtrip/mode/fingerprint/fallback/no-op samples; GPU field-shape privacy examples; older auth-probe failure retention; orphan SQLite-sidecar/future-schema admission; usage tie/duplicate/composite-key examples; allocation-name sanitizer/unknown-prefix examples; real worker-and-backup preflight wrapper smoke; and JSONL descriptor-loop truncation. The discussion page contained id-only discussions without notes, so its rejection did not prove a nonempty notes-prefix oracle. The preflight did launch actual worker/backup entrypoints with production internal self-validation; removing its revision/version wrapper deliberately retires that real-entry smoke alarm. The skipped-prefix JSONL keeper rewrites/grows after collecting the suffix and before final validation, not concurrently during parsing. Retained queue rejection/recovery and held/drain mechanisms, recorder nonsettling-provider deadline, corrupt authoritative-DB refusal, legacy cache split migration, merge-added-row indexing, external-frame redaction, and pinned JSONL read/verification/mutation checks are bounded concrete oracles, not equivalent replacements for retired alarms. The full cloud relay cohort/ceiling/control suite is separately removed from the relay package runner, outside root unit discovery; no cloud runtime result is claimed. The Python computer-use benchmark remains unchanged tooling with zero authored/removal credit; no native benchmark trial ran. The package skill-sharing release selector drops only the exact already-deleted skills-suite token, with zero additional removal credit. Prior dated receipts, raw gaps, and complete earlier161/98/history notes remain exactly at their original scopes; no changed-source historical receipt becomes fresh reduced-suite evidence. Included approved26 alarm account: Broad root-unit discovery loses entire ref-label string, hostile/malformed CSV-link rendering, Codex filename-discovery, mocked paged-preview postscan mutation, usage path-containment, real symlink-ancestor, Codex skip RPC, local/remote inference routing, width-preference, and synthetic workspace-document input suites. It also loses the hand-assembled sorted CSV edit example, connect-time JPEG seed and invalid AVCC guard samples, and eight-record/64KiB detector boundary cases. The symlink suite exercised actual kernel traversal; its lost ancestor alarm could omit supplemental local editor watches and leave content stale, not bypass authorization. Retained linked stream cancellation, preview-only save fence, failed-flush dirty-draft preservation, clipboard byte/edit preservation, fragmented AVCC parsing and independent quoted-CSV interpretation checks do not replace these deliberately retired alarms. The stream fixture uses an in-memory source and does not establish actual fd cleanup; editor save endpoints are synthetic, browser events are synthetic, and no native focus, actual remote delivery, real disk write, cross-platform execution or interoperability is claimed. Earlier complete dated receipts, raw known gaps and previous notes are historical evidence at their original source/selector scope, not fresh evidence for this reduced suite. Earlier notes, complete dated receipts and archived gaps retain their original scopes." ], "demotionRule": "Keep experimental if any direction skips or fails; do not extend timeouts or retry to green." }, @@ -14582,12 +14261,12 @@ "providers": ["relay"], "coveredPlatforms": [], "coveredProviders": [], - "coverageNotes": "Audit1572 removes relay predicate/threshold tables, telemetry and route/schema inventories, fake-socket forwarding and simulator-owned diagnostic paths without equivalent replacement claims. Retained production admission queues, placer/reserve-book simulations, reservation lifecycles, bounded Response streams, last-known-good flag state, poller reachability, configuration safety and ledger fences are validated with supplied clocks, network, identity, SQL and socket boundaries. No deployed cell, live Google metadata/storage, PostgreSQL, real socket handshake or authorization proof. Historical scope before this audit: Actual registry queue with controlled store latency plus local WebSocket proof and connection-capacity suites on macOS. No PostgreSQL or live remote host run. PTY, daemon, SSH process state, WSL execution and folder/git workspace behavior are unaffected.", + "coverageNotes": "Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Cloud relay source review intentionally retires95assignment-store examples,23real-process blackbox variants,22headroom examples,17conditionalPostgreSQL examples and25isolated-cell replacement examples. Retain3assignment-store,7blackbox,1headroom,2PostgreSQL and1isolated-cell rollback/log positive-control cases. Two PostgreSQL cases remain conditional on ORCA_RELAY_TEST_POSTGRES_URL; timing-sensitive <300ms threshold remains. These gates already have no active selectors/evidence and protection none; historical receipts remain historical. Audit1572 removes relay predicate/threshold tables, telemetry and route/schema inventories, fake-socket forwarding and simulator-owned diagnostic paths without equivalent replacement claims. Retained production admission queues, placer/reserve-book simulations, reservation lifecycles, bounded Response streams, last-known-good flag state, poller reachability, configuration safety and ledger fences are validated with supplied clocks, network, identity, SQL and socket boundaries. No deployed cell, live Google metadata/storage, PostgreSQL, real socket handshake or authorization proof. Historical scope before this audit: Actual registry queue with controlled store latency plus local WebSocket proof and connection-capacity suites on macOS. No PostgreSQL or live remote host run. PTY, daemon, SSH process state, WSL execution and folder/git workspace behavior are unaffected.", "motivatingLinks": [ "https://github.com/stablyai/orca/blob/main/cloud/apps/relay/src/connections/host-session-registry.ts" ], "invariant": "A closed queued transport starts no durable activation; an already-started activation retains cleanup, and a live successor becomes the indexed control without concurrent same-host activation.", - "oracle": "Queue a closed control before a live retry behind stalled persistence. With controlled 4s store calls, require two total activations, one release for the already-started closed control, and live readiness at 4s. Existing tests retain cleanup when closure happens during I/O.", + "oracle": "Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Cloud relay source review intentionally retires95assignment-store examples,23real-process blackbox variants,22headroom examples,17conditionalPostgreSQL examples and25isolated-cell replacement examples. Retain3assignment-store,7blackbox,1headroom,2PostgreSQL and1isolated-cell rollback/log positive-control cases. Two PostgreSQL cases remain conditional on ORCA_RELAY_TEST_POSTGRES_URL; timing-sensitive <300ms threshold remains. These gates already have no active selectors/evidence and protection none; historical receipts remain historical. Queue a closed control before a live retry behind stalled persistence. With controlled 4s store calls, require two total activations, one release for the already-started closed control, and live readiness at 4s. Existing tests retain cleanup when closure happens during I/O.", "commands": [], "testFiles": [], "assertionRefs": [], @@ -14611,7 +14290,8 @@ "knownGaps": [ "Audit1572 removes relay predicate/threshold tables, telemetry and route/schema inventories, fake-socket forwarding and simulator-owned diagnostic paths without equivalent replacement claims. Retained production admission queues, placer/reserve-book simulations, reservation lifecycles, bounded Response streams, last-known-good flag state, poller reachability, configuration safety and ledger fences are validated with supplied clocks, network, identity, SQL and socket boundaries. No deployed cell, live Google metadata/storage, PostgreSQL, real socket handshake or authorization proof.", "No real PostgreSQL contention benchmark or live remote host/physical mobile run.", - "Windows/Linux execution and CI soak are not recorded; queue cleanup after a never-settling predecessor remains unchanged." + "Windows/Linux execution and CI soak are not recorded; queue cleanup after a never-settling predecessor remains unchanged.", + "Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Cloud relay source review intentionally retires95assignment-store examples,23real-process blackbox variants,22headroom examples,17conditionalPostgreSQL examples and25isolated-cell replacement examples. Retain3assignment-store,7blackbox,1headroom,2PostgreSQL and1isolated-cell rollback/log positive-control cases. Two PostgreSQL cases remain conditional on ORCA_RELAY_TEST_POSTGRES_URL; timing-sensitive <300ms threshold remains. These gates already have no active selectors/evidence and protection none; historical receipts remain historical. All previous note strings, dated receipts, archived raw receipts and prior gap entries retain their original scopes." ], "promotionCriteria": [ "Retain red/green count and latency assertions; collect cross-platform and CI soak evidence." @@ -14630,10 +14310,10 @@ "providers": ["relay"], "coveredPlatforms": [], "coveredProviders": [], - "coverageNotes": "Audit1572 removes relay predicate/threshold tables, telemetry and route/schema inventories, fake-socket forwarding and simulator-owned diagnostic paths without equivalent replacement claims. Retained production admission queues, placer/reserve-book simulations, reservation lifecycles, bounded Response streams, last-known-good flag state, poller reachability, configuration safety and ledger fences are validated with supplied clocks, network, identity, SQL and socket boundaries. No deployed cell, live Google metadata/storage, PostgreSQL, real socket handshake or authorization proof. Historical scope before this audit: Actual assignment store and SQLite tests on macOS. No real PostgreSQL or live remote host/physical phone run. Local/daemon PTY, SSH execution ownership, WSL, folder/git workspace behavior and transport framing are unaffected. Audit1279 removes fake SQL lock-order receipts, diagnostic projections and mocked reserve callback cases from this selector. Their precise local alarms are intentionally lost; retained SQLite headroom/state checks are not claimed as equivalent replacements. The 2026-09-25 receipt is archived as historical data; the shortened selector has no fresh runtime result yet. The remaining six-file selector passed 164 cases on Linux after these removals; this fixture result is separate from the archived dated receipt and does not establish native PostgreSQL behavior. Audit1507 removes the mocked lock-counter suite from the active selector; the 2026-11-04 six-file receipt remains historical and does not validate the shortened five-file selector. Its direct mocked counter alarm is intentionally retired without replacement equivalence.", + "coverageNotes": "Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Cloud relay source review intentionally retires95assignment-store examples,23real-process blackbox variants,22headroom examples,17conditionalPostgreSQL examples and25isolated-cell replacement examples. Retain3assignment-store,7blackbox,1headroom,2PostgreSQL and1isolated-cell rollback/log positive-control cases. Two PostgreSQL cases remain conditional on ORCA_RELAY_TEST_POSTGRES_URL; timing-sensitive <300ms threshold remains. These gates already have no active selectors/evidence and protection none; historical receipts remain historical. Audit1572 removes relay predicate/threshold tables, telemetry and route/schema inventories, fake-socket forwarding and simulator-owned diagnostic paths without equivalent replacement claims. Retained production admission queues, placer/reserve-book simulations, reservation lifecycles, bounded Response streams, last-known-good flag state, poller reachability, configuration safety and ledger fences are validated with supplied clocks, network, identity, SQL and socket boundaries. No deployed cell, live Google metadata/storage, PostgreSQL, real socket handshake or authorization proof. Historical scope before this audit: Actual assignment store and SQLite tests on macOS. No real PostgreSQL or live remote host/physical phone run. Local/daemon PTY, SSH execution ownership, WSL, folder/git workspace behavior and transport framing are unaffected. Audit1279 removes fake SQL lock-order receipts, diagnostic projections and mocked reserve callback cases from this selector. Their precise local alarms are intentionally lost; retained SQLite headroom/state checks are not claimed as equivalent replacements. The 2026-09-25 receipt is archived as historical data; the shortened selector has no fresh runtime result yet. The remaining six-file selector passed 164 cases on Linux after these removals; this fixture result is separate from the archived dated receipt and does not establish native PostgreSQL behavior. Audit1507 removes the mocked lock-counter suite from the active selector; the 2026-11-04 six-file receipt remains historical and does not validate the shortened five-file selector. Its direct mocked counter alarm is intentionally retired without replacement equivalence.", "motivatingLinks": ["https://github.com/stablyai/orca/issues/23035"], "invariant": "A single-cell capacity check reads only that cell while retaining snapshot freshness, incarnation, outstanding reservation and missing-limit policy; new placement retains the full fleet inventory.", - "oracle": "With 32 capped cells, an existing active host stays on its pinned cell and reads one headroom row; new placement reads all 32. Missing, expired or prior-incarnation snapshots, capacity exhaustion and outstanding debt still refuse the active pinned host; an uncapped cell remains admissible.", + "oracle": "Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Cloud relay source review intentionally retires95assignment-store examples,23real-process blackbox variants,22headroom examples,17conditionalPostgreSQL examples and25isolated-cell replacement examples. Retain3assignment-store,7blackbox,1headroom,2PostgreSQL and1isolated-cell rollback/log positive-control cases. Two PostgreSQL cases remain conditional on ORCA_RELAY_TEST_POSTGRES_URL; timing-sensitive <300ms threshold remains. These gates already have no active selectors/evidence and protection none; historical receipts remain historical. With 32 capped cells, an existing active host stays on its pinned cell and reads one headroom row; new placement reads all 32. Missing, expired or prior-incarnation snapshots, capacity exhaustion and outstanding debt still refuse the active pinned host; an uncapped cell remains admissible.", "commands": [], "testFiles": [], "assertionRefs": [], @@ -14659,7 +14339,8 @@ "Real PostgreSQL query plan and concurrent admission not rerun for the scoped variant.", "Windows/Linux execution, live remote host/mobile flows and CI soak are not recorded.", "Historical receipt before Audit1279 selector removal; original command, currentCommand, counts and result are preserved as data and do not validate the shortened selector: {\"date\":\"2026-09-25\",\"runner\":\"local\",\"platform\":\"macos\",\"command\":\"ORCA_BACKGROUND_LAUNCH=1 pnpm --dir cloud/apps/relay exec vitest run ../../../cloud/apps/relay/src/assignment/assignment-headroom-scope.test.ts ../../../cloud/apps/relay/src/assignment/assignment-connection-headroom.test.ts ../../../cloud/apps/relay/src/assignment-store.test.ts ../../../cloud/apps/relay/src/assignment/assignment-store-lock-order.test.ts ../../../cloud/apps/relay/src/cell-inventory-lock-contention.test.ts ../../../cloud/apps/relay/src/assignment-isolated-cell-replacement.test.ts ../../../cloud/apps/relay/src/regional-rehome-target-selection.test.ts --silent=false\",\"currentCommand\":\"ORCA_BACKGROUND_LAUNCH=1 pnpm --dir cloud/apps/relay exec vitest run ../../../cloud/apps/relay/src/assignment/assignment-headroom-scope.test.ts ../../../cloud/apps/relay/src/assignment/assignment-connection-headroom.test.ts ../../../cloud/apps/relay/src/assignment/assignment-store.test.ts ../../../cloud/apps/relay/src/assignment/assignment-store-lock-order.test.ts ../../../cloud/apps/relay/src/cell-inventory-lock-contention.test.ts ../../../cloud/apps/relay/src/assignment/assignment-isolated-cell-replacement.test.ts ../../../cloud/apps/relay/src/regional-rehome-target-selection.test.ts --silent=false\",\"result\":\"passed\",\"durationSeconds\":0.513,\"summary\":\"189 tests across seven files passed; independent root rerun also passed189 tests. Relay typecheck passed separately.\"}", - "Historical receipt before Audit1507 selector removal; preserved as data, not proof of the current selector: {\"date\":\"2026-11-04\",\"runner\":\"local\",\"platform\":\"linux\",\"command\":\"ORCA_BACKGROUND_LAUNCH=1 pnpm --dir cloud/apps/relay test src/assignment/assignment-headroom-scope.test.ts src/assignment/assignment-connection-headroom.test.ts src/assignment/assignment-store.test.ts src/cell-inventory-lock-contention.test.ts src/assignment/assignment-isolated-cell-replacement.test.ts src/regional-rehome-target-selection.test.ts --silent=false --maxWorkers=2\",\"currentCommand\":\"ORCA_BACKGROUND_LAUNCH=1 pnpm --dir cloud/apps/relay exec vitest run ../../../cloud/apps/relay/src/assignment/assignment-headroom-scope.test.ts ../../../cloud/apps/relay/src/assignment/assignment-connection-headroom.test.ts ../../../cloud/apps/relay/src/assignment/assignment-store.test.ts ../../../cloud/apps/relay/src/cell/admission/cell-inventory-lock-contention.test.ts ../../../cloud/apps/relay/src/assignment/assignment-isolated-cell-replacement.test.ts ../../../cloud/apps/relay/src/assignment/regional-rehome/regional-rehome-target-selection.test.ts --silent=false\",\"result\":\"passed\",\"durationSeconds\":2.22,\"summary\":\"164 tests passed across the six remaining headroom fixture suites on Linux through the relay package runner, including its schema/contract build hooks. This executes the current selector with two workers. It does not establish native PostgreSQL contention or transaction recovery coverage.\"}" + "Historical receipt before Audit1507 selector removal; preserved as data, not proof of the current selector: {\"date\":\"2026-11-04\",\"runner\":\"local\",\"platform\":\"linux\",\"command\":\"ORCA_BACKGROUND_LAUNCH=1 pnpm --dir cloud/apps/relay test src/assignment/assignment-headroom-scope.test.ts src/assignment/assignment-connection-headroom.test.ts src/assignment/assignment-store.test.ts src/cell-inventory-lock-contention.test.ts src/assignment/assignment-isolated-cell-replacement.test.ts src/regional-rehome-target-selection.test.ts --silent=false --maxWorkers=2\",\"currentCommand\":\"ORCA_BACKGROUND_LAUNCH=1 pnpm --dir cloud/apps/relay exec vitest run ../../../cloud/apps/relay/src/assignment/assignment-headroom-scope.test.ts ../../../cloud/apps/relay/src/assignment/assignment-connection-headroom.test.ts ../../../cloud/apps/relay/src/assignment/assignment-store.test.ts ../../../cloud/apps/relay/src/cell/admission/cell-inventory-lock-contention.test.ts ../../../cloud/apps/relay/src/assignment/assignment-isolated-cell-replacement.test.ts ../../../cloud/apps/relay/src/assignment/regional-rehome/regional-rehome-target-selection.test.ts --silent=false\",\"result\":\"passed\",\"durationSeconds\":2.22,\"summary\":\"164 tests passed across the six remaining headroom fixture suites on Linux through the relay package runner, including its schema/contract build hooks. This executes the current selector with two workers. It does not establish native PostgreSQL contention or transaction recovery coverage.\"}", + "Audit3413 composes root-adopted3405/independent3406 and3409/independent3410: intentionally removes337 authored registrations/363potential expanded cases from13sources, retaining31authored/32potential cases and deleting one whole clipboard suite, without equivalent replacement or fresh execution. Cloud relay source review intentionally retires95assignment-store examples,23real-process blackbox variants,22headroom examples,17conditionalPostgreSQL examples and25isolated-cell replacement examples. Retain3assignment-store,7blackbox,1headroom,2PostgreSQL and1isolated-cell rollback/log positive-control cases. Two PostgreSQL cases remain conditional on ORCA_RELAY_TEST_POSTGRES_URL; timing-sensitive <300ms threshold remains. These gates already have no active selectors/evidence and protection none; historical receipts remain historical. All previous note strings, dated receipts, archived raw receipts and prior gap entries retain their original scopes." ], "promotionCriteria": [ "Retain red/green row budget and semantic admission cases; collect PostgreSQL, cross-platform and CI soak evidence." diff --git a/config/render-path-translate-baseline.txt b/config/render-path-translate-baseline.txt index 0a7b19061a2..2da76433302 100644 --- a/config/render-path-translate-baseline.txt +++ b/config/render-path-translate-baseline.txt @@ -2,7 +2,7 @@ # This is a RATCHET: counts may only go DOWN. Use useTranslate()/useIntlLocale() from # @/i18n/use-translate. Prune after a fix: pnpm check:render-path-translate-ratchet --prune 2 src/renderer/src/components/agent/AgentLaunchPromptComposer.tsx -5 src/renderer/src/components/automations/use-external-automation-actions.ts +5 src/renderer/src/components/automations/external/use-external-automation-actions.ts 1 src/renderer/src/components/diff-comments/useDiffCommentDecorator.tsx 2 src/renderer/src/components/editor/markdown-preview/render-tree/use-markdown-preview-components.tsx 1 src/renderer/src/components/tab-group/useTabGroupCreationCommands.ts diff --git a/config/renderer-layout-writer-baseline.txt b/config/renderer-layout-writer-baseline.txt index 1c132f4e79c..26d3f04ab48 100644 --- a/config/renderer-layout-writer-baseline.txt +++ b/config/renderer-layout-writer-baseline.txt @@ -17,8 +17,8 @@ 4 src/renderer/src/components/terminal-pane/render-health/recovery/terminal-recovery-ledger-test-store.ts 3 src/renderer/src/components/worktree-jump/worktree-jump-palette-status-inputs.ts 1 src/renderer/src/lib/agent-session/hibernation/agent-hibernation-coordinator.ts -4 src/renderer/src/lib/floating-workspace-terminal-actions.ts -1 src/renderer/src/lib/pane-manager/client-hosted-browser-row-state.ts +4 src/renderer/src/components/floating-terminal/floating-workspace-terminal-actions.ts +1 src/renderer/src/runtime/browser/client-hosting/client-hosted-browser-row-state.ts 4 src/renderer/src/lib/workspace/persistence/session-write-subscriber.ts 1 src/renderer/src/lib/workspace/persistence/workspace-session-browser-tabs.ts 7 src/renderer/src/lib/workspace/persistence/workspace-session-host-hydration.ts diff --git a/config/repo-host-read-baseline.txt b/config/repo-host-read-baseline.txt index 4cb8d19327d..7fcaeb3c4b7 100644 --- a/config/repo-host-read-baseline.txt +++ b/config/repo-host-read-baseline.txt @@ -23,10 +23,10 @@ 1 src/main/ipc/worktrees/removal/register-worktree-removal-handlers.ts 1 src/main/ipc/worktrees/removal/registered-worktree-root-owner.ts 1 src/main/ipc/worktrees/repo-host-ownership.ts -2 src/main/orca-profiles/profile-project-transfer-payload.ts -1 src/main/orca-profiles/profile-project-worktree-identity.ts +2 src/main/orca-profiles/project-transfer/profile-project-transfer-payload.ts +1 src/main/orca-profiles/project-transfer/profile-project-worktree-identity.ts 1 src/main/persistence/leasing-ssh-ptys/ssh-target-reassignment.ts -1 src/main/persistence/migrating-orcad-catalog/orcad-source-ownership.ts +1 src/main/persistence/migrating-orcad-catalog/source/catalog/orcad-source-ownership.ts 2 src/main/persistence/restoring-sessions/folder-scope-migration.ts 1 src/main/persistence/restoring-sessions/tab-terminal-pane-binding-repair.ts 1 src/main/persistence/tracking-repos/local-worktree-metadata-scan-expectation.ts diff --git a/config/scripts/build/mobile-web-app/build-mobile-web-app-bundle.mjs b/config/scripts/build/mobile-web-app/build-mobile-web-app-bundle.mjs index 605d2ac7816..4b1a1d008b8 100644 --- a/config/scripts/build/mobile-web-app/build-mobile-web-app-bundle.mjs +++ b/config/scripts/build/mobile-web-app/build-mobile-web-app-bundle.mjs @@ -1,4 +1,4 @@ -import { readFile } from 'node:fs/promises' +import { readFile, readdir } from 'node:fs/promises' import { readRouteSnapshot } from '../../mobile-web-app/mobile-web-app-route-snapshot.mjs' import { MOBILE_WEB_APP_DEPENDENCY_PATH } from '../../mobile-web-app/mobile-web-app-bundle-dependencies.mjs' import { existsSync, realpathSync } from 'node:fs' @@ -457,6 +457,32 @@ export async function mobileWebAppModuleClosure(entryModules, { absWorkingDir } // One lazily imported chunk per UI language; the page fetches only the active one after init. const LOCALE_CATALOG_INPUT = /(^|\/)src\/i18n\/locales\/[^/]+\.json$/ +const localeCatalogDir = join(mobileDir, 'src', 'i18n', 'locales') + +// The same catalogs as JSON for the host to serve one at a time, to shells that skip the chunks; +// English is the page's inline fallback, so it has none. +export async function readLocaleCatalogs(directory = localeCatalogDir) { + const names = (await readdir(directory)) + .filter((name) => name.endsWith('.json') && name !== 'en.json') + .sort() + return Promise.all( + names.map(async (name) => { + // Minify: the host sends and the phone keeps the parsed object, not the source layout. + const bytes = Buffer.from( + JSON.stringify(JSON.parse(await readFile(join(directory, name), 'utf8'))), + 'utf8' + ) + const sha256 = sha256Hex(bytes) + return { + locale: name.slice(0, -'.json'.length), + bytes, + path: `catalogs/${sha256}.json`, + sha256, + byteLength: bytes.byteLength + } + }) + ) +} function localeCatalogOutputs(metafile) { return new Set( @@ -586,11 +612,13 @@ export async function buildMobileWebAppBundle({ desktopVersion, protocolWindow, { script, chunks, images, catalogChunks, entryStaticBytes, chunkCount, routeChunks, routeKeys }, + catalogs, scrollbarStyle ] = await Promise.all([ readDesktopVersion(), readProtocolWindow(), bundleMobileWebApp({ appDir }), + readLocaleCatalogs(), readFile(join(projectDir, 'src/shared/styles/scrollbar-sleek.css'), 'utf8').then((style) => // The shared desktop stylesheet can be checked out as CRLF on Windows. style.replace(/\r\n/g, '\n') @@ -598,9 +626,14 @@ export async function buildMobileWebAppBundle({ ]) // Names already hash final bytes, so hashedAsset must reproduce them. const scriptAsset = hashedAsset(script, 'js') + const catalogChunkSet = new Set(catalogChunks) const written = [ scriptAsset, - ...[...chunks, ...images].map(({ name, bytes }) => hashedAsset(bytes, extname(name).slice(1))) + ...[...chunks, ...images].map((output) => ({ + ...hashedAsset(output.bytes, extname(output.name).slice(1)), + // Shells that read catalogs from the host skip these; older shells download them as before. + ...(catalogChunkSet.has(output) ? { kind: 'catalog' } : {}) + })) ] // Root-absolute URLs survive nested routes; CSP allows only about: base. ESM entry/chunks load under existing self policy. @@ -624,6 +657,7 @@ export async function buildMobileWebAppBundle({ const { manifest } = await writeMobileWebBundleTree({ outDir, written: [indexAsset, ...written], + catalogs, desktopVersion, protocolWindow, routes: resolveMobileWebPageRoutes(routeKeys, pageRoutes), diff --git a/config/scripts/build/mobile-web-app/mobile-web-bundle-manifest.mjs b/config/scripts/build/mobile-web-app/mobile-web-bundle-manifest.mjs index 4504d345fd4..ad84a39bd02 100644 --- a/config/scripts/build/mobile-web-app/mobile-web-bundle-manifest.mjs +++ b/config/scripts/build/mobile-web-app/mobile-web-bundle-manifest.mjs @@ -133,6 +133,8 @@ async function compressWithBrotli(written) { export async function writeMobileWebBundleTree({ outDir, written, + // Host-only JSON outside `assets` and buildId, served one at a time over RPC. + catalogs = [], desktopVersion, protocolWindow, // Empty route list makes shell render every screen natively. @@ -143,14 +145,15 @@ export async function writeMobileWebBundleTree({ }) { const brotliCopies = brotli ? await compressWithBrotli(written) : new Map() const assets = written - .map(({ path, sha256, byteLength, contentType }) => { + .map(({ path, sha256, byteLength, contentType, kind }) => { const copy = brotliCopies.get(path) return { path, sha256, byteLength, contentType, - ...(copy === undefined ? {} : { brotliByteLength: copy.byteLength }) + ...(copy === undefined ? {} : { brotliByteLength: copy.byteLength }), + ...(kind === undefined ? {} : { kind }) } }) .sort((left, right) => (left.path < right.path ? -1 : left.path > right.path ? 1 : 0)) @@ -164,14 +167,27 @@ export async function writeMobileWebBundleTree({ entrypoint: MOBILE_WEB_BUNDLE_ENTRYPOINT, totalBytes: assets.reduce((total, asset) => total + asset.byteLength, 0), assets, - routes + routes, + ...(catalogs.length === 0 + ? {} + : { + catalogs: catalogs.map(({ locale, path, sha256, byteLength }) => ({ + locale, + path, + sha256, + byteLength + })) + }) } // Clear entire output or stale unreferenced assets ship inside asar. await rm(outDir, { recursive: true, force: true }) await mkdir(join(outDir, 'assets'), { recursive: true }) - for (const asset of written) { - await writeFile(join(outDir, asset.path), asset.bytes) + if (catalogs.length > 0) { + await mkdir(join(outDir, 'catalogs'), { recursive: true }) + } + for (const file of [...written, ...catalogs]) { + await writeFile(join(outDir, file.path), file.bytes) } for (const [path, copy] of brotliCopies) { await writeFile(join(outDir, mobileWebBundleBrotliPath(path)), copy) diff --git a/config/scripts/build/mobile-web-app/verify-mobile-web-app-bundle.mjs b/config/scripts/build/mobile-web-app/verify-mobile-web-app-bundle.mjs index b853a7d7a88..b6832054702 100644 --- a/config/scripts/build/mobile-web-app/verify-mobile-web-app-bundle.mjs +++ b/config/scripts/build/mobile-web-app/verify-mobile-web-app-bundle.mjs @@ -29,6 +29,8 @@ export function mobileWebAppBundleMaxAssets(routeCount, imageCount, catalogChunk // fetched only for the active language, never before the first route. Code keeps its own fence. export const MOBILE_WEB_APP_BUNDLE_MAX_CATALOG_CHUNKS = 10 export const MOBILE_WEB_APP_BUNDLE_MAX_CATALOG_BYTES = 3 * 1024 * 1024 +// The host sends a catalog's JSON in one reply, which must fit a 1 MiB relay frame once encrypted. +export const MOBILE_WEB_APP_HOST_CATALOG_MAX_BYTES = 384 * 1024 // Our own fence on the page's code, well inside the phone contract (32 MiB total, 10 MiB per asset in // manifest-contract.ts); it fails the build before the code weighs more than any one asset may. @@ -185,6 +187,23 @@ export async function verifyMobileWebAppBundle({ bundleDir = defaultBundleDir } `${String(MOBILE_WEB_APP_BUNDLE_MAX_CATALOG_BYTES)} bytes` ) } + // buildId leaves the host's JSON catalogs out, so a stale copy shows only here. + const hostCatalogsOf = (built) => JSON.stringify(built.catalogs ?? []) + if (hostCatalogsOf(first.manifest) !== hostCatalogsOf(second.manifest)) { + fail('host language catalogs are not reproducible') + } + if (hostCatalogsOf(first.manifest) !== hostCatalogsOf(manifest)) { + fail(`${bundleDir} is stale: its host language catalogs differ from a fresh build's`) + } + const oversized = (manifest.catalogs ?? []).find( + (catalog) => catalog.byteLength > MOBILE_WEB_APP_HOST_CATALOG_MAX_BYTES + ) + if (oversized) { + fail( + `the ${oversized.locale} host catalog is ${String(oversized.byteLength)} bytes, over the ` + + `${String(MOBILE_WEB_APP_HOST_CATALOG_MAX_BYTES)} one reply carries` + ) + } const budgetBytes = mobileWebAppBundleBudgetBytes(manifest) - first.catalogBytes if (budgetBytes > MOBILE_WEB_APP_BUNDLE_MAX_TOTAL_BYTES) { fail( diff --git a/config/scripts/ci/sharding/ci-shard-timings.json b/config/scripts/ci/sharding/ci-shard-timings.json index 43ba5379935..d0bec709c14 100644 --- a/config/scripts/ci/sharding/ci-shard-timings.json +++ b/config/scripts/ci/sharding/ci-shard-timings.json @@ -18,7 +18,6 @@ "config/scripts/static-analysis/oxlint-contracts/app-store-performance-plugin.test.mjs": 339, "config/scripts/desktop-distribution/linux/appimage-node-runtime.test.mjs": 146, "config/scripts/performance/measurement/benchmark-artifact-comparison.test.mjs": 192, - "config/scripts/performance/measurement/benchmark-sample-summary.test.mjs": 46, "config/scripts/cli-build/build-cli.test.mjs": 1371, "config/scripts/desktop-distribution/linux/build-linux-local.test.mjs": 67, "config/scripts/desktop-distribution/macos/build-mac-notarization-overlap.test.mjs": 127, @@ -100,9 +99,7 @@ "config/scripts/locale-catalog/locale-brand-prefilter.test.mjs": 246, "config/scripts/locale-catalog/locale-generic-ui-terms.test.mjs": 102, "config/scripts/locale-catalog/locale-repair-catalog-missing-leaves.test.mjs": 159, - "config/scripts/locale-catalog/locale-translation-policy-ko-round5.test.mjs": 154, "config/scripts/locale-catalog/locale-translation-policy.es-pr.test.mjs": 91, - "config/scripts/locale-catalog/locale-translation-policy.ja-relocalization.test.mjs": 116, "config/scripts/locale-catalog/locale-translation-policy.test.mjs": 189, "config/scripts/localization/source-extraction/localization-extraction-call-syntax.test.mjs": 317, "config/scripts/localization/extraction-policy/localization-extraction-change-scope.test.mjs": 732, @@ -115,7 +112,6 @@ "config/scripts/orcad-distribution/prebuilds/merge-orcad-prebuilds.test.mjs": 67, "config/scripts/mobile-web/check-entry/mobile-process-host-tooling.test.mjs": 942, "config/scripts/mobile-web/check-entry/mobile-release-check-scope.test.mjs": 821, - "config/scripts/mobile-web-app/session/mobile-web-app-agent-history-render.test.mjs": 524, "config/scripts/mobile-web-app/shell/mobile-web-app-agent-icon-render.test.mjs": 591, "config/scripts/mobile-web-app/shell/mobile-web-app-browser-pane-render.test.mjs": 239, "config/scripts/mobile-web-app/shell/mobile-web-app-clipboard-image-resize-render.test.mjs": 422, @@ -133,7 +129,6 @@ "config/scripts/mobile-web-app/routing/mobile-web-app-page-closure-families.test.mjs": 71, "config/scripts/mobile-web-app/routing/mobile-web-app-page-grant-call-sites.test.mjs": 164, "config/scripts/mobile-web-app/routing/mobile-web-app-push-subsystem-closure.test.mjs": 57, - "config/scripts/mobile-web-app/session/mobile-web-app-queued-messages-render.test.mjs": 267, "config/scripts/mobile-web-app/shell/mobile-web-app-render.test.mjs": 254, "config/scripts/mobile-web-app/session/mobile-web-app-rich-markdown-render.test.mjs": 356, "config/scripts/mobile-web-app/mobile-web-app-route-manifest.test.mjs": 174, @@ -206,7 +201,6 @@ "config/scripts/ci/workflow-contracts/pr-workflow-parallelism.test.mjs": 161, "config/scripts/desktop-distribution/runtime-verification/process-host-build-dist.test.mjs": 8298, "config/scripts/desktop-distribution/runtime-verification/process-host-dev-rebuild.test.ts": 10910, - "config/scripts/orcad-distribution/server-bundle/profile-state-worker-smoke.test.mjs": 2740, "config/scripts/development/web-client/project-renderer-web-client.test.mjs": 709, "config/scripts/localization/catalog-validation/protected-copy-keys.test.mjs": 394, "config/scripts/diagnostics/terminal-transcripts/pty-transcript-secret-scan.test.mjs": 188, @@ -461,7 +455,6 @@ "src/main/acp/process/acp-agent-connection.test.ts": 407, "src/main/acp/discovery/acp-at-rest-commands.test.ts": 1400, "src/main/acp/transport/acp-json-rpc-peer.test.ts": 195, - "src/main/acp/discovery/acp-model-catalog-probe.test.ts": 774, "src/main/acp/protocol/acp-permission-requests.test.ts": 254, "src/main/acp/turns/acp-prompt-content.test.ts": 302, "src/main/acp/protocol/acp-session-agent-turns.test.ts": 260, @@ -603,10 +596,8 @@ "src/main/agent-hooks/installation/commands/windows-hook-payload-delivery.test.ts": 345, "src/main/agent-hooks/installation/commands/windows-native-hook-exe-hosts.test.ts": 262, "src/main/agent-hooks/installation/commands/windows-powershell-hook-launcher.test.ts": 44, - "src/main/agent-hooks/wsl-relay/wsl-hook-relay-idle-stop.test.ts": 1235, "src/main/agent-hooks/wsl-relay/testing/wsl-hook-relay-live.integration.test.ts": 2231, "src/main/agent-hooks/wsl-relay/wsl-hook-relay-manager.test.ts": 3176, - "src/main/agent-hooks/wsl-relay/wsl-hook-relay-reattach.test.ts": 1280, "src/main/agent-hooks/wsl-relay/wsl-hook-relay-sentinel.test.ts": 62, "src/main/agent-hooks/wsl-relay/wsl-opencode-settings-lifetime.test.ts": 1951, "src/main/agent-launch/agent-launch-account-env.test.ts": 958, @@ -619,50 +610,31 @@ "src/main/agent-launch/trust/agent-trust-presets.test.ts": 377, "src/main/agent-launch/trust/agent-workspace-trust.test.ts": 177, "src/main/ai-vault-search/session-search-agent-compatibility.test.ts": 192, - "src/main/ai-vault-search/session-search-anonymous-write-memory.test.ts": 1570, - "src/main/ai-vault-search/session-search-content-hash.test.ts": 61, - "src/main/ai-vault-search/session-search-deleted-sources.test.ts": 675, - "src/main/ai-vault-search/session-search-dependent-transcripts.test.ts": 489, - "src/main/ai-vault-search/session-search-directory-listings.test.ts": 50, - "src/main/ai-vault-search/session-search-engine.test.ts": 2083, - "src/main/ai-vault-search/session-search-file-id.test.ts": 277, - "src/main/ai-vault-search/session-search-file-write.test.ts": 696, - "src/main/ai-vault-search/session-search-fts5-contract.test.ts": 183, - "src/main/ai-vault-search/session-search-hit-ranking.test.ts": 58, + "src/main/ai-vault-search/indexing/session-search-dependent-transcripts.test.ts": 489, + "src/main/ai-vault-search/query/session-search-engine.test.ts": 2083, + "src/main/ai-vault-search/storage/session-search-file-write.test.ts": 696, "src/main/ai-vault-search/session-search-host-registration.test.ts": 1140, - "src/main/ai-vault-search/session-search-index-consumer.test.ts": 316, - "src/main/ai-vault-search/session-search-index-generation.test.ts": 471, - "src/main/ai-vault-search/session-search-index-writer.test.ts": 473, - "src/main/ai-vault-search/session-search-indexer.test.ts": 3307, + "src/main/ai-vault-search/storage/session-search-index-generation.test.ts": 471, + "src/main/ai-vault-search/storage/session-search-index-writer.test.ts": 473, + "src/main/ai-vault-search/indexing/session-search-indexer.test.ts": 3307, "src/main/ai-vault-search/session-search-instance.test.ts": 1045, "src/main/ai-vault-search/session-search-lifecycle-matrix.test.ts": 4969, - "src/main/ai-vault-search/session-search-list-reparse.test.ts": 330, - "src/main/ai-vault-search/session-search-live-transcript.test.ts": 434, - "src/main/ai-vault-search/session-search-merged-roots.test.ts": 529, - "src/main/ai-vault-search/session-search-message-rows.test.ts": 218, + "src/main/ai-vault-search/indexing/session-search-list-reparse.test.ts": 330, + "src/main/ai-vault-search/indexing/session-search-live-transcript.test.ts": 434, + "src/main/ai-vault-search/indexing/session-search-merged-roots.test.ts": 529, "src/main/ai-vault-search/session-search-native-chat-indexing.test.ts": 540, - "src/main/ai-vault-search/session-search-opencode-index.test.ts": 1158, - "src/main/ai-vault-search/session-search-orphan-rows.test.ts": 324, - "src/main/ai-vault-search/session-search-paging.test.ts": 863, - "src/main/ai-vault-search/session-search-query-planner.test.ts": 65, - "src/main/ai-vault-search/session-search-read-decision.test.ts": 46, - "src/main/ai-vault-search/session-search-restart-reindex.test.ts": 915, - "src/main/ai-vault-search/session-search-retention-delete.test.ts": 224, - "src/main/ai-vault-search/session-search-root-refresh.test.ts": 573, - "src/main/ai-vault-search/session-search-row-filter.test.ts": 274, - "src/main/ai-vault-search/session-search-row-identity.test.ts": 134, - "src/main/ai-vault-search/session-search-scan-roots.test.ts": 235, - "src/main/ai-vault-search/session-search-schema.test.ts": 876, - "src/main/ai-vault-search/session-search-scope-resolution.test.ts": 117, + "src/main/ai-vault-search/query/session-search-paging.test.ts": 863, + "src/main/ai-vault-search/storage/session-search-retention-delete.test.ts": 224, + "src/main/ai-vault-search/query/session-search-row-filter.test.ts": 274, + "src/main/ai-vault-search/storage/session-search-row-identity.test.ts": 134, + "src/main/ai-vault-search/scope/session-search-scope-resolution.test.ts": 117, "src/main/ai-vault-search/session-search-service-registry.test.ts": 193, - "src/main/ai-vault-search/session-search-service.test.ts": 379, - "src/main/ai-vault-search/session-search-snippet-marks.test.ts": 230, - "src/main/ai-vault-search/session-search-store-scope-catalog.test.ts": 268, + "src/main/ai-vault-search/query/session-search-snippet-marks.test.ts": 230, "src/main/ai-vault-search/session-search-synthetic-corpus.test.ts": 372, - "src/main/ai-vault-search/session-search-typo-policy.test.ts": 158, - "src/main/ai-vault-search/session-search-typo-scope.test.ts": 195, - "src/main/ai-vault-search/session-search-write-buffer.test.ts": 197, - "src/main/ai-vault-search/session-search-write-lifetime.test.ts": 318, + "src/main/ai-vault-search/query/session-search-typo-policy.test.ts": 158, + "src/main/ai-vault-search/query/session-search-typo-scope.test.ts": 195, + "src/main/ai-vault-search/storage/session-search-write-buffer.test.ts": 197, + "src/main/ai-vault-search/storage/session-search-write-lifetime.test.ts": 318, "src/main/ai-vault/ai-vault-scan-cancellation.test.ts": 45, "src/main/ai-vault/ai-vault-scan-coordinator.test.ts": 55, "src/main/ai-vault/ai-vault-scan-progress-flow.test.ts": 835, @@ -673,7 +645,6 @@ "src/main/ai-vault/scanners/antigravity/antigravity-opening-prompt-workspace.test.ts": 204, "src/main/ai-vault/cached-session-list-wsl-probe.test.ts": 238, "src/main/ai-vault/transcripts/local-log-tail-reader.test.ts": 59, - "src/main/ai-vault/scanners/omp/omp-session-root.test.ts": 271, "src/main/ai-vault/scanners/openclaw/openclaw-session-layout.test.ts": 223, "src/main/ai-vault/scanners/opencode/reader-transport/opencode-wsl-runtime-preparation.test.ts": 1230, "src/main/ai-vault/transcripts/remote-session-content-lines.test.ts": 66, @@ -690,12 +661,10 @@ "src/main/ai-vault/session-list-results.test.ts": 163, "src/main/ai-vault/session-newest-files.test.ts": 115, "src/main/ai-vault/parse-cache/session-parse-cache-antigravity-upgrade.test.ts": 348, - "src/main/ai-vault/parse-cache/session-parse-cache-large-scan.test.ts": 4606, "src/main/ai-vault/parse-cache/session-parse-cache-persistence.test.ts": 2723, "src/main/ai-vault/parse-cache/session-parse-cache-preview-upgrade.test.ts": 341, "src/main/ai-vault/session-scan-cutoff.test.ts": 172, "src/main/ai-vault/session-scanner-agent-root-overrides.test.ts": 887, - "src/main/ai-vault/scanners/antigravity/session-scanner-antigravity-parser.test.ts": 181, "src/main/ai-vault/scanners/antigravity/session-scanner-antigravity-source.test.ts": 502, "src/main/ai-vault/scanners/claude/session-scanner-claude-cwd-drift.test.ts": 525, "src/main/ai-vault/scanners/claude/session-scanner-claude-subagent-prune.test.ts": 498, @@ -705,12 +674,10 @@ "src/main/ai-vault/scanners/codebuddy/session-scanner-codebuddy-scope.test.ts": 488, "src/main/ai-vault/scanners/codebuddy/session-scanner-codebuddy-source.test.ts": 465, "src/main/ai-vault/scanners/codex/session-scanner-codex-dual-root.test.ts": 517, - "src/main/ai-vault/scanners/codex/session-scanner-codex-fast-path.test.ts": 392, "src/main/ai-vault/scanners/codex/session-scanner-codex-title-index.test.ts": 295, "src/main/ai-vault/scanners/codex/session-scanner-codex-tool-records.test.ts": 177, "src/main/ai-vault/scanners/codex/session-scanner-codex-workers.test.ts": 543, "src/main/ai-vault/session-scanner-conversation-name-requests.test.ts": 443, - "src/main/ai-vault/scanners/copilot/session-scanner-copilot-cache-upgrade.test.ts": 391, "src/main/ai-vault/scanners/copilot/session-scanner-copilot-parser.test.ts": 173, "src/main/ai-vault/session-scanner-core-parser-wsl-stall.test.ts": 344, "src/main/ai-vault/scanners/cursor/session-scanner-cursor-chat-meta.test.ts": 745, @@ -726,7 +693,6 @@ "src/main/ai-vault/scanners/grok/session-scanner-grok-parser.test.ts": 199, "src/main/ai-vault/scanners/grok/session-scanner-grok-user-text.test.ts": 44, "src/main/ai-vault/session-scanner-injected-title.test.ts": 500, - "src/main/ai-vault/scanners/jcode/session-scanner-jcode-parser.test.ts": 154, "src/main/ai-vault/session-scanner-json-document-memory.test.ts": 2371, "src/main/ai-vault/session-scanner-jsonl-reader.test.ts": 278, "src/main/ai-vault/scanners/kimi/session-scanner-kimi-index-cache.test.ts": 163, @@ -771,7 +737,6 @@ "src/main/ai-vault/scan-service/session-scanner-service-restart-policy.test.ts": 44, "src/main/ai-vault/scan-service/session-scanner-service-root-request.test.ts": 44, "src/main/ai-vault/scan-service/session-scanner-service-root-response.test.ts": 251, - "src/main/ai-vault/scan-service/session-scanner-service-search-roots.test.ts": 825, "src/main/ai-vault/scan-service/session-scanner-service-search.test.ts": 1741, "src/main/ai-vault/scan-service/session-scanner-service-spawn.test.ts": 312, "src/main/ai-vault/session-scanner-timeline.test.ts": 160, @@ -781,7 +746,6 @@ "src/main/ai-vault/session-scanner.test.ts": 731, "src/main/ai-vault/session-scope-real-paths.test.ts": 62, "src/main/ai-vault/session-titles/session-title-file-reader-wsl-stall.test.ts": 284, - "src/main/ai-vault/session-titles/session-title-file-reader.test.ts": 173, "src/main/ai-vault/transcripts/session-transcript-consumers.test.ts": 562, "src/main/ai-vault/transcripts/session-transcript-every-agent-capture.test.ts": 856, "src/main/ai-vault/transcripts/session-transcript-message-content.test.ts": 76, @@ -833,23 +797,17 @@ "src/main/automations/automation-zero-grace-tick-latency.test.ts": 2108, "src/main/automations/dispatch-refusal-wsl-move.test.ts": 577, "src/main/automations/external-automation-manager-cache.test.ts": 70, - "src/main/automations/external-automation-owner-guard.test.ts": 332, "src/main/automations/external-automation-probe-scheduler.test.ts": 97, "src/main/automations/external-manager-scoped.test.ts": 391, - "src/main/automations/external-manager.test.ts": 388, "src/main/automations/run-terminal-retention.test.ts": 112, "src/main/automations/automation-workspace-create.test.ts": 50, "src/main/automations/hook-review-blocked-run-terminals.test.ts": 4564, "src/main/automations/precheck-runner.test.ts": 1132, "src/main/automations/retained-run-reconciliation.test.ts": 1940, - "src/main/automations/run-completion-watcher.test.ts": 5875, "src/main/automations/run-target-resolution.test.ts": 367, - "src/main/automations/runtime-chat-run-observer.test.ts": 6812, "src/main/automations/runtime-terminal-run-observer-evidence.test.ts": 230, - "src/main/automations/runtime-terminal-run-observer.test.ts": 4026, "src/main/automations/service-precheck.test.ts": 2057, "src/main/automations/service.test.ts": 2970, - "src/main/bitbucket/credential-connection.test.ts": 156, "src/main/bitbucket/credential-store.test.ts": 245, "src/main/bitbucket/repository-ref.test.ts": 426, "src/main/bitbucket/status-no-decrypt.test.ts": 256, @@ -862,9 +820,7 @@ "src/main/browser/agent-browser/helper-process/agent-browser-bridge-raw-process-retention.test.ts": 1027, "src/main/browser/agent-browser/helper-process/agent-browser-bridge-raw-process.test.ts": 1179, "src/main/browser/agent-browser/session-routing/agent-browser-bridge-tab-routing.test.ts": 441, - "src/main/browser/agent-browser/session-lifecycle/agent-browser-orphan-sweep.test.ts": 59, "src/main/browser/cdp/input/agent-input-focus-guard.test.ts": 54, - "src/main/browser/cdp/input/agent-input-injection.test.ts": 299, "src/main/browser/guest-lifecycle/page-activity/browser-agent-activity.test.ts": 128, "src/main/browser/certificate-trust/browser-certificate-trust-controller.test.ts": 496, "src/main/browser/client-hosts/file-transfers/browser-client-download-relay.test.ts": 124, @@ -875,7 +831,6 @@ "src/main/browser/client-hosts/commands/browser-client-host-command-retention.test.ts": 799, "src/main/browser/client-hosts/lifecycle/browser-client-host-id.test.ts": 82, "src/main/browser/network/client-routes/browser-client-network-route-registry.test.ts": 286, - "src/main/browser/client-pages/execution/browser-client-page-automation-runtime.test.ts": 53, "src/main/browser/client-pages/execution/browser-client-page-command-executor-fencing.test.ts": 319, "src/main/browser/client-pages/execution/browser-client-page-command-executor.test.ts": 320, "src/main/browser/client-pages/execution/browser-client-page-command-integration.test.ts": 315, @@ -928,7 +883,6 @@ "src/main/browser/guest-lifecycle/popups/browser-page-initiated-tab-budget.test.ts": 43, "src/main/browser/routing/input-ownership/browser-page-input-credit.test.ts": 50, "src/main/browser/guest-lifecycle/prompts/browser-page-prompts.test.ts": 74, - "src/main/browser/guest-lifecycle/popups/presentation/browser-popup-native-window.test.ts": 109, "src/main/browser/identity/browser-process-user-agent.test.ts": 45, "src/main/browser/routing/guest-authority/browser-route-guest-popups.test.ts": 306, "src/main/browser/routing/partitions/browser-route-identity.test.ts": 47, @@ -945,12 +899,10 @@ "src/main/browser/routing/guest-authority/browser-route-webcontents-registry.test.ts": 311, "src/main/browser/cdp/screencast/browser-screencast-first-frame-timeout.test.ts": 160, "src/main/browser/cdp/screencast/browser-screencast-guest-view-limit.test.ts": 684, - "src/main/browser/cdp/screencast/browser-screencast-lifecycle.test.ts": 162, "src/main/browser/cdp/screencast/browser-screencast-live-frame-allocation.test.ts": 111, "src/main/browser/cdp/screencast/browser-screencast-stream.test.ts": 223, "src/main/browser/cookies/staging/browser-session-cookie-staging.scoped.test.ts": 3741, "src/main/browser/cookies/staging/browser-session-cookie-staging.test.ts": 308, - "src/main/browser/sessions/profiles/browser-session-meta-store.test.ts": 43, "src/main/browser/sessions/partition-policies/browser-session-partition-policies.test.ts": 979, "src/main/browser/sessions/partition-policies/browser-session-partition-proxy-install.test.ts": 477, "src/main/browser/sessions/proxy/browser-session-proxy.test.ts": 857, @@ -987,8 +939,6 @@ "src/main/browser/cookies/browser-cookie-import-partition.electron.test.ts": 2260, "src/main/browser/cookies/browser-cookie-import-snapshot-ownership.test.ts": 1178, "src/main/browser/cookies/browser-cookie-import-validated-partition.electron.test.ts": 2445, - "src/main/browser/cookies/browser-cookie-import-write.test.ts": 68, - "src/main/browser/cookies/browser-cookie-import.comet.test.ts": 1501, "src/main/browser/cookies/browser-cookie-import.test.ts": 1304, "src/main/browser/cookies/browser-cookie-samesite.electron.test.ts": 1882, "src/main/browser/cookies/sources/browser-cookie-decryption.test.ts": 74, @@ -1062,14 +1012,12 @@ "src/main/browser/extensions/declarative-net-request/engine.test.ts": 145, "src/main/browser/extensions/declarative-net-request/redirect-actions/redirect-url.test.ts": 66, "src/main/browser/extensions/declarative-net-request/regex/regex-filter.test.ts": 116, - "src/main/browser/extensions/declarative-net-request/matching/url-pattern.test.ts": 84, "src/main/browser/element-grab/grab-guest-overlay-follow.test.ts": 332, "src/main/browser/element-grab/grab-guest-script.test.ts": 107, "src/main/browser/cdp/debugger/guest-cdp-command.test.ts": 105, "src/main/browser/cdp/input/guest-focused-frame-route.test.ts": 78, "src/main/browser/routing/local-host-partitions/local-ssh-browser-partition-identity.test.ts": 479, "src/main/browser/routing/local-host-partitions/local-ssh-browser-profile-retirement.test.ts": 287, - "src/main/browser/routing/local-host-partitions/local-ssh-browser-route-target.test.ts": 65, "src/main/browser/routing/local-host-partitions/local-ssh-browser-route.test.ts": 92, "src/main/browser/backends/offscreen-browser-backend-lifecycle.test.ts": 341, "src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-composition.test.ts": 165, @@ -1077,7 +1025,6 @@ "src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-registry.test.ts": 53, "src/main/browser/client-hosts/lifecycle/paired-runtime-browser-client-host-route-identity.test.ts": 1404, "src/main/browser/client-hosts/lifecycle/paired-runtime-browser-host-command-admission.test.ts": 213, - "src/main/browser/client-hosts/leases/paired-runtime-browser-host-lease.test.ts": 973, "src/main/browser/network/execution-routes/paired-runtime-browser-network-route.test.ts": 1150, "src/main/browser/electron-fixtures/popup-identity-electron-probe.test.ts": 144, "src/main/browser/network/tunnels/remote-browser-socks-buffering.test.ts": 384, @@ -1091,7 +1038,6 @@ "src/main/claude-accounts/claude-account-folder.test.ts": 153, "src/main/claude-accounts/claude-account-service.test.ts": 1207, "src/main/claude-accounts/claude-command-process-windows-only.test.ts": 90, - "src/main/claude-accounts/claude-command-process.test.ts": 118, "src/main/claude-accounts/claude-launch-routing.test.ts": 516, "src/main/claude-accounts/claude-login-session.test.ts": 1048, "src/main/claude-accounts/claude-pasted-code-login.test.ts": 238, @@ -1113,7 +1059,6 @@ "src/main/claude-usage/claude-model-pricing.test.ts": 74, "src/main/claude-usage/claude-usage-report-aggregation.test.ts": 57, "src/main/claude-usage/persisted-source-authority.test.ts": 491, - "src/main/claude-usage/persisted-token-columns-store.test.ts": 376, "src/main/claude-usage/scanner-incremental-append.test.ts": 235, "src/main/claude-usage/scanner-incremental-ownership.test.ts": 545, "src/main/claude-usage/scanner-incremental-reader.test.ts": 819, @@ -1121,9 +1066,6 @@ "src/main/claude-usage/scanner-scan.test.ts": 295, "src/main/claude-usage/scanner.test.ts": 80, "src/main/claude-usage/source-cache-compression.test.ts": 74, - "src/main/claude-usage/store-checkpoint-persistence.test.ts": 545, - "src/main/claude-usage/store-source-authority.test.ts": 530, - "src/main/claude-usage/store.test.ts": 377, "src/main/claude-usage/transcript-file-discovery-errors.test.ts": 62, "src/main/claude-usage/transcript-reader-lifetime.test.ts": 100, "src/main/claude-usage/transcript-tuple-append.test.ts": 435, @@ -1132,12 +1074,10 @@ "src/main/claude/agent-view/agent-view-mod-source.test.ts": 738, "src/main/claude/agent-view/agent-view-service.test.ts": 403, "src/main/claude/claude-agent-sdk-contract-pins.test.ts": 3506, - "src/main/claude/claude-agent-sdk-control-requests.test.ts": 45, "src/main/claude/claude-agent-sdk-exit-proof-identity.test.ts": 134, "src/main/claude/claude-agent-sdk-exit-proof.test.ts": 8832, "src/main/claude/claude-agent-sdk-import-boundary.test.ts": 546, "src/main/claude/claude-agent-sdk-process-spawn.test.ts": 182, - "src/main/claude/claude-agent-sdk-root-kill-fallback.test.ts": 154, "src/main/claude/claude-agent-sdk-user-message-queue.test.ts": 143, "src/main/claude/claude-api-retry-row.test.ts": 901, "src/main/claude/claude-background-run-isolation-real-cli.test.ts": 147, @@ -1160,7 +1100,6 @@ "src/main/claude/claude-diff-panel-auto-open.test.ts": 117, "src/main/claude/claude-fold-steer-receipt.test.ts": 1019, "src/main/claude/claude-folder-trust-file.test.ts": 762, - "src/main/claude/claude-hook-decision-script.test.ts": 336, "src/main/claude/claude-hook-event-versions.test.ts": 137, "src/main/claude/claude-informational-row.test.ts": 811, "src/main/claude/claude-journal-turn-scope.test.ts": 254, @@ -1178,7 +1117,6 @@ "src/main/claude/claude-stop-ack-race.test.ts": 1301, "src/main/claude/claude-stream-json-connection-close.test.ts": 621, "src/main/claude/claude-stream-json-connection.test.ts": 8687, - "src/main/claude/claude-stream-json-exit-error.test.ts": 170, "src/main/claude/claude-streamed-text-checkpoints.test.ts": 59, "src/main/claude/claude-structured-launch-home-perf.test.ts": 401, "src/main/claude/claude-structured-result-control-overlap.test.ts": 1136, @@ -1237,40 +1175,27 @@ "src/main/claude/structured/launch/claude-structured-real-cli-options.test.ts": 902, "src/main/claude/windows-hook-files.test.ts": 356, "src/main/claude/windows-native-hook-registration.test.ts": 246, - "src/main/cli/appimage-copy-pre-extraction.test.ts": 328, - "src/main/cli/appimage-extracted-root.test.ts": 140, - "src/main/cli/appimage-extraction-pruning-namespace.test.ts": 106, - "src/main/cli/appimage-extraction-pruning.test.ts": 117, - "src/main/cli/appimage-generation-lease.test.ts": 75, - "src/main/cli/appimage-generation-residency.test.ts": 41, - "src/main/cli/appimage-payload-removal.reentrancy.test.ts": 46, - "src/main/cli/appimage-serve-preparation.test.ts": 123, - "src/main/cli/appimage-stable-launcher.test.ts": 135, - "src/main/cli/cli-command-installation-races.test.ts": 215, - "src/main/cli/cli-command-privileged-transaction.test.ts": 125, - "src/main/cli/cli-installer-appimage-ownership.test.ts": 212, - "src/main/cli/cli-installer-appimage-removal.test.ts": 320, - "src/main/cli/cli-installer-command-conflicts.test.ts": 200, - "src/main/cli/cli-installer-macos-command-path.test.ts": 221, - "src/main/cli/cli-installer-unreadable-command.test.ts": 183, - "src/main/cli/cli-installer-windows-path.test.ts": 195, + "src/main/cli/appimage/appimage-copy-pre-extraction.test.ts": 328, + "src/main/cli/appimage/appimage-extraction-pruning-namespace.test.ts": 106, + "src/main/cli/appimage/appimage-extraction-pruning.test.ts": 117, + "src/main/cli/appimage/appimage-stable-launcher.test.ts": 135, + "src/main/cli/installation/cli-command-installation-races.test.ts": 215, + "src/main/cli/installation/cli-command-privileged-transaction.test.ts": 125, + "src/main/cli/installation/cli-installer-macos-command-path.test.ts": 221, + "src/main/cli/installation/cli-installer-unreadable-command.test.ts": 183, + "src/main/cli/installation/cli-installer-windows-path.test.ts": 195, "src/main/cli/cli-installer.test.ts": 294, - "src/main/cli/keyed-promise-queue.test.ts": 41, - "src/main/cli/legacy-appimage-cli-wrapper.test.ts": 38, - "src/main/cli/linux-bare-orca-dispatcher-script.test.ts": 272, - "src/main/cli/linux-bare-orca-dispatcher.test.ts": 132, - "src/main/cli/linux-terminal-orca-cli-shim.test.ts": 149, - "src/main/cli/native-cli-powershell-argv-boundary.test.ts": 59, - "src/main/cli/orca-cli-child-path.test.ts": 93, - "src/main/cli/packaged-cli-assets.test.ts": 6862, - "src/main/cli/windows-user-path-registry.test.ts": 49, - "src/main/cli/workspace-choice-argv-boundary.test.ts": 293, - "src/main/cli/wsl-cli-installer.test.ts": 309, - "src/main/cli/wsl-cli-powershell-boundary.test.ts": 104, - "src/main/cli/wsl-cli-registration-reconciliation.test.ts": 386, - "src/main/cli/wsl-cli-registration-registry.test.ts": 150, - "src/main/cli/wsl-managed-cli.test.ts": 66, - "src/main/cli/wsl-managed-cli.wsl.test.ts": 115, + "src/shared/concurrency/keyed-serialized-operations.test.ts": 41, + "src/main/cli/launchers/linux-bare-orca-dispatcher-script.test.ts": 272, + "src/main/cli/launchers/linux-bare-orca-dispatcher.test.ts": 132, + "src/main/cli/launchers/linux-terminal-orca-cli-shim.test.ts": 149, + "src/main/cli/launchers/native-cli-powershell-argv-boundary.test.ts": 59, + "src/main/cli/packaged-assets/packaged-cli-assets.test.ts": 6862, + "src/main/cli/launchers/workspace-choice-argv-boundary.test.ts": 293, + "src/main/cli/wsl/wsl-cli-powershell-boundary.test.ts": 104, + "src/main/cli/wsl/wsl-cli-registration-reconciliation.test.ts": 386, + "src/main/cli/wsl/wsl-cli-registration-registry.test.ts": 150, + "src/main/cli/wsl/wsl-managed-cli.wsl.test.ts": 115, "src/main/codebuddy/hook-service.test.ts": 272, "src/main/codex-accounts/async-file-rename.test.ts": 1065, "src/main/codex-accounts/codex-account-identity-api-key-guard.test.ts": 55, @@ -1335,8 +1260,6 @@ "src/main/codex-usage/scanner-paths.test.ts": 493, "src/main/codex-usage/scanner.test.ts": 247, "src/main/codex-usage/session-file-discovery-errors.test.ts": 70, - "src/main/codex-usage/store-automation-usage.test.ts": 305, - "src/main/codex-usage/store-persistence.test.ts": 364, "src/main/codex/app-server/codex-app-server-client.test.ts": 13839, "src/main/codex/app-server/codex-app-server-connection-exit-order.test.ts": 264, "src/main/codex/app-server/codex-app-server-connection-tree-unproven.test.ts": 634, @@ -1354,7 +1277,6 @@ "src/main/codex/structured/turns/codex-close-turn-end.test.ts": 412, "src/main/codex/structured/background-work/codex-collab-call-rows-on-positional-clients.test.ts": 660, "src/main/codex/structured/turns/codex-command-turn-claim.test.ts": 311, - "src/main/codex/configuration/settings/codex-config-file-modes.test.ts": 154, "src/main/codex/configuration/settings/codex-config-mirror-hook-trust-carry.test.ts": 203, "src/main/codex/configuration/settings/codex-config-mirror-mcp-ownership.test.ts": 161, "src/main/codex/configuration/settings/codex-config-mirror.test.ts": 246, @@ -1390,7 +1312,6 @@ "src/main/codex/hooks/reconciliation/codex-real-home-hook-removal.test.ts": 388, "src/main/codex/configuration/homes/codex-real-home-path.test.ts": 76, "src/main/codex/hooks/reconciliation/codex-real-home-shared-entry.test.ts": 641, - "src/main/codex/history/rollouts/codex-rollout-session-meta.test.ts": 134, "src/main/codex/history/backfill/codex-session-backfill.test.ts": 310, "src/main/codex/history/bridges/codex-session-bridge.test.ts": 118, "src/main/codex/history/index/codex-session-index-heal-state.test.ts": 363, @@ -1458,10 +1379,8 @@ "src/main/codex/structured/background-work/codex-subagent-interrupts.test.ts": 587, "src/main/codex/structured/threads/codex-thread-catch-up-rewind.test.ts": 1479, "src/main/codex/trust/toml/codex-trust-config-mutation-queue.test.ts": 51, - "src/main/codex/structured/journal/codex-turn-lifecycle-completion.test.ts": 374, "src/main/codex/structured/journal/codex-turn-lifecycle-history.test.ts": 374, "src/main/codex/structured/journal/codex-turn-ordinals.test.ts": 86, - "src/main/codex/structured/catalog/codex-usage-limits.test.ts": 312, "src/main/codex/trust/hooks/codex-user-hook-trust-moves.test.ts": 125, "src/main/codex/configuration/settings/config-features-settings-promotion.test.ts": 179, "src/main/codex/configuration/settings/config-plugin-registration-promotion.test.ts": 306, @@ -1478,7 +1397,6 @@ "src/main/codex/trust/toml/config-toml-trust-key.test.ts": 100, "src/main/codex/trust/toml/config-toml-trust-loadability.test.ts": 159, "src/main/codex/trust/toml/config-toml-trust-stale-writes.test.ts": 85, - "src/main/codex/hooks/installation/hook-service-concurrent-launch-install.test.ts": 1124, "src/main/codex/hooks/installation/hook-service-legacy-cleanup.test.ts": 904, "src/main/codex/hooks/installation/hook-service-managed-codex-hashes.test.ts": 1048, "src/main/codex/hooks/installation/hook-service-managed-install.test.ts": 492, @@ -1496,28 +1414,14 @@ "src/main/codex/history/bridges/wsl-codex-session-bridge-script.test.ts": 190, "src/main/codex/history/bridges/wsl-codex-session-bridge.test.ts": 346, "src/main/command-code/hook-service.test.ts": 271, - "src/main/computer/desktop-script-provider-action-errors.test.ts": 171, - "src/main/computer/desktop-script-provider-actions.test.ts": 244, - "src/main/computer/desktop-script-provider-cache-lifecycle.test.ts": 147, - "src/main/computer/desktop-script-provider-errors.test.ts": 299, - "src/main/computer/desktop-script-provider-runtime-host-routing.test.ts": 187, - "src/main/computer/desktop-script-runtime-host.test.ts": 257, - "src/main/computer/desktop-script-runtime-host.win32.test.ts": 112, - "src/main/computer/desktop-script-serve-channel.test.ts": 152, - "src/main/computer/macos-computer-use-permission-status-cleanup.integration.test.ts": 65, - "src/main/computer/macos-computer-use-permission-status-gate.test.ts": 75, - "src/main/computer/macos-computer-use-permission-status.test.ts": 120, - "src/main/computer/macos-computer-use-permissions-shutdown.test.ts": 83, - "src/main/computer/macos-computer-use-permissions.test.ts": 186, - "src/main/computer/macos-native-provider-client.test.ts": 1210, - "src/main/computer/macos-native-provider-paste-validation.test.ts": 167, - "src/main/computer/macos-native-provider-process-reaping.test.ts": 99, - "src/main/computer/macos-native-provider-reaping.integration.test.ts": 4177, - "src/main/computer/macos-native-provider-socket.test.ts": 54, - "src/main/computer/macos-native-provider-startup-cleanup.test.ts": 70, - "src/main/computer/sidecar-client.test.ts": 121, - "src/main/computer/sidecar-provider-reaping.integration.test.ts": 373, - "src/main/computer/windows-powershell-execution-policy.test.ts": 46, + "src/main/computer/desktop-script/actions/desktop-script-provider-actions.test.ts": 244, + "src/main/computer/desktop-script/runtime-host/desktop-script-runtime-host.test.ts": 257, + "src/main/computer/desktop-script/runtime-host/desktop-script-serve-channel.test.ts": 152, + "src/main/computer/macos-permissions/macos-computer-use-permission-status-cleanup.integration.test.ts": 65, + "src/main/computer/macos-permissions/macos-computer-use-permissions-shutdown.test.ts": 83, + "src/main/computer/macos-native/macos-native-provider-client.test.ts": 1210, + "src/main/computer/sidecar-transport/sidecar-client.test.ts": 121, + "src/main/computer/desktop-script/runtime-host/windows-powershell-execution-policy.test.ts": 46, "src/main/connector-cloud/connector-cloud.test.ts": 459, "src/main/connector-cloud/connector-hello.test.ts": 126, "src/main/connector-cloud/connector-outbox.test.ts": 67, @@ -1527,27 +1431,17 @@ "src/main/connector-cloud/connector-token-mint.test.ts": 117, "src/main/connector-cloud/connector-turn-events.test.ts": 411, "src/main/copilot/hook-service.test.ts": 180, - "src/main/crash-reporting/crash-breadcrumb-renderer-attribution.test.ts": 60, - "src/main/crash-reporting/crash-breadcrumb-store-leak.test.ts": 89, - "src/main/crash-reporting/crash-breadcrumb-store-orphan-cleanup.test.ts": 81, - "src/main/crash-reporting/crash-report-copy-text.test.ts": 66, - "src/main/crash-reporting/crash-report-store.test.ts": 438, - "src/main/crash-reporting/crashpad-capture-read-limit.test.ts": 298, - "src/main/crash-reporting/crashpad-capture.test.ts": 107, - "src/main/crash-reporting/durable-crash-breadcrumb.test.ts": 60, - "src/main/crash-reporting/gpu-crash-diagnostics.test.ts": 55, - "src/main/crash-reporting/gpu-crash-fallback-decision.test.ts": 45, - "src/main/crash-reporting/gpu-fallback-engagement.test.ts": 47, - "src/main/crash-reporting/minidump-crash-signature.test.ts": 87, - "src/main/crash-reporting/minidump-fault-context.test.ts": 57, - "src/main/crash-reporting/minidump-file-source.test.ts": 199, - "src/main/crash-reporting/pre-gone-host-memory.test.ts": 110, - "src/main/crash-reporting/process-gone-dedupe.test.ts": 46, - "src/main/crash-reporting/process-gone-killed-one-ordering.test.ts": 161, - "src/main/crash-reporting/process-gone-recorder.test.ts": 787, - "src/main/crash-reporting/process-gone-sibling-correlation.test.ts": 743, - "src/main/crash-reporting/renderer-heap-allocation-sites.test.ts": 62, - "src/main/crash-reporting/renderer-recovery-circuit-breaker.test.ts": 45, + "src/main/crash-reporting/breadcrumbs/crash-breadcrumb-renderer-attribution.test.ts": 60, + "src/main/crash-reporting/breadcrumbs/crash-breadcrumb-store-orphan-cleanup.test.ts": 81, + "src/main/crash-reporting/reports/crash-report-store.test.ts": 438, + "src/main/crash-reporting/capture/gpu-crash-diagnostics.test.ts": 55, + "src/main/crash-reporting/recovery/gpu-crash-fallback-decision.test.ts": 45, + "src/main/crash-reporting/minidumps/minidump-crash-signature.test.ts": 87, + "src/main/crash-reporting/minidumps/minidump-fault-context.test.ts": 57, + "src/main/crash-reporting/minidumps/minidump-file-source.test.ts": 199, + "src/main/crash-reporting/process-exits/process-gone-dedupe.test.ts": 46, + "src/main/crash-reporting/process-exits/process-gone-recorder.test.ts": 787, + "src/main/crash-reporting/memory/renderer-heap-allocation-sites.test.ts": 62, "src/main/credentials/saved-credential-readability.test.ts": 56, "src/main/cursor/hook-command.live-shell.test.ts": 488, "src/main/cursor/hook-service.test.ts": 360, @@ -1837,7 +1731,6 @@ "src/main/git/command-runner/wsl-command-resolution-object-store.test.ts": 127, "src/main/git/command-runner/wsl-host-failure.test.ts": 241, "src/main/git/command-runner/wsl-service-failure-direct-git.test.ts": 259, - "src/main/git/worktrees/creation/create-event-repo-probe.test.ts": 108, "src/main/git/current-branch-identity-real-git.test.ts": 431, "src/main/git/default-wsl-cli-fallback-gate.test.ts": 465, "src/main/git/exact-ref-probe.test.ts": 62, @@ -1852,7 +1745,6 @@ "src/main/git/remotes/hosted-remote-url.test.ts": 43, "src/main/git/huge-folder-ignore.test.ts": 58, "src/main/git/local-git-object-quarantine.test.ts": 108, - "src/main/git/refs/maintenance/local-repo-ref-maintenance-probe-retry.test.ts": 277, "src/main/git/refs/maintenance/local-repo-ref-maintenance-wsl-stopped.test.ts": 271, "src/main/git/refs/maintenance/local-repo-ref-maintenance.test.ts": 339, "src/main/git/merge-tree-object-quarantine-real-git.test.ts": 2561, @@ -1922,7 +1814,6 @@ "src/main/git/source-control/status-read-failure-real-git.test.ts": 307, "src/main/git/source-control/status-shared-symlinks.test.ts": 746, "src/main/git/source-control/status-submodule.test.ts": 306, - "src/main/git/source-control/status-symlink-probe-budget.test.ts": 238, "src/main/git/source-control/status-upstream-ref.test.ts": 52, "src/main/git/source-control/upstream-deferred-fork-remote-real.test.ts": 319, "src/main/git/source-control/upstream.test.ts": 406, @@ -1933,7 +1824,6 @@ "src/main/git/worktrees/creation/worktree-base-refresh-contention.test.ts": 269, "src/main/git/worktrees/creation/worktree-base-refresh-lock-real-git.test.ts": 1588, "src/main/git/worktrees/creation/worktree-checkout-progress-real-git.test.ts": 769, - "src/main/git/worktrees/creation/worktree-configured-paths-concurrency.test.ts": 80, "src/main/git/worktrees/creation/worktree-create-preparation-real-git.test.ts": 1858, "src/main/git/worktrees/creation/worktree-create-preparation-real-wsl.test.ts": 382, "src/main/git/worktrees/catalog/worktree-created-description-real-git.test.ts": 1119, @@ -1942,7 +1832,6 @@ "src/main/git/worktrees/catalog/worktree-git-capabilities.test.ts": 297, "src/main/git/worktrees/catalog/worktree-git-path.test.ts": 77, "src/main/git/worktrees/catalog/worktree-graph-listing.test.ts": 302, - "src/main/git/worktrees/content-paths/worktree-include-file.test.ts": 126, "src/main/git/worktrees/catalog/worktree-list-paths.test.ts": 755, "src/main/git/worktrees/catalog/worktree-list-porcelain.test.ts": 285, "src/main/git/worktrees/catalog/worktree-list-reader-cancellation.test.ts": 84, @@ -1950,7 +1839,6 @@ "src/main/git/worktrees/catalog/worktree-listing-sparse-cancellation.test.ts": 229, "src/main/git/worktrees/catalog/worktree-listing-unc-drvfs-identity.test.ts": 242, "src/main/git/worktrees/movement/worktree-move.test.ts": 318, - "src/main/git/worktrees/movement/worktree-mutation-route-invalidation.test.ts": 287, "src/main/git/worktrees/catalog/worktree-path-deduplication.test.ts": 220, "src/main/git/worktrees/creation/worktree-preparation-add.test.ts": 233, "src/main/git/worktrees/creation/worktree-preparation-base-oid.test.ts": 322, @@ -2020,7 +1908,6 @@ "src/main/github/pr-refresh-coordinator-active-visible-priority.test.ts": 643, "src/main/github/pr-refresh-coordinator-alias-coalescing.test.ts": 1020, "src/main/github/pr-refresh-coordinator-completion-order.test.ts": 914, - "src/main/github/pr-refresh-coordinator-error-cadence.test.ts": 951, "src/main/github/pr-refresh-coordinator-foreground-pacing.test.ts": 650, "src/main/github/pr-refresh-coordinator-refresh-events.test.ts": 617, "src/main/github/pr-refresh-coordinator-visibility-policy.test.ts": 1371, @@ -2051,23 +1938,10 @@ "src/main/github/work-item-search-freshness.test.ts": 1425, "src/main/github/work-item-search-isolation.test.ts": 701, "src/main/github/work-item-search-pagination.test.ts": 618, - "src/main/gitlab/client-mr-auth-rate-limit.test.ts": 475, - "src/main/gitlab/client-mr-branch-lookup.test.ts": 563, - "src/main/gitlab/client-mr-listing.test.ts": 558, - "src/main/gitlab/client-mr-review-actions.test.ts": 482, - "src/main/gitlab/client-work-items.test.ts": 492, - "src/main/gitlab/gitlab-known-host-backoff.test.ts": 477, - "src/main/gitlab/gitlab-known-host-probe.test.ts": 389, - "src/main/gitlab/gitlab-known-host-retirement.test.ts": 509, - "src/main/gitlab/gitlab-partial-auth-recovery.test.ts": 591, - "src/main/gitlab/gl-utils.test.ts": 493, - "src/main/gitlab/issues.test.ts": 591, - "src/main/gitlab/merge-request-creation.test.ts": 464, - "src/main/gitlab/merge-request-ready.test.ts": 98, - "src/main/gitlab/mr-head-tracking-ref.test.ts": 64, - "src/main/gitlab/project-ref-parser.test.ts": 53, - "src/main/gitlab/task-project-eligibility.test.ts": 362, - "src/main/gitlab/work-item-details.test.ts": 115, + "src/main/gitlab/projects/gitlab-known-host-probe.test.ts": 389, + "src/main/gitlab/requests/glab-request-admission.test.ts": 493, + "src/main/gitlab/projects/task-project-eligibility.test.ts": 362, + "src/main/gitlab/work-items/work-item-details.test.ts": 115, "src/main/grok/grok-hook-backup-cleanup.test.ts": 151, "src/main/grok/grok-hook-config-file.test.ts": 84, "src/main/grok/grok-hook-owners.test.ts": 57, @@ -2163,7 +2037,6 @@ "src/main/ipc/filesystem/filesystem-search-file-paths.test.ts": 443, "src/main/ipc/filesystem/filesystem-symlink-directory-entries.test.ts": 56, "src/main/ipc/filesystem/filesystem-write-bytes.test.ts": 147, - "src/main/ipc/filesystem/filesystem-write-identical.test.ts": 138, "src/main/ipc/filesystem/filesystem-wsl-stopped-distro-git.test.ts": 1163, "src/main/ipc/filesystem/filesystem-wsl-stopped-distro-reads.test.ts": 1284, "src/main/ipc/filesystem/filesystem.test.ts": 2043, @@ -2234,8 +2107,6 @@ "src/main/ipc/preflight-wsl-agent-detection.test.ts": 94, "src/main/ipc/preflight-wsl-command.test.ts": 57, "src/main/ipc/preflight-wsl-stopped-distro.test.ts": 538, - "src/main/ipc/pty-claude-agent-view-readiness.test.ts": 4953, - "src/main/ipc/pty-degraded-fallback-single-ingest.test.ts": 4355, "src/main/ipc/pty-spawn-saved-resume-admission.test.ts": 11308, "src/main/ipc/pty/host-env/claude-agent-view.test.ts": 49, "src/main/ipc/pty/host-env/opencode-hook-installation.test.ts": 668, @@ -2244,7 +2115,6 @@ "src/main/ipc/pty/ipc/spawn-push-target-materialization-real-git.test.ts": 1316, "src/main/ipc/pty/ipc/write-input-user-input.test.ts": 84, "src/main/ipc/pty/managed-data-account-spawn-environment.test.ts": 1150, - "src/main/ipc/pty/pane/join-pane-spawn.test.ts": 1438, "src/main/ipc/pty/pane/pane-owner-replacement.test.ts": 1960, "src/main/ipc/pty/pane/serializer-document-lifetime.test.ts": 77, "src/main/ipc/pty/pane/spawn-registration.test.ts": 935, @@ -2263,7 +2133,6 @@ "src/main/ipc/pty/pty-spawn-cwd-fallback.test.ts": 4680, "src/main/ipc/pty/pty-ssh-stop-verdict.test.ts": 3615, "src/main/ipc/pty/pty-write-ipc-validation.test.ts": 5157, - "src/main/ipc/pty/runtime/kill-legacy-relay-bridged.test.ts": 3679, "src/main/ipc/pty/runtime/kill-same-id-respawn.test.ts": 3784, "src/main/ipc/pty/runtime/spawn-preflight-wsl-background-hold.test.ts": 1568, "src/main/ipc/filesystem/watcher-process/rebinding-file-watch-noise.test.ts": 317, @@ -2273,7 +2142,6 @@ "src/main/ipc/worktrees/removal/registered-worktree-root-stopped-distro.test.ts": 168, "src/main/ipc/worktrees/removal/registered-worktree-root-wsl-runtime.test.ts": 261, "src/main/ipc/worktrees/removal/registered-worktree-roots-scoped-invalidation.test.ts": 141, - "src/main/ipc/renderer-lifetime-abort.test.ts": 65, "src/main/ipc/renderer-shutdown-checkpoint-sleep-records.test.ts": 1914, "src/main/ipc/renderer-shutdown-checkpoint.test.ts": 496, "src/main/ipc/renderer-terminal-serializer-readiness.test.ts": 45, @@ -2314,14 +2182,12 @@ "src/main/ipc/ssh/ssh-app-shutdown.test.ts": 4455, "src/main/ipc/ssh/ssh-connect-decision-cancellation.test.ts": 6414, "src/main/ipc/ssh/ssh-credential-cancel.test.ts": 4604, - "src/main/ipc/ssh/ssh-disconnect-cancellation.test.ts": 6851, "src/main/ipc/ssh/ssh-host-user-disconnect.test.ts": 4734, "src/main/ipc/ssh/ssh-passphrase.test.ts": 135, "src/main/ipc/ssh/ssh.test.ts": 6905, "src/main/ipc/terminal-preview-output-stream.test.ts": 53, "src/main/ipc/terminal-render-desync-evidence.test.ts": 78, "src/main/ipc/terminal-startup-color-query-replies.test.ts": 265, - "src/main/ipc/usage-provider-handlers-readiness.test.ts": 506, "src/main/ipc/filesystem/watcher-process/watcher-event-root-path-rewrite.test.ts": 48, "src/main/workspaces/removal/watcher-removal-gate.test.ts": 384, "src/main/ipc/workspace-cleanup/workspace-cleanup-activity.test.ts": 76, @@ -2384,7 +2250,6 @@ "src/main/jira/client.test.ts": 487, "src/main/jira/jira-agile-field-search.test.ts": 98, "src/main/jira/jira-agile-fields.test.ts": 75, - "src/main/jira/jira-issue-mutations.test.ts": 110, "src/main/jsonl-rpc/peer.test.ts": 250, "src/main/jsonl-rpc/timeline-final-tail.test.ts": 1036, "src/main/jsonl-rpc/timeline-lane.test.ts": 716, @@ -2396,13 +2261,9 @@ "src/main/kiro/hook-service.test.ts": 192, "src/main/kiro/standalone-hooks.test.ts": 121, "src/main/pty/shell-startup/line-editor-ready-output-scanner.test.ts": 41, - "src/main/linear/client.test.ts": 300, - "src/main/linear/issue-context/errors.test.ts": 53, - "src/main/linear/issue-context/includes.test.ts": 81, - "src/main/linear/issue-context/read-context.test.ts": 78, - "src/main/linear/linear-description-images.test.ts": 220, - "src/main/linear/linear-issue-detail-deadline.test.ts": 338, - "src/main/linear/linear-project-cancellation.test.ts": 80, + "src/main/linear/accounts/linear-account-client.test.ts": 300, + "src/main/linear/issues/context/issue-context-sections.test.ts": 81, + "src/main/linear/issues/linear-description-images.test.ts": 220, "src/main/link-preview/link-preview-address-guard.test.ts": 77, "src/main/link-preview/link-preview-page-fetch.test.ts": 95, "src/main/power/linux-lid-sleep-assertion.test.ts": 98, @@ -2435,7 +2296,6 @@ "src/main/managed-server/host-state/orcad-state-mutation-fence-heartbeat.test.ts": 2120, "src/main/managed-server/host-state/orcad-state-snapshot-shell.test.ts": 1009, "src/main/managed-server/host-state/orcad-state-snapshot-space.test.ts": 366, - "src/main/managed-server/host-state/orcad-state-snapshot.test.ts": 262, "src/main/managed-server/host-state/orcad-windows-host-fence-ops.test.ts": 852, "src/main/managed-server/host-state/orcad-windows-host-lane.test.ts": 520, "src/main/managed-server/host-state/orcad-windows-host-state-ops.test.ts": 6060, @@ -2444,13 +2304,11 @@ "src/main/managed-server/install/orcad-remote-launch-setsid.test.ts": 342, "src/main/managed-server/install/orcad-remote-launch.test.ts": 319, "src/main/managed-server/install/orcad-remote-node-runtime.test.ts": 248, - "src/main/managed-server/install/orcad-remote-primitives.test.ts": 337, "src/main/managed-server/install/orcad-remote-readiness-wait.test.ts": 9063, "src/main/managed-server/install/orcad-remote-runtime.test.ts": 488, "src/main/managed-server/install/orcad-remote-shell-commands.integration.test.ts": 9000, "src/main/managed-server/install/orcad-remote-windows-commands.test.ts": 380, "src/main/managed-server/install/orcad-remote-windows-scripts.test.ts": 3474, - "src/main/managed-server/install/remote-install-gc-claim-termination.test.ts": 214, "src/main/managed-server/install/remote-install-lock-exited-owner.test.ts": 380, "src/main/managed-server/install/remote-install-lock-termination.test.ts": 215, "src/main/managed-server/install/remote-install-model.test.ts": 164, @@ -2480,7 +2338,6 @@ "src/main/muse/hook-service.test.ts": 145, "src/main/native-chat/agent-model-catalog/agent-model-catalog-discovery-freshness.test.ts": 390, "src/main/native-chat/agent-model-catalog/agent-model-catalog-entry.test.ts": 75, - "src/main/native-chat/agent-model-catalog/agent-model-catalog-persistence.test.ts": 115, "src/main/native-chat/agent-model-catalog/agent-model-catalog-probe-runner.test.ts": 4786, "src/main/native-chat/agent-model-catalog/agent-model-catalog-store.test.ts": 611, "src/main/native-chat/agent-model-catalog/agent-model-catalog-unavailable.test.ts": 465, @@ -2553,7 +2410,6 @@ "src/main/native-chat/agent-session-wire/host/testing/structured-agent-session-late-settlement-cancelled.test.ts": 2020, "src/main/native-chat/agent-session-wire/host/testing/structured-agent-session-lease-renewer.test.ts": 875, "src/main/native-chat/agent-session-wire/host/testing/structured-agent-session-newer-content-host.test.ts": 1997, - "src/main/native-chat/agent-session-wire/host/testing/structured-agent-session-options-read-scaling.test.ts": 1006, "src/main/native-chat/agent-session-wire/host/testing/structured-agent-session-prompt-cancel-repeat.test.ts": 1493, "src/main/native-chat/agent-session-wire/providers/testing/structured-agent-session-provider-naming.test.ts": 297, "src/main/native-chat/agent-session-wire/host/testing/structured-agent-session-queue-import-retained-history.test.ts": 2790, @@ -2648,38 +2504,26 @@ "src/main/omp/omp-session-cwd-lookup.test.ts": 232, "src/main/opencode-usage/scanner-windows-data-directory.test.ts": 464, "src/main/opencode-usage/scanner.test.ts": 554, - "src/main/opencode/hook-service-invalid-tui-config.test.ts": 134, - "src/main/opencode/hook-service-overlay-confinement.test.ts": 103, - "src/main/opencode/hook-service-startup-refresh.test.ts": 111, - "src/main/opencode/hook-service.test.ts": 262, - "src/main/opencode/opencode-client-sweep.test.ts": 124, - "src/main/opencode/opencode-launch-model-context-supervision.test.ts": 2290, - "src/main/opencode/opencode-model-catalog-listing.test.ts": 225, - "src/main/opencode/opencode-session-binder.test.ts": 132, - "src/main/opencode/opencode-startup-prompt-claims.test.ts": 60, - "src/main/opencode/opencode-startup-prompt-installer.test.ts": 195, - "src/main/opencode/opencode-startup-prompt-owner.test.ts": 97, - "src/main/opencode/opencode-structured-account-home.test.ts": 144, - "src/main/opencode/opencode-wsl-probe-environment.test.ts": 274, - "src/main/opencode/overlay-dir-gc.test.ts": 141, - "src/main/opencode/overlay-source-ownership.test.ts": 60, + "src/main/opencode/status-hooks/hook-service-startup-refresh.test.ts": 111, + "src/main/opencode/status-hooks/hook-service.test.ts": 262, + "src/main/opencode/session-correlation/opencode-client-sweep.test.ts": 124, + "src/main/opencode/model-launch/opencode-launch-model-context-supervision.test.ts": 2290, + "src/main/opencode/session-correlation/opencode-session-binder.test.ts": 132, + "src/main/opencode/startup-prompts/opencode-startup-prompt-claims.test.ts": 60, + "src/main/opencode/startup-prompts/opencode-startup-prompt-installer.test.ts": 195, + "src/main/opencode/accounts/opencode-structured-account-home.test.ts": 144, + "src/main/opencode/status-hooks/overlay-dir-gc.test.ts": 141, + "src/main/opencode/status-hooks/overlay-source-ownership.test.ts": 60, "src/main/opencode2/status-plugin-setup-lifetime.test.ts": 108, - "src/main/orca-profiles/other-profile-workspace-catalog.test.ts": 462, - "src/main/orca-profiles/profile-active-transfer-worker.test.ts": 2841, - "src/main/orca-profiles/profile-active-transfer.test.ts": 2243, - "src/main/orca-profiles/profile-artifact-cloud-cleanup.test.ts": 553, - "src/main/orca-profiles/profile-cloud-service-connect-overlap.test.ts": 683, - "src/main/orca-profiles/profile-cloud-service-sign-out-connect-race.test.ts": 541, - "src/main/orca-profiles/profile-cloud-session-refresh-rotation.test.ts": 523, - "src/main/orca-profiles/profile-cloud-session-store.test.ts": 133, + "src/main/orca-profiles/catalog/other-profile-workspace-catalog.test.ts": 462, + "src/main/orca-profiles/project-transfer/profile-active-transfer-worker.test.ts": 2841, + "src/main/orca-profiles/cloud-auth/profile-artifact-cloud-cleanup.test.ts": 553, + "src/main/orca-profiles/cloud-auth/profile-cloud-service-connect-overlap.test.ts": 683, + "src/main/orca-profiles/cloud-auth/profile-cloud-service-sign-out-connect-race.test.ts": 541, "src/main/orca-profiles/profile-index-store.test.ts": 1265, - "src/main/orca-profiles/profile-project-domain-transfer.test.ts": 5088, - "src/main/orca-profiles/profile-project-session-field-disposition.test.ts": 334, - "src/main/orca-profiles/profile-project-session-state.test.ts": 300, - "src/main/orca-profiles/profile-project-transfer-migration.test.ts": 1642, - "src/main/orca-profiles/profile-project-transfer.test.ts": 1456, + "src/main/orca-profiles/project-transfer/profile-project-transfer-migration.test.ts": 1642, + "src/main/orca-profiles/project-transfer/profile-project-transfer.test.ts": 1456, "src/main/orca-profiles/profile-telemetry-consent-seed.test.ts": 536, - "src/main/persistence/migrating-orcad-catalog/orcad-migration-export-holds.test.ts": 231, "src/main/orcad/electron-serve-provider-selection.test.ts": 554, "src/main/orcad/electron-sidecar-tab-registry.test.ts": 105, "src/main/orcad/external-chromium-browser-session.test.ts": 152, @@ -2699,7 +2543,6 @@ "src/main/orcad/orcad-cli-orchestration.integration.test.ts": 214, "src/main/orcad/orcad-forked-child-paths.test.ts": 337, "src/main/orcad/orcad-help.integration.test.ts": 5016, - "src/main/orcad/orcad-host-account-launch-env-store.test.ts": 299, "src/main/orcad/orcad-idle-exit-monitor.test.ts": 106, "src/main/orcad/orcad-instance-lock.test.ts": 315, "src/main/orcad/orcad-launcher-isolation.integration.test.ts": 617, @@ -2721,9 +2564,7 @@ "src/main/orcad/orcad-startup-qualification.test.ts": 102, "src/main/orcad/orcad-stop-request-shutdown.integration.test.ts": 293, "src/main/orcad/orcad-windows-conpty-breakaway.integration.test.ts": 79, - "src/main/persistence/migrating-orcad-catalog/persistence-local-only-worktree-meta.test.ts": 1948, "src/main/persistence/preferences/persistence-onboarding-language-cohort.test.ts": 1760, - "src/main/persistence/migrating-orcad-catalog/persistence-orcad-migration-wsl-generation-reuse.test.ts": 1658, "src/main/persistence/applying-settings/persistence-automation-extra-agent-args.test.ts": 2268, "src/main/persistence/applying-settings/persistence-automation-mode-precondition.test.ts": 1595, "src/main/persistence/applying-settings/persistence-automations.test.ts": 2573, @@ -2739,78 +2580,36 @@ "src/main/persistence/atomic-snapshot-writer.test.ts": 148, "src/main/persistence/closed-terminal-panes-registration.test.ts": 392, "src/main/persistence/closed-terminal-tab-write-fence.test.ts": 5865, - "src/main/persistence/loading-store/legacy-opencode-go-api-key-migration.test.ts": 80, - "src/main/persistence/loading-store/profile-state-checkpoints.test.ts": 2167, - "src/main/persistence/loading-store/profile-state-direct-flush.test.ts": 1801, - "src/main/persistence/loading-store/profile-state-durable-writes.test.ts": 5331, - "src/main/persistence/loading-store/profile-state-maintenance-contracts.test.ts": 8856, - "src/main/persistence/loading-store/profile-state-settings-writes.test.ts": 2311, - "src/main/persistence/loading-store/profile-state-sqlite-authority.test.ts": 2840, - "src/main/persistence/loading-store/profile-state-store-backups.test.ts": 2270, - "src/main/persistence/loading-store/profile-state-temp-cleanup-lifetime.test.ts": 2582, - "src/main/persistence/loading-store/profile-state-update-quit.test.ts": 2094, - "src/main/persistence/loading-store/pty-incarnation-renderer-save.test.ts": 2182, - "src/main/persistence/loading-store/pty-retirement-publication-during-read.test.ts": 5732, - "src/main/persistence/loading-store/pty-spawn-exit-durability.test.ts": 25622, - "src/main/persistence/loading-store/pty-spawn-restore-durability.test.ts": 5811, - "src/main/persistence/loading-store/reused-terminal-id-unbind.test.ts": 312, - "src/main/persistence/loading-store/state-write-round-trip.test.ts": 1983, - "src/main/persistence/loading-store/store-host-partition-before-unload.test.ts": 1670, - "src/main/persistence/loading-store/store-runtime-authored-session-writes.test.ts": 1757, - "src/main/persistence/loading-store/store-workspace-session-host-removal.test.ts": 1738, - "src/main/persistence/loading-store/terminal-close-async-durability.test.ts": 5719, - "src/main/persistence/loading-store/workspace-session-partitions.test.ts": 545, - "src/main/persistence/loading-store/workspace-session-terminal-binding-replay.test.ts": 95, - "src/main/persistence/loading-store/worktree-meta-write-normalization.test.ts": 127, - "src/main/persistence/migrating-orcad-catalog/migration-journal-directory.test.ts": 91, - "src/main/persistence/migrating-orcad-catalog/orcad-destination-workspace-session.test.ts": 296, - "src/main/persistence/migrating-orcad-catalog/orcad-migration-blob-staging.test.ts": 466, - "src/main/persistence/migrating-orcad-catalog/orcad-scrollback-snapshot-transfer.test.ts": 375, - "src/main/persistence/migrating-orcad-catalog/orcad-source-client-state.test.ts": 518, - "src/main/persistence/migrating-orcad-catalog/orcad-source-export.test.ts": 1898, - "src/main/persistence/migrating-orcad-catalog/orcad-source-ownership.test.ts": 380, - "src/main/persistence/migrating-orcad-catalog/orcad-source-partial-partition.test.ts": 808, - "src/main/persistence/migrating-orcad-catalog/orcad-source-scrollback-state.test.ts": 303, - "src/main/persistence/migrating-orcad-catalog/orcad-source-workspace-session-ambiguity.test.ts": 275, - "src/main/persistence/migrating-orcad-catalog/persistence-orcad-migration-blobs.test.ts": 1840, - "src/main/persistence/migrating-orcad-catalog/persistence-orcad-migration-catalog.test.ts": 2232, - "src/main/persistence/migrating-orcad-catalog/persistence-orcad-migration-received-blob-durability.test.ts": 1796, - "src/main/persistence/migrating-orcad-catalog/persistence-orcad-migration-shell-history-install-safety.test.ts": 1886, - "src/main/persistence/migrating-orcad-catalog/persistence-orcad-migration-shell-history-login-shell.test.ts": 2041, - "src/main/persistence/migrating-orcad-catalog/persistence-orcad-migration-shell-history.test.ts": 2085, - "src/main/persistence/migrating-orcad-catalog/persistence-orcad-migration-terminal-restore-hints.test.ts": 2098, - "src/main/persistence/moving-wsl-projects/wsl-move-cutover-journal.test.ts": 795, - "src/main/persistence/moving-wsl-projects/wsl-move-delta-plan.test.ts": 774, - "src/main/persistence/moving-wsl-projects/wsl-move-driver-commit-reproof.test.ts": 1159, - "src/main/persistence/moving-wsl-projects/wsl-move-driver-fault-injection.test.ts": 7608, - "src/main/persistence/moving-wsl-projects/wsl-move-driver-preview-settle.test.ts": 1031, - "src/main/persistence/moving-wsl-projects/wsl-move-exit-proof.test.ts": 92, - "src/main/persistence/moving-wsl-projects/wsl-move-gate-facts.test.ts": 145, - "src/main/persistence/moving-wsl-projects/wsl-move-gate-stub-agent-hooks.test.ts": 743, - "src/main/persistence/moving-wsl-projects/wsl-move-guest-foreground.test.ts": 260, - "src/main/persistence/moving-wsl-projects/wsl-move-guest-process-table-cost.test.ts": 323, - "src/main/persistence/moving-wsl-projects/wsl-move-manifest-export.test.ts": 863, + "src/main/persistence/loading-store/profile-writing/profile-state-checkpoints.test.ts": 2167, + "src/main/persistence/loading-store/profile-writing/profile-state-direct-flush.test.ts": 1801, + "src/main/persistence/loading-store/profile-writing/profile-state-durable-writes.test.ts": 5331, + "src/main/persistence/loading-store/profile-writing/profile-state-maintenance-contracts.test.ts": 8856, + "src/main/persistence/loading-store/profile-writing/profile-state-settings-writes.test.ts": 2311, + "src/main/persistence/loading-store/profile-writing/profile-state-sqlite-authority.test.ts": 2840, + "src/main/persistence/loading-store/terminal-bindings/pty-spawn-exit-durability.test.ts": 25622, + "src/main/persistence/loading-store/terminal-bindings/reused-terminal-id-unbind.test.ts": 312, + "src/main/persistence/loading-store/profile-writing/state-write-round-trip.test.ts": 1983, + "src/main/persistence/loading-store/workspace-sessions/store-host-partition-before-unload.test.ts": 1670, + "src/main/persistence/loading-store/terminal-bindings/terminal-close-async-durability.test.ts": 5719, + "src/main/persistence/loading-store/workspace-sessions/workspace-session-terminal-binding-replay.test.ts": 95, + "src/main/persistence/loading-store/worktree-metadata/worktree-meta-write-normalization.test.ts": 127, + "src/main/persistence/migrating-orcad-catalog/blob-transfer/orcad-migration-blob-staging.test.ts": 466, + "src/main/persistence/migrating-orcad-catalog/terminal-history/orcad-scrollback-snapshot-transfer.test.ts": 375, + "src/main/persistence/migrating-orcad-catalog/source/catalog/orcad-source-export.test.ts": 1898, + "src/main/persistence/migrating-orcad-catalog/source/catalog/orcad-source-ownership.test.ts": 380, + "src/main/persistence/migrating-orcad-catalog/source/scrollback/orcad-source-scrollback-state.test.ts": 303, + "src/main/persistence/migrating-orcad-catalog/catalog-commit/persistence-orcad-migration-catalog.test.ts": 2232, + "src/main/persistence/migrating-orcad-catalog/blob-transfer/persistence-orcad-migration-received-blob-durability.test.ts": 1796, + "src/main/persistence/migrating-orcad-catalog/terminal-history/persistence-orcad-migration-shell-history-install-safety.test.ts": 1886, + "src/main/persistence/migrating-orcad-catalog/terminal-history/persistence-orcad-migration-shell-history.test.ts": 2085, + "src/main/persistence/migrating-orcad-catalog/terminal-history/persistence-orcad-migration-terminal-restore-hints.test.ts": 2098, + "src/main/persistence/moving-wsl-projects/cutover-recovery/wsl-move-cutover-journal.test.ts": 795, "src/main/persistence/moving-wsl-projects/wsl-move-orchestration-history-rewrite.test.ts": 1245, - "src/main/persistence/moving-wsl-projects/wsl-move-orchestrator-stage1.test.ts": 338, - "src/main/persistence/moving-wsl-projects/wsl-move-orchestrator-user-choices.test.ts": 638, + "src/main/persistence/moving-wsl-projects/orchestration/wsl-move-orchestrator-user-choices.test.ts": 638, "src/main/persistence/moving-wsl-projects/wsl-move-orchestrator.test.ts": 567, - "src/main/persistence/moving-wsl-projects/wsl-move-quiesce.test.ts": 413, - "src/main/persistence/moving-wsl-projects/wsl-move-real-pause.test.ts": 1939, - "src/main/persistence/moving-wsl-projects/wsl-move-reset.test.ts": 891, - "src/main/persistence/moving-wsl-projects/wsl-move-restore-hints.test.ts": 65, - "src/main/persistence/moving-wsl-projects/wsl-move-retention.test.ts": 2285, - "src/main/persistence/moving-wsl-projects/wsl-move-rewrite-ledger.test.ts": 641, - "src/main/persistence/moving-wsl-projects/wsl-move-scope-guard.test.ts": 639, - "src/main/persistence/moving-wsl-projects/wsl-move-scope.test.ts": 104, - "src/main/persistence/moving-wsl-projects/wsl-move-seeded-view-state.test.ts": 398, - "src/main/persistence/moving-wsl-projects/wsl-move-session-freeze.test.ts": 2013, - "src/main/persistence/moving-wsl-projects/wsl-move-session-rewrite.test.ts": 411, - "src/main/persistence/moving-wsl-projects/wsl-move-shell-history-blobs.test.ts": 194, - "src/main/persistence/moving-wsl-projects/wsl-move-slept-scrollback.test.ts": 466, - "src/main/persistence/moving-wsl-projects/wsl-move-terminal-gate.test.ts": 137, - "src/main/persistence/moving-wsl-projects/wsl-move-two-desktops.test.ts": 2512, - "src/main/persistence/moving-wsl-projects/wsl-move-ui-routing-rewrite.test.ts": 465, - "src/main/persistence/moving-wsl-projects/wsl-move-undo-host-automations.test.ts": 691, + "src/main/persistence/moving-wsl-projects/quiescence/wsl-move-quiesce.test.ts": 413, + "src/main/persistence/moving-wsl-projects/terminal-state/wsl-move-shell-history-blobs.test.ts": 194, + "src/main/persistence/moving-wsl-projects/terminal-state/wsl-move-slept-scrollback.test.ts": 466, "src/main/persistence/persistence-async-write-syscalls.test.ts": 3419, "src/main/persistence/persistence-cohort-and-identity-migration.test.ts": 2224, "src/main/persistence/persistence-flush-and-save-scheduling.test.ts": 3361, @@ -2823,51 +2622,33 @@ "src/main/persistence/profile-state-cutover-fixture.test.ts": 1834, "src/main/persistence/profile-state-cutover-soak.test.ts": 2754, "src/main/persistence/profile-state/legacy-json/profile-state-versioned-export.test.ts": 150, - "src/main/persistence/profile-state/profile-state-access-process.test.ts": 679, - "src/main/persistence/profile-state/profile-state-access-windows-native.win32.test.ts": 156, - "src/main/persistence/profile-state/profile-state-access.test.ts": 380, - "src/main/persistence/profile-state/profile-state-authority-bootstrap.test.ts": 2375, + "src/main/persistence/profile-state/access/profile-state-access-process.test.ts": 679, + "src/main/persistence/profile-state/access/profile-state-access-windows-native.win32.test.ts": 156, + "src/main/persistence/profile-state/access/profile-state-access.test.ts": 380, + "src/main/persistence/profile-state/startup/profile-state-authority-bootstrap.test.ts": 2375, "src/main/persistence/profile-state/profile-state-authority-export-fencing.test.ts": 231, - "src/main/persistence/profile-state/profile-state-authority-marker-writes.test.ts": 676, - "src/main/persistence/profile-state/profile-state-authority-marker.test.ts": 1958, - "src/main/persistence/profile-state/profile-state-backup-rotation.test.ts": 611, - "src/main/persistence/profile-state/profile-state-backup-temporary-files.test.ts": 103, - "src/main/persistence/profile-state/profile-state-backup-worker.test.ts": 1721, - "src/main/persistence/profile-state/profile-state-bootstrap-publication-race.test.ts": 1935, + "src/main/persistence/profile-state/backup/profile-state-backup-rotation.test.ts": 611, + "src/main/persistence/profile-state/backup/profile-state-backup-worker.test.ts": 1721, + "src/main/persistence/profile-state/startup/profile-state-bootstrap-publication-race.test.ts": 1935, "src/main/persistence/profile-state/profile-state-complete-domain-writes.test.ts": 381, - "src/main/persistence/profile-state/profile-state-cross-runtime.integration.test.ts": 317, - "src/main/persistence/profile-state/profile-state-current-json-command.test.ts": 3319, - "src/main/persistence/profile-state/profile-state-current-sqlite-command.test.ts": 2155, - "src/main/persistence/profile-state/profile-state-database-export-crash.test.ts": 253, - "src/main/persistence/profile-state/profile-state-database-recovery.test.ts": 1172, - "src/main/persistence/profile-state/profile-state-database-rollback-export.test.ts": 1702, - "src/main/persistence/profile-state/profile-state-database-snapshot.test.ts": 442, - "src/main/persistence/profile-state/profile-state-database.test.ts": 294, - "src/main/persistence/profile-state/profile-state-documents.test.ts": 563, - "src/main/persistence/profile-state/profile-state-domain-writes.test.ts": 580, - "src/main/persistence/profile-state/profile-state-large-recovery-crash.test.ts": 3256, - "src/main/persistence/profile-state/profile-state-live-store-factory.test.ts": 2575, - "src/main/persistence/profile-state/profile-state-pre-migration-backup.test.ts": 461, - "src/main/persistence/profile-state/profile-state-read-concurrency.test.ts": 247, - "src/main/persistence/profile-state/profile-state-recovery-batch.test.ts": 180, - "src/main/persistence/profile-state/profile-state-recovery-copy.test.ts": 133, - "src/main/persistence/profile-state/profile-state-recovery-crash-boundaries.test.ts": 11125, - "src/main/persistence/profile-state/profile-state-runtime-preflight.test.ts": 723, - "src/main/persistence/profile-state/profile-state-section-repair.test.ts": 5877, - "src/main/persistence/profile-state/profile-state-selected-profile-recovery.test.ts": 1860, - "src/main/persistence/profile-state/profile-state-startup-authority.test.ts": 2565, - "src/main/persistence/profile-state/profile-state-startup-secrets.test.ts": 2158, - "src/main/persistence/profile-state/profile-state-startup-snapshot.test.ts": 2094, - "src/main/persistence/profile-state/profile-state-streaming-validation.test.ts": 314, - "src/main/persistence/profile-state/profile-state-worker-authority-idle-stop.test.ts": 4020, + "src/main/persistence/profile-state/recovery/profile-state-current-json-command.test.ts": 3319, + "src/main/persistence/profile-state/recovery/profile-state-current-sqlite-command.test.ts": 2155, + "src/main/persistence/profile-state/database/profile-state-database-export-crash.test.ts": 253, + "src/main/persistence/profile-state/recovery/profile-state-database-recovery.test.ts": 1172, + "src/main/persistence/profile-state/database/profile-state-database-snapshot.test.ts": 442, + "src/main/persistence/profile-state/documents/profile-state-documents.test.ts": 563, + "src/main/persistence/profile-state/documents/profile-state-domain-writes.test.ts": 580, + "src/main/persistence/profile-state/startup/profile-state-live-store-factory.test.ts": 2575, + "src/main/persistence/profile-state/documents/profile-state-read-concurrency.test.ts": 247, + "src/main/persistence/profile-state/recovery/profile-state-recovery-batch.test.ts": 180, + "src/main/persistence/profile-state/recovery/profile-state-recovery-copy.test.ts": 133, + "src/main/persistence/profile-state/recovery/profile-state-recovery-crash-boundaries.test.ts": 11125, + "src/main/persistence/profile-state/recovery/profile-state-section-repair.test.ts": 5877, + "src/main/persistence/profile-state/startup/profile-state-startup-snapshot.test.ts": 2094, + "src/main/persistence/profile-state/documents/profile-state-streaming-validation.test.ts": 314, "src/main/persistence/profile-state/profile-state-worker-authority.test.ts": 2161, - "src/main/persistence/profile-state/profile-state-worker-export-failures.test.ts": 566, - "src/main/persistence/profile-state/profile-state-write-transaction.test.ts": 94, - "src/main/persistence/profile-state/profile-state-writer-capacity-errors.test.ts": 84, - "src/main/persistence/profile-state/profile-state-writer-close.test.ts": 108, - "src/main/persistence/profile-state/profile-state-writer-protocol-faults.test.ts": 747, - "src/main/persistence/profile-state/profile-state-writer-sleep.test.ts": 803, - "src/main/persistence/profile-state/profile-state-writer-worker.test.ts": 1458, + "src/main/persistence/profile-state/database/profile-state-write-transaction.test.ts": 94, + "src/main/persistence/profile-state/writer/profile-state-writer-worker.test.ts": 1458, "src/main/persistence/restoring-sessions/pane-alias-normalization.test.ts": 847, "src/main/persistence/restoring-sessions/pane-key-remapping.test.ts": 60, "src/main/persistence/restoring-sessions/session-owner-fields.test.ts": 283, @@ -2923,7 +2704,6 @@ "src/main/persistence/tracking-repos/persistence-folder-scan-project-groups.test.ts": 1944, "src/main/persistence/tracking-repos/persistence-folder-workspace-notes.test.ts": 2124, "src/main/persistence/tracking-repos/persistence-invalid-workspace-layout-purge.test.ts": 2151, - "src/main/persistence/tracking-repos/persistence-repo-lifecycle.test.ts": 3528, "src/main/persistence/tracking-repos/persistence-update-repo.test.ts": 2213, "src/main/persistence/tracking-repos/persistence-workspace-attachments.test.ts": 2030, "src/main/persistence/tracking-repos/persistence-workspace-pinned-automation-fence.test.ts": 2412, @@ -2942,24 +2722,18 @@ "src/main/persistence/tracking-repos/worktree-metadata-normalization.test.ts": 372, "src/main/persistence/window-save-reconnect-facts.test.ts": 372, "src/main/persistence/window-save-sleep-records.test.ts": 60, - "src/main/pi/agent-status-compaction.test.ts": 463, - "src/main/pi/agent-status-completion-delivery.test.ts": 423, - "src/main/pi/agent-status-extension-nested-run-settlement.test.ts": 335, - "src/main/pi/agent-status-extension-session-change.test.ts": 613, - "src/main/pi/agent-status-input-redaction.test.ts": 573, - "src/main/pi/agent-status-omp-plan-review.test.ts": 426, - "src/main/pi/agent-status-reload-delivery.test.ts": 364, - "src/main/pi/omp-model-command-source.test.ts": 640, - "src/main/pi/omp-transcript-metadata.test.ts": 753, - "src/main/pi/rpc-launch.test.ts": 305, - "src/main/pi/rpc-prompt-delivery.test.ts": 204, - "src/main/pi/rpc-prompt.test.ts": 228, - "src/main/pi/rpc-session-adapter.test.ts": 4038, - "src/main/pi/rpc-session-rename.test.ts": 1172, - "src/main/pi/rpc-session-startup.test.ts": 4955, - "src/main/pi/rpc-turn-races.test.ts": 2191, - "src/main/pi/titlebar-extension-service.test.ts": 263, - "src/main/pi/titlebar-extension-source.test.ts": 1016, + "src/main/pi/managed-extensions/agent-status/agent-status-completion-delivery.test.ts": 423, + "src/main/pi/managed-extensions/agent-status/agent-status-extension-nested-run-settlement.test.ts": 335, + "src/main/pi/managed-extensions/agent-status/agent-status-extension-session-change.test.ts": 613, + "src/main/pi/managed-extensions/agent-status/agent-status-input-redaction.test.ts": 573, + "src/main/pi/managed-extensions/agent-status/omp-model-command-source.test.ts": 640, + "src/main/pi/rpc/launch/rpc-launch.test.ts": 305, + "src/main/pi/rpc/prompts/rpc-prompt-delivery.test.ts": 204, + "src/main/pi/rpc/prompts/rpc-prompt.test.ts": 228, + "src/main/pi/rpc/rpc-session-rename.test.ts": 1172, + "src/main/pi/rpc/rpc-session-startup.test.ts": 4955, + "src/main/pi/rpc/rpc-turn-races.test.ts": 2191, + "src/main/pi/managed-extensions/titlebar-extension-service.test.ts": 263, "src/main/plugins/catalog/plugin-catalog-monorepo-images.test.ts": 216, "src/main/plugins/catalog/plugin-install-stats-service.test.ts": 196, "src/main/plugins/catalog/plugin-kill-list-content-revocation.test.ts": 3680, @@ -2987,7 +2761,6 @@ "src/main/plugins/panels/plugin-external-open-consent.test.ts": 62, "src/main/plugins/panels/plugin-frame-blocked-requests.electron.test.ts": 546, "src/main/plugins/panels/plugin-frame-guest-clipboard.electron.test.ts": 1939, - "src/main/plugins/panels/plugin-frame-guest-diagnostics.test.ts": 86, "src/main/plugins/panels/plugin-frame-guest-egress.electron.test.ts": 6102, "src/main/plugins/panels/plugin-frame-integrity.test.ts": 65, "src/main/plugins/panels/plugin-frame-module-transform.test.ts": 197, @@ -3008,7 +2781,6 @@ "src/main/plugins/plugin-content-hash-dev-folder.test.ts": 176, "src/main/plugins/plugin-content-safety.test.ts": 3933, "src/main/plugins/plugin-declared-settings.test.ts": 218, - "src/main/plugins/plugin-dev-event-emit.test.ts": 283, "src/main/plugins/plugin-dev-folders.test.ts": 251, "src/main/plugins/plugin-dev-revision.test.ts": 129, "src/main/plugins/plugin-dev-watcher-ignore.test.ts": 122, @@ -3116,7 +2888,6 @@ "src/main/pty/shell-startup/legacy-terminal-shim-dir.test.ts": 263, "src/main/pty/process-retirement/node-pty-master-fd-retirement.test.ts": 2401, "src/main/pty/scrollback/overlay-mirror.test.ts": 69, - "src/main/pty/shell-startup/pi-process-owner-env.test.ts": 630, "src/main/pty/process-retirement/posix-pty-foreground-group-libproc.test.ts": 46, "src/main/pty/process-retirement/posix-pty-foreground-group.test.ts": 89, "src/main/pty/process-retirement/posix-pty-process-groups.integration.test.ts": 215, @@ -3167,7 +2938,6 @@ "src/main/ripgrep/bundled-ripgrep-real.test.ts": 242, "src/main/ripgrep/bundled-ripgrep-text-search.test.ts": 707, "src/main/ripgrep/ripgrep-filename-identity-real.test.ts": 274, - "src/main/ripgrep/synchronous-spawn-failure.test.ts": 54, "src/main/ripgrep/text-search-unicode-real.test.ts": 332, "src/main/runtime/session-tabs/acknowledged-terminal-tab-retirement-main-close.test.ts": 6833, "src/main/runtime/session-tabs/acknowledged-terminal-tab-retirement.test.ts": 6423, @@ -3183,7 +2953,6 @@ "src/main/runtime/agent-session/records/agent-session-store-load-scale.test.ts": 732, "src/main/runtime/agent-session/agent-session-tab-layout-queue.test.ts": 4061, "src/main/runtime/agent-session/agent-session-conversation-clear-commit.test.ts": 957, - "src/main/runtime/agent-session/agent-session-death-evidence-persistence.test.ts": 1113, "src/main/runtime/agent-session/agent-session-launch-directory.test.ts": 926, "src/main/runtime/agent-session/agent-session-tab-layout.test.ts": 275, "src/main/runtime/agent-session/agent-session-unsaved-creation-supersession.test.ts": 726, @@ -3207,7 +2976,6 @@ "src/main/runtime/agent-session/records/agent-session-store-transactions.test.ts": 1528, "src/main/runtime/agent-session/records/structured-agent-session-mobile-restore.test.ts": 1965, "src/main/runtime/agent-session/records/structured-agent-session-startup-tab-restore.test.ts": 7761, - "src/main/runtime/agent-session/structured-agent-session-adapter-start-failure.test.ts": 11764, "src/main/runtime/agent-session/structured-agent-session-attachment-wiring.test.ts": 521, "src/main/runtime/agent-session/structured-agent-session-close.test.ts": 256, "src/main/runtime/agent-session/structured-agent-session-codex-compact-exit.test.ts": 6616, @@ -3221,7 +2989,6 @@ "src/main/runtime/agent-session/structured-agent-session-lifecycle-delivery.test.ts": 149, "src/main/runtime/agent-session/structured-agent-session-mobile-retirement.test.ts": 281, "src/main/runtime/agent-session/structured-agent-session-paired-caller.test.ts": 5749, - "src/main/runtime/agent-session/structured-agent-session-pi-signed-out-start.test.ts": 2702, "src/main/runtime/agent-session/structured-agent-session-runtime-provider-started.test.ts": 2576, "src/main/runtime/agent-session/structured-agent-session-runtime.test.ts": 2581, "src/main/runtime/agent-session/structured-agent-session-startup-reconcile.test.ts": 6294, @@ -3315,19 +3082,13 @@ "src/main/runtime/mobile-cloud-relay/relay-auth-coordinator-readiness.test.ts": 580, "src/main/runtime/mobile-cloud-relay/relay-auth-coordinator-recovery.test.ts": 161, "src/main/runtime/mobile-cloud-relay/relay-auth-coordinator.test.ts": 1013, - "src/main/runtime/mobile-cloud-relay/relay-auth-host-close-reason.test.ts": 173, "src/main/runtime/mobile-cloud-relay/relay-control-client.test.ts": 701, - "src/main/runtime/mobile-cloud-relay/relay-control-close-reason.test.ts": 249, "src/main/runtime/mobile-cloud-relay/relay-control-origin.test.ts": 147, - "src/main/runtime/mobile-cloud-relay/relay-control-request-retirement.test.ts": 126, "src/main/runtime/mobile-cloud-relay/relay-host-proof.test.ts": 122, "src/main/runtime/mobile-cloud-relay/relay-http-client.test.ts": 175, "src/main/runtime/mobile-cloud-relay/relay-readiness-retention.test.ts": 196, - "src/main/runtime/mobile-cloud-relay/relay-region-correction.test.ts": 156, "src/main/runtime/mobile-cloud-relay/relay-region-preference.test.ts": 253, - "src/main/runtime/mobile-cloud-relay/relay-region-probe-log.test.ts": 188, "src/main/runtime/mobile-cloud-relay/relay-region-refresh.test.ts": 127, - "src/main/runtime/mobile-cloud-relay/relay-renewal-jitter.test.ts": 55, "src/main/runtime/mobile-cloud-relay/relay-revoke-outbox.test.ts": 73, "src/main/runtime/mobile-cloud-relay/relay-session-broker.test.ts": 804, "src/main/runtime/mobile-desktop-relay/mobile-desktop-relay.integration.test.ts": 11377, @@ -3399,7 +3160,6 @@ "src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-delivery.test.ts": 7599, "src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-notification-consistency.test.ts": 24765, "src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-routing.test.ts": 14953, - "src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-titles.test.ts": 11638, "src/main/runtime/orchestration/mailbox/notifications/orchestration-message-delivery-identity.test.ts": 25822, "src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-messages-fake-parity.test.ts": 510, "src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-open-dialog-delivery-hold.test.ts": 5567, @@ -3433,13 +3193,10 @@ "src/main/runtime/orchestration/db/orchestration-db.test.ts": 1239, "src/main/runtime/orchestration/db/dispatch-depth.test.ts": 866, "src/main/runtime/orchestration/db/dispatch-mailbox-consumer-fencing.test.ts": 570, - "src/main/runtime/orchestration/db/federated-worker-report-outcome.test.ts": 39, "src/main/runtime/orchestration/db/federation/federated-dispatch-observation-fence.test.ts": 500, "src/main/runtime/orchestration/db/lifecycle-transition.test.ts": 522, "src/main/runtime/orchestration/db/messages/mailbox-consumer-lifecycle-fencing.test.ts": 899, - "src/main/runtime/orchestration/db/pane-key-match.test.ts": 50, "src/main/runtime/orchestration/db/remaining-dispatch-statement-compilation.test.ts": 1162, - "src/main/runtime/orchestration/db/row-column-lists.test.ts": 570, "src/main/runtime/orchestration/db/runs/run-coordinator-orca-session-binding.test.ts": 706, "src/main/runtime/orchestration/db/schema/derived-delivery-migration.test.ts": 774, "src/main/runtime/orchestration/db/schema/federated-home-run-migration.test.ts": 600, @@ -3449,7 +3206,6 @@ "src/main/runtime/orchestration/db/worker-dispatch/worker-dispatch-abandon.test.ts": 662, "src/main/runtime/orchestration/db/schema/dispatch-consumer-generation-migration.test.ts": 640, "src/main/runtime/orchestration/db/dispatch-context/dispatch-failure-idempotency.test.ts": 544, - "src/main/runtime/orchestration/federation/synchronization/federation-ack-checkpoints.test.ts": 38, "src/main/runtime/orchestration/federation/synchronization/federation-acknowledgment-integrity.test.ts": 557, "src/main/runtime/orchestration/db/federation/federation-acknowledgment-migration.test.ts": 566, "src/main/runtime/orchestration/federation/synchronization/federation-sync.test.ts": 5264, @@ -3473,7 +3229,6 @@ "src/main/runtime/orchestration/federation/orchestration-federated-legacy-probe.test.ts": 767, "src/main/runtime/orchestration/db/legacy/orchestration-legacy-coordinator-authority-db.test.ts": 1038, "src/main/runtime/orchestration/db/legacy/orchestration-legacy-question-migration-db.test.ts": 962, - "src/main/runtime/orchestration/db/legacy/orchestration-legacy-storage-db.test.ts": 2004, "src/main/runtime/orchestration/db/questions/orchestration-mutation-question-db.test.ts": 558, "src/main/runtime/orchestration/db/reset/orchestration-reset-db.test.ts": 622, "src/main/runtime/orchestration/db/runs/orchestration-run-delivery-db.test.ts": 723, @@ -3484,7 +3239,6 @@ "src/main/runtime/orchestration/turn-delivery/send-agent-turn-host.test.ts": 2586, "src/main/runtime/orchestration/workers/launch/setup-completion-signal.test.ts": 48, "src/main/runtime/orchestration/mailbox/structured-mail/structured-mail-source.test.ts": 693, - "src/main/runtime/orchestration/mailbox/structured-pointer/structured-mailbox-pointer-delivery.test.ts": 1024, "src/main/runtime/orchestration/structured-pointer-operation-id.test.ts": 61, "src/main/runtime/orchestration/mailbox/routing/structured-session-mail-target.test.ts": 4398, "src/main/runtime/orchestration/workers/archives/structured-worker-journal-archive.test.ts": 241, @@ -3552,11 +3306,9 @@ "src/main/runtime/rpc/e2ee-channel-v2.test.ts": 287, "src/main/runtime/rpc/e2ee-channel.test.ts": 539, "src/main/runtime/rpc/e2ee-crypto.test.ts": 121, - "src/main/runtime/rpc/e2ee-integration.test.ts": 261, "src/main/runtime/rpc/methods/accounts/accounts.test.ts": 161, "src/main/runtime/rpc/methods/agent-launch/agent-launch-at-rest.test.ts": 4936, "src/main/runtime/rpc/methods/agent-launch/agent-launch-caller-selection.test.ts": 1680, - "src/main/runtime/rpc/methods/agent-launch/agent-launch-cwd-refusal.test.ts": 5887, "src/main/runtime/rpc/methods/agent-launch/agent-launch-cwd-resources.test.ts": 6756, "src/main/runtime/rpc/methods/agent-launch/agent-launch-folder-workspace-create.test.ts": 1953, "src/main/runtime/rpc/methods/agent-launch/agent-launch-handoff-card.test.ts": 2159, @@ -3578,13 +3330,11 @@ "src/main/runtime/rpc/methods/browser/browser-network-tunnel.test.ts": 1096, "src/main/runtime/rpc/methods/client-state/client-ui-set-collapsed.test.ts": 1091, "src/main/runtime/rpc/methods/clipboard/clipboard.test.ts": 848, - "src/main/runtime/rpc/methods/files/file-watch-event-batcher.test.ts": 69, "src/main/runtime/rpc/methods/files/files-path-search.test.ts": 884, "src/main/runtime/rpc/methods/files/files-read-dir-page.test.ts": 1213, "src/main/runtime/rpc/methods/files/files-read-dir-remote-budget.test.ts": 860, "src/main/runtime/rpc/methods/files/files-watch-cancellation.test.ts": 886, "src/main/runtime/rpc/methods/files/files.test.ts": 1018, - "src/main/runtime/rpc/methods/source-control/gitlab/gitlab.test.ts": 4209, "src/main/runtime/rpc/methods/integrations/jira/jira-saved-filter-state.test.ts": 937, "src/main/runtime/rpc/methods/integrations/jira/jira.test.ts": 732, "src/main/runtime/rpc/methods/integrations/linear/linear-agent-access.test.ts": 4648, @@ -3608,16 +3358,13 @@ "src/main/runtime/rpc/methods/orchestration/structured-workers/orchestration-worker-start-mode-selection.test.ts": 5749, "src/main/runtime/rpc/methods/orchestration/agent-message-command-contract.test.ts": 6968, "src/main/runtime/rpc/methods/orchestration/cli-runtime-boundary.test.ts": 5671, - "src/main/runtime/rpc/methods/orchestration/federation/federated-attach-receipt.test.ts": 49, "src/main/runtime/rpc/methods/orchestration/federation/federated-fleet-snapshot.test.ts": 1230, "src/main/runtime/rpc/methods/orchestration/federation/federated-message-targeting.test.ts": 5277, "src/main/runtime/rpc/methods/orchestration/federation/federated-release-safety.test.ts": 5469, "src/main/runtime/rpc/methods/orchestration/federation/federated-transport-safety.test.ts": 4257, "src/main/runtime/rpc/methods/orchestration/federation/federated-worker-start-receipt.test.ts": 5223, "src/main/runtime/rpc/methods/orchestration/federation/federation-control-mail.test.ts": 5700, - "src/main/runtime/rpc/methods/orchestration/federation/federation-effects.test.ts": 39, "src/main/runtime/rpc/methods/orchestration/federation/federation-folder-placement.test.ts": 4867, - "src/main/runtime/rpc/methods/orchestration/federation/federation-lifecycle-settlement.test.ts": 7140, "src/main/runtime/rpc/methods/orchestration/federation/federation-liveness-verdict.test.ts": 5303, "src/main/runtime/rpc/methods/orchestration/federation/federation-output.test.ts": 29824, "src/main/runtime/rpc/methods/orchestration/federation/federation-setup.test.ts": 4847, @@ -3632,7 +3379,6 @@ "src/main/runtime/rpc/methods/orchestration/messaging/check-worker-consumer-fencing.test.ts": 5876, "src/main/runtime/rpc/methods/orchestration/messaging/check-worker-federated-attachment.test.ts": 4547, "src/main/runtime/rpc/methods/orchestration/messaging/check.test.ts": 4373, - "src/main/runtime/rpc/methods/orchestration/messaging/implicit-task-run-routing.test.ts": 4876, "src/main/runtime/rpc/methods/orchestration/messaging/recipient-routing.test.ts": 4675, "src/main/runtime/rpc/methods/orchestration/messaging/run-bound-mailbox-history.test.ts": 4288, "src/main/runtime/rpc/methods/orchestration/messaging/run-bound-mailbox-interleavings.test.ts": 5049, @@ -3671,12 +3417,10 @@ "src/main/runtime/rpc/methods/orchestration/worker/worker-terminal-custody-at-creation.test.ts": 5687, "src/main/runtime/rpc/methods/orchestration/worker/workers-new-worktree.test.ts": 6117, "src/main/runtime/rpc/methods/orchestration/worker/workers-recovery.test.ts": 5182, - "src/main/runtime/rpc/methods/pairing/pairing.test.ts": 776, "src/main/runtime/rpc/methods/plugins/plugin-dev-emit.test.ts": 3118, "src/main/runtime/rpc/methods/plugins/plugin-dev-request.test.ts": 3725, "src/main/runtime/rpc/methods/plugins/plugins.test.ts": 274, "src/main/runtime/rpc/methods/preflight/preflight-selected-target.test.ts": 5043, - "src/main/runtime/rpc/methods/projects/repo.test.ts": 896, "src/main/runtime/rpc/methods/session-tabs/session-tabs-inventory-census-race.test.ts": 4349, "src/main/runtime/rpc/methods/session-tabs/session-tabs-move-validation.test.ts": 4261, "src/main/runtime/rpc/methods/session-tabs/session-tabs-retirement-proof-delta.test.ts": 1726, @@ -3692,12 +3436,10 @@ "src/main/runtime/rpc/methods/structured-sessions/protocol/structured-agent-session-at-rest.test.ts": 8371, "src/main/runtime/rpc/methods/structured-sessions/attachments/structured-agent-session-attachments.test.ts": 2006, "src/main/runtime/rpc/methods/structured-sessions/subscriptions/structured-agent-session-attention-ack.test.ts": 1596, - "src/main/runtime/rpc/methods/structured-sessions/catalog/structured-agent-session-continuation-context.test.ts": 5567, "src/main/runtime/rpc/methods/structured-sessions/creation/structured-agent-session-create-message.test.ts": 3071, "src/main/runtime/rpc/methods/structured-sessions/conversation/structured-agent-session-legacy-command-wait.test.ts": 2712, "src/main/runtime/rpc/methods/structured-sessions/catalog/structured-agent-session-options-read.test.ts": 1676, "src/main/runtime/rpc/methods/structured-sessions/catalog/structured-agent-session-options-workspace-scope.test.ts": 6537, - "src/main/runtime/rpc/methods/structured-sessions/creation/structured-agent-session-precommit-refusal.test.ts": 1595, "src/main/runtime/rpc/methods/structured-sessions/conversation/structured-agent-session-restart-dismiss-fence.test.ts": 2207, "src/main/runtime/rpc/methods/structured-sessions/conversation/structured-agent-session-restart-unregistered-agent.test.ts": 2542, "src/main/runtime/rpc/methods/structured-sessions/subscriptions/structured-agent-session-unsubscribe.test.ts": 5518, @@ -3723,7 +3465,6 @@ "src/main/runtime/rpc/mobile-socket-wiring.test.ts": 312, "src/main/runtime/rpc/orcad-feature-readiness.test.ts": 40, "src/main/runtime/rpc/orchestration-11745-regression-verification.test.ts": 22874, - "src/main/runtime/rpc/orchestration-caller-show.test.ts": 4209, "src/main/runtime/rpc/orchestration-check-wait-session.test.ts": 5096, "src/main/runtime/rpc/orchestration-commit-notify-characterization.test.ts": 5702, "src/main/runtime/rpc/orchestration-contract-fence.test.ts": 6113, @@ -3744,7 +3485,6 @@ "src/main/runtime/rpc/orchestration-party-agreement.test.ts": 4581, "src/main/runtime/rpc/orchestration-run-use-invalid-takeover.test.ts": 4575, "src/main/runtime/rpc/orchestration-runtime-update-settlement.test.ts": 5105, - "src/main/runtime/rpc/orchestration-session-caller.test.ts": 5717, "src/main/runtime/rpc/orchestration-session-coordinator.test.ts": 4655, "src/main/runtime/rpc/orchestration-session-recipient.test.ts": 5100, "src/main/runtime/rpc/orchestration-session-run-binding.test.ts": 4448, @@ -3753,7 +3493,6 @@ "src/main/runtime/rpc/remote-runtime-server-heartbeat-missed-probe-tolerance.test.ts": 59, "src/main/runtime/rpc/remote-runtime-server-heartbeat.test.ts": 60, "src/main/runtime/rpc/repo-add-cli.integration.test.ts": 1603, - "src/main/runtime/rpc/rpc-caller-scope.test.ts": 5071, "src/main/runtime/rpc/runtime-client-capabilities.test.ts": 43, "src/main/runtime/rpc/runtime-source-admission.test.ts": 909, "src/main/runtime/rpc/shadowed-port-probe.test.ts": 99, @@ -3767,7 +3506,6 @@ "src/main/runtime/rpc/terminal-multiplex-ack-overflow-recovery-history.test.ts": 1892, "src/main/runtime/rpc/terminal-multiplex-ack-overflow-recovery.test.ts": 2369, "src/main/runtime/rpc/terminal-multiplex-desktop-resize-routing.test.ts": 2160, - "src/main/runtime/rpc/terminal-multiplex-endpoint-loss-notice.test.ts": 1852, "src/main/runtime/rpc/terminal-multiplex-initial-snapshot-buffering.test.ts": 2118, "src/main/runtime/rpc/terminal-multiplex-input-sequence-replay.test.ts": 5709, "src/main/runtime/rpc/terminal-multiplex-input-write-rejection.test.ts": 2423, @@ -3780,7 +3518,6 @@ "src/main/runtime/rpc/terminal-multiplex-snapshot-query-replay.test.ts": 2715, "src/main/runtime/rpc/terminal-multiplex-snapshot-serialization.test.ts": 2224, "src/main/runtime/rpc/terminal-multiplex-subscribe-slot-recovery.test.ts": 1792, - "src/main/runtime/rpc/terminal-opencode-send-guard.integration.test.ts": 4512, "src/main/runtime/rpc/terminal-output-batching.test.ts": 2087, "src/main/runtime/rpc/terminal-output-frame-chunks.test.ts": 70, "src/main/runtime/rpc/terminal-passive-resize-input.test.ts": 2656, @@ -3802,7 +3539,6 @@ "src/main/runtime/rpc/unpaired-device-auth-throttle.test.ts": 42, "src/main/runtime/rpc/web-session-pairing.test.ts": 402, "src/main/runtime/rpc/workspace-creator-context.test.ts": 40, - "src/main/runtime/rpc/worktree-catalog-snapshot.test.ts": 46, "src/main/runtime/rpc/worktree-removal-marker-projection.test.ts": 497, "src/main/runtime/rpc/worktree-rm-cli.integration.test.ts": 6876, "src/main/runtime/rpc/ws-empty-payload-frame-write.test.ts": 117, @@ -3873,7 +3609,6 @@ "src/main/runtime/rpc/server/runtime-rpc-websocket-reply-size-limit.test.ts": 4410, "src/main/runtime/files/search/runtime-search-line-fragments.test.ts": 624, "src/main/runtime/files/server-browse/runtime-server-environment-commands.test.ts": 262, - "src/main/runtime/rpc/server/runtime-socket-sweep.test.ts": 47, "src/main/runtime/client/runtime-subscription-registry.test.ts": 142, "src/main/runtime/terminal/records/runtime-terminal-exit-contracts.test.ts": 5325, "src/main/runtime/terminal/identity/runtime-terminal-handle-contracts.test.ts": 3983, @@ -3881,7 +3616,6 @@ "src/main/runtime/terminal/query/runtime-terminal-inventory-contracts.test.ts": 4427, "src/main/runtime/terminal/adoption/runtime-terminal-orphan-adoption-rollback.test.ts": 1832, "src/main/runtime/terminal/surface/runtime-terminal-retirement-contracts.test.ts": 4505, - "src/main/runtime/terminal/title/runtime-terminal-set-pane-title.test.ts": 5216, "src/main/runtime/terminal/input/runtime-terminal-writer.test.ts": 150, "src/main/runtime/construction/runtime-workspace-launch-contracts.test.ts": 4059, "src/main/runtime/workspaces/session-hosts/runtime-workspace-session-controller-twin-repo.test.ts": 298, @@ -3900,11 +3634,9 @@ "src/main/runtime/session-tabs/session-tab-close-force.test.ts": 7089, "src/main/runtime/session-tabs/runtime-inventory-publication-authority.test.ts": 5775, "src/main/runtime/session-tabs/headless-mobile-session-absorbed-rows.test.ts": 4223, - "src/main/runtime/session-tabs/main-layout-agent-launch-tabs.test.ts": 4233, "src/main/runtime/session-tabs/main-layout-session-tab-move.test.ts": 4233, "src/main/runtime/session-tabs/session-tab-prototype-dispatch.test.ts": 4888, "src/main/runtime/session-tabs/session-tabs-headless-main-change.test.ts": 4320, - "src/main/runtime/session-tabs/session-tabs-held-rows-commit.test.ts": 5046, "src/main/runtime/session-tabs/session-tabs-inventory-publication.test.ts": 4166, "src/main/runtime/session-tabs/session-tabs-main-rows-parity.test.ts": 4606, "src/main/runtime/session-tabs/session-tabs-phone-layout-moves.test.ts": 4153, @@ -3940,13 +3672,11 @@ "src/main/runtime/agent-session/lifecycle/structured-agent-cli-writers.test.ts": 140, "src/main/runtime/agent-session/lifecycle/structured-agent-session-history-close-race.test.ts": 5020, "src/main/runtime/agent-session/naming/structured-agent-session-provider-naming-shutdown.test.ts": 1987, - "src/main/runtime/agent-session/lifecycle/structured-agent-session-tab-authority.test.ts": 11047, "src/main/runtime/agent-session/environment/structured-agent-shell-environment-catalog.test.ts": 720, "src/main/runtime/orchestration/terminal-authority/structured-sessions/structured-chat-coordinator-mail.test.ts": 38220, "src/main/runtime/orchestration/terminal-authority/structured-sessions/structured-chat-dispatch-worker-lifecycle.test.ts": 9312, "src/main/runtime/orchestration/terminal-authority/structured-sessions/structured-chat-dispatch-worker-mail.test.ts": 6125, "src/main/runtime/orchestration/terminal-authority/structured-sessions/structured-chat-dispatch-worker.test.ts": 6981, - "src/main/runtime/agent-session/naming/structured-chat-naming-runtime.test.ts": 1605, "src/main/runtime/orchestration/terminal-authority/structured-sessions/structured-chat-worker-helpers.test.ts": 8057, "src/main/runtime/orchestration/terminal-authority/structured-sessions/structured-chat-worker-reuse.test.ts": 6372, "src/main/runtime/orchestration/terminal-authority/structured-sessions/structured-chat-worker-start-unknown.test.ts": 7813, @@ -3983,7 +3713,6 @@ "src/main/runtime/terminal/lifecycle/terminal-run-facts-input.test.ts": 4370, "src/main/runtime/terminal/lifecycle/terminal-run-facts.test.ts": 68, "src/main/runtime/terminal/view/terminal-screen-row-metadata.test.ts": 175, - "src/main/runtime/terminal/input/terminal-send-stale-leaf-liveness.test.ts": 4334, "src/main/runtime/terminal/wait/terminal-start-failure-readiness.test.ts": 3416, "src/main/runtime/terminal/adoption/terminal-subscriber-driven-daemon-attach.test.ts": 5399, "src/main/runtime/terminal/output/tail/terminal-tail-redraw-spans.test.ts": 166, @@ -4014,7 +3743,6 @@ "src/main/runtime/terminal/surface/closed-pane-exit-cleanup-main.test.ts": 4281, "src/main/runtime/terminal/surface/main-terminal-acquisition.test.ts": 4330, "src/main/runtime/terminal/surface/terminal-surface-replies-main.test.ts": 4324, - "src/main/runtime/terminal/output/trust-dialog-status-observer.test.ts": 4458, "src/main/runtime/terminal/wait/tui-idle-codex-plan-menu.test.ts": 4441, "src/main/runtime/terminal/wait/tui-idle-command-paint.test.ts": 4148, "src/main/runtime/terminal/wait/tui-idle-hook-lane-runtime.test.ts": 7702, @@ -4064,14 +3792,12 @@ "src/main/source-control/hosted-review-inflight-invalidation.test.ts": 188, "src/main/source-control/hosted-review-inflight-lookups.test.ts": 44, "src/main/source-control/hosted-review.test.ts": 555, - "src/main/source-control/repo-default-branch.test.ts": 139, "src/main/source-control/repo-remote-head-branch.test.ts": 147, "src/main/speech/model-manager-download-error.test.ts": 123, "src/main/speech/model-manager-download-resume.test.ts": 1130, "src/main/speech/model-manager-progress-callback.test.ts": 114, "src/main/speech/model-manager-stream-cleanup.test.ts": 204, "src/main/speech/model-manager-windows-path.test.ts": 238, - "src/main/speech/model-manager.test.ts": 131, "src/main/speech/node-speech-download-request.test.ts": 53, "src/main/speech/openai-api-key-store.test.ts": 79, "src/main/speech/openai-transcription-client.test.ts": 50, @@ -4086,7 +3812,6 @@ "src/main/sqlite/sync-database-portability.test.ts": 147, "src/main/sqlite/sync-database.test.ts": 860, "src/main/ipc/pty/pane/ssh-expired-lease-pane-readoption.test.ts": 2799, - "src/main/persistence/loading-store/ssh-reattach-pane-cardinality.test.ts": 1778, "src/main/ssh/config/ssh-config-alias-claim.test.ts": 58, "src/main/ssh/config/ssh-config-host-picker.test.ts": 221, "src/main/ssh/config/ssh-config-loader-regression.test.ts": 102, @@ -4098,7 +3823,6 @@ "src/main/ssh/host-keys/ssh-known-hosts.test.ts": 105, "src/main/ssh/external-editors/zed-ssh-url.test.ts": 55, "src/main/ssh/connection/ssh-connect-config.test.ts": 182, - "src/main/ssh/connection/ssh-connection-attribution.test.ts": 44, "src/main/ssh/connection/ssh-connection-auth-fallback.test.ts": 512, "src/main/ssh/connection/ssh-connection-channel-error.test.ts": 461, "src/main/ssh/connection/ssh-connection-channel-open.test.ts": 1230, @@ -4127,10 +3851,8 @@ "src/main/ssh/legacy-relay/bridge/legacy-relay-bridge-relay-restart.test.ts": 98, "src/main/ssh/legacy-relay/bridge/legacy-relay-bridge-restart-stop.test.ts": 3114, "src/main/ssh/legacy-relay/bridge/legacy-relay-bridge-runtime-exit.test.ts": 3411, - "src/main/ssh/legacy-relay/cli/legacy-relay-cli-call-limits.test.ts": 7977, "src/main/ssh/legacy-relay/cli/legacy-relay-cli-legacy-records.test.ts": 6234, - "src/main/ssh/legacy-relay/cli/legacy-relay-cli-server.test.ts": 9385, "src/main/ssh/legacy-relay/bridge/legacy-relay-client.test.ts": 109, "src/main/ssh/legacy-relay/bridge/legacy-relay-hidden-output.test.ts": 179, @@ -4157,18 +3879,17 @@ "src/main/managed-server/migration/catalog/orcad-migration-catalog-client-source-kind.test.ts": 400, "src/main/managed-server/migration/catalog/orcad-migration-catalog-client.test.ts": 400, "src/main/managed-server/migration/cutover/orcad-migration-cutover-coordinator.test.ts": 2408, - "src/main/persistence/migrating-orcad-catalog/orcad-migration-cutover-journal.test.ts": 369, "src/main/managed-server/migration/cutover/orcad-migration-delta-move.test.ts": 3812, "src/main/managed-server/migration/cutover/orcad-migration-delta-snapshot.test.ts": 2611, "src/main/managed-server/migration/linking/orcad-migration-repository-link.test.ts": 4281, "src/main/managed-server/migration/transfers/orcad-migration-snapshot-coordinator.test.ts": 309, "src/main/ssh/migration-source/orcad-migration-source-fence.test.ts": 2000, - "src/main/persistence/migrating-orcad-catalog/orcad-migration-source-retention.test.ts": 2297, + "src/main/persistence/migrating-orcad-catalog/retained-source/orcad-migration-source-retention.test.ts": 2297, "src/main/managed-server/migration/cutover/orcad-migration-stuck-host-profiles.test.ts": 2402, "src/main/ssh/migration-source/orcad-migration-terminal-gate.test.ts": 63, "src/main/managed-server/install/orcad-remote-deploy.test.ts": 537, "src/main/managed-server/activation/orcad-retained-fence-takeover.test.ts": 210, - "src/main/persistence/migrating-orcad-catalog/orcad-retained-source-changes.test.ts": 2185, + "src/main/persistence/migrating-orcad-catalog/retained-source/orcad-retained-source-changes.test.ts": 2185, "src/main/managed-server/lifecycle/orcad-runtime-maintenance.test.ts": 916, "src/main/managed-server/host-state/orcad-snapshot-room.test.ts": 402, "src/main/managed-server/lifecycle/orcad-stdio-bridge.test.ts": 627, @@ -4273,10 +3994,8 @@ "src/main/startup/main-process-quit-pending-writer.test.ts": 328, "src/main/startup/main-process-quit-update-veto.test.ts": 1714, "src/main/startup/main-process-ready-activation-failure.test.ts": 313, - "src/main/startup/main-process-ready-identity-write.test.ts": 3997, "src/main/startup/main-process-ready-persistence-cleanup.test.ts": 164, "src/main/startup/main-process-ready-phase-ordering.test.ts": 242, - "src/main/startup/main-process-runtime-launch-activation.test.ts": 1369, "src/main/startup/main-window-actions-quit-and-stop-all-sessions.test.ts": 488, "src/main/startup/os-opened-document-resolution.test.ts": 74, "src/main/startup/os-opened-documents.test.ts": 67, @@ -4324,7 +4043,6 @@ "src/main/telemetry/validator-warn-cache.test.ts": 187, "src/main/telemetry/validator.test.ts": 170, "src/main/telemetry/wsl-usage-reporter.test.ts": 407, - "src/main/pty/history/terminal-history-async-delete.test.ts": 374, "src/main/pty/history/terminal-history-gc-fs-call-count.test.ts": 157, "src/main/pty/history/terminal-history-gc.test.ts": 824, "src/main/pty/history/terminal-history-tombstone-retry.test.ts": 715, @@ -4378,22 +4096,10 @@ "src/main/updater/lifecycle/serve-supervisor-install-park.test.ts": 173, "src/main/updater/mac-install/shipit-leftover-recovery.test.ts": 136, "src/main/updater/lifecycle/updater-wsl-move-install-hold.test.ts": 287, - "src/main/usage/usage-cache-snapshot-writer.test.ts": 55, - "src/main/usage/usage-worktree-canonicalizer.test.ts": 43, - "src/main/usage/usage-worktree-metadata.test.ts": 61, - "src/main/usage/agent-token-usage-reporter.test.ts": 343, - "src/main/usage/analytics-session-id-store.test.ts": 195, - "src/main/usage/highest-usage-key.test.ts": 45, - "src/main/usage/jsonl-file-reader.test.ts": 112, - "src/main/usage/jsonl-file-snapshot.test.ts": 54, - "src/main/usage/jsonl-line-offsets.test.ts": 66, - "src/main/usage/usage-breakdown-scaling.test.ts": 84, - "src/main/usage/usage-calendar-range.test.ts": 53, - "src/main/usage/usage-provider-store-initialization.test.ts": 586, - "src/main/usage/usage-provider-store-lifecycle.test.ts": 769, - "src/main/usage/usage-scan-worker-cache-cleanup.test.ts": 153, - "src/main/usage/usage-source-cache-file.test.ts": 94, - "src/main/usage/usage-worktree-resolver.test.ts": 269, + "src/main/usage/reporting/token-usage/analytics-session-id-store.test.ts": 195, + "src/main/usage/source-input/jsonl/jsonl-file-reader.test.ts": 112, + "src/main/usage/rollups/usage-breakdown-scaling.test.ts": 84, + "src/main/usage/cache/usage-source-cache-file.test.ts": 94, "src/main/warp-themes/discovery.test.ts": 58, "src/main/warp-themes/index.test.ts": 678, "src/main/warp-themes/manual-warp-theme-files.test.ts": 104, @@ -4401,11 +4107,9 @@ "src/main/warp-themes/parser.test.ts": 85, "src/main/warp-themes/theme-file-scanner.test.ts": 56, "src/main/windows/windows-command-paths.test.ts": 77, - "src/main/window/attach-main-window-services.test.ts": 964, "src/main/window/clipboard-agent-session-attachment-paste.test.ts": 585, "src/main/window/clipboard-copied-file-paths.test.ts": 58, "src/main/window/clipboard-dashboard-popout-access.test.ts": 1361, - "src/main/window/clipboard-ipc-handlers.test.ts": 496, "src/main/window/clipboard-macos-image-paste.test.ts": 1087, "src/main/window/clipboard-publisher-executable.test.ts": 62, "src/main/window/clipboard-remote-file-staging-fs.test.ts": 66, @@ -4415,11 +4119,8 @@ "src/main/window/createMainWindow-close-confirmation.test.ts": 1319, "src/main/window/createMainWindow-low-commit-oom-recovery.test.ts": 1642, "src/main/window/createMainWindow-markdown-editor-focus.test.ts": 1084, - "src/main/window/createMainWindow-recovery-reload-watchdog.test.ts": 1251, "src/main/window/createMainWindow-renderer-crash-recovery.test.ts": 1613, - "src/main/window/createMainWindow-terminal-focus-shortcuts.test.ts": 2628, "src/main/window/createMainWindow-user-quit-close.test.ts": 1592, - "src/main/window/createMainWindow.test.ts": 1603, "src/main/window/darwin-user-temp-dir.test.ts": 51, "src/main/window/dragged-temp-file-copy.test.ts": 197, "src/main/window/dropped-path-preparation-ipc.test.ts": 129, @@ -4499,7 +4200,7 @@ "src/main/workspaces/removal/retirement/worktree-retirement-discovery-wsl.test.ts": 355, "src/main/workspaces/creation/worktree-root-preparation.test.ts": 180, "src/main/workspaces/removal/worktree-trash.test.ts": 126, - "src/main/persistence/moving-wsl-projects/wsl-approved-root-race.wsl.test.ts": 102, + "src/main/persistence/moving-wsl-projects/quiescence/wsl-approved-root-race.wsl.test.ts": 102, "src/main/wsl/discovery/wsl-background-distro-gate.test.ts": 674, "src/main/wsl/discovery/wsl-console-running-distros.test.ts": 57, "src/main/wsl/discovery/wsl-distro-list-output.test.ts": 43, @@ -4507,7 +4208,6 @@ "src/main/wsl/execution/wsl-interop-spawn-directory.test.ts": 52, "src/main/wsl/discovery/wsl-last-seen-running-age.test.ts": 84, "src/main/wsl/execution/wsl-managed-cli-path-restore.test.ts": 68, - "src/main/persistence/moving-wsl-projects/wsl-move-incidental-writes.test.ts": 1170, "src/main/wsl/discovery/wsl-running-distro-stop.test.ts": 42, "src/main/wsl/discovery/wsl-running-distros.test.ts": 201, "src/main/wsl/filesystem/wsl-running-path-filter.test.ts": 57, @@ -4532,7 +4232,6 @@ "src/main/wsl/execution/wsl-guest-pane-process-script-cost.test.ts": 213, "src/main/wsl/execution/wsl-guest-pane-processes.test.ts": 48, "src/main/wsl/execution/wsl-guest-process-identity.test.ts": 54, - "src/main/wsl/host-lifecycle/wsl-host-automation-wake.test.ts": 288, "src/main/wsl/host-lifecycle/wsl-host-kept-for-peers.test.ts": 159, "src/main/wsl/host-lifecycle/wsl-host-pending-removal.test.ts": 955, "src/main/wsl/host-lifecycle/wsl-host-server-stop.test.ts": 407, @@ -4620,15 +4319,11 @@ "src/preload/ssh-authority-forwarding.test.ts": 1111, "src/preload/updater-package-recovery.test.ts": 1102, "src/preload/usage-provider-api.test.ts": 46, - "src/renderer/src/app-shell/app-command-handlers-tab-rename.test.ts": 1786, "src/renderer/src/app-shell/shutdown-checkpoint-persist.test.ts": 65, - "src/renderer/src/app-shell/shutdown-checkpoint-restart-lifecycle.test.ts": 210, "src/renderer/src/app-shell/startup-window-parity.test.ts": 2306, "src/renderer/src/app-shell/use-profile-state-save-delay-notice.sonner.test.tsx": 355, "src/renderer/src/app-shell/use-profile-state-save-delay-notice.test.tsx": 293, - "src/renderer/src/app-shell/use-visible-hosted-review-refresh.test.tsx": 572, "src/renderer/src/app-shell/visible-review-reporting.test.ts": 1872, - "src/renderer/src/app-shell/workspace-view-cross-client-sync.test.tsx": 1170, "src/renderer/src/app-shell/worktree-creation-chat-handoff.test.tsx": 2824, "src/renderer/src/assets/theme-token-contrast.test.ts": 66, "src/renderer/src/attention/agent-attention-policy.test.ts": 49, @@ -4641,12 +4336,8 @@ "src/renderer/src/components/JiraIssueWorkspace.optimistic-edit.test.tsx": 2340, "src/renderer/src/components/JiraIssueWorkspace.status-queue.test.tsx": 1852, "src/renderer/src/components/JiraIssueWorkspace.transition-source.test.tsx": 1843, - "src/renderer/src/components/NativeChatRemoteResume.test.tsx": 8774, - "src/renderer/src/components/NativeChatResumeOnRestartGroups.selection.test.tsx": 2633, - "src/renderer/src/components/NativeChatResumeOnRestartGroups.test.tsx": 3472, "src/renderer/src/components/NewWorkspaceComposerCard.quick-file-drop.test.tsx": 4557, "src/renderer/src/components/NewWorkspaceComposerCard.set-location.test.tsx": 1301, - "src/renderer/src/components/QuickOpen.selection.test.tsx": 1046, "src/renderer/src/components/SelectedTextCopyMenu.test.tsx": 329, "src/renderer/src/components/TerminalSearch.test.tsx": 458, "src/renderer/src/components/UpdateCard.error-card.test.tsx": 2851, @@ -4675,56 +4366,37 @@ "src/renderer/src/components/artifacts/ArtifactPublishButton.test.tsx": 706, "src/renderer/src/components/artifacts/ArtifactsPage.test.tsx": 2052, "src/renderer/src/components/artifacts/artifact-publish-flow.test.ts": 114, - "src/renderer/src/components/automations/AutomationEditorPromptEditor.test.tsx": 396, + "src/renderer/src/components/automations/authoring/AutomationEditorPromptEditor.test.tsx": 396, "src/renderer/src/components/automations/AutomationPromptDisclosure.test.tsx": 893, "src/renderer/src/components/automations/AutomationRunsTable.test.tsx": 668, - "src/renderer/src/components/automations/AutomationSchedulePicker.test.ts": 431, - "src/renderer/src/components/automations/AutomationTimeField.test.tsx": 654, + "src/renderer/src/components/automations/authoring/AutomationSchedulePicker.test.ts": 431, "src/renderer/src/components/automations/AutomationsPage.behavior.test.tsx": 3389, "src/renderer/src/components/automations/AutomationsPage.edit-destination.test.tsx": 2932, - "src/renderer/src/components/automations/AutomationsPage.run-navigation.test.tsx": 3056, "src/renderer/src/components/automations/ExternalAutomationManagers.test.tsx": 852, - "src/renderer/src/components/automations/automation-captured-owner.test.ts": 379, - "src/renderer/src/components/automations/automation-create-projects.test.ts": 42, + "src/renderer/src/components/automations/hosts/automation-captured-owner.test.ts": 379, "src/renderer/src/components/automations/automation-host-cache-controller.test.ts": 411, - "src/renderer/src/components/automations/automation-host-cache-error.test.ts": 391, - "src/renderer/src/components/automations/automation-host-cache-health.test.ts": 52, - "src/renderer/src/components/automations/automation-host-cache.test.ts": 79, - "src/renderer/src/components/automations/automation-host-catalog-generation.test.ts": 258, - "src/renderer/src/components/automations/automation-host-client.test.ts": 374, + "src/renderer/src/components/automations/hosts/automation-host-cache.test.ts": 79, "src/renderer/src/components/automations/automation-host-diagnostics.test.ts": 460, - "src/renderer/src/components/automations/automation-host-filter-resolution.test.ts": 256, - "src/renderer/src/components/automations/automation-host-health.test.ts": 47, "src/renderer/src/components/automations/automation-host-invalidation-window-events.test.ts": 83, "src/renderer/src/components/automations/automation-host-invalidation.test.ts": 85, - "src/renderer/src/components/automations/automation-host-list-rows.test.ts": 419, - "src/renderer/src/components/automations/automation-host-recovery.test.ts": 51, + "src/renderer/src/components/automations/hosts/automation-host-list-rows.test.ts": 419, "src/renderer/src/components/automations/automation-host-scale-gates.test.ts": 638, - "src/renderer/src/components/automations/automation-host-scheduler.test.ts": 439, - "src/renderer/src/components/automations/automation-legacy-schedule-editing.test.ts": 449, - "src/renderer/src/components/automations/automation-list-focus-recovery.test.ts": 48, - "src/renderer/src/components/automations/automation-list-row-identity.test.ts": 626, - "src/renderer/src/components/automations/automation-list-search.test.ts": 75, + "src/renderer/src/components/automations/hosts/automation-host-scheduler.test.ts": 439, + "src/renderer/src/components/automations/authoring/automation-legacy-schedule-editing.test.ts": 449, "src/renderer/src/components/automations/automation-list-view.test.ts": 257, - "src/renderer/src/components/automations/automation-run-context.test.ts": 58, - "src/renderer/src/components/automations/automation-run-history-keyboard-navigation.test.ts": 434, - "src/renderer/src/components/automations/automation-run-open-target.test.ts": 442, + "src/renderer/src/components/automations/runs/automation-run-open-target.test.ts": 442, "src/renderer/src/components/automations/automation-run-output-snapshot-equivalence.test.ts": 158, "src/renderer/src/components/automations/automation-run-output-snapshot.test.ts": 96, - "src/renderer/src/components/automations/automation-setup-decision.test.ts": 58, + "src/renderer/src/components/automations/authoring/automation-setup-decision.test.ts": 58, "src/renderer/src/components/automations/automation-usage-model.test.ts": 200, "src/renderer/src/components/automations/external-automation-list-entries.test.ts": 57, - "src/renderer/src/components/automations/external-automation-scope-gating.test.ts": 67, + "src/renderer/src/components/automations/external/external-automation-scope-gating.test.ts": 67, "src/renderer/src/components/automations/external-automation-scope-keys.test.ts": 53, - "src/renderer/src/components/automations/use-automation-host-catalog-readoption.test.tsx": 802, - "src/renderer/src/components/automations/use-automation-host-catalog.test.tsx": 920, - "src/renderer/src/components/automations/use-automation-list-focus-recovery.test.tsx": 229, - "src/renderer/src/components/automations/use-automation-list-search.test.tsx": 679, - "src/renderer/src/components/automations/use-automation-runs-dashboard-payload.test.tsx": 6692, - "src/renderer/src/components/automations/use-automation-runs-dashboard.test.tsx": 854, + "src/renderer/src/components/automations/hosts/use-automation-host-catalog-readoption.test.tsx": 802, + "src/renderer/src/components/automations/hosts/use-automation-host-catalog.test.tsx": 920, + "src/renderer/src/components/automations/listing/use-automation-list-search.test.tsx": 679, "src/renderer/src/components/automations/use-selected-automation-run-history.test.tsx": 2104, "src/renderer/src/components/browser-favicon.test.tsx": 333, - "src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.dead-guest.test.tsx": 6219, "src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.drag-focus.test.tsx": 5826, "src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.failure-remount.test.tsx": 3085, "src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.markup.test.tsx": 4575, @@ -4761,17 +4433,14 @@ "src/renderer/src/components/browser-pane/history/use-browser-history-shortcut.test.tsx": 1990, "src/renderer/src/components/browser-pane/host-guest/agent-input-focus-guard.test.ts": 228, "src/renderer/src/components/browser-pane/host-guest/browser-automation-visibility.test.ts": 45, - "src/renderer/src/components/browser-pane/host-guest/browser-guest-eviction-veto.test.ts": 1724, "src/renderer/src/components/browser-pane/host-guest/browser-page-evicted-guest-recovery.test.ts": 1839, "src/renderer/src/components/browser-pane/host-guest/browser-page-guest-recovery.test.ts": 515, "src/renderer/src/components/browser-pane/host-guest/browser-page-registration-ownership.test.ts": 2197, "src/renderer/src/components/browser-pane/host-guest/browser-page-viewport.test.ts": 242, - "src/renderer/src/components/browser-pane/host-guest/browser-page-window-close.test.ts": 54, "src/renderer/src/components/browser-pane/host-guest/browser-system-resume.test.ts": 187, "src/renderer/src/components/browser-pane/host-guest/use-browser-page-keyboard-shortcuts.split.test.tsx": 2098, "src/renderer/src/components/browser-pane/host-guest/use-browser-page-webview-partition.test.ts": 1985, "src/renderer/src/components/browser-pane/host-guest/webview-registry.test.ts": 103, - "src/renderer/src/components/browser-pane/navigate/browser-file-editor-open.test.ts": 1853, "src/renderer/src/components/browser-pane/navigate/browser-load-failure-overlay.test.tsx": 831, "src/renderer/src/components/browser-pane/navigate/browser-page-download-activity.test.ts": 44, "src/renderer/src/components/browser-pane/navigate/browser-webview-load-failure.test.ts": 243, @@ -4791,7 +4460,6 @@ "src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.failure-message.test.tsx": 3251, "src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.toolbar.test.tsx": 4357, "src/renderer/src/components/browser-pane/workspace-doc/doc-preview-artifact-share.test.ts": 1754, - "src/renderer/src/components/browser-pane/workspace-doc/doc-preview-document-actions.test.ts": 327, "src/renderer/src/components/browser-pane/workspace-doc/doc-preview-external-link-confirmation.test.ts": 1057, "src/renderer/src/components/browser-pane/workspace-doc/doc-preview-webview-attach.test.ts": 200, "src/renderer/src/components/browser-pane/workspace-doc/use-doc-preview-guest-tools.test.ts": 439, @@ -4815,14 +4483,10 @@ "src/renderer/src/components/dashboard-popout/AgentTerminalPreview.frame-lifecycle.test.tsx": 2678, "src/renderer/src/components/dashboard-popout/AgentTerminalPreview.settings-geometry.test.tsx": 2194, "src/renderer/src/components/dashboard-popout/AgentTerminalPreview.settings-lifetime.test.tsx": 2488, - "src/renderer/src/components/dashboard-popout/AgentTerminalPreview.test.tsx": 3334, "src/renderer/src/components/dashboard-popout/dashboard-agent-status-patch.test.ts": 74, "src/renderer/src/components/dashboard-popout/dashboard-preview-link-composition.test.tsx": 8657, "src/renderer/src/components/dashboard-popout/preview-terminal-box-fit-lifecycle.test.ts": 192, "src/renderer/src/components/dashboard-popout/preview-terminal-ime-bridge-kitty-bytes.test.ts": 479, - "src/renderer/src/components/dashboard-popout/remote-runtime-terminal-preview-api.test.ts": 81, - "src/renderer/src/components/dashboard-popout/use-agent-dashboard-telemetry.test.ts": 2108, - "src/renderer/src/components/dashboard-popout/useDashboardSnapshot.test.tsx": 432, "src/renderer/src/components/dashboard/AgentDashboardDrawer.focus.test.tsx": 2567, "src/renderer/src/components/dashboard/AgentDashboardDrawer.test.tsx": 1981, "src/renderer/src/components/dashboard/agent-dashboard-open-mode.test.ts": 48, @@ -4832,7 +4496,6 @@ "src/renderer/src/components/dashboard/build-dashboard-snapshot-folder-workspace.test.ts": 2150, "src/renderer/src/components/dashboard/build-dashboard-snapshot.test.ts": 2121, "src/renderer/src/components/dashboard/reveal-dashboard-agent.test.ts": 1098, - "src/renderer/src/components/dashboard/useLiveDashboardSnapshot.test.ts": 3346, "src/renderer/src/components/dashboard/useRetainedAgents.test.ts": 2028, "src/renderer/src/components/dictation/dictation-insertion-target.test.ts": 323, "src/renderer/src/components/dictation/microphone-devices.test.ts": 270, @@ -4843,42 +4506,29 @@ "src/renderer/src/components/diff-comments/diff-comment-popover-outside-click.test.tsx": 1889, "src/renderer/src/components/diff-comments/useDiffCommentDecorator.lifecycle.test.tsx": 2669, "src/renderer/src/components/diff-comments/useDiffCommentDecorator.range-selection.test.tsx": 1782, - "src/renderer/src/components/editor/check-details/panel/CheckRunDetailsPanel.captured-failure.test.tsx": 2412, "src/renderer/src/components/editor/check-details/panel/CheckRunDetailsPanel.copy.test.tsx": 3108, - "src/renderer/src/components/editor/check-details/panel/CheckRunDetailsPanel.log-outcomes.test.tsx": 3230, "src/renderer/src/components/editor/DiagramViewerModal.test.tsx": 2539, "src/renderer/src/components/editor/diff/sections/DiffSectionBody.word-wrap-lifecycle.test.tsx": 3036, "src/renderer/src/components/editor/diff/monaco-view/DiffViewer.word-wrap-lifecycle.test.tsx": 2499, "src/renderer/src/components/editor/EditorConflictReviewSurface.live-record.test.tsx": 1193, - "src/renderer/src/components/editor/EditorContent.monaco-lifecycle.test.tsx": 3162, "src/renderer/src/components/editor/EditorEditFileSurface.monaco-containment.test.tsx": 2666, - "src/renderer/src/components/editor/EditorFileLoadErrorView.test.tsx": 660, "src/renderer/src/components/editor/EditorFileLocationMenuItems.test.tsx": 846, "src/renderer/src/components/editor/EditorPanel.custom-editor-flush.test.tsx": 2478, "src/renderer/src/components/editor/EditorPanel.diff-rich-owner.test.tsx": 2823, - "src/renderer/src/components/editor/EditorPanelHeaderPath.test.tsx": 2664, "src/renderer/src/components/editor/notebook/cells/IpynbCellEditor.external-sync.test.tsx": 1660, "src/renderer/src/components/editor/notebook/kernel/IpynbKernelToolbar.test.tsx": 736, - "src/renderer/src/components/editor/notebook/document/IpynbRendering.test.tsx": 2143, "src/renderer/src/components/editor/markdown-preview/surface/MarkdownPreview.link-routing.interaction.test.tsx": 1127, "src/renderer/src/components/editor/MediaViewer.test.tsx": 308, - "src/renderer/src/components/editor/MermaidViewer.test.tsx": 3079, - "src/renderer/src/components/editor/MonacoEditor.owner-view-state.test.tsx": 7073, "src/renderer/src/components/editor/PdfFind.test.tsx": 581, "src/renderer/src/components/editor/PluginBytesCustomEditorSurface.test.tsx": 641, "src/renderer/src/components/editor/PluginEditorNeedsDesktopNotice.test.tsx": 2107, - "src/renderer/src/components/editor/PluginFileTypeSuggestion.test.tsx": 2062, "src/renderer/src/components/editor/rich-markdown/instance/RichMarkdownEditor.focus-leave.test.tsx": 4927, - "src/renderer/src/components/editor/rich-markdown/instance/RichMarkdownErrorBoundary.lazy-chunk.test.tsx": 367, "src/renderer/src/components/editor/ai-vault-session-log-content.test.tsx": 1899, "src/renderer/src/components/editor/check-details/actions/check-annotation-path.test.ts": 53, - "src/renderer/src/components/editor/check-details/reading/check-details-reading-viewport.test.ts": 259, "src/renderer/src/components/editor/model-lifetime/retention/closed-editor-model-lifetime.test.ts": 7921, - "src/renderer/src/components/editor/model-lifetime/retention/closed-editor-model-shell.test.tsx": 4492, "src/renderer/src/components/editor/model-lifetime/retention/closed-editor-tab-disposal.test.ts": 121, "src/renderer/src/components/editor/model-lifetime/retention/closed-editor-view-state-retention.test.ts": 9012, "src/renderer/src/components/editor/closed-unsaved-files-toast.test.ts": 448, - "src/renderer/src/components/editor/combined-diff/scroll-viewport/combined-diff-cursor-reveal.test.tsx": 3685, "src/renderer/src/components/editor/combined-diff/load-sections/combined-diff-load-scheduler.test.ts": 53, "src/renderer/src/components/editor/combined-diff/load-sections/combined-diff-metadata-retention.test.tsx": 1151, "src/renderer/src/components/editor/combined-diff/load-sections/combined-diff-section-connection.test.ts": 1699, @@ -4889,21 +4539,15 @@ "src/renderer/src/components/editor/combined-diff/resolve-changes/combined-diff-entries.test.ts": 54, "src/renderer/src/components/editor/combined-diff/review-controls/use-combined-diff-section-actions.disk-precondition.test.tsx": 2383, "src/renderer/src/components/editor/conflict-review-file-tree-windowing.test.tsx": 1487, - "src/renderer/src/components/editor/csv/CsvGrid.test.tsx": 994, "src/renderer/src/components/editor/csv/CsvViewer.delimiter.test.tsx": 2923, "src/renderer/src/components/editor/csv/CsvViewer.editing.test.tsx": 3583, - "src/renderer/src/components/editor/csv/csv-byte-index.test.ts": 1645, - "src/renderer/src/components/editor/csv/csv-cell-links.test.tsx": 302, - "src/renderer/src/components/editor/csv/csv-column-width-preferences.test.ts": 208, - "src/renderer/src/components/editor/csv/csv-paged-preview.test.ts": 143, - "src/renderer/src/components/editor/csv/csv-parse-budget.test.ts": 102, - "src/renderer/src/components/editor/csv/csv-parse.test.ts": 148, - "src/renderer/src/components/editor/csv/csv-pending-save.test.ts": 1926, - "src/renderer/src/components/editor/csv/csv-preview-save-safety.test.ts": 1973, - "src/renderer/src/components/editor/csv/csv-table-interactions.test.ts": 310, - "src/renderer/src/components/editor/csv/csv-text-document.test.ts": 153, - "src/renderer/src/components/editor/csv/useCsvPagedPreview.test.tsx": 429, - "src/renderer/src/components/editor/csv/useCsvPendingCell.test.tsx": 714, + "src/renderer/src/components/editor/csv/document/csv-byte-index.test.ts": 1645, + "src/renderer/src/components/editor/csv/document/csv-parse.test.ts": 148, + "src/renderer/src/components/editor/save/queue/csv-pending-save.test.ts": 1926, + "src/renderer/src/components/editor/save/queue/csv-preview-save-safety.test.ts": 1973, + "src/renderer/src/components/editor/csv/editing/csv-table-interactions.test.ts": 310, + "src/renderer/src/components/editor/csv/document/csv-text-document.test.ts": 153, + "src/renderer/src/components/editor/csv/editing/useCsvPendingCell.test.tsx": 714, "src/renderer/src/components/editor/view-mode/custom-editor-routing.test.ts": 2715, "src/renderer/src/components/editor/rich-markdown/details/details-markdown-html.test.ts": 93, "src/renderer/src/components/editor/save/flush/discard-editor-file-changes.save-race.test.ts": 1150, @@ -4914,7 +4558,6 @@ "src/renderer/src/components/editor/save/bytes/editor-bytes-documents.test.ts": 690, "src/renderer/src/components/editor/save/commands/editor-child-owner-save.test.tsx": 2480, "src/renderer/src/components/editor/external-changes/editor-clean-tab-draft-invariant.test.ts": 1274, - "src/renderer/src/components/editor/editor-dropped-file-open.test.ts": 595, "src/renderer/src/components/editor/external-changes/editor-external-watch-path-index.test.ts": 1754, "src/renderer/src/components/editor/save/commands/editor-file-save-utf8-conversion.test.ts": 1915, "src/renderer/src/components/editor/editor-git-discard-other-workspace.test.ts": 1967, @@ -4922,7 +4565,6 @@ "src/renderer/src/components/editor/model-lifetime/identity/editor-model-host-isolation.test.ts": 5906, "src/renderer/src/components/editor/model-lifetime/identity/editor-model-uri-labels.test.ts": 1223, "src/renderer/src/components/editor/editor-path-move-inflight.test.ts": 50, - "src/renderer/src/components/editor/external-changes/editor-restored-tab-conflict-scan.recheck.test.ts": 1796, "src/renderer/src/components/editor/external-changes/editor-restored-tab-conflict-scan.test.ts": 1809, "src/renderer/src/components/editor/save/queue/editor-save-disk-precondition.races.test.ts": 1290, "src/renderer/src/components/editor/save/queue/editor-save-disk-precondition.test.ts": 1431, @@ -4976,7 +4618,6 @@ "src/renderer/src/components/editor/monaco-programmatic-sync.test.ts": 46, "src/renderer/src/components/editor/pdf-orca-media-range-transport.test.ts": 282, "src/renderer/src/components/editor/pdf-view-position.test.ts": 74, - "src/renderer/src/components/editor/pdf-viewer-failed-load-recovery.test.tsx": 2363, "src/renderer/src/components/editor/pdf-viewer-zoom-ownership.test.tsx": 789, "src/renderer/src/components/editor/plugin-custom-editor-host.test.ts": 480, "src/renderer/src/components/editor/rich-markdown/raw-source/raw-markdown-html-line-break.test.ts": 2188, @@ -5047,17 +4688,13 @@ "src/renderer/src/components/editor/use-monaco-editor-mount.cursor-owner.test.tsx": 1332, "src/renderer/src/components/editor/use-monaco-editor-mount.stale-cache.test.tsx": 877, "src/renderer/src/components/editor/use-monaco-reveal-scheduler.test.tsx": 273, - "src/renderer/src/components/editor/use-pdf-viewer-find-shortcut.test.tsx": 907, "src/renderer/src/components/editor/use-preserve-section-during-external-edit.test.tsx": 268, "src/renderer/src/components/editor/rich-markdown/tables/use-rich-markdown-table-context-menu.test.tsx": 2238, - "src/renderer/src/components/editor/useEditorPanelContentState.test.tsx": 3214, "src/renderer/src/components/editor/external-changes/useEditorPanelExternalContentEvents.test.tsx": 2018, "src/renderer/src/components/editor/useEditorPanelFloatingTabContentState.test.tsx": 889, "src/renderer/src/components/editor/useEditorPanelHostUnresolvedContentState.test.tsx": 1952, - "src/renderer/src/components/editor/useEditorPanelVisibilityContentState.test.tsx": 2006, "src/renderer/src/components/editor/notebook/kernel/useIpynbCellExecution.test.tsx": 695, "src/renderer/src/components/editor/notebook/document/useIpynbDocumentEditing.test.tsx": 2192, - "src/renderer/src/components/editor/notebook/document/useIpynbScrollRestoration.test.tsx": 323, "src/renderer/src/components/editor/rich-markdown/links/useLinkBubble.test.tsx": 493, "src/renderer/src/components/editor/rich-markdown/images/useLocalImagePick.test.tsx": 1319, "src/renderer/src/components/editor/document-images/useLocalImageSrc.test.ts": 736, @@ -5081,15 +4718,10 @@ "src/renderer/src/components/emulator-pane/emulator-screen-stream-content.test.tsx": 408, "src/renderer/src/components/emulator-pane/use-emulator-pane-session.test.tsx": 1968, "src/renderer/src/components/emulator-pane/use-mobile-emulator-tab-intro-actions.test.tsx": 1828, - "src/renderer/src/components/error-boundaries/RecoverableRenderErrorBoundary.lazy-chunk.test.tsx": 451, - "src/renderer/src/components/error-boundaries/RecoverableRenderErrorBoundary.never-landed-reload.test.tsx": 449, - "src/renderer/src/components/feature-tips/ChatUiHereCornerCard.test.tsx": 2798, "src/renderer/src/components/feature-tips/ChatUiHereFeatureTipVisual.test.tsx": 1093, - "src/renderer/src/components/feature-tips/ChatUiHereTip.test.tsx": 6788, "src/renderer/src/components/feature-tips/feature-tip-modal-state.test.ts": 244, "src/renderer/src/components/feature-wall/FeatureWallSetupWorkflowActions.test.tsx": 2028, "src/renderer/src/components/feature-wall/FullDiskAccessSetupPrompt.test.ts": 466, - "src/renderer/src/components/floating-terminal/floating-terminal-panel-bounds.test.ts": 68, "src/renderer/src/components/floating-terminal/floating-workspace-tab-reorder.test.ts": 2520, "src/renderer/src/components/github-checks-tab-state.test.ts": 52, "src/renderer/src/components/github-item-dialog/edit-item-fields/gh-edit-section.assignee-identity.test.tsx": 461, @@ -5099,7 +4731,6 @@ "src/renderer/src/components/github-item-dialog/open-dialog/github-item-dialog.task-record.test.tsx": 1391, "src/renderer/src/components/github-project/GhAuthErrorHelp.test.ts": 479, "src/renderer/src/components/github-project/ProjectBoard.test.tsx": 988, - "src/renderer/src/components/github-project/ProjectRoadmap.test.tsx": 2369, "src/renderer/src/components/github-project/github-project-picker-filter.test.ts": 53, "src/renderer/src/components/github-project/group-sort.test.ts": 75, "src/renderer/src/components/github-project/project-dialog-state.test.ts": 48, @@ -5135,27 +4766,18 @@ "src/renderer/src/components/mobile/WindowsFirewallNotice.test.tsx": 691, "src/renderer/src/components/mobile/paired-mobile-devices.test.ts": 192, "src/renderer/src/components/mobile/use-mobile-page-paired-devices.test.ts": 475, - "src/renderer/src/components/native-chat-launch-resume-decision.test.tsx": 1844, - "src/renderer/src/components/native-chat-resume-bulk-progress.test.tsx": 3261, - "src/renderer/src/components/native-chat-resume-failed-chat-watch.test.ts": 1954, - "src/renderer/src/components/native-chat-resume-failure-guidance.test.ts": 240, - "src/renderer/src/components/native-chat-resume-finished-run.test.tsx": 4173, - "src/renderer/src/components/native-chat-resume-on-restart-grouping.test.ts": 117, - "src/renderer/src/components/native-chat-resume-result-view.test.tsx": 2723, - "src/renderer/src/components/native-chat-resume-run.test.ts": 65, - "src/renderer/src/components/native-chat-resume-skipped-progress.test.tsx": 3009, + "src/renderer/src/components/native-chat-recovery/offers/native-chat-resume-failed-chat-watch.test.ts": 1954, + "src/renderer/src/components/native-chat-recovery/integration/native-chat-resume-finished-run.test.tsx": 4173, "src/renderer/src/components/native-chat/messages/rows/NativeChatAgentMessageCard.test.tsx": 3700, "src/renderer/src/components/native-chat/tools/tasks/NativeChatBackgroundTaskRun.test.tsx": 242, "src/renderer/src/components/native-chat/tools/tasks/NativeChatBackgroundTasksStatus.test.tsx": 782, "src/renderer/src/components/native-chat/markdown/code/NativeChatCodeBlock.load-failure.test.tsx": 594, "src/renderer/src/components/native-chat/markdown/code/NativeChatCodeBlock.test.tsx": 2775, - "src/renderer/src/components/native-chat/paste/NativeChatComposer.paste-remount.test.tsx": 3402, "src/renderer/src/components/native-chat/composer/controls/NativeChatComposer.resume-command.test.tsx": 1441, "src/renderer/src/components/native-chat/usage/NativeChatContextUsageRing.test.tsx": 781, "src/renderer/src/components/native-chat/attachments/chips/NativeChatImageAttachmentPreview.test.tsx": 2818, "src/renderer/src/components/native-chat/media/visuals/NativeChatInlineVisual.link-placement.test.tsx": 2477, "src/renderer/src/components/native-chat/prompts/NativeChatInteractiveCard.test.tsx": 2881, - "src/renderer/src/components/native-chat/usage/NativeChatInterruptedContinue.test.tsx": 2719, "src/renderer/src/components/native-chat/viewport/scroll/NativeChatJumpToLatest.test.tsx": 477, "src/renderer/src/components/native-chat/markdown/code/NativeChatMarkdown.code-wrap.test.tsx": 3123, "src/renderer/src/components/native-chat/media/images/NativeChatMarkdown.image-preview.test.tsx": 4346, @@ -5163,27 +4785,14 @@ "src/renderer/src/components/native-chat/media/visuals/NativeChatMarkdown.visual.test.tsx": 2860, "src/renderer/src/components/native-chat/messages/reasoning/NativeChatMessageList.live-reasoning.test.tsx": 20337, "src/renderer/src/components/native-chat/NativeChatMessageList.new-rows-marker.test.tsx": 4304, - "src/renderer/src/components/native-chat/viewport/history/NativeChatMessageList.older-history.test.tsx": 12659, - "src/renderer/src/components/native-chat/conversation/slots/NativeChatMessageList.opening-send.test.tsx": 3604, - "src/renderer/src/components/native-chat/conversation/slots/NativeChatMessageList.queued-turn-order.test.tsx": 2949, - "src/renderer/src/components/native-chat/viewport/navigation/NativeChatMessageList.rail-history-jump.test.tsx": 23851, "src/renderer/src/components/native-chat/viewport/scroll/NativeChatMessageList.scroll-behavior.test.tsx": 14260, - "src/renderer/src/components/native-chat/subagents/NativeChatMessageList.subagent-sections.test.tsx": 7517, - "src/renderer/src/components/native-chat/surfaces/integration/NativeChatMessageList.test.tsx": 4252, - "src/renderer/src/components/native-chat/conversation/turns/NativeChatMessageList.turn-indicator.test.tsx": 4070, - "src/renderer/src/components/native-chat/conversation/slots/NativeChatMessageList.turn-membership.test.tsx": 3527, - "src/renderer/src/components/native-chat/session/structured/delivery/NativeChatMessageList.unsent-message.test.tsx": 3069, "src/renderer/src/components/native-chat/viewport/scroll/NativeChatMessageList.visual-scroll.test.tsx": 6691, - "src/renderer/src/components/native-chat/viewport/virtualization/NativeChatMessageList.windowing.test.tsx": 20958, "src/renderer/src/components/native-chat/viewport/rail/NativeChatMessageRail.test.tsx": 1134, - "src/renderer/src/components/native-chat/messages/rows/NativeChatMessageRow.test.tsx": 3533, "src/renderer/src/components/native-chat/NativeChatNewRowsMarker.test.tsx": 3019, "src/renderer/src/components/native-chat/usage/NativeChatNoticeRow.test.tsx": 3399, - "src/renderer/src/components/native-chat/pane/actions/NativeChatPaneHeader.test.tsx": 2736, "src/renderer/src/components/native-chat/composer/editor/NativeChatPromptEditor.paragraph-selection.test.tsx": 652, "src/renderer/src/components/native-chat/composer/editor/NativeChatPromptEditor.test.tsx": 1110, "src/renderer/src/components/native-chat/prompts/NativeChatQuestionCard.test.tsx": 762, - "src/renderer/src/components/native-chat/queue/NativeChatQueuedMessageList.in-flight.test.tsx": 1865, "src/renderer/src/components/native-chat/queue/NativeChatQueuedMessageRows.test.tsx": 2691, "src/renderer/src/components/native-chat/prompts/NativeChatResolutionReceipt.test.tsx": 912, "src/renderer/src/components/native-chat/media/images/NativeChatResolvedView.context-menu.test.tsx": 4025, @@ -5195,9 +4804,7 @@ "src/renderer/src/components/native-chat/selection-quotes/NativeChatSelectionQuote.test.tsx": 2370, "src/renderer/src/components/native-chat/surfaces/integration/NativeChatStructuredSession.approval-and-start-failure.test.tsx": 2922, "src/renderer/src/components/native-chat/surfaces/integration/NativeChatStructuredSession.availability-notice.test.tsx": 2764, - "src/renderer/src/components/native-chat/surfaces/integration/NativeChatStructuredSession.history-read-state.test.tsx": 4919, "src/renderer/src/components/native-chat/surfaces/integration/NativeChatStructuredSession.host-outage.test.tsx": 3552, - "src/renderer/src/components/native-chat/surfaces/integration/NativeChatStructuredSession.notice-card.test.tsx": 2911, "src/renderer/src/components/native-chat/surfaces/integration/NativeChatStructuredSession.refusal-notices.test.tsx": 3014, "src/renderer/src/components/native-chat/surfaces/integration/NativeChatStructuredSession.test.tsx": 4459, "src/renderer/src/components/native-chat/tools/tasks/NativeChatStructuredSessionStatus.test.tsx": 583, @@ -5221,7 +4828,6 @@ "src/renderer/src/components/native-chat/session/options/terminal/claude-terminal-session-options.test.ts": 104, "src/renderer/src/components/native-chat/paste/inline-deferred-input.test.tsx": 2562, "src/renderer/src/components/native-chat/queue/editing/inline-queued-edit-lease.test.tsx": 2401, - "src/renderer/src/components/native-chat/composer/editor/inline-rich-draft-consumers.test.tsx": 2764, "src/renderer/src/components/native-chat/viewport/rail/native-chat-active-rail-item.test.ts": 62, "src/renderer/src/components/native-chat/messages/agent-senders/native-chat-agent-message-sender-host.test.tsx": 8140, "src/renderer/src/components/native-chat/messages/agent-senders/native-chat-agent-message-sender-identity.test.tsx": 1880, @@ -5238,13 +4844,10 @@ "src/renderer/src/components/native-chat/attachments/intake/native-chat-composer-drop-scope.test.tsx": 1409, "src/renderer/src/components/native-chat/attachments/intake/native-chat-composer-ime-file-drop.test.tsx": 1326, "src/renderer/src/components/native-chat/drafts/native-chat-composer-prompt-recall.test.tsx": 1724, - "src/renderer/src/components/native-chat/composer/focus/native-chat-composer-reveal-focus.test.tsx": 526, "src/renderer/src/components/native-chat/attachments/intake/native-chat-composer-workspace-file-drop.test.tsx": 1166, "src/renderer/src/components/native-chat/drafts/native-chat-draft-retention.test.ts": 1415, - "src/renderer/src/components/native-chat/attachments/intake/native-chat-element-file-drop.test.tsx": 2057, "src/renderer/src/components/native-chat/attachments/intake/native-chat-external-attachments-destination.test.tsx": 951, "src/renderer/src/components/native-chat/links/actions/native-chat-file-link-existence.test.ts": 1937, - "src/renderer/src/components/native-chat/pane/actions/native-chat-header-ownership.test.tsx": 2796, "src/renderer/src/components/native-chat/links/actions/native-chat-host-file-open.test.ts": 895, "src/renderer/src/components/native-chat/links/previews/native-chat-hover-preview-cache.test.ts": 49, "src/renderer/src/components/native-chat/attachments/chips/native-chat-image-references.test.tsx": 2485, @@ -5256,14 +4859,12 @@ "src/renderer/src/components/native-chat/native-chat-new-rows-marker.test.tsx": 581, "src/renderer/src/components/native-chat/pane/routing/native-chat-open-wake.test.ts": 1807, "src/renderer/src/components/native-chat/pane/ownership/native-chat-owner-selectors.test.tsx": 525, - "src/renderer/src/components/native-chat/attachments/intake/native-chat-pane-file-drop.test.tsx": 439, "src/renderer/src/components/native-chat/paste/native-chat-paste-routing.test.tsx": 2417, "src/renderer/src/components/native-chat/session/terminal/delivery/native-chat-pending.test.ts": 273, "src/renderer/src/components/native-chat/composer/editor/native-chat-prompt-document-text.test.ts": 219, "src/renderer/src/components/native-chat/composer/editor/native-chat-prompt-document.test.ts": 459, "src/renderer/src/components/native-chat/queue/editing/native-chat-queued-edit-draft.test.ts": 649, "src/renderer/src/components/native-chat/viewport/rail/native-chat-rail-outline-parity.test.ts": 497, - "src/renderer/src/components/native-chat/viewport/scroll/native-chat-reader-scroll-input.test.tsx": 311, "src/renderer/src/components/native-chat/attachments/uploads/native-chat-resolved-path-ownership.test.ts": 1749, "src/renderer/src/components/native-chat/viewport/virtualization/native-chat-row-height-estimate.test.ts": 293, "src/renderer/src/components/native-chat/drafts/native-chat-sent-prompt-history.test.ts": 217, @@ -5281,7 +4882,6 @@ "src/renderer/src/components/native-chat/tools/diffs/native-chat-turn-diffs.test.ts": 340, "src/renderer/src/components/native-chat/composer/editor/native-chat-unkerned-run-decorations.test.ts": 594, "src/renderer/src/components/native-chat/media/visuals/native-chat-visual-markdown-syntax.test.tsx": 2351, - "src/renderer/src/components/native-chat/conversation/turns/native-chat-working-status-shared-clock.test.tsx": 412, "src/renderer/src/components/native-chat/session/options/terminal/serialized-screen-background-rows.test.ts": 131, "src/renderer/src/components/native-chat/session/structured/delivery/structured-agent-session-message-hand-back.test.ts": 472, "src/renderer/src/components/native-chat/conversation/projection/structured-agent-session-message-projection.test.ts": 254, @@ -5289,8 +4889,6 @@ "src/renderer/src/components/native-chat/viewport/rail/structured-agent-session-rail-outline.test.ts": 48, "src/renderer/src/components/native-chat/session/structured/read/structured-agent-session-read-transport.test.ts": 243, "src/renderer/src/components/native-chat/session/status/structured-agent-session-status-bridge-clock.test.tsx": 2070, - "src/renderer/src/components/native-chat/session/status/structured-agent-session-status-bridge-failed-start.test.tsx": 2398, - "src/renderer/src/components/native-chat/session/status/structured-agent-session-status-bridge-unconfirmed-start.test.tsx": 2328, "src/renderer/src/components/native-chat/conversation/projection/structured-agent-session-transcript-order.test.ts": 294, "src/renderer/src/components/native-chat/session/attention/structured-attention-dispatch.test.ts": 1974, "src/renderer/src/components/native-chat/session/status/structured-chat-sleep-startup.test.tsx": 2285, @@ -5304,7 +4902,6 @@ "src/renderer/src/components/native-chat/conversation/projection/use-native-chat-context-clear-floor.test.tsx": 271, "src/renderer/src/components/native-chat/pane/actions/use-native-chat-context-menu.targets.test.tsx": 3071, "src/renderer/src/components/native-chat/attachments/intake/use-native-chat-external-attachments.test.tsx": 797, - "src/renderer/src/components/native-chat/viewport/find/use-native-chat-find.test.tsx": 1458, "src/renderer/src/components/native-chat/session/status/use-native-chat-hook-status.test.ts": 1927, "src/renderer/src/components/native-chat/host-access/use-native-chat-host-outage.test.tsx": 2131, "src/renderer/src/components/native-chat/drafts/use-native-chat-launch-draft-adoption.test.tsx": 319, @@ -5340,24 +4937,19 @@ "src/renderer/src/components/new-workspace/DirectWorkItemSetupDialog.test.tsx": 5296, "src/renderer/src/components/new-workspace/NewWorkspaceComposerNameSection.test.tsx": 2493, "src/renderer/src/components/new-workspace/ProjectCombobox.dialog-handoff.test.tsx": 1043, - "src/renderer/src/components/new-workspace/ProjectCombobox.test.tsx": 848, - "src/renderer/src/components/new-workspace/ProjectComboboxRow.test.tsx": 415, "src/renderer/src/components/new-workspace/RunTargetCombobox.host-identity.test.tsx": 856, "src/renderer/src/components/new-workspace/SetProjectLocationDialog.host-identity.test.tsx": 1094, "src/renderer/src/components/new-workspace/SetProjectLocationDialog.test.tsx": 1387, "src/renderer/src/components/new-workspace/SmartWorkspaceNameField-repo-slug-routing.test.ts": 342, "src/renderer/src/components/new-workspace/smart-workspace-github-direct-link.test.ts": 347, "src/renderer/src/components/new-workspace/smart-workspace-source-results.test.ts": 136, - "src/renderer/src/components/new-workspace/use-jira-composer-project.test.tsx": 279, "src/renderer/src/components/new-workspace/use-jira-source-connection.test.tsx": 278, "src/renderer/src/components/new-workspace/use-jira-url-source.test.tsx": 419, "src/renderer/src/components/new-workspace/use-linear-source-connection.test.tsx": 1335, "src/renderer/src/components/new-workspace/use-recent-project-ids.test.ts": 1730, "src/renderer/src/components/new-workspace/use-smart-workspace-name-field-foundation.source.test.tsx": 2290, "src/renderer/src/components/new-workspace/work-item-source-selection.test.ts": 1736, - "src/renderer/src/components/onboarding/OnboardingInlineCommandTerminal.command-finished.test.tsx": 681, "src/renderer/src/components/onboarding/OnboardingLanguageLoading.test.tsx": 2167, - "src/renderer/src/components/onboarding/onboarding-feature-setup.test.ts": 76, "src/renderer/src/components/pet/pet-blob-cache.test.ts": 64, "src/renderer/src/components/plain-ssh-terminal/PlainSshTerminalPanels.test.tsx": 2510, "src/renderer/src/components/plugins/declarative/PluginDeclarativeView.test.tsx": 2804, @@ -5377,12 +4969,10 @@ "src/renderer/src/components/plugins/view/plugin-view-data-acts.test.tsx": 3002, "src/renderer/src/components/plugins/view/plugin-view-editor-capture.test.tsx": 1934, "src/renderer/src/components/plugins/view/plugin-view-editor-shot-cleanup.test.ts": 59, - "src/renderer/src/components/plugins/view/plugin-view-editor-workspace.test.ts": 99, "src/renderer/src/components/plugins/view/plugin-view-panel-settle.test.ts": 206, "src/renderer/src/components/plugins/view/plugin-view-request-handler-workspace.test.ts": 2307, "src/renderer/src/components/plugins/view/plugin-view-request-handler.test.ts": 2849, "src/renderer/src/components/ports/WorkspacePortScanner.test.tsx": 2474, - "src/renderer/src/components/pr-check-counts.test.ts": 193, "src/renderer/src/components/pull-request-page/actions/merge-actions.test.ts": 383, "src/renderer/src/components/pull-request-page/cache/file-content.test.ts": 344, "src/renderer/src/components/pull-request-page/page/use-details.test.tsx": 745, @@ -5407,7 +4997,6 @@ "src/renderer/src/components/right-sidebar/plugin-panels/PluginPanel.test.tsx": 2710, "src/renderer/src/components/right-sidebar/PortsPanel.test.tsx": 1618, "src/renderer/src/components/right-sidebar/ai-vault/session-list/SessionRowTrailingActions.menus.test.tsx": 698, - "src/renderer/src/components/right-sidebar/source-control/sync/SourceControl.compare-summary.test.ts": 279, "src/renderer/src/components/right-sidebar/source-control/review/SourceControl.pr-generation-records.test.ts": 102, "src/renderer/src/components/right-sidebar/source-control/ai/SourceControlAgentActionDialog.test.tsx": 2772, "src/renderer/src/components/right-sidebar/checks-panel/active-checks-status.test.ts": 1717, @@ -5419,12 +5008,10 @@ "src/renderer/src/components/right-sidebar/ai-vault/scanning/ai-vault-panel-session-list-request.test.tsx": 3044, "src/renderer/src/components/right-sidebar/ai-vault/search/ai-vault-search-session.test.ts": 201, "src/renderer/src/components/right-sidebar/ai-vault/accounts/ai-vault-session-account-render.test.tsx": 2885, - "src/renderer/src/components/right-sidebar/ai-vault/scanning/ai-vault-session-conditional-refresh-hook.test.tsx": 2370, "src/renderer/src/components/right-sidebar/ai-vault/session-list/ai-vault-session-filters.test.ts": 105, "src/renderer/src/components/right-sidebar/ai-vault/scope/ai-vault-session-projects.test.ts": 117, "src/renderer/src/components/right-sidebar/ai-vault/scanning/ai-vault-session-refresh.test.ts": 2034, "src/renderer/src/components/right-sidebar/ai-vault/session-actions/ai-vault-session-resume-in-chat-workspace.test.ts": 746, - "src/renderer/src/components/right-sidebar/ai-vault/session-actions/ai-vault-session-resume.test.ts": 1753, "src/renderer/src/components/right-sidebar/ai-vault/session-list/ai-vault-session-worktree.test.ts": 307, "src/renderer/src/components/right-sidebar/checks-panel/logs/check-log-initial-diagnostic-position.test.ts": 242, "src/renderer/src/components/right-sidebar/checks-panel/checks-list-expanded-details.test.tsx": 1549, @@ -5435,8 +5022,6 @@ "src/renderer/src/components/right-sidebar/checks-panel/gitlab-review-client.test.ts": 321, "src/renderer/src/components/right-sidebar/checks-panel/comments/review-comment-markdown.test.tsx": 2171, "src/renderer/src/components/right-sidebar/checks-panel/refresh/use-checks-panel-manual-refresh-recovery.test.tsx": 2909, - "src/renderer/src/components/right-sidebar/checks-panel/refresh/use-checks-panel-polling.test.tsx": 2189, - "src/renderer/src/lib/repository-refresh/coalesced-poll-runner.test.ts": 61, "src/renderer/src/components/right-sidebar/file-explorer/mutations/file-explorer-delete-undo-precondition.test.tsx": 2023, "src/renderer/src/components/right-sidebar/file-explorer/tree/file-explorer-dir-pages.test.ts": 1767, "src/renderer/src/components/right-sidebar/file-explorer/tree/file-explorer-directory-listing.test.ts": 2072, @@ -5450,19 +5035,15 @@ "src/renderer/src/components/right-sidebar/file-explorer/watching/file-explorer-watch-reconcile.test.ts": 1906, "src/renderer/src/components/right-sidebar/folder-workspace-attached-worktrees.test.ts": 70, "src/renderer/src/components/right-sidebar/source-control/sync/git-status-refresh.test.ts": 553, - "src/renderer/src/components/right-sidebar/source-control/sync/git-status-twin-copy.test.ts": 1841, "src/renderer/src/components/right-sidebar/hosted-review/folder-checks/parent-pr-checks-rows.test.ts": 374, "src/renderer/src/components/plugins/frames/plugin-frame-host-declarative.test.ts": 439, "src/renderer/src/components/right-sidebar/plugin-panels/health/plugin-panel-act-driver.test.ts": 293, "src/renderer/src/components/right-sidebar/plugin-panels/health/plugin-panel-watchdog.test.ts": 116, "src/renderer/src/components/right-sidebar/checks-panel/comments/pr-comments-ai-launch-ack.test.ts": 118, "src/renderer/src/components/right-sidebar/checks-panel/comments/pr-comments-list-selection.test.tsx": 3290, - "src/renderer/src/components/right-sidebar/right-sidebar-titlebar-drag-regions.render.test.tsx": 1044, "src/renderer/src/components/right-sidebar/source-control/ai/runSourceControlAgentActionStart.test.ts": 1917, "src/renderer/src/components/right-sidebar/source-control/review/source-control-create-pr-intent-flow.test.ts": 71, "src/renderer/src/components/right-sidebar/source-control/review/source-control-manual-review-url.test.ts": 77, - "src/renderer/src/components/right-sidebar/source-control/listing/source-control-submodule-expansion.test.ts": 80, - "src/renderer/src/components/right-sidebar/source-control/ai/use-ai.operation-recovery.test.tsx": 13031, "src/renderer/src/components/right-sidebar/source-control/commit/rename-mutation-paths.test.ts": 49, "src/renderer/src/components/right-sidebar/source-control/commit/source-control-entry-failure-toast.test.ts": 486, "src/renderer/src/components/right-sidebar/source-control/commit/use-commit-message-generation.cancel.test.ts": 1992, @@ -5471,7 +5052,6 @@ "src/renderer/src/components/right-sidebar/source-control/review/create-pr-intent-operation-target.test.ts": 1735, "src/renderer/src/components/right-sidebar/source-control/review/use-create-pr-intent-jira-title.test.tsx": 1956, "src/renderer/src/components/right-sidebar/source-control/review/use-pull-request-generation.test.tsx": 2720, - "src/renderer/src/components/right-sidebar/ssh-port-forward-dialog.ime-enter.test.tsx": 585, "src/renderer/src/components/right-sidebar/ai-vault/search/use-ai-vault-search.test.tsx": 688, "src/renderer/src/components/right-sidebar/checks-panel/refresh/use-checks-panel-terminal-worktree.test.ts": 2116, "src/renderer/src/components/right-sidebar/hosted-review/creation/use-create-jira-review-title.test.tsx": 1979, @@ -5485,7 +5065,6 @@ "src/renderer/src/components/right-sidebar/file-explorer/mutations/useFileDeletion.save-refusal.test.tsx": 840, "src/renderer/src/components/right-sidebar/file-explorer/mutations/useFileDeletion.trash-failure.test.tsx": 774, "src/renderer/src/components/right-sidebar/file-explorer/mutations/useFileExplorerImport.committed-scope.test.tsx": 588, - "src/renderer/src/components/right-sidebar/file-explorer/mutations/useFileExplorerImport.remote.test.tsx": 2054, "src/renderer/src/components/right-sidebar/file-explorer/tree/useFileExplorerTree.lifecycle.test.tsx": 1925, "src/renderer/src/components/right-sidebar/file-explorer/tree/useFileExplorerTree.paged-dirs.test.tsx": 2484, "src/renderer/src/components/right-sidebar/file-explorer/tree/useFileExplorerTree.scoped-root.test.tsx": 2131, @@ -5495,10 +5074,6 @@ "src/renderer/src/components/right-sidebar/hosted-review/provider-actions/useHostedReviewStackParent.test.tsx": 288, "src/renderer/src/components/right-sidebar/source-control/listing/useSourceControlSubmoduleStatus.test.tsx": 2076, "src/renderer/src/components/settings/accounts/AccountsPane.owner-scope.test.tsx": 4057, - "src/renderer/src/components/skills/setup/AgentSkillSetupPanel.freshness.test.tsx": 15418, - "src/renderer/src/components/skills/setup/AgentSkillSetupPanel.plan-status.test.tsx": 23334, - "src/renderer/src/components/skills/setup/AgentSkillSetupPanel.remote-availability.test.tsx": 5937, - "src/renderer/src/components/skills/setup/AgentSkillSetupPanel.test.tsx": 2315, "src/renderer/src/components/settings/agents/AgentsPane.test.tsx": 3230, "src/renderer/src/components/settings/accounts/providers/AntigravityAccountsSection.test.tsx": 2722, "src/renderer/src/components/settings/appearance/chat/AppearanceChatContrastControls.draft.test.tsx": 795, @@ -5506,10 +5081,8 @@ "src/renderer/src/components/settings/browser/BrowserSitePermissionsSetting.test.tsx": 739, "src/renderer/src/components/settings/browser/BrowserUserAgentSetting.test.tsx": 2325, "src/renderer/src/components/settings/chat/ChatNamingSetting.test.tsx": 2454, - "src/renderer/src/components/settings/chat/ChatPermissionSetting.test.tsx": 834, - "src/renderer/src/components/settings/chat/ChatSettingsSection.navigation.test.tsx": 2540, "src/renderer/src/components/settings/chat/ChatSettingsSection.test.tsx": 2718, - "src/renderer/src/lib/skill-runtime-command.test.ts": 1670, + "src/renderer/src/lib/skills/runtime/skill-runtime-command.test.ts": 1670, "src/renderer/src/components/settings/virtual-machines/recipes/EphemeralVmsPane.test.tsx": 1025, "src/renderer/src/components/settings/accounts/sign-in/HostAccountSignInPrompt.test.tsx": 309, "src/renderer/src/components/settings/agents/launch/HostAgentLaunchSettings.test.tsx": 7498, @@ -5520,7 +5093,6 @@ "src/renderer/src/components/settings/advanced/network/NodeDistMirrorDialog.test.tsx": 2412, "src/renderer/src/components/plugins/list/PluginsSettingsSection.lifecycle.test.tsx": 5402, "src/renderer/src/components/settings/runtime-environments/pairing/RuntimePairingGeneratorForm.test.tsx": 461, - "src/renderer/src/components/settings/session-history/SessionHistorySettingsPane.test.tsx": 1474, "src/renderer/src/components/settings/appearance/fonts/FontAutocomplete.test.tsx": 1202, "src/renderer/src/components/settings/form-controls/SettingsFormControls.segmented-control.test.tsx": 730, "src/renderer/src/components/settings/shortcuts/ShortcutFilterRail.test.ts": 273, @@ -5528,19 +5100,15 @@ "src/renderer/src/components/settings/repository/worktrees/SparsePresetSettingsSection.test.tsx": 744, "src/renderer/src/components/settings/ssh/server-actions/SshHostDeltaMoveDialog.test.tsx": 438, "src/renderer/src/components/settings/ssh/server-actions/SshHostRecoverServerAction.test.tsx": 669, - "src/renderer/src/components/settings/ssh/SshPane.test.tsx": 1699, "src/renderer/src/components/settings/ssh/targets/SshTargetForm.test.tsx": 1014, "src/renderer/src/components/settings/ssh/targets/SshTargetList.test.tsx": 2093, "src/renderer/src/components/settings/tasks/TaskSourceSimpleSetup.test.tsx": 527, "src/renderer/src/components/settings/TerminalAppearanceSection.ghostty.test.ts": 549, "src/renderer/src/components/settings/terminal/appearance/TerminalContrastSetting.test.tsx": 798, "src/renderer/src/components/settings/terminal/session-management/TerminalLimitSetting.test.tsx": 1015, - "src/renderer/src/components/settings/terminal/TerminalPane.section-lifetime.test.tsx": 1237, - "src/renderer/src/components/settings/terminal/appearance/TerminalSettingsPreview.lifecycle.test.tsx": 595, "src/renderer/src/components/settings/developer-permissions/TerminalTccAttributionNotice.test.tsx": 401, "src/renderer/src/components/settings/voice/VoiceMicrophoneSetting.test.tsx": 957, "src/renderer/src/components/settings/voice/VoicePane.test.tsx": 1042, - "src/renderer/src/components/settings/voice/VoiceSpeechModelSection.test.tsx": 503, "src/renderer/src/components/settings/accounts/sign-in/account-add-cancel-target.test.ts": 217, "src/renderer/src/components/settings/accounts/usage/accounts-pane-opencode-credentials.test.ts": 519, "src/renderer/src/lib/agent-session/launch/agent-settings-update-queue.test.ts": 249, @@ -5550,7 +5118,6 @@ "src/renderer/src/components/settings/developer-permissions/developer-permissions-search.test.ts": 308, "src/renderer/src/components/settings/shortcuts/keybinding-diagnostic-text.test.ts": 522, "src/renderer/src/components/settings/shortcuts/keybinding-title-copy.test.ts": 227, - "src/renderer/src/lib/agent-session/launch/native-chat-provider-choice.test.tsx": 3738, "src/renderer/src/components/settings/notifications/notification-host-pending-save.test.tsx": 2029, "src/renderer/src/components/settings/repository/RepositoryJiraProjectSection.test.tsx": 463, "src/renderer/src/components/settings/repository/RepositoryPaneDraftInput.test.tsx": 314, @@ -5569,13 +5136,9 @@ "src/renderer/src/components/settings/repository/hooks/use-repository-hook-settings-draft.test.tsx": 586, "src/renderer/src/components/settings/repository/hooks/use-repository-issue-command-wsl-stopped.test.ts": 523, "src/renderer/src/components/settings/runtime-environments/catalog/use-runtime-environment-catalog.test.tsx": 2252, - "src/renderer/src/components/settings/runtime-environments/catalog/use-runtime-environment-mutation-actions.test.tsx": 2069, "src/renderer/src/components/session-search/use-session-search-status.test.tsx": 477, "src/renderer/src/components/settings/accounts/usage/use-zcode-plan-credentials.test.tsx": 880, - "src/renderer/src/lib/directory-path-suggestion-filter.scan-budget.test.ts": 68, - "src/renderer/src/lib/directory-path-suggestion-filter.test.ts": 51, "src/renderer/src/components/setup-guide/SetupGuideModal.mount-gating.test.tsx": 2348, - "src/renderer/src/components/shared/MacFolderAccessFixDialog.test.tsx": 1356, "src/renderer/src/components/shared/kill-all-terminal-surfaces.test.ts": 1925, "src/renderer/src/components/shared/useDaemonActions.test.tsx": 332, "src/renderer/src/components/sidebar/host-admission/ssh/AddRemoteHostDialog.config-picker.test.tsx": 1178, @@ -5597,9 +5160,7 @@ "src/renderer/src/components/sidebar/SeveredTerminalDaemonBanner.test.tsx": 574, "src/renderer/src/components/sidebar/Sidebar.test.tsx": 833, "src/renderer/src/components/sidebar/SidebarAgentsList.test.tsx": 2985, - "src/renderer/src/components/sidebar/sidebar-feedback/SidebarFeedbackDialog.test.tsx": 2529, "src/renderer/src/components/sidebar/StalledTerminalDaemonBanner.test.tsx": 320, - "src/renderer/src/components/sidebar/workspace-board/viewport/WorkspaceKanbanLaneGrid.test.tsx": 360, "src/renderer/src/components/sidebar/workspace-card/surface/WorktreeCard.single-reference-details.test.tsx": 2032, "src/renderer/src/components/sidebar/workspace-actions/context-menu/WorktreeContextMenu.closed-menu-work.test.tsx": 1753, "src/renderer/src/components/sidebar/workspace-actions/context-menu/WorktreeContextMenu.test.ts": 299, @@ -5611,7 +5172,6 @@ "src/renderer/src/components/sidebar/host-admission/ssh/add-remote-host-ssh-actions.test.ts": 232, "src/renderer/src/components/sidebar/project-admission/completion/add-repo-skip-finalization.test.ts": 59, "src/renderer/src/components/sidebar/chat-markdown-math-typeset.test.ts": 1336, - "src/renderer/src/components/sidebar/worktree-list/grouping/default-branch-visible-under-hide-sleeping.test.ts": 261, "src/renderer/src/components/sidebar/workspace-actions/deletion/delete-worktree-always-force-preference.test.tsx": 2175, "src/renderer/src/components/sidebar/workspace-actions/deletion/delete-worktree-dirty-change-counts.test.ts": 258, "src/renderer/src/components/sidebar/workspace-actions/deletion/delete-worktree-dirty-change-hydration.test.tsx": 910, @@ -5622,31 +5182,26 @@ "src/renderer/src/components/sidebar/workspace-creation/folder/folder-workspace-composer-submit-host-platform.test.ts": 2264, "src/renderer/src/components/sidebar/workspace-creation/folder/folder-workspace-composer-submit.test.ts": 2665, "src/renderer/src/components/sidebar/worktree-list/drag/host-header-drag.test.tsx": 281, - "src/renderer/src/components/sidebar/worktree-list/grouping/host-section-reveal.test.tsx": 2294, "src/renderer/src/components/sidebar/worktree-list/listing/manual-sort-switch-toast.test.ts": 1753, "src/renderer/src/components/sidebar/mobile-sidebar-onboarding-badge.test.ts": 230, "src/renderer/src/components/sidebar/worktree-list/grouping/pinned-section-worktrees.test.ts": 446, "src/renderer/src/components/sidebar/workspace-actions/deletion/preserved-branch-batch-toast.test.tsx": 627, - "src/renderer/src/components/sidebar/worktree-list/drag/project-group-header-drop.test.ts": 198, "src/renderer/src/components/sidebar/project-move-pause-follower.test.ts": 938, "src/renderer/src/components/sidebar/host-path-browser/remote-file-browser-entry-actions.test.ts": 289, "src/renderer/src/components/sidebar/worktree-list/listing/rendered-sidebar-worktree-order.test.ts": 1873, "src/renderer/src/components/sidebar/project-admission/drop/sidebar-project-drop.test.ts": 227, - "src/renderer/src/components/sidebar/project-admission/host-selection/use-add-repo-windows-drive-refusal.test.tsx": 470, "src/renderer/src/components/sidebar/project-admission/host-selection/use-add-repo-wsl-host-paths.test.tsx": 660, "src/renderer/src/components/sidebar/sidebar-feedback/use-feedback-image-drop.test.tsx": 511, "src/renderer/src/components/sidebar/workspace-board/projection/use-workspace-board-task-status-sync.queued.test.ts": 1022, "src/renderer/src/components/sidebar/workspace-board/surface/use-workspace-kanban-drawer-lingering.test.tsx": 262, "src/renderer/src/components/sidebar/workspace-board/selection/use-workspace-kanban-selection.test.tsx": 243, "src/renderer/src/components/sidebar/workspace-card/review/use-workspace-reference-details.test.tsx": 1335, - "src/renderer/src/components/sidebar/worktree-list/navigation/use-workspace-reveal-body-redirect.test.tsx": 215, "src/renderer/src/components/sidebar/workspace-card/activity/use-worktree-activity-status.test.tsx": 565, "src/renderer/src/components/sidebar/workspace-card/activity/use-worktree-agent-rows-subscriptions.test.tsx": 3635, "src/renderer/src/components/sidebar/host-admission/wsl/use-wsl-distro-list.test.ts": 542, "src/renderer/src/components/sidebar/useRenderedSetupScriptPromptState.test.ts": 623, "src/renderer/src/components/sidebar/workspace-board/surface/useWorkspaceBoardPanel.test.tsx": 284, "src/renderer/src/components/sidebar/workspace-card/activity/useWorktreeAgentRows.test.ts": 450, - "src/renderer/src/components/sidebar/workspace-card/review/workspace-attachment-source-result.test.ts": 1897, "src/renderer/src/components/sidebar/workspace-board/projection/workspace-board-task-status-sync.test.ts": 378, "src/renderer/src/components/sidebar/workspace-actions/deletion/workspace-delete-lineage.test.ts": 51, "src/renderer/src/components/sidebar/workspace-board/search/workspace-kanban-search.test.ts": 176, @@ -5674,15 +5229,12 @@ "src/renderer/src/components/sidebar/worktree-list/listing/use-order-hold.test.ts": 500, "src/renderer/src/components/sidebar/worktree-list/listing/use-sort-order.test.tsx": 2239, "src/renderer/src/components/sidebar/worktree-list/listing/use-visible-worktrees-retention.test.tsx": 2374, - "src/renderer/src/components/sidebar/worktree-list/navigation/folder-reveal.test.ts": 97, - "src/renderer/src/components/sidebar/worktree-list/navigation/use-keyboard.focus.test.tsx": 691, "src/renderer/src/components/sidebar/worktree-list/navigation/use-keyboard.host-identity.test.tsx": 587, "src/renderer/src/components/sidebar/worktree-list/navigation/use-keyboard.reveal.test.tsx": 1691, "src/renderer/src/components/sidebar/worktree-list/navigation/use-selection-host-collision.test.tsx": 2217, "src/renderer/src/components/sidebar/worktree-list/rows/option-dom-host-collision.test.ts": 186, "src/renderer/src/components/sidebar/worktree-list/rows/repo-header-ssh-isolation.test.tsx": 2945, "src/renderer/src/components/sidebar/worktree-list/rows/section-header-create-host.test.tsx": 2393, - "src/renderer/src/components/sidebar/worktree-list/viewport/hard-scroll-up.test.ts": 66, "src/renderer/src/components/sidebar/worktree-list/viewport/use-scroll-to-top.test.ts": 293, "src/renderer/src/components/sidebar/worktree-list/viewport/use-scroll-to-top.test.tsx": 269, "src/renderer/src/components/sidebar/worktree-list/drag/worktree-manual-order-store-write.test.ts": 2144, @@ -5690,23 +5242,13 @@ "src/renderer/src/components/sidebar/workspace-actions/parenting/worktree-parent-eligibility.test.ts": 68, "src/renderer/src/components/sidebar/worktree-list/listing/worktree-sort-label-ordering.test.ts": 114, "src/renderer/src/components/sidebar/wsl-host-offer-move.test.ts": 227, - "src/renderer/src/components/skills/SkillFreshnessUpdateDialog.test.tsx": 913, - "src/renderer/src/components/skills/SkillInstallDialog.test.tsx": 4429, - "src/renderer/src/components/skills/SkillInstallManagementDialog.test.tsx": 3300, - "src/renderer/src/components/skills/SkillSharedLinkRow.test.tsx": 817, + "src/renderer/src/components/skills/sharing/SkillSharedLinkRow.test.tsx": 817, "src/renderer/src/components/skills/SkillsPage.test.tsx": 3822, - "src/renderer/src/components/skills/skill-agent-filter.test.ts": 274, - "src/renderer/src/components/skills/skill-share-link.test.ts": 55, - "src/renderer/src/components/skills/skill-share-package-selection.test.ts": 49, - "src/renderer/src/components/skills/skills-filter.test.ts": 204, + "src/renderer/src/components/skills/catalog/skill-agent-filter.test.ts": 274, "src/renderer/src/components/sparse/sparse-directory-entry-input.test.ts": 207, "src/renderer/src/components/stats/usage-daily-chart.test.tsx": 333, "src/renderer/src/components/stats/usage-overview-model.test.ts": 364, "src/renderer/src/components/status-bar/ClaudeSwitcherMenu.owner-lifetime.test.tsx": 2317, - "src/renderer/src/components/status-bar/NativeChatResumeStatusSegment.test.tsx": 2452, - "src/renderer/src/components/status-bar/PortsStatusSegment.render-stability.test.tsx": 2161, - "src/renderer/src/components/status-bar/SkillUpdateStatusSegment.test.tsx": 594, - "src/renderer/src/components/status-bar/SshStatusSegment.large-host-list.test.tsx": 1838, "src/renderer/src/components/status-bar/StatusBarUsageChangeNotices.test.tsx": 785, "src/renderer/src/components/status-bar/UpdateStatusSegment.test.tsx": 2484, "src/renderer/src/components/status-bar/account-switch-row-keyboard.test.tsx": 2286, @@ -5719,33 +5261,25 @@ "src/renderer/src/components/status-bar/resource-session-kill-confirmation.test.ts": 53, "src/renderer/src/components/status-bar/resource-session-removal-render-budget.test.tsx": 290, "src/renderer/src/components/status-bar/resource-usage-folder-merge.test.ts": 251, - "src/renderer/src/components/status-bar/status-bar-pool-countdown.test.tsx": 654, "src/renderer/src/components/status-bar/usage-pool-label.test.ts": 170, "src/renderer/src/components/status-bar/use-owner-usage-rate-limits.test.tsx": 462, "src/renderer/src/components/status-bar/use-resource-memory-snapshot.test.tsx": 321, "src/renderer/src/components/status-bar/use-resource-pty-actions.test.tsx": 879, "src/renderer/src/components/status-bar/use-resource-usage-derived-model.test.tsx": 742, "src/renderer/src/components/tab-bar/CopyTabIdMenuItem.test.tsx": 428, - "src/renderer/src/components/tab-bar/NativeChatNamingFailure.test.tsx": 1062, "src/renderer/src/components/tab-bar/TabBarCreateEntry.search.test.tsx": 3224, - "src/renderer/src/components/tab-bar/TabBarItemRow.test.tsx": 2116, "src/renderer/src/components/tab-bar/TabBarQuickCommandItem.test.tsx": 384, "src/renderer/src/components/tab-bar/TabBarQuickCommandsMenu.virtualization.test.tsx": 1644, "src/renderer/src/components/tab-bar/TabStripScrollIndicator.test.tsx": 356, "src/renderer/src/components/tab-bar/cli-chat-resume-close-terminal.test.ts": 598, "src/renderer/src/components/tab-bar/cli-chat-resume-run-close.test.ts": 3079, - "src/renderer/src/components/tab-bar/cli-chat-resume-run.test.ts": 3848, "src/renderer/src/components/tab-bar/group-tab-order.test.ts": 2091, "src/renderer/src/components/tab-bar/host-agent-launch-preferences-source.test.tsx": 3154, - "src/renderer/src/components/tab-bar/recent-tab-switching.test.ts": 1795, "src/renderer/src/components/tab-bar/tab-agent-launch-options.test.ts": 438, "src/renderer/src/components/tab-bar/tab-agent-types-by-tab-id.test.ts": 206, - "src/renderer/src/components/tab-bar/tab-bar-layout-owner-props.test.ts": 174, - "src/renderer/src/components/tab-bar/tab-bar-quick-commands-shortcut.test.tsx": 273, "src/renderer/src/components/tab-bar/tab-context-menu.test.tsx": 5620, "src/renderer/src/components/tab-bar/tab-create-entry-classifier.test.ts": 510, "src/renderer/src/components/tab-bar/tab-create-entry-local-path.test.ts": 2614, - "src/renderer/src/components/tab-bar/tab-create-entry-preview.test.ts": 882, "src/renderer/src/components/tab-bar/tab-session-history-switch.test.ts": 2348, "src/renderer/src/components/tab-bar/tab-strip-growth-scroll.test.tsx": 2164, "src/renderer/src/components/tab-bar/tab-strip-pointer-activation.test.tsx": 2047, @@ -5756,8 +5290,6 @@ "src/renderer/src/components/tab-bar/use-sortable-tab-context-menu.test.ts": 261, "src/renderer/src/components/tab-bar/use-tab-bar-quick-command-search-input.test.tsx": 536, "src/renderer/src/components/tab-group/RetainedPaneHost.test.tsx": 340, - "src/renderer/src/components/tab-group/TabGroupPanel.os-file-drop.test.tsx": 1711, - "src/renderer/src/components/tab-group/TabGroupPanel.pane-actions.test.tsx": 1419, "src/renderer/src/components/tab-group/tab-drag-pointer-sensor.test.ts": 187, "src/renderer/src/components/tab-group/tab-drag-preview-activation.test.ts": 1785, "src/renderer/src/components/tab-group/tab-drag-retained-guest-passthrough.test.tsx": 2104, @@ -5777,12 +5309,10 @@ "src/renderer/src/components/task-page/jira/task-page-jira-board-detail-integration.test.tsx": 2192, "src/renderer/src/components/task-page/jira/task-page-jira-board-transitions.test.ts": 69, "src/renderer/src/components/task-page/jira/task-page-jira-board-view.test.tsx": 2287, - "src/renderer/src/components/task-page/jira/task-page-jira-cache-selectors.test.ts": 54, "src/renderer/src/components/task-page/jira/task-page-jira-favourite-selection.test.tsx": 3326, "src/renderer/src/components/task-page/jira/task-page-jira-grouping.test.ts": 2324, "src/renderer/src/components/task-page/jira/task-page-jira-linked-issues.test.ts": 204, "src/renderer/src/components/task-page/jira/task-page-jira-quick-copy.test.tsx": 3457, - "src/renderer/src/components/task-page/jira/use-task-page-jira-list-state.owner.test.tsx": 653, "src/renderer/src/components/task-page/jira/use-task-page-jira-project-scope.test.tsx": 2642, "src/renderer/src/components/task-page/jira/use-task-page-jira-quick-filters.test.tsx": 1466, "src/renderer/src/components/task-page/jira/use-task-page-jira-saved-filters.test.tsx": 1501, @@ -5800,8 +5330,6 @@ "src/renderer/src/components/task-page/task-page-work-item-pagination.test.ts": 63, "src/renderer/src/components/task-page/use-task-page-source-display.test.tsx": 5228, "src/renderer/src/components/terminal-pane/layout/close/RunningTerminalCloseDialog.test.tsx": 2303, - "src/renderer/src/components/terminal-pane/session-fork/TerminalAgentSessionForkDialog.test.tsx": 266, - "src/renderer/src/components/terminal-pane/titles/TerminalPaneHeaderOverlay.test.tsx": 1104, "src/renderer/src/components/terminal-pane/account-restart/detached/account-restart-queue-progress.test.ts": 1988, "src/renderer/src/components/terminal-pane/agent-completion/agent-completion-coordinator-attention-dispatch.test.ts": 301, "src/renderer/src/components/terminal-pane/agent-completion/agent-completion-coordinator-completion-replay-guard.test.ts": 318, @@ -5825,7 +5353,6 @@ "src/renderer/src/components/terminal-pane/provider-notices/codex-server-isolation/codex-shared-server-banner.test.tsx": 2766, "src/renderer/src/components/terminal-pane/pty-connection/output/deferred-reattach-live-data-queue.test.ts": 184, "src/renderer/src/components/terminal-pane/layout/split/deferred-split-pane-handoff.test.ts": 78, - "src/renderer/src/components/terminal-pane/viewport/desktop-fit-fallback.test.ts": 92, "src/renderer/src/components/terminal-pane/pty-connection/output-restore/direct-ssh-hidden-output-restore-unavailable-banner.test.ts": 1975, "src/renderer/src/components/terminal-pane/links/http/edge-wrapped-terminal-http-links.test.ts": 529, "src/renderer/src/components/terminal-pane/links/http/framed-overlay-terminal-http-links.test.ts": 508, @@ -5846,43 +5373,28 @@ "src/renderer/src/components/terminal-pane/pty-connection/agent-identity/foreground-process/pane-foreground-inspect-observation-identity.test.ts": 226, "src/renderer/src/components/terminal-pane/pty-connection/agent-identity/foreground-process/pane-foreground-process-exit-retire.test.ts": 329, "src/renderer/src/components/sidebar/workspace-card/activity/structured-chat-activity-status-live.test.tsx": 4146, - "src/renderer/src/components/terminal-pane/parking/output-watchers/parked-terminal-byte-watcher.test.ts": 2837, "src/renderer/src/components/terminal-pane/parking/output-watchers/parked-terminal-command-status.test.ts": 352, "src/renderer/src/components/terminal-pane/layout/close/pending-pane-close-confirmation.test.ts": 4695, "src/renderer/src/components/terminal-pane/layout/close/pending-runtime-pane-close.test.ts": 3487, "src/renderer/src/components/terminal-pane/layout/close/pending-split-close.test.ts": 4680, - "tests/e2e/terminal-agent-pane-launch.unit.test.ts": 8045, "src/renderer/src/components/terminal-pane/snapshots/pty-buffer-serializer.test.ts": 53, "src/renderer/src/components/terminal-pane/pty-connection/agent-identity/pty-connection-command-finished-late-done.test.ts": 10940, "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-completion-and-notification.test.ts": 18380, "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-foreground-agent.test.ts": 20118, - "src/renderer/src/components/terminal-pane/pty-connection/lifecycle/pty-connection-git-bash-console-capacity.test.ts": 5784, "src/renderer/src/components/terminal-pane/pty-connection/lifecycle/pty-connection-hibernation-kill-shell-foreground.test.ts": 2205, - "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-runtime-snapshot.test.ts": 3129, - "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-backlog-snapshot.test.ts": 3129, - "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-hidden-replay.test.ts": 21687, - "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-restore-fit-overflow.test.ts": 3044, - "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-restore-flood-abandon.test.ts": 1756, - "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-restore-loss-disclosure.test.ts": 4220, "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-restore-marker-handoff.test.ts": 2170, "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-restore-unhide-coverage.test.ts": 4612, - "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-restore-unhide-repaint-fallback.test.ts": 3237, "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-hidden-restore-unhide-retired-task.test.ts": 1947, "src/renderer/src/components/terminal-pane/pty-connection/notifications/pty-connection-hook-idle-arbitration.test.ts": 2228, - "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-input-and-repaint.test.ts": 21974, "src/renderer/src/components/terminal-pane/pty-connection/spawn/pty-connection-main-pane-restore-start.test.ts": 2430, "src/renderer/src/components/terminal-pane/pty-connection/spawn/pty-connection-main-pane-start.test.ts": 2611, "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-post-dispose-restore-termination.test.ts": 1215, "src/renderer/src/components/terminal-pane/pty-connection/agent-identity/pty-connection-process-exit-row-retire.test.ts": 10626, "src/renderer/src/components/terminal-pane/pty-connection/host-ownership/pty-connection-owner-hydration-backend-retention.test.ts": 4181, - "src/renderer/src/components/terminal-pane/pty-connection/reattach/pty-connection-reattach-binding.test.ts": 5240, "src/renderer/src/components/terminal-pane/pty-connection/input/pty-connection-remote-new-terminal-typeahead.test.ts": 1864, "src/renderer/src/components/terminal-pane/pty-connection/reattach/pty-connection-remote-snapshot-image-title.test.ts": 1754, "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-restore-and-resume.test.ts": 19401, "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-restored-baseline-shortfall.test.ts": 1902, - "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-spawn-and-startup.test.ts": 19652, - "src/renderer/src/components/terminal-pane/pty-connection/spawn/pty-connection-spawn-deferred-sleep.test.ts": 6918, - "src/renderer/src/components/terminal-pane/pty-connection/tests/pty-connection-visibility-and-exit.test.ts": 18950, "src/renderer/src/components/terminal-pane/pty-connection/output-restore/pty-connection-visible-pane-output-pause-latch.test.ts": 1639, "src/renderer/src/components/terminal-pane/pty-connection/reattach/deferred-session-reattach-newer-daemon-hold.test.ts": 2570, "src/renderer/src/components/terminal-pane/pty-connection/reattach/deferred-session-reattach-startup-snapshot.test.ts": 1830, @@ -5893,13 +5405,11 @@ "src/renderer/src/components/terminal-pane/pty-connection/startup/main-pane-resume-banner.test.ts": 59, "src/renderer/src/components/terminal-pane/pty-connection/spawn/main-pane-start-wait.test.ts": 76, "src/renderer/src/components/terminal-pane/pty-connection/serialization/pane-serializer-register.test.ts": 123, - "src/renderer/src/components/terminal-pane/pty-connection/host-ownership/pty-kitty-file-reader.test.ts": 297, "src/renderer/src/components/terminal-pane/pty-connection/output-restore/snapshot-covered-terminal-queries.test.ts": 150, "src/renderer/src/components/terminal-pane/pty-connection/output/terminal-input-echo-delay.test.ts": 132, "src/renderer/src/components/terminal-pane/pty-connection/host-ownership/unserved-ssh-pane-bridge.test.ts": 70, "src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-delivery-resync.test.ts": 85, "src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-pi-routing.test.ts": 1362, - "src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-dispatcher-push-reattach.test.ts": 108, "src/renderer/src/components/terminal-pane/pty-transport/input/pty-input-write-queue.test.ts": 787, "src/renderer/src/components/terminal-pane/pty-transport/delivery/pty-model-restore-channel.test.ts": 44, "src/renderer/src/components/terminal-pane/pty-transport/output/pty-output-processor-program-activity.test.ts": 160, @@ -5910,9 +5420,6 @@ "src/renderer/src/components/terminal-pane/pty-transport/input/pty-preconnect-input-retention.test.ts": 86, "src/renderer/src/components/terminal-pane/pty-transport/shutdown/pty-shutdown-data-suspension.test.ts": 60, "src/renderer/src/components/terminal-pane/pty-transport/shutdown/pty-shutdown-exit-deferral.test.ts": 121, - "src/renderer/src/components/terminal-pane/viewport/pty-size-reassertion.test.ts": 58, - "src/renderer/src/components/terminal-pane/viewport/pty-size-reconcile.test.ts": 68, - "src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-connect-spawn.test.ts": 3186, "src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-detach-attach-handoff.test.ts": 1199, "src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-eager-buffer-replay.test.ts": 1636, "src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-handler-suspension.test.ts": 1243, @@ -5922,77 +5429,49 @@ "src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-reattach-admission.test.ts": 1636, "src/renderer/src/components/terminal-pane/pty-transport/ipc/pty-transport-recycled-pty-incarnation.test.ts": 787, "src/renderer/src/components/terminal-pane/input/focus/regular-terminal-focus-ownership.test.ts": 208, - "src/renderer/src/components/terminal-pane/pty-connection/output-restore/remote-hidden-output-restore-outcomes.test.ts": 2794, - "src/renderer/src/components/terminal-pane/pty-connection/output-restore/remote-hidden-output-restore-unavailable-banner.repro.test.ts": 2355, "src/renderer/src/components/terminal-pane/layout/persistence/remote-pane-layout-push.test.ts": 77, "src/renderer/src/components/terminal-pane/pty-connection/output-restore/remote-park-reveal-unverifiable-retry.test.ts": 1546, - "src/renderer/src/components/terminal-pane/pty-connection/geometry/remote-reconnect-unimaged-pane-redraw.test.ts": 3122, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-connect-failure-recovery.test.ts": 989, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-disconnected-input-grace-retry.test.ts": 1366, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/input/remote-runtime-input-journal.test.ts": 69, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-outage-toast-flood-and-stuck-reconnect.test.ts": 1269, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/output/remote-runtime-pty-batching.test.ts": 108, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-deadline-reattach.test.ts": 2117, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-latched-pane-retention.test.ts": 5267, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-query-reply-immediate.test.ts": 1556, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/recovery/remote-runtime-pty-recovery-state.test.ts": 85, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-activation-inventory-fallback.test.ts": 1311, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-attach-subscription.test.ts": 2346, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-handoff.test.ts": 14353, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-create-outcome-recovery.test.ts": 2041, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-empty-initial-snapshot.test.ts": 1491, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-end-verdict.test.ts": 942, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-expired-pane-recovery.test.ts": 1763, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-healthy-link-reattach.test.ts": 1595, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-exit-record.test.ts": 4078, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-session-launch.test.ts": 2248, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-host-surface-replacement.test.ts": 4276, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-input-coalescing.test.ts": 2777, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-input-fallback.test.ts": 1643, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-input-replay.test.ts": 7130, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-mirror-resolve-overlap.test.ts": 977, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-pairing-rotation.test.ts": 2480, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-pane-binding-ownership.test.ts": 4578, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-pane-handle-resolution.test.ts": 2860, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-pending-host-surface-attach.test.ts": 1768, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-prebind-discard-notice.test.ts": 889, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-reattach-type-ahead.test.ts": 3894, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-reveal-round-trips.test.ts": 1023, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-snapshot-replay.test.ts": 1717, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-spawn-intent.test.ts": 2215, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-split-leaf-activation.test.ts": 2034, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stale-handle-recovery.test.ts": 1882, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-sticky-replacement-policy.test.ts": 1801, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stopped-host-reopen.test.ts": 1083, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-stream-reconnect.test.ts": 4148, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-subscribe-ack-input.test.ts": 2565, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-unmounted-host-pane.test.ts": 626, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-unpublished-host-graph.test.ts": 1435, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-pty-transport-web-mirror-recovery.test.ts": 1905, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/input/remote-runtime-recovery-input-hold.test.ts": 342, - "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-resubscribe-failure-recovery-routing.test.ts": 1896, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-saved-result-consumer.test.ts": 3650, "src/renderer/src/components/terminal-pane/pty-transport/remote-runtime/remote-runtime-ssh-sign-in-recovery.test.ts": 6038, "src/renderer/src/components/terminal-pane/snapshots/remote-snapshot-alt-screen-host-chain.test.ts": 31916, "src/renderer/src/components/terminal-pane/snapshots/remote-snapshot-alt-screen-replay.test.ts": 3010, "src/renderer/src/components/terminal-pane/snapshots/remote-snapshot-history-seam.test.ts": 2093, - "src/renderer/src/components/terminal-pane/snapshots/replay-guard.test.ts": 371, "src/renderer/src/components/terminal-pane/layout/split/resolve-split-cwd.test.ts": 56, "src/renderer/src/components/terminal-pane/viewport/split-right-white-screen.test.ts": 53, "src/renderer/src/components/terminal-pane/viewport/visibility/stale-document-visibility.test.ts": 88, "src/renderer/src/components/terminal-pane/input/paste/terminal-agent-paste-bracketing.test.ts": 329, - "src/renderer/src/components/terminal-pane/session-fork/terminal-agent-session-fork.test.ts": 1377, - "src/renderer/src/components/terminal-pane/appearance/terminal-appearance.test.ts": 339, "src/renderer/src/components/terminal-pane/input/paste/terminal-bracketed-paste.test.ts": 57, "src/renderer/src/components/terminal-pane/emulation/terminal-capability-replies.test.ts": 131, "src/renderer/src/components/terminal-pane/clipboard/terminal-clipboard-paste.test.ts": 76, - "src/renderer/src/components/terminal-pane/parking/retention/terminal-cold-park-timer-rearm.test.tsx": 701, - "src/renderer/src/components/terminal-pane/input/file-drop/terminal-drop-handler.test.ts": 638, "src/renderer/src/components/terminal-pane/input/file-drop/terminal-drop-image-path.test.ts": 61, - "src/renderer/src/components/terminal-pane/input/file-drop/terminal-drop-internal-handler.test.ts": 800, "src/renderer/src/components/terminal-pane/input/file-drop/terminal-drop-path-writer.test.ts": 245, "src/renderer/src/components/terminal-pane/input/file-drop/terminal-drop-runtime-catalog-owner.test.ts": 872, - "src/renderer/src/components/terminal-pane/input/file-drop/terminal-drop-source-owner.test.ts": 622, "src/renderer/src/components/terminal-pane/viewport/terminal-fit-restore.test.ts": 59, "src/renderer/src/components/terminal-pane/links/handles/terminal-handle-links.test.ts": 527, "src/renderer/src/components/terminal-pane/parking/retention/terminal-hidden-view-parking.test.ts": 325, @@ -6015,9 +5494,7 @@ "src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-composition-deduplication.test.ts": 1643, "src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-consumed-key-commit.test.ts": 751, "src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-korean-enter-commit-order.test.ts": 328, - "src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-midline-preedit-tail.test.ts": 980, "src/renderer/src/components/terminal-pane/input/ime/terminal-ime-xterm-resumed-preedit-visibility.test.ts": 498, - "src/renderer/src/components/terminal-pane/emulation/terminal-inline-image-da1.test.ts": 127, "src/renderer/src/components/terminal-pane/input/ime/terminal-ios-hangul-preedit-coexistence.test.ts": 621, "src/renderer/src/components/terminal-pane/input/ime/terminal-ios-hangul-preedit-device-trace.test.ts": 415, "src/renderer/src/components/terminal-pane/input/ime/terminal-ios-hangul-preedit.test.ts": 818, @@ -6025,9 +5502,7 @@ "src/shared/workspace-layout/terminal-layout-pty-ownership-depth.test.ts": 82, "src/renderer/src/components/terminal-pane/layout/terminal-layout-pty-ownership.test.ts": 99, "src/renderer/src/components/terminal-pane/links/terminal-link-click-fallback.test.ts": 985, - "src/renderer/src/components/terminal-pane/links/files/terminal-link-file-open-routing.test.ts": 970, "src/renderer/src/components/terminal-pane/links/terminal-link-open-beside-source.test.ts": 947, - "src/renderer/src/components/terminal-pane/links/http/terminal-link-osc-url-routing.test.ts": 986, "src/renderer/src/components/terminal-pane/links/terminal-link-paired-click-fallback.test.ts": 989, "src/renderer/src/components/terminal-pane/links/gestures/terminal-link-pointer-gesture.test.ts": 550, "src/renderer/src/components/terminal-pane/links/files/terminal-link-provider-batching.test.ts": 1051, @@ -6043,16 +5518,10 @@ "src/renderer/src/components/terminal-pane/layout/reconciliation/terminal-pane-frame-reconciliation.test.ts": 903, "src/renderer/src/components/terminal-pane/host-state/terminal-pane-host-state-memo.test.ts": 4534, "src/renderer/src/components/terminal-pane/mounting/terminal-pane-mount-bootstrap.test.ts": 1723, - "src/renderer/src/components/terminal-pane/render-health/recovery/terminal-pane-recovery-unsettled-fallback.test.ts": 831, - "src/renderer/src/components/terminal-pane/render-health/recovery/terminal-pane-recovery.test.ts": 949, "src/renderer/src/components/terminal-pane/layout/split/terminal-pane-split-request-routing.test.ts": 2015, - "src/renderer/src/components/terminal-pane/pty-transport/recovery/terminal-pane-surface-ownership.test.ts": 426, "src/renderer/src/components/terminal-pane/layout/detach/terminal-pane-tab-detach-main-commit.test.ts": 2090, "src/renderer/src/components/terminal-pane/layout/detach/terminal-pane-tab-detach-main-move.test.ts": 2147, - "src/renderer/src/components/terminal-pane/parking/verdict/terminal-park-verdict-flip-telemetry.test.ts": 123, - "src/renderer/src/components/terminal-pane/parking/verdict/terminal-park-verdict-worktree-driver-loop.test.tsx": 735, "src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-tab-watchers.test.ts": 473, - "src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-watcher-reconciliation.test.ts": 243, "src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-watcher-registry.test.ts": 245, "src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-watcher-sleep-preserved-exit.test.ts": 399, "src/renderer/src/components/terminal-pane/parking/output-watchers/terminal-parked-watcher-sole-newborn-exit.test.ts": 402, @@ -6060,25 +5529,17 @@ "src/renderer/src/components/terminal-pane/input/paste/terminal-paste-coordinator.test.ts": 155, "src/renderer/src/components/terminal-pane/links/files/terminal-path-existence-batch.test.ts": 58, "src/renderer/src/components/terminal-pane/links/files/terminal-path-exists-cache.test.ts": 47, - "src/renderer/src/components/terminal-pane/render-health/terminal-render-desync-sentinel.test.ts": 468, "src/renderer/src/components/terminal-pane/snapshots/terminal-replay-application-continuity.test.ts": 372, "src/renderer/src/components/terminal-pane/snapshots/terminal-restore-sgr-latch.test.ts": 175, "src/shared/terminal/viewport/terminal-restored-viewport.test.ts": 46, "src/renderer/src/components/terminal-pane/terminal-resume-escape-gap.test.ts": 102, - "src/renderer/src/components/terminal-pane/snapshots/terminal-shutdown-layout-capture.test.ts": 197, "src/renderer/src/components/terminal-pane/pty-transport/output/terminal-side-effect-facts-handler.test.ts": 80, "src/renderer/src/components/terminal-pane/snapshots/terminal-snapshot-replay-paint.test.ts": 499, "src/renderer/src/components/terminal-pane/titles/terminal-title-evidence.test.ts": 184, "src/renderer/src/components/terminal-pane/links/http/terminal-url-link-click.test.ts": 2057, - "src/renderer/src/components/terminal-pane/viewport/visibility/terminal-visibility-resume.test.ts": 1669, "src/renderer/src/components/terminal-pane/links/files/terminal-worktree-path-link.test.ts": 1878, - "src/renderer/src/components/terminal-pane/mobile-driver/use-mobile-overlay-ticks-desktop-fit.test.tsx": 371, - "src/renderer/src/components/terminal-pane/viewport/visibility/use-terminal-pane-global-effects-visibility-resume.test.ts": 1951, - "src/renderer/src/components/terminal-pane/viewport/visibility/use-terminal-pane-global-effects-window-focus-recovery.test.ts": 1836, "src/renderer/src/components/terminal-pane/use-terminal-pane-lifecycle.test.ts": 1806, - "src/renderer/src/components/terminal-pane/viewport/visibility/use-terminal-scroll-visibility-memory.test.ts": 79, "src/renderer/src/components/terminal-pane/parking/lifecycle/use-terminal-tab-cold-parking.test.ts": 752, - "src/renderer/src/components/terminal-pane/viewport/visibility/use-terminal-window-wake-recovery.test.ts": 494, "src/renderer/src/components/terminal-pane/links/http/wrapped-terminal-http-link-limits.test.ts": 108, "src/renderer/src/components/terminal-pane/links/http/wrapped-terminal-http-link-provider.test.ts": 606, "src/renderer/src/components/terminal-parked-watcher-sync-entries.test.tsx": 1104, @@ -6092,7 +5553,6 @@ "src/renderer/src/components/terminal/active-terminal-repair-loop.react185.test.tsx": 1998, "src/renderer/src/components/terminal/background-terminal-worktree-mount.test.ts": 1707, "src/renderer/src/components/terminal/background-terminal-worktree-visibility.test.ts": 1790, - "src/renderer/src/components/terminal/initial-terminal-admission-wait.test.tsx": 2444, "src/renderer/src/components/terminal/initial-terminal-structured-launch.test.tsx": 786, "src/renderer/src/components/terminal/running-terminal-close-guard.test.ts": 99, "src/renderer/src/components/terminal/startup-terminal-tab-hold.test.ts": 2118, @@ -6102,7 +5562,6 @@ "src/renderer/src/components/terminal/terminal-tab-actions-unrouted-close.test.ts": 589, "src/renderer/src/components/terminal/terminal-tab-actions.test.ts": 626, "src/renderer/src/components/terminal/terminal-tab-close-running-confirm.test.ts": 499, - "src/renderer/src/components/terminal/terminal-tab-create.test.ts": 367, "src/renderer/src/components/terminal/unsaved-close-queue.test.ts": 42, "src/renderer/src/components/terminal/use-terminal-provider-snapshot-capability.test.tsx": 573, "src/renderer/src/components/terminal/window-close-running-work.test.ts": 97, @@ -6116,8 +5575,6 @@ "src/renderer/src/components/use-quick-open-interaction.test.tsx": 1987, "src/renderer/src/components/use-task-creation-draft-retention.test.ts": 3185, "src/renderer/src/components/use-terminal-bulk-close-actions.frame-flush.test.tsx": 2300, - "src/renderer/src/components/use-terminal-create-actions.test.tsx": 302, - "src/renderer/src/components/use-terminal-editor-close-foundation.window-close.test.tsx": 2105, "src/renderer/src/components/use-terminal-parking-pass.test.tsx": 2142, "src/renderer/src/components/use-terminal-window-lifecycle.frame-flush.test.tsx": 2164, "src/renderer/src/components/virtualized-list.test.tsx": 446, @@ -6139,20 +5596,14 @@ "src/renderer/src/components/workspace-emoji/WorkspaceEmojiPickerPanel.test.tsx": 763, "src/renderer/src/components/workspace-emoji/useWorkspaceEmojiShortcodeInput.test.tsx": 365, "src/renderer/src/components/worktree-creation/PendingNativeChatCreation.test.tsx": 4075, - "src/renderer/src/components/worktree-jump/WorktreeJumpPalette.linear-url.test.tsx": 3372, "src/renderer/src/components/worktree-jump/WorktreeJumpPalette.recent-tabs.behavior.test.tsx": 4445, - "src/renderer/src/components/worktree-jump/WorktreeJumpPalette.recent-tabs.test.tsx": 9384, "src/renderer/src/components/worktree-jump/WorktreeJumpPalette.test.tsx": 4442, "src/renderer/src/components/worktree-jump/use-worktree-jump-palette-browser-ownership.test.ts": 2096, "src/renderer/src/components/worktree-jump/use-worktree-jump-palette-task-search.test.tsx": 2140, "src/renderer/src/components/worktree-jump/worktree-jump-palette-browser-navigation.test.tsx": 4470, - "src/renderer/src/components/wsl-host-stopped/WslHostStoppedNotice.test.tsx": 491, "src/renderer/src/components/wsl-move/WslMoveDialog.test.tsx": 524, - "src/renderer/src/components/wsl-move/use-wsl-move-quit-guard.test.ts": 235, "src/renderer/src/components/wsl-move/wsl-move-dialog-store.test.ts": 2011, - "src/renderer/src/components/wsl-move/wsl-move-orchestrator-status.test.tsx": 567, "src/renderer/src/components/wsl-move/wsl-move-scope-rows.test.ts": 156, - "src/renderer/src/hooks/agent-hook-completion-background-turn-notifications.test.ts": 2279, "src/renderer/src/hooks/agent-hook-completion-grok-notifications.test.ts": 679, "src/renderer/src/hooks/agent-hook-completion-notifications.test.ts": 1131, "src/renderer/src/hooks/automation-dispatch-folder-loss.test.ts": 575, @@ -6172,8 +5623,6 @@ "src/renderer/src/hooks/editor-external-watch-overflow.test.ts": 1023, "src/renderer/src/hooks/editor-external-watch-selected-host.test.ts": 1988, "src/renderer/src/hooks/editor-runtime-file-watch.test.ts": 58, - "src/renderer/src/hooks/installed-agent-skill-discovery-cache.test.ts": 53, - "src/renderer/src/hooks/installed-agent-skill-discovery.test.ts": 74, "src/renderer/src/hooks/ipc-events/agent-status-pane-routing-index-retention.test.ts": 4878, "src/renderer/src/hooks/ipc-events/agent-status-pending-retry-gate.test.ts": 466, "src/renderer/src/hooks/ipc-events/agent-status-terminal-title-tab-write.test.ts": 2247, @@ -6185,7 +5634,6 @@ "src/renderer/src/hooks/ipc-events/direct-ssh-unrestored-forward-sync.test.ts": 95, "src/renderer/src/hooks/ipc-events/mobile-terminal-close-ipc-bridge-reveal.test.ts": 1764, "src/renderer/src/hooks/ipc-events/mobile-terminal-close-ipc-bridge.test.ts": 2200, - "src/renderer/src/hooks/ipc-events/orca-profile-auth-ipc-bridge.test.ts": 1908, "src/renderer/src/hooks/ipc-events/os-markdown-file-open-bridge.test.ts": 280, "src/renderer/src/hooks/ipc-events/quit-and-stop-all-sessions-ipc-bridge.test.ts": 398, "src/renderer/src/hooks/ipc-events/runtime-client-ipc-bridge-ownership.test.ts": 2068, @@ -6206,11 +5654,8 @@ "src/renderer/src/hooks/metadata-request-cache.test.ts": 144, "src/renderer/src/hooks/programmatic-scroll-marks.test.ts": 47, "src/renderer/src/hooks/runtime-client-events-sync-ownership.test.ts": 59, - "src/renderer/src/hooks/runtime-client-events-sync.test.ts": 118, "src/renderer/src/hooks/runtime-project-refresh-scheduler.test.ts": 65, - "src/renderer/src/hooks/shortcut-label-cache.test.tsx": 2021, "src/renderer/src/hooks/unpaired-device-auth-notification.test.ts": 41, - "src/renderer/src/hooks/use-bundled-skill-install.test.tsx": 553, "src/renderer/src/hooks/use-document-dark-theme.test.tsx": 350, "src/renderer/src/hooks/use-list-multi-selection.test.tsx": 545, "src/renderer/src/hooks/use-monaco-theme.test.tsx": 323, @@ -6236,29 +5681,17 @@ "src/renderer/src/hooks/useEphemeralVmRecipeOptions.test.tsx": 415, "src/renderer/src/hooks/useGitHubSlugMetadata.assignee-reuse.test.tsx": 233, "src/renderer/src/hooks/useImmediateMutation.test.ts": 618, - "src/renderer/src/hooks/useInstalledAgentSkills.react.test.tsx": 2093, + "src/renderer/src/hooks/skills/discovery/useInstalledAgentSkills.react.test.tsx": 2093, "src/renderer/src/hooks/useIpcEvents-agent-status-connection-attribution.test.ts": 5510, - "src/renderer/src/hooks/useIpcEvents-agent-status-hook-titles.test.ts": 5621, "src/renderer/src/hooks/useIpcEvents-agent-status-pane-teardown.test.ts": 5268, "src/renderer/src/hooks/useIpcEvents-agent-status-queue-ordering.test.ts": 3680, - "src/renderer/src/hooks/useIpcEvents-agent-status-snapshot-hydration.test.ts": 7403, "src/renderer/src/hooks/useIpcEvents-agent-status-snapshot-replay.test.ts": 4119, "src/renderer/src/hooks/useIpcEvents-agent-status-ssh-authority.test.ts": 3310, - "src/renderer/src/hooks/useIpcEvents-browser-certificate-failure.test.ts": 2981, - "src/renderer/src/hooks/useIpcEvents-browser-navigation.test.ts": 1511, - "src/renderer/src/hooks/useIpcEvents-client-hosted-browser-rows.test.ts": 1894, - "src/renderer/src/hooks/useIpcEvents-close-routing-active-browser-tab.test.ts": 4572, - "src/renderer/src/hooks/useIpcEvents-close-routing-session-tabs.test.ts": 5812, - "src/renderer/src/hooks/useIpcEvents-cmd-j-digit-chord.test.ts": 2703, - "src/renderer/src/hooks/useIpcEvents-lifecycle.test.ts": 2326, "src/renderer/src/hooks/useIpcEvents-new-workspace-shortcut.test.ts": 72, - "src/renderer/src/hooks/useIpcEvents-rate-limit-hydration.test.ts": 1597, "src/renderer/src/hooks/useIpcEvents-runtime-environment-selectors.test.ts": 530, "src/renderer/src/hooks/useIpcEvents-session-tab-close-request.test.ts": 2252, "src/renderer/src/hooks/useIssueMetadata.test.tsx": 344, - "src/renderer/src/hooks/useMacTccAttributionSeveredNotice.test.tsx": 2358, "src/renderer/src/hooks/useMetadataListRequest.test.tsx": 266, - "src/renderer/src/hooks/useModalReturnFocus.test.tsx": 1938, "src/renderer/src/hooks/clipboard/primary-selection/usePrimarySelectionPaste.terminal-native-paste.test.tsx": 388, "src/renderer/src/hooks/clipboard/primary-selection/usePrimarySelectionPaste.test.tsx": 411, "src/renderer/src/hooks/useReadOnScreenAttention.away.test.ts": 2420, @@ -6268,8 +5701,6 @@ "src/renderer/src/hooks/useReadOnScreenAttention.mixed-workspace.test.ts": 1725, "src/renderer/src/hooks/useReadOnScreenAttention.test.ts": 1915, "src/renderer/src/hooks/useRetiredWorktreeNames.test.ts": 593, - "src/renderer/src/hooks/useSkillFreshness.test.tsx": 554, - "src/renderer/src/hooks/useUnreadDockBadge.test.ts": 2126, "src/renderer/src/hooks/virtualized-hidden-row-measurement.test.ts": 199, "src/renderer/src/hooks/worktree-change-refresh-queue.test.ts": 59, "src/renderer/src/i18n/I18nProvider.test.tsx": 2101, @@ -6279,24 +5710,17 @@ "src/renderer/src/i18n/plugin-pack-plurals.test.ts": 191, "src/renderer/src/i18n/relative-time-format.test.ts": 53, "src/renderer/src/i18n/ui-intl-formatters.test.ts": 208, - "src/renderer/src/lib/activate-ai-vault-structured-session-host.test.ts": 589, - "src/renderer/src/lib/activate-ai-vault-structured-session-reveal.test.ts": 2099, "src/renderer/src/lib/workspace/tabs/activate-tab-and-focus-pane.test.ts": 54, "src/renderer/src/lib/agent-session/messaging/terminal/active-agent-note-send-explicit-target.test.ts": 980, "src/renderer/src/lib/agent-session/messaging/terminal/active-agent-note-send-focused-session.test.ts": 536, - "src/renderer/src/lib/activity-thread-display.test.ts": 134, "src/renderer/src/lib/agent-account-restart-startup.test.ts": 1780, "src/renderer/src/lib/agent-session/launch/background/agent-background-session-launch-host.test.ts": 1910, "src/renderer/src/lib/agent-draft-readiness.test.ts": 245, - "src/renderer/src/lib/agent-session/hibernation/agent-hibernation-coordinator.test.ts": 1880, "src/renderer/src/lib/agent-session/hibernation/agent-hibernation-pane-age.test.ts": 41, "src/renderer/src/lib/agent-session/hibernation/agent-hibernation-planner.test.ts": 341, "src/renderer/src/lib/agent-session/hibernation/agent-hibernation-runtime-liveness-race.test.ts": 1914, - "src/renderer/src/lib/agent-session/launch/new-tab/agent-launch-caller-prompt-transport.test.ts": 1326, - "src/renderer/src/lib/agent-session/launch/new-tab/agent-launch-caller-routing.test.ts": 1266, "src/renderer/src/lib/agent-session/launch/pane/agent-launch-pane-verdict-application.test.ts": 1869, "src/renderer/src/lib/agent-session/launch/routing/agent-launch-route-input.test.ts": 1659, - "src/renderer/src/lib/agent-session/launch/routing/agent-launch-route-registered-agents.test.ts": 1749, "src/renderer/src/lib/agent-session/launch/pane/agent-launch-tab-main-written.test.ts": 2084, "src/renderer/src/lib/agent-session/launch/pane/agent-launch-tab-publication.test.ts": 1855, "src/renderer/src/lib/agent-session/launch/pane/agent-launch-through-host.test.ts": 1975, @@ -6305,36 +5729,21 @@ "src/renderer/src/lib/agent-session/messaging/paste/agent-paste-draft.test.ts": 445, "src/renderer/src/lib/agent-session/resume/agent-resume-launch-target.test.ts": 3911, "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch-after-failure.test.ts": 870, - "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch-close-race.test.ts": 983, - "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch-create-message.test.ts": 2521, - "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch-different-request.test.ts": 885, "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch-exited-owner.test.ts": 1289, - "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch-join-delivery.test.ts": 862, "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch-options.test.ts": 991, "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch-persistence.test.ts": 386, "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch-probe-outage.test.ts": 1891, - "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch-prompt.test.ts": 710, "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch-record.test.ts": 151, - "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch-resume-identity.test.ts": 828, - "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch-unconfirmed-or-retried.test.ts": 1085, - "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch.test.ts": 977, - "src/renderer/src/lib/agent-session/launch/structured-agent-session-new-chat-own-launch.test.ts": 2177, - "src/renderer/src/lib/agent-session/structured-agent-session-draft-position-lifetime.test.tsx": 3166, - "src/renderer/src/lib/agent-session/structured-agent-session-ordinary-draft.test.tsx": 9907, - "src/renderer/src/lib/agent-session/structured-agent-session-provisional-tab.test.ts": 3672, "src/renderer/src/lib/agent-session/launch/startup/agent-startup-delayed-delivery-perf.test.ts": 1708, "src/shared/agent-status/contracts/agent-status-evidence-clock.test.ts": 88, "src/shared/agent-status/title/agent-title-tracker.test.ts": 172, "src/renderer/src/lib/agent-session/resume/history/ai-vault-antigravity-reference-host.test.ts": 678, "src/renderer/src/lib/agent-session/resume/history/ai-vault-resume-command.drop-repin.test.ts": 541, - "src/renderer/src/lib/agent-session/resume/history/ai-vault-resume-command.test.ts": 665, "src/renderer/src/lib/agent-session/resume/history/ai-vault-resume-platform.test.ts": 617, "src/renderer/src/lib/agent-session/resume/history/ai-vault-resume-target.test.ts": 92, "src/renderer/src/lib/agent-session/resume/history/ai-vault-session-drag.test.ts": 68, "src/renderer/src/lib/agent-session/resume/history/ai-vault-session-resume-preparation.test.ts": 408, "src/renderer/src/lib/agent-session/history/title-sync/ai-vault-tab-title-sync-inputs.test.ts": 476, - "src/renderer/src/lib/agent-session/history/title-sync/ai-vault-tab-title-sync.test.ts": 925, - "src/renderer/src/lib/app-commands/app-command-dispatch.test.ts": 64, "src/renderer/src/lib/keyboard/app-keyboard-router.test.ts": 187, "src/renderer/src/lib/clipboard/menu/app-menu-paste.test.ts": 229, "src/renderer/src/lib/automation-session-reuse.test.ts": 70, @@ -6342,80 +5751,38 @@ "src/renderer/src/lib/bounded-generation-map.test.ts": 35, "src/renderer/src/lib/browser/history/browser-history-match.test.ts": 328, "src/renderer/src/lib/browser/navigation/browser-link-destination.test.ts": 1839, - "src/renderer/src/lib/browser/navigation/browser-link-open-layout-owner.test.ts": 3133, "src/renderer/src/lib/browser/navigation/browser-link-open.test.ts": 2215, "src/renderer/src/lib/browser/navigation/browser-link-profile-isolation.test.ts": 2511, "src/renderer/src/lib/browser/palette/browser-page-palette-activation.test.ts": 1983, "src/renderer/src/lib/browser/palette/browser-palette-page-entries.test.ts": 480, - "src/renderer/src/lib/bundled-skill-target.test.ts": 54, + "src/renderer/src/lib/skills/runtime/bundled-skill-target.test.ts": 54, "src/renderer/src/lib/source-control/checks/check-run-details-log-normalization-performance.test.ts": 846, "src/renderer/src/lib/source-control/checks/check-run-details-log-normalization.test.ts": 75, "src/renderer/src/lib/claude-account-switch-sessions.test.ts": 782, "src/renderer/src/lib/claude-session-account-move.test.ts": 1816, - "src/renderer/src/lib/clipboard/images/clipboard-image-copy.test.ts": 243, - "src/renderer/src/lib/cmd-j-host-qualified-candidate-ownership.test.ts": 526, - "src/renderer/src/lib/cmd-j-linear-issue-intent.test.ts": 42, "src/renderer/src/lib/code-host-error-copy.test.ts": 297, - "src/renderer/src/lib/codex-pane-selection-lane.test.ts": 543, "src/renderer/src/lib/agent-session/accounts/codex/codex-session-restart-shell-flap.test.ts": 1745, - "src/renderer/src/lib/agent-session/accounts/codex/codex-session-restart.test.ts": 2039, - "src/renderer/src/lib/codex-stale-pane-account-identity.test.ts": 1823, - "src/renderer/src/lib/codex-stale-pane-sweep.test.ts": 1817, - "src/renderer/src/lib/source-control/review/comments/comment-body-submit-state.test.ts": 55, "src/renderer/src/lib/composer-submit-cancellation.test.ts": 41, "src/renderer/src/lib/workspace/ownership/connection-context.test.ts": 1817, - "src/renderer/src/lib/crash-diagnostics.test.ts": 176, "src/renderer/src/lib/create-untitled-markdown.test.ts": 566, - "src/renderer/src/lib/desktop-created-server-tabs.test.ts": 1933, "src/renderer/src/lib/workspace/ownership/direct-ssh-target-scope.test.ts": 48, - "src/renderer/src/lib/workspace/creation/work-item/direct-work-item-setup-callers.test.tsx": 2436, "src/renderer/src/lib/workspace/creation/work-item/direct-work-item-setup.test.ts": 2072, "src/renderer/src/lib/browser/documents/doc-preview-grants.test.ts": 2094, "src/renderer/src/lib/editor/file-operations/editor-file-operation-owner.test.ts": 2848, "src/renderer/src/lib/emulator-error-copy.test.ts": 415, - "src/renderer/src/lib/ensure-hooks-confirmed.test.ts": 799, - "src/renderer/src/lib/simulator/tabs/ensure-simulator-tab-behavior.test.ts": 3601, "src/renderer/src/runtime/hosts/platform/execution-host-facts.test.ts": 1796, - "src/renderer/src/lib/feature-education-telemetry.test.ts": 52, - "src/renderer/src/lib/feedback-image-attachments.test.ts": 557, - "src/renderer/src/lib/file-search-selection.test.ts": 51, - "src/renderer/src/lib/find-query-bounds.test.ts": 45, - "src/renderer/src/lib/finished-agent-resume-resurrection.test.ts": 1872, - "src/renderer/src/lib/focus-terminal-tab-surface.split-focus.test.ts": 331, - "src/renderer/src/lib/foreground-terminal-tabs.test.ts": 55, - "src/shared/new-workspace/github-links.test.ts": 76, "src/renderer/src/lib/work-items/github/github-source-runtime-context.test.ts": 62, - "src/shared/new-workspace/gitlab-links.test.ts": 56, - "src/renderer/src/lib/hook-command-delayed-delivery.test.ts": 1904, - "src/renderer/src/lib/host-chat-program.test.ts": 2419, - "src/renderer/src/lib/host-mirror-handle-gap-drain.test.ts": 1706, - "src/renderer/src/lib/host-mirror-handle-gap-resume.test.ts": 1811, - "src/renderer/src/lib/host-mirrored-pane-resume-replay.test.ts": 1814, - "src/renderer/src/lib/browser/navigation/http-link-completion.test.ts": 1760, "src/renderer/src/lib/browser/navigation/http-link-routing-store.test.ts": 2211, "src/renderer/src/lib/text-input/ime/ime-composition-keyboard-event.test.ts": 274, "src/renderer/src/lib/text-input/ime/ime-text-field.test.tsx": 739, - "src/renderer/src/lib/keyboard-layout/layout-base-character.test.ts": 48, - "src/renderer/src/lib/text-input/paste/large-text-control-paste.test.ts": 220, "src/renderer/src/lib/agent-session/launch/background/launch-agent-background-session-launch-parity.test.ts": 2792, "src/renderer/src/lib/agent-session/launch/background/launch-agent-background-session.test.ts": 1040, - "src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab-main-surface.test.ts": 1821, - "src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab-windows-quoting.test.ts": 1196, - "src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab.test.ts": 1417, "src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-new-tab-host-route-readiness.test.ts": 489, - "src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-picker-contract.test.ts": 3592, "src/renderer/src/lib/agent-session/launch/continuation/launch-agent-session-continuation-toast.test.tsx": 2347, - "src/renderer/src/lib/launch-cancel-tombstones-compat/structured-agent-session-launch-cancellation.test.ts": 2266, "src/renderer/src/lib/workspace/creation/work-item/launch-work-item-direct-accepted.test.tsx": 2754, "src/renderer/src/lib/workspace/creation/work-item/launch-work-item-direct-defaults.test.ts": 1594, "src/renderer/src/lib/workspace/creation/work-item/launch-work-item-direct-setup.test.tsx": 3435, - "src/renderer/src/lib/lazy-chunk-recovery-reload.test.ts": 246, - "src/renderer/src/lib/lazy-with-retry.never-landed-reload.test.ts": 194, - "src/renderer/src/lib/lazy-with-retry.preload.test.tsx": 208, - "src/renderer/src/lib/lazy-with-retry.test.ts": 282, - "src/renderer/src/lib/work-items/linear/linear-board-drag-payload.test.ts": 58, "src/renderer/src/lib/work-items/linear/linear-issue-workspace-attachment.test.ts": 99, - "src/renderer/src/lib/link-source-local-open-owner.test.ts": 433, "src/renderer/src/lib/work-items/linked-work-item-context.test.ts": 64, "src/renderer/src/lib/editor/monaco/monaco-editor-gutter-disposal.test.ts": 295, "src/renderer/src/lib/monaco-languages/markdown-heading-outline.test.ts": 70, @@ -6430,101 +5797,26 @@ "src/renderer/src/lib/monaco-languages/register-vue.test.ts": 303, "src/renderer/src/lib/monaco-languages/register-zig.test.ts": 4750, "src/renderer/src/lib/monaco-languages/textmate-token-provider.test.ts": 245, - "src/renderer/src/lib/monaco-languages/zig-highlighting.test.ts": 7984, "src/renderer/src/lib/agent-session/resume/cli-fork/native-chat-cli-fork-preparation.test.ts": 2773, - "src/renderer/src/lib/new-workspace.test.ts": 4534, - "src/renderer/src/lib/non-secure-context-crypto.repro.test.ts": 1691, - "src/renderer/src/lib/onboarding-folder-cancellation.test.ts": 2486, - "src/renderer/src/lib/open-agent-message-sender.test.ts": 1497, "src/renderer/src/lib/simulator/launch/open-mobile-emulator-tab.test.ts": 545, - "src/renderer/src/lib/orca-yaml-trust-prompt-slot-eviction.test.ts": 884, - "src/renderer/src/lib/order-empty-query-worktrees.test.ts": 62, - "src/renderer/src/lib/os-file-drop-cancellation-guard.test.ts": 204, - "src/renderer/src/lib/os-file-drop-preload-integration.test.tsx": 353, - "src/renderer/src/lib/paired-runtime-closed-tab-resume.test.ts": 2008, "src/renderer/src/lib/pane-manager/pane-close-focus-successor.test.ts": 1123, - "src/renderer/src/lib/pane-manager/pane-container-listener-lifecycle.test.ts": 312, - "src/renderer/src/lib/pane-manager/pane-cursor-blink-suspension.test.ts": 429, "src/renderer/src/lib/pane-manager/pane-drag-window-blur.test.ts": 618, - "src/renderer/src/lib/pane-manager/pane-fit-resize-observer.test.ts": 94, - "src/renderer/src/lib/pane-manager/pane-fit.test.ts": 166, - "src/renderer/src/lib/pane-manager/pane-inline-image-recovery.test.ts": 61, - "src/renderer/src/lib/pane-manager/pane-inline-images.test.ts": 74, "src/renderer/src/lib/pane-manager/pane-layout-geometry-apply.test.ts": 897, "src/renderer/src/lib/pane-manager/pane-manager-registry.test.ts": 69, "src/renderer/src/lib/pane-manager/pane-manager-spawn-placement.test.ts": 766, - "src/renderer/src/lib/pane-manager/pane-overlay-focus.test.ts": 622, - "src/renderer/src/lib/pane-manager/pane-scroll.test.ts": 153, - "src/renderer/src/lib/pane-manager/pane-terminal-foreground-render-settle.test.ts": 43, - "src/renderer/src/lib/pane-manager/pane-terminal-mouse-wheel.test.ts": 88, - "src/renderer/src/lib/pane-manager/pane-terminal-output-queue-chunks.test.ts": 44, - "src/renderer/src/lib/pane-manager/pane-terminal-output-scheduler-ack-credit.test.ts": 173, - "src/renderer/src/lib/pane-manager/pane-terminal-output-scheduler-disposed-writes.test.ts": 121, - "src/renderer/src/lib/pane-manager/pane-terminal-output-scheduler-queue-retention.test.ts": 301, - "src/renderer/src/lib/pane-manager/pane-terminal-output-scheduler-synchronized-frames.test.ts": 213, - "src/renderer/src/lib/pane-manager/pane-terminal-output-scheduler.test.ts": 236, - "src/renderer/src/lib/pane-manager/pane-tree-equalization-parity.test.ts": 182, - "src/renderer/src/lib/pane-manager/pane-tree-equalization-scaling.test.ts": 239, + "src/renderer/src/lib/pane-manager/terminal-output/pane-terminal-output-queue-chunks.test.ts": 44, "src/renderer/src/lib/pane-manager/pane-tree-match-moves.test.ts": 662, - "src/renderer/src/lib/pane-manager/pane-viewport-present-lifetime.test.ts": 1466, - "src/renderer/src/lib/pane-manager/pane-viewport-present-synchronized-output.test.ts": 316, - "src/renderer/src/lib/pane-manager/pane-webgl-renderer.test.ts": 390, - "src/renderer/src/lib/pane-manager/terminal-arabic-shaping-joiner.test.ts": 84, - "src/renderer/src/lib/pane-manager/terminal-delivery-credit.test.ts": 40, + "src/renderer/src/lib/pane-manager/terminal-rendering/terminal-arabic-shaping-joiner.test.ts": 84, "src/renderer/src/lib/pane-manager/terminal-foreground-repair-convergence.test.ts": 247, - "src/renderer/src/lib/pane-manager/terminal-grid-size-for-box.test.ts": 195, - "src/renderer/src/lib/pane-manager/terminal-image-added-repaint.test.ts": 50, - "src/renderer/src/lib/pane-manager/terminal-ime-anchor.test.ts": 51, - "src/renderer/src/lib/pane-manager/terminal-ime-candidate-anchor.test.ts": 232, - "src/renderer/src/lib/pane-manager/terminal-indic-cluster-ranges.test.ts": 50, - "src/renderer/src/lib/pane-manager/terminal-kitty-file-reader.test.ts": 83, - "src/renderer/src/lib/pane-manager/terminal-ligatures-addon.test.ts": 59, - "src/renderer/src/lib/pane-manager/terminal-link-provider-guard.test.ts": 48, - "src/renderer/src/lib/pane-manager/terminal-linkifier-hover-reset-on-write.test.ts": 59, - "src/renderer/src/lib/pane-manager/terminal-mouse-encoding-tracker.test.ts": 95, "src/renderer/src/lib/pane-manager/terminal-mouse-report-finite-coordinates.test.ts": 272, - "src/renderer/src/lib/pane-manager/terminal-scroll-intent-anchor.test.ts": 234, - "src/renderer/src/lib/pane-manager/terminal-scroll-intent-input-resync.test.ts": 72, - "src/renderer/src/lib/pane-manager/terminal-scroll-intent.test.ts": 118, - "src/renderer/src/lib/pane-manager/terminal-stable-cell-fit-addon.test.ts": 198, - "src/renderer/src/lib/pane-manager/terminal-structural-replay-coordinator.test.ts": 68, - "src/renderer/src/lib/pane-manager/terminal-structural-replay-presentation.test.ts": 360, - "src/renderer/src/lib/pane-manager/terminal-webgl-hidden-canvas-release.test.ts": 177, - "src/renderer/src/lib/pane-manager/terminal-windows-ctrl-alt-chord-classification.test.ts": 213, - "src/renderer/src/lib/pane-manager/terminal-write-pipeline-health.test.ts": 66, - "src/renderer/src/lib/pane-manager/windows-pty-compatibility.test.ts": 68, "src/renderer/src/lib/pane-manager/xterm-alternate-buffer-resize.test.ts": 89, - "src/renderer/src/lib/pane-manager/xterm-instance-disposed.test.ts": 57, - "src/renderer/src/lib/pane-manager/xterm-parse-barrier.test.ts": 154, - "src/renderer/src/lib/pane-manager/xterm-user-scrolling-contract.test.ts": 1266, - "src/renderer/src/lib/pane-manager/xterm-write-callback-guard.test.ts": 53, - "src/renderer/src/lib/pane-spawn-deferral-drain.test.ts": 61, - "src/renderer/src/lib/parked-terminal-host-hydration.test.ts": 274, "src/renderer/src/lib/text-input/paste/paste-payload-metadata.test.ts": 53, - "src/renderer/src/lib/path-head-elision.test.ts": 53, "src/renderer/src/lib/path.test.ts": 55, - "src/renderer/src/lib/plugin-command-keybindings.test.ts": 1909, - "src/renderer/src/lib/plugin-command-replacements.test.ts": 95, "src/renderer/src/lib/plugin-icons/plugin-icon-svg.test.ts": 231, - "src/renderer/src/lib/plugin-monaco-token-rules.test.ts": 51, "src/renderer/src/lib/source-control/review/pr-bot-author-overrides.test.ts": 349, "src/renderer/src/lib/source-control/review/comments/pr-comment-thread-resolution.test.ts": 48, - "src/renderer/src/lib/project-clone-url-prefill.test.ts": 61, - "src/renderer/src/lib/project-host-workspace-target.jira-mapping.test.ts": 76, - "src/renderer/src/lib/project-host-workspace-target.test.ts": 92, - "src/renderer/src/lib/react-commit-cascade-observer.react185.test.tsx": 285, - "src/renderer/src/lib/react-commit-cascade-observer.test.ts": 189, - "src/renderer/src/lib/react-commit-cascade-telemetry.test.ts": 159, - "src/renderer/src/lib/react-error-boundary-reporting.test.ts": 55, "src/renderer/src/lib/editor/file-operations/remap-open-editor-tabs-for-path-change.test.ts": 2178, - "src/renderer/src/lib/rename-user-named-tab-access.test.ts": 2804, "src/renderer/src/lib/renderer-agent-status-observation-ingress.test.ts": 81, - "src/renderer/src/lib/renderer-app-platform.test.ts": 197, - "src/renderer/src/lib/renderer-memory-profile.test.ts": 70, - "src/renderer/src/lib/repo-search.test.ts": 54, - "src/renderer/src/lib/repo-slug-cache.test.ts": 52, - "src/renderer/src/lib/repo-slug-index.test.ts": 2240, - "src/renderer/src/lib/resolved-worktree-execution-host.test.ts": 300, "src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session-deferred-pane.test.ts": 1747, "src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session-direct-ssh-hydration-gap.test.ts": 1654, "src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session-execution-host-scope.test.ts": 1924, @@ -6534,66 +5826,28 @@ "src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session-slept-pane-recovery.test.ts": 1855, "src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session-stranded-sleep.test.ts": 1962, "src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session-suppress-navigation.test.ts": 1919, - "src/renderer/src/lib/agent-session/resume/resume-sleeping-agent-session.test.ts": 2140, "src/renderer/src/lib/resume-stale-structured-agent-session.test.ts": 1774, - "src/renderer/src/lib/retracted-host-pane-resume.test.ts": 2009, "src/renderer/src/lib/review-owner.test.ts": 238, - "src/renderer/src/lib/run-quick-command-in-new-tab.test.ts": 82, "src/renderer/src/lib/runtime-host-copy.test.ts": 317, - "src/renderer/src/lib/script-textarea-rows.test.ts": 93, - "src/renderer/src/lib/session-write-subscriber-acknowledgment.test.ts": 1823, - "src/renderer/src/lib/session-write-subscriber.test.ts": 1882, - "src/renderer/src/lib/shutdown-checkpoint-guard.test.ts": 209, - "src/renderer/src/lib/sidebar-ended-creations.test.ts": 1889, - "src/renderer/src/lib/sidebar-pending-layer.test.ts": 338, - "src/renderer/src/lib/sidebar-shadow/workspace-activity-shadow.test.ts": 1728, "src/renderer/src/lib/simulator/launch/simulator-launch-coordination.test.ts": 43, "src/renderer/src/lib/simulator/search/simulator-palette-search.test.ts": 515, "src/renderer/src/lib/simulator/tabs/simulator-pane-shutdown-scheduler.test.ts": 1679, "src/renderer/src/lib/simulator/tabs/simulator-tab-layout-owner.test.ts": 2398, "src/renderer/src/lib/simulator/tabs/simulator-tab-palette-activation.test.ts": 1903, - "src/renderer/src/lib/sleeping-agent-session-launch-windows-quoting.test.ts": 547, "src/renderer/src/lib/source-control/remote/source-control-remote-error.test.ts": 340, - "src/renderer/src/lib/ssh-config-passive-sync.test.ts": 1513, - "src/renderer/src/lib/state-collection-byte-estimate.test.ts": 86, "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch-draft.test.ts": 1042, - "src/renderer/src/lib/agent-session/launch/structured-agent-session-launch-prerequisites.test.ts": 2427, - "src/renderer/src/lib/agent-session/options/structured-agent-session-selection-lifetime.test.tsx": 2947, - "src/renderer/src/lib/structured-chat-tab-index.test.ts": 45, - "src/renderer/src/lib/structured-session-open-consumers.test.tsx": 2643, "src/renderer/src/lib/syntax-highlighting/incremental-syntax-tokenizer.test.ts": 665, "src/renderer/src/lib/syntax-highlighting/syntax-highlight-scheduler.test.ts": 149, "src/renderer/src/lib/syntax-highlighting/syntax-highlighter.test.ts": 539, "src/renderer/src/lib/syntax-highlighting/textmate-core.test.ts": 60, - "src/renderer/src/lib/tab-agent-status-index.test.ts": 210, "src/renderer/src/lib/task-provider-error-copy.test.ts": 363, - "src/renderer/src/lib/terminal-app-theme.test.ts": 301, - "src/renderer/src/lib/terminal-input-activity-coalescing.test.ts": 43, - "src/renderer/src/lib/text-input/paste/text-control-paste-ownership.test.ts": 217, + "src/renderer/src/app-shell/appearance/terminal-app-theme.test.ts": 301, "src/renderer/src/lib/text-input/paste/text-control-paste.test.ts": 222, "src/renderer/src/lib/text-generation-error-copy.test.ts": 466, - "src/renderer/src/lib/typing-latency/echo-instrumentation.test.ts": 145, - "src/renderer/src/lib/typing-latency/renderer-long-tasks.test.ts": 75, - "src/renderer/src/lib/typing-latency/sample-window.test.ts": 77, - "src/renderer/src/lib/unread-badge-count-selector.test.ts": 1930, - "src/renderer/src/lib/use-tab-agent-observed-signal-dispatch.test.tsx": 1971, - "src/renderer/src/lib/use-tab-agent-opencode-native-title.test.ts": 2093, - "src/renderer/src/lib/use-tab-agent.test.ts": 1961, - "src/renderer/src/lib/user-opened-local-path.test.ts": 325, - "src/renderer/src/lib/wake-sleeping-agents-live-unmounted-pane.test.ts": 2432, - "src/renderer/src/lib/window-visibility-interval.test.ts": 48, - "src/renderer/src/lib/window-visibility-timeout-poller.test.ts": 207, - "src/renderer/src/lib/windows-terminal-capabilities-race.test.ts": 450, - "src/renderer/src/lib/windows-terminal-capabilities.test.ts": 585, - "src/renderer/src/lib/windows-terminal-capability-reprobe.test.ts": 198, "src/renderer/src/lib/workspace/activation/workspace-activation-path-gate.test.ts": 2107, "src/renderer/src/lib/browser/workspace/workspace-browser-tab-open-placement.test.ts": 1996, - "src/renderer/src/lib/workspace-doc-address-input.test.ts": 470, - "src/renderer/src/lib/workspace-file-drag.test.ts": 70, "src/renderer/src/lib/workspace-ports/workspace-port-scan-debounce.test.ts": 57, - "src/renderer/src/lib/workspace/persistence/workspace-session-host-contention.test.ts": 265, "src/renderer/src/lib/workspace/persistence/workspace-session-host-emptied-fields.test.ts": 279, - "src/renderer/src/lib/workspace/persistence/workspace-session-host-persistence.test.ts": 313, "src/renderer/src/lib/workspace/persistence/workspace-session-ssh-partition-ownership.test.ts": 309, "src/renderer/src/lib/workspace/persistence/workspace-session-ssh-partition-round-trip.test.ts": 1775, "src/renderer/src/lib/workspace/search/tabs/workspace-tab-palette-activation.store.test.ts": 1994, @@ -6605,23 +5859,17 @@ "src/renderer/src/lib/workspace/activation/worktree-activation-structured-chat-surface.test.ts": 2043, "src/renderer/src/lib/workspace/activation/worktree-activation-web-runtime.test.ts": 2768, "src/renderer/src/lib/workspace/activation/worktree-agent-activation-seam.test.ts": 3440, - "src/renderer/src/lib/workspace/creation/worktree-creation-backend-startup-focus.test.ts": 2267, "src/renderer/src/lib/workspace/creation/worktree-creation-initial-surface.test.ts": 5258, - "src/renderer/src/lib/workspace/creation/worktree-creation-structured-session-lifecycle.test.ts": 2633, "src/renderer/src/lib/workspace/creation/worktree-creation-structured-session-prompts.test.tsx": 4554, "src/renderer/src/lib/workspace/ownership/worktree-live-terminal-surface-owners.test.ts": 266, - "src/renderer/src/lib/workspace/ownership/worktree-operation-route-index.test.ts": 262, "src/renderer/src/lib/workspace/ownership/worktree-operation-route.test.ts": 342, "src/renderer/src/lib/workspace/search/worktrees/worktree-palette-comment-snippet.test.ts": 53, "src/renderer/src/lib/workspace/search/worktrees/worktree-palette-titleless-review.test.ts": 198, - "src/renderer/src/lib/workspace/search/worktrees/worktree-palette-search.test.ts": 206, "src/renderer/src/lib/workspace/search/worktrees/worktree-palette-task-url-match.test.ts": 165, "src/renderer/src/lib/workspace/activation/worktree-reactivation-preserved-pane-replacement.test.ts": 2268, "src/renderer/src/lib/workspace/activation/worktree-reactivation-tab-forkbomb.test.ts": 4131, "src/renderer/src/lib/workspace/ownership/worktree-runtime-owner-index.detected.test.ts": 121, "src/renderer/src/lib/workspace/ownership/worktree-runtime-owner.test.ts": 380, - "src/renderer/src/lib/worktree-status-spinner-launch-agent.test.ts": 271, - "src/renderer/src/lib/worktree-status.test.ts": 306, "src/renderer/src/lib/workspace/persistence/wsl-move-renderer-store-rewrites.test.ts": 1072, "src/renderer/src/runtime/rpc/calls/abortable-runtime-environment-call.test.ts": 189, "src/renderer/src/runtime/provider-accounts/observations/claude-agent-view-observations.test.ts": 105, @@ -6636,20 +5884,15 @@ "src/renderer/src/runtime/workspace-layout/frames/layout-changes-during-stream-outage.test.ts": 1948, "src/renderer/src/runtime/workspace-layout/commands/layout-owner-command.test.ts": 549, "src/renderer/src/runtime/native-chat/naming/legacy-chat-rename-migration.test.tsx": 3834, - "src/renderer/src/runtime/local-structured-session-tabs-sync/local-structured-session-tabs-sync.test.ts": 2643, "src/renderer/src/runtime/web-session-tabs-sync/agent-status/mirrored-agent-status-clock-skew.test.ts": 1839, - "src/renderer/src/runtime/web-session-tabs-sync/agent-status/paired-reconnect-sidebar-agent-count.test.ts": 1905, "src/renderer/src/runtime/web-session-tabs-sync/closing/paired-terminal-tab-close-environment-removal.test.ts": 1897, "src/renderer/src/runtime/web-session-tabs-sync/closing/paired-terminal-tab-close-reload.test.ts": 1943, "src/renderer/src/runtime/workspace-layout/frames/pane-titles-drawn-from-frames.test.ts": 1988, - "src/renderer/src/runtime/web-session-tabs-sync/agent-status/remote-agent-row-last-assistant-message.test.ts": 1776, - "src/renderer/src/runtime/files/mutations/remote-host-file-delete-repro.test.ts": 1890, "src/renderer/src/runtime/web-session-tabs-sync/inventory/remote-runtime-session-tabs-inflight.test.ts": 55, "src/renderer/src/runtime/hosted-terminals/snapshots/remote-runtime-snapshot-outcome.test.ts": 233, "src/renderer/src/runtime/hosted-terminals/streams/remote-runtime-terminal-frame-drop-resync.test.ts": 266, "src/renderer/src/runtime/hosted-terminals/streams/remote-runtime-terminal-paused-output-drop.test.ts": 248, "src/renderer/src/runtime/hosted-terminals/streams/remote-runtime-terminal-stale-stream-frames.test.ts": 234, - "src/renderer/src/runtime/hosted-terminals/streams/remote-runtime-terminal-stall-recovery.test.ts": 826, "src/renderer/src/runtime/hosts/updates/remote-server-restart-wait.test.ts": 49, "src/renderer/src/runtime/rpc/subscriptions/runtime-client-events.test.ts": 64, "src/renderer/src/runtime/files/reads/runtime-directory-page-client.test.ts": 268, @@ -6675,18 +5918,13 @@ "src/renderer/src/runtime/workspace-layout/server/server-layout-apply.test.ts": 2222, "src/renderer/src/runtime/workspace-layout/server/server-layout-editor-handover.test.ts": 5075, "src/renderer/src/runtime/workspace-layout/server/server-layout-frames-handover.test.ts": 1991, - "src/renderer/src/runtime/workspace-layout/server/server-layout-frames-held-tabs.test.ts": 2302, "src/renderer/src/runtime/workspace-layout/server/server-layout-frames.test.ts": 2053, "src/renderer/src/runtime/native-chat/status/structured-agent-session-status-feed-lifecycle.test.ts": 62, "src/renderer/src/runtime/native-chat/status/structured-agent-session-status-feed.test.ts": 82, - "src/renderer/src/runtime/native-chat/tab-retirement/structured-agent-session-tab-retirement.test.ts": 2115, - "src/renderer/src/runtime/native-chat/status/structured-agent-session-turn-completion-feed.test.ts": 118, "src/renderer/src/runtime/native-chat/host-capabilities/structured-chat-host-permission.test.ts": 523, "src/renderer/src/runtime/web-session-tabs-sync/placement/structured-conversation-tab-replacement.test.ts": 2029, - "src/renderer/src/runtime/native-chat/tab-retirement/structured-launch-cancel-layout-owner.test.ts": 1985, "src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-chat-tab-order.test.ts": 529, "src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-conversion-publish.test.ts": 1608, - "src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-editor-diff-tabs.test.ts": 526, "src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-parked-leaf.test.ts": 641, "src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-payload-partition.test.ts": 583, "src/renderer/src/runtime/sync-runtime-graph/sync-runtime-graph-publication-cost.test.ts": 549, @@ -6695,34 +5933,21 @@ "src/renderer/src/runtime/sync-runtime-graph/terminal-group-grid-sizes.test.ts": 194, "src/renderer/src/runtime/browser/creation/web-runtime-browser-creation-placement.test.ts": 1927, "src/renderer/src/runtime/browser/creation/web-runtime-browser-link-open.test.ts": 2217, - "src/renderer/src/runtime/browser/creation/web-runtime-browser-link-session.test.ts": 1964, - "src/renderer/src/runtime/browser/creation/web-runtime-session-browser-create-split-placement.test.ts": 949, - "src/renderer/src/runtime/web-session-tabs-sync/closing/web-runtime-session-tab-activate-close.test.ts": 1426, - "src/renderer/src/runtime/hosted-terminals/actions/web-runtime-session-terminal-pane-delegation.test.ts": 1341, - "src/renderer/src/runtime/hosted-terminals/creation/web-runtime-session-terminal-workspace-routing.test.ts": 768, - "src/renderer/src/runtime/web-session-tabs-sync/inventory/web-runtime-session.test.ts": 743, "src/renderer/src/runtime/web-session-tabs-sync/closing/web-session-close-replay.test.ts": 1119, - "src/renderer/src/runtime/web-session-tabs-sync/placement/web-session-open-files-batch-equivalence.test.ts": 1478, "src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-restored-placeholder-identity.test.ts": 985, "src/renderer/src/runtime/web-session-tabs-sync/agent-status/web-session-tabs-agent-completion-notifications.test.ts": 1953, "src/renderer/src/runtime/web-session-tabs-sync/tracking/web-session-tabs-removed-frame-retires-live-publisher.test.ts": 854, "src/renderer/src/runtime/web-session-tabs-sync/subscriptions/web-session-tabs-stream-end-resubscribe.test.tsx": 2282, - "src/renderer/src/runtime/web-session-tabs-sync/agent-status/web-session-tabs-sync-agent-status.test.ts": 987, - "src/renderer/src/runtime/web-session-tabs-sync/placement/web-session-tabs-sync-browser-tabs.test.ts": 925, - "src/renderer/src/runtime/web-session-tabs-sync/subscriptions/web-session-tabs-sync-completion-on-reveal.test.tsx": 2249, "src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-cross-runtime-worktree.test.ts": 964, "src/renderer/src/runtime/web-session-tabs-sync/placement/web-session-tabs-sync-editor-ownership.test.ts": 1902, "src/renderer/src/runtime/web-session-tabs-sync/placement/web-session-tabs-sync-editor-tabs.test.ts": 1073, "src/renderer/src/runtime/web-session-tabs-sync/navigation/web-session-tabs-sync-focus-intent.test.ts": 892, "src/renderer/src/runtime/web-session-tabs-sync/agent-status/web-session-tabs-sync-host-tab-retraction-ghost-rows.test.ts": 1956, - "src/renderer/src/runtime/web-session-tabs-sync/subscriptions/web-session-tabs-sync-initial-terminal-relaunch.test.tsx": 2248, "src/renderer/src/runtime/web-session-tabs-sync/identity/web-session-tabs-sync-mirror-identity.test.ts": 2524, "src/renderer/src/runtime/web-session-tabs-sync/placement/web-session-tabs-sync-mirrored-draft-close.test.ts": 1833, "src/renderer/src/runtime/web-session-tabs-sync/agent-status/web-session-tabs-sync-remote-status-title-flap.test.ts": 1715, - "src/renderer/src/runtime/web-session-tabs-sync/agent-status/web-session-tabs-sync-sleep-activity.test.ts": 1010, "src/renderer/src/runtime/web-session-tabs-sync/agent-status/web-session-tabs-sync-stale-spinner.test.ts": 921, "src/renderer/src/runtime/web-session-tabs-sync/tracking/web-session-tabs-sync-tracking-teardown.test.ts": 940, - "src/renderer/src/runtime/web-session-tabs-sync/subscriptions/web-session-tabs-sync-unverifiable-host.test.tsx": 2424, "src/renderer/src/runtime/web-session-tabs-sync/subscriptions/web-session-tabs-sync-visibility-collision.test.tsx": 2699, "src/renderer/src/runtime/web-session-tabs-sync/subscriptions/web-session-tabs-sync-window-visibility.test.tsx": 2589, "src/renderer/src/runtime/web-session-tabs-sync/subscriptions/web-session-tabs-sync-worktree-switch.test.tsx": 2625, @@ -6730,7 +5955,6 @@ "src/renderer/src/runtime/web-session-tabs-sync/frame-drawn-server-workspaces.test.ts": 956, "src/renderer/src/runtime/hosted-terminals/recovery/inventory/web-session-terminal-orphan-absence-across-republication.test.ts": 678, "src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-mixed-version.test.ts": 923, - "src/renderer/src/runtime/hosted-terminals/recovery/adoption/web-session-terminal-orphan-recovery-adoption-regressions.test.ts": 1214, "src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-recovery-regressions.test.ts": 1029, "src/renderer/src/runtime/hosted-terminals/recovery/web-session-terminal-orphan-recovery-sleep.test.ts": 1066, "src/renderer/src/runtime/hosted-terminals/recovery/surfaces/web-session-terminal-orphan-recovery-topology-fence.test.ts": 868, @@ -6739,10 +5963,8 @@ "src/renderer/src/runtime/hosted-terminals/recovery/evidence/web-session-terminal-retirement-proof-ledger.test.ts": 685, "src/renderer/src/runtime/rpc/subscriptions/window-visibility-subscription-parking-stream-end.test.ts": 225, "src/renderer/src/runtime/workspace-layout/frames/workspace-layout-frame-binding.test.ts": 2155, - "src/renderer/src/runtime/workspace-layout/frames/workspace-layout-frame-editor-views.test.ts": 2098, "src/renderer/src/runtime/workspace-layout/frames/workspace-layout-frame-held-tabs.test.ts": 2519, "src/renderer/src/runtime/workspace-layout/frames/workspace-layout-frame-sync.test.ts": 2282, - "src/renderer/src/runtime/workspace-layout/frames/workspace-layout-frame-tab-props.test.ts": 2852, "src/renderer/src/ssh/node-dist-mirror-recovery.test.ts": 1770, "src/renderer/src/ssh/ssh-connect-in-flight.test.ts": 62, "src/renderer/src/startup/startup-degraded-recovery.test.ts": 574, @@ -6754,20 +5976,15 @@ "src/renderer/src/store/github/requests/provider-request-coalescing.test.ts": 969, "src/renderer/src/store/slices/hosted-review/refresh/visible-hosted-review-refresh-scheduler.test.ts": 97, "src/renderer/src/store/github/repositories/wsl-stopped-distro-poll-refusal.test.ts": 696, - "src/renderer/src/store/workspaces/host-isolation/host-twin-isolation.test.ts": 1889, - "src/renderer/src/store/workspaces/host-isolation/host-twin-worktree-purge.test.ts": 1945, "src/renderer/src/store/plugins/localization/plugin-language-packs-startup.test.ts": 435, "src/renderer/src/store/plugins/localization/plugin-language-packs.test.ts": 377, "src/renderer/src/store/plugins/catalog/plugin-panel-retry-timer-cleanup.test.ts": 5216, "src/renderer/src/store/plugins/catalog/plugin-panels.test.ts": 2142, "src/renderer/src/store/projects/project-catalog-null-field-ingest.test.ts": 309, - "src/renderer/src/store/diagnostics/react-commit-cascade-write-probe.test.ts": 602, "src/renderer/src/store/repos/dropped-repo-worktree-rows.test.ts": 1738, "src/renderer/src/store/repos/repo-removal.test.ts": 799, - "src/renderer/src/store/repos/safe-auto-fork-sync.test.ts": 446, "src/renderer/src/store/repos/wsl-moved-local-session-rows.test.ts": 319, "src/renderer/src/store/repos/wsl-moved-repo-ui-retention.test.ts": 2920, - "src/renderer/src/store/slices/tabs/closing/running-terminal-close-confirm.test.ts": 50, "src/renderer/src/store/slices/runtime-status/views/runtime-status-subscriptions.test.ts": 182, "src/renderer/src/store/slices/editor/focus/active-selection-owner-scoping.test.ts": 1909, "src/renderer/src/store/slices/agent-status/agent-hibernation-live-anchor-e2e.test.ts": 1783, @@ -6791,20 +6008,15 @@ "src/renderer/src/store/slices/agent-status/agent-status-worktree-purge-leak.test.ts": 1744, "src/renderer/src/store/slices/agent-status/agent-status.test.ts": 2129, "src/renderer/src/store/repos/all-host-catalog-settlement.test.ts": 1955, - "src/renderer/src/store/slices/worktrees/teardown/ambiguous-owner-warning-worktree-removal-leak.test.ts": 2101, "src/renderer/src/store/slices/browser/annotations/browser-annotation-retention.test.ts": 8178, "src/renderer/src/store/slices/browser/cleanup/browser-cleanup-close.test.ts": 1911, "src/renderer/src/store/slices/browser/cleanup/browser-mount-admission-removal.test.ts": 1982, "src/renderer/src/store/slices/browser/pages/browser-page-conversion.test.ts": 1777, - "src/renderer/src/store/slices/browser/hosts/browser-remote-tab-creation.test.ts": 2119, "src/renderer/src/store/slices/browser/hosts/browser-session-host-selection.test.ts": 988, "src/renderer/src/store/slices/browser/profiles/browser-session-profiles.test.ts": 792, "src/renderer/src/store/slices/browser/tabs/browser-tab-creation-placement.test.ts": 1886, "src/renderer/src/store/slices/browser/pages/browser-workspace-doc-location.test.ts": 2007, "src/renderer/src/store/slices/browser/browser.test.ts": 2001, - "src/renderer/src/store/slices/worktrees/teardown/bulk-worktree-purge-terminal-maps-leak.test.ts": 1727, - "src/renderer/src/store/workspaces/creation/active-workspace-create-actions.test.ts": 1879, - "src/renderer/src/store/terminals/codex-restart-notice-lifecycle.test.ts": 1685, "src/renderer/src/store/slices/tabs/content-tabs-from-main-frames.test.ts": 2025, "src/renderer/src/store/slices/tabs/content-tabs-paired-server-workspace.test.ts": 1923, "src/renderer/src/store/terminals/degraded-repo-hydration.test.ts": 1771, @@ -6813,12 +6025,9 @@ "src/renderer/src/store/slices/diff-comments/diffComments.test.ts": 1896, "src/renderer/src/store/slices/editor/git/editor-branch-line-total.test.ts": 892, "src/renderer/src/store/slices/editor/checks/editor-check-details-reading.test.ts": 945, - "src/renderer/src/store/slices/editor/checks/editor-check-details-reconstructed-owner.test.ts": 2056, "src/renderer/src/store/slices/editor/checks/editor-check-details-tab-owner.test.ts": 1103, - "src/renderer/src/store/slices/editor/checks/editor-check-details-tabs.test.ts": 1814, "src/renderer/src/store/slices/editor/closing/editor-close-background-file.test.ts": 893, "src/renderer/src/store/slices/editor/closing/editor-close-document-siblings.test.ts": 1317, - "src/renderer/src/store/slices/editor/closing/editor-close-file-cleanup.test.ts": 2000, "src/renderer/src/store/slices/editor/closing/editor-close-file-stale-active.test.ts": 1806, "src/renderer/src/store/slices/editor/closing/editor-close-pinned-sibling.test.ts": 924, "src/renderer/src/store/slices/editor/closing/editor-close-workspace-selection.test.ts": 1850, @@ -6826,21 +6035,17 @@ "src/renderer/src/store/slices/editor/git/editor-git-status-reconciliation.test.ts": 870, "src/renderer/src/store/slices/editor/tabs/editor-layout-owner-records.test.ts": 2006, "src/renderer/src/store/slices/editor/markdown/editor-markdown-link-activation.test.ts": 953, - "src/renderer/src/store/slices/editor/git/editor-open-diff.test.ts": 1987, "src/renderer/src/store/slices/editor/tabs/editor-open-link-placement.test.ts": 1987, "src/renderer/src/store/slices/editor/tabs/editor-preview-tab-setting.test.ts": 1952, "src/renderer/src/store/slices/editor/opening/editor-read-only-tabs.test.ts": 901, "src/renderer/src/store/slices/editor/closing/editor-recently-closed-tabs.test.ts": 1948, "src/renderer/src/store/slices/editor/git/editor-remote-branch-actions.test.ts": 935, - "src/renderer/src/store/slices/editor/hydration/editor-session-duplicate-restore.test.ts": 1931, "src/renderer/src/store/slices/editor/focus/editor-set-active-file-guard.test.ts": 895, "src/renderer/src/store/slices/editor/tabs/editor-tab-layout-owner.test.ts": 1883, - "src/renderer/src/store/slices/editor/tabs/editor-tab-placement.test.ts": 1837, "src/renderer/src/store/slices/editor/tabs/editor-tab-shared-project-owner.test.ts": 954, "src/renderer/src/store/slices/editor/buffers/editor-buffer-reconcile-identity.test.ts": 1775, "src/renderer/src/store/slices/editor/buffers/editor-buffer-reconcile-joins.test.ts": 1766, "src/renderer/src/store/slices/editor/buffers/editor-buffer-rejoin.test.ts": 1843, - "src/renderer/src/store/slices/editor/buffers/editor-buffer-views.test.ts": 2004, "src/renderer/src/store/slices/editor/file-ids/floating-editor-file-id-layout-owner.test.ts": 933, "src/renderer/src/store/slices/worktrees/session/folder-workspace-activation-and-activity.test.ts": 2358, "src/renderer/src/store/slices/diff-comments/folder-workspace-diff-comments.test.ts": 1042, @@ -6850,15 +6055,12 @@ "src/renderer/src/store/github/pull-requests/github-linked-review-clear-ownership.test.ts": 891, "src/renderer/src/store/slices/editor/git/github-post-operation-owner.test.ts": 2062, "src/renderer/src/store/github/pull-requests/github-pr-branch-direct-refresh-scope.test.ts": 667, - "src/renderer/src/store/github/pull-requests/github-pr-branch-fallback-results.test.ts": 658, "src/renderer/src/store/github/pull-requests/github-pr-branch-linked-pr-divergence.test.ts": 662, "src/renderer/src/store/github/comments/github-pr-comment-read-order.test.ts": 570, "src/renderer/src/store/github/comments/github-pr-comments.test.ts": 746, - "src/renderer/src/store/github/pull-requests/github-pr-host-scope.test.ts": 1030, "src/renderer/src/store/github/refresh/github-pr-manual-refresh-broadcast.test.ts": 693, "src/renderer/src/store/github/refresh/github-pr-refresh-states-leak.test.ts": 1327, "src/renderer/src/store/github/pull-requests/github-pr-request-lifetime.test.ts": 1458, - "src/renderer/src/store/github/projects/github-project-view-tables.test.ts": 656, "src/renderer/src/store/github/repositories/github-repo-lookup-index.test.ts": 51, "src/renderer/src/store/github/review-threads/github-review-thread-rollback.test.ts": 663, "src/renderer/src/store/github/task-records/github-task-record-retries.test.ts": 758, @@ -6877,17 +6079,14 @@ "src/renderer/src/store/slices/worktrees/teardown/native-chat-launch-draft-teardown.test.ts": 1854, "src/renderer/src/store/slices/orca-profiles/orca-profiles-auth-actions-connect-overlap.test.ts": 1685, "src/renderer/src/store/slices/tabs/pinned-tab-close-confirm.test.ts": 44, - "src/renderer/src/store/slices/preflight/preflight.test.ts": 1858, "src/renderer/src/store/repos/project-removal-host-twin-state.test.ts": 1972, "src/renderer/src/store/repos/project-removal-owner-host.test.ts": 1880, "src/renderer/src/store/repos/project-removal-runtime-terminal-order.test.ts": 1769, "src/renderer/src/store/repos/project-removal-unreachable-server.test.ts": 2292, "src/renderer/src/store/slices/worktrees/teardown/purge-stale-runtime-host-ownership.test.ts": 1767, - "src/renderer/src/store/slices/worktrees/teardown/purge-stale-runtime-host-state.test.ts": 1719, "src/renderer/src/store/slices/worktrees/teardown/removed-worktree-diff-memory.test.ts": 2981, "src/renderer/src/store/repos/repos-add-races.test.ts": 1731, "src/renderer/src/store/repos/repos-all-hosts-generation.test.ts": 1908, - "src/renderer/src/store/repos/repos-all-hosts.test.ts": 1971, "src/renderer/src/store/repos/repos-catalog-connection-fence.test.ts": 1821, "src/renderer/src/store/repos/repos-catalog-request-coordination.test.ts": 1602, "src/renderer/src/store/repos/repos-ephemeral-vm-cleanup-retention.test.ts": 2459, @@ -6905,7 +6104,6 @@ "src/renderer/src/store/repos/runtime-catalog-merge-removed-env-guard.test.ts": 1787, "src/renderer/src/store/slices/agent-inventory/runtime-detected-agents-pairing.test.ts": 608, "src/renderer/src/store/slices/agent-inventory/runtime-detected-agents.test.ts": 478, - "src/renderer/src/store/slices/runtime-status/runtime-environment-peer-replacement.test.ts": 120, "src/renderer/src/store/slices/worktrees/teardown/runtime-host-purge-session-partition-split.test.ts": 1770, "src/renderer/src/store/slices/runtime-status/runtime-managed-repair-keeps-workspaces.test.ts": 1776, "src/renderer/src/store/terminals/runtime-pane-title-sort-epoch.test.ts": 1737, @@ -6916,54 +6114,39 @@ "src/renderer/src/store/slices/runtime-status/set-runtime-environments-purge-wiring.test.ts": 1683, "src/renderer/src/store/slices/settings/settings-owner-hydration-write-fence.test.ts": 1860, "src/renderer/src/store/slices/settings/settings-terminal-quick-commands.test.ts": 1734, - "src/renderer/src/store/slices/settings/settings.test.ts": 1938, "src/renderer/src/store/slices/worktrees/create/sparse-presets.test.ts": 217, - "src/renderer/src/store/slices/ssh/ssh.test.ts": 1843, "src/renderer/src/lib/workspace/activation/active-worktree-removal-successor.test.ts": 1867, - "src/renderer/src/store/slices/worktrees/session/store-active-worktree-selection.test.ts": 2039, "src/renderer/src/store/terminals/store-create-tab-start-in-main.test.ts": 1801, "src/renderer/src/store/slices/tabs/store-open-to-side-layout-owner.test.ts": 1919, - "src/renderer/src/store/slices/browser/hydration/store-session-browser-hydration.test.ts": 1906, "src/renderer/src/store/repos/store-session-cascades.test.ts": 1775, - "src/renderer/src/store/slices/editor/hydration/store-session-editor-hydration.test.ts": 1719, - "src/renderer/src/store/terminals/store-session-terminal-reconnect.test.ts": 2279, - "src/renderer/src/store/terminals/store-session-workspace-hydration.test.ts": 1733, - "src/renderer/src/store/terminals/store-sleep-agent-status-retention.test.ts": 7641, "src/renderer/src/store/terminals/store-sleep-exact-runtime-stop.test.ts": 1842, "src/renderer/src/store/terminals/store-sleep-pane-hibernation.test.ts": 1932, "src/renderer/src/store/terminals/store-sleep-runtime-convergence.test.ts": 1767, - "src/renderer/src/store/terminals/store-sleep-twin-host-owner.test.ts": 1706, "src/renderer/src/store/slices/worktrees/teardown/store-worktree-removal-cascade.test.ts": 1786, "src/renderer/src/store/slices/worktrees/teardown/tab-worktree-orphan-map-purge-leak.test.ts": 1936, "src/renderer/src/store/slices/tabs/tabs-close-dangling-group.test.ts": 1849, "src/renderer/src/store/slices/tabs/tabs-hydration-group-validation.test.ts": 249, "src/renderer/src/store/slices/tabs/tabs-hydration.test.ts": 273, "src/renderer/src/store/slices/tabs/tabs-label-and-pin-state.test.ts": 1921, - "src/renderer/src/store/slices/tabs/tabs-model-reconciliation.test.ts": 1800, "src/renderer/src/store/slices/tabs/tabs-open-close-lifecycle.test.ts": 2140, "src/renderer/src/store/slices/tabs/tabs-pane-layout-operations.test.ts": 1652, - "src/renderer/src/store/slices/tabs/tabs-split-create.test.ts": 1733, "src/renderer/src/store/slices/tabs/tabs-unread-and-focus.test.ts": 1801, "src/renderer/src/store/slices/tabs/structured-chat-close-owner.test.ts": 1866, "src/renderer/src/store/slices/tabs/tabs-reconciliation-empty-groups.test.ts": 1703, "src/renderer/src/store/terminals/terminal-layout-pty-ownership.test.ts": 1734, "src/renderer/src/store/terminals/terminal-pane-detach-agent-identity.test.ts": 1627, - "src/renderer/src/store/terminals/terminal-pane-detach-agent-retention.test.ts": 2846, "src/renderer/src/store/terminals/terminal-pty-identity-replacement.test.ts": 1751, "src/renderer/src/store/terminals/terminal-quick-command-hosts.test.ts": 1759, "src/renderer/src/store/terminals/terminal-tab-owner-index.test.ts": 50, "src/renderer/src/store/terminals/terminal-tab-recovery-remount.test.ts": 1791, "src/renderer/src/store/terminals/terminal-tab-retirement-store.test.ts": 1955, - "src/renderer/src/store/terminals/terminal-tab-title-batch.test.ts": 1749, "src/renderer/src/store/terminals/terminals-hydration-canonical-pty-overlap.test.ts": 1946, "src/renderer/src/store/terminals/terminals-hydration-canonical-rows.test.ts": 1680, - "src/renderer/src/store/slices/ui/ui-agent-send-target.test.ts": 760, "src/renderer/src/store/slices/ui/ui-host-filter-sync.test.ts": 597, "src/renderer/src/store/slices/ui/ui-host-workspace-statuses.test.ts": 1695, "src/renderer/src/store/slices/ui/ui-modal-slot-dismissal.test.ts": 662, "src/renderer/src/store/slices/ui/ui-slice-surface-actions.test.ts": 1760, "src/renderer/src/store/slices/worktrees/session/workspace-activation-preparation.test.ts": 1932, - "src/renderer/src/store/slices/workspace-attention/workspace-unread-characterization.test.ts": 1974, "src/renderer/src/store/slices/workspace-attention/workspace-unread-flag-host-raises.test.ts": 1914, "src/renderer/src/store/slices/workspace-attention/workspace-unread-on-screen-characterization.test.ts": 1780, "src/renderer/src/store/slices/workspace-attention/workspace-unread-screen-moves-characterization.test.ts": 1884, @@ -6994,13 +6177,9 @@ "src/renderer/src/store/slices/worktrees/metadata/worktrees-git-identity-twin-host.test.ts": 1342, "src/renderer/src/store/slices/worktrees/listing/worktrees-hydration-purge.test.ts": 1274, "src/renderer/src/store/slices/worktrees/session/worktrees-identity-migration.test.ts": 1412, - "src/renderer/src/store/slices/worktrees/metadata/worktrees-lineage-state.test.ts": 1133, "src/renderer/src/store/slices/worktrees/metadata/worktrees-linked-review-push-target.test.ts": 1186, "src/renderer/src/store/slices/worktrees/metadata/worktrees-multiple-attachments.test.ts": 1132, "src/renderer/src/store/slices/worktrees/create/worktrees-pending-creation-state.test.ts": 1132, - "src/renderer/src/store/slices/worktrees/teardown/worktrees-purge-terminal-state.test.ts": 1133, - "src/renderer/src/store/slices/worktrees/create/worktrees-remote-runtime-create.test.ts": 1244, - "src/renderer/src/store/slices/worktrees/teardown/worktrees-remote-runtime-removal.test.ts": 1227, "src/renderer/src/store/slices/worktrees/teardown/worktrees-removal-state-cleanup.test.ts": 1229, "src/renderer/src/store/slices/worktrees/listing/worktrees-runtime-connection-generation-fence.test.ts": 1240, "src/renderer/src/store/slices/worktrees/session/worktrees-terminal-pr-exact-observation.test.ts": 1201, @@ -7025,10 +6204,8 @@ "src/renderer/src/store/terminals/terminal-no-op-subscriber.test.ts": 1763, "src/renderer/src/store/terminals/terminal-startup-queue-restart.test.ts": 1895, "src/renderer/src/store/terminals/terminal-tab-close-intent.test.ts": 1945, - "src/renderer/src/store/terminals/workspace-terminal-placeholders.test.ts": 302, "src/renderer/src/store/slices/runtime-status/views/use-runtime-status-view.test.tsx": 1979, "src/renderer/src/store/workspace-layout/workspace-layout-cache.test.ts": 63, - "src/renderer/src/store/workspace-layout/frames/workspace-layout-frame-store-patch.test.ts": 2284, "src/renderer/src/store/slices/worktrees/listing/worktree-host-collision-index.test.ts": 1875, "src/renderer/src/web/preload-api/web-agent-session-attachment-upload.test.ts": 1588, "src/renderer/src/web/preload-api/web-chat-permission-normalization.test.ts": 293, @@ -7145,7 +6322,6 @@ "src/shared/agent-session/options/agent-session-option-catalog-opencode.test.ts": 200, "src/shared/agent-session/options/agent-session-option-catalog-removers.test.ts": 199, "src/shared/agent-session/options/agent-session-option-catalog.test.ts": 210, - "src/shared/agent-session/options/structured-agent-session-model-catalog-application.test.ts": 235, "src/shared/agent-session/options/structured-agent-session-option-picks.test.ts": 211, "src/shared/agent-session/options/structured-agent-session-option-view.test.ts": 275, "src/shared/agent-session/options/structured-agent-session-options-write-owner.test.ts": 249, @@ -7210,12 +6386,10 @@ "src/shared/automation-schedules.test.ts": 174, "src/shared/automation-session-reuse.test.ts": 51, "src/shared/bounded-map.test.ts": 69, - "src/shared/browser/annotations/browser-annotation-viewport-live-target.test.ts": 259, "src/shared/browser/extensions/browser-extension-permission-warnings.test.ts": 57, "src/shared/browser/extensions/browser-extension-url.test.ts": 278, "src/shared/browser/extensions/browser-extension-webstore.test.ts": 235, "src/shared/browser-load-failure.test.ts": 238, - "src/shared/browser/network/tunnels/browser-network-tunnel-protocol.test.ts": 47, "src/shared/browser/network/tunnels/browser-network-tunnel-stream-framing.test.ts": 1645, "src/shared/browser-url.test.ts": 268, "src/shared/bundled-web-client-manifest.test.ts": 66, @@ -7519,7 +6693,6 @@ "src/shared/orca-session-address.test.ts": 154, "src/shared/orca-yaml-alias-bounds.test.ts": 425, "src/shared/orca-yaml-bounds.test.ts": 192, - "src/shared/orcad-artifacts.test.ts": 45, "src/shared/orcad-build-identity.test.ts": 48, "src/shared/orcad-migration-manifest-contract.test.ts": 323, "src/shared/orcad-migration/orcad-migration-blob-transfer.test.ts": 348, @@ -7836,7 +7009,6 @@ "src/shared/agent-launch/startup/tui-agent-launch-command-argument-values.test.ts": 266, "src/shared/agent-launch/startup/tui-agent-launch-command-override.test.ts": 63, "src/shared/agent-launch/startup/tui-agent-launch-command-pick-flags.test.ts": 242, - "src/shared/agent-launch/permissions/tui-agent-permission-choice.test.ts": 1009, "src/shared/agent-launch/permissions/tui-agent-permissions.test.ts": 42, "src/shared/agent-launch/catalog/tui-agent-selection.test.ts": 47, "src/shared/agent-launch/startup/tui-agent-startup-kiro-resume.test.ts": 205, @@ -7972,7 +7144,6 @@ "src/wsl-guest/opencode-startup-prompt-install.test.ts": 290, "src/wsl-guest/plugin-overlay-env.test.ts": 130, "src/wsl-guest/plugin-overlay.test.ts": 263, - "src/wsl-guest/plugin-source-limit.test.ts": 40, "src/wsl-guest/preflight-handler.test.ts": 95, "src/wsl-guest/protocol-backpressure.test.ts": 126, "src/wsl-guest/protocol-handshake.test.ts": 66, @@ -7990,14 +7161,9 @@ "tests/e2e/SmartWorkspaceSourceResultList.linear-read-error.unit.test.ts": 3757, "tests/e2e/agent-launch-cli.unit.test.ts": 2379, "tests/e2e/agent-launch-setup-choice.unit.test.ts": 2657, - "tests/e2e/agent-model-catalog-renderer-cache.unit.test.ts": 2029, - "tests/e2e/ai-vault-account-stream.unit.test.ts": 4506, "tests/e2e/ai-vault-manual-name-clear.unit.test.ts": 21206, "tests/e2e/automation-chat-reopen.unit.test.ts": 6262, - "tests/e2e/automation-save-fallback.unit.test.ts": 9065, - "tests/e2e/claude-agent-row-view.unit.test.ts": 1491, "tests/e2e/codex-child-approval-activity-row.unit.test.ts": 14886, - "tests/e2e/completed-worker-retirement-resume.unit.test.ts": 38857, "tests/e2e/crew-cli-addresses.unit.test.ts": 5321, "tests/e2e/crew-parent-rpc.unit.test.ts": 4853, "tests/e2e/crew-recipient-parent-command.unit.test.ts": 5692, @@ -8010,7 +7176,6 @@ "tests/e2e/github-work-item-search-burst.unit.test.ts": 1552, "tests/e2e/global-setup-cli-artifact.unit.test.ts": 58, "tests/e2e/global-teardown.unit.test.ts": 113, - "tests/e2e/automation-terminal-launch.unit.test.ts": 7860, "tests/e2e/headless-editor-mirror-identities.unit.test.ts": 1889, "tests/e2e/helpers/alt-screen-frame.unit.test.ts": 100, "tests/e2e/helpers/client-hosted-browser-fixture.unit.test.ts": 792, @@ -8021,7 +7186,6 @@ "tests/e2e/helpers/electron-process-shutdown.unit.test.ts": 6545, "tests/e2e/helpers/golden-source-control.unit.test.ts": 804, "tests/e2e/helpers/headless-paired-runtime-serve-readiness.unit.test.ts": 53, - "tests/e2e/helpers/orcad-convert-teardown.unit.test.ts": 76, "tests/e2e/helpers/paired-client-runtime-environment.unit.test.ts": 67, "tests/e2e/helpers/paired-client-window-reveal.unit.test.ts": 57, "tests/e2e/helpers/persisted-profile-state.unit.test.ts": 402, @@ -8030,22 +7194,16 @@ "tests/e2e/host-agent-launch-preferences-work.unit.test.ts": 3882, "tests/e2e/host-agent-launch-settings-hook-bookkeeping.unit.test.ts": 21972, "tests/e2e/host-cold-park-remote-subscriber.unit.test.ts": 5314, - "tests/e2e/journal-restored-consumers.unit.test.ts": 33933, "tests/e2e/launch-agent-background-session-remote.unit.test.ts": 1016, - "tests/e2e/launch-agent-in-new-tab-web-runtime.unit.test.ts": 14288, "tests/e2e/linear-cli-recovery.unit.test.ts": 7592, "tests/e2e/linear-store.unit.test.ts": 519, "tests/e2e/linear-write-lifetime.unit.test.ts": 5214, "tests/e2e/multi-workspace-typing-bench.unit.test.ts": 550, - "tests/e2e/native-chat-image-runtime-context.unit.test.ts": 2124, "tests/e2e/native-chat-live-history.unit.test.ts": 3258, "tests/e2e/native-chat-rewind-boundary.unit.test.ts": 2977, "tests/e2e/native-chat-ssh-transcript.unit.test.ts": 1166, "tests/e2e/native-chat-startup-option-pickers.unit.test.ts": 9377, - "tests/e2e/native-chat-transcript-file-order.unit.test.ts": 1066, - "tests/e2e/native-chat-transcript-reasoning.unit.test.ts": 3341, "tests/e2e/nested-agent-idle-owner.unit.test.ts": 2469, - "tests/e2e/omp-child-session-recovery.unit.test.ts": 2205, "tests/e2e/omp-retired-host-renderer.unit.test.ts": 2546, "tests/e2e/omp-risk-remote-review.unit.test.ts": 1137, "tests/e2e/orchestration-worker-workspace-resolution.unit.test.ts": 5936, @@ -8054,8 +7212,6 @@ "tests/e2e/paired-worktree-agent-command-owner.unit.test.ts": 1767, "tests/e2e/pdf-detail-dimension-reads.unit.test.ts": 438, "tests/e2e/persistence-automation-target-dispatch.unit.test.ts": 8084, - "tests/e2e/pty-folder-project-runtime-contract.unit.test.ts": 6574, - "tests/e2e/pty-spawn-cwd-folder-owner.unit.test.ts": 4454, "tests/e2e/remote-agent-completion-authority.unit.test.ts": 1742, "tests/e2e/remote-terminal-input-delivery-model.unit.test.ts": 23690, "tests/e2e/remote-terminal-tab-retirement.unit.test.ts": 5828, @@ -8067,26 +7223,17 @@ "tests/e2e/source-control-action-phone-launch.unit.test.ts": 746, "tests/e2e/ssh-browser-network-execution-route.docker.unit.test.ts": 413, "tests/e2e/structured-agent-session-launch-admission.unit.test.ts": 4762, - "tests/e2e/structured-agent-session-launch-continuation.unit.test.ts": 23572, - "tests/e2e/structured-agent-session-read-owner.unit.test.ts": 6912, "tests/e2e/structured-attention-headless-delivery.unit.test.ts": 328, "tests/e2e/structured-attention-prompt-relay.unit.test.ts": 14045, "tests/e2e/structured-attention-read-retirement.unit.test.ts": 6109, - "tests/e2e/structured-chat-tab-lifetime-cost.unit.test.ts": 10344, "tests/e2e/structured-chat-tab-lifetime.unit.test.ts": 5616, - "tests/e2e/structured-session-tab-close-regressions.unit.test.ts": 32432, "tests/e2e/sustained-agent-typing-load-scripts.unit.test.ts": 2169, "tests/e2e/task-page-linear-refresh-authority.unit.test.ts": 5548, - "tests/e2e/task-page-linear-refresh-transport.unit.test.ts": 2019, - "tests/e2e/terminal-agent-fork-draft-ownership.unit.test.ts": 30195, - "tests/e2e/terminal-binding-crash-hydration.unit.test.ts": 1769, "tests/e2e/terminal-foreground-confirmation.unit.test.ts": 644, "tests/e2e/terminal-perf-presentation.unit.test.ts": 60, - "tests/e2e/web-runtime-session-terminal-host-authority.unit.test.ts": 1061, "tests/e2e/worktree-status-warning.unit.test.ts": 2331, "tests/tools/branch-line-total-renderer.test.mjs": 1222, "tests/tools/omp-close-lifecycle.test.mjs": 403, - "tests/tools/omp-config-root-local-shell.test.mjs": 308, "tests/tools/omp-config-root-relay-shell.test.mjs": 297, "tests/tools/relay-bench/phone-e2ee-desktop-parity.test.mjs": 111, "tests/tools/relay-bench/region-probe-replay.test.mjs": 79, @@ -8119,7 +7266,6 @@ "src/main/skills/runtime-transfer/skill-client-mediated-transfer.test.ts": 179, "src/main/skills/cloud/skill-cloud-direct-upload.test.ts": 78, "src/main/skills/cloud/skill-cloud-grant-installation.test.ts": 185, - "src/main/skills/cloud/skill-cloud-request.test.ts": 61, "src/main/skills/cloud/skill-cloud-package-service.test.ts": 466, "src/main/skills/skill-delete/skill-delete-plan.test.ts": 239, "src/main/skills/skill-delete/skill-delete-recovery.test.ts": 178, @@ -8129,10 +7275,8 @@ "src/main/skills/discovery/skill-discovery-wsl-bash-filter.test.ts": 2105, "src/main/skills/discovery/skill-discovery-wsl-script-roundtrip.test.ts": 136, "src/main/skills/discovery/skill-discovery-wsl-observation.test.ts": 104, - "src/main/skills/install/skill-install-destinations.test.ts": 58, "src/main/skills/install/skill-install-discovery-verification.test.ts": 143, "src/main/skills/transaction-state/skill-install-lock.test.ts": 354, - "src/main/skills/install/skill-install-operation-error.test.ts": 86, "src/main/skills/install/skill-install-recovery.test.ts": 454, "src/main/skills/install/skill-install-request.test.ts": 508, "src/main/skills/install/skill-installation.test.ts": 985, @@ -8160,7 +7304,10 @@ "src/main/skills/skill-delete/skill-wsl-delete.integration.test.ts": 85, "src/main/skills/filesystem/skill-wsl-install-filesystem.test.ts": 60, "src/main/skills/install/skill-wsl-install-transaction.integration.test.ts": 250, - "src/main/skills/filesystem/skill-wsl-posix-semantics.integration.test.ts": 254 + "src/main/skills/filesystem/skill-wsl-posix-semantics.integration.test.ts": 254, + "src/renderer/src/lib/pane-manager/terminal-scroll/pane-scroll.test.ts": 153, + "src/renderer/src/lib/pane-manager/terminal-replay/terminal-structural-replay-coordinator.test.ts": 68, + "src/renderer/src/lib/pane-manager/terminal-protocol/windows-pty-compatibility.test.ts": 68 } }, "e2e": { @@ -8195,7 +7342,6 @@ "tests/e2e/app-menu-paste-ownership.spec.ts": 31900, "tests/e2e/artificial-opencode-terminal-load.spec.ts": 230300, "tests/e2e/automation-hidden-terminal-first-mount.spec.ts": 15100, - "tests/e2e/automation-prompt-disclosure.spec.ts": 27000, "tests/e2e/browser-address-bar-narrow-toolbar.spec.ts": 17100, "tests/e2e/browser-embedded-owner-routing.spec.ts": 20900, "tests/e2e/browser-fedcm-fallback.spec.ts": 15100, @@ -8238,7 +7384,6 @@ "tests/e2e/github-cli-stall-repro.spec.ts": 18200, "tests/e2e/github-url-smart-input-transition.spec.ts": 58200, "tests/e2e/golden-agent-tui-launch.spec.ts": 27300, - "tests/e2e/golden-core-flows.spec.ts": 91100, "tests/e2e/golden-file-open-edit-save.spec.ts": 25000, "tests/e2e/golden-fresh-profile-terminal.spec.ts": 24400, "tests/e2e/golden-posix-fresh-startup.spec.ts": 4900, diff --git a/config/scripts/ci/unit-selection/dependency-graph/ci-unit-files.mjs b/config/scripts/ci/unit-selection/dependency-graph/ci-unit-files.mjs index 0f946b7faba..4fae9b4f7a5 100644 --- a/config/scripts/ci/unit-selection/dependency-graph/ci-unit-files.mjs +++ b/config/scripts/ci/unit-selection/dependency-graph/ci-unit-files.mjs @@ -51,7 +51,6 @@ export const UNIT_EXCLUDE = [ 'src/main/browser/guest-lifecycle/popups/presentation/popup-origin-chrome.electron.test.ts', 'src/main/browser/guest-lifecycle/navigation/browser-link-materialization.electron.test.ts', 'src/main/browser/client-pages/renderer/browser-client-page-renderer-lifecycle.electron.test.ts', - 'src/main/persistence/profile-state/profile-state-writer-stall.electron.test.ts', 'src/main/browser/guest-lifecycle/popups/compatibility/browser-popup-compatibility.electron.test.ts', 'src/main/browser/guest-lifecycle/popups/compatibility/browser-popup-native-compatibility.electron.test.ts', 'src/main/browser/guest-lifecycle/popups/compatibility/browser-popup-background-compatibility.electron.test.ts', diff --git a/config/scripts/desktop-distribution/runtime-verification/verify-packaged-mobile-web-bundle.cjs b/config/scripts/desktop-distribution/runtime-verification/verify-packaged-mobile-web-bundle.cjs index 769e1c90235..46370dc1d46 100644 --- a/config/scripts/desktop-distribution/runtime-verification/verify-packaged-mobile-web-bundle.cjs +++ b/config/scripts/desktop-distribution/runtime-verification/verify-packaged-mobile-web-bundle.cjs @@ -106,6 +106,19 @@ function parseManifest(bundleDir) { } } } + if (manifest.catalogs !== undefined && !Array.isArray(manifest.catalogs)) { + throw failure('manifest catalogs is not a list') + } + for (const catalog of manifest.catalogs ?? []) { + if (typeof catalog !== 'object' || catalog === null || typeof catalog.locale !== 'string') { + throw failure('manifest catalog entry has no locale') + } + assertSafeRelativePath(catalog.path) + if (typeof catalog.sha256 !== 'string' || !SHA256_PATTERN.test(catalog.sha256)) { + throw failure(`manifest catalog ${catalog.path} has no sha256 digest`) + } + assertInteger(catalog.byteLength, `catalogs[${catalog.path}].byteLength`) + } if (!manifest.assets.some((asset) => asset.path === manifest.entrypoint)) { throw failure(`manifest entrypoint ${manifest.entrypoint} is not one of its assets`) } @@ -126,6 +139,11 @@ function parseManifest(bundleDir) { return manifest } +// Assets go to the phone; catalogs stay on the host, which serves one on request. +function servedFiles(manifest) { + return [...manifest.assets, ...(manifest.catalogs ?? [])] +} + function listBundleFiles(directory, prefix = '') { const found = [] for (const entry of readdirSync(directory, { withFileTypes: true })) { @@ -164,7 +182,7 @@ function assertNoUnlistedFiles(bundleDir, manifest) { const listed = new Set([ 'manifest.json', ...darkBuildMarkerFileNames(), - ...manifest.assets.map((asset) => asset.path), + ...servedFiles(manifest).map((file) => file.path), ...brotliCopies(manifest).map((asset) => brotliPath(asset)) ]) const strays = listBundleFiles(bundleDir).filter((path) => !listed.has(path)) @@ -180,7 +198,7 @@ function assertNoUnlistedFiles(bundleDir, manifest) { function assertMobileWebBundleBuilt(bundleDir = MOBILE_WEB_BUNDLE_DIR) { const manifest = parseManifest(bundleDir) assertNoUnlistedFiles(bundleDir, manifest) - for (const asset of manifest.assets) { + for (const asset of servedFiles(manifest)) { const assetPath = join(bundleDir, asset.path) const size = statSize(bundleDir, asset.path) if (size !== asset.byteLength) { diff --git a/config/scripts/desktop-distribution/runtime-verification/verify-packaged-mobile-web-bundle.test.mjs b/config/scripts/desktop-distribution/runtime-verification/verify-packaged-mobile-web-bundle.test.mjs index e916dfc216a..74368296c74 100644 --- a/config/scripts/desktop-distribution/runtime-verification/verify-packaged-mobile-web-bundle.test.mjs +++ b/config/scripts/desktop-distribution/runtime-verification/verify-packaged-mobile-web-bundle.test.mjs @@ -8,8 +8,6 @@ import { writeMobileWebBundleFixtureTree } from '../../build/mobile-web-app/mobi const require = createRequire(import.meta.url) const { assertMobileWebBundleBuilt } = require('./verify-packaged-mobile-web-bundle.cjs') -const electronBuilderConfig = require('../../../electron-builder.config.cjs') -const { darkBuildMarkers } = require('../../../dark-build-switches.cjs') async function withBundle(run, { brotli = false } = {}) { const scratch = await mkdtemp(join(tmpdir(), 'orca-mobile-web-guard-')) @@ -37,16 +35,6 @@ describe('assertMobileWebBundleBuilt', () => { vi.restoreAllMocks() }) - it('fails on a file the manifest does not list, so no stale asset ships inside asar', async () => { - await withBundle(async ({ bundleDir }) => { - // Dropped content-addressed assets never overwrite themselves; reject leftovers rather than pack unverified unreachable bytes. - await writeFile(join(bundleDir, 'assets', 'stale.js'), '// from an earlier build\n', 'utf8') - expect(() => assertMobileWebBundleBuilt(bundleDir)).toThrow( - /does not list: assets\/stale\.js/ - ) - }) - }) - it('fails when an asset is tampered with on disk', async () => { await withBundle(async ({ bundleDir, manifest }) => { const asset = manifest.assets.find((entry) => entry.path.endsWith('.js')) @@ -58,14 +46,6 @@ describe('assertMobileWebBundleBuilt', () => { }) }) - it('fails when a listed asset was never written', async () => { - await withBundle(async ({ bundleDir, manifest }) => { - const asset = manifest.assets.find((entry) => entry.path.endsWith('.png')) - await rm(join(bundleDir, asset.path)) - expect(() => assertMobileWebBundleBuilt(bundleDir)).toThrow(/which is missing from/) - }) - }) - it('accepts the brotli copies the manifest lists, and fails one that inflates to other bytes', async () => { await withBundle( async ({ bundleDir, manifest }) => { @@ -84,29 +64,4 @@ describe('assertMobileWebBundleBuilt', () => { { brotli: true } ) }) - - it('refuses an asset path that escapes the bundle directory', async () => { - await withBundle(async ({ bundleDir }) => { - await rewriteManifest(bundleDir, (manifest) => { - manifest.assets[0].path = '../outside.js' - }) - expect(() => assertMobileWebBundleBuilt(bundleDir)).toThrow(/not a safe relative path/) - }) - }) -}) - -describe('electron-builder packaging wiring', () => { - it('verifies a dark page build, and refuses to package it', async () => { - await withBundle(async ({ bundleDir }) => { - const [marker] = darkBuildMarkers({ ORCA_SIDEBAR_INPUTS: 'main' }) - await writeFile(join(bundleDir, marker.fileName), marker.text, 'utf8') - expect(() => assertMobileWebBundleBuilt(bundleDir)).not.toThrow() - expect(() => - electronBuilderConfig.beforePack( - { electronPlatformName: process.platform, arch: process.arch === 'arm64' ? 3 : 1 }, - bundleDir - ) - ).toThrow(`${bundleDir} holds an ORCA_SIDEBAR_INPUTS=main build`) - }) - }) }) diff --git a/config/scripts/locale-catalog/locale-cjk-latin-spaced-terms.mjs b/config/scripts/locale-catalog/locale-cjk-latin-spaced-terms.mjs index dce911f0a4c..f93d7b5ed70 100644 --- a/config/scripts/locale-catalog/locale-cjk-latin-spaced-terms.mjs +++ b/config/scripts/locale-catalog/locale-cjk-latin-spaced-terms.mjs @@ -32,6 +32,9 @@ export const CJK_LATIN_SPACED_TERMS = [ 'Kimi', 'OpenCode', 'Orca', + 'Artifacts', + 'Artifact', + 'Relay', 'Cursor', 'Bitbucket', 'Tailscale', diff --git a/config/scripts/locale-catalog/locale-ja-unified-values.mjs b/config/scripts/locale-catalog/locale-ja-unified-values.mjs index bd099f9be7b..c85b2d93793 100644 --- a/config/scripts/locale-catalog/locale-ja-unified-values.mjs +++ b/config/scripts/locale-catalog/locale-ja-unified-values.mjs @@ -152,7 +152,7 @@ export const JA_UNIFIED_VALUES = { 'The GitLab CLI is installed but not authenticated. Run this command in a terminal:': 'GitLab CLI はインストールされていますが、認証されていません。ターミナルで次のコマンドを実行してください:', 'Install GitLab CLI': 'GitLab CLI をインストール', - 'CLI.': 'CLI。', + 'CLI.': 'CLI', 'The GitHub CLI is installed but not authenticated. Run this command in a terminal:': 'GitHub CLI はインストールされていますが、認証されていません。ターミナルで次のコマンドを実行してください:', 'Install GitHub CLI': 'GitHub CLI をインストール', diff --git a/config/scripts/locale-catalog/locale-key-overrides.mjs b/config/scripts/locale-catalog/locale-key-overrides.mjs index 625c59ae173..8947fb2fee8 100644 --- a/config/scripts/locale-catalog/locale-key-overrides.mjs +++ b/config/scripts/locale-catalog/locale-key-overrides.mjs @@ -116,7 +116,7 @@ const BASE_LOCALE_KEY_OVERRIDES = { }, 'auto.components.settings.SettingsSidebar.82db1b7de4': { ko: '온보딩 체크리스트, {{value0}}/{{value1}} 완료. 설정 가이드 보기.', - zh: '入门清单,已完成 {{value0}}/{{value1}}。显示设置指南。', + zh: '入门清单,已完成 {{value0}}/{{value1}}。显示设置指南', ja: 'オンボーディングチェックリスト、{{value0}}/{{value1}} 完了。セットアップガイドを表示。' }, 'auto.components.settings.ShortcutFilterRail.02dc7d4251': { @@ -307,12 +307,12 @@ const BASE_LOCALE_KEY_OVERRIDES = { }, 'settings.appearance.statusBar.kimiToggleDescription': { ko: '활성 워크스페이스의 Kimi 구독 사용량을 표시합니다.', - zh: '显示当前工作区的 Kimi 订阅使用情况。', + zh: '显示当前工作区的 Kimi 订阅使用情况', ja: 'アクティブなワークスペースの Kimi サブスクリプション使用状況を表示します。' }, 'auto.components.mobile.MobileHero.cd4e5e816f': { ko: '주머니 속의 워크스페이스.', - zh: '您的工作区就在您的口袋里。', + zh: '您的工作区就在您的口袋里', ja: 'ワークスペースをポケットに。' }, 'auto.components.GitHubItemDialog.dbe5e2448e': { @@ -332,12 +332,12 @@ const BASE_LOCALE_KEY_OVERRIDES = { }, 'auto.components.JiraIssueWorkspace.857bd2f88f': { ko: '선택한 이슈를 미리보기하고, 편집하고, 작업을 시작하세요.', - zh: '预览、编辑并从选定的议题开始工作。', + zh: '预览、编辑并从选定的议题开始工作', ja: '選択したイシューをプレビュー・編集し、そこから作業を開始します。' }, 'auto.components.LinearIssueWorkspace.ad5dec37b7': { ko: '선택한 이슈를 미리보기하고, 편집하고, 작업을 시작하세요.', - zh: '预览、编辑并从选定的议题开始工作。', + zh: '预览、编辑并从选定的议题开始工作', ja: '選択したイシューをプレビュー・編集し、そこから作業を開始します。' }, 'auto.components.TaskPage.67662ade50': { @@ -352,12 +352,12 @@ const BASE_LOCALE_KEY_OVERRIDES = { }, 'auto.components.TaskPage.1e1b2ad8f2': { ko: '이 이슈를 등록하기 전에 프로젝트 워크스페이스에서 팀을 선택하세요.', - zh: '在提交此议题之前,请从项目工作区选择一个团队。', + zh: '在提交此议题之前,请从项目工作区选择一个团队', ja: 'このイシューを登録する前に、プロジェクトワークスペースからチームを選択してください。' }, 'auto.components.TaskPage.94d900518d': { ko: '선택한 프리셋과 일치하는 이슈가 없습니다.', - zh: '没有与所选预设匹配的议题。', + zh: '没有与所选预设匹配的议题', ja: '選択したプリセットに一致するイシューはありません。' }, 'auto.components.linear.project.view.surfaces.3ad562bdf4': { @@ -392,7 +392,7 @@ const BASE_LOCALE_KEY_OVERRIDES = { }, 'auto.components.onboarding.OnboardingFlow.04ae28d8ca': { ko: '몇 시간 내내 보고 싶은 테마를 선택하세요.', - zh: '选择你想盯着看几个小时的主题。', + zh: '选择你想盯着看几个小时的主题', ja: '何時間も眺めていたくなるテーマを選んでください。' }, 'auto.components.GitLabItemDialog.e089f62594': { @@ -402,12 +402,12 @@ const BASE_LOCALE_KEY_OVERRIDES = { }, 'auto.components.right.sidebar.source.control.primary.action.3d5dccef0b': { ko: '커밋할 것이 없습니다. PR은 이미 병합되었습니다.', - zh: '没有可提交的内容。PR 已合并。', + zh: '没有可提交的内容。PR 已合并', ja: 'コミットするものはありません。PR はすでにマージされています。' }, 'auto.components.settings.integrations.search.16a486a49d': { ko: 'Linear에 연결해 이슈를 탐색하고 연결합니다.', - zh: '连接 Linear 以浏览和链接议题。', + zh: '连接 Linear 以浏览和链接议题', ja: 'Linear に接続してイシューを参照し、リンクします。' }, 'menu.showTitlebarAppName': { @@ -422,7 +422,7 @@ const BASE_LOCALE_KEY_OVERRIDES = { }, 'auto.lib.fix.checks.agent.launch.9f00d7df0c': { ko: '검사 프롬프트가 비어 있습니다. 소스 제어 AI 설정을 업데이트하세요.', - zh: '检查提示为空。请更新源代码管理 AI 设置。', + zh: '检查提示为空。请更新源代码管理 AI 设置', ja: 'チェック プロンプトが空です。ソース管理 AI 設定を更新してください。' }, 'auto.components.TaskPage.2af3ab5c58': { @@ -442,7 +442,7 @@ const BASE_LOCALE_KEY_OVERRIDES = { }, 'auto.components.TaskPage.25ff84769a': { ko: '이 Linear 컨텍스트와 일치하는 이슈가 없습니다.', - zh: '没有议题与此 Linear 上下文匹配。', + zh: '没有议题与此 Linear 上下文匹配', ja: 'この Linear コンテキストに一致するイシューはありません。' }, 'auto.components.GitHubItemDialog.8c45901789': { @@ -512,7 +512,7 @@ const BASE_LOCALE_KEY_OVERRIDES = { }, 'auto.components.GitHubItemDialog.a341343303': { ko: '리뷰 댓글이 추가되었습니다.', - zh: '已添加评审评论。', + zh: '已添加评审评论', ja: 'レビューコメントを追加しました。' }, // Port forwarding "Forward" is 転送, not the browser-navigation 進む. diff --git a/config/scripts/locale-catalog/locale-ko-key-overrides.json b/config/scripts/locale-catalog/locale-ko-key-overrides.json index 0e236078462..58203344f03 100644 --- a/config/scripts/locale-catalog/locale-ko-key-overrides.json +++ b/config/scripts/locale-catalog/locale-ko-key-overrides.json @@ -446,9 +446,6 @@ "auto.components.Terminal.5b2c1a9e44": { "ko": "agent CLI를 찾지 못했습니다. 하나를 설치하거나 설정에서 기본 agent를 선택하세요." }, - "auto.components.Terminal.7958465754": { - "ko": "실행 중인 프로세스가 있는 terminals이 있습니다. 그래도 창을 닫으시겠습니까?" - }, "auto.components.Terminal.e57db40c11": { "ko": "{{value0}} 실행 명령을 만들 수 없습니다." }, @@ -518,9 +515,6 @@ "auto.components.automations.AutomationDetail.29baf8f4c2": { "ko": "소스" }, - "auto.components.automations.AutomationDetail.620b22145e": { - "ko": "유예 시간" - }, "auto.components.automations.AutomationEditorDialog.a2e688226d": { "ko": "워크트리" }, diff --git a/config/scripts/locale-catalog/locale-macos-tcc-key-overrides.mjs b/config/scripts/locale-catalog/locale-macos-tcc-key-overrides.mjs index d094fb6c249..375e3335e6e 100644 --- a/config/scripts/locale-catalog/locale-macos-tcc-key-overrides.mjs +++ b/config/scripts/locale-catalog/locale-macos-tcc-key-overrides.mjs @@ -9,13 +9,13 @@ export const MACOS_TCC_KEY_OVERRIDES = { es: 'Los mensajes de permisos de macOS pueden aparecer cuando un agente o una herramienta de terminal que se ejecuta en Orca intenta acceder a archivos protegidos. Concede acceso total al disco en Ajustes para reducir estos avisos.', ja: 'Orca で実行中のエージェントやターミナルツールが保護されたファイルにアクセスしようとすると、macOS の権限メッセージが表示されることがあります。これらの確認を減らすには、設定でフルディスクアクセスを許可してください。', ko: 'Orca에서 실행 중인 에이전트나 터미널 도구가 보호된 파일에 접근하려고 하면 macOS 권한 메시지가 표시될 수 있습니다. 이러한 요청을 줄이려면 설정에서 전체 디스크 접근 권한을 허용하세요.', - zh: '当 Orca 中运行的智能体或终端工具尝试访问受保护的文件时,macOS 可能会显示权限信息。请在“设置”中授予“完全磁盘访问权限”,以减少此类提示。' + zh: '当 Orca 中运行的智能体或终端工具尝试访问受保护的文件时,macOS 可能会显示权限信息。请在“设置”中授予“完全磁盘访问权限”,以减少此类提示' }, 'auto.components.settings.DeveloperPermissionsPane.7ca17b62c8': { es: 'Cuando los agentes que ejecuta Orca leen datos de otras apps, macOS muestra el nombre de Orca porque es el proceso responsable de los comandos de terminal. Concede este permiso a Orca para reducir esos avisos. Después, cierra y vuelve a abrir Orca.', ja: 'Orca が実行するエージェントがほかのアプリのデータを読み取ると、ターミナルコマンドの実行元プロセスである Orca の名前が macOS に表示されます。これらの確認を減らすには、Orca にこの権限を許可してください。その後、Orca を終了して再度開いてください。', ko: 'Orca가 실행하는 에이전트가 다른 앱의 데이터를 읽으면, macOS는 터미널 명령을 실행하는 프로세스인 Orca를 표시합니다. 이러한 요청을 줄이려면 Orca에 이 권한을 허용하세요. 그런 다음 Orca를 종료했다가 다시 여세요.', - zh: '当 Orca 运行的智能体读取其他应用的数据时,macOS 会显示 Orca,因为 Orca 是执行终端命令的进程。请为 Orca 授予此权限,以减少此类提示。然后退出并重新打开 Orca。' + zh: '当 Orca 运行的智能体读取其他应用的数据时,macOS 会显示 Orca,因为 Orca 是执行终端命令的进程。请为 Orca 授予此权限,以减少此类提示。然后退出并重新打开 Orca' }, 'auto.components.settings.DeveloperPermissionsPane.c566bca278': { ko: '전체 디스크 접근 권한', diff --git a/config/scripts/locale-catalog/locale-translation-policy-ko-round5.test.mjs b/config/scripts/locale-catalog/locale-translation-policy-ko-round5.test.mjs deleted file mode 100644 index 6d8561bcdcc..00000000000 --- a/config/scripts/locale-catalog/locale-translation-policy-ko-round5.test.mjs +++ /dev/null @@ -1,54 +0,0 @@ -import { describe, expect, it } from 'vitest' - -import { repairTranslatedValue } from './locale-translation-policy.mjs' - -describe('locale-translation-policy ko round 5', () => { - it('re-glues Korean particles after Latin terms without gluing content words', () => { - // A wrong space before the 에 particle is re-glued onto the Latin term. - expect( - repairTranslatedValue({ - key: 'auto.components.StarNagCard.cf82170065', - enValue: 'Could not star the repo. Make sure', - localeValue: 'repo 에 스타를 표시할 수 없습니다. 다음을 확인하세요', - locale: 'ko' - }) - ).toBe('repo에 스타를 표시할 수 없습니다. 다음을 확인하세요') - expect( - repairTranslatedValue({ - key: 'auto.components.github.project.ProjectCell.4b5b871da8', - enValue: 'No labels in this repo.', - localeValue: '이 repo 에는 라벨이 없습니다.', - locale: 'ko' - }) - ).toBe('이 repo에는 라벨이 없습니다.') - expect( - repairTranslatedValue({ - key: 'auto.components.terminal.pane.CloseTerminalDialog.6b9a6975f8', - enValue: - 'The terminal still has a running process. If you close the terminal, the process will be killed.', - localeValue: - 'terminal 에는 여전히 실행 중인 프로세스가 있습니다. terminal을 닫으면 프로세스가 종료됩니다.', - locale: 'ko' - }) - ).toBe( - 'terminal에는 여전히 실행 중인 프로세스가 있습니다. terminal을 닫으면 프로세스가 종료됩니다.' - ) - // A correct space before a content word that merely starts with a particle syllable is kept. - expect( - repairTranslatedValue({ - key: 'auto.components.JiraIssueWorkspace.76513c7898', - enValue: 'Close Jira issue preview', - localeValue: 'Jira 이슈 미리보기 닫기', - locale: 'ko' - }) - ).toBe('Jira 이슈 미리보기 닫기') - expect( - repairTranslatedValue({ - key: 'auto.components.GitHubItemDialog.3ab6ac0fc8', - enValue: 'Preview and edit the selected GitHub issue or pull request.', - localeValue: '선택한 GitHub 이슈 또는 PR을 미리보기하고 편집합니다.', - locale: 'ko' - }) - ).toBe('선택한 GitHub 이슈 또는 PR을 미리보기하고 편집합니다.') - }) -}) diff --git a/config/scripts/locale-catalog/locale-translation-policy.ja-relocalization.test.mjs b/config/scripts/locale-catalog/locale-translation-policy.ja-relocalization.test.mjs deleted file mode 100644 index 0ab813ce684..00000000000 --- a/config/scripts/locale-catalog/locale-translation-policy.ja-relocalization.test.mjs +++ /dev/null @@ -1,76 +0,0 @@ -import { describe, expect, it } from 'vitest' - -import { repairTranslatedValue, shouldPreserveEnglishValue } from './locale-translation-policy.mjs' - -const ja = (enValue, localeValue, key = 'auto.test.relocalization') => - repairTranslatedValue({ key, enValue, localeValue, locale: 'ja' }) - -describe('locale-translation-policy ja relocalization', () => { - it('leaves the second word of a two-word command in Latin', () => { - expect(ja('a commit hook or git commit fails', 'コミットフックまたは git commit が失敗')).toBe( - 'コミットフックまたは git commit が失敗' - ) - expect(ja('Run orca terminal', 'orca terminal を実行')).toBe('orca terminal を実行') - expect(ja('Install with pnpm install', 'pnpm install でインストール')).toBe( - 'pnpm install でインストール' - ) - }) - - it('leaves identifiers, flags, filenames, and Latin-only labels alone', () => { - expect(ja('Pass --agent to select one.', '--agent を渡して選択します。')).toBe( - '--agent を渡して選択します。' - ) - expect(ja('Edit agents.md', 'agents.md を編集')).toBe('agents.md を編集') - expect(ja('Agent SDK settings', 'Agent SDK の設定')).toBe('Agent SDK の設定') - expect(ja('Agent SDK settings', 'この Agent SDK の設定')).toBe('この Agent SDK の設定') - expect(ja('Run git commit -m', 'git commit -m を実行')).toBe('git commit -m を実行') - }) - - it('repairs translated code examples back to executable values', () => { - expect(ja('--model sonnet', '--モデルソネット')).toBe('--model sonnet') - expect( - ja("gh pr list --json number -q '.[0].number'", "gh pr list --json 番号 -q '.[0].number'") - ).toBe("gh pr list --json number -q '.[0].number'") - expect(ja('{basePrompt}', '{ベースプロンプト}')).toBe('{basePrompt}') - expect(ja('/pricing', '/価格設定')).toBe('/pricing') - }) - - it('keeps style blocks in English because a translated selector breaks the view', () => { - expect(shouldPreserveEnglishValue('.pp-card[data-card="starter"] .pp-cta')).toBe(true) - expect(shouldPreserveEnglishValue('@keyframes browser-flash { to { opacity: 1; } }')).toBe(true) - expect(shouldPreserveEnglishValue('.card { background: var(--card); }')).toBe(true) - // Why: the declaration requirement is what keeps prose containing braces translatable. - expect(shouldPreserveEnglishValue('e.g. {{value0}}')).toBe(false) - }) - - it('leaves ranges and token samples out of the ellipsis rule', () => { - expect(ja('Compare main...HEAD', 'main...HEAD を比較')).toBe('main...HEAD を比較') - }) - - it('preserves a selector that has no declaration block', () => { - for (const value of [ - 'div.pricing-grid > div.card.starter:nth-of-type(1) > a.cta', - '.pp-cta', - '#dialog', - '.pp-card[data-card="starter"] .pp-cta', - 'button.primary', - 'a:hover', - 'input[type="text"]', - 'localhost:3000' - ]) { - expect(shouldPreserveEnglishValue(value)).toBe(true) - } - // Why: two ordinary sentences carry two periods, which must not read as selector joins. - for (const value of [ - 'Open Settings > Git and try again.', - 'Show live workspace ports. Click it for workspace-scoped ports and external listeners.', - 'orca.yaml + local', - '.gitignore', - 'Status:', - 'Done.', - '#{{value0}}' - ]) { - expect(shouldPreserveEnglishValue(value)).toBe(false) - } - }) -}) diff --git a/config/scripts/locale-catalog/locale-value-overrides.mjs b/config/scripts/locale-catalog/locale-value-overrides.mjs index 6b08bcc811e..025a1833d7d 100644 --- a/config/scripts/locale-catalog/locale-value-overrides.mjs +++ b/config/scripts/locale-catalog/locale-value-overrides.mjs @@ -197,8 +197,8 @@ export const LOCALE_VALUE_OVERRIDES = { Next: '下一步', Beta: '测试版', Dismiss: '关闭', - Artifacts: '工件', - artifacts: '工件', + Artifacts: '产物', + artifacts: '产物', Native: '原生', Bundled: '内置', Quarter: '季度', diff --git a/config/scripts/locale-catalog/locale-zh-value-overrides.mjs b/config/scripts/locale-catalog/locale-zh-value-overrides.mjs index 82c499edec5..dd816f66b0f 100644 --- a/config/scripts/locale-catalog/locale-zh-value-overrides.mjs +++ b/config/scripts/locale-catalog/locale-zh-value-overrides.mjs @@ -22,7 +22,7 @@ export const ZH_VALUE_OVERRIDES = { reviewer: '评审人', review: '评审', Review: '评审', - 'No matching reviewers.': '没有匹配的评审人。', + 'No matching reviewers.': '没有匹配的评审人', 'Request up to 15 reviewers': '最多请求 15 名评审人', 'No reviewers requested.': '未请求评审人', 'Remove reviewer {{value0}}': '移除评审人 {{value0}}', @@ -39,8 +39,8 @@ export const ZH_VALUE_OVERRIDES = { 'Enter a reviewer': '输入评审人', 'Add reviewer': '添加评审人', 'No reviewers.': '没有评审人', - 'Open the PR details to view current reviewers.': '打开 PR 详情以查看当前评审人。', - 'Review comment added.': '已添加评审评论。', + 'Open the PR details to view current reviewers.': '打开 PR 详情以查看当前评审人', + 'Review comment added.': '已添加评审评论', 'Loading labels': '加载标签', // Why: MT rendered the "Pin Tab" action as "引脚标签" (noun reading of "pin"); pair it with 取消固定标签. 'Pin Tab': '固定标签', @@ -57,12 +57,12 @@ export const ZH_VALUE_OVERRIDES = { 'Markdown Review Notes': 'Markdown 评审笔记', 'Reviewed by': '评审人', 'Review from': '评审来自', - 'Reviewer id is unavailable for this GitLab user.': '此 GitLab 用户无法获取评审人 ID。', - 'Create a {{value0}} to start checks and review.': '创建 {{value0}} 以开始检查和评审。', + 'Reviewer id is unavailable for this GitLab user.': '此 GitLab 用户无法获取评审人 ID', + 'Create a {{value0}} to start checks and review.': '创建 {{value0}} 以开始检查和评审', 'Conflicted files are reviewed separately': '冲突文件单独评审', 'This review snapshot no longer has any live unresolved conflicts.': - '此评审快照不再有任何未解决的实时冲突。', - 'Skill command copied and inserted below for review.': '技能命令已复制并插入到下方以供评审。', + '此评审快照不再有任何未解决的实时冲突', + 'Skill command copied and inserted below for review.': '技能命令已复制并插入到下方以供评审', 'Release readiness review': '发布就绪评审', 'Recurring review': '定期评审', Completed: '已完成', @@ -91,9 +91,9 @@ export const ZH_VALUE_OVERRIDES = { 'Quick actions': '快捷操作', 'action recipes': '操作方案', 'Repository action recipes. Global settings are used until this repository customizes them.': - '仓库操作方案。在此仓库自定义之前,将使用全局设置。', + '仓库操作方案。在此仓库自定义之前,将使用全局设置', 'Adds action recipes for Source Control commit, pull request, branch-name, and fix actions.': - '为源代码管理的提交、拉取请求、分支命名和修复操作添加操作方案。', + '为源代码管理的提交、拉取请求、分支命名和修复操作添加操作方案', // Picker siblings are translated; English pins here would regenerate half-Chinese UI. Play: '播放', Flag: '标记', @@ -121,39 +121,39 @@ export const ZH_VALUE_OVERRIDES = { 'floating terminal': '浮动终端', 'New Issue': '新建议题', 'No issues match the selected filters. Clear a filter or try different criteria.': - '没有议题符合所选筛选条件。请清除筛选条件或尝试其他条件。', + '没有议题符合所选筛选条件。请清除筛选条件或尝试其他条件', 'No issues in this workspace scope. Try searching or adjusting teams.': - '此工作区范围内没有议题。请尝试搜索或调整团队。', + '此工作区范围内没有议题。请尝试搜索或调整团队', 'Close as duplicate': '作为重复议题关闭', 'Reply in this review thread': '在此评审线程中回复', - 'Failed to add review comment.': '添加评审评论失败。', + 'Failed to add review comment.': '添加评审评论失败', 'Localhost Worktree Labels': 'localhost 工作树标签', 'Open workspace ports as worktree-specific Orca localhost URLs so browser tabs are easier to tell apart.': - '将工作区端口作为工作树专属的 Orca localhost URL 打开,便于区分浏览器标签页。', + '将工作区端口作为工作树专属的 Orca localhost URL 打开,便于区分浏览器标签页', 'Permanently deletes the remote Git worktrees and their branches. Cannot be undone.': - '永久删除远程 Git 工作树及其分支。此操作不可撤销。', + '永久删除远程 Git 工作树及其分支。此操作不可撤销', 'Clears them from Orca only. Remote files, worktrees, and branches are left untouched.': - '仅从 Orca 中清除。远程文件、工作树和分支均不受影响。', + '仅从 Orca 中清除。远程文件、工作树和分支均不受影响', 'GitHub reports this pull request is blocked': 'GitHub 报告此拉取请求已被阻塞', 'GitHub requires review approval before this pull request can merge': 'GitHub 需要评审批准才能合并此拉取请求', 'Used by repositories that inherit global hosted-review defaults.': - '由继承全局托管评审默认值的仓库使用。', + '由继承全局托管评审默认值的仓库使用', 'Use review template when available': '可用时使用评审模板', 'Create hosted reviews as drafts unless changed in the composer.': - '除非在编辑器中更改,否则将托管评审创建为草稿。', - 'Start an agent from failed hosted-review checks.': '从失败的托管评审检查中启动智能体。', + '除非在编辑器中更改,否则将托管评审创建为草稿', + 'Start an agent from failed hosted-review checks.': '从失败的托管评审检查中启动智能体', 'Checks require a Git branch and hosted review context': '检查需要 Git 分支和托管评审上下文', 'Resolve Review Conflicts With AI': '使用 AI 解决评审冲突', 'Hosted review operation in progress…': '托管评审操作进行中…', 'Hosted review creation defaults': '托管评审创建默认值', 'Open hosted review after creation': '创建后打开托管评审', 'Hosted review creation defaults used when the hosted review editor opens.': - '打开托管评审编辑器时使用的托管评审创建默认值。', + '打开托管评审编辑器时使用的托管评审创建默认值', 'Run hosted review detail generation once when the editor opens.': - '编辑器打开时运行一次托管评审详情生成。', + '编辑器打开时运行一次托管评审详情生成', 'Show local Markdown review notes controls in rich editor mode.': - '在富文本编辑器模式下显示本地 Markdown 评审笔记控件。', + '在富文本编辑器模式下显示本地 Markdown 评审笔记控件', 'Orca IDE': 'Orca IDE', 'Orca first': 'Orca 优先', 'Orca Mobile': 'Orca Mobile', @@ -169,57 +169,57 @@ export const ZH_VALUE_OVERRIDES = { 'Active Codex Account': '活跃 Codex 账户', 'Claude Accounts': 'Claude 账户', 'Remove Claude Account?': '删除 Claude 账户?', - 'Claude account updated.': 'Claude 账户已更新。', - 'Claude account update failed.': 'Claude 账户更新失败。', - 'Could not load Claude accounts.': '无法加载 Claude 账户。', - 'Claude sign-in failed.': 'Claude 登录失败。', - 'Claude account added.': '已添加 Claude 账户。', + 'Claude account updated.': 'Claude 账户已更新', + 'Claude account update failed.': 'Claude 账户更新失败', + 'Could not load Claude accounts.': '无法加载 Claude 账户', + 'Claude sign-in failed.': 'Claude 登录失败', + 'Claude account added.': '已添加 Claude 账户', 'Claude Code session started': 'Claude Code 会话已开始', 'Codex session started': 'Codex 会话已开始', 'Enable Codex': '启用 Codex', - 'Most recent local Codex sessions in this scope.': '此范围内最近的本地 Codex 会话。', + 'Most recent local Codex sessions in this scope.': '此范围内最近的本地 Codex 会话', 'Hosted-review creation defaults': '托管评审创建默认值', - 'Defaults used when the hosted-review composer opens.': '打开托管评审编辑器时使用的默认值。', + 'Defaults used when the hosted-review composer opens.': '打开托管评审编辑器时使用的默认值', 'Run hosted-review detail generation once when the composer opens.': - '编辑器打开时运行一次托管评审详情生成。', + '编辑器打开时运行一次托管评审详情生成', 'Show local markdown review note controls in rich editor mode.': - '在富文本编辑器模式下显示本地 Markdown 评审笔记控件。', + '在富文本编辑器模式下显示本地 Markdown 评审笔记控件', 'Start an agent for local or hosted-review merge conflicts.': - '启动用于解决本地或托管评审合并冲突的智能体。', + '启动用于解决本地或托管评审合并冲突的智能体', 'changed since you last approved. Re-review before it runs': '自您上次批准以来已发生变化。运行前请重新评审', 'Run the weekly dependency audit and summarize risky changes.': - '每周运行依赖项审计并总结有风险的更改。', + '每周运行依赖项审计并总结有风险的更改', 'This turns on a process-wide Electron networking switch after restart. Use it for corporate VPNs or proxies that reject HTTP/2 update downloads.': - '这将在重启后启用进程级 Electron 网络开关。适用于拒绝 HTTP/2 更新下载的企业 VPN 或代理。', + '这将在重启后启用进程级 Electron 网络开关。适用于拒绝 HTTP/2 更新下载的企业 VPN 或代理', 'Use only when a corporate VPN or proxy breaks update downloads with HTTP/2 protocol errors. It affects all Electron networking after restart.': - '仅当企业 VPN 或代理因 HTTP/2 协议错误而中断更新下载时使用。重启后会影响所有 Electron 网络。', + '仅当企业 VPN 或代理因 HTTP/2 协议错误而中断更新下载时使用。重启后会影响所有 Electron 网络', 'Use HTTP/1.1 for Electron networking when HTTP/2 fails behind a proxy.': - '当 HTTP/2 在代理后面失败时,使用 HTTP/1.1 进行 Electron 网络。', + '当 HTTP/2 在代理后面失败时,使用 HTTP/1.1 进行 Electron 网络', 'Proxy Bypass Rules': '代理绕过规则', - 'Hosts that should bypass the configured HTTP proxy.': '应绕过配置的 HTTP 代理的主机。', + 'Hosts that should bypass the configured HTTP proxy.': '应绕过配置的 HTTP 代理的主机', 'Leave empty to use system proxy settings and inherited proxy environment variables.': - '留空以使用系统代理设置和继承的代理环境变量。', + '留空以使用系统代理设置和继承的代理环境变量', 'Proxy Command': '代理命令', "Give agents direct access to Orca's browser so they can test pages, capture screenshots, and act on what they see.": - '让智能体直接访问 Orca 的浏览器,以便测试页面、捕获屏幕截图并根据所见内容执行操作。', + '让智能体直接访问 Orca 的浏览器,以便测试页面、捕获屏幕截图并根据所见内容执行操作', 'X finishes, send it the review task.”': 'X 完成后,把评审任务发给它。”', - 'Branch naming, base refs, and Git AI Author.': '分支命名、基础引用和 Git AI Author。', + 'Branch naming, base refs, and Git AI Author.': '分支命名、基础引用和 Git AI Author', 'You have unsaved Git AI Author changes. Leaving will discard them.': - '您有未保存的 Git AI Author 更改。离开将丢弃它们。', + '您有未保存的 Git AI Author 更改。离开将丢弃它们', 'Discard unsaved Git AI Author changes?': '放弃未保存的 Git AI Author 更改?', - 'Create a Linear project for the selected team.': '为所选团队创建 Linear 项目。', + 'Create a Linear project for the selected team.': '为所选团队创建 Linear 项目', 'Linear task mode': 'Linear 任务模式', - 'Failed to switch Linear workspace.': '无法切换 Linear 工作区。', - 'Linear project is missing workspace context.': 'Linear 项目缺少工作区上下文。', + 'Failed to switch Linear workspace.': '无法切换 Linear 工作区', + 'Linear project is missing workspace context.': 'Linear 项目缺少工作区上下文', 'No Linear projects found': '未找到 Linear 项目', 'Unable to load Linear projects': '无法加载 Linear 项目', 'Change Linear state from {{value0}}': '将 Linear 状态从 {{value0}} 更改为', 'GitHub & Linear tasks': 'GitHub 和 Linear 任务', 'Each connected Linear workspace has one key stored by the active runtime. Full-access keys can cover all teams the key owner can access; restricted keys can be replaced any time.': - '每个已连接的 Linear 工作区都有一个由活动运行时存储的密钥。全权限密钥可覆盖密钥所有者可访问的所有团队;受限密钥可随时更换。', + '每个已连接的 Linear 工作区都有一个由活动运行时存储的密钥。全权限密钥可覆盖密钥所有者可访问的所有团队;受限密钥可随时更换', 'Show Linear in the Tasks source picker and sidebar shortcuts.': - '在任务源选择器和侧边栏快捷方式中显示 Linear。', + '在任务源选择器和侧边栏快捷方式中显示 Linear', 'Local project, Git repo, or folder with many repos': '本地项目、Git 仓库或包含多个仓库的文件夹', 'Staged Changes': '已暂存的更改', Changes: '更改', @@ -231,12 +231,12 @@ export const ZH_VALUE_OVERRIDES = { 'Split Terminal Down': '向下拆分终端', 'Split Terminal Right': '向右拆分终端', 'Optional account switching for Claude while preserving shared chat context.': - 'Claude 的可选账户切换,同时保留共享聊天上下文。', + 'Claude 的可选账户切换,同时保留共享聊天上下文', 'Countdown timer showing time until prompt cache expires (Claude agents).': - '显示提示词缓存到期倒计时的计时器(Claude 智能体)。', + '显示提示词缓存到期倒计时的计时器(Claude 智能体)', 'Claude caches your conversation to reduce costs. When idle too long the cache expires and the next message resends full context at higher cost. This shows a countdown so you know when to resume.': - 'Claude 会缓存对话以降低成本。空闲过久后缓存会过期,下一条消息将以更高成本重新发送完整上下文。此倒计时可帮助您了解何时继续。', - 'from Orca. It is still on your disk.': '来自 Orca。它仍保留在您的磁盘上。', + 'Claude 会缓存对话以降低成本。空闲过久后缓存会过期,下一条消息将以更高成本重新发送完整上下文。此倒计时可帮助您了解何时继续', + 'from Orca. It is still on your disk.': '来自 Orca。它仍保留在您的磁盘上', 'Pull request reopened': '拉取请求已重新打开', 'Reopen PR': '重新打开 PR', 'Reopened MR !{{value0}}': '已重新打开 MR !{{value0}}', diff --git a/config/scripts/localization/source-extraction/audit-localization-coverage.mjs b/config/scripts/localization/source-extraction/audit-localization-coverage.mjs index 6eaef1bb1b0..2fd052728b5 100644 --- a/config/scripts/localization/source-extraction/audit-localization-coverage.mjs +++ b/config/scripts/localization/source-extraction/audit-localization-coverage.mjs @@ -6,10 +6,11 @@ import process from 'node:process' // TypeScript 7 is a native CLI; AST consumers still need the legacy JavaScript API. import ts from 'typescript-api' import { isTestOnlySourcePath } from '../../static-analysis/process-boundaries/test-only-source-path.mjs' +import { isVisibleObjectKey } from './localization-visible-object-keys.mjs' const SOURCE_EXTENSIONS = new Set(['.ts', '.tsx', '.js', '.jsx', '.mts', '.cts']) const SKIP_PATH_PARTS = new Set(['.git', 'dist', 'node_modules', 'out', '__snapshots__', 'assets']) -const LOCALIZATION_CALL_NAMES = new Set(['t', 'translate']) +const LOCALIZATION_CALL_NAMES = new Set(['t', 'translate', 'translateMain']) const CLASS_PROPERTY_NAMES = new Set(['className', 'classNames']) // Why: the children of these elements are CSS or code, never copy a translator should see. const NON_COPY_JSX_ELEMENTS = new Set(['style', 'script']) @@ -35,31 +36,13 @@ const USER_VISIBLE_JSX_ATTRIBUTES = new Set([ 'toggleDescription', 'tooltip' ]) -const USER_VISIBLE_OBJECT_KEYS = new Set([ - 'accessibilityHint', - 'accessibilityLabel', - 'ariaLabel', - 'badge', - 'description', - 'emptyText', - 'error', - 'headerTitle', - 'helperText', - 'keywords', - 'label', - 'message', - 'placeholder', - 'subtitle', - 'title', - 'toggleDescription', - 'tooltip' -]) const USER_VISIBLE_FUNCTION_NAMES = new Set([ 'alert', 'confirm', 'prompt', 'showError', - 'showToast' + 'showToast', + 'toast' ]) const USER_VISIBLE_OBJECT_METHODS = new Set([ 'error', @@ -331,7 +314,7 @@ function isInsideNonCopyJsxElement(node) { return Boolean(element && NON_COPY_JSX_ELEMENTS.has(element.openingElement.tagName.getText())) } -function classifyStringNode(node) { +function classifyStringNode(node, includeNativeDialogFields = false) { if ( hasAncestorObjectPropertyName(node, CLASS_PROPERTY_NAMES) || isInsideNonCopyJsxElement(node) @@ -369,12 +352,15 @@ function classifyStringNode(node) { } const objectPropertyName = nearestObjectPropertyName(node) - if (objectPropertyName && !USER_VISIBLE_OBJECT_KEYS.has(objectPropertyName)) { + if (objectPropertyName && !isVisibleObjectKey(objectPropertyName, includeNativeDialogFields)) { return undefined } const ancestorObjectPropertyName = nearestAncestorObjectPropertyName(node) - if (ancestorObjectPropertyName && !USER_VISIBLE_OBJECT_KEYS.has(ancestorObjectPropertyName)) { + if ( + ancestorObjectPropertyName && + !isVisibleObjectKey(ancestorObjectPropertyName, includeNativeDialogFields) + ) { return undefined } @@ -407,7 +393,12 @@ function areaForFile(relativePath) { return `renderer/${parts[0] ?? 'root'}` } -export function collectLocalizationCandidates(filePath, sourceText, root = process.cwd()) { +export function collectLocalizationCandidates( + filePath, + sourceText, + root = process.cwd(), + options = {} +) { const sourceKind = filePath.endsWith('.tsx') || filePath.endsWith('.jsx') ? ts.ScriptKind.TSX : ts.ScriptKind.TS const sourceFile = ts.createSourceFile( @@ -450,7 +441,7 @@ export function collectLocalizationCandidates(filePath, sourceText, root = proce ts.isNoSubstitutionTemplateLiteral(node) || ts.isTemplateExpression(node) ) { - const kind = classifyStringNode(node) + const kind = classifyStringNode(node, options.includeNativeDialogFields) if (kind) { for (const part of stringParts(node)) { pushReport(node, kind, part.text, part.dynamic) @@ -521,6 +512,7 @@ function parseArgs(argv) { allowlistPath: path.join('config', 'localization-coverage-allowlist.json'), check: false, format: 'summary', + includeNativeDialogFields: false, outputPath: null, sourceRoots: [] } @@ -531,6 +523,8 @@ function parseArgs(argv) { options.format = 'json' } else if (arg === '--markdown') { options.format = 'markdown' + } else if (arg === '--native-dialog-fields') { + options.includeNativeDialogFields = true } else if (arg === '--check') { options.check = true } else if (arg === '--allowlist') { @@ -616,7 +610,7 @@ export async function main(root = process.cwd(), argv = process.argv.slice(2)) { for (const filePath of files) { const sourceText = await fs.readFile(filePath, 'utf8') - reports.push(...collectLocalizationCandidates(filePath, sourceText, root)) + reports.push(...collectLocalizationCandidates(filePath, sourceText, root, options)) } if (options.check) { diff --git a/config/scripts/localization/source-extraction/audit-localization-native-dialogs.test.mjs b/config/scripts/localization/source-extraction/audit-localization-native-dialogs.test.mjs new file mode 100644 index 00000000000..be3dd5d8541 --- /dev/null +++ b/config/scripts/localization/source-extraction/audit-localization-native-dialogs.test.mjs @@ -0,0 +1,59 @@ +import { describe, expect, it, vi } from 'vitest' +import { mkdtemp, mkdir, rm, writeFile } from 'node:fs/promises' +import { tmpdir } from 'node:os' +import { join } from 'node:path' +import { collectLocalizationCandidates, main } from './audit-localization-coverage.mjs' + +const path = '/repo/src/main/startup/dialog.ts' +const source = ` + const options = { + message: translateMain('message', 'Translated message'), + detail: 'Untranslated detail', + buttons: ['Proceed', translateMain('cancel', 'Cancel')], + body: 'Untranslated body', + buttonLabel: 'Retry', + checkboxLabel: 'Remember choice' + } +` + +describe('native dialog localization coverage', () => { + it('finds untranslated native dialog fields while ignoring translated copy', () => { + const candidates = collectLocalizationCandidates(path, source, '/repo', { + includeNativeDialogFields: true + }) + expect(candidates.map(({ kind, text }) => [kind, text])).toEqual([ + ['object-property:detail', 'Untranslated detail'], + ['object-property:buttons', 'Proceed'], + ['object-property:body', 'Untranslated body'], + ['object-property:buttonLabel', 'Retry'], + ['object-property:checkboxLabel', 'Remember choice'] + ]) + }) + + it('does not change the existing renderer scan by default', () => { + expect(collectLocalizationCandidates(path, source, '/repo')).toEqual([]) + }) + + it('fails the opt-in check for a new native dialog literal', async () => { + const root = await mkdtemp(join(tmpdir(), 'orca-native-localization-')) + const report = vi.spyOn(console, 'error').mockImplementation(() => {}) + try { + await mkdir(join(root, 'src')) + await writeFile(join(root, 'src', 'dialog.ts'), "const options = { detail: 'Raw detail' }") + await writeFile(join(root, 'allowlist.json'), '[]') + await expect( + main(root, [ + '--check', + '--native-dialog-fields', + '--source-root', + 'src', + '--allowlist', + 'allowlist.json' + ]) + ).resolves.toBe(1) + } finally { + report.mockRestore() + await rm(root, { recursive: true, force: true }) + } + }) +}) diff --git a/config/scripts/localization/source-extraction/localization-visible-object-keys.mjs b/config/scripts/localization/source-extraction/localization-visible-object-keys.mjs new file mode 100644 index 00000000000..0e5b73ec6a9 --- /dev/null +++ b/config/scripts/localization/source-extraction/localization-visible-object-keys.mjs @@ -0,0 +1,33 @@ +const USER_VISIBLE_OBJECT_KEYS = new Set([ + 'accessibilityHint', + 'accessibilityLabel', + 'ariaLabel', + 'badge', + 'description', + 'emptyText', + 'error', + 'headerTitle', + 'helperText', + 'keywords', + 'label', + 'message', + 'placeholder', + 'subtitle', + 'title', + 'toggleDescription', + 'tooltip' +]) +const NATIVE_DIALOG_OBJECT_KEYS = new Set([ + 'detail', + 'buttons', + 'body', + 'buttonLabel', + 'checkboxLabel' +]) + +export function isVisibleObjectKey(name, includeNativeDialogFields) { + return ( + USER_VISIBLE_OBJECT_KEYS.has(name) || + (includeNativeDialogFields && NATIVE_DIALOG_OBJECT_KEYS.has(name)) + ) +} diff --git a/config/scripts/mobile-web-app/preview/mobile-web-app-html-file-preview-render.test.mjs b/config/scripts/mobile-web-app/preview/mobile-web-app-html-file-preview-render.test.mjs index 1ae5168c591..79c6f18256e 100644 --- a/config/scripts/mobile-web-app/preview/mobile-web-app-html-file-preview-render.test.mjs +++ b/config/scripts/mobile-web-app/preview/mobile-web-app-html-file-preview-render.test.mjs @@ -124,30 +124,9 @@ async function framePixel(page) { }) } -const sourceText = (page) => page.getByText(MARKER, { exact: false }) - for (const engine of ['chromium', 'webkit']) { const describeRender = bundles ? describe : describe.skip describeRender(`an HTML file on the file-preview route on ${engine}`, () => { - it('paints the page, and Source shows its markup', async () => { - const { context, page, errors } = await openHtmlFile(browsers[engine]) - const frame = page.locator('iframe') - await frame.waitFor({ timeout: 60_000 }) - await expect.poll(() => framePixel(page), { timeout: 10_000 }).toBe(PAINT_RGB) - if (shots) { - await page.screenshot({ path: join(shots, `html-file-preview-${engine}.png`) }) - } - - await page.getByRole('tab', { name: 'View HTML source' }).click() - await sourceText(page).waitFor() - expect(await page.locator('iframe').count()).toBe(0) - if (shots) { - await page.screenshot({ path: join(shots, `html-file-source-${engine}.png`) }) - } - expect(errors).toEqual([]) - await context.close() - }, 90_000) - it('renders unsaved HTML edits and retains them when returning to Source', async () => { const { context, page, errors } = await openHtmlFile(browsers[engine], { editable: true }) await page.locator('iframe').waitFor({ timeout: 60_000 }) @@ -165,36 +144,5 @@ for (const engine of ['chromium', 'webkit']) { expect(errors).toEqual([]) await context.close() }, 90_000) - - it('opens a line-targeted file on Source, and a truncated one as text only', async () => { - const targeted = await openHtmlFile(browsers[engine], { line: '3' }) - await targeted.page - .getByRole('tab', { name: 'View HTML source' }) - .waitFor({ timeout: 60_000 }) - await sourceText(targeted.page).waitFor() - expect( - await targeted.page - .getByRole('tab', { name: 'View HTML source' }) - .getAttribute('aria-selected') - ).toBe('true') - expect(await targeted.page.locator('iframe').count()).toBe(0) - if (shots) { - await targeted.page.screenshot({ path: join(shots, `html-file-line-${engine}.png`) }) - } - await targeted.page.getByRole('tab', { name: 'Preview rendered HTML' }).click() - await expect.poll(() => framePixel(targeted.page), { timeout: 10_000 }).toBe(PAINT_RGB) - expect(targeted.errors).toEqual([]) - await targeted.context.close() - - const truncated = await openHtmlFile(browsers[engine], { truncated: true }) - await sourceText(truncated.page).waitFor({ timeout: 60_000 }) - expect(await truncated.page.locator('iframe').count()).toBe(0) - expect(await truncated.page.getByRole('tab').count()).toBe(0) - if (shots) { - await truncated.page.screenshot({ path: join(shots, `html-file-truncated-${engine}.png`) }) - } - expect(truncated.errors).toEqual([]) - await truncated.context.close() - }, 120_000) }) } diff --git a/config/scripts/mobile-web-app/session/mobile-web-app-agent-history-render.test.mjs b/config/scripts/mobile-web-app/session/mobile-web-app-agent-history-render.test.mjs deleted file mode 100644 index 81756c74935..00000000000 --- a/config/scripts/mobile-web-app/session/mobile-web-app-agent-history-render.test.mjs +++ /dev/null @@ -1,198 +0,0 @@ -import { mkdtemp, rm } from 'node:fs/promises' -import { tmpdir } from 'node:os' -import { join } from 'node:path' -import { afterAll, beforeAll, describe, expect, it } from 'vitest' -import { chromium } from 'playwright-core' -import { buildMobileWebAppBundle } from '../../build/mobile-web-app/build-mobile-web-app-bundle.mjs' -import { mobileWebAppDependenciesPresent } from '../mobile-web-app-bundle-dependencies.mjs' -import { - createBundleServer, - waitForPageFrames, - installShellDouble, - readBridgeFaultGrant, - readBridgePagePainted, - readBridgeProtocolVersion, - readShellCsp -} from '../preview/mobile-web-app-render-harness.mjs' - -// Browser-only history checks prove real RN-Web closure evaluation, corpus-backed rows, shell Back handoff and deferred chunk delivery. -// Domain file uses shared C1.10 harness to avoid line-cap conflicts between concurrent series. - -const HOST_ROUTE = '/h/render-check-host' -/** The pattern `init.pageRoutes` names, which is what the page matches a navigation against. */ -const HOST_ROUTE_PATTERN = '/h/[hostId]' -const SHELL_SESSION_ID = 'render-check-session' -const SHELL_BUILD_ID = 'render-check-build' -const SHELL_HOST = { - id: 'render-check-host', - name: 'Render Check Host', - endpoint: 'ws://render-check', - lastConnected: 1 -} - -const bundles = mobileWebAppDependenciesPresent() -const describeRender = bundles ? describe : describe.skip - -let scratch -let server -let browser -let origin -let cspHeader = null -let bridgeVersion = null -let faultGrant = null -let paintName = null - -beforeAll(async () => { - if (!bundles) { - return - } - cspHeader = await readShellCsp() - bridgeVersion = await readBridgeProtocolVersion() - faultGrant = await readBridgeFaultGrant() - paintName = await readBridgePagePainted() - scratch = await mkdtemp(join(tmpdir(), 'orca-mobile-web-app-agent-history-')) - const built = await buildMobileWebAppBundle({ outDir: join(scratch, 'bundle') }) - const served = await createBundleServer({ outDir: built.outDir, cspHeader }) - server = served.server - origin = served.origin - const executablePath = process.env.ORCA_MOBILE_WEB_RENDER_BROWSER - browser = await chromium.launch({ headless: true, ...(executablePath ? { executablePath } : {}) }) -}, 180_000) - -afterAll(async () => { - await browser?.close() - server?.close() - if (scratch) { - await rm(scratch, { recursive: true, force: true }) - } -}) - -/** A page carrying every signal these cases read: uncaught errors, console errors, script paths. */ -async function openPage({ shellRoute, shellGrants, shellPageRoutes = null, replies } = {}) { - const page = await browser.newPage({ viewport: { width: 390, height: 844 } }) - // Install channel at document start; entry reads it during evaluation, before load. - await page.addInitScript(installShellDouble, { - version: bridgeVersion, - sessionId: SHELL_SESSION_ID, - buildId: SHELL_BUILD_ID, - route: shellRoute, - host: SHELL_HOST, - storage: {}, - faultGrant, - // The harness falls back to the fault grant alone, which is the ungranted page. - grants: shellGrants ?? [faultGrant], - pageRoutes: shellPageRoutes, - replies - }) - const errors = [] - const scripts = [] - let reportUncaught = () => {} - const uncaught = new Promise((resolve) => { - reportUncaught = resolve - }) - page.on('pageerror', (error) => { - errors.push(`${error.name}: ${error.message}`) - reportUncaught(error) - }) - page.on('console', (message) => { - if (message.type() === 'error') { - errors.push(`console.error: ${message.text()}`) - } - }) - page.on('response', (response) => { - const path = new URL(response.url()).pathname - if (response.status() === 200 && path.endsWith('.js')) { - scripts.push(path) - } - }) - return { page, errors, scripts, uncaught } -} - -// Wait beyond entry mount for route content; deferred import chunk may still be arriving. -async function waitForRoute({ page, errors, uncaught }, route, awaitText) { - const named = (cause, what) => - new Error(`${route} ${what}: ${errors.join(' | ') || 'no page or console error'}`, { cause }) - const race = async (wait) => - Promise.race([ - wait.then( - () => null, - (error) => error - ), - uncaught - ]) - const cause = await race( - page.waitForFunction(() => document.documentElement.dataset.orcaWebEntry === 'mounted', { - timeout: 30_000, - polling: 250 - }) - ) - if (cause) { - const state = await page.evaluate( - () => document.documentElement.dataset.orcaWebEntry ?? 'absent' - ) - throw named(cause, `never mounted (entry ${state})`) - } - const paintCause = await race( - page.waitForFunction((needle) => document.body.innerText.includes(needle), awaitText, { - timeout: 30_000, - polling: 250 - }) - ) - if (paintCause) { - throw named(paintCause, `mounted but never painted ${JSON.stringify(awaitText)}`) - } - for (const fault of await page.evaluate(() => globalThis.__orcaRenderCheckFaults ?? [])) { - errors.push(`page fault: ${fault}`) - } -} - -/** Opens the document at `/`, the one path the shell serves, and lets the page route itself. */ -async function openRoute(route, awaitText, options = {}) { - const opened = await openPage({ shellRoute: { pathname: route }, ...options }) - await opened.page.goto(`${origin}/`, { waitUntil: 'load' }) - await waitForRoute(opened, route, awaitText) - return opened -} - -/** Every grant-gated notify the page posted, whole and in order, as the shell received them. The - * paint report and the location report are not: every page posts them for its route screen. */ -async function readNotifies(page) { - const notifies = await page.evaluate(() => globalThis.__orcaRenderCheckNotifies ?? []) - return notifies.filter((frame) => frame.name !== paintName && frame.name !== 'location') -} - -describeRender('the agent-history route in a real browser', () => { - // Prove real RN-Web import/evaluation absent from mocked native units; no-RPC case paints failure, next corpus case paints a row. - // Resume/scope-tab interactions remain native C5.3 device coverage. - - it('hands its Back button to the shell, which no unit test can prove in a browser', async () => { - const route = `${HOST_ROUTE}/agent-history/wt-1` - const opened = await openRoute(route, 'Agent Session History', { - shellGrants: [faultGrant, 'navigate'], - shellPageRoutes: [HOST_ROUTE_PATTERN] - }) - await opened.page.getByLabel('Back').click() - await expect - .poll(() => readNotifies(opened.page)) - .toEqual([{ v: bridgeVersion, type: 'notify', name: 'navigate-back' }]) - expect(await readNotifies(opened.page)).toEqual([ - { v: bridgeVersion, type: 'notify', name: 'navigate-back' } - ]) - // Document has only replaceState entry; page-local Back would do nothing and look like a successful shell handoff. - expect(await opened.page.evaluate(() => location.pathname)).toBe(route) - expect(opened.errors).toEqual([]) - await opened.page.close() - }, 60_000) - - it('posts nothing for Back when the shell granted no navigate, and stays put', async () => { - // Withhold grant while preserving tap/handler/seam to prove handoff depends on permission. - const route = `${HOST_ROUTE}/agent-history/wt-1` - const opened = await openRoute(route, 'Agent Session History') - await opened.page.getByLabel('Back').click() - await waitForPageFrames(opened.page) - expect(await readNotifies(opened.page)).toEqual([]) - expect(await opened.page.evaluate(() => location.pathname)).toBe(route) - expect(opened.errors).toEqual([]) - await opened.page.close() - }, 60_000) -}) diff --git a/config/scripts/mobile-web-app/session/mobile-web-app-queued-messages-render.test.mjs b/config/scripts/mobile-web-app/session/mobile-web-app-queued-messages-render.test.mjs deleted file mode 100644 index caca85ce51a..00000000000 --- a/config/scripts/mobile-web-app/session/mobile-web-app-queued-messages-render.test.mjs +++ /dev/null @@ -1,202 +0,0 @@ -import { mkdir, mkdtemp, rm, writeFile } from 'node:fs/promises' -import { join } from 'node:path' -import { fileURLToPath } from 'node:url' -import { afterAll, beforeAll, describe, expect, it } from 'vitest' -import * as esbuild from 'esbuild' -import { chromium, webkit } from 'playwright-core' -import { - MOBILE_WEB_APP_NATIVE_PARITY_STYLE, - MOBILE_WEB_APP_ROOT_RESET, - mobileWebAppBuildOptions -} from '../../build/mobile-web-app/build-mobile-web-app-bundle.mjs' -import { mobileWebAppDependenciesPresent } from '../mobile-web-app-bundle-dependencies.mjs' -import { createBundleServer, readShellCsp } from '../preview/mobile-web-app-render-harness.mjs' -import { SUPPORTED_UI_LOCALES } from '../../../../src/shared/ui-locale.ts' - -const mobileDir = fileURLToPath(new URL('../../../../mobile', import.meta.url)) -const engines = [ - { - name: 'chromium', - launch: () => { - const executablePath = process.env.ORCA_MOBILE_WEB_RENDER_BROWSER - return chromium.launch({ headless: true, ...(executablePath ? { executablePath } : {}) }) - } - }, - { name: 'webkit', launch: () => webkit.launch({ headless: true }) } -] - -const entry = ` -import { useEffect, useState } from 'react' -import { createRoot } from 'react-dom/client' -import { View } from 'react-native' -import { GestureHandlerRootView } from 'react-native-gesture-handler' -import { MobileNativeChatQueuedMessages } from './src/session/native-chat/input/MobileNativeChatQueuedMessages' -import { MobileNativeChatComposer } from './src/session/native-chat/composer/MobileNativeChatComposer' -import { mobileQueuedMessageCards } from './src/session/mobile-structured-queued-message-cards' -import { activateMobileUiLocale, translate } from './src/i18n/mobile-i18n' - -const [mode, locale] = location.hash.slice(1).split(':') -const texts = ['First queued message', 'Review the mobile transcript and keep every detail. '.repeat(30)] -function Queue() { - const messages = texts.map((text, index) => ({ - messageId: 'message-' + index, - position: index + 1, - state: 'waiting', - body: { kind: 'message', role: 'user', blocks: [{ type: 'text', text }] } - })) - return - true : undefined} - /> - -} -function Editor() { - const [ready, setReady] = useState(false) - useEffect(() => { - void activateMobileUiLocale(locale).then(() => { - window.actionLabels = { - cancel: translate('chat.composer.cancelEditing', 'Cancel editing'), - save: translate('chat.composer.saveEditedMessage', 'Save edited message') - } - setReady(true) - }) - }, []) - return ready ? - {}} - onSend={async () => true} - editSession={{ cancel: () => {}, refuseCommand: () => false, locked: false }} - sendSurfaceId="editor" - getSendCompletionGeneration={() => 0} - getComposerEditGeneration={() => 0} - onAttachImage={() => {}} - onMicPress={() => {}} - /> - : null -} -createRoot(document.getElementById('root')).render( - {mode === 'editor' ? : } -) -` - -const bundles = mobileWebAppDependenciesPresent() -const describeLayout = bundles ? describe : describe.skip -const browsers = new Map() -let scratch -let server -let origin - -beforeAll(async () => { - if (!bundles) { - return - } - await mkdir(join(mobileDir, '.tmp'), { recursive: true }) - scratch = await mkdtemp(join(mobileDir, '.tmp', 'queued-messages-')) - const outDir = join(scratch, 'bundle') - await esbuild.build({ - ...mobileWebAppBuildOptions([]), - entryPoints: undefined, - stdin: { contents: entry, resolveDir: mobileDir, loader: 'tsx', sourcefile: 'queued.tsx' }, - splitting: false, - write: true, - outdir: outDir, - entryNames: 'queued', - metafile: false - }) - await writeFile( - join(outDir, 'index.html'), - `${MOBILE_WEB_APP_ROOT_RESET}` + - `${MOBILE_WEB_APP_NATIVE_PARITY_STYLE}
` + - '' - ) - const served = await createBundleServer({ outDir, cspHeader: await readShellCsp() }) - server = served.server - origin = served.origin - for (const engine of engines) { - browsers.set(engine.name, await engine.launch()) - } -}, 180_000) - -afterAll(async () => { - for (const browser of browsers.values()) { - await browser.close() - } - server?.close() - if (scratch) { - await rm(scratch, { recursive: true, force: true }) - } -}) - -async function openPage(engine, hash, width) { - const page = await browsers.get(engine.name).newPage({ viewport: { width, height: 700 } }) - await page.goto(`${origin}/#${hash}`, { waitUntil: 'load' }) - return page -} - -function editorActionProblems(page) { - return page.evaluate(() => { - const row = document.querySelector('[data-testid="native-chat-composer-actions"]') - const problems = [] - const [cancel, save] = ['cancel', 'save'].map((name) => { - const button = row.querySelector(`[aria-label="${window.actionLabels[name]}"]`) - const label = button.querySelector('div[dir]') - const range = document.createRange() - range.selectNodeContents(label) - const text = range.getBoundingClientRect() - const box = button.getBoundingClientRect() - if (label.scrollWidth > label.clientWidth) { - problems.push(`${name} label truncated`) - } - if (text.left < box.left - 0.5 || text.right > box.right + 0.5) { - problems.push(`${name} label outside its button`) - } - return box - }) - if (cancel.right > save.left + 0.5) { - problems.push('cancel overlaps save') - } - if (save.right > row.getBoundingClientRect().right + 0.5) { - problems.push('save past the row') - } - return problems - }) -} - -describeLayout.each(engines)('mobile queued messages in $name', (engine) => { - it.each(['plain', 'drag'])('scrolls only as far as the %s rows reach', async (mode) => { - const page = await openPage(engine, mode, 390) - try { - await page.locator('[data-testid="queued-card-row"]').nth(1).waitFor() - const range = () => - page.evaluate(() => { - const box = document.querySelector('[data-testid="queued-box"]') - const rows = [...box.querySelectorAll('[data-testid="queued-card-row"]')] - const scroller = [...box.querySelectorAll('*')].find( - (node) => getComputedStyle(node).overflowY === 'auto' - ) - const rowsHeight = rows.reduce((sum, row) => sum + row.getBoundingClientRect().height, 0) - return scroller.scrollHeight - rowsHeight - }) - await expect.poll(range).toBeLessThanOrEqual(1) - } finally { - await page.close() - } - }) - - it('fits whole Save and Cancel labels at 360pt in every shipped locale', async () => { - const results = await Promise.all( - SUPPORTED_UI_LOCALES.map(async (locale) => { - const page = await openPage(engine, `editor:${locale}`, 360) - try { - await page.locator('[data-testid="native-chat-composer-actions"]').waitFor() - return { locale, problems: await editorActionProblems(page) } - } finally { - await page.close() - } - }) - ) - expect(results.filter(({ problems }) => problems.length > 0)).toEqual([]) - }, 60_000) -}) diff --git a/config/scripts/mobile-web-app/shell/mobile-web-app-render.test.mjs b/config/scripts/mobile-web-app/shell/mobile-web-app-render.test.mjs index 64cb4e18eb0..53848e466c1 100644 --- a/config/scripts/mobile-web-app/shell/mobile-web-app-render.test.mjs +++ b/config/scripts/mobile-web-app/shell/mobile-web-app-render.test.mjs @@ -17,7 +17,6 @@ import { // Mount real ExpoRoot: only rendering proves synthesized RequireContext has expected shape. const HOST_ROUTE = '/h/render-check-host' -const HOST_ROUTE_PATTERN = '/h/[hostId]' const SHELL_SESSION_ID = 'render-check-session' const SHELL_BUILD_ID = 'render-check-build' @@ -191,30 +190,6 @@ async function waitForRoute({ page, errors, uncaught }, route, awaitText) { } } -// Open / as shell does, then route from init; direct route navigation would hide entry routing bugs. -async function render(route, awaitText, { shellRoute = { pathname: route }, ...shell } = {}) { - const opened = await openPage({ shellRoute, ...shell }) - await opened.page.goto(`${origin}/`, { waitUntil: 'load' }) - await waitForRoute(opened, route, awaitText) - const text = await opened.page.evaluate(() => document.body.innerText) - // Read page’s session identity to catch mounting without shell’s session or inventing one. - const session = await opened.page.evaluate(() => ({ - sessionId: document.documentElement.dataset.orcaWebSessionId ?? null, - buildId: document.documentElement.dataset.orcaWebBuildId ?? null - })) - // Require rewrite from / before render or every host route resolves to Unmatched. - const url = await opened.page.evaluate(() => location.pathname + location.search) - await opened.page.close() - // Name CSP refusals within asserted console errors for useful diagnostics. - return { - errors: opened.errors, - cspErrors: opened.errors.filter((entry) => entry.includes('Content Security Policy')), - text, - session, - url - } -} - const paintReports = (page, name) => page.evaluate( (paint) => @@ -223,58 +198,6 @@ const paintReports = (page, name) => ) describeRender('the Route A page in a real browser', () => { - it('fills the view, so what it mounted is painted and takes a tap', async () => { - const opened = await openPage({ shellRoute: { pathname: HOST_ROUTE } }) - await opened.page.goto(`${origin}/`, { waitUntil: 'load' }) - await waitForRoute(opened, HOST_ROUTE, SHELL_HOST.name) - const layout = await opened.page.evaluate(() => { - // No-RPC control at root bottom moves furthest if layout collapses. - const fab = [...document.querySelectorAll('[role="button"]')].find( - (element) => element.getAttribute('aria-label') === 'New workspace' - ) - const box = fab?.getBoundingClientRect() ?? null - const hit = - box === null - ? null - : document.elementFromPoint(box.x + box.width / 2, box.y + box.height / 2) - return { - rootHeight: document.getElementById('root').getBoundingClientRect().height, - viewportHeight: window.innerHeight, - fabTop: box?.top ?? null, - fabBottom: box?.bottom ?? null, - reachesTheControl: hit !== null && fab.contains(hit) - } - }) - await opened.page.close() - expect(opened.errors).toEqual([]) - // Measure height: mounted text/innerText can pass while collapsed root paints blank phone screen. - expect(layout.rootHeight).toBe(layout.viewportHeight) - expect(layout.fabTop).toBeGreaterThan(0) - expect(layout.fabBottom).toBeLessThanOrEqual(layout.viewportHeight) - // Require reachable tap: clipped scroller rows retain layout rects. - expect(layout.reachesTheControl).toBe(true) - }, 60_000) - - // Native files routes throw requireNativeViewManager at import; deferred import hides this until actual route opens, requiring web siblings. - - it('mounts the file preview, reading the file path out of a param and not a segment', async () => { - const previewRoute = `${HOST_ROUTE}/files/preview/worktree-a` - const { errors, cspErrors, text, url } = await render(previewRoute, 'readme.md', { - shellRoute: { - pathname: previewRoute, - params: { relativePath: 'docs/my notes/readme.md', source: 'worktree' } - } - }) - expect(cspErrors).toEqual([]) - // Require no unsupported RN-Web BackHandler registration; Android hardware Back pops native stack while page Back owns unsaved-draft prompt. - expect(errors).toEqual([]) - // Title proves final path segment only; URL checks outbound encoding, not middle-segment decoding. - // Decode hazards are covered by mobile-file-path-route-encoding.test.ts and mobile-file-preview-route.test.ts. - expect(text).toContain('readme.md') - expect(url).toBe(`${previewRoute}?relativePath=docs%2Fmy+notes%2Freadme.md&source=worktree`) - expect(text).not.toContain(UNMATCHED) - }, 60_000) - it('tells the shell when a route chunk throws, rather than sitting on a blank page', async () => { const chunk = routeChunks['./h/[hostId]/index.tsx'] expect(chunk, Object.keys(routeChunks).join(' ')).toBeTruthy() @@ -345,128 +268,4 @@ describeRender('the Route A page in a real browser', () => { heldChunks.delete(path) } }, 120_000) - - it('says nothing for a redirect screen whose target is still behind its chunk', async () => { - // PR redirect remains mounted behind destination’s pending chunk; its own commit must not report screen paint. - const target = routeChunks['./h/[hostId]/source-control/[worktreeId].tsx'] - expect(target, Object.keys(routeChunks).join(' ')).toBeTruthy() - const path = `/assets/${target}` - let arrive = () => {} - heldChunks.set( - path, - new Promise((resolve) => { - arrive = resolve - }) - ) - try { - const route = `${HOST_ROUTE}/pr/render-check-tree` - const opened = await openPage({ - shellRoute: { pathname: route }, - shellPageRoutes: [HOST_ROUTE_PATTERN, '/h/[hostId]/pr/[worktreeId]'] - }) - await opened.page.goto(`${origin}/`, { waitUntil: 'load' }) - await opened.page.waitForFunction( - () => location.pathname.includes('/source-control/'), - undefined, - { timeout: 30_000, polling: 250 } - ) - // Router has moved but pending hub chunk still leaves document empty. - await waitForPageFrames(opened.page) - expect(await paintReports(opened.page, paintName)).toBe(0) - - arrive() - await opened.page.waitForFunction( - (name) => - (globalThis.__orcaRenderCheckNotifies ?? []).filter((frame) => frame.name === name) - .length > 0, - paintName, - { timeout: 30_000, polling: 250 } - ) - await opened.page.close() - } finally { - arrive() - heldChunks.delete(path) - } - }, 120_000) - - it('refuses a target the shell will not take, rather than opening it in the page', async () => { - // Fault-only grant makes notifyNavigate refuse like disposed/older shell; local fallback once mounted Unmatched or native-only session route. - const opened = await openPage({ shellRoute: { pathname: HOST_ROUTE } }) - const { page, errors } = opened - await page.goto(`${origin}/`, { waitUntil: 'load' }) - await waitForRoute(opened, HOST_ROUTE, SHELL_HOST.name) - await page.getByLabel('Back to hosts').click() - // Settle handoff microtask before asserting no navigation. - await waitForPageFrames(page) - expect(await page.evaluate(() => location.pathname)).toBe(HOST_ROUTE) - const text = await page.evaluate(() => document.body.innerText) - expect(text).toContain(SHELL_HOST.name) - expect(text).not.toContain(UNMATCHED) - // Require no notify as well as unchanged page; successful shell handoff also leaves document in place. - const notifies = await page.evaluate(() => globalThis.__orcaRenderCheckNotifies ?? []) - expect(notifies.filter((frame) => frame.name === 'navigate')).toEqual([]) - // Refused target declines navigation without faulting page. - expect(await page.evaluate(() => globalThis.__orcaRenderCheckFaults ?? [])).toEqual([]) - expect(errors).toEqual([]) - await page.close() - }, 60_000) - - it("fetches the next route's chunks on a client-side navigation", async () => { - const opened = await openPage({ shellRoute: { pathname: HOST_ROUTE } }) - const { page, errors, scripts } = opened - await page.goto(`${origin}/`, { waitUntil: 'load' }) - await waitForRoute(opened, HOST_ROUTE, SHELL_HOST.name) - const loadedForFirstRoute = [...scripts] - // Shell fetches document once; later route must arrive as a chunk through in-page history navigation. - await page.evaluate((to) => { - history.pushState(null, '', to) - dispatchEvent(new PopStateEvent('popstate')) - }, `${HOST_ROUTE}/tasks`) - await waitForRoute(opened, `${HOST_ROUTE}/tasks`, 'Issues') - expect(new URL(page.url()).pathname).toBe(`${HOST_ROUTE}/tasks`) - const fetchedOnNavigation = scripts.filter((path) => !loadedForFirstRoute.includes(path)) - // Require builder-identified tasks chunk, not any fetched script or code already loaded by entry. - const tasksChunk = routeChunks['./h/[hostId]/tasks.tsx'] - expect(tasksChunk, Object.keys(routeChunks).join(' ')).toBeTruthy() - expect(fetchedOnNavigation, scripts.join(' ')).toContain(`/assets/${tasksChunk}`) - expect(loadedForFirstRoute).not.toContain(`/assets/${tasksChunk}`) - const text = await page.evaluate(() => document.body.innerText) - expect(text).toContain('Tasks') - expect(text).not.toContain(UNMATCHED) - expect(errors).toEqual([]) - await page.close() - }, 60_000) -}) - -// Probe mounted React Navigation canGoBack through real route chevron/router.back; page exposes no direct test hook. -// First prove same-family tap reaches shell, since an inert handler and refused local Back both leave document unchanged. -describeRender('the stack the page Back button rests on', () => { - async function clickAndSettle(page, selector) { - await page.click(selector) - await waitForPageFrames(page) - return page.evaluate(() => location.pathname + location.search) - } - - it('carries a handoff the shell granted across the bridge from a real tap', async () => { - // Grant navigate: this chevron proves handler/bridge path used by navigate-back before interpreting absent notifies. - const opened = await openPage({ - shellRoute: { pathname: HOST_ROUTE }, - shellGrants: [faultGrant, 'navigate'], - shellPageRoutes: [HOST_ROUTE_PATTERN] - }) - await opened.page.goto(`${origin}/`, { waitUntil: 'load' }) - await waitForRoute(opened, HOST_ROUTE, SHELL_HOST.name) - const url = await clickAndSettle(opened.page, '[aria-label="Back to hosts"]') - await expect - .poll(() => - opened.page.evaluate(() => - (globalThis.__orcaRenderCheckNotifies ?? []).filter((frame) => frame.name === 'navigate') - ) - ) - .toEqual([{ v: bridgeVersion, type: 'notify', name: 'navigate', href: '/' }]) - // Require page stays on served route; local fallthrough would mount a screen document cannot serve. - expect(url).toBe(HOST_ROUTE) - expect(opened.errors).toEqual([]) - await opened.page.close() - }, 60_000) }) diff --git a/config/scripts/mobile-web-app/terminal/mobile-web-app-terminal-live-input-render.test.mjs b/config/scripts/mobile-web-app/terminal/mobile-web-app-terminal-live-input-render.test.mjs index 50cbd4995d4..afde47a339f 100644 --- a/config/scripts/mobile-web-app/terminal/mobile-web-app-terminal-live-input-render.test.mjs +++ b/config/scripts/mobile-web-app/terminal/mobile-web-app-terminal-live-input-render.test.mjs @@ -130,35 +130,6 @@ const fieldValue = (page) => describeRender( 'the terminal live input on the page', () => { - it('clears the field when Enter submits, the way it does natively', async () => { - // Use real keydown to exercise RN-Web Enter/onSubmitEditing; command must clear previously sent live text. - const { errors, page } = await openProbe() - await page.focus(`#${LIVE_INPUT_FIELD_ID}`) - await page.keyboard.type('ls') - await page.waitForFunction( - (id) => document.getElementById(id)?.value === 'ls', - LIVE_INPUT_FIELD_ID, - { timeout: 30_000, polling: 100 } - ) - - await page.keyboard.press('Enter') - - await page.waitForFunction( - () => (globalThis.__orcaLiveInputProbe.sent() ?? []).includes('\r'), - undefined, - { timeout: 30_000, polling: 100 } - ) - // Require exact output once: RN-Web cancels submitted keydown, so page line-break binding must not send second CR. - expect(await page.evaluate(() => globalThis.__orcaLiveInputProbe.sent())).toEqual([ - 'l', - 's', - '\r' - ]) - expect(await fieldValue(page)).toBe('') - expect(errors).toEqual([]) - await page.close() - }, 300_000) - it('submits when Enter arrives with the keyboard composition still open', async () => { // Android soft-keyboard Enter carries isComposing; RN-Web suppresses onSubmitEditing unlike native editor action. const { errors, page } = await openProbe() @@ -270,31 +241,6 @@ describeRender( expect(errors).toEqual([]) await page.close() }, 300_000) - - it('erases and retypes a word the keyboard corrects when it commits', async () => { - const { errors, page } = await openProbe({ userAgent: ANDROID_WEBVIEW_USER_AGENT }) - await page.focus(`#${LIVE_INPUT_FIELD_ID}`) - const input = await page.context().newCDPSession(page) - for (const text of ['t', 'te', 'teh']) { - await compose(input, text) - await waitForField(page, text) - } - - await input.send('Input.insertText', { text: 'the' }) - await waitForField(page, 'the') - - await page.waitForFunction( - () => globalThis.__orcaLiveInputProbe.sent().length === 4, - undefined, - { - timeout: 30_000, - polling: 50 - } - ) - expect(await sent(page)).toEqual(['t', 'e', 'h', '\u007f\u007fhe']) - expect(errors).toEqual([]) - await page.close() - }, 300_000) }) }, 900_000 diff --git a/config/scripts/mobile-web/check-entry/mobile-test-change-scope.mjs b/config/scripts/mobile-web/check-entry/mobile-test-change-scope.mjs index 76328d54edb..1c2c90ff286 100644 --- a/config/scripts/mobile-web/check-entry/mobile-test-change-scope.mjs +++ b/config/scripts/mobile-web/check-entry/mobile-test-change-scope.mjs @@ -27,7 +27,6 @@ const DESKTOP_SUITE_PREFIXES = [ 'src/main/runtime/agent-session/agent-session-account-', 'src/main/runtime/agent-session/agent-session-acquisition-', 'src/main/runtime/agent-session/agent-session-conversation-', - 'src/main/runtime/agent-session/agent-session-death-', 'src/main/runtime/agent-session/agent-session-launch-', 'src/main/runtime/agent-session/agent-session-operation-', 'src/main/runtime/agent-session/agent-session-rewind-', diff --git a/config/scripts/node-server/qualification/node-server-change-scope.test.mjs b/config/scripts/node-server/qualification/node-server-change-scope.test.mjs index 1495e537b5e..29172c0ad5c 100644 --- a/config/scripts/node-server/qualification/node-server-change-scope.test.mjs +++ b/config/scripts/node-server/qualification/node-server-change-scope.test.mjs @@ -1,10 +1,8 @@ -import { mkdtempSync, mkdirSync, readFileSync, realpathSync, rmSync, writeFileSync } from 'node:fs' +import { mkdtempSync, mkdirSync, rmSync, writeFileSync } from 'node:fs' import { join } from 'node:path' import { tmpdir } from 'node:os' import { afterEach, expect, it } from 'vitest' import { classifyNodeServerChanges, collectNodeServerInputs } from './node-server-change-scope.mjs' -import { runProcessSync } from '@orca/process-host' -import { NODE_SERVER_RUNNERS } from './node-server-qualification.mjs' const temporaryDirs = [] afterEach(() => { @@ -76,20 +74,6 @@ it('tracks workspace source and manifest closures without trusting dist or widen ).toBe(false) }) -it.each(['@orca/unknown', '@orca/process-host/private'])( - 'retains qualification for an unresolved internal package export: %s', - async (specifier) => { - const root = workspaceTree(specifier) - const result = await classifyNodeServerChanges( - ['src/packages/process-host/src/run-process.ts'], - () => collectNodeServerInputs({ root, entryPoints: ['entry.ts'] }) - ) - expect(result.shouldRun).toBe(true) - expect(result.graphUnavailable).toBe(true) - expect(result.reason).toContain('No public orca-source export') - } -) - it('checks ordinary source unit files against actual imports before skipping the matrix', async () => { const reachable = 'src/main/persistence/example/used.test.ts' const unrelated = 'src/main/persistence/example/unrelated.test.tsx' @@ -118,90 +102,3 @@ it('retains qualification when a removed ordinary unit file breaks an actual imp expect(result.reason).toContain('Dependency graph unavailable') expect(result.reason).toContain('removed.test.ts') }) - -it.each([ - { files: [], deferred: true, expected: 'should_run=true' }, - { files: ['package.json'], deferred: true, expected: 'should_run=true' }, - { - files: ['src/main/persistence/profile-state/profile-state-windows.ts'], - deferred: true, - fullQualification: false, - qualification: false, - runners: ['ubuntu-22.04', 'windows-2022', 'windows-11-arm'], - expected: 'should_run=true' - }, - { - files: ['src/main/persistence/profile-state/profile-state-windows.ts'], - deferred: true, - expected: 'should_run=true' - }, - { - files: ['src/main/providers/provider-windows.ts'], - deferred: true, - fullQualification: false, - expected: 'should_run=true' - }, - { - files: ['src/main/persistence/profile-state/profile-state-recovery-crash-boundaries.test.ts'], - deferred: true, - fullQualification: false, - pullRequest: true, - nativeGraph: true, - expected: 'should_run=true' - }, - { files: ['src/renderer/src/example.ts'], deferred: true, expected: 'graph_required=true' }, - { files: ['src/renderer/src/example.ts'], deferred: false, expected: 'should_run=true' } -])('fails closed or requests dependencies in an uninstalled checkout: %j', (scenario) => { - const root = moduleTree( - Object.fromEntries( - [ - 'node-server-change-scope', - 'node-server-test-paths', - 'node-server-qualification', - 'node-server-native-compat-scope' - ].map((name) => [ - `config/scripts/node-server/qualification/${name}.mjs`, - readFileSync(new URL(`./${name}.mjs`, import.meta.url), 'utf8') - ]) - ) - ) - const changes = join(root, 'changes') - const stepOutput = join(root, 'step-output') - const statuses = join(root, 'native-diff') - writeFileSync(changes, scenario.files.map((file) => `${file}\0`).join('')) - writeFileSync( - statuses, - scenario.files - .map((file) => `:100644 100644 ${'1'.repeat(40)} ${'2'.repeat(40)} M\0${file}\0`) - .join('') - ) - const result = runProcessSync({ - program: process.execPath, - args: [ - realpathSync( - join(root, 'config/scripts/node-server/qualification/node-server-change-scope.mjs') - ), - changes, - ...(scenario.fullQualification === false ? [] : ['--full-qualification']), - ...(scenario.deferred ? ['--defer-graph'] : []), - ...(scenario.pullRequest ? ['--pull-request', '--diff-paths', statuses] : []) - ], - cwd: root, - env: { ...process.env, GITHUB_OUTPUT: stepOutput }, - timeoutMs: 5_000 - }) - expect(result.code).toBe(0) - const output = readFileSync(stepOutput, 'utf8') - expect(output).toContain(scenario.expected) - if (scenario.nativeGraph) { - expect(output).toContain('graph_required=true') - expect(output).not.toContain('native_compatibility=') - } - if (scenario.expected === 'graph_required=true') { - expect(output).not.toContain('should_run=') - expect(output).not.toContain('runners=') - } else { - expect(output).toContain(`qualification=${scenario.qualification !== false}`) - expect(output).toContain(`runners=${JSON.stringify(scenario.runners ?? NODE_SERVER_RUNNERS)}`) - } -}) diff --git a/config/scripts/node-server/qualification/node-server-test-paths.mjs b/config/scripts/node-server/qualification/node-server-test-paths.mjs index ca953dcd8af..7ec2eeb38a5 100644 --- a/config/scripts/node-server/qualification/node-server-test-paths.mjs +++ b/config/scripts/node-server/qualification/node-server-test-paths.mjs @@ -1,10 +1,7 @@ /** Mirrors ORCA_REQUIRED_TEST_INPUTS_ENV in src/main/orcad/orcad-node-slot-fixture.ts. */ export const REQUIRED_TEST_INPUTS_ENV = 'ORCA_REQUIRED_TEST_INPUTS' -// Need the pinned Bun and the last Bun orcad slot beside the built Node slot (design D7). -export const CROSS_RUNTIME_TEST_PATHS = [ - 'src/main/persistence/profile-state/profile-state-cross-runtime.integration.test.ts' -] +export const CROSS_RUNTIME_TEST_PATHS = [] // Need the built desktop server template; CI runs them by path after build-orcad-template.mjs. export const TEMPLATE_TEST_PATHS = [ @@ -18,7 +15,7 @@ export function nodeServerTestPaths({ } = {}) { return [ 'src/main/persistence/profile-state', - 'src/main/persistence/loading-store/profile-state', + 'src/main/persistence/loading-store/profile-writing/profile-state', 'src/main/sqlite', // The orcad server's identity and stop path, which Windows SSH hosts rely on (W2). 'src/main/orcad/orcad-instance-lock.test.ts', diff --git a/config/scripts/orcad-distribution/server-bundle/orcad-entry-build.mjs b/config/scripts/orcad-distribution/server-bundle/orcad-entry-build.mjs index cc412c5eb09..27c736a8faa 100644 --- a/config/scripts/orcad-distribution/server-bundle/orcad-entry-build.mjs +++ b/config/scripts/orcad-distribution/server-bundle/orcad-entry-build.mjs @@ -18,9 +18,9 @@ const ORCAD_COMPAT_BUILD_TARGET = 'node18' export const ORCAD_CHILD_ENTRY_POINTS = { watcher: 'src/main/ipc/filesystem/watcher-process/parcel-watcher-process-entry.ts', daemon: 'src/main/daemon/daemon-entry.ts', - writer: 'src/main/persistence/profile-state/profile-state-writer-worker-entry.ts', - backup: 'src/main/persistence/profile-state/profile-state-backup-worker-entry.ts', - sessionSearch: 'src/main/ai-vault-search/session-search-worker-entry.ts', + writer: 'src/main/persistence/profile-state/writer/profile-state-writer-worker-entry.ts', + backup: 'src/main/persistence/profile-state/backup/profile-state-backup-worker-entry.ts', + sessionSearch: 'src/main/ai-vault-search/worker/session-search-worker-entry.ts', foreignSqliteReader: 'src/main/foreign-sqlite-readers/foreign-sqlite-reader-entry.ts', portScanCommandWorker: 'src/main/ports/port-scan-command-worker-entry.ts', commandPathDirectoryWorker: 'src/main/ipc/command-path/command-path-directory-worker-entry.ts', diff --git a/config/scripts/orcad-distribution/server-bundle/orcad-mobile-web-bundle.mjs b/config/scripts/orcad-distribution/server-bundle/orcad-mobile-web-bundle.mjs index dd94c56f62e..7fa363a1907 100644 --- a/config/scripts/orcad-distribution/server-bundle/orcad-mobile-web-bundle.mjs +++ b/config/scripts/orcad-distribution/server-bundle/orcad-mobile-web-bundle.mjs @@ -19,7 +19,7 @@ export function stageOrcadMobileWebBundle(outputDir, bundleDir = MOBILE_WEB_BUND // The release template refuses the variable itself. assertNoDarkOutputOfOffSwitches([bundleDir]) assertMobileWebBundleBuilt(bundleDir) - // The guard refuses unlisted files, so the tree is the manifest, its assets and a dark marker. + // The guard refuses unlisted files, so the tree is the manifest, its assets and catalogs, and a dark marker. cpSync(bundleDir, join(outputDir, ...ORCAD_MOBILE_WEB_DIR.split('/')), { recursive: true }) } diff --git a/config/scripts/orcad-distribution/server-bundle/profile-state-worker-smoke.mjs b/config/scripts/orcad-distribution/server-bundle/profile-state-worker-smoke.mjs index 8467030acc5..8356532f609 100644 --- a/config/scripts/orcad-distribution/server-bundle/profile-state-worker-smoke.mjs +++ b/config/scripts/orcad-distribution/server-bundle/profile-state-worker-smoke.mjs @@ -19,7 +19,7 @@ async function initializeFixture(directory, databasePath, profileId) { const fixture = join(directory, 'initialize.cjs') await build({ stdin: { - contents: `import { openProfileStateDatabase } from './src/main/persistence/profile-state/profile-state-database'; + contents: `import { openProfileStateDatabase } from './src/main/persistence/profile-state/database/profile-state-database'; export function initialize(path, profileId) { openProfileStateDatabase(path, profileId).db.close() }`, resolveDir: resolve(import.meta.dirname, '../../../..'), sourcefile: 'profile-state-build-fixture.ts' diff --git a/config/scripts/orcad-distribution/server-bundle/profile-state-worker-smoke.test.mjs b/config/scripts/orcad-distribution/server-bundle/profile-state-worker-smoke.test.mjs deleted file mode 100644 index 3fb90c88178..00000000000 --- a/config/scripts/orcad-distribution/server-bundle/profile-state-worker-smoke.test.mjs +++ /dev/null @@ -1,63 +0,0 @@ -import { build } from 'esbuild' -import { copyFileSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs' -import { tmpdir } from 'node:os' -import { join, resolve } from 'node:path' -import { afterAll, beforeAll, describe, expect, it } from 'vitest' -import { smokeProfileStateWorkers } from './profile-state-worker-smoke.mjs' - -const directories = [] -const writerFilename = 'profile-state-writer-worker-entry.js' -const backupFilename = 'profile-state-backup-worker-entry.js' -let builtDirectory - -function fixtureDirectory() { - const directory = mkdtempSync(join(tmpdir(), 'orca-profile-worker-build-test-')) - directories.push(directory) - return directory -} - -beforeAll(async () => { - builtDirectory = fixtureDirectory() - await Promise.all( - ['writer', 'backup'].map((role) => - build({ - entryPoints: [ - resolve(`src/main/persistence/profile-state/profile-state-${role}-worker-entry.ts`) - ], - outfile: join(builtDirectory, `profile-state-${role}-worker-entry.js`), - bundle: true, - platform: 'node', - target: 'node18', - format: 'cjs', - logLevel: 'silent' - }) - ) - ) -}) - -afterAll(() => { - for (const directory of directories) { - rmSync(directory, { recursive: true, force: true }) - } -}) - -describe('profile state build smoke', () => { - it('writes through the built writer and verifies the built backup after handle release', async () => { - await expect(smokeProfileStateWorkers(builtDirectory)).resolves.toBeUndefined() - }) - - it('does not accept a successful backup response without the copied database', async () => { - const directory = fixtureDirectory() - copyFileSync(join(builtDirectory, writerFilename), join(directory, writerFilename)) - writeFileSync( - join(directory, backupFilename), - `const { parentPort } = require('node:worker_threads') - parentPort.postMessage({ ok: true }) - parentPort.close()` - ) - await expect(smokeProfileStateWorkers(directory)).rejects.toMatchObject({ - code: 'ERR_SQLITE_ERROR', - errcode: 14 - }) - }) -}) diff --git a/config/scripts/performance/claude-usage/claude-usage-benchmark-persistence.mjs b/config/scripts/performance/claude-usage/claude-usage-benchmark-persistence.mjs index 7e52c72b0e7..e0df9730978 100644 --- a/config/scripts/performance/claude-usage/claude-usage-benchmark-persistence.mjs +++ b/config/scripts/performance/claude-usage/claude-usage-benchmark-persistence.mjs @@ -27,14 +27,40 @@ export function resolveClaudeBenchmarkCommit(ref) { } const SNAPSHOT_MODULE_PATHS = [ + 'src/main/usage/cache/usage-cache-snapshot-writer.ts', 'src/main/usage/usage-cache-snapshot-writer.ts', 'src/main/usage-cache-snapshot-writer.ts' ] +const PERSISTENCE_MODULE_PATHS = { + snapshot: SNAPSHOT_MODULE_PATHS, + lifecycle: [ + 'src/main/usage/provider-lifecycle/usage-provider-store-lifecycle.ts', + 'src/main/usage/usage-provider-store-lifecycle.ts' + ], + sourceCache: [ + 'src/main/usage/cache/usage-source-cache-file.ts', + 'src/main/usage/usage-source-cache-file.ts' + ] +} -function persistenceEntry(mode) { +function listClaudeBenchmarkModulePaths(commit, modulePaths) { + const listed = runProcessSync({ + program: 'git', + args: ['ls-tree', '--name-only', commit, '--', ...modulePaths], + cwd: ROOT, + timeoutMs: 10_000, + maxOutputBytes: MIB, + env: { ...process.env, ORCA_BACKGROUND_LAUNCH: '1' } + }) + assert.equal(listed.code, 0, listed.stderr) + assert.equal(listed.outputTruncated, false) + return new Set(listed.stdout.trim().split('\n')) +} + +function persistenceEntry(mode, modulePaths) { const exports = [ - `export { UsageCacheSnapshotWriter } from './src/main/usage/usage-cache-snapshot-writer';`, - `export { UsageProviderStoreLifecycle } from './src/main/usage/usage-provider-store-lifecycle';` + `export { UsageCacheSnapshotWriter } from './${modulePaths.snapshot.slice(0, -3)}';`, + `export { UsageProviderStoreLifecycle } from './${modulePaths.lifecycle.slice(0, -3)}';` ] if (mode === 'published') { exports.push(`export { validatePersistedClaudeUsageProjections } @@ -42,7 +68,7 @@ function persistenceEntry(mode) { } else if (mode === 'main') { exports.push(`export { readUsageSourceCache as readSourceCache, writeUsageSourceCache as writeSourceCache, splitUsageCacheFile as splitCacheFile } - from './src/main/usage/usage-source-cache-file';`) + from './${modulePaths.sourceCache.slice(0, -3)}';`) } else { exports.push(`export { readClaudeUsageSourceCache as readSourceCache, writeClaudeUsageSourceCache as writeSourceCache, persistClaudeUsageSourceCache as persistSourceCache, @@ -75,24 +101,25 @@ const INACTIVE_LIFECYCLE_IMPORTS = new Map([ export async function loadClaudeUsageBenchmarkPersistence(mode, commit = null, frozen = new Map()) { const sourceFingerprints = {} const stubFingerprints = {} - let snapshotModulePath = SNAPSHOT_MODULE_PATHS[0] + const modulePaths = Object.fromEntries( + Object.entries(PERSISTENCE_MODULE_PATHS).map(([name, paths]) => [name, paths[0]]) + ) + const nativeModulePaths = new Map() if (typeof commit === 'string') { - const listed = runProcessSync({ - program: 'git', - args: ['ls-tree', '--name-only', commit, '--', ...SNAPSHOT_MODULE_PATHS], - cwd: ROOT, - timeoutMs: 10_000, - maxOutputBytes: MIB, - env: { ...process.env, ORCA_BACKGROUND_LAUNCH: '1' } - }) - assert.equal(listed.code, 0, listed.stderr) - assert.equal(listed.outputTruncated, false) - const paths = new Set(listed.stdout.trim().split('\n')) - snapshotModulePath = SNAPSHOT_MODULE_PATHS.find((path) => paths.has(path)) - assert(snapshotModulePath, 'Pinned usage snapshot writer is absent') + const paths = listClaudeBenchmarkModulePaths( + commit, + Object.values(PERSISTENCE_MODULE_PATHS).flat() + ) + for (const [name, candidates] of Object.entries(PERSISTENCE_MODULE_PATHS)) { + if (name === 'sourceCache' && mode !== 'main') { + continue + } + modulePaths[name] = candidates.find((path) => paths.has(path)) + assert(modulePaths[name], `Pinned usage ${name} is absent`) + } } const result = await build({ - stdin: { contents: persistenceEntry(mode), loader: 'ts', resolveDir: ROOT }, + stdin: { contents: persistenceEntry(mode, modulePaths), loader: 'ts', resolveDir: ROOT }, platform: 'node', format: 'esm', bundle: true, @@ -107,7 +134,7 @@ export async function loadClaudeUsageBenchmarkPersistence(mode, commit = null, f .join('/') const modulePath = resolved.endsWith('.ts') ? resolved : `${resolved}.ts` return SNAPSHOT_MODULE_PATHS.includes(modulePath) - ? { path: resolve(ROOT, snapshotModulePath) } + ? { path: resolve(ROOT, modulePaths.snapshot) } : undefined }) bundler.onResolve( @@ -122,6 +149,29 @@ export async function loadClaudeUsageBenchmarkPersistence(mode, commit = null, f return match ? { path: match, namespace: 'inactive-lifecycle' } : undefined } ) + bundler.onResolve({ filter: /^\./ }, (args) => { + if (typeof commit !== 'string') { + return undefined + } + const target = relative(ROOT, resolve(args.resolveDir, args.path)).split(sep).join('/') + if (!target.startsWith('src/')) { + return undefined + } + if (!nativeModulePaths.has(target)) { + const extensions = ['.tsx', '.ts', '.jsx', '.js', '.css', '.json'] + const candidates = extname(target) + ? [target] + : [ + ...extensions.map((extension) => target + extension), + ...extensions.map((extension) => `${target}/index${extension}`) + ] + const paths = listClaudeBenchmarkModulePaths(commit, candidates) + const modulePath = candidates.find((path) => paths.has(path)) + assert(modulePath, `Pinned usage source is absent: ${String(commit)}:${target}`) + nativeModulePaths.set(target, modulePath) + } + return { path: resolve(ROOT, nativeModulePaths.get(target)) } + }) bundler.onLoad({ filter: /.*/, namespace: 'inactive-lifecycle' }, (args) => { const contents = INACTIVE_LIFECYCLE_IMPORTS.get(args.path) stubFingerprints[args.path] = claudeBenchmarkSha256(contents) @@ -205,7 +255,12 @@ export function createClaudeBenchmarkStore(arm, cacheFile, splitCacheFile, parse class BenchmarkStore extends implementation.UsageProviderStoreLifecycle { constructor() { super( - { getRepos: () => [], getAllWorktreeMeta: () => ({}) }, + { + getRepos: () => [], + getAllWorktreeMeta: () => ({}), + getRememberedWorktreeDisplayNames: () => new Map(), + whenLoaded: async () => {} + }, { logTag: '[claude-persistence-benchmark]', resolveCacheFile: () => cacheFile, diff --git a/config/scripts/performance/measurement/benchmark-sample-summary.test.mjs b/config/scripts/performance/measurement/benchmark-sample-summary.test.mjs deleted file mode 100644 index 2a1ac51b098..00000000000 --- a/config/scripts/performance/measurement/benchmark-sample-summary.test.mjs +++ /dev/null @@ -1,9 +0,0 @@ -import { describe, expect, it } from 'vitest' - -import { summarizeBenchmarkSamples } from './benchmark-sample-summary.mjs' - -describe('benchmark sample summary', () => { - it('averages the two middle samples for an even-sized median', () => { - expect(summarizeBenchmarkSamples([100, 1, 2, 99]).medianMs).toBe(50.5) - }) -}) diff --git a/config/scripts/performance/native-chat/native-provider-line-gate-benchmark.mjs b/config/scripts/performance/native-chat/native-provider-line-gate-benchmark.mjs index 75194f2c3ac..f09b1dc0034 100644 --- a/config/scripts/performance/native-chat/native-provider-line-gate-benchmark.mjs +++ b/config/scripts/performance/native-chat/native-provider-line-gate-benchmark.mjs @@ -5,7 +5,7 @@ import { performance } from 'node:perf_hooks' import { build } from 'esbuild' // Pipe the baseline client module on stdin. Native process/filesystem operations are forbidden here. -const entry = path.resolve('src/main/computer/macos-native-provider-client.ts') +const entry = path.resolve('src/main/computer/macos-native/macos-native-provider-client.ts') const sources = [readFileSync(0, 'utf8'), readFileSync(entry, 'utf8')] assert(sources.every((source) => source.includes('export class MacOSNativeProviderClient'))) async function load(source) { diff --git a/config/scripts/performance/renderer-projection/locale-collator-sort-benchmark.mjs b/config/scripts/performance/renderer-projection/locale-collator-sort-benchmark.mjs index 7253d22afb5..073a78ffaa5 100644 --- a/config/scripts/performance/renderer-projection/locale-collator-sort-benchmark.mjs +++ b/config/scripts/performance/renderer-projection/locale-collator-sort-benchmark.mjs @@ -18,7 +18,7 @@ const { sortJiraIssues } = await jiti.import( '../../../../src/renderer/src/components/jira-issue-sorter.ts' ) const { sortAutomationListViewItems } = await jiti.import( - '../../../../src/renderer/src/components/automations/automation-list-view.ts' + '../../../../src/renderer/src/components/automations/listing/automation-list-view.ts' ) const automationLocale = 'en-US' diff --git a/config/scripts/performance/session-search/session-search-query-benchmark.ts b/config/scripts/performance/session-search/session-search-query-benchmark.ts index 48121c37ac7..3221aa5d151 100644 --- a/config/scripts/performance/session-search/session-search-query-benchmark.ts +++ b/config/scripts/performance/session-search/session-search-query-benchmark.ts @@ -6,20 +6,20 @@ import { } from '../../../../src/main/ai-vault/parse-cache/session-scanner-parse-cache' import { resetSessionParseCacheForTests } from '../../../../src/main/ai-vault/parse-cache/session-parse-cache-store' import { resetTranscriptConsumersForTests } from '../../../../src/main/ai-vault/transcripts/session-transcript-consumers' -import { SessionSearchEngine } from '../../../../src/main/ai-vault-search/session-search-engine' +import { SessionSearchEngine } from '../../../../src/main/ai-vault-search/query/session-search-engine' import type { SessionSearchRequest, SessionSearchScope -} from '../../../../src/main/ai-vault-search/session-search-engine-types' -import { registerSessionSearchIndexConsumer } from '../../../../src/main/ai-vault-search/session-search-index-consumer' -import { SessionSearchStore } from '../../../../src/main/ai-vault-search/session-search-store' +} from '../../../../src/main/ai-vault-search/query/session-search-engine-types' +import { registerSessionSearchIndexConsumer } from '../../../../src/main/ai-vault-search/indexing/session-search-index-consumer' +import { SessionSearchStore } from '../../../../src/main/ai-vault-search/storage/session-search-store' import type SyncDatabase from '../../../../src/main/sqlite/sync-database' import { writeSyntheticTranscriptCorpus, type SyntheticCorpus, type SyntheticCorpusOptions -} from '../../../../src/main/ai-vault-search/session-search-synthetic-corpus' -import { sessionCandidate } from '../../../../src/main/ai-vault-search/session-search-transcript-fixtures' +} from '../../../../src/main/ai-vault-search/indexing/session-search-synthetic-corpus' +import { sessionCandidate } from '../../../../src/main/ai-vault-search/indexing/session-search-transcript-fixtures' // Measure real engine/store on synthetic corpus only; never use real transcripts. diff --git a/config/scripts/performance/session-search/session-search-scope-benchmark.ts b/config/scripts/performance/session-search/session-search-scope-benchmark.ts index c1c6fdb979a..c644806d915 100644 --- a/config/scripts/performance/session-search/session-search-scope-benchmark.ts +++ b/config/scripts/performance/session-search/session-search-scope-benchmark.ts @@ -6,14 +6,14 @@ import { } from '../../../../src/main/ai-vault/parse-cache/session-scanner-parse-cache' import { resetSessionParseCacheForTests } from '../../../../src/main/ai-vault/parse-cache/session-parse-cache-store' import { resetTranscriptConsumersForTests } from '../../../../src/main/ai-vault/transcripts/session-transcript-consumers' -import { SessionSearchEngine } from '../../../../src/main/ai-vault-search/session-search-engine' +import { SessionSearchEngine } from '../../../../src/main/ai-vault-search/query/session-search-engine' import type { SessionSearchRequest, SessionSearchScope -} from '../../../../src/main/ai-vault-search/session-search-engine-types' -import { registerSessionSearchIndexConsumer } from '../../../../src/main/ai-vault-search/session-search-index-consumer' -import { SessionSearchStore } from '../../../../src/main/ai-vault-search/session-search-store' -import { sessionCandidate } from '../../../../src/main/ai-vault-search/session-search-transcript-fixtures' +} from '../../../../src/main/ai-vault-search/query/session-search-engine-types' +import { registerSessionSearchIndexConsumer } from '../../../../src/main/ai-vault-search/indexing/session-search-index-consumer' +import { SessionSearchStore } from '../../../../src/main/ai-vault-search/storage/session-search-store' +import { sessionCandidate } from '../../../../src/main/ai-vault-search/indexing/session-search-transcript-fixtures' import type SyncDatabase from '../../../../src/main/sqlite/sync-database' import { writeToolHeavyCorpus, type ToolHeavyCorpus } from './session-search-tool-heavy-corpus' diff --git a/config/scripts/performance/session-search/session-search-write-benchmark.ts b/config/scripts/performance/session-search/session-search-write-benchmark.ts index c2c07e1249a..285c3be68de 100644 --- a/config/scripts/performance/session-search/session-search-write-benchmark.ts +++ b/config/scripts/performance/session-search/session-search-write-benchmark.ts @@ -9,10 +9,10 @@ import { import { resetSessionParseCacheForTests } from '../../../../src/main/ai-vault/parse-cache/session-parse-cache-store' import { resetTranscriptConsumersForTests } from '../../../../src/main/ai-vault/transcripts/session-transcript-consumers' import { requestWholeTranscriptRead } from '../../../../src/main/ai-vault/transcripts/session-transcript-reader' -import { registerSessionSearchIndexConsumer } from '../../../../src/main/ai-vault-search/session-search-index-consumer' -import { SessionSearchStore } from '../../../../src/main/ai-vault-search/session-search-store' -import { writeSyntheticTranscriptCorpus } from '../../../../src/main/ai-vault-search/session-search-synthetic-corpus' -import { sessionCandidate } from '../../../../src/main/ai-vault-search/session-search-transcript-fixtures' +import { registerSessionSearchIndexConsumer } from '../../../../src/main/ai-vault-search/indexing/session-search-index-consumer' +import { SessionSearchStore } from '../../../../src/main/ai-vault-search/storage/session-search-store' +import { writeSyntheticTranscriptCorpus } from '../../../../src/main/ai-vault-search/indexing/session-search-synthetic-corpus' +import { sessionCandidate } from '../../../../src/main/ai-vault-search/indexing/session-search-transcript-fixtures' import SyncDatabase from '../../../../src/main/sqlite/sync-database' // Measures the real transcript reader and search store over a synthetic corpus. diff --git a/config/scripts/performance/skills-plugins/skill-source-inventory-benchmark.mjs b/config/scripts/performance/skills-plugins/skill-source-inventory-benchmark.mjs index d774eb03fe0..64b69c9a1e7 100644 --- a/config/scripts/performance/skills-plugins/skill-source-inventory-benchmark.mjs +++ b/config/scripts/performance/skills-plugins/skill-source-inventory-benchmark.mjs @@ -4,7 +4,7 @@ import { performance } from 'node:perf_hooks' import { transform } from 'esbuild' import { buildCounterbalancedSchedule } from '../measurement/counterbalanced-benchmark-schedule.mjs' -const path = 'src/renderer/src/components/skills/skill-source-inventory.ts' +const path = 'src/renderer/src/components/skills/catalog/skill-source-inventory.ts' const arms = {} for (const [name, source] of [ ['baseline', readFileSync(0, 'utf8')], diff --git a/config/scripts/performance/terminal-stream/terminal-shutdown-byte-limit-benchmark.mjs b/config/scripts/performance/terminal-stream/terminal-shutdown-byte-limit-benchmark.mjs index 402ec2fa290..874600c3049 100644 --- a/config/scripts/performance/terminal-stream/terminal-shutdown-byte-limit-benchmark.mjs +++ b/config/scripts/performance/terminal-stream/terminal-shutdown-byte-limit-benchmark.mjs @@ -43,7 +43,7 @@ const layoutFunctions = layoutAst.statements.filter( ) assert.equal(layoutFunctions.length, layoutNames.length) const layoutSubset = `import { isTerminalLeafId } from ${JSON.stringify(path.resolve('src/shared/workspace-layout/stable-pane-id.ts'))}; -import { readSplitRatio } from '@/lib/pane-manager/pane-split-ratio'; +import { readSplitRatio } from '@/lib/pane-manager/pane-layout/pane-split-ratio'; import { SPLIT_RATIO_TOLERANCE } from ${JSON.stringify(path.resolve('src/shared/workspace-layout/terminal-pane-tree.ts'))}; ${layoutFunctions.map((node) => node.getText(layoutAst)).join('\n')}` diff --git a/config/scripts/preflight/changed-checks/check-changed-selection.mjs b/config/scripts/preflight/changed-checks/check-changed-selection.mjs index 96fd64b330b..7128af32b8d 100644 --- a/config/scripts/preflight/changed-checks/check-changed-selection.mjs +++ b/config/scripts/preflight/changed-checks/check-changed-selection.mjs @@ -59,6 +59,7 @@ const RATCHET_INPUTS = { 'check-repo-host-read-ratchet.mjs': ['src/cli/', 'src/main/', 'src/shared/'], 'check-runtime-electron-ratchet.mjs': ['src/main/', 'src/cli/', 'src/shared/'], 'check-tab-map-seam-ratchet.mjs': ['src/renderer/src/'], + 'check-terminal-parking-ownership-ratchet.mjs': ['src/renderer/src/'], 'check-unproven-pty-retirement-ratchet.mjs': ['src/main/'], 'check-workspace-record-read-ratchet.mjs': ['src/renderer/src/'], 'check-worktree-id-composer-ratchet.mjs': ['src/', 'mobile/src/'] @@ -113,7 +114,33 @@ export const VERIFY_CHECKS = [ 'config/scripts/localization/source-extraction/audit-localization-coverage.mjs', '--check' ], - inputs: ['src/renderer/src/', LOCALES] + inputs: [ + 'src/renderer/src/', + LOCALES, + 'config/scripts/localization/source-extraction/audit-localization-coverage', + 'config/scripts/localization/source-extraction/localization-visible-object-keys' + ] + }, + { + name: 'startup and worktree localization coverage', + args: [ + 'config/scripts/localization/source-extraction/audit-localization-coverage.mjs', + '--check', + '--native-dialog-fields', + '--source-root', + 'src/main/startup', + '--source-root', + 'src/shared/worktree', + '--allowlist', + 'config/startup-worktree-localization-allowlist.json' + ], + inputs: [ + 'src/main/startup/', + 'src/shared/worktree/', + 'config/scripts/localization/source-extraction/audit-localization-coverage', + 'config/scripts/localization/source-extraction/localization-visible-object-keys', + 'config/startup-worktree-localization-allowlist.json' + ] }, { name: 'mobile localization', @@ -156,7 +183,8 @@ export const VERIFY_CHECKS = [ 'mobile/web-entry/', 'config/mobile-localization-coverage-allowlist.json', 'config/scripts/audit-localization-coverage', - 'config/scripts/localization/source-extraction/audit-localization-coverage' + 'config/scripts/localization/source-extraction/audit-localization-coverage', + 'config/scripts/localization/source-extraction/localization-visible-object-keys' ] }, { diff --git a/config/scripts/preflight/changed-checks/run-lint.mjs b/config/scripts/preflight/changed-checks/run-lint.mjs index e882fcb03d2..2e4afe7b826 100644 --- a/config/scripts/preflight/changed-checks/run-lint.mjs +++ b/config/scripts/preflight/changed-checks/run-lint.mjs @@ -18,6 +18,7 @@ export const LINT_STEPS = [ 'check:test-file-runners', 'verify:localization-catalogs', 'verify:localization-coverage', + 'verify:startup-worktree-localization-coverage', 'verify:mobile-localization', 'verify:mobile-localization-coverage', 'lint:ast-grep-gates', @@ -40,6 +41,7 @@ export const LINT_STEPS = [ 'check:ts-nocheck-ratchet', 'check:workspace-record-read-ratchet', 'check:tab-map-seam-ratchet', + 'check:terminal-parking-ownership-ratchet', 'check:unproven-pty-retirement-ratchet', 'check:daemon-blocking-call-ratchet', 'check:main-sync-fs-ratchet', diff --git a/config/scripts/remote-host-build/wsl-guest/build-wsl-guest.mjs b/config/scripts/remote-host-build/wsl-guest/build-wsl-guest.mjs index e570cbbf009..678052caba0 100644 --- a/config/scripts/remote-host-build/wsl-guest/build-wsl-guest.mjs +++ b/config/scripts/remote-host-build/wsl-guest/build-wsl-guest.mjs @@ -63,6 +63,9 @@ await bundle( OPENCODE_SQLITE_READER_FILENAME, { external: ['electron'] } ) -await bundle('src/main/opencode/opencode-wsl-text-task-entry.ts', OPENCODE_WSL_TEXT_TASK_FILENAME) +await bundle( + 'src/main/opencode/text-tasks/wsl/opencode-wsl-text-task-entry.ts', + OPENCODE_WSL_TEXT_TASK_FILENAME +) console.log('WSL guest build complete.') diff --git a/config/scripts/skills/bundle-generation/generate-plugin-authoring-skill-references.mjs b/config/scripts/skills/bundle-generation/generate-plugin-authoring-skill-references.mjs index 1efc10e312c..3c656d5530b 100644 --- a/config/scripts/skills/bundle-generation/generate-plugin-authoring-skill-references.mjs +++ b/config/scripts/skills/bundle-generation/generate-plugin-authoring-skill-references.mjs @@ -299,7 +299,7 @@ function renderEvents({ events, eventContribution, typeText }, { services, frame const { REFERENCE_TYPE_TEXT, zodTypeText } = typeText const workerEvents = eventContribution.PLUGIN_EVENT_NAMES.map( (name) => - `- ${code(name)} (capability ${code(eventContribution.PLUGIN_EVENT_CAPABILITY[name])}; since ${eventContribution.PLUGIN_EVENT_SINCE[name]}): ${events.PLUGIN_EVENT_SUMMARIES[name]}\n ${code(zodTypeText(events.PLUGIN_EVENT_PAYLOAD_SCHEMAS[name], 'output', REFERENCE_TYPE_TEXT))}` + `- ${code(name)} (${eventContribution.PLUGIN_EVENT_CAPABILITY[name] ? `capability ${code(eventContribution.PLUGIN_EVENT_CAPABILITY[name])}` : 'no capability'}; since ${eventContribution.PLUGIN_EVENT_SINCE[name]}): ${events.PLUGIN_EVENT_SUMMARIES[name]}\n ${code(zodTypeText(events.PLUGIN_EVENT_PAYLOAD_SCHEMAS[name], 'output', REFERENCE_TYPE_TEXT))}` ) return document( 'Events', diff --git a/config/scripts/skills/bundle-generation/generate-skill-bundle-manifest.mjs b/config/scripts/skills/bundle-generation/generate-skill-bundle-manifest.mjs index 094a5132428..7659abaf389 100644 --- a/config/scripts/skills/bundle-generation/generate-skill-bundle-manifest.mjs +++ b/config/scripts/skills/bundle-generation/generate-skill-bundle-manifest.mjs @@ -90,7 +90,6 @@ async function collectPackageFiles(packageRoot) { async function visit(directory) { const entries = await readdir(directory, { withFileTypes: true }) - // Build Node and packaged Electron may differ in ICU; use locale-independent identity ordering. entries.sort((left, right) => compareCodeUnits(left.name, right.name)) for (const entry of entries) { const absolutePath = path.join(directory, entry.name) @@ -130,22 +129,9 @@ async function collectPackageFiles(packageRoot) { return sortManifestFiles(files) } -// Digest hashes array order; match runtime’s sorted depth-first filesystem walk. -function compareManifestPaths(left, right) { - const leftParts = left.split('/') - const rightParts = right.split('/') - const shared = Math.min(leftParts.length, rightParts.length) - for (let index = 0; index < shared; index += 1) { - const order = compareCodeUnits(leftParts[index], rightParts[index]) - if (order !== 0) { - return order - } - } - return leftParts.length - rightParts.length -} - +// Build Node and packaged Electron may differ in ICU; identity hashes complete paths in code-unit order. function sortManifestFiles(files) { - return [...files].sort((left, right) => compareManifestPaths(left.path, right.path)) + return [...files].sort((left, right) => compareCodeUnits(left.path, right.path)) } function packageDigest(files) { diff --git a/config/scripts/skills/bundle-generation/generate-skill-bundle-manifest.test.mjs b/config/scripts/skills/bundle-generation/generate-skill-bundle-manifest.test.mjs index 26d95a19230..e3c242f0f1a 100644 --- a/config/scripts/skills/bundle-generation/generate-skill-bundle-manifest.test.mjs +++ b/config/scripts/skills/bundle-generation/generate-skill-bundle-manifest.test.mjs @@ -114,17 +114,6 @@ describe('skill bundle manifest generator', () => { expect(digests).toHaveLength(2) }) - it('fails when a digest is missing or the pull request base cannot be read', async () => { - const sandbox = await createGeneratorSandbox() - sandbox.generate('--write') - expect(() => sandbox.generateOnPullRequest()).toThrow(/Cannot read the pull request base/) - await writeFile( - path.join(sandbox.root, 'resources', 'skills', 'released-digests.json'), - `${JSON.stringify({ schemaVersion: 1, skills: { demo: [] } }, null, 2)}\n` - ) - expect(() => sandbox.generate()).toThrow(/stale/) - }) - it.runIf(process.platform !== 'win32')( 'rejects executable files in shipped skill packages', async () => { diff --git a/config/scripts/static-analysis/process-boundaries/check-process-host-imports.test.mjs b/config/scripts/static-analysis/process-boundaries/check-process-host-imports.test.mjs deleted file mode 100644 index 6c5cf811520..00000000000 --- a/config/scripts/static-analysis/process-boundaries/check-process-host-imports.test.mjs +++ /dev/null @@ -1,48 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { assessProcessHostImports } from './check-process-host-imports.mjs' - -const file = 'src/main/process-consumer.ts' -const manifest = { exports: { '.': './dist/index.js' } } -const assess = (source) => assessProcessHostImports(new Map([[file, source]]), manifest, new Set()) - -describe('process-host runtime import boundary', () => { - it.each([ - "import type { ChildProcess } from 'node:child_process'", - "import type * as ChildProcess from 'child_process'", - "import type ChildProcess = require('node:child_process')", - "export type { ChildProcess } from 'node:child_process'", - "type Child = import('node:child_process').ChildProcess" - ])('allows erased Node type ownership: %s', (source) => { - expect(assess(source)).toMatchObject({ direct: [], added: [], violations: [] }) - }) - - it.each([ - "import { spawn } from 'node:child_process'", - "import 'child_process'", - "import { type ChildProcess } from 'node:child_process'", - "export { spawn } from 'node:child_process'", - "const child = require('node:child_process')", - "const child = import('node:child_process')", - "import type { ChildProcess } from 'node:child_process'; require('node:child_process')", - "import { createRequire } from 'node:module'; const load = createRequire(import.meta.url); load('node:child_process')", - "process.getBuiltinModule('child_process')" - ])('still rejects runtime access: %s', (source) => { - expect(assess(source)).toMatchObject({ direct: [file], added: [file] }) - }) - - it('keeps package export restrictions for type-only imports', () => { - expect(assess("import type { Private } from '@orca/process-host/private'").violations).toEqual([ - `${file}: @orca/process-host/private is not a public process-host export` - ]) - }) - - it('requires the WSL allowlist only for runtime child-process imports', () => { - const wsl = "const program = 'wsl.exe'" - expect( - assess(`import type { ChildProcess } from 'node:child_process'; ${wsl}`).violations - ).toEqual([]) - expect(assess(`import { spawn } from 'node:child_process'; ${wsl}`).violations).toEqual([ - `${file}: direct wsl.exe exec must call assertWslDistroAllowed` - ]) - }) -}) diff --git a/config/scripts/static-analysis/process-boundaries/main-blocking-source-paths.mjs b/config/scripts/static-analysis/process-boundaries/main-blocking-source-paths.mjs index 59d1da40940..0c09ff5ffd9 100644 --- a/config/scripts/static-analysis/process-boundaries/main-blocking-source-paths.mjs +++ b/config/scripts/static-analysis/process-boundaries/main-blocking-source-paths.mjs @@ -1,4 +1,4 @@ -import { readFileSync } from 'node:fs' +import { existsSync, readFileSync } from 'node:fs' import { isTestOnlySourcePath } from './test-only-source-path.mjs' // Exact entry files only: dependencies remain guarded, even when a worker imports them. @@ -6,7 +6,11 @@ const entries = JSON.parse( readFileSync(new URL('../../../main-blocking-worker-entries.json', import.meta.url), 'utf8') ) for (const [file, reason] of Object.entries(entries)) { - if (!file.startsWith('src/main/') || !reason.trim()) { + if ( + !file.startsWith('src/main/') || + !reason.trim() || + !existsSync(new URL(`../../../../${file}`, import.meta.url)) + ) { throw new Error(`Invalid worker entry: ${file}`) } } diff --git a/config/scripts/static-analysis/process-boundaries/sqlite-call-use-collector.mjs b/config/scripts/static-analysis/process-boundaries/sqlite-call-use-collector.mjs index 52133282d06..01da4c1974b 100644 --- a/config/scripts/static-analysis/process-boundaries/sqlite-call-use-collector.mjs +++ b/config/scripts/static-analysis/process-boundaries/sqlite-call-use-collector.mjs @@ -13,7 +13,7 @@ export function countSqliteCalls(file, contents) { } const types = new Set() const constructors = new Set() - const receivers = new Set() + const receivers = new Set(file.endsWith('/sqlite/sync-database.ts') ? ['this'] : []) const declarations = [] const calls = [] const key = (node) => unwrap(node)?.getText(source) diff --git a/config/scripts/static-analysis/ratchets/react-compiler/check-react-compiler-compat-ratchet.mjs b/config/scripts/static-analysis/ratchets/react-compiler/check-react-compiler-compat-ratchet.mjs index 714acf736a6..e4205589eba 100644 --- a/config/scripts/static-analysis/ratchets/react-compiler/check-react-compiler-compat-ratchet.mjs +++ b/config/scripts/static-analysis/ratchets/react-compiler/check-react-compiler-compat-ratchet.mjs @@ -27,6 +27,10 @@ import { renderLiveReadLines, renderStoreReadLines } from './react-compiler-hazards.mjs' +import { + UNCOMPILED_LIST, + readListedFiles +} from '../../../../build-plugins/react-compiler-uncompiled-files.mjs' // Runs React Compiler (analysis only, nothing is written) over the renderer so code that compiles // today keeps compiling, and code that would change behavior once compiled can't be added. @@ -34,8 +38,6 @@ import { const SCAN_ROOT = 'src/renderer/src' const BAILOUT_BASELINE = 'config/react-compiler-bailout-baseline.txt' const HAZARD_BASELINE = 'config/react-compiler-hazard-baseline.txt' -// The build leaves these files uncompiled, so their hazards cannot run. -const UNCOMPILED_LIST = 'config/react-compiler-uncompiled-files.txt' const COMMAND = 'pnpm check:react-compiler-compat-ratchet' const NOT_SHIPPED = /(?:^|\/)__(?:mocks|fixtures|tests)__\/|\.(?:test|spec|bench)\.[cm]?tsx?$|[.-]test-|[.-]fixtures?\.tsx?$/ @@ -101,18 +103,31 @@ function addTo(map, key, value) { map.set(key, [...(map.get(key) ?? []), value]) } +// The build leaves these files uncompiled, so their hazards cannot run. function readUncompiledFiles(root) { - const file = path.join(root, UNCOMPILED_LIST) - if (!fs.existsSync(file)) { - return new Set() + return fs.existsSync(path.join(root, UNCOMPILED_LIST)) + ? new Set(readListedFiles(UNCOMPILED_LIST, root)) + : new Set() +} + +// Why: the build matches the exact id, so `\`, `../`, a directory or another case would silently compile. +function isCanonicalFile(root, rel) { + try { + const file = path.join(root, rel) + return ( + !rel.includes('\\') && + path.posix.normalize(rel) === rel && + fs.statSync(file).isFile() && + fs.realpathSync.native(file) === path.join(fs.realpathSync.native(root), rel) + ) + } catch { + return false } - return new Set( - fs - .readFileSync(file, 'utf8') - .split('\n') - .map((line) => line.trim()) - .filter((line) => line && !line.startsWith('#')) - ) +} + +/** Listed paths that name no renderer file; a renamed file would silently compile. */ +export function findStaleUncompiledFiles(uncompiled, exists) { + return [...uncompiled].filter((rel) => !rel.startsWith(`${SCAN_ROOT}/`) || !exists(rel)) } /** Virtualizer hooks plus every hook that returns one, followed through wrappers of wrappers. */ @@ -210,12 +225,14 @@ async function scanFile(rel, text, result) { export async function scanRenderer(root = process.cwd()) { const sources = [...readTrackedSources(root, [SCAN_ROOT], isScannedPath)] + const uncompiled = readUncompiledFiles(root) const result = { files: 0, compiled: 0, diagnostics: new Map(), hazards: new Map(), - uncompiled: readUncompiledFiles(root), + uncompiled, + staleUncompiled: findStaleUncompiledFiles(uncompiled, (rel) => isCanonicalFile(root, rel)), virtualizerHooks: collectVirtualizerHooks(sources), liveReaders: collectLiveReaders(sources) } @@ -341,8 +358,15 @@ export async function main(root = process.cwd(), arg = undefined) { ) return 0 } + for (const rel of scan.staleUncompiled) { + console.error( + `::error::${UNCOMPILED_LIST}: ${rel} is not a renderer file. ` + + 'Point it at the renamed file, or remove it once the file is gone.' + ) + } const touched = listTouchedFiles(root) const ok = [ + scan.staleUncompiled.length === 0, check(root, 'bailout(s)', BAILOUT_BASELINE, bailouts, scan.diagnostics, touched), check(root, 'hazard(s)', HAZARD_BASELINE, hazards, scan.hazards, touched) ].every(Boolean) diff --git a/config/scripts/static-analysis/ratchets/renderer-state/check-tab-map-seam-ratchet.test.mjs b/config/scripts/static-analysis/ratchets/renderer-state/check-tab-map-seam-ratchet.test.mjs deleted file mode 100644 index 7f4a6dfb6b1..00000000000 --- a/config/scripts/static-analysis/ratchets/renderer-state/check-tab-map-seam-ratchet.test.mjs +++ /dev/null @@ -1,87 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { CONSUMERS, consumerViolations, writerViolations } from './check-tab-map-seam-ratchet.mjs' - -const BRIDGE = - 'src/renderer/src/components/native-chat/session/status/StructuredAgentSessionStatusBridge.tsx' -const rules = CONSUMERS.get(BRIDGE) - -describe('tab-map seam guard', () => { - it('rejects an ordinary handler reaching the cold path or walking a map', () => { - const text = [ - 'const reconcileFromSnapshot = () => getStructuredAgentSessionTabs(source)', - 'const reconcile = () => reconcileFromSnapshot()', - 'const ordinary = () => { reconcileFromSnapshot(); Object.keys(source) }' - ].join('\n') - expect(consumerViolations('bridge.tsx', text, rules)).toEqual([ - 'bridge.tsx:3 reconcileFromSnapshot() outside a named cold path', - 'bridge.tsx:3 Object.keys outside a named cold path' - ]) - }) - - it('rejects an unreviewed value import, not type imports', () => { - const text = [ - "import { wholeMap } from './new-walk'", - "import type { Walk } from './new-walk'" - ].join('\n') - expect(consumerViolations('bridge.tsx', text, rules)).toEqual([ - 'bridge.tsx:1 imports wholeMap; repaired consumers import only reviewed helpers' - ]) - }) - - it('follows a raw record through a local binding unless it is marked full resync', () => { - const text = [ - 'function raw(state) {', - ' const next = { ...state.unifiedTabsByWorktree, [id]: tabs }', - ' set({ unifiedTabsByWorktree: next })', - '}', - 'function annotated(state) {', - ' const next = { ...state.unifiedTabsByWorktree, [id]: tabs }', - ' markFullResync(next, "hydration")', - ' set({ unifiedTabsByWorktree: next })', - '}' - ].join('\n') - expect(writerViolations('writer.ts', text)).toEqual([ - 'writer.ts:3 raw unifiedTabsByWorktree record; build it with a replace helper or draft, or mark it full resync' - ]) - }) - - it('follows aliases of cold helpers and enumerators', () => { - const text = [ - 'const reconcileFromSnapshot = () => getStructuredAgentSessionTabs(source)', - 'const reconcile = () => reconcileFromSnapshot()', - 'const resync = reconcileFromSnapshot', - 'const keys = Object.keys' - ].join('\n') - expect(consumerViolations('bridge.tsx', text, rules)).toEqual([ - 'bridge.tsx:3 reconcileFromSnapshot() outside a named cold path', - 'bridge.tsx:4 Object.keys outside a named cold path' - ]) - }) - - it('follows aliased raw records and requires annotation before publication', () => { - const raw = - 'raw unifiedTabsByWorktree record; build it with a replace helper or draft, or mark it full resync' - const text = [ - 'function aliased(state) {', - ' const next = { ...state.unifiedTabsByWorktree, [id]: tabs }', - ' const unifiedTabsByWorktree = next', - ' set({ unifiedTabsByWorktree })', - '}', - 'function late(state) {', - ' const next = { ...state.unifiedTabsByWorktree, [id]: tabs }', - ' set({ unifiedTabsByWorktree: next })', - ' markFullResync(next, "hydration")', - '}', - 'function early(state) {', - ' const next = { ...state.unifiedTabsByWorktree, [id]: tabs }', - ' const alias = next', - ' markFullResync(alias, "hydration")', - ' set({ unifiedTabsByWorktree: alias })', - '}' - ].join('\n') - expect(writerViolations('writer.ts', text)).toEqual([ - `writer.ts:4 ${raw}`, - `writer.ts:8 ${raw}` - ]) - }) -}) diff --git a/config/scripts/static-analysis/ratchets/renderer-state/check-terminal-parking-ownership-ratchet.mjs b/config/scripts/static-analysis/ratchets/renderer-state/check-terminal-parking-ownership-ratchet.mjs new file mode 100644 index 00000000000..8d823b050a9 --- /dev/null +++ b/config/scripts/static-analysis/ratchets/renderer-state/check-terminal-parking-ownership-ratchet.mjs @@ -0,0 +1,475 @@ +import fs from 'node:fs' +import path from 'node:path' +import process from 'node:process' +import { pathToFileURL } from 'node:url' +import ts from 'typescript-api' + +const RENDERER = 'src/renderer/src/' +const WATCHERS = `${RENDERER}components/terminal-pane/parking/output-watchers/` +const ROOTS = new Map([ + [ + `${RENDERER}components/terminal/terminal-provider-snapshot-bound-pty-ids.ts`, + ['createTerminalProviderSnapshotBoundPtyIdsSelector'] + ], + [`${RENDERER}components/use-terminal-watcher-effects.ts`, ['useTerminalWatcherEffects']], + [`${RENDERER}components/use-terminal-parking-pass.ts`, ['useTerminalParkingPass']], + [ + `${RENDERER}components/terminal-parking-pass-candidates.ts`, + ['collectTerminalParkingPassCandidates'] + ], + [`${RENDERER}components/terminal/split-group-mount.ts`, ['anyMountedWorktreeHasLayout']], + [ + `${RENDERER}components/terminal-pane/parking/lifecycle/use-parked-terminal-watcher-synchronization.ts`, + ['useParkedTerminalWatcherSynchronization'] + ], + [ + `${RENDERER}components/terminal-pane/parking/lifecycle/use-terminal-tab-cold-parking.ts`, + ['useTerminalTabColdParking'] + ], + [`${WATCHERS}terminal-parked-tab-watchers.ts`, ['syncParkedTerminalTabWatchers']], + [`${WATCHERS}parked-terminal-tab-coverage.ts`, ['canWatcherCoverParkedTerminalTab']], + [ + `${RENDERER}lib/agent-session/resume/resume-sleeping-agent-session.ts`, + ['resumeSleepingAgentSessionsForWorktree'] + ] +]) +const HOT_MAPS = new Set([ + 'tabsByWorktree', + 'unifiedTabsByWorktree', + 'terminalLayoutsByTabId', + 'sleepingAgentSessionsByPaneKey' +]) +const OWNER_ROOTS = [ + { + rel: 'store/terminals/terminal-parking-input-owner.ts', + name: 'acceptTerminalParkingInputs', + inputs: [] + }, + { + rel: 'store/terminals/terminal-parking-input-owner.ts', + name: 'publishAcceptedTerminalParkingInputs', + inputs: [] + }, + { + rel: 'store/terminals/terminal-parking-input-owner.ts', + name: 'invalidateTerminalParkingPtyInputs', + inputs: [] + }, + { + rel: 'store/terminals/terminal-tab-owner-index.ts', + name: 'update', + inputs: ['tabsByWorktree'] + }, + { rel: 'store/terminals/sleeping-agent-record-index.ts', name: 'update', inputs: ['records'] }, + { + rel: 'store/terminals/sleeping-agent-record-index.ts', + name: 'acceptTransition', + inputs: ['previous', 'next'] + }, + { + rel: 'lib/workspace/tabs/worktree-tab-bucket-projection.ts', + name: 'project', + inputs: ['source'] + } +] +const KEY_DIFFS = new Set([ + `${RENDERER}store/terminals/terminal-parking-input-owner.ts#diffUnknownParkingRecordKeys`, + `${RENDERER}store/terminals/terminal-tab-owner-index.ts#diffUnknownTabOwnerKeys`, + `${RENDERER}store/terminals/sleeping-agent-record-index.ts#diffUnknownSleepingRecordKeys`, + `${RENDERER}lib/workspace/tabs/worktree-tab-bucket-projection.ts#diffUnknownProjectionKeys` +]) +const COLD_RESYNCS = new Set([ + `${RENDERER}store/terminals/terminal-parking-input-owner.ts#resyncTerminalParkingWorkspaceIds`, + `${RENDERER}store/terminals/sleeping-agent-record-index.ts#resyncSleepingAgentRecordKeys` +]) + +function isColdResyncCall(node, source) { + for (let ancestor = node.parent; ancestor; ancestor = ancestor.parent) { + if ( + ts.isConditionalExpression(ancestor) && + ancestor.condition.getText(source) === 'previous' && + node.pos >= ancestor.whenFalse.pos + ) { + return true + } + if ( + ts.isBinaryExpression(ancestor) && + ancestor.operatorToken.kind === ts.SyntaxKind.QuestionQuestionToken && + ancestor.left.getText(source) === 'keys' + ) { + return true + } + if ( + ts.isIfStatement(ancestor) && + node.pos >= ancestor.thenStatement.pos && + node.end <= ancestor.thenStatement.end + ) { + const condition = ancestor.expression.getText(source).replace(/\s+/g, ' ') + if ( + condition === 'ptyIds === undefined' || + condition.includes( + 'previous.settings?.terminalSshViewParking !== state.settings?.terminalSshViewParking' + ) + ) { + return true + } + } + } + return false +} +const STORE_BOUNDARIES = new Set([`${RENDERER}store/index.ts`, `${RENDERER}store.ts`]) +// Resource delivery and startup recovery are separate entry points, not parking input discovery. +const EFFECT_BOUNDARIES = new Set([ + `${RENDERER}components/terminal/terminal-provider-snapshot-bound-pty-ids.ts#resyncUnknownSnapshot`, + `${RENDERER}components/terminal/use-terminal-startup-activation.ts#useTerminalStartupActivation`, + `${WATCHERS}terminal-parked-pty-watcher.ts#startParkedPtyWatcher`, + `${RENDERER}components/terminal-pane/parking/capture/parked-terminal-buffer-capture.ts#captureParkedTerminalBuffers`, + `${RENDERER}lib/agent-session/resume/sleeping-agent-session-launch.ts#launchSleepingAgentSession`, + `${RENDERER}lib/agent-session/resume/host-mirror-handle-gap-wait.ts#parkUntilHostMirrorHandleLands`, + `${RENDERER}runtime/web-session-tabs-sync/hydration/host-session-mirror-hydration.ts#parkUntilHostSessionMirrorHydrates` +]) +const ENUMERATORS = new Set(['entries', 'values', 'keys', 'assign']) + +const ADDRESSED_FIELDS = new Set([ + 'terminalLayoutsByTabId', + 'ptyIdsByTabId', + 'lastKnownRelayPtyIdByTabId', + 'runtimePaneTitlesByTabId', + 'pendingStartupByTabId', + 'sleepingAgentSessionsByPaneKey' +]) +const ORDINARY_WRITERS = [ + 'store/terminals/terminal-layout-state.ts', + 'store/terminals/terminal-pane-hibernation.ts', + 'store/terminals/terminal-pty-bindings.ts', + 'store/terminals/terminal-pty-release.ts', + 'store/terminals/terminal-orphan-cleanup.ts', + 'store/terminals/terminal-startup-queues.ts', + 'store/terminals/terminal-tab-presentation.ts', + 'store/terminals/terminal-shutdown-state.ts', + 'store/terminals/window-tab-start-in-main.ts', + 'store/slices/agent-status/agent-status-live-reducer.ts', + 'store/slices/agent-status/agent-status-launch-actions.ts', + 'store/slices/agent-status/agent-status-provider-session-actions.ts', + 'store/slices/agent-status/agent-status-recovery-actions.ts', + 'store/slices/agent-status/agent-status-authority-actions.ts' +].map((rel) => RENDERER + rel) +const RECORD_TRANSITIONS = new Set([ + 'replaceRecordEntries', + 'removePaneKeys', + 'removePaneKeysByTabPrefix' +]) + +function collectUnaddressedWrites(root) { + const violations = [] + for (const rel of ORDINARY_WRITERS) { + const { source, aliases, assignments } = readModule(root, rel) + function addressed(value, field, seen = new Set()) { + if (ts.isCallExpression(value) && ts.isIdentifier(value.expression)) { + return RECORD_TRANSITIONS.has(value.expression.text) + } + if (ts.isPropertyAccessExpression(value)) { + return value.name.text === field + } + if (ts.isConditionalExpression(value)) { + return addressed(value.whenTrue, field, seen) && addressed(value.whenFalse, field, seen) + } + if (ts.isIdentifier(value)) { + if (seen.has(value.text)) { + return false + } + seen.add(value.text) + const alias = aliases.get(value.text) + return ( + alias !== undefined && + [alias, ...(assignments.get(value.text) ?? [])].every((replacement) => + addressed(replacement, field, new Set(seen)) + ) + ) + } + return false + } + function visit(node) { + if (ts.isPropertyAssignment(node) || ts.isShorthandPropertyAssignment(node)) { + const field = + ts.isIdentifier(node.name) || ts.isStringLiteral(node.name) ? node.name.text : null + const value = ts.isPropertyAssignment(node) ? node.initializer : node.name + if (ADDRESSED_FIELDS.has(field) && !addressed(value, field)) { + const line = source.getLineAndCharacterOfPosition(node.getStart(source)).line + 1 + violations.push(`${rel}:${line}: ${field} write needs complete record-key provenance.`) + } + } + ts.forEachChild(node, visit) + } + visit(source) + } + return violations +} + +function resolveImport(root, from, specifier) { + const base = specifier.startsWith('@/') + ? RENDERER + specifier.slice(2) + : specifier.startsWith('.') + ? path.posix.join(path.posix.dirname(from), specifier) + : null + if (!base) { + return null + } + return ( + [base, `${base}.ts`, `${base}.tsx`, `${base}/index.ts`].find( + (candidate) => + fs.existsSync(path.join(root, candidate)) && + fs.statSync(path.join(root, candidate)).isFile() + ) ?? null + ) +} + +function readModule(root, rel) { + const source = ts.createSourceFile( + rel, + fs.readFileSync(path.join(root, rel), 'utf8'), + ts.ScriptTarget.Latest, + true + ) + const imports = new Map() + const functions = new Map() + const aliases = new Map() + const assignments = new Map() + function visit(node) { + if ( + ts.isBinaryExpression(node) && + ts.isIdentifier(node.left) && + node.operatorToken.kind >= ts.SyntaxKind.FirstAssignment && + node.operatorToken.kind <= ts.SyntaxKind.LastAssignment + ) { + const values = assignments.get(node.left.text) ?? [] + values.push(node.right) + assignments.set(node.left.text, values) + } + if (ts.isImportDeclaration(node) && ts.isStringLiteral(node.moduleSpecifier)) { + const target = resolveImport(root, rel, node.moduleSpecifier.text) + const bindings = node.importClause?.namedBindings + if (target && bindings && ts.isNamedImports(bindings)) { + for (const binding of bindings.elements) { + imports.set(binding.name.text, { + rel: target, + name: binding.propertyName?.text ?? binding.name.text + }) + } + } + } + if ( + (ts.isFunctionDeclaration(node) || ts.isMethodDeclaration(node)) && + node.name && + node.body + ) { + functions.set(node.name.text, node) + } + if (ts.isVariableDeclaration(node) && ts.isIdentifier(node.name) && node.initializer) { + aliases.set(node.name.text, node.initializer) + if (ts.isArrowFunction(node.initializer) || ts.isFunctionExpression(node.initializer)) { + functions.set(node.name.text, node.initializer) + } + } + ts.forEachChild(node, visit) + } + visit(source) + return { source, imports, functions, aliases, assignments } +} + +export function collectParkingOwnershipViolations(root = process.cwd()) { + const modules = new Map() + const pending = [...ROOTS].flatMap(([rel, names]) => + names.map((name) => ({ rel, name, tainted: new Set() })) + ) + for (const { rel, name, inputs } of OWNER_ROOTS) { + pending.push({ rel: RENDERER + rel, name, tainted: new Set(inputs) }) + } + const visited = new Set() + const violations = new Set() + while (pending.length) { + const { rel, name, tainted } = pending.pop() + if (STORE_BOUNDARIES.has(rel) || EFFECT_BOUNDARIES.has(`${rel}#${name}`)) { + continue + } + const identity = `${rel}#${name}#${[...tainted].sort().join(',')}` + if (visited.has(identity)) { + continue + } + visited.add(identity) + let mod = modules.get(rel) + if (!mod) { + modules.set(rel, (mod = readModule(root, rel))) + } + const fn = mod.functions.get(name) + if (!fn) { + continue + } + function hotMap(node, seen = new Set()) { + if (ts.isPropertyAccessExpression(node)) { + if (HOT_MAPS.has(node.name.text)) { + return true + } + if (ts.isIdentifier(node.expression)) { + const value = mod.aliases.get(node.expression.text) + if (value && ts.isObjectLiteralExpression(value)) { + const property = value.properties.find( + (candidate) => + ts.isPropertyAssignment(candidate) && + candidate.name.getText(mod.source) === node.name.text + ) + if (property && ts.isPropertyAssignment(property)) { + return hotMap(property.initializer, seen) + } + } + } + return false + } + if (ts.isElementAccessExpression(node)) { + return ( + ts.isStringLiteral(node.argumentExpression) && HOT_MAPS.has(node.argumentExpression.text) + ) + } + if (ts.isIdentifier(node)) { + if (HOT_MAPS.has(node.text) || tainted.has(node.text)) { + return true + } + if (seen.has(node.text)) { + return false + } + seen.add(node.text) + const alias = mod.aliases.get(node.text) + return alias ? hotMap(alias, seen) : false + } + if ( + ts.isParenthesizedExpression(node) || + ts.isAsExpression(node) || + ts.isNonNullExpression(node) + ) { + return hotMap(node.expression, seen) + } + if ( + ts.isBinaryExpression(node) && + node.operatorToken.kind === ts.SyntaxKind.QuestionQuestionToken + ) { + return hotMap(node.left, seen) + } + return false + } + function report(node) { + const line = mod.source.getLineAndCharacterOfPosition(node.getStart(mod.source)).line + 1 + violations.add( + `${rel}:${line}: ${name} enumerates a whole parking input; use the addressed owner or a named source resync.` + ) + } + function visit(node) { + if ( + ts.isFunctionDeclaration(node) && + node.name && + EFFECT_BOUNDARIES.has(`${rel}#${node.name.text}`) + ) { + return + } + if (ts.isForInStatement(node) && hotMap(node.expression)) { + report(node) + } + if (ts.isCallExpression(node)) { + const callee = node.expression + if ( + ts.isPropertyAccessExpression(callee) && + ts.isIdentifier(callee.expression) && + callee.expression.text === 'Object' && + ENUMERATORS.has(callee.name.text) && + node.arguments.some((arg) => hotMap(arg)) && + !(callee.name.text === 'keys' && KEY_DIFFS.has(`${rel}#${name}`)) && + !COLD_RESYNCS.has(`${rel}#${name}`) + ) { + report(node) + } + if (ts.isIdentifier(callee)) { + const target = mod.imports.get(callee.text) ?? { rel, name: callee.text } + if ( + COLD_RESYNCS.has(`${target.rel}#${target.name}`) && + !isColdResyncCall(node, mod.source) + ) { + report(node) + } + if (!STORE_BOUNDARIES.has(target.rel)) { + let targetModule = modules.get(target.rel) + if (!targetModule) { + modules.set(target.rel, (targetModule = readModule(root, target.rel))) + } + const called = targetModule.functions.get(target.name) + const parameters = new Set() + called?.parameters.forEach((parameter, index) => { + if ( + ts.isIdentifier(parameter.name) && + node.arguments[index] && + hotMap(node.arguments[index]) + ) { + parameters.add(parameter.name.text) + } + }) + if (called) { + pending.push({ ...target, tainted: parameters }) + } + } + } + } + ts.forEachChild(node, visit) + } + visit(fn.body) + } + return [...violations].sort() +} + +function collectPublicCoverageViolations(root) { + const rel = `${WATCHERS}parked-terminal-tab-coverage.ts` + const { source } = readModule(root, rel) + const privateNames = new Set([ + 'fallbackParkedPaneCandidates', + 'resolveParkedTerminalPaneCandidates', + 'capturedCoversFallback' + ]) + const violations = [] + for (const statement of source.statements) { + const exported = + ts.canHaveModifiers(statement) && + ts.getModifiers(statement)?.some((modifier) => modifier.kind === ts.SyntaxKind.ExportKeyword) + const leaksDeclaration = + exported && ts.isFunctionDeclaration(statement) && privateNames.has(statement.name?.text) + const leaksNamedExport = + ts.isExportDeclaration(statement) && + statement.exportClause && + ts.isNamedExports(statement.exportClause) && + statement.exportClause.elements.some((element) => + privateNames.has(element.propertyName?.text ?? element.name.text) + ) + if (leaksDeclaration || leaksNamedExport) { + violations.push(`${rel}: raw coverage derivation must stay private to its owner.`) + } + } + return violations +} + +export function main(root = process.cwd()) { + const violations = [ + ...collectParkingOwnershipViolations(root), + ...collectUnaddressedWrites(root), + ...collectPublicCoverageViolations(root) + ] + for (const violation of violations) { + console.error(violation) + } + if (violations.length) { + return 1 + } + console.log( + 'terminal-parking-ownership: addressed consumer paths contain no whole input enumeration' + ) + return 0 +} + +if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) { + process.exitCode = main() +} diff --git a/config/scripts/test-runtime/environment/vitest-shared-worker-file-reset.test.mjs b/config/scripts/test-runtime/environment/vitest-shared-worker-file-reset.test.mjs deleted file mode 100644 index 4d10389b5b8..00000000000 --- a/config/scripts/test-runtime/environment/vitest-shared-worker-file-reset.test.mjs +++ /dev/null @@ -1,86 +0,0 @@ -import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs' -import { join, resolve } from 'node:path' -import { fileURLToPath } from 'node:url' -import { runProcess, runProcessSync } from '@orca/process-host' -import { expect, it } from 'vitest' -import { resolvePinnedBunExecutable } from '../../tool-invocation/pinned-bun-executable.mjs' - -const root = fileURLToPath(new URL('../../../..', import.meta.url)) - -it('restores environment stubs and finishes background imports before the next shared file', async () => { - const cache = join(root, 'node_modules/.cache') - mkdirSync(cache, { recursive: true }) - const directory = mkdtempSync(join(cache, 'shared-worker-reset-')) - const write = (name, source) => writeFileSync(join(directory, name), source) - try { - write( - 'vitest.config.mjs', - `import { defineConfig } from 'vitest/config' - import { BaseSequencer } from 'vitest/node' - class Ordered extends BaseSequencer { - async sort(specs) { return specs.sort((a, b) => a.moduleId.localeCompare(b.moduleId)) } - } - export default defineConfig({ test: { - root: ${JSON.stringify(directory)}, - include: ['*.spec.mjs'], isolate: false, maxWorkers: 1, - setupFiles: ['./assert-import-finished.mjs', ${JSON.stringify(resolve(root, 'config/scripts/test-runtime/environment/vitest-shared-worker-file-reset.mjs'))}], - sequence: { sequencer: Ordered } - } })` - ) - write( - 'assert-import-finished.mjs', - `import { afterAll, expect } from 'vitest' - import { readFileSync } from 'node:fs' - afterAll(() => expect(readFileSync(new URL('./result', import.meta.url), 'utf8')).toBe('loaded'))` - ) - write( - 'import-started.mjs', - `export let started - export const ready = new Promise(resolve => { started = resolve })` - ) - write( - 'background.mjs', - `import { setImmediate } from 'node:timers/promises' - import { writeFileSync } from 'node:fs' - import { started } from './import-started.mjs' - started() - await setImmediate() - writeFileSync(new URL('./result', import.meta.url), 'loaded')` - ) - write( - '01-replace-env.spec.mjs', - `import { it } from 'vitest' - import { ready } from './import-started.mjs' - it('replaces env and starts a background import', async () => { - process.env = { ...process.env } - void import('./background.mjs') - await ready - })` - ) - write( - '02-stub-env.spec.mjs', - `import { expect, it, vi } from 'vitest' - it('removes an environment override after a previous file replaced env', () => { - vi.stubEnv('ORCA_SHARED_WORKER_OVERRIDE', 'asia-east2') - vi.unstubAllEnvs() - expect(process.env.ORCA_SHARED_WORKER_OVERRIDE).toBeUndefined() - })` - ) - const result = await runProcess({ - program: resolvePinnedBunExecutable(root, runProcessSync) ?? 'bun', - args: [ - '--bun', - resolve(root, 'node_modules/vitest/vitest.mjs'), - 'run', - '--config', - join(directory, 'vitest.config.mjs') - ], - cwd: root, - env: { ...process.env, ORCA_BACKGROUND_LAUNCH: '1' }, - timeoutMs: 30_000 - }) - expect(result.code, result.stdout + result.stderr).toBe(0) - } finally { - rmSync(directory, { recursive: true, force: true }) - } -}) diff --git a/config/scripts/test-runtime/execution-policy/vitest-shared-worker-setup-runner.mjs b/config/scripts/test-runtime/execution-policy/vitest-shared-worker-setup-runner.mjs new file mode 100644 index 00000000000..1b41d2349cc --- /dev/null +++ b/config/scripts/test-runtime/execution-policy/vitest-shared-worker-setup-runner.mjs @@ -0,0 +1,16 @@ +import { TestRunner } from 'vitest' + +export default class SharedWorkerSetupRunner extends TestRunner { + importFile(filepath, source) { + if (source === 'setup') { + // Warm transforms can key setup roots by a different URL than Vitest invalidates. + const modules = this.moduleRunner.evaluatedModules + for (const node of modules.getModulesByFile(filepath) ?? []) { + if (node.evaluated) { + modules.invalidateModule(node) + } + } + } + return super.importFile(filepath, source) + } +} diff --git a/config/scripts/test-runtime/node-worker/vitest-node-runtime-pool.test.ts b/config/scripts/test-runtime/node-worker/vitest-node-runtime-pool.test.ts index 1d1d44efe69..9ba1a06ef16 100644 --- a/config/scripts/test-runtime/node-worker/vitest-node-runtime-pool.test.ts +++ b/config/scripts/test-runtime/node-worker/vitest-node-runtime-pool.test.ts @@ -1,95 +1,12 @@ -import { once } from 'node:events' import { mkdtemp, rm, writeFile } from 'node:fs/promises' import { tmpdir } from 'node:os' -import { join, resolve } from 'node:path' +import { join } from 'node:path' import { PassThrough } from 'node:stream' -import { afterAll, afterEach, beforeAll, expect, it, onTestFinished, vi } from 'vitest' -import { createVitest, type PoolOptions, type Vitest } from 'vitest/node' -import * as processes from '@orca/process-host' -import type { ChildProcess } from 'node:child_process' +import { expect, it, onTestFinished } from 'vitest' +import { createVitest } from 'vitest/node' + import { nodeRuntimePool } from './vitest-node-runtime-pool' -let context: Vitest -const children: ChildProcess[] = [] -const spawn = processes.spawnProcess - -beforeAll(async () => { - context = await createVitest('test', { config: false, watch: false, include: [] }) -}) - -afterEach(async () => { - vi.useRealTimers() - vi.restoreAllMocks() - for (const child of children.splice(0)) { - if (child.pid && child.exitCode === null && child.signalCode === null) { - const exited = once(child, 'exit') - child.kill('SIGKILL') - await exited - } - } -}) - -afterAll(async () => { - await context.close() -}) - -function options(executable = process.execPath): PoolOptions { - return { - distPath: '', - project: context.getRootProject(), - method: 'run', - environment: { name: 'node', options: null }, - execArgv: [], - env: { ...process.env, ORCA_TEST_NODE_EXECUTABLE: executable } - } -} - -function captureChild(): void { - vi.spyOn(processes, 'spawnProcess').mockImplementation((spec) => { - const child = spawn(spec) - children.push(child) - return child - }) -} - -it('rejects an unavailable Node executable without an uncaught error or leaked pipes', async () => { - const output = context.logger.outputStream - const before = output.getMaxListeners() - const worker = nodeRuntimePool.createPoolWorker(options(resolve('missing-node-executable'))) - await expect(worker.start()).rejects.toMatchObject({ code: 'ENOENT' }) - await worker.stop() - expect(output.getMaxListeners()).toBe(before) -}) - -it('waits for a running Node worker to exit and restores its output listener budget', async () => { - captureChild() - const output = context.logger.outputStream - const before = output.getMaxListeners() - const worker = nodeRuntimePool.createPoolWorker(options()) - await worker.start() - await worker.stop() - expect(children[0].signalCode).toBe('SIGTERM') - expect(output.getMaxListeners()).toBe(before) -}) - -it('reports a failed kill within its deadline rather than hanging teardown', async () => { - captureChild() - const worker = nodeRuntimePool.createPoolWorker(options()) - const output = context.logger.outputStream - const before = output.getMaxListeners() - await worker.start() - const child = children[0] - vi.spyOn(child, 'kill').mockReturnValue(false) - vi.useFakeTimers() - const stopped = expect(worker.stop()).rejects.toThrow('did not exit after SIGKILL') - await vi.advanceTimersByTimeAsync(2_000) - await stopped - expect(child.kill).toHaveBeenCalledWith('SIGTERM') - expect(child.kill).toHaveBeenCalledWith('SIGKILL') - expect(child.listenerCount('exit')).toBe(0) - expect(output.getMaxListeners()).toBe(before) -}) - it('reports a test file that fails to load as a failed file instead of crashing the run', async () => { const dir = await mkdtemp(join(tmpdir(), 'orca-node-runtime-pool-')) onTestFinished(() => rm(dir, { recursive: true, force: true })) diff --git a/config/scripts/test-runtime/sqlite-admission/vitest-node-runtime-files.mjs b/config/scripts/test-runtime/sqlite-admission/vitest-node-runtime-files.mjs index 7f9ba3b8138..d7f4c05c431 100644 --- a/config/scripts/test-runtime/sqlite-admission/vitest-node-runtime-files.mjs +++ b/config/scripts/test-runtime/sqlite-admission/vitest-node-runtime-files.mjs @@ -3,7 +3,6 @@ import { findSqliteRuntimeTests } from './vitest-sqlite-runtime-scan.mjs' // SQLite publication, native bindings, worker IPC, socket liveness, and V8 retention use Node. const NODE_RUNTIME_INCLUDE = [ // Exercise the native fetch error and abort contracts used by the Linear SDK in Electron. - 'src/main/linear/linear-issue-detail-deadline.test.ts', 'tests/e2e/linear-cli-recovery.unit.test.ts', 'src/main/runtime/agent-session/lifecycle/structured-agent-cli-writers.test.ts', 'config/scripts/ci/workflow-contracts/cloud-security-history-workflow.test.mjs', @@ -12,11 +11,10 @@ const NODE_RUNTIME_INCLUDE = [ 'src/packages/process-host/src/run-process.test.ts', 'tests/e2e/cursor-quota-transport.unit.test.ts', 'tests/e2e/helpers/electron-process-shutdown.unit.test.ts', - 'src/main/ai-vault-search/session-search-index-writer.test.ts', + 'src/main/ai-vault-search/storage/session-search-index-writer.test.ts', 'src/main/ai-vault/session-scanner-unlimited-dedup.test.ts', // The parse cache persists through node:sqlite. 'src/main/ai-vault/parse-cache/session-parse-cache-antigravity-upgrade.test.ts', - 'src/main/ai-vault/parse-cache/session-parse-cache-large-scan.test.ts', 'src/main/ai-vault/parse-cache/session-parse-cache-persistence.test.ts', 'src/main/ai-vault/session-scanner-scope-cwd-facts.test.ts', 'src/main/ai-vault/session-scanner-scope-walk.test.ts', @@ -27,8 +25,6 @@ const NODE_RUNTIME_INCLUDE = [ 'src/main/browser/extensions/native-messaging/browser-extension-native-host-process-backpressure.test.ts', 'src/main/daemon/providers/lifecycle/testing/daemon-init-provider-installation.test.ts', 'src/renderer/src/components/terminal-pane/pty-transport/input/pty-input-write-queue.test.ts', - 'src/renderer/src/lib/react-commit-cascade-observer.test.ts', - 'src/renderer/src/lib/react-commit-cascade-telemetry.test.ts', // Asserts payloads are collected; Bun's GC scans the stack conservatively and may keep one alive. 'src/shared/ws-inbound-message-queue.test.ts', 'src/renderer/src/lib/agent-session/history/title-sync/ai-vault-tab-title-sync-inputs.test.ts', @@ -36,12 +32,13 @@ const NODE_RUNTIME_INCLUDE = [ // Asserts an observer survives a forced collection; conservative retention would hide a lost one. 'config/scripts/test-runtime/dom/happy-dom-mutation-observer-retention.test.ts', // These reach Node SQLite through a shared helper or a dynamic import, which the scan skips. + 'src/main/agent-hooks/server/testing/providers/codex/server-codex-session-start.test.ts', 'src/main/claude/claude-transcript-catch-up.test.ts', 'src/main/claude/claude-transcript-duration.test.ts', 'tests/e2e/native-chat-startup-option-pickers.unit.test.ts', 'src/main/ai-vault/transcripts/session-document-consumer-replacement.test.ts', - 'src/main/ai-vault-search/session-search-dependent-transcripts.test.ts', - 'src/main/ai-vault-search/session-search-list-reparse.test.ts', + 'src/main/ai-vault-search/indexing/session-search-dependent-transcripts.test.ts', + 'src/main/ai-vault-search/indexing/session-search-list-reparse.test.ts', 'src/main/runtime/rpc/server/orchestration-cli-subprocess.test.ts', 'src/main/runtime/orchestration/mailbox/terminal-pointer/orchestration-mailbox-delivery.test.ts', 'src/main/runtime/orchestration/mailbox/routing/orchestration-mailbox-routing.test.ts', @@ -51,13 +48,12 @@ const NODE_RUNTIME_INCLUDE = [ 'tests/e2e/cross-version-wire/agent-session-clear-old-client.unit.test.ts', 'tests/e2e/cross-version-wire/agent-session-clear-old-tab-mirror.unit.test.ts', 'tests/e2e/cross-version-wire/host-model-catalog-released-phone.unit.test.ts', - 'src/main/pi/rpc-session-adapter.test.ts', - 'src/main/pi/rpc-session-startup.test.ts', + 'src/main/pi/rpc/rpc-session-startup.test.ts', 'src/main/acp/session/acp-structured-omp-recordings.test.ts', 'src/main/native-chat/agent-session-wire/host/testing/structured-agent-session-clear-queued-command.test.ts', 'src/main/acp/session/acp-structured-session-adapter.test.ts', 'src/main/acp/session/acp-structured-session-adapter-resume.test.ts', - 'src/main/pi/rpc-turn-races.test.ts', + 'src/main/pi/rpc/rpc-turn-races.test.ts', 'src/main/acp/session/children/acp-structured-child-stop.test.ts', 'src/main/native-chat/agent-session-wire/host/testing/structured-agent-session-background-stop-unreadable.test.ts', 'src/main/native-chat/agent-session-wire/host/testing/structured-agent-session-exit-delivery.test.ts', @@ -104,9 +100,7 @@ const NODE_RUNTIME_INCLUDE = [ 'src/main/runtime/workspaces/removal/runtime-interrupted-local-worktree-removal.test.ts', 'src/main/workspaces/removal/local-worktree-removal-recovery-live.test.ts', 'src/main/rate-limits/providers/codex/codex-rpc-worker-backpressure.test.ts', - 'src/main/computer/macos-native-provider-client.test.ts', - 'src/main/ai-vault-search/session-search-schema.test.ts', - 'src/main/ai-vault-search/session-search-fts5-contract.test.ts', + 'src/main/computer/macos-native/macos-native-provider-client.test.ts', 'src/main/foreign-sqlite-readers/**/*.test.ts', 'src/main/browser/*cookie*.test.ts', 'src/main/browser/cookies/*cookie*.test.ts', @@ -128,15 +122,13 @@ const NODE_RUNTIME_INCLUDE = [ 'src/main/git/repo-detection.test.ts', 'src/renderer/src/components/browser-pane/annotate/browser-grab-toast-owner-cleanup.test.tsx', 'src/main/window/native-chat-paste-files.test.ts', - 'src/main/computer/desktop-script-serve-channel.test.ts', + 'src/main/computer/desktop-script/runtime-host/desktop-script-serve-channel.test.ts', 'src/main/providers/local-pty/local-pty-child-process-verdict.test.ts', 'src/main/providers/working-directory-validation.test.ts', 'src/main/pty/process-retirement/posix-pty-process-groups.integration.test.ts', 'src/shared/ephemeral-vm-recipe-output-capture.test.ts', - 'src/main/gitlab/gitlab-known-host-retirement.test.ts', 'src/main/window/main-window-updater-deferred-setup.test.ts', 'src/renderer/src/components/terminal-pane/host-state/terminal-pane-host-state-memo.test.ts', - 'src/renderer/src/components/automations/use-automation-runs-dashboard-payload.test.tsx', 'src/main/native-chat/agent-session-journal/**/*.test.ts', 'src/main/native-chat/agent-session-wire/host/testing/structured-agent-session-terminal-writer-acquire.test.ts', 'src/main/runtime/agent-session/records/agent-session-conversation-name-store.test.ts', @@ -150,7 +142,7 @@ const NODE_RUNTIME_INCLUDE = [ 'src/shared/remote-runtime/requests/remote-runtime-request-websocket.test.ts', 'src/shared/remote-runtime/requests/remote-runtime-subscription-connect-bound.test.ts', 'src/main/codex/configuration/shared-server/codex-shared-server-probe.test.ts', - 'src/main/opencode/opencode-launch-model-context-supervision.test.ts', + 'src/main/opencode/model-launch/opencode-launch-model-context-supervision.test.ts', 'src/main/hermes/hermes-config-remote-adapter.test.ts', 'src/main/ipc/profiles/orca-profiles-switch-persistence.test.ts', 'src/main/ipc/settings-delayed-response.test.ts', @@ -166,9 +158,15 @@ const NODE_RUNTIME_INCLUDE = [ 'src/main/ipc/filesystem/watcher-process/parcel-watcher-shallow-file-subscription.test.ts', 'src/renderer/src/components/emulator-pane/emulator-device-frame-visibility.test.tsx', 'src/main/claude/claude-agent-sdk-contract-pins.test.ts', - 'config/scripts/orcad-distribution/server-bundle/profile-state-worker-smoke.test.mjs', 'config/scripts/desktop-distribution/runtime-verification/process-host-dev-rebuild.test.ts', - 'config/scripts/test-runtime/node-worker/vitest-node-runtime-pool.test.ts' + 'config/scripts/test-runtime/node-worker/vitest-node-runtime-pool.test.ts', + // Reopen WAL-backed row caches read-only, which Bun on macOS cannot. + 'src/main/agent-hooks/server/testing/identity/server-hook-session-binding.test.ts', + 'tests/e2e/helpers/persisted-profile-state.unit.test.ts', + 'src/main/runtime/push/notifications/mobile-notification-dismissal-store.test.ts', + 'src/main/runtime/push/notifications/mobile-notification-dismissal-read-failure.test.ts', + 'src/main/ipc/notifications-subject-retirement.test.ts', + 'src/main/ipc/notifications-external-acknowledgement.test.ts' ] /** `filters` limits the SQLite import scan to the tests a filtered CLI run can select. */ diff --git a/config/scripts/test-runtime/sqlite-admission/vitest-sqlite-runtime-scan.mjs b/config/scripts/test-runtime/sqlite-admission/vitest-sqlite-runtime-scan.mjs index 2259db54cb3..b52d995ed1c 100644 --- a/config/scripts/test-runtime/sqlite-admission/vitest-sqlite-runtime-scan.mjs +++ b/config/scripts/test-runtime/sqlite-admission/vitest-sqlite-runtime-scan.mjs @@ -28,8 +28,8 @@ const SQLITE_HARNESSES = new Set([ ]) export const SQLITE_MODULES = [ 'src/main/sqlite/sync-database', - 'src/main/ai-vault-search/session-search-schema', - 'src/main/ai-vault-search/session-search-store', + 'src/main/ai-vault-search/storage/session-search-schema', + 'src/main/ai-vault-search/storage/session-search-store', 'src/main/persistence/profile-state/profile-state-sqlite-authority', 'src/main/native-chat/agent-session-journal/database/journal-host-database', 'src/main/runtime/orchestration/db', diff --git a/config/scripts/workflow/source-routing/pr-e2e-source-routing.mjs b/config/scripts/workflow/source-routing/pr-e2e-source-routing.mjs index 7da6a6823ae..ff23fadcffa 100644 --- a/config/scripts/workflow/source-routing/pr-e2e-source-routing.mjs +++ b/config/scripts/workflow/source-routing/pr-e2e-source-routing.mjs @@ -35,7 +35,7 @@ const MANAGED_SSH_HARNESS = // An enabled SSH automation moves with its host and is re-enabled on the server (#29083). const ENABLED_AUTOMATION_MOVE = - /^src\/(?:main\/(?:persistence\/(?:migrating-orcad-catalog\/orcad-(?:source-automation-state|source-dormant-state|source-dependency-census|destination-automation-state)|scheduling-automations\/automation-schedule-operations)|automations\/(?:run-target-resolution|automation-dispatch-request|orcad-fenced-automation)|ssh\/orcad-migration-(?:moved-automations|source-retention))|shared\/orcad-migration\/orcad-migration-(?:dormant-automation-validation|source-cutover))\.ts$/ + /^src\/(?:main\/(?:persistence\/(?:migrating-orcad-catalog\/(?:source\/(?:automations\/orcad-source-automation-state|dormancy\/orcad-source-dormant-state|sessions\/orcad-source-dependency-census)|destination\/orcad-destination-automation-state)|scheduling-automations\/automation-schedule-operations)|automations\/(?:run-target-resolution|automation-dispatch-request|orcad-fenced-automation)|persistence\/migrating-orcad-catalog\/retained-source\/orcad-migration-(?:moved-automations|source-retention))|shared\/orcad-migration\/orcad-migration-(?:dormant-automation-validation|source-cutover))\.ts$/ export const PR_E2E_SOURCE_ROUTES = [ ...PR_BROWSER_E2E_SOURCE_ROUTES, @@ -153,16 +153,6 @@ export const PR_E2E_SOURCE_ROUTES = [ file ) }, - { - id: 'ssh.orcad-auto-convert', - specs: ['tests/e2e/ssh-orcad-auto-convert.spec.ts'], - matches: (file) => - MANAGED_SSH_HARNESS.test(file) || - (isProductSource(file) && - /^src\/main\/(?:ipc\/(?:ssh\/)?ssh-host-server-|(?:ssh|managed-server\/[a-z-]+)\/(?:ssh-host-server-|orcad-runtime-conversion|orcad-migration-|orcad-retained-source|orcad-runtime-deployment))/.test( - file - )) - }, { id: 'ssh.orcad-connect-failure', specs: [ @@ -174,7 +164,7 @@ export const PR_E2E_SOURCE_ROUTES = [ MANAGED_SSH_HARNESS.test(file) || ENABLED_AUTOMATION_MOVE.test(file) || (isProductSource(file) && - /^src\/(?:main\/(?:ipc\/ssh\/(?:ssh-connect-flow|ssh-host-server-)|ssh\/(?:ssh-session-start-failure|ssh-host-server-|connection\/ssh-connection-manager|orcad-migration-refusal-reason|targets\/ssh-target-orcad-preflight)|managed-server\/lifecycle\/orcad-runtime-conversion|persistence\/migrating-orcad-catalog\/orcad-source-(?:automation-state|leave-behind-view))|renderer\/src\/(?:ssh\/(?:ssh-host-server-status-copy|ssh-connect-failure-toast)|components\/settings\/(?:SshTargetServerStatus|SshHostMoveAnywayAction|SshTargetCard)))/.test( + /^src\/(?:main\/(?:ipc\/ssh\/(?:ssh-connect-flow|ssh-host-server-)|ssh\/(?:ssh-session-start-failure|ssh-host-server-|connection\/ssh-connection-manager|orcad-migration-refusal-reason|targets\/ssh-target-orcad-preflight)|managed-server\/lifecycle\/orcad-runtime-conversion|persistence\/migrating-orcad-catalog\/source\/(?:automations\/orcad-source-automation-state|catalog\/orcad-source-leave-behind-view))|renderer\/src\/(?:ssh\/(?:ssh-host-server-status-copy|ssh-connect-failure-toast)|components\/settings\/(?:SshTargetServerStatus|SshHostMoveAnywayAction|SshTargetCard)))/.test( file )) }, @@ -352,7 +342,7 @@ export const PR_E2E_SOURCE_ROUTES = [ matches: (file) => MANAGED_SSH_HARNESS.test(file) || (isProductSource(file) && - /^src\/main\/(?:persistence\/migrating-orcad-catalog\/orcad-source-(?:draft-rename|workspace-session|session-copy-resolution|export)|ssh\/orcad-migration-source-retention|ipc\/ssh\/ssh)\.ts$/.test( + /^src\/main\/(?:persistence\/migrating-orcad-catalog\/source\/(?:worktrees\/orcad-source-draft-rename|sessions\/orcad-source-(?:workspace-session|session-copy-resolution)|catalog\/orcad-source-export)|persistence\/migrating-orcad-catalog\/retained-source\/orcad-migration-source-retention|ipc\/ssh\/ssh)\.ts$/.test( file )) }, diff --git a/config/scripts/workflow/source-routing/pr-feature-area-e2e-source-routes.mjs b/config/scripts/workflow/source-routing/pr-feature-area-e2e-source-routes.mjs index beb16f2a13c..1e6977f9dd9 100644 --- a/config/scripts/workflow/source-routing/pr-feature-area-e2e-source-routes.mjs +++ b/config/scripts/workflow/source-routing/pr-feature-area-e2e-source-routes.mjs @@ -92,9 +92,9 @@ export const PR_FEATURE_AREA_E2E_SOURCE_ROUTES = [ ['issue-12656-terminal-link-tooltip', 'terminal-pane-padding-edges'], [ 'src/renderer/src/assets/terminal.css', - 'src/renderer/src/lib/pane-manager/pane-divider.ts', + 'src/renderer/src/lib/pane-manager/pane-layout/pane-divider.ts', 'src/renderer/src/lib/pane-manager/pane-dom-creation.ts', - 'src/renderer/src/lib/pane-manager/terminal-linkifier-hover-reset-on-mouseleave.ts' + 'src/renderer/src/lib/pane-manager/terminal-input/terminal-linkifier-hover-reset-on-mouseleave.ts' ] ), featureRoute( diff --git a/config/scripts/workflow/source-routing/pr-layout-oracle-route.mjs b/config/scripts/workflow/source-routing/pr-layout-oracle-route.mjs index ac16f8b4df8..e81577e5f4c 100644 --- a/config/scripts/workflow/source-routing/pr-layout-oracle-route.mjs +++ b/config/scripts/workflow/source-routing/pr-layout-oracle-route.mjs @@ -13,9 +13,9 @@ const LAYOUT_ORACLE_PREFIXES = [ 'src/shared/workspace-layout/terminal-leaf-move.ts', 'src/main/persistence/terminal-topology/', 'src/main/persistence/restoring-sessions/', - 'src/main/persistence/loading-store/pty-binding-', - 'src/main/persistence/loading-store/session-host-partitions.ts', - 'src/main/persistence/loading-store/workspace-session-snapshot-publication.ts', + 'src/main/persistence/loading-store/terminal-bindings/pty-binding-', + 'src/main/persistence/loading-store/workspace-sessions/session-host-partitions.ts', + 'src/main/persistence/loading-store/workspace-sessions/workspace-session-snapshot-publication.ts', 'src/main/remote-layout-snapshot/', 'src/main/runtime/old-session-tabs-stream/', 'src/renderer/src/runtime/remote-workspace-frozen/', @@ -25,7 +25,7 @@ const LAYOUT_ORACLE_PREFIXES = [ 'src/renderer/src/store/workspace-layout/workspace-layout-cache', 'src/renderer/src/components/terminal-pane/', 'src/renderer/src/components/agent-session-continuation/AgentSessionContinuationMenuItem.tsx', - 'src/renderer/src/components/orchestration-crew/WorkerAutoCloseBanner.tsx', + 'src/renderer/src/components/terminal-pane/worker-lifetime/WorkerAutoCloseBanner.tsx', 'src/renderer/src/attention/orca-window-foreground-focus.ts', 'src/renderer/src/attention/notification-workspace-labels.ts', 'src/renderer/src/lib/agent-session/identity/pane-agent-session-id.ts', diff --git a/config/scripts/workflow/source-routing/pr-package-test-paths.mjs b/config/scripts/workflow/source-routing/pr-package-test-paths.mjs index 2bae139d3bb..3917f9a496b 100644 --- a/config/scripts/workflow/source-routing/pr-package-test-paths.mjs +++ b/config/scripts/workflow/source-routing/pr-package-test-paths.mjs @@ -129,7 +129,6 @@ export const LINUX_PACKAGE_TESTS = [ 'src/main/browser/guest-lifecycle/popups/presentation/popup-origin-chrome.electron.test.ts', 'src/main/browser/guest-lifecycle/navigation/browser-link-materialization.electron.test.ts', 'src/main/browser/client-pages/renderer/browser-client-page-renderer-lifecycle.electron.test.ts', - 'src/main/persistence/profile-state/profile-state-writer-stall.electron.test.ts', 'src/main/browser/guest-lifecycle/popups/compatibility/browser-popup-compatibility.electron.test.ts', 'src/main/browser/guest-lifecycle/popups/compatibility/browser-popup-native-compatibility.electron.test.ts', 'src/main/browser/guest-lifecycle/popups/compatibility/browser-popup-background-compatibility.electron.test.ts', @@ -162,7 +161,6 @@ export const WINDOWS_BOUNDARY_TESTS = [ 'config/scripts/desktop-distribution/runtime-verification/package-electron-runtime-contract.test.mjs', 'config/scripts/desktop-distribution/runtime-verification/electron-builder-runtime-resources.test.mjs', 'src/main/browser/client-pages/renderer/browser-client-page-renderer-lifecycle.electron.test.ts', - 'src/main/persistence/profile-state/profile-state-writer-stall.electron.test.ts', 'src/main/providers/windows-conpty-wide-char-duplication.node-pty.test.ts', 'src/shared/__tests__/process-host/windows-command-line.win32.test.ts', 'src/shared/__tests__/process-host/windows-cmd-shim-resolution.test.ts', @@ -191,14 +189,13 @@ export const WINDOWS_BOUNDARY_TESTS = [ 'src/main/daemon/endpoint/identity/testing/daemon-pid-identity-native.win32.test.ts', 'src/main/daemon/pty-subprocess/testing/node-pty-conout-worker-errors.test.ts', 'src/main/daemon/pty-subprocess/testing/node-pty-windows-output-error.win32.test.ts', - 'src/main/persistence/profile-state/profile-state-access-windows-native.win32.test.ts', + 'src/main/persistence/profile-state/access/profile-state-access-windows-native.win32.test.ts', 'src/main/pty/process-retirement/windows-live-tree-kill.win32.test.ts', 'src/main/wsl/execution/wsl-guest-environment.test.ts', 'src/main/wsl/execution/wsl-executable-path.win32.test.ts', 'src/main/claude-accounts/claude-profile-history-windows.test.ts', 'src/shared/source-scan/source-tree-scan.test.ts', - 'src/main/cli/wsl-cli-powershell-boundary.test.ts', - 'src/main/computer/desktop-script-runtime-host.win32.test.ts', + 'src/main/cli/wsl/wsl-cli-powershell-boundary.test.ts', 'src/main/cursor/hook-service.test.ts', 'src/main/orca-profiles/profile-index-store.test.ts', 'src/main/startup/windows-install-dir-acl-repair.win32.test.ts', diff --git a/config/scripts/workflow/source-routing/pr-wsl-e2e-source-routes.mjs b/config/scripts/workflow/source-routing/pr-wsl-e2e-source-routes.mjs index 02911e9b506..45090505483 100644 --- a/config/scripts/workflow/source-routing/pr-wsl-e2e-source-routes.mjs +++ b/config/scripts/workflow/source-routing/pr-wsl-e2e-source-routes.mjs @@ -22,7 +22,7 @@ export const PR_WSL_E2E_SOURCE_ROUTES = [ id: 'wsl-move.fence', specs: ['tests/e2e/wsl-move-fence.spec.ts'], matches: (file) => - /^src\/(?:main\/(?:persistence\/moving-wsl-projects\/wsl-move-(?:scope-guard|fence|reset|startup|startup-rewrite|cutover-journal)|ipc\/pty\/host-env\/spawn-cwd|wsl\/host-lifecycle\/wsl-host-gate(?:-startup)?)|shared\/wsl-move\/wsl-move-cutover)\.ts$/.test( + /^src\/(?:main\/(?:persistence\/moving-wsl-projects\/(?:quiescence\/wsl-move-(?:scope-guard|fence)|cutover-recovery\/wsl-move-(?:reset|cutover-journal)|startup\/wsl-move-(?:startup|startup-rewrite))|ipc\/pty\/host-env\/spawn-cwd|wsl\/host-lifecycle\/wsl-host-gate(?:-startup)?)|shared\/wsl-move\/wsl-move-cutover)\.ts$/.test( file ) }, diff --git a/config/startup-worktree-localization-allowlist.json b/config/startup-worktree-localization-allowlist.json new file mode 100644 index 00000000000..57d98c87207 --- /dev/null +++ b/config/startup-worktree-localization-allowlist.json @@ -0,0 +1,26 @@ +[ + { + "filePath": "src/main/startup/main-process-quit.ts", + "kind": "object-property:message", + "text": "before-quit allowed for update install", + "dynamic": false, + "count": 1, + "reason": "Updater lifecycle diagnostics are not displayed as UI copy." + }, + { + "filePath": "src/main/startup/main-process-quit.ts", + "kind": "object-property:message", + "text": "will-quit cleanup for update install; daemonTeardown=disconnect", + "dynamic": false, + "count": 1, + "reason": "Updater lifecycle diagnostics are not displayed as UI copy." + }, + { + "filePath": "src/main/startup/profile-state-recovery-preflight.ts", + "kind": "object-property:message", + "text": "Invalid profile-state recovery launch.", + "dynamic": false, + "count": 1, + "reason": "Existing recovery detail is user-visible and remains untranslated; tracked in issue 32207." + } +] diff --git a/config/tsconfig.cli.json b/config/tsconfig.cli.json index 8eb3b55faf6..da62363f671 100644 --- a/config/tsconfig.cli.json +++ b/config/tsconfig.cli.json @@ -8,7 +8,7 @@ "../src/shared/editor-language/monaco-language-associations.json", "../src/packages/process-host/src/__fixtures__/**/*", // Loaded by path beside its launcher, so no import reaches it. - "../src/main/persistence/profile-state/profile-state-backup-worker-entry.ts" + "../src/main/persistence/profile-state/backup/profile-state-backup-worker-entry.ts" ], "compilerOptions": { // The CLI runs on Node 24; Node20 models synchronous ESM imports from CommonJS. diff --git a/config/tsconfig.node.json b/config/tsconfig.node.json index 563748d8a33..c616a385638 100644 --- a/config/tsconfig.node.json +++ b/config/tsconfig.node.json @@ -23,14 +23,14 @@ "../src/cli/runtime/runtime-access-denied.ts", "../src/cli/runtime/runtime-pid-liveness.ts", "../src/renderer/src/store/slices/worktrees/create/worktree-create-payload.ts", - "../src/renderer/src/lib/orca-hook-trust.ts", - "../src/renderer/src/lib/sha256.ts", + "../src/renderer/src/runtime/repo-hooks/orca-hook-trust.ts", "../src/renderer/src/components/native-chat/native-chat-resolution-receipt.ts", "../src/renderer/src/components/native-chat/structured-agent-question-projection.ts", "../src/renderer/src/components/native-chat/subagents/native-chat-subagent-delegation.ts", "../src/renderer/src/components/native-chat/session/structured/delivery/structured-agent-session-pending-sends.ts", "../src/renderer/src/components/native-chat/queue/structured-agent-session-queue-request.ts", "../src/renderer/src/components/native-chat/native-chat-composer-primary-action.ts", + "../src/renderer/src/components/settings/accounts/codex/codex-account-auth-warning.ts", "../src/renderer/src/components/terminal-pane/pty-transport/legacy-relay/legacy-relay-bridge-panes.ts", "../src/preload/**/*", "../src/shared/**/*", @@ -40,7 +40,7 @@ ], "exclude": [ "../src/main/runtime/orchestration/terminal-authority/structured-sessions/structured-chat-coordinator-mail.test.ts", - "../src/main/runtime/rpc/methods/orchestration/orchestration-check-ambiguous-caller.test.ts" + "../src/main/runtime/agent-session/structured-agent-session-chat-wait-work-state.test.ts" ], "compilerOptions": { "composite": true, diff --git a/config/tsconfig.tc.web.json b/config/tsconfig.tc.web.json index d7542c5e628..0c4e66706e0 100644 --- a/config/tsconfig.tc.web.json +++ b/config/tsconfig.tc.web.json @@ -1,9 +1,7 @@ { "extends": "./tsconfig.web.json", "exclude": [ - "../src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab-main-surface.test.ts", "../src/renderer/src/components/task-page/linear/task-page-linear-detail-query.test.tsx", - "../tests/e2e/terminal-agent-pane-launch.unit.test.ts", "../src/renderer/src/runtime/provider-accounts/observations/provider-account-observation.test-fixture.ts", "../src/shared/**/*.test.ts", "../src/shared/**/*.test.tsx", @@ -27,12 +25,12 @@ "../src/preload/renderer-restart-wiring.ts", "../src/preload/runtime-environment-subscriptions.ts", "../src/preload/usage-provider-api.ts", - "../src/main/pi/rpc-model-schema.ts", - "../src/main/pi/rpc-model-options.ts", + "../src/main/pi/rpc/options/rpc-model-schema.ts", + "../src/main/pi/rpc/options/rpc-model-options.ts", "../src/shared/**/*", "../mobile/src/worktree/worktree-agent-child-rows.ts", "../src/packages/process-host/src/__fixtures__/**/*", - "../src/main/gitlab/mappers.ts", + "../src/main/gitlab/requests/gitlab-response-mapping.ts", "../src/main/source-control/hosted-review-branch-cache.ts", "../src/main/source-control/hosted-review-branch-cache-types.ts", "../src/main/source-control/hosted-review-active-branch-claims.ts", diff --git a/config/tsconfig.test.pane-launch.json b/config/tsconfig.test.pane-launch.json index 63896e6d839..07117e2ab40 100644 --- a/config/tsconfig.test.pane-launch.json +++ b/config/tsconfig.test.pane-launch.json @@ -1,11 +1,9 @@ { "extends": "./tsconfig.web.json", "include": [ - "../src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab-main-surface.test.ts", "../src/main/runtime/orchestration/terminal-authority/structured-sessions/structured-chat-coordinator-mail.test.ts", - "../src/main/runtime/rpc/methods/orchestration/orchestration-check-ambiguous-caller.test.ts", + "../src/main/runtime/agent-session/structured-agent-session-chat-wait-work-state.test.ts", "../src/renderer/src/components/task-page/linear/task-page-linear-detail-query.test.tsx", - "../tests/e2e/terminal-agent-pane-launch.unit.test.ts", "../src/renderer/src/runtime/observed-provider-accounts.test.tsx", "../src/renderer/src/components/status-bar/ClaudeSwitcherMenu.observation.test.tsx", "../src/renderer/src/runtime/provider-accounts/observations/provider-account-observation.test-fixture.ts", diff --git a/config/tsconfig.web.json b/config/tsconfig.web.json index 02a420684d3..b8af840abf1 100644 --- a/config/tsconfig.web.json +++ b/config/tsconfig.web.json @@ -6,14 +6,12 @@ "../src/renderer/src/**/*.tsx", "../src/preload/api-types.ts", "../src/preload/api/**/*", - "../src/main/pi/rpc-model-schema.ts", - "../src/main/pi/rpc-model-options.ts", + "../src/main/pi/rpc/options/rpc-model-schema.ts", + "../src/main/pi/rpc/options/rpc-model-options.ts", "../src/shared/**/*" ], "exclude": [ - "../src/renderer/src/lib/agent-session/launch/new-tab/launch-agent-in-new-tab-main-surface.test.ts", "../src/renderer/src/components/task-page/linear/task-page-linear-detail-query.test.tsx", - "../tests/e2e/terminal-agent-pane-launch.unit.test.ts", "../src/renderer/src/runtime/provider-accounts/observations/provider-account-observation.test-fixture.ts" ], "compilerOptions": { diff --git a/config/vitest.config.ts b/config/vitest.config.ts index 7dc0f04c525..bfed0dadfdd 100644 --- a/config/vitest.config.ts +++ b/config/vitest.config.ts @@ -126,10 +126,12 @@ const bunProject = { } // Files whose state the per-file reset can undo share one worker's module cache instead of // re-importing thousands of modules each. ORCA_VITEST_ISOLATE_EVERY_FILE=1 turns it off. +// Windows workers that keep native addons (process tree, ConPTY) across files die of heap +// corruption (0xC0000374); production code loads them lazily, so the file scan can't see them. const runtimeProject = process.versions.bun ? bunProject : nodeProject const nodeRuntimeFiles = new Set(nodeRuntimeInclude.map((file) => file.replaceAll('\\', '/'))) const sharedWorkerFiles = - process.env.ORCA_VITEST_ISOLATE_EVERY_FILE === '1' + process.env.ORCA_VITEST_ISOLATE_EVERY_FILE === '1' || process.platform === 'win32' ? [] : filesSafeToShareWorker( process.cwd(), @@ -151,6 +153,9 @@ const sharedProjects = name: `${runtimeProject.test.name}-shared`, include: sharedWorkerFiles, isolate: false, + runner: resolve( + 'config/scripts/test-runtime/execution-policy/vitest-shared-worker-setup-runner.mjs' + ), setupFiles: [ ...runtimeProject.test.setupFiles, resolve('config/scripts/test-runtime/environment/vitest-shared-worker-file-reset.mjs') diff --git a/config/vitest.performance.config.ts b/config/vitest.performance.config.ts index ceb2d73b083..8035a86a0b8 100644 --- a/config/vitest.performance.config.ts +++ b/config/vitest.performance.config.ts @@ -7,21 +7,16 @@ import { nodeRuntimePool } from './scripts/test-runtime/node-worker/vitest-node- const contracts = [ 'src/main/runtime/session-tabs/session-tabs-phone-layout-moves.test.ts', 'src/main/native-chat/agent-session-wire/host/testing/structured-agent-session-terminal-writer-acquire.test.ts', - 'src/shared/agent-launch/permissions/tui-agent-permission-choice.test.ts', - 'src/main/runtime/rpc/methods/projects/repo.test.ts', 'src/renderer/src/components/tab-bar/use-new-tab-agent-menu-host-preferences.test.tsx', 'src/main/sqlite/sync-database.test.ts', - 'src/main/runtime/orchestration/db/row-column-lists.test.ts', 'src/shared/native-chat/tools/native-chat-tool-pairing.performance.test.ts', 'src/main/codex-usage/codex-rollout-file-lifetime.test.ts', 'src/main/codex-usage/scanner-incremental-append.test.ts', - 'src/main/usage/jsonl-file-reader.test.ts', - 'src/main/usage/jsonl-file-snapshot.test.ts', - 'src/renderer/src/lib/pane-manager/pane-terminal-output-scheduler-queue-retention.test.ts', + 'src/main/usage/source-input/jsonl/jsonl-file-reader.test.ts', 'config/scripts/static-analysis/oxlint-contracts/app-store-performance-plugin.test.mjs', 'config/scripts/static-analysis/oxlint-contracts/quadratic-buffer-concat-plugin.test.mjs', 'src/main/claude-usage/scanner-incremental-append.test.ts', - 'src/main/claude-usage/store-checkpoint-persistence.test.ts' + 'src/main/runtime/agent-session/structured-agent-session-chat-wait-work-state.test.ts' ] for (const contract of contracts) { if (!existsSync(resolve(contract))) { diff --git a/config/workspace-record-read-baseline.txt b/config/workspace-record-read-baseline.txt index ca14f9bf2ad..b6e4e4e16f9 100644 --- a/config/workspace-record-read-baseline.txt +++ b/config/workspace-record-read-baseline.txt @@ -8,7 +8,6 @@ 4 src/renderer/src/components/dashboard/build-dashboard-bucket-counts.ts # P5b-2 must clear: optional state fields; memo compare goes stale when absent 3 src/renderer/src/components/dashboard/dashboard-card-terminal-input.ts # P5b-2 must clear: optional state fields default to empty 1 src/renderer/src/components/dashboard/dashboard-snapshot-workspaces.ts # P5b-2 must clear: optional state field defaults to empty -1 src/renderer/src/components/dashboard/dashboard-worktree-launch-options.ts # P5b-2 must clear: optional state field defaults to empty 4 src/renderer/src/components/dashboard/useDashboardPopoutBridge.ts # P5b-2 must clear: change detection on optional fields never fires when absent 2 src/renderer/src/components/dashboard/useRetainedAgents.ts # reads a passed-in copy 1 src/renderer/src/components/editor/markdown/documents/markdown-document-worktree-path-selector.ts # P5b-2 must clear: optional state field @@ -22,7 +21,7 @@ 1 src/renderer/src/components/sidebar/worktree-list/navigation/pending-reveal-inputs.ts # reads a passed-in copy 1 src/renderer/src/components/sidebar/worktree-list/navigation/use-pending-reveal.ts # reads a passed-in copy 2 src/renderer/src/components/sidebar/worktree-list/viewport/VirtualizedWorktreeViewport.tsx # reads a passed-in copy -2 src/renderer/src/components/skills/skill-install-workspace-choices.ts # reads a passed-in copy +2 src/renderer/src/components/skills/installation/skill-install-workspace-choices.ts # reads a passed-in copy 1 src/renderer/src/components/terminal-pane/links/files/terminal-worktree-path-link.ts # P5b-2 must clear: loosely typed state param 1 src/renderer/src/components/workspace-space/space-window-state.ts # reads a passed-in copy 1 src/renderer/src/hooks/composer-state/composer-source-state.ts # P5b-2 must clear: composer store snapshot @@ -31,15 +30,15 @@ 1 src/renderer/src/lib/browser/navigation/http-link-localhost-route.ts # P5b-2 must clear: optional state field defaults to empty; extracted from http-link-routing.ts 1 src/renderer/src/lib/workspace/ownership/connection-owner-resolution.ts # P5b-2 must clear: optional-chain compare of a previous slice 2 src/renderer/src/lib/workspace/ownership/direct-ssh-target-scope.ts # P5b-2 must clear: optional input fields default to empty -3 src/renderer/src/lib/duplicate-paired-servers.ts # P5b-2 must clear: optional state fields default to empty +3 src/renderer/src/lib/workspace/ownership/duplicate-paired-servers.ts # P5b-2 must clear: optional state fields default to empty 1 src/renderer/src/lib/workspace/ownership/folder-workspace-runtime-owner.ts # P5b-2 must clear: loosely typed state param 1 src/renderer/src/runtime/hosts/wsl/local-project-runtime-workspace.ts # P5b-2 must clear: optional state field defaults to empty -1 src/renderer/src/lib/resolved-worktree-execution-host.ts # P5b-2 must clear: loosely typed state param +1 src/renderer/src/lib/workspace/ownership/resolved-worktree-execution-host.ts # P5b-2 must clear: loosely typed state param 2 src/renderer/src/lib/workspace/ownership/runtime-session-mirror-owners.ts # P5b-2 must clear: optional state fields default to empty -2 src/renderer/src/lib/terminal-worktree-route.ts # P5b-2 must clear: the unattributed-twin check reads both catalogs directly -3 src/renderer/src/lib/typing-latency/diagnostic-summary.ts # P5b-2 must clear: optional state field -2 src/renderer/src/lib/unread-badge-count.ts # reads a passed-in copy -1 src/renderer/src/lib/workspace-directory.ts # P5b-2 must clear: optional state field defaults to empty +2 src/renderer/src/lib/workspace/ownership/terminal-worktree-route.ts # P5b-2 must clear: the unattributed-twin check reads both catalogs directly +3 src/renderer/src/diagnostics/typing-latency/diagnostic-summary.ts # P5b-2 must clear: optional state field +2 src/renderer/src/attention/unread/unread-badge-count.ts # reads a passed-in copy +1 src/renderer/src/lib/workspace/paths/workspace-directory.ts # P5b-2 must clear: optional state field defaults to empty 2 src/renderer/src/lib/workspace/ownership/workspace-terminal-host-authority.ts # P5b-2 must clear: optional state fields 1 src/renderer/src/lib/workspace/activation/initial-surface/worktree-initial-terminal-seeding.ts # P5b-2 must clear: treats an undefined field as a narrow adapter 1 src/renderer/src/lib/workspace/activation/worktree-activation-pty-inventory.ts # P5b-2 must clear: loosely typed state param diff --git a/docs/assets/readme-downloads.svg b/docs/assets/readme-downloads.svg index 5d3b3001552..8d3c1e202ba 100644 --- a/docs/assets/readme-downloads.svg +++ b/docs/assets/readme-downloads.svg @@ -1,5 +1,5 @@ - - downloads: 163m + + downloads: 171m @@ -15,7 +15,7 @@ downloads downloads - 163m - 163m + 171m + 171m diff --git a/docs/assets/wechat-qr-group12.jpg b/docs/assets/wechat-qr-group12.jpg deleted file mode 100644 index 475c483ca76..00000000000 Binary files a/docs/assets/wechat-qr-group12.jpg and /dev/null differ diff --git a/docs/assets/wechat-qr-group13.jpg b/docs/assets/wechat-qr-group13.jpg deleted file mode 100644 index 48c67e4031b..00000000000 Binary files a/docs/assets/wechat-qr-group13.jpg and /dev/null differ diff --git a/docs/assets/wechat-qr-group14.jpg b/docs/assets/wechat-qr-group14.jpg deleted file mode 100644 index 76745e168d5..00000000000 Binary files a/docs/assets/wechat-qr-group14.jpg and /dev/null differ diff --git a/docs/assets/wechat-qr-group15.jpg b/docs/assets/wechat-qr-group15.jpg deleted file mode 100644 index 97ca38eb20b..00000000000 Binary files a/docs/assets/wechat-qr-group15.jpg and /dev/null differ diff --git a/docs/assets/wechat-qr-group16.jpg b/docs/assets/wechat-qr-group16.jpg deleted file mode 100644 index 158a50794cc..00000000000 Binary files a/docs/assets/wechat-qr-group16.jpg and /dev/null differ diff --git a/docs/assets/wechat-qr.jpg b/docs/assets/wechat-qr.jpg index 4b4f61e17f5..ecc8de57c7b 100644 Binary files a/docs/assets/wechat-qr.jpg and b/docs/assets/wechat-qr.jpg differ diff --git a/docs/development.md b/docs/development.md index 07cc3fd619d..56656dfe72e 100644 --- a/docs/development.md +++ b/docs/development.md @@ -53,5 +53,5 @@ pnpm dev:fresh [--keep] [--seed-from[=]] # temporary profile, rem - Slow main-process rebuilds: set `ORCA_DEV_MAIN_SOURCEMAPS=0` before `pnpm dev` when you don't need main-process source maps. - Renderer misbehaving in dev: set `ORCA_DEV_BUNDLED=0` to turn off bundled dev mode, and report it. -- Test passes alone but fails after others: add `// @orca-isolated-worker` to the file; `ORCA_VITEST_ISOLATE_EVERY_FILE=1` isolates every file to confirm a leak. +- Test passes alone but fails after others: add `// @orca-isolated-worker` to the file; `ORCA_VITEST_ISOLATE_EVERY_FILE=1` isolates every file to confirm a leak. Windows always isolates every file, because native addons kept across files corrupt the heap. - Slow typechecks: where supported, `pnpm tc` keeps incremental caches in `.cache/typecheck/`; delete it to force a fresh check. diff --git a/docs/readme/README.fr.md b/docs/readme/README.fr.md index 67a9b140ecb..67025f76663 100644 --- a/docs/readme/README.fr.md +++ b/docs/readme/README.fr.md @@ -249,11 +249,9 @@ Associez-la à l'app de bureau pour surveiller et piloter vos agents depuis votr - **Discord :** Rejoignez la communauté sur **[Discord](https://discord.gg/fzjDKHxv8Q)**. - **Twitter / X :** Suivez **[@orca_build](https://x.com/orca_build)** pour les news et annonces. -- **WeChat :** Scannez pour rejoindre un groupe WeChat de la communauté Orca. Si un groupe est complet, rejoignez-en un autre. +- **WeChat :** Scannez pour rejoindre un groupe WeChat de la communauté Orca. - QR code du groupe WeChat de la communauté Orca - QR code du groupe WeChat de la communauté Orca - QR code du groupe WeChat de la communauté Orca + QR code du groupe WeChat de la communauté Orca - **Feedback & idées :** On ship vite. Il manque quelque chose ? [Demandez une feature](https://github.com/stablyai/orca/issues). - **Confidentialité :** Voir la [doc confidentialité & télémétrie](https://www.onorca.dev/docs/telemetry) pour ce qu'Orca collecte en anonyme et comment désactiver la télémétrie. diff --git a/docs/readme/README.ko.md b/docs/readme/README.ko.md index 02ceb179d9c..d44ef909489 100644 --- a/docs/readme/README.ko.md +++ b/docs/readme/README.ko.md @@ -244,11 +244,9 @@ yay -S stably-orca-bin - **Discord:** **[Discord](https://discord.gg/fzjDKHxv8Q)** 커뮤니티에 참여하세요. - **Twitter / X:** 업데이트와 공지는 **[@orca_build](https://x.com/orca_build)** 를 팔로우하세요. -- **WeChat:** QR 코드를 스캔해 Orca 커뮤니티 WeChat 그룹에 참여하세요. 한 그룹이 가득 찼다면 다른 그룹에 참여하세요. +- **WeChat:** QR 코드를 스캔해 Orca 커뮤니티 WeChat 그룹에 참여하세요. - Orca 커뮤니티 WeChat 그룹 QR 코드 - Orca 커뮤니티 WeChat 그룹 QR 코드 - Orca 커뮤니티 WeChat 그룹 QR 코드 + Orca 커뮤니티 WeChat 그룹 QR 코드 - **피드백과 아이디어:** 우리는 빠르게 출시합니다. 필요한 기능이 있나요? [새 기능을 요청](https://github.com/stablyai/orca/issues)하세요. - **개인정보 보호:** Orca가 수집하는 익명 사용 데이터와 수집 거부 방법은 [개인정보 및 텔레메트리 문서](https://www.onorca.dev/docs/telemetry)를 참고하세요. diff --git a/docs/readme/README.ru.md b/docs/readme/README.ru.md index b9f35580121..576d8250409 100644 --- a/docs/readme/README.ru.md +++ b/docs/readme/README.ru.md @@ -245,11 +245,9 @@ yay -S stably-orca-bin - **Discord:** Присоединяйтесь к сообществу в **[Discord](https://discord.gg/fzjDKHxv8Q)**. - **Twitter / X:** Подпишитесь на **[@orca_build](https://x.com/orca_build)**, чтобы узнавать об обновлениях и анонсах. -- **WeChat:** Отсканируйте QR-код, чтобы присоединиться к группе сообщества Orca в WeChat. Если одна группа заполнена, присоединяйтесь к другой. +- **WeChat:** Отсканируйте QR-код, чтобы присоединиться к группе сообщества Orca в WeChat. - QR-код группы сообщества Orca в WeChat - QR-код группы сообщества Orca в WeChat - QR-код группы сообщества Orca в WeChat + QR-код группы сообщества Orca в WeChat - **Отзывы и идеи:** Мы быстро выпускаем обновления. Чего-то не хватает? [Предложите новую возможность](https://github.com/stablyai/orca/issues). - **Конфиденциальность:** В [документации о конфиденциальности и телеметрии](https://www.onorca.dev/docs/telemetry) описано, какие анонимные данные об использовании собирает Orca и как отказаться от их сбора. diff --git a/docs/readme/README.tr.md b/docs/readme/README.tr.md index de57ef3c8a4..c3952fa63b8 100644 --- a/docs/readme/README.tr.md +++ b/docs/readme/README.tr.md @@ -242,11 +242,9 @@ Ajanlarınızı telefonunuzdan izlemek ve yönlendirmek için masaüstü uygulam - **Discord:** Topluluğa **[Discord](https://discord.gg/fzjDKHxv8Q)** üzerinden katılın. - **Twitter / X:** Güncellemeler ve duyurular için **[@orca_build](https://x.com/orca_build)** hesabını takip edin. -- **WeChat:** Orca topluluğunun bir WeChat grubuna katılmak için karekodu okutun. Bir grup doluysa başka bir gruba katılabilirsiniz. +- **WeChat:** Orca topluluğunun bir WeChat grubuna katılmak için karekodu okutun. - Orca topluluğunun WeChat grubu karekodu - Orca topluluğunun WeChat grubu karekodu - Orca topluluğunun WeChat grubu karekodu + Orca topluluğunun WeChat grubu karekodu - **Geri bildirim ve fikirler:** Hızlı sürüm çıkarıyoruz. Eksik bulduğunuz bir şey mi var? [Yeni bir özellik isteyin](https://github.com/stablyai/orca/issues). - **Gizlilik:** Orca'nın hangi anonim kullanım verisini topladığını ve bunu nasıl kapatacağınızı [gizlilik ve telemetri dokümanlarında](https://www.onorca.dev/docs/telemetry) bulabilirsiniz. diff --git a/docs/readme/README.zh-CN.md b/docs/readme/README.zh-CN.md index 4d9dea01319..20cfaae5e8d 100644 --- a/docs/readme/README.zh-CN.md +++ b/docs/readme/README.zh-CN.md @@ -242,11 +242,9 @@ yay -S stably-orca-bin - **Discord:** 加入 **[Discord](https://discord.gg/fzjDKHxv8Q)** 社区。 - **Twitter / X:** 关注 **[@orca_build](https://x.com/orca_build)** 获取更新和公告。 -- **微信:** 扫码加入 Orca 社区微信群。如果一个群已满,可以加入其他群。 +- **微信:** 扫码加入 Orca 社区微信群。 - Orca 社区微信群二维码 - Orca 社区微信群二维码 - Orca 社区微信群二维码 + Orca 社区微信群二维码 - **反馈与想法:** 我们发布很快。缺少什么功能?[提交功能请求](https://github.com/stablyai/orca/issues)。 - **隐私:** 查看[隐私与遥测文档](https://www.onorca.dev/docs/telemetry),了解 Orca 收集哪些匿名使用数据以及如何退出。 diff --git a/docs/reference/plugin-host-api.md b/docs/reference/plugin-host-api.md index 87dee966b62..b0f38a0930d 100644 --- a/docs/reference/plugin-host-api.md +++ b/docs/reference/plugin-host-api.md @@ -2,7 +2,7 @@ -Host API 1.5 (`"pluginApi": 1`). Workers call a method with `await orca.host.call(name, params)`; panels and custom editors call the same methods through `window.orca.host.call(name, params)`. Each method lists the surfaces allowed to call it; any other surface gets `not_permitted`. `orca.host.has(name)` answers synchronously whether this Orca offers a method on the current surface, and `orca.api` is `{ major, minor }`. See [Plugin authoring](./plugin-authoring.md) for the frame API. +Host API 1.6 (`"pluginApi": 1`). Workers call a method with `await orca.host.call(name, params)`; panels and custom editors call the same methods through `window.orca.host.call(name, params)`. Each method lists the surfaces allowed to call it; any other surface gets `not_permitted`. `orca.host.has(name)` answers synchronously whether this Orca offers a method on the current surface, and `orca.api` is `{ major, minor }`. See [Plugin authoring](./plugin-authoring.md) for the frame API. Every call is checked against the capabilities the user approved, and params are validated before Orca runs anything: params are strict, so a field this Orca does not know is refused with `invalid_params` instead of being dropped. Mutations are recorded in the audit log as `plugin:.`. @@ -29,7 +29,7 @@ Methods whose capability is `none` need no capability but still need the plugin | [`files.saveAs`](#filessaveas) | none | panel, editor | yes | 1.1 | Offers data (a string or ArrayBuffer, up to 64 MiB) in Orca's save dialog; the plugin never learns the path. Needs a click or key press in the frame; desktop app only. | | [`plugin.request`](#pluginrequest) | none | panel, editor | no | 1.2 | Asks the plugin's own worker to run the handler it registered with `orca.panels.handle(name)`, starting the worker if needed; resolves with what the handler returned. `unknown_method` when no handler has that name. | | [`agents.list`](#agentslist) | `agent:read` | worker, panel, editor | no | 1.2 | The agents in the focused workspace: their terminal, title, agent kind and status. `agent.status.changed` reports each change after. | -| [`events.subscribe`](#eventssubscribe) | none | panel, editor | no | 1.2 | Delivers a workspace or agent event to this panel as `orca.on(event)`; needs the event's read capability. The frame APIs call it for you. | +| [`events.subscribe`](#eventssubscribe) | none | panel, editor | no | 1.2 | Delivers a workspace, agent or editor event to this panel as `orca.on(event)`; needs the event's read capability, when it has one. The frame APIs call it for you. | | [`statusBar.update`](#statusbarupdate) | none | worker | no | 1.2 | Changes one of the plugin's `contributes.statusBarItems` (named by `id`): fields given replace their current value, `visible: false` hides it. Desktop app only; lasts until Orca restarts, and is hidden while the plugin is disabled. A plugin with `main` and status bar items has its worker started when it is enabled and kept running while it stays enabled, so a worker can poll and update its items without an event or a hook. | | [`appearance.read`](#appearanceread) | `appearance:write` | worker | no | 1.4 | Reads the current desktop appearance revision for a conditional update. | | [`appearance.apply`](#appearanceapply) | `appearance:write` | worker | yes | 1.4 | Publishes owned app/editor and terminal colors and selects them in the desktop. Returns publication, not renderer acknowledgement. | @@ -41,6 +41,7 @@ Methods whose capability is `none` need no capability but still need the plugin | [`agent.launch`](#agentlaunch) | `agent:launch` | worker | yes | 1.3 | Starts an agent's CLI in a new terminal of a workspace, in the background, and returns as soon as it starts; a `prompt` is sent once the agent is ready. | | [`editor.open`](#editoropen) | `workspace:write` | worker | yes | 1.3 | Opens a file of a workspace in an editor tab of Orca's window; desktop app only. `workspace.open` shows the workspace. | | [`commands.run`](#commandsrun) | `workspace:write` | worker | yes | 1.3 | Runs one of Orca's built-in actions in its window, never a plugin's replacement of it; desktop app only. | +| [`editor.readTypography`](#editorreadtypography) | none | worker, panel, editor | no | 1.6 | The font family, size, weight, line height, ligatures, word wrap and minimap Orca's file editor uses now, editor zoom included. `editor.typography.changed` reports each change after. | ### `workspace.readContext` @@ -180,10 +181,10 @@ The agents in the focused workspace: their terminal, title, agent kind and statu ### `events.subscribe` -Delivers a workspace or agent event to this panel as `orca.on(event)`; needs the event's read capability. The frame APIs call it for you. +Delivers a workspace, agent or editor event to this panel as `orca.on(event)`; needs the event's read capability, when it has one. The frame APIs call it for you. ```ts -(params: { event: "workspace.created" | "workspace.removed" | "agent.status.changed" | "workspace.changed" }) => { ok: true } +(params: { event: "workspace.created" | "workspace.removed" | "agent.status.changed" | "workspace.changed" | "editor.typography.changed" }) => { ok: true } ``` ### `statusBar.update` @@ -274,9 +275,17 @@ Runs one of Orca's built-in actions in its window, never a plugin's replacement (params: { action: "worktree.history.back" | "worktree.history.forward" | "sidebar.left.toggle" | "sidebar.sleepingWorkspaces.toggle" | "floatingWorkspace.maximize" | "tab.rename" | "workspace.rename" | "workspace.openBoard" | "view.tasks" | "sidebar.right.toggle" | "sidebar.explorer.toggle" | "sidebar.search.toggle" | "sidebar.sourceControl.toggle" | "sidebar.checks.toggle" | "sidebar.ports.toggle" }) => { ran: true } ``` +### `editor.readTypography` + +The font family, size, weight, line height, ligatures, word wrap and minimap Orca's file editor uses now, editor zoom included. `editor.typography.changed` reports each change after. + +```ts +(params?: {}) => { fontFamily: string; cssFontFamily: string; fontSize: number; fontWeight: string; lineHeight: number; fontLigatures: boolean; wordWrap: "on" | "off"; minimap: boolean } +``` + ## Events -A worker receives the events its manifest lists in `contributes.events` through `orca.events.on(event, handler)`, which returns `{ dispose() }`. Each needs `main`, the `trusted-worker` profile and its domain's capability (`workspace:read` or `agent:read`). `orca plugin types` writes the payloads as `PluginEvents` in `orca/host`. +A worker receives the events its manifest lists in `contributes.events` through `orca.events.on(event, handler)`, which returns `{ dispose() }`. Each needs `main`, the `trusted-worker` profile and its domain's capability (`workspace:read` or `agent:read`; editor events need none). `orca plugin types` writes the payloads as `PluginEvents` in `orca/host`. | Event | Payload | Summary | | --- | --- | --- | @@ -284,6 +293,7 @@ A worker receives the events its manifest lists in `contributes.events` through | `workspace.removed` | `{ workspaceId: string; kind: "worktree" \| "folder"; path: string }` | A worktree workspace was removed. | | `agent.status.changed` | `{ workspaceId: string \| null; paneKey: string; terminalId?: string; title?: string; state: "working" \| "blocked" \| "waiting" \| "done"; receivedAt: number; mainAgent?: { state: "working" \| "blocked" \| "waiting" \| "done"; outcome?: "success" \| "failure" \| "cancellation" \| "superseded" \| "interruption" \| "unconfirmed"; stateStartedAt: number } }` | An agent in a terminal pane changed status; `workspaceId` is null when Orca cannot tie the pane to a workspace, and `terminalId` names its terminal when Orca lists it. | | `workspace.changed` | `{ context: { branch: string; displayName: string; terminals: { id: string; title?: string }[] } \| null }` | The focused workspace changed, or its terminals were opened, closed or renamed; `context` is what `workspace.readContext` now answers. Each new subscriber first gets the current context. | +| `editor.typography.changed` | `{ fontFamily: string; cssFontFamily: string; fontSize: number; fontWeight: string; lineHeight: number; fontLigatures: boolean; wordWrap: "on" \| "off"; minimap: boolean }` | What Orca's file editor uses changed (a setting or the editor zoom); the payload is what `editor.readTypography` now answers. Needs no capability. | ## Hooks diff --git a/docs/reference/plugin-manifest.md b/docs/reference/plugin-manifest.md index dd085638f00..a257a924c7c 100644 --- a/docs/reference/plugin-manifest.md +++ b/docs/reference/plugin-manifest.md @@ -32,7 +32,7 @@ Add `"$schema": "https://raw.githubusercontent.com/stablyai/orca/main/docs/schem | `contributes` | object | no | 1.4.160 | What the plugin adds to Orca. Every point defaults to empty. | | `contributes.panels` | [PanelContribution](#panelcontribution)[] | no | 1.4.160 | Sidebar panels. At most 64. | | `contributes.commands` | [CommandContribution](#commandcontribution)[] | no | 1.4.160 | Command palette entries. At most 256. | -| `contributes.events` | [EventContribution](#eventcontribution)[] | no | 1.4.160 | Events delivered to the plugin worker. At most 4. | +| `contributes.events` | [EventContribution](#eventcontribution)[] | no | 1.4.160 | Events delivered to the plugin worker. At most 5. | | `contributes.hooks` | [HookContribution](#hookcontribution)[] | no | 1.4.248 | Hooks the worker runs before or after Orca acts; Orca waits only on plugins that list one. At most 8. | | `contributes.languagePacks` | [LanguagePackContribution](#languagepackcontribution)[] | no | 1.4.160 | Interface translations. At most 16. | | `contributes.keybindings` | [KeybindingContribution](#keybindingcontribution)[] | no | 1.4.160 | Keyboard shortcuts for contributed commands. At most 256. | @@ -85,11 +85,11 @@ A command palette entry. Requires the `declarative` execution profile or higher. ## EventContribution -An event subscription. Requires `main`, the `trusted-worker` execution profile and the capability of the event's domain: `workspace:read` for workspace events, `agent:read` for agent events. +An event subscription. Requires `main`, the `trusted-worker` execution profile and the capability of the event's domain: `workspace:read` for workspace events, `agent:read` for agent events. Editor events need no capability. | Field | Type | Required | Since | Description | | --- | --- | --- | --- | --- | -| `on` | `"workspace.created"` \| `"workspace.removed"` \| `"agent.status.changed"` \| `"workspace.changed"` | yes | 1.4.160 | Event delivered to the plugin worker. | +| `on` | `"workspace.created"` \| `"workspace.removed"` \| `"agent.status.changed"` \| `"workspace.changed"` \| `"editor.typography.changed"` | yes | 1.4.160 | Event delivered to the plugin worker. | ## HookContribution diff --git a/docs/schemas/plugins/orca-plugin.v2.schema.json b/docs/schemas/plugins/orca-plugin.v2.schema.json index 28b4a822243..665f0887bee 100644 --- a/docs/schemas/plugins/orca-plugin.v2.schema.json +++ b/docs/schemas/plugins/orca-plugin.v2.schema.json @@ -208,9 +208,9 @@ }, "events": { "default": [], - "description": "Events delivered to the plugin worker. At most 4.", + "description": "Events delivered to the plugin worker. At most 5.", "x-orca-since": "1.4.160", - "maxItems": 4, + "maxItems": 5, "type": "array", "items": { "$ref": "#/$defs/EventContribution" @@ -736,7 +736,8 @@ "workspace.created", "workspace.removed", "agent.status.changed", - "workspace.changed" + "workspace.changed", + "editor.typography.changed" ], "description": "Event delivered to the plugin worker.", "x-orca-since": "1.4.160", @@ -744,7 +745,8 @@ "workspace.created": "1.4.245", "workspace.removed": "1.4.245", "agent.status.changed": "1.4.160", - "workspace.changed": "1.4.246" + "workspace.changed": "1.4.246", + "editor.typography.changed": "1.4.256" } } }, @@ -752,7 +754,7 @@ "on" ], "additionalProperties": false, - "description": "An event subscription. Requires `main`, the `trusted-worker` execution profile and the capability of the event's domain: `workspace:read` for workspace events, `agent:read` for agent events." + "description": "An event subscription. Requires `main`, the `trusted-worker` execution profile and the capability of the event's domain: `workspace:read` for workspace events, `agent:read` for agent events. Editor events need no capability." }, "HookContribution": { "type": "object", diff --git a/docs/site/content/docs/agents/supported.mdx b/docs/site/content/docs/agents/supported.mdx index 98313aa6d1a..2e68990f84e 100644 --- a/docs/site/content/docs/agents/supported.mdx +++ b/docs/site/content/docs/agents/supported.mdx @@ -52,7 +52,7 @@ If an agent's CLI is installed outside `PATH`, expand its row in **Settings → | Freebuff | Auto-setup | [Freebuff](https://freebuff.com/cli) | | Command Code | Auto-setup, status | [Command Code](https://commandcode.ai/docs/quickstart) | | Muse | macOS/Linux; trusts the workspace at launch | [Meta](https://dev.meta.ai/docs/muse-code) | -| DeepSeek Harness | Launched through its `dsh-tui` profile; hooks, status, questions, resume | [DeepSeek](https://deepseek-harness.github.io/deepseek-harness/) | +| DeepSeek Harness | Needs `@deepseek-ai/dsh` plus the community `@deepseek-harness-tui/dsh-tui`; hooks, status, questions, resume | [dsh-TUI](https://github.com/ccch1mneyyy/dsh-TUI#quick-start) | | ZCode | Deep integration; needs a `zcode` CLI that ships the TUI (see note below) | [Z.ai](https://zcode.z.ai/en/docs) | | Continue | Auto-setup | [Continue](https://docs.continue.dev/cli/quickstart) | | Cursor CLI | Deep integration | [Cursor](https://cursor.com/cli) | diff --git a/docs/site/content/docs/cli/orchestration.mdx b/docs/site/content/docs/cli/orchestration.mdx index 3f6551f3753..95bcf738d69 100644 --- a/docs/site/content/docs/cli/orchestration.mdx +++ b/docs/site/content/docs/cli/orchestration.mdx @@ -86,6 +86,12 @@ orca orchestration worker-keep-open --dispatch orca orchestration worker-start --task --retry-of --worktree current --agent codex ``` +When a worker stops at a permission prompt, the escalation names the prompt. Only a person can allow it, so carry on with other work until its closing message arrives; if it is holding up the task, deny it with a reason and the worker carries on another way: + +```bash +orca orchestration deny --dispatch --prompt --reason "" +``` + Do not leave completed worker terminals open just to re-read output — use `worker-read` after `worker-release`. Do not substitute a broad `terminal close` when release returns `release_pending` or `release_unknown`; follow the receipt's recovery action. ## Federated workers (optional) diff --git a/docs/site/content/docs/cli/reference.mdx b/docs/site/content/docs/cli/reference.mdx index 12cfa96f2b0..bff53fb760b 100644 --- a/docs/site/content/docs/cli/reference.mdx +++ b/docs/site/content/docs/cli/reference.mdx @@ -233,6 +233,21 @@ orca chat rename --name "Migrate auth" Renames a chat tab, the same as renaming it by hand. `--session` takes the `sessionId` that `orca agent launch` prints. Run inside a chat, it defaults to that chat; with `--environment` it is required. +Agents that run as chats are read and messaged with `chat` commands. `--session` takes the session id from `chat list` or the handle `agent launch` returns. + +```bash +orca chat list --json +orca chat list --state working --json +orca chat read --session --limit 10 --json +orca chat send --session --text "Run the tests, then summarize failures" --json +orca chat send --session --text "" --wait --timeout-ms 600000 --json +orca chat wait --session --timeout-ms 600000 --json +``` + +`chat read` returns the newest messages, tool calls, errors, approvals and questions; an approval or question waiting for an answer has `pending: true`. `chat send` sends the text as your message. While the agent is working, hosts with a message queue hold it until the turn ends and report `delivery: "queued"`. A chat that restarted since it was read refuses the send. `--text-file -` reads the message from stdin. + +`chat send --wait` and `chat wait` return once the chat's own turn settles, in the words `chat list` uses: `settled: "done"`, or `settled: "blocked"` when an approval or question needs an answer. Background agents the chat started can still show as `working` or `waiting` in `chat list`. They print the entries since the last user message. A wait past `--timeout-ms` returns `settled: "timeout"`, and a message held in a stopped or failed queue returns `settled: "held"`; both exit 1. `chat read --json` returns a `cursor` for the newest row read, and `truncated: true` when older rows it needed were past the 200-row read. `chat list --state` takes `working`, `blocked`, `waiting` or `done`. Paired hosts (`--environment`, `--pairing-code`) can list chats but not read, send or wait yet. + ## Files ```bash @@ -412,7 +427,7 @@ A selection applies to every agent of that provider launched on the host after i ## Artifacts -Publish HTML or Markdown through the signed-in Orca account. Viewing a public link does not require sign-in; create/list/update/delete do. **Publishing is off by default** — a human must enable **Settings → Artifacts → Allow publishing public artifact links** on the device. There is no CLI flag that grants the gate. `list`, `unshare`, and `delete` stay available so you can audit or revoke links after turning publishing off. +Publish HTML or Markdown through the signed-in Orca account. Viewing a public link does not require sign-in; create/list/update/delete do. Publishing follows **Settings → Artifacts → Allow publishing public artifact links** on the device: on by default for new profiles, while profiles created before this default keep their previous setting. Only a human can change it; there is no CLI flag that grants the gate. `list`, `unshare`, and `delete` stay available so you can audit or revoke links after turning publishing off. ```bash orca artifacts share ./report.html --json diff --git a/docs/site/content/docs/editing/markdown.mdx b/docs/site/content/docs/editing/markdown.mdx index a84c3991611..32869df4e07 100644 --- a/docs/site/content/docs/editing/markdown.mdx +++ b/docs/site/content/docs/editing/markdown.mdx @@ -51,4 +51,4 @@ For long documents, click the **Table of Contents** button (tree icon) in the ed ## Share as artifact -From the editor header, **Share as artifact** publishes the open Markdown file as a public view link through your signed-in Orca account. Requires **Settings → Artifacts → Allow publishing public artifact links** (off by default). Republish updates the same link when Orca still has the mapping; manage or delete links from the sidebar **Artifacts** page. Agents and scripts can use `orca artifacts share|update|list|delete` — see [CLI reference → Artifacts](/docs/cli/reference#artifacts). +From the editor header, **Share as artifact** publishes the open Markdown file as a public view link through your signed-in Orca account. Requires **Settings → Artifacts → Allow publishing public artifact links** (on by default for new profiles). Republish updates the same link when Orca still has the mapping; manage or delete links from the sidebar **Artifacts** page. Agents and scripts can use `orca artifacts share|update|list|delete` — see [CLI reference → Artifacts](/docs/cli/reference#artifacts). diff --git a/docs/site/content/docs/mobile.mdx b/docs/site/content/docs/mobile.mdx index e8fed6790d1..7e2b5050bd6 100644 --- a/docs/site/content/docs/mobile.mdx +++ b/docs/site/content/docs/mobile.mdx @@ -125,6 +125,7 @@ For a direct LAN or Tailscale connection, allow the paired desktop's listening p - **Pairing fails** — make sure your desktop and phone are signed into the same Orca account. Pairing codes expire after a few minutes; generate a fresh one if it's been sitting on the screen. - **Authentication failed / pairing invalid** — the desktop no longer accepts this device token (for example after desktop cleared paired devices). Try **Retry** on the banner first (transient rejections can recover without re-pairing). If it keeps failing, use **Re-pair** from desktop, or **Remove** the host and pair again. - **Update Orca Mobile / Update Orca on your computer** — the phone and desktop speak a versioned mobile protocol. If either side is too old, mobile blocks that host and points you at the App Store (iOS), [GitHub Releases](https://github.com/stablyai/orca/releases) (Android APK or desktop), then back to hosts. After updating, refresh the connection; if the message stays, remove the host and pair again. +- **A chat tab says Update mobile** — the session was started in desktop Chat UI, and this phone's app is too old to show it (the tab opens to an empty pane). Update the mobile app, then reconnect to the host so it sees the new app. If the app is already up to date and the tab still says Update mobile after reconnecting, report it with your mobile app version and desktop Orca version. - **Quick Commands unavailable** — update the paired desktop so it advertises the quick-commands capability. - **Can't reach desktop** — phone and desktop must share a network path (LAN, Tailscale, or the pairing path you used). Closing the desktop app drops the connection; reopen desktop and the phone reconnects automatically. diff --git a/docs/site/content/docs/settings.mdx b/docs/site/content/docs/settings.mdx index 7d71631f1c5..eb489b00875 100644 --- a/docs/site/content/docs/settings.mdx +++ b/docs/site/content/docs/settings.mdx @@ -91,7 +91,7 @@ Settings are grouped into panes. Everything here is searchable with `Cmd-,` then ## Artifacts - **Orca account** — sign in (same account family as Orca Relay) to publish and manage shared files. -- **Allow publishing public artifact links** — **off by default**. Device-wide gate: when on, you, agents, and the `orca` CLI on this machine can upload HTML/Markdown and mint public view links. Turning it off does not delete existing links. +- **Allow publishing public artifact links** — **on by default for new profiles**; profiles created before this default keep their previous setting. Device-wide gate: when on, you, agents, and the `orca` CLI on this machine can upload HTML/Markdown and mint public view links. Turning it off does not delete existing links. - **Show Artifacts** / sidebar shortcut — open the Artifacts list to search, preview, copy, or delete account-owned links. - **Ask Before Deleting Artifacts** — optional confirmation before breaking a public link. - Share from an open local HTML page or Markdown editor with **Share as artifact**, or via `orca artifacts …`. See [CLI reference → Artifacts](/docs/cli/reference#artifacts). diff --git a/mobile/app/_layout.tsx b/mobile/app/_layout.tsx index ba532452c05..4ac8bba5cdb 100644 --- a/mobile/app/_layout.tsx +++ b/mobile/app/_layout.tsx @@ -27,7 +27,7 @@ import { } from '../src/notifications/push-receive' import { startPushTokenSync } from '../src/notifications/push-registration' import { ensureDesktopNotificationChannel } from '../src/notifications/desktop-notification-channel' -import { loadHostCatalog } from '../src/transport/hosts/host-store' +import { loadHostCatalog } from '../src/host-catalog/host-store' import { usePairingLinks } from '../src/navigation/use-pairing-links' import { consumeInitialLaunchIntent } from '../src/navigation/initial-launch-intent' import { recoverMobileRelayPairing } from '../src/pairing/mobile-relay-pairing-recovery' diff --git a/mobile/app/connection-log.tsx b/mobile/app/connection-log.tsx index 8fbcd0057fa..addd3b182b5 100644 --- a/mobile/app/connection-log.tsx +++ b/mobile/app/connection-log.tsx @@ -2,7 +2,7 @@ import { useCallback, useEffect, useMemo, useState, useSyncExternalStore } from import { View, Text, Pressable } from 'react-native' import { useLocalSearchParams, useRouter } from 'expo-router' import * as Clipboard from 'expo-clipboard' -import { loadHosts } from '../src/transport/hosts/host-store' +import { loadHosts } from '../src/host-catalog/host-store' import { connectionLogStore } from '../src/diagnostics/connection/persisted-connection-log-store' import { useRpcClientContext } from '../src/transport/connection/client-context' import { useHostClient } from '../src/transport/connection/host-client-hooks' @@ -22,7 +22,7 @@ import { connectionDiagnosticsScreenStyles as styles } from '../src/diagnostics/ import { useMobileColorScheme } from '../src/theme/use-mobile-color-scheme' import { NATIVE_APP_LOG_ID } from '../src/diagnostics/native-render-log' import type { ConnectionLogEntry } from '../src/diagnostics/connection/connection-log-types' -import type { HostProfile } from '../src/transport/hosts/host-profile' +import type { HostProfile } from '../src/host-catalog/host-profile' import { pressedStyle } from '../src/theme/mobile-theme' // Keep empty snapshot identity stable or useSyncExternalStore rerenders forever. diff --git a/mobile/app/h/[hostId]/edit.tsx b/mobile/app/h/[hostId]/edit.tsx index 38dc364e575..acd13c84186 100644 --- a/mobile/app/h/[hostId]/edit.tsx +++ b/mobile/app/h/[hostId]/edit.tsx @@ -18,7 +18,7 @@ import { NavBar } from '../../../src/components/nav-bar/NavBar' import { NavBarButton } from '../../../src/components/nav-bar/NavBarButton' import { themedStyleSheet } from '../../../src/theme/themed-styles' import { useMobileColorScheme } from '../../../src/theme/use-mobile-color-scheme' -import { loadHosts, updateHostNameAndEndpoint } from '../../../src/transport/hosts/host-store' +import { loadHosts, updateHostNameAndEndpoint } from '../../../src/host-catalog/host-store' import { displayHostEndpoint } from '../../../src/transport/hosts/host-endpoint' import { resolveHostEndpointEdit } from '../../../src/transport/hosts/host-endpoint-edit' import { @@ -26,12 +26,12 @@ import { usePrimeHosts, useRefreshHostClient } from '../../../src/transport/connection/host-client-hooks' -import { removeHostAndCloseClient } from '../../../src/transport/hosts/host-removal-lifecycle' -import { useHostDisplay } from '../../../src/transport/hosts/use-host-display' +import { removeHostAndCloseClient } from '../../../src/host-catalog/host-removal-lifecycle' +import { useHostDisplay } from '../../../src/host-descriptors/use-host-display' import { leaveHostRoute } from '../../../src/host-route-exit' import { ConfirmModal } from '../../../src/components/ConfirmModal' import { ListGroup, ListRow } from '../../../src/components/list/ListGroup' -import type { HostProfile } from '../../../src/transport/hosts/host-profile' +import type { HostProfile } from '../../../src/host-catalog/host-profile' import { hostOs } from '../../../src/platform/host-os' import { translate } from '../../../src/i18n/mobile-i18n' import { useMobileTranslation } from '../../../src/i18n/use-mobile-translation' diff --git a/mobile/app/terminal-settings.tsx b/mobile/app/terminal-settings.tsx index fbd32b1b284..ef85607d591 100644 --- a/mobile/app/terminal-settings.tsx +++ b/mobile/app/terminal-settings.tsx @@ -12,8 +12,8 @@ import { colors, spacing } from '../src/theme/mobile-theme' import { useMobileColorScheme } from '../src/theme/use-mobile-color-scheme' import type { Translate } from '../src/i18n/mobile-i18n' import { useMobileTranslation } from '../src/i18n/use-mobile-translation' -import { loadHosts, peekHosts } from '../src/transport/hosts/host-store' -import type { HostProfile } from '../src/transport/hosts/host-profile' +import { loadHosts, peekHosts } from '../src/host-catalog/host-store' +import type { HostProfile } from '../src/host-catalog/host-profile' import { useFocusedSettingsHostClients } from '../src/settings/settings-host-client-connections' import type { RpcClient } from '../src/transport/rpc/rpc-client-contract' import { LIST_LEADING_INSET, ListRow } from '../src/components/list/ListGroup' diff --git a/mobile/app/voice-settings.tsx b/mobile/app/voice-settings.tsx index ef3a48ea832..3bdb0a66df0 100644 --- a/mobile/app/voice-settings.tsx +++ b/mobile/app/voice-settings.tsx @@ -1,7 +1,7 @@ import { useEffect, useMemo, useState } from 'react' import { useRouter } from 'expo-router' -import { loadHosts, peekHosts } from '../src/transport/hosts/host-store' -import type { HostProfile } from '../src/transport/hosts/host-profile' +import { loadHosts, peekHosts } from '../src/host-catalog/host-store' +import type { HostProfile } from '../src/host-catalog/host-profile' import { useFocusedSettingsHostClients } from '../src/settings/settings-host-client-connections' import VoiceSettingsScreen from '../src/settings/voice-settings-screen' import { nativeVoiceSettingsOperations } from '../src/settings/native-voice-settings-operations' diff --git a/mobile/fastlane/ios_release_version_test.rb b/mobile/fastlane/ios_release_version_test.rb index 96e52e6dc27..45ffa171929 100644 --- a/mobile/fastlane/ios_release_version_test.rb +++ b/mobile/fastlane/ios_release_version_test.rb @@ -14,10 +14,4 @@ class IosReleaseVersionTest < Minitest::Test assert_equal("0.0.36", version) end - def test_max_version_compares_numerically_not_lexically - assert_equal("0.0.10", IosReleaseVersion.max_version(%w[0.0.9 0.0.10 0.0.2])) - assert_equal("0.2.0", IosReleaseVersion.max_version(%w[0.1.99 0.2.0])) - assert_equal("1.0.0", IosReleaseVersion.max_version(%w[0.9.9 1.0.0])) - end - end diff --git a/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/MobileWebShellBridge.kt b/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/MobileWebShellBridge.kt index 045cce54908..99f8bfc2713 100644 --- a/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/MobileWebShellBridge.kt +++ b/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/MobileWebShellBridge.kt @@ -38,7 +38,7 @@ internal enum class MobileWebShellBridgeInstall { /** The prop is false, so nothing is registered and Phase B behaviour is byte-identical. */ SKIP, INSTALL, - /** The WebView provider is older than `WEB_MESSAGE_LISTENER` (Chromium 88). Terminal. */ + /** The WebView provider is older than `WEB_MESSAGE_LISTENER` (Chromium 83). Terminal. */ UNAVAILABLE } diff --git a/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/MobileWebShellDocument.kt b/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/MobileWebShellDocument.kt index af1aff6a343..0d8f77c5fc5 100644 --- a/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/MobileWebShellDocument.kt +++ b/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/MobileWebShellDocument.kt @@ -201,7 +201,7 @@ internal class MobileWebShellDocument(private val context: Context) { view.destroy() } - // Keep explicit settings for the Chromium 83 floor, even where newer WebViews ignore deprecated options. + // Keep explicit settings even where newer WebViews ignore deprecated options; the floor is Chromium 101. // B4 requires device proofs: no network, persistent state, file/content access, cleartext or navigation escape. @Suppress("DEPRECATION") private fun createWebView(): WebView { diff --git a/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/MobileWebShellNetworkApiBlocker.kt b/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/MobileWebShellNetworkApiBlocker.kt index 4c0397fdd0a..0b94103df6e 100644 --- a/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/MobileWebShellNetworkApiBlocker.kt +++ b/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/MobileWebShellNetworkApiBlocker.kt @@ -17,7 +17,7 @@ internal val MOBILE_WEB_SHELL_NETWORK_API_BLOCKER = """ })(); """.trimIndent() -/** Query document-start-script capability (Chromium 83 floor), not version strings. */ +/** Query capability, not version strings; stable WebView has it from Chromium 101. */ internal fun installMobileWebShellNetworkApiBlocker( webView: WebView, allowedOrigin: String diff --git a/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/OrcaMobileWebShellModule.kt b/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/OrcaMobileWebShellModule.kt index abba9fd7675..e08436bd126 100644 --- a/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/OrcaMobileWebShellModule.kt +++ b/mobile/modules/orca-mobile-web-shell/android/src/main/java/expo/modules/orcamobilewebshell/OrcaMobileWebShellModule.kt @@ -8,6 +8,8 @@ import android.content.res.Configuration import android.net.Uri import android.os.Handler import android.os.Looper +import androidx.webkit.WebViewCompat +import androidx.webkit.WebViewFeature import expo.modules.kotlin.exception.CodedException import expo.modules.kotlin.exception.Exceptions import expo.modules.kotlin.functions.Queues @@ -68,6 +70,17 @@ class OrcaMobileWebShellModule : Module() { Uri.fromFile(directory).toString() } + // Lets isolation-unavailable name the WebView to update. + Function("currentWebViewProvider") { + val context = appContext.reactContext ?: return@Function null + val info = WebViewCompat.getCurrentWebViewPackage(context) ?: return@Function null + val version = info.versionName ?: return@Function null + val name = info.applicationInfo?.loadLabel(context.packageManager)?.toString() ?: info.packageName + val hasShellFeatures = WebViewFeature.isFeatureSupported(WebViewFeature.DOCUMENT_START_SCRIPT) && + WebViewFeature.isFeatureSupported(WebViewFeature.WEB_MESSAGE_LISTENER) + mapOf("name" to name, "version" to version, "hasShellFeatures" to hasShellFeatures) + } + AsyncFunction("prepareSpareDocument") { directory: String, sessionId: String -> val activity = appContext.currentActivity ?: return@AsyncFunction false MobileWebShellSparePool.prepare(activity, directory, sessionId) diff --git a/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellBridgeTest.kt b/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellBridgeTest.kt deleted file mode 100644 index c841d7d6276..00000000000 --- a/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellBridgeTest.kt +++ /dev/null @@ -1,26 +0,0 @@ -package expo.modules.orcamobilewebshell - -import org.junit.Assert.assertFalse -import org.junit.Assert.assertTrue -import org.junit.Test - -class MobileWebShellBridgeTest { - @Test - fun `hears only a string message from the main frame of a committed document`() { - assertTrue(frame()) - // Chromium injects into same-origin subframes; enforce main-frame independently of CSP. - assertFalse(frame(isMainFrame = false)) - // An ArrayBuffer message: getData() throws on one, and base64 in JSON is the only binary lane. - assertFalse(frame(isStringMessage = false)) - assertFalse(frame(isMainFrame = false, isStringMessage = false)) - // The replaced same-origin document remains alive until the new load commits. - assertFalse(frame(hasCommittedDocument = false)) - } - - private fun frame( - isMainFrame: Boolean = true, - isStringMessage: Boolean = true, - hasCommittedDocument: Boolean = true - ) = acceptsMobileWebShellBridgeFrame(isMainFrame, isStringMessage, hasCommittedDocument) - -} diff --git a/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellDroppedNavigationTest.kt b/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellDroppedNavigationTest.kt index b9d78ab88a9..1e91b6a3bbf 100644 --- a/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellDroppedNavigationTest.kt +++ b/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellDroppedNavigationTest.kt @@ -10,26 +10,19 @@ private const val DOCUMENT = "orca-mobile-web://sess-01JN_aZ9/" private fun verdict( url: String? = FOREIGN, isForMainFrame: Boolean = true, - isFromSubframe: Boolean = false, isDocumentUrl: Boolean = false, - isShellLoad: Boolean = false, - hasGesture: Boolean = true, - isDownload: Boolean = false + hasGesture: Boolean = true ) = mobileWebShellNavigationVerdict( url, isForMainFrame, - isFromSubframe, + false, isDocumentUrl, - isShellLoad, + false, hasGesture, - isDownload + false ) class MobileWebShellDroppedNavigationTest { - @Test - fun `cancels a foreign navigation a human started and offers it to the opener`() { - assertEquals(MobileWebShellNavigationVerdict.CancelAndOffer(FOREIGN), verdict()) - } @Test fun `refuses every navigation to the document that the shell did not ask for`() { @@ -45,70 +38,12 @@ class MobileWebShellDroppedNavigationTest { ) } - @Test - fun `allows the document only for the load the shell itself started`() { - assertEquals( - MobileWebShellNavigationVerdict.Allow, - verdict(url = DOCUMENT, isDocumentUrl = true, isShellLoad = true, hasGesture = false) - ) - // iOS reports the source frame; a subframe cannot borrow the shell-load flag. - assertEquals( - MobileWebShellNavigationVerdict.Cancel, - verdict( - url = DOCUMENT, - isFromSubframe = true, - isDocumentUrl = true, - isShellLoad = true, - hasGesture = false - ) - ) - } - - @Test - fun `offers a foreign navigation a subframe started, which is the tap in the preview`() { - assertEquals( - MobileWebShellNavigationVerdict.CancelAndOffer(FOREIGN), - verdict(isFromSubframe = true) - ) - } - @Test fun `cancels a foreign navigation with no gesture and offers nothing`() { // Meta refresh/redirects must not open a browser without a user action. assertEquals(MobileWebShellNavigationVerdict.Cancel, verdict(hasGesture = false)) } - @Test - fun `cancels a download rather than allowing it, and offers a gesture-started one`() { - assertEquals( - MobileWebShellNavigationVerdict.Cancel, - verdict( - url = DOCUMENT, - isDocumentUrl = true, - isShellLoad = true, - hasGesture = false, - isDownload = true - ) - ) - assertEquals( - MobileWebShellNavigationVerdict.CancelAndOffer(FOREIGN), - verdict(isDownload = true) - ) - } - - @Test - fun `refuses a download that names the document, and offers it to nobody`() { - // A document-URL download is never offered, from either frame or gesture state. - assertEquals( - MobileWebShellNavigationVerdict.Cancel, - verdict(url = DOCUMENT, isDocumentUrl = true, isDownload = true) - ) - assertEquals( - MobileWebShellNavigationVerdict.Cancel, - verdict(url = DOCUMENT, isFromSubframe = true, isDocumentUrl = true, isDownload = true) - ) - } - @Test fun `offers nothing for a subframe, which is the sealed preview loading itself`() { assertEquals(MobileWebShellNavigationVerdict.Cancel, verdict(isForMainFrame = false)) @@ -130,12 +65,4 @@ class MobileWebShellDroppedNavigationTest { assertEquals(MobileWebShellNavigationVerdict.Cancel, verdict(url = atCap + "a")) } - @Test - fun `says nothing about which schemes open, because TypeScript owns that list`() { - // A scheme the opener will refuse still crosses: one filter, in the half that updates. - assertEquals( - MobileWebShellNavigationVerdict.CancelAndOffer("javascript:alert(1)"), - verdict(url = "javascript:alert(1)") - ) - } } diff --git a/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellGenerationTest.kt b/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellGenerationTest.kt index e956e77db1e..cfde9ace1ce 100644 --- a/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellGenerationTest.kt +++ b/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellGenerationTest.kt @@ -4,10 +4,8 @@ import java.io.File import org.json.JSONArray import org.json.JSONObject import org.junit.Assert.assertEquals -import org.junit.Assert.assertFalse import org.junit.Assert.assertNotNull import org.junit.Assert.assertNull -import org.junit.Assert.assertTrue import org.junit.Test private val DIRECTORY = File("/tmp/generation") @@ -84,45 +82,4 @@ class MobileWebShellGenerationTest { )))) } - @Test - fun `accepts only portable relative asset paths`() { - assertTrue(MobileWebShellGeneration.isServableAssetPath("index.html")) - assertTrue(MobileWebShellGeneration.isServableAssetPath("assets/a-b_c.2.js")) - assertFalse(MobileWebShellGeneration.isServableAssetPath("")) - assertFalse(MobileWebShellGeneration.isServableAssetPath("/leading")) - assertFalse(MobileWebShellGeneration.isServableAssetPath("trailing/")) - assertFalse(MobileWebShellGeneration.isServableAssetPath("a//b")) - assertFalse(MobileWebShellGeneration.isServableAssetPath("../secret")) - assertFalse(MobileWebShellGeneration.isServableAssetPath("assets/../../secret")) - assertFalse(MobileWebShellGeneration.isServableAssetPath("assets/./a.js")) - assertFalse(MobileWebShellGeneration.isServableAssetPath("back\\slash")) - assertFalse(MobileWebShellGeneration.isServableAssetPath("has space.js")) - assertTrue(MobileWebShellGeneration.isServableAssetPath("a".repeat(255))) - assertFalse(MobileWebShellGeneration.isServableAssetPath("a".repeat(256))) - } - - @Test - fun `accepts only a content type that cannot carry a second header`() { - assertTrue(MobileWebShellGeneration.isServableContentType("image/png")) - assertTrue(MobileWebShellGeneration.isServableContentType("text/html; charset=utf-8")) - assertTrue(MobileWebShellGeneration.isServableContentType("application/manifest+json")) - assertFalse(MobileWebShellGeneration.isServableContentType("")) - assertFalse(MobileWebShellGeneration.isServableContentType("text/html\r\nX-Injected: 1")) - assertFalse(MobileWebShellGeneration.isServableContentType("text/html; charset=utf-8; x=1")) - assertFalse(MobileWebShellGeneration.isServableContentType("TEXT/HTML")) - // A header value we did not mint character for character is a value we did not check. - assertFalse(MobileWebShellGeneration.isServableContentType("text/html; charset=UTF-8")) - assertFalse(MobileWebShellGeneration.isServableContentType("text")) - assertFalse(MobileWebShellGeneration.isServableContentType("text/html/extra")) - assertFalse(MobileWebShellGeneration.isServableContentType("/html")) - assertFalse(MobileWebShellGeneration.isServableContentType("-text/html")) - assertFalse(MobileWebShellGeneration.isServableContentType("text/html; charset=")) - assertFalse(MobileWebShellGeneration.isServableContentType("a".repeat(130) + "/b")) - } - - @Test - fun `refuses a directory path that is not absolute`() { - assertNull(MobileWebShellGeneration.load("relative/generation")) - assertNull(MobileWebShellGeneration.load("")) - } } diff --git a/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellOriginTest.kt b/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellOriginTest.kt index 2f4371b7d15..ba68fcb8728 100644 --- a/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellOriginTest.kt +++ b/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellOriginTest.kt @@ -1,9 +1,7 @@ package expo.modules.orcamobilewebshell import org.junit.Assert.assertEquals -import org.junit.Assert.assertFalse import org.junit.Assert.assertNull -import org.junit.Assert.assertTrue import org.junit.Test private const val SESSION = "sess-01JN_aZ9" @@ -36,38 +34,6 @@ private fun resolve(request: MobileWebShellRequestParts): String? = resolveMobileWebShellRequestPath(request, mobileWebShellOriginHost(SESSION)!!) class MobileWebShellOriginTest { - @Test - fun `accepts only base64url session ids within the length bound`() { - assertTrue(isMobileWebShellSessionId("aZ0-_")) - assertTrue(isMobileWebShellSessionId("a".repeat(128))) - assertFalse(isMobileWebShellSessionId("a".repeat(129))) - assertFalse(isMobileWebShellSessionId("")) - assertFalse(isMobileWebShellSessionId("has space")) - assertFalse(isMobileWebShellSessionId("dots.are.hosts.too")) - assertFalse(isMobileWebShellSessionId("sl/ash")) - assertFalse(isMobileWebShellSessionId("sessioñ")) - } - - @Test - fun `labels the origin with a hash of the session id, never a slice of it`() { - val host = mobileWebShellOriginHost(SESSION)!! - val label = host.substringBefore('.') - assertEquals(32, label.length) - assertTrue(label.all { it in '0'..'9' || it in 'a'..'f' }) - // Regression: mixed-case/underscore session slices canonicalized differently and 403’d every asset. - assertFalse(label.startsWith(SESSION.take(8))) - assertEquals("$label.orca-mobile-web.invalid", host) - assertEquals("https://$host", mobileWebShellOrigin(SESSION)) - assertNull(mobileWebShellOriginHost("bad host")) - assertNull(mobileWebShellOrigin("bad host")) - } - - @Test - fun `serves the document and a declared asset path`() { - assertEquals("/", resolve(parts("/"))) - assertEquals("/", resolve(parts(""))) - assertEquals("/assets/aa.js", resolve(parts("/assets/aa.js"))) - } @Test fun `binds a host the parser canonicalised`() { diff --git a/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellRequestPolicyTest.kt b/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellRequestPolicyTest.kt deleted file mode 100644 index 4fcdc656031..00000000000 --- a/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellRequestPolicyTest.kt +++ /dev/null @@ -1,53 +0,0 @@ -package expo.modules.orcamobilewebshell - -import org.junit.Assert.assertFalse -import org.junit.Assert.assertTrue -import org.junit.Test - -private const val POLICY_SESSION = "sess-01JN_aZ9" -private val POLICY_HOST = mobileWebShellOriginHost(POLICY_SESSION)!! - -private fun navigation( - path: String?, - host: String? = POLICY_HOST, - scheme: String? = "https", - query: String? = null -) = MobileWebShellRequestParts( - method = "GET", - hasRangeHeader = false, - scheme = scheme, - host = host, - port = -1, - userInfo = null, - query = query, - fragment = null, - encodedPath = path, - urlLength = 64 -) - -class MobileWebShellRequestPolicyTest { - @Test - fun `lets the document of the served generation load`() { - assertFalse(mobileWebShellDropsNavigation(navigation("/"), POLICY_HOST, true)) - assertFalse(mobileWebShellDropsNavigation(navigation(""), POLICY_HOST, true)) - } - - @Test - fun `drops everything else, so nothing the page builds can navigate`() { - // A subresource path is servable but is not a document; a link out is neither. - assertTrue(mobileWebShellDropsNavigation(navigation("/assets/aa.js"), POLICY_HOST, true)) - assertTrue(mobileWebShellDropsNavigation(navigation("/", query = "v=1"), POLICY_HOST, true)) - assertTrue(mobileWebShellDropsNavigation(navigation("/", host = "example.com"), POLICY_HOST, true)) - assertTrue(mobileWebShellDropsNavigation(navigation("/", scheme = "http"), POLICY_HOST, true)) - assertTrue(mobileWebShellDropsNavigation(navigation("/", scheme = "file"), POLICY_HOST, true)) - assertTrue(mobileWebShellDropsNavigation(navigation("/", scheme = "intent"), POLICY_HOST, true)) - assertTrue(mobileWebShellDropsNavigation(navigation(null), POLICY_HOST, true)) - } - - @Test - fun `drops a subframe navigation and any navigation before a generation is served`() { - assertTrue(mobileWebShellDropsNavigation(navigation("/"), POLICY_HOST, false)) - assertTrue(mobileWebShellDropsNavigation(navigation("/"), null, true)) - } - -} diff --git a/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellResponseHeadersTest.kt b/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellResponseHeadersTest.kt deleted file mode 100644 index 756ee40f47a..00000000000 --- a/mobile/modules/orca-mobile-web-shell/android/src/test/java/expo/modules/orcamobilewebshell/MobileWebShellResponseHeadersTest.kt +++ /dev/null @@ -1,29 +0,0 @@ -package expo.modules.orcamobilewebshell - -import org.junit.Assert.assertEquals -import org.junit.Assert.assertNull -import org.junit.Test - -class MobileWebShellResponseHeadersTest { - @Test - fun `sends the policy on the document`() { - val headers = mobileWebShellResponseHeaders("/", 12) - assertEquals(MOBILE_WEB_SHELL_CSP, headers["Content-Security-Policy"]) - assertEquals("12", headers["Content-Length"]) - assertEquals("no-store", headers["Cache-Control"]) - assertEquals("nosniff", headers["X-Content-Type-Options"]) - // HTTPS images must not receive session identity; see MobileWebShellResponseHeaders. - assertEquals("no-referrer", headers["Referrer-Policy"]) - } - - @Test - fun `sends the policy on nothing else`() { - for (path in listOf("/index.html", "/assets/aa.js", "/manifest.json", "/assets/bb.png")) { - val headers = mobileWebShellResponseHeaders(path, 12) - assertNull(headers["Content-Security-Policy"]) - // Referrer policy governs requests only when set on the document. - assertNull(headers["Referrer-Policy"]) - } - } - -} diff --git a/mobile/modules/orca-mobile-web-shell/src/index.ts b/mobile/modules/orca-mobile-web-shell/src/index.ts index 97979cd7019..4e072e2efb2 100644 --- a/mobile/modules/orca-mobile-web-shell/src/index.ts +++ b/mobile/modules/orca-mobile-web-shell/src/index.ts @@ -18,7 +18,7 @@ export type OrcaMobileWebShellViewProps = ViewProps & { generationDirectory: string /** `[A-Za-z0-9_-]{1,128}`. Scopes the private origin, so every mount must mint a fresh one. */ sessionId: string - // Bridge is off by default with nothing registered. Opt-in on Android below WEB_MESSAGE_LISTENER/Chromium 88 fails isolation-unavailable instead of loading unfenced. + // Bridge is off by default with nothing registered. Opt-in on Android below WEB_MESSAGE_LISTENER/Chromium 83 fails isolation-unavailable instead of loading unfenced. bridgeEnabled?: boolean onLoadState?: (event: NativeSyntheticEvent) => void // Raw JSON from window.orcaBridge; native silently rejects other origins/frames/WebViews and envelopes above 640 KiB (MobileWebShellBridge.maxMessageByteCount). @@ -82,6 +82,23 @@ export function warmUpWebShell(): void { } } +export type WebViewProvider = { name: string; version: string; hasShellFeatures: boolean } + +// Android only: the WebView provider and whether it has the shell's fences. Null when unknown. +export function currentWebViewProvider(): WebViewProvider | null { + if (Platform.OS !== 'android') { + return null + } + const shell = requireOptionalNativeModule<{ + currentWebViewProvider?: () => WebViewProvider | null + }>('OrcaMobileWebShell') + try { + return shell?.currentWebViewProvider?.() ?? null + } catch { + return null + } +} + export { MOBILE_WEB_SHELL_FAILURE_REASONS, parseMobileWebShellLoadState, diff --git a/mobile/rpc-foundation/goldens/browser-dialog-accepted.json b/mobile/rpc-foundation/goldens/browser-dialog-accepted.json deleted file mode 100644 index 726f1dab389..00000000000 --- a/mobile/rpc-foundation/goldens/browser-dialog-accepted.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "browser.page-commands", - "family": "browser.dialog", - "namedDeltas": [], - "values": { - "93f4e9f3ead2": { - "name": "browser.dialogAccept#1", - "ordinal": 2, - "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": [] - }, - "cd44f29d755e": { - "name": "browser.dialogAccept#1", - "ordinal": 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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "browser-dialog-accepted", - "checkpoints": [ - { - "id": "dismissed", - "observation": { - "sender": ["cd44f29d755e"], - "payloads": ["93f4e9f3ead2"], - "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 deleted file mode 100644 index dede085018b..00000000000 --- a/mobile/rpc-foundation/goldens/browser-dialog-dismissed.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "browser.page-commands", - "family": "browser.dialog", - "namedDeltas": [], - "values": { - "44cc0151aab3": { - "name": "browser.dialogDismiss#1", - "ordinal": 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 - } - } - } - }, - "9855d4ec3415": { - "busy": false, - "dialog": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "keyboardValue": "hello", - "pointerModifiers": [] - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f27b7eb2da31": { - "name": "browser.dialogDismiss#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.dialogDismiss\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\"}}" - } - }, - "recording": { - "scenario": "browser-dialog-dismissed", - "checkpoints": [ - { - "id": "dismissed", - "observation": { - "sender": ["44cc0151aab3"], - "payloads": ["f27b7eb2da31"], - "settlements": { - "mount": "eb79a9b3682a", - "dialog": "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 deleted file mode 100644 index c8502d4fc3e..00000000000 --- a/mobile/rpc-foundation/goldens/clipboard-image-attachment-anonymous.json +++ /dev/null @@ -1,210 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "clipboard.image-terminal-attachment", - "family": "clipboard.image-attachment", - "namedDeltas": [], - "values": { - "08a3a6323626": { - "name": "before-terminal-send", - "ordinal": 8, - "value": { - "terminal": "terminal-1" - } - }, - "6696a47819e1": { - "name": "clipboard.startImageUpload#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" - }, - "7c2e3ea286aa": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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-1", - "ok": true, - "result": { - "uploadId": "upload-1" - } - } - } - }, - "7ed3d39f0607": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": false - }, - "814ccd56a769": { - "name": "clipboard.appendImageUploadChunk#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" - }, - "8452698ac11a": { - "name": "clipboard.commitImageUpload#1", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.commitImageUpload\",\"params\":{\"uploadId\":\"upload-1\"}}" - }, - "89d34592cd07": { - "name": "terminal.send#1", - "ordinal": 9, - "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 - } - } - } - } - }, - "8aa742456efd": { - "attached": false, - "failure": { - "$rpc": "null" - } - }, - "994fccf9b305": { - "name": "upload-start", - "ordinal": 1, - "value": {} - }, - "b50d2ec23283": { - "name": "clipboard.commitImageUpload#1", - "ordinal": 6, - "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" - } - } - }, - "b8f944bef6f2": { - "name": "terminal.send#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[200~/tmp/img.png\\u001b[201~ \",\"enter\":false}}" - }, - "f05e4695ffa3": { - "name": "clipboard.appendImageUploadChunk#1", - "ordinal": 4, - "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": ["7c2e3ea286aa", "f05e4695ffa3", "b50d2ec23283", "89d34592cd07"], - "payloads": ["6696a47819e1", "814ccd56a769", "8452698ac11a", "b8f944bef6f2"], - "settlements": { - "anonymous": "7ed3d39f0607" - }, - "state": "8aa742456efd", - "effects": ["994fccf9b305", "08a3a6323626"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/clipboard-image-attachment-cancelled.json b/mobile/rpc-foundation/goldens/clipboard-image-attachment-cancelled.json deleted file mode 100644 index 14898d57580..00000000000 --- a/mobile/rpc-foundation/goldens/clipboard-image-attachment-cancelled.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "clipboard.image-terminal-attachment", - "family": "clipboard.image-attachment", - "namedDeltas": [], - "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-upload-start-refused.json b/mobile/rpc-foundation/goldens/clipboard-image-upload-start-refused.json deleted file mode 100644 index 7af74098b99..00000000000 --- a/mobile/rpc-foundation/goldens/clipboard-image-upload-start-refused.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "clipboard.image-upload", - "family": "clipboard.image-upload", - "namedDeltas": [], - "values": { - "765ab192e1a5": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Image is too large", - "isRpcDeliveryUnknown": false - } - }, - "7bc2e4227914": { - "name": "clipboard.startImageUpload#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" - }, - "a338b739235b": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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 - } - } - }, - "a69f0ea71c3c": { - "failure": "Image is too large", - "path": "unsaved" - } - }, - "recording": { - "scenario": "clipboard-image-upload-start-refused", - "checkpoints": [ - { - "id": "start-refused", - "observation": { - "sender": ["a338b739235b"], - "payloads": ["7bc2e4227914"], - "settlements": { - "remote": "765ab192e1a5" - }, - "state": "a69f0ea71c3c", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/lifecycle-b3.json b/mobile/rpc-foundation/goldens/lifecycle-b3.json index a4e00972d1f..142b636bcf0 100644 --- a/mobile/rpc-foundation/goldens/lifecycle-b3.json +++ b/mobile/rpc-foundation/goldens/lifecycle-b3.json @@ -807,166 +807,6 @@ "e5fab2f35849" ] } - }, - { - "id": "b3.blur-before-1:lifecycle-boundary", - "observation": { - "sender": ["0056f47b204a", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a", - "lifecycle-blur": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.blur-before-1:issue-refused-comments-pending", - "observation": { - "sender": ["d3dc79e5717b", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a", - "lifecycle-blur": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.blur-before-1:settled", - "observation": { - "sender": ["d3dc79e5717b", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a", - "lifecycle-blur": "eb79a9b3682a" - }, - "state": "42903545f0f8", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "51ea77da7dbd", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.blur-after-1:lifecycle-boundary", - "observation": { - "sender": ["d3dc79e5717b", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a", - "lifecycle-blur": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.blur-after-1:issue-refused-comments-pending", - "observation": { - "sender": ["d3dc79e5717b", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a", - "lifecycle-blur": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.blur-after-1:settled", - "observation": { - "sender": ["d3dc79e5717b", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a", - "lifecycle-blur": "eb79a9b3682a" - }, - "state": "42903545f0f8", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "51ea77da7dbd", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.blur-before-2:lifecycle-boundary", - "observation": { - "sender": ["d3dc79e5717b", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a", - "lifecycle-blur": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.blur-before-2:settled", - "observation": { - "sender": ["d3dc79e5717b", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a", - "lifecycle-blur": "eb79a9b3682a" - }, - "state": "42903545f0f8", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "51ea77da7dbd", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.blur-after-2:lifecycle-boundary", - "observation": { - "sender": ["d3dc79e5717b", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a", - "lifecycle-blur": "eb79a9b3682a" - }, - "state": "42903545f0f8", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "51ea77da7dbd", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.blur-after-2:settled", - "observation": { - "sender": ["d3dc79e5717b", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a", - "lifecycle-blur": "eb79a9b3682a" - }, - "state": "42903545f0f8", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "51ea77da7dbd", - "8ccd4fa759a5" - ] - } } ] } diff --git a/mobile/rpc-foundation/goldens/lifecycle-inventory-lifecycle.json b/mobile/rpc-foundation/goldens/lifecycle-inventory-lifecycle.json index fbe36b8c164..860986cecc7 100644 --- a/mobile/rpc-foundation/goldens/lifecycle-inventory-lifecycle.json +++ b/mobile/rpc-foundation/goldens/lifecycle-inventory-lifecycle.json @@ -452,118 +452,6 @@ "state": "602e35a92eec", "effects": [] } - }, - { - "id": "inventory-lifecycle.blur-before-1:lifecycle-boundary", - "observation": { - "sender": ["bf6281c52e28"], - "payloads": ["8db0d1234c94"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "lifecycle-blur": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "inventory-lifecycle.blur-before-1:settled", - "observation": { - "sender": ["32c9018052ba", "2f1953cc0315"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "lifecycle-blur": "d2ad71e601c4" - }, - "state": "fe1aebea954c", - "effects": [] - } - }, - { - "id": "inventory-lifecycle.blur-after-1:lifecycle-boundary", - "observation": { - "sender": ["32c9018052ba", "ea94d4508bba"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "lifecycle-blur": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "inventory-lifecycle.blur-after-1:settled", - "observation": { - "sender": ["32c9018052ba", "2f1953cc0315"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "lifecycle-blur": "d2ad71e601c4" - }, - "state": "fe1aebea954c", - "effects": [] - } - }, - { - "id": "inventory-lifecycle.blur-before-2:lifecycle-boundary", - "observation": { - "sender": ["32c9018052ba", "ea94d4508bba"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "lifecycle-blur": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "inventory-lifecycle.blur-before-2:settled", - "observation": { - "sender": ["32c9018052ba", "2f1953cc0315"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "lifecycle-blur": "d2ad71e601c4" - }, - "state": "fe1aebea954c", - "effects": [] - } - }, - { - "id": "inventory-lifecycle.blur-after-2:lifecycle-boundary", - "observation": { - "sender": ["32c9018052ba", "2f1953cc0315"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "lifecycle-blur": "d2ad71e601c4" - }, - "state": "fe1aebea954c", - "effects": [] - } - }, - { - "id": "inventory-lifecycle.blur-after-2:settled", - "observation": { - "sender": ["32c9018052ba", "2f1953cc0315"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "lifecycle-blur": "d2ad71e601c4" - }, - "state": "fe1aebea954c", - "effects": [] - } } ] } 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 9e047e28269..ad9b968c396 100644 --- a/mobile/rpc-foundation/goldens/lifecycle-settings-bot-overrides-fulfilled.json +++ b/mobile/rpc-foundation/goldens/lifecycle-settings-bot-overrides-fulfilled.json @@ -263,58 +263,6 @@ "state": "4f53cda18c2b", "effects": [] } - }, - { - "id": "settings-bot-overrides-fulfilled.blur-before-1:lifecycle-boundary", - "observation": { - "sender": ["e3973bb12da1"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "lifecycle-blur": "eb79a9b3682a" - }, - "state": "4f53cda18c2b", - "effects": [] - } - }, - { - "id": "settings-bot-overrides-fulfilled.blur-before-1:settled", - "observation": { - "sender": ["b0e514c7c334"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "lifecycle-blur": "eb79a9b3682a" - }, - "state": "d52c8e96e222", - "effects": [] - } - }, - { - "id": "settings-bot-overrides-fulfilled.blur-after-1:lifecycle-boundary", - "observation": { - "sender": ["b0e514c7c334"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "lifecycle-blur": "eb79a9b3682a" - }, - "state": "d52c8e96e222", - "effects": [] - } - }, - { - "id": "settings-bot-overrides-fulfilled.blur-after-1:settled", - "observation": { - "sender": ["b0e514c7c334"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "lifecycle-blur": "eb79a9b3682a" - }, - "state": "d52c8e96e222", - "effects": [] - } } ] } diff --git a/mobile/rpc-foundation/goldens/matrix-agentsession.structured-create-agentsession.create-1.json b/mobile/rpc-foundation/goldens/matrix-agentsession.structured-create-agentsession.create-1.json deleted file mode 100644 index 6bcd41482d1..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-agentsession.structured-create-agentsession.create-1.json +++ /dev/null @@ -1,785 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "agentSession.structured-launch", - "family": "agentSession.structured-create", - "namedDeltas": [], - "values": { - "001cba249e32": { - "name": "agentSession.create#2", - "ordinal": 5, - "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": "pending", - "startedAt": 0 - } - }, - "00c4403a6cae": { - "name": "agentSession.create#1", - "ordinal": 3, - "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 - } - } - }, - "052339a099eb": { - "name": "agentSession.create#1", - "ordinal": 3, - "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": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "05c8ed108777": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "kind": "unknown", - "message": "The Claude chat result could not be confirmed." - } - }, - "122f5b326dbb": { - "launched": { - "kind": "failed", - "message": "Unknown method" - } - }, - "18bdbb57da23": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "kind": "unknown", - "message": "outer refused" - } - }, - "3ce787e7eb26": { - "name": "agentSession.create#1", - "ordinal": 3, - "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": "", - "isRpcDeliveryUnknown": true - } - } - }, - "3e8a38dc3ecb": { - "name": "agentSession.create#1", - "ordinal": 3, - "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": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "568aa5cfc6b5": { - "name": "agentSession.createSupport#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.createSupport\",\"params\":{\"worktree\":\"id:workspace-1\",\"agent\":\"claude\"}}" - }, - "5d0f7c315752": { - "name": "agentSession.create#1", - "ordinal": 3, - "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": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "616f0f78cd71": { - "launched": { - "kind": "unknown", - "message": "outer refused" - } - }, - "6d6669cd1a85": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "kind": "created", - "sessionId": "claude_00000000_0000_4000_8000_000000000001" - } - }, - "73bdf299262b": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "kind": "failed", - "message": "Unknown method" - } - }, - "7903f6b6f8fd": { - "name": "agentSession.create#1", - "ordinal": 3, - "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": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "907c2954b0e2": { - "name": "agentSession.create#1", - "ordinal": 3, - "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": { - "error": "refused" - } - } - } - }, - "91f56e5d551d": { - "name": "agentSession.create#1", - "ordinal": 4, - "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\"}}" - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "95e3678a4ba5": { - "name": "agentSession.create#1", - "ordinal": 3, - "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": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "9e17c54fa815": { - "name": "agentSession.create#1", - "ordinal": 3, - "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": { - "$rpc": "null" - } - } - } - }, - "a4273b38df83": { - "launched": "unlaunched" - }, - "a75955abbbbc": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - } - }, - "b5f7cf9d778d": { - "name": "agentSession.create#1", - "ordinal": 3, - "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" - } - } - } - } - }, - "c4b8d1feb09b": { - "name": "agentSession.create#1", - "ordinal": 3, - "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": { - "error": "inner refused", - "ok": false - } - } - } - }, - "d00057b53c3e": { - "launched": { - "kind": "created", - "sessionId": "claude_00000000_0000_4000_8000_000000000001" - } - }, - "f931c8ee446a": { - "launched": { - "kind": "unknown", - "message": "The Claude chat result could not be confirmed." - } - }, - "fdff1e265b45": { - "name": "agentSession.create#2", - "ordinal": 6, - "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\"}}" - } - }, - "recording": { - "scenario": "matrix-agentsession.structured-create-agentsession.create-1", - "checkpoints": [ - { - "id": "structured-agent-session-created.normal:created", - "observation": { - "sender": ["a75955abbbbc", "b5f7cf9d778d"], - "payloads": ["568aa5cfc6b5", "91f56e5d551d"], - "settlements": { - "claude": "6d6669cd1a85" - }, - "state": "d00057b53c3e", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.result-absent:created", - "observation": { - "sender": ["a75955abbbbc", "00c4403a6cae"], - "payloads": ["568aa5cfc6b5", "91f56e5d551d"], - "settlements": { - "claude": "05c8ed108777" - }, - "state": "f931c8ee446a", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.result-null:created", - "observation": { - "sender": ["a75955abbbbc", "9e17c54fa815"], - "payloads": ["568aa5cfc6b5", "91f56e5d551d"], - "settlements": { - "claude": "05c8ed108777" - }, - "state": "f931c8ee446a", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.inner-ok-missing:created", - "observation": { - "sender": ["a75955abbbbc", "907c2954b0e2"], - "payloads": ["568aa5cfc6b5", "91f56e5d551d"], - "settlements": { - "claude": "05c8ed108777" - }, - "state": "f931c8ee446a", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.inner-false-string-error:created", - "observation": { - "sender": ["a75955abbbbc", "c4b8d1feb09b"], - "payloads": ["568aa5cfc6b5", "91f56e5d551d"], - "settlements": { - "claude": "05c8ed108777" - }, - "state": "f931c8ee446a", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.inner-false-object-error:created", - "observation": { - "sender": ["a75955abbbbc", "052339a099eb"], - "payloads": ["568aa5cfc6b5", "91f56e5d551d"], - "settlements": { - "claude": "05c8ed108777" - }, - "state": "f931c8ee446a", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.outer-refused:created", - "observation": { - "sender": ["a75955abbbbc", "7903f6b6f8fd"], - "payloads": ["568aa5cfc6b5", "91f56e5d551d"], - "settlements": { - "claude": "18bdbb57da23" - }, - "state": "616f0f78cd71", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.outer-refused-no-message:created", - "observation": { - "sender": ["a75955abbbbc", "5d0f7c315752"], - "payloads": ["568aa5cfc6b5", "91f56e5d551d"], - "settlements": { - "claude": "05c8ed108777" - }, - "state": "f931c8ee446a", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.method-not-found:created", - "observation": { - "sender": ["a75955abbbbc", "3e8a38dc3ecb"], - "payloads": ["568aa5cfc6b5", "91f56e5d551d"], - "settlements": { - "claude": "73bdf299262b" - }, - "state": "122f5b326dbb", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.transport-rejection:created", - "observation": { - "sender": ["a75955abbbbc", "95e3678a4ba5", "001cba249e32"], - "payloads": ["568aa5cfc6b5", "91f56e5d551d", "fdff1e265b45"], - "settlements": { - "claude": "9270aeb7d9c6" - }, - "state": "a4273b38df83", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.transport-rejection-no-message:created", - "observation": { - "sender": ["a75955abbbbc", "3ce787e7eb26", "001cba249e32"], - "payloads": ["568aa5cfc6b5", "91f56e5d551d", "fdff1e265b45"], - "settlements": { - "claude": "9270aeb7d9c6" - }, - "state": "a4273b38df83", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-agentsession.structured-create-agentsession.createsupport-1.json b/mobile/rpc-foundation/goldens/matrix-agentsession.structured-create-agentsession.createsupport-1.json deleted file mode 100644 index 77e30e9cdbd..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-agentsession.structured-create-agentsession.createsupport-1.json +++ /dev/null @@ -1,634 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "agentSession.structured-launch", - "family": "agentSession.structured-create", - "namedDeltas": [], - "values": { - "04f63acf891a": { - "launched": { - "kind": "unsupported", - "reason": { - "$rpc": "undefined" - } - } - }, - "0dd78669f08d": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - }, - "1554c780f755": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - } - }, - "25ff00540c46": { - "name": "agentSession.createSupport#1", - "ordinal": 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" - } - } - } - }, - "27cc7a2b58c9": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - } - }, - "2c227fd1941f": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "kind": "unsupported" - } - }, - "553200ba8c0f": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - }, - "568aa5cfc6b5": { - "name": "agentSession.createSupport#1", - "ordinal": 2, - "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" - } - }, - "8201501565d9": { - "name": "agentSession.createSupport#1", - "ordinal": 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" - } - } - } - }, - "91f56e5d551d": { - "name": "agentSession.create#1", - "ordinal": 4, - "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\"}}" - }, - "a4da7b5347e4": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - }, - "a75955abbbbc": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - } - }, - "b5f7cf9d778d": { - "name": "agentSession.create#1", - "ordinal": 3, - "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" - } - } - } - } - }, - "be9e3b9ce2e7": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - }, - "d00057b53c3e": { - "launched": { - "kind": "created", - "sessionId": "claude_00000000_0000_4000_8000_000000000001" - } - }, - "da841ebfb6b9": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - }, - "efee3e1e1620": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - }, - "f0bb9de9827c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "kind": "unsupported", - "reason": { - "$rpc": "undefined" - } - } - }, - "f40adca316f9": { - "launched": { - "kind": "unsupported" - } - } - }, - "recording": { - "scenario": "matrix-agentsession.structured-create-agentsession.createsupport-1", - "checkpoints": [ - { - "id": "structured-agent-session-created.normal:created", - "observation": { - "sender": ["a75955abbbbc", "b5f7cf9d778d"], - "payloads": ["568aa5cfc6b5", "91f56e5d551d"], - "settlements": { - "claude": "6d6669cd1a85" - }, - "state": "d00057b53c3e", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.result-absent:created", - "observation": { - "sender": ["be9e3b9ce2e7"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "f0bb9de9827c" - }, - "state": "04f63acf891a", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.result-null:created", - "observation": { - "sender": ["8201501565d9"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "f0bb9de9827c" - }, - "state": "04f63acf891a", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.inner-ok-missing:created", - "observation": { - "sender": ["25ff00540c46"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "f0bb9de9827c" - }, - "state": "04f63acf891a", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.inner-false-string-error:created", - "observation": { - "sender": ["1554c780f755"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "f0bb9de9827c" - }, - "state": "04f63acf891a", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.inner-false-object-error:created", - "observation": { - "sender": ["27cc7a2b58c9"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "f0bb9de9827c" - }, - "state": "04f63acf891a", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.outer-refused:created", - "observation": { - "sender": ["553200ba8c0f"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "2c227fd1941f" - }, - "state": "f40adca316f9", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.outer-refused-no-message:created", - "observation": { - "sender": ["0dd78669f08d"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "2c227fd1941f" - }, - "state": "f40adca316f9", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.method-not-found:created", - "observation": { - "sender": ["efee3e1e1620"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "2c227fd1941f" - }, - "state": "f40adca316f9", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.transport-rejection:created", - "observation": { - "sender": ["da841ebfb6b9"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "2c227fd1941f" - }, - "state": "f40adca316f9", - "effects": [] - } - }, - { - "id": "structured-agent-session-created.transport-rejection-no-message:created", - "observation": { - "sender": ["a4da7b5347e4"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "2c227fd1941f" - }, - "state": "f40adca316f9", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index baeba916d86..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-agentsession.structured-launch-agentsession.createsupport-1.json +++ /dev/null @@ -1,583 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "agentSession.structured-launch", - "family": "agentSession.structured-launch", - "namedDeltas": [], - "values": { - "04f63acf891a": { - "launched": { - "kind": "unsupported", - "reason": { - "$rpc": "undefined" - } - } - }, - "0dd78669f08d": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - }, - "1554c780f755": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - } - }, - "25ff00540c46": { - "name": "agentSession.createSupport#1", - "ordinal": 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" - } - } - } - }, - "27cc7a2b58c9": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - } - }, - "2c227fd1941f": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "kind": "unsupported" - } - }, - "551313dcc738": { - "launched": { - "kind": "unsupported", - "reason": "remote" - } - }, - "553200ba8c0f": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - }, - "568aa5cfc6b5": { - "name": "agentSession.createSupport#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.createSupport\",\"params\":{\"worktree\":\"id:workspace-1\",\"agent\":\"claude\"}}" - }, - "57e0653db3e3": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - } - }, - "8201501565d9": { - "name": "agentSession.createSupport#1", - "ordinal": 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" - } - } - } - }, - "a4da7b5347e4": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - }, - "be9e3b9ce2e7": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - }, - "da841ebfb6b9": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - }, - "dd51c5566f19": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "kind": "unsupported", - "reason": "remote" - } - }, - "efee3e1e1620": { - "name": "agentSession.createSupport#1", - "ordinal": 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 - } - } - }, - "f0bb9de9827c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "kind": "unsupported", - "reason": { - "$rpc": "undefined" - } - } - }, - "f40adca316f9": { - "launched": { - "kind": "unsupported" - } - } - }, - "recording": { - "scenario": "matrix-agentsession.structured-launch-agentsession.createsupport-1", - "checkpoints": [ - { - "id": "structured-launch-unsupported.normal:unsupported", - "observation": { - "sender": ["57e0653db3e3"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "dd51c5566f19" - }, - "state": "551313dcc738", - "effects": [] - } - }, - { - "id": "structured-launch-unsupported.result-absent:unsupported", - "observation": { - "sender": ["be9e3b9ce2e7"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "f0bb9de9827c" - }, - "state": "04f63acf891a", - "effects": [] - } - }, - { - "id": "structured-launch-unsupported.result-null:unsupported", - "observation": { - "sender": ["8201501565d9"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "f0bb9de9827c" - }, - "state": "04f63acf891a", - "effects": [] - } - }, - { - "id": "structured-launch-unsupported.inner-ok-missing:unsupported", - "observation": { - "sender": ["25ff00540c46"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "f0bb9de9827c" - }, - "state": "04f63acf891a", - "effects": [] - } - }, - { - "id": "structured-launch-unsupported.inner-false-string-error:unsupported", - "observation": { - "sender": ["1554c780f755"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "f0bb9de9827c" - }, - "state": "04f63acf891a", - "effects": [] - } - }, - { - "id": "structured-launch-unsupported.inner-false-object-error:unsupported", - "observation": { - "sender": ["27cc7a2b58c9"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "f0bb9de9827c" - }, - "state": "04f63acf891a", - "effects": [] - } - }, - { - "id": "structured-launch-unsupported.outer-refused:unsupported", - "observation": { - "sender": ["553200ba8c0f"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "2c227fd1941f" - }, - "state": "f40adca316f9", - "effects": [] - } - }, - { - "id": "structured-launch-unsupported.outer-refused-no-message:unsupported", - "observation": { - "sender": ["0dd78669f08d"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "2c227fd1941f" - }, - "state": "f40adca316f9", - "effects": [] - } - }, - { - "id": "structured-launch-unsupported.method-not-found:unsupported", - "observation": { - "sender": ["efee3e1e1620"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "2c227fd1941f" - }, - "state": "f40adca316f9", - "effects": [] - } - }, - { - "id": "structured-launch-unsupported.transport-rejection:unsupported", - "observation": { - "sender": ["da841ebfb6b9"], - "payloads": ["568aa5cfc6b5"], - "settlements": { - "claude": "2c227fd1941f" - }, - "state": "f40adca316f9", - "effects": [] - } - }, - { - "id": "structured-launch-unsupported.transport-rejection-no-message:unsupported", - "observation": { - "sender": ["a4da7b5347e4"], - "payloads": ["568aa5cfc6b5"], - "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 deleted file mode 100644 index 3d52b2d86ac..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-aivault.history-aivault.listsessions-1.json +++ /dev/null @@ -1,899 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "aiVault.history-scan", - "family": "aiVault.history", - "namedDeltas": [], - "values": { - "03fd6edde488": { - "name": "aiVault.listSessions#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "issues": [], - "sessions": [ - { - "agent": "claude", - "cwd": "/repo/feature", - "id": "s1" - } - ] - } - } - } - }, - "2182656920b3": { - "name": "aiVault.listSessions#1", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"],\"scopeOnly\":true}}" - }, - "22fcaac5d4c6": { - "name": "aiVault.listSessions#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "30f2a42bed00": { - "activeWorktreePath": "/repo/feature", - "refreshing": false, - "scope": "workspace", - "screenState": { - "kind": "loading" - } - }, - "3354c863b6ab": { - "name": "aiVault.listSessions#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "352956d73b28": { - "name": "aiVault.listSessions#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - }, - "44a27dbf05e2": { - "name": "status.get#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "758b3fde1948": { - "name": "streams-registered-at-teardown", - "ordinal": 6, - "value": [ - { - "cancelled": false, - "method": "agentSession.subscribeStatus", - "payload": "agentSession.subscribeStatus#1" - } - ] - }, - "77e40752545b": { - "name": "aiVault.listSessions#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "7a3238411452": { - "name": "aiVault.listSessions#2", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"],\"scopeOnly\":true}}" - }, - "7b5906668e74": { - "name": "aiVault.listSessions#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "7e8b2964ad63": { - "name": "streams-registered-at-teardown", - "ordinal": 8, - "value": [ - { - "cancelled": false, - "method": "agentSession.subscribeStatus", - "payload": "agentSession.subscribeStatus#1" - } - ] - }, - "7e910f2e6951": { - "name": "aiVault.listSessions#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "86a28f6d8cdc": { - "activeWorktreePath": "/repo/feature", - "refreshing": false, - "scope": "workspace", - "screenState": { - "kind": "error", - "message": "outer refused" - } - }, - "95ba1077fb6d": { - "name": "aiVault.listSessions#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "9aa0df31dc4d": { - "activeWorktreePath": "/repo/feature", - "refreshing": false, - "scope": "workspace", - "screenState": { - "issues": [], - "kind": "ready", - "sessions": [ - { - "agent": "claude", - "cwd": "/repo/feature", - "id": "s1" - } - ] - } - }, - "9cfa0bcd2a8a": { - "name": "aiVault.listSessions#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "a60ec274c87f": { - "activeWorktreePath": "/repo/feature", - "refreshing": false, - "scope": "workspace", - "screenState": { - "kind": "error", - "message": "The host sent a reply this app could not read (aiVault.listSessions)" - } - }, - "a91d79d0bc23": { - "name": "aiVault.listSessions#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "b838b12acde6": { - "activeWorktreePath": "/repo/feature", - "refreshing": false, - "scope": "workspace", - "screenState": { - "kind": "error", - "message": "Unknown method" - } - }, - "bcc1d8502cdb": { - "name": "aiVault.listSessions#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "c23be45f1637": { - "activeWorktreePath": "/repo/feature", - "refreshing": false, - "scope": "workspace", - "screenState": { - "kind": "error", - "message": "Unable to load agent sessions" - } - }, - "c82cd1b39ee0": { - "name": "aiVault.listSessions#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "cd9a4ebd035d": { - "name": "aiVault.listSessions#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "daf52dc85a58": { - "name": "status.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "capabilities": ["aiVault.v1"] - } - } - } - }, - "e28c488ce6b2": { - "name": "agentSession.subscribeStatus#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.subscribeStatus\",\"params\":{}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-aivault.history-aivault.listsessions-1", - "checkpoints": [ - { - "id": "aivault-history-scan-fulfilled.normal:ready", - "observation": { - "sender": ["daf52dc85a58", "03fd6edde488"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9aa0df31dc4d", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.normal:cleanup", - "observation": { - "sender": ["daf52dc85a58", "03fd6edde488"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9aa0df31dc4d", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-scan-fulfilled.result-absent:ready", - "observation": { - "sender": ["daf52dc85a58", "77e40752545b"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a60ec274c87f", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.result-absent:cleanup", - "observation": { - "sender": ["daf52dc85a58", "77e40752545b"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a60ec274c87f", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-scan-fulfilled.result-null:ready", - "observation": { - "sender": ["daf52dc85a58", "7b5906668e74"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a60ec274c87f", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.result-null:cleanup", - "observation": { - "sender": ["daf52dc85a58", "7b5906668e74"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a60ec274c87f", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-scan-fulfilled.inner-ok-missing:ready", - "observation": { - "sender": ["daf52dc85a58", "95ba1077fb6d"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a60ec274c87f", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.inner-ok-missing:cleanup", - "observation": { - "sender": ["daf52dc85a58", "95ba1077fb6d"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a60ec274c87f", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-scan-fulfilled.inner-false-string-error:ready", - "observation": { - "sender": ["daf52dc85a58", "3354c863b6ab"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a60ec274c87f", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.inner-false-string-error:cleanup", - "observation": { - "sender": ["daf52dc85a58", "3354c863b6ab"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a60ec274c87f", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-scan-fulfilled.inner-false-object-error:ready", - "observation": { - "sender": ["daf52dc85a58", "cd9a4ebd035d"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a60ec274c87f", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.inner-false-object-error:cleanup", - "observation": { - "sender": ["daf52dc85a58", "cd9a4ebd035d"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a60ec274c87f", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-scan-fulfilled.outer-refused:ready", - "observation": { - "sender": ["daf52dc85a58", "c82cd1b39ee0"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "86a28f6d8cdc", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.outer-refused:cleanup", - "observation": { - "sender": ["daf52dc85a58", "c82cd1b39ee0"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "86a28f6d8cdc", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-scan-fulfilled.outer-refused-no-message:ready", - "observation": { - "sender": ["daf52dc85a58", "9cfa0bcd2a8a"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c23be45f1637", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.outer-refused-no-message:cleanup", - "observation": { - "sender": ["daf52dc85a58", "9cfa0bcd2a8a"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c23be45f1637", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-scan-fulfilled.method-not-found:ready", - "observation": { - "sender": ["daf52dc85a58", "352956d73b28"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "b838b12acde6", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.method-not-found:cleanup", - "observation": { - "sender": ["daf52dc85a58", "352956d73b28"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "b838b12acde6", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-scan-fulfilled.transport-rejection:ready", - "observation": { - "sender": ["daf52dc85a58", "7e910f2e6951", "22fcaac5d4c6"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3", "7a3238411452"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "30f2a42bed00", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.transport-rejection:cleanup", - "observation": { - "sender": ["daf52dc85a58", "7e910f2e6951", "a91d79d0bc23"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3", "7a3238411452"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "30f2a42bed00", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-scan-fulfilled.transport-rejection-no-message:ready", - "observation": { - "sender": ["daf52dc85a58", "bcc1d8502cdb", "22fcaac5d4c6"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3", "7a3238411452"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "30f2a42bed00", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.transport-rejection-no-message:cleanup", - "observation": { - "sender": ["daf52dc85a58", "bcc1d8502cdb", "a91d79d0bc23"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3", "7a3238411452"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "30f2a42bed00", - "effects": ["7e8b2964ad63"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-platform-status.json b/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-platform-status.json deleted file mode 100644 index 3e80fea83f5..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-platform-status.json +++ /dev/null @@ -1,1068 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "aiVault.history-screen", - "family": "aiVault.history-screen", - "namedDeltas": [], - "values": { - "0562fd9175d5": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "0cf3d278751b": { - "name": "status.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "0f988b1b36ca": { - "name": "status.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - }, - "1c7c96b42560": { - "name": "status.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "26e101d52c10": { - "name": "status.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "27ef7c5c6263": { - "name": "aiVault.listSessions#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "2ce0b0bdae00": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "492b8023fc84": { - "name": "status.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "68435dd07fce": { - "name": "status.get#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6caecfcfb7b7": { - "name": "status.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "739b3c8b89a4": { - "name": "status.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "758b3fde1948": { - "name": "streams-registered-at-teardown", - "ordinal": 6, - "value": [ - { - "cancelled": false, - "method": "agentSession.subscribeStatus", - "payload": "agentSession.subscribeStatus#1" - } - ] - }, - "7623e8b568b1": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ActivityIndicator": 1, - "ChevronLeft": 1, - "Pressable": 2, - "RefreshCw": 1, - "SafeAreaView": 1, - "Text": 3, - "View": 8 - }, - "labels": ["Back", "Refresh agent sessions"], - "text": ["Agent Session History", "orca-history", "Loading agent sessions…"] - }, - "7c48e0564605": { - "name": "status.get#1", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "7e8b2964ad63": { - "name": "streams-registered-at-teardown", - "ordinal": 8, - "value": [ - { - "cancelled": false, - "method": "agentSession.subscribeStatus", - "payload": "agentSession.subscribeStatus#1" - } - ] - }, - "8502a1cdf759": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 3, - "RefreshCw": 1, - "SafeAreaView": 1, - "Text": 5, - "View": 8 - }, - "labels": ["Back", "Refresh agent sessions"], - "text": ["Agent Session History", "orca-history", "Unable to Load", "outer refused", "Retry"] - }, - "891e447698e7": { - "name": "status.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "89ca6152d289": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 3, - "RefreshCw": 1, - "SafeAreaView": 1, - "Text": 5, - "View": 8 - }, - "labels": ["Back", "Refresh agent sessions"], - "text": [ - "Agent Session History", - "orca-history", - "Unable to Load", - "The host sent a reply this app could not read (status.get)", - "Retry" - ] - }, - "a0b80301d553": { - "name": "aiVault.listSessions#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "a24196eaf702": { - "name": "status.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "a26eb8ffaa7c": { - "name": "status.get#2", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "b31122680d69": { - "name": "status.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "c3d0a79c37c8": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 3, - "RefreshCw": 1, - "SafeAreaView": 1, - "Text": 5, - "View": 8 - }, - "labels": ["Back", "Refresh agent sessions"], - "text": ["Agent Session History", "orca-history", "Unable to Load", "Unknown method", "Retry"] - }, - "d126597611a2": { - "name": "worktree.ps#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "ddc03a109a53": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "History": 1, - "Pressable": 2, - "RefreshCw": 1, - "SafeAreaView": 1, - "Text": 4, - "View": 8 - }, - "labels": ["Back", "Refresh agent sessions"], - "text": [ - "Agent Session History", - "orca-history", - "Agent Session History Unavailable", - "Update Orca on this host to browse agent session history." - ] - }, - "dffc0668b556": { - "name": "aiVault.listSessions#1", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"],\"scopeOnly\":true}}" - }, - "e28c488ce6b2": { - "name": "agentSession.subscribeStatus#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.subscribeStatus\",\"params\":{}}" - }, - "e881d7dabb25": { - "name": "status.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "capabilities": ["aiVault.v1"] - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ebc8d9683b5e": { - "name": "worktree.ps#1", - "ordinal": 2, - "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-2", - "ok": true, - "result": { - "worktrees": [ - { - "path": "/repo/feature", - "repoId": "repo-1", - "worktreeId": "wt-history" - }, - { - "path": "/repo/sibling", - "repoId": "repo-1", - "worktreeId": "wt-2" - } - ] - } - } - } - }, - "f975325adbf9": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 3, - "RefreshCw": 1, - "SafeAreaView": 1, - "Text": 5, - "View": 8 - }, - "labels": ["Back", "Refresh agent sessions"], - "text": [ - "Agent Session History", - "orca-history", - "Unable to Load", - "Unable to reach host", - "Retry" - ] - }, - "fc96cbd23e48": { - "name": "status.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - } - }, - "recording": { - "scenario": "matrix-aivault.history-screen-platform-status", - "checkpoints": [ - { - "id": "aivault-history-screen-worktrees.prelude:worktrees-pending", - "observation": { - "sender": ["0562fd9175d5"], - "payloads": ["e28c488ce6b2", "d126597611a2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.prelude:cleanup", - "observation": { - "sender": ["ebc8d9683b5e", "0cf3d278751b"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-screen-worktrees.normal:worktrees-listed", - "observation": { - "sender": ["ebc8d9683b5e", "e881d7dabb25", "27ef7c5c6263"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "dffc0668b556"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.normal:cleanup", - "observation": { - "sender": ["ebc8d9683b5e", "e881d7dabb25", "a0b80301d553"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "dffc0668b556"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.result-absent:worktrees-listed", - "observation": { - "sender": ["ebc8d9683b5e", "a24196eaf702"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "89ca6152d289", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.result-absent:cleanup", - "observation": { - "sender": ["ebc8d9683b5e", "a24196eaf702"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "89ca6152d289", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-screen-worktrees.result-null:worktrees-listed", - "observation": { - "sender": ["ebc8d9683b5e", "b31122680d69"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "89ca6152d289", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.result-null:cleanup", - "observation": { - "sender": ["ebc8d9683b5e", "b31122680d69"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "89ca6152d289", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-ok-missing:worktrees-listed", - "observation": { - "sender": ["ebc8d9683b5e", "891e447698e7"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ddc03a109a53", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-ok-missing:cleanup", - "observation": { - "sender": ["ebc8d9683b5e", "891e447698e7"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ddc03a109a53", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-false-string-error:worktrees-listed", - "observation": { - "sender": ["ebc8d9683b5e", "492b8023fc84"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ddc03a109a53", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-false-string-error:cleanup", - "observation": { - "sender": ["ebc8d9683b5e", "492b8023fc84"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ddc03a109a53", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-false-object-error:worktrees-listed", - "observation": { - "sender": ["ebc8d9683b5e", "fc96cbd23e48"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ddc03a109a53", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-false-object-error:cleanup", - "observation": { - "sender": ["ebc8d9683b5e", "fc96cbd23e48"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ddc03a109a53", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-screen-worktrees.outer-refused:worktrees-listed", - "observation": { - "sender": ["ebc8d9683b5e", "6caecfcfb7b7"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8502a1cdf759", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.outer-refused:cleanup", - "observation": { - "sender": ["ebc8d9683b5e", "6caecfcfb7b7"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8502a1cdf759", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-screen-worktrees.outer-refused-no-message:worktrees-listed", - "observation": { - "sender": ["ebc8d9683b5e", "1c7c96b42560"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "f975325adbf9", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.outer-refused-no-message:cleanup", - "observation": { - "sender": ["ebc8d9683b5e", "1c7c96b42560"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "f975325adbf9", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-screen-worktrees.method-not-found:worktrees-listed", - "observation": { - "sender": ["ebc8d9683b5e", "0f988b1b36ca"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c3d0a79c37c8", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.method-not-found:cleanup", - "observation": { - "sender": ["ebc8d9683b5e", "0f988b1b36ca"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c3d0a79c37c8", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-screen-worktrees.transport-rejection:worktrees-listed", - "observation": { - "sender": ["ebc8d9683b5e", "739b3c8b89a4", "68435dd07fce"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.transport-rejection:cleanup", - "observation": { - "sender": ["ebc8d9683b5e", "739b3c8b89a4", "2ce0b0bdae00"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.transport-rejection-no-message:worktrees-listed", - "observation": { - "sender": ["ebc8d9683b5e", "26e101d52c10", "68435dd07fce"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.transport-rejection-no-message:cleanup", - "observation": { - "sender": ["ebc8d9683b5e", "26e101d52c10", "2ce0b0bdae00"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "a26eb8ffaa7c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-worktree.ps-1.json b/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-worktree.ps-1.json deleted file mode 100644 index 0111ee05d69..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-aivault.history-screen-worktree.ps-1.json +++ /dev/null @@ -1,975 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "aiVault.history-screen", - "family": "aiVault.history-screen", - "namedDeltas": [], - "values": { - "0562fd9175d5": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "111e9a5009ba": { - "name": "streams-registered-at-teardown", - "ordinal": 4, - "value": [ - { - "cancelled": false, - "method": "agentSession.subscribeStatus", - "payload": "agentSession.subscribeStatus#1" - } - ] - }, - "1b7d1f3c4f0a": { - "name": "aiVault.listSessions#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopePaths": [] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "27ef7c5c6263": { - "name": "aiVault.listSessions#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "519ce9879c6f": { - "name": "worktree.ps#1", - "ordinal": 2, - "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-2", - "ok": false - } - } - }, - "5a2900554f7f": { - "name": "worktree.ps#1", - "ordinal": 2, - "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-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "63ddf576c4de": { - "name": "worktree.ps#1", - "ordinal": 2, - "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-2", - "ok": false - } - } - }, - "7312d72e532d": { - "name": "aiVault.listSessions#1", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[]}}" - }, - "7623e8b568b1": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ActivityIndicator": 1, - "ChevronLeft": 1, - "Pressable": 2, - "RefreshCw": 1, - "SafeAreaView": 1, - "Text": 3, - "View": 8 - }, - "labels": ["Back", "Refresh agent sessions"], - "text": ["Agent Session History", "orca-history", "Loading agent sessions…"] - }, - "7c48e0564605": { - "name": "status.get#1", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "7e8b2964ad63": { - "name": "streams-registered-at-teardown", - "ordinal": 8, - "value": [ - { - "cancelled": false, - "method": "agentSession.subscribeStatus", - "payload": "agentSession.subscribeStatus#1" - } - ] - }, - "8cdf568d4967": { - "name": "worktree.ps#1", - "ordinal": 2, - "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-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "9799ad4cf6fd": { - "name": "worktree.ps#1", - "ordinal": 2, - "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-2", - "ok": true - } - } - }, - "a07520ab0ac1": { - "name": "worktree.ps#1", - "ordinal": 2, - "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-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "a0b80301d553": { - "name": "aiVault.listSessions#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "bdd2f2097a96": { - "name": "worktree.ps#1", - "ordinal": 2, - "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-2", - "ok": false - } - } - }, - "c3e8997d664e": { - "name": "worktree.ps#1", - "ordinal": 2, - "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 - } - } - }, - "c3f81e95c2d2": { - "name": "worktree.ps#1", - "ordinal": 2, - "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 - } - } - }, - "d126597611a2": { - "name": "worktree.ps#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "dffc0668b556": { - "name": "aiVault.listSessions#1", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"],\"scopeOnly\":true}}" - }, - "e28c488ce6b2": { - "name": "agentSession.subscribeStatus#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.subscribeStatus\",\"params\":{}}" - }, - "e4b1f6dfd294": { - "name": "worktree.ps#1", - "ordinal": 2, - "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": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "e881d7dabb25": { - "name": "status.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "capabilities": ["aiVault.v1"] - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ebc8d9683b5e": { - "name": "worktree.ps#1", - "ordinal": 2, - "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-2", - "ok": true, - "result": { - "worktrees": [ - { - "path": "/repo/feature", - "repoId": "repo-1", - "worktreeId": "wt-history" - }, - { - "path": "/repo/sibling", - "repoId": "repo-1", - "worktreeId": "wt-2" - } - ] - } - } - } - }, - "fe3fd26f3355": { - "name": "aiVault.listSessions#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopePaths": [] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "ff1353abed80": { - "name": "worktree.ps#1", - "ordinal": 2, - "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-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - } - }, - "recording": { - "scenario": "matrix-aivault.history-screen-worktree.ps-1", - "checkpoints": [ - { - "id": "aivault-history-screen-worktrees.prelude:worktrees-pending", - "observation": { - "sender": ["0562fd9175d5"], - "payloads": ["e28c488ce6b2", "d126597611a2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.prelude:cleanup", - "observation": { - "sender": ["e4b1f6dfd294"], - "payloads": ["e28c488ce6b2", "d126597611a2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["111e9a5009ba"] - } - }, - { - "id": "aivault-history-screen-worktrees.normal:worktrees-listed", - "observation": { - "sender": ["ebc8d9683b5e", "e881d7dabb25", "27ef7c5c6263"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "dffc0668b556"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.normal:cleanup", - "observation": { - "sender": ["ebc8d9683b5e", "e881d7dabb25", "a0b80301d553"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "dffc0668b556"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.result-absent:worktrees-listed", - "observation": { - "sender": ["9799ad4cf6fd", "e881d7dabb25", "fe3fd26f3355"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.result-absent:cleanup", - "observation": { - "sender": ["9799ad4cf6fd", "e881d7dabb25", "1b7d1f3c4f0a"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.result-null:worktrees-listed", - "observation": { - "sender": ["8cdf568d4967", "e881d7dabb25", "fe3fd26f3355"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.result-null:cleanup", - "observation": { - "sender": ["8cdf568d4967", "e881d7dabb25", "1b7d1f3c4f0a"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-ok-missing:worktrees-listed", - "observation": { - "sender": ["5a2900554f7f", "e881d7dabb25", "fe3fd26f3355"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-ok-missing:cleanup", - "observation": { - "sender": ["5a2900554f7f", "e881d7dabb25", "1b7d1f3c4f0a"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-false-string-error:worktrees-listed", - "observation": { - "sender": ["ff1353abed80", "e881d7dabb25", "fe3fd26f3355"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-false-string-error:cleanup", - "observation": { - "sender": ["ff1353abed80", "e881d7dabb25", "1b7d1f3c4f0a"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-false-object-error:worktrees-listed", - "observation": { - "sender": ["a07520ab0ac1", "e881d7dabb25", "fe3fd26f3355"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.inner-false-object-error:cleanup", - "observation": { - "sender": ["a07520ab0ac1", "e881d7dabb25", "1b7d1f3c4f0a"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.outer-refused:worktrees-listed", - "observation": { - "sender": ["63ddf576c4de", "e881d7dabb25", "fe3fd26f3355"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.outer-refused:cleanup", - "observation": { - "sender": ["63ddf576c4de", "e881d7dabb25", "1b7d1f3c4f0a"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.outer-refused-no-message:worktrees-listed", - "observation": { - "sender": ["bdd2f2097a96", "e881d7dabb25", "fe3fd26f3355"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.outer-refused-no-message:cleanup", - "observation": { - "sender": ["bdd2f2097a96", "e881d7dabb25", "1b7d1f3c4f0a"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.method-not-found:worktrees-listed", - "observation": { - "sender": ["519ce9879c6f", "e881d7dabb25", "fe3fd26f3355"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.method-not-found:cleanup", - "observation": { - "sender": ["519ce9879c6f", "e881d7dabb25", "1b7d1f3c4f0a"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.transport-rejection:worktrees-listed", - "observation": { - "sender": ["c3f81e95c2d2", "e881d7dabb25", "fe3fd26f3355"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.transport-rejection:cleanup", - "observation": { - "sender": ["c3f81e95c2d2", "e881d7dabb25", "1b7d1f3c4f0a"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] - } - }, - { - "id": "aivault-history-screen-worktrees.transport-rejection-no-message:worktrees-listed", - "observation": { - "sender": ["c3e8997d664e", "e881d7dabb25", "fe3fd26f3355"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": [] - } - }, - { - "id": "aivault-history-screen-worktrees.transport-rejection-no-message:cleanup", - "observation": { - "sender": ["c3e8997d664e", "e881d7dabb25", "1b7d1f3c4f0a"], - "payloads": ["e28c488ce6b2", "d126597611a2", "7c48e0564605", "7312d72e532d"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7623e8b568b1", - "effects": ["7e8b2964ad63"] - } - } - ] - } -} 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 deleted file mode 100644 index c89d3b1d72c..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-aivault.history-status.get-1.json +++ /dev/null @@ -1,871 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "aiVault.history-scan", - "family": "aiVault.history", - "namedDeltas": [], - "values": { - "03fd6edde488": { - "name": "aiVault.listSessions#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "aiVault.listSessions" - }, - { - "name": "params", - "value": { - "force": false, - "limit": 500, - "scopeOnly": true, - "scopePaths": ["/repo/feature"] - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "issues": [], - "sessions": [ - { - "agent": "claude", - "cwd": "/repo/feature", - "id": "s1" - } - ] - } - } - } - }, - "0753498763d5": { - "name": "status.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "111e9a5009ba": { - "name": "streams-registered-at-teardown", - "ordinal": 4, - "value": [ - { - "cancelled": false, - "method": "agentSession.subscribeStatus", - "payload": "agentSession.subscribeStatus#1" - } - ] - }, - "213a998b248c": { - "activeWorktreePath": "/repo/feature", - "refreshing": false, - "scope": "workspace", - "screenState": { - "kind": "unsupported" - } - }, - "2182656920b3": { - "name": "aiVault.listSessions#1", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"aiVault.listSessions\",\"params\":{\"limit\":500,\"force\":false,\"scopePaths\":[\"/repo/feature\"],\"scopeOnly\":true}}" - }, - "2289d07f6bea": { - "name": "status.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "238318b41349": { - "activeWorktreePath": "/repo/feature", - "refreshing": false, - "scope": "workspace", - "screenState": { - "kind": "error", - "message": "Unable to reach host" - } - }, - "263cf0dc64f8": { - "name": "status.get#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "30f2a42bed00": { - "activeWorktreePath": "/repo/feature", - "refreshing": false, - "scope": "workspace", - "screenState": { - "kind": "loading" - } - }, - "44a27dbf05e2": { - "name": "status.get#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "59ed81e30ae1": { - "name": "status.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "6c80e490239f": { - "name": "status.get#2", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "758b3fde1948": { - "name": "streams-registered-at-teardown", - "ordinal": 6, - "value": [ - { - "cancelled": false, - "method": "agentSession.subscribeStatus", - "payload": "agentSession.subscribeStatus#1" - } - ] - }, - "772d9e451433": { - "name": "status.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "86a28f6d8cdc": { - "activeWorktreePath": "/repo/feature", - "refreshing": false, - "scope": "workspace", - "screenState": { - "kind": "error", - "message": "outer refused" - } - }, - "9aa0df31dc4d": { - "activeWorktreePath": "/repo/feature", - "refreshing": false, - "scope": "workspace", - "screenState": { - "issues": [], - "kind": "ready", - "sessions": [ - { - "agent": "claude", - "cwd": "/repo/feature", - "id": "s1" - } - ] - } - }, - "9e0e375176ac": { - "name": "status.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "b1919f80fa4b": { - "name": "status.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "b838b12acde6": { - "activeWorktreePath": "/repo/feature", - "refreshing": false, - "scope": "workspace", - "screenState": { - "kind": "error", - "message": "Unknown method" - } - }, - "c3270d650d2b": { - "activeWorktreePath": "/repo/feature", - "refreshing": false, - "scope": "workspace", - "screenState": { - "kind": "error", - "message": "The host sent a reply this app could not read (status.get)" - } - }, - "c5f24da12ebd": { - "name": "status.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "d0831ff38203": { - "name": "status.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "da0c091e63da": { - "name": "status.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "daf52dc85a58": { - "name": "status.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "capabilities": ["aiVault.v1"] - } - } - } - }, - "dd080db05545": { - "name": "status.get#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "e28c488ce6b2": { - "name": "agentSession.subscribeStatus#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"agentSession.subscribeStatus\",\"params\":{}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f6d065bddf4e": { - "name": "status.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - } - }, - "recording": { - "scenario": "matrix-aivault.history-status.get-1", - "checkpoints": [ - { - "id": "aivault-history-scan-fulfilled.normal:ready", - "observation": { - "sender": ["daf52dc85a58", "03fd6edde488"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9aa0df31dc4d", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.normal:cleanup", - "observation": { - "sender": ["daf52dc85a58", "03fd6edde488"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "2182656920b3"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9aa0df31dc4d", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-scan-fulfilled.result-absent:ready", - "observation": { - "sender": ["772d9e451433"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c3270d650d2b", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.result-absent:cleanup", - "observation": { - "sender": ["772d9e451433"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c3270d650d2b", - "effects": ["111e9a5009ba"] - } - }, - { - "id": "aivault-history-scan-fulfilled.result-null:ready", - "observation": { - "sender": ["da0c091e63da"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c3270d650d2b", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.result-null:cleanup", - "observation": { - "sender": ["da0c091e63da"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c3270d650d2b", - "effects": ["111e9a5009ba"] - } - }, - { - "id": "aivault-history-scan-fulfilled.inner-ok-missing:ready", - "observation": { - "sender": ["9e0e375176ac"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "213a998b248c", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.inner-ok-missing:cleanup", - "observation": { - "sender": ["9e0e375176ac"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "213a998b248c", - "effects": ["111e9a5009ba"] - } - }, - { - "id": "aivault-history-scan-fulfilled.inner-false-string-error:ready", - "observation": { - "sender": ["b1919f80fa4b"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "213a998b248c", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.inner-false-string-error:cleanup", - "observation": { - "sender": ["b1919f80fa4b"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "213a998b248c", - "effects": ["111e9a5009ba"] - } - }, - { - "id": "aivault-history-scan-fulfilled.inner-false-object-error:ready", - "observation": { - "sender": ["2289d07f6bea"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "213a998b248c", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.inner-false-object-error:cleanup", - "observation": { - "sender": ["2289d07f6bea"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "213a998b248c", - "effects": ["111e9a5009ba"] - } - }, - { - "id": "aivault-history-scan-fulfilled.outer-refused:ready", - "observation": { - "sender": ["0753498763d5"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "86a28f6d8cdc", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.outer-refused:cleanup", - "observation": { - "sender": ["0753498763d5"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "86a28f6d8cdc", - "effects": ["111e9a5009ba"] - } - }, - { - "id": "aivault-history-scan-fulfilled.outer-refused-no-message:ready", - "observation": { - "sender": ["f6d065bddf4e"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "238318b41349", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.outer-refused-no-message:cleanup", - "observation": { - "sender": ["f6d065bddf4e"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "238318b41349", - "effects": ["111e9a5009ba"] - } - }, - { - "id": "aivault-history-scan-fulfilled.method-not-found:ready", - "observation": { - "sender": ["c5f24da12ebd"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "b838b12acde6", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.method-not-found:cleanup", - "observation": { - "sender": ["c5f24da12ebd"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "b838b12acde6", - "effects": ["111e9a5009ba"] - } - }, - { - "id": "aivault-history-scan-fulfilled.transport-rejection:ready", - "observation": { - "sender": ["59ed81e30ae1", "263cf0dc64f8"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "6c80e490239f"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "30f2a42bed00", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.transport-rejection:cleanup", - "observation": { - "sender": ["59ed81e30ae1", "dd080db05545"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "6c80e490239f"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "30f2a42bed00", - "effects": ["758b3fde1948"] - } - }, - { - "id": "aivault-history-scan-fulfilled.transport-rejection-no-message:ready", - "observation": { - "sender": ["d0831ff38203", "263cf0dc64f8"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "6c80e490239f"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "30f2a42bed00", - "effects": [] - } - }, - { - "id": "aivault-history-scan-fulfilled.transport-rejection-no-message:cleanup", - "observation": { - "sender": ["d0831ff38203", "dd080db05545"], - "payloads": ["e28c488ce6b2", "44a27dbf05e2", "6c80e490239f"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "30f2a42bed00", - "effects": ["758b3fde1948"] - } - } - ] - } -} 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 deleted file mode 100644 index 1a860458639..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-aivault.resume-launch-session.tabs.createterminal-1.json +++ /dev/null @@ -1,775 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "aiVault.resume-launch", - "family": "aiVault.resume-launch", - "namedDeltas": [], - "values": { - "0bce25f5646d": { - "name": "session.tabs.createTerminal#1", - "ordinal": 2, - "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\"}}" - }, - "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 - } - }, - "400d946a183d": { - "failure": { - "$rpc": "null" - }, - "launched": { - "id": "tab-9", - "terminal": "terminal-9", - "title": "codex" - } - }, - "41a658e859b8": { - "name": "session.tabs.createTerminal#1", - "ordinal": 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 - } - } - }, - "4593130c572f": { - "name": "session.tabs.createTerminal#1", - "ordinal": 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 - } - } - } - }, - "47254074ef8b": { - "name": "session.tabs.createTerminal#1", - "ordinal": 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 - } - } - }, - "478ad4afe83e": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "The host sent a reply this app could not read (session.tabs.createTerminal)", - "isRpcDeliveryUnknown": false - } - }, - "53623411feb6": { - "name": "session.tabs.createTerminal#1", - "ordinal": 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 - } - } - }, - "54558214b507": { - "failure": "Unknown method", - "launched": "unlaunched" - }, - "6e79da536ca9": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "tab-9", - "terminal": "terminal-9", - "title": "codex" - } - }, - "7d9e7036f3d0": { - "name": "terminal.send#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-9\",\"text\":\"codex resume rollout\",\"enter\":true}}" - }, - "7e87236eeb8a": { - "name": "session.tabs.createTerminal#1", - "ordinal": 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 - } - } - }, - "84a5c9365ee8": { - "failure": "The host sent a reply this app could not read (session.tabs.createTerminal)", - "launched": "unlaunched" - }, - "919c7f3e8c27": { - "name": "session.tabs.createTerminal#1", - "ordinal": 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 - } - } - } - }, - "9d457a90f569": { - "name": "session.tabs.createTerminal#1", - "ordinal": 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 - } - } - }, - "a67829619e64": { - "name": "session.tabs.createTerminal#1", - "ordinal": 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" - } - } - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b0e4a76fd545": { - "name": "session.tabs.createTerminal#1", - "ordinal": 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" - } - } - } - }, - "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 - } - }, - "cceac9bcb36d": { - "name": "terminal.send#1", - "ordinal": 3, - "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 - } - } - } - } - }, - "e105057c5765": { - "failure": "transport failure", - "launched": "unlaunched" - }, - "efa7e20c5a6f": { - "failure": "outer refused", - "launched": "unlaunched" - }, - "f0411f7ef116": { - "name": "session.tabs.createTerminal#1", - "ordinal": 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" - } - } - } - }, - "f1f50b49b8de": { - "failure": "", - "launched": "unlaunched" - }, - "fec16432436b": { - "name": "session.tabs.createTerminal#1", - "ordinal": 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 - } - } - } - }, - "recording": { - "scenario": "matrix-aivault.resume-launch-session.tabs.createterminal-1", - "checkpoints": [ - { - "id": "aivault-resume-launch-sent.normal:resumed", - "observation": { - "sender": ["a67829619e64", "cceac9bcb36d"], - "payloads": ["0bce25f5646d", "7d9e7036f3d0"], - "settlements": { - "full": "6e79da536ca9" - }, - "state": "400d946a183d", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.result-absent:resumed", - "observation": { - "sender": ["41a658e859b8"], - "payloads": ["0bce25f5646d"], - "settlements": { - "full": "478ad4afe83e" - }, - "state": "84a5c9365ee8", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.result-null:resumed", - "observation": { - "sender": ["b0e4a76fd545"], - "payloads": ["0bce25f5646d"], - "settlements": { - "full": "478ad4afe83e" - }, - "state": "84a5c9365ee8", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.inner-ok-missing:resumed", - "observation": { - "sender": ["f0411f7ef116"], - "payloads": ["0bce25f5646d"], - "settlements": { - "full": "478ad4afe83e" - }, - "state": "84a5c9365ee8", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.inner-false-string-error:resumed", - "observation": { - "sender": ["4593130c572f"], - "payloads": ["0bce25f5646d"], - "settlements": { - "full": "478ad4afe83e" - }, - "state": "84a5c9365ee8", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.inner-false-object-error:resumed", - "observation": { - "sender": ["919c7f3e8c27"], - "payloads": ["0bce25f5646d"], - "settlements": { - "full": "478ad4afe83e" - }, - "state": "84a5c9365ee8", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.outer-refused:resumed", - "observation": { - "sender": ["47254074ef8b"], - "payloads": ["0bce25f5646d"], - "settlements": { - "full": "32a7c0ae7918" - }, - "state": "efa7e20c5a6f", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.outer-refused-no-message:resumed", - "observation": { - "sender": ["53623411feb6"], - "payloads": ["0bce25f5646d"], - "settlements": { - "full": "30ec57518c05" - }, - "state": "133463600de6", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.method-not-found:resumed", - "observation": { - "sender": ["fec16432436b"], - "payloads": ["0bce25f5646d"], - "settlements": { - "full": "b948e8307e81" - }, - "state": "54558214b507", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.transport-rejection:resumed", - "observation": { - "sender": ["9d457a90f569"], - "payloads": ["0bce25f5646d"], - "settlements": { - "full": "a947768bc0ed" - }, - "state": "e105057c5765", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.transport-rejection-no-message:resumed", - "observation": { - "sender": ["7e87236eeb8a"], - "payloads": ["0bce25f5646d"], - "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 deleted file mode 100644 index 78e30d630db..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-aivault.resume-launch-terminal.send-1.json +++ /dev/null @@ -1,705 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "aiVault.resume-launch", - "family": "aiVault.resume-launch", - "namedDeltas": [], - "values": { - "0bce25f5646d": { - "name": "session.tabs.createTerminal#1", - "ordinal": 2, - "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\"}}" - }, - "1953443d1eef": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "The host sent a reply this app could not read (terminal.send)", - "isRpcDeliveryUnknown": false - } - }, - "21981de13ba2": { - "name": "terminal.send#1", - "ordinal": 3, - "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 - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "400d946a183d": { - "failure": { - "$rpc": "null" - }, - "launched": { - "id": "tab-9", - "terminal": "terminal-9", - "title": "codex" - } - }, - "54558214b507": { - "failure": "Unknown method", - "launched": "unlaunched" - }, - "59a693e61f7f": { - "name": "terminal.send#1", - "ordinal": 3, - "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" - } - } - } - }, - "69a3762ddd69": { - "name": "terminal.send#1", - "ordinal": 3, - "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 - } - } - } - }, - "6e79da536ca9": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "tab-9", - "terminal": "terminal-9", - "title": "codex" - } - }, - "7cc4cda01467": { - "name": "terminal.send#1", - "ordinal": 3, - "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 - } - } - }, - "7d9e7036f3d0": { - "name": "terminal.send#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-9\",\"text\":\"codex resume rollout\",\"enter\":true}}" - }, - "8511f0debfc0": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Failed to send resume command", - "isRpcDeliveryUnknown": false - } - }, - "96a8247b729c": { - "name": "terminal.send#1", - "ordinal": 3, - "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" - } - } - } - }, - "96f24b3825b5": { - "failure": "Failed to send resume command", - "launched": "unlaunched" - }, - "a67829619e64": { - "name": "session.tabs.createTerminal#1", - "ordinal": 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" - } - } - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aae8857ab586": { - "failure": "The host sent a reply this app could not read (terminal.send)", - "launched": "unlaunched" - }, - "aaec35c3c986": { - "name": "terminal.send#1", - "ordinal": 3, - "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 - } - } - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "c71e5404242d": { - "name": "terminal.send#1", - "ordinal": 3, - "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 - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "cceac9bcb36d": { - "name": "terminal.send#1", - "ordinal": 3, - "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 - } - } - } - } - }, - "dd3aa7f2cd31": { - "name": "terminal.send#1", - "ordinal": 3, - "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 - } - } - }, - "e105057c5765": { - "failure": "transport failure", - "launched": "unlaunched" - }, - "e7f336fd1821": { - "name": "terminal.send#1", - "ordinal": 3, - "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 - } - } - }, - "efa7e20c5a6f": { - "failure": "outer refused", - "launched": "unlaunched" - }, - "f1f50b49b8de": { - "failure": "", - "launched": "unlaunched" - }, - "f4b97a58af06": { - "name": "terminal.send#1", - "ordinal": 3, - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-aivault.resume-launch-terminal.send-1", - "checkpoints": [ - { - "id": "aivault-resume-launch-sent.normal:resumed", - "observation": { - "sender": ["a67829619e64", "cceac9bcb36d"], - "payloads": ["0bce25f5646d", "7d9e7036f3d0"], - "settlements": { - "full": "6e79da536ca9" - }, - "state": "400d946a183d", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.result-absent:resumed", - "observation": { - "sender": ["a67829619e64", "f4b97a58af06"], - "payloads": ["0bce25f5646d", "7d9e7036f3d0"], - "settlements": { - "full": "1953443d1eef" - }, - "state": "aae8857ab586", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.result-null:resumed", - "observation": { - "sender": ["a67829619e64", "96a8247b729c"], - "payloads": ["0bce25f5646d", "7d9e7036f3d0"], - "settlements": { - "full": "1953443d1eef" - }, - "state": "aae8857ab586", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.inner-ok-missing:resumed", - "observation": { - "sender": ["a67829619e64", "59a693e61f7f"], - "payloads": ["0bce25f5646d", "7d9e7036f3d0"], - "settlements": { - "full": "6e79da536ca9" - }, - "state": "400d946a183d", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.inner-false-string-error:resumed", - "observation": { - "sender": ["a67829619e64", "aaec35c3c986"], - "payloads": ["0bce25f5646d", "7d9e7036f3d0"], - "settlements": { - "full": "6e79da536ca9" - }, - "state": "400d946a183d", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.inner-false-object-error:resumed", - "observation": { - "sender": ["a67829619e64", "69a3762ddd69"], - "payloads": ["0bce25f5646d", "7d9e7036f3d0"], - "settlements": { - "full": "6e79da536ca9" - }, - "state": "400d946a183d", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.outer-refused:resumed", - "observation": { - "sender": ["a67829619e64", "c71e5404242d"], - "payloads": ["0bce25f5646d", "7d9e7036f3d0"], - "settlements": { - "full": "32a7c0ae7918" - }, - "state": "efa7e20c5a6f", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.outer-refused-no-message:resumed", - "observation": { - "sender": ["a67829619e64", "dd3aa7f2cd31"], - "payloads": ["0bce25f5646d", "7d9e7036f3d0"], - "settlements": { - "full": "8511f0debfc0" - }, - "state": "96f24b3825b5", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.method-not-found:resumed", - "observation": { - "sender": ["a67829619e64", "7cc4cda01467"], - "payloads": ["0bce25f5646d", "7d9e7036f3d0"], - "settlements": { - "full": "b948e8307e81" - }, - "state": "54558214b507", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.transport-rejection:resumed", - "observation": { - "sender": ["a67829619e64", "e7f336fd1821"], - "payloads": ["0bce25f5646d", "7d9e7036f3d0"], - "settlements": { - "full": "a947768bc0ed" - }, - "state": "e105057c5765", - "effects": [] - } - }, - { - "id": "aivault-resume-launch-sent.transport-rejection-no-message:resumed", - "observation": { - "sender": ["a67829619e64", "21981de13ba2"], - "payloads": ["0bce25f5646d", "7d9e7036f3d0"], - "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 deleted file mode 100644 index ea60f888adf..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-aivault.resume-preparation-aivault.preparesessionresume-1.json +++ /dev/null @@ -1,658 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "aiVault.resume-preparation", - "family": "aiVault.resume-preparation", - "namedDeltas": [], - "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 - } - }, - "15e10cea84b9": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "agent": "codex", - "codexHome": "/hosts/codex-accounts/acct-1/home", - "executionHostId": "local", - "filePath": "/sessions/rollout.jsonl" - } - }, - "1c3fd8a3af39": { - "name": "aiVault.prepareSessionResume#1", - "ordinal": 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 - } - } - } - }, - "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 - } - }, - "33eae5d8842d": { - "name": "aiVault.prepareSessionResume#1", - "ordinal": 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 - } - } - }, - "66ff2c43e820": { - "name": "aiVault.prepareSessionResume#1", - "ordinal": 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 - } - } - } - }, - "796728116a08": { - "name": "aiVault.prepareSessionResume#1", - "ordinal": 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" - } - } - } - }, - "88c8bb20eb6f": { - "name": "aiVault.prepareSessionResume#1", - "ordinal": 2, - "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\"}}" - }, - "945eca02b16b": { - "name": "aiVault.prepareSessionResume#1", - "ordinal": 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" - }, - "a1414c068c04": { - "name": "aiVault.prepareSessionResume#1", - "ordinal": 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 - } - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "ac9818e55504": { - "name": "aiVault.prepareSessionResume#1", - "ordinal": 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 - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d1a7cba8ed8f": { - "name": "aiVault.prepareSessionResume#1", - "ordinal": 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 - } - } - }, - "d5a15317673c": { - "name": "aiVault.prepareSessionResume#1", - "ordinal": 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" - } - } - } - }, - "da0644b59bd5": { - "name": "aiVault.prepareSessionResume#1", - "ordinal": 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 - } - } - }, - "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" - } - }, - "f7898cc218f8": { - "name": "aiVault.prepareSessionResume#1", - "ordinal": 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 - } - } - }, - "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": ["66ff2c43e820"], - "payloads": ["88c8bb20eb6f"], - "settlements": { - "prepare": "15e10cea84b9" - }, - "state": "02733b10ba3d", - "effects": [] - } - }, - { - "id": "aivault-resume-prepare-repin.result-absent:repinned", - "observation": { - "sender": ["33eae5d8842d"], - "payloads": ["88c8bb20eb6f"], - "settlements": { - "prepare": "e839ea279e77" - }, - "state": "f9dc8bff0bbd", - "effects": [] - } - }, - { - "id": "aivault-resume-prepare-repin.result-null:repinned", - "observation": { - "sender": ["796728116a08"], - "payloads": ["88c8bb20eb6f"], - "settlements": { - "prepare": "e839ea279e77" - }, - "state": "f9dc8bff0bbd", - "effects": [] - } - }, - { - "id": "aivault-resume-prepare-repin.inner-ok-missing:repinned", - "observation": { - "sender": ["d5a15317673c"], - "payloads": ["88c8bb20eb6f"], - "settlements": { - "prepare": "e839ea279e77" - }, - "state": "f9dc8bff0bbd", - "effects": [] - } - }, - { - "id": "aivault-resume-prepare-repin.inner-false-string-error:repinned", - "observation": { - "sender": ["1c3fd8a3af39"], - "payloads": ["88c8bb20eb6f"], - "settlements": { - "prepare": "e839ea279e77" - }, - "state": "f9dc8bff0bbd", - "effects": [] - } - }, - { - "id": "aivault-resume-prepare-repin.inner-false-object-error:repinned", - "observation": { - "sender": ["a1414c068c04"], - "payloads": ["88c8bb20eb6f"], - "settlements": { - "prepare": "e839ea279e77" - }, - "state": "f9dc8bff0bbd", - "effects": [] - } - }, - { - "id": "aivault-resume-prepare-repin.outer-refused:repinned", - "observation": { - "sender": ["ac9818e55504"], - "payloads": ["88c8bb20eb6f"], - "settlements": { - "prepare": "32a7c0ae7918" - }, - "state": "e0c290ca8a22", - "effects": [] - } - }, - { - "id": "aivault-resume-prepare-repin.outer-refused-no-message:repinned", - "observation": { - "sender": ["945eca02b16b"], - "payloads": ["88c8bb20eb6f"], - "settlements": { - "prepare": "06345cef27f9" - }, - "state": "1cf09af5681c", - "effects": [] - } - }, - { - "id": "aivault-resume-prepare-repin.method-not-found:repinned", - "observation": { - "sender": ["d1a7cba8ed8f"], - "payloads": ["88c8bb20eb6f"], - "settlements": { - "prepare": "e839ea279e77" - }, - "state": "f9dc8bff0bbd", - "effects": [] - } - }, - { - "id": "aivault-resume-prepare-repin.transport-rejection:repinned", - "observation": { - "sender": ["da0644b59bd5"], - "payloads": ["88c8bb20eb6f"], - "settlements": { - "prepare": "a947768bc0ed" - }, - "state": "954fabd8665f", - "effects": [] - } - }, - { - "id": "aivault-resume-prepare-repin.transport-rejection-no-message:repinned", - "observation": { - "sender": ["f7898cc218f8"], - "payloads": ["88c8bb20eb6f"], - "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 deleted file mode 100644 index 48ddb32b2e6..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-browser.dialog-browser.dialogaccept-1.json +++ /dev/null @@ -1,565 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "browser.page-commands", - "family": "browser.dialog", - "namedDeltas": [], - "values": { - "0473e0c1da49": { - "name": "browser.dialogAccept#1", - "ordinal": 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 - } - } - }, - "096afd032e4b": { - "name": "browser.dialogAccept#1", - "ordinal": 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 - } - } - }, - "204561057053": { - "name": "browser.dialogAccept#1", - "ordinal": 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" - } - } - } - }, - "25eab3fb6d92": { - "name": "browser.dialogAccept#1", - "ordinal": 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" - } - } - } - }, - "2892a12f6573": { - "name": "browser.dialogAccept#1", - "ordinal": 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 - } - } - }, - "7b681d500e43": { - "name": "browser.dialogAccept#1", - "ordinal": 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 - } - } - }, - "93f4e9f3ead2": { - "name": "browser.dialogAccept#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.dialogAccept\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\"}}" - }, - "9492d2516bda": { - "name": "browser.dialogAccept#1", - "ordinal": 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 - } - } - }, - "9855d4ec3415": { - "busy": false, - "dialog": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "keyboardValue": "hello", - "pointerModifiers": [] - }, - "a4d92589fee6": { - "name": "browser.dialogAccept#1", - "ordinal": 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 - } - } - } - }, - "cd44f29d755e": { - "name": "browser.dialogAccept#1", - "ordinal": 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 - } - } - } - }, - "d69b32b40889": { - "name": "browser.dialogAccept#1", - "ordinal": 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 - } - } - }, - "dc3697b28859": { - "name": "browser.dialogAccept#1", - "ordinal": 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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-browser.dialog-browser.dialogaccept-1", - "checkpoints": [ - { - "id": "browser-dialog-accepted.normal:dismissed", - "observation": { - "sender": ["cd44f29d755e"], - "payloads": ["93f4e9f3ead2"], - "settlements": { - "mount": "eb79a9b3682a", - "dialog": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-dialog-accepted.result-absent:dismissed", - "observation": { - "sender": ["0473e0c1da49"], - "payloads": ["93f4e9f3ead2"], - "settlements": { - "mount": "eb79a9b3682a", - "dialog": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-dialog-accepted.result-null:dismissed", - "observation": { - "sender": ["25eab3fb6d92"], - "payloads": ["93f4e9f3ead2"], - "settlements": { - "mount": "eb79a9b3682a", - "dialog": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-dialog-accepted.inner-ok-missing:dismissed", - "observation": { - "sender": ["204561057053"], - "payloads": ["93f4e9f3ead2"], - "settlements": { - "mount": "eb79a9b3682a", - "dialog": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-dialog-accepted.inner-false-string-error:dismissed", - "observation": { - "sender": ["dc3697b28859"], - "payloads": ["93f4e9f3ead2"], - "settlements": { - "mount": "eb79a9b3682a", - "dialog": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-dialog-accepted.inner-false-object-error:dismissed", - "observation": { - "sender": ["a4d92589fee6"], - "payloads": ["93f4e9f3ead2"], - "settlements": { - "mount": "eb79a9b3682a", - "dialog": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-dialog-accepted.outer-refused:dismissed", - "observation": { - "sender": ["096afd032e4b"], - "payloads": ["93f4e9f3ead2"], - "settlements": { - "mount": "eb79a9b3682a", - "dialog": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-dialog-accepted.outer-refused-no-message:dismissed", - "observation": { - "sender": ["7b681d500e43"], - "payloads": ["93f4e9f3ead2"], - "settlements": { - "mount": "eb79a9b3682a", - "dialog": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-dialog-accepted.method-not-found:dismissed", - "observation": { - "sender": ["d69b32b40889"], - "payloads": ["93f4e9f3ead2"], - "settlements": { - "mount": "eb79a9b3682a", - "dialog": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-dialog-accepted.transport-rejection:dismissed", - "observation": { - "sender": ["9492d2516bda"], - "payloads": ["93f4e9f3ead2"], - "settlements": { - "mount": "eb79a9b3682a", - "dialog": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-dialog-accepted.transport-rejection-no-message:dismissed", - "observation": { - "sender": ["2892a12f6573"], - "payloads": ["93f4e9f3ead2"], - "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 deleted file mode 100644 index cedd1d627c8..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-browser.keyboard-browser.keyboardinserttext-1.json +++ /dev/null @@ -1,694 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "browser.page-commands", - "family": "browser.keyboard", - "namedDeltas": [], - "values": { - "0471cabae9b6": { - "name": "browser.keyboardInsertText#1", - "ordinal": 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 - } - } - }, - "1f06b7937642": { - "name": "toast", - "ordinal": 3, - "value": { - "message": "Delivery unconfirmed — check page before retrying" - } - }, - "2dcee9ba2dde": { - "name": "browser.keyboardInsertText#1", - "ordinal": 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 - } - } - } - }, - "30b45ffabcbe": { - "name": "browser.keyboardInsertText#1", - "ordinal": 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" - } - } - } - }, - "39f1a4f807f4": { - "name": "browser.keyboardInsertText#1", - "ordinal": 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" - } - } - } - }, - "4a2e49194369": { - "name": "browser.keyboardInsertText#1", - "ordinal": 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 - } - } - }, - "603446637f11": { - "name": "browser.keypress#1", - "ordinal": 3, - "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 - } - } - } - }, - "6104536ec606": { - "name": "browser.keypress#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.keypress\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"key\":\"Enter\"}}" - }, - "7fcc7d1c7325": { - "name": "browser.keyboardInsertText#1", - "ordinal": 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 - } - } - }, - "8160e8872519": { - "busy": false, - "dialog": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "keyboardValue": "", - "pointerModifiers": [] - }, - "86b725378b3b": { - "name": "browser.keyboardInsertText#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.keyboardInsertText\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"text\":\"hello\"}}" - }, - "964487c0a9da": { - "name": "browser.keyboardInsertText#1", - "ordinal": 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 - } - } - }, - "9855d4ec3415": { - "busy": false, - "dialog": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "keyboardValue": "hello", - "pointerModifiers": [] - }, - "a5e12fd12d8a": { - "name": "toast", - "ordinal": 3, - "value": { - "message": "Sent" - } - }, - "b176a92ada17": { - "name": "browser.keyboardInsertText#1", - "ordinal": 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 - } - } - }, - "b6f10f9bd5b0": { - "name": "browser.keypress#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.keypress\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"key\":\"Enter\"}}" - }, - "d1075b8afeb6": { - "name": "browser.keyboardInsertText#1", - "ordinal": 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 - } - } - } - }, - "d64bbe5629c2": { - "name": "browser.keyboardInsertText#1", - "ordinal": 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 - } - } - }, - "e6c97e728698": { - "name": "browser.keypress#1", - "ordinal": 4, - "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" - } - }, - "f667075bfe03": { - "name": "browser.keyboardInsertText#1", - "ordinal": 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 - } - } - } - } - }, - "recording": { - "scenario": "matrix-browser.keyboard-browser.keyboardinserttext-1", - "checkpoints": [ - { - "id": "browser-keyboard-input.normal:typed", - "observation": { - "sender": ["d1075b8afeb6", "e6c97e728698"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.result-absent:typed", - "observation": { - "sender": ["0471cabae9b6", "e6c97e728698"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.result-null:typed", - "observation": { - "sender": ["30b45ffabcbe", "e6c97e728698"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.inner-ok-missing:typed", - "observation": { - "sender": ["39f1a4f807f4", "e6c97e728698"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.inner-false-string-error:typed", - "observation": { - "sender": ["f667075bfe03", "e6c97e728698"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.inner-false-object-error:typed", - "observation": { - "sender": ["2dcee9ba2dde", "e6c97e728698"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.outer-refused:typed", - "observation": { - "sender": ["7fcc7d1c7325", "603446637f11"], - "payloads": ["86b725378b3b", "b6f10f9bd5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-keyboard-input.outer-refused-no-message:typed", - "observation": { - "sender": ["4a2e49194369", "603446637f11"], - "payloads": ["86b725378b3b", "b6f10f9bd5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-keyboard-input.method-not-found:typed", - "observation": { - "sender": ["d64bbe5629c2", "603446637f11"], - "payloads": ["86b725378b3b", "b6f10f9bd5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-keyboard-input.transport-rejection:typed", - "observation": { - "sender": ["b176a92ada17", "e6c97e728698"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": ["1f06b7937642"] - } - }, - { - "id": "browser-keyboard-input.transport-rejection-no-message:typed", - "observation": { - "sender": ["964487c0a9da", "e6c97e728698"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": ["1f06b7937642"] - } - } - ] - } -} 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 deleted file mode 100644 index 8de7e96462b..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-browser.keyboard-browser.keypress-1.json +++ /dev/null @@ -1,635 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "browser.page-commands", - "family": "browser.keyboard", - "namedDeltas": [], - "values": { - "0b58fd6acaf6": { - "name": "browser.keypress#1", - "ordinal": 4, - "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" - } - } - } - }, - "207dc220bd0d": { - "name": "browser.keypress#1", - "ordinal": 4, - "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 - } - } - }, - "3390d065ae0e": { - "name": "browser.keypress#1", - "ordinal": 4, - "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 - } - } - }, - "4ae4f135dab0": { - "name": "browser.keypress#1", - "ordinal": 4, - "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 - } - } - }, - "59ca40d32494": { - "name": "browser.keypress#1", - "ordinal": 4, - "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 - } - } - }, - "5ac910dd3469": { - "name": "browser.keypress#1", - "ordinal": 4, - "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" - } - } - } - }, - "6104536ec606": { - "name": "browser.keypress#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.keypress\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"key\":\"Enter\"}}" - }, - "8160e8872519": { - "busy": false, - "dialog": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "keyboardValue": "", - "pointerModifiers": [] - }, - "86b725378b3b": { - "name": "browser.keyboardInsertText#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.keyboardInsertText\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"text\":\"hello\"}}" - }, - "8a31336e0a2b": { - "name": "browser.keypress#1", - "ordinal": 4, - "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 - } - } - }, - "8df13b257c40": { - "name": "browser.keypress#1", - "ordinal": 4, - "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 - } - } - } - }, - "949356dd7c49": { - "name": "browser.keypress#1", - "ordinal": 4, - "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 - } - } - } - }, - "a5e12fd12d8a": { - "name": "toast", - "ordinal": 3, - "value": { - "message": "Sent" - } - }, - "cab5253a9b98": { - "name": "browser.keypress#1", - "ordinal": 4, - "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 - } - } - }, - "d1075b8afeb6": { - "name": "browser.keyboardInsertText#1", - "ordinal": 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 - } - } - } - }, - "e6c97e728698": { - "name": "browser.keypress#1", - "ordinal": 4, - "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": "matrix-browser.keyboard-browser.keypress-1", - "checkpoints": [ - { - "id": "browser-keyboard-input.normal:typed", - "observation": { - "sender": ["d1075b8afeb6", "e6c97e728698"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.result-absent:typed", - "observation": { - "sender": ["d1075b8afeb6", "3390d065ae0e"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.result-null:typed", - "observation": { - "sender": ["d1075b8afeb6", "5ac910dd3469"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.inner-ok-missing:typed", - "observation": { - "sender": ["d1075b8afeb6", "0b58fd6acaf6"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.inner-false-string-error:typed", - "observation": { - "sender": ["d1075b8afeb6", "8df13b257c40"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.inner-false-object-error:typed", - "observation": { - "sender": ["d1075b8afeb6", "949356dd7c49"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.outer-refused:typed", - "observation": { - "sender": ["d1075b8afeb6", "8a31336e0a2b"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.outer-refused-no-message:typed", - "observation": { - "sender": ["d1075b8afeb6", "4ae4f135dab0"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.method-not-found:typed", - "observation": { - "sender": ["d1075b8afeb6", "59ca40d32494"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.transport-rejection:typed", - "observation": { - "sender": ["d1075b8afeb6", "cab5253a9b98"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - }, - { - "id": "browser-keyboard-input.transport-rejection-no-message:typed", - "observation": { - "sender": ["d1075b8afeb6", "207dc220bd0d"], - "payloads": ["86b725378b3b", "6104536ec606"], - "settlements": { - "mount": "eb79a9b3682a", - "text": "eb79a9b3682a", - "keypress": "eb79a9b3682a" - }, - "state": "8160e8872519", - "effects": ["a5e12fd12d8a"] - } - } - ] - } -} 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 deleted file mode 100644 index 231de897b6f..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mouseclick-1.json +++ /dev/null @@ -1,744 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "browser.page-commands", - "family": "browser.pointer-click", - "namedDeltas": [], - "values": { - "002a5bcbde42": { - "name": "browser.mouseClick#1", - "ordinal": 2, - "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}}" - }, - "08224c934905": { - "name": "browser.mouseDown#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseDown\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" - }, - "125a546c8a77": { - "name": "browser.mouseMove#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}" - }, - "179b53baef17": { - "name": "browser.mouseClick#1", - "ordinal": 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 - } - } - }, - "2a612b1e53c0": { - "name": "browser.mouseClick#1", - "ordinal": 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 - } - } - }, - "71b83de9e4d3": { - "name": "browser.mouseUp#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseUp\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" - }, - "79ca46469b2a": { - "name": "browser.mouseClick#1", - "ordinal": 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 - } - } - }, - "82ccdef1369f": { - "name": "browser.mouseUp#1", - "ordinal": 7, - "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 - } - } - } - }, - "883bcadfc05c": { - "name": "browser.mouseClick#1", - "ordinal": 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 - } - } - } - }, - "8847275131e0": { - "name": "browser.mouseClick#1", - "ordinal": 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 - } - } - }, - "9855d4ec3415": { - "busy": false, - "dialog": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "keyboardValue": "hello", - "pointerModifiers": [] - }, - "c3c6fbf3ec35": { - "name": "browser.mouseClick#1", - "ordinal": 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" - } - } - } - }, - "d3b478ed68de": { - "name": "browser.mouseClick#1", - "ordinal": 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 - } - } - }, - "dbfbacf8be29": { - "name": "browser.mouseMove#1", - "ordinal": 3, - "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 - } - } - } - }, - "e3ae5f4e0dc4": { - "name": "browser.mouseDown#1", - "ordinal": 5, - "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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f14b569391f9": { - "name": "browser.mouseClick#1", - "ordinal": 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 - } - } - } - }, - "f28277b155ae": { - "name": "browser.mouseClick#1", - "ordinal": 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 - } - } - } - }, - "f739e8aa94de": { - "name": "browser.mouseClick#1", - "ordinal": 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" - } - } - } - }, - "fdb830a9011a": { - "name": "browser.mouseClick#1", - "ordinal": 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 - } - } - } - }, - "recording": { - "scenario": "matrix-browser.pointer-click-browser.mouseclick-1", - "checkpoints": [ - { - "id": "browser-pointer-click-fallback.normal:tap-settled", - "observation": { - "sender": ["f14b569391f9"], - "payloads": ["002a5bcbde42"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.result-absent:tap-settled", - "observation": { - "sender": ["8847275131e0"], - "payloads": ["002a5bcbde42"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.result-null:tap-settled", - "observation": { - "sender": ["c3c6fbf3ec35"], - "payloads": ["002a5bcbde42"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.inner-ok-missing:tap-settled", - "observation": { - "sender": ["f739e8aa94de"], - "payloads": ["002a5bcbde42"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.inner-false-string-error:tap-settled", - "observation": { - "sender": ["f28277b155ae"], - "payloads": ["002a5bcbde42"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.inner-false-object-error:tap-settled", - "observation": { - "sender": ["883bcadfc05c"], - "payloads": ["002a5bcbde42"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.outer-refused:tap-settled", - "observation": { - "sender": ["d3b478ed68de", "dbfbacf8be29", "e3ae5f4e0dc4", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.outer-refused-no-message:tap-settled", - "observation": { - "sender": ["79ca46469b2a", "dbfbacf8be29", "e3ae5f4e0dc4", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.method-not-found:tap-settled", - "observation": { - "sender": ["2a612b1e53c0", "dbfbacf8be29", "e3ae5f4e0dc4", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.transport-rejection:tap-settled", - "observation": { - "sender": ["179b53baef17"], - "payloads": ["002a5bcbde42"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.transport-rejection-no-message:tap-settled", - "observation": { - "sender": ["fdb830a9011a"], - "payloads": ["002a5bcbde42"], - "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 deleted file mode 100644 index 925c25a52f7..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mousedown-1.json +++ /dev/null @@ -1,705 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "browser.page-commands", - "family": "browser.pointer-click", - "namedDeltas": [], - "values": { - "002a5bcbde42": { - "name": "browser.mouseClick#1", - "ordinal": 2, - "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}}" - }, - "08224c934905": { - "name": "browser.mouseDown#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseDown\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" - }, - "125a546c8a77": { - "name": "browser.mouseMove#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}" - }, - "13b452740ec3": { - "name": "browser.mouseDown#1", - "ordinal": 5, - "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" - } - } - } - }, - "672705d74880": { - "name": "browser.mouseDown#1", - "ordinal": 5, - "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 - } - } - }, - "6d3fb09fe8cf": { - "name": "browser.mouseDown#1", - "ordinal": 5, - "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 - } - } - }, - "71b83de9e4d3": { - "name": "browser.mouseUp#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseUp\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" - }, - "749b954cef3b": { - "name": "browser.mouseDown#1", - "ordinal": 5, - "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 - } - } - }, - "7ebd25188120": { - "name": "browser.mouseDown#1", - "ordinal": 5, - "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 - } - } - } - }, - "82ccdef1369f": { - "name": "browser.mouseUp#1", - "ordinal": 7, - "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 - } - } - } - }, - "8b2004bfca78": { - "name": "browser.mouseDown#1", - "ordinal": 5, - "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 - } - } - }, - "96301780dfc9": { - "name": "browser.mouseDown#1", - "ordinal": 5, - "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" - } - } - } - }, - "9855d4ec3415": { - "busy": false, - "dialog": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "keyboardValue": "hello", - "pointerModifiers": [] - }, - "bbc17ede4e9c": { - "name": "browser.mouseDown#1", - "ordinal": 5, - "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 - } - } - }, - "c2c2b20364f4": { - "name": "browser.mouseDown#1", - "ordinal": 5, - "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 - } - } - } - }, - "d333a2a9fd72": { - "name": "browser.mouseClick#1", - "ordinal": 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 - } - } - }, - "dbfbacf8be29": { - "name": "browser.mouseMove#1", - "ordinal": 3, - "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 - } - } - } - }, - "e3ae5f4e0dc4": { - "name": "browser.mouseDown#1", - "ordinal": 5, - "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 - } - } - } - }, - "e6450c9bd517": { - "name": "browser.mouseDown#1", - "ordinal": 5, - "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 - } - } - }, - "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:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "e3ae5f4e0dc4", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.result-absent:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "672705d74880", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.result-null:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "13b452740ec3", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.inner-ok-missing:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "96301780dfc9", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.inner-false-string-error:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "7ebd25188120", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.inner-false-object-error:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "c2c2b20364f4", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.outer-refused:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "749b954cef3b"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.outer-refused-no-message:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "bbc17ede4e9c"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.method-not-found:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "e6450c9bd517"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.transport-rejection:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "6d3fb09fe8cf"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.transport-rejection-no-message:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "8b2004bfca78"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905"], - "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 deleted file mode 100644 index 72a4eb99efd..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mousemove-1.json +++ /dev/null @@ -1,715 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "browser.page-commands", - "family": "browser.pointer-click", - "namedDeltas": [], - "values": { - "002a5bcbde42": { - "name": "browser.mouseClick#1", - "ordinal": 2, - "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}}" - }, - "02f2fd548d65": { - "name": "browser.mouseMove#1", - "ordinal": 3, - "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 - } - } - }, - "03d6437cf262": { - "name": "browser.mouseMove#1", - "ordinal": 3, - "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 - } - } - }, - "08224c934905": { - "name": "browser.mouseDown#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseDown\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" - }, - "09e5e029fd27": { - "name": "browser.mouseMove#1", - "ordinal": 3, - "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 - } - } - }, - "125a546c8a77": { - "name": "browser.mouseMove#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}" - }, - "35ffc033551d": { - "name": "browser.mouseMove#1", - "ordinal": 3, - "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" - } - } - } - }, - "398c5188cc22": { - "name": "browser.mouseMove#1", - "ordinal": 3, - "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 - } - } - }, - "40a2e72c0362": { - "name": "browser.mouseMove#1", - "ordinal": 3, - "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" - } - } - } - }, - "40d67eff5e9c": { - "name": "browser.mouseMove#1", - "ordinal": 3, - "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 - } - } - }, - "71b83de9e4d3": { - "name": "browser.mouseUp#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseUp\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" - }, - "82ccdef1369f": { - "name": "browser.mouseUp#1", - "ordinal": 7, - "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 - } - } - } - }, - "920ad16d8c71": { - "name": "browser.mouseMove#1", - "ordinal": 3, - "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 - } - } - } - }, - "9855d4ec3415": { - "busy": false, - "dialog": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "keyboardValue": "hello", - "pointerModifiers": [] - }, - "9ba31096c4b1": { - "name": "browser.mouseMove#1", - "ordinal": 3, - "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 - } - } - } - }, - "d333a2a9fd72": { - "name": "browser.mouseClick#1", - "ordinal": 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 - } - } - }, - "dbfbacf8be29": { - "name": "browser.mouseMove#1", - "ordinal": 3, - "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 - } - } - } - }, - "e329a23532ed": { - "name": "browser.mouseMove#1", - "ordinal": 3, - "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 - } - } - }, - "e3ae5f4e0dc4": { - "name": "browser.mouseDown#1", - "ordinal": 5, - "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 - } - } - } - }, - "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:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "e3ae5f4e0dc4", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.result-absent:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "03d6437cf262", "e3ae5f4e0dc4", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.result-null:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "35ffc033551d", "e3ae5f4e0dc4", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.inner-ok-missing:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "40a2e72c0362", "e3ae5f4e0dc4", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.inner-false-string-error:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "9ba31096c4b1", "e3ae5f4e0dc4", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.inner-false-object-error:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "920ad16d8c71", "e3ae5f4e0dc4", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.outer-refused:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "e329a23532ed"], - "payloads": ["002a5bcbde42", "125a546c8a77"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.outer-refused-no-message:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "398c5188cc22"], - "payloads": ["002a5bcbde42", "125a546c8a77"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.method-not-found:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "02f2fd548d65"], - "payloads": ["002a5bcbde42", "125a546c8a77"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.transport-rejection:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "40d67eff5e9c"], - "payloads": ["002a5bcbde42", "125a546c8a77"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.transport-rejection-no-message:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "09e5e029fd27"], - "payloads": ["002a5bcbde42", "125a546c8a77"], - "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 deleted file mode 100644 index 64a2af60f2a..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-browser.pointer-click-browser.mouseup-1.json +++ /dev/null @@ -1,705 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "browser.page-commands", - "family": "browser.pointer-click", - "namedDeltas": [], - "values": { - "002a5bcbde42": { - "name": "browser.mouseClick#1", - "ordinal": 2, - "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}}" - }, - "05ebe84334e1": { - "name": "browser.mouseUp#1", - "ordinal": 7, - "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 - } - } - }, - "08224c934905": { - "name": "browser.mouseDown#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseDown\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" - }, - "125a546c8a77": { - "name": "browser.mouseMove#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}" - }, - "158487738d61": { - "name": "browser.mouseUp#1", - "ordinal": 7, - "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 - } - } - } - }, - "2553a6cba38a": { - "name": "browser.mouseUp#1", - "ordinal": 7, - "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 - } - } - }, - "34e99afff30a": { - "name": "browser.mouseUp#1", - "ordinal": 7, - "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" - } - } - } - }, - "3ef91c6fd4ad": { - "name": "browser.mouseUp#1", - "ordinal": 7, - "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 - } - } - } - }, - "4cb8c4fe79c1": { - "name": "browser.mouseUp#1", - "ordinal": 7, - "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" - } - } - } - }, - "6cce4bd96b4a": { - "name": "browser.mouseUp#1", - "ordinal": 7, - "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 - } - } - }, - "71b83de9e4d3": { - "name": "browser.mouseUp#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseUp\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"button\":\"left\"}}" - }, - "82ccdef1369f": { - "name": "browser.mouseUp#1", - "ordinal": 7, - "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": [] - }, - "d333a2a9fd72": { - "name": "browser.mouseClick#1", - "ordinal": 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 - } - } - }, - "d5b1ea216605": { - "name": "browser.mouseUp#1", - "ordinal": 7, - "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 - } - } - }, - "dbfbacf8be29": { - "name": "browser.mouseMove#1", - "ordinal": 3, - "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 - } - } - } - }, - "e3ae5f4e0dc4": { - "name": "browser.mouseDown#1", - "ordinal": 5, - "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 - } - } - } - }, - "e5894a0a39c4": { - "name": "browser.mouseUp#1", - "ordinal": 7, - "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 - } - } - }, - "e69f81b45b18": { - "name": "browser.mouseUp#1", - "ordinal": 7, - "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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-browser.pointer-click-browser.mouseup-1", - "checkpoints": [ - { - "id": "browser-pointer-click-fallback.normal:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "e3ae5f4e0dc4", "82ccdef1369f"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.result-absent:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "e3ae5f4e0dc4", "e69f81b45b18"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.result-null:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "e3ae5f4e0dc4", "4cb8c4fe79c1"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.inner-ok-missing:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "e3ae5f4e0dc4", "34e99afff30a"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.inner-false-string-error:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "e3ae5f4e0dc4", "158487738d61"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.inner-false-object-error:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "e3ae5f4e0dc4", "3ef91c6fd4ad"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.outer-refused:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "e3ae5f4e0dc4", "05ebe84334e1"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.outer-refused-no-message:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "e3ae5f4e0dc4", "2553a6cba38a"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.method-not-found:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "e3ae5f4e0dc4", "6cce4bd96b4a"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.transport-rejection:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "e3ae5f4e0dc4", "e5894a0a39c4"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "settlements": { - "mount": "eb79a9b3682a", - "click": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-pointer-click-fallback.transport-rejection-no-message:tap-settled", - "observation": { - "sender": ["d333a2a9fd72", "dbfbacf8be29", "e3ae5f4e0dc4", "d5b1ea216605"], - "payloads": ["002a5bcbde42", "125a546c8a77", "08224c934905", "71b83de9e4d3"], - "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 deleted file mode 100644 index 6b53b77be66..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-browser.wheel-browser.mousemove-1.json +++ /dev/null @@ -1,629 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "browser.page-commands", - "family": "browser.wheel", - "namedDeltas": [], - "values": { - "047676470457": { - "name": "browser.mouseMove#1", - "ordinal": 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" - } - } - } - }, - "0dc8e41bfebd": { - "name": "browser.mouseMove#1", - "ordinal": 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 - } - } - } - }, - "0ea51271b822": { - "name": "browser.mouseWheel#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseWheel\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"dx\":0,\"dy\":-120}}" - }, - "285eed4a4aea": { - "name": "browser.mouseMove#1", - "ordinal": 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 - } - } - } - }, - "399982ec9dfc": { - "name": "browser.mouseMove#1", - "ordinal": 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 - } - } - }, - "4ee27ce5e118": { - "name": "browser.mouseWheel#1", - "ordinal": 3, - "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 - } - } - } - }, - "5099a516ef10": { - "name": "browser.mouseMove#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}" - }, - "5972986e0d80": { - "name": "browser.mouseMove#1", - "ordinal": 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 - } - } - } - }, - "60a2e6acaae1": { - "name": "browser.mouseMove#1", - "ordinal": 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 - } - } - }, - "67a77765570e": { - "name": "browser.mouseMove#1", - "ordinal": 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" - } - } - } - }, - "9676ebca0935": { - "name": "browser.mouseMove#1", - "ordinal": 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 - } - } - }, - "9855d4ec3415": { - "busy": false, - "dialog": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "keyboardValue": "hello", - "pointerModifiers": [] - }, - "9d4fc0f9e4d9": { - "name": "browser.mouseMove#1", - "ordinal": 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 - } - } - }, - "bbadbce360a9": { - "name": "browser.mouseMove#1", - "ordinal": 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 - } - } - }, - "be2128f855b7": { - "name": "browser.mouseMove#1", - "ordinal": 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 - } - } - }, - "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": ["5972986e0d80", "4ee27ce5e118"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.result-absent:scrolled", - "observation": { - "sender": ["60a2e6acaae1", "4ee27ce5e118"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.result-null:scrolled", - "observation": { - "sender": ["67a77765570e", "4ee27ce5e118"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.inner-ok-missing:scrolled", - "observation": { - "sender": ["047676470457", "4ee27ce5e118"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.inner-false-string-error:scrolled", - "observation": { - "sender": ["0dc8e41bfebd", "4ee27ce5e118"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.inner-false-object-error:scrolled", - "observation": { - "sender": ["285eed4a4aea", "4ee27ce5e118"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.outer-refused:scrolled", - "observation": { - "sender": ["9676ebca0935"], - "payloads": ["5099a516ef10"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.outer-refused-no-message:scrolled", - "observation": { - "sender": ["9d4fc0f9e4d9"], - "payloads": ["5099a516ef10"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.method-not-found:scrolled", - "observation": { - "sender": ["399982ec9dfc"], - "payloads": ["5099a516ef10"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.transport-rejection:scrolled", - "observation": { - "sender": ["bbadbce360a9"], - "payloads": ["5099a516ef10"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.transport-rejection-no-message:scrolled", - "observation": { - "sender": ["be2128f855b7"], - "payloads": ["5099a516ef10"], - "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 deleted file mode 100644 index 60b5365966d..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-browser.wheel-browser.mousewheel-1.json +++ /dev/null @@ -1,629 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "browser.page-commands", - "family": "browser.wheel", - "namedDeltas": [], - "values": { - "02bf414951cb": { - "name": "browser.mouseWheel#1", - "ordinal": 3, - "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 - } - } - }, - "0ea51271b822": { - "name": "browser.mouseWheel#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseWheel\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"dx\":0,\"dy\":-120}}" - }, - "31800ab3b8b5": { - "name": "browser.mouseWheel#1", - "ordinal": 3, - "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 - } - } - } - }, - "31a0357924b2": { - "name": "browser.mouseWheel#1", - "ordinal": 3, - "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" - } - } - } - }, - "4ee27ce5e118": { - "name": "browser.mouseWheel#1", - "ordinal": 3, - "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 - } - } - } - }, - "5099a516ef10": { - "name": "browser.mouseMove#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.mouseMove\",\"params\":{\"worktree\":\"id:worktree-1\",\"page\":\"page-1\",\"x\":40,\"y\":80}}" - }, - "5972986e0d80": { - "name": "browser.mouseMove#1", - "ordinal": 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 - } - } - } - }, - "8bced63fab68": { - "name": "browser.mouseWheel#1", - "ordinal": 3, - "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 - } - } - }, - "9855d4ec3415": { - "busy": false, - "dialog": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "keyboardValue": "hello", - "pointerModifiers": [] - }, - "9c97fb5499ad": { - "name": "browser.mouseWheel#1", - "ordinal": 3, - "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 - } - } - }, - "ac96eab81847": { - "name": "browser.mouseWheel#1", - "ordinal": 3, - "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 - } - } - } - }, - "adcca864a545": { - "name": "browser.mouseWheel#1", - "ordinal": 3, - "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 - } - } - }, - "b5dad85e87e5": { - "name": "browser.mouseWheel#1", - "ordinal": 3, - "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 - } - } - }, - "e71674365c52": { - "name": "browser.mouseWheel#1", - "ordinal": 3, - "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" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f9bc355b7dd5": { - "name": "browser.mouseWheel#1", - "ordinal": 3, - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-browser.wheel-browser.mousewheel-1", - "checkpoints": [ - { - "id": "browser-wheel-scrolled.normal:scrolled", - "observation": { - "sender": ["5972986e0d80", "4ee27ce5e118"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.result-absent:scrolled", - "observation": { - "sender": ["5972986e0d80", "b5dad85e87e5"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.result-null:scrolled", - "observation": { - "sender": ["5972986e0d80", "e71674365c52"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.inner-ok-missing:scrolled", - "observation": { - "sender": ["5972986e0d80", "31a0357924b2"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.inner-false-string-error:scrolled", - "observation": { - "sender": ["5972986e0d80", "31800ab3b8b5"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.inner-false-object-error:scrolled", - "observation": { - "sender": ["5972986e0d80", "ac96eab81847"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.outer-refused:scrolled", - "observation": { - "sender": ["5972986e0d80", "02bf414951cb"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.outer-refused-no-message:scrolled", - "observation": { - "sender": ["5972986e0d80", "8bced63fab68"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.method-not-found:scrolled", - "observation": { - "sender": ["5972986e0d80", "9c97fb5499ad"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.transport-rejection:scrolled", - "observation": { - "sender": ["5972986e0d80", "adcca864a545"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "settlements": { - "mount": "eb79a9b3682a", - "wheel": "eb79a9b3682a" - }, - "state": "9855d4ec3415", - "effects": [] - } - }, - { - "id": "browser-wheel-scrolled.transport-rejection-no-message:scrolled", - "observation": { - "sender": ["5972986e0d80", "f9bc355b7dd5"], - "payloads": ["5099a516ef10", "0ea51271b822"], - "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 deleted file mode 100644 index 2b801f6b4ac..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-clipboard.image-attachment-clipboard.startimageupload-1.json +++ /dev/null @@ -1,682 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "clipboard.image-terminal-attachment", - "family": "clipboard.image-attachment", - "namedDeltas": [], - "values": { - "09c6a4baa397": { - "attached": "unattached", - "failure": "outer refused" - }, - "0ba13b24aafa": { - "attached": "unattached", - "failure": "transport failure" - }, - "1284cf331810": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "23326ee9349f": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "40cb28255df6": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "425f01ad5f1a": { - "attached": "unattached", - "failure": "The host sent a reply this app could not read (clipboard.startImageUpload)" - }, - "5573fed479c2": { - "attached": "unattached", - "failure": { - "$rpc": "null" - } - }, - "6696a47819e1": { - "name": "clipboard.startImageUpload#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" - }, - "6f72c81d8bb0": { - "name": "clipboard.appendImageUploadChunk#1", - "ordinal": 4, - "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 - } - }, - "766a69d73d62": { - "name": "clipboard.startImageUpload#1", - "ordinal": 2, - "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 - } - } - }, - "7a79daaa2290": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "7c2e3ea286aa": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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-1", - "ok": true, - "result": { - "uploadId": "upload-1" - } - } - } - }, - "814ccd56a769": { - "name": "clipboard.appendImageUploadChunk#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" - }, - "81e9dee3833a": { - "attached": "unattached", - "failure": "" - }, - "8e050dc4db92": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "994fccf9b305": { - "name": "upload-start", - "ordinal": 1, - "value": {} - }, - "a0e884b87798": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.saveImageAsTempFile\",\"params\":{\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\",\"connectionId\":\"connection-1\"}}" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "bf4d693e3e27": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (clipboard.startImageUpload)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "cb5056a8a1fe": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "clipboard.saveImageAsTempFile" - }, - { - "name": "params", - "value": { - "connectionId": "connection-1", - "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "cd37c121c1fd": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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-1", - "ok": true - } - } - }, - "d088e8eeec5d": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "d7fc074e6b40": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "e20dc4b09a24": { - "name": "clipboard.startImageUpload#1", - "ordinal": 2, - "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 - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - } - }, - "recording": { - "scenario": "matrix-clipboard.image-attachment-clipboard.startimageupload-1", - "checkpoints": [ - { - "id": "clipboard-image-attachment-upload-refused.normal:upload-refused", - "observation": { - "sender": ["7c2e3ea286aa", "6f72c81d8bb0"], - "payloads": ["6696a47819e1", "814ccd56a769"], - "settlements": { - "normal": "9270aeb7d9c6" - }, - "state": "5573fed479c2", - "effects": ["994fccf9b305"] - } - }, - { - "id": "clipboard-image-attachment-upload-refused.result-absent:upload-refused", - "observation": { - "sender": ["cd37c121c1fd"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "bf4d693e3e27" - }, - "state": "425f01ad5f1a", - "effects": ["994fccf9b305"] - } - }, - { - "id": "clipboard-image-attachment-upload-refused.result-null:upload-refused", - "observation": { - "sender": ["d7fc074e6b40"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "bf4d693e3e27" - }, - "state": "425f01ad5f1a", - "effects": ["994fccf9b305"] - } - }, - { - "id": "clipboard-image-attachment-upload-refused.inner-ok-missing:upload-refused", - "observation": { - "sender": ["8e050dc4db92"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "bf4d693e3e27" - }, - "state": "425f01ad5f1a", - "effects": ["994fccf9b305"] - } - }, - { - "id": "clipboard-image-attachment-upload-refused.inner-false-string-error:upload-refused", - "observation": { - "sender": ["7a79daaa2290"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "bf4d693e3e27" - }, - "state": "425f01ad5f1a", - "effects": ["994fccf9b305"] - } - }, - { - "id": "clipboard-image-attachment-upload-refused.inner-false-object-error:upload-refused", - "observation": { - "sender": ["23326ee9349f"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "bf4d693e3e27" - }, - "state": "425f01ad5f1a", - "effects": ["994fccf9b305"] - } - }, - { - "id": "clipboard-image-attachment-upload-refused.outer-refused:upload-refused", - "observation": { - "sender": ["1284cf331810"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "32a7c0ae7918" - }, - "state": "09c6a4baa397", - "effects": ["994fccf9b305"] - } - }, - { - "id": "clipboard-image-attachment-upload-refused.outer-refused-no-message:upload-refused", - "observation": { - "sender": ["40cb28255df6"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "f3b516f62081" - }, - "state": "81e9dee3833a", - "effects": ["994fccf9b305"] - } - }, - { - "id": "clipboard-image-attachment-upload-refused.method-not-found:upload-refused", - "observation": { - "sender": ["d088e8eeec5d", "cb5056a8a1fe"], - "payloads": ["6696a47819e1", "a0e884b87798"], - "settlements": { - "normal": "9270aeb7d9c6" - }, - "state": "5573fed479c2", - "effects": ["994fccf9b305"] - } - }, - { - "id": "clipboard-image-attachment-upload-refused.transport-rejection:upload-refused", - "observation": { - "sender": ["766a69d73d62"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "a947768bc0ed" - }, - "state": "0ba13b24aafa", - "effects": ["994fccf9b305"] - } - }, - { - "id": "clipboard-image-attachment-upload-refused.transport-rejection-no-message:upload-refused", - "observation": { - "sender": ["e20dc4b09a24"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "c7584e82c72f" - }, - "state": "81e9dee3833a", - "effects": ["994fccf9b305"] - } - } - ] - } -} 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 deleted file mode 100644 index 0bcd8d14a78..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-clipboard.image-upload-clipboard.saveimageastempfile-1.json +++ /dev/null @@ -1,667 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "clipboard.image-upload", - "family": "clipboard.image-upload", - "namedDeltas": [], - "values": { - "046968b3bb5e": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 3, - "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 - } - } - }, - "06e55827ea7c": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 3, - "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" - } - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "345c82f8165d": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 3, - "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 - } - } - }, - "350e6f28e830": { - "failure": "outer refused", - "path": "unsaved" - }, - "386081a78bad": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 3, - "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" - } - } - } - }, - "4c903e2be871": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 3, - "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 - } - } - }, - "50f96603667c": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 3, - "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 - } - } - }, - "53a2a256b500": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 3, - "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 - } - } - }, - "5f0bdbce1ddf": { - "failure": "", - "path": "unsaved" - }, - "67b442005898": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (clipboard.saveImageAsTempFile)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "7a9387a4c64a": { - "failure": "transport failure", - "path": "unsaved" - }, - "7bc2e4227914": { - "name": "clipboard.startImageUpload#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" - }, - "7f1260e77032": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": "/tmp/legacy.png" - }, - "83066435034c": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 3, - "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" - } - } - }, - "90ff7c821047": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 3, - "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 - } - } - }, - "923de2c0221d": { - "failure": { - "$rpc": "null" - }, - "path": "/tmp/legacy.png" - }, - "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 - } - }, - "bf02ba1bc517": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.saveImageAsTempFile\",\"params\":{\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\",\"connectionId\":\"connection-1\"}}" - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "e939e5e1437a": { - "failure": "Unknown method", - "path": "unsaved" - }, - "e9e0139b9fa1": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 3, - "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 - } - } - } - }, - "f100a8a8f589": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 3, - "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 - } - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "fa3470507c98": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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 - } - } - }, - "ff4c5fd9c1aa": { - "failure": "The host sent a reply this app could not read (clipboard.saveImageAsTempFile)", - "path": "unsaved" - } - }, - "recording": { - "scenario": "matrix-clipboard.image-upload-clipboard.saveimageastempfile-1", - "checkpoints": [ - { - "id": "clipboard-image-upload-single-frame-fallback.normal:fell-back", - "observation": { - "sender": ["fa3470507c98", "83066435034c"], - "payloads": ["7bc2e4227914", "bf02ba1bc517"], - "settlements": { - "remote": "7f1260e77032" - }, - "state": "923de2c0221d", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.result-absent:fell-back", - "observation": { - "sender": ["fa3470507c98", "90ff7c821047"], - "payloads": ["7bc2e4227914", "bf02ba1bc517"], - "settlements": { - "remote": "67b442005898" - }, - "state": "ff4c5fd9c1aa", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.result-null:fell-back", - "observation": { - "sender": ["fa3470507c98", "06e55827ea7c"], - "payloads": ["7bc2e4227914", "bf02ba1bc517"], - "settlements": { - "remote": "67b442005898" - }, - "state": "ff4c5fd9c1aa", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.inner-ok-missing:fell-back", - "observation": { - "sender": ["fa3470507c98", "386081a78bad"], - "payloads": ["7bc2e4227914", "bf02ba1bc517"], - "settlements": { - "remote": "67b442005898" - }, - "state": "ff4c5fd9c1aa", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.inner-false-string-error:fell-back", - "observation": { - "sender": ["fa3470507c98", "f100a8a8f589"], - "payloads": ["7bc2e4227914", "bf02ba1bc517"], - "settlements": { - "remote": "67b442005898" - }, - "state": "ff4c5fd9c1aa", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.inner-false-object-error:fell-back", - "observation": { - "sender": ["fa3470507c98", "e9e0139b9fa1"], - "payloads": ["7bc2e4227914", "bf02ba1bc517"], - "settlements": { - "remote": "67b442005898" - }, - "state": "ff4c5fd9c1aa", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.outer-refused:fell-back", - "observation": { - "sender": ["fa3470507c98", "345c82f8165d"], - "payloads": ["7bc2e4227914", "bf02ba1bc517"], - "settlements": { - "remote": "32a7c0ae7918" - }, - "state": "350e6f28e830", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.outer-refused-no-message:fell-back", - "observation": { - "sender": ["fa3470507c98", "046968b3bb5e"], - "payloads": ["7bc2e4227914", "bf02ba1bc517"], - "settlements": { - "remote": "f3b516f62081" - }, - "state": "5f0bdbce1ddf", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.method-not-found:fell-back", - "observation": { - "sender": ["fa3470507c98", "53a2a256b500"], - "payloads": ["7bc2e4227914", "bf02ba1bc517"], - "settlements": { - "remote": "b948e8307e81" - }, - "state": "e939e5e1437a", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.transport-rejection:fell-back", - "observation": { - "sender": ["fa3470507c98", "4c903e2be871"], - "payloads": ["7bc2e4227914", "bf02ba1bc517"], - "settlements": { - "remote": "a947768bc0ed" - }, - "state": "7a9387a4c64a", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.transport-rejection-no-message:fell-back", - "observation": { - "sender": ["fa3470507c98", "50f96603667c"], - "payloads": ["7bc2e4227914", "bf02ba1bc517"], - "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 deleted file mode 100644 index 820f3980651..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-clipboard.image-upload-clipboard.startimageupload-1.json +++ /dev/null @@ -1,695 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "clipboard.image-upload", - "family": "clipboard.image-upload", - "namedDeltas": [], - "values": { - "1a21246f762d": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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 - } - } - } - }, - "28e38d6e1608": { - "name": "clipboard.appendImageUploadChunk#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "350e6f28e830": { - "failure": "outer refused", - "path": "unsaved" - }, - "35e237130dd8": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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 - } - } - }, - "4689613c173c": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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 - } - } - }, - "5f0bdbce1ddf": { - "failure": "", - "path": "unsaved" - }, - "6f274c9f1f1c": { - "failure": "The host sent a reply this app could not read (clipboard.startImageUpload)", - "path": "unsaved" - }, - "7a9387a4c64a": { - "failure": "transport failure", - "path": "unsaved" - }, - "7bc2e4227914": { - "name": "clipboard.startImageUpload#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" - }, - "7f1260e77032": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": "/tmp/legacy.png" - }, - "83066435034c": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 3, - "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" - } - } - }, - "923de2c0221d": { - "failure": { - "$rpc": "null" - }, - "path": "/tmp/legacy.png" - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "995e5f645238": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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 - } - } - }, - "a0299e65b970": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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 - } - } - }, - "a1656e3fd173": { - "name": "clipboard.appendImageUploadChunk#1", - "ordinal": 3, - "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 - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "ad65714b067b": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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 - } - } - } - }, - "bf02ba1bc517": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.saveImageAsTempFile\",\"params\":{\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\",\"connectionId\":\"connection-1\"}}" - }, - "bf4d693e3e27": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (clipboard.startImageUpload)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "cf7e03f260eb": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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 - } - } - }, - "d2a1a0e3d100": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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" - } - } - } - }, - "d8e416dd376f": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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 - } - }, - "fa3470507c98": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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 - } - } - }, - "fb8bf3629fd9": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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" - } - } - } - } - }, - "recording": { - "scenario": "matrix-clipboard.image-upload-clipboard.startimageupload-1", - "checkpoints": [ - { - "id": "clipboard-image-upload-single-frame-fallback.normal:fell-back", - "observation": { - "sender": ["d2a1a0e3d100", "a1656e3fd173"], - "payloads": ["7bc2e4227914", "28e38d6e1608"], - "settlements": { - "remote": "9270aeb7d9c6" - }, - "state": "e8f2e67001e9", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.result-absent:fell-back", - "observation": { - "sender": ["4689613c173c"], - "payloads": ["7bc2e4227914"], - "settlements": { - "remote": "bf4d693e3e27" - }, - "state": "6f274c9f1f1c", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.result-null:fell-back", - "observation": { - "sender": ["fb8bf3629fd9"], - "payloads": ["7bc2e4227914"], - "settlements": { - "remote": "bf4d693e3e27" - }, - "state": "6f274c9f1f1c", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.inner-ok-missing:fell-back", - "observation": { - "sender": ["d8e416dd376f"], - "payloads": ["7bc2e4227914"], - "settlements": { - "remote": "bf4d693e3e27" - }, - "state": "6f274c9f1f1c", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.inner-false-string-error:fell-back", - "observation": { - "sender": ["ad65714b067b"], - "payloads": ["7bc2e4227914"], - "settlements": { - "remote": "bf4d693e3e27" - }, - "state": "6f274c9f1f1c", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.inner-false-object-error:fell-back", - "observation": { - "sender": ["1a21246f762d"], - "payloads": ["7bc2e4227914"], - "settlements": { - "remote": "bf4d693e3e27" - }, - "state": "6f274c9f1f1c", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.outer-refused:fell-back", - "observation": { - "sender": ["cf7e03f260eb"], - "payloads": ["7bc2e4227914"], - "settlements": { - "remote": "32a7c0ae7918" - }, - "state": "350e6f28e830", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.outer-refused-no-message:fell-back", - "observation": { - "sender": ["35e237130dd8"], - "payloads": ["7bc2e4227914"], - "settlements": { - "remote": "f3b516f62081" - }, - "state": "5f0bdbce1ddf", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.method-not-found:fell-back", - "observation": { - "sender": ["fa3470507c98", "83066435034c"], - "payloads": ["7bc2e4227914", "bf02ba1bc517"], - "settlements": { - "remote": "7f1260e77032" - }, - "state": "923de2c0221d", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.transport-rejection:fell-back", - "observation": { - "sender": ["a0299e65b970"], - "payloads": ["7bc2e4227914"], - "settlements": { - "remote": "a947768bc0ed" - }, - "state": "7a9387a4c64a", - "effects": [] - } - }, - { - "id": "clipboard-image-upload-single-frame-fallback.transport-rejection-no-message:fell-back", - "observation": { - "sender": ["995e5f645238"], - "payloads": ["7bc2e4227914"], - "settlements": { - "remote": "c7584e82c72f" - }, - "state": "5f0bdbce1ddf", - "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 deleted file mode 100644 index 9eab73aae1d..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-components.codex-reset-credit-accounts.consumecodexresetcredit-1.json +++ /dev/null @@ -1,902 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "accounts.codex-reset-credit", - "family": "components.codex-reset-credit", - "namedDeltas": [], - "values": { - "055241a84f48": { - "settled": { - "outcome": "reset" - } - }, - "0a07efb53f1e": { - "settled": { - "$rpc": "null" - } - }, - "2e062b25a583": { - "name": "accounts.consumeCodexResetCredit#1", - "ordinal": 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 - } - }, - "4eeea010019a": { - "name": "accounts.consumeCodexResetCredit#1", - "ordinal": 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 - } - } - }, - "525eb01c77c0": { - "name": "accounts.consumeCodexResetCredit#1", - "ordinal": 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 - } - } - }, - "52d5e56d067b": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "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": [] - } - } - } - }, - "5b8c42552b2b": { - "name": "accounts.consumeCodexResetCredit#1", - "ordinal": 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" - } - } - } - }, - "7a2c95a7922f": { - "name": "accounts.consumeCodexResetCredit#1", - "ordinal": 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 - } - } - }, - "837dbb2a3452": { - "name": "accounts.consumeCodexResetCredit#1", - "ordinal": 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 - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "944a34b7acd6": { - "name": "accounts.consumeCodexResetCredit#1", - "ordinal": 2, - "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]\"}}}" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b88c06607a7c": { - "name": "accounts.consumeCodexResetCredit#1", - "ordinal": 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": [] - } - } - } - } - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "c46a04f8b760": { - "name": "accounts.consumeCodexResetCredit#1", - "ordinal": 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 - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "cd0919959fcb": { - "name": "accounts.consumeCodexResetCredit#1", - "ordinal": 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 - } - } - }, - "de0c9a811224": { - "name": "accounts.consumeCodexResetCredit#1", - "ordinal": 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 - } - }, - "e1ee0a1ae721": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Invalid reset response from host", - "isRpcDeliveryUnknown": false - } - }, - "e5c0751c0745": { - "name": "accounts.consumeCodexResetCredit#1", - "ordinal": 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 - } - }, - "ff72153558d8": { - "name": "accounts.consumeCodexResetCredit#1", - "ordinal": 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 - } - } - } - } - }, - "recording": { - "scenario": "matrix-components.codex-reset-credit-accounts.consumecodexresetcredit-1", - "checkpoints": [ - { - "id": "codex-reset-credit-consumed.prelude:requested", - "observation": { - "sender": ["de0c9a811224"], - "payloads": ["944a34b7acd6"], - "settlements": { - "confirm": "9270aeb7d9c6" - }, - "state": "0a07efb53f1e", - "effects": [] - } - }, - { - "id": "codex-reset-credit-consumed.normal:consumed", - "observation": { - "sender": ["b88c06607a7c"], - "payloads": ["944a34b7acd6"], - "settlements": { - "confirm": "52d5e56d067b" - }, - "state": "055241a84f48", - "effects": [] - } - }, - { - "id": "codex-reset-credit-consumed.result-absent:consumed", - "observation": { - "sender": ["2e062b25a583"], - "payloads": ["944a34b7acd6"], - "settlements": { - "confirm": "e1ee0a1ae721" - }, - "state": "0a07efb53f1e", - "effects": [] - } - }, - { - "id": "codex-reset-credit-consumed.result-null:consumed", - "observation": { - "sender": ["e5c0751c0745"], - "payloads": ["944a34b7acd6"], - "settlements": { - "confirm": "e1ee0a1ae721" - }, - "state": "0a07efb53f1e", - "effects": [] - } - }, - { - "id": "codex-reset-credit-consumed.inner-ok-missing:consumed", - "observation": { - "sender": ["5b8c42552b2b"], - "payloads": ["944a34b7acd6"], - "settlements": { - "confirm": "e1ee0a1ae721" - }, - "state": "0a07efb53f1e", - "effects": [] - } - }, - { - "id": "codex-reset-credit-consumed.inner-false-string-error:consumed", - "observation": { - "sender": ["837dbb2a3452"], - "payloads": ["944a34b7acd6"], - "settlements": { - "confirm": "e1ee0a1ae721" - }, - "state": "0a07efb53f1e", - "effects": [] - } - }, - { - "id": "codex-reset-credit-consumed.inner-false-object-error:consumed", - "observation": { - "sender": ["ff72153558d8"], - "payloads": ["944a34b7acd6"], - "settlements": { - "confirm": "e1ee0a1ae721" - }, - "state": "0a07efb53f1e", - "effects": [] - } - }, - { - "id": "codex-reset-credit-consumed.outer-refused:consumed", - "observation": { - "sender": ["7a2c95a7922f"], - "payloads": ["944a34b7acd6"], - "settlements": { - "confirm": "32a7c0ae7918" - }, - "state": "0a07efb53f1e", - "effects": [] - } - }, - { - "id": "codex-reset-credit-consumed.outer-refused-no-message:consumed", - "observation": { - "sender": ["cd0919959fcb"], - "payloads": ["944a34b7acd6"], - "settlements": { - "confirm": "f3b516f62081" - }, - "state": "0a07efb53f1e", - "effects": [] - } - }, - { - "id": "codex-reset-credit-consumed.method-not-found:consumed", - "observation": { - "sender": ["525eb01c77c0"], - "payloads": ["944a34b7acd6"], - "settlements": { - "confirm": "b948e8307e81" - }, - "state": "0a07efb53f1e", - "effects": [] - } - }, - { - "id": "codex-reset-credit-consumed.transport-rejection:consumed", - "observation": { - "sender": ["c46a04f8b760"], - "payloads": ["944a34b7acd6"], - "settlements": { - "confirm": "a947768bc0ed" - }, - "state": "0a07efb53f1e", - "effects": [] - } - }, - { - "id": "codex-reset-credit-consumed.transport-rejection-no-message:consumed", - "observation": { - "sender": ["4eeea010019a"], - "payloads": ["944a34b7acd6"], - "settlements": { - "confirm": "c7584e82c72f" - }, - "state": "0a07efb53f1e", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 77973bede0a..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-components.execution-target-local-preflight.detectagents-1.json +++ /dev/null @@ -1,612 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "components.execution-target-local", - "family": "components.execution-target-local", - "namedDeltas": [], - "values": { - "2498f3d3369f": { - "name": "preflight.detectAgents#1", - "ordinal": 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 - } - } - }, - "453aa52cefe2": { - "name": "preflight.detectAgents#1", - "ordinal": 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 - } - } - }, - "476b3360edea": { - "name": "preflight.detectAgents#1", - "ordinal": 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 - } - } - } - }, - "5779e5e854f7": { - "detected": { - "$rpc": "null" - }, - "gate": { - "connectInProgress": true, - "error": { - "$rpc": "null" - }, - "needsDesktopServerRecovery": false, - "requiresConnection": false, - "status": { - "$rpc": "null" - } - } - }, - "7097e9b8c337": { - "detected": [], - "gate": { - "connectInProgress": true, - "error": { - "$rpc": "null" - }, - "needsDesktopServerRecovery": false, - "requiresConnection": false, - "status": { - "$rpc": "null" - } - } - }, - "74def3993a7c": { - "name": "preflight.detectAgents#1", - "ordinal": 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" - } - } - } - }, - "76ed4b7b9f97": { - "name": "preflight.detectAgents#1", - "ordinal": 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 - } - } - }, - "7bc5a81b7d1a": { - "name": "preflight.detectAgents#1", - "ordinal": 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 - } - } - } - }, - "7ce826fb8b9e": { - "name": "preflight.detectAgents#1", - "ordinal": 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 - } - } - }, - "9b8ae0c8eec5": { - "name": "preflight.detectAgents#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectAgents\"}" - }, - "a4fe12488bc4": { - "name": "preflight.detectAgents#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "a6426f303736": { - "name": "preflight.detectAgents#1", - "ordinal": 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 - } - } - }, - "d3a709c13f9d": { - "detected": ["claude"], - "gate": { - "connectInProgress": true, - "error": { - "$rpc": "null" - }, - "needsDesktopServerRecovery": false, - "requiresConnection": false, - "status": { - "$rpc": "null" - } - } - }, - "db1ccb3eedf8": { - "name": "preflight.detectAgents#1", - "ordinal": 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" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f15d8f54be02": { - "name": "preflight.detectAgents#1", - "ordinal": 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"] - } - } - }, - "fbaf1a57c2d0": { - "name": "preflight.detectAgents#1", - "ordinal": 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 - } - } - } - }, - "recording": { - "scenario": "matrix-components.execution-target-local-preflight.detectagents-1", - "checkpoints": [ - { - "id": "components-target-local.prelude:detect-pending", - "observation": { - "sender": ["a4fe12488bc4"], - "payloads": ["9b8ae0c8eec5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5779e5e854f7", - "effects": [] - } - }, - { - "id": "components-target-local.normal:settled", - "observation": { - "sender": ["f15d8f54be02"], - "payloads": ["9b8ae0c8eec5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "d3a709c13f9d", - "effects": [] - } - }, - { - "id": "components-target-local.result-absent:settled", - "observation": { - "sender": ["a6426f303736"], - "payloads": ["9b8ae0c8eec5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7097e9b8c337", - "effects": [] - } - }, - { - "id": "components-target-local.result-null:settled", - "observation": { - "sender": ["74def3993a7c"], - "payloads": ["9b8ae0c8eec5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7097e9b8c337", - "effects": [] - } - }, - { - "id": "components-target-local.inner-ok-missing:settled", - "observation": { - "sender": ["db1ccb3eedf8"], - "payloads": ["9b8ae0c8eec5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7097e9b8c337", - "effects": [] - } - }, - { - "id": "components-target-local.inner-false-string-error:settled", - "observation": { - "sender": ["7bc5a81b7d1a"], - "payloads": ["9b8ae0c8eec5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7097e9b8c337", - "effects": [] - } - }, - { - "id": "components-target-local.inner-false-object-error:settled", - "observation": { - "sender": ["476b3360edea"], - "payloads": ["9b8ae0c8eec5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7097e9b8c337", - "effects": [] - } - }, - { - "id": "components-target-local.outer-refused:settled", - "observation": { - "sender": ["fbaf1a57c2d0"], - "payloads": ["9b8ae0c8eec5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7097e9b8c337", - "effects": [] - } - }, - { - "id": "components-target-local.outer-refused-no-message:settled", - "observation": { - "sender": ["76ed4b7b9f97"], - "payloads": ["9b8ae0c8eec5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7097e9b8c337", - "effects": [] - } - }, - { - "id": "components-target-local.method-not-found:settled", - "observation": { - "sender": ["453aa52cefe2"], - "payloads": ["9b8ae0c8eec5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7097e9b8c337", - "effects": [] - } - }, - { - "id": "components-target-local.transport-rejection:settled", - "observation": { - "sender": ["7ce826fb8b9e"], - "payloads": ["9b8ae0c8eec5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7097e9b8c337", - "effects": [] - } - }, - { - "id": "components-target-local.transport-rejection-no-message:settled", - "observation": { - "sender": ["2498f3d3369f"], - "payloads": ["9b8ae0c8eec5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7097e9b8c337", - "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 deleted file mode 100644 index c56f5b7e484..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-components.execution-target-preflight.detectremoteagents-1.json +++ /dev/null @@ -1,742 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "components.execution-target", - "family": "components.execution-target", - "namedDeltas": [], - "values": { - "0355054e5e71": { - "name": "ssh.connect#1", - "ordinal": 5, - "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" - } - } - } - } - }, - "095deb6732b2": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 3, - "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 - } - } - } - }, - "10b5ec5ae537": { - "name": "preflight.detectRemoteAgents#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "preflight.detectRemoteAgents" - }, - { - "name": "params", - "value": { - "connectionId": "ssh-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "12098dde49de": { - "name": "ssh.connect#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}" - }, - "1212a28487d8": { - "detected": ["codex"], - "gate": { - "connectInProgress": false, - "error": { - "$rpc": "null" - }, - "needsDesktopServerRecovery": false, - "requiresConnection": false, - "status": "connected" - } - }, - "3dbb3eccbac3": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 3, - "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 - } - } - }, - "4aa26501c485": { - "name": "preflight.detectRemoteAgents#2", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" - }, - "4f7c1dcd099d": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 3, - "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 - } - } - }, - "50a48d92722f": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 3, - "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 - } - } - }, - "70b1e8fb528a": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 3, - "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"] - } - } - }, - "7bdea59d5964": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 3, - "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 - } - } - } - }, - "8265ec539d5a": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" - }, - "86a281a96c72": { - "detected": [], - "gate": { - "connectInProgress": false, - "error": { - "$rpc": "null" - }, - "needsDesktopServerRecovery": false, - "requiresConnection": false, - "status": "connected" - } - }, - "a11809a84754": { - "name": "ssh.getState#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"ssh-1\"}}" - }, - "a4b67f6f3051": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 3, - "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 - } - } - }, - "b53739a58194": { - "name": "ssh.getState#1", - "ordinal": 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" - } - } - } - } - }, - "b6835adccf60": { - "name": "ssh.getState#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ssh.getState" - }, - { - "name": "params", - "value": { - "targetId": "ssh-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c4ea06b327d3": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 3, - "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" - } - } - } - }, - "cde9da103500": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 3, - "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 - } - } - }, - "d0fca58e471e": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 3, - "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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f2fdef42b1f0": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 3, - "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" - } - } - } - }, - "fe6c500525e6": { - "detected": { - "$rpc": "null" - }, - "gate": { - "connectInProgress": false, - "error": { - "$rpc": "null" - }, - "needsDesktopServerRecovery": false, - "requiresConnection": true, - "status": { - "$rpc": "null" - } - } - } - }, - "recording": { - "scenario": "matrix-components.execution-target-preflight.detectremoteagents-1", - "checkpoints": [ - { - "id": "components-target-ssh.prelude:state-pending", - "observation": { - "sender": ["b6835adccf60"], - "payloads": ["a11809a84754"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "fe6c500525e6", - "effects": [] - } - }, - { - "id": "components-target-ssh.normal:settled", - "observation": { - "sender": ["b53739a58194", "70b1e8fb528a", "0355054e5e71", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "1212a28487d8", - "effects": [] - } - }, - { - "id": "components-target-ssh.result-absent:settled", - "observation": { - "sender": ["b53739a58194", "4f7c1dcd099d", "0355054e5e71", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "86a281a96c72", - "effects": [] - } - }, - { - "id": "components-target-ssh.result-null:settled", - "observation": { - "sender": ["b53739a58194", "c4ea06b327d3", "0355054e5e71", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "86a281a96c72", - "effects": [] - } - }, - { - "id": "components-target-ssh.inner-ok-missing:settled", - "observation": { - "sender": ["b53739a58194", "f2fdef42b1f0", "0355054e5e71", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "86a281a96c72", - "effects": [] - } - }, - { - "id": "components-target-ssh.inner-false-string-error:settled", - "observation": { - "sender": ["b53739a58194", "095deb6732b2", "0355054e5e71", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "86a281a96c72", - "effects": [] - } - }, - { - "id": "components-target-ssh.inner-false-object-error:settled", - "observation": { - "sender": ["b53739a58194", "7bdea59d5964", "0355054e5e71", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "86a281a96c72", - "effects": [] - } - }, - { - "id": "components-target-ssh.outer-refused:settled", - "observation": { - "sender": ["b53739a58194", "d0fca58e471e", "0355054e5e71", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "86a281a96c72", - "effects": [] - } - }, - { - "id": "components-target-ssh.outer-refused-no-message:settled", - "observation": { - "sender": ["b53739a58194", "3dbb3eccbac3", "0355054e5e71", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "86a281a96c72", - "effects": [] - } - }, - { - "id": "components-target-ssh.method-not-found:settled", - "observation": { - "sender": ["b53739a58194", "50a48d92722f", "0355054e5e71", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "86a281a96c72", - "effects": [] - } - }, - { - "id": "components-target-ssh.transport-rejection:settled", - "observation": { - "sender": ["b53739a58194", "a4b67f6f3051", "0355054e5e71", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "86a281a96c72", - "effects": [] - } - }, - { - "id": "components-target-ssh.transport-rejection-no-message:settled", - "observation": { - "sender": ["b53739a58194", "cde9da103500", "0355054e5e71", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "86a281a96c72", - "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 deleted file mode 100644 index 6158e78eeeb..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-components.execution-target-ssh.connect-1.json +++ /dev/null @@ -1,790 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "components.execution-target", - "family": "components.execution-target", - "namedDeltas": [], - "values": { - "0355054e5e71": { - "name": "ssh.connect#1", - "ordinal": 5, - "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" - } - } - } - } - }, - "09a392de6973": { - "name": "ssh.connect#1", - "ordinal": 5, - "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 - } - } - }, - "10b5ec5ae537": { - "name": "preflight.detectRemoteAgents#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "preflight.detectRemoteAgents" - }, - { - "name": "params", - "value": { - "connectionId": "ssh-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "12098dde49de": { - "name": "ssh.connect#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}" - }, - "1212a28487d8": { - "detected": ["codex"], - "gate": { - "connectInProgress": false, - "error": { - "$rpc": "null" - }, - "needsDesktopServerRecovery": false, - "requiresConnection": false, - "status": "connected" - } - }, - "1a1c006a53b2": { - "name": "ssh.connect#1", - "ordinal": 5, - "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" - } - } - } - }, - "2736bf269de9": { - "detected": { - "$rpc": "null" - }, - "gate": { - "connectInProgress": false, - "error": "", - "needsDesktopServerRecovery": false, - "requiresConnection": true, - "status": "error" - } - }, - "31cf96607dc7": { - "detected": { - "$rpc": "null" - }, - "gate": { - "connectInProgress": false, - "error": "transport failure", - "needsDesktopServerRecovery": false, - "requiresConnection": true, - "status": "error" - } - }, - "362b036cb4aa": { - "detected": { - "$rpc": "null" - }, - "gate": { - "connectInProgress": false, - "error": "Unknown method", - "needsDesktopServerRecovery": false, - "requiresConnection": true, - "status": "error" - } - }, - "474a4191b929": { - "name": "ssh.connect#1", - "ordinal": 5, - "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 - } - } - }, - "4aa26501c485": { - "name": "preflight.detectRemoteAgents#2", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" - }, - "53cfc4ee0cf6": { - "detected": { - "$rpc": "null" - }, - "gate": { - "connectInProgress": false, - "error": "outer refused", - "needsDesktopServerRecovery": false, - "requiresConnection": true, - "status": "error" - } - }, - "5bab1ad3009a": { - "name": "ssh.connect#1", - "ordinal": 5, - "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 - } - } - }, - "6674bba278a1": { - "name": "ssh.connect#1", - "ordinal": 5, - "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 - } - } - }, - "70b1e8fb528a": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 3, - "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"] - } - } - }, - "8265ec539d5a": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" - }, - "9eb936085325": { - "name": "ssh.connect#1", - "ordinal": 5, - "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 - } - } - } - }, - "a11809a84754": { - "name": "ssh.getState#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"ssh-1\"}}" - }, - "b4d4b9d96767": { - "name": "ssh.connect#1", - "ordinal": 5, - "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 - } - } - }, - "b53739a58194": { - "name": "ssh.getState#1", - "ordinal": 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" - } - } - } - } - }, - "b6835adccf60": { - "name": "ssh.getState#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ssh.getState" - }, - { - "name": "params", - "value": { - "targetId": "ssh-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "b84a1b2fc5d8": { - "name": "ssh.connect#1", - "ordinal": 5, - "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" - } - } - } - }, - "c06edc5665d7": { - "name": "ssh.connect#1", - "ordinal": 5, - "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 - } - } - }, - "c2a9e7754a2e": { - "detected": { - "$rpc": "null" - }, - "gate": { - "connectInProgress": false, - "error": "The host sent a reply this app could not read (ssh.connect)", - "needsDesktopServerRecovery": false, - "requiresConnection": true, - "status": "error" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "fa74035e8785": { - "name": "ssh.connect#1", - "ordinal": 5, - "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 - } - } - } - }, - "fe6c500525e6": { - "detected": { - "$rpc": "null" - }, - "gate": { - "connectInProgress": false, - "error": { - "$rpc": "null" - }, - "needsDesktopServerRecovery": false, - "requiresConnection": true, - "status": { - "$rpc": "null" - } - } - } - }, - "recording": { - "scenario": "matrix-components.execution-target-ssh.connect-1", - "checkpoints": [ - { - "id": "components-target-ssh.prelude:state-pending", - "observation": { - "sender": ["b6835adccf60"], - "payloads": ["a11809a84754"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "fe6c500525e6", - "effects": [] - } - }, - { - "id": "components-target-ssh.normal:settled", - "observation": { - "sender": ["b53739a58194", "70b1e8fb528a", "0355054e5e71", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "1212a28487d8", - "effects": [] - } - }, - { - "id": "components-target-ssh.result-absent:settled", - "observation": { - "sender": ["b53739a58194", "70b1e8fb528a", "09a392de6973"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "c2a9e7754a2e", - "effects": [] - } - }, - { - "id": "components-target-ssh.result-null:settled", - "observation": { - "sender": ["b53739a58194", "70b1e8fb528a", "b84a1b2fc5d8"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "c2a9e7754a2e", - "effects": [] - } - }, - { - "id": "components-target-ssh.inner-ok-missing:settled", - "observation": { - "sender": ["b53739a58194", "70b1e8fb528a", "1a1c006a53b2", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "1212a28487d8", - "effects": [] - } - }, - { - "id": "components-target-ssh.inner-false-string-error:settled", - "observation": { - "sender": ["b53739a58194", "70b1e8fb528a", "fa74035e8785", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "1212a28487d8", - "effects": [] - } - }, - { - "id": "components-target-ssh.inner-false-object-error:settled", - "observation": { - "sender": ["b53739a58194", "70b1e8fb528a", "9eb936085325", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "1212a28487d8", - "effects": [] - } - }, - { - "id": "components-target-ssh.outer-refused:settled", - "observation": { - "sender": ["b53739a58194", "70b1e8fb528a", "474a4191b929"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "53cfc4ee0cf6", - "effects": [] - } - }, - { - "id": "components-target-ssh.outer-refused-no-message:settled", - "observation": { - "sender": ["b53739a58194", "70b1e8fb528a", "5bab1ad3009a"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "2736bf269de9", - "effects": [] - } - }, - { - "id": "components-target-ssh.method-not-found:settled", - "observation": { - "sender": ["b53739a58194", "70b1e8fb528a", "6674bba278a1"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "362b036cb4aa", - "effects": [] - } - }, - { - "id": "components-target-ssh.transport-rejection:settled", - "observation": { - "sender": ["b53739a58194", "70b1e8fb528a", "b4d4b9d96767"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "31cf96607dc7", - "effects": [] - } - }, - { - "id": "components-target-ssh.transport-rejection-no-message:settled", - "observation": { - "sender": ["b53739a58194", "70b1e8fb528a", "c06edc5665d7"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "2736bf269de9", - "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 deleted file mode 100644 index 29f95cccb99..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-components.execution-target-ssh.getstate-1.json +++ /dev/null @@ -1,821 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "components.execution-target", - "family": "components.execution-target", - "namedDeltas": [], - "values": { - "0355054e5e71": { - "name": "ssh.connect#1", - "ordinal": 5, - "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" - } - } - } - } - }, - "10b5ec5ae537": { - "name": "preflight.detectRemoteAgents#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "preflight.detectRemoteAgents" - }, - { - "name": "params", - "value": { - "connectionId": "ssh-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "12098dde49de": { - "name": "ssh.connect#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}" - }, - "1212a28487d8": { - "detected": ["codex"], - "gate": { - "connectInProgress": false, - "error": { - "$rpc": "null" - }, - "needsDesktopServerRecovery": false, - "requiresConnection": false, - "status": "connected" - } - }, - "196cd7f8b6a9": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - } - }, - "1a4c93f792eb": { - "name": "ssh.connect#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}" - }, - "2e370b6bc6d3": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - }, - "3fb9ddbbbb38": { - "name": "ssh.connect#1", - "ordinal": 3, - "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" - } - } - } - } - }, - "4aa26501c485": { - "name": "preflight.detectRemoteAgents#2", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" - }, - "70b1e8fb528a": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 3, - "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"] - } - } - }, - "7f7bf8a1f3fa": { - "detected": { - "$rpc": "null" - }, - "gate": { - "connectInProgress": false, - "error": { - "$rpc": "null" - }, - "needsDesktopServerRecovery": false, - "requiresConnection": false, - "status": "connected" - } - }, - "8265ec539d5a": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" - }, - "86a756c43eee": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - }, - "8b039cc0966c": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - }, - "8c02db2af9ff": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - }, - "a05ac6b15c2d": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" - }, - "a11809a84754": { - "name": "ssh.getState#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"ssh-1\"}}" - }, - "b53739a58194": { - "name": "ssh.getState#1", - "ordinal": 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" - } - } - } - } - }, - "b6835adccf60": { - "name": "ssh.getState#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ssh.getState" - }, - { - "name": "params", - "value": { - "targetId": "ssh-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "b99b1a08e886": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - }, - "ba8c7cc161da": { - "name": "ssh.getState#1", - "ordinal": 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" - } - } - } - }, - "be0c6d8ba1f9": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectRemoteAgents" - }, - { - "name": "params", - "value": { - "connectionId": "ssh-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d4293c213b99": { - "name": "ssh.getState#1", - "ordinal": 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" - } - } - } - }, - "dbf775cf1bdc": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f0dd78640cf3": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - }, - "fe6c500525e6": { - "detected": { - "$rpc": "null" - }, - "gate": { - "connectInProgress": false, - "error": { - "$rpc": "null" - }, - "needsDesktopServerRecovery": false, - "requiresConnection": true, - "status": { - "$rpc": "null" - } - } - } - }, - "recording": { - "scenario": "matrix-components.execution-target-ssh.getstate-1", - "checkpoints": [ - { - "id": "components-target-ssh.prelude:state-pending", - "observation": { - "sender": ["b6835adccf60"], - "payloads": ["a11809a84754"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "fe6c500525e6", - "effects": [] - } - }, - { - "id": "components-target-ssh.normal:settled", - "observation": { - "sender": ["b53739a58194", "70b1e8fb528a", "0355054e5e71", "10b5ec5ae537"], - "payloads": ["a11809a84754", "8265ec539d5a", "12098dde49de", "4aa26501c485"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "1212a28487d8", - "effects": [] - } - }, - { - "id": "components-target-ssh.result-absent:settled", - "observation": { - "sender": ["2e370b6bc6d3", "3fb9ddbbbb38", "be0c6d8ba1f9"], - "payloads": ["a11809a84754", "1a4c93f792eb", "a05ac6b15c2d"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "7f7bf8a1f3fa", - "effects": [] - } - }, - { - "id": "components-target-ssh.result-null:settled", - "observation": { - "sender": ["ba8c7cc161da", "3fb9ddbbbb38", "be0c6d8ba1f9"], - "payloads": ["a11809a84754", "1a4c93f792eb", "a05ac6b15c2d"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "7f7bf8a1f3fa", - "effects": [] - } - }, - { - "id": "components-target-ssh.inner-ok-missing:settled", - "observation": { - "sender": ["d4293c213b99", "3fb9ddbbbb38", "be0c6d8ba1f9"], - "payloads": ["a11809a84754", "1a4c93f792eb", "a05ac6b15c2d"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "7f7bf8a1f3fa", - "effects": [] - } - }, - { - "id": "components-target-ssh.inner-false-string-error:settled", - "observation": { - "sender": ["dbf775cf1bdc", "3fb9ddbbbb38", "be0c6d8ba1f9"], - "payloads": ["a11809a84754", "1a4c93f792eb", "a05ac6b15c2d"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "7f7bf8a1f3fa", - "effects": [] - } - }, - { - "id": "components-target-ssh.inner-false-object-error:settled", - "observation": { - "sender": ["196cd7f8b6a9", "3fb9ddbbbb38", "be0c6d8ba1f9"], - "payloads": ["a11809a84754", "1a4c93f792eb", "a05ac6b15c2d"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "7f7bf8a1f3fa", - "effects": [] - } - }, - { - "id": "components-target-ssh.outer-refused:settled", - "observation": { - "sender": ["8c02db2af9ff", "3fb9ddbbbb38", "be0c6d8ba1f9"], - "payloads": ["a11809a84754", "1a4c93f792eb", "a05ac6b15c2d"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "7f7bf8a1f3fa", - "effects": [] - } - }, - { - "id": "components-target-ssh.outer-refused-no-message:settled", - "observation": { - "sender": ["f0dd78640cf3", "3fb9ddbbbb38", "be0c6d8ba1f9"], - "payloads": ["a11809a84754", "1a4c93f792eb", "a05ac6b15c2d"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "7f7bf8a1f3fa", - "effects": [] - } - }, - { - "id": "components-target-ssh.method-not-found:settled", - "observation": { - "sender": ["86a756c43eee", "3fb9ddbbbb38", "be0c6d8ba1f9"], - "payloads": ["a11809a84754", "1a4c93f792eb", "a05ac6b15c2d"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "7f7bf8a1f3fa", - "effects": [] - } - }, - { - "id": "components-target-ssh.transport-rejection:settled", - "observation": { - "sender": ["8b039cc0966c", "3fb9ddbbbb38", "be0c6d8ba1f9"], - "payloads": ["a11809a84754", "1a4c93f792eb", "a05ac6b15c2d"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "7f7bf8a1f3fa", - "effects": [] - } - }, - { - "id": "components-target-ssh.transport-rejection-no-message:settled", - "observation": { - "sender": ["b99b1a08e886", "3fb9ddbbbb38", "be0c6d8ba1f9"], - "payloads": ["a11809a84754", "1a4c93f792eb", "a05ac6b15c2d"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "7f7bf8a1f3fa", - "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 deleted file mode 100644 index 310446b4c9a..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-components.new-workspace-repositories-repo.list-1.json +++ /dev/null @@ -1,609 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "workspace.repositories", - "family": "components.new-workspace-repositories", - "namedDeltas": [], - "values": { - "12e70439f294": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "1321b4c8c0b8": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "19b2979d7fc2": { - "name": "repo.list#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "1b23dab83fcf": { - "name": "repo.list#1", - "ordinal": 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" - } - } - } - }, - "35f85fe3b71c": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "413e29f6e78e": { - "name": "repo.list#1", - "ordinal": 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" - } - ] - } - } - } - }, - "48c68906a98a": { - "name": "repo.list#1", - "ordinal": 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" - } - }, - "624ec4e5082c": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "6a50de773e54": { - "crash": { - "$rpc": "null" - }, - "loading": false, - "repos": [], - "selected": { - "$rpc": "null" - } - }, - "747c556da67a": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "8a72d3d14d44": { - "name": "repo.list#1", - "ordinal": 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 - } - } - } - }, - "d68475063b62": { - "name": "repo.list#1", - "ordinal": 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 - } - } - } - }, - "dae756300589": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "eac6e56c2d2c": { - "crash": { - "$rpc": "null" - }, - "loading": false, - "repos": ["repo-a", "repo-b"], - "selected": "repo-b" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f1d579dd459c": { - "name": "repo.list#1", - "ordinal": 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 - } - } - } - }, - "recording": { - "scenario": "matrix-components.new-workspace-repositories-repo.list-1", - "checkpoints": [ - { - "id": "new-workspace-repositories-fulfilled.prelude:loading", - "observation": { - "sender": ["35f85fe3b71c"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4e8b4e3e814f", - "effects": [] - } - }, - { - "id": "new-workspace-repositories-fulfilled.normal:selected", - "observation": { - "sender": ["413e29f6e78e"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "eac6e56c2d2c", - "effects": [] - } - }, - { - "id": "new-workspace-repositories-fulfilled.result-absent:selected", - "observation": { - "sender": ["747c556da67a"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6a50de773e54", - "effects": [] - } - }, - { - "id": "new-workspace-repositories-fulfilled.result-null:selected", - "observation": { - "sender": ["48c68906a98a"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6a50de773e54", - "effects": [] - } - }, - { - "id": "new-workspace-repositories-fulfilled.inner-ok-missing:selected", - "observation": { - "sender": ["1b23dab83fcf"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6a50de773e54", - "effects": [] - } - }, - { - "id": "new-workspace-repositories-fulfilled.inner-false-string-error:selected", - "observation": { - "sender": ["8a72d3d14d44"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6a50de773e54", - "effects": [] - } - }, - { - "id": "new-workspace-repositories-fulfilled.inner-false-object-error:selected", - "observation": { - "sender": ["d68475063b62"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6a50de773e54", - "effects": [] - } - }, - { - "id": "new-workspace-repositories-fulfilled.outer-refused:selected", - "observation": { - "sender": ["624ec4e5082c"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6a50de773e54", - "effects": [] - } - }, - { - "id": "new-workspace-repositories-fulfilled.outer-refused-no-message:selected", - "observation": { - "sender": ["f1d579dd459c"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6a50de773e54", - "effects": [] - } - }, - { - "id": "new-workspace-repositories-fulfilled.method-not-found:selected", - "observation": { - "sender": ["12e70439f294"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6a50de773e54", - "effects": [] - } - }, - { - "id": "new-workspace-repositories-fulfilled.transport-rejection:selected", - "observation": { - "sender": ["dae756300589"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6a50de773e54", - "effects": [] - } - }, - { - "id": "new-workspace-repositories-fulfilled.transport-rejection-no-message:selected", - "observation": { - "sender": ["1321b4c8c0b8"], - "payloads": ["19b2979d7fc2"], - "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 deleted file mode 100644 index 5b41d56509a..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-components.setup-script-repo.hooks-1.json +++ /dev/null @@ -1,603 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "components.setup-script", - "family": "components.setup-script", - "namedDeltas": [], - "values": { - "2bf6d40fe6a5": { - "name": "repo.hooks#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.hooks" - }, - { - "name": "params", - "value": { - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "2ed131bd117d": { - "name": "repo.hooks#1", - "ordinal": 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 - } - } - }, - "53c329108725": { - "name": "repo.hooks#1", - "ordinal": 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" - } - } - } - }, - "5b3d63680ed1": { - "name": "repo.hooks#1", - "ordinal": 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 - } - } - }, - "5d1cf72f4e12": { - "advanced": true, - "command": "pnpm install", - "run": true, - "runPolicy": "ask", - "source": "repo", - "trust": { - "$rpc": "null" - } - }, - "61356700c3b5": { - "name": "repo.hooks#1", - "ordinal": 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" - } - } - } - }, - "705f41b59c9e": { - "name": "repo.hooks#1", - "ordinal": 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 - } - } - }, - "79deedc9f2ed": { - "name": "repo.hooks#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "80cf8444e458": { - "advanced": false, - "command": { - "$rpc": "null" - }, - "run": true, - "runPolicy": "run-by-default", - "source": { - "$rpc": "null" - }, - "trust": { - "$rpc": "null" - } - }, - "87a6275dee63": { - "name": "repo.hooks#1", - "ordinal": 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 - } - } - } - }, - "9a92e3b90399": { - "name": "repo.hooks#1", - "ordinal": 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 - } - } - }, - "a4e4636264db": { - "name": "repo.hooks#1", - "ordinal": 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" - } - } - } - }, - "b74f016dd450": { - "name": "repo.hooks#1", - "ordinal": 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 - } - } - } - }, - "ca248946ffc1": { - "name": "repo.hooks#1", - "ordinal": 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 - } - } - }, - "d1abf380a13d": { - "name": "repo.hooks#1", - "ordinal": 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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-components.setup-script-repo.hooks-1", - "checkpoints": [ - { - "id": "components-setup-ask.prelude:hooks-pending", - "observation": { - "sender": ["2bf6d40fe6a5"], - "payloads": ["79deedc9f2ed"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "80cf8444e458", - "effects": [] - } - }, - { - "id": "components-setup-ask.normal:settled", - "observation": { - "sender": ["a4e4636264db"], - "payloads": ["79deedc9f2ed"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5d1cf72f4e12", - "effects": [] - } - }, - { - "id": "components-setup-ask.result-absent:settled", - "observation": { - "sender": ["ca248946ffc1"], - "payloads": ["79deedc9f2ed"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "80cf8444e458", - "effects": [] - } - }, - { - "id": "components-setup-ask.result-null:settled", - "observation": { - "sender": ["53c329108725"], - "payloads": ["79deedc9f2ed"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "80cf8444e458", - "effects": [] - } - }, - { - "id": "components-setup-ask.inner-ok-missing:settled", - "observation": { - "sender": ["61356700c3b5"], - "payloads": ["79deedc9f2ed"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "80cf8444e458", - "effects": [] - } - }, - { - "id": "components-setup-ask.inner-false-string-error:settled", - "observation": { - "sender": ["b74f016dd450"], - "payloads": ["79deedc9f2ed"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "80cf8444e458", - "effects": [] - } - }, - { - "id": "components-setup-ask.inner-false-object-error:settled", - "observation": { - "sender": ["87a6275dee63"], - "payloads": ["79deedc9f2ed"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "80cf8444e458", - "effects": [] - } - }, - { - "id": "components-setup-ask.outer-refused:settled", - "observation": { - "sender": ["705f41b59c9e"], - "payloads": ["79deedc9f2ed"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "80cf8444e458", - "effects": [] - } - }, - { - "id": "components-setup-ask.outer-refused-no-message:settled", - "observation": { - "sender": ["d1abf380a13d"], - "payloads": ["79deedc9f2ed"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "80cf8444e458", - "effects": [] - } - }, - { - "id": "components-setup-ask.method-not-found:settled", - "observation": { - "sender": ["2ed131bd117d"], - "payloads": ["79deedc9f2ed"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "80cf8444e458", - "effects": [] - } - }, - { - "id": "components-setup-ask.transport-rejection:settled", - "observation": { - "sender": ["5b3d63680ed1"], - "payloads": ["79deedc9f2ed"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "80cf8444e458", - "effects": [] - } - }, - { - "id": "components-setup-ask.transport-rejection-no-message:settled", - "observation": { - "sender": ["9a92e3b90399"], - "payloads": ["79deedc9f2ed"], - "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 deleted file mode 100644 index 61df2f1d319..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.explorer-screen-files.list-1.json +++ /dev/null @@ -1,753 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.explorer-screen", - "family": "files.explorer-screen", - "namedDeltas": [], - "values": { - "25ac0f3b2c33": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "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 - } - } - } - }, - "34bd55d6f194": { - "name": "files.readDir#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readDir\",\"params\":{\"worktree\":\"id:wt-files\",\"relativePath\":\"\",\"limit\":500}}" - }, - "3a1876594975": { - "name": "files.readDir#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "462546d04801": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "75aaf142eb3b": { - "name": "files.list#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.list\",\"params\":{\"worktree\":\"id:wt-files\"}}" - }, - "7e1b93aa6c0d": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 2, - "SafeAreaView": 1, - "Text": 5, - "View": 7 - }, - "labels": ["Back to session"], - "rows": [], - "text": ["Files", "orca-files", "Unable to Load", "outer refused", "Retry"] - }, - "809f2fd39bad": { - "name": "files.readDir#2", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.readDir\",\"params\":{\"worktree\":\"id:wt-files\",\"relativePath\":\"\",\"limit\":500}}" - }, - "8560e3819688": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "948a6977def7": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "Defs": 1, - "FlatList": 1, - "LinearGradient": 1, - "Pressable": 1, - "Rect": 1, - "SafeAreaView": 1, - "Search": 1, - "Stop": 2, - "Svg": 1, - "Text": 2, - "TextInput": 1, - "View": 11 - }, - "labels": ["Back to session", "Filter files"], - "rows": ["dir:src", "file:README.md"], - "text": ["Files", "orca-files - Showing first 5000"] - }, - "a3aad4e41187": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "b4d12c8ac5a5": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 2, - "SafeAreaView": 1, - "Text": 5, - "View": 7 - }, - "labels": ["Back to session"], - "rows": [], - "text": [ - "Files", - "orca-files", - "Unable to Load", - "The host sent a reply this app could not read (files.list)", - "Retry" - ] - }, - "c3427cf20352": { - "name": "files.readDir#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "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 - } - } - }, - "c5076d056cbf": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "c721e7f4a5c5": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ActivityIndicator": 1, - "ChevronLeft": 1, - "Pressable": 1, - "SafeAreaView": 1, - "Text": 3, - "View": 7 - }, - "labels": ["Back to session"], - "rows": [], - "text": ["Files", "orca-files", "Loading files…"] - }, - "ca13345ac236": { - "name": "files.readDir#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "cb90a060cfad": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "d893585d9ee2": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 2, - "SafeAreaView": 1, - "Text": 5, - "View": 7 - }, - "labels": ["Back to session"], - "rows": [], - "text": ["Files", "orca-files", "Unable to Load", "Unknown method", "Retry"] - }, - "dde9bcd7de8d": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "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" - } - }, - "eb90450037b8": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "ebd41c990fe9": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "ee4f8fa568ed": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "f21986674dc9": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "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": ["ca13345ac236"], - "payloads": ["34bd55d6f194"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c721e7f4a5c5", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.normal:legacy-listed", - "observation": { - "sender": ["c3427cf20352", "25ac0f3b2c33"], - "payloads": ["34bd55d6f194", "75aaf142eb3b"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "948a6977def7", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.result-absent:legacy-listed", - "observation": { - "sender": ["c3427cf20352", "cb90a060cfad"], - "payloads": ["34bd55d6f194", "75aaf142eb3b"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "b4d12c8ac5a5", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.result-null:legacy-listed", - "observation": { - "sender": ["c3427cf20352", "f21986674dc9"], - "payloads": ["34bd55d6f194", "75aaf142eb3b"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "b4d12c8ac5a5", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.inner-ok-missing:legacy-listed", - "observation": { - "sender": ["c3427cf20352", "ebd41c990fe9"], - "payloads": ["34bd55d6f194", "75aaf142eb3b"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "b4d12c8ac5a5", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.inner-false-string-error:legacy-listed", - "observation": { - "sender": ["c3427cf20352", "eb90450037b8"], - "payloads": ["34bd55d6f194", "75aaf142eb3b"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "b4d12c8ac5a5", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.inner-false-object-error:legacy-listed", - "observation": { - "sender": ["c3427cf20352", "ee4f8fa568ed"], - "payloads": ["34bd55d6f194", "75aaf142eb3b"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "b4d12c8ac5a5", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.outer-refused:legacy-listed", - "observation": { - "sender": ["c3427cf20352", "a3aad4e41187"], - "payloads": ["34bd55d6f194", "75aaf142eb3b"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7e1b93aa6c0d", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.outer-refused-no-message:legacy-listed", - "observation": { - "sender": ["c3427cf20352", "462546d04801"], - "payloads": ["34bd55d6f194", "75aaf142eb3b"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "d893585d9ee2", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.method-not-found:legacy-listed", - "observation": { - "sender": ["c3427cf20352", "8560e3819688"], - "payloads": ["34bd55d6f194", "75aaf142eb3b"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "d893585d9ee2", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.transport-rejection:legacy-listed", - "observation": { - "sender": ["c3427cf20352", "dde9bcd7de8d", "3a1876594975"], - "payloads": ["34bd55d6f194", "75aaf142eb3b", "809f2fd39bad"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c721e7f4a5c5", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.transport-rejection-no-message:legacy-listed", - "observation": { - "sender": ["c3427cf20352", "c5076d056cbf", "3a1876594975"], - "payloads": ["34bd55d6f194", "75aaf142eb3b", "809f2fd39bad"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c721e7f4a5c5", - "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 deleted file mode 100644 index 7a0ac446de2..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.explorer-screen-files.readdir-1.json +++ /dev/null @@ -1,802 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.explorer-screen", - "family": "files.explorer-screen", - "namedDeltas": [], - "values": { - "01416c2b4a57": { - "name": "files.readDir#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "0bb2387cc495": { - "name": "files.readDir#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "25ac0f3b2c33": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "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 - } - } - } - }, - "30b248ba1f14": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 2, - "SafeAreaView": 1, - "Text": 5, - "View": 7 - }, - "labels": ["Back to session"], - "rows": [], - "text": ["Files", "orca-files", "Unable to Load", "Unable to load files", "Retry"] - }, - "34bd55d6f194": { - "name": "files.readDir#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readDir\",\"params\":{\"worktree\":\"id:wt-files\",\"relativePath\":\"\",\"limit\":500}}" - }, - "40f20f4d65e9": { - "name": "files.readDir#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "414397b1a548": { - "name": "files.readDir#2", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.readDir\",\"params\":{\"worktree\":\"id:wt-files\",\"relativePath\":\"\",\"limit\":500}}" - }, - "5bf19f172f7e": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 2, - "SafeAreaView": 1, - "Text": 5, - "View": 7 - }, - "labels": ["Back to session"], - "rows": [], - "text": [ - "Files", - "orca-files", - "Unable to Load", - "The host sent a reply this app could not read (files.readDir)", - "Retry" - ] - }, - "75aaf142eb3b": { - "name": "files.list#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.list\",\"params\":{\"worktree\":\"id:wt-files\"}}" - }, - "7c7f9e3096a0": { - "name": "files.readDir#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "7e1b93aa6c0d": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "CircleAlert": 1, - "Pressable": 2, - "SafeAreaView": 1, - "Text": 5, - "View": 7 - }, - "labels": ["Back to session"], - "rows": [], - "text": ["Files", "orca-files", "Unable to Load", "outer refused", "Retry"] - }, - "835009844467": { - "name": "files.readDir#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "948a6977def7": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "Defs": 1, - "FlatList": 1, - "LinearGradient": 1, - "Pressable": 1, - "Rect": 1, - "SafeAreaView": 1, - "Search": 1, - "Stop": 2, - "Svg": 1, - "Text": 2, - "TextInput": 1, - "View": 11 - }, - "labels": ["Back to session", "Filter files"], - "rows": ["dir:src", "file:README.md"], - "text": ["Files", "orca-files - Showing first 5000"] - }, - "9f1a5ca359ab": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronLeft": 1, - "Defs": 1, - "FlatList": 1, - "LinearGradient": 1, - "Pressable": 1, - "Rect": 1, - "SafeAreaView": 1, - "Search": 1, - "Stop": 2, - "Svg": 1, - "Text": 2, - "TextInput": 1, - "View": 11 - }, - "labels": ["Back to session", "Filter files"], - "rows": ["dir:src", "file:README.md"], - "text": ["Files", "orca-files"] - }, - "a0f5e1e0ad66": { - "name": "files.readDir#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "c3427cf20352": { - "name": "files.readDir#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "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 - } - } - }, - "c60ce6016166": { - "name": "files.readDir#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": [ - { - "isDirectory": true, - "name": "src" - }, - { - "isDirectory": false, - "name": "README.md" - } - ] - } - } - }, - "c721e7f4a5c5": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ActivityIndicator": 1, - "ChevronLeft": 1, - "Pressable": 1, - "SafeAreaView": 1, - "Text": 3, - "View": 7 - }, - "labels": ["Back to session"], - "rows": [], - "text": ["Files", "orca-files", "Loading files…"] - }, - "ca13345ac236": { - "name": "files.readDir#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d84f551526a2": { - "name": "files.readDir#2", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "dbdb9571e8ad": { - "name": "files.readDir#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "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 - } - } - } - }, - "df797914e485": { - "name": "files.readDir#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "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" - } - }, - "fe29a551ed17": { - "name": "files.readDir#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.readDir" - }, - { - "name": "params", - "value": { - "limit": 500, - "relativePath": "", - "worktree": "id:wt-files" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - } - }, - "recording": { - "scenario": "matrix-files.explorer-screen-files.readdir-1", - "checkpoints": [ - { - "id": "files-explorer-legacy-fallback.prelude:loading", - "observation": { - "sender": ["ca13345ac236"], - "payloads": ["34bd55d6f194"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c721e7f4a5c5", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.normal:legacy-listed", - "observation": { - "sender": ["c60ce6016166"], - "payloads": ["34bd55d6f194"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9f1a5ca359ab", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.result-absent:legacy-listed", - "observation": { - "sender": ["01416c2b4a57"], - "payloads": ["34bd55d6f194"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5bf19f172f7e", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.result-null:legacy-listed", - "observation": { - "sender": ["835009844467"], - "payloads": ["34bd55d6f194"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5bf19f172f7e", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.inner-ok-missing:legacy-listed", - "observation": { - "sender": ["fe29a551ed17"], - "payloads": ["34bd55d6f194"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5bf19f172f7e", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.inner-false-string-error:legacy-listed", - "observation": { - "sender": ["df797914e485"], - "payloads": ["34bd55d6f194"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5bf19f172f7e", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.inner-false-object-error:legacy-listed", - "observation": { - "sender": ["dbdb9571e8ad"], - "payloads": ["34bd55d6f194"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5bf19f172f7e", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.outer-refused:legacy-listed", - "observation": { - "sender": ["a0f5e1e0ad66"], - "payloads": ["34bd55d6f194"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7e1b93aa6c0d", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.outer-refused-no-message:legacy-listed", - "observation": { - "sender": ["0bb2387cc495"], - "payloads": ["34bd55d6f194"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "30b248ba1f14", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.method-not-found:legacy-listed", - "observation": { - "sender": ["c3427cf20352", "25ac0f3b2c33"], - "payloads": ["34bd55d6f194", "75aaf142eb3b"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "948a6977def7", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.transport-rejection:legacy-listed", - "observation": { - "sender": ["7c7f9e3096a0", "d84f551526a2"], - "payloads": ["34bd55d6f194", "414397b1a548"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c721e7f4a5c5", - "effects": [] - } - }, - { - "id": "files-explorer-legacy-fallback.transport-rejection-no-message:legacy-listed", - "observation": { - "sender": ["40f20f4d65e9", "d84f551526a2"], - "payloads": ["34bd55d6f194", "414397b1a548"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c721e7f4a5c5", - "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 deleted file mode 100644 index e0fb53e4d16..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.mutation-ownership-ssh.getstate-1.json +++ /dev/null @@ -1,745 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.mutation-ownership", - "family": "files.mutation-ownership", - "namedDeltas": [], - "values": { - "0622950ee1c9": { - "name": "ssh.getState#1", - "ordinal": 5, - "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 - } - } - }, - "088efd8ff3f7": { - "name": "ssh.getState#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"target-1\"}}" - }, - "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 - } - }, - "3cf4416a7928": { - "name": "worktree.show#1", - "ordinal": 3, - "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" - } - } - } - } - }, - "518ec57c381a": { - "ownership": "uncaptured" - }, - "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 - } - }, - "7fb21c6984cd": { - "name": "ssh.getState#1", - "ordinal": 5, - "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" - } - } - } - }, - "8189da502550": { - "name": "ssh.getState#1", - "ordinal": 5, - "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 - } - } - }, - "83e4ac78046a": { - "name": "status.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "a5ef894f4e5d": { - "name": "ssh.getState#1", - "ordinal": 5, - "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 - } - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b6e8ae2b152e": { - "name": "ssh.getState#1", - "ordinal": 5, - "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" - } - } - } - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "bd84dadd27c7": { - "ownership": { - "expectedExecutionHostId": "ssh:target-1", - "expectedSshConnectionGeneration": 3, - "expectedSshTargetId": "target-1" - } - }, - "bf89f648aaa2": { - "name": "ssh.getState#1", - "ordinal": 5, - "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 - } - } - }, - "c4c200b5bf69": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (ssh.getState)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "c88f95163b47": { - "name": "ssh.getState#1", - "ordinal": 5, - "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 - } - } - }, - "c924e7a5a7da": { - "name": "worktree.show#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" - }, - "d08f74d65ee6": { - "name": "status.get#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "d6278bd1b8ca": { - "name": "ssh.getState#1", - "ordinal": 5, - "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 - } - } - } - }, - "e6c4b2665e65": { - "name": "ssh.getState#1", - "ordinal": 5, - "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" - } - } - } - }, - "e81d3a627ac2": { - "name": "status.get#1", - "ordinal": 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"] - } - } - } - }, - "ebfbc952a6d9": { - "name": "ssh.getState#1", - "ordinal": 5, - "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 - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "f71e1b2fb109": { - "name": "ssh.getState#1", - "ordinal": 5, - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-files.mutation-ownership-ssh.getstate-1", - "checkpoints": [ - { - "id": "files-ownership-ssh.prelude:status-pending", - "observation": { - "sender": ["83e4ac78046a"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "capture": "9270aeb7d9c6" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.normal:settled", - "observation": { - "sender": ["e81d3a627ac2", "3cf4416a7928", "b6e8ae2b152e"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "088efd8ff3f7"], - "settlements": { - "capture": "29bfbe94cca9" - }, - "state": "bd84dadd27c7", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.result-absent:settled", - "observation": { - "sender": ["e81d3a627ac2", "3cf4416a7928", "0622950ee1c9"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "088efd8ff3f7"], - "settlements": { - "capture": "c4c200b5bf69" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.result-null:settled", - "observation": { - "sender": ["e81d3a627ac2", "3cf4416a7928", "7fb21c6984cd"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "088efd8ff3f7"], - "settlements": { - "capture": "c4c200b5bf69" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.inner-ok-missing:settled", - "observation": { - "sender": ["e81d3a627ac2", "3cf4416a7928", "e6c4b2665e65"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "088efd8ff3f7"], - "settlements": { - "capture": "6178f3695366" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.inner-false-string-error:settled", - "observation": { - "sender": ["e81d3a627ac2", "3cf4416a7928", "a5ef894f4e5d"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "088efd8ff3f7"], - "settlements": { - "capture": "6178f3695366" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.inner-false-object-error:settled", - "observation": { - "sender": ["e81d3a627ac2", "3cf4416a7928", "d6278bd1b8ca"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "088efd8ff3f7"], - "settlements": { - "capture": "6178f3695366" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.outer-refused:settled", - "observation": { - "sender": ["e81d3a627ac2", "3cf4416a7928", "8189da502550"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "088efd8ff3f7"], - "settlements": { - "capture": "32a7c0ae7918" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.outer-refused-no-message:settled", - "observation": { - "sender": ["e81d3a627ac2", "3cf4416a7928", "f71e1b2fb109"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "088efd8ff3f7"], - "settlements": { - "capture": "f3b516f62081" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.method-not-found:settled", - "observation": { - "sender": ["e81d3a627ac2", "3cf4416a7928", "ebfbc952a6d9"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "088efd8ff3f7"], - "settlements": { - "capture": "b948e8307e81" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.transport-rejection:settled", - "observation": { - "sender": ["e81d3a627ac2", "3cf4416a7928", "c88f95163b47"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "088efd8ff3f7"], - "settlements": { - "capture": "a947768bc0ed" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.transport-rejection-no-message:settled", - "observation": { - "sender": ["e81d3a627ac2", "3cf4416a7928", "bf89f648aaa2"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "088efd8ff3f7"], - "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 deleted file mode 100644 index 701f40da225..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.mutation-ownership-status.get-1.json +++ /dev/null @@ -1,745 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.mutation-ownership", - "family": "files.mutation-ownership", - "namedDeltas": [], - "values": { - "049e3dd3b1db": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "088efd8ff3f7": { - "name": "ssh.getState#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"target-1\"}}" - }, - "0fbf6809f292": { - "name": "status.get#1", - "ordinal": 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" - } - } - } - }, - "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 - } - }, - "3cf4416a7928": { - "name": "worktree.show#1", - "ordinal": 3, - "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" - } - } - } - } - }, - "518ec57c381a": { - "ownership": "uncaptured" - }, - "7f0419402be8": { - "name": "status.get#1", - "ordinal": 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 - } - } - } - }, - "83e4ac78046a": { - "name": "status.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "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 - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b5476ba1aabe": { - "name": "status.get#1", - "ordinal": 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 - } - } - } - }, - "b6e8ae2b152e": { - "name": "ssh.getState#1", - "ordinal": 5, - "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" - } - } - } - } - }, - "b70aead0ffe8": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "bd84dadd27c7": { - "ownership": { - "expectedExecutionHostId": "ssh:target-1", - "expectedSshConnectionGeneration": 3, - "expectedSshTargetId": "target-1" - } - }, - "bfe4c76a5071": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "c924e7a5a7da": { - "name": "worktree.show#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" - }, - "c98cb7e69921": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "d08f74d65ee6": { - "name": "status.get#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "d55c9db323b1": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (status.get)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "e81d3a627ac2": { - "name": "status.get#1", - "ordinal": 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"] - } - } - } - }, - "e852b360bd93": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "fa37fc8bfba3": { - "name": "status.get#1", - "ordinal": 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" - } - } - } - }, - "fa49f7da1267": { - "name": "status.get#1", - "ordinal": 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 - } - } - } - }, - "recording": { - "scenario": "matrix-files.mutation-ownership-status.get-1", - "checkpoints": [ - { - "id": "files-ownership-ssh.prelude:status-pending", - "observation": { - "sender": ["83e4ac78046a"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "capture": "9270aeb7d9c6" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.normal:settled", - "observation": { - "sender": ["e81d3a627ac2", "3cf4416a7928", "b6e8ae2b152e"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "088efd8ff3f7"], - "settlements": { - "capture": "29bfbe94cca9" - }, - "state": "bd84dadd27c7", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.result-absent:settled", - "observation": { - "sender": ["fa49f7da1267"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "capture": "d55c9db323b1" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.result-null:settled", - "observation": { - "sender": ["fa37fc8bfba3"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "capture": "d55c9db323b1" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.inner-ok-missing:settled", - "observation": { - "sender": ["0fbf6809f292"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "capture": "9ce0c7923c41" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.inner-false-string-error:settled", - "observation": { - "sender": ["b5476ba1aabe"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "capture": "9ce0c7923c41" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.inner-false-object-error:settled", - "observation": { - "sender": ["7f0419402be8"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "capture": "9ce0c7923c41" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.outer-refused:settled", - "observation": { - "sender": ["b70aead0ffe8"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "capture": "32a7c0ae7918" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.outer-refused-no-message:settled", - "observation": { - "sender": ["bfe4c76a5071"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "capture": "f3b516f62081" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.method-not-found:settled", - "observation": { - "sender": ["e852b360bd93"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "capture": "b948e8307e81" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.transport-rejection:settled", - "observation": { - "sender": ["c98cb7e69921"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "capture": "a947768bc0ed" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.transport-rejection-no-message:settled", - "observation": { - "sender": ["049e3dd3b1db"], - "payloads": ["d08f74d65ee6"], - "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 deleted file mode 100644 index d56a093a4ac..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.mutation-ownership-worktree.show-1.json +++ /dev/null @@ -1,745 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.mutation-ownership", - "family": "files.mutation-ownership", - "namedDeltas": [], - "values": { - "0233661d0a29": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (worktree.show)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "088efd8ff3f7": { - "name": "ssh.getState#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"target-1\"}}" - }, - "0d389bb9bac8": { - "name": "worktree.show#1", - "ordinal": 3, - "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" - } - } - } - }, - "1d9a5cd13503": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - } - }, - "29bfbe94cca9": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "expectedExecutionHostId": "ssh:target-1", - "expectedSshConnectionGeneration": 3, - "expectedSshTargetId": "target-1" - } - }, - "2edf2dc7f524": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - }, - "329c07f39178": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "3cf4416a7928": { - "name": "worktree.show#1", - "ordinal": 3, - "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" - } - } - } - } - }, - "518ec57c381a": { - "ownership": "uncaptured" - }, - "5b0942040fc9": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - } - }, - "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 - } - }, - "67c0d38a9b95": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - }, - "83e4ac78046a": { - "name": "status.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "84c6d4a53548": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "9dc70bb3c6c3": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - }, - "9e604bd17e60": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b6e8ae2b152e": { - "name": "ssh.getState#1", - "ordinal": 5, - "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" - } - } - } - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "bd84dadd27c7": { - "ownership": { - "expectedExecutionHostId": "ssh:target-1", - "expectedSshConnectionGeneration": 3, - "expectedSshTargetId": "target-1" - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "c8d8aec2ecbb": { - "name": "worktree.show#1", - "ordinal": 3, - "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" - } - } - } - }, - "c924e7a5a7da": { - "name": "worktree.show#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" - }, - "d08f74d65ee6": { - "name": "status.get#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "e81d3a627ac2": { - "name": "status.get#1", - "ordinal": 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"] - } - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - } - }, - "recording": { - "scenario": "matrix-files.mutation-ownership-worktree.show-1", - "checkpoints": [ - { - "id": "files-ownership-ssh.prelude:status-pending", - "observation": { - "sender": ["83e4ac78046a"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "capture": "9270aeb7d9c6" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.normal:settled", - "observation": { - "sender": ["e81d3a627ac2", "3cf4416a7928", "b6e8ae2b152e"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "088efd8ff3f7"], - "settlements": { - "capture": "29bfbe94cca9" - }, - "state": "bd84dadd27c7", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.result-absent:settled", - "observation": { - "sender": ["e81d3a627ac2", "2edf2dc7f524"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "capture": "0233661d0a29" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.result-null:settled", - "observation": { - "sender": ["e81d3a627ac2", "c8d8aec2ecbb"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "capture": "0233661d0a29" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.inner-ok-missing:settled", - "observation": { - "sender": ["e81d3a627ac2", "0d389bb9bac8"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "capture": "6178f3695366" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.inner-false-string-error:settled", - "observation": { - "sender": ["e81d3a627ac2", "5b0942040fc9"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "capture": "6178f3695366" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.inner-false-object-error:settled", - "observation": { - "sender": ["e81d3a627ac2", "1d9a5cd13503"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "capture": "6178f3695366" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.outer-refused:settled", - "observation": { - "sender": ["e81d3a627ac2", "84c6d4a53548"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "capture": "32a7c0ae7918" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.outer-refused-no-message:settled", - "observation": { - "sender": ["e81d3a627ac2", "67c0d38a9b95"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "capture": "f3b516f62081" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.method-not-found:settled", - "observation": { - "sender": ["e81d3a627ac2", "329c07f39178"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "capture": "b948e8307e81" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.transport-rejection:settled", - "observation": { - "sender": ["e81d3a627ac2", "9dc70bb3c6c3"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "capture": "a947768bc0ed" - }, - "state": "518ec57c381a", - "effects": [] - } - }, - { - "id": "files-ownership-ssh.transport-rejection-no-message:settled", - "observation": { - "sender": ["e81d3a627ac2", "9e604bd17e60"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "capture": "c7584e82c72f" - }, - "state": "518ec57c381a", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-files.preview-artifact-image-files.readterminalartifactpreview-1.json b/mobile/rpc-foundation/goldens/matrix-files.preview-artifact-image-files.readterminalartifactpreview-1.json deleted file mode 100644 index e2762255416..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.preview-artifact-image-files.readterminalartifactpreview-1.json +++ /dev/null @@ -1,634 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.preview-load", - "family": "files.preview-artifact-image", - "namedDeltas": [], - "values": { - "011a73e13887": { - "name": "files.readTerminalArtifactPreview#1", - "ordinal": 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": { - "$rpc": "null" - } - } - } - }, - "0254bd812679": { - "name": "files.readTerminalArtifactPreview#1", - "ordinal": 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": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "0639efe16769": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "message": "Binary preview unavailable", - "reconnect": false, - "status": "error" - } - }, - "06ce305bc756": { - "name": "files.readTerminalArtifactPreview#1", - "ordinal": 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": { - "error": "refused" - } - } - } - }, - "15467bba2d60": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "message": "Unable to load preview", - "reconnect": false, - "status": "error" - } - }, - "491897d7dd5d": { - "name": "files.readTerminalArtifactPreview#1", - "ordinal": 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": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "645c5754be42": { - "preview": "unloaded" - }, - "6c3ad19b3a5a": { - "preview": { - "message": "Binary preview unavailable", - "reconnect": false, - "status": "error" - } - }, - "75ebb08fd335": { - "name": "files.readTerminalArtifactPreview#1", - "ordinal": 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": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "7659b8b575da": { - "preview": { - "dataUri": "data:image/png;base64,aGk=", - "kind": "image", - "status": "ready" - } - }, - "879996a2a9e7": { - "name": "files.readTerminalArtifactPreview#1", - "ordinal": 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": "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 - } - }, - "b5608d3d00c8": { - "name": "files.readTerminalArtifactPreview#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifactPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/shot.png\",\"grantId\":\"grant-1\"}}" - }, - "b96f3d16bdfc": { - "name": "files.readTerminalArtifactPreview#1", - "ordinal": 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": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "bf5d986bfb2b": { - "name": "files.readTerminalArtifactPreview#1", - "ordinal": 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": { - "error": "inner refused", - "ok": false - } - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "ce511c0ab8ac": { - "name": "files.readTerminalArtifactPreview#1", - "ordinal": 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" - } - } - } - }, - "d3fa8c5b05e4": { - "name": "files.readTerminalArtifactPreview#1", - "ordinal": 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": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "dd9af848f659": { - "name": "files.readTerminalArtifactPreview#1", - "ordinal": 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 - } - } - }, - "eed3c09414c4": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (files.readTerminalArtifactPreview)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "eee847a9d90d": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "dataUri": "data:image/png;base64,aGk=", - "kind": "image", - "status": "ready" - } - }, - "fba5e3c89244": { - "preview": { - "message": "Unable to load preview", - "reconnect": false, - "status": "error" - } - } - }, - "recording": { - "scenario": "matrix-files.preview-artifact-image-files.readterminalartifactpreview-1", - "checkpoints": [ - { - "id": "files-preview-artifact-image-read.normal:settled", - "observation": { - "sender": ["ce511c0ab8ac"], - "payloads": ["b5608d3d00c8"], - "settlements": { - "load": "eee847a9d90d" - }, - "state": "7659b8b575da", - "effects": [] - } - }, - { - "id": "files-preview-artifact-image-read.result-absent:settled", - "observation": { - "sender": ["dd9af848f659"], - "payloads": ["b5608d3d00c8"], - "settlements": { - "load": "eed3c09414c4" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-artifact-image-read.result-null:settled", - "observation": { - "sender": ["011a73e13887"], - "payloads": ["b5608d3d00c8"], - "settlements": { - "load": "eed3c09414c4" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-artifact-image-read.inner-ok-missing:settled", - "observation": { - "sender": ["06ce305bc756"], - "payloads": ["b5608d3d00c8"], - "settlements": { - "load": "0639efe16769" - }, - "state": "6c3ad19b3a5a", - "effects": [] - } - }, - { - "id": "files-preview-artifact-image-read.inner-false-string-error:settled", - "observation": { - "sender": ["bf5d986bfb2b"], - "payloads": ["b5608d3d00c8"], - "settlements": { - "load": "0639efe16769" - }, - "state": "6c3ad19b3a5a", - "effects": [] - } - }, - { - "id": "files-preview-artifact-image-read.inner-false-object-error:settled", - "observation": { - "sender": ["b96f3d16bdfc"], - "payloads": ["b5608d3d00c8"], - "settlements": { - "load": "0639efe16769" - }, - "state": "6c3ad19b3a5a", - "effects": [] - } - }, - { - "id": "files-preview-artifact-image-read.outer-refused:settled", - "observation": { - "sender": ["75ebb08fd335"], - "payloads": ["b5608d3d00c8"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-artifact-image-read.outer-refused-no-message:settled", - "observation": { - "sender": ["d3fa8c5b05e4"], - "payloads": ["b5608d3d00c8"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-artifact-image-read.method-not-found:settled", - "observation": { - "sender": ["491897d7dd5d"], - "payloads": ["b5608d3d00c8"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-artifact-image-read.transport-rejection:settled", - "observation": { - "sender": ["0254bd812679"], - "payloads": ["b5608d3d00c8"], - "settlements": { - "load": "a947768bc0ed" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-artifact-image-read.transport-rejection-no-message:settled", - "observation": { - "sender": ["879996a2a9e7"], - "payloads": ["b5608d3d00c8"], - "settlements": { - "load": "c7584e82c72f" - }, - "state": "645c5754be42", - "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 deleted file mode 100644 index 29365377166..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.preview-load-files.readterminalartifact-1.json +++ /dev/null @@ -1,664 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.preview-load", - "family": "files.preview-load", - "namedDeltas": [], - "values": { - "0181c916a00b": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - } - }, - "15467bba2d60": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "message": "Unable to load preview", - "reconnect": false, - "status": "error" - } - }, - "2198677d4b7f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (files.readTerminalArtifact)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "2cbe3d82fe7d": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - }, - "359261481665": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - }, - "382386beddce": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - }, - "500d95d47092": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "byteLength": 5, - "content": "hello", - "kind": "text", - "status": "ready", - "truncated": false - } - }, - "5beb3ae90517": { - "name": "files.readTerminalArtifact#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}" - }, - "645c5754be42": { - "preview": "unloaded" - }, - "6eb653749642": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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" - } - } - } - }, - "784ea351e5b2": { - "preview": { - "byteLength": 5, - "content": "hello", - "kind": "text", - "status": "ready", - "truncated": false - } - }, - "79e29d93e054": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "9f03df02f6d5": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - }, - "b3fa0f7828ce": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "ce7d56dd9080": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - } - }, - "d9e395f8cbf2": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - }, - "fba5e3c89244": { - "preview": { - "message": "Unable to load preview", - "reconnect": false, - "status": "error" - } - }, - "fc8164cc9095": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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" - } - } - } - }, - "fefd6468864f": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - } - }, - "recording": { - "scenario": "matrix-files.preview-load-files.readterminalartifact-1", - "checkpoints": [ - { - "id": "files-preview-grant-refresh.prelude:read-pending", - "observation": { - "sender": ["d9e395f8cbf2"], - "payloads": ["5beb3ae90517"], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.normal:settled", - "observation": { - "sender": ["b3fa0f7828ce"], - "payloads": ["5beb3ae90517"], - "settlements": { - "load": "500d95d47092" - }, - "state": "784ea351e5b2", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.result-absent:settled", - "observation": { - "sender": ["359261481665"], - "payloads": ["5beb3ae90517"], - "settlements": { - "load": "2198677d4b7f" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.result-null:settled", - "observation": { - "sender": ["fc8164cc9095"], - "payloads": ["5beb3ae90517"], - "settlements": { - "load": "2198677d4b7f" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.inner-ok-missing:settled", - "observation": { - "sender": ["6eb653749642"], - "payloads": ["5beb3ae90517"], - "settlements": { - "load": "2198677d4b7f" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.inner-false-string-error:settled", - "observation": { - "sender": ["ce7d56dd9080"], - "payloads": ["5beb3ae90517"], - "settlements": { - "load": "2198677d4b7f" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.inner-false-object-error:settled", - "observation": { - "sender": ["0181c916a00b"], - "payloads": ["5beb3ae90517"], - "settlements": { - "load": "2198677d4b7f" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.outer-refused:settled", - "observation": { - "sender": ["79e29d93e054"], - "payloads": ["5beb3ae90517"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.outer-refused-no-message:settled", - "observation": { - "sender": ["2cbe3d82fe7d"], - "payloads": ["5beb3ae90517"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.method-not-found:settled", - "observation": { - "sender": ["382386beddce"], - "payloads": ["5beb3ae90517"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.transport-rejection:settled", - "observation": { - "sender": ["fefd6468864f"], - "payloads": ["5beb3ae90517"], - "settlements": { - "load": "a947768bc0ed" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.transport-rejection-no-message:settled", - "observation": { - "sender": ["9f03df02f6d5"], - "payloads": ["5beb3ae90517"], - "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 deleted file mode 100644 index 63c1011884c..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.preview-load-files.readterminalartifact-2.json +++ /dev/null @@ -1,767 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.preview-load", - "family": "files.preview-load", - "namedDeltas": [], - "values": { - "0ea42bf424ad": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - }, - "15467bba2d60": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "message": "Unable to load preview", - "reconnect": false, - "status": "error" - } - }, - "2198677d4b7f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (files.readTerminalArtifact)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "29e625f367a7": { - "name": "files.resolveTerminalPath#1", - "ordinal": 3, - "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" - } - } - } - } - }, - "3fa46af4bb15": { - "name": "files.resolveTerminalPath#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"run.txt\",\"cwd\":\"/logs\",\"terminal\":\"terminal-1\"}}" - }, - "46a78d750996": { - "name": "files.readTerminalArtifact#2", - "ordinal": 6, - "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 - } - } - }, - "500d95d47092": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "byteLength": 5, - "content": "hello", - "kind": "text", - "status": "ready", - "truncated": false - } - }, - "503d66d8b67a": { - "name": "files.readTerminalArtifact#2", - "ordinal": 6, - "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 - } - } - } - }, - "5ac2970408b9": { - "name": "files.readTerminalArtifact#2", - "ordinal": 6, - "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 - } - } - }, - "5beb3ae90517": { - "name": "files.readTerminalArtifact#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}" - }, - "645c5754be42": { - "preview": "unloaded" - }, - "679de887534f": { - "name": "files.readTerminalArtifact#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-2\"}}" - }, - "6ee7054a11ed": { - "name": "files.readTerminalArtifact#2", - "ordinal": 6, - "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 - } - }, - "7e162e008509": { - "name": "files.readTerminalArtifact#2", - "ordinal": 6, - "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 - } - } - } - }, - "7eb140353497": { - "name": "files.readTerminalArtifact#2", - "ordinal": 6, - "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 - } - } - }, - "842035a85a1c": { - "name": "files.readTerminalArtifact#2", - "ordinal": 6, - "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" - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "9b93c935ff0f": { - "name": "files.readTerminalArtifact#2", - "ordinal": 6, - "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 - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "bdf8e4e0083f": { - "name": "files.readTerminalArtifact#2", - "ordinal": 6, - "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 - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d9e395f8cbf2": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - }, - "dc6e0288b015": { - "name": "files.readTerminalArtifact#2", - "ordinal": 6, - "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 - } - } - } - }, - "ddb7adf79b98": { - "name": "artifact-source-refreshed", - "ordinal": 5, - "value": { - "absolutePath": "/logs/run.txt", - "cwd": "/logs", - "grantId": "grant-2", - "pathText": "run.txt", - "source": "terminalArtifact", - "terminalHandle": "terminal-1", - "worktreeId": "workspace-1" - } - }, - "f24fc15f029f": { - "name": "files.readTerminalArtifact#2", - "ordinal": 6, - "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" - } - } - } - }, - "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": ["d9e395f8cbf2"], - "payloads": ["5beb3ae90517"], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.normal:settled", - "observation": { - "sender": ["0ea42bf424ad", "29e625f367a7", "7e162e008509"], - "payloads": ["5beb3ae90517", "3fa46af4bb15", "679de887534f"], - "settlements": { - "load": "500d95d47092" - }, - "state": "784ea351e5b2", - "effects": ["ddb7adf79b98"] - } - }, - { - "id": "files-preview-grant-refresh.result-absent:settled", - "observation": { - "sender": ["0ea42bf424ad", "29e625f367a7", "bdf8e4e0083f"], - "payloads": ["5beb3ae90517", "3fa46af4bb15", "679de887534f"], - "settlements": { - "load": "2198677d4b7f" - }, - "state": "645c5754be42", - "effects": ["ddb7adf79b98"] - } - }, - { - "id": "files-preview-grant-refresh.result-null:settled", - "observation": { - "sender": ["0ea42bf424ad", "29e625f367a7", "842035a85a1c"], - "payloads": ["5beb3ae90517", "3fa46af4bb15", "679de887534f"], - "settlements": { - "load": "2198677d4b7f" - }, - "state": "645c5754be42", - "effects": ["ddb7adf79b98"] - } - }, - { - "id": "files-preview-grant-refresh.inner-ok-missing:settled", - "observation": { - "sender": ["0ea42bf424ad", "29e625f367a7", "f24fc15f029f"], - "payloads": ["5beb3ae90517", "3fa46af4bb15", "679de887534f"], - "settlements": { - "load": "2198677d4b7f" - }, - "state": "645c5754be42", - "effects": ["ddb7adf79b98"] - } - }, - { - "id": "files-preview-grant-refresh.inner-false-string-error:settled", - "observation": { - "sender": ["0ea42bf424ad", "29e625f367a7", "dc6e0288b015"], - "payloads": ["5beb3ae90517", "3fa46af4bb15", "679de887534f"], - "settlements": { - "load": "2198677d4b7f" - }, - "state": "645c5754be42", - "effects": ["ddb7adf79b98"] - } - }, - { - "id": "files-preview-grant-refresh.inner-false-object-error:settled", - "observation": { - "sender": ["0ea42bf424ad", "29e625f367a7", "503d66d8b67a"], - "payloads": ["5beb3ae90517", "3fa46af4bb15", "679de887534f"], - "settlements": { - "load": "2198677d4b7f" - }, - "state": "645c5754be42", - "effects": ["ddb7adf79b98"] - } - }, - { - "id": "files-preview-grant-refresh.outer-refused:settled", - "observation": { - "sender": ["0ea42bf424ad", "29e625f367a7", "7eb140353497"], - "payloads": ["5beb3ae90517", "3fa46af4bb15", "679de887534f"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": ["ddb7adf79b98"] - } - }, - { - "id": "files-preview-grant-refresh.outer-refused-no-message:settled", - "observation": { - "sender": ["0ea42bf424ad", "29e625f367a7", "5ac2970408b9"], - "payloads": ["5beb3ae90517", "3fa46af4bb15", "679de887534f"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": ["ddb7adf79b98"] - } - }, - { - "id": "files-preview-grant-refresh.method-not-found:settled", - "observation": { - "sender": ["0ea42bf424ad", "29e625f367a7", "46a78d750996"], - "payloads": ["5beb3ae90517", "3fa46af4bb15", "679de887534f"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": ["ddb7adf79b98"] - } - }, - { - "id": "files-preview-grant-refresh.transport-rejection:settled", - "observation": { - "sender": ["0ea42bf424ad", "29e625f367a7", "9b93c935ff0f"], - "payloads": ["5beb3ae90517", "3fa46af4bb15", "679de887534f"], - "settlements": { - "load": "a947768bc0ed" - }, - "state": "645c5754be42", - "effects": ["ddb7adf79b98"] - } - }, - { - "id": "files-preview-grant-refresh.transport-rejection-no-message:settled", - "observation": { - "sender": ["0ea42bf424ad", "29e625f367a7", "6ee7054a11ed"], - "payloads": ["5beb3ae90517", "3fa46af4bb15", "679de887534f"], - "settlements": { - "load": "c7584e82c72f" - }, - "state": "645c5754be42", - "effects": ["ddb7adf79b98"] - } - } - ] - } -} 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 deleted file mode 100644 index c3f80406d9f..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.preview-load-files.resolveterminalpath-1.json +++ /dev/null @@ -1,777 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.preview-load", - "family": "files.preview-load", - "namedDeltas": [], - "values": { - "022b6743e9ed": { - "name": "files.resolveTerminalPath#1", - "ordinal": 3, - "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 - } - } - }, - "09ce12d7b4ef": { - "name": "files.resolveTerminalPath#1", - "ordinal": 3, - "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" - } - } - } - }, - "0ea42bf424ad": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - }, - "102f111a0163": { - "name": "files.resolveTerminalPath#1", - "ordinal": 3, - "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 - } - } - }, - "15467bba2d60": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "message": "Unable to load preview", - "reconnect": false, - "status": "error" - } - }, - "29e625f367a7": { - "name": "files.resolveTerminalPath#1", - "ordinal": 3, - "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" - } - } - } - } - }, - "3123bd46d591": { - "name": "files.resolveTerminalPath#1", - "ordinal": 3, - "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 - } - } - }, - "3d8acd2ead95": { - "name": "files.resolveTerminalPath#1", - "ordinal": 3, - "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" - } - } - } - }, - "3dd41220ecbf": { - "name": "files.resolveTerminalPath#1", - "ordinal": 3, - "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 - } - } - } - }, - "3fa46af4bb15": { - "name": "files.resolveTerminalPath#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.resolveTerminalPath\",\"params\":{\"worktree\":\"id:workspace-1\",\"pathText\":\"run.txt\",\"cwd\":\"/logs\",\"terminal\":\"terminal-1\"}}" - }, - "500d95d47092": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "byteLength": 5, - "content": "hello", - "kind": "text", - "status": "ready", - "truncated": false - } - }, - "54c8d9c728f2": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (files.resolveTerminalPath)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "5beb3ae90517": { - "name": "files.readTerminalArtifact#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}" - }, - "645c5754be42": { - "preview": "unloaded" - }, - "679de887534f": { - "name": "files.readTerminalArtifact#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-2\"}}" - }, - "784ea351e5b2": { - "preview": { - "byteLength": 5, - "content": "hello", - "kind": "text", - "status": "ready", - "truncated": false - } - }, - "7e162e008509": { - "name": "files.readTerminalArtifact#2", - "ordinal": 6, - "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 - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "a4921cff402d": { - "name": "files.resolveTerminalPath#1", - "ordinal": 3, - "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 - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "ad1560697ac8": { - "name": "files.resolveTerminalPath#1", - "ordinal": 3, - "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 - } - } - }, - "b0c7ef6de282": { - "name": "files.resolveTerminalPath#1", - "ordinal": 3, - "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 - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d8fa9582d6de": { - "name": "files.resolveTerminalPath#1", - "ordinal": 3, - "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 - } - } - } - }, - "d9e395f8cbf2": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - }, - "ddb7adf79b98": { - "name": "artifact-source-refreshed", - "ordinal": 5, - "value": { - "absolutePath": "/logs/run.txt", - "cwd": "/logs", - "grantId": "grant-2", - "pathText": "run.txt", - "source": "terminalArtifact", - "terminalHandle": "terminal-1", - "worktreeId": "workspace-1" - } - }, - "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": ["d9e395f8cbf2"], - "payloads": ["5beb3ae90517"], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.normal:settled", - "observation": { - "sender": ["0ea42bf424ad", "29e625f367a7", "7e162e008509"], - "payloads": ["5beb3ae90517", "3fa46af4bb15", "679de887534f"], - "settlements": { - "load": "500d95d47092" - }, - "state": "784ea351e5b2", - "effects": ["ddb7adf79b98"] - } - }, - { - "id": "files-preview-grant-refresh.result-absent:settled", - "observation": { - "sender": ["0ea42bf424ad", "ad1560697ac8"], - "payloads": ["5beb3ae90517", "3fa46af4bb15"], - "settlements": { - "load": "54c8d9c728f2" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.result-null:settled", - "observation": { - "sender": ["0ea42bf424ad", "09ce12d7b4ef"], - "payloads": ["5beb3ae90517", "3fa46af4bb15"], - "settlements": { - "load": "54c8d9c728f2" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.inner-ok-missing:settled", - "observation": { - "sender": ["0ea42bf424ad", "3d8acd2ead95"], - "payloads": ["5beb3ae90517", "3fa46af4bb15"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.inner-false-string-error:settled", - "observation": { - "sender": ["0ea42bf424ad", "3dd41220ecbf"], - "payloads": ["5beb3ae90517", "3fa46af4bb15"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.inner-false-object-error:settled", - "observation": { - "sender": ["0ea42bf424ad", "d8fa9582d6de"], - "payloads": ["5beb3ae90517", "3fa46af4bb15"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.outer-refused:settled", - "observation": { - "sender": ["0ea42bf424ad", "3123bd46d591"], - "payloads": ["5beb3ae90517", "3fa46af4bb15"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.outer-refused-no-message:settled", - "observation": { - "sender": ["0ea42bf424ad", "102f111a0163"], - "payloads": ["5beb3ae90517", "3fa46af4bb15"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.method-not-found:settled", - "observation": { - "sender": ["0ea42bf424ad", "a4921cff402d"], - "payloads": ["5beb3ae90517", "3fa46af4bb15"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.transport-rejection:settled", - "observation": { - "sender": ["0ea42bf424ad", "b0c7ef6de282"], - "payloads": ["5beb3ae90517", "3fa46af4bb15"], - "settlements": { - "load": "a947768bc0ed" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-grant-refresh.transport-rejection-no-message:settled", - "observation": { - "sender": ["0ea42bf424ad", "022b6743e9ed"], - "payloads": ["5beb3ae90517", "3fa46af4bb15"], - "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 deleted file mode 100644 index bd4b3650896..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.preview-save-files.readterminalartifact-1.json +++ /dev/null @@ -1,698 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.preview-save", - "family": "files.preview-save", - "namedDeltas": [], - "values": { - "0181c916a00b": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - } - }, - "15467bba2d60": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "message": "Unable to load preview", - "reconnect": false, - "status": "error" - } - }, - "2198677d4b7f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (files.readTerminalArtifact)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "24ffb7059792": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - } - }, - "2cbe3d82fe7d": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - }, - "359261481665": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - }, - "382386beddce": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - }, - "54a6055a16b5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "status": "saved" - } - }, - "5ac141a87b5a": { - "saved": { - "message": "Unable to load preview", - "reconnect": false, - "status": "error" - } - }, - "5beb3ae90517": { - "name": "files.readTerminalArtifact#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}" - }, - "6eb653749642": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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" - } - } - } - }, - "74f3d3f1e1a0": { - "name": "files.writeTerminalArtifact#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.writeTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\",\"content\":\"next\"}}" - }, - "79e29d93e054": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "935100df69e4": { - "saved": "unsaved" - }, - "9f03df02f6d5": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - }, - "b3f873eb7d0c": { - "saved": { - "status": "saved" - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "cce1b55470fd": { - "name": "files.writeTerminalArtifact#1", - "ordinal": 3, - "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 - } - } - } - }, - "ce7d56dd9080": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - } - }, - "d9e395f8cbf2": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - }, - "fc8164cc9095": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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" - } - } - } - }, - "fefd6468864f": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - } - }, - "recording": { - "scenario": "matrix-files.preview-save-files.readterminalartifact-1", - "checkpoints": [ - { - "id": "files-save-verified.prelude:verify-pending", - "observation": { - "sender": ["d9e395f8cbf2"], - "payloads": ["5beb3ae90517"], - "settlements": { - "save": "9270aeb7d9c6" - }, - "state": "935100df69e4", - "effects": [] - } - }, - { - "id": "files-save-verified.normal:settled", - "observation": { - "sender": ["24ffb7059792", "cce1b55470fd"], - "payloads": ["5beb3ae90517", "74f3d3f1e1a0"], - "settlements": { - "save": "54a6055a16b5" - }, - "state": "b3f873eb7d0c", - "effects": [] - } - }, - { - "id": "files-save-verified.result-absent:settled", - "observation": { - "sender": ["359261481665"], - "payloads": ["5beb3ae90517"], - "settlements": { - "save": "2198677d4b7f" - }, - "state": "935100df69e4", - "effects": [] - } - }, - { - "id": "files-save-verified.result-null:settled", - "observation": { - "sender": ["fc8164cc9095"], - "payloads": ["5beb3ae90517"], - "settlements": { - "save": "2198677d4b7f" - }, - "state": "935100df69e4", - "effects": [] - } - }, - { - "id": "files-save-verified.inner-ok-missing:settled", - "observation": { - "sender": ["6eb653749642"], - "payloads": ["5beb3ae90517"], - "settlements": { - "save": "2198677d4b7f" - }, - "state": "935100df69e4", - "effects": [] - } - }, - { - "id": "files-save-verified.inner-false-string-error:settled", - "observation": { - "sender": ["ce7d56dd9080"], - "payloads": ["5beb3ae90517"], - "settlements": { - "save": "2198677d4b7f" - }, - "state": "935100df69e4", - "effects": [] - } - }, - { - "id": "files-save-verified.inner-false-object-error:settled", - "observation": { - "sender": ["0181c916a00b"], - "payloads": ["5beb3ae90517"], - "settlements": { - "save": "2198677d4b7f" - }, - "state": "935100df69e4", - "effects": [] - } - }, - { - "id": "files-save-verified.outer-refused:settled", - "observation": { - "sender": ["79e29d93e054"], - "payloads": ["5beb3ae90517"], - "settlements": { - "save": "15467bba2d60" - }, - "state": "5ac141a87b5a", - "effects": [] - } - }, - { - "id": "files-save-verified.outer-refused-no-message:settled", - "observation": { - "sender": ["2cbe3d82fe7d"], - "payloads": ["5beb3ae90517"], - "settlements": { - "save": "15467bba2d60" - }, - "state": "5ac141a87b5a", - "effects": [] - } - }, - { - "id": "files-save-verified.method-not-found:settled", - "observation": { - "sender": ["382386beddce"], - "payloads": ["5beb3ae90517"], - "settlements": { - "save": "15467bba2d60" - }, - "state": "5ac141a87b5a", - "effects": [] - } - }, - { - "id": "files-save-verified.transport-rejection:settled", - "observation": { - "sender": ["fefd6468864f"], - "payloads": ["5beb3ae90517"], - "settlements": { - "save": "a947768bc0ed" - }, - "state": "935100df69e4", - "effects": [] - } - }, - { - "id": "files-save-verified.transport-rejection-no-message:settled", - "observation": { - "sender": ["9f03df02f6d5"], - "payloads": ["5beb3ae90517"], - "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 deleted file mode 100644 index 865e999fb98..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.preview-save-files.writeterminalartifact-1.json +++ /dev/null @@ -1,697 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.preview-save", - "family": "files.preview-save", - "namedDeltas": [], - "values": { - "15467bba2d60": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "message": "Unable to load preview", - "reconnect": false, - "status": "error" - } - }, - "191610421fe7": { - "name": "files.writeTerminalArtifact#1", - "ordinal": 3, - "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 - } - } - }, - "1fab3a097f71": { - "name": "files.writeTerminalArtifact#1", - "ordinal": 3, - "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 - } - } - } - }, - "24ffb7059792": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - } - } - }, - "2721c2547f92": { - "name": "files.writeTerminalArtifact#1", - "ordinal": 3, - "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 - } - } - }, - "491f993d5064": { - "name": "files.writeTerminalArtifact#1", - "ordinal": 3, - "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" - } - } - } - }, - "54a6055a16b5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "status": "saved" - } - }, - "5ac141a87b5a": { - "saved": { - "message": "Unable to load preview", - "reconnect": false, - "status": "error" - } - }, - "5beb3ae90517": { - "name": "files.readTerminalArtifact#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.readTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\"}}" - }, - "74f3d3f1e1a0": { - "name": "files.writeTerminalArtifact#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.writeTerminalArtifact\",\"params\":{\"worktree\":\"id:workspace-1\",\"absolutePath\":\"/logs/run.txt\",\"grantId\":\"grant-1\",\"content\":\"next\"}}" - }, - "7a94943d2c9f": { - "name": "files.writeTerminalArtifact#1", - "ordinal": 3, - "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 - } - } - } - }, - "834a4f2a74c7": { - "name": "files.writeTerminalArtifact#1", - "ordinal": 3, - "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" - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "935100df69e4": { - "saved": "unsaved" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aaec8628d54e": { - "name": "files.writeTerminalArtifact#1", - "ordinal": 3, - "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 - } - } - }, - "b3f873eb7d0c": { - "saved": { - "status": "saved" - } - }, - "c3e50a212cf0": { - "name": "files.writeTerminalArtifact#1", - "ordinal": 3, - "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 - } - }, - "cce1b55470fd": { - "name": "files.writeTerminalArtifact#1", - "ordinal": 3, - "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 - } - } - } - }, - "d9e395f8cbf2": { - "name": "files.readTerminalArtifact#1", - "ordinal": 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 - } - }, - "f8007a29ebd1": { - "name": "files.writeTerminalArtifact#1", - "ordinal": 3, - "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 - } - } - }, - "f983839f0a86": { - "name": "files.writeTerminalArtifact#1", - "ordinal": 3, - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-files.preview-save-files.writeterminalartifact-1", - "checkpoints": [ - { - "id": "files-save-verified.prelude:verify-pending", - "observation": { - "sender": ["d9e395f8cbf2"], - "payloads": ["5beb3ae90517"], - "settlements": { - "save": "9270aeb7d9c6" - }, - "state": "935100df69e4", - "effects": [] - } - }, - { - "id": "files-save-verified.normal:settled", - "observation": { - "sender": ["24ffb7059792", "cce1b55470fd"], - "payloads": ["5beb3ae90517", "74f3d3f1e1a0"], - "settlements": { - "save": "54a6055a16b5" - }, - "state": "b3f873eb7d0c", - "effects": [] - } - }, - { - "id": "files-save-verified.result-absent:settled", - "observation": { - "sender": ["24ffb7059792", "f8007a29ebd1"], - "payloads": ["5beb3ae90517", "74f3d3f1e1a0"], - "settlements": { - "save": "54a6055a16b5" - }, - "state": "b3f873eb7d0c", - "effects": [] - } - }, - { - "id": "files-save-verified.result-null:settled", - "observation": { - "sender": ["24ffb7059792", "834a4f2a74c7"], - "payloads": ["5beb3ae90517", "74f3d3f1e1a0"], - "settlements": { - "save": "54a6055a16b5" - }, - "state": "b3f873eb7d0c", - "effects": [] - } - }, - { - "id": "files-save-verified.inner-ok-missing:settled", - "observation": { - "sender": ["24ffb7059792", "491f993d5064"], - "payloads": ["5beb3ae90517", "74f3d3f1e1a0"], - "settlements": { - "save": "54a6055a16b5" - }, - "state": "b3f873eb7d0c", - "effects": [] - } - }, - { - "id": "files-save-verified.inner-false-string-error:settled", - "observation": { - "sender": ["24ffb7059792", "7a94943d2c9f"], - "payloads": ["5beb3ae90517", "74f3d3f1e1a0"], - "settlements": { - "save": "54a6055a16b5" - }, - "state": "b3f873eb7d0c", - "effects": [] - } - }, - { - "id": "files-save-verified.inner-false-object-error:settled", - "observation": { - "sender": ["24ffb7059792", "1fab3a097f71"], - "payloads": ["5beb3ae90517", "74f3d3f1e1a0"], - "settlements": { - "save": "54a6055a16b5" - }, - "state": "b3f873eb7d0c", - "effects": [] - } - }, - { - "id": "files-save-verified.outer-refused:settled", - "observation": { - "sender": ["24ffb7059792", "f983839f0a86"], - "payloads": ["5beb3ae90517", "74f3d3f1e1a0"], - "settlements": { - "save": "15467bba2d60" - }, - "state": "5ac141a87b5a", - "effects": [] - } - }, - { - "id": "files-save-verified.outer-refused-no-message:settled", - "observation": { - "sender": ["24ffb7059792", "c3e50a212cf0"], - "payloads": ["5beb3ae90517", "74f3d3f1e1a0"], - "settlements": { - "save": "15467bba2d60" - }, - "state": "5ac141a87b5a", - "effects": [] - } - }, - { - "id": "files-save-verified.method-not-found:settled", - "observation": { - "sender": ["24ffb7059792", "2721c2547f92"], - "payloads": ["5beb3ae90517", "74f3d3f1e1a0"], - "settlements": { - "save": "15467bba2d60" - }, - "state": "5ac141a87b5a", - "effects": [] - } - }, - { - "id": "files-save-verified.transport-rejection:settled", - "observation": { - "sender": ["24ffb7059792", "aaec8628d54e"], - "payloads": ["5beb3ae90517", "74f3d3f1e1a0"], - "settlements": { - "save": "a947768bc0ed" - }, - "state": "935100df69e4", - "effects": [] - } - }, - { - "id": "files-save-verified.transport-rejection-no-message:settled", - "observation": { - "sender": ["24ffb7059792", "191610421fe7"], - "payloads": ["5beb3ae90517", "74f3d3f1e1a0"], - "settlements": { - "save": "c7584e82c72f" - }, - "state": "935100df69e4", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-files.preview-worktree-image-files.readpreview-1.json b/mobile/rpc-foundation/goldens/matrix-files.preview-worktree-image-files.readpreview-1.json deleted file mode 100644 index 8b71474bf02..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.preview-worktree-image-files.readpreview-1.json +++ /dev/null @@ -1,623 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.preview-load", - "family": "files.preview-worktree-image", - "namedDeltas": [], - "values": { - "0639efe16769": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "message": "Binary preview unavailable", - "reconnect": false, - "status": "error" - } - }, - "15467bba2d60": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "message": "Unable to load preview", - "reconnect": false, - "status": "error" - } - }, - "211cdb1558da": { - "name": "files.readPreview#1", - "ordinal": 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-1", - "ok": false - } - } - }, - "54071f66c6d8": { - "name": "files.readPreview#1", - "ordinal": 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-1", - "ok": false - } - } - }, - "56177906925a": { - "name": "files.readPreview#1", - "ordinal": 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": { - "error": "refused" - } - } - } - }, - "5c71a0c5523d": { - "name": "files.readPreview#1", - "ordinal": 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 - } - } - }, - "645c5754be42": { - "preview": "unloaded" - }, - "67dbd4c82715": { - "name": "files.readPreview#1", - "ordinal": 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-1", - "ok": false - } - } - }, - "6af2188434b2": { - "name": "files.readPreview#1", - "ordinal": 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 - } - } - }, - "6c3ad19b3a5a": { - "preview": { - "message": "Binary preview unavailable", - "reconnect": false, - "status": "error" - } - }, - "70f782fa6ef2": { - "name": "files.readPreview#1", - "ordinal": 2, - "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" - } - }, - "79a49cf80ecf": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (files.readPreview)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "a51f35ec407c": { - "name": "files.readPreview#1", - "ordinal": 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": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "a568af21f540": { - "name": "files.readPreview#1", - "ordinal": 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" - } - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "af09828e5413": { - "name": "files.readPreview#1", - "ordinal": 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": { - "$rpc": "null" - } - } - } - }, - "c4730e0ddd60": { - "name": "files.readPreview#1", - "ordinal": 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": { - "error": "inner refused", - "ok": false - } - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "ee977c2d3628": { - "name": "files.readPreview#1", - "ordinal": 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 - } - } - }, - "eee847a9d90d": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "dataUri": "data:image/png;base64,aGk=", - "kind": "image", - "status": "ready" - } - }, - "fba5e3c89244": { - "preview": { - "message": "Unable to load preview", - "reconnect": false, - "status": "error" - } - } - }, - "recording": { - "scenario": "matrix-files.preview-worktree-image-files.readpreview-1", - "checkpoints": [ - { - "id": "files-preview-worktree-image-read.normal:settled", - "observation": { - "sender": ["a568af21f540"], - "payloads": ["70f782fa6ef2"], - "settlements": { - "load": "eee847a9d90d" - }, - "state": "7659b8b575da", - "effects": [] - } - }, - { - "id": "files-preview-worktree-image-read.result-absent:settled", - "observation": { - "sender": ["5c71a0c5523d"], - "payloads": ["70f782fa6ef2"], - "settlements": { - "load": "79a49cf80ecf" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-worktree-image-read.result-null:settled", - "observation": { - "sender": ["af09828e5413"], - "payloads": ["70f782fa6ef2"], - "settlements": { - "load": "79a49cf80ecf" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-worktree-image-read.inner-ok-missing:settled", - "observation": { - "sender": ["56177906925a"], - "payloads": ["70f782fa6ef2"], - "settlements": { - "load": "0639efe16769" - }, - "state": "6c3ad19b3a5a", - "effects": [] - } - }, - { - "id": "files-preview-worktree-image-read.inner-false-string-error:settled", - "observation": { - "sender": ["c4730e0ddd60"], - "payloads": ["70f782fa6ef2"], - "settlements": { - "load": "0639efe16769" - }, - "state": "6c3ad19b3a5a", - "effects": [] - } - }, - { - "id": "files-preview-worktree-image-read.inner-false-object-error:settled", - "observation": { - "sender": ["a51f35ec407c"], - "payloads": ["70f782fa6ef2"], - "settlements": { - "load": "0639efe16769" - }, - "state": "6c3ad19b3a5a", - "effects": [] - } - }, - { - "id": "files-preview-worktree-image-read.outer-refused:settled", - "observation": { - "sender": ["211cdb1558da"], - "payloads": ["70f782fa6ef2"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-worktree-image-read.outer-refused-no-message:settled", - "observation": { - "sender": ["54071f66c6d8"], - "payloads": ["70f782fa6ef2"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-worktree-image-read.method-not-found:settled", - "observation": { - "sender": ["67dbd4c82715"], - "payloads": ["70f782fa6ef2"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-worktree-image-read.transport-rejection:settled", - "observation": { - "sender": ["6af2188434b2"], - "payloads": ["70f782fa6ef2"], - "settlements": { - "load": "a947768bc0ed" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-worktree-image-read.transport-rejection-no-message:settled", - "observation": { - "sender": ["ee977c2d3628"], - "payloads": ["70f782fa6ef2"], - "settlements": { - "load": "c7584e82c72f" - }, - "state": "645c5754be42", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-files.preview-worktree-text-files.read-1.json b/mobile/rpc-foundation/goldens/matrix-files.preview-worktree-text-files.read-1.json deleted file mode 100644 index af5b6a91640..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.preview-worktree-text-files.read-1.json +++ /dev/null @@ -1,609 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.preview-load", - "family": "files.preview-worktree-text", - "namedDeltas": [], - "values": { - "072647254b82": { - "name": "files.read#1", - "ordinal": 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 - } - } - } - }, - "10dde7cd8f0e": { - "name": "files.read#1", - "ordinal": 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" - } - } - } - }, - "15467bba2d60": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "message": "Unable to load preview", - "reconnect": false, - "status": "error" - } - }, - "1cf4496bc8c0": { - "name": "files.read#1", - "ordinal": 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 - } - } - } - }, - "3f8bf3069e3d": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "byteLength": 8, - "content": "# readme", - "kind": "markdown", - "status": "ready", - "truncated": false - } - }, - "43e3786742e9": { - "name": "files.read#1", - "ordinal": 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 - } - } - }, - "47ef2e397e18": { - "preview": { - "byteLength": 8, - "content": "# readme", - "kind": "markdown", - "status": "ready", - "truncated": false - } - }, - "645c5754be42": { - "preview": "unloaded" - }, - "786a079aa332": { - "name": "files.read#1", - "ordinal": 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 - } - } - }, - "8423ff93fda2": { - "name": "files.read#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.read\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/readme.md\"}}" - }, - "91f40f652017": { - "name": "files.read#1", - "ordinal": 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 - } - } - }, - "9def31fe4536": { - "name": "files.read#1", - "ordinal": 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 - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "bbbd11388ff3": { - "name": "files.read#1", - "ordinal": 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 - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d7d97e5dac06": { - "name": "files.read#1", - "ordinal": 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 - } - } - } - }, - "e05b0a48111b": { - "name": "files.read#1", - "ordinal": 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 - } - } - }, - "fba5e3c89244": { - "preview": { - "message": "Unable to load preview", - "reconnect": false, - "status": "error" - } - }, - "fcbcdb353528": { - "name": "files.read#1", - "ordinal": 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" - } - } - } - }, - "fed544a8befe": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (files.read)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - } - }, - "recording": { - "scenario": "matrix-files.preview-worktree-text-files.read-1", - "checkpoints": [ - { - "id": "files-preview-worktree-text-read.normal:settled", - "observation": { - "sender": ["1cf4496bc8c0"], - "payloads": ["8423ff93fda2"], - "settlements": { - "load": "3f8bf3069e3d" - }, - "state": "47ef2e397e18", - "effects": [] - } - }, - { - "id": "files-preview-worktree-text-read.result-absent:settled", - "observation": { - "sender": ["43e3786742e9"], - "payloads": ["8423ff93fda2"], - "settlements": { - "load": "fed544a8befe" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-worktree-text-read.result-null:settled", - "observation": { - "sender": ["10dde7cd8f0e"], - "payloads": ["8423ff93fda2"], - "settlements": { - "load": "fed544a8befe" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-worktree-text-read.inner-ok-missing:settled", - "observation": { - "sender": ["fcbcdb353528"], - "payloads": ["8423ff93fda2"], - "settlements": { - "load": "fed544a8befe" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-worktree-text-read.inner-false-string-error:settled", - "observation": { - "sender": ["d7d97e5dac06"], - "payloads": ["8423ff93fda2"], - "settlements": { - "load": "fed544a8befe" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-worktree-text-read.inner-false-object-error:settled", - "observation": { - "sender": ["072647254b82"], - "payloads": ["8423ff93fda2"], - "settlements": { - "load": "fed544a8befe" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-worktree-text-read.outer-refused:settled", - "observation": { - "sender": ["91f40f652017"], - "payloads": ["8423ff93fda2"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-worktree-text-read.outer-refused-no-message:settled", - "observation": { - "sender": ["bbbd11388ff3"], - "payloads": ["8423ff93fda2"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-worktree-text-read.method-not-found:settled", - "observation": { - "sender": ["e05b0a48111b"], - "payloads": ["8423ff93fda2"], - "settlements": { - "load": "15467bba2d60" - }, - "state": "fba5e3c89244", - "effects": [] - } - }, - { - "id": "files-preview-worktree-text-read.transport-rejection:settled", - "observation": { - "sender": ["9def31fe4536"], - "payloads": ["8423ff93fda2"], - "settlements": { - "load": "a947768bc0ed" - }, - "state": "645c5754be42", - "effects": [] - } - }, - { - "id": "files-preview-worktree-text-read.transport-rejection-no-message:settled", - "observation": { - "sender": ["786a079aa332"], - "payloads": ["8423ff93fda2"], - "settlements": { - "load": "c7584e82c72f" - }, - "state": "645c5754be42", - "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 deleted file mode 100644 index 8e9eb6c8448..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.tab-doc-files.read-1.json +++ /dev/null @@ -1,804 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.tab-doc", - "family": "files.tab-doc", - "namedDeltas": [], - "values": { - "072647254b82": { - "name": "files.read#1", - "ordinal": 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 - } - } - } - }, - "096b0c48dd10": { - "name": "git.diff#1", - "ordinal": 5, - "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" - } - } - } - }, - "10dde7cd8f0e": { - "name": "files.read#1", - "ordinal": 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" - } - } - } - }, - "1cf4496bc8c0": { - "name": "files.read#1", - "ordinal": 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 - } - } - } - }, - "1f1a0d8f6723": { - "name": "files.readPreview#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.readPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/logo.png\"}}" - }, - "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" - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "43e3786742e9": { - "name": "files.read#1", - "ordinal": 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 - } - } - }, - "786a079aa332": { - "name": "files.read#1", - "ordinal": 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 - } - } - }, - "8423ff93fda2": { - "name": "files.read#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.read\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/readme.md\"}}" - }, - "91f40f652017": { - "name": "files.read#1", - "ordinal": 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 - } - } - }, - "96b863d005b1": { - "name": "files.readPreview#1", - "ordinal": 3, - "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" - } - } - } - }, - "9def31fe4536": { - "name": "files.read#1", - "ordinal": 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 - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": 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 - } - }, - "bbbd11388ff3": { - "name": "files.read#1", - "ordinal": 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 - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "ca069263339b": { - "name": "git.diff#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:workspace-1\",\"filePath\":\"docs/readme.md\",\"staged\":true}}" - }, - "d7d97e5dac06": { - "name": "files.read#1", - "ordinal": 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 - } - } - } - }, - "e05b0a48111b": { - "name": "files.read#1", - "ordinal": 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 - } - }, - "fcbcdb353528": { - "name": "files.read#1", - "ordinal": 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" - } - } - } - }, - "fed544a8befe": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (files.read)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "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": ["1cf4496bc8c0", "96b863d005b1", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "eee847a9d90d", - "diff": "ffe1c534d459" - }, - "state": "ed33ecdb4e8e", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.result-absent:settled", - "observation": { - "sender": ["43e3786742e9", "96b863d005b1", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "fed544a8befe", - "image": "eee847a9d90d", - "diff": "ffe1c534d459" - }, - "state": "3073ceba86bd", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.result-null:settled", - "observation": { - "sender": ["10dde7cd8f0e", "96b863d005b1", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "fed544a8befe", - "image": "eee847a9d90d", - "diff": "ffe1c534d459" - }, - "state": "3073ceba86bd", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.inner-ok-missing:settled", - "observation": { - "sender": ["fcbcdb353528", "96b863d005b1", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "fed544a8befe", - "image": "eee847a9d90d", - "diff": "ffe1c534d459" - }, - "state": "3073ceba86bd", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.inner-false-string-error:settled", - "observation": { - "sender": ["d7d97e5dac06", "96b863d005b1", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "fed544a8befe", - "image": "eee847a9d90d", - "diff": "ffe1c534d459" - }, - "state": "3073ceba86bd", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.inner-false-object-error:settled", - "observation": { - "sender": ["072647254b82", "96b863d005b1", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "fed544a8befe", - "image": "eee847a9d90d", - "diff": "ffe1c534d459" - }, - "state": "3073ceba86bd", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.outer-refused:settled", - "observation": { - "sender": ["91f40f652017", "96b863d005b1", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "32a7c0ae7918", - "image": "eee847a9d90d", - "diff": "ffe1c534d459" - }, - "state": "3073ceba86bd", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.outer-refused-no-message:settled", - "observation": { - "sender": ["bbbd11388ff3", "96b863d005b1", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "f3b516f62081", - "image": "eee847a9d90d", - "diff": "ffe1c534d459" - }, - "state": "3073ceba86bd", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.method-not-found:settled", - "observation": { - "sender": ["e05b0a48111b", "96b863d005b1", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b948e8307e81", - "image": "eee847a9d90d", - "diff": "ffe1c534d459" - }, - "state": "3073ceba86bd", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.transport-rejection:settled", - "observation": { - "sender": ["9def31fe4536", "96b863d005b1", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "a947768bc0ed", - "image": "eee847a9d90d", - "diff": "ffe1c534d459" - }, - "state": "3073ceba86bd", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.transport-rejection-no-message:settled", - "observation": { - "sender": ["786a079aa332", "96b863d005b1", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "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 deleted file mode 100644 index 1f2478046ae..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.tab-doc-files.readpreview-1.json +++ /dev/null @@ -1,806 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.tab-doc", - "family": "files.tab-doc", - "namedDeltas": [], - "values": { - "096b0c48dd10": { - "name": "git.diff#1", - "ordinal": 5, - "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" - } - } - } - }, - "1cf4496bc8c0": { - "name": "files.read#1", - "ordinal": 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 - } - } - } - }, - "1f1a0d8f6723": { - "name": "files.readPreview#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.readPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/logo.png\"}}" - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "3af186df3174": { - "name": "files.readPreview#1", - "ordinal": 3, - "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" - } - } - } - }, - "4de835754493": { - "name": "files.readPreview#1", - "ordinal": 3, - "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 - } - } - }, - "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 - } - }, - "66bc4514f94e": { - "name": "files.readPreview#1", - "ordinal": 3, - "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 - } - } - }, - "76e0d3045a97": { - "name": "files.readPreview#1", - "ordinal": 3, - "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 - } - } - }, - "79a49cf80ecf": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (files.readPreview)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "8423ff93fda2": { - "name": "files.read#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.read\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/readme.md\"}}" - }, - "96b863d005b1": { - "name": "files.readPreview#1", - "ordinal": 3, - "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" - } - } - } - }, - "a445fbad7d59": { - "name": "files.readPreview#1", - "ordinal": 3, - "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 - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "ab770cb53932": { - "name": "files.readPreview#1", - "ordinal": 3, - "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" - } - } - } - }, - "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 - } - }, - "bbda935b41f4": { - "name": "files.readPreview#1", - "ordinal": 3, - "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 - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "ca069263339b": { - "name": "git.diff#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:workspace-1\",\"filePath\":\"docs/readme.md\",\"staged\":true}}" - }, - "cebcefa61a3a": { - "name": "files.readPreview#1", - "ordinal": 3, - "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 - } - } - }, - "ddb0f42d762d": { - "name": "files.readPreview#1", - "ordinal": 3, - "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 - } - } - } - }, - "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 - } - }, - "ffa39e9e3939": { - "name": "files.readPreview#1", - "ordinal": 3, - "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 - } - } - } - }, - "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": ["1cf4496bc8c0", "96b863d005b1", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "eee847a9d90d", - "diff": "ffe1c534d459" - }, - "state": "ed33ecdb4e8e", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.result-absent:settled", - "observation": { - "sender": ["1cf4496bc8c0", "a445fbad7d59", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "79a49cf80ecf", - "diff": "ffe1c534d459" - }, - "state": "5521ad94c331", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.result-null:settled", - "observation": { - "sender": ["1cf4496bc8c0", "3af186df3174", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "79a49cf80ecf", - "diff": "ffe1c534d459" - }, - "state": "5521ad94c331", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.inner-ok-missing:settled", - "observation": { - "sender": ["1cf4496bc8c0", "ab770cb53932", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "79a49cf80ecf", - "diff": "ffe1c534d459" - }, - "state": "5521ad94c331", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.inner-false-string-error:settled", - "observation": { - "sender": ["1cf4496bc8c0", "ffa39e9e3939", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "79a49cf80ecf", - "diff": "ffe1c534d459" - }, - "state": "5521ad94c331", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.inner-false-object-error:settled", - "observation": { - "sender": ["1cf4496bc8c0", "ddb0f42d762d", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "79a49cf80ecf", - "diff": "ffe1c534d459" - }, - "state": "5521ad94c331", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.outer-refused:settled", - "observation": { - "sender": ["1cf4496bc8c0", "cebcefa61a3a", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "32a7c0ae7918", - "diff": "ffe1c534d459" - }, - "state": "5521ad94c331", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.outer-refused-no-message:settled", - "observation": { - "sender": ["1cf4496bc8c0", "4de835754493", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "f3b516f62081", - "diff": "ffe1c534d459" - }, - "state": "5521ad94c331", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.method-not-found:settled", - "observation": { - "sender": ["1cf4496bc8c0", "76e0d3045a97", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "b948e8307e81", - "diff": "ffe1c534d459" - }, - "state": "5521ad94c331", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.transport-rejection:settled", - "observation": { - "sender": ["1cf4496bc8c0", "66bc4514f94e", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "a947768bc0ed", - "diff": "ffe1c534d459" - }, - "state": "5521ad94c331", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.transport-rejection-no-message:settled", - "observation": { - "sender": ["1cf4496bc8c0", "bbda935b41f4", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "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 deleted file mode 100644 index 8db4996e9cf..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.tab-doc-git.diff-1.json +++ /dev/null @@ -1,804 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.tab-doc", - "family": "files.tab-doc", - "namedDeltas": [], - "values": { - "05ed9af7a4f4": { - "name": "git.diff#1", - "ordinal": 5, - "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 - } - } - }, - "096b0c48dd10": { - "name": "git.diff#1", - "ordinal": 5, - "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" - } - } - } - }, - "1cf4496bc8c0": { - "name": "files.read#1", - "ordinal": 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 - } - } - } - }, - "1f1a0d8f6723": { - "name": "files.readPreview#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.readPreview\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/logo.png\"}}" - }, - "2c374ec9bbd8": { - "name": "git.diff#1", - "ordinal": 5, - "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 - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "6b721f327587": { - "name": "git.diff#1", - "ordinal": 5, - "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 - } - } - }, - "8423ff93fda2": { - "name": "files.read#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.read\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/readme.md\"}}" - }, - "8692c1e96521": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (git.diff)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "96b863d005b1": { - "name": "files.readPreview#1", - "ordinal": 3, - "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" - } - } - } - }, - "9ae75eb007dd": { - "name": "git.diff#1", - "ordinal": 5, - "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 - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b1ee02279043": { - "name": "git.diff#1", - "ordinal": 5, - "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 - } - } - } - }, - "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 - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "ca069263339b": { - "name": "git.diff#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:workspace-1\",\"filePath\":\"docs/readme.md\",\"staged\":true}}" - }, - "cb8d010cfdf0": { - "name": "git.diff#1", - "ordinal": 5, - "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 - } - } - } - }, - "cc0a7a7e3572": { - "name": "git.diff#1", - "ordinal": 5, - "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 - } - } - }, - "d64fc7efe785": { - "name": "git.diff#1", - "ordinal": 5, - "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 - } - } - }, - "df4fd008761f": { - "name": "git.diff#1", - "ordinal": 5, - "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" - } - } - } - }, - "e3995cc146f1": { - "image": { - "dataUri": "data:image/png;base64,aGk=", - "kind": "image", - "status": "ready" - }, - "text": { - "byteLength": 8, - "content": "# readme", - "kind": "file", - "status": "ready", - "truncated": 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" - } - }, - "f2def165f6eb": { - "name": "git.diff#1", - "ordinal": 5, - "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" - } - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": 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": ["1cf4496bc8c0", "96b863d005b1", "096b0c48dd10"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "eee847a9d90d", - "diff": "ffe1c534d459" - }, - "state": "ed33ecdb4e8e", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.result-absent:settled", - "observation": { - "sender": ["1cf4496bc8c0", "96b863d005b1", "6b721f327587"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "eee847a9d90d", - "diff": "8692c1e96521" - }, - "state": "e3995cc146f1", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.result-null:settled", - "observation": { - "sender": ["1cf4496bc8c0", "96b863d005b1", "df4fd008761f"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "eee847a9d90d", - "diff": "8692c1e96521" - }, - "state": "e3995cc146f1", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.inner-ok-missing:settled", - "observation": { - "sender": ["1cf4496bc8c0", "96b863d005b1", "f2def165f6eb"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "eee847a9d90d", - "diff": "8692c1e96521" - }, - "state": "e3995cc146f1", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.inner-false-string-error:settled", - "observation": { - "sender": ["1cf4496bc8c0", "96b863d005b1", "cb8d010cfdf0"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "eee847a9d90d", - "diff": "8692c1e96521" - }, - "state": "e3995cc146f1", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.inner-false-object-error:settled", - "observation": { - "sender": ["1cf4496bc8c0", "96b863d005b1", "b1ee02279043"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "eee847a9d90d", - "diff": "8692c1e96521" - }, - "state": "e3995cc146f1", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.outer-refused:settled", - "observation": { - "sender": ["1cf4496bc8c0", "96b863d005b1", "2c374ec9bbd8"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "eee847a9d90d", - "diff": "32a7c0ae7918" - }, - "state": "e3995cc146f1", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.outer-refused-no-message:settled", - "observation": { - "sender": ["1cf4496bc8c0", "96b863d005b1", "d64fc7efe785"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "eee847a9d90d", - "diff": "f3b516f62081" - }, - "state": "e3995cc146f1", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.method-not-found:settled", - "observation": { - "sender": ["1cf4496bc8c0", "96b863d005b1", "05ed9af7a4f4"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "eee847a9d90d", - "diff": "b948e8307e81" - }, - "state": "e3995cc146f1", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.transport-rejection:settled", - "observation": { - "sender": ["1cf4496bc8c0", "96b863d005b1", "cc0a7a7e3572"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "settlements": { - "text": "b5c68b76c498", - "image": "eee847a9d90d", - "diff": "a947768bc0ed" - }, - "state": "e3995cc146f1", - "effects": [] - } - }, - { - "id": "files-tab-doc-shapes.transport-rejection-no-message:settled", - "observation": { - "sender": ["1cf4496bc8c0", "96b863d005b1", "9ae75eb007dd"], - "payloads": ["8423ff93fda2", "1f1a0d8f6723", "ca069263339b"], - "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 deleted file mode 100644 index e8a412fb8cd..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.terminal-path-tap-files.open-1.json +++ /dev/null @@ -1,784 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.terminal-path-tap", - "family": "files.terminal-path-tap", - "namedDeltas": [], - "values": { - "0358eb8770a0": { - "name": "files.resolveTerminalPath#1", - "ordinal": 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" - } - } - } - }, - "071afa86c223": { - "name": "files.open#1", - "ordinal": 4, - "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 - } - } - } - }, - "0cb22f24d159": { - "name": "files.open#1", - "ordinal": 4, - "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 - } - } - }, - "2613010f6d2e": { - "name": "files.open#1", - "ordinal": 4, - "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" - } - } - } - }, - "354b8ec4aea1": { - "name": "files.open#1", - "ordinal": 4, - "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 - } - } - }, - "47a3b40d1640": { - "name": "files.open#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"src/app.ts\"}}" - }, - "49b6a6f82b30": { - "name": "files.open#1", - "ordinal": 4, - "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" - } - } - } - }, - "561f3fedeb78": { - "name": "files.resolveTerminalPath#1", - "ordinal": 2, - "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\"}}" - }, - "7a53e88025f0": { - "name": "fetch-session-tabs", - "ordinal": 6, - "value": {} - }, - "8b37c69373ed": { - "name": "files.open#1", - "ordinal": 4, - "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" - } - ] - }, - "bc707b8becf3": { - "name": "files.open#1", - "ordinal": 4, - "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 - } - } - }, - "be17205a82ef": { - "name": "files.open#1", - "ordinal": 4, - "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 - } - } - }, - "c0978ed13409": { - "name": "open-feedback", - "ordinal": 3, - "value": {} - }, - "c6c380181e1a": { - "name": "files.open#1", - "ordinal": 4, - "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 - } - } - }, - "c7ce9c8dc60e": { - "activeSessionTabId": "tab-source", - "failed": 1, - "switched": { - "$rpc": "null" - } - }, - "d5ad7c08f9d1": { - "name": "files.open#1", - "ordinal": 4, - "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" - } - }, - "f87ea78f23a0": { - "name": "files.open#1", - "ordinal": 4, - "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 - } - } - } - }, - "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": ["0358eb8770a0", "071afa86c223"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "f8a009b4a36e", - "effects": ["c0978ed13409", "7a53e88025f0"] - } - }, - { - "id": "file-tap-opens-worktree-file.normal:settled", - "observation": { - "sender": ["0358eb8770a0", "071afa86c223"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "f8a009b4a36e", - "effects": ["c0978ed13409", "7a53e88025f0"] - } - }, - { - "id": "file-tap-opens-worktree-file.result-absent:switched", - "observation": { - "sender": ["0358eb8770a0", "354b8ec4aea1"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.result-absent:settled", - "observation": { - "sender": ["0358eb8770a0", "354b8ec4aea1"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.result-null:switched", - "observation": { - "sender": ["0358eb8770a0", "2613010f6d2e"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.result-null:settled", - "observation": { - "sender": ["0358eb8770a0", "2613010f6d2e"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.inner-ok-missing:switched", - "observation": { - "sender": ["0358eb8770a0", "49b6a6f82b30"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.inner-ok-missing:settled", - "observation": { - "sender": ["0358eb8770a0", "49b6a6f82b30"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.inner-false-string-error:switched", - "observation": { - "sender": ["0358eb8770a0", "f87ea78f23a0"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.inner-false-string-error:settled", - "observation": { - "sender": ["0358eb8770a0", "f87ea78f23a0"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.inner-false-object-error:switched", - "observation": { - "sender": ["0358eb8770a0", "8b37c69373ed"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.inner-false-object-error:settled", - "observation": { - "sender": ["0358eb8770a0", "8b37c69373ed"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.outer-refused:switched", - "observation": { - "sender": ["0358eb8770a0", "be17205a82ef"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.outer-refused:settled", - "observation": { - "sender": ["0358eb8770a0", "be17205a82ef"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.outer-refused-no-message:switched", - "observation": { - "sender": ["0358eb8770a0", "bc707b8becf3"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.outer-refused-no-message:settled", - "observation": { - "sender": ["0358eb8770a0", "bc707b8becf3"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.method-not-found:switched", - "observation": { - "sender": ["0358eb8770a0", "d5ad7c08f9d1"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.method-not-found:settled", - "observation": { - "sender": ["0358eb8770a0", "d5ad7c08f9d1"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.transport-rejection:switched", - "observation": { - "sender": ["0358eb8770a0", "0cb22f24d159"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.transport-rejection:settled", - "observation": { - "sender": ["0358eb8770a0", "0cb22f24d159"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.transport-rejection-no-message:switched", - "observation": { - "sender": ["0358eb8770a0", "c6c380181e1a"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - }, - { - "id": "file-tap-opens-worktree-file.transport-rejection-no-message:settled", - "observation": { - "sender": ["0358eb8770a0", "c6c380181e1a"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": ["c0978ed13409"] - } - } - ] - } -} 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 deleted file mode 100644 index 96bb433bf93..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-files.terminal-path-tap-files.resolveterminalpath-1.json +++ /dev/null @@ -1,814 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "files.terminal-path-tap", - "family": "files.terminal-path-tap", - "namedDeltas": [], - "values": { - "0358eb8770a0": { - "name": "files.resolveTerminalPath#1", - "ordinal": 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" - } - } - } - }, - "071afa86c223": { - "name": "files.open#1", - "ordinal": 4, - "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 - } - } - } - }, - "20b48afb3def": { - "name": "files.resolveTerminalPath#1", - "ordinal": 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 - } - } - }, - "45273f074894": { - "name": "files.resolveTerminalPath#1", - "ordinal": 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" - } - } - } - }, - "47a3b40d1640": { - "name": "files.open#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"src/app.ts\"}}" - }, - "4f9bc1955fd6": { - "name": "files.resolveTerminalPath#1", - "ordinal": 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 - } - } - }, - "561f3fedeb78": { - "name": "files.resolveTerminalPath#1", - "ordinal": 2, - "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\"}}" - }, - "7a53e88025f0": { - "name": "fetch-session-tabs", - "ordinal": 6, - "value": {} - }, - "86375fb523dd": { - "name": "files.resolveTerminalPath#1", - "ordinal": 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 - } - } - }, - "aaccc788e5ff": { - "name": "files.resolveTerminalPath#1", - "ordinal": 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 - } - } - } - }, - "b765beef262e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "id": "tab-opened", - "relativePath": "src/app.ts" - } - ] - }, - "c0978ed13409": { - "name": "open-feedback", - "ordinal": 3, - "value": {} - }, - "c3a8319cd2a8": { - "name": "files.resolveTerminalPath#1", - "ordinal": 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" - } - } - } - }, - "c7ce9c8dc60e": { - "activeSessionTabId": "tab-source", - "failed": 1, - "switched": { - "$rpc": "null" - } - }, - "ca888e9bb41b": { - "name": "files.resolveTerminalPath#1", - "ordinal": 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 - } - } - }, - "d0c6949fb1d4": { - "name": "files.resolveTerminalPath#1", - "ordinal": 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 - } - } - }, - "d8bb19791227": { - "name": "files.resolveTerminalPath#1", - "ordinal": 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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f02e61e09294": { - "name": "files.resolveTerminalPath#1", - "ordinal": 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 - } - } - }, - "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": ["0358eb8770a0", "071afa86c223"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "f8a009b4a36e", - "effects": ["c0978ed13409", "7a53e88025f0"] - } - }, - { - "id": "file-tap-opens-worktree-file.normal:settled", - "observation": { - "sender": ["0358eb8770a0", "071afa86c223"], - "payloads": ["561f3fedeb78", "47a3b40d1640"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "f8a009b4a36e", - "effects": ["c0978ed13409", "7a53e88025f0"] - } - }, - { - "id": "file-tap-opens-worktree-file.result-absent:switched", - "observation": { - "sender": ["ca888e9bb41b"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.result-absent:settled", - "observation": { - "sender": ["ca888e9bb41b"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.result-null:switched", - "observation": { - "sender": ["45273f074894"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.result-null:settled", - "observation": { - "sender": ["45273f074894"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.inner-ok-missing:switched", - "observation": { - "sender": ["c3a8319cd2a8"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.inner-ok-missing:settled", - "observation": { - "sender": ["c3a8319cd2a8"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.inner-false-string-error:switched", - "observation": { - "sender": ["d8bb19791227"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.inner-false-string-error:settled", - "observation": { - "sender": ["d8bb19791227"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.inner-false-object-error:switched", - "observation": { - "sender": ["aaccc788e5ff"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.inner-false-object-error:settled", - "observation": { - "sender": ["aaccc788e5ff"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.outer-refused:switched", - "observation": { - "sender": ["d0c6949fb1d4"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.outer-refused:settled", - "observation": { - "sender": ["d0c6949fb1d4"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.outer-refused-no-message:switched", - "observation": { - "sender": ["86375fb523dd"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.outer-refused-no-message:settled", - "observation": { - "sender": ["86375fb523dd"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.method-not-found:switched", - "observation": { - "sender": ["20b48afb3def"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.method-not-found:settled", - "observation": { - "sender": ["20b48afb3def"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.transport-rejection:switched", - "observation": { - "sender": ["f02e61e09294"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.transport-rejection:settled", - "observation": { - "sender": ["f02e61e09294"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.transport-rejection-no-message:switched", - "observation": { - "sender": ["4f9bc1955fd6"], - "payloads": ["561f3fedeb78"], - "settlements": { - "tap": "eb79a9b3682a", - "list": "b765beef262e" - }, - "state": "c7ce9c8dc60e", - "effects": [] - } - }, - { - "id": "file-tap-opens-worktree-file.transport-rejection-no-message:settled", - "observation": { - "sender": ["4f9bc1955fd6"], - "payloads": ["561f3fedeb78"], - "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 deleted file mode 100644 index 22e1109d1cc..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-git.base-ref-chain-repo.baserefdefault-1.json +++ /dev/null @@ -1,782 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.branch-base-ref", - "family": "git.base-ref-chain", - "namedDeltas": [], - "values": { - "006a91b993e0": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "01a52e7d419f": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "09bc67a19591": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "198cce9909ce": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": "origin/main" - }, - "2782869751eb": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "4344c3469cd5": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "46cb90d01f64": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "defaultBaseRef": " origin/main " - } - } - } - }, - "4cd2d2cba244": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "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 - } - } - }, - "4dce743b400a": { - "baseRef": "unresolved" - }, - "5f661e5b3de8": { - "baseRef": "origin/main" - }, - "5ff1385fce3c": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true, - "result": { - "repos": [ - { - "id": "repo42", - "worktreeBaseRef": { - "$rpc": "null" - } - } - ] - } - } - } - }, - "62fe63a20a07": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "98650241d453": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "9c10c2afc974": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "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 - } - } - } - }, - "a0986c6aa31b": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b945571c873e": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "c15789d5e75e": { - "name": "repo.baseRefDefault#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.baseRefDefault\",\"params\":{\"repo\":\"id:repo42\"}}" - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d6274eee4470": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "d64700b9de3b": { - "name": "repo.list#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "deac258dd8b1": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unable to resolve branch base", - "isRpcDeliveryUnknown": false - } - }, - "dfcd2e1792cb": { - "name": "worktree.show#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "e174f062342f": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "worktree": { - "baseRef": " " - } - } - } - } - }, - "e29ac2679c89": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "e2fbc2b9e8e9": { - "baseRef": { - "$rpc": "null" - } - }, - "ee20a1dc39e7": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "null" - } - } - }, - "recording": { - "scenario": "matrix-git.base-ref-chain-repo.baserefdefault-1", - "checkpoints": [ - { - "id": "sc-base-ref-default.prelude:requests-pending", - "observation": { - "sender": ["62fe63a20a07", "006a91b993e0"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.prelude:barrier-settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.normal:settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.result-absent:settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "d6274eee4470"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "ee20a1dc39e7" - }, - "state": "e2fbc2b9e8e9", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.result-null:settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "09bc67a19591"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "ee20a1dc39e7" - }, - "state": "e2fbc2b9e8e9", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.inner-ok-missing:settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "4344c3469cd5"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "ee20a1dc39e7" - }, - "state": "e2fbc2b9e8e9", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.inner-false-string-error:settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "a0986c6aa31b"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "ee20a1dc39e7" - }, - "state": "e2fbc2b9e8e9", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.inner-false-object-error:settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "9c10c2afc974"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "ee20a1dc39e7" - }, - "state": "e2fbc2b9e8e9", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.outer-refused:settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "b945571c873e"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "32a7c0ae7918" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.outer-refused-no-message:settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "01a52e7d419f"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "deac258dd8b1" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.method-not-found:settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "4cd2d2cba244"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "ee20a1dc39e7" - }, - "state": "e2fbc2b9e8e9", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.transport-rejection:settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "e29ac2679c89"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "a947768bc0ed" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.transport-rejection-no-message:settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "98650241d453"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "c7584e82c72f" - }, - "state": "4dce743b400a", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index bd4ceadedaa..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-git.base-ref-chain-repo.list-1.json +++ /dev/null @@ -1,849 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.branch-base-ref", - "family": "git.base-ref-chain", - "namedDeltas": [], - "values": { - "006a91b993e0": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "0285dd2515c7": { - "name": "repo.list#1", - "ordinal": 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": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "198cce9909ce": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": "origin/main" - }, - "2782869751eb": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "310c7e390536": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true - } - } - }, - "46cb90d01f64": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "defaultBaseRef": " origin/main " - } - } - } - }, - "4dce743b400a": { - "baseRef": "unresolved" - }, - "516122b9489f": { - "name": "repo.list#1", - "ordinal": 2, - "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 - } - } - }, - "5f661e5b3de8": { - "baseRef": "origin/main" - }, - "5ff1385fce3c": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true, - "result": { - "repos": [ - { - "id": "repo42", - "worktreeBaseRef": { - "$rpc": "null" - } - } - ] - } - } - } - }, - "62fe63a20a07": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "666d94a86032": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "87f433e53c46": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "8b0bc82a33c5": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "c15789d5e75e": { - "name": "repo.baseRefDefault#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.baseRefDefault\",\"params\":{\"repo\":\"id:repo42\"}}" - }, - "d2d3add21ec3": { - "name": "repo.list#1", - "ordinal": 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": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "d64700b9de3b": { - "name": "repo.list#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "dfcd2e1792cb": { - "name": "worktree.show#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "e174f062342f": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "worktree": { - "baseRef": " " - } - } - } - } - }, - "ebc806b074b1": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "ebcd2521a7cd": { - "name": "repo.list#1", - "ordinal": 2, - "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 - } - } - }, - "f8ad056a52a9": { - "name": "repo.list#1", - "ordinal": 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": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - } - }, - "recording": { - "scenario": "matrix-git.base-ref-chain-repo.list-1", - "checkpoints": [ - { - "id": "sc-base-ref-default.prelude:requests-pending", - "observation": { - "sender": ["62fe63a20a07", "006a91b993e0"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.normal:barrier-settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.normal:settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.result-absent:barrier-settled", - "observation": { - "sender": ["e174f062342f", "310c7e390536", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.result-absent:settled", - "observation": { - "sender": ["e174f062342f", "310c7e390536", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.result-null:barrier-settled", - "observation": { - "sender": ["e174f062342f", "87f433e53c46", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.result-null:settled", - "observation": { - "sender": ["e174f062342f", "87f433e53c46", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.inner-ok-missing:barrier-settled", - "observation": { - "sender": ["e174f062342f", "ebc806b074b1", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.inner-ok-missing:settled", - "observation": { - "sender": ["e174f062342f", "ebc806b074b1", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.inner-false-string-error:barrier-settled", - "observation": { - "sender": ["e174f062342f", "666d94a86032", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.inner-false-string-error:settled", - "observation": { - "sender": ["e174f062342f", "666d94a86032", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.inner-false-object-error:barrier-settled", - "observation": { - "sender": ["e174f062342f", "8b0bc82a33c5", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.inner-false-object-error:settled", - "observation": { - "sender": ["e174f062342f", "8b0bc82a33c5", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.outer-refused:barrier-settled", - "observation": { - "sender": ["e174f062342f", "0285dd2515c7", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.outer-refused:settled", - "observation": { - "sender": ["e174f062342f", "0285dd2515c7", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.outer-refused-no-message:barrier-settled", - "observation": { - "sender": ["e174f062342f", "f8ad056a52a9", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.outer-refused-no-message:settled", - "observation": { - "sender": ["e174f062342f", "f8ad056a52a9", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.method-not-found:barrier-settled", - "observation": { - "sender": ["e174f062342f", "d2d3add21ec3", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.method-not-found:settled", - "observation": { - "sender": ["e174f062342f", "d2d3add21ec3", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.transport-rejection:barrier-settled", - "observation": { - "sender": ["e174f062342f", "516122b9489f", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.transport-rejection:settled", - "observation": { - "sender": ["e174f062342f", "516122b9489f", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.transport-rejection-no-message:barrier-settled", - "observation": { - "sender": ["e174f062342f", "ebcd2521a7cd", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.transport-rejection-no-message:settled", - "observation": { - "sender": ["e174f062342f", "ebcd2521a7cd", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index e5d469e6f14..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-git.base-ref-chain-worktree.show-1.json +++ /dev/null @@ -1,849 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.branch-base-ref", - "family": "git.base-ref-chain", - "namedDeltas": [], - "values": { - "006a91b993e0": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "112952c84c31": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "198cce9909ce": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": "origin/main" - }, - "26603748f74c": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "2782869751eb": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "31fddd5b39ac": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "46cb90d01f64": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "defaultBaseRef": " origin/main " - } - } - } - }, - "4dce743b400a": { - "baseRef": "unresolved" - }, - "5f661e5b3de8": { - "baseRef": "origin/main" - }, - "5ff1385fce3c": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true, - "result": { - "repos": [ - { - "id": "repo42", - "worktreeBaseRef": { - "$rpc": "null" - } - } - ] - } - } - } - }, - "62fe63a20a07": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "63a9e6a99912": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "682b90b1873f": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "700e46ca3381": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "96520033dfa0": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "9af04bf77215": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "b40b93597165": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "c15789d5e75e": { - "name": "repo.baseRefDefault#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.baseRefDefault\",\"params\":{\"repo\":\"id:repo42\"}}" - }, - "d64700b9de3b": { - "name": "repo.list#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "d92a63a98b9c": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "dfcd2e1792cb": { - "name": "worktree.show#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "e174f062342f": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "worktree": { - "baseRef": " " - } - } - } - } - } - }, - "recording": { - "scenario": "matrix-git.base-ref-chain-worktree.show-1", - "checkpoints": [ - { - "id": "sc-base-ref-default.prelude:requests-pending", - "observation": { - "sender": ["62fe63a20a07", "006a91b993e0"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.normal:barrier-settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.normal:settled", - "observation": { - "sender": ["e174f062342f", "5ff1385fce3c", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.result-absent:barrier-settled", - "observation": { - "sender": ["700e46ca3381", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.result-absent:settled", - "observation": { - "sender": ["700e46ca3381", "5ff1385fce3c", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.result-null:barrier-settled", - "observation": { - "sender": ["26603748f74c", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.result-null:settled", - "observation": { - "sender": ["26603748f74c", "5ff1385fce3c", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.inner-ok-missing:barrier-settled", - "observation": { - "sender": ["96520033dfa0", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.inner-ok-missing:settled", - "observation": { - "sender": ["96520033dfa0", "5ff1385fce3c", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.inner-false-string-error:barrier-settled", - "observation": { - "sender": ["9af04bf77215", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.inner-false-string-error:settled", - "observation": { - "sender": ["9af04bf77215", "5ff1385fce3c", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.inner-false-object-error:barrier-settled", - "observation": { - "sender": ["b40b93597165", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.inner-false-object-error:settled", - "observation": { - "sender": ["b40b93597165", "5ff1385fce3c", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.outer-refused:barrier-settled", - "observation": { - "sender": ["63a9e6a99912", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.outer-refused:settled", - "observation": { - "sender": ["63a9e6a99912", "5ff1385fce3c", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.outer-refused-no-message:barrier-settled", - "observation": { - "sender": ["d92a63a98b9c", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.outer-refused-no-message:settled", - "observation": { - "sender": ["d92a63a98b9c", "5ff1385fce3c", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.method-not-found:barrier-settled", - "observation": { - "sender": ["112952c84c31", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.method-not-found:settled", - "observation": { - "sender": ["112952c84c31", "5ff1385fce3c", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.transport-rejection:barrier-settled", - "observation": { - "sender": ["682b90b1873f", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.transport-rejection:settled", - "observation": { - "sender": ["682b90b1873f", "5ff1385fce3c", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.transport-rejection-no-message:barrier-settled", - "observation": { - "sender": ["31fddd5b39ac", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "9270aeb7d9c6" - }, - "state": "4dce743b400a", - "effects": [] - } - }, - { - "id": "sc-base-ref-default.transport-rejection-no-message:settled", - "observation": { - "sender": ["31fddd5b39ac", "5ff1385fce3c", "46cb90d01f64"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "resolve": "198cce9909ce" - }, - "state": "5f661e5b3de8", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-git.changes-load-git.branchcompare-1.json b/mobile/rpc-foundation/goldens/matrix-git.changes-load-git.branchcompare-1.json deleted file mode 100644 index 1a61e065e8a..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-git.changes-load-git.branchcompare-1.json +++ /dev/null @@ -1,1659 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.changes-load", - "family": "git.changes-load", - "namedDeltas": [], - "values": { - "047f0b230543": { - "name": "git.branchCompare#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "1934c215114a": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "1d461278a0ae": { - "branchCompareState": { - "kind": "ready", - "result": { - "entries": [ - { - "added": 2, - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/dev", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - }, - "screenState": { - "kind": "ready", - "status": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - }, - "2ab4c978da8d": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "2ca33da4d135": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "repos": [] - } - } - } - }, - "2cb17031e16a": { - "branchCompareState": { - "kind": "error", - "message": "The host sent a reply this app could not read (git.branchCompare)" - }, - "screenState": { - "kind": "ready", - "status": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - }, - "2cca3e7f3f9b": { - "name": "git.branchCompare#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "3088889ce80e": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "4533fb49ac71": { - "branchCompareState": { - "kind": "error", - "message": "outer refused" - }, - "screenState": { - "kind": "ready", - "status": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - }, - "5d30d477f0d5": { - "name": "git.branchCompare#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "entries": [ - { - "added": 2, - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/dev", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - } - } - }, - "5e74c6d574e1": { - "name": "git.branchCompare#1", - "ordinal": 11, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"origin/dev\"}}" - }, - "6a0cb0684d8b": { - "name": "git.branchCompare#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-6", - "ok": false - } - } - }, - "6f4a5d6a5a86": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "71f3760dfea1": { - "name": "repo.list#1", - "ordinal": 9, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "74d102469d68": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "worktree": { - "baseRef": "origin/dev" - } - } - } - } - }, - "7506958819b1": { - "name": "git.branchCompare#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-6", - "ok": false - } - } - }, - "76c784c63522": { - "name": "streams-registered-at-teardown", - "ordinal": 12, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "830aa65db9d0": { - "branchCompareState": { - "kind": "idle" - }, - "screenState": { - "kind": "ready", - "status": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - }, - "86eb3bc4e90c": { - "name": "git.branchCompare#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "8fda864c66d6": { - "branchCompareState": { - "kind": "loading" - }, - "screenState": { - "kind": "ready", - "status": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - }, - "920e3ae53209": { - "branchCompareState": { - "kind": "error", - "message": "Unable to load committed changes" - }, - "screenState": { - "kind": "ready", - "status": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - }, - "92a577a15fcc": { - "name": "git.status#1", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "962f91336a50": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - } - }, - "97a020d83f3c": { - "name": "git.branchCompare#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-6", - "ok": false - } - } - }, - "a0e527bdf205": { - "branchCompareState": { - "kind": "idle" - }, - "screenState": { - "kind": "loading" - } - }, - "b7127d77e6aa": { - "name": "git.branchCompare#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "b823fdc0d205": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "bd638c43a536": { - "name": "git.branchCompare#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "c526c7ec9130": { - "branchCompareState": { - "kind": "error", - "message": "transport failure" - }, - "screenState": { - "kind": "ready", - "status": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - }, - "cb462f8b50a3": { - "name": "worktree.show#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "dc48d55bec67": { - "name": "git.branchCompare#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "fa79ca4a1a0d": { - "name": "git.branchCompare#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true - } - } - }, - "fd9ae55b156c": { - "branchCompareState": { - "kind": "error", - "message": "" - }, - "screenState": { - "kind": "ready", - "status": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - }, - "fdcce09eef21": { - "name": "git.branchCompare#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - } - }, - "recording": { - "scenario": "matrix-git.changes-load-git.branchcompare-1", - "checkpoints": [ - { - "id": "sc-changes-loaded.prelude:status-pending", - "observation": { - "sender": ["b823fdc0d205", "2ab4c978da8d"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a0e527bdf205", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.prelude:compare-pending", - "observation": { - "sender": ["b823fdc0d205", "962f91336a50", "6f4a5d6a5a86", "1934c215114a"], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.prelude:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "b7127d77e6aa" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.normal:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.normal:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.result-absent:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "fa79ca4a1a0d" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2cb17031e16a", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.result-absent:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "fa79ca4a1a0d" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2cb17031e16a", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.result-null:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "86eb3bc4e90c" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2cb17031e16a", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.result-null:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "86eb3bc4e90c" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2cb17031e16a", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.inner-ok-missing:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "dc48d55bec67" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2cb17031e16a", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.inner-ok-missing:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "dc48d55bec67" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2cb17031e16a", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.inner-false-string-error:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "bd638c43a536" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2cb17031e16a", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.inner-false-string-error:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "bd638c43a536" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2cb17031e16a", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.inner-false-object-error:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "047f0b230543" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2cb17031e16a", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.inner-false-object-error:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "047f0b230543" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2cb17031e16a", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.outer-refused:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "97a020d83f3c" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4533fb49ac71", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.outer-refused:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "97a020d83f3c" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4533fb49ac71", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.outer-refused-no-message:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "6a0cb0684d8b" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "920e3ae53209", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.outer-refused-no-message:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "6a0cb0684d8b" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "920e3ae53209", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.method-not-found:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "7506958819b1" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "830aa65db9d0", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.method-not-found:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "7506958819b1" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "830aa65db9d0", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.transport-rejection:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "fdcce09eef21" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c526c7ec9130", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.transport-rejection:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "fdcce09eef21" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c526c7ec9130", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "2cca3e7f3f9b" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "fd9ae55b156c", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.transport-rejection-no-message:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "2cca3e7f3f9b" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "fd9ae55b156c", - "effects": ["76c784c63522"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-git.changes-load-git.status-1.json b/mobile/rpc-foundation/goldens/matrix-git.changes-load-git.status-1.json deleted file mode 100644 index bf13a7571d4..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-git.changes-load-git.status-1.json +++ /dev/null @@ -1,1413 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.changes-load", - "family": "git.changes-load", - "namedDeltas": [], - "values": { - "085b756c7623": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "1934c215114a": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1940948b426c": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "19bb6c737352": { - "branchCompareState": { - "kind": "idle" - }, - "screenState": { - "kind": "error", - "message": "The host sent a reply this app could not read (git.status)" - } - }, - "19fff093880d": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "1d461278a0ae": { - "branchCompareState": { - "kind": "ready", - "result": { - "entries": [ - { - "added": 2, - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/dev", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - }, - "screenState": { - "kind": "ready", - "status": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - }, - "1dbb1f085bde": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "207e0351be0d": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "21ab22282843": { - "branchCompareState": { - "kind": "idle" - }, - "screenState": { - "kind": "error", - "message": "Unable to load source control" - } - }, - "25657dcfb625": { - "branchCompareState": { - "kind": "idle" - }, - "screenState": { - "kind": "unavailable", - "message": "Update Orca desktop to use Source Control on mobile." - } - }, - "270fa28bd742": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "2ab4c978da8d": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "2ca33da4d135": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "repos": [] - } - } - } - }, - "3088889ce80e": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "393d2f9f3485": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "5aa0b968f37f": { - "branchCompareState": { - "kind": "idle" - }, - "screenState": { - "kind": "error", - "message": "outer refused" - } - }, - "5ab051d969ce": { - "name": "git.status#2", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "5d30d477f0d5": { - "name": "git.branchCompare#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "entries": [ - { - "added": 2, - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/dev", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - } - } - }, - "5e74c6d574e1": { - "name": "git.branchCompare#1", - "ordinal": 11, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"origin/dev\"}}" - }, - "6d2d788a9e84": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - }, - "6f4a5d6a5a86": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "71f3760dfea1": { - "name": "repo.list#1", - "ordinal": 9, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "74d102469d68": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "worktree": { - "baseRef": "origin/dev" - } - } - } - } - }, - "76c784c63522": { - "name": "streams-registered-at-teardown", - "ordinal": 12, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "8fda864c66d6": { - "branchCompareState": { - "kind": "loading" - }, - "screenState": { - "kind": "ready", - "status": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - }, - "92a577a15fcc": { - "name": "git.status#1", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "953d7e425499": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "962f91336a50": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - } - }, - "9778e6b1ca17": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "9ae4367a6ff8": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "a0e527bdf205": { - "branchCompareState": { - "kind": "idle" - }, - "screenState": { - "kind": "loading" - } - }, - "b2b39f985caa": { - "name": "streams-registered-at-teardown", - "ordinal": 8, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "b823fdc0d205": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "cb462f8b50a3": { - "name": "worktree.show#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "e1883df1f8f5": { - "name": "streams-registered-at-teardown", - "ordinal": 6, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "f0896523e780": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "f186683ccf2d": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - } - }, - "recording": { - "scenario": "matrix-git.changes-load-git.status-1", - "checkpoints": [ - { - "id": "sc-changes-loaded.prelude:status-pending", - "observation": { - "sender": ["b823fdc0d205", "2ab4c978da8d"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a0e527bdf205", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.prelude:cleanup", - "observation": { - "sender": ["3088889ce80e", "1dbb1f085bde"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a0e527bdf205", - "effects": ["e1883df1f8f5"] - } - }, - { - "id": "sc-changes-loaded.normal:compare-pending", - "observation": { - "sender": ["b823fdc0d205", "962f91336a50", "6f4a5d6a5a86", "1934c215114a"], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.normal:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.normal:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.result-absent:compare-pending", - "observation": { - "sender": ["b823fdc0d205", "f186683ccf2d"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "19bb6c737352", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.result-absent:settled", - "observation": { - "sender": ["b823fdc0d205", "f186683ccf2d"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "19bb6c737352", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.result-absent:cleanup", - "observation": { - "sender": ["3088889ce80e", "f186683ccf2d"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "19bb6c737352", - "effects": ["e1883df1f8f5"] - } - }, - { - "id": "sc-changes-loaded.result-null:compare-pending", - "observation": { - "sender": ["b823fdc0d205", "9ae4367a6ff8"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "19bb6c737352", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.result-null:settled", - "observation": { - "sender": ["b823fdc0d205", "9ae4367a6ff8"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "19bb6c737352", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.result-null:cleanup", - "observation": { - "sender": ["3088889ce80e", "9ae4367a6ff8"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "19bb6c737352", - "effects": ["e1883df1f8f5"] - } - }, - { - "id": "sc-changes-loaded.inner-ok-missing:compare-pending", - "observation": { - "sender": ["b823fdc0d205", "19fff093880d"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "19bb6c737352", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.inner-ok-missing:settled", - "observation": { - "sender": ["b823fdc0d205", "19fff093880d"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "19bb6c737352", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.inner-ok-missing:cleanup", - "observation": { - "sender": ["3088889ce80e", "19fff093880d"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "19bb6c737352", - "effects": ["e1883df1f8f5"] - } - }, - { - "id": "sc-changes-loaded.inner-false-string-error:compare-pending", - "observation": { - "sender": ["b823fdc0d205", "393d2f9f3485"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "19bb6c737352", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.inner-false-string-error:settled", - "observation": { - "sender": ["b823fdc0d205", "393d2f9f3485"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "19bb6c737352", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.inner-false-string-error:cleanup", - "observation": { - "sender": ["3088889ce80e", "393d2f9f3485"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "19bb6c737352", - "effects": ["e1883df1f8f5"] - } - }, - { - "id": "sc-changes-loaded.inner-false-object-error:compare-pending", - "observation": { - "sender": ["b823fdc0d205", "1940948b426c"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "19bb6c737352", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.inner-false-object-error:settled", - "observation": { - "sender": ["b823fdc0d205", "1940948b426c"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "19bb6c737352", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.inner-false-object-error:cleanup", - "observation": { - "sender": ["3088889ce80e", "1940948b426c"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "19bb6c737352", - "effects": ["e1883df1f8f5"] - } - }, - { - "id": "sc-changes-loaded.outer-refused:compare-pending", - "observation": { - "sender": ["b823fdc0d205", "085b756c7623"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5aa0b968f37f", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.outer-refused:settled", - "observation": { - "sender": ["b823fdc0d205", "085b756c7623"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5aa0b968f37f", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.outer-refused:cleanup", - "observation": { - "sender": ["3088889ce80e", "085b756c7623"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5aa0b968f37f", - "effects": ["e1883df1f8f5"] - } - }, - { - "id": "sc-changes-loaded.outer-refused-no-message:compare-pending", - "observation": { - "sender": ["b823fdc0d205", "207e0351be0d"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "21ab22282843", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.outer-refused-no-message:settled", - "observation": { - "sender": ["b823fdc0d205", "207e0351be0d"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "21ab22282843", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.outer-refused-no-message:cleanup", - "observation": { - "sender": ["3088889ce80e", "207e0351be0d"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "21ab22282843", - "effects": ["e1883df1f8f5"] - } - }, - { - "id": "sc-changes-loaded.method-not-found:compare-pending", - "observation": { - "sender": ["b823fdc0d205", "6d2d788a9e84"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "25657dcfb625", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.method-not-found:settled", - "observation": { - "sender": ["b823fdc0d205", "6d2d788a9e84"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "25657dcfb625", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.method-not-found:cleanup", - "observation": { - "sender": ["3088889ce80e", "6d2d788a9e84"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "25657dcfb625", - "effects": ["e1883df1f8f5"] - } - }, - { - "id": "sc-changes-loaded.transport-rejection:compare-pending", - "observation": { - "sender": ["b823fdc0d205", "9778e6b1ca17", "f0896523e780"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc", "5ab051d969ce"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a0e527bdf205", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.transport-rejection:settled", - "observation": { - "sender": ["b823fdc0d205", "9778e6b1ca17", "f0896523e780"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc", "5ab051d969ce"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a0e527bdf205", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.transport-rejection:cleanup", - "observation": { - "sender": ["3088889ce80e", "9778e6b1ca17", "270fa28bd742"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc", "5ab051d969ce"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a0e527bdf205", - "effects": ["b2b39f985caa"] - } - }, - { - "id": "sc-changes-loaded.transport-rejection-no-message:compare-pending", - "observation": { - "sender": ["b823fdc0d205", "953d7e425499", "f0896523e780"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc", "5ab051d969ce"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a0e527bdf205", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.transport-rejection-no-message:settled", - "observation": { - "sender": ["b823fdc0d205", "953d7e425499", "f0896523e780"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc", "5ab051d969ce"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a0e527bdf205", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.transport-rejection-no-message:cleanup", - "observation": { - "sender": ["3088889ce80e", "953d7e425499", "270fa28bd742"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc", "5ab051d969ce"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a0e527bdf205", - "effects": ["b2b39f985caa"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-git.changes-load-repo.list-1.json b/mobile/rpc-foundation/goldens/matrix-git.changes-load-repo.list-1.json deleted file mode 100644 index 8253a6d33a4..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-git.changes-load-repo.list-1.json +++ /dev/null @@ -1,1488 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.changes-load", - "family": "git.changes-load", - "namedDeltas": [], - "values": { - "1934c215114a": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "1d461278a0ae": { - "branchCompareState": { - "kind": "ready", - "result": { - "entries": [ - { - "added": 2, - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/dev", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - }, - "screenState": { - "kind": "ready", - "status": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - }, - "2ab4c978da8d": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "2ca33da4d135": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "repos": [] - } - } - } - }, - "3088889ce80e": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "3dcba72c2342": { - "name": "streams-registered-at-teardown", - "ordinal": 10, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "4b1217ea83ab": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true - } - } - }, - "5d30d477f0d5": { - "name": "git.branchCompare#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "entries": [ - { - "added": 2, - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/dev", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - } - } - }, - "5e74c6d574e1": { - "name": "git.branchCompare#1", - "ordinal": 11, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"origin/dev\"}}" - }, - "687fc7be7b14": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-5", - "ok": false - } - } - }, - "6f4a5d6a5a86": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6fe24defc416": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "71f3760dfea1": { - "name": "repo.list#1", - "ordinal": 9, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "74d102469d68": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "worktree": { - "baseRef": "origin/dev" - } - } - } - } - }, - "75e5bfff5576": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-5", - "ok": false - } - } - }, - "76c784c63522": { - "name": "streams-registered-at-teardown", - "ordinal": 12, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "772f9a3bbdd8": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "7eb62de26957": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "8fda864c66d6": { - "branchCompareState": { - "kind": "loading" - }, - "screenState": { - "kind": "ready", - "status": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - }, - "92a577a15fcc": { - "name": "git.status#1", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "962f91336a50": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - } - }, - "a0e527bdf205": { - "branchCompareState": { - "kind": "idle" - }, - "screenState": { - "kind": "loading" - } - }, - "b60e016a0f1e": { - "name": "git.branchCompare#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Client closed", - "isRpcDeliveryUnknown": false - } - } - }, - "b823fdc0d205": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c2c26da9df33": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "cb462f8b50a3": { - "name": "worktree.show#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "d7b92d364b7b": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "e610fd221300": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "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" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "f19d3d43b828": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-5", - "ok": false - } - } - }, - "f802165696e4": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - } - }, - "recording": { - "scenario": "matrix-git.changes-load-repo.list-1", - "checkpoints": [ - { - "id": "sc-changes-loaded.prelude:status-pending", - "observation": { - "sender": ["b823fdc0d205", "2ab4c978da8d"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a0e527bdf205", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.prelude:compare-pending", - "observation": { - "sender": ["b823fdc0d205", "962f91336a50", "6f4a5d6a5a86", "1934c215114a"], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.prelude:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "f802165696e4", - "b60e016a0f1e" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": ["3dcba72c2342"] - } - }, - { - "id": "sc-changes-loaded.normal:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.normal:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.result-absent:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "4b1217ea83ab", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.result-absent:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "4b1217ea83ab", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.result-null:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "772f9a3bbdd8", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.result-null:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "772f9a3bbdd8", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.inner-ok-missing:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "7eb62de26957", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.inner-ok-missing:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "7eb62de26957", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.inner-false-string-error:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "d7b92d364b7b", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.inner-false-string-error:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "d7b92d364b7b", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.inner-false-object-error:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "6fe24defc416", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.inner-false-object-error:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "6fe24defc416", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.outer-refused:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "f19d3d43b828", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.outer-refused:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "f19d3d43b828", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.outer-refused-no-message:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "687fc7be7b14", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.outer-refused-no-message:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "687fc7be7b14", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.method-not-found:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "75e5bfff5576", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.method-not-found:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "75e5bfff5576", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.transport-rejection:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "e610fd221300", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.transport-rejection:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "e610fd221300", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "c2c26da9df33", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.transport-rejection-no-message:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "c2c26da9df33", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": ["76c784c63522"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-git.changes-load-worktree.show-1.json b/mobile/rpc-foundation/goldens/matrix-git.changes-load-worktree.show-1.json deleted file mode 100644 index 13bd3cef82b..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-git.changes-load-worktree.show-1.json +++ /dev/null @@ -1,1582 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.changes-load", - "family": "git.changes-load", - "namedDeltas": [], - "values": { - "1266df2a91af": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-4", - "ok": false - } - } - }, - "12cda398ef1c": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "1934c215114a": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "1d461278a0ae": { - "branchCompareState": { - "kind": "ready", - "result": { - "entries": [ - { - "added": 2, - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/dev", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - }, - "screenState": { - "kind": "ready", - "status": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - }, - "1ff055d43072": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "2ab4c978da8d": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "2ca33da4d135": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "repos": [] - } - } - } - }, - "3088889ce80e": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "3403b59cf439": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "3718b7e83a50": { - "name": "repo.baseRefDefault#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "3dcba72c2342": { - "name": "streams-registered-at-teardown", - "ordinal": 10, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "3fa278bfc300": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "5782be802edd": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "5d30d477f0d5": { - "name": "git.branchCompare#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/dev", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "entries": [ - { - "added": 2, - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/dev", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - } - } - }, - "5e74c6d574e1": { - "name": "git.branchCompare#1", - "ordinal": 11, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"origin/dev\"}}" - }, - "6f4a5d6a5a86": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "71f3760dfea1": { - "name": "repo.list#1", - "ordinal": 9, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "74d102469d68": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "worktree": { - "baseRef": "origin/dev" - } - } - } - } - }, - "76c784c63522": { - "name": "streams-registered-at-teardown", - "ordinal": 12, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "8989d6980fc9": { - "name": "repo.baseRefDefault#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8fda864c66d6": { - "branchCompareState": { - "kind": "loading" - }, - "screenState": { - "kind": "ready", - "status": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - }, - "92a577a15fcc": { - "name": "git.status#1", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "962f91336a50": { - "name": "git.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "added": 4, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - }, - { - "area": "staged", - "oldPath": "src/older.ts", - "path": "src/old.ts", - "status": "renamed" - } - ], - "head": "head-oid", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true, - "upstreamName": "origin/feature" - } - } - } - } - }, - "99df70fb15d8": { - "name": "repo.baseRefDefault#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Client closed", - "isRpcDeliveryUnknown": false - } - } - }, - "9d517f2ce039": { - "name": "repo.baseRefDefault#1", - "ordinal": 11, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"repo.baseRefDefault\",\"params\":{\"repo\":\"id:repo42\"}}" - }, - "a0e527bdf205": { - "branchCompareState": { - "kind": "idle" - }, - "screenState": { - "kind": "loading" - } - }, - "b1f1cf609f1a": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "b823fdc0d205": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "cb462f8b50a3": { - "name": "worktree.show#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "cbba4d974cd2": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "d67ff8e687bf": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-4", - "ok": false - } - } - }, - "da80647539b5": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "db7a4d8e637e": { - "name": "worktree.show#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-4", - "ok": false - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "f802165696e4": { - "name": "repo.list#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - } - }, - "recording": { - "scenario": "matrix-git.changes-load-worktree.show-1", - "checkpoints": [ - { - "id": "sc-changes-loaded.prelude:status-pending", - "observation": { - "sender": ["b823fdc0d205", "2ab4c978da8d"], - "payloads": ["eef1ee3c2773", "1c2564f1daca", "92a577a15fcc"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a0e527bdf205", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.prelude:compare-pending", - "observation": { - "sender": ["b823fdc0d205", "962f91336a50", "6f4a5d6a5a86", "1934c215114a"], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.prelude:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "da80647539b5", - "f802165696e4", - "99df70fb15d8" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": ["3dcba72c2342"] - } - }, - { - "id": "sc-changes-loaded.normal:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.normal:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "74d102469d68", - "2ca33da4d135", - "5d30d477f0d5" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "5e74c6d574e1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1d461278a0ae", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.result-absent:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "b1f1cf609f1a", - "2ca33da4d135", - "8989d6980fc9" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.result-absent:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "b1f1cf609f1a", - "2ca33da4d135", - "3718b7e83a50" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.result-null:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "3fa278bfc300", - "2ca33da4d135", - "8989d6980fc9" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.result-null:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "3fa278bfc300", - "2ca33da4d135", - "3718b7e83a50" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.inner-ok-missing:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "12cda398ef1c", - "2ca33da4d135", - "8989d6980fc9" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.inner-ok-missing:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "12cda398ef1c", - "2ca33da4d135", - "3718b7e83a50" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.inner-false-string-error:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "cbba4d974cd2", - "2ca33da4d135", - "8989d6980fc9" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.inner-false-string-error:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "cbba4d974cd2", - "2ca33da4d135", - "3718b7e83a50" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.inner-false-object-error:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "3403b59cf439", - "2ca33da4d135", - "8989d6980fc9" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.inner-false-object-error:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "3403b59cf439", - "2ca33da4d135", - "3718b7e83a50" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.outer-refused:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "db7a4d8e637e", - "2ca33da4d135", - "8989d6980fc9" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.outer-refused:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "db7a4d8e637e", - "2ca33da4d135", - "3718b7e83a50" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.outer-refused-no-message:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "1266df2a91af", - "2ca33da4d135", - "8989d6980fc9" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.outer-refused-no-message:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "1266df2a91af", - "2ca33da4d135", - "3718b7e83a50" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.method-not-found:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "d67ff8e687bf", - "2ca33da4d135", - "8989d6980fc9" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.method-not-found:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "d67ff8e687bf", - "2ca33da4d135", - "3718b7e83a50" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.transport-rejection:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "5782be802edd", - "2ca33da4d135", - "8989d6980fc9" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.transport-rejection:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "5782be802edd", - "2ca33da4d135", - "3718b7e83a50" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": ["76c784c63522"] - } - }, - { - "id": "sc-changes-loaded.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "b823fdc0d205", - "962f91336a50", - "1ff055d43072", - "2ca33da4d135", - "8989d6980fc9" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": [] - } - }, - { - "id": "sc-changes-loaded.transport-rejection-no-message:cleanup", - "observation": { - "sender": [ - "3088889ce80e", - "962f91336a50", - "1ff055d43072", - "2ca33da4d135", - "3718b7e83a50" - ], - "payloads": [ - "eef1ee3c2773", - "1c2564f1daca", - "92a577a15fcc", - "cb462f8b50a3", - "71f3760dfea1", - "9d517f2ce039" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8fda864c66d6", - "effects": ["76c784c63522"] - } - } - ] - } -} 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 deleted file mode 100644 index 44991a5d80b..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-git.commit-message-ai-git.generatecommitmessage-1.json +++ /dev/null @@ -1,665 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.commit-message", - "family": "git.commit-message-ai", - "namedDeltas": [], - "values": { - "021e6483c4ec": { - "name": "git.generateCommitMessage#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "0a0727f6eedd": { - "name": "git.generateCommitMessage#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "1290c04bc26c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "message": "feat: recorded", - "success": true - } - }, - "3186ccdbc53f": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Unknown method", - "success": false - } - }, - "399b9b20939f": { - "name": "git.generateCommitMessage#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "3ac0364dde47": { - "name": "git.generateCommitMessage#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "3ef8a5f65bc8": { - "generated": { - "message": "feat: recorded", - "success": true - } - }, - "5246b9fd2d12": { - "generated": { - "error": "outer refused", - "success": false - } - }, - "59b13964ffde": { - "name": "git.generateCommitMessage#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "5ad7ea556320": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "success": false - } - }, - "5be6b62a713f": { - "name": "git.generateCommitMessage#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "6453ff669a2f": { - "generated": { - "error": "Failed to generate commit message", - "success": false - } - }, - "6e1eb1940570": { - "name": "git.generateCommitMessage#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "7f1f9740a3b3": { - "name": "git.generateCommitMessage#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "7fc8f7372502": { - "name": "git.generateCommitMessage#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "8fabb6263107": { - "name": "git.generateCommitMessage#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "915059a8a000": { - "generated": { - "error": "Unknown method", - "success": false - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "92c673998abd": { - "name": "git.generateCommitMessage#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "a0551476eb3b": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "No commit message generated", - "success": false - } - }, - "a0ffc875c2ef": { - "name": "git.generateCommitMessage#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "adb40821f3e2": { - "generated": "ungenerated" - }, - "b4da9398fc8e": { - "name": "git.generateCommitMessage#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "message": "feat: recorded", - "success": true - } - } - } - }, - "b95c8d57adc9": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Failed to generate commit message", - "success": false - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "faad14b9f95d": { - "generated": { - "error": "No commit message generated", - "success": false - } - } - }, - "recording": { - "scenario": "matrix-git.commit-message-ai-git.generatecommitmessage-1", - "checkpoints": [ - { - "id": "sc-commit-message-generated.prelude:pending", - "observation": { - "sender": ["7f1f9740a3b3"], - "payloads": ["5be6b62a713f"], - "settlements": { - "generate": "9270aeb7d9c6" - }, - "state": "adb40821f3e2", - "effects": [] - } - }, - { - "id": "sc-commit-message-generated.normal:settled", - "observation": { - "sender": ["b4da9398fc8e"], - "payloads": ["5be6b62a713f"], - "settlements": { - "generate": "1290c04bc26c" - }, - "state": "3ef8a5f65bc8", - "effects": [] - } - }, - { - "id": "sc-commit-message-generated.result-absent:settled", - "observation": { - "sender": ["a0ffc875c2ef"], - "payloads": ["5be6b62a713f"], - "settlements": { - "generate": "b95c8d57adc9" - }, - "state": "6453ff669a2f", - "effects": [] - } - }, - { - "id": "sc-commit-message-generated.result-null:settled", - "observation": { - "sender": ["59b13964ffde"], - "payloads": ["5be6b62a713f"], - "settlements": { - "generate": "b95c8d57adc9" - }, - "state": "6453ff669a2f", - "effects": [] - } - }, - { - "id": "sc-commit-message-generated.inner-ok-missing:settled", - "observation": { - "sender": ["7fc8f7372502"], - "payloads": ["5be6b62a713f"], - "settlements": { - "generate": "a0551476eb3b" - }, - "state": "faad14b9f95d", - "effects": [] - } - }, - { - "id": "sc-commit-message-generated.inner-false-string-error:settled", - "observation": { - "sender": ["6e1eb1940570"], - "payloads": ["5be6b62a713f"], - "settlements": { - "generate": "a0551476eb3b" - }, - "state": "faad14b9f95d", - "effects": [] - } - }, - { - "id": "sc-commit-message-generated.inner-false-object-error:settled", - "observation": { - "sender": ["8fabb6263107"], - "payloads": ["5be6b62a713f"], - "settlements": { - "generate": "a0551476eb3b" - }, - "state": "faad14b9f95d", - "effects": [] - } - }, - { - "id": "sc-commit-message-generated.outer-refused:settled", - "observation": { - "sender": ["92c673998abd"], - "payloads": ["5be6b62a713f"], - "settlements": { - "generate": "5ad7ea556320" - }, - "state": "5246b9fd2d12", - "effects": [] - } - }, - { - "id": "sc-commit-message-generated.outer-refused-no-message:settled", - "observation": { - "sender": ["3ac0364dde47"], - "payloads": ["5be6b62a713f"], - "settlements": { - "generate": "b95c8d57adc9" - }, - "state": "6453ff669a2f", - "effects": [] - } - }, - { - "id": "sc-commit-message-generated.method-not-found:settled", - "observation": { - "sender": ["021e6483c4ec"], - "payloads": ["5be6b62a713f"], - "settlements": { - "generate": "3186ccdbc53f" - }, - "state": "915059a8a000", - "effects": [] - } - }, - { - "id": "sc-commit-message-generated.transport-rejection:settled", - "observation": { - "sender": ["399b9b20939f"], - "payloads": ["5be6b62a713f"], - "settlements": { - "generate": "a947768bc0ed" - }, - "state": "adb40821f3e2", - "effects": [] - } - }, - { - "id": "sc-commit-message-generated.transport-rejection-no-message:settled", - "observation": { - "sender": ["0a0727f6eedd"], - "payloads": ["5be6b62a713f"], - "settlements": { - "generate": "c7584e82c72f" - }, - "state": "adb40821f3e2", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-git.history-branch-commits-git.history-1.json b/mobile/rpc-foundation/goldens/matrix-git.history-branch-commits-git.history-1.json deleted file mode 100644 index b60b057fe34..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-git.history-branch-commits-git.history-1.json +++ /dev/null @@ -1,923 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.history-branch-commits", - "family": "git.history-branch-commits", - "namedDeltas": [], - "values": { - "006a91b993e0": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "0b17b9be0ede": { - "commitRow": "unrendered", - "crash": { - "$rpc": "null" - }, - "elements": { - "CircleAlert": 1, - "Pressable": 1, - "Text": 3, - "View": 2 - }, - "labels": [], - "text": ["Unable to Load", "Unknown method", "Retry"] - }, - "1418ed80d34a": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "2325497ad5bc": { - "commitRow": ["first", "aaaaaaa · dev · 1h"], - "crash": { - "$rpc": "null" - }, - "elements": { - "FlatList": 1, - "View": 1 - }, - "labels": [], - "text": [] - }, - "337dba1b9080": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": { - "ahead": 1, - "baseRef": { - "id": "refs/remotes/origin/main", - "name": "origin/main" - }, - "behind": 2, - "unpushed": 1 - }, - "hasMore": false, - "items": [ - { - "author": "dev", - "displayId": "aaaaaaa", - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "message": "first\n\nExplains the change.\n\nCo-authored-by: Pair ", - "parentIds": ["bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"], - "pushed": false, - "statistics": { - "deletions": 1, - "files": 2, - "insertions": 13 - }, - "subject": "first", - "timestamp": 1767222000000 - } - ], - "skip": 0 - } - } - } - }, - "3b2d2e7ac8d4": { - "commitRow": "unrendered", - "crash": { - "$rpc": "null" - }, - "elements": { - "CircleAlert": 1, - "Pressable": 1, - "Text": 3, - "View": 2 - }, - "labels": [], - "text": ["Unable to Load", "transport failure", "Retry"] - }, - "3b589774484d": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "worktree": { - "baseRef": "origin/main" - } - } - } - } - }, - "422c91699a69": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "5ad8bfe89483": { - "commitRow": "unrendered", - "crash": { - "$rpc": "null" - }, - "elements": { - "ActivityIndicator": 1, - "Text": 1, - "View": 2 - }, - "labels": [], - "text": ["Loading commits…"] - }, - "5b456e5719d5": { - "commitRow": "unrendered", - "crash": { - "$rpc": "null" - }, - "elements": { - "CircleAlert": 1, - "Pressable": 1, - "Text": 3, - "View": 2 - }, - "labels": [], - "text": ["Unable to Load", "outer refused", "Retry"] - }, - "5ff1385fce3c": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true, - "result": { - "repos": [ - { - "id": "repo42", - "worktreeBaseRef": { - "$rpc": "null" - } - } - ] - } - } - } - }, - "62fe63a20a07": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6c11bfa7525e": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "7ba77fffa189": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "The history list rendered no commit to open", - "isRpcDeliveryUnknown": false - } - }, - "a2ba83623661": { - "commitRow": "unrendered", - "crash": { - "$rpc": "null" - }, - "elements": { - "CircleAlert": 1, - "Pressable": 1, - "Text": 3, - "View": 2 - }, - "labels": [], - "text": [ - "Unable to Load", - "The host sent a reply this app could not read (git.history)", - "Retry" - ] - }, - "b1d31f6bf592": { - "name": "git.history#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.history\",\"params\":{\"worktree\":\"id:repo42::/p\",\"limit\":50,\"skip\":0,\"baseRef\":\"origin/main\",\"branchOnly\":true}}" - }, - "be37f988f7f1": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "c2424f466a69": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c2b6bca5b533": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "cf32c351ac54": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "d45289c61d23": { - "name": "history.open-commit", - "ordinal": 7, - "value": { - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "d59387ef78aa": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "d64700b9de3b": { - "name": "repo.list#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "de2bcabe4f44": { - "commitRow": "unrendered", - "crash": { - "$rpc": "null" - }, - "elements": { - "CircleAlert": 1, - "Pressable": 1, - "Text": 3, - "View": 2 - }, - "labels": [], - "text": ["Unable to Load", "Failed to load commit history", "Retry"] - }, - "dfcd2e1792cb": { - "name": "worktree.show#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ef940fa8b1be": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "f04aa912f72d": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "f2c6f19a2a44": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "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-git.history-branch-commits-git.history-1", - "checkpoints": [ - { - "id": "sc-history-branch-commits.prelude:base-pending", - "observation": { - "sender": ["62fe63a20a07", "006a91b993e0"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.prelude:history-pending", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "c2424f466a69"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.normal:settled", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "337dba1b9080"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "eb79a9b3682a" - }, - "state": "2325497ad5bc", - "effects": ["d45289c61d23"] - } - }, - { - "id": "sc-history-branch-commits.result-absent:settled", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "422c91699a69"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "a2ba83623661", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.result-null:settled", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "d59387ef78aa"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "a2ba83623661", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.inner-ok-missing:settled", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "6c11bfa7525e"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "a2ba83623661", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.inner-false-string-error:settled", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "cf32c351ac54"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "a2ba83623661", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.inner-false-object-error:settled", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "be37f988f7f1"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "a2ba83623661", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.outer-refused:settled", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "f2c6f19a2a44"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "5b456e5719d5", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.outer-refused-no-message:settled", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "c2b6bca5b533"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "de2bcabe4f44", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.method-not-found:settled", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "1418ed80d34a"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "0b17b9be0ede", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.transport-rejection:settled", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "f04aa912f72d"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "3b2d2e7ac8d4", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.transport-rejection-no-message:settled", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "ef940fa8b1be"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "5ad8bfe89483", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-git.history-branch-commits-repo.list-1.json b/mobile/rpc-foundation/goldens/matrix-git.history-branch-commits-repo.list-1.json deleted file mode 100644 index db4472379ec..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-git.history-branch-commits-repo.list-1.json +++ /dev/null @@ -1,919 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.history-branch-commits", - "family": "git.history-branch-commits", - "namedDeltas": [], - "values": { - "006a91b993e0": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "0285dd2515c7": { - "name": "repo.list#1", - "ordinal": 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": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "2325497ad5bc": { - "commitRow": ["first", "aaaaaaa · dev · 1h"], - "crash": { - "$rpc": "null" - }, - "elements": { - "FlatList": 1, - "View": 1 - }, - "labels": [], - "text": [] - }, - "310c7e390536": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true - } - } - }, - "337dba1b9080": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": { - "ahead": 1, - "baseRef": { - "id": "refs/remotes/origin/main", - "name": "origin/main" - }, - "behind": 2, - "unpushed": 1 - }, - "hasMore": false, - "items": [ - { - "author": "dev", - "displayId": "aaaaaaa", - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "message": "first\n\nExplains the change.\n\nCo-authored-by: Pair ", - "parentIds": ["bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"], - "pushed": false, - "statistics": { - "deletions": 1, - "files": 2, - "insertions": 13 - }, - "subject": "first", - "timestamp": 1767222000000 - } - ], - "skip": 0 - } - } - } - }, - "3b589774484d": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "worktree": { - "baseRef": "origin/main" - } - } - } - } - }, - "516122b9489f": { - "name": "repo.list#1", - "ordinal": 2, - "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 - } - } - }, - "5ad8bfe89483": { - "commitRow": "unrendered", - "crash": { - "$rpc": "null" - }, - "elements": { - "ActivityIndicator": 1, - "Text": 1, - "View": 2 - }, - "labels": [], - "text": ["Loading commits…"] - }, - "5ff1385fce3c": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true, - "result": { - "repos": [ - { - "id": "repo42", - "worktreeBaseRef": { - "$rpc": "null" - } - } - ] - } - } - } - }, - "62fe63a20a07": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "666d94a86032": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "87f433e53c46": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "8b0bc82a33c5": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "b1d31f6bf592": { - "name": "git.history#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.history\",\"params\":{\"worktree\":\"id:repo42::/p\",\"limit\":50,\"skip\":0,\"baseRef\":\"origin/main\",\"branchOnly\":true}}" - }, - "c2424f466a69": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d2d3add21ec3": { - "name": "repo.list#1", - "ordinal": 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": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "d45289c61d23": { - "name": "history.open-commit", - "ordinal": 7, - "value": { - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "d64700b9de3b": { - "name": "repo.list#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "dfcd2e1792cb": { - "name": "worktree.show#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ebc806b074b1": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "ebcd2521a7cd": { - "name": "repo.list#1", - "ordinal": 2, - "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 - } - } - }, - "f8ad056a52a9": { - "name": "repo.list#1", - "ordinal": 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": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - } - }, - "recording": { - "scenario": "matrix-git.history-branch-commits-repo.list-1", - "checkpoints": [ - { - "id": "sc-history-branch-commits.prelude:base-pending", - "observation": { - "sender": ["62fe63a20a07", "006a91b993e0"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.normal:history-pending", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "c2424f466a69"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.normal:settled", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "337dba1b9080"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "eb79a9b3682a" - }, - "state": "2325497ad5bc", - "effects": ["d45289c61d23"] - } - }, - { - "id": "sc-history-branch-commits.result-absent:history-pending", - "observation": { - "sender": ["3b589774484d", "310c7e390536", "c2424f466a69"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.result-absent:settled", - "observation": { - "sender": ["3b589774484d", "310c7e390536", "337dba1b9080"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "eb79a9b3682a" - }, - "state": "2325497ad5bc", - "effects": ["d45289c61d23"] - } - }, - { - "id": "sc-history-branch-commits.result-null:history-pending", - "observation": { - "sender": ["3b589774484d", "87f433e53c46", "c2424f466a69"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.result-null:settled", - "observation": { - "sender": ["3b589774484d", "87f433e53c46", "337dba1b9080"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "eb79a9b3682a" - }, - "state": "2325497ad5bc", - "effects": ["d45289c61d23"] - } - }, - { - "id": "sc-history-branch-commits.inner-ok-missing:history-pending", - "observation": { - "sender": ["3b589774484d", "ebc806b074b1", "c2424f466a69"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.inner-ok-missing:settled", - "observation": { - "sender": ["3b589774484d", "ebc806b074b1", "337dba1b9080"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "eb79a9b3682a" - }, - "state": "2325497ad5bc", - "effects": ["d45289c61d23"] - } - }, - { - "id": "sc-history-branch-commits.inner-false-string-error:history-pending", - "observation": { - "sender": ["3b589774484d", "666d94a86032", "c2424f466a69"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.inner-false-string-error:settled", - "observation": { - "sender": ["3b589774484d", "666d94a86032", "337dba1b9080"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "eb79a9b3682a" - }, - "state": "2325497ad5bc", - "effects": ["d45289c61d23"] - } - }, - { - "id": "sc-history-branch-commits.inner-false-object-error:history-pending", - "observation": { - "sender": ["3b589774484d", "8b0bc82a33c5", "c2424f466a69"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.inner-false-object-error:settled", - "observation": { - "sender": ["3b589774484d", "8b0bc82a33c5", "337dba1b9080"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "eb79a9b3682a" - }, - "state": "2325497ad5bc", - "effects": ["d45289c61d23"] - } - }, - { - "id": "sc-history-branch-commits.outer-refused:history-pending", - "observation": { - "sender": ["3b589774484d", "0285dd2515c7", "c2424f466a69"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.outer-refused:settled", - "observation": { - "sender": ["3b589774484d", "0285dd2515c7", "337dba1b9080"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "eb79a9b3682a" - }, - "state": "2325497ad5bc", - "effects": ["d45289c61d23"] - } - }, - { - "id": "sc-history-branch-commits.outer-refused-no-message:history-pending", - "observation": { - "sender": ["3b589774484d", "f8ad056a52a9", "c2424f466a69"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.outer-refused-no-message:settled", - "observation": { - "sender": ["3b589774484d", "f8ad056a52a9", "337dba1b9080"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "eb79a9b3682a" - }, - "state": "2325497ad5bc", - "effects": ["d45289c61d23"] - } - }, - { - "id": "sc-history-branch-commits.method-not-found:history-pending", - "observation": { - "sender": ["3b589774484d", "d2d3add21ec3", "c2424f466a69"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.method-not-found:settled", - "observation": { - "sender": ["3b589774484d", "d2d3add21ec3", "337dba1b9080"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "eb79a9b3682a" - }, - "state": "2325497ad5bc", - "effects": ["d45289c61d23"] - } - }, - { - "id": "sc-history-branch-commits.transport-rejection:history-pending", - "observation": { - "sender": ["3b589774484d", "516122b9489f", "c2424f466a69"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.transport-rejection:settled", - "observation": { - "sender": ["3b589774484d", "516122b9489f", "337dba1b9080"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "eb79a9b3682a" - }, - "state": "2325497ad5bc", - "effects": ["d45289c61d23"] - } - }, - { - "id": "sc-history-branch-commits.transport-rejection-no-message:history-pending", - "observation": { - "sender": ["3b589774484d", "ebcd2521a7cd", "c2424f466a69"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.transport-rejection-no-message:settled", - "observation": { - "sender": ["3b589774484d", "ebcd2521a7cd", "337dba1b9080"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "eb79a9b3682a" - }, - "state": "2325497ad5bc", - "effects": ["d45289c61d23"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-git.history-branch-commits-worktree.show-1.json b/mobile/rpc-foundation/goldens/matrix-git.history-branch-commits-worktree.show-1.json deleted file mode 100644 index 812936b7ab0..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-git.history-branch-commits-worktree.show-1.json +++ /dev/null @@ -1,960 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.history-branch-commits", - "family": "git.history-branch-commits", - "namedDeltas": [], - "values": { - "006a91b993e0": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "112952c84c31": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "2325497ad5bc": { - "commitRow": ["first", "aaaaaaa · dev · 1h"], - "crash": { - "$rpc": "null" - }, - "elements": { - "FlatList": 1, - "View": 1 - }, - "labels": [], - "text": [] - }, - "26603748f74c": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "2782869751eb": { - "name": "repo.baseRefDefault#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.baseRefDefault" - }, - { - "name": "params", - "value": { - "repo": "id:repo42" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "31fddd5b39ac": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "337dba1b9080": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": { - "ahead": 1, - "baseRef": { - "id": "refs/remotes/origin/main", - "name": "origin/main" - }, - "behind": 2, - "unpushed": 1 - }, - "hasMore": false, - "items": [ - { - "author": "dev", - "displayId": "aaaaaaa", - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "message": "first\n\nExplains the change.\n\nCo-authored-by: Pair ", - "parentIds": ["bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"], - "pushed": false, - "statistics": { - "deletions": 1, - "files": 2, - "insertions": 13 - }, - "subject": "first", - "timestamp": 1767222000000 - } - ], - "skip": 0 - } - } - } - }, - "3b589774484d": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "worktree": { - "baseRef": "origin/main" - } - } - } - } - }, - "5ad8bfe89483": { - "commitRow": "unrendered", - "crash": { - "$rpc": "null" - }, - "elements": { - "ActivityIndicator": 1, - "Text": 1, - "View": 2 - }, - "labels": [], - "text": ["Loading commits…"] - }, - "5ff1385fce3c": { - "name": "repo.list#1", - "ordinal": 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-2", - "ok": true, - "result": { - "repos": [ - { - "id": "repo42", - "worktreeBaseRef": { - "$rpc": "null" - } - } - ] - } - } - } - }, - "62fe63a20a07": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "63a9e6a99912": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "682b90b1873f": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "700e46ca3381": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "7ba77fffa189": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "The history list rendered no commit to open", - "isRpcDeliveryUnknown": false - } - }, - "96520033dfa0": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "9af04bf77215": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "b1d31f6bf592": { - "name": "git.history#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.history\",\"params\":{\"worktree\":\"id:repo42::/p\",\"limit\":50,\"skip\":0,\"baseRef\":\"origin/main\",\"branchOnly\":true}}" - }, - "b40b93597165": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "c15789d5e75e": { - "name": "repo.baseRefDefault#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.baseRefDefault\",\"params\":{\"repo\":\"id:repo42\"}}" - }, - "c2424f466a69": { - "name": "git.history#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "branchOnly": true, - "limit": 50, - "skip": 0, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d45289c61d23": { - "name": "history.open-commit", - "ordinal": 7, - "value": { - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "d64700b9de3b": { - "name": "repo.list#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "d92a63a98b9c": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "dfcd2e1792cb": { - "name": "worktree.show#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-git.history-branch-commits-worktree.show-1", - "checkpoints": [ - { - "id": "sc-history-branch-commits.prelude:base-pending", - "observation": { - "sender": ["62fe63a20a07", "006a91b993e0"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.normal:history-pending", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "c2424f466a69"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.normal:settled", - "observation": { - "sender": ["3b589774484d", "5ff1385fce3c", "337dba1b9080"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "b1d31f6bf592"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "eb79a9b3682a" - }, - "state": "2325497ad5bc", - "effects": ["d45289c61d23"] - } - }, - { - "id": "sc-history-branch-commits.result-absent:history-pending", - "observation": { - "sender": ["700e46ca3381", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.result-absent:settled", - "observation": { - "sender": ["700e46ca3381", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.result-null:history-pending", - "observation": { - "sender": ["26603748f74c", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.result-null:settled", - "observation": { - "sender": ["26603748f74c", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.inner-ok-missing:history-pending", - "observation": { - "sender": ["96520033dfa0", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.inner-ok-missing:settled", - "observation": { - "sender": ["96520033dfa0", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.inner-false-string-error:history-pending", - "observation": { - "sender": ["9af04bf77215", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.inner-false-string-error:settled", - "observation": { - "sender": ["9af04bf77215", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.inner-false-object-error:history-pending", - "observation": { - "sender": ["b40b93597165", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.inner-false-object-error:settled", - "observation": { - "sender": ["b40b93597165", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.outer-refused:history-pending", - "observation": { - "sender": ["63a9e6a99912", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.outer-refused:settled", - "observation": { - "sender": ["63a9e6a99912", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.outer-refused-no-message:history-pending", - "observation": { - "sender": ["d92a63a98b9c", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.outer-refused-no-message:settled", - "observation": { - "sender": ["d92a63a98b9c", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.method-not-found:history-pending", - "observation": { - "sender": ["112952c84c31", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.method-not-found:settled", - "observation": { - "sender": ["112952c84c31", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.transport-rejection:history-pending", - "observation": { - "sender": ["682b90b1873f", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.transport-rejection:settled", - "observation": { - "sender": ["682b90b1873f", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.transport-rejection-no-message:history-pending", - "observation": { - "sender": ["31fddd5b39ac", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5ad8bfe89483", - "effects": [] - } - }, - { - "id": "sc-history-branch-commits.transport-rejection-no-message:settled", - "observation": { - "sender": ["31fddd5b39ac", "5ff1385fce3c", "2782869751eb"], - "payloads": ["dfcd2e1792cb", "d64700b9de3b", "c15789d5e75e"], - "settlements": { - "mount": "eb79a9b3682a", - "open": "7ba77fffa189" - }, - "state": "5ad8bfe89483", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index ccaafb2a246..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-git.history-read-git.history-1.json +++ /dev/null @@ -1,705 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.git-history", - "family": "git.history-read", - "namedDeltas": [], - "values": { - "0e92a08f8380": { - "name": "git.history#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.history\",\"params\":{\"worktree\":\"id:repo42::/p\",\"limit\":50}}" - }, - "242ef0a4462c": { - "name": "git.history#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "limit": 50, - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - }, - "437d7f38d098": { - "rows": [ - { - "author": "dev", - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "parentId": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", - "relativeTime": "1h", - "shortId": "aaaaaaa", - "subject": "first" - }, - { - "author": "", - "id": "cccccccccccccccccccccccccccccccccccccccc", - "parentId": { - "$rpc": "null" - }, - "relativeTime": "", - "shortId": "ccccccc", - "subject": "(no commit message)" - } - ] - }, - "5d7a655deafc": { - "name": "git.history#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "limit": 50, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "71a5879c8eb4": { - "name": "git.history#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "limit": 50, - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "7d520ecb92ad": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "author": "dev", - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "parentId": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", - "relativeTime": "1h", - "shortId": "aaaaaaa", - "subject": "first" - }, - { - "author": "", - "id": "cccccccccccccccccccccccccccccccccccccccc", - "parentId": { - "$rpc": "null" - }, - "relativeTime": "", - "shortId": "ccccccc", - "subject": "(no commit message)" - } - ] - }, - "87e9dffd3dee": { - "name": "git.history#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "limit": 50, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "9373c489f743": { - "name": "git.history#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "limit": 50, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "9631f908d769": { - "name": "git.history#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "limit": 50, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "items": [ - { - "author": "dev", - "displayId": "aaaaaaa", - "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "parentIds": ["bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"], - "subject": "first", - "timestamp": 1767222000000 - }, - { - "id": "cccccccccccccccccccccccccccccccccccccccc", - "parentIds": [], - "subject": "", - "timestamp": { - "$rpc": "null" - } - } - ] - } - } - } - }, - "9cd8aa651655": { - "name": "git.history#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "limit": 50, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "a18e62c8efc5": { - "name": "git.history#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "limit": 50, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "a73c7853778a": { - "name": "git.history#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "limit": 50, - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - }, - "ab0cdc1ce2cc": { - "name": "git.history#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "limit": 50, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "ade2b1f3660f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "The host sent a reply this app could not read (git.history)", - "isRpcDeliveryUnknown": false - } - }, - "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 - } - }, - "e7aad6e711f1": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Failed to load commit history", - "isRpcDeliveryUnknown": false - } - }, - "ef169a494b41": { - "rows": "unloaded" - }, - "efb227cb6d68": { - "name": "git.history#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "limit": 50, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "f6f9ee2744b8": { - "name": "git.history#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.history" - }, - { - "name": "params", - "value": { - "limit": 50, - "worktree": "id:repo42::/p" - } - }, - { - "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-git.history-read-git.history-1", - "checkpoints": [ - { - "id": "sc-history-loaded.prelude:pending", - "observation": { - "sender": ["5d7a655deafc"], - "payloads": ["0e92a08f8380"], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "ef169a494b41", - "effects": [] - } - }, - { - "id": "sc-history-loaded.normal:settled", - "observation": { - "sender": ["9631f908d769"], - "payloads": ["0e92a08f8380"], - "settlements": { - "load": "7d520ecb92ad" - }, - "state": "437d7f38d098", - "effects": [] - } - }, - { - "id": "sc-history-loaded.result-absent:settled", - "observation": { - "sender": ["242ef0a4462c"], - "payloads": ["0e92a08f8380"], - "settlements": { - "load": "ade2b1f3660f" - }, - "state": "ef169a494b41", - "effects": [] - } - }, - { - "id": "sc-history-loaded.result-null:settled", - "observation": { - "sender": ["efb227cb6d68"], - "payloads": ["0e92a08f8380"], - "settlements": { - "load": "ade2b1f3660f" - }, - "state": "ef169a494b41", - "effects": [] - } - }, - { - "id": "sc-history-loaded.inner-ok-missing:settled", - "observation": { - "sender": ["ab0cdc1ce2cc"], - "payloads": ["0e92a08f8380"], - "settlements": { - "load": "ade2b1f3660f" - }, - "state": "ef169a494b41", - "effects": [] - } - }, - { - "id": "sc-history-loaded.inner-false-string-error:settled", - "observation": { - "sender": ["9373c489f743"], - "payloads": ["0e92a08f8380"], - "settlements": { - "load": "ade2b1f3660f" - }, - "state": "ef169a494b41", - "effects": [] - } - }, - { - "id": "sc-history-loaded.inner-false-object-error:settled", - "observation": { - "sender": ["71a5879c8eb4"], - "payloads": ["0e92a08f8380"], - "settlements": { - "load": "ade2b1f3660f" - }, - "state": "ef169a494b41", - "effects": [] - } - }, - { - "id": "sc-history-loaded.outer-refused:settled", - "observation": { - "sender": ["f6f9ee2744b8"], - "payloads": ["0e92a08f8380"], - "settlements": { - "load": "32a7c0ae7918" - }, - "state": "ef169a494b41", - "effects": [] - } - }, - { - "id": "sc-history-loaded.outer-refused-no-message:settled", - "observation": { - "sender": ["87e9dffd3dee"], - "payloads": ["0e92a08f8380"], - "settlements": { - "load": "e7aad6e711f1" - }, - "state": "ef169a494b41", - "effects": [] - } - }, - { - "id": "sc-history-loaded.method-not-found:settled", - "observation": { - "sender": ["a73c7853778a"], - "payloads": ["0e92a08f8380"], - "settlements": { - "load": "b948e8307e81" - }, - "state": "ef169a494b41", - "effects": [] - } - }, - { - "id": "sc-history-loaded.transport-rejection:settled", - "observation": { - "sender": ["a18e62c8efc5"], - "payloads": ["0e92a08f8380"], - "settlements": { - "load": "a947768bc0ed" - }, - "state": "ef169a494b41", - "effects": [] - } - }, - { - "id": "sc-history-loaded.transport-rejection-no-message:settled", - "observation": { - "sender": ["9cd8aa651655"], - "payloads": ["0e92a08f8380"], - "settlements": { - "load": "c7584e82c72f" - }, - "state": "ef169a494b41", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index b4d02fc4eb6..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-git.remote-prerequisite-git.push-1.json +++ /dev/null @@ -1,664 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.remote-prerequisite", - "family": "git.remote-prerequisite", - "namedDeltas": [], - "values": { - "00e8a3bac22f": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "ran": true - } - }, - "03b4110a11c7": { - "name": "git.push#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "0e1f9869a8e7": { - "name": "git.push#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "0fe2eb2410a4": { - "outcome": { - "ok": true, - "ran": true - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "1cfd4ed2f051": { - "name": "progress", - "ordinal": 1, - "value": "pushing" - }, - "23b84f51f056": { - "name": "git.push#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "34eee892be9b": { - "outcome": { - "error": "Failed to push commits", - "ok": false - } - }, - "3c6a5a164e8a": { - "outcome": { - "error": "", - "ok": false - } - }, - "3e6cf1f04a9c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Failed to push commits", - "ok": false - } - }, - "4d624d24f06b": { - "name": "git.push#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "5f39628d3b36": { - "name": "git.push#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "6b69938298b4": { - "name": "git.push#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "6ef673dffbd4": { - "name": "git.push#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "7fbeade80602": { - "name": "git.push#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "8eb317f57a8c": { - "name": "git.push#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - }, - "a197c20578aa": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "transport failure", - "ok": false - } - }, - "aa8b30457cff": { - "outcome": { - "error": "outer refused", - "ok": false - } - }, - "ac7133c88c30": { - "name": "git.push#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "bc748fe67a42": { - "name": "git.push#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "c1ca3b60f701": { - "name": "git.push#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "cf19981c2114": { - "outcome": "unapplied" - }, - "e157741a28a1": { - "outcome": { - "error": "Unknown method", - "ok": false - } - }, - "f367b374b36e": { - "name": "git.push#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "f4ca76ee9f22": { - "outcome": { - "error": "transport failure", - "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 - } - } - }, - "recording": { - "scenario": "matrix-git.remote-prerequisite-git.push-1", - "checkpoints": [ - { - "id": "sc-prerequisite-push.prelude:pending", - "observation": { - "sender": ["c1ca3b60f701"], - "payloads": ["03b4110a11c7"], - "settlements": { - "apply": "9270aeb7d9c6" - }, - "state": "cf19981c2114", - "effects": ["1cfd4ed2f051"] - } - }, - { - "id": "sc-prerequisite-push.normal:settled", - "observation": { - "sender": ["7fbeade80602"], - "payloads": ["03b4110a11c7"], - "settlements": { - "apply": "00e8a3bac22f" - }, - "state": "0fe2eb2410a4", - "effects": ["1cfd4ed2f051"] - } - }, - { - "id": "sc-prerequisite-push.result-absent:settled", - "observation": { - "sender": ["23b84f51f056"], - "payloads": ["03b4110a11c7"], - "settlements": { - "apply": "00e8a3bac22f" - }, - "state": "0fe2eb2410a4", - "effects": ["1cfd4ed2f051"] - } - }, - { - "id": "sc-prerequisite-push.result-null:settled", - "observation": { - "sender": ["0e1f9869a8e7"], - "payloads": ["03b4110a11c7"], - "settlements": { - "apply": "00e8a3bac22f" - }, - "state": "0fe2eb2410a4", - "effects": ["1cfd4ed2f051"] - } - }, - { - "id": "sc-prerequisite-push.inner-ok-missing:settled", - "observation": { - "sender": ["5f39628d3b36"], - "payloads": ["03b4110a11c7"], - "settlements": { - "apply": "00e8a3bac22f" - }, - "state": "0fe2eb2410a4", - "effects": ["1cfd4ed2f051"] - } - }, - { - "id": "sc-prerequisite-push.inner-false-string-error:settled", - "observation": { - "sender": ["8eb317f57a8c"], - "payloads": ["03b4110a11c7"], - "settlements": { - "apply": "00e8a3bac22f" - }, - "state": "0fe2eb2410a4", - "effects": ["1cfd4ed2f051"] - } - }, - { - "id": "sc-prerequisite-push.inner-false-object-error:settled", - "observation": { - "sender": ["4d624d24f06b"], - "payloads": ["03b4110a11c7"], - "settlements": { - "apply": "00e8a3bac22f" - }, - "state": "0fe2eb2410a4", - "effects": ["1cfd4ed2f051"] - } - }, - { - "id": "sc-prerequisite-push.outer-refused:settled", - "observation": { - "sender": ["6ef673dffbd4"], - "payloads": ["03b4110a11c7"], - "settlements": { - "apply": "1b2778bf67a2" - }, - "state": "aa8b30457cff", - "effects": ["1cfd4ed2f051"] - } - }, - { - "id": "sc-prerequisite-push.outer-refused-no-message:settled", - "observation": { - "sender": ["6b69938298b4"], - "payloads": ["03b4110a11c7"], - "settlements": { - "apply": "3e6cf1f04a9c" - }, - "state": "34eee892be9b", - "effects": ["1cfd4ed2f051"] - } - }, - { - "id": "sc-prerequisite-push.method-not-found:settled", - "observation": { - "sender": ["ac7133c88c30"], - "payloads": ["03b4110a11c7"], - "settlements": { - "apply": "fa93ca01f266" - }, - "state": "e157741a28a1", - "effects": ["1cfd4ed2f051"] - } - }, - { - "id": "sc-prerequisite-push.transport-rejection:settled", - "observation": { - "sender": ["f367b374b36e"], - "payloads": ["03b4110a11c7"], - "settlements": { - "apply": "a197c20578aa" - }, - "state": "f4ca76ee9f22", - "effects": ["1cfd4ed2f051"] - } - }, - { - "id": "sc-prerequisite-push.transport-rejection-no-message:settled", - "observation": { - "sender": ["bc748fe67a42"], - "payloads": ["03b4110a11c7"], - "settlements": { - "apply": "fb4429083480" - }, - "state": "3c6a5a164e8a", - "effects": ["1cfd4ed2f051"] - } - } - ] - } -} 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 deleted file mode 100644 index ff77605f592..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-git.review-preparation-git.status-1.json +++ /dev/null @@ -1,848 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.review-git-preparation", - "family": "git.review-preparation", - "namedDeltas": [], - "values": { - "0dbefdbf195a": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "165aa0eaa946": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "1858779f58e9": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - }, - { - "area": "untracked", - "path": "src/new.ts", - "status": "untracked" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "23426bcb23a5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Unable to refresh source control", - "ok": false - } - }, - "3b1f10f51ae6": { - "committed": "uncommitted", - "status": { - "error": "outer refused", - "ok": false - } - }, - "4e4f8fe8503f": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "6b4e64559e4f": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "6decf368b25a": { - "committed": "uncommitted", - "status": { - "ok": true, - "status": { - "$rpc": "null" - } - } - }, - "7e0872c888d0": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "8601995022f5": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "89ca28c45139": { - "committed": "uncommitted", - "status": { - "error": "Unknown method", - "ok": false - } - }, - "8bcac17452c2": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "8c85ee8c0763": { - "committed": "uncommitted", - "status": { - "error": "Unable to refresh source control", - "ok": false - } - }, - "8eb3f9e47b86": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "95c11f23ad0d": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - }, - { - "added": { - "$rpc": "undefined" - }, - "area": "untracked", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/new.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "untracked", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "99ff3c2fa472": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - }, - "ac07554f62ad": { - "committed": "uncommitted", - "status": "unread" - }, - "ace37e236a18": { - "committed": "uncommitted", - "status": { - "ok": true, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - }, - { - "added": { - "$rpc": "undefined" - }, - "area": "untracked", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/new.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "untracked", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "b50556c964ed": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "be94031f4f8d": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "da676cfabd9b": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "status": { - "$rpc": "null" - } - } - }, - "ddee63fd3bf5": { - "name": "git.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "fa93ca01f266": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Unknown method", - "ok": false - } - } - }, - "recording": { - "scenario": "matrix-git.review-preparation-git.status-1", - "checkpoints": [ - { - "id": "sc-review-status-normalized.prelude:pending", - "observation": { - "sender": ["8601995022f5"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "status": "9270aeb7d9c6" - }, - "state": "ac07554f62ad", - "effects": [] - } - }, - { - "id": "sc-review-status-normalized.normal:settled", - "observation": { - "sender": ["1858779f58e9"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "status": "95c11f23ad0d" - }, - "state": "ace37e236a18", - "effects": [] - } - }, - { - "id": "sc-review-status-normalized.result-absent:settled", - "observation": { - "sender": ["b50556c964ed"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "status": "da676cfabd9b" - }, - "state": "6decf368b25a", - "effects": [] - } - }, - { - "id": "sc-review-status-normalized.result-null:settled", - "observation": { - "sender": ["0dbefdbf195a"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "status": "da676cfabd9b" - }, - "state": "6decf368b25a", - "effects": [] - } - }, - { - "id": "sc-review-status-normalized.inner-ok-missing:settled", - "observation": { - "sender": ["4e4f8fe8503f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "status": "da676cfabd9b" - }, - "state": "6decf368b25a", - "effects": [] - } - }, - { - "id": "sc-review-status-normalized.inner-false-string-error:settled", - "observation": { - "sender": ["6b4e64559e4f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "status": "da676cfabd9b" - }, - "state": "6decf368b25a", - "effects": [] - } - }, - { - "id": "sc-review-status-normalized.inner-false-object-error:settled", - "observation": { - "sender": ["be94031f4f8d"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "status": "da676cfabd9b" - }, - "state": "6decf368b25a", - "effects": [] - } - }, - { - "id": "sc-review-status-normalized.outer-refused:settled", - "observation": { - "sender": ["8eb3f9e47b86"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "status": "1b2778bf67a2" - }, - "state": "3b1f10f51ae6", - "effects": [] - } - }, - { - "id": "sc-review-status-normalized.outer-refused-no-message:settled", - "observation": { - "sender": ["165aa0eaa946"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "status": "23426bcb23a5" - }, - "state": "8c85ee8c0763", - "effects": [] - } - }, - { - "id": "sc-review-status-normalized.method-not-found:settled", - "observation": { - "sender": ["99ff3c2fa472"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "status": "fa93ca01f266" - }, - "state": "89ca28c45139", - "effects": [] - } - }, - { - "id": "sc-review-status-normalized.transport-rejection:settled", - "observation": { - "sender": ["8bcac17452c2"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "status": "a947768bc0ed" - }, - "state": "ac07554f62ad", - "effects": [] - } - }, - { - "id": "sc-review-status-normalized.transport-rejection-no-message:settled", - "observation": { - "sender": ["7e0872c888d0"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "status": "c7584e82c72f" - }, - "state": "ac07554f62ad", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 6b4169b8039..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.addissuecomment-1.json +++ /dev/null @@ -1,1832 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-mutations", - "family": "github.pr-comment-mutation", - "namedDeltas": [], - "values": { - "02901e46c7a3": { - "reply": { - "ok": true - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "error": "Unknown method", - "ok": false - } - }, - "11da44dfb879": { - "reply": { - "ok": true - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "error": "inner refused", - "ok": false - } - }, - "14120b04af8e": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 7, - "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 - } - } - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "1e54982cb4b6": { - "name": "github.addIssueComment#1", - "ordinal": 3, - "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" - } - } - } - }, - "21ee02b012e8": { - "edit-comment": { - "ok": true - }, - "reply": { - "ok": true - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "error": "outer refused", - "ok": false - } - }, - "23b46e7697a8": { - "name": "github.addIssueComment#1", - "ordinal": 3, - "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 - } - } - }, - "25a169d76fa7": { - "name": "github.addIssueComment#1", - "ordinal": 3, - "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 - } - } - }, - "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": {}, - "4d8662d9c88c": { - "name": "github.addIssueComment#1", - "ordinal": 3, - "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 - } - } - }, - "58627406aba1": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 2, - "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}}" - }, - "5b2f4b9e8eae": { - "name": "github.addIssueComment#1", - "ordinal": 3, - "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 - } - }, - "6053fd8b5f02": { - "name": "github.resolveReviewThread#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-9\",\"threadId\":\"thread-1\",\"resolve\":true}}" - }, - "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 - } - }, - "6f6215b6acbe": { - "name": "github.addIssueComment#1", - "ordinal": 3, - "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 - } - } - } - }, - "720507281e9c": { - "reply": { - "ok": true - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "8302b53c96cd": { - "edit-comment": { - "ok": true - }, - "reply": { - "ok": true - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "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 - } - }, - "98812f0bcc18": { - "name": "github.addIssueComment#1", - "ordinal": 3, - "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 - } - } - }, - "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 - } - }, - "9c52f063bc0b": { - "name": "github.addIssueComment#1", - "ordinal": 3, - "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 - } - } - }, - "9f00dd54ba64": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "inner refused", - "ok": false - } - }, - "a03244774599": { - "reply": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "a07493bedc8a": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 9, - "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 - } - }, - "a76ab6b460fe": { - "name": "github.addIssueComment#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"body\":\"recorded comment\",\"type\":\"pr\"}}" - }, - "a780f3a81230": { - "name": "github.addIssueComment#1", - "ordinal": 3, - "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 - } - } - } - }, - "a80b00127a67": { - "name": "github.resolveReviewThread#1", - "ordinal": 5, - "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 - } - } - }, - "aaea0ed8039c": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55,\"body\":\"edited\"}}" - }, - "ac0fbf7e8046": { - "reply": { - "ok": true - }, - "root-comment": { - "error": "transport failure", - "ok": false - } - }, - "b038a4dffade": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 10, - "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 - } - }, - "b1bb810ab16e": { - "name": "github.addIssueComment#1", - "ordinal": 3, - "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 - } - } - } - }, - "b9fd8579bf37": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 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 - } - } - } - }, - "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 - } - }, - "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 - } - }, - "e568d4990fd8": { - "name": "github.addIssueComment#1", - "ordinal": 3, - "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 - } - } - }, - "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": ["b9fd8579bf37"], - "payloads": ["58627406aba1"], - "settlements": { - "reply": "fbc958e4d46e" - }, - "state": "d7020c20297f", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.normal:root-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e" - }, - "state": "a03244774599", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.normal:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "720507281e9c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.normal:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e", - "edit-comment": "fbc958e4d46e" - }, - "state": "2dd1ced3c6e3", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.normal:delete-comment", - "observation": { - "sender": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "98812f0bcc18"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e" - }, - "state": "a03244774599", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.result-absent:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "98812f0bcc18", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "720507281e9c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.result-absent:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "98812f0bcc18", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "98812f0bcc18", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "5b2f4b9e8eae"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e" - }, - "state": "a03244774599", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.result-null:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "5b2f4b9e8eae", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "720507281e9c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.result-null:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "5b2f4b9e8eae", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "5b2f4b9e8eae", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "1e54982cb4b6"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e" - }, - "state": "a03244774599", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-ok-missing:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "1e54982cb4b6", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "720507281e9c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-ok-missing:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "1e54982cb4b6", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "1e54982cb4b6", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "6f6215b6acbe"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "9f00dd54ba64" - }, - "state": "9adfce5d3c0b", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-string-error:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "6f6215b6acbe", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "9f00dd54ba64", - "resolve-thread": "fbc958e4d46e" - }, - "state": "11da44dfb879", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-string-error:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "6f6215b6acbe", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "6f6215b6acbe", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "b1bb810ab16e"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "9f00dd54ba64" - }, - "state": "9adfce5d3c0b", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-object-error:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "b1bb810ab16e", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "9f00dd54ba64", - "resolve-thread": "fbc958e4d46e" - }, - "state": "11da44dfb879", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-object-error:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "b1bb810ab16e", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "b1bb810ab16e", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "9c52f063bc0b"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "1b2778bf67a2" - }, - "state": "f46379198976", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.outer-refused:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "9c52f063bc0b", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "1b2778bf67a2", - "resolve-thread": "fbc958e4d46e" - }, - "state": "99737c47980d", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.outer-refused:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "9c52f063bc0b", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "9c52f063bc0b", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "4d8662d9c88c"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "692d2314c7c5" - }, - "state": "b05590db45b7", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.outer-refused-no-message:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "4d8662d9c88c", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "692d2314c7c5", - "resolve-thread": "fbc958e4d46e" - }, - "state": "f387102e5524", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.outer-refused-no-message:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "4d8662d9c88c", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "4d8662d9c88c", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "e568d4990fd8"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fa93ca01f266" - }, - "state": "dbf8fad741cc", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.method-not-found:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "e568d4990fd8", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fa93ca01f266", - "resolve-thread": "fbc958e4d46e" - }, - "state": "02901e46c7a3", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.method-not-found:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "e568d4990fd8", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "e568d4990fd8", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "23b46e7697a8"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "a197c20578aa" - }, - "state": "ac0fbf7e8046", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.transport-rejection:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "23b46e7697a8", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "a197c20578aa", - "resolve-thread": "fbc958e4d46e" - }, - "state": "d17352ae4289", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.transport-rejection:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "23b46e7697a8", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "23b46e7697a8", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "25a169d76fa7"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fb4429083480" - }, - "state": "98be7abfd74c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.transport-rejection-no-message:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "25a169d76fa7", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fb4429083480", - "resolve-thread": "fbc958e4d46e" - }, - "state": "ed14ba07acb1", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.transport-rejection-no-message:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "25a169d76fa7", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "25a169d76fa7", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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 deleted file mode 100644 index 4ec572e7f3e..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.addprreviewcommentreply-1.json +++ /dev/null @@ -1,2018 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-mutations", - "family": "github.pr-comment-mutation", - "namedDeltas": [], - "values": { - "06ba1c859547": { - "reply": { - "error": "", - "ok": false - } - }, - "14120b04af8e": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 7, - "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 - } - } - } - }, - "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 - } - }, - "33f30011538d": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 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 - } - } - }, - "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": {}, - "58627406aba1": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 2, - "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}}" - }, - "5c0971fa31f0": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 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" - } - } - } - }, - "6053fd8b5f02": { - "name": "github.resolveReviewThread#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-9\",\"threadId\":\"thread-1\",\"resolve\":true}}" - }, - "63ae6ce07800": { - "edit-comment": { - "ok": true - }, - "reply": { - "error": "transport failure", - "ok": false - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "6a53e0fd9198": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 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 - } - }, - "7d315faa1073": { - "delete-comment": { - "ok": true - }, - "edit-comment": { - "ok": true - }, - "reply": { - "error": "transport failure", - "ok": false - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "7df4f4d9e426": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 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 - } - } - }, - "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 - } - }, - "9b11c35201cd": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 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 - } - } - } - }, - "9f00dd54ba64": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "inner refused", - "ok": false - } - }, - "a03244774599": { - "reply": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "a07493bedc8a": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 9, - "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 - } - }, - "a76ab6b460fe": { - "name": "github.addIssueComment#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"body\":\"recorded comment\",\"type\":\"pr\"}}" - }, - "a780f3a81230": { - "name": "github.addIssueComment#1", - "ordinal": 3, - "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 - } - } - } - }, - "a80b00127a67": { - "name": "github.resolveReviewThread#1", - "ordinal": 5, - "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 - } - } - }, - "aaea0ed8039c": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55,\"body\":\"edited\"}}" - }, - "ac81845257b6": { - "reply": { - "error": "Request failed: github.addPRReviewCommentReply", - "ok": false - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "b038a4dffade": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 10, - "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 - } - }, - "b4c5d2d0de37": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 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" - } - } - } - }, - "b7107312d478": { - "edit-comment": { - "ok": true - }, - "reply": { - "error": "", - "ok": false - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "b98bf8be5269": { - "edit-comment": { - "ok": true - }, - "reply": { - "error": "inner refused", - "ok": false - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "b9fd8579bf37": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 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 - } - } - } - }, - "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 - } - }, - "cc4cd9094e87": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 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 - } - } - }, - "d38f3568f4ce": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 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 - } - } - } - }, - "d65744cb322a": { - "delete-comment": { - "ok": true - }, - "edit-comment": { - "ok": true - }, - "reply": { - "ok": true - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "d7020c20297f": { - "reply": { - "ok": true - } - }, - "dadf4efe38d2": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 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 - } - } - }, - "e82dc89fb916": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 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 - } - } - }, - "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": ["b9fd8579bf37"], - "payloads": ["58627406aba1"], - "settlements": { - "reply": "fbc958e4d46e" - }, - "state": "d7020c20297f", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.normal:root-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e" - }, - "state": "a03244774599", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.normal:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "720507281e9c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.normal:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e", - "edit-comment": "fbc958e4d46e" - }, - "state": "2dd1ced3c6e3", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.normal:delete-comment", - "observation": { - "sender": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["33f30011538d"], - "payloads": ["58627406aba1"], - "settlements": { - "reply": "fbc958e4d46e" - }, - "state": "d7020c20297f", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.result-absent:root-comment", - "observation": { - "sender": ["33f30011538d", "a780f3a81230"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e" - }, - "state": "a03244774599", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.result-absent:resolve-thread", - "observation": { - "sender": ["33f30011538d", "a780f3a81230", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "720507281e9c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.result-absent:edit-comment", - "observation": { - "sender": ["33f30011538d", "a780f3a81230", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "33f30011538d", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b4c5d2d0de37"], - "payloads": ["58627406aba1"], - "settlements": { - "reply": "fbc958e4d46e" - }, - "state": "d7020c20297f", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.result-null:root-comment", - "observation": { - "sender": ["b4c5d2d0de37", "a780f3a81230"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e" - }, - "state": "a03244774599", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.result-null:resolve-thread", - "observation": { - "sender": ["b4c5d2d0de37", "a780f3a81230", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "720507281e9c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.result-null:edit-comment", - "observation": { - "sender": ["b4c5d2d0de37", "a780f3a81230", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b4c5d2d0de37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["5c0971fa31f0"], - "payloads": ["58627406aba1"], - "settlements": { - "reply": "fbc958e4d46e" - }, - "state": "d7020c20297f", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-ok-missing:root-comment", - "observation": { - "sender": ["5c0971fa31f0", "a780f3a81230"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e" - }, - "state": "a03244774599", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-ok-missing:resolve-thread", - "observation": { - "sender": ["5c0971fa31f0", "a780f3a81230", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "720507281e9c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-ok-missing:edit-comment", - "observation": { - "sender": ["5c0971fa31f0", "a780f3a81230", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "5c0971fa31f0", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["9b11c35201cd"], - "payloads": ["58627406aba1"], - "settlements": { - "reply": "9f00dd54ba64" - }, - "state": "be49216f63c9", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-string-error:root-comment", - "observation": { - "sender": ["9b11c35201cd", "a780f3a81230"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "9f00dd54ba64", - "root-comment": "fbc958e4d46e" - }, - "state": "a6c7b24c0f3f", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-string-error:resolve-thread", - "observation": { - "sender": ["9b11c35201cd", "a780f3a81230", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "9f00dd54ba64", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "f593e89635fc", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-string-error:edit-comment", - "observation": { - "sender": ["9b11c35201cd", "a780f3a81230", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "9b11c35201cd", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["d38f3568f4ce"], - "payloads": ["58627406aba1"], - "settlements": { - "reply": "9f00dd54ba64" - }, - "state": "be49216f63c9", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-object-error:root-comment", - "observation": { - "sender": ["d38f3568f4ce", "a780f3a81230"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "9f00dd54ba64", - "root-comment": "fbc958e4d46e" - }, - "state": "a6c7b24c0f3f", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-object-error:resolve-thread", - "observation": { - "sender": ["d38f3568f4ce", "a780f3a81230", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "9f00dd54ba64", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "f593e89635fc", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-object-error:edit-comment", - "observation": { - "sender": ["d38f3568f4ce", "a780f3a81230", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "d38f3568f4ce", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["7df4f4d9e426"], - "payloads": ["58627406aba1"], - "settlements": { - "reply": "1b2778bf67a2" - }, - "state": "142b1e3b6b70", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.outer-refused:root-comment", - "observation": { - "sender": ["7df4f4d9e426", "a780f3a81230"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "1b2778bf67a2", - "root-comment": "fbc958e4d46e" - }, - "state": "918d7aa7b94d", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.outer-refused:resolve-thread", - "observation": { - "sender": ["7df4f4d9e426", "a780f3a81230", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "1b2778bf67a2", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "c0db4698539c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.outer-refused:edit-comment", - "observation": { - "sender": ["7df4f4d9e426", "a780f3a81230", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "7df4f4d9e426", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["6a53e0fd9198"], - "payloads": ["58627406aba1"], - "settlements": { - "reply": "3f582d0e4cd1" - }, - "state": "28b73f1b7623", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.outer-refused-no-message:root-comment", - "observation": { - "sender": ["6a53e0fd9198", "a780f3a81230"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "3f582d0e4cd1", - "root-comment": "fbc958e4d46e" - }, - "state": "c060b2f738db", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.outer-refused-no-message:resolve-thread", - "observation": { - "sender": ["6a53e0fd9198", "a780f3a81230", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "3f582d0e4cd1", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "ac81845257b6", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.outer-refused-no-message:edit-comment", - "observation": { - "sender": ["6a53e0fd9198", "a780f3a81230", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "6a53e0fd9198", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["dadf4efe38d2"], - "payloads": ["58627406aba1"], - "settlements": { - "reply": "fa93ca01f266" - }, - "state": "c0d7d39f1b67", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.method-not-found:root-comment", - "observation": { - "sender": ["dadf4efe38d2", "a780f3a81230"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fa93ca01f266", - "root-comment": "fbc958e4d46e" - }, - "state": "825827297f7a", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.method-not-found:resolve-thread", - "observation": { - "sender": ["dadf4efe38d2", "a780f3a81230", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fa93ca01f266", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "2f20b6d17632", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.method-not-found:edit-comment", - "observation": { - "sender": ["dadf4efe38d2", "a780f3a81230", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "dadf4efe38d2", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["e82dc89fb916"], - "payloads": ["58627406aba1"], - "settlements": { - "reply": "a197c20578aa" - }, - "state": "95b7d2c7712e", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.transport-rejection:root-comment", - "observation": { - "sender": ["e82dc89fb916", "a780f3a81230"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "a197c20578aa", - "root-comment": "fbc958e4d46e" - }, - "state": "89dd41cd21a2", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.transport-rejection:resolve-thread", - "observation": { - "sender": ["e82dc89fb916", "a780f3a81230", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "a197c20578aa", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "19ae13828166", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.transport-rejection:edit-comment", - "observation": { - "sender": ["e82dc89fb916", "a780f3a81230", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "e82dc89fb916", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["cc4cd9094e87"], - "payloads": ["58627406aba1"], - "settlements": { - "reply": "fb4429083480" - }, - "state": "06ba1c859547", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.transport-rejection-no-message:root-comment", - "observation": { - "sender": ["cc4cd9094e87", "a780f3a81230"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fb4429083480", - "root-comment": "fbc958e4d46e" - }, - "state": "87f96829742f", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.transport-rejection-no-message:resolve-thread", - "observation": { - "sender": ["cc4cd9094e87", "a780f3a81230", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fb4429083480", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "19cd524e341a", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.transport-rejection-no-message:edit-comment", - "observation": { - "sender": ["cc4cd9094e87", "a780f3a81230", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "cc4cd9094e87", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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 deleted file mode 100644 index c4fc6f16fdd..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.project.deleteissuecommentbyslug-1.json +++ /dev/null @@ -1,1186 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-mutations", - "family": "github.pr-comment-mutation", - "namedDeltas": [], - "values": { - "14120b04af8e": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 7, - "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 - } - } - } - }, - "189e0a1cf6ae": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 9, - "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 - } - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "2186b36ec880": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 9, - "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 - } - } - }, - "22fc08f495be": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 9, - "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 - } - } - }, - "275158c5f674": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 9, - "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 - } - } - } - }, - "2dd1ced3c6e3": { - "edit-comment": { - "ok": true - }, - "reply": { - "ok": true - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "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": {}, - "571423de77e6": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 9, - "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 - } - } - }, - "58627406aba1": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 2, - "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}}" - }, - "6053fd8b5f02": { - "name": "github.resolveReviewThread#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-9\",\"threadId\":\"thread-1\",\"resolve\":true}}" - }, - "720507281e9c": { - "reply": { - "ok": true - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "857b46179267": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 9, - "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" - } - } - } - }, - "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 - } - }, - "99be0a6e0565": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 9, - "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 - } - } - } - }, - "9f00dd54ba64": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "inner refused", - "ok": false - } - }, - "a03244774599": { - "reply": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "a07493bedc8a": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 9, - "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 - } - }, - "a76ab6b460fe": { - "name": "github.addIssueComment#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"body\":\"recorded comment\",\"type\":\"pr\"}}" - }, - "a780f3a81230": { - "name": "github.addIssueComment#1", - "ordinal": 3, - "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 - } - } - } - }, - "a80b00127a67": { - "name": "github.resolveReviewThread#1", - "ordinal": 5, - "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 - } - } - }, - "aa6692c70feb": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 9, - "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 - } - } - }, - "aaea0ed8039c": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55,\"body\":\"edited\"}}" - }, - "b038a4dffade": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55}}" - }, - "b9fd8579bf37": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 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 - } - } - } - }, - "c5d3b19f680a": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 9, - "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 - } - } - }, - "d65744cb322a": { - "delete-comment": { - "ok": true - }, - "edit-comment": { - "ok": true - }, - "reply": { - "ok": true - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "d7020c20297f": { - "reply": { - "ok": true - } - }, - "ec416f0d6057": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 9, - "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" - } - } - } - }, - "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": ["b9fd8579bf37"], - "payloads": ["58627406aba1"], - "settlements": { - "reply": "fbc958e4d46e" - }, - "state": "d7020c20297f", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.prelude:root-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e" - }, - "state": "a03244774599", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.prelude:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "720507281e9c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.prelude:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e", - "edit-comment": "fbc958e4d46e" - }, - "state": "2dd1ced3c6e3", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.normal:delete-comment", - "observation": { - "sender": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "2186b36ec880" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "857b46179267" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "ec416f0d6057" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "275158c5f674" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "99be0a6e0565" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "aa6692c70feb" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "c5d3b19f680a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "189e0a1cf6ae" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "22fc08f495be" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "571423de77e6" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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 deleted file mode 100644 index ec6e65cd12a..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.project.updateissuecommentbyslug-1.json +++ /dev/null @@ -1,1436 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-mutations", - "family": "github.pr-comment-mutation", - "namedDeltas": [], - "values": { - "10229267ce84": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 7, - "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" - } - } - } - }, - "14120b04af8e": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 7, - "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 - } - } - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "209fd3c929cc": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 7, - "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 - } - } - }, - "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 - } - }, - "25c9540c3d45": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 7, - "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 - } - } - } - }, - "2dd1ced3c6e3": { - "edit-comment": { - "ok": true - }, - "reply": { - "ok": true - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "323efe3d400a": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 7, - "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 - } - } - }, - "44136fa355b3": {}, - "58627406aba1": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 2, - "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}}" - }, - "6012af80d0f1": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 7, - "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 - } - } - }, - "6053fd8b5f02": { - "name": "github.resolveReviewThread#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-9\",\"threadId\":\"thread-1\",\"resolve\":true}}" - }, - "6d888287f101": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 7, - "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 - } - } - } - }, - "6e4455e73475": { - "edit-comment": { - "error": "transport failure", - "ok": false - }, - "reply": { - "ok": true - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "6f335cc9195e": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 7, - "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" - } - } - } - }, - "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 - } - }, - "8a31924f03be": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 7, - "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 - } - } - }, - "9f00dd54ba64": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "inner refused", - "ok": false - } - }, - "a03244774599": { - "reply": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "a07493bedc8a": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 9, - "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 - } - }, - "a7454c040411": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 7, - "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 - } - } - }, - "a76ab6b460fe": { - "name": "github.addIssueComment#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"body\":\"recorded comment\",\"type\":\"pr\"}}" - }, - "a780f3a81230": { - "name": "github.addIssueComment#1", - "ordinal": 3, - "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 - } - } - } - }, - "a80b00127a67": { - "name": "github.resolveReviewThread#1", - "ordinal": 5, - "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 - } - } - }, - "aaea0ed8039c": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55,\"body\":\"edited\"}}" - }, - "ae334e6e6cfc": { - "delete-comment": { - "ok": true - }, - "edit-comment": { - "error": "inner refused", - "ok": false - }, - "reply": { - "ok": true - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "b038a4dffade": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55}}" - }, - "b9fd8579bf37": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 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 - } - }, - "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 - } - }, - "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 - } - }, - "f42f398553af": { - "delete-comment": { - "ok": true - }, - "edit-comment": { - "error": "outer refused", - "ok": false - }, - "reply": { - "ok": true - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "f6919ebfa54b": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 7, - "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 - } - } - }, - "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": ["b9fd8579bf37"], - "payloads": ["58627406aba1"], - "settlements": { - "reply": "fbc958e4d46e" - }, - "state": "d7020c20297f", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.prelude:root-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e" - }, - "state": "a03244774599", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.prelude:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "720507281e9c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.normal:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e", - "edit-comment": "fbc958e4d46e" - }, - "state": "2dd1ced3c6e3", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.normal:delete-comment", - "observation": { - "sender": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67", "8a31924f03be"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "8a31924f03be", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67", "10229267ce84"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "10229267ce84", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67", "6f335cc9195e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "6f335cc9195e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67", "25c9540c3d45"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "25c9540c3d45", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67", "6d888287f101"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "6d888287f101", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67", "6012af80d0f1"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "6012af80d0f1", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67", "323efe3d400a"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "323efe3d400a", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67", "a7454c040411"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "a7454c040411", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67", "209fd3c929cc"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "209fd3c929cc", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67", "f6919ebfa54b"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "f6919ebfa54b", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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 deleted file mode 100644 index 2c3a7daae03..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-comment-mutation-github.resolvereviewthread-1.json +++ /dev/null @@ -1,1584 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-mutations", - "family": "github.pr-comment-mutation", - "namedDeltas": [], - "values": { - "0828ac16da32": { - "name": "github.resolveReviewThread#1", - "ordinal": 5, - "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 - } - } - }, - "0e0226959068": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "The host sent a reply this app could not read (github.resolveReviewThread)", - "ok": false - } - }, - "0e1350af1723": { - "name": "github.resolveReviewThread#1", - "ordinal": 5, - "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 - } - } - }, - "14120b04af8e": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 7, - "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 - } - } - } - }, - "1597576cfda0": { - "delete-comment": { - "ok": true - }, - "edit-comment": { - "ok": true - }, - "reply": { - "ok": true - }, - "resolve-thread": { - "error": "transport failure", - "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 - } - }, - "25a251ffa90c": { - "delete-comment": { - "ok": true - }, - "edit-comment": { - "ok": true - }, - "reply": { - "ok": true - }, - "resolve-thread": { - "error": "The host sent a reply this app could not read (github.resolveReviewThread)", - "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 - } - }, - "3964a88962e3": { - "name": "github.resolveReviewThread#1", - "ordinal": 5, - "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" - } - } - } - }, - "3cb7f7e749de": { - "edit-comment": { - "ok": true - }, - "reply": { - "ok": true - }, - "resolve-thread": { - "error": "transport failure", - "ok": false - }, - "root-comment": { - "ok": true - } - }, - "44136fa355b3": {}, - "467481e7d4e7": { - "name": "github.resolveReviewThread#1", - "ordinal": 5, - "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 - } - } - }, - "48692b2b9917": { - "edit-comment": { - "ok": true - }, - "reply": { - "ok": true - }, - "resolve-thread": { - "error": "Unknown method", - "ok": false - }, - "root-comment": { - "ok": true - } - }, - "5136069034bb": { - "reply": { - "ok": true - }, - "resolve-thread": { - "error": "Unknown method", - "ok": false - }, - "root-comment": { - "ok": true - } - }, - "5269959dbad4": { - "reply": { - "ok": true - }, - "resolve-thread": { - "error": "The host sent a reply this app could not read (github.resolveReviewThread)", - "ok": false - }, - "root-comment": { - "ok": true - } - }, - "58627406aba1": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 2, - "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}}" - }, - "6053fd8b5f02": { - "name": "github.resolveReviewThread#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-9\",\"threadId\":\"thread-1\",\"resolve\":true}}" - }, - "720507281e9c": { - "reply": { - "ok": true - }, - "resolve-thread": { - "ok": true - }, - "root-comment": { - "ok": true - } - }, - "8747462b8a7d": { - "reply": { - "ok": true - }, - "resolve-thread": { - "error": "outer refused", - "ok": false - }, - "root-comment": { - "ok": true - } - }, - "89495fcb0451": { - "name": "github.resolveReviewThread#1", - "ordinal": 5, - "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 - } - } - }, - "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 - } - }, - "a07493bedc8a": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 9, - "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 - } - } - } - }, - "a154e99865c1": { - "edit-comment": { - "ok": true - }, - "reply": { - "ok": true - }, - "resolve-thread": { - "error": "The host sent a reply this app could not read (github.resolveReviewThread)", - "ok": false - }, - "root-comment": { - "ok": true - } - }, - "a197c20578aa": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "transport failure", - "ok": false - } - }, - "a76ab6b460fe": { - "name": "github.addIssueComment#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"body\":\"recorded comment\",\"type\":\"pr\"}}" - }, - "a780f3a81230": { - "name": "github.addIssueComment#1", - "ordinal": 3, - "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 - } - } - } - }, - "a80b00127a67": { - "name": "github.resolveReviewThread#1", - "ordinal": 5, - "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 - } - } - }, - "a95ff91c2476": { - "name": "github.resolveReviewThread#1", - "ordinal": 5, - "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" - } - } - } - }, - "aaea0ed8039c": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.updateIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55,\"body\":\"edited\"}}" - }, - "ac656f2d262c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Request failed: github.resolveReviewThread", - "ok": false - } - }, - "b038a4dffade": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"commentId\":55}}" - }, - "b9fd8579bf37": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 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 - } - }, - "c19336e9901d": { - "name": "github.resolveReviewThread#1", - "ordinal": 5, - "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 - } - } - }, - "c6cb8d3962d9": { - "reply": { - "ok": true - }, - "resolve-thread": { - "error": "Request failed: github.resolveReviewThread", - "ok": false - }, - "root-comment": { - "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 - } - }, - "dcc2f3f474a1": { - "name": "github.resolveReviewThread#1", - "ordinal": 5, - "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 - } - } - } - }, - "f31728922c54": { - "name": "github.resolveReviewThread#1", - "ordinal": 5, - "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 - } - } - } - }, - "f58246d78c6b": { - "delete-comment": { - "ok": true - }, - "edit-comment": { - "ok": true - }, - "reply": { - "ok": true - }, - "resolve-thread": { - "error": "outer refused", - "ok": false - }, - "root-comment": { - "ok": true - } - }, - "f97cb50fe004": { - "name": "github.resolveReviewThread#1", - "ordinal": 5, - "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 - } - } - }, - "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": ["b9fd8579bf37"], - "payloads": ["58627406aba1"], - "settlements": { - "reply": "fbc958e4d46e" - }, - "state": "d7020c20297f", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.prelude:root-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230"], - "payloads": ["58627406aba1", "a76ab6b460fe"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e" - }, - "state": "a03244774599", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.normal:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e" - }, - "state": "720507281e9c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.normal:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "a80b00127a67", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fbc958e4d46e", - "edit-comment": "fbc958e4d46e" - }, - "state": "2dd1ced3c6e3", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.normal:delete-comment", - "observation": { - "sender": [ - "b9fd8579bf37", - "a780f3a81230", - "a80b00127a67", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "a780f3a81230", "0e1350af1723"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "0e0226959068" - }, - "state": "5269959dbad4", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.result-absent:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "0e1350af1723", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "0e0226959068", - "edit-comment": "fbc958e4d46e" - }, - "state": "a154e99865c1", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.result-absent:delete-comment", - "observation": { - "sender": [ - "b9fd8579bf37", - "a780f3a81230", - "0e1350af1723", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "0e0226959068", - "edit-comment": "fbc958e4d46e", - "delete-comment": "fbc958e4d46e" - }, - "state": "25a251ffa90c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.result-null:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "3964a88962e3"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "0e0226959068" - }, - "state": "5269959dbad4", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.result-null:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "3964a88962e3", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "0e0226959068", - "edit-comment": "fbc958e4d46e" - }, - "state": "a154e99865c1", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.result-null:delete-comment", - "observation": { - "sender": [ - "b9fd8579bf37", - "a780f3a81230", - "3964a88962e3", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "0e0226959068", - "edit-comment": "fbc958e4d46e", - "delete-comment": "fbc958e4d46e" - }, - "state": "25a251ffa90c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-ok-missing:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "a95ff91c2476"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "0e0226959068" - }, - "state": "5269959dbad4", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-ok-missing:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "a95ff91c2476", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "0e0226959068", - "edit-comment": "fbc958e4d46e" - }, - "state": "a154e99865c1", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-ok-missing:delete-comment", - "observation": { - "sender": [ - "b9fd8579bf37", - "a780f3a81230", - "a95ff91c2476", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "0e0226959068", - "edit-comment": "fbc958e4d46e", - "delete-comment": "fbc958e4d46e" - }, - "state": "25a251ffa90c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-string-error:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "f31728922c54"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "0e0226959068" - }, - "state": "5269959dbad4", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-string-error:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "f31728922c54", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "0e0226959068", - "edit-comment": "fbc958e4d46e" - }, - "state": "a154e99865c1", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-string-error:delete-comment", - "observation": { - "sender": [ - "b9fd8579bf37", - "a780f3a81230", - "f31728922c54", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "0e0226959068", - "edit-comment": "fbc958e4d46e", - "delete-comment": "fbc958e4d46e" - }, - "state": "25a251ffa90c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-object-error:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "dcc2f3f474a1"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "0e0226959068" - }, - "state": "5269959dbad4", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-object-error:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "dcc2f3f474a1", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "0e0226959068", - "edit-comment": "fbc958e4d46e" - }, - "state": "a154e99865c1", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.inner-false-object-error:delete-comment", - "observation": { - "sender": [ - "b9fd8579bf37", - "a780f3a81230", - "dcc2f3f474a1", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "0e0226959068", - "edit-comment": "fbc958e4d46e", - "delete-comment": "fbc958e4d46e" - }, - "state": "25a251ffa90c", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.outer-refused:resolve-thread", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "89495fcb0451"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "1b2778bf67a2" - }, - "state": "8747462b8a7d", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.outer-refused:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "89495fcb0451", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "89495fcb0451", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "a780f3a81230", "0828ac16da32"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "ac656f2d262c" - }, - "state": "c6cb8d3962d9", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.outer-refused-no-message:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "0828ac16da32", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "0828ac16da32", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "a780f3a81230", "c19336e9901d"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "fa93ca01f266" - }, - "state": "5136069034bb", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.method-not-found:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "c19336e9901d", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "c19336e9901d", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "a780f3a81230", "f97cb50fe004"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "a197c20578aa" - }, - "state": "20f3623c9075", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.transport-rejection:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "f97cb50fe004", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "f97cb50fe004", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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": ["b9fd8579bf37", "a780f3a81230", "467481e7d4e7"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02"], - "settlements": { - "reply": "fbc958e4d46e", - "root-comment": "fbc958e4d46e", - "resolve-thread": "ac656f2d262c" - }, - "state": "c6cb8d3962d9", - "effects": [] - } - }, - { - "id": "pr-comment-mutation.transport-rejection-no-message:edit-comment", - "observation": { - "sender": ["b9fd8579bf37", "a780f3a81230", "467481e7d4e7", "14120b04af8e"], - "payloads": ["58627406aba1", "a76ab6b460fe", "6053fd8b5f02", "aaea0ed8039c"], - "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": [ - "b9fd8579bf37", - "a780f3a81230", - "467481e7d4e7", - "14120b04af8e", - "a07493bedc8a" - ], - "payloads": [ - "58627406aba1", - "a76ab6b460fe", - "6053fd8b5f02", - "aaea0ed8039c", - "b038a4dffade" - ], - "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 deleted file mode 100644 index 39de7bf391b..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.mergepr-1.json +++ /dev/null @@ -1,2499 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-mutations", - "family": "github.pr-mutation", - "namedDeltas": [], - "values": { - "0347a5b67d44": { - "auto-merge": { - "ok": true - }, - "merge": { - "error": "transport failure", - "ok": false - } - }, - "053eb7126f9a": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - } - }, - "0a07c3153c89": { - "name": "github.mergePR#1", - "ordinal": 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 - } - } - } - }, - "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 - } - }, - "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 - } - }, - "20a201c8ffc6": { - "name": "github.mergePR#1", - "ordinal": 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 - } - } - }, - "217757a427ce": { - "auto-merge": { - "ok": true - }, - "merge": { - "ok": true - } - }, - "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 - } - }, - "2b56dde57d4f": { - "name": "github.mergePR#1", - "ordinal": 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 - } - } - } - }, - "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 - } - }, - "3e98a51bf209": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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 - } - } - } - }, - "3f87fe320551": { - "name": "github.mergePR#1", - "ordinal": 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 - } - } - }, - "4270aa7d997f": { - "auto-merge": { - "ok": true - }, - "merge": { - "error": "outer refused", - "ok": false - } - }, - "44136fa355b3": {}, - "5145e99589f6": { - "name": "github.requestPRReviewers#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" - }, - "5a3a15468816": { - "name": "github.removePRReviewers#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.removePRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" - }, - "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 - } - }, - "63e1f1f535bd": { - "name": "github.mergePR#1", - "ordinal": 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" - } - } - } - }, - "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 - } - }, - "6e912bd10baa": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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 - } - } - } - }, - "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 - } - }, - "85e381ca8727": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "error": "Request failed: github.mergePR", - "ok": false - } - }, - "89a20acf05d3": { - "name": "github.updatePRState#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" - }, - "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 - } - }, - "91638fa7c927": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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 - } - } - } - }, - "948fde384959": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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 - } - } - } - }, - "95b9ec32d195": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "error": "Request failed: github.mergePR", - "ok": false - }, - "request-reviewers": { - "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 - } - }, - "a3521c4ae6b2": { - "name": "github.mergePR#1", - "ordinal": 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 - } - } - }, - "a63eb4f9dc60": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "error": "Unknown method", - "ok": false - } - }, - "a86e3e9d7c2d": { - "name": "github.mergePR#1", - "ordinal": 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 - } - } - }, - "a8f9fcff9ad0": { - "name": "github.mergePR#1", - "ordinal": 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 - } - } - }, - "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 - } - }, - "b6c1dbc0e0d9": { - "name": "github.mergePR#1", - "ordinal": 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" - } - } - } - }, - "ba8617a193f1": { - "name": "github.mergePR#1", - "ordinal": 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 - } - } - } - }, - "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 - } - }, - "c6370f1f6fd1": { - "name": "github.mergePR#1", - "ordinal": 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 - } - } - }, - "c69c2c6cd163": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "error": "Request failed: github.mergePR", - "ok": false - }, - "remove-reviewers": { - "ok": true - }, - "request-reviewers": { - "ok": true - } - }, - "c6cd1f9aeefc": { - "name": "github.mergePR#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"method\":\"squash\"}}" - }, - "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 - } - }, - "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 - } - }, - "e5820e16ca2c": { - "name": "github.rerunPRChecks#1", - "ordinal": 12, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"failedOnly\":true,\"headSha\":\"head-sha-1\"}}" - }, - "e70f88fb717a": { - "name": "github.setPRAutoMerge#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRAutoMerge\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"enabled\":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 - } - }, - "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 - } - }, - "ff463b2bc96b": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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 - } - } - } - } - }, - "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": ["2b56dde57d4f"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "fbc958e4d46e" - }, - "state": "0e14bd119328", - "effects": [] - } - }, - { - "id": "pr-mutation-status.normal:auto-merge", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e" - }, - "state": "217757a427ce", - "effects": [] - } - }, - { - "id": "pr-mutation-status.normal:close", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "053eb7126f9a", - "effects": [] - } - }, - { - "id": "pr-mutation-status.normal:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "258eb619fcbb", - "effects": [] - } - }, - { - "id": "pr-mutation-status.normal:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["3f87fe320551"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "fbc958e4d46e" - }, - "state": "0e14bd119328", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-absent:auto-merge", - "observation": { - "sender": ["3f87fe320551", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e" - }, - "state": "217757a427ce", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-absent:close", - "observation": { - "sender": ["3f87fe320551", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "053eb7126f9a", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-absent:request-reviewers", - "observation": { - "sender": ["3f87fe320551", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "258eb619fcbb", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-absent:remove-reviewers", - "observation": { - "sender": [ - "3f87fe320551", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "3f87fe320551", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["b6c1dbc0e0d9"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "fbc958e4d46e" - }, - "state": "0e14bd119328", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-null:auto-merge", - "observation": { - "sender": ["b6c1dbc0e0d9", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e" - }, - "state": "217757a427ce", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-null:close", - "observation": { - "sender": ["b6c1dbc0e0d9", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "053eb7126f9a", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-null:request-reviewers", - "observation": { - "sender": ["b6c1dbc0e0d9", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "258eb619fcbb", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-null:remove-reviewers", - "observation": { - "sender": [ - "b6c1dbc0e0d9", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "b6c1dbc0e0d9", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["63e1f1f535bd"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "fbc958e4d46e" - }, - "state": "0e14bd119328", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-ok-missing:auto-merge", - "observation": { - "sender": ["63e1f1f535bd", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e" - }, - "state": "217757a427ce", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-ok-missing:close", - "observation": { - "sender": ["63e1f1f535bd", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "053eb7126f9a", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-ok-missing:request-reviewers", - "observation": { - "sender": ["63e1f1f535bd", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "63e1f1f535bd", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "63e1f1f535bd", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["ba8617a193f1"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "9f00dd54ba64" - }, - "state": "377d35168721", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-false-string-error:auto-merge", - "observation": { - "sender": ["ba8617a193f1", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "9f00dd54ba64", - "auto-merge": "fbc958e4d46e" - }, - "state": "5c4f3e6537bc", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-false-string-error:close", - "observation": { - "sender": ["ba8617a193f1", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "9f00dd54ba64", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "266e4fc6cd68", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-false-string-error:request-reviewers", - "observation": { - "sender": ["ba8617a193f1", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "ba8617a193f1", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "ba8617a193f1", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["0a07c3153c89"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "9f00dd54ba64" - }, - "state": "377d35168721", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-false-object-error:auto-merge", - "observation": { - "sender": ["0a07c3153c89", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "9f00dd54ba64", - "auto-merge": "fbc958e4d46e" - }, - "state": "5c4f3e6537bc", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-false-object-error:close", - "observation": { - "sender": ["0a07c3153c89", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "9f00dd54ba64", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "266e4fc6cd68", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-false-object-error:request-reviewers", - "observation": { - "sender": ["0a07c3153c89", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "0a07c3153c89", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "0a07c3153c89", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["a86e3e9d7c2d"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "1b2778bf67a2" - }, - "state": "8d35383c6800", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused:auto-merge", - "observation": { - "sender": ["a86e3e9d7c2d", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "1b2778bf67a2", - "auto-merge": "fbc958e4d46e" - }, - "state": "4270aa7d997f", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused:close", - "observation": { - "sender": ["a86e3e9d7c2d", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "1b2778bf67a2", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "623284ef41db", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused:request-reviewers", - "observation": { - "sender": ["a86e3e9d7c2d", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "1b2778bf67a2", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "c7c48ac3f8d0", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused:remove-reviewers", - "observation": { - "sender": [ - "a86e3e9d7c2d", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "a86e3e9d7c2d", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["a8f9fcff9ad0"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "aa25b877ab14" - }, - "state": "c3a4721a8b9f", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused-no-message:auto-merge", - "observation": { - "sender": ["a8f9fcff9ad0", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "aa25b877ab14", - "auto-merge": "fbc958e4d46e" - }, - "state": "3647a2c38c38", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused-no-message:close", - "observation": { - "sender": ["a8f9fcff9ad0", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "aa25b877ab14", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "85e381ca8727", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused-no-message:request-reviewers", - "observation": { - "sender": ["a8f9fcff9ad0", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "a8f9fcff9ad0", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "a8f9fcff9ad0", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["c6370f1f6fd1"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "fa93ca01f266" - }, - "state": "1223e6f9fcdf", - "effects": [] - } - }, - { - "id": "pr-mutation-status.method-not-found:auto-merge", - "observation": { - "sender": ["c6370f1f6fd1", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fa93ca01f266", - "auto-merge": "fbc958e4d46e" - }, - "state": "71b2f2be4837", - "effects": [] - } - }, - { - "id": "pr-mutation-status.method-not-found:close", - "observation": { - "sender": ["c6370f1f6fd1", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fa93ca01f266", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "a63eb4f9dc60", - "effects": [] - } - }, - { - "id": "pr-mutation-status.method-not-found:request-reviewers", - "observation": { - "sender": ["c6370f1f6fd1", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "c6370f1f6fd1", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "c6370f1f6fd1", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["20a201c8ffc6"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "a197c20578aa" - }, - "state": "b0c30b1cac36", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection:auto-merge", - "observation": { - "sender": ["20a201c8ffc6", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "a197c20578aa", - "auto-merge": "fbc958e4d46e" - }, - "state": "0347a5b67d44", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection:close", - "observation": { - "sender": ["20a201c8ffc6", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "a197c20578aa", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "ee0fb6c4d945", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection:request-reviewers", - "observation": { - "sender": ["20a201c8ffc6", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "a197c20578aa", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "9d1baa17ee73", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection:remove-reviewers", - "observation": { - "sender": [ - "20a201c8ffc6", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "20a201c8ffc6", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["a3521c4ae6b2"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "fb4429083480" - }, - "state": "afb5c5cc70a0", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection-no-message:auto-merge", - "observation": { - "sender": ["a3521c4ae6b2", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fb4429083480", - "auto-merge": "fbc958e4d46e" - }, - "state": "dc17670104ca", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection-no-message:close", - "observation": { - "sender": ["a3521c4ae6b2", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fb4429083480", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "6c4c7536b04b", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection-no-message:request-reviewers", - "observation": { - "sender": ["a3521c4ae6b2", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "a3521c4ae6b2", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "a3521c4ae6b2", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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 deleted file mode 100644 index fa2d259853f..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.removeprreviewers-1.json +++ /dev/null @@ -1,1707 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-mutations", - "family": "github.pr-mutation", - "namedDeltas": [], - "values": { - "0413dc160235": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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 - } - } - }, - "053eb7126f9a": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - } - }, - "0cb4f9a1774d": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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" - } - } - } - }, - "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 - } - }, - "1622125de15a": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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 - } - } - }, - "18da50dff62e": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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 - } - } - }, - "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 - } - }, - "258a38326ad6": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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 - } - } - } - }, - "258eb619fcbb": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "request-reviewers": { - "ok": true - } - }, - "2b56dde57d4f": { - "name": "github.mergePR#1", - "ordinal": 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 - } - } - } - }, - "3e98a51bf209": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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 - } - } - } - }, - "44136fa355b3": {}, - "5145e99589f6": { - "name": "github.requestPRReviewers#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" - }, - "5a3a15468816": { - "name": "github.removePRReviewers#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.removePRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" - }, - "6afd91b27c45": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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 - } - } - } - }, - "6e912bd10baa": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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 - } - } - } - }, - "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 - } - }, - "8634dbe6d0c2": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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 - } - } - }, - "871d492d0bc2": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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 - } - } - }, - "88359e8a639b": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "remove-reviewers": { - "error": "inner refused", - "ok": false - }, - "request-reviewers": { - "ok": true - } - }, - "89a20acf05d3": { - "name": "github.updatePRState#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" - }, - "91638fa7c927": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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 - } - } - } - }, - "948fde384959": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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 - } - } - } - }, - "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 - } - }, - "a527955a3561": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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 - } - } - }, - "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 - } - }, - "bbb832d9d5a0": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "remove-reviewers": { - "error": "", - "ok": false - }, - "request-reviewers": { - "ok": true - }, - "rerun-checks": { - "ok": true - } - }, - "c3a8e861aedd": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "remove-reviewers": { - "error": "Unknown method", - "ok": false - }, - "request-reviewers": { - "ok": 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 - } - }, - "c6cd1f9aeefc": { - "name": "github.mergePR#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"method\":\"squash\"}}" - }, - "d026cfa35ea0": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "remove-reviewers": { - "ok": true - }, - "request-reviewers": { - "ok": true - }, - "rerun-checks": { - "ok": true - } - }, - "d81763f9c4dd": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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" - } - } - } - }, - "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 - } - }, - "e5820e16ca2c": { - "name": "github.rerunPRChecks#1", - "ordinal": 12, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"failedOnly\":true,\"headSha\":\"head-sha-1\"}}" - }, - "e70f88fb717a": { - "name": "github.setPRAutoMerge#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRAutoMerge\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"enabled\":true}}" - }, - "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 - } - }, - "ff463b2bc96b": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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 - } - } - } - } - }, - "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": ["2b56dde57d4f"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "fbc958e4d46e" - }, - "state": "0e14bd119328", - "effects": [] - } - }, - { - "id": "pr-mutation-status.prelude:auto-merge", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e" - }, - "state": "217757a427ce", - "effects": [] - } - }, - { - "id": "pr-mutation-status.prelude:close", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "053eb7126f9a", - "effects": [] - } - }, - { - "id": "pr-mutation-status.prelude:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "258eb619fcbb", - "effects": [] - } - }, - { - "id": "pr-mutation-status.normal:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "18da50dff62e" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "18da50dff62e", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "0cb4f9a1774d" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "0cb4f9a1774d", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "d81763f9c4dd" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "d81763f9c4dd", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "258a38326ad6" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "258a38326ad6", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "6afd91b27c45" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "6afd91b27c45", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "871d492d0bc2" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "871d492d0bc2", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "a527955a3561" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "a527955a3561", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "1622125de15a" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "1622125de15a", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "8634dbe6d0c2" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "8634dbe6d0c2", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "0413dc160235" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "0413dc160235", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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 deleted file mode 100644 index 826c1b369e2..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.requestprreviewers-1.json +++ /dev/null @@ -1,1947 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-mutations", - "family": "github.pr-mutation", - "namedDeltas": [], - "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 - } - }, - "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 - } - }, - "1b9e56862be3": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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" - } - } - } - }, - "217757a427ce": { - "auto-merge": { - "ok": true - }, - "merge": { - "ok": true - } - }, - "258eb619fcbb": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "request-reviewers": { - "ok": true - } - }, - "2b56dde57d4f": { - "name": "github.mergePR#1", - "ordinal": 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 - } - } - } - }, - "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 - } - }, - "3e98a51bf209": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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 - } - } - } - }, - "44136fa355b3": {}, - "47f77d47cba9": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "request-reviewers": { - "error": "Request failed: github.requestPRReviewers", - "ok": false - } - }, - "4b3099b0dea7": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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 - } - } - }, - "5145e99589f6": { - "name": "github.requestPRReviewers#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" - }, - "560d8167eea0": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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 - } - } - }, - "5785572c5419": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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" - } - } - } - }, - "5a3a15468816": { - "name": "github.removePRReviewers#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.removePRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" - }, - "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 - } - }, - "6e912bd10baa": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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 - } - } - } - }, - "7fe722d376fd": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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 - } - } - }, - "89a20acf05d3": { - "name": "github.updatePRState#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" - }, - "8b6e19432a70": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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 - } - } - } - }, - "8ea7fdfbde9e": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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 - } - } - }, - "91638fa7c927": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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 - } - } - } - }, - "948fde384959": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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 - } - } - } - }, - "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 - } - }, - "badf1cd582ac": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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 - } - } - } - }, - "c6cd1f9aeefc": { - "name": "github.mergePR#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"method\":\"squash\"}}" - }, - "cc1c37dac5b7": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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 - } - } - }, - "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 - } - }, - "e3300390b0ea": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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 - } - } - }, - "e5820e16ca2c": { - "name": "github.rerunPRChecks#1", - "ordinal": 12, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"failedOnly\":true,\"headSha\":\"head-sha-1\"}}" - }, - "e70f88fb717a": { - "name": "github.setPRAutoMerge#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRAutoMerge\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"enabled\":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 - } - }, - "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 - } - }, - "ff463b2bc96b": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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 - } - } - } - } - }, - "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": ["2b56dde57d4f"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "fbc958e4d46e" - }, - "state": "0e14bd119328", - "effects": [] - } - }, - { - "id": "pr-mutation-status.prelude:auto-merge", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e" - }, - "state": "217757a427ce", - "effects": [] - } - }, - { - "id": "pr-mutation-status.prelude:close", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "053eb7126f9a", - "effects": [] - } - }, - { - "id": "pr-mutation-status.normal:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "258eb619fcbb", - "effects": [] - } - }, - { - "id": "pr-mutation-status.normal:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "7fe722d376fd"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "258eb619fcbb", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-absent:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "7fe722d376fd", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "7fe722d376fd", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "5785572c5419"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "258eb619fcbb", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-null:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "5785572c5419", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "5785572c5419", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "1b9e56862be3"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "1b9e56862be3", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "1b9e56862be3", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "8b6e19432a70"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "8b6e19432a70", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "8b6e19432a70", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "badf1cd582ac"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "badf1cd582ac", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "badf1cd582ac", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "e3300390b0ea"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "1b2778bf67a2" - }, - "state": "d84d1f87b9ee", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "e3300390b0ea", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "e3300390b0ea", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "560d8167eea0"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "560d8167eea0", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "560d8167eea0", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "4b3099b0dea7"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "4b3099b0dea7", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "4b3099b0dea7", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "8ea7fdfbde9e"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "a197c20578aa" - }, - "state": "31dbe89ee0ae", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "8ea7fdfbde9e", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "8ea7fdfbde9e", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "cc1c37dac5b7"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "cc1c37dac5b7", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "cc1c37dac5b7", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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 deleted file mode 100644 index a88f856db4b..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.rerunprchecks-1.json +++ /dev/null @@ -1,1329 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-mutations", - "family": "github.pr-mutation", - "namedDeltas": [], - "values": { - "053eb7126f9a": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - } - }, - "0e14bd119328": { - "merge": { - "ok": true - } - }, - "127e52cfe2c9": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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 - } - } - }, - "1a595f6dfe90": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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 - } - } - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "1f490ebc92b5": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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 - } - } - }, - "217757a427ce": { - "auto-merge": { - "ok": true - }, - "merge": { - "ok": true - } - }, - "258eb619fcbb": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "request-reviewers": { - "ok": true - } - }, - "2b56dde57d4f": { - "name": "github.mergePR#1", - "ordinal": 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 - } - } - } - }, - "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 - } - }, - "3e98a51bf209": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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 - } - } - } - }, - "420d821938ad": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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 - } - } - }, - "44136fa355b3": {}, - "451ed1b5138d": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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 - } - } - }, - "5145e99589f6": { - "name": "github.requestPRReviewers#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" - }, - "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 - } - }, - "5a3a15468816": { - "name": "github.removePRReviewers#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.removePRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" - }, - "6e912bd10baa": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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 - } - } - } - }, - "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 - } - }, - "89a20acf05d3": { - "name": "github.updatePRState#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" - }, - "8be705a6533e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Request failed: github.rerunPRChecks", - "ok": false - } - }, - "8beb92b45a8f": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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 - } - } - }, - "91638fa7c927": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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 - } - } - } - }, - "948fde384959": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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 - } - } - } - }, - "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 - } - }, - "98972432d7c1": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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" - } - } - } - }, - "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 - } - }, - "aa7c42d78de1": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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 - } - } - } - }, - "c125b9b847ae": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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 - } - } - }, - "c6cd1f9aeefc": { - "name": "github.mergePR#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"method\":\"squash\"}}" - }, - "d026cfa35ea0": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "remove-reviewers": { - "ok": true - }, - "request-reviewers": { - "ok": true - }, - "rerun-checks": { - "ok": true - } - }, - "d750130be52f": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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" - } - } - } - }, - "e5820e16ca2c": { - "name": "github.rerunPRChecks#1", - "ordinal": 12, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"failedOnly\":true,\"headSha\":\"head-sha-1\"}}" - }, - "e6f15a3c2f54": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "remove-reviewers": { - "ok": true - }, - "request-reviewers": { - "ok": true - }, - "rerun-checks": { - "error": "", - "ok": false - } - }, - "e70f88fb717a": { - "name": "github.setPRAutoMerge#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRAutoMerge\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"enabled\":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 - } - }, - "ff463b2bc96b": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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 - } - } - } - } - }, - "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": ["2b56dde57d4f"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "fbc958e4d46e" - }, - "state": "0e14bd119328", - "effects": [] - } - }, - { - "id": "pr-mutation-status.prelude:auto-merge", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e" - }, - "state": "217757a427ce", - "effects": [] - } - }, - { - "id": "pr-mutation-status.prelude:close", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "053eb7126f9a", - "effects": [] - } - }, - { - "id": "pr-mutation-status.prelude:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "258eb619fcbb", - "effects": [] - } - }, - { - "id": "pr-mutation-status.prelude:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "1f490ebc92b5" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "d750130be52f" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "98972432d7c1" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "aa7c42d78de1" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "1a595f6dfe90" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "420d821938ad" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "8beb92b45a8f" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "451ed1b5138d" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "127e52cfe2c9" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "c125b9b847ae" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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 deleted file mode 100644 index a617c8b6f65..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.setprautomerge-1.json +++ /dev/null @@ -1,2343 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-mutations", - "family": "github.pr-mutation", - "namedDeltas": [], - "values": { - "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 - } - }, - "0baa734b671e": { - "auto-merge": { - "error": "Unknown method", - "ok": false - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "request-reviewers": { - "ok": true - } - }, - "0e14bd119328": { - "merge": { - "ok": 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 - } - }, - "2145ec56c996": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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 - } - } - }, - "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 - } - }, - "258eb619fcbb": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "request-reviewers": { - "ok": true - } - }, - "2b56dde57d4f": { - "name": "github.mergePR#1", - "ordinal": 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 - } - } - } - }, - "3ca8ad232738": { - "auto-merge": { - "error": "outer refused", - "ok": false - }, - "merge": { - "ok": true - } - }, - "3e98a51bf209": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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 - } - } - } - }, - "44136fa355b3": {}, - "44f3f7547d26": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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 - } - } - } - }, - "465d085d9d15": { - "auto-merge": { - "error": "inner refused", - "ok": false - }, - "merge": { - "ok": true - } - }, - "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 - } - }, - "5145e99589f6": { - "name": "github.requestPRReviewers#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" - }, - "51d2b05c2ac0": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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 - } - } - } - }, - "5a3a15468816": { - "name": "github.removePRReviewers#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.removePRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" - }, - "6082e4096a0b": { - "auto-merge": { - "error": "inner refused", - "ok": false - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "request-reviewers": { - "ok": true - } - }, - "6e3d0920e5ca": { - "auto-merge": { - "error": "", - "ok": false - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - } - }, - "6e912bd10baa": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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 - } - } - } - }, - "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 - } - }, - "754820d2a0c4": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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 - } - } - }, - "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 - } - }, - "89a20acf05d3": { - "name": "github.updatePRState#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" - }, - "8a7dd651086b": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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 - } - } - }, - "8b5e75aec255": { - "auto-merge": { - "error": "transport failure", - "ok": false - }, - "merge": { - "ok": true - } - }, - "91638fa7c927": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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 - } - } - } - }, - "948fde384959": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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 - } - } - } - }, - "95fbe51013b2": { - "auto-merge": { - "error": "transport failure", - "ok": false - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "request-reviewers": { - "ok": true - } - }, - "98214d85ad50": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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 - } - } - }, - "98a9268b04e2": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "remove-reviewers": { - "ok": true - }, - "request-reviewers": { - "ok": true - } - }, - "98d99c6a2919": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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 - } - } - }, - "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 - } - }, - "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 - } - }, - "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 - } - }, - "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 - } - }, - "c04b65fbc242": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Request failed: github.setPRAutoMerge", - "ok": false - } - }, - "c6cd1f9aeefc": { - "name": "github.mergePR#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"method\":\"squash\"}}" - }, - "cc88259ef631": { - "auto-merge": { - "error": "inner refused", - "ok": false - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - } - }, - "cd9bcd746cb3": { - "auto-merge": { - "error": "Request failed: github.setPRAutoMerge", - "ok": false - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - }, - "request-reviewers": { - "ok": true - } - }, - "cdb9d9d6c938": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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" - } - } - } - }, - "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 - } - }, - "e5820e16ca2c": { - "name": "github.rerunPRChecks#1", - "ordinal": 12, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"failedOnly\":true,\"headSha\":\"head-sha-1\"}}" - }, - "e70f88fb717a": { - "name": "github.setPRAutoMerge#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRAutoMerge\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"enabled\":true}}" - }, - "e869d9382cc2": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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 - } - } - }, - "e8d338ce03f9": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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" - } - } - } - }, - "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 - } - }, - "ff463b2bc96b": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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 - } - } - } - } - }, - "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": ["2b56dde57d4f"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "fbc958e4d46e" - }, - "state": "0e14bd119328", - "effects": [] - } - }, - { - "id": "pr-mutation-status.normal:auto-merge", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e" - }, - "state": "217757a427ce", - "effects": [] - } - }, - { - "id": "pr-mutation-status.normal:close", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "053eb7126f9a", - "effects": [] - } - }, - { - "id": "pr-mutation-status.normal:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "258eb619fcbb", - "effects": [] - } - }, - { - "id": "pr-mutation-status.normal:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "98d99c6a2919"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e" - }, - "state": "217757a427ce", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-absent:close", - "observation": { - "sender": ["2b56dde57d4f", "98d99c6a2919", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "053eb7126f9a", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-absent:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "98d99c6a2919", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "258eb619fcbb", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-absent:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "98d99c6a2919", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "98d99c6a2919", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "e8d338ce03f9"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e" - }, - "state": "217757a427ce", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-null:close", - "observation": { - "sender": ["2b56dde57d4f", "e8d338ce03f9", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "053eb7126f9a", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-null:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "e8d338ce03f9", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "258eb619fcbb", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-null:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "e8d338ce03f9", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "e8d338ce03f9", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "cdb9d9d6c938"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e" - }, - "state": "217757a427ce", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-ok-missing:close", - "observation": { - "sender": ["2b56dde57d4f", "cdb9d9d6c938", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "053eb7126f9a", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-ok-missing:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "cdb9d9d6c938", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "cdb9d9d6c938", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "cdb9d9d6c938", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "51d2b05c2ac0"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "9f00dd54ba64" - }, - "state": "465d085d9d15", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-false-string-error:close", - "observation": { - "sender": ["2b56dde57d4f", "51d2b05c2ac0", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "9f00dd54ba64", - "close": "fbc958e4d46e" - }, - "state": "cc88259ef631", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-false-string-error:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "51d2b05c2ac0", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "51d2b05c2ac0", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "51d2b05c2ac0", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "44f3f7547d26"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "9f00dd54ba64" - }, - "state": "465d085d9d15", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-false-object-error:close", - "observation": { - "sender": ["2b56dde57d4f", "44f3f7547d26", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "9f00dd54ba64", - "close": "fbc958e4d46e" - }, - "state": "cc88259ef631", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-false-object-error:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "44f3f7547d26", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "44f3f7547d26", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "44f3f7547d26", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "8a7dd651086b"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "1b2778bf67a2" - }, - "state": "3ca8ad232738", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused:close", - "observation": { - "sender": ["2b56dde57d4f", "8a7dd651086b", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "1b2778bf67a2", - "close": "fbc958e4d46e" - }, - "state": "234677ea4076", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "8a7dd651086b", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "1b2778bf67a2", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "b3146e73e9ae", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "8a7dd651086b", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "8a7dd651086b", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "754820d2a0c4"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "c04b65fbc242" - }, - "state": "f4f598b269ab", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused-no-message:close", - "observation": { - "sender": ["2b56dde57d4f", "754820d2a0c4", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "c04b65fbc242", - "close": "fbc958e4d46e" - }, - "state": "7d8c685821f8", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused-no-message:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "754820d2a0c4", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "754820d2a0c4", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "754820d2a0c4", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "e869d9382cc2"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fa93ca01f266" - }, - "state": "742cb6a23c64", - "effects": [] - } - }, - { - "id": "pr-mutation-status.method-not-found:close", - "observation": { - "sender": ["2b56dde57d4f", "e869d9382cc2", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fa93ca01f266", - "close": "fbc958e4d46e" - }, - "state": "b6adb5401ec8", - "effects": [] - } - }, - { - "id": "pr-mutation-status.method-not-found:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "e869d9382cc2", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "e869d9382cc2", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "e869d9382cc2", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "98214d85ad50"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "a197c20578aa" - }, - "state": "8b5e75aec255", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection:close", - "observation": { - "sender": ["2b56dde57d4f", "98214d85ad50", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "a197c20578aa", - "close": "fbc958e4d46e" - }, - "state": "789f74a1d7d1", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "98214d85ad50", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "a197c20578aa", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "95fbe51013b2", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "98214d85ad50", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "98214d85ad50", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "2145ec56c996"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fb4429083480" - }, - "state": "4c389ddb7f74", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection-no-message:close", - "observation": { - "sender": ["2b56dde57d4f", "2145ec56c996", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fb4429083480", - "close": "fbc958e4d46e" - }, - "state": "6e3d0920e5ca", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection-no-message:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "2145ec56c996", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "2145ec56c996", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "2145ec56c996", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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 deleted file mode 100644 index 72e74129965..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-mutation-github.updateprstate-1.json +++ /dev/null @@ -1,2179 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-mutations", - "family": "github.pr-mutation", - "namedDeltas": [], - "values": { - "04c9f7782b94": { - "auto-merge": { - "ok": true - }, - "close": { - "error": "Unknown method", - "ok": false - }, - "merge": { - "ok": true - }, - "remove-reviewers": { - "ok": true - }, - "request-reviewers": { - "ok": true - } - }, - "053eb7126f9a": { - "auto-merge": { - "ok": true - }, - "close": { - "ok": true - }, - "merge": { - "ok": true - } - }, - "080376e913d5": { - "auto-merge": { - "ok": true - }, - "close": { - "error": "transport failure", - "ok": false - }, - "merge": { - "ok": true - } - }, - "0e14bd119328": { - "merge": { - "ok": true - } - }, - "0ec0baabc387": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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 - } - } - }, - "17a7e0adbee0": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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 - } - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "217757a427ce": { - "auto-merge": { - "ok": true - }, - "merge": { - "ok": true - } - }, - "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 - } - }, - "2b16c7ae459d": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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" - } - } - } - }, - "2b56dde57d4f": { - "name": "github.mergePR#1", - "ordinal": 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 - } - } - } - }, - "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 - } - }, - "3e98a51bf209": { - "name": "github.setPRAutoMerge#1", - "ordinal": 3, - "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 - } - } - } - }, - "43416cb9212d": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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 - } - } - } - }, - "44136fa355b3": {}, - "4baceb4ce2c0": { - "auto-merge": { - "ok": true - }, - "close": { - "error": "outer refused", - "ok": false - }, - "merge": { - "ok": true - }, - "request-reviewers": { - "ok": true - } - }, - "5145e99589f6": { - "name": "github.requestPRReviewers#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" - }, - "561662403114": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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 - } - } - }, - "5a3a15468816": { - "name": "github.removePRReviewers#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.removePRReviewers\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"reviewers\":[\"octocat\"]}}" - }, - "5b8293e17f49": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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 - } - } - } - }, - "647e92b986f1": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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 - } - } - }, - "67cefc1991f7": { - "auto-merge": { - "ok": true - }, - "close": { - "error": "Unknown method", - "ok": false - }, - "merge": { - "ok": true - } - }, - "691db2e22430": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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" - } - } - } - }, - "6e912bd10baa": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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 - } - } - } - }, - "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 - } - }, - "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 - } - }, - "89a20acf05d3": { - "name": "github.updatePRState#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"updates\":{\"state\":\"closed\"}}}" - }, - "905485b38db4": { - "auto-merge": { - "ok": true - }, - "close": { - "error": "Request failed: github.updatePRState", - "ok": false - }, - "merge": { - "ok": true - }, - "remove-reviewers": { - "ok": true - }, - "request-reviewers": { - "ok": true - } - }, - "91638fa7c927": { - "name": "github.rerunPRChecks#1", - "ordinal": 11, - "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 - } - } - } - }, - "948fde384959": { - "name": "github.requestPRReviewers#1", - "ordinal": 7, - "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 - } - } - } - }, - "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 - } - }, - "b4c9876a4c28": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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 - } - } - }, - "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 - } - }, - "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 - } - }, - "c6cd1f9aeefc": { - "name": "github.mergePR#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"method\":\"squash\"}}" - }, - "c7e27ac39a7f": { - "auto-merge": { - "ok": true - }, - "close": { - "error": "", - "ok": false - }, - "merge": { - "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 - } - }, - "d8dbfd753a96": { - "name": "github.updatePRState#1", - "ordinal": 5, - "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 - } - } - }, - "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 - } - }, - "e5820e16ca2c": { - "name": "github.rerunPRChecks#1", - "ordinal": 12, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"failedOnly\":true,\"headSha\":\"head-sha-1\"}}" - }, - "e70f88fb717a": { - "name": "github.setPRAutoMerge#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRAutoMerge\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"enabled\":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 - } - }, - "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 - } - }, - "ff463b2bc96b": { - "name": "github.removePRReviewers#1", - "ordinal": 9, - "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 - } - } - } - } - }, - "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": ["2b56dde57d4f"], - "payloads": ["c6cd1f9aeefc"], - "settlements": { - "merge": "fbc958e4d46e" - }, - "state": "0e14bd119328", - "effects": [] - } - }, - { - "id": "pr-mutation-status.prelude:auto-merge", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e" - }, - "state": "217757a427ce", - "effects": [] - } - }, - { - "id": "pr-mutation-status.normal:close", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "053eb7126f9a", - "effects": [] - } - }, - { - "id": "pr-mutation-status.normal:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "6e912bd10baa", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "258eb619fcbb", - "effects": [] - } - }, - { - "id": "pr-mutation-status.normal:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "6e912bd10baa", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "d8dbfd753a96"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "053eb7126f9a", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-absent:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "d8dbfd753a96", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "258eb619fcbb", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-absent:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "3e98a51bf209", - "d8dbfd753a96", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "d8dbfd753a96", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "2b16c7ae459d"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "053eb7126f9a", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-null:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "2b16c7ae459d", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e", - "request-reviewers": "fbc958e4d46e" - }, - "state": "258eb619fcbb", - "effects": [] - } - }, - { - "id": "pr-mutation-status.result-null:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "3e98a51bf209", - "2b16c7ae459d", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "2b16c7ae459d", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "691db2e22430"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fbc958e4d46e" - }, - "state": "053eb7126f9a", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-ok-missing:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "691db2e22430", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "691db2e22430", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "691db2e22430", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "43416cb9212d"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "9f00dd54ba64" - }, - "state": "7949e0e647b9", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-false-string-error:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "43416cb9212d", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "43416cb9212d", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "43416cb9212d", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "5b8293e17f49"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "9f00dd54ba64" - }, - "state": "7949e0e647b9", - "effects": [] - } - }, - { - "id": "pr-mutation-status.inner-false-object-error:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "5b8293e17f49", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "5b8293e17f49", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "5b8293e17f49", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "561662403114"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "1b2778bf67a2" - }, - "state": "d2d3a89f6b7b", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "561662403114", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "1b2778bf67a2", - "request-reviewers": "fbc958e4d46e" - }, - "state": "4baceb4ce2c0", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "3e98a51bf209", - "561662403114", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "561662403114", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "17a7e0adbee0"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "dbc311eea885" - }, - "state": "7a01d063dd6b", - "effects": [] - } - }, - { - "id": "pr-mutation-status.outer-refused-no-message:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "17a7e0adbee0", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "17a7e0adbee0", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "17a7e0adbee0", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "0ec0baabc387"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fa93ca01f266" - }, - "state": "67cefc1991f7", - "effects": [] - } - }, - { - "id": "pr-mutation-status.method-not-found:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "0ec0baabc387", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "0ec0baabc387", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "0ec0baabc387", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "647e92b986f1"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "a197c20578aa" - }, - "state": "080376e913d5", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "647e92b986f1", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "a197c20578aa", - "request-reviewers": "fbc958e4d46e" - }, - "state": "9dbcacd7285f", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection:remove-reviewers", - "observation": { - "sender": [ - "2b56dde57d4f", - "3e98a51bf209", - "647e92b986f1", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "647e92b986f1", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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": ["2b56dde57d4f", "3e98a51bf209", "b4c9876a4c28"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3"], - "settlements": { - "merge": "fbc958e4d46e", - "auto-merge": "fbc958e4d46e", - "close": "fb4429083480" - }, - "state": "c7e27ac39a7f", - "effects": [] - } - }, - { - "id": "pr-mutation-status.transport-rejection-no-message:request-reviewers", - "observation": { - "sender": ["2b56dde57d4f", "3e98a51bf209", "b4c9876a4c28", "948fde384959"], - "payloads": ["c6cd1f9aeefc", "e70f88fb717a", "89a20acf05d3", "5145e99589f6"], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "b4c9876a4c28", - "948fde384959", - "ff463b2bc96b" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816" - ], - "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": [ - "2b56dde57d4f", - "3e98a51bf209", - "b4c9876a4c28", - "948fde384959", - "ff463b2bc96b", - "91638fa7c927" - ], - "payloads": [ - "c6cd1f9aeefc", - "e70f88fb717a", - "89a20acf05d3", - "5145e99589f6", - "5a3a15468816", - "e5820e16ca2c" - ], - "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 deleted file mode 100644 index 15ae1d5c14d..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.listassignableusers-1.json +++ /dev/null @@ -1,3854 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-reads", - "family": "github.pr-read", - "namedDeltas": [], - "values": { - "026ad16c841b": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "04facf3efe16": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "0644012ff2a3": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "0a9f2ff19df4": { - "name": "github.workItemDetails#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "0c83b4de61f4": { - "name": "reply-salvage", - "ordinal": 17, - "value": { - "droppedCount": 1, - "droppedPaths": ["0.avatarUrl"], - "method": "github.listAssignableUsers", - "operation": "github.pr-assignable-users", - "variant": "pr-assignable-users" - } - }, - "1554c8f6753b": { - "name": "github.prForBranch#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":null,\"currentHeadOid\":null}}" - }, - "191e3c96ad53": { - "name": "github.repoSlug#1", - "ordinal": 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" - } - } - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "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" - } - } - } - }, - "1f5765918736": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" - }, - "2709bde96386": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "2bd2eed4f11a": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-8", - "ok": false - } - } - }, - "3d3e04f5c1cb": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - } - }, - "41113a109089": { - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "4399668c4b0f": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "44136fa355b3": {}, - "471a75cee137": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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" - } - } - } - } - }, - "4bf8f27dd319": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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" - } - } - } - }, - "52504eafec78": { - "name": "github.prChecks#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "53bcb749e0ed": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "5499b78c4d90": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "57f315a495e5": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "5b33c8cfd938": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "60028dbfcbcc": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "6a3f611aad80": { - "name": "github.prCheckDetails#1", - "ordinal": 12, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" - }, - "72b695c452ea": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Request failed: github.listAssignableUsers", - "ok": false - } - }, - "8d6aae0ddf1f": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-8", - "ok": false - } - } - }, - "903f6b58b0e3": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "97a870d3dc4e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "The host sent a reply this app could not read (github.listAssignableUsers)", - "ok": false - } - }, - "981818d2ef81": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "9a87ba2ee54f": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "9bb9d9b8c502": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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 - } - }, - "a20f0d944ba5": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "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" - } - } - } - } - }, - "a3e588709bde": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "a74a523ae16e": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "a93bcc7122e8": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": [ - { - "avatarUrl": "", - "login": "octocat", - "name": "Octo Cat" - } - ] - } - }, - "ac36f84ad850": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-8", - "ok": false - } - } - }, - "cdbefce64e00": { - "name": "hostedReview.forBranch#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" - }, - "d01444e13d4c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - } - }, - "d036e2bdda12": { - "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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "d34a8735c5dd": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true - } - } - }, - "d71579b4a4d5": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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" - } - } - }, - "df34e36b0fb7": { - "name": "github.listAssignableUsers#1", - "ordinal": 16, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\",\"ownerRepo\":{\"owner\":\"fork-owner\",\"repo\":\"fork-repo\",\"host\":\"github.enterprise.test\"}}}" - }, - "e10925fa98de": { - "name": "status.get#1", - "ordinal": 14, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "e5ad5bb8a2aa": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "e97a125cdb88": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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" - } - } - } - }, - "ee7b1398a949": { - "assignable": { - "error": "The host sent a reply this app could not read (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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "f79c91454bac": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": "Octo Cat" - } - ] - } - } - }, - "fa4bf991415d": { - "name": "github.prChecks#1", - "ordinal": 9, - "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" - } - ] - } - } - }, - "fa93ca01f266": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Unknown method", - "ok": false - } - }, - "fb4429083480": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "", - "ok": false - } - }, - "fbd14bf1a648": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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": ["191e3c96ad53"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "d89e7b8ce2a0" - }, - "state": "41113a109089", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3" - }, - "state": "9a87ba2ee54f", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "53bcb749e0ed", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "a3e588709bde", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "026ad16c841b", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "2709bde96386", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "9bb9d9b8c502", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.result-absent:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "d34a8735c5dd" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "97a870d3dc4e" - }, - "state": "ee7b1398a949", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "e5ad5bb8a2aa" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "97a870d3dc4e" - }, - "state": "ee7b1398a949", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "57f315a495e5" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "97a870d3dc4e" - }, - "state": "ee7b1398a949", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "4399668c4b0f" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "97a870d3dc4e" - }, - "state": "ee7b1398a949", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "a74a523ae16e" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "97a870d3dc4e" - }, - "state": "ee7b1398a949", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "8d6aae0ddf1f" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "1b2778bf67a2" - }, - "state": "60028dbfcbcc", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "2bd2eed4f11a" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "72b695c452ea" - }, - "state": "fbd14bf1a648", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "ac36f84ad850" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "fa93ca01f266" - }, - "state": "d71579b4a4d5", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "04facf3efe16" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a197c20578aa" - }, - "state": "903f6b58b0e3", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "5499b78c4d90" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "fb4429083480" - }, - "state": "981818d2ef81", - "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 deleted file mode 100644 index 49909f1de11..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.prcheckdetails-1.json +++ /dev/null @@ -1,5407 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-reads", - "family": "github.pr-read", - "namedDeltas": [], - "values": { - "00d08fd022db": { - "check-details": { - "error": "The host sent a reply this app could not read (github.prCheckDetails)", - "ok": false - }, - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "026ad16c841b": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "0644012ff2a3": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "0a9f2ff19df4": { - "name": "github.workItemDetails#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "0c83b4de61f4": { - "name": "reply-salvage", - "ordinal": 17, - "value": { - "droppedCount": 1, - "droppedPaths": ["0.avatarUrl"], - "method": "github.listAssignableUsers", - "operation": "github.pr-assignable-users", - "variant": "pr-assignable-users" - } - }, - "0e96c789f931": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "10b0a575e1e7": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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 - } - } - }, - "151ae215f001": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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 - } - } - }, - "1554c8f6753b": { - "name": "github.prForBranch#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":null,\"currentHeadOid\":null}}" - }, - "191e3c96ad53": { - "name": "github.repoSlug#1", - "ordinal": 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" - } - } - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "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" - } - } - } - }, - "1e9fd5847fa9": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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 - } - } - }, - "1f5765918736": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" - }, - "2503434de337": { - "check-details": { - "error": "", - "ok": false - }, - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "2709bde96386": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "30db3899c409": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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 - } - } - }, - "3d3e04f5c1cb": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - } - }, - "41113a109089": { - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "44136fa355b3": {}, - "471a75cee137": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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" - } - } - } - } - }, - "4bf8f27dd319": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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" - } - } - } - }, - "52504eafec78": { - "name": "github.prChecks#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "53bcb749e0ed": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "5b33c8cfd938": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "64f833b5c1da": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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 - } - } - }, - "67bb6e1df8fd": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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" - } - } - } - }, - "6a3f611aad80": { - "name": "github.prCheckDetails#1", - "ordinal": 12, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" - }, - "6fc3bb143b71": { - "check-details": { - "ok": true, - "result": { - "$rpc": "null" - } - }, - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "70b3fc7e42df": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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 - } - } - }, - "7eaab6cbec3f": { - "check-details": { - "error": "Request failed: github.prCheckDetails", - "ok": false - }, - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "801e211ed260": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "85179fc56474": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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" - } - } - }, - "9091748d97f3": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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 - } - } - } - }, - "9a87ba2ee54f": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "9bb9d9b8c502": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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 - } - }, - "a20f0d944ba5": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "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" - } - } - } - } - }, - "a3e588709bde": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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" - } - ] - } - }, - "b86cc24216e6": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "c31215e7aa43": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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 - } - } - } - }, - "c7af53c3d4af": { - "assignable": { - "ok": true, - "result": [ - { - "avatarUrl": "", - "login": "octocat", - "name": "Octo Cat" - } - ] - }, - "check-details": { - "error": "The host sent a reply this app could not read (github.prCheckDetails)", - "ok": false - }, - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "cdbefce64e00": { - "name": "hostedReview.forBranch#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" - }, - "d00f88b54137": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "d01444e13d4c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - } - }, - "d036e2bdda12": { - "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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "d19d917ec590": { - "check-details": { - "error": "outer refused", - "ok": false - }, - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "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" - } - } - }, - "df34e36b0fb7": { - "name": "github.listAssignableUsers#1", - "ordinal": 16, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\",\"ownerRepo\":{\"owner\":\"fork-owner\",\"repo\":\"fork-repo\",\"host\":\"github.enterprise.test\"}}}" - }, - "e10925fa98de": { - "name": "status.get#1", - "ordinal": 14, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "e97a125cdb88": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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" - } - } - } - }, - "efe5aa48a53d": { - "check-details": { - "error": "Unknown method", - "ok": false - }, - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "f135a908a5dd": { - "check-details": { - "error": "transport failure", - "ok": false - }, - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "f165c11a5545": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "The host sent a reply this app could not read (github.prCheckDetails)", - "ok": false - } - }, - "f79c91454bac": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": "Octo Cat" - } - ] - } - } - }, - "fa4bf991415d": { - "name": "github.prChecks#1", - "ordinal": 9, - "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" - } - ] - } - } - }, - "fa6b45dd1f0d": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "fa89bef09972": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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 - } - } - }, - "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": ["191e3c96ad53"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "d89e7b8ce2a0" - }, - "state": "41113a109089", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3" - }, - "state": "9a87ba2ee54f", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "53bcb749e0ed", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "a3e588709bde", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "026ad16c841b", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "2709bde96386", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "9bb9d9b8c502", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.result-absent:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "10b0a575e1e7" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "f165c11a5545" - }, - "state": "00d08fd022db", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "10b0a575e1e7", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "f165c11a5545", - "assignable": "a93bcc7122e8" - }, - "state": "c7af53c3d4af", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.result-null:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "67bb6e1df8fd" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "8a5cb8b66303" - }, - "state": "6fc3bb143b71", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "67bb6e1df8fd", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "8a5cb8b66303", - "assignable": "a93bcc7122e8" - }, - "state": "801e211ed260", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "fa89bef09972" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "8a5cb8b66303" - }, - "state": "6fc3bb143b71", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "fa89bef09972", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "8a5cb8b66303", - "assignable": "a93bcc7122e8" - }, - "state": "801e211ed260", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "9091748d97f3" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "8a5cb8b66303" - }, - "state": "6fc3bb143b71", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "9091748d97f3", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "8a5cb8b66303", - "assignable": "a93bcc7122e8" - }, - "state": "801e211ed260", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "c31215e7aa43" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "8a5cb8b66303" - }, - "state": "6fc3bb143b71", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "c31215e7aa43", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "8a5cb8b66303", - "assignable": "a93bcc7122e8" - }, - "state": "801e211ed260", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.outer-refused:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "1e9fd5847fa9" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1b2778bf67a2" - }, - "state": "d19d917ec590", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "1e9fd5847fa9", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1b2778bf67a2", - "assignable": "a93bcc7122e8" - }, - "state": "85179fc56474", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "30db3899c409" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "d205bc3bdc6b" - }, - "state": "7eaab6cbec3f", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "30db3899c409", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "d205bc3bdc6b", - "assignable": "a93bcc7122e8" - }, - "state": "fa6b45dd1f0d", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.method-not-found:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "64f833b5c1da" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "fa93ca01f266" - }, - "state": "efe5aa48a53d", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "64f833b5c1da", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "fa93ca01f266", - "assignable": "a93bcc7122e8" - }, - "state": "d00f88b54137", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.transport-rejection:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "70b3fc7e42df" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "a197c20578aa" - }, - "state": "f135a908a5dd", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "70b3fc7e42df", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "a197c20578aa", - "assignable": "a93bcc7122e8" - }, - "state": "b86cc24216e6", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "151ae215f001" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "fb4429083480" - }, - "state": "2503434de337", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "151ae215f001", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "fb4429083480", - "assignable": "a93bcc7122e8" - }, - "state": "0e96c789f931", - "effects": ["0c83b4de61f4"] - } - } - ] - } -} 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 deleted file mode 100644 index 40c771efe49..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.prchecks-1.json +++ /dev/null @@ -1,6356 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-reads", - "family": "github.pr-read", - "namedDeltas": [], - "values": { - "026ad16c841b": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "0644012ff2a3": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "0a9f2ff19df4": { - "name": "github.workItemDetails#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "0c83b4de61f4": { - "name": "reply-salvage", - "ordinal": 17, - "value": { - "droppedCount": 1, - "droppedPaths": ["0.avatarUrl"], - "method": "github.listAssignableUsers", - "operation": "github.pr-assignable-users", - "variant": "pr-assignable-users" - } - }, - "11432df701a9": { - "checks": { - "error": "", - "ok": false - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "1554c8f6753b": { - "name": "github.prForBranch#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":null,\"currentHeadOid\":null}}" - }, - "191e3c96ad53": { - "name": "github.repoSlug#1", - "ordinal": 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" - } - } - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "1b686cde1635": { - "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" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "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" - } - } - } - }, - "1f5765918736": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" - }, - "25b3c7a91f3e": { - "name": "github.prChecks#1", - "ordinal": 9, - "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" - } - } - } - }, - "2709bde96386": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "2b6d7a8dbe0d": { - "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" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "32b5a7c54c77": { - "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" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "3c6b5164cc23": { - "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" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "3d3e04f5c1cb": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - } - }, - "40bf5b2f687f": { - "name": "github.prChecks#1", - "ordinal": 9, - "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 - } - } - }, - "41113a109089": { - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "42539e6b3b48": { - "name": "github.prChecks#1", - "ordinal": 9, - "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" - } - } - } - }, - "44136fa355b3": {}, - "471a75cee137": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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" - } - } - } - } - }, - "474131317dac": { - "checks": { - "error": "Request failed: github.prChecks", - "ok": false - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "4bf8f27dd319": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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" - } - } - } - }, - "4cabc5935a46": { - "checks": { - "error": "The host sent a reply this app could not read (github.prChecks)", - "ok": false - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "4dbd3159ad6f": { - "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": "The host sent a reply this app could not read (github.prChecks)", - "ok": false - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "52504eafec78": { - "name": "github.prChecks#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "53bcb749e0ed": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "5b33c8cfd938": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "5f2ed2e370af": { - "name": "github.prChecks#1", - "ordinal": 9, - "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 - } - } - }, - "60c8dc5664ec": { - "name": "github.prChecks#1", - "ordinal": 9, - "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 - } - } - } - }, - "667e9ccbc173": { - "name": "github.prChecks#1", - "ordinal": 9, - "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 - } - } - }, - "6a3f611aad80": { - "name": "github.prCheckDetails#1", - "ordinal": 12, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" - }, - "6b1fbb7e69bb": { - "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" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "72d7a13c5968": { - "name": "github.prChecks#1", - "ordinal": 9, - "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 - } - } - }, - "7682740f8336": { - "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" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "79b081158784": { - "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" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "7ee3f3470049": { - "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" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "9a87ba2ee54f": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "9bb9d9b8c502": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "9e3c3581d43a": { - "checks": { - "error": "transport failure", - "ok": false - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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 - } - }, - "a20f0d944ba5": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "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" - } - } - } - } - }, - "a3e588709bde": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "a7931768c93d": { - "name": "github.prChecks#1", - "ordinal": 9, - "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 - } - } - }, - "a93bcc7122e8": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": [ - { - "avatarUrl": "", - "login": "octocat", - "name": "Octo Cat" - } - ] - } - }, - "a95adff54799": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "The host sent a reply this app could not read (github.prChecks)", - "ok": false - } - }, - "b0c33981e3c2": { - "name": "github.prChecks#1", - "ordinal": 9, - "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 - } - } - } - }, - "bc087a6b3e98": { - "checks": { - "error": "Unknown method", - "ok": false - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "bc3ddaf7ea3e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Request failed: github.prChecks", - "ok": false - } - }, - "c728bd515116": { - "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" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "cdbefce64e00": { - "name": "hostedReview.forBranch#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" - }, - "d01444e13d4c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - } - }, - "d036e2bdda12": { - "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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "d6256881faa2": { - "checks": { - "error": "outer refused", - "ok": false - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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" - } - } - }, - "ddc70381dc73": { - "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" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "df2145b1a4c0": { - "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": "The host sent a reply this app could not read (github.prChecks)", - "ok": false - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "df34e36b0fb7": { - "name": "github.listAssignableUsers#1", - "ordinal": 16, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\",\"ownerRepo\":{\"owner\":\"fork-owner\",\"repo\":\"fork-repo\",\"host\":\"github.enterprise.test\"}}}" - }, - "e10925fa98de": { - "name": "status.get#1", - "ordinal": 14, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "e97a125cdb88": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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" - } - } - } - }, - "f689187e3d49": { - "name": "github.prChecks#1", - "ordinal": 9, - "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 - } - } - }, - "f79c91454bac": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": "Octo Cat" - } - ] - } - } - }, - "fa4bf991415d": { - "name": "github.prChecks#1", - "ordinal": 9, - "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" - } - ] - } - } - }, - "fa93ca01f266": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Unknown method", - "ok": false - } - }, - "fb4429083480": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "", - "ok": false - } - } - }, - "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": ["191e3c96ad53"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "d89e7b8ce2a0" - }, - "state": "41113a109089", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3" - }, - "state": "9a87ba2ee54f", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "53bcb749e0ed", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "a3e588709bde", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "026ad16c841b", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "2709bde96386", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "9bb9d9b8c502", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.result-absent:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "f689187e3d49" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a95adff54799" - }, - "state": "4cabc5935a46", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "f689187e3d49", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a95adff54799", - "check-details": "1c88fe396b45" - }, - "state": "4dbd3159ad6f", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "f689187e3d49", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a95adff54799", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "df2145b1a4c0", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.result-null:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "42539e6b3b48" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a95adff54799" - }, - "state": "4cabc5935a46", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "42539e6b3b48", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a95adff54799", - "check-details": "1c88fe396b45" - }, - "state": "4dbd3159ad6f", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "42539e6b3b48", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a95adff54799", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "df2145b1a4c0", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "25b3c7a91f3e" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a95adff54799" - }, - "state": "4cabc5935a46", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "25b3c7a91f3e", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a95adff54799", - "check-details": "1c88fe396b45" - }, - "state": "4dbd3159ad6f", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "25b3c7a91f3e", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a95adff54799", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "df2145b1a4c0", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "b0c33981e3c2" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a95adff54799" - }, - "state": "4cabc5935a46", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "b0c33981e3c2", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a95adff54799", - "check-details": "1c88fe396b45" - }, - "state": "4dbd3159ad6f", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "b0c33981e3c2", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a95adff54799", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "df2145b1a4c0", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "60c8dc5664ec" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a95adff54799" - }, - "state": "4cabc5935a46", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "60c8dc5664ec", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a95adff54799", - "check-details": "1c88fe396b45" - }, - "state": "4dbd3159ad6f", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "60c8dc5664ec", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a95adff54799", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "df2145b1a4c0", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.outer-refused:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "40bf5b2f687f" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "1b2778bf67a2" - }, - "state": "d6256881faa2", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "40bf5b2f687f", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "1b2778bf67a2", - "check-details": "1c88fe396b45" - }, - "state": "7682740f8336", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "40bf5b2f687f", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "1b2778bf67a2", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "2b6d7a8dbe0d", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "a7931768c93d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "bc3ddaf7ea3e" - }, - "state": "474131317dac", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "a7931768c93d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "bc3ddaf7ea3e", - "check-details": "1c88fe396b45" - }, - "state": "32b5a7c54c77", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "a7931768c93d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "bc3ddaf7ea3e", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "1b686cde1635", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.method-not-found:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "5f2ed2e370af" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "fa93ca01f266" - }, - "state": "bc087a6b3e98", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "5f2ed2e370af", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "fa93ca01f266", - "check-details": "1c88fe396b45" - }, - "state": "3c6b5164cc23", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "5f2ed2e370af", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "fa93ca01f266", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "79b081158784", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.transport-rejection:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "667e9ccbc173" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a197c20578aa" - }, - "state": "9e3c3581d43a", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "667e9ccbc173", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a197c20578aa", - "check-details": "1c88fe396b45" - }, - "state": "7ee3f3470049", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "667e9ccbc173", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "a197c20578aa", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "6b1fbb7e69bb", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "72d7a13c5968" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "fb4429083480" - }, - "state": "11432df701a9", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "72d7a13c5968", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "fb4429083480", - "check-details": "1c88fe396b45" - }, - "state": "c728bd515116", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "72d7a13c5968", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "fb4429083480", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "ddc70381dc73", - "effects": ["0c83b4de61f4"] - } - } - ] - } -} 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 deleted file mode 100644 index cfb9feb06b2..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.prforbranch-1.json +++ /dev/null @@ -1,7762 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-reads", - "family": "github.pr-read", - "namedDeltas": [], - "values": { - "026ad16c841b": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "0644012ff2a3": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "0a79e2402273": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "0a9f2ff19df4": { - "name": "github.workItemDetails#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "0bd591f1a6ca": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "The host sent a reply this app could not read (github.prForBranch)", - "ok": false - } - }, - "0c83b4de61f4": { - "name": "reply-salvage", - "ordinal": 17, - "value": { - "droppedCount": 1, - "droppedPaths": ["0.avatarUrl"], - "method": "github.listAssignableUsers", - "operation": "github.pr-assignable-users", - "variant": "pr-assignable-users" - } - }, - "0dcd6f74fa8a": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "1554c8f6753b": { - "name": "github.prForBranch#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":null,\"currentHeadOid\":null}}" - }, - "191e3c96ad53": { - "name": "github.repoSlug#1", - "ordinal": 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" - } - } - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "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" - } - } - } - }, - "1f5765918736": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" - }, - "22884bfd9780": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "2709bde96386": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "274c8bad1092": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - }, - "2b4ba6de9ddc": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "2f435daf7ec2": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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": "The host sent a reply this app could not read (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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "37c2478df186": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "3986ee112e07": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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": "The host sent a reply this app could not read (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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "3cb72c4dfc7f": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "3d3e04f5c1cb": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - } - }, - "41113a109089": { - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "44136fa355b3": {}, - "471a75cee137": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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" - } - } - } - } - }, - "4b930a4fc710": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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": "The host sent a reply this app could not read (github.prForBranch)", - "ok": false - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "4bf3e4596db9": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "4bf8f27dd319": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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" - } - } - } - }, - "4f5bd8355c84": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "4f90c80d5158": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "52504eafec78": { - "name": "github.prChecks#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "53bcb749e0ed": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "5b33c8cfd938": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "5c96a4e710a3": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "6192e688c538": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "6a3f611aad80": { - "name": "github.prCheckDetails#1", - "ordinal": 12, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" - }, - "6ba3bf23dc13": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "70bc4578eb31": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "75501a950723": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "7bd0ad6ec6d3": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "8140e1254eea": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "818295fb6f03": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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" - } - } - }, - "905263d5109a": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "9063e985a3f4": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "93a46e23bbd7": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "966cea1307a5": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "96b2db901e7e": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "9a87ba2ee54f": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "9bb9d9b8c502": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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 - } - }, - "a20f0d944ba5": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "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" - } - } - } - } - }, - "a3e588709bde": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "a488dcc5e90d": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "a53bed5e8a95": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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" - } - ] - } - }, - "aba5512e9e06": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "acd5579ba683": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "ae65ca0db583": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "b0cbf2f2f263": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "bc5149895b9a": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "bc9d61499a2c": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "c1d27fb4c728": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "c58d6674f960": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Request failed: github.prForBranch", - "ok": false - } - }, - "cdbefce64e00": { - "name": "hostedReview.forBranch#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" - }, - "ce846f870fe9": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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": "The host sent a reply this app could not read (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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "d001e669ed0c": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "d01444e13d4c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - } - }, - "d036e2bdda12": { - "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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "d43135b1b10a": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "d875b1fa706d": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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": "The host sent a reply this app could not read (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, - "prRepo": { - "$rpc": "undefined" - }, - "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" - } - } - }, - "ddaea4d5a855": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "ddb164005c32": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "df34e36b0fb7": { - "name": "github.listAssignableUsers#1", - "ordinal": 16, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\",\"ownerRepo\":{\"owner\":\"fork-owner\",\"repo\":\"fork-repo\",\"host\":\"github.enterprise.test\"}}}" - }, - "e0e6135dcd40": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "e10925fa98de": { - "name": "status.get#1", - "ordinal": 14, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "e97a125cdb88": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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" - } - } - } - }, - "f67affdd1a85": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "f79c91454bac": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": "Octo Cat" - } - ] - } - } - }, - "f7f28da8d490": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "f822e274c987": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "fa4bf991415d": { - "name": "github.prChecks#1", - "ordinal": 9, - "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" - } - ] - } - } - }, - "fa93ca01f266": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Unknown method", - "ok": false - } - }, - "fb4429083480": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "", - "ok": false - } - } - }, - "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": ["191e3c96ad53"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "d89e7b8ce2a0" - }, - "state": "41113a109089", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3" - }, - "state": "9a87ba2ee54f", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "53bcb749e0ed", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "a3e588709bde", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "026ad16c841b", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "2709bde96386", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "9bb9d9b8c502", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.result-absent:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "4f90c80d5158"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca" - }, - "state": "4b930a4fc710", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "4f90c80d5158", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12" - }, - "state": "ce846f870fe9", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "4f90c80d5158", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "3986ee112e07", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "4f90c80d5158", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "d875b1fa706d", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "4f90c80d5158", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "2f435daf7ec2", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.result-null:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "f7f28da8d490"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "8a5cb8b66303" - }, - "state": "ae65ca0db583", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "f7f28da8d490", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "8a5cb8b66303", - "work-item": "d036e2bdda12" - }, - "state": "f822e274c987", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "f7f28da8d490", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "8a5cb8b66303", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "6ba3bf23dc13", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "f7f28da8d490", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "8a5cb8b66303", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "a488dcc5e90d", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "f7f28da8d490", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "8a5cb8b66303", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "ddaea4d5a855", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "0dcd6f74fa8a"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca" - }, - "state": "4b930a4fc710", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "0dcd6f74fa8a", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12" - }, - "state": "ce846f870fe9", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "0dcd6f74fa8a", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "3986ee112e07", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "0dcd6f74fa8a", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "d875b1fa706d", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "0dcd6f74fa8a", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "2f435daf7ec2", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "22884bfd9780"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca" - }, - "state": "4b930a4fc710", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "22884bfd9780", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12" - }, - "state": "ce846f870fe9", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "22884bfd9780", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "3986ee112e07", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "22884bfd9780", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "d875b1fa706d", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "22884bfd9780", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "2f435daf7ec2", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "acd5579ba683"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca" - }, - "state": "4b930a4fc710", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "acd5579ba683", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12" - }, - "state": "ce846f870fe9", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "acd5579ba683", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "3986ee112e07", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "acd5579ba683", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "d875b1fa706d", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "acd5579ba683", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "0bd591f1a6ca", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "2f435daf7ec2", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.outer-refused:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "4bf3e4596db9"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "1b2778bf67a2" - }, - "state": "4f5bd8355c84", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "4bf3e4596db9", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "1b2778bf67a2", - "work-item": "d036e2bdda12" - }, - "state": "e0e6135dcd40", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "4bf3e4596db9", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "1b2778bf67a2", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "9063e985a3f4", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "4bf3e4596db9", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "1b2778bf67a2", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "966cea1307a5", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "4bf3e4596db9", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "1b2778bf67a2", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "b0cbf2f2f263", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "bc9d61499a2c"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "c58d6674f960" - }, - "state": "8140e1254eea", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "bc9d61499a2c", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "c58d6674f960", - "work-item": "d036e2bdda12" - }, - "state": "5c96a4e710a3", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "bc9d61499a2c", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "c58d6674f960", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "ddb164005c32", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "bc9d61499a2c", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "c58d6674f960", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "d43135b1b10a", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "bc9d61499a2c", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "c58d6674f960", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "6192e688c538", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.method-not-found:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "274c8bad1092"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "fa93ca01f266" - }, - "state": "c1d27fb4c728", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "274c8bad1092", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "fa93ca01f266", - "work-item": "d036e2bdda12" - }, - "state": "a53bed5e8a95", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "274c8bad1092", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "fa93ca01f266", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "905263d5109a", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "274c8bad1092", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "fa93ca01f266", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "70bc4578eb31", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "274c8bad1092", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "fa93ca01f266", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "0a79e2402273", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.transport-rejection:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "aba5512e9e06"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "a197c20578aa" - }, - "state": "f67affdd1a85", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "aba5512e9e06", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "a197c20578aa", - "work-item": "d036e2bdda12" - }, - "state": "75501a950723", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "aba5512e9e06", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "a197c20578aa", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "93a46e23bbd7", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "aba5512e9e06", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "a197c20578aa", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "3cb72c4dfc7f", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "aba5512e9e06", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "a197c20578aa", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "96b2db901e7e", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "7bd0ad6ec6d3"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "fb4429083480" - }, - "state": "bc5149895b9a", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "7bd0ad6ec6d3", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "fb4429083480", - "work-item": "d036e2bdda12" - }, - "state": "818295fb6f03", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "7bd0ad6ec6d3", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "fb4429083480", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "37c2478df186", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "7bd0ad6ec6d3", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "fb4429083480", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "2b4ba6de9ddc", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "7bd0ad6ec6d3", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "fb4429083480", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "d001e669ed0c", - "effects": ["0c83b4de61f4"] - } - } - ] - } -} 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 deleted file mode 100644 index 740543545d5..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.reposlug-1.json +++ /dev/null @@ -1,9652 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-reads", - "family": "github.pr-read", - "namedDeltas": [], - "values": { - "026ad16c841b": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "0644012ff2a3": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "06ebffc32f10": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "0a9f2ff19df4": { - "name": "github.workItemDetails#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "0c120f483012": { - "repo-slug": { - "error": "Unknown method", - "ok": false - } - }, - "0c83b4de61f4": { - "name": "reply-salvage", - "ordinal": 17, - "value": { - "droppedCount": 1, - "droppedPaths": ["0.avatarUrl"], - "method": "github.listAssignableUsers", - "operation": "github.pr-assignable-users", - "variant": "pr-assignable-users" - } - }, - "14b2ed631d3f": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - }, - "14fd2b10cdcf": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "1554c8f6753b": { - "name": "github.prForBranch#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":null,\"currentHeadOid\":null}}" - }, - "16fe2b71c41b": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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 - } - }, - "191e3c96ad53": { - "name": "github.repoSlug#1", - "ordinal": 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" - } - } - } - }, - "197a9b534f1f": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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 - } - }, - "1c6f8f80d0b4": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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 - } - }, - "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" - } - } - } - }, - "1f5765918736": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" - }, - "20c66bbe9811": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - }, - "2709bde96386": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "27fa58cfe693": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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 - } - }, - "2985c2fda955": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "33b3f0d18595": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "33dabcf383f9": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "36ba0b46660b": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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 - } - }, - "3a74f722594b": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "error": "Unknown method", - "ok": false - } - }, - "3bf6392eb84c": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - }, - "3d3e04f5c1cb": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - } - }, - "3d86addf0990": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "3e64f1a9aa05": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "3eb2c7f4b400": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "error": "", - "ok": false - } - }, - "41113a109089": { - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "44136fa355b3": {}, - "452965e64778": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "error": "The host sent a reply this app could not read (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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "471a75cee137": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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" - } - } - } - } - }, - "481b533e35f3": { - "repo-slug": { - "error": "The host sent a reply this app could not read (github.repoSlug)", - "ok": false - } - }, - "4990fec293d4": { - "repo-slug": { - "error": "Request failed: github.repoSlug", - "ok": false - } - }, - "4bf8f27dd319": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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" - } - } - } - }, - "4e1ede59ab3e": { - "repo-slug": { - "error": "", - "ok": false - } - }, - "4e8a726d6e27": { - "repo-slug": { - "error": "transport failure", - "ok": false - } - }, - "4f7bf71c8592": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - } - }, - "503e134a9593": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "error": "Request failed: github.repoSlug", - "ok": false - } - }, - "52504eafec78": { - "name": "github.prChecks#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "53bcb749e0ed": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "5a68e561539b": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "5b33c8cfd938": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "646236a37da2": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "$rpc": "null" - } - } - }, - "6a3f611aad80": { - "name": "github.prCheckDetails#1", - "ordinal": 12, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" - }, - "6eb91c0a7e3b": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - }, - "6fb9e56c5714": { - "name": "github.repoSlug#1", - "ordinal": 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" - } - } - } - }, - "721c7f65c390": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "75a716616b2b": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "error": "The host sent a reply this app could not read (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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "79d267a3733f": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "error": "transport failure", - "ok": false - } - }, - "7b8bf0b1e044": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "8441184cee7b": { - "repo-slug": { - "ok": true, - "result": { - "$rpc": "null" - } - } - }, - "85c7259921a4": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "85e69e379ccd": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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" - } - } - }, - "8b933be86dec": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "8ecae59b7d9e": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "9a87ba2ee54f": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "9bb9d9b8c502": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "9fea1fd5a406": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - } - }, - "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 - } - }, - "a20f0d944ba5": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "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" - } - } - } - } - }, - "a3e588709bde": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "a42a96886cfa": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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" - } - ] - } - }, - "ac56a7194256": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - }, - "afeeae1adbe9": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "b05a9d2937cc": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "b652da32d9d9": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "error": "The host sent a reply this app could not read (github.repoSlug)", - "ok": false - } - }, - "c0e97e2982af": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "c433d7efc10d": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "error": "The host sent a reply this app could not read (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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "cab39e9d7852": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "cdbefce64e00": { - "name": "hostedReview.forBranch#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" - }, - "d01444e13d4c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - } - }, - "d036e2bdda12": { - "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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "d0f8713a37e2": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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 - } - }, - "d425ff733972": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "The host sent a reply this app could not read (github.repoSlug)", - "ok": false - } - }, - "d718c9d89c61": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "d867cebbfeef": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - }, - "d89e7b8ce2a0": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "db2af6c2b13f": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "error": "outer refused", - "ok": false - } - }, - "df34e36b0fb7": { - "name": "github.listAssignableUsers#1", - "ordinal": 16, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\",\"ownerRepo\":{\"owner\":\"fork-owner\",\"repo\":\"fork-repo\",\"host\":\"github.enterprise.test\"}}}" - }, - "e10925fa98de": { - "name": "status.get#1", - "ordinal": 14, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "e190f0419795": { - "repo-slug": { - "error": "outer refused", - "ok": false - } - }, - "e1b4bc875e26": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "e97a125cdb88": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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" - } - } - } - }, - "f09d9baa637b": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "f6b5fd7cd9bb": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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": "The host sent a reply this app could not read (github.repoSlug)", - "ok": false - } - }, - "f79c91454bac": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": "Octo Cat" - } - ] - } - } - }, - "f90b60ae45d4": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "fa4bf991415d": { - "name": "github.prChecks#1", - "ordinal": 9, - "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" - } - ] - } - } - }, - "fa93ca01f266": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Unknown method", - "ok": false - } - }, - "fb4429083480": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "", - "ok": false - } - }, - "fb88f02a5152": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "fd1aea7f387f": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "error": "The host sent a reply this app could not read (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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "fe8e5dec707a": { - "name": "github.repoSlug#1", - "ordinal": 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" - } - } - } - } - }, - "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": ["191e3c96ad53"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "d89e7b8ce2a0" - }, - "state": "41113a109089", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3" - }, - "state": "9a87ba2ee54f", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "53bcb749e0ed", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "a3e588709bde", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "026ad16c841b", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "2709bde96386", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "9bb9d9b8c502", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.result-absent:repo-slug", - "observation": { - "sender": ["6eb91c0a7e3b"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "d425ff733972" - }, - "state": "481b533e35f3", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:hosted-review", - "observation": { - "sender": ["6eb91c0a7e3b", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3" - }, - "state": "f6b5fd7cd9bb", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:pr-for-branch", - "observation": { - "sender": ["6eb91c0a7e3b", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "b652da32d9d9", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:work-item", - "observation": { - "sender": ["6eb91c0a7e3b", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "452965e64778", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:checks", - "observation": { - "sender": [ - "6eb91c0a7e3b", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "c433d7efc10d", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:check-details", - "observation": { - "sender": [ - "6eb91c0a7e3b", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "fd1aea7f387f", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:assignable", - "observation": { - "sender": [ - "6eb91c0a7e3b", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "75a716616b2b", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.result-null:repo-slug", - "observation": { - "sender": ["fe8e5dec707a"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "8a5cb8b66303" - }, - "state": "8441184cee7b", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:hosted-review", - "observation": { - "sender": ["fe8e5dec707a", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "8a5cb8b66303", - "hosted-review": "0644012ff2a3" - }, - "state": "d718c9d89c61", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:pr-for-branch", - "observation": { - "sender": ["fe8e5dec707a", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "8a5cb8b66303", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "646236a37da2", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:work-item", - "observation": { - "sender": ["fe8e5dec707a", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "8a5cb8b66303", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "3d86addf0990", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:checks", - "observation": { - "sender": [ - "fe8e5dec707a", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "8a5cb8b66303", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "33b3f0d18595", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:check-details", - "observation": { - "sender": [ - "fe8e5dec707a", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "8a5cb8b66303", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "cab39e9d7852", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:assignable", - "observation": { - "sender": [ - "fe8e5dec707a", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "8a5cb8b66303", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "197a9b534f1f", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:repo-slug", - "observation": { - "sender": ["6fb9e56c5714"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "d425ff733972" - }, - "state": "481b533e35f3", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:hosted-review", - "observation": { - "sender": ["6fb9e56c5714", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3" - }, - "state": "f6b5fd7cd9bb", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:pr-for-branch", - "observation": { - "sender": ["6fb9e56c5714", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "b652da32d9d9", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:work-item", - "observation": { - "sender": ["6fb9e56c5714", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "452965e64778", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:checks", - "observation": { - "sender": [ - "6fb9e56c5714", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "c433d7efc10d", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:check-details", - "observation": { - "sender": [ - "6fb9e56c5714", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "fd1aea7f387f", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:assignable", - "observation": { - "sender": [ - "6fb9e56c5714", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "75a716616b2b", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:repo-slug", - "observation": { - "sender": ["9fea1fd5a406"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "d425ff733972" - }, - "state": "481b533e35f3", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:hosted-review", - "observation": { - "sender": ["9fea1fd5a406", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3" - }, - "state": "f6b5fd7cd9bb", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:pr-for-branch", - "observation": { - "sender": ["9fea1fd5a406", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "b652da32d9d9", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:work-item", - "observation": { - "sender": ["9fea1fd5a406", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "452965e64778", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:checks", - "observation": { - "sender": [ - "9fea1fd5a406", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "c433d7efc10d", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:check-details", - "observation": { - "sender": [ - "9fea1fd5a406", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "fd1aea7f387f", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:assignable", - "observation": { - "sender": [ - "9fea1fd5a406", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "75a716616b2b", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:repo-slug", - "observation": { - "sender": ["4f7bf71c8592"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "d425ff733972" - }, - "state": "481b533e35f3", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:hosted-review", - "observation": { - "sender": ["4f7bf71c8592", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3" - }, - "state": "f6b5fd7cd9bb", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:pr-for-branch", - "observation": { - "sender": ["4f7bf71c8592", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "b652da32d9d9", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:work-item", - "observation": { - "sender": ["4f7bf71c8592", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "452965e64778", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:checks", - "observation": { - "sender": [ - "4f7bf71c8592", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "c433d7efc10d", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:check-details", - "observation": { - "sender": [ - "4f7bf71c8592", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "fd1aea7f387f", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:assignable", - "observation": { - "sender": [ - "4f7bf71c8592", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d425ff733972", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "75a716616b2b", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.outer-refused:repo-slug", - "observation": { - "sender": ["14b2ed631d3f"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "1b2778bf67a2" - }, - "state": "e190f0419795", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:hosted-review", - "observation": { - "sender": ["14b2ed631d3f", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "1b2778bf67a2", - "hosted-review": "0644012ff2a3" - }, - "state": "16fe2b71c41b", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:pr-for-branch", - "observation": { - "sender": ["14b2ed631d3f", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "1b2778bf67a2", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "db2af6c2b13f", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:work-item", - "observation": { - "sender": ["14b2ed631d3f", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "1b2778bf67a2", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "afeeae1adbe9", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:checks", - "observation": { - "sender": [ - "14b2ed631d3f", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "1b2778bf67a2", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "14fd2b10cdcf", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:check-details", - "observation": { - "sender": [ - "14b2ed631d3f", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "1b2778bf67a2", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "f09d9baa637b", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:assignable", - "observation": { - "sender": [ - "14b2ed631d3f", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "1b2778bf67a2", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "85e69e379ccd", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:repo-slug", - "observation": { - "sender": ["3bf6392eb84c"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "a17efc7718c7" - }, - "state": "4990fec293d4", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:hosted-review", - "observation": { - "sender": ["3bf6392eb84c", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "a17efc7718c7", - "hosted-review": "0644012ff2a3" - }, - "state": "27fa58cfe693", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:pr-for-branch", - "observation": { - "sender": ["3bf6392eb84c", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "a17efc7718c7", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "503e134a9593", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:work-item", - "observation": { - "sender": ["3bf6392eb84c", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "a17efc7718c7", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "a42a96886cfa", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:checks", - "observation": { - "sender": [ - "3bf6392eb84c", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "a17efc7718c7", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "e1b4bc875e26", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:check-details", - "observation": { - "sender": [ - "3bf6392eb84c", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "a17efc7718c7", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "7b8bf0b1e044", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:assignable", - "observation": { - "sender": [ - "3bf6392eb84c", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "a17efc7718c7", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "8ecae59b7d9e", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.method-not-found:repo-slug", - "observation": { - "sender": ["d867cebbfeef"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "fa93ca01f266" - }, - "state": "0c120f483012", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:hosted-review", - "observation": { - "sender": ["d867cebbfeef", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "fa93ca01f266", - "hosted-review": "0644012ff2a3" - }, - "state": "1c6f8f80d0b4", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:pr-for-branch", - "observation": { - "sender": ["d867cebbfeef", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "fa93ca01f266", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "3a74f722594b", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:work-item", - "observation": { - "sender": ["d867cebbfeef", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "fa93ca01f266", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "3e64f1a9aa05", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:checks", - "observation": { - "sender": [ - "d867cebbfeef", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "fa93ca01f266", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "fb88f02a5152", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:check-details", - "observation": { - "sender": [ - "d867cebbfeef", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "fa93ca01f266", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "5a68e561539b", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:assignable", - "observation": { - "sender": [ - "d867cebbfeef", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "fa93ca01f266", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "2985c2fda955", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.transport-rejection:repo-slug", - "observation": { - "sender": ["20c66bbe9811"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "a197c20578aa" - }, - "state": "4e8a726d6e27", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:hosted-review", - "observation": { - "sender": ["20c66bbe9811", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "a197c20578aa", - "hosted-review": "0644012ff2a3" - }, - "state": "36ba0b46660b", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:pr-for-branch", - "observation": { - "sender": ["20c66bbe9811", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "a197c20578aa", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "79d267a3733f", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:work-item", - "observation": { - "sender": ["20c66bbe9811", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "a197c20578aa", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "721c7f65c390", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:checks", - "observation": { - "sender": [ - "20c66bbe9811", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "a197c20578aa", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "b05a9d2937cc", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:check-details", - "observation": { - "sender": [ - "20c66bbe9811", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "a197c20578aa", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "85c7259921a4", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:assignable", - "observation": { - "sender": [ - "20c66bbe9811", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "a197c20578aa", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "c0e97e2982af", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:repo-slug", - "observation": { - "sender": ["ac56a7194256"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "fb4429083480" - }, - "state": "4e1ede59ab3e", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:hosted-review", - "observation": { - "sender": ["ac56a7194256", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "fb4429083480", - "hosted-review": "0644012ff2a3" - }, - "state": "d0f8713a37e2", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:pr-for-branch", - "observation": { - "sender": ["ac56a7194256", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "fb4429083480", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "3eb2c7f4b400", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:work-item", - "observation": { - "sender": ["ac56a7194256", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "fb4429083480", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "06ebffc32f10", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:checks", - "observation": { - "sender": [ - "ac56a7194256", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "fb4429083480", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "33dabcf383f9", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:check-details", - "observation": { - "sender": [ - "ac56a7194256", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "fb4429083480", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "8b933be86dec", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:assignable", - "observation": { - "sender": [ - "ac56a7194256", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "fb4429083480", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "f90b60ae45d4", - "effects": ["0c83b4de61f4"] - } - } - ] - } -} 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 deleted file mode 100644 index 717b1d1303d..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-read-github.workitemdetails-1.json +++ /dev/null @@ -1,6805 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-reads", - "family": "github.pr-read", - "namedDeltas": [], - "values": { - "026ad16c841b": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "0644012ff2a3": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "08751e553e5a": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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" - } - } - }, - "09191350a1f2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Request failed: github.workItemDetails", - "ok": false - } - }, - "0a288d333483": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "0a9f2ff19df4": { - "name": "github.workItemDetails#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "0c83b4de61f4": { - "name": "reply-salvage", - "ordinal": 17, - "value": { - "droppedCount": 1, - "droppedPaths": ["0.avatarUrl"], - "method": "github.listAssignableUsers", - "operation": "github.pr-assignable-users", - "variant": "pr-assignable-users" - } - }, - "14a031d0d0f6": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "1554c8f6753b": { - "name": "github.prForBranch#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":null,\"currentHeadOid\":null}}" - }, - "191e3c96ad53": { - "name": "github.repoSlug#1", - "ordinal": 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" - } - } - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "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" - } - } - } - }, - "1f5765918736": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" - }, - "21b31d76c1b1": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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 - } - } - } - }, - "2709bde96386": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "3d3e04f5c1cb": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - } - }, - "4063587eb861": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "41113a109089": { - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "44136fa355b3": {}, - "471a75cee137": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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" - } - } - } - } - }, - "4bf8f27dd319": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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" - } - } - } - }, - "4fe6b339ccfe": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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 - } - } - }, - "52504eafec78": { - "name": "github.prChecks#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "53bcb749e0ed": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "548caab5ab14": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "The host sent a reply this app could not read (github.workItemDetails)", - "ok": false - } - }, - "57e6f5250a13": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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": "The host sent a reply this app could not read (github.workItemDetails)", - "ok": false - } - }, - "5b33c8cfd938": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "5c87776f4015": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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 - } - } - }, - "6057227f6e42": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "679e4f616eaa": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "6a04c2045df5": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "6a3f611aad80": { - "name": "github.prCheckDetails#1", - "ordinal": 12, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" - }, - "70b1b0cf0862": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "717e0f081bf4": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "7a8041f2d057": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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" - } - } - } - }, - "7cbeafcf08d8": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "86ca0c1303b0": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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" - } - } - }, - "8af2b2b64a02": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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" - } - } - } - }, - "8d0d66ceab62": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "8fc1bc86223d": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "99818b8cc0ec": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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" - } - } - }, - "9a87ba2ee54f": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "9af24649d9c9": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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" - } - } - }, - "9bb9d9b8c502": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "a1109a980be3": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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 - } - } - }, - "a18d899ef98a": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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 - } - } - }, - "a197c20578aa": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "transport failure", - "ok": false - } - }, - "a20f0d944ba5": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "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" - } - } - } - } - }, - "a3e588709bde": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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" - } - ] - } - }, - "adaeeac11b0f": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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 - } - } - }, - "b5cc27571807": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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": "The host sent a reply this app could not read (github.workItemDetails)", - "ok": false - } - }, - "b9613928b178": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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 - } - } - } - }, - "bd5fb366dd94": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "bed53d1ce54c": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "bfc86b630a1a": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "c0b26dd3b966": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "c173bc3b19af": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "cdbefce64e00": { - "name": "hostedReview.forBranch#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" - }, - "d01444e13d4c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - } - }, - "d036e2bdda12": { - "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, - "prRepo": { - "$rpc": "undefined" - }, - "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" - } - } - }, - "db5ff3d9168a": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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" - } - } - }, - "dedec8fbd6c4": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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 - } - } - }, - "df34e36b0fb7": { - "name": "github.listAssignableUsers#1", - "ordinal": 16, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\",\"ownerRepo\":{\"owner\":\"fork-owner\",\"repo\":\"fork-repo\",\"host\":\"github.enterprise.test\"}}}" - }, - "e10925fa98de": { - "name": "status.get#1", - "ordinal": 14, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "e35c5effcf2b": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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": "The host sent a reply this app could not read (github.workItemDetails)", - "ok": false - } - }, - "e97a125cdb88": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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" - } - } - } - }, - "ed24dc6bcab9": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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": "The host sent a reply this app could not read (github.workItemDetails)", - "ok": false - } - }, - "f3bd25dcae18": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "f64543693d7b": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "f79c91454bac": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": "Octo Cat" - } - ] - } - } - }, - "f91deee9103a": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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 - } - }, - "fa4bf991415d": { - "name": "github.prChecks#1", - "ordinal": 9, - "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" - } - ] - } - } - }, - "fa93ca01f266": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Unknown method", - "ok": false - } - }, - "fb4429083480": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "", - "ok": false - } - } - }, - "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": ["191e3c96ad53"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "d89e7b8ce2a0" - }, - "state": "41113a109089", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3" - }, - "state": "9a87ba2ee54f", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "53bcb749e0ed", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "a3e588709bde", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "026ad16c841b", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "2709bde96386", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "9bb9d9b8c502", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.result-absent:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "a1109a980be3"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14" - }, - "state": "57e6f5250a13", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "a1109a980be3", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14", - "checks": "3d3e04f5c1cb" - }, - "state": "ed24dc6bcab9", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "a1109a980be3", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "b5cc27571807", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "a1109a980be3", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "e35c5effcf2b", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.result-null:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "8af2b2b64a02"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "8a5cb8b66303" - }, - "state": "db5ff3d9168a", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "8af2b2b64a02", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "8a5cb8b66303", - "checks": "3d3e04f5c1cb" - }, - "state": "9af24649d9c9", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "8af2b2b64a02", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "8a5cb8b66303", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "99818b8cc0ec", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "8af2b2b64a02", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "8a5cb8b66303", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "08751e553e5a", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "7a8041f2d057"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14" - }, - "state": "57e6f5250a13", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "7a8041f2d057", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14", - "checks": "3d3e04f5c1cb" - }, - "state": "ed24dc6bcab9", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "7a8041f2d057", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "b5cc27571807", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "7a8041f2d057", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "e35c5effcf2b", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "b9613928b178"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14" - }, - "state": "57e6f5250a13", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "b9613928b178", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14", - "checks": "3d3e04f5c1cb" - }, - "state": "ed24dc6bcab9", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "b9613928b178", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "b5cc27571807", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "b9613928b178", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "e35c5effcf2b", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "21b31d76c1b1"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14" - }, - "state": "57e6f5250a13", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "21b31d76c1b1", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14", - "checks": "3d3e04f5c1cb" - }, - "state": "ed24dc6bcab9", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "21b31d76c1b1", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "b5cc27571807", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "21b31d76c1b1", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "548caab5ab14", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "e35c5effcf2b", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.outer-refused:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "5c87776f4015"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "1b2778bf67a2" - }, - "state": "6057227f6e42", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "5c87776f4015", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "1b2778bf67a2", - "checks": "3d3e04f5c1cb" - }, - "state": "0a288d333483", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "5c87776f4015", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "1b2778bf67a2", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "bfc86b630a1a", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "5c87776f4015", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "1b2778bf67a2", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "6a04c2045df5", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "4fe6b339ccfe"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "09191350a1f2" - }, - "state": "8fc1bc86223d", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "4fe6b339ccfe", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "09191350a1f2", - "checks": "3d3e04f5c1cb" - }, - "state": "86ca0c1303b0", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "4fe6b339ccfe", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "09191350a1f2", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "f64543693d7b", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "4fe6b339ccfe", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "09191350a1f2", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "c173bc3b19af", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.method-not-found:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "dedec8fbd6c4"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "fa93ca01f266" - }, - "state": "bed53d1ce54c", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "dedec8fbd6c4", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "fa93ca01f266", - "checks": "3d3e04f5c1cb" - }, - "state": "4063587eb861", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "dedec8fbd6c4", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "fa93ca01f266", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "8d0d66ceab62", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "dedec8fbd6c4", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "fa93ca01f266", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "f3bd25dcae18", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.transport-rejection:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "a18d899ef98a"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "a197c20578aa" - }, - "state": "14a031d0d0f6", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "a18d899ef98a", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "a197c20578aa", - "checks": "3d3e04f5c1cb" - }, - "state": "f91deee9103a", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "a18d899ef98a", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "a197c20578aa", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "bd5fb366dd94", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "a18d899ef98a", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "a197c20578aa", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "7cbeafcf08d8", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "adaeeac11b0f"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "fb4429083480" - }, - "state": "717e0f081bf4", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "adaeeac11b0f", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "fb4429083480", - "checks": "3d3e04f5c1cb" - }, - "state": "c0b26dd3b966", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "adaeeac11b0f", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "fb4429083480", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "679e4f616eaa", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "adaeeac11b0f", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "fb4429083480", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "70b1b0cf0862", - "effects": ["0c83b4de61f4"] - } - } - ] - } -} 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 deleted file mode 100644 index 1ac3e637914..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-read-hostedreview.forbranch-1.json +++ /dev/null @@ -1,8552 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-reads", - "family": "github.pr-read", - "namedDeltas": [], - "values": { - "026ad16c841b": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "0370db1ceeeb": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "The host sent a reply this app could not read (hostedReview.forBranch)", - "ok": false - } - }, - "03b7a793e8d2": { - "hosted-review": { - "error": "Request failed: hostedReview.forBranch", - "ok": false - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "0644012ff2a3": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "0893e7ae395f": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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 - } - } - } - }, - "0a9f2ff19df4": { - "name": "github.workItemDetails#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "0c83b4de61f4": { - "name": "reply-salvage", - "ordinal": 17, - "value": { - "droppedCount": 1, - "droppedPaths": ["0.avatarUrl"], - "method": "github.listAssignableUsers", - "operation": "github.pr-assignable-users", - "variant": "pr-assignable-users" - } - }, - "0fbccfcc1d78": { - "hosted-review": { - "error": "outer refused", - "ok": false - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "1554c8f6753b": { - "name": "github.prForBranch#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":null,\"currentHeadOid\":null}}" - }, - "16d46d0e8d5b": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "191e3c96ad53": { - "name": "github.repoSlug#1", - "ordinal": 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" - } - } - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "1b3b93e82c1b": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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 - } - } - }, - "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" - } - } - } - }, - "1f4e113b496e": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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 - } - } - }, - "1f5765918736": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" - }, - "2709bde96386": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "34311b7ca6cf": { - "hosted-review": { - "error": "transport failure", - "ok": false - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "3d3e04f5c1cb": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - } - }, - "3f11cc1c8847": { - "hosted-review": { - "error": "transport failure", - "ok": false - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "3fe0f4e7006a": { - "hosted-review": { - "error": "Unknown method", - "ok": false - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "40b1562f6cc8": { - "hosted-review": { - "error": "The host sent a reply this app could not read (hostedReview.forBranch)", - "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": {}, - "471a75cee137": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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" - } - } - } - } - }, - "49fddcb78cd5": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "4af284f5f7e6": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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 - } - } - }, - "4bf8f27dd319": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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" - } - } - } - }, - "4d0a5da1fad5": { - "hosted-review": { - "error": "Unknown method", - "ok": false - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "52504eafec78": { - "name": "github.prChecks#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "53bcb749e0ed": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "5b33c8cfd938": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "5e0f680b6594": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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 - } - } - }, - "6316593ebcff": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "6a3f611aad80": { - "name": "github.prCheckDetails#1", - "ordinal": 12, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" - }, - "6a592a846144": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "6de4d3f42f5d": { - "hosted-review": { - "error": "The host sent a reply this app could not read (hostedReview.forBranch)", - "ok": false - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "71778140a57b": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "7387b3d7ec72": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "760ff8a69dff": { - "hosted-review": { - "ok": true, - "result": { - "$rpc": "null" - } - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "77b1fb9a141c": { - "hosted-review": { - "error": "Unknown method", - "ok": false - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "7f5a22addac6": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "7f9df7d53297": { - "hosted-review": { - "error": "", - "ok": false - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "81aaeec7fc39": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "82abd74752e0": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "865868813a73": { - "hosted-review": { - "error": "outer refused", - "ok": false - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "873fa2986343": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "879d12675939": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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" - } - } - }, - "8abe3dfe4505": { - "hosted-review": { - "error": "transport failure", - "ok": false - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "96481d1fef0f": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "9a87ba2ee54f": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "9bb9d9b8c502": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "a1092f110b89": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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 - } - } - } - }, - "a15fac80bd75": { - "hosted-review": { - "error": "The host sent a reply this app could not read (hostedReview.forBranch)", - "ok": false - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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 - } - }, - "a20f0d944ba5": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "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" - } - } - } - } - }, - "a3e588709bde": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "a4faef583101": { - "hosted-review": { - "error": "Request failed: hostedReview.forBranch", - "ok": false - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "a6d5613dca15": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "error": "The host sent a reply this app could not read (hostedReview.forBranch)", - "ok": false - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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" - } - ] - } - }, - "b58297cf7561": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "b9d094f5b520": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "error": "The host sent a reply this app could not read (hostedReview.forBranch)", - "ok": false - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "ba533cff9f9d": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "bdc35d641ccd": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Request failed: hostedReview.forBranch", - "ok": false - } - }, - "be2512011276": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "c0b6710db584": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "c4c56019af4a": { - "hosted-review": { - "error": "", - "ok": false - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "cbddb462f5b1": { - "hosted-review": { - "error": "", - "ok": false - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "cdbefce64e00": { - "name": "hostedReview.forBranch#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" - }, - "ce89f8129e50": { - "hosted-review": { - "error": "outer refused", - "ok": false - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "d01444e13d4c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - } - }, - "d036e2bdda12": { - "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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "d055ed712776": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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" - } - } - } - }, - "d16ab2cb0431": { - "hosted-review": { - "error": "Request failed: hostedReview.forBranch", - "ok": false - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "d593bb293e9e": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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 - } - } - }, - "d89e7b8ce2a0": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "dd752ab6fc1a": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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" - } - } - } - }, - "dd835c6a40da": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "df34e36b0fb7": { - "name": "github.listAssignableUsers#1", - "ordinal": 16, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\",\"ownerRepo\":{\"owner\":\"fork-owner\",\"repo\":\"fork-repo\",\"host\":\"github.enterprise.test\"}}}" - }, - "e10925fa98de": { - "name": "status.get#1", - "ordinal": 14, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "e6cb06568ca0": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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 - } - } - }, - "e97a125cdb88": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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" - } - } - } - }, - "eed0d3dcb2fd": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "f313d9289b78": { - "hosted-review": { - "ok": true, - "result": { - "$rpc": "null" - } - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "f40f65f13b4a": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "error": "The host sent a reply this app could not read (hostedReview.forBranch)", - "ok": false - }, - "pr-for-branch": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "f79c91454bac": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": "Octo Cat" - } - ] - } - } - }, - "fa4bf991415d": { - "name": "github.prChecks#1", - "ordinal": 9, - "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" - } - ] - } - } - }, - "fa93ca01f266": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Unknown method", - "ok": false - } - }, - "fb4429083480": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "", - "ok": false - } - }, - "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": ["191e3c96ad53"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "d89e7b8ce2a0" - }, - "state": "41113a109089", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3" - }, - "state": "9a87ba2ee54f", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "53bcb749e0ed", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "a3e588709bde", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "026ad16c841b", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "2709bde96386", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "9bb9d9b8c502", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.result-absent:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "1f4e113b496e"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0370db1ceeeb" - }, - "state": "40b1562f6cc8", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "1f4e113b496e", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0370db1ceeeb", - "pr-for-branch": "d01444e13d4c" - }, - "state": "6de4d3f42f5d", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:work-item", - "observation": { - "sender": ["191e3c96ad53", "1f4e113b496e", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0370db1ceeeb", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "a15fac80bd75", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "1f4e113b496e", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0370db1ceeeb", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "a6d5613dca15", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "1f4e113b496e", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0370db1ceeeb", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "f40f65f13b4a", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-absent:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "1f4e113b496e", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0370db1ceeeb", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "b9d094f5b520", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.result-null:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "d055ed712776"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303" - }, - "state": "fe9773365df3", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "d055ed712776", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c" - }, - "state": "760ff8a69dff", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:work-item", - "observation": { - "sender": ["191e3c96ad53", "d055ed712776", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "f313d9289b78", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "d055ed712776", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "71778140a57b", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "d055ed712776", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "6316593ebcff", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "d055ed712776", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "16d46d0e8d5b", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "dd752ab6fc1a"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303" - }, - "state": "fe9773365df3", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "dd752ab6fc1a", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c" - }, - "state": "760ff8a69dff", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:work-item", - "observation": { - "sender": ["191e3c96ad53", "dd752ab6fc1a", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "f313d9289b78", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "dd752ab6fc1a", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "71778140a57b", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "dd752ab6fc1a", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "6316593ebcff", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "dd752ab6fc1a", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "16d46d0e8d5b", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "a1092f110b89"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303" - }, - "state": "fe9773365df3", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "a1092f110b89", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c" - }, - "state": "760ff8a69dff", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:work-item", - "observation": { - "sender": ["191e3c96ad53", "a1092f110b89", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "f313d9289b78", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "a1092f110b89", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "71778140a57b", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "a1092f110b89", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "6316593ebcff", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "a1092f110b89", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "16d46d0e8d5b", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "0893e7ae395f"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303" - }, - "state": "fe9773365df3", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "0893e7ae395f", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c" - }, - "state": "760ff8a69dff", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:work-item", - "observation": { - "sender": ["191e3c96ad53", "0893e7ae395f", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "f313d9289b78", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "0893e7ae395f", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "71778140a57b", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "0893e7ae395f", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "6316593ebcff", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "0893e7ae395f", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "8a5cb8b66303", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "16d46d0e8d5b", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.outer-refused:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "e6cb06568ca0"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "1b2778bf67a2" - }, - "state": "865868813a73", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "e6cb06568ca0", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "1b2778bf67a2", - "pr-for-branch": "d01444e13d4c" - }, - "state": "ce89f8129e50", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:work-item", - "observation": { - "sender": ["191e3c96ad53", "e6cb06568ca0", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "1b2778bf67a2", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "0fbccfcc1d78", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "e6cb06568ca0", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "1b2778bf67a2", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "82abd74752e0", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "e6cb06568ca0", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "1b2778bf67a2", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "c0b6710db584", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "e6cb06568ca0", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "1b2778bf67a2", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "96481d1fef0f", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "5e0f680b6594"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "bdc35d641ccd" - }, - "state": "d16ab2cb0431", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "5e0f680b6594", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "bdc35d641ccd", - "pr-for-branch": "d01444e13d4c" - }, - "state": "a4faef583101", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:work-item", - "observation": { - "sender": ["191e3c96ad53", "5e0f680b6594", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "bdc35d641ccd", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "03b7a793e8d2", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "5e0f680b6594", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "bdc35d641ccd", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "879d12675939", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "5e0f680b6594", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "bdc35d641ccd", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "873fa2986343", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "5e0f680b6594", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "bdc35d641ccd", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "be2512011276", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.method-not-found:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "d593bb293e9e"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "fa93ca01f266" - }, - "state": "3fe0f4e7006a", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "d593bb293e9e", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "fa93ca01f266", - "pr-for-branch": "d01444e13d4c" - }, - "state": "77b1fb9a141c", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:work-item", - "observation": { - "sender": ["191e3c96ad53", "d593bb293e9e", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "fa93ca01f266", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "4d0a5da1fad5", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "d593bb293e9e", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "fa93ca01f266", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "49fddcb78cd5", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "d593bb293e9e", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "fa93ca01f266", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "dd835c6a40da", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "d593bb293e9e", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "fa93ca01f266", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "b58297cf7561", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.transport-rejection:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "4af284f5f7e6"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "a197c20578aa" - }, - "state": "34311b7ca6cf", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4af284f5f7e6", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "a197c20578aa", - "pr-for-branch": "d01444e13d4c" - }, - "state": "8abe3dfe4505", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:work-item", - "observation": { - "sender": ["191e3c96ad53", "4af284f5f7e6", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "a197c20578aa", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "3f11cc1c8847", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4af284f5f7e6", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "a197c20578aa", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "81aaeec7fc39", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4af284f5f7e6", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "a197c20578aa", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "eed0d3dcb2fd", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4af284f5f7e6", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "a197c20578aa", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "6a592a846144", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "1b3b93e82c1b"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "fb4429083480" - }, - "state": "c4c56019af4a", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "1b3b93e82c1b", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "fb4429083480", - "pr-for-branch": "d01444e13d4c" - }, - "state": "7f9df7d53297", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:work-item", - "observation": { - "sender": ["191e3c96ad53", "1b3b93e82c1b", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "fb4429083480", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "cbddb462f5b1", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "1b3b93e82c1b", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "fb4429083480", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "7f5a22addac6", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "1b3b93e82c1b", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "fb4429083480", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "ba533cff9f9d", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "1b3b93e82c1b", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "fb4429083480", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "7387b3d7ec72", - "effects": ["0c83b4de61f4"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-github.pr-read-status.get-1.json b/mobile/rpc-foundation/goldens/matrix-github.pr-read-status.get-1.json deleted file mode 100644 index be94320d7a3..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-read-status.get-1.json +++ /dev/null @@ -1,2852 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-reads", - "family": "github.pr-read", - "namedDeltas": [], - "values": { - "026ad16c841b": { - "checks": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "0389349c5d7a": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-7", - "ok": false - } - } - }, - "041960bab8b2": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true - } - } - }, - "0644012ff2a3": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "0a9f2ff19df4": { - "name": "github.workItemDetails#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "0c83b4de61f4": { - "name": "reply-salvage", - "ordinal": 17, - "value": { - "droppedCount": 1, - "droppedPaths": ["0.avatarUrl"], - "method": "github.listAssignableUsers", - "operation": "github.pr-assignable-users", - "variant": "pr-assignable-users" - } - }, - "11c12cddcf6c": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "1554c8f6753b": { - "name": "github.prForBranch#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":null,\"currentHeadOid\":null}}" - }, - "18e26718de53": { - "assignable": { - "error": "The Orca server connection changed. Try again.", - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "191e3c96ad53": { - "name": "github.repoSlug#1", - "ordinal": 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" - } - } - } - }, - "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" - } - } - } - }, - "1f5765918736": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" - }, - "2709bde96386": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "375dfb182fb1": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "3d3e04f5c1cb": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - } - }, - "41113a109089": { - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "44136fa355b3": {}, - "471a75cee137": { - "name": "github.workItemDetails#1", - "ordinal": 7, - "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" - } - } - } - } - }, - "4bf8f27dd319": { - "name": "hostedReview.forBranch#1", - "ordinal": 3, - "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" - } - } - } - }, - "52504eafec78": { - "name": "github.prChecks#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "53bcb749e0ed": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - }, - "repo-slug": { - "ok": true, - "result": { - "host": "github.com", - "owner": "orca", - "repo": "orca" - } - } - }, - "5b33c8cfd938": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "6a3f611aad80": { - "name": "github.prCheckDetails#1", - "ordinal": 12, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prCheckDetails\",\"params\":{\"repo\":\"id:repo-9\",\"checkRunId\":7,\"checkName\":\"build\",\"url\":null}}" - }, - "6d9e16eeac67": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-7", - "ok": false - } - } - }, - "79c11f8aab27": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Update Orca on the executing server to edit this item or load its repository options.", - "ok": false - } - }, - "8d2e2b427f16": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "95bbfe2dbce7": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "9a87ba2ee54f": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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" - } - } - }, - "9bb9d9b8c502": { - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "a20f0d944ba5": { - "name": "github.prForBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]" - } - } - ], - "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" - } - } - } - } - }, - "a3e588709bde": { - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "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" - } - ] - } - }, - "bb16adfcc9c1": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "bb3b96b3d92f": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-7", - "ok": false - } - } - }, - "c19ceb5edc47": { - "assignable": { - "error": "Update Orca on the executing server to edit this item or load its repository options.", - "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", - "observedHeadSha": { - "$rpc": "undefined" - }, - "status": "completed", - "url": { - "$rpc": "null" - }, - "workflowRunId": { - "$rpc": "undefined" - } - } - ] - }, - "hosted-review": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksSummary": { - "$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", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$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, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [], - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "", - "url": "" - }, - "participants": [], - "pullRequestId": { - "$rpc": "undefined" - } - } - } - }, - "cdbefce64e00": { - "name": "hostedReview.forBranch#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":12,\"active\":true}}" - }, - "d01444e13d4c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true, - "result": { - "autoMergeAllowed": { - "$rpc": "undefined" - }, - "autoMergeEnabled": { - "$rpc": "undefined" - }, - "checksStatus": "pending", - "checksSummary": { - "$rpc": "undefined" - }, - "confirmedContainedHeadOid": { - "$rpc": "undefined" - }, - "headDivergedFromMergedPRAtOid": { - "$rpc": "undefined" - }, - "headRefName": { - "$rpc": "undefined" - }, - "headSha": "head-sha-1", - "mergeMethodSettings": { - "$rpc": "undefined" - }, - "mergeQueueRequired": { - "$rpc": "undefined" - }, - "mergeStateStatus": { - "$rpc": "undefined" - }, - "mergeable": "MERGEABLE", - "number": 12, - "prRepo": { - "$rpc": "undefined" - }, - "reviewDecision": { - "$rpc": "undefined" - }, - "stack": { - "$rpc": "undefined" - }, - "state": "open", - "title": "Recorded", - "updatedAt": "", - "url": "https://x/12" - } - } - }, - "d036e2bdda12": { - "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, - "prRepo": { - "$rpc": "undefined" - }, - "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" - } - } - }, - "dd6f35908983": { - "name": "status.get#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "df34e36b0fb7": { - "name": "github.listAssignableUsers#1", - "ordinal": 16, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.listAssignableUsers\",\"params\":{\"repo\":\"id:repo-9\",\"ownerRepo\":{\"owner\":\"fork-owner\",\"repo\":\"fork-repo\",\"host\":\"github.enterprise.test\"}}}" - }, - "e10925fa98de": { - "name": "status.get#1", - "ordinal": 14, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "e97a125cdb88": { - "name": "github.prCheckDetails#1", - "ordinal": 11, - "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" - } - } - } - }, - "f0fcc3cacc56": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "The Orca server connection changed. Try again.", - "ok": false - } - }, - "f79c91454bac": { - "name": "github.listAssignableUsers#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.listAssignableUsers" - }, - { - "name": "params", - "value": { - "ownerRepo": { - "host": "github.enterprise.test", - "owner": "fork-owner", - "repo": "fork-repo" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": "Octo Cat" - } - ] - } - } - }, - "fa4bf991415d": { - "name": "github.prChecks#1", - "ordinal": 9, - "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" - } - ] - } - } - } - }, - "recording": { - "scenario": "matrix-github.pr-read-status.get-1", - "checkpoints": [ - { - "id": "pr-read-surface.prelude:pending", - "observation": { - "sender": [], - "payloads": [], - "settlements": {}, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:repo-slug", - "observation": { - "sender": ["191e3c96ad53"], - "payloads": ["1f5765918736"], - "settlements": { - "repo-slug": "d89e7b8ce2a0" - }, - "state": "41113a109089", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:hosted-review", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319"], - "payloads": ["1f5765918736", "cdbefce64e00"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3" - }, - "state": "9a87ba2ee54f", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:pr-for-branch", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c" - }, - "state": "53bcb749e0ed", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:work-item", - "observation": { - "sender": ["191e3c96ad53", "4bf8f27dd319", "a20f0d944ba5", "471a75cee137"], - "payloads": ["1f5765918736", "cdbefce64e00", "1554c8f6753b", "0a9f2ff19df4"], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12" - }, - "state": "a3e588709bde", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:checks", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb" - }, - "state": "026ad16c841b", - "effects": [] - } - }, - { - "id": "pr-read-surface.prelude:check-details", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45" - }, - "state": "2709bde96386", - "effects": [] - } - }, - { - "id": "pr-read-surface.normal:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "5b33c8cfd938", - "f79c91454bac" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de", - "df34e36b0fb7" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "a93bcc7122e8" - }, - "state": "9bb9d9b8c502", - "effects": ["0c83b4de61f4"] - } - }, - { - "id": "pr-read-surface.result-absent:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "041960bab8b2" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "79c11f8aab27" - }, - "state": "c19ceb5edc47", - "effects": [] - } - }, - { - "id": "pr-read-surface.result-null:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "dd6f35908983" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "79c11f8aab27" - }, - "state": "c19ceb5edc47", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-ok-missing:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "375dfb182fb1" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "79c11f8aab27" - }, - "state": "c19ceb5edc47", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-string-error:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "8d2e2b427f16" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "79c11f8aab27" - }, - "state": "c19ceb5edc47", - "effects": [] - } - }, - { - "id": "pr-read-surface.inner-false-object-error:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "bb16adfcc9c1" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "79c11f8aab27" - }, - "state": "c19ceb5edc47", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "bb3b96b3d92f" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "79c11f8aab27" - }, - "state": "c19ceb5edc47", - "effects": [] - } - }, - { - "id": "pr-read-surface.outer-refused-no-message:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "0389349c5d7a" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "79c11f8aab27" - }, - "state": "c19ceb5edc47", - "effects": [] - } - }, - { - "id": "pr-read-surface.method-not-found:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "6d9e16eeac67" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "79c11f8aab27" - }, - "state": "c19ceb5edc47", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "95bbfe2dbce7" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "f0fcc3cacc56" - }, - "state": "18e26718de53", - "effects": [] - } - }, - { - "id": "pr-read-surface.transport-rejection-no-message:assignable", - "observation": { - "sender": [ - "191e3c96ad53", - "4bf8f27dd319", - "a20f0d944ba5", - "471a75cee137", - "fa4bf991415d", - "e97a125cdb88", - "11c12cddcf6c" - ], - "payloads": [ - "1f5765918736", - "cdbefce64e00", - "1554c8f6753b", - "0a9f2ff19df4", - "52504eafec78", - "6a3f611aad80", - "e10925fa98de" - ], - "settlements": { - "repo-slug": "d89e7b8ce2a0", - "hosted-review": "0644012ff2a3", - "pr-for-branch": "d01444e13d4c", - "work-item": "d036e2bdda12", - "checks": "3d3e04f5c1cb", - "check-details": "1c88fe396b45", - "assignable": "f0fcc3cacc56" - }, - "state": "18e26718de53", - "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 deleted file mode 100644 index 17986ba6c0e..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-github.pr-title-mutation-github.updateprtitle-1.json +++ /dev/null @@ -1,632 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-mutations", - "family": "github.pr-title-mutation", - "namedDeltas": [], - "values": { - "0400bbb4177c": { - "title": { - "error": "Request failed: github.updatePRTitle", - "ok": false - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "323a83575e15": { - "title": { - "error": "The host sent a reply this app could not read (github.updatePRTitle)", - "ok": false - } - }, - "3da99fe5f779": { - "name": "github.updatePRTitle#1", - "ordinal": 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 - } - } - }, - "3f736bea9e98": { - "name": "github.updatePRTitle#1", - "ordinal": 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 - } - } - }, - "55b590476b96": { - "name": "github.updatePRTitle#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRTitle\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"title\":\"Recorded title\"}}" - }, - "578bc8950993": { - "title": { - "ok": true - } - }, - "67ab8816221a": { - "name": "github.updatePRTitle#1", - "ordinal": 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 - } - } - } - }, - "73a201bf0d92": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Request failed: github.updatePRTitle", - "ok": false - } - }, - "8e913130f301": { - "name": "github.updatePRTitle#1", - "ordinal": 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" - } - } - } - }, - "8ea577057100": { - "name": "github.updatePRTitle#1", - "ordinal": 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 - } - } - }, - "8f2b984e6ba5": { - "name": "github.updatePRTitle#1", - "ordinal": 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 - } - } - }, - "93748d35b9f1": { - "name": "github.updatePRTitle#1", - "ordinal": 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 - } - } - }, - "9e6b9a9a2771": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "The host sent a reply this app could not read (github.updatePRTitle)", - "ok": false - } - }, - "a197c20578aa": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "transport failure", - "ok": false - } - }, - "a53dd29bf747": { - "name": "github.updatePRTitle#1", - "ordinal": 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 - } - } - }, - "ab4cb8025368": { - "name": "github.updatePRTitle#1", - "ordinal": 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" - } - } - } - }, - "b3c795dd8d35": { - "title": { - "error": "Unknown method", - "ok": false - } - }, - "c5ea88c843eb": { - "title": { - "error": "outer refused", - "ok": false - } - }, - "c83a1437b876": { - "name": "github.updatePRTitle#1", - "ordinal": 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 - } - }, - "f72a1dcf41c6": { - "name": "github.updatePRTitle#1", - "ordinal": 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 - } - } - }, - "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": ["a53dd29bf747"], - "payloads": ["55b590476b96"], - "settlements": { - "title": "fbc958e4d46e" - }, - "state": "578bc8950993", - "effects": [] - } - }, - { - "id": "pr-title-mutation.result-absent:title", - "observation": { - "sender": ["3f736bea9e98"], - "payloads": ["55b590476b96"], - "settlements": { - "title": "9e6b9a9a2771" - }, - "state": "323a83575e15", - "effects": [] - } - }, - { - "id": "pr-title-mutation.result-null:title", - "observation": { - "sender": ["8e913130f301"], - "payloads": ["55b590476b96"], - "settlements": { - "title": "9e6b9a9a2771" - }, - "state": "323a83575e15", - "effects": [] - } - }, - { - "id": "pr-title-mutation.inner-ok-missing:title", - "observation": { - "sender": ["ab4cb8025368"], - "payloads": ["55b590476b96"], - "settlements": { - "title": "9e6b9a9a2771" - }, - "state": "323a83575e15", - "effects": [] - } - }, - { - "id": "pr-title-mutation.inner-false-string-error:title", - "observation": { - "sender": ["c83a1437b876"], - "payloads": ["55b590476b96"], - "settlements": { - "title": "9e6b9a9a2771" - }, - "state": "323a83575e15", - "effects": [] - } - }, - { - "id": "pr-title-mutation.inner-false-object-error:title", - "observation": { - "sender": ["67ab8816221a"], - "payloads": ["55b590476b96"], - "settlements": { - "title": "9e6b9a9a2771" - }, - "state": "323a83575e15", - "effects": [] - } - }, - { - "id": "pr-title-mutation.outer-refused:title", - "observation": { - "sender": ["8ea577057100"], - "payloads": ["55b590476b96"], - "settlements": { - "title": "1b2778bf67a2" - }, - "state": "c5ea88c843eb", - "effects": [] - } - }, - { - "id": "pr-title-mutation.outer-refused-no-message:title", - "observation": { - "sender": ["3da99fe5f779"], - "payloads": ["55b590476b96"], - "settlements": { - "title": "73a201bf0d92" - }, - "state": "0400bbb4177c", - "effects": [] - } - }, - { - "id": "pr-title-mutation.method-not-found:title", - "observation": { - "sender": ["8f2b984e6ba5"], - "payloads": ["55b590476b96"], - "settlements": { - "title": "fa93ca01f266" - }, - "state": "b3c795dd8d35", - "effects": [] - } - }, - { - "id": "pr-title-mutation.transport-rejection:title", - "observation": { - "sender": ["93748d35b9f1"], - "payloads": ["55b590476b96"], - "settlements": { - "title": "a197c20578aa" - }, - "state": "e1fc6048c4fb", - "effects": [] - } - }, - { - "id": "pr-title-mutation.transport-rejection-no-message:title", - "observation": { - "sender": ["f72a1dcf41c6"], - "payloads": ["55b590476b96"], - "settlements": { - "title": "73a201bf0d92" - }, - "state": "0400bbb4177c", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-host-worktree-refresh-runtime.clientevents.subscribe-1-1.json b/mobile/rpc-foundation/goldens/matrix-host-worktree-refresh-runtime.clientevents.subscribe-1-1.json deleted file mode 100644 index f2986584932..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-host-worktree-refresh-runtime.clientevents.subscribe-1-1.json +++ /dev/null @@ -1,1000 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "worktree.host-refresh", - "family": "host-worktree-refresh", - "namedDeltas": [], - "values": { - "1db153c98dfe": { - "name": "streams-registered-at-teardown", - "ordinal": 5, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "322d549d1882": { - "refreshWorktrees": 0, - "running": true, - "syncViewSettings": 2 - }, - "354b03a10a5d": { - "name": "syncViewSettings", - "ordinal": 5, - "value": { - "options": { - "resend": true - } - } - }, - "3e381195cd16": { - "name": "streams-registered-at-teardown", - "ordinal": 3, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "6ab454a38bb0": { - "name": "runtime.clientEvents.unsubscribe#2", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "7fc7f9b819e5": { - "refreshWorktrees": 0, - "running": false, - "syncViewSettings": 1 - }, - "85612713e3f0": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "85ed79b276e4": { - "refreshWorktrees": 0, - "running": true, - "syncViewSettings": 1 - }, - "a507a5cf0d43": { - "name": "syncViewSettings", - "ordinal": 2, - "value": { - "options": { - "resend": true - } - } - }, - "c87ceb902f91": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "cc261d80eae0": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "e3e3030326f0": { - "refreshWorktrees": 0, - "running": false, - "syncViewSettings": 2 - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "f2af146a9f12": { - "status": "fulfilled", - "startedAt": 3000, - "settledAt": 3000, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-host-worktree-refresh-runtime.clientevents.subscribe-1-1", - "checkpoints": [ - { - "id": "host-worktree-refresh-stream.prelude:started", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.prelude:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43", "3e381195cd16"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:ready", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "322d549d1882", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab454a38bb0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "e3e3030326f0", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:ready", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "c87ceb902f91"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "c87ceb902f91"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "1db153c98dfe"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:ready", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "c87ceb902f91"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "c87ceb902f91"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "1db153c98dfe"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:ready", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "c87ceb902f91"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "c87ceb902f91"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "1db153c98dfe"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:ready", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "c87ceb902f91"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "c87ceb902f91"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "1db153c98dfe"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:ready", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "c87ceb902f91"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "c87ceb902f91"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "1db153c98dfe"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:ready", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "c87ceb902f91"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:ready", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "c87ceb902f91"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:ready", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "c87ceb902f91"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-host-worktree-refresh-runtime.clientevents.subscribe-1-2.json b/mobile/rpc-foundation/goldens/matrix-host-worktree-refresh-runtime.clientevents.subscribe-1-2.json deleted file mode 100644 index 5985cb7c582..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-host-worktree-refresh-runtime.clientevents.subscribe-1-2.json +++ /dev/null @@ -1,858 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "worktree.host-refresh", - "family": "host-worktree-refresh", - "namedDeltas": [], - "values": { - "28faa3bf8b5b": { - "name": "runtime.clientEvents.subscribe#3", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "322d549d1882": { - "refreshWorktrees": 0, - "running": true, - "syncViewSettings": 2 - }, - "354b03a10a5d": { - "name": "syncViewSettings", - "ordinal": 5, - "value": { - "options": { - "resend": true - } - } - }, - "6ab454a38bb0": { - "name": "runtime.clientEvents.unsubscribe#2", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "7fc7f9b819e5": { - "refreshWorktrees": 0, - "running": false, - "syncViewSettings": 1 - }, - "85612713e3f0": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "85ed79b276e4": { - "refreshWorktrees": 0, - "running": true, - "syncViewSettings": 1 - }, - "861847234097": { - "name": "streams-registered-at-teardown", - "ordinal": 6, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#3" - } - ] - }, - "a507a5cf0d43": { - "name": "syncViewSettings", - "ordinal": 2, - "value": { - "options": { - "resend": true - } - } - }, - "cc261d80eae0": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "e3e3030326f0": { - "refreshWorktrees": 0, - "running": false, - "syncViewSettings": 2 - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "f2a62c2ca592": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 5, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "f2af146a9f12": { - "status": "fulfilled", - "startedAt": 3000, - "settledAt": 3000, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-host-worktree-refresh-runtime.clientevents.subscribe-1-2", - "checkpoints": [ - { - "id": "host-worktree-refresh-stream.prelude:started", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.prelude:ready", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "322d549d1882", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab454a38bb0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "e3e3030326f0", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "322d549d1882", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab454a38bb0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "e3e3030326f0", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "322d549d1882", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab454a38bb0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "e3e3030326f0", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "322d549d1882", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab454a38bb0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "e3e3030326f0", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "322d549d1882", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab454a38bb0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "e3e3030326f0", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "322d549d1882", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab454a38bb0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "e3e3030326f0", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "861847234097"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "861847234097"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "861847234097"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-host-worktree-refresh-runtime.clientevents.subscribe-1-3.json b/mobile/rpc-foundation/goldens/matrix-host-worktree-refresh-runtime.clientevents.subscribe-1-3.json deleted file mode 100644 index 08e5a1e9234..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-host-worktree-refresh-runtime.clientevents.subscribe-1-3.json +++ /dev/null @@ -1,666 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "worktree.host-refresh", - "family": "host-worktree-refresh", - "namedDeltas": [], - "values": { - "28faa3bf8b5b": { - "name": "runtime.clientEvents.subscribe#3", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "322d549d1882": { - "refreshWorktrees": 0, - "running": true, - "syncViewSettings": 2 - }, - "354b03a10a5d": { - "name": "syncViewSettings", - "ordinal": 5, - "value": { - "options": { - "resend": true - } - } - }, - "6ab454a38bb0": { - "name": "runtime.clientEvents.unsubscribe#2", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "7fc7f9b819e5": { - "refreshWorktrees": 0, - "running": false, - "syncViewSettings": 1 - }, - "85612713e3f0": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "85ed79b276e4": { - "refreshWorktrees": 0, - "running": true, - "syncViewSettings": 1 - }, - "861847234097": { - "name": "streams-registered-at-teardown", - "ordinal": 6, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#3" - } - ] - }, - "a507a5cf0d43": { - "name": "syncViewSettings", - "ordinal": 2, - "value": { - "options": { - "resend": true - } - } - }, - "cc261d80eae0": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "e3e3030326f0": { - "refreshWorktrees": 0, - "running": false, - "syncViewSettings": 2 - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "f2a62c2ca592": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 5, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "f2af146a9f12": { - "status": "fulfilled", - "startedAt": 3000, - "settledAt": 3000, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-host-worktree-refresh-runtime.clientevents.subscribe-1-3", - "checkpoints": [ - { - "id": "host-worktree-refresh-stream.prelude:started", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.prelude:ready", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.prelude:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.prelude:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "322d549d1882", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab454a38bb0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "e3e3030326f0", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "322d549d1882", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab454a38bb0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "e3e3030326f0", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "322d549d1882", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab454a38bb0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "e3e3030326f0", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "322d549d1882", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab454a38bb0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "e3e3030326f0", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "322d549d1882", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab454a38bb0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "e3e3030326f0", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "322d549d1882", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab454a38bb0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "e3e3030326f0", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "861847234097"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "861847234097"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "28faa3bf8b5b", "f2a62c2ca592"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "861847234097"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-host-worktree-refresh-runtime.clientevents.subscribe-2-1.json b/mobile/rpc-foundation/goldens/matrix-host-worktree-refresh-runtime.clientevents.subscribe-2-1.json deleted file mode 100644 index 47ef69a611f..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-host-worktree-refresh-runtime.clientevents.subscribe-2-1.json +++ /dev/null @@ -1,555 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "worktree.host-refresh", - "family": "host-worktree-refresh", - "namedDeltas": [], - "values": { - "322d549d1882": { - "refreshWorktrees": 0, - "running": true, - "syncViewSettings": 2 - }, - "354b03a10a5d": { - "name": "syncViewSettings", - "ordinal": 5, - "value": { - "options": { - "resend": true - } - } - }, - "6ab2ee0270ea": { - "name": "runtime.clientEvents.subscribe#3", - "ordinal": 5, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "6ab454a38bb0": { - "name": "runtime.clientEvents.unsubscribe#2", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "7fc7f9b819e5": { - "refreshWorktrees": 0, - "running": false, - "syncViewSettings": 1 - }, - "85612713e3f0": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "85ed79b276e4": { - "refreshWorktrees": 0, - "running": true, - "syncViewSettings": 1 - }, - "861847234097": { - "name": "streams-registered-at-teardown", - "ordinal": 6, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#3" - } - ] - }, - "a328c933a31f": { - "name": "streams-registered-at-teardown", - "ordinal": 5, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#2" - } - ] - }, - "a507a5cf0d43": { - "name": "syncViewSettings", - "ordinal": 2, - "value": { - "options": { - "resend": true - } - } - }, - "cc261d80eae0": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "e3e3030326f0": { - "refreshWorktrees": 0, - "running": false, - "syncViewSettings": 2 - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "f2af146a9f12": { - "status": "fulfilled", - "startedAt": 3000, - "settledAt": 3000, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-host-worktree-refresh-runtime.clientevents.subscribe-2-1", - "checkpoints": [ - { - "id": "host-worktree-refresh-stream.prelude:started", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.prelude:ready", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.prelude:worktrees-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.prelude:polled", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.prelude:repos-changed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.prelude:re-subscribed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.prelude:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43", "a328c933a31f"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "322d549d1882", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.normal:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab454a38bb0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "e3e3030326f0", - "effects": ["a507a5cf0d43", "354b03a10a5d"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-absent:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "a328c933a31f"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.result-null:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "a328c933a31f"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-ok-missing:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "a328c933a31f"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-string-error:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "a328c933a31f"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.inner-false-object-error:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "a328c933a31f"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab2ee0270ea"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab2ee0270ea"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab2ee0270ea"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "861847234097"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab2ee0270ea"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab2ee0270ea"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.outer-refused-no-message:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab2ee0270ea"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "861847234097"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:replayed", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab2ee0270ea"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12" - }, - "state": "85ed79b276e4", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:stopped", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab2ee0270ea"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43"] - } - }, - { - "id": "host-worktree-refresh-stream.method-not-found:cleanup", - "observation": { - "sender": [], - "payloads": ["eef1ee3c2773", "cc261d80eae0", "85612713e3f0", "6ab2ee0270ea"], - "settlements": { - "start": "eb79a9b3682a", - "cutover": "f2af146a9f12", - "stop": "f2af146a9f12" - }, - "state": "7fc7f9b819e5", - "effects": ["a507a5cf0d43", "861847234097"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-host.view-settings-settings.get-1.json b/mobile/rpc-foundation/goldens/matrix-host.view-settings-settings.get-1.json deleted file mode 100644 index 15ad750d79d..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-host.view-settings-settings.get-1.json +++ /dev/null @@ -1,1344 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "host.view-settings", - "family": "host.view-settings", - "namedDeltas": [], - "values": { - "0ba58e9fadf7": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "0ca529648be4": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "1c5359ea3f7d": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "205efdb45ef8": { - "name": "view", - "ordinal": 6, - "value": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": false, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": true, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": false, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "2a983adf6648": { - "view": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": false, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": true, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": false, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "34f3a5b8bd78": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "424e4d52d6fa": { - "view": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": true, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": true, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": false, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "510b3345c0c6": { - "name": "view", - "ordinal": 7, - "value": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": false, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": true, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": false, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "51d4cb56be85": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "566d8202b582": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "651e8014c9ff": { - "name": "ui.get#1", - "ordinal": 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" - } - } - } - } - }, - "69518e60477b": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "6bab186637b0": { - "name": "showPinnedInGroups", - "ordinal": 5, - "value": false - }, - "8369a6f35fda": { - "name": "view", - "ordinal": 6, - "value": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": true, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": true, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": false, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "86798e4821d1": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "89c617ff2299": { - "name": "ui.set#1", - "ordinal": 7, - "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-3", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "985caf5772e9": { - "name": "ui.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "98bd3a5fda2b": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "aa1089f2edc0": { - "name": "ui.set#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.set\",\"params\":{\"sortBy\":\"name\"}}" - }, - "c49dcad120d2": { - "name": "view", - "ordinal": 7, - "value": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": true, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": true, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": false, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "cd9c5de9f2aa": { - "name": "ui.set#1", - "ordinal": 9, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.set\",\"params\":{\"sortBy\":\"name\"}}" - }, - "ceb5fe72c101": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "dc007face350": { - "view": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": false, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": false, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": { - "$rpc": "null" - }, - "sortBy": "recent", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "dc0e0f9e2e34": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "e55533c6e358": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "compactWorktreeCards": true - } - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec336f23ef91": { - "name": "ui.get#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" - }, - "f56221cb03b8": { - "name": "ui.set#1", - "ordinal": 8, - "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-3", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "f8b3ebb97001": { - "name": "view", - "ordinal": 5, - "value": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": false, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": true, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": false, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "fb9f08890f70": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - } - }, - "recording": { - "scenario": "matrix-host.view-settings-settings.get-1", - "checkpoints": [ - { - "id": "host-view-settings-sync.prelude:ui-pending", - "observation": { - "sender": ["985caf5772e9", "51d4cb56be85"], - "payloads": ["ec336f23ef91", "1c2564f1daca"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "9270aeb7d9c6" - }, - "state": "dc007face350", - "effects": [] - } - }, - { - "id": "host-view-settings-sync.prelude:cleanup", - "observation": { - "sender": ["651e8014c9ff", "dc0e0f9e2e34"], - "payloads": ["ec336f23ef91", "1c2564f1daca"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a" - }, - "state": "dc007face350", - "effects": ["f8b3ebb97001"] - } - }, - { - "id": "host-view-settings-sync.normal:settled", - "observation": { - "sender": ["651e8014c9ff", "e55533c6e358", "f56221cb03b8"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "424e4d52d6fa", - "effects": ["6bab186637b0", "8369a6f35fda", "c49dcad120d2"] - } - }, - { - "id": "host-view-settings-sync.result-absent:settled", - "observation": { - "sender": ["651e8014c9ff", "98bd3a5fda2b", "f56221cb03b8"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "2a983adf6648", - "effects": ["6bab186637b0", "205efdb45ef8", "510b3345c0c6"] - } - }, - { - "id": "host-view-settings-sync.result-null:settled", - "observation": { - "sender": ["651e8014c9ff", "69518e60477b", "f56221cb03b8"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "2a983adf6648", - "effects": ["6bab186637b0", "205efdb45ef8", "510b3345c0c6"] - } - }, - { - "id": "host-view-settings-sync.inner-ok-missing:settled", - "observation": { - "sender": ["651e8014c9ff", "fb9f08890f70", "f56221cb03b8"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "2a983adf6648", - "effects": ["6bab186637b0", "205efdb45ef8", "510b3345c0c6"] - } - }, - { - "id": "host-view-settings-sync.inner-false-string-error:settled", - "observation": { - "sender": ["651e8014c9ff", "86798e4821d1", "f56221cb03b8"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "2a983adf6648", - "effects": ["6bab186637b0", "205efdb45ef8", "510b3345c0c6"] - } - }, - { - "id": "host-view-settings-sync.inner-false-object-error:settled", - "observation": { - "sender": ["651e8014c9ff", "1c5359ea3f7d", "f56221cb03b8"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "2a983adf6648", - "effects": ["6bab186637b0", "205efdb45ef8", "510b3345c0c6"] - } - }, - { - "id": "host-view-settings-sync.outer-refused:settled", - "observation": { - "sender": ["651e8014c9ff", "ceb5fe72c101", "89c617ff2299"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "aa1089f2edc0"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "2a983adf6648", - "effects": ["f8b3ebb97001", "205efdb45ef8"] - } - }, - { - "id": "host-view-settings-sync.outer-refused-no-message:settled", - "observation": { - "sender": ["651e8014c9ff", "34f3a5b8bd78", "89c617ff2299"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "aa1089f2edc0"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "2a983adf6648", - "effects": ["f8b3ebb97001", "205efdb45ef8"] - } - }, - { - "id": "host-view-settings-sync.method-not-found:settled", - "observation": { - "sender": ["651e8014c9ff", "0ba58e9fadf7", "89c617ff2299"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "aa1089f2edc0"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "2a983adf6648", - "effects": ["f8b3ebb97001", "205efdb45ef8"] - } - }, - { - "id": "host-view-settings-sync.transport-rejection:settled", - "observation": { - "sender": ["651e8014c9ff", "566d8202b582", "89c617ff2299"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "aa1089f2edc0"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "2a983adf6648", - "effects": ["f8b3ebb97001", "205efdb45ef8"] - } - }, - { - "id": "host-view-settings-sync.transport-rejection-no-message:settled", - "observation": { - "sender": ["651e8014c9ff", "0ca529648be4", "89c617ff2299"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "aa1089f2edc0"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "2a983adf6648", - "effects": ["f8b3ebb97001", "205efdb45ef8"] - } - } - ] - } -} 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 deleted file mode 100644 index df0a06709b9..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-host.view-settings-ui.get-1.json +++ /dev/null @@ -1,1376 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "host.view-settings", - "family": "host.view-settings", - "namedDeltas": [], - "values": { - "19da51d77d45": { - "name": "ui.get#1", - "ordinal": 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 - } - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "238b10afd803": { - "name": "view", - "ordinal": 6, - "value": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": false, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": false, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": { - "$rpc": "null" - }, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "2f74fcfacfbd": { - "name": "ui.get#1", - "ordinal": 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" - } - } - } - }, - "3937ae2aa8ac": { - "name": "ui.get#1", - "ordinal": 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 - } - } - }, - "424e4d52d6fa": { - "view": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": true, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": true, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": false, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "443c5731ec35": { - "name": "ui.get#1", - "ordinal": 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 - } - } - }, - "51d4cb56be85": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "651e8014c9ff": { - "name": "ui.get#1", - "ordinal": 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" - } - } - } - } - }, - "6811622f22fd": { - "name": "ui.get#1", - "ordinal": 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 - } - } - }, - "6bab186637b0": { - "name": "showPinnedInGroups", - "ordinal": 5, - "value": false - }, - "754a5e5d6868": { - "name": "ui.get#1", - "ordinal": 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" - } - } - } - }, - "8369a6f35fda": { - "name": "view", - "ordinal": 6, - "value": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": true, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": true, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": false, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "89c617ff2299": { - "name": "ui.set#1", - "ordinal": 7, - "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-3", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "918022e415be": { - "view": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": true, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": false, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": { - "$rpc": "null" - }, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "985caf5772e9": { - "name": "ui.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "a9b819fe5a27": { - "name": "view", - "ordinal": 7, - "value": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": true, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": false, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": { - "$rpc": "null" - }, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "aa1089f2edc0": { - "name": "ui.set#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.set\",\"params\":{\"sortBy\":\"name\"}}" - }, - "c40ad123c151": { - "name": "ui.get#1", - "ordinal": 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 - } - } - } - }, - "c49dcad120d2": { - "name": "view", - "ordinal": 7, - "value": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": true, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": true, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": false, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "cd9c5de9f2aa": { - "name": "ui.set#1", - "ordinal": 9, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.set\",\"params\":{\"sortBy\":\"name\"}}" - }, - "d5d6bbbd1680": { - "name": "ui.get#1", - "ordinal": 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 - } - } - }, - "dc007face350": { - "view": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": false, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": false, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": { - "$rpc": "null" - }, - "sortBy": "recent", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "e55533c6e358": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "compactWorktreeCards": true - } - } - } - } - }, - "e96acdd915c3": { - "view": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": false, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": false, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": { - "$rpc": "null" - }, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec336f23ef91": { - "name": "ui.get#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" - }, - "ec949dc49cb9": { - "name": "view", - "ordinal": 6, - "value": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": true, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": false, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": { - "$rpc": "null" - }, - "sortBy": "recent", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "efd2522b079c": { - "name": "ui.get#1", - "ordinal": 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 - } - } - } - }, - "f2c38899636a": { - "name": "ui.get#1", - "ordinal": 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 - } - } - }, - "f56221cb03b8": { - "name": "ui.set#1", - "ordinal": 8, - "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-3", - "ok": true, - "result": { - "ok": true - } - } - } - } - }, - "recording": { - "scenario": "matrix-host.view-settings-ui.get-1", - "checkpoints": [ - { - "id": "host-view-settings-sync.prelude:ui-pending", - "observation": { - "sender": ["985caf5772e9", "51d4cb56be85"], - "payloads": ["ec336f23ef91", "1c2564f1daca"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "9270aeb7d9c6" - }, - "state": "dc007face350", - "effects": [] - } - }, - { - "id": "host-view-settings-sync.normal:settled", - "observation": { - "sender": ["651e8014c9ff", "e55533c6e358", "f56221cb03b8"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "424e4d52d6fa", - "effects": ["6bab186637b0", "8369a6f35fda", "c49dcad120d2"] - } - }, - { - "id": "host-view-settings-sync.result-absent:settled", - "observation": { - "sender": ["d5d6bbbd1680", "e55533c6e358", "89c617ff2299"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "aa1089f2edc0"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "e96acdd915c3", - "effects": ["6bab186637b0", "238b10afd803"] - } - }, - { - "id": "host-view-settings-sync.result-null:settled", - "observation": { - "sender": ["2f74fcfacfbd", "e55533c6e358", "89c617ff2299"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "aa1089f2edc0"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "e96acdd915c3", - "effects": ["6bab186637b0", "238b10afd803"] - } - }, - { - "id": "host-view-settings-sync.inner-ok-missing:settled", - "observation": { - "sender": ["754a5e5d6868", "e55533c6e358", "89c617ff2299"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "aa1089f2edc0"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "e96acdd915c3", - "effects": ["6bab186637b0", "238b10afd803"] - } - }, - { - "id": "host-view-settings-sync.inner-false-string-error:settled", - "observation": { - "sender": ["c40ad123c151", "e55533c6e358", "89c617ff2299"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "aa1089f2edc0"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "e96acdd915c3", - "effects": ["6bab186637b0", "238b10afd803"] - } - }, - { - "id": "host-view-settings-sync.inner-false-object-error:settled", - "observation": { - "sender": ["efd2522b079c", "e55533c6e358", "89c617ff2299"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "aa1089f2edc0"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "e96acdd915c3", - "effects": ["6bab186637b0", "238b10afd803"] - } - }, - { - "id": "host-view-settings-sync.outer-refused:settled", - "observation": { - "sender": ["6811622f22fd", "e55533c6e358", "f56221cb03b8"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "918022e415be", - "effects": ["6bab186637b0", "ec949dc49cb9", "a9b819fe5a27"] - } - }, - { - "id": "host-view-settings-sync.outer-refused-no-message:settled", - "observation": { - "sender": ["3937ae2aa8ac", "e55533c6e358", "f56221cb03b8"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "918022e415be", - "effects": ["6bab186637b0", "ec949dc49cb9", "a9b819fe5a27"] - } - }, - { - "id": "host-view-settings-sync.method-not-found:settled", - "observation": { - "sender": ["443c5731ec35", "e55533c6e358", "f56221cb03b8"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "918022e415be", - "effects": ["6bab186637b0", "ec949dc49cb9", "a9b819fe5a27"] - } - }, - { - "id": "host-view-settings-sync.transport-rejection:settled", - "observation": { - "sender": ["19da51d77d45", "e55533c6e358", "f56221cb03b8"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "918022e415be", - "effects": ["6bab186637b0", "ec949dc49cb9", "a9b819fe5a27"] - } - }, - { - "id": "host-view-settings-sync.transport-rejection-no-message:settled", - "observation": { - "sender": ["f2c38899636a", "e55533c6e358", "f56221cb03b8"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "918022e415be", - "effects": ["6bab186637b0", "ec949dc49cb9", "a9b819fe5a27"] - } - } - ] - } -} 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 deleted file mode 100644 index 7b9bc3b6a1c..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-host.view-settings-ui.set-1.json +++ /dev/null @@ -1,986 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "host.view-settings", - "family": "host.view-settings", - "namedDeltas": [], - "values": { - "1071e4898c81": { - "name": "ui.set#1", - "ordinal": 8, - "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-3", - "ok": false - } - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "424e4d52d6fa": { - "view": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": true, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": true, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": false, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "4cc5a473bafa": { - "name": "ui.set#1", - "ordinal": 8, - "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-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "51d4cb56be85": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "651e8014c9ff": { - "name": "ui.get#1", - "ordinal": 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" - } - } - } - } - }, - "6bab186637b0": { - "name": "showPinnedInGroups", - "ordinal": 5, - "value": false - }, - "793af4fc3c95": { - "name": "ui.set#1", - "ordinal": 8, - "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-3", - "ok": false - } - } - }, - "8369a6f35fda": { - "name": "view", - "ordinal": 6, - "value": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": true, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": true, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": false, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "8ab052f2be74": { - "name": "ui.set#1", - "ordinal": 8, - "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-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "985caf5772e9": { - "name": "ui.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "b2b58c2d731f": { - "name": "ui.set#1", - "ordinal": 8, - "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 - } - } - }, - "b5cabaf13de8": { - "name": "ui.set#1", - "ordinal": 8, - "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-3", - "ok": false - } - } - }, - "c0ca5ec08d54": { - "name": "ui.set#1", - "ordinal": 8, - "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-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "c49dcad120d2": { - "name": "view", - "ordinal": 7, - "value": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": true, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": true, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": false, - "sortBy": "name", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "c54bbdf6b784": { - "name": "ui.set#1", - "ordinal": 8, - "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 - } - } - }, - "cd9c5de9f2aa": { - "name": "ui.set#1", - "ordinal": 9, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ui.set\",\"params\":{\"sortBy\":\"name\"}}" - }, - "dc007face350": { - "view": { - "agentActivityDisplayMode": "compact", - "collapsedGroups": [], - "compactWorktreeCards": false, - "filters": { - "alwaysShowDefaultBranchWorkspace": true, - "filterRepoIds": [], - "hideAutomationGeneratedWorkspaces": false, - "hideCliCreatedWorkspaces": false, - "hideDefaultBranchWorkspace": false, - "hideDetachedHeadWorkspaces": false, - "hideSleepingWorkspaces": false, - "hideWorkspacesFromOtherDevices": false, - "visibleHostIds": { - "$rpc": "null" - } - }, - "groupBy": "repo", - "newCardStyle": false, - "projectOrderBy": { - "$rpc": "null" - }, - "sharesOtherClientFilter": { - "$rpc": "null" - }, - "sortBy": "recent", - "workspaceStatuses": [ - { - "color": "neutral", - "icon": "circle", - "id": "todo", - "label": "Todo" - }, - { - "color": "conductor-progress", - "icon": "conductor-progress", - "id": "in-progress", - "label": "In progress" - }, - { - "color": "conductor-review", - "icon": "conductor-review", - "id": "in-review", - "label": "In review" - }, - { - "color": "conductor-done", - "icon": "conductor-done", - "id": "completed", - "label": "Done" - } - ], - "worktreeCardProperties": [ - "status", - "unread", - "issue", - "linear-issue", - "jira-issue", - "pr", - "automation", - "cli", - "comment", - "ports", - "inline-agents", - "host" - ] - } - }, - "e524e828664d": { - "name": "ui.set#1", - "ordinal": 8, - "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-3", - "ok": true - } - } - }, - "e55533c6e358": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "compactWorktreeCards": true - } - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec336f23ef91": { - "name": "ui.get#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" - }, - "eebc1c0c9b3f": { - "name": "ui.set#1", - "ordinal": 8, - "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-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "f56221cb03b8": { - "name": "ui.set#1", - "ordinal": 8, - "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-3", - "ok": true, - "result": { - "ok": true - } - } - } - } - }, - "recording": { - "scenario": "matrix-host.view-settings-ui.set-1", - "checkpoints": [ - { - "id": "host-view-settings-sync.prelude:ui-pending", - "observation": { - "sender": ["985caf5772e9", "51d4cb56be85"], - "payloads": ["ec336f23ef91", "1c2564f1daca"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "9270aeb7d9c6" - }, - "state": "dc007face350", - "effects": [] - } - }, - { - "id": "host-view-settings-sync.normal:settled", - "observation": { - "sender": ["651e8014c9ff", "e55533c6e358", "f56221cb03b8"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "424e4d52d6fa", - "effects": ["6bab186637b0", "8369a6f35fda", "c49dcad120d2"] - } - }, - { - "id": "host-view-settings-sync.result-absent:settled", - "observation": { - "sender": ["651e8014c9ff", "e55533c6e358", "e524e828664d"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "424e4d52d6fa", - "effects": ["6bab186637b0", "8369a6f35fda", "c49dcad120d2"] - } - }, - { - "id": "host-view-settings-sync.result-null:settled", - "observation": { - "sender": ["651e8014c9ff", "e55533c6e358", "eebc1c0c9b3f"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "424e4d52d6fa", - "effects": ["6bab186637b0", "8369a6f35fda", "c49dcad120d2"] - } - }, - { - "id": "host-view-settings-sync.inner-ok-missing:settled", - "observation": { - "sender": ["651e8014c9ff", "e55533c6e358", "4cc5a473bafa"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "424e4d52d6fa", - "effects": ["6bab186637b0", "8369a6f35fda", "c49dcad120d2"] - } - }, - { - "id": "host-view-settings-sync.inner-false-string-error:settled", - "observation": { - "sender": ["651e8014c9ff", "e55533c6e358", "8ab052f2be74"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "424e4d52d6fa", - "effects": ["6bab186637b0", "8369a6f35fda", "c49dcad120d2"] - } - }, - { - "id": "host-view-settings-sync.inner-false-object-error:settled", - "observation": { - "sender": ["651e8014c9ff", "e55533c6e358", "c0ca5ec08d54"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "424e4d52d6fa", - "effects": ["6bab186637b0", "8369a6f35fda", "c49dcad120d2"] - } - }, - { - "id": "host-view-settings-sync.outer-refused:settled", - "observation": { - "sender": ["651e8014c9ff", "e55533c6e358", "1071e4898c81"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "424e4d52d6fa", - "effects": ["6bab186637b0", "8369a6f35fda", "c49dcad120d2"] - } - }, - { - "id": "host-view-settings-sync.outer-refused-no-message:settled", - "observation": { - "sender": ["651e8014c9ff", "e55533c6e358", "b5cabaf13de8"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "424e4d52d6fa", - "effects": ["6bab186637b0", "8369a6f35fda", "c49dcad120d2"] - } - }, - { - "id": "host-view-settings-sync.method-not-found:settled", - "observation": { - "sender": ["651e8014c9ff", "e55533c6e358", "793af4fc3c95"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "424e4d52d6fa", - "effects": ["6bab186637b0", "8369a6f35fda", "c49dcad120d2"] - } - }, - { - "id": "host-view-settings-sync.transport-rejection:settled", - "observation": { - "sender": ["651e8014c9ff", "e55533c6e358", "b2b58c2d731f"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "424e4d52d6fa", - "effects": ["6bab186637b0", "8369a6f35fda", "c49dcad120d2"] - } - }, - { - "id": "host-view-settings-sync.transport-rejection-no-message:settled", - "observation": { - "sender": ["651e8014c9ff", "e55533c6e358", "c54bbdf6b784"], - "payloads": ["ec336f23ef91", "1c2564f1daca", "cd9c5de9f2aa"], - "settlements": { - "mount": "eb79a9b3682a", - "sync": "eb79a9b3682a", - "sort": "eb79a9b3682a" - }, - "state": "424e4d52d6fa", - "effects": ["6bab186637b0", "8369a6f35fda", "c49dcad120d2"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-host.worktree-actions-repo.hooks-1.json b/mobile/rpc-foundation/goldens/matrix-host.worktree-actions-repo.hooks-1.json deleted file mode 100644 index 5af7969f90e..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-host.worktree-actions-repo.hooks-1.json +++ /dev/null @@ -1,1424 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "host.worktree-actions", - "family": "host.worktree-actions", - "namedDeltas": [], - "values": { - "00304f7e9d7b": { - "name": "repo.hooks#1", - "ordinal": 11, - "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 - } - } - }, - "047f5e4dfc2b": { - "name": "optimisticActiveWorktreeIdentity", - "ordinal": 6, - "value": "|wt-1" - }, - "04adcc2c4239": { - "name": "lastKnownWorktrees", - "ordinal": 10, - "value": [] - }, - "0f6c13387a7c": { - "name": "repo.hooks#1", - "ordinal": 12, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "13f823f8ea62": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "14ce9f03298e": { - "name": "pinnedIds", - "ordinal": 3, - "value": ["wt-1"] - }, - "15ebd42659a3": { - "name": "repo.hooks#1", - "ordinal": 11, - "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-3", - "ok": false - } - } - }, - "1a72fb0058a7": { - "name": "repo.hooks#1", - "ordinal": 11, - "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-3", - "ok": false - } - } - }, - "1c5bb0f1882e": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - } - } - }, - "3b32fd7ad9ed": { - "name": "worktrees", - "ordinal": 16, - "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" - } - ] - }, - "40f6e6f5e2cd": { - "name": "worktree.activate#1", - "ordinal": 7, - "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 - } - } - } - }, - "47602c8e53e9": { - "name": "worktree.activate#1", - "ordinal": 8, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.activate\",\"params\":{\"worktree\":\"id:wt-1\",\"notifyClients\":false,\"navigation\":\"caller\"}}" - }, - "4eb480a35154": { - "actionError": "", - "archiveHookFailure": { - "$rpc": "null" - }, - "archiveTrustPrompt": { - "$rpc": "null" - }, - "confirmRemoveHost": false, - "desktopRepos": [ - { - "id": "repo-1" - } - ], - "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"], - "serverWorkspaces": { - "hosts": [], - "worktrees": [] - }, - "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" - } - ] - }, - "7e404e21d19e": { - "name": "repo.hooks#1", - "ordinal": 11, - "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-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "7e51cde4c88e": { - "name": "repo.hooks#1", - "ordinal": 11, - "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-3", - "ok": true, - "result": { - "hasHooksFile": false, - "hooks": { - "$rpc": "null" - }, - "setupConfig": { - "$rpc": "null" - }, - "setupRunPolicy": "run-by-default", - "source": { - "$rpc": "null" - } - } - } - } - }, - "85660440d2c2": { - "name": "repo.hooks#1", - "ordinal": 11, - "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-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "989153283864": { - "name": "worktrees", - "ordinal": 9, - "value": [] - }, - "9a2d39ba928f": { - "name": "worktree.set#1", - "ordinal": 5, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:wt-1\",\"isPinned\":true}}" - }, - "a02f744ea7c4": { - "name": "lastKnownWorktrees", - "ordinal": 14, - "value": [] - }, - "a53ae3680a65": { - "name": "repo.hooks#1", - "ordinal": 11, - "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": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "ab3d8cb135d5": { - "name": "repo.hooks#1", - "ordinal": 11, - "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-3", - "ok": false - } - } - }, - "ab935dad4cfb": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - }, - "b01b15141c34": { - "name": "repo.hooks#1", - "ordinal": 11, - "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-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "b6dbb34960f3": { - "name": "repo.hooks#1", - "ordinal": 11, - "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-3", - "ok": true - } - } - }, - "c43b880ad7ff": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "c6732725aaa2": { - "name": "worktrees", - "ordinal": 13, - "value": [] - }, - "ca91c555e48e": { - "name": "worktrees", - "ordinal": 1, - "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" - } - ] - }, - "cb818cac752a": { - "actionError": "", - "archiveHookFailure": { - "$rpc": "null" - }, - "archiveTrustPrompt": { - "$rpc": "null" - }, - "confirmRemoveHost": false, - "desktopRepos": [ - { - "id": "repo-1" - } - ], - "lastKnownWorktrees": [], - "optimisticActiveWorktreeIdentity": "|wt-1", - "pinnedIds": ["wt-1"], - "serverWorkspaces": { - "hosts": [], - "worktrees": [] - }, - "worktrees": [] - }, - "d41a5ebf7517": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Client closed", - "isRpcDeliveryUnknown": false - } - } - }, - "da6c9e1a507d": { - "name": "lastKnownWorktrees", - "ordinal": 2, - "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" - } - ] - }, - "e11327b1da17": { - "name": "worktree.rm#1", - "ordinal": 16, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.rm\",\"params\":{\"worktree\":\"id:wt-1\",\"force\":true,\"runHooks\":false}}" - }, - "e53a672528b0": { - "name": "repo.hooks#1", - "ordinal": 11, - "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-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "e8ca757409ba": { - "name": "lastKnownWorktrees", - "ordinal": 17, - "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" - } - ] - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ee9e2b08ca3d": { - "name": "repo.hooks#1", - "ordinal": 11, - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-host.worktree-actions-repo.hooks-1", - "checkpoints": [ - { - "id": "host-worktree-actions-pin-open-delete.prelude:pin-optimistic", - "observation": { - "sender": ["ab935dad4cfb"], - "payloads": ["9a2d39ba928f"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a" - }, - "state": "4eb480a35154", - "effects": ["ca91c555e48e", "da6c9e1a507d", "14ce9f03298e"] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.prelude:cleanup", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "a53ae3680a65", "d41a5ebf7517"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4", - "3b32fd7ad9ed", - "e8ca757409ba" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.normal:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.normal:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.result-absent:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "b6dbb34960f3", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.result-absent:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "b6dbb34960f3", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.result-null:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "e53a672528b0", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.result-null:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "e53a672528b0", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-ok-missing:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e404e21d19e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-ok-missing:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e404e21d19e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-false-string-error:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "85660440d2c2", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-false-string-error:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "85660440d2c2", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-false-object-error:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "b01b15141c34", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-false-object-error:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "b01b15141c34", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.outer-refused:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "ab3d8cb135d5", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.outer-refused:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "ab3d8cb135d5", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.outer-refused-no-message:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "15ebd42659a3", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.outer-refused-no-message:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "15ebd42659a3", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.method-not-found:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "1a72fb0058a7", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.method-not-found:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "1a72fb0058a7", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.transport-rejection:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "00304f7e9d7b", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.transport-rejection:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "00304f7e9d7b", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.transport-rejection-no-message:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "ee9e2b08ca3d", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.transport-rejection-no-message:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "ee9e2b08ca3d", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - } - ] - } -} 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 deleted file mode 100644 index e957b04dfb4..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-host.worktree-actions-worktree.activate-1.json +++ /dev/null @@ -1,1308 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "host.worktree-actions", - "family": "host.worktree-actions", - "namedDeltas": [], - "values": { - "047f5e4dfc2b": { - "name": "optimisticActiveWorktreeIdentity", - "ordinal": 6, - "value": "|wt-1" - }, - "04adcc2c4239": { - "name": "lastKnownWorktrees", - "ordinal": 10, - "value": [] - }, - "0f6c13387a7c": { - "name": "repo.hooks#1", - "ordinal": 12, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "13f823f8ea62": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "14ce9f03298e": { - "name": "pinnedIds", - "ordinal": 3, - "value": ["wt-1"] - }, - "1c5bb0f1882e": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - } - } - }, - "363cbceb6083": { - "name": "worktree.activate#1", - "ordinal": 7, - "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 - } - } - } - }, - "40f6e6f5e2cd": { - "name": "worktree.activate#1", - "ordinal": 7, - "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 - } - } - } - }, - "460ff5501760": { - "name": "worktree.activate#1", - "ordinal": 7, - "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 - } - } - }, - "47602c8e53e9": { - "name": "worktree.activate#1", - "ordinal": 8, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.activate\",\"params\":{\"worktree\":\"id:wt-1\",\"notifyClients\":false,\"navigation\":\"caller\"}}" - }, - "4eb480a35154": { - "actionError": "", - "archiveHookFailure": { - "$rpc": "null" - }, - "archiveTrustPrompt": { - "$rpc": "null" - }, - "confirmRemoveHost": false, - "desktopRepos": [ - { - "id": "repo-1" - } - ], - "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"], - "serverWorkspaces": { - "hosts": [], - "worktrees": [] - }, - "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" - } - ] - }, - "712239e7283b": { - "name": "worktree.activate#1", - "ordinal": 7, - "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" - } - } - } - }, - "7e51cde4c88e": { - "name": "repo.hooks#1", - "ordinal": 11, - "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-3", - "ok": true, - "result": { - "hasHooksFile": false, - "hooks": { - "$rpc": "null" - }, - "setupConfig": { - "$rpc": "null" - }, - "setupRunPolicy": "run-by-default", - "source": { - "$rpc": "null" - } - } - } - } - }, - "841394e7fa21": { - "name": "worktree.activate#1", - "ordinal": 7, - "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 - } - } - }, - "86392075ba19": { - "name": "worktree.activate#1", - "ordinal": 7, - "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 - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "989153283864": { - "name": "worktrees", - "ordinal": 9, - "value": [] - }, - "9a2d39ba928f": { - "name": "worktree.set#1", - "ordinal": 5, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:wt-1\",\"isPinned\":true}}" - }, - "a02f744ea7c4": { - "name": "lastKnownWorktrees", - "ordinal": 14, - "value": [] - }, - "ab935dad4cfb": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - }, - "b4b6f3f58e14": { - "name": "worktree.activate#1", - "ordinal": 7, - "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 - } - } - }, - "b6f0316c3708": { - "name": "worktree.activate#1", - "ordinal": 7, - "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 - } - } - }, - "c43b880ad7ff": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "c6732725aaa2": { - "name": "worktrees", - "ordinal": 13, - "value": [] - }, - "ca91c555e48e": { - "name": "worktrees", - "ordinal": 1, - "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" - } - ] - }, - "cb818cac752a": { - "actionError": "", - "archiveHookFailure": { - "$rpc": "null" - }, - "archiveTrustPrompt": { - "$rpc": "null" - }, - "confirmRemoveHost": false, - "desktopRepos": [ - { - "id": "repo-1" - } - ], - "lastKnownWorktrees": [], - "optimisticActiveWorktreeIdentity": "|wt-1", - "pinnedIds": ["wt-1"], - "serverWorkspaces": { - "hosts": [], - "worktrees": [] - }, - "worktrees": [] - }, - "d1481649428f": { - "name": "worktree.activate#1", - "ordinal": 7, - "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 - } - } - } - }, - "d7a804fea94d": { - "name": "worktree.activate#1", - "ordinal": 7, - "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 - } - } - }, - "da6c9e1a507d": { - "name": "lastKnownWorktrees", - "ordinal": 2, - "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" - } - ] - }, - "e11327b1da17": { - "name": "worktree.rm#1", - "ordinal": 16, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.rm\",\"params\":{\"worktree\":\"id:wt-1\",\"force\":true,\"runHooks\":false}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "fb33dfb69547": { - "name": "worktree.activate#1", - "ordinal": 7, - "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" - } - } - } - } - }, - "recording": { - "scenario": "matrix-host.worktree-actions-worktree.activate-1", - "checkpoints": [ - { - "id": "host-worktree-actions-pin-open-delete.prelude:pin-optimistic", - "observation": { - "sender": ["ab935dad4cfb"], - "payloads": ["9a2d39ba928f"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a" - }, - "state": "4eb480a35154", - "effects": ["ca91c555e48e", "da6c9e1a507d", "14ce9f03298e"] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.normal:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.normal:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.result-absent:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "d7a804fea94d", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.result-absent:settled", - "observation": { - "sender": ["1c5bb0f1882e", "d7a804fea94d", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.result-null:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "fb33dfb69547", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.result-null:settled", - "observation": { - "sender": ["1c5bb0f1882e", "fb33dfb69547", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-ok-missing:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "712239e7283b", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-ok-missing:settled", - "observation": { - "sender": ["1c5bb0f1882e", "712239e7283b", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-false-string-error:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "363cbceb6083", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-false-string-error:settled", - "observation": { - "sender": ["1c5bb0f1882e", "363cbceb6083", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-false-object-error:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "d1481649428f", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-false-object-error:settled", - "observation": { - "sender": ["1c5bb0f1882e", "d1481649428f", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.outer-refused:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "86392075ba19", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.outer-refused:settled", - "observation": { - "sender": ["1c5bb0f1882e", "86392075ba19", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.outer-refused-no-message:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "460ff5501760", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.outer-refused-no-message:settled", - "observation": { - "sender": ["1c5bb0f1882e", "460ff5501760", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.method-not-found:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "b4b6f3f58e14", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.method-not-found:settled", - "observation": { - "sender": ["1c5bb0f1882e", "b4b6f3f58e14", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.transport-rejection:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "b6f0316c3708", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.transport-rejection:settled", - "observation": { - "sender": ["1c5bb0f1882e", "b6f0316c3708", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.transport-rejection-no-message:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "841394e7fa21", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.transport-rejection-no-message:settled", - "observation": { - "sender": ["1c5bb0f1882e", "841394e7fa21", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - } - ] - } -} 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 deleted file mode 100644 index e0765ca54fc..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-host.worktree-actions-worktree.rm-1.json +++ /dev/null @@ -1,1239 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "host.worktree-actions", - "family": "host.worktree-actions", - "namedDeltas": [], - "values": { - "027a115c937a": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "047f5e4dfc2b": { - "name": "optimisticActiveWorktreeIdentity", - "ordinal": 6, - "value": "|wt-1" - }, - "04adcc2c4239": { - "name": "lastKnownWorktrees", - "ordinal": 10, - "value": [] - }, - "0f6c13387a7c": { - "name": "repo.hooks#1", - "ordinal": 12, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "13f823f8ea62": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "14ce9f03298e": { - "name": "pinnedIds", - "ordinal": 3, - "value": ["wt-1"] - }, - "1c5bb0f1882e": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - } - } - }, - "2a0655df72e4": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-4", - "ok": false - } - } - }, - "40f6e6f5e2cd": { - "name": "worktree.activate#1", - "ordinal": 7, - "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 - } - } - } - }, - "47602c8e53e9": { - "name": "worktree.activate#1", - "ordinal": 8, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.activate\",\"params\":{\"worktree\":\"id:wt-1\",\"notifyClients\":false,\"navigation\":\"caller\"}}" - }, - "4eb480a35154": { - "actionError": "", - "archiveHookFailure": { - "$rpc": "null" - }, - "archiveTrustPrompt": { - "$rpc": "null" - }, - "confirmRemoveHost": false, - "desktopRepos": [ - { - "id": "repo-1" - } - ], - "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"], - "serverWorkspaces": { - "hosts": [], - "worktrees": [] - }, - "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" - } - ] - }, - "5a14e9b73779": { - "name": "lastKnownWorktrees", - "ordinal": 18, - "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" - } - ] - }, - "6791a17513e2": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-4", - "ok": false - } - } - }, - "7e51cde4c88e": { - "name": "repo.hooks#1", - "ordinal": 11, - "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-3", - "ok": true, - "result": { - "hasHooksFile": false, - "hooks": { - "$rpc": "null" - }, - "setupConfig": { - "$rpc": "null" - }, - "setupRunPolicy": "run-by-default", - "source": { - "$rpc": "null" - } - } - } - } - }, - "85b8e9350f03": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "87b7381a7456": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "92d8bbce2d19": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "989153283864": { - "name": "worktrees", - "ordinal": 9, - "value": [] - }, - "9a2d39ba928f": { - "name": "worktree.set#1", - "ordinal": 5, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:wt-1\",\"isPinned\":true}}" - }, - "a02f744ea7c4": { - "name": "lastKnownWorktrees", - "ordinal": 14, - "value": [] - }, - "ab935dad4cfb": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - }, - "ad989937295f": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "addbf02eae17": { - "actionError": "", - "archiveHookFailure": { - "$rpc": "null" - }, - "archiveTrustPrompt": { - "$rpc": "null" - }, - "confirmRemoveHost": false, - "desktopRepos": [ - { - "id": "repo-1" - } - ], - "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"], - "serverWorkspaces": { - "hosts": [], - "worktrees": [] - }, - "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" - } - ] - }, - "beef621e52d6": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "c43b880ad7ff": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "c6732725aaa2": { - "name": "worktrees", - "ordinal": 13, - "value": [] - }, - "ca91c555e48e": { - "name": "worktrees", - "ordinal": 1, - "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" - } - ] - }, - "cb818cac752a": { - "actionError": "", - "archiveHookFailure": { - "$rpc": "null" - }, - "archiveTrustPrompt": { - "$rpc": "null" - }, - "confirmRemoveHost": false, - "desktopRepos": [ - { - "id": "repo-1" - } - ], - "lastKnownWorktrees": [], - "optimisticActiveWorktreeIdentity": "|wt-1", - "pinnedIds": ["wt-1"], - "serverWorkspaces": { - "hosts": [], - "worktrees": [] - }, - "worktrees": [] - }, - "da6c9e1a507d": { - "name": "lastKnownWorktrees", - "ordinal": 2, - "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" - } - ] - }, - "e11327b1da17": { - "name": "worktree.rm#1", - "ordinal": 16, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.rm\",\"params\":{\"worktree\":\"id:wt-1\",\"force\":true,\"runHooks\":false}}" - }, - "e452e0d48e73": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "e8b73e715788": { - "name": "worktrees", - "ordinal": 17, - "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" - } - ] - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "fdcccbfa2bcb": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "ff580c7a669f": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-4", - "ok": false - } - } - } - }, - "recording": { - "scenario": "matrix-host.worktree-actions-worktree.rm-1", - "checkpoints": [ - { - "id": "host-worktree-actions-pin-open-delete.prelude:pin-optimistic", - "observation": { - "sender": ["ab935dad4cfb"], - "payloads": ["9a2d39ba928f"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a" - }, - "state": "4eb480a35154", - "effects": ["ca91c555e48e", "da6c9e1a507d", "14ce9f03298e"] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.prelude:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.prelude:cleanup", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "87b7381a7456"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4", - "e8b73e715788", - "5a14e9b73779" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.normal:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.result-absent:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "027a115c937a"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.result-null:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "e452e0d48e73"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-ok-missing:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "85b8e9350f03"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-false-string-error:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "fdcccbfa2bcb"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-false-object-error:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "ad989937295f"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.outer-refused:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "ff580c7a669f"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "addbf02eae17", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4", - "e8b73e715788", - "5a14e9b73779" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.outer-refused-no-message:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "6791a17513e2"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "addbf02eae17", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4", - "e8b73e715788", - "5a14e9b73779" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.method-not-found:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "2a0655df72e4"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "addbf02eae17", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4", - "e8b73e715788", - "5a14e9b73779" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.transport-rejection:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "92d8bbce2d19"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "addbf02eae17", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4", - "e8b73e715788", - "5a14e9b73779" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.transport-rejection-no-message:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "beef621e52d6"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "addbf02eae17", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4", - "e8b73e715788", - "5a14e9b73779" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 748bc758add..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-host.worktree-actions-worktree.set-1.json +++ /dev/null @@ -1,1298 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "host.worktree-actions", - "family": "host.worktree-actions", - "namedDeltas": [], - "values": { - "01ee62307265": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - } - } - }, - "047f5e4dfc2b": { - "name": "optimisticActiveWorktreeIdentity", - "ordinal": 6, - "value": "|wt-1" - }, - "04adcc2c4239": { - "name": "lastKnownWorktrees", - "ordinal": 10, - "value": [] - }, - "0a3047808458": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - } - } - }, - "0f6c13387a7c": { - "name": "repo.hooks#1", - "ordinal": 12, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "1087ee04296d": { - "name": "worktree.set#1", - "ordinal": 4, - "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" - } - } - } - }, - "13f823f8ea62": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "14ce9f03298e": { - "name": "pinnedIds", - "ordinal": 3, - "value": ["wt-1"] - }, - "1c5bb0f1882e": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - } - } - }, - "268f33cbfe5e": { - "name": "worktree.set#1", - "ordinal": 4, - "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" - } - } - } - }, - "33ef7c1e7ddd": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - } - }, - "38ff2d87e8b1": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - } - }, - "40f6e6f5e2cd": { - "name": "worktree.activate#1", - "ordinal": 7, - "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 - } - } - } - }, - "47602c8e53e9": { - "name": "worktree.activate#1", - "ordinal": 8, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.activate\",\"params\":{\"worktree\":\"id:wt-1\",\"notifyClients\":false,\"navigation\":\"caller\"}}" - }, - "4eb480a35154": { - "actionError": "", - "archiveHookFailure": { - "$rpc": "null" - }, - "archiveTrustPrompt": { - "$rpc": "null" - }, - "confirmRemoveHost": false, - "desktopRepos": [ - { - "id": "repo-1" - } - ], - "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"], - "serverWorkspaces": { - "hosts": [], - "worktrees": [] - }, - "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" - } - ] - }, - "74a52ecbdd8d": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - } - }, - "7e51cde4c88e": { - "name": "repo.hooks#1", - "ordinal": 11, - "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-3", - "ok": true, - "result": { - "hasHooksFile": false, - "hooks": { - "$rpc": "null" - }, - "setupConfig": { - "$rpc": "null" - }, - "setupRunPolicy": "run-by-default", - "source": { - "$rpc": "null" - } - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "92e7c2e2b918": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - } - }, - "989153283864": { - "name": "worktrees", - "ordinal": 9, - "value": [] - }, - "9a2d39ba928f": { - "name": "worktree.set#1", - "ordinal": 5, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:wt-1\",\"isPinned\":true}}" - }, - "a0224ad477f4": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - } - }, - "a02f744ea7c4": { - "name": "lastKnownWorktrees", - "ordinal": 14, - "value": [] - }, - "ab935dad4cfb": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - }, - "ad7a8aaf8fb6": { - "name": "worktree.set#1", - "ordinal": 4, - "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 - } - } - }, - "c43b880ad7ff": { - "name": "worktree.rm#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "worktree.rm" - }, - { - "name": "params", - "value": { - "force": true, - "runHooks": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 180000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "c6732725aaa2": { - "name": "worktrees", - "ordinal": 13, - "value": [] - }, - "ca91c555e48e": { - "name": "worktrees", - "ordinal": 1, - "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" - } - ] - }, - "cb818cac752a": { - "actionError": "", - "archiveHookFailure": { - "$rpc": "null" - }, - "archiveTrustPrompt": { - "$rpc": "null" - }, - "confirmRemoveHost": false, - "desktopRepos": [ - { - "id": "repo-1" - } - ], - "lastKnownWorktrees": [], - "optimisticActiveWorktreeIdentity": "|wt-1", - "pinnedIds": ["wt-1"], - "serverWorkspaces": { - "hosts": [], - "worktrees": [] - }, - "worktrees": [] - }, - "da6c9e1a507d": { - "name": "lastKnownWorktrees", - "ordinal": 2, - "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" - } - ] - }, - "e11327b1da17": { - "name": "worktree.rm#1", - "ordinal": 16, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.rm\",\"params\":{\"worktree\":\"id:wt-1\",\"force\":true,\"runHooks\":false}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-host.worktree-actions-worktree.set-1", - "checkpoints": [ - { - "id": "host-worktree-actions-pin-open-delete.prelude:pin-optimistic", - "observation": { - "sender": ["ab935dad4cfb"], - "payloads": ["9a2d39ba928f"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a" - }, - "state": "4eb480a35154", - "effects": ["ca91c555e48e", "da6c9e1a507d", "14ce9f03298e"] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.normal:delete-optimistic", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.normal:settled", - "observation": { - "sender": ["1c5bb0f1882e", "40f6e6f5e2cd", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.result-absent:delete-optimistic", - "observation": { - "sender": ["92e7c2e2b918", "40f6e6f5e2cd", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.result-absent:settled", - "observation": { - "sender": ["92e7c2e2b918", "40f6e6f5e2cd", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.result-null:delete-optimistic", - "observation": { - "sender": ["1087ee04296d", "40f6e6f5e2cd", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.result-null:settled", - "observation": { - "sender": ["1087ee04296d", "40f6e6f5e2cd", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-ok-missing:delete-optimistic", - "observation": { - "sender": ["268f33cbfe5e", "40f6e6f5e2cd", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-ok-missing:settled", - "observation": { - "sender": ["268f33cbfe5e", "40f6e6f5e2cd", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-false-string-error:delete-optimistic", - "observation": { - "sender": ["01ee62307265", "40f6e6f5e2cd", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-false-string-error:settled", - "observation": { - "sender": ["01ee62307265", "40f6e6f5e2cd", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-false-object-error:delete-optimistic", - "observation": { - "sender": ["0a3047808458", "40f6e6f5e2cd", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.inner-false-object-error:settled", - "observation": { - "sender": ["0a3047808458", "40f6e6f5e2cd", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.outer-refused:delete-optimistic", - "observation": { - "sender": ["ad7a8aaf8fb6", "40f6e6f5e2cd", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.outer-refused:settled", - "observation": { - "sender": ["ad7a8aaf8fb6", "40f6e6f5e2cd", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.outer-refused-no-message:delete-optimistic", - "observation": { - "sender": ["38ff2d87e8b1", "40f6e6f5e2cd", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.outer-refused-no-message:settled", - "observation": { - "sender": ["38ff2d87e8b1", "40f6e6f5e2cd", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.method-not-found:delete-optimistic", - "observation": { - "sender": ["33ef7c1e7ddd", "40f6e6f5e2cd", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.method-not-found:settled", - "observation": { - "sender": ["33ef7c1e7ddd", "40f6e6f5e2cd", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.transport-rejection:delete-optimistic", - "observation": { - "sender": ["74a52ecbdd8d", "40f6e6f5e2cd", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.transport-rejection:settled", - "observation": { - "sender": ["74a52ecbdd8d", "40f6e6f5e2cd", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.transport-rejection-no-message:delete-optimistic", - "observation": { - "sender": ["a0224ad477f4", "40f6e6f5e2cd", "7e51cde4c88e", "13f823f8ea62"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "9270aeb7d9c6" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - }, - { - "id": "host-worktree-actions-pin-open-delete.transport-rejection-no-message:settled", - "observation": { - "sender": ["a0224ad477f4", "40f6e6f5e2cd", "7e51cde4c88e", "c43b880ad7ff"], - "payloads": ["9a2d39ba928f", "47602c8e53e9", "0f6c13387a7c", "e11327b1da17"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle-pin": "eb79a9b3682a", - "open-session": "eb79a9b3682a", - "delete": "eb79a9b3682a" - }, - "state": "cb818cac752a", - "effects": [ - "ca91c555e48e", - "da6c9e1a507d", - "14ce9f03298e", - "047f5e4dfc2b", - "989153283864", - "04adcc2c4239", - "c6732725aaa2", - "a02f744ea7c4" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 6c45696bd94..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-chain-git.push-1.json +++ /dev/null @@ -1,1015 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.hosted-review-create", - "family": "hostedReview.create-chain", - "namedDeltas": [], - "values": { - "0122a4affef8": { - "name": "hostedReview.create#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Recorded title\",\"body\":\"Recorded body\",\"draft\":false}}" - }, - "09c11f9624a6": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "0f5e4615c902": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "121d8ad302a6": { - "name": "worktree.set#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"main\",\"linkedPR\":5}}" - }, - "147a3131d1b9": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - } - } - }, - "1d6ecb1accd3": { - "outcome": { - "error": "Push failed. Resolve the push error, then try again.", - "ok": false - } - }, - "2b7bba64b59e": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "3f946ad0279c": { - "outcome": "uncreated" - }, - "4abbe6f2791c": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "5c21823040d9": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "7cd929185e93": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "83d53481048c": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "840445dcb569": { - "name": "git.push#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "887b422801fa": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "9fca4a23f963": { - "outcome": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "a95ae8a9ee57": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "aaafb68c2976": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "b9099560487b": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "bd1d32731c19": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "c0c700a95bf7": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "cbe1742f3b41": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d9fba50c2d0c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Push failed. Resolve the push error, then try again.", - "ok": false - } - }, - "dfaf8f437106": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "fa14746d1197": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - } - }, - "recording": { - "scenario": "matrix-hostedreview.create-chain-git.push-1", - "checkpoints": [ - { - "id": "sc-create-pushes-then-creates.prelude:push-pending", - "observation": { - "sender": ["b9099560487b"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.normal:create-pending", - "observation": { - "sender": ["2b7bba64b59e", "dfaf8f437106"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.normal:link-pending", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "cbe1742f3b41"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.normal:settled", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "7cd929185e93"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "a95ae8a9ee57" - }, - "state": "9fca4a23f963", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.result-absent:create-pending", - "observation": { - "sender": ["fa14746d1197", "dfaf8f437106"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.result-absent:link-pending", - "observation": { - "sender": ["fa14746d1197", "147a3131d1b9", "cbe1742f3b41"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.result-absent:settled", - "observation": { - "sender": ["fa14746d1197", "147a3131d1b9", "7cd929185e93"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "a95ae8a9ee57" - }, - "state": "9fca4a23f963", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.result-null:create-pending", - "observation": { - "sender": ["887b422801fa", "dfaf8f437106"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.result-null:link-pending", - "observation": { - "sender": ["887b422801fa", "147a3131d1b9", "cbe1742f3b41"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.result-null:settled", - "observation": { - "sender": ["887b422801fa", "147a3131d1b9", "7cd929185e93"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "a95ae8a9ee57" - }, - "state": "9fca4a23f963", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-ok-missing:create-pending", - "observation": { - "sender": ["aaafb68c2976", "dfaf8f437106"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-ok-missing:link-pending", - "observation": { - "sender": ["aaafb68c2976", "147a3131d1b9", "cbe1742f3b41"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-ok-missing:settled", - "observation": { - "sender": ["aaafb68c2976", "147a3131d1b9", "7cd929185e93"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "a95ae8a9ee57" - }, - "state": "9fca4a23f963", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-false-string-error:create-pending", - "observation": { - "sender": ["5c21823040d9", "dfaf8f437106"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-false-string-error:link-pending", - "observation": { - "sender": ["5c21823040d9", "147a3131d1b9", "cbe1742f3b41"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-false-string-error:settled", - "observation": { - "sender": ["5c21823040d9", "147a3131d1b9", "7cd929185e93"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "a95ae8a9ee57" - }, - "state": "9fca4a23f963", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-false-object-error:create-pending", - "observation": { - "sender": ["0f5e4615c902", "dfaf8f437106"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-false-object-error:link-pending", - "observation": { - "sender": ["0f5e4615c902", "147a3131d1b9", "cbe1742f3b41"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-false-object-error:settled", - "observation": { - "sender": ["0f5e4615c902", "147a3131d1b9", "7cd929185e93"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "a95ae8a9ee57" - }, - "state": "9fca4a23f963", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.outer-refused:create-pending", - "observation": { - "sender": ["c0c700a95bf7"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "d9fba50c2d0c" - }, - "state": "1d6ecb1accd3", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.outer-refused:link-pending", - "observation": { - "sender": ["c0c700a95bf7"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "d9fba50c2d0c" - }, - "state": "1d6ecb1accd3", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.outer-refused:settled", - "observation": { - "sender": ["c0c700a95bf7"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "d9fba50c2d0c" - }, - "state": "1d6ecb1accd3", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.outer-refused-no-message:create-pending", - "observation": { - "sender": ["09c11f9624a6"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "d9fba50c2d0c" - }, - "state": "1d6ecb1accd3", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.outer-refused-no-message:link-pending", - "observation": { - "sender": ["09c11f9624a6"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "d9fba50c2d0c" - }, - "state": "1d6ecb1accd3", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.outer-refused-no-message:settled", - "observation": { - "sender": ["09c11f9624a6"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "d9fba50c2d0c" - }, - "state": "1d6ecb1accd3", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.method-not-found:create-pending", - "observation": { - "sender": ["bd1d32731c19"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "d9fba50c2d0c" - }, - "state": "1d6ecb1accd3", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.method-not-found:link-pending", - "observation": { - "sender": ["bd1d32731c19"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "d9fba50c2d0c" - }, - "state": "1d6ecb1accd3", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.method-not-found:settled", - "observation": { - "sender": ["bd1d32731c19"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "d9fba50c2d0c" - }, - "state": "1d6ecb1accd3", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.transport-rejection:create-pending", - "observation": { - "sender": ["4abbe6f2791c"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "d9fba50c2d0c" - }, - "state": "1d6ecb1accd3", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.transport-rejection:link-pending", - "observation": { - "sender": ["4abbe6f2791c"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "d9fba50c2d0c" - }, - "state": "1d6ecb1accd3", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.transport-rejection:settled", - "observation": { - "sender": ["4abbe6f2791c"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "d9fba50c2d0c" - }, - "state": "1d6ecb1accd3", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.transport-rejection-no-message:create-pending", - "observation": { - "sender": ["83d53481048c"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "d9fba50c2d0c" - }, - "state": "1d6ecb1accd3", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.transport-rejection-no-message:link-pending", - "observation": { - "sender": ["83d53481048c"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "d9fba50c2d0c" - }, - "state": "1d6ecb1accd3", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.transport-rejection-no-message:settled", - "observation": { - "sender": ["83d53481048c"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "d9fba50c2d0c" - }, - "state": "1d6ecb1accd3", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 722dfadefc8..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-chain-hostedreview.create-1.json +++ /dev/null @@ -1,1055 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.hosted-review-create", - "family": "hostedReview.create-chain", - "namedDeltas": [], - "values": { - "0122a4affef8": { - "name": "hostedReview.create#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Recorded title\",\"body\":\"Recorded body\",\"draft\":false}}" - }, - "0165dce71d8a": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "121d8ad302a6": { - "name": "worktree.set#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"main\",\"linkedPR\":5}}" - }, - "147a3131d1b9": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - } - } - }, - "19cc6f19fadb": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "1e5bad7910bc": { - "outcome": { - "error": "The host sent a reply this app could not read (hostedReview.create)", - "ok": false - } - }, - "27e02743ce7e": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "2ad18252f7a8": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "2b7bba64b59e": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "3c56d7e02c73": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "3c6a5a164e8a": { - "outcome": { - "error": "", - "ok": false - } - }, - "3f946ad0279c": { - "outcome": "uncreated" - }, - "459f52ed3a68": { - "outcome": { - "error": "Push succeeded, but PR creation failed: inner refused", - "ok": false - } - }, - "6d3c8e6e0154": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Push succeeded, but PR creation failed: inner refused", - "ok": false - } - }, - "7cd929185e93": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "820babcf0dcc": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "840445dcb569": { - "name": "git.push#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "9bfa8e26e814": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "9fca4a23f963": { - "outcome": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "a197c20578aa": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "transport failure", - "ok": false - } - }, - "a95ae8a9ee57": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "aa8b30457cff": { - "outcome": { - "error": "outer refused", - "ok": false - } - }, - "b9099560487b": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c8e2bc03602c": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "cbe1742f3b41": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d14a0dd639ad": { - "outcome": { - "error": "Failed to create pull request", - "ok": false - } - }, - "dfaf8f437106": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "e12183bfd2c3": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Failed to create pull request", - "ok": false - } - }, - "e157741a28a1": { - "outcome": { - "error": "Unknown method", - "ok": false - } - }, - "e33f2c0ce75a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "The host sent a reply this app could not read (hostedReview.create)", - "ok": false - } - }, - "e9a9dab87689": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "f4ca76ee9f22": { - "outcome": { - "error": "transport failure", - "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 - } - }, - "fdd37e3578bf": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - } - }, - "recording": { - "scenario": "matrix-hostedreview.create-chain-hostedreview.create-1", - "checkpoints": [ - { - "id": "sc-create-pushes-then-creates.prelude:push-pending", - "observation": { - "sender": ["b9099560487b"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.prelude:create-pending", - "observation": { - "sender": ["2b7bba64b59e", "dfaf8f437106"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.normal:link-pending", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "cbe1742f3b41"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.normal:settled", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "7cd929185e93"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "a95ae8a9ee57" - }, - "state": "9fca4a23f963", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.result-absent:link-pending", - "observation": { - "sender": ["2b7bba64b59e", "19cc6f19fadb"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "e33f2c0ce75a" - }, - "state": "1e5bad7910bc", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.result-absent:settled", - "observation": { - "sender": ["2b7bba64b59e", "19cc6f19fadb"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "e33f2c0ce75a" - }, - "state": "1e5bad7910bc", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.result-null:link-pending", - "observation": { - "sender": ["2b7bba64b59e", "9bfa8e26e814"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "e33f2c0ce75a" - }, - "state": "1e5bad7910bc", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.result-null:settled", - "observation": { - "sender": ["2b7bba64b59e", "9bfa8e26e814"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "e33f2c0ce75a" - }, - "state": "1e5bad7910bc", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-ok-missing:link-pending", - "observation": { - "sender": ["2b7bba64b59e", "27e02743ce7e"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "e33f2c0ce75a" - }, - "state": "1e5bad7910bc", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-ok-missing:settled", - "observation": { - "sender": ["2b7bba64b59e", "27e02743ce7e"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "e33f2c0ce75a" - }, - "state": "1e5bad7910bc", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-false-string-error:link-pending", - "observation": { - "sender": ["2b7bba64b59e", "c8e2bc03602c"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "6d3c8e6e0154" - }, - "state": "459f52ed3a68", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-false-string-error:settled", - "observation": { - "sender": ["2b7bba64b59e", "c8e2bc03602c"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "6d3c8e6e0154" - }, - "state": "459f52ed3a68", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-false-object-error:link-pending", - "observation": { - "sender": ["2b7bba64b59e", "e9a9dab87689"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "e33f2c0ce75a" - }, - "state": "1e5bad7910bc", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-false-object-error:settled", - "observation": { - "sender": ["2b7bba64b59e", "e9a9dab87689"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "e33f2c0ce75a" - }, - "state": "1e5bad7910bc", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.outer-refused:link-pending", - "observation": { - "sender": ["2b7bba64b59e", "3c56d7e02c73"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "1b2778bf67a2" - }, - "state": "aa8b30457cff", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.outer-refused:settled", - "observation": { - "sender": ["2b7bba64b59e", "3c56d7e02c73"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "1b2778bf67a2" - }, - "state": "aa8b30457cff", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.outer-refused-no-message:link-pending", - "observation": { - "sender": ["2b7bba64b59e", "0165dce71d8a"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "e12183bfd2c3" - }, - "state": "d14a0dd639ad", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.outer-refused-no-message:settled", - "observation": { - "sender": ["2b7bba64b59e", "0165dce71d8a"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "e12183bfd2c3" - }, - "state": "d14a0dd639ad", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.method-not-found:link-pending", - "observation": { - "sender": ["2b7bba64b59e", "820babcf0dcc"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "fa93ca01f266" - }, - "state": "e157741a28a1", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.method-not-found:settled", - "observation": { - "sender": ["2b7bba64b59e", "820babcf0dcc"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "fa93ca01f266" - }, - "state": "e157741a28a1", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.transport-rejection:link-pending", - "observation": { - "sender": ["2b7bba64b59e", "fdd37e3578bf"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "a197c20578aa" - }, - "state": "f4ca76ee9f22", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.transport-rejection:settled", - "observation": { - "sender": ["2b7bba64b59e", "fdd37e3578bf"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "a197c20578aa" - }, - "state": "f4ca76ee9f22", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.transport-rejection-no-message:link-pending", - "observation": { - "sender": ["2b7bba64b59e", "2ad18252f7a8"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "fb4429083480" - }, - "state": "3c6a5a164e8a", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.transport-rejection-no-message:settled", - "observation": { - "sender": ["2b7bba64b59e", "2ad18252f7a8"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "fb4429083480" - }, - "state": "3c6a5a164e8a", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 2f34df916b6..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-chain-worktree.set-1.json +++ /dev/null @@ -1,875 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.hosted-review-create", - "family": "hostedReview.create-chain", - "namedDeltas": [], - "values": { - "0122a4affef8": { - "name": "hostedReview.create#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.create\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"provider\":\"github\",\"base\":\"main\",\"head\":\"feature\",\"title\":\"Recorded title\",\"body\":\"Recorded body\",\"draft\":false}}" - }, - "121d8ad302a6": { - "name": "worktree.set#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"main\",\"linkedPR\":5}}" - }, - "147a3131d1b9": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - } - } - }, - "1f4d49e300b6": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "linkError": "Unknown method", - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "289da8128c79": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "2b7bba64b59e": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "2da91c4e3162": { - "outcome": { - "linkError": "transport failure", - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "3f946ad0279c": { - "outcome": "uncreated" - }, - "3ff86ed23cf9": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "linkError": "Failed to update linked review", - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "4476976cf9df": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "linkError": "outer refused", - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "5b4a8d3422e8": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "5c1bc66375cc": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "7cd929185e93": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "840445dcb569": { - "name": "git.push#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "84157fb6091a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "linkError": "transport failure", - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "9fca4a23f963": { - "outcome": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "a95ae8a9ee57": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "aa3d9af19871": { - "outcome": { - "linkError": "", - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "abc4e3034689": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "acba2acd2df5": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "b9099560487b": { - "name": "git.push#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "bca7efe43e86": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "be5491084572": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "be5f38ff137b": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "cbe1742f3b41": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "ce725d12fb34": { - "outcome": { - "linkError": "Unknown method", - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "d298ce165342": { - "outcome": { - "linkError": "outer refused", - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "dc5dfea813c1": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "dfaf8f437106": { - "name": "hostedReview.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Recorded body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Recorded title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "e5dbe1f8903e": { - "outcome": { - "linkError": "Failed to update linked review", - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "e9febbcef43b": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "linkError": "", - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - }, - "fe752a1f5d50": { - "name": "worktree.set#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - } - }, - "recording": { - "scenario": "matrix-hostedreview.create-chain-worktree.set-1", - "checkpoints": [ - { - "id": "sc-create-pushes-then-creates.prelude:push-pending", - "observation": { - "sender": ["b9099560487b"], - "payloads": ["840445dcb569"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.prelude:create-pending", - "observation": { - "sender": ["2b7bba64b59e", "dfaf8f437106"], - "payloads": ["840445dcb569", "0122a4affef8"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.prelude:link-pending", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "cbe1742f3b41"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.normal:settled", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "7cd929185e93"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "a95ae8a9ee57" - }, - "state": "9fca4a23f963", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.result-absent:settled", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "acba2acd2df5"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "a95ae8a9ee57" - }, - "state": "9fca4a23f963", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.result-null:settled", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "fe752a1f5d50"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "a95ae8a9ee57" - }, - "state": "9fca4a23f963", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-ok-missing:settled", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "be5491084572"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "a95ae8a9ee57" - }, - "state": "9fca4a23f963", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-false-string-error:settled", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "5c1bc66375cc"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "a95ae8a9ee57" - }, - "state": "9fca4a23f963", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.inner-false-object-error:settled", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "bca7efe43e86"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "a95ae8a9ee57" - }, - "state": "9fca4a23f963", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.outer-refused:settled", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "be5f38ff137b"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "4476976cf9df" - }, - "state": "d298ce165342", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.outer-refused-no-message:settled", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "abc4e3034689"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "3ff86ed23cf9" - }, - "state": "e5dbe1f8903e", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.method-not-found:settled", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "289da8128c79"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "1f4d49e300b6" - }, - "state": "ce725d12fb34", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.transport-rejection:settled", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "5b4a8d3422e8"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "84157fb6091a" - }, - "state": "2da91c4e3162", - "effects": [] - } - }, - { - "id": "sc-create-pushes-then-creates.transport-rejection-no-message:settled", - "observation": { - "sender": ["2b7bba64b59e", "147a3131d1b9", "dc5dfea813c1"], - "payloads": ["840445dcb569", "0122a4affef8", "121d8ad302a6"], - "settlements": { - "create": "e9febbcef43b" - }, - "state": "aa3d9af19871", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 074e2827335..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.bulkstage-1.json +++ /dev/null @@ -1,2808 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.create-intent", - "family": "hostedReview.create-intent", - "namedDeltas": [], - "values": { - "0a06528c313d": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Failed to stage changes", - "ok": false - } - }, - "0e4c5b9b4b61": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "success": true - } - } - } - }, - "0f6982ada2e6": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "10f528114aef": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1858779f58e9": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - }, - { - "area": "untracked", - "path": "src/new.ts", - "status": "untracked" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "201cece6e0bb": { - "name": "git.status#3", - "ordinal": 15, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "22cb4850c7e9": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "message": "feat: recorded", - "success": true - } - } - } - }, - "287d2ce39488": { - "outcome": { - "error": "Failed to stage changes", - "ok": false - } - }, - "324be6bef431": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "blockedReason": "needs_push", - "body": "Host body", - "canCreate": false, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "395c47c3d42e": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 17, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":1,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "3c6a5a164e8a": { - "outcome": { - "error": "", - "ok": false - } - }, - "3d2c64102f04": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "42e0a785c289": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "43ccfe31d2a4": { - "outcome": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "49a4ef454656": { - "name": "git.generateCommitMessage#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "4e72cd693c7e": { - "name": "progress", - "ordinal": 25, - "value": "creating_review" - }, - "570c09f158bd": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "5fbbfb4b027a": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "682fbd1f6b74": { - "name": "progress", - "ordinal": 11, - "value": "committing" - }, - "6a9e29548c49": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "6b3d90cdf382": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6e227482ca80": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "6f8094ed6558": { - "name": "git.status#4", - "ordinal": 22, - "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "72b388fd3302": { - "outcome": "unrun" - }, - "77a1112e7648": { - "name": "hostedReview.create#1", - "ordinal": 27, - "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}}" - }, - "77d661f05f03": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "7b98416e2b81": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "81faa0ecff79": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "8601995022f5": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "88d8f59c279f": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "8b784bb9dff5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "8f3b0ba895a1": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "962b56dc8acd": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "96f0e8413cda": { - "name": "git.push#1", - "ordinal": 20, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "982c7a7a656d": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "9ba712834392": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "9df18368de2c": { - "name": "git.status#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "a197c20578aa": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "transport failure", - "ok": false - } - }, - "aa8b30457cff": { - "outcome": { - "error": "outer refused", - "ok": false - } - }, - "b2ae4b8e30b7": { - "name": "progress", - "ordinal": 8, - "value": "generating_commit_message" - }, - "cff25c3ced28": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "d6e53bbca2a1": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "d7fed979e629": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d921a388f59f": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "ddee63fd3bf5": { - "name": "git.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "ddf1e31237ff": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "e0f9e0ca3b8c": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "e157741a28a1": { - "outcome": { - "error": "Unknown method", - "ok": false - } - }, - "e20a71f63f51": { - "name": "git.bulkStage#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" - }, - "e6dbcef99c41": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 24, - "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":0,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "e83dca631c9c": { - "name": "progress", - "ordinal": 3, - "value": "staging" - }, - "ea96738de3dd": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "f192f1898bef": { - "name": "git.commit#1", - "ordinal": 13, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.commit\",\"params\":{\"worktree\":\"id:repo42::/p\",\"message\":\"feat: recorded\"}}" - }, - "f4ca76ee9f22": { - "outcome": { - "error": "transport failure", - "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 - } - }, - "fccf28a4e541": { - "name": "progress", - "ordinal": 18, - "value": "pushing" - }, - "ffef2a178ce4": { - "name": "worktree.set#1", - "ordinal": 29, - "json": "{\"id\":\"frame-12\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"main\",\"linkedPR\":5}}" - } - }, - "recording": { - "scenario": "matrix-hostedreview.create-intent-git.bulkstage-1", - "checkpoints": [ - { - "id": "sc-create-intent-stage-commit-push-create.prelude:initial-status-pending", - "observation": { - "sender": ["8601995022f5"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:stage-pending", - "observation": { - "sender": ["1858779f58e9", "962b56dc8acd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "ea96738de3dd", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "ea96738de3dd", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "ea96738de3dd", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "ea96738de3dd", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "ea96738de3dd", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:settled", - "observation": { - "sender": [ - "1858779f58e9", - "ea96738de3dd", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "e0f9e0ca3b8c", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "e0f9e0ca3b8c", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "e0f9e0ca3b8c", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "e0f9e0ca3b8c", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "e0f9e0ca3b8c", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:settled", - "observation": { - "sender": [ - "1858779f58e9", - "e0f9e0ca3b8c", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "d6e53bbca2a1", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "d6e53bbca2a1", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "d6e53bbca2a1", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "d6e53bbca2a1", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "d6e53bbca2a1", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:settled", - "observation": { - "sender": [ - "1858779f58e9", - "d6e53bbca2a1", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "5fbbfb4b027a", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "5fbbfb4b027a", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "5fbbfb4b027a", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "5fbbfb4b027a", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "5fbbfb4b027a", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "5fbbfb4b027a", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "3d2c64102f04", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "3d2c64102f04", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "3d2c64102f04", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "3d2c64102f04", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "3d2c64102f04", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "3d2c64102f04", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "88d8f59c279f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "1b2778bf67a2" - }, - "state": "aa8b30457cff", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:commit-pending", - "observation": { - "sender": ["1858779f58e9", "88d8f59c279f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "1b2778bf67a2" - }, - "state": "aa8b30457cff", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "88d8f59c279f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "1b2778bf67a2" - }, - "state": "aa8b30457cff", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:push-pending", - "observation": { - "sender": ["1858779f58e9", "88d8f59c279f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "1b2778bf67a2" - }, - "state": "aa8b30457cff", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:create-pending", - "observation": { - "sender": ["1858779f58e9", "88d8f59c279f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "1b2778bf67a2" - }, - "state": "aa8b30457cff", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:settled", - "observation": { - "sender": ["1858779f58e9", "88d8f59c279f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "1b2778bf67a2" - }, - "state": "aa8b30457cff", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "9ba712834392"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "0a06528c313d" - }, - "state": "287d2ce39488", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:commit-pending", - "observation": { - "sender": ["1858779f58e9", "9ba712834392"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "0a06528c313d" - }, - "state": "287d2ce39488", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "9ba712834392"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "0a06528c313d" - }, - "state": "287d2ce39488", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:push-pending", - "observation": { - "sender": ["1858779f58e9", "9ba712834392"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "0a06528c313d" - }, - "state": "287d2ce39488", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:create-pending", - "observation": { - "sender": ["1858779f58e9", "9ba712834392"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "0a06528c313d" - }, - "state": "287d2ce39488", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:settled", - "observation": { - "sender": ["1858779f58e9", "9ba712834392"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "0a06528c313d" - }, - "state": "287d2ce39488", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "77d661f05f03"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "fa93ca01f266" - }, - "state": "e157741a28a1", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:commit-pending", - "observation": { - "sender": ["1858779f58e9", "77d661f05f03"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "fa93ca01f266" - }, - "state": "e157741a28a1", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "77d661f05f03"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "fa93ca01f266" - }, - "state": "e157741a28a1", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:push-pending", - "observation": { - "sender": ["1858779f58e9", "77d661f05f03"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "fa93ca01f266" - }, - "state": "e157741a28a1", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:create-pending", - "observation": { - "sender": ["1858779f58e9", "77d661f05f03"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "fa93ca01f266" - }, - "state": "e157741a28a1", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:settled", - "observation": { - "sender": ["1858779f58e9", "77d661f05f03"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "fa93ca01f266" - }, - "state": "e157741a28a1", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "ddf1e31237ff"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "a197c20578aa" - }, - "state": "f4ca76ee9f22", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:commit-pending", - "observation": { - "sender": ["1858779f58e9", "ddf1e31237ff"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "a197c20578aa" - }, - "state": "f4ca76ee9f22", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "ddf1e31237ff"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "a197c20578aa" - }, - "state": "f4ca76ee9f22", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:push-pending", - "observation": { - "sender": ["1858779f58e9", "ddf1e31237ff"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "a197c20578aa" - }, - "state": "f4ca76ee9f22", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:create-pending", - "observation": { - "sender": ["1858779f58e9", "ddf1e31237ff"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "a197c20578aa" - }, - "state": "f4ca76ee9f22", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:settled", - "observation": { - "sender": ["1858779f58e9", "ddf1e31237ff"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "a197c20578aa" - }, - "state": "f4ca76ee9f22", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "cff25c3ced28"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "fb4429083480" - }, - "state": "3c6a5a164e8a", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:commit-pending", - "observation": { - "sender": ["1858779f58e9", "cff25c3ced28"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "fb4429083480" - }, - "state": "3c6a5a164e8a", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "cff25c3ced28"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "fb4429083480" - }, - "state": "3c6a5a164e8a", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:push-pending", - "observation": { - "sender": ["1858779f58e9", "cff25c3ced28"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "fb4429083480" - }, - "state": "3c6a5a164e8a", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:create-pending", - "observation": { - "sender": ["1858779f58e9", "cff25c3ced28"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "fb4429083480" - }, - "state": "3c6a5a164e8a", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:settled", - "observation": { - "sender": ["1858779f58e9", "cff25c3ced28"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "fb4429083480" - }, - "state": "3c6a5a164e8a", - "effects": ["e83dca631c9c"] - } - } - ] - } -} 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 deleted file mode 100644 index 2a2c5465eda..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.commit-1.json +++ /dev/null @@ -1,3346 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.create-intent", - "family": "hostedReview.create-intent", - "namedDeltas": [], - "values": { - "0a6c8b19761c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "commitMessage": "feat: recorded", - "committed": false, - "error": "outer refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "0e4c5b9b4b61": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "success": true - } - } - } - }, - "0f6982ada2e6": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "10f528114aef": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1858779f58e9": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - }, - { - "area": "untracked", - "path": "src/new.ts", - "status": "untracked" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "18b884cbd523": { - "outcome": { - "commitMessage": "feat: recorded", - "committed": false, - "error": "inner refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "1b8d094a21ff": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-5", - "ok": false - } - } - }, - "201cece6e0bb": { - "name": "git.status#3", - "ordinal": 15, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "22cb4850c7e9": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "message": "feat: recorded", - "success": true - } - } - } - }, - "26071bbe1816": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "commitMessage": "feat: recorded", - "committed": false, - "error": "refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "2c2046d134fc": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "324be6bef431": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "blockedReason": "needs_push", - "body": "Host body", - "canCreate": false, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "395c47c3d42e": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 17, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":1,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "3bfa962b6d8e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "commitMessage": "feat: recorded", - "committed": false, - "error": "transport failure", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "42e0a785c289": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "4363d8f64a82": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true - } - } - }, - "43ccfe31d2a4": { - "outcome": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "49a4ef454656": { - "name": "git.generateCommitMessage#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "4c0e79676616": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "4e72cd693c7e": { - "name": "progress", - "ordinal": 25, - "value": "creating_review" - }, - "570c09f158bd": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "614c397f6b31": { - "outcome": { - "commitMessage": "feat: recorded", - "committed": false, - "error": "Commit failed", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "63b89532f600": { - "outcome": { - "commitMessage": "feat: recorded", - "committed": false, - "error": "outer refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "682fbd1f6b74": { - "name": "progress", - "ordinal": 11, - "value": "committing" - }, - "6a9e29548c49": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "6aba87c37f1b": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "6b3d90cdf382": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6b56f90b3abe": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "6e227482ca80": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "6f8094ed6558": { - "name": "git.status#4", - "ordinal": 22, - "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "72b388fd3302": { - "outcome": "unrun" - }, - "77a1112e7648": { - "name": "hostedReview.create#1", - "ordinal": 27, - "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}}" - }, - "7a0de63adabb": { - "outcome": { - "commitMessage": "feat: recorded", - "committed": false, - "error": "", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "7b98416e2b81": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "7c13b095c91f": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "commitMessage": "feat: recorded", - "committed": false, - "error": "", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "7c856513f2b4": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "commitMessage": "feat: recorded", - "committed": false, - "error": "Unknown method", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "81faa0ecff79": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "824c192eecf6": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "8601995022f5": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8b784bb9dff5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "8baaa8ff71a0": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "commitMessage": "feat: recorded", - "committed": false, - "error": "inner refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "8f3b0ba895a1": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "962b56dc8acd": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "96f0e8413cda": { - "name": "git.push#1", - "ordinal": 20, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "982c7a7a656d": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "9df18368de2c": { - "name": "git.status#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "b2ae4b8e30b7": { - "name": "progress", - "ordinal": 8, - "value": "generating_commit_message" - }, - "ba600028c3e1": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "c5e1a834cb7b": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "commitMessage": "feat: recorded", - "committed": false, - "error": "Commit failed", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "c905a961561a": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-5", - "ok": false - } - } - }, - "d7fed979e629": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d921a388f59f": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "ddee63fd3bf5": { - "name": "git.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "e20a71f63f51": { - "name": "git.bulkStage#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" - }, - "e6dbcef99c41": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 24, - "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":0,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "e83dca631c9c": { - "name": "progress", - "ordinal": 3, - "value": "staging" - }, - "edb903e72d5e": { - "outcome": { - "commitMessage": "feat: recorded", - "committed": false, - "error": "transport failure", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "ef22f82ab412": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "f192f1898bef": { - "name": "git.commit#1", - "ordinal": 13, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.commit\",\"params\":{\"worktree\":\"id:repo42::/p\",\"message\":\"feat: recorded\"}}" - }, - "f21f1c80a27c": { - "outcome": { - "commitMessage": "feat: recorded", - "committed": false, - "error": "Unknown method", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "f398ca064b60": { - "outcome": { - "commitMessage": "feat: recorded", - "committed": false, - "error": "refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "fccf28a4e541": { - "name": "progress", - "ordinal": 18, - "value": "pushing" - }, - "ffef2a178ce4": { - "name": "worktree.set#1", - "ordinal": 29, - "json": "{\"id\":\"frame-12\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"main\",\"linkedPR\":5}}" - } - }, - "recording": { - "scenario": "matrix-hostedreview.create-intent-git.commit-1", - "checkpoints": [ - { - "id": "sc-create-intent-stage-commit-push-create.prelude:initial-status-pending", - "observation": { - "sender": ["8601995022f5"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:stage-pending", - "observation": { - "sender": ["1858779f58e9", "962b56dc8acd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "4363d8f64a82", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "4363d8f64a82", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "4363d8f64a82", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "4363d8f64a82", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "824c192eecf6", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "824c192eecf6", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "824c192eecf6", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "824c192eecf6", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "2c2046d134fc", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "26071bbe1816" - }, - "state": "f398ca064b60", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "2c2046d134fc", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "26071bbe1816" - }, - "state": "f398ca064b60", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "2c2046d134fc", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "26071bbe1816" - }, - "state": "f398ca064b60", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "2c2046d134fc", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "26071bbe1816" - }, - "state": "f398ca064b60", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "ef22f82ab412", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "8baaa8ff71a0" - }, - "state": "18b884cbd523", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "ef22f82ab412", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "8baaa8ff71a0" - }, - "state": "18b884cbd523", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "ef22f82ab412", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "8baaa8ff71a0" - }, - "state": "18b884cbd523", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "ef22f82ab412", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "8baaa8ff71a0" - }, - "state": "18b884cbd523", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "ba600028c3e1", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "ba600028c3e1", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "ba600028c3e1", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "ba600028c3e1", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "c905a961561a", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "0a6c8b19761c" - }, - "state": "63b89532f600", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "c905a961561a", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "0a6c8b19761c" - }, - "state": "63b89532f600", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "c905a961561a", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "0a6c8b19761c" - }, - "state": "63b89532f600", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "c905a961561a", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "0a6c8b19761c" - }, - "state": "63b89532f600", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "1b8d094a21ff", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "1b8d094a21ff", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "1b8d094a21ff", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "1b8d094a21ff", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c5e1a834cb7b" - }, - "state": "614c397f6b31", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "6aba87c37f1b", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "7c856513f2b4" - }, - "state": "f21f1c80a27c", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "6aba87c37f1b", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "7c856513f2b4" - }, - "state": "f21f1c80a27c", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "6aba87c37f1b", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "7c856513f2b4" - }, - "state": "f21f1c80a27c", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "6aba87c37f1b", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "7c856513f2b4" - }, - "state": "f21f1c80a27c", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "6b56f90b3abe", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "3bfa962b6d8e" - }, - "state": "edb903e72d5e", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "6b56f90b3abe", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "3bfa962b6d8e" - }, - "state": "edb903e72d5e", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "6b56f90b3abe", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "3bfa962b6d8e" - }, - "state": "edb903e72d5e", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "6b56f90b3abe", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "3bfa962b6d8e" - }, - "state": "edb903e72d5e", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "4c0e79676616", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "7c13b095c91f" - }, - "state": "7a0de63adabb", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "4c0e79676616", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "7c13b095c91f" - }, - "state": "7a0de63adabb", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "4c0e79676616", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "7c13b095c91f" - }, - "state": "7a0de63adabb", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "4c0e79676616", - "7b98416e2b81" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "7c13b095c91f" - }, - "state": "7a0de63adabb", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - } - ] - } -} 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 deleted file mode 100644 index 6449f1700e3..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.generatecommitmessage-1.json +++ /dev/null @@ -1,2200 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.create-intent", - "family": "hostedReview.create-intent", - "namedDeltas": [], - "values": { - "0e4c5b9b4b61": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "success": true - } - } - } - }, - "0f6982ada2e6": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "10f528114aef": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1858779f58e9": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - }, - { - "area": "untracked", - "path": "src/new.ts", - "status": "untracked" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "1e8c624ec2a3": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-4", - "ok": false - } - } - }, - "201cece6e0bb": { - "name": "git.status#3", - "ordinal": 15, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "22cb4850c7e9": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "message": "feat: recorded", - "success": true - } - } - } - }, - "324be6bef431": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "blockedReason": "needs_push", - "body": "Host body", - "canCreate": false, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "32e440deb8e3": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": false, - "error": "Could not generate a commit message. Add one in Source Control, then retry.", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "395c47c3d42e": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 17, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":1,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "42e0a785c289": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "43ccfe31d2a4": { - "outcome": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "49a4ef454656": { - "name": "git.generateCommitMessage#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "4d82a00c7324": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "4e72cd693c7e": { - "name": "progress", - "ordinal": 25, - "value": "creating_review" - }, - "4f88020285b1": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "570c09f158bd": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "5c357692ce79": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "6027a3c73655": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "682fbd1f6b74": { - "name": "progress", - "ordinal": 11, - "value": "committing" - }, - "6a9e29548c49": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "6b3d90cdf382": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6e227482ca80": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "6f8094ed6558": { - "name": "git.status#4", - "ordinal": 22, - "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "72b388fd3302": { - "outcome": "unrun" - }, - "77a1112e7648": { - "name": "hostedReview.create#1", - "ordinal": 27, - "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}}" - }, - "7b98416e2b81": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "81faa0ecff79": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "8601995022f5": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8b784bb9dff5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "8f3b0ba895a1": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "93e89fcd3fbb": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "962b56dc8acd": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "96f0e8413cda": { - "name": "git.push#1", - "ordinal": 20, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "982c7a7a656d": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "9df18368de2c": { - "name": "git.status#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b2ae4b8e30b7": { - "name": "progress", - "ordinal": 8, - "value": "generating_commit_message" - }, - "be0f4b886e9d": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "ca41c949a8c7": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "d7fed979e629": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d921a388f59f": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "ddee63fd3bf5": { - "name": "git.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "e20a71f63f51": { - "name": "git.bulkStage#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" - }, - "e6dbcef99c41": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 24, - "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":0,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "e83dca631c9c": { - "name": "progress", - "ordinal": 3, - "value": "staging" - }, - "f15df7ecc744": { - "outcome": { - "committed": false, - "error": "Could not generate a commit message. Add one in Source Control, then retry.", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "f192f1898bef": { - "name": "git.commit#1", - "ordinal": 13, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.commit\",\"params\":{\"worktree\":\"id:repo42::/p\",\"message\":\"feat: recorded\"}}" - }, - "f2a0be22d32b": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-4", - "ok": false - } - } - }, - "f6c54c1cb30f": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "fccf28a4e541": { - "name": "progress", - "ordinal": 18, - "value": "pushing" - }, - "ffef2a178ce4": { - "name": "worktree.set#1", - "ordinal": 29, - "json": "{\"id\":\"frame-12\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"main\",\"linkedPR\":5}}" - } - }, - "recording": { - "scenario": "matrix-hostedreview.create-intent-git.generatecommitmessage-1", - "checkpoints": [ - { - "id": "sc-create-intent-stage-commit-push-create.prelude:initial-status-pending", - "observation": { - "sender": ["8601995022f5"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:stage-pending", - "observation": { - "sender": ["1858779f58e9", "962b56dc8acd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "4d82a00c7324"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "4d82a00c7324"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "4d82a00c7324"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "4d82a00c7324"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "4d82a00c7324"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "ca41c949a8c7"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "ca41c949a8c7"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "ca41c949a8c7"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "ca41c949a8c7"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "ca41c949a8c7"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "4f88020285b1"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "4f88020285b1"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "4f88020285b1"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "4f88020285b1"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "4f88020285b1"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "5c357692ce79"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "5c357692ce79"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "5c357692ce79"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "5c357692ce79"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "5c357692ce79"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "f6c54c1cb30f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "f6c54c1cb30f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "f6c54c1cb30f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "f6c54c1cb30f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "f6c54c1cb30f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "1e8c624ec2a3"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "1e8c624ec2a3"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "1e8c624ec2a3"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "1e8c624ec2a3"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "1e8c624ec2a3"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "f2a0be22d32b"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "f2a0be22d32b"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "f2a0be22d32b"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "f2a0be22d32b"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "f2a0be22d32b"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "be0f4b886e9d"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "be0f4b886e9d"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "be0f4b886e9d"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "be0f4b886e9d"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "be0f4b886e9d"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "32e440deb8e3" - }, - "state": "f15df7ecc744", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "6027a3c73655"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "6027a3c73655"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "6027a3c73655"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "6027a3c73655"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "6027a3c73655"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "93e89fcd3fbb"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "93e89fcd3fbb"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "93e89fcd3fbb"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "93e89fcd3fbb"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "93e89fcd3fbb"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - } - ] - } -} 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 deleted file mode 100644 index 6e2cf570468..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.push-1.json +++ /dev/null @@ -1,2478 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.create-intent", - "family": "hostedReview.create-intent", - "namedDeltas": [], - "values": { - "0e4c5b9b4b61": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "success": true - } - } - } - }, - "0f6982ada2e6": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "10f528114aef": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1858779f58e9": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - }, - { - "area": "untracked", - "path": "src/new.ts", - "status": "untracked" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "1f50c1afd4d7": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "201cece6e0bb": { - "name": "git.status#3", - "ordinal": 15, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "22cb4850c7e9": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "message": "feat: recorded", - "success": true - } - } - } - }, - "26b25af5d156": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "2753bd712186": { - "outcome": { - "committed": true, - "error": "outer refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "314223d33794": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "324be6bef431": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "blockedReason": "needs_push", - "body": "Host body", - "canCreate": false, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "334ca4f0e06b": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "395c47c3d42e": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 17, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":1,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "39c66ea4d206": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "42e0a785c289": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "43ccfe31d2a4": { - "outcome": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "43eb66536548": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true - } - } - }, - "44ee1cfb7fb0": { - "outcome": { - "committed": true, - "error": "Failed to push commits", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "49a4ef454656": { - "name": "git.generateCommitMessage#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "4e72cd693c7e": { - "name": "progress", - "ordinal": 25, - "value": "creating_review" - }, - "570c09f158bd": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "58684b9dcb2f": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "64a49481e9f2": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "682fbd1f6b74": { - "name": "progress", - "ordinal": 11, - "value": "committing" - }, - "6a9e29548c49": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "6b3d90cdf382": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6c71b1b41cc9": { - "outcome": { - "committed": true, - "error": "Unknown method", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "6e227482ca80": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "6f8094ed6558": { - "name": "git.status#4", - "ordinal": 22, - "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "72b388fd3302": { - "outcome": "unrun" - }, - "72d3658278c1": { - "outcome": { - "committed": true, - "error": "", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "77a1112e7648": { - "name": "hostedReview.create#1", - "ordinal": 27, - "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}}" - }, - "7b7ef5bfe32e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "Failed to push commits", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "7b98416e2b81": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "7cc31dea5812": { - "outcome": { - "committed": true, - "error": "transport failure", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "81faa0ecff79": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "84e21889f6c4": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-8", - "ok": false - } - } - }, - "8601995022f5": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "89b0fc55092d": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "transport failure", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "8b784bb9dff5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "8f3b0ba895a1": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "962b56dc8acd": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "96f0e8413cda": { - "name": "git.push#1", - "ordinal": 20, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "982c7a7a656d": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "9df18368de2c": { - "name": "git.status#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "b2ae4b8e30b7": { - "name": "progress", - "ordinal": 8, - "value": "generating_commit_message" - }, - "b74fa1c5741d": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "Unknown method", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "d0a0bfc0848d": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-8", - "ok": false - } - } - }, - "d7fed979e629": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d921a388f59f": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "ddee63fd3bf5": { - "name": "git.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "e01a4adbf557": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-8", - "ok": false - } - } - }, - "e20a71f63f51": { - "name": "git.bulkStage#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" - }, - "e6dbcef99c41": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 24, - "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":0,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "e83dca631c9c": { - "name": "progress", - "ordinal": 3, - "value": "staging" - }, - "ebe3b70aca42": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "outer refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "f192f1898bef": { - "name": "git.commit#1", - "ordinal": 13, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.commit\",\"params\":{\"worktree\":\"id:repo42::/p\",\"message\":\"feat: recorded\"}}" - }, - "fccf28a4e541": { - "name": "progress", - "ordinal": 18, - "value": "pushing" - }, - "ffef2a178ce4": { - "name": "worktree.set#1", - "ordinal": 29, - "json": "{\"id\":\"frame-12\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"main\",\"linkedPR\":5}}" - } - }, - "recording": { - "scenario": "matrix-hostedreview.create-intent-git.push-1", - "checkpoints": [ - { - "id": "sc-create-intent-stage-commit-push-create.prelude:initial-status-pending", - "observation": { - "sender": ["8601995022f5"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:stage-pending", - "observation": { - "sender": ["1858779f58e9", "962b56dc8acd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "43eb66536548", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "43eb66536548", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "334ca4f0e06b", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "334ca4f0e06b", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "1f50c1afd4d7", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "1f50c1afd4d7", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "26b25af5d156", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "26b25af5d156", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "39c66ea4d206", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "39c66ea4d206", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "e01a4adbf557" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "ebe3b70aca42" - }, - "state": "2753bd712186", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "e01a4adbf557" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "ebe3b70aca42" - }, - "state": "2753bd712186", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d0a0bfc0848d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "7b7ef5bfe32e" - }, - "state": "44ee1cfb7fb0", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d0a0bfc0848d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "7b7ef5bfe32e" - }, - "state": "44ee1cfb7fb0", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "84e21889f6c4" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "b74fa1c5741d" - }, - "state": "6c71b1b41cc9", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "84e21889f6c4" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "b74fa1c5741d" - }, - "state": "6c71b1b41cc9", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "58684b9dcb2f" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "89b0fc55092d" - }, - "state": "7cc31dea5812", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "58684b9dcb2f" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "89b0fc55092d" - }, - "state": "7cc31dea5812", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "64a49481e9f2" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "314223d33794" - }, - "state": "72d3658278c1", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "64a49481e9f2" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "314223d33794" - }, - "state": "72d3658278c1", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - } - ] - } -} 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 deleted file mode 100644 index f3a4e453252..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-1.json +++ /dev/null @@ -1,2518 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.create-intent", - "family": "hostedReview.create-intent", - "namedDeltas": [], - "values": { - "0879e8839757": { - "name": "progress", - "ordinal": 3, - "value": "generating_commit_message" - }, - "0dbefdbf195a": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "0e4c5b9b4b61": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "success": true - } - } - } - }, - "0f6982ada2e6": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "10f528114aef": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "165aa0eaa946": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "1858779f58e9": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - }, - { - "area": "untracked", - "path": "src/new.ts", - "status": "untracked" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "1b8ac3cc961b": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Branch changed while preparing the pull request.", - "ok": false, - "status": { - "$rpc": "null" - } - } - }, - "1bf043b46cb3": { - "name": "git.generateCommitMessage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "message": "feat: recorded", - "success": true - } - } - } - }, - "201cece6e0bb": { - "name": "git.status#3", - "ordinal": 15, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "22cb4850c7e9": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "message": "feat: recorded", - "success": true - } - } - } - }, - "324be6bef431": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "blockedReason": "needs_push", - "body": "Host body", - "canCreate": false, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "395c47c3d42e": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 17, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":1,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "42e0a785c289": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "43ccfe31d2a4": { - "outcome": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "49a4ef454656": { - "name": "git.generateCommitMessage#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "4a939d1e31f1": { - "name": "git.generateCommitMessage#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "4e4f8fe8503f": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "4e72cd693c7e": { - "name": "progress", - "ordinal": 25, - "value": "creating_review" - }, - "570c09f158bd": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "682fbd1f6b74": { - "name": "progress", - "ordinal": 11, - "value": "committing" - }, - "6a9e29548c49": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "6b3d90cdf382": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6b4e64559e4f": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "6e227482ca80": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "6f8094ed6558": { - "name": "git.status#4", - "ordinal": 22, - "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "72b388fd3302": { - "outcome": "unrun" - }, - "77a1112e7648": { - "name": "hostedReview.create#1", - "ordinal": 27, - "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}}" - }, - "7b98416e2b81": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "7e0872c888d0": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "81faa0ecff79": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "834067cbd5ac": { - "name": "git.status#2", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "8601995022f5": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8b784bb9dff5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "8bcac17452c2": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "8d589c068ded": { - "name": "git.commit#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "success": true - } - } - } - }, - "8eb3f9e47b86": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "8f3b0ba895a1": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "95138ed115b6": { - "name": "git.commit#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.commit\",\"params\":{\"worktree\":\"id:repo42::/p\",\"message\":\"feat: recorded\"}}" - }, - "962b56dc8acd": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "96f0e8413cda": { - "name": "git.push#1", - "ordinal": 20, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "982c7a7a656d": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "99ff3c2fa472": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "9a46a4f9e097": { - "name": "git.status#2", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "9df18368de2c": { - "name": "git.status#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b2ae4b8e30b7": { - "name": "progress", - "ordinal": 8, - "value": "generating_commit_message" - }, - "b50556c964ed": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "be94031f4f8d": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d0033e18e3de": { - "name": "progress", - "ordinal": 6, - "value": "committing" - }, - "d7fed979e629": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d921a388f59f": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "ddee63fd3bf5": { - "name": "git.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "de624aa7a76c": { - "outcome": { - "error": "Branch changed while preparing the pull request.", - "ok": false, - "status": { - "$rpc": "null" - } - } - }, - "e20a71f63f51": { - "name": "git.bulkStage#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" - }, - "e6dbcef99c41": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 24, - "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":0,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "e754e8fb57f5": { - "name": "git.generateCommitMessage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "e83dca631c9c": { - "name": "progress", - "ordinal": 3, - "value": "staging" - }, - "ee89f06f2dc1": { - "name": "git.commit#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "f192f1898bef": { - "name": "git.commit#1", - "ordinal": 13, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.commit\",\"params\":{\"worktree\":\"id:repo42::/p\",\"message\":\"feat: recorded\"}}" - }, - "fccf28a4e541": { - "name": "progress", - "ordinal": 18, - "value": "pushing" - }, - "ffef2a178ce4": { - "name": "worktree.set#1", - "ordinal": 29, - "json": "{\"id\":\"frame-12\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"main\",\"linkedPR\":5}}" - } - }, - "recording": { - "scenario": "matrix-hostedreview.create-intent-git.status-1", - "checkpoints": [ - { - "id": "sc-create-intent-stage-commit-push-create.prelude:initial-status-pending", - "observation": { - "sender": ["8601995022f5"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:stage-pending", - "observation": { - "sender": ["1858779f58e9", "962b56dc8acd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:stage-pending", - "observation": { - "sender": ["b50556c964ed"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:generate-message-pending", - "observation": { - "sender": ["b50556c964ed"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:commit-pending", - "observation": { - "sender": ["b50556c964ed"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:prefill-pending", - "observation": { - "sender": ["b50556c964ed"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:push-pending", - "observation": { - "sender": ["b50556c964ed"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:create-pending", - "observation": { - "sender": ["b50556c964ed"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:settled", - "observation": { - "sender": ["b50556c964ed"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:stage-pending", - "observation": { - "sender": ["0dbefdbf195a"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:generate-message-pending", - "observation": { - "sender": ["0dbefdbf195a"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:commit-pending", - "observation": { - "sender": ["0dbefdbf195a"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:prefill-pending", - "observation": { - "sender": ["0dbefdbf195a"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:push-pending", - "observation": { - "sender": ["0dbefdbf195a"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:create-pending", - "observation": { - "sender": ["0dbefdbf195a"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:settled", - "observation": { - "sender": ["0dbefdbf195a"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:stage-pending", - "observation": { - "sender": ["4e4f8fe8503f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:generate-message-pending", - "observation": { - "sender": ["4e4f8fe8503f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:commit-pending", - "observation": { - "sender": ["4e4f8fe8503f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:prefill-pending", - "observation": { - "sender": ["4e4f8fe8503f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:push-pending", - "observation": { - "sender": ["4e4f8fe8503f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:create-pending", - "observation": { - "sender": ["4e4f8fe8503f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:settled", - "observation": { - "sender": ["4e4f8fe8503f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:stage-pending", - "observation": { - "sender": ["6b4e64559e4f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:generate-message-pending", - "observation": { - "sender": ["6b4e64559e4f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:commit-pending", - "observation": { - "sender": ["6b4e64559e4f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:prefill-pending", - "observation": { - "sender": ["6b4e64559e4f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:push-pending", - "observation": { - "sender": ["6b4e64559e4f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:create-pending", - "observation": { - "sender": ["6b4e64559e4f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:settled", - "observation": { - "sender": ["6b4e64559e4f"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:stage-pending", - "observation": { - "sender": ["be94031f4f8d"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:generate-message-pending", - "observation": { - "sender": ["be94031f4f8d"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:commit-pending", - "observation": { - "sender": ["be94031f4f8d"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:prefill-pending", - "observation": { - "sender": ["be94031f4f8d"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:push-pending", - "observation": { - "sender": ["be94031f4f8d"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:create-pending", - "observation": { - "sender": ["be94031f4f8d"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:settled", - "observation": { - "sender": ["be94031f4f8d"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "1b8ac3cc961b" - }, - "state": "de624aa7a76c", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:stage-pending", - "observation": { - "sender": ["8eb3f9e47b86", "e754e8fb57f5"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:generate-message-pending", - "observation": { - "sender": ["8eb3f9e47b86", "e754e8fb57f5"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:commit-pending", - "observation": { - "sender": ["8eb3f9e47b86", "1bf043b46cb3", "ee89f06f2dc1"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1", "95138ed115b6"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757", "d0033e18e3de"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:prefill-pending", - "observation": { - "sender": ["8eb3f9e47b86", "1bf043b46cb3", "8d589c068ded", "9a46a4f9e097"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1", "95138ed115b6", "834067cbd5ac"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757", "d0033e18e3de"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:push-pending", - "observation": { - "sender": ["8eb3f9e47b86", "1bf043b46cb3", "8d589c068ded", "9a46a4f9e097"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1", "95138ed115b6", "834067cbd5ac"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757", "d0033e18e3de"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:create-pending", - "observation": { - "sender": ["8eb3f9e47b86", "1bf043b46cb3", "8d589c068ded", "9a46a4f9e097"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1", "95138ed115b6", "834067cbd5ac"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757", "d0033e18e3de"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:settled", - "observation": { - "sender": ["8eb3f9e47b86", "1bf043b46cb3", "8d589c068ded", "9a46a4f9e097"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1", "95138ed115b6", "834067cbd5ac"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757", "d0033e18e3de"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:stage-pending", - "observation": { - "sender": ["165aa0eaa946", "e754e8fb57f5"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:generate-message-pending", - "observation": { - "sender": ["165aa0eaa946", "e754e8fb57f5"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:commit-pending", - "observation": { - "sender": ["165aa0eaa946", "1bf043b46cb3", "ee89f06f2dc1"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1", "95138ed115b6"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757", "d0033e18e3de"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:prefill-pending", - "observation": { - "sender": ["165aa0eaa946", "1bf043b46cb3", "8d589c068ded", "9a46a4f9e097"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1", "95138ed115b6", "834067cbd5ac"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757", "d0033e18e3de"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:push-pending", - "observation": { - "sender": ["165aa0eaa946", "1bf043b46cb3", "8d589c068ded", "9a46a4f9e097"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1", "95138ed115b6", "834067cbd5ac"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757", "d0033e18e3de"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:create-pending", - "observation": { - "sender": ["165aa0eaa946", "1bf043b46cb3", "8d589c068ded", "9a46a4f9e097"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1", "95138ed115b6", "834067cbd5ac"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757", "d0033e18e3de"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:settled", - "observation": { - "sender": ["165aa0eaa946", "1bf043b46cb3", "8d589c068ded", "9a46a4f9e097"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1", "95138ed115b6", "834067cbd5ac"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757", "d0033e18e3de"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:stage-pending", - "observation": { - "sender": ["99ff3c2fa472", "e754e8fb57f5"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:generate-message-pending", - "observation": { - "sender": ["99ff3c2fa472", "e754e8fb57f5"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:commit-pending", - "observation": { - "sender": ["99ff3c2fa472", "1bf043b46cb3", "ee89f06f2dc1"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1", "95138ed115b6"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757", "d0033e18e3de"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:prefill-pending", - "observation": { - "sender": ["99ff3c2fa472", "1bf043b46cb3", "8d589c068ded", "9a46a4f9e097"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1", "95138ed115b6", "834067cbd5ac"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757", "d0033e18e3de"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:push-pending", - "observation": { - "sender": ["99ff3c2fa472", "1bf043b46cb3", "8d589c068ded", "9a46a4f9e097"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1", "95138ed115b6", "834067cbd5ac"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757", "d0033e18e3de"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:create-pending", - "observation": { - "sender": ["99ff3c2fa472", "1bf043b46cb3", "8d589c068ded", "9a46a4f9e097"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1", "95138ed115b6", "834067cbd5ac"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757", "d0033e18e3de"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:settled", - "observation": { - "sender": ["99ff3c2fa472", "1bf043b46cb3", "8d589c068ded", "9a46a4f9e097"], - "payloads": ["ddee63fd3bf5", "4a939d1e31f1", "95138ed115b6", "834067cbd5ac"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["0879e8839757", "d0033e18e3de"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:stage-pending", - "observation": { - "sender": ["8bcac17452c2"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:generate-message-pending", - "observation": { - "sender": ["8bcac17452c2"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:commit-pending", - "observation": { - "sender": ["8bcac17452c2"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:prefill-pending", - "observation": { - "sender": ["8bcac17452c2"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:push-pending", - "observation": { - "sender": ["8bcac17452c2"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:create-pending", - "observation": { - "sender": ["8bcac17452c2"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:settled", - "observation": { - "sender": ["8bcac17452c2"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:stage-pending", - "observation": { - "sender": ["7e0872c888d0"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:generate-message-pending", - "observation": { - "sender": ["7e0872c888d0"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:commit-pending", - "observation": { - "sender": ["7e0872c888d0"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:prefill-pending", - "observation": { - "sender": ["7e0872c888d0"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:push-pending", - "observation": { - "sender": ["7e0872c888d0"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:create-pending", - "observation": { - "sender": ["7e0872c888d0"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:settled", - "observation": { - "sender": ["7e0872c888d0"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index dbff4f10f33..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-2.json +++ /dev/null @@ -1,2751 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.create-intent", - "family": "hostedReview.create-intent", - "namedDeltas": [], - "values": { - "0ca1fb194c2a": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "0e4c5b9b4b61": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "success": true - } - } - } - }, - "0f6982ada2e6": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "10f528114aef": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1858779f58e9": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - }, - { - "area": "untracked", - "path": "src/new.ts", - "status": "untracked" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "201cece6e0bb": { - "name": "git.status#3", - "ordinal": 15, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "210d49bdc4fb": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "22c79fc3622e": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "22cb4850c7e9": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "message": "feat: recorded", - "success": true - } - } - } - }, - "2d185ceee6ec": { - "outcome": { - "committed": false, - "error": "Unable to refresh source control", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - }, - { - "added": { - "$rpc": "undefined" - }, - "area": "untracked", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/new.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "untracked", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "30581226b39b": { - "outcome": { - "committed": false, - "error": "Unknown method", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - }, - { - "added": { - "$rpc": "undefined" - }, - "area": "untracked", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/new.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "untracked", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "324be6bef431": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "blockedReason": "needs_push", - "body": "Host body", - "canCreate": false, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "395c47c3d42e": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 17, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":1,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "42e0a785c289": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "43ccfe31d2a4": { - "outcome": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "49a4ef454656": { - "name": "git.generateCommitMessage#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "4bbfda87a5cc": { - "outcome": { - "committed": false, - "error": "outer refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - }, - { - "added": { - "$rpc": "undefined" - }, - "area": "untracked", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/new.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "untracked", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "4e72cd693c7e": { - "name": "progress", - "ordinal": 25, - "value": "creating_review" - }, - "515c17b64bb4": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": false, - "error": "outer refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - }, - { - "added": { - "$rpc": "undefined" - }, - "area": "untracked", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/new.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "untracked", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "56ed81b16097": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "570c09f158bd": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "5cde185372f4": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": false, - "error": "Unable to refresh source control", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - }, - { - "added": { - "$rpc": "undefined" - }, - "area": "untracked", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/new.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "untracked", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "6491de11ec00": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": false, - "error": "Branch changed while preparing the pull request.", - "ok": false, - "status": { - "$rpc": "null" - } - } - }, - "682fbd1f6b74": { - "name": "progress", - "ordinal": 11, - "value": "committing" - }, - "6a9e29548c49": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "6b3d90cdf382": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6e227482ca80": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "6f8094ed6558": { - "name": "git.status#4", - "ordinal": 22, - "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "72b388fd3302": { - "outcome": "unrun" - }, - "77a1112e7648": { - "name": "hostedReview.create#1", - "ordinal": 27, - "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}}" - }, - "79adbe2a1098": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "7b98416e2b81": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "81faa0ecff79": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "85a9afbd64a4": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": false, - "error": "Unknown method", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - }, - { - "added": { - "$rpc": "undefined" - }, - "area": "untracked", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/new.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "untracked", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "8601995022f5": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8b784bb9dff5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "8f3b0ba895a1": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - } - } - }, - "91aa4e194e0f": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "962b56dc8acd": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "96f0e8413cda": { - "name": "git.push#1", - "ordinal": 20, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "982c7a7a656d": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "9df18368de2c": { - "name": "git.status#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "a7b09fd71a47": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b2ae4b8e30b7": { - "name": "progress", - "ordinal": 8, - "value": "generating_commit_message" - }, - "bc686a34f1d7": { - "outcome": { - "committed": false, - "error": "Branch changed while preparing the pull request.", - "ok": false, - "status": { - "$rpc": "null" - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "c7d0e4be12b3": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "d7fed979e629": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d841409cf2cd": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "d921a388f59f": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "ddee63fd3bf5": { - "name": "git.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "e20a71f63f51": { - "name": "git.bulkStage#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" - }, - "e6dbcef99c41": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 24, - "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":0,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "e83dca631c9c": { - "name": "progress", - "ordinal": 3, - "value": "staging" - }, - "f192f1898bef": { - "name": "git.commit#1", - "ordinal": 13, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.commit\",\"params\":{\"worktree\":\"id:repo42::/p\",\"message\":\"feat: recorded\"}}" - }, - "fccf28a4e541": { - "name": "progress", - "ordinal": 18, - "value": "pushing" - }, - "fce268b16b7c": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "ffef2a178ce4": { - "name": "worktree.set#1", - "ordinal": 29, - "json": "{\"id\":\"frame-12\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"main\",\"linkedPR\":5}}" - } - }, - "recording": { - "scenario": "matrix-hostedreview.create-intent-git.status-2", - "checkpoints": [ - { - "id": "sc-create-intent-stage-commit-push-create.prelude:initial-status-pending", - "observation": { - "sender": ["8601995022f5"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:stage-pending", - "observation": { - "sender": ["1858779f58e9", "962b56dc8acd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "210d49bdc4fb"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "210d49bdc4fb"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "210d49bdc4fb"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "210d49bdc4fb"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "210d49bdc4fb"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "210d49bdc4fb"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d841409cf2cd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d841409cf2cd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d841409cf2cd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d841409cf2cd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d841409cf2cd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d841409cf2cd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "0ca1fb194c2a"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "0ca1fb194c2a"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "0ca1fb194c2a"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "0ca1fb194c2a"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "0ca1fb194c2a"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "0ca1fb194c2a"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "56ed81b16097"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "56ed81b16097"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "56ed81b16097"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "56ed81b16097"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "56ed81b16097"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "56ed81b16097"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "79adbe2a1098"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "79adbe2a1098"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "79adbe2a1098"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "79adbe2a1098"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "79adbe2a1098"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "79adbe2a1098"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "6491de11ec00" - }, - "state": "bc686a34f1d7", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "fce268b16b7c"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "515c17b64bb4" - }, - "state": "4bbfda87a5cc", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "fce268b16b7c"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "515c17b64bb4" - }, - "state": "4bbfda87a5cc", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "fce268b16b7c"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "515c17b64bb4" - }, - "state": "4bbfda87a5cc", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "fce268b16b7c"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "515c17b64bb4" - }, - "state": "4bbfda87a5cc", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "fce268b16b7c"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "515c17b64bb4" - }, - "state": "4bbfda87a5cc", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "fce268b16b7c"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "515c17b64bb4" - }, - "state": "4bbfda87a5cc", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "91aa4e194e0f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "5cde185372f4" - }, - "state": "2d185ceee6ec", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "91aa4e194e0f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "5cde185372f4" - }, - "state": "2d185ceee6ec", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "91aa4e194e0f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "5cde185372f4" - }, - "state": "2d185ceee6ec", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "91aa4e194e0f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "5cde185372f4" - }, - "state": "2d185ceee6ec", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "91aa4e194e0f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "5cde185372f4" - }, - "state": "2d185ceee6ec", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "91aa4e194e0f"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "5cde185372f4" - }, - "state": "2d185ceee6ec", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "a7b09fd71a47"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "85a9afbd64a4" - }, - "state": "30581226b39b", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "a7b09fd71a47"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "85a9afbd64a4" - }, - "state": "30581226b39b", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "a7b09fd71a47"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "85a9afbd64a4" - }, - "state": "30581226b39b", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "a7b09fd71a47"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "85a9afbd64a4" - }, - "state": "30581226b39b", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "a7b09fd71a47"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "85a9afbd64a4" - }, - "state": "30581226b39b", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "a7b09fd71a47"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "85a9afbd64a4" - }, - "state": "30581226b39b", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "22c79fc3622e"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "22c79fc3622e"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "22c79fc3622e"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "22c79fc3622e"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "22c79fc3622e"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "22c79fc3622e"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "c7d0e4be12b3"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:commit-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "c7d0e4be12b3"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:prefill-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "c7d0e4be12b3"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:push-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "c7d0e4be12b3"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:create-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "c7d0e4be12b3"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:settled", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "c7d0e4be12b3"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c"], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - } - ] - } -} 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 deleted file mode 100644 index 74c0f10b786..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-3.json +++ /dev/null @@ -1,2897 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.create-intent", - "family": "hostedReview.create-intent", - "namedDeltas": [], - "values": { - "01bc4ad46170": { - "outcome": { - "committed": true, - "error": "Branch changed while preparing the pull request.", - "ok": false, - "status": { - "$rpc": "null" - } - } - }, - "02b590fbc366": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "0e4c5b9b4b61": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "success": true - } - } - } - }, - "0f6982ada2e6": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "10f528114aef": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1858779f58e9": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - }, - { - "area": "untracked", - "path": "src/new.ts", - "status": "untracked" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "1b9478c1b8b5": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-6", - "ok": false - } - } - }, - "1cad656b37fb": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "201cece6e0bb": { - "name": "git.status#3", - "ordinal": 15, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "22cb4850c7e9": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "message": "feat: recorded", - "success": true - } - } - } - }, - "24850f4f8742": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "29519f841323": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-6", - "ok": false - } - } - }, - "324be6bef431": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "blockedReason": "needs_push", - "body": "Host body", - "canCreate": false, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "395c47c3d42e": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 17, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":1,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "42e0a785c289": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "43ccfe31d2a4": { - "outcome": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "49a4ef454656": { - "name": "git.generateCommitMessage#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "4e72cd693c7e": { - "name": "progress", - "ordinal": 25, - "value": "creating_review" - }, - "570c09f158bd": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "6217d4394624": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "Unable to refresh source control", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "682fbd1f6b74": { - "name": "progress", - "ordinal": 11, - "value": "committing" - }, - "6961420be1af": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "Unknown method", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "6a9e29548c49": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "6b3d90cdf382": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6e227482ca80": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "6f8094ed6558": { - "name": "git.status#4", - "ordinal": 22, - "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "72b388fd3302": { - "outcome": "unrun" - }, - "77a1112e7648": { - "name": "hostedReview.create#1", - "ordinal": 27, - "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}}" - }, - "7b98416e2b81": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "81faa0ecff79": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "85b15c0581b5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "outer refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "8601995022f5": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "898de61efa3c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "Branch changed while preparing the pull request.", - "ok": false, - "status": { - "$rpc": "null" - } - } - }, - "8b784bb9dff5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "8f3b0ba895a1": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - } - } - }, - "91342cd7c7a5": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "962b56dc8acd": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "96f0e8413cda": { - "name": "git.push#1", - "ordinal": 20, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "982c7a7a656d": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "987cba4bfe1c": { - "outcome": { - "committed": true, - "error": "outer refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "9df18368de2c": { - "name": "git.status#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b2ae4b8e30b7": { - "name": "progress", - "ordinal": 8, - "value": "generating_commit_message" - }, - "c0b9bd133c1a": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d7fed979e629": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d921a388f59f": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "ddb39c21fa42": { - "outcome": { - "committed": true, - "error": "Unable to refresh source control", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "ddee63fd3bf5": { - "name": "git.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "dfdf5e4c7b8d": { - "outcome": { - "committed": true, - "error": "Unknown method", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [ - { - "added": { - "$rpc": "undefined" - }, - "area": "staged", - "conflictKind": { - "$rpc": "undefined" - }, - "conflictStatus": { - "$rpc": "undefined" - }, - "conflictStatusSource": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/app.ts", - "removed": { - "$rpc": "undefined" - }, - "status": "modified", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "e20a71f63f51": { - "name": "git.bulkStage#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" - }, - "e6dbcef99c41": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 24, - "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":0,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "e83dca631c9c": { - "name": "progress", - "ordinal": 3, - "value": "staging" - }, - "ea24fe24f7ec": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "f192f1898bef": { - "name": "git.commit#1", - "ordinal": 13, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.commit\",\"params\":{\"worktree\":\"id:repo42::/p\",\"message\":\"feat: recorded\"}}" - }, - "f3a8451c3299": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "fccf28a4e541": { - "name": "progress", - "ordinal": 18, - "value": "pushing" - }, - "ff1b8c040df9": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "ffef2a178ce4": { - "name": "worktree.set#1", - "ordinal": 29, - "json": "{\"id\":\"frame-12\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"main\",\"linkedPR\":5}}" - } - }, - "recording": { - "scenario": "matrix-hostedreview.create-intent-git.status-3", - "checkpoints": [ - { - "id": "sc-create-intent-stage-commit-push-create.prelude:initial-status-pending", - "observation": { - "sender": ["8601995022f5"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:stage-pending", - "observation": { - "sender": ["1858779f58e9", "962b56dc8acd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "c0b9bd133c1a" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "c0b9bd133c1a" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "c0b9bd133c1a" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "c0b9bd133c1a" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "ea24fe24f7ec" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "ea24fe24f7ec" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "ea24fe24f7ec" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "ea24fe24f7ec" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "ff1b8c040df9" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "ff1b8c040df9" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "ff1b8c040df9" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "ff1b8c040df9" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "02b590fbc366" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "02b590fbc366" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "02b590fbc366" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "02b590fbc366" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "91342cd7c7a5" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "91342cd7c7a5" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "91342cd7c7a5" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "91342cd7c7a5" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "1b9478c1b8b5" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "85b15c0581b5" - }, - "state": "987cba4bfe1c", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "1b9478c1b8b5" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "85b15c0581b5" - }, - "state": "987cba4bfe1c", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "1b9478c1b8b5" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "85b15c0581b5" - }, - "state": "987cba4bfe1c", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "1b9478c1b8b5" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "85b15c0581b5" - }, - "state": "987cba4bfe1c", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "29519f841323" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "6217d4394624" - }, - "state": "ddb39c21fa42", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "29519f841323" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "6217d4394624" - }, - "state": "ddb39c21fa42", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "29519f841323" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "6217d4394624" - }, - "state": "ddb39c21fa42", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "29519f841323" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "6217d4394624" - }, - "state": "ddb39c21fa42", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "1cad656b37fb" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "6961420be1af" - }, - "state": "dfdf5e4c7b8d", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "1cad656b37fb" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "6961420be1af" - }, - "state": "dfdf5e4c7b8d", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "1cad656b37fb" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "6961420be1af" - }, - "state": "dfdf5e4c7b8d", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "1cad656b37fb" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "6961420be1af" - }, - "state": "dfdf5e4c7b8d", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "24850f4f8742" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "24850f4f8742" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "24850f4f8742" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "24850f4f8742" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "f3a8451c3299" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "f3a8451c3299" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "f3a8451c3299" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "f3a8451c3299" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb" - ], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - } - ] - } -} 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 deleted file mode 100644 index ec2e92f5d0d..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-git.status-4.json +++ /dev/null @@ -1,2317 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.create-intent", - "family": "hostedReview.create-intent", - "namedDeltas": [], - "values": { - "01bc4ad46170": { - "outcome": { - "committed": true, - "error": "Branch changed while preparing the pull request.", - "ok": false, - "status": { - "$rpc": "null" - } - } - }, - "01c537045f5c": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "0e4c5b9b4b61": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "success": true - } - } - } - }, - "0f6982ada2e6": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "10f528114aef": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1858779f58e9": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - }, - { - "area": "untracked", - "path": "src/new.ts", - "status": "untracked" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "201cece6e0bb": { - "name": "git.status#3", - "ordinal": 15, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "22cb4850c7e9": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "message": "feat: recorded", - "success": true - } - } - } - }, - "2753bd712186": { - "outcome": { - "committed": true, - "error": "outer refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "324be6bef431": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "blockedReason": "needs_push", - "body": "Host body", - "canCreate": false, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "33d8e4626f9f": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "395c47c3d42e": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 17, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":1,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "42e0a785c289": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "43ccfe31d2a4": { - "outcome": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "49a4ef454656": { - "name": "git.generateCommitMessage#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "4e72cd693c7e": { - "name": "progress", - "ordinal": 25, - "value": "creating_review" - }, - "570c09f158bd": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "682fbd1f6b74": { - "name": "progress", - "ordinal": 11, - "value": "committing" - }, - "6a9e29548c49": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "6b3d90cdf382": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6c71b1b41cc9": { - "outcome": { - "committed": true, - "error": "Unknown method", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "6e227482ca80": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "6f8094ed6558": { - "name": "git.status#4", - "ordinal": 22, - "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "72b388fd3302": { - "outcome": "unrun" - }, - "73bcd662ebbc": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "Unable to refresh source control", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "77a1112e7648": { - "name": "hostedReview.create#1", - "ordinal": 27, - "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}}" - }, - "7b98416e2b81": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "81faa0ecff79": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "8601995022f5": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "898de61efa3c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "Branch changed while preparing the pull request.", - "ok": false, - "status": { - "$rpc": "null" - } - } - }, - "8b784bb9dff5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "8f3b0ba895a1": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "962b56dc8acd": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "96438ec48c11": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "96f0e8413cda": { - "name": "git.push#1", - "ordinal": 20, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "982c7a7a656d": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "9df18368de2c": { - "name": "git.status#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "a2c09127b730": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b2ae4b8e30b7": { - "name": "progress", - "ordinal": 8, - "value": "generating_commit_message" - }, - "b635e2e59834": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-9", - "ok": false - } - } - }, - "b74fa1c5741d": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "Unknown method", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "b97cb0775244": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "c355b34df111": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "cdf1fca5783b": { - "outcome": { - "committed": true, - "error": "Unable to refresh source control", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "d7fed979e629": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d921a388f59f": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "ddee63fd3bf5": { - "name": "git.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "e0e0b6777eca": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "e20a71f63f51": { - "name": "git.bulkStage#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" - }, - "e6dbcef99c41": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 24, - "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":0,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "e83dca631c9c": { - "name": "progress", - "ordinal": 3, - "value": "staging" - }, - "ebe3b70aca42": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "outer refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "f192f1898bef": { - "name": "git.commit#1", - "ordinal": 13, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.commit\",\"params\":{\"worktree\":\"id:repo42::/p\",\"message\":\"feat: recorded\"}}" - }, - "fba17f442564": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-9", - "ok": false - } - } - }, - "fccf28a4e541": { - "name": "progress", - "ordinal": 18, - "value": "pushing" - }, - "ff2ec521fa8f": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-9", - "ok": false - } - } - }, - "ffef2a178ce4": { - "name": "worktree.set#1", - "ordinal": 29, - "json": "{\"id\":\"frame-12\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"main\",\"linkedPR\":5}}" - } - }, - "recording": { - "scenario": "matrix-hostedreview.create-intent-git.status-4", - "checkpoints": [ - { - "id": "sc-create-intent-stage-commit-push-create.prelude:initial-status-pending", - "observation": { - "sender": ["8601995022f5"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:stage-pending", - "observation": { - "sender": ["1858779f58e9", "962b56dc8acd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "c355b34df111" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "c355b34df111" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "b97cb0775244" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "b97cb0775244" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "96438ec48c11" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "96438ec48c11" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "a2c09127b730" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "a2c09127b730" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "33d8e4626f9f" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "33d8e4626f9f" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "898de61efa3c" - }, - "state": "01bc4ad46170", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "b635e2e59834" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "ebe3b70aca42" - }, - "state": "2753bd712186", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "b635e2e59834" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "ebe3b70aca42" - }, - "state": "2753bd712186", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "fba17f442564" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "73bcd662ebbc" - }, - "state": "cdf1fca5783b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "fba17f442564" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "73bcd662ebbc" - }, - "state": "cdf1fca5783b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "ff2ec521fa8f" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "b74fa1c5741d" - }, - "state": "6c71b1b41cc9", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "ff2ec521fa8f" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "b74fa1c5741d" - }, - "state": "6c71b1b41cc9", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "01c537045f5c" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "01c537045f5c" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "a947768bc0ed" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "e0e0b6777eca" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "e0e0b6777eca" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558" - ], - "settlements": { - "run": "c7584e82c72f" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - } - ] - } -} 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 deleted file mode 100644 index 8452295b382..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-hostedreview.create-1.json +++ /dev/null @@ -1,2352 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.create-intent", - "family": "hostedReview.create-intent", - "namedDeltas": [], - "values": { - "0186466201d2": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-11", - "ok": false - } - } - }, - "0215b92c4449": { - "outcome": { - "committed": true, - "error": "Failed to create pull request", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "0e4c5b9b4b61": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "success": true - } - } - } - }, - "0f6982ada2e6": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "10f528114aef": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "183dab44d2de": { - "outcome": { - "committed": true, - "error": "inner refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "1858779f58e9": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - }, - { - "area": "untracked", - "path": "src/new.ts", - "status": "untracked" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "201cece6e0bb": { - "name": "git.status#3", - "ordinal": 15, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "22cb4850c7e9": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "message": "feat: recorded", - "success": true - } - } - } - }, - "324be6bef431": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "blockedReason": "needs_push", - "body": "Host body", - "canCreate": false, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "395c47c3d42e": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 17, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":1,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "42e0a785c289": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "43ccfe31d2a4": { - "outcome": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "49a4ef454656": { - "name": "git.generateCommitMessage#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "4e72cd693c7e": { - "name": "progress", - "ordinal": 25, - "value": "creating_review" - }, - "570c09f158bd": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "658bb4ca2398": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "outer refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "682fbd1f6b74": { - "name": "progress", - "ordinal": 11, - "value": "committing" - }, - "6a9e29548c49": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "6b3d90cdf382": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6e227482ca80": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "6e40abde3e2b": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true - } - } - }, - "6e6633f1d2cf": { - "outcome": { - "committed": true, - "error": "outer refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "6f8094ed6558": { - "name": "git.status#4", - "ordinal": 22, - "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "71ada4f635d9": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "72b388fd3302": { - "outcome": "unrun" - }, - "77a1112e7648": { - "name": "hostedReview.create#1", - "ordinal": 27, - "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}}" - }, - "7b98416e2b81": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "81faa0ecff79": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "8601995022f5": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8b784bb9dff5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "8f3b0ba895a1": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - } - } - }, - "91302c0f318e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "transport failure", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "95862cea8075": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "962b56dc8acd": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "96f0e8413cda": { - "name": "git.push#1", - "ordinal": 20, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "97bf0d2b9a65": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "982c7a7a656d": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "9df18368de2c": { - "name": "git.status#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "a3d6789c75bc": { - "outcome": { - "committed": true, - "error": "Unknown method", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "a60029c6316a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "The host sent a reply this app could not read (hostedReview.create)", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "a9be442451de": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "Unknown method", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "b2ae4b8e30b7": { - "name": "progress", - "ordinal": 8, - "value": "generating_commit_message" - }, - "b63f9a695bb9": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "b6bd018da15e": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "bd088cc214ea": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "c2d62db0725f": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "c8ac63638dd4": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "inner refused", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "cc7bfdca2939": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-11", - "ok": false - } - } - }, - "d6eed3ce26c0": { - "outcome": { - "committed": true, - "error": "", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "d7fed979e629": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d921a388f59f": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "dccb31fddadc": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "Failed to create pull request", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "ddee63fd3bf5": { - "name": "git.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "e20a71f63f51": { - "name": "git.bulkStage#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" - }, - "e56c1d3fde22": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-11", - "ok": false - } - } - }, - "e6d858bcb05d": { - "outcome": { - "committed": true, - "error": "transport failure", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "e6dbcef99c41": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 24, - "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":0,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "e83dca631c9c": { - "name": "progress", - "ordinal": 3, - "value": "staging" - }, - "f192f1898bef": { - "name": "git.commit#1", - "ordinal": 13, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.commit\",\"params\":{\"worktree\":\"id:repo42::/p\",\"message\":\"feat: recorded\"}}" - }, - "f86f448044b9": { - "outcome": { - "committed": true, - "error": "The host sent a reply this app could not read (hostedReview.create)", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "fccf28a4e541": { - "name": "progress", - "ordinal": 18, - "value": "pushing" - }, - "ffef2a178ce4": { - "name": "worktree.set#1", - "ordinal": 29, - "json": "{\"id\":\"frame-12\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"main\",\"linkedPR\":5}}" - } - }, - "recording": { - "scenario": "matrix-hostedreview.create-intent-hostedreview.create-1", - "checkpoints": [ - { - "id": "sc-create-intent-stage-commit-push-create.prelude:initial-status-pending", - "observation": { - "sender": ["8601995022f5"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:stage-pending", - "observation": { - "sender": ["1858779f58e9", "962b56dc8acd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6e40abde3e2b" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "a60029c6316a" - }, - "state": "f86f448044b9", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "bd088cc214ea" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "a60029c6316a" - }, - "state": "f86f448044b9", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "b6bd018da15e" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "a60029c6316a" - }, - "state": "f86f448044b9", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "71ada4f635d9" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "c8ac63638dd4" - }, - "state": "183dab44d2de", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "95862cea8075" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "a60029c6316a" - }, - "state": "f86f448044b9", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "0186466201d2" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "658bb4ca2398" - }, - "state": "6e6633f1d2cf", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "e56c1d3fde22" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "dccb31fddadc" - }, - "state": "0215b92c4449", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "cc7bfdca2939" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "a9be442451de" - }, - "state": "a3d6789c75bc", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "b63f9a695bb9" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "91302c0f318e" - }, - "state": "e6d858bcb05d", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "97bf0d2b9a65" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "c2d62db0725f" - }, - "state": "d6eed3ce26c0", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 6d03f130c16..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-hostedreview.getcreationeligibility-1.json +++ /dev/null @@ -1,2510 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.create-intent", - "family": "hostedReview.create-intent", - "namedDeltas": [], - "values": { - "0e4c5b9b4b61": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "success": true - } - } - } - }, - "0f6982ada2e6": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "10f528114aef": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1858779f58e9": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - }, - { - "area": "untracked", - "path": "src/new.ts", - "status": "untracked" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "1b1a6ed40e8a": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "201cece6e0bb": { - "name": "git.status#3", - "ordinal": 15, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "22cb4850c7e9": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "message": "feat: recorded", - "success": true - } - } - } - }, - "2310ebfe1c9b": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-7", - "ok": false - } - } - }, - "28b17a5324cf": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "324be6bef431": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "blockedReason": "needs_push", - "body": "Host body", - "canCreate": false, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "395c47c3d42e": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 17, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":1,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "42e0a785c289": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "43ccfe31d2a4": { - "outcome": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "43f8eb18ca2f": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "49a4ef454656": { - "name": "git.generateCommitMessage#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "4e72cd693c7e": { - "name": "progress", - "ordinal": 25, - "value": "creating_review" - }, - "4ef032facb4b": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true - } - } - }, - "5177d89cc19e": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "570c09f158bd": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "682fbd1f6b74": { - "name": "progress", - "ordinal": 11, - "value": "committing" - }, - "6a9e29548c49": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "6b3d90cdf382": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6e227482ca80": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "6f8094ed6558": { - "name": "git.status#4", - "ordinal": 22, - "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "72b388fd3302": { - "outcome": "unrun" - }, - "77a1112e7648": { - "name": "hostedReview.create#1", - "ordinal": 27, - "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}}" - }, - "7b98416e2b81": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "8019fc3cd5c8": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "81faa0ecff79": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "83e80c98d259": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "Orca could not confirm whether this branch already has a pull request. Try again in a moment.", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "8601995022f5": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8b784bb9dff5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "8f3b0ba895a1": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "962b56dc8acd": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "96f0e8413cda": { - "name": "git.push#1", - "ordinal": 20, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "982c7a7a656d": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "9ddb8582cafa": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-7", - "ok": false - } - } - }, - "9df18368de2c": { - "name": "git.status#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "b2ae4b8e30b7": { - "name": "progress", - "ordinal": 8, - "value": "generating_commit_message" - }, - "bcb53cec8038": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "bebae8afec62": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "d7fed979e629": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d921a388f59f": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "dd5d9b4070b7": { - "outcome": { - "committed": true, - "error": "Orca could not confirm whether this branch already has a pull request. Try again in a moment.", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "ddee63fd3bf5": { - "name": "git.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "e20a71f63f51": { - "name": "git.bulkStage#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" - }, - "e6dbcef99c41": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 24, - "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":0,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "e83dca631c9c": { - "name": "progress", - "ordinal": 3, - "value": "staging" - }, - "f192f1898bef": { - "name": "git.commit#1", - "ordinal": 13, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.commit\",\"params\":{\"worktree\":\"id:repo42::/p\",\"message\":\"feat: recorded\"}}" - }, - "fccf28a4e541": { - "name": "progress", - "ordinal": 18, - "value": "pushing" - }, - "ffef2a178ce4": { - "name": "worktree.set#1", - "ordinal": 29, - "json": "{\"id\":\"frame-12\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"main\",\"linkedPR\":5}}" - } - }, - "recording": { - "scenario": "matrix-hostedreview.create-intent-hostedreview.getcreationeligibility-1", - "checkpoints": [ - { - "id": "sc-create-intent-stage-commit-push-create.prelude:initial-status-pending", - "observation": { - "sender": ["8601995022f5"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:stage-pending", - "observation": { - "sender": ["1858779f58e9", "962b56dc8acd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "4ef032facb4b" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "4ef032facb4b" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "4ef032facb4b" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "5177d89cc19e" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "5177d89cc19e" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "5177d89cc19e" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "bebae8afec62" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "bebae8afec62" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "bebae8afec62" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "bcb53cec8038" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "bcb53cec8038" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "bcb53cec8038" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "1b1a6ed40e8a" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "1b1a6ed40e8a" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "1b1a6ed40e8a" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "2310ebfe1c9b" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "2310ebfe1c9b" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "2310ebfe1c9b" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "9ddb8582cafa" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "9ddb8582cafa" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "9ddb8582cafa" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "28b17a5324cf" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "28b17a5324cf" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "28b17a5324cf" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "43f8eb18ca2f" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "43f8eb18ca2f" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "43f8eb18ca2f" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "8019fc3cd5c8" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "8019fc3cd5c8" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "8019fc3cd5c8" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "83e80c98d259" - }, - "state": "dd5d9b4070b7", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - } - ] - } -} 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 deleted file mode 100644 index 675f1e720b5..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-hostedreview.getcreationeligibility-2.json +++ /dev/null @@ -1,2350 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.create-intent", - "family": "hostedReview.create-intent", - "namedDeltas": [], - "values": { - "0708af780dc4": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true - } - } - }, - "0e4c5b9b4b61": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "success": true - } - } - } - }, - "0f6982ada2e6": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "10f528114aef": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1858779f58e9": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - }, - { - "area": "untracked", - "path": "src/new.ts", - "status": "untracked" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "201cece6e0bb": { - "name": "git.status#3", - "ordinal": 15, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "22cb4850c7e9": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "message": "feat: recorded", - "success": true - } - } - } - }, - "28edd52f4d29": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-10", - "ok": false - } - } - }, - "324be6bef431": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "blockedReason": "needs_push", - "body": "Host body", - "canCreate": false, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "395c47c3d42e": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 17, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":1,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "42e0a785c289": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "43ccfe31d2a4": { - "outcome": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "49a4ef454656": { - "name": "git.generateCommitMessage#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "4e72cd693c7e": { - "name": "progress", - "ordinal": 25, - "value": "creating_review" - }, - "570c09f158bd": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "5a0d2dca259b": { - "outcome": { - "committed": true, - "error": "Orca could not confirm whether this branch already has a pull request. Try again in a moment.", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "682fbd1f6b74": { - "name": "progress", - "ordinal": 11, - "value": "committing" - }, - "6a9e29548c49": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "6b3d90cdf382": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6e227482ca80": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "6f8094ed6558": { - "name": "git.status#4", - "ordinal": 22, - "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "72b388fd3302": { - "outcome": "unrun" - }, - "77a1112e7648": { - "name": "hostedReview.create#1", - "ordinal": 27, - "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}}" - }, - "7b98416e2b81": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "81faa0ecff79": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "8601995022f5": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8b6eab764c7a": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "8b784bb9dff5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "8ba927ec85fb": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "8f3b0ba895a1": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "953b822a0b10": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "962b56dc8acd": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "96f0e8413cda": { - "name": "git.push#1", - "ordinal": 20, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "982c7a7a656d": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "9df18368de2c": { - "name": "git.status#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "b2ae4b8e30b7": { - "name": "progress", - "ordinal": 8, - "value": "generating_commit_message" - }, - "b62cd9a5696f": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "bf0e050653a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "error": "Orca could not confirm whether this branch already has a pull request. Try again in a moment.", - "ok": false, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "cb7f55acccce": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "d7fed979e629": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d87301dfe69c": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-10", - "ok": false - } - } - }, - "d921a388f59f": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "ddee63fd3bf5": { - "name": "git.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "e20a71f63f51": { - "name": "git.bulkStage#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" - }, - "e6dbcef99c41": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 24, - "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":0,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "e83dca631c9c": { - "name": "progress", - "ordinal": 3, - "value": "staging" - }, - "e9d1ec1b983a": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "f192f1898bef": { - "name": "git.commit#1", - "ordinal": 13, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.commit\",\"params\":{\"worktree\":\"id:repo42::/p\",\"message\":\"feat: recorded\"}}" - }, - "f979f6837cf8": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-10", - "ok": false - } - } - }, - "fccf28a4e541": { - "name": "progress", - "ordinal": 18, - "value": "pushing" - }, - "ffef2a178ce4": { - "name": "worktree.set#1", - "ordinal": 29, - "json": "{\"id\":\"frame-12\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"main\",\"linkedPR\":5}}" - } - }, - "recording": { - "scenario": "matrix-hostedreview.create-intent-hostedreview.getcreationeligibility-2", - "checkpoints": [ - { - "id": "sc-create-intent-stage-commit-push-create.prelude:initial-status-pending", - "observation": { - "sender": ["8601995022f5"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:stage-pending", - "observation": { - "sender": ["1858779f58e9", "962b56dc8acd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "0708af780dc4" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "0708af780dc4" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "8ba927ec85fb" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "8ba927ec85fb" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "953b822a0b10" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "953b822a0b10" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "b62cd9a5696f" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "b62cd9a5696f" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "cb7f55acccce" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "cb7f55acccce" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "28edd52f4d29" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "28edd52f4d29" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "d87301dfe69c" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "d87301dfe69c" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "f979f6837cf8" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "f979f6837cf8" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "8b6eab764c7a" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "8b6eab764c7a" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "e9d1ec1b983a" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "e9d1ec1b983a" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41" - ], - "settlements": { - "run": "bf0e050653a2" - }, - "state": "5a0d2dca259b", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - } - ] - } -} 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 deleted file mode 100644 index 2cdf204defe..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.create-intent-worktree.set-1.json +++ /dev/null @@ -1,2010 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.create-intent", - "family": "hostedReview.create-intent", - "namedDeltas": [], - "values": { - "0e4c5b9b4b61": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "success": true - } - } - } - }, - "0f6982ada2e6": { - "name": "git.commit#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "git.commit" - }, - { - "name": "params", - "value": { - "message": "feat: recorded", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "10f528114aef": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1858779f58e9": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - }, - { - "area": "untracked", - "path": "src/new.ts", - "status": "untracked" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "1f1eb128297f": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "201cece6e0bb": { - "name": "git.status#3", - "ordinal": 15, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "22cb4850c7e9": { - "name": "git.generateCommitMessage#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "git.generateCommitMessage" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "message": "feat: recorded", - "success": true - } - } - } - }, - "23b272369fb8": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "2c6dd148501e": { - "outcome": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": "Pull Request created, but Orca could not refresh it yet." - } - }, - "324be6bef431": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "blockedReason": "needs_push", - "body": "Host body", - "canCreate": false, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "395c47c3d42e": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 17, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":1,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "3e3803c9d3b2": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "42e0a785c289": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 1, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "43ccfe31d2a4": { - "outcome": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "440e21853d1a": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true - } - } - }, - "49a4ef454656": { - "name": "git.generateCommitMessage#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.generateCommitMessage\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "4e72cd693c7e": { - "name": "progress", - "ordinal": 25, - "value": "creating_review" - }, - "56392db61a40": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "570c09f158bd": { - "name": "git.status#4", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-9", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "5e23effac40d": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "682fbd1f6b74": { - "name": "progress", - "ordinal": 11, - "value": "committing" - }, - "6a9e29548c49": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "ahead": 0, - "base": { - "$rpc": "null" - }, - "behind": 0, - "branch": "feature", - "hasUncommittedChanges": false, - "hasUpstream": true, - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-10", - "ok": true, - "result": { - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - } - } - } - }, - "6b3d90cdf382": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6e227482ca80": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "6f8094ed6558": { - "name": "git.status#4", - "ordinal": 22, - "json": "{\"id\":\"frame-9\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "72b388fd3302": { - "outcome": "unrun" - }, - "766e19856bdb": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-12", - "ok": false - } - } - }, - "77a1112e7648": { - "name": "hostedReview.create#1", - "ordinal": 27, - "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}}" - }, - "7b98416e2b81": { - "name": "git.status#3", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "branch": "feature", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "81faa0ecff79": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "8601995022f5": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8b784bb9dff5": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": { - "$rpc": "undefined" - } - } - }, - "8f3b0ba895a1": { - "name": "hostedReview.create#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "hostedReview.create" - }, - { - "name": "params", - "value": { - "base": "main", - "body": "Host body", - "draft": false, - "head": "feature", - "provider": "github", - "repo": "id:repo42", - "title": "Host title", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-11", - "ok": true, - "result": { - "number": 5, - "ok": true, - "url": "https://review.test/5" - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "962b56dc8acd": { - "name": "git.bulkStage#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.bulkStage" - }, - { - "name": "params", - "value": { - "filePaths": ["src/new.ts"], - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "96f0e8413cda": { - "name": "git.push#1", - "ordinal": 20, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"git.push\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "982c7a7a656d": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-12", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "9df18368de2c": { - "name": "git.status#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "b2ae4b8e30b7": { - "name": "progress", - "ordinal": 8, - "value": "generating_commit_message" - }, - "b661d30b2d73": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "committed": true, - "ok": true, - "prefill": { - "base": "main", - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "nextAction": { - "$rpc": "null" - }, - "provider": "github", - "reviewLookupOutcome": "not_found", - "title": "Host title" - }, - "status": { - "branch": "feature", - "conflictOperation": "unknown", - "entries": [], - "head": "def5678", - "upstreamStatus": { - "ahead": 0, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - }, - "url": "https://review.test/5", - "warning": "Pull Request created, but Orca could not refresh it yet." - } - }, - "c9569b29c1f2": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-12", - "ok": false - } - } - }, - "d7fed979e629": { - "name": "git.push#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "git.push" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "d921a388f59f": { - "name": "git.status#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "area": "staged", - "path": "src/app.ts", - "status": "modified" - } - ], - "head": "abc1234", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "ddee63fd3bf5": { - "name": "git.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo42::/p\"}}" - }, - "e20a71f63f51": { - "name": "git.bulkStage#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.bulkStage\",\"params\":{\"worktree\":\"id:repo42::/p\",\"filePaths\":[\"src/new.ts\"]}}" - }, - "e6dbcef99c41": { - "name": "hostedReview.getCreationEligibility#2", - "ordinal": 24, - "json": "{\"id\":\"frame-10\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"hasUncommittedChanges\":false,\"hasUpstream\":true,\"ahead\":0,\"behind\":0,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "e83dca631c9c": { - "name": "progress", - "ordinal": 3, - "value": "staging" - }, - "e8c1ef1e7336": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "f192f1898bef": { - "name": "git.commit#1", - "ordinal": 13, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"git.commit\",\"params\":{\"worktree\":\"id:repo42::/p\",\"message\":\"feat: recorded\"}}" - }, - "f591bfdffebe": { - "name": "worktree.set#1", - "ordinal": 28, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "baseRef": "main", - "linkedPR": 5, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-12", - "ok": false - } - } - }, - "fccf28a4e541": { - "name": "progress", - "ordinal": 18, - "value": "pushing" - }, - "ffef2a178ce4": { - "name": "worktree.set#1", - "ordinal": 29, - "json": "{\"id\":\"frame-12\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"baseRef\":\"main\",\"linkedPR\":5}}" - } - }, - "recording": { - "scenario": "matrix-hostedreview.create-intent-worktree.set-1", - "checkpoints": [ - { - "id": "sc-create-intent-stage-commit-push-create.prelude:initial-status-pending", - "observation": { - "sender": ["8601995022f5"], - "payloads": ["ddee63fd3bf5"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:stage-pending", - "observation": { - "sender": ["1858779f58e9", "962b56dc8acd"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:generate-message-pending", - "observation": { - "sender": ["1858779f58e9", "81faa0ecff79", "d921a388f59f", "10f528114aef"], - "payloads": ["ddee63fd3bf5", "e20a71f63f51", "9df18368de2c", "49a4ef454656"], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:commit-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0f6982ada2e6" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:prefill-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "42e0a785c289" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:push-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "d7fed979e629" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": ["e83dca631c9c", "b2ae4b8e30b7", "682fbd1f6b74", "fccf28a4e541"] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.prelude:create-pending", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "6b3d90cdf382" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648" - ], - "settlements": { - "run": "9270aeb7d9c6" - }, - "state": "72b388fd3302", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.normal:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "982c7a7a656d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-absent:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "440e21853d1a" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.result-null:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "23b272369fb8" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-ok-missing:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "1f1eb128297f" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-string-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "5e23effac40d" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.inner-false-object-error:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "56392db61a40" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "c9569b29c1f2" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "b661d30b2d73" - }, - "state": "2c6dd148501e", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.outer-refused-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "766e19856bdb" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "b661d30b2d73" - }, - "state": "2c6dd148501e", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.method-not-found:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "f591bfdffebe" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "b661d30b2d73" - }, - "state": "2c6dd148501e", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "3e3803c9d3b2" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "b661d30b2d73" - }, - "state": "2c6dd148501e", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - }, - { - "id": "sc-create-intent-stage-commit-push-create.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "1858779f58e9", - "81faa0ecff79", - "d921a388f59f", - "22cb4850c7e9", - "0e4c5b9b4b61", - "7b98416e2b81", - "324be6bef431", - "6e227482ca80", - "570c09f158bd", - "6a9e29548c49", - "8f3b0ba895a1", - "e8c1ef1e7336" - ], - "payloads": [ - "ddee63fd3bf5", - "e20a71f63f51", - "9df18368de2c", - "49a4ef454656", - "f192f1898bef", - "201cece6e0bb", - "395c47c3d42e", - "96f0e8413cda", - "6f8094ed6558", - "e6dbcef99c41", - "77a1112e7648", - "ffef2a178ce4" - ], - "settlements": { - "run": "8b784bb9dff5" - }, - "state": "43ccfe31d2a4", - "effects": [ - "e83dca631c9c", - "b2ae4b8e30b7", - "682fbd1f6b74", - "fccf28a4e541", - "4e72cd693c7e" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 90b2605b97e..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-hostedreview.eligibility-hostedreview.getcreationeligibility-1.json +++ /dev/null @@ -1,794 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.hosted-review-eligibility", - "family": "hostedReview.eligibility", - "namedDeltas": [], - "values": { - "067b33e5b1a9": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (hostedReview.getCreationEligibility)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "0cca43b8bfa3": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "base": { - "$rpc": "null" - }, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "0d85ba411639": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "base": { - "$rpc": "null" - }, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "109e1e2537c2": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "base": { - "$rpc": "null" - }, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "24bd84c9fb40": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "gitlab", - "reviewLookupOutcome": "none", - "title": "Host title" - } - }, - "2cbc383a17fc": { - "eligibility": { - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "gitlab", - "reviewLookupOutcome": "none", - "title": "Host title" - }, - "prefill": "unresolved" - }, - "482bc172202f": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "base": { - "$rpc": "null" - }, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "485a0942bda3": { - "eligibility": "unfetched", - "prefill": "unresolved" - }, - "4dfe4f2ad75c": { - "eligibility": { - "$rpc": "null" - }, - "prefill": "unresolved" - }, - "554be04adc27": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "base": { - "$rpc": "null" - }, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "5c011f91c938": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "base": { - "$rpc": "null" - }, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "62a6b8a935a7": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "base": { - "$rpc": "null" - }, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "82629d23ef47": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "base": { - "$rpc": "null" - }, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "8bbf03da5e8d": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.getCreationEligibility\",\"params\":{\"repo\":\"id:repo42\",\"worktree\":\"id:repo42::/p\",\"branch\":\"feature\",\"base\":null,\"linkedGitHubPR\":null,\"linkedGitLabMR\":null}}" - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "a0eed8835645": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "base": { - "$rpc": "null" - }, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - }, - "c403f967c681": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "base": { - "$rpc": "null" - }, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - }, - "e81b03821126": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "base": { - "$rpc": "null" - }, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "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" - } - }, - "ef2ac85133d3": { - "name": "hostedReview.getCreationEligibility#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "hostedReview.getCreationEligibility" - }, - { - "name": "params", - "value": { - "base": { - "$rpc": "null" - }, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "linkedGitLabMR": { - "$rpc": "null" - }, - "repo": "id:repo42", - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "blockedReason": { - "$rpc": "null" - }, - "body": "Host body", - "canCreate": true, - "defaultBaseRef": "main", - "nextAction": { - "$rpc": "null" - }, - "provider": "gitlab", - "reviewLookupOutcome": "none", - "title": "Host title" - } - } - } - } - }, - "recording": { - "scenario": "matrix-hostedreview.eligibility-hostedreview.getcreationeligibility-1", - "checkpoints": [ - { - "id": "sc-eligibility-fetched.prelude:pending", - "observation": { - "sender": ["482bc172202f"], - "payloads": ["8bbf03da5e8d"], - "settlements": { - "fetch": "9270aeb7d9c6" - }, - "state": "485a0942bda3", - "effects": [] - } - }, - { - "id": "sc-eligibility-fetched.normal:settled", - "observation": { - "sender": ["ef2ac85133d3"], - "payloads": ["8bbf03da5e8d"], - "settlements": { - "fetch": "24bd84c9fb40" - }, - "state": "2cbc383a17fc", - "effects": [] - } - }, - { - "id": "sc-eligibility-fetched.result-absent:settled", - "observation": { - "sender": ["0d85ba411639"], - "payloads": ["8bbf03da5e8d"], - "settlements": { - "fetch": "067b33e5b1a9" - }, - "state": "485a0942bda3", - "effects": [] - } - }, - { - "id": "sc-eligibility-fetched.result-null:settled", - "observation": { - "sender": ["82629d23ef47"], - "payloads": ["8bbf03da5e8d"], - "settlements": { - "fetch": "067b33e5b1a9" - }, - "state": "485a0942bda3", - "effects": [] - } - }, - { - "id": "sc-eligibility-fetched.inner-ok-missing:settled", - "observation": { - "sender": ["e81b03821126"], - "payloads": ["8bbf03da5e8d"], - "settlements": { - "fetch": "067b33e5b1a9" - }, - "state": "485a0942bda3", - "effects": [] - } - }, - { - "id": "sc-eligibility-fetched.inner-false-string-error:settled", - "observation": { - "sender": ["5c011f91c938"], - "payloads": ["8bbf03da5e8d"], - "settlements": { - "fetch": "067b33e5b1a9" - }, - "state": "485a0942bda3", - "effects": [] - } - }, - { - "id": "sc-eligibility-fetched.inner-false-object-error:settled", - "observation": { - "sender": ["109e1e2537c2"], - "payloads": ["8bbf03da5e8d"], - "settlements": { - "fetch": "067b33e5b1a9" - }, - "state": "485a0942bda3", - "effects": [] - } - }, - { - "id": "sc-eligibility-fetched.outer-refused:settled", - "observation": { - "sender": ["c403f967c681"], - "payloads": ["8bbf03da5e8d"], - "settlements": { - "fetch": "ee20a1dc39e7" - }, - "state": "4dfe4f2ad75c", - "effects": [] - } - }, - { - "id": "sc-eligibility-fetched.outer-refused-no-message:settled", - "observation": { - "sender": ["62a6b8a935a7"], - "payloads": ["8bbf03da5e8d"], - "settlements": { - "fetch": "ee20a1dc39e7" - }, - "state": "4dfe4f2ad75c", - "effects": [] - } - }, - { - "id": "sc-eligibility-fetched.method-not-found:settled", - "observation": { - "sender": ["0cca43b8bfa3"], - "payloads": ["8bbf03da5e8d"], - "settlements": { - "fetch": "ee20a1dc39e7" - }, - "state": "4dfe4f2ad75c", - "effects": [] - } - }, - { - "id": "sc-eligibility-fetched.transport-rejection:settled", - "observation": { - "sender": ["a0eed8835645"], - "payloads": ["8bbf03da5e8d"], - "settlements": { - "fetch": "a947768bc0ed" - }, - "state": "485a0942bda3", - "effects": [] - } - }, - { - "id": "sc-eligibility-fetched.transport-rejection-no-message:settled", - "observation": { - "sender": ["554be04adc27"], - "payloads": ["8bbf03da5e8d"], - "settlements": { - "fetch": "c7584e82c72f" - }, - "state": "485a0942bda3", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 87e81cae2a6..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-legacy-inventory-files.searchpaths-1.json +++ /dev/null @@ -1,1400 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "workspace.file-inventory", - "family": "legacy-inventory", - "namedDeltas": [], - "values": { - "003a57e2bf31": { - "files": ["alpha.ts"] - }, - "098629617c94": { - "name": "files.searchPaths#2", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "fresh", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "0d8b4e6dfdd3": { - "name": "files.searchPaths#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "old", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "1846a62a2e43": { - "name": "files.searchPaths#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "old", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "2529bea74bd9": { - "name": "files.searchPaths#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "old", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "32c9018052ba": { - "name": "files.searchPaths#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "old", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "3b3cac6018f3": { - "name": "files.searchPaths#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "old", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "3b6419fbab75": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "$rpc": "undefined" - } - }, - "458520f20aac": { - "name": "files.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 240 - } - }, - "4e82ccf0bdae": { - "name": "files.searchPaths#2", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.searchPaths\",\"params\":{\"worktree\":\"id:A\",\"query\":\"fresh\",\"limit\":16}}" - }, - "602e35a92eec": { - "files": [] - }, - "82aa78cec383": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 240 - } - }, - "8db0d1234c94": { - "name": "files.searchPaths#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.searchPaths\",\"params\":{\"worktree\":\"id:A\",\"query\":\"old\",\"limit\":16}}" - }, - "99156200e07e": { - "name": "files.searchPaths#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "old", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "9e5b13464d05": { - "name": "files.searchPaths#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "old", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 120, - "settledAt": 120, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "a129552fdc6e": { - "files": ["third.ts"] - }, - "a7dc0e022f15": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 360, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "files": [ - { - "relativePath": "fresh.ts" - }, - { - "relativePath": "third.ts" - } - ] - } - } - } - }, - "ac9a5c022224": { - "name": "files.searchPaths#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "old", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "b06cf4960c6f": { - "name": "files.searchPaths#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "old", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 120, - "settledAt": 120, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "b272f776e5de": { - "name": "files.list#2", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"files.list\",\"params\":{\"worktree\":\"id:A\"}}" - }, - "c8fe855caf51": { - "name": "files.searchPaths#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "old", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "c9b9d7a9b388": { - "name": "files.list#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.list\",\"params\":{\"worktree\":\"id:A\"}}" - }, - "d2ad71e601c4": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "$rpc": "undefined" - } - }, - "d9f32749aeb3": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 240, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "files": [ - { - "relativePath": "old.ts" - } - ] - } - } - } - }, - "e04b1017a7dc": { - "name": "files.list#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.list\",\"params\":{\"worktree\":\"id:A\"}}" - }, - "ea94d4508bba": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 120 - } - }, - "eae0ce09f0e8": { - "name": "files.searchPaths#2", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.searchPaths\",\"params\":{\"worktree\":\"id:A\",\"query\":\"fresh\",\"limit\":16}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f461501d556e": { - "name": "files.searchPaths#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "fresh", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - }, - "f56264d6c004": { - "name": "files.searchPaths#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "old", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "files": [ - { - "relativePath": "alpha.ts" - } - ] - } - } - } - } - }, - "recording": { - "scenario": "matrix-legacy-inventory-files.searchpaths-1", - "checkpoints": [ - { - "id": "b1.normal:old-pending", - "observation": { - "sender": ["f56264d6c004"], - "payloads": ["8db0d1234c94"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a" - }, - "state": "003a57e2bf31", - "effects": [] - } - }, - { - "id": "b1.normal:stale-arrived-fresh-pending", - "observation": { - "sender": ["f56264d6c004", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.normal:third-query", - "observation": { - "sender": ["f56264d6c004", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.normal:fresh-arrived", - "observation": { - "sender": ["f56264d6c004", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-absent:old-pending", - "observation": { - "sender": ["1846a62a2e43"], - "payloads": ["8db0d1234c94"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-absent:stale-arrived-fresh-pending", - "observation": { - "sender": ["1846a62a2e43", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-absent:third-query", - "observation": { - "sender": ["1846a62a2e43", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-absent:fresh-arrived", - "observation": { - "sender": ["1846a62a2e43", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-null:old-pending", - "observation": { - "sender": ["3b3cac6018f3"], - "payloads": ["8db0d1234c94"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-null:stale-arrived-fresh-pending", - "observation": { - "sender": ["3b3cac6018f3", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-null:third-query", - "observation": { - "sender": ["3b3cac6018f3", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-null:fresh-arrived", - "observation": { - "sender": ["3b3cac6018f3", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-ok-missing:old-pending", - "observation": { - "sender": ["2529bea74bd9"], - "payloads": ["8db0d1234c94"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-ok-missing:stale-arrived-fresh-pending", - "observation": { - "sender": ["2529bea74bd9", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-ok-missing:third-query", - "observation": { - "sender": ["2529bea74bd9", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-ok-missing:fresh-arrived", - "observation": { - "sender": ["2529bea74bd9", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-string-error:old-pending", - "observation": { - "sender": ["ac9a5c022224"], - "payloads": ["8db0d1234c94"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-string-error:stale-arrived-fresh-pending", - "observation": { - "sender": ["ac9a5c022224", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-string-error:third-query", - "observation": { - "sender": ["ac9a5c022224", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-string-error:fresh-arrived", - "observation": { - "sender": ["ac9a5c022224", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-object-error:old-pending", - "observation": { - "sender": ["0d8b4e6dfdd3"], - "payloads": ["8db0d1234c94"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-object-error:stale-arrived-fresh-pending", - "observation": { - "sender": ["0d8b4e6dfdd3", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-object-error:third-query", - "observation": { - "sender": ["0d8b4e6dfdd3", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-object-error:fresh-arrived", - "observation": { - "sender": ["0d8b4e6dfdd3", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused:old-pending", - "observation": { - "sender": ["c8fe855caf51"], - "payloads": ["8db0d1234c94"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused:stale-arrived-fresh-pending", - "observation": { - "sender": ["c8fe855caf51", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused:third-query", - "observation": { - "sender": ["c8fe855caf51", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused:fresh-arrived", - "observation": { - "sender": ["c8fe855caf51", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused-no-message:old-pending", - "observation": { - "sender": ["99156200e07e"], - "payloads": ["8db0d1234c94"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused-no-message:stale-arrived-fresh-pending", - "observation": { - "sender": ["99156200e07e", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused-no-message:third-query", - "observation": { - "sender": ["99156200e07e", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused-no-message:fresh-arrived", - "observation": { - "sender": ["99156200e07e", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.method-not-found:old-pending", - "observation": { - "sender": ["32c9018052ba", "ea94d4508bba"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.method-not-found:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.method-not-found:third-query", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.method-not-found:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "a7dc0e022f15"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "a129552fdc6e", - "effects": [] - } - }, - { - "id": "b1.transport-rejection:old-pending", - "observation": { - "sender": ["b06cf4960c6f"], - "payloads": ["8db0d1234c94"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection:stale-arrived-fresh-pending", - "observation": { - "sender": ["b06cf4960c6f", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection:third-query", - "observation": { - "sender": ["b06cf4960c6f", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection:fresh-arrived", - "observation": { - "sender": ["b06cf4960c6f", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection-no-message:old-pending", - "observation": { - "sender": ["9e5b13464d05"], - "payloads": ["8db0d1234c94"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection-no-message:stale-arrived-fresh-pending", - "observation": { - "sender": ["9e5b13464d05", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection-no-message:third-query", - "observation": { - "sender": ["9e5b13464d05", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection-no-message:fresh-arrived", - "observation": { - "sender": ["9e5b13464d05", "098629617c94", "458520f20aac"], - "payloads": ["8db0d1234c94", "4e82ccf0bdae", "e04b1017a7dc"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 65c861032eb..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-legacy-inventory-files.searchpaths-2.json +++ /dev/null @@ -1,1230 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "workspace.file-inventory", - "family": "legacy-inventory", - "namedDeltas": [], - "values": { - "13057f3a548c": { - "name": "files.searchPaths#3", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "third", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 360 - } - }, - "2c6309a87c87": { - "name": "files.searchPaths#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "fresh", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "32c9018052ba": { - "name": "files.searchPaths#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "old", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "3642acfe438f": { - "files": ["beta.ts"] - }, - "3909f80f7274": { - "name": "files.searchPaths#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "fresh", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "3b6419fbab75": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "$rpc": "undefined" - } - }, - "4a8922988468": { - "name": "files.searchPaths#3", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"files.searchPaths\",\"params\":{\"worktree\":\"id:A\",\"query\":\"third\",\"limit\":16}}" - }, - "570334fba7c2": { - "name": "files.searchPaths#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "fresh", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 240, - "settledAt": 240, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "5b2230ef221f": { - "name": "files.searchPaths#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "fresh", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "files": [ - { - "relativePath": "beta.ts" - } - ] - } - } - } - }, - "602e35a92eec": { - "files": [] - }, - "79478f26c974": { - "name": "files.searchPaths#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "fresh", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 240, - "settledAt": 240, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "7f9a72a20046": { - "name": "files.searchPaths#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "fresh", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "82aa78cec383": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 240 - } - }, - "89c15a6513e0": { - "name": "files.searchPaths#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "fresh", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "8db0d1234c94": { - "name": "files.searchPaths#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.searchPaths\",\"params\":{\"worktree\":\"id:A\",\"query\":\"old\",\"limit\":16}}" - }, - "a129552fdc6e": { - "files": ["third.ts"] - }, - "a7dc0e022f15": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 360, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "files": [ - { - "relativePath": "fresh.ts" - }, - { - "relativePath": "third.ts" - } - ] - } - } - } - }, - "b272f776e5de": { - "name": "files.list#2", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"files.list\",\"params\":{\"worktree\":\"id:A\"}}" - }, - "b6068ddac595": { - "name": "files.searchPaths#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "fresh", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "c5d2a0ab64fe": { - "name": "files.searchPaths#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "fresh", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "c9b9d7a9b388": { - "name": "files.list#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.list\",\"params\":{\"worktree\":\"id:A\"}}" - }, - "d2122f7e1536": { - "name": "files.searchPaths#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "fresh", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "d2ad71e601c4": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "$rpc": "undefined" - } - }, - "d9f32749aeb3": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 240, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "files": [ - { - "relativePath": "old.ts" - } - ] - } - } - } - }, - "ea94d4508bba": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 120 - } - }, - "eae0ce09f0e8": { - "name": "files.searchPaths#2", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.searchPaths\",\"params\":{\"worktree\":\"id:A\",\"query\":\"fresh\",\"limit\":16}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f461501d556e": { - "name": "files.searchPaths#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "fresh", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - } - }, - "recording": { - "scenario": "matrix-legacy-inventory-files.searchpaths-2", - "checkpoints": [ - { - "id": "b1.prelude:old-pending", - "observation": { - "sender": ["32c9018052ba", "ea94d4508bba"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.normal:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "5b2230ef221f"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "3642acfe438f", - "effects": [] - } - }, - { - "id": "b1.normal:third-query", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "5b2230ef221f", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.normal:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "5b2230ef221f", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-absent:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "c5d2a0ab64fe"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-absent:third-query", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "c5d2a0ab64fe", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-absent:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "c5d2a0ab64fe", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-null:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "7f9a72a20046"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-null:third-query", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "7f9a72a20046", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-null:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "7f9a72a20046", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-ok-missing:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "2c6309a87c87"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-ok-missing:third-query", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "2c6309a87c87", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-ok-missing:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "2c6309a87c87", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-string-error:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "b6068ddac595"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-string-error:third-query", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "b6068ddac595", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-string-error:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "b6068ddac595", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-object-error:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "d2122f7e1536"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-object-error:third-query", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "d2122f7e1536", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-object-error:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "d2122f7e1536", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "3909f80f7274"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused:third-query", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "3909f80f7274", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "3909f80f7274", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused-no-message:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "89c15a6513e0"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused-no-message:third-query", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "89c15a6513e0", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused-no-message:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "89c15a6513e0", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.method-not-found:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.method-not-found:third-query", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.method-not-found:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "a7dc0e022f15"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "a129552fdc6e", - "effects": [] - } - }, - { - "id": "b1.transport-rejection:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "79478f26c974"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection:third-query", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "79478f26c974", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "79478f26c974", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection-no-message:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "570334fba7c2"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection-no-message:third-query", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "570334fba7c2", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection-no-message:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "570334fba7c2", "13057f3a548c"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "4a8922988468"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-legacy-inventory-fresh-inventory.json b/mobile/rpc-foundation/goldens/matrix-legacy-inventory-fresh-inventory.json deleted file mode 100644 index 53e312f8d9a..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-legacy-inventory-fresh-inventory.json +++ /dev/null @@ -1,841 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "workspace.file-inventory", - "family": "legacy-inventory", - "namedDeltas": [], - "values": { - "1c55dafe88ba": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 360, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "1d269e829fad": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 360, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-4", - "ok": false - } - } - }, - "32c9018052ba": { - "name": "files.searchPaths#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "old", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "3b6419fbab75": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "$rpc": "undefined" - } - }, - "588cebc71e49": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 360, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "602e35a92eec": { - "files": [] - }, - "64e789c88687": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 360, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "70116002e3ab": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 360, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "82aa78cec383": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 240 - } - }, - "8db0d1234c94": { - "name": "files.searchPaths#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.searchPaths\",\"params\":{\"worktree\":\"id:A\",\"query\":\"old\",\"limit\":16}}" - }, - "a129552fdc6e": { - "files": ["third.ts"] - }, - "a50eb26dd92f": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 240, - "settledAt": 360, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "a7dc0e022f15": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 360, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "files": [ - { - "relativePath": "fresh.ts" - }, - { - "relativePath": "third.ts" - } - ] - } - } - } - }, - "aa142ee056c1": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 240, - "settledAt": 360, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "ad10c4465fef": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 360, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "b272f776e5de": { - "name": "files.list#2", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"files.list\",\"params\":{\"worktree\":\"id:A\"}}" - }, - "c8b3cea8b5a6": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 360, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-4", - "ok": false - } - } - }, - "c9b9d7a9b388": { - "name": "files.list#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.list\",\"params\":{\"worktree\":\"id:A\"}}" - }, - "ccc9654536cd": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 360, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-4", - "ok": false - } - } - }, - "d2ad71e601c4": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "$rpc": "undefined" - } - }, - "d9f32749aeb3": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 240, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "files": [ - { - "relativePath": "old.ts" - } - ] - } - } - } - }, - "ea94d4508bba": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 120 - } - }, - "eae0ce09f0e8": { - "name": "files.searchPaths#2", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.searchPaths\",\"params\":{\"worktree\":\"id:A\",\"query\":\"fresh\",\"limit\":16}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f461501d556e": { - "name": "files.searchPaths#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "fresh", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - } - }, - "recording": { - "scenario": "matrix-legacy-inventory-fresh-inventory", - "checkpoints": [ - { - "id": "b1.prelude:old-pending", - "observation": { - "sender": ["32c9018052ba", "ea94d4508bba"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.prelude:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.prelude:third-query", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.normal:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "a7dc0e022f15"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "a129552fdc6e", - "effects": [] - } - }, - { - "id": "b1.result-absent:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "70116002e3ab"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-null:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "ad10c4465fef"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-ok-missing:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "64e789c88687"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-string-error:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "1c55dafe88ba"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-object-error:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "588cebc71e49"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "c8b3cea8b5a6"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused-no-message:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "ccc9654536cd"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.method-not-found:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "1d269e829fad"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "a50eb26dd92f"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection-no-message:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "aa142ee056c1"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-legacy-inventory-old-inventory.json b/mobile/rpc-foundation/goldens/matrix-legacy-inventory-old-inventory.json deleted file mode 100644 index b40c8029557..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-legacy-inventory-old-inventory.json +++ /dev/null @@ -1,1171 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "workspace.file-inventory", - "family": "legacy-inventory", - "namedDeltas": [], - "values": { - "32c9018052ba": { - "name": "files.searchPaths#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "old", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "3b6419fbab75": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "$rpc": "undefined" - } - }, - "3d14db2a97c4": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 240, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "45a8a5e88490": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 120, - "settledAt": 240, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "54bef2b2e788": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 240, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "602e35a92eec": { - "files": [] - }, - "82aa78cec383": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 240 - } - }, - "82aeeae05366": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 240, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "8db0d1234c94": { - "name": "files.searchPaths#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"files.searchPaths\",\"params\":{\"worktree\":\"id:A\",\"query\":\"old\",\"limit\":16}}" - }, - "8ec8cf1a1643": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 240, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "9ebfa6b6db08": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 240, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "a129552fdc6e": { - "files": ["third.ts"] - }, - "a7dc0e022f15": { - "name": "files.list#2", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 360, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "files": [ - { - "relativePath": "fresh.ts" - }, - { - "relativePath": "third.ts" - } - ] - } - } - } - }, - "b272f776e5de": { - "name": "files.list#2", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"files.list\",\"params\":{\"worktree\":\"id:A\"}}" - }, - "bb10718b6413": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 240, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "bf3c6b026a13": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 240, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "c9b9d7a9b388": { - "name": "files.list#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.list\",\"params\":{\"worktree\":\"id:A\"}}" - }, - "d26cd3f8ac0e": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 120, - "settledAt": 240, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "d2ad71e601c4": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 120, - "value": { - "$rpc": "undefined" - } - }, - "d9f32749aeb3": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 240, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "files": [ - { - "relativePath": "old.ts" - } - ] - } - } - } - }, - "e187b7fb0711": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 120, - "settledAt": 240, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "ea94d4508bba": { - "name": "files.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "files.list" - }, - { - "name": "params", - "value": { - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 120 - } - }, - "eae0ce09f0e8": { - "name": "files.searchPaths#2", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.searchPaths\",\"params\":{\"worktree\":\"id:A\",\"query\":\"fresh\",\"limit\":16}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f461501d556e": { - "name": "files.searchPaths#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "files.searchPaths" - }, - { - "name": "params", - "value": { - "limit": 16, - "query": "fresh", - "worktree": "id:A" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 240, - "settledAt": 240, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - } - }, - "recording": { - "scenario": "matrix-legacy-inventory-old-inventory", - "checkpoints": [ - { - "id": "b1.prelude:old-pending", - "observation": { - "sender": ["32c9018052ba", "ea94d4508bba"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.normal:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.normal:third-query", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.normal:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d9f32749aeb3", "f461501d556e", "a7dc0e022f15"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "a129552fdc6e", - "effects": [] - } - }, - { - "id": "b1.result-absent:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "3d14db2a97c4", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-absent:third-query", - "observation": { - "sender": ["32c9018052ba", "3d14db2a97c4", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-absent:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "3d14db2a97c4", "f461501d556e", "a7dc0e022f15"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "a129552fdc6e", - "effects": [] - } - }, - { - "id": "b1.result-null:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "bf3c6b026a13", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-null:third-query", - "observation": { - "sender": ["32c9018052ba", "bf3c6b026a13", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.result-null:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "bf3c6b026a13", "f461501d556e", "a7dc0e022f15"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "a129552fdc6e", - "effects": [] - } - }, - { - "id": "b1.inner-ok-missing:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "82aeeae05366", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-ok-missing:third-query", - "observation": { - "sender": ["32c9018052ba", "82aeeae05366", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-ok-missing:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "82aeeae05366", "f461501d556e", "a7dc0e022f15"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "a129552fdc6e", - "effects": [] - } - }, - { - "id": "b1.inner-false-string-error:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "8ec8cf1a1643", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-string-error:third-query", - "observation": { - "sender": ["32c9018052ba", "8ec8cf1a1643", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-string-error:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "8ec8cf1a1643", "f461501d556e", "a7dc0e022f15"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "a129552fdc6e", - "effects": [] - } - }, - { - "id": "b1.inner-false-object-error:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "bb10718b6413", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-object-error:third-query", - "observation": { - "sender": ["32c9018052ba", "bb10718b6413", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.inner-false-object-error:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "bb10718b6413", "f461501d556e", "a7dc0e022f15"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "a129552fdc6e", - "effects": [] - } - }, - { - "id": "b1.outer-refused:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "e187b7fb0711", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused:third-query", - "observation": { - "sender": ["32c9018052ba", "e187b7fb0711", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "e187b7fb0711", "f461501d556e", "a7dc0e022f15"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "a129552fdc6e", - "effects": [] - } - }, - { - "id": "b1.outer-refused-no-message:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "9ebfa6b6db08", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused-no-message:third-query", - "observation": { - "sender": ["32c9018052ba", "9ebfa6b6db08", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.outer-refused-no-message:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "9ebfa6b6db08", "f461501d556e", "a7dc0e022f15"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "a129552fdc6e", - "effects": [] - } - }, - { - "id": "b1.method-not-found:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "54bef2b2e788", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.method-not-found:third-query", - "observation": { - "sender": ["32c9018052ba", "54bef2b2e788", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.method-not-found:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "54bef2b2e788", "f461501d556e", "a7dc0e022f15"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "a129552fdc6e", - "effects": [] - } - }, - { - "id": "b1.transport-rejection:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "45a8a5e88490", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection:third-query", - "observation": { - "sender": ["32c9018052ba", "45a8a5e88490", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "45a8a5e88490", "f461501d556e", "a7dc0e022f15"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "a129552fdc6e", - "effects": [] - } - }, - { - "id": "b1.transport-rejection-no-message:stale-arrived-fresh-pending", - "observation": { - "sender": ["32c9018052ba", "d26cd3f8ac0e", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection-no-message:third-query", - "observation": { - "sender": ["32c9018052ba", "d26cd3f8ac0e", "f461501d556e", "82aa78cec383"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "602e35a92eec", - "effects": [] - } - }, - { - "id": "b1.transport-rejection-no-message:fresh-arrived", - "observation": { - "sender": ["32c9018052ba", "d26cd3f8ac0e", "f461501d556e", "a7dc0e022f15"], - "payloads": ["8db0d1234c94", "c9b9d7a9b388", "eae0ce09f0e8", "b272f776e5de"], - "settlements": { - "mount": "eb79a9b3682a", - "old": "eb79a9b3682a", - "select-b": "d2ad71e601c4", - "reset-a": "d2ad71e601c4", - "fresh": "d2ad71e601c4", - "third": "3b6419fbab75" - }, - "state": "a129552fdc6e", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index f0ad8d3afd8..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-linear-detail-barrier-linear.getissue-1.json +++ /dev/null @@ -1,925 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "linear.issue-detail", - "family": "linear-detail-barrier", - "namedDeltas": [], - "values": { - "0056f47b204a": { - "name": "linear.getIssue#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "linear.getIssue" - }, - { - "name": "params", - "value": { - "id": "issue-1", - "workspaceId": "linear-workspace" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "055f2a304d6c": { - "name": "linear.getIssue#1", - "ordinal": 4, - "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 - } - } - }, - "104da7defffb": { - "name": "linear.getIssue#1", - "ordinal": 4, - "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 - } - } - }, - "10d17afbad99": { - "name": "linear.getIssue#1", - "ordinal": 4, - "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 - } - } - }, - "1d3774209877": { - "name": "linear.issueComments#1", - "ordinal": 5, - "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": "comments transport error", - "isRpcDeliveryUnknown": true - } - } - }, - "1eaad537f925": { - "name": "linear.getIssue#1", - "ordinal": 6, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" - }, - "264010756b38": { - "name": "detailLoading", - "ordinal": 3, - "value": true - }, - "33614c90b6eb": { - "name": "detailPayload", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "3a6c7be476dc": { - "name": "detailError", - "ordinal": 8, - "value": "" - }, - "4209c465bb82": { - "error": "transport failure", - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "42903545f0f8": { - "error": "comments transport error", - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "51ea77da7dbd": { - "name": "detailError", - "ordinal": 8, - "value": "comments transport error" - }, - "51f19b7d1380": { - "error": "", - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "780aaf1d97be": { - "error": "", - "loading": true, - "payload": { - "$rpc": "null" - } - }, - "79ba81c8ff72": { - "name": "linear.getIssue#1", - "ordinal": 4, - "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 - } - } - }, - "7d8d46d494ff": { - "name": "linear.issueComments#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.issueComments\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" - }, - "862e827bc679": { - "name": "linear.getIssue#1", - "ordinal": 4, - "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" - } - } - } - }, - "8b14e4b9849c": { - "name": "detailError", - "ordinal": 8, - "value": "transport failure" - }, - "8ccd4fa759a5": { - "name": "detailLoading", - "ordinal": 9, - "value": false - }, - "a4f1a8696a24": { - "name": "detailError", - "ordinal": 2, - "value": "" - }, - "a75b2f3a1f29": { - "name": "linear.getIssue#1", - "ordinal": 4, - "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" - } - } - } - }, - "aa802977584a": { - "name": "linear.getIssue#1", - "ordinal": 4, - "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 - } - } - } - }, - "d3c9684f3610": { - "name": "linear.getIssue#1", - "ordinal": 4, - "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 - } - } - }, - "ea4a4f6523e7": { - "name": "linear.issueComments#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "linear.issueComments" - }, - { - "name": "params", - "value": { - "issueId": "issue-1", - "workspaceId": "linear-workspace" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec16d0a68748": { - "name": "linear.getIssue#1", - "ordinal": 4, - "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": "recorded", - "id": "issue-1", - "labels": [], - "subIssues": [] - } - } - } - }, - "ef427ec1c984": { - "name": "linear.getIssue#1", - "ordinal": 4, - "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 - } - } - }, - "f57bdd2073b1": { - "name": "linear.getIssue#1", - "ordinal": 4, - "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 - } - } - } - } - }, - "recording": { - "scenario": "matrix-linear-detail-barrier-linear.getissue-1", - "checkpoints": [ - { - "id": "b3.prelude:pending", - "observation": { - "sender": ["0056f47b204a", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.normal:issue-refused-comments-pending", - "observation": { - "sender": ["ec16d0a68748", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.normal:settled", - "observation": { - "sender": ["ec16d0a68748", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "42903545f0f8", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "51ea77da7dbd", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.result-absent:issue-refused-comments-pending", - "observation": { - "sender": ["d3c9684f3610", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.result-absent:settled", - "observation": { - "sender": ["d3c9684f3610", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "42903545f0f8", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "51ea77da7dbd", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.result-null:issue-refused-comments-pending", - "observation": { - "sender": ["862e827bc679", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.result-null:settled", - "observation": { - "sender": ["862e827bc679", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "42903545f0f8", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "51ea77da7dbd", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.inner-ok-missing:issue-refused-comments-pending", - "observation": { - "sender": ["a75b2f3a1f29", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.inner-ok-missing:settled", - "observation": { - "sender": ["a75b2f3a1f29", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "42903545f0f8", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "51ea77da7dbd", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.inner-false-string-error:issue-refused-comments-pending", - "observation": { - "sender": ["aa802977584a", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.inner-false-string-error:settled", - "observation": { - "sender": ["aa802977584a", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "42903545f0f8", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "51ea77da7dbd", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.inner-false-object-error:issue-refused-comments-pending", - "observation": { - "sender": ["f57bdd2073b1", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.inner-false-object-error:settled", - "observation": { - "sender": ["f57bdd2073b1", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "42903545f0f8", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "51ea77da7dbd", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.outer-refused:issue-refused-comments-pending", - "observation": { - "sender": ["104da7defffb", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.outer-refused:settled", - "observation": { - "sender": ["104da7defffb", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "42903545f0f8", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "51ea77da7dbd", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.outer-refused-no-message:issue-refused-comments-pending", - "observation": { - "sender": ["79ba81c8ff72", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.outer-refused-no-message:settled", - "observation": { - "sender": ["79ba81c8ff72", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "42903545f0f8", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "51ea77da7dbd", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.method-not-found:issue-refused-comments-pending", - "observation": { - "sender": ["055f2a304d6c", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.method-not-found:settled", - "observation": { - "sender": ["055f2a304d6c", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "42903545f0f8", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "51ea77da7dbd", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.transport-rejection:issue-refused-comments-pending", - "observation": { - "sender": ["10d17afbad99", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4209c465bb82", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "8b14e4b9849c", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.transport-rejection:settled", - "observation": { - "sender": ["10d17afbad99", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4209c465bb82", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "8b14e4b9849c", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.transport-rejection-no-message:issue-refused-comments-pending", - "observation": { - "sender": ["ef427ec1c984", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "51f19b7d1380", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "3a6c7be476dc", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.transport-rejection-no-message:settled", - "observation": { - "sender": ["ef427ec1c984", "1d3774209877"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "51f19b7d1380", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "3a6c7be476dc", - "8ccd4fa759a5" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 05b6ebdce93..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-linear-detail-barrier-linear.issuecomments-1.json +++ /dev/null @@ -1,793 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "linear.issue-detail", - "family": "linear-detail-barrier", - "namedDeltas": [], - "values": { - "0056f47b204a": { - "name": "linear.getIssue#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "linear.getIssue" - }, - { - "name": "params", - "value": { - "id": "issue-1", - "workspaceId": "linear-workspace" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "0344292bbcfb": { - "name": "linear.issueComments#1", - "ordinal": 5, - "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" - } - } - } - }, - "1eaad537f925": { - "name": "linear.getIssue#1", - "ordinal": 6, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" - }, - "264010756b38": { - "name": "detailLoading", - "ordinal": 3, - "value": true - }, - "2d189026d303": { - "name": "linear.issueComments#1", - "ordinal": 5, - "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": { - "comments": [] - } - } - } - }, - "33614c90b6eb": { - "name": "detailPayload", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "3676d508ab64": { - "name": "linear.issueComments#1", - "ordinal": 5, - "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 - } - } - }, - "3a6c7be476dc": { - "name": "detailError", - "ordinal": 8, - "value": "" - }, - "4209c465bb82": { - "error": "transport failure", - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "42b016a07f21": { - "name": "linear.issueComments#1", - "ordinal": 5, - "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 - } - } - }, - "515d3e91c5db": { - "name": "linear.issueComments#1", - "ordinal": 5, - "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 - } - } - }, - "51f19b7d1380": { - "error": "", - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "63836c406b20": { - "name": "linear.issueComments#1", - "ordinal": 5, - "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 - } - } - }, - "6a0e0e23463b": { - "name": "linear.issueComments#1", - "ordinal": 5, - "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 - } - } - } - }, - "780aaf1d97be": { - "error": "", - "loading": true, - "payload": { - "$rpc": "null" - } - }, - "7d8d46d494ff": { - "name": "linear.issueComments#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.issueComments\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" - }, - "8b14e4b9849c": { - "name": "detailError", - "ordinal": 8, - "value": "transport failure" - }, - "8ccd4fa759a5": { - "name": "detailLoading", - "ordinal": 9, - "value": false - }, - "8ed99e897d16": { - "name": "linear.issueComments#1", - "ordinal": 5, - "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" - } - } - } - }, - "966ef01937c2": { - "name": "linear.issueComments#1", - "ordinal": 5, - "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 - } - } - }, - "a4f1a8696a24": { - "name": "detailError", - "ordinal": 2, - "value": "" - }, - "ab0bdc58c4b7": { - "name": "detailError", - "ordinal": 8, - "value": "issue refused" - }, - "b17c45f4a3a2": { - "name": "linear.issueComments#1", - "ordinal": 5, - "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 - } - } - }, - "c81b0675f20c": { - "name": "linear.issueComments#1", - "ordinal": 5, - "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 - } - } - } - }, - "d3dc79e5717b": { - "name": "linear.getIssue#1", - "ordinal": 4, - "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": "issue refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "dff907b2355c": { - "error": "issue refused", - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "ea4a4f6523e7": { - "name": "linear.issueComments#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "linear.issueComments" - }, - { - "name": "params", - "value": { - "issueId": "issue-1", - "workspaceId": "linear-workspace" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-linear-detail-barrier-linear.issuecomments-1", - "checkpoints": [ - { - "id": "b3.prelude:pending", - "observation": { - "sender": ["0056f47b204a", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.prelude:issue-refused-comments-pending", - "observation": { - "sender": ["d3dc79e5717b", "ea4a4f6523e7"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "780aaf1d97be", - "effects": ["33614c90b6eb", "a4f1a8696a24", "264010756b38"] - } - }, - { - "id": "b3.normal:settled", - "observation": { - "sender": ["d3dc79e5717b", "2d189026d303"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dff907b2355c", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "ab0bdc58c4b7", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.result-absent:settled", - "observation": { - "sender": ["d3dc79e5717b", "515d3e91c5db"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dff907b2355c", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "ab0bdc58c4b7", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.result-null:settled", - "observation": { - "sender": ["d3dc79e5717b", "0344292bbcfb"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dff907b2355c", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "ab0bdc58c4b7", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.inner-ok-missing:settled", - "observation": { - "sender": ["d3dc79e5717b", "8ed99e897d16"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dff907b2355c", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "ab0bdc58c4b7", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.inner-false-string-error:settled", - "observation": { - "sender": ["d3dc79e5717b", "6a0e0e23463b"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dff907b2355c", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "ab0bdc58c4b7", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.inner-false-object-error:settled", - "observation": { - "sender": ["d3dc79e5717b", "c81b0675f20c"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dff907b2355c", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "ab0bdc58c4b7", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.outer-refused:settled", - "observation": { - "sender": ["d3dc79e5717b", "966ef01937c2"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dff907b2355c", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "ab0bdc58c4b7", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.outer-refused-no-message:settled", - "observation": { - "sender": ["d3dc79e5717b", "3676d508ab64"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dff907b2355c", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "ab0bdc58c4b7", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.method-not-found:settled", - "observation": { - "sender": ["d3dc79e5717b", "42b016a07f21"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dff907b2355c", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "ab0bdc58c4b7", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.transport-rejection:settled", - "observation": { - "sender": ["d3dc79e5717b", "b17c45f4a3a2"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4209c465bb82", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "8b14e4b9849c", - "8ccd4fa759a5" - ] - } - }, - { - "id": "b3.transport-rejection-no-message:settled", - "observation": { - "sender": ["d3dc79e5717b", "63836c406b20"], - "payloads": ["1eaad537f925", "7d8d46d494ff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "51f19b7d1380", - "effects": [ - "33614c90b6eb", - "a4f1a8696a24", - "264010756b38", - "3a6c7be476dc", - "8ccd4fa759a5" - ] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-linear.select-workspace-picker-linear.selectworkspace-1.json b/mobile/rpc-foundation/goldens/matrix-linear.select-workspace-picker-linear.selectworkspace-1.json deleted file mode 100644 index 508cf2e2fa9..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-linear.select-workspace-picker-linear.selectworkspace-1.json +++ /dev/null @@ -1,595 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "linear.select-workspace-picker", - "family": "linear.select-workspace-picker", - "namedDeltas": [], - "values": { - "028532235ade": { - "name": "linear.selectWorkspace#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "linear.selectWorkspace" - }, - { - "name": "params", - "value": { - "workspaceId": "workspace-b" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "03ad330a1788": { - "name": "linear.selectWorkspace#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "linear.selectWorkspace" - }, - { - "name": "params", - "value": { - "workspaceId": "workspace-b" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "19b5600e9b31": { - "name": "linear.selectWorkspace#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "linear.selectWorkspace" - }, - { - "name": "params", - "value": { - "workspaceId": "workspace-b" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "1eb8d10c3003": { - "name": "linear.selectWorkspace#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "linear.selectWorkspace" - }, - { - "name": "params", - "value": { - "workspaceId": "workspace-b" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "2a8d45397a3b": { - "name": "linear.selectWorkspace#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "linear.selectWorkspace" - }, - { - "name": "params", - "value": { - "workspaceId": "workspace-b" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "36c0bdbc5f9b": { - "contextLoads": 0, - "error": "", - "selectedWorkspaceId": "workspace-b", - "teamCount": 0 - }, - "37b43ce2490b": { - "name": "linear.selectWorkspace#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "linear.selectWorkspace" - }, - { - "name": "params", - "value": { - "workspaceId": "workspace-b" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "5100209812a4": { - "name": "linear.context-reloaded", - "ordinal": 3, - "value": { - "contextLoads": 1 - } - }, - "5434c3d0a73f": { - "contextLoads": 0, - "error": "transport failure", - "selectedWorkspaceId": "workspace-b", - "teamCount": 0 - }, - "68b2ea550f02": { - "name": "linear.selectWorkspace#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "linear.selectWorkspace" - }, - { - "name": "params", - "value": { - "workspaceId": "workspace-b" - } - }, - { - "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 - } - } - }, - "81c5a734a2f9": { - "name": "linear.selectWorkspace#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "linear.selectWorkspace" - }, - { - "name": "params", - "value": { - "workspaceId": "workspace-b" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "87cebd70c943": { - "name": "linear.selectWorkspace#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "linear.selectWorkspace" - }, - { - "name": "params", - "value": { - "workspaceId": "workspace-b" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "87e48df4867a": { - "name": "linear.selectWorkspace#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.selectWorkspace\",\"params\":{\"workspaceId\":\"workspace-b\"}}" - }, - "bb41255837cc": { - "name": "linear.selectWorkspace#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "linear.selectWorkspace" - }, - { - "name": "params", - "value": { - "workspaceId": "workspace-b" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "c8827af2e8d6": { - "name": "linear.selectWorkspace#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "linear.selectWorkspace" - }, - { - "name": "params", - "value": { - "workspaceId": "workspace-b" - } - }, - { - "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 - } - } - } - }, - "d2ade472a8ba": { - "contextLoads": 1, - "error": "", - "selectedWorkspaceId": "workspace-b", - "teamCount": 0 - }, - "dc6af816d203": { - "name": "linear.selectWorkspace#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "linear.selectWorkspace" - }, - { - "name": "params", - "value": { - "workspaceId": "workspace-b" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-linear.select-workspace-picker-linear.selectworkspace-1", - "checkpoints": [ - { - "id": "linear-select-workspace.prelude:selected", - "observation": { - "sender": ["dc6af816d203"], - "payloads": ["87e48df4867a"], - "settlements": { - "select-b": "eb79a9b3682a" - }, - "state": "36c0bdbc5f9b", - "effects": [] - } - }, - { - "id": "linear-select-workspace.normal:switched", - "observation": { - "sender": ["2a8d45397a3b"], - "payloads": ["87e48df4867a"], - "settlements": { - "select-b": "eb79a9b3682a" - }, - "state": "d2ade472a8ba", - "effects": ["5100209812a4"] - } - }, - { - "id": "linear-select-workspace.result-absent:switched", - "observation": { - "sender": ["37b43ce2490b"], - "payloads": ["87e48df4867a"], - "settlements": { - "select-b": "eb79a9b3682a" - }, - "state": "d2ade472a8ba", - "effects": ["5100209812a4"] - } - }, - { - "id": "linear-select-workspace.result-null:switched", - "observation": { - "sender": ["81c5a734a2f9"], - "payloads": ["87e48df4867a"], - "settlements": { - "select-b": "eb79a9b3682a" - }, - "state": "d2ade472a8ba", - "effects": ["5100209812a4"] - } - }, - { - "id": "linear-select-workspace.inner-ok-missing:switched", - "observation": { - "sender": ["bb41255837cc"], - "payloads": ["87e48df4867a"], - "settlements": { - "select-b": "eb79a9b3682a" - }, - "state": "d2ade472a8ba", - "effects": ["5100209812a4"] - } - }, - { - "id": "linear-select-workspace.inner-false-string-error:switched", - "observation": { - "sender": ["87cebd70c943"], - "payloads": ["87e48df4867a"], - "settlements": { - "select-b": "eb79a9b3682a" - }, - "state": "d2ade472a8ba", - "effects": ["5100209812a4"] - } - }, - { - "id": "linear-select-workspace.inner-false-object-error:switched", - "observation": { - "sender": ["c8827af2e8d6"], - "payloads": ["87e48df4867a"], - "settlements": { - "select-b": "eb79a9b3682a" - }, - "state": "d2ade472a8ba", - "effects": ["5100209812a4"] - } - }, - { - "id": "linear-select-workspace.outer-refused:switched", - "observation": { - "sender": ["028532235ade"], - "payloads": ["87e48df4867a"], - "settlements": { - "select-b": "eb79a9b3682a" - }, - "state": "d2ade472a8ba", - "effects": ["5100209812a4"] - } - }, - { - "id": "linear-select-workspace.outer-refused-no-message:switched", - "observation": { - "sender": ["1eb8d10c3003"], - "payloads": ["87e48df4867a"], - "settlements": { - "select-b": "eb79a9b3682a" - }, - "state": "d2ade472a8ba", - "effects": ["5100209812a4"] - } - }, - { - "id": "linear-select-workspace.method-not-found:switched", - "observation": { - "sender": ["68b2ea550f02"], - "payloads": ["87e48df4867a"], - "settlements": { - "select-b": "eb79a9b3682a" - }, - "state": "d2ade472a8ba", - "effects": ["5100209812a4"] - } - }, - { - "id": "linear-select-workspace.transport-rejection:switched", - "observation": { - "sender": ["03ad330a1788"], - "payloads": ["87e48df4867a"], - "settlements": { - "select-b": "eb79a9b3682a" - }, - "state": "5434c3d0a73f", - "effects": [] - } - }, - { - "id": "linear-select-workspace.transport-rejection-no-message:switched", - "observation": { - "sender": ["19b5600e9b31"], - "payloads": ["87e48df4867a"], - "settlements": { - "select-b": "eb79a9b3682a" - }, - "state": "36c0bdbc5f9b", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-live-worktree-name-runtime.clientevents.subscribe-1-1.json b/mobile/rpc-foundation/goldens/matrix-live-worktree-name-runtime.clientevents.subscribe-1-1.json deleted file mode 100644 index cd24b335593..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-live-worktree-name-runtime.clientevents.subscribe-1-1.json +++ /dev/null @@ -1,1149 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.live-worktree-name", - "family": "live-worktree-name", - "namedDeltas": [], - "values": { - "0c439cbde351": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "12087a0dcffa": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "14acc07cfb29": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 7, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "3eb45ef8bb4e": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work Replayed", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "42c91b1d1905": { - "name": "streams-registered-at-teardown", - "ordinal": 4, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "5821a3facfa3": { - "name": "runtime.clientEvents.unsubscribe#2", - "ordinal": 10, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "585b33d6e851": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work Renamed", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "592ccd522724": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work Renamed", - "resolution": "present" - }, - "7926694cda85": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work", - "resolution": "present" - }, - "82540afebff7": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 7, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "89ff819afc4f": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work Replayed", - "resolution": "present" - }, - "9aeda3227a99": { - "name": "worktree.show#2", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "b2b39f985caa": { - "name": "streams-registered-at-teardown", - "ordinal": 8, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "c4d8b2697077": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "c686e7f77d44": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "d3fd2d2ea215": { - "name": "worktree.show#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "db4f35d8a571": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "dcfa9a8e959c": { - "crash": { - "$rpc": "null" - }, - "name": "feature", - "resolution": "unknown" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec05934b1f89": { - "name": "worktree.show#3", - "ordinal": 9, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "f2a62c2ca592": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 5, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - } - }, - "recording": { - "scenario": "matrix-live-worktree-name-runtime.clientevents.subscribe-1-1", - "checkpoints": [ - { - "id": "live-worktree-name-stream.prelude:subscribed", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.prelude:cleanup", - "observation": { - "sender": ["db4f35d8a571"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": ["42c91b1d1905"] - } - }, - { - "id": "live-worktree-name-stream.normal:ready", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:named", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:refreshed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:ready", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:named", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:refreshed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99", "c4d8b2697077"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99", "c4d8b2697077"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "14acc07cfb29" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:cleanup", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "14acc07cfb29" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": ["b2b39f985caa"] - } - }, - { - "id": "live-worktree-name-stream.result-null:ready", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:named", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:refreshed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99", "c4d8b2697077"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99", "c4d8b2697077"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "14acc07cfb29" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:cleanup", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "14acc07cfb29" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": ["b2b39f985caa"] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:ready", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:named", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:refreshed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99", "c4d8b2697077"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99", "c4d8b2697077"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "14acc07cfb29" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:cleanup", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "14acc07cfb29" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": ["b2b39f985caa"] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:ready", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:named", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:refreshed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99", "c4d8b2697077"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99", "c4d8b2697077"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "14acc07cfb29" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:cleanup", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "14acc07cfb29" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": ["b2b39f985caa"] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:ready", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:named", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:refreshed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99", "c4d8b2697077"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99", "c4d8b2697077"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "14acc07cfb29" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:cleanup", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "14acc07cfb29" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": ["b2b39f985caa"] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:ready", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:named", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:refreshed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:re-subscribed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:replayed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:unmounted", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44", "f2a62c2ca592"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:ready", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:named", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:refreshed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:re-subscribed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:replayed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:unmounted", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44", "f2a62c2ca592"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:ready", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:named", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:refreshed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:re-subscribed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:replayed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:unmounted", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44", "f2a62c2ca592"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-live-worktree-name-runtime.clientevents.subscribe-1-2.json b/mobile/rpc-foundation/goldens/matrix-live-worktree-name-runtime.clientevents.subscribe-1-2.json deleted file mode 100644 index e3708eb9576..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-live-worktree-name-runtime.clientevents.subscribe-1-2.json +++ /dev/null @@ -1,974 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.live-worktree-name", - "family": "live-worktree-name", - "namedDeltas": [], - "values": { - "0765cf4fde61": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 6, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "0c439cbde351": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "12087a0dcffa": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "3eb45ef8bb4e": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work Replayed", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "5821a3facfa3": { - "name": "runtime.clientEvents.unsubscribe#2", - "ordinal": 10, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "585b33d6e851": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work Renamed", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "58644144d06d": { - "name": "streams-registered-at-teardown", - "ordinal": 7, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#3" - } - ] - }, - "592ccd522724": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work Renamed", - "resolution": "present" - }, - "6ab2ee0270ea": { - "name": "runtime.clientEvents.subscribe#3", - "ordinal": 5, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "7926694cda85": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work", - "resolution": "present" - }, - "82540afebff7": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 7, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "89ff819afc4f": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work Replayed", - "resolution": "present" - }, - "9aeda3227a99": { - "name": "worktree.show#2", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "ae4fb068ab0b": { - "name": "worktree.show#2", - "ordinal": 7, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "b91b3953a7c2": { - "name": "runtime.clientEvents.unsubscribe#2", - "ordinal": 8, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "bcd08472c78e": { - "name": "worktree.show#2", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c4d8b2697077": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "c686e7f77d44": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "d23a39f6a094": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 5, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "d3fd2d2ea215": { - "name": "worktree.show#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "dcfa9a8e959c": { - "crash": { - "$rpc": "null" - }, - "name": "feature", - "resolution": "unknown" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec05934b1f89": { - "name": "worktree.show#3", - "ordinal": 9, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - } - }, - "recording": { - "scenario": "matrix-live-worktree-name-runtime.clientevents.subscribe-1-2", - "checkpoints": [ - { - "id": "live-worktree-name-stream.prelude:subscribed", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.prelude:ready", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.prelude:named", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:refreshed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:refreshed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:re-subscribed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44", "d23a39f6a094"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:replayed", - "observation": { - "sender": ["12087a0dcffa", "bcd08472c78e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "d23a39f6a094", - "ae4fb068ab0b" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:unmounted", - "observation": { - "sender": ["12087a0dcffa", "bcd08472c78e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "d23a39f6a094", - "ae4fb068ab0b", - "b91b3953a7c2" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:refreshed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:re-subscribed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44", "d23a39f6a094"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:replayed", - "observation": { - "sender": ["12087a0dcffa", "bcd08472c78e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "d23a39f6a094", - "ae4fb068ab0b" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:unmounted", - "observation": { - "sender": ["12087a0dcffa", "bcd08472c78e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "d23a39f6a094", - "ae4fb068ab0b", - "b91b3953a7c2" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:refreshed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:re-subscribed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44", "d23a39f6a094"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:replayed", - "observation": { - "sender": ["12087a0dcffa", "bcd08472c78e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "d23a39f6a094", - "ae4fb068ab0b" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:unmounted", - "observation": { - "sender": ["12087a0dcffa", "bcd08472c78e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "d23a39f6a094", - "ae4fb068ab0b", - "b91b3953a7c2" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:refreshed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:re-subscribed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44", "d23a39f6a094"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:replayed", - "observation": { - "sender": ["12087a0dcffa", "bcd08472c78e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "d23a39f6a094", - "ae4fb068ab0b" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:unmounted", - "observation": { - "sender": ["12087a0dcffa", "bcd08472c78e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "d23a39f6a094", - "ae4fb068ab0b", - "b91b3953a7c2" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:refreshed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:re-subscribed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44", "d23a39f6a094"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:replayed", - "observation": { - "sender": ["12087a0dcffa", "bcd08472c78e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "d23a39f6a094", - "ae4fb068ab0b" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:unmounted", - "observation": { - "sender": ["12087a0dcffa", "bcd08472c78e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "d23a39f6a094", - "ae4fb068ab0b", - "b91b3953a7c2" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:refreshed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:re-subscribed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44", "6ab2ee0270ea"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:replayed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "6ab2ee0270ea", - "0765cf4fde61" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:unmounted", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "6ab2ee0270ea", - "0765cf4fde61" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:cleanup", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "6ab2ee0270ea", - "0765cf4fde61" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": ["58644144d06d"] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:refreshed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:re-subscribed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44", "6ab2ee0270ea"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:replayed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "6ab2ee0270ea", - "0765cf4fde61" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:unmounted", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "6ab2ee0270ea", - "0765cf4fde61" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:cleanup", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "6ab2ee0270ea", - "0765cf4fde61" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": ["58644144d06d"] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:refreshed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:re-subscribed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "c686e7f77d44", "6ab2ee0270ea"], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:replayed", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "6ab2ee0270ea", - "0765cf4fde61" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:unmounted", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "6ab2ee0270ea", - "0765cf4fde61" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:cleanup", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "c686e7f77d44", - "6ab2ee0270ea", - "0765cf4fde61" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": ["58644144d06d"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-live-worktree-name-runtime.clientevents.subscribe-2-1.json b/mobile/rpc-foundation/goldens/matrix-live-worktree-name-runtime.clientevents.subscribe-2-1.json deleted file mode 100644 index 8c0559808c1..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-live-worktree-name-runtime.clientevents.subscribe-2-1.json +++ /dev/null @@ -1,857 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.live-worktree-name", - "family": "live-worktree-name", - "namedDeltas": [], - "values": { - "0c439cbde351": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "12087a0dcffa": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "1af11ec943b7": { - "name": "streams-registered-at-teardown", - "ordinal": 9, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#3" - } - ] - }, - "3eb45ef8bb4e": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work Replayed", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "5821a3facfa3": { - "name": "runtime.clientEvents.unsubscribe#2", - "ordinal": 10, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "585b33d6e851": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work Renamed", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "592ccd522724": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work Renamed", - "resolution": "present" - }, - "7926694cda85": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work", - "resolution": "present" - }, - "82540afebff7": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 7, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "840dff90cf4e": { - "name": "streams-registered-at-teardown", - "ordinal": 8, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#2" - } - ] - }, - "89ff819afc4f": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work Replayed", - "resolution": "present" - }, - "9aeda3227a99": { - "name": "worktree.show#2", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "b85d779bfc4e": { - "name": "runtime.clientEvents.subscribe#3", - "ordinal": 8, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "c4d8b2697077": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "d3fd2d2ea215": { - "name": "worktree.show#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "dcfa9a8e959c": { - "crash": { - "$rpc": "null" - }, - "name": "feature", - "resolution": "unknown" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec05934b1f89": { - "name": "worktree.show#3", - "ordinal": 9, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - } - }, - "recording": { - "scenario": "matrix-live-worktree-name-runtime.clientevents.subscribe-2-1", - "checkpoints": [ - { - "id": "live-worktree-name-stream.prelude:subscribed", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.prelude:ready", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.prelude:named", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.prelude:refreshed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.prelude:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.prelude:cleanup", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": ["840dff90cf4e"] - } - }, - { - "id": "live-worktree-name-stream.normal:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:cleanup", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": ["840dff90cf4e"] - } - }, - { - "id": "live-worktree-name-stream.result-null:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:cleanup", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": ["840dff90cf4e"] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:cleanup", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": ["840dff90cf4e"] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:cleanup", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": ["840dff90cf4e"] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:cleanup", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": ["840dff90cf4e"] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "b85d779bfc4e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "b85d779bfc4e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:cleanup", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "b85d779bfc4e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": ["1af11ec943b7"] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "b85d779bfc4e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "b85d779bfc4e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:cleanup", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "b85d779bfc4e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": ["1af11ec943b7"] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "b85d779bfc4e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "b85d779bfc4e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:cleanup", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "b85d779bfc4e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": ["1af11ec943b7"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-live-worktree-name-worktree.show-1.json b/mobile/rpc-foundation/goldens/matrix-live-worktree-name-worktree.show-1.json deleted file mode 100644 index fccc2168be2..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-live-worktree-name-worktree.show-1.json +++ /dev/null @@ -1,1527 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.live-worktree-name", - "family": "live-worktree-name", - "namedDeltas": [], - "values": { - "0c439cbde351": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "0e37fe733579": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "12087a0dcffa": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "1b939044fef4": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "3bda97964ede": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "3e61551a24d6": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "3eb45ef8bb4e": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work Replayed", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "4538d1ce4f14": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/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 - } - } - } - }, - "5821a3facfa3": { - "name": "runtime.clientEvents.unsubscribe#2", - "ordinal": 10, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "585b33d6e851": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work Renamed", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "592ccd522724": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work Renamed", - "resolution": "present" - }, - "7926694cda85": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work", - "resolution": "present" - }, - "7b95ab29fdca": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "82540afebff7": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 7, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "854fd37ca15a": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "89ff819afc4f": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work Replayed", - "resolution": "present" - }, - "9aeda3227a99": { - "name": "worktree.show#2", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "a56948baa97b": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/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 - } - } - }, - "ab71befb85b2": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/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 - } - } - }, - "ac4c5995181d": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/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 - } - } - } - }, - "bf5cadcfd85d": { - "crash": { - "$rpc": "null" - }, - "name": "feature", - "resolution": "present" - }, - "c4d8b2697077": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "d3fd2d2ea215": { - "name": "worktree.show#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "dcfa9a8e959c": { - "crash": { - "$rpc": "null" - }, - "name": "feature", - "resolution": "unknown" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec05934b1f89": { - "name": "worktree.show#3", - "ordinal": 9, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - } - }, - "recording": { - "scenario": "matrix-live-worktree-name-worktree.show-1", - "checkpoints": [ - { - "id": "live-worktree-name-stream.prelude:subscribed", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.prelude:ready", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:named", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:refreshed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:named", - "observation": { - "sender": ["1b939044fef4"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "bf5cadcfd85d", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:refreshed", - "observation": { - "sender": ["1b939044fef4", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:re-subscribed", - "observation": { - "sender": ["1b939044fef4", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:replayed", - "observation": { - "sender": ["1b939044fef4", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:unmounted", - "observation": { - "sender": ["1b939044fef4", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:named", - "observation": { - "sender": ["7b95ab29fdca"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "bf5cadcfd85d", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:refreshed", - "observation": { - "sender": ["7b95ab29fdca", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:re-subscribed", - "observation": { - "sender": ["7b95ab29fdca", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:replayed", - "observation": { - "sender": ["7b95ab29fdca", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:unmounted", - "observation": { - "sender": ["7b95ab29fdca", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:named", - "observation": { - "sender": ["0e37fe733579"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "bf5cadcfd85d", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:refreshed", - "observation": { - "sender": ["0e37fe733579", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:re-subscribed", - "observation": { - "sender": ["0e37fe733579", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:replayed", - "observation": { - "sender": ["0e37fe733579", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:unmounted", - "observation": { - "sender": ["0e37fe733579", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:named", - "observation": { - "sender": ["ac4c5995181d"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "bf5cadcfd85d", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:refreshed", - "observation": { - "sender": ["ac4c5995181d", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:re-subscribed", - "observation": { - "sender": ["ac4c5995181d", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:replayed", - "observation": { - "sender": ["ac4c5995181d", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:unmounted", - "observation": { - "sender": ["ac4c5995181d", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:named", - "observation": { - "sender": ["4538d1ce4f14"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "bf5cadcfd85d", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:refreshed", - "observation": { - "sender": ["4538d1ce4f14", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:re-subscribed", - "observation": { - "sender": ["4538d1ce4f14", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:replayed", - "observation": { - "sender": ["4538d1ce4f14", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:unmounted", - "observation": { - "sender": ["4538d1ce4f14", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:named", - "observation": { - "sender": ["ab71befb85b2"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:refreshed", - "observation": { - "sender": ["ab71befb85b2", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:re-subscribed", - "observation": { - "sender": ["ab71befb85b2", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:replayed", - "observation": { - "sender": ["ab71befb85b2", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:unmounted", - "observation": { - "sender": ["ab71befb85b2", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:named", - "observation": { - "sender": ["854fd37ca15a"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:refreshed", - "observation": { - "sender": ["854fd37ca15a", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:re-subscribed", - "observation": { - "sender": ["854fd37ca15a", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:replayed", - "observation": { - "sender": ["854fd37ca15a", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:unmounted", - "observation": { - "sender": ["854fd37ca15a", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:named", - "observation": { - "sender": ["a56948baa97b"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:refreshed", - "observation": { - "sender": ["a56948baa97b", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:re-subscribed", - "observation": { - "sender": ["a56948baa97b", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:replayed", - "observation": { - "sender": ["a56948baa97b", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:unmounted", - "observation": { - "sender": ["a56948baa97b", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection:named", - "observation": { - "sender": ["3bda97964ede"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection:refreshed", - "observation": { - "sender": ["3bda97964ede", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection:re-subscribed", - "observation": { - "sender": ["3bda97964ede", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection:replayed", - "observation": { - "sender": ["3bda97964ede", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection:unmounted", - "observation": { - "sender": ["3bda97964ede", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection-no-message:named", - "observation": { - "sender": ["3e61551a24d6"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection-no-message:refreshed", - "observation": { - "sender": ["3e61551a24d6", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection-no-message:re-subscribed", - "observation": { - "sender": ["3e61551a24d6", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection-no-message:replayed", - "observation": { - "sender": ["3e61551a24d6", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection-no-message:unmounted", - "observation": { - "sender": ["3e61551a24d6", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-live-worktree-name-worktree.show-2.json b/mobile/rpc-foundation/goldens/matrix-live-worktree-name-worktree.show-2.json deleted file mode 100644 index 1584d311177..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-live-worktree-name-worktree.show-2.json +++ /dev/null @@ -1,1407 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.live-worktree-name", - "family": "live-worktree-name", - "namedDeltas": [], - "values": { - "0111c2c37f18": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "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 - } - } - } - }, - "0c439cbde351": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "12087a0dcffa": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "2d432cd2f5e4": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "3eb45ef8bb4e": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work Replayed", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "3f99896b81f2": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "5821a3facfa3": { - "name": "runtime.clientEvents.unsubscribe#2", - "ordinal": 10, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "585b33d6e851": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work Renamed", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "592ccd522724": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work Renamed", - "resolution": "present" - }, - "5e85c8a608a6": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work", - "resolution": "unknown" - }, - "60a7b556614b": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "6ae1994d3a0b": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "7926694cda85": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work", - "resolution": "present" - }, - "82540afebff7": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 7, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "86f883f24692": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "89ff819afc4f": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work Replayed", - "resolution": "present" - }, - "8d8df639c465": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "9aeda3227a99": { - "name": "worktree.show#2", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "9e3515b7d855": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "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 - } - } - }, - "a7b13b052298": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "c4d8b2697077": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "d3fd2d2ea215": { - "name": "worktree.show#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "dcfa9a8e959c": { - "crash": { - "$rpc": "null" - }, - "name": "feature", - "resolution": "unknown" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec05934b1f89": { - "name": "worktree.show#3", - "ordinal": 9, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "fcf2caf68da5": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - } - }, - "recording": { - "scenario": "matrix-live-worktree-name-worktree.show-2", - "checkpoints": [ - { - "id": "live-worktree-name-stream.prelude:subscribed", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.prelude:ready", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.prelude:named", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:refreshed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:refreshed", - "observation": { - "sender": ["12087a0dcffa", "8d8df639c465"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "8d8df639c465"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:replayed", - "observation": { - "sender": ["12087a0dcffa", "8d8df639c465", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:unmounted", - "observation": { - "sender": ["12087a0dcffa", "8d8df639c465", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:refreshed", - "observation": { - "sender": ["12087a0dcffa", "fcf2caf68da5"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "fcf2caf68da5"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:replayed", - "observation": { - "sender": ["12087a0dcffa", "fcf2caf68da5", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:unmounted", - "observation": { - "sender": ["12087a0dcffa", "fcf2caf68da5", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:refreshed", - "observation": { - "sender": ["12087a0dcffa", "3f99896b81f2"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "3f99896b81f2"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:replayed", - "observation": { - "sender": ["12087a0dcffa", "3f99896b81f2", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:unmounted", - "observation": { - "sender": ["12087a0dcffa", "3f99896b81f2", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:refreshed", - "observation": { - "sender": ["12087a0dcffa", "60a7b556614b"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "60a7b556614b"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:replayed", - "observation": { - "sender": ["12087a0dcffa", "60a7b556614b", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:unmounted", - "observation": { - "sender": ["12087a0dcffa", "60a7b556614b", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:refreshed", - "observation": { - "sender": ["12087a0dcffa", "0111c2c37f18"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "0111c2c37f18"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:replayed", - "observation": { - "sender": ["12087a0dcffa", "0111c2c37f18", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:unmounted", - "observation": { - "sender": ["12087a0dcffa", "0111c2c37f18", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:refreshed", - "observation": { - "sender": ["12087a0dcffa", "2d432cd2f5e4"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5e85c8a608a6", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "2d432cd2f5e4"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "5e85c8a608a6", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:replayed", - "observation": { - "sender": ["12087a0dcffa", "2d432cd2f5e4", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:unmounted", - "observation": { - "sender": ["12087a0dcffa", "2d432cd2f5e4", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:refreshed", - "observation": { - "sender": ["12087a0dcffa", "6ae1994d3a0b"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5e85c8a608a6", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "6ae1994d3a0b"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "5e85c8a608a6", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:replayed", - "observation": { - "sender": ["12087a0dcffa", "6ae1994d3a0b", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:unmounted", - "observation": { - "sender": ["12087a0dcffa", "6ae1994d3a0b", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:refreshed", - "observation": { - "sender": ["12087a0dcffa", "9e3515b7d855"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5e85c8a608a6", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "9e3515b7d855"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "5e85c8a608a6", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:replayed", - "observation": { - "sender": ["12087a0dcffa", "9e3515b7d855", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:unmounted", - "observation": { - "sender": ["12087a0dcffa", "9e3515b7d855", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection:refreshed", - "observation": { - "sender": ["12087a0dcffa", "a7b13b052298"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "a7b13b052298"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection:replayed", - "observation": { - "sender": ["12087a0dcffa", "a7b13b052298", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection:unmounted", - "observation": { - "sender": ["12087a0dcffa", "a7b13b052298", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection-no-message:refreshed", - "observation": { - "sender": ["12087a0dcffa", "86f883f24692"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection-no-message:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "86f883f24692"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection-no-message:replayed", - "observation": { - "sender": ["12087a0dcffa", "86f883f24692", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection-no-message:unmounted", - "observation": { - "sender": ["12087a0dcffa", "86f883f24692", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-live-worktree-name-worktree.show-3.json b/mobile/rpc-foundation/goldens/matrix-live-worktree-name-worktree.show-3.json deleted file mode 100644 index b79e1f2de22..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-live-worktree-name-worktree.show-3.json +++ /dev/null @@ -1,1097 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.live-worktree-name", - "family": "live-worktree-name", - "namedDeltas": [], - "values": { - "06fe646d5269": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "0c439cbde351": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "101ca1ece186": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true - } - } - }, - "12087a0dcffa": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "13a8f984459e": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "27d64bc95a38": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-6", - "ok": false - } - } - }, - "390e345cae49": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "3eb45ef8bb4e": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work Replayed", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "5821a3facfa3": { - "name": "runtime.clientEvents.unsubscribe#2", - "ordinal": 10, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-2\"}}" - }, - "585b33d6e851": { - "name": "worktree.show#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "worktree": { - "displayName": "Feature Work Renamed", - "worktreeId": "repo-1::/work/feature" - } - } - } - } - }, - "592ccd522724": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work Renamed", - "resolution": "present" - }, - "61367c8d7fca": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work Renamed", - "resolution": "unknown" - }, - "61aeb7fff292": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "7926694cda85": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work", - "resolution": "present" - }, - "7d29e3bbfefa": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "82540afebff7": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 7, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "89ff819afc4f": { - "crash": { - "$rpc": "null" - }, - "name": "Feature Work Replayed", - "resolution": "present" - }, - "8cfaaaf4d6e0": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-6", - "ok": false - } - } - }, - "9aeda3227a99": { - "name": "worktree.show#2", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "9c1dec63b6fc": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "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 - } - } - }, - "c4d8b2697077": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "cab8fca01262": { - "name": "worktree.show#3", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-1::/work/feature" - } - }, - { - "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 - } - } - } - }, - "d3fd2d2ea215": { - "name": "worktree.show#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "dcfa9a8e959c": { - "crash": { - "$rpc": "null" - }, - "name": "feature", - "resolution": "unknown" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec05934b1f89": { - "name": "worktree.show#3", - "ordinal": 9, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-1::/work/feature\"}}" - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - } - }, - "recording": { - "scenario": "matrix-live-worktree-name-worktree.show-3", - "checkpoints": [ - { - "id": "live-worktree-name-stream.prelude:subscribed", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.prelude:ready", - "observation": { - "sender": ["0c439cbde351"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcfa9a8e959c", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.prelude:named", - "observation": { - "sender": ["12087a0dcffa"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7926694cda85", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.prelude:refreshed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": ["eef1ee3c2773", "d3fd2d2ea215", "9aeda3227a99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.prelude:re-subscribed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.normal:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "3eb45ef8bb4e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "89ff819afc4f", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "101ca1ece186"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-absent:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "101ca1ece186"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "390e345cae49"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.result-null:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "390e345cae49"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "13a8f984459e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-ok-missing:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "13a8f984459e"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "7d29e3bbfefa"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-string-error:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "7d29e3bbfefa"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "cab8fca01262"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.inner-false-object-error:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "cab8fca01262"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "27d64bc95a38"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "61367c8d7fca", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "27d64bc95a38"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "61367c8d7fca", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "8cfaaaf4d6e0"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "61367c8d7fca", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.outer-refused-no-message:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "8cfaaaf4d6e0"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "61367c8d7fca", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "9c1dec63b6fc"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "61367c8d7fca", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.method-not-found:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "9c1dec63b6fc"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "61367c8d7fca", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "61aeb7fff292"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "61aeb7fff292"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection-no-message:replayed", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "06fe646d5269"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - }, - { - "id": "live-worktree-name-stream.transport-rejection-no-message:unmounted", - "observation": { - "sender": ["12087a0dcffa", "585b33d6e851", "06fe646d5269"], - "payloads": [ - "eef1ee3c2773", - "d3fd2d2ea215", - "9aeda3227a99", - "c4d8b2697077", - "82540afebff7", - "ec05934b1f89", - "5821a3facfa3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "592ccd522724", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-mobileweb.bundle-fetch-app-js.json b/mobile/rpc-foundation/goldens/matrix-mobileweb.bundle-fetch-app-js.json deleted file mode 100644 index 365765698ee..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-mobileweb.bundle-fetch-app-js.json +++ /dev/null @@ -1,853 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "mobileWeb.bundle-fetch", - "family": "mobileWeb.bundle-fetch", - "namedDeltas": [], - "values": { - "06a710454f74": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "assets/app.js" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "06d87c23fd5f": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "assets/app.js" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-4", - "ok": false - } - } - }, - "0eab0e5e8ed5": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "assets/app.js" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "0fed70367a30": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.chunk\",\"params\":{\"buildId\":\"973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177\",\"path\":\"assets/app.js\",\"offset\":0}}" - }, - "11447b4712c1": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: " - }, - "1432380f161f": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 6, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.chunk\",\"params\":{\"buildId\":\"973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177\",\"path\":\"index.html\",\"offset\":0}}" - }, - "19aa61aab0e5": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: refused: " - }, - "23871e324a00": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "chunkBytes": 16, - "manifest": { - "assets": [ - { - "byteLength": 11, - "contentType": "text/javascript; charset=utf-8", - "path": "assets/app.js", - "sha256": "e99170780c392398db81fbb3dcaebc1a2c8264d4d8a9cd5932887e9c7206dc3d" - }, - { - "byteLength": 26, - "contentType": "text/html; charset=utf-8", - "path": "index.html", - "sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e" - } - ], - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "desktopVersion": "1.4.201", - "entrypoint": "index.html", - "minCompatibleRuntimeProtocolVersion": 2, - "runtimeProtocolVersion": 2, - "schemaVersion": 1, - "totalBytes": 37 - } - } - } - } - }, - "36c3e552ccb8": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "assets/app.js" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-4", - "ok": false - } - } - }, - "3efcdd25a189": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "assets/app.js" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "467f0030b66f": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: The host sent a reply this app could not read (mobileWeb.bundle.chunk)" - }, - "4d5b97ce5233": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "assets/app.js" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "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 - } - }, - "573943fdb37d": { - "assets": { - "assets/app.js": "orca.boot()", - "index.html": "

orca

" - }, - "outcome": { - "assetCount": 2, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "totalBytes": 37 - } - }, - "6fb7626a63f7": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "assets/app.js" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "70ad183ccf84": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: refused: outer refused" - }, - "775bfa42070b": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.manifest\",\"params\":null}" - }, - "823559d1d4b0": { - "name": "bundle-progress", - "ordinal": 11, - "value": { - "completedAssets": 2, - "receivedBytes": 37, - "totalAssets": 2 - } - }, - "84a5b50c6206": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: method_not_found: Unknown method" - }, - "911632ac23b3": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "assetByteLength": 26, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "dataBase64": "PCFkb2N0eXBlIGh0bWw+PA==", - "eof": false, - "offset": 0, - "path": "index.html", - "sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e" - } - } - } - }, - "99d41735b110": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "assets/app.js" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "9ff1c9add298": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 16, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "assetByteLength": 26, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "dataBase64": "cD5vcmNhPC9wPg==", - "eof": true, - "offset": 16, - "path": "index.html", - "sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e" - } - } - } - }, - "a8fc2e3f9314": { - "name": "bundle-progress", - "ordinal": 9, - "value": { - "completedAssets": 0, - "receivedBytes": 16, - "totalAssets": 2 - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aefc8aa94abb": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "assets/app.js" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "b319547b8486": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "assets/app.js" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "assetByteLength": 11, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "dataBase64": "b3JjYS5ib290KCk=", - "eof": true, - "offset": 0, - "path": "assets/app.js", - "sha256": "e99170780c392398db81fbb3dcaebc1a2c8264d4d8a9cd5932887e9c7206dc3d" - } - } - } - }, - "b9f5f0928755": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: transport failure" - }, - "bc72339a144e": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "assets/app.js" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-4", - "ok": false - } - } - }, - "c319ae866f13": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "assetCount": 2, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "totalBytes": 37 - } - }, - "c37e890da8f5": { - "name": "bundle-progress", - "ordinal": 10, - "value": { - "completedAssets": 1, - "receivedBytes": 26, - "totalAssets": 2 - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "c8c78c1816d5": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (mobileWeb.bundle.chunk)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "d56bfdbce702": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: ", - "isRpcDeliveryUnknown": false - } - }, - "f09d3e39d35e": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.chunk\",\"params\":{\"buildId\":\"973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177\",\"path\":\"index.html\",\"offset\":16}}" - }, - "f624ac81d963": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "method_not_found: Unknown method", - "isRpcDeliveryUnknown": false - } - } - }, - "recording": { - "scenario": "matrix-mobileweb.bundle-fetch-app-js", - "checkpoints": [ - { - "id": "mobile-web-bundle-fetch-paged.normal:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "9ff1c9add298", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c319ae866f13" - }, - "state": "573943fdb37d", - "effects": ["a8fc2e3f9314", "c37e890da8f5", "823559d1d4b0"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.result-absent:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "9ff1c9add298", "99d41735b110"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c8c78c1816d5" - }, - "state": "467f0030b66f", - "effects": ["a8fc2e3f9314", "c37e890da8f5"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.result-null:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "9ff1c9add298", "aefc8aa94abb"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c8c78c1816d5" - }, - "state": "467f0030b66f", - "effects": ["a8fc2e3f9314", "c37e890da8f5"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.inner-ok-missing:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "9ff1c9add298", "0eab0e5e8ed5"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c8c78c1816d5" - }, - "state": "467f0030b66f", - "effects": ["a8fc2e3f9314", "c37e890da8f5"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.inner-false-string-error:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "9ff1c9add298", "6fb7626a63f7"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c8c78c1816d5" - }, - "state": "467f0030b66f", - "effects": ["a8fc2e3f9314", "c37e890da8f5"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.inner-false-object-error:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "9ff1c9add298", "3efcdd25a189"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c8c78c1816d5" - }, - "state": "467f0030b66f", - "effects": ["a8fc2e3f9314", "c37e890da8f5"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.outer-refused:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "9ff1c9add298", "06d87c23fd5f"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "4e3b57d795cb" - }, - "state": "70ad183ccf84", - "effects": ["a8fc2e3f9314", "c37e890da8f5"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.outer-refused-no-message:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "9ff1c9add298", "36c3e552ccb8"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "d56bfdbce702" - }, - "state": "19aa61aab0e5", - "effects": ["a8fc2e3f9314", "c37e890da8f5"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.method-not-found:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "9ff1c9add298", "bc72339a144e"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "f624ac81d963" - }, - "state": "84a5b50c6206", - "effects": ["a8fc2e3f9314", "c37e890da8f5"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.transport-rejection:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "9ff1c9add298", "4d5b97ce5233"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "a947768bc0ed" - }, - "state": "b9f5f0928755", - "effects": ["a8fc2e3f9314", "c37e890da8f5"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.transport-rejection-no-message:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "9ff1c9add298", "06a710454f74"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c7584e82c72f" - }, - "state": "11447b4712c1", - "effects": ["a8fc2e3f9314", "c37e890da8f5"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-mobileweb.bundle-fetch-index-head.json b/mobile/rpc-foundation/goldens/matrix-mobileweb.bundle-fetch-index-head.json deleted file mode 100644 index a13de44e92f..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-mobileweb.bundle-fetch-index-head.json +++ /dev/null @@ -1,853 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "mobileWeb.bundle-fetch", - "family": "mobileWeb.bundle-fetch", - "namedDeltas": [], - "values": { - "0fed70367a30": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.chunk\",\"params\":{\"buildId\":\"973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177\",\"path\":\"assets/app.js\",\"offset\":0}}" - }, - "11447b4712c1": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: " - }, - "1432380f161f": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 6, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.chunk\",\"params\":{\"buildId\":\"973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177\",\"path\":\"index.html\",\"offset\":0}}" - }, - "16eca927d4b4": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "19aa61aab0e5": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: refused: " - }, - "23871e324a00": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "chunkBytes": 16, - "manifest": { - "assets": [ - { - "byteLength": 11, - "contentType": "text/javascript; charset=utf-8", - "path": "assets/app.js", - "sha256": "e99170780c392398db81fbb3dcaebc1a2c8264d4d8a9cd5932887e9c7206dc3d" - }, - { - "byteLength": 26, - "contentType": "text/html; charset=utf-8", - "path": "index.html", - "sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e" - } - ], - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "desktopVersion": "1.4.201", - "entrypoint": "index.html", - "minCompatibleRuntimeProtocolVersion": 2, - "runtimeProtocolVersion": 2, - "schemaVersion": 1, - "totalBytes": 37 - } - } - } - } - }, - "467f0030b66f": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: The host sent a reply this app could not read (mobileWeb.bundle.chunk)" - }, - "4e3b57d795cb": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: outer refused", - "isRpcDeliveryUnknown": false - } - }, - "573943fdb37d": { - "assets": { - "assets/app.js": "orca.boot()", - "index.html": "

orca

" - }, - "outcome": { - "assetCount": 2, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "totalBytes": 37 - } - }, - "70ad183ccf84": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: refused: outer refused" - }, - "775bfa42070b": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.manifest\",\"params\":null}" - }, - "7f2106261d36": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "801bca7ac89d": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "803400d206b9": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "823559d1d4b0": { - "name": "bundle-progress", - "ordinal": 11, - "value": { - "completedAssets": 2, - "receivedBytes": 37, - "totalAssets": 2 - } - }, - "84a5b50c6206": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: method_not_found: Unknown method" - }, - "8a50b5152ee6": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "911632ac23b3": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "assetByteLength": 26, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "dataBase64": "PCFkb2N0eXBlIGh0bWw+PA==", - "eof": false, - "offset": 0, - "path": "index.html", - "sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e" - } - } - } - }, - "9ff1c9add298": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 16, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "assetByteLength": 26, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "dataBase64": "cD5vcmNhPC9wPg==", - "eof": true, - "offset": 16, - "path": "index.html", - "sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e" - } - } - } - }, - "a5fd9bb3ddf1": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "a8fc2e3f9314": { - "name": "bundle-progress", - "ordinal": 9, - "value": { - "completedAssets": 0, - "receivedBytes": 16, - "totalAssets": 2 - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b319547b8486": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "assets/app.js" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "assetByteLength": 11, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "dataBase64": "b3JjYS5ib290KCk=", - "eof": true, - "offset": 0, - "path": "assets/app.js", - "sha256": "e99170780c392398db81fbb3dcaebc1a2c8264d4d8a9cd5932887e9c7206dc3d" - } - } - } - }, - "b9f5f0928755": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: transport failure" - }, - "bec22c92fc72": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "c319ae866f13": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "assetCount": 2, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "totalBytes": 37 - } - }, - "c37e890da8f5": { - "name": "bundle-progress", - "ordinal": 10, - "value": { - "completedAssets": 1, - "receivedBytes": 26, - "totalAssets": 2 - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "c81764c6c1bc": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "c8c78c1816d5": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (mobileWeb.bundle.chunk)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "ccaa21d759a2": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "d56bfdbce702": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: ", - "isRpcDeliveryUnknown": false - } - }, - "ea9aa7794eb2": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "f09d3e39d35e": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.chunk\",\"params\":{\"buildId\":\"973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177\",\"path\":\"index.html\",\"offset\":16}}" - }, - "f624ac81d963": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "method_not_found: Unknown method", - "isRpcDeliveryUnknown": false - } - } - }, - "recording": { - "scenario": "matrix-mobileweb.bundle-fetch-index-head", - "checkpoints": [ - { - "id": "mobile-web-bundle-fetch-paged.normal:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "9ff1c9add298", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c319ae866f13" - }, - "state": "573943fdb37d", - "effects": ["a8fc2e3f9314", "c37e890da8f5", "823559d1d4b0"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.result-absent:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "8a50b5152ee6", "9ff1c9add298", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c8c78c1816d5" - }, - "state": "467f0030b66f", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.result-null:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "bec22c92fc72", "9ff1c9add298", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c8c78c1816d5" - }, - "state": "467f0030b66f", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.inner-ok-missing:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "16eca927d4b4", "9ff1c9add298", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c8c78c1816d5" - }, - "state": "467f0030b66f", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.inner-false-string-error:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "803400d206b9", "9ff1c9add298", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c8c78c1816d5" - }, - "state": "467f0030b66f", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.inner-false-object-error:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "ccaa21d759a2", "9ff1c9add298", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c8c78c1816d5" - }, - "state": "467f0030b66f", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.outer-refused:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "801bca7ac89d", "9ff1c9add298", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "4e3b57d795cb" - }, - "state": "70ad183ccf84", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.outer-refused-no-message:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "ea9aa7794eb2", "9ff1c9add298", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "d56bfdbce702" - }, - "state": "19aa61aab0e5", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.method-not-found:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "c81764c6c1bc", "9ff1c9add298", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "f624ac81d963" - }, - "state": "84a5b50c6206", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.transport-rejection:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "a5fd9bb3ddf1", "9ff1c9add298", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "a947768bc0ed" - }, - "state": "b9f5f0928755", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.transport-rejection-no-message:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "7f2106261d36", "9ff1c9add298", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c7584e82c72f" - }, - "state": "11447b4712c1", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-mobileweb.bundle-fetch-index-tail.json b/mobile/rpc-foundation/goldens/matrix-mobileweb.bundle-fetch-index-tail.json deleted file mode 100644 index d5808a05682..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-mobileweb.bundle-fetch-index-tail.json +++ /dev/null @@ -1,853 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "mobileWeb.bundle-fetch", - "family": "mobileWeb.bundle-fetch", - "namedDeltas": [], - "values": { - "0fed70367a30": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.chunk\",\"params\":{\"buildId\":\"973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177\",\"path\":\"assets/app.js\",\"offset\":0}}" - }, - "11447b4712c1": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: " - }, - "1432380f161f": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 6, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.chunk\",\"params\":{\"buildId\":\"973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177\",\"path\":\"index.html\",\"offset\":0}}" - }, - "19aa61aab0e5": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: refused: " - }, - "23871e324a00": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "chunkBytes": 16, - "manifest": { - "assets": [ - { - "byteLength": 11, - "contentType": "text/javascript; charset=utf-8", - "path": "assets/app.js", - "sha256": "e99170780c392398db81fbb3dcaebc1a2c8264d4d8a9cd5932887e9c7206dc3d" - }, - { - "byteLength": 26, - "contentType": "text/html; charset=utf-8", - "path": "index.html", - "sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e" - } - ], - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "desktopVersion": "1.4.201", - "entrypoint": "index.html", - "minCompatibleRuntimeProtocolVersion": 2, - "runtimeProtocolVersion": 2, - "schemaVersion": 1, - "totalBytes": 37 - } - } - } - } - }, - "281b9a0156b2": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 16, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "37d42a8bb9af": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 16, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "399fe62e20a2": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 16, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "467f0030b66f": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: The host sent a reply this app could not read (mobileWeb.bundle.chunk)" - }, - "4e3b57d795cb": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: outer refused", - "isRpcDeliveryUnknown": false - } - }, - "573943fdb37d": { - "assets": { - "assets/app.js": "orca.boot()", - "index.html": "

orca

" - }, - "outcome": { - "assetCount": 2, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "totalBytes": 37 - } - }, - "5de1778cb4c3": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 16, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "70ad183ccf84": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: refused: outer refused" - }, - "775bfa42070b": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.manifest\",\"params\":null}" - }, - "823559d1d4b0": { - "name": "bundle-progress", - "ordinal": 11, - "value": { - "completedAssets": 2, - "receivedBytes": 37, - "totalAssets": 2 - } - }, - "84a5b50c6206": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: method_not_found: Unknown method" - }, - "8db8b405888f": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 16, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "911632ac23b3": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "assetByteLength": 26, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "dataBase64": "PCFkb2N0eXBlIGh0bWw+PA==", - "eof": false, - "offset": 0, - "path": "index.html", - "sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e" - } - } - } - }, - "9ff1c9add298": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 16, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "assetByteLength": 26, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "dataBase64": "cD5vcmNhPC9wPg==", - "eof": true, - "offset": 16, - "path": "index.html", - "sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e" - } - } - } - }, - "a8fc2e3f9314": { - "name": "bundle-progress", - "ordinal": 9, - "value": { - "completedAssets": 0, - "receivedBytes": 16, - "totalAssets": 2 - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b319547b8486": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "assets/app.js" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "assetByteLength": 11, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "dataBase64": "b3JjYS5ib290KCk=", - "eof": true, - "offset": 0, - "path": "assets/app.js", - "sha256": "e99170780c392398db81fbb3dcaebc1a2c8264d4d8a9cd5932887e9c7206dc3d" - } - } - } - }, - "b9f5f0928755": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: transport failure" - }, - "c319ae866f13": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "assetCount": 2, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "totalBytes": 37 - } - }, - "c37e890da8f5": { - "name": "bundle-progress", - "ordinal": 10, - "value": { - "completedAssets": 1, - "receivedBytes": 26, - "totalAssets": 2 - } - }, - "c59ffe3ed7ca": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 16, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "c631e3201ced": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 16, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "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 - } - }, - "c8c78c1816d5": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (mobileWeb.bundle.chunk)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "d56bfdbce702": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: ", - "isRpcDeliveryUnknown": false - } - }, - "e09e0c398a0e": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 16, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "f09d3e39d35e": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.chunk\",\"params\":{\"buildId\":\"973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177\",\"path\":\"index.html\",\"offset\":16}}" - }, - "f1a9dbf93ed3": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 16, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - }, - "f624ac81d963": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "method_not_found: Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "fa2c8ed773c1": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 16, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - } - }, - "recording": { - "scenario": "matrix-mobileweb.bundle-fetch-index-tail", - "checkpoints": [ - { - "id": "mobile-web-bundle-fetch-paged.normal:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "9ff1c9add298", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c319ae866f13" - }, - "state": "573943fdb37d", - "effects": ["a8fc2e3f9314", "c37e890da8f5", "823559d1d4b0"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.result-absent:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "8db8b405888f", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c8c78c1816d5" - }, - "state": "467f0030b66f", - "effects": ["a8fc2e3f9314"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.result-null:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "c59ffe3ed7ca", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c8c78c1816d5" - }, - "state": "467f0030b66f", - "effects": ["a8fc2e3f9314"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.inner-ok-missing:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "fa2c8ed773c1", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c8c78c1816d5" - }, - "state": "467f0030b66f", - "effects": ["a8fc2e3f9314"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.inner-false-string-error:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "399fe62e20a2", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c8c78c1816d5" - }, - "state": "467f0030b66f", - "effects": ["a8fc2e3f9314"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.inner-false-object-error:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "281b9a0156b2", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c8c78c1816d5" - }, - "state": "467f0030b66f", - "effects": ["a8fc2e3f9314"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.outer-refused:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "e09e0c398a0e", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "4e3b57d795cb" - }, - "state": "70ad183ccf84", - "effects": ["a8fc2e3f9314"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.outer-refused-no-message:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "c631e3201ced", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "d56bfdbce702" - }, - "state": "19aa61aab0e5", - "effects": ["a8fc2e3f9314"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.method-not-found:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "f1a9dbf93ed3", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "f624ac81d963" - }, - "state": "84a5b50c6206", - "effects": ["a8fc2e3f9314"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.transport-rejection:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "37d42a8bb9af", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "a947768bc0ed" - }, - "state": "b9f5f0928755", - "effects": ["a8fc2e3f9314"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.transport-rejection-no-message:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "5de1778cb4c3", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c7584e82c72f" - }, - "state": "11447b4712c1", - "effects": ["a8fc2e3f9314"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-mobileweb.bundle-fetch-mobileweb.bundle.manifest-1.json b/mobile/rpc-foundation/goldens/matrix-mobileweb.bundle-fetch-mobileweb.bundle.manifest-1.json deleted file mode 100644 index ae22040b5d2..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-mobileweb.bundle-fetch-mobileweb.bundle.manifest-1.json +++ /dev/null @@ -1,833 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "mobileWeb.bundle-fetch", - "family": "mobileWeb.bundle-fetch", - "namedDeltas": [], - "values": { - "04c76c033ffb": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: The host sent a reply this app could not read (mobileWeb.bundle.manifest)" - }, - "0fed70367a30": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.chunk\",\"params\":{\"buildId\":\"973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177\",\"path\":\"assets/app.js\",\"offset\":0}}" - }, - "11447b4712c1": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: " - }, - "1432380f161f": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 6, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.chunk\",\"params\":{\"buildId\":\"973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177\",\"path\":\"index.html\",\"offset\":0}}" - }, - "19aa61aab0e5": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: refused: " - }, - "1f83ee5bcef4": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "23871e324a00": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "chunkBytes": 16, - "manifest": { - "assets": [ - { - "byteLength": 11, - "contentType": "text/javascript; charset=utf-8", - "path": "assets/app.js", - "sha256": "e99170780c392398db81fbb3dcaebc1a2c8264d4d8a9cd5932887e9c7206dc3d" - }, - { - "byteLength": 26, - "contentType": "text/html; charset=utf-8", - "path": "index.html", - "sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e" - } - ], - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "desktopVersion": "1.4.201", - "entrypoint": "index.html", - "minCompatibleRuntimeProtocolVersion": 2, - "runtimeProtocolVersion": 2, - "schemaVersion": 1, - "totalBytes": 37 - } - } - } - } - }, - "2f77c40dc9fb": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "4e3b57d795cb": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: outer refused", - "isRpcDeliveryUnknown": false - } - }, - "573943fdb37d": { - "assets": { - "assets/app.js": "orca.boot()", - "index.html": "

orca

" - }, - "outcome": { - "assetCount": 2, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "totalBytes": 37 - } - }, - "70ad183ccf84": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: refused: outer refused" - }, - "775bfa42070b": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.manifest\",\"params\":null}" - }, - "823559d1d4b0": { - "name": "bundle-progress", - "ordinal": 11, - "value": { - "completedAssets": 2, - "receivedBytes": 37, - "totalAssets": 2 - } - }, - "849b557190c4": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (mobileWeb.bundle.manifest)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "84a5b50c6206": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: method_not_found: Unknown method" - }, - "911632ac23b3": { - "name": "mobileWeb.bundle.chunk#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "assetByteLength": 26, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "dataBase64": "PCFkb2N0eXBlIGh0bWw+PA==", - "eof": false, - "offset": 0, - "path": "index.html", - "sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e" - } - } - } - }, - "92180fc007fa": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "959e5b0d7569": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "9bd7a475c5b3": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "9f8f097c4318": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "9ff1c9add298": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 16, - "path": "index.html" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "assetByteLength": 26, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "dataBase64": "cD5vcmNhPC9wPg==", - "eof": true, - "offset": 16, - "path": "index.html", - "sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e" - } - } - } - }, - "a0fb89567920": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "a8fc2e3f9314": { - "name": "bundle-progress", - "ordinal": 9, - "value": { - "completedAssets": 0, - "receivedBytes": 16, - "totalAssets": 2 - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "ad5c054356d4": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "b319547b8486": { - "name": "mobileWeb.bundle.chunk#3", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.chunk" - }, - { - "name": "params", - "value": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "offset": 0, - "path": "assets/app.js" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 150000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "assetByteLength": 11, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "dataBase64": "b3JjYS5ib290KCk=", - "eof": true, - "offset": 0, - "path": "assets/app.js", - "sha256": "e99170780c392398db81fbb3dcaebc1a2c8264d4d8a9cd5932887e9c7206dc3d" - } - } - } - }, - "b539b28b8552": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "b9f5f0928755": { - "assets": { - "$rpc": "null" - }, - "outcome": "failed: transport failure" - }, - "c319ae866f13": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "assetCount": 2, - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "totalBytes": 37 - } - }, - "c37e890da8f5": { - "name": "bundle-progress", - "ordinal": 10, - "value": { - "completedAssets": 1, - "receivedBytes": 26, - "totalAssets": 2 - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d54e9333d433": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "d56bfdbce702": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: ", - "isRpcDeliveryUnknown": false - } - }, - "f09d3e39d35e": { - "name": "mobileWeb.bundle.chunk#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.chunk\",\"params\":{\"buildId\":\"973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177\",\"path\":\"index.html\",\"offset\":16}}" - }, - "f624ac81d963": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "method_not_found: Unknown method", - "isRpcDeliveryUnknown": false - } - } - }, - "recording": { - "scenario": "matrix-mobileweb.bundle-fetch-mobileweb.bundle.manifest-1", - "checkpoints": [ - { - "id": "mobile-web-bundle-fetch-paged.normal:bundle-fetched", - "observation": { - "sender": ["23871e324a00", "911632ac23b3", "9ff1c9add298", "b319547b8486"], - "payloads": ["775bfa42070b", "1432380f161f", "f09d3e39d35e", "0fed70367a30"], - "settlements": { - "fetch": "c319ae866f13" - }, - "state": "573943fdb37d", - "effects": ["a8fc2e3f9314", "c37e890da8f5", "823559d1d4b0"] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.result-absent:bundle-fetched", - "observation": { - "sender": ["d54e9333d433"], - "payloads": ["775bfa42070b"], - "settlements": { - "fetch": "849b557190c4" - }, - "state": "04c76c033ffb", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.result-null:bundle-fetched", - "observation": { - "sender": ["1f83ee5bcef4"], - "payloads": ["775bfa42070b"], - "settlements": { - "fetch": "849b557190c4" - }, - "state": "04c76c033ffb", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.inner-ok-missing:bundle-fetched", - "observation": { - "sender": ["b539b28b8552"], - "payloads": ["775bfa42070b"], - "settlements": { - "fetch": "849b557190c4" - }, - "state": "04c76c033ffb", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.inner-false-string-error:bundle-fetched", - "observation": { - "sender": ["ad5c054356d4"], - "payloads": ["775bfa42070b"], - "settlements": { - "fetch": "849b557190c4" - }, - "state": "04c76c033ffb", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.inner-false-object-error:bundle-fetched", - "observation": { - "sender": ["2f77c40dc9fb"], - "payloads": ["775bfa42070b"], - "settlements": { - "fetch": "849b557190c4" - }, - "state": "04c76c033ffb", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.outer-refused:bundle-fetched", - "observation": { - "sender": ["9f8f097c4318"], - "payloads": ["775bfa42070b"], - "settlements": { - "fetch": "4e3b57d795cb" - }, - "state": "70ad183ccf84", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.outer-refused-no-message:bundle-fetched", - "observation": { - "sender": ["959e5b0d7569"], - "payloads": ["775bfa42070b"], - "settlements": { - "fetch": "d56bfdbce702" - }, - "state": "19aa61aab0e5", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.method-not-found:bundle-fetched", - "observation": { - "sender": ["9bd7a475c5b3"], - "payloads": ["775bfa42070b"], - "settlements": { - "fetch": "f624ac81d963" - }, - "state": "84a5b50c6206", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.transport-rejection:bundle-fetched", - "observation": { - "sender": ["a0fb89567920"], - "payloads": ["775bfa42070b"], - "settlements": { - "fetch": "a947768bc0ed" - }, - "state": "b9f5f0928755", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-fetch-paged.transport-rejection-no-message:bundle-fetched", - "observation": { - "sender": ["92180fc007fa"], - "payloads": ["775bfa42070b"], - "settlements": { - "fetch": "c7584e82c72f" - }, - "state": "11447b4712c1", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-mobileweb.bundle-manifest-mobileweb.bundle.manifest-1.json b/mobile/rpc-foundation/goldens/matrix-mobileweb.bundle-manifest-mobileweb.bundle.manifest-1.json deleted file mode 100644 index ef306e7526f..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-mobileweb.bundle-manifest-mobileweb.bundle.manifest-1.json +++ /dev/null @@ -1,665 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "mobileWeb.bundle-manifest", - "family": "mobileWeb.bundle-manifest", - "namedDeltas": [], - "values": { - "12e970df3db8": { - "outcome": "failed: refused: outer refused" - }, - "1f83ee5bcef4": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "23871e324a00": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "chunkBytes": 16, - "manifest": { - "assets": [ - { - "byteLength": 11, - "contentType": "text/javascript; charset=utf-8", - "path": "assets/app.js", - "sha256": "e99170780c392398db81fbb3dcaebc1a2c8264d4d8a9cd5932887e9c7206dc3d" - }, - { - "byteLength": 26, - "contentType": "text/html; charset=utf-8", - "path": "index.html", - "sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e" - } - ], - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "desktopVersion": "1.4.201", - "entrypoint": "index.html", - "minCompatibleRuntimeProtocolVersion": 2, - "runtimeProtocolVersion": 2, - "schemaVersion": 1, - "totalBytes": 37 - } - } - } - } - }, - "2f77c40dc9fb": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "37fa2b81fff0": { - "outcome": "failed: method_not_found: Unknown method" - }, - "4e3b57d795cb": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: outer refused", - "isRpcDeliveryUnknown": false - } - }, - "533d41ae6475": { - "outcome": "failed: " - }, - "775bfa42070b": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"mobileWeb.bundle.manifest\",\"params\":null}" - }, - "849b557190c4": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (mobileWeb.bundle.manifest)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "92180fc007fa": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "959e5b0d7569": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "9bd7a475c5b3": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "9ca9b2d0fc07": { - "outcome": { - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "chunkBytes": 16, - "entrypoint": "index.html", - "paths": ["assets/app.js", "index.html"] - } - }, - "9d87b3b6bd74": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "chunkBytes": 16, - "manifest": { - "assets": [ - { - "byteLength": 11, - "contentType": "text/javascript; charset=utf-8", - "path": "assets/app.js", - "sha256": "e99170780c392398db81fbb3dcaebc1a2c8264d4d8a9cd5932887e9c7206dc3d" - }, - { - "byteLength": 26, - "contentType": "text/html; charset=utf-8", - "path": "index.html", - "sha256": "483f915496f213c851665840f49b69e05b7a6bf70ec9d6939a831b15d298f31e" - } - ], - "buildId": "973c008f6baf56072d8d3d41f451e005257b59026401473543ce96e81c5aa177", - "desktopVersion": "1.4.201", - "entrypoint": "index.html", - "minCompatibleRuntimeProtocolVersion": 2, - "runtimeProtocolVersion": 2, - "schemaVersion": 1, - "totalBytes": 37 - } - } - }, - "9f8f097c4318": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "a0fb89567920": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "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 - } - }, - "ad5c054356d4": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "b539b28b8552": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "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 - } - }, - "ce45a7dbe0d4": { - "outcome": "failed: refused: " - }, - "ce8ef76590e2": { - "outcome": "failed: The host sent a reply this app could not read (mobileWeb.bundle.manifest)" - }, - "d54e9333d433": { - "name": "mobileWeb.bundle.manifest#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "mobileWeb.bundle.manifest" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "$rpc": "undefined" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "d56bfdbce702": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: ", - "isRpcDeliveryUnknown": false - } - }, - "ded62b26901e": { - "outcome": "failed: transport failure" - }, - "f624ac81d963": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "method_not_found: Unknown method", - "isRpcDeliveryUnknown": false - } - } - }, - "recording": { - "scenario": "matrix-mobileweb.bundle-manifest-mobileweb.bundle.manifest-1", - "checkpoints": [ - { - "id": "mobile-web-bundle-manifest-read.normal:manifest-read", - "observation": { - "sender": ["23871e324a00"], - "payloads": ["775bfa42070b"], - "settlements": { - "read": "9d87b3b6bd74" - }, - "state": "9ca9b2d0fc07", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-manifest-read.result-absent:manifest-read", - "observation": { - "sender": ["d54e9333d433"], - "payloads": ["775bfa42070b"], - "settlements": { - "read": "849b557190c4" - }, - "state": "ce8ef76590e2", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-manifest-read.result-null:manifest-read", - "observation": { - "sender": ["1f83ee5bcef4"], - "payloads": ["775bfa42070b"], - "settlements": { - "read": "849b557190c4" - }, - "state": "ce8ef76590e2", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-manifest-read.inner-ok-missing:manifest-read", - "observation": { - "sender": ["b539b28b8552"], - "payloads": ["775bfa42070b"], - "settlements": { - "read": "849b557190c4" - }, - "state": "ce8ef76590e2", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-manifest-read.inner-false-string-error:manifest-read", - "observation": { - "sender": ["ad5c054356d4"], - "payloads": ["775bfa42070b"], - "settlements": { - "read": "849b557190c4" - }, - "state": "ce8ef76590e2", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-manifest-read.inner-false-object-error:manifest-read", - "observation": { - "sender": ["2f77c40dc9fb"], - "payloads": ["775bfa42070b"], - "settlements": { - "read": "849b557190c4" - }, - "state": "ce8ef76590e2", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-manifest-read.outer-refused:manifest-read", - "observation": { - "sender": ["9f8f097c4318"], - "payloads": ["775bfa42070b"], - "settlements": { - "read": "4e3b57d795cb" - }, - "state": "12e970df3db8", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-manifest-read.outer-refused-no-message:manifest-read", - "observation": { - "sender": ["959e5b0d7569"], - "payloads": ["775bfa42070b"], - "settlements": { - "read": "d56bfdbce702" - }, - "state": "ce45a7dbe0d4", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-manifest-read.method-not-found:manifest-read", - "observation": { - "sender": ["9bd7a475c5b3"], - "payloads": ["775bfa42070b"], - "settlements": { - "read": "f624ac81d963" - }, - "state": "37fa2b81fff0", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-manifest-read.transport-rejection:manifest-read", - "observation": { - "sender": ["a0fb89567920"], - "payloads": ["775bfa42070b"], - "settlements": { - "read": "a947768bc0ed" - }, - "state": "ded62b26901e", - "effects": [] - } - }, - { - "id": "mobile-web-bundle-manifest-read.transport-rejection-no-message:manifest-read", - "observation": { - "sender": ["92180fc007fa"], - "payloads": ["775bfa42070b"], - "settlements": { - "read": "c7584e82c72f" - }, - "state": "533d41ae6475", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-nativechat.image-paste-terminal.read-1.json b/mobile/rpc-foundation/goldens/matrix-nativechat.image-paste-terminal.read-1.json deleted file mode 100644 index cc1c7b07a49..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-nativechat.image-paste-terminal.read-1.json +++ /dev/null @@ -1,665 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "nativeChat.image-paste", - "family": "nativeChat.image-paste", - "namedDeltas": [], - "values": { - "0f02c1a90f93": { - "name": "terminal.send#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" - }, - "15a9fbee07a2": { - "name": "terminal.read#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.read" - }, - { - "name": "params", - "value": { - "limit": 1, - "screen": true, - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 2000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "terminal": {} - } - } - } - }, - "29ab3b9b5e3d": { - "name": "terminal.read#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.read" - }, - { - "name": "params", - "value": { - "limit": 1, - "screen": true, - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 2000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "3e360b999726": { - "name": "terminal.read#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.read" - }, - { - "name": "params", - "value": { - "limit": 1, - "screen": true, - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 2000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "40c4c5738c96": { - "name": "terminal.send#2", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"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\"}}}" - }, - "47a22f9d0047": { - "failure": { - "$rpc": "null" - }, - "pasted": true - }, - "68f1fe2a0120": { - "name": "terminal.read#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.read" - }, - { - "name": "params", - "value": { - "limit": 1, - "screen": true, - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 2000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "703c117d5bca": { - "name": "terminal.send#2", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - }, - "7bad2a7ea2f3": { - "name": "terminal.read#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.read" - }, - { - "name": "params", - "value": { - "limit": 1, - "screen": true, - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 2000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "908aa721a5f5": { - "name": "terminal.read#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.read" - }, - { - "name": "params", - "value": { - "limit": 1, - "screen": true, - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 2000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "9f6c6a23022f": { - "name": "terminal.read#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.read" - }, - { - "name": "params", - "value": { - "limit": 1, - "screen": true, - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 2000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "a3e305c984c6": { - "name": "terminal.send#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - }, - "abebd0f45ba2": { - "name": "terminal.read#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.read\",\"params\":{\"terminal\":\"terminal-1\",\"screen\":true,\"limit\":1}}" - }, - "c248d8a9348f": { - "name": "terminal.read#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.read" - }, - { - "name": "params", - "value": { - "limit": 1, - "screen": true, - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 2000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "d5dd27592597": { - "name": "terminal.read#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.read" - }, - { - "name": "params", - "value": { - "limit": 1, - "screen": true, - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 2000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "da1fe84c8bb5": { - "name": "terminal.read#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.read" - }, - { - "name": "params", - "value": { - "limit": 1, - "screen": true, - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 2000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "e6c66d663e12": { - "name": "terminal.read#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.read" - }, - { - "name": "params", - "value": { - "limit": 1, - "screen": true, - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 2000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - } - }, - "recording": { - "scenario": "matrix-nativechat.image-paste-terminal.read-1", - "checkpoints": [ - { - "id": "native-chat-image-paste-single.normal:pasted", - "observation": { - "sender": ["15a9fbee07a2", "a3e305c984c6", "703c117d5bca"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "84e5ca07cb7a" - }, - "state": "47a22f9d0047", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.result-absent:pasted", - "observation": { - "sender": ["29ab3b9b5e3d", "a3e305c984c6", "703c117d5bca"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "84e5ca07cb7a" - }, - "state": "47a22f9d0047", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.result-null:pasted", - "observation": { - "sender": ["908aa721a5f5", "a3e305c984c6", "703c117d5bca"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "84e5ca07cb7a" - }, - "state": "47a22f9d0047", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.inner-ok-missing:pasted", - "observation": { - "sender": ["7bad2a7ea2f3", "a3e305c984c6", "703c117d5bca"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "84e5ca07cb7a" - }, - "state": "47a22f9d0047", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.inner-false-string-error:pasted", - "observation": { - "sender": ["da1fe84c8bb5", "a3e305c984c6", "703c117d5bca"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "84e5ca07cb7a" - }, - "state": "47a22f9d0047", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.inner-false-object-error:pasted", - "observation": { - "sender": ["d5dd27592597", "a3e305c984c6", "703c117d5bca"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "84e5ca07cb7a" - }, - "state": "47a22f9d0047", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.outer-refused:pasted", - "observation": { - "sender": ["3e360b999726", "a3e305c984c6", "703c117d5bca"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "84e5ca07cb7a" - }, - "state": "47a22f9d0047", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.outer-refused-no-message:pasted", - "observation": { - "sender": ["68f1fe2a0120", "a3e305c984c6", "703c117d5bca"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "84e5ca07cb7a" - }, - "state": "47a22f9d0047", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.method-not-found:pasted", - "observation": { - "sender": ["e6c66d663e12", "a3e305c984c6", "703c117d5bca"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "84e5ca07cb7a" - }, - "state": "47a22f9d0047", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.transport-rejection:pasted", - "observation": { - "sender": ["c248d8a9348f", "a3e305c984c6", "703c117d5bca"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "84e5ca07cb7a" - }, - "state": "47a22f9d0047", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.transport-rejection-no-message:pasted", - "observation": { - "sender": ["9f6c6a23022f", "a3e305c984c6", "703c117d5bca"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "84e5ca07cb7a" - }, - "state": "47a22f9d0047", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 10691ace068..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-nativechat.image-paste-terminal.send-1.json +++ /dev/null @@ -1,745 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "nativeChat.image-paste", - "family": "nativeChat.image-paste", - "namedDeltas": [], - "values": { - "0a0052839272": { - "name": "terminal.send#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "0f02c1a90f93": { - "name": "terminal.send#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" - }, - "15a9fbee07a2": { - "name": "terminal.read#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.read" - }, - { - "name": "params", - "value": { - "limit": 1, - "screen": true, - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 2000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "terminal": {} - } - } - } - }, - "2bf888f109b9": { - "name": "terminal.send#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b" - } - }, - { - "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 - } - } - } - }, - "3dba54b29600": { - "name": "terminal.send#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b" - } - }, - { - "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 - } - } - } - }, - "3ebc17e9dd1a": { - "name": "terminal.send#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "40c4c5738c96": { - "name": "terminal.send#2", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"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\"}}}" - }, - "47a22f9d0047": { - "failure": { - "$rpc": "null" - }, - "pasted": true - }, - "57fa3c5e9bba": { - "name": "terminal.send#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "5f98ae066f36": { - "name": "terminal.send#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "6bb2b4c860a6": { - "name": "terminal.send#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b" - } - }, - { - "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 - } - } - }, - "703c117d5bca": { - "name": "terminal.send#2", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - }, - "7ed3d39f0607": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": false - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "8ec8eb06c3c5": { - "name": "terminal.send#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "a32415cc51eb": { - "failure": "", - "pasted": "unpasted" - }, - "a3e305c984c6": { - "name": "terminal.send#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "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 - } - }, - "a960e03a7274": { - "name": "terminal.send#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "abebd0f45ba2": { - "name": "terminal.read#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.read\",\"params\":{\"terminal\":\"terminal-1\",\"screen\":true,\"limit\":1}}" - }, - "c25eaa2b2343": { - "name": "terminal.send#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b" - } - }, - { - "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 - } - } - }, - "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-1", - "checkpoints": [ - { - "id": "native-chat-image-paste-single.normal:pasted", - "observation": { - "sender": ["15a9fbee07a2", "a3e305c984c6", "703c117d5bca"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "84e5ca07cb7a" - }, - "state": "47a22f9d0047", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.result-absent:pasted", - "observation": { - "sender": ["15a9fbee07a2", "57fa3c5e9bba"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.result-null:pasted", - "observation": { - "sender": ["15a9fbee07a2", "8ec8eb06c3c5"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.inner-ok-missing:pasted", - "observation": { - "sender": ["15a9fbee07a2", "3ebc17e9dd1a"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.inner-false-string-error:pasted", - "observation": { - "sender": ["15a9fbee07a2", "3dba54b29600"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.inner-false-object-error:pasted", - "observation": { - "sender": ["15a9fbee07a2", "2bf888f109b9"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.outer-refused:pasted", - "observation": { - "sender": ["15a9fbee07a2", "6bb2b4c860a6"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.outer-refused-no-message:pasted", - "observation": { - "sender": ["15a9fbee07a2", "5f98ae066f36"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.method-not-found:pasted", - "observation": { - "sender": ["15a9fbee07a2", "c25eaa2b2343"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.transport-rejection:pasted", - "observation": { - "sender": ["15a9fbee07a2", "a960e03a7274"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93"], - "settlements": { - "one": "a947768bc0ed" - }, - "state": "e74d7d62aa22", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.transport-rejection-no-message:pasted", - "observation": { - "sender": ["15a9fbee07a2", "0a0052839272"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93"], - "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 deleted file mode 100644 index 4a95e074d51..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-nativechat.image-paste-terminal.send-2.json +++ /dev/null @@ -1,745 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "nativeChat.image-paste", - "family": "nativeChat.image-paste", - "namedDeltas": [], - "values": { - "0f02c1a90f93": { - "name": "terminal.send#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" - }, - "15a9fbee07a2": { - "name": "terminal.read#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.read" - }, - { - "name": "params", - "value": { - "limit": 1, - "screen": true, - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 2000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "terminal": {} - } - } - } - }, - "34201561b8dc": { - "name": "terminal.send#2", - "ordinal": 5, - "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-3", - "ok": false - } - } - }, - "40c4c5738c96": { - "name": "terminal.send#2", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"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\"}}}" - }, - "47a22f9d0047": { - "failure": { - "$rpc": "null" - }, - "pasted": true - }, - "5eaacc2abd1f": { - "name": "terminal.send#2", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "703c117d5bca": { - "name": "terminal.send#2", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - }, - "7ed3d39f0607": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": false - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "85fe09973331": { - "name": "terminal.send#2", - "ordinal": 5, - "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 - } - } - }, - "9d152c10ac1d": { - "name": "terminal.send#2", - "ordinal": 5, - "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 - } - } - }, - "a32415cc51eb": { - "failure": "", - "pasted": "unpasted" - }, - "a3e305c984c6": { - "name": "terminal.send#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "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 - } - }, - "abebd0f45ba2": { - "name": "terminal.read#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.read\",\"params\":{\"terminal\":\"terminal-1\",\"screen\":true,\"limit\":1}}" - }, - "acc4f72b62c5": { - "name": "terminal.send#2", - "ordinal": 5, - "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-3", - "ok": false - } - } - }, - "c299c7a89e41": { - "failure": { - "$rpc": "null" - }, - "pasted": false - }, - "c41058776f23": { - "name": "terminal.send#2", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d30cf0c6aeb0": { - "name": "terminal.send#2", - "ordinal": 5, - "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-3", - "ok": true - } - } - }, - "d6b41c5c9f75": { - "name": "terminal.send#2", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "dc547bddd874": { - "name": "terminal.send#2", - "ordinal": 5, - "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-3", - "ok": false - } - } - }, - "e07fce2affbd": { - "name": "terminal.send#2", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "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": ["15a9fbee07a2", "a3e305c984c6", "703c117d5bca"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "84e5ca07cb7a" - }, - "state": "47a22f9d0047", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.result-absent:pasted", - "observation": { - "sender": ["15a9fbee07a2", "a3e305c984c6", "d30cf0c6aeb0"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.result-null:pasted", - "observation": { - "sender": ["15a9fbee07a2", "a3e305c984c6", "d6b41c5c9f75"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.inner-ok-missing:pasted", - "observation": { - "sender": ["15a9fbee07a2", "a3e305c984c6", "5eaacc2abd1f"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.inner-false-string-error:pasted", - "observation": { - "sender": ["15a9fbee07a2", "a3e305c984c6", "e07fce2affbd"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.inner-false-object-error:pasted", - "observation": { - "sender": ["15a9fbee07a2", "a3e305c984c6", "c41058776f23"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.outer-refused:pasted", - "observation": { - "sender": ["15a9fbee07a2", "a3e305c984c6", "34201561b8dc"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.outer-refused-no-message:pasted", - "observation": { - "sender": ["15a9fbee07a2", "a3e305c984c6", "acc4f72b62c5"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.method-not-found:pasted", - "observation": { - "sender": ["15a9fbee07a2", "a3e305c984c6", "dc547bddd874"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "7ed3d39f0607" - }, - "state": "c299c7a89e41", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.transport-rejection:pasted", - "observation": { - "sender": ["15a9fbee07a2", "a3e305c984c6", "85fe09973331"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "settlements": { - "one": "a947768bc0ed" - }, - "state": "e74d7d62aa22", - "effects": [] - } - }, - { - "id": "native-chat-image-paste-single.transport-rejection-no-message:pasted", - "observation": { - "sender": ["15a9fbee07a2", "a3e305c984c6", "9d152c10ac1d"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "40c4c5738c96"], - "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 deleted file mode 100644 index 065e8b3a8d2..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-nativechat.image-upload-clipboard.startimageupload-1.json +++ /dev/null @@ -1,682 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "nativeChat.image-upload", - "family": "nativeChat.image-upload", - "namedDeltas": [], - "values": { - "0ff6f55894de": { - "failure": "transport failure", - "uploaded": "unuploaded" - }, - "1284cf331810": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "23326ee9349f": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "40cb28255df6": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "468c321c00c0": { - "failure": "The host sent a reply this app could not read (clipboard.startImageUpload)", - "uploaded": "unuploaded" - }, - "6696a47819e1": { - "name": "clipboard.startImageUpload#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" - }, - "6f72c81d8bb0": { - "name": "clipboard.appendImageUploadChunk#1", - "ordinal": 4, - "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 - } - }, - "7180e20192a8": { - "failure": "outer refused", - "uploaded": "unuploaded" - }, - "766a69d73d62": { - "name": "clipboard.startImageUpload#1", - "ordinal": 2, - "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 - } - } - }, - "7a79daaa2290": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "7c2e3ea286aa": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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-1", - "ok": true, - "result": { - "uploadId": "upload-1" - } - } - } - }, - "814ccd56a769": { - "name": "clipboard.appendImageUploadChunk#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" - }, - "8e050dc4db92": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "994fccf9b305": { - "name": "upload-start", - "ordinal": 1, - "value": {} - }, - "9feead71a57d": { - "failure": { - "$rpc": "null" - }, - "uploaded": "unuploaded" - }, - "a0e884b87798": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.saveImageAsTempFile\",\"params\":{\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\",\"connectionId\":\"connection-1\"}}" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aee3a490cf0d": { - "failure": "", - "uploaded": "unuploaded" - }, - "bf4d693e3e27": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (clipboard.startImageUpload)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "cb5056a8a1fe": { - "name": "clipboard.saveImageAsTempFile#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "clipboard.saveImageAsTempFile" - }, - { - "name": "params", - "value": { - "connectionId": "connection-1", - "contentBase64": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "cd37c121c1fd": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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-1", - "ok": true - } - } - }, - "d088e8eeec5d": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "d7fc074e6b40": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "e20dc4b09a24": { - "name": "clipboard.startImageUpload#1", - "ordinal": 2, - "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 - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - } - }, - "recording": { - "scenario": "matrix-nativechat.image-upload-clipboard.startimageupload-1", - "checkpoints": [ - { - "id": "native-chat-image-upload-start-refused.normal:refused", - "observation": { - "sender": ["7c2e3ea286aa", "6f72c81d8bb0"], - "payloads": ["6696a47819e1", "814ccd56a769"], - "settlements": { - "normal": "9270aeb7d9c6" - }, - "state": "9feead71a57d", - "effects": ["994fccf9b305"] - } - }, - { - "id": "native-chat-image-upload-start-refused.result-absent:refused", - "observation": { - "sender": ["cd37c121c1fd"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "bf4d693e3e27" - }, - "state": "468c321c00c0", - "effects": ["994fccf9b305"] - } - }, - { - "id": "native-chat-image-upload-start-refused.result-null:refused", - "observation": { - "sender": ["d7fc074e6b40"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "bf4d693e3e27" - }, - "state": "468c321c00c0", - "effects": ["994fccf9b305"] - } - }, - { - "id": "native-chat-image-upload-start-refused.inner-ok-missing:refused", - "observation": { - "sender": ["8e050dc4db92"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "bf4d693e3e27" - }, - "state": "468c321c00c0", - "effects": ["994fccf9b305"] - } - }, - { - "id": "native-chat-image-upload-start-refused.inner-false-string-error:refused", - "observation": { - "sender": ["7a79daaa2290"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "bf4d693e3e27" - }, - "state": "468c321c00c0", - "effects": ["994fccf9b305"] - } - }, - { - "id": "native-chat-image-upload-start-refused.inner-false-object-error:refused", - "observation": { - "sender": ["23326ee9349f"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "bf4d693e3e27" - }, - "state": "468c321c00c0", - "effects": ["994fccf9b305"] - } - }, - { - "id": "native-chat-image-upload-start-refused.outer-refused:refused", - "observation": { - "sender": ["1284cf331810"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "32a7c0ae7918" - }, - "state": "7180e20192a8", - "effects": ["994fccf9b305"] - } - }, - { - "id": "native-chat-image-upload-start-refused.outer-refused-no-message:refused", - "observation": { - "sender": ["40cb28255df6"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "f3b516f62081" - }, - "state": "aee3a490cf0d", - "effects": ["994fccf9b305"] - } - }, - { - "id": "native-chat-image-upload-start-refused.method-not-found:refused", - "observation": { - "sender": ["d088e8eeec5d", "cb5056a8a1fe"], - "payloads": ["6696a47819e1", "a0e884b87798"], - "settlements": { - "normal": "9270aeb7d9c6" - }, - "state": "9feead71a57d", - "effects": ["994fccf9b305"] - } - }, - { - "id": "native-chat-image-upload-start-refused.transport-rejection:refused", - "observation": { - "sender": ["766a69d73d62"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "a947768bc0ed" - }, - "state": "0ff6f55894de", - "effects": ["994fccf9b305"] - } - }, - { - "id": "native-chat-image-upload-start-refused.transport-rejection-no-message:refused", - "observation": { - "sender": ["e20dc4b09a24"], - "payloads": ["6696a47819e1"], - "settlements": { - "normal": "c7584e82c72f" - }, - "state": "aee3a490cf0d", - "effects": ["994fccf9b305"] - } - } - ] - } -} 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 deleted file mode 100644 index e507e80b295..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-nativechat.session-option-pick-settings.mutatenativechatsessionoptions-1.json +++ /dev/null @@ -1,623 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "nativeChat.session-option-pick", - "family": "nativeChat.session-option-pick", - "namedDeltas": [], - "values": { - "0aa1124bf746": { - "settled": "settled" - }, - "0cbee3f73306": { - "name": "settings.mutateNativeChatSessionOptions#1", - "ordinal": 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 - } - } - }, - "23f8f4ed8c86": { - "name": "settings.mutateNativeChatSessionOptions#1", - "ordinal": 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 - } - } - }, - "2ea5c2006e3a": { - "name": "settings.mutateNativeChatSessionOptions#1", - "ordinal": 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 - } - } - }, - "3284376ef9b6": { - "name": "settings.mutateNativeChatSessionOptions#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.mutateNativeChatSessionOptions\",\"params\":{\"type\":\"apply-picks\",\"agent\":\"claude\",\"picks\":[{\"modelId\":\"opus\",\"optionId\":\"model\",\"value\":\"opus\"}]}}" - }, - "354210cbc979": { - "name": "settings.mutateNativeChatSessionOptions#1", - "ordinal": 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" - } - } - } - }, - "476a2902da3e": { - "name": "settings.mutateNativeChatSessionOptions#1", - "ordinal": 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 - } - } - }, - "6b20d3982d7c": { - "name": "settings.mutateNativeChatSessionOptions#1", - "ordinal": 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" - } - } - } - }, - "95cb95961522": { - "name": "settings.mutateNativeChatSessionOptions#1", - "ordinal": 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 - } - } - } - }, - "9964b36724f4": { - "name": "settings.mutateNativeChatSessionOptions#1", - "ordinal": 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 - } - } - }, - "9f7b70f2667b": { - "name": "settings.mutateNativeChatSessionOptions#1", - "ordinal": 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 - } - } - }, - "baf33df29104": { - "name": "settings.mutateNativeChatSessionOptions#1", - "ordinal": 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 - } - } - } - }, - "d97c721af8a1": { - "name": "settings.mutateNativeChatSessionOptions#1", - "ordinal": 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 - } - } - } - }, - "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": ["baf33df29104"], - "payloads": ["3284376ef9b6"], - "settlements": { - "pick": "eb79a9b3682a" - }, - "state": "0aa1124bf746", - "effects": [] - } - }, - { - "id": "native-chat-session-option-pick-written.result-absent:written", - "observation": { - "sender": ["9964b36724f4"], - "payloads": ["3284376ef9b6"], - "settlements": { - "pick": "eb79a9b3682a" - }, - "state": "0aa1124bf746", - "effects": [] - } - }, - { - "id": "native-chat-session-option-pick-written.result-null:written", - "observation": { - "sender": ["6b20d3982d7c"], - "payloads": ["3284376ef9b6"], - "settlements": { - "pick": "eb79a9b3682a" - }, - "state": "0aa1124bf746", - "effects": [] - } - }, - { - "id": "native-chat-session-option-pick-written.inner-ok-missing:written", - "observation": { - "sender": ["354210cbc979"], - "payloads": ["3284376ef9b6"], - "settlements": { - "pick": "eb79a9b3682a" - }, - "state": "0aa1124bf746", - "effects": [] - } - }, - { - "id": "native-chat-session-option-pick-written.inner-false-string-error:written", - "observation": { - "sender": ["d97c721af8a1"], - "payloads": ["3284376ef9b6"], - "settlements": { - "pick": "eb79a9b3682a" - }, - "state": "0aa1124bf746", - "effects": [] - } - }, - { - "id": "native-chat-session-option-pick-written.inner-false-object-error:written", - "observation": { - "sender": ["95cb95961522"], - "payloads": ["3284376ef9b6"], - "settlements": { - "pick": "eb79a9b3682a" - }, - "state": "0aa1124bf746", - "effects": [] - } - }, - { - "id": "native-chat-session-option-pick-written.outer-refused:written", - "observation": { - "sender": ["476a2902da3e"], - "payloads": ["3284376ef9b6"], - "settlements": { - "pick": "eb79a9b3682a" - }, - "state": "0aa1124bf746", - "effects": [] - } - }, - { - "id": "native-chat-session-option-pick-written.outer-refused-no-message:written", - "observation": { - "sender": ["2ea5c2006e3a"], - "payloads": ["3284376ef9b6"], - "settlements": { - "pick": "eb79a9b3682a" - }, - "state": "0aa1124bf746", - "effects": [] - } - }, - { - "id": "native-chat-session-option-pick-written.method-not-found:written", - "observation": { - "sender": ["23f8f4ed8c86"], - "payloads": ["3284376ef9b6"], - "settlements": { - "pick": "eb79a9b3682a" - }, - "state": "0aa1124bf746", - "effects": [] - } - }, - { - "id": "native-chat-session-option-pick-written.transport-rejection:written", - "observation": { - "sender": ["0cbee3f73306"], - "payloads": ["3284376ef9b6"], - "settlements": { - "pick": "eb79a9b3682a" - }, - "state": "0aa1124bf746", - "effects": [] - } - }, - { - "id": "native-chat-session-option-pick-written.transport-rejection-no-message:written", - "observation": { - "sender": ["9f7b70f2667b"], - "payloads": ["3284376ef9b6"], - "settlements": { - "pick": "eb79a9b3682a" - }, - "state": "0aa1124bf746", - "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 deleted file mode 100644 index 35e7d01a8d3..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-nativechat.terminal-write-terminal.send-1.json +++ /dev/null @@ -1,630 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "nativeChat.terminal-write", - "family": "nativeChat.terminal-write", - "namedDeltas": [], - "values": { - "088c6fb2da59": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - } - }, - "0c75127e9c76": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - } - } - }, - "19f53fb21e4e": { - "body": "rejected" - }, - "21f421eae68c": { - "name": "terminal.send#1", - "ordinal": 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" - } - } - } - }, - "2422501db13e": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "37750614a050": { - "name": "terminal.send#1", - "ordinal": 2, - "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\"}}}" - }, - "3786540696bf": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - } - }, - "41dd4bfc13df": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "4208c2225efd": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "44d966fae591": { - "body": "unknown" - }, - "46771288e046": { - "body": "accepted" - }, - "47f7013d0a73": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "7291a73df186": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": "accepted" - }, - "833119a48974": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "9bd3ea1ff2bb": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": "rejected" - }, - "b8b35235750c": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "c6a8b067b71a": { - "name": "terminal.send#1", - "ordinal": 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" - } - } - } - }, - "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": ["0c75127e9c76"], - "payloads": ["37750614a050"], - "settlements": { - "body": "7291a73df186" - }, - "state": "46771288e046", - "effects": [] - } - }, - { - "id": "native-chat-write-accepted.result-absent:accepted", - "observation": { - "sender": ["833119a48974"], - "payloads": ["37750614a050"], - "settlements": { - "body": "9bd3ea1ff2bb" - }, - "state": "19f53fb21e4e", - "effects": [] - } - }, - { - "id": "native-chat-write-accepted.result-null:accepted", - "observation": { - "sender": ["21f421eae68c"], - "payloads": ["37750614a050"], - "settlements": { - "body": "9bd3ea1ff2bb" - }, - "state": "19f53fb21e4e", - "effects": [] - } - }, - { - "id": "native-chat-write-accepted.inner-ok-missing:accepted", - "observation": { - "sender": ["c6a8b067b71a"], - "payloads": ["37750614a050"], - "settlements": { - "body": "9bd3ea1ff2bb" - }, - "state": "19f53fb21e4e", - "effects": [] - } - }, - { - "id": "native-chat-write-accepted.inner-false-string-error:accepted", - "observation": { - "sender": ["3786540696bf"], - "payloads": ["37750614a050"], - "settlements": { - "body": "9bd3ea1ff2bb" - }, - "state": "19f53fb21e4e", - "effects": [] - } - }, - { - "id": "native-chat-write-accepted.inner-false-object-error:accepted", - "observation": { - "sender": ["088c6fb2da59"], - "payloads": ["37750614a050"], - "settlements": { - "body": "9bd3ea1ff2bb" - }, - "state": "19f53fb21e4e", - "effects": [] - } - }, - { - "id": "native-chat-write-accepted.outer-refused:accepted", - "observation": { - "sender": ["41dd4bfc13df"], - "payloads": ["37750614a050"], - "settlements": { - "body": "9bd3ea1ff2bb" - }, - "state": "19f53fb21e4e", - "effects": [] - } - }, - { - "id": "native-chat-write-accepted.outer-refused-no-message:accepted", - "observation": { - "sender": ["4208c2225efd"], - "payloads": ["37750614a050"], - "settlements": { - "body": "9bd3ea1ff2bb" - }, - "state": "19f53fb21e4e", - "effects": [] - } - }, - { - "id": "native-chat-write-accepted.method-not-found:accepted", - "observation": { - "sender": ["2422501db13e"], - "payloads": ["37750614a050"], - "settlements": { - "body": "9bd3ea1ff2bb" - }, - "state": "19f53fb21e4e", - "effects": [] - } - }, - { - "id": "native-chat-write-accepted.transport-rejection:accepted", - "observation": { - "sender": ["47f7013d0a73"], - "payloads": ["37750614a050"], - "settlements": { - "body": "ed1d171deda5" - }, - "state": "44d966fae591", - "effects": [] - } - }, - { - "id": "native-chat-write-accepted.transport-rejection-no-message:accepted", - "observation": { - "sender": ["b8b35235750c"], - "payloads": ["37750614a050"], - "settlements": { - "body": "ed1d171deda5" - }, - "state": "44d966fae591", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-notifications.desktop-stream-notifications.getmissedsince-1.json b/mobile/rpc-foundation/goldens/matrix-notifications.desktop-stream-notifications.getmissedsince-1.json deleted file mode 100644 index d553a7a040b..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-notifications.desktop-stream-notifications.getmissedsince-1.json +++ /dev/null @@ -1,1216 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "notifications.desktop-stream", - "family": "notifications.desktop-stream", - "namedDeltas": [], - "values": { - "02230dcfa6da": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "04c682993381": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "18a100fb6bae": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "dismissedPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - } - ] - } - } - } - }, - "1bd7c7788c02": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "2637263140a2": { - "name": "notifications.unsubscribe#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "2920ec417a8b": { - "name": "notifications.unsubscribe#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "3375d09a55cf": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "45aca32cac62": { - "name": "notification-tray.dismiss", - "ordinal": 7, - "value": { - "identifier": "tray-2" - } - }, - "4924583cde9d": { - "name": "device-store.setItem", - "ordinal": 6, - "value": { - "key": "orca:pushDismissalWatermarks:v1", - "value": "[{\"key\":\"[\\\"Yw3NKWbEM2aRElRI\\\",\\\"epoch-1\\\",\\\"note-2\\\"]\",\"seq\":8,\"expiresAt\":1767312000000}]" - } - }, - "5359579cc62d": { - "running": true - }, - "67485a6a910e": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "780db26d7a92": { - "name": "device-store.setItem", - "ordinal": 4, - "value": { - "key": "orca:pushDismissalWatermarks:v1", - "value": "[{\"key\":\"[\\\"Yw3NKWbEM2aRElRI\\\",\\\"epoch-1\\\",\\\"note-2\\\"]\",\"seq\":8,\"expiresAt\":1767312000000}]" - } - }, - "96a4611eaddf": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "a0b2bcfcde77": { - "running": false - }, - "bd0b7e80a522": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "c9c263cc86a1": { - "name": "notification-tray.dismiss", - "ordinal": 5, - "value": { - "identifier": "tray-2" - } - }, - "d59a014964bb": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "d82b5b38d83a": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "db9ab7020419": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "e074c0b6fa0a": { - "name": "notifications.getMissedSince#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.getMissedSince\",\"params\":{\"lastSeenSeq\":9007199254740991,\"deliveredPushes\":[{\"notificationId\":\"note-1\",\"notificationEpoch\":\"epoch-1\",\"notificationSeq\":7},{\"notificationId\":\"note-2\",\"notificationEpoch\":\"epoch-1\",\"notificationSeq\":8}]}}" - }, - "e0765719f8a1": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f552b5040ec7": { - "name": "notifications.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.subscribe\",\"params\":{\"includeDesktopSuppressed\":true}}" - }, - "f79cc42f0819": { - "name": "notification-tray.dismiss", - "ordinal": 5, - "value": { - "identifier": "tray-1" - } - }, - "ff11f542ada5": { - "name": "device-store.setItem", - "ordinal": 4, - "value": { - "key": "orca:pushDismissalWatermarks:v1", - "value": "[{\"key\":\"[\\\"Yw3NKWbEM2aRElRI\\\",\\\"epoch-1\\\",\\\"note-1\\\"]\",\"seq\":7,\"expiresAt\":1767312000000}]" - } - } - }, - "recording": { - "scenario": "matrix-notifications.desktop-stream-notifications.getmissedsince-1", - "checkpoints": [ - { - "id": "notifications-desktop-stream.prelude:subscribed", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.prelude:ready", - "observation": { - "sender": ["67485a6a910e"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.normal:caught-up", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.normal:dismissed", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.normal:unsubscribing", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2637263140a2"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.normal:stopped", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2637263140a2"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.result-absent:caught-up", - "observation": { - "sender": ["02230dcfa6da"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.result-absent:dismissed", - "observation": { - "sender": ["02230dcfa6da"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.result-absent:unsubscribing", - "observation": { - "sender": ["02230dcfa6da"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.result-absent:stopped", - "observation": { - "sender": ["02230dcfa6da"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.result-null:caught-up", - "observation": { - "sender": ["d59a014964bb"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.result-null:dismissed", - "observation": { - "sender": ["d59a014964bb"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.result-null:unsubscribing", - "observation": { - "sender": ["d59a014964bb"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.result-null:stopped", - "observation": { - "sender": ["d59a014964bb"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.inner-ok-missing:caught-up", - "observation": { - "sender": ["1bd7c7788c02"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.inner-ok-missing:dismissed", - "observation": { - "sender": ["1bd7c7788c02"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.inner-ok-missing:unsubscribing", - "observation": { - "sender": ["1bd7c7788c02"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.inner-ok-missing:stopped", - "observation": { - "sender": ["1bd7c7788c02"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-string-error:caught-up", - "observation": { - "sender": ["db9ab7020419"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.inner-false-string-error:dismissed", - "observation": { - "sender": ["db9ab7020419"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-string-error:unsubscribing", - "observation": { - "sender": ["db9ab7020419"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-string-error:stopped", - "observation": { - "sender": ["db9ab7020419"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-object-error:caught-up", - "observation": { - "sender": ["d82b5b38d83a"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.inner-false-object-error:dismissed", - "observation": { - "sender": ["d82b5b38d83a"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-object-error:unsubscribing", - "observation": { - "sender": ["d82b5b38d83a"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-object-error:stopped", - "observation": { - "sender": ["d82b5b38d83a"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.outer-refused:caught-up", - "observation": { - "sender": ["bd0b7e80a522"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.outer-refused:dismissed", - "observation": { - "sender": ["bd0b7e80a522"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.outer-refused:unsubscribing", - "observation": { - "sender": ["bd0b7e80a522"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.outer-refused:stopped", - "observation": { - "sender": ["bd0b7e80a522"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.outer-refused-no-message:caught-up", - "observation": { - "sender": ["96a4611eaddf"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.outer-refused-no-message:dismissed", - "observation": { - "sender": ["96a4611eaddf"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.outer-refused-no-message:unsubscribing", - "observation": { - "sender": ["96a4611eaddf"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.outer-refused-no-message:stopped", - "observation": { - "sender": ["96a4611eaddf"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.method-not-found:caught-up", - "observation": { - "sender": ["04c682993381"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.method-not-found:dismissed", - "observation": { - "sender": ["04c682993381"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.method-not-found:unsubscribing", - "observation": { - "sender": ["04c682993381"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.method-not-found:stopped", - "observation": { - "sender": ["04c682993381"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.transport-rejection:caught-up", - "observation": { - "sender": ["e0765719f8a1"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.transport-rejection:dismissed", - "observation": { - "sender": ["e0765719f8a1"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.transport-rejection:unsubscribing", - "observation": { - "sender": ["e0765719f8a1"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.transport-rejection:stopped", - "observation": { - "sender": ["e0765719f8a1"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.transport-rejection-no-message:caught-up", - "observation": { - "sender": ["3375d09a55cf"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.transport-rejection-no-message:dismissed", - "observation": { - "sender": ["3375d09a55cf"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.transport-rejection-no-message:unsubscribing", - "observation": { - "sender": ["3375d09a55cf"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - }, - { - "id": "notifications-desktop-stream.transport-rejection-no-message:stopped", - "observation": { - "sender": ["3375d09a55cf"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["780db26d7a92", "c9c263cc86a1"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-notifications.desktop-stream-notifications.subscribe-1-1.json b/mobile/rpc-foundation/goldens/matrix-notifications.desktop-stream-notifications.subscribe-1-1.json deleted file mode 100644 index d89f0c6c797..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-notifications.desktop-stream-notifications.subscribe-1-1.json +++ /dev/null @@ -1,896 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "notifications.desktop-stream", - "family": "notifications.desktop-stream", - "namedDeltas": [], - "values": { - "18a100fb6bae": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "dismissedPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - } - ] - } - } - } - }, - "1a0189471376": { - "name": "stream-listener-crash", - "ordinal": 2, - "value": { - "error": { - "category": "TypeError", - "isRpcDeliveryUnknown": false, - "message": "Cannot read properties of undefined (reading 'type')" - }, - "frame": "notifications.subscribe#1" - } - }, - "2637263140a2": { - "name": "notifications.unsubscribe#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "2d36a975fe26": { - "name": "streams-registered-at-teardown", - "ordinal": 4, - "value": [ - { - "cancelled": true, - "method": "notifications.subscribe", - "payload": "notifications.subscribe#1" - } - ] - }, - "43a1a92c1eef": { - "name": "device-store.setItem", - "ordinal": 3, - "value": { - "key": "orca:pushDismissalWatermarks:v1", - "value": "[{\"key\":\"[\\\"Yw3NKWbEM2aRElRI\\\",\\\"epoch-1\\\",\\\"note-2\\\"]\",\"seq\":8,\"expiresAt\":1767312000000}]" - } - }, - "45aca32cac62": { - "name": "notification-tray.dismiss", - "ordinal": 7, - "value": { - "identifier": "tray-2" - } - }, - "4924583cde9d": { - "name": "device-store.setItem", - "ordinal": 6, - "value": { - "key": "orca:pushDismissalWatermarks:v1", - "value": "[{\"key\":\"[\\\"Yw3NKWbEM2aRElRI\\\",\\\"epoch-1\\\",\\\"note-2\\\"]\",\"seq\":8,\"expiresAt\":1767312000000}]" - } - }, - "5359579cc62d": { - "running": true - }, - "67485a6a910e": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "75b571e0e5f9": { - "name": "streams-registered-at-teardown", - "ordinal": 5, - "value": [ - { - "cancelled": true, - "method": "notifications.subscribe", - "payload": "notifications.subscribe#1" - } - ] - }, - "806522730ba0": { - "name": "device-store.setItem", - "ordinal": 2, - "value": { - "key": "orca:pushDismissalWatermarks:v1", - "value": "[{\"key\":\"[\\\"Yw3NKWbEM2aRElRI\\\",\\\"epoch-1\\\",\\\"note-2\\\"]\",\"seq\":8,\"expiresAt\":1767312000000}]" - } - }, - "a0b2bcfcde77": { - "running": false - }, - "ac63e18df12c": { - "name": "notification-tray.dismiss", - "ordinal": 3, - "value": { - "identifier": "tray-2" - } - }, - "c0f34fb4c2f6": { - "name": "notification-tray.dismiss", - "ordinal": 4, - "value": { - "identifier": "tray-2" - } - }, - "e074c0b6fa0a": { - "name": "notifications.getMissedSince#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.getMissedSince\",\"params\":{\"lastSeenSeq\":9007199254740991,\"deliveredPushes\":[{\"notificationId\":\"note-1\",\"notificationEpoch\":\"epoch-1\",\"notificationSeq\":7},{\"notificationId\":\"note-2\",\"notificationEpoch\":\"epoch-1\",\"notificationSeq\":8}]}}" - }, - "e2464612dc94": { - "name": "stream-listener-crash", - "ordinal": 2, - "value": { - "error": { - "category": "TypeError", - "isRpcDeliveryUnknown": false, - "message": "Cannot read properties of null (reading 'type')" - }, - "frame": "notifications.subscribe#1" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eceafa6140cb": { - "name": "streams-registered-at-teardown", - "ordinal": 2, - "value": [ - { - "cancelled": true, - "method": "notifications.subscribe", - "payload": "notifications.subscribe#1" - } - ] - }, - "f552b5040ec7": { - "name": "notifications.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.subscribe\",\"params\":{\"includeDesktopSuppressed\":true}}" - }, - "f79cc42f0819": { - "name": "notification-tray.dismiss", - "ordinal": 5, - "value": { - "identifier": "tray-1" - } - }, - "ff11f542ada5": { - "name": "device-store.setItem", - "ordinal": 4, - "value": { - "key": "orca:pushDismissalWatermarks:v1", - "value": "[{\"key\":\"[\\\"Yw3NKWbEM2aRElRI\\\",\\\"epoch-1\\\",\\\"note-1\\\"]\",\"seq\":7,\"expiresAt\":1767312000000}]" - } - } - }, - "recording": { - "scenario": "matrix-notifications.desktop-stream-notifications.subscribe-1-1", - "checkpoints": [ - { - "id": "notifications-desktop-stream.prelude:subscribed", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.prelude:cleanup", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["eceafa6140cb"] - } - }, - { - "id": "notifications-desktop-stream.normal:ready", - "observation": { - "sender": ["67485a6a910e"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.normal:caught-up", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.normal:dismissed", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.normal:unsubscribing", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2637263140a2"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.normal:stopped", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2637263140a2"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.result-absent:ready", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["1a0189471376"] - } - }, - { - "id": "notifications-desktop-stream.result-absent:caught-up", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["1a0189471376"] - } - }, - { - "id": "notifications-desktop-stream.result-absent:dismissed", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["1a0189471376", "43a1a92c1eef", "c0f34fb4c2f6"] - } - }, - { - "id": "notifications-desktop-stream.result-absent:unsubscribing", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["1a0189471376", "43a1a92c1eef", "c0f34fb4c2f6"] - } - }, - { - "id": "notifications-desktop-stream.result-absent:stopped", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["1a0189471376", "43a1a92c1eef", "c0f34fb4c2f6"] - } - }, - { - "id": "notifications-desktop-stream.result-absent:cleanup", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["1a0189471376", "43a1a92c1eef", "c0f34fb4c2f6", "75b571e0e5f9"] - } - }, - { - "id": "notifications-desktop-stream.result-null:ready", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["e2464612dc94"] - } - }, - { - "id": "notifications-desktop-stream.result-null:caught-up", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["e2464612dc94"] - } - }, - { - "id": "notifications-desktop-stream.result-null:dismissed", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["e2464612dc94", "43a1a92c1eef", "c0f34fb4c2f6"] - } - }, - { - "id": "notifications-desktop-stream.result-null:unsubscribing", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["e2464612dc94", "43a1a92c1eef", "c0f34fb4c2f6"] - } - }, - { - "id": "notifications-desktop-stream.result-null:stopped", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["e2464612dc94", "43a1a92c1eef", "c0f34fb4c2f6"] - } - }, - { - "id": "notifications-desktop-stream.result-null:cleanup", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["e2464612dc94", "43a1a92c1eef", "c0f34fb4c2f6", "75b571e0e5f9"] - } - }, - { - "id": "notifications-desktop-stream.inner-ok-missing:ready", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.inner-ok-missing:caught-up", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.inner-ok-missing:dismissed", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["806522730ba0", "ac63e18df12c"] - } - }, - { - "id": "notifications-desktop-stream.inner-ok-missing:unsubscribing", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["806522730ba0", "ac63e18df12c"] - } - }, - { - "id": "notifications-desktop-stream.inner-ok-missing:stopped", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["806522730ba0", "ac63e18df12c"] - } - }, - { - "id": "notifications-desktop-stream.inner-ok-missing:cleanup", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["806522730ba0", "ac63e18df12c", "2d36a975fe26"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-string-error:ready", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.inner-false-string-error:caught-up", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.inner-false-string-error:dismissed", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["806522730ba0", "ac63e18df12c"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-string-error:unsubscribing", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["806522730ba0", "ac63e18df12c"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-string-error:stopped", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["806522730ba0", "ac63e18df12c"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-string-error:cleanup", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["806522730ba0", "ac63e18df12c", "2d36a975fe26"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-object-error:ready", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.inner-false-object-error:caught-up", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.inner-false-object-error:dismissed", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["806522730ba0", "ac63e18df12c"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-object-error:unsubscribing", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["806522730ba0", "ac63e18df12c"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-object-error:stopped", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["806522730ba0", "ac63e18df12c"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-object-error:cleanup", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["806522730ba0", "ac63e18df12c", "2d36a975fe26"] - } - }, - { - "id": "notifications-desktop-stream.outer-refused:ready", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.outer-refused:caught-up", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.outer-refused:dismissed", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.outer-refused:unsubscribing", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.outer-refused:stopped", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.outer-refused-no-message:ready", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.outer-refused-no-message:caught-up", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.outer-refused-no-message:dismissed", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.outer-refused-no-message:unsubscribing", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.outer-refused-no-message:stopped", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.method-not-found:ready", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.method-not-found:caught-up", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.method-not-found:dismissed", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.method-not-found:unsubscribing", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.method-not-found:stopped", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-notifications.desktop-stream-notifications.subscribe-1-2.json b/mobile/rpc-foundation/goldens/matrix-notifications.desktop-stream-notifications.subscribe-1-2.json deleted file mode 100644 index 95d85cdcb9d..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-notifications.desktop-stream-notifications.subscribe-1-2.json +++ /dev/null @@ -1,574 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "notifications.desktop-stream", - "family": "notifications.desktop-stream", - "namedDeltas": [], - "values": { - "18a100fb6bae": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "dismissedPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - } - ] - } - } - } - }, - "240eb3112b9a": { - "name": "stream-listener-crash", - "ordinal": 6, - "value": { - "error": { - "category": "TypeError", - "isRpcDeliveryUnknown": false, - "message": "Cannot read properties of null (reading 'type')" - }, - "frame": "notifications.subscribe#1" - } - }, - "2637263140a2": { - "name": "notifications.unsubscribe#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "2920ec417a8b": { - "name": "notifications.unsubscribe#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "45aca32cac62": { - "name": "notification-tray.dismiss", - "ordinal": 7, - "value": { - "identifier": "tray-2" - } - }, - "4924583cde9d": { - "name": "device-store.setItem", - "ordinal": 6, - "value": { - "key": "orca:pushDismissalWatermarks:v1", - "value": "[{\"key\":\"[\\\"Yw3NKWbEM2aRElRI\\\",\\\"epoch-1\\\",\\\"note-2\\\"]\",\"seq\":8,\"expiresAt\":1767312000000}]" - } - }, - "5359579cc62d": { - "running": true - }, - "67485a6a910e": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "notifications.getMissedSince" - }, - { - "name": "params", - "value": { - "deliveredPushes": [ - { - "notificationEpoch": "epoch-1", - "notificationId": "note-1", - "notificationSeq": 7 - }, - { - "notificationEpoch": "epoch-1", - "notificationId": "note-2", - "notificationSeq": 8 - } - ], - "lastSeenSeq": 9007199254740991 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "6c8af7ab87ce": { - "name": "stream-listener-crash", - "ordinal": 6, - "value": { - "error": { - "category": "TypeError", - "isRpcDeliveryUnknown": false, - "message": "Cannot read properties of undefined (reading 'type')" - }, - "frame": "notifications.subscribe#1" - } - }, - "a0b2bcfcde77": { - "running": false - }, - "ab0e4b79457f": { - "name": "notifications.unsubscribe#1", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "e074c0b6fa0a": { - "name": "notifications.getMissedSince#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.getMissedSince\",\"params\":{\"lastSeenSeq\":9007199254740991,\"deliveredPushes\":[{\"notificationId\":\"note-1\",\"notificationEpoch\":\"epoch-1\",\"notificationSeq\":7},{\"notificationId\":\"note-2\",\"notificationEpoch\":\"epoch-1\",\"notificationSeq\":8}]}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f552b5040ec7": { - "name": "notifications.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.subscribe\",\"params\":{\"includeDesktopSuppressed\":true}}" - }, - "f79cc42f0819": { - "name": "notification-tray.dismiss", - "ordinal": 5, - "value": { - "identifier": "tray-1" - } - }, - "ff11f542ada5": { - "name": "device-store.setItem", - "ordinal": 4, - "value": { - "key": "orca:pushDismissalWatermarks:v1", - "value": "[{\"key\":\"[\\\"Yw3NKWbEM2aRElRI\\\",\\\"epoch-1\\\",\\\"note-1\\\"]\",\"seq\":7,\"expiresAt\":1767312000000}]" - } - } - }, - "recording": { - "scenario": "matrix-notifications.desktop-stream-notifications.subscribe-1-2", - "checkpoints": [ - { - "id": "notifications-desktop-stream.prelude:subscribed", - "observation": { - "sender": [], - "payloads": ["f552b5040ec7"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.prelude:ready", - "observation": { - "sender": ["67485a6a910e"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": [] - } - }, - { - "id": "notifications-desktop-stream.prelude:caught-up", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.normal:dismissed", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.normal:unsubscribing", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2637263140a2"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.normal:stopped", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2637263140a2"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "4924583cde9d", "45aca32cac62"] - } - }, - { - "id": "notifications-desktop-stream.result-absent:dismissed", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819", "6c8af7ab87ce"] - } - }, - { - "id": "notifications-desktop-stream.result-absent:unsubscribing", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "ab0e4b79457f"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "6c8af7ab87ce"] - } - }, - { - "id": "notifications-desktop-stream.result-absent:stopped", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "ab0e4b79457f"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "6c8af7ab87ce"] - } - }, - { - "id": "notifications-desktop-stream.result-null:dismissed", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819", "240eb3112b9a"] - } - }, - { - "id": "notifications-desktop-stream.result-null:unsubscribing", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "ab0e4b79457f"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "240eb3112b9a"] - } - }, - { - "id": "notifications-desktop-stream.result-null:stopped", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "ab0e4b79457f"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819", "240eb3112b9a"] - } - }, - { - "id": "notifications-desktop-stream.inner-ok-missing:dismissed", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.inner-ok-missing:unsubscribing", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.inner-ok-missing:stopped", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-string-error:dismissed", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-string-error:unsubscribing", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-string-error:stopped", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-object-error:dismissed", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-object-error:unsubscribing", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.inner-false-object-error:stopped", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a", "2920ec417a8b"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.outer-refused:dismissed", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.outer-refused:unsubscribing", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.outer-refused:stopped", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.outer-refused-no-message:dismissed", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.outer-refused-no-message:unsubscribing", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.outer-refused-no-message:stopped", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.method-not-found:dismissed", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "5359579cc62d", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.method-not-found:unsubscribing", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - }, - { - "id": "notifications-desktop-stream.method-not-found:stopped", - "observation": { - "sender": ["18a100fb6bae"], - "payloads": ["f552b5040ec7", "e074c0b6fa0a"], - "settlements": { - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a0b2bcfcde77", - "effects": ["ff11f542ada5", "f79cc42f0819"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-notifications.display-test-screen-notifications.testpush-1.json b/mobile/rpc-foundation/goldens/matrix-notifications.display-test-screen-notifications.testpush-1.json deleted file mode 100644 index 775209b2397..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-notifications.display-test-screen-notifications.testpush-1.json +++ /dev/null @@ -1,752 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "notifications.display-test-screen", - "family": "notifications.display-test-screen", - "namedDeltas": [], - "values": { - "026965874dd4": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "0694d81f1456": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "0bfc5a373e4d": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1d12f3e78a48": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "3106ba33259a": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronRight": 1, - "Pressable": 2, - "Text": 5, - "View": 7 - }, - "labels": ["Send test notification", "Troubleshooting"], - "text": [ - "Having trouble receiving alerts?", - "Send test notification", - "Troubleshooting", - "Test push delivery, or a local notification when push is unavailable.", - "Could not reach the desktop. Try again." - ] - }, - "401bb4233294": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "48ca1f6dbd96": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "4b56b6931151": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronRight": 1, - "Pressable": 2, - "Text": 5, - "View": 7 - }, - "labels": ["Send test notification", "Troubleshooting"], - "text": [ - "Having trouble receiving alerts?", - "Send test notification", - "Troubleshooting", - "Test push delivery, or a local notification when push is unavailable.", - "This desktop does not support push notifications. Update it to receive push. Local test scheduled. Check for the notification. This checks display only; it does not verify agent alert delivery." - ] - }, - "649d12c8eb9b": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "accepted": true - } - } - } - }, - "6b7fba36efde": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronRight": 1, - "Pressable": 2, - "Text": 5, - "View": 7 - }, - "labels": ["Send test notification", "Troubleshooting"], - "text": [ - "Having trouble receiving alerts?", - "Send test notification", - "Troubleshooting", - "Test push delivery, or a local notification when push is unavailable.", - "Accepted by Orca’s push service. Check for the notification." - ] - }, - "8a172d4948a9": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronRight": 1, - "Pressable": 2, - "Text": 4, - "View": 7 - }, - "labels": ["Send test notification", "Troubleshooting"], - "text": [ - "Having trouble receiving alerts?", - "Send test notification", - "Troubleshooting", - "Test push delivery, or a local notification when push is unavailable." - ] - }, - "8fe7d4ea9ee6": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronRight": 1, - "Pressable": 2, - "Text": 5, - "View": 7 - }, - "labels": ["Send test notification", "Troubleshooting"], - "text": [ - "Having trouble receiving alerts?", - "Send test notification", - "Troubleshooting", - "Test push delivery, or a local notification when push is unavailable.", - "transport failure" - ] - }, - "93cdaf5110fc": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronRight": 1, - "Pressable": 2, - "Text": 5, - "View": 7 - }, - "labels": ["Send test notification", "Troubleshooting"], - "text": [ - "Having trouble receiving alerts?", - "Send test notification", - "Troubleshooting", - "Test push delivery, or a local notification when push is unavailable.", - "Could not send through Orca’s push service. Try again." - ] - }, - "95172d96bab4": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "9585b40ac04d": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronRight": 1, - "Pressable": 2, - "Text": 5, - "View": 7 - }, - "labels": ["Sending…", "Troubleshooting"], - "text": [ - "Having trouble receiving alerts?", - "Send test notification", - "Sending…", - "Troubleshooting", - "Test push delivery, or a local notification when push is unavailable." - ] - }, - "97d98ac9fa8f": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "b23af609a818": { - "name": "notification.schedule", - "ordinal": 3, - "value": { - "content": { - "body": "Local notification test from this phone.", - "sound": "default", - "title": "Test notification" - }, - "trigger": { - "channelId": "orca-desktop" - } - } - }, - "c37bd4097e53": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "c67ea168778c": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "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" - } - }, - "ec58963dcdec": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "f68b017d64bd": { - "name": "notifications.testPush#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.testPush\",\"params\":null}" - } - }, - "recording": { - "scenario": "matrix-notifications.display-test-screen-notifications.testpush-1", - "checkpoints": [ - { - "id": "notifications-display-test-accepted.prelude:mounted", - "observation": { - "sender": [], - "payloads": [], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8a172d4948a9", - "effects": [] - } - }, - { - "id": "notifications-display-test-accepted.prelude:sending", - "observation": { - "sender": ["0bfc5a373e4d"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "9585b40ac04d", - "effects": [] - } - }, - { - "id": "notifications-display-test-accepted.normal:accepted", - "observation": { - "sender": ["649d12c8eb9b"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "6b7fba36efde", - "effects": [] - } - }, - { - "id": "notifications-display-test-accepted.result-absent:accepted", - "observation": { - "sender": ["401bb4233294"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "93cdaf5110fc", - "effects": [] - } - }, - { - "id": "notifications-display-test-accepted.result-null:accepted", - "observation": { - "sender": ["95172d96bab4"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "93cdaf5110fc", - "effects": [] - } - }, - { - "id": "notifications-display-test-accepted.inner-ok-missing:accepted", - "observation": { - "sender": ["0694d81f1456"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "93cdaf5110fc", - "effects": [] - } - }, - { - "id": "notifications-display-test-accepted.inner-false-string-error:accepted", - "observation": { - "sender": ["ec58963dcdec"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "93cdaf5110fc", - "effects": [] - } - }, - { - "id": "notifications-display-test-accepted.inner-false-object-error:accepted", - "observation": { - "sender": ["1d12f3e78a48"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "93cdaf5110fc", - "effects": [] - } - }, - { - "id": "notifications-display-test-accepted.outer-refused:accepted", - "observation": { - "sender": ["c67ea168778c"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "3106ba33259a", - "effects": [] - } - }, - { - "id": "notifications-display-test-accepted.outer-refused-no-message:accepted", - "observation": { - "sender": ["97d98ac9fa8f"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "3106ba33259a", - "effects": [] - } - }, - { - "id": "notifications-display-test-accepted.method-not-found:accepted", - "observation": { - "sender": ["c37bd4097e53"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "4b56b6931151", - "effects": ["b23af609a818"] - } - }, - { - "id": "notifications-display-test-accepted.transport-rejection:accepted", - "observation": { - "sender": ["026965874dd4"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "8fe7d4ea9ee6", - "effects": [] - } - }, - { - "id": "notifications-display-test-accepted.transport-rejection-no-message:accepted", - "observation": { - "sender": ["48ca1f6dbd96"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "8a172d4948a9", - "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 deleted file mode 100644 index 2ebd91faceb..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-notifications.push-dismissal-notifications.getmissedsince-1.json +++ /dev/null @@ -1,702 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "notifications.push-dismissal", - "family": "notifications.push-dismissal", - "namedDeltas": [], - "values": { - "01d3e9d33757": { - "name": "notifications.getMissedSince#1", - "ordinal": 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 - } - } - }, - "03dba394ddc0": { - "name": "notifications.getMissedSince#1", - "ordinal": 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 - } - } - }, - "172d337c4fc5": { - "name": "notifications.getMissedSince#1", - "ordinal": 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 - } - } - }, - "1dff1f64578a": { - "name": "notifications.getMissedSince#1", - "ordinal": 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 - } - } - } - }, - "35a7a5dde62b": { - "name": "notifications.getMissedSince#1", - "ordinal": 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 - } - } - }, - "4075ba3184e3": { - "name": "notifications.getMissedSince#1", - "ordinal": 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" - } - } - } - }, - "4d602d4523e5": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.getMissedSince\",\"params\":{\"lastSeenSeq\":9007199254740991,\"deliveredPushes\":[{\"notificationId\":\"note-1\",\"notificationEpoch\":\"epoch-1\",\"notificationSeq\":7}]}}" - }, - "6cfa895b17c4": { - "name": "notification-tray.dismiss", - "ordinal": 4, - "value": { - "identifier": "tray-1" - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aaf972690a35": { - "name": "notifications.getMissedSince#1", - "ordinal": 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 - } - }, - "c0b1a7bf7b4d": { - "name": "notifications.getMissedSince#1", - "ordinal": 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 - } - } - }, - "c44044f16dbc": { - "name": "notifications.getMissedSince#1", - "ordinal": 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 - } - ] - } - } - } - }, - "c503c1f81b1d": { - "name": "notifications.getMissedSince#1", - "ordinal": 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 - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "cf9c28129225": { - "disposed": false - }, - "cfded643d023": { - "name": "notifications.getMissedSince#1", - "ordinal": 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" - } - } - } - }, - "ea1440778921": { - "name": "notifications.getMissedSince#1", - "ordinal": 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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "fa03fdca3d1d": { - "name": "device-store.setItem", - "ordinal": 3, - "value": { - "key": "orca:pushDismissalWatermarks:v1", - "value": "[{\"key\":\"[\\\"Yw3NKWbEM2aRElRI\\\",\\\"epoch-1\\\",\\\"note-1\\\"]\",\"seq\":7,\"expiresAt\":1767312000000}]" - } - } - }, - "recording": { - "scenario": "matrix-notifications.push-dismissal-notifications.getmissedsince-1", - "checkpoints": [ - { - "id": "push-dismissal-tray-reconciled.prelude:requested", - "observation": { - "sender": ["aaf972690a35"], - "payloads": ["4d602d4523e5"], - "settlements": { - "catchup": "9270aeb7d9c6" - }, - "state": "cf9c28129225", - "effects": [] - } - }, - { - "id": "push-dismissal-tray-reconciled.normal:reconciled", - "observation": { - "sender": ["c44044f16dbc"], - "payloads": ["4d602d4523e5"], - "settlements": { - "catchup": "eb79a9b3682a" - }, - "state": "cf9c28129225", - "effects": ["fa03fdca3d1d", "6cfa895b17c4"] - } - }, - { - "id": "push-dismissal-tray-reconciled.result-absent:reconciled", - "observation": { - "sender": ["172d337c4fc5"], - "payloads": ["4d602d4523e5"], - "settlements": { - "catchup": "eb79a9b3682a" - }, - "state": "cf9c28129225", - "effects": [] - } - }, - { - "id": "push-dismissal-tray-reconciled.result-null:reconciled", - "observation": { - "sender": ["4075ba3184e3"], - "payloads": ["4d602d4523e5"], - "settlements": { - "catchup": "eb79a9b3682a" - }, - "state": "cf9c28129225", - "effects": [] - } - }, - { - "id": "push-dismissal-tray-reconciled.inner-ok-missing:reconciled", - "observation": { - "sender": ["cfded643d023"], - "payloads": ["4d602d4523e5"], - "settlements": { - "catchup": "eb79a9b3682a" - }, - "state": "cf9c28129225", - "effects": [] - } - }, - { - "id": "push-dismissal-tray-reconciled.inner-false-string-error:reconciled", - "observation": { - "sender": ["1dff1f64578a"], - "payloads": ["4d602d4523e5"], - "settlements": { - "catchup": "eb79a9b3682a" - }, - "state": "cf9c28129225", - "effects": [] - } - }, - { - "id": "push-dismissal-tray-reconciled.inner-false-object-error:reconciled", - "observation": { - "sender": ["ea1440778921"], - "payloads": ["4d602d4523e5"], - "settlements": { - "catchup": "eb79a9b3682a" - }, - "state": "cf9c28129225", - "effects": [] - } - }, - { - "id": "push-dismissal-tray-reconciled.outer-refused:reconciled", - "observation": { - "sender": ["c0b1a7bf7b4d"], - "payloads": ["4d602d4523e5"], - "settlements": { - "catchup": "eb79a9b3682a" - }, - "state": "cf9c28129225", - "effects": [] - } - }, - { - "id": "push-dismissal-tray-reconciled.outer-refused-no-message:reconciled", - "observation": { - "sender": ["35a7a5dde62b"], - "payloads": ["4d602d4523e5"], - "settlements": { - "catchup": "eb79a9b3682a" - }, - "state": "cf9c28129225", - "effects": [] - } - }, - { - "id": "push-dismissal-tray-reconciled.method-not-found:reconciled", - "observation": { - "sender": ["c503c1f81b1d"], - "payloads": ["4d602d4523e5"], - "settlements": { - "catchup": "eb79a9b3682a" - }, - "state": "cf9c28129225", - "effects": [] - } - }, - { - "id": "push-dismissal-tray-reconciled.transport-rejection:reconciled", - "observation": { - "sender": ["03dba394ddc0"], - "payloads": ["4d602d4523e5"], - "settlements": { - "catchup": "a947768bc0ed" - }, - "state": "cf9c28129225", - "effects": [] - } - }, - { - "id": "push-dismissal-tray-reconciled.transport-rejection-no-message:reconciled", - "observation": { - "sender": ["01d3e9d33757"], - "payloads": ["4d602d4523e5"], - "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 deleted file mode 100644 index 0ac2a92e315..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-notifications.push-registration-notifications.registerpush-1.json +++ /dev/null @@ -1,673 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "notifications.push-registration", - "family": "notifications.push-registration", - "namedDeltas": [], - "values": { - "0cf6d7d55723": { - "name": "notifications.registerPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.registerPush" - }, - { - "name": "params", - "value": { - "apnsEnvironment": "production", - "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 - } - } - }, - "121001ebebd2": { - "name": "notifications.registerPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.registerPush" - }, - { - "name": "params", - "value": { - "apnsEnvironment": "production", - "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 - } - } - }, - "33bf276279a0": { - "name": "notifications.registerPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.registerPush" - }, - { - "name": "params", - "value": { - "apnsEnvironment": "production", - "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 - } - } - } - }, - "365e8d578191": { - "name": "notifications.registerPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.registerPush" - }, - { - "name": "params", - "value": { - "apnsEnvironment": "production", - "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" - } - } - } - }, - "5831e42facd9": { - "name": "notifications.registerPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.registerPush" - }, - { - "name": "params", - "value": { - "apnsEnvironment": "production", - "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 - } - } - }, - "692c015040bb": { - "name": "notifications.registerPush#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.registerPush\",\"params\":{\"platform\":\"ios\",\"token\":\"apns-token-1\",\"apnsEnvironment\":\"production\",\"filter\":{\"onlyWhenDesktopAway\":true,\"sound\":true}}}" - }, - "69d7402810cd": { - "name": "notifications.registerPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.registerPush" - }, - { - "name": "params", - "value": { - "apnsEnvironment": "production", - "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 - } - } - }, - "721a12a73823": { - "name": "notifications.registerPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.registerPush" - }, - { - "name": "params", - "value": { - "apnsEnvironment": "production", - "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 - } - } - }, - "7ed3d39f0607": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": false - }, - "810a020dae97": { - "name": "notifications.registerPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.registerPush" - }, - { - "name": "params", - "value": { - "apnsEnvironment": "production", - "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" - } - } - } - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "a812351e4401": { - "name": "notifications.registerPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.registerPush" - }, - { - "name": "params", - "value": { - "apnsEnvironment": "production", - "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" - } - } - } - }, - "caff83b6525e": { - "name": "notifications.unregisterPush#1", - "ordinal": 3, - "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 - } - } - } - }, - "d2314e9574ed": { - "name": "notifications.registerPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.registerPush" - }, - { - "name": "params", - "value": { - "apnsEnvironment": "production", - "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 - } - } - } - }, - "d92e80fc55a0": { - "name": "notifications.unregisterPush#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.unregisterPush\",\"params\":null}" - }, - "deec5cecd49f": { - "register": true, - "unregister": true - }, - "e60c81d67095": { - "register": false, - "unregister": true - }, - "f1a6149e883c": { - "name": "notifications.registerPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.registerPush" - }, - { - "name": "params", - "value": { - "apnsEnvironment": "production", - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-notifications.push-registration-notifications.registerpush-1", - "checkpoints": [ - { - "id": "notifications-push-registered.normal:settled", - "observation": { - "sender": ["810a020dae97", "caff83b6525e"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "84e5ca07cb7a", - "unregister": "84e5ca07cb7a" - }, - "state": "deec5cecd49f", - "effects": [] - } - }, - { - "id": "notifications-push-registered.result-absent:settled", - "observation": { - "sender": ["0cf6d7d55723", "caff83b6525e"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "7ed3d39f0607", - "unregister": "84e5ca07cb7a" - }, - "state": "e60c81d67095", - "effects": [] - } - }, - { - "id": "notifications-push-registered.result-null:settled", - "observation": { - "sender": ["a812351e4401", "caff83b6525e"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "7ed3d39f0607", - "unregister": "84e5ca07cb7a" - }, - "state": "e60c81d67095", - "effects": [] - } - }, - { - "id": "notifications-push-registered.inner-ok-missing:settled", - "observation": { - "sender": ["365e8d578191", "caff83b6525e"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "7ed3d39f0607", - "unregister": "84e5ca07cb7a" - }, - "state": "e60c81d67095", - "effects": [] - } - }, - { - "id": "notifications-push-registered.inner-false-string-error:settled", - "observation": { - "sender": ["33bf276279a0", "caff83b6525e"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "7ed3d39f0607", - "unregister": "84e5ca07cb7a" - }, - "state": "e60c81d67095", - "effects": [] - } - }, - { - "id": "notifications-push-registered.inner-false-object-error:settled", - "observation": { - "sender": ["d2314e9574ed", "caff83b6525e"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "7ed3d39f0607", - "unregister": "84e5ca07cb7a" - }, - "state": "e60c81d67095", - "effects": [] - } - }, - { - "id": "notifications-push-registered.outer-refused:settled", - "observation": { - "sender": ["721a12a73823", "caff83b6525e"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "7ed3d39f0607", - "unregister": "84e5ca07cb7a" - }, - "state": "e60c81d67095", - "effects": [] - } - }, - { - "id": "notifications-push-registered.outer-refused-no-message:settled", - "observation": { - "sender": ["f1a6149e883c", "caff83b6525e"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "7ed3d39f0607", - "unregister": "84e5ca07cb7a" - }, - "state": "e60c81d67095", - "effects": [] - } - }, - { - "id": "notifications-push-registered.method-not-found:settled", - "observation": { - "sender": ["5831e42facd9", "caff83b6525e"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "7ed3d39f0607", - "unregister": "84e5ca07cb7a" - }, - "state": "e60c81d67095", - "effects": [] - } - }, - { - "id": "notifications-push-registered.transport-rejection:settled", - "observation": { - "sender": ["69d7402810cd", "caff83b6525e"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "7ed3d39f0607", - "unregister": "84e5ca07cb7a" - }, - "state": "e60c81d67095", - "effects": [] - } - }, - { - "id": "notifications-push-registered.transport-rejection-no-message:settled", - "observation": { - "sender": ["121001ebebd2", "caff83b6525e"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "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 deleted file mode 100644 index e8b36a9a208..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-notifications.push-registration-notifications.unregisterpush-1.json +++ /dev/null @@ -1,613 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "notifications.push-registration", - "family": "notifications.push-registration", - "namedDeltas": [], - "values": { - "08ed1d53c93c": { - "name": "notifications.unregisterPush#1", - "ordinal": 3, - "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 - } - } - } - }, - "48e9da47a24b": { - "name": "notifications.unregisterPush#1", - "ordinal": 3, - "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" - } - } - } - }, - "692c015040bb": { - "name": "notifications.registerPush#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.registerPush\",\"params\":{\"platform\":\"ios\",\"token\":\"apns-token-1\",\"apnsEnvironment\":\"production\",\"filter\":{\"onlyWhenDesktopAway\":true,\"sound\":true}}}" - }, - "72c81945ccec": { - "name": "notifications.unregisterPush#1", - "ordinal": 3, - "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 - } - } - }, - "7ed3d39f0607": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": false - }, - "810a020dae97": { - "name": "notifications.registerPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.registerPush" - }, - { - "name": "params", - "value": { - "apnsEnvironment": "production", - "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" - } - } - } - }, - "83a2635d8885": { - "name": "notifications.unregisterPush#1", - "ordinal": 3, - "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 - } - } - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "910c7024cc8e": { - "name": "notifications.unregisterPush#1", - "ordinal": 3, - "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" - } - } - } - }, - "97af7701f5db": { - "name": "notifications.unregisterPush#1", - "ordinal": 3, - "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 - } - } - }, - "a0599f5087e2": { - "name": "notifications.unregisterPush#1", - "ordinal": 3, - "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 - } - } - } - }, - "ad8a7aeb3530": { - "name": "notifications.unregisterPush#1", - "ordinal": 3, - "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 - } - } - }, - "ae91e9aebf2b": { - "name": "notifications.unregisterPush#1", - "ordinal": 3, - "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 - } - } - }, - "b2780dfde374": { - "name": "notifications.unregisterPush#1", - "ordinal": 3, - "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 - } - } - }, - "caff83b6525e": { - "name": "notifications.unregisterPush#1", - "ordinal": 3, - "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 - } - } - } - }, - "d92e80fc55a0": { - "name": "notifications.unregisterPush#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.unregisterPush\",\"params\":null}" - }, - "deec5cecd49f": { - "register": true, - "unregister": true - }, - "f15abe409747": { - "register": true, - "unregister": false - } - }, - "recording": { - "scenario": "matrix-notifications.push-registration-notifications.unregisterpush-1", - "checkpoints": [ - { - "id": "notifications-push-registered.normal:settled", - "observation": { - "sender": ["810a020dae97", "caff83b6525e"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "84e5ca07cb7a", - "unregister": "84e5ca07cb7a" - }, - "state": "deec5cecd49f", - "effects": [] - } - }, - { - "id": "notifications-push-registered.result-absent:settled", - "observation": { - "sender": ["810a020dae97", "ad8a7aeb3530"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "84e5ca07cb7a", - "unregister": "84e5ca07cb7a" - }, - "state": "deec5cecd49f", - "effects": [] - } - }, - { - "id": "notifications-push-registered.result-null:settled", - "observation": { - "sender": ["810a020dae97", "48e9da47a24b"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "84e5ca07cb7a", - "unregister": "84e5ca07cb7a" - }, - "state": "deec5cecd49f", - "effects": [] - } - }, - { - "id": "notifications-push-registered.inner-ok-missing:settled", - "observation": { - "sender": ["810a020dae97", "910c7024cc8e"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "84e5ca07cb7a", - "unregister": "84e5ca07cb7a" - }, - "state": "deec5cecd49f", - "effects": [] - } - }, - { - "id": "notifications-push-registered.inner-false-string-error:settled", - "observation": { - "sender": ["810a020dae97", "08ed1d53c93c"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "84e5ca07cb7a", - "unregister": "84e5ca07cb7a" - }, - "state": "deec5cecd49f", - "effects": [] - } - }, - { - "id": "notifications-push-registered.inner-false-object-error:settled", - "observation": { - "sender": ["810a020dae97", "a0599f5087e2"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "84e5ca07cb7a", - "unregister": "84e5ca07cb7a" - }, - "state": "deec5cecd49f", - "effects": [] - } - }, - { - "id": "notifications-push-registered.outer-refused:settled", - "observation": { - "sender": ["810a020dae97", "ae91e9aebf2b"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "84e5ca07cb7a", - "unregister": "7ed3d39f0607" - }, - "state": "f15abe409747", - "effects": [] - } - }, - { - "id": "notifications-push-registered.outer-refused-no-message:settled", - "observation": { - "sender": ["810a020dae97", "72c81945ccec"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "84e5ca07cb7a", - "unregister": "7ed3d39f0607" - }, - "state": "f15abe409747", - "effects": [] - } - }, - { - "id": "notifications-push-registered.method-not-found:settled", - "observation": { - "sender": ["810a020dae97", "b2780dfde374"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "84e5ca07cb7a", - "unregister": "7ed3d39f0607" - }, - "state": "f15abe409747", - "effects": [] - } - }, - { - "id": "notifications-push-registered.transport-rejection:settled", - "observation": { - "sender": ["810a020dae97", "83a2635d8885"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "84e5ca07cb7a", - "unregister": "7ed3d39f0607" - }, - "state": "f15abe409747", - "effects": [] - } - }, - { - "id": "notifications-push-registered.transport-rejection-no-message:settled", - "observation": { - "sender": ["810a020dae97", "97af7701f5db"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "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 deleted file mode 100644 index 2d3bc939299..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-direct-status.json +++ /dev/null @@ -1,837 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "pairing.pre-profile", - "family": "pairing.pre-profile", - "namedDeltas": [], - "values": { - "061b247f2805": { - "name": "host-saved", - "ordinal": 13, - "value": "relay-host-0001x" - }, - "077b94702eb7": { - "name": "candidate-closed", - "ordinal": 15, - "value": "direct" - }, - "1f647ffe77b0": { - "name": "pairing.getEndpoints#1", - "ordinal": 11, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-l99UBPM71AZiC1ghz2glnA\"}}" - }, - "28a5fc6036c5": { - "name": "pairing.provisionRelay#1", - "ordinal": 8, - "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 - } - } - } - }, - "2b5606ff50ed": { - "name": "candidate-closed", - "ordinal": 12, - "value": "direct" - }, - "33c6a36cc4b6": { - "name": "journal-cleared", - "ordinal": 14, - "value": "pair-fixture-1" - }, - "406c8ab0b9b6": { - "name": "journal-saved", - "ordinal": 1, - "value": "pair-fixture-1" - }, - "40741be1b91f": { - "outcome": "failed: relay credential install result does not match pairing journal", - "savedHost": { - "$rpc": "null" - }, - "timedOut": false - }, - "51777d3b420f": { - "name": "status.get#1", - "ordinal": 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-1", - "ok": false - } - } - }, - "51e670a85520": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "530ade0a2167": { - "name": "status.get#1", - "ordinal": 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-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "5950eadcfaba": { - "name": "status.get#1", - "ordinal": 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-1", - "ok": false - } - } - }, - "6995d6b0bd4c": { - "name": "status.get#1", - "ordinal": 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-1", - "ok": true, - "result": { - "capabilities": [] - } - } - } - }, - "6d04596c636d": { - "name": "status.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "70d85e17e631": { - "name": "status.get#1", - "ordinal": 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-1", - "ok": true - } - } - }, - "7479478e7dbb": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "relay credential install result does not match pairing journal", - "isRpcDeliveryUnknown": false - } - }, - "76572b132647": { - "name": "candidate-closed", - "ordinal": 6, - "value": "direct" - }, - "77e9a1fd0086": { - "name": "status.get#1", - "ordinal": 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-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "8465e53ad013": { - "name": "status.get#1", - "ordinal": 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-1", - "ok": false - } - } - }, - "8bf25ca8d4ae": { - "name": "bundle-written", - "ordinal": 12, - "value": { - "version": 4 - } - }, - "8e378786864c": { - "name": "candidate-closed", - "ordinal": 6, - "value": "relay" - }, - "9b50435fa2f8": { - "outcome": "host-1", - "savedHost": "relay-host-0001x", - "timedOut": false - }, - "9cfa291517f9": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "bb016ec23c9c": { - "name": "candidate-closed", - "ordinal": 13, - "value": "relay" - }, - "c86730581187": { - "name": "status.get#2", - "ordinal": 3, - "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": [] - } - } - } - }, - "d1b2eddf66f4": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "hostId": "host-1" - } - }, - "d7ea0bb38976": { - "name": "status.get#1", - "ordinal": 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-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "d88584bbffe9": { - "name": "status.get#1", - "ordinal": 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-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "e29d4c104dd3": { - "name": "journal-updated", - "ordinal": 7, - "value": "pair-fixture-1" - }, - "ea163bb1f5e0": { - "name": "pairing.getEndpoints#1", - "ordinal": 10, - "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 - } - } - } - }, - "edde120654bf": { - "name": "status.get#2", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "f49423f836f9": { - "name": "pairing.provisionRelay#1", - "ordinal": 9, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-l99UBPM71AZiC1ghz2glnA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\"}}" - }, - "f6b99510eefb": { - "name": "candidate-closed", - "ordinal": 16, - "value": "relay" - } - }, - "recording": { - "scenario": "matrix-pairing.pre-profile-direct-status", - "checkpoints": [ - { - "id": "pairing-pre-profile-direct-wins-and-provisions.normal:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.result-absent:paired-over-direct", - "observation": { - "sender": ["70d85e17e631", "c86730581187", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.result-null:paired-over-direct", - "observation": { - "sender": ["d7ea0bb38976", "c86730581187", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.inner-ok-missing:paired-over-direct", - "observation": { - "sender": ["77e9a1fd0086", "c86730581187", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-string-error:paired-over-direct", - "observation": { - "sender": ["d88584bbffe9", "c86730581187", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-object-error:paired-over-direct", - "observation": { - "sender": ["530ade0a2167", "c86730581187", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused:paired-over-direct", - "observation": { - "sender": ["8465e53ad013", "c86730581187", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "7479478e7dbb" - }, - "state": "40741be1b91f", - "effects": [ - "406c8ab0b9b6", - "76572b132647", - "e29d4c104dd3", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused-no-message:paired-over-direct", - "observation": { - "sender": ["51777d3b420f", "c86730581187", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "7479478e7dbb" - }, - "state": "40741be1b91f", - "effects": [ - "406c8ab0b9b6", - "76572b132647", - "e29d4c104dd3", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.method-not-found:paired-over-direct", - "observation": { - "sender": ["5950eadcfaba", "c86730581187", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "7479478e7dbb" - }, - "state": "40741be1b91f", - "effects": [ - "406c8ab0b9b6", - "76572b132647", - "e29d4c104dd3", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection:paired-over-direct", - "observation": { - "sender": ["51e670a85520", "c86730581187", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "7479478e7dbb" - }, - "state": "40741be1b91f", - "effects": [ - "406c8ab0b9b6", - "76572b132647", - "e29d4c104dd3", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection-no-message:paired-over-direct", - "observation": { - "sender": ["9cfa291517f9", "c86730581187", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "7479478e7dbb" - }, - "state": "40741be1b91f", - "effects": [ - "406c8ab0b9b6", - "76572b132647", - "e29d4c104dd3", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 8b672e93d55..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-pairing.getendpoints-1.json +++ /dev/null @@ -1,903 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "pairing.pre-profile", - "family": "pairing.pre-profile", - "namedDeltas": [], - "values": { - "061b247f2805": { - "name": "host-saved", - "ordinal": 13, - "value": "relay-host-0001x" - }, - "077b94702eb7": { - "name": "candidate-closed", - "ordinal": 15, - "value": "direct" - }, - "0821c2edac81": { - "name": "pairing.getEndpoints#1", - "ordinal": 10, - "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 - } - } - }, - "0f2a24e5670a": { - "name": "pairing.getEndpoints#1", - "ordinal": 10, - "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 - } - } - }, - "1abb87dd96cf": { - "name": "pairing.getEndpoints#1", - "ordinal": 10, - "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 - } - } - } - }, - "1f647ffe77b0": { - "name": "pairing.getEndpoints#1", - "ordinal": 11, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-l99UBPM71AZiC1ghz2glnA\"}}" - }, - "28a5fc6036c5": { - "name": "pairing.provisionRelay#1", - "ordinal": 8, - "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 - } - } - } - }, - "2b5606ff50ed": { - "name": "candidate-closed", - "ordinal": 12, - "value": "direct" - }, - "33c6a36cc4b6": { - "name": "journal-cleared", - "ordinal": 14, - "value": "pair-fixture-1" - }, - "406c8ab0b9b6": { - "name": "journal-saved", - "ordinal": 1, - "value": "pair-fixture-1" - }, - "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 - }, - "576427a4aab3": { - "name": "pairing.getEndpoints#1", - "ordinal": 10, - "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 - } - } - } - }, - "5dd0e9be3459": { - "name": "pairing.getEndpoints#1", - "ordinal": 10, - "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" - } - } - } - }, - "62448636d417": { - "name": "pairing.getEndpoints#1", - "ordinal": 10, - "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 - } - } - }, - "6995d6b0bd4c": { - "name": "status.get#1", - "ordinal": 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-1", - "ok": true, - "result": { - "capabilities": [] - } - } - } - }, - "6d04596c636d": { - "name": "status.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "6e031687798d": { - "name": "pairing.getEndpoints#1", - "ordinal": 10, - "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 - } - } - }, - "74238de471a6": { - "name": "pairing.getEndpoints#1", - "ordinal": 10, - "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" - } - } - } - }, - "8bf25ca8d4ae": { - "name": "bundle-written", - "ordinal": 12, - "value": { - "version": 4 - } - }, - "8e378786864c": { - "name": "candidate-closed", - "ordinal": 6, - "value": "relay" - }, - "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 - } - }, - "bb016ec23c9c": { - "name": "candidate-closed", - "ordinal": 13, - "value": "relay" - }, - "bec79643b16c": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (pairing.getEndpoints)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "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 - } - }, - "c86730581187": { - "name": "status.get#2", - "ordinal": 3, - "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": [] - } - } - } - }, - "d1b2eddf66f4": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "hostId": "host-1" - } - }, - "d48b2942ccf2": { - "outcome": "failed: The host sent a reply this app could not read (pairing.getEndpoints)", - "savedHost": { - "$rpc": "null" - }, - "timedOut": false - }, - "d56bfdbce702": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: ", - "isRpcDeliveryUnknown": false - } - }, - "d7f4c8d8decc": { - "outcome": "failed: ", - "savedHost": { - "$rpc": "null" - }, - "timedOut": false - }, - "dc90ab6dd6ca": { - "name": "pairing.getEndpoints#1", - "ordinal": 10, - "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 - } - } - }, - "e29d4c104dd3": { - "name": "journal-updated", - "ordinal": 7, - "value": "pair-fixture-1" - }, - "e625529b1cd8": { - "outcome": "failed: refused: ", - "savedHost": { - "$rpc": "null" - }, - "timedOut": false - }, - "ea163bb1f5e0": { - "name": "pairing.getEndpoints#1", - "ordinal": 10, - "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 - } - } - } - }, - "edde120654bf": { - "name": "status.get#2", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "f0214c6ccfc9": { - "name": "pairing.getEndpoints#1", - "ordinal": 10, - "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 - } - } - }, - "f49423f836f9": { - "name": "pairing.provisionRelay#1", - "ordinal": 9, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-l99UBPM71AZiC1ghz2glnA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\"}}" - }, - "f624ac81d963": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "method_not_found: Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "f6b99510eefb": { - "name": "candidate-closed", - "ordinal": 16, - "value": "relay" - } - }, - "recording": { - "scenario": "matrix-pairing.pre-profile-pairing.getendpoints-1", - "checkpoints": [ - { - "id": "pairing-pre-profile-direct-wins-and-provisions.normal:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.result-absent:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "28a5fc6036c5", "62448636d417"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "bec79643b16c" - }, - "state": "d48b2942ccf2", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.result-null:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "28a5fc6036c5", "74238de471a6"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "bec79643b16c" - }, - "state": "d48b2942ccf2", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.inner-ok-missing:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "28a5fc6036c5", "5dd0e9be3459"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "bec79643b16c" - }, - "state": "d48b2942ccf2", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-string-error:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "28a5fc6036c5", "576427a4aab3"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "bec79643b16c" - }, - "state": "d48b2942ccf2", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-object-error:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "28a5fc6036c5", "1abb87dd96cf"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "bec79643b16c" - }, - "state": "d48b2942ccf2", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "28a5fc6036c5", "0821c2edac81"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "4e3b57d795cb" - }, - "state": "4e5a56d00e5e", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused-no-message:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "28a5fc6036c5", "f0214c6ccfc9"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d56bfdbce702" - }, - "state": "e625529b1cd8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.method-not-found:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "28a5fc6036c5", "dc90ab6dd6ca"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "f624ac81d963" - }, - "state": "c3972c583458", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "28a5fc6036c5", "0f2a24e5670a"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "a947768bc0ed" - }, - "state": "9dec5db5203d", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection-no-message:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "28a5fc6036c5", "6e031687798d"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "c7584e82c72f" - }, - "state": "d7f4c8d8decc", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 92c358802d5..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-pairing.provisionrelay-1.json +++ /dev/null @@ -1,923 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "pairing.pre-profile", - "family": "pairing.pre-profile", - "namedDeltas": [], - "values": { - "061b247f2805": { - "name": "host-saved", - "ordinal": 13, - "value": "relay-host-0001x" - }, - "077b94702eb7": { - "name": "candidate-closed", - "ordinal": 15, - "value": "direct" - }, - "143d29293173": { - "name": "pairing.provisionRelay#1", - "ordinal": 8, - "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 - } - } - } - }, - "1f647ffe77b0": { - "name": "pairing.getEndpoints#1", - "ordinal": 11, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-l99UBPM71AZiC1ghz2glnA\"}}" - }, - "28a5fc6036c5": { - "name": "pairing.provisionRelay#1", - "ordinal": 8, - "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 - } - } - } - }, - "2b5606ff50ed": { - "name": "candidate-closed", - "ordinal": 12, - "value": "direct" - }, - "2f2817ad588d": { - "outcome": "failed: The host sent a reply this app could not read (pairing.provisionRelay)", - "savedHost": { - "$rpc": "null" - }, - "timedOut": false - }, - "2fefd52b6680": { - "name": "pairing.provisionRelay#1", - "ordinal": 8, - "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 - } - } - } - }, - "33c6a36cc4b6": { - "name": "journal-cleared", - "ordinal": 14, - "value": "pair-fixture-1" - }, - "37a2861de5fb": { - "name": "host-saved", - "ordinal": 10, - "value": "direct-only" - }, - "3d3dfd83b05f": { - "name": "pairing.provisionRelay#1", - "ordinal": 8, - "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 - } - } - }, - "3d5f8ca3d3af": { - "name": "pairing.provisionRelay#1", - "ordinal": 8, - "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 - } - } - }, - "406c8ab0b9b6": { - "name": "journal-saved", - "ordinal": 1, - "value": "pair-fixture-1" - }, - "4964fce533f6": { - "name": "candidate-closed", - "ordinal": 10, - "value": "direct" - }, - "4a54bf2090c8": { - "outcome": "host-1", - "savedHost": "direct-only", - "timedOut": false - }, - "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 - }, - "5f157a7faba9": { - "name": "pairing.provisionRelay#1", - "ordinal": 8, - "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 - } - } - }, - "6995d6b0bd4c": { - "name": "status.get#1", - "ordinal": 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-1", - "ok": true, - "result": { - "capabilities": [] - } - } - } - }, - "6d04596c636d": { - "name": "status.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "79217f1ad1b5": { - "name": "pairing.provisionRelay#1", - "ordinal": 8, - "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 - } - } - }, - "79331d82af94": { - "name": "candidate-closed", - "ordinal": 11, - "value": "relay" - }, - "8405c7947d76": { - "name": "pairing.provisionRelay#1", - "ordinal": 8, - "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 - } - } - }, - "880941223ed0": { - "name": "pairing.provisionRelay#1", - "ordinal": 8, - "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 - } - } - }, - "8bf25ca8d4ae": { - "name": "bundle-written", - "ordinal": 12, - "value": { - "version": 4 - } - }, - "8e378786864c": { - "name": "candidate-closed", - "ordinal": 6, - "value": "relay" - }, - "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 - } - }, - "b3c82a6597cc": { - "name": "pairing.provisionRelay#1", - "ordinal": 8, - "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" - } - } - } - }, - "bb016ec23c9c": { - "name": "candidate-closed", - "ordinal": 13, - "value": "relay" - }, - "c1372f4da2d7": { - "name": "journal-cleared", - "ordinal": 11, - "value": "pair-fixture-1" - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "c86730581187": { - "name": "status.get#2", - "ordinal": 3, - "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": [] - } - } - } - }, - "d1b2eddf66f4": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "hostId": "host-1" - } - }, - "d56bfdbce702": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: ", - "isRpcDeliveryUnknown": false - } - }, - "d7f4c8d8decc": { - "outcome": "failed: ", - "savedHost": { - "$rpc": "null" - }, - "timedOut": false - }, - "e29d4c104dd3": { - "name": "journal-updated", - "ordinal": 7, - "value": "pair-fixture-1" - }, - "e625529b1cd8": { - "outcome": "failed: refused: ", - "savedHost": { - "$rpc": "null" - }, - "timedOut": false - }, - "e751f831b5f1": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (pairing.provisionRelay)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "ea163bb1f5e0": { - "name": "pairing.getEndpoints#1", - "ordinal": 10, - "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 - } - } - } - }, - "edde120654bf": { - "name": "status.get#2", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "f3fcdee533a7": { - "name": "pairing.provisionRelay#1", - "ordinal": 8, - "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" - } - } - } - }, - "f49423f836f9": { - "name": "pairing.provisionRelay#1", - "ordinal": 9, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-l99UBPM71AZiC1ghz2glnA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\"}}" - }, - "f6b99510eefb": { - "name": "candidate-closed", - "ordinal": 16, - "value": "relay" - } - }, - "recording": { - "scenario": "matrix-pairing.pre-profile-pairing.provisionrelay-1", - "checkpoints": [ - { - "id": "pairing-pre-profile-direct-wins-and-provisions.normal:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.result-absent:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "5f157a7faba9"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9"], - "settlements": { - "pair": "e751f831b5f1" - }, - "state": "2f2817ad588d", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "4964fce533f6", - "79331d82af94" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.result-null:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "b3c82a6597cc"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9"], - "settlements": { - "pair": "e751f831b5f1" - }, - "state": "2f2817ad588d", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "4964fce533f6", - "79331d82af94" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.inner-ok-missing:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "f3fcdee533a7"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9"], - "settlements": { - "pair": "e751f831b5f1" - }, - "state": "2f2817ad588d", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "4964fce533f6", - "79331d82af94" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-string-error:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "143d29293173"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9"], - "settlements": { - "pair": "e751f831b5f1" - }, - "state": "2f2817ad588d", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "4964fce533f6", - "79331d82af94" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-object-error:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "2fefd52b6680"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9"], - "settlements": { - "pair": "e751f831b5f1" - }, - "state": "2f2817ad588d", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "4964fce533f6", - "79331d82af94" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "79217f1ad1b5"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9"], - "settlements": { - "pair": "4e3b57d795cb" - }, - "state": "4e5a56d00e5e", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "4964fce533f6", - "79331d82af94" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused-no-message:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "880941223ed0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9"], - "settlements": { - "pair": "d56bfdbce702" - }, - "state": "e625529b1cd8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "4964fce533f6", - "79331d82af94" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.method-not-found:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "3d5f8ca3d3af"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "4a54bf2090c8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "37a2861de5fb", - "c1372f4da2d7", - "2b5606ff50ed", - "bb016ec23c9c" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "8405c7947d76"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9"], - "settlements": { - "pair": "a947768bc0ed" - }, - "state": "9dec5db5203d", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "4964fce533f6", - "79331d82af94" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection-no-message:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "3d3dfd83b05f"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9"], - "settlements": { - "pair": "c7584e82c72f" - }, - "state": "d7f4c8d8decc", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "4964fce533f6", - "79331d82af94" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 41857ce3cae..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-pairing.pre-profile-relay-status.json +++ /dev/null @@ -1,820 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "pairing.pre-profile", - "family": "pairing.pre-profile", - "namedDeltas": [], - "values": { - "061b247f2805": { - "name": "host-saved", - "ordinal": 13, - "value": "relay-host-0001x" - }, - "077b94702eb7": { - "name": "candidate-closed", - "ordinal": 15, - "value": "direct" - }, - "1543bcd4d709": { - "name": "status.get#2", - "ordinal": 3, - "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 - } - } - }, - "1f647ffe77b0": { - "name": "pairing.getEndpoints#1", - "ordinal": 11, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-l99UBPM71AZiC1ghz2glnA\"}}" - }, - "28a5fc6036c5": { - "name": "pairing.provisionRelay#1", - "ordinal": 8, - "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 - } - } - } - }, - "33c6a36cc4b6": { - "name": "journal-cleared", - "ordinal": 14, - "value": "pair-fixture-1" - }, - "406c8ab0b9b6": { - "name": "journal-saved", - "ordinal": 1, - "value": "pair-fixture-1" - }, - "47ba2322c16d": { - "name": "status.get#2", - "ordinal": 3, - "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 - } - } - }, - "4e9ba307980b": { - "name": "status.get#2", - "ordinal": 3, - "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 - } - } - } - }, - "6995d6b0bd4c": { - "name": "status.get#1", - "ordinal": 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-1", - "ok": true, - "result": { - "capabilities": [] - } - } - } - }, - "6d04596c636d": { - "name": "status.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "6f17f29e07f2": { - "name": "status.get#2", - "ordinal": 3, - "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" - } - } - } - }, - "79180c6ce9f3": { - "name": "status.get#2", - "ordinal": 3, - "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 - } - } - }, - "8bf25ca8d4ae": { - "name": "bundle-written", - "ordinal": 12, - "value": { - "version": 4 - } - }, - "8e378786864c": { - "name": "candidate-closed", - "ordinal": 6, - "value": "relay" - }, - "90daaba3281f": { - "name": "status.get#2", - "ordinal": 3, - "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 - } - } - }, - "9b50435fa2f8": { - "outcome": "host-1", - "savedHost": "relay-host-0001x", - "timedOut": false - }, - "a698f789bc75": { - "name": "status.get#2", - "ordinal": 3, - "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 - } - } - }, - "c86730581187": { - "name": "status.get#2", - "ordinal": 3, - "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": [] - } - } - } - }, - "d1b2eddf66f4": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "hostId": "host-1" - } - }, - "d2a249b003bf": { - "name": "status.get#2", - "ordinal": 3, - "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 - } - } - } - }, - "daabd90bfcc1": { - "name": "status.get#2", - "ordinal": 3, - "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" - } - } - } - }, - "e29d4c104dd3": { - "name": "journal-updated", - "ordinal": 7, - "value": "pair-fixture-1" - }, - "ea163bb1f5e0": { - "name": "pairing.getEndpoints#1", - "ordinal": 10, - "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 - } - } - } - }, - "ecb3ed9e07a9": { - "name": "status.get#2", - "ordinal": 3, - "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 - } - } - }, - "edde120654bf": { - "name": "status.get#2", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "f49423f836f9": { - "name": "pairing.provisionRelay#1", - "ordinal": 9, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-l99UBPM71AZiC1ghz2glnA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\"}}" - }, - "f6b99510eefb": { - "name": "candidate-closed", - "ordinal": 16, - "value": "relay" - } - }, - "recording": { - "scenario": "matrix-pairing.pre-profile-relay-status", - "checkpoints": [ - { - "id": "pairing-pre-profile-direct-wins-and-provisions.normal:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "c86730581187", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.result-absent:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "ecb3ed9e07a9", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.result-null:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "6f17f29e07f2", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.inner-ok-missing:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "daabd90bfcc1", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-string-error:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "4e9ba307980b", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.inner-false-object-error:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "d2a249b003bf", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "1543bcd4d709", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.outer-refused-no-message:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "47ba2322c16d", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.method-not-found:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "79180c6ce9f3", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "90daaba3281f", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - }, - { - "id": "pairing-pre-profile-direct-wins-and-provisions.transport-rejection-no-message:paired-over-direct", - "observation": { - "sender": ["6995d6b0bd4c", "a698f789bc75", "28a5fc6036c5", "ea163bb1f5e0"], - "payloads": ["6d04596c636d", "edde120654bf", "f49423f836f9", "1f647ffe77b0"], - "settlements": { - "pair": "d1b2eddf66f4" - }, - "state": "9b50435fa2f8", - "effects": [ - "406c8ab0b9b6", - "8e378786864c", - "e29d4c104dd3", - "8bf25ca8d4ae", - "061b247f2805", - "33c6a36cc4b6", - "077b94702eb7", - "f6b99510eefb" - ] - } - } - ] - } -} 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 deleted file mode 100644 index e75b3703758..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-project-explicit-false-github.project.updateissuebyslug-1.json +++ /dev/null @@ -1,1027 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "project.update-metadata", - "family": "project-explicit-false", - "namedDeltas": [], - "values": { - "0053a93946cd": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "github.project.updateIssueBySlug" - }, - { - "name": "params", - "value": { - "host": "github.enterprise.test", - "number": 1, - "owner": "owner", - "repo": "repo", - "updates": { - "addLabels": ["recorded"] - } - } - }, - { - "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 - } - } - } - }, - "0c4dced3e005": { - "error": "", - "mutating": true, - "row": { - "content": { - "assignees": [], - "labels": [], - "number": 1, - "repository": "owner/repo" - }, - "id": "item-1", - "itemType": "ISSUE" - } - }, - "0e5683ebf4cc": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "github.project.updateIssueBySlug" - }, - { - "name": "params", - "value": { - "host": "github.enterprise.test", - "number": 1, - "owner": "owner", - "repo": "repo", - "updates": { - "addLabels": ["recorded"] - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "1158580f696d": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "github.project.updateIssueBySlug" - }, - { - "name": "params", - "value": { - "host": "github.enterprise.test", - "number": 1, - "owner": "owner", - "repo": "repo", - "updates": { - "addLabels": ["recorded"] - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "11ca5361468e": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "outer refused" - }, - "14caa463840a": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "github.project.updateIssueBySlug" - }, - { - "name": "params", - "value": { - "host": "github.enterprise.test", - "number": 1, - "owner": "owner", - "repo": "repo", - "updates": { - "addLabels": ["recorded"] - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "22021a77bba3": { - "error": "Unknown method", - "mutating": false, - "row": { - "content": { - "assignees": [], - "labels": [], - "number": 1, - "repository": "owner/repo" - }, - "id": "item-1", - "itemType": "ISSUE" - } - }, - "25c096d77bae": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "transport failure" - }, - "2b3c1b95331e": { - "error": "outer refused", - "mutating": false, - "row": { - "content": { - "assignees": [], - "labels": [], - "number": 1, - "repository": "owner/repo" - }, - "id": "item-1", - "itemType": "ISSUE" - } - }, - "3081102388ad": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "inner refused" - }, - "32cc1f3ceec8": { - "error": "inner refused", - "mutating": false, - "row": { - "content": { - "assignees": [], - "labels": [], - "number": 1, - "repository": "owner/repo" - }, - "id": "item-1", - "itemType": "ISSUE" - } - }, - "349173b5b21b": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "" - }, - "3621cf5aa876": { - "name": "githubProjectTable", - "ordinal": 5, - "value": { - "rows": [ - { - "content": { - "assignees": [], - "labels": [ - { - "color": "808080", - "name": "recorded" - } - ], - "number": 1, - "repository": "owner/repo" - }, - "id": "item-1", - "itemType": "ISSUE" - } - ] - } - }, - "3c58a941fdb5": { - "name": "githubProjectTable", - "ordinal": 6, - "value": { - "rows": [ - { - "content": { - "assignees": [], - "labels": [ - { - "color": "808080", - "name": "recorded" - } - ], - "number": 1, - "repository": "owner/repo" - }, - "id": "item-1", - "itemType": "ISSUE" - } - ] - } - }, - "3f996c0d0403": { - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "labels": [], - "number": 1, - "repository": "owner/repo" - }, - "id": "item-1", - "itemType": "ISSUE" - } - }, - "4324304a281a": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "Unknown method" - }, - "5c98e5ca5ab0": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "github.project.updateIssueBySlug" - }, - { - "name": "params", - "value": { - "host": "github.enterprise.test", - "number": 1, - "owner": "owner", - "repo": "repo", - "updates": { - "addLabels": ["recorded"] - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": true - }, - "5ea692508d69": { - "error": "transport failure", - "mutating": false, - "row": { - "content": { - "assignees": [], - "labels": [], - "number": 1, - "repository": "owner/repo" - }, - "id": "item-1", - "itemType": "ISSUE" - } - }, - "6f9e1f332b23": { - "name": "projectMutating", - "ordinal": 8, - "value": false - }, - "72332e237f1f": { - "name": "projectMutating", - "ordinal": 6, - "value": false - }, - "78a9fc64d7dd": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "github.project.updateIssueBySlug" - }, - { - "name": "params", - "value": { - "host": "github.enterprise.test", - "number": 1, - "owner": "owner", - "repo": "repo", - "updates": { - "addLabels": ["recorded"] - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "78f76d021b3f": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "Connection closed" - }, - "7dd074a8e448": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "github.project.updateIssueBySlug" - }, - { - "name": "params", - "value": { - "host": "github.enterprise.test", - "number": 1, - "owner": "owner", - "repo": "repo", - "updates": { - "addLabels": ["recorded"] - } - } - }, - { - "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 - } - } - }, - "7df10429e862": { - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "labels": [ - { - "color": "808080", - "name": "recorded" - } - ], - "number": 1, - "repository": "owner/repo" - }, - "id": "item-1", - "itemType": "ISSUE" - } - }, - "7e2bde0922c0": { - "name": "projectRowDetail", - "ordinal": 7, - "value": { - "$rpc": "null" - } - }, - "7ecf3a14081d": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "github.project.updateIssueBySlug" - }, - { - "name": "params", - "value": { - "host": "github.enterprise.test", - "number": 1, - "owner": "owner", - "repo": "repo", - "updates": { - "addLabels": ["recorded"] - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "810c401fc52a": { - "name": "reply-salvage", - "ordinal": 4, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.project.updateIssueBySlug", - "operation": "github.project.update-issue", - "variant": "github-project-updated-issue" - } - }, - "85734cd25ad9": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "github.project.updateIssueBySlug" - }, - { - "name": "params", - "value": { - "host": "github.enterprise.test", - "number": 1, - "owner": "owner", - "repo": "repo", - "updates": { - "addLabels": ["recorded"] - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "87a06aebc58e": { - "error": "The host sent a reply this app could not read (github.project.updateIssueBySlug)", - "mutating": false, - "row": { - "content": { - "assignees": [], - "labels": [], - "number": 1, - "repository": "owner/repo" - }, - "id": "item-1", - "itemType": "ISSUE" - } - }, - "887e8ce3ae91": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "github.project.updateIssueBySlug" - }, - { - "name": "params", - "value": { - "host": "github.enterprise.test", - "number": 1, - "owner": "owner", - "repo": "repo", - "updates": { - "addLabels": ["recorded"] - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "a25fb60f47da": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "github.project.updateIssueBySlug" - }, - { - "name": "params", - "value": { - "host": "github.enterprise.test", - "number": 1, - "owner": "owner", - "repo": "repo", - "updates": { - "addLabels": ["recorded"] - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "a735fd6aee5f": { - "name": "projectMutating", - "ordinal": 7, - "value": false - }, - "b54187ba0262": { - "name": "projectRowItem", - "ordinal": 4, - "value": { - "content": { - "assignees": [], - "labels": [ - { - "color": "808080", - "name": "recorded" - } - ], - "number": 1, - "repository": "owner/repo" - }, - "id": "item-1", - "itemType": "ISSUE" - } - }, - "c4a308482e58": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 3, - "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\"]}}}" - }, - "c679565dc881": { - "error": "Failed to update GitHub item", - "mutating": false, - "row": { - "content": { - "assignees": [], - "labels": [], - "number": 1, - "repository": "owner/repo" - }, - "id": "item-1", - "itemType": "ISSUE" - } - }, - "cee96a551fcd": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "The host sent a reply this app could not read (github.project.updateIssueBySlug)" - }, - "e2a12ae3c71a": { - "name": "projectRowItem", - "ordinal": 5, - "value": { - "content": { - "assignees": [], - "labels": [ - { - "color": "808080", - "name": "recorded" - } - ], - "number": 1, - "repository": "owner/repo" - }, - "id": "item-1", - "itemType": "ISSUE" - } - }, - "e506ad19ffcf": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "github.project.updateIssueBySlug" - }, - { - "name": "params", - "value": { - "host": "github.enterprise.test", - "number": 1, - "owner": "owner", - "repo": "repo", - "updates": { - "addLabels": ["recorded"] - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "e8653f04c0eb": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "github.project.updateIssueBySlug" - }, - { - "name": "params", - "value": { - "host": "github.enterprise.test", - "number": 1, - "owner": "owner", - "repo": "repo", - "updates": { - "addLabels": ["recorded"] - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "e9296dde8e41": { - "name": "projectMutating", - "ordinal": 5, - "value": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eedadfe7f88b": { - "name": "projectRowDetail", - "ordinal": 6, - "value": { - "$rpc": "null" - } - }, - "ffe14a16b6b6": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "Failed to update GitHub item" - } - }, - "recording": { - "scenario": "matrix-project-explicit-false-github.project.updateissuebyslug-1", - "checkpoints": [ - { - "id": "b2.prelude:pending", - "observation": { - "sender": ["7ecf3a14081d"], - "payloads": ["c4a308482e58"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "9270aeb7d9c6" - }, - "state": "0c4dced3e005", - "effects": ["5d32aa29303c"] - } - }, - { - "id": "b2.prelude:cleanup", - "observation": { - "sender": ["5c98e5ca5ab0"], - "payloads": ["c4a308482e58"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "0c4dced3e005", - "effects": ["5d32aa29303c", "78f76d021b3f", "e9296dde8e41"] - } - }, - { - "id": "b2.normal:settled", - "observation": { - "sender": ["85734cd25ad9"], - "payloads": ["c4a308482e58"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "7df10429e862", - "effects": [ - "5d32aa29303c", - "b54187ba0262", - "3621cf5aa876", - "eedadfe7f88b", - "a735fd6aee5f" - ] - } - }, - { - "id": "b2.result-absent:settled", - "observation": { - "sender": ["14caa463840a"], - "payloads": ["c4a308482e58"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "87a06aebc58e", - "effects": ["5d32aa29303c", "cee96a551fcd", "e9296dde8e41"] - } - }, - { - "id": "b2.result-null:settled", - "observation": { - "sender": ["1158580f696d"], - "payloads": ["c4a308482e58"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "87a06aebc58e", - "effects": ["5d32aa29303c", "cee96a551fcd", "e9296dde8e41"] - } - }, - { - "id": "b2.inner-ok-missing:settled", - "observation": { - "sender": ["e506ad19ffcf"], - "payloads": ["c4a308482e58"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "7df10429e862", - "effects": [ - "5d32aa29303c", - "810c401fc52a", - "e2a12ae3c71a", - "3c58a941fdb5", - "7e2bde0922c0", - "6f9e1f332b23" - ] - } - }, - { - "id": "b2.inner-false-string-error:settled", - "observation": { - "sender": ["78a9fc64d7dd"], - "payloads": ["c4a308482e58"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "c679565dc881", - "effects": ["5d32aa29303c", "810c401fc52a", "ffe14a16b6b6", "72332e237f1f"] - } - }, - { - "id": "b2.inner-false-object-error:settled", - "observation": { - "sender": ["0053a93946cd"], - "payloads": ["c4a308482e58"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "32cc1f3ceec8", - "effects": ["5d32aa29303c", "3081102388ad", "e9296dde8e41"] - } - }, - { - "id": "b2.outer-refused:settled", - "observation": { - "sender": ["a25fb60f47da"], - "payloads": ["c4a308482e58"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "2b3c1b95331e", - "effects": ["5d32aa29303c", "11ca5361468e", "e9296dde8e41"] - } - }, - { - "id": "b2.outer-refused-no-message:settled", - "observation": { - "sender": ["887e8ce3ae91"], - "payloads": ["c4a308482e58"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "3f996c0d0403", - "effects": ["5d32aa29303c", "349173b5b21b", "e9296dde8e41"] - } - }, - { - "id": "b2.method-not-found:settled", - "observation": { - "sender": ["7dd074a8e448"], - "payloads": ["c4a308482e58"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "22021a77bba3", - "effects": ["5d32aa29303c", "4324304a281a", "e9296dde8e41"] - } - }, - { - "id": "b2.transport-rejection:settled", - "observation": { - "sender": ["e8653f04c0eb"], - "payloads": ["c4a308482e58"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "5ea692508d69", - "effects": ["5d32aa29303c", "25c096d77bae", "e9296dde8e41"] - } - }, - { - "id": "b2.transport-rejection-no-message:settled", - "observation": { - "sender": ["0e5683ebf4cc"], - "payloads": ["c4a308482e58"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "3f996c0d0403", - "effects": ["5d32aa29303c", "349173b5b21b", "e9296dde8e41"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-1.json b/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-1.json deleted file mode 100644 index f26f1fbaa5c..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-1.json +++ /dev/null @@ -1,815 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "query.event-router-catalog", - "family": "query.event-router-catalog", - "namedDeltas": [], - "values": { - "1eef7ff9a9b9": { - "name": "worktree.ps#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 3000, - "settledAt": 3750, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "5bd4621f47d0": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "704ca5c34f99": { - "name": "worktree.ps#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "78a0dbbe27a8": { - "name": "worktree.ps#2", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "a839711b15b8": { - "status": "pending" - }, - "ac14275e5e23": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "runtime_error", - "message": "worktree list unavailable" - }, - "id": "frame-2", - "ok": false - } - } - }, - "ae9f66f12cc9": { - "status": "fulfilled", - "startedAt": 3750, - "settledAt": 3750, - "value": { - "$rpc": "undefined" - } - }, - "b91023634f14": { - "name": "worktree.ps#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 3000 - } - }, - "c448f53917f7": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c7fbd9501e80": { - "status": "error" - }, - "e1883df1f8f5": { - "name": "streams-registered-at-teardown", - "ordinal": 6, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - } - }, - "recording": { - "scenario": "matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-1", - "checkpoints": [ - { - "id": "event-router-failed-read-floor.normal:listening", - "observation": { - "sender": ["c448f53917f7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:read-refused", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:listening", - "observation": { - "sender": ["c448f53917f7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:read-refused", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:cleanup", - "observation": { - "sender": ["ac14275e5e23", "1eef7ff9a9b9"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["e1883df1f8f5"] - } - }, - { - "id": "event-router-failed-read-floor.result-null:listening", - "observation": { - "sender": ["c448f53917f7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:read-refused", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:cleanup", - "observation": { - "sender": ["ac14275e5e23", "1eef7ff9a9b9"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["e1883df1f8f5"] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:listening", - "observation": { - "sender": ["c448f53917f7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:read-refused", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:cleanup", - "observation": { - "sender": ["ac14275e5e23", "1eef7ff9a9b9"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["e1883df1f8f5"] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:listening", - "observation": { - "sender": ["c448f53917f7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:read-refused", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:cleanup", - "observation": { - "sender": ["ac14275e5e23", "1eef7ff9a9b9"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["e1883df1f8f5"] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:listening", - "observation": { - "sender": ["c448f53917f7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:read-refused", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:cleanup", - "observation": { - "sender": ["ac14275e5e23", "1eef7ff9a9b9"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["e1883df1f8f5"] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:listening", - "observation": { - "sender": ["c448f53917f7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:read-refused", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:floor-passed", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:unmounted", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:listening", - "observation": { - "sender": ["c448f53917f7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:read-refused", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:floor-passed", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:unmounted", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:listening", - "observation": { - "sender": ["c448f53917f7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:read-refused", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:floor-passed", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:unmounted", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "c7fbd9501e80", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-2.json b/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-2.json deleted file mode 100644 index acdc360fc11..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-2.json +++ /dev/null @@ -1,566 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "query.event-router-catalog", - "family": "query.event-router-catalog", - "namedDeltas": [], - "values": { - "5bd4621f47d0": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "704ca5c34f99": { - "name": "worktree.ps#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "78a0dbbe27a8": { - "name": "worktree.ps#2", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "a328c933a31f": { - "name": "streams-registered-at-teardown", - "ordinal": 5, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#2" - } - ] - }, - "a839711b15b8": { - "status": "pending" - }, - "ac14275e5e23": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "runtime_error", - "message": "worktree list unavailable" - }, - "id": "frame-2", - "ok": false - } - } - }, - "ae9f66f12cc9": { - "status": "fulfilled", - "startedAt": 3750, - "settledAt": 3750, - "value": { - "$rpc": "undefined" - } - }, - "b91023634f14": { - "name": "worktree.ps#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 3000 - } - }, - "c448f53917f7": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c686e7f77d44": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "c7fbd9501e80": { - "status": "error" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - } - }, - "recording": { - "scenario": "matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-2", - "checkpoints": [ - { - "id": "event-router-failed-read-floor.prelude:listening", - "observation": { - "sender": ["c448f53917f7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.prelude:read-refused", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:floor-passed", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:unmounted", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:cleanup", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "c7fbd9501e80", - "effects": ["a328c933a31f"] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:floor-passed", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:unmounted", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:cleanup", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "c7fbd9501e80", - "effects": ["a328c933a31f"] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:floor-passed", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:unmounted", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:cleanup", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "c7fbd9501e80", - "effects": ["a328c933a31f"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-3.json b/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-3.json deleted file mode 100644 index a9e315b074f..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-3.json +++ /dev/null @@ -1,637 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "query.event-router-catalog", - "family": "query.event-router-catalog", - "namedDeltas": [], - "values": { - "0769c2565e2f": { - "name": "worktree.ps#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 3000 - } - }, - "1fcd3f3dee98": { - "name": "streams-registered-at-teardown", - "ordinal": 7, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#2" - } - ] - }, - "4e87a83926ae": { - "name": "worktree.ps#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 3000, - "settledAt": 3750, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "5bd4621f47d0": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "704ca5c34f99": { - "name": "worktree.ps#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "78a0dbbe27a8": { - "name": "worktree.ps#2", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "8b854beb872a": { - "name": "worktree.ps#2", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "a839711b15b8": { - "status": "pending" - }, - "ac14275e5e23": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "runtime_error", - "message": "worktree list unavailable" - }, - "id": "frame-2", - "ok": false - } - } - }, - "ae9f66f12cc9": { - "status": "fulfilled", - "startedAt": 3750, - "settledAt": 3750, - "value": { - "$rpc": "undefined" - } - }, - "b91023634f14": { - "name": "worktree.ps#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 3000 - } - }, - "c448f53917f7": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c686e7f77d44": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "c7fbd9501e80": { - "status": "error" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - } - }, - "recording": { - "scenario": "matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-3", - "checkpoints": [ - { - "id": "event-router-failed-read-floor.prelude:listening", - "observation": { - "sender": ["c448f53917f7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.prelude:read-refused", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:unmounted", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:cleanup", - "observation": { - "sender": ["ac14275e5e23", "4e87a83926ae"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["1fcd3f3dee98"] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:unmounted", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:cleanup", - "observation": { - "sender": ["ac14275e5e23", "4e87a83926ae"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["1fcd3f3dee98"] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:unmounted", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:cleanup", - "observation": { - "sender": ["ac14275e5e23", "4e87a83926ae"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["1fcd3f3dee98"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-4.json b/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-4.json deleted file mode 100644 index dd61b787a40..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-4.json +++ /dev/null @@ -1,637 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "query.event-router-catalog", - "family": "query.event-router-catalog", - "namedDeltas": [], - "values": { - "0769c2565e2f": { - "name": "worktree.ps#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 3000 - } - }, - "1fcd3f3dee98": { - "name": "streams-registered-at-teardown", - "ordinal": 7, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#2" - } - ] - }, - "4e87a83926ae": { - "name": "worktree.ps#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 3000, - "settledAt": 3750, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "5bd4621f47d0": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "704ca5c34f99": { - "name": "worktree.ps#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "78a0dbbe27a8": { - "name": "worktree.ps#2", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "8b854beb872a": { - "name": "worktree.ps#2", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "a839711b15b8": { - "status": "pending" - }, - "ac14275e5e23": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "runtime_error", - "message": "worktree list unavailable" - }, - "id": "frame-2", - "ok": false - } - } - }, - "ae9f66f12cc9": { - "status": "fulfilled", - "startedAt": 3750, - "settledAt": 3750, - "value": { - "$rpc": "undefined" - } - }, - "b91023634f14": { - "name": "worktree.ps#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 3000 - } - }, - "c448f53917f7": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c686e7f77d44": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "c7fbd9501e80": { - "status": "error" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - } - }, - "recording": { - "scenario": "matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-4", - "checkpoints": [ - { - "id": "event-router-failed-read-floor.prelude:listening", - "observation": { - "sender": ["c448f53917f7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.prelude:read-refused", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:unmounted", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:cleanup", - "observation": { - "sender": ["ac14275e5e23", "4e87a83926ae"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["1fcd3f3dee98"] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:unmounted", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:cleanup", - "observation": { - "sender": ["ac14275e5e23", "4e87a83926ae"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["1fcd3f3dee98"] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:unmounted", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:cleanup", - "observation": { - "sender": ["ac14275e5e23", "4e87a83926ae"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["1fcd3f3dee98"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-5.json b/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-5.json deleted file mode 100644 index 7edecb5933b..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-5.json +++ /dev/null @@ -1,637 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "query.event-router-catalog", - "family": "query.event-router-catalog", - "namedDeltas": [], - "values": { - "0769c2565e2f": { - "name": "worktree.ps#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 3000 - } - }, - "1fcd3f3dee98": { - "name": "streams-registered-at-teardown", - "ordinal": 7, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#2" - } - ] - }, - "4e87a83926ae": { - "name": "worktree.ps#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 3000, - "settledAt": 3750, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "5bd4621f47d0": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "704ca5c34f99": { - "name": "worktree.ps#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "78a0dbbe27a8": { - "name": "worktree.ps#2", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "8b854beb872a": { - "name": "worktree.ps#2", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "a839711b15b8": { - "status": "pending" - }, - "ac14275e5e23": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "runtime_error", - "message": "worktree list unavailable" - }, - "id": "frame-2", - "ok": false - } - } - }, - "ae9f66f12cc9": { - "status": "fulfilled", - "startedAt": 3750, - "settledAt": 3750, - "value": { - "$rpc": "undefined" - } - }, - "b91023634f14": { - "name": "worktree.ps#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 3000 - } - }, - "c448f53917f7": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c686e7f77d44": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "c7fbd9501e80": { - "status": "error" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - } - }, - "recording": { - "scenario": "matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-5", - "checkpoints": [ - { - "id": "event-router-failed-read-floor.prelude:listening", - "observation": { - "sender": ["c448f53917f7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.prelude:read-refused", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:unmounted", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:cleanup", - "observation": { - "sender": ["ac14275e5e23", "4e87a83926ae"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["1fcd3f3dee98"] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:unmounted", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:cleanup", - "observation": { - "sender": ["ac14275e5e23", "4e87a83926ae"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["1fcd3f3dee98"] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:unmounted", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:cleanup", - "observation": { - "sender": ["ac14275e5e23", "4e87a83926ae"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["1fcd3f3dee98"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-6.json b/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-6.json deleted file mode 100644 index fcad6692de2..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-6.json +++ /dev/null @@ -1,637 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "query.event-router-catalog", - "family": "query.event-router-catalog", - "namedDeltas": [], - "values": { - "0769c2565e2f": { - "name": "worktree.ps#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 3000 - } - }, - "1fcd3f3dee98": { - "name": "streams-registered-at-teardown", - "ordinal": 7, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#2" - } - ] - }, - "4e87a83926ae": { - "name": "worktree.ps#2", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 3000, - "settledAt": 3750, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "5bd4621f47d0": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "704ca5c34f99": { - "name": "worktree.ps#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "78a0dbbe27a8": { - "name": "worktree.ps#2", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "8b854beb872a": { - "name": "worktree.ps#2", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "a839711b15b8": { - "status": "pending" - }, - "ac14275e5e23": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "runtime_error", - "message": "worktree list unavailable" - }, - "id": "frame-2", - "ok": false - } - } - }, - "ae9f66f12cc9": { - "status": "fulfilled", - "startedAt": 3750, - "settledAt": 3750, - "value": { - "$rpc": "undefined" - } - }, - "b91023634f14": { - "name": "worktree.ps#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 3000 - } - }, - "c448f53917f7": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c686e7f77d44": { - "name": "runtime.clientEvents.subscribe#2", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "c7fbd9501e80": { - "status": "error" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - } - }, - "recording": { - "scenario": "matrix-query.event-router-catalog-runtime.clientevents.subscribe-1-6", - "checkpoints": [ - { - "id": "event-router-failed-read-floor.prelude:listening", - "observation": { - "sender": ["c448f53917f7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.prelude:read-refused", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:unmounted", - "observation": { - "sender": ["ac14275e5e23", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:unmounted", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:cleanup", - "observation": { - "sender": ["ac14275e5e23", "4e87a83926ae"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["1fcd3f3dee98"] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:unmounted", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:cleanup", - "observation": { - "sender": ["ac14275e5e23", "4e87a83926ae"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["1fcd3f3dee98"] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:five-notices-inside-the-floor", - "observation": { - "sender": ["ac14275e5e23"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:floor-passed", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:unmounted", - "observation": { - "sender": ["ac14275e5e23", "0769c2565e2f"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:cleanup", - "observation": { - "sender": ["ac14275e5e23", "4e87a83926ae"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "c686e7f77d44", "8b854beb872a"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": ["1fcd3f3dee98"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-worktree.ps-1.json b/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-worktree.ps-1.json deleted file mode 100644 index 2eda7c6805a..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-query.event-router-catalog-worktree.ps-1.json +++ /dev/null @@ -1,1117 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "query.event-router-catalog", - "family": "query.event-router-catalog", - "namedDeltas": [], - "values": { - "2159667cf633": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "5bd4621f47d0": { - "name": "runtime.clientEvents.unsubscribe#1", - "ordinal": 6, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.unsubscribe\",\"params\":{\"subscriptionId\":\"sub-1\"}}" - }, - "5ece68a8cbc5": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "6030c04ddbcd": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "704ca5c34f99": { - "name": "worktree.ps#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "70f531389976": { - "name": "worktree.ps#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "73083f54975f": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "78a0dbbe27a8": { - "name": "worktree.ps#2", - "ordinal": 5, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "89b9ba8d8cd7": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "8db531aac9cb": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "912d0c07da7b": { - "status": "success" - }, - "a839711b15b8": { - "status": "pending" - }, - "ae35b72a6d04": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktrees": [] - } - } - } - }, - "ae9f66f12cc9": { - "status": "fulfilled", - "startedAt": 3750, - "settledAt": 3750, - "value": { - "$rpc": "undefined" - } - }, - "b91023634f14": { - "name": "worktree.ps#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 3000 - } - }, - "baf8a4d812f1": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "c448f53917f7": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c7fbd9501e80": { - "status": "error" - }, - "e6d56f2fda86": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "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" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "efab2a313e0c": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "f7c49a54fd25": { - "name": "worktree.ps#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - } - }, - "recording": { - "scenario": "matrix-query.event-router-catalog-worktree.ps-1", - "checkpoints": [ - { - "id": "event-router-failed-read-floor.prelude:listening", - "observation": { - "sender": ["c448f53917f7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:read-refused", - "observation": { - "sender": ["ae35b72a6d04"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "912d0c07da7b", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:five-notices-inside-the-floor", - "observation": { - "sender": ["ae35b72a6d04"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "912d0c07da7b", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:floor-passed", - "observation": { - "sender": ["ae35b72a6d04", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "912d0c07da7b", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.normal:unmounted", - "observation": { - "sender": ["ae35b72a6d04", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "912d0c07da7b", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:read-refused", - "observation": { - "sender": ["2159667cf633"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:five-notices-inside-the-floor", - "observation": { - "sender": ["2159667cf633"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:floor-passed", - "observation": { - "sender": ["2159667cf633", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-absent:unmounted", - "observation": { - "sender": ["2159667cf633", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:read-refused", - "observation": { - "sender": ["baf8a4d812f1"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:five-notices-inside-the-floor", - "observation": { - "sender": ["baf8a4d812f1"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:floor-passed", - "observation": { - "sender": ["baf8a4d812f1", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.result-null:unmounted", - "observation": { - "sender": ["baf8a4d812f1", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:read-refused", - "observation": { - "sender": ["8db531aac9cb"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:five-notices-inside-the-floor", - "observation": { - "sender": ["8db531aac9cb"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:floor-passed", - "observation": { - "sender": ["8db531aac9cb", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-ok-missing:unmounted", - "observation": { - "sender": ["8db531aac9cb", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:read-refused", - "observation": { - "sender": ["efab2a313e0c"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:five-notices-inside-the-floor", - "observation": { - "sender": ["efab2a313e0c"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:floor-passed", - "observation": { - "sender": ["efab2a313e0c", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-string-error:unmounted", - "observation": { - "sender": ["efab2a313e0c", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:read-refused", - "observation": { - "sender": ["f7c49a54fd25"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:five-notices-inside-the-floor", - "observation": { - "sender": ["f7c49a54fd25"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:floor-passed", - "observation": { - "sender": ["f7c49a54fd25", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.inner-false-object-error:unmounted", - "observation": { - "sender": ["f7c49a54fd25", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:read-refused", - "observation": { - "sender": ["89b9ba8d8cd7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:five-notices-inside-the-floor", - "observation": { - "sender": ["89b9ba8d8cd7"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:floor-passed", - "observation": { - "sender": ["89b9ba8d8cd7", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused:unmounted", - "observation": { - "sender": ["89b9ba8d8cd7", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:read-refused", - "observation": { - "sender": ["e6d56f2fda86"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:five-notices-inside-the-floor", - "observation": { - "sender": ["e6d56f2fda86"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:floor-passed", - "observation": { - "sender": ["e6d56f2fda86", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.outer-refused-no-message:unmounted", - "observation": { - "sender": ["e6d56f2fda86", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:read-refused", - "observation": { - "sender": ["5ece68a8cbc5"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:five-notices-inside-the-floor", - "observation": { - "sender": ["5ece68a8cbc5"], - "payloads": ["eef1ee3c2773", "704ca5c34f99"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c7fbd9501e80", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:floor-passed", - "observation": { - "sender": ["5ece68a8cbc5", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.method-not-found:unmounted", - "observation": { - "sender": ["5ece68a8cbc5", "b91023634f14"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.transport-rejection:read-refused", - "observation": { - "sender": ["73083f54975f", "70f531389976"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.transport-rejection:five-notices-inside-the-floor", - "observation": { - "sender": ["73083f54975f", "70f531389976"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.transport-rejection:floor-passed", - "observation": { - "sender": ["73083f54975f", "70f531389976"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.transport-rejection:unmounted", - "observation": { - "sender": ["73083f54975f", "70f531389976"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.transport-rejection-no-message:read-refused", - "observation": { - "sender": ["6030c04ddbcd", "70f531389976"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.transport-rejection-no-message:five-notices-inside-the-floor", - "observation": { - "sender": ["6030c04ddbcd", "70f531389976"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.transport-rejection-no-message:floor-passed", - "observation": { - "sender": ["6030c04ddbcd", "70f531389976"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a839711b15b8", - "effects": [] - } - }, - { - "id": "event-router-failed-read-floor.transport-rejection-no-message:unmounted", - "observation": { - "sender": ["6030c04ddbcd", "70f531389976"], - "payloads": ["eef1ee3c2773", "704ca5c34f99", "78a0dbbe27a8", "5bd4621f47d0"], - "settlements": { - "mount": "eb79a9b3682a", - "unmount": "ae9f66f12cc9" - }, - "state": "a839711b15b8", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 3d5eb2aef4b..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-relay.credential-rotation-pairing.getendpoints-1.json +++ /dev/null @@ -1,794 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "relay.credential-rotation", - "family": "relay.credential-rotation", - "namedDeltas": [], - "values": { - "09d6d0f0cdd6": { - "name": "pairing.getEndpoints#1", - "ordinal": 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-1", - "ok": true - } - } - }, - "1c7f6242a7ad": { - "name": "pairing.getEndpoints#1", - "ordinal": 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-1", - "ok": false - } - } - }, - "1d5e608b0cda": { - "name": "pairing.provisionRelay#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\",\"expectedCurrentHash\":\"r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30\"}}" - }, - "289c8fa743e7": { - "outcome": "failed: refused: outer refused", - "pending": true, - "version": 3 - }, - "309ca9de5c8a": { - "name": "pairing.getEndpoints#1", - "ordinal": 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-1", - "ok": false - } - } - }, - "3652953526f6": { - "name": "pairing.getEndpoints#1", - "ordinal": 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-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "4e3b57d795cb": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: outer refused", - "isRpcDeliveryUnknown": false - } - }, - "63d099cfe6d6": { - "name": "pairing.getEndpoints#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\"}}" - }, - "6cfdd8ca783a": { - "outcome": "failed: method_not_found: Unknown method", - "pending": true, - "version": 3 - }, - "8a952a24a43b": { - "outcome": "failed: ", - "pending": true, - "version": 3 - }, - "8d539d4577f6": { - "name": "pairing.getEndpoints#1", - "ordinal": 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-1", - "ok": false - } - } - }, - "927be39b2b79": { - "outcome": "failed: The host sent a reply this app could not read (pairing.getEndpoints)", - "pending": true, - "version": 3 - }, - "9f5831bc9cdf": { - "name": "bundle-written", - "ordinal": 8, - "value": { - "grace": { - "$rpc": "null" - }, - "pending": false, - "version": 4 - } - }, - "9fc56b450dea": { - "name": "pairing.getEndpoints#1", - "ordinal": 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-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "a16522c603ca": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - }, - "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 - } - }, - "bbc83d7cf00f": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - }, - "bec79643b16c": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (pairing.getEndpoints)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d0e5574dc85b": { - "name": "pairing.getEndpoints#1", - "ordinal": 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-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "d56bfdbce702": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: ", - "isRpcDeliveryUnknown": false - } - }, - "d5e189e21a0a": { - "name": "pairing.getEndpoints#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\"}}" - }, - "d6f517b81cc8": { - "name": "pairing.getEndpoints#1", - "ordinal": 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-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "df4532078f99": { - "name": "bundle-written", - "ordinal": 1, - "value": { - "grace": { - "$rpc": "null" - }, - "pending": true, - "version": 3 - } - }, - "ed1dba77fd44": { - "name": "pairing.getEndpoints#1", - "ordinal": 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-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 - } - } - } - }, - "ed53b3008cb7": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "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 - } - } - } - }, - "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 - } - } - }, - "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 - }, - "fe8f0a52315d": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "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 - } - } - } - } - }, - "recording": { - "scenario": "matrix-relay.credential-rotation-pairing.getendpoints-1", - "checkpoints": [ - { - "id": "relay-rotation-installs-and-commits.normal:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "fe8f0a52315d", "ed53b3008cb7"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda", "d5e189e21a0a"], - "settlements": { - "rotate": "f2c843a9b548" - }, - "state": "fdf764b375ae", - "effects": ["df4532078f99", "9f5831bc9cdf"] - } - }, - { - "id": "relay-rotation-installs-and-commits.result-absent:credential-rotated", - "observation": { - "sender": ["09d6d0f0cdd6"], - "payloads": ["63d099cfe6d6"], - "settlements": { - "rotate": "bec79643b16c" - }, - "state": "927be39b2b79", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.result-null:credential-rotated", - "observation": { - "sender": ["d0e5574dc85b"], - "payloads": ["63d099cfe6d6"], - "settlements": { - "rotate": "bec79643b16c" - }, - "state": "927be39b2b79", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.inner-ok-missing:credential-rotated", - "observation": { - "sender": ["d6f517b81cc8"], - "payloads": ["63d099cfe6d6"], - "settlements": { - "rotate": "bec79643b16c" - }, - "state": "927be39b2b79", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.inner-false-string-error:credential-rotated", - "observation": { - "sender": ["9fc56b450dea"], - "payloads": ["63d099cfe6d6"], - "settlements": { - "rotate": "bec79643b16c" - }, - "state": "927be39b2b79", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.inner-false-object-error:credential-rotated", - "observation": { - "sender": ["3652953526f6"], - "payloads": ["63d099cfe6d6"], - "settlements": { - "rotate": "bec79643b16c" - }, - "state": "927be39b2b79", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.outer-refused:credential-rotated", - "observation": { - "sender": ["1c7f6242a7ad"], - "payloads": ["63d099cfe6d6"], - "settlements": { - "rotate": "4e3b57d795cb" - }, - "state": "289c8fa743e7", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.outer-refused-no-message:credential-rotated", - "observation": { - "sender": ["309ca9de5c8a"], - "payloads": ["63d099cfe6d6"], - "settlements": { - "rotate": "d56bfdbce702" - }, - "state": "a70a2b66080c", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.method-not-found:credential-rotated", - "observation": { - "sender": ["8d539d4577f6"], - "payloads": ["63d099cfe6d6"], - "settlements": { - "rotate": "f624ac81d963" - }, - "state": "6cfdd8ca783a", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.transport-rejection:credential-rotated", - "observation": { - "sender": ["bbc83d7cf00f"], - "payloads": ["63d099cfe6d6"], - "settlements": { - "rotate": "a947768bc0ed" - }, - "state": "a33e069666af", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.transport-rejection-no-message:credential-rotated", - "observation": { - "sender": ["a16522c603ca"], - "payloads": ["63d099cfe6d6"], - "settlements": { - "rotate": "c7584e82c72f" - }, - "state": "8a952a24a43b", - "effects": ["df4532078f99"] - } - } - ] - } -} 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 deleted file mode 100644 index b6d1b61c6a4..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-relay.credential-rotation-pairing.getendpoints-2.json +++ /dev/null @@ -1,794 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "relay.credential-rotation", - "family": "relay.credential-rotation", - "namedDeltas": [], - "values": { - "12ac089c6078": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "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 - } - } - } - }, - "1323b19ac97b": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "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 - } - } - }, - "1d5e608b0cda": { - "name": "pairing.provisionRelay#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\",\"expectedCurrentHash\":\"r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30\"}}" - }, - "289c8fa743e7": { - "outcome": "failed: refused: outer refused", - "pending": true, - "version": 3 - }, - "34a7734c0a2f": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "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 - } - } - }, - "4e3b57d795cb": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: outer refused", - "isRpcDeliveryUnknown": false - } - }, - "63d099cfe6d6": { - "name": "pairing.getEndpoints#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\"}}" - }, - "6cfdd8ca783a": { - "outcome": "failed: method_not_found: Unknown method", - "pending": true, - "version": 3 - }, - "891f682983ab": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "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 - } - } - }, - "8a952a24a43b": { - "outcome": "failed: ", - "pending": true, - "version": 3 - }, - "927be39b2b79": { - "outcome": "failed: The host sent a reply this app could not read (pairing.getEndpoints)", - "pending": true, - "version": 3 - }, - "9f5831bc9cdf": { - "name": "bundle-written", - "ordinal": 8, - "value": { - "grace": { - "$rpc": "null" - }, - "pending": false, - "version": 4 - } - }, - "9fc200c9ee8e": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "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" - } - } - } - }, - "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 - } - }, - "bec79643b16c": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (pairing.getEndpoints)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "c195f81ddda2": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "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 - } - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d2d56a1332c3": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "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 - } - } - }, - "d56bfdbce702": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: ", - "isRpcDeliveryUnknown": false - } - }, - "d5e189e21a0a": { - "name": "pairing.getEndpoints#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\"}}" - }, - "df4532078f99": { - "name": "bundle-written", - "ordinal": 1, - "value": { - "grace": { - "$rpc": "null" - }, - "pending": true, - "version": 3 - } - }, - "e302cd9a4885": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "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 - } - } - }, - "ed1dba77fd44": { - "name": "pairing.getEndpoints#1", - "ordinal": 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-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 - } - } - } - }, - "ed53b3008cb7": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "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 - } - } - } - }, - "f01a7c51d8c6": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "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 - } - } - }, - "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 - } - } - }, - "f624ac81d963": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "method_not_found: Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "f721d23c24ed": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "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" - } - } - } - }, - "fdf764b375ae": { - "outcome": { - "relayHostId": "relay-host-0001x", - "version": 4 - }, - "pending": false, - "version": 4 - }, - "fe8f0a52315d": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "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 - } - } - } - } - }, - "recording": { - "scenario": "matrix-relay.credential-rotation-pairing.getendpoints-2", - "checkpoints": [ - { - "id": "relay-rotation-installs-and-commits.normal:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "fe8f0a52315d", "ed53b3008cb7"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda", "d5e189e21a0a"], - "settlements": { - "rotate": "f2c843a9b548" - }, - "state": "fdf764b375ae", - "effects": ["df4532078f99", "9f5831bc9cdf"] - } - }, - { - "id": "relay-rotation-installs-and-commits.result-absent:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "fe8f0a52315d", "f01a7c51d8c6"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda", "d5e189e21a0a"], - "settlements": { - "rotate": "bec79643b16c" - }, - "state": "927be39b2b79", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.result-null:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "fe8f0a52315d", "9fc200c9ee8e"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda", "d5e189e21a0a"], - "settlements": { - "rotate": "bec79643b16c" - }, - "state": "927be39b2b79", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.inner-ok-missing:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "fe8f0a52315d", "f721d23c24ed"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda", "d5e189e21a0a"], - "settlements": { - "rotate": "bec79643b16c" - }, - "state": "927be39b2b79", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.inner-false-string-error:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "fe8f0a52315d", "12ac089c6078"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda", "d5e189e21a0a"], - "settlements": { - "rotate": "bec79643b16c" - }, - "state": "927be39b2b79", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.inner-false-object-error:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "fe8f0a52315d", "c195f81ddda2"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda", "d5e189e21a0a"], - "settlements": { - "rotate": "bec79643b16c" - }, - "state": "927be39b2b79", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.outer-refused:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "fe8f0a52315d", "e302cd9a4885"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda", "d5e189e21a0a"], - "settlements": { - "rotate": "4e3b57d795cb" - }, - "state": "289c8fa743e7", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.outer-refused-no-message:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "fe8f0a52315d", "34a7734c0a2f"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda", "d5e189e21a0a"], - "settlements": { - "rotate": "d56bfdbce702" - }, - "state": "a70a2b66080c", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.method-not-found:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "fe8f0a52315d", "891f682983ab"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda", "d5e189e21a0a"], - "settlements": { - "rotate": "f624ac81d963" - }, - "state": "6cfdd8ca783a", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.transport-rejection:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "fe8f0a52315d", "d2d56a1332c3"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda", "d5e189e21a0a"], - "settlements": { - "rotate": "a947768bc0ed" - }, - "state": "a33e069666af", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.transport-rejection-no-message:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "fe8f0a52315d", "1323b19ac97b"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda", "d5e189e21a0a"], - "settlements": { - "rotate": "c7584e82c72f" - }, - "state": "8a952a24a43b", - "effects": ["df4532078f99"] - } - } - ] - } -} 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 deleted file mode 100644 index 8706ba52b22..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-relay.credential-rotation-pairing.provisionrelay-1.json +++ /dev/null @@ -1,814 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "relay.credential-rotation", - "family": "relay.credential-rotation", - "namedDeltas": [], - "values": { - "04f56ed90f21": { - "outcome": "failed: The host sent a reply this app could not read (pairing.provisionRelay)", - "pending": true, - "version": 3 - }, - "1d5e608b0cda": { - "name": "pairing.provisionRelay#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\",\"newResumeTokenHash\":\"yrnYzw4B0YZ_R6Tcm4arO3oysaG7lsPjvyp4uWmdBtU\",\"expectedCurrentHash\":\"r_9byaBlTZTXS3aLLlWTKwss-nmx4vGRrjKskxWyP30\"}}" - }, - "289c8fa743e7": { - "outcome": "failed: refused: outer refused", - "pending": true, - "version": 3 - }, - "28d4e7f1bab8": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "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 - } - } - }, - "33c313ee06a7": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "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 - } - } - }, - "44120be13078": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "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 - } - } - }, - "4e3b57d795cb": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: outer refused", - "isRpcDeliveryUnknown": false - } - }, - "5266da0adb02": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "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 - } - } - } - }, - "5588a3f116ae": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "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 - } - } - }, - "63d099cfe6d6": { - "name": "pairing.getEndpoints#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\"}}" - }, - "6cfdd8ca783a": { - "outcome": "failed: method_not_found: Unknown method", - "pending": true, - "version": 3 - }, - "8904e59bd7bf": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "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" - } - } - } - }, - "8a952a24a43b": { - "outcome": "failed: ", - "pending": true, - "version": 3 - }, - "92e1d5a2dfc0": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "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" - } - } - } - }, - "94924cf4d2dd": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "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 - } - } - }, - "9f5831bc9cdf": { - "name": "bundle-written", - "ordinal": 8, - "value": { - "grace": { - "$rpc": "null" - }, - "pending": false, - "version": 4 - } - }, - "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 - } - }, - "b6f274395dd4": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "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 - } - } - }, - "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 - } - }, - "d5e189e21a0a": { - "name": "pairing.getEndpoints#2", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"rotate-VftjjHf-4Lb1-Sdfryl-LA\"}}" - }, - "d9f999548cac": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "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 - } - } - } - }, - "df4532078f99": { - "name": "bundle-written", - "ordinal": 1, - "value": { - "grace": { - "$rpc": "null" - }, - "pending": true, - "version": 3 - } - }, - "e751f831b5f1": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (pairing.provisionRelay)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "ed1dba77fd44": { - "name": "pairing.getEndpoints#1", - "ordinal": 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-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 - } - } - } - }, - "ed53b3008cb7": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "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 - } - } - } - }, - "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 - } - } - }, - "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 - }, - "fe8f0a52315d": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "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 - } - } - } - } - }, - "recording": { - "scenario": "matrix-relay.credential-rotation-pairing.provisionrelay-1", - "checkpoints": [ - { - "id": "relay-rotation-installs-and-commits.normal:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "fe8f0a52315d", "ed53b3008cb7"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda", "d5e189e21a0a"], - "settlements": { - "rotate": "f2c843a9b548" - }, - "state": "fdf764b375ae", - "effects": ["df4532078f99", "9f5831bc9cdf"] - } - }, - { - "id": "relay-rotation-installs-and-commits.result-absent:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "44120be13078"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda"], - "settlements": { - "rotate": "e751f831b5f1" - }, - "state": "04f56ed90f21", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.result-null:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "8904e59bd7bf"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda"], - "settlements": { - "rotate": "e751f831b5f1" - }, - "state": "04f56ed90f21", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.inner-ok-missing:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "92e1d5a2dfc0"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda"], - "settlements": { - "rotate": "e751f831b5f1" - }, - "state": "04f56ed90f21", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.inner-false-string-error:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "5266da0adb02"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda"], - "settlements": { - "rotate": "e751f831b5f1" - }, - "state": "04f56ed90f21", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.inner-false-object-error:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "d9f999548cac"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda"], - "settlements": { - "rotate": "e751f831b5f1" - }, - "state": "04f56ed90f21", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.outer-refused:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "28d4e7f1bab8"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda"], - "settlements": { - "rotate": "4e3b57d795cb" - }, - "state": "289c8fa743e7", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.outer-refused-no-message:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "b6f274395dd4"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda"], - "settlements": { - "rotate": "d56bfdbce702" - }, - "state": "a70a2b66080c", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.method-not-found:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "94924cf4d2dd"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda"], - "settlements": { - "rotate": "f624ac81d963" - }, - "state": "6cfdd8ca783a", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.transport-rejection:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "33c313ee06a7"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda"], - "settlements": { - "rotate": "a947768bc0ed" - }, - "state": "a33e069666af", - "effects": ["df4532078f99"] - } - }, - { - "id": "relay-rotation-installs-and-commits.transport-rejection-no-message:credential-rotated", - "observation": { - "sender": ["ed1dba77fd44", "5588a3f116ae"], - "payloads": ["63d099cfe6d6", "1d5e608b0cda"], - "settlements": { - "rotate": "c7584e82c72f" - }, - "state": "8a952a24a43b", - "effects": ["df4532078f99"] - } - } - ] - } -} 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 deleted file mode 100644 index 3ae62c75e1d..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-relay.direct-upgrade-pairing.getendpoints-1.json +++ /dev/null @@ -1,779 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "relay.direct-upgrade", - "family": "relay.direct-upgrade", - "namedDeltas": [], - "values": { - "0244f37a98cf": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - }, - "0386079d62f7": { - "name": "pairing.getEndpoints#1", - "ordinal": 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" - } - } - } - }, - "0d287ad0914c": { - "journal": "present", - "outcome": "failed: The host sent a reply this app could not read (pairing.getEndpoints)" - }, - "0e69ea8bf15f": { - "journal": "present", - "outcome": "failed: " - }, - "10098087f961": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" - }, - "161baaed4df3": { - "name": "host-saved", - "ordinal": 8, - "value": "host-1" - }, - "1fa1dbf80584": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - }, - "232ca274f695": { - "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 - }, - "relay": { - "assignmentEpoch": 1, - "cellUrl": "https://cell.example", - "directorUrl": "https://director.example", - "e2eeFraming": 2, - "relayHostId": "relay-host-0001x", - "v": 1 - } - } - }, - "240d8ec7e573": { - "name": "pairing.getEndpoints#2", - "ordinal": 5, - "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 - } - } - } - }, - "2fce658b56a1": { - "name": "pairing.provisionRelay#1", - "ordinal": 3, - "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 - } - } - } - }, - "30985f2ba522": { - "name": "pairing.getEndpoints#1", - "ordinal": 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" - } - } - } - }, - "4e3b57d795cb": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: outer refused", - "isRpcDeliveryUnknown": false - } - }, - "541fbb4c1bb0": { - "journal": "present", - "outcome": "failed: refused: outer refused" - }, - "58264abeb0ac": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - }, - "691df8767d71": { - "name": "journal-cleared", - "ordinal": 9, - "value": "upgrade" - }, - "6c43da669636": { - "journal": { - "$rpc": "null" - }, - "outcome": "declined" - }, - "6e14239ef339": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - } - }, - "72fb9f223ba7": { - "name": "journal-cleared", - "ordinal": 3, - "value": "upgrade" - }, - "8eb22646fb28": { - "journal": "present", - "outcome": "failed: refused: " - }, - "90f57bbea67f": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - } - }, - "936ce32410f2": { - "name": "pairing.getEndpoints#1", - "ordinal": 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" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aaef09eec3f3": { - "name": "bundle-written", - "ordinal": 7, - "value": { - "version": 4 - } - }, - "abe9b3fdea58": { - "journal": "present", - "outcome": "failed: transport failure" - }, - "b00e59f113a5": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - }, - "baacb3770d4b": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - }, - "bec79643b16c": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (pairing.getEndpoints)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "c55a874526fe": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - }, - "c5d28dd067e4": { - "name": "pairing.getEndpoints#1", - "ordinal": 2, - "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 - } - }, - "d56bfdbce702": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: ", - "isRpcDeliveryUnknown": false - } - }, - "ee20a1dc39e7": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "null" - } - }, - "f41ffc93936f": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-fixture-1\",\"newResumeTokenHash\":\"7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4\"}}" - } - }, - "recording": { - "scenario": "matrix-relay.direct-upgrade-pairing.getendpoints-1", - "checkpoints": [ - { - "id": "relay-direct-upgrade-commits.normal:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "2fce658b56a1", "240d8ec7e573"], - "payloads": ["c5d28dd067e4", "f41ffc93936f", "10098087f961"], - "settlements": { - "upgrade": "232ca274f695" - }, - "state": "980bbba0b617", - "effects": ["aaef09eec3f3", "161baaed4df3", "691df8767d71"] - } - }, - { - "id": "relay-direct-upgrade-commits.result-absent:direct-upgrade-committed", - "observation": { - "sender": ["0244f37a98cf"], - "payloads": ["c5d28dd067e4"], - "settlements": { - "upgrade": "bec79643b16c" - }, - "state": "0d287ad0914c", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.result-null:direct-upgrade-committed", - "observation": { - "sender": ["0386079d62f7"], - "payloads": ["c5d28dd067e4"], - "settlements": { - "upgrade": "bec79643b16c" - }, - "state": "0d287ad0914c", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.inner-ok-missing:direct-upgrade-committed", - "observation": { - "sender": ["30985f2ba522"], - "payloads": ["c5d28dd067e4"], - "settlements": { - "upgrade": "bec79643b16c" - }, - "state": "0d287ad0914c", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.inner-false-string-error:direct-upgrade-committed", - "observation": { - "sender": ["90f57bbea67f"], - "payloads": ["c5d28dd067e4"], - "settlements": { - "upgrade": "bec79643b16c" - }, - "state": "0d287ad0914c", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.inner-false-object-error:direct-upgrade-committed", - "observation": { - "sender": ["936ce32410f2"], - "payloads": ["c5d28dd067e4"], - "settlements": { - "upgrade": "bec79643b16c" - }, - "state": "0d287ad0914c", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.outer-refused:direct-upgrade-committed", - "observation": { - "sender": ["1fa1dbf80584"], - "payloads": ["c5d28dd067e4"], - "settlements": { - "upgrade": "4e3b57d795cb" - }, - "state": "541fbb4c1bb0", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.outer-refused-no-message:direct-upgrade-committed", - "observation": { - "sender": ["58264abeb0ac"], - "payloads": ["c5d28dd067e4"], - "settlements": { - "upgrade": "d56bfdbce702" - }, - "state": "8eb22646fb28", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.method-not-found:direct-upgrade-committed", - "observation": { - "sender": ["baacb3770d4b"], - "payloads": ["c5d28dd067e4"], - "settlements": { - "upgrade": "ee20a1dc39e7" - }, - "state": "6c43da669636", - "effects": ["72fb9f223ba7"] - } - }, - { - "id": "relay-direct-upgrade-commits.transport-rejection:direct-upgrade-committed", - "observation": { - "sender": ["c55a874526fe"], - "payloads": ["c5d28dd067e4"], - "settlements": { - "upgrade": "a947768bc0ed" - }, - "state": "abe9b3fdea58", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.transport-rejection-no-message:direct-upgrade-committed", - "observation": { - "sender": ["b00e59f113a5"], - "payloads": ["c5d28dd067e4"], - "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 deleted file mode 100644 index 225cfb97de2..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-relay.direct-upgrade-pairing.getendpoints-2.json +++ /dev/null @@ -1,774 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "relay.direct-upgrade", - "family": "relay.direct-upgrade", - "namedDeltas": [], - "values": { - "06344bc54a38": { - "name": "pairing.getEndpoints#2", - "ordinal": 5, - "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 - } - } - } - }, - "0d287ad0914c": { - "journal": "present", - "outcome": "failed: The host sent a reply this app could not read (pairing.getEndpoints)" - }, - "0e69ea8bf15f": { - "journal": "present", - "outcome": "failed: " - }, - "10098087f961": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" - }, - "161baaed4df3": { - "name": "host-saved", - "ordinal": 8, - "value": "host-1" - }, - "232ca274f695": { - "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 - }, - "relay": { - "assignmentEpoch": 1, - "cellUrl": "https://cell.example", - "directorUrl": "https://director.example", - "e2eeFraming": 2, - "relayHostId": "relay-host-0001x", - "v": 1 - } - } - }, - "240d8ec7e573": { - "name": "pairing.getEndpoints#2", - "ordinal": 5, - "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 - } - } - } - }, - "2fce658b56a1": { - "name": "pairing.provisionRelay#1", - "ordinal": 3, - "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 - } - } - } - }, - "3dc76aecf5e0": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "relay endpoint reconciliation became unavailable", - "isRpcDeliveryUnknown": false - } - }, - "4e3b57d795cb": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: outer refused", - "isRpcDeliveryUnknown": false - } - }, - "541fbb4c1bb0": { - "journal": "present", - "outcome": "failed: refused: outer refused" - }, - "5d4b5d435fef": { - "name": "pairing.getEndpoints#2", - "ordinal": 5, - "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" - } - } - } - }, - "691df8767d71": { - "name": "journal-cleared", - "ordinal": 9, - "value": "upgrade" - }, - "6e14239ef339": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - } - }, - "7f142720e9ee": { - "name": "pairing.getEndpoints#2", - "ordinal": 5, - "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" - } - } - } - }, - "8eb22646fb28": { - "journal": "present", - "outcome": "failed: refused: " - }, - "980bbba0b617": { - "journal": { - "$rpc": "null" - }, - "outcome": "relay-host-0001x" - }, - "a62ca4f14c85": { - "name": "pairing.getEndpoints#2", - "ordinal": 5, - "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 - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aa6271eb0a35": { - "name": "pairing.getEndpoints#2", - "ordinal": 5, - "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 - } - } - }, - "aaef09eec3f3": { - "name": "bundle-written", - "ordinal": 7, - "value": { - "version": 4 - } - }, - "abe9b3fdea58": { - "journal": "present", - "outcome": "failed: transport failure" - }, - "ae02e37a943d": { - "journal": "present", - "outcome": "failed: relay endpoint reconciliation became unavailable" - }, - "bec79643b16c": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (pairing.getEndpoints)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "c5d28dd067e4": { - "name": "pairing.getEndpoints#1", - "ordinal": 2, - "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 - } - }, - "c8891323e497": { - "name": "pairing.getEndpoints#2", - "ordinal": 5, - "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 - } - } - } - }, - "d011c95d1c83": { - "name": "pairing.getEndpoints#2", - "ordinal": 5, - "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 - } - } - }, - "d56bfdbce702": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: ", - "isRpcDeliveryUnknown": false - } - }, - "e3ad10fe1223": { - "name": "pairing.getEndpoints#2", - "ordinal": 5, - "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 - } - } - }, - "eb8a4ad91d9c": { - "name": "pairing.getEndpoints#2", - "ordinal": 5, - "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 - } - } - }, - "f04a821169b2": { - "name": "pairing.getEndpoints#2", - "ordinal": 5, - "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 - } - } - }, - "f41ffc93936f": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-fixture-1\",\"newResumeTokenHash\":\"7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4\"}}" - } - }, - "recording": { - "scenario": "matrix-relay.direct-upgrade-pairing.getendpoints-2", - "checkpoints": [ - { - "id": "relay-direct-upgrade-commits.normal:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "2fce658b56a1", "240d8ec7e573"], - "payloads": ["c5d28dd067e4", "f41ffc93936f", "10098087f961"], - "settlements": { - "upgrade": "232ca274f695" - }, - "state": "980bbba0b617", - "effects": ["aaef09eec3f3", "161baaed4df3", "691df8767d71"] - } - }, - { - "id": "relay-direct-upgrade-commits.result-absent:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "2fce658b56a1", "d011c95d1c83"], - "payloads": ["c5d28dd067e4", "f41ffc93936f", "10098087f961"], - "settlements": { - "upgrade": "bec79643b16c" - }, - "state": "0d287ad0914c", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.result-null:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "2fce658b56a1", "5d4b5d435fef"], - "payloads": ["c5d28dd067e4", "f41ffc93936f", "10098087f961"], - "settlements": { - "upgrade": "bec79643b16c" - }, - "state": "0d287ad0914c", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.inner-ok-missing:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "2fce658b56a1", "7f142720e9ee"], - "payloads": ["c5d28dd067e4", "f41ffc93936f", "10098087f961"], - "settlements": { - "upgrade": "bec79643b16c" - }, - "state": "0d287ad0914c", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.inner-false-string-error:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "2fce658b56a1", "06344bc54a38"], - "payloads": ["c5d28dd067e4", "f41ffc93936f", "10098087f961"], - "settlements": { - "upgrade": "bec79643b16c" - }, - "state": "0d287ad0914c", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.inner-false-object-error:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "2fce658b56a1", "c8891323e497"], - "payloads": ["c5d28dd067e4", "f41ffc93936f", "10098087f961"], - "settlements": { - "upgrade": "bec79643b16c" - }, - "state": "0d287ad0914c", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.outer-refused:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "2fce658b56a1", "e3ad10fe1223"], - "payloads": ["c5d28dd067e4", "f41ffc93936f", "10098087f961"], - "settlements": { - "upgrade": "4e3b57d795cb" - }, - "state": "541fbb4c1bb0", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.outer-refused-no-message:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "2fce658b56a1", "f04a821169b2"], - "payloads": ["c5d28dd067e4", "f41ffc93936f", "10098087f961"], - "settlements": { - "upgrade": "d56bfdbce702" - }, - "state": "8eb22646fb28", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.method-not-found:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "2fce658b56a1", "aa6271eb0a35"], - "payloads": ["c5d28dd067e4", "f41ffc93936f", "10098087f961"], - "settlements": { - "upgrade": "3dc76aecf5e0" - }, - "state": "ae02e37a943d", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.transport-rejection:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "2fce658b56a1", "eb8a4ad91d9c"], - "payloads": ["c5d28dd067e4", "f41ffc93936f", "10098087f961"], - "settlements": { - "upgrade": "a947768bc0ed" - }, - "state": "abe9b3fdea58", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.transport-rejection-no-message:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "2fce658b56a1", "a62ca4f14c85"], - "payloads": ["c5d28dd067e4", "f41ffc93936f", "10098087f961"], - "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 deleted file mode 100644 index fd1c999a6fd..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-relay.direct-upgrade-pairing.provisionrelay-1.json +++ /dev/null @@ -1,789 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "relay.direct-upgrade", - "family": "relay.direct-upgrade", - "namedDeltas": [], - "values": { - "09e7feee37af": { - "name": "pairing.provisionRelay#1", - "ordinal": 3, - "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 - } - } - }, - "0e69ea8bf15f": { - "journal": "present", - "outcome": "failed: " - }, - "10098087f961": { - "name": "pairing.getEndpoints#2", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" - }, - "161baaed4df3": { - "name": "host-saved", - "ordinal": 8, - "value": "host-1" - }, - "1d27a5b073e4": { - "name": "pairing.provisionRelay#1", - "ordinal": 3, - "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 - } - } - } - }, - "232ca274f695": { - "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 - }, - "relay": { - "assignmentEpoch": 1, - "cellUrl": "https://cell.example", - "directorUrl": "https://director.example", - "e2eeFraming": 2, - "relayHostId": "relay-host-0001x", - "v": 1 - } - } - }, - "240d8ec7e573": { - "name": "pairing.getEndpoints#2", - "ordinal": 5, - "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 - } - } - } - }, - "2fce658b56a1": { - "name": "pairing.provisionRelay#1", - "ordinal": 3, - "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 - } - } - } - }, - "4e3b57d795cb": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: outer refused", - "isRpcDeliveryUnknown": false - } - }, - "541fbb4c1bb0": { - "journal": "present", - "outcome": "failed: refused: outer refused" - }, - "65dfa1d22ba8": { - "name": "pairing.provisionRelay#1", - "ordinal": 3, - "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 - } - } - }, - "691df8767d71": { - "name": "journal-cleared", - "ordinal": 9, - "value": "upgrade" - }, - "6c01f3c4f178": { - "name": "journal-cleared", - "ordinal": 5, - "value": "upgrade" - }, - "6c43da669636": { - "journal": { - "$rpc": "null" - }, - "outcome": "declined" - }, - "6e14239ef339": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - } - }, - "7538ecbf34fa": { - "name": "pairing.provisionRelay#1", - "ordinal": 3, - "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 - } - } - }, - "7ae221f6bdd7": { - "name": "pairing.provisionRelay#1", - "ordinal": 3, - "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 - } - } - } - }, - "8eb22646fb28": { - "journal": "present", - "outcome": "failed: refused: " - }, - "980bbba0b617": { - "journal": { - "$rpc": "null" - }, - "outcome": "relay-host-0001x" - }, - "98bd03b31048": { - "name": "pairing.provisionRelay#1", - "ordinal": 3, - "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 - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aaef09eec3f3": { - "name": "bundle-written", - "ordinal": 7, - "value": { - "version": 4 - } - }, - "abe9b3fdea58": { - "journal": "present", - "outcome": "failed: transport failure" - }, - "b6c45a8b751b": { - "journal": "present", - "outcome": "failed: The host sent a reply this app could not read (pairing.provisionRelay)" - }, - "bfcf8625ea0a": { - "name": "pairing.provisionRelay#1", - "ordinal": 3, - "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" - } - } - } - }, - "c5d28dd067e4": { - "name": "pairing.getEndpoints#1", - "ordinal": 2, - "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 - } - }, - "cb253920d469": { - "name": "pairing.provisionRelay#1", - "ordinal": 3, - "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" - } - } - } - }, - "d26d636203ae": { - "name": "pairing.provisionRelay#1", - "ordinal": 3, - "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 - } - } - }, - "d56bfdbce702": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused: ", - "isRpcDeliveryUnknown": false - } - }, - "e751f831b5f1": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (pairing.provisionRelay)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "ee20a1dc39e7": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "null" - } - }, - "f34fe94a7b25": { - "name": "pairing.provisionRelay#1", - "ordinal": 3, - "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 - } - } - }, - "f41ffc93936f": { - "name": "pairing.provisionRelay#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.provisionRelay\",\"params\":{\"reqId\":\"install-fixture-1\",\"newResumeTokenHash\":\"7ehR_WuQWkxwOFJdkHfI5jEg4DeVYWImtDuip60LHK4\"}}" - } - }, - "recording": { - "scenario": "matrix-relay.direct-upgrade-pairing.provisionrelay-1", - "checkpoints": [ - { - "id": "relay-direct-upgrade-commits.normal:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "2fce658b56a1", "240d8ec7e573"], - "payloads": ["c5d28dd067e4", "f41ffc93936f", "10098087f961"], - "settlements": { - "upgrade": "232ca274f695" - }, - "state": "980bbba0b617", - "effects": ["aaef09eec3f3", "161baaed4df3", "691df8767d71"] - } - }, - { - "id": "relay-direct-upgrade-commits.result-absent:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "65dfa1d22ba8"], - "payloads": ["c5d28dd067e4", "f41ffc93936f"], - "settlements": { - "upgrade": "e751f831b5f1" - }, - "state": "b6c45a8b751b", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.result-null:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "cb253920d469"], - "payloads": ["c5d28dd067e4", "f41ffc93936f"], - "settlements": { - "upgrade": "e751f831b5f1" - }, - "state": "b6c45a8b751b", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.inner-ok-missing:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "bfcf8625ea0a"], - "payloads": ["c5d28dd067e4", "f41ffc93936f"], - "settlements": { - "upgrade": "e751f831b5f1" - }, - "state": "b6c45a8b751b", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.inner-false-string-error:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "7ae221f6bdd7"], - "payloads": ["c5d28dd067e4", "f41ffc93936f"], - "settlements": { - "upgrade": "e751f831b5f1" - }, - "state": "b6c45a8b751b", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.inner-false-object-error:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "1d27a5b073e4"], - "payloads": ["c5d28dd067e4", "f41ffc93936f"], - "settlements": { - "upgrade": "e751f831b5f1" - }, - "state": "b6c45a8b751b", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.outer-refused:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "09e7feee37af"], - "payloads": ["c5d28dd067e4", "f41ffc93936f"], - "settlements": { - "upgrade": "4e3b57d795cb" - }, - "state": "541fbb4c1bb0", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.outer-refused-no-message:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "d26d636203ae"], - "payloads": ["c5d28dd067e4", "f41ffc93936f"], - "settlements": { - "upgrade": "d56bfdbce702" - }, - "state": "8eb22646fb28", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.method-not-found:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "98bd03b31048"], - "payloads": ["c5d28dd067e4", "f41ffc93936f"], - "settlements": { - "upgrade": "ee20a1dc39e7" - }, - "state": "6c43da669636", - "effects": ["6c01f3c4f178"] - } - }, - { - "id": "relay-direct-upgrade-commits.transport-rejection:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "7538ecbf34fa"], - "payloads": ["c5d28dd067e4", "f41ffc93936f"], - "settlements": { - "upgrade": "a947768bc0ed" - }, - "state": "abe9b3fdea58", - "effects": [] - } - }, - { - "id": "relay-direct-upgrade-commits.transport-rejection-no-message:direct-upgrade-committed", - "observation": { - "sender": ["6e14239ef339", "f34fe94a7b25"], - "payloads": ["c5d28dd067e4", "f41ffc93936f"], - "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 deleted file mode 100644 index d3ffbe1ba51..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-relay.pairing-recovery-pairing.getendpoints-1.json +++ /dev/null @@ -1,809 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "relay.pairing-recovery", - "family": "relay.pairing-recovery", - "namedDeltas": [], - "values": { - "1020838fc104": { - "name": "pairing.getEndpoints#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\",\"resumeConfirmReqId\":\"confirm-fixture-1\"}}" - }, - "23d8185ee5a0": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - }, - "3e7ece78969e": { - "name": "pairing.getEndpoints#1", - "ordinal": 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" - } - } - } - }, - "3fd37613d182": { - "name": "pairing.getEndpoints#2", - "ordinal": 4, - "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 - } - } - }, - "4b87f8374959": { - "name": "bundle-written", - "ordinal": 4, - "value": { - "version": 4 - } - }, - "5194e28c1a62": { - "name": "candidate-closed", - "ordinal": 3, - "value": "relay" - }, - "51db29224055": { - "name": "pairing.getEndpoints#1", - "ordinal": 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" - } - }, - "5c8a55122fd9": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - } - }, - "6fd2524785ca": { - "name": "candidate-closed", - "ordinal": 7, - "value": "relay" - }, - "792cb678f228": { - "name": "host-saved", - "ordinal": 5, - "value": "host-1" - }, - "7a3e4e5413b5": { - "outcome": "recovered", - "winner": { - "$rpc": "null" - } - }, - "7e1d80db076a": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - }, - "87db1a2d2066": { - "name": "journal-cleared", - "ordinal": 6, - "value": "recovery" - }, - "8e378786864c": { - "name": "candidate-closed", - "ordinal": 6, - "value": "relay" - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "9a184e27d5dd": { - "name": "pairing.getEndpoints#1", - "ordinal": 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" - } - } - } - }, - "9b3ec7c3761c": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - }, - "a0ee987f0809": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - } - }, - "bf06ca434842": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - }, - "bfa48ca31e25": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - }, - "c65c327025c8": { - "name": "pairing.getEndpoints#2", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "pairing.getEndpoints" - }, - { - "name": "params", - "value": { - "installReqId": "install-fixture-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c7269155f70c": { - "name": "journal-updated", - "ordinal": 3, - "value": "relay-basis" - }, - "c8a7c6e1a485": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": "deferred" - }, - "ca192b794d53": { - "name": "pairing.getEndpoints#2", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"pairing.getEndpoints\",\"params\":{\"installReqId\":\"install-fixture-1\"}}" - }, - "d39b9bb93741": { - "name": "pairing.getEndpoints#1", - "ordinal": 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 - } - } - }, - "f0723ea3ab16": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": "recovered" - } - }, - "recording": { - "scenario": "matrix-relay.pairing-recovery-pairing.getendpoints-1", - "checkpoints": [ - { - "id": "relay-pairing-recovery-resume-committed.normal:recovered-on-resume", - "observation": { - "sender": ["a0ee987f0809"], - "payloads": ["1020838fc104"], - "settlements": { - "recover": "f0723ea3ab16" - }, - "state": "7a3e4e5413b5", - "effects": [ - "c7269155f70c", - "4b87f8374959", - "792cb678f228", - "87db1a2d2066", - "6fd2524785ca" - ] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.result-absent:recovered-on-resume", - "observation": { - "sender": ["9b3ec7c3761c", "c65c327025c8"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "9270aeb7d9c6" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.result-absent:cleanup", - "observation": { - "sender": ["9b3ec7c3761c", "3fd37613d182"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "c8a7c6e1a485" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62", "8e378786864c"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.result-null:recovered-on-resume", - "observation": { - "sender": ["3e7ece78969e", "c65c327025c8"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "9270aeb7d9c6" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.result-null:cleanup", - "observation": { - "sender": ["3e7ece78969e", "3fd37613d182"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "c8a7c6e1a485" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62", "8e378786864c"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.inner-ok-missing:recovered-on-resume", - "observation": { - "sender": ["9a184e27d5dd", "c65c327025c8"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "9270aeb7d9c6" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.inner-ok-missing:cleanup", - "observation": { - "sender": ["9a184e27d5dd", "3fd37613d182"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "c8a7c6e1a485" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62", "8e378786864c"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.inner-false-string-error:recovered-on-resume", - "observation": { - "sender": ["51db29224055", "c65c327025c8"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "9270aeb7d9c6" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.inner-false-string-error:cleanup", - "observation": { - "sender": ["51db29224055", "3fd37613d182"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "c8a7c6e1a485" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62", "8e378786864c"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.inner-false-object-error:recovered-on-resume", - "observation": { - "sender": ["5c8a55122fd9", "c65c327025c8"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "9270aeb7d9c6" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.inner-false-object-error:cleanup", - "observation": { - "sender": ["5c8a55122fd9", "3fd37613d182"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "c8a7c6e1a485" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62", "8e378786864c"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.outer-refused:recovered-on-resume", - "observation": { - "sender": ["d39b9bb93741", "c65c327025c8"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "9270aeb7d9c6" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.outer-refused:cleanup", - "observation": { - "sender": ["d39b9bb93741", "3fd37613d182"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "c8a7c6e1a485" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62", "8e378786864c"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.outer-refused-no-message:recovered-on-resume", - "observation": { - "sender": ["23d8185ee5a0", "c65c327025c8"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "9270aeb7d9c6" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.outer-refused-no-message:cleanup", - "observation": { - "sender": ["23d8185ee5a0", "3fd37613d182"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "c8a7c6e1a485" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62", "8e378786864c"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.method-not-found:recovered-on-resume", - "observation": { - "sender": ["7e1d80db076a", "c65c327025c8"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "9270aeb7d9c6" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.method-not-found:cleanup", - "observation": { - "sender": ["7e1d80db076a", "3fd37613d182"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "c8a7c6e1a485" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62", "8e378786864c"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.transport-rejection:recovered-on-resume", - "observation": { - "sender": ["bfa48ca31e25", "c65c327025c8"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "9270aeb7d9c6" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.transport-rejection:cleanup", - "observation": { - "sender": ["bfa48ca31e25", "3fd37613d182"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "c8a7c6e1a485" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62", "8e378786864c"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.transport-rejection-no-message:recovered-on-resume", - "observation": { - "sender": ["bf06ca434842", "c65c327025c8"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "9270aeb7d9c6" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62"] - } - }, - { - "id": "relay-pairing-recovery-resume-committed.transport-rejection-no-message:cleanup", - "observation": { - "sender": ["bf06ca434842", "3fd37613d182"], - "payloads": ["1020838fc104", "ca192b794d53"], - "settlements": { - "recover": "c8a7c6e1a485" - }, - "state": "54c5309cac70", - "effects": ["5194e28c1a62", "8e378786864c"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.browser-tab-create-browser.tabcreate-1.json b/mobile/rpc-foundation/goldens/matrix-session.browser-tab-create-browser.tabcreate-1.json deleted file mode 100644 index 844586c01ce..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.browser-tab-create-browser.tabcreate-1.json +++ /dev/null @@ -1,654 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.content-create", - "family": "session.browser-tab-create", - "namedDeltas": [], - "values": { - "0126fcbbbea0": { - "name": "browser.tabCreate#1", - "ordinal": 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": { - "error": "inner refused", - "ok": false - } - } - } - }, - "0848f676dd74": { - "name": "browser.tabCreate#1", - "ordinal": 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": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "134e6545bfe5": { - "createError": "transport failure", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "1c09d93a111a": { - "name": "browser.tabCreate#1", - "ordinal": 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": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "1d5503a7e274": { - "name": "toast", - "ordinal": 3, - "value": { - "message": "Unknown method" - } - }, - "20aae2d43214": { - "name": "browser.tabCreate#1", - "ordinal": 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": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "4a842fa3c9c1": { - "name": "browser.tabCreate#1", - "ordinal": 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" - } - } - } - }, - "4c73134e473e": { - "name": "toast", - "ordinal": 3, - "value": { - "message": "outer refused" - } - }, - "6248a3dd0710": { - "name": "fetch-session-tabs", - "ordinal": 3, - "value": {} - }, - "6371ca02b18e": { - "createError": "outer refused", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "6e66950b7e8a": { - "name": "browser.tabCreate#1", - "ordinal": 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": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "7ed3d39f0607": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": false - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "8c04a4093021": { - "name": "browser.tabCreate#1", - "ordinal": 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": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "9744697e6cb8": { - "name": "toast", - "ordinal": 3, - "value": { - "message": "transport failure" - } - }, - "b562af7f460c": { - "createError": "The host sent a reply this app could not read (browser.tabCreate)", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "bdb961e7dfd9": { - "name": "browser.tabCreate#1", - "ordinal": 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": { - "error": "refused" - } - } - } - }, - "be54b0713eaa": { - "name": "toast", - "ordinal": 3, - "value": { - "message": "The host sent a reply this app could not read (browser.tabCreate)" - } - }, - "d574cdcd4bef": { - "createError": "", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "d9a882adde26": { - "name": "browser.tabCreate#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"browser.tabCreate\",\"params\":{\"worktree\":\"id:workspace-1\",\"url\":\"https://example.com/\",\"activate\":true}}" - }, - "dbd60af06eac": { - "name": "browser.tabCreate#1", - "ordinal": 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 - } - } - }, - "dfb723df461a": { - "name": "fetch-pending-browser-tabs", - "ordinal": 5, - "value": {} - }, - "e6b6cf30c6ee": { - "createError": "Unknown method", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "eda7d625e4b6": { - "name": "fetch-pending-browser-tabs", - "ordinal": 4, - "value": {} - }, - "f1e12d7f04c7": { - "createError": "", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": "page-1" - }, - "f308f4a0d416": { - "name": "toast", - "ordinal": 3, - "value": { - "message": "" - } - }, - "f8d713d84895": { - "name": "browser.tabCreate#1", - "ordinal": 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": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "fcc0356b0433": { - "name": "browser.tabCreate#1", - "ordinal": 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": { - "$rpc": "null" - } - } - } - } - }, - "recording": { - "scenario": "matrix-session.browser-tab-create-browser.tabcreate-1", - "checkpoints": [ - { - "id": "session-browser-tab-created.normal:created", - "observation": { - "sender": ["4a842fa3c9c1"], - "payloads": ["d9a882adde26"], - "settlements": { - "browser": "84e5ca07cb7a" - }, - "state": "f1e12d7f04c7", - "effects": ["6248a3dd0710", "eda7d625e4b6", "dfb723df461a"] - } - }, - { - "id": "session-browser-tab-created.result-absent:created", - "observation": { - "sender": ["dbd60af06eac"], - "payloads": ["d9a882adde26"], - "settlements": { - "browser": "7ed3d39f0607" - }, - "state": "b562af7f460c", - "effects": ["be54b0713eaa"] - } - }, - { - "id": "session-browser-tab-created.result-null:created", - "observation": { - "sender": ["fcc0356b0433"], - "payloads": ["d9a882adde26"], - "settlements": { - "browser": "7ed3d39f0607" - }, - "state": "b562af7f460c", - "effects": ["be54b0713eaa"] - } - }, - { - "id": "session-browser-tab-created.inner-ok-missing:created", - "observation": { - "sender": ["bdb961e7dfd9"], - "payloads": ["d9a882adde26"], - "settlements": { - "browser": "84e5ca07cb7a" - }, - "state": "d574cdcd4bef", - "effects": ["6248a3dd0710", "eda7d625e4b6", "dfb723df461a"] - } - }, - { - "id": "session-browser-tab-created.inner-false-string-error:created", - "observation": { - "sender": ["0126fcbbbea0"], - "payloads": ["d9a882adde26"], - "settlements": { - "browser": "84e5ca07cb7a" - }, - "state": "d574cdcd4bef", - "effects": ["6248a3dd0710", "eda7d625e4b6", "dfb723df461a"] - } - }, - { - "id": "session-browser-tab-created.inner-false-object-error:created", - "observation": { - "sender": ["20aae2d43214"], - "payloads": ["d9a882adde26"], - "settlements": { - "browser": "84e5ca07cb7a" - }, - "state": "d574cdcd4bef", - "effects": ["6248a3dd0710", "eda7d625e4b6", "dfb723df461a"] - } - }, - { - "id": "session-browser-tab-created.outer-refused:created", - "observation": { - "sender": ["1c09d93a111a"], - "payloads": ["d9a882adde26"], - "settlements": { - "browser": "7ed3d39f0607" - }, - "state": "6371ca02b18e", - "effects": ["4c73134e473e"] - } - }, - { - "id": "session-browser-tab-created.outer-refused-no-message:created", - "observation": { - "sender": ["0848f676dd74"], - "payloads": ["d9a882adde26"], - "settlements": { - "browser": "7ed3d39f0607" - }, - "state": "d574cdcd4bef", - "effects": ["f308f4a0d416"] - } - }, - { - "id": "session-browser-tab-created.method-not-found:created", - "observation": { - "sender": ["8c04a4093021"], - "payloads": ["d9a882adde26"], - "settlements": { - "browser": "7ed3d39f0607" - }, - "state": "e6b6cf30c6ee", - "effects": ["1d5503a7e274"] - } - }, - { - "id": "session-browser-tab-created.transport-rejection:created", - "observation": { - "sender": ["6e66950b7e8a"], - "payloads": ["d9a882adde26"], - "settlements": { - "browser": "7ed3d39f0607" - }, - "state": "134e6545bfe5", - "effects": ["9744697e6cb8"] - } - }, - { - "id": "session-browser-tab-created.transport-rejection-no-message:created", - "observation": { - "sender": ["f8d713d84895"], - "payloads": ["d9a882adde26"], - "settlements": { - "browser": "7ed3d39f0607" - }, - "state": "d574cdcd4bef", - "effects": ["f308f4a0d416"] - } - } - ] - } -} 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 deleted file mode 100644 index eb26d99252a..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.content-create-files.createfile-1.json +++ /dev/null @@ -1,754 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.content-create", - "family": "session.content-create", - "namedDeltas": [], - "values": { - "0a3eb4eb0d76": { - "name": "toast", - "ordinal": 7, - "value": { - "message": "outer refused" - } - }, - "10afb34c6c7d": { - "name": "toast", - "ordinal": 7, - "value": { - "message": "" - } - }, - "134e6545bfe5": { - "createError": "transport failure", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "346748202b33": { - "name": "files.createFile#1", - "ordinal": 5, - "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 - } - } - }, - "3e7bfd4c59c3": { - "name": "files.open#1", - "ordinal": 7, - "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 - } - } - } - }, - "492fb4de4e0b": { - "name": "files.createFile#1", - "ordinal": 5, - "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 - } - } - } - }, - "4e53935c13ac": { - "name": "worktree.show#1", - "ordinal": 3, - "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" - } - } - } - } - }, - "4e9c5ab0de1c": { - "name": "files.open#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\"}}" - }, - "531cf0fc5160": { - "name": "files.createFile#1", - "ordinal": 5, - "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 - } - } - }, - "56a224e1cf51": { - "name": "files.createFile#1", - "ordinal": 5, - "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 - } - } - }, - "596248862e38": { - "name": "files.createFile#1", - "ordinal": 5, - "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 - } - } - }, - "6371ca02b18e": { - "createError": "outer refused", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "6c233863352a": { - "name": "toast", - "ordinal": 7, - "value": { - "message": "transport failure" - } - }, - "858443742ca1": { - "createError": "Failed to create markdown note", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "88cebf9687b6": { - "name": "files.createFile#1", - "ordinal": 5, - "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" - } - } - } - }, - "a0713428426a": { - "name": "files.createFile#1", - "ordinal": 5, - "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 - } - } - }, - "a4f53f7fb1d7": { - "name": "fetch-session-tabs", - "ordinal": 9, - "value": {} - }, - "b5ae4bb70d31": { - "name": "files.createFile#1", - "ordinal": 5, - "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 - } - } - } - }, - "bd919d889adb": { - "name": "toast", - "ordinal": 7, - "value": { - "message": "Unknown method" - } - }, - "c924e7a5a7da": { - "name": "worktree.show#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" - }, - "c94e09bb4479": { - "name": "files.createFile#1", - "ordinal": 5, - "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 - } - } - } - }, - "d08f74d65ee6": { - "name": "status.get#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "d574cdcd4bef": { - "createError": "", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "e6b6cf30c6ee": { - "createError": "Unknown method", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "e81d3a627ac2": { - "name": "status.get#1", - "ordinal": 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"] - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ed4526541293": { - "name": "toast", - "ordinal": 7, - "value": { - "message": "Failed to create markdown note" - } - }, - "f1279bf9f173": { - "name": "files.createFile#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.createFile\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\",\"expectedExecutionHostId\":\"local\"}}" - }, - "fbc9292b5bf5": { - "name": "files.createFile#1", - "ordinal": 5, - "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" - } - } - } - }, - "fd2f58217e9a": { - "name": "files.createFile#1", - "ordinal": 5, - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-session.content-create-files.createfile-1", - "checkpoints": [ - { - "id": "session-create-markdown-note.normal:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "b5ae4bb70d31", "3e7bfd4c59c3"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["a4f53f7fb1d7"] - } - }, - { - "id": "session-create-markdown-note.result-absent:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "346748202b33", "3e7bfd4c59c3"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["a4f53f7fb1d7"] - } - }, - { - "id": "session-create-markdown-note.result-null:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "fbc9292b5bf5", "3e7bfd4c59c3"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["a4f53f7fb1d7"] - } - }, - { - "id": "session-create-markdown-note.inner-ok-missing:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "88cebf9687b6", "3e7bfd4c59c3"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["a4f53f7fb1d7"] - } - }, - { - "id": "session-create-markdown-note.inner-false-string-error:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "492fb4de4e0b", "3e7bfd4c59c3"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["a4f53f7fb1d7"] - } - }, - { - "id": "session-create-markdown-note.inner-false-object-error:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "c94e09bb4479", "3e7bfd4c59c3"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["a4f53f7fb1d7"] - } - }, - { - "id": "session-create-markdown-note.outer-refused:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "596248862e38"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "6371ca02b18e", - "effects": ["0a3eb4eb0d76"] - } - }, - { - "id": "session-create-markdown-note.outer-refused-no-message:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "56a224e1cf51"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "858443742ca1", - "effects": ["ed4526541293"] - } - }, - { - "id": "session-create-markdown-note.method-not-found:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "531cf0fc5160"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "e6b6cf30c6ee", - "effects": ["bd919d889adb"] - } - }, - { - "id": "session-create-markdown-note.transport-rejection:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "fd2f58217e9a"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "134e6545bfe5", - "effects": ["6c233863352a"] - } - }, - { - "id": "session-create-markdown-note.transport-rejection-no-message:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "a0713428426a"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["10afb34c6c7d"] - } - } - ] - } -} 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 deleted file mode 100644 index d6bb2cb426e..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.content-create-files.open-1.json +++ /dev/null @@ -1,729 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.content-create", - "family": "session.content-create", - "namedDeltas": [], - "values": { - "134e6545bfe5": { - "createError": "transport failure", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "3271b7d236c3": { - "name": "toast", - "ordinal": 9, - "value": { - "message": "outer refused" - } - }, - "3e7bfd4c59c3": { - "name": "files.open#1", - "ordinal": 7, - "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 - } - } - } - }, - "4e53935c13ac": { - "name": "worktree.show#1", - "ordinal": 3, - "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" - } - } - } - } - }, - "4e9c5ab0de1c": { - "name": "files.open#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\"}}" - }, - "5365baa016ad": { - "name": "files.open#1", - "ordinal": 7, - "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" - } - } - } - }, - "548c9c548b28": { - "name": "files.open#1", - "ordinal": 7, - "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 - } - } - }, - "6371ca02b18e": { - "createError": "outer refused", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "65a043b37a8f": { - "name": "files.open#1", - "ordinal": 7, - "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 - } - } - } - }, - "7086467ad3fd": { - "name": "files.open#1", - "ordinal": 7, - "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 - } - } - }, - "8aefc5f2e06c": { - "name": "toast", - "ordinal": 9, - "value": { - "message": "Unknown method" - } - }, - "8b9874bfa23d": { - "name": "files.open#1", - "ordinal": 7, - "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 - } - } - }, - "949c27a5660b": { - "name": "files.open#1", - "ordinal": 7, - "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" - } - } - } - }, - "98dd1f1b5115": { - "name": "toast", - "ordinal": 9, - "value": { - "message": "transport failure" - } - }, - "a4f53f7fb1d7": { - "name": "fetch-session-tabs", - "ordinal": 9, - "value": {} - }, - "a9f5a54c5062": { - "name": "files.open#1", - "ordinal": 7, - "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 - } - } - } - }, - "b5ae4bb70d31": { - "name": "files.createFile#1", - "ordinal": 5, - "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 - } - } - } - }, - "c924e7a5a7da": { - "name": "worktree.show#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" - }, - "d08f74d65ee6": { - "name": "status.get#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "d574cdcd4bef": { - "createError": "", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "de9b67d6e847": { - "name": "files.open#1", - "ordinal": 7, - "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 - } - } - }, - "df20a90c9233": { - "name": "files.open#1", - "ordinal": 7, - "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 - } - } - }, - "e6b6cf30c6ee": { - "createError": "Unknown method", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "e81d3a627ac2": { - "name": "status.get#1", - "ordinal": 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"] - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f1279bf9f173": { - "name": "files.createFile#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.createFile\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\",\"expectedExecutionHostId\":\"local\"}}" - }, - "f9234981386c": { - "name": "files.open#1", - "ordinal": 7, - "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 - } - } - }, - "fc4ebd20e8f0": { - "name": "toast", - "ordinal": 9, - "value": { - "message": "" - } - } - }, - "recording": { - "scenario": "matrix-session.content-create-files.open-1", - "checkpoints": [ - { - "id": "session-create-markdown-note.normal:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "b5ae4bb70d31", "3e7bfd4c59c3"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["a4f53f7fb1d7"] - } - }, - { - "id": "session-create-markdown-note.result-absent:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "b5ae4bb70d31", "7086467ad3fd"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["a4f53f7fb1d7"] - } - }, - { - "id": "session-create-markdown-note.result-null:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "b5ae4bb70d31", "5365baa016ad"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["a4f53f7fb1d7"] - } - }, - { - "id": "session-create-markdown-note.inner-ok-missing:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "b5ae4bb70d31", "949c27a5660b"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["a4f53f7fb1d7"] - } - }, - { - "id": "session-create-markdown-note.inner-false-string-error:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "b5ae4bb70d31", "a9f5a54c5062"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["a4f53f7fb1d7"] - } - }, - { - "id": "session-create-markdown-note.inner-false-object-error:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "b5ae4bb70d31", "65a043b37a8f"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["a4f53f7fb1d7"] - } - }, - { - "id": "session-create-markdown-note.outer-refused:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "b5ae4bb70d31", "de9b67d6e847"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "6371ca02b18e", - "effects": ["3271b7d236c3"] - } - }, - { - "id": "session-create-markdown-note.outer-refused-no-message:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "b5ae4bb70d31", "548c9c548b28"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["fc4ebd20e8f0"] - } - }, - { - "id": "session-create-markdown-note.method-not-found:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "b5ae4bb70d31", "df20a90c9233"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "e6b6cf30c6ee", - "effects": ["8aefc5f2e06c"] - } - }, - { - "id": "session-create-markdown-note.transport-rejection:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "b5ae4bb70d31", "8b9874bfa23d"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "134e6545bfe5", - "effects": ["98dd1f1b5115"] - } - }, - { - "id": "session-create-markdown-note.transport-rejection-no-message:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "b5ae4bb70d31", "f9234981386c"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["fc4ebd20e8f0"] - } - } - ] - } -} 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 deleted file mode 100644 index 93d0d8cd792..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.content-create-status.get-1.json +++ /dev/null @@ -1,749 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.content-create", - "family": "session.content-create", - "namedDeltas": [], - "values": { - "049e3dd3b1db": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "0fbf6809f292": { - "name": "status.get#1", - "ordinal": 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" - } - } - } - }, - "134e6545bfe5": { - "createError": "transport failure", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "1d5503a7e274": { - "name": "toast", - "ordinal": 3, - "value": { - "message": "Unknown method" - } - }, - "32afb7dc375d": { - "name": "toast", - "ordinal": 3, - "value": { - "message": "Remote file changes require a newer Orca server. Update the HUB and try again." - } - }, - "37185d7089db": { - "createError": "The host sent a reply this app could not read (status.get)", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "3e7bfd4c59c3": { - "name": "files.open#1", - "ordinal": 7, - "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 - } - } - } - }, - "4c73134e473e": { - "name": "toast", - "ordinal": 3, - "value": { - "message": "outer refused" - } - }, - "4e53935c13ac": { - "name": "worktree.show#1", - "ordinal": 3, - "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" - } - } - } - } - }, - "4e9c5ab0de1c": { - "name": "files.open#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\"}}" - }, - "6371ca02b18e": { - "createError": "outer refused", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "7799ca596f0c": { - "createError": "Remote file changes require a newer Orca server. Update the HUB and try again.", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "7f0419402be8": { - "name": "status.get#1", - "ordinal": 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 - } - } - } - }, - "9744697e6cb8": { - "name": "toast", - "ordinal": 3, - "value": { - "message": "transport failure" - } - }, - "a4f53f7fb1d7": { - "name": "fetch-session-tabs", - "ordinal": 9, - "value": {} - }, - "b5476ba1aabe": { - "name": "status.get#1", - "ordinal": 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 - } - } - } - }, - "b5ae4bb70d31": { - "name": "files.createFile#1", - "ordinal": 5, - "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 - } - } - } - }, - "b70aead0ffe8": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "bfe4c76a5071": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "c924e7a5a7da": { - "name": "worktree.show#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" - }, - "c98cb7e69921": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "d08f74d65ee6": { - "name": "status.get#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "d25576a14c57": { - "name": "toast", - "ordinal": 3, - "value": { - "message": "The host sent a reply this app could not read (status.get)" - } - }, - "d574cdcd4bef": { - "createError": "", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "e6b6cf30c6ee": { - "createError": "Unknown method", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "e81d3a627ac2": { - "name": "status.get#1", - "ordinal": 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"] - } - } - } - }, - "e852b360bd93": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f1279bf9f173": { - "name": "files.createFile#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.createFile\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\",\"expectedExecutionHostId\":\"local\"}}" - }, - "f308f4a0d416": { - "name": "toast", - "ordinal": 3, - "value": { - "message": "" - } - }, - "fa37fc8bfba3": { - "name": "status.get#1", - "ordinal": 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" - } - } - } - }, - "fa49f7da1267": { - "name": "status.get#1", - "ordinal": 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 - } - } - } - }, - "recording": { - "scenario": "matrix-session.content-create-status.get-1", - "checkpoints": [ - { - "id": "session-create-markdown-note.normal:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "b5ae4bb70d31", "3e7bfd4c59c3"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["a4f53f7fb1d7"] - } - }, - { - "id": "session-create-markdown-note.result-absent:created", - "observation": { - "sender": ["fa49f7da1267"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "37185d7089db", - "effects": ["d25576a14c57"] - } - }, - { - "id": "session-create-markdown-note.result-null:created", - "observation": { - "sender": ["fa37fc8bfba3"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "37185d7089db", - "effects": ["d25576a14c57"] - } - }, - { - "id": "session-create-markdown-note.inner-ok-missing:created", - "observation": { - "sender": ["0fbf6809f292"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "7799ca596f0c", - "effects": ["32afb7dc375d"] - } - }, - { - "id": "session-create-markdown-note.inner-false-string-error:created", - "observation": { - "sender": ["b5476ba1aabe"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "7799ca596f0c", - "effects": ["32afb7dc375d"] - } - }, - { - "id": "session-create-markdown-note.inner-false-object-error:created", - "observation": { - "sender": ["7f0419402be8"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "7799ca596f0c", - "effects": ["32afb7dc375d"] - } - }, - { - "id": "session-create-markdown-note.outer-refused:created", - "observation": { - "sender": ["b70aead0ffe8"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "6371ca02b18e", - "effects": ["4c73134e473e"] - } - }, - { - "id": "session-create-markdown-note.outer-refused-no-message:created", - "observation": { - "sender": ["bfe4c76a5071"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["f308f4a0d416"] - } - }, - { - "id": "session-create-markdown-note.method-not-found:created", - "observation": { - "sender": ["e852b360bd93"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "e6b6cf30c6ee", - "effects": ["1d5503a7e274"] - } - }, - { - "id": "session-create-markdown-note.transport-rejection:created", - "observation": { - "sender": ["c98cb7e69921"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "134e6545bfe5", - "effects": ["9744697e6cb8"] - } - }, - { - "id": "session-create-markdown-note.transport-rejection-no-message:created", - "observation": { - "sender": ["049e3dd3b1db"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["f308f4a0d416"] - } - } - ] - } -} 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 deleted file mode 100644 index 9dae41ebaf8..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.content-create-worktree.show-1.json +++ /dev/null @@ -1,749 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.content-create", - "family": "session.content-create", - "namedDeltas": [], - "values": { - "0d389bb9bac8": { - "name": "worktree.show#1", - "ordinal": 3, - "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" - } - } - } - }, - "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" - } - }, - "1d9a5cd13503": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - } - }, - "2edf2dc7f524": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - }, - "329c07f39178": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - }, - "37aff7a97a33": { - "createError": "The host sent a reply this app could not read (worktree.show)", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "3e7bfd4c59c3": { - "name": "files.open#1", - "ordinal": 7, - "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 - } - } - } - }, - "4601d0f6dc60": { - "name": "toast", - "ordinal": 5, - "value": { - "message": "Unknown method" - } - }, - "4e53935c13ac": { - "name": "worktree.show#1", - "ordinal": 3, - "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" - } - } - } - } - }, - "4e9c5ab0de1c": { - "name": "files.open#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"files.open\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\"}}" - }, - "5b0942040fc9": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - } - }, - "6371ca02b18e": { - "createError": "outer refused", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "67c0d38a9b95": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - }, - "7362b9ea7108": { - "name": "toast", - "ordinal": 5, - "value": { - "message": "outer refused" - } - }, - "75da1447b7ab": { - "name": "toast", - "ordinal": 5, - "value": { - "message": "Couldn't verify the SSH connection. Reconnect the host and try again." - } - }, - "84c6d4a53548": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - }, - "9dc70bb3c6c3": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - }, - "9e604bd17e60": { - "name": "worktree.show#1", - "ordinal": 3, - "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 - } - } - }, - "a4f53f7fb1d7": { - "name": "fetch-session-tabs", - "ordinal": 9, - "value": {} - }, - "a9cd52aa49ff": { - "name": "toast", - "ordinal": 5, - "value": { - "message": "transport failure" - } - }, - "b5ae4bb70d31": { - "name": "files.createFile#1", - "ordinal": 5, - "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 - } - } - } - }, - "c8d8aec2ecbb": { - "name": "worktree.show#1", - "ordinal": 3, - "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" - } - } - } - }, - "c924e7a5a7da": { - "name": "worktree.show#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" - }, - "d08f74d65ee6": { - "name": "status.get#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "d574cdcd4bef": { - "createError": "", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "d5e6e519e4a5": { - "name": "toast", - "ordinal": 5, - "value": { - "message": "The host sent a reply this app could not read (worktree.show)" - } - }, - "e2ba4604deae": { - "name": "toast", - "ordinal": 5, - "value": { - "message": "" - } - }, - "e6b6cf30c6ee": { - "createError": "Unknown method", - "creatingBrowser": false, - "creatingMarkdown": false, - "pendingBrowserFocusPageId": { - "$rpc": "null" - } - }, - "e81d3a627ac2": { - "name": "status.get#1", - "ordinal": 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"] - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f1279bf9f173": { - "name": "files.createFile#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"files.createFile\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"untitled.md\",\"expectedExecutionHostId\":\"local\"}}" - } - }, - "recording": { - "scenario": "matrix-session.content-create-worktree.show-1", - "checkpoints": [ - { - "id": "session-create-markdown-note.normal:created", - "observation": { - "sender": ["e81d3a627ac2", "4e53935c13ac", "b5ae4bb70d31", "3e7bfd4c59c3"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da", "f1279bf9f173", "4e9c5ab0de1c"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["a4f53f7fb1d7"] - } - }, - { - "id": "session-create-markdown-note.result-absent:created", - "observation": { - "sender": ["e81d3a627ac2", "2edf2dc7f524"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "37aff7a97a33", - "effects": ["d5e6e519e4a5"] - } - }, - { - "id": "session-create-markdown-note.result-null:created", - "observation": { - "sender": ["e81d3a627ac2", "c8d8aec2ecbb"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "37aff7a97a33", - "effects": ["d5e6e519e4a5"] - } - }, - { - "id": "session-create-markdown-note.inner-ok-missing:created", - "observation": { - "sender": ["e81d3a627ac2", "0d389bb9bac8"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "0f19e340663d", - "effects": ["75da1447b7ab"] - } - }, - { - "id": "session-create-markdown-note.inner-false-string-error:created", - "observation": { - "sender": ["e81d3a627ac2", "5b0942040fc9"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "0f19e340663d", - "effects": ["75da1447b7ab"] - } - }, - { - "id": "session-create-markdown-note.inner-false-object-error:created", - "observation": { - "sender": ["e81d3a627ac2", "1d9a5cd13503"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "0f19e340663d", - "effects": ["75da1447b7ab"] - } - }, - { - "id": "session-create-markdown-note.outer-refused:created", - "observation": { - "sender": ["e81d3a627ac2", "84c6d4a53548"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "6371ca02b18e", - "effects": ["7362b9ea7108"] - } - }, - { - "id": "session-create-markdown-note.outer-refused-no-message:created", - "observation": { - "sender": ["e81d3a627ac2", "67c0d38a9b95"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["e2ba4604deae"] - } - }, - { - "id": "session-create-markdown-note.method-not-found:created", - "observation": { - "sender": ["e81d3a627ac2", "329c07f39178"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "e6b6cf30c6ee", - "effects": ["4601d0f6dc60"] - } - }, - { - "id": "session-create-markdown-note.transport-rejection:created", - "observation": { - "sender": ["e81d3a627ac2", "9dc70bb3c6c3"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "134e6545bfe5", - "effects": ["a9cd52aa49ff"] - } - }, - { - "id": "session-create-markdown-note.transport-rejection-no-message:created", - "observation": { - "sender": ["e81d3a627ac2", "9e604bd17e60"], - "payloads": ["d08f74d65ee6", "c924e7a5a7da"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d574cdcd4bef", - "effects": ["e2ba4604deae"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.create-terminal-session.tabs.createterminal-1.json b/mobile/rpc-foundation/goldens/matrix-session.create-terminal-session.tabs.createterminal-1.json deleted file mode 100644 index 70aa121767c..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.create-terminal-session.tabs.createterminal-1.json +++ /dev/null @@ -1,1185 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.create-terminal", - "family": "session.create-terminal", - "namedDeltas": [], - "values": { - "2977cbddd89f": { - "name": "session.tabs.createTerminal#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "session.tabs.createTerminal" - }, - { - "name": "params", - "value": { - "activate": false, - "afterTabId": "tab-0", - "clientMutationId": "mobile-create:mjuohs00-8ig2hens", - "navigation": "caller", - "select": true, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "tab": { - "id": "tab-1", - "isActive": true, - "terminal": "terminal-1", - "title": "zsh", - "type": "terminal" - } - } - } - } - }, - "2ae1c681a443": { - "activeHandle": "terminal-0", - "activeSessionTabId": "tab-0", - "createError": "outer refused", - "creating": false, - "initializedHandles": ["terminal-0"], - "pendingSelection": { - "$rpc": "null" - }, - "sessionTabs": [], - "terminals": [] - }, - "3ac1092997d5": { - "name": "toast", - "ordinal": 3, - "value": { - "durationMs": 1800, - "message": "The host sent a reply this app could not read (session.tabs.createTerminal)" - } - }, - "3ad31e99d9a0": { - "name": "toast", - "ordinal": 3, - "value": { - "durationMs": 1800, - "message": "Unknown method" - } - }, - "3c6e5a949be0": { - "name": "toast", - "ordinal": 3, - "value": { - "durationMs": 1800, - "message": "outer refused" - } - }, - "4694ea73188a": { - "name": "session.tabs.createTerminal#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "session.tabs.createTerminal" - }, - { - "name": "params", - "value": { - "activate": false, - "afterTabId": "tab-0", - "clientMutationId": "mobile-create:mjuohs00-8ig2hens", - "navigation": "caller", - "select": 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" - } - } - } - }, - "4d318de3b635": { - "name": "unsubscribe-terminal", - "ordinal": 3, - "value": { - "handle": "terminal-0" - } - }, - "4e377b1c4bf7": { - "activeHandle": "terminal-1", - "activeSessionTabId": "tab-1", - "createError": "", - "creating": false, - "initializedHandles": [], - "pendingSelection": { - "handle": "terminal-1", - "kind": "terminal", - "tabId": "tab-1" - }, - "sessionTabs": ["tab-1"], - "terminals": ["terminal-1"] - }, - "579afe83429e": { - "name": "terminal.send#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"review these notes\",\"enter\":true,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" - }, - "6275ace50da2": { - "activeHandle": "terminal-0", - "activeSessionTabId": "tab-0", - "createError": "", - "creating": true, - "initializedHandles": ["terminal-0"], - "pendingSelection": { - "$rpc": "null" - }, - "sessionTabs": [], - "terminals": [] - }, - "6fa87a2b13b0": { - "name": "session.tabs.createTerminal#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "session.tabs.createTerminal" - }, - { - "name": "params", - "value": { - "activate": false, - "afterTabId": "tab-0", - "clientMutationId": "mobile-create:mjuohs00-8ig2hens", - "navigation": "caller", - "select": true, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "76f2a4b2872b": { - "activeHandle": "terminal-0", - "activeSessionTabId": "tab-0", - "createError": "The host sent a reply this app could not read (session.tabs.createTerminal)", - "creating": false, - "initializedHandles": ["terminal-0"], - "pendingSelection": { - "$rpc": "null" - }, - "sessionTabs": [], - "terminals": [] - }, - "8b3dd0429232": { - "name": "session.tabs.createTerminal#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "session.tabs.createTerminal" - }, - { - "name": "params", - "value": { - "activate": false, - "afterTabId": "tab-0", - "clientMutationId": "mobile-create:mjuohs00-8ig2hens", - "navigation": "caller", - "select": 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 - } - } - }, - "8b5144e3301d": { - "name": "schedule-delayed-action", - "ordinal": 6, - "value": { - "delayMs": 500 - } - }, - "8c66ae259b06": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": true, - "terminal": "terminal-1", - "text": "review these notes" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8f0866d24e4b": { - "name": "session.tabs.createTerminal#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "session.tabs.createTerminal" - }, - { - "name": "params", - "value": { - "activate": false, - "afterTabId": "tab-0", - "clientMutationId": "mobile-create:mjuohs00-8ig2hens", - "navigation": "caller", - "select": 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 - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "96cb96f54156": { - "activeHandle": "terminal-0", - "activeSessionTabId": "tab-0", - "createError": "transport failure", - "creating": false, - "initializedHandles": ["terminal-0"], - "pendingSelection": { - "$rpc": "null" - }, - "sessionTabs": [], - "terminals": [] - }, - "a4f53f7fb1d7": { - "name": "fetch-session-tabs", - "ordinal": 9, - "value": {} - }, - "a9d892293481": { - "activeHandle": "terminal-0", - "activeSessionTabId": "tab-0", - "createError": "Couldn't run Notes", - "creating": false, - "initializedHandles": ["terminal-0"], - "pendingSelection": { - "$rpc": "null" - }, - "sessionTabs": [], - "terminals": [] - }, - "b1152db10a02": { - "name": "toast", - "ordinal": 3, - "value": { - "durationMs": 1800, - "message": "Couldn't run Notes" - } - }, - "b1d637072fc8": { - "name": "session.tabs.createTerminal#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "session.tabs.createTerminal" - }, - { - "name": "params", - "value": { - "activate": false, - "afterTabId": "tab-0", - "clientMutationId": "mobile-create:mjuohs00-8ig2hens", - "navigation": "caller", - "select": true, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "b67f7950d99d": { - "name": "toast", - "ordinal": 3, - "value": { - "durationMs": 1800, - "message": "transport failure" - } - }, - "c782be200006": { - "name": "session.tabs.createTerminal#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "session.tabs.createTerminal" - }, - { - "name": "params", - "value": { - "activate": false, - "afterTabId": "tab-0", - "clientMutationId": "mobile-create:mjuohs00-8ig2hens", - "navigation": "caller", - "select": 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" - } - } - } - }, - "c7d566363ba2": { - "name": "session.tabs.createTerminal#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "session.tabs.createTerminal" - }, - { - "name": "params", - "value": { - "activate": false, - "afterTabId": "tab-0", - "clientMutationId": "mobile-create:mjuohs00-8ig2hens", - "navigation": "caller", - "select": 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 - } - } - }, - "c9f8d8917777": { - "name": "subscribe-terminal", - "ordinal": 4, - "value": { - "handle": "terminal-1" - } - }, - "cc673665ea16": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": true, - "terminal": "terminal-1", - "text": "review these notes" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - }, - "cce8a731064a": { - "name": "session.tabs.createTerminal#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:wt-1\",\"afterTabId\":\"tab-0\",\"clientMutationId\":\"mobile-create:mjuohs00-8ig2hens\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}" - }, - "cf7e2c3136b3": { - "name": "toast", - "ordinal": 8, - "value": { - "durationMs": { - "$rpc": "null" - }, - "message": "Notes sent" - } - }, - "d6dddfd9c6a4": { - "activeHandle": "terminal-0", - "activeSessionTabId": "tab-0", - "createError": "Unknown method", - "creating": false, - "initializedHandles": ["terminal-0"], - "pendingSelection": { - "$rpc": "null" - }, - "sessionTabs": [], - "terminals": [] - }, - "e2d79cdd3808": { - "name": "session.tabs.createTerminal#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "session.tabs.createTerminal" - }, - { - "name": "params", - "value": { - "activate": false, - "afterTabId": "tab-0", - "clientMutationId": "mobile-create:mjuohs00-8ig2hens", - "navigation": "caller", - "select": 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 - } - } - }, - "e5f7b12b349b": { - "name": "session.tabs.createTerminal#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "session.tabs.createTerminal" - }, - { - "name": "params", - "value": { - "activate": false, - "afterTabId": "tab-0", - "clientMutationId": "mobile-create:mjuohs00-8ig2hens", - "navigation": "caller", - "select": true, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "e85ea9e4c04a": { - "name": "session.tabs.createTerminal#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "session.tabs.createTerminal" - }, - { - "name": "params", - "value": { - "activate": false, - "afterTabId": "tab-0", - "clientMutationId": "mobile-create:mjuohs00-8ig2hens", - "navigation": "caller", - "select": 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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ecb376c867f9": { - "name": "session.tabs.createTerminal#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "session.tabs.createTerminal" - }, - { - "name": "params", - "value": { - "activate": false, - "afterTabId": "tab-0", - "clientMutationId": "mobile-create:mjuohs00-8ig2hens", - "navigation": "caller", - "select": 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 - } - } - } - } - }, - "recording": { - "scenario": "matrix-session.create-terminal-session.tabs.createterminal-1", - "checkpoints": [ - { - "id": "session-create-terminal-with-prompt.prelude:creating", - "observation": { - "sender": ["b1d637072fc8"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "9270aeb7d9c6" - }, - "state": "6275ace50da2", - "effects": [] - } - }, - { - "id": "session-create-terminal-with-prompt.normal:created", - "observation": { - "sender": ["2977cbddd89f", "8c66ae259b06"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": ["4d318de3b635", "c9f8d8917777", "8b5144e3301d"] - } - }, - { - "id": "session-create-terminal-with-prompt.normal:prompt-sent", - "observation": { - "sender": ["2977cbddd89f", "cc673665ea16"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": ["4d318de3b635", "c9f8d8917777", "8b5144e3301d", "cf7e2c3136b3"] - } - }, - { - "id": "session-create-terminal-with-prompt.normal:tabs-refreshed", - "observation": { - "sender": ["2977cbddd89f", "cc673665ea16"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": [ - "4d318de3b635", - "c9f8d8917777", - "8b5144e3301d", - "cf7e2c3136b3", - "a4f53f7fb1d7" - ] - } - }, - { - "id": "session-create-terminal-with-prompt.result-absent:created", - "observation": { - "sender": ["e5f7b12b349b"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "76f2a4b2872b", - "effects": ["3ac1092997d5"] - } - }, - { - "id": "session-create-terminal-with-prompt.result-absent:prompt-sent", - "observation": { - "sender": ["e5f7b12b349b"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "76f2a4b2872b", - "effects": ["3ac1092997d5"] - } - }, - { - "id": "session-create-terminal-with-prompt.result-absent:tabs-refreshed", - "observation": { - "sender": ["e5f7b12b349b"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "76f2a4b2872b", - "effects": ["3ac1092997d5"] - } - }, - { - "id": "session-create-terminal-with-prompt.result-null:created", - "observation": { - "sender": ["c782be200006"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "76f2a4b2872b", - "effects": ["3ac1092997d5"] - } - }, - { - "id": "session-create-terminal-with-prompt.result-null:prompt-sent", - "observation": { - "sender": ["c782be200006"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "76f2a4b2872b", - "effects": ["3ac1092997d5"] - } - }, - { - "id": "session-create-terminal-with-prompt.result-null:tabs-refreshed", - "observation": { - "sender": ["c782be200006"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "76f2a4b2872b", - "effects": ["3ac1092997d5"] - } - }, - { - "id": "session-create-terminal-with-prompt.inner-ok-missing:created", - "observation": { - "sender": ["4694ea73188a"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "76f2a4b2872b", - "effects": ["3ac1092997d5"] - } - }, - { - "id": "session-create-terminal-with-prompt.inner-ok-missing:prompt-sent", - "observation": { - "sender": ["4694ea73188a"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "76f2a4b2872b", - "effects": ["3ac1092997d5"] - } - }, - { - "id": "session-create-terminal-with-prompt.inner-ok-missing:tabs-refreshed", - "observation": { - "sender": ["4694ea73188a"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "76f2a4b2872b", - "effects": ["3ac1092997d5"] - } - }, - { - "id": "session-create-terminal-with-prompt.inner-false-string-error:created", - "observation": { - "sender": ["8f0866d24e4b"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "76f2a4b2872b", - "effects": ["3ac1092997d5"] - } - }, - { - "id": "session-create-terminal-with-prompt.inner-false-string-error:prompt-sent", - "observation": { - "sender": ["8f0866d24e4b"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "76f2a4b2872b", - "effects": ["3ac1092997d5"] - } - }, - { - "id": "session-create-terminal-with-prompt.inner-false-string-error:tabs-refreshed", - "observation": { - "sender": ["8f0866d24e4b"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "76f2a4b2872b", - "effects": ["3ac1092997d5"] - } - }, - { - "id": "session-create-terminal-with-prompt.inner-false-object-error:created", - "observation": { - "sender": ["ecb376c867f9"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "76f2a4b2872b", - "effects": ["3ac1092997d5"] - } - }, - { - "id": "session-create-terminal-with-prompt.inner-false-object-error:prompt-sent", - "observation": { - "sender": ["ecb376c867f9"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "76f2a4b2872b", - "effects": ["3ac1092997d5"] - } - }, - { - "id": "session-create-terminal-with-prompt.inner-false-object-error:tabs-refreshed", - "observation": { - "sender": ["ecb376c867f9"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "76f2a4b2872b", - "effects": ["3ac1092997d5"] - } - }, - { - "id": "session-create-terminal-with-prompt.outer-refused:created", - "observation": { - "sender": ["e85ea9e4c04a"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "2ae1c681a443", - "effects": ["3c6e5a949be0"] - } - }, - { - "id": "session-create-terminal-with-prompt.outer-refused:prompt-sent", - "observation": { - "sender": ["e85ea9e4c04a"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "2ae1c681a443", - "effects": ["3c6e5a949be0"] - } - }, - { - "id": "session-create-terminal-with-prompt.outer-refused:tabs-refreshed", - "observation": { - "sender": ["e85ea9e4c04a"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "2ae1c681a443", - "effects": ["3c6e5a949be0"] - } - }, - { - "id": "session-create-terminal-with-prompt.outer-refused-no-message:created", - "observation": { - "sender": ["c7d566363ba2"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "a9d892293481", - "effects": ["b1152db10a02"] - } - }, - { - "id": "session-create-terminal-with-prompt.outer-refused-no-message:prompt-sent", - "observation": { - "sender": ["c7d566363ba2"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "a9d892293481", - "effects": ["b1152db10a02"] - } - }, - { - "id": "session-create-terminal-with-prompt.outer-refused-no-message:tabs-refreshed", - "observation": { - "sender": ["c7d566363ba2"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "a9d892293481", - "effects": ["b1152db10a02"] - } - }, - { - "id": "session-create-terminal-with-prompt.method-not-found:created", - "observation": { - "sender": ["8b3dd0429232"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "d6dddfd9c6a4", - "effects": ["3ad31e99d9a0"] - } - }, - { - "id": "session-create-terminal-with-prompt.method-not-found:prompt-sent", - "observation": { - "sender": ["8b3dd0429232"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "d6dddfd9c6a4", - "effects": ["3ad31e99d9a0"] - } - }, - { - "id": "session-create-terminal-with-prompt.method-not-found:tabs-refreshed", - "observation": { - "sender": ["8b3dd0429232"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "d6dddfd9c6a4", - "effects": ["3ad31e99d9a0"] - } - }, - { - "id": "session-create-terminal-with-prompt.transport-rejection:created", - "observation": { - "sender": ["e2d79cdd3808"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "96cb96f54156", - "effects": ["b67f7950d99d"] - } - }, - { - "id": "session-create-terminal-with-prompt.transport-rejection:prompt-sent", - "observation": { - "sender": ["e2d79cdd3808"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "96cb96f54156", - "effects": ["b67f7950d99d"] - } - }, - { - "id": "session-create-terminal-with-prompt.transport-rejection:tabs-refreshed", - "observation": { - "sender": ["e2d79cdd3808"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "96cb96f54156", - "effects": ["b67f7950d99d"] - } - }, - { - "id": "session-create-terminal-with-prompt.transport-rejection-no-message:created", - "observation": { - "sender": ["6fa87a2b13b0"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "a9d892293481", - "effects": ["b1152db10a02"] - } - }, - { - "id": "session-create-terminal-with-prompt.transport-rejection-no-message:prompt-sent", - "observation": { - "sender": ["6fa87a2b13b0"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "a9d892293481", - "effects": ["b1152db10a02"] - } - }, - { - "id": "session-create-terminal-with-prompt.transport-rejection-no-message:tabs-refreshed", - "observation": { - "sender": ["6fa87a2b13b0"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "a9d892293481", - "effects": ["b1152db10a02"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.create-terminal-terminal.send-1.json b/mobile/rpc-foundation/goldens/matrix-session.create-terminal-terminal.send-1.json deleted file mode 100644 index a22f84554e8..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.create-terminal-terminal.send-1.json +++ /dev/null @@ -1,1084 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.create-terminal", - "family": "session.create-terminal", - "namedDeltas": [], - "values": { - "2977cbddd89f": { - "name": "session.tabs.createTerminal#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "session.tabs.createTerminal" - }, - { - "name": "params", - "value": { - "activate": false, - "afterTabId": "tab-0", - "clientMutationId": "mobile-create:mjuohs00-8ig2hens", - "navigation": "caller", - "select": true, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "tab": { - "id": "tab-1", - "isActive": true, - "terminal": "terminal-1", - "title": "zsh", - "type": "terminal" - } - } - } - } - }, - "337087deb400": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": true, - "terminal": "terminal-1", - "text": "review these notes" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "34cca07a9ad9": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": true, - "terminal": "terminal-1", - "text": "review these notes" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "49bb01c35352": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": true, - "terminal": "terminal-1", - "text": "review these notes" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "4d318de3b635": { - "name": "unsubscribe-terminal", - "ordinal": 3, - "value": { - "handle": "terminal-0" - } - }, - "4e377b1c4bf7": { - "activeHandle": "terminal-1", - "activeSessionTabId": "tab-1", - "createError": "", - "creating": false, - "initializedHandles": [], - "pendingSelection": { - "handle": "terminal-1", - "kind": "terminal", - "tabId": "tab-1" - }, - "sessionTabs": ["tab-1"], - "terminals": ["terminal-1"] - }, - "579afe83429e": { - "name": "terminal.send#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"review these notes\",\"enter\":true,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" - }, - "598c8153b60e": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": true, - "terminal": "terminal-1", - "text": "review these notes" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "6275ace50da2": { - "activeHandle": "terminal-0", - "activeSessionTabId": "tab-0", - "createError": "", - "creating": true, - "initializedHandles": ["terminal-0"], - "pendingSelection": { - "$rpc": "null" - }, - "sessionTabs": [], - "terminals": [] - }, - "63e25e179e21": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": true, - "terminal": "terminal-1", - "text": "review these notes" - } - }, - { - "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 - } - } - } - }, - "6e5b6c58c8f5": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": true, - "terminal": "terminal-1", - "text": "review these notes" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "7851f16cf299": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": true, - "terminal": "terminal-1", - "text": "review these notes" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "80b64ee84b49": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": true, - "terminal": "terminal-1", - "text": "review these notes" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "847b3c8a85e3": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": true, - "terminal": "terminal-1", - "text": "review these notes" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "8a33e625c65f": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": true, - "terminal": "terminal-1", - "text": "review these notes" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "8b5144e3301d": { - "name": "schedule-delayed-action", - "ordinal": 6, - "value": { - "delayMs": 500 - } - }, - "8c66ae259b06": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": true, - "terminal": "terminal-1", - "text": "review these notes" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "a4f53f7fb1d7": { - "name": "fetch-session-tabs", - "ordinal": 9, - "value": {} - }, - "b1d637072fc8": { - "name": "session.tabs.createTerminal#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "session.tabs.createTerminal" - }, - { - "name": "params", - "value": { - "activate": false, - "afterTabId": "tab-0", - "clientMutationId": "mobile-create:mjuohs00-8ig2hens", - "navigation": "caller", - "select": true, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c5a8602b13b8": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": true, - "terminal": "terminal-1", - "text": "review these notes" - } - }, - { - "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 - } - } - }, - "c9f8d8917777": { - "name": "subscribe-terminal", - "ordinal": 4, - "value": { - "handle": "terminal-1" - } - }, - "cc673665ea16": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": true, - "terminal": "terminal-1", - "text": "review these notes" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - }, - "cce8a731064a": { - "name": "session.tabs.createTerminal#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.createTerminal\",\"params\":{\"worktree\":\"id:wt-1\",\"afterTabId\":\"tab-0\",\"clientMutationId\":\"mobile-create:mjuohs00-8ig2hens\",\"activate\":false,\"select\":true,\"navigation\":\"caller\"}}" - }, - "cf7e2c3136b3": { - "name": "toast", - "ordinal": 8, - "value": { - "durationMs": { - "$rpc": "null" - }, - "message": "Notes sent" - } - }, - "d7699f0ddc9f": { - "name": "toast", - "ordinal": 8, - "value": { - "durationMs": 1800, - "message": "Couldn't run Notes" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-session.create-terminal-terminal.send-1", - "checkpoints": [ - { - "id": "session-create-terminal-with-prompt.prelude:creating", - "observation": { - "sender": ["b1d637072fc8"], - "payloads": ["cce8a731064a"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "9270aeb7d9c6" - }, - "state": "6275ace50da2", - "effects": [] - } - }, - { - "id": "session-create-terminal-with-prompt.prelude:created", - "observation": { - "sender": ["2977cbddd89f", "8c66ae259b06"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": ["4d318de3b635", "c9f8d8917777", "8b5144e3301d"] - } - }, - { - "id": "session-create-terminal-with-prompt.prelude:cleanup", - "observation": { - "sender": ["2977cbddd89f", "337087deb400"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": ["4d318de3b635", "c9f8d8917777", "8b5144e3301d", "d7699f0ddc9f"] - } - }, - { - "id": "session-create-terminal-with-prompt.normal:prompt-sent", - "observation": { - "sender": ["2977cbddd89f", "cc673665ea16"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": ["4d318de3b635", "c9f8d8917777", "8b5144e3301d", "cf7e2c3136b3"] - } - }, - { - "id": "session-create-terminal-with-prompt.normal:tabs-refreshed", - "observation": { - "sender": ["2977cbddd89f", "cc673665ea16"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": [ - "4d318de3b635", - "c9f8d8917777", - "8b5144e3301d", - "cf7e2c3136b3", - "a4f53f7fb1d7" - ] - } - }, - { - "id": "session-create-terminal-with-prompt.result-absent:prompt-sent", - "observation": { - "sender": ["2977cbddd89f", "49bb01c35352"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": ["4d318de3b635", "c9f8d8917777", "8b5144e3301d", "d7699f0ddc9f"] - } - }, - { - "id": "session-create-terminal-with-prompt.result-absent:tabs-refreshed", - "observation": { - "sender": ["2977cbddd89f", "49bb01c35352"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": [ - "4d318de3b635", - "c9f8d8917777", - "8b5144e3301d", - "d7699f0ddc9f", - "a4f53f7fb1d7" - ] - } - }, - { - "id": "session-create-terminal-with-prompt.result-null:prompt-sent", - "observation": { - "sender": ["2977cbddd89f", "34cca07a9ad9"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": ["4d318de3b635", "c9f8d8917777", "8b5144e3301d", "d7699f0ddc9f"] - } - }, - { - "id": "session-create-terminal-with-prompt.result-null:tabs-refreshed", - "observation": { - "sender": ["2977cbddd89f", "34cca07a9ad9"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": [ - "4d318de3b635", - "c9f8d8917777", - "8b5144e3301d", - "d7699f0ddc9f", - "a4f53f7fb1d7" - ] - } - }, - { - "id": "session-create-terminal-with-prompt.inner-ok-missing:prompt-sent", - "observation": { - "sender": ["2977cbddd89f", "8a33e625c65f"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": ["4d318de3b635", "c9f8d8917777", "8b5144e3301d", "cf7e2c3136b3"] - } - }, - { - "id": "session-create-terminal-with-prompt.inner-ok-missing:tabs-refreshed", - "observation": { - "sender": ["2977cbddd89f", "8a33e625c65f"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": [ - "4d318de3b635", - "c9f8d8917777", - "8b5144e3301d", - "cf7e2c3136b3", - "a4f53f7fb1d7" - ] - } - }, - { - "id": "session-create-terminal-with-prompt.inner-false-string-error:prompt-sent", - "observation": { - "sender": ["2977cbddd89f", "598c8153b60e"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": ["4d318de3b635", "c9f8d8917777", "8b5144e3301d", "cf7e2c3136b3"] - } - }, - { - "id": "session-create-terminal-with-prompt.inner-false-string-error:tabs-refreshed", - "observation": { - "sender": ["2977cbddd89f", "598c8153b60e"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": [ - "4d318de3b635", - "c9f8d8917777", - "8b5144e3301d", - "cf7e2c3136b3", - "a4f53f7fb1d7" - ] - } - }, - { - "id": "session-create-terminal-with-prompt.inner-false-object-error:prompt-sent", - "observation": { - "sender": ["2977cbddd89f", "63e25e179e21"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": ["4d318de3b635", "c9f8d8917777", "8b5144e3301d", "cf7e2c3136b3"] - } - }, - { - "id": "session-create-terminal-with-prompt.inner-false-object-error:tabs-refreshed", - "observation": { - "sender": ["2977cbddd89f", "63e25e179e21"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": [ - "4d318de3b635", - "c9f8d8917777", - "8b5144e3301d", - "cf7e2c3136b3", - "a4f53f7fb1d7" - ] - } - }, - { - "id": "session-create-terminal-with-prompt.outer-refused:prompt-sent", - "observation": { - "sender": ["2977cbddd89f", "80b64ee84b49"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": ["4d318de3b635", "c9f8d8917777", "8b5144e3301d", "d7699f0ddc9f"] - } - }, - { - "id": "session-create-terminal-with-prompt.outer-refused:tabs-refreshed", - "observation": { - "sender": ["2977cbddd89f", "80b64ee84b49"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": [ - "4d318de3b635", - "c9f8d8917777", - "8b5144e3301d", - "d7699f0ddc9f", - "a4f53f7fb1d7" - ] - } - }, - { - "id": "session-create-terminal-with-prompt.outer-refused-no-message:prompt-sent", - "observation": { - "sender": ["2977cbddd89f", "6e5b6c58c8f5"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": ["4d318de3b635", "c9f8d8917777", "8b5144e3301d", "d7699f0ddc9f"] - } - }, - { - "id": "session-create-terminal-with-prompt.outer-refused-no-message:tabs-refreshed", - "observation": { - "sender": ["2977cbddd89f", "6e5b6c58c8f5"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": [ - "4d318de3b635", - "c9f8d8917777", - "8b5144e3301d", - "d7699f0ddc9f", - "a4f53f7fb1d7" - ] - } - }, - { - "id": "session-create-terminal-with-prompt.method-not-found:prompt-sent", - "observation": { - "sender": ["2977cbddd89f", "c5a8602b13b8"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": ["4d318de3b635", "c9f8d8917777", "8b5144e3301d", "d7699f0ddc9f"] - } - }, - { - "id": "session-create-terminal-with-prompt.method-not-found:tabs-refreshed", - "observation": { - "sender": ["2977cbddd89f", "c5a8602b13b8"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": [ - "4d318de3b635", - "c9f8d8917777", - "8b5144e3301d", - "d7699f0ddc9f", - "a4f53f7fb1d7" - ] - } - }, - { - "id": "session-create-terminal-with-prompt.transport-rejection:prompt-sent", - "observation": { - "sender": ["2977cbddd89f", "847b3c8a85e3"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": ["4d318de3b635", "c9f8d8917777", "8b5144e3301d", "d7699f0ddc9f"] - } - }, - { - "id": "session-create-terminal-with-prompt.transport-rejection:tabs-refreshed", - "observation": { - "sender": ["2977cbddd89f", "847b3c8a85e3"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": [ - "4d318de3b635", - "c9f8d8917777", - "8b5144e3301d", - "d7699f0ddc9f", - "a4f53f7fb1d7" - ] - } - }, - { - "id": "session-create-terminal-with-prompt.transport-rejection-no-message:prompt-sent", - "observation": { - "sender": ["2977cbddd89f", "7851f16cf299"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": ["4d318de3b635", "c9f8d8917777", "8b5144e3301d", "d7699f0ddc9f"] - } - }, - { - "id": "session-create-terminal-with-prompt.transport-rejection-no-message:tabs-refreshed", - "observation": { - "sender": ["2977cbddd89f", "7851f16cf299"], - "payloads": ["cce8a731064a", "579afe83429e"], - "settlements": { - "mount": "eb79a9b3682a", - "create": "eb79a9b3682a" - }, - "state": "4e377b1c4bf7", - "effects": [ - "4d318de3b635", - "c9f8d8917777", - "8b5144e3301d", - "d7699f0ddc9f", - "a4f53f7fb1d7" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 62160c72758..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.diff-notes-worktree.show-1.json +++ /dev/null @@ -1,589 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.diff-notes", - "family": "session.diff-notes", - "namedDeltas": [], - "values": { - "194b8cd56a74": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:workspace-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "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" - } - ] - } - } - } - } - }, - "1b52e707bbff": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:workspace-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "270b4ca66aa7": { - "name": "worktree.show#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:workspace-1\"}}" - }, - "3431fb3e9b93": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:workspace-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "432aeb4f1709": { - "busy": false, - "diffComments": [], - "pendingDelivery": { - "$rpc": "null" - } - }, - "6da927cd4a9e": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:workspace-1" - } - }, - { - "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 - } - } - }, - "6dd7c7f7521e": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:workspace-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "73d8b290002f": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:workspace-1" - } - }, - { - "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 - } - } - } - }, - "7eb43931e73b": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:workspace-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "7eec72fc398d": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:workspace-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "cc16a5251bdf": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:workspace-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "d6e940d7f092": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:workspace-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "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" - } - }, - "ff8408e804b0": { - "name": "worktree.show#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:workspace-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - } - }, - "recording": { - "scenario": "matrix-session.diff-notes-worktree.show-1", - "checkpoints": [ - { - "id": "session-diff-notes-loaded.normal:loaded", - "observation": { - "sender": ["194b8cd56a74"], - "payloads": ["270b4ca66aa7"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e28b1ad79121", - "effects": [] - } - }, - { - "id": "session-diff-notes-loaded.result-absent:loaded", - "observation": { - "sender": ["1b52e707bbff"], - "payloads": ["270b4ca66aa7"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "432aeb4f1709", - "effects": [] - } - }, - { - "id": "session-diff-notes-loaded.result-null:loaded", - "observation": { - "sender": ["6dd7c7f7521e"], - "payloads": ["270b4ca66aa7"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "432aeb4f1709", - "effects": [] - } - }, - { - "id": "session-diff-notes-loaded.inner-ok-missing:loaded", - "observation": { - "sender": ["3431fb3e9b93"], - "payloads": ["270b4ca66aa7"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "432aeb4f1709", - "effects": [] - } - }, - { - "id": "session-diff-notes-loaded.inner-false-string-error:loaded", - "observation": { - "sender": ["7eb43931e73b"], - "payloads": ["270b4ca66aa7"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "432aeb4f1709", - "effects": [] - } - }, - { - "id": "session-diff-notes-loaded.inner-false-object-error:loaded", - "observation": { - "sender": ["73d8b290002f"], - "payloads": ["270b4ca66aa7"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "432aeb4f1709", - "effects": [] - } - }, - { - "id": "session-diff-notes-loaded.outer-refused:loaded", - "observation": { - "sender": ["ff8408e804b0"], - "payloads": ["270b4ca66aa7"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "432aeb4f1709", - "effects": [] - } - }, - { - "id": "session-diff-notes-loaded.outer-refused-no-message:loaded", - "observation": { - "sender": ["d6e940d7f092"], - "payloads": ["270b4ca66aa7"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "432aeb4f1709", - "effects": [] - } - }, - { - "id": "session-diff-notes-loaded.method-not-found:loaded", - "observation": { - "sender": ["6da927cd4a9e"], - "payloads": ["270b4ca66aa7"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "432aeb4f1709", - "effects": [] - } - }, - { - "id": "session-diff-notes-loaded.transport-rejection:loaded", - "observation": { - "sender": ["7eec72fc398d"], - "payloads": ["270b4ca66aa7"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "432aeb4f1709", - "effects": [] - } - }, - { - "id": "session-diff-notes-loaded.transport-rejection-no-message:loaded", - "observation": { - "sender": ["cc16a5251bdf"], - "payloads": ["270b4ca66aa7"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "432aeb4f1709", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index c315072a3fe..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.diff-review-actions-worktree.set-1.json +++ /dev/null @@ -1,1222 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.diff-review-actions", - "family": "session.diff-review-actions", - "namedDeltas": [], - "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" - } - }, - "06005dec67d2": { - "name": "worktree.set#1", - "ordinal": 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" - } - ], - "diffCommentsBase": [ - { - "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 - } - } - }, - "078c232ef420": { - "name": "worktree.set#1", - "ordinal": 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" - } - ], - "diffCommentsBase": [ - { - "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 - } - } - }, - "1a94a0989e43": { - "name": "worktree.set#1", - "ordinal": 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" - } - ], - "diffCommentsBase": [ - { - "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 - } - } - } - }, - "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" - } - }, - "387918d6d66f": { - "name": "worktree.set#1", - "ordinal": 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" - } - ], - "diffCommentsBase": [ - { - "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 - } - } - } - }, - "45f8c93797f0": { - "name": "worktree.set#1", - "ordinal": 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" - } - ], - "diffCommentsBase": [ - { - "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 - } - } - }, - "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" - } - }, - "81c9edeaad86": { - "name": "worktree.set#1", - "ordinal": 2, - "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}],\"diffCommentsBase\":[{\"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}}}" - }, - "9763741966f9": { - "name": "worktree.set#1", - "ordinal": 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" - } - ], - "diffCommentsBase": [ - { - "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 - } - } - }, - "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" - } - }, - "aa4104b74da8": { - "name": "worktree.set#1", - "ordinal": 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" - } - ], - "diffCommentsBase": [ - { - "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 - } - } - }, - "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" - } - }, - "df1198f920a7": { - "name": "worktree.set#1", - "ordinal": 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" - } - ], - "diffCommentsBase": [ - { - "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" - } - } - } - }, - "df876725e770": { - "name": "worktree.set#1", - "ordinal": 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" - } - ], - "diffCommentsBase": [ - { - "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 - } - } - }, - "e0def05e4021": { - "name": "worktree.set#1", - "ordinal": 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" - } - ], - "diffCommentsBase": [ - { - "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" - } - }, - "ebfe5f82347b": { - "name": "worktree.set#1", - "ordinal": 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" - } - ], - "diffCommentsBase": [ - { - "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 - } - } - } - }, - "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" - } - } - }, - "recording": { - "scenario": "matrix-session.diff-review-actions-worktree.set-1", - "checkpoints": [ - { - "id": "review-mark-reviewed-persists.normal:persisted", - "observation": { - "sender": ["ebfe5f82347b"], - "payloads": ["81c9edeaad86"], - "settlements": { - "mark-reviewed": "eb79a9b3682a" - }, - "state": "02c4a9358dee", - "effects": [] - } - }, - { - "id": "review-mark-reviewed-persists.result-absent:persisted", - "observation": { - "sender": ["06005dec67d2"], - "payloads": ["81c9edeaad86"], - "settlements": { - "mark-reviewed": "eb79a9b3682a" - }, - "state": "02c4a9358dee", - "effects": [] - } - }, - { - "id": "review-mark-reviewed-persists.result-null:persisted", - "observation": { - "sender": ["e0def05e4021"], - "payloads": ["81c9edeaad86"], - "settlements": { - "mark-reviewed": "eb79a9b3682a" - }, - "state": "02c4a9358dee", - "effects": [] - } - }, - { - "id": "review-mark-reviewed-persists.inner-ok-missing:persisted", - "observation": { - "sender": ["df1198f920a7"], - "payloads": ["81c9edeaad86"], - "settlements": { - "mark-reviewed": "eb79a9b3682a" - }, - "state": "02c4a9358dee", - "effects": [] - } - }, - { - "id": "review-mark-reviewed-persists.inner-false-string-error:persisted", - "observation": { - "sender": ["1a94a0989e43"], - "payloads": ["81c9edeaad86"], - "settlements": { - "mark-reviewed": "eb79a9b3682a" - }, - "state": "02c4a9358dee", - "effects": [] - } - }, - { - "id": "review-mark-reviewed-persists.inner-false-object-error:persisted", - "observation": { - "sender": ["387918d6d66f"], - "payloads": ["81c9edeaad86"], - "settlements": { - "mark-reviewed": "eb79a9b3682a" - }, - "state": "02c4a9358dee", - "effects": [] - } - }, - { - "id": "review-mark-reviewed-persists.outer-refused:persisted", - "observation": { - "sender": ["9763741966f9"], - "payloads": ["81c9edeaad86"], - "settlements": { - "mark-reviewed": "eb79a9b3682a" - }, - "state": "9e0132f8d584", - "effects": [] - } - }, - { - "id": "review-mark-reviewed-persists.outer-refused-no-message:persisted", - "observation": { - "sender": ["45f8c93797f0"], - "payloads": ["81c9edeaad86"], - "settlements": { - "mark-reviewed": "eb79a9b3682a" - }, - "state": "d98361dedc14", - "effects": [] - } - }, - { - "id": "review-mark-reviewed-persists.method-not-found:persisted", - "observation": { - "sender": ["df876725e770"], - "payloads": ["81c9edeaad86"], - "settlements": { - "mark-reviewed": "eb79a9b3682a" - }, - "state": "73f7bfbf2ed4", - "effects": [] - } - }, - { - "id": "review-mark-reviewed-persists.transport-rejection:persisted", - "observation": { - "sender": ["aa4104b74da8"], - "payloads": ["81c9edeaad86"], - "settlements": { - "mark-reviewed": "eb79a9b3682a" - }, - "state": "fa4af2435d85", - "effects": [] - } - }, - { - "id": "review-mark-reviewed-persists.transport-rejection-no-message:persisted", - "observation": { - "sender": ["078c232ef420"], - "payloads": ["81c9edeaad86"], - "settlements": { - "mark-reviewed": "eb79a9b3682a" - }, - "state": "1c6a13b5a4b5", - "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 deleted file mode 100644 index b05d6a46745..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.diff-review-git.branchcompare-1.json +++ /dev/null @@ -1,1725 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.diff-review-load", - "family": "session.diff-review", - "namedDeltas": [], - "values": { - "11e9ea6be860": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1daf48d588fb": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "1f10fad6906c": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "2aed715108d9": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "2d056d166720": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-4", - "ok": false - } - } - }, - "2e043987d998": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "3374ccf2bc9a": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3f0e490b3b40": { - "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", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "411c662db736": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "branchCompare": { - "entries": [ - { - "added": 1, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "commitsAhead": { - "$rpc": "undefined" - }, - "compareRef": "feature", - "errorMessage": { - "$rpc": "undefined" - }, - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - }, - "branchError": { - "$rpc": "undefined" - }, - "comments": [], - "kind": "ready", - "reviewState": { - "completedAt": { - "$rpc": "undefined" - }, - "files": { - "branch\u0000branch\u0000\u0000src/old.ts": { - "filePath": "src/old.ts", - "key": "branch\u0000branch\u0000\u0000src/old.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "branch" - }, - "unstaged\u0000unstaged\u0000\u0000src/app.ts": { - "filePath": "src/app.ts", - "key": "unstaged\u0000unstaged\u0000\u0000src/app.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "unstaged" - } - }, - "updatedAt": 1767225600000, - "version": 1 - }, - "status": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "5abf3b2ba503": { - "branchCompare": "unloaded", - "diff": "unloaded", - "snapshot": { - "branchCompare": { - "entries": [ - { - "added": 1, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "commitsAhead": { - "$rpc": "undefined" - }, - "compareRef": "feature", - "errorMessage": { - "$rpc": "undefined" - }, - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - }, - "branchError": { - "$rpc": "undefined" - }, - "comments": [], - "kind": "ready", - "reviewState": { - "completedAt": { - "$rpc": "undefined" - }, - "files": { - "branch\u0000branch\u0000\u0000src/old.ts": { - "filePath": "src/old.ts", - "key": "branch\u0000branch\u0000\u0000src/old.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "branch" - }, - "unstaged\u0000unstaged\u0000\u0000src/app.ts": { - "filePath": "src/app.ts", - "key": "unstaged\u0000unstaged\u0000\u0000src/app.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "unstaged" - } - }, - "updatedAt": 1767225600000, - "version": 1 - }, - "status": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "5dbd52d6a1c7": { - "name": "worktree.show#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "5dd74fdeb001": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "baseRef": "origin/main", - "diffComments": [], - "linkedPR": 12, - "mobileDiffReview": { - "files": [] - } - } - } - } - } - }, - "622e5aadb43d": { - "name": "git.branchCompare#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" - }, - "648638103acb": { - "name": "repo.list#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "65f588691d92": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "branchCompare": { - "$rpc": "null" - }, - "branchError": "The host sent a reply this app could not read (git.branchCompare)", - "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", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "6d725a548285": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "6f8b5f35e1f3": { - "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", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "78a71705cc83": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-4", - "ok": false - } - } - }, - "8db27b0778a5": { - "name": "git.status#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "8ebdf12101d1": { - "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", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "95cef28060d8": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "9671414173aa": { - "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", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "9affac551982": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "repos": [ - { - "id": "repo-9", - "worktreeBaseRef": "origin/main" - } - ] - } - } - } - }, - "a6569c1de247": { - "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", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "ad5c46edc8ff": { - "branchCompare": "unloaded", - "diff": "unloaded", - "snapshot": { - "branchCompare": { - "$rpc": "null" - }, - "branchError": "The host sent a reply this app could not read (git.branchCompare)", - "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", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "b51baf79c1ac": { - "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", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "bd12ddcc2b4f": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "c0f7fd87f4a5": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "entries": [ - { - "added": 1, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - } - } - }, - "c772291af0aa": { - "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", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "c966be6aa00f": { - "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", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "d0e28a73dae6": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "d3a03f25a083": { - "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", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "e24dac0a0dc6": { - "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", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "e39817462870": { - "branchCompare": "unloaded", - "diff": "unloaded", - "snapshot": "unloaded" - }, - "ede3857249b1": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "f9f0c7d74e69": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-4", - "ok": false - } - } - } - }, - "recording": { - "scenario": "matrix-session.diff-review-git.branchcompare-1", - "checkpoints": [ - { - "id": "diff-review-snapshot.prelude:pending", - "observation": { - "sender": ["11e9ea6be860", "1f10fad6906c", "3374ccf2bc9a"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"], - "settlements": { - "snapshot": "9270aeb7d9c6" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.normal:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.result-absent:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "6d725a548285"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "65f588691d92" - }, - "state": "ad5c46edc8ff", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.result-null:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "ede3857249b1"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "65f588691d92" - }, - "state": "ad5c46edc8ff", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.inner-ok-missing:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "1daf48d588fb"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "65f588691d92" - }, - "state": "ad5c46edc8ff", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.inner-false-string-error:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "95cef28060d8"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "65f588691d92" - }, - "state": "ad5c46edc8ff", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.inner-false-object-error:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "2aed715108d9"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "65f588691d92" - }, - "state": "ad5c46edc8ff", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.outer-refused:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "f9f0c7d74e69"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "b51baf79c1ac" - }, - "state": "c772291af0aa", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.outer-refused-no-message:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "78a71705cc83"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "d3a03f25a083" - }, - "state": "e24dac0a0dc6", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.method-not-found:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "2d056d166720"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "6f8b5f35e1f3" - }, - "state": "9671414173aa", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.transport-rejection:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "bd12ddcc2b4f"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "3f0e490b3b40" - }, - "state": "c966be6aa00f", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.transport-rejection-no-message:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "2e043987d998"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "a6569c1de247" - }, - "state": "8ebdf12101d1", - "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 deleted file mode 100644 index eb18fcb6821..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.diff-review-git.status-1.json +++ /dev/null @@ -1,1065 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.diff-review-load", - "family": "session.diff-review", - "namedDeltas": [], - "values": { - "0bd4c9fb1332": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "11e9ea6be860": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "14804a5e414f": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "kind": "unavailable", - "message": "Update Orca desktop to review changes on mobile." - } - }, - "1f10fad6906c": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "3374ccf2bc9a": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "411c662db736": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "branchCompare": { - "entries": [ - { - "added": 1, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "commitsAhead": { - "$rpc": "undefined" - }, - "compareRef": "feature", - "errorMessage": { - "$rpc": "undefined" - }, - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - }, - "branchError": { - "$rpc": "undefined" - }, - "comments": [], - "kind": "ready", - "reviewState": { - "completedAt": { - "$rpc": "undefined" - }, - "files": { - "branch\u0000branch\u0000\u0000src/old.ts": { - "filePath": "src/old.ts", - "key": "branch\u0000branch\u0000\u0000src/old.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "branch" - }, - "unstaged\u0000unstaged\u0000\u0000src/app.ts": { - "filePath": "src/app.ts", - "key": "unstaged\u0000unstaged\u0000\u0000src/app.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "unstaged" - } - }, - "updatedAt": 1767225600000, - "version": 1 - }, - "status": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "45d1ea7c0b42": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "55c07df45014": { - "branchCompare": "unloaded", - "diff": "unloaded", - "snapshot": { - "kind": "unavailable", - "message": "Update Orca desktop to review changes on mobile." - } - }, - "5a46fcc976ac": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "5abf3b2ba503": { - "branchCompare": "unloaded", - "diff": "unloaded", - "snapshot": { - "branchCompare": { - "entries": [ - { - "added": 1, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "commitsAhead": { - "$rpc": "undefined" - }, - "compareRef": "feature", - "errorMessage": { - "$rpc": "undefined" - }, - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - }, - "branchError": { - "$rpc": "undefined" - }, - "comments": [], - "kind": "ready", - "reviewState": { - "completedAt": { - "$rpc": "undefined" - }, - "files": { - "branch\u0000branch\u0000\u0000src/old.ts": { - "filePath": "src/old.ts", - "key": "branch\u0000branch\u0000\u0000src/old.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "branch" - }, - "unstaged\u0000unstaged\u0000\u0000src/app.ts": { - "filePath": "src/app.ts", - "key": "unstaged\u0000unstaged\u0000\u0000src/app.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "unstaged" - } - }, - "updatedAt": 1767225600000, - "version": 1 - }, - "status": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "5dbd52d6a1c7": { - "name": "worktree.show#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "5dd74fdeb001": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "baseRef": "origin/main", - "diffComments": [], - "linkedPR": 12, - "mobileDiffReview": { - "files": [] - } - } - } - } - } - }, - "622e5aadb43d": { - "name": "git.branchCompare#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" - }, - "648638103acb": { - "name": "repo.list#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "8baf252a9a66": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "8db27b0778a5": { - "name": "git.status#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "9affac551982": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "repos": [ - { - "id": "repo-9", - "worktreeBaseRef": "origin/main" - } - ] - } - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b2181825a3ca": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "c0f7fd87f4a5": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "entries": [ - { - "added": 1, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - } - } - }, - "c33e0a3d4a1f": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d0e28a73dae6": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "d2367ea0fad5": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (git.status)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "d4d06fefbe7c": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unable to load source control", - "isRpcDeliveryUnknown": false - } - }, - "e39817462870": { - "branchCompare": "unloaded", - "diff": "unloaded", - "snapshot": "unloaded" - }, - "eb92786433d3": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "ebfcf8909ca0": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "fa4ee3a35705": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "fb05490ae527": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - } - }, - "recording": { - "scenario": "matrix-session.diff-review-git.status-1", - "checkpoints": [ - { - "id": "diff-review-snapshot.prelude:pending", - "observation": { - "sender": ["11e9ea6be860", "1f10fad6906c", "3374ccf2bc9a"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"], - "settlements": { - "snapshot": "9270aeb7d9c6" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.normal:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.result-absent:snapshot", - "observation": { - "sender": ["8baf252a9a66", "5dd74fdeb001", "9affac551982"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"], - "settlements": { - "snapshot": "d2367ea0fad5" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.result-null:snapshot", - "observation": { - "sender": ["c33e0a3d4a1f", "5dd74fdeb001", "9affac551982"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"], - "settlements": { - "snapshot": "d2367ea0fad5" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.inner-ok-missing:snapshot", - "observation": { - "sender": ["ebfcf8909ca0", "5dd74fdeb001", "9affac551982"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"], - "settlements": { - "snapshot": "d2367ea0fad5" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.inner-false-string-error:snapshot", - "observation": { - "sender": ["5a46fcc976ac", "5dd74fdeb001", "9affac551982"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"], - "settlements": { - "snapshot": "d2367ea0fad5" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.inner-false-object-error:snapshot", - "observation": { - "sender": ["fb05490ae527", "5dd74fdeb001", "9affac551982"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"], - "settlements": { - "snapshot": "d2367ea0fad5" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.outer-refused:snapshot", - "observation": { - "sender": ["b2181825a3ca", "5dd74fdeb001", "9affac551982"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"], - "settlements": { - "snapshot": "32a7c0ae7918" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.outer-refused-no-message:snapshot", - "observation": { - "sender": ["0bd4c9fb1332", "5dd74fdeb001", "9affac551982"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"], - "settlements": { - "snapshot": "d4d06fefbe7c" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.method-not-found:snapshot", - "observation": { - "sender": ["45d1ea7c0b42", "5dd74fdeb001", "9affac551982"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"], - "settlements": { - "snapshot": "14804a5e414f" - }, - "state": "55c07df45014", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.transport-rejection:snapshot", - "observation": { - "sender": ["eb92786433d3", "5dd74fdeb001", "9affac551982"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"], - "settlements": { - "snapshot": "a947768bc0ed" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.transport-rejection-no-message:snapshot", - "observation": { - "sender": ["fa4ee3a35705", "5dd74fdeb001", "9affac551982"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"], - "settlements": { - "snapshot": "c7584e82c72f" - }, - "state": "e39817462870", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 138350110e6..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.diff-review-repo.list-1.json +++ /dev/null @@ -1,997 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.diff-review-load", - "family": "session.diff-review", - "namedDeltas": [], - "values": { - "11e9ea6be860": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1f10fad6906c": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "2d5bf849b457": { - "name": "repo.list#1", - "ordinal": 5, - "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 - } - } - }, - "3374ccf2bc9a": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "345fddcf349d": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "411c662db736": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "branchCompare": { - "entries": [ - { - "added": 1, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "commitsAhead": { - "$rpc": "undefined" - }, - "compareRef": "feature", - "errorMessage": { - "$rpc": "undefined" - }, - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - }, - "branchError": { - "$rpc": "undefined" - }, - "comments": [], - "kind": "ready", - "reviewState": { - "completedAt": { - "$rpc": "undefined" - }, - "files": { - "branch\u0000branch\u0000\u0000src/old.ts": { - "filePath": "src/old.ts", - "key": "branch\u0000branch\u0000\u0000src/old.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "branch" - }, - "unstaged\u0000unstaged\u0000\u0000src/app.ts": { - "filePath": "src/app.ts", - "key": "unstaged\u0000unstaged\u0000\u0000src/app.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "unstaged" - } - }, - "updatedAt": 1767225600000, - "version": 1 - }, - "status": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "5abf3b2ba503": { - "branchCompare": "unloaded", - "diff": "unloaded", - "snapshot": { - "branchCompare": { - "entries": [ - { - "added": 1, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "commitsAhead": { - "$rpc": "undefined" - }, - "compareRef": "feature", - "errorMessage": { - "$rpc": "undefined" - }, - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - }, - "branchError": { - "$rpc": "undefined" - }, - "comments": [], - "kind": "ready", - "reviewState": { - "completedAt": { - "$rpc": "undefined" - }, - "files": { - "branch\u0000branch\u0000\u0000src/old.ts": { - "filePath": "src/old.ts", - "key": "branch\u0000branch\u0000\u0000src/old.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "branch" - }, - "unstaged\u0000unstaged\u0000\u0000src/app.ts": { - "filePath": "src/app.ts", - "key": "unstaged\u0000unstaged\u0000\u0000src/app.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "unstaged" - } - }, - "updatedAt": 1767225600000, - "version": 1 - }, - "status": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "5dbd52d6a1c7": { - "name": "worktree.show#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "5dd74fdeb001": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "baseRef": "origin/main", - "diffComments": [], - "linkedPR": 12, - "mobileDiffReview": { - "files": [] - } - } - } - } - } - }, - "622e5aadb43d": { - "name": "git.branchCompare#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" - }, - "648638103acb": { - "name": "repo.list#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "7e81a481cdc9": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "8db27b0778a5": { - "name": "git.status#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "981fb46ab3ae": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "9affac551982": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "repos": [ - { - "id": "repo-9", - "worktreeBaseRef": "origin/main" - } - ] - } - } - } - }, - "9dcbdeada515": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "a3f03eb37fd2": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "ae6fa9721439": { - "name": "repo.list#1", - "ordinal": 5, - "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 - } - } - }, - "bb296449e21d": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - }, - "c0f7fd87f4a5": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "entries": [ - { - "added": 1, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - } - } - }, - "d0e28a73dae6": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "de2c08395c02": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "e39817462870": { - "branchCompare": "unloaded", - "diff": "unloaded", - "snapshot": "unloaded" - }, - "f1dbd24c8652": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - } - }, - "recording": { - "scenario": "matrix-session.diff-review-repo.list-1", - "checkpoints": [ - { - "id": "diff-review-snapshot.prelude:pending", - "observation": { - "sender": ["11e9ea6be860", "1f10fad6906c", "3374ccf2bc9a"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"], - "settlements": { - "snapshot": "9270aeb7d9c6" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.normal:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.result-absent:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "de2c08395c02", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.result-null:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "345fddcf349d", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.inner-ok-missing:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "f1dbd24c8652", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.inner-false-string-error:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "a3f03eb37fd2", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.inner-false-object-error:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "7e81a481cdc9", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.outer-refused:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "981fb46ab3ae", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.outer-refused-no-message:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "9dcbdeada515", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.method-not-found:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "bb296449e21d", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.transport-rejection:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "ae6fa9721439", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.transport-rejection-no-message:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "2d5bf849b457", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.diff-review-worktree.show-1.json b/mobile/rpc-foundation/goldens/matrix-session.diff-review-worktree.show-1.json deleted file mode 100644 index 62f40f14bd5..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.diff-review-worktree.show-1.json +++ /dev/null @@ -1,1057 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.diff-review-load", - "family": "session.diff-review", - "namedDeltas": [], - "values": { - "03dabf7904c5": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "0624baf0b1a6": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "The host sent a reply this app could not read (worktree.show)", - "isRpcDeliveryUnknown": false - } - }, - "11e9ea6be860": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1a1f37b92aca": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "1f10fad6906c": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "3374ccf2bc9a": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3fdee65f324d": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "411c662db736": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "branchCompare": { - "entries": [ - { - "added": 1, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "commitsAhead": { - "$rpc": "undefined" - }, - "compareRef": "feature", - "errorMessage": { - "$rpc": "undefined" - }, - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - }, - "branchError": { - "$rpc": "undefined" - }, - "comments": [], - "kind": "ready", - "reviewState": { - "completedAt": { - "$rpc": "undefined" - }, - "files": { - "branch\u0000branch\u0000\u0000src/old.ts": { - "filePath": "src/old.ts", - "key": "branch\u0000branch\u0000\u0000src/old.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "branch" - }, - "unstaged\u0000unstaged\u0000\u0000src/app.ts": { - "filePath": "src/app.ts", - "key": "unstaged\u0000unstaged\u0000\u0000src/app.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "unstaged" - } - }, - "updatedAt": 1767225600000, - "version": 1 - }, - "status": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "5087d259003b": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "552f85dcd6b4": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "5abf3b2ba503": { - "branchCompare": "unloaded", - "diff": "unloaded", - "snapshot": { - "branchCompare": { - "entries": [ - { - "added": 1, - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "commitsAhead": { - "$rpc": "undefined" - }, - "compareRef": "feature", - "errorMessage": { - "$rpc": "undefined" - }, - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - }, - "branchError": { - "$rpc": "undefined" - }, - "comments": [], - "kind": "ready", - "reviewState": { - "completedAt": { - "$rpc": "undefined" - }, - "files": { - "branch\u0000branch\u0000\u0000src/old.ts": { - "filePath": "src/old.ts", - "key": "branch\u0000branch\u0000\u0000src/old.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "branch" - }, - "unstaged\u0000unstaged\u0000\u0000src/app.ts": { - "filePath": "src/app.ts", - "key": "unstaged\u0000unstaged\u0000\u0000src/app.ts", - "lastOpenedAt": { - "$rpc": "undefined" - }, - "lastSeenDiffIdentity": { - "$rpc": "undefined" - }, - "oldPath": { - "$rpc": "undefined" - }, - "reviewDiffIdentity": { - "$rpc": "undefined" - }, - "reviewedAt": { - "$rpc": "undefined" - }, - "scope": "unstaged" - } - }, - "updatedAt": 1767225600000, - "version": 1 - }, - "status": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - }, - "5dbd52d6a1c7": { - "name": "worktree.show#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "5dd74fdeb001": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "baseRef": "origin/main", - "diffComments": [], - "linkedPR": 12, - "mobileDiffReview": { - "files": [] - } - } - } - } - } - }, - "622e5aadb43d": { - "name": "git.branchCompare#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" - }, - "648638103acb": { - "name": "repo.list#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "7eb2a61711fc": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "8db27b0778a5": { - "name": "git.status#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "9affac551982": { - "name": "repo.list#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "repos": [ - { - "id": "repo-9", - "worktreeBaseRef": "origin/main" - } - ] - } - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "ade44fd82eca": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "c0f7fd87f4a5": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "entries": [ - { - "added": 1, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - } - } - }, - "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 - } - }, - "d0e28a73dae6": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "e39817462870": { - "branchCompare": "unloaded", - "diff": "unloaded", - "snapshot": "unloaded" - }, - "f14112e24d21": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "f6b2f58dcf76": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "f8ad59a07e10": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - } - }, - "recording": { - "scenario": "matrix-session.diff-review-worktree.show-1", - "checkpoints": [ - { - "id": "diff-review-snapshot.prelude:pending", - "observation": { - "sender": ["11e9ea6be860", "1f10fad6906c", "3374ccf2bc9a"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb"], - "settlements": { - "snapshot": "9270aeb7d9c6" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.normal:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5dd74fdeb001", "9affac551982", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.result-absent:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "7eb2a61711fc", "9affac551982", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "0624baf0b1a6" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.result-null:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "552f85dcd6b4", "9affac551982", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "0624baf0b1a6" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.inner-ok-missing:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "f6b2f58dcf76", "9affac551982", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.inner-false-string-error:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "ade44fd82eca", "9affac551982", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.inner-false-object-error:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "f8ad59a07e10", "9affac551982", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "411c662db736" - }, - "state": "5abf3b2ba503", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.outer-refused:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "f14112e24d21", "9affac551982", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "32a7c0ae7918" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.outer-refused-no-message:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "5087d259003b", "9affac551982", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "c3c2c2e9a797" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.method-not-found:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "1a1f37b92aca", "9affac551982", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "b948e8307e81" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.transport-rejection:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "03dabf7904c5", "9affac551982", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "a947768bc0ed" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "diff-review-snapshot.transport-rejection-no-message:snapshot", - "observation": { - "sender": ["d0e28a73dae6", "3fdee65f324d", "9affac551982", "c0f7fd87f4a5"], - "payloads": ["8db27b0778a5", "5dbd52d6a1c7", "648638103acb", "622e5aadb43d"], - "settlements": { - "snapshot": "c7584e82c72f" - }, - "state": "e39817462870", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.markdown-disk-fallback-files.read-1.json b/mobile/rpc-foundation/goldens/matrix-session.markdown-disk-fallback-files.read-1.json deleted file mode 100644 index 798961d8947..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.markdown-disk-fallback-files.read-1.json +++ /dev/null @@ -1,610 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.tab-documents", - "family": "session.markdown-disk-fallback", - "namedDeltas": [], - "values": { - "1814b29b1212": { - "name": "files.read#1", - "ordinal": 3, - "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-2", - "ok": false - } - } - }, - "232de05393a9": { - "name": "files.read#1", - "ordinal": 3, - "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": { - "$rpc": "null" - } - } - } - }, - "26b8fd580c90": { - "name": "files.read#1", - "ordinal": 3, - "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 - } - } - }, - "411d336833d5": { - "name": "files.read#1", - "ordinal": 3, - "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": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "44abbe2af7aa": { - "name": "markdown.readTab#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"markdown.readTab\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-md\"}}" - }, - "455401ec3b87": { - "name": "files.read#1", - "ordinal": 3, - "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 - } - } - }, - "5d8fad85cc4d": { - "name": "files.read#1", - "ordinal": 3, - "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-2", - "ok": false - } - } - }, - "767ef7fdc9b3": { - "name": "files.read#1", - "ordinal": 3, - "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-2", - "ok": false - } - } - }, - "877720375363": { - "file": {}, - "markdown": { - "tab-md": { - "message": "Couldn't load markdown", - "status": "error" - } - } - }, - "c681a5b94b73": { - "name": "files.read#1", - "ordinal": 3, - "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": { - "error": "refused" - } - } - } - }, - "c6cea5310098": { - "file": {}, - "markdown": { - "tab-md": { - "baseVersion": "", - "content": "# disk", - "editable": false, - "isDirty": false, - "localContent": "# disk", - "readOnlyReason": "Editing needs Orca desktop running.", - "stale": false, - "status": "ready" - } - } - }, - "d4be01606497": { - "name": "files.read#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"files.read\",\"params\":{\"worktree\":\"id:workspace-1\",\"relativePath\":\"docs/readme.md\"}}" - }, - "d59404d25d6c": { - "name": "files.read#1", - "ordinal": 3, - "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 - } - } - } - }, - "e258dafc91f1": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - }, - "e4cc82795cc4": { - "name": "files.read#1", - "ordinal": 3, - "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": { - "error": "inner refused", - "ok": false - } - } - } - }, - "e6ef1892cf5d": { - "name": "files.read#1", - "ordinal": 3, - "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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-session.markdown-disk-fallback-files.read-1", - "checkpoints": [ - { - "id": "session-markdown-disk-read.normal:fell-back", - "observation": { - "sender": ["e258dafc91f1", "d59404d25d6c"], - "payloads": ["44abbe2af7aa", "d4be01606497"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "c6cea5310098", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.result-absent:fell-back", - "observation": { - "sender": ["e258dafc91f1", "26b8fd580c90"], - "payloads": ["44abbe2af7aa", "d4be01606497"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.result-null:fell-back", - "observation": { - "sender": ["e258dafc91f1", "232de05393a9"], - "payloads": ["44abbe2af7aa", "d4be01606497"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.inner-ok-missing:fell-back", - "observation": { - "sender": ["e258dafc91f1", "c681a5b94b73"], - "payloads": ["44abbe2af7aa", "d4be01606497"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.inner-false-string-error:fell-back", - "observation": { - "sender": ["e258dafc91f1", "e4cc82795cc4"], - "payloads": ["44abbe2af7aa", "d4be01606497"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.inner-false-object-error:fell-back", - "observation": { - "sender": ["e258dafc91f1", "411d336833d5"], - "payloads": ["44abbe2af7aa", "d4be01606497"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.outer-refused:fell-back", - "observation": { - "sender": ["e258dafc91f1", "5d8fad85cc4d"], - "payloads": ["44abbe2af7aa", "d4be01606497"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.outer-refused-no-message:fell-back", - "observation": { - "sender": ["e258dafc91f1", "1814b29b1212"], - "payloads": ["44abbe2af7aa", "d4be01606497"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.method-not-found:fell-back", - "observation": { - "sender": ["e258dafc91f1", "767ef7fdc9b3"], - "payloads": ["44abbe2af7aa", "d4be01606497"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.transport-rejection:fell-back", - "observation": { - "sender": ["e258dafc91f1", "e6ef1892cf5d"], - "payloads": ["44abbe2af7aa", "d4be01606497"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.transport-rejection-no-message:fell-back", - "observation": { - "sender": ["e258dafc91f1", "455401ec3b87"], - "payloads": ["44abbe2af7aa", "d4be01606497"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.markdown-disk-fallback-markdown.readtab-1.json b/mobile/rpc-foundation/goldens/matrix-session.markdown-disk-fallback-markdown.readtab-1.json deleted file mode 100644 index 0be6a7323b6..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.markdown-disk-fallback-markdown.readtab-1.json +++ /dev/null @@ -1,572 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.tab-documents", - "family": "session.markdown-disk-fallback", - "namedDeltas": [], - "values": { - "0d6b0adc036f": { - "name": "markdown.readTab#1", - "ordinal": 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": "# served", - "editable": true, - "isDirty": false, - "version": "v1" - } - } - } - }, - "11d4233470ab": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - }, - "27c8f1a219da": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - }, - "30ca4532d665": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - }, - "3e3efaab3a20": { - "file": {}, - "markdown": { - "tab-md": { - "baseVersion": "v1", - "content": "# served", - "editable": true, - "isDirty": false, - "localContent": "# served", - "readOnlyReason": { - "$rpc": "undefined" - }, - "stale": false, - "status": "ready" - } - } - }, - "3f9b64bce472": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - }, - "44abbe2af7aa": { - "name": "markdown.readTab#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"markdown.readTab\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-md\"}}" - }, - "4b881f02b557": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - }, - "7316598fc7ff": { - "name": "markdown.readTab#1", - "ordinal": 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" - } - } - } - }, - "877720375363": { - "file": {}, - "markdown": { - "tab-md": { - "message": "Couldn't load markdown", - "status": "error" - } - } - }, - "8f5af40a86f8": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - }, - "9678ee74c12b": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - } - }, - "a2bc1f147779": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - } - }, - "dec5db38cd1c": { - "name": "markdown.readTab#1", - "ordinal": 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" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-session.markdown-disk-fallback-markdown.readtab-1", - "checkpoints": [ - { - "id": "session-markdown-disk-read.normal:fell-back", - "observation": { - "sender": ["0d6b0adc036f"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "3e3efaab3a20", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.result-absent:fell-back", - "observation": { - "sender": ["30ca4532d665"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.result-null:fell-back", - "observation": { - "sender": ["7316598fc7ff"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.inner-ok-missing:fell-back", - "observation": { - "sender": ["dec5db38cd1c"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.inner-false-string-error:fell-back", - "observation": { - "sender": ["a2bc1f147779"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.inner-false-object-error:fell-back", - "observation": { - "sender": ["9678ee74c12b"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.outer-refused:fell-back", - "observation": { - "sender": ["11d4233470ab"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.outer-refused-no-message:fell-back", - "observation": { - "sender": ["4b881f02b557"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.method-not-found:fell-back", - "observation": { - "sender": ["27c8f1a219da"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.transport-rejection:fell-back", - "observation": { - "sender": ["8f5af40a86f8"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-disk-read.transport-rejection-no-message:fell-back", - "observation": { - "sender": ["3f9b64bce472"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "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 deleted file mode 100644 index eeebf728916..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.markdown-save-markdown.savetab-1.json +++ /dev/null @@ -1,662 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.markdown-save", - "family": "session.markdown-save", - "namedDeltas": [], - "values": { - "14b3351c66dc": { - "name": "markdown.saveTab#1", - "ordinal": 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 - } - } - }, - "2801e2d0462e": { - "markdown": { - "tab-md": { - "baseVersion": "v1", - "content": "# a", - "editable": true, - "isDirty": true, - "localContent": "# b", - "localRevision": 2, - "saveError": "outer refused", - "saving": false, - "status": "ready" - } - } - }, - "2c9d9a42f3f9": { - "name": "markdown.saveTab#1", - "ordinal": 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" - } - } - } - }, - "36cfaabe921c": { - "name": "markdown.saveTab#1", - "ordinal": 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 - } - } - }, - "48e7060a8031": { - "name": "markdown.saveTab#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"markdown.saveTab\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-md\",\"baseVersion\":\"v1\",\"content\":\"# b\"}}" - }, - "7194a574e16b": { - "name": "markdown.saveTab#1", - "ordinal": 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 - } - } - } - }, - "77a16acb1308": { - "markdown": { - "tab-md": { - "baseVersion": "v1", - "content": "# a", - "editable": true, - "isDirty": true, - "localContent": "# b", - "localRevision": 2, - "saveError": "Unknown method", - "saving": false, - "status": "ready" - } - } - }, - "7fadfe6b63b6": { - "markdown": { - "tab-md": { - "baseVersion": "v2", - "content": "# b", - "editable": true, - "isDirty": false, - "localContent": "# b", - "localRevision": 2, - "status": "ready" - } - } - }, - "807e68f28cfd": { - "name": "toast", - "ordinal": 3, - "value": { - "message": "Saved" - } - }, - "8ddf3364894f": { - "name": "markdown.saveTab#1", - "ordinal": 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 - } - } - }, - "a041f505fbf1": { - "name": "markdown.saveTab#1", - "ordinal": 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 - } - } - } - }, - "a88e51b8c57a": { - "markdown": { - "tab-md": { - "baseVersion": "v1", - "content": "# a", - "editable": true, - "isDirty": true, - "localContent": "# b", - "localRevision": 2, - "saveError": "transport failure", - "saving": false, - "status": "ready" - } - } - }, - "aace46fea9ad": { - "name": "markdown.saveTab#1", - "ordinal": 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" - } - } - } - }, - "b60a4c682490": { - "name": "markdown.saveTab#1", - "ordinal": 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" - } - } - } - }, - "d57554414248": { - "markdown": { - "tab-md": { - "baseVersion": "v1", - "content": "# a", - "editable": true, - "isDirty": true, - "localContent": "# b", - "localRevision": 2, - "saveError": "Save failed", - "saving": false, - "status": "ready" - } - } - }, - "d687d44c79dc": { - "name": "markdown.saveTab#1", - "ordinal": 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 - } - } - }, - "dc39b501fe68": { - "name": "markdown.saveTab#1", - "ordinal": 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 - } - } - }, - "e01519bc814b": { - "markdown": { - "tab-md": { - "baseVersion": "v1", - "content": "# a", - "editable": true, - "isDirty": true, - "localContent": "# b", - "localRevision": 2, - "saveError": "The host sent a reply this app could not read (markdown.saveTab)", - "saving": false, - "status": "ready" - } - } - }, - "ea9ccdf9e7e4": { - "name": "markdown.saveTab#1", - "ordinal": 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 - } - } - }, - "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": ["b60a4c682490"], - "payloads": ["48e7060a8031"], - "settlements": { - "save": "eb79a9b3682a" - }, - "state": "7fadfe6b63b6", - "effects": ["807e68f28cfd"] - } - }, - { - "id": "session-markdown-saved.result-absent:saved", - "observation": { - "sender": ["14b3351c66dc"], - "payloads": ["48e7060a8031"], - "settlements": { - "save": "eb79a9b3682a" - }, - "state": "e01519bc814b", - "effects": [] - } - }, - { - "id": "session-markdown-saved.result-null:saved", - "observation": { - "sender": ["2c9d9a42f3f9"], - "payloads": ["48e7060a8031"], - "settlements": { - "save": "eb79a9b3682a" - }, - "state": "e01519bc814b", - "effects": [] - } - }, - { - "id": "session-markdown-saved.inner-ok-missing:saved", - "observation": { - "sender": ["aace46fea9ad"], - "payloads": ["48e7060a8031"], - "settlements": { - "save": "eb79a9b3682a" - }, - "state": "e01519bc814b", - "effects": [] - } - }, - { - "id": "session-markdown-saved.inner-false-string-error:saved", - "observation": { - "sender": ["7194a574e16b"], - "payloads": ["48e7060a8031"], - "settlements": { - "save": "eb79a9b3682a" - }, - "state": "e01519bc814b", - "effects": [] - } - }, - { - "id": "session-markdown-saved.inner-false-object-error:saved", - "observation": { - "sender": ["a041f505fbf1"], - "payloads": ["48e7060a8031"], - "settlements": { - "save": "eb79a9b3682a" - }, - "state": "e01519bc814b", - "effects": [] - } - }, - { - "id": "session-markdown-saved.outer-refused:saved", - "observation": { - "sender": ["dc39b501fe68"], - "payloads": ["48e7060a8031"], - "settlements": { - "save": "eb79a9b3682a" - }, - "state": "2801e2d0462e", - "effects": [] - } - }, - { - "id": "session-markdown-saved.outer-refused-no-message:saved", - "observation": { - "sender": ["d687d44c79dc"], - "payloads": ["48e7060a8031"], - "settlements": { - "save": "eb79a9b3682a" - }, - "state": "d57554414248", - "effects": [] - } - }, - { - "id": "session-markdown-saved.method-not-found:saved", - "observation": { - "sender": ["8ddf3364894f"], - "payloads": ["48e7060a8031"], - "settlements": { - "save": "eb79a9b3682a" - }, - "state": "77a16acb1308", - "effects": [] - } - }, - { - "id": "session-markdown-saved.transport-rejection:saved", - "observation": { - "sender": ["ea9ccdf9e7e4"], - "payloads": ["48e7060a8031"], - "settlements": { - "save": "eb79a9b3682a" - }, - "state": "a88e51b8c57a", - "effects": [] - } - }, - { - "id": "session-markdown-saved.transport-rejection-no-message:saved", - "observation": { - "sender": ["36cfaabe921c"], - "payloads": ["48e7060a8031"], - "settlements": { - "save": "eb79a9b3682a" - }, - "state": "d57554414248", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.native-chat-page-nativechat.readsession-1.json b/mobile/rpc-foundation/goldens/matrix-session.native-chat-page-nativechat.readsession-1.json deleted file mode 100644 index a441e6284f3..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.native-chat-page-nativechat.readsession-1.json +++ /dev/null @@ -1,1366 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.native-chat-page", - "family": "session.native-chat-page", - "namedDeltas": [], - "values": { - "04f0746da2ec": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "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 - } - } - }, - "0943a7b4b434": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": false, - "loadingEarlier": false, - "messageIds": ["m-1", "m-2", "m-3", "m-4"], - "status": "ready", - "transcriptLoading": false - }, - "17ad4374230c": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "18a95418eb6d": { - "name": "nativeChat.readSession#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.readSession\",\"params\":{\"agent\":\"claude\",\"sessionId\":\"session-1\",\"limit\":60,\"capabilities\":{\"transcriptSourceOrder\":1},\"beforeOffset\":1200,\"transcriptPath\":\"/work/feature/.claude/session-1.jsonl\"}}" - }, - "197fa03857dd": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": true, - "loadingEarlier": false, - "messageIds": ["m-3", "m-4", "m-5"], - "status": "ready", - "transcriptLoading": false - }, - "1d80f6e1757c": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "20e9fdaca4bb": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "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 - } - } - } - }, - "3e14b1ec5bde": { - "name": "nativeChat.unsubscribe#2", - "ordinal": 6, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.unsubscribe\",\"params\":{\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\"}}" - }, - "468cdefc1b9a": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "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 - } - } - } - }, - "4c78f366c576": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "512a0c61c2d8": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "beforeOffset": 0, - "hasMore": false, - "messages": [ - { - "blocks": [ - { - "text": "first", - "type": "text" - } - ], - "id": "m-1", - "role": "assistant", - "source": "transcript", - "timestamp": 1000 - }, - { - "blocks": [ - { - "text": "second", - "type": "text" - } - ], - "id": "m-2", - "role": "assistant", - "source": "transcript", - "timestamp": 2000 - } - ] - } - } - } - }, - "6138b52f75d7": { - "name": "nativeChat.subscribe#2", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.subscribe\",\"params\":{\"agent\":\"claude\",\"sessionId\":\"session-1\",\"limit\":40,\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\",\"capabilities\":{\"transcriptPending\":1,\"transcriptSourceOrder\":1},\"transcriptPath\":\"/work/feature/.claude/session-1.jsonl\"}}" - }, - "61d8a95fd63a": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "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 - } - } - }, - "62edf08185e6": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "7b237e9824c8": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": true, - "loadingEarlier": false, - "messageIds": ["m-3", "m-4"], - "status": "ready", - "transcriptLoading": false - }, - "7cbe5e7d1f66": { - "name": "nativeChat.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.subscribe\",\"params\":{\"agent\":\"claude\",\"sessionId\":\"session-1\",\"limit\":40,\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\",\"capabilities\":{\"transcriptPending\":1,\"transcriptSourceOrder\":1},\"transcriptPath\":\"/work/feature/.claude/session-1.jsonl\"}}" - }, - "7e8788afab15": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": true, - "loadingEarlier": true, - "messageIds": ["m-3", "m-4"], - "status": "ready", - "transcriptLoading": false - }, - "7eedfcf76fd3": { - "name": "nativeChat.unsubscribe#1", - "ordinal": 5, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.unsubscribe\",\"params\":{\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\"}}" - }, - "8dace0dee96b": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "8f91342d7840": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": false, - "loadingEarlier": false, - "messageIds": ["m-1", "m-2", "m-3", "m-4", "m-5"], - "status": "ready", - "transcriptLoading": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ee46c03cf1b8": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": false, - "loadingEarlier": false, - "messageIds": [], - "status": "loading", - "transcriptLoading": true - }, - "f1dfb69b0f6f": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "f8f00339ea6f": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - } - }, - "recording": { - "scenario": "matrix-session.native-chat-page-nativechat.readsession-1", - "checkpoints": [ - { - "id": "native-chat-page-earlier.prelude:subscribed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.prelude:snapshot", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.prelude:paging", - "observation": { - "sender": ["f1dfb69b0f6f"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "7e8788afab15", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.normal:paged", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.normal:re-subscribed", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.normal:replayed", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "8f91342d7840", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.normal:unmounted", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "8f91342d7840", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.result-absent:paged", - "observation": { - "sender": ["8dace0dee96b"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.result-absent:re-subscribed", - "observation": { - "sender": ["8dace0dee96b"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.result-absent:replayed", - "observation": { - "sender": ["8dace0dee96b"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.result-absent:unmounted", - "observation": { - "sender": ["8dace0dee96b"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.result-null:paged", - "observation": { - "sender": ["f8f00339ea6f"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.result-null:re-subscribed", - "observation": { - "sender": ["f8f00339ea6f"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.result-null:replayed", - "observation": { - "sender": ["f8f00339ea6f"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.result-null:unmounted", - "observation": { - "sender": ["f8f00339ea6f"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-ok-missing:paged", - "observation": { - "sender": ["4c78f366c576"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-ok-missing:re-subscribed", - "observation": { - "sender": ["4c78f366c576"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-ok-missing:replayed", - "observation": { - "sender": ["4c78f366c576"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-ok-missing:unmounted", - "observation": { - "sender": ["4c78f366c576"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-string-error:paged", - "observation": { - "sender": ["20e9fdaca4bb"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-string-error:re-subscribed", - "observation": { - "sender": ["20e9fdaca4bb"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-string-error:replayed", - "observation": { - "sender": ["20e9fdaca4bb"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-string-error:unmounted", - "observation": { - "sender": ["20e9fdaca4bb"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-object-error:paged", - "observation": { - "sender": ["468cdefc1b9a"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-object-error:re-subscribed", - "observation": { - "sender": ["468cdefc1b9a"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-object-error:replayed", - "observation": { - "sender": ["468cdefc1b9a"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-object-error:unmounted", - "observation": { - "sender": ["468cdefc1b9a"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused:paged", - "observation": { - "sender": ["04f0746da2ec"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused:re-subscribed", - "observation": { - "sender": ["04f0746da2ec"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused:replayed", - "observation": { - "sender": ["04f0746da2ec"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused:unmounted", - "observation": { - "sender": ["04f0746da2ec"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused-no-message:paged", - "observation": { - "sender": ["1d80f6e1757c"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused-no-message:re-subscribed", - "observation": { - "sender": ["1d80f6e1757c"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused-no-message:replayed", - "observation": { - "sender": ["1d80f6e1757c"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused-no-message:unmounted", - "observation": { - "sender": ["1d80f6e1757c"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.method-not-found:paged", - "observation": { - "sender": ["61d8a95fd63a"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.method-not-found:re-subscribed", - "observation": { - "sender": ["61d8a95fd63a"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.method-not-found:replayed", - "observation": { - "sender": ["61d8a95fd63a"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.method-not-found:unmounted", - "observation": { - "sender": ["61d8a95fd63a"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.transport-rejection:paged", - "observation": { - "sender": ["62edf08185e6"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.transport-rejection:re-subscribed", - "observation": { - "sender": ["62edf08185e6"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.transport-rejection:replayed", - "observation": { - "sender": ["62edf08185e6"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.transport-rejection:unmounted", - "observation": { - "sender": ["62edf08185e6"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.transport-rejection-no-message:paged", - "observation": { - "sender": ["17ad4374230c"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.transport-rejection-no-message:re-subscribed", - "observation": { - "sender": ["17ad4374230c"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.transport-rejection-no-message:replayed", - "observation": { - "sender": ["17ad4374230c"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.transport-rejection-no-message:unmounted", - "observation": { - "sender": ["17ad4374230c"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.native-chat-page-nativechat.subscribe-1-1.json b/mobile/rpc-foundation/goldens/matrix-session.native-chat-page-nativechat.subscribe-1-1.json deleted file mode 100644 index 31779334d49..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.native-chat-page-nativechat.subscribe-1-1.json +++ /dev/null @@ -1,1094 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.native-chat-page", - "family": "session.native-chat-page", - "namedDeltas": [], - "values": { - "0943a7b4b434": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": false, - "loadingEarlier": false, - "messageIds": ["m-1", "m-2", "m-3", "m-4"], - "status": "ready", - "transcriptLoading": false - }, - "1693563703b9": { - "name": "nativeChat.unsubscribe#2", - "ordinal": 4, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.unsubscribe\",\"params\":{\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\"}}" - }, - "18a95418eb6d": { - "name": "nativeChat.readSession#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.readSession\",\"params\":{\"agent\":\"claude\",\"sessionId\":\"session-1\",\"limit\":60,\"capabilities\":{\"transcriptSourceOrder\":1},\"beforeOffset\":1200,\"transcriptPath\":\"/work/feature/.claude/session-1.jsonl\"}}" - }, - "197fa03857dd": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": true, - "loadingEarlier": false, - "messageIds": ["m-3", "m-4", "m-5"], - "status": "ready", - "transcriptLoading": false - }, - "3e14b1ec5bde": { - "name": "nativeChat.unsubscribe#2", - "ordinal": 6, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.unsubscribe\",\"params\":{\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\"}}" - }, - "512a0c61c2d8": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "beforeOffset": 0, - "hasMore": false, - "messages": [ - { - "blocks": [ - { - "text": "first", - "type": "text" - } - ], - "id": "m-1", - "role": "assistant", - "source": "transcript", - "timestamp": 1000 - }, - { - "blocks": [ - { - "text": "second", - "type": "text" - } - ], - "id": "m-2", - "role": "assistant", - "source": "transcript", - "timestamp": 2000 - } - ] - } - } - } - }, - "6138b52f75d7": { - "name": "nativeChat.subscribe#2", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.subscribe\",\"params\":{\"agent\":\"claude\",\"sessionId\":\"session-1\",\"limit\":40,\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\",\"capabilities\":{\"transcriptPending\":1,\"transcriptSourceOrder\":1},\"transcriptPath\":\"/work/feature/.claude/session-1.jsonl\"}}" - }, - "70a858645636": { - "name": "nativeChat.subscribe#2", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.subscribe\",\"params\":{\"agent\":\"claude\",\"sessionId\":\"session-1\",\"limit\":40,\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\",\"capabilities\":{\"transcriptPending\":1,\"transcriptSourceOrder\":1},\"transcriptPath\":\"/work/feature/.claude/session-1.jsonl\"}}" - }, - "7b237e9824c8": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": true, - "loadingEarlier": false, - "messageIds": ["m-3", "m-4"], - "status": "ready", - "transcriptLoading": false - }, - "7cbe5e7d1f66": { - "name": "nativeChat.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.subscribe\",\"params\":{\"agent\":\"claude\",\"sessionId\":\"session-1\",\"limit\":40,\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\",\"capabilities\":{\"transcriptPending\":1,\"transcriptSourceOrder\":1},\"transcriptPath\":\"/work/feature/.claude/session-1.jsonl\"}}" - }, - "7e8788afab15": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": true, - "loadingEarlier": true, - "messageIds": ["m-3", "m-4"], - "status": "ready", - "transcriptLoading": false - }, - "7eedfcf76fd3": { - "name": "nativeChat.unsubscribe#1", - "ordinal": 5, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.unsubscribe\",\"params\":{\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\"}}" - }, - "813c942b745a": { - "crash": { - "$rpc": "null" - }, - "error": "outer refused", - "hasMore": true, - "loadingEarlier": false, - "messageIds": ["m-3", "m-4", "m-5"], - "status": "ready", - "transcriptLoading": false - }, - "8f91342d7840": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": false, - "loadingEarlier": false, - "messageIds": ["m-1", "m-2", "m-3", "m-4", "m-5"], - "status": "ready", - "transcriptLoading": false - }, - "96abfc4cef7e": { - "name": "nativeChat.unsubscribe#1", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.unsubscribe\",\"params\":{\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\"}}" - }, - "9d464dc9697a": { - "name": "nativeChat.subscribe#2", - "ordinal": 2, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.subscribe\",\"params\":{\"agent\":\"claude\",\"sessionId\":\"session-1\",\"limit\":40,\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\",\"capabilities\":{\"transcriptPending\":1,\"transcriptSourceOrder\":1},\"transcriptPath\":\"/work/feature/.claude/session-1.jsonl\"}}" - }, - "9ec06f18374b": { - "crash": { - "$rpc": "null" - }, - "error": "Unknown method", - "hasMore": true, - "loadingEarlier": false, - "messageIds": ["m-3", "m-4", "m-5"], - "status": "ready", - "transcriptLoading": false - }, - "a2b8cf4aa6d5": { - "name": "nativeChat.unsubscribe#1", - "ordinal": 3, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.unsubscribe\",\"params\":{\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\"}}" - }, - "b09dcbf7cafc": { - "crash": { - "$rpc": "null" - }, - "error": "Unknown method", - "hasMore": false, - "loadingEarlier": false, - "messageIds": [], - "status": "error", - "transcriptLoading": false - }, - "c5cc569a5dda": { - "crash": { - "$rpc": "null" - }, - "error": "", - "hasMore": true, - "loadingEarlier": false, - "messageIds": ["m-3", "m-4", "m-5"], - "status": "ready", - "transcriptLoading": false - }, - "ceaa29eddfa6": { - "crash": { - "$rpc": "null" - }, - "error": "outer refused", - "hasMore": false, - "loadingEarlier": false, - "messageIds": [], - "status": "error", - "transcriptLoading": false - }, - "d4857c54be88": { - "crash": { - "$rpc": "null" - }, - "error": "", - "hasMore": false, - "loadingEarlier": false, - "messageIds": [], - "status": "error", - "transcriptLoading": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ee46c03cf1b8": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": false, - "loadingEarlier": false, - "messageIds": [], - "status": "loading", - "transcriptLoading": true - }, - "ee6413f61ce9": { - "name": "stream-listener-crash", - "ordinal": 2, - "value": { - "error": { - "category": "TypeError", - "isRpcDeliveryUnknown": false, - "message": "Cannot read properties of undefined (reading 'type')" - }, - "frame": "nativeChat.subscribe#1" - } - }, - "f179ea867dd1": { - "name": "stream-listener-crash", - "ordinal": 2, - "value": { - "error": { - "category": "TypeError", - "isRpcDeliveryUnknown": false, - "message": "Cannot read properties of null (reading 'type')" - }, - "frame": "nativeChat.subscribe#1" - } - }, - "f1dfb69b0f6f": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "fb84e5e8aefe": { - "name": "nativeChat.unsubscribe#2", - "ordinal": 5, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.unsubscribe\",\"params\":{\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\"}}" - } - }, - "recording": { - "scenario": "matrix-session.native-chat-page-nativechat.subscribe-1-1", - "checkpoints": [ - { - "id": "native-chat-page-earlier.prelude:subscribed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.normal:snapshot", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.normal:paging", - "observation": { - "sender": ["f1dfb69b0f6f"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "7e8788afab15", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.normal:paged", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.normal:re-subscribed", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.normal:replayed", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "8f91342d7840", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.normal:unmounted", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "8f91342d7840", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.result-absent:snapshot", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": ["ee6413f61ce9"] - } - }, - { - "id": "native-chat-page-earlier.result-absent:paging", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": ["ee6413f61ce9"] - } - }, - { - "id": "native-chat-page-earlier.result-absent:paged", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": ["ee6413f61ce9"] - } - }, - { - "id": "native-chat-page-earlier.result-absent:re-subscribed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "70a858645636", "96abfc4cef7e"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": ["ee6413f61ce9"] - } - }, - { - "id": "native-chat-page-earlier.result-absent:replayed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "70a858645636", "96abfc4cef7e"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": ["ee6413f61ce9"] - } - }, - { - "id": "native-chat-page-earlier.result-absent:unmounted", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "70a858645636", "96abfc4cef7e", "fb84e5e8aefe"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": ["ee6413f61ce9"] - } - }, - { - "id": "native-chat-page-earlier.result-null:snapshot", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": ["f179ea867dd1"] - } - }, - { - "id": "native-chat-page-earlier.result-null:paging", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": ["f179ea867dd1"] - } - }, - { - "id": "native-chat-page-earlier.result-null:paged", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": ["f179ea867dd1"] - } - }, - { - "id": "native-chat-page-earlier.result-null:re-subscribed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "70a858645636", "96abfc4cef7e"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": ["f179ea867dd1"] - } - }, - { - "id": "native-chat-page-earlier.result-null:replayed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "70a858645636", "96abfc4cef7e"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": ["f179ea867dd1"] - } - }, - { - "id": "native-chat-page-earlier.result-null:unmounted", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "70a858645636", "96abfc4cef7e", "fb84e5e8aefe"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": ["f179ea867dd1"] - } - }, - { - "id": "native-chat-page-earlier.inner-ok-missing:snapshot", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-ok-missing:paging", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-ok-missing:paged", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-ok-missing:re-subscribed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a", "a2b8cf4aa6d5"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-ok-missing:replayed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a", "a2b8cf4aa6d5"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-ok-missing:unmounted", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a", "a2b8cf4aa6d5", "1693563703b9"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-string-error:snapshot", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-string-error:paging", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-string-error:paged", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-string-error:re-subscribed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a", "a2b8cf4aa6d5"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-string-error:replayed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a", "a2b8cf4aa6d5"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-string-error:unmounted", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a", "a2b8cf4aa6d5", "1693563703b9"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-object-error:snapshot", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-object-error:paging", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-object-error:paged", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-object-error:re-subscribed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a", "a2b8cf4aa6d5"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-object-error:replayed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a", "a2b8cf4aa6d5"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-object-error:unmounted", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a", "a2b8cf4aa6d5", "1693563703b9"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "197fa03857dd", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused:snapshot", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ceaa29eddfa6", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused:paging", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "ceaa29eddfa6", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused:paged", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "ceaa29eddfa6", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused:re-subscribed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "ceaa29eddfa6", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused:replayed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "813c942b745a", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused:unmounted", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a", "a2b8cf4aa6d5"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "813c942b745a", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused-no-message:snapshot", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "d4857c54be88", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused-no-message:paging", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "d4857c54be88", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused-no-message:paged", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "d4857c54be88", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused-no-message:re-subscribed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "d4857c54be88", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused-no-message:replayed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "c5cc569a5dda", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused-no-message:unmounted", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a", "a2b8cf4aa6d5"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "c5cc569a5dda", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.method-not-found:snapshot", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "b09dcbf7cafc", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.method-not-found:paging", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "b09dcbf7cafc", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.method-not-found:paged", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "b09dcbf7cafc", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.method-not-found:re-subscribed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "b09dcbf7cafc", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.method-not-found:replayed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "9ec06f18374b", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.method-not-found:unmounted", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66", "9d464dc9697a", "a2b8cf4aa6d5"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "9ec06f18374b", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.native-chat-page-nativechat.subscribe-2-1.json b/mobile/rpc-foundation/goldens/matrix-session.native-chat-page-nativechat.subscribe-2-1.json deleted file mode 100644 index a2d04c3325b..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.native-chat-page-nativechat.subscribe-2-1.json +++ /dev/null @@ -1,637 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.native-chat-page", - "family": "session.native-chat-page", - "namedDeltas": [], - "values": { - "0943a7b4b434": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": false, - "loadingEarlier": false, - "messageIds": ["m-1", "m-2", "m-3", "m-4"], - "status": "ready", - "transcriptLoading": false - }, - "18a95418eb6d": { - "name": "nativeChat.readSession#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.readSession\",\"params\":{\"agent\":\"claude\",\"sessionId\":\"session-1\",\"limit\":60,\"capabilities\":{\"transcriptSourceOrder\":1},\"beforeOffset\":1200,\"transcriptPath\":\"/work/feature/.claude/session-1.jsonl\"}}" - }, - "2614fb8bb258": { - "name": "stream-listener-crash", - "ordinal": 6, - "value": { - "error": { - "category": "TypeError", - "isRpcDeliveryUnknown": false, - "message": "Cannot read properties of null (reading 'type')" - }, - "frame": "nativeChat.subscribe#2" - } - }, - "3e14b1ec5bde": { - "name": "nativeChat.unsubscribe#2", - "ordinal": 6, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.unsubscribe\",\"params\":{\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\"}}" - }, - "512a0c61c2d8": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "beforeOffset": 0, - "hasMore": false, - "messages": [ - { - "blocks": [ - { - "text": "first", - "type": "text" - } - ], - "id": "m-1", - "role": "assistant", - "source": "transcript", - "timestamp": 1000 - }, - { - "blocks": [ - { - "text": "second", - "type": "text" - } - ], - "id": "m-2", - "role": "assistant", - "source": "transcript", - "timestamp": 2000 - } - ] - } - } - } - }, - "6138b52f75d7": { - "name": "nativeChat.subscribe#2", - "ordinal": 4, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.subscribe\",\"params\":{\"agent\":\"claude\",\"sessionId\":\"session-1\",\"limit\":40,\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\",\"capabilities\":{\"transcriptPending\":1,\"transcriptSourceOrder\":1},\"transcriptPath\":\"/work/feature/.claude/session-1.jsonl\"}}" - }, - "6252ebf3de79": { - "name": "stream-listener-crash", - "ordinal": 6, - "value": { - "error": { - "category": "TypeError", - "isRpcDeliveryUnknown": false, - "message": "Cannot read properties of undefined (reading 'type')" - }, - "frame": "nativeChat.subscribe#2" - } - }, - "7b237e9824c8": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": true, - "loadingEarlier": false, - "messageIds": ["m-3", "m-4"], - "status": "ready", - "transcriptLoading": false - }, - "7cbe5e7d1f66": { - "name": "nativeChat.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.subscribe\",\"params\":{\"agent\":\"claude\",\"sessionId\":\"session-1\",\"limit\":40,\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\",\"capabilities\":{\"transcriptPending\":1,\"transcriptSourceOrder\":1},\"transcriptPath\":\"/work/feature/.claude/session-1.jsonl\"}}" - }, - "7e8788afab15": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": true, - "loadingEarlier": true, - "messageIds": ["m-3", "m-4"], - "status": "ready", - "transcriptLoading": false - }, - "7eedfcf76fd3": { - "name": "nativeChat.unsubscribe#1", - "ordinal": 5, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.unsubscribe\",\"params\":{\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\"}}" - }, - "8f91342d7840": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": false, - "loadingEarlier": false, - "messageIds": ["m-1", "m-2", "m-3", "m-4", "m-5"], - "status": "ready", - "transcriptLoading": false - }, - "a5609c6d15fc": { - "crash": { - "$rpc": "null" - }, - "error": "Unknown method", - "hasMore": false, - "loadingEarlier": false, - "messageIds": ["m-1", "m-2", "m-3", "m-4"], - "status": "error", - "transcriptLoading": false - }, - "b96b63e4aaf3": { - "crash": { - "$rpc": "null" - }, - "error": "outer refused", - "hasMore": false, - "loadingEarlier": false, - "messageIds": ["m-1", "m-2", "m-3", "m-4"], - "status": "error", - "transcriptLoading": false - }, - "d53372f95573": { - "crash": { - "$rpc": "null" - }, - "error": "", - "hasMore": false, - "loadingEarlier": false, - "messageIds": ["m-1", "m-2", "m-3", "m-4"], - "status": "error", - "transcriptLoading": false - }, - "e4483b4ab66e": { - "name": "nativeChat.unsubscribe#2", - "ordinal": 7, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"nativeChat.unsubscribe\",\"params\":{\"subscriptionId\":\"claude:session-1:00000000-0000-4000-8000-000000000001\"}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ee46c03cf1b8": { - "crash": { - "$rpc": "null" - }, - "error": { - "$rpc": "null" - }, - "hasMore": false, - "loadingEarlier": false, - "messageIds": [], - "status": "loading", - "transcriptLoading": true - }, - "f1dfb69b0f6f": { - "name": "nativeChat.readSession#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "nativeChat.readSession" - }, - { - "name": "params", - "value": { - "agent": "claude", - "beforeOffset": 1200, - "capabilities": { - "transcriptSourceOrder": 1 - }, - "limit": 60, - "sessionId": "session-1", - "transcriptPath": "/work/feature/.claude/session-1.jsonl" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - } - }, - "recording": { - "scenario": "matrix-session.native-chat-page-nativechat.subscribe-2-1", - "checkpoints": [ - { - "id": "native-chat-page-earlier.prelude:subscribed", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ee46c03cf1b8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.prelude:snapshot", - "observation": { - "sender": [], - "payloads": ["7cbe5e7d1f66"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7b237e9824c8", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.prelude:paging", - "observation": { - "sender": ["f1dfb69b0f6f"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "7e8788afab15", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.prelude:paged", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.prelude:re-subscribed", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.normal:replayed", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "8f91342d7840", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.normal:unmounted", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "8f91342d7840", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.result-absent:replayed", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": ["6252ebf3de79"] - } - }, - { - "id": "native-chat-page-earlier.result-absent:unmounted", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "e4483b4ab66e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": ["6252ebf3de79"] - } - }, - { - "id": "native-chat-page-earlier.result-null:replayed", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": ["2614fb8bb258"] - } - }, - { - "id": "native-chat-page-earlier.result-null:unmounted", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "e4483b4ab66e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": ["2614fb8bb258"] - } - }, - { - "id": "native-chat-page-earlier.inner-ok-missing:replayed", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-ok-missing:unmounted", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-string-error:replayed", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-string-error:unmounted", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-object-error:replayed", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.inner-false-object-error:unmounted", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": [ - "7cbe5e7d1f66", - "18a95418eb6d", - "6138b52f75d7", - "7eedfcf76fd3", - "3e14b1ec5bde" - ], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "0943a7b4b434", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused:replayed", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "b96b63e4aaf3", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused:unmounted", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "b96b63e4aaf3", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused-no-message:replayed", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "d53372f95573", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.outer-refused-no-message:unmounted", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "d53372f95573", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.method-not-found:replayed", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a" - }, - "state": "a5609c6d15fc", - "effects": [] - } - }, - { - "id": "native-chat-page-earlier.method-not-found:unmounted", - "observation": { - "sender": ["512a0c61c2d8"], - "payloads": ["7cbe5e7d1f66", "18a95418eb6d", "6138b52f75d7", "7eedfcf76fd3"], - "settlements": { - "mount": "eb79a9b3682a", - "page": "eb79a9b3682a", - "cutover": "eb79a9b3682a", - "unmount": "eb79a9b3682a" - }, - "state": "a5609c6d15fc", - "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 deleted file mode 100644 index fe03d3a9d25..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.native-chat-readability-repo.list-1.json +++ /dev/null @@ -1,547 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.native-chat-readability", - "family": "session.native-chat-readability", - "namedDeltas": [], - "values": { - "0b8777edb86c": { - "readable": false, - "worktreeId": "repo-1::/w" - }, - "12e70439f294": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "1321b4c8c0b8": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "19b2979d7fc2": { - "name": "repo.list#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "1b23dab83fcf": { - "name": "repo.list#1", - "ordinal": 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" - } - } - } - }, - "48c68906a98a": { - "name": "repo.list#1", - "ordinal": 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" - } - } - } - }, - "624ec4e5082c": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "70e0675ab2a9": { - "name": "repo.list#1", - "ordinal": 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" - } - ] - } - } - } - }, - "747c556da67a": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "8a72d3d14d44": { - "name": "repo.list#1", - "ordinal": 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 - } - } - } - }, - "d68475063b62": { - "name": "repo.list#1", - "ordinal": 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 - } - } - } - }, - "dae756300589": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "dcf89ce6b4ca": { - "readable": true, - "worktreeId": "repo-1::/w" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f1d579dd459c": { - "name": "repo.list#1", - "ordinal": 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 - } - } - } - }, - "recording": { - "scenario": "matrix-session.native-chat-readability-repo.list-1", - "checkpoints": [ - { - "id": "native-chat-readability-local-repo.normal:readable", - "observation": { - "sender": ["70e0675ab2a9"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dcf89ce6b4ca", - "effects": [] - } - }, - { - "id": "native-chat-readability-local-repo.result-absent:readable", - "observation": { - "sender": ["747c556da67a"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "0b8777edb86c", - "effects": [] - } - }, - { - "id": "native-chat-readability-local-repo.result-null:readable", - "observation": { - "sender": ["48c68906a98a"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "0b8777edb86c", - "effects": [] - } - }, - { - "id": "native-chat-readability-local-repo.inner-ok-missing:readable", - "observation": { - "sender": ["1b23dab83fcf"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "0b8777edb86c", - "effects": [] - } - }, - { - "id": "native-chat-readability-local-repo.inner-false-string-error:readable", - "observation": { - "sender": ["8a72d3d14d44"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "0b8777edb86c", - "effects": [] - } - }, - { - "id": "native-chat-readability-local-repo.inner-false-object-error:readable", - "observation": { - "sender": ["d68475063b62"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "0b8777edb86c", - "effects": [] - } - }, - { - "id": "native-chat-readability-local-repo.outer-refused:readable", - "observation": { - "sender": ["624ec4e5082c"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "0b8777edb86c", - "effects": [] - } - }, - { - "id": "native-chat-readability-local-repo.outer-refused-no-message:readable", - "observation": { - "sender": ["f1d579dd459c"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "0b8777edb86c", - "effects": [] - } - }, - { - "id": "native-chat-readability-local-repo.method-not-found:readable", - "observation": { - "sender": ["12e70439f294"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "0b8777edb86c", - "effects": [] - } - }, - { - "id": "native-chat-readability-local-repo.transport-rejection:readable", - "observation": { - "sender": ["dae756300589"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "0b8777edb86c", - "effects": [] - } - }, - { - "id": "native-chat-readability-local-repo.transport-rejection-no-message:readable", - "observation": { - "sender": ["1321b4c8c0b8"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "0b8777edb86c", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index b88aed6da29..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.native-chat-stop-terminal.send-1.json +++ /dev/null @@ -1,789 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.native-chat-stop", - "family": "session.native-chat-stop", - "namedDeltas": [], - "values": { - "08f063891b6e": { - "name": "terminal.send#1", - "ordinal": 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": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "1a7f859d2c49": { - "name": "terminal.send#1", - "ordinal": 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": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "3e2d28f3728b": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 1000, - "value": true - }, - "4b3ad1f19363": { - "name": "terminal.send#1", - "ordinal": 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": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "4c712df25964": { - "name": "terminal.send#1", - "ordinal": 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": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "4db98b98a612": { - "name": "terminal.send#1", - "ordinal": 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": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "5cd1d4a9aed5": { - "name": "terminal.send#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" - }, - "6669eafe604b": { - "name": "terminal.send#1", - "ordinal": 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": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "75263c07c807": { - "name": "cancel-pending", - "ordinal": 1, - "value": {} - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "ab0f3d65723e": { - "name": "terminal.send#1", - "ordinal": 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": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - }, - "b406684d86f2": { - "name": "terminal.send#1", - "ordinal": 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": 15000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "bbb8c9d51c2a": { - "name": "terminal.send#1", - "ordinal": 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": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "cfe4beb4c8c9": { - "name": "terminal.send#1", - "ordinal": 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": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "d5972c43f562": { - "name": "terminal.send#2", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" - }, - "da95ce195845": { - "name": "terminal.send#2", - "ordinal": 4, - "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": 14000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 1000, - "settledAt": 1000, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - }, - "debf84af8d66": { - "errors": [] - }, - "e218d5d3a813": { - "name": "terminal.send#1", - "ordinal": 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": 15000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - } - }, - "recording": { - "scenario": "matrix-session.native-chat-stop-terminal.send-1", - "checkpoints": [ - { - "id": "native-chat-stop-accepted.normal:first-accepted", - "observation": { - "sender": ["ab0f3d65723e"], - "payloads": ["5cd1d4a9aed5"], - "settlements": { - "stop": "9270aeb7d9c6" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.normal:settled", - "observation": { - "sender": ["ab0f3d65723e", "da95ce195845"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.result-absent:first-accepted", - "observation": { - "sender": ["1a7f859d2c49"], - "payloads": ["5cd1d4a9aed5"], - "settlements": { - "stop": "9270aeb7d9c6" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.result-absent:settled", - "observation": { - "sender": ["1a7f859d2c49", "da95ce195845"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.result-null:first-accepted", - "observation": { - "sender": ["4c712df25964"], - "payloads": ["5cd1d4a9aed5"], - "settlements": { - "stop": "9270aeb7d9c6" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.result-null:settled", - "observation": { - "sender": ["4c712df25964", "da95ce195845"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.inner-ok-missing:first-accepted", - "observation": { - "sender": ["4b3ad1f19363"], - "payloads": ["5cd1d4a9aed5"], - "settlements": { - "stop": "9270aeb7d9c6" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.inner-ok-missing:settled", - "observation": { - "sender": ["4b3ad1f19363", "da95ce195845"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.inner-false-string-error:first-accepted", - "observation": { - "sender": ["4db98b98a612"], - "payloads": ["5cd1d4a9aed5"], - "settlements": { - "stop": "9270aeb7d9c6" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.inner-false-string-error:settled", - "observation": { - "sender": ["4db98b98a612", "da95ce195845"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.inner-false-object-error:first-accepted", - "observation": { - "sender": ["cfe4beb4c8c9"], - "payloads": ["5cd1d4a9aed5"], - "settlements": { - "stop": "9270aeb7d9c6" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.inner-false-object-error:settled", - "observation": { - "sender": ["cfe4beb4c8c9", "da95ce195845"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.outer-refused:first-accepted", - "observation": { - "sender": ["6669eafe604b"], - "payloads": ["5cd1d4a9aed5"], - "settlements": { - "stop": "9270aeb7d9c6" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.outer-refused:settled", - "observation": { - "sender": ["6669eafe604b", "da95ce195845"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.outer-refused-no-message:first-accepted", - "observation": { - "sender": ["08f063891b6e"], - "payloads": ["5cd1d4a9aed5"], - "settlements": { - "stop": "9270aeb7d9c6" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.outer-refused-no-message:settled", - "observation": { - "sender": ["08f063891b6e", "da95ce195845"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.method-not-found:first-accepted", - "observation": { - "sender": ["bbb8c9d51c2a"], - "payloads": ["5cd1d4a9aed5"], - "settlements": { - "stop": "9270aeb7d9c6" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.method-not-found:settled", - "observation": { - "sender": ["bbb8c9d51c2a", "da95ce195845"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.transport-rejection:first-accepted", - "observation": { - "sender": ["e218d5d3a813"], - "payloads": ["5cd1d4a9aed5"], - "settlements": { - "stop": "9270aeb7d9c6" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.transport-rejection:settled", - "observation": { - "sender": ["e218d5d3a813", "da95ce195845"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.transport-rejection-no-message:first-accepted", - "observation": { - "sender": ["b406684d86f2"], - "payloads": ["5cd1d4a9aed5"], - "settlements": { - "stop": "9270aeb7d9c6" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.transport-rejection-no-message:settled", - "observation": { - "sender": ["b406684d86f2", "da95ce195845"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - } - ] - } -} 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 deleted file mode 100644 index 0ebd8a5e420..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.native-chat-stop-terminal.send-2.json +++ /dev/null @@ -1,669 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.native-chat-stop", - "family": "session.native-chat-stop", - "namedDeltas": [], - "values": { - "0e8d76e98554": { - "name": "terminal.send#2", - "ordinal": 4, - "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": 14000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 1000, - "settledAt": 1000, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "21535a6a4a7f": { - "name": "terminal.send#2", - "ordinal": 4, - "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": 14000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 1000, - "settledAt": 1000, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "3e2d28f3728b": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 1000, - "value": true - }, - "3e631ce91a49": { - "name": "terminal.send#2", - "ordinal": 4, - "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": 14000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 1000, - "settledAt": 1000, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "5c0962ff7d9f": { - "name": "terminal.send#2", - "ordinal": 4, - "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": 14000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 1000, - "settledAt": 1000, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "5cd1d4a9aed5": { - "name": "terminal.send#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" - }, - "5e7552db87b6": { - "name": "terminal.send#2", - "ordinal": 4, - "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": 14000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 1000, - "settledAt": 1000, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "75263c07c807": { - "name": "cancel-pending", - "ordinal": 1, - "value": {} - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "9b73c612f0f4": { - "name": "terminal.send#2", - "ordinal": 4, - "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": 14000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 1000, - "settledAt": 1000, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "a697b0d74bec": { - "name": "terminal.send#2", - "ordinal": 4, - "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": 14000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 1000, - "settledAt": 1000, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "aaae1fb9701c": { - "name": "terminal.send#2", - "ordinal": 4, - "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": 14000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 1000, - "settledAt": 1000, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "ab0f3d65723e": { - "name": "terminal.send#1", - "ordinal": 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": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - }, - "b480f223ca1e": { - "name": "terminal.send#2", - "ordinal": 4, - "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": 14000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 1000, - "settledAt": 1000, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "d3f04c4f6629": { - "name": "terminal.send#2", - "ordinal": 4, - "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": 14000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 1000, - "settledAt": 1000, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "d5972c43f562": { - "name": "terminal.send#2", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" - }, - "da95ce195845": { - "name": "terminal.send#2", - "ordinal": 4, - "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": 14000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 1000, - "settledAt": 1000, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - }, - "debf84af8d66": { - "errors": [] - } - }, - "recording": { - "scenario": "matrix-session.native-chat-stop-terminal.send-2", - "checkpoints": [ - { - "id": "native-chat-stop-accepted.prelude:first-accepted", - "observation": { - "sender": ["ab0f3d65723e"], - "payloads": ["5cd1d4a9aed5"], - "settlements": { - "stop": "9270aeb7d9c6" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.normal:settled", - "observation": { - "sender": ["ab0f3d65723e", "da95ce195845"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.result-absent:settled", - "observation": { - "sender": ["ab0f3d65723e", "a697b0d74bec"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.result-null:settled", - "observation": { - "sender": ["ab0f3d65723e", "5c0962ff7d9f"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.inner-ok-missing:settled", - "observation": { - "sender": ["ab0f3d65723e", "d3f04c4f6629"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.inner-false-string-error:settled", - "observation": { - "sender": ["ab0f3d65723e", "5e7552db87b6"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.inner-false-object-error:settled", - "observation": { - "sender": ["ab0f3d65723e", "0e8d76e98554"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.outer-refused:settled", - "observation": { - "sender": ["ab0f3d65723e", "b480f223ca1e"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.outer-refused-no-message:settled", - "observation": { - "sender": ["ab0f3d65723e", "21535a6a4a7f"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.method-not-found:settled", - "observation": { - "sender": ["ab0f3d65723e", "3e631ce91a49"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.transport-rejection:settled", - "observation": { - "sender": ["ab0f3d65723e", "9b73c612f0f4"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - }, - { - "id": "native-chat-stop-accepted.transport-rejection-no-message:settled", - "observation": { - "sender": ["ab0f3d65723e", "aaae1fb9701c"], - "payloads": ["5cd1d4a9aed5", "d5972c43f562"], - "settlements": { - "stop": "3e2d28f3728b" - }, - "state": "debf84af8d66", - "effects": ["75263c07c807"] - } - } - ] - } -} 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 deleted file mode 100644 index a16f72a2191..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-git.branchcompare-1.json +++ /dev/null @@ -1,897 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-branch-context", - "family": "session.pr-branch-context", - "namedDeltas": [], - "values": { - "064ec5d09de8": { - "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", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "0fc11d9bf2a5": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "baseRef": "origin/main", - "linkedPR": 12 - } - } - } - } - }, - "11e9ea6be860": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "189a62313626": { - "name": "repo.list#1", - "ordinal": 3, - "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" - } - ] - } - } - } - }, - "1daf48d588fb": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "1f10fad6906c": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "2aed715108d9": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "2d056d166720": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-4", - "ok": false - } - } - }, - "2e043987d998": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "622e5aadb43d": { - "name": "git.branchCompare#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" - }, - "648638103acb": { - "name": "repo.list#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "6d725a548285": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "6da1f95af186": { - "identity": "unread", - "repoContext": "unread" - }, - "738aa9f40ba9": { - "name": "repo.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "78a71705cc83": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-4", - "ok": false - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "95cef28060d8": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "bd12ddcc2b4f": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "c0f7fd87f4a5": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "entries": [ - { - "added": 1, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - } - } - }, - "d0e28a73dae6": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "d45add7a8589": { - "name": "git.status#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "ea4c904bfb5f": { - "name": "worktree.show#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "eddcdff704c3": { - "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", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - }, - "repoContext": "unread" - }, - "ede3857249b1": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "f9f0c7d74e69": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-4", - "ok": false - } - } - } - }, - "recording": { - "scenario": "matrix-session.pr-branch-context-git.branchcompare-1", - "checkpoints": [ - { - "id": "pr-branch-identity.prelude:pending", - "observation": { - "sender": ["11e9ea6be860", "1f10fad6906c", "738aa9f40ba9"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb"], - "settlements": { - "identity": "9270aeb7d9c6" - }, - "state": "6da1f95af186", - "effects": [] - } - }, - { - "id": "pr-branch-identity.normal:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.result-absent:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "189a62313626", "6d725a548285"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.result-null:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "189a62313626", "ede3857249b1"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.inner-ok-missing:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "189a62313626", "1daf48d588fb"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.inner-false-string-error:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "189a62313626", "95cef28060d8"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.inner-false-object-error:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "189a62313626", "2aed715108d9"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.outer-refused:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "189a62313626", "f9f0c7d74e69"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.outer-refused-no-message:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "189a62313626", "78a71705cc83"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.method-not-found:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "189a62313626", "2d056d166720"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.transport-rejection:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "189a62313626", "bd12ddcc2b4f"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.transport-rejection-no-message:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "189a62313626", "2e043987d998"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "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 deleted file mode 100644 index 064d88f9600..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-git.status-1.json +++ /dev/null @@ -1,933 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-branch-context", - "family": "session.pr-branch-context", - "namedDeltas": [], - "values": { - "064ec5d09de8": { - "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", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "0bd4c9fb1332": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "0fc11d9bf2a5": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "baseRef": "origin/main", - "linkedPR": 12 - } - } - } - } - }, - "11e9ea6be860": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "189a62313626": { - "name": "repo.list#1", - "ordinal": 3, - "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" - } - ] - } - } - } - }, - "1f10fad6906c": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "45d1ea7c0b42": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "5a46fcc976ac": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "622e5aadb43d": { - "name": "git.branchCompare#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" - }, - "648638103acb": { - "name": "repo.list#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "6da1f95af186": { - "identity": "unread", - "repoContext": "unread" - }, - "738aa9f40ba9": { - "name": "repo.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "86e1c3d2fb6b": { - "identity": { - "branch": { - "$rpc": "null" - }, - "headSha": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "status": { - "$rpc": "null" - } - }, - "repoContext": "unread" - }, - "8baf252a9a66": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b2181825a3ca": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "c0f7fd87f4a5": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "entries": [ - { - "added": 1, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - } - } - }, - "c33e0a3d4a1f": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "c4a22b2795dd": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "branch": { - "$rpc": "null" - }, - "headSha": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "status": { - "$rpc": "null" - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d0e28a73dae6": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "d45add7a8589": { - "name": "git.status#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "ea4c904bfb5f": { - "name": "worktree.show#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "eb92786433d3": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "ebfcf8909ca0": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "eddcdff704c3": { - "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", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - }, - "repoContext": "unread" - }, - "fa4ee3a35705": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "fb05490ae527": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - } - }, - "recording": { - "scenario": "matrix-session.pr-branch-context-git.status-1", - "checkpoints": [ - { - "id": "pr-branch-identity.prelude:pending", - "observation": { - "sender": ["11e9ea6be860", "1f10fad6906c", "738aa9f40ba9"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb"], - "settlements": { - "identity": "9270aeb7d9c6" - }, - "state": "6da1f95af186", - "effects": [] - } - }, - { - "id": "pr-branch-identity.normal:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.result-absent:identity", - "observation": { - "sender": ["8baf252a9a66", "0fc11d9bf2a5", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "c4a22b2795dd" - }, - "state": "86e1c3d2fb6b", - "effects": [] - } - }, - { - "id": "pr-branch-identity.result-null:identity", - "observation": { - "sender": ["c33e0a3d4a1f", "0fc11d9bf2a5", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "c4a22b2795dd" - }, - "state": "86e1c3d2fb6b", - "effects": [] - } - }, - { - "id": "pr-branch-identity.inner-ok-missing:identity", - "observation": { - "sender": ["ebfcf8909ca0", "0fc11d9bf2a5", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "c4a22b2795dd" - }, - "state": "86e1c3d2fb6b", - "effects": [] - } - }, - { - "id": "pr-branch-identity.inner-false-string-error:identity", - "observation": { - "sender": ["5a46fcc976ac", "0fc11d9bf2a5", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "c4a22b2795dd" - }, - "state": "86e1c3d2fb6b", - "effects": [] - } - }, - { - "id": "pr-branch-identity.inner-false-object-error:identity", - "observation": { - "sender": ["fb05490ae527", "0fc11d9bf2a5", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "c4a22b2795dd" - }, - "state": "86e1c3d2fb6b", - "effects": [] - } - }, - { - "id": "pr-branch-identity.outer-refused:identity", - "observation": { - "sender": ["b2181825a3ca", "0fc11d9bf2a5", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "c4a22b2795dd" - }, - "state": "86e1c3d2fb6b", - "effects": [] - } - }, - { - "id": "pr-branch-identity.outer-refused-no-message:identity", - "observation": { - "sender": ["0bd4c9fb1332", "0fc11d9bf2a5", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "c4a22b2795dd" - }, - "state": "86e1c3d2fb6b", - "effects": [] - } - }, - { - "id": "pr-branch-identity.method-not-found:identity", - "observation": { - "sender": ["45d1ea7c0b42", "0fc11d9bf2a5", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "c4a22b2795dd" - }, - "state": "86e1c3d2fb6b", - "effects": [] - } - }, - { - "id": "pr-branch-identity.transport-rejection:identity", - "observation": { - "sender": ["eb92786433d3", "0fc11d9bf2a5", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "a947768bc0ed" - }, - "state": "6da1f95af186", - "effects": [] - } - }, - { - "id": "pr-branch-identity.transport-rejection-no-message:identity", - "observation": { - "sender": ["fa4ee3a35705", "0fc11d9bf2a5", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "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 deleted file mode 100644 index 3c06ede06fc..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-repo.list-1.json +++ /dev/null @@ -1,887 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-branch-context", - "family": "session.pr-branch-context", - "namedDeltas": [], - "values": { - "03628457e494": { - "name": "repo.list#1", - "ordinal": 3, - "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 - } - } - }, - "064ec5d09de8": { - "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", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "0fc11d9bf2a5": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "baseRef": "origin/main", - "linkedPR": 12 - } - } - } - } - }, - "11e9ea6be860": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "16f3b408254b": { - "name": "repo.list#1", - "ordinal": 3, - "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 - } - } - } - }, - "189a62313626": { - "name": "repo.list#1", - "ordinal": 3, - "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" - } - ] - } - } - } - }, - "1f10fad6906c": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "22bd3b4b3cd0": { - "name": "repo.list#1", - "ordinal": 3, - "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" - } - } - } - }, - "235244774153": { - "name": "repo.list#1", - "ordinal": 3, - "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 - } - } - }, - "35ed1ca1f704": { - "name": "repo.list#1", - "ordinal": 3, - "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" - } - } - } - }, - "4a8214d9a3ed": { - "name": "repo.list#1", - "ordinal": 3, - "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 - } - } - }, - "4bacf9ca69b3": { - "name": "repo.list#1", - "ordinal": 3, - "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 - } - } - }, - "61632cddf4b9": { - "name": "repo.list#1", - "ordinal": 3, - "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 - } - } - }, - "622e5aadb43d": { - "name": "git.branchCompare#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" - }, - "648638103acb": { - "name": "repo.list#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "6da1f95af186": { - "identity": "unread", - "repoContext": "unread" - }, - "738aa9f40ba9": { - "name": "repo.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "b7d1d887631a": { - "name": "repo.list#1", - "ordinal": 3, - "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 - } - } - } - }, - "c0f7fd87f4a5": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "entries": [ - { - "added": 1, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - } - } - }, - "d0e28a73dae6": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "d45add7a8589": { - "name": "git.status#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "d5c9abd94695": { - "name": "repo.list#1", - "ordinal": 3, - "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 - } - } - }, - "ea4c904bfb5f": { - "name": "worktree.show#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "eddcdff704c3": { - "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", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - }, - "repoContext": "unread" - } - }, - "recording": { - "scenario": "matrix-session.pr-branch-context-repo.list-1", - "checkpoints": [ - { - "id": "pr-branch-identity.prelude:pending", - "observation": { - "sender": ["11e9ea6be860", "1f10fad6906c", "738aa9f40ba9"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb"], - "settlements": { - "identity": "9270aeb7d9c6" - }, - "state": "6da1f95af186", - "effects": [] - } - }, - { - "id": "pr-branch-identity.normal:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.result-absent:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "61632cddf4b9", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.result-null:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "35ed1ca1f704", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.inner-ok-missing:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "22bd3b4b3cd0", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.inner-false-string-error:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "b7d1d887631a", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.inner-false-object-error:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "16f3b408254b", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.outer-refused:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "d5c9abd94695", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.outer-refused-no-message:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "235244774153", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.method-not-found:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "4bacf9ca69b3", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.transport-rejection:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "4a8214d9a3ed", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.transport-rejection-no-message:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "03628457e494", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "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 deleted file mode 100644 index d7f14e5d4d7..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.pr-branch-context-worktree.show-1.json +++ /dev/null @@ -1,887 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-branch-context", - "family": "session.pr-branch-context", - "namedDeltas": [], - "values": { - "03dabf7904c5": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "064ec5d09de8": { - "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", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - } - }, - "0fc11d9bf2a5": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "baseRef": "origin/main", - "linkedPR": 12 - } - } - } - } - }, - "11e9ea6be860": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "189a62313626": { - "name": "repo.list#1", - "ordinal": 3, - "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" - } - ] - } - } - } - }, - "1a1f37b92aca": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "1f10fad6906c": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3fdee65f324d": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "5087d259003b": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "552f85dcd6b4": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "622e5aadb43d": { - "name": "git.branchCompare#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"git.branchCompare\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"baseRef\":\"origin/main\"}}" - }, - "648638103acb": { - "name": "repo.list#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "6da1f95af186": { - "identity": "unread", - "repoContext": "unread" - }, - "738aa9f40ba9": { - "name": "repo.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "7eb2a61711fc": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "ade44fd82eca": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "c0f7fd87f4a5": { - "name": "git.branchCompare#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "git.branchCompare" - }, - { - "name": "params", - "value": { - "baseRef": "origin/main", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "entries": [ - { - "added": 1, - "path": "src/old.ts", - "removed": 0, - "status": "modified" - } - ], - "summary": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "changedFiles": 1, - "compareRef": "feature", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567", - "status": "ready" - } - } - } - } - }, - "d0e28a73dae6": { - "name": "git.status#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.status" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "branch": "feature", - "entries": [ - { - "added": 3, - "area": "unstaged", - "path": "src/app.ts", - "removed": 1, - "status": "modified" - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "hasUpstream": true - } - } - } - } - }, - "d45add7a8589": { - "name": "git.status#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.status\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "ea4c904bfb5f": { - "name": "worktree.show#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "eddcdff704c3": { - "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", - "submodule": { - "$rpc": "undefined" - }, - "submoduleRoot": { - "$rpc": "undefined" - } - } - ], - "head": "head-sha-1", - "upstreamStatus": { - "ahead": 1, - "behind": 0, - "behindCommitsArePatchEquivalent": { - "$rpc": "undefined" - }, - "hasConfiguredPushTarget": { - "$rpc": "undefined" - }, - "hasUpstream": true, - "upstreamName": { - "$rpc": "undefined" - } - } - } - }, - "repoContext": "unread" - }, - "f14112e24d21": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "f6b2f58dcf76": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "f8ad59a07e10": { - "name": "worktree.show#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - } - }, - "recording": { - "scenario": "matrix-session.pr-branch-context-worktree.show-1", - "checkpoints": [ - { - "id": "pr-branch-identity.prelude:pending", - "observation": { - "sender": ["11e9ea6be860", "1f10fad6906c", "738aa9f40ba9"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb"], - "settlements": { - "identity": "9270aeb7d9c6" - }, - "state": "6da1f95af186", - "effects": [] - } - }, - { - "id": "pr-branch-identity.normal:identity", - "observation": { - "sender": ["d0e28a73dae6", "0fc11d9bf2a5", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.result-absent:identity", - "observation": { - "sender": ["d0e28a73dae6", "7eb2a61711fc", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.result-null:identity", - "observation": { - "sender": ["d0e28a73dae6", "552f85dcd6b4", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.inner-ok-missing:identity", - "observation": { - "sender": ["d0e28a73dae6", "f6b2f58dcf76", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.inner-false-string-error:identity", - "observation": { - "sender": ["d0e28a73dae6", "ade44fd82eca", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.inner-false-object-error:identity", - "observation": { - "sender": ["d0e28a73dae6", "f8ad59a07e10", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.outer-refused:identity", - "observation": { - "sender": ["d0e28a73dae6", "f14112e24d21", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.outer-refused-no-message:identity", - "observation": { - "sender": ["d0e28a73dae6", "5087d259003b", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.method-not-found:identity", - "observation": { - "sender": ["d0e28a73dae6", "1a1f37b92aca", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.transport-rejection:identity", - "observation": { - "sender": ["d0e28a73dae6", "03dabf7904c5", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - }, - { - "id": "pr-branch-identity.transport-rejection-no-message:identity", - "observation": { - "sender": ["d0e28a73dae6", "3fdee65f324d", "189a62313626", "c0f7fd87f4a5"], - "payloads": ["d45add7a8589", "ea4c904bfb5f", "648638103acb", "622e5aadb43d"], - "settlements": { - "identity": "064ec5d09de8" - }, - "state": "eddcdff704c3", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-github.prchecks-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-github.prchecks-1.json deleted file mode 100644 index 7693f29ada4..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-github.prchecks-1.json +++ /dev/null @@ -1,1807 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-sidebar", - "family": "session.pr-sidebar", - "namedDeltas": [], - "values": { - "0730389db3e9": { - "name": "hostedReview.forBranch#1", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":null,\"active\":true}}" - }, - "0d9f7988ff86": { - "name": "github.prChecks#1", - "ordinal": 13, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "1287167eaf56": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "owner": "owner", - "repo": "repo" - } - } - } - }, - "1287efa543e2": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "1f5765918736": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" - }, - "21069b5e026b": { - "name": "streams-registered-at-teardown", - "ordinal": 15, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "2dc2ca47b4e7": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "341c71d5f61d": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": [], - "checksError": "The host sent a reply this app could not read (github.prChecks)", - "comments": [ - { - "body": "please fix", - "id": 55, - "resolved": false - } - ], - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "34fe99d9471b": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": [], - "checksError": "transport failure", - "comments": [ - { - "body": "please fix", - "id": 55, - "resolved": false - } - ], - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "35045fa5a752": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "kind": "loading" - } - }, - "357f9b7862e3": { - "name": "worktree.show#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "3a8e6b13f380": { - "name": "github.prForBranch#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":12,\"acceptMergedFallbackPR\":true,\"currentHeadOid\":null}}" - }, - "3ecc2d44a209": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "4c6c7242d783": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-6", - "ok": false - } - } - }, - "4da7ea39401b": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "worktree": { - "linkedPR": { - "$rpc": "null" - } - } - } - } - } - }, - "5d309fcf43a7": { - "name": "github.workItemDetails#1", - "ordinal": 16, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "7568e9226f82": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true - } - } - }, - "75885386f005": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "mergeable": "MERGEABLE", - "number": 12, - "provider": "github", - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - }, - "861c8796ae1f": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "status": "completed" - } - ] - } - } - }, - "86e0e245ccff": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-6", - "ok": false - } - } - }, - "86fa720b0be0": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "870c2b9bacd0": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "88a93ee200e3": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": [], - "checksError": "Request failed: github.prChecks", - "comments": [ - { - "body": "please fix", - "id": 55, - "resolved": false - } - ], - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "8b7e690466d7": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "runtimeId": "recorded" - } - } - } - }, - "8e587952852c": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": [], - "checksError": "", - "comments": [ - { - "body": "please fix", - "id": 55, - "resolved": false - } - ], - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "9091d133c3b0": { - "name": "reply-salvage", - "ordinal": 8, - "value": { - "droppedCount": 1, - "droppedPaths": ["linkedPR"], - "method": "worktree.show", - "operation": "worktree.summary-or-skip", - "variant": "worktree-summary" - } - }, - "97a4d630a57b": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "99d7140d3603": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-6", - "ok": false - } - } - }, - "9a1e69260642": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": [], - "checksError": "Unknown method", - "comments": [ - { - "body": "please fix", - "id": 55, - "resolved": false - } - ], - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "9c18ac090c8c": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "a55c83eeaeea": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "fetchedAt": 0, - "kind": "found", - "pr": { - "headSha": "head-sha-1", - "mergeable": "MERGEABLE", - "number": 12, - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "a74156a14b4c": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "a7e609fcb031": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "aec2edd8fc3a": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "bd448e85868e": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": [], - "checksError": "outer refused", - "comments": [ - { - "body": "please fix", - "id": 55, - "resolved": false - } - ], - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "bfd4f750fc70": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "bfedf583a747": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "body": "body", - "comments": [ - { - "author": "rev", - "body": "please fix", - "createdAt": "2026-01-01T00:00:00Z", - "id": 55, - "isResolved": false, - "line": 3, - "path": "src/app.ts", - "threadId": "thread-1", - "url": "https://github.com/owner/repo/pull/12#discussion_r55" - } - ], - "headSha": "head-sha-1", - "item": { - "assignees": [], - "id": "PR_1", - "labels": [], - "number": 12, - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "c70e6fd19823": { - "name": "streams-registered-at-teardown", - "ordinal": 17, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "de33f50efdbf": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "e0a11d8a1005": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": ["build:success"], - "checksError": { - "$rpc": "null" - }, - "comments": [ - { - "body": "please fix", - "id": 55, - "resolved": false - } - ], - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "e10925fa98de": { - "name": "status.get#1", - "ordinal": 14, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-session.pr-sidebar-github.prchecks-1", - "checkpoints": [ - { - "id": "pr-sidebar-load.prelude:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "2dc2ca47b4e7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.prelude:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.prelude:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "86fa720b0be0", - "1287efa543e2" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0", "21069b5e026b"] - } - }, - { - "id": "pr-sidebar-load.normal:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.normal:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.result-absent:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "7568e9226f82", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "341c71d5f61d", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-absent:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "7568e9226f82", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "341c71d5f61d", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.result-null:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "de33f50efdbf", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "341c71d5f61d", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-null:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "de33f50efdbf", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "341c71d5f61d", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "aec2edd8fc3a", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "341c71d5f61d", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "aec2edd8fc3a", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "341c71d5f61d", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "a74156a14b4c", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "341c71d5f61d", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "a74156a14b4c", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "341c71d5f61d", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "bfd4f750fc70", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "341c71d5f61d", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "bfd4f750fc70", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "341c71d5f61d", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.outer-refused:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "4c6c7242d783", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "bd448e85868e", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "4c6c7242d783", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "bd448e85868e", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "99d7140d3603", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "88a93ee200e3", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "99d7140d3603", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "88a93ee200e3", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.method-not-found:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "86e0e245ccff", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9a1e69260642", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.method-not-found:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "86e0e245ccff", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9a1e69260642", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "97a4d630a57b", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "34fe99d9471b", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "97a4d630a57b", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "34fe99d9471b", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "9c18ac090c8c", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8e587952852c", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "9c18ac090c8c", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8e587952852c", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-github.prforbranch-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-github.prforbranch-1.json deleted file mode 100644 index 6367cc642fe..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-github.prforbranch-1.json +++ /dev/null @@ -1,1736 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-sidebar", - "family": "session.pr-sidebar", - "namedDeltas": [], - "values": { - "0730389db3e9": { - "name": "hostedReview.forBranch#1", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":null,\"active\":true}}" - }, - "088f322e6eb7": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "0d9f7988ff86": { - "name": "github.prChecks#1", - "ordinal": 13, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "1287167eaf56": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "owner": "owner", - "repo": "repo" - } - } - } - }, - "1f5765918736": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" - }, - "20f106bf7e22": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-5", - "ok": false - } - } - }, - "2512dcf505e6": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "29120132bf36": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "kind": "error", - "message": "" - } - }, - "2dc2ca47b4e7": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "35045fa5a752": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "kind": "loading" - } - }, - "357f9b7862e3": { - "name": "worktree.show#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "3a8e6b13f380": { - "name": "github.prForBranch#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":12,\"acceptMergedFallbackPR\":true,\"currentHeadOid\":null}}" - }, - "3a96bb9c2176": { - "name": "streams-registered-at-teardown", - "ordinal": 11, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "3ecc2d44a209": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "4da7ea39401b": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "worktree": { - "linkedPR": { - "$rpc": "null" - } - } - } - } - } - }, - "5d309fcf43a7": { - "name": "github.workItemDetails#1", - "ordinal": 16, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "60a05a6771b8": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "615ca8b7764b": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true - } - } - }, - "62fcc5c3eaf3": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "6b1694d3660f": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "kind": "none" - } - }, - "6ed2d1d6c61b": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "kind": "error", - "message": "Unknown method" - } - }, - "70a12ff07dad": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "75885386f005": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "mergeable": "MERGEABLE", - "number": 12, - "provider": "github", - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - }, - "861c8796ae1f": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "status": "completed" - } - ] - } - } - }, - "870c2b9bacd0": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8b7e690466d7": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "runtimeId": "recorded" - } - } - } - }, - "8c6393c116e0": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-5", - "ok": false - } - } - }, - "9091d133c3b0": { - "name": "reply-salvage", - "ordinal": 8, - "value": { - "droppedCount": 1, - "droppedPaths": ["linkedPR"], - "method": "worktree.show", - "operation": "worktree.summary-or-skip", - "variant": "worktree-summary" - } - }, - "9165ce8cf517": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "kind": "error", - "message": "transport failure" - } - }, - "98aa27f6bdff": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "kind": "error", - "message": "The host sent a reply this app could not read (github.prForBranch)" - } - }, - "a55c83eeaeea": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "fetchedAt": 0, - "kind": "found", - "pr": { - "headSha": "head-sha-1", - "mergeable": "MERGEABLE", - "number": 12, - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "a7e609fcb031": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "b772fc418001": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "kind": "error", - "message": "Request failed: github.prForBranch" - } - }, - "bb7ae1ebe69f": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "kind": "error", - "message": "outer refused" - } - }, - "bfedf583a747": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "body": "body", - "comments": [ - { - "author": "rev", - "body": "please fix", - "createdAt": "2026-01-01T00:00:00Z", - "id": 55, - "isResolved": false, - "line": 3, - "path": "src/app.ts", - "threadId": "thread-1", - "url": "https://github.com/owner/repo/pull/12#discussion_r55" - } - ], - "headSha": "head-sha-1", - "item": { - "assignees": [], - "id": "PR_1", - "labels": [], - "number": 12, - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "c70e6fd19823": { - "name": "streams-registered-at-teardown", - "ordinal": 17, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "e0a11d8a1005": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": ["build:success"], - "checksError": { - "$rpc": "null" - }, - "comments": [ - { - "body": "please fix", - "id": 55, - "resolved": false - } - ], - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "e10925fa98de": { - "name": "status.get#1", - "ordinal": 14, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "e2f2c0961b68": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-5", - "ok": false - } - } - }, - "e43b72b94bc2": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f8e83ca4970c": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - } - }, - "recording": { - "scenario": "matrix-session.pr-sidebar-github.prforbranch-1", - "checkpoints": [ - { - "id": "pr-sidebar-load.prelude:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "2dc2ca47b4e7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.prelude:cleanup", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "f8e83ca4970c"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0", "3a96bb9c2176"] - } - }, - { - "id": "pr-sidebar-load.normal:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.normal:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.normal:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.result-absent:pr", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "615ca8b7764b"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "98aa27f6bdff", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-absent:loaded", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "615ca8b7764b"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "98aa27f6bdff", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-absent:cleanup", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "615ca8b7764b"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "98aa27f6bdff", - "effects": ["9091d133c3b0", "3a96bb9c2176"] - } - }, - { - "id": "pr-sidebar-load.result-null:pr", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "2512dcf505e6"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6b1694d3660f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-null:loaded", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "2512dcf505e6"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6b1694d3660f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-null:cleanup", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "2512dcf505e6"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6b1694d3660f", - "effects": ["9091d133c3b0", "3a96bb9c2176"] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:pr", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "70a12ff07dad"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "98aa27f6bdff", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:loaded", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "70a12ff07dad"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "98aa27f6bdff", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:cleanup", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "70a12ff07dad"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "98aa27f6bdff", - "effects": ["9091d133c3b0", "3a96bb9c2176"] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:pr", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "e43b72b94bc2"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "98aa27f6bdff", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:loaded", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "e43b72b94bc2"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "98aa27f6bdff", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:cleanup", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "e43b72b94bc2"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "98aa27f6bdff", - "effects": ["9091d133c3b0", "3a96bb9c2176"] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:pr", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "60a05a6771b8"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "98aa27f6bdff", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:loaded", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "60a05a6771b8"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "98aa27f6bdff", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:cleanup", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "60a05a6771b8"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "98aa27f6bdff", - "effects": ["9091d133c3b0", "3a96bb9c2176"] - } - }, - { - "id": "pr-sidebar-load.outer-refused:pr", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "8c6393c116e0"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "bb7ae1ebe69f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused:loaded", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "8c6393c116e0"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "bb7ae1ebe69f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused:cleanup", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "8c6393c116e0"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "bb7ae1ebe69f", - "effects": ["9091d133c3b0", "3a96bb9c2176"] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:pr", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "e2f2c0961b68"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "b772fc418001", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:loaded", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "e2f2c0961b68"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "b772fc418001", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:cleanup", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "e2f2c0961b68"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "b772fc418001", - "effects": ["9091d133c3b0", "3a96bb9c2176"] - } - }, - { - "id": "pr-sidebar-load.method-not-found:pr", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "20f106bf7e22"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6ed2d1d6c61b", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.method-not-found:loaded", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "20f106bf7e22"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6ed2d1d6c61b", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.method-not-found:cleanup", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "20f106bf7e22"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6ed2d1d6c61b", - "effects": ["9091d133c3b0", "3a96bb9c2176"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:pr", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "62fcc5c3eaf3"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9165ce8cf517", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:loaded", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "62fcc5c3eaf3"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9165ce8cf517", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:cleanup", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "62fcc5c3eaf3"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9165ce8cf517", - "effects": ["9091d133c3b0", "3a96bb9c2176"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:pr", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "088f322e6eb7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "29120132bf36", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:loaded", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "088f322e6eb7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "29120132bf36", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:cleanup", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "088f322e6eb7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "29120132bf36", - "effects": ["9091d133c3b0", "3a96bb9c2176"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-github.reposlug-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-github.reposlug-1.json deleted file mode 100644 index 7f0fa06771b..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-github.reposlug-1.json +++ /dev/null @@ -1,1331 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-sidebar", - "family": "session.pr-sidebar", - "namedDeltas": [], - "values": { - "0730389db3e9": { - "name": "hostedReview.forBranch#1", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":null,\"active\":true}}" - }, - "0d9f7988ff86": { - "name": "github.prChecks#1", - "ordinal": 13, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "1287167eaf56": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "owner": "owner", - "repo": "repo" - } - } - } - }, - "1f5765918736": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" - }, - "2c045643bad3": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "2dc2ca47b4e7": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "30a3a771295b": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "35045fa5a752": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "kind": "loading" - } - }, - "357f9b7862e3": { - "name": "worktree.show#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "3a8e6b13f380": { - "name": "github.prForBranch#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":12,\"acceptMergedFallbackPR\":true,\"currentHeadOid\":null}}" - }, - "3ecc2d44a209": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "4da7ea39401b": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "worktree": { - "linkedPR": { - "$rpc": "null" - } - } - } - } - } - }, - "5d309fcf43a7": { - "name": "github.workItemDetails#1", - "ordinal": 16, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "75885386f005": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "mergeable": "MERGEABLE", - "number": 12, - "provider": "github", - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - }, - "844ae18ec0ad": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "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 - } - } - } - }, - "861c8796ae1f": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "status": "completed" - } - ] - } - } - }, - "870c2b9bacd0": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "87a169b1b8d4": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "8b7e690466d7": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "runtimeId": "recorded" - } - } - } - }, - "8f61497cd001": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "90129a147e00": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "9091d133c3b0": { - "name": "reply-salvage", - "ordinal": 8, - "value": { - "droppedCount": 1, - "droppedPaths": ["linkedPR"], - "method": "worktree.show", - "operation": "worktree.summary-or-skip", - "variant": "worktree-summary" - } - }, - "a55c83eeaeea": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "fetchedAt": 0, - "kind": "found", - "pr": { - "headSha": "head-sha-1", - "mergeable": "MERGEABLE", - "number": 12, - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "a7e609fcb031": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "abae46078fe1": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "b77761a8ce16": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "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 - } - } - }, - "ba56321103aa": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "bfedf583a747": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "body": "body", - "comments": [ - { - "author": "rev", - "body": "please fix", - "createdAt": "2026-01-01T00:00:00Z", - "id": 55, - "isResolved": false, - "line": 3, - "path": "src/app.ts", - "threadId": "thread-1", - "url": "https://github.com/owner/repo/pull/12#discussion_r55" - } - ], - "headSha": "head-sha-1", - "item": { - "assignees": [], - "id": "PR_1", - "labels": [], - "number": 12, - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "c1bb3c2243f0": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "c70e6fd19823": { - "name": "streams-registered-at-teardown", - "ordinal": 17, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "e0a11d8a1005": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": ["build:success"], - "checksError": { - "$rpc": "null" - }, - "comments": [ - { - "body": "please fix", - "id": 55, - "resolved": false - } - ], - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "e10925fa98de": { - "name": "status.get#1", - "ordinal": 14, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "ead3ad184e51": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "kind": "hidden" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-session.pr-sidebar-github.reposlug-1", - "checkpoints": [ - { - "id": "pr-sidebar-load.normal:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "2dc2ca47b4e7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.normal:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.normal:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.normal:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.result-absent:branch-hint", - "observation": { - "sender": ["30a3a771295b"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.result-absent:pr", - "observation": { - "sender": ["30a3a771295b"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.result-absent:loaded", - "observation": { - "sender": ["30a3a771295b"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.result-null:branch-hint", - "observation": { - "sender": ["c1bb3c2243f0"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.result-null:pr", - "observation": { - "sender": ["c1bb3c2243f0"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.result-null:loaded", - "observation": { - "sender": ["c1bb3c2243f0"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:branch-hint", - "observation": { - "sender": ["2c045643bad3"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:pr", - "observation": { - "sender": ["2c045643bad3"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:loaded", - "observation": { - "sender": ["2c045643bad3"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:branch-hint", - "observation": { - "sender": ["ba56321103aa"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:pr", - "observation": { - "sender": ["ba56321103aa"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:loaded", - "observation": { - "sender": ["ba56321103aa"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:branch-hint", - "observation": { - "sender": ["844ae18ec0ad"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:pr", - "observation": { - "sender": ["844ae18ec0ad"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:loaded", - "observation": { - "sender": ["844ae18ec0ad"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.outer-refused:branch-hint", - "observation": { - "sender": ["8f61497cd001"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.outer-refused:pr", - "observation": { - "sender": ["8f61497cd001"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.outer-refused:loaded", - "observation": { - "sender": ["8f61497cd001"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:branch-hint", - "observation": { - "sender": ["87a169b1b8d4"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:pr", - "observation": { - "sender": ["87a169b1b8d4"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:loaded", - "observation": { - "sender": ["87a169b1b8d4"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.method-not-found:branch-hint", - "observation": { - "sender": ["b77761a8ce16"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.method-not-found:pr", - "observation": { - "sender": ["b77761a8ce16"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.method-not-found:loaded", - "observation": { - "sender": ["b77761a8ce16"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:branch-hint", - "observation": { - "sender": ["abae46078fe1"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:pr", - "observation": { - "sender": ["abae46078fe1"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:loaded", - "observation": { - "sender": ["abae46078fe1"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:branch-hint", - "observation": { - "sender": ["90129a147e00"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:pr", - "observation": { - "sender": ["90129a147e00"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:loaded", - "observation": { - "sender": ["90129a147e00"], - "payloads": ["1f5765918736"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ead3ad184e51", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-github.workitemdetails-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-github.workitemdetails-1.json deleted file mode 100644 index 548a7b86972..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-github.workitemdetails-1.json +++ /dev/null @@ -1,1686 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-sidebar", - "family": "session.pr-sidebar", - "namedDeltas": [], - "values": { - "0730389db3e9": { - "name": "hostedReview.forBranch#1", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":null,\"active\":true}}" - }, - "0d9f7988ff86": { - "name": "github.prChecks#1", - "ordinal": 13, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "1287167eaf56": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "owner": "owner", - "repo": "repo" - } - } - } - }, - "1a5855cadb2d": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "1f5765918736": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" - }, - "2dc2ca47b4e7": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "313cd9c49244": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-8", - "ok": false - } - } - }, - "35045fa5a752": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "kind": "loading" - } - }, - "357f9b7862e3": { - "name": "worktree.show#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "3a8e6b13f380": { - "name": "github.prForBranch#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":12,\"acceptMergedFallbackPR\":true,\"currentHeadOid\":null}}" - }, - "3ecc2d44a209": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "476aa8b45a85": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "4da7ea39401b": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "worktree": { - "linkedPR": { - "$rpc": "null" - } - } - } - } - } - }, - "5a5e8aeb9c0f": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": ["build:success"], - "checksError": { - "$rpc": "null" - }, - "comments": [], - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "5d309fcf43a7": { - "name": "github.workItemDetails#1", - "ordinal": 16, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "5f7634e4c4d1": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "74b5741dc1b5": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-8", - "ok": false - } - } - }, - "7512c5d8922e": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": ["build:success"], - "checksError": { - "$rpc": "null" - }, - "comments": "loading", - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "75885386f005": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "mergeable": "MERGEABLE", - "number": 12, - "provider": "github", - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - }, - "7a97965fe49a": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "861c8796ae1f": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "status": "completed" - } - ] - } - } - }, - "870c2b9bacd0": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8b7e690466d7": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "runtimeId": "recorded" - } - } - } - }, - "9091d133c3b0": { - "name": "reply-salvage", - "ordinal": 8, - "value": { - "droppedCount": 1, - "droppedPaths": ["linkedPR"], - "method": "worktree.show", - "operation": "worktree.summary-or-skip", - "variant": "worktree-summary" - } - }, - "a55c83eeaeea": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "fetchedAt": 0, - "kind": "found", - "pr": { - "headSha": "head-sha-1", - "mergeable": "MERGEABLE", - "number": 12, - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "a73b8a815948": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-8", - "ok": false - } - } - }, - "a7e609fcb031": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "b242c87f7cf1": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true - } - } - }, - "bfedf583a747": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "body": "body", - "comments": [ - { - "author": "rev", - "body": "please fix", - "createdAt": "2026-01-01T00:00:00Z", - "id": 55, - "isResolved": false, - "line": 3, - "path": "src/app.ts", - "threadId": "thread-1", - "url": "https://github.com/owner/repo/pull/12#discussion_r55" - } - ], - "headSha": "head-sha-1", - "item": { - "assignees": [], - "id": "PR_1", - "labels": [], - "number": 12, - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "c70e6fd19823": { - "name": "streams-registered-at-teardown", - "ordinal": 17, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "caea72638868": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "d006e932f1bf": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "dda65ec60f03": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "e0a11d8a1005": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": ["build:success"], - "checksError": { - "$rpc": "null" - }, - "comments": [ - { - "body": "please fix", - "id": 55, - "resolved": false - } - ], - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "e10925fa98de": { - "name": "status.get#1", - "ordinal": 14, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-session.pr-sidebar-github.workitemdetails-1", - "checkpoints": [ - { - "id": "pr-sidebar-load.prelude:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "2dc2ca47b4e7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.prelude:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.prelude:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "caea72638868" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7512c5d8922e", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.normal:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.normal:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.result-absent:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "b242c87f7cf1" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-absent:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "b242c87f7cf1" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.result-null:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "dda65ec60f03" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-null:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "dda65ec60f03" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "1a5855cadb2d" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "1a5855cadb2d" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "5f7634e4c4d1" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "5f7634e4c4d1" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "476aa8b45a85" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "476aa8b45a85" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.outer-refused:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "313cd9c49244" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "313cd9c49244" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "a73b8a815948" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "a73b8a815948" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.method-not-found:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "74b5741dc1b5" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.method-not-found:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "74b5741dc1b5" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "d006e932f1bf" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "d006e932f1bf" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "7a97965fe49a" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "7a97965fe49a" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-hostedreview.forbranch-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-hostedreview.forbranch-1.json deleted file mode 100644 index 939cf15753f..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-hostedreview.forbranch-1.json +++ /dev/null @@ -1,2140 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-sidebar", - "family": "session.pr-sidebar", - "namedDeltas": [], - "values": { - "0730389db3e9": { - "name": "hostedReview.forBranch#1", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":null,\"active\":true}}" - }, - "079bcff40c58": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-4", - "ok": false - } - } - }, - "0d9f7988ff86": { - "name": "github.prChecks#1", - "ordinal": 13, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "1287167eaf56": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "owner": "owner", - "repo": "repo" - } - } - } - }, - "16c650db3f9c": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "1f5765918736": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" - }, - "2076083f6899": { - "name": "github.prForBranch#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":null,\"currentHeadOid\":null}}" - }, - "2dc2ca47b4e7": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "35045fa5a752": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "kind": "loading" - } - }, - "357f9b7862e3": { - "name": "worktree.show#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "3a8e6b13f380": { - "name": "github.prForBranch#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":12,\"acceptMergedFallbackPR\":true,\"currentHeadOid\":null}}" - }, - "3ecc2d44a209": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "46d12ddbac74": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "fetchedAt": 0, - "kind": "found", - "pr": { - "headSha": "head-sha-1", - "mergeable": "MERGEABLE", - "number": 12, - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "4c53775d76f6": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": { - "$rpc": "null" - }, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "4da7ea39401b": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "worktree": { - "linkedPR": { - "$rpc": "null" - } - } - } - } - } - }, - "518f25fa616b": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-4", - "ok": false - } - } - }, - "5d309fcf43a7": { - "name": "github.workItemDetails#1", - "ordinal": 16, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "75885386f005": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "mergeable": "MERGEABLE", - "number": 12, - "provider": "github", - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - }, - "861c8796ae1f": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "status": "completed" - } - ] - } - } - }, - "870c2b9bacd0": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8b7e690466d7": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "runtimeId": "recorded" - } - } - } - }, - "9091d133c3b0": { - "name": "reply-salvage", - "ordinal": 8, - "value": { - "droppedCount": 1, - "droppedPaths": ["linkedPR"], - "method": "worktree.show", - "operation": "worktree.summary-or-skip", - "variant": "worktree-summary" - } - }, - "a55c83eeaeea": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "fetchedAt": 0, - "kind": "found", - "pr": { - "headSha": "head-sha-1", - "mergeable": "MERGEABLE", - "number": 12, - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "a7e609fcb031": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "ab3fbaf57733": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "ac0c5c576c24": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "bb380bbd63c8": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "bfedf583a747": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "body": "body", - "comments": [ - { - "author": "rev", - "body": "please fix", - "createdAt": "2026-01-01T00:00:00Z", - "id": 55, - "isResolved": false, - "line": 3, - "path": "src/app.ts", - "threadId": "thread-1", - "url": "https://github.com/owner/repo/pull/12#discussion_r55" - } - ], - "headSha": "head-sha-1", - "item": { - "assignees": [], - "id": "PR_1", - "labels": [], - "number": 12, - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "c70e6fd19823": { - "name": "streams-registered-at-teardown", - "ordinal": 17, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "ccd83e3fbb1c": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "e0a11d8a1005": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": ["build:success"], - "checksError": { - "$rpc": "null" - }, - "comments": [ - { - "body": "please fix", - "id": 55, - "resolved": false - } - ], - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "e10925fa98de": { - "name": "status.get#1", - "ordinal": 14, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "ea43d65aa61c": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "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" - } - }, - "f6329ebf9a21": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-4", - "ok": false - } - } - }, - "f8ff4d00b6b5": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - } - }, - "recording": { - "scenario": "matrix-session.pr-sidebar-hostedreview.forbranch-1", - "checkpoints": [ - { - "id": "pr-sidebar-load.normal:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "2dc2ca47b4e7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.normal:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.normal:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.normal:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.result-absent:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "16c650db3f9c", "4c53775d76f6"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-absent:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "16c650db3f9c", - "46d12ddbac74", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-absent:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "16c650db3f9c", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-absent:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "16c650db3f9c", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.result-null:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "f8ff4d00b6b5", "4c53775d76f6"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-null:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "f8ff4d00b6b5", - "46d12ddbac74", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-null:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "f8ff4d00b6b5", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-null:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "f8ff4d00b6b5", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "ea43d65aa61c", "4c53775d76f6"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "ea43d65aa61c", - "46d12ddbac74", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "ea43d65aa61c", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "ea43d65aa61c", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "bb380bbd63c8", "4c53775d76f6"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "bb380bbd63c8", - "46d12ddbac74", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "bb380bbd63c8", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "bb380bbd63c8", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "ab3fbaf57733", "4c53775d76f6"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "ab3fbaf57733", - "46d12ddbac74", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "ab3fbaf57733", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "ab3fbaf57733", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.outer-refused:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "f6329ebf9a21", "4c53775d76f6"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "f6329ebf9a21", - "46d12ddbac74", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "f6329ebf9a21", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "f6329ebf9a21", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "518f25fa616b", "4c53775d76f6"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "518f25fa616b", - "46d12ddbac74", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "518f25fa616b", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "518f25fa616b", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.method-not-found:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "079bcff40c58", "4c53775d76f6"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.method-not-found:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "079bcff40c58", - "46d12ddbac74", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.method-not-found:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "079bcff40c58", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.method-not-found:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "079bcff40c58", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "ccd83e3fbb1c", "4c53775d76f6"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "ccd83e3fbb1c", - "46d12ddbac74", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "ccd83e3fbb1c", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "ccd83e3fbb1c", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "ac0c5c576c24", "4c53775d76f6"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "ac0c5c576c24", - "46d12ddbac74", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "ac0c5c576c24", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "ac0c5c576c24", - "46d12ddbac74", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "2076083f6899", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-status.get-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-status.get-1.json deleted file mode 100644 index 00a29cb5ece..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-status.get-1.json +++ /dev/null @@ -1,1720 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-sidebar", - "family": "session.pr-sidebar", - "namedDeltas": [], - "values": { - "0579dde9370e": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "0730389db3e9": { - "name": "hostedReview.forBranch#1", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":null,\"active\":true}}" - }, - "0d9f7988ff86": { - "name": "github.prChecks#1", - "ordinal": 13, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "1287167eaf56": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "owner": "owner", - "repo": "repo" - } - } - } - }, - "1287efa543e2": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "1a73e54fca55": { - "name": "status.get#2", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1f5765918736": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" - }, - "21069b5e026b": { - "name": "streams-registered-at-teardown", - "ordinal": 15, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "2dc2ca47b4e7": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "30603c5b4d53": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-7", - "ok": false - } - } - }, - "35045fa5a752": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "kind": "loading" - } - }, - "357f9b7862e3": { - "name": "worktree.show#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "3a8e6b13f380": { - "name": "github.prForBranch#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":12,\"acceptMergedFallbackPR\":true,\"currentHeadOid\":null}}" - }, - "3ecc2d44a209": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "4da7ea39401b": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "worktree": { - "linkedPR": { - "$rpc": "null" - } - } - } - } - } - }, - "5a5e8aeb9c0f": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": ["build:success"], - "checksError": { - "$rpc": "null" - }, - "comments": [], - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "5d309fcf43a7": { - "name": "github.workItemDetails#1", - "ordinal": 16, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "7512c5d8922e": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": ["build:success"], - "checksError": { - "$rpc": "null" - }, - "comments": "loading", - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "75885386f005": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "mergeable": "MERGEABLE", - "number": 12, - "provider": "github", - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - }, - "861c8796ae1f": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "status": "completed" - } - ] - } - } - }, - "870c2b9bacd0": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8b7e690466d7": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "runtimeId": "recorded" - } - } - } - }, - "9091d133c3b0": { - "name": "reply-salvage", - "ordinal": 8, - "value": { - "droppedCount": 1, - "droppedPaths": ["linkedPR"], - "method": "worktree.show", - "operation": "worktree.summary-or-skip", - "variant": "worktree-summary" - } - }, - "96ad436bfa1d": { - "name": "status.get#2", - "ordinal": 16, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "9b384c87ef98": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "a55c83eeaeea": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "fetchedAt": 0, - "kind": "found", - "pr": { - "headSha": "head-sha-1", - "mergeable": "MERGEABLE", - "number": 12, - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "a6e599be5005": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "a7e609fcb031": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "b3d8199239f7": { - "name": "status.get#2", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "bfedf583a747": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "body": "body", - "comments": [ - { - "author": "rev", - "body": "please fix", - "createdAt": "2026-01-01T00:00:00Z", - "id": 55, - "isResolved": false, - "line": 3, - "path": "src/app.ts", - "threadId": "thread-1", - "url": "https://github.com/owner/repo/pull/12#discussion_r55" - } - ], - "headSha": "head-sha-1", - "item": { - "assignees": [], - "id": "PR_1", - "labels": [], - "number": 12, - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "c70e6fd19823": { - "name": "streams-registered-at-teardown", - "ordinal": 17, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "ccabffd679ab": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-7", - "ok": false - } - } - }, - "d98b8776ee3f": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true - } - } - }, - "e0a11d8a1005": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": ["build:success"], - "checksError": { - "$rpc": "null" - }, - "comments": [ - { - "body": "please fix", - "id": 55, - "resolved": false - } - ], - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "e10925fa98de": { - "name": "status.get#1", - "ordinal": 14, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "e177169d7bc8": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ed8f9a8b7596": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-7", - "ok": false - } - } - }, - "f276888d56f7": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "ff6c5e987ede": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - } - }, - "recording": { - "scenario": "matrix-session.pr-sidebar-status.get-1", - "checkpoints": [ - { - "id": "pr-sidebar-load.prelude:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "2dc2ca47b4e7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.prelude:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.prelude:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "1287efa543e2" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7512c5d8922e", - "effects": ["9091d133c3b0", "21069b5e026b"] - } - }, - { - "id": "pr-sidebar-load.normal:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.normal:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.result-absent:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "d98b8776ee3f" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-absent:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "d98b8776ee3f" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0", "21069b5e026b"] - } - }, - { - "id": "pr-sidebar-load.result-null:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "0579dde9370e" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.result-null:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "0579dde9370e" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0", "21069b5e026b"] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "a6e599be5005", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "a6e599be5005", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "9b384c87ef98", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "9b384c87ef98", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "f276888d56f7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "f276888d56f7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.outer-refused:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "ccabffd679ab" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "ccabffd679ab" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0", "21069b5e026b"] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "ed8f9a8b7596" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "ed8f9a8b7596" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0", "21069b5e026b"] - } - }, - { - "id": "pr-sidebar-load.method-not-found:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "30603c5b4d53" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.method-not-found:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "30603c5b4d53" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a5e8aeb9c0f", - "effects": ["9091d133c3b0", "21069b5e026b"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "ff6c5e987ede", - "1a73e54fca55" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "96ad436bfa1d" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7512c5d8922e", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "ff6c5e987ede", - "b3d8199239f7" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "96ad436bfa1d" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7512c5d8922e", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "e177169d7bc8", - "1a73e54fca55" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "96ad436bfa1d" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7512c5d8922e", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "e177169d7bc8", - "b3d8199239f7" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "96ad436bfa1d" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7512c5d8922e", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-worktree.show-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-worktree.show-1.json deleted file mode 100644 index d80bfe65746..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.pr-sidebar-worktree.show-1.json +++ /dev/null @@ -1,2310 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-sidebar", - "family": "session.pr-sidebar", - "namedDeltas": [], - "values": { - "0730389db3e9": { - "name": "hostedReview.forBranch#1", - "ordinal": 7, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"hostedReview.forBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedGitHubPR\":null,\"active\":true}}" - }, - "0d9f7988ff86": { - "name": "github.prChecks#1", - "ordinal": 13, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "1287167eaf56": { - "name": "github.repoSlug#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "owner": "owner", - "repo": "repo" - } - } - } - }, - "1a8422eae0e3": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - }, - "1f5765918736": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-9\"}}" - }, - "2a98ce3bea80": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "2b9f6f1218e4": { - "name": "streams-registered-at-teardown", - "ordinal": 16, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "2c7b67501f26": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "2dc2ca47b4e7": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "35045fa5a752": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "kind": "loading" - } - }, - "357f9b7862e3": { - "name": "worktree.show#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.show\",\"params\":{\"worktree\":\"id:repo-9::/w\"}}" - }, - "3744812c5fcd": { - "name": "status.get#1", - "ordinal": 13, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "3a8e6b13f380": { - "name": "github.prForBranch#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":12,\"acceptMergedFallbackPR\":true,\"currentHeadOid\":null}}" - }, - "3ecc2d44a209": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "40b75de17700": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "4776354b25fa": { - "name": "status.get#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "runtimeId": "recorded" - } - } - } - }, - "4a2114bd1b7d": { - "name": "github.prChecks#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "status": "completed" - } - ] - } - } - }, - "4da7ea39401b": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "worktree": { - "linkedPR": { - "$rpc": "null" - } - } - } - } - } - }, - "5d309fcf43a7": { - "name": "github.workItemDetails#1", - "ordinal": 16, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "6a20150792b1": { - "name": "github.prForBranch#1", - "ordinal": 9, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.prForBranch\",\"params\":{\"repo\":\"id:repo-9\",\"branch\":\"feature\",\"linkedPRNumber\":null,\"fallbackPRNumber\":12,\"acceptMergedFallbackPR\":true,\"currentHeadOid\":null}}" - }, - "704943f0f395": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "7167083ab4d9": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "75885386f005": { - "name": "hostedReview.forBranch#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "hostedReview.forBranch" - }, - { - "name": "params", - "value": { - "active": true, - "branch": "feature", - "linkedGitHubPR": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "mergeable": "MERGEABLE", - "number": 12, - "provider": "github", - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - }, - "804a8709b78c": { - "name": "github.prForBranch#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "fetchedAt": 0, - "kind": "found", - "pr": { - "headSha": "head-sha-1", - "mergeable": "MERGEABLE", - "number": 12, - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "861c8796ae1f": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": [ - { - "checkRunId": 7, - "conclusion": "success", - "name": "build", - "status": "completed" - } - ] - } - } - }, - "870c2b9bacd0": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8b7816464095": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "8b7e690466d7": { - "name": "status.get#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-7", - "ok": true, - "result": { - "runtimeId": "recorded" - } - } - } - }, - "8f20397f6101": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "9091d133c3b0": { - "name": "reply-salvage", - "ordinal": 8, - "value": { - "droppedCount": 1, - "droppedPaths": ["linkedPR"], - "method": "worktree.show", - "operation": "worktree.summary-or-skip", - "variant": "worktree-summary" - } - }, - "9300396ee3f6": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "json": "{\"id\":\"frame-8\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-9\",\"number\":12,\"type\":\"pr\"}}" - }, - "9c952632b0c0": { - "name": "status.get#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "a038c89eda45": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "a55c83eeaeea": { - "name": "github.prForBranch#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "fetchedAt": 0, - "kind": "found", - "pr": { - "headSha": "head-sha-1", - "mergeable": "MERGEABLE", - "number": 12, - "state": "open", - "title": "Recorded", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "a7e609fcb031": { - "name": "github.prChecks#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "ad0c6d91ae2c": { - "name": "github.prChecks#1", - "ordinal": 12, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-9\",\"prNumber\":12,\"headSha\":\"head-sha-1\"}}" - }, - "b3a7ec3ab1c7": { - "name": "github.prForBranch#1", - "ordinal": 8, - "args": [ - { - "name": "method", - "value": "github.prForBranch" - }, - { - "name": "params", - "value": { - "acceptMergedFallbackPR": true, - "branch": "feature", - "currentHeadOid": { - "$rpc": "null" - }, - "fallbackPRNumber": 12, - "linkedPRNumber": { - "$rpc": "null" - }, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "bfedf583a747": { - "name": "github.workItemDetails#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "body": "body", - "comments": [ - { - "author": "rev", - "body": "please fix", - "createdAt": "2026-01-01T00:00:00Z", - "id": 55, - "isResolved": false, - "line": 3, - "path": "src/app.ts", - "threadId": "thread-1", - "url": "https://github.com/owner/repo/pull/12#discussion_r55" - } - ], - "headSha": "head-sha-1", - "item": { - "assignees": [], - "id": "PR_1", - "labels": [], - "number": 12, - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - }, - "c70e6fd19823": { - "name": "streams-registered-at-teardown", - "ordinal": 17, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "cb071b912510": { - "name": "github.prChecks#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha-1", - "prNumber": 12, - "repo": "id:repo-9" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "e0a11d8a1005": { - "commentError": { - "$rpc": "null" - }, - "pr": { - "checks": ["build:success"], - "checksError": { - "$rpc": "null" - }, - "comments": [ - { - "body": "please fix", - "id": 55, - "resolved": false - } - ], - "kind": "ready", - "pr": { - "headSha": "head-sha-1", - "number": 12, - "title": "Recorded" - }, - "refreshFailed": false - } - }, - "e10925fa98de": { - "name": "status.get#1", - "ordinal": 14, - "json": "{\"id\":\"frame-7\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "eadd2f60a3d9": { - "name": "worktree.show#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "worktree.show" - }, - { - "name": "params", - "value": { - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "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" - } - }, - "f8cc8c00c5dd": { - "name": "github.workItemDetails#1", - "ordinal": 14, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-9", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-8", - "ok": true, - "result": { - "body": "body", - "comments": [ - { - "author": "rev", - "body": "please fix", - "createdAt": "2026-01-01T00:00:00Z", - "id": 55, - "isResolved": false, - "line": 3, - "path": "src/app.ts", - "threadId": "thread-1", - "url": "https://github.com/owner/repo/pull/12#discussion_r55" - } - ], - "headSha": "head-sha-1", - "item": { - "assignees": [], - "id": "PR_1", - "labels": [], - "number": 12, - "state": "open", - "title": "Recorded", - "type": "pr", - "updatedAt": "2026-01-01T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - } - } - } - } - } - }, - "recording": { - "scenario": "matrix-session.pr-sidebar-worktree.show-1", - "checkpoints": [ - { - "id": "pr-sidebar-load.normal:branch-hint", - "observation": { - "sender": ["1287167eaf56", "4da7ea39401b", "75885386f005", "2dc2ca47b4e7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.normal:pr", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "a7e609fcb031", - "870c2b9bacd0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.normal:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0"] - } - }, - { - "id": "pr-sidebar-load.normal:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "4da7ea39401b", - "75885386f005", - "a55c83eeaeea", - "861c8796ae1f", - "8b7e690466d7", - "bfedf583a747" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "3a8e6b13f380", - "0d9f7988ff86", - "e10925fa98de", - "5d309fcf43a7" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["9091d133c3b0", "c70e6fd19823"] - } - }, - { - "id": "pr-sidebar-load.result-absent:branch-hint", - "observation": { - "sender": ["1287167eaf56", "704943f0f395", "75885386f005", "b3a7ec3ab1c7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.result-absent:pr", - "observation": { - "sender": [ - "1287167eaf56", - "704943f0f395", - "75885386f005", - "804a8709b78c", - "cb071b912510", - "9c952632b0c0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.result-absent:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "704943f0f395", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.result-absent:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "704943f0f395", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["2b9f6f1218e4"] - } - }, - { - "id": "pr-sidebar-load.result-null:branch-hint", - "observation": { - "sender": ["1287167eaf56", "2a98ce3bea80", "75885386f005", "b3a7ec3ab1c7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.result-null:pr", - "observation": { - "sender": [ - "1287167eaf56", - "2a98ce3bea80", - "75885386f005", - "804a8709b78c", - "cb071b912510", - "9c952632b0c0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.result-null:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "2a98ce3bea80", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.result-null:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "2a98ce3bea80", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["2b9f6f1218e4"] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:branch-hint", - "observation": { - "sender": ["1287167eaf56", "2c7b67501f26", "75885386f005", "b3a7ec3ab1c7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:pr", - "observation": { - "sender": [ - "1287167eaf56", - "2c7b67501f26", - "75885386f005", - "804a8709b78c", - "cb071b912510", - "9c952632b0c0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "2c7b67501f26", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-ok-missing:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "2c7b67501f26", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["2b9f6f1218e4"] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:branch-hint", - "observation": { - "sender": ["1287167eaf56", "a038c89eda45", "75885386f005", "b3a7ec3ab1c7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:pr", - "observation": { - "sender": [ - "1287167eaf56", - "a038c89eda45", - "75885386f005", - "804a8709b78c", - "cb071b912510", - "9c952632b0c0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "a038c89eda45", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-false-string-error:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "a038c89eda45", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["2b9f6f1218e4"] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:branch-hint", - "observation": { - "sender": ["1287167eaf56", "8f20397f6101", "75885386f005", "b3a7ec3ab1c7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:pr", - "observation": { - "sender": [ - "1287167eaf56", - "8f20397f6101", - "75885386f005", - "804a8709b78c", - "cb071b912510", - "9c952632b0c0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "8f20397f6101", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.inner-false-object-error:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "8f20397f6101", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["2b9f6f1218e4"] - } - }, - { - "id": "pr-sidebar-load.outer-refused:branch-hint", - "observation": { - "sender": ["1287167eaf56", "7167083ab4d9", "75885386f005", "b3a7ec3ab1c7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.outer-refused:pr", - "observation": { - "sender": [ - "1287167eaf56", - "7167083ab4d9", - "75885386f005", - "804a8709b78c", - "cb071b912510", - "9c952632b0c0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.outer-refused:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "7167083ab4d9", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.outer-refused:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "7167083ab4d9", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["2b9f6f1218e4"] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:branch-hint", - "observation": { - "sender": ["1287167eaf56", "40b75de17700", "75885386f005", "b3a7ec3ab1c7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:pr", - "observation": { - "sender": [ - "1287167eaf56", - "40b75de17700", - "75885386f005", - "804a8709b78c", - "cb071b912510", - "9c952632b0c0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "40b75de17700", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.outer-refused-no-message:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "40b75de17700", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["2b9f6f1218e4"] - } - }, - { - "id": "pr-sidebar-load.method-not-found:branch-hint", - "observation": { - "sender": ["1287167eaf56", "1a8422eae0e3", "75885386f005", "b3a7ec3ab1c7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.method-not-found:pr", - "observation": { - "sender": [ - "1287167eaf56", - "1a8422eae0e3", - "75885386f005", - "804a8709b78c", - "cb071b912510", - "9c952632b0c0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.method-not-found:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "1a8422eae0e3", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.method-not-found:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "1a8422eae0e3", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["2b9f6f1218e4"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:branch-hint", - "observation": { - "sender": ["1287167eaf56", "eadd2f60a3d9", "75885386f005", "b3a7ec3ab1c7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:pr", - "observation": { - "sender": [ - "1287167eaf56", - "eadd2f60a3d9", - "75885386f005", - "804a8709b78c", - "cb071b912510", - "9c952632b0c0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "eadd2f60a3d9", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.transport-rejection:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "eadd2f60a3d9", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["2b9f6f1218e4"] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:branch-hint", - "observation": { - "sender": ["1287167eaf56", "8b7816464095", "75885386f005", "b3a7ec3ab1c7"], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:pr", - "observation": { - "sender": [ - "1287167eaf56", - "8b7816464095", - "75885386f005", - "804a8709b78c", - "cb071b912510", - "9c952632b0c0" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "35045fa5a752", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:loaded", - "observation": { - "sender": [ - "1287167eaf56", - "8b7816464095", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": [] - } - }, - { - "id": "pr-sidebar-load.transport-rejection-no-message:cleanup", - "observation": { - "sender": [ - "1287167eaf56", - "8b7816464095", - "75885386f005", - "804a8709b78c", - "4a2114bd1b7d", - "4776354b25fa", - "f8cc8c00c5dd" - ], - "payloads": [ - "1f5765918736", - "3ecc2d44a209", - "357f9b7862e3", - "0730389db3e9", - "6a20150792b1", - "ad0c6d91ae2c", - "3744812c5fcd", - "9300396ee3f6" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e0a11d8a1005", - "effects": ["2b9f6f1218e4"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-triage-agent.launchreplay-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-triage-agent.launchreplay-1.json deleted file mode 100644 index 81c4af34346..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.pr-triage-agent.launchreplay-1.json +++ /dev/null @@ -1,943 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-triage-launch", - "family": "session.pr-triage", - "namedDeltas": [], - "values": { - "02188f091419": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - } - } - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "28339abecf78": { - "name": "agent.launchReplay#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"agent.launchReplay\",\"params\":{\"agent\":\"codex\",\"operationId\":\"1767225600000-00000000000040008000000000000001\",\"target\":{\"kind\":\"existing\",\"worktree\":\"id:repo-9::/w\"},\"prompt\":{\"text\":\"Fix the failing checks\",\"delivery\":\"submit\"},\"launchSource\":\"task_page\"}}" - }, - "331b3596787f": { - "launched": { - "kind": "not-started", - "message": "outer refused" - } - }, - "35f85fe3b71c": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3b9fb3dfed63": { - "name": "agent.launchReplay#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "agent.launchReplay" - }, - { - "name": "params", - "value": { - "agent": "codex", - "launchSource": "task_page", - "operationId": "1767225600000-00000000000040008000000000000001", - "prompt": { - "delivery": "submit", - "text": "Fix the failing checks" - }, - "target": { - "kind": "existing", - "worktree": "id:repo-9::/w" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 90000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "3e6a0417d2ee": { - "name": "repo.list#1", - "ordinal": 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": [ - { - "id": "repo-9" - } - ] - } - } - } - }, - "4a304acaf84f": { - "name": "agent.launchReplay#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "agent.launchReplay" - }, - { - "name": "params", - "value": { - "agent": "codex", - "launchSource": "task_page", - "operationId": "1767225600000-00000000000040008000000000000001", - "prompt": { - "delivery": "submit", - "text": "Fix the failing checks" - }, - "target": { - "kind": "existing", - "worktree": "id:repo-9::/w" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 90000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-4", - "ok": false - } - } - }, - "51d4cb56be85": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "5b817dac4c7d": { - "name": "agent.launchReplay#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "agent.launchReplay" - }, - { - "name": "params", - "value": { - "agent": "codex", - "launchSource": "task_page", - "operationId": "1767225600000-00000000000040008000000000000001", - "prompt": { - "delivery": "submit", - "text": "Fix the failing checks" - }, - "target": { - "kind": "existing", - "worktree": "id:repo-9::/w" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 90000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "675c01bc8b85": { - "name": "agent.launchReplay#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "agent.launchReplay" - }, - { - "name": "params", - "value": { - "agent": "codex", - "launchSource": "task_page", - "operationId": "1767225600000-00000000000040008000000000000001", - "prompt": { - "delivery": "submit", - "text": "Fix the failing checks" - }, - "target": { - "kind": "existing", - "worktree": "id:repo-9::/w" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 90000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "6d9b52e88b73": { - "launched": { - "kind": "not-started", - "message": "Couldn't start the agent." - } - }, - "742db574bda3": { - "name": "preflight.detectAgents#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectAgents\",\"params\":{\"worktreeId\":\"repo-9::/w\"}}" - }, - "7cdbda15d605": { - "name": "agent.launchReplay#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "agent.launchReplay" - }, - { - "name": "params", - "value": { - "agent": "codex", - "launchSource": "task_page", - "operationId": "1767225600000-00000000000040008000000000000001", - "prompt": { - "delivery": "submit", - "text": "Fix the failing checks" - }, - "target": { - "kind": "existing", - "worktree": "id:repo-9::/w" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 90000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "8638ab90602a": { - "name": "agent.launchReplay#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "agent.launchReplay" - }, - { - "name": "params", - "value": { - "agent": "codex", - "launchSource": "task_page", - "operationId": "1767225600000-00000000000040008000000000000001", - "prompt": { - "delivery": "submit", - "text": "Fix the failing checks" - }, - "target": { - "kind": "existing", - "worktree": "id:repo-9::/w" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 90000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "a4273b38df83": { - "launched": "unlaunched" - }, - "a8f475e8a3a8": { - "name": "agent.launchReplay#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "agent.launchReplay" - }, - { - "name": "params", - "value": { - "agent": "codex", - "launchSource": "task_page", - "operationId": "1767225600000-00000000000040008000000000000001", - "prompt": { - "delivery": "submit", - "text": "Fix the failing checks" - }, - "target": { - "kind": "existing", - "worktree": "id:repo-9::/w" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 90000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-4", - "ok": false - } - } - }, - "ab12d545c466": { - "name": "agent.launchReplay#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "agent.launchReplay" - }, - { - "name": "params", - "value": { - "agent": "codex", - "launchSource": "task_page", - "operationId": "1767225600000-00000000000040008000000000000001", - "prompt": { - "delivery": "submit", - "text": "Fix the failing checks" - }, - "target": { - "kind": "existing", - "worktree": "id:repo-9::/w" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 90000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "b613a82cee3d": { - "name": "agent.launchReplay#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "agent.launchReplay" - }, - { - "name": "params", - "value": { - "agent": "codex", - "launchSource": "task_page", - "operationId": "1767225600000-00000000000040008000000000000001", - "prompt": { - "delivery": "submit", - "text": "Fix the failing checks" - }, - "target": { - "kind": "existing", - "worktree": "id:repo-9::/w" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 90000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-4", - "ok": false - } - } - }, - "b81eb9edc2b2": { - "name": "agent.launchReplay#2", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "agent.launchReplay" - }, - { - "name": "params", - "value": { - "agent": "codex", - "launchSource": "task_page", - "operationId": "1767225600000-00000000000040008000000000000001", - "prompt": { - "delivery": "submit", - "text": "Fix the failing checks" - }, - "target": { - "kind": "existing", - "worktree": "id:repo-9::/w" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 90000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "ba3fac1eb199": { - "name": "agent.launchReplay#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "agent.launchReplay" - }, - { - "name": "params", - "value": { - "agent": "codex", - "launchSource": "task_page", - "operationId": "1767225600000-00000000000040008000000000000001", - "prompt": { - "delivery": "submit", - "text": "Fix the failing checks" - }, - "target": { - "kind": "existing", - "worktree": "id:repo-9::/w" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 90000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "outcome": { - "handle": "term-1", - "kind": "terminal" - }, - "prompt": { - "delivery": "submit", - "outcome": "handed-to-terminal" - }, - "receipt": { - "detail": "Started a terminal agent, the default for new agent tabs in your settings.", - "mode": "terminal", - "preferred": "terminal", - "reason": "user_default" - }, - "worktreeId": "repo-9::/w" - } - } - } - }, - "c2a44248892e": { - "launched": { - "kind": "not-started", - "message": "Update Orca on your computer to start an agent from your phone." - } - }, - "c39600966772": { - "name": "agent.launchReplay#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "agent.launchReplay" - }, - { - "name": "params", - "value": { - "agent": "codex", - "launchSource": "task_page", - "operationId": "1767225600000-00000000000040008000000000000001", - "prompt": { - "delivery": "submit", - "text": "Fix the failing checks" - }, - "target": { - "kind": "existing", - "worktree": "id:repo-9::/w" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 90000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "dca101029f70": { - "name": "agent.launchReplay#2", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"agent.launchReplay\",\"params\":{\"agent\":\"codex\",\"operationId\":\"1767225600000-00000000000040008000000000000001\",\"target\":{\"kind\":\"existing\",\"worktree\":\"id:repo-9::/w\"},\"prompt\":{\"text\":\"Fix the failing checks\",\"delivery\":\"submit\"},\"launchSource\":\"task_page\"}}" - }, - "e0eef7c9fafe": { - "name": "repo.list#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "e5392ac00e18": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": ["codex"] - } - } - }, - "eaa398d8c3aa": { - "launched": { - "kind": "unconfirmed", - "message": "Couldn't confirm the agent started. Check the workspace before trying again." - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eb8d47f90956": { - "launched": { - "kind": "sent" - } - } - }, - "recording": { - "scenario": "matrix-session.pr-triage-agent.launchreplay-1", - "checkpoints": [ - { - "id": "pr-triage-launch.prelude:pending", - "observation": { - "sender": ["35f85fe3b71c", "51d4cb56be85"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "launch": "9270aeb7d9c6" - }, - "state": "a4273b38df83", - "effects": [] - } - }, - { - "id": "pr-triage-launch.normal:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "e5392ac00e18", "ba3fac1eb199"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3", "28339abecf78"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "eb8d47f90956", - "effects": [] - } - }, - { - "id": "pr-triage-launch.result-absent:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "e5392ac00e18", "8638ab90602a"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3", "28339abecf78"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "eaa398d8c3aa", - "effects": [] - } - }, - { - "id": "pr-triage-launch.result-null:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "e5392ac00e18", "c39600966772"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3", "28339abecf78"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "eaa398d8c3aa", - "effects": [] - } - }, - { - "id": "pr-triage-launch.inner-ok-missing:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "e5392ac00e18", "ab12d545c466"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3", "28339abecf78"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "eaa398d8c3aa", - "effects": [] - } - }, - { - "id": "pr-triage-launch.inner-false-string-error:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "e5392ac00e18", "5b817dac4c7d"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3", "28339abecf78"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "eaa398d8c3aa", - "effects": [] - } - }, - { - "id": "pr-triage-launch.inner-false-object-error:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "e5392ac00e18", "7cdbda15d605"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3", "28339abecf78"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "eaa398d8c3aa", - "effects": [] - } - }, - { - "id": "pr-triage-launch.outer-refused:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "e5392ac00e18", "a8f475e8a3a8"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3", "28339abecf78"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "331b3596787f", - "effects": [] - } - }, - { - "id": "pr-triage-launch.outer-refused-no-message:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "e5392ac00e18", "4a304acaf84f"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3", "28339abecf78"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "6d9b52e88b73", - "effects": [] - } - }, - { - "id": "pr-triage-launch.method-not-found:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "e5392ac00e18", "b613a82cee3d"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3", "28339abecf78"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "c2a44248892e", - "effects": [] - } - }, - { - "id": "pr-triage-launch.transport-rejection:launched", - "observation": { - "sender": [ - "3e6a0417d2ee", - "02188f091419", - "e5392ac00e18", - "3b9fb3dfed63", - "b81eb9edc2b2" - ], - "payloads": [ - "e0eef7c9fafe", - "1c2564f1daca", - "742db574bda3", - "28339abecf78", - "dca101029f70" - ], - "settlements": { - "launch": "9270aeb7d9c6" - }, - "state": "a4273b38df83", - "effects": [] - } - }, - { - "id": "pr-triage-launch.transport-rejection-no-message:launched", - "observation": { - "sender": [ - "3e6a0417d2ee", - "02188f091419", - "e5392ac00e18", - "675c01bc8b85", - "b81eb9edc2b2" - ], - "payloads": [ - "e0eef7c9fafe", - "1c2564f1daca", - "742db574bda3", - "28339abecf78", - "dca101029f70" - ], - "settlements": { - "launch": "9270aeb7d9c6" - }, - "state": "a4273b38df83", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-triage-preflight.detectagents-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-triage-preflight.detectagents-1.json deleted file mode 100644 index 20ef88baaae..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.pr-triage-preflight.detectagents-1.json +++ /dev/null @@ -1,784 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-triage-launch", - "family": "session.pr-triage", - "namedDeltas": [], - "values": { - "02188f091419": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - } - } - } - }, - "039b2277b75a": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "1469e05f35f7": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "1963ee2edae9": { - "launched": { - "kind": "not-started", - "message": "Unknown method" - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "28339abecf78": { - "name": "agent.launchReplay#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"agent.launchReplay\",\"params\":{\"agent\":\"codex\",\"operationId\":\"1767225600000-00000000000040008000000000000001\",\"target\":{\"kind\":\"existing\",\"worktree\":\"id:repo-9::/w\"},\"prompt\":{\"text\":\"Fix the failing checks\",\"delivery\":\"submit\"},\"launchSource\":\"task_page\"}}" - }, - "331b3596787f": { - "launched": { - "kind": "not-started", - "message": "outer refused" - } - }, - "35f85fe3b71c": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3e6a0417d2ee": { - "name": "repo.list#1", - "ordinal": 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": [ - { - "id": "repo-9" - } - ] - } - } - } - }, - "4dd9713de1b0": { - "launched": { - "kind": "not-started", - "message": "The host sent a reply this app could not read (preflight.detectAgents)" - } - }, - "51d4cb56be85": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "67471f63b6f7": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "742db574bda3": { - "name": "preflight.detectAgents#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectAgents\",\"params\":{\"worktreeId\":\"repo-9::/w\"}}" - }, - "786221fb36b0": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "880c4a7837af": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "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-3", - "ok": false - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "96aa7f51b001": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "a4273b38df83": { - "launched": "unlaunched" - }, - "a55db9667146": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "b13ddf18a62e": { - "launched": { - "kind": "not-started", - "message": "Could not load the available agents." - } - }, - "ba3fac1eb199": { - "name": "agent.launchReplay#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "agent.launchReplay" - }, - { - "name": "params", - "value": { - "agent": "codex", - "launchSource": "task_page", - "operationId": "1767225600000-00000000000040008000000000000001", - "prompt": { - "delivery": "submit", - "text": "Fix the failing checks" - }, - "target": { - "kind": "existing", - "worktree": "id:repo-9::/w" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 90000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "outcome": { - "handle": "term-1", - "kind": "terminal" - }, - "prompt": { - "delivery": "submit", - "outcome": "handed-to-terminal" - }, - "receipt": { - "detail": "Started a terminal agent, the default for new agent tabs in your settings.", - "mode": "terminal", - "preferred": "terminal", - "reason": "user_default" - }, - "worktreeId": "repo-9::/w" - } - } - } - }, - "bfd08cc3060a": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-9::/w" - } - }, - { - "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 - } - } - } - }, - "d85a8cd9155e": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "e0eef7c9fafe": { - "name": "repo.list#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "e35d7003f64c": { - "launched": { - "kind": "not-started", - "message": "transport failure" - } - }, - "e5392ac00e18": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": ["codex"] - } - } - }, - "e69d09287c64": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eb8d47f90956": { - "launched": { - "kind": "sent" - } - } - }, - "recording": { - "scenario": "matrix-session.pr-triage-preflight.detectagents-1", - "checkpoints": [ - { - "id": "pr-triage-launch.prelude:pending", - "observation": { - "sender": ["35f85fe3b71c", "51d4cb56be85"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "launch": "9270aeb7d9c6" - }, - "state": "a4273b38df83", - "effects": [] - } - }, - { - "id": "pr-triage-launch.normal:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "e5392ac00e18", "ba3fac1eb199"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3", "28339abecf78"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "eb8d47f90956", - "effects": [] - } - }, - { - "id": "pr-triage-launch.result-absent:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "a55db9667146"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "4dd9713de1b0", - "effects": [] - } - }, - { - "id": "pr-triage-launch.result-null:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "1469e05f35f7"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "4dd9713de1b0", - "effects": [] - } - }, - { - "id": "pr-triage-launch.inner-ok-missing:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "039b2277b75a"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "4dd9713de1b0", - "effects": [] - } - }, - { - "id": "pr-triage-launch.inner-false-string-error:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "67471f63b6f7"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "4dd9713de1b0", - "effects": [] - } - }, - { - "id": "pr-triage-launch.inner-false-object-error:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "bfd08cc3060a"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "4dd9713de1b0", - "effects": [] - } - }, - { - "id": "pr-triage-launch.outer-refused:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "e69d09287c64"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "331b3596787f", - "effects": [] - } - }, - { - "id": "pr-triage-launch.outer-refused-no-message:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "d85a8cd9155e"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "b13ddf18a62e", - "effects": [] - } - }, - { - "id": "pr-triage-launch.method-not-found:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "880c4a7837af"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "1963ee2edae9", - "effects": [] - } - }, - { - "id": "pr-triage-launch.transport-rejection:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "96aa7f51b001"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "e35d7003f64c", - "effects": [] - } - }, - { - "id": "pr-triage-launch.transport-rejection-no-message:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "786221fb36b0"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "b13ddf18a62e", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-triage-repo.list-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-triage-repo.list-1.json deleted file mode 100644 index 5e6ad0107b9..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.pr-triage-repo.list-1.json +++ /dev/null @@ -1,784 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-triage-launch", - "family": "session.pr-triage", - "namedDeltas": [], - "values": { - "01fc75db313f": { - "launched": { - "kind": "not-started", - "message": "The host sent a reply this app could not read (repo.list)" - } - }, - "02188f091419": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - } - } - } - }, - "12e70439f294": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "1321b4c8c0b8": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "1963ee2edae9": { - "launched": { - "kind": "not-started", - "message": "Unknown method" - } - }, - "1b23dab83fcf": { - "name": "repo.list#1", - "ordinal": 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" - } - } - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "28339abecf78": { - "name": "agent.launchReplay#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"agent.launchReplay\",\"params\":{\"agent\":\"codex\",\"operationId\":\"1767225600000-00000000000040008000000000000001\",\"target\":{\"kind\":\"existing\",\"worktree\":\"id:repo-9::/w\"},\"prompt\":{\"text\":\"Fix the failing checks\",\"delivery\":\"submit\"},\"launchSource\":\"task_page\"}}" - }, - "331b3596787f": { - "launched": { - "kind": "not-started", - "message": "outer refused" - } - }, - "35f85fe3b71c": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3e6a0417d2ee": { - "name": "repo.list#1", - "ordinal": 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": [ - { - "id": "repo-9" - } - ] - } - } - } - }, - "48c68906a98a": { - "name": "repo.list#1", - "ordinal": 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" - } - } - } - }, - "51d4cb56be85": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "624ec4e5082c": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "742db574bda3": { - "name": "preflight.detectAgents#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectAgents\",\"params\":{\"worktreeId\":\"repo-9::/w\"}}" - }, - "747c556da67a": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "8a72d3d14d44": { - "name": "repo.list#1", - "ordinal": 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 - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "a4273b38df83": { - "launched": "unlaunched" - }, - "b13ddf18a62e": { - "launched": { - "kind": "not-started", - "message": "Could not load the available agents." - } - }, - "ba3fac1eb199": { - "name": "agent.launchReplay#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "agent.launchReplay" - }, - { - "name": "params", - "value": { - "agent": "codex", - "launchSource": "task_page", - "operationId": "1767225600000-00000000000040008000000000000001", - "prompt": { - "delivery": "submit", - "text": "Fix the failing checks" - }, - "target": { - "kind": "existing", - "worktree": "id:repo-9::/w" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 90000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "outcome": { - "handle": "term-1", - "kind": "terminal" - }, - "prompt": { - "delivery": "submit", - "outcome": "handed-to-terminal" - }, - "receipt": { - "detail": "Started a terminal agent, the default for new agent tabs in your settings.", - "mode": "terminal", - "preferred": "terminal", - "reason": "user_default" - }, - "worktreeId": "repo-9::/w" - } - } - } - }, - "d68475063b62": { - "name": "repo.list#1", - "ordinal": 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 - } - } - } - }, - "dae756300589": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "e0eef7c9fafe": { - "name": "repo.list#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "e35d7003f64c": { - "launched": { - "kind": "not-started", - "message": "transport failure" - } - }, - "e5392ac00e18": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": ["codex"] - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eb8d47f90956": { - "launched": { - "kind": "sent" - } - }, - "f1d579dd459c": { - "name": "repo.list#1", - "ordinal": 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 - } - } - } - }, - "recording": { - "scenario": "matrix-session.pr-triage-repo.list-1", - "checkpoints": [ - { - "id": "pr-triage-launch.prelude:pending", - "observation": { - "sender": ["35f85fe3b71c", "51d4cb56be85"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "launch": "9270aeb7d9c6" - }, - "state": "a4273b38df83", - "effects": [] - } - }, - { - "id": "pr-triage-launch.normal:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "e5392ac00e18", "ba3fac1eb199"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3", "28339abecf78"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "eb8d47f90956", - "effects": [] - } - }, - { - "id": "pr-triage-launch.result-absent:launched", - "observation": { - "sender": ["747c556da67a", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "01fc75db313f", - "effects": [] - } - }, - { - "id": "pr-triage-launch.result-null:launched", - "observation": { - "sender": ["48c68906a98a", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "01fc75db313f", - "effects": [] - } - }, - { - "id": "pr-triage-launch.inner-ok-missing:launched", - "observation": { - "sender": ["1b23dab83fcf", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "01fc75db313f", - "effects": [] - } - }, - { - "id": "pr-triage-launch.inner-false-string-error:launched", - "observation": { - "sender": ["8a72d3d14d44", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "01fc75db313f", - "effects": [] - } - }, - { - "id": "pr-triage-launch.inner-false-object-error:launched", - "observation": { - "sender": ["d68475063b62", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "01fc75db313f", - "effects": [] - } - }, - { - "id": "pr-triage-launch.outer-refused:launched", - "observation": { - "sender": ["624ec4e5082c", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "331b3596787f", - "effects": [] - } - }, - { - "id": "pr-triage-launch.outer-refused-no-message:launched", - "observation": { - "sender": ["f1d579dd459c", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "b13ddf18a62e", - "effects": [] - } - }, - { - "id": "pr-triage-launch.method-not-found:launched", - "observation": { - "sender": ["12e70439f294", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "1963ee2edae9", - "effects": [] - } - }, - { - "id": "pr-triage-launch.transport-rejection:launched", - "observation": { - "sender": ["dae756300589", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "e35d7003f64c", - "effects": [] - } - }, - { - "id": "pr-triage-launch.transport-rejection-no-message:launched", - "observation": { - "sender": ["1321b4c8c0b8", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "b13ddf18a62e", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.pr-triage-settings.get-1.json b/mobile/rpc-foundation/goldens/matrix-session.pr-triage-settings.get-1.json deleted file mode 100644 index c70cc1bd063..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.pr-triage-settings.get-1.json +++ /dev/null @@ -1,790 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.pr-triage-launch", - "family": "session.pr-triage", - "namedDeltas": [], - "values": { - "02188f091419": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - } - } - } - }, - "0ba58e9fadf7": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "0ca529648be4": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "1963ee2edae9": { - "launched": { - "kind": "not-started", - "message": "Unknown method" - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "1c5359ea3f7d": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "28339abecf78": { - "name": "agent.launchReplay#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"agent.launchReplay\",\"params\":{\"agent\":\"codex\",\"operationId\":\"1767225600000-00000000000040008000000000000001\",\"target\":{\"kind\":\"existing\",\"worktree\":\"id:repo-9::/w\"},\"prompt\":{\"text\":\"Fix the failing checks\",\"delivery\":\"submit\"},\"launchSource\":\"task_page\"}}" - }, - "331b3596787f": { - "launched": { - "kind": "not-started", - "message": "outer refused" - } - }, - "34f3a5b8bd78": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "35f85fe3b71c": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3e6a0417d2ee": { - "name": "repo.list#1", - "ordinal": 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": [ - { - "id": "repo-9" - } - ] - } - } - } - }, - "51d4cb56be85": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "566d8202b582": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "69518e60477b": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "742db574bda3": { - "name": "preflight.detectAgents#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectAgents\",\"params\":{\"worktreeId\":\"repo-9::/w\"}}" - }, - "753cc167886c": { - "launched": { - "kind": "not-started", - "message": "Cannot read properties of null (reading 'settings')" - } - }, - "86798e4821d1": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "98bd3a5fda2b": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "9b538e8b95f3": { - "launched": { - "kind": "not-started", - "message": "Cannot read properties of undefined (reading 'settings')" - } - }, - "a4273b38df83": { - "launched": "unlaunched" - }, - "b13ddf18a62e": { - "launched": { - "kind": "not-started", - "message": "Could not load the available agents." - } - }, - "ba3fac1eb199": { - "name": "agent.launchReplay#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "agent.launchReplay" - }, - { - "name": "params", - "value": { - "agent": "codex", - "launchSource": "task_page", - "operationId": "1767225600000-00000000000040008000000000000001", - "prompt": { - "delivery": "submit", - "text": "Fix the failing checks" - }, - "target": { - "kind": "existing", - "worktree": "id:repo-9::/w" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 90000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "outcome": { - "handle": "term-1", - "kind": "terminal" - }, - "prompt": { - "delivery": "submit", - "outcome": "handed-to-terminal" - }, - "receipt": { - "detail": "Started a terminal agent, the default for new agent tabs in your settings.", - "mode": "terminal", - "preferred": "terminal", - "reason": "user_default" - }, - "worktreeId": "repo-9::/w" - } - } - } - }, - "ceb5fe72c101": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "e0eef7c9fafe": { - "name": "repo.list#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "e35d7003f64c": { - "launched": { - "kind": "not-started", - "message": "transport failure" - } - }, - "e5392ac00e18": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": ["codex"] - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eb8d47f90956": { - "launched": { - "kind": "sent" - } - }, - "fb9f08890f70": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - } - }, - "recording": { - "scenario": "matrix-session.pr-triage-settings.get-1", - "checkpoints": [ - { - "id": "pr-triage-launch.prelude:pending", - "observation": { - "sender": ["35f85fe3b71c", "51d4cb56be85"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "launch": "9270aeb7d9c6" - }, - "state": "a4273b38df83", - "effects": [] - } - }, - { - "id": "pr-triage-launch.normal:launched", - "observation": { - "sender": ["3e6a0417d2ee", "02188f091419", "e5392ac00e18", "ba3fac1eb199"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3", "28339abecf78"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "eb8d47f90956", - "effects": [] - } - }, - { - "id": "pr-triage-launch.result-absent:launched", - "observation": { - "sender": ["3e6a0417d2ee", "98bd3a5fda2b", "e5392ac00e18"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "9b538e8b95f3", - "effects": [] - } - }, - { - "id": "pr-triage-launch.result-null:launched", - "observation": { - "sender": ["3e6a0417d2ee", "69518e60477b", "e5392ac00e18"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "753cc167886c", - "effects": [] - } - }, - { - "id": "pr-triage-launch.inner-ok-missing:launched", - "observation": { - "sender": ["3e6a0417d2ee", "fb9f08890f70", "e5392ac00e18", "ba3fac1eb199"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3", "28339abecf78"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "eb8d47f90956", - "effects": [] - } - }, - { - "id": "pr-triage-launch.inner-false-string-error:launched", - "observation": { - "sender": ["3e6a0417d2ee", "86798e4821d1", "e5392ac00e18", "ba3fac1eb199"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3", "28339abecf78"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "eb8d47f90956", - "effects": [] - } - }, - { - "id": "pr-triage-launch.inner-false-object-error:launched", - "observation": { - "sender": ["3e6a0417d2ee", "1c5359ea3f7d", "e5392ac00e18", "ba3fac1eb199"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3", "28339abecf78"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "eb8d47f90956", - "effects": [] - } - }, - { - "id": "pr-triage-launch.outer-refused:launched", - "observation": { - "sender": ["3e6a0417d2ee", "ceb5fe72c101", "e5392ac00e18"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "331b3596787f", - "effects": [] - } - }, - { - "id": "pr-triage-launch.outer-refused-no-message:launched", - "observation": { - "sender": ["3e6a0417d2ee", "34f3a5b8bd78", "e5392ac00e18"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "b13ddf18a62e", - "effects": [] - } - }, - { - "id": "pr-triage-launch.method-not-found:launched", - "observation": { - "sender": ["3e6a0417d2ee", "0ba58e9fadf7", "e5392ac00e18"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "1963ee2edae9", - "effects": [] - } - }, - { - "id": "pr-triage-launch.transport-rejection:launched", - "observation": { - "sender": ["3e6a0417d2ee", "566d8202b582", "e5392ac00e18"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "e35d7003f64c", - "effects": [] - } - }, - { - "id": "pr-triage-launch.transport-rejection-no-message:launched", - "observation": { - "sender": ["3e6a0417d2ee", "0ca529648be4", "e5392ac00e18"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "742db574bda3"], - "settlements": { - "launch": "eb79a9b3682a" - }, - "state": "b13ddf18a62e", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.review-branch-diff-git.branchdiff-1.json b/mobile/rpc-foundation/goldens/matrix-session.review-branch-diff-git.branchdiff-1.json deleted file mode 100644 index 008843e3bc9..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.review-branch-diff-git.branchdiff-1.json +++ /dev/null @@ -1,836 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.diff-review-load", - "family": "session.review-branch-diff", - "namedDeltas": [], - "values": { - "0e9f3cc7c92d": { - "name": "git.branchDiff#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.branchDiff" - }, - { - "name": "params", - "value": { - "compare": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567" - }, - "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 - } - } - }, - "1f67ebbc6508": { - "name": "git.branchDiff#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.branchDiff" - }, - { - "name": "params", - "value": { - "compare": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567" - }, - "filePath": "src/app.ts", - "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 - } - } - }, - "20736f2985e3": { - "name": "git.branchDiff#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.branchDiff" - }, - { - "name": "params", - "value": { - "compare": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567" - }, - "filePath": "src/app.ts", - "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 - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "365c17523d76": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "itemKey": "branch:src/app.ts", - "kind": "binary" - } - }, - "38fb361f406c": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Committed diff is unavailable", - "isRpcDeliveryUnknown": false - } - }, - "39385954dc3e": { - "name": "git.branchDiff#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.branchDiff" - }, - { - "name": "params", - "value": { - "compare": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567" - }, - "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": { - "error": "refused" - } - } - } - }, - "534cf7badcbc": { - "branchCompare": "unloaded", - "diff": { - "itemKey": "branch:src/app.ts", - "kind": "binary" - }, - "snapshot": "unloaded" - }, - "67daf7391fee": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unable to load diff", - "isRpcDeliveryUnknown": false - } - }, - "6b2377e6a206": { - "name": "git.branchDiff#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.branchDiff" - }, - { - "name": "params", - "value": { - "compare": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567" - }, - "filePath": "src/app.ts", - "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 - } - } - }, - "8d7cfb52bd80": { - "name": "git.branchDiff#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.branchDiff" - }, - { - "name": "params", - "value": { - "compare": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567" - }, - "filePath": "src/app.ts", - "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 - } - }, - "ac85149368b6": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "The host sent a reply this app could not read (git.branchDiff)", - "isRpcDeliveryUnknown": false - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "c01a2afcee3a": { - "name": "git.branchDiff#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.branchDiff" - }, - { - "name": "params", - "value": { - "compare": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567" - }, - "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": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "c483883c0ca6": { - "name": "git.branchDiff#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.branchDiff" - }, - { - "name": "params", - "value": { - "compare": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567" - }, - "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": { - "$rpc": "null" - } - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "ce804facf021": { - "name": "git.branchDiff#1", - "ordinal": 2, - "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\":\"a1b2c3d4e5f60718293a4b5c6d7e8f9012345678\",\"headOid\":\"f0e1d2c3b4a5968778695a4b3c2d1e0f98765432\",\"mergeBase\":\"0123456789abcdef0123456789abcdef01234567\"}}}" - }, - "d24ea9d9187c": { - "name": "git.branchDiff#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.branchDiff" - }, - { - "name": "params", - "value": { - "compare": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567" - }, - "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" - } - } - } - }, - "e39817462870": { - "branchCompare": "unloaded", - "diff": "unloaded", - "snapshot": "unloaded" - }, - "fa8afc93c0b2": { - "name": "git.branchDiff#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.branchDiff" - }, - { - "name": "params", - "value": { - "compare": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567" - }, - "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": { - "error": "inner refused", - "ok": false - } - } - } - }, - "fc9ce136fe13": { - "name": "git.branchDiff#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "git.branchDiff" - }, - { - "name": "params", - "value": { - "compare": { - "baseOid": "a1b2c3d4e5f60718293a4b5c6d7e8f9012345678", - "baseRef": "origin/main", - "headOid": "f0e1d2c3b4a5968778695a4b3c2d1e0f98765432", - "mergeBase": "0123456789abcdef0123456789abcdef01234567" - }, - "filePath": "src/app.ts", - "worktree": "id:repo-9::/w" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - } - }, - "recording": { - "scenario": "matrix-session.review-branch-diff-git.branchdiff-1", - "checkpoints": [ - { - "id": "review-branch-diff-shapes.normal:branch", - "observation": { - "sender": ["d24ea9d9187c"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "365c17523d76" - }, - "state": "534cf7badcbc", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.normal:no-compare", - "observation": { - "sender": ["d24ea9d9187c"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "365c17523d76", - "no-compare": "38fb361f406c" - }, - "state": "534cf7badcbc", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.result-absent:branch", - "observation": { - "sender": ["0e9f3cc7c92d"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "ac85149368b6" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.result-absent:no-compare", - "observation": { - "sender": ["0e9f3cc7c92d"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "ac85149368b6", - "no-compare": "38fb361f406c" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.result-null:branch", - "observation": { - "sender": ["c483883c0ca6"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "ac85149368b6" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.result-null:no-compare", - "observation": { - "sender": ["c483883c0ca6"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "ac85149368b6", - "no-compare": "38fb361f406c" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.inner-ok-missing:branch", - "observation": { - "sender": ["39385954dc3e"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "ac85149368b6" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.inner-ok-missing:no-compare", - "observation": { - "sender": ["39385954dc3e"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "ac85149368b6", - "no-compare": "38fb361f406c" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.inner-false-string-error:branch", - "observation": { - "sender": ["fa8afc93c0b2"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "ac85149368b6" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.inner-false-string-error:no-compare", - "observation": { - "sender": ["fa8afc93c0b2"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "ac85149368b6", - "no-compare": "38fb361f406c" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.inner-false-object-error:branch", - "observation": { - "sender": ["c01a2afcee3a"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "ac85149368b6" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.inner-false-object-error:no-compare", - "observation": { - "sender": ["c01a2afcee3a"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "ac85149368b6", - "no-compare": "38fb361f406c" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.outer-refused:branch", - "observation": { - "sender": ["6b2377e6a206"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "32a7c0ae7918" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.outer-refused:no-compare", - "observation": { - "sender": ["6b2377e6a206"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "32a7c0ae7918", - "no-compare": "38fb361f406c" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.outer-refused-no-message:branch", - "observation": { - "sender": ["1f67ebbc6508"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "67daf7391fee" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.outer-refused-no-message:no-compare", - "observation": { - "sender": ["1f67ebbc6508"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "67daf7391fee", - "no-compare": "38fb361f406c" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.method-not-found:branch", - "observation": { - "sender": ["8d7cfb52bd80"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "b948e8307e81" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.method-not-found:no-compare", - "observation": { - "sender": ["8d7cfb52bd80"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "b948e8307e81", - "no-compare": "38fb361f406c" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.transport-rejection:branch", - "observation": { - "sender": ["20736f2985e3"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "a947768bc0ed" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.transport-rejection:no-compare", - "observation": { - "sender": ["20736f2985e3"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "a947768bc0ed", - "no-compare": "38fb361f406c" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.transport-rejection-no-message:branch", - "observation": { - "sender": ["fc9ce136fe13"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "c7584e82c72f" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-branch-diff-shapes.transport-rejection-no-message:no-compare", - "observation": { - "sender": ["fc9ce136fe13"], - "payloads": ["ce804facf021"], - "settlements": { - "branch": "c7584e82c72f", - "no-compare": "38fb361f406c" - }, - "state": "e39817462870", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.review-file-diff-git.diff-1.json b/mobile/rpc-foundation/goldens/matrix-session.review-file-diff-git.diff-1.json deleted file mode 100644 index 989f0340f51..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.review-file-diff-git.diff-1.json +++ /dev/null @@ -1,1027 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.diff-review-load", - "family": "session.review-file-diff", - "namedDeltas": [], - "values": { - "168eeea61142": { - "name": "git.diff#3", - "ordinal": 5, - "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" - } - } - } - }, - "18072d796980": { - "name": "git.diff#3", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}" - }, - "2cefccda2185": { - "name": "git.diff#1", - "ordinal": 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": { - "error": "inner refused", - "ok": false - } - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "370c9d84cc10": { - "name": "git.diff#1", - "ordinal": 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": { - "error": "refused" - } - } - } - }, - "481bd3924019": { - "name": "git.diff#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}" - }, - "50bd7426ef76": { - "name": "git.diff#1", - "ordinal": 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" - } - } - } - }, - "5135c435b058": { - "name": "git.diff#2", - "ordinal": 3, - "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" - } - } - } - }, - "67daf7391fee": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unable to load diff", - "isRpcDeliveryUnknown": false - } - }, - "717bd1fbc163": { - "branchCompare": "unloaded", - "diff": { - "byteLength": 2048, - "itemKey": "staged:src/app.ts", - "kind": "too-large" - }, - "snapshot": "unloaded" - }, - "7753343578da": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "The host sent a reply this app could not read (git.diff)", - "isRpcDeliveryUnknown": false - } - }, - "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" - } - }, - "953d143c2d33": { - "name": "git.diff#1", - "ordinal": 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": { - "$rpc": "null" - } - } - } - }, - "96866ea2cb13": { - "name": "git.diff#1", - "ordinal": 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": "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 - } - }, - "af5243f5f49a": { - "name": "git.diff#1", - "ordinal": 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": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "bc09f508ce1f": { - "name": "git.diff#1", - "ordinal": 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 - } - } - }, - "c0ede1e75f7c": { - "name": "git.diff#1", - "ordinal": 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": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "de5bdea896dd": { - "name": "git.diff#1", - "ordinal": 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": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "e39817462870": { - "branchCompare": "unloaded", - "diff": "unloaded", - "snapshot": "unloaded" - }, - "e3ea55081597": { - "name": "git.diff#1", - "ordinal": 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": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "e5baa1e41e9c": { - "name": "git.diff#1", - "ordinal": 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": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "ea98fa53e2cc": { - "name": "git.diff#2", - "ordinal": 4, - "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": "matrix-session.review-file-diff-git.diff-1", - "checkpoints": [ - { - "id": "review-file-diff-shapes.normal:binary", - "observation": { - "sender": ["50bd7426ef76"], - "payloads": ["481bd3924019"], - "settlements": { - "binary": "84090dfad90d" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.normal:too-large", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.normal:invalid", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.result-absent:binary", - "observation": { - "sender": ["bc09f508ce1f"], - "payloads": ["481bd3924019"], - "settlements": { - "binary": "7753343578da" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.result-absent:too-large", - "observation": { - "sender": ["bc09f508ce1f", "5135c435b058"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "7753343578da", - "too-large": "8675e0f40158" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.result-absent:invalid", - "observation": { - "sender": ["bc09f508ce1f", "5135c435b058", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "7753343578da", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.result-null:binary", - "observation": { - "sender": ["953d143c2d33"], - "payloads": ["481bd3924019"], - "settlements": { - "binary": "7753343578da" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.result-null:too-large", - "observation": { - "sender": ["953d143c2d33", "5135c435b058"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "7753343578da", - "too-large": "8675e0f40158" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.result-null:invalid", - "observation": { - "sender": ["953d143c2d33", "5135c435b058", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "7753343578da", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-ok-missing:binary", - "observation": { - "sender": ["370c9d84cc10"], - "payloads": ["481bd3924019"], - "settlements": { - "binary": "7753343578da" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-ok-missing:too-large", - "observation": { - "sender": ["370c9d84cc10", "5135c435b058"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "7753343578da", - "too-large": "8675e0f40158" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-ok-missing:invalid", - "observation": { - "sender": ["370c9d84cc10", "5135c435b058", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "7753343578da", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-false-string-error:binary", - "observation": { - "sender": ["2cefccda2185"], - "payloads": ["481bd3924019"], - "settlements": { - "binary": "7753343578da" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-false-string-error:too-large", - "observation": { - "sender": ["2cefccda2185", "5135c435b058"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "7753343578da", - "too-large": "8675e0f40158" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-false-string-error:invalid", - "observation": { - "sender": ["2cefccda2185", "5135c435b058", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "7753343578da", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-false-object-error:binary", - "observation": { - "sender": ["de5bdea896dd"], - "payloads": ["481bd3924019"], - "settlements": { - "binary": "7753343578da" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-false-object-error:too-large", - "observation": { - "sender": ["de5bdea896dd", "5135c435b058"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "7753343578da", - "too-large": "8675e0f40158" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-false-object-error:invalid", - "observation": { - "sender": ["de5bdea896dd", "5135c435b058", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "7753343578da", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.outer-refused:binary", - "observation": { - "sender": ["e5baa1e41e9c"], - "payloads": ["481bd3924019"], - "settlements": { - "binary": "32a7c0ae7918" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.outer-refused:too-large", - "observation": { - "sender": ["e5baa1e41e9c", "5135c435b058"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "32a7c0ae7918", - "too-large": "8675e0f40158" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.outer-refused:invalid", - "observation": { - "sender": ["e5baa1e41e9c", "5135c435b058", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "32a7c0ae7918", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.outer-refused-no-message:binary", - "observation": { - "sender": ["e3ea55081597"], - "payloads": ["481bd3924019"], - "settlements": { - "binary": "67daf7391fee" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.outer-refused-no-message:too-large", - "observation": { - "sender": ["e3ea55081597", "5135c435b058"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "67daf7391fee", - "too-large": "8675e0f40158" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.outer-refused-no-message:invalid", - "observation": { - "sender": ["e3ea55081597", "5135c435b058", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "67daf7391fee", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.method-not-found:binary", - "observation": { - "sender": ["af5243f5f49a"], - "payloads": ["481bd3924019"], - "settlements": { - "binary": "b948e8307e81" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.method-not-found:too-large", - "observation": { - "sender": ["af5243f5f49a", "5135c435b058"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "b948e8307e81", - "too-large": "8675e0f40158" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.method-not-found:invalid", - "observation": { - "sender": ["af5243f5f49a", "5135c435b058", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "b948e8307e81", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.transport-rejection:binary", - "observation": { - "sender": ["96866ea2cb13"], - "payloads": ["481bd3924019"], - "settlements": { - "binary": "a947768bc0ed" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.transport-rejection:too-large", - "observation": { - "sender": ["96866ea2cb13", "5135c435b058"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "a947768bc0ed", - "too-large": "8675e0f40158" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.transport-rejection:invalid", - "observation": { - "sender": ["96866ea2cb13", "5135c435b058", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "a947768bc0ed", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.transport-rejection-no-message:binary", - "observation": { - "sender": ["c0ede1e75f7c"], - "payloads": ["481bd3924019"], - "settlements": { - "binary": "c7584e82c72f" - }, - "state": "e39817462870", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.transport-rejection-no-message:too-large", - "observation": { - "sender": ["c0ede1e75f7c", "5135c435b058"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "c7584e82c72f", - "too-large": "8675e0f40158" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.transport-rejection-no-message:invalid", - "observation": { - "sender": ["c0ede1e75f7c", "5135c435b058", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "c7584e82c72f", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.review-file-diff-git.diff-2.json b/mobile/rpc-foundation/goldens/matrix-session.review-file-diff-git.diff-2.json deleted file mode 100644 index e58181d44f2..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.review-file-diff-git.diff-2.json +++ /dev/null @@ -1,902 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.diff-review-load", - "family": "session.review-file-diff", - "namedDeltas": [], - "values": { - "168eeea61142": { - "name": "git.diff#3", - "ordinal": 5, - "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" - } - } - } - }, - "18072d796980": { - "name": "git.diff#3", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}" - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "481bd3924019": { - "name": "git.diff#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}" - }, - "4ca587e78b36": { - "name": "git.diff#2", - "ordinal": 3, - "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": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "50bd7426ef76": { - "name": "git.diff#1", - "ordinal": 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" - } - } - } - }, - "5135c435b058": { - "name": "git.diff#2", - "ordinal": 3, - "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" - } - } - } - }, - "585ad3299672": { - "name": "git.diff#2", - "ordinal": 3, - "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": { - "$rpc": "null" - } - } - } - }, - "5efe5743b7e2": { - "name": "git.diff#2", - "ordinal": 3, - "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": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "67daf7391fee": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unable to load diff", - "isRpcDeliveryUnknown": false - } - }, - "6a7d8252f0bf": { - "name": "git.diff#2", - "ordinal": 3, - "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": { - "error": "inner refused", - "ok": false - } - } - } - }, - "717bd1fbc163": { - "branchCompare": "unloaded", - "diff": { - "byteLength": 2048, - "itemKey": "staged:src/app.ts", - "kind": "too-large" - }, - "snapshot": "unloaded" - }, - "71e94c376597": { - "name": "git.diff#2", - "ordinal": 3, - "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": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "7753343578da": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "The host sent a reply this app could not read (git.diff)", - "isRpcDeliveryUnknown": false - } - }, - "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" - } - }, - "a39259ec879a": { - "name": "git.diff#2", - "ordinal": 3, - "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": { - "error": "refused" - } - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aa8b9195058f": { - "name": "git.diff#2", - "ordinal": 3, - "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": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "b009bab633a3": { - "name": "git.diff#2", - "ordinal": 3, - "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 - } - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "c3e29008c27f": { - "name": "git.diff#2", - "ordinal": 3, - "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": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "ea98fa53e2cc": { - "name": "git.diff#2", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":true}}" - }, - "f0d92b20fc40": { - "name": "git.diff#2", - "ordinal": 3, - "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": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "f68945ffc2ea": { - "branchCompare": "unloaded", - "diff": { - "itemKey": "unstaged:src/app.ts", - "kind": "binary" - }, - "snapshot": "unloaded" - } - }, - "recording": { - "scenario": "matrix-session.review-file-diff-git.diff-2", - "checkpoints": [ - { - "id": "review-file-diff-shapes.prelude:binary", - "observation": { - "sender": ["50bd7426ef76"], - "payloads": ["481bd3924019"], - "settlements": { - "binary": "84090dfad90d" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.normal:too-large", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.normal:invalid", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.result-absent:too-large", - "observation": { - "sender": ["50bd7426ef76", "b009bab633a3"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "7753343578da" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.result-absent:invalid", - "observation": { - "sender": ["50bd7426ef76", "b009bab633a3", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "7753343578da", - "invalid": "7753343578da" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.result-null:too-large", - "observation": { - "sender": ["50bd7426ef76", "585ad3299672"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "7753343578da" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.result-null:invalid", - "observation": { - "sender": ["50bd7426ef76", "585ad3299672", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "7753343578da", - "invalid": "7753343578da" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-ok-missing:too-large", - "observation": { - "sender": ["50bd7426ef76", "a39259ec879a"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "7753343578da" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-ok-missing:invalid", - "observation": { - "sender": ["50bd7426ef76", "a39259ec879a", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "7753343578da", - "invalid": "7753343578da" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-false-string-error:too-large", - "observation": { - "sender": ["50bd7426ef76", "6a7d8252f0bf"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "7753343578da" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-false-string-error:invalid", - "observation": { - "sender": ["50bd7426ef76", "6a7d8252f0bf", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "7753343578da", - "invalid": "7753343578da" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-false-object-error:too-large", - "observation": { - "sender": ["50bd7426ef76", "5efe5743b7e2"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "7753343578da" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-false-object-error:invalid", - "observation": { - "sender": ["50bd7426ef76", "5efe5743b7e2", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "7753343578da", - "invalid": "7753343578da" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.outer-refused:too-large", - "observation": { - "sender": ["50bd7426ef76", "f0d92b20fc40"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "32a7c0ae7918" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.outer-refused:invalid", - "observation": { - "sender": ["50bd7426ef76", "f0d92b20fc40", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "32a7c0ae7918", - "invalid": "7753343578da" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.outer-refused-no-message:too-large", - "observation": { - "sender": ["50bd7426ef76", "c3e29008c27f"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "67daf7391fee" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.outer-refused-no-message:invalid", - "observation": { - "sender": ["50bd7426ef76", "c3e29008c27f", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "67daf7391fee", - "invalid": "7753343578da" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.method-not-found:too-large", - "observation": { - "sender": ["50bd7426ef76", "aa8b9195058f"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "b948e8307e81" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.method-not-found:invalid", - "observation": { - "sender": ["50bd7426ef76", "aa8b9195058f", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "b948e8307e81", - "invalid": "7753343578da" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.transport-rejection:too-large", - "observation": { - "sender": ["50bd7426ef76", "4ca587e78b36"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "a947768bc0ed" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.transport-rejection:invalid", - "observation": { - "sender": ["50bd7426ef76", "4ca587e78b36", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "a947768bc0ed", - "invalid": "7753343578da" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.transport-rejection-no-message:too-large", - "observation": { - "sender": ["50bd7426ef76", "71e94c376597"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "c7584e82c72f" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.transport-rejection-no-message:invalid", - "observation": { - "sender": ["50bd7426ef76", "71e94c376597", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "c7584e82c72f", - "invalid": "7753343578da" - }, - "state": "f68945ffc2ea", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.review-file-diff-git.diff-3.json b/mobile/rpc-foundation/goldens/matrix-session.review-file-diff-git.diff-3.json deleted file mode 100644 index 3823421e604..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.review-file-diff-git.diff-3.json +++ /dev/null @@ -1,772 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.diff-review-load", - "family": "session.review-file-diff", - "namedDeltas": [], - "values": { - "168eeea61142": { - "name": "git.diff#3", - "ordinal": 5, - "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" - } - } - } - }, - "18072d796980": { - "name": "git.diff#3", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}" - }, - "288b4a27cd5d": { - "name": "git.diff#3", - "ordinal": 5, - "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 - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "481bd3924019": { - "name": "git.diff#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.diff\",\"params\":{\"worktree\":\"id:repo-9::/w\",\"filePath\":\"src/app.ts\",\"staged\":false}}" - }, - "50bd7426ef76": { - "name": "git.diff#1", - "ordinal": 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" - } - } - } - }, - "5135c435b058": { - "name": "git.diff#2", - "ordinal": 3, - "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" - } - } - } - }, - "585bd76c3901": { - "name": "git.diff#3", - "ordinal": 5, - "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": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "586439a94879": { - "name": "git.diff#3", - "ordinal": 5, - "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": { - "error": "refused" - } - } - } - }, - "64e5476a80c2": { - "name": "git.diff#3", - "ordinal": 5, - "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": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "67daf7391fee": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unable to load diff", - "isRpcDeliveryUnknown": false - } - }, - "717bd1fbc163": { - "branchCompare": "unloaded", - "diff": { - "byteLength": 2048, - "itemKey": "staged:src/app.ts", - "kind": "too-large" - }, - "snapshot": "unloaded" - }, - "71f263c64f60": { - "name": "git.diff#3", - "ordinal": 5, - "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": { - "$rpc": "null" - } - } - } - }, - "735fb49425e3": { - "name": "git.diff#3", - "ordinal": 5, - "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": { - "error": "inner refused", - "ok": false - } - } - } - }, - "7753343578da": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "The host sent a reply this app could not read (git.diff)", - "isRpcDeliveryUnknown": false - } - }, - "84090dfad90d": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "itemKey": "unstaged:src/app.ts", - "kind": "binary" - } - }, - "846cbb4fd4df": { - "name": "git.diff#3", - "ordinal": 5, - "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": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "8675e0f40158": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "byteLength": 2048, - "itemKey": "staged:src/app.ts", - "kind": "too-large" - } - }, - "8cac8b42850d": { - "name": "git.diff#3", - "ordinal": 5, - "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": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "99ba9ff9bcfa": { - "name": "git.diff#3", - "ordinal": 5, - "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": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "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 - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "ea98fa53e2cc": { - "name": "git.diff#2", - "ordinal": 4, - "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" - }, - "f6d5c0995e12": { - "name": "git.diff#3", - "ordinal": 5, - "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": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - } - }, - "recording": { - "scenario": "matrix-session.review-file-diff-git.diff-3", - "checkpoints": [ - { - "id": "review-file-diff-shapes.prelude:binary", - "observation": { - "sender": ["50bd7426ef76"], - "payloads": ["481bd3924019"], - "settlements": { - "binary": "84090dfad90d" - }, - "state": "f68945ffc2ea", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.prelude:too-large", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058"], - "payloads": ["481bd3924019", "ea98fa53e2cc"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.normal:invalid", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058", "168eeea61142"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.result-absent:invalid", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058", "288b4a27cd5d"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.result-null:invalid", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058", "71f263c64f60"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-ok-missing:invalid", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058", "586439a94879"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-false-string-error:invalid", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058", "735fb49425e3"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.inner-false-object-error:invalid", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058", "64e5476a80c2"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158", - "invalid": "7753343578da" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.outer-refused:invalid", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058", "99ba9ff9bcfa"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158", - "invalid": "32a7c0ae7918" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.outer-refused-no-message:invalid", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058", "846cbb4fd4df"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158", - "invalid": "67daf7391fee" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.method-not-found:invalid", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058", "f6d5c0995e12"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158", - "invalid": "b948e8307e81" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.transport-rejection:invalid", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058", "585bd76c3901"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158", - "invalid": "a947768bc0ed" - }, - "state": "717bd1fbc163", - "effects": [] - } - }, - { - "id": "review-file-diff-shapes.transport-rejection-no-message:invalid", - "observation": { - "sender": ["50bd7426ef76", "5135c435b058", "8cac8b42850d"], - "payloads": ["481bd3924019", "ea98fa53e2cc", "18072d796980"], - "settlements": { - "binary": "84090dfad90d", - "too-large": "8675e0f40158", - "invalid": "c7584e82c72f" - }, - "state": "717bd1fbc163", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.review-git-mutations-git.discard-1.json b/mobile/rpc-foundation/goldens/matrix-session.review-git-mutations-git.discard-1.json deleted file mode 100644 index 7a94ce8df45..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.review-git-mutations-git.discard-1.json +++ /dev/null @@ -1,820 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.diff-review-actions", - "family": "session.review-git-mutations", - "namedDeltas": [], - "values": { - "1707a69cd9b6": { - "name": "git.discard#1", - "ordinal": 4, - "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": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "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" - } - }, - "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" - } - }, - "32d4fa18fed5": { - "name": "git.discard#1", - "ordinal": 4, - "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": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "4d3162722645": { - "name": "git.discard#1", - "ordinal": 4, - "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": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "500111174b81": { - "name": "git.discard#1", - "ordinal": 4, - "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": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "53b792409cec": { - "name": "load-review-data", - "ordinal": 3, - "value": {} - }, - "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" - } - }, - "7ed3d39f0607": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": false - }, - "83f74636ef79": { - "name": "git.discard#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.discard" - }, - { - "name": "params", - "value": { - "filePath": "src/app.ts", - "worktree": "id:workspace-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "8a3835098ba1": { - "name": "git.discard#1", - "ordinal": 4, - "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": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "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" - } - }, - "a0c4d58800db": { - "name": "load-review-data", - "ordinal": 6, - "value": {} - }, - "a31e28b0c98d": { - "name": "git.discard#1", - "ordinal": 4, - "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": { - "id": "frame-2", - "ok": true - } - } - }, - "aa50219ebe9a": { - "name": "git.discard#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.discard\",\"params\":{\"worktree\":\"id:workspace-1\",\"filePath\":\"src/app.ts\"}}" - }, - "bc51451c8e7b": { - "name": "git.discard#1", - "ordinal": 4, - "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": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "d1de63d44a74": { - "name": "git.discard#1", - "ordinal": 4, - "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": { - "id": "frame-2", - "ok": true, - "result": { - "discarded": true - } - } - } - }, - "ee31fd9b8c22": { - "actionError": "Source control action failed", - "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" - } - }, - "f39122ee30fc": { - "name": "git.stage#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.stage\",\"params\":{\"worktree\":\"id:workspace-1\",\"filePath\":\"src/app.ts\"}}" - }, - "f4493708b478": { - "name": "git.discard#1", - "ordinal": 4, - "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": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "f4b32f056985": { - "name": "git.discard#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "git.discard" - }, - { - "name": "params", - "value": { - "filePath": "src/app.ts", - "worktree": "id:workspace-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "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" - } - }, - "fd1322e39fc5": { - "name": "git.stage#1", - "ordinal": 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 - } - } - } - } - }, - "recording": { - "scenario": "matrix-session.review-git-mutations-git.discard-1", - "checkpoints": [ - { - "id": "review-git-mutations-run.prelude:staged", - "observation": { - "sender": ["fd1322e39fc5"], - "payloads": ["f39122ee30fc"], - "settlements": { - "stage": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec"] - } - }, - { - "id": "review-git-mutations-run.normal:discarded", - "observation": { - "sender": ["fd1322e39fc5", "d1de63d44a74"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec", "a0c4d58800db"] - } - }, - { - "id": "review-git-mutations-run.result-absent:discarded", - "observation": { - "sender": ["fd1322e39fc5", "a31e28b0c98d"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec", "a0c4d58800db"] - } - }, - { - "id": "review-git-mutations-run.result-null:discarded", - "observation": { - "sender": ["fd1322e39fc5", "500111174b81"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec", "a0c4d58800db"] - } - }, - { - "id": "review-git-mutations-run.inner-ok-missing:discarded", - "observation": { - "sender": ["fd1322e39fc5", "1707a69cd9b6"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec", "a0c4d58800db"] - } - }, - { - "id": "review-git-mutations-run.inner-false-string-error:discarded", - "observation": { - "sender": ["fd1322e39fc5", "8a3835098ba1"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec", "a0c4d58800db"] - } - }, - { - "id": "review-git-mutations-run.inner-false-object-error:discarded", - "observation": { - "sender": ["fd1322e39fc5", "32d4fa18fed5"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec", "a0c4d58800db"] - } - }, - { - "id": "review-git-mutations-run.outer-refused:discarded", - "observation": { - "sender": ["fd1322e39fc5", "4d3162722645"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "7ed3d39f0607" - }, - "state": "9e0132f8d584", - "effects": ["53b792409cec"] - } - }, - { - "id": "review-git-mutations-run.outer-refused-no-message:discarded", - "observation": { - "sender": ["fd1322e39fc5", "f4493708b478"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "7ed3d39f0607" - }, - "state": "ee31fd9b8c22", - "effects": ["53b792409cec"] - } - }, - { - "id": "review-git-mutations-run.method-not-found:discarded", - "observation": { - "sender": ["fd1322e39fc5", "bc51451c8e7b"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "7ed3d39f0607" - }, - "state": "73f7bfbf2ed4", - "effects": ["53b792409cec"] - } - }, - { - "id": "review-git-mutations-run.transport-rejection:discarded", - "observation": { - "sender": ["fd1322e39fc5", "83f74636ef79"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "7ed3d39f0607" - }, - "state": "fa4af2435d85", - "effects": ["53b792409cec"] - } - }, - { - "id": "review-git-mutations-run.transport-rejection-no-message:discarded", - "observation": { - "sender": ["fd1322e39fc5", "f4b32f056985"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "7ed3d39f0607" - }, - "state": "1c6a13b5a4b5", - "effects": ["53b792409cec"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.review-git-mutations-git.stage-1.json b/mobile/rpc-foundation/goldens/matrix-session.review-git-mutations-git.stage-1.json deleted file mode 100644 index fbd8aecaada..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.review-git-mutations-git.stage-1.json +++ /dev/null @@ -1,985 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.diff-review-actions", - "family": "session.review-git-mutations", - "namedDeltas": [], - "values": { - "13e2ebbc75ce": { - "name": "git.stage#1", - "ordinal": 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": { - "error": "refused" - } - } - } - }, - "160083813e3c": { - "name": "git.stage#1", - "ordinal": 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": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "163324c7204b": { - "name": "git.stage#1", - "ordinal": 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": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "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" - } - }, - "2bd148fc0591": { - "name": "load-review-data", - "ordinal": 5, - "value": {} - }, - "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" - } - }, - "4348587b2065": { - "name": "git.stage#1", - "ordinal": 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": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "53b792409cec": { - "name": "load-review-data", - "ordinal": 3, - "value": {} - }, - "6217d0132692": { - "name": "git.discard#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.discard\",\"params\":{\"worktree\":\"id:workspace-1\",\"filePath\":\"src/app.ts\"}}" - }, - "66da5789ac3e": { - "name": "git.stage#1", - "ordinal": 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": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": 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" - } - }, - "76d4096ccced": { - "name": "git.stage#1", - "ordinal": 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": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "7ed3d39f0607": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": false - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "87b3e64b01a0": { - "name": "git.stage#1", - "ordinal": 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 - } - } - }, - "8a6459005a99": { - "name": "git.stage#1", - "ordinal": 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": { - "$rpc": "null" - } - } - } - }, - "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" - } - }, - "a0c4d58800db": { - "name": "load-review-data", - "ordinal": 6, - "value": {} - }, - "aa50219ebe9a": { - "name": "git.discard#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"git.discard\",\"params\":{\"worktree\":\"id:workspace-1\",\"filePath\":\"src/app.ts\"}}" - }, - "b3e75a662664": { - "name": "git.stage#1", - "ordinal": 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": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "baa7772e5d0c": { - "name": "git.discard#1", - "ordinal": 3, - "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": { - "id": "frame-2", - "ok": true, - "result": { - "discarded": true - } - } - } - }, - "d1de63d44a74": { - "name": "git.discard#1", - "ordinal": 4, - "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": { - "id": "frame-2", - "ok": true, - "result": { - "discarded": true - } - } - } - }, - "d52bb1e87510": { - "name": "git.stage#1", - "ordinal": 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": { - "error": "inner refused", - "ok": false - } - } - } - }, - "ee31fd9b8c22": { - "actionError": "Source control action failed", - "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" - } - }, - "f39122ee30fc": { - "name": "git.stage#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"git.stage\",\"params\":{\"worktree\":\"id:workspace-1\",\"filePath\":\"src/app.ts\"}}" - }, - "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" - } - }, - "fd1322e39fc5": { - "name": "git.stage#1", - "ordinal": 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 - } - } - } - } - }, - "recording": { - "scenario": "matrix-session.review-git-mutations-git.stage-1", - "checkpoints": [ - { - "id": "review-git-mutations-run.normal:staged", - "observation": { - "sender": ["fd1322e39fc5"], - "payloads": ["f39122ee30fc"], - "settlements": { - "stage": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec"] - } - }, - { - "id": "review-git-mutations-run.normal:discarded", - "observation": { - "sender": ["fd1322e39fc5", "d1de63d44a74"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec", "a0c4d58800db"] - } - }, - { - "id": "review-git-mutations-run.result-absent:staged", - "observation": { - "sender": ["87b3e64b01a0"], - "payloads": ["f39122ee30fc"], - "settlements": { - "stage": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec"] - } - }, - { - "id": "review-git-mutations-run.result-absent:discarded", - "observation": { - "sender": ["87b3e64b01a0", "d1de63d44a74"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec", "a0c4d58800db"] - } - }, - { - "id": "review-git-mutations-run.result-null:staged", - "observation": { - "sender": ["8a6459005a99"], - "payloads": ["f39122ee30fc"], - "settlements": { - "stage": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec"] - } - }, - { - "id": "review-git-mutations-run.result-null:discarded", - "observation": { - "sender": ["8a6459005a99", "d1de63d44a74"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec", "a0c4d58800db"] - } - }, - { - "id": "review-git-mutations-run.inner-ok-missing:staged", - "observation": { - "sender": ["13e2ebbc75ce"], - "payloads": ["f39122ee30fc"], - "settlements": { - "stage": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec"] - } - }, - { - "id": "review-git-mutations-run.inner-ok-missing:discarded", - "observation": { - "sender": ["13e2ebbc75ce", "d1de63d44a74"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec", "a0c4d58800db"] - } - }, - { - "id": "review-git-mutations-run.inner-false-string-error:staged", - "observation": { - "sender": ["d52bb1e87510"], - "payloads": ["f39122ee30fc"], - "settlements": { - "stage": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec"] - } - }, - { - "id": "review-git-mutations-run.inner-false-string-error:discarded", - "observation": { - "sender": ["d52bb1e87510", "d1de63d44a74"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec", "a0c4d58800db"] - } - }, - { - "id": "review-git-mutations-run.inner-false-object-error:staged", - "observation": { - "sender": ["163324c7204b"], - "payloads": ["f39122ee30fc"], - "settlements": { - "stage": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec"] - } - }, - { - "id": "review-git-mutations-run.inner-false-object-error:discarded", - "observation": { - "sender": ["163324c7204b", "d1de63d44a74"], - "payloads": ["f39122ee30fc", "aa50219ebe9a"], - "settlements": { - "stage": "84e5ca07cb7a", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["53b792409cec", "a0c4d58800db"] - } - }, - { - "id": "review-git-mutations-run.outer-refused:staged", - "observation": { - "sender": ["4348587b2065"], - "payloads": ["f39122ee30fc"], - "settlements": { - "stage": "7ed3d39f0607" - }, - "state": "9e0132f8d584", - "effects": [] - } - }, - { - "id": "review-git-mutations-run.outer-refused:discarded", - "observation": { - "sender": ["4348587b2065", "baa7772e5d0c"], - "payloads": ["f39122ee30fc", "6217d0132692"], - "settlements": { - "stage": "7ed3d39f0607", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["2bd148fc0591"] - } - }, - { - "id": "review-git-mutations-run.outer-refused-no-message:staged", - "observation": { - "sender": ["76d4096ccced"], - "payloads": ["f39122ee30fc"], - "settlements": { - "stage": "7ed3d39f0607" - }, - "state": "ee31fd9b8c22", - "effects": [] - } - }, - { - "id": "review-git-mutations-run.outer-refused-no-message:discarded", - "observation": { - "sender": ["76d4096ccced", "baa7772e5d0c"], - "payloads": ["f39122ee30fc", "6217d0132692"], - "settlements": { - "stage": "7ed3d39f0607", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["2bd148fc0591"] - } - }, - { - "id": "review-git-mutations-run.method-not-found:staged", - "observation": { - "sender": ["66da5789ac3e"], - "payloads": ["f39122ee30fc"], - "settlements": { - "stage": "7ed3d39f0607" - }, - "state": "73f7bfbf2ed4", - "effects": [] - } - }, - { - "id": "review-git-mutations-run.method-not-found:discarded", - "observation": { - "sender": ["66da5789ac3e", "baa7772e5d0c"], - "payloads": ["f39122ee30fc", "6217d0132692"], - "settlements": { - "stage": "7ed3d39f0607", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["2bd148fc0591"] - } - }, - { - "id": "review-git-mutations-run.transport-rejection:staged", - "observation": { - "sender": ["b3e75a662664"], - "payloads": ["f39122ee30fc"], - "settlements": { - "stage": "7ed3d39f0607" - }, - "state": "fa4af2435d85", - "effects": [] - } - }, - { - "id": "review-git-mutations-run.transport-rejection:discarded", - "observation": { - "sender": ["b3e75a662664", "baa7772e5d0c"], - "payloads": ["f39122ee30fc", "6217d0132692"], - "settlements": { - "stage": "7ed3d39f0607", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["2bd148fc0591"] - } - }, - { - "id": "review-git-mutations-run.transport-rejection-no-message:staged", - "observation": { - "sender": ["160083813e3c"], - "payloads": ["f39122ee30fc"], - "settlements": { - "stage": "7ed3d39f0607" - }, - "state": "1c6a13b5a4b5", - "effects": [] - } - }, - { - "id": "review-git-mutations-run.transport-rejection-no-message:discarded", - "observation": { - "sender": ["160083813e3c", "baa7772e5d0c"], - "payloads": ["f39122ee30fc", "6217d0132692"], - "settlements": { - "stage": "7ed3d39f0607", - "discard": "84e5ca07cb7a" - }, - "state": "2fc890e4b748", - "effects": ["2bd148fc0591"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.review-send-sheet-session.tabs.list-1.json b/mobile/rpc-foundation/goldens/matrix-session.review-send-sheet-session.tabs.list-1.json deleted file mode 100644 index f5990fc0488..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.review-send-sheet-session.tabs.list-1.json +++ /dev/null @@ -1,819 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.diff-review-actions", - "family": "session.review-send-sheet", - "namedDeltas": [], - "values": { - "1cfc4f5c9474": { - "name": "session.tabs.list#1", - "ordinal": 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 - } - } - }, - "3c1f43884983": { - "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": { - "kind": "error", - "message": "outer refused", - "terminals": [] - } - }, - "5431212bcf3d": { - "name": "session.tabs.list#1", - "ordinal": 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" - } - } - } - }, - "56728a538e3d": { - "name": "session.tabs.list#1", - "ordinal": 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 - } - } - } - }, - "5d955e001d8c": { - "name": "session.tabs.list#1", - "ordinal": 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 - } - } - }, - "5e68b4616f23": { - "name": "session.tabs.list#1", - "ordinal": 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 - } - } - } - }, - "697177595a0a": { - "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": { - "kind": "ready", - "terminals": [ - { - "id": "tab-1", - "terminal": "terminal-1", - "title": "codex" - } - ] - } - }, - "6eb439bad25e": { - "name": "reply-salvage", - "ordinal": 3, - "value": { - "droppedCount": 1, - "droppedPaths": ["1"], - "method": "session.tabs.list", - "operation": "session.review-terminal-list", - "variant": "review-terminal-tabs" - } - }, - "783e46052655": { - "name": "session.tabs.list#1", - "ordinal": 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" - } - } - } - }, - "82c19eac1f64": { - "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": { - "kind": "error", - "message": "", - "terminals": [] - } - }, - "8414db2cc9a1": { - "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": { - "kind": "error", - "message": "transport failure", - "terminals": [] - } - }, - "95726f336386": { - "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": { - "kind": "error", - "message": "Unable to load agent sessions", - "terminals": [] - } - }, - "9a3dbd49ee14": { - "name": "session.tabs.list#1", - "ordinal": 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", - "terminal": "terminal-1", - "title": "codex", - "type": "terminal" - }, - { - "id": "tab-2", - "title": "notes.md", - "type": "markdown" - } - ] - } - } - } - }, - "acb5ae38e750": { - "name": "session.tabs.list#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.list\",\"params\":{\"worktree\":\"id:workspace-1\"}}" - }, - "c010bb8d5fa5": { - "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": { - "kind": "error", - "message": "Unknown method", - "terminals": [] - } - }, - "c080845d54f9": { - "name": "session.tabs.list#1", - "ordinal": 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 - } - } - }, - "c55cf258a4ff": { - "name": "session.tabs.list#1", - "ordinal": 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 - } - } - }, - "cdd3dccc35b1": { - "name": "session.tabs.list#1", - "ordinal": 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 - } - } - }, - "d90d19c18333": { - "name": "session.tabs.list#1", - "ordinal": 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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f3e8e9ab2421": { - "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": { - "kind": "error", - "message": "The host sent a reply this app could not read (session.tabs.list)", - "terminals": [] - } - } - }, - "recording": { - "scenario": "matrix-session.review-send-sheet-session.tabs.list-1", - "checkpoints": [ - { - "id": "review-send-sheet-lists-terminals.normal:listed", - "observation": { - "sender": ["9a3dbd49ee14"], - "payloads": ["acb5ae38e750"], - "settlements": { - "open": "eb79a9b3682a" - }, - "state": "697177595a0a", - "effects": ["6eb439bad25e"] - } - }, - { - "id": "review-send-sheet-lists-terminals.result-absent:listed", - "observation": { - "sender": ["c55cf258a4ff"], - "payloads": ["acb5ae38e750"], - "settlements": { - "open": "eb79a9b3682a" - }, - "state": "f3e8e9ab2421", - "effects": [] - } - }, - { - "id": "review-send-sheet-lists-terminals.result-null:listed", - "observation": { - "sender": ["5431212bcf3d"], - "payloads": ["acb5ae38e750"], - "settlements": { - "open": "eb79a9b3682a" - }, - "state": "f3e8e9ab2421", - "effects": [] - } - }, - { - "id": "review-send-sheet-lists-terminals.inner-ok-missing:listed", - "observation": { - "sender": ["783e46052655"], - "payloads": ["acb5ae38e750"], - "settlements": { - "open": "eb79a9b3682a" - }, - "state": "f3e8e9ab2421", - "effects": [] - } - }, - { - "id": "review-send-sheet-lists-terminals.inner-false-string-error:listed", - "observation": { - "sender": ["56728a538e3d"], - "payloads": ["acb5ae38e750"], - "settlements": { - "open": "eb79a9b3682a" - }, - "state": "f3e8e9ab2421", - "effects": [] - } - }, - { - "id": "review-send-sheet-lists-terminals.inner-false-object-error:listed", - "observation": { - "sender": ["5e68b4616f23"], - "payloads": ["acb5ae38e750"], - "settlements": { - "open": "eb79a9b3682a" - }, - "state": "f3e8e9ab2421", - "effects": [] - } - }, - { - "id": "review-send-sheet-lists-terminals.outer-refused:listed", - "observation": { - "sender": ["c080845d54f9"], - "payloads": ["acb5ae38e750"], - "settlements": { - "open": "eb79a9b3682a" - }, - "state": "3c1f43884983", - "effects": [] - } - }, - { - "id": "review-send-sheet-lists-terminals.outer-refused-no-message:listed", - "observation": { - "sender": ["d90d19c18333"], - "payloads": ["acb5ae38e750"], - "settlements": { - "open": "eb79a9b3682a" - }, - "state": "95726f336386", - "effects": [] - } - }, - { - "id": "review-send-sheet-lists-terminals.method-not-found:listed", - "observation": { - "sender": ["cdd3dccc35b1"], - "payloads": ["acb5ae38e750"], - "settlements": { - "open": "eb79a9b3682a" - }, - "state": "c010bb8d5fa5", - "effects": [] - } - }, - { - "id": "review-send-sheet-lists-terminals.transport-rejection:listed", - "observation": { - "sender": ["1cfc4f5c9474"], - "payloads": ["acb5ae38e750"], - "settlements": { - "open": "eb79a9b3682a" - }, - "state": "8414db2cc9a1", - "effects": [] - } - }, - { - "id": "review-send-sheet-lists-terminals.transport-rejection-no-message:listed", - "observation": { - "sender": ["5d955e001d8c"], - "payloads": ["acb5ae38e750"], - "settlements": { - "open": "eb79a9b3682a" - }, - "state": "82c19eac1f64", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.startup-worktree.activate-1.json b/mobile/rpc-foundation/goldens/matrix-session.startup-worktree.activate-1.json deleted file mode 100644 index f8eb0ad6ebf..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.startup-worktree.activate-1.json +++ /dev/null @@ -1,2404 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.startup", - "family": "session.startup", - "namedDeltas": [], - "values": { - "131c3fed3c6b": { - "name": "worktree.activate#1", - "ordinal": 7, - "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": 1800, - "settledAt": 1800, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "19efe7a6058c": { - "name": "worktree.activate#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "worktree.activate" - }, - { - "name": "params", - "value": { - "navigation": "caller", - "notifyClients": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 1800 - } - }, - "1dca7912e0fe": { - "name": "worktree.activate#2", - "ordinal": 15, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.activate\",\"params\":{\"worktree\":\"id:wt-1\",\"notifyClients\":false,\"navigation\":\"caller\"}}" - }, - "1e40b8324af4": { - "name": "worktree.activate#2", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "worktree.activate" - }, - { - "name": "params", - "value": { - "navigation": "caller", - "notifyClients": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 2550 - } - }, - "23aaae3de3ff": { - "name": "fetch-terminals", - "ordinal": 13, - "value": { - "allowEmptyLoaded": false - } - }, - "3224a4cc23dc": { - "name": "worktree.activate#1", - "ordinal": 7, - "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": 1800, - "settledAt": 1800, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "33572d85da28": { - "name": "worktree.activate#2", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "worktree.activate" - }, - { - "name": "params", - "value": { - "navigation": "caller", - "notifyClients": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 2550 - } - }, - "38b377793c34": { - "name": "ensure-session-tabs", - "ordinal": 5, - "value": {} - }, - "39c85a2c2d92": { - "name": "worktree.activate#1", - "ordinal": 7, - "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": 1800, - "settledAt": 1800, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "4319ba45c158": { - "name": "toast", - "ordinal": 9, - "value": { - "durationMs": 3000, - "message": "Open Orca on the host to wake sleeping agents." - } - }, - "4669e4d646e8": { - "name": "fetch-terminals", - "ordinal": 6, - "value": { - "allowEmptyLoaded": false - } - }, - "51ae204eb34b": { - "status": "fulfilled", - "startedAt": 2550, - "settledAt": 2550, - "value": { - "$rpc": "undefined" - } - }, - "5cea15366315": { - "name": "worktree.activate#1", - "ordinal": 7, - "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": 1800, - "settledAt": 1800, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "5ea84cbe70fc": { - "name": "worktree.activate#1", - "ordinal": 7, - "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": 1800, - "settledAt": 1800, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "sleepingAgentWake": "unsupported-headless" - } - } - } - }, - "63abf3b998b3": { - "name": "fetch-terminals", - "ordinal": 14, - "value": { - "allowEmptyLoaded": false - } - }, - "6419a011f13b": { - "name": "clear-terminal-cache", - "ordinal": 1, - "value": {} - }, - "650e3aedd38c": { - "name": "clear-pending-live-input-commit", - "ordinal": 17, - "value": {} - }, - "686baeb2fb0c": { - "name": "ensure-session-tabs", - "ordinal": 12, - "value": {} - }, - "6c4561ecc9ee": { - "name": "ensure-session-tabs", - "ordinal": 13, - "value": {} - }, - "83de0c92427d": { - "name": "fetch-terminals", - "ordinal": 9, - "value": { - "allowEmptyLoaded": true - } - }, - "854cb236952a": { - "actionSheetRequestSeq": 1, - "activeHandle": { - "$rpc": "null" - }, - "appliedSnapshotMarker": { - "epoch": { - "$rpc": "null" - }, - "version": -1 - }, - "closedTabTombstones": 0, - "initializedHandles": [], - "sessionTabs": [], - "terminalsLoaded": false - }, - "868840634c43": { - "name": "clear-pending-live-input-commit", - "ordinal": 16, - "value": {} - }, - "95c8385db422": { - "name": "clear-delayed-action-timers", - "ordinal": 4, - "value": {} - }, - "95fe4ad67185": { - "name": "worktree.activate#1", - "ordinal": 7, - "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": 1800, - "settledAt": 1800, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "968d084a5a35": { - "name": "clear-delayed-action-timers", - "ordinal": 10, - "value": {} - }, - "9a856559977e": { - "name": "toast", - "ordinal": 16, - "value": { - "durationMs": 3000, - "message": "Open Orca on the host to wake sleeping agents." - } - }, - "9c2f614376b8": { - "name": "clear-delayed-action-timers", - "ordinal": 17, - "value": {} - }, - "a509dd4610b2": { - "name": "fetch-terminals", - "ordinal": 11, - "value": { - "allowEmptyLoaded": true - } - }, - "aab012c297bd": { - "name": "diagnostics-reset-route", - "ordinal": 2, - "value": {} - }, - "b72a00c4af9d": { - "name": "worktree.activate#1", - "ordinal": 7, - "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": 1800, - "settledAt": 1800, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "b86ad4df402e": { - "name": "clear-delayed-action-timers", - "ordinal": 18, - "value": {} - }, - "b9065d94b853": { - "name": "worktree.activate#1", - "ordinal": 7, - "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": 1800, - "settledAt": 1800, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "ba45b883b259": { - "name": "fetch-terminals", - "ordinal": 10, - "value": { - "allowEmptyLoaded": true - } - }, - "bc94d6f00eeb": { - "name": "clear-pending-live-input-commit", - "ordinal": 9, - "value": {} - }, - "bf7a9053c3ac": { - "name": "worktree.activate#1", - "ordinal": 7, - "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": 1800, - "settledAt": 1800, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "c7ec9bbd1a05": { - "name": "toast", - "ordinal": 15, - "value": { - "durationMs": 3000, - "message": "Open Orca on the host to wake sleeping agents." - } - }, - "d2c3cccdd0b2": { - "name": "worktree.activate#2", - "ordinal": 12, - "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": 2550, - "settledAt": 2550, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "sleepingAgentWake": "unsupported-headless" - } - } - } - }, - "d31b49879980": { - "name": "worktree.activate#2", - "ordinal": 11, - "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": 2550, - "settledAt": 2550, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "sleepingAgentWake": "unsupported-headless" - } - } - } - }, - "d478ca5ac11e": { - "name": "worktree.activate#2", - "ordinal": 14, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.activate\",\"params\":{\"worktree\":\"id:wt-1\",\"notifyClients\":false,\"navigation\":\"caller\"}}" - }, - "d96ba284c6b9": { - "name": "worktree.activate#1", - "ordinal": 7, - "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": 1800, - "settledAt": 1800, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "e31d36bf19fa": { - "name": "worktree.activate#1", - "ordinal": 7, - "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": 1800, - "settledAt": 1800, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "e8b978dbecff": { - "name": "worktree.activate#1", - "ordinal": 8, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.activate\",\"params\":{\"worktree\":\"id:wt-1\",\"notifyClients\":false,\"navigation\":\"caller\"}}" - }, - "e927128e41fc": { - "name": "clear-pending-live-input-commit", - "ordinal": 3, - "value": {} - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f5d16aa67ff8": { - "name": "worktree.activate#1", - "ordinal": 7, - "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": 1800, - "settledAt": 1800, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - } - }, - "recording": { - "scenario": "matrix-session.startup-worktree.activate-1", - "checkpoints": [ - { - "id": "session-startup-both-activation-sites.prelude:loading", - "observation": { - "sender": [], - "payloads": [], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.prelude:reactivating", - "observation": { - "sender": ["19efe7a6058c"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.prelude:cleanup", - "observation": { - "sender": ["39c85a2c2d92"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "bc94d6f00eeb", - "968d084a5a35" - ] - } - }, - { - "id": "session-startup-both-activation-sites.normal:reactivated", - "observation": { - "sender": ["5ea84cbe70fc"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259" - ] - } - }, - { - "id": "session-startup-both-activation-sites.normal:refreshed", - "observation": { - "sender": ["5ea84cbe70fc"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2" - ] - } - }, - { - "id": "session-startup-both-activation-sites.normal:activating", - "observation": { - "sender": ["5ea84cbe70fc", "1e40b8324af4"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.normal:activated", - "observation": { - "sender": ["5ea84cbe70fc", "d2c3cccdd0b2"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "9a856559977e" - ] - } - }, - { - "id": "session-startup-both-activation-sites.normal:reloaded", - "observation": { - "sender": ["5ea84cbe70fc", "d2c3cccdd0b2"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "9a856559977e" - ] - } - }, - { - "id": "session-startup-both-activation-sites.normal:cleanup", - "observation": { - "sender": ["5ea84cbe70fc", "d2c3cccdd0b2"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "9a856559977e", - "650e3aedd38c", - "b86ad4df402e" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-absent:reactivated", - "observation": { - "sender": ["3224a4cc23dc"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-absent:refreshed", - "observation": { - "sender": ["3224a4cc23dc"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-absent:activating", - "observation": { - "sender": ["3224a4cc23dc", "33572d85da28"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-absent:activated", - "observation": { - "sender": ["3224a4cc23dc", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-absent:reloaded", - "observation": { - "sender": ["3224a4cc23dc", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-absent:cleanup", - "observation": { - "sender": ["3224a4cc23dc", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-null:reactivated", - "observation": { - "sender": ["131c3fed3c6b"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-null:refreshed", - "observation": { - "sender": ["131c3fed3c6b"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-null:activating", - "observation": { - "sender": ["131c3fed3c6b", "33572d85da28"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-null:activated", - "observation": { - "sender": ["131c3fed3c6b", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-null:reloaded", - "observation": { - "sender": ["131c3fed3c6b", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-null:cleanup", - "observation": { - "sender": ["131c3fed3c6b", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-ok-missing:reactivated", - "observation": { - "sender": ["d96ba284c6b9"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-ok-missing:refreshed", - "observation": { - "sender": ["d96ba284c6b9"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-ok-missing:activating", - "observation": { - "sender": ["d96ba284c6b9", "33572d85da28"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-ok-missing:activated", - "observation": { - "sender": ["d96ba284c6b9", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-ok-missing:reloaded", - "observation": { - "sender": ["d96ba284c6b9", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-ok-missing:cleanup", - "observation": { - "sender": ["d96ba284c6b9", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-string-error:reactivated", - "observation": { - "sender": ["f5d16aa67ff8"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-string-error:refreshed", - "observation": { - "sender": ["f5d16aa67ff8"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-string-error:activating", - "observation": { - "sender": ["f5d16aa67ff8", "33572d85da28"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-string-error:activated", - "observation": { - "sender": ["f5d16aa67ff8", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-string-error:reloaded", - "observation": { - "sender": ["f5d16aa67ff8", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-string-error:cleanup", - "observation": { - "sender": ["f5d16aa67ff8", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-object-error:reactivated", - "observation": { - "sender": ["b9065d94b853"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-object-error:refreshed", - "observation": { - "sender": ["b9065d94b853"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-object-error:activating", - "observation": { - "sender": ["b9065d94b853", "33572d85da28"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-object-error:activated", - "observation": { - "sender": ["b9065d94b853", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-object-error:reloaded", - "observation": { - "sender": ["b9065d94b853", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-object-error:cleanup", - "observation": { - "sender": ["b9065d94b853", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused:reactivated", - "observation": { - "sender": ["e31d36bf19fa"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused:refreshed", - "observation": { - "sender": ["e31d36bf19fa"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused:activating", - "observation": { - "sender": ["e31d36bf19fa", "33572d85da28"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused:activated", - "observation": { - "sender": ["e31d36bf19fa", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused:reloaded", - "observation": { - "sender": ["e31d36bf19fa", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused:cleanup", - "observation": { - "sender": ["e31d36bf19fa", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused-no-message:reactivated", - "observation": { - "sender": ["bf7a9053c3ac"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused-no-message:refreshed", - "observation": { - "sender": ["bf7a9053c3ac"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused-no-message:activating", - "observation": { - "sender": ["bf7a9053c3ac", "33572d85da28"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused-no-message:activated", - "observation": { - "sender": ["bf7a9053c3ac", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused-no-message:reloaded", - "observation": { - "sender": ["bf7a9053c3ac", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused-no-message:cleanup", - "observation": { - "sender": ["bf7a9053c3ac", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.method-not-found:reactivated", - "observation": { - "sender": ["95fe4ad67185"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d" - ] - } - }, - { - "id": "session-startup-both-activation-sites.method-not-found:refreshed", - "observation": { - "sender": ["95fe4ad67185"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259" - ] - } - }, - { - "id": "session-startup-both-activation-sites.method-not-found:activating", - "observation": { - "sender": ["95fe4ad67185", "33572d85da28"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff" - ] - } - }, - { - "id": "session-startup-both-activation-sites.method-not-found:activated", - "observation": { - "sender": ["95fe4ad67185", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.method-not-found:reloaded", - "observation": { - "sender": ["95fe4ad67185", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.method-not-found:cleanup", - "observation": { - "sender": ["95fe4ad67185", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection:reactivated", - "observation": { - "sender": ["5cea15366315"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection:refreshed", - "observation": { - "sender": ["5cea15366315"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection:activating", - "observation": { - "sender": ["5cea15366315", "33572d85da28"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection:activated", - "observation": { - "sender": ["5cea15366315", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection:reloaded", - "observation": { - "sender": ["5cea15366315", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection:cleanup", - "observation": { - "sender": ["5cea15366315", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection-no-message:reactivated", - "observation": { - "sender": ["b72a00c4af9d"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection-no-message:refreshed", - "observation": { - "sender": ["b72a00c4af9d"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection-no-message:activating", - "observation": { - "sender": ["b72a00c4af9d", "33572d85da28"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection-no-message:activated", - "observation": { - "sender": ["b72a00c4af9d", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection-no-message:reloaded", - "observation": { - "sender": ["b72a00c4af9d", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection-no-message:cleanup", - "observation": { - "sender": ["b72a00c4af9d", "d31b49879980"], - "payloads": ["e8b978dbecff", "d478ca5ac11e"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "83de0c92427d", - "ba45b883b259", - "686baeb2fb0c", - "23aaae3de3ff", - "c7ec9bbd1a05", - "868840634c43", - "9c2f614376b8" - ] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.startup-worktree.activate-2.json b/mobile/rpc-foundation/goldens/matrix-session.startup-worktree.activate-2.json deleted file mode 100644 index 5ac487ee110..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.startup-worktree.activate-2.json +++ /dev/null @@ -1,1654 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.startup", - "family": "session.startup", - "namedDeltas": [], - "values": { - "09d0e6dea8b7": { - "name": "worktree.activate#2", - "ordinal": 12, - "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": 2550, - "settledAt": 2550, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "10de9f9fea56": { - "name": "worktree.activate#2", - "ordinal": 12, - "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": 2550, - "settledAt": 2550, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "19efe7a6058c": { - "name": "worktree.activate#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "worktree.activate" - }, - { - "name": "params", - "value": { - "navigation": "caller", - "notifyClients": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 1800 - } - }, - "1dca7912e0fe": { - "name": "worktree.activate#2", - "ordinal": 15, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.activate\",\"params\":{\"worktree\":\"id:wt-1\",\"notifyClients\":false,\"navigation\":\"caller\"}}" - }, - "1e40b8324af4": { - "name": "worktree.activate#2", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "worktree.activate" - }, - { - "name": "params", - "value": { - "navigation": "caller", - "notifyClients": false, - "worktree": "id:wt-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 2550 - } - }, - "3418cf42a7ba": { - "name": "worktree.activate#2", - "ordinal": 12, - "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": 2550, - "settledAt": 2550, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "38b377793c34": { - "name": "ensure-session-tabs", - "ordinal": 5, - "value": {} - }, - "3d98ba3f063a": { - "name": "worktree.activate#2", - "ordinal": 12, - "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": 2550, - "settledAt": 2550, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "4319ba45c158": { - "name": "toast", - "ordinal": 9, - "value": { - "durationMs": 3000, - "message": "Open Orca on the host to wake sleeping agents." - } - }, - "4669e4d646e8": { - "name": "fetch-terminals", - "ordinal": 6, - "value": { - "allowEmptyLoaded": false - } - }, - "51ae204eb34b": { - "status": "fulfilled", - "startedAt": 2550, - "settledAt": 2550, - "value": { - "$rpc": "undefined" - } - }, - "5ea84cbe70fc": { - "name": "worktree.activate#1", - "ordinal": 7, - "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": 1800, - "settledAt": 1800, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "sleepingAgentWake": "unsupported-headless" - } - } - } - }, - "63abf3b998b3": { - "name": "fetch-terminals", - "ordinal": 14, - "value": { - "allowEmptyLoaded": false - } - }, - "6419a011f13b": { - "name": "clear-terminal-cache", - "ordinal": 1, - "value": {} - }, - "650e3aedd38c": { - "name": "clear-pending-live-input-commit", - "ordinal": 17, - "value": {} - }, - "6c4561ecc9ee": { - "name": "ensure-session-tabs", - "ordinal": 13, - "value": {} - }, - "738da93d452d": { - "name": "worktree.activate#2", - "ordinal": 12, - "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": 2550, - "settledAt": 2550, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "854cb236952a": { - "actionSheetRequestSeq": 1, - "activeHandle": { - "$rpc": "null" - }, - "appliedSnapshotMarker": { - "epoch": { - "$rpc": "null" - }, - "version": -1 - }, - "closedTabTombstones": 0, - "initializedHandles": [], - "sessionTabs": [], - "terminalsLoaded": false - }, - "868840634c43": { - "name": "clear-pending-live-input-commit", - "ordinal": 16, - "value": {} - }, - "88122f1e4ea5": { - "name": "worktree.activate#2", - "ordinal": 12, - "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": 2550, - "settledAt": 2550, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "95c8385db422": { - "name": "clear-delayed-action-timers", - "ordinal": 4, - "value": {} - }, - "9a856559977e": { - "name": "toast", - "ordinal": 16, - "value": { - "durationMs": 3000, - "message": "Open Orca on the host to wake sleeping agents." - } - }, - "9c2f614376b8": { - "name": "clear-delayed-action-timers", - "ordinal": 17, - "value": {} - }, - "a509dd4610b2": { - "name": "fetch-terminals", - "ordinal": 11, - "value": { - "allowEmptyLoaded": true - } - }, - "aab012c297bd": { - "name": "diagnostics-reset-route", - "ordinal": 2, - "value": {} - }, - "b86ad4df402e": { - "name": "clear-delayed-action-timers", - "ordinal": 18, - "value": {} - }, - "ba45b883b259": { - "name": "fetch-terminals", - "ordinal": 10, - "value": { - "allowEmptyLoaded": true - } - }, - "bd64a687344c": { - "name": "worktree.activate#2", - "ordinal": 12, - "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": 2550, - "settledAt": 2550, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "c96e189ca0ac": { - "name": "worktree.activate#2", - "ordinal": 12, - "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": 2550, - "settledAt": 2550, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "d2c3cccdd0b2": { - "name": "worktree.activate#2", - "ordinal": 12, - "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": 2550, - "settledAt": 2550, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "sleepingAgentWake": "unsupported-headless" - } - } - } - }, - "e886781c1f0d": { - "name": "worktree.activate#2", - "ordinal": 12, - "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": 2550, - "settledAt": 2550, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "e8b978dbecff": { - "name": "worktree.activate#1", - "ordinal": 8, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.activate\",\"params\":{\"worktree\":\"id:wt-1\",\"notifyClients\":false,\"navigation\":\"caller\"}}" - }, - "e927128e41fc": { - "name": "clear-pending-live-input-commit", - "ordinal": 3, - "value": {} - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ef65bc174fb5": { - "name": "worktree.activate#2", - "ordinal": 12, - "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": 2550, - "settledAt": 2550, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "fb972e2d4583": { - "name": "worktree.activate#2", - "ordinal": 12, - "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": 2550, - "settledAt": 2550, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - } - }, - "recording": { - "scenario": "matrix-session.startup-worktree.activate-2", - "checkpoints": [ - { - "id": "session-startup-both-activation-sites.prelude:loading", - "observation": { - "sender": [], - "payloads": [], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.prelude:reactivating", - "observation": { - "sender": ["19efe7a6058c"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.prelude:reactivated", - "observation": { - "sender": ["5ea84cbe70fc"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259" - ] - } - }, - { - "id": "session-startup-both-activation-sites.prelude:refreshed", - "observation": { - "sender": ["5ea84cbe70fc"], - "payloads": ["e8b978dbecff"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2" - ] - } - }, - { - "id": "session-startup-both-activation-sites.prelude:activating", - "observation": { - "sender": ["5ea84cbe70fc", "1e40b8324af4"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.prelude:cleanup", - "observation": { - "sender": ["5ea84cbe70fc", "ef65bc174fb5"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.normal:activated", - "observation": { - "sender": ["5ea84cbe70fc", "d2c3cccdd0b2"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "9a856559977e" - ] - } - }, - { - "id": "session-startup-both-activation-sites.normal:reloaded", - "observation": { - "sender": ["5ea84cbe70fc", "d2c3cccdd0b2"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "9a856559977e" - ] - } - }, - { - "id": "session-startup-both-activation-sites.normal:cleanup", - "observation": { - "sender": ["5ea84cbe70fc", "d2c3cccdd0b2"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "9a856559977e", - "650e3aedd38c", - "b86ad4df402e" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-absent:activated", - "observation": { - "sender": ["5ea84cbe70fc", "bd64a687344c"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-absent:reloaded", - "observation": { - "sender": ["5ea84cbe70fc", "bd64a687344c"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-absent:cleanup", - "observation": { - "sender": ["5ea84cbe70fc", "bd64a687344c"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-null:activated", - "observation": { - "sender": ["5ea84cbe70fc", "3418cf42a7ba"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-null:reloaded", - "observation": { - "sender": ["5ea84cbe70fc", "3418cf42a7ba"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.result-null:cleanup", - "observation": { - "sender": ["5ea84cbe70fc", "3418cf42a7ba"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-ok-missing:activated", - "observation": { - "sender": ["5ea84cbe70fc", "3d98ba3f063a"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-ok-missing:reloaded", - "observation": { - "sender": ["5ea84cbe70fc", "3d98ba3f063a"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-ok-missing:cleanup", - "observation": { - "sender": ["5ea84cbe70fc", "3d98ba3f063a"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-string-error:activated", - "observation": { - "sender": ["5ea84cbe70fc", "10de9f9fea56"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-string-error:reloaded", - "observation": { - "sender": ["5ea84cbe70fc", "10de9f9fea56"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-string-error:cleanup", - "observation": { - "sender": ["5ea84cbe70fc", "10de9f9fea56"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-object-error:activated", - "observation": { - "sender": ["5ea84cbe70fc", "88122f1e4ea5"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-object-error:reloaded", - "observation": { - "sender": ["5ea84cbe70fc", "88122f1e4ea5"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.inner-false-object-error:cleanup", - "observation": { - "sender": ["5ea84cbe70fc", "88122f1e4ea5"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused:activated", - "observation": { - "sender": ["5ea84cbe70fc", "738da93d452d"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused:reloaded", - "observation": { - "sender": ["5ea84cbe70fc", "738da93d452d"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused:cleanup", - "observation": { - "sender": ["5ea84cbe70fc", "738da93d452d"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused-no-message:activated", - "observation": { - "sender": ["5ea84cbe70fc", "e886781c1f0d"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused-no-message:reloaded", - "observation": { - "sender": ["5ea84cbe70fc", "e886781c1f0d"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.outer-refused-no-message:cleanup", - "observation": { - "sender": ["5ea84cbe70fc", "e886781c1f0d"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.method-not-found:activated", - "observation": { - "sender": ["5ea84cbe70fc", "fb972e2d4583"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.method-not-found:reloaded", - "observation": { - "sender": ["5ea84cbe70fc", "fb972e2d4583"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.method-not-found:cleanup", - "observation": { - "sender": ["5ea84cbe70fc", "fb972e2d4583"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection:activated", - "observation": { - "sender": ["5ea84cbe70fc", "09d0e6dea8b7"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection:reloaded", - "observation": { - "sender": ["5ea84cbe70fc", "09d0e6dea8b7"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection:cleanup", - "observation": { - "sender": ["5ea84cbe70fc", "09d0e6dea8b7"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "868840634c43", - "9c2f614376b8" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection-no-message:activated", - "observation": { - "sender": ["5ea84cbe70fc", "c96e189ca0ac"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection-no-message:reloaded", - "observation": { - "sender": ["5ea84cbe70fc", "c96e189ca0ac"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3" - ] - } - }, - { - "id": "session-startup-both-activation-sites.transport-rejection-no-message:cleanup", - "observation": { - "sender": ["5ea84cbe70fc", "c96e189ca0ac"], - "payloads": ["e8b978dbecff", "1dca7912e0fe"], - "settlements": { - "mount": "eb79a9b3682a", - "consume-route": "51ae204eb34b" - }, - "state": "854cb236952a", - "effects": [ - "6419a011f13b", - "aab012c297bd", - "e927128e41fc", - "95c8385db422", - "38b377793c34", - "4669e4d646e8", - "4319ba45c158", - "ba45b883b259", - "a509dd4610b2", - "6c4561ecc9ee", - "63abf3b998b3", - "868840634c43", - "9c2f614376b8" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 5b06617b5e7..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.tab-activation-session.tabs.activate-1.json +++ /dev/null @@ -1,958 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.tab-activation", - "family": "session.tab-activation", - "namedDeltas": [], - "values": { - "1ddcf41b827c": { - "name": "session.tabs.activate#1", - "ordinal": 3, - "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 - } - } - } - }, - "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 - } - } - }, - "2474331a374d": { - "name": "session.tabs.activate#1", - "ordinal": 3, - "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 - } - } - }, - "24783550ac3a": { - "name": "session.tabs.activate#1", - "ordinal": 3, - "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 - } - } - } - }, - "36e84700f75b": { - "name": "terminal.focus#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.focus\",\"params\":{\"terminal\":\"terminal-1\",\"navigation\":\"host\"}}" - }, - "3db95ed7902c": { - "name": "terminal.focus#1", - "ordinal": 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 - } - } - } - }, - "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 - } - } - }, - "53dacccc19f8": { - "name": "session.tabs.activate#1", - "ordinal": 3, - "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 - } - } - }, - "5497c29f1704": { - "name": "session.tabs.activate#1", - "ordinal": 3, - "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" - } - } - } - }, - "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 - } - } - }, - "795aac33fef6": { - "name": "session.tabs.activate#1", - "ordinal": 3, - "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 - } - } - } - }, - "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 - } - }, - "98fa77794333": { - "name": "session.tabs.activate#1", - "ordinal": 3, - "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 - } - } - }, - "9fd53197e14f": { - "name": "session.tabs.activate#1", - "ordinal": 4, - "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\"}}" - }, - "a246b8b840e5": { - "name": "session.tabs.activate#1", - "ordinal": 3, - "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 - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "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 - } - }, - "ccf7770577df": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - }, - "d1683d683d0d": { - "name": "session.tabs.activate#1", - "ordinal": 3, - "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 - } - } - }, - "d6a633975120": { - "name": "session.tabs.activate#1", - "ordinal": 3, - "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" - } - } - } - }, - "e1cb1d0ed778": { - "name": "session.tabs.activate#1", - "ordinal": 3, - "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 - } - } - }, - "e300d58f5c29": { - "activate": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - }, - "failure": { - "$rpc": "null" - }, - "focus": { - "id": "frame-1", - "ok": true, - "result": { - "focused": 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": ["3db95ed7902c", "795aac33fef6"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "ecc5d1639f16", - "activate": "84d74a6de2ca" - }, - "state": "4e4394afbcef", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.result-absent:activated", - "observation": { - "sender": ["3db95ed7902c", "53dacccc19f8"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "ecc5d1639f16", - "activate": "86832c8db827" - }, - "state": "b7d3873d1f62", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.result-null:activated", - "observation": { - "sender": ["3db95ed7902c", "d6a633975120"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "ecc5d1639f16", - "activate": "bb654f2bdea7" - }, - "state": "204d99558abd", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.inner-ok-missing:activated", - "observation": { - "sender": ["3db95ed7902c", "5497c29f1704"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "ecc5d1639f16", - "activate": "7d4b7965217b" - }, - "state": "f626e8d2889c", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.inner-false-string-error:activated", - "observation": { - "sender": ["3db95ed7902c", "24783550ac3a"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "ecc5d1639f16", - "activate": "5f3ba1cd76e0" - }, - "state": "ea28b62907bf", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.inner-false-object-error:activated", - "observation": { - "sender": ["3db95ed7902c", "1ddcf41b827c"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "ecc5d1639f16", - "activate": "23857f5f3255" - }, - "state": "eec55f34d6d8", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.outer-refused:activated", - "observation": { - "sender": ["3db95ed7902c", "98fa77794333"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "ecc5d1639f16", - "activate": "ccf7770577df" - }, - "state": "5134763ef050", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.outer-refused-no-message:activated", - "observation": { - "sender": ["3db95ed7902c", "2474331a374d"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "ecc5d1639f16", - "activate": "43044100d546" - }, - "state": "e300d58f5c29", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.method-not-found:activated", - "observation": { - "sender": ["3db95ed7902c", "d1683d683d0d"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "ecc5d1639f16", - "activate": "45c1af849de7" - }, - "state": "6edda552e76b", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.transport-rejection:activated", - "observation": { - "sender": ["3db95ed7902c", "e1cb1d0ed778"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "ecc5d1639f16", - "activate": "a947768bc0ed" - }, - "state": "79d93399ca0a", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.transport-rejection-no-message:activated", - "observation": { - "sender": ["3db95ed7902c", "a246b8b840e5"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "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 deleted file mode 100644 index 40c190c4653..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.tab-activation-terminal.focus-1.json +++ /dev/null @@ -1,928 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.tab-activation", - "family": "session.tab-activation", - "namedDeltas": [], - "values": { - "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 - } - } - }, - "079d37806ffb": { - "name": "terminal.focus#1", - "ordinal": 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 - } - } - } - }, - "116dc2efe833": { - "name": "terminal.focus#1", - "ordinal": 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 - } - } - }, - "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" - } - } - }, - "266e5da2cd10": { - "activate": { - "id": "frame-2", - "ok": true, - "result": { - "activated": true - } - }, - "failure": { - "$rpc": "null" - }, - "focus": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - }, - "320e2856fad1": { - "name": "terminal.focus#1", - "ordinal": 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 - } - } - }, - "36e84700f75b": { - "name": "terminal.focus#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.focus\",\"params\":{\"terminal\":\"terminal-1\",\"navigation\":\"host\"}}" - }, - "3db95ed7902c": { - "name": "terminal.focus#1", - "ordinal": 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 - } - } - } - }, - "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 - } - }, - "6f597d3c3e27": { - "name": "terminal.focus#1", - "ordinal": 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 - } - } - } - }, - "795aac33fef6": { - "name": "session.tabs.activate#1", - "ordinal": 3, - "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 - } - } - } - }, - "84d74a6de2ca": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "activated": true - } - } - }, - "97219c38288c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - }, - "9b0dc6028fd8": { - "name": "terminal.focus#1", - "ordinal": 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 - } - } - }, - "9e6f70ca7163": { - "activate": { - "id": "frame-2", - "ok": true, - "result": { - "activated": true - } - }, - "failure": { - "$rpc": "null" - }, - "focus": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - }, - "9fd53197e14f": { - "name": "session.tabs.activate#1", - "ordinal": 4, - "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\"}}" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b02237ecf1f8": { - "name": "terminal.focus#1", - "ordinal": 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" - } - } - } - }, - "b2c03b71f10a": { - "activate": { - "id": "frame-2", - "ok": true, - "result": { - "activated": true - } - }, - "failure": "transport failure" - }, - "b66c97958baf": { - "name": "terminal.focus#1", - "ordinal": 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 - } - } - }, - "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 - } - } - }, - "b8bb0f553025": { - "name": "terminal.focus#1", - "ordinal": 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 - } - } - }, - "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 - } - }, - "bc53e71fc821": { - "name": "terminal.focus#1", - "ordinal": 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" - } - } - } - }, - "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" - } - } - }, - "df2a874820d0": { - "name": "terminal.focus#1", - "ordinal": 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 - } - } - }, - "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": ["3db95ed7902c", "795aac33fef6"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "ecc5d1639f16", - "activate": "84d74a6de2ca" - }, - "state": "4e4394afbcef", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.result-absent:activated", - "observation": { - "sender": ["df2a874820d0", "795aac33fef6"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "fdc16c91d99d", - "activate": "84d74a6de2ca" - }, - "state": "62fdb01f5b5c", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.result-null:activated", - "observation": { - "sender": ["b02237ecf1f8", "795aac33fef6"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "c76b51daf336", - "activate": "84d74a6de2ca" - }, - "state": "9e6f70ca7163", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.inner-ok-missing:activated", - "observation": { - "sender": ["bc53e71fc821", "795aac33fef6"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "2502744f8808", - "activate": "84d74a6de2ca" - }, - "state": "efc5111f9e33", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.inner-false-string-error:activated", - "observation": { - "sender": ["079d37806ffb", "795aac33fef6"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "57ccbda9fde1", - "activate": "84d74a6de2ca" - }, - "state": "0590b758ddc1", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.inner-false-object-error:activated", - "observation": { - "sender": ["6f597d3c3e27", "795aac33fef6"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "97219c38288c", - "activate": "84d74a6de2ca" - }, - "state": "b8115959f9d6", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.outer-refused:activated", - "observation": { - "sender": ["b66c97958baf", "795aac33fef6"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "c43f43ee2e4c", - "activate": "84d74a6de2ca" - }, - "state": "bbb05c902ae9", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.outer-refused-no-message:activated", - "observation": { - "sender": ["320e2856fad1", "795aac33fef6"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "fe7233635ac5", - "activate": "84d74a6de2ca" - }, - "state": "266e5da2cd10", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.method-not-found:activated", - "observation": { - "sender": ["116dc2efe833", "795aac33fef6"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "484fd4423b44", - "activate": "84d74a6de2ca" - }, - "state": "5f1a9d73474f", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.transport-rejection:activated", - "observation": { - "sender": ["9b0dc6028fd8", "795aac33fef6"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "a947768bc0ed", - "activate": "84d74a6de2ca" - }, - "state": "b2c03b71f10a", - "effects": [] - } - }, - { - "id": "session-tab-activation-focus-and-activate.transport-rejection-no-message:activated", - "observation": { - "sender": ["b8bb0f553025", "795aac33fef6"], - "payloads": ["36e84700f75b", "9fd53197e14f"], - "settlements": { - "focus": "c7584e82c72f", - "activate": "84d74a6de2ca" - }, - "state": "1fe60797f615", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.tab-close-session-session.tabs.close-1.json b/mobile/rpc-foundation/goldens/matrix-session.tab-close-session-session.tabs.close-1.json deleted file mode 100644 index a00c4b9579f..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.tab-close-session-session.tabs.close-1.json +++ /dev/null @@ -1,593 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.tab-close", - "family": "session.tab-close-session", - "namedDeltas": [], - "values": { - "0bf439aa2905": { - "name": "session.tabs.close#1", - "ordinal": 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": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "1195cdf08e57": { - "name": "unsubscribe-terminal", - "ordinal": 3, - "value": { - "handle": "terminal-1" - } - }, - "30cee8b4ade6": { - "name": "session.tabs.close#1", - "ordinal": 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": { - "error": "inner refused", - "ok": false - } - } - } - }, - "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" - } - ] - }, - "3f4d08e5066d": { - "name": "session.tabs.close#1", - "ordinal": 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": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "40f415172609": { - "name": "session.tabs.close#1", - "ordinal": 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": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "45e770794f33": { - "name": "session.tabs.close#1", - "ordinal": 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": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "50a46af5cf5c": { - "name": "session.tabs.close#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.close\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-1\",\"reason\":\"user\"}}" - }, - "567d11711027": { - "activeHandle": { - "$rpc": "null" - }, - "sessionTabs": [], - "terminals": [ - { - "handle": "terminal-1", - "isActive": true, - "title": "Terminal" - } - ] - }, - "578184289260": { - "name": "session.tabs.close#1", - "ordinal": 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": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "61d3a3d6f1ca": { - "name": "session.tabs.close#1", - "ordinal": 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": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "6a7fbdf66a9f": { - "name": "session.tabs.close#1", - "ordinal": 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 - } - } - }, - "c713707ba458": { - "name": "session.tabs.close#1", - "ordinal": 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": { - "$rpc": "null" - } - } - } - }, - "d5deb95141e2": { - "name": "session.tabs.close#1", - "ordinal": 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": { - "error": "refused" - } - } - } - }, - "de4cc94c0333": { - "name": "session.tabs.close#1", - "ordinal": 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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-session.tab-close-session-session.tabs.close-1", - "checkpoints": [ - { - "id": "session-tab-closed.normal:closed", - "observation": { - "sender": ["de4cc94c0333"], - "payloads": ["50a46af5cf5c"], - "settlements": { - "close-tab": "eb79a9b3682a" - }, - "state": "567d11711027", - "effects": ["1195cdf08e57"] - } - }, - { - "id": "session-tab-closed.result-absent:closed", - "observation": { - "sender": ["6a7fbdf66a9f"], - "payloads": ["50a46af5cf5c"], - "settlements": { - "close-tab": "eb79a9b3682a" - }, - "state": "567d11711027", - "effects": ["1195cdf08e57"] - } - }, - { - "id": "session-tab-closed.result-null:closed", - "observation": { - "sender": ["c713707ba458"], - "payloads": ["50a46af5cf5c"], - "settlements": { - "close-tab": "eb79a9b3682a" - }, - "state": "567d11711027", - "effects": ["1195cdf08e57"] - } - }, - { - "id": "session-tab-closed.inner-ok-missing:closed", - "observation": { - "sender": ["d5deb95141e2"], - "payloads": ["50a46af5cf5c"], - "settlements": { - "close-tab": "eb79a9b3682a" - }, - "state": "567d11711027", - "effects": ["1195cdf08e57"] - } - }, - { - "id": "session-tab-closed.inner-false-string-error:closed", - "observation": { - "sender": ["30cee8b4ade6"], - "payloads": ["50a46af5cf5c"], - "settlements": { - "close-tab": "eb79a9b3682a" - }, - "state": "567d11711027", - "effects": ["1195cdf08e57"] - } - }, - { - "id": "session-tab-closed.inner-false-object-error:closed", - "observation": { - "sender": ["61d3a3d6f1ca"], - "payloads": ["50a46af5cf5c"], - "settlements": { - "close-tab": "eb79a9b3682a" - }, - "state": "567d11711027", - "effects": ["1195cdf08e57"] - } - }, - { - "id": "session-tab-closed.outer-refused:closed", - "observation": { - "sender": ["0bf439aa2905"], - "payloads": ["50a46af5cf5c"], - "settlements": { - "close-tab": "eb79a9b3682a" - }, - "state": "3e15def58214", - "effects": [] - } - }, - { - "id": "session-tab-closed.outer-refused-no-message:closed", - "observation": { - "sender": ["45e770794f33"], - "payloads": ["50a46af5cf5c"], - "settlements": { - "close-tab": "eb79a9b3682a" - }, - "state": "3e15def58214", - "effects": [] - } - }, - { - "id": "session-tab-closed.method-not-found:closed", - "observation": { - "sender": ["578184289260"], - "payloads": ["50a46af5cf5c"], - "settlements": { - "close-tab": "eb79a9b3682a" - }, - "state": "3e15def58214", - "effects": [] - } - }, - { - "id": "session-tab-closed.transport-rejection:closed", - "observation": { - "sender": ["40f415172609"], - "payloads": ["50a46af5cf5c"], - "settlements": { - "close-tab": "eb79a9b3682a" - }, - "state": "3e15def58214", - "effects": [] - } - }, - { - "id": "session-tab-closed.transport-rejection-no-message:closed", - "observation": { - "sender": ["3f4d08e5066d"], - "payloads": ["50a46af5cf5c"], - "settlements": { - "close-tab": "eb79a9b3682a" - }, - "state": "3e15def58214", - "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 deleted file mode 100644 index 8450162e627..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.tab-close-terminal.close-1.json +++ /dev/null @@ -1,573 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.tab-close", - "family": "session.tab-close", - "namedDeltas": [], - "values": { - "021e509dd685": { - "name": "terminal.close#1", - "ordinal": 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" - } - } - } - }, - "07f46a73239d": { - "name": "terminal.close#1", - "ordinal": 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 - } - } - } - }, - "0bbe0d128f7c": { - "name": "terminal.close#1", - "ordinal": 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 - } - } - }, - "1195cdf08e57": { - "name": "unsubscribe-terminal", - "ordinal": 3, - "value": { - "handle": "terminal-1" - } - }, - "375ce0a49f0d": { - "name": "terminal.close#1", - "ordinal": 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 - } - } - }, - "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" - } - ] - }, - "6d591243ee36": { - "name": "terminal.close#1", - "ordinal": 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 - } - } - } - }, - "7291ef90b7d5": { - "name": "terminal.close#1", - "ordinal": 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 - } - } - }, - "72c3951cb845": { - "name": "terminal.close#1", - "ordinal": 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 - } - } - }, - "7ff39a1a6d2b": { - "name": "terminal.close#1", - "ordinal": 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 - } - } - } - }, - "b440078f92c9": { - "name": "terminal.close#1", - "ordinal": 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 - } - } - }, - "c6aded68b1b4": { - "name": "terminal.close#1", - "ordinal": 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" - } - } - } - }, - "de039f500462": { - "activeHandle": { - "$rpc": "null" - }, - "sessionTabs": [ - { - "id": "tab-1", - "isActive": true, - "terminal": "terminal-1", - "title": "Terminal", - "type": "terminal" - } - ], - "terminals": [] - }, - "ea6af383fa46": { - "name": "terminal.close#1", - "ordinal": 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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ff9e6fa68d38": { - "name": "terminal.close#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.close\",\"params\":{\"terminal\":\"terminal-1\"}}" - } - }, - "recording": { - "scenario": "matrix-session.tab-close-terminal.close-1", - "checkpoints": [ - { - "id": "session-tab-close-terminal.normal:closed", - "observation": { - "sender": ["6d591243ee36"], - "payloads": ["ff9e6fa68d38"], - "settlements": { - "close-terminal": "eb79a9b3682a" - }, - "state": "de039f500462", - "effects": ["1195cdf08e57"] - } - }, - { - "id": "session-tab-close-terminal.result-absent:closed", - "observation": { - "sender": ["0bbe0d128f7c"], - "payloads": ["ff9e6fa68d38"], - "settlements": { - "close-terminal": "eb79a9b3682a" - }, - "state": "de039f500462", - "effects": ["1195cdf08e57"] - } - }, - { - "id": "session-tab-close-terminal.result-null:closed", - "observation": { - "sender": ["c6aded68b1b4"], - "payloads": ["ff9e6fa68d38"], - "settlements": { - "close-terminal": "eb79a9b3682a" - }, - "state": "de039f500462", - "effects": ["1195cdf08e57"] - } - }, - { - "id": "session-tab-close-terminal.inner-ok-missing:closed", - "observation": { - "sender": ["021e509dd685"], - "payloads": ["ff9e6fa68d38"], - "settlements": { - "close-terminal": "eb79a9b3682a" - }, - "state": "de039f500462", - "effects": ["1195cdf08e57"] - } - }, - { - "id": "session-tab-close-terminal.inner-false-string-error:closed", - "observation": { - "sender": ["07f46a73239d"], - "payloads": ["ff9e6fa68d38"], - "settlements": { - "close-terminal": "eb79a9b3682a" - }, - "state": "de039f500462", - "effects": ["1195cdf08e57"] - } - }, - { - "id": "session-tab-close-terminal.inner-false-object-error:closed", - "observation": { - "sender": ["7ff39a1a6d2b"], - "payloads": ["ff9e6fa68d38"], - "settlements": { - "close-terminal": "eb79a9b3682a" - }, - "state": "de039f500462", - "effects": ["1195cdf08e57"] - } - }, - { - "id": "session-tab-close-terminal.outer-refused:closed", - "observation": { - "sender": ["7291ef90b7d5"], - "payloads": ["ff9e6fa68d38"], - "settlements": { - "close-terminal": "eb79a9b3682a" - }, - "state": "3e15def58214", - "effects": [] - } - }, - { - "id": "session-tab-close-terminal.outer-refused-no-message:closed", - "observation": { - "sender": ["375ce0a49f0d"], - "payloads": ["ff9e6fa68d38"], - "settlements": { - "close-terminal": "eb79a9b3682a" - }, - "state": "3e15def58214", - "effects": [] - } - }, - { - "id": "session-tab-close-terminal.method-not-found:closed", - "observation": { - "sender": ["ea6af383fa46"], - "payloads": ["ff9e6fa68d38"], - "settlements": { - "close-terminal": "eb79a9b3682a" - }, - "state": "3e15def58214", - "effects": [] - } - }, - { - "id": "session-tab-close-terminal.transport-rejection:closed", - "observation": { - "sender": ["72c3951cb845"], - "payloads": ["ff9e6fa68d38"], - "settlements": { - "close-terminal": "eb79a9b3682a" - }, - "state": "3e15def58214", - "effects": [] - } - }, - { - "id": "session-tab-close-terminal.transport-rejection-no-message:closed", - "observation": { - "sender": ["b440078f92c9"], - "payloads": ["ff9e6fa68d38"], - "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 deleted file mode 100644 index 47da84b8a38..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.tab-documents-markdown.readtab-1.json +++ /dev/null @@ -1,572 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.tab-documents", - "family": "session.tab-documents", - "namedDeltas": [], - "values": { - "11d4233470ab": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - }, - "27c8f1a219da": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - }, - "30ca4532d665": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - }, - "3f9b64bce472": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - }, - "44abbe2af7aa": { - "name": "markdown.readTab#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"markdown.readTab\",\"params\":{\"worktree\":\"id:workspace-1\",\"tabId\":\"tab-md\"}}" - }, - "4b881f02b557": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - }, - "7316598fc7ff": { - "name": "markdown.readTab#1", - "ordinal": 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" - } - } - } - }, - "79f4c7ca7e69": { - "name": "markdown.readTab#1", - "ordinal": 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" - } - } - } - }, - "877720375363": { - "file": {}, - "markdown": { - "tab-md": { - "message": "Couldn't load markdown", - "status": "error" - } - } - }, - "8f5af40a86f8": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - }, - "9678ee74c12b": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - } - }, - "a2bc1f147779": { - "name": "markdown.readTab#1", - "ordinal": 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 - } - } - } - }, - "d4cf305b17f8": { - "file": {}, - "markdown": { - "tab-md": { - "baseVersion": "v1", - "content": "# a", - "editable": true, - "isDirty": false, - "localContent": "# a", - "readOnlyReason": { - "$rpc": "undefined" - }, - "stale": false, - "status": "ready" - } - } - }, - "dec5db38cd1c": { - "name": "markdown.readTab#1", - "ordinal": 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" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-session.tab-documents-markdown.readtab-1", - "checkpoints": [ - { - "id": "session-markdown-tab-read.normal:read", - "observation": { - "sender": ["79f4c7ca7e69"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "d4cf305b17f8", - "effects": [] - } - }, - { - "id": "session-markdown-tab-read.result-absent:read", - "observation": { - "sender": ["30ca4532d665"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-tab-read.result-null:read", - "observation": { - "sender": ["7316598fc7ff"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-tab-read.inner-ok-missing:read", - "observation": { - "sender": ["dec5db38cd1c"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-tab-read.inner-false-string-error:read", - "observation": { - "sender": ["a2bc1f147779"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-tab-read.inner-false-object-error:read", - "observation": { - "sender": ["9678ee74c12b"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-tab-read.outer-refused:read", - "observation": { - "sender": ["11d4233470ab"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-tab-read.outer-refused-no-message:read", - "observation": { - "sender": ["4b881f02b557"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-tab-read.method-not-found:read", - "observation": { - "sender": ["27c8f1a219da"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-tab-read.transport-rejection:read", - "observation": { - "sender": ["8f5af40a86f8"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - }, - { - "id": "session-markdown-tab-read.transport-rejection-no-message:read", - "observation": { - "sender": ["3f9b64bce472"], - "payloads": ["44abbe2af7aa"], - "settlements": { - "markdown": "eb79a9b3682a" - }, - "state": "877720375363", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.tab-rename-terminal.rename-1.json b/mobile/rpc-foundation/goldens/matrix-session.tab-rename-terminal.rename-1.json deleted file mode 100644 index 9f8c501718f..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.tab-rename-terminal.rename-1.json +++ /dev/null @@ -1,652 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.tab-close", - "family": "session.tab-rename", - "namedDeltas": [], - "values": { - "0923ddf47a9b": { - "name": "fetch-terminals", - "ordinal": 3, - "value": {} - }, - "0cf23ec95cc3": { - "name": "terminal.rename#2", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.rename" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1", - "title": "build" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1e34b997cfe0": { - "name": "terminal.rename#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.rename" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1", - "title": "build" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "2216df7abfbb": { - "name": "terminal.rename#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.rename" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1", - "title": "build" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "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" - } - ] - }, - "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" - } - ] - }, - "44569d678c4b": { - "name": "terminal.rename#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.rename" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1", - "title": "build" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "53ded5a9df97": { - "name": "terminal.rename#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.rename" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1", - "title": "build" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "7e43ade02444": { - "name": "terminal.rename#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.rename\",\"params\":{\"terminal\":\"terminal-1\",\"title\":\"build\"}}" - }, - "8980995db3db": { - "name": "terminal.rename#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.rename" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1", - "title": "build" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "92c8d9e31310": { - "name": "terminal.rename#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.rename" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1", - "title": "build" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "a8e7bb2951d3": { - "name": "terminal.rename#2", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.rename\",\"params\":{\"terminal\":\"terminal-1\",\"title\":\"build\"}}" - }, - "ac6fa6599ad2": { - "name": "terminal.rename#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.rename" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1", - "title": "build" - } - }, - { - "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 - } - } - }, - "b6460631c63c": { - "name": "terminal.rename#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.rename" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1", - "title": "build" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "renamed": true - } - } - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "dcf74f518078": { - "name": "terminal.rename#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.rename" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1", - "title": "build" - } - }, - { - "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 - } - } - } - }, - "e932ac630cbd": { - "name": "terminal.rename#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.rename" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1", - "title": "build" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "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" - } - }, - "ed902d7e4b50": { - "name": "terminal.rename#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.rename" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1", - "title": "build" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - } - }, - "recording": { - "scenario": "matrix-session.tab-rename-terminal.rename-1", - "checkpoints": [ - { - "id": "session-tab-renamed.normal:renamed", - "observation": { - "sender": ["b6460631c63c"], - "payloads": ["7e43ade02444"], - "settlements": { - "rename": "eb79a9b3682a" - }, - "state": "42b6d6d7fdf9", - "effects": ["0923ddf47a9b"] - } - }, - { - "id": "session-tab-renamed.result-absent:renamed", - "observation": { - "sender": ["1e34b997cfe0"], - "payloads": ["7e43ade02444"], - "settlements": { - "rename": "eb79a9b3682a" - }, - "state": "42b6d6d7fdf9", - "effects": ["0923ddf47a9b"] - } - }, - { - "id": "session-tab-renamed.result-null:renamed", - "observation": { - "sender": ["92c8d9e31310"], - "payloads": ["7e43ade02444"], - "settlements": { - "rename": "eb79a9b3682a" - }, - "state": "42b6d6d7fdf9", - "effects": ["0923ddf47a9b"] - } - }, - { - "id": "session-tab-renamed.inner-ok-missing:renamed", - "observation": { - "sender": ["e932ac630cbd"], - "payloads": ["7e43ade02444"], - "settlements": { - "rename": "eb79a9b3682a" - }, - "state": "42b6d6d7fdf9", - "effects": ["0923ddf47a9b"] - } - }, - { - "id": "session-tab-renamed.inner-false-string-error:renamed", - "observation": { - "sender": ["8980995db3db"], - "payloads": ["7e43ade02444"], - "settlements": { - "rename": "eb79a9b3682a" - }, - "state": "42b6d6d7fdf9", - "effects": ["0923ddf47a9b"] - } - }, - { - "id": "session-tab-renamed.inner-false-object-error:renamed", - "observation": { - "sender": ["dcf74f518078"], - "payloads": ["7e43ade02444"], - "settlements": { - "rename": "eb79a9b3682a" - }, - "state": "42b6d6d7fdf9", - "effects": ["0923ddf47a9b"] - } - }, - { - "id": "session-tab-renamed.outer-refused:renamed", - "observation": { - "sender": ["53ded5a9df97"], - "payloads": ["7e43ade02444"], - "settlements": { - "rename": "32a7c0ae7918" - }, - "state": "3e15def58214", - "effects": [] - } - }, - { - "id": "session-tab-renamed.outer-refused-no-message:renamed", - "observation": { - "sender": ["44569d678c4b"], - "payloads": ["7e43ade02444"], - "settlements": { - "rename": "f3b516f62081" - }, - "state": "3e15def58214", - "effects": [] - } - }, - { - "id": "session-tab-renamed.method-not-found:renamed", - "observation": { - "sender": ["ac6fa6599ad2"], - "payloads": ["7e43ade02444"], - "settlements": { - "rename": "b948e8307e81" - }, - "state": "3e15def58214", - "effects": [] - } - }, - { - "id": "session-tab-renamed.transport-rejection:renamed", - "observation": { - "sender": ["2216df7abfbb", "0cf23ec95cc3"], - "payloads": ["7e43ade02444", "a8e7bb2951d3"], - "settlements": { - "rename": "9270aeb7d9c6" - }, - "state": "3e15def58214", - "effects": [] - } - }, - { - "id": "session-tab-renamed.transport-rejection-no-message:renamed", - "observation": { - "sender": ["ed902d7e4b50", "0cf23ec95cc3"], - "payloads": ["7e43ade02444", "a8e7bb2951d3"], - "settlements": { - "rename": "9270aeb7d9c6" - }, - "state": "3e15def58214", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 5d41837bc4d..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.tabs-stream-health-session.tabs.list-1.json +++ /dev/null @@ -1,674 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.tabs-stream-health", - "family": "session.tabs-stream-health", - "namedDeltas": [], - "values": { - "01a7e0d83191": { - "name": "session.tabs.list#1", - "ordinal": 2, - "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 - } - } - }, - "023d1c79061d": { - "name": "fetch-succeeded", - "ordinal": 4, - "value": { - "$rpc": "null" - } - }, - "05a791f26f12": { - "name": "session.tabs.list#1", - "ordinal": 2, - "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 - } - } - }, - "0cde28482d1a": { - "name": "session.tabs.list#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"session.tabs.list\",\"params\":{\"worktree\":\"id:workspace-1\"}}" - }, - "15ed06bc7b53": { - "name": "fetch-failed", - "ordinal": 4, - "value": { - "code": "method_not_found", - "message": "Unknown method" - } - }, - "18295edda482": { - "name": "session.tabs.list#1", - "ordinal": 2, - "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" - } - ] - } - } - } - }, - "1d8cdc057f73": { - "name": "fetch-succeeded", - "ordinal": 4, - "value": { - "$rpc": "undefined" - } - }, - "49a2260ea0e7": { - "accepted": "unapplied", - "applicationRevision": 0 - }, - "510d7b10aacf": { - "name": "fetch-started", - "ordinal": 1, - "value": {} - }, - "540a1c1f9afc": { - "name": "fetch-succeeded", - "ordinal": 4, - "value": { - "tabs": [ - { - "id": "tab-1" - } - ] - } - }, - "54c028e441b6": { - "name": "session.tabs.list#1", - "ordinal": 2, - "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 - } - } - }, - "5b4b31a5c6c8": { - "name": "fetch-failed", - "ordinal": 4, - "value": { - "code": "refused", - "message": "outer refused" - } - }, - "60a84325dd0c": { - "name": "session.tabs.list#1", - "ordinal": 2, - "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 - } - } - } - }, - "72cf9146105f": { - "name": "fetch-errored", - "ordinal": 5, - "value": "Cannot read properties of undefined (reading 'tabs')" - }, - "75ab5fae8ed4": { - "name": "session.tabs.list#1", - "ordinal": 2, - "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 - } - } - }, - "7f8a0566a246": { - "name": "session.tabs.list#1", - "ordinal": 2, - "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" - } - } - } - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "85bf7ca92393": { - "name": "session.tabs.list#1", - "ordinal": 2, - "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 - } - } - }, - "88f4e35276e9": { - "name": "session.tabs.list#1", - "ordinal": 2, - "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 - } - } - }, - "8a0ba48aedaa": { - "name": "session.tabs.list#1", - "ordinal": 2, - "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" - } - } - } - }, - "8a782843ee8b": { - "name": "fetch-failed", - "ordinal": 4, - "value": { - "code": "refused", - "message": "" - } - }, - "94f0f260fae7": { - "name": "session.tabs.list#1", - "ordinal": 2, - "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 - } - } - } - }, - "9c37ed7ec7a5": { - "name": "fetch-errored", - "ordinal": 5, - "value": "Cannot read properties of null (reading 'tabs')" - }, - "b6ed47ca5ea3": { - "accepted": { - "source": "list", - "tabs": [] - }, - "applicationRevision": 0 - }, - "c106b3cf3f62": { - "name": "fetch-errored", - "ordinal": 4, - "value": "transport failure" - }, - "d68be3f11f15": { - "name": "fetch-succeeded", - "ordinal": 4, - "value": { - "error": "inner refused", - "ok": false - } - }, - "d8eba295ab18": { - "name": "fetch-succeeded", - "ordinal": 4, - "value": { - "error": { - "message": "inner refused" - }, - "ok": false - } - }, - "dca46076da98": { - "name": "fetch-succeeded", - "ordinal": 4, - "value": { - "error": "refused" - } - }, - "df45a919af4f": { - "name": "fetch-errored", - "ordinal": 4, - "value": "" - }, - "e29309cc10af": { - "accepted": { - "source": "list", - "tabs": [ - { - "id": "tab-1" - } - ] - }, - "applicationRevision": 0 - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-session.tabs-stream-health-session.tabs.list-1", - "checkpoints": [ - { - "id": "session-tabs-health-reconciled.normal:reconciled", - "observation": { - "sender": ["18295edda482"], - "payloads": ["0cde28482d1a"], - "settlements": { - "activate": "84e5ca07cb7a", - "reconcile": "eb79a9b3682a" - }, - "state": "e29309cc10af", - "effects": ["510d7b10aacf", "540a1c1f9afc"] - } - }, - { - "id": "session-tabs-health-reconciled.result-absent:reconciled", - "observation": { - "sender": ["01a7e0d83191"], - "payloads": ["0cde28482d1a"], - "settlements": { - "activate": "84e5ca07cb7a", - "reconcile": "eb79a9b3682a" - }, - "state": "49a2260ea0e7", - "effects": ["510d7b10aacf", "1d8cdc057f73", "72cf9146105f"] - } - }, - { - "id": "session-tabs-health-reconciled.result-null:reconciled", - "observation": { - "sender": ["8a0ba48aedaa"], - "payloads": ["0cde28482d1a"], - "settlements": { - "activate": "84e5ca07cb7a", - "reconcile": "eb79a9b3682a" - }, - "state": "49a2260ea0e7", - "effects": ["510d7b10aacf", "023d1c79061d", "9c37ed7ec7a5"] - } - }, - { - "id": "session-tabs-health-reconciled.inner-ok-missing:reconciled", - "observation": { - "sender": ["7f8a0566a246"], - "payloads": ["0cde28482d1a"], - "settlements": { - "activate": "84e5ca07cb7a", - "reconcile": "eb79a9b3682a" - }, - "state": "b6ed47ca5ea3", - "effects": ["510d7b10aacf", "dca46076da98"] - } - }, - { - "id": "session-tabs-health-reconciled.inner-false-string-error:reconciled", - "observation": { - "sender": ["60a84325dd0c"], - "payloads": ["0cde28482d1a"], - "settlements": { - "activate": "84e5ca07cb7a", - "reconcile": "eb79a9b3682a" - }, - "state": "b6ed47ca5ea3", - "effects": ["510d7b10aacf", "d68be3f11f15"] - } - }, - { - "id": "session-tabs-health-reconciled.inner-false-object-error:reconciled", - "observation": { - "sender": ["94f0f260fae7"], - "payloads": ["0cde28482d1a"], - "settlements": { - "activate": "84e5ca07cb7a", - "reconcile": "eb79a9b3682a" - }, - "state": "b6ed47ca5ea3", - "effects": ["510d7b10aacf", "d8eba295ab18"] - } - }, - { - "id": "session-tabs-health-reconciled.outer-refused:reconciled", - "observation": { - "sender": ["88f4e35276e9"], - "payloads": ["0cde28482d1a"], - "settlements": { - "activate": "84e5ca07cb7a", - "reconcile": "eb79a9b3682a" - }, - "state": "49a2260ea0e7", - "effects": ["510d7b10aacf", "5b4b31a5c6c8"] - } - }, - { - "id": "session-tabs-health-reconciled.outer-refused-no-message:reconciled", - "observation": { - "sender": ["54c028e441b6"], - "payloads": ["0cde28482d1a"], - "settlements": { - "activate": "84e5ca07cb7a", - "reconcile": "eb79a9b3682a" - }, - "state": "49a2260ea0e7", - "effects": ["510d7b10aacf", "8a782843ee8b"] - } - }, - { - "id": "session-tabs-health-reconciled.method-not-found:reconciled", - "observation": { - "sender": ["85bf7ca92393"], - "payloads": ["0cde28482d1a"], - "settlements": { - "activate": "84e5ca07cb7a", - "reconcile": "eb79a9b3682a" - }, - "state": "49a2260ea0e7", - "effects": ["510d7b10aacf", "15ed06bc7b53"] - } - }, - { - "id": "session-tabs-health-reconciled.transport-rejection:reconciled", - "observation": { - "sender": ["75ab5fae8ed4"], - "payloads": ["0cde28482d1a"], - "settlements": { - "activate": "84e5ca07cb7a", - "reconcile": "eb79a9b3682a" - }, - "state": "49a2260ea0e7", - "effects": ["510d7b10aacf", "c106b3cf3f62"] - } - }, - { - "id": "session-tabs-health-reconciled.transport-rejection-no-message:reconciled", - "observation": { - "sender": ["05a791f26f12"], - "payloads": ["0cde28482d1a"], - "settlements": { - "activate": "84e5ca07cb7a", - "reconcile": "eb79a9b3682a" - }, - "state": "49a2260ea0e7", - "effects": ["510d7b10aacf", "df45a919af4f"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.terminal-display-mode-terminal.setdisplaymode-1.json b/mobile/rpc-foundation/goldens/matrix-session.terminal-display-mode-terminal.setdisplaymode-1.json deleted file mode 100644 index 3dd3c432ab8..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.terminal-display-mode-terminal.setdisplaymode-1.json +++ /dev/null @@ -1,721 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.terminal-display-mode", - "family": "session.terminal-display-mode", - "namedDeltas": [], - "values": { - "0adddb41fd5b": { - "name": "terminal.setDisplayMode#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "terminal.setDisplayMode" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "mode": "auto", - "terminal": "terminal-1", - "viewport": { - "cols": 100, - "rows": 30 - } - } - }, - { - "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 - } - } - } - }, - "0d03920ac024": { - "name": "terminal.setDisplayMode#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "terminal.setDisplayMode" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "mode": "auto", - "terminal": "terminal-1", - "viewport": { - "cols": 100, - "rows": 30 - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "176c3eaa9e0e": { - "name": "terminal.setDisplayMode#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "terminal.setDisplayMode" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "mode": "auto", - "terminal": "terminal-1", - "viewport": { - "cols": 100, - "rows": 30 - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "29a7d2e51554": { - "name": "terminal.setDisplayMode#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "terminal.setDisplayMode" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "mode": "auto", - "terminal": "terminal-1", - "viewport": { - "cols": 100, - "rows": 30 - } - } - }, - { - "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 - } - } - }, - "2d1ddad4130d": { - "name": "terminal.setDisplayMode#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "terminal.setDisplayMode" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "mode": "auto", - "terminal": "terminal-1", - "viewport": { - "cols": 100, - "rows": 30 - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "39066dc373ed": { - "name": "terminal.setDisplayMode#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.setDisplayMode\",\"params\":{\"terminal\":\"terminal-1\",\"mode\":\"auto\",\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"},\"viewport\":{\"cols\":100,\"rows\":30}}}" - }, - "43fc954fe2af": { - "name": "terminal.setDisplayMode#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "terminal.setDisplayMode" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "mode": "auto", - "terminal": "terminal-1", - "viewport": { - "cols": 100, - "rows": 30 - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "61b1eb90a019": { - "crash": { - "$rpc": "null" - }, - "inFlight": ["terminal-1"], - "viewport": { - "cols": 100, - "rows": 30 - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "9b94c2f54b94": { - "name": "terminal.setDisplayMode#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "terminal.setDisplayMode" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "mode": "auto", - "terminal": "terminal-1", - "viewport": { - "cols": 100, - "rows": 30 - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "ad499ab069a7": { - "name": "terminal.setDisplayMode#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "terminal.setDisplayMode" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "mode": "auto", - "terminal": "terminal-1", - "viewport": { - "cols": 100, - "rows": 30 - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "b66d765b8e17": { - "name": "terminal.setDisplayMode#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "terminal.setDisplayMode" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "mode": "auto", - "terminal": "terminal-1", - "viewport": { - "cols": 100, - "rows": 30 - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "b83268a0bf2d": { - "name": "terminal.setDisplayMode#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "terminal.setDisplayMode" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "mode": "auto", - "terminal": "terminal-1", - "viewport": { - "cols": 100, - "rows": 30 - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "bdf4e2bcbe22": { - "name": "terminal.setDisplayMode#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "terminal.setDisplayMode" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "mode": "auto", - "terminal": "terminal-1", - "viewport": { - "cols": 100, - "rows": 30 - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "c21196ef3035": { - "name": "terminal.setDisplayMode#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "terminal.setDisplayMode" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "mode": "auto", - "terminal": "terminal-1", - "viewport": { - "cols": 100, - "rows": 30 - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "mode": "auto" - } - } - } - }, - "e27323f28d10": { - "name": "subscribe-terminal", - "ordinal": 1, - "value": { - "handle": "terminal-1" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "fa46c84fb0ab": { - "crash": { - "$rpc": "null" - }, - "inFlight": [], - "viewport": { - "cols": 100, - "rows": 30 - } - } - }, - "recording": { - "scenario": "matrix-session.terminal-display-mode-terminal.setdisplaymode-1", - "checkpoints": [ - { - "id": "session-terminal-display-mode-auto-take-floor.prelude:in-flight", - "observation": { - "sender": ["ad499ab069a7"], - "payloads": ["39066dc373ed"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle": "9270aeb7d9c6" - }, - "state": "61b1eb90a019", - "effects": ["e27323f28d10"] - } - }, - { - "id": "session-terminal-display-mode-auto-take-floor.normal:settled", - "observation": { - "sender": ["c21196ef3035"], - "payloads": ["39066dc373ed"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle": "eb79a9b3682a" - }, - "state": "fa46c84fb0ab", - "effects": ["e27323f28d10"] - } - }, - { - "id": "session-terminal-display-mode-auto-take-floor.result-absent:settled", - "observation": { - "sender": ["176c3eaa9e0e"], - "payloads": ["39066dc373ed"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle": "eb79a9b3682a" - }, - "state": "fa46c84fb0ab", - "effects": ["e27323f28d10"] - } - }, - { - "id": "session-terminal-display-mode-auto-take-floor.result-null:settled", - "observation": { - "sender": ["b83268a0bf2d"], - "payloads": ["39066dc373ed"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle": "eb79a9b3682a" - }, - "state": "fa46c84fb0ab", - "effects": ["e27323f28d10"] - } - }, - { - "id": "session-terminal-display-mode-auto-take-floor.inner-ok-missing:settled", - "observation": { - "sender": ["bdf4e2bcbe22"], - "payloads": ["39066dc373ed"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle": "eb79a9b3682a" - }, - "state": "fa46c84fb0ab", - "effects": ["e27323f28d10"] - } - }, - { - "id": "session-terminal-display-mode-auto-take-floor.inner-false-string-error:settled", - "observation": { - "sender": ["2d1ddad4130d"], - "payloads": ["39066dc373ed"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle": "eb79a9b3682a" - }, - "state": "fa46c84fb0ab", - "effects": ["e27323f28d10"] - } - }, - { - "id": "session-terminal-display-mode-auto-take-floor.inner-false-object-error:settled", - "observation": { - "sender": ["0adddb41fd5b"], - "payloads": ["39066dc373ed"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle": "eb79a9b3682a" - }, - "state": "fa46c84fb0ab", - "effects": ["e27323f28d10"] - } - }, - { - "id": "session-terminal-display-mode-auto-take-floor.outer-refused:settled", - "observation": { - "sender": ["43fc954fe2af"], - "payloads": ["39066dc373ed"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle": "eb79a9b3682a" - }, - "state": "fa46c84fb0ab", - "effects": ["e27323f28d10"] - } - }, - { - "id": "session-terminal-display-mode-auto-take-floor.outer-refused-no-message:settled", - "observation": { - "sender": ["9b94c2f54b94"], - "payloads": ["39066dc373ed"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle": "eb79a9b3682a" - }, - "state": "fa46c84fb0ab", - "effects": ["e27323f28d10"] - } - }, - { - "id": "session-terminal-display-mode-auto-take-floor.method-not-found:settled", - "observation": { - "sender": ["29a7d2e51554"], - "payloads": ["39066dc373ed"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle": "eb79a9b3682a" - }, - "state": "fa46c84fb0ab", - "effects": ["e27323f28d10"] - } - }, - { - "id": "session-terminal-display-mode-auto-take-floor.transport-rejection:settled", - "observation": { - "sender": ["b66d765b8e17"], - "payloads": ["39066dc373ed"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle": "eb79a9b3682a" - }, - "state": "fa46c84fb0ab", - "effects": ["e27323f28d10"] - } - }, - { - "id": "session-terminal-display-mode-auto-take-floor.transport-rejection-no-message:settled", - "observation": { - "sender": ["0d03920ac024"], - "payloads": ["39066dc373ed"], - "settlements": { - "mount": "eb79a9b3682a", - "toggle": "eb79a9b3682a" - }, - "state": "fa46c84fb0ab", - "effects": ["e27323f28d10"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.terminal-gesture-input-terminal.clearbuffer-1.json b/mobile/rpc-foundation/goldens/matrix-session.terminal-gesture-input-terminal.clearbuffer-1.json deleted file mode 100644 index 443c33788d2..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.terminal-gesture-input-terminal.clearbuffer-1.json +++ /dev/null @@ -1,844 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.terminal-gesture-input", - "family": "session.terminal-gesture-input", - "namedDeltas": [], - "values": { - "02588992c365": { - "name": "terminal.clearBuffer#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.clearBuffer" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 16, - "settledAt": 16, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "0cc3e25ebff5": { - "bucketTokens": 63, - "crash": { - "$rpc": "null" - }, - "inFlight": false, - "queuedBytes": { - "$rpc": "null" - }, - "queuedSequences": { - "$rpc": "null" - } - }, - "141c158e46dc": { - "name": "terminal.clearBuffer#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.clearBuffer" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 16, - "settledAt": 16, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "204da356c8b7": { - "status": "fulfilled", - "startedAt": 16, - "settledAt": 16, - "value": { - "$rpc": "undefined" - } - }, - "3dc7f55dee2a": { - "name": "toast", - "ordinal": 7, - "value": { - "durationMs": { - "$rpc": "null" - }, - "message": "Terminal cleared" - } - }, - "47c387a75ffc": { - "name": "terminal.send#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[<64;10;5M" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 16, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - }, - "489117729ffb": { - "name": "terminal.clearBuffer#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.clearBuffer" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 16, - "settledAt": 16, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "4b5c402c0aac": { - "name": "terminal.clearBuffer#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.clearBuffer" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 16 - } - }, - "4d7959cb9208": { - "name": "terminal.clearBuffer#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.clearBuffer" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 16, - "settledAt": 16, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "clear": { - "cleared": true, - "handle": "terminal-1" - } - } - } - } - }, - "5c1c2ac7c6dc": { - "name": "terminal.clearBuffer#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.clearBuffer" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 16, - "settledAt": 16, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "70f80fc43078": { - "name": "terminal-subscribe", - "ordinal": 6, - "value": { - "handle": "terminal-1" - } - }, - "8224ccdb2cd8": { - "name": "terminal.send#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[<64;10;5M\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" - }, - "839dec95ae1c": { - "status": "pending", - "startedAt": 16 - }, - "97e022884e5e": { - "name": "terminal.clearBuffer#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.clearBuffer" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 16, - "settledAt": 16, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "9fa6cd0b7fa0": { - "name": "terminal.send#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[<64;10;5M" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "a426987d97d2": { - "name": "terminal.clearBuffer#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.clearBuffer" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 16, - "settledAt": 16, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "a8bcca91a365": { - "name": "terminal-unsubscribe", - "ordinal": 5, - "value": { - "handle": "terminal-1" - } - }, - "b8cd1ecdc6f6": { - "name": "terminal.clearBuffer#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.clearBuffer" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 16, - "settledAt": 16, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "c2ecba14ba82": { - "name": "terminal.clearBuffer#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.clearBuffer" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 16, - "settledAt": 16, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "c40ac45e5358": { - "name": "terminal.clearBuffer#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.clearBuffer" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 16, - "settledAt": 16, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "c48d54fa49d5": { - "name": "toast", - "ordinal": 5, - "value": { - "durationMs": 1500, - "message": "Couldn't clear terminal" - } - }, - "caa6ece1bdab": { - "bucketTokens": 63, - "crash": { - "$rpc": "null" - }, - "inFlight": true, - "queuedBytes": { - "$rpc": "null" - }, - "queuedSequences": { - "$rpc": "null" - } - }, - "d9c52be2f839": { - "name": "terminal.clearBuffer#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.clearBuffer\",\"params\":{\"terminal\":\"terminal-1\"}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eca6624dcbb7": { - "name": "terminal.clearBuffer#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.clearBuffer" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 16, - "settledAt": 16, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "f279a2b01bf2": { - "name": "terminal.clearBuffer#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.clearBuffer" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 16, - "settledAt": 16, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - } - }, - "recording": { - "scenario": "matrix-session.terminal-gesture-input-terminal.clearbuffer-1", - "checkpoints": [ - { - "id": "terminal-gesture-flush-and-clear.prelude:queued", - "observation": { - "sender": ["9fa6cd0b7fa0"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "caa6ece1bdab", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.prelude:flushing", - "observation": { - "sender": ["9fa6cd0b7fa0"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "caa6ece1bdab", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.prelude:sent", - "observation": { - "sender": ["47c387a75ffc"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.prelude:reported", - "observation": { - "sender": ["47c387a75ffc"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.prelude:clearing", - "observation": { - "sender": ["47c387a75ffc", "4b5c402c0aac"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "839dec95ae1c" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.prelude:cleanup", - "observation": { - "sender": ["47c387a75ffc", "c2ecba14ba82"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["c48d54fa49d5"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.normal:cleared", - "observation": { - "sender": ["47c387a75ffc", "4d7959cb9208"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["a8bcca91a365", "70f80fc43078", "3dc7f55dee2a"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.result-absent:cleared", - "observation": { - "sender": ["47c387a75ffc", "97e022884e5e"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["c48d54fa49d5"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.result-null:cleared", - "observation": { - "sender": ["47c387a75ffc", "141c158e46dc"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["c48d54fa49d5"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.inner-ok-missing:cleared", - "observation": { - "sender": ["47c387a75ffc", "489117729ffb"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["c48d54fa49d5"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.inner-false-string-error:cleared", - "observation": { - "sender": ["47c387a75ffc", "c40ac45e5358"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["c48d54fa49d5"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.inner-false-object-error:cleared", - "observation": { - "sender": ["47c387a75ffc", "eca6624dcbb7"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["c48d54fa49d5"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.outer-refused:cleared", - "observation": { - "sender": ["47c387a75ffc", "a426987d97d2"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["c48d54fa49d5"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.outer-refused-no-message:cleared", - "observation": { - "sender": ["47c387a75ffc", "02588992c365"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["c48d54fa49d5"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.method-not-found:cleared", - "observation": { - "sender": ["47c387a75ffc", "5c1c2ac7c6dc"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["c48d54fa49d5"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.transport-rejection:cleared", - "observation": { - "sender": ["47c387a75ffc", "f279a2b01bf2"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["c48d54fa49d5"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.transport-rejection-no-message:cleared", - "observation": { - "sender": ["47c387a75ffc", "b8cd1ecdc6f6"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["c48d54fa49d5"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.terminal-gesture-input-terminal.send-1.json b/mobile/rpc-foundation/goldens/matrix-session.terminal-gesture-input-terminal.send-1.json deleted file mode 100644 index 94bec3f66e9..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.terminal-gesture-input-terminal.send-1.json +++ /dev/null @@ -1,1250 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.terminal-gesture-input", - "family": "session.terminal-gesture-input", - "namedDeltas": [], - "values": { - "038694606b99": { - "name": "terminal.send#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[<64;10;5M" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 16, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "0cc3e25ebff5": { - "bucketTokens": 63, - "crash": { - "$rpc": "null" - }, - "inFlight": false, - "queuedBytes": { - "$rpc": "null" - }, - "queuedSequences": { - "$rpc": "null" - } - }, - "18ae72c963d5": { - "name": "terminal.send#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[<64;10;5M" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 16, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "204da356c8b7": { - "status": "fulfilled", - "startedAt": 16, - "settledAt": 16, - "value": { - "$rpc": "undefined" - } - }, - "2198adee8c06": { - "name": "terminal.send#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[<64;10;5M" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 16, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "3a2f96d25da8": { - "name": "terminal.send#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[<64;10;5M" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 16, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "3ac9be406587": { - "name": "terminal.send#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[<64;10;5M" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 16, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "3dc7f55dee2a": { - "name": "toast", - "ordinal": 7, - "value": { - "durationMs": { - "$rpc": "null" - }, - "message": "Terminal cleared" - } - }, - "47c387a75ffc": { - "name": "terminal.send#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[<64;10;5M" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 16, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - }, - "4b5c402c0aac": { - "name": "terminal.clearBuffer#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.clearBuffer" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 16 - } - }, - "4d7959cb9208": { - "name": "terminal.clearBuffer#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.clearBuffer" - }, - { - "name": "params", - "value": { - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 16, - "settledAt": 16, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "clear": { - "cleared": true, - "handle": "terminal-1" - } - } - } - } - }, - "70f80fc43078": { - "name": "terminal-subscribe", - "ordinal": 6, - "value": { - "handle": "terminal-1" - } - }, - "8224ccdb2cd8": { - "name": "terminal.send#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[<64;10;5M\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" - }, - "839dec95ae1c": { - "status": "pending", - "startedAt": 16 - }, - "8cc2f30cc0d2": { - "name": "terminal.send#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[<64;10;5M" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 16, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "8d84d72cf6d5": { - "name": "terminal.send#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[<64;10;5M" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 16, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "94fa272beafb": { - "name": "terminal.send#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[<64;10;5M" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 16, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "9fa6cd0b7fa0": { - "name": "terminal.send#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[<64;10;5M" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "a8bcca91a365": { - "name": "terminal-unsubscribe", - "ordinal": 5, - "value": { - "handle": "terminal-1" - } - }, - "caa6ece1bdab": { - "bucketTokens": 63, - "crash": { - "$rpc": "null" - }, - "inFlight": true, - "queuedBytes": { - "$rpc": "null" - }, - "queuedSequences": { - "$rpc": "null" - } - }, - "d9c52be2f839": { - "name": "terminal.clearBuffer#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.clearBuffer\",\"params\":{\"terminal\":\"terminal-1\"}}" - }, - "e1076775e5c2": { - "name": "terminal.send#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[<64;10;5M" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 16, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eecb4c1a0308": { - "name": "terminal.send#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[<64;10;5M" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 16, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - } - }, - "recording": { - "scenario": "matrix-session.terminal-gesture-input-terminal.send-1", - "checkpoints": [ - { - "id": "terminal-gesture-flush-and-clear.prelude:queued", - "observation": { - "sender": ["9fa6cd0b7fa0"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "caa6ece1bdab", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.prelude:flushing", - "observation": { - "sender": ["9fa6cd0b7fa0"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "caa6ece1bdab", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.normal:sent", - "observation": { - "sender": ["47c387a75ffc"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.normal:reported", - "observation": { - "sender": ["47c387a75ffc"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.normal:clearing", - "observation": { - "sender": ["47c387a75ffc", "4b5c402c0aac"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "839dec95ae1c" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.normal:cleared", - "observation": { - "sender": ["47c387a75ffc", "4d7959cb9208"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["a8bcca91a365", "70f80fc43078", "3dc7f55dee2a"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.result-absent:sent", - "observation": { - "sender": ["038694606b99"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.result-absent:reported", - "observation": { - "sender": ["038694606b99"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.result-absent:clearing", - "observation": { - "sender": ["038694606b99", "4b5c402c0aac"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "839dec95ae1c" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.result-absent:cleared", - "observation": { - "sender": ["038694606b99", "4d7959cb9208"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["a8bcca91a365", "70f80fc43078", "3dc7f55dee2a"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.result-null:sent", - "observation": { - "sender": ["3a2f96d25da8"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.result-null:reported", - "observation": { - "sender": ["3a2f96d25da8"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.result-null:clearing", - "observation": { - "sender": ["3a2f96d25da8", "4b5c402c0aac"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "839dec95ae1c" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.result-null:cleared", - "observation": { - "sender": ["3a2f96d25da8", "4d7959cb9208"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["a8bcca91a365", "70f80fc43078", "3dc7f55dee2a"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.inner-ok-missing:sent", - "observation": { - "sender": ["8cc2f30cc0d2"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.inner-ok-missing:reported", - "observation": { - "sender": ["8cc2f30cc0d2"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.inner-ok-missing:clearing", - "observation": { - "sender": ["8cc2f30cc0d2", "4b5c402c0aac"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "839dec95ae1c" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.inner-ok-missing:cleared", - "observation": { - "sender": ["8cc2f30cc0d2", "4d7959cb9208"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["a8bcca91a365", "70f80fc43078", "3dc7f55dee2a"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.inner-false-string-error:sent", - "observation": { - "sender": ["3ac9be406587"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.inner-false-string-error:reported", - "observation": { - "sender": ["3ac9be406587"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.inner-false-string-error:clearing", - "observation": { - "sender": ["3ac9be406587", "4b5c402c0aac"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "839dec95ae1c" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.inner-false-string-error:cleared", - "observation": { - "sender": ["3ac9be406587", "4d7959cb9208"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["a8bcca91a365", "70f80fc43078", "3dc7f55dee2a"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.inner-false-object-error:sent", - "observation": { - "sender": ["2198adee8c06"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.inner-false-object-error:reported", - "observation": { - "sender": ["2198adee8c06"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.inner-false-object-error:clearing", - "observation": { - "sender": ["2198adee8c06", "4b5c402c0aac"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "839dec95ae1c" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.inner-false-object-error:cleared", - "observation": { - "sender": ["2198adee8c06", "4d7959cb9208"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["a8bcca91a365", "70f80fc43078", "3dc7f55dee2a"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.outer-refused:sent", - "observation": { - "sender": ["8d84d72cf6d5"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.outer-refused:reported", - "observation": { - "sender": ["8d84d72cf6d5"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.outer-refused:clearing", - "observation": { - "sender": ["8d84d72cf6d5", "4b5c402c0aac"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "839dec95ae1c" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.outer-refused:cleared", - "observation": { - "sender": ["8d84d72cf6d5", "4d7959cb9208"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["a8bcca91a365", "70f80fc43078", "3dc7f55dee2a"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.outer-refused-no-message:sent", - "observation": { - "sender": ["94fa272beafb"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.outer-refused-no-message:reported", - "observation": { - "sender": ["94fa272beafb"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.outer-refused-no-message:clearing", - "observation": { - "sender": ["94fa272beafb", "4b5c402c0aac"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "839dec95ae1c" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.outer-refused-no-message:cleared", - "observation": { - "sender": ["94fa272beafb", "4d7959cb9208"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["a8bcca91a365", "70f80fc43078", "3dc7f55dee2a"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.method-not-found:sent", - "observation": { - "sender": ["e1076775e5c2"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.method-not-found:reported", - "observation": { - "sender": ["e1076775e5c2"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.method-not-found:clearing", - "observation": { - "sender": ["e1076775e5c2", "4b5c402c0aac"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "839dec95ae1c" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.method-not-found:cleared", - "observation": { - "sender": ["e1076775e5c2", "4d7959cb9208"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["a8bcca91a365", "70f80fc43078", "3dc7f55dee2a"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.transport-rejection:sent", - "observation": { - "sender": ["18ae72c963d5"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.transport-rejection:reported", - "observation": { - "sender": ["18ae72c963d5"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.transport-rejection:clearing", - "observation": { - "sender": ["18ae72c963d5", "4b5c402c0aac"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "839dec95ae1c" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.transport-rejection:cleared", - "observation": { - "sender": ["18ae72c963d5", "4d7959cb9208"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["a8bcca91a365", "70f80fc43078", "3dc7f55dee2a"] - } - }, - { - "id": "terminal-gesture-flush-and-clear.transport-rejection-no-message:sent", - "observation": { - "sender": ["eecb4c1a0308"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.transport-rejection-no-message:reported", - "observation": { - "sender": ["eecb4c1a0308"], - "payloads": ["8224ccdb2cd8"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.transport-rejection-no-message:clearing", - "observation": { - "sender": ["eecb4c1a0308", "4b5c402c0aac"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "839dec95ae1c" - }, - "state": "0cc3e25ebff5", - "effects": [] - } - }, - { - "id": "terminal-gesture-flush-and-clear.transport-rejection-no-message:cleared", - "observation": { - "sender": ["eecb4c1a0308", "4d7959cb9208"], - "payloads": ["8224ccdb2cd8", "d9c52be2f839"], - "settlements": { - "mount": "eb79a9b3682a", - "gesture": "eb79a9b3682a", - "clear": "204da356c8b7" - }, - "state": "0cc3e25ebff5", - "effects": ["a8bcca91a365", "70f80fc43078", "3dc7f55dee2a"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.terminal-input-send-terminal.send-1.json b/mobile/rpc-foundation/goldens/matrix-session.terminal-input-send-terminal.send-1.json deleted file mode 100644 index 71291ff4419..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.terminal-input-send-terminal.send-1.json +++ /dev/null @@ -1,635 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.terminal-input-send", - "family": "session.terminal-input-send", - "namedDeltas": [], - "values": { - "13757a453325": { - "crash": { - "$rpc": "null" - }, - "liveAccepted": true - }, - "156c7440873c": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "19ea208dd914": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - } - }, - "1eb6f8a79c12": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "3e83e206433b": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "49c62bc1232e": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - } - } - }, - "57431c60d7f8": { - "name": "terminal.send#1", - "ordinal": 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" - } - } - } - }, - "5b40eb0575f8": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "727ebf3d264d": { - "name": "terminal.send#1", - "ordinal": 2, - "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 - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "864d3fb81a3f": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "aaceebb9504e": { - "crash": { - "$rpc": "null" - }, - "liveAccepted": false - }, - "af6c09771771": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "b41bc69ec943": { - "name": "terminal.send#1", - "ordinal": 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" - } - } - } - }, - "df5624c0a923": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-session.terminal-input-send-terminal.send-1", - "checkpoints": [ - { - "id": "terminal-live-input-accepted.normal:live-sent", - "observation": { - "sender": ["49c62bc1232e"], - "payloads": ["727ebf3d264d"], - "settlements": { - "mount": "eb79a9b3682a", - "live": "84e5ca07cb7a" - }, - "state": "13757a453325", - "effects": [] - } - }, - { - "id": "terminal-live-input-accepted.result-absent:live-sent", - "observation": { - "sender": ["af6c09771771"], - "payloads": ["727ebf3d264d"], - "settlements": { - "mount": "eb79a9b3682a", - "live": "7ed3d39f0607" - }, - "state": "aaceebb9504e", - "effects": [] - } - }, - { - "id": "terminal-live-input-accepted.result-null:live-sent", - "observation": { - "sender": ["b41bc69ec943"], - "payloads": ["727ebf3d264d"], - "settlements": { - "mount": "eb79a9b3682a", - "live": "7ed3d39f0607" - }, - "state": "aaceebb9504e", - "effects": [] - } - }, - { - "id": "terminal-live-input-accepted.inner-ok-missing:live-sent", - "observation": { - "sender": ["57431c60d7f8"], - "payloads": ["727ebf3d264d"], - "settlements": { - "mount": "eb79a9b3682a", - "live": "7ed3d39f0607" - }, - "state": "aaceebb9504e", - "effects": [] - } - }, - { - "id": "terminal-live-input-accepted.inner-false-string-error:live-sent", - "observation": { - "sender": ["df5624c0a923"], - "payloads": ["727ebf3d264d"], - "settlements": { - "mount": "eb79a9b3682a", - "live": "7ed3d39f0607" - }, - "state": "aaceebb9504e", - "effects": [] - } - }, - { - "id": "terminal-live-input-accepted.inner-false-object-error:live-sent", - "observation": { - "sender": ["19ea208dd914"], - "payloads": ["727ebf3d264d"], - "settlements": { - "mount": "eb79a9b3682a", - "live": "7ed3d39f0607" - }, - "state": "aaceebb9504e", - "effects": [] - } - }, - { - "id": "terminal-live-input-accepted.outer-refused:live-sent", - "observation": { - "sender": ["1eb6f8a79c12"], - "payloads": ["727ebf3d264d"], - "settlements": { - "mount": "eb79a9b3682a", - "live": "7ed3d39f0607" - }, - "state": "aaceebb9504e", - "effects": [] - } - }, - { - "id": "terminal-live-input-accepted.outer-refused-no-message:live-sent", - "observation": { - "sender": ["156c7440873c"], - "payloads": ["727ebf3d264d"], - "settlements": { - "mount": "eb79a9b3682a", - "live": "7ed3d39f0607" - }, - "state": "aaceebb9504e", - "effects": [] - } - }, - { - "id": "terminal-live-input-accepted.method-not-found:live-sent", - "observation": { - "sender": ["3e83e206433b"], - "payloads": ["727ebf3d264d"], - "settlements": { - "mount": "eb79a9b3682a", - "live": "7ed3d39f0607" - }, - "state": "aaceebb9504e", - "effects": [] - } - }, - { - "id": "terminal-live-input-accepted.transport-rejection:live-sent", - "observation": { - "sender": ["5b40eb0575f8"], - "payloads": ["727ebf3d264d"], - "settlements": { - "mount": "eb79a9b3682a", - "live": "7ed3d39f0607" - }, - "state": "aaceebb9504e", - "effects": [] - } - }, - { - "id": "terminal-live-input-accepted.transport-rejection-no-message:live-sent", - "observation": { - "sender": ["864d3fb81a3f"], - "payloads": ["727ebf3d264d"], - "settlements": { - "mount": "eb79a9b3682a", - "live": "7ed3d39f0607" - }, - "state": "aaceebb9504e", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 8d2df707f4b..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.terminal-inventory-terminal.list-1.json +++ /dev/null @@ -1,605 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.terminal-inventory", - "family": "session.terminal-inventory", - "namedDeltas": [], - "values": { - "14a430a3a1d8": { - "name": "terminal.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.list" - }, - { - "name": "params", - "value": { - "includePreview": false, - "includeVisualLayouts": false, - "worktree": "id:workspace-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "35d7b6bba435": { - "name": "terminal.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.list" - }, - { - "name": "params", - "value": { - "includePreview": false, - "includeVisualLayouts": false, - "worktree": "id:workspace-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "388035b7e5f3": { - "name": "terminal.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.list" - }, - { - "name": "params", - "value": { - "includePreview": false, - "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 - } - } - } - }, - "3a81bbc23680": { - "name": "terminal.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.list" - }, - { - "name": "params", - "value": { - "includePreview": false, - "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 - } - } - }, - "475f23d61c0e": { - "name": "terminal.list#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.list\",\"params\":{\"worktree\":\"id:workspace-1\",\"includeVisualLayouts\":false,\"includePreview\":false}}" - }, - "6aa9d70c1c82": { - "known": [], - "terminals": [] - }, - "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 - }, - "7f0b8dfaa8ab": { - "name": "terminal.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.list" - }, - { - "name": "params", - "value": { - "includePreview": false, - "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 - } - } - } - }, - "831f677b9b45": { - "name": "terminal.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.list" - }, - { - "name": "params", - "value": { - "includePreview": false, - "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 - } - } - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "8603cded4ca5": { - "name": "terminal.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.list" - }, - { - "name": "params", - "value": { - "includePreview": false, - "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 - } - } - }, - "b0ac4558f32f": { - "name": "terminal.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.list" - }, - { - "name": "params", - "value": { - "includePreview": false, - "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 - } - } - }, - "b1c05000c17a": { - "name": "terminal.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.list" - }, - { - "name": "params", - "value": { - "includePreview": false, - "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" - } - } - } - }, - "ea8f0bd05dca": { - "name": "terminal.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.list" - }, - { - "name": "params", - "value": { - "includePreview": false, - "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" - } - } - } - }, - "ee68ebc5fb96": { - "name": "terminal.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.list" - }, - { - "name": "params", - "value": { - "includePreview": false, - "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" - } - ] - } - } - } - } - }, - "recording": { - "scenario": "matrix-session.terminal-inventory-terminal.list-1", - "checkpoints": [ - { - "id": "session-terminal-list-merged.normal:listed", - "observation": { - "sender": ["ee68ebc5fb96"], - "payloads": ["475f23d61c0e"], - "settlements": { - "fetch": "84e5ca07cb7a" - }, - "state": "727166f3bc25", - "effects": [] - } - }, - { - "id": "session-terminal-list-merged.result-absent:listed", - "observation": { - "sender": ["14a430a3a1d8"], - "payloads": ["475f23d61c0e"], - "settlements": { - "fetch": "7ed3d39f0607" - }, - "state": "6aa9d70c1c82", - "effects": [] - } - }, - { - "id": "session-terminal-list-merged.result-null:listed", - "observation": { - "sender": ["ea8f0bd05dca"], - "payloads": ["475f23d61c0e"], - "settlements": { - "fetch": "7ed3d39f0607" - }, - "state": "6aa9d70c1c82", - "effects": [] - } - }, - { - "id": "session-terminal-list-merged.inner-ok-missing:listed", - "observation": { - "sender": ["b1c05000c17a"], - "payloads": ["475f23d61c0e"], - "settlements": { - "fetch": "7ed3d39f0607" - }, - "state": "6aa9d70c1c82", - "effects": [] - } - }, - { - "id": "session-terminal-list-merged.inner-false-string-error:listed", - "observation": { - "sender": ["388035b7e5f3"], - "payloads": ["475f23d61c0e"], - "settlements": { - "fetch": "7ed3d39f0607" - }, - "state": "6aa9d70c1c82", - "effects": [] - } - }, - { - "id": "session-terminal-list-merged.inner-false-object-error:listed", - "observation": { - "sender": ["7f0b8dfaa8ab"], - "payloads": ["475f23d61c0e"], - "settlements": { - "fetch": "7ed3d39f0607" - }, - "state": "6aa9d70c1c82", - "effects": [] - } - }, - { - "id": "session-terminal-list-merged.outer-refused:listed", - "observation": { - "sender": ["3a81bbc23680"], - "payloads": ["475f23d61c0e"], - "settlements": { - "fetch": "7ed3d39f0607" - }, - "state": "6aa9d70c1c82", - "effects": [] - } - }, - { - "id": "session-terminal-list-merged.outer-refused-no-message:listed", - "observation": { - "sender": ["8603cded4ca5"], - "payloads": ["475f23d61c0e"], - "settlements": { - "fetch": "7ed3d39f0607" - }, - "state": "6aa9d70c1c82", - "effects": [] - } - }, - { - "id": "session-terminal-list-merged.method-not-found:listed", - "observation": { - "sender": ["831f677b9b45"], - "payloads": ["475f23d61c0e"], - "settlements": { - "fetch": "7ed3d39f0607" - }, - "state": "6aa9d70c1c82", - "effects": [] - } - }, - { - "id": "session-terminal-list-merged.transport-rejection:listed", - "observation": { - "sender": ["b0ac4558f32f"], - "payloads": ["475f23d61c0e"], - "settlements": { - "fetch": "7ed3d39f0607" - }, - "state": "6aa9d70c1c82", - "effects": [] - } - }, - { - "id": "session-terminal-list-merged.transport-rejection-no-message:listed", - "observation": { - "sender": ["35d7b6bba435"], - "payloads": ["475f23d61c0e"], - "settlements": { - "fetch": "7ed3d39f0607" - }, - "state": "6aa9d70c1c82", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.terminal-paste-settings.get-1.json b/mobile/rpc-foundation/goldens/matrix-session.terminal-paste-settings.get-1.json deleted file mode 100644 index 0142293c2d7..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.terminal-paste-settings.get-1.json +++ /dev/null @@ -1,782 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.terminal-clipboard", - "family": "session.terminal-paste", - "namedDeltas": [], - "values": { - "26d0fe750677": { - "name": "terminal.send#1", - "ordinal": 6, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[200~echo hi\\u001b[201~\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" - }, - "2b502b73f842": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "3afed5398fd2": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "3fb0e93ab6cb": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "terminalCopyTrimsGutter": true - } - } - } - } - }, - "50a1efe07486": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[200~echo hi\u001b[201~" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - }, - "528166d1face": { - "connectionId": "unresolved", - "crash": { - "$rpc": "null" - }, - "pasteOutcome": "sent" - }, - "6ff1416c5ad4": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "84990d8de7e9": { - "connectionId": "unresolved", - "crash": { - "$rpc": "null" - }, - "pasteOutcome": "unpasted" - }, - "87b511344653": { - "name": "refresh-can-paste", - "ordinal": 7, - "value": {} - }, - "8e065efdacec": { - "name": "flush-live-input", - "ordinal": 4, - "value": { - "handle": "terminal-1" - } - }, - "930a9d2a78e6": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "a4fb8cfbcc58": { - "name": "toast", - "ordinal": 3, - "value": { - "durationMs": { - "$rpc": "null" - }, - "message": "Copied" - } - }, - "a635d4e92676": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "c8c77ac17e0a": { - "name": "settings.get#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "c8d263270801": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "ce92a6a8b61e": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "d2a78aa427b9": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "d72ab23b2f30": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "e3e76073526b": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-session.terminal-paste-settings.get-1", - "checkpoints": [ - { - "id": "terminal-paste-accepted.normal:copied", - "observation": { - "sender": ["3fb0e93ab6cb"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a" - }, - "state": "84990d8de7e9", - "effects": ["a4fb8cfbcc58"] - } - }, - { - "id": "terminal-paste-accepted.normal:pasted", - "observation": { - "sender": ["3fb0e93ab6cb", "50a1efe07486"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "528166d1face", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "87b511344653"] - } - }, - { - "id": "terminal-paste-accepted.result-absent:copied", - "observation": { - "sender": ["d72ab23b2f30"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a" - }, - "state": "84990d8de7e9", - "effects": ["a4fb8cfbcc58"] - } - }, - { - "id": "terminal-paste-accepted.result-absent:pasted", - "observation": { - "sender": ["d72ab23b2f30", "50a1efe07486"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "528166d1face", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "87b511344653"] - } - }, - { - "id": "terminal-paste-accepted.result-null:copied", - "observation": { - "sender": ["930a9d2a78e6"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a" - }, - "state": "84990d8de7e9", - "effects": ["a4fb8cfbcc58"] - } - }, - { - "id": "terminal-paste-accepted.result-null:pasted", - "observation": { - "sender": ["930a9d2a78e6", "50a1efe07486"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "528166d1face", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "87b511344653"] - } - }, - { - "id": "terminal-paste-accepted.inner-ok-missing:copied", - "observation": { - "sender": ["e3e76073526b"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a" - }, - "state": "84990d8de7e9", - "effects": ["a4fb8cfbcc58"] - } - }, - { - "id": "terminal-paste-accepted.inner-ok-missing:pasted", - "observation": { - "sender": ["e3e76073526b", "50a1efe07486"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "528166d1face", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "87b511344653"] - } - }, - { - "id": "terminal-paste-accepted.inner-false-string-error:copied", - "observation": { - "sender": ["a635d4e92676"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a" - }, - "state": "84990d8de7e9", - "effects": ["a4fb8cfbcc58"] - } - }, - { - "id": "terminal-paste-accepted.inner-false-string-error:pasted", - "observation": { - "sender": ["a635d4e92676", "50a1efe07486"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "528166d1face", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "87b511344653"] - } - }, - { - "id": "terminal-paste-accepted.inner-false-object-error:copied", - "observation": { - "sender": ["d2a78aa427b9"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a" - }, - "state": "84990d8de7e9", - "effects": ["a4fb8cfbcc58"] - } - }, - { - "id": "terminal-paste-accepted.inner-false-object-error:pasted", - "observation": { - "sender": ["d2a78aa427b9", "50a1efe07486"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "528166d1face", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "87b511344653"] - } - }, - { - "id": "terminal-paste-accepted.outer-refused:copied", - "observation": { - "sender": ["ce92a6a8b61e"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a" - }, - "state": "84990d8de7e9", - "effects": ["a4fb8cfbcc58"] - } - }, - { - "id": "terminal-paste-accepted.outer-refused:pasted", - "observation": { - "sender": ["ce92a6a8b61e", "50a1efe07486"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "528166d1face", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "87b511344653"] - } - }, - { - "id": "terminal-paste-accepted.outer-refused-no-message:copied", - "observation": { - "sender": ["2b502b73f842"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a" - }, - "state": "84990d8de7e9", - "effects": ["a4fb8cfbcc58"] - } - }, - { - "id": "terminal-paste-accepted.outer-refused-no-message:pasted", - "observation": { - "sender": ["2b502b73f842", "50a1efe07486"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "528166d1face", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "87b511344653"] - } - }, - { - "id": "terminal-paste-accepted.method-not-found:copied", - "observation": { - "sender": ["6ff1416c5ad4"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a" - }, - "state": "84990d8de7e9", - "effects": ["a4fb8cfbcc58"] - } - }, - { - "id": "terminal-paste-accepted.method-not-found:pasted", - "observation": { - "sender": ["6ff1416c5ad4", "50a1efe07486"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "528166d1face", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "87b511344653"] - } - }, - { - "id": "terminal-paste-accepted.transport-rejection:copied", - "observation": { - "sender": ["c8d263270801"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a" - }, - "state": "84990d8de7e9", - "effects": ["a4fb8cfbcc58"] - } - }, - { - "id": "terminal-paste-accepted.transport-rejection:pasted", - "observation": { - "sender": ["c8d263270801", "50a1efe07486"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "528166d1face", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "87b511344653"] - } - }, - { - "id": "terminal-paste-accepted.transport-rejection-no-message:copied", - "observation": { - "sender": ["3afed5398fd2"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a" - }, - "state": "84990d8de7e9", - "effects": ["a4fb8cfbcc58"] - } - }, - { - "id": "terminal-paste-accepted.transport-rejection-no-message:pasted", - "observation": { - "sender": ["3afed5398fd2", "50a1efe07486"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "528166d1face", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "87b511344653"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.terminal-paste-terminal.send-1.json b/mobile/rpc-foundation/goldens/matrix-session.terminal-paste-terminal.send-1.json deleted file mode 100644 index b2ba2e723e7..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.terminal-paste-terminal.send-1.json +++ /dev/null @@ -1,779 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.terminal-clipboard", - "family": "session.terminal-paste", - "namedDeltas": [], - "values": { - "26d0fe750677": { - "name": "terminal.send#1", - "ordinal": 6, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u001b[200~echo hi\\u001b[201~\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" - }, - "3229dab89e10": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[200~echo hi\u001b[201~" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "3fb0e93ab6cb": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "terminalCopyTrimsGutter": true - } - } - } - } - }, - "3fe62ff14110": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[200~echo hi\u001b[201~" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "4e02cb6cc41f": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[200~echo hi\u001b[201~" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "50a1efe07486": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[200~echo hi\u001b[201~" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - }, - "528166d1face": { - "connectionId": "unresolved", - "crash": { - "$rpc": "null" - }, - "pasteOutcome": "sent" - }, - "6de070c231cf": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[200~echo hi\u001b[201~" - } - }, - { - "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 - } - } - }, - "83268287831a": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[200~echo hi\u001b[201~" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "84990d8de7e9": { - "connectionId": "unresolved", - "crash": { - "$rpc": "null" - }, - "pasteOutcome": "unpasted" - }, - "86cf27deee09": { - "name": "toast", - "ordinal": 7, - "value": { - "durationMs": 1500, - "message": "Paste failed" - } - }, - "87b511344653": { - "name": "refresh-can-paste", - "ordinal": 7, - "value": {} - }, - "8e065efdacec": { - "name": "flush-live-input", - "ordinal": 4, - "value": { - "handle": "terminal-1" - } - }, - "a4fb8cfbcc58": { - "name": "toast", - "ordinal": 3, - "value": { - "durationMs": { - "$rpc": "null" - }, - "message": "Copied" - } - }, - "a55f8cb2bf83": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[200~echo hi\u001b[201~" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "aa387255916b": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[200~echo hi\u001b[201~" - } - }, - { - "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 - } - } - } - }, - "b2ca7968b562": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[200~echo hi\u001b[201~" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "ba3e34b3b65d": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[200~echo hi\u001b[201~" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "c8c77ac17e0a": { - "name": "settings.get#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "d7142e3fafc1": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[200~echo hi\u001b[201~" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "dfb41f109df1": { - "name": "terminal.send#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u001b[200~echo hi\u001b[201~" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ebe2af37c0a0": { - "connectionId": "unresolved", - "crash": { - "$rpc": "null" - }, - "pasteOutcome": "error" - } - }, - "recording": { - "scenario": "matrix-session.terminal-paste-terminal.send-1", - "checkpoints": [ - { - "id": "terminal-paste-accepted.prelude:copied", - "observation": { - "sender": ["3fb0e93ab6cb"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a" - }, - "state": "84990d8de7e9", - "effects": ["a4fb8cfbcc58"] - } - }, - { - "id": "terminal-paste-accepted.prelude:cleanup", - "observation": { - "sender": ["3fb0e93ab6cb", "3fe62ff14110"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "84990d8de7e9", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "86cf27deee09"] - } - }, - { - "id": "terminal-paste-accepted.normal:pasted", - "observation": { - "sender": ["3fb0e93ab6cb", "50a1efe07486"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "528166d1face", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "87b511344653"] - } - }, - { - "id": "terminal-paste-accepted.result-absent:pasted", - "observation": { - "sender": ["3fb0e93ab6cb", "a55f8cb2bf83"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "ebe2af37c0a0", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "86cf27deee09"] - } - }, - { - "id": "terminal-paste-accepted.result-null:pasted", - "observation": { - "sender": ["3fb0e93ab6cb", "ba3e34b3b65d"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "ebe2af37c0a0", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "86cf27deee09"] - } - }, - { - "id": "terminal-paste-accepted.inner-ok-missing:pasted", - "observation": { - "sender": ["3fb0e93ab6cb", "dfb41f109df1"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "ebe2af37c0a0", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "86cf27deee09"] - } - }, - { - "id": "terminal-paste-accepted.inner-false-string-error:pasted", - "observation": { - "sender": ["3fb0e93ab6cb", "b2ca7968b562"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "ebe2af37c0a0", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "86cf27deee09"] - } - }, - { - "id": "terminal-paste-accepted.inner-false-object-error:pasted", - "observation": { - "sender": ["3fb0e93ab6cb", "aa387255916b"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "ebe2af37c0a0", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "86cf27deee09"] - } - }, - { - "id": "terminal-paste-accepted.outer-refused:pasted", - "observation": { - "sender": ["3fb0e93ab6cb", "3229dab89e10"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "ebe2af37c0a0", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "86cf27deee09"] - } - }, - { - "id": "terminal-paste-accepted.outer-refused-no-message:pasted", - "observation": { - "sender": ["3fb0e93ab6cb", "4e02cb6cc41f"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "ebe2af37c0a0", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "86cf27deee09"] - } - }, - { - "id": "terminal-paste-accepted.method-not-found:pasted", - "observation": { - "sender": ["3fb0e93ab6cb", "6de070c231cf"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "ebe2af37c0a0", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "86cf27deee09"] - } - }, - { - "id": "terminal-paste-accepted.transport-rejection:pasted", - "observation": { - "sender": ["3fb0e93ab6cb", "d7142e3fafc1"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "ebe2af37c0a0", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "86cf27deee09"] - } - }, - { - "id": "terminal-paste-accepted.transport-rejection-no-message:pasted", - "observation": { - "sender": ["3fb0e93ab6cb", "83268287831a"], - "payloads": ["c8c77ac17e0a", "26d0fe750677"], - "settlements": { - "mount": "eb79a9b3682a", - "copy": "eb79a9b3682a", - "paste": "eb79a9b3682a" - }, - "state": "ebe2af37c0a0", - "effects": ["a4fb8cfbcc58", "8e065efdacec", "86cf27deee09"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.worktree-connection-repo.list-1.json b/mobile/rpc-foundation/goldens/matrix-session.worktree-connection-repo.list-1.json deleted file mode 100644 index 5acfc3e304f..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.worktree-connection-repo.list-1.json +++ /dev/null @@ -1,704 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.terminal-clipboard", - "family": "session.worktree-connection", - "namedDeltas": [], - "values": { - "03628457e494": { - "name": "repo.list#1", - "ordinal": 3, - "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 - } - } - }, - "24485b5028f5": { - "name": "repo.list#1", - "ordinal": 3, - "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 - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "3be971df5814": { - "name": "repo.list#1", - "ordinal": 3, - "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-2", - "ok": false - } - } - }, - "3fb0e93ab6cb": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "terminalCopyTrimsGutter": true - } - } - } - } - }, - "45ad6315feb3": { - "connectionId": "", - "crash": { - "$rpc": "null" - }, - "pasteOutcome": "unpasted" - }, - "4a8214d9a3ed": { - "name": "repo.list#1", - "ordinal": 3, - "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 - } - } - }, - "51945e80fbd2": { - "name": "repo.list#1", - "ordinal": 3, - "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": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "5a51b87432e2": { - "name": "repo.list#1", - "ordinal": 3, - "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": [ - { - "connectionId": "ssh-zeta", - "displayName": "zeta", - "id": "repo-z" - }, - { - "connectionId": "ssh-alpha", - "displayName": "alpha", - "id": "repo-a" - } - ] - } - } - } - }, - "5dd995908a4c": { - "name": "repo.list#1", - "ordinal": 3, - "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": { - "error": "refused" - } - } - } - }, - "72444832e687": { - "name": "repo.list#1", - "ordinal": 3, - "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-2", - "ok": false - } - } - }, - "78109a75646c": { - "name": "repo.list#1", - "ordinal": 3, - "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": { - "$rpc": "null" - } - } - } - }, - "978b9015256c": { - "connectionId": "transport failure", - "crash": { - "$rpc": "null" - }, - "pasteOutcome": "unpasted" - }, - "97c99028249e": { - "name": "repo.list#1", - "ordinal": 3, - "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": { - "error": "inner refused", - "ok": false - } - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "af2065a16bd9": { - "connectionId": "Unknown method", - "crash": { - "$rpc": "null" - }, - "pasteOutcome": "unpasted" - }, - "b324f195491d": { - "name": "repo.list#1", - "ordinal": 3, - "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-2", - "ok": false - } - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "bf883027660c": { - "connectionId": "The host sent a reply this app could not read (repo.list)", - "crash": { - "$rpc": "null" - }, - "pasteOutcome": "unpasted" - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "c8c77ac17e0a": { - "name": "settings.get#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "d607cc114b04": { - "connectionId": "outer refused", - "crash": { - "$rpc": "null" - }, - "pasteOutcome": "unpasted" - }, - "d64700b9de3b": { - "name": "repo.list#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "d8654a93cec4": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (repo.list)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "e61132f30b52": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": "ssh-alpha" - }, - "e84b72d7c6fc": { - "connectionId": "ssh-alpha", - "crash": { - "$rpc": "null" - }, - "pasteOutcome": "unpasted" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - } - }, - "recording": { - "scenario": "matrix-session.worktree-connection-repo.list-1", - "checkpoints": [ - { - "id": "terminal-worktree-connection-resolved.normal:resolved", - "observation": { - "sender": ["3fb0e93ab6cb", "5a51b87432e2"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "e61132f30b52" - }, - "state": "e84b72d7c6fc", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.result-absent:resolved", - "observation": { - "sender": ["3fb0e93ab6cb", "24485b5028f5"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "d8654a93cec4" - }, - "state": "bf883027660c", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.result-null:resolved", - "observation": { - "sender": ["3fb0e93ab6cb", "78109a75646c"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "d8654a93cec4" - }, - "state": "bf883027660c", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.inner-ok-missing:resolved", - "observation": { - "sender": ["3fb0e93ab6cb", "5dd995908a4c"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "d8654a93cec4" - }, - "state": "bf883027660c", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.inner-false-string-error:resolved", - "observation": { - "sender": ["3fb0e93ab6cb", "97c99028249e"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "d8654a93cec4" - }, - "state": "bf883027660c", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.inner-false-object-error:resolved", - "observation": { - "sender": ["3fb0e93ab6cb", "51945e80fbd2"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "d8654a93cec4" - }, - "state": "bf883027660c", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.outer-refused:resolved", - "observation": { - "sender": ["3fb0e93ab6cb", "72444832e687"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "32a7c0ae7918" - }, - "state": "d607cc114b04", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.outer-refused-no-message:resolved", - "observation": { - "sender": ["3fb0e93ab6cb", "b324f195491d"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "f3b516f62081" - }, - "state": "45ad6315feb3", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.method-not-found:resolved", - "observation": { - "sender": ["3fb0e93ab6cb", "3be971df5814"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "b948e8307e81" - }, - "state": "af2065a16bd9", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.transport-rejection:resolved", - "observation": { - "sender": ["3fb0e93ab6cb", "4a8214d9a3ed"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "a947768bc0ed" - }, - "state": "978b9015256c", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.transport-rejection-no-message:resolved", - "observation": { - "sender": ["3fb0e93ab6cb", "03628457e494"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "c7584e82c72f" - }, - "state": "45ad6315feb3", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-session.worktree-connection-settings.get-1.json b/mobile/rpc-foundation/goldens/matrix-session.worktree-connection-settings.get-1.json deleted file mode 100644 index 72c9f77f6d8..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-session.worktree-connection-settings.get-1.json +++ /dev/null @@ -1,608 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "session.terminal-clipboard", - "family": "session.worktree-connection", - "namedDeltas": [], - "values": { - "2b502b73f842": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "3afed5398fd2": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "3fb0e93ab6cb": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "terminalCopyTrimsGutter": true - } - } - } - } - }, - "5a51b87432e2": { - "name": "repo.list#1", - "ordinal": 3, - "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": [ - { - "connectionId": "ssh-zeta", - "displayName": "zeta", - "id": "repo-z" - }, - { - "connectionId": "ssh-alpha", - "displayName": "alpha", - "id": "repo-a" - } - ] - } - } - } - }, - "6ff1416c5ad4": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "930a9d2a78e6": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "a635d4e92676": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "c8c77ac17e0a": { - "name": "settings.get#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "c8d263270801": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "ce92a6a8b61e": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "d2a78aa427b9": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "d64700b9de3b": { - "name": "repo.list#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "d72ab23b2f30": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "e3e76073526b": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "e61132f30b52": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": "ssh-alpha" - }, - "e84b72d7c6fc": { - "connectionId": "ssh-alpha", - "crash": { - "$rpc": "null" - }, - "pasteOutcome": "unpasted" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-session.worktree-connection-settings.get-1", - "checkpoints": [ - { - "id": "terminal-worktree-connection-resolved.normal:resolved", - "observation": { - "sender": ["3fb0e93ab6cb", "5a51b87432e2"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "e61132f30b52" - }, - "state": "e84b72d7c6fc", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.result-absent:resolved", - "observation": { - "sender": ["d72ab23b2f30", "5a51b87432e2"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "e61132f30b52" - }, - "state": "e84b72d7c6fc", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.result-null:resolved", - "observation": { - "sender": ["930a9d2a78e6", "5a51b87432e2"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "e61132f30b52" - }, - "state": "e84b72d7c6fc", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.inner-ok-missing:resolved", - "observation": { - "sender": ["e3e76073526b", "5a51b87432e2"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "e61132f30b52" - }, - "state": "e84b72d7c6fc", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.inner-false-string-error:resolved", - "observation": { - "sender": ["a635d4e92676", "5a51b87432e2"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "e61132f30b52" - }, - "state": "e84b72d7c6fc", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.inner-false-object-error:resolved", - "observation": { - "sender": ["d2a78aa427b9", "5a51b87432e2"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "e61132f30b52" - }, - "state": "e84b72d7c6fc", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.outer-refused:resolved", - "observation": { - "sender": ["ce92a6a8b61e", "5a51b87432e2"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "e61132f30b52" - }, - "state": "e84b72d7c6fc", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.outer-refused-no-message:resolved", - "observation": { - "sender": ["2b502b73f842", "5a51b87432e2"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "e61132f30b52" - }, - "state": "e84b72d7c6fc", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.method-not-found:resolved", - "observation": { - "sender": ["6ff1416c5ad4", "5a51b87432e2"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "e61132f30b52" - }, - "state": "e84b72d7c6fc", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.transport-rejection:resolved", - "observation": { - "sender": ["c8d263270801", "5a51b87432e2"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "e61132f30b52" - }, - "state": "e84b72d7c6fc", - "effects": [] - } - }, - { - "id": "terminal-worktree-connection-resolved.transport-rejection-no-message:resolved", - "observation": { - "sender": ["3afed5398fd2", "5a51b87432e2"], - "payloads": ["c8c77ac17e0a", "d64700b9de3b"], - "settlements": { - "mount": "eb79a9b3682a", - "connection": "e61132f30b52" - }, - "state": "e84b72d7c6fc", - "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 deleted file mode 100644 index 8c69aba0616..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings-agent-read-preflight.detectremoteagents-1.json +++ /dev/null @@ -1,753 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.new-tab-agents", - "family": "settings-agent-read", - "namedDeltas": [], - "values": { - "02188f091419": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - } - } - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "345dc124b970": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "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-3", - "ok": false - } - } - }, - "35f85fe3b71c": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3c15f9bd5ab2": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "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-3", - "ok": true - } - } - }, - "44136fa355b3": {}, - "51d4cb56be85": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "54401bd549a9": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "7023dde78391": { - "name": "repo.list#1", - "ordinal": 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" - } - ] - } - } - } - }, - "8e8abfb8ebaf": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (preflight.detectRemoteAgents)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "938b468c8609": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "95a3d59bc187": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": ["codex", "claude"] - } - } - }, - "98852adcd6ee": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "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-3", - "ok": false - } - } - }, - "9d67127a8071": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "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 - } - } - }, - "a05ac6b15c2d": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b27c85677730": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "agent": "codex", - "label": "Codex" - }, - { - "agent": "claude", - "label": "Claude" - } - ] - }, - "b58f98ddc87b": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "c677ec96282f": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "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-3", - "ok": false - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d4a4a671080d": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "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 - } - } - }, - "e0eef7c9fafe": { - "name": "repo.list#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "e998da05623e": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - } - }, - "recording": { - "scenario": "matrix-settings-agent-read-preflight.detectremoteagents-1", - "checkpoints": [ - { - "id": "settings-new-tab-ssh.prelude:pending", - "observation": { - "sender": ["35f85fe3b71c", "51d4cb56be85"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.normal:settled", - "observation": { - "sender": ["7023dde78391", "02188f091419", "95a3d59bc187"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "b27c85677730" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.result-absent:settled", - "observation": { - "sender": ["7023dde78391", "02188f091419", "3c15f9bd5ab2"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "8e8abfb8ebaf" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.result-null:settled", - "observation": { - "sender": ["7023dde78391", "02188f091419", "938b468c8609"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "8e8abfb8ebaf" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.inner-ok-missing:settled", - "observation": { - "sender": ["7023dde78391", "02188f091419", "b58f98ddc87b"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "8e8abfb8ebaf" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.inner-false-string-error:settled", - "observation": { - "sender": ["7023dde78391", "02188f091419", "e998da05623e"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "8e8abfb8ebaf" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.inner-false-object-error:settled", - "observation": { - "sender": ["7023dde78391", "02188f091419", "54401bd549a9"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "8e8abfb8ebaf" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.outer-refused:settled", - "observation": { - "sender": ["7023dde78391", "02188f091419", "345dc124b970"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "32a7c0ae7918" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.outer-refused-no-message:settled", - "observation": { - "sender": ["7023dde78391", "02188f091419", "c677ec96282f"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "f3b516f62081" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.method-not-found:settled", - "observation": { - "sender": ["7023dde78391", "02188f091419", "98852adcd6ee"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "b948e8307e81" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.transport-rejection:settled", - "observation": { - "sender": ["7023dde78391", "02188f091419", "9d67127a8071"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "a947768bc0ed" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.transport-rejection-no-message:settled", - "observation": { - "sender": ["7023dde78391", "02188f091419", "d4a4a671080d"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "c7584e82c72f" - }, - "state": "44136fa355b3", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index f13d660ee13..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings-agent-read-repo.list-1.json +++ /dev/null @@ -1,753 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.new-tab-agents", - "family": "settings-agent-read", - "namedDeltas": [], - "values": { - "02188f091419": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - } - } - } - }, - "12e70439f294": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "1321b4c8c0b8": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "1b23dab83fcf": { - "name": "repo.list#1", - "ordinal": 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" - } - } - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "35f85fe3b71c": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "44136fa355b3": {}, - "48c68906a98a": { - "name": "repo.list#1", - "ordinal": 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" - } - } - } - }, - "51d4cb56be85": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "624ec4e5082c": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "7023dde78391": { - "name": "repo.list#1", - "ordinal": 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" - } - ] - } - } - } - }, - "747c556da67a": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "8a72d3d14d44": { - "name": "repo.list#1", - "ordinal": 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 - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "95a3d59bc187": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": ["codex", "claude"] - } - } - }, - "a05ac6b15c2d": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b27c85677730": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "agent": "codex", - "label": "Codex" - }, - { - "agent": "claude", - "label": "Claude" - } - ] - }, - "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 - } - }, - "d68475063b62": { - "name": "repo.list#1", - "ordinal": 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 - } - } - } - }, - "d8654a93cec4": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (repo.list)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "dae756300589": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "e0eef7c9fafe": { - "name": "repo.list#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "f1d579dd459c": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - } - }, - "recording": { - "scenario": "matrix-settings-agent-read-repo.list-1", - "checkpoints": [ - { - "id": "settings-new-tab-ssh.prelude:pending", - "observation": { - "sender": ["35f85fe3b71c", "51d4cb56be85"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.normal:settled", - "observation": { - "sender": ["7023dde78391", "02188f091419", "95a3d59bc187"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "b27c85677730" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.result-absent:settled", - "observation": { - "sender": ["747c556da67a", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "d8654a93cec4" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.result-null:settled", - "observation": { - "sender": ["48c68906a98a", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "d8654a93cec4" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.inner-ok-missing:settled", - "observation": { - "sender": ["1b23dab83fcf", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "d8654a93cec4" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.inner-false-string-error:settled", - "observation": { - "sender": ["8a72d3d14d44", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "d8654a93cec4" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.inner-false-object-error:settled", - "observation": { - "sender": ["d68475063b62", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "d8654a93cec4" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.outer-refused:settled", - "observation": { - "sender": ["624ec4e5082c", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "32a7c0ae7918" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.outer-refused-no-message:settled", - "observation": { - "sender": ["f1d579dd459c", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "f3b516f62081" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.method-not-found:settled", - "observation": { - "sender": ["12e70439f294", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "b948e8307e81" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.transport-rejection:settled", - "observation": { - "sender": ["dae756300589", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "a947768bc0ed" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.transport-rejection-no-message:settled", - "observation": { - "sender": ["1321b4c8c0b8", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "c7584e82c72f" - }, - "state": "44136fa355b3", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 4c47c189c57..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings-agent-read-settings.get-1.json +++ /dev/null @@ -1,777 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.new-tab-agents", - "family": "settings-agent-read", - "namedDeltas": [], - "values": { - "02188f091419": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - } - } - } - }, - "0ba58e9fadf7": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "0ca529648be4": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "1a04332d2ee1": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "TypeError", - "message": "Cannot read properties of null (reading 'settings')", - "isRpcDeliveryUnknown": false - } - }, - "1c10eabc36a4": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "TypeError", - "message": "Cannot read properties of undefined (reading 'settings')", - "isRpcDeliveryUnknown": false - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "1c5359ea3f7d": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "34f3a5b8bd78": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "35f85fe3b71c": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3c911d72c9be": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "agent": "claude", - "label": "Claude" - }, - { - "agent": "codex", - "label": "Codex" - } - ] - }, - "44136fa355b3": {}, - "51d4cb56be85": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "566d8202b582": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "69518e60477b": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "7023dde78391": { - "name": "repo.list#1", - "ordinal": 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" - } - ] - } - } - } - }, - "86798e4821d1": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "95a3d59bc187": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": ["codex", "claude"] - } - } - }, - "98bd3a5fda2b": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "a05ac6b15c2d": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b27c85677730": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "agent": "codex", - "label": "Codex" - }, - { - "agent": "claude", - "label": "Claude" - } - ] - }, - "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 - } - }, - "ceb5fe72c101": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "e0eef7c9fafe": { - "name": "repo.list#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "fb9f08890f70": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - } - }, - "recording": { - "scenario": "matrix-settings-agent-read-settings.get-1", - "checkpoints": [ - { - "id": "settings-new-tab-ssh.prelude:pending", - "observation": { - "sender": ["35f85fe3b71c", "51d4cb56be85"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.normal:settled", - "observation": { - "sender": ["7023dde78391", "02188f091419", "95a3d59bc187"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "b27c85677730" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.result-absent:settled", - "observation": { - "sender": ["7023dde78391", "98bd3a5fda2b", "95a3d59bc187"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "1c10eabc36a4" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.result-null:settled", - "observation": { - "sender": ["7023dde78391", "69518e60477b", "95a3d59bc187"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "1a04332d2ee1" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.inner-ok-missing:settled", - "observation": { - "sender": ["7023dde78391", "fb9f08890f70", "95a3d59bc187"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "3c911d72c9be" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.inner-false-string-error:settled", - "observation": { - "sender": ["7023dde78391", "86798e4821d1", "95a3d59bc187"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "3c911d72c9be" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.inner-false-object-error:settled", - "observation": { - "sender": ["7023dde78391", "1c5359ea3f7d", "95a3d59bc187"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "3c911d72c9be" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.outer-refused:settled", - "observation": { - "sender": ["7023dde78391", "ceb5fe72c101", "95a3d59bc187"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "32a7c0ae7918" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.outer-refused-no-message:settled", - "observation": { - "sender": ["7023dde78391", "34f3a5b8bd78", "95a3d59bc187"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "f3b516f62081" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.method-not-found:settled", - "observation": { - "sender": ["7023dde78391", "0ba58e9fadf7", "95a3d59bc187"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "b948e8307e81" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.transport-rejection:settled", - "observation": { - "sender": ["7023dde78391", "566d8202b582", "95a3d59bc187"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "a947768bc0ed" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-new-tab-ssh.transport-rejection-no-message:settled", - "observation": { - "sender": ["7023dde78391", "0ca529648be4", "95a3d59bc187"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "a05ac6b15c2d"], - "settlements": { - "load": "c7584e82c72f" - }, - "state": "44136fa355b3", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index a6bf10b6829..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings-best-effort-settings.update-1.json +++ /dev/null @@ -1,590 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.task-preferences", - "family": "settings-best-effort", - "namedDeltas": [], - "values": { - "03d1fef54a8c": { - "name": "settings.update#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultTaskViewPreset\":\"my-issues\"}}" - }, - "0e0e7cfa77f2": { - "name": "settings.update#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.update" - }, - { - "name": "params", - "value": { - "defaultTaskViewPreset": "my-issues" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "0e6a18c4b259": { - "name": "settings.update#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.update" - }, - { - "name": "params", - "value": { - "defaultTaskViewPreset": "my-issues" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "38f60ac30222": { - "preset": "my-issues" - }, - "50cc7bfddb0c": { - "name": "settings.update#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.update" - }, - { - "name": "params", - "value": { - "defaultTaskViewPreset": "my-issues" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "a10aec8208b3": { - "name": "defaultGitHubPreset", - "ordinal": 1, - "value": "my-issues" - }, - "a2be01c53c71": { - "name": "settings.update#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.update" - }, - { - "name": "params", - "value": { - "defaultTaskViewPreset": "my-issues" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "a4380be3778f": { - "name": "settings.update#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.update" - }, - { - "name": "params", - "value": { - "defaultTaskViewPreset": "my-issues" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "ad6e66b54916": { - "name": "settings.update#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.update" - }, - { - "name": "params", - "value": { - "defaultTaskViewPreset": "my-issues" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "af739459a0c3": { - "name": "settings.update#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.update" - }, - { - "name": "params", - "value": { - "defaultTaskViewPreset": "my-issues" - } - }, - { - "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 - } - } - } - }, - "b07b2522267c": { - "name": "settings.update#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.update" - }, - { - "name": "params", - "value": { - "defaultTaskViewPreset": "my-issues" - } - }, - { - "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 - } - } - }, - "b1e59b9278fe": { - "name": "settings.update#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.update" - }, - { - "name": "params", - "value": { - "defaultTaskViewPreset": "my-issues" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "b45fc49714f4": { - "name": "settings.update#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.update" - }, - { - "name": "params", - "value": { - "defaultTaskViewPreset": "my-issues" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "b6c9da6aafa0": { - "name": "settings.update#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.update" - }, - { - "name": "params", - "value": { - "defaultTaskViewPreset": "my-issues" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c8357df6a135": { - "name": "settings.update#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.update" - }, - { - "name": "params", - "value": { - "defaultTaskViewPreset": "my-issues" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "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" - } - } - }, - "recording": { - "scenario": "matrix-settings-best-effort-settings.update-1", - "checkpoints": [ - { - "id": "settings-task-write.prelude:optimistic", - "observation": { - "sender": ["b6c9da6aafa0"], - "payloads": ["03d1fef54a8c"], - "settlements": { - "mount": "eb79a9b3682a", - "write": "eb79a9b3682a" - }, - "state": "38f60ac30222", - "effects": ["a10aec8208b3"] - } - }, - { - "id": "settings-task-write.normal:settled", - "observation": { - "sender": ["0e6a18c4b259"], - "payloads": ["03d1fef54a8c"], - "settlements": { - "mount": "eb79a9b3682a", - "write": "eb79a9b3682a" - }, - "state": "38f60ac30222", - "effects": ["a10aec8208b3"] - } - }, - { - "id": "settings-task-write.result-absent:settled", - "observation": { - "sender": ["b1e59b9278fe"], - "payloads": ["03d1fef54a8c"], - "settlements": { - "mount": "eb79a9b3682a", - "write": "eb79a9b3682a" - }, - "state": "38f60ac30222", - "effects": ["a10aec8208b3"] - } - }, - { - "id": "settings-task-write.result-null:settled", - "observation": { - "sender": ["ad6e66b54916"], - "payloads": ["03d1fef54a8c"], - "settlements": { - "mount": "eb79a9b3682a", - "write": "eb79a9b3682a" - }, - "state": "38f60ac30222", - "effects": ["a10aec8208b3"] - } - }, - { - "id": "settings-task-write.inner-ok-missing:settled", - "observation": { - "sender": ["a2be01c53c71"], - "payloads": ["03d1fef54a8c"], - "settlements": { - "mount": "eb79a9b3682a", - "write": "eb79a9b3682a" - }, - "state": "38f60ac30222", - "effects": ["a10aec8208b3"] - } - }, - { - "id": "settings-task-write.inner-false-string-error:settled", - "observation": { - "sender": ["a4380be3778f"], - "payloads": ["03d1fef54a8c"], - "settlements": { - "mount": "eb79a9b3682a", - "write": "eb79a9b3682a" - }, - "state": "38f60ac30222", - "effects": ["a10aec8208b3"] - } - }, - { - "id": "settings-task-write.inner-false-object-error:settled", - "observation": { - "sender": ["af739459a0c3"], - "payloads": ["03d1fef54a8c"], - "settlements": { - "mount": "eb79a9b3682a", - "write": "eb79a9b3682a" - }, - "state": "38f60ac30222", - "effects": ["a10aec8208b3"] - } - }, - { - "id": "settings-task-write.outer-refused:settled", - "observation": { - "sender": ["c8357df6a135"], - "payloads": ["03d1fef54a8c"], - "settlements": { - "mount": "eb79a9b3682a", - "write": "eb79a9b3682a" - }, - "state": "38f60ac30222", - "effects": ["a10aec8208b3"] - } - }, - { - "id": "settings-task-write.outer-refused-no-message:settled", - "observation": { - "sender": ["50cc7bfddb0c"], - "payloads": ["03d1fef54a8c"], - "settlements": { - "mount": "eb79a9b3682a", - "write": "eb79a9b3682a" - }, - "state": "38f60ac30222", - "effects": ["a10aec8208b3"] - } - }, - { - "id": "settings-task-write.method-not-found:settled", - "observation": { - "sender": ["b07b2522267c"], - "payloads": ["03d1fef54a8c"], - "settlements": { - "mount": "eb79a9b3682a", - "write": "eb79a9b3682a" - }, - "state": "38f60ac30222", - "effects": ["a10aec8208b3"] - } - }, - { - "id": "settings-task-write.transport-rejection:settled", - "observation": { - "sender": ["0e0e7cfa77f2"], - "payloads": ["03d1fef54a8c"], - "settlements": { - "mount": "eb79a9b3682a", - "write": "eb79a9b3682a" - }, - "state": "38f60ac30222", - "effects": ["a10aec8208b3"] - } - }, - { - "id": "settings-task-write.transport-rejection-no-message:settled", - "observation": { - "sender": ["b45fc49714f4"], - "payloads": ["03d1fef54a8c"], - "settlements": { - "mount": "eb79a9b3682a", - "write": "eb79a9b3682a" - }, - "state": "38f60ac30222", - "effects": ["a10aec8208b3"] - } - } - ] - } -} 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 deleted file mode 100644 index d070c0e92f2..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.bot-overrides-settings.get-1.json +++ /dev/null @@ -1,578 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.bot-overrides", - "family": "settings.bot-overrides", - "namedDeltas": [], - "values": { - "2b502b73f842": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "3afed5398fd2": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "4f53cda18c2b": [], - "6ff1416c5ad4": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "930a9d2a78e6": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "a635d4e92676": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "b0e514c7c334": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "c8c77ac17e0a": { - "name": "settings.get#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "c8d263270801": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "ce92a6a8b61e": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "d2a78aa427b9": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "d52c8e96e222": ["bot-user"], - "d72ab23b2f30": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "e3973bb12da1": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "e3e76073526b": { - "name": "settings.get#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-settings.bot-overrides-settings.get-1", - "checkpoints": [ - { - "id": "settings-bot-overrides-fulfilled.prelude:settings-pending", - "observation": { - "sender": ["e3973bb12da1"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4f53cda18c2b", - "effects": [] - } - }, - { - "id": "settings-bot-overrides-fulfilled.normal:settled", - "observation": { - "sender": ["b0e514c7c334"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "d52c8e96e222", - "effects": [] - } - }, - { - "id": "settings-bot-overrides-fulfilled.result-absent:settled", - "observation": { - "sender": ["d72ab23b2f30"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4f53cda18c2b", - "effects": [] - } - }, - { - "id": "settings-bot-overrides-fulfilled.result-null:settled", - "observation": { - "sender": ["930a9d2a78e6"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4f53cda18c2b", - "effects": [] - } - }, - { - "id": "settings-bot-overrides-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": ["e3e76073526b"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4f53cda18c2b", - "effects": [] - } - }, - { - "id": "settings-bot-overrides-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": ["a635d4e92676"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4f53cda18c2b", - "effects": [] - } - }, - { - "id": "settings-bot-overrides-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": ["d2a78aa427b9"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4f53cda18c2b", - "effects": [] - } - }, - { - "id": "settings-bot-overrides-fulfilled.outer-refused:settled", - "observation": { - "sender": ["ce92a6a8b61e"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4f53cda18c2b", - "effects": [] - } - }, - { - "id": "settings-bot-overrides-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": ["2b502b73f842"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4f53cda18c2b", - "effects": [] - } - }, - { - "id": "settings-bot-overrides-fulfilled.method-not-found:settled", - "observation": { - "sender": ["6ff1416c5ad4"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4f53cda18c2b", - "effects": [] - } - }, - { - "id": "settings-bot-overrides-fulfilled.transport-rejection:settled", - "observation": { - "sender": ["c8d263270801"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4f53cda18c2b", - "effects": [] - } - }, - { - "id": "settings-bot-overrides-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": ["3afed5398fd2"], - "payloads": ["c8c77ac17e0a"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4f53cda18c2b", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-settings.new-tab-local-agents-preflight.detectagents-1.json b/mobile/rpc-foundation/goldens/matrix-settings.new-tab-local-agents-preflight.detectagents-1.json deleted file mode 100644 index bd8ceb4835c..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.new-tab-local-agents-preflight.detectagents-1.json +++ /dev/null @@ -1,755 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.new-tab-agents", - "family": "settings.new-tab-local-agents", - "namedDeltas": [], - "values": { - "02188f091419": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - } - } - } - }, - "1782d7da7125": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-1::/folder" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "35f85fe3b71c": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "44136fa355b3": {}, - "4b4eff46e2be": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-1::/folder" - } - }, - { - "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 - } - } - }, - "4b7de31b7ca7": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-1::/folder" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": ["codex", "claude"] - } - } - }, - "51d4cb56be85": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "584e8a48c9d1": { - "name": "preflight.detectAgents#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectAgents\",\"params\":{\"worktreeId\":\"repo-1::/folder\"}}" - }, - "70e0675ab2a9": { - "name": "repo.list#1", - "ordinal": 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" - } - ] - } - } - } - }, - "8f2549f081ef": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-1::/folder" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "98b298cb3858": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (preflight.detectAgents)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "ad56d2b94b5e": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-1::/folder" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "b27c85677730": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "agent": "codex", - "label": "Codex" - }, - { - "agent": "claude", - "label": "Claude" - } - ] - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "c0260c98bf87": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-1::/folder" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "c581f563511c": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-1::/folder" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d0f8e1b60093": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-1::/folder" - } - }, - { - "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 - } - } - } - }, - "e0eef7c9fafe": { - "name": "repo.list#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "ec9c870f9c3a": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-1::/folder" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "fea75e1dbba4": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-1::/folder" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "ff00bccaaf1f": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-1::/folder" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - } - }, - "recording": { - "scenario": "matrix-settings.new-tab-local-agents-preflight.detectagents-1", - "checkpoints": [ - { - "id": "new-tab-local-agents.prelude:pending", - "observation": { - "sender": ["35f85fe3b71c", "51d4cb56be85"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.normal:settled", - "observation": { - "sender": ["70e0675ab2a9", "02188f091419", "4b7de31b7ca7"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "b27c85677730" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.result-absent:settled", - "observation": { - "sender": ["70e0675ab2a9", "02188f091419", "ff00bccaaf1f"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "98b298cb3858" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.result-null:settled", - "observation": { - "sender": ["70e0675ab2a9", "02188f091419", "fea75e1dbba4"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "98b298cb3858" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.inner-ok-missing:settled", - "observation": { - "sender": ["70e0675ab2a9", "02188f091419", "ec9c870f9c3a"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "98b298cb3858" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.inner-false-string-error:settled", - "observation": { - "sender": ["70e0675ab2a9", "02188f091419", "c581f563511c"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "98b298cb3858" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.inner-false-object-error:settled", - "observation": { - "sender": ["70e0675ab2a9", "02188f091419", "d0f8e1b60093"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "98b298cb3858" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.outer-refused:settled", - "observation": { - "sender": ["70e0675ab2a9", "02188f091419", "c0260c98bf87"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "32a7c0ae7918" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.outer-refused-no-message:settled", - "observation": { - "sender": ["70e0675ab2a9", "02188f091419", "1782d7da7125"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "f3b516f62081" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.method-not-found:settled", - "observation": { - "sender": ["70e0675ab2a9", "02188f091419", "4b4eff46e2be"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "b948e8307e81" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.transport-rejection:settled", - "observation": { - "sender": ["70e0675ab2a9", "02188f091419", "ad56d2b94b5e"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "a947768bc0ed" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.transport-rejection-no-message:settled", - "observation": { - "sender": ["70e0675ab2a9", "02188f091419", "8f2549f081ef"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "c7584e82c72f" - }, - "state": "44136fa355b3", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-settings.new-tab-local-agents-repo.list-1.json b/mobile/rpc-foundation/goldens/matrix-settings.new-tab-local-agents-repo.list-1.json deleted file mode 100644 index f9511790aad..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.new-tab-local-agents-repo.list-1.json +++ /dev/null @@ -1,755 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.new-tab-agents", - "family": "settings.new-tab-local-agents", - "namedDeltas": [], - "values": { - "02188f091419": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - } - } - } - }, - "12e70439f294": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "1321b4c8c0b8": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "1b23dab83fcf": { - "name": "repo.list#1", - "ordinal": 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" - } - } - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "35f85fe3b71c": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "44136fa355b3": {}, - "48c68906a98a": { - "name": "repo.list#1", - "ordinal": 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" - } - } - } - }, - "4b7de31b7ca7": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-1::/folder" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": ["codex", "claude"] - } - } - }, - "51d4cb56be85": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "584e8a48c9d1": { - "name": "preflight.detectAgents#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectAgents\",\"params\":{\"worktreeId\":\"repo-1::/folder\"}}" - }, - "624ec4e5082c": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "70e0675ab2a9": { - "name": "repo.list#1", - "ordinal": 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" - } - ] - } - } - } - }, - "747c556da67a": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "8a72d3d14d44": { - "name": "repo.list#1", - "ordinal": 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 - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b27c85677730": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "agent": "codex", - "label": "Codex" - }, - { - "agent": "claude", - "label": "Claude" - } - ] - }, - "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 - } - }, - "d68475063b62": { - "name": "repo.list#1", - "ordinal": 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 - } - } - } - }, - "d8654a93cec4": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (repo.list)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "dae756300589": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "e0eef7c9fafe": { - "name": "repo.list#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "f1d579dd459c": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - } - }, - "recording": { - "scenario": "matrix-settings.new-tab-local-agents-repo.list-1", - "checkpoints": [ - { - "id": "new-tab-local-agents.prelude:pending", - "observation": { - "sender": ["35f85fe3b71c", "51d4cb56be85"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.normal:settled", - "observation": { - "sender": ["70e0675ab2a9", "02188f091419", "4b7de31b7ca7"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "b27c85677730" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.result-absent:settled", - "observation": { - "sender": ["747c556da67a", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "d8654a93cec4" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.result-null:settled", - "observation": { - "sender": ["48c68906a98a", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "d8654a93cec4" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.inner-ok-missing:settled", - "observation": { - "sender": ["1b23dab83fcf", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "d8654a93cec4" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.inner-false-string-error:settled", - "observation": { - "sender": ["8a72d3d14d44", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "d8654a93cec4" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.inner-false-object-error:settled", - "observation": { - "sender": ["d68475063b62", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "d8654a93cec4" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.outer-refused:settled", - "observation": { - "sender": ["624ec4e5082c", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "32a7c0ae7918" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.outer-refused-no-message:settled", - "observation": { - "sender": ["f1d579dd459c", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "f3b516f62081" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.method-not-found:settled", - "observation": { - "sender": ["12e70439f294", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "b948e8307e81" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.transport-rejection:settled", - "observation": { - "sender": ["dae756300589", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "a947768bc0ed" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.transport-rejection-no-message:settled", - "observation": { - "sender": ["1321b4c8c0b8", "02188f091419"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "c7584e82c72f" - }, - "state": "44136fa355b3", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-settings.new-tab-local-agents-settings.get-1.json b/mobile/rpc-foundation/goldens/matrix-settings.new-tab-local-agents-settings.get-1.json deleted file mode 100644 index 9fba3bbb4dc..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.new-tab-local-agents-settings.get-1.json +++ /dev/null @@ -1,779 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.new-tab-agents", - "family": "settings.new-tab-local-agents", - "namedDeltas": [], - "values": { - "02188f091419": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - } - } - } - }, - "0ba58e9fadf7": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "0ca529648be4": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "1a04332d2ee1": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "TypeError", - "message": "Cannot read properties of null (reading 'settings')", - "isRpcDeliveryUnknown": false - } - }, - "1c10eabc36a4": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "TypeError", - "message": "Cannot read properties of undefined (reading 'settings')", - "isRpcDeliveryUnknown": false - } - }, - "1c2564f1daca": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "1c5359ea3f7d": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "34f3a5b8bd78": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "35f85fe3b71c": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3c911d72c9be": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "agent": "claude", - "label": "Claude" - }, - { - "agent": "codex", - "label": "Codex" - } - ] - }, - "44136fa355b3": {}, - "4b7de31b7ca7": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "worktreeId": "repo-1::/folder" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": ["codex", "claude"] - } - } - }, - "51d4cb56be85": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "566d8202b582": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "584e8a48c9d1": { - "name": "preflight.detectAgents#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectAgents\",\"params\":{\"worktreeId\":\"repo-1::/folder\"}}" - }, - "69518e60477b": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "70e0675ab2a9": { - "name": "repo.list#1", - "ordinal": 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" - } - ] - } - } - } - }, - "86798e4821d1": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "98bd3a5fda2b": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b27c85677730": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "agent": "codex", - "label": "Codex" - }, - { - "agent": "claude", - "label": "Claude" - } - ] - }, - "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 - } - }, - "ceb5fe72c101": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "e0eef7c9fafe": { - "name": "repo.list#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "fb9f08890f70": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - } - }, - "recording": { - "scenario": "matrix-settings.new-tab-local-agents-settings.get-1", - "checkpoints": [ - { - "id": "new-tab-local-agents.prelude:pending", - "observation": { - "sender": ["35f85fe3b71c", "51d4cb56be85"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca"], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.normal:settled", - "observation": { - "sender": ["70e0675ab2a9", "02188f091419", "4b7de31b7ca7"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "b27c85677730" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.result-absent:settled", - "observation": { - "sender": ["70e0675ab2a9", "98bd3a5fda2b", "4b7de31b7ca7"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "1c10eabc36a4" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.result-null:settled", - "observation": { - "sender": ["70e0675ab2a9", "69518e60477b", "4b7de31b7ca7"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "1a04332d2ee1" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.inner-ok-missing:settled", - "observation": { - "sender": ["70e0675ab2a9", "fb9f08890f70", "4b7de31b7ca7"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "3c911d72c9be" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.inner-false-string-error:settled", - "observation": { - "sender": ["70e0675ab2a9", "86798e4821d1", "4b7de31b7ca7"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "3c911d72c9be" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.inner-false-object-error:settled", - "observation": { - "sender": ["70e0675ab2a9", "1c5359ea3f7d", "4b7de31b7ca7"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "3c911d72c9be" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.outer-refused:settled", - "observation": { - "sender": ["70e0675ab2a9", "ceb5fe72c101", "4b7de31b7ca7"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "32a7c0ae7918" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.outer-refused-no-message:settled", - "observation": { - "sender": ["70e0675ab2a9", "34f3a5b8bd78", "4b7de31b7ca7"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "f3b516f62081" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.method-not-found:settled", - "observation": { - "sender": ["70e0675ab2a9", "0ba58e9fadf7", "4b7de31b7ca7"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "b948e8307e81" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.transport-rejection:settled", - "observation": { - "sender": ["70e0675ab2a9", "566d8202b582", "4b7de31b7ca7"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "a947768bc0ed" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "new-tab-local-agents.transport-rejection-no-message:settled", - "observation": { - "sender": ["70e0675ab2a9", "0ca529648be4", "4b7de31b7ca7"], - "payloads": ["e0eef7c9fafe", "1c2564f1daca", "584e8a48c9d1"], - "settlements": { - "load": "c7584e82c72f" - }, - "state": "44136fa355b3", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 5660f8298c7..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.quick-commands-settings.getterminalquickcommands-1.json +++ /dev/null @@ -1,645 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.quick-commands", - "family": "settings.quick-commands", - "namedDeltas": [], - "values": { - "293828e985f4": { - "name": "settings.getTerminalQuickCommands#1", - "ordinal": 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": [] - } - } - } - }, - "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 - }, - "3a752c2955e2": { - "name": "settings.getTerminalQuickCommands#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.getTerminalQuickCommands\"}" - }, - "57653dce9e88": { - "commands": [], - "error": "", - "loading": false, - "persisted": [false], - "ready": false - }, - "607a55e2a75c": { - "name": "settings.getTerminalQuickCommands#1", - "ordinal": 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" - } - } - } - }, - "60cffab341b1": { - "name": "settings.getTerminalQuickCommands#1", - "ordinal": 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 - } - } - }, - "6802e9327771": { - "commands": [], - "error": "Unknown method", - "loading": false, - "persisted": [false], - "ready": false - }, - "6ab1d0c3a5d5": { - "name": "settings.updateTerminalQuickCommands#1", - "ordinal": 4, - "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}}}}" - }, - "76c980d41c21": { - "name": "settings.getTerminalQuickCommands#1", - "ordinal": 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" - } - } - } - }, - "79b6ec004f59": { - "name": "settings.getTerminalQuickCommands#1", - "ordinal": 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 - } - } - } - }, - "7d2d60c3289d": { - "name": "settings.getTerminalQuickCommands#1", - "ordinal": 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 - } - } - }, - "7ed3d39f0607": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": false - }, - "966c7e8ed097": { - "name": "settings.getTerminalQuickCommands#1", - "ordinal": 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 - } - } - }, - "a86d1745ad9b": { - "name": "settings.getTerminalQuickCommands#1", - "ordinal": 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 - } - } - } - }, - "a897be4839be": { - "name": "settings.getTerminalQuickCommands#1", - "ordinal": 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 - } - } - }, - "d4b326e9a5d1": { - "commands": [], - "error": "transport failure", - "loading": false, - "persisted": [false], - "ready": false - }, - "de7991e02663": { - "name": "settings.getTerminalQuickCommands#1", - "ordinal": 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 - } - } - }, - "e9c308be6dea": { - "commands": [], - "error": "Failed to save quick command", - "loading": false, - "persisted": [false], - "ready": true - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f7798a9d2071": { - "name": "settings.getTerminalQuickCommands#1", - "ordinal": 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 - } - } - }, - "ff66005bb7e9": { - "name": "settings.updateTerminalQuickCommands#1", - "ordinal": 3, - "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" - } - ] - } - } - } - } - }, - "recording": { - "scenario": "matrix-settings.quick-commands-settings.getterminalquickcommands-1", - "checkpoints": [ - { - "id": "quick-commands-loaded-and-saved.normal:saved", - "observation": { - "sender": ["293828e985f4", "ff66005bb7e9"], - "payloads": ["3a752c2955e2", "6ab1d0c3a5d5"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "e9c308be6dea", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.result-absent:saved", - "observation": { - "sender": ["60cffab341b1"], - "payloads": ["3a752c2955e2"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "39ce53b18223", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.result-null:saved", - "observation": { - "sender": ["607a55e2a75c"], - "payloads": ["3a752c2955e2"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "39ce53b18223", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.inner-ok-missing:saved", - "observation": { - "sender": ["76c980d41c21"], - "payloads": ["3a752c2955e2"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "39ce53b18223", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.inner-false-string-error:saved", - "observation": { - "sender": ["79b6ec004f59"], - "payloads": ["3a752c2955e2"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "39ce53b18223", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.inner-false-object-error:saved", - "observation": { - "sender": ["a86d1745ad9b"], - "payloads": ["3a752c2955e2"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "39ce53b18223", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.outer-refused:saved", - "observation": { - "sender": ["de7991e02663"], - "payloads": ["3a752c2955e2"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "3436bd0afc4e", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.outer-refused-no-message:saved", - "observation": { - "sender": ["a897be4839be"], - "payloads": ["3a752c2955e2"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "39ce53b18223", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.method-not-found:saved", - "observation": { - "sender": ["f7798a9d2071"], - "payloads": ["3a752c2955e2"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "6802e9327771", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.transport-rejection:saved", - "observation": { - "sender": ["7d2d60c3289d"], - "payloads": ["3a752c2955e2"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "d4b326e9a5d1", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.transport-rejection-no-message:saved", - "observation": { - "sender": ["966c7e8ed097"], - "payloads": ["3a752c2955e2"], - "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 deleted file mode 100644 index 8e3565ab414..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.quick-commands-settings.updateterminalquickcommands-1.json +++ /dev/null @@ -1,718 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.quick-commands", - "family": "settings.quick-commands", - "namedDeltas": [], - "values": { - "011fc11cb355": { - "name": "settings.updateTerminalQuickCommands#1", - "ordinal": 3, - "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" - } - } - } - }, - "04871f8c5e86": { - "name": "settings.updateTerminalQuickCommands#1", - "ordinal": 3, - "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" - } - } - } - }, - "15c395001f1a": { - "name": "settings.updateTerminalQuickCommands#1", - "ordinal": 3, - "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 - } - } - } - }, - "293828e985f4": { - "name": "settings.getTerminalQuickCommands#1", - "ordinal": 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": [] - } - } - } - }, - "3870d32d5a40": { - "name": "settings.updateTerminalQuickCommands#1", - "ordinal": 3, - "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 - } - } - } - }, - "3a752c2955e2": { - "name": "settings.getTerminalQuickCommands#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.getTerminalQuickCommands\"}" - }, - "3d12f7b0edac": { - "name": "settings.updateTerminalQuickCommands#1", - "ordinal": 3, - "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 - } - } - }, - "4d6187982484": { - "commands": [], - "error": "transport failure", - "loading": false, - "persisted": [false], - "ready": true - }, - "5561b91b34d5": { - "name": "settings.updateTerminalQuickCommands#1", - "ordinal": 3, - "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 - } - } - }, - "5677c7442543": { - "name": "settings.updateTerminalQuickCommands#1", - "ordinal": 3, - "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 - } - } - }, - "6ab1d0c3a5d5": { - "name": "settings.updateTerminalQuickCommands#1", - "ordinal": 4, - "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}}}}" - }, - "6c0ad123f62d": { - "name": "settings.updateTerminalQuickCommands#1", - "ordinal": 3, - "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 - } - } - }, - "74795defe62c": { - "name": "settings.updateTerminalQuickCommands#1", - "ordinal": 3, - "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 - } - } - }, - "7ed3d39f0607": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": false - }, - "90d68a1db07c": { - "commands": [], - "error": "Unknown method", - "loading": false, - "persisted": [false], - "ready": true - }, - "bea1533ac9d4": { - "commands": [], - "error": "outer refused", - "loading": false, - "persisted": [false], - "ready": true - }, - "e481e68c74c9": { - "commands": [], - "error": "", - "loading": false, - "persisted": [false], - "ready": true - }, - "e841f3720351": { - "name": "settings.updateTerminalQuickCommands#1", - "ordinal": 3, - "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 - } - } - }, - "e9c308be6dea": { - "commands": [], - "error": "Failed to save quick command", - "loading": false, - "persisted": [false], - "ready": true - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ff66005bb7e9": { - "name": "settings.updateTerminalQuickCommands#1", - "ordinal": 3, - "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" - } - ] - } - } - } - } - }, - "recording": { - "scenario": "matrix-settings.quick-commands-settings.updateterminalquickcommands-1", - "checkpoints": [ - { - "id": "quick-commands-loaded-and-saved.normal:saved", - "observation": { - "sender": ["293828e985f4", "ff66005bb7e9"], - "payloads": ["3a752c2955e2", "6ab1d0c3a5d5"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "e9c308be6dea", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.result-absent:saved", - "observation": { - "sender": ["293828e985f4", "74795defe62c"], - "payloads": ["3a752c2955e2", "6ab1d0c3a5d5"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "e9c308be6dea", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.result-null:saved", - "observation": { - "sender": ["293828e985f4", "04871f8c5e86"], - "payloads": ["3a752c2955e2", "6ab1d0c3a5d5"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "e9c308be6dea", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.inner-ok-missing:saved", - "observation": { - "sender": ["293828e985f4", "011fc11cb355"], - "payloads": ["3a752c2955e2", "6ab1d0c3a5d5"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "e9c308be6dea", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.inner-false-string-error:saved", - "observation": { - "sender": ["293828e985f4", "15c395001f1a"], - "payloads": ["3a752c2955e2", "6ab1d0c3a5d5"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "e9c308be6dea", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.inner-false-object-error:saved", - "observation": { - "sender": ["293828e985f4", "3870d32d5a40"], - "payloads": ["3a752c2955e2", "6ab1d0c3a5d5"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "e9c308be6dea", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.outer-refused:saved", - "observation": { - "sender": ["293828e985f4", "5677c7442543"], - "payloads": ["3a752c2955e2", "6ab1d0c3a5d5"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "bea1533ac9d4", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.outer-refused-no-message:saved", - "observation": { - "sender": ["293828e985f4", "6c0ad123f62d"], - "payloads": ["3a752c2955e2", "6ab1d0c3a5d5"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "e9c308be6dea", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.method-not-found:saved", - "observation": { - "sender": ["293828e985f4", "3d12f7b0edac"], - "payloads": ["3a752c2955e2", "6ab1d0c3a5d5"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "90d68a1db07c", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.transport-rejection:saved", - "observation": { - "sender": ["293828e985f4", "e841f3720351"], - "payloads": ["3a752c2955e2", "6ab1d0c3a5d5"], - "settlements": { - "mount": "eb79a9b3682a", - "persist": "7ed3d39f0607" - }, - "state": "4d6187982484", - "effects": [] - } - }, - { - "id": "quick-commands-loaded-and-saved.transport-rejection-no-message:saved", - "observation": { - "sender": ["293828e985f4", "5561b91b34d5"], - "payloads": ["3a752c2955e2", "6ab1d0c3a5d5"], - "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 deleted file mode 100644 index 968017e1155..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-host.platform-1.json +++ /dev/null @@ -1,1369 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.repo-metadata", - "family": "settings.repo-metadata", - "namedDeltas": [], - "values": { - "048b92edb59b": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "091af476e5cc": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 9, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.listTargetSummaries\"}" - }, - "0921a23d6dd4": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-5", - "ok": false - } - } - }, - "20200b8feac4": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "platform": "linux" - } - } - } - }, - "21069b5e026b": { - "name": "streams-registered-at-teardown", - "ordinal": 15, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "353f0cb8ea69": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "455c68e82d1a": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "46abca59fb08": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-5", - "ok": false - } - } - }, - "51204f9a0c15": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "564f54c8d902": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "56ab81cb67dc": { - "name": "hostLabelById", - "ordinal": 13, - "value": [["ssh:ssh-1", "SSH"]] - }, - "5d761dbb6415": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-5", - "ok": false - } - } - }, - "68038a916b4a": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "68916f125c3c": { - "desktopRepos": [ - { - "displayName": "Local", - "executionHostId": "local", - "id": "repo-1", - "path": "repo-1" - }, - { - "displayName": "Remote", - "executionHostId": "ssh:ssh-1", - "id": "repo-2", - "path": "repo-2" - } - ], - "repoHostIdByRepoId": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, - "6d43117882f3": { - "desktopRepos": [ - { - "displayName": "Local", - "executionHostId": "local", - "id": "repo-1", - "path": "repo-1" - }, - { - "displayName": "Remote", - "executionHostId": "ssh:ssh-1", - "id": "repo-2", - "path": "repo-2" - } - ], - "hostHealthById": [], - "hostLabelById": [["ssh:ssh-1", "SSH"]], - "hostPlatform": "linux", - "repoHostIdByRepoId": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, - "76c784c63522": { - "name": "streams-registered-at-teardown", - "ordinal": 12, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "7999924c608c": { - "name": "settings.get#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "80e40a970f99": { - "name": "host.platform#1", - "ordinal": 11, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"host.platform\"}" - }, - "84c1dde54c62": { - "name": "hostHealthById", - "ordinal": 12, - "value": [] - }, - "8a1dbc86c27a": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "8cfdd18c5fe6": { - "name": "repoHostIdByRepoId", - "ordinal": 8, - "value": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, - "8dac28bc810e": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true - } - } - }, - "8e76374272ce": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "913d2a349d4d": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "ssh.listTargetSummaries" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "targets": [ - { - "id": "ssh-1", - "label": "SSH" - } - ] - } - } - } - }, - "a46bfb0bd61a": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "b2746491ac07": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "afterSnapshotId": { - "$rpc": "null" - } - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "repos": [ - { - "connectionId": { - "$rpc": "null" - }, - "displayName": "Local", - "id": "repo-1" - }, - { - "connectionId": "ssh-1", - "displayName": "Remote", - "id": "repo-2" - } - ] - } - } - } - }, - "beb4ddf549da": { - "name": "repo.list#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\",\"params\":{\"afterSnapshotId\":null}}" - }, - "cb2830d84b82": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "d88cba4e044f": { - "desktopRepos": [ - { - "displayName": "Local", - "executionHostId": "local", - "id": "repo-1", - "path": "repo-1" - }, - { - "displayName": "Remote", - "executionHostId": "ssh:ssh-1", - "id": "repo-2", - "path": "repo-2" - } - ], - "hostHealthById": [], - "hostLabelById": [["ssh:ssh-1", "SSH"]], - "hostPlatform": { - "$rpc": "null" - }, - "repoHostIdByRepoId": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, - "e7b605a67b1f": { - "name": "desktopRepos", - "ordinal": 7, - "value": [ - { - "displayName": "Local", - "executionHostId": "local", - "id": "repo-1", - "path": "repo-1" - }, - { - "displayName": "Remote", - "executionHostId": "ssh:ssh-1", - "id": "repo-2", - "path": "repo-2" - } - ] - }, - "e9480602a4c6": { - "name": "hostPlatform", - "ordinal": 14, - "value": { - "$rpc": "null" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "f9193cae5824": { - "name": "hostPlatform", - "ordinal": 14, - "value": "linux" - } - }, - "recording": { - "scenario": "matrix-settings.repo-metadata-host.platform-1", - "checkpoints": [ - { - "id": "settings-repo-metadata-fulfilled.prelude:settings-pending", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "353f0cb8ea69", "564f54c8d902"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.prelude:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "455c68e82d1a"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6", "76c784c63522"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.normal:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.normal:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-absent:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "8dac28bc810e"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-absent:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "8dac28bc810e"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-null:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "a46bfb0bd61a"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-null:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "a46bfb0bd61a"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "048b92edb59b"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-ok-missing:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "048b92edb59b"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "68038a916b4a"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-string-error:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "68038a916b4a"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "cb2830d84b82"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-object-error:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "cb2830d84b82"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "5d761dbb6415"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "5d761dbb6415"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "46abca59fb08"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused-no-message:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "46abca59fb08"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.method-not-found:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "0921a23d6dd4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.method-not-found:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "0921a23d6dd4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "51204f9a0c15"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "51204f9a0c15"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "8a1dbc86c27a"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection-no-message:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "8a1dbc86c27a"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "d88cba4e044f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "e9480602a4c6", - "21069b5e026b" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 8eb9954a6f6..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-repo.list-1.json +++ /dev/null @@ -1,1187 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.repo-metadata", - "family": "settings.repo-metadata", - "namedDeltas": [], - "values": { - "091af476e5cc": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 9, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.listTargetSummaries\"}" - }, - "0b91ec5af62a": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "afterSnapshotId": { - "$rpc": "null" - } - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "20200b8feac4": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "platform": "linux" - } - } - } - }, - "21069b5e026b": { - "name": "streams-registered-at-teardown", - "ordinal": 15, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "21c6e2bb0891": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "afterSnapshotId": { - "$rpc": "null" - } - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "300e91220899": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "afterSnapshotId": { - "$rpc": "null" - } - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "353f0cb8ea69": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3f0dc90a7c73": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "afterSnapshotId": { - "$rpc": "null" - } - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "42c91b1d1905": { - "name": "streams-registered-at-teardown", - "ordinal": 4, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "44136fa355b3": {}, - "4e8f56d917f0": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "afterSnapshotId": { - "$rpc": "null" - } - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "5639a3ae0086": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "afterSnapshotId": { - "$rpc": "null" - } - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "564f54c8d902": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "56ab81cb67dc": { - "name": "hostLabelById", - "ordinal": 13, - "value": [["ssh:ssh-1", "SSH"]] - }, - "68916f125c3c": { - "desktopRepos": [ - { - "displayName": "Local", - "executionHostId": "local", - "id": "repo-1", - "path": "repo-1" - }, - { - "displayName": "Remote", - "executionHostId": "ssh:ssh-1", - "id": "repo-2", - "path": "repo-2" - } - ], - "repoHostIdByRepoId": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, - "6d43117882f3": { - "desktopRepos": [ - { - "displayName": "Local", - "executionHostId": "local", - "id": "repo-1", - "path": "repo-1" - }, - { - "displayName": "Remote", - "executionHostId": "ssh:ssh-1", - "id": "repo-2", - "path": "repo-2" - } - ], - "hostHealthById": [], - "hostLabelById": [["ssh:ssh-1", "SSH"]], - "hostPlatform": "linux", - "repoHostIdByRepoId": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, - "7999924c608c": { - "name": "settings.get#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "80e40a970f99": { - "name": "host.platform#1", - "ordinal": 11, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"host.platform\"}" - }, - "84c1dde54c62": { - "name": "hostHealthById", - "ordinal": 12, - "value": [] - }, - "8cfdd18c5fe6": { - "name": "repoHostIdByRepoId", - "ordinal": 8, - "value": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, - "8e76374272ce": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "913d2a349d4d": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "ssh.listTargetSummaries" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "targets": [ - { - "id": "ssh-1", - "label": "SSH" - } - ] - } - } - } - }, - "9c0331aaea38": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "afterSnapshotId": { - "$rpc": "null" - } - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "b2746491ac07": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "afterSnapshotId": { - "$rpc": "null" - } - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "repos": [ - { - "connectionId": { - "$rpc": "null" - }, - "displayName": "Local", - "id": "repo-1" - }, - { - "connectionId": "ssh-1", - "displayName": "Remote", - "id": "repo-2" - } - ] - } - } - } - }, - "beb4ddf549da": { - "name": "repo.list#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\",\"params\":{\"afterSnapshotId\":null}}" - }, - "d343fba4abc8": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "afterSnapshotId": { - "$rpc": "null" - } - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "da2c7f221131": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "afterSnapshotId": { - "$rpc": "null" - } - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "e7b605a67b1f": { - "name": "desktopRepos", - "ordinal": 7, - "value": [ - { - "displayName": "Local", - "executionHostId": "local", - "id": "repo-1", - "path": "repo-1" - }, - { - "displayName": "Remote", - "executionHostId": "ssh:ssh-1", - "id": "repo-2", - "path": "repo-2" - } - ] - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ee31f1b849f3": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "afterSnapshotId": { - "$rpc": "null" - } - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "f9193cae5824": { - "name": "hostPlatform", - "ordinal": 14, - "value": "linux" - } - }, - "recording": { - "scenario": "matrix-settings.repo-metadata-repo.list-1", - "checkpoints": [ - { - "id": "settings-repo-metadata-fulfilled.normal:settings-pending", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "353f0cb8ea69", "564f54c8d902"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.normal:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.normal:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-absent:settings-pending", - "observation": { - "sender": ["5639a3ae0086"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-absent:settled", - "observation": { - "sender": ["5639a3ae0086"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-absent:cleanup", - "observation": { - "sender": ["5639a3ae0086"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": ["42c91b1d1905"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-null:settings-pending", - "observation": { - "sender": ["3f0dc90a7c73"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-null:settled", - "observation": { - "sender": ["3f0dc90a7c73"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-null:cleanup", - "observation": { - "sender": ["3f0dc90a7c73"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": ["42c91b1d1905"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-ok-missing:settings-pending", - "observation": { - "sender": ["d343fba4abc8"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": ["d343fba4abc8"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-ok-missing:cleanup", - "observation": { - "sender": ["d343fba4abc8"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": ["42c91b1d1905"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-string-error:settings-pending", - "observation": { - "sender": ["9c0331aaea38"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": ["9c0331aaea38"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-string-error:cleanup", - "observation": { - "sender": ["9c0331aaea38"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": ["42c91b1d1905"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-object-error:settings-pending", - "observation": { - "sender": ["ee31f1b849f3"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": ["ee31f1b849f3"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-object-error:cleanup", - "observation": { - "sender": ["ee31f1b849f3"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": ["42c91b1d1905"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused:settings-pending", - "observation": { - "sender": ["300e91220899"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused:settled", - "observation": { - "sender": ["300e91220899"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused:cleanup", - "observation": { - "sender": ["300e91220899"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": ["42c91b1d1905"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused-no-message:settings-pending", - "observation": { - "sender": ["4e8f56d917f0"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": ["4e8f56d917f0"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused-no-message:cleanup", - "observation": { - "sender": ["4e8f56d917f0"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": ["42c91b1d1905"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.method-not-found:settings-pending", - "observation": { - "sender": ["21c6e2bb0891"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.method-not-found:settled", - "observation": { - "sender": ["21c6e2bb0891"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.method-not-found:cleanup", - "observation": { - "sender": ["21c6e2bb0891"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": ["42c91b1d1905"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection:settings-pending", - "observation": { - "sender": ["da2c7f221131"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection:settled", - "observation": { - "sender": ["da2c7f221131"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection:cleanup", - "observation": { - "sender": ["da2c7f221131"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": ["42c91b1d1905"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection-no-message:settings-pending", - "observation": { - "sender": ["0b91ec5af62a"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": ["0b91ec5af62a"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection-no-message:cleanup", - "observation": { - "sender": ["0b91ec5af62a"], - "payloads": ["eef1ee3c2773", "beb4ddf549da"], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "44136fa355b3", - "effects": ["42c91b1d1905"] - } - } - ] - } -} 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 deleted file mode 100644 index ba076c5e516..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-settings.get-1.json +++ /dev/null @@ -1,1369 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.repo-metadata", - "family": "settings.repo-metadata", - "namedDeltas": [], - "values": { - "0412b19218f8": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-4", - "ok": false - } - } - }, - "091af476e5cc": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 9, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.listTargetSummaries\"}" - }, - "0af5805393af": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "11f1a7e68dfc": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "1a94b394e9b6": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "1fd014cabae4": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "20200b8feac4": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "platform": "linux" - } - } - } - }, - "21069b5e026b": { - "name": "streams-registered-at-teardown", - "ordinal": 15, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "30a62aa238cf": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-4", - "ok": false - } - } - }, - "353f0cb8ea69": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "455c68e82d1a": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "5213bfcf2286": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "564f54c8d902": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "5679e01933fd": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "56ab81cb67dc": { - "name": "hostLabelById", - "ordinal": 13, - "value": [["ssh:ssh-1", "SSH"]] - }, - "68916f125c3c": { - "desktopRepos": [ - { - "displayName": "Local", - "executionHostId": "local", - "id": "repo-1", - "path": "repo-1" - }, - { - "displayName": "Remote", - "executionHostId": "ssh:ssh-1", - "id": "repo-2", - "path": "repo-2" - } - ], - "repoHostIdByRepoId": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, - "6d43117882f3": { - "desktopRepos": [ - { - "displayName": "Local", - "executionHostId": "local", - "id": "repo-1", - "path": "repo-1" - }, - { - "displayName": "Remote", - "executionHostId": "ssh:ssh-1", - "id": "repo-2", - "path": "repo-2" - } - ], - "hostHealthById": [], - "hostLabelById": [["ssh:ssh-1", "SSH"]], - "hostPlatform": "linux", - "repoHostIdByRepoId": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, - "76c784c63522": { - "name": "streams-registered-at-teardown", - "ordinal": 12, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "7999924c608c": { - "name": "settings.get#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "7a576e29b680": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-4", - "ok": false - } - } - }, - "80e40a970f99": { - "name": "host.platform#1", - "ordinal": 11, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"host.platform\"}" - }, - "84c1dde54c62": { - "name": "hostHealthById", - "ordinal": 12, - "value": [] - }, - "8cfdd18c5fe6": { - "name": "repoHostIdByRepoId", - "ordinal": 8, - "value": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, - "8e76374272ce": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "913d2a349d4d": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "ssh.listTargetSummaries" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "targets": [ - { - "id": "ssh-1", - "label": "SSH" - } - ] - } - } - } - }, - "addddc6c05db": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "b2746491ac07": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "afterSnapshotId": { - "$rpc": "null" - } - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "repos": [ - { - "connectionId": { - "$rpc": "null" - }, - "displayName": "Local", - "id": "repo-1" - }, - { - "connectionId": "ssh-1", - "displayName": "Remote", - "id": "repo-2" - } - ] - } - } - } - }, - "beb4ddf549da": { - "name": "repo.list#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\",\"params\":{\"afterSnapshotId\":null}}" - }, - "e7b605a67b1f": { - "name": "desktopRepos", - "ordinal": 7, - "value": [ - { - "displayName": "Local", - "executionHostId": "local", - "id": "repo-1", - "path": "repo-1" - }, - { - "displayName": "Remote", - "executionHostId": "ssh:ssh-1", - "id": "repo-2", - "path": "repo-2" - } - ] - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "f2bbfa8c9433": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "f9193cae5824": { - "name": "hostPlatform", - "ordinal": 14, - "value": "linux" - } - }, - "recording": { - "scenario": "matrix-settings.repo-metadata-settings.get-1", - "checkpoints": [ - { - "id": "settings-repo-metadata-fulfilled.prelude:settings-pending", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "353f0cb8ea69", "564f54c8d902"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.prelude:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "5679e01933fd", "455c68e82d1a"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6", "76c784c63522"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.normal:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.normal:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-absent:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "11f1a7e68dfc", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-absent:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "11f1a7e68dfc", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-null:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "5213bfcf2286", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-null:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "5213bfcf2286", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "1fd014cabae4", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-ok-missing:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "1fd014cabae4", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "0af5805393af", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-string-error:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "0af5805393af", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "1a94b394e9b6", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-object-error:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "1a94b394e9b6", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "0412b19218f8", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "0412b19218f8", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "7a576e29b680", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused-no-message:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "7a576e29b680", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.method-not-found:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "30a62aa238cf", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.method-not-found:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "30a62aa238cf", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "f2bbfa8c9433", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "f2bbfa8c9433", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "addddc6c05db", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection-no-message:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "addddc6c05db", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824", - "21069b5e026b" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 77776e509d8..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.repo-metadata-ssh.listtargetsummaries-1.json +++ /dev/null @@ -1,1493 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.repo-metadata", - "family": "settings.repo-metadata", - "namedDeltas": [], - "values": { - "091af476e5cc": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 9, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.listTargetSummaries\"}" - }, - "20200b8feac4": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "platform": "linux" - } - } - } - }, - "21069b5e026b": { - "name": "streams-registered-at-teardown", - "ordinal": 15, - "value": [ - { - "cancelled": true, - "method": "runtime.clientEvents.subscribe", - "payload": "runtime.clientEvents.subscribe#1" - } - ] - }, - "353f0cb8ea69": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "472b54d5d233": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "ssh.listTargetSummaries" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "564f54c8d902": { - "name": "host.platform#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "host.platform" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "56ab81cb67dc": { - "name": "hostLabelById", - "ordinal": 13, - "value": [["ssh:ssh-1", "SSH"]] - }, - "5b3d82c7f3b1": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "ssh.listTargetSummaries" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "5ffccd000213": { - "name": "hostLabelById", - "ordinal": 13, - "value": [] - }, - "68916f125c3c": { - "desktopRepos": [ - { - "displayName": "Local", - "executionHostId": "local", - "id": "repo-1", - "path": "repo-1" - }, - { - "displayName": "Remote", - "executionHostId": "ssh:ssh-1", - "id": "repo-2", - "path": "repo-2" - } - ], - "repoHostIdByRepoId": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, - "6a644f1d68a3": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "ssh.listTargetSummaries" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "6d43117882f3": { - "desktopRepos": [ - { - "displayName": "Local", - "executionHostId": "local", - "id": "repo-1", - "path": "repo-1" - }, - { - "displayName": "Remote", - "executionHostId": "ssh:ssh-1", - "id": "repo-2", - "path": "repo-2" - } - ], - "hostHealthById": [], - "hostLabelById": [["ssh:ssh-1", "SSH"]], - "hostPlatform": "linux", - "repoHostIdByRepoId": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, - "760b10f77c94": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "ssh.listTargetSummaries" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "7999924c608c": { - "name": "settings.get#1", - "ordinal": 10, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "7f61ff592a02": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "ssh.listTargetSummaries" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "80e40a970f99": { - "name": "host.platform#1", - "ordinal": 11, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"host.platform\"}" - }, - "84c1dde54c62": { - "name": "hostHealthById", - "ordinal": 12, - "value": [] - }, - "8cfdd18c5fe6": { - "name": "repoHostIdByRepoId", - "ordinal": 8, - "value": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, - "8e76374272ce": { - "name": "settings.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "913d2a349d4d": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "ssh.listTargetSummaries" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "targets": [ - { - "id": "ssh-1", - "label": "SSH" - } - ] - } - } - } - }, - "962686557c91": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "ssh.listTargetSummaries" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "99367b73f33f": { - "desktopRepos": [ - { - "displayName": "Local", - "executionHostId": "local", - "id": "repo-1", - "path": "repo-1" - }, - { - "displayName": "Remote", - "executionHostId": "ssh:ssh-1", - "id": "repo-2", - "path": "repo-2" - } - ], - "hostHealthById": [], - "hostLabelById": [], - "hostPlatform": "linux", - "repoHostIdByRepoId": [ - ["repo-1", "local"], - ["repo-2", "ssh:ssh-1"] - ] - }, - "9ac8cb5e977e": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "ssh.listTargetSummaries" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "9c35e59c539c": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "ssh.listTargetSummaries" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - }, - "af90ce4e35fd": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "ssh.listTargetSummaries" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "b2746491ac07": { - "name": "repo.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "afterSnapshotId": { - "$rpc": "null" - } - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "repos": [ - { - "connectionId": { - "$rpc": "null" - }, - "displayName": "Local", - "id": "repo-1" - }, - { - "connectionId": "ssh-1", - "displayName": "Remote", - "id": "repo-2" - } - ] - } - } - } - }, - "beb4ddf549da": { - "name": "repo.list#1", - "ordinal": 3, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\",\"params\":{\"afterSnapshotId\":null}}" - }, - "e03e3a5951d7": { - "name": "ssh.listTargetSummaries#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "ssh.listTargetSummaries" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "e7b605a67b1f": { - "name": "desktopRepos", - "ordinal": 7, - "value": [ - { - "displayName": "Local", - "executionHostId": "local", - "id": "repo-1", - "path": "repo-1" - }, - { - "displayName": "Remote", - "executionHostId": "ssh:ssh-1", - "id": "repo-2", - "path": "repo-2" - } - ] - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eef1ee3c2773": { - "name": "runtime.clientEvents.subscribe#1", - "ordinal": 1, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"runtime.clientEvents.subscribe\",\"params\":null}" - }, - "f9193cae5824": { - "name": "hostPlatform", - "ordinal": 14, - "value": "linux" - } - }, - "recording": { - "scenario": "matrix-settings.repo-metadata-ssh.listtargetsummaries-1", - "checkpoints": [ - { - "id": "settings-repo-metadata-fulfilled.normal:settings-pending", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "353f0cb8ea69", "564f54c8d902"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.normal:settled", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.normal:cleanup", - "observation": { - "sender": ["b2746491ac07", "913d2a349d4d", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "6d43117882f3", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "56ab81cb67dc", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-absent:settings-pending", - "observation": { - "sender": ["b2746491ac07", "472b54d5d233", "353f0cb8ea69", "564f54c8d902"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-absent:settled", - "observation": { - "sender": ["b2746491ac07", "472b54d5d233", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-absent:cleanup", - "observation": { - "sender": ["b2746491ac07", "472b54d5d233", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-null:settings-pending", - "observation": { - "sender": ["b2746491ac07", "e03e3a5951d7", "353f0cb8ea69", "564f54c8d902"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-null:settled", - "observation": { - "sender": ["b2746491ac07", "e03e3a5951d7", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.result-null:cleanup", - "observation": { - "sender": ["b2746491ac07", "e03e3a5951d7", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-ok-missing:settings-pending", - "observation": { - "sender": ["b2746491ac07", "5b3d82c7f3b1", "353f0cb8ea69", "564f54c8d902"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": ["b2746491ac07", "5b3d82c7f3b1", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-ok-missing:cleanup", - "observation": { - "sender": ["b2746491ac07", "5b3d82c7f3b1", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-string-error:settings-pending", - "observation": { - "sender": ["b2746491ac07", "9ac8cb5e977e", "353f0cb8ea69", "564f54c8d902"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": ["b2746491ac07", "9ac8cb5e977e", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-string-error:cleanup", - "observation": { - "sender": ["b2746491ac07", "9ac8cb5e977e", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-object-error:settings-pending", - "observation": { - "sender": ["b2746491ac07", "6a644f1d68a3", "353f0cb8ea69", "564f54c8d902"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": ["b2746491ac07", "6a644f1d68a3", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.inner-false-object-error:cleanup", - "observation": { - "sender": ["b2746491ac07", "6a644f1d68a3", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused:settings-pending", - "observation": { - "sender": ["b2746491ac07", "962686557c91", "353f0cb8ea69", "564f54c8d902"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused:settled", - "observation": { - "sender": ["b2746491ac07", "962686557c91", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused:cleanup", - "observation": { - "sender": ["b2746491ac07", "962686557c91", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused-no-message:settings-pending", - "observation": { - "sender": ["b2746491ac07", "760b10f77c94", "353f0cb8ea69", "564f54c8d902"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": ["b2746491ac07", "760b10f77c94", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.outer-refused-no-message:cleanup", - "observation": { - "sender": ["b2746491ac07", "760b10f77c94", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.method-not-found:settings-pending", - "observation": { - "sender": ["b2746491ac07", "9c35e59c539c", "353f0cb8ea69", "564f54c8d902"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.method-not-found:settled", - "observation": { - "sender": ["b2746491ac07", "9c35e59c539c", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.method-not-found:cleanup", - "observation": { - "sender": ["b2746491ac07", "9c35e59c539c", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection:settings-pending", - "observation": { - "sender": ["b2746491ac07", "af90ce4e35fd", "353f0cb8ea69", "564f54c8d902"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection:settled", - "observation": { - "sender": ["b2746491ac07", "af90ce4e35fd", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection:cleanup", - "observation": { - "sender": ["b2746491ac07", "af90ce4e35fd", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824", - "21069b5e026b" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection-no-message:settings-pending", - "observation": { - "sender": ["b2746491ac07", "7f61ff592a02", "353f0cb8ea69", "564f54c8d902"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "68916f125c3c", - "effects": ["e7b605a67b1f", "8cfdd18c5fe6"] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": ["b2746491ac07", "7f61ff592a02", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824" - ] - } - }, - { - "id": "settings-repo-metadata-fulfilled.transport-rejection-no-message:cleanup", - "observation": { - "sender": ["b2746491ac07", "7f61ff592a02", "8e76374272ce", "20200b8feac4"], - "payloads": [ - "eef1ee3c2773", - "beb4ddf549da", - "091af476e5cc", - "7999924c608c", - "80e40a970f99" - ], - "settlements": { - "mount": "eb79a9b3682a", - "load": "eb79a9b3682a" - }, - "state": "99367b73f33f", - "effects": [ - "e7b605a67b1f", - "8cfdd18c5fe6", - "84c1dde54c62", - "5ffccd000213", - "f9193cae5824", - "21069b5e026b" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 786d8cbf6d1..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-folderworkspace.list-1.json +++ /dev/null @@ -1,1168 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.resume-metadata", - "family": "settings.resume-metadata", - "namedDeltas": [], - "values": { - "03251bdb225e": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "0ea9813bd3f7": { - "name": "folderWorkspace.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "folderWorkspace.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "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 - } - } - } - }, - "0f74c522d54f": { - "name": "folderWorkspace.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "folderWorkspace.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "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 - } - } - }, - "1bfeba989b20": { - "name": "worktree.ps#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "1d8a45fb46cf": { - "name": "folderWorkspace.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "folderWorkspace.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "20ff2d8b6392": { - "name": "folderWorkspace.list#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"folderWorkspace.list\"}" - }, - "3c70da5d6d8e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "folderWorkspaces": [], - "projectGroups": [], - "repos": [], - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - }, - "worktrees": [] - } - }, - "4266db5558ed": { - "name": "folderWorkspace.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "folderWorkspace.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "44136fa355b3": {}, - "4b3691552a21": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "repos": [] - } - } - } - }, - "5f7f820e4ca2": { - "name": "projectGroup.list#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"projectGroup.list\"}" - }, - "6af91c1da122": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "worktrees": [] - } - } - } - }, - "6d1553471555": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "77912b6e2cc6": { - "name": "folderWorkspace.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "folderWorkspace.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "folderWorkspaces": [] - } - } - } - }, - "7d4b2ffeaae7": { - "name": "folderWorkspace.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "folderWorkspace.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "82132b79b8f7": { - "name": "settings.get#1", - "ordinal": 9, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "8805a8a4242e": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "9a65a5841361": { - "name": "folderWorkspace.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "folderWorkspace.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "9cd99bc29688": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (folderWorkspace.list)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "a2feaaab3fcf": { - "name": "folderWorkspace.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "folderWorkspace.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "add5aa096bdb": { - "name": "folderWorkspace.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "folderWorkspace.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "cabca99619ed": { - "name": "repo.list#1", - "ordinal": 6, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "e912cdcc7cc2": { - "name": "folderWorkspace.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "folderWorkspace.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "eb0dfe06bed8": { - "name": "projectGroup.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "projectGroup.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "groups": [] - } - } - } - }, - "f165f478cf10": { - "name": "folderWorkspace.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "folderWorkspace.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - } - }, - "recording": { - "scenario": "matrix-settings.resume-metadata-folderworkspace.list-1", - "checkpoints": [ - { - "id": "settings-resume-metadata-fulfilled.normal:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.normal:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-absent:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "f165f478cf10", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-absent:settled", - "observation": { - "sender": [ - "4b3691552a21", - "f165f478cf10", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9cd99bc29688" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-null:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "7d4b2ffeaae7", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-null:settled", - "observation": { - "sender": [ - "4b3691552a21", - "7d4b2ffeaae7", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9cd99bc29688" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-ok-missing:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "4266db5558ed", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": [ - "4b3691552a21", - "4266db5558ed", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-string-error:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "9a65a5841361", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": [ - "4b3691552a21", - "9a65a5841361", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-object-error:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "0ea9813bd3f7", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": [ - "4b3691552a21", - "0ea9813bd3f7", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "a2feaaab3fcf", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused:settled", - "observation": { - "sender": [ - "4b3691552a21", - "a2feaaab3fcf", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused-no-message:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "e912cdcc7cc2", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": [ - "4b3691552a21", - "e912cdcc7cc2", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.method-not-found:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "0f74c522d54f", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.method-not-found:settled", - "observation": { - "sender": [ - "4b3691552a21", - "0f74c522d54f", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "1d8a45fb46cf", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection:settled", - "observation": { - "sender": [ - "4b3691552a21", - "1d8a45fb46cf", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection-no-message:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "add5aa096bdb", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "4b3691552a21", - "add5aa096bdb", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 15a63190c9e..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-projectgroup.list-1.json +++ /dev/null @@ -1,1168 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.resume-metadata", - "family": "settings.resume-metadata", - "namedDeltas": [], - "values": { - "03251bdb225e": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "0e59a4f8f098": { - "name": "projectGroup.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "projectGroup.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "118926a5f0d5": { - "name": "projectGroup.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "projectGroup.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "1bfeba989b20": { - "name": "worktree.ps#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "20ff2d8b6392": { - "name": "folderWorkspace.list#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"folderWorkspace.list\"}" - }, - "24b3676c86b1": { - "name": "projectGroup.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "projectGroup.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "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 - } - } - } - }, - "3c70da5d6d8e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "folderWorkspaces": [], - "projectGroups": [], - "repos": [], - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - }, - "worktrees": [] - } - }, - "4179b03f412d": { - "name": "projectGroup.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "projectGroup.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "44136fa355b3": {}, - "450e04375305": { - "name": "projectGroup.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "projectGroup.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "49a9def0cf2c": { - "name": "projectGroup.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "projectGroup.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "4b3691552a21": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "repos": [] - } - } - } - }, - "4fbb013b379b": { - "name": "projectGroup.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "projectGroup.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "5f7f820e4ca2": { - "name": "projectGroup.list#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"projectGroup.list\"}" - }, - "6af91c1da122": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "worktrees": [] - } - } - } - }, - "6d1553471555": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "7167cc2f48b3": { - "name": "projectGroup.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "projectGroup.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "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 - } - } - }, - "77912b6e2cc6": { - "name": "folderWorkspace.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "folderWorkspace.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "folderWorkspaces": [] - } - } - } - }, - "82132b79b8f7": { - "name": "settings.get#1", - "ordinal": 9, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "8805a8a4242e": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "9bceb65955c9": { - "name": "projectGroup.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "projectGroup.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "a23cb85d637d": { - "name": "projectGroup.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "projectGroup.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "c884ec49315c": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (projectGroup.list)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "cabca99619ed": { - "name": "repo.list#1", - "ordinal": 6, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "eb0dfe06bed8": { - "name": "projectGroup.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "projectGroup.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "groups": [] - } - } - } - } - }, - "recording": { - "scenario": "matrix-settings.resume-metadata-projectgroup.list-1", - "checkpoints": [ - { - "id": "settings-resume-metadata-fulfilled.normal:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.normal:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-absent:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "49a9def0cf2c", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-absent:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "49a9def0cf2c", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "c884ec49315c" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-null:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "4fbb013b379b", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-null:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "4fbb013b379b", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "c884ec49315c" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-ok-missing:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "0e59a4f8f098", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "0e59a4f8f098", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-string-error:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "a23cb85d637d", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "a23cb85d637d", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-object-error:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "24b3676c86b1", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "24b3676c86b1", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "4179b03f412d", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "4179b03f412d", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused-no-message:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "118926a5f0d5", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "118926a5f0d5", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.method-not-found:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "7167cc2f48b3", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.method-not-found:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "7167cc2f48b3", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "450e04375305", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "450e04375305", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection-no-message:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "9bceb65955c9", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "9bceb65955c9", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 3147e8b4eef..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-repo.list-1.json +++ /dev/null @@ -1,1217 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.resume-metadata", - "family": "settings.resume-metadata", - "namedDeltas": [], - "values": { - "03251bdb225e": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "1351cf3cd680": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "15051bbd2c3b": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "1bfeba989b20": { - "name": "worktree.ps#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "20ff2d8b6392": { - "name": "folderWorkspace.list#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"folderWorkspace.list\"}" - }, - "28b1c60e88cb": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "The host sent a reply this app could not read (repo.list)", - "isRpcDeliveryUnknown": false - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "3c70da5d6d8e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "folderWorkspaces": [], - "projectGroups": [], - "repos": [], - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - }, - "worktrees": [] - } - }, - "44136fa355b3": {}, - "4b3691552a21": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "repos": [] - } - } - } - }, - "5f7f820e4ca2": { - "name": "projectGroup.list#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"projectGroup.list\"}" - }, - "6af91c1da122": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "worktrees": [] - } - } - } - }, - "6d1553471555": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "705079aacad0": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "77912b6e2cc6": { - "name": "folderWorkspace.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "folderWorkspace.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "folderWorkspaces": [] - } - } - } - }, - "7e625fda2a95": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "81efddf92ca1": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "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 - } - } - } - }, - "82132b79b8f7": { - "name": "settings.get#1", - "ordinal": 9, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "8805a8a4242e": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "90c7ae7be63f": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "a4f43da4a274": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "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 - } - }, - "ab291c60ed46": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unable to load workspace metadata.", - "isRpcDeliveryUnknown": false - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "c7550380f803": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "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 - } - }, - "cabca99619ed": { - "name": "repo.list#1", - "ordinal": 6, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "d1e3fc388111": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "e908afa6b089": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "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 - } - } - }, - "eb0dfe06bed8": { - "name": "projectGroup.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "projectGroup.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "groups": [] - } - } - } - } - }, - "recording": { - "scenario": "matrix-settings.resume-metadata-repo.list-1", - "checkpoints": [ - { - "id": "settings-resume-metadata-fulfilled.normal:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.normal:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-absent:settings-pending", - "observation": { - "sender": [ - "d1e3fc388111", - "77912b6e2cc6", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-absent:settled", - "observation": { - "sender": [ - "d1e3fc388111", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "28b1c60e88cb" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-null:settings-pending", - "observation": { - "sender": [ - "7e625fda2a95", - "77912b6e2cc6", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-null:settled", - "observation": { - "sender": [ - "7e625fda2a95", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "28b1c60e88cb" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-ok-missing:settings-pending", - "observation": { - "sender": [ - "c7550380f803", - "77912b6e2cc6", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": [ - "c7550380f803", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "28b1c60e88cb" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-string-error:settings-pending", - "observation": { - "sender": [ - "705079aacad0", - "77912b6e2cc6", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": [ - "705079aacad0", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "28b1c60e88cb" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-object-error:settings-pending", - "observation": { - "sender": [ - "81efddf92ca1", - "77912b6e2cc6", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": [ - "81efddf92ca1", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "28b1c60e88cb" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused:settings-pending", - "observation": { - "sender": [ - "1351cf3cd680", - "77912b6e2cc6", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused:settled", - "observation": { - "sender": [ - "1351cf3cd680", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "32a7c0ae7918" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused-no-message:settings-pending", - "observation": { - "sender": [ - "15051bbd2c3b", - "77912b6e2cc6", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": [ - "15051bbd2c3b", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "ab291c60ed46" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.method-not-found:settings-pending", - "observation": { - "sender": [ - "e908afa6b089", - "77912b6e2cc6", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.method-not-found:settled", - "observation": { - "sender": [ - "e908afa6b089", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "b948e8307e81" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection:settings-pending", - "observation": { - "sender": [ - "90c7ae7be63f", - "77912b6e2cc6", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "a947768bc0ed" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection:settled", - "observation": { - "sender": [ - "90c7ae7be63f", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "a947768bc0ed" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection-no-message:settings-pending", - "observation": { - "sender": [ - "a4f43da4a274", - "77912b6e2cc6", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "c7584e82c72f" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "a4f43da4a274", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "c7584e82c72f" - }, - "state": "44136fa355b3", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index e1b7161e9e1..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-settings.get-1.json +++ /dev/null @@ -1,931 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.resume-metadata", - "family": "settings.resume-metadata", - "namedDeltas": [], - "values": { - "03251bdb225e": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "1bfeba989b20": { - "name": "worktree.ps#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "1bffe126fdba": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "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 - } - } - } - }, - "20ff2d8b6392": { - "name": "folderWorkspace.list#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"folderWorkspace.list\"}" - }, - "2494afe8afb9": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "3c70da5d6d8e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "folderWorkspaces": [], - "projectGroups": [], - "repos": [], - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - }, - "worktrees": [] - } - }, - "44136fa355b3": {}, - "4b3691552a21": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "repos": [] - } - } - } - }, - "5f7f820e4ca2": { - "name": "projectGroup.list#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"projectGroup.list\"}" - }, - "6af91c1da122": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "worktrees": [] - } - } - } - }, - "6d1553471555": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "706eca4991ff": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "7103d40ef1ec": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "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 - } - } - }, - "77912b6e2cc6": { - "name": "folderWorkspace.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "folderWorkspace.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "folderWorkspaces": [] - } - } - } - }, - "82132b79b8f7": { - "name": "settings.get#1", - "ordinal": 9, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "8805a8a4242e": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "a21db7d04057": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "b27c7895f2e2": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "bef8ec25072d": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "folderWorkspaces": [], - "projectGroups": [], - "repos": [], - "settings": { - "$rpc": "null" - }, - "worktrees": [] - } - }, - "c253aa8c14e4": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-4", - "ok": false - } - } - }, - "c83b4c494893": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "cabca99619ed": { - "name": "repo.list#1", - "ordinal": 6, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "d7875c087072": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "e22e77744a7a": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-4", - "ok": false - } - } - }, - "eb0dfe06bed8": { - "name": "projectGroup.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "projectGroup.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "groups": [] - } - } - } - } - }, - "recording": { - "scenario": "matrix-settings.resume-metadata-settings.get-1", - "checkpoints": [ - { - "id": "settings-resume-metadata-fulfilled.prelude:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.normal:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-absent:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "706eca4991ff", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "bef8ec25072d" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-null:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "c83b4c494893", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "bef8ec25072d" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "d7875c087072", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "bef8ec25072d" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "a21db7d04057", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "bef8ec25072d" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "1bffe126fdba", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "bef8ec25072d" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "c253aa8c14e4", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "bef8ec25072d" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "e22e77744a7a", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "bef8ec25072d" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.method-not-found:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "7103d40ef1ec", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "bef8ec25072d" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "2494afe8afb9", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "bef8ec25072d" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "b27c7895f2e2", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "bef8ec25072d" - }, - "state": "44136fa355b3", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 6ec6da13f24..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.resume-metadata-worktree.ps-1.json +++ /dev/null @@ -1,948 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.resume-metadata", - "family": "settings.resume-metadata", - "namedDeltas": [], - "values": { - "03251bdb225e": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "0620c0819077": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "folderWorkspaces": [], - "projectGroups": [], - "repos": [], - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - }, - "worktrees": { - "$rpc": "null" - } - } - }, - "15a60ecd505a": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "1bfeba989b20": { - "name": "worktree.ps#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "20ff2d8b6392": { - "name": "folderWorkspace.list#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"folderWorkspace.list\"}" - }, - "220f1ccaef5c": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "27fc429cac2d": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "3c70da5d6d8e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "folderWorkspaces": [], - "projectGroups": [], - "repos": [], - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - }, - "worktrees": [] - } - }, - "44136fa355b3": {}, - "4b3691552a21": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "repos": [] - } - } - } - }, - "4c9a0e5690ea": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "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 - } - } - }, - "59a306ec4186": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true - } - } - }, - "5f7f820e4ca2": { - "name": "projectGroup.list#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"projectGroup.list\"}" - }, - "6af91c1da122": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "worktrees": [] - } - } - } - }, - "6d1553471555": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "77912b6e2cc6": { - "name": "folderWorkspace.list#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "folderWorkspace.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "folderWorkspaces": [] - } - } - } - }, - "7fb1c6f9f3ae": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (worktree.ps)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "82132b79b8f7": { - "name": "settings.get#1", - "ordinal": 9, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "8805a8a4242e": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8d098b964ee2": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "bb80f9ce2f06": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-5", - "ok": false - } - } - }, - "cabca99619ed": { - "name": "repo.list#1", - "ordinal": 6, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "e759447c3754": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "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 - } - } - } - }, - "eb0dfe06bed8": { - "name": "projectGroup.list#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "projectGroup.list" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "groups": [] - } - } - } - }, - "f31d423b19b8": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-5", - "ok": false - } - } - }, - "fae3bd7bb763": { - "name": "worktree.ps#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - } - }, - "recording": { - "scenario": "matrix-settings.resume-metadata-worktree.ps-1", - "checkpoints": [ - { - "id": "settings-resume-metadata-fulfilled.prelude:settings-pending", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "8805a8a4242e", - "6d1553471555" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.normal:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "6af91c1da122" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "3c70da5d6d8e" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-absent:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "59a306ec4186" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "7fb1c6f9f3ae" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.result-null:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "fae3bd7bb763" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "7fb1c6f9f3ae" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "220f1ccaef5c" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "0620c0819077" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "8d098b964ee2" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "0620c0819077" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "e759447c3754" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "0620c0819077" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "f31d423b19b8" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "0620c0819077" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "bb80f9ce2f06" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "0620c0819077" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.method-not-found:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "4c9a0e5690ea" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "0620c0819077" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "15a60ecd505a" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "0620c0819077" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "settings-resume-metadata-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "4b3691552a21", - "77912b6e2cc6", - "eb0dfe06bed8", - "03251bdb225e", - "27fc429cac2d" - ], - "payloads": [ - "cabca99619ed", - "20ff2d8b6392", - "5f7f820e4ca2", - "82132b79b8f7", - "1bfeba989b20" - ], - "settlements": { - "load": "0620c0819077" - }, - "state": "44136fa355b3", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-jira.status-1.json b/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-jira.status-1.json deleted file mode 100644 index 705627e066a..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-jira.status-1.json +++ /dev/null @@ -1,2018 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.task-hydration", - "family": "settings.task-hydration", - "namedDeltas": [], - "values": { - "05ccd79ba4af": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "0ebb7f0660a0": { - "name": "showLinearTeamPicker", - "ordinal": 4, - "value": false - }, - "15cdb7759e6b": { - "name": "ui.get#1", - "ordinal": 41, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" - }, - "1833d0fa5f1d": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "19505460d94b": { - "name": "githubMode", - "ordinal": 55, - "value": "items" - }, - "1a1091da11b2": { - "name": "githubProjectSettings", - "ordinal": 61, - "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } - }, - "1dfcd3f6163d": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "20ca5fcdffa4": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "22b355deb2df": { - "name": "provider", - "ordinal": 54, - "value": "github" - }, - "26ece795530e": { - "name": "showGitHubIssueSourcePicker", - "ordinal": 14, - "value": false - }, - "276a60ed41a5": { - "name": "mergeMethodTaskItem", - "ordinal": 28, - "value": { - "$rpc": "null" - } - }, - "2aad05f979a9": { - "name": "selectedRepoIds", - "ordinal": 52, - "value": [] - }, - "2b39b469a001": { - "name": "pendingGitHubProjectViewSelection", - "ordinal": 19, - "value": { - "$rpc": "null" - } - }, - "2bf05835527f": { - "name": "showLinearFilterPicker", - "ordinal": 11, - "value": false - }, - "2c3706d59dd5": { - "name": "linearTeams", - "ordinal": 49, - "value": [] - }, - "2d1023264788": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "2d9ce55cc13a": { - "name": "query", - "ordinal": 62, - "value": "is:issue is:open" - }, - "301bdbdf1dec": { - "name": "taskStateHydrated", - "ordinal": 1, - "value": false - }, - "3082bf4965fa": { - "name": "selectedLinearWorkspaceId", - "ordinal": 51, - "value": { - "$rpc": "null" - } - }, - "354e99da4ba4": { - "name": "pendingHostedStateChange", - "ordinal": 27, - "value": { - "$rpc": "null" - } - }, - "394fb5675266": { - "name": "mergeMethodProjectRow", - "ordinal": 29, - "value": { - "$rpc": "null" - } - }, - "3a03e162efd9": { - "name": "selectedLinearTeamIds", - "ordinal": 50, - "value": [] - }, - "3a94dcc00915": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3c66c971fe96": { - "name": "showGitHubProjectViewPicker", - "ordinal": 17, - "value": false - }, - "3ff235330cbe": { - "name": "jiraFilter", - "ordinal": 60, - "value": "assigned" - }, - "40f00017ad77": { - "name": "linearWorkspaces", - "ordinal": 48, - "value": [] - }, - "430c28cba43c": { - "name": "taskStateHydrated", - "ordinal": 64, - "value": true - }, - "45cfb5ee97ea": { - "name": "pendingHostedMerge", - "ordinal": 25, - "value": { - "$rpc": "null" - } - }, - "45e466d86a07": { - "name": "showLinearWorkspacePicker", - "ordinal": 3, - "value": false - }, - "4cbaceb42c08": { - "name": "detailPayload", - "ordinal": 21, - "value": { - "$rpc": "null" - } - }, - "5729b7cdb4ba": { - "name": "showFilterSheet", - "ordinal": 12, - "value": false - }, - "57568fbaf4f7": { - "name": "linearConnected", - "ordinal": 47, - "value": false - }, - "5886b76643d9": { - "name": "appliedQuery", - "ordinal": 63, - "value": "is:issue is:open" - }, - "58c52d8b7c76": { - "hydrated": true, - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "5c7f665de6c4": { - "name": "githubPreset", - "ordinal": 57, - "value": "issues" - }, - "5daa383fd4de": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "600862ad27b3": { - "name": "githubProjectHiddenFieldIdsByView", - "ordinal": 46, - "value": {} - }, - "688fe01c6196": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "714d4b3547ff": { - "name": "projectRepoNotInOrca", - "ordinal": 20, - "value": { - "$rpc": "null" - } - }, - "71bedad13169": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "72f6ef3cbb28": { - "name": "jiraConnection", - "ordinal": 65, - "value": { - "connected": false, - "credentialError": { - "$rpc": "null" - }, - "selection": { - "$rpc": "null" - }, - "sites": [], - "unavailableReason": "Update Orca desktop to browse Jira on mobile." - } - }, - "756c11d6e5bc": { - "name": "settings.get#1", - "ordinal": 40, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "7b0ad7b958dd": { - "name": "tasksSupportState", - "ordinal": 2, - "value": { - "client": "logical-client", - "kind": "unknown" - } - }, - "800b1afcceea": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "glab": { - "installed": false - } - } - } - } - }, - "8015a69c7774": { - "name": "showGitLabFilterPicker", - "ordinal": 10, - "value": false - }, - "80b342e01211": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "82daca007272": { - "name": "jiraConnection", - "ordinal": 65, - "value": { - "connected": false, - "credentialError": { - "$rpc": "null" - }, - "selection": { - "$rpc": "null" - }, - "sites": [], - "unavailableReason": { - "$rpc": "null" - } - } - }, - "87bd323da79d": { - "name": "trustedOrcaHooks", - "ordinal": 45, - "value": {} - }, - "8a053731b837": { - "name": "visibleProviders", - "ordinal": 53, - "value": ["github", "linear"] - }, - "8c4056edb811": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "8c8321daf849": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "8db7a6a7d531": { - "name": "status.get#1", - "ordinal": 30, - "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"] - } - } - } - }, - "8f5fd37043c9": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "931e8e15095d": { - "name": "showGitHubProjectPicker", - "ordinal": 16, - "value": false - }, - "93acc26335bc": { - "name": "githubKind", - "ordinal": 58, - "value": "issues" - }, - "95cf20285114": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "98281d0e8b13": { - "name": "projectRowDetail", - "ordinal": 22, - "value": { - "$rpc": "null" - } - }, - "9b2188f8d6b7": { - "name": "showGitHubPagePicker", - "ordinal": 15, - "value": false - }, - "9d27c74981a1": { - "name": "error", - "ordinal": 33, - "value": "" - }, - "9f545b97e888": { - "name": "showCreateTargetPicker", - "ordinal": 23, - "value": false - }, - "a5addaab38bf": { - "name": "linearFilter", - "ordinal": 59, - "value": "all" - }, - "aa9af10b3812": { - "name": "preflight.check#1", - "ordinal": 42, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" - }, - "ab4a6032b0e4": { - "name": "jira.status#1", - "ordinal": 39, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" - }, - "ac80469dcd0e": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "ba788c58e435": { - "name": "runtimeTaskSettings", - "ordinal": 44, - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "bbce658fe3f5": { - "name": "showRepoPicker", - "ordinal": 13, - "value": false - }, - "bc328711cadc": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "c11fe123ce70": { - "name": "showGitHubProjectFieldsPicker", - "ordinal": 18, - "value": false - }, - "c1630da260c7": { - "name": "showLinearDisplayPicker", - "ordinal": 5, - "value": false - }, - "c37873342ba8": { - "name": "linearStatusPickerItem", - "ordinal": 24, - "value": { - "$rpc": "null" - } - }, - "c6178e6a0f4e": { - "hydrated": false, - "settings": {} - }, - "c87109595a65": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "ui": {} - } - } - } - }, - "d100b9546c3d": { - "name": "showGitHubKindPicker", - "ordinal": 7, - "value": false - }, - "d1af3771ebfa": { - "name": "status.get#1", - "ordinal": 31, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "d208e8015339": { - "name": "showGitHubPresetPicker", - "ordinal": 8, - "value": false - }, - "d50362207233": { - "name": "tasksSupportState", - "ordinal": 32, - "value": { - "client": "logical-client", - "kind": "supported" - } - }, - "dd6fb20daf67": { - "name": "linear.status#1", - "ordinal": 43, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "e033cf17e121": { - "name": "showGitLabViewPicker", - "ordinal": 9, - "value": false - }, - "e61de5a1b27e": { - "name": "defaultGitHubPreset", - "ordinal": 56, - "value": "issues" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f164de325151": { - "name": "pendingProjectGitHubMerge", - "ordinal": 26, - "value": { - "$rpc": "null" - } - }, - "fa760a29a373": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "fdb0bbb8aa59": { - "name": "showLinearConnect", - "ordinal": 6, - "value": false - }, - "ffc5c47817a5": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - } - }, - "recording": { - "scenario": "matrix-settings.task-hydration-jira.status-1", - "checkpoints": [ - { - "id": "settings-task-hydration-fulfilled.prelude:settings-pending", - "observation": { - "sender": [ - "8db7a6a7d531", - "1833d0fa5f1d", - "3a94dcc00915", - "71bedad13169", - "1dfcd3f6163d", - "05ccd79ba4af" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.normal:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.result-absent:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "fa760a29a373", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "72f6ef3cbb28" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.result-null:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "8f5fd37043c9", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "72f6ef3cbb28" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "95cf20285114", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "72f6ef3cbb28" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "8c8321daf849", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "72f6ef3cbb28" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "5daa383fd4de", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "72f6ef3cbb28" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.outer-refused:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "ac80469dcd0e", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "72f6ef3cbb28" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "20ca5fcdffa4", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "72f6ef3cbb28" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.method-not-found:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "2d1023264788", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "72f6ef3cbb28" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.transport-rejection:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "bc328711cadc", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "72f6ef3cbb28" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "80b342e01211", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "72f6ef3cbb28" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 4391c334459..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-linear.status-1.json +++ /dev/null @@ -1,2007 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.task-hydration", - "family": "settings.task-hydration", - "namedDeltas": [], - "values": { - "05ccd79ba4af": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "0ebb7f0660a0": { - "name": "showLinearTeamPicker", - "ordinal": 4, - "value": false - }, - "15cdb7759e6b": { - "name": "ui.get#1", - "ordinal": 41, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" - }, - "1833d0fa5f1d": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "19505460d94b": { - "name": "githubMode", - "ordinal": 55, - "value": "items" - }, - "1a1091da11b2": { - "name": "githubProjectSettings", - "ordinal": 61, - "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } - }, - "1bf56a35d275": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-6", - "ok": false - } - } - }, - "1dfcd3f6163d": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1f343058c9bd": { - "name": "tasksSupportState", - "ordinal": 45, - "value": { - "client": "logical-client", - "kind": "unknown" - } - }, - "22b355deb2df": { - "name": "provider", - "ordinal": 54, - "value": "github" - }, - "26ece795530e": { - "name": "showGitHubIssueSourcePicker", - "ordinal": 14, - "value": false - }, - "276a60ed41a5": { - "name": "mergeMethodTaskItem", - "ordinal": 28, - "value": { - "$rpc": "null" - } - }, - "2aad05f979a9": { - "name": "selectedRepoIds", - "ordinal": 52, - "value": [] - }, - "2b39b469a001": { - "name": "pendingGitHubProjectViewSelection", - "ordinal": 19, - "value": { - "$rpc": "null" - } - }, - "2bf05835527f": { - "name": "showLinearFilterPicker", - "ordinal": 11, - "value": false - }, - "2c3706d59dd5": { - "name": "linearTeams", - "ordinal": 49, - "value": [] - }, - "2d9ce55cc13a": { - "name": "query", - "ordinal": 62, - "value": "is:issue is:open" - }, - "301bdbdf1dec": { - "name": "taskStateHydrated", - "ordinal": 1, - "value": false - }, - "3082bf4965fa": { - "name": "selectedLinearWorkspaceId", - "ordinal": 51, - "value": { - "$rpc": "null" - } - }, - "354e99da4ba4": { - "name": "pendingHostedStateChange", - "ordinal": 27, - "value": { - "$rpc": "null" - } - }, - "394fb5675266": { - "name": "mergeMethodProjectRow", - "ordinal": 29, - "value": { - "$rpc": "null" - } - }, - "3a03e162efd9": { - "name": "selectedLinearTeamIds", - "ordinal": 50, - "value": [] - }, - "3a7d2164ff85": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true - } - } - }, - "3a94dcc00915": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3c66c971fe96": { - "name": "showGitHubProjectViewPicker", - "ordinal": 17, - "value": false - }, - "3d31b2fc3a47": { - "name": "jiraConnection", - "ordinal": 47, - "value": { - "connected": false, - "credentialError": { - "$rpc": "null" - }, - "selection": { - "$rpc": "null" - }, - "sites": [], - "unavailableReason": { - "$rpc": "null" - } - } - }, - "3ff235330cbe": { - "name": "jiraFilter", - "ordinal": 60, - "value": "assigned" - }, - "40f00017ad77": { - "name": "linearWorkspaces", - "ordinal": 48, - "value": [] - }, - "415dd436805a": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "430c28cba43c": { - "name": "taskStateHydrated", - "ordinal": 64, - "value": true - }, - "45cfb5ee97ea": { - "name": "pendingHostedMerge", - "ordinal": 25, - "value": { - "$rpc": "null" - } - }, - "45e466d86a07": { - "name": "showLinearWorkspacePicker", - "ordinal": 3, - "value": false - }, - "4cbaceb42c08": { - "name": "detailPayload", - "ordinal": 21, - "value": { - "$rpc": "null" - } - }, - "5515834abfd8": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-6", - "ok": false - } - } - }, - "5729b7cdb4ba": { - "name": "showFilterSheet", - "ordinal": 12, - "value": false - }, - "57568fbaf4f7": { - "name": "linearConnected", - "ordinal": 47, - "value": false - }, - "5886b76643d9": { - "name": "appliedQuery", - "ordinal": 63, - "value": "is:issue is:open" - }, - "58c52d8b7c76": { - "hydrated": true, - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "5938f79e2bdb": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-6", - "ok": false - } - } - }, - "5c7f665de6c4": { - "name": "githubPreset", - "ordinal": 57, - "value": "issues" - }, - "600862ad27b3": { - "name": "githubProjectHiddenFieldIdsByView", - "ordinal": 46, - "value": {} - }, - "6140b7060d13": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "688fe01c6196": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "714d4b3547ff": { - "name": "projectRepoNotInOrca", - "ordinal": 20, - "value": { - "$rpc": "null" - } - }, - "71bedad13169": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "756c11d6e5bc": { - "name": "settings.get#1", - "ordinal": 40, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "7b0ad7b958dd": { - "name": "tasksSupportState", - "ordinal": 2, - "value": { - "client": "logical-client", - "kind": "unknown" - } - }, - "800b1afcceea": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "glab": { - "installed": false - } - } - } - } - }, - "8015a69c7774": { - "name": "showGitLabFilterPicker", - "ordinal": 10, - "value": false - }, - "82daca007272": { - "name": "jiraConnection", - "ordinal": 65, - "value": { - "connected": false, - "credentialError": { - "$rpc": "null" - }, - "selection": { - "$rpc": "null" - }, - "sites": [], - "unavailableReason": { - "$rpc": "null" - } - } - }, - "87bd323da79d": { - "name": "trustedOrcaHooks", - "ordinal": 45, - "value": {} - }, - "8a053731b837": { - "name": "visibleProviders", - "ordinal": 53, - "value": ["github", "linear"] - }, - "8b01f858876c": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "8c4056edb811": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "8db7a6a7d531": { - "name": "status.get#1", - "ordinal": 30, - "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"] - } - } - } - }, - "931e8e15095d": { - "name": "showGitHubProjectPicker", - "ordinal": 16, - "value": false - }, - "93acc26335bc": { - "name": "githubKind", - "ordinal": 58, - "value": "issues" - }, - "949cb0f686c5": { - "name": "error", - "ordinal": 44, - "value": "" - }, - "98281d0e8b13": { - "name": "projectRowDetail", - "ordinal": 22, - "value": { - "$rpc": "null" - } - }, - "9b2188f8d6b7": { - "name": "showGitHubPagePicker", - "ordinal": 15, - "value": false - }, - "9d27c74981a1": { - "name": "error", - "ordinal": 33, - "value": "" - }, - "9f545b97e888": { - "name": "showCreateTargetPicker", - "ordinal": 23, - "value": false - }, - "a5addaab38bf": { - "name": "linearFilter", - "ordinal": 59, - "value": "all" - }, - "a722b782ec80": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "aa9af10b3812": { - "name": "preflight.check#1", - "ordinal": 42, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" - }, - "ab4a6032b0e4": { - "name": "jira.status#1", - "ordinal": 39, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" - }, - "ba788c58e435": { - "name": "runtimeTaskSettings", - "ordinal": 44, - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "bbce658fe3f5": { - "name": "showRepoPicker", - "ordinal": 13, - "value": false - }, - "c11fe123ce70": { - "name": "showGitHubProjectFieldsPicker", - "ordinal": 18, - "value": false - }, - "c1630da260c7": { - "name": "showLinearDisplayPicker", - "ordinal": 5, - "value": false - }, - "c37873342ba8": { - "name": "linearStatusPickerItem", - "ordinal": 24, - "value": { - "$rpc": "null" - } - }, - "c6178e6a0f4e": { - "hydrated": false, - "settings": {} - }, - "c87109595a65": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "ui": {} - } - } - } - }, - "ccf853380b13": { - "name": "taskStateHydrated", - "ordinal": 46, - "value": false - }, - "d100b9546c3d": { - "name": "showGitHubKindPicker", - "ordinal": 7, - "value": false - }, - "d1af3771ebfa": { - "name": "status.get#1", - "ordinal": 31, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "d208e8015339": { - "name": "showGitHubPresetPicker", - "ordinal": 8, - "value": false - }, - "d50362207233": { - "name": "tasksSupportState", - "ordinal": 32, - "value": { - "client": "logical-client", - "kind": "supported" - } - }, - "dab4bb35a786": { - "name": "error", - "ordinal": 44, - "value": "transport failure" - }, - "dd6fb20daf67": { - "name": "linear.status#1", - "ordinal": 43, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "e033cf17e121": { - "name": "showGitLabViewPicker", - "ordinal": 9, - "value": false - }, - "e1945827a010": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "e61de5a1b27e": { - "name": "defaultGitHubPreset", - "ordinal": 56, - "value": "issues" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f164de325151": { - "name": "pendingProjectGitHubMerge", - "ordinal": 26, - "value": { - "$rpc": "null" - } - }, - "fbe806405bc1": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "fdb0bbb8aa59": { - "name": "showLinearConnect", - "ordinal": 6, - "value": false - }, - "ffc5c47817a5": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - } - }, - "recording": { - "scenario": "matrix-settings.task-hydration-linear.status-1", - "checkpoints": [ - { - "id": "settings-task-hydration-fulfilled.prelude:settings-pending", - "observation": { - "sender": [ - "8db7a6a7d531", - "1833d0fa5f1d", - "3a94dcc00915", - "71bedad13169", - "1dfcd3f6163d", - "05ccd79ba4af" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.normal:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.result-absent:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "3a7d2164ff85" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.result-null:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "a722b782ec80" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "6140b7060d13" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8b01f858876c" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "fbe806405bc1" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.outer-refused:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "5938f79e2bdb" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "5515834abfd8" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.method-not-found:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "1bf56a35d275" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.transport-rejection:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "415dd436805a" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "dab4bb35a786", - "1f343058c9bd", - "ccf853380b13", - "3d31b2fc3a47" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "e1945827a010" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "949cb0f686c5", - "1f343058c9bd", - "ccf853380b13", - "3d31b2fc3a47" - ] - } - } - ] - } -} 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 deleted file mode 100644 index d361b3d26aa..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-preflight.check-1.json +++ /dev/null @@ -1,2007 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.task-hydration", - "family": "settings.task-hydration", - "namedDeltas": [], - "values": { - "05ccd79ba4af": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "06ea4d7a449e": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "0ebb7f0660a0": { - "name": "showLinearTeamPicker", - "ordinal": 4, - "value": false - }, - "15cdb7759e6b": { - "name": "ui.get#1", - "ordinal": 41, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" - }, - "1833d0fa5f1d": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "19505460d94b": { - "name": "githubMode", - "ordinal": 55, - "value": "items" - }, - "1a1091da11b2": { - "name": "githubProjectSettings", - "ordinal": 61, - "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } - }, - "1dfcd3f6163d": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1f343058c9bd": { - "name": "tasksSupportState", - "ordinal": 45, - "value": { - "client": "logical-client", - "kind": "unknown" - } - }, - "22b355deb2df": { - "name": "provider", - "ordinal": 54, - "value": "github" - }, - "26ece795530e": { - "name": "showGitHubIssueSourcePicker", - "ordinal": 14, - "value": false - }, - "276a60ed41a5": { - "name": "mergeMethodTaskItem", - "ordinal": 28, - "value": { - "$rpc": "null" - } - }, - "2aad05f979a9": { - "name": "selectedRepoIds", - "ordinal": 52, - "value": [] - }, - "2b39b469a001": { - "name": "pendingGitHubProjectViewSelection", - "ordinal": 19, - "value": { - "$rpc": "null" - } - }, - "2bf05835527f": { - "name": "showLinearFilterPicker", - "ordinal": 11, - "value": false - }, - "2c3706d59dd5": { - "name": "linearTeams", - "ordinal": 49, - "value": [] - }, - "2d9ce55cc13a": { - "name": "query", - "ordinal": 62, - "value": "is:issue is:open" - }, - "301bdbdf1dec": { - "name": "taskStateHydrated", - "ordinal": 1, - "value": false - }, - "3082bf4965fa": { - "name": "selectedLinearWorkspaceId", - "ordinal": 51, - "value": { - "$rpc": "null" - } - }, - "34490b27ffa5": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "354e99da4ba4": { - "name": "pendingHostedStateChange", - "ordinal": 27, - "value": { - "$rpc": "null" - } - }, - "394fb5675266": { - "name": "mergeMethodProjectRow", - "ordinal": 29, - "value": { - "$rpc": "null" - } - }, - "3a03e162efd9": { - "name": "selectedLinearTeamIds", - "ordinal": 50, - "value": [] - }, - "3a94dcc00915": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3c66c971fe96": { - "name": "showGitHubProjectViewPicker", - "ordinal": 17, - "value": false - }, - "3d31b2fc3a47": { - "name": "jiraConnection", - "ordinal": 47, - "value": { - "connected": false, - "credentialError": { - "$rpc": "null" - }, - "selection": { - "$rpc": "null" - }, - "sites": [], - "unavailableReason": { - "$rpc": "null" - } - } - }, - "3ff235330cbe": { - "name": "jiraFilter", - "ordinal": 60, - "value": "assigned" - }, - "40f00017ad77": { - "name": "linearWorkspaces", - "ordinal": 48, - "value": [] - }, - "430c28cba43c": { - "name": "taskStateHydrated", - "ordinal": 64, - "value": true - }, - "45cfb5ee97ea": { - "name": "pendingHostedMerge", - "ordinal": 25, - "value": { - "$rpc": "null" - } - }, - "45e466d86a07": { - "name": "showLinearWorkspacePicker", - "ordinal": 3, - "value": false - }, - "4cbaceb42c08": { - "name": "detailPayload", - "ordinal": 21, - "value": { - "$rpc": "null" - } - }, - "56e8667e435a": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-5", - "ok": false - } - } - }, - "5729b7cdb4ba": { - "name": "showFilterSheet", - "ordinal": 12, - "value": false - }, - "57568fbaf4f7": { - "name": "linearConnected", - "ordinal": 47, - "value": false - }, - "5886b76643d9": { - "name": "appliedQuery", - "ordinal": 63, - "value": "is:issue is:open" - }, - "58c52d8b7c76": { - "hydrated": true, - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "5a8b2d6e6804": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-5", - "ok": false - } - } - }, - "5c7f665de6c4": { - "name": "githubPreset", - "ordinal": 57, - "value": "issues" - }, - "600862ad27b3": { - "name": "githubProjectHiddenFieldIdsByView", - "ordinal": 46, - "value": {} - }, - "688fe01c6196": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "714d4b3547ff": { - "name": "projectRepoNotInOrca", - "ordinal": 20, - "value": { - "$rpc": "null" - } - }, - "71bedad13169": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "72061affb9ec": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true - } - } - }, - "756c11d6e5bc": { - "name": "settings.get#1", - "ordinal": 40, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "7b0ad7b958dd": { - "name": "tasksSupportState", - "ordinal": 2, - "value": { - "client": "logical-client", - "kind": "unknown" - } - }, - "800b1afcceea": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "glab": { - "installed": false - } - } - } - } - }, - "8015a69c7774": { - "name": "showGitLabFilterPicker", - "ordinal": 10, - "value": false - }, - "82daca007272": { - "name": "jiraConnection", - "ordinal": 65, - "value": { - "connected": false, - "credentialError": { - "$rpc": "null" - }, - "selection": { - "$rpc": "null" - }, - "sites": [], - "unavailableReason": { - "$rpc": "null" - } - } - }, - "87bd323da79d": { - "name": "trustedOrcaHooks", - "ordinal": 45, - "value": {} - }, - "8a053731b837": { - "name": "visibleProviders", - "ordinal": 53, - "value": ["github", "linear"] - }, - "8c4056edb811": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "8db7a6a7d531": { - "name": "status.get#1", - "ordinal": 30, - "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"] - } - } - } - }, - "931e8e15095d": { - "name": "showGitHubProjectPicker", - "ordinal": 16, - "value": false - }, - "93acc26335bc": { - "name": "githubKind", - "ordinal": 58, - "value": "issues" - }, - "949cb0f686c5": { - "name": "error", - "ordinal": 44, - "value": "" - }, - "98281d0e8b13": { - "name": "projectRowDetail", - "ordinal": 22, - "value": { - "$rpc": "null" - } - }, - "9b2188f8d6b7": { - "name": "showGitHubPagePicker", - "ordinal": 15, - "value": false - }, - "9d27c74981a1": { - "name": "error", - "ordinal": 33, - "value": "" - }, - "9f545b97e888": { - "name": "showCreateTargetPicker", - "ordinal": 23, - "value": false - }, - "a5addaab38bf": { - "name": "linearFilter", - "ordinal": 59, - "value": "all" - }, - "a96639bcb130": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "aa9af10b3812": { - "name": "preflight.check#1", - "ordinal": 42, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" - }, - "ab4a6032b0e4": { - "name": "jira.status#1", - "ordinal": 39, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" - }, - "ba788c58e435": { - "name": "runtimeTaskSettings", - "ordinal": 44, - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "bbce658fe3f5": { - "name": "showRepoPicker", - "ordinal": 13, - "value": false - }, - "c11fe123ce70": { - "name": "showGitHubProjectFieldsPicker", - "ordinal": 18, - "value": false - }, - "c1630da260c7": { - "name": "showLinearDisplayPicker", - "ordinal": 5, - "value": false - }, - "c37873342ba8": { - "name": "linearStatusPickerItem", - "ordinal": 24, - "value": { - "$rpc": "null" - } - }, - "c6178e6a0f4e": { - "hydrated": false, - "settings": {} - }, - "c87109595a65": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "ui": {} - } - } - } - }, - "ccf853380b13": { - "name": "taskStateHydrated", - "ordinal": 46, - "value": false - }, - "d100b9546c3d": { - "name": "showGitHubKindPicker", - "ordinal": 7, - "value": false - }, - "d1af3771ebfa": { - "name": "status.get#1", - "ordinal": 31, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "d208e8015339": { - "name": "showGitHubPresetPicker", - "ordinal": 8, - "value": false - }, - "d50362207233": { - "name": "tasksSupportState", - "ordinal": 32, - "value": { - "client": "logical-client", - "kind": "supported" - } - }, - "d77e741c1d19": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "dab4bb35a786": { - "name": "error", - "ordinal": 44, - "value": "transport failure" - }, - "dd6fb20daf67": { - "name": "linear.status#1", - "ordinal": 43, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "e033cf17e121": { - "name": "showGitLabViewPicker", - "ordinal": 9, - "value": false - }, - "e61de5a1b27e": { - "name": "defaultGitHubPreset", - "ordinal": 56, - "value": "issues" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec049cf3340d": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "eed40231c905": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "f164de325151": { - "name": "pendingProjectGitHubMerge", - "ordinal": 26, - "value": { - "$rpc": "null" - } - }, - "f857b0004437": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-5", - "ok": false - } - } - }, - "fdb0bbb8aa59": { - "name": "showLinearConnect", - "ordinal": 6, - "value": false - }, - "ffc5c47817a5": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - } - }, - "recording": { - "scenario": "matrix-settings.task-hydration-preflight.check-1", - "checkpoints": [ - { - "id": "settings-task-hydration-fulfilled.prelude:settings-pending", - "observation": { - "sender": [ - "8db7a6a7d531", - "1833d0fa5f1d", - "3a94dcc00915", - "71bedad13169", - "1dfcd3f6163d", - "05ccd79ba4af" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.normal:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.result-absent:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "72061affb9ec", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.result-null:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "ec049cf3340d", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "34490b27ffa5", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "d77e741c1d19", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "eed40231c905", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.outer-refused:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "5a8b2d6e6804", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "56e8667e435a", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.method-not-found:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "f857b0004437", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.transport-rejection:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "06ea4d7a449e", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "dab4bb35a786", - "1f343058c9bd", - "ccf853380b13", - "3d31b2fc3a47" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "a96639bcb130", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "949cb0f686c5", - "1f343058c9bd", - "ccf853380b13", - "3d31b2fc3a47" - ] - } - } - ] - } -} 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 deleted file mode 100644 index a85fc515309..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-settings.get-1.json +++ /dev/null @@ -1,1995 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.task-hydration", - "family": "settings.task-hydration", - "namedDeltas": [], - "values": { - "05ccd79ba4af": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "0ebb7f0660a0": { - "name": "showLinearTeamPicker", - "ordinal": 4, - "value": false - }, - "15cdb7759e6b": { - "name": "ui.get#1", - "ordinal": 41, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" - }, - "1833d0fa5f1d": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "19505460d94b": { - "name": "githubMode", - "ordinal": 55, - "value": "items" - }, - "1a1091da11b2": { - "name": "githubProjectSettings", - "ordinal": 61, - "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } - }, - "1dfcd3f6163d": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1f343058c9bd": { - "name": "tasksSupportState", - "ordinal": 45, - "value": { - "client": "logical-client", - "kind": "unknown" - } - }, - "22b355deb2df": { - "name": "provider", - "ordinal": 54, - "value": "github" - }, - "26ece795530e": { - "name": "showGitHubIssueSourcePicker", - "ordinal": 14, - "value": false - }, - "276a60ed41a5": { - "name": "mergeMethodTaskItem", - "ordinal": 28, - "value": { - "$rpc": "null" - } - }, - "2aad05f979a9": { - "name": "selectedRepoIds", - "ordinal": 52, - "value": [] - }, - "2b39b469a001": { - "name": "pendingGitHubProjectViewSelection", - "ordinal": 19, - "value": { - "$rpc": "null" - } - }, - "2bf05835527f": { - "name": "showLinearFilterPicker", - "ordinal": 11, - "value": false - }, - "2c3706d59dd5": { - "name": "linearTeams", - "ordinal": 49, - "value": [] - }, - "2d9ce55cc13a": { - "name": "query", - "ordinal": 62, - "value": "is:issue is:open" - }, - "301bdbdf1dec": { - "name": "taskStateHydrated", - "ordinal": 1, - "value": false - }, - "3082bf4965fa": { - "name": "selectedLinearWorkspaceId", - "ordinal": 51, - "value": { - "$rpc": "null" - } - }, - "354e99da4ba4": { - "name": "pendingHostedStateChange", - "ordinal": 27, - "value": { - "$rpc": "null" - } - }, - "394fb5675266": { - "name": "mergeMethodProjectRow", - "ordinal": 29, - "value": { - "$rpc": "null" - } - }, - "3a03e162efd9": { - "name": "selectedLinearTeamIds", - "ordinal": 50, - "value": [] - }, - "3a94dcc00915": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3c66c971fe96": { - "name": "showGitHubProjectViewPicker", - "ordinal": 17, - "value": false - }, - "3d31b2fc3a47": { - "name": "jiraConnection", - "ordinal": 47, - "value": { - "connected": false, - "credentialError": { - "$rpc": "null" - }, - "selection": { - "$rpc": "null" - }, - "sites": [], - "unavailableReason": { - "$rpc": "null" - } - } - }, - "3ff235330cbe": { - "name": "jiraFilter", - "ordinal": 60, - "value": "assigned" - }, - "40f00017ad77": { - "name": "linearWorkspaces", - "ordinal": 48, - "value": [] - }, - "430c28cba43c": { - "name": "taskStateHydrated", - "ordinal": 64, - "value": true - }, - "45cfb5ee97ea": { - "name": "pendingHostedMerge", - "ordinal": 25, - "value": { - "$rpc": "null" - } - }, - "45e466d86a07": { - "name": "showLinearWorkspacePicker", - "ordinal": 3, - "value": false - }, - "4cbaceb42c08": { - "name": "detailPayload", - "ordinal": 21, - "value": { - "$rpc": "null" - } - }, - "54ae4a419d49": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "5729b7cdb4ba": { - "name": "showFilterSheet", - "ordinal": 12, - "value": false - }, - "57568fbaf4f7": { - "name": "linearConnected", - "ordinal": 47, - "value": false - }, - "5886b76643d9": { - "name": "appliedQuery", - "ordinal": 63, - "value": "is:issue is:open" - }, - "58c52d8b7c76": { - "hydrated": true, - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "5c7f665de6c4": { - "name": "githubPreset", - "ordinal": 57, - "value": "issues" - }, - "600862ad27b3": { - "name": "githubProjectHiddenFieldIdsByView", - "ordinal": 46, - "value": {} - }, - "688fe01c6196": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "714d4b3547ff": { - "name": "projectRepoNotInOrca", - "ordinal": 20, - "value": { - "$rpc": "null" - } - }, - "71bedad13169": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "756c11d6e5bc": { - "name": "settings.get#1", - "ordinal": 40, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "77de68f0cb72": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "7b0ad7b958dd": { - "name": "tasksSupportState", - "ordinal": 2, - "value": { - "client": "logical-client", - "kind": "unknown" - } - }, - "800b1afcceea": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "glab": { - "installed": false - } - } - } - } - }, - "8015a69c7774": { - "name": "showGitLabFilterPicker", - "ordinal": 10, - "value": false - }, - "82daca007272": { - "name": "jiraConnection", - "ordinal": 65, - "value": { - "connected": false, - "credentialError": { - "$rpc": "null" - }, - "selection": { - "$rpc": "null" - }, - "sites": [], - "unavailableReason": { - "$rpc": "null" - } - } - }, - "82fb15a0f7e3": { - "name": "runtimeTaskSettings", - "ordinal": 44, - "value": {} - }, - "87bd323da79d": { - "name": "trustedOrcaHooks", - "ordinal": 45, - "value": {} - }, - "8a053731b837": { - "name": "visibleProviders", - "ordinal": 53, - "value": ["github", "linear"] - }, - "8c4056edb811": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "8d323c1bf579": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "8db7a6a7d531": { - "name": "status.get#1", - "ordinal": 30, - "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"] - } - } - } - }, - "931e8e15095d": { - "name": "showGitHubProjectPicker", - "ordinal": 16, - "value": false - }, - "93acc26335bc": { - "name": "githubKind", - "ordinal": 58, - "value": "issues" - }, - "949cb0f686c5": { - "name": "error", - "ordinal": 44, - "value": "" - }, - "95d9f82529c5": { - "name": "error", - "ordinal": 44, - "value": "Cannot read properties of null (reading 'settings')" - }, - "963a91c532c8": { - "hydrated": true, - "settings": {} - }, - "98281d0e8b13": { - "name": "projectRowDetail", - "ordinal": 22, - "value": { - "$rpc": "null" - } - }, - "9b2188f8d6b7": { - "name": "showGitHubPagePicker", - "ordinal": 15, - "value": false - }, - "9d27c74981a1": { - "name": "error", - "ordinal": 33, - "value": "" - }, - "9f545b97e888": { - "name": "showCreateTargetPicker", - "ordinal": 23, - "value": false - }, - "a14a8b5dd4f1": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - }, - "a5addaab38bf": { - "name": "linearFilter", - "ordinal": 59, - "value": "all" - }, - "aa9af10b3812": { - "name": "preflight.check#1", - "ordinal": 42, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" - }, - "ab4a6032b0e4": { - "name": "jira.status#1", - "ordinal": 39, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" - }, - "abbea7889c88": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "b7cc1194ed29": { - "name": "visibleProviders", - "ordinal": 53, - "value": ["github", "jira", "linear"] - }, - "ba788c58e435": { - "name": "runtimeTaskSettings", - "ordinal": 44, - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "bbce658fe3f5": { - "name": "showRepoPicker", - "ordinal": 13, - "value": false - }, - "c11fe123ce70": { - "name": "showGitHubProjectFieldsPicker", - "ordinal": 18, - "value": false - }, - "c1630da260c7": { - "name": "showLinearDisplayPicker", - "ordinal": 5, - "value": false - }, - "c37873342ba8": { - "name": "linearStatusPickerItem", - "ordinal": 24, - "value": { - "$rpc": "null" - } - }, - "c6178e6a0f4e": { - "hydrated": false, - "settings": {} - }, - "c87109595a65": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "ui": {} - } - } - } - }, - "ccf853380b13": { - "name": "taskStateHydrated", - "ordinal": 46, - "value": false - }, - "d0ec943d3c47": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "d100b9546c3d": { - "name": "showGitHubKindPicker", - "ordinal": 7, - "value": false - }, - "d1af3771ebfa": { - "name": "status.get#1", - "ordinal": 31, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "d208e8015339": { - "name": "showGitHubPresetPicker", - "ordinal": 8, - "value": false - }, - "d50362207233": { - "name": "tasksSupportState", - "ordinal": 32, - "value": { - "client": "logical-client", - "kind": "supported" - } - }, - "dab4bb35a786": { - "name": "error", - "ordinal": 44, - "value": "transport failure" - }, - "db516484e9c5": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "dd6fb20daf67": { - "name": "linear.status#1", - "ordinal": 43, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "e033cf17e121": { - "name": "showGitLabViewPicker", - "ordinal": 9, - "value": false - }, - "e054e2c289ab": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "e61de5a1b27e": { - "name": "defaultGitHubPreset", - "ordinal": 56, - "value": "issues" - }, - "e8ee1aff93c4": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f164de325151": { - "name": "pendingProjectGitHubMerge", - "ordinal": 26, - "value": { - "$rpc": "null" - } - }, - "f3445f38d0c1": { - "name": "error", - "ordinal": 44, - "value": "Cannot read properties of undefined (reading 'settings')" - }, - "fdb0bbb8aa59": { - "name": "showLinearConnect", - "ordinal": 6, - "value": false - }, - "fe52ae0f053a": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "ffc5c47817a5": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - } - }, - "recording": { - "scenario": "matrix-settings.task-hydration-settings.get-1", - "checkpoints": [ - { - "id": "settings-task-hydration-fulfilled.prelude:settings-pending", - "observation": { - "sender": [ - "8db7a6a7d531", - "1833d0fa5f1d", - "3a94dcc00915", - "71bedad13169", - "1dfcd3f6163d", - "05ccd79ba4af" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.normal:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.result-absent:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "e054e2c289ab", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "f3445f38d0c1", - "1f343058c9bd", - "ccf853380b13", - "3d31b2fc3a47" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.result-null:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "db516484e9c5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "95d9f82529c5", - "1f343058c9bd", - "ccf853380b13", - "3d31b2fc3a47" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "fe52ae0f053a", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "963a91c532c8", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "82fb15a0f7e3", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "b7cc1194ed29", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "abbea7889c88", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "963a91c532c8", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "82fb15a0f7e3", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "b7cc1194ed29", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "e8ee1aff93c4", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "963a91c532c8", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "82fb15a0f7e3", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "b7cc1194ed29", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.outer-refused:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "54ae4a419d49", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "963a91c532c8", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "82fb15a0f7e3", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "b7cc1194ed29", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "d0ec943d3c47", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "963a91c532c8", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "82fb15a0f7e3", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "b7cc1194ed29", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.method-not-found:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "a14a8b5dd4f1", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "963a91c532c8", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "82fb15a0f7e3", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "b7cc1194ed29", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.transport-rejection:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "77de68f0cb72", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "dab4bb35a786", - "1f343058c9bd", - "ccf853380b13", - "3d31b2fc3a47" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "8d323c1bf579", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "949cb0f686c5", - "1f343058c9bd", - "ccf853380b13", - "3d31b2fc3a47" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 89e9748a232..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-status.get-1.json +++ /dev/null @@ -1,2552 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.task-hydration", - "family": "settings.task-hydration", - "namedDeltas": [], - "values": { - "019916c72760": { - "name": "showCreateTask", - "ordinal": 58, - "value": false - }, - "05ccd79ba4af": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "07f2c8a0aa78": { - "name": "showGitLabViewPicker", - "ordinal": 42, - "value": false - }, - "0c8f84d21bee": { - "name": "pendingHostedStateChange", - "ordinal": 63, - "value": { - "$rpc": "null" - } - }, - "0ebb7f0660a0": { - "name": "showLinearTeamPicker", - "ordinal": 4, - "value": false - }, - "0ee0c62e9801": { - "name": "showFilterSheet", - "ordinal": 45, - "value": false - }, - "11bc9bddb678": { - "name": "pendingProjectGitHubMerge", - "ordinal": 62, - "value": { - "$rpc": "null" - } - }, - "14b0e84c2f1e": { - "name": "status.get#1", - "ordinal": 30, - "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 - } - } - }, - "15cdb7759e6b": { - "name": "ui.get#1", - "ordinal": 41, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" - }, - "17422d744d77": { - "name": "pendingHostedMerge", - "ordinal": 61, - "value": { - "$rpc": "null" - } - }, - "17acb907cd07": { - "name": "showLinearFilterPicker", - "ordinal": 44, - "value": false - }, - "1833d0fa5f1d": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "19505460d94b": { - "name": "githubMode", - "ordinal": 55, - "value": "items" - }, - "1a1091da11b2": { - "name": "githubProjectSettings", - "ordinal": 61, - "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } - }, - "1db3bd92fc84": { - "name": "status.get#1", - "ordinal": 30, - "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 - } - } - }, - "1dfcd3f6163d": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "22b355deb2df": { - "name": "provider", - "ordinal": 54, - "value": "github" - }, - "26ece795530e": { - "name": "showGitHubIssueSourcePicker", - "ordinal": 14, - "value": false - }, - "276a60ed41a5": { - "name": "mergeMethodTaskItem", - "ordinal": 28, - "value": { - "$rpc": "null" - } - }, - "2aad05f979a9": { - "name": "selectedRepoIds", - "ordinal": 52, - "value": [] - }, - "2b39b469a001": { - "name": "pendingGitHubProjectViewSelection", - "ordinal": 19, - "value": { - "$rpc": "null" - } - }, - "2bf05835527f": { - "name": "showLinearFilterPicker", - "ordinal": 11, - "value": false - }, - "2c3706d59dd5": { - "name": "linearTeams", - "ordinal": 49, - "value": [] - }, - "2d9ce55cc13a": { - "name": "query", - "ordinal": 62, - "value": "is:issue is:open" - }, - "301bdbdf1dec": { - "name": "taskStateHydrated", - "ordinal": 1, - "value": false - }, - "3082bf4965fa": { - "name": "selectedLinearWorkspaceId", - "ordinal": 51, - "value": { - "$rpc": "null" - } - }, - "354e99da4ba4": { - "name": "pendingHostedStateChange", - "ordinal": 27, - "value": { - "$rpc": "null" - } - }, - "38e01a19444b": { - "name": "tasksSupportState", - "ordinal": 33, - "value": { - "client": "logical-client", - "kind": "unknown" - } - }, - "394fb5675266": { - "name": "mergeMethodProjectRow", - "ordinal": 29, - "value": { - "$rpc": "null" - } - }, - "3a03e162efd9": { - "name": "selectedLinearTeamIds", - "ordinal": 50, - "value": [] - }, - "3a2b7fef7f8f": { - "name": "error", - "ordinal": 32, - "value": "Unknown method" - }, - "3a94dcc00915": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3c66c971fe96": { - "name": "showGitHubProjectViewPicker", - "ordinal": 17, - "value": false - }, - "3c67f2b527c1": { - "name": "taskStateHydrated", - "ordinal": 34, - "value": false - }, - "3ff235330cbe": { - "name": "jiraFilter", - "ordinal": 60, - "value": "assigned" - }, - "40f00017ad77": { - "name": "linearWorkspaces", - "ordinal": 48, - "value": [] - }, - "430c28cba43c": { - "name": "taskStateHydrated", - "ordinal": 64, - "value": true - }, - "45cfb5ee97ea": { - "name": "pendingHostedMerge", - "ordinal": 25, - "value": { - "$rpc": "null" - } - }, - "45e466d86a07": { - "name": "showLinearWorkspacePicker", - "ordinal": 3, - "value": false - }, - "4a001e8dbafd": { - "name": "projectRowItem", - "ordinal": 54, - "value": { - "$rpc": "null" - } - }, - "4cbaceb42c08": { - "name": "detailPayload", - "ordinal": 21, - "value": { - "$rpc": "null" - } - }, - "5135ce5c9194": { - "name": "status.get#1", - "ordinal": 30, - "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 - } - } - } - }, - "52c4620d5306": { - "name": "showGitLabFilterPicker", - "ordinal": 43, - "value": false - }, - "55c7a335f2fa": { - "name": "pendingGitHubProjectViewSelection", - "ordinal": 52, - "value": { - "$rpc": "null" - } - }, - "562914f59aed": { - "name": "error", - "ordinal": 32, - "value": "outer refused" - }, - "5729b7cdb4ba": { - "name": "showFilterSheet", - "ordinal": 12, - "value": false - }, - "57568fbaf4f7": { - "name": "linearConnected", - "ordinal": 47, - "value": false - }, - "5886b76643d9": { - "name": "appliedQuery", - "ordinal": 63, - "value": "is:issue is:open" - }, - "58c52d8b7c76": { - "hydrated": true, - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "5c7f665de6c4": { - "name": "githubPreset", - "ordinal": 57, - "value": "issues" - }, - "600862ad27b3": { - "name": "githubProjectHiddenFieldIdsByView", - "ordinal": 46, - "value": {} - }, - "651ce004ea5e": { - "name": "error", - "ordinal": 32, - "value": "The host sent a reply this app could not read (status.get)" - }, - "688fe01c6196": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "714d4b3547ff": { - "name": "projectRepoNotInOrca", - "ordinal": 20, - "value": { - "$rpc": "null" - } - }, - "71bedad13169": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "7400645bedfc": { - "name": "status.get#1", - "ordinal": 30, - "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 - } - } - }, - "7553444cd5aa": { - "name": "showRepoPicker", - "ordinal": 46, - "value": false - }, - "756c11d6e5bc": { - "name": "settings.get#1", - "ordinal": 40, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "773d862add93": { - "name": "showCreateTargetPicker", - "ordinal": 59, - "value": false - }, - "7b02a8033ed8": { - "name": "error", - "ordinal": 32, - "value": "" - }, - "7b0ad7b958dd": { - "name": "tasksSupportState", - "ordinal": 2, - "value": { - "client": "logical-client", - "kind": "unknown" - } - }, - "7d012302d59a": { - "name": "showGitHubProjectViewPicker", - "ordinal": 50, - "value": false - }, - "800b1afcceea": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "glab": { - "installed": false - } - } - } - } - }, - "8015a69c7774": { - "name": "showGitLabFilterPicker", - "ordinal": 10, - "value": false - }, - "82daca007272": { - "name": "jiraConnection", - "ordinal": 65, - "value": { - "connected": false, - "credentialError": { - "$rpc": "null" - }, - "selection": { - "$rpc": "null" - }, - "sites": [], - "unavailableReason": { - "$rpc": "null" - } - } - }, - "849ac5dba58c": { - "name": "showGitHubKindPicker", - "ordinal": 40, - "value": false - }, - "861977233242": { - "name": "status.get#1", - "ordinal": 30, - "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 - } - } - }, - "87bd323da79d": { - "name": "trustedOrcaHooks", - "ordinal": 45, - "value": {} - }, - "8a053731b837": { - "name": "visibleProviders", - "ordinal": 53, - "value": ["github", "linear"] - }, - "8bd8507b3be1": { - "name": "mergeMethodProjectRow", - "ordinal": 65, - "value": { - "$rpc": "null" - } - }, - "8c4056edb811": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "8db7a6a7d531": { - "name": "status.get#1", - "ordinal": 30, - "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"] - } - } - } - }, - "931e8e15095d": { - "name": "showGitHubProjectPicker", - "ordinal": 16, - "value": false - }, - "93acc26335bc": { - "name": "githubKind", - "ordinal": 58, - "value": "issues" - }, - "9417ff2da3b4": { - "name": "items", - "ordinal": 33, - "value": [] - }, - "98281d0e8b13": { - "name": "projectRowDetail", - "ordinal": 22, - "value": { - "$rpc": "null" - } - }, - "9b2188f8d6b7": { - "name": "showGitHubPagePicker", - "ordinal": 15, - "value": false - }, - "9c5662cacf7f": { - "name": "linearStatusPickerItem", - "ordinal": 60, - "value": { - "$rpc": "null" - } - }, - "9d27c74981a1": { - "name": "error", - "ordinal": 33, - "value": "" - }, - "9f545b97e888": { - "name": "showCreateTargetPicker", - "ordinal": 23, - "value": false - }, - "a09834b28b05": { - "name": "showGitHubProjectPicker", - "ordinal": 49, - "value": false - }, - "a2818b14ce3d": { - "name": "reset-workspace", - "ordinal": 66, - "value": { - "$rpc": "null" - } - }, - "a2ad7ea90604": { - "name": "tasksSupportState", - "ordinal": 32, - "value": { - "client": "logical-client", - "kind": "unsupported" - } - }, - "a5a4291c65fb": { - "name": "status.get#1", - "ordinal": 30, - "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 - } - } - }, - "a5addaab38bf": { - "name": "linearFilter", - "ordinal": 59, - "value": "all" - }, - "aa9af10b3812": { - "name": "preflight.check#1", - "ordinal": 42, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" - }, - "aaa49d476db6": { - "name": "showGitHubPresetPicker", - "ordinal": 41, - "value": false - }, - "ab4a6032b0e4": { - "name": "jira.status#1", - "ordinal": 39, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" - }, - "afe29ca010b4": { - "name": "status.get#1", - "ordinal": 30, - "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 - } - } - } - }, - "b3e4b848f6e8": { - "name": "showGitHubIssueSourcePicker", - "ordinal": 47, - "value": false - }, - "b54539d14ca4": { - "name": "reset-items", - "ordinal": 34, - "value": { - "$rpc": "null" - } - }, - "ba788c58e435": { - "name": "runtimeTaskSettings", - "ordinal": 44, - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "bbce658fe3f5": { - "name": "showRepoPicker", - "ordinal": 13, - "value": false - }, - "c0bdfd3f9798": { - "name": "error", - "ordinal": 32, - "value": "transport failure" - }, - "c11fe123ce70": { - "name": "showGitHubProjectFieldsPicker", - "ordinal": 18, - "value": false - }, - "c1630da260c7": { - "name": "showLinearDisplayPicker", - "ordinal": 5, - "value": false - }, - "c21de30ae7c1": { - "name": "showGitHubProjectFieldsPicker", - "ordinal": 51, - "value": false - }, - "c2a92a0c1266": { - "name": "actionItem", - "ordinal": 53, - "value": { - "$rpc": "null" - } - }, - "c37873342ba8": { - "name": "linearStatusPickerItem", - "ordinal": 24, - "value": { - "$rpc": "null" - } - }, - "c6178e6a0f4e": { - "hydrated": false, - "settings": {} - }, - "c87109595a65": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "ui": {} - } - } - } - }, - "c8edab3f5393": { - "name": "status.get#1", - "ordinal": 30, - "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 - } - } - }, - "d09a7669d164": { - "name": "detailPayload", - "ordinal": 56, - "value": { - "$rpc": "null" - } - }, - "d0cc04223363": { - "name": "status.get#1", - "ordinal": 30, - "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" - } - } - } - }, - "d100b9546c3d": { - "name": "showGitHubKindPicker", - "ordinal": 7, - "value": false - }, - "d1af3771ebfa": { - "name": "status.get#1", - "ordinal": 31, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "d208e8015339": { - "name": "showGitHubPresetPicker", - "ordinal": 8, - "value": false - }, - "d4d1e5a0b52e": { - "name": "showLinearTeamPicker", - "ordinal": 37, - "value": false - }, - "d50362207233": { - "name": "tasksSupportState", - "ordinal": 32, - "value": { - "client": "logical-client", - "kind": "supported" - } - }, - "d6a38665c5c0": { - "name": "showLinearConnect", - "ordinal": 39, - "value": false - }, - "d7ce376da76e": { - "name": "showLinearWorkspacePicker", - "ordinal": 36, - "value": false - }, - "db12cd49d634": { - "name": "status.get#1", - "ordinal": 30, - "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" - } - } - } - }, - "dcfd1ce64891": { - "name": "projectRepoNotInOrca", - "ordinal": 55, - "value": { - "$rpc": "null" - } - }, - "dd6fb20daf67": { - "name": "linear.status#1", - "ordinal": 43, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "de2b13b779f3": { - "name": "mergeMethodTaskItem", - "ordinal": 64, - "value": { - "$rpc": "null" - } - }, - "e033cf17e121": { - "name": "showGitLabViewPicker", - "ordinal": 9, - "value": false - }, - "e2d5948abcb1": { - "name": "showLinearDisplayPicker", - "ordinal": 38, - "value": false - }, - "e45701cfe1b0": { - "name": "showGitHubPagePicker", - "ordinal": 48, - "value": false - }, - "e61de5a1b27e": { - "name": "defaultGitHubPreset", - "ordinal": 56, - "value": "issues" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ece3f074f9ef": { - "name": "projectRowDetail", - "ordinal": 57, - "value": { - "$rpc": "null" - } - }, - "f164de325151": { - "name": "pendingProjectGitHubMerge", - "ordinal": 26, - "value": { - "$rpc": "null" - } - }, - "f89815db21da": { - "name": "taskStateHydrated", - "ordinal": 67, - "value": false - }, - "fcb2071aca04": { - "name": "githubProjectTable", - "ordinal": 35, - "value": { - "$rpc": "null" - } - }, - "fdb0bbb8aa59": { - "name": "showLinearConnect", - "ordinal": 6, - "value": false - }, - "ffc5c47817a5": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - } - }, - "recording": { - "scenario": "matrix-settings.task-hydration-status.get-1", - "checkpoints": [ - { - "id": "settings-task-hydration-fulfilled.normal:settings-pending", - "observation": { - "sender": [ - "8db7a6a7d531", - "1833d0fa5f1d", - "3a94dcc00915", - "71bedad13169", - "1dfcd3f6163d", - "05ccd79ba4af" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.normal:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.result-absent:settings-pending", - "observation": { - "sender": ["1db3bd92fc84"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "651ce004ea5e", - "38e01a19444b", - "3c67f2b527c1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.result-absent:settled", - "observation": { - "sender": ["1db3bd92fc84"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "651ce004ea5e", - "38e01a19444b", - "3c67f2b527c1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.result-null:settings-pending", - "observation": { - "sender": ["db12cd49d634"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "651ce004ea5e", - "38e01a19444b", - "3c67f2b527c1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.result-null:settled", - "observation": { - "sender": ["db12cd49d634"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "651ce004ea5e", - "38e01a19444b", - "3c67f2b527c1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-ok-missing:settings-pending", - "observation": { - "sender": ["d0cc04223363"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "a2ad7ea90604", - "9417ff2da3b4", - "b54539d14ca4", - "fcb2071aca04", - "d7ce376da76e", - "d4d1e5a0b52e", - "e2d5948abcb1", - "d6a38665c5c0", - "849ac5dba58c", - "aaa49d476db6", - "07f2c8a0aa78", - "52c4620d5306", - "17acb907cd07", - "0ee0c62e9801", - "7553444cd5aa", - "b3e4b848f6e8", - "e45701cfe1b0", - "a09834b28b05", - "7d012302d59a", - "c21de30ae7c1", - "55c7a335f2fa", - "c2a92a0c1266", - "4a001e8dbafd", - "dcfd1ce64891", - "d09a7669d164", - "ece3f074f9ef", - "019916c72760", - "773d862add93", - "9c5662cacf7f", - "17422d744d77", - "11bc9bddb678", - "0c8f84d21bee", - "de2b13b779f3", - "8bd8507b3be1", - "a2818b14ce3d", - "f89815db21da" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": ["d0cc04223363"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "a2ad7ea90604", - "9417ff2da3b4", - "b54539d14ca4", - "fcb2071aca04", - "d7ce376da76e", - "d4d1e5a0b52e", - "e2d5948abcb1", - "d6a38665c5c0", - "849ac5dba58c", - "aaa49d476db6", - "07f2c8a0aa78", - "52c4620d5306", - "17acb907cd07", - "0ee0c62e9801", - "7553444cd5aa", - "b3e4b848f6e8", - "e45701cfe1b0", - "a09834b28b05", - "7d012302d59a", - "c21de30ae7c1", - "55c7a335f2fa", - "c2a92a0c1266", - "4a001e8dbafd", - "dcfd1ce64891", - "d09a7669d164", - "ece3f074f9ef", - "019916c72760", - "773d862add93", - "9c5662cacf7f", - "17422d744d77", - "11bc9bddb678", - "0c8f84d21bee", - "de2b13b779f3", - "8bd8507b3be1", - "a2818b14ce3d", - "f89815db21da" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-false-string-error:settings-pending", - "observation": { - "sender": ["5135ce5c9194"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "a2ad7ea90604", - "9417ff2da3b4", - "b54539d14ca4", - "fcb2071aca04", - "d7ce376da76e", - "d4d1e5a0b52e", - "e2d5948abcb1", - "d6a38665c5c0", - "849ac5dba58c", - "aaa49d476db6", - "07f2c8a0aa78", - "52c4620d5306", - "17acb907cd07", - "0ee0c62e9801", - "7553444cd5aa", - "b3e4b848f6e8", - "e45701cfe1b0", - "a09834b28b05", - "7d012302d59a", - "c21de30ae7c1", - "55c7a335f2fa", - "c2a92a0c1266", - "4a001e8dbafd", - "dcfd1ce64891", - "d09a7669d164", - "ece3f074f9ef", - "019916c72760", - "773d862add93", - "9c5662cacf7f", - "17422d744d77", - "11bc9bddb678", - "0c8f84d21bee", - "de2b13b779f3", - "8bd8507b3be1", - "a2818b14ce3d", - "f89815db21da" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": ["5135ce5c9194"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "a2ad7ea90604", - "9417ff2da3b4", - "b54539d14ca4", - "fcb2071aca04", - "d7ce376da76e", - "d4d1e5a0b52e", - "e2d5948abcb1", - "d6a38665c5c0", - "849ac5dba58c", - "aaa49d476db6", - "07f2c8a0aa78", - "52c4620d5306", - "17acb907cd07", - "0ee0c62e9801", - "7553444cd5aa", - "b3e4b848f6e8", - "e45701cfe1b0", - "a09834b28b05", - "7d012302d59a", - "c21de30ae7c1", - "55c7a335f2fa", - "c2a92a0c1266", - "4a001e8dbafd", - "dcfd1ce64891", - "d09a7669d164", - "ece3f074f9ef", - "019916c72760", - "773d862add93", - "9c5662cacf7f", - "17422d744d77", - "11bc9bddb678", - "0c8f84d21bee", - "de2b13b779f3", - "8bd8507b3be1", - "a2818b14ce3d", - "f89815db21da" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-false-object-error:settings-pending", - "observation": { - "sender": ["afe29ca010b4"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "a2ad7ea90604", - "9417ff2da3b4", - "b54539d14ca4", - "fcb2071aca04", - "d7ce376da76e", - "d4d1e5a0b52e", - "e2d5948abcb1", - "d6a38665c5c0", - "849ac5dba58c", - "aaa49d476db6", - "07f2c8a0aa78", - "52c4620d5306", - "17acb907cd07", - "0ee0c62e9801", - "7553444cd5aa", - "b3e4b848f6e8", - "e45701cfe1b0", - "a09834b28b05", - "7d012302d59a", - "c21de30ae7c1", - "55c7a335f2fa", - "c2a92a0c1266", - "4a001e8dbafd", - "dcfd1ce64891", - "d09a7669d164", - "ece3f074f9ef", - "019916c72760", - "773d862add93", - "9c5662cacf7f", - "17422d744d77", - "11bc9bddb678", - "0c8f84d21bee", - "de2b13b779f3", - "8bd8507b3be1", - "a2818b14ce3d", - "f89815db21da" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": ["afe29ca010b4"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "a2ad7ea90604", - "9417ff2da3b4", - "b54539d14ca4", - "fcb2071aca04", - "d7ce376da76e", - "d4d1e5a0b52e", - "e2d5948abcb1", - "d6a38665c5c0", - "849ac5dba58c", - "aaa49d476db6", - "07f2c8a0aa78", - "52c4620d5306", - "17acb907cd07", - "0ee0c62e9801", - "7553444cd5aa", - "b3e4b848f6e8", - "e45701cfe1b0", - "a09834b28b05", - "7d012302d59a", - "c21de30ae7c1", - "55c7a335f2fa", - "c2a92a0c1266", - "4a001e8dbafd", - "dcfd1ce64891", - "d09a7669d164", - "ece3f074f9ef", - "019916c72760", - "773d862add93", - "9c5662cacf7f", - "17422d744d77", - "11bc9bddb678", - "0c8f84d21bee", - "de2b13b779f3", - "8bd8507b3be1", - "a2818b14ce3d", - "f89815db21da" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.outer-refused:settings-pending", - "observation": { - "sender": ["14b0e84c2f1e"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "562914f59aed", - "38e01a19444b", - "3c67f2b527c1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.outer-refused:settled", - "observation": { - "sender": ["14b0e84c2f1e"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "562914f59aed", - "38e01a19444b", - "3c67f2b527c1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.outer-refused-no-message:settings-pending", - "observation": { - "sender": ["7400645bedfc"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "7b02a8033ed8", - "38e01a19444b", - "3c67f2b527c1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": ["7400645bedfc"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "7b02a8033ed8", - "38e01a19444b", - "3c67f2b527c1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.method-not-found:settings-pending", - "observation": { - "sender": ["a5a4291c65fb"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "3a2b7fef7f8f", - "38e01a19444b", - "3c67f2b527c1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.method-not-found:settled", - "observation": { - "sender": ["a5a4291c65fb"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "3a2b7fef7f8f", - "38e01a19444b", - "3c67f2b527c1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.transport-rejection:settings-pending", - "observation": { - "sender": ["861977233242"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "c0bdfd3f9798", - "38e01a19444b", - "3c67f2b527c1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.transport-rejection:settled", - "observation": { - "sender": ["861977233242"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "c0bdfd3f9798", - "38e01a19444b", - "3c67f2b527c1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.transport-rejection-no-message:settings-pending", - "observation": { - "sender": ["c8edab3f5393"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "7b02a8033ed8", - "38e01a19444b", - "3c67f2b527c1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": ["c8edab3f5393"], - "payloads": ["d1af3771ebfa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "7b02a8033ed8", - "38e01a19444b", - "3c67f2b527c1" - ] - } - } - ] - } -} 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 deleted file mode 100644 index e955bc83bc9..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-hydration-ui.get-1.json +++ /dev/null @@ -1,2007 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.task-hydration", - "family": "settings.task-hydration", - "namedDeltas": [], - "values": { - "05ccd79ba4af": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "0ebb7f0660a0": { - "name": "showLinearTeamPicker", - "ordinal": 4, - "value": false - }, - "144f2a4fe696": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "14fcedf88fe0": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "15cdb7759e6b": { - "name": "ui.get#1", - "ordinal": 41, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" - }, - "1833d0fa5f1d": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "19505460d94b": { - "name": "githubMode", - "ordinal": 55, - "value": "items" - }, - "1a1091da11b2": { - "name": "githubProjectSettings", - "ordinal": 61, - "value": { - "activeProject": { - "$rpc": "null" - }, - "lastViewByProject": {}, - "pinned": [], - "recent": [] - } - }, - "1dfcd3f6163d": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "1f343058c9bd": { - "name": "tasksSupportState", - "ordinal": 45, - "value": { - "client": "logical-client", - "kind": "unknown" - } - }, - "22b355deb2df": { - "name": "provider", - "ordinal": 54, - "value": "github" - }, - "26ece795530e": { - "name": "showGitHubIssueSourcePicker", - "ordinal": 14, - "value": false - }, - "276a60ed41a5": { - "name": "mergeMethodTaskItem", - "ordinal": 28, - "value": { - "$rpc": "null" - } - }, - "2aad05f979a9": { - "name": "selectedRepoIds", - "ordinal": 52, - "value": [] - }, - "2b39b469a001": { - "name": "pendingGitHubProjectViewSelection", - "ordinal": 19, - "value": { - "$rpc": "null" - } - }, - "2bf05835527f": { - "name": "showLinearFilterPicker", - "ordinal": 11, - "value": false - }, - "2c3706d59dd5": { - "name": "linearTeams", - "ordinal": 49, - "value": [] - }, - "2d9ce55cc13a": { - "name": "query", - "ordinal": 62, - "value": "is:issue is:open" - }, - "2e79c476869e": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "301bdbdf1dec": { - "name": "taskStateHydrated", - "ordinal": 1, - "value": false - }, - "3082bf4965fa": { - "name": "selectedLinearWorkspaceId", - "ordinal": 51, - "value": { - "$rpc": "null" - } - }, - "354e99da4ba4": { - "name": "pendingHostedStateChange", - "ordinal": 27, - "value": { - "$rpc": "null" - } - }, - "394fb5675266": { - "name": "mergeMethodProjectRow", - "ordinal": 29, - "value": { - "$rpc": "null" - } - }, - "3a03e162efd9": { - "name": "selectedLinearTeamIds", - "ordinal": 50, - "value": [] - }, - "3a94dcc00915": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3c66c971fe96": { - "name": "showGitHubProjectViewPicker", - "ordinal": 17, - "value": false - }, - "3d31b2fc3a47": { - "name": "jiraConnection", - "ordinal": 47, - "value": { - "connected": false, - "credentialError": { - "$rpc": "null" - }, - "selection": { - "$rpc": "null" - }, - "sites": [], - "unavailableReason": { - "$rpc": "null" - } - } - }, - "3ff235330cbe": { - "name": "jiraFilter", - "ordinal": 60, - "value": "assigned" - }, - "40f00017ad77": { - "name": "linearWorkspaces", - "ordinal": 48, - "value": [] - }, - "430c28cba43c": { - "name": "taskStateHydrated", - "ordinal": 64, - "value": true - }, - "45cfb5ee97ea": { - "name": "pendingHostedMerge", - "ordinal": 25, - "value": { - "$rpc": "null" - } - }, - "45e466d86a07": { - "name": "showLinearWorkspacePicker", - "ordinal": 3, - "value": false - }, - "4cbaceb42c08": { - "name": "detailPayload", - "ordinal": 21, - "value": { - "$rpc": "null" - } - }, - "5729b7cdb4ba": { - "name": "showFilterSheet", - "ordinal": 12, - "value": false - }, - "57568fbaf4f7": { - "name": "linearConnected", - "ordinal": 47, - "value": false - }, - "5886b76643d9": { - "name": "appliedQuery", - "ordinal": 63, - "value": "is:issue is:open" - }, - "58c52d8b7c76": { - "hydrated": true, - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "5c7f665de6c4": { - "name": "githubPreset", - "ordinal": 57, - "value": "issues" - }, - "600862ad27b3": { - "name": "githubProjectHiddenFieldIdsByView", - "ordinal": 46, - "value": {} - }, - "688fe01c6196": { - "name": "jira.status#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "714d4b3547ff": { - "name": "projectRepoNotInOrca", - "ordinal": 20, - "value": { - "$rpc": "null" - } - }, - "71bedad13169": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "73e4c9a46498": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "73fba30eb8f8": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "754dc46ca721": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "756c11d6e5bc": { - "name": "settings.get#1", - "ordinal": 40, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "7b0ad7b958dd": { - "name": "tasksSupportState", - "ordinal": 2, - "value": { - "client": "logical-client", - "kind": "unknown" - } - }, - "800b1afcceea": { - "name": "preflight.check#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "glab": { - "installed": false - } - } - } - } - }, - "8015a69c7774": { - "name": "showGitLabFilterPicker", - "ordinal": 10, - "value": false - }, - "82daca007272": { - "name": "jiraConnection", - "ordinal": 65, - "value": { - "connected": false, - "credentialError": { - "$rpc": "null" - }, - "selection": { - "$rpc": "null" - }, - "sites": [], - "unavailableReason": { - "$rpc": "null" - } - } - }, - "87bd323da79d": { - "name": "trustedOrcaHooks", - "ordinal": 45, - "value": {} - }, - "8a053731b837": { - "name": "visibleProviders", - "ordinal": 53, - "value": ["github", "linear"] - }, - "8c4056edb811": { - "name": "linear.status#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "8db7a6a7d531": { - "name": "status.get#1", - "ordinal": 30, - "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"] - } - } - } - }, - "8f9718a4f319": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "931e8e15095d": { - "name": "showGitHubProjectPicker", - "ordinal": 16, - "value": false - }, - "93acc26335bc": { - "name": "githubKind", - "ordinal": 58, - "value": "issues" - }, - "949cb0f686c5": { - "name": "error", - "ordinal": 44, - "value": "" - }, - "98281d0e8b13": { - "name": "projectRowDetail", - "ordinal": 22, - "value": { - "$rpc": "null" - } - }, - "9b2188f8d6b7": { - "name": "showGitHubPagePicker", - "ordinal": 15, - "value": false - }, - "9d27c74981a1": { - "name": "error", - "ordinal": 33, - "value": "" - }, - "9f545b97e888": { - "name": "showCreateTargetPicker", - "ordinal": 23, - "value": false - }, - "9f5bd8e199d5": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-4", - "ok": false - } - } - }, - "a5addaab38bf": { - "name": "linearFilter", - "ordinal": 59, - "value": "all" - }, - "aa9af10b3812": { - "name": "preflight.check#1", - "ordinal": 42, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" - }, - "ab4a6032b0e4": { - "name": "jira.status#1", - "ordinal": 39, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" - }, - "ba788c58e435": { - "name": "runtimeTaskSettings", - "ordinal": 44, - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "bbce658fe3f5": { - "name": "showRepoPicker", - "ordinal": 13, - "value": false - }, - "c11fe123ce70": { - "name": "showGitHubProjectFieldsPicker", - "ordinal": 18, - "value": false - }, - "c1630da260c7": { - "name": "showLinearDisplayPicker", - "ordinal": 5, - "value": false - }, - "c37873342ba8": { - "name": "linearStatusPickerItem", - "ordinal": 24, - "value": { - "$rpc": "null" - } - }, - "c6178e6a0f4e": { - "hydrated": false, - "settings": {} - }, - "c87109595a65": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "ui": {} - } - } - } - }, - "c940e0a89752": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-4", - "ok": false - } - } - }, - "ccf853380b13": { - "name": "taskStateHydrated", - "ordinal": 46, - "value": false - }, - "d100b9546c3d": { - "name": "showGitHubKindPicker", - "ordinal": 7, - "value": false - }, - "d1af3771ebfa": { - "name": "status.get#1", - "ordinal": 31, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "d208e8015339": { - "name": "showGitHubPresetPicker", - "ordinal": 8, - "value": false - }, - "d50362207233": { - "name": "tasksSupportState", - "ordinal": 32, - "value": { - "client": "logical-client", - "kind": "supported" - } - }, - "dab4bb35a786": { - "name": "error", - "ordinal": 44, - "value": "transport failure" - }, - "dd6fb20daf67": { - "name": "linear.status#1", - "ordinal": 43, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "e033cf17e121": { - "name": "showGitLabViewPicker", - "ordinal": 9, - "value": false - }, - "e61de5a1b27e": { - "name": "defaultGitHubPreset", - "ordinal": 56, - "value": "issues" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f164de325151": { - "name": "pendingProjectGitHubMerge", - "ordinal": 26, - "value": { - "$rpc": "null" - } - }, - "f4ccdf7a0042": { - "name": "ui.get#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-4", - "ok": false - } - } - }, - "fdb0bbb8aa59": { - "name": "showLinearConnect", - "ordinal": 6, - "value": false - }, - "ffc5c47817a5": { - "name": "settings.get#1", - "ordinal": 35, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - } - }, - "recording": { - "scenario": "matrix-settings.task-hydration-ui.get-1", - "checkpoints": [ - { - "id": "settings-task-hydration-fulfilled.prelude:settings-pending", - "observation": { - "sender": [ - "8db7a6a7d531", - "1833d0fa5f1d", - "3a94dcc00915", - "71bedad13169", - "1dfcd3f6163d", - "05ccd79ba4af" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.normal:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c87109595a65", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.result-absent:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "73e4c9a46498", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.result-null:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "754dc46ca721", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "2e79c476869e", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "14fcedf88fe0", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "8f9718a4f319", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.outer-refused:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "c940e0a89752", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "f4ccdf7a0042", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.method-not-found:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "9f5bd8e199d5", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58c52d8b7c76", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "ba788c58e435", - "87bd323da79d", - "600862ad27b3", - "57568fbaf4f7", - "40f00017ad77", - "2c3706d59dd5", - "3a03e162efd9", - "3082bf4965fa", - "2aad05f979a9", - "8a053731b837", - "22b355deb2df", - "19505460d94b", - "e61de5a1b27e", - "5c7f665de6c4", - "93acc26335bc", - "a5addaab38bf", - "3ff235330cbe", - "1a1091da11b2", - "2d9ce55cc13a", - "5886b76643d9", - "430c28cba43c", - "82daca007272" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.transport-rejection:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "73fba30eb8f8", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "dab4bb35a786", - "1f343058c9bd", - "ccf853380b13", - "3d31b2fc3a47" - ] - } - }, - { - "id": "settings-task-hydration-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "8db7a6a7d531", - "688fe01c6196", - "ffc5c47817a5", - "144f2a4fe696", - "800b1afcceea", - "8c4056edb811" - ], - "payloads": [ - "d1af3771ebfa", - "ab4a6032b0e4", - "756c11d6e5bc", - "15cdb7759e6b", - "aa9af10b3812", - "dd6fb20daf67" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c6178e6a0f4e", - "effects": [ - "301bdbdf1dec", - "7b0ad7b958dd", - "45e466d86a07", - "0ebb7f0660a0", - "c1630da260c7", - "fdb0bbb8aa59", - "d100b9546c3d", - "d208e8015339", - "e033cf17e121", - "8015a69c7774", - "2bf05835527f", - "5729b7cdb4ba", - "bbce658fe3f5", - "26ece795530e", - "9b2188f8d6b7", - "931e8e15095d", - "3c66c971fe96", - "c11fe123ce70", - "2b39b469a001", - "714d4b3547ff", - "4cbaceb42c08", - "98281d0e8b13", - "9f545b97e888", - "c37873342ba8", - "45cfb5ee97ea", - "f164de325151", - "354e99da4ba4", - "276a60ed41a5", - "394fb5675266", - "d50362207233", - "9d27c74981a1", - "949cb0f686c5", - "1f343058c9bd", - "ccf853380b13", - "3d31b2fc3a47" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 09babd4e933..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-workspace-create-settings.get-1.json +++ /dev/null @@ -1,887 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.task-workspace-create", - "family": "settings.task-workspace-create", - "namedDeltas": [], - "values": { - "0de38c54b7c1": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "0e0c27425410": { - "name": "navigation", - "ordinal": 11, - "value": "/h/host-1/session/wt-1?name=ORC-1+Recorded+issue&created=1" - }, - "143586ed2364": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "15a350feeedb": { - "name": "creatingKey", - "ordinal": 12, - "value": { - "$rpc": "null" - } - }, - "1a4a4adee14f": { - "name": "creatingKey", - "ordinal": 8, - "value": { - "$rpc": "null" - } - }, - "2142af96648c": { - "name": "worktree.create#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "activate": true, - "createdWithAgent": "claude", - "displayName": "ORC-1 Recorded issue", - "displayNameKind": "generated", - "linkedLinearIssue": "ORC-1", - "name": "orc-1", - "repo": "id:repo-1", - "setupDecision": "inherit", - "startupDraft": "https://linear.app/orca/issue/ORC-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "displayName": "ORC-1 Recorded issue", - "id": "wt-1" - } - } - } - } - }, - "33e3b949d4c5": { - "creating": { - "$rpc": "null" - }, - "error": "", - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - }, - "377e2658e1c6": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "3d80d04df464": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "41a2214deb19": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "483b4c51c982": { - "name": "error", - "ordinal": 7, - "value": "Selected agent is disabled. Choose an enabled agent before creating." - }, - "563b6d30cbc3": { - "name": "runtimeTaskSettings", - "ordinal": 5, - "value": {} - }, - "5dfa692a84f8": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "5ef461d18660": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "626f3cf8fc2d": { - "name": "workspaceAgentOverridden", - "ordinal": 6, - "value": false - }, - "7abdfe20af50": { - "creating": "linear:1", - "error": "", - "settings": { - "disabledTuiAgents": ["claude"] - } - }, - "85b99a2ca439": { - "name": "workspaceCreateDraft", - "ordinal": 9, - "value": { - "$rpc": "null" - } - }, - "8811969aea41": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "8ac371cf7234": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "951af0d31429": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "975f2ff9a730": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "adec34c2065c": { - "creating": { - "$rpc": "null" - }, - "error": "", - "settings": {} - }, - "ce455f0c9a54": { - "name": "actionItem", - "ordinal": 8, - "value": { - "$rpc": "null" - } - }, - "d048cafe213d": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "d1777904aa15": { - "name": "workspaceAgent", - "ordinal": 5, - "value": "codex" - }, - "d5df3f6b123a": { - "creating": { - "$rpc": "null" - }, - "error": "Selected agent is disabled. Choose an enabled agent before creating.", - "settings": { - "disabledTuiAgents": ["claude"] - } - }, - "d82310a7e5db": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "e0423a9e6995": { - "name": "worktree.create#1", - "ordinal": 7, - "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\"}}" - }, - "e0a8ee1f3c00": { - "name": "creatingKey", - "ordinal": 1, - "value": "linear:1" - }, - "e445683fd6a5": { - "name": "runtimeTaskSettings", - "ordinal": 5, - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - }, - "e969ced16929": { - "name": "setupPrompt", - "ordinal": 10, - "value": { - "$rpc": "null" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ed3a7d6bc894": { - "name": "error", - "ordinal": 2, - "value": "" - }, - "fc902c20ffc9": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "recording": { - "scenario": "matrix-settings.task-workspace-create-settings.get-1", - "checkpoints": [ - { - "id": "settings-task-workspace-create-linear.prelude:settings-pending", - "observation": { - "sender": ["41a2214deb19"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "9270aeb7d9c6" - }, - "state": "7abdfe20af50", - "effects": ["e0a8ee1f3c00", "ed3a7d6bc894"] - } - }, - { - "id": "settings-task-workspace-create-linear.prelude:cleanup", - "observation": { - "sender": ["d048cafe213d"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "7abdfe20af50", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.normal:created", - "observation": { - "sender": ["8ac371cf7234", "2142af96648c"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "33e3b949d4c5", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "e445683fd6a5", - "ce455f0c9a54", - "85b99a2ca439", - "e969ced16929", - "0e0c27425410", - "15a350feeedb" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.result-absent:created", - "observation": { - "sender": ["951af0d31429"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "d5df3f6b123a", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.result-null:created", - "observation": { - "sender": ["d82310a7e5db"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "d5df3f6b123a", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.inner-ok-missing:created", - "observation": { - "sender": ["8811969aea41", "2142af96648c"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "adec34c2065c", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "563b6d30cbc3", - "ce455f0c9a54", - "85b99a2ca439", - "e969ced16929", - "0e0c27425410", - "15a350feeedb" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.inner-false-string-error:created", - "observation": { - "sender": ["377e2658e1c6", "2142af96648c"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "adec34c2065c", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "563b6d30cbc3", - "ce455f0c9a54", - "85b99a2ca439", - "e969ced16929", - "0e0c27425410", - "15a350feeedb" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.inner-false-object-error:created", - "observation": { - "sender": ["143586ed2364", "2142af96648c"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "adec34c2065c", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "563b6d30cbc3", - "ce455f0c9a54", - "85b99a2ca439", - "e969ced16929", - "0e0c27425410", - "15a350feeedb" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.outer-refused:created", - "observation": { - "sender": ["5ef461d18660"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "d5df3f6b123a", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.outer-refused-no-message:created", - "observation": { - "sender": ["3d80d04df464"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "d5df3f6b123a", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.method-not-found:created", - "observation": { - "sender": ["fc902c20ffc9"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "d5df3f6b123a", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.transport-rejection:created", - "observation": { - "sender": ["0de38c54b7c1"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "d5df3f6b123a", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.transport-rejection-no-message:created", - "observation": { - "sender": ["5dfa692a84f8"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "d5df3f6b123a", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - } - ] - } -} 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 deleted file mode 100644 index ea1bd69ed64..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-workspace-create-worktree.create-1.json +++ /dev/null @@ -1,1000 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.task-workspace-create", - "family": "settings.task-workspace-create", - "namedDeltas": [], - "values": { - "009f82649181": { - "name": "worktree.create#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "activate": true, - "createdWithAgent": "claude", - "displayName": "ORC-1 Recorded issue", - "displayNameKind": "generated", - "linkedLinearIssue": "ORC-1", - "name": "orc-1", - "repo": "id:repo-1", - "setupDecision": "inherit", - "startupDraft": "https://linear.app/orca/issue/ORC-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "028ed68ea991": { - "name": "worktree.create#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "activate": true, - "createdWithAgent": "claude", - "displayName": "ORC-1 Recorded issue", - "displayNameKind": "generated", - "linkedLinearIssue": "ORC-1", - "name": "orc-1", - "repo": "id:repo-1", - "setupDecision": "inherit", - "startupDraft": "https://linear.app/orca/issue/ORC-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "0ab47d066cba": { - "name": "error", - "ordinal": 8, - "value": "outer refused" - }, - "0e0c27425410": { - "name": "navigation", - "ordinal": 11, - "value": "/h/host-1/session/wt-1?name=ORC-1+Recorded+issue&created=1" - }, - "104bf14d3af8": { - "name": "error", - "ordinal": 8, - "value": "" - }, - "10841e6e2151": { - "name": "worktree.create#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "activate": true, - "createdWithAgent": "claude", - "displayName": "ORC-1 Recorded issue", - "displayNameKind": "generated", - "linkedLinearIssue": "ORC-1", - "name": "orc-1", - "repo": "id:repo-1", - "setupDecision": "inherit", - "startupDraft": "https://linear.app/orca/issue/ORC-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "15a350feeedb": { - "name": "creatingKey", - "ordinal": 12, - "value": { - "$rpc": "null" - } - }, - "1bb065c2a768": { - "creating": { - "$rpc": "null" - }, - "error": "Unknown method", - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - }, - "2142af96648c": { - "name": "worktree.create#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "activate": true, - "createdWithAgent": "claude", - "displayName": "ORC-1 Recorded issue", - "displayNameKind": "generated", - "linkedLinearIssue": "ORC-1", - "name": "orc-1", - "repo": "id:repo-1", - "setupDecision": "inherit", - "startupDraft": "https://linear.app/orca/issue/ORC-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "worktree": { - "displayName": "ORC-1 Recorded issue", - "id": "wt-1" - } - } - } - } - }, - "2fac0da15fae": { - "creating": { - "$rpc": "null" - }, - "error": "transport failure", - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - }, - "33e3b949d4c5": { - "creating": { - "$rpc": "null" - }, - "error": "", - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - }, - "3ec9a6ef7bbf": { - "name": "worktree.create#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "activate": true, - "createdWithAgent": "claude", - "displayName": "ORC-1 Recorded issue", - "displayNameKind": "generated", - "linkedLinearIssue": "ORC-1", - "name": "orc-1", - "repo": "id:repo-1", - "setupDecision": "inherit", - "startupDraft": "https://linear.app/orca/issue/ORC-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "41a2214deb19": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "582028823c76": { - "name": "worktree.create#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "activate": true, - "createdWithAgent": "claude", - "displayName": "ORC-1 Recorded issue", - "displayNameKind": "generated", - "linkedLinearIssue": "ORC-1", - "name": "orc-1", - "repo": "id:repo-1", - "setupDecision": "inherit", - "startupDraft": "https://linear.app/orca/issue/ORC-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "67e4de286c96": { - "name": "worktree.create#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "activate": true, - "createdWithAgent": "claude", - "displayName": "ORC-1 Recorded issue", - "displayNameKind": "generated", - "linkedLinearIssue": "ORC-1", - "name": "orc-1", - "repo": "id:repo-1", - "setupDecision": "inherit", - "startupDraft": "https://linear.app/orca/issue/ORC-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "71f882fa01cd": { - "name": "error", - "ordinal": 8, - "value": "The host sent a reply this app could not read (worktree.create)" - }, - "7abdfe20af50": { - "creating": "linear:1", - "error": "", - "settings": { - "disabledTuiAgents": ["claude"] - } - }, - "7b27297e7f2d": { - "creating": { - "$rpc": "null" - }, - "error": "outer refused", - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - }, - "85b99a2ca439": { - "name": "workspaceCreateDraft", - "ordinal": 9, - "value": { - "$rpc": "null" - } - }, - "86a3bbb38597": { - "name": "error", - "ordinal": 8, - "value": "transport failure" - }, - "8ac371cf7234": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "975f2ff9a730": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "9b03383cf8c2": { - "name": "worktree.create#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "activate": true, - "createdWithAgent": "claude", - "displayName": "ORC-1 Recorded issue", - "displayNameKind": "generated", - "linkedLinearIssue": "ORC-1", - "name": "orc-1", - "repo": "id:repo-1", - "setupDecision": "inherit", - "startupDraft": "https://linear.app/orca/issue/ORC-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "9e4d66bb4dbf": { - "name": "worktree.create#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "activate": true, - "createdWithAgent": "claude", - "displayName": "ORC-1 Recorded issue", - "displayNameKind": "generated", - "linkedLinearIssue": "ORC-1", - "name": "orc-1", - "repo": "id:repo-1", - "setupDecision": "inherit", - "startupDraft": "https://linear.app/orca/issue/ORC-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "ba6b37393b35": { - "name": "worktree.create#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "activate": true, - "createdWithAgent": "claude", - "displayName": "ORC-1 Recorded issue", - "displayNameKind": "generated", - "linkedLinearIssue": "ORC-1", - "name": "orc-1", - "repo": "id:repo-1", - "setupDecision": "inherit", - "startupDraft": "https://linear.app/orca/issue/ORC-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "cbe638ec5266": { - "name": "worktree.create#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "activate": true, - "createdWithAgent": "claude", - "displayName": "ORC-1 Recorded issue", - "displayNameKind": "generated", - "linkedLinearIssue": "ORC-1", - "name": "orc-1", - "repo": "id:repo-1", - "setupDecision": "inherit", - "startupDraft": "https://linear.app/orca/issue/ORC-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "cc50b9749135": { - "name": "worktree.create#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "activate": true, - "createdWithAgent": "claude", - "displayName": "ORC-1 Recorded issue", - "displayNameKind": "generated", - "linkedLinearIssue": "ORC-1", - "name": "orc-1", - "repo": "id:repo-1", - "setupDecision": "inherit", - "startupDraft": "https://linear.app/orca/issue/ORC-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "ce455f0c9a54": { - "name": "actionItem", - "ordinal": 8, - "value": { - "$rpc": "null" - } - }, - "dac4022522a4": { - "name": "error", - "ordinal": 8, - "value": "Unknown method" - }, - "df8accf1ced4": { - "creating": { - "$rpc": "null" - }, - "error": "The host sent a reply this app could not read (worktree.create)", - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - }, - "e0423a9e6995": { - "name": "worktree.create#1", - "ordinal": 7, - "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\"}}" - }, - "e0a8ee1f3c00": { - "name": "creatingKey", - "ordinal": 1, - "value": "linear:1" - }, - "e445683fd6a5": { - "name": "runtimeTaskSettings", - "ordinal": 5, - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - }, - "e969ced16929": { - "name": "setupPrompt", - "ordinal": 10, - "value": { - "$rpc": "null" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ed3a7d6bc894": { - "name": "error", - "ordinal": 2, - "value": "" - }, - "eecc0c1b6490": { - "creating": "linear:1", - "error": "", - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": [] - } - }, - "f2ebfa81caaf": { - "name": "creatingKey", - "ordinal": 9, - "value": { - "$rpc": "null" - } - }, - "f9a104d641fd": { - "name": "error", - "ordinal": 8, - "value": "Connection closed" - } - }, - "recording": { - "scenario": "matrix-settings.task-workspace-create-worktree.create-1", - "checkpoints": [ - { - "id": "settings-task-workspace-create-linear.prelude:settings-pending", - "observation": { - "sender": ["41a2214deb19"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "9270aeb7d9c6" - }, - "state": "7abdfe20af50", - "effects": ["e0a8ee1f3c00", "ed3a7d6bc894"] - } - }, - { - "id": "settings-task-workspace-create-linear.prelude:cleanup", - "observation": { - "sender": ["8ac371cf7234", "ba6b37393b35"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "eecc0c1b6490", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "e445683fd6a5", - "f9a104d641fd", - "f2ebfa81caaf" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.normal:created", - "observation": { - "sender": ["8ac371cf7234", "2142af96648c"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "33e3b949d4c5", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "e445683fd6a5", - "ce455f0c9a54", - "85b99a2ca439", - "e969ced16929", - "0e0c27425410", - "15a350feeedb" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.result-absent:created", - "observation": { - "sender": ["8ac371cf7234", "009f82649181"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "df8accf1ced4", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "e445683fd6a5", - "71f882fa01cd", - "f2ebfa81caaf" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.result-null:created", - "observation": { - "sender": ["8ac371cf7234", "67e4de286c96"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "df8accf1ced4", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "e445683fd6a5", - "71f882fa01cd", - "f2ebfa81caaf" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.inner-ok-missing:created", - "observation": { - "sender": ["8ac371cf7234", "10841e6e2151"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "df8accf1ced4", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "e445683fd6a5", - "71f882fa01cd", - "f2ebfa81caaf" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.inner-false-string-error:created", - "observation": { - "sender": ["8ac371cf7234", "9e4d66bb4dbf"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "df8accf1ced4", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "e445683fd6a5", - "71f882fa01cd", - "f2ebfa81caaf" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.inner-false-object-error:created", - "observation": { - "sender": ["8ac371cf7234", "3ec9a6ef7bbf"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "df8accf1ced4", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "e445683fd6a5", - "71f882fa01cd", - "f2ebfa81caaf" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.outer-refused:created", - "observation": { - "sender": ["8ac371cf7234", "cbe638ec5266"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "7b27297e7f2d", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "e445683fd6a5", - "0ab47d066cba", - "f2ebfa81caaf" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.outer-refused-no-message:created", - "observation": { - "sender": ["8ac371cf7234", "582028823c76"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "33e3b949d4c5", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "e445683fd6a5", - "104bf14d3af8", - "f2ebfa81caaf" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.method-not-found:created", - "observation": { - "sender": ["8ac371cf7234", "9b03383cf8c2"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "1bb065c2a768", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "e445683fd6a5", - "dac4022522a4", - "f2ebfa81caaf" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.transport-rejection:created", - "observation": { - "sender": ["8ac371cf7234", "cc50b9749135"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "2fac0da15fae", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "e445683fd6a5", - "86a3bbb38597", - "f2ebfa81caaf" - ] - } - }, - { - "id": "settings-task-workspace-create-linear.transport-rejection-no-message:created", - "observation": { - "sender": ["8ac371cf7234", "028ed68ea991"], - "payloads": ["975f2ff9a730", "e0423a9e6995"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "33e3b949d4c5", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "e445683fd6a5", - "104bf14d3af8", - "f2ebfa81caaf" - ] - } - } - ] - } -} 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 deleted file mode 100644 index f9a8a259419..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.task-workspace-settings.get-1.json +++ /dev/null @@ -1,849 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.task-workspace", - "family": "settings.task-workspace", - "namedDeltas": [], - "values": { - "0de38c54b7c1": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "143586ed2364": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "1686352a2bbd": { - "name": "error", - "ordinal": 8, - "value": "Selected agent is disabled. Choose an enabled agent before creating." - }, - "1a4a4adee14f": { - "name": "creatingKey", - "ordinal": 8, - "value": { - "$rpc": "null" - } - }, - "2a351b169759": { - "name": "workspaceAgentOverridden", - "ordinal": 7, - "value": false - }, - "377e2658e1c6": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "3d80d04df464": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "41a2214deb19": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "483b4c51c982": { - "name": "error", - "ordinal": 7, - "value": "Selected agent is disabled. Choose an enabled agent before creating." - }, - "515754ff63c6": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "563b6d30cbc3": { - "name": "runtimeTaskSettings", - "ordinal": 5, - "value": {} - }, - "5dfa692a84f8": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "5ef461d18660": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "626f3cf8fc2d": { - "name": "workspaceAgentOverridden", - "ordinal": 6, - "value": false - }, - "7abdfe20af50": { - "creating": "linear:1", - "error": "", - "settings": { - "disabledTuiAgents": ["claude"] - } - }, - "82b1a94a28f4": { - "name": "runtimeTaskSettings", - "ordinal": 5, - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "8811969aea41": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "8b8197eed660": { - "creating": { - "$rpc": "null" - }, - "error": "Selected agent is disabled. Choose an enabled agent before creating.", - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "951af0d31429": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "975f2ff9a730": { - "name": "settings.get#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "a492527dfec9": { - "name": "setupPrompt", - "ordinal": 6, - "value": { - "agentOverride": "claude", - "command": "setup", - "item": { - "key": "linear:1", - "provider": "linear", - "source": { - "id": "issue-1" - } - }, - "repoName": "Repo", - "source": "repo" - } - }, - "adec34c2065c": { - "creating": { - "$rpc": "null" - }, - "error": "", - "settings": {} - }, - "c8c640db7dff": { - "name": "workspaceAgent", - "ordinal": 6, - "value": "codex" - }, - "d048cafe213d": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "d1777904aa15": { - "name": "workspaceAgent", - "ordinal": 5, - "value": "codex" - }, - "d5df3f6b123a": { - "creating": { - "$rpc": "null" - }, - "error": "Selected agent is disabled. Choose an enabled agent before creating.", - "settings": { - "disabledTuiAgents": ["claude"] - } - }, - "d82310a7e5db": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "d958e78341fc": { - "name": "creatingKey", - "ordinal": 7, - "value": { - "$rpc": "null" - } - }, - "e0a8ee1f3c00": { - "name": "creatingKey", - "ordinal": 1, - "value": "linear:1" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ed3a7d6bc894": { - "name": "error", - "ordinal": 2, - "value": "" - }, - "f2ebfa81caaf": { - "name": "creatingKey", - "ordinal": 9, - "value": { - "$rpc": "null" - } - }, - "fc902c20ffc9": { - "name": "settings.get#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "recording": { - "scenario": "matrix-settings.task-workspace-settings.get-1", - "checkpoints": [ - { - "id": "settings-task-workspace-fulfilled.prelude:settings-pending", - "observation": { - "sender": ["41a2214deb19"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "9270aeb7d9c6" - }, - "state": "7abdfe20af50", - "effects": ["e0a8ee1f3c00", "ed3a7d6bc894"] - } - }, - { - "id": "settings-task-workspace-fulfilled.prelude:cleanup", - "observation": { - "sender": ["d048cafe213d"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "7abdfe20af50", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - }, - { - "id": "settings-task-workspace-fulfilled.normal:settled", - "observation": { - "sender": ["515754ff63c6"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "8b8197eed660", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "82b1a94a28f4", - "c8c640db7dff", - "2a351b169759", - "1686352a2bbd", - "f2ebfa81caaf" - ] - } - }, - { - "id": "settings-task-workspace-fulfilled.result-absent:settled", - "observation": { - "sender": ["951af0d31429"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "d5df3f6b123a", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - }, - { - "id": "settings-task-workspace-fulfilled.result-null:settled", - "observation": { - "sender": ["d82310a7e5db"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "d5df3f6b123a", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - }, - { - "id": "settings-task-workspace-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": ["8811969aea41"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "adec34c2065c", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "563b6d30cbc3", - "a492527dfec9", - "d958e78341fc" - ] - } - }, - { - "id": "settings-task-workspace-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": ["377e2658e1c6"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "adec34c2065c", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "563b6d30cbc3", - "a492527dfec9", - "d958e78341fc" - ] - } - }, - { - "id": "settings-task-workspace-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": ["143586ed2364"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "adec34c2065c", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "563b6d30cbc3", - "a492527dfec9", - "d958e78341fc" - ] - } - }, - { - "id": "settings-task-workspace-fulfilled.outer-refused:settled", - "observation": { - "sender": ["5ef461d18660"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "d5df3f6b123a", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - }, - { - "id": "settings-task-workspace-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": ["3d80d04df464"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "d5df3f6b123a", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - }, - { - "id": "settings-task-workspace-fulfilled.method-not-found:settled", - "observation": { - "sender": ["fc902c20ffc9"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "d5df3f6b123a", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - }, - { - "id": "settings-task-workspace-fulfilled.transport-rejection:settled", - "observation": { - "sender": ["0de38c54b7c1"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "d5df3f6b123a", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - }, - { - "id": "settings-task-workspace-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": ["5dfa692a84f8"], - "payloads": ["975f2ff9a730"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "d5df3f6b123a", - "effects": [ - "e0a8ee1f3c00", - "ed3a7d6bc894", - "d1777904aa15", - "626f3cf8fc2d", - "483b4c51c982", - "1a4a4adee14f" - ] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-jira.status-1.json b/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-jira.status-1.json deleted file mode 100644 index 33e4c8ad3c3..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-jira.status-1.json +++ /dev/null @@ -1,1000 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.workspace-context", - "family": "settings.workspace-context", - "namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"], - "values": { - "07d879606ef5": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.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-3", - "ok": false - } - } - }, - "0dfe86aa61e0": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "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" - } - } - } - }, - "1ddcb19f333c": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "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 - } - } - } - }, - "1e66a2c83e1a": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.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 - } - } - }, - "1e7f9a45facb": { - "name": "linear.status#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "2a7485a88169": { - "providers": ["github"], - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - }, - "trust": {} - }, - "3d249e57942b": { - "name": "ui.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "5ab1fd732f26": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.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-3", - "ok": false - } - } - }, - "5d502ac853b1": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "6297ab542dd3": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.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-3", - "ok": false - } - } - }, - "65e027dec060": { - "name": "ui.get#1", - "ordinal": 5, - "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-5", - "ok": true, - "result": { - "ui": {} - } - } - } - }, - "7c5e5635081d": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "82132b79b8f7": { - "name": "settings.get#1", - "ordinal": 9, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "83e12a6721ec": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8566e2463d90": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "88c822743a2d": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "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" - } - } - } - }, - "903ba5a79900": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "glab": { - "installed": false - } - } - } - } - }, - "9cf8484d8b20": { - "name": "linear.status#1", - "ordinal": 2, - "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-2", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "a2fd5d449008": { - "name": "jira.status#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" - }, - "ab92af857792": { - "name": "linear.status#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "b69f454508d6": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c400528ea9ef": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "cc61428a1b82": { - "name": "preflight.check#1", - "ordinal": 6, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" - }, - "d13ca77439fc": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "e08f09fe55ab": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "edb8f0fe6906": { - "name": "ui.get#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" - }, - "f6a09f8c5b85": { - "providers": [], - "settings": { - "$rpc": "null" - }, - "trust": {} - } - }, - "recording": { - "scenario": "matrix-settings.workspace-context-jira.status-1", - "checkpoints": [ - { - "id": "settings-workspace-context-fulfilled.prelude:settings-pending", - "observation": { - "sender": [ - "b69f454508d6", - "1e7f9a45facb", - "83e12a6721ec", - "7c5e5635081d", - "3d249e57942b" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "f6a09f8c5b85", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.normal:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.result-absent:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "5d502ac853b1", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.result-null:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "0dfe86aa61e0", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "88c822743a2d", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "e08f09fe55ab", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "1ddcb19f333c", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.outer-refused:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "07d879606ef5", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "5ab1fd732f26", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.method-not-found:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "6297ab542dd3", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.transport-rejection:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "1e66a2c83e1a", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "c400528ea9ef", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 41e94ccba02..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-linear.status-1.json +++ /dev/null @@ -1,1000 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.workspace-context", - "family": "settings.workspace-context", - "namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"], - "values": { - "1e7f9a45facb": { - "name": "linear.status#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "2a7485a88169": { - "providers": ["github"], - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - }, - "trust": {} - }, - "3d249e57942b": { - "name": "ui.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "43071d87f881": { - "name": "linear.status#1", - "ordinal": 2, - "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 - } - } - }, - "4d17d8c28bae": { - "name": "linear.status#1", - "ordinal": 2, - "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-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "65e027dec060": { - "name": "ui.get#1", - "ordinal": 5, - "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-5", - "ok": true, - "result": { - "ui": {} - } - } - } - }, - "7c5e5635081d": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "82132b79b8f7": { - "name": "settings.get#1", - "ordinal": 9, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "83e12a6721ec": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8566e2463d90": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "903ba5a79900": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "glab": { - "installed": false - } - } - } - } - }, - "9933bcbce0d0": { - "name": "linear.status#1", - "ordinal": 2, - "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-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "9cf8484d8b20": { - "name": "linear.status#1", - "ordinal": 2, - "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-2", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "a2fd5d449008": { - "name": "jira.status#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" - }, - "a5904993256c": { - "name": "linear.status#1", - "ordinal": 2, - "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-2", - "ok": false - } - } - }, - "ab92af857792": { - "name": "linear.status#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "ae4e5de4f5c3": { - "name": "linear.status#1", - "ordinal": 2, - "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-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "b4d0a3f6b29d": { - "name": "linear.status#1", - "ordinal": 2, - "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 - } - } - }, - "b69f454508d6": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "cc61428a1b82": { - "name": "preflight.check#1", - "ordinal": 6, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" - }, - "d13ca77439fc": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "db838df1b33f": { - "name": "linear.status#1", - "ordinal": 2, - "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-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "e7ae27078017": { - "name": "linear.status#1", - "ordinal": 2, - "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-2", - "ok": false - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "edb8f0fe6906": { - "name": "ui.get#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" - }, - "f6a09f8c5b85": { - "providers": [], - "settings": { - "$rpc": "null" - }, - "trust": {} - }, - "fa98ce663de2": { - "name": "linear.status#1", - "ordinal": 2, - "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-2", - "ok": false - } - } - }, - "fb159a391069": { - "name": "linear.status#1", - "ordinal": 2, - "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-2", - "ok": true - } - } - } - }, - "recording": { - "scenario": "matrix-settings.workspace-context-linear.status-1", - "checkpoints": [ - { - "id": "settings-workspace-context-fulfilled.prelude:settings-pending", - "observation": { - "sender": [ - "b69f454508d6", - "1e7f9a45facb", - "83e12a6721ec", - "7c5e5635081d", - "3d249e57942b" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "f6a09f8c5b85", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.normal:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.result-absent:settled", - "observation": { - "sender": [ - "903ba5a79900", - "fb159a391069", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.result-null:settled", - "observation": { - "sender": [ - "903ba5a79900", - "ae4e5de4f5c3", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": [ - "903ba5a79900", - "db838df1b33f", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9933bcbce0d0", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": [ - "903ba5a79900", - "4d17d8c28bae", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.outer-refused:settled", - "observation": { - "sender": [ - "903ba5a79900", - "fa98ce663de2", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": [ - "903ba5a79900", - "e7ae27078017", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.method-not-found:settled", - "observation": { - "sender": [ - "903ba5a79900", - "a5904993256c", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.transport-rejection:settled", - "observation": { - "sender": [ - "903ba5a79900", - "43071d87f881", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "903ba5a79900", - "b4d0a3f6b29d", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 5027efed4eb..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-preflight.check-1.json +++ /dev/null @@ -1,1000 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.workspace-context", - "family": "settings.workspace-context", - "namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"], - "values": { - "0e109980fe2a": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "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 - } - } - } - }, - "19d55040ae04": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "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" - } - } - } - }, - "1e7f9a45facb": { - "name": "linear.status#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "2a7485a88169": { - "providers": ["github"], - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - }, - "trust": {} - }, - "3d249e57942b": { - "name": "ui.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "65e027dec060": { - "name": "ui.get#1", - "ordinal": 5, - "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-5", - "ok": true, - "result": { - "ui": {} - } - } - } - }, - "7c1703d13d10": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "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 - } - } - } - }, - "7c5e5635081d": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "82132b79b8f7": { - "name": "settings.get#1", - "ordinal": 9, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "83e12a6721ec": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8566e2463d90": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "903ba5a79900": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "glab": { - "installed": false - } - } - } - } - }, - "925a9a6755cc": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "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 - } - } - }, - "9b031957c39f": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "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 - } - } - }, - "9cf8484d8b20": { - "name": "linear.status#1", - "ordinal": 2, - "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-2", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "a2fd5d449008": { - "name": "jira.status#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" - }, - "ab92af857792": { - "name": "linear.status#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "ad7164511835": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "b69f454508d6": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "c4022214e035": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "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 - } - } - }, - "cc61428a1b82": { - "name": "preflight.check#1", - "ordinal": 6, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" - }, - "d0d877eb4118": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "d13ca77439fc": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "d1af7ef29aa6": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "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" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "edb8f0fe6906": { - "name": "ui.get#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" - }, - "f6a09f8c5b85": { - "providers": [], - "settings": { - "$rpc": "null" - }, - "trust": {} - }, - "f9b8f7e735b9": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "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-settings.workspace-context-preflight.check-1", - "checkpoints": [ - { - "id": "settings-workspace-context-fulfilled.prelude:settings-pending", - "observation": { - "sender": [ - "b69f454508d6", - "1e7f9a45facb", - "83e12a6721ec", - "7c5e5635081d", - "3d249e57942b" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "f6a09f8c5b85", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.normal:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.result-absent:settled", - "observation": { - "sender": [ - "d0d877eb4118", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.result-null:settled", - "observation": { - "sender": [ - "d1af7ef29aa6", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": [ - "19d55040ae04", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": [ - "7c1703d13d10", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": [ - "0e109980fe2a", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.outer-refused:settled", - "observation": { - "sender": [ - "925a9a6755cc", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": [ - "9b031957c39f", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.method-not-found:settled", - "observation": { - "sender": [ - "c4022214e035", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.transport-rejection:settled", - "observation": { - "sender": [ - "f9b8f7e735b9", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "ad7164511835", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 7d55413c6e3..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-settings.get-1.json +++ /dev/null @@ -1,1007 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.workspace-context", - "family": "settings.workspace-context", - "namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"], - "values": { - "0203751b9285": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "104a8465d8e2": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "1e7f9a45facb": { - "name": "linear.status#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "2a7485a88169": { - "providers": ["github"], - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - }, - "trust": {} - }, - "3d249e57942b": { - "name": "ui.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "65e027dec060": { - "name": "ui.get#1", - "ordinal": 5, - "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-5", - "ok": true, - "result": { - "ui": {} - } - } - } - }, - "6875984eaa48": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "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 - } - } - } - }, - "6a972f02670e": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "7c5e5635081d": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "82132b79b8f7": { - "name": "settings.get#1", - "ordinal": 9, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "83e12a6721ec": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8566e2463d90": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "903ba5a79900": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "glab": { - "installed": false - } - } - } - } - }, - "932cc4098b1c": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "9523a5ec7949": { - "providers": ["github", "jira"], - "settings": { - "$rpc": "null" - }, - "trust": {} - }, - "9caa359ef565": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.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-4", - "ok": false - } - } - }, - "9cf8484d8b20": { - "name": "linear.status#1", - "ordinal": 2, - "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-2", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "a2fd5d449008": { - "name": "jira.status#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" - }, - "ab92af857792": { - "name": "linear.status#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "b69d58f8cf5d": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "b69f454508d6": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "b97de9e41945": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "c57ac3063725": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.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-4", - "ok": false - } - } - }, - "cae538c39816": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.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-4", - "ok": false - } - } - }, - "cc61428a1b82": { - "name": "preflight.check#1", - "ordinal": 6, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" - }, - "d13ca77439fc": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "edb8f0fe6906": { - "name": "ui.get#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" - }, - "f6a09f8c5b85": { - "providers": [], - "settings": { - "$rpc": "null" - }, - "trust": {} - } - }, - "recording": { - "scenario": "matrix-settings.workspace-context-settings.get-1", - "checkpoints": [ - { - "id": "settings-workspace-context-fulfilled.prelude:settings-pending", - "observation": { - "sender": [ - "b69f454508d6", - "1e7f9a45facb", - "83e12a6721ec", - "7c5e5635081d", - "3d249e57942b" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "f6a09f8c5b85", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.normal:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.result-absent:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "932cc4098b1c", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9523a5ec7949", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.result-null:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "b97de9e41945", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9523a5ec7949", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "6a972f02670e", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9523a5ec7949", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "104a8465d8e2", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9523a5ec7949", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "6875984eaa48", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9523a5ec7949", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.outer-refused:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "cae538c39816", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9523a5ec7949", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "9caa359ef565", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9523a5ec7949", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.method-not-found:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "c57ac3063725", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9523a5ec7949", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.transport-rejection:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "b69d58f8cf5d", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9523a5ec7949", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "0203751b9285", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9523a5ec7949", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index be30aecc7ba..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.workspace-context-ui.get-1.json +++ /dev/null @@ -1,1000 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.workspace-context", - "family": "settings.workspace-context", - "namedDeltas": ["new-workspace-runtime-context-null-results-degrade-to-absent"], - "values": { - "13671907ef4b": { - "name": "ui.get#1", - "ordinal": 5, - "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-5", - "ok": false - } - } - }, - "1e7f9a45facb": { - "name": "linear.status#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "linear.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "22cba9e551ea": { - "name": "ui.get#1", - "ordinal": 5, - "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-5", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "2a7485a88169": { - "providers": ["github"], - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - }, - "trust": {} - }, - "2b9cf944a5e5": { - "name": "ui.get#1", - "ordinal": 5, - "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-5", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "30c7a0e1beac": { - "name": "ui.get#1", - "ordinal": 5, - "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-5", - "ok": false - } - } - }, - "3d249e57942b": { - "name": "ui.get#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "ui.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "65e027dec060": { - "name": "ui.get#1", - "ordinal": 5, - "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-5", - "ok": true, - "result": { - "ui": {} - } - } - } - }, - "6f51f4002cd1": { - "name": "ui.get#1", - "ordinal": 5, - "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-5", - "ok": false - } - } - }, - "7c5e5635081d": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "82132b79b8f7": { - "name": "settings.get#1", - "ordinal": 9, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - }, - "83e12a6721ec": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8566e2463d90": { - "name": "jira.status#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "jira.status" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "903ba5a79900": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "glab": { - "installed": false - } - } - } - } - }, - "9b200288ea2b": { - "name": "ui.get#1", - "ordinal": 5, - "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-5", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "9cf8484d8b20": { - "name": "linear.status#1", - "ordinal": 2, - "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-2", - "ok": true, - "result": { - "connected": false - } - } - } - }, - "a0c220ccb9d7": { - "name": "ui.get#1", - "ordinal": 5, - "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 - } - } - }, - "a2fd5d449008": { - "name": "jira.status#1", - "ordinal": 8, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"jira.status\"}" - }, - "ab92af857792": { - "name": "linear.status#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "b69f454508d6": { - "name": "preflight.check#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "preflight.check" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "bb3d43ca38e2": { - "name": "ui.get#1", - "ordinal": 5, - "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 - } - } - }, - "bd326dadc78a": { - "name": "ui.get#1", - "ordinal": 5, - "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-5", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "cbd33dd63b3b": { - "name": "ui.get#1", - "ordinal": 5, - "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-5", - "ok": true - } - } - }, - "cc61428a1b82": { - "name": "preflight.check#1", - "ordinal": 6, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.check\"}" - }, - "d13ca77439fc": { - "name": "settings.get#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "edb8f0fe6906": { - "name": "ui.get#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"ui.get\"}" - }, - "f6a09f8c5b85": { - "providers": [], - "settings": { - "$rpc": "null" - }, - "trust": {} - } - }, - "recording": { - "scenario": "matrix-settings.workspace-context-ui.get-1", - "checkpoints": [ - { - "id": "settings-workspace-context-fulfilled.prelude:settings-pending", - "observation": { - "sender": [ - "b69f454508d6", - "1e7f9a45facb", - "83e12a6721ec", - "7c5e5635081d", - "3d249e57942b" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "f6a09f8c5b85", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.normal:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "65e027dec060" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.result-absent:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "cbd33dd63b3b" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.result-null:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "2b9cf944a5e5" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "9b200288ea2b" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "22cba9e551ea" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "bd326dadc78a" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.outer-refused:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "6f51f4002cd1" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "13671907ef4b" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.method-not-found:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "30c7a0e1beac" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.transport-rejection:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "bb3d43ca38e2" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - }, - { - "id": "settings-workspace-context-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": [ - "903ba5a79900", - "9cf8484d8b20", - "8566e2463d90", - "d13ca77439fc", - "a0c220ccb9d7" - ], - "payloads": [ - "cc61428a1b82", - "ab92af857792", - "a2fd5d449008", - "82132b79b8f7", - "edb8f0fe6906" - ], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2a7485a88169", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 7f1ed092d63..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-settings.workspace-submit-settings.get-1.json +++ /dev/null @@ -1,853 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "settings.workspace-submit", - "family": "settings.workspace-submit", - "namedDeltas": [], - "values": { - "003c16e56b1f": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "0ca529648be4": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "13c996e4ec2b": { - "creating": true, - "error": "", - "settings": { - "disabledTuiAgents": ["claude"] - } - }, - "1a9d36fca761": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "285bfcc87a38": { - "name": "agentOverridden", - "ordinal": 6, - "value": false - }, - "2e8e352c8dd1": { - "creating": false, - "error": "Selected agent is disabled. Choose an enabled agent before creating.", - "settings": { - "disabledTuiAgents": ["claude"] - } - }, - "34ebe202db00": { - "name": "worktree.create#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "createdWithAgent": "claude", - "displayName": "recorded", - "displayNameKind": "user", - "name": "recorded", - "repo": "id:repo-1", - "setupDecision": "inherit", - "startupAgent": "claude" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "37e61a793f91": { - "name": "selectedAgent", - "ordinal": 5, - "value": { - "id": "codex", - "label": "Codex" - } - }, - "39f99cf479f0": { - "name": "error", - "ordinal": 1, - "value": "" - }, - "43d3776368e0": { - "name": "worktree.create#1", - "ordinal": 6, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.create\",\"params\":{\"repo\":\"id:repo-1\",\"setupDecision\":\"inherit\",\"name\":\"recorded\",\"displayName\":\"recorded\",\"displayNameKind\":\"user\",\"startupAgent\":\"claude\",\"createdWithAgent\":\"claude\"}}" - }, - "45fcf53c5b68": { - "name": "error", - "ordinal": 7, - "value": "Connection closed" - }, - "483b4c51c982": { - "name": "error", - "ordinal": 7, - "value": "Selected agent is disabled. Choose an enabled agent before creating." - }, - "48d1cd313a00": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "51d4cb56be85": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "5368ee038065": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "566d8202b582": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - }, - "58752e3dadee": { - "name": "runtimeSettings", - "ordinal": 4, - "value": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "58939cb0b8a9": { - "name": "worktree.create#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "createdWithAgent": "claude", - "displayName": "recorded", - "displayNameKind": "user", - "name": "recorded", - "repo": "id:repo-1", - "setupDecision": "inherit", - "startupAgent": "claude" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "5940cb6d5fdf": { - "name": "error", - "ordinal": 6, - "value": "Selected agent is disabled. Choose an enabled agent before creating." - }, - "5c233f0d08af": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "5efbd884ea5a": { - "creating": false, - "error": "Selected agent is disabled. Choose an enabled agent before creating.", - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - }, - "778f05cac35e": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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": { - "settings": { - "defaultTuiAgent": "codex", - "disabledTuiAgents": ["claude"], - "hostSettingOverrides": {}, - "prBotAuthorOverrides": ["bot-user"], - "visibleTaskProviders": ["github", "linear"] - } - } - } - } - }, - "7b1c9637063f": { - "creating": true, - "error": "", - "settings": { - "$rpc": "undefined" - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "94ddc6962cd6": { - "name": "selectedAgent", - "ordinal": 4, - "value": { - "id": "codex", - "label": "Codex" - } - }, - "a5135e33554f": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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" - } - } - } - }, - "bc0a5f0f4956": { - "name": "agentOverridden", - "ordinal": 5, - "value": false - }, - "c752520a09af": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.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 - } - } - } - }, - "d02636603cfd": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "dc0e0f9e2e34": { - "name": "settings.get#1", - "ordinal": 2, - "args": [ - { - "name": "method", - "value": "settings.get" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "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" - } - }, - "f2de4e532279": { - "name": "runtimeSettings", - "ordinal": 4, - "value": { - "$rpc": "undefined" - } - }, - "f648b042d810": { - "name": "settings.get#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"settings.get\"}" - } - }, - "recording": { - "scenario": "matrix-settings.workspace-submit-settings.get-1", - "checkpoints": [ - { - "id": "settings-workspace-submit-fulfilled.prelude:settings-pending", - "observation": { - "sender": ["51d4cb56be85"], - "payloads": ["f648b042d810"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "9270aeb7d9c6" - }, - "state": "13c996e4ec2b", - "effects": ["39f99cf479f0"] - } - }, - { - "id": "settings-workspace-submit-fulfilled.prelude:cleanup", - "observation": { - "sender": ["dc0e0f9e2e34"], - "payloads": ["f648b042d810"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "13c996e4ec2b", - "effects": ["39f99cf479f0", "94ddc6962cd6", "bc0a5f0f4956", "5940cb6d5fdf"] - } - }, - { - "id": "settings-workspace-submit-fulfilled.normal:settled", - "observation": { - "sender": ["778f05cac35e"], - "payloads": ["f648b042d810"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "5efbd884ea5a", - "effects": [ - "39f99cf479f0", - "58752e3dadee", - "37e61a793f91", - "285bfcc87a38", - "483b4c51c982" - ] - } - }, - { - "id": "settings-workspace-submit-fulfilled.result-absent:settled", - "observation": { - "sender": ["d02636603cfd"], - "payloads": ["f648b042d810"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "2e8e352c8dd1", - "effects": ["39f99cf479f0", "94ddc6962cd6", "bc0a5f0f4956", "5940cb6d5fdf"] - } - }, - { - "id": "settings-workspace-submit-fulfilled.result-null:settled", - "observation": { - "sender": ["a5135e33554f"], - "payloads": ["f648b042d810"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "2e8e352c8dd1", - "effects": ["39f99cf479f0", "94ddc6962cd6", "bc0a5f0f4956", "5940cb6d5fdf"] - } - }, - { - "id": "settings-workspace-submit-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": ["5c233f0d08af", "58939cb0b8a9"], - "payloads": ["f648b042d810", "43d3776368e0"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "9270aeb7d9c6" - }, - "state": "7b1c9637063f", - "effects": ["39f99cf479f0", "f2de4e532279"] - } - }, - { - "id": "settings-workspace-submit-fulfilled.inner-ok-missing:cleanup", - "observation": { - "sender": ["5c233f0d08af", "34ebe202db00"], - "payloads": ["f648b042d810", "43d3776368e0"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "7b1c9637063f", - "effects": ["39f99cf479f0", "f2de4e532279", "45fcf53c5b68"] - } - }, - { - "id": "settings-workspace-submit-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": ["c752520a09af", "58939cb0b8a9"], - "payloads": ["f648b042d810", "43d3776368e0"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "9270aeb7d9c6" - }, - "state": "7b1c9637063f", - "effects": ["39f99cf479f0", "f2de4e532279"] - } - }, - { - "id": "settings-workspace-submit-fulfilled.inner-false-string-error:cleanup", - "observation": { - "sender": ["c752520a09af", "34ebe202db00"], - "payloads": ["f648b042d810", "43d3776368e0"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "7b1c9637063f", - "effects": ["39f99cf479f0", "f2de4e532279", "45fcf53c5b68"] - } - }, - { - "id": "settings-workspace-submit-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": ["1a9d36fca761", "58939cb0b8a9"], - "payloads": ["f648b042d810", "43d3776368e0"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "9270aeb7d9c6" - }, - "state": "7b1c9637063f", - "effects": ["39f99cf479f0", "f2de4e532279"] - } - }, - { - "id": "settings-workspace-submit-fulfilled.inner-false-object-error:cleanup", - "observation": { - "sender": ["1a9d36fca761", "34ebe202db00"], - "payloads": ["f648b042d810", "43d3776368e0"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "7b1c9637063f", - "effects": ["39f99cf479f0", "f2de4e532279", "45fcf53c5b68"] - } - }, - { - "id": "settings-workspace-submit-fulfilled.outer-refused:settled", - "observation": { - "sender": ["48d1cd313a00"], - "payloads": ["f648b042d810"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "2e8e352c8dd1", - "effects": ["39f99cf479f0", "94ddc6962cd6", "bc0a5f0f4956", "5940cb6d5fdf"] - } - }, - { - "id": "settings-workspace-submit-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": ["003c16e56b1f"], - "payloads": ["f648b042d810"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "2e8e352c8dd1", - "effects": ["39f99cf479f0", "94ddc6962cd6", "bc0a5f0f4956", "5940cb6d5fdf"] - } - }, - { - "id": "settings-workspace-submit-fulfilled.method-not-found:settled", - "observation": { - "sender": ["5368ee038065"], - "payloads": ["f648b042d810"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "2e8e352c8dd1", - "effects": ["39f99cf479f0", "94ddc6962cd6", "bc0a5f0f4956", "5940cb6d5fdf"] - } - }, - { - "id": "settings-workspace-submit-fulfilled.transport-rejection:settled", - "observation": { - "sender": ["566d8202b582"], - "payloads": ["f648b042d810"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "2e8e352c8dd1", - "effects": ["39f99cf479f0", "94ddc6962cd6", "bc0a5f0f4956", "5940cb6d5fdf"] - } - }, - { - "id": "settings-workspace-submit-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": ["0ca529648be4"], - "payloads": ["f648b042d810"], - "settlements": { - "mount": "eb79a9b3682a", - "submit": "eb79a9b3682a" - }, - "state": "2e8e352c8dd1", - "effects": ["39f99cf479f0", "94ddc6962cd6", "bc0a5f0f4956", "5940cb6d5fdf"] - } - } - ] - } -} 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 deleted file mode 100644 index 88ebf2c8bd7..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-speech.dictation-chunk-speech.dictation.chunk-1.json +++ /dev/null @@ -1,593 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "speech.audio-chunk", - "family": "speech.dictation-chunk", - "namedDeltas": [], - "values": { - "02cebe6f0062": { - "failures": [], - "pending": 0 - }, - "19c961e90970": { - "name": "dictation-failed", - "ordinal": 3, - "value": { - "id": "dictation-1" - } - }, - "2762d465637e": { - "failures": ["Unknown method"], - "pending": 0 - }, - "36a6b302a73d": { - "name": "speech.dictation.chunk#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.chunk" - }, - { - "name": "params", - "value": { - "audioBase64": "ACVKb5S53gM=", - "dictationId": "dictation-1", - "sampleRate": 16000, - "seq": 0 - } - }, - { - "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 - } - } - } - }, - "5133fafc8626": { - "name": "speech.dictation.chunk#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.chunk" - }, - { - "name": "params", - "value": { - "audioBase64": "ACVKb5S53gM=", - "dictationId": "dictation-1", - "sampleRate": 16000, - "seq": 0 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "received": true - } - } - } - }, - "65e5e348650c": { - "name": "speech.dictation.chunk#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.chunk" - }, - { - "name": "params", - "value": { - "audioBase64": "ACVKb5S53gM=", - "dictationId": "dictation-1", - "sampleRate": 16000, - "seq": 0 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "66cc21847b0f": { - "name": "speech.dictation.chunk#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.chunk" - }, - { - "name": "params", - "value": { - "audioBase64": "ACVKb5S53gM=", - "dictationId": "dictation-1", - "sampleRate": 16000, - "seq": 0 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "67bd399925f2": { - "name": "speech.dictation.chunk#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.chunk" - }, - { - "name": "params", - "value": { - "audioBase64": "ACVKb5S53gM=", - "dictationId": "dictation-1", - "sampleRate": 16000, - "seq": 0 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "70f6f0244686": { - "name": "speech.dictation.chunk#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.chunk\",\"params\":{\"dictationId\":\"dictation-1\",\"audioBase64\":\"ACVKb5S53gM=\",\"sampleRate\":16000,\"seq\":0}}" - }, - "8c69a5dd9dd6": { - "name": "speech.dictation.chunk#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.chunk" - }, - { - "name": "params", - "value": { - "audioBase64": "ACVKb5S53gM=", - "dictationId": "dictation-1", - "sampleRate": 16000, - "seq": 0 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "8da39029e37b": { - "name": "speech.dictation.chunk#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.chunk" - }, - { - "name": "params", - "value": { - "audioBase64": "ACVKb5S53gM=", - "dictationId": "dictation-1", - "sampleRate": 16000, - "seq": 0 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "a280755140c5": { - "name": "speech.dictation.chunk#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.chunk" - }, - { - "name": "params", - "value": { - "audioBase64": "ACVKb5S53gM=", - "dictationId": "dictation-1", - "sampleRate": 16000, - "seq": 0 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "a2f842e44f38": { - "failures": ["outer refused"], - "pending": 0 - }, - "b0ee39c0ea35": { - "name": "speech.dictation.chunk#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.chunk" - }, - { - "name": "params", - "value": { - "audioBase64": "ACVKb5S53gM=", - "dictationId": "dictation-1", - "sampleRate": 16000, - "seq": 0 - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "b5157118341f": { - "failures": [""], - "pending": 0 - }, - "bc459c132276": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "status": "fulfilled", - "value": { - "$rpc": "undefined" - } - } - ] - }, - "e37b9cab121b": { - "name": "speech.dictation.chunk#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.chunk" - }, - { - "name": "params", - "value": { - "audioBase64": "ACVKb5S53gM=", - "dictationId": "dictation-1", - "sampleRate": 16000, - "seq": 0 - } - }, - { - "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 - } - } - }, - "f6826a08b96a": { - "name": "speech.dictation.chunk#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.chunk" - }, - { - "name": "params", - "value": { - "audioBase64": "ACVKb5S53gM=", - "dictationId": "dictation-1", - "sampleRate": 16000, - "seq": 0 - } - }, - { - "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-speech.dictation-chunk-speech.dictation.chunk-1", - "checkpoints": [ - { - "id": "speech-audio-chunk-acknowledged.normal:acknowledged", - "observation": { - "sender": ["5133fafc8626"], - "payloads": ["70f6f0244686"], - "settlements": { - "chunk": "bc459c132276" - }, - "state": "02cebe6f0062", - "effects": [] - } - }, - { - "id": "speech-audio-chunk-acknowledged.result-absent:acknowledged", - "observation": { - "sender": ["8da39029e37b"], - "payloads": ["70f6f0244686"], - "settlements": { - "chunk": "bc459c132276" - }, - "state": "02cebe6f0062", - "effects": [] - } - }, - { - "id": "speech-audio-chunk-acknowledged.result-null:acknowledged", - "observation": { - "sender": ["8c69a5dd9dd6"], - "payloads": ["70f6f0244686"], - "settlements": { - "chunk": "bc459c132276" - }, - "state": "02cebe6f0062", - "effects": [] - } - }, - { - "id": "speech-audio-chunk-acknowledged.inner-ok-missing:acknowledged", - "observation": { - "sender": ["65e5e348650c"], - "payloads": ["70f6f0244686"], - "settlements": { - "chunk": "bc459c132276" - }, - "state": "02cebe6f0062", - "effects": [] - } - }, - { - "id": "speech-audio-chunk-acknowledged.inner-false-string-error:acknowledged", - "observation": { - "sender": ["f6826a08b96a"], - "payloads": ["70f6f0244686"], - "settlements": { - "chunk": "bc459c132276" - }, - "state": "02cebe6f0062", - "effects": [] - } - }, - { - "id": "speech-audio-chunk-acknowledged.inner-false-object-error:acknowledged", - "observation": { - "sender": ["36a6b302a73d"], - "payloads": ["70f6f0244686"], - "settlements": { - "chunk": "bc459c132276" - }, - "state": "02cebe6f0062", - "effects": [] - } - }, - { - "id": "speech-audio-chunk-acknowledged.outer-refused:acknowledged", - "observation": { - "sender": ["66cc21847b0f"], - "payloads": ["70f6f0244686"], - "settlements": { - "chunk": "bc459c132276" - }, - "state": "a2f842e44f38", - "effects": ["19c961e90970"] - } - }, - { - "id": "speech-audio-chunk-acknowledged.outer-refused-no-message:acknowledged", - "observation": { - "sender": ["b0ee39c0ea35"], - "payloads": ["70f6f0244686"], - "settlements": { - "chunk": "bc459c132276" - }, - "state": "b5157118341f", - "effects": ["19c961e90970"] - } - }, - { - "id": "speech-audio-chunk-acknowledged.method-not-found:acknowledged", - "observation": { - "sender": ["e37b9cab121b"], - "payloads": ["70f6f0244686"], - "settlements": { - "chunk": "bc459c132276" - }, - "state": "2762d465637e", - "effects": ["19c961e90970"] - } - }, - { - "id": "speech-audio-chunk-acknowledged.transport-rejection:acknowledged", - "observation": { - "sender": ["67bd399925f2"], - "payloads": ["70f6f0244686"], - "settlements": { - "chunk": "bc459c132276" - }, - "state": "02cebe6f0062", - "effects": [] - } - }, - { - "id": "speech-audio-chunk-acknowledged.transport-rejection-no-message:acknowledged", - "observation": { - "sender": ["a280755140c5"], - "payloads": ["70f6f0244686"], - "settlements": { - "chunk": "bc459c132276" - }, - "state": "02cebe6f0062", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 2a94882464f..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-speech.dictation-session-speech.dictation.finish-1.json +++ /dev/null @@ -1,715 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "speech.dictation-session", - "family": "speech.dictation-session", - "namedDeltas": [], - "values": { - "073a32801a55": { - "error": "Cannot read properties of null (reading 'text')", - "status": "error", - "transcripts": [] - }, - "07d3e2ed39d8": { - "name": "speech.dictation.finish#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.finish" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 75000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "11c21b92d88c": { - "error": "No speech detected.", - "status": "error", - "transcripts": [] - }, - "16ac55dedee8": { - "name": "dictation-error", - "ordinal": 6, - "value": { - "message": "outer refused" - } - }, - "1bdc94d60271": { - "name": "speech.dictation.finish#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.finish\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-8ig2henseon\"}}" - }, - "349e2cfd1a1f": { - "name": "speech.dictation.finish#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.finish" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 75000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "4728ad10f92b": { - "name": "speech.dictation.finish#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.finish" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 75000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "text": " hello world " - } - } - } - }, - "4d21a93db98f": { - "error": "", - "status": "error", - "transcripts": [] - }, - "5537a78c5a5d": { - "name": "dictation-error", - "ordinal": 6, - "value": { - "message": "Cannot read properties of null (reading 'text')" - } - }, - "6bf21bf88103": { - "error": "outer refused", - "status": "error", - "transcripts": [] - }, - "6c3d0754a1ff": { - "name": "speech.dictation.cancel#1", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.cancel\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-8ig2henseon\"}}" - }, - "6d6bb34ce2ab": { - "name": "speech.dictation.finish#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.finish" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 75000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "74617082bf69": { - "name": "speech.dictation.finish#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.finish" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "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 - } - } - } - }, - "855dd6b38d06": { - "name": "dictation-error", - "ordinal": 5, - "value": { - "message": "No speech detected." - } - }, - "859d310e63d6": { - "name": "speech.dictation.start#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.start\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-8ig2henseon\"}}" - }, - "88f795a14a21": { - "name": "speech.dictation.finish#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.finish" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 75000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "893e5291c492": { - "name": "speech.dictation.cancel#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "speech.dictation.cancel" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "97af9f7912fc": { - "name": "dictation-error", - "ordinal": 6, - "value": { - "message": "transport failure" - } - }, - "9fce1a80008e": { - "name": "speech.dictation.finish#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.finish" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 75000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "a19279fc9c65": { - "error": { - "$rpc": "null" - }, - "status": "idle", - "transcripts": ["hello world"] - }, - "a1c4e9bebdd4": { - "error": "Unknown method", - "status": "error", - "transcripts": [] - }, - "a46c0f6c95b2": { - "name": "speech.dictation.finish#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.finish" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 75000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "b41f74be4c3d": { - "name": "speech.dictation.finish#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.finish" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "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 - } - } - }, - "b432c878c8da": { - "error": "Cannot read properties of undefined (reading 'text')", - "status": "error", - "transcripts": [] - }, - "bca75e8024b4": { - "name": "dictation-error", - "ordinal": 6, - "value": { - "message": "Unknown method" - } - }, - "bd004568e24c": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "started": true - } - } - } - }, - "cd49b339a081": { - "name": "dictation-error", - "ordinal": 6, - "value": { - "message": "Cannot read properties of undefined (reading 'text')" - } - }, - "cf10282da8e0": { - "name": "speech.dictation.finish#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.finish" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 75000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "d39fbe27003d": { - "name": "dictation-error", - "ordinal": 6, - "value": { - "message": "" - } - }, - "dd2a6fe5923c": { - "error": "transport failure", - "status": "error", - "transcripts": [] - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f4cf5aad78c0": { - "name": "speech.dictation.finish#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.finish" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 75000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - } - }, - "recording": { - "scenario": "matrix-speech.dictation-session-speech.dictation.finish-1", - "checkpoints": [ - { - "id": "speech-dictation-session-transcript.normal:transcribed", - "observation": { - "sender": ["bd004568e24c", "4728ad10f92b"], - "payloads": ["859d310e63d6", "1bdc94d60271"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a19279fc9c65", - "effects": [] - } - }, - { - "id": "speech-dictation-session-transcript.result-absent:transcribed", - "observation": { - "sender": ["bd004568e24c", "88f795a14a21", "893e5291c492"], - "payloads": ["859d310e63d6", "1bdc94d60271", "6c3d0754a1ff"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "b432c878c8da", - "effects": ["cd49b339a081"] - } - }, - { - "id": "speech-dictation-session-transcript.result-null:transcribed", - "observation": { - "sender": ["bd004568e24c", "349e2cfd1a1f", "893e5291c492"], - "payloads": ["859d310e63d6", "1bdc94d60271", "6c3d0754a1ff"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "073a32801a55", - "effects": ["5537a78c5a5d"] - } - }, - { - "id": "speech-dictation-session-transcript.inner-ok-missing:transcribed", - "observation": { - "sender": ["bd004568e24c", "07d3e2ed39d8"], - "payloads": ["859d310e63d6", "1bdc94d60271"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "11c21b92d88c", - "effects": ["855dd6b38d06"] - } - }, - { - "id": "speech-dictation-session-transcript.inner-false-string-error:transcribed", - "observation": { - "sender": ["bd004568e24c", "f4cf5aad78c0"], - "payloads": ["859d310e63d6", "1bdc94d60271"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "11c21b92d88c", - "effects": ["855dd6b38d06"] - } - }, - { - "id": "speech-dictation-session-transcript.inner-false-object-error:transcribed", - "observation": { - "sender": ["bd004568e24c", "74617082bf69"], - "payloads": ["859d310e63d6", "1bdc94d60271"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "11c21b92d88c", - "effects": ["855dd6b38d06"] - } - }, - { - "id": "speech-dictation-session-transcript.outer-refused:transcribed", - "observation": { - "sender": ["bd004568e24c", "a46c0f6c95b2", "893e5291c492"], - "payloads": ["859d310e63d6", "1bdc94d60271", "6c3d0754a1ff"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "6bf21bf88103", - "effects": ["16ac55dedee8"] - } - }, - { - "id": "speech-dictation-session-transcript.outer-refused-no-message:transcribed", - "observation": { - "sender": ["bd004568e24c", "9fce1a80008e", "893e5291c492"], - "payloads": ["859d310e63d6", "1bdc94d60271", "6c3d0754a1ff"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "4d21a93db98f", - "effects": ["d39fbe27003d"] - } - }, - { - "id": "speech-dictation-session-transcript.method-not-found:transcribed", - "observation": { - "sender": ["bd004568e24c", "b41f74be4c3d", "893e5291c492"], - "payloads": ["859d310e63d6", "1bdc94d60271", "6c3d0754a1ff"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a1c4e9bebdd4", - "effects": ["bca75e8024b4"] - } - }, - { - "id": "speech-dictation-session-transcript.transport-rejection:transcribed", - "observation": { - "sender": ["bd004568e24c", "cf10282da8e0", "893e5291c492"], - "payloads": ["859d310e63d6", "1bdc94d60271", "6c3d0754a1ff"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "dd2a6fe5923c", - "effects": ["97af9f7912fc"] - } - }, - { - "id": "speech-dictation-session-transcript.transport-rejection-no-message:transcribed", - "observation": { - "sender": ["bd004568e24c", "6d6bb34ce2ab", "893e5291c492"], - "payloads": ["859d310e63d6", "1bdc94d60271", "6c3d0754a1ff"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "4d21a93db98f", - "effects": ["d39fbe27003d"] - } - } - ] - } -} 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 deleted file mode 100644 index b259a3754c5..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-speech.dictation-session-speech.dictation.start-1.json +++ /dev/null @@ -1,642 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "speech.dictation-session", - "family": "speech.dictation-session", - "namedDeltas": [], - "values": { - "031fac8ed0c3": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "062d9c83659b": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "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 - } - } - }, - "104a53ec5972": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "136c60a2a62f": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "1bdc94d60271": { - "name": "speech.dictation.finish#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.finish\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-8ig2henseon\"}}" - }, - "4728ad10f92b": { - "name": "speech.dictation.finish#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.finish" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 75000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "text": " hello world " - } - } - } - }, - "6d8188e86d2a": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "859d310e63d6": { - "name": "speech.dictation.start#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.start\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-8ig2henseon\"}}" - }, - "85d47816bfc5": { - "name": "speech.dictation.cancel#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.cancel" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "a19279fc9c65": { - "error": { - "$rpc": "null" - }, - "status": "idle", - "transcripts": ["hello world"] - }, - "a8dc23386147": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "b7421e659b44": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "bd004568e24c": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "started": true - } - } - } - }, - "c9d7f3d355eb": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "e05190caf800": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "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" - } - }, - "ebdac948a90d": { - "name": "speech.dictation.cancel#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.cancel\",\"params\":{\"dictationId\":\"mobile-dictation-1767225600000-8ig2henseon\"}}" - }, - "f6a74c428142": { - "error": { - "$rpc": "null" - }, - "status": "starting", - "transcripts": [] - }, - "fb132fa96492": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "mobile-dictation-1767225600000-8ig2henseon" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "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": ["bd004568e24c", "4728ad10f92b"], - "payloads": ["859d310e63d6", "1bdc94d60271"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a19279fc9c65", - "effects": [] - } - }, - { - "id": "speech-dictation-session-transcript.result-absent:transcribed", - "observation": { - "sender": ["136c60a2a62f", "4728ad10f92b"], - "payloads": ["859d310e63d6", "1bdc94d60271"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a19279fc9c65", - "effects": [] - } - }, - { - "id": "speech-dictation-session-transcript.result-null:transcribed", - "observation": { - "sender": ["fb132fa96492", "4728ad10f92b"], - "payloads": ["859d310e63d6", "1bdc94d60271"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a19279fc9c65", - "effects": [] - } - }, - { - "id": "speech-dictation-session-transcript.inner-ok-missing:transcribed", - "observation": { - "sender": ["a8dc23386147", "4728ad10f92b"], - "payloads": ["859d310e63d6", "1bdc94d60271"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a19279fc9c65", - "effects": [] - } - }, - { - "id": "speech-dictation-session-transcript.inner-false-string-error:transcribed", - "observation": { - "sender": ["031fac8ed0c3", "4728ad10f92b"], - "payloads": ["859d310e63d6", "1bdc94d60271"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a19279fc9c65", - "effects": [] - } - }, - { - "id": "speech-dictation-session-transcript.inner-false-object-error:transcribed", - "observation": { - "sender": ["e05190caf800", "4728ad10f92b"], - "payloads": ["859d310e63d6", "1bdc94d60271"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "eb79a9b3682a", - "stop": "eb79a9b3682a" - }, - "state": "a19279fc9c65", - "effects": [] - } - }, - { - "id": "speech-dictation-session-transcript.outer-refused:transcribed", - "observation": { - "sender": ["b7421e659b44", "85d47816bfc5"], - "payloads": ["859d310e63d6", "ebdac948a90d"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "9270aeb7d9c6", - "stop": "eb79a9b3682a" - }, - "state": "f6a74c428142", - "effects": [] - } - }, - { - "id": "speech-dictation-session-transcript.outer-refused-no-message:transcribed", - "observation": { - "sender": ["6d8188e86d2a", "85d47816bfc5"], - "payloads": ["859d310e63d6", "ebdac948a90d"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "9270aeb7d9c6", - "stop": "eb79a9b3682a" - }, - "state": "f6a74c428142", - "effects": [] - } - }, - { - "id": "speech-dictation-session-transcript.method-not-found:transcribed", - "observation": { - "sender": ["062d9c83659b", "85d47816bfc5"], - "payloads": ["859d310e63d6", "ebdac948a90d"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "9270aeb7d9c6", - "stop": "eb79a9b3682a" - }, - "state": "f6a74c428142", - "effects": [] - } - }, - { - "id": "speech-dictation-session-transcript.transport-rejection:transcribed", - "observation": { - "sender": ["104a53ec5972", "85d47816bfc5"], - "payloads": ["859d310e63d6", "ebdac948a90d"], - "settlements": { - "mount": "eb79a9b3682a", - "start": "9270aeb7d9c6", - "stop": "eb79a9b3682a" - }, - "state": "f6a74c428142", - "effects": [] - } - }, - { - "id": "speech-dictation-session-transcript.transport-rejection-no-message:transcribed", - "observation": { - "sender": ["c9d7f3d355eb", "85d47816bfc5"], - "payloads": ["859d310e63d6", "ebdac948a90d"], - "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 deleted file mode 100644 index 3b20c5a8e33..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-speech.dictation-start-speech.dictation.cancel-1.json +++ /dev/null @@ -1,595 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "speech.desktop-start", - "family": "speech.dictation-start", - "namedDeltas": [], - "values": { - "0b8b17cc7b58": { - "name": "speech.dictation.cancel#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.cancel" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "2e3b79ca68ce": { - "name": "speech.dictation.cancel#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.cancel" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "32caef6aa162": { - "name": "speech.dictation.cancel#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.cancel" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "4c42677aca21": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "started": true - } - } - } - }, - "5699810cc2a2": { - "name": "speech.dictation.cancel#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.cancel" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "6f5a48ebce0e": { - "name": "speech.dictation.cancel#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.cancel" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "7ed3d39f0607": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": false - }, - "9ab91ee194b8": { - "name": "speech.dictation.cancel#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.cancel" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "cancelled": true - } - } - } - }, - "a7ddd021010a": { - "name": "speech.dictation.start#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.start\",\"params\":{\"dictationId\":\"dictation-1\"}}" - }, - "b20560e60f90": { - "name": "speech.dictation.cancel#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.cancel" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "b90df4b1e290": { - "name": "speech.dictation.cancel#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.cancel" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "ce9cbc8837fa": { - "name": "speech.dictation.cancel#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.cancel\",\"params\":{\"dictationId\":\"dictation-1\"}}" - }, - "d0501bb1dd67": { - "name": "speech.dictation.cancel#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.cancel" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "d80561ce52f2": { - "name": "speech.dictation.cancel#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.cancel" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "df38de088787": { - "name": "speech.dictation.cancel#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.cancel" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "e0fcd8f8c1a9": { - "activeId": { - "$rpc": "null" - }, - "idle": false, - "started": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-speech.dictation-start-speech.dictation.cancel-1", - "checkpoints": [ - { - "id": "speech-desktop-start-superseded.normal:stale-start-cancelled", - "observation": { - "sender": ["4c42677aca21", "9ab91ee194b8"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.result-absent:stale-start-cancelled", - "observation": { - "sender": ["4c42677aca21", "32caef6aa162"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.result-null:stale-start-cancelled", - "observation": { - "sender": ["4c42677aca21", "6f5a48ebce0e"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.inner-ok-missing:stale-start-cancelled", - "observation": { - "sender": ["4c42677aca21", "df38de088787"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.inner-false-string-error:stale-start-cancelled", - "observation": { - "sender": ["4c42677aca21", "d0501bb1dd67"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.inner-false-object-error:stale-start-cancelled", - "observation": { - "sender": ["4c42677aca21", "5699810cc2a2"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.outer-refused:stale-start-cancelled", - "observation": { - "sender": ["4c42677aca21", "0b8b17cc7b58"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.outer-refused-no-message:stale-start-cancelled", - "observation": { - "sender": ["4c42677aca21", "b90df4b1e290"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.method-not-found:stale-start-cancelled", - "observation": { - "sender": ["4c42677aca21", "b20560e60f90"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.transport-rejection:stale-start-cancelled", - "observation": { - "sender": ["4c42677aca21", "d80561ce52f2"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.transport-rejection-no-message:stale-start-cancelled", - "observation": { - "sender": ["4c42677aca21", "2e3b79ca68ce"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "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 deleted file mode 100644 index ab98d6156c9..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-speech.dictation-start-speech.dictation.start-1.json +++ /dev/null @@ -1,595 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "speech.desktop-start", - "family": "speech.dictation-start", - "namedDeltas": [], - "values": { - "02e3f6a398b9": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "0ac1d1294a4a": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "106b709a0579": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "4c42677aca21": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "started": true - } - } - } - }, - "7ed3d39f0607": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": false - }, - "9ab91ee194b8": { - "name": "speech.dictation.cancel#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "speech.dictation.cancel" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "cancelled": true - } - } - } - }, - "9c6249e03654": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-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 - } - } - }, - "a1030fe3abd4": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "a7ddd021010a": { - "name": "speech.dictation.start#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.start\",\"params\":{\"dictationId\":\"dictation-1\"}}" - }, - "ce9cbc8837fa": { - "name": "speech.dictation.cancel#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.cancel\",\"params\":{\"dictationId\":\"dictation-1\"}}" - }, - "ced9bd128f52": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-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 - } - } - } - }, - "e0fcd8f8c1a9": { - "activeId": { - "$rpc": "null" - }, - "idle": false, - "started": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f010ef5b6bfc": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "f2166355786a": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-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 - } - } - }, - "f2eeb517059d": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-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 - } - } - } - }, - "fe8f7e77754e": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - } - }, - "recording": { - "scenario": "matrix-speech.dictation-start-speech.dictation.start-1", - "checkpoints": [ - { - "id": "speech-desktop-start-superseded.normal:stale-start-cancelled", - "observation": { - "sender": ["4c42677aca21", "9ab91ee194b8"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.result-absent:stale-start-cancelled", - "observation": { - "sender": ["fe8f7e77754e", "9ab91ee194b8"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.result-null:stale-start-cancelled", - "observation": { - "sender": ["0ac1d1294a4a", "9ab91ee194b8"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.inner-ok-missing:stale-start-cancelled", - "observation": { - "sender": ["f010ef5b6bfc", "9ab91ee194b8"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.inner-false-string-error:stale-start-cancelled", - "observation": { - "sender": ["f2eeb517059d", "9ab91ee194b8"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.inner-false-object-error:stale-start-cancelled", - "observation": { - "sender": ["ced9bd128f52", "9ab91ee194b8"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.outer-refused:stale-start-cancelled", - "observation": { - "sender": ["9c6249e03654", "9ab91ee194b8"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.outer-refused-no-message:stale-start-cancelled", - "observation": { - "sender": ["02e3f6a398b9", "9ab91ee194b8"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.method-not-found:stale-start-cancelled", - "observation": { - "sender": ["f2166355786a", "9ab91ee194b8"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.transport-rejection:stale-start-cancelled", - "observation": { - "sender": ["a1030fe3abd4", "9ab91ee194b8"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "settlements": { - "supersede": "eb79a9b3682a", - "start": "7ed3d39f0607" - }, - "state": "e0fcd8f8c1a9", - "effects": [] - } - }, - { - "id": "speech-desktop-start-superseded.transport-rejection-no-message:stale-start-cancelled", - "observation": { - "sender": ["106b709a0579", "9ab91ee194b8"], - "payloads": ["a7ddd021010a", "ce9cbc8837fa"], - "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 deleted file mode 100644 index 653ba49575e..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.dictation.setup-1.json +++ /dev/null @@ -1,846 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "speech.setup-sheet", - "family": "speech.setup-sheet", - "namedDeltas": [], - "values": { - "05fbe06034a1": { - "name": "speech.dictation.setup#1", - "ordinal": 7, - "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 - } - } - }, - "0769edb160f1": { - "name": "speech.dictation.setup#1", - "ordinal": 7, - "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" - } - } - } - }, - "0e61f11d0307": { - "name": "speech.models.delete#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.delete\",\"params\":{\"modelId\":\"whisper-small\"}}" - }, - "2d0263e221bc": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "The host sent a reply this app could not read (speech.dictation.setup)", - "isRpcDeliveryUnknown": false - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "38ccf3e1658f": { - "name": "speech.dictation.setup#1", - "ordinal": 7, - "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" - } - } - } - }, - "4f793e38be31": { - "name": "speech.models.list#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.list\",\"params\":null}" - }, - "694b34cbeee9": { - "name": "speech.models.download#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.download\",\"params\":{\"modelId\":\"whisper-small\"}}" - }, - "6ba3d1a9149b": { - "name": "speech.dictation.setup#1", - "ordinal": 7, - "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 - } - } - }, - "6c40f11805ec": { - "name": "speech.models.list#1", - "ordinal": 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" - } - } - } - }, - "7911f62de742": { - "name": "speech.dictation.setup#1", - "ordinal": 7, - "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 - } - } - } - }, - "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" - } - }, - "91009682699e": { - "name": "speech.dictation.setup#1", - "ordinal": 7, - "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 - } - } - }, - "a2879fd6371d": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "enabled": true, - "models": [ - { - "id": "whisper-small", - "name": "Small", - "status": "ready" - } - ], - "selectedModelId": "whisper-small" - } - }, - "a4f025fdf290": { - "name": "speech.dictation.setup#1", - "ordinal": 7, - "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 - } - } - } - }, - "a6afe02ecf38": { - "name": "speech.dictation.setup#1", - "ordinal": 7, - "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 - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "adbb96fcc08c": { - "name": "speech.models.download#1", - "ordinal": 3, - "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 - } - } - } - }, - "b54630107142": { - "name": "speech.dictation.setup#1", - "ordinal": 7, - "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 - } - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "c2b954773835": { - "name": "speech.dictation.setup#1", - "ordinal": 7, - "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" - } - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d8c329a93e43": { - "name": "speech.models.delete#1", - "ordinal": 5, - "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" - } - } - } - }, - "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 - } - }, - "efb9a676286c": { - "delete": { - "enabled": true, - "models": [], - "selectedModelId": "whisper-small" - }, - "download": "started", - "list": { - "enabled": true, - "models": [ - { - "id": "whisper-small", - "name": "Small", - "status": "ready" - } - ], - "selectedModelId": "whisper-small" - } - }, - "fafb7db38e19": { - "name": "speech.dictation.setup#1", - "ordinal": 7, - "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 - } - } - }, - "fba26d61d9d2": { - "name": "speech.dictation.setup#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.setup\",\"params\":{\"enabled\":true,\"modelId\":\"whisper-small\"}}" - }, - "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": ["6c40f11805ec", "adbb96fcc08c", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "7c5b27891a8f", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.result-absent:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "d8c329a93e43", "05fbe06034a1"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "2d0263e221bc" - }, - "state": "efb9a676286c", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.result-null:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "d8c329a93e43", "0769edb160f1"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "2d0263e221bc" - }, - "state": "efb9a676286c", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "d8c329a93e43", "c2b954773835"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "2d0263e221bc" - }, - "state": "efb9a676286c", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "d8c329a93e43", "7911f62de742"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "2d0263e221bc" - }, - "state": "efb9a676286c", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "d8c329a93e43", "a4f025fdf290"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "2d0263e221bc" - }, - "state": "efb9a676286c", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.outer-refused:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "d8c329a93e43", "a6afe02ecf38"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "32a7c0ae7918" - }, - "state": "efb9a676286c", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "d8c329a93e43", "6ba3d1a9149b"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "ebcaa1a8fa3f" - }, - "state": "efb9a676286c", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.method-not-found:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "d8c329a93e43", "fafb7db38e19"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "b948e8307e81" - }, - "state": "efb9a676286c", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.transport-rejection:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "d8c329a93e43", "91009682699e"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a947768bc0ed" - }, - "state": "efb9a676286c", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "d8c329a93e43", "b54630107142"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "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 deleted file mode 100644 index db6dcf6bc6c..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.models.delete-1.json +++ /dev/null @@ -1,842 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "speech.setup-sheet", - "family": "speech.setup-sheet", - "namedDeltas": [], - "values": { - "0e61f11d0307": { - "name": "speech.models.delete#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.delete\",\"params\":{\"modelId\":\"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" - } - }, - "2b94c4c320cf": { - "name": "speech.models.delete#1", - "ordinal": 5, - "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 - } - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "3368590a2704": { - "name": "speech.models.delete#1", - "ordinal": 5, - "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" - } - } - } - }, - "38ccf3e1658f": { - "name": "speech.dictation.setup#1", - "ordinal": 7, - "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" - } - } - } - }, - "3da47c6c3b87": { - "name": "speech.models.delete#1", - "ordinal": 5, - "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 - } - } - }, - "47237ace2093": { - "name": "speech.models.delete#1", - "ordinal": 5, - "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 - } - } - }, - "4a42b782b6b6": { - "name": "speech.models.delete#1", - "ordinal": 5, - "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" - } - } - } - }, - "4f793e38be31": { - "name": "speech.models.list#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.list\",\"params\":null}" - }, - "694b34cbeee9": { - "name": "speech.models.download#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.download\",\"params\":{\"modelId\":\"whisper-small\"}}" - }, - "6c40f11805ec": { - "name": "speech.models.list#1", - "ordinal": 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" - } - } - } - }, - "7b3eb54c8f03": { - "name": "speech.models.delete#1", - "ordinal": 5, - "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 - } - } - }, - "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" - } - }, - "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 - } - }, - "adbb96fcc08c": { - "name": "speech.models.download#1", - "ordinal": 3, - "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 - } - } - } - }, - "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 - } - }, - "d0d958e4a5e3": { - "name": "speech.models.delete#1", - "ordinal": 5, - "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 - } - } - }, - "d8c329a93e43": { - "name": "speech.models.delete#1", - "ordinal": 5, - "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" - } - } - } - }, - "de657d1b637a": { - "name": "speech.models.delete#1", - "ordinal": 5, - "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 - } - } - }, - "e35a372455e8": { - "name": "speech.models.delete#1", - "ordinal": 5, - "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 - } - } - } - }, - "e5305075c4c9": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "The host sent a reply this app could not read (speech.models.delete)", - "isRpcDeliveryUnknown": false - } - }, - "eb5c8d14744b": { - "name": "speech.models.delete#1", - "ordinal": 5, - "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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "fba26d61d9d2": { - "name": "speech.dictation.setup#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.setup\",\"params\":{\"enabled\":true,\"modelId\":\"whisper-small\"}}" - }, - "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": ["6c40f11805ec", "adbb96fcc08c", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "7c5b27891a8f", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.result-absent:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "47237ace2093", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "e5305075c4c9", - "configure": "a2879fd6371d" - }, - "state": "1f67869c3be1", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.result-null:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "4a42b782b6b6", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "e5305075c4c9", - "configure": "a2879fd6371d" - }, - "state": "1f67869c3be1", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "3368590a2704", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "e5305075c4c9", - "configure": "a2879fd6371d" - }, - "state": "1f67869c3be1", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "e35a372455e8", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "e5305075c4c9", - "configure": "a2879fd6371d" - }, - "state": "1f67869c3be1", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "2b94c4c320cf", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "e5305075c4c9", - "configure": "a2879fd6371d" - }, - "state": "1f67869c3be1", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.outer-refused:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "7b3eb54c8f03", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "32a7c0ae7918", - "configure": "a2879fd6371d" - }, - "state": "1f67869c3be1", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "de657d1b637a", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "aa1c9059345a", - "configure": "a2879fd6371d" - }, - "state": "1f67869c3be1", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.method-not-found:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "d0d958e4a5e3", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "b948e8307e81", - "configure": "a2879fd6371d" - }, - "state": "1f67869c3be1", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.transport-rejection:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "eb5c8d14744b", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "a947768bc0ed", - "configure": "a2879fd6371d" - }, - "state": "1f67869c3be1", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "3da47c6c3b87", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "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 deleted file mode 100644 index 42671d559a9..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.models.download-1.json +++ /dev/null @@ -1,836 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "speech.setup-sheet", - "family": "speech.setup-sheet", - "namedDeltas": [], - "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" - } - }, - "0e61f11d0307": { - "name": "speech.models.delete#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.delete\",\"params\":{\"modelId\":\"whisper-small\"}}" - }, - "238d27d62c33": { - "name": "speech.models.download#1", - "ordinal": 3, - "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 - } - } - }, - "273871a777c6": { - "name": "speech.models.download#1", - "ordinal": 3, - "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" - } - } - } - }, - "288bd5088b94": { - "name": "speech.models.download#1", - "ordinal": 3, - "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 - } - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "36a61053608b": { - "name": "speech.models.download#1", - "ordinal": 3, - "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 - } - } - }, - "38ccf3e1658f": { - "name": "speech.dictation.setup#1", - "ordinal": 7, - "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" - } - } - } - }, - "40061f83193f": { - "name": "speech.models.download#1", - "ordinal": 3, - "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" - } - } - } - }, - "4f793e38be31": { - "name": "speech.models.list#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.list\",\"params\":null}" - }, - "62939d22b365": { - "name": "speech.models.download#1", - "ordinal": 3, - "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 - } - } - } - }, - "694b34cbeee9": { - "name": "speech.models.download#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.download\",\"params\":{\"modelId\":\"whisper-small\"}}" - }, - "6bcda3258415": { - "name": "speech.models.download#1", - "ordinal": 3, - "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 - } - } - }, - "6c40f11805ec": { - "name": "speech.models.list#1", - "ordinal": 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" - } - }, - "9b4b6ad36654": { - "name": "speech.models.download#1", - "ordinal": 3, - "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 - } - } - }, - "a09b81bbb55b": { - "name": "speech.models.download#1", - "ordinal": 3, - "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 - } - } - }, - "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 - } - }, - "ad8e9584c002": { - "name": "speech.models.download#1", - "ordinal": 3, - "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 - } - } - }, - "adbb96fcc08c": { - "name": "speech.models.download#1", - "ordinal": 3, - "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 - } - } - } - }, - "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 - } - }, - "d1b9d465d73d": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Failed to start download", - "isRpcDeliveryUnknown": false - } - }, - "d8c329a93e43": { - "name": "speech.models.delete#1", - "ordinal": 5, - "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" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "fba26d61d9d2": { - "name": "speech.dictation.setup#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.setup\",\"params\":{\"enabled\":true,\"modelId\":\"whisper-small\"}}" - }, - "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": ["6c40f11805ec", "adbb96fcc08c", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "7c5b27891a8f", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.result-absent:settled", - "observation": { - "sender": ["6c40f11805ec", "a09b81bbb55b", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "7c5b27891a8f", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.result-null:settled", - "observation": { - "sender": ["6c40f11805ec", "40061f83193f", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "7c5b27891a8f", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": ["6c40f11805ec", "273871a777c6", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "7c5b27891a8f", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": ["6c40f11805ec", "62939d22b365", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "7c5b27891a8f", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": ["6c40f11805ec", "288bd5088b94", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "7c5b27891a8f", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.outer-refused:settled", - "observation": { - "sender": ["6c40f11805ec", "9b4b6ad36654", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "32a7c0ae7918", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "057063fa142d", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": ["6c40f11805ec", "238d27d62c33", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "d1b9d465d73d", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "057063fa142d", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.method-not-found:settled", - "observation": { - "sender": ["6c40f11805ec", "ad8e9584c002", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "b948e8307e81", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "057063fa142d", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.transport-rejection:settled", - "observation": { - "sender": ["6c40f11805ec", "36a61053608b", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "a947768bc0ed", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "057063fa142d", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": ["6c40f11805ec", "6bcda3258415", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "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 deleted file mode 100644 index 00314bc6a40..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-speech.setup-sheet-speech.models.list-1.json +++ /dev/null @@ -1,836 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "speech.setup-sheet", - "family": "speech.setup-sheet", - "namedDeltas": [], - "values": { - "0e61f11d0307": { - "name": "speech.models.delete#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.delete\",\"params\":{\"modelId\":\"whisper-small\"}}" - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "38ccf3e1658f": { - "name": "speech.dictation.setup#1", - "ordinal": 7, - "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" - } - } - } - }, - "44b46aebf7db": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "The host sent a reply this app could not read (speech.models.list)", - "isRpcDeliveryUnknown": false - } - }, - "4f793e38be31": { - "name": "speech.models.list#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.list\",\"params\":null}" - }, - "53e0a15f84cd": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Failed to load dictation models", - "isRpcDeliveryUnknown": false - } - }, - "55bc8f8bf62a": { - "name": "speech.models.list#1", - "ordinal": 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 - } - } - }, - "64e366a1c93a": { - "name": "speech.models.list#1", - "ordinal": 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" - } - } - } - }, - "694b34cbeee9": { - "name": "speech.models.download#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"speech.models.download\",\"params\":{\"modelId\":\"whisper-small\"}}" - }, - "6c40f11805ec": { - "name": "speech.models.list#1", - "ordinal": 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" - } - } - } - }, - "732e3f6a0bd3": { - "name": "speech.models.list#1", - "ordinal": 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 - } - } - }, - "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" - } - }, - "8a419aef0d30": { - "name": "speech.models.list#1", - "ordinal": 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 - } - } - } - }, - "8c2c55317f83": { - "configure": { - "enabled": true, - "models": [ - { - "id": "whisper-small", - "name": "Small", - "status": "ready" - } - ], - "selectedModelId": "whisper-small" - }, - "delete": { - "enabled": true, - "models": [], - "selectedModelId": "whisper-small" - }, - "download": "started" - }, - "94dfe144483b": { - "name": "speech.models.list#1", - "ordinal": 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 - } - } - } - }, - "a1c6027c24c9": { - "name": "speech.models.list#1", - "ordinal": 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 - } - } - }, - "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 - } - }, - "adbb96fcc08c": { - "name": "speech.models.download#1", - "ordinal": 3, - "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 - } - } - } - }, - "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 - } - }, - "d8c329a93e43": { - "name": "speech.models.delete#1", - "ordinal": 5, - "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" - } - } - } - }, - "e15cca734410": { - "name": "speech.models.list#1", - "ordinal": 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 - } - } - }, - "e5806ea10852": { - "name": "speech.models.list#1", - "ordinal": 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 - } - } - }, - "e7cddd77baba": { - "name": "speech.models.list#1", - "ordinal": 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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "fba26d61d9d2": { - "name": "speech.dictation.setup#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"speech.dictation.setup\",\"params\":{\"enabled\":true,\"modelId\":\"whisper-small\"}}" - }, - "fc5fb77f49bb": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "enabled": true, - "models": [], - "selectedModelId": "whisper-small" - } - }, - "fcf4e2c83b5a": { - "name": "speech.models.list#1", - "ordinal": 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" - } - } - } - } - }, - "recording": { - "scenario": "matrix-speech.setup-sheet-speech.models.list-1", - "checkpoints": [ - { - "id": "speech-setup-sheet-fulfilled.normal:settled", - "observation": { - "sender": ["6c40f11805ec", "adbb96fcc08c", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a2879fd6371d", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "7c5b27891a8f", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.result-absent:settled", - "observation": { - "sender": ["a1c6027c24c9", "adbb96fcc08c", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "44b46aebf7db", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "8c2c55317f83", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.result-null:settled", - "observation": { - "sender": ["fcf4e2c83b5a", "adbb96fcc08c", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "44b46aebf7db", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "8c2c55317f83", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.inner-ok-missing:settled", - "observation": { - "sender": ["64e366a1c93a", "adbb96fcc08c", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "44b46aebf7db", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "8c2c55317f83", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.inner-false-string-error:settled", - "observation": { - "sender": ["8a419aef0d30", "adbb96fcc08c", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "44b46aebf7db", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "8c2c55317f83", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.inner-false-object-error:settled", - "observation": { - "sender": ["94dfe144483b", "adbb96fcc08c", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "44b46aebf7db", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "8c2c55317f83", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.outer-refused:settled", - "observation": { - "sender": ["e15cca734410", "adbb96fcc08c", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "32a7c0ae7918", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "8c2c55317f83", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.outer-refused-no-message:settled", - "observation": { - "sender": ["e5806ea10852", "adbb96fcc08c", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "53e0a15f84cd", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "8c2c55317f83", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.method-not-found:settled", - "observation": { - "sender": ["55bc8f8bf62a", "adbb96fcc08c", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "b948e8307e81", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "8c2c55317f83", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.transport-rejection:settled", - "observation": { - "sender": ["e7cddd77baba", "adbb96fcc08c", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "settlements": { - "list": "a947768bc0ed", - "download": "eb79a9b3682a", - "delete": "fc5fb77f49bb", - "configure": "a2879fd6371d" - }, - "state": "8c2c55317f83", - "effects": [] - } - }, - { - "id": "speech-setup-sheet-fulfilled.transport-rejection-no-message:settled", - "observation": { - "sender": ["732e3f6a0bd3", "adbb96fcc08c", "d8c329a93e43", "38ccf3e1658f"], - "payloads": ["4f793e38be31", "694b34cbeee9", "0e61f11d0307", "fba26d61d9d2"], - "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 deleted file mode 100644 index 8f0ffc780bd..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.addprreviewcomment-1.json +++ /dev/null @@ -1,2779 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-checks-files-github", - "family": "tasks.item-checks-files", - "namedDeltas": [], - "values": { - "02c12ca90bad": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "06713e5b52c2": { - "name": "github.rerunPRChecks#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "github.rerunPRChecks" - }, - { - "name": "params", - "value": { - "failedOnly": true, - "headSha": "head-sha", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "0897aa6ab179": { - "name": "github.resolveReviewThread#1", - "ordinal": 25, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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-3", - "ok": true, - "result": true - } - } - }, - "09fd8ca6f88b": { - "name": "error", - "ordinal": 12, - "value": "" - }, - "117b03aed4e3": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "160ea030346a": { - "name": "reply-salvage", - "ordinal": 41, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.addPRReviewComment", - "operation": "github.add-pr-review-comment", - "variant": "task-comment-written" - } - }, - "1d4275a86e2b": { - "name": "mutatingStatus", - "ordinal": 43, - "value": false - }, - "1fc00c6935cc": { - "name": "mutatingStatus", - "ordinal": 26, - "value": true - }, - "1fcdb4eb0711": { - "name": "error", - "ordinal": 41, - "value": "inner refused" - }, - "2141fc3d6fbb": { - "name": "error", - "ordinal": 37, - "value": "" - }, - "23720cced16f": { - "name": "github.addPRReviewComment#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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" - } - } - } - }, - "26040a8b1d3a": { - "name": "prFileLoadingPath", - "ordinal": 33, - "value": "src/index.ts" - }, - "2653bad4751d": { - "name": "mutatingStatus", - "ordinal": 29, - "value": false - }, - "30e1f7315452": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "3339bcddb7f6": { - "name": "github.addPRReviewComment#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "358e1c422f4f": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "36c3fefc0425": { - "name": "github.addPRReviewComment#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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" - } - } - } - }, - "37cd35ff2a14": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "drafts": { - "src/index.ts:12": "a review comment" - }, - "error": "Failed to add review comment", - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "3c1420f5d355": { - "name": "error", - "ordinal": 41, - "value": "transport failure" - }, - "4031bf455f49": { - "name": "mutatingStatus", - "ordinal": 5, - "value": false - }, - "43190c245c3c": { - "name": "detailPayload", - "ordinal": 22, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "43d3cdd17d5a": { - "name": "expandedPrFilePath", - "ordinal": 4, - "value": { - "$rpc": "null" - } - }, - "43f718a07182": { - "name": "prFileCommentDrafts", - "ordinal": 43, - "value": {} - }, - "451dd689d611": { - "name": "error", - "ordinal": 41, - "value": "outer refused" - }, - "4b7b9d2e6bcb": { - "name": "github.addPRReviewComment#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "510043223313": { - "name": "github.addPRReviewComment#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-5", - "ok": false - } - } - }, - "547ee60b2f0b": { - "name": "detailRefreshSeq", - "ordinal": 3, - "value": 0 - }, - "56faa3ecc30d": { - "name": "github.addPRReviewComment#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "5833ce15d340": { - "name": "error", - "ordinal": 42, - "value": "Failed to add review comment" - }, - "584cca199cb3": { - "name": "prFileLoadingPath", - "ordinal": 36, - "value": { - "$rpc": "null" - } - }, - "58c00f78247d": { - "name": "github.setPRFileViewed#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": true - } - } - }, - "5bb6e7118e15": { - "name": "detailPayload", - "ordinal": 41, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "5f44533ec509": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "60e8d2f72874": { - "name": "mutatingStatus", - "ordinal": 39, - "value": true - }, - "62e92e71cb1f": { - "name": "mutatingStatus", - "ordinal": 17, - "value": false - }, - "6465ff1e851b": { - "name": "github.prFileContents#1", - "ordinal": 34, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" - }, - "648067987aee": { - "name": "github.setPRFileViewed#1", - "ordinal": 21, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"pullRequestId\":\"PR_kwDO\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"path\":\"src/index.ts\",\"viewed\":true}}" - }, - "6890ef34f0fc": { - "name": "mutatingStatus", - "ordinal": 20, - "value": true - }, - "69b715faceb8": { - "name": "detailPayload", - "ordinal": 28, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "69bf06414f49": { - "name": "github.resolveReviewThread#1", - "ordinal": 27, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"threadId\":\"thread-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"resolve\":true}}" - }, - "6d21f6a8c379": { - "name": "expandedPrFilePath", - "ordinal": 32, - "value": "src/index.ts" - }, - "708f9d1db30b": { - "name": "prFileContents", - "ordinal": 35, - "value": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - }, - "738b3a0d2d2a": { - "name": "detailPayload", - "ordinal": 41, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "7b98dbea8d5e": { - "name": "prFileCommentDrafts", - "ordinal": 6, - "value": {} - }, - "84671c6a1f39": { - "name": "github.addPRReviewComment#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "885afc32d1b7": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "8862f0950552": { - "name": "error", - "ordinal": 30, - "value": "" - }, - "8d701a40a83b": { - "name": "github.addPRReviewComment#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true - } - } - }, - "8fc042a7b7d6": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "90c96fb20cb3": { - "name": "error", - "ordinal": 41, - "value": "" - }, - "93cd53f2f029": { - "name": "error", - "ordinal": 41, - "value": "The host sent a reply this app could not read (github.addPRReviewComment)" - }, - "97d5e879f7d1": { - "name": "error", - "ordinal": 24, - "value": "" - }, - "a153dce2c5e8": { - "name": "prFileContents", - "ordinal": 7, - "value": {} - }, - "a1c59218f29e": { - "name": "detailRefreshSeq", - "ordinal": 16, - "value": 1 - }, - "a5a13b6cb7d1": { - "name": "prFileLoadingPath", - "ordinal": 8, - "value": { - "$rpc": "null" - } - }, - "ac3125da26c6": { - "name": "actionItem", - "ordinal": 9, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "ad6815b57613": { - "name": "detailPayload", - "ordinal": 10, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "b9cee4d2cade": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "c1737b577d29": { - "name": "github.addPRReviewComment#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-5", - "ok": false - } - } - }, - "c9c695bcacba": { - "name": "error", - "ordinal": 41, - "value": "Unknown method" - }, - "caf8f91bd626": { - "name": "error", - "ordinal": 18, - "value": "" - }, - "cc26835ea96d": { - "name": "mutatingStatus", - "ordinal": 14, - "value": true - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "d2532c12fd0f": { - "name": "github.addPRReviewComment#1", - "ordinal": 40, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" - }, - "d3202224161e": { - "name": "github.rerunPRChecks#1", - "ordinal": 15, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"headSha\":\"head-sha\",\"failedOnly\":true}}" - }, - "d6cf9d2ddff9": { - "name": "mutatingStatus", - "ordinal": 42, - "value": false - }, - "d9d25a5ea544": { - "name": "mutatingStatus", - "ordinal": 23, - "value": false - }, - "da742078db6a": { - "name": "prFileCommentDrafts", - "ordinal": 11, - "value": { - "src/index.ts:12": "a review comment" - } - }, - "e25d82830738": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "e4b40807794d": { - "name": "github.prFileContents#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-4", - "ok": true, - "result": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "f1b9b0bccf2a": { - "name": "github.addPRReviewComment#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "f971eb19ee72": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "drafts": { - "src/index.ts:12": "a review comment" - }, - "error": "The host sent a reply this app could not read (github.addPRReviewComment)", - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "f9b0f6851485": { - "name": "github.addPRReviewComment#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-5", - "ok": false - } - } - }, - "fbab89f356e5": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - } - }, - "recording": { - "scenario": "matrix-tasks.item-checks-files-github.addprreviewcomment-1", - "checkpoints": [ - { - "id": "tk-item-checks-files.prelude:rerun-settled", - "observation": { - "sender": ["06713e5b52c2"], - "payloads": ["d3202224161e"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a" - }, - "state": "b9cee4d2cade", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-checks-files.prelude:viewed-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "8fc042a7b7d6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.prelude:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "358e1c422f4f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.prelude:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "fbab89f356e5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.normal:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "117b03aed4e3", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.result-absent:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "8d701a40a83b" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "f971eb19ee72", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "93cd53f2f029", - "d6cf9d2ddff9" - ] - } - }, - { - "id": "tk-item-checks-files.result-null:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "36c3fefc0425" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "f971eb19ee72", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "93cd53f2f029", - "d6cf9d2ddff9" - ] - } - }, - { - "id": "tk-item-checks-files.inner-ok-missing:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "23720cced16f" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "885afc32d1b7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "5bb6e7118e15", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-string-error:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "f1b9b0bccf2a" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "02c12ca90bad", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "1fcdb4eb0711", - "d6cf9d2ddff9" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-object-error:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "4b7b9d2e6bcb" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "37cd35ff2a14", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "160ea030346a", - "5833ce15d340", - "1d4275a86e2b" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "f9b0f6851485" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "5f44533ec509", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "451dd689d611", - "d6cf9d2ddff9" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused-no-message:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "c1737b577d29" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "fbab89f356e5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "90c96fb20cb3", - "d6cf9d2ddff9" - ] - } - }, - { - "id": "tk-item-checks-files.method-not-found:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "510043223313" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "30e1f7315452", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "c9c695bcacba", - "d6cf9d2ddff9" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "84671c6a1f39" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "e25d82830738", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "3c1420f5d355", - "d6cf9d2ddff9" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection-no-message:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "56faa3ecc30d" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "fbab89f356e5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "90c96fb20cb3", - "d6cf9d2ddff9" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 2e3dddb8ffa..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.prfilecontents-1.json +++ /dev/null @@ -1,3435 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-checks-files-github", - "family": "tasks.item-checks-files", - "namedDeltas": [], - "values": { - "0306120dad8d": { - "name": "error", - "ordinal": 35, - "value": "Unknown method" - }, - "052d86df74a4": { - "name": "error", - "ordinal": 35, - "value": "transport failure" - }, - "06713e5b52c2": { - "name": "github.rerunPRChecks#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "github.rerunPRChecks" - }, - { - "name": "params", - "value": { - "failedOnly": true, - "headSha": "head-sha", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "0897aa6ab179": { - "name": "github.resolveReviewThread#1", - "ordinal": 25, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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-3", - "ok": true, - "result": true - } - } - }, - "09fd8ca6f88b": { - "name": "error", - "ordinal": 12, - "value": "" - }, - "112fef8fd63c": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "117b03aed4e3": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "1ca5cf6e9703": { - "name": "github.prFileContents#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-4", - "ok": false - } - } - }, - "1fc00c6935cc": { - "name": "mutatingStatus", - "ordinal": 26, - "value": true - }, - "2141fc3d6fbb": { - "name": "error", - "ordinal": 37, - "value": "" - }, - "24153fe22585": { - "name": "github.prFileContents#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "26040a8b1d3a": { - "name": "prFileLoadingPath", - "ordinal": 33, - "value": "src/index.ts" - }, - "2653bad4751d": { - "name": "mutatingStatus", - "ordinal": 29, - "value": false - }, - "291c000ad099": { - "name": "error", - "ordinal": 35, - "value": "" - }, - "2b1444896bfc": { - "name": "error", - "ordinal": 35, - "value": "The host sent a reply this app could not read (github.prFileContents)" - }, - "2e65c902c70a": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "3339bcddb7f6": { - "name": "github.addPRReviewComment#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "358e1c422f4f": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "35d249bc4fa9": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "4031bf455f49": { - "name": "mutatingStatus", - "ordinal": 5, - "value": false - }, - "43190c245c3c": { - "name": "detailPayload", - "ordinal": 22, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "43d3cdd17d5a": { - "name": "expandedPrFilePath", - "ordinal": 4, - "value": { - "$rpc": "null" - } - }, - "43f718a07182": { - "name": "prFileCommentDrafts", - "ordinal": 43, - "value": {} - }, - "546e3b7e3138": { - "name": "github.prFileContents#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-4", - "ok": false - } - } - }, - "547ee60b2f0b": { - "name": "detailRefreshSeq", - "ordinal": 3, - "value": 0 - }, - "584cca199cb3": { - "name": "prFileLoadingPath", - "ordinal": 36, - "value": { - "$rpc": "null" - } - }, - "58c00f78247d": { - "name": "github.setPRFileViewed#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": true - } - } - }, - "5b2ecfa5a8f1": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "5ba97d1cbd53": { - "name": "prFileContents", - "ordinal": 35, - "value": { - "src/index.ts": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - }, - "60e8d2f72874": { - "name": "mutatingStatus", - "ordinal": 39, - "value": true - }, - "62e92e71cb1f": { - "name": "mutatingStatus", - "ordinal": 17, - "value": false - }, - "6465ff1e851b": { - "name": "github.prFileContents#1", - "ordinal": 34, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" - }, - "648067987aee": { - "name": "github.setPRFileViewed#1", - "ordinal": 21, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"pullRequestId\":\"PR_kwDO\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"path\":\"src/index.ts\",\"viewed\":true}}" - }, - "6890ef34f0fc": { - "name": "mutatingStatus", - "ordinal": 20, - "value": true - }, - "69b715faceb8": { - "name": "detailPayload", - "ordinal": 28, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "69bf06414f49": { - "name": "github.resolveReviewThread#1", - "ordinal": 27, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"threadId\":\"thread-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"resolve\":true}}" - }, - "6d21f6a8c379": { - "name": "expandedPrFilePath", - "ordinal": 32, - "value": "src/index.ts" - }, - "6d233d3e6f6e": { - "name": "github.prFileContents#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "708f9d1db30b": { - "name": "prFileContents", - "ordinal": 35, - "value": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - }, - "70eb467424e7": { - "name": "github.prFileContents#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-4", - "ok": true - } - } - }, - "738b3a0d2d2a": { - "name": "detailPayload", - "ordinal": 41, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "7b98dbea8d5e": { - "name": "prFileCommentDrafts", - "ordinal": 6, - "value": {} - }, - "7d40f214f00c": { - "name": "github.prFileContents#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "830236b90aa9": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "86507859b709": { - "name": "error", - "ordinal": 35, - "value": "outer refused" - }, - "86be8df22550": { - "name": "github.prFileContents#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-4", - "ok": false - } - } - }, - "8862f0950552": { - "name": "error", - "ordinal": 30, - "value": "" - }, - "8fc042a7b7d6": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "97d5e879f7d1": { - "name": "error", - "ordinal": 24, - "value": "" - }, - "a153dce2c5e8": { - "name": "prFileContents", - "ordinal": 7, - "value": {} - }, - "a1c59218f29e": { - "name": "detailRefreshSeq", - "ordinal": 16, - "value": 1 - }, - "a2c2b557825f": { - "name": "github.prFileContents#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "a5a13b6cb7d1": { - "name": "prFileLoadingPath", - "ordinal": 8, - "value": { - "$rpc": "null" - } - }, - "ac11510a7628": { - "name": "prFileContents", - "ordinal": 35, - "value": { - "src/index.ts": { - "error": "refused" - } - } - }, - "ac3125da26c6": { - "name": "actionItem", - "ordinal": 9, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "ad6815b57613": { - "name": "detailPayload", - "ordinal": 10, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "b99f4633d802": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "b9cee4d2cade": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "c114f73baea0": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "c3c5814ca856": { - "name": "github.prFileContents#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "c9926ca0938e": { - "name": "prFileContents", - "ordinal": 35, - "value": { - "src/index.ts": { - "error": "inner refused", - "ok": false - } - } - }, - "caf8f91bd626": { - "name": "error", - "ordinal": 18, - "value": "" - }, - "cc26835ea96d": { - "name": "mutatingStatus", - "ordinal": 14, - "value": true - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "cd6cef6b9aee": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "d2532c12fd0f": { - "name": "github.addPRReviewComment#1", - "ordinal": 40, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" - }, - "d3202224161e": { - "name": "github.rerunPRChecks#1", - "ordinal": 15, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"headSha\":\"head-sha\",\"failedOnly\":true}}" - }, - "d6cf9d2ddff9": { - "name": "mutatingStatus", - "ordinal": 42, - "value": false - }, - "d9d25a5ea544": { - "name": "mutatingStatus", - "ordinal": 23, - "value": false - }, - "da742078db6a": { - "name": "prFileCommentDrafts", - "ordinal": 11, - "value": { - "src/index.ts:12": "a review comment" - } - }, - "e2fcdb6ce15e": { - "contents": {}, - "drafts": { - "src/index.ts:12": "a review comment" - }, - "error": "The host sent a reply this app could not read (github.prFileContents)", - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "e4b40807794d": { - "name": "github.prFileContents#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-4", - "ok": true, - "result": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - } - }, - "e993164822f6": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "edf69bea358f": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "f05b001da498": { - "name": "github.prFileContents#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-4", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "fbab89f356e5": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - } - }, - "recording": { - "scenario": "matrix-tasks.item-checks-files-github.prfilecontents-1", - "checkpoints": [ - { - "id": "tk-item-checks-files.prelude:rerun-settled", - "observation": { - "sender": ["06713e5b52c2"], - "payloads": ["d3202224161e"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a" - }, - "state": "b9cee4d2cade", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-checks-files.prelude:viewed-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "8fc042a7b7d6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.prelude:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "358e1c422f4f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.normal:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "fbab89f356e5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.normal:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "117b03aed4e3", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.result-absent:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179", "70eb467424e7"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "e2fcdb6ce15e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "2b1444896bfc", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.result-absent:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "70eb467424e7", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "35d249bc4fa9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "2b1444896bfc", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.result-null:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179", "6d233d3e6f6e"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "e2fcdb6ce15e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "2b1444896bfc", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.result-null:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "6d233d3e6f6e", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "35d249bc4fa9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "2b1444896bfc", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.inner-ok-missing:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179", "7d40f214f00c"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "cd6cef6b9aee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "ac11510a7628", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.inner-ok-missing:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "7d40f214f00c", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "2e65c902c70a", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "ac11510a7628", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-string-error:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179", "c3c5814ca856"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "830236b90aa9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "c9926ca0938e", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-string-error:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "c3c5814ca856", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "b99f4633d802", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "c9926ca0938e", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-object-error:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179", "f05b001da498"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "c114f73baea0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "5ba97d1cbd53", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-object-error:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "f05b001da498", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "e993164822f6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "5ba97d1cbd53", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179", "546e3b7e3138"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "112fef8fd63c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "86507859b709", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "546e3b7e3138", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "35d249bc4fa9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "86507859b709", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused-no-message:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179", "1ca5cf6e9703"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "358e1c422f4f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "291c000ad099", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused-no-message:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "1ca5cf6e9703", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "35d249bc4fa9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "291c000ad099", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.method-not-found:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179", "86be8df22550"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "5b2ecfa5a8f1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "0306120dad8d", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.method-not-found:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "86be8df22550", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "35d249bc4fa9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "0306120dad8d", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179", "24153fe22585"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "edf69bea358f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "052d86df74a4", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "24153fe22585", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "35d249bc4fa9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "052d86df74a4", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection-no-message:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179", "a2c2b557825f"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "358e1c422f4f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "291c000ad099", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection-no-message:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "a2c2b557825f", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "35d249bc4fa9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "291c000ad099", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - } - ] - } -} 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 deleted file mode 100644 index e67613c9e22..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.rerunprchecks-1.json +++ /dev/null @@ -1,4812 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-checks-files-github", - "family": "tasks.item-checks-files", - "namedDeltas": [], - "values": { - "06713e5b52c2": { - "name": "github.rerunPRChecks#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "github.rerunPRChecks" - }, - { - "name": "params", - "value": { - "failedOnly": true, - "headSha": "head-sha", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "0897aa6ab179": { - "name": "github.resolveReviewThread#1", - "ordinal": 25, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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-3", - "ok": true, - "result": true - } - } - }, - "09fd8ca6f88b": { - "name": "error", - "ordinal": 12, - "value": "" - }, - "0dbeebf037ef": { - "name": "github.rerunPRChecks#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "github.rerunPRChecks" - }, - { - "name": "params", - "value": { - "failedOnly": true, - "headSha": "head-sha", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "117b03aed4e3": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "1d4275a86e2b": { - "name": "mutatingStatus", - "ordinal": 43, - "value": false - }, - "1e00eb1a59ec": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 0 - }, - "1fc00c6935cc": { - "name": "mutatingStatus", - "ordinal": 26, - "value": true - }, - "2141fc3d6fbb": { - "name": "error", - "ordinal": 37, - "value": "" - }, - "232dd85ac277": { - "name": "github.resolveReviewThread#1", - "ordinal": 28, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"threadId\":\"thread-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"resolve\":true}}" - }, - "24d5e2e2113b": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"pullRequestId\":\"PR_kwDO\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"path\":\"src/index.ts\",\"viewed\":true}}" - }, - "26040a8b1d3a": { - "name": "prFileLoadingPath", - "ordinal": 33, - "value": "src/index.ts" - }, - "2653bad4751d": { - "name": "mutatingStatus", - "ordinal": 29, - "value": false - }, - "2d8d5e501a0d": { - "name": "mutatingStatus", - "ordinal": 21, - "value": true - }, - "30d7144b9ba9": { - "name": "github.prFileContents#1", - "ordinal": 32, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-4", - "ok": true, - "result": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - } - }, - "3339bcddb7f6": { - "name": "github.addPRReviewComment#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "358e1c422f4f": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "37375d573fda": { - "name": "error", - "ordinal": 16, - "value": "transport failure" - }, - "37f13105f333": { - "name": "github.rerunPRChecks#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "github.rerunPRChecks" - }, - { - "name": "params", - "value": { - "failedOnly": true, - "headSha": "head-sha", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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" - } - } - } - }, - "3cbd5f7dae63": { - "name": "error", - "ordinal": 17, - "value": "Failed to rerun checks" - }, - "3d04becd956c": { - "name": "error", - "ordinal": 38, - "value": "" - }, - "4031bf455f49": { - "name": "mutatingStatus", - "ordinal": 5, - "value": false - }, - "43190c245c3c": { - "name": "detailPayload", - "ordinal": 22, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "43d3cdd17d5a": { - "name": "expandedPrFilePath", - "ordinal": 4, - "value": { - "$rpc": "null" - } - }, - "43f718a07182": { - "name": "prFileCommentDrafts", - "ordinal": 43, - "value": {} - }, - "48920da12310": { - "name": "github.rerunPRChecks#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "github.rerunPRChecks" - }, - { - "name": "params", - "value": { - "failedOnly": true, - "headSha": "head-sha", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-1", - "ok": false - } - } - }, - "50d463fd05ec": { - "name": "github.setPRFileViewed#1", - "ordinal": 20, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": true - } - } - }, - "547ee60b2f0b": { - "name": "detailRefreshSeq", - "ordinal": 3, - "value": 0 - }, - "584cca199cb3": { - "name": "prFileLoadingPath", - "ordinal": 36, - "value": { - "$rpc": "null" - } - }, - "58c00f78247d": { - "name": "github.setPRFileViewed#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": true - } - } - }, - "59d097565f7c": { - "name": "detailPayload", - "ordinal": 29, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "5a3bc7276718": { - "name": "github.addPRReviewComment#1", - "ordinal": 41, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" - }, - "5b3adc8d2a2a": { - "name": "expandedPrFilePath", - "ordinal": 33, - "value": "src/index.ts" - }, - "5caa91de8ee5": { - "name": "github.rerunPRChecks#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "github.rerunPRChecks" - }, - { - "name": "params", - "value": { - "failedOnly": true, - "headSha": "head-sha", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-1", - "ok": false - } - } - }, - "5d63f4a64061": { - "name": "detailPayload", - "ordinal": 23, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "5e4361e7b7c2": { - "name": "mutatingStatus", - "ordinal": 30, - "value": false - }, - "60e8d2f72874": { - "name": "mutatingStatus", - "ordinal": 39, - "value": true - }, - "6153c8841f12": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 0 - }, - "62e92e71cb1f": { - "name": "mutatingStatus", - "ordinal": 17, - "value": false - }, - "6465ff1e851b": { - "name": "github.prFileContents#1", - "ordinal": 34, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" - }, - "648067987aee": { - "name": "github.setPRFileViewed#1", - "ordinal": 21, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"pullRequestId\":\"PR_kwDO\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"path\":\"src/index.ts\",\"viewed\":true}}" - }, - "6890ef34f0fc": { - "name": "mutatingStatus", - "ordinal": 20, - "value": true - }, - "69b715faceb8": { - "name": "detailPayload", - "ordinal": 28, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "69bf06414f49": { - "name": "github.resolveReviewThread#1", - "ordinal": 27, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"threadId\":\"thread-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"resolve\":true}}" - }, - "6b2ff02e6ada": { - "name": "error", - "ordinal": 16, - "value": "The host sent a reply this app could not read (github.rerunPRChecks)" - }, - "6d21f6a8c379": { - "name": "expandedPrFilePath", - "ordinal": 32, - "value": "src/index.ts" - }, - "708f9d1db30b": { - "name": "prFileContents", - "ordinal": 35, - "value": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - }, - "7247c91a749b": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 0 - }, - "738b3a0d2d2a": { - "name": "detailPayload", - "ordinal": 41, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "739c5af2b924": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 0 - }, - "745c99dafc44": { - "name": "github.rerunPRChecks#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "github.rerunPRChecks" - }, - { - "name": "params", - "value": { - "failedOnly": true, - "headSha": "head-sha", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-1", - "ok": false - } - } - }, - "746abf742343": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 0 - }, - "757ad24ae047": { - "name": "prFileContents", - "ordinal": 36, - "value": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - }, - "786943bd371f": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 0 - }, - "7b98dbea8d5e": { - "name": "prFileCommentDrafts", - "ordinal": 6, - "value": {} - }, - "7ef47dc74e38": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 0 - }, - "842f3ee6a11e": { - "name": "prFileCommentDrafts", - "ordinal": 44, - "value": {} - }, - "86e90c00dd53": { - "name": "reply-salvage", - "ordinal": 16, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.rerunPRChecks", - "operation": "github.rerun-pr-checks", - "variant": "task-item-mutation" - } - }, - "8862f0950552": { - "name": "error", - "ordinal": 30, - "value": "" - }, - "8cb855d45e9f": { - "contents": {}, - "drafts": { - "src/index.ts:12": "a review comment" - }, - "error": "Failed to rerun checks", - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 0 - }, - "8f62f3b3d979": { - "name": "github.rerunPRChecks#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "github.rerunPRChecks" - }, - { - "name": "params", - "value": { - "failedOnly": true, - "headSha": "head-sha", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "8fc042a7b7d6": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "94caa29bceef": { - "name": "error", - "ordinal": 19, - "value": "" - }, - "97d5e879f7d1": { - "name": "error", - "ordinal": 24, - "value": "" - }, - "9d1f08a6e600": { - "name": "error", - "ordinal": 16, - "value": "" - }, - "a0be8300c9c7": { - "name": "github.prFileContents#1", - "ordinal": 35, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" - }, - "a13d9e90afad": { - "name": "error", - "ordinal": 16, - "value": "Unknown method" - }, - "a153dce2c5e8": { - "name": "prFileContents", - "ordinal": 7, - "value": {} - }, - "a164cb1b3dca": { - "name": "error", - "ordinal": 16, - "value": "outer refused" - }, - "a17cf032d1cb": { - "name": "mutatingStatus", - "ordinal": 18, - "value": false - }, - "a1c59218f29e": { - "name": "detailRefreshSeq", - "ordinal": 16, - "value": 1 - }, - "a5a13b6cb7d1": { - "name": "prFileLoadingPath", - "ordinal": 8, - "value": { - "$rpc": "null" - } - }, - "a65bb3de0582": { - "name": "github.rerunPRChecks#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "github.rerunPRChecks" - }, - { - "name": "params", - "value": { - "failedOnly": true, - "headSha": "head-sha", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "a7ad88db13f3": { - "name": "prFileLoadingPath", - "ordinal": 34, - "value": "src/index.ts" - }, - "ac3125da26c6": { - "name": "actionItem", - "ordinal": 9, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "ad6815b57613": { - "name": "detailPayload", - "ordinal": 10, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "ae73ecd72f19": { - "name": "error", - "ordinal": 16, - "value": "inner refused" - }, - "b1b7d0dd112f": { - "name": "mutatingStatus", - "ordinal": 40, - "value": true - }, - "b4f3b072f887": { - "name": "mutatingStatus", - "ordinal": 27, - "value": true - }, - "b724335bd84d": { - "name": "github.resolveReviewThread#1", - "ordinal": 26, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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-3", - "ok": true, - "result": true - } - } - }, - "b9c28f257769": { - "name": "github.rerunPRChecks#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "github.rerunPRChecks" - }, - { - "name": "params", - "value": { - "failedOnly": true, - "headSha": "head-sha", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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" - } - } - } - }, - "b9cee4d2cade": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "bd4cb6b32aaa": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 0 - }, - "c39f4874472e": { - "name": "error", - "ordinal": 31, - "value": "" - }, - "c40da88e1087": { - "name": "error", - "ordinal": 25, - "value": "" - }, - "c63944e690eb": { - "name": "github.rerunPRChecks#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "github.rerunPRChecks" - }, - { - "name": "params", - "value": { - "failedOnly": true, - "headSha": "head-sha", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 60000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "caf8f91bd626": { - "name": "error", - "ordinal": 18, - "value": "" - }, - "cc26835ea96d": { - "name": "mutatingStatus", - "ordinal": 14, - "value": true - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "ce651eda4380": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 0 - }, - "cf7a37e5994b": { - "name": "prFileLoadingPath", - "ordinal": 37, - "value": { - "$rpc": "null" - } - }, - "d2532c12fd0f": { - "name": "github.addPRReviewComment#1", - "ordinal": 40, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" - }, - "d3202224161e": { - "name": "github.rerunPRChecks#1", - "ordinal": 15, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"headSha\":\"head-sha\",\"failedOnly\":true}}" - }, - "d6cf9d2ddff9": { - "name": "mutatingStatus", - "ordinal": 42, - "value": false - }, - "d9d25a5ea544": { - "name": "mutatingStatus", - "ordinal": 23, - "value": false - }, - "da52b2b19466": { - "name": "mutatingStatus", - "ordinal": 24, - "value": false - }, - "da742078db6a": { - "name": "prFileCommentDrafts", - "ordinal": 11, - "value": { - "src/index.ts:12": "a review comment" - } - }, - "e1803c98e14a": { - "name": "github.addPRReviewComment#1", - "ordinal": 39, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "e4b40807794d": { - "name": "github.prFileContents#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-4", - "ok": true, - "result": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eb848e22b853": { - "name": "detailPayload", - "ordinal": 42, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "fa2d756c0db4": { - "name": "github.rerunPRChecks#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "github.rerunPRChecks" - }, - { - "name": "params", - "value": { - "failedOnly": true, - "headSha": "head-sha", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "fbab89f356e5": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "feef0ba9ba9c": { - "contents": {}, - "drafts": { - "src/index.ts:12": "a review comment" - }, - "error": "The host sent a reply this app could not read (github.rerunPRChecks)", - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 0 - } - }, - "recording": { - "scenario": "matrix-tasks.item-checks-files-github.rerunprchecks-1", - "checkpoints": [ - { - "id": "tk-item-checks-files.normal:rerun-settled", - "observation": { - "sender": ["06713e5b52c2"], - "payloads": ["d3202224161e"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a" - }, - "state": "b9cee4d2cade", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-checks-files.normal:viewed-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "8fc042a7b7d6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.normal:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "358e1c422f4f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.normal:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "fbab89f356e5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.normal:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "117b03aed4e3", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.result-absent:rerun-settled", - "observation": { - "sender": ["c63944e690eb"], - "payloads": ["d3202224161e"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a" - }, - "state": "feef0ba9ba9c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "6b2ff02e6ada", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-checks-files.result-absent:viewed-settled", - "observation": { - "sender": ["c63944e690eb", "58c00f78247d"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "739c5af2b924", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "6b2ff02e6ada", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.result-absent:thread-settled", - "observation": { - "sender": ["c63944e690eb", "58c00f78247d", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "786943bd371f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "6b2ff02e6ada", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.result-absent:expand-settled", - "observation": { - "sender": ["c63944e690eb", "58c00f78247d", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "bd4cb6b32aaa", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "6b2ff02e6ada", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.result-absent:file-comment-settled", - "observation": { - "sender": [ - "c63944e690eb", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "ce651eda4380", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "6b2ff02e6ada", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.result-null:rerun-settled", - "observation": { - "sender": ["37f13105f333"], - "payloads": ["d3202224161e"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a" - }, - "state": "feef0ba9ba9c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "6b2ff02e6ada", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-checks-files.result-null:viewed-settled", - "observation": { - "sender": ["37f13105f333", "58c00f78247d"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "739c5af2b924", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "6b2ff02e6ada", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.result-null:thread-settled", - "observation": { - "sender": ["37f13105f333", "58c00f78247d", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "786943bd371f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "6b2ff02e6ada", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.result-null:expand-settled", - "observation": { - "sender": ["37f13105f333", "58c00f78247d", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "bd4cb6b32aaa", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "6b2ff02e6ada", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.result-null:file-comment-settled", - "observation": { - "sender": [ - "37f13105f333", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "ce651eda4380", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "6b2ff02e6ada", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.inner-ok-missing:rerun-settled", - "observation": { - "sender": ["b9c28f257769"], - "payloads": ["d3202224161e"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a" - }, - "state": "b9cee4d2cade", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-checks-files.inner-ok-missing:viewed-settled", - "observation": { - "sender": ["b9c28f257769", "58c00f78247d"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "8fc042a7b7d6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.inner-ok-missing:thread-settled", - "observation": { - "sender": ["b9c28f257769", "58c00f78247d", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "358e1c422f4f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.inner-ok-missing:expand-settled", - "observation": { - "sender": ["b9c28f257769", "58c00f78247d", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "fbab89f356e5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.inner-ok-missing:file-comment-settled", - "observation": { - "sender": [ - "b9c28f257769", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "117b03aed4e3", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-string-error:rerun-settled", - "observation": { - "sender": ["fa2d756c0db4"], - "payloads": ["d3202224161e"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a" - }, - "state": "746abf742343", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "ae73ecd72f19", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-string-error:viewed-settled", - "observation": { - "sender": ["fa2d756c0db4", "58c00f78247d"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "739c5af2b924", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "ae73ecd72f19", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-string-error:thread-settled", - "observation": { - "sender": ["fa2d756c0db4", "58c00f78247d", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "786943bd371f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "ae73ecd72f19", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-string-error:expand-settled", - "observation": { - "sender": ["fa2d756c0db4", "58c00f78247d", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "bd4cb6b32aaa", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "ae73ecd72f19", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-string-error:file-comment-settled", - "observation": { - "sender": [ - "fa2d756c0db4", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "ce651eda4380", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "ae73ecd72f19", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-object-error:rerun-settled", - "observation": { - "sender": ["0dbeebf037ef"], - "payloads": ["d3202224161e"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a" - }, - "state": "8cb855d45e9f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "86e90c00dd53", - "3cbd5f7dae63", - "a17cf032d1cb" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-object-error:viewed-settled", - "observation": { - "sender": ["0dbeebf037ef", "50d463fd05ec"], - "payloads": ["d3202224161e", "24d5e2e2113b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "739c5af2b924", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "86e90c00dd53", - "3cbd5f7dae63", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "5d63f4a64061", - "da52b2b19466" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-object-error:thread-settled", - "observation": { - "sender": ["0dbeebf037ef", "50d463fd05ec", "b724335bd84d"], - "payloads": ["d3202224161e", "24d5e2e2113b", "232dd85ac277"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "786943bd371f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "86e90c00dd53", - "3cbd5f7dae63", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "5d63f4a64061", - "da52b2b19466", - "c40da88e1087", - "b4f3b072f887", - "59d097565f7c", - "5e4361e7b7c2" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-object-error:expand-settled", - "observation": { - "sender": ["0dbeebf037ef", "50d463fd05ec", "b724335bd84d", "30d7144b9ba9"], - "payloads": ["d3202224161e", "24d5e2e2113b", "232dd85ac277", "a0be8300c9c7"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "bd4cb6b32aaa", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "86e90c00dd53", - "3cbd5f7dae63", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "5d63f4a64061", - "da52b2b19466", - "c40da88e1087", - "b4f3b072f887", - "59d097565f7c", - "5e4361e7b7c2", - "c39f4874472e", - "5b3adc8d2a2a", - "a7ad88db13f3", - "757ad24ae047", - "cf7a37e5994b" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-object-error:file-comment-settled", - "observation": { - "sender": [ - "0dbeebf037ef", - "50d463fd05ec", - "b724335bd84d", - "30d7144b9ba9", - "e1803c98e14a" - ], - "payloads": [ - "d3202224161e", - "24d5e2e2113b", - "232dd85ac277", - "a0be8300c9c7", - "5a3bc7276718" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "ce651eda4380", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "86e90c00dd53", - "3cbd5f7dae63", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "5d63f4a64061", - "da52b2b19466", - "c40da88e1087", - "b4f3b072f887", - "59d097565f7c", - "5e4361e7b7c2", - "c39f4874472e", - "5b3adc8d2a2a", - "a7ad88db13f3", - "757ad24ae047", - "cf7a37e5994b", - "3d04becd956c", - "b1b7d0dd112f", - "eb848e22b853", - "1d4275a86e2b", - "842f3ee6a11e" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused:rerun-settled", - "observation": { - "sender": ["745c99dafc44"], - "payloads": ["d3202224161e"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a" - }, - "state": "7247c91a749b", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a164cb1b3dca", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused:viewed-settled", - "observation": { - "sender": ["745c99dafc44", "58c00f78247d"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "739c5af2b924", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a164cb1b3dca", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused:thread-settled", - "observation": { - "sender": ["745c99dafc44", "58c00f78247d", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "786943bd371f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a164cb1b3dca", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused:expand-settled", - "observation": { - "sender": ["745c99dafc44", "58c00f78247d", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "bd4cb6b32aaa", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a164cb1b3dca", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused:file-comment-settled", - "observation": { - "sender": [ - "745c99dafc44", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "ce651eda4380", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a164cb1b3dca", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused-no-message:rerun-settled", - "observation": { - "sender": ["48920da12310"], - "payloads": ["d3202224161e"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a" - }, - "state": "6153c8841f12", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "9d1f08a6e600", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused-no-message:viewed-settled", - "observation": { - "sender": ["48920da12310", "58c00f78247d"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "739c5af2b924", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "9d1f08a6e600", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused-no-message:thread-settled", - "observation": { - "sender": ["48920da12310", "58c00f78247d", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "786943bd371f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "9d1f08a6e600", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused-no-message:expand-settled", - "observation": { - "sender": ["48920da12310", "58c00f78247d", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "bd4cb6b32aaa", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "9d1f08a6e600", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused-no-message:file-comment-settled", - "observation": { - "sender": [ - "48920da12310", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "ce651eda4380", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "9d1f08a6e600", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.method-not-found:rerun-settled", - "observation": { - "sender": ["5caa91de8ee5"], - "payloads": ["d3202224161e"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a" - }, - "state": "1e00eb1a59ec", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a13d9e90afad", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-checks-files.method-not-found:viewed-settled", - "observation": { - "sender": ["5caa91de8ee5", "58c00f78247d"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "739c5af2b924", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a13d9e90afad", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.method-not-found:thread-settled", - "observation": { - "sender": ["5caa91de8ee5", "58c00f78247d", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "786943bd371f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a13d9e90afad", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.method-not-found:expand-settled", - "observation": { - "sender": ["5caa91de8ee5", "58c00f78247d", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "bd4cb6b32aaa", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a13d9e90afad", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.method-not-found:file-comment-settled", - "observation": { - "sender": [ - "5caa91de8ee5", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "ce651eda4380", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a13d9e90afad", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection:rerun-settled", - "observation": { - "sender": ["a65bb3de0582"], - "payloads": ["d3202224161e"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a" - }, - "state": "7ef47dc74e38", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "37375d573fda", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection:viewed-settled", - "observation": { - "sender": ["a65bb3de0582", "58c00f78247d"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "739c5af2b924", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "37375d573fda", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection:thread-settled", - "observation": { - "sender": ["a65bb3de0582", "58c00f78247d", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "786943bd371f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "37375d573fda", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection:expand-settled", - "observation": { - "sender": ["a65bb3de0582", "58c00f78247d", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "bd4cb6b32aaa", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "37375d573fda", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection:file-comment-settled", - "observation": { - "sender": [ - "a65bb3de0582", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "ce651eda4380", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "37375d573fda", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection-no-message:rerun-settled", - "observation": { - "sender": ["8f62f3b3d979"], - "payloads": ["d3202224161e"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a" - }, - "state": "6153c8841f12", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "9d1f08a6e600", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection-no-message:viewed-settled", - "observation": { - "sender": ["8f62f3b3d979", "58c00f78247d"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "739c5af2b924", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "9d1f08a6e600", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection-no-message:thread-settled", - "observation": { - "sender": ["8f62f3b3d979", "58c00f78247d", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "786943bd371f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "9d1f08a6e600", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection-no-message:expand-settled", - "observation": { - "sender": ["8f62f3b3d979", "58c00f78247d", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "bd4cb6b32aaa", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "9d1f08a6e600", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection-no-message:file-comment-settled", - "observation": { - "sender": [ - "8f62f3b3d979", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "ce651eda4380", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "9d1f08a6e600", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - } - ] - } -} 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 deleted file mode 100644 index ee04c855a96..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.resolvereviewthread-1.json +++ /dev/null @@ -1,3481 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-checks-files-github", - "family": "tasks.item-checks-files", - "namedDeltas": [], - "values": { - "06713e5b52c2": { - "name": "github.rerunPRChecks#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "github.rerunPRChecks" - }, - { - "name": "params", - "value": { - "failedOnly": true, - "headSha": "head-sha", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "0897aa6ab179": { - "name": "github.resolveReviewThread#1", - "ordinal": 25, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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-3", - "ok": true, - "result": true - } - } - }, - "08c92a56e4f9": { - "name": "error", - "ordinal": 28, - "value": "Unknown method" - }, - "09fd8ca6f88b": { - "name": "error", - "ordinal": 12, - "value": "" - }, - "0a1d4fe65fec": { - "name": "github.resolveReviewThread#1", - "ordinal": 25, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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-3", - "ok": true - } - } - }, - "1092739d4a94": { - "name": "github.resolveReviewThread#1", - "ordinal": 25, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "117b03aed4e3": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "198dc574b5bd": { - "name": "detailPayload", - "ordinal": 41, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "1dfdf2a14ccb": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "1fc00c6935cc": { - "name": "mutatingStatus", - "ordinal": 26, - "value": true - }, - "2141fc3d6fbb": { - "name": "error", - "ordinal": 37, - "value": "" - }, - "26040a8b1d3a": { - "name": "prFileLoadingPath", - "ordinal": 33, - "value": "src/index.ts" - }, - "2653bad4751d": { - "name": "mutatingStatus", - "ordinal": 29, - "value": false - }, - "3339bcddb7f6": { - "name": "github.addPRReviewComment#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "358e1c422f4f": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "383856cde1e7": { - "name": "error", - "ordinal": 28, - "value": "outer refused" - }, - "4031bf455f49": { - "name": "mutatingStatus", - "ordinal": 5, - "value": false - }, - "43190c245c3c": { - "name": "detailPayload", - "ordinal": 22, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "43d3cdd17d5a": { - "name": "expandedPrFilePath", - "ordinal": 4, - "value": { - "$rpc": "null" - } - }, - "43f718a07182": { - "name": "prFileCommentDrafts", - "ordinal": 43, - "value": {} - }, - "484e5b3de56e": { - "name": "error", - "ordinal": 28, - "value": "" - }, - "4f6685a3bd9d": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "50517532f062": { - "name": "github.resolveReviewThread#1", - "ordinal": 25, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "547ee60b2f0b": { - "name": "detailRefreshSeq", - "ordinal": 3, - "value": 0 - }, - "584cca199cb3": { - "name": "prFileLoadingPath", - "ordinal": 36, - "value": { - "$rpc": "null" - } - }, - "58c00f78247d": { - "name": "github.setPRFileViewed#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": true - } - } - }, - "59b854d947a0": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "60e8d2f72874": { - "name": "mutatingStatus", - "ordinal": 39, - "value": true - }, - "62e92e71cb1f": { - "name": "mutatingStatus", - "ordinal": 17, - "value": false - }, - "6465ff1e851b": { - "name": "github.prFileContents#1", - "ordinal": 34, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" - }, - "648067987aee": { - "name": "github.setPRFileViewed#1", - "ordinal": 21, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"pullRequestId\":\"PR_kwDO\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"path\":\"src/index.ts\",\"viewed\":true}}" - }, - "6890ef34f0fc": { - "name": "mutatingStatus", - "ordinal": 20, - "value": true - }, - "69b715faceb8": { - "name": "detailPayload", - "ordinal": 28, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "69bf06414f49": { - "name": "github.resolveReviewThread#1", - "ordinal": 27, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"threadId\":\"thread-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"resolve\":true}}" - }, - "6d21f6a8c379": { - "name": "expandedPrFilePath", - "ordinal": 32, - "value": "src/index.ts" - }, - "708f9d1db30b": { - "name": "prFileContents", - "ordinal": 35, - "value": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - }, - "738b3a0d2d2a": { - "name": "detailPayload", - "ordinal": 41, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "79da0637297d": { - "name": "github.resolveReviewThread#1", - "ordinal": 25, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "7a76b26a4a88": { - "name": "github.resolveReviewThread#1", - "ordinal": 25, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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-3", - "ok": false - } - } - }, - "7b98dbea8d5e": { - "name": "prFileCommentDrafts", - "ordinal": 6, - "value": {} - }, - "80fbdb098dc4": { - "name": "github.resolveReviewThread#1", - "ordinal": 25, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "8862f0950552": { - "name": "error", - "ordinal": 30, - "value": "" - }, - "8a7454b23d1c": { - "name": "error", - "ordinal": 28, - "value": "The host sent a reply this app could not read (github.resolveReviewThread)" - }, - "8af95552f020": { - "name": "github.resolveReviewThread#1", - "ordinal": 25, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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-3", - "ok": false - } - } - }, - "8bb6b4a7d0ce": { - "name": "github.resolveReviewThread#1", - "ordinal": 25, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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-3", - "ok": false - } - } - }, - "8fc042a7b7d6": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "93fa6d6e0ac8": { - "name": "github.resolveReviewThread#1", - "ordinal": 25, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "97d5e879f7d1": { - "name": "error", - "ordinal": 24, - "value": "" - }, - "a153dce2c5e8": { - "name": "prFileContents", - "ordinal": 7, - "value": {} - }, - "a1c59218f29e": { - "name": "detailRefreshSeq", - "ordinal": 16, - "value": 1 - }, - "a5a13b6cb7d1": { - "name": "prFileLoadingPath", - "ordinal": 8, - "value": { - "$rpc": "null" - } - }, - "ac3125da26c6": { - "name": "actionItem", - "ordinal": 9, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "ad6815b57613": { - "name": "detailPayload", - "ordinal": 10, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "b9cee4d2cade": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "c243c99c90c9": { - "contents": {}, - "drafts": { - "src/index.ts:12": "a review comment" - }, - "error": "The host sent a reply this app could not read (github.resolveReviewThread)", - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "caf8f91bd626": { - "name": "error", - "ordinal": 18, - "value": "" - }, - "cc26835ea96d": { - "name": "mutatingStatus", - "ordinal": 14, - "value": true - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "d2532c12fd0f": { - "name": "github.addPRReviewComment#1", - "ordinal": 40, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" - }, - "d2538c0ed385": { - "name": "github.resolveReviewThread#1", - "ordinal": 25, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "d3202224161e": { - "name": "github.rerunPRChecks#1", - "ordinal": 15, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"headSha\":\"head-sha\",\"failedOnly\":true}}" - }, - "d6cf9d2ddff9": { - "name": "mutatingStatus", - "ordinal": 42, - "value": false - }, - "d9d25a5ea544": { - "name": "mutatingStatus", - "ordinal": 23, - "value": false - }, - "da742078db6a": { - "name": "prFileCommentDrafts", - "ordinal": 11, - "value": { - "src/index.ts:12": "a review comment" - } - }, - "e4b40807794d": { - "name": "github.prFileContents#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-4", - "ok": true, - "result": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - } - }, - "e82b0702f46d": { - "name": "error", - "ordinal": 28, - "value": "transport failure" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec5537f7fbaf": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "f2f44c99d4c6": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "fbab89f356e5": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - } - }, - "recording": { - "scenario": "matrix-tasks.item-checks-files-github.resolvereviewthread-1", - "checkpoints": [ - { - "id": "tk-item-checks-files.prelude:rerun-settled", - "observation": { - "sender": ["06713e5b52c2"], - "payloads": ["d3202224161e"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a" - }, - "state": "b9cee4d2cade", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-checks-files.prelude:viewed-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "8fc042a7b7d6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.normal:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "358e1c422f4f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.normal:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "fbab89f356e5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.normal:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "117b03aed4e3", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.result-absent:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0a1d4fe65fec"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "c243c99c90c9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "8a7454b23d1c", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.result-absent:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0a1d4fe65fec", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "f2f44c99d4c6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "8a7454b23d1c", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.result-absent:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0a1d4fe65fec", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "1dfdf2a14ccb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "8a7454b23d1c", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "198dc574b5bd", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.result-null:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "80fbdb098dc4"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "c243c99c90c9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "8a7454b23d1c", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.result-null:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "80fbdb098dc4", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "f2f44c99d4c6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "8a7454b23d1c", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.result-null:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "80fbdb098dc4", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "1dfdf2a14ccb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "8a7454b23d1c", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "198dc574b5bd", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.inner-ok-missing:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "d2538c0ed385"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "c243c99c90c9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "8a7454b23d1c", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.inner-ok-missing:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "d2538c0ed385", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "f2f44c99d4c6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "8a7454b23d1c", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.inner-ok-missing:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "d2538c0ed385", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "1dfdf2a14ccb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "8a7454b23d1c", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "198dc574b5bd", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-string-error:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "50517532f062"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "c243c99c90c9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "8a7454b23d1c", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-string-error:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "50517532f062", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "f2f44c99d4c6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "8a7454b23d1c", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-string-error:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "50517532f062", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "1dfdf2a14ccb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "8a7454b23d1c", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "198dc574b5bd", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-object-error:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "79da0637297d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "c243c99c90c9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "8a7454b23d1c", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-object-error:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "79da0637297d", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "f2f44c99d4c6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "8a7454b23d1c", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-object-error:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "79da0637297d", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "1dfdf2a14ccb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "8a7454b23d1c", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "198dc574b5bd", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "8af95552f020"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "59b854d947a0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "383856cde1e7", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "8af95552f020", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "f2f44c99d4c6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "383856cde1e7", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "8af95552f020", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "1dfdf2a14ccb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "383856cde1e7", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "198dc574b5bd", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused-no-message:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "7a76b26a4a88"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "8fc042a7b7d6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "484e5b3de56e", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused-no-message:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "7a76b26a4a88", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "f2f44c99d4c6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "484e5b3de56e", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused-no-message:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "7a76b26a4a88", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "1dfdf2a14ccb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "484e5b3de56e", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "198dc574b5bd", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.method-not-found:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "8bb6b4a7d0ce"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "ec5537f7fbaf", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "08c92a56e4f9", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.method-not-found:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "8bb6b4a7d0ce", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "f2f44c99d4c6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "08c92a56e4f9", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.method-not-found:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "8bb6b4a7d0ce", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "1dfdf2a14ccb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "08c92a56e4f9", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "198dc574b5bd", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "93fa6d6e0ac8"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "4f6685a3bd9d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "e82b0702f46d", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "93fa6d6e0ac8", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "f2f44c99d4c6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "e82b0702f46d", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "93fa6d6e0ac8", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "1dfdf2a14ccb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "e82b0702f46d", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "198dc574b5bd", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection-no-message:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "1092739d4a94"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "8fc042a7b7d6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "484e5b3de56e", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection-no-message:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "1092739d4a94", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "f2f44c99d4c6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "484e5b3de56e", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection-no-message:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "1092739d4a94", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "1dfdf2a14ccb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "484e5b3de56e", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "198dc574b5bd", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 8ba486677d0..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-checks-files-github.setprfileviewed-1.json +++ /dev/null @@ -1,3936 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-checks-files-github", - "family": "tasks.item-checks-files", - "namedDeltas": [], - "values": { - "066c75de07ee": { - "name": "github.setPRFileViewed#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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-2", - "ok": false - } - } - }, - "06713e5b52c2": { - "name": "github.rerunPRChecks#1", - "ordinal": 13, - "args": [ - { - "name": "method", - "value": "github.rerunPRChecks" - }, - { - "name": "params", - "value": { - "failedOnly": true, - "headSha": "head-sha", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "0897aa6ab179": { - "name": "github.resolveReviewThread#1", - "ordinal": 25, - "args": [ - { - "name": "method", - "value": "github.resolveReviewThread" - }, - { - "name": "params", - "value": { - "prRepo": { - "host": "github.com", - "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-3", - "ok": true, - "result": true - } - } - }, - "09b208a742b0": { - "name": "github.setPRFileViewed#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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-2", - "ok": false - } - } - }, - "09fd8ca6f88b": { - "name": "error", - "ordinal": 12, - "value": "" - }, - "0acc9ff005f2": { - "name": "github.setPRFileViewed#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "117b03aed4e3": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "1fc00c6935cc": { - "name": "mutatingStatus", - "ordinal": 26, - "value": true - }, - "2141fc3d6fbb": { - "name": "error", - "ordinal": 37, - "value": "" - }, - "26040a8b1d3a": { - "name": "prFileLoadingPath", - "ordinal": 33, - "value": "src/index.ts" - }, - "2653bad4751d": { - "name": "mutatingStatus", - "ordinal": 29, - "value": false - }, - "29ed7524dd3c": { - "name": "error", - "ordinal": 22, - "value": "" - }, - "3339bcddb7f6": { - "name": "github.addPRReviewComment#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.addPRReviewComment" - }, - { - "name": "params", - "value": { - "body": "a review comment", - "commitId": "head-sha", - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "358e1c422f4f": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "36abc09bcdf7": { - "name": "error", - "ordinal": 22, - "value": "Unknown method" - }, - "3cf4e34c1b5b": { - "name": "error", - "ordinal": 22, - "value": "The host sent a reply this app could not read (github.setPRFileViewed)" - }, - "4031bf455f49": { - "name": "mutatingStatus", - "ordinal": 5, - "value": false - }, - "43190c245c3c": { - "name": "detailPayload", - "ordinal": 22, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "43d3cdd17d5a": { - "name": "expandedPrFilePath", - "ordinal": 4, - "value": { - "$rpc": "null" - } - }, - "43f718a07182": { - "name": "prFileCommentDrafts", - "ordinal": 43, - "value": {} - }, - "4aba1dee2bbb": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "4d3951847cd5": { - "name": "error", - "ordinal": 22, - "value": "transport failure" - }, - "546489aa87cf": { - "name": "github.setPRFileViewed#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "547ee60b2f0b": { - "name": "detailRefreshSeq", - "ordinal": 3, - "value": 0 - }, - "5702798653b9": { - "name": "detailPayload", - "ordinal": 41, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "584cca199cb3": { - "name": "prFileLoadingPath", - "ordinal": 36, - "value": { - "$rpc": "null" - } - }, - "58c00f78247d": { - "name": "github.setPRFileViewed#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": true - } - } - }, - "5eb72d97c192": { - "contents": {}, - "drafts": { - "src/index.ts:12": "a review comment" - }, - "error": "The host sent a reply this app could not read (github.setPRFileViewed)", - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "5f2aa5c5f67b": { - "name": "detailPayload", - "ordinal": 28, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "60e8d2f72874": { - "name": "mutatingStatus", - "ordinal": 39, - "value": true - }, - "62e92e71cb1f": { - "name": "mutatingStatus", - "ordinal": 17, - "value": false - }, - "6465ff1e851b": { - "name": "github.prFileContents#1", - "ordinal": 34, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.prFileContents\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"path\":\"src/index.ts\",\"status\":\"modified\",\"headSha\":\"head-sha\",\"baseSha\":\"base-sha\"}}" - }, - "648067987aee": { - "name": "github.setPRFileViewed#1", - "ordinal": 21, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.setPRFileViewed\",\"params\":{\"repo\":\"id:repo-1\",\"pullRequestId\":\"PR_kwDO\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"path\":\"src/index.ts\",\"viewed\":true}}" - }, - "6890ef34f0fc": { - "name": "mutatingStatus", - "ordinal": 20, - "value": true - }, - "69b715faceb8": { - "name": "detailPayload", - "ordinal": 28, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "69bf06414f49": { - "name": "github.resolveReviewThread#1", - "ordinal": 27, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.resolveReviewThread\",\"params\":{\"repo\":\"id:repo-1\",\"threadId\":\"thread-1\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"resolve\":true}}" - }, - "6d21f6a8c379": { - "name": "expandedPrFilePath", - "ordinal": 32, - "value": "src/index.ts" - }, - "6f2c55059a53": { - "name": "github.setPRFileViewed#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "708f9d1db30b": { - "name": "prFileContents", - "ordinal": 35, - "value": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - }, - "738b3a0d2d2a": { - "name": "detailPayload", - "ordinal": 41, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "75a14c2e7039": { - "name": "error", - "ordinal": 22, - "value": "outer refused" - }, - "7b98dbea8d5e": { - "name": "prFileCommentDrafts", - "ordinal": 6, - "value": {} - }, - "8862f0950552": { - "name": "error", - "ordinal": 30, - "value": "" - }, - "8fc042a7b7d6": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "97d5e879f7d1": { - "name": "error", - "ordinal": 24, - "value": "" - }, - "a153dce2c5e8": { - "name": "prFileContents", - "ordinal": 7, - "value": {} - }, - "a1c59218f29e": { - "name": "detailRefreshSeq", - "ordinal": 16, - "value": 1 - }, - "a4c8c5b83b46": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "a50a607e601a": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "a5970f67692b": { - "name": "github.setPRFileViewed#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "a5a13b6cb7d1": { - "name": "prFileLoadingPath", - "ordinal": 8, - "value": { - "$rpc": "null" - } - }, - "ac1d2e0f8094": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "ac3125da26c6": { - "name": "actionItem", - "ordinal": 9, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "ad6815b57613": { - "name": "detailPayload", - "ordinal": 10, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "b9cee4d2cade": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "c78b51dacd3a": { - "name": "github.setPRFileViewed#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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-2", - "ok": true - } - } - }, - "caf8f91bd626": { - "name": "error", - "ordinal": 18, - "value": "" - }, - "cc26835ea96d": { - "name": "mutatingStatus", - "ordinal": 14, - "value": true - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "d07f3c2980d8": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "d17c0953def4": { - "name": "github.setPRFileViewed#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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-2", - "ok": false - } - } - }, - "d1fab97a55c5": { - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - }, - "d2532c12fd0f": { - "name": "github.addPRReviewComment#1", - "ordinal": 40, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewComment\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"commitId\":\"head-sha\",\"path\":\"src/index.ts\",\"line\":12,\"body\":\"a review comment\"}}" - }, - "d3202224161e": { - "name": "github.rerunPRChecks#1", - "ordinal": 15, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.rerunPRChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"headSha\":\"head-sha\",\"failedOnly\":true}}" - }, - "d6cf9d2ddff9": { - "name": "mutatingStatus", - "ordinal": 42, - "value": false - }, - "d9d25a5ea544": { - "name": "mutatingStatus", - "ordinal": 23, - "value": false - }, - "da742078db6a": { - "name": "prFileCommentDrafts", - "ordinal": 11, - "value": { - "src/index.ts:12": "a review comment" - } - }, - "deb6aeb8fc0c": { - "name": "github.setPRFileViewed#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "e4b40807794d": { - "name": "github.prFileContents#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "github.prFileContents" - }, - { - "name": "params", - "value": { - "baseSha": "base-sha", - "headSha": "head-sha", - "oldPath": { - "$rpc": "undefined" - }, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-4", - "ok": true, - "result": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - } - }, - "eb466a359f68": { - "name": "github.setPRFileViewed#1", - "ordinal": 19, - "args": [ - { - "name": "method", - "value": "github.setPRFileViewed" - }, - { - "name": "params", - "value": { - "path": "src/index.ts", - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "fbab89f356e5": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": 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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - }, - "refreshSeq": 1 - } - }, - "recording": { - "scenario": "matrix-tasks.item-checks-files-github.setprfileviewed-1", - "checkpoints": [ - { - "id": "tk-item-checks-files.prelude:rerun-settled", - "observation": { - "sender": ["06713e5b52c2"], - "payloads": ["d3202224161e"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a" - }, - "state": "b9cee4d2cade", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-checks-files.normal:viewed-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "8fc042a7b7d6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.normal:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "358e1c422f4f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.normal:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "58c00f78247d", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "fbab89f356e5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.normal:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "58c00f78247d", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "117b03aed4e3", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "43190c245c3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "69b715faceb8", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "738b3a0d2d2a", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.result-absent:viewed-settled", - "observation": { - "sender": ["06713e5b52c2", "c78b51dacd3a"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "5eb72d97c192", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.result-absent:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "c78b51dacd3a", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "d07f3c2980d8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.result-absent:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "c78b51dacd3a", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "ac1d2e0f8094", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.result-absent:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "c78b51dacd3a", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "4aba1dee2bbb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "5702798653b9", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.result-null:viewed-settled", - "observation": { - "sender": ["06713e5b52c2", "eb466a359f68"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "5eb72d97c192", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.result-null:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "eb466a359f68", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "d07f3c2980d8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.result-null:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "eb466a359f68", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "ac1d2e0f8094", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.result-null:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "eb466a359f68", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "4aba1dee2bbb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "5702798653b9", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.inner-ok-missing:viewed-settled", - "observation": { - "sender": ["06713e5b52c2", "0acc9ff005f2"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "5eb72d97c192", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.inner-ok-missing:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "0acc9ff005f2", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "d07f3c2980d8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.inner-ok-missing:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "0acc9ff005f2", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "ac1d2e0f8094", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.inner-ok-missing:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "0acc9ff005f2", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "4aba1dee2bbb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "5702798653b9", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-string-error:viewed-settled", - "observation": { - "sender": ["06713e5b52c2", "6f2c55059a53"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "5eb72d97c192", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-string-error:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "6f2c55059a53", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "d07f3c2980d8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-string-error:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "6f2c55059a53", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "ac1d2e0f8094", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-string-error:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "6f2c55059a53", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "4aba1dee2bbb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "5702798653b9", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-object-error:viewed-settled", - "observation": { - "sender": ["06713e5b52c2", "deb6aeb8fc0c"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "5eb72d97c192", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-object-error:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "deb6aeb8fc0c", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "d07f3c2980d8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-object-error:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "deb6aeb8fc0c", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "ac1d2e0f8094", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.inner-false-object-error:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "deb6aeb8fc0c", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "4aba1dee2bbb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "3cf4e34c1b5b", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "5702798653b9", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused:viewed-settled", - "observation": { - "sender": ["06713e5b52c2", "d17c0953def4"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "a50a607e601a", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "75a14c2e7039", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "d17c0953def4", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "d07f3c2980d8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "75a14c2e7039", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "d17c0953def4", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "ac1d2e0f8094", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "75a14c2e7039", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "d17c0953def4", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "4aba1dee2bbb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "75a14c2e7039", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "5702798653b9", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused-no-message:viewed-settled", - "observation": { - "sender": ["06713e5b52c2", "09b208a742b0"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "b9cee4d2cade", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "29ed7524dd3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused-no-message:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "09b208a742b0", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "d07f3c2980d8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "29ed7524dd3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused-no-message:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "09b208a742b0", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "ac1d2e0f8094", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "29ed7524dd3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.outer-refused-no-message:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "09b208a742b0", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "4aba1dee2bbb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "29ed7524dd3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "5702798653b9", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.method-not-found:viewed-settled", - "observation": { - "sender": ["06713e5b52c2", "066c75de07ee"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "d1fab97a55c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "36abc09bcdf7", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.method-not-found:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "066c75de07ee", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "d07f3c2980d8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "36abc09bcdf7", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.method-not-found:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "066c75de07ee", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "ac1d2e0f8094", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "36abc09bcdf7", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.method-not-found:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "066c75de07ee", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "4aba1dee2bbb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "36abc09bcdf7", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "5702798653b9", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection:viewed-settled", - "observation": { - "sender": ["06713e5b52c2", "546489aa87cf"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "a4c8c5b83b46", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "4d3951847cd5", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "546489aa87cf", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "d07f3c2980d8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "4d3951847cd5", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "546489aa87cf", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "ac1d2e0f8094", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "4d3951847cd5", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "546489aa87cf", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "4aba1dee2bbb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "4d3951847cd5", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "5702798653b9", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection-no-message:viewed-settled", - "observation": { - "sender": ["06713e5b52c2", "a5970f67692b"], - "payloads": ["d3202224161e", "648067987aee"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a" - }, - "state": "b9cee4d2cade", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "29ed7524dd3c", - "d9d25a5ea544" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection-no-message:thread-settled", - "observation": { - "sender": ["06713e5b52c2", "a5970f67692b", "0897aa6ab179"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a" - }, - "state": "d07f3c2980d8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "29ed7524dd3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection-no-message:expand-settled", - "observation": { - "sender": ["06713e5b52c2", "a5970f67692b", "0897aa6ab179", "e4b40807794d"], - "payloads": ["d3202224161e", "648067987aee", "69bf06414f49", "6465ff1e851b"], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a" - }, - "state": "ac1d2e0f8094", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "29ed7524dd3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3" - ] - } - }, - { - "id": "tk-item-checks-files.transport-rejection-no-message:file-comment-settled", - "observation": { - "sender": [ - "06713e5b52c2", - "a5970f67692b", - "0897aa6ab179", - "e4b40807794d", - "3339bcddb7f6" - ], - "payloads": [ - "d3202224161e", - "648067987aee", - "69bf06414f49", - "6465ff1e851b", - "d2532c12fd0f" - ], - "settlements": { - "mount": "eb79a9b3682a", - "rerun-0": "eb79a9b3682a", - "viewed-1": "eb79a9b3682a", - "thread-2": "eb79a9b3682a", - "expand-3": "eb79a9b3682a", - "file-comment-4": "eb79a9b3682a" - }, - "state": "4aba1dee2bbb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "547ee60b2f0b", - "43d3cdd17d5a", - "4031bf455f49", - "7b98dbea8d5e", - "a153dce2c5e8", - "a5a13b6cb7d1", - "ac3125da26c6", - "ad6815b57613", - "da742078db6a", - "09fd8ca6f88b", - "cc26835ea96d", - "a1c59218f29e", - "62e92e71cb1f", - "caf8f91bd626", - "6890ef34f0fc", - "29ed7524dd3c", - "d9d25a5ea544", - "97d5e879f7d1", - "1fc00c6935cc", - "5f2aa5c5f67b", - "2653bad4751d", - "8862f0950552", - "6d21f6a8c379", - "26040a8b1d3a", - "708f9d1db30b", - "584cca199cb3", - "2141fc3d6fbb", - "60e8d2f72874", - "5702798653b9", - "d6cf9d2ddff9", - "43f718a07182" - ] - } - } - ] - } -} 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 deleted file mode 100644 index d2c96c4112f..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-comment-github-github.addissuecomment-1.json +++ /dev/null @@ -1,1681 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-comment-github", - "family": "tasks.item-comment-github", - "namedDeltas": [], - "values": { - "07ef7d14c889": { - "name": "github.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 9, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - }, - "1ca30ac68b76": { - "name": "detailPayload", - "ordinal": 7, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000issue\u00009" - } - }, - "21d560a20bed": { - "name": "error", - "ordinal": 14, - "value": "inner refused" - }, - "35d0b8f88583": { - "draft": "a comment", - "error": "Failed to add comment", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000issue\u00009" - } - }, - "36782b753721": { - "name": "error", - "ordinal": 14, - "value": "Unknown method" - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "3dcb764dc8c1": { - "name": "github.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 9, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - }, - "4031bf455f49": { - "name": "mutatingStatus", - "ordinal": 5, - "value": false - }, - "4c1c4760a1be": { - "draft": "a comment", - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000issue\u00009" - } - }, - "53506297367b": { - "name": "itemCommentDraft", - "ordinal": 3, - "value": "" - }, - "5737a7806a0c": { - "name": "mutatingStatus", - "ordinal": 15, - "value": false - }, - "60408a63c561": { - "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", - "url": "https://github.com/owner/repo/issues/9" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000issue\u00009" - } - }, - "62e022313cc6": { - "draft": "a comment", - "error": "The host sent a reply this app could not read (github.addIssueComment)", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000issue\u00009" - } - }, - "69e396c2097f": { - "name": "github.addIssueComment#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"body\":\"a comment\",\"type\":\"issue\",\"prRepo\":{\"host\":\"github.com\",\"owner\":\"owner\",\"repo\":\"repo\"}}}" - }, - "6f50ec77f02f": { - "name": "itemCommentDraft", - "ordinal": 15, - "value": "" - }, - "75fe0f8ebd56": { - "name": "github.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 9, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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" - } - } - } - }, - "886c60a7e62e": { - "name": "mutatingStatus", - "ordinal": 12, - "value": true - }, - "9010a529a9c5": { - "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", - "url": "https://github.com/owner/repo/issues/9" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000issue\u00009" - } - }, - "9331fbfa07e4": { - "name": "itemCommentDraft", - "ordinal": 9, - "value": "a comment" - }, - "948fc1352362": { - "name": "github.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 9, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - }, - "96e0dcb7faa2": { - "draft": "", - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000issue\u00009" - } - }, - "a5be11ae5c8a": { - "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", - "url": "https://github.com/owner/repo/issues/9" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000issue\u00009" - } - }, - "ac15f5699a77": { - "name": "itemReviewersDraft", - "ordinal": 8, - "value": "octocat" - }, - "ae745d4c2372": { - "name": "detailPayload", - "ordinal": 14, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000issue\u00009" - } - }, - "b36fef11f7dc": { - "draft": "", - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000issue\u00009" - } - }, - "b48ea402190b": { - "name": "github.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 9, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "b4d4bed6d6f6": { - "name": "github.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 9, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - }, - "c06d5657b19b": { - "name": "github.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 9, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "c43ab05aed16": { - "name": "actionItem", - "ordinal": 6, - "value": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "An issue" - } - }, - "c445ea7e151b": { - "name": "github.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 9, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "c650cf641414": { - "name": "itemReviewersDraft", - "ordinal": 4, - "value": "" - }, - "cb543ce964ae": { - "name": "error", - "ordinal": 14, - "value": "outer refused" - }, - "cbae54d3d351": { - "name": "mutatingStatus", - "ordinal": 16, - "value": false - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "cc399e1bb52f": { - "name": "reply-salvage", - "ordinal": 14, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.addIssueComment", - "operation": "github.add-issue-comment", - "variant": "task-comment-written" - } - }, - "d1ce0b01d5b1": { - "name": "github.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 9, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "d2dbf7f1707e": { - "name": "error", - "ordinal": 15, - "value": "Failed to add comment" - }, - "e731dec72710": { - "name": "github.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 9, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec0b17d4eab6": { - "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", - "url": "https://github.com/owner/repo/issues/9" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000issue\u00009" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ef8932b03a8c": { - "name": "error", - "ordinal": 14, - "value": "" - }, - "f65e0af02b52": { - "name": "error", - "ordinal": 14, - "value": "transport failure" - }, - "fa158073af7f": { - "name": "detailPayload", - "ordinal": 14, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000issue\u00009" - } - }, - "fcd528ecdf6c": { - "name": "github.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 9, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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" - } - } - } - }, - "ffd879a2e2be": { - "name": "error", - "ordinal": 14, - "value": "The host sent a reply this app could not read (github.addIssueComment)" - } - }, - "recording": { - "scenario": "matrix-tasks.item-comment-github-github.addissuecomment-1", - "checkpoints": [ - { - "id": "tk-item-comment-github.normal:comment-settled", - "observation": { - "sender": ["c445ea7e151b"], - "payloads": ["69e396c2097f"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "b36fef11f7dc", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "c43ab05aed16", - "1ca30ac68b76", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "ae745d4c2372", - "6f50ec77f02f", - "cbae54d3d351" - ] - } - }, - { - "id": "tk-item-comment-github.result-absent:comment-settled", - "observation": { - "sender": ["b48ea402190b"], - "payloads": ["69e396c2097f"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "62e022313cc6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "c43ab05aed16", - "1ca30ac68b76", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "ffd879a2e2be", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-github.result-null:comment-settled", - "observation": { - "sender": ["fcd528ecdf6c"], - "payloads": ["69e396c2097f"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "62e022313cc6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "c43ab05aed16", - "1ca30ac68b76", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "ffd879a2e2be", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-github.inner-ok-missing:comment-settled", - "observation": { - "sender": ["75fe0f8ebd56"], - "payloads": ["69e396c2097f"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "96e0dcb7faa2", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "c43ab05aed16", - "1ca30ac68b76", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "fa158073af7f", - "6f50ec77f02f", - "cbae54d3d351" - ] - } - }, - { - "id": "tk-item-comment-github.inner-false-string-error:comment-settled", - "observation": { - "sender": ["e731dec72710"], - "payloads": ["69e396c2097f"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "60408a63c561", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "c43ab05aed16", - "1ca30ac68b76", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "21d560a20bed", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-github.inner-false-object-error:comment-settled", - "observation": { - "sender": ["d1ce0b01d5b1"], - "payloads": ["69e396c2097f"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "35d0b8f88583", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "c43ab05aed16", - "1ca30ac68b76", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "cc399e1bb52f", - "d2dbf7f1707e", - "cbae54d3d351" - ] - } - }, - { - "id": "tk-item-comment-github.outer-refused:comment-settled", - "observation": { - "sender": ["3dcb764dc8c1"], - "payloads": ["69e396c2097f"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "ec0b17d4eab6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "c43ab05aed16", - "1ca30ac68b76", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "cb543ce964ae", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-github.outer-refused-no-message:comment-settled", - "observation": { - "sender": ["948fc1352362"], - "payloads": ["69e396c2097f"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "4c1c4760a1be", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "c43ab05aed16", - "1ca30ac68b76", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-github.method-not-found:comment-settled", - "observation": { - "sender": ["07ef7d14c889"], - "payloads": ["69e396c2097f"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "9010a529a9c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "c43ab05aed16", - "1ca30ac68b76", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "36782b753721", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-github.transport-rejection:comment-settled", - "observation": { - "sender": ["b4d4bed6d6f6"], - "payloads": ["69e396c2097f"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "a5be11ae5c8a", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "c43ab05aed16", - "1ca30ac68b76", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "f65e0af02b52", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-github.transport-rejection-no-message:comment-settled", - "observation": { - "sender": ["c06d5657b19b"], - "payloads": ["69e396c2097f"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "4c1c4760a1be", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "c43ab05aed16", - "1ca30ac68b76", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - } - ] - } -} 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 deleted file mode 100644 index c5046f71ae8..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-comment-gitlab-gitlab.addissuecomment-1.json +++ /dev/null @@ -1,1307 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-comment-gitlab", - "family": "tasks.item-comment-gitlab", - "namedDeltas": [], - "values": { - "010050033ee8": { - "draft": "a comment", - "error": "Unknown method", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "02b5df9521e8": { - "name": "detailPayload", - "ordinal": 14, - "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" - } - }, - "17b97af91ff8": { - "draft": "", - "error": "", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "21d560a20bed": { - "name": "error", - "ordinal": 14, - "value": "inner refused" - }, - "31ab0806b773": { - "name": "gitlab.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - }, - "36782b753721": { - "name": "error", - "ordinal": 14, - "value": "Unknown method" - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "3cc6d7b2ab97": { - "name": "gitlab.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - }, - "3d077140182d": { - "name": "gitlab.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "4031bf455f49": { - "name": "mutatingStatus", - "ordinal": 5, - "value": false - }, - "474412c229f4": { - "name": "detailPayload", - "ordinal": 7, - "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" - } - }, - "4fd9a5968549": { - "draft": "a comment", - "error": "inner refused", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "53506297367b": { - "name": "itemCommentDraft", - "ordinal": 3, - "value": "" - }, - "5737a7806a0c": { - "name": "mutatingStatus", - "ordinal": 15, - "value": false - }, - "6e92494a8a50": { - "draft": "a comment", - "error": "", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "6f50ec77f02f": { - "name": "itemCommentDraft", - "ordinal": 15, - "value": "" - }, - "779d1b9a2edb": { - "name": "actionItem", - "ordinal": 6, - "value": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue" - }, - "title": "A GitLab issue" - } - }, - "886c60a7e62e": { - "name": "mutatingStatus", - "ordinal": 12, - "value": true - }, - "8a21f81d9fc4": { - "name": "detailPayload", - "ordinal": 14, - "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" - } - }, - "9331fbfa07e4": { - "name": "itemCommentDraft", - "ordinal": 9, - "value": "a comment" - }, - "9932bdaf3500": { - "draft": "a comment", - "error": "The host sent a reply this app could not read (gitlab.addIssueComment)", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "9b61d71beea3": { - "draft": "a comment", - "error": "outer refused", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "a3c3119beec6": { - "name": "gitlab.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "ac15f5699a77": { - "name": "itemReviewersDraft", - "ordinal": 8, - "value": "octocat" - }, - "ad33e328b827": { - "name": "gitlab.addIssueComment#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":4,\"body\":\"a comment\",\"projectRef\":{\"host\":\"gitlab.com\",\"path\":\"group/project\"}}}" - }, - "b040d74ee98d": { - "draft": "a comment", - "error": "Failed to add comment", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "bea48aec0302": { - "name": "gitlab.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "c650cf641414": { - "name": "itemReviewersDraft", - "ordinal": 4, - "value": "" - }, - "cb543ce964ae": { - "name": "error", - "ordinal": 14, - "value": "outer refused" - }, - "cbae54d3d351": { - "name": "mutatingStatus", - "ordinal": 16, - "value": false - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "ccded71b0f43": { - "name": "gitlab.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "d0afe3374825": { - "name": "error", - "ordinal": 14, - "value": "The host sent a reply this app could not read (gitlab.addIssueComment)" - }, - "d2dbf7f1707e": { - "name": "error", - "ordinal": 15, - "value": "Failed to add comment" - }, - "d36362e9430c": { - "name": "gitlab.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "d3b00d7291ae": { - "name": "gitlab.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "d69bd0a52949": { - "draft": "a comment", - "error": "transport failure", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "d986773c38a9": { - "name": "reply-salvage", - "ordinal": 14, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "gitlab.addIssueComment", - "operation": "gitlab.add-issue-comment", - "variant": "task-comment-written" - } - }, - "dfa560f5ba16": { - "draft": "", - "error": "", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "e4c4a1e426fa": { - "name": "gitlab.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ef8932b03a8c": { - "name": "error", - "ordinal": 14, - "value": "" - }, - "f65e0af02b52": { - "name": "error", - "ordinal": 14, - "value": "transport failure" - }, - "fa1b3170fb24": { - "name": "gitlab.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "fc6055a4d53c": { - "name": "gitlab.addIssueComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.item-comment-gitlab-gitlab.addissuecomment-1", - "checkpoints": [ - { - "id": "tk-item-comment-gitlab.normal:comment-settled", - "observation": { - "sender": ["d3b00d7291ae"], - "payloads": ["ad33e328b827"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "17b97af91ff8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "779d1b9a2edb", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "02b5df9521e8", - "6f50ec77f02f", - "cbae54d3d351" - ] - } - }, - { - "id": "tk-item-comment-gitlab.result-absent:comment-settled", - "observation": { - "sender": ["bea48aec0302"], - "payloads": ["ad33e328b827"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "9932bdaf3500", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "779d1b9a2edb", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "d0afe3374825", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-gitlab.result-null:comment-settled", - "observation": { - "sender": ["3cc6d7b2ab97"], - "payloads": ["ad33e328b827"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "9932bdaf3500", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "779d1b9a2edb", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "d0afe3374825", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-gitlab.inner-ok-missing:comment-settled", - "observation": { - "sender": ["31ab0806b773"], - "payloads": ["ad33e328b827"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "dfa560f5ba16", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "779d1b9a2edb", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "8a21f81d9fc4", - "6f50ec77f02f", - "cbae54d3d351" - ] - } - }, - { - "id": "tk-item-comment-gitlab.inner-false-string-error:comment-settled", - "observation": { - "sender": ["d36362e9430c"], - "payloads": ["ad33e328b827"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "4fd9a5968549", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "779d1b9a2edb", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "21d560a20bed", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-gitlab.inner-false-object-error:comment-settled", - "observation": { - "sender": ["a3c3119beec6"], - "payloads": ["ad33e328b827"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "b040d74ee98d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "779d1b9a2edb", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "d986773c38a9", - "d2dbf7f1707e", - "cbae54d3d351" - ] - } - }, - { - "id": "tk-item-comment-gitlab.outer-refused:comment-settled", - "observation": { - "sender": ["ccded71b0f43"], - "payloads": ["ad33e328b827"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "9b61d71beea3", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "779d1b9a2edb", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "cb543ce964ae", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-gitlab.outer-refused-no-message:comment-settled", - "observation": { - "sender": ["fc6055a4d53c"], - "payloads": ["ad33e328b827"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "6e92494a8a50", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "779d1b9a2edb", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-gitlab.method-not-found:comment-settled", - "observation": { - "sender": ["3d077140182d"], - "payloads": ["ad33e328b827"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "010050033ee8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "779d1b9a2edb", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "36782b753721", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-gitlab.transport-rejection:comment-settled", - "observation": { - "sender": ["fa1b3170fb24"], - "payloads": ["ad33e328b827"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "d69bd0a52949", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "779d1b9a2edb", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "f65e0af02b52", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-gitlab.transport-rejection-no-message:comment-settled", - "observation": { - "sender": ["e4c4a1e426fa"], - "payloads": ["ad33e328b827"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "6e92494a8a50", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "779d1b9a2edb", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - } - ] - } -} 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 deleted file mode 100644 index d7ecfd19a58..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-comment-gitlab-mr-gitlab.addmrcomment-1.json +++ /dev/null @@ -1,1307 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-comment-gitlab-mr", - "family": "tasks.item-comment-gitlab-mr", - "namedDeltas": [], - "values": { - "1e866e52fed3": { - "name": "error", - "ordinal": 14, - "value": "The host sent a reply this app could not read (gitlab.addMRComment)" - }, - "1eb3d95fa647": { - "draft": "", - "error": "", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "21d560a20bed": { - "name": "error", - "ordinal": 14, - "value": "inner refused" - }, - "36782b753721": { - "name": "error", - "ordinal": 14, - "value": "Unknown method" - }, - "3a8a74f5848e": { - "name": "gitlab.addMRComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addMRComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "4031bf455f49": { - "name": "mutatingStatus", - "ordinal": 5, - "value": false - }, - "474412c229f4": { - "name": "detailPayload", - "ordinal": 7, - "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" - } - }, - "4c60f1fd22ca": { - "name": "gitlab.addMRComment#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.addMRComment\",\"params\":{\"repo\":\"id:repo-1\",\"iid\":7,\"body\":\"a comment\",\"projectRef\":{\"host\":\"gitlab.com\",\"path\":\"group/project\"}}}" - }, - "53506297367b": { - "name": "itemCommentDraft", - "ordinal": 3, - "value": "" - }, - "5737a7806a0c": { - "name": "mutatingStatus", - "ordinal": 15, - "value": false - }, - "622bbddf4f05": { - "name": "actionItem", - "ordinal": 6, - "value": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "mr" - }, - "title": "A merge request" - } - }, - "6f50ec77f02f": { - "name": "itemCommentDraft", - "ordinal": 15, - "value": "" - }, - "816c715cd13d": { - "name": "gitlab.addMRComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addMRComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "82cb8969cde1": { - "draft": "a comment", - "error": "", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "85167cca9c8d": { - "name": "gitlab.addMRComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addMRComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "886c60a7e62e": { - "name": "mutatingStatus", - "ordinal": 12, - "value": true - }, - "8a21f81d9fc4": { - "name": "detailPayload", - "ordinal": 14, - "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" - } - }, - "8b0969111924": { - "name": "gitlab.addMRComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addMRComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "901e36e27424": { - "name": "gitlab.addMRComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addMRComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "9331fbfa07e4": { - "name": "itemCommentDraft", - "ordinal": 9, - "value": "a comment" - }, - "965bf7fe4cd8": { - "draft": "a comment", - "error": "Unknown method", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "9959e4493d54": { - "name": "gitlab.addMRComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addMRComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "a4ddd055102f": { - "name": "gitlab.addMRComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addMRComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - }, - "ac15f5699a77": { - "name": "itemReviewersDraft", - "ordinal": 8, - "value": "octocat" - }, - "b6c88ff35429": { - "draft": "a comment", - "error": "inner refused", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "c5a39baddc77": { - "name": "gitlab.addMRComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addMRComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "c650cf641414": { - "name": "itemReviewersDraft", - "ordinal": 4, - "value": "" - }, - "cb543ce964ae": { - "name": "error", - "ordinal": 14, - "value": "outer refused" - }, - "cbae54d3d351": { - "name": "mutatingStatus", - "ordinal": 16, - "value": false - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "d2dbf7f1707e": { - "name": "error", - "ordinal": 15, - "value": "Failed to add comment" - }, - "d2f6881e3bb2": { - "draft": "a comment", - "error": "Failed to add comment", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "d84ea9d8e730": { - "name": "gitlab.addMRComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addMRComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - }, - "d8556b098da4": { - "name": "gitlab.addMRComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addMRComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "de7b906df67a": { - "name": "reply-salvage", - "ordinal": 14, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "gitlab.addMRComment", - "operation": "gitlab.add-mr-comment", - "variant": "task-comment-written" - } - }, - "e6c9d3c73e5e": { - "name": "gitlab.addMRComment#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.addMRComment" - }, - { - "name": "params", - "value": { - "body": "a comment", - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "e86c4aff71da": { - "draft": "a comment", - "error": "outer refused", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "e8893ab10df1": { - "draft": "a comment", - "error": "transport failure", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "ea24a662dd3d": { - "draft": "", - "error": "", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ef8932b03a8c": { - "name": "error", - "ordinal": 14, - "value": "" - }, - "f3cb1a7df6dc": { - "name": "detailPayload", - "ordinal": 14, - "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" - } - }, - "f5035dfd535c": { - "draft": "a comment", - "error": "The host sent a reply this app could not read (gitlab.addMRComment)", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "f65e0af02b52": { - "name": "error", - "ordinal": 14, - "value": "transport failure" - } - }, - "recording": { - "scenario": "matrix-tasks.item-comment-gitlab-mr-gitlab.addmrcomment-1", - "checkpoints": [ - { - "id": "tk-item-comment-gitlab-mr.normal:comment-settled", - "observation": { - "sender": ["816c715cd13d"], - "payloads": ["4c60f1fd22ca"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "ea24a662dd3d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "622bbddf4f05", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "f3cb1a7df6dc", - "6f50ec77f02f", - "cbae54d3d351" - ] - } - }, - { - "id": "tk-item-comment-gitlab-mr.result-absent:comment-settled", - "observation": { - "sender": ["8b0969111924"], - "payloads": ["4c60f1fd22ca"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "f5035dfd535c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "622bbddf4f05", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "1e866e52fed3", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-gitlab-mr.result-null:comment-settled", - "observation": { - "sender": ["a4ddd055102f"], - "payloads": ["4c60f1fd22ca"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "f5035dfd535c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "622bbddf4f05", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "1e866e52fed3", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-gitlab-mr.inner-ok-missing:comment-settled", - "observation": { - "sender": ["d84ea9d8e730"], - "payloads": ["4c60f1fd22ca"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "1eb3d95fa647", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "622bbddf4f05", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "8a21f81d9fc4", - "6f50ec77f02f", - "cbae54d3d351" - ] - } - }, - { - "id": "tk-item-comment-gitlab-mr.inner-false-string-error:comment-settled", - "observation": { - "sender": ["d8556b098da4"], - "payloads": ["4c60f1fd22ca"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "b6c88ff35429", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "622bbddf4f05", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "21d560a20bed", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-gitlab-mr.inner-false-object-error:comment-settled", - "observation": { - "sender": ["c5a39baddc77"], - "payloads": ["4c60f1fd22ca"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "d2f6881e3bb2", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "622bbddf4f05", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "de7b906df67a", - "d2dbf7f1707e", - "cbae54d3d351" - ] - } - }, - { - "id": "tk-item-comment-gitlab-mr.outer-refused:comment-settled", - "observation": { - "sender": ["e6c9d3c73e5e"], - "payloads": ["4c60f1fd22ca"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "e86c4aff71da", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "622bbddf4f05", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "cb543ce964ae", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-gitlab-mr.outer-refused-no-message:comment-settled", - "observation": { - "sender": ["3a8a74f5848e"], - "payloads": ["4c60f1fd22ca"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "82cb8969cde1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "622bbddf4f05", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-gitlab-mr.method-not-found:comment-settled", - "observation": { - "sender": ["9959e4493d54"], - "payloads": ["4c60f1fd22ca"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "965bf7fe4cd8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "622bbddf4f05", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "36782b753721", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-gitlab-mr.transport-rejection:comment-settled", - "observation": { - "sender": ["85167cca9c8d"], - "payloads": ["4c60f1fd22ca"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "e8893ab10df1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "622bbddf4f05", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "f65e0af02b52", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-comment-gitlab-mr.transport-rejection-no-message:comment-settled", - "observation": { - "sender": ["901e36e27424"], - "payloads": ["4c60f1fd22ca"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "82cb8969cde1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "622bbddf4f05", - "474412c229f4", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 46853579b2c..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-github-github.workitemdetails-1.json +++ /dev/null @@ -1,1407 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-detail-github", - "family": "tasks.item-detail-github", - "namedDeltas": [], - "values": { - "16125975286b": { - "name": "detailLoading", - "ordinal": 3, - "value": false - }, - "185dd46f0a38": { - "name": "detailLoading", - "ordinal": 8, - "value": true - }, - "1eef2115551f": { - "name": "detailError", - "ordinal": 12, - "value": "transport failure" - }, - "20f8d00e8abe": { - "name": "detailLoading", - "ordinal": 12, - "value": false - }, - "2d2a330997f7": { - "name": "github.workItemDetails#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "detail-runtime", - "sourceId": "detail-host" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "assignees": ["octocat"], - "baseSha": "base-sha", - "body": "body", - "checks": [], - "comments": [], - "files": [], - "headSha": "head-sha", - "item": { - "author": { - "$rpc": "null" - }, - "id": "pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "reviewDecision": "APPROVED", - "reviewRequests": [], - "state": "open", - "title": "A pull request", - "type": "pr", - "updatedAt": "2026-10-30T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - }, - "pullRequestId": "PR_kwDO" - } - } - } - }, - "3043d01fc7cf": { - "name": "github.workItemDetails#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "detail-runtime", - "sourceId": "detail-host" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "32d618b0d168": { - "error": "The host sent a reply this app could not read (github.workItemDetails)", - "item": { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ], - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "388de4028992": { - "name": "github.workItemDetails#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "detail-runtime", - "sourceId": "detail-host" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "46643bb88ce4": { - "name": "github.workItemDetails#1", - "ordinal": 11, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"detail-host\",\"runtimeId\":\"detail-runtime\"},\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12,\"type\":\"pr\",\"ownerRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"}}}" - }, - "5a1f2d75b5af": { - "error": "transport failure", - "item": { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ], - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "687aa23b6888": { - "name": "github.workItemDetails#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "detail-runtime", - "sourceId": "detail-host" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "6fc01ccc494a": { - "name": "github.workItemDetails#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "detail-runtime", - "sourceId": "detail-host" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "710993a2484d": { - "name": "github.workItemDetails#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "detail-runtime", - "sourceId": "detail-host" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "72c0fc81a418": { - "name": "detailPayload", - "ordinal": 4, - "value": { - "$rpc": "null" - } - }, - "826bcb331ce1": { - "name": "github.workItemDetails#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "detail-runtime", - "sourceId": "detail-host" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "840c18a7482c": { - "name": "detailError", - "ordinal": 12, - "value": "Couldn't load owner/repo#12 from this server. Try again or open the pull request on GitHub." - }, - "8ab3841b8191": { - "name": "github.workItemDetails#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "detail-runtime", - "sourceId": "detail-host" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "90eb12657cbd": { - "name": "status.get#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "detail-host" - }, - "runtimeId": "detail-runtime" - } - } - } - }, - "91cd72d40cf9": { - "error": "Unknown method", - "item": { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ], - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "988fd3d6f1c4": { - "name": "detailRefreshSeq", - "ordinal": 5, - "value": 0 - }, - "a4f1a8696a24": { - "name": "detailError", - "ordinal": 2, - "value": "" - }, - "aa8c55a87b61": { - "error": "Couldn't load owner/repo#12 from this server. Try again or open the pull request on GitHub.", - "item": { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ], - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "ada09db70445": { - "name": "github.workItemDetails#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "detail-runtime", - "sourceId": "detail-host" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "b99a772c440f": { - "name": "status.get#1", - "ordinal": 9, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "c540e93e8c8a": { - "name": "detailPayload", - "ordinal": 13, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "c596044c35e3": { - "name": "detailError", - "ordinal": 12, - "value": "The host sent a reply this app could not read (github.workItemDetails)" - }, - "cacd48cf20dc": { - "name": "actionItem", - "ordinal": 6, - "value": { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "cde2a06f0ab1": { - "name": "github.workItemDetails#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "detail-runtime", - "sourceId": "detail-host" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "d96260bfca32": { - "name": "detailError", - "ordinal": 12, - "value": "Unknown method" - }, - "da440dbb22b9": { - "error": "outer refused", - "item": { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ], - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "de3f24704fcd": { - "error": "", - "item": { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ], - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ece9b70d3604": { - "name": "detailError", - "ordinal": 12, - "value": "outer refused" - }, - "ee8cf6d74e46": { - "name": "detailLoading", - "ordinal": 13, - "value": false - }, - "fe226e5521c1": { - "name": "github.workItemDetails#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "detail-runtime", - "sourceId": "detail-host" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "fe60b5a8212b": { - "error": "", - "item": { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - } - }, - "recording": { - "scenario": "matrix-tasks.item-detail-github-github.workitemdetails-1", - "checkpoints": [ - { - "id": "tk-item-detail-github.normal:mounted", - "observation": { - "sender": ["90eb12657cbd", "2d2a330997f7"], - "payloads": ["b99a772c440f", "46643bb88ce4"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "fe60b5a8212b", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "20f8d00e8abe", - "c540e93e8c8a" - ] - } - }, - { - "id": "tk-item-detail-github.result-absent:mounted", - "observation": { - "sender": ["90eb12657cbd", "710993a2484d"], - "payloads": ["b99a772c440f", "46643bb88ce4"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "32d618b0d168", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "c596044c35e3", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-github.result-null:mounted", - "observation": { - "sender": ["90eb12657cbd", "ada09db70445"], - "payloads": ["b99a772c440f", "46643bb88ce4"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "aa8c55a87b61", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "840c18a7482c", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-github.inner-ok-missing:mounted", - "observation": { - "sender": ["90eb12657cbd", "6fc01ccc494a"], - "payloads": ["b99a772c440f", "46643bb88ce4"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "aa8c55a87b61", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "840c18a7482c", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-github.inner-false-string-error:mounted", - "observation": { - "sender": ["90eb12657cbd", "fe226e5521c1"], - "payloads": ["b99a772c440f", "46643bb88ce4"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "aa8c55a87b61", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "840c18a7482c", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-github.inner-false-object-error:mounted", - "observation": { - "sender": ["90eb12657cbd", "687aa23b6888"], - "payloads": ["b99a772c440f", "46643bb88ce4"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "aa8c55a87b61", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "840c18a7482c", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-github.outer-refused:mounted", - "observation": { - "sender": ["90eb12657cbd", "8ab3841b8191"], - "payloads": ["b99a772c440f", "46643bb88ce4"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "da440dbb22b9", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "ece9b70d3604", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-github.outer-refused-no-message:mounted", - "observation": { - "sender": ["90eb12657cbd", "388de4028992"], - "payloads": ["b99a772c440f", "46643bb88ce4"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "de3f24704fcd", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "20f8d00e8abe" - ] - } - }, - { - "id": "tk-item-detail-github.method-not-found:mounted", - "observation": { - "sender": ["90eb12657cbd", "826bcb331ce1"], - "payloads": ["b99a772c440f", "46643bb88ce4"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "91cd72d40cf9", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "d96260bfca32", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-github.transport-rejection:mounted", - "observation": { - "sender": ["90eb12657cbd", "cde2a06f0ab1"], - "payloads": ["b99a772c440f", "46643bb88ce4"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "5a1f2d75b5af", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "1eef2115551f", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-github.transport-rejection-no-message:mounted", - "observation": { - "sender": ["90eb12657cbd", "3043d01fc7cf"], - "payloads": ["b99a772c440f", "46643bb88ce4"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "de3f24704fcd", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "20f8d00e8abe" - ] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-github-status.get-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-github-status.get-1.json deleted file mode 100644 index b7cb49426b8..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-github-status.get-1.json +++ /dev/null @@ -1,1107 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-detail-github", - "family": "tasks.item-detail-github", - "namedDeltas": [], - "values": { - "0396a307a0a4": { - "name": "status.get#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "091e416a52f3": { - "name": "status.get#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "16125975286b": { - "name": "detailLoading", - "ordinal": 3, - "value": false - }, - "185dd46f0a38": { - "name": "detailLoading", - "ordinal": 8, - "value": true - }, - "20f8d00e8abe": { - "name": "detailLoading", - "ordinal": 12, - "value": false - }, - "2d2a330997f7": { - "name": "github.workItemDetails#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "detail-runtime", - "sourceId": "detail-host" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "assignees": ["octocat"], - "baseSha": "base-sha", - "body": "body", - "checks": [], - "comments": [], - "files": [], - "headSha": "head-sha", - "item": { - "author": { - "$rpc": "null" - }, - "id": "pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "reviewDecision": "APPROVED", - "reviewRequests": [], - "state": "open", - "title": "A pull request", - "type": "pr", - "updatedAt": "2026-10-30T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - }, - "pullRequestId": "PR_kwDO" - } - } - } - }, - "2fd56811a3b7": { - "name": "status.get#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "383dd2eb8a74": { - "error": "Update Orca on the executing server to edit this item or load its repository options.", - "item": { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ], - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "3928220fd170": { - "name": "status.get#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "42dbdd0ee40f": { - "name": "detailError", - "ordinal": 10, - "value": "The Orca server connection changed. Try again." - }, - "46643bb88ce4": { - "name": "github.workItemDetails#1", - "ordinal": 11, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"detail-host\",\"runtimeId\":\"detail-runtime\"},\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12,\"type\":\"pr\",\"ownerRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"}}}" - }, - "617b71ab2cc6": { - "name": "github.workItemDetails#1", - "ordinal": 11, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemDetails\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12,\"type\":\"pr\"}}" - }, - "6d653e11366f": { - "name": "detailLoading", - "ordinal": 11, - "value": false - }, - "72c0fc81a418": { - "name": "detailPayload", - "ordinal": 4, - "value": { - "$rpc": "null" - } - }, - "7cd8e40bc7e7": { - "name": "detailError", - "ordinal": 10, - "value": "Update Orca on the executing server to edit this item or load its repository options." - }, - "88caa02cb9f2": { - "name": "status.get#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "8adb5f096071": { - "name": "status.get#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "90eb12657cbd": { - "name": "status.get#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "detail-host" - }, - "runtimeId": "detail-runtime" - } - } - } - }, - "988fd3d6f1c4": { - "name": "detailRefreshSeq", - "ordinal": 5, - "value": 0 - }, - "9afa80ce6b79": { - "name": "status.get#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "a4f1a8696a24": { - "name": "detailError", - "ordinal": 2, - "value": "" - }, - "a917ac250898": { - "name": "github.workItemDetails#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.workItemDetails" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-1", - "type": "pr" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "assignees": ["octocat"], - "baseSha": "base-sha", - "body": "body", - "checks": [], - "comments": [], - "files": [], - "headSha": "head-sha", - "item": { - "author": { - "$rpc": "null" - }, - "id": "pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "reviewDecision": "APPROVED", - "reviewRequests": [], - "state": "open", - "title": "A pull request", - "type": "pr", - "updatedAt": "2026-10-30T00:00:00Z", - "url": "https://github.com/owner/repo/pull/12" - }, - "pullRequestId": "PR_kwDO" - } - } - } - }, - "b99a772c440f": { - "name": "status.get#1", - "ordinal": 9, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "c540e93e8c8a": { - "name": "detailPayload", - "ordinal": 13, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "cacd48cf20dc": { - "name": "actionItem", - "ordinal": 6, - "value": { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "cfc7024af888": { - "error": "The Orca server connection changed. Try again.", - "item": { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ], - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "d954c03ff983": { - "name": "status.get#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "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" - } - }, - "f2255314735f": { - "name": "status.get#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "fe60b5a8212b": { - "error": "", - "item": { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "key": "github:repo-1:pr:12", - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "fecaece64d48": { - "name": "status.get#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "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.item-detail-github-status.get-1", - "checkpoints": [ - { - "id": "tk-item-detail-github.normal:mounted", - "observation": { - "sender": ["90eb12657cbd", "2d2a330997f7"], - "payloads": ["b99a772c440f", "46643bb88ce4"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "fe60b5a8212b", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "20f8d00e8abe", - "c540e93e8c8a" - ] - } - }, - { - "id": "tk-item-detail-github.result-absent:mounted", - "observation": { - "sender": ["0396a307a0a4"], - "payloads": ["b99a772c440f"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "383dd2eb8a74", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "7cd8e40bc7e7", - "6d653e11366f" - ] - } - }, - { - "id": "tk-item-detail-github.result-null:mounted", - "observation": { - "sender": ["091e416a52f3"], - "payloads": ["b99a772c440f"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "383dd2eb8a74", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "7cd8e40bc7e7", - "6d653e11366f" - ] - } - }, - { - "id": "tk-item-detail-github.inner-ok-missing:mounted", - "observation": { - "sender": ["d954c03ff983", "a917ac250898"], - "payloads": ["b99a772c440f", "617b71ab2cc6"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "fe60b5a8212b", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "20f8d00e8abe", - "c540e93e8c8a" - ] - } - }, - { - "id": "tk-item-detail-github.inner-false-string-error:mounted", - "observation": { - "sender": ["fecaece64d48", "a917ac250898"], - "payloads": ["b99a772c440f", "617b71ab2cc6"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "fe60b5a8212b", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "20f8d00e8abe", - "c540e93e8c8a" - ] - } - }, - { - "id": "tk-item-detail-github.inner-false-object-error:mounted", - "observation": { - "sender": ["2fd56811a3b7", "a917ac250898"], - "payloads": ["b99a772c440f", "617b71ab2cc6"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "fe60b5a8212b", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "20f8d00e8abe", - "c540e93e8c8a" - ] - } - }, - { - "id": "tk-item-detail-github.outer-refused:mounted", - "observation": { - "sender": ["88caa02cb9f2"], - "payloads": ["b99a772c440f"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "383dd2eb8a74", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "7cd8e40bc7e7", - "6d653e11366f" - ] - } - }, - { - "id": "tk-item-detail-github.outer-refused-no-message:mounted", - "observation": { - "sender": ["8adb5f096071"], - "payloads": ["b99a772c440f"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "383dd2eb8a74", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "7cd8e40bc7e7", - "6d653e11366f" - ] - } - }, - { - "id": "tk-item-detail-github.method-not-found:mounted", - "observation": { - "sender": ["9afa80ce6b79"], - "payloads": ["b99a772c440f"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "383dd2eb8a74", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "7cd8e40bc7e7", - "6d653e11366f" - ] - } - }, - { - "id": "tk-item-detail-github.transport-rejection:mounted", - "observation": { - "sender": ["3928220fd170"], - "payloads": ["b99a772c440f"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "cfc7024af888", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "42dbdd0ee40f", - "6d653e11366f" - ] - } - }, - { - "id": "tk-item-detail-github.transport-rejection-no-message:mounted", - "observation": { - "sender": ["f2255314735f"], - "payloads": ["b99a772c440f"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "cfc7024af888", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "cacd48cf20dc", - "185dd46f0a38", - "42dbdd0ee40f", - "6d653e11366f" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 42fb92147d3..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-gitlab-gitlab.workitemdetails-1.json +++ /dev/null @@ -1,1403 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-detail-gitlab", - "family": "tasks.item-detail-gitlab", - "namedDeltas": [], - "values": { - "16125975286b": { - "name": "detailLoading", - "ordinal": 3, - "value": false - }, - "162c82866fc3": { - "error": "The host sent a reply this app could not read (gitlab.workItemDetails)", - "item": { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - }, - "items": [ - { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - } - ], - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "1635b185b481": { - "name": "gitlab.workItemDetails#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "gitlab.workItemDetails" - }, - { - "name": "params", - "value": { - "iid": 4, - "markViewerComments": true, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "185dd46f0a38": { - "name": "detailLoading", - "ordinal": 8, - "value": true - }, - "20f8d00e8abe": { - "name": "detailLoading", - "ordinal": 12, - "value": false - }, - "260f60ac62a3": { - "name": "gitlab.workItemDetails#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "gitlab.workItemDetails" - }, - { - "name": "params", - "value": { - "iid": 4, - "markViewerComments": true, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "274b8ecb4f73": { - "name": "actionItem", - "ordinal": 6, - "value": { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - } - }, - "28116db8d1bc": { - "name": "gitlab.workItemDetails#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "gitlab.workItemDetails" - }, - { - "name": "params", - "value": { - "iid": 4, - "markViewerComments": true, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "3d683d8ca027": { - "name": "detailPayload", - "ordinal": 13, - "value": { - "assignees": [], - "body": "body", - "comments": [], - "labels": ["bug"], - "pipelineJobs": [], - "provider": "gitlab" - } - }, - "41496dd56c9a": { - "error": "transport failure", - "item": { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - }, - "items": [ - { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - } - ], - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "4838d50cb348": { - "error": "", - "item": { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "checksSummary": { - "cancelled": 0, - "failed": 0, - "neutral": 0, - "passed": 0, - "pending": 0, - "state": "none", - "total": 0 - }, - "id": "gitlab:issue:4", - "labels": ["bug"], - "mergeable": "MERGEABLE", - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "reviewDecision": "approved", - "reviewerCount": 0, - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - }, - "items": [ - { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "checksSummary": { - "cancelled": 0, - "failed": 0, - "neutral": 0, - "passed": 0, - "pending": 0, - "state": "none", - "total": 0 - }, - "id": "gitlab:issue:4", - "labels": ["bug"], - "mergeable": "MERGEABLE", - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "reviewDecision": "approved", - "reviewerCount": 0, - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - } - ], - "loading": false, - "payload": { - "assignees": [], - "body": "body", - "comments": [], - "labels": ["bug"], - "pipelineJobs": [], - "provider": "gitlab" - } - }, - "4c8bef485c5e": { - "error": "outer refused", - "item": { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - }, - "items": [ - { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - } - ], - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "54f8a6328304": { - "name": "gitlab.workItemDetails#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "gitlab.workItemDetails" - }, - { - "name": "params", - "value": { - "iid": 4, - "markViewerComments": true, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "5c69a0ab4415": { - "name": "actionItem", - "ordinal": 11, - "value": { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "checksSummary": { - "cancelled": 0, - "failed": 0, - "neutral": 0, - "passed": 0, - "pending": 0, - "state": "none", - "total": 0 - }, - "id": "gitlab:issue:4", - "labels": ["bug"], - "mergeable": "MERGEABLE", - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "reviewDecision": "approved", - "reviewerCount": 0, - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - } - }, - "6c3b3a2c300d": { - "name": "gitlab.workItemDetails#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "gitlab.workItemDetails" - }, - { - "name": "params", - "value": { - "iid": 4, - "markViewerComments": true, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - }, - "6d653e11366f": { - "name": "detailLoading", - "ordinal": 11, - "value": false - }, - "71f39b93a6b4": { - "name": "gitlab.workItemDetails#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "gitlab.workItemDetails" - }, - { - "name": "params", - "value": { - "iid": 4, - "markViewerComments": true, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "72c0fc81a418": { - "name": "detailPayload", - "ordinal": 4, - "value": { - "$rpc": "null" - } - }, - "7eff2c9f8145": { - "name": "detailError", - "ordinal": 10, - "value": "The host sent a reply this app could not read (gitlab.workItemDetails)" - }, - "80674d75bc28": { - "error": "Details not found", - "item": { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - }, - "items": [ - { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - } - ], - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "988fd3d6f1c4": { - "name": "detailRefreshSeq", - "ordinal": 5, - "value": 0 - }, - "9c4eb8130664": { - "error": "", - "item": { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - }, - "items": [ - { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - } - ], - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "a472ad8b3e3f": { - "name": "gitlab.workItemDetails#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "gitlab.workItemDetails" - }, - { - "name": "params", - "value": { - "iid": 4, - "markViewerComments": true, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "a4f1a8696a24": { - "name": "detailError", - "ordinal": 2, - "value": "" - }, - "a7fb6d964b37": { - "name": "detailLoading", - "ordinal": 10, - "value": false - }, - "aaa57f9d128f": { - "name": "detailError", - "ordinal": 10, - "value": "outer refused" - }, - "ad0cb14df0cb": { - "name": "detailError", - "ordinal": 10, - "value": "Details not found" - }, - "ae6cd385ac1c": { - "name": "actionItem", - "ordinal": 11, - "value": { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "checksSummary": { - "cancelled": 0, - "failed": 0, - "neutral": 0, - "passed": 0, - "pending": 0, - "state": "none", - "total": 0 - }, - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - } - }, - "b39230648d91": { - "error": "Unknown method", - "item": { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - }, - "items": [ - { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - } - ], - "loading": false, - "payload": { - "$rpc": "null" - } - }, - "b8892300f59b": { - "name": "detailPayload", - "ordinal": 13, - "value": { - "assignees": [], - "body": "", - "comments": [], - "labels": ["bug"], - "pipelineJobs": [], - "provider": "gitlab" - } - }, - "ba6215ed3c22": { - "name": "gitlab.workItemDetails#1", - "ordinal": 9, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.workItemDetails\",\"params\":{\"repo\":\"id:repo-1\",\"iid\":4,\"type\":\"issue\",\"projectRef\":{\"host\":\"gitlab.com\",\"path\":\"group/project\"},\"markViewerComments\":true}}" - }, - "c0f53c2b7ecd": { - "name": "gitlab.workItemDetails#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "gitlab.workItemDetails" - }, - { - "name": "params", - "value": { - "iid": 4, - "markViewerComments": true, - "projectRef": { - "host": "gitlab.com", - "path": "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": [] - } - } - } - }, - "c187052ac3d0": { - "name": "detailError", - "ordinal": 10, - "value": "transport failure" - }, - "c25dbe3b700c": { - "name": "detailError", - "ordinal": 10, - "value": "Unknown method" - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "db2c5ff09560": { - "name": "gitlab.workItemDetails#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "gitlab.workItemDetails" - }, - { - "name": "params", - "value": { - "iid": 4, - "markViewerComments": true, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "eafe5f01950b": { - "name": "gitlab.workItemDetails#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "gitlab.workItemDetails" - }, - { - "name": "params", - "value": { - "iid": 4, - "markViewerComments": true, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f21be2fb8222": { - "name": "gitlab.workItemDetails#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "gitlab.workItemDetails" - }, - { - "name": "params", - "value": { - "iid": 4, - "markViewerComments": true, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - }, - "f3032e4b7cc7": { - "error": "", - "item": { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "checksSummary": { - "cancelled": 0, - "failed": 0, - "neutral": 0, - "passed": 0, - "pending": 0, - "state": "none", - "total": 0 - }, - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - }, - "items": [ - { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "checksSummary": { - "cancelled": 0, - "failed": 0, - "neutral": 0, - "passed": 0, - "pending": 0, - "state": "none", - "total": 0 - }, - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - } - ], - "loading": false, - "payload": { - "assignees": [], - "body": "", - "comments": [], - "labels": ["bug"], - "pipelineJobs": [], - "provider": "gitlab" - } - }, - "f6ff31c3f54f": { - "name": "items", - "ordinal": 10, - "value": [ - { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "checksSummary": { - "cancelled": 0, - "failed": 0, - "neutral": 0, - "passed": 0, - "pending": 0, - "state": "none", - "total": 0 - }, - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - } - ] - }, - "f9f4fedb976a": { - "name": "items", - "ordinal": 10, - "value": [ - { - "key": "gitlab:repo-1:issue:4", - "provider": "gitlab", - "source": { - "checksSummary": { - "cancelled": 0, - "failed": 0, - "neutral": 0, - "passed": 0, - "pending": 0, - "state": "none", - "total": 0 - }, - "id": "gitlab:issue:4", - "labels": ["bug"], - "mergeable": "MERGEABLE", - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "reviewDecision": "approved", - "reviewerCount": 0, - "state": "opened", - "type": "issue", - "url": "https://gitlab.com/group/project/-/issues/4" - }, - "title": "A GitLab issue" - } - ] - } - }, - "recording": { - "scenario": "matrix-tasks.item-detail-gitlab-gitlab.workitemdetails-1", - "checkpoints": [ - { - "id": "tk-item-detail-gitlab.normal:mounted", - "observation": { - "sender": ["c0f53c2b7ecd"], - "payloads": ["ba6215ed3c22"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4838d50cb348", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "274b8ecb4f73", - "185dd46f0a38", - "f9f4fedb976a", - "5c69a0ab4415", - "20f8d00e8abe", - "3d683d8ca027" - ] - } - }, - { - "id": "tk-item-detail-gitlab.result-absent:mounted", - "observation": { - "sender": ["54f8a6328304"], - "payloads": ["ba6215ed3c22"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "162c82866fc3", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "274b8ecb4f73", - "185dd46f0a38", - "7eff2c9f8145", - "6d653e11366f" - ] - } - }, - { - "id": "tk-item-detail-gitlab.result-null:mounted", - "observation": { - "sender": ["6c3b3a2c300d"], - "payloads": ["ba6215ed3c22"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "80674d75bc28", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "274b8ecb4f73", - "185dd46f0a38", - "ad0cb14df0cb", - "6d653e11366f" - ] - } - }, - { - "id": "tk-item-detail-gitlab.inner-ok-missing:mounted", - "observation": { - "sender": ["f21be2fb8222"], - "payloads": ["ba6215ed3c22"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "f3032e4b7cc7", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "274b8ecb4f73", - "185dd46f0a38", - "f6ff31c3f54f", - "ae6cd385ac1c", - "20f8d00e8abe", - "b8892300f59b" - ] - } - }, - { - "id": "tk-item-detail-gitlab.inner-false-string-error:mounted", - "observation": { - "sender": ["1635b185b481"], - "payloads": ["ba6215ed3c22"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "f3032e4b7cc7", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "274b8ecb4f73", - "185dd46f0a38", - "f6ff31c3f54f", - "ae6cd385ac1c", - "20f8d00e8abe", - "b8892300f59b" - ] - } - }, - { - "id": "tk-item-detail-gitlab.inner-false-object-error:mounted", - "observation": { - "sender": ["eafe5f01950b"], - "payloads": ["ba6215ed3c22"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "f3032e4b7cc7", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "274b8ecb4f73", - "185dd46f0a38", - "f6ff31c3f54f", - "ae6cd385ac1c", - "20f8d00e8abe", - "b8892300f59b" - ] - } - }, - { - "id": "tk-item-detail-gitlab.outer-refused:mounted", - "observation": { - "sender": ["260f60ac62a3"], - "payloads": ["ba6215ed3c22"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4c8bef485c5e", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "274b8ecb4f73", - "185dd46f0a38", - "aaa57f9d128f", - "6d653e11366f" - ] - } - }, - { - "id": "tk-item-detail-gitlab.outer-refused-no-message:mounted", - "observation": { - "sender": ["71f39b93a6b4"], - "payloads": ["ba6215ed3c22"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9c4eb8130664", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "274b8ecb4f73", - "185dd46f0a38", - "a7fb6d964b37" - ] - } - }, - { - "id": "tk-item-detail-gitlab.method-not-found:mounted", - "observation": { - "sender": ["db2c5ff09560"], - "payloads": ["ba6215ed3c22"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "b39230648d91", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "274b8ecb4f73", - "185dd46f0a38", - "c25dbe3b700c", - "6d653e11366f" - ] - } - }, - { - "id": "tk-item-detail-gitlab.transport-rejection:mounted", - "observation": { - "sender": ["28116db8d1bc"], - "payloads": ["ba6215ed3c22"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "41496dd56c9a", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "274b8ecb4f73", - "185dd46f0a38", - "c187052ac3d0", - "6d653e11366f" - ] - } - }, - { - "id": "tk-item-detail-gitlab.transport-rejection-no-message:mounted", - "observation": { - "sender": ["a472ad8b3e3f"], - "payloads": ["ba6215ed3c22"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9c4eb8130664", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "274b8ecb4f73", - "185dd46f0a38", - "a7fb6d964b37" - ] - } - } - ] - } -} 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 deleted file mode 100644 index fd2ef2f5bb6..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-linear-linear.getissue-1.json +++ /dev/null @@ -1,1363 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-detail-linear", - "family": "tasks.item-detail-linear", - "namedDeltas": [], - "values": { - "02965f036ca7": { - "name": "detailError", - "ordinal": 12, - "value": "The host sent a reply this app could not read (linear.getIssue)" - }, - "15e1aea28b53": { - "error": "", - "item": { - "key": "linear:linear-workspace:issue-1", - "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": [ - { - "key": "linear:linear-workspace:issue-1", - "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" - } - }, - "16125975286b": { - "name": "detailLoading", - "ordinal": 3, - "value": false - }, - "1eef2115551f": { - "name": "detailError", - "ordinal": 12, - "value": "transport failure" - }, - "20f8d00e8abe": { - "name": "detailLoading", - "ordinal": 12, - "value": false - }, - "2302fb6a80e8": { - "error": "", - "item": { - "key": "linear:linear-workspace:issue-1", - "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": [ - { - "key": "linear:linear-workspace:issue-1", - "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" - } - }, - "26e38b120209": { - "name": "linear.getIssue#1", - "ordinal": 7, - "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" - } - } - } - }, - "2bd0692fa5f7": { - "name": "linear.getIssue#1", - "ordinal": 10, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" - }, - "36f9b9dfbc87": { - "name": "linear.getIssue#1", - "ordinal": 7, - "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-1", - "identifier": "ENG-1", - "labels": [], - "priority": 0, - "state": { - "color": "#000", - "name": "Todo", - "type": "unstarted" - }, - "subIssues": [], - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "A Linear issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - } - } - }, - "4516b1c191df": { - "error": "Details not found", - "item": { - "key": "linear:linear-workspace:issue-1", - "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": [ - { - "key": "linear:linear-workspace:issue-1", - "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" - } - }, - "498957beb5a5": { - "name": "linear.getIssue#1", - "ordinal": 7, - "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 - } - } - } - }, - "54d7c7cacff6": { - "name": "actionItem", - "ordinal": 6, - "value": { - "key": "linear:linear-workspace:issue-1", - "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" - } - }, - "64f17aebe9f3": { - "name": "linear.getIssue#1", - "ordinal": 7, - "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 - } - } - } - }, - "72c0fc81a418": { - "name": "detailPayload", - "ordinal": 4, - "value": { - "$rpc": "null" - } - }, - "7b1392ab88eb": { - "name": "linear.getIssue#1", - "ordinal": 7, - "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 - } - } - }, - "7b19e846a6d0": { - "name": "linear.issueComments#1", - "ordinal": 11, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.issueComments\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" - }, - "7eb09106caa9": { - "error": "outer refused", - "item": { - "key": "linear:linear-workspace:issue-1", - "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": [ - { - "key": "linear:linear-workspace:issue-1", - "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" - } - }, - "82fd78906450": { - "error": "The host sent a reply this app could not read (linear.getIssue)", - "item": { - "key": "linear:linear-workspace:issue-1", - "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": [ - { - "key": "linear:linear-workspace:issue-1", - "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" - } - }, - "833d6b4e5d8e": { - "name": "detailPayload", - "ordinal": 13, - "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" - } - }, - "84283f89c269": { - "error": "transport failure", - "item": { - "key": "linear:linear-workspace:issue-1", - "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": [ - { - "key": "linear:linear-workspace:issue-1", - "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" - } - }, - "85395348970f": { - "name": "linear.issueComments#1", - "ordinal": 8, - "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" - } - } - ] - } - } - }, - "882716967c9b": { - "name": "linear.getIssue#1", - "ordinal": 7, - "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 - } - } - }, - "95bf571d353f": { - "name": "linear.getIssue#1", - "ordinal": 7, - "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" - } - } - } - }, - "988fd3d6f1c4": { - "name": "detailRefreshSeq", - "ordinal": 5, - "value": 0 - }, - "9a5c6fe6d20f": { - "name": "linear.getIssue#1", - "ordinal": 7, - "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 - } - } - }, - "a4f1a8696a24": { - "name": "detailError", - "ordinal": 2, - "value": "" - }, - "aa7ddefc001b": { - "name": "linear.getIssue#1", - "ordinal": 7, - "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 - } - } - }, - "b19f750f58d3": { - "name": "linear.getIssue#1", - "ordinal": 7, - "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 - } - } - }, - "c41a28a9097d": { - "name": "detailLoading", - "ordinal": 9, - "value": true - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "d96260bfca32": { - "name": "detailError", - "ordinal": 12, - "value": "Unknown method" - }, - "dd4f3e047538": { - "error": "Unknown method", - "item": { - "key": "linear:linear-workspace:issue-1", - "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": [ - { - "key": "linear:linear-workspace:issue-1", - "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" - } - }, - "e581cca80ea0": { - "name": "detailError", - "ordinal": 12, - "value": "Details not found" - }, - "e632b5ab1fca": { - "name": "linear.getIssue#1", - "ordinal": 7, - "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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ece9b70d3604": { - "name": "detailError", - "ordinal": 12, - "value": "outer refused" - }, - "ee8cf6d74e46": { - "name": "detailLoading", - "ordinal": 13, - "value": false - } - }, - "recording": { - "scenario": "matrix-tasks.item-detail-linear-linear.getissue-1", - "checkpoints": [ - { - "id": "tk-item-detail-linear.normal:mounted", - "observation": { - "sender": ["36f9b9dfbc87", "85395348970f"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "15e1aea28b53", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "20f8d00e8abe", - "833d6b4e5d8e" - ] - } - }, - { - "id": "tk-item-detail-linear.result-absent:mounted", - "observation": { - "sender": ["882716967c9b", "85395348970f"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "82fd78906450", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "02965f036ca7", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-linear.result-null:mounted", - "observation": { - "sender": ["95bf571d353f", "85395348970f"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "4516b1c191df", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "e581cca80ea0", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-linear.inner-ok-missing:mounted", - "observation": { - "sender": ["26e38b120209", "85395348970f"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "82fd78906450", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "02965f036ca7", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-linear.inner-false-string-error:mounted", - "observation": { - "sender": ["498957beb5a5", "85395348970f"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "82fd78906450", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "02965f036ca7", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-linear.inner-false-object-error:mounted", - "observation": { - "sender": ["64f17aebe9f3", "85395348970f"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "82fd78906450", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "02965f036ca7", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-linear.outer-refused:mounted", - "observation": { - "sender": ["aa7ddefc001b", "85395348970f"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7eb09106caa9", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "ece9b70d3604", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-linear.outer-refused-no-message:mounted", - "observation": { - "sender": ["9a5c6fe6d20f", "85395348970f"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2302fb6a80e8", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "20f8d00e8abe" - ] - } - }, - { - "id": "tk-item-detail-linear.method-not-found:mounted", - "observation": { - "sender": ["b19f750f58d3", "85395348970f"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "dd4f3e047538", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "d96260bfca32", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-linear.transport-rejection:mounted", - "observation": { - "sender": ["7b1392ab88eb", "85395348970f"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "84283f89c269", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "1eef2115551f", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-linear.transport-rejection-no-message:mounted", - "observation": { - "sender": ["e632b5ab1fca", "85395348970f"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2302fb6a80e8", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "20f8d00e8abe" - ] - } - } - ] - } -} 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 deleted file mode 100644 index cffc77d6cc4..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-detail-linear-linear.issuecomments-1.json +++ /dev/null @@ -1,1234 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-detail-linear", - "family": "tasks.item-detail-linear", - "namedDeltas": [], - "values": { - "15e1aea28b53": { - "error": "", - "item": { - "key": "linear:linear-workspace:issue-1", - "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": [ - { - "key": "linear:linear-workspace:issue-1", - "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" - } - }, - "16125975286b": { - "name": "detailLoading", - "ordinal": 3, - "value": false - }, - "1eef2115551f": { - "name": "detailError", - "ordinal": 12, - "value": "transport failure" - }, - "207f75e85f31": { - "name": "linear.issueComments#1", - "ordinal": 8, - "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 - } - } - } - }, - "20f8d00e8abe": { - "name": "detailLoading", - "ordinal": 12, - "value": false - }, - "2302fb6a80e8": { - "error": "", - "item": { - "key": "linear:linear-workspace:issue-1", - "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": [ - { - "key": "linear:linear-workspace:issue-1", - "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" - } - }, - "2bd0692fa5f7": { - "name": "linear.getIssue#1", - "ordinal": 10, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" - }, - "2d5ea79a1eb8": { - "name": "linear.issueComments#1", - "ordinal": 8, - "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 - } - } - }, - "36f9b9dfbc87": { - "name": "linear.getIssue#1", - "ordinal": 7, - "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-1", - "identifier": "ENG-1", - "labels": [], - "priority": 0, - "state": { - "color": "#000", - "name": "Todo", - "type": "unstarted" - }, - "subIssues": [], - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "A Linear issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - } - } - }, - "39ff487f3836": { - "name": "linear.issueComments#1", - "ordinal": 8, - "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 - } - } - }, - "3fc70a0beafb": { - "name": "linear.issueComments#1", - "ordinal": 8, - "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 - } - } - }, - "54d7c7cacff6": { - "name": "actionItem", - "ordinal": 6, - "value": { - "key": "linear:linear-workspace:issue-1", - "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" - } - }, - "703f0619cfbf": { - "name": "linear.issueComments#1", - "ordinal": 8, - "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 - } - } - }, - "709e768a6e14": { - "name": "linear.issueComments#1", - "ordinal": 8, - "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" - } - } - } - }, - "72c0fc81a418": { - "name": "detailPayload", - "ordinal": 4, - "value": { - "$rpc": "null" - } - }, - "7687e6640ded": { - "error": "", - "item": { - "key": "linear:linear-workspace:issue-1", - "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": [ - { - "key": "linear:linear-workspace:issue-1", - "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" - } - }, - "7b19e846a6d0": { - "name": "linear.issueComments#1", - "ordinal": 11, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.issueComments\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\"}}" - }, - "7f2d50d8383c": { - "name": "linear.issueComments#1", - "ordinal": 8, - "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 - } - } - } - }, - "7f48b3a72ead": { - "name": "detailPayload", - "ordinal": 13, - "value": { - "assignee": { - "$rpc": "undefined" - }, - "children": [], - "comments": [], - "description": "a description", - "labels": [], - "project": { - "$rpc": "undefined" - }, - "provider": "linear" - } - }, - "833d6b4e5d8e": { - "name": "detailPayload", - "ordinal": 13, - "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" - } - }, - "84283f89c269": { - "error": "transport failure", - "item": { - "key": "linear:linear-workspace:issue-1", - "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": [ - { - "key": "linear:linear-workspace:issue-1", - "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" - } - }, - "85395348970f": { - "name": "linear.issueComments#1", - "ordinal": 8, - "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" - } - } - ] - } - } - }, - "86ea6da70630": { - "error": "The host sent a reply this app could not read (linear.issueComments)", - "item": { - "key": "linear:linear-workspace:issue-1", - "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": [ - { - "key": "linear:linear-workspace:issue-1", - "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" - } - }, - "8743f3c31fad": { - "name": "linear.issueComments#1", - "ordinal": 8, - "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" - } - } - } - }, - "8aa2575e48b2": { - "name": "linear.issueComments#1", - "ordinal": 8, - "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 - } - } - }, - "988fd3d6f1c4": { - "name": "detailRefreshSeq", - "ordinal": 5, - "value": 0 - }, - "a4f1a8696a24": { - "name": "detailError", - "ordinal": 2, - "value": "" - }, - "b52601a1ca48": { - "name": "detailError", - "ordinal": 12, - "value": "The host sent a reply this app could not read (linear.issueComments)" - }, - "c41a28a9097d": { - "name": "detailLoading", - "ordinal": 9, - "value": true - }, - "ca85f23e3bf3": { - "name": "linear.issueComments#1", - "ordinal": 8, - "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 - } - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ee8cf6d74e46": { - "name": "detailLoading", - "ordinal": 13, - "value": false - } - }, - "recording": { - "scenario": "matrix-tasks.item-detail-linear-linear.issuecomments-1", - "checkpoints": [ - { - "id": "tk-item-detail-linear.normal:mounted", - "observation": { - "sender": ["36f9b9dfbc87", "85395348970f"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "15e1aea28b53", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "20f8d00e8abe", - "833d6b4e5d8e" - ] - } - }, - { - "id": "tk-item-detail-linear.result-absent:mounted", - "observation": { - "sender": ["36f9b9dfbc87", "39ff487f3836"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7687e6640ded", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "20f8d00e8abe", - "7f48b3a72ead" - ] - } - }, - { - "id": "tk-item-detail-linear.result-null:mounted", - "observation": { - "sender": ["36f9b9dfbc87", "8743f3c31fad"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7687e6640ded", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "20f8d00e8abe", - "7f48b3a72ead" - ] - } - }, - { - "id": "tk-item-detail-linear.inner-ok-missing:mounted", - "observation": { - "sender": ["36f9b9dfbc87", "709e768a6e14"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "86ea6da70630", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "b52601a1ca48", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-linear.inner-false-string-error:mounted", - "observation": { - "sender": ["36f9b9dfbc87", "207f75e85f31"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "86ea6da70630", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "b52601a1ca48", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-linear.inner-false-object-error:mounted", - "observation": { - "sender": ["36f9b9dfbc87", "7f2d50d8383c"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "86ea6da70630", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "b52601a1ca48", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-linear.outer-refused:mounted", - "observation": { - "sender": ["36f9b9dfbc87", "ca85f23e3bf3"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7687e6640ded", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "20f8d00e8abe", - "7f48b3a72ead" - ] - } - }, - { - "id": "tk-item-detail-linear.outer-refused-no-message:mounted", - "observation": { - "sender": ["36f9b9dfbc87", "8aa2575e48b2"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7687e6640ded", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "20f8d00e8abe", - "7f48b3a72ead" - ] - } - }, - { - "id": "tk-item-detail-linear.method-not-found:mounted", - "observation": { - "sender": ["36f9b9dfbc87", "703f0619cfbf"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7687e6640ded", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "20f8d00e8abe", - "7f48b3a72ead" - ] - } - }, - { - "id": "tk-item-detail-linear.transport-rejection:mounted", - "observation": { - "sender": ["36f9b9dfbc87", "2d5ea79a1eb8"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "84283f89c269", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "1eef2115551f", - "ee8cf6d74e46" - ] - } - }, - { - "id": "tk-item-detail-linear.transport-rejection-no-message:mounted", - "observation": { - "sender": ["36f9b9dfbc87", "3fc70a0beafb"], - "payloads": ["2bd0692fa5f7", "7b19e846a6d0"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "2302fb6a80e8", - "effects": [ - "cc2ece9478f0", - "a4f1a8696a24", - "16125975286b", - "72c0fc81a418", - "988fd3d6f1c4", - "54d7c7cacff6", - "c41a28a9097d", - "20f8d00e8abe" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 82ade222a54..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-merge-gitlab-gitlab.mergemr-1.json +++ /dev/null @@ -1,1297 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-merge-gitlab", - "family": "tasks.item-merge-gitlab", - "namedDeltas": [], - "values": { - "0966cdd17662": { - "error": "Failed to merge", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "09fd8ca6f88b": { - "name": "error", - "ordinal": 12, - "value": "" - }, - "104bf14d3af8": { - "name": "error", - "ordinal": 8, - "value": "" - }, - "11b6302399f9": { - "name": "mutatingStatus", - "ordinal": 10, - "value": true - }, - "37c27ca402e4": { - "error": "outer refused", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "3c854b38217d": { - "name": "detailPayload", - "ordinal": 6, - "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" - } - }, - "40b5b543334f": { - "name": "gitlab.mergeMR#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "gitlab.mergeMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "method": "squash", - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "42be1ca2bc40": { - "name": "mutatingStatus", - "ordinal": 4, - "value": false - }, - "45e23ca0e489": { - "name": "error", - "ordinal": 12, - "value": "transport failure" - }, - "53a900ff7ec7": { - "error": "The host sent a reply this app could not read (gitlab.mergeMR)", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "57207b51913e": { - "name": "error", - "ordinal": 12, - "value": "Unknown method" - }, - "589373883844": { - "error": "", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "5a043e84e661": { - "error": "Unknown method", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "64799bfb1848": { - "name": "error", - "ordinal": 12, - "value": "The host sent a reply this app could not read (gitlab.mergeMR)" - }, - "6f9a0297bdf6": { - "name": "reply-salvage", - "ordinal": 12, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "gitlab.mergeMR", - "operation": "gitlab.merge-merge-request", - "variant": "task-item-mutation" - } - }, - "75a7f1f7dd55": { - "name": "gitlab.mergeMR#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "gitlab.mergeMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "method": "squash", - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "7d9a2bb8b5f0": { - "name": "error", - "ordinal": 12, - "value": "outer refused" - }, - "8055d7ecc56f": { - "name": "gitlab.mergeMR#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "gitlab.mergeMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "method": "squash", - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 60000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "81282764182b": { - "name": "itemReplyDrafts", - "ordinal": 7, - "value": { - "501": "a reply", - "comment-2": "a reply" - } - }, - "8427fd4151f1": { - "name": "mutatingStatus", - "ordinal": 14, - "value": false - }, - "899160da1b8f": { - "name": "gitlab.mergeMR#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "gitlab.mergeMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "method": "squash", - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "8f16b4388e1f": { - "name": "gitlab.mergeMR#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "gitlab.mergeMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "method": "squash", - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "903e98e81410": { - "name": "error", - "ordinal": 12, - "value": "inner refused" - }, - "a0f70417d57c": { - "name": "gitlab.mergeMR#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "gitlab.mergeMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "method": "squash", - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "a45f1237e928": { - "name": "actionItem", - "ordinal": 5, - "value": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "mr" - }, - "title": "A merge request" - } - }, - "aa01ca6020fb": { - "name": "itemReplyDrafts", - "ordinal": 3, - "value": {} - }, - "b4d2403733ac": { - "name": "gitlab.mergeMR#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "gitlab.mergeMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "method": "squash", - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "b5f237e60c83": { - "error": "", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "c566e36ed73d": { - "error": "inner refused", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "d5ba86d31ed2": { - "name": "gitlab.mergeMR#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "gitlab.mergeMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "method": "squash", - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "d761ba1e2917": { - "name": "gitlab.mergeMR#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "gitlab.mergeMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "method": "squash", - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 60000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "e0a9defd9b13": { - "name": "mutatingStatus", - "ordinal": 13, - "value": false - }, - "ea2579c38961": { - "name": "gitlab.mergeMR#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "gitlab.mergeMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "method": "squash", - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - }, - "ea7201c19293": { - "name": "error", - "ordinal": 13, - "value": "Failed to merge" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ef61a5798943": { - "error": "transport failure", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "f31086f8141d": { - "name": "gitlab.mergeMR#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "gitlab.mergeMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "method": "squash", - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - }, - "f7191833ef4f": { - "name": "gitlab.mergeMR#1", - "ordinal": 11, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.mergeMR\",\"params\":{\"repo\":\"id:repo-1\",\"iid\":7,\"method\":\"squash\",\"projectRef\":{\"host\":\"gitlab.com\",\"path\":\"group/project\"}}}" - }, - "fbf2ffe3d253": { - "name": "actionItem", - "ordinal": 12, - "value": { - "$rpc": "null" - } - } - }, - "recording": { - "scenario": "matrix-tasks.item-merge-gitlab-gitlab.mergemr-1", - "checkpoints": [ - { - "id": "tk-item-merge-gitlab.normal:merge-settled", - "observation": { - "sender": ["40b5b543334f"], - "payloads": ["f7191833ef4f"], - "settlements": { - "mount": "eb79a9b3682a", - "merge-0": "eb79a9b3682a" - }, - "state": "589373883844", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "a45f1237e928", - "3c854b38217d", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "fbf2ffe3d253", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-merge-gitlab.result-absent:merge-settled", - "observation": { - "sender": ["d761ba1e2917"], - "payloads": ["f7191833ef4f"], - "settlements": { - "mount": "eb79a9b3682a", - "merge-0": "eb79a9b3682a" - }, - "state": "53a900ff7ec7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "a45f1237e928", - "3c854b38217d", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "64799bfb1848", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-merge-gitlab.result-null:merge-settled", - "observation": { - "sender": ["ea2579c38961"], - "payloads": ["f7191833ef4f"], - "settlements": { - "mount": "eb79a9b3682a", - "merge-0": "eb79a9b3682a" - }, - "state": "53a900ff7ec7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "a45f1237e928", - "3c854b38217d", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "64799bfb1848", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-merge-gitlab.inner-ok-missing:merge-settled", - "observation": { - "sender": ["f31086f8141d"], - "payloads": ["f7191833ef4f"], - "settlements": { - "mount": "eb79a9b3682a", - "merge-0": "eb79a9b3682a" - }, - "state": "589373883844", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "a45f1237e928", - "3c854b38217d", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "fbf2ffe3d253", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-merge-gitlab.inner-false-string-error:merge-settled", - "observation": { - "sender": ["899160da1b8f"], - "payloads": ["f7191833ef4f"], - "settlements": { - "mount": "eb79a9b3682a", - "merge-0": "eb79a9b3682a" - }, - "state": "c566e36ed73d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "a45f1237e928", - "3c854b38217d", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "903e98e81410", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-merge-gitlab.inner-false-object-error:merge-settled", - "observation": { - "sender": ["a0f70417d57c"], - "payloads": ["f7191833ef4f"], - "settlements": { - "mount": "eb79a9b3682a", - "merge-0": "eb79a9b3682a" - }, - "state": "0966cdd17662", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "a45f1237e928", - "3c854b38217d", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "6f9a0297bdf6", - "ea7201c19293", - "8427fd4151f1" - ] - } - }, - { - "id": "tk-item-merge-gitlab.outer-refused:merge-settled", - "observation": { - "sender": ["75a7f1f7dd55"], - "payloads": ["f7191833ef4f"], - "settlements": { - "mount": "eb79a9b3682a", - "merge-0": "eb79a9b3682a" - }, - "state": "37c27ca402e4", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "a45f1237e928", - "3c854b38217d", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "7d9a2bb8b5f0", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-merge-gitlab.outer-refused-no-message:merge-settled", - "observation": { - "sender": ["d5ba86d31ed2"], - "payloads": ["f7191833ef4f"], - "settlements": { - "mount": "eb79a9b3682a", - "merge-0": "eb79a9b3682a" - }, - "state": "b5f237e60c83", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "a45f1237e928", - "3c854b38217d", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-merge-gitlab.method-not-found:merge-settled", - "observation": { - "sender": ["b4d2403733ac"], - "payloads": ["f7191833ef4f"], - "settlements": { - "mount": "eb79a9b3682a", - "merge-0": "eb79a9b3682a" - }, - "state": "5a043e84e661", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "a45f1237e928", - "3c854b38217d", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "57207b51913e", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-merge-gitlab.transport-rejection:merge-settled", - "observation": { - "sender": ["8f16b4388e1f"], - "payloads": ["f7191833ef4f"], - "settlements": { - "mount": "eb79a9b3682a", - "merge-0": "eb79a9b3682a" - }, - "state": "ef61a5798943", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "a45f1237e928", - "3c854b38217d", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "45e23ca0e489", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-merge-gitlab.transport-rejection-no-message:merge-settled", - "observation": { - "sender": ["8055d7ecc56f"], - "payloads": ["f7191833ef4f"], - "settlements": { - "mount": "eb79a9b3682a", - "merge-0": "eb79a9b3682a" - }, - "state": "b5f237e60c83", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "a45f1237e928", - "3c854b38217d", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13" - ] - } - } - ] - } -} 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 deleted file mode 100644 index aa60799cf18..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-metadata-github-github.updatepr-1.json +++ /dev/null @@ -1,1893 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-metadata-github", - "family": "tasks.item-metadata-github", - "namedDeltas": [], - "values": { - "041bc5e8ed29": { - "error": "outer refused", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "05a1674befc8": { - "name": "github.updatePR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.updatePR" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "091fa60820e6": { - "name": "github.updatePR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.updatePR" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "10cb92284f72": { - "error": "Failed to update GitHub pull request", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "14949c71727e": { - "name": "mutatingStatus", - "ordinal": 7, - "value": false - }, - "21d560a20bed": { - "name": "error", - "ordinal": 14, - "value": "inner refused" - }, - "3537981ee19c": { - "error": "The host sent a reply this app could not read (github.updatePR)", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "36782b753721": { - "name": "error", - "ordinal": 14, - "value": "Unknown method" - }, - "376a27deb350": { - "name": "github.updatePR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.updatePR" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "3b8f482912ad": { - "name": "error", - "ordinal": 14, - "value": "The host sent a reply this app could not read (github.updatePR)" - }, - "457c13b50379": { - "name": "error", - "ordinal": 15, - "value": "Failed to update GitHub pull request" - }, - "534352bbf363": { - "name": "items", - "ordinal": 14, - "value": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "title": "Renamed", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "Renamed" - } - ] - }, - "5737a7806a0c": { - "name": "mutatingStatus", - "ordinal": 15, - "value": false - }, - "62e92e71cb1f": { - "name": "mutatingStatus", - "ordinal": 17, - "value": false - }, - "67c9daa7195e": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "title": "Renamed", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "Renamed" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "title": "Renamed", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "6836487dfc4b": { - "name": "github.updatePR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.updatePR" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - }, - "6b1d692015cd": { - "name": "detailPayload", - "ordinal": 9, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "7630bb5a9374": { - "error": "inner refused", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "7f279500a36f": { - "name": "github.updatePR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.updatePR" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - }, - "8172e0bde89a": { - "name": "github.updatePR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.updatePR" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - }, - "886c60a7e62e": { - "name": "mutatingStatus", - "ordinal": 12, - "value": true - }, - "8f2e59bf5214": { - "name": "actionItem", - "ordinal": 15, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "title": "Renamed", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "Renamed" - } - }, - "96990f48ae85": { - "name": "detailPayload", - "ordinal": 16, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "98fe08e442ec": { - "name": "itemRemoveAssigneesDraft", - "ordinal": 5, - "value": "" - }, - "a6d08199b803": { - "error": "Unknown method", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "a80ee9a342f1": { - "name": "itemAddAssigneesDraft", - "ordinal": 3, - "value": "" - }, - "b1863ecc736b": { - "name": "github.updatePR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.updatePR" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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" - } - } - } - }, - "b3a46e003822": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "b505eb1b4c5b": { - "name": "reply-salvage", - "ordinal": 14, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.updatePR", - "operation": "github.update-pull-request", - "variant": "task-item-mutation" - } - }, - "b701ca439037": { - "name": "github.updatePR#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"updates\":{\"title\":\"Renamed\",\"body\":\"new body\"}}}" - }, - "b93b4f6d74db": { - "name": "itemAddLabelsDraft", - "ordinal": 4, - "value": "" - }, - "bfda615c9d93": { - "name": "github.updatePR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.updatePR" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - }, - "c79fe0d83267": { - "name": "itemRemoveLabelsDraft", - "ordinal": 6, - "value": "" - }, - "cb543ce964ae": { - "name": "error", - "ordinal": 14, - "value": "outer refused" - }, - "cbae54d3d351": { - "name": "mutatingStatus", - "ordinal": 16, - "value": false - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "cd8620080e8a": { - "name": "actionItem", - "ordinal": 8, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "cdea0971b168": { - "name": "github.updatePR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.updatePR" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "db640be34f8b": { - "name": "github.updatePR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.updatePR" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ee8298d23cf5": { - "name": "github.updatePR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.updatePR" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - }, - "ef8932b03a8c": { - "name": "error", - "ordinal": 14, - "value": "" - }, - "f65e0af02b52": { - "name": "error", - "ordinal": 14, - "value": "transport failure" - }, - "f8f151c1a56b": { - "error": "transport failure", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - } - }, - "recording": { - "scenario": "matrix-tasks.item-metadata-github-github.updatepr-1", - "checkpoints": [ - { - "id": "tk-item-metadata-github.normal:update-pr-settled", - "observation": { - "sender": ["091fa60820e6"], - "payloads": ["b701ca439037"], - "settlements": { - "mount": "eb79a9b3682a", - "update-pr-0": "eb79a9b3682a" - }, - "state": "67c9daa7195e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "cd8620080e8a", - "6b1d692015cd", - "3aefb3006914", - "886c60a7e62e", - "534352bbf363", - "8f2e59bf5214", - "96990f48ae85", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-metadata-github.result-absent:update-pr-settled", - "observation": { - "sender": ["7f279500a36f"], - "payloads": ["b701ca439037"], - "settlements": { - "mount": "eb79a9b3682a", - "update-pr-0": "eb79a9b3682a" - }, - "state": "3537981ee19c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "cd8620080e8a", - "6b1d692015cd", - "3aefb3006914", - "886c60a7e62e", - "3b8f482912ad", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-github.result-null:update-pr-settled", - "observation": { - "sender": ["b1863ecc736b"], - "payloads": ["b701ca439037"], - "settlements": { - "mount": "eb79a9b3682a", - "update-pr-0": "eb79a9b3682a" - }, - "state": "3537981ee19c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "cd8620080e8a", - "6b1d692015cd", - "3aefb3006914", - "886c60a7e62e", - "3b8f482912ad", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-github.inner-ok-missing:update-pr-settled", - "observation": { - "sender": ["db640be34f8b"], - "payloads": ["b701ca439037"], - "settlements": { - "mount": "eb79a9b3682a", - "update-pr-0": "eb79a9b3682a" - }, - "state": "67c9daa7195e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "cd8620080e8a", - "6b1d692015cd", - "3aefb3006914", - "886c60a7e62e", - "534352bbf363", - "8f2e59bf5214", - "96990f48ae85", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-metadata-github.inner-false-string-error:update-pr-settled", - "observation": { - "sender": ["05a1674befc8"], - "payloads": ["b701ca439037"], - "settlements": { - "mount": "eb79a9b3682a", - "update-pr-0": "eb79a9b3682a" - }, - "state": "7630bb5a9374", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "cd8620080e8a", - "6b1d692015cd", - "3aefb3006914", - "886c60a7e62e", - "21d560a20bed", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-github.inner-false-object-error:update-pr-settled", - "observation": { - "sender": ["cdea0971b168"], - "payloads": ["b701ca439037"], - "settlements": { - "mount": "eb79a9b3682a", - "update-pr-0": "eb79a9b3682a" - }, - "state": "10cb92284f72", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "cd8620080e8a", - "6b1d692015cd", - "3aefb3006914", - "886c60a7e62e", - "b505eb1b4c5b", - "457c13b50379", - "cbae54d3d351" - ] - } - }, - { - "id": "tk-item-metadata-github.outer-refused:update-pr-settled", - "observation": { - "sender": ["ee8298d23cf5"], - "payloads": ["b701ca439037"], - "settlements": { - "mount": "eb79a9b3682a", - "update-pr-0": "eb79a9b3682a" - }, - "state": "041bc5e8ed29", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "cd8620080e8a", - "6b1d692015cd", - "3aefb3006914", - "886c60a7e62e", - "cb543ce964ae", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-github.outer-refused-no-message:update-pr-settled", - "observation": { - "sender": ["8172e0bde89a"], - "payloads": ["b701ca439037"], - "settlements": { - "mount": "eb79a9b3682a", - "update-pr-0": "eb79a9b3682a" - }, - "state": "b3a46e003822", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "cd8620080e8a", - "6b1d692015cd", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-github.method-not-found:update-pr-settled", - "observation": { - "sender": ["376a27deb350"], - "payloads": ["b701ca439037"], - "settlements": { - "mount": "eb79a9b3682a", - "update-pr-0": "eb79a9b3682a" - }, - "state": "a6d08199b803", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "cd8620080e8a", - "6b1d692015cd", - "3aefb3006914", - "886c60a7e62e", - "36782b753721", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-github.transport-rejection:update-pr-settled", - "observation": { - "sender": ["6836487dfc4b"], - "payloads": ["b701ca439037"], - "settlements": { - "mount": "eb79a9b3682a", - "update-pr-0": "eb79a9b3682a" - }, - "state": "f8f151c1a56b", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "cd8620080e8a", - "6b1d692015cd", - "3aefb3006914", - "886c60a7e62e", - "f65e0af02b52", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-github.transport-rejection-no-message:update-pr-settled", - "observation": { - "sender": ["bfda615c9d93"], - "payloads": ["b701ca439037"], - "settlements": { - "mount": "eb79a9b3682a", - "update-pr-0": "eb79a9b3682a" - }, - "state": "b3a46e003822", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "cd8620080e8a", - "6b1d692015cd", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 7d3aafa83d6..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-metadata-gitlab-gitlab.updateissue-1.json +++ /dev/null @@ -1,1439 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-metadata-gitlab", - "family": "tasks.item-metadata-gitlab", - "namedDeltas": [], - "values": { - "07ecd2f89798": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "0ab316b1df2e": { - "name": "error", - "ordinal": 14, - "value": "The host sent a reply this app could not read (gitlab.updateIssue)" - }, - "0f541a5aff5d": { - "error": "Failed to update GitLab item", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "14949c71727e": { - "name": "mutatingStatus", - "ordinal": 7, - "value": false - }, - "15de9730d149": { - "error": "The host sent a reply this app could not read (gitlab.updateIssue)", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "1607ea6e021e": { - "error": "", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug", "triage"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "21d560a20bed": { - "name": "error", - "ordinal": 14, - "value": "inner refused" - }, - "23ede8191c86": { - "name": "detailPayload", - "ordinal": 9, - "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" - } - }, - "240ae11e401e": { - "name": "gitlab.updateIssue#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":4,\"updates\":{\"title\":\"Renamed\",\"addLabels\":[\"triage\"]},\"projectRef\":{\"host\":\"gitlab.com\",\"path\":\"group/project\"}}}" - }, - "2b180013807d": { - "name": "error", - "ordinal": 15, - "value": "Failed to update GitLab item" - }, - "318d5739d581": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "36782b753721": { - "name": "error", - "ordinal": 14, - "value": "Unknown method" - }, - "39fb66a9e6ea": { - "error": "outer refused", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "3af68e0534be": { - "error": "inner refused", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "43bb0a08255a": { - "name": "actionItem", - "ordinal": 15, - "value": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug", "triage"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "title": "Renamed", - "type": "issue" - }, - "title": "Renamed" - } - }, - "515a0a9e6a73": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "5737a7806a0c": { - "name": "mutatingStatus", - "ordinal": 15, - "value": false - }, - "5df241d333d4": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "62e92e71cb1f": { - "name": "mutatingStatus", - "ordinal": 17, - "value": false - }, - "738706916742": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - }, - "7b3b855b8c93": { - "name": "reply-salvage", - "ordinal": 14, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "gitlab.updateIssue", - "operation": "gitlab.update-issue", - "variant": "task-item-mutation" - } - }, - "886c60a7e62e": { - "name": "mutatingStatus", - "ordinal": 12, - "value": true - }, - "8a6982070d5f": { - "name": "items", - "ordinal": 14, - "value": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug", "triage"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "title": "Renamed", - "type": "issue" - }, - "title": "Renamed" - } - ] - }, - "94efe93e7243": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "98fe08e442ec": { - "name": "itemRemoveAssigneesDraft", - "ordinal": 5, - "value": "" - }, - "9e46e6e7c627": { - "name": "detailPayload", - "ordinal": 16, - "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" - } - }, - "a484e94ad6b4": { - "error": "transport failure", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "a559dafa1c06": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "a80ee9a342f1": { - "name": "itemAddAssigneesDraft", - "ordinal": 3, - "value": "" - }, - "b26dc20548a8": { - "name": "actionItem", - "ordinal": 8, - "value": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue" - }, - "title": "A GitLab issue" - } - }, - "b93b4f6d74db": { - "name": "itemAddLabelsDraft", - "ordinal": 4, - "value": "" - }, - "c00088248e96": { - "error": "Unknown method", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "c076cd226ee0": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "c79fe0d83267": { - "name": "itemRemoveLabelsDraft", - "ordinal": 6, - "value": "" - }, - "cb543ce964ae": { - "name": "error", - "ordinal": 14, - "value": "outer refused" - }, - "cbae54d3d351": { - "name": "mutatingStatus", - "ordinal": 16, - "value": false - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "d140394f0fa7": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "d45458f553ea": { - "error": "", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "e09df1cec4f2": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "e37a7708c171": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ef8932b03a8c": { - "name": "error", - "ordinal": 14, - "value": "" - }, - "f65e0af02b52": { - "name": "error", - "ordinal": 14, - "value": "transport failure" - } - }, - "recording": { - "scenario": "matrix-tasks.item-metadata-gitlab-gitlab.updateissue-1", - "checkpoints": [ - { - "id": "tk-item-metadata-gitlab.normal:update-gitlab-settled", - "observation": { - "sender": ["515a0a9e6a73"], - "payloads": ["240ae11e401e"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "1607ea6e021e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "8a6982070d5f", - "43bb0a08255a", - "9e46e6e7c627", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-metadata-gitlab.result-absent:update-gitlab-settled", - "observation": { - "sender": ["07ecd2f89798"], - "payloads": ["240ae11e401e"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "15de9730d149", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "0ab316b1df2e", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-gitlab.result-null:update-gitlab-settled", - "observation": { - "sender": ["e37a7708c171"], - "payloads": ["240ae11e401e"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "15de9730d149", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "0ab316b1df2e", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-gitlab.inner-ok-missing:update-gitlab-settled", - "observation": { - "sender": ["738706916742"], - "payloads": ["240ae11e401e"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "1607ea6e021e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "8a6982070d5f", - "43bb0a08255a", - "9e46e6e7c627", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-metadata-gitlab.inner-false-string-error:update-gitlab-settled", - "observation": { - "sender": ["318d5739d581"], - "payloads": ["240ae11e401e"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "3af68e0534be", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "21d560a20bed", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-gitlab.inner-false-object-error:update-gitlab-settled", - "observation": { - "sender": ["5df241d333d4"], - "payloads": ["240ae11e401e"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "0f541a5aff5d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "7b3b855b8c93", - "2b180013807d", - "cbae54d3d351" - ] - } - }, - { - "id": "tk-item-metadata-gitlab.outer-refused:update-gitlab-settled", - "observation": { - "sender": ["c076cd226ee0"], - "payloads": ["240ae11e401e"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "39fb66a9e6ea", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "cb543ce964ae", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-gitlab.outer-refused-no-message:update-gitlab-settled", - "observation": { - "sender": ["e09df1cec4f2"], - "payloads": ["240ae11e401e"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "d45458f553ea", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-gitlab.method-not-found:update-gitlab-settled", - "observation": { - "sender": ["d140394f0fa7"], - "payloads": ["240ae11e401e"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "c00088248e96", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "36782b753721", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-gitlab.transport-rejection:update-gitlab-settled", - "observation": { - "sender": ["94efe93e7243"], - "payloads": ["240ae11e401e"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "a484e94ad6b4", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "f65e0af02b52", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-gitlab.transport-rejection-no-message:update-gitlab-settled", - "observation": { - "sender": ["a559dafa1c06"], - "payloads": ["240ae11e401e"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "d45458f553ea", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - } - ] - } -} 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 deleted file mode 100644 index cce0aeb3fbd..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-metadata-gitlab-mr-gitlab.updatemr-1.json +++ /dev/null @@ -1,1505 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-metadata-gitlab-mr", - "family": "tasks.item-metadata-gitlab-mr", - "namedDeltas": [], - "values": { - "0e88368229ef": { - "name": "gitlab.updateMR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "14949c71727e": { - "name": "mutatingStatus", - "ordinal": 7, - "value": false - }, - "21d560a20bed": { - "name": "error", - "ordinal": 14, - "value": "inner refused" - }, - "23ede8191c86": { - "name": "detailPayload", - "ordinal": 9, - "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" - } - }, - "266686bfdeec": { - "error": "", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": ["bug", "triage"], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "29c6b20b5026": { - "error": "Failed to update GitLab item", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "2b180013807d": { - "name": "error", - "ordinal": 15, - "value": "Failed to update GitLab item" - }, - "36782b753721": { - "name": "error", - "ordinal": 14, - "value": "Unknown method" - }, - "37c27ca402e4": { - "error": "outer refused", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "391753b01006": { - "name": "reply-salvage", - "ordinal": 14, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "gitlab.updateMR", - "operation": "gitlab.update-merge-request", - "variant": "task-item-mutation" - } - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "3af513ef8a7e": { - "name": "items", - "ordinal": 14, - "value": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": ["bug", "triage"], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "title": "Renamed", - "type": "mr" - }, - "title": "Renamed" - } - ] - }, - "4d65b351d366": { - "name": "gitlab.updateMR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - }, - "5737a7806a0c": { - "name": "mutatingStatus", - "ordinal": 15, - "value": false - }, - "5a043e84e661": { - "error": "Unknown method", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "62e92e71cb1f": { - "name": "mutatingStatus", - "ordinal": 17, - "value": false - }, - "806d212f3150": { - "name": "actionItem", - "ordinal": 15, - "value": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": ["bug", "triage"], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "title": "Renamed", - "type": "mr" - }, - "title": "Renamed" - } - }, - "873e4c5b437e": { - "name": "gitlab.updateMR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - }, - "882a7c341ec4": { - "name": "error", - "ordinal": 14, - "value": "The host sent a reply this app could not read (gitlab.updateMR)" - }, - "886c60a7e62e": { - "name": "mutatingStatus", - "ordinal": 12, - "value": true - }, - "98fe08e442ec": { - "name": "itemRemoveAssigneesDraft", - "ordinal": 5, - "value": "" - }, - "9e46e6e7c627": { - "name": "detailPayload", - "ordinal": 16, - "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" - } - }, - "9e8914ee317f": { - "name": "gitlab.updateMR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "a211d26782cb": { - "name": "gitlab.updateMR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "a4c82b4992bd": { - "name": "actionItem", - "ordinal": 8, - "value": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "mr" - }, - "title": "A merge request" - } - }, - "a80ee9a342f1": { - "name": "itemAddAssigneesDraft", - "ordinal": 3, - "value": "" - }, - "b5f237e60c83": { - "error": "", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "b93b4f6d74db": { - "name": "itemAddLabelsDraft", - "ordinal": 4, - "value": "" - }, - "c41542d48b3c": { - "name": "gitlab.updateMR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "c566e36ed73d": { - "error": "inner refused", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "c79fe0d83267": { - "name": "itemRemoveLabelsDraft", - "ordinal": 6, - "value": "" - }, - "cb543ce964ae": { - "name": "error", - "ordinal": 14, - "value": "outer refused" - }, - "cbae54d3d351": { - "name": "mutatingStatus", - "ordinal": 16, - "value": false - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "cf0ba5d9fc21": { - "name": "gitlab.updateMR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "d04422b812a2": { - "error": "The host sent a reply this app could not read (gitlab.updateMR)", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "d160740ade20": { - "name": "gitlab.updateMR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "d4f3b321d730": { - "name": "gitlab.updateMR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "daa0db125085": { - "name": "gitlab.updateMR#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.updateMR\",\"params\":{\"repo\":\"id:repo-1\",\"iid\":7,\"projectRef\":{\"host\":\"gitlab.com\",\"path\":\"group/project\"},\"updates\":{\"title\":\"Renamed\",\"addLabels\":[\"triage\"]}}}" - }, - "eaaa38aaf3d5": { - "name": "gitlab.updateMR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ef61a5798943": { - "error": "transport failure", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "ef8932b03a8c": { - "name": "error", - "ordinal": 14, - "value": "" - }, - "f36c99fda371": { - "name": "gitlab.updateMR#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMR" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "f65e0af02b52": { - "name": "error", - "ordinal": 14, - "value": "transport failure" - } - }, - "recording": { - "scenario": "matrix-tasks.item-metadata-gitlab-mr-gitlab.updatemr-1", - "checkpoints": [ - { - "id": "tk-item-metadata-gitlab-mr.normal:update-gitlab-settled", - "observation": { - "sender": ["c41542d48b3c"], - "payloads": ["daa0db125085"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "266686bfdeec", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "3af513ef8a7e", - "806d212f3150", - "9e46e6e7c627", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-metadata-gitlab-mr.result-absent:update-gitlab-settled", - "observation": { - "sender": ["d4f3b321d730"], - "payloads": ["daa0db125085"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "d04422b812a2", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "882a7c341ec4", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-gitlab-mr.result-null:update-gitlab-settled", - "observation": { - "sender": ["4d65b351d366"], - "payloads": ["daa0db125085"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "d04422b812a2", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "882a7c341ec4", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-gitlab-mr.inner-ok-missing:update-gitlab-settled", - "observation": { - "sender": ["873e4c5b437e"], - "payloads": ["daa0db125085"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "266686bfdeec", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "3af513ef8a7e", - "806d212f3150", - "9e46e6e7c627", - "62e92e71cb1f" - ] - } - }, - { - "id": "tk-item-metadata-gitlab-mr.inner-false-string-error:update-gitlab-settled", - "observation": { - "sender": ["f36c99fda371"], - "payloads": ["daa0db125085"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "c566e36ed73d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "21d560a20bed", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-gitlab-mr.inner-false-object-error:update-gitlab-settled", - "observation": { - "sender": ["9e8914ee317f"], - "payloads": ["daa0db125085"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "29c6b20b5026", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "391753b01006", - "2b180013807d", - "cbae54d3d351" - ] - } - }, - { - "id": "tk-item-metadata-gitlab-mr.outer-refused:update-gitlab-settled", - "observation": { - "sender": ["d160740ade20"], - "payloads": ["daa0db125085"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "37c27ca402e4", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "cb543ce964ae", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-gitlab-mr.outer-refused-no-message:update-gitlab-settled", - "observation": { - "sender": ["eaaa38aaf3d5"], - "payloads": ["daa0db125085"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "b5f237e60c83", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-gitlab-mr.method-not-found:update-gitlab-settled", - "observation": { - "sender": ["cf0ba5d9fc21"], - "payloads": ["daa0db125085"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "5a043e84e661", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "36782b753721", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-gitlab-mr.transport-rejection:update-gitlab-settled", - "observation": { - "sender": ["a211d26782cb"], - "payloads": ["daa0db125085"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "ef61a5798943", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "f65e0af02b52", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-metadata-gitlab-mr.transport-rejection-no-message:update-gitlab-settled", - "observation": { - "sender": ["0e88368229ef"], - "payloads": ["daa0db125085"], - "settlements": { - "mount": "eb79a9b3682a", - "update-gitlab-0": "eb79a9b3682a" - }, - "state": "b5f237e60c83", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 99576f5c8c8..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-github.addissuecomment-1.json +++ /dev/null @@ -1,3752 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-reply-merge-github", - "family": "tasks.item-reply-merge", - "namedDeltas": [], - "values": { - "001c5ebd5527": { - "name": "github.addIssueComment#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "@octocat a reply", - "number": 12, - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "029bb83f402f": { - "name": "error", - "ordinal": 21, - "value": "" - }, - "037c5b68c02c": { - "name": "github.addIssueComment#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "@octocat a reply", - "number": 12, - "prRepo": { - "host": "github.com", - "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-2", - "ok": false - } - } - }, - "104bf14d3af8": { - "name": "error", - "ordinal": 8, - "value": "" - }, - "11b6302399f9": { - "name": "mutatingStatus", - "ordinal": 10, - "value": true - }, - "1b36044733aa": { - "name": "github.addIssueComment#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "@octocat a reply", - "number": 12, - "prRepo": { - "host": "github.com", - "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-2", - "ok": true - } - } - }, - "1b5f4d56301c": { - "name": "mutatingStatus", - "ordinal": 29, - "value": true - }, - "1e0a08810578": { - "name": "items", - "ordinal": 31, - "value": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ] - }, - "1ef88ba44f5f": { - "error": "", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "2147188789d2": { - "error": "Failed to reply", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "29cadc65bcbb": { - "name": "error", - "ordinal": 15, - "value": "" - }, - "29ed7524dd3c": { - "name": "error", - "ordinal": 22, - "value": "" - }, - "34e3f1c5db21": { - "name": "github.addIssueComment#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "@octocat a reply", - "number": 12, - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "37da5623e48f": { - "error": "transport failure", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "387fc47e347f": { - "name": "github.addIssueComment#1", - "ordinal": 18, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12,\"body\":\"@octocat a reply\",\"type\":\"pr\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"}}}" - }, - "3accbb2a4fcb": { - "name": "mutatingStatus", - "ordinal": 20, - "value": false - }, - "3e0fed9df072": { - "error": "", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "3fcdcfa261ee": { - "name": "mutatingStatus", - "ordinal": 23, - "value": true - }, - "402e0b26b5d0": { - "name": "detailPayload", - "ordinal": 19, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "42be1ca2bc40": { - "name": "mutatingStatus", - "ordinal": 4, - "value": false - }, - "4683a2e1b3f8": { - "name": "actionItem", - "ordinal": 5, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "484e5b3de56e": { - "name": "error", - "ordinal": 28, - "value": "" - }, - "4dd9211bea32": { - "name": "mutatingStatus", - "ordinal": 17, - "value": true - }, - "5b1644d4f9fa": { - "name": "github.mergePR#1", - "ordinal": 25, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"method\":\"squash\"}}" - }, - "60687f59e00c": { - "name": "github.addIssueComment#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "@octocat a reply", - "number": 12, - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "6075f27a5a9a": { - "name": "linear.updateIssue#1", - "ordinal": 29, - "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 - } - } - } - }, - "68003f9dae22": { - "name": "mutatingStatus", - "ordinal": 24, - "value": true - }, - "69e3270c4146": { - "name": "error", - "ordinal": 19, - "value": "transport failure" - }, - "6b99a2c59fde": { - "name": "github.addIssueComment#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "@octocat a reply", - "number": 12, - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "6d512f848a18": { - "name": "error", - "ordinal": 27, - "value": "" - }, - "804aa0239615": { - "name": "items", - "ordinal": 32, - "value": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ] - }, - "81282764182b": { - "name": "itemReplyDrafts", - "ordinal": 7, - "value": { - "501": "a reply", - "comment-2": "a reply" - } - }, - "820ffcd139ff": { - "name": "github.addIssueComment#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "@octocat a reply", - "number": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "82be5a1db7df": { - "name": "mutatingStatus", - "ordinal": 33, - "value": false - }, - "8427fd4151f1": { - "name": "mutatingStatus", - "ordinal": 14, - "value": false - }, - "869e1e2e047d": { - "name": "detailPayload", - "ordinal": 19, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "86b8b12e40c5": { - "name": "github.addIssueComment#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "@octocat a reply", - "number": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "86fa3f6d565f": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "8b1dcb4dd17e": { - "name": "error", - "ordinal": 19, - "value": "outer refused" - }, - "8d90f18e1ba8": { - "name": "reply-salvage", - "ordinal": 19, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.addIssueComment", - "operation": "github.add-issue-comment", - "variant": "task-comment-written" - } - }, - "8f4383ae60a4": { - "error": "inner refused", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "94caa29bceef": { - "name": "error", - "ordinal": 19, - "value": "" - }, - "98eb36f15c01": { - "name": "itemReplyDrafts", - "ordinal": 13, - "value": { - "comment-2": "a reply" - } - }, - "9b525edb42d2": { - "name": "github.addIssueComment#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "@octocat a reply", - "number": 12, - "prRepo": { - "host": "github.com", - "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-2", - "ok": false - } - } - }, - "a56dd9c9faa9": { - "name": "github.mergePR#1", - "ordinal": 22, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - } - }, - "a5e12548c7c6": { - "name": "error", - "ordinal": 19, - "value": "inner refused" - }, - "aa01ca6020fb": { - "name": "itemReplyDrafts", - "ordinal": 3, - "value": {} - }, - "ac0db949ad4f": { - "name": "error", - "ordinal": 20, - "value": "Failed to reply" - }, - "acff45feb249": { - "name": "mutatingStatus", - "ordinal": 26, - "value": false - }, - "aff0d8c96eeb": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "b5045fdefc55": { - "name": "linear.updateIssue#1", - "ordinal": 30, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"linear.updateIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"updates\":{\"stateId\":\"state-2\"}}}" - }, - "b583d6da9794": { - "name": "github.addIssueComment#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "@octocat a reply", - "number": 12, - "prRepo": { - "host": "github.com", - "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-2", - "ok": false - } - } - }, - "c0069fa2a003": { - "error": "Unknown method", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "c16a0a7d376f": { - "name": "detailPayload", - "ordinal": 12, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "c59a5cd8a507": { - "name": "error", - "ordinal": 19, - "value": "Unknown method" - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "ce2c6bf47801": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.addPRReviewCommentReply" - }, - { - "name": "params", - "value": { - "body": "a reply", - "commentId": 501, - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-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 - } - } - } - }, - "cf3d5c40d588": { - "error": "The host sent a reply this app could not read (github.addIssueComment)", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "d1230c20846f": { - "name": "linear.updateIssue#1", - "ordinal": 31, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"linear.updateIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"updates\":{\"stateId\":\"state-2\"}}}" - }, - "d7229e76e893": { - "error": "", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "db1d1bcab9f6": { - "name": "mutatingStatus", - "ordinal": 32, - "value": false - }, - "dc686891aa6e": { - "name": "github.addIssueComment#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "@octocat a reply", - "number": 12, - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": { - "comment": { - "author": "You", - "body": "a comment", - "createdAt": "2020-01-01T00:00:00.000Z", - "id": 902 - }, - "ok": true - } - } - } - }, - "e66062a7229b": { - "name": "actionItem", - "ordinal": 26, - "value": { - "$rpc": "null" - } - }, - "e7c30d615df8": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "e96ef2062b64": { - "name": "linear.updateIssue#1", - "ordinal": 28, - "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 - } - } - } - }, - "e99d4c89211e": { - "name": "github.mergePR#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec02fb32a3e8": { - "name": "github.mergePR#1", - "ordinal": 24, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"method\":\"squash\"}}" - }, - "ed47309ce73e": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 11, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"commentId\":501,\"body\":\"a reply\",\"threadId\":\"thread-1\",\"path\":\"src/index.ts\",\"line\":12}}" - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ee46c3c5fe81": { - "name": "mutatingStatus", - "ordinal": 30, - "value": true - }, - "f3dafd073b87": { - "name": "actionItem", - "ordinal": 25, - "value": { - "$rpc": "null" - } - }, - "f50304aabf42": { - "name": "error", - "ordinal": 19, - "value": "The host sent a reply this app could not read (github.addIssueComment)" - }, - "f756dcb64e9c": { - "name": "itemReplyDrafts", - "ordinal": 20, - "value": {} - }, - "f9f88a1b1096": { - "name": "detailPayload", - "ordinal": 6, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "fa2f2de4dfe7": { - "name": "mutatingStatus", - "ordinal": 27, - "value": false - }, - "fa523e166d1f": { - "error": "outer refused", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "fc98c233b124": { - "name": "mutatingStatus", - "ordinal": 21, - "value": false - } - }, - "recording": { - "scenario": "matrix-tasks.item-reply-merge-github.addissuecomment-1", - "checkpoints": [ - { - "id": "tk-item-reply-merge.prelude:review-reply-settled", - "observation": { - "sender": ["ce2c6bf47801"], - "payloads": ["ed47309ce73e"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a" - }, - "state": "e7c30d615df8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1" - ] - } - }, - { - "id": "tk-item-reply-merge.normal:issue-reply-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "86fa3f6d565f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124" - ] - } - }, - { - "id": "tk-item-reply-merge.normal:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.normal:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.result-absent:issue-reply-settled", - "observation": { - "sender": ["ce2c6bf47801", "1b36044733aa"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "cf3d5c40d588", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "f50304aabf42", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.result-absent:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "1b36044733aa", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "f50304aabf42", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.result-absent:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "1b36044733aa", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "f50304aabf42", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - }, - { - "id": "tk-item-reply-merge.result-null:issue-reply-settled", - "observation": { - "sender": ["ce2c6bf47801", "60687f59e00c"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "cf3d5c40d588", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "f50304aabf42", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.result-null:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "60687f59e00c", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "f50304aabf42", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.result-null:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "60687f59e00c", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "f50304aabf42", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-ok-missing:issue-reply-settled", - "observation": { - "sender": ["ce2c6bf47801", "001c5ebd5527"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "aff0d8c96eeb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "402e0b26b5d0", - "f756dcb64e9c", - "fc98c233b124" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-ok-missing:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "001c5ebd5527", "e99d4c89211e"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "d7229e76e893", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "402e0b26b5d0", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-ok-missing:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "001c5ebd5527", "e99d4c89211e", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "d7229e76e893", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "402e0b26b5d0", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-string-error:issue-reply-settled", - "observation": { - "sender": ["ce2c6bf47801", "34e3f1c5db21"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "8f4383ae60a4", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "a5e12548c7c6", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-string-error:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "34e3f1c5db21", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "a5e12548c7c6", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-string-error:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "34e3f1c5db21", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "a5e12548c7c6", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-object-error:issue-reply-settled", - "observation": { - "sender": ["ce2c6bf47801", "6b99a2c59fde"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "2147188789d2", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "8d90f18e1ba8", - "ac0db949ad4f", - "fc98c233b124" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-object-error:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "6b99a2c59fde", "e99d4c89211e"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "8d90f18e1ba8", - "ac0db949ad4f", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-object-error:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "6b99a2c59fde", "e99d4c89211e", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "8d90f18e1ba8", - "ac0db949ad4f", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused:issue-reply-settled", - "observation": { - "sender": ["ce2c6bf47801", "9b525edb42d2"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "fa523e166d1f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "8b1dcb4dd17e", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "9b525edb42d2", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "8b1dcb4dd17e", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "9b525edb42d2", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "8b1dcb4dd17e", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused-no-message:issue-reply-settled", - "observation": { - "sender": ["ce2c6bf47801", "b583d6da9794"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "e7c30d615df8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "94caa29bceef", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused-no-message:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "b583d6da9794", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "94caa29bceef", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused-no-message:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "b583d6da9794", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "94caa29bceef", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - }, - { - "id": "tk-item-reply-merge.method-not-found:issue-reply-settled", - "observation": { - "sender": ["ce2c6bf47801", "037c5b68c02c"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "c0069fa2a003", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "c59a5cd8a507", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.method-not-found:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "037c5b68c02c", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "c59a5cd8a507", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.method-not-found:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "037c5b68c02c", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "c59a5cd8a507", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection:issue-reply-settled", - "observation": { - "sender": ["ce2c6bf47801", "86b8b12e40c5"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "37da5623e48f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "69e3270c4146", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "86b8b12e40c5", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "69e3270c4146", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "86b8b12e40c5", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "69e3270c4146", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection-no-message:issue-reply-settled", - "observation": { - "sender": ["ce2c6bf47801", "820ffcd139ff"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "e7c30d615df8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "94caa29bceef", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection-no-message:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "820ffcd139ff", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "94caa29bceef", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection-no-message:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "820ffcd139ff", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "387fc47e347f", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "1ef88ba44f5f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "94caa29bceef", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - } - ] - } -} 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 deleted file mode 100644 index db9318d6e14..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-github.addprreviewcommentreply-1.json +++ /dev/null @@ -1,4512 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-reply-merge-github", - "family": "tasks.item-reply-merge", - "namedDeltas": [], - "values": { - "000e698a9f97": { - "name": "itemReplyDrafts", - "ordinal": 20, - "value": { - "501": "a reply" - } - }, - "029bb83f402f": { - "name": "error", - "ordinal": 21, - "value": "" - }, - "041bc5e8ed29": { - "error": "outer refused", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "09fd8ca6f88b": { - "name": "error", - "ordinal": 12, - "value": "" - }, - "10184bee3b74": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.addPRReviewCommentReply" - }, - { - "name": "params", - "value": { - "body": "a reply", - "commentId": 501, - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-1", - "ok": true - } - } - }, - "104b7282f1d0": { - "error": "", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "104bf14d3af8": { - "name": "error", - "ordinal": 8, - "value": "" - }, - "10c331faad71": { - "error": "Failed to reply", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "11b6302399f9": { - "name": "mutatingStatus", - "ordinal": 10, - "value": true - }, - "1406c24e3f92": { - "name": "detailPayload", - "ordinal": 19, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "1b5f4d56301c": { - "name": "mutatingStatus", - "ordinal": 29, - "value": true - }, - "1e0a08810578": { - "name": "items", - "ordinal": 31, - "value": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ] - }, - "21d4a61ebb28": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "25d6b55cf1b6": { - "error": "The host sent a reply this app could not read (github.addPRReviewCommentReply)", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "29cadc65bcbb": { - "name": "error", - "ordinal": 15, - "value": "" - }, - "29ed7524dd3c": { - "name": "error", - "ordinal": 22, - "value": "" - }, - "2fc270f6f3b1": { - "name": "reply-salvage", - "ordinal": 12, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.addPRReviewCommentReply", - "operation": "github.add-pr-review-comment-reply", - "variant": "task-comment-written" - } - }, - "387fc47e347f": { - "name": "github.addIssueComment#1", - "ordinal": 18, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12,\"body\":\"@octocat a reply\",\"type\":\"pr\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"}}}" - }, - "3886ceae552f": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "3998925f2e6d": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.addPRReviewCommentReply" - }, - { - "name": "params", - "value": { - "body": "a reply", - "commentId": 501, - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "3accbb2a4fcb": { - "name": "mutatingStatus", - "ordinal": 20, - "value": false - }, - "3e0fed9df072": { - "error": "", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "3fcdcfa261ee": { - "name": "mutatingStatus", - "ordinal": 23, - "value": true - }, - "42be1ca2bc40": { - "name": "mutatingStatus", - "ordinal": 4, - "value": false - }, - "45e23ca0e489": { - "name": "error", - "ordinal": 12, - "value": "transport failure" - }, - "4683a2e1b3f8": { - "name": "actionItem", - "ordinal": 5, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "47234f42fda3": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.addPRReviewCommentReply" - }, - { - "name": "params", - "value": { - "body": "a reply", - "commentId": 501, - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "484e5b3de56e": { - "name": "error", - "ordinal": 28, - "value": "" - }, - "4bc03c750729": { - "name": "github.addIssueComment#1", - "ordinal": 17, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12,\"body\":\"@octocat a reply\",\"type\":\"pr\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"}}}" - }, - "4dd9211bea32": { - "name": "mutatingStatus", - "ordinal": 17, - "value": true - }, - "57207b51913e": { - "name": "error", - "ordinal": 12, - "value": "Unknown method" - }, - "5b1644d4f9fa": { - "name": "github.mergePR#1", - "ordinal": 25, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"method\":\"squash\"}}" - }, - "5d74db33249e": { - "name": "detailPayload", - "ordinal": 12, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "6075f27a5a9a": { - "name": "linear.updateIssue#1", - "ordinal": 29, - "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 - } - } - } - }, - "6339ac85aa85": { - "name": "detailPayload", - "ordinal": 19, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "68003f9dae22": { - "name": "mutatingStatus", - "ordinal": 24, - "value": true - }, - "69b2f78c30f3": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.addPRReviewCommentReply" - }, - { - "name": "params", - "value": { - "body": "a reply", - "commentId": 501, - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "6d512f848a18": { - "name": "error", - "ordinal": 27, - "value": "" - }, - "6de4fbdb4642": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "7630bb5a9374": { - "error": "inner refused", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "7a51d48ab47e": { - "name": "detailPayload", - "ordinal": 18, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "7d9a2bb8b5f0": { - "name": "error", - "ordinal": 12, - "value": "outer refused" - }, - "804aa0239615": { - "name": "items", - "ordinal": 32, - "value": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ] - }, - "81282764182b": { - "name": "itemReplyDrafts", - "ordinal": 7, - "value": { - "501": "a reply", - "comment-2": "a reply" - } - }, - "81ed14c5ebe4": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.addPRReviewCommentReply" - }, - { - "name": "params", - "value": { - "body": "a reply", - "commentId": 501, - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-1", - "ok": false - } - } - }, - "82be5a1db7df": { - "name": "mutatingStatus", - "ordinal": 33, - "value": false - }, - "8427fd4151f1": { - "name": "mutatingStatus", - "ordinal": 14, - "value": false - }, - "84cba7d97c8b": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.addPRReviewCommentReply" - }, - { - "name": "params", - "value": { - "body": "a reply", - "commentId": 501, - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "869e1e2e047d": { - "name": "detailPayload", - "ordinal": 19, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "86d5db65aae5": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.addPRReviewCommentReply" - }, - { - "name": "params", - "value": { - "body": "a reply", - "commentId": 501, - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "86fa3f6d565f": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "88fcef535645": { - "name": "error", - "ordinal": 13, - "value": "Failed to reply" - }, - "8ebaf0949b6d": { - "name": "mutatingStatus", - "ordinal": 16, - "value": true - }, - "903e98e81410": { - "name": "error", - "ordinal": 12, - "value": "inner refused" - }, - "98eb36f15c01": { - "name": "itemReplyDrafts", - "ordinal": 13, - "value": { - "comment-2": "a reply" - } - }, - "a56dd9c9faa9": { - "name": "github.mergePR#1", - "ordinal": 22, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - } - }, - "a6d08199b803": { - "error": "Unknown method", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "aa01ca6020fb": { - "name": "itemReplyDrafts", - "ordinal": 3, - "value": {} - }, - "acff45feb249": { - "name": "mutatingStatus", - "ordinal": 26, - "value": false - }, - "b3a46e003822": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "b427a0078a93": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.addPRReviewCommentReply" - }, - { - "name": "params", - "value": { - "body": "a reply", - "commentId": 501, - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "b5045fdefc55": { - "name": "linear.updateIssue#1", - "ordinal": 30, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"linear.updateIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"updates\":{\"stateId\":\"state-2\"}}}" - }, - "b572e657279f": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.addPRReviewCommentReply" - }, - { - "name": "params", - "value": { - "body": "a reply", - "commentId": 501, - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-1", - "ok": false - } - } - }, - "c16a0a7d376f": { - "name": "detailPayload", - "ordinal": 12, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "cb297ec5d09f": { - "name": "github.addIssueComment#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "@octocat a reply", - "number": 12, - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": { - "comment": { - "author": "You", - "body": "a comment", - "createdAt": "2020-01-01T00:00:00.000Z", - "id": 902 - }, - "ok": true - } - } - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "ce2c6bf47801": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.addPRReviewCommentReply" - }, - { - "name": "params", - "value": { - "body": "a reply", - "commentId": 501, - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-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 - } - } - } - }, - "d1230c20846f": { - "name": "linear.updateIssue#1", - "ordinal": 31, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"linear.updateIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"updates\":{\"stateId\":\"state-2\"}}}" - }, - "db1d1bcab9f6": { - "name": "mutatingStatus", - "ordinal": 32, - "value": false - }, - "dc686891aa6e": { - "name": "github.addIssueComment#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "@octocat a reply", - "number": 12, - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": { - "comment": { - "author": "You", - "body": "a comment", - "createdAt": "2020-01-01T00:00:00.000Z", - "id": 902 - }, - "ok": true - } - } - } - }, - "ddeec3775a9d": { - "name": "error", - "ordinal": 12, - "value": "The host sent a reply this app could not read (github.addPRReviewCommentReply)" - }, - "e0a9defd9b13": { - "name": "mutatingStatus", - "ordinal": 13, - "value": false - }, - "e4a8d285659f": { - "error": "", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "e66062a7229b": { - "name": "actionItem", - "ordinal": 26, - "value": { - "$rpc": "null" - } - }, - "e7c30d615df8": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "e906c473983f": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.addPRReviewCommentReply" - }, - { - "name": "params", - "value": { - "body": "a reply", - "commentId": 501, - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-1", - "ok": false - } - } - }, - "e96ef2062b64": { - "name": "linear.updateIssue#1", - "ordinal": 28, - "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 - } - } - } - }, - "e99d4c89211e": { - "name": "github.mergePR#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec02fb32a3e8": { - "name": "github.mergePR#1", - "ordinal": 24, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"method\":\"squash\"}}" - }, - "ed47309ce73e": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 11, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"commentId\":501,\"body\":\"a reply\",\"threadId\":\"thread-1\",\"path\":\"src/index.ts\",\"line\":12}}" - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ee46c3c5fe81": { - "name": "mutatingStatus", - "ordinal": 30, - "value": true - }, - "ef8932b03a8c": { - "name": "error", - "ordinal": 14, - "value": "" - }, - "f2294ccc4756": { - "name": "itemReplyDrafts", - "ordinal": 19, - "value": { - "501": "a reply" - } - }, - "f3dafd073b87": { - "name": "actionItem", - "ordinal": 25, - "value": { - "$rpc": "null" - } - }, - "f756dcb64e9c": { - "name": "itemReplyDrafts", - "ordinal": 20, - "value": {} - }, - "f8f151c1a56b": { - "error": "transport failure", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "f9f88a1b1096": { - "name": "detailPayload", - "ordinal": 6, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "fa2f2de4dfe7": { - "name": "mutatingStatus", - "ordinal": 27, - "value": false - }, - "fc98c233b124": { - "name": "mutatingStatus", - "ordinal": 21, - "value": false - } - }, - "recording": { - "scenario": "matrix-tasks.item-reply-merge-github.addprreviewcommentreply-1", - "checkpoints": [ - { - "id": "tk-item-reply-merge.normal:review-reply-settled", - "observation": { - "sender": ["ce2c6bf47801"], - "payloads": ["ed47309ce73e"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a" - }, - "state": "e7c30d615df8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1" - ] - } - }, - { - "id": "tk-item-reply-merge.normal:issue-reply-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "86fa3f6d565f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124" - ] - } - }, - { - "id": "tk-item-reply-merge.normal:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.normal:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.result-absent:review-reply-settled", - "observation": { - "sender": ["10184bee3b74"], - "payloads": ["ed47309ce73e"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a" - }, - "state": "25d6b55cf1b6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "ddeec3775a9d", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-reply-merge.result-absent:issue-reply-settled", - "observation": { - "sender": ["10184bee3b74", "cb297ec5d09f"], - "payloads": ["ed47309ce73e", "4bc03c750729"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "6de4fbdb4642", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "ddeec3775a9d", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.result-absent:merge-settled", - "observation": { - "sender": ["10184bee3b74", "cb297ec5d09f", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "ddeec3775a9d", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.result-absent:linear-status-settled", - "observation": { - "sender": ["10184bee3b74", "cb297ec5d09f", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "ddeec3775a9d", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - }, - { - "id": "tk-item-reply-merge.result-null:review-reply-settled", - "observation": { - "sender": ["69b2f78c30f3"], - "payloads": ["ed47309ce73e"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a" - }, - "state": "25d6b55cf1b6", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "ddeec3775a9d", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-reply-merge.result-null:issue-reply-settled", - "observation": { - "sender": ["69b2f78c30f3", "cb297ec5d09f"], - "payloads": ["ed47309ce73e", "4bc03c750729"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "6de4fbdb4642", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "ddeec3775a9d", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.result-null:merge-settled", - "observation": { - "sender": ["69b2f78c30f3", "cb297ec5d09f", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "ddeec3775a9d", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.result-null:linear-status-settled", - "observation": { - "sender": ["69b2f78c30f3", "cb297ec5d09f", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "ddeec3775a9d", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-ok-missing:review-reply-settled", - "observation": { - "sender": ["84cba7d97c8b"], - "payloads": ["ed47309ce73e"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a" - }, - "state": "21d4a61ebb28", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "5d74db33249e", - "98eb36f15c01", - "8427fd4151f1" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-ok-missing:issue-reply-settled", - "observation": { - "sender": ["84cba7d97c8b", "dc686891aa6e"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "3886ceae552f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "5d74db33249e", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "6339ac85aa85", - "f756dcb64e9c", - "fc98c233b124" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-ok-missing:merge-settled", - "observation": { - "sender": ["84cba7d97c8b", "dc686891aa6e", "e99d4c89211e"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "e4a8d285659f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "5d74db33249e", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "6339ac85aa85", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-ok-missing:linear-status-settled", - "observation": { - "sender": ["84cba7d97c8b", "dc686891aa6e", "e99d4c89211e", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "e4a8d285659f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "5d74db33249e", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "6339ac85aa85", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-string-error:review-reply-settled", - "observation": { - "sender": ["b427a0078a93"], - "payloads": ["ed47309ce73e"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a" - }, - "state": "7630bb5a9374", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "903e98e81410", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-string-error:issue-reply-settled", - "observation": { - "sender": ["b427a0078a93", "cb297ec5d09f"], - "payloads": ["ed47309ce73e", "4bc03c750729"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "6de4fbdb4642", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "903e98e81410", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-string-error:merge-settled", - "observation": { - "sender": ["b427a0078a93", "cb297ec5d09f", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "903e98e81410", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-string-error:linear-status-settled", - "observation": { - "sender": ["b427a0078a93", "cb297ec5d09f", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "903e98e81410", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-object-error:review-reply-settled", - "observation": { - "sender": ["3998925f2e6d"], - "payloads": ["ed47309ce73e"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a" - }, - "state": "10c331faad71", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "2fc270f6f3b1", - "88fcef535645", - "8427fd4151f1" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-object-error:issue-reply-settled", - "observation": { - "sender": ["3998925f2e6d", "dc686891aa6e"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "6de4fbdb4642", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "2fc270f6f3b1", - "88fcef535645", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "1406c24e3f92", - "000e698a9f97", - "fc98c233b124" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-object-error:merge-settled", - "observation": { - "sender": ["3998925f2e6d", "dc686891aa6e", "e99d4c89211e"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "2fc270f6f3b1", - "88fcef535645", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "1406c24e3f92", - "000e698a9f97", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-object-error:linear-status-settled", - "observation": { - "sender": ["3998925f2e6d", "dc686891aa6e", "e99d4c89211e", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "2fc270f6f3b1", - "88fcef535645", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "1406c24e3f92", - "000e698a9f97", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused:review-reply-settled", - "observation": { - "sender": ["81ed14c5ebe4"], - "payloads": ["ed47309ce73e"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a" - }, - "state": "041bc5e8ed29", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "7d9a2bb8b5f0", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused:issue-reply-settled", - "observation": { - "sender": ["81ed14c5ebe4", "cb297ec5d09f"], - "payloads": ["ed47309ce73e", "4bc03c750729"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "6de4fbdb4642", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "7d9a2bb8b5f0", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused:merge-settled", - "observation": { - "sender": ["81ed14c5ebe4", "cb297ec5d09f", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "7d9a2bb8b5f0", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused:linear-status-settled", - "observation": { - "sender": ["81ed14c5ebe4", "cb297ec5d09f", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "7d9a2bb8b5f0", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused-no-message:review-reply-settled", - "observation": { - "sender": ["e906c473983f"], - "payloads": ["ed47309ce73e"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a" - }, - "state": "b3a46e003822", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused-no-message:issue-reply-settled", - "observation": { - "sender": ["e906c473983f", "cb297ec5d09f"], - "payloads": ["ed47309ce73e", "4bc03c750729"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "6de4fbdb4642", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused-no-message:merge-settled", - "observation": { - "sender": ["e906c473983f", "cb297ec5d09f", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused-no-message:linear-status-settled", - "observation": { - "sender": ["e906c473983f", "cb297ec5d09f", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - }, - { - "id": "tk-item-reply-merge.method-not-found:review-reply-settled", - "observation": { - "sender": ["b572e657279f"], - "payloads": ["ed47309ce73e"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a" - }, - "state": "a6d08199b803", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "57207b51913e", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-reply-merge.method-not-found:issue-reply-settled", - "observation": { - "sender": ["b572e657279f", "cb297ec5d09f"], - "payloads": ["ed47309ce73e", "4bc03c750729"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "6de4fbdb4642", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "57207b51913e", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.method-not-found:merge-settled", - "observation": { - "sender": ["b572e657279f", "cb297ec5d09f", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "57207b51913e", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.method-not-found:linear-status-settled", - "observation": { - "sender": ["b572e657279f", "cb297ec5d09f", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "57207b51913e", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection:review-reply-settled", - "observation": { - "sender": ["86d5db65aae5"], - "payloads": ["ed47309ce73e"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a" - }, - "state": "f8f151c1a56b", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "45e23ca0e489", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection:issue-reply-settled", - "observation": { - "sender": ["86d5db65aae5", "cb297ec5d09f"], - "payloads": ["ed47309ce73e", "4bc03c750729"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "6de4fbdb4642", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "45e23ca0e489", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection:merge-settled", - "observation": { - "sender": ["86d5db65aae5", "cb297ec5d09f", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "45e23ca0e489", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection:linear-status-settled", - "observation": { - "sender": ["86d5db65aae5", "cb297ec5d09f", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "45e23ca0e489", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection-no-message:review-reply-settled", - "observation": { - "sender": ["47234f42fda3"], - "payloads": ["ed47309ce73e"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a" - }, - "state": "b3a46e003822", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection-no-message:issue-reply-settled", - "observation": { - "sender": ["47234f42fda3", "cb297ec5d09f"], - "payloads": ["ed47309ce73e", "4bc03c750729"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "6de4fbdb4642", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection-no-message:merge-settled", - "observation": { - "sender": ["47234f42fda3", "cb297ec5d09f", "a56dd9c9faa9"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection-no-message:linear-status-settled", - "observation": { - "sender": ["47234f42fda3", "cb297ec5d09f", "a56dd9c9faa9", "e96ef2062b64"], - "payloads": ["ed47309ce73e", "4bc03c750729", "ec02fb32a3e8", "b5045fdefc55"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "104b7282f1d0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "7a51d48ab47e", - "f2294ccc4756", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f3dafd073b87", - "acff45feb249", - "6d512f848a18", - "1b5f4d56301c", - "1e0a08810578", - "db1d1bcab9f6" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 1cdb3a161e4..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-github.mergepr-1.json +++ /dev/null @@ -1,3031 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-reply-merge-github", - "family": "tasks.item-reply-merge", - "namedDeltas": [], - "values": { - "01d09306d360": { - "name": "linear.updateIssue#1", - "ordinal": 30, - "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 - } - } - } - }, - "0bcd0b44329b": { - "error": "The host sent a reply this app could not read (github.mergePR)", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "0db03e438025": { - "name": "github.mergePR#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - } - }, - "0fe7f89fd33c": { - "name": "items", - "ordinal": 33, - "value": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ] - }, - "104bf14d3af8": { - "name": "error", - "ordinal": 8, - "value": "" - }, - "11b6302399f9": { - "name": "mutatingStatus", - "ordinal": 10, - "value": true - }, - "11cf5db61a07": { - "name": "reply-salvage", - "ordinal": 26, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.mergePR", - "operation": "github.merge-pull-request", - "variant": "task-item-mutation" - } - }, - "191db8dc126e": { - "name": "error", - "ordinal": 26, - "value": "outer refused" - }, - "22b1e4293201": { - "name": "mutatingStatus", - "ordinal": 28, - "value": false - }, - "29cadc65bcbb": { - "name": "error", - "ordinal": 15, - "value": "" - }, - "29ed7524dd3c": { - "name": "error", - "ordinal": 22, - "value": "" - }, - "317f8d534a4a": { - "name": "github.mergePR#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "387fc47e347f": { - "name": "github.addIssueComment#1", - "ordinal": 18, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12,\"body\":\"@octocat a reply\",\"type\":\"pr\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"}}}" - }, - "3e0fed9df072": { - "error": "", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "42be1ca2bc40": { - "name": "mutatingStatus", - "ordinal": 4, - "value": false - }, - "4683a2e1b3f8": { - "name": "actionItem", - "ordinal": 5, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "484e5b3de56e": { - "name": "error", - "ordinal": 28, - "value": "" - }, - "4dd9211bea32": { - "name": "mutatingStatus", - "ordinal": 17, - "value": true - }, - "52753067f7d4": { - "name": "error", - "ordinal": 27, - "value": "Failed to merge" - }, - "5b1644d4f9fa": { - "name": "github.mergePR#1", - "ordinal": 25, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"method\":\"squash\"}}" - }, - "5c299ec8d41a": { - "name": "error", - "ordinal": 26, - "value": "Unknown method" - }, - "5f8b5e2e1298": { - "name": "github.mergePR#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - } - }, - "6075f27a5a9a": { - "name": "linear.updateIssue#1", - "ordinal": 29, - "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 - } - } - } - }, - "615b27d44425": { - "name": "error", - "ordinal": 26, - "value": "The host sent a reply this app could not read (github.mergePR)" - }, - "630e84c1060c": { - "error": "outer refused", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "661918e04081": { - "name": "linear.updateIssue#1", - "ordinal": 32, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"linear.updateIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"updates\":{\"stateId\":\"state-2\"}}}" - }, - "68003f9dae22": { - "name": "mutatingStatus", - "ordinal": 24, - "value": true - }, - "69ecd2eb84e9": { - "name": "github.mergePR#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "6ad41b77ed8d": { - "name": "mutatingStatus", - "ordinal": 31, - "value": true - }, - "6d15e6532327": { - "name": "error", - "ordinal": 26, - "value": "transport failure" - }, - "6dd330aacfa2": { - "name": "error", - "ordinal": 26, - "value": "" - }, - "77d6dcd75a2b": { - "name": "github.mergePR#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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" - } - } - } - }, - "795987e0b9d9": { - "name": "github.mergePR#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "801bda6a9198": { - "name": "error", - "ordinal": 29, - "value": "" - }, - "804aa0239615": { - "name": "items", - "ordinal": 32, - "value": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ] - }, - "81282764182b": { - "name": "itemReplyDrafts", - "ordinal": 7, - "value": { - "501": "a reply", - "comment-2": "a reply" - } - }, - "82be5a1db7df": { - "name": "mutatingStatus", - "ordinal": 33, - "value": false - }, - "8427fd4151f1": { - "name": "mutatingStatus", - "ordinal": 14, - "value": false - }, - "869e1e2e047d": { - "name": "detailPayload", - "ordinal": 19, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "86fa3f6d565f": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "8c7ef5e32af0": { - "error": "inner refused", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "97af163c5598": { - "name": "github.mergePR#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "98eb36f15c01": { - "name": "itemReplyDrafts", - "ordinal": 13, - "value": { - "comment-2": "a reply" - } - }, - "99e1f8b89577": { - "name": "error", - "ordinal": 26, - "value": "inner refused" - }, - "9a56f30533a8": { - "name": "github.mergePR#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "aa01ca6020fb": { - "name": "itemReplyDrafts", - "ordinal": 3, - "value": {} - }, - "c16a0a7d376f": { - "name": "detailPayload", - "ordinal": 12, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "c54d936552eb": { - "error": "Unknown method", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "ce2c6bf47801": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.addPRReviewCommentReply" - }, - { - "name": "params", - "value": { - "body": "a reply", - "commentId": 501, - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-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 - } - } - } - }, - "d1230c20846f": { - "name": "linear.updateIssue#1", - "ordinal": 31, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"linear.updateIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"updates\":{\"stateId\":\"state-2\"}}}" - }, - "d773683f6bb9": { - "name": "mutatingStatus", - "ordinal": 34, - "value": false - }, - "dc686891aa6e": { - "name": "github.addIssueComment#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "@octocat a reply", - "number": 12, - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": { - "comment": { - "author": "You", - "body": "a comment", - "createdAt": "2020-01-01T00:00:00.000Z", - "id": 902 - }, - "ok": true - } - } - } - }, - "de18c93a8cb7": { - "name": "github.mergePR#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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" - } - } - } - }, - "e0d4f666a849": { - "error": "Failed to merge", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "e66062a7229b": { - "name": "actionItem", - "ordinal": 26, - "value": { - "$rpc": "null" - } - }, - "e7c30d615df8": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "e99d4c89211e": { - "name": "github.mergePR#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ed47309ce73e": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 11, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"commentId\":501,\"body\":\"a reply\",\"threadId\":\"thread-1\",\"path\":\"src/index.ts\",\"line\":12}}" - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ee46c3c5fe81": { - "name": "mutatingStatus", - "ordinal": 30, - "value": true - }, - "f66a0563cfce": { - "name": "github.mergePR#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "f756dcb64e9c": { - "name": "itemReplyDrafts", - "ordinal": 20, - "value": {} - }, - "f9f88a1b1096": { - "name": "detailPayload", - "ordinal": 6, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "fa2f2de4dfe7": { - "name": "mutatingStatus", - "ordinal": 27, - "value": false - }, - "fc98c233b124": { - "name": "mutatingStatus", - "ordinal": 21, - "value": false - }, - "feeace2b6e70": { - "error": "transport failure", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - } - }, - "recording": { - "scenario": "matrix-tasks.item-reply-merge-github.mergepr-1", - "checkpoints": [ - { - "id": "tk-item-reply-merge.prelude:review-reply-settled", - "observation": { - "sender": ["ce2c6bf47801"], - "payloads": ["ed47309ce73e"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a" - }, - "state": "e7c30d615df8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1" - ] - } - }, - { - "id": "tk-item-reply-merge.prelude:issue-reply-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "86fa3f6d565f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124" - ] - } - }, - { - "id": "tk-item-reply-merge.normal:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.normal:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.result-absent:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "317f8d534a4a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "0bcd0b44329b", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "615b27d44425", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.result-absent:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "317f8d534a4a", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "86fa3f6d565f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "615b27d44425", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.result-null:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "77d6dcd75a2b"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "0bcd0b44329b", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "615b27d44425", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.result-null:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "77d6dcd75a2b", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "86fa3f6d565f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "615b27d44425", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-ok-missing:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "de18c93a8cb7"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-ok-missing:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "de18c93a8cb7", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-string-error:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "0db03e438025"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "8c7ef5e32af0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "99e1f8b89577", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-string-error:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "0db03e438025", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "86fa3f6d565f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "99e1f8b89577", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-object-error:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "5f8b5e2e1298"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "e0d4f666a849", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "11cf5db61a07", - "52753067f7d4", - "22b1e4293201" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-object-error:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "5f8b5e2e1298", "01d09306d360"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "661918e04081"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "86fa3f6d565f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "11cf5db61a07", - "52753067f7d4", - "22b1e4293201", - "801bda6a9198", - "6ad41b77ed8d", - "0fe7f89fd33c", - "d773683f6bb9" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "69ecd2eb84e9"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "630e84c1060c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "191db8dc126e", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "69ecd2eb84e9", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "86fa3f6d565f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "191db8dc126e", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused-no-message:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "f66a0563cfce"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "86fa3f6d565f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "6dd330aacfa2", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused-no-message:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "f66a0563cfce", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "86fa3f6d565f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "6dd330aacfa2", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.method-not-found:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "97af163c5598"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "c54d936552eb", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "5c299ec8d41a", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.method-not-found:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "97af163c5598", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "86fa3f6d565f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "5c299ec8d41a", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "795987e0b9d9"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "feeace2b6e70", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "6d15e6532327", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "795987e0b9d9", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "86fa3f6d565f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "6d15e6532327", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection-no-message:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "9a56f30533a8"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "86fa3f6d565f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "6dd330aacfa2", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection-no-message:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "9a56f30533a8", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "86fa3f6d565f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "6dd330aacfa2", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - } - ] - } -} 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 deleted file mode 100644 index b8d373233d0..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-reply-merge-linear.updateissue-1.json +++ /dev/null @@ -1,2287 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-reply-merge-github", - "family": "tasks.item-reply-merge", - "namedDeltas": [], - "values": { - "104bf14d3af8": { - "name": "error", - "ordinal": 8, - "value": "" - }, - "11b6302399f9": { - "name": "mutatingStatus", - "ordinal": 10, - "value": true - }, - "1d64e0869ae1": { - "error": "transport failure", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "1eacfdc1b843": { - "name": "linear.updateIssue#1", - "ordinal": 29, - "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" - } - } - } - }, - "1feaaa44f973": { - "name": "linear.updateIssue#1", - "ordinal": 29, - "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 - } - } - }, - "29cadc65bcbb": { - "name": "error", - "ordinal": 15, - "value": "" - }, - "29ed7524dd3c": { - "name": "error", - "ordinal": 22, - "value": "" - }, - "387fc47e347f": { - "name": "github.addIssueComment#1", - "ordinal": 18, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.addIssueComment\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12,\"body\":\"@octocat a reply\",\"type\":\"pr\",\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"}}}" - }, - "3a2b7fef7f8f": { - "name": "error", - "ordinal": 32, - "value": "Unknown method" - }, - "3e0fed9df072": { - "error": "", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "3e52f32ded59": { - "name": "linear.updateIssue#1", - "ordinal": 29, - "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 - } - } - }, - "42be1ca2bc40": { - "name": "mutatingStatus", - "ordinal": 4, - "value": false - }, - "4683a2e1b3f8": { - "name": "actionItem", - "ordinal": 5, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "484e5b3de56e": { - "name": "error", - "ordinal": 28, - "value": "" - }, - "4dd9211bea32": { - "name": "mutatingStatus", - "ordinal": 17, - "value": true - }, - "558caa4f38af": { - "name": "linear.updateIssue#1", - "ordinal": 29, - "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 - } - } - }, - "562914f59aed": { - "name": "error", - "ordinal": 32, - "value": "outer refused" - }, - "5b1644d4f9fa": { - "name": "github.mergePR#1", - "ordinal": 25, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.mergePR\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"method\":\"squash\"}}" - }, - "6075f27a5a9a": { - "name": "linear.updateIssue#1", - "ordinal": 29, - "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 - } - } - } - }, - "68003f9dae22": { - "name": "mutatingStatus", - "ordinal": 24, - "value": true - }, - "702525315fc0": { - "error": "outer refused", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "7b02a8033ed8": { - "name": "error", - "ordinal": 32, - "value": "" - }, - "804aa0239615": { - "name": "items", - "ordinal": 32, - "value": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ] - }, - "81282764182b": { - "name": "itemReplyDrafts", - "ordinal": 7, - "value": { - "501": "a reply", - "comment-2": "a reply" - } - }, - "82be5a1db7df": { - "name": "mutatingStatus", - "ordinal": 33, - "value": false - }, - "8427fd4151f1": { - "name": "mutatingStatus", - "ordinal": 14, - "value": false - }, - "869e1e2e047d": { - "name": "detailPayload", - "ordinal": 19, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "86fa3f6d565f": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "932da2b808e5": { - "error": "", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "976e1c84df06": { - "name": "linear.updateIssue#1", - "ordinal": 29, - "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 - } - } - }, - "98eb36f15c01": { - "name": "itemReplyDrafts", - "ordinal": 13, - "value": { - "comment-2": "a reply" - } - }, - "aa01ca6020fb": { - "name": "itemReplyDrafts", - "ordinal": 3, - "value": {} - }, - "b8199a1bdd15": { - "error": "Unknown method", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "c0bdfd3f9798": { - "name": "error", - "ordinal": 32, - "value": "transport failure" - }, - "c16a0a7d376f": { - "name": "detailPayload", - "ordinal": 12, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "ce2c6bf47801": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.addPRReviewCommentReply" - }, - { - "name": "params", - "value": { - "body": "a reply", - "commentId": 501, - "line": 12, - "path": "src/index.ts", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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-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 - } - } - } - }, - "d1230c20846f": { - "name": "linear.updateIssue#1", - "ordinal": 31, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"linear.updateIssue\",\"params\":{\"id\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"updates\":{\"stateId\":\"state-2\"}}}" - }, - "d2984cf4be3f": { - "name": "linear.updateIssue#1", - "ordinal": 29, - "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" - } - } - } - }, - "d2b1e5551423": { - "name": "error", - "ordinal": 32, - "value": "Connection closed" - }, - "d67abdf40af6": { - "name": "linear.updateIssue#1", - "ordinal": 29, - "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 - } - } - } - }, - "dc686891aa6e": { - "name": "github.addIssueComment#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "github.addIssueComment" - }, - { - "name": "params", - "value": { - "body": "@octocat a reply", - "number": 12, - "prRepo": { - "host": "github.com", - "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-2", - "ok": true, - "result": { - "comment": { - "author": "You", - "body": "a comment", - "createdAt": "2020-01-01T00:00:00.000Z", - "id": 902 - }, - "ok": true - } - } - } - }, - "e66062a7229b": { - "name": "actionItem", - "ordinal": 26, - "value": { - "$rpc": "null" - } - }, - "e7c30d615df8": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - }, - "items": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "e7fd1d164956": { - "name": "linear.updateIssue#1", - "ordinal": 29, - "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 - } - } - }, - "e99d4c89211e": { - "name": "github.mergePR#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.mergePR" - }, - { - "name": "params", - "value": { - "method": "squash", - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ed47309ce73e": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 11, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.addPRReviewCommentReply\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"commentId\":501,\"body\":\"a reply\",\"threadId\":\"thread-1\",\"path\":\"src/index.ts\",\"line\":12}}" - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ee46c3c5fe81": { - "name": "mutatingStatus", - "ordinal": 30, - "value": true - }, - "f0a474771081": { - "name": "linear.updateIssue#1", - "ordinal": 29, - "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 - } - } - }, - "f0af15f68689": { - "name": "linear.updateIssue#1", - "ordinal": 29, - "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 - } - } - } - }, - "f4554caeaf18": { - "name": "linear.updateIssue#1", - "ordinal": 29, - "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 - } - } - }, - "f756dcb64e9c": { - "name": "itemReplyDrafts", - "ordinal": 20, - "value": {} - }, - "f9f88a1b1096": { - "name": "detailPayload", - "ordinal": 6, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "fa2f2de4dfe7": { - "name": "mutatingStatus", - "ordinal": 27, - "value": false - }, - "fc98c233b124": { - "name": "mutatingStatus", - "ordinal": 21, - "value": false - } - }, - "recording": { - "scenario": "matrix-tasks.item-reply-merge-linear.updateissue-1", - "checkpoints": [ - { - "id": "tk-item-reply-merge.prelude:review-reply-settled", - "observation": { - "sender": ["ce2c6bf47801"], - "payloads": ["ed47309ce73e"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a" - }, - "state": "e7c30d615df8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1" - ] - } - }, - { - "id": "tk-item-reply-merge.prelude:issue-reply-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e"], - "payloads": ["ed47309ce73e", "387fc47e347f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a" - }, - "state": "86fa3f6d565f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124" - ] - } - }, - { - "id": "tk-item-reply-merge.prelude:merge-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-item-reply-merge.prelude:cleanup", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e", "1feaaa44f973"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "932da2b808e5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "d2b1e5551423" - ] - } - }, - { - "id": "tk-item-reply-merge.normal:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e", "6075f27a5a9a"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.result-absent:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e", "f4554caeaf18"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.result-null:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e", "1eacfdc1b843"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-ok-missing:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e", "d2984cf4be3f"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-string-error:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e", "f0af15f68689"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.inner-false-object-error:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e", "d67abdf40af6"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "804aa0239615", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e", "f0a474771081"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "702525315fc0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "562914f59aed", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.outer-refused-no-message:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e", "558caa4f38af"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "7b02a8033ed8", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.method-not-found:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e", "3e52f32ded59"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "b8199a1bdd15", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "3a2b7fef7f8f", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e", "976e1c84df06"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "1d64e0869ae1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "c0bdfd3f9798", - "82be5a1db7df" - ] - } - }, - { - "id": "tk-item-reply-merge.transport-rejection-no-message:linear-status-settled", - "observation": { - "sender": ["ce2c6bf47801", "dc686891aa6e", "e99d4c89211e", "e7fd1d164956"], - "payloads": ["ed47309ce73e", "387fc47e347f", "5b1644d4f9fa", "d1230c20846f"], - "settlements": { - "mount": "eb79a9b3682a", - "review-reply-0": "eb79a9b3682a", - "issue-reply-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "linear-status-3": "eb79a9b3682a" - }, - "state": "3e0fed9df072", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "aa01ca6020fb", - "42be1ca2bc40", - "4683a2e1b3f8", - "f9f88a1b1096", - "81282764182b", - "104bf14d3af8", - "11b6302399f9", - "c16a0a7d376f", - "98eb36f15c01", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "869e1e2e047d", - "f756dcb64e9c", - "fc98c233b124", - "29ed7524dd3c", - "68003f9dae22", - "e66062a7229b", - "fa2f2de4dfe7", - "484e5b3de56e", - "ee46c3c5fe81", - "7b02a8033ed8", - "82be5a1db7df" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 5528b3ed142..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-review-github-github.prchecks-1.json +++ /dev/null @@ -1,2067 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-review-github", - "family": "tasks.item-review-github", - "namedDeltas": [], - "values": { - "02fa700c659e": { - "name": "github.prChecks#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha", - "noCache": true, - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "04f768fb79f6": { - "name": "actionItem", - "ordinal": 6, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "0928f51c9dae": { - "name": "detailPayload", - "ordinal": 16, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "13df72dff15f": { - "draft": "a comment", - "error": "transport failure", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "1412f820054d": { - "name": "error", - "ordinal": 25, - "value": "Unknown method" - }, - "1c3b130f9436": { - "name": "actionItem", - "ordinal": 26, - "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, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "22b1e4293201": { - "name": "mutatingStatus", - "ordinal": 28, - "value": false - }, - "25d9579f3a25": { - "name": "github.prChecks#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha", - "noCache": true, - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "26f442c9e2e5": { - "name": "detailPayload", - "ordinal": 7, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "2d8d5e501a0d": { - "name": "mutatingStatus", - "ordinal": 21, - "value": true - }, - "3a6662dd6141": { - "draft": "a comment", - "error": "Unknown method", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "4031bf455f49": { - "name": "mutatingStatus", - "ordinal": 5, - "value": false - }, - "4a6545173dbd": { - "draft": "a comment", - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "4e7ca3c1521d": { - "name": "github.prChecks#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha", - "noCache": true, - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "53506297367b": { - "name": "itemCommentDraft", - "ordinal": 3, - "value": "" - }, - "593c53b594c5": { - "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, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "5a6043d5c7cc": { - "name": "actionItem", - "ordinal": 15, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "6972fd8198a3": { - "draft": "a comment", - "error": "outer refused", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "69b4fb187f59": { - "name": "detailPayload", - "ordinal": 27, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "6f47b9866251": { - "name": "github.prChecks#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha", - "noCache": true, - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": [ - { - "conclusion": "SUCCESS", - "name": "build", - "status": "COMPLETED", - "url": "" - } - ] - } - } - }, - "70d34263ce6d": { - "draft": "a comment", - "error": "The host sent a reply this app could not read (github.prChecks)", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "77d8b565e94c": { - "name": "error", - "ordinal": 25, - "value": "outer refused" - }, - "78086e29ba20": { - "name": "github.prChecks#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha", - "noCache": true, - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "87481dc71512": { - "name": "error", - "ordinal": 25, - "value": "transport failure" - }, - "886c60a7e62e": { - "name": "mutatingStatus", - "ordinal": 12, - "value": true - }, - "9331fbfa07e4": { - "name": "itemCommentDraft", - "ordinal": 9, - "value": "a comment" - }, - "94caa29bceef": { - "name": "error", - "ordinal": 19, - "value": "" - }, - "a17cf032d1cb": { - "name": "mutatingStatus", - "ordinal": 18, - "value": false - }, - "a8e736aefcf1": { - "name": "error", - "ordinal": 25, - "value": "The host sent a reply this app could not read (github.prChecks)" - }, - "ac15f5699a77": { - "name": "itemReviewersDraft", - "ordinal": 8, - "value": "octocat" - }, - "acff45feb249": { - "name": "mutatingStatus", - "ordinal": 26, - "value": false - }, - "baa2764f836f": { - "name": "github.prChecks#1", - "ordinal": 24, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"headSha\":\"head-sha\",\"noCache\":true}}" - }, - "c29314fc4896": { - "name": "items", - "ordinal": 14, - "value": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ] - }, - "c40da88e1087": { - "name": "error", - "ordinal": 25, - "value": "" - }, - "c448fcc040ee": { - "name": "status.get#1", - "ordinal": 22, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "c650cf641414": { - "name": "itemReviewersDraft", - "ordinal": 4, - "value": "" - }, - "c9e35d56c303": { - "name": "itemReviewersDraft", - "ordinal": 17, - "value": "" - }, - "ca199b3389ec": { - "name": "github.prChecks#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha", - "noCache": true, - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "cf975363479a": { - "name": "github.requestPRReviewers#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.requestPRReviewers" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - } - }, - "d2083e88d3e2": { - "name": "github.prChecks#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha", - "noCache": true, - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "d8e1fd46cd19": { - "name": "github.requestPRReviewers#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"reviewers\":[\"octocat\"]}}" - }, - "df37fc0f140b": { - "name": "github.prChecks#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha", - "noCache": true, - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "e38e4b18b697": { - "name": "items", - "ordinal": 25, - "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, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ] - }, - "e50d6e96e926": { - "name": "github.prChecks#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha", - "noCache": true, - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "e63a0d34aa38": { - "name": "github.prChecks#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha", - "noCache": true, - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - }, - "e6b60387dab2": { - "name": "status.get#1", - "ordinal": 20, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec95487dac70": { - "name": "github.prChecks#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha", - "noCache": true, - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - } - }, - "recording": { - "scenario": "matrix-tasks.item-review-github-github.prchecks-1", - "checkpoints": [ - { - "id": "tk-item-review-github.prelude:reviewers-settled", - "observation": { - "sender": ["cf975363479a"], - "payloads": ["d8e1fd46cd19"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "4a6545173dbd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb" - ] - } - }, - { - "id": "tk-item-review-github.normal:checks-settled", - "observation": { - "sender": ["cf975363479a", "e6b60387dab2", "6f47b9866251"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "593c53b594c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "e38e4b18b697", - "1c3b130f9436", - "69b4fb187f59", - "22b1e4293201" - ] - } - }, - { - "id": "tk-item-review-github.result-absent:checks-settled", - "observation": { - "sender": ["cf975363479a", "e6b60387dab2", "4e7ca3c1521d"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "70d34263ce6d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "a8e736aefcf1", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-review-github.result-null:checks-settled", - "observation": { - "sender": ["cf975363479a", "e6b60387dab2", "e50d6e96e926"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "70d34263ce6d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "a8e736aefcf1", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-review-github.inner-ok-missing:checks-settled", - "observation": { - "sender": ["cf975363479a", "e6b60387dab2", "ca199b3389ec"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "70d34263ce6d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "a8e736aefcf1", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-review-github.inner-false-string-error:checks-settled", - "observation": { - "sender": ["cf975363479a", "e6b60387dab2", "25d9579f3a25"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "70d34263ce6d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "a8e736aefcf1", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-review-github.inner-false-object-error:checks-settled", - "observation": { - "sender": ["cf975363479a", "e6b60387dab2", "ec95487dac70"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "70d34263ce6d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "a8e736aefcf1", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-review-github.outer-refused:checks-settled", - "observation": { - "sender": ["cf975363479a", "e6b60387dab2", "df37fc0f140b"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "6972fd8198a3", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "77d8b565e94c", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-review-github.outer-refused-no-message:checks-settled", - "observation": { - "sender": ["cf975363479a", "e6b60387dab2", "d2083e88d3e2"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "4a6545173dbd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "c40da88e1087", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-review-github.method-not-found:checks-settled", - "observation": { - "sender": ["cf975363479a", "e6b60387dab2", "e63a0d34aa38"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "3a6662dd6141", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "1412f820054d", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-review-github.transport-rejection:checks-settled", - "observation": { - "sender": ["cf975363479a", "e6b60387dab2", "78086e29ba20"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "13df72dff15f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "87481dc71512", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-review-github.transport-rejection-no-message:checks-settled", - "observation": { - "sender": ["cf975363479a", "e6b60387dab2", "02fa700c659e"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "4a6545173dbd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "c40da88e1087", - "acff45feb249" - ] - } - } - ] - } -} 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 deleted file mode 100644 index a1e16784ad0..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-review-github-github.requestprreviewers-1.json +++ /dev/null @@ -1,3056 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-review-github", - "family": "tasks.item-review-github", - "namedDeltas": [], - "values": { - "028e5bd2099b": { - "name": "github.prChecks#1", - "ordinal": 22, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"headSha\":\"head-sha\",\"noCache\":true}}" - }, - "04f768fb79f6": { - "name": "actionItem", - "ordinal": 6, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "0928f51c9dae": { - "name": "detailPayload", - "ordinal": 16, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "0e6faef71969": { - "draft": "a comment", - "error": "outer refused", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "11e90d5e378e": { - "name": "items", - "ordinal": 23, - "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, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ] - }, - "124bef35e9e5": { - "name": "reply-salvage", - "ordinal": 14, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.requestPRReviewers", - "operation": "github.request-pr-reviewers", - "variant": "task-item-mutation" - } - }, - "1296f040e2e2": { - "name": "mutatingStatus", - "ordinal": 18, - "value": true - }, - "1c3b130f9436": { - "name": "actionItem", - "ordinal": 26, - "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, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "21d560a20bed": { - "name": "error", - "ordinal": 14, - "value": "inner refused" - }, - "22b1e4293201": { - "name": "mutatingStatus", - "ordinal": 28, - "value": false - }, - "26f442c9e2e5": { - "name": "detailPayload", - "ordinal": 7, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "281433cc9ca6": { - "name": "error", - "ordinal": 17, - "value": "" - }, - "2d8d5e501a0d": { - "name": "mutatingStatus", - "ordinal": 21, - "value": true - }, - "35c3eb07c24a": { - "name": "actionItem", - "ordinal": 23, - "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, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "36782b753721": { - "name": "error", - "ordinal": 14, - "value": "Unknown method" - }, - "38e625888db0": { - "name": "mutatingStatus", - "ordinal": 25, - "value": false - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "3f1e21bb1b66": { - "name": "github.requestPRReviewers#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.requestPRReviewers" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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" - } - } - } - }, - "4031bf455f49": { - "name": "mutatingStatus", - "ordinal": 5, - "value": false - }, - "407af7575a68": { - "name": "error", - "ordinal": 14, - "value": "The host sent a reply this app could not read (github.requestPRReviewers)" - }, - "4674c0b77bae": { - "name": "items", - "ordinal": 22, - "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, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ] - }, - "4a6545173dbd": { - "draft": "a comment", - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "53506297367b": { - "name": "itemCommentDraft", - "ordinal": 3, - "value": "" - }, - "5737a7806a0c": { - "name": "mutatingStatus", - "ordinal": 15, - "value": false - }, - "58f81de4672e": { - "name": "github.requestPRReviewers#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.requestPRReviewers" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "593c53b594c5": { - "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, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "5a6043d5c7cc": { - "name": "actionItem", - "ordinal": 15, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "67bf687e26bc": { - "name": "actionItem", - "ordinal": 24, - "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, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "69b4fb187f59": { - "name": "detailPayload", - "ordinal": 27, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "6a969049e154": { - "name": "status.get#1", - "ordinal": 18, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "6f47b9866251": { - "name": "github.prChecks#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha", - "noCache": true, - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": [ - { - "conclusion": "SUCCESS", - "name": "build", - "status": "COMPLETED", - "url": "" - } - ] - } - } - }, - "7862a9f652d9": { - "name": "github.requestPRReviewers#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.requestPRReviewers" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "79352b30b1ed": { - "name": "github.requestPRReviewers#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.requestPRReviewers" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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" - } - } - } - }, - "81a44a832a63": { - "draft": "a comment", - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "886c60a7e62e": { - "name": "mutatingStatus", - "ordinal": 12, - "value": true - }, - "8d96fd770008": { - "name": "github.prChecks#1", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha", - "noCache": true, - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": [ - { - "conclusion": "SUCCESS", - "name": "build", - "status": "COMPLETED", - "url": "" - } - ] - } - } - }, - "8eedc58e0bb9": { - "draft": "a comment", - "error": "inner refused", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "907c3f582ac8": { - "name": "github.requestPRReviewers#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.requestPRReviewers" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "9331fbfa07e4": { - "name": "itemCommentDraft", - "ordinal": 9, - "value": "a comment" - }, - "949da9fa9fb2": { - "name": "github.requestPRReviewers#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.requestPRReviewers" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - } - }, - "94caa29bceef": { - "name": "error", - "ordinal": 19, - "value": "" - }, - "96eb00d106ee": { - "draft": "a comment", - "error": "Failed to request reviewers", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "98dd7b6613b5": { - "name": "github.prChecks#1", - "ordinal": 20, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha", - "noCache": true, - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": [ - { - "conclusion": "SUCCESS", - "name": "build", - "status": "COMPLETED", - "url": "" - } - ] - } - } - }, - "9d1f08a6e600": { - "name": "error", - "ordinal": 16, - "value": "" - }, - "a063033c7c71": { - "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, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "a17cf032d1cb": { - "name": "mutatingStatus", - "ordinal": 18, - "value": false - }, - "a750335e18c3": { - "draft": "a comment", - "error": "transport failure", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "ac15f5699a77": { - "name": "itemReviewersDraft", - "ordinal": 8, - "value": "octocat" - }, - "acff45feb249": { - "name": "mutatingStatus", - "ordinal": 26, - "value": false - }, - "b6cd450eff5a": { - "name": "github.prChecks#1", - "ordinal": 21, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"headSha\":\"head-sha\",\"noCache\":true}}" - }, - "b942b6f16120": { - "name": "github.requestPRReviewers#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.requestPRReviewers" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "b966124aada0": { - "name": "status.get#1", - "ordinal": 19, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "baa2764f836f": { - "name": "github.prChecks#1", - "ordinal": 24, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"headSha\":\"head-sha\",\"noCache\":true}}" - }, - "bc4a66954b97": { - "name": "github.requestPRReviewers#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.requestPRReviewers" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "bf58559236f1": { - "draft": "a comment", - "error": "Unknown method", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "c29314fc4896": { - "name": "items", - "ordinal": 14, - "value": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ] - }, - "c448fcc040ee": { - "name": "status.get#1", - "ordinal": 22, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "c650cf641414": { - "name": "itemReviewersDraft", - "ordinal": 4, - "value": "" - }, - "c9e35d56c303": { - "name": "itemReviewersDraft", - "ordinal": 17, - "value": "" - }, - "cb543ce964ae": { - "name": "error", - "ordinal": 14, - "value": "outer refused" - }, - "cbae54d3d351": { - "name": "mutatingStatus", - "ordinal": 16, - "value": false - }, - "cbdfd6166cd1": { - "name": "error", - "ordinal": 15, - "value": "Failed to request reviewers" - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "cf975363479a": { - "name": "github.requestPRReviewers#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.requestPRReviewers" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - } - }, - "d8e1fd46cd19": { - "name": "github.requestPRReviewers#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"reviewers\":[\"octocat\"]}}" - }, - "db79b41f1a85": { - "name": "detailPayload", - "ordinal": 24, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "e0bebf1cd037": { - "name": "status.get#1", - "ordinal": 20, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "e38e4b18b697": { - "name": "items", - "ordinal": 25, - "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, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ] - }, - "e5b8684d788c": { - "name": "github.requestPRReviewers#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.requestPRReviewers" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - }, - "e6b60387dab2": { - "name": "status.get#1", - "ordinal": 20, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "e8e79c1c5308": { - "name": "detailPayload", - "ordinal": 25, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "e98a64439ed1": { - "draft": "a comment", - "error": "The host sent a reply this app could not read (github.requestPRReviewers)", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ef8932b03a8c": { - "name": "error", - "ordinal": 14, - "value": "" - }, - "f3640f6ae8be": { - "name": "mutatingStatus", - "ordinal": 19, - "value": true - }, - "f65e0af02b52": { - "name": "error", - "ordinal": 14, - "value": "transport failure" - }, - "f92df6c83140": { - "name": "status.get#1", - "ordinal": 17, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "ff7638a01f95": { - "name": "github.requestPRReviewers#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.requestPRReviewers" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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.item-review-github-github.requestprreviewers-1", - "checkpoints": [ - { - "id": "tk-item-review-github.normal:reviewers-settled", - "observation": { - "sender": ["cf975363479a"], - "payloads": ["d8e1fd46cd19"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "4a6545173dbd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb" - ] - } - }, - { - "id": "tk-item-review-github.normal:checks-settled", - "observation": { - "sender": ["cf975363479a", "e6b60387dab2", "6f47b9866251"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "593c53b594c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "e38e4b18b697", - "1c3b130f9436", - "69b4fb187f59", - "22b1e4293201" - ] - } - }, - { - "id": "tk-item-review-github.result-absent:reviewers-settled", - "observation": { - "sender": ["e5b8684d788c"], - "payloads": ["d8e1fd46cd19"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "e98a64439ed1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "407af7575a68", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-review-github.result-absent:checks-settled", - "observation": { - "sender": ["e5b8684d788c", "f92df6c83140", "98dd7b6613b5"], - "payloads": ["d8e1fd46cd19", "b966124aada0", "b6cd450eff5a"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "a063033c7c71", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "407af7575a68", - "5737a7806a0c", - "9d1f08a6e600", - "1296f040e2e2", - "4674c0b77bae", - "35c3eb07c24a", - "db79b41f1a85", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-review-github.result-null:reviewers-settled", - "observation": { - "sender": ["3f1e21bb1b66"], - "payloads": ["d8e1fd46cd19"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "e98a64439ed1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "407af7575a68", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-review-github.result-null:checks-settled", - "observation": { - "sender": ["3f1e21bb1b66", "f92df6c83140", "98dd7b6613b5"], - "payloads": ["d8e1fd46cd19", "b966124aada0", "b6cd450eff5a"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "a063033c7c71", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "407af7575a68", - "5737a7806a0c", - "9d1f08a6e600", - "1296f040e2e2", - "4674c0b77bae", - "35c3eb07c24a", - "db79b41f1a85", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-review-github.inner-ok-missing:reviewers-settled", - "observation": { - "sender": ["79352b30b1ed"], - "payloads": ["d8e1fd46cd19"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "4a6545173dbd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb" - ] - } - }, - { - "id": "tk-item-review-github.inner-ok-missing:checks-settled", - "observation": { - "sender": ["79352b30b1ed", "e6b60387dab2", "6f47b9866251"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "593c53b594c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "e38e4b18b697", - "1c3b130f9436", - "69b4fb187f59", - "22b1e4293201" - ] - } - }, - { - "id": "tk-item-review-github.inner-false-string-error:reviewers-settled", - "observation": { - "sender": ["ff7638a01f95"], - "payloads": ["d8e1fd46cd19"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "8eedc58e0bb9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "21d560a20bed", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-review-github.inner-false-string-error:checks-settled", - "observation": { - "sender": ["ff7638a01f95", "f92df6c83140", "98dd7b6613b5"], - "payloads": ["d8e1fd46cd19", "b966124aada0", "b6cd450eff5a"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "a063033c7c71", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "21d560a20bed", - "5737a7806a0c", - "9d1f08a6e600", - "1296f040e2e2", - "4674c0b77bae", - "35c3eb07c24a", - "db79b41f1a85", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-review-github.inner-false-object-error:reviewers-settled", - "observation": { - "sender": ["949da9fa9fb2"], - "payloads": ["d8e1fd46cd19"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "96eb00d106ee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "124bef35e9e5", - "cbdfd6166cd1", - "cbae54d3d351" - ] - } - }, - { - "id": "tk-item-review-github.inner-false-object-error:checks-settled", - "observation": { - "sender": ["949da9fa9fb2", "6a969049e154", "8d96fd770008"], - "payloads": ["d8e1fd46cd19", "e0bebf1cd037", "028e5bd2099b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "a063033c7c71", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "124bef35e9e5", - "cbdfd6166cd1", - "cbae54d3d351", - "281433cc9ca6", - "f3640f6ae8be", - "11e90d5e378e", - "67bf687e26bc", - "e8e79c1c5308", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-review-github.outer-refused:reviewers-settled", - "observation": { - "sender": ["b942b6f16120"], - "payloads": ["d8e1fd46cd19"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "0e6faef71969", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "cb543ce964ae", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-review-github.outer-refused:checks-settled", - "observation": { - "sender": ["b942b6f16120", "f92df6c83140", "98dd7b6613b5"], - "payloads": ["d8e1fd46cd19", "b966124aada0", "b6cd450eff5a"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "a063033c7c71", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "cb543ce964ae", - "5737a7806a0c", - "9d1f08a6e600", - "1296f040e2e2", - "4674c0b77bae", - "35c3eb07c24a", - "db79b41f1a85", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-review-github.outer-refused-no-message:reviewers-settled", - "observation": { - "sender": ["bc4a66954b97"], - "payloads": ["d8e1fd46cd19"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "81a44a832a63", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-review-github.outer-refused-no-message:checks-settled", - "observation": { - "sender": ["bc4a66954b97", "f92df6c83140", "98dd7b6613b5"], - "payloads": ["d8e1fd46cd19", "b966124aada0", "b6cd450eff5a"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "a063033c7c71", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c", - "9d1f08a6e600", - "1296f040e2e2", - "4674c0b77bae", - "35c3eb07c24a", - "db79b41f1a85", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-review-github.method-not-found:reviewers-settled", - "observation": { - "sender": ["58f81de4672e"], - "payloads": ["d8e1fd46cd19"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "bf58559236f1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "36782b753721", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-review-github.method-not-found:checks-settled", - "observation": { - "sender": ["58f81de4672e", "f92df6c83140", "98dd7b6613b5"], - "payloads": ["d8e1fd46cd19", "b966124aada0", "b6cd450eff5a"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "a063033c7c71", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "36782b753721", - "5737a7806a0c", - "9d1f08a6e600", - "1296f040e2e2", - "4674c0b77bae", - "35c3eb07c24a", - "db79b41f1a85", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-review-github.transport-rejection:reviewers-settled", - "observation": { - "sender": ["907c3f582ac8"], - "payloads": ["d8e1fd46cd19"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "a750335e18c3", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "f65e0af02b52", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-review-github.transport-rejection:checks-settled", - "observation": { - "sender": ["907c3f582ac8", "f92df6c83140", "98dd7b6613b5"], - "payloads": ["d8e1fd46cd19", "b966124aada0", "b6cd450eff5a"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "a063033c7c71", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "f65e0af02b52", - "5737a7806a0c", - "9d1f08a6e600", - "1296f040e2e2", - "4674c0b77bae", - "35c3eb07c24a", - "db79b41f1a85", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-review-github.transport-rejection-no-message:reviewers-settled", - "observation": { - "sender": ["7862a9f652d9"], - "payloads": ["d8e1fd46cd19"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "81a44a832a63", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-review-github.transport-rejection-no-message:checks-settled", - "observation": { - "sender": ["7862a9f652d9", "f92df6c83140", "98dd7b6613b5"], - "payloads": ["d8e1fd46cd19", "b966124aada0", "b6cd450eff5a"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "a063033c7c71", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c", - "9d1f08a6e600", - "1296f040e2e2", - "4674c0b77bae", - "35c3eb07c24a", - "db79b41f1a85", - "38e625888db0" - ] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-review-github-pr-check-discovery.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-review-github-pr-check-discovery.json deleted file mode 100644 index c4b1edf7823..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-review-github-pr-check-discovery.json +++ /dev/null @@ -1,1611 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-review-github", - "family": "tasks.item-review-github", - "namedDeltas": [], - "values": { - "04f768fb79f6": { - "name": "actionItem", - "ordinal": 6, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "07ffa068648a": { - "name": "status.get#1", - "ordinal": 20, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "0928f51c9dae": { - "name": "detailPayload", - "ordinal": 16, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "1c3b130f9436": { - "name": "actionItem", - "ordinal": 26, - "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, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "1e17e1c76148": { - "name": "status.get#1", - "ordinal": 20, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "1efdd8e83547": { - "name": "status.get#1", - "ordinal": 20, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "22b1e4293201": { - "name": "mutatingStatus", - "ordinal": 28, - "value": false - }, - "26f442c9e2e5": { - "name": "detailPayload", - "ordinal": 7, - "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": [], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "2d8d5e501a0d": { - "name": "mutatingStatus", - "ordinal": 21, - "value": true - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "4031bf455f49": { - "name": "mutatingStatus", - "ordinal": 5, - "value": false - }, - "4509dc3232d7": { - "name": "status.get#1", - "ordinal": 20, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "4a6545173dbd": { - "draft": "a comment", - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "53506297367b": { - "name": "itemCommentDraft", - "ordinal": 3, - "value": "" - }, - "593c53b594c5": { - "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, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "5a2cfc63cd94": { - "name": "status.get#1", - "ordinal": 20, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "5a6043d5c7cc": { - "name": "actionItem", - "ordinal": 15, - "value": { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - }, - "69b4fb187f59": { - "name": "detailPayload", - "ordinal": 27, - "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" - } - } - ], - "targetKey": "repo-1\u0000owner/repo\u0000pr\u000012" - } - }, - "6f47b9866251": { - "name": "github.prChecks#1", - "ordinal": 23, - "args": [ - { - "name": "method", - "value": "github.prChecks" - }, - { - "name": "params", - "value": { - "headSha": "head-sha", - "noCache": true, - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": [ - { - "conclusion": "SUCCESS", - "name": "build", - "status": "COMPLETED", - "url": "" - } - ] - } - } - }, - "761539b98587": { - "name": "status.get#1", - "ordinal": 20, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "886c60a7e62e": { - "name": "mutatingStatus", - "ordinal": 12, - "value": true - }, - "9331fbfa07e4": { - "name": "itemCommentDraft", - "ordinal": 9, - "value": "a comment" - }, - "94caa29bceef": { - "name": "error", - "ordinal": 19, - "value": "" - }, - "9e4ceac57e10": { - "name": "status.get#1", - "ordinal": 20, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "a17cf032d1cb": { - "name": "mutatingStatus", - "ordinal": 18, - "value": false - }, - "ac15f5699a77": { - "name": "itemReviewersDraft", - "ordinal": 8, - "value": "octocat" - }, - "ace73bafef56": { - "name": "status.get#1", - "ordinal": 20, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "ad324d0d1284": { - "name": "status.get#1", - "ordinal": 20, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - }, - "b1993904c970": { - "name": "status.get#1", - "ordinal": 20, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "baa2764f836f": { - "name": "github.prChecks#1", - "ordinal": 24, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.prChecks\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"headSha\":\"head-sha\",\"noCache\":true}}" - }, - "c29314fc4896": { - "name": "items", - "ordinal": 14, - "value": [ - { - "provider": "github", - "source": { - "id": "github:pr:12", - "labels": ["bug"], - "latestReviews": [], - "number": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ] - }, - "c448fcc040ee": { - "name": "status.get#1", - "ordinal": 22, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "c650cf641414": { - "name": "itemReviewersDraft", - "ordinal": 4, - "value": "" - }, - "c9e35d56c303": { - "name": "itemReviewersDraft", - "ordinal": 17, - "value": "" - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "cf975363479a": { - "name": "github.requestPRReviewers#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "github.requestPRReviewers" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "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 - } - } - } - }, - "d8e1fd46cd19": { - "name": "github.requestPRReviewers#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.requestPRReviewers\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"reviewers\":[\"octocat\"]}}" - }, - "e38e4b18b697": { - "name": "items", - "ordinal": 25, - "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, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repoId": "repo-1", - "reviewDecision": { - "$rpc": "null" - }, - "reviewRequests": [ - { - "avatarUrl": { - "$rpc": "null" - }, - "login": "octocat", - "name": { - "$rpc": "null" - } - } - ], - "state": "open", - "type": "pr", - "url": "https://github.com/owner/repo/pull/12" - }, - "title": "A pull request" - } - ] - }, - "e6b60387dab2": { - "name": "status.get#1", - "ordinal": 20, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - } - }, - "recording": { - "scenario": "matrix-tasks.item-review-github-pr-check-discovery", - "checkpoints": [ - { - "id": "tk-item-review-github.prelude:reviewers-settled", - "observation": { - "sender": ["cf975363479a"], - "payloads": ["d8e1fd46cd19"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "4a6545173dbd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb" - ] - } - }, - { - "id": "tk-item-review-github.normal:checks-settled", - "observation": { - "sender": ["cf975363479a", "e6b60387dab2", "6f47b9866251"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "593c53b594c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "e38e4b18b697", - "1c3b130f9436", - "69b4fb187f59", - "22b1e4293201" - ] - } - }, - { - "id": "tk-item-review-github.result-absent:checks-settled", - "observation": { - "sender": ["cf975363479a", "9e4ceac57e10", "6f47b9866251"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "593c53b594c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "e38e4b18b697", - "1c3b130f9436", - "69b4fb187f59", - "22b1e4293201" - ] - } - }, - { - "id": "tk-item-review-github.result-null:checks-settled", - "observation": { - "sender": ["cf975363479a", "4509dc3232d7", "6f47b9866251"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "593c53b594c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "e38e4b18b697", - "1c3b130f9436", - "69b4fb187f59", - "22b1e4293201" - ] - } - }, - { - "id": "tk-item-review-github.inner-ok-missing:checks-settled", - "observation": { - "sender": ["cf975363479a", "ace73bafef56", "6f47b9866251"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "593c53b594c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "e38e4b18b697", - "1c3b130f9436", - "69b4fb187f59", - "22b1e4293201" - ] - } - }, - { - "id": "tk-item-review-github.inner-false-string-error:checks-settled", - "observation": { - "sender": ["cf975363479a", "b1993904c970", "6f47b9866251"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "593c53b594c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "e38e4b18b697", - "1c3b130f9436", - "69b4fb187f59", - "22b1e4293201" - ] - } - }, - { - "id": "tk-item-review-github.inner-false-object-error:checks-settled", - "observation": { - "sender": ["cf975363479a", "761539b98587", "6f47b9866251"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "593c53b594c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "e38e4b18b697", - "1c3b130f9436", - "69b4fb187f59", - "22b1e4293201" - ] - } - }, - { - "id": "tk-item-review-github.outer-refused:checks-settled", - "observation": { - "sender": ["cf975363479a", "1efdd8e83547", "6f47b9866251"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "593c53b594c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "e38e4b18b697", - "1c3b130f9436", - "69b4fb187f59", - "22b1e4293201" - ] - } - }, - { - "id": "tk-item-review-github.outer-refused-no-message:checks-settled", - "observation": { - "sender": ["cf975363479a", "07ffa068648a", "6f47b9866251"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "593c53b594c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "e38e4b18b697", - "1c3b130f9436", - "69b4fb187f59", - "22b1e4293201" - ] - } - }, - { - "id": "tk-item-review-github.method-not-found:checks-settled", - "observation": { - "sender": ["cf975363479a", "ad324d0d1284", "6f47b9866251"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "593c53b594c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "e38e4b18b697", - "1c3b130f9436", - "69b4fb187f59", - "22b1e4293201" - ] - } - }, - { - "id": "tk-item-review-github.transport-rejection:checks-settled", - "observation": { - "sender": ["cf975363479a", "5a2cfc63cd94", "6f47b9866251"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "593c53b594c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "e38e4b18b697", - "1c3b130f9436", - "69b4fb187f59", - "22b1e4293201" - ] - } - }, - { - "id": "tk-item-review-github.transport-rejection-no-message:checks-settled", - "observation": { - "sender": ["cf975363479a", "1e17e1c76148", "6f47b9866251"], - "payloads": ["d8e1fd46cd19", "c448fcc040ee", "baa2764f836f"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "593c53b594c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "53506297367b", - "c650cf641414", - "4031bf455f49", - "04f768fb79f6", - "26f442c9e2e5", - "ac15f5699a77", - "9331fbfa07e4", - "3aefb3006914", - "886c60a7e62e", - "c29314fc4896", - "5a6043d5c7cc", - "0928f51c9dae", - "c9e35d56c303", - "a17cf032d1cb", - "94caa29bceef", - "2d8d5e501a0d", - "e38e4b18b697", - "1c3b130f9436", - "69b4fb187f59", - "22b1e4293201" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 268bf080906..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-status-gitlab-github.updateissue-1.json +++ /dev/null @@ -1,1768 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-status-gitlab", - "family": "tasks.item-status-gitlab", - "namedDeltas": [], - "values": { - "05df5d49a11c": { - "error": "", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "14949c71727e": { - "name": "mutatingStatus", - "ordinal": 7, - "value": false - }, - "15bb352f1b6b": { - "name": "error", - "ordinal": 23, - "value": "Unknown method" - }, - "165440bac6c6": { - "name": "github.updateIssue#1", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "addLabels": ["triage"], - "removeLabels": ["bug"], - "title": "Renamed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "1a4258cbf255": { - "error": "The host sent a reply this app could not read (github.updateIssue)", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "An issue" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "1d07085d77f7": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["triage"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "title": "Renamed", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "Renamed" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "23ede8191c86": { - "name": "detailPayload", - "ordinal": 9, - "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" - } - }, - "356e450d1fd0": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "An issue" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "38e625888db0": { - "name": "mutatingStatus", - "ordinal": 25, - "value": false - }, - "3a247b715c1c": { - "error": "Unknown method", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "An issue" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "3e3fefff3403": { - "name": "error", - "ordinal": 23, - "value": "outer refused" - }, - "4e9065aff7d0": { - "name": "github.updateIssue#1", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "addLabels": ["triage"], - "removeLabels": ["bug"], - "title": "Renamed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "56a2a300d457": { - "name": "error", - "ordinal": 23, - "value": "" - }, - "56f507f47790": { - "name": "error", - "ordinal": 23, - "value": "inner refused" - }, - "5737a7806a0c": { - "name": "mutatingStatus", - "ordinal": 15, - "value": false - }, - "5a062aaf1adc": { - "name": "actionItem", - "ordinal": 18, - "value": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "An issue" - } - }, - "5d27fa679339": { - "name": "github.updateIssue#1", - "ordinal": 22, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"title\":\"Renamed\",\"addLabels\":[\"triage\"],\"removeLabels\":[\"bug\"]},\"ownerRepo\":{\"host\":\"github.com\",\"owner\":\"owner\",\"repo\":\"repo\"}}}" - }, - "61c5b3b78f8a": { - "name": "github.updateIssue#1", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "addLabels": ["triage"], - "removeLabels": ["bug"], - "title": "Renamed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "66a7662321ab": { - "name": "gitlab.updateIssue#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":4,\"updates\":{\"state\":\"closed\"},\"projectRef\":{\"host\":\"gitlab.com\",\"path\":\"group/project\"}}}" - }, - "69c27ef617a1": { - "name": "items", - "ordinal": 23, - "value": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue" - }, - "title": "A GitLab issue" - } - ] - }, - "6e3de27cf6c5": { - "name": "error", - "ordinal": 23, - "value": "The host sent a reply this app could not read (github.updateIssue)" - }, - "7fc7b77ad133": { - "name": "error", - "ordinal": 23, - "value": "transport failure" - }, - "87cd6a741359": { - "name": "status.get#1", - "ordinal": 17, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "886c60a7e62e": { - "name": "mutatingStatus", - "ordinal": 12, - "value": true - }, - "8b04729809f2": { - "name": "github.updateIssue#1", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "addLabels": ["triage"], - "removeLabels": ["bug"], - "title": "Renamed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-3", - "ok": false - } - } - }, - "91e56b4fbd5b": { - "name": "actionItem", - "ordinal": 14, - "value": { - "$rpc": "null" - } - }, - "977977339e6b": { - "name": "github.updateIssue#1", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "addLabels": ["triage"], - "removeLabels": ["bug"], - "title": "Renamed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "98fe08e442ec": { - "name": "itemRemoveAssigneesDraft", - "ordinal": 5, - "value": "" - }, - "99e035739729": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "9a5229b381b7": { - "error": "Failed to update GitHub issue", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "An issue" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "9d09946c0817": { - "name": "github.updateIssue#1", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "addLabels": ["triage"], - "removeLabels": ["bug"], - "title": "Renamed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "9d1f08a6e600": { - "name": "error", - "ordinal": 16, - "value": "" - }, - "9d7c3a7d18ce": { - "name": "reply-salvage", - "ordinal": 23, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.updateIssue", - "operation": "github.update-issue", - "variant": "task-item-mutation" - } - }, - "a44db259da2e": { - "name": "github.updateIssue#1", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "addLabels": ["triage"], - "removeLabels": ["bug"], - "title": "Renamed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-3", - "ok": false - } - } - }, - "a80ee9a342f1": { - "name": "itemAddAssigneesDraft", - "ordinal": 3, - "value": "" - }, - "aa9f7bb439e5": { - "name": "github.updateIssue#1", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "addLabels": ["triage"], - "removeLabels": ["bug"], - "title": "Renamed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "af8ef17b01bd": { - "name": "github.updateIssue#1", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "addLabels": ["triage"], - "removeLabels": ["bug"], - "title": "Renamed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "b26dc20548a8": { - "name": "actionItem", - "ordinal": 8, - "value": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue" - }, - "title": "A GitLab issue" - } - }, - "b61d73c66402": { - "error": "transport failure", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "An issue" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "b7c662ee9c9b": { - "error": "outer refused", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "An issue" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "b93b4f6d74db": { - "name": "itemAddLabelsDraft", - "ordinal": 4, - "value": "" - }, - "c2fc779dad42": { - "name": "actionItem", - "ordinal": 24, - "value": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["triage"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "title": "Renamed", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "Renamed" - } - }, - "c5b803a7c562": { - "name": "github.updateIssue#1", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "addLabels": ["triage"], - "removeLabels": ["bug"], - "title": "Renamed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "c79fe0d83267": { - "name": "itemRemoveLabelsDraft", - "ordinal": 6, - "value": "" - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "da52b2b19466": { - "name": "mutatingStatus", - "ordinal": 24, - "value": false - }, - "dfe76be0b91c": { - "name": "github.updateIssue#1", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "addLabels": ["triage"], - "removeLabels": ["bug"], - "title": "Renamed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "e0bebf1cd037": { - "name": "status.get#1", - "ordinal": 20, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "f3640f6ae8be": { - "name": "mutatingStatus", - "ordinal": 19, - "value": true - }, - "f73e005dde40": { - "error": "inner refused", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "An issue" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "fc7faea7adcc": { - "name": "error", - "ordinal": 24, - "value": "Failed to update GitHub issue" - } - }, - "recording": { - "scenario": "matrix-tasks.item-status-gitlab-github.updateissue-1", - "checkpoints": [ - { - "id": "tk-item-status-gitlab.prelude:gitlab-status-settled", - "observation": { - "sender": ["99e035739729"], - "payloads": ["66a7662321ab"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "05df5d49a11c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab.normal:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "87cd6a741359", "c5b803a7c562"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1d07085d77f7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "69c27ef617a1", - "c2fc779dad42", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-status-gitlab.result-absent:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "87cd6a741359", "165440bac6c6"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1a4258cbf255", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "6e3de27cf6c5", - "da52b2b19466" - ] - } - }, - { - "id": "tk-item-status-gitlab.result-null:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "87cd6a741359", "4e9065aff7d0"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1a4258cbf255", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "6e3de27cf6c5", - "da52b2b19466" - ] - } - }, - { - "id": "tk-item-status-gitlab.inner-ok-missing:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "87cd6a741359", "aa9f7bb439e5"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1d07085d77f7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "69c27ef617a1", - "c2fc779dad42", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-status-gitlab.inner-false-string-error:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "87cd6a741359", "9d09946c0817"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "f73e005dde40", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "56f507f47790", - "da52b2b19466" - ] - } - }, - { - "id": "tk-item-status-gitlab.inner-false-object-error:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "87cd6a741359", "977977339e6b"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "9a5229b381b7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "9d7c3a7d18ce", - "fc7faea7adcc", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-status-gitlab.outer-refused:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "87cd6a741359", "dfe76be0b91c"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "b7c662ee9c9b", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "3e3fefff3403", - "da52b2b19466" - ] - } - }, - { - "id": "tk-item-status-gitlab.outer-refused-no-message:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "87cd6a741359", "8b04729809f2"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "356e450d1fd0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "56a2a300d457", - "da52b2b19466" - ] - } - }, - { - "id": "tk-item-status-gitlab.method-not-found:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "87cd6a741359", "a44db259da2e"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "3a247b715c1c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "15bb352f1b6b", - "da52b2b19466" - ] - } - }, - { - "id": "tk-item-status-gitlab.transport-rejection:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "87cd6a741359", "af8ef17b01bd"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "b61d73c66402", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "7fc7b77ad133", - "da52b2b19466" - ] - } - }, - { - "id": "tk-item-status-gitlab.transport-rejection-no-message:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "87cd6a741359", "61c5b3b78f8a"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "356e450d1fd0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "56a2a300d457", - "da52b2b19466" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 8dd4b8e802a..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-status-gitlab-gitlab.updateissue-1.json +++ /dev/null @@ -1,2129 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-status-gitlab", - "family": "tasks.item-status-gitlab", - "namedDeltas": [], - "values": { - "033a11d35ae9": { - "name": "status.get#1", - "ordinal": 18, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "05df5d49a11c": { - "error": "", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "0ab316b1df2e": { - "name": "error", - "ordinal": 14, - "value": "The host sent a reply this app could not read (gitlab.updateIssue)" - }, - "0f541a5aff5d": { - "error": "Failed to update GitLab item", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "14949c71727e": { - "name": "mutatingStatus", - "ordinal": 7, - "value": false - }, - "15de9730d149": { - "error": "The host sent a reply this app could not read (gitlab.updateIssue)", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "1d07085d77f7": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["triage"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "title": "Renamed", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "Renamed" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "21d560a20bed": { - "name": "error", - "ordinal": 14, - "value": "inner refused" - }, - "23ede8191c86": { - "name": "detailPayload", - "ordinal": 9, - "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" - } - }, - "281433cc9ca6": { - "name": "error", - "ordinal": 17, - "value": "" - }, - "2b180013807d": { - "name": "error", - "ordinal": 15, - "value": "Failed to update GitLab item" - }, - "36782b753721": { - "name": "error", - "ordinal": 14, - "value": "Unknown method" - }, - "38e625888db0": { - "name": "mutatingStatus", - "ordinal": 25, - "value": false - }, - "39fb66a9e6ea": { - "error": "outer refused", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "3af68e0534be": { - "error": "inner refused", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "56b292e68366": { - "name": "actionItem", - "ordinal": 19, - "value": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "An issue" - } - }, - "5737a7806a0c": { - "name": "mutatingStatus", - "ordinal": 15, - "value": false - }, - "5a062aaf1adc": { - "name": "actionItem", - "ordinal": 18, - "value": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "An issue" - } - }, - "5d27fa679339": { - "name": "github.updateIssue#1", - "ordinal": 22, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"title\":\"Renamed\",\"addLabels\":[\"triage\"],\"removeLabels\":[\"bug\"]},\"ownerRepo\":{\"host\":\"github.com\",\"owner\":\"owner\",\"repo\":\"repo\"}}}" - }, - "66a7662321ab": { - "name": "gitlab.updateIssue#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":4,\"updates\":{\"state\":\"closed\"},\"projectRef\":{\"host\":\"gitlab.com\",\"path\":\"group/project\"}}}" - }, - "6890ef34f0fc": { - "name": "mutatingStatus", - "ordinal": 20, - "value": true - }, - "69c27ef617a1": { - "name": "items", - "ordinal": 23, - "value": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue" - }, - "title": "A GitLab issue" - } - ] - }, - "6a1c185c80ae": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "77001b592d7a": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "7b3b855b8c93": { - "name": "reply-salvage", - "ordinal": 14, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "gitlab.updateIssue", - "operation": "gitlab.update-issue", - "variant": "task-item-mutation" - } - }, - "87cd6a741359": { - "name": "status.get#1", - "ordinal": 17, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "886c60a7e62e": { - "name": "mutatingStatus", - "ordinal": 12, - "value": true - }, - "91e56b4fbd5b": { - "name": "actionItem", - "ordinal": 14, - "value": { - "$rpc": "null" - } - }, - "98fe08e442ec": { - "name": "itemRemoveAssigneesDraft", - "ordinal": 5, - "value": "" - }, - "99e035739729": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "9a478eb20994": { - "name": "actionItem", - "ordinal": 25, - "value": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["triage"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "title": "Renamed", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "Renamed" - } - }, - "9d1f08a6e600": { - "name": "error", - "ordinal": 16, - "value": "" - }, - "9edca46790a9": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "a484e94ad6b4": { - "error": "transport failure", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "a80ee9a342f1": { - "name": "itemAddAssigneesDraft", - "ordinal": 3, - "value": "" - }, - "aaf22b23f66e": { - "name": "items", - "ordinal": 24, - "value": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue" - }, - "title": "A GitLab issue" - } - ] - }, - "abda510d7964": { - "name": "github.updateIssue#1", - "ordinal": 23, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"title\":\"Renamed\",\"addLabels\":[\"triage\"],\"removeLabels\":[\"bug\"]},\"ownerRepo\":{\"host\":\"github.com\",\"owner\":\"owner\",\"repo\":\"repo\"}}}" - }, - "acff45feb249": { - "name": "mutatingStatus", - "ordinal": 26, - "value": false - }, - "b26dc20548a8": { - "name": "actionItem", - "ordinal": 8, - "value": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue" - }, - "title": "A GitLab issue" - } - }, - "b93b4f6d74db": { - "name": "itemAddLabelsDraft", - "ordinal": 4, - "value": "" - }, - "c00088248e96": { - "error": "Unknown method", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "c011494f60aa": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "c2fc779dad42": { - "name": "actionItem", - "ordinal": 24, - "value": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["triage"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "title": "Renamed", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "Renamed" - } - }, - "c5b803a7c562": { - "name": "github.updateIssue#1", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "addLabels": ["triage"], - "removeLabels": ["bug"], - "title": "Renamed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "c5beb47bb80b": { - "name": "github.updateIssue#1", - "ordinal": 22, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "addLabels": ["triage"], - "removeLabels": ["bug"], - "title": "Renamed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "c79fe0d83267": { - "name": "itemRemoveLabelsDraft", - "ordinal": 6, - "value": "" - }, - "cb543ce964ae": { - "name": "error", - "ordinal": 14, - "value": "outer refused" - }, - "cbae54d3d351": { - "name": "mutatingStatus", - "ordinal": 16, - "value": false - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "d05ffbeec864": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - }, - "d065d97cd5a1": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "d138a89efdd7": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "d45458f553ea": { - "error": "", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "e0bebf1cd037": { - "name": "status.get#1", - "ordinal": 20, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "e68a9c08254e": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "ea6970c85bf7": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ef8932b03a8c": { - "name": "error", - "ordinal": 14, - "value": "" - }, - "f3640f6ae8be": { - "name": "mutatingStatus", - "ordinal": 19, - "value": true - }, - "f40f3fffca2e": { - "name": "status.get#1", - "ordinal": 21, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "f65e0af02b52": { - "name": "error", - "ordinal": 14, - "value": "transport failure" - }, - "feb41a3dd2cf": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.item-status-gitlab-gitlab.updateissue-1", - "checkpoints": [ - { - "id": "tk-item-status-gitlab.normal:gitlab-status-settled", - "observation": { - "sender": ["99e035739729"], - "payloads": ["66a7662321ab"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "05df5d49a11c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab.normal:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "87cd6a741359", "c5b803a7c562"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1d07085d77f7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "69c27ef617a1", - "c2fc779dad42", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-status-gitlab.result-absent:gitlab-status-settled", - "observation": { - "sender": ["6a1c185c80ae"], - "payloads": ["66a7662321ab"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "15de9730d149", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "0ab316b1df2e", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab.result-absent:github-metadata-settled", - "observation": { - "sender": ["6a1c185c80ae", "87cd6a741359", "c5b803a7c562"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1d07085d77f7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "0ab316b1df2e", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "69c27ef617a1", - "c2fc779dad42", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-status-gitlab.result-null:gitlab-status-settled", - "observation": { - "sender": ["feb41a3dd2cf"], - "payloads": ["66a7662321ab"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "15de9730d149", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "0ab316b1df2e", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab.result-null:github-metadata-settled", - "observation": { - "sender": ["feb41a3dd2cf", "87cd6a741359", "c5b803a7c562"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1d07085d77f7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "0ab316b1df2e", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "69c27ef617a1", - "c2fc779dad42", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-status-gitlab.inner-ok-missing:gitlab-status-settled", - "observation": { - "sender": ["d05ffbeec864"], - "payloads": ["66a7662321ab"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "05df5d49a11c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab.inner-ok-missing:github-metadata-settled", - "observation": { - "sender": ["d05ffbeec864", "87cd6a741359", "c5b803a7c562"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1d07085d77f7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "69c27ef617a1", - "c2fc779dad42", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-status-gitlab.inner-false-string-error:gitlab-status-settled", - "observation": { - "sender": ["ea6970c85bf7"], - "payloads": ["66a7662321ab"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "3af68e0534be", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "21d560a20bed", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab.inner-false-string-error:github-metadata-settled", - "observation": { - "sender": ["ea6970c85bf7", "87cd6a741359", "c5b803a7c562"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1d07085d77f7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "21d560a20bed", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "69c27ef617a1", - "c2fc779dad42", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-status-gitlab.inner-false-object-error:gitlab-status-settled", - "observation": { - "sender": ["9edca46790a9"], - "payloads": ["66a7662321ab"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "0f541a5aff5d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "7b3b855b8c93", - "2b180013807d", - "cbae54d3d351" - ] - } - }, - { - "id": "tk-item-status-gitlab.inner-false-object-error:github-metadata-settled", - "observation": { - "sender": ["9edca46790a9", "033a11d35ae9", "c5beb47bb80b"], - "payloads": ["66a7662321ab", "f40f3fffca2e", "abda510d7964"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1d07085d77f7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "7b3b855b8c93", - "2b180013807d", - "cbae54d3d351", - "281433cc9ca6", - "56b292e68366", - "6890ef34f0fc", - "aaf22b23f66e", - "9a478eb20994", - "acff45feb249" - ] - } - }, - { - "id": "tk-item-status-gitlab.outer-refused:gitlab-status-settled", - "observation": { - "sender": ["e68a9c08254e"], - "payloads": ["66a7662321ab"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "39fb66a9e6ea", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "cb543ce964ae", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab.outer-refused:github-metadata-settled", - "observation": { - "sender": ["e68a9c08254e", "87cd6a741359", "c5b803a7c562"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1d07085d77f7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "cb543ce964ae", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "69c27ef617a1", - "c2fc779dad42", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-status-gitlab.outer-refused-no-message:gitlab-status-settled", - "observation": { - "sender": ["c011494f60aa"], - "payloads": ["66a7662321ab"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "d45458f553ea", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab.outer-refused-no-message:github-metadata-settled", - "observation": { - "sender": ["c011494f60aa", "87cd6a741359", "c5b803a7c562"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1d07085d77f7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "69c27ef617a1", - "c2fc779dad42", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-status-gitlab.method-not-found:gitlab-status-settled", - "observation": { - "sender": ["77001b592d7a"], - "payloads": ["66a7662321ab"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "c00088248e96", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "36782b753721", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab.method-not-found:github-metadata-settled", - "observation": { - "sender": ["77001b592d7a", "87cd6a741359", "c5b803a7c562"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1d07085d77f7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "36782b753721", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "69c27ef617a1", - "c2fc779dad42", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-status-gitlab.transport-rejection:gitlab-status-settled", - "observation": { - "sender": ["d065d97cd5a1"], - "payloads": ["66a7662321ab"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "a484e94ad6b4", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "f65e0af02b52", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab.transport-rejection:github-metadata-settled", - "observation": { - "sender": ["d065d97cd5a1", "87cd6a741359", "c5b803a7c562"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1d07085d77f7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "f65e0af02b52", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "69c27ef617a1", - "c2fc779dad42", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-status-gitlab.transport-rejection-no-message:gitlab-status-settled", - "observation": { - "sender": ["d138a89efdd7"], - "payloads": ["66a7662321ab"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "d45458f553ea", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab.transport-rejection-no-message:github-metadata-settled", - "observation": { - "sender": ["d138a89efdd7", "87cd6a741359", "c5b803a7c562"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1d07085d77f7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "69c27ef617a1", - "c2fc779dad42", - "38e625888db0" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 4dfd0461bb3..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-status-gitlab-mr-gitlab.updatemrstate-1.json +++ /dev/null @@ -1,1326 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-status-gitlab-mr", - "family": "tasks.item-status-gitlab-mr", - "namedDeltas": [], - "values": { - "0541357309fa": { - "name": "gitlab.updateMRState#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMRState" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - }, - "0567c7f32219": { - "name": "gitlab.updateMRState#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMRState" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - } - } - }, - "0c9a720bd2ed": { - "name": "reply-salvage", - "ordinal": 14, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "gitlab.updateMRState", - "operation": "gitlab.update-merge-request-state", - "variant": "task-item-mutation" - } - }, - "14949c71727e": { - "name": "mutatingStatus", - "ordinal": 7, - "value": false - }, - "1586a62c0b50": { - "name": "gitlab.updateMRState#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.updateMRState\",\"params\":{\"repo\":\"id:repo-1\",\"iid\":7,\"state\":\"closed\",\"projectRef\":{\"host\":\"gitlab.com\",\"path\":\"group/project\"}}}" - }, - "1a0b0007e5f8": { - "error": "The host sent a reply this app could not read (gitlab.updateMRState)", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "21d560a20bed": { - "name": "error", - "ordinal": 14, - "value": "inner refused" - }, - "23ede8191c86": { - "name": "detailPayload", - "ordinal": 9, - "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" - } - }, - "29c6b20b5026": { - "error": "Failed to update GitLab item", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "2b180013807d": { - "name": "error", - "ordinal": 15, - "value": "Failed to update GitLab item" - }, - "36782b753721": { - "name": "error", - "ordinal": 14, - "value": "Unknown method" - }, - "37c27ca402e4": { - "error": "outer refused", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "5156fac03b4e": { - "name": "gitlab.updateMRState#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMRState" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "5737a7806a0c": { - "name": "mutatingStatus", - "ordinal": 15, - "value": false - }, - "589373883844": { - "error": "", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "598afac1ef9a": { - "name": "error", - "ordinal": 14, - "value": "The host sent a reply this app could not read (gitlab.updateMRState)" - }, - "5a043e84e661": { - "error": "Unknown method", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "6f52cc0afcf0": { - "name": "gitlab.updateMRState#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMRState" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "74e2146e9eaa": { - "name": "gitlab.updateMRState#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMRState" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "75ca1ceaecfd": { - "name": "gitlab.updateMRState#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMRState" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "7700b44c7322": { - "name": "gitlab.updateMRState#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMRState" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "886c60a7e62e": { - "name": "mutatingStatus", - "ordinal": 12, - "value": true - }, - "8fcbe733c143": { - "name": "gitlab.updateMRState#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMRState" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "91e56b4fbd5b": { - "name": "actionItem", - "ordinal": 14, - "value": { - "$rpc": "null" - } - }, - "98fe08e442ec": { - "name": "itemRemoveAssigneesDraft", - "ordinal": 5, - "value": "" - }, - "a4c82b4992bd": { - "name": "actionItem", - "ordinal": 8, - "value": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "mr" - }, - "title": "A merge request" - } - }, - "a80ee9a342f1": { - "name": "itemAddAssigneesDraft", - "ordinal": 3, - "value": "" - }, - "b5f237e60c83": { - "error": "", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "b93b4f6d74db": { - "name": "itemAddLabelsDraft", - "ordinal": 4, - "value": "" - }, - "c566e36ed73d": { - "error": "inner refused", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "c583fab3994c": { - "name": "gitlab.updateMRState#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMRState" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "c78d48420cc5": { - "name": "gitlab.updateMRState#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMRState" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - }, - "c79fe0d83267": { - "name": "itemRemoveLabelsDraft", - "ordinal": 6, - "value": "" - }, - "cb543ce964ae": { - "name": "error", - "ordinal": 14, - "value": "outer refused" - }, - "cbae54d3d351": { - "name": "mutatingStatus", - "ordinal": 16, - "value": false - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ef61a5798943": { - "error": "transport failure", - "item": { - "provider": "gitlab", - "source": { - "id": "gitlab:mr:7", - "labels": [], - "number": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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": { - "host": "gitlab.com", - "path": "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" - } - }, - "ef8932b03a8c": { - "name": "error", - "ordinal": 14, - "value": "" - }, - "f1195d0bb7de": { - "name": "gitlab.updateMRState#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateMRState" - }, - { - "name": "params", - "value": { - "iid": 7, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "f65e0af02b52": { - "name": "error", - "ordinal": 14, - "value": "transport failure" - } - }, - "recording": { - "scenario": "matrix-tasks.item-status-gitlab-mr-gitlab.updatemrstate-1", - "checkpoints": [ - { - "id": "tk-item-status-gitlab-mr.normal:gitlab-status-settled", - "observation": { - "sender": ["6f52cc0afcf0"], - "payloads": ["1586a62c0b50"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "589373883844", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab-mr.result-absent:gitlab-status-settled", - "observation": { - "sender": ["c583fab3994c"], - "payloads": ["1586a62c0b50"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "1a0b0007e5f8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "598afac1ef9a", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab-mr.result-null:gitlab-status-settled", - "observation": { - "sender": ["0541357309fa"], - "payloads": ["1586a62c0b50"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "1a0b0007e5f8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "598afac1ef9a", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab-mr.inner-ok-missing:gitlab-status-settled", - "observation": { - "sender": ["0567c7f32219"], - "payloads": ["1586a62c0b50"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "589373883844", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab-mr.inner-false-string-error:gitlab-status-settled", - "observation": { - "sender": ["5156fac03b4e"], - "payloads": ["1586a62c0b50"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "c566e36ed73d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "21d560a20bed", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab-mr.inner-false-object-error:gitlab-status-settled", - "observation": { - "sender": ["f1195d0bb7de"], - "payloads": ["1586a62c0b50"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "29c6b20b5026", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "0c9a720bd2ed", - "2b180013807d", - "cbae54d3d351" - ] - } - }, - { - "id": "tk-item-status-gitlab-mr.outer-refused:gitlab-status-settled", - "observation": { - "sender": ["75ca1ceaecfd"], - "payloads": ["1586a62c0b50"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "37c27ca402e4", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "cb543ce964ae", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab-mr.outer-refused-no-message:gitlab-status-settled", - "observation": { - "sender": ["c78d48420cc5"], - "payloads": ["1586a62c0b50"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "b5f237e60c83", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab-mr.method-not-found:gitlab-status-settled", - "observation": { - "sender": ["8fcbe733c143"], - "payloads": ["1586a62c0b50"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "5a043e84e661", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "36782b753721", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab-mr.transport-rejection:gitlab-status-settled", - "observation": { - "sender": ["74e2146e9eaa"], - "payloads": ["1586a62c0b50"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "ef61a5798943", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "f65e0af02b52", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab-mr.transport-rejection-no-message:gitlab-status-settled", - "observation": { - "sender": ["7700b44c7322"], - "payloads": ["1586a62c0b50"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "b5f237e60c83", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "a4c82b4992bd", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "ef8932b03a8c", - "5737a7806a0c" - ] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.item-status-gitlab-status.get-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.item-status-gitlab-status.get-1.json deleted file mode 100644 index d1d7dac8d40..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.item-status-gitlab-status.get-1.json +++ /dev/null @@ -1,1305 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.item-status-gitlab", - "family": "tasks.item-status-gitlab", - "namedDeltas": [], - "values": { - "05df5d49a11c": { - "error": "", - "item": { - "$rpc": "null" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "14949c71727e": { - "name": "mutatingStatus", - "ordinal": 7, - "value": false - }, - "1a9d59ef3162": { - "name": "status.get#1", - "ordinal": 17, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "1d07085d77f7": { - "error": "", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["triage"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "title": "Renamed", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "Renamed" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "23ede8191c86": { - "name": "detailPayload", - "ordinal": 9, - "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" - } - }, - "2f24aa1bb8ff": { - "name": "status.get#1", - "ordinal": 17, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "2f5158a37621": { - "name": "error", - "ordinal": 21, - "value": "The Orca server connection changed. Try again." - }, - "38e625888db0": { - "name": "mutatingStatus", - "ordinal": 25, - "value": false - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "53f159da3fa6": { - "name": "status.get#1", - "ordinal": 17, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "5737a7806a0c": { - "name": "mutatingStatus", - "ordinal": 15, - "value": false - }, - "595a54264ae5": { - "name": "status.get#1", - "ordinal": 17, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "5a062aaf1adc": { - "name": "actionItem", - "ordinal": 18, - "value": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "An issue" - } - }, - "5d27fa679339": { - "name": "github.updateIssue#1", - "ordinal": 22, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"title\":\"Renamed\",\"addLabels\":[\"triage\"],\"removeLabels\":[\"bug\"]},\"ownerRepo\":{\"host\":\"github.com\",\"owner\":\"owner\",\"repo\":\"repo\"}}}" - }, - "66a7662321ab": { - "name": "gitlab.updateIssue#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":4,\"updates\":{\"state\":\"closed\"},\"projectRef\":{\"host\":\"gitlab.com\",\"path\":\"group/project\"}}}" - }, - "69c27ef617a1": { - "name": "items", - "ordinal": 23, - "value": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue" - }, - "title": "A GitLab issue" - } - ] - }, - "87cd6a741359": { - "name": "status.get#1", - "ordinal": 17, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "886c60a7e62e": { - "name": "mutatingStatus", - "ordinal": 12, - "value": true - }, - "8eb3d442b303": { - "name": "status.get#1", - "ordinal": 17, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "91e56b4fbd5b": { - "name": "actionItem", - "ordinal": 14, - "value": { - "$rpc": "null" - } - }, - "98d8019d44b9": { - "name": "status.get#1", - "ordinal": 17, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "98fe08e442ec": { - "name": "itemRemoveAssigneesDraft", - "ordinal": 5, - "value": "" - }, - "99e035739729": { - "name": "gitlab.updateIssue#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "gitlab.updateIssue" - }, - { - "name": "params", - "value": { - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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 - } - } - } - }, - "9a14ab19057c": { - "error": "Update Orca on the executing server to edit this item or load its repository options.", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "An issue" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "9d1f08a6e600": { - "name": "error", - "ordinal": 16, - "value": "" - }, - "a1f5d85d882f": { - "name": "status.get#1", - "ordinal": 17, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "a80ee9a342f1": { - "name": "itemAddAssigneesDraft", - "ordinal": 3, - "value": "" - }, - "ac29c6ccf3a3": { - "name": "mutatingStatus", - "ordinal": 22, - "value": false - }, - "af72cee469d2": { - "error": "The Orca server connection changed. Try again.", - "item": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["bug"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "An issue" - }, - "items": [ - { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "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" - } - }, - "b26dc20548a8": { - "name": "actionItem", - "ordinal": 8, - "value": { - "provider": "gitlab", - "source": { - "id": "gitlab:issue:4", - "labels": ["bug"], - "number": 4, - "projectRef": { - "host": "gitlab.com", - "path": "group/project" - }, - "repoId": "repo-1", - "state": "opened", - "type": "issue" - }, - "title": "A GitLab issue" - } - }, - "b93b4f6d74db": { - "name": "itemAddLabelsDraft", - "ordinal": 4, - "value": "" - }, - "c2fc779dad42": { - "name": "actionItem", - "ordinal": 24, - "value": { - "provider": "github", - "source": { - "id": "github:issue:9", - "labels": ["triage"], - "number": 9, - "repoId": "repo-1", - "reviewRequests": [], - "state": "open", - "title": "Renamed", - "type": "issue", - "url": "https://github.com/owner/repo/issues/9" - }, - "title": "Renamed" - } - }, - "c5b803a7c562": { - "name": "github.updateIssue#1", - "ordinal": 21, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "addLabels": ["triage"], - "removeLabels": ["bug"], - "title": "Renamed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "c79fe0d83267": { - "name": "itemRemoveLabelsDraft", - "ordinal": 6, - "value": "" - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "d1425796c9b8": { - "name": "status.get#1", - "ordinal": 17, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "da210729f992": { - "name": "error", - "ordinal": 21, - "value": "Update Orca on the executing server to edit this item or load its repository options." - }, - "e0bebf1cd037": { - "name": "status.get#1", - "ordinal": 20, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ef4c5f4409c2": { - "name": "status.get#1", - "ordinal": 17, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "f3640f6ae8be": { - "name": "mutatingStatus", - "ordinal": 19, - "value": true - }, - "f432e7f149e3": { - "name": "status.get#1", - "ordinal": 17, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-2", - "ok": false - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.item-status-gitlab-status.get-1", - "checkpoints": [ - { - "id": "tk-item-status-gitlab.prelude:gitlab-status-settled", - "observation": { - "sender": ["99e035739729"], - "payloads": ["66a7662321ab"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a" - }, - "state": "05df5d49a11c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c" - ] - } - }, - { - "id": "tk-item-status-gitlab.normal:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "87cd6a741359", "c5b803a7c562"], - "payloads": ["66a7662321ab", "e0bebf1cd037", "5d27fa679339"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "1d07085d77f7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "69c27ef617a1", - "c2fc779dad42", - "38e625888db0" - ] - } - }, - { - "id": "tk-item-status-gitlab.result-absent:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "d1425796c9b8"], - "payloads": ["66a7662321ab", "e0bebf1cd037"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "9a14ab19057c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "da210729f992", - "ac29c6ccf3a3" - ] - } - }, - { - "id": "tk-item-status-gitlab.result-null:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "98d8019d44b9"], - "payloads": ["66a7662321ab", "e0bebf1cd037"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "9a14ab19057c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "da210729f992", - "ac29c6ccf3a3" - ] - } - }, - { - "id": "tk-item-status-gitlab.inner-ok-missing:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "2f24aa1bb8ff"], - "payloads": ["66a7662321ab", "e0bebf1cd037"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "9a14ab19057c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "da210729f992", - "ac29c6ccf3a3" - ] - } - }, - { - "id": "tk-item-status-gitlab.inner-false-string-error:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "53f159da3fa6"], - "payloads": ["66a7662321ab", "e0bebf1cd037"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "9a14ab19057c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "da210729f992", - "ac29c6ccf3a3" - ] - } - }, - { - "id": "tk-item-status-gitlab.inner-false-object-error:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "ef4c5f4409c2"], - "payloads": ["66a7662321ab", "e0bebf1cd037"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "9a14ab19057c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "da210729f992", - "ac29c6ccf3a3" - ] - } - }, - { - "id": "tk-item-status-gitlab.outer-refused:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "a1f5d85d882f"], - "payloads": ["66a7662321ab", "e0bebf1cd037"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "9a14ab19057c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "da210729f992", - "ac29c6ccf3a3" - ] - } - }, - { - "id": "tk-item-status-gitlab.outer-refused-no-message:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "1a9d59ef3162"], - "payloads": ["66a7662321ab", "e0bebf1cd037"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "9a14ab19057c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "da210729f992", - "ac29c6ccf3a3" - ] - } - }, - { - "id": "tk-item-status-gitlab.method-not-found:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "f432e7f149e3"], - "payloads": ["66a7662321ab", "e0bebf1cd037"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "9a14ab19057c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "da210729f992", - "ac29c6ccf3a3" - ] - } - }, - { - "id": "tk-item-status-gitlab.transport-rejection:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "595a54264ae5"], - "payloads": ["66a7662321ab", "e0bebf1cd037"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "af72cee469d2", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "2f5158a37621", - "ac29c6ccf3a3" - ] - } - }, - { - "id": "tk-item-status-gitlab.transport-rejection-no-message:github-metadata-settled", - "observation": { - "sender": ["99e035739729", "8eb3d442b303"], - "payloads": ["66a7662321ab", "e0bebf1cd037"], - "settlements": { - "mount": "eb79a9b3682a", - "gitlab-status-0": "eb79a9b3682a", - "github-metadata-1": "eb79a9b3682a" - }, - "state": "af72cee469d2", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "a80ee9a342f1", - "b93b4f6d74db", - "98fe08e442ec", - "c79fe0d83267", - "14949c71727e", - "b26dc20548a8", - "23ede8191c86", - "3aefb3006914", - "886c60a7e62e", - "91e56b4fbd5b", - "5737a7806a0c", - "9d1f08a6e600", - "5a062aaf1adc", - "f3640f6ae8be", - "2f5158a37621", - "ac29c6ccf3a3" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 9836c9955be..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.linear-connect-linear.connect-1.json +++ /dev/null @@ -1,719 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.linear-connect", - "family": "tasks.linear-connect", - "namedDeltas": [], - "values": { - "0d5ee6814ade": { - "name": "linearConnectState", - "ordinal": 6, - "value": "idle" - }, - "0eb2b134d2a8": { - "name": "linearApiKeyDraft", - "ordinal": 5, - "value": "" - }, - "138ccbb348fe": { - "name": "linearConnectError", - "ordinal": 6, - "value": "inner refused" - }, - "182dd1d40c04": { - "name": "linear.connect#1", - "ordinal": 3, - "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 - } - } - }, - "2802c16af7f7": { - "name": "linearConnectState", - "ordinal": 5, - "value": "error" - }, - "289a0f2782e3": { - "name": "linearConnectError", - "ordinal": 6, - "value": "" - }, - "2f8d5603d8c0": { - "connected": true, - "error": "", - "provider": "linear", - "providers": ["github", "linear"], - "state": "idle" - }, - "3223c75c85dd": { - "connected": false, - "error": "The host sent a reply this app could not read (linear.connect)", - "provider": "github", - "providers": ["github"], - "state": "error" - }, - "33e9492211b7": { - "connected": false, - "error": "Failed to connect Linear", - "provider": "github", - "providers": ["github"], - "state": "error" - }, - "3abc7d437bb5": { - "connected": false, - "error": "outer refused", - "provider": "github", - "providers": ["github"], - "state": "error" - }, - "419764f3b217": { - "name": "linearConnectState", - "ordinal": 1, - "value": "connecting" - }, - "6ab852352273": { - "name": "linearConnectError", - "ordinal": 7, - "value": "Failed to connect Linear" - }, - "748ae6b2e419": { - "name": "reply-salvage", - "ordinal": 5, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "linear.connect", - "operation": "linear.connect-account", - "variant": "linear-account-connected" - } - }, - "787e45f0206b": { - "name": "linear.connect#1", - "ordinal": 3, - "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 - } - } - }, - "7b027170ab7f": { - "name": "linearConnected", - "ordinal": 8, - "value": true - }, - "7b8a70aff80d": { - "name": "linear.connect#1", - "ordinal": 3, - "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 - } - } - }, - "7cc9b174cc9e": { - "name": "linearConnectError", - "ordinal": 2, - "value": "" - }, - "90675c627fb4": { - "name": "linear.connect#1", - "ordinal": 3, - "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 - } - } - } - }, - "b4cc0fd29848": { - "name": "linearConnectError", - "ordinal": 6, - "value": "The host sent a reply this app could not read (linear.connect)" - }, - "b4daffcf8e85": { - "name": "linear.connect#1", - "ordinal": 3, - "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 - } - } - }, - "b59099af6718": { - "name": "linear.connect#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.connect\",\"params\":{\"apiKey\":\"lin_api_key\"}}" - }, - "ba59d5e7d5dd": { - "connected": false, - "error": "", - "provider": "github", - "providers": ["github"], - "state": "error" - }, - "c29c2ae2911b": { - "name": "linearConnectError", - "ordinal": 6, - "value": "transport failure" - }, - "c53564bc94be": { - "name": "linear.connect#1", - "ordinal": 3, - "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 - } - } - }, - "c78daa2d0ec8": { - "name": "showLinearConnect", - "ordinal": 7, - "value": false - }, - "cae561637f0b": { - "name": "linear.connect#1", - "ordinal": 3, - "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 - } - } - }, - "d1c2253f0b59": { - "name": "linear.connect#1", - "ordinal": 3, - "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 - } - } - } - }, - "d35d1934b202": { - "name": "provider", - "ordinal": 10, - "value": "linear" - }, - "d5d0231ddaec": { - "name": "linear.connect#1", - "ordinal": 3, - "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" - } - } - } - }, - "dd595ae96cc8": { - "name": "visibleProviders", - "ordinal": 9, - "value": ["github", "linear"] - }, - "dfd3413a2232": { - "connected": false, - "error": "inner refused", - "provider": "github", - "providers": ["github"], - "state": "error" - }, - "e0a6285e78b3": { - "name": "linear.connect#1", - "ordinal": 3, - "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 - } - } - } - }, - "e9d903fbfa72": { - "connected": false, - "error": "Unknown method", - "provider": "github", - "providers": ["github"], - "state": "error" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec46acd73834": { - "name": "linearConnectError", - "ordinal": 6, - "value": "Unknown method" - }, - "edaf57a433ea": { - "name": "linear.connect#1", - "ordinal": 3, - "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" - } - } - } - }, - "f0b657356ae3": { - "name": "linearConnectError", - "ordinal": 6, - "value": "outer refused" - }, - "f28ad4aa4288": { - "name": "linearConnectState", - "ordinal": 6, - "value": "error" - }, - "f54167ff739b": { - "connected": false, - "error": "transport failure", - "provider": "github", - "providers": ["github"], - "state": "error" - } - }, - "recording": { - "scenario": "matrix-tasks.linear-connect-linear.connect-1", - "checkpoints": [ - { - "id": "tk-linear-connect.normal:connect-settled", - "observation": { - "sender": ["90675c627fb4"], - "payloads": ["b59099af6718"], - "settlements": { - "mount": "eb79a9b3682a", - "connect-0": "eb79a9b3682a" - }, - "state": "2f8d5603d8c0", - "effects": [ - "419764f3b217", - "7cc9b174cc9e", - "0eb2b134d2a8", - "0d5ee6814ade", - "c78daa2d0ec8", - "7b027170ab7f", - "dd595ae96cc8", - "d35d1934b202" - ] - } - }, - { - "id": "tk-linear-connect.result-absent:connect-settled", - "observation": { - "sender": ["cae561637f0b"], - "payloads": ["b59099af6718"], - "settlements": { - "mount": "eb79a9b3682a", - "connect-0": "eb79a9b3682a" - }, - "state": "3223c75c85dd", - "effects": ["419764f3b217", "7cc9b174cc9e", "2802c16af7f7", "b4cc0fd29848"] - } - }, - { - "id": "tk-linear-connect.result-null:connect-settled", - "observation": { - "sender": ["d5d0231ddaec"], - "payloads": ["b59099af6718"], - "settlements": { - "mount": "eb79a9b3682a", - "connect-0": "eb79a9b3682a" - }, - "state": "3223c75c85dd", - "effects": ["419764f3b217", "7cc9b174cc9e", "2802c16af7f7", "b4cc0fd29848"] - } - }, - { - "id": "tk-linear-connect.inner-ok-missing:connect-settled", - "observation": { - "sender": ["edaf57a433ea"], - "payloads": ["b59099af6718"], - "settlements": { - "mount": "eb79a9b3682a", - "connect-0": "eb79a9b3682a" - }, - "state": "2f8d5603d8c0", - "effects": [ - "419764f3b217", - "7cc9b174cc9e", - "0eb2b134d2a8", - "0d5ee6814ade", - "c78daa2d0ec8", - "7b027170ab7f", - "dd595ae96cc8", - "d35d1934b202" - ] - } - }, - { - "id": "tk-linear-connect.inner-false-string-error:connect-settled", - "observation": { - "sender": ["e0a6285e78b3"], - "payloads": ["b59099af6718"], - "settlements": { - "mount": "eb79a9b3682a", - "connect-0": "eb79a9b3682a" - }, - "state": "dfd3413a2232", - "effects": ["419764f3b217", "7cc9b174cc9e", "2802c16af7f7", "138ccbb348fe"] - } - }, - { - "id": "tk-linear-connect.inner-false-object-error:connect-settled", - "observation": { - "sender": ["d1c2253f0b59"], - "payloads": ["b59099af6718"], - "settlements": { - "mount": "eb79a9b3682a", - "connect-0": "eb79a9b3682a" - }, - "state": "33e9492211b7", - "effects": [ - "419764f3b217", - "7cc9b174cc9e", - "748ae6b2e419", - "f28ad4aa4288", - "6ab852352273" - ] - } - }, - { - "id": "tk-linear-connect.outer-refused:connect-settled", - "observation": { - "sender": ["787e45f0206b"], - "payloads": ["b59099af6718"], - "settlements": { - "mount": "eb79a9b3682a", - "connect-0": "eb79a9b3682a" - }, - "state": "3abc7d437bb5", - "effects": ["419764f3b217", "7cc9b174cc9e", "2802c16af7f7", "f0b657356ae3"] - } - }, - { - "id": "tk-linear-connect.outer-refused-no-message:connect-settled", - "observation": { - "sender": ["b4daffcf8e85"], - "payloads": ["b59099af6718"], - "settlements": { - "mount": "eb79a9b3682a", - "connect-0": "eb79a9b3682a" - }, - "state": "ba59d5e7d5dd", - "effects": ["419764f3b217", "7cc9b174cc9e", "2802c16af7f7", "289a0f2782e3"] - } - }, - { - "id": "tk-linear-connect.method-not-found:connect-settled", - "observation": { - "sender": ["182dd1d40c04"], - "payloads": ["b59099af6718"], - "settlements": { - "mount": "eb79a9b3682a", - "connect-0": "eb79a9b3682a" - }, - "state": "e9d903fbfa72", - "effects": ["419764f3b217", "7cc9b174cc9e", "2802c16af7f7", "ec46acd73834"] - } - }, - { - "id": "tk-linear-connect.transport-rejection:connect-settled", - "observation": { - "sender": ["7b8a70aff80d"], - "payloads": ["b59099af6718"], - "settlements": { - "mount": "eb79a9b3682a", - "connect-0": "eb79a9b3682a" - }, - "state": "f54167ff739b", - "effects": ["419764f3b217", "7cc9b174cc9e", "2802c16af7f7", "c29c2ae2911b"] - } - }, - { - "id": "tk-linear-connect.transport-rejection-no-message:connect-settled", - "observation": { - "sender": ["c53564bc94be"], - "payloads": ["b59099af6718"], - "settlements": { - "mount": "eb79a9b3682a", - "connect-0": "eb79a9b3682a" - }, - "state": "ba59d5e7d5dd", - "effects": ["419764f3b217", "7cc9b174cc9e", "2802c16af7f7", "289a0f2782e3"] - } - } - ] - } -} 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 deleted file mode 100644 index 86cc6641a63..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.linear-item-linear.addissuecomment-1.json +++ /dev/null @@ -1,2912 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.linear-item-actions", - "family": "tasks.linear-item", - "namedDeltas": [], - "values": { - "029bb83f402f": { - "name": "error", - "ordinal": 21, - "value": "" - }, - "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" - } - }, - "039c2b59e061": { - "name": "linear.createIssue#1", - "ordinal": 22, - "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": "" - } - } - } - }, - "0534215ae768": { - "name": "linear.addIssueComment#1", - "ordinal": 9, - "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 - } - } - }, - "09fd8ca6f88b": { - "name": "error", - "ordinal": 12, - "value": "" - }, - "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" - } - }, - "104bf14d3af8": { - "name": "error", - "ordinal": 8, - "value": "" - }, - "11b6302399f9": { - "name": "mutatingStatus", - "ordinal": 10, - "value": true - }, - "167c8724b16b": { - "name": "linear.addIssueComment#1", - "ordinal": 9, - "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 - } - } - }, - "1b7a093f724f": { - "name": "detailPayload", - "ordinal": 26, - "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" - } - }, - "1fa11661cd73": { - "name": "linear.getIssue#1", - "ordinal": 15, - "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" - } - } - } - }, - "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" - } - }, - "22b1e4293201": { - "name": "mutatingStatus", - "ordinal": 28, - "value": false - }, - "29cadc65bcbb": { - "name": "error", - "ordinal": 15, - "value": "" - }, - "29ed7524dd3c": { - "name": "error", - "ordinal": 22, - "value": "" - }, - "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" - } - }, - "3abc893d377b": { - "name": "mutatingStatus", - "ordinal": 3, - "value": false - }, - "3accbb2a4fcb": { - "name": "mutatingStatus", - "ordinal": 20, - "value": false - }, - "3b3ee1b48010": { - "name": "actionItem", - "ordinal": 19, - "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" - } - }, - "3f24b734fd8e": { - "name": "detailPayload", - "ordinal": 26, - "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" - } - }, - "3fcdcfa261ee": { - "name": "mutatingStatus", - "ordinal": 23, - "value": true - }, - "400de10f18d7": { - "error": "The host sent a reply this app could not read (linear.addIssueComment)", - "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" - } - }, - "44efd00fa69f": { - "name": "linearCommentDraft", - "ordinal": 7, - "value": "a linear comment" - }, - "45e23ca0e489": { - "name": "error", - "ordinal": 12, - "value": "transport failure" - }, - "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" - } - }, - "4a190d21f0ad": { - "name": "detailPayload", - "ordinal": 26, - "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" - } - }, - "4dd9211bea32": { - "name": "mutatingStatus", - "ordinal": 17, - "value": true - }, - "5037193eac5c": { - "name": "linear.addIssueComment#1", - "ordinal": 9, - "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 - } - } - }, - "5348c8d60b38": { - "name": "linearCommentDraft", - "ordinal": 20, - "value": "" - }, - "57207b51913e": { - "name": "error", - "ordinal": 12, - "value": "Unknown method" - }, - "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" - } - }, - "5bb480ca469c": { - "name": "detailPayload", - "ordinal": 12, - "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" - } - }, - "68003f9dae22": { - "name": "mutatingStatus", - "ordinal": 24, - "value": true - }, - "760659bea59b": { - "name": "linear.addIssueComment#1", - "ordinal": 11, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.addIssueComment\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"body\":\"a linear comment\"}}" - }, - "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" - } - }, - "78573d36197a": { - "name": "linear.addIssueComment#1", - "ordinal": 9, - "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" - } - } - } - }, - "7b614cf87045": { - "name": "linearSubIssueTitle", - "ordinal": 25, - "value": "" - }, - "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" - } - }, - "7d9a2bb8b5f0": { - "name": "error", - "ordinal": 12, - "value": "outer refused" - }, - "8427fd4151f1": { - "name": "mutatingStatus", - "ordinal": 14, - "value": false - }, - "8786f555ebcb": { - "name": "linear.addIssueComment#1", - "ordinal": 9, - "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 - } - } - } - }, - "889f7a0ce650": { - "error": "Failed to add comment", - "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" - } - }, - "88dbfd66d809": { - "name": "linear.createIssue#1", - "ordinal": 24, - "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}}" - }, - "8e34e506a7f8": { - "name": "linear.getIssue#1", - "ordinal": 18, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-2\",\"workspaceId\":\"linear-workspace\"}}" - }, - "8ebaf0949b6d": { - "name": "mutatingStatus", - "ordinal": 16, - "value": true - }, - "8f6bc911a494": { - "name": "linear.addIssueComment#1", - "ordinal": 9, - "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 - } - } - } - }, - "903e98e81410": { - "name": "error", - "ordinal": 12, - "value": "inner refused" - }, - "9911a44bcc07": { - "name": "linearCommentDraft", - "ordinal": 21, - "value": "" - }, - "99b079cb804c": { - "name": "linear.addIssueComment#1", - "ordinal": 9, - "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" - } - } - } - }, - "9c2ca99506b2": { - "name": "linear.getIssue#1", - "ordinal": 16, - "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" - } - } - } - }, - "9c6909125d76": { - "name": "detailPayload", - "ordinal": 27, - "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" - } - }, - "9dc1f136772e": { - "name": "linearCommentDraft", - "ordinal": 4, - "value": "" - }, - "b1f0308d3795": { - "name": "actionItem", - "ordinal": 5, - "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" - } - }, - "b27c54bfb07c": { - "name": "error", - "ordinal": 13, - "value": "Failed to add comment" - }, - "b2da94d284a1": { - "name": "linearSubIssueTitle", - "ordinal": 26, - "value": "" - }, - "b71922b936d3": { - "name": "linear.addIssueComment#1", - "ordinal": 9, - "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 - } - } - }, - "b8a8e13fff32": { - "name": "detailPayload", - "ordinal": 6, - "value": { - "assignee": { - "$rpc": "undefined" - }, - "children": [], - "comments": [], - "description": "description", - "labels": [], - "project": { - "$rpc": "null" - }, - "provider": "linear" - } - }, - "bbf2458754b4": { - "name": "mutatingStatus", - "ordinal": 19, - "value": false - }, - "bce8f337fd46": { - "name": "linearCommentDraft", - "ordinal": 14, - "value": "" - }, - "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" - } - }, - "c39516152855": { - "name": "actionItem", - "ordinal": 18, - "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" - } - }, - "c4bd3e068c64": { - "name": "linear.createIssue#1", - "ordinal": 23, - "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": "" - } - } - } - }, - "c99df17a93d5": { - "name": "linear.addIssueComment#1", - "ordinal": 9, - "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 - } - } - } - }, - "cad9f764ce58": { - "name": "linear.addIssueComment#1", - "ordinal": 9, - "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 - } - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "d0b07b477271": { - "name": "detailPayload", - "ordinal": 12, - "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" - } - }, - "d970b2195d6d": { - "name": "linear.addIssueComment#1", - "ordinal": 9, - "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 - } - } - }, - "da485104c1ac": { - "name": "linear.getIssue#1", - "ordinal": 17, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-2\",\"workspaceId\":\"linear-workspace\"}}" - }, - "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" - } - }, - "dd8131f92934": { - "name": "error", - "ordinal": 12, - "value": "The host sent a reply this app could not read (linear.addIssueComment)" - }, - "e0a9defd9b13": { - "name": "mutatingStatus", - "ordinal": 13, - "value": false - }, - "e72b7c40f270": { - "name": "linear.createIssue#1", - "ordinal": 25, - "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}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ef8932b03a8c": { - "name": "error", - "ordinal": 14, - "value": "" - }, - "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" - } - }, - "fa2f2de4dfe7": { - "name": "mutatingStatus", - "ordinal": 27, - "value": false - }, - "fecaba69b0ef": { - "name": "reply-salvage", - "ordinal": 12, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "linear.addIssueComment", - "operation": "linear.add-issue-comment", - "variant": "linear-comment-written" - } - } - }, - "recording": { - "scenario": "matrix-tasks.linear-item-linear.addissuecomment-1", - "checkpoints": [ - { - "id": "tk-linear-item.normal:comment-settled", - "observation": { - "sender": ["c99df17a93d5"], - "payloads": ["760659bea59b"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "dcb5a0348220", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46" - ] - } - }, - { - "id": "tk-linear-item.normal:sub-issue-open-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "7c14fba8a1fe", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-linear-item.normal:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2", "039c2b59e061"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "48107958be60", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "3f24b734fd8e", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.result-absent:comment-settled", - "observation": { - "sender": ["b71922b936d3"], - "payloads": ["760659bea59b"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "400de10f18d7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "dd8131f92934", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-linear-item.result-absent:sub-issue-open-settled", - "observation": { - "sender": ["b71922b936d3", "1fa11661cd73"], - "payloads": ["760659bea59b", "da485104c1ac"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "335cdd96334f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "dd8131f92934", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38" - ] - } - }, - { - "id": "tk-linear-item.result-absent:sub-issue-create-settled", - "observation": { - "sender": ["b71922b936d3", "1fa11661cd73", "039c2b59e061"], - "payloads": ["760659bea59b", "da485104c1ac", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "f0a8a5417034", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "dd8131f92934", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "1b7a093f724f", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.result-null:comment-settled", - "observation": { - "sender": ["99b079cb804c"], - "payloads": ["760659bea59b"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "400de10f18d7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "dd8131f92934", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-linear-item.result-null:sub-issue-open-settled", - "observation": { - "sender": ["99b079cb804c", "1fa11661cd73"], - "payloads": ["760659bea59b", "da485104c1ac"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "335cdd96334f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "dd8131f92934", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38" - ] - } - }, - { - "id": "tk-linear-item.result-null:sub-issue-create-settled", - "observation": { - "sender": ["99b079cb804c", "1fa11661cd73", "039c2b59e061"], - "payloads": ["760659bea59b", "da485104c1ac", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "f0a8a5417034", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "dd8131f92934", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "1b7a093f724f", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.inner-ok-missing:comment-settled", - "observation": { - "sender": ["78573d36197a"], - "payloads": ["760659bea59b"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "c3254898499d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "d0b07b477271", - "e0a9defd9b13", - "bce8f337fd46" - ] - } - }, - { - "id": "tk-linear-item.inner-ok-missing:sub-issue-open-settled", - "observation": { - "sender": ["78573d36197a", "9c2ca99506b2"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "226869a10edd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "d0b07b477271", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-linear-item.inner-ok-missing:sub-issue-create-settled", - "observation": { - "sender": ["78573d36197a", "9c2ca99506b2", "039c2b59e061"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "02bf1f0d7114", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "d0b07b477271", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "4a190d21f0ad", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.inner-false-string-error:comment-settled", - "observation": { - "sender": ["8f6bc911a494"], - "payloads": ["760659bea59b"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "37a27295d142", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "903e98e81410", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-linear-item.inner-false-string-error:sub-issue-open-settled", - "observation": { - "sender": ["8f6bc911a494", "1fa11661cd73"], - "payloads": ["760659bea59b", "da485104c1ac"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "335cdd96334f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "903e98e81410", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38" - ] - } - }, - { - "id": "tk-linear-item.inner-false-string-error:sub-issue-create-settled", - "observation": { - "sender": ["8f6bc911a494", "1fa11661cd73", "039c2b59e061"], - "payloads": ["760659bea59b", "da485104c1ac", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "f0a8a5417034", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "903e98e81410", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "1b7a093f724f", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.inner-false-object-error:comment-settled", - "observation": { - "sender": ["8786f555ebcb"], - "payloads": ["760659bea59b"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "889f7a0ce650", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "fecaba69b0ef", - "b27c54bfb07c", - "8427fd4151f1" - ] - } - }, - { - "id": "tk-linear-item.inner-false-object-error:sub-issue-open-settled", - "observation": { - "sender": ["8786f555ebcb", "9c2ca99506b2"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "335cdd96334f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "fecaba69b0ef", - "b27c54bfb07c", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "9911a44bcc07" - ] - } - }, - { - "id": "tk-linear-item.inner-false-object-error:sub-issue-create-settled", - "observation": { - "sender": ["8786f555ebcb", "9c2ca99506b2", "c4bd3e068c64"], - "payloads": ["760659bea59b", "8e34e506a7f8", "e72b7c40f270"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "f0a8a5417034", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "fecaba69b0ef", - "b27c54bfb07c", - "8427fd4151f1", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "9911a44bcc07", - "29ed7524dd3c", - "68003f9dae22", - "b2da94d284a1", - "9c6909125d76", - "22b1e4293201" - ] - } - }, - { - "id": "tk-linear-item.outer-refused:comment-settled", - "observation": { - "sender": ["d970b2195d6d"], - "payloads": ["760659bea59b"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "7807d636d5ca", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "7d9a2bb8b5f0", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-linear-item.outer-refused:sub-issue-open-settled", - "observation": { - "sender": ["d970b2195d6d", "1fa11661cd73"], - "payloads": ["760659bea59b", "da485104c1ac"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "335cdd96334f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "7d9a2bb8b5f0", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38" - ] - } - }, - { - "id": "tk-linear-item.outer-refused:sub-issue-create-settled", - "observation": { - "sender": ["d970b2195d6d", "1fa11661cd73", "039c2b59e061"], - "payloads": ["760659bea59b", "da485104c1ac", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "f0a8a5417034", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "7d9a2bb8b5f0", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "1b7a093f724f", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.outer-refused-no-message:comment-settled", - "observation": { - "sender": ["167c8724b16b"], - "payloads": ["760659bea59b"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "0ac6cc942440", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-linear-item.outer-refused-no-message:sub-issue-open-settled", - "observation": { - "sender": ["167c8724b16b", "1fa11661cd73"], - "payloads": ["760659bea59b", "da485104c1ac"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "335cdd96334f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38" - ] - } - }, - { - "id": "tk-linear-item.outer-refused-no-message:sub-issue-create-settled", - "observation": { - "sender": ["167c8724b16b", "1fa11661cd73", "039c2b59e061"], - "payloads": ["760659bea59b", "da485104c1ac", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "f0a8a5417034", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "1b7a093f724f", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.method-not-found:comment-settled", - "observation": { - "sender": ["5037193eac5c"], - "payloads": ["760659bea59b"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "f76765650c9b", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "57207b51913e", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-linear-item.method-not-found:sub-issue-open-settled", - "observation": { - "sender": ["5037193eac5c", "1fa11661cd73"], - "payloads": ["760659bea59b", "da485104c1ac"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "335cdd96334f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "57207b51913e", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38" - ] - } - }, - { - "id": "tk-linear-item.method-not-found:sub-issue-create-settled", - "observation": { - "sender": ["5037193eac5c", "1fa11661cd73", "039c2b59e061"], - "payloads": ["760659bea59b", "da485104c1ac", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "f0a8a5417034", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "57207b51913e", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "1b7a093f724f", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.transport-rejection:comment-settled", - "observation": { - "sender": ["cad9f764ce58"], - "payloads": ["760659bea59b"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "5ae9884071c5", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "45e23ca0e489", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-linear-item.transport-rejection:sub-issue-open-settled", - "observation": { - "sender": ["cad9f764ce58", "1fa11661cd73"], - "payloads": ["760659bea59b", "da485104c1ac"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "335cdd96334f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "45e23ca0e489", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38" - ] - } - }, - { - "id": "tk-linear-item.transport-rejection:sub-issue-create-settled", - "observation": { - "sender": ["cad9f764ce58", "1fa11661cd73", "039c2b59e061"], - "payloads": ["760659bea59b", "da485104c1ac", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "f0a8a5417034", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "45e23ca0e489", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "1b7a093f724f", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.transport-rejection-no-message:comment-settled", - "observation": { - "sender": ["0534215ae768"], - "payloads": ["760659bea59b"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "0ac6cc942440", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13" - ] - } - }, - { - "id": "tk-linear-item.transport-rejection-no-message:sub-issue-open-settled", - "observation": { - "sender": ["0534215ae768", "1fa11661cd73"], - "payloads": ["760659bea59b", "da485104c1ac"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "335cdd96334f", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38" - ] - } - }, - { - "id": "tk-linear-item.transport-rejection-no-message:sub-issue-create-settled", - "observation": { - "sender": ["0534215ae768", "1fa11661cd73", "039c2b59e061"], - "payloads": ["760659bea59b", "da485104c1ac", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "f0a8a5417034", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "09fd8ca6f88b", - "e0a9defd9b13", - "ef8932b03a8c", - "8ebaf0949b6d", - "c39516152855", - "bbf2458754b4", - "5348c8d60b38", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "1b7a093f724f", - "fa2f2de4dfe7" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 927f8be71a8..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.linear-item-linear.createissue-1.json +++ /dev/null @@ -1,2011 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.linear-item-actions", - "family": "tasks.linear-item", - "namedDeltas": [], - "values": { - "029bb83f402f": { - "name": "error", - "ordinal": 21, - "value": "" - }, - "039c2b59e061": { - "name": "linear.createIssue#1", - "ordinal": 22, - "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": "" - } - } - } - }, - "104bf14d3af8": { - "name": "error", - "ordinal": 8, - "value": "" - }, - "10b1d5c98c92": { - "error": "Failed to create sub-issue", - "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" - } - }, - "11b6302399f9": { - "name": "mutatingStatus", - "ordinal": 10, - "value": true - }, - "1412f820054d": { - "name": "error", - "ordinal": 25, - "value": "Unknown method" - }, - "1512ca10da46": { - "name": "linear.createIssue#1", - "ordinal": 22, - "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 - } - } - }, - "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" - } - }, - "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" - } - }, - "1ed600fc3a73": { - "name": "linear.createIssue#1", - "ordinal": 22, - "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 - } - } - }, - "2128e20a7cec": { - "name": "reply-salvage", - "ordinal": 25, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "linear.createIssue", - "operation": "linear.create-issue", - "variant": "linear-created-issue" - } - }, - "25c2af78ee0c": { - "name": "error", - "ordinal": 25, - "value": "refused" - }, - "29cadc65bcbb": { - "name": "error", - "ordinal": 15, - "value": "" - }, - "2e5b29a82d3e": { - "name": "linear.createIssue#1", - "ordinal": 22, - "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" - } - } - } - }, - "356ab1982f75": { - "name": "linear.createIssue#1", - "ordinal": 22, - "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 - } - } - } - }, - "3abc893d377b": { - "name": "mutatingStatus", - "ordinal": 3, - "value": false - }, - "3accbb2a4fcb": { - "name": "mutatingStatus", - "ordinal": 20, - "value": false - }, - "3b3ee1b48010": { - "name": "actionItem", - "ordinal": 19, - "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" - } - }, - "3f24b734fd8e": { - "name": "detailPayload", - "ordinal": 26, - "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" - } - }, - "3fcdcfa261ee": { - "name": "mutatingStatus", - "ordinal": 23, - "value": true - }, - "44efd00fa69f": { - "name": "linearCommentDraft", - "ordinal": 7, - "value": "a linear comment" - }, - "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" - } - }, - "4dd9211bea32": { - "name": "mutatingStatus", - "ordinal": 17, - "value": true - }, - "575192c18227": { - "name": "linear.createIssue#1", - "ordinal": 22, - "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 - } - } - }, - "5bb480ca469c": { - "name": "detailPayload", - "ordinal": 12, - "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" - } - }, - "6a81624ad4bc": { - "name": "linear.createIssue#1", - "ordinal": 22, - "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 - } - } - }, - "760659bea59b": { - "name": "linear.addIssueComment#1", - "ordinal": 11, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.addIssueComment\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"body\":\"a linear comment\"}}" - }, - "77d8b565e94c": { - "name": "error", - "ordinal": 25, - "value": "outer refused" - }, - "78f6115849b5": { - "name": "linear.createIssue#1", - "ordinal": 22, - "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" - } - } - } - }, - "7997a7258e60": { - "name": "linear.createIssue#1", - "ordinal": 22, - "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 - } - } - }, - "7b614cf87045": { - "name": "linearSubIssueTitle", - "ordinal": 25, - "value": "" - }, - "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" - } - }, - "856de033b09e": { - "name": "error", - "ordinal": 26, - "value": "Failed to create sub-issue" - }, - "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" - } - }, - "87481dc71512": { - "name": "error", - "ordinal": 25, - "value": "transport failure" - }, - "88dbfd66d809": { - "name": "linear.createIssue#1", - "ordinal": 24, - "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}}" - }, - "8e34e506a7f8": { - "name": "linear.getIssue#1", - "ordinal": 18, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-2\",\"workspaceId\":\"linear-workspace\"}}" - }, - "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" - } - }, - "959311b55e6f": { - "name": "error", - "ordinal": 25, - "value": "inner refused" - }, - "9c2ca99506b2": { - "name": "linear.getIssue#1", - "ordinal": 16, - "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" - } - } - } - }, - "9dc1f136772e": { - "name": "linearCommentDraft", - "ordinal": 4, - "value": "" - }, - "a06ef1ffdd25": { - "name": "error", - "ordinal": 25, - "value": "The host sent a reply this app could not read (linear.createIssue)" - }, - "acff45feb249": { - "name": "mutatingStatus", - "ordinal": 26, - "value": false - }, - "b1f0308d3795": { - "name": "actionItem", - "ordinal": 5, - "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" - } - }, - "b6c6e7b32866": { - "name": "linear.createIssue#1", - "ordinal": 22, - "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 - } - } - }, - "b6d87c9f3beb": { - "name": "linear.createIssue#1", - "ordinal": 22, - "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 - } - } - } - }, - "b8a8e13fff32": { - "name": "detailPayload", - "ordinal": 6, - "value": { - "assignee": { - "$rpc": "undefined" - }, - "children": [], - "comments": [], - "description": "description", - "labels": [], - "project": { - "$rpc": "null" - }, - "provider": "linear" - } - }, - "bce8f337fd46": { - "name": "linearCommentDraft", - "ordinal": 14, - "value": "" - }, - "bf57d9a0cf81": { - "error": "The host sent a reply this app could not read (linear.createIssue)", - "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" - } - }, - "c40da88e1087": { - "name": "error", - "ordinal": 25, - "value": "" - }, - "c99df17a93d5": { - "name": "linear.addIssueComment#1", - "ordinal": 9, - "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 - } - } - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "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" - } - }, - "e0a9defd9b13": { - "name": "mutatingStatus", - "ordinal": 13, - "value": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec512a39b2e4": { - "name": "linear.createIssue#1", - "ordinal": 22, - "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 - } - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "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" - } - }, - "f8e1ed502792": { - "name": "error", - "ordinal": 25, - "value": "Connection closed" - }, - "fa2f2de4dfe7": { - "name": "mutatingStatus", - "ordinal": 27, - "value": false - } - }, - "recording": { - "scenario": "matrix-tasks.linear-item-linear.createissue-1", - "checkpoints": [ - { - "id": "tk-linear-item.prelude:comment-settled", - "observation": { - "sender": ["c99df17a93d5"], - "payloads": ["760659bea59b"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "dcb5a0348220", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46" - ] - } - }, - { - "id": "tk-linear-item.prelude:sub-issue-open-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "7c14fba8a1fe", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-linear-item.prelude:cleanup", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2", "575192c18227"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "1dcf350b71f7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "f8e1ed502792" - ] - } - }, - { - "id": "tk-linear-item.normal:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2", "039c2b59e061"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "48107958be60", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "3f24b734fd8e", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.result-absent:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2", "ec512a39b2e4"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "bf57d9a0cf81", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "a06ef1ffdd25", - "acff45feb249" - ] - } - }, - { - "id": "tk-linear-item.result-null:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2", "2e5b29a82d3e"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "bf57d9a0cf81", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "a06ef1ffdd25", - "acff45feb249" - ] - } - }, - { - "id": "tk-linear-item.inner-ok-missing:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2", "78f6115849b5"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "f4878d38b306", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "25c2af78ee0c", - "acff45feb249" - ] - } - }, - { - "id": "tk-linear-item.inner-false-string-error:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2", "356ab1982f75"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "933d48089040", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "959311b55e6f", - "acff45feb249" - ] - } - }, - { - "id": "tk-linear-item.inner-false-object-error:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2", "b6d87c9f3beb"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "10b1d5c98c92", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "2128e20a7cec", - "856de033b09e", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.outer-refused:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2", "1512ca10da46"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "857b0f423a93", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "77d8b565e94c", - "acff45feb249" - ] - } - }, - { - "id": "tk-linear-item.outer-refused-no-message:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2", "6a81624ad4bc"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "7c14fba8a1fe", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "c40da88e1087", - "acff45feb249" - ] - } - }, - { - "id": "tk-linear-item.method-not-found:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2", "7997a7258e60"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "7c4663c87131", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "1412f820054d", - "acff45feb249" - ] - } - }, - { - "id": "tk-linear-item.transport-rejection:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2", "b6c6e7b32866"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "1c50877ad554", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "87481dc71512", - "acff45feb249" - ] - } - }, - { - "id": "tk-linear-item.transport-rejection-no-message:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2", "1ed600fc3a73"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "7c14fba8a1fe", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "c40da88e1087", - "acff45feb249" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 3c4aacf9645..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.linear-item-linear.getissue-1.json +++ /dev/null @@ -1,2195 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.linear-item-actions", - "family": "tasks.linear-item", - "namedDeltas": [], - "values": { - "029bb83f402f": { - "name": "error", - "ordinal": 21, - "value": "" - }, - "039c2b59e061": { - "name": "linear.createIssue#1", - "ordinal": 22, - "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": "" - } - } - } - }, - "09951a29247b": { - "name": "linear.getIssue#1", - "ordinal": 16, - "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 - } - } - }, - "0d843613a5cc": { - "error": "The host sent a reply this app could not read (linear.getIssue)", - "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" - } - }, - "104bf14d3af8": { - "name": "error", - "ordinal": 8, - "value": "" - }, - "11b6302399f9": { - "name": "mutatingStatus", - "ordinal": 10, - "value": true - }, - "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" - } - }, - "29cadc65bcbb": { - "name": "error", - "ordinal": 15, - "value": "" - }, - "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" - } - }, - "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" - } - }, - "3abc893d377b": { - "name": "mutatingStatus", - "ordinal": 3, - "value": false - }, - "3accbb2a4fcb": { - "name": "mutatingStatus", - "ordinal": 20, - "value": false - }, - "3b3ee1b48010": { - "name": "actionItem", - "ordinal": 19, - "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" - } - }, - "3f24b734fd8e": { - "name": "detailPayload", - "ordinal": 26, - "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" - } - }, - "3fcdcfa261ee": { - "name": "mutatingStatus", - "ordinal": 23, - "value": true - }, - "44efd00fa69f": { - "name": "linearCommentDraft", - "ordinal": 7, - "value": "a linear comment" - }, - "4609311a16f3": { - "name": "linear.getIssue#1", - "ordinal": 16, - "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 - } - } - } - }, - "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" - } - }, - "4a8edd624276": { - "name": "error", - "ordinal": 19, - "value": "The host sent a reply this app could not read (linear.getIssue)" - }, - "4dd9211bea32": { - "name": "mutatingStatus", - "ordinal": 17, - "value": true - }, - "502cfe34e0f3": { - "name": "linear.getIssue#1", - "ordinal": 16, - "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" - } - } - } - }, - "5219b0026766": { - "name": "linear.getIssue#1", - "ordinal": 16, - "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 - } - } - }, - "5bb480ca469c": { - "name": "detailPayload", - "ordinal": 12, - "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" - } - }, - "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" - } - }, - "5ec1b4db4e0a": { - "name": "linear.getIssue#1", - "ordinal": 16, - "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 - } - } - }, - "69e3270c4146": { - "name": "error", - "ordinal": 19, - "value": "transport failure" - }, - "6f2a6ca9e17c": { - "name": "error", - "ordinal": 19, - "value": "Sub-issue not found" - }, - "760659bea59b": { - "name": "linear.addIssueComment#1", - "ordinal": 11, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.addIssueComment\",\"params\":{\"issueId\":\"issue-1\",\"workspaceId\":\"linear-workspace\",\"body\":\"a linear comment\"}}" - }, - "7b614cf87045": { - "name": "linearSubIssueTitle", - "ordinal": 25, - "value": "" - }, - "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" - } - }, - "7c97de7ce6ed": { - "name": "linear.getIssue#1", - "ordinal": 16, - "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" - } - } - } - }, - "83a18490fe1d": { - "name": "linear.getIssue#1", - "ordinal": 16, - "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 - } - } - }, - "88dbfd66d809": { - "name": "linear.createIssue#1", - "ordinal": 24, - "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}}" - }, - "8b1dcb4dd17e": { - "name": "error", - "ordinal": 19, - "value": "outer refused" - }, - "8e34e506a7f8": { - "name": "linear.getIssue#1", - "ordinal": 18, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.getIssue\",\"params\":{\"id\":\"issue-2\",\"workspaceId\":\"linear-workspace\"}}" - }, - "8eddd110bbf3": { - "name": "error", - "ordinal": 19, - "value": "Connection closed" - }, - "94caa29bceef": { - "name": "error", - "ordinal": 19, - "value": "" - }, - "9c2ca99506b2": { - "name": "linear.getIssue#1", - "ordinal": 16, - "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" - } - } - } - }, - "9dc1f136772e": { - "name": "linearCommentDraft", - "ordinal": 4, - "value": "" - }, - "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" - } - }, - "b13245e33ef3": { - "name": "linear.getIssue#1", - "ordinal": 16, - "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 - } - } - }, - "b1f0308d3795": { - "name": "actionItem", - "ordinal": 5, - "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" - } - }, - "b8a8e13fff32": { - "name": "detailPayload", - "ordinal": 6, - "value": { - "assignee": { - "$rpc": "undefined" - }, - "children": [], - "comments": [], - "description": "description", - "labels": [], - "project": { - "$rpc": "null" - }, - "provider": "linear" - } - }, - "bce8f337fd46": { - "name": "linearCommentDraft", - "ordinal": 14, - "value": "" - }, - "bdf7764e8daf": { - "name": "linear.getIssue#1", - "ordinal": 16, - "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 - } - } - }, - "c59a5cd8a507": { - "name": "error", - "ordinal": 19, - "value": "Unknown method" - }, - "c99df17a93d5": { - "name": "linear.addIssueComment#1", - "ordinal": 9, - "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 - } - } - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "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" - } - }, - "dcb7cf273a71": { - "name": "linear.getIssue#1", - "ordinal": 16, - "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 - } - } - }, - "e0a9defd9b13": { - "name": "mutatingStatus", - "ordinal": 13, - "value": false - }, - "e4361effe7cf": { - "name": "linear.getIssue#1", - "ordinal": 16, - "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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "fa2f2de4dfe7": { - "name": "mutatingStatus", - "ordinal": 27, - "value": false - } - }, - "recording": { - "scenario": "matrix-tasks.linear-item-linear.getissue-1", - "checkpoints": [ - { - "id": "tk-linear-item.prelude:comment-settled", - "observation": { - "sender": ["c99df17a93d5"], - "payloads": ["760659bea59b"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a" - }, - "state": "dcb5a0348220", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46" - ] - } - }, - { - "id": "tk-linear-item.prelude:cleanup", - "observation": { - "sender": ["c99df17a93d5", "b13245e33ef3"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "31c35ed4408c", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "8eddd110bbf3" - ] - } - }, - { - "id": "tk-linear-item.normal:sub-issue-open-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "7c14fba8a1fe", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-linear-item.normal:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "9c2ca99506b2", "039c2b59e061"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "48107958be60", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "3b3ee1b48010", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "3f24b734fd8e", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.result-absent:sub-issue-open-settled", - "observation": { - "sender": ["c99df17a93d5", "83a18490fe1d"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "0d843613a5cc", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "4a8edd624276", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-linear-item.result-absent:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "83a18490fe1d", "039c2b59e061"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "5d9c3e0ee7ee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "4a8edd624276", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "3f24b734fd8e", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.result-null:sub-issue-open-settled", - "observation": { - "sender": ["c99df17a93d5", "7c97de7ce6ed"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "1cdac3892b88", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "6f2a6ca9e17c", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-linear-item.result-null:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "7c97de7ce6ed", "039c2b59e061"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "5d9c3e0ee7ee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "6f2a6ca9e17c", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "3f24b734fd8e", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.inner-ok-missing:sub-issue-open-settled", - "observation": { - "sender": ["c99df17a93d5", "502cfe34e0f3"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "0d843613a5cc", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "4a8edd624276", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-linear-item.inner-ok-missing:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "502cfe34e0f3", "039c2b59e061"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "5d9c3e0ee7ee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "4a8edd624276", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "3f24b734fd8e", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.inner-false-string-error:sub-issue-open-settled", - "observation": { - "sender": ["c99df17a93d5", "e4361effe7cf"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "0d843613a5cc", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "4a8edd624276", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-linear-item.inner-false-string-error:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "e4361effe7cf", "039c2b59e061"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "5d9c3e0ee7ee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "4a8edd624276", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "3f24b734fd8e", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.inner-false-object-error:sub-issue-open-settled", - "observation": { - "sender": ["c99df17a93d5", "4609311a16f3"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "0d843613a5cc", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "4a8edd624276", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-linear-item.inner-false-object-error:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "4609311a16f3", "039c2b59e061"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "5d9c3e0ee7ee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "4a8edd624276", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "3f24b734fd8e", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.outer-refused:sub-issue-open-settled", - "observation": { - "sender": ["c99df17a93d5", "dcb7cf273a71"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "ac636cdfa5a0", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "8b1dcb4dd17e", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-linear-item.outer-refused:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "dcb7cf273a71", "039c2b59e061"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "5d9c3e0ee7ee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "8b1dcb4dd17e", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "3f24b734fd8e", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.outer-refused-no-message:sub-issue-open-settled", - "observation": { - "sender": ["c99df17a93d5", "bdf7764e8daf"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "dcb5a0348220", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "94caa29bceef", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-linear-item.outer-refused-no-message:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "bdf7764e8daf", "039c2b59e061"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "5d9c3e0ee7ee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "94caa29bceef", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "3f24b734fd8e", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.method-not-found:sub-issue-open-settled", - "observation": { - "sender": ["c99df17a93d5", "09951a29247b"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "1ccd8c8e0846", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "c59a5cd8a507", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-linear-item.method-not-found:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "09951a29247b", "039c2b59e061"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "5d9c3e0ee7ee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "c59a5cd8a507", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "3f24b734fd8e", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.transport-rejection:sub-issue-open-settled", - "observation": { - "sender": ["c99df17a93d5", "5ec1b4db4e0a"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "34ac31e64bbc", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "69e3270c4146", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-linear-item.transport-rejection:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "5ec1b4db4e0a", "039c2b59e061"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "5d9c3e0ee7ee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "69e3270c4146", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "3f24b734fd8e", - "fa2f2de4dfe7" - ] - } - }, - { - "id": "tk-linear-item.transport-rejection-no-message:sub-issue-open-settled", - "observation": { - "sender": ["c99df17a93d5", "5219b0026766"], - "payloads": ["760659bea59b", "8e34e506a7f8"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a" - }, - "state": "dcb5a0348220", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "94caa29bceef", - "3accbb2a4fcb" - ] - } - }, - { - "id": "tk-linear-item.transport-rejection-no-message:sub-issue-create-settled", - "observation": { - "sender": ["c99df17a93d5", "5219b0026766", "039c2b59e061"], - "payloads": ["760659bea59b", "8e34e506a7f8", "88dbfd66d809"], - "settlements": { - "mount": "eb79a9b3682a", - "comment-0": "eb79a9b3682a", - "sub-issue-open-1": "eb79a9b3682a", - "sub-issue-create-2": "eb79a9b3682a" - }, - "state": "5d9c3e0ee7ee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "9dc1f136772e", - "b1f0308d3795", - "b8a8e13fff32", - "44efd00fa69f", - "104bf14d3af8", - "11b6302399f9", - "5bb480ca469c", - "e0a9defd9b13", - "bce8f337fd46", - "29cadc65bcbb", - "4dd9211bea32", - "94caa29bceef", - "3accbb2a4fcb", - "029bb83f402f", - "3fcdcfa261ee", - "7b614cf87045", - "3f24b734fd8e", - "fa2f2de4dfe7" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 2660b5ebccb..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.linear-team-context-linear.listteams-1.json +++ /dev/null @@ -1,1135 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.linear-team-context", - "family": "tasks.linear-team-context", - "namedDeltas": [], - "values": { - "031c50459130": { - "name": "createTeamId", - "ordinal": 10, - "value": "team-1" - }, - "0393503430d4": { - "name": "linear.listTeams#1", - "ordinal": 7, - "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 - } - } - } - }, - "17249df8377f": { - "name": "createTeamId", - "ordinal": 10, - "value": { - "$rpc": "null" - } - }, - "1ec7cb477142": { - "name": "linear.listTeams#1", - "ordinal": 7, - "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" - } - } - } - }, - "295be39dd439": { - "name": "linear.listTeams#1", - "ordinal": 7, - "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 - } - } - }, - "2afc4b1311c1": { - "createTeamId": "team-1", - "states": [], - "statesLoading": false, - "teams": [ - { - "id": "team-1", - "key": "ENG", - "name": "Engineering", - "workspaceId": "linear-workspace" - } - ] - }, - "3008cf7db0e8": { - "name": "linear.listTeams#1", - "ordinal": 7, - "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 - } - } - } - }, - "38ed617d559f": { - "name": "linearTeams", - "ordinal": 9, - "value": [ - { - "id": "team-1", - "key": "ENG", - "name": "Engineering", - "workspaceId": "linear-workspace" - } - ] - }, - "3abc893d377b": { - "name": "mutatingStatus", - "ordinal": 3, - "value": false - }, - "4fcc46dfeb77": { - "name": "linear.listTeams#1", - "ordinal": 8, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\"}" - }, - "5dcdc7fd7492": { - "name": "linearSubIssueTitle", - "ordinal": 4, - "value": "" - }, - "6e2cda0e22c3": { - "name": "linear.listTeams#1", - "ordinal": 7, - "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 - } - } - }, - "74335ecb4cd2": { - "name": "linearStatesLoading", - "ordinal": 16, - "value": false - }, - "74505ce2789a": { - "name": "linearStates", - "ordinal": 5, - "value": [] - }, - "74ca99e85dba": { - "createTeamId": { - "$rpc": "null" - }, - "states": [], - "statesLoading": false, - "teams": [] - }, - "77a7eff4a3cc": { - "name": "linearStatesLoading", - "ordinal": 11, - "value": true - }, - "7a1d9604491f": { - "name": "linear.listTeams#1", - "ordinal": 7, - "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" - } - } - } - }, - "82b36eab5101": { - "name": "creatingTask", - "ordinal": 6, - "value": false - }, - "8640fb2add9b": { - "name": "linearTeams", - "ordinal": 9, - "value": [] - }, - "a14f6c361136": { - "name": "linearStates", - "ordinal": 15, - "value": [ - { - "color": "#000000", - "id": "state-1", - "name": "Todo", - "type": "unstarted" - } - ] - }, - "b57d92c5b837": { - "name": "linear.listTeams#1", - "ordinal": 7, - "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 - } - } - }, - "b5ba6f00c4fb": { - "name": "linear.teamStates#1", - "ordinal": 14, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.teamStates\",\"params\":{\"teamId\":\"team-1\",\"workspaceId\":\"linear-workspace\"}}" - }, - "b6a3835a95e0": { - "name": "linear.listTeams#1", - "ordinal": 7, - "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 - } - } - }, - "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": [] - }, - "c3709cdbfa6b": { - "name": "linear.listTeams#1", - "ordinal": 7, - "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 - } - } - }, - "c74dd55429c8": { - "name": "linear.listTeams#1", - "ordinal": 7, - "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 - } - } - }, - "c88d134e7a42": { - "name": "linear.teamStates#1", - "ordinal": 13, - "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" - } - ] - } - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "db66582f88a9": { - "name": "linearStatesError", - "ordinal": 12, - "value": "" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ee01f277ffc4": { - "name": "linear.listTeams#1", - "ordinal": 7, - "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" - } - ] - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.linear-team-context-linear.listteams-1", - "checkpoints": [ - { - "id": "tk-linear-team-context.normal:open-composer-settled", - "observation": { - "sender": ["ee01f277ffc4"], - "payloads": ["4fcc46dfeb77"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a" - }, - "state": "2afc4b1311c1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "38ed617d559f", - "031c50459130" - ] - } - }, - { - "id": "tk-linear-team-context.normal:select-metadata-item-settled", - "observation": { - "sender": ["ee01f277ffc4", "c88d134e7a42"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "b6bf81e9e237", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "38ed617d559f", - "031c50459130", - "77a7eff4a3cc", - "db66582f88a9", - "a14f6c361136", - "74335ecb4cd2" - ] - } - }, - { - "id": "tk-linear-team-context.result-absent:open-composer-settled", - "observation": { - "sender": ["c3709cdbfa6b"], - "payloads": ["4fcc46dfeb77"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a" - }, - "state": "74ca99e85dba", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f" - ] - } - }, - { - "id": "tk-linear-team-context.result-absent:select-metadata-item-settled", - "observation": { - "sender": ["c3709cdbfa6b", "c88d134e7a42"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "bb26ae00041e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f", - "77a7eff4a3cc", - "db66582f88a9", - "a14f6c361136", - "74335ecb4cd2" - ] - } - }, - { - "id": "tk-linear-team-context.result-null:open-composer-settled", - "observation": { - "sender": ["1ec7cb477142"], - "payloads": ["4fcc46dfeb77"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a" - }, - "state": "74ca99e85dba", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f" - ] - } - }, - { - "id": "tk-linear-team-context.result-null:select-metadata-item-settled", - "observation": { - "sender": ["1ec7cb477142", "c88d134e7a42"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "bb26ae00041e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f", - "77a7eff4a3cc", - "db66582f88a9", - "a14f6c361136", - "74335ecb4cd2" - ] - } - }, - { - "id": "tk-linear-team-context.inner-ok-missing:open-composer-settled", - "observation": { - "sender": ["7a1d9604491f"], - "payloads": ["4fcc46dfeb77"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a" - }, - "state": "74ca99e85dba", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f" - ] - } - }, - { - "id": "tk-linear-team-context.inner-ok-missing:select-metadata-item-settled", - "observation": { - "sender": ["7a1d9604491f", "c88d134e7a42"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "bb26ae00041e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f", - "77a7eff4a3cc", - "db66582f88a9", - "a14f6c361136", - "74335ecb4cd2" - ] - } - }, - { - "id": "tk-linear-team-context.inner-false-string-error:open-composer-settled", - "observation": { - "sender": ["3008cf7db0e8"], - "payloads": ["4fcc46dfeb77"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a" - }, - "state": "74ca99e85dba", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f" - ] - } - }, - { - "id": "tk-linear-team-context.inner-false-string-error:select-metadata-item-settled", - "observation": { - "sender": ["3008cf7db0e8", "c88d134e7a42"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "bb26ae00041e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f", - "77a7eff4a3cc", - "db66582f88a9", - "a14f6c361136", - "74335ecb4cd2" - ] - } - }, - { - "id": "tk-linear-team-context.inner-false-object-error:open-composer-settled", - "observation": { - "sender": ["0393503430d4"], - "payloads": ["4fcc46dfeb77"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a" - }, - "state": "74ca99e85dba", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f" - ] - } - }, - { - "id": "tk-linear-team-context.inner-false-object-error:select-metadata-item-settled", - "observation": { - "sender": ["0393503430d4", "c88d134e7a42"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "bb26ae00041e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f", - "77a7eff4a3cc", - "db66582f88a9", - "a14f6c361136", - "74335ecb4cd2" - ] - } - }, - { - "id": "tk-linear-team-context.outer-refused:open-composer-settled", - "observation": { - "sender": ["295be39dd439"], - "payloads": ["4fcc46dfeb77"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a" - }, - "state": "74ca99e85dba", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f" - ] - } - }, - { - "id": "tk-linear-team-context.outer-refused:select-metadata-item-settled", - "observation": { - "sender": ["295be39dd439", "c88d134e7a42"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "bb26ae00041e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f", - "77a7eff4a3cc", - "db66582f88a9", - "a14f6c361136", - "74335ecb4cd2" - ] - } - }, - { - "id": "tk-linear-team-context.outer-refused-no-message:open-composer-settled", - "observation": { - "sender": ["b57d92c5b837"], - "payloads": ["4fcc46dfeb77"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a" - }, - "state": "74ca99e85dba", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f" - ] - } - }, - { - "id": "tk-linear-team-context.outer-refused-no-message:select-metadata-item-settled", - "observation": { - "sender": ["b57d92c5b837", "c88d134e7a42"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "bb26ae00041e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f", - "77a7eff4a3cc", - "db66582f88a9", - "a14f6c361136", - "74335ecb4cd2" - ] - } - }, - { - "id": "tk-linear-team-context.method-not-found:open-composer-settled", - "observation": { - "sender": ["c74dd55429c8"], - "payloads": ["4fcc46dfeb77"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a" - }, - "state": "74ca99e85dba", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f" - ] - } - }, - { - "id": "tk-linear-team-context.method-not-found:select-metadata-item-settled", - "observation": { - "sender": ["c74dd55429c8", "c88d134e7a42"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "bb26ae00041e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f", - "77a7eff4a3cc", - "db66582f88a9", - "a14f6c361136", - "74335ecb4cd2" - ] - } - }, - { - "id": "tk-linear-team-context.transport-rejection:open-composer-settled", - "observation": { - "sender": ["6e2cda0e22c3"], - "payloads": ["4fcc46dfeb77"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a" - }, - "state": "74ca99e85dba", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f" - ] - } - }, - { - "id": "tk-linear-team-context.transport-rejection:select-metadata-item-settled", - "observation": { - "sender": ["6e2cda0e22c3", "c88d134e7a42"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "bb26ae00041e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f", - "77a7eff4a3cc", - "db66582f88a9", - "a14f6c361136", - "74335ecb4cd2" - ] - } - }, - { - "id": "tk-linear-team-context.transport-rejection-no-message:open-composer-settled", - "observation": { - "sender": ["b6a3835a95e0"], - "payloads": ["4fcc46dfeb77"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a" - }, - "state": "74ca99e85dba", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f" - ] - } - }, - { - "id": "tk-linear-team-context.transport-rejection-no-message:select-metadata-item-settled", - "observation": { - "sender": ["b6a3835a95e0", "c88d134e7a42"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "bb26ae00041e", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "8640fb2add9b", - "17249df8377f", - "77a7eff4a3cc", - "db66582f88a9", - "a14f6c361136", - "74335ecb4cd2" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 487e8942865..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.linear-team-context-linear.teamstates-1.json +++ /dev/null @@ -1,915 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.linear-team-context", - "family": "tasks.linear-team-context", - "namedDeltas": [], - "values": { - "031c50459130": { - "name": "createTeamId", - "ordinal": 10, - "value": "team-1" - }, - "08ba0389f3cc": { - "name": "linear.teamStates#1", - "ordinal": 13, - "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 - } - } - }, - "0bbe7048713b": { - "name": "linear.teamStates#1", - "ordinal": 13, - "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 - } - } - }, - "2afc4b1311c1": { - "createTeamId": "team-1", - "states": [], - "statesLoading": false, - "teams": [ - { - "id": "team-1", - "key": "ENG", - "name": "Engineering", - "workspaceId": "linear-workspace" - } - ] - }, - "3508d5a4f814": { - "name": "linear.teamStates#1", - "ordinal": 13, - "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" - } - } - } - }, - "356f2cb9a0df": { - "name": "linearStatesLoading", - "ordinal": 17, - "value": false - }, - "37b06a0ef857": { - "name": "linear.teamStates#1", - "ordinal": 13, - "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" - } - } - } - }, - "38ed617d559f": { - "name": "linearTeams", - "ordinal": 9, - "value": [ - { - "id": "team-1", - "key": "ENG", - "name": "Engineering", - "workspaceId": "linear-workspace" - } - ] - }, - "3abc893d377b": { - "name": "mutatingStatus", - "ordinal": 3, - "value": false - }, - "4fcc46dfeb77": { - "name": "linear.listTeams#1", - "ordinal": 8, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\"}" - }, - "5dcdc7fd7492": { - "name": "linearSubIssueTitle", - "ordinal": 4, - "value": "" - }, - "74335ecb4cd2": { - "name": "linearStatesLoading", - "ordinal": 16, - "value": false - }, - "74505ce2789a": { - "name": "linearStates", - "ordinal": 5, - "value": [] - }, - "77a7eff4a3cc": { - "name": "linearStatesLoading", - "ordinal": 11, - "value": true - }, - "82b36eab5101": { - "name": "creatingTask", - "ordinal": 6, - "value": false - }, - "8bfe92d83df7": { - "name": "linear.teamStates#1", - "ordinal": 13, - "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 - } - } - } - }, - "9c2bebd630ca": { - "name": "linear.teamStates#1", - "ordinal": 13, - "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 - } - } - }, - "a14f6c361136": { - "name": "linearStates", - "ordinal": 15, - "value": [ - { - "color": "#000000", - "id": "state-1", - "name": "Todo", - "type": "unstarted" - } - ] - }, - "b5ba6f00c4fb": { - "name": "linear.teamStates#1", - "ordinal": 14, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.teamStates\",\"params\":{\"teamId\":\"team-1\",\"workspaceId\":\"linear-workspace\"}}" - }, - "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" - } - ] - }, - "bc9c421bce9d": { - "name": "linear.teamStates#1", - "ordinal": 13, - "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 - } - } - }, - "c88d134e7a42": { - "name": "linear.teamStates#1", - "ordinal": 13, - "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" - } - ] - } - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "cc5c41192644": { - "name": "linear.teamStates#1", - "ordinal": 13, - "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 - } - } - }, - "cd1bce5e6fae": { - "name": "linearStates", - "ordinal": 15, - "value": [] - }, - "db66582f88a9": { - "name": "linearStatesError", - "ordinal": 12, - "value": "" - }, - "e11f0649d40c": { - "name": "linear.teamStates#1", - "ordinal": 13, - "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 - } - } - } - }, - "ea8fa14b318f": { - "name": "linear.teamStates#1", - "ordinal": 13, - "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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ee01f277ffc4": { - "name": "linear.listTeams#1", - "ordinal": 7, - "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" - } - ] - } - } - }, - "ef290fdf0bf5": { - "name": "linearStatesError", - "ordinal": 16, - "value": "Couldn't load states. Reopen to try again." - } - }, - "recording": { - "scenario": "matrix-tasks.linear-team-context-linear.teamstates-1", - "checkpoints": [ - { - "id": "tk-linear-team-context.prelude:open-composer-settled", - "observation": { - "sender": ["ee01f277ffc4"], - "payloads": ["4fcc46dfeb77"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a" - }, - "state": "2afc4b1311c1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "38ed617d559f", - "031c50459130" - ] - } - }, - { - "id": "tk-linear-team-context.normal:select-metadata-item-settled", - "observation": { - "sender": ["ee01f277ffc4", "c88d134e7a42"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "b6bf81e9e237", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "38ed617d559f", - "031c50459130", - "77a7eff4a3cc", - "db66582f88a9", - "a14f6c361136", - "74335ecb4cd2" - ] - } - }, - { - "id": "tk-linear-team-context.result-absent:select-metadata-item-settled", - "observation": { - "sender": ["ee01f277ffc4", "cc5c41192644"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "2afc4b1311c1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "38ed617d559f", - "031c50459130", - "77a7eff4a3cc", - "db66582f88a9", - "cd1bce5e6fae", - "ef290fdf0bf5", - "356f2cb9a0df" - ] - } - }, - { - "id": "tk-linear-team-context.result-null:select-metadata-item-settled", - "observation": { - "sender": ["ee01f277ffc4", "3508d5a4f814"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "2afc4b1311c1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "38ed617d559f", - "031c50459130", - "77a7eff4a3cc", - "db66582f88a9", - "cd1bce5e6fae", - "ef290fdf0bf5", - "356f2cb9a0df" - ] - } - }, - { - "id": "tk-linear-team-context.inner-ok-missing:select-metadata-item-settled", - "observation": { - "sender": ["ee01f277ffc4", "37b06a0ef857"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "2afc4b1311c1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "38ed617d559f", - "031c50459130", - "77a7eff4a3cc", - "db66582f88a9", - "cd1bce5e6fae", - "ef290fdf0bf5", - "356f2cb9a0df" - ] - } - }, - { - "id": "tk-linear-team-context.inner-false-string-error:select-metadata-item-settled", - "observation": { - "sender": ["ee01f277ffc4", "8bfe92d83df7"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "2afc4b1311c1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "38ed617d559f", - "031c50459130", - "77a7eff4a3cc", - "db66582f88a9", - "cd1bce5e6fae", - "ef290fdf0bf5", - "356f2cb9a0df" - ] - } - }, - { - "id": "tk-linear-team-context.inner-false-object-error:select-metadata-item-settled", - "observation": { - "sender": ["ee01f277ffc4", "e11f0649d40c"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "2afc4b1311c1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "38ed617d559f", - "031c50459130", - "77a7eff4a3cc", - "db66582f88a9", - "cd1bce5e6fae", - "ef290fdf0bf5", - "356f2cb9a0df" - ] - } - }, - { - "id": "tk-linear-team-context.outer-refused:select-metadata-item-settled", - "observation": { - "sender": ["ee01f277ffc4", "0bbe7048713b"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "2afc4b1311c1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "38ed617d559f", - "031c50459130", - "77a7eff4a3cc", - "db66582f88a9", - "cd1bce5e6fae", - "ef290fdf0bf5", - "356f2cb9a0df" - ] - } - }, - { - "id": "tk-linear-team-context.outer-refused-no-message:select-metadata-item-settled", - "observation": { - "sender": ["ee01f277ffc4", "bc9c421bce9d"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "2afc4b1311c1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "38ed617d559f", - "031c50459130", - "77a7eff4a3cc", - "db66582f88a9", - "cd1bce5e6fae", - "ef290fdf0bf5", - "356f2cb9a0df" - ] - } - }, - { - "id": "tk-linear-team-context.method-not-found:select-metadata-item-settled", - "observation": { - "sender": ["ee01f277ffc4", "9c2bebd630ca"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "2afc4b1311c1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "38ed617d559f", - "031c50459130", - "77a7eff4a3cc", - "db66582f88a9", - "cd1bce5e6fae", - "ef290fdf0bf5", - "356f2cb9a0df" - ] - } - }, - { - "id": "tk-linear-team-context.transport-rejection:select-metadata-item-settled", - "observation": { - "sender": ["ee01f277ffc4", "08ba0389f3cc"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "2afc4b1311c1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "38ed617d559f", - "031c50459130", - "77a7eff4a3cc", - "db66582f88a9", - "cd1bce5e6fae", - "ef290fdf0bf5", - "356f2cb9a0df" - ] - } - }, - { - "id": "tk-linear-team-context.transport-rejection-no-message:select-metadata-item-settled", - "observation": { - "sender": ["ee01f277ffc4", "ea8fa14b318f"], - "payloads": ["4fcc46dfeb77", "b5ba6f00c4fb"], - "settlements": { - "mount": "eb79a9b3682a", - "open-composer-0": "eb79a9b3682a", - "select-metadata-item-1": "eb79a9b3682a" - }, - "state": "2afc4b1311c1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "3abc893d377b", - "5dcdc7fd7492", - "74505ce2789a", - "82b36eab5101", - "38ed617d559f", - "031c50459130", - "77a7eff4a3cc", - "db66582f88a9", - "cd1bce5e6fae", - "ef290fdf0bf5", - "356f2cb9a0df" - ] - } - } - ] - } -} 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 deleted file mode 100644 index e67998d4875..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-github.reposlug-1.json +++ /dev/null @@ -1,1220 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.paste-lookup", - "family": "tasks.paste-lookup", - "namedDeltas": [], - "values": { - "01ebbe1cc2d6": { - "name": "github.repoSlug#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "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-4", - "ok": false - } - } - }, - "0576563ad84a": { - "name": "github.repoSlug#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "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" - } - } - } - }, - "0875baed03d5": { - "name": "github.repoSlug#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "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 - } - } - } - }, - "088b54714e03": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [] - }, - "0e9d6525a582": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "displayName": "Repo", - "id": "repo-1", - "slug": { - "$rpc": "null" - } - } - }, - "15f59ed83486": { - "name": "github.repoSlug#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "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 - } - } - }, - "1ffa5b08cd27": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "268181c644a1": { - "name": "github.repoSlug#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "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 - } - } - }, - "2689e3903f7b": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "291b7f3e420b": { - "name": "github.repoSlug#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "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" - } - } - } - }, - "3aa88d01ece7": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [ - [ - "repo-1", - { - "$rpc": "null" - } - ], - [ - "repo-2", - { - "$rpc": "null" - } - ] - ], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "repo-slug": { - "$rpc": "null" - } - }, - "467d1db5ad39": { - "name": "github.workItem#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItem\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12}}" - }, - "4a91480c91b6": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "github.workItemByOwnerRepo" - }, - { - "name": "params", - "value": { - "number": 12, - "owner": "owner", - "ownerRepo": "repo", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - } - } - }, - "4f523a012de1": { - "name": "github.repoSlug#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "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-4", - "ok": false - } - } - }, - "53a164add69c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "64b4674b65a8": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemByOwnerRepo\",\"params\":{\"repo\":\"id:repo-1\",\"owner\":\"owner\",\"ownerRepo\":\"repo\",\"number\":12,\"type\":\"issue\"}}" - }, - "72a59aa8bee1": { - "name": "github.repoSlug#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "7c0f7e60ac46": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [ - [ - "repo-1", - { - "$rpc": "null" - } - ] - ], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "94d41597d82a": { - "name": "github.repoSlug#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "97bec1f98b89": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [ - [ - "repo-1", - { - "owner": "owner", - "repo": "repo" - } - ] - ], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "repo-slug": { - "displayName": "Repo", - "id": "repo-1", - "slug": { - "$rpc": "null" - } - } - }, - "ad8adb81a6c7": { - "name": "github.repoSlug#2", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-2" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "b97e5d2e7180": { - "name": "github.repoSlug#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "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-4", - "ok": false - } - } - }, - "c8c091106ead": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [] - }, - "d7c0ded5ee0f": { - "name": "github.repoSlug#2", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-2\"}}" - }, - "db48adb41100": { - "name": "github.repoSlug#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "owner": "owner", - "repo": "repo" - } - } - } - }, - "ec92741f4348": { - "name": "github.repoSlug#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "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 - } - } - } - }, - "ee20a1dc39e7": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "null" - } - }, - "f4d2080c6e99": { - "name": "gitlab.workItemByPath#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.workItemByPath\",\"params\":{\"repo\":\"id:repo-1\",\"host\":\"gitlab.com\",\"path\":\"group/project\",\"iid\":7,\"type\":\"issue\"}}" - }, - "f849aeca5336": { - "name": "gitlab.workItemByPath#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "gitlab.workItemByPath" - }, - { - "name": "params", - "value": { - "host": "gitlab.com", - "iid": 7, - "path": "group/project", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - } - } - }, - "fa6ca8899e53": { - "name": "github.workItem#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.workItem" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.paste-lookup-github.reposlug-1", - "checkpoints": [ - { - "id": "tw-paste-lookup-resolved.prelude:by-number", - "observation": { - "sender": ["fa6ca8899e53"], - "payloads": ["467d1db5ad39"], - "settlements": { - "by-number": "53a164add69c" - }, - "state": "088b54714e03", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.prelude:by-slug", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c" - }, - "state": "c8c091106ead", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.prelude:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b" - }, - "state": "1ffa5b08cd27", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.normal:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "97bec1f98b89", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-absent:repo-slug-matched", - "observation": { - "sender": [ - "fa6ca8899e53", - "4a91480c91b6", - "f849aeca5336", - "94d41597d82a", - "ad8adb81a6c7" - ], - "payloads": [ - "467d1db5ad39", - "64b4674b65a8", - "f4d2080c6e99", - "72a59aa8bee1", - "d7c0ded5ee0f" - ], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "9270aeb7d9c6" - }, - "state": "7c0f7e60ac46", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-null:repo-slug-matched", - "observation": { - "sender": [ - "fa6ca8899e53", - "4a91480c91b6", - "f849aeca5336", - "0576563ad84a", - "ad8adb81a6c7" - ], - "payloads": [ - "467d1db5ad39", - "64b4674b65a8", - "f4d2080c6e99", - "72a59aa8bee1", - "d7c0ded5ee0f" - ], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "9270aeb7d9c6" - }, - "state": "7c0f7e60ac46", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-ok-missing:repo-slug-matched", - "observation": { - "sender": [ - "fa6ca8899e53", - "4a91480c91b6", - "f849aeca5336", - "291b7f3e420b", - "ad8adb81a6c7" - ], - "payloads": [ - "467d1db5ad39", - "64b4674b65a8", - "f4d2080c6e99", - "72a59aa8bee1", - "d7c0ded5ee0f" - ], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "9270aeb7d9c6" - }, - "state": "7c0f7e60ac46", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-string-error:repo-slug-matched", - "observation": { - "sender": [ - "fa6ca8899e53", - "4a91480c91b6", - "f849aeca5336", - "0875baed03d5", - "ad8adb81a6c7" - ], - "payloads": [ - "467d1db5ad39", - "64b4674b65a8", - "f4d2080c6e99", - "72a59aa8bee1", - "d7c0ded5ee0f" - ], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "9270aeb7d9c6" - }, - "state": "7c0f7e60ac46", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-object-error:repo-slug-matched", - "observation": { - "sender": [ - "fa6ca8899e53", - "4a91480c91b6", - "f849aeca5336", - "ec92741f4348", - "ad8adb81a6c7" - ], - "payloads": [ - "467d1db5ad39", - "64b4674b65a8", - "f4d2080c6e99", - "72a59aa8bee1", - "d7c0ded5ee0f" - ], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "9270aeb7d9c6" - }, - "state": "7c0f7e60ac46", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused:repo-slug-matched", - "observation": { - "sender": [ - "fa6ca8899e53", - "4a91480c91b6", - "f849aeca5336", - "4f523a012de1", - "ad8adb81a6c7" - ], - "payloads": [ - "467d1db5ad39", - "64b4674b65a8", - "f4d2080c6e99", - "72a59aa8bee1", - "d7c0ded5ee0f" - ], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "9270aeb7d9c6" - }, - "state": "7c0f7e60ac46", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused-no-message:repo-slug-matched", - "observation": { - "sender": [ - "fa6ca8899e53", - "4a91480c91b6", - "f849aeca5336", - "01ebbe1cc2d6", - "ad8adb81a6c7" - ], - "payloads": [ - "467d1db5ad39", - "64b4674b65a8", - "f4d2080c6e99", - "72a59aa8bee1", - "d7c0ded5ee0f" - ], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "9270aeb7d9c6" - }, - "state": "7c0f7e60ac46", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.method-not-found:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "f849aeca5336", "b97e5d2e7180"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "ee20a1dc39e7" - }, - "state": "3aa88d01ece7", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection:repo-slug-matched", - "observation": { - "sender": [ - "fa6ca8899e53", - "4a91480c91b6", - "f849aeca5336", - "15f59ed83486", - "ad8adb81a6c7" - ], - "payloads": [ - "467d1db5ad39", - "64b4674b65a8", - "f4d2080c6e99", - "72a59aa8bee1", - "d7c0ded5ee0f" - ], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "9270aeb7d9c6" - }, - "state": "7c0f7e60ac46", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection-no-message:repo-slug-matched", - "observation": { - "sender": [ - "fa6ca8899e53", - "4a91480c91b6", - "f849aeca5336", - "268181c644a1", - "ad8adb81a6c7" - ], - "payloads": [ - "467d1db5ad39", - "64b4674b65a8", - "f4d2080c6e99", - "72a59aa8bee1", - "d7c0ded5ee0f" - ], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "9270aeb7d9c6" - }, - "state": "7c0f7e60ac46", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index bd24ac2dbc7..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-github.workitem-1.json +++ /dev/null @@ -1,1631 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.paste-lookup", - "family": "tasks.paste-lookup", - "namedDeltas": [], - "values": { - "088b54714e03": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [] - }, - "0e9d6525a582": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "displayName": "Repo", - "id": "repo-1", - "slug": { - "$rpc": "null" - } - } - }, - "1ffa5b08cd27": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "2689e3903f7b": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "32df040f56fa": { - "by-number": { - "$rpc": "null" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [] - }, - "3687ec0e447d": { - "name": "github.workItem#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.workItem" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "413b68da0556": { - "by-number": { - "$rpc": "null" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "44db4346f965": { - "name": "github.workItem#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.workItem" - }, - { - "name": "params", - "value": { - "number": 12, - "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 - } - } - } - }, - "467d1db5ad39": { - "name": "github.workItem#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItem\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12}}" - }, - "4a91480c91b6": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "github.workItemByOwnerRepo" - }, - { - "name": "params", - "value": { - "number": 12, - "owner": "owner", - "ownerRepo": "repo", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - } - } - }, - "4f2d43a2cc6c": { - "name": "github.workItem#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.workItem" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "53a164add69c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "54dbc839f20c": { - "name": "github.workItem#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.workItem" - }, - { - "name": "params", - "value": { - "number": 12, - "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" - } - } - } - }, - "5dda57fc20c6": { - "name": "github.workItem#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.workItem" - }, - { - "name": "params", - "value": { - "number": 12, - "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" - } - } - } - }, - "62a0a6502c89": { - "name": "github.workItem#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.workItem" - }, - { - "name": "params", - "value": { - "number": 12, - "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 - } - } - }, - "64b4674b65a8": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemByOwnerRepo\",\"params\":{\"repo\":\"id:repo-1\",\"owner\":\"owner\",\"ownerRepo\":\"repo\",\"number\":12,\"type\":\"issue\"}}" - }, - "6c9c41d91800": { - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "6f0019ab8190": { - "name": "github.workItem#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.workItem" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "72a59aa8bee1": { - "name": "github.repoSlug#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "7df7e76a816d": { - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [] - }, - "7e1c5c1598dd": { - "by-number": { - "$rpc": "null" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [ - [ - "repo-1", - { - "owner": "owner", - "repo": "repo" - } - ] - ], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "repo-slug": { - "displayName": "Repo", - "id": "repo-1", - "slug": { - "$rpc": "null" - } - } - }, - "7e9dc68e1613": { - "name": "github.workItem#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.workItem" - }, - { - "name": "params", - "value": { - "number": 12, - "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 - } - } - }, - "8aa944d2f7a1": { - "cache": [] - }, - "97bec1f98b89": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [ - [ - "repo-1", - { - "owner": "owner", - "repo": "repo" - } - ] - ], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "repo-slug": { - "displayName": "Repo", - "id": "repo-1", - "slug": { - "$rpc": "null" - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aa5e188729d1": { - "name": "github.workItem#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.workItem" - }, - { - "name": "params", - "value": { - "number": 12, - "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 - } - } - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "c16ca7965934": { - "name": "github.workItem#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.workItem" - }, - { - "name": "params", - "value": { - "number": 12, - "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 - } - } - }, - "c392cc9aa63a": { - "by-number": { - "$rpc": "null" - }, - "cache": [] - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "c8c091106ead": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [] - }, - "cbda553ec0a3": { - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [ - [ - "repo-1", - { - "owner": "owner", - "repo": "repo" - } - ] - ], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "repo-slug": { - "displayName": "Repo", - "id": "repo-1", - "slug": { - "$rpc": "null" - } - } - }, - "db48adb41100": { - "name": "github.repoSlug#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "owner": "owner", - "repo": "repo" - } - } - } - }, - "e8409d747ecd": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (github.workItem)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "ee20a1dc39e7": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "null" - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "f4d2080c6e99": { - "name": "gitlab.workItemByPath#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.workItemByPath\",\"params\":{\"repo\":\"id:repo-1\",\"host\":\"gitlab.com\",\"path\":\"group/project\",\"iid\":7,\"type\":\"issue\"}}" - }, - "f849aeca5336": { - "name": "gitlab.workItemByPath#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "gitlab.workItemByPath" - }, - { - "name": "params", - "value": { - "host": "gitlab.com", - "iid": 7, - "path": "group/project", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - } - } - }, - "fa6ca8899e53": { - "name": "github.workItem#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.workItem" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.paste-lookup-github.workitem-1", - "checkpoints": [ - { - "id": "tw-paste-lookup-resolved.normal:by-number", - "observation": { - "sender": ["fa6ca8899e53"], - "payloads": ["467d1db5ad39"], - "settlements": { - "by-number": "53a164add69c" - }, - "state": "088b54714e03", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.normal:by-slug", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c" - }, - "state": "c8c091106ead", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.normal:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b" - }, - "state": "1ffa5b08cd27", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.normal:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "97bec1f98b89", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-absent:by-number", - "observation": { - "sender": ["4f2d43a2cc6c"], - "payloads": ["467d1db5ad39"], - "settlements": { - "by-number": "e8409d747ecd" - }, - "state": "8aa944d2f7a1", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-absent:by-slug", - "observation": { - "sender": ["4f2d43a2cc6c", "4a91480c91b6"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "e8409d747ecd", - "by-slug": "53a164add69c" - }, - "state": "7df7e76a816d", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-absent:gitlab-path", - "observation": { - "sender": ["4f2d43a2cc6c", "4a91480c91b6", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "e8409d747ecd", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b" - }, - "state": "6c9c41d91800", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-absent:repo-slug-matched", - "observation": { - "sender": ["4f2d43a2cc6c", "4a91480c91b6", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "e8409d747ecd", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "cbda553ec0a3", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-null:by-number", - "observation": { - "sender": ["5dda57fc20c6"], - "payloads": ["467d1db5ad39"], - "settlements": { - "by-number": "ee20a1dc39e7" - }, - "state": "c392cc9aa63a", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-null:by-slug", - "observation": { - "sender": ["5dda57fc20c6", "4a91480c91b6"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "ee20a1dc39e7", - "by-slug": "53a164add69c" - }, - "state": "32df040f56fa", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-null:gitlab-path", - "observation": { - "sender": ["5dda57fc20c6", "4a91480c91b6", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "ee20a1dc39e7", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b" - }, - "state": "413b68da0556", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-null:repo-slug-matched", - "observation": { - "sender": ["5dda57fc20c6", "4a91480c91b6", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "ee20a1dc39e7", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "7e1c5c1598dd", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-ok-missing:by-number", - "observation": { - "sender": ["54dbc839f20c"], - "payloads": ["467d1db5ad39"], - "settlements": { - "by-number": "e8409d747ecd" - }, - "state": "8aa944d2f7a1", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-ok-missing:by-slug", - "observation": { - "sender": ["54dbc839f20c", "4a91480c91b6"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "e8409d747ecd", - "by-slug": "53a164add69c" - }, - "state": "7df7e76a816d", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-ok-missing:gitlab-path", - "observation": { - "sender": ["54dbc839f20c", "4a91480c91b6", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "e8409d747ecd", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b" - }, - "state": "6c9c41d91800", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-ok-missing:repo-slug-matched", - "observation": { - "sender": ["54dbc839f20c", "4a91480c91b6", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "e8409d747ecd", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "cbda553ec0a3", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-string-error:by-number", - "observation": { - "sender": ["aa5e188729d1"], - "payloads": ["467d1db5ad39"], - "settlements": { - "by-number": "e8409d747ecd" - }, - "state": "8aa944d2f7a1", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-string-error:by-slug", - "observation": { - "sender": ["aa5e188729d1", "4a91480c91b6"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "e8409d747ecd", - "by-slug": "53a164add69c" - }, - "state": "7df7e76a816d", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-string-error:gitlab-path", - "observation": { - "sender": ["aa5e188729d1", "4a91480c91b6", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "e8409d747ecd", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b" - }, - "state": "6c9c41d91800", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-string-error:repo-slug-matched", - "observation": { - "sender": ["aa5e188729d1", "4a91480c91b6", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "e8409d747ecd", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "cbda553ec0a3", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-object-error:by-number", - "observation": { - "sender": ["44db4346f965"], - "payloads": ["467d1db5ad39"], - "settlements": { - "by-number": "e8409d747ecd" - }, - "state": "8aa944d2f7a1", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-object-error:by-slug", - "observation": { - "sender": ["44db4346f965", "4a91480c91b6"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "e8409d747ecd", - "by-slug": "53a164add69c" - }, - "state": "7df7e76a816d", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-object-error:gitlab-path", - "observation": { - "sender": ["44db4346f965", "4a91480c91b6", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "e8409d747ecd", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b" - }, - "state": "6c9c41d91800", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-object-error:repo-slug-matched", - "observation": { - "sender": ["44db4346f965", "4a91480c91b6", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "e8409d747ecd", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "cbda553ec0a3", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused:by-number", - "observation": { - "sender": ["c16ca7965934"], - "payloads": ["467d1db5ad39"], - "settlements": { - "by-number": "32a7c0ae7918" - }, - "state": "8aa944d2f7a1", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused:by-slug", - "observation": { - "sender": ["c16ca7965934", "4a91480c91b6"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "32a7c0ae7918", - "by-slug": "53a164add69c" - }, - "state": "7df7e76a816d", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused:gitlab-path", - "observation": { - "sender": ["c16ca7965934", "4a91480c91b6", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "32a7c0ae7918", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b" - }, - "state": "6c9c41d91800", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused:repo-slug-matched", - "observation": { - "sender": ["c16ca7965934", "4a91480c91b6", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "32a7c0ae7918", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "cbda553ec0a3", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused-no-message:by-number", - "observation": { - "sender": ["7e9dc68e1613"], - "payloads": ["467d1db5ad39"], - "settlements": { - "by-number": "f3b516f62081" - }, - "state": "8aa944d2f7a1", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused-no-message:by-slug", - "observation": { - "sender": ["7e9dc68e1613", "4a91480c91b6"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "f3b516f62081", - "by-slug": "53a164add69c" - }, - "state": "7df7e76a816d", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused-no-message:gitlab-path", - "observation": { - "sender": ["7e9dc68e1613", "4a91480c91b6", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "f3b516f62081", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b" - }, - "state": "6c9c41d91800", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused-no-message:repo-slug-matched", - "observation": { - "sender": ["7e9dc68e1613", "4a91480c91b6", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "f3b516f62081", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "cbda553ec0a3", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.method-not-found:by-number", - "observation": { - "sender": ["62a0a6502c89"], - "payloads": ["467d1db5ad39"], - "settlements": { - "by-number": "b948e8307e81" - }, - "state": "8aa944d2f7a1", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.method-not-found:by-slug", - "observation": { - "sender": ["62a0a6502c89", "4a91480c91b6"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "b948e8307e81", - "by-slug": "53a164add69c" - }, - "state": "7df7e76a816d", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.method-not-found:gitlab-path", - "observation": { - "sender": ["62a0a6502c89", "4a91480c91b6", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "b948e8307e81", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b" - }, - "state": "6c9c41d91800", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.method-not-found:repo-slug-matched", - "observation": { - "sender": ["62a0a6502c89", "4a91480c91b6", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "b948e8307e81", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "cbda553ec0a3", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection:by-number", - "observation": { - "sender": ["3687ec0e447d"], - "payloads": ["467d1db5ad39"], - "settlements": { - "by-number": "a947768bc0ed" - }, - "state": "8aa944d2f7a1", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection:by-slug", - "observation": { - "sender": ["3687ec0e447d", "4a91480c91b6"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "a947768bc0ed", - "by-slug": "53a164add69c" - }, - "state": "7df7e76a816d", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection:gitlab-path", - "observation": { - "sender": ["3687ec0e447d", "4a91480c91b6", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "a947768bc0ed", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b" - }, - "state": "6c9c41d91800", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection:repo-slug-matched", - "observation": { - "sender": ["3687ec0e447d", "4a91480c91b6", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "a947768bc0ed", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "cbda553ec0a3", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection-no-message:by-number", - "observation": { - "sender": ["6f0019ab8190"], - "payloads": ["467d1db5ad39"], - "settlements": { - "by-number": "c7584e82c72f" - }, - "state": "8aa944d2f7a1", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection-no-message:by-slug", - "observation": { - "sender": ["6f0019ab8190", "4a91480c91b6"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "c7584e82c72f", - "by-slug": "53a164add69c" - }, - "state": "7df7e76a816d", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection-no-message:gitlab-path", - "observation": { - "sender": ["6f0019ab8190", "4a91480c91b6", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "c7584e82c72f", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b" - }, - "state": "6c9c41d91800", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection-no-message:repo-slug-matched", - "observation": { - "sender": ["6f0019ab8190", "4a91480c91b6", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "c7584e82c72f", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "cbda553ec0a3", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 3e436562f5c..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-github.workitembyownerrepo-1.json +++ /dev/null @@ -1,1515 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.paste-lookup", - "family": "tasks.paste-lookup", - "namedDeltas": [], - "values": { - "015cb9515a65": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [ - [ - "repo-1", - { - "owner": "owner", - "repo": "repo" - } - ] - ], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "repo-slug": { - "displayName": "Repo", - "id": "repo-1", - "slug": { - "$rpc": "null" - } - } - }, - "01aab95a62ef": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "github.workItemByOwnerRepo" - }, - { - "name": "params", - "value": { - "number": 12, - "owner": "owner", - "ownerRepo": "repo", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "088b54714e03": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [] - }, - "0e9d6525a582": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "displayName": "Repo", - "id": "repo-1", - "slug": { - "$rpc": "null" - } - } - }, - "1ffa5b08cd27": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "2689e3903f7b": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "26ed2adcbac5": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "github.workItemByOwnerRepo" - }, - { - "name": "params", - "value": { - "number": 12, - "owner": "owner", - "ownerRepo": "repo", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "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 - } - }, - "40b412aacafa": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "467d1db5ad39": { - "name": "github.workItem#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItem\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12}}" - }, - "4a91480c91b6": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "github.workItemByOwnerRepo" - }, - { - "name": "params", - "value": { - "number": 12, - "owner": "owner", - "ownerRepo": "repo", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - } - } - }, - "5286143b0092": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "github.workItemByOwnerRepo" - }, - { - "name": "params", - "value": { - "number": 12, - "owner": "owner", - "ownerRepo": "repo", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "53a164add69c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "5acbe401b128": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "github.workItemByOwnerRepo" - }, - { - "name": "params", - "value": { - "number": 12, - "owner": "owner", - "ownerRepo": "repo", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "64b4674b65a8": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemByOwnerRepo\",\"params\":{\"repo\":\"id:repo-1\",\"owner\":\"owner\",\"ownerRepo\":\"repo\",\"number\":12,\"type\":\"issue\"}}" - }, - "699a82c0cd35": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "$rpc": "null" - }, - "cache": [ - [ - "repo-1", - { - "owner": "owner", - "repo": "repo" - } - ] - ], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "repo-slug": { - "displayName": "Repo", - "id": "repo-1", - "slug": { - "$rpc": "null" - } - } - }, - "72a59aa8bee1": { - "name": "github.repoSlug#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "8fd2cb38b7a6": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "$rpc": "null" - }, - "cache": [] - }, - "92476b76612b": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "github.workItemByOwnerRepo" - }, - { - "name": "params", - "value": { - "number": 12, - "owner": "owner", - "ownerRepo": "repo", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "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 - } - } - }, - "95048dc332cc": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "github.workItemByOwnerRepo" - }, - { - "name": "params", - "value": { - "number": 12, - "owner": "owner", - "ownerRepo": "repo", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "96b9135240ec": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "github.workItemByOwnerRepo" - }, - { - "name": "params", - "value": { - "number": 12, - "owner": "owner", - "ownerRepo": "repo", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "97bec1f98b89": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [ - [ - "repo-1", - { - "owner": "owner", - "repo": "repo" - } - ] - ], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "repo-slug": { - "displayName": "Repo", - "id": "repo-1", - "slug": { - "$rpc": "null" - } - } - }, - "9881b32fa23e": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "$rpc": "null" - }, - "cache": [], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "99eb0aa05631": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (github.workItemByOwnerRepo)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "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 - } - }, - "bfef354a374c": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "github.workItemByOwnerRepo" - }, - { - "name": "params", - "value": { - "number": 12, - "owner": "owner", - "ownerRepo": "repo", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "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 - } - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "c8c091106ead": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [] - }, - "db48adb41100": { - "name": "github.repoSlug#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "owner": "owner", - "repo": "repo" - } - } - } - }, - "ecc8c0927251": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "github.workItemByOwnerRepo" - }, - { - "name": "params", - "value": { - "number": 12, - "owner": "owner", - "ownerRepo": "repo", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-2", - "ok": false - } - } - }, - "ee20a1dc39e7": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "null" - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "f4d2080c6e99": { - "name": "gitlab.workItemByPath#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.workItemByPath\",\"params\":{\"repo\":\"id:repo-1\",\"host\":\"gitlab.com\",\"path\":\"group/project\",\"iid\":7,\"type\":\"issue\"}}" - }, - "f53b2d16511c": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "github.workItemByOwnerRepo" - }, - { - "name": "params", - "value": { - "number": 12, - "owner": "owner", - "ownerRepo": "repo", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "f849aeca5336": { - "name": "gitlab.workItemByPath#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "gitlab.workItemByPath" - }, - { - "name": "params", - "value": { - "host": "gitlab.com", - "iid": 7, - "path": "group/project", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - } - } - }, - "fa6ca8899e53": { - "name": "github.workItem#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.workItem" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.paste-lookup-github.workitembyownerrepo-1", - "checkpoints": [ - { - "id": "tw-paste-lookup-resolved.prelude:by-number", - "observation": { - "sender": ["fa6ca8899e53"], - "payloads": ["467d1db5ad39"], - "settlements": { - "by-number": "53a164add69c" - }, - "state": "088b54714e03", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.normal:by-slug", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c" - }, - "state": "c8c091106ead", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.normal:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b" - }, - "state": "1ffa5b08cd27", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.normal:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "97bec1f98b89", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-absent:by-slug", - "observation": { - "sender": ["fa6ca8899e53", "26ed2adcbac5"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "99eb0aa05631" - }, - "state": "088b54714e03", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-absent:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "26ed2adcbac5", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "99eb0aa05631", - "gitlab-path": "2689e3903f7b" - }, - "state": "40b412aacafa", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-absent:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "26ed2adcbac5", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "99eb0aa05631", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "015cb9515a65", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-null:by-slug", - "observation": { - "sender": ["fa6ca8899e53", "f53b2d16511c"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "ee20a1dc39e7" - }, - "state": "8fd2cb38b7a6", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-null:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "f53b2d16511c", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "ee20a1dc39e7", - "gitlab-path": "2689e3903f7b" - }, - "state": "9881b32fa23e", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-null:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "f53b2d16511c", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "ee20a1dc39e7", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "699a82c0cd35", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-ok-missing:by-slug", - "observation": { - "sender": ["fa6ca8899e53", "95048dc332cc"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "99eb0aa05631" - }, - "state": "088b54714e03", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-ok-missing:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "95048dc332cc", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "99eb0aa05631", - "gitlab-path": "2689e3903f7b" - }, - "state": "40b412aacafa", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-ok-missing:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "95048dc332cc", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "99eb0aa05631", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "015cb9515a65", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-string-error:by-slug", - "observation": { - "sender": ["fa6ca8899e53", "96b9135240ec"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "99eb0aa05631" - }, - "state": "088b54714e03", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-string-error:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "96b9135240ec", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "99eb0aa05631", - "gitlab-path": "2689e3903f7b" - }, - "state": "40b412aacafa", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-string-error:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "96b9135240ec", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "99eb0aa05631", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "015cb9515a65", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-object-error:by-slug", - "observation": { - "sender": ["fa6ca8899e53", "bfef354a374c"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "99eb0aa05631" - }, - "state": "088b54714e03", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-object-error:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "bfef354a374c", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "99eb0aa05631", - "gitlab-path": "2689e3903f7b" - }, - "state": "40b412aacafa", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-object-error:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "bfef354a374c", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "99eb0aa05631", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "015cb9515a65", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused:by-slug", - "observation": { - "sender": ["fa6ca8899e53", "ecc8c0927251"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "32a7c0ae7918" - }, - "state": "088b54714e03", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "ecc8c0927251", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "32a7c0ae7918", - "gitlab-path": "2689e3903f7b" - }, - "state": "40b412aacafa", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "ecc8c0927251", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "32a7c0ae7918", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "015cb9515a65", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused-no-message:by-slug", - "observation": { - "sender": ["fa6ca8899e53", "5acbe401b128"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "f3b516f62081" - }, - "state": "088b54714e03", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused-no-message:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "5acbe401b128", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "f3b516f62081", - "gitlab-path": "2689e3903f7b" - }, - "state": "40b412aacafa", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused-no-message:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "5acbe401b128", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "f3b516f62081", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "015cb9515a65", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.method-not-found:by-slug", - "observation": { - "sender": ["fa6ca8899e53", "92476b76612b"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "b948e8307e81" - }, - "state": "088b54714e03", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.method-not-found:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "92476b76612b", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "b948e8307e81", - "gitlab-path": "2689e3903f7b" - }, - "state": "40b412aacafa", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.method-not-found:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "92476b76612b", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "b948e8307e81", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "015cb9515a65", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection:by-slug", - "observation": { - "sender": ["fa6ca8899e53", "01aab95a62ef"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "a947768bc0ed" - }, - "state": "088b54714e03", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "01aab95a62ef", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "a947768bc0ed", - "gitlab-path": "2689e3903f7b" - }, - "state": "40b412aacafa", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "01aab95a62ef", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "a947768bc0ed", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "015cb9515a65", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection-no-message:by-slug", - "observation": { - "sender": ["fa6ca8899e53", "5286143b0092"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "c7584e82c72f" - }, - "state": "088b54714e03", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection-no-message:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "5286143b0092", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "c7584e82c72f", - "gitlab-path": "2689e3903f7b" - }, - "state": "40b412aacafa", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection-no-message:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "5286143b0092", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "c7584e82c72f", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "015cb9515a65", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 2c3e66f71e6..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.paste-lookup-gitlab.workitembypath-1.json +++ /dev/null @@ -1,1334 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.paste-lookup", - "family": "tasks.paste-lookup", - "namedDeltas": [], - "values": { - "0674893a13b7": { - "name": "gitlab.workItemByPath#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "gitlab.workItemByPath" - }, - { - "name": "params", - "value": { - "host": "gitlab.com", - "iid": 7, - "path": "group/project", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "088b54714e03": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [] - }, - "0e476f0360cd": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [ - [ - "repo-1", - { - "owner": "owner", - "repo": "repo" - } - ] - ], - "repo-slug": { - "displayName": "Repo", - "id": "repo-1", - "slug": { - "$rpc": "null" - } - } - }, - "0e9d6525a582": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "displayName": "Repo", - "id": "repo-1", - "slug": { - "$rpc": "null" - } - } - }, - "1ffa5b08cd27": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "2689e3903f7b": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "29f972110a70": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [ - [ - "repo-1", - { - "owner": "owner", - "repo": "repo" - } - ] - ], - "gitlab-path": { - "$rpc": "null" - }, - "repo-slug": { - "displayName": "Repo", - "id": "repo-1", - "slug": { - "$rpc": "null" - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "467d1db5ad39": { - "name": "github.workItem#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItem\",\"params\":{\"repo\":\"id:repo-1\",\"number\":12}}" - }, - "4a0afb59e862": { - "name": "gitlab.workItemByPath#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "gitlab.workItemByPath" - }, - { - "name": "params", - "value": { - "host": "gitlab.com", - "iid": 7, - "path": "group/project", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true - } - } - }, - "4a91480c91b6": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "github.workItemByOwnerRepo" - }, - { - "name": "params", - "value": { - "number": 12, - "owner": "owner", - "ownerRepo": "repo", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - } - } - }, - "53a164add69c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - }, - "64b4674b65a8": { - "name": "github.workItemByOwnerRepo#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.workItemByOwnerRepo\",\"params\":{\"repo\":\"id:repo-1\",\"owner\":\"owner\",\"ownerRepo\":\"repo\",\"number\":12,\"type\":\"issue\"}}" - }, - "72a59aa8bee1": { - "name": "github.repoSlug#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "78414560c302": { - "name": "gitlab.workItemByPath#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "gitlab.workItemByPath" - }, - { - "name": "params", - "value": { - "host": "gitlab.com", - "iid": 7, - "path": "group/project", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "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 - } - } - }, - "88ab39f43498": { - "name": "gitlab.workItemByPath#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "gitlab.workItemByPath" - }, - { - "name": "params", - "value": { - "host": "gitlab.com", - "iid": 7, - "path": "group/project", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "973ee70fb70a": { - "name": "gitlab.workItemByPath#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "gitlab.workItemByPath" - }, - { - "name": "params", - "value": { - "host": "gitlab.com", - "iid": 7, - "path": "group/project", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "97bec1f98b89": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [ - [ - "repo-1", - { - "owner": "owner", - "repo": "repo" - } - ] - ], - "gitlab-path": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "repoId": "repo-1", - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "repo-slug": { - "displayName": "Repo", - "id": "repo-1", - "slug": { - "$rpc": "null" - } - } - }, - "9e4a40ced7f3": { - "name": "gitlab.workItemByPath#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "gitlab.workItemByPath" - }, - { - "name": "params", - "value": { - "host": "gitlab.com", - "iid": 7, - "path": "group/project", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-3", - "ok": false - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aac0757d4522": { - "name": "gitlab.workItemByPath#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "gitlab.workItemByPath" - }, - { - "name": "params", - "value": { - "host": "gitlab.com", - "iid": 7, - "path": "group/project", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "b57c80c16379": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (gitlab.workItemByPath)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "b962c6108c5e": { - "name": "gitlab.workItemByPath#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "gitlab.workItemByPath" - }, - { - "name": "params", - "value": { - "host": "gitlab.com", - "iid": 7, - "path": "group/project", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "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 - } - }, - "c8c091106ead": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [] - }, - "d1aaaea74280": { - "name": "gitlab.workItemByPath#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "gitlab.workItemByPath" - }, - { - "name": "params", - "value": { - "host": "gitlab.com", - "iid": 7, - "path": "group/project", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "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 - } - } - } - }, - "db48adb41100": { - "name": "github.repoSlug#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "github.repoSlug" - }, - { - "name": "params", - "value": { - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "owner": "owner", - "repo": "repo" - } - } - } - }, - "ee20a1dc39e7": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "null" - } - }, - "efa16d03362c": { - "name": "gitlab.workItemByPath#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "gitlab.workItemByPath" - }, - { - "name": "params", - "value": { - "host": "gitlab.com", - "iid": 7, - "path": "group/project", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "f4d2080c6e99": { - "name": "gitlab.workItemByPath#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.workItemByPath\",\"params\":{\"repo\":\"id:repo-1\",\"host\":\"gitlab.com\",\"path\":\"group/project\",\"iid\":7,\"type\":\"issue\"}}" - }, - "f849aeca5336": { - "name": "gitlab.workItemByPath#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "gitlab.workItemByPath" - }, - { - "name": "params", - "value": { - "host": "gitlab.com", - "iid": 7, - "path": "group/project", - "repo": "id:repo-1", - "type": "issue" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-3", - "ok": true, - "result": { - "author": { - "$rpc": "null" - }, - "id": "issue:7", - "labels": [], - "number": 7, - "state": "opened", - "title": "seven", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - } - } - }, - "f9647eec28d3": { - "by-number": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "by-slug": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "repoId": "repo-1", - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - }, - "cache": [], - "gitlab-path": { - "$rpc": "null" - } - }, - "fa6ca8899e53": { - "name": "github.workItem#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.workItem" - }, - { - "name": "params", - "value": { - "number": 12, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "author": { - "$rpc": "null" - }, - "id": "issue:12", - "labels": [], - "number": 12, - "state": "open", - "title": "twelve", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.paste-lookup-gitlab.workitembypath-1", - "checkpoints": [ - { - "id": "tw-paste-lookup-resolved.prelude:by-number", - "observation": { - "sender": ["fa6ca8899e53"], - "payloads": ["467d1db5ad39"], - "settlements": { - "by-number": "53a164add69c" - }, - "state": "088b54714e03", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.prelude:by-slug", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6"], - "payloads": ["467d1db5ad39", "64b4674b65a8"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c" - }, - "state": "c8c091106ead", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.normal:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "f849aeca5336"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b" - }, - "state": "1ffa5b08cd27", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.normal:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "f849aeca5336", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "2689e3903f7b", - "repo-slug": "0e9d6525a582" - }, - "state": "97bec1f98b89", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-absent:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "4a0afb59e862"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "b57c80c16379" - }, - "state": "c8c091106ead", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-absent:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "4a0afb59e862", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "b57c80c16379", - "repo-slug": "0e9d6525a582" - }, - "state": "0e476f0360cd", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-null:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "efa16d03362c"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "ee20a1dc39e7" - }, - "state": "f9647eec28d3", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.result-null:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "efa16d03362c", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "ee20a1dc39e7", - "repo-slug": "0e9d6525a582" - }, - "state": "29f972110a70", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-ok-missing:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "0674893a13b7"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "b57c80c16379" - }, - "state": "c8c091106ead", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-ok-missing:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "0674893a13b7", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "b57c80c16379", - "repo-slug": "0e9d6525a582" - }, - "state": "0e476f0360cd", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-string-error:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "aac0757d4522"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "b57c80c16379" - }, - "state": "c8c091106ead", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-string-error:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "aac0757d4522", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "b57c80c16379", - "repo-slug": "0e9d6525a582" - }, - "state": "0e476f0360cd", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-object-error:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "d1aaaea74280"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "b57c80c16379" - }, - "state": "c8c091106ead", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.inner-false-object-error:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "d1aaaea74280", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "b57c80c16379", - "repo-slug": "0e9d6525a582" - }, - "state": "0e476f0360cd", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "9e4a40ced7f3"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "32a7c0ae7918" - }, - "state": "c8c091106ead", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "9e4a40ced7f3", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "32a7c0ae7918", - "repo-slug": "0e9d6525a582" - }, - "state": "0e476f0360cd", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused-no-message:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "b962c6108c5e"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "f3b516f62081" - }, - "state": "c8c091106ead", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.outer-refused-no-message:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "b962c6108c5e", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "f3b516f62081", - "repo-slug": "0e9d6525a582" - }, - "state": "0e476f0360cd", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.method-not-found:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "78414560c302"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "b948e8307e81" - }, - "state": "c8c091106ead", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.method-not-found:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "78414560c302", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "b948e8307e81", - "repo-slug": "0e9d6525a582" - }, - "state": "0e476f0360cd", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "973ee70fb70a"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "a947768bc0ed" - }, - "state": "c8c091106ead", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "973ee70fb70a", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "a947768bc0ed", - "repo-slug": "0e9d6525a582" - }, - "state": "0e476f0360cd", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection-no-message:gitlab-path", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "88ab39f43498"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "c7584e82c72f" - }, - "state": "c8c091106ead", - "effects": [] - } - }, - { - "id": "tw-paste-lookup-resolved.transport-rejection-no-message:repo-slug-matched", - "observation": { - "sender": ["fa6ca8899e53", "4a91480c91b6", "88ab39f43498", "db48adb41100"], - "payloads": ["467d1db5ad39", "64b4674b65a8", "f4d2080c6e99", "72a59aa8bee1"], - "settlements": { - "by-number": "53a164add69c", - "by-slug": "53a164add69c", - "gitlab-path": "c7584e82c72f", - "repo-slug": "0e9d6525a582" - }, - "state": "0e476f0360cd", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 572def72fab..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.listaccessible-1.json +++ /dev/null @@ -1,2441 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-board-load", - "family": "tasks.project-board-load", - "namedDeltas": [], - "values": { - "0056704adc0b": { - "name": "githubProjectTable", - "ordinal": 31, - "value": { - "$rpc": "null" - } - }, - "060dcedb3fdb": { - "name": "githubProjectError", - "ordinal": 10, - "value": "" - }, - "0a7f23c13d0c": { - "name": "github.project.listAccessible#1", - "ordinal": 3, - "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 - } - } - }, - "0af48d475813": { - "name": "appliedGithubProjectSearch", - "ordinal": 29, - "value": { - "$rpc": "undefined" - } - }, - "0e76d492b4f4": { - "error": "", - "loading": false, - "pasteError": "", - "projects": [], - "table": { - "$rpc": "null" - }, - "views": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "0e8b33b2854d": { - "name": "showGitHubProjectPicker", - "ordinal": 21, - "value": false - }, - "0f1aa264f581": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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 - } - } - } - }, - "147d0c98fb46": { - "error": "", - "loading": false, - "pasteError": "", - "projects": [], - "table": { - "$rpc": "null" - }, - "views": [] - }, - "15cb97c93333": { - "name": "github.project.listViews#1", - "ordinal": 8, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3}}" - }, - "170fad8cb36b": { - "name": "githubProjectPartialFailures", - "ordinal": 6, - "value": [] - }, - "1742a082916c": { - "name": "githubProjectLoading", - "ordinal": 7, - "value": true - }, - "1b3350f71e56": { - "name": "githubProjectError", - "ordinal": 19, - "value": "" - }, - "1f4f9fd563d9": { - "name": "githubProjectError", - "ordinal": 17, - "value": "" - }, - "2085118de92f": { - "name": "githubProjectError", - "ordinal": 1, - "value": "" - }, - "26921f3a7c09": { - "name": "githubProjectPasteError", - "ordinal": 18, - "value": "" - }, - "29c85aeaeafe": { - "name": "githubProjectError", - "ordinal": 8, - "value": "" - }, - "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 - } - ] - }, - "2f290fa2acf5": { - "name": "githubProjectLoading", - "ordinal": 9, - "value": true - }, - "309bbebe1e4b": { - "name": "githubProjectTable", - "ordinal": 29, - "value": { - "$rpc": "null" - } - }, - "321983341043": { - "name": "github.project.listAccessible#1", - "ordinal": 3, - "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" - } - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "3493818a7239": { - "name": "githubProjectPasteBusy", - "ordinal": 33, - "value": false - }, - "358856006a81": { - "name": "githubProjectPasteError", - "ordinal": 16, - "value": "" - }, - "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 - } - ] - }, - "3985399034a2": { - "name": "githubProjectPasteBusy", - "ordinal": 17, - "value": true - }, - "3a8617cc8fd8": { - "name": "githubProjectSearch", - "ordinal": 14, - "value": "is:open" - }, - "43846f79098a": { - "name": "githubProjectSearch", - "ordinal": 28, - "value": "" - }, - "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 - } - ] - }, - "47b4a4ed1197": { - "name": "appliedGithubProjectSearch", - "ordinal": 27, - "value": { - "$rpc": "undefined" - } - }, - "4809ea7ad5b0": { - "name": "github.project.viewTable#1", - "ordinal": 12, - "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\"}}" - }, - "4c9b1e4ad1f5": { - "name": "githubProjectViews", - "ordinal": 28, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "4db99cb82cd3": { - "name": "githubProjectError", - "ordinal": 23, - "value": "" - }, - "5033e4410561": { - "name": "github.project.listAccessible#1", - "ordinal": 3, - "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 - } - } - }, - "53954ecf4db4": { - "name": "githubProjectPasteBusy", - "ordinal": 31, - "value": false - }, - "685bc2bda05d": { - "name": "githubProjects", - "ordinal": 5, - "value": [ - { - "host": "github.com", - "number": 3, - "owner": "owner", - "ownerType": "organization", - "title": "Board" - } - ] - }, - "6b03ace1146a": { - "name": "githubProjectError", - "ordinal": 25, - "value": "" - }, - "6c265f3eef22": { - "name": "github.project.listViews#2", - "ordinal": 24, - "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 - } - ] - } - } - } - }, - "6d4c77a759a1": { - "name": "githubProjectSearch", - "ordinal": 12, - "value": "is:open" - }, - "736562ff5594": { - "name": "githubProjectViews", - "ordinal": 26, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "75c11cbc10c6": { - "name": "github.project.listAccessible#1", - "ordinal": 3, - "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 - } - } - } - }, - "7a60e3d689a2": { - "name": "githubProjectTable", - "ordinal": 11, - "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 - } - } - }, - "7d488eda1d1c": { - "name": "githubProjectViews", - "ordinal": 15, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "819f4dade400": { - "name": "github.project.listViews#2", - "ordinal": 25, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.com\",\"ownerType\":\"organization\",\"projectNumber\":3}}" - }, - "842c950ee7cc": { - "name": "githubProjectLoading", - "ordinal": 16, - "value": false - }, - "88787b083c0a": { - "name": "githubProjectLoading", - "ordinal": 22, - "value": true - }, - "88db645d6267": { - "name": "githubProjectLoading", - "ordinal": 30, - "value": false - }, - "8a0577280bad": { - "name": "showGitHubProjectPicker", - "ordinal": 23, - "value": false - }, - "8b535c841be8": { - "name": "githubProjectPasteBusy", - "ordinal": 15, - "value": true - }, - "97bc7dc12b92": { - "name": "githubProjectLoading", - "ordinal": 32, - "value": false - }, - "999ec0e10c42": { - "name": "github.project.viewTable#1", - "ordinal": 9, - "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 - } - } - } - }, - "9f9a21ac7b9e": { - "name": "github.project.listViews#2", - "ordinal": 27, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.com\",\"ownerType\":\"organization\",\"projectNumber\":3}}" - }, - "a0b318040dbf": { - "name": "github.project.listAccessible#1", - "ordinal": 3, - "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 - } - } - }, - "a125bd681d4a": { - "name": "github.project.listViews#1", - "ordinal": 5, - "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 - } - ] - } - } - } - }, - "a2a600cf1ed6": { - "name": "github.project.listViews#1", - "ordinal": 6, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3}}" - }, - "a5a3530ec11c": { - "name": "githubProjectPartialFailures", - "ordinal": 2, - "value": [] - }, - "a87b90bd0eb2": { - "name": "githubProjectViews", - "ordinal": 13, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aaf09e2731f5": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (github.project.listAccessible)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "ab1b10183665": { - "name": "githubProjectLoading", - "ordinal": 24, - "value": true - }, - "ae89e058b351": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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 - } - ] - } - } - } - }, - "b42c8edc0d53": { - "name": "github.project.listAccessible#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAccessible\",\"params\":{\"host\":\"github.com\"}}" - }, - "b4a1f05e33c8": { - "name": "github.project.resolveRef#1", - "ordinal": 19, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.resolveRef\",\"params\":{\"input\":\"https://github.com/orgs/owner/projects/3\",\"host\":\"github.com\"}}" - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "bdbcea6d9879": { - "name": "github.project.listAccessible#1", - "ordinal": 3, - "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 - } - } - } - }, - "be0da5b53ffb": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "be93253869e6": { - "name": "github.project.resolveRef#1", - "ordinal": 21, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.resolveRef\",\"params\":{\"input\":\"https://github.com/orgs/owner/projects/3\",\"host\":\"github.com\"}}" - }, - "c5c018cf9a70": { - "name": "githubProjectTable", - "ordinal": 13, - "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 - } - } - }, - "c668b7f0ba25": { - "name": "github.project.listAccessible#1", - "ordinal": 3, - "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 - } - } - }, - "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 - } - }, - "d254913957c1": { - "name": "github.project.listViews#1", - "ordinal": 7, - "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 - } - ] - } - } - } - }, - "d7783b65acee": { - "name": "github.project.resolveRef#1", - "ordinal": 18, - "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 - } - } - } - }, - "d9ca148637c0": { - "name": "github.project.viewTable#1", - "ordinal": 10, - "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\"}}" - }, - "dc8dd7739c49": { - "name": "githubProjectPasteInput", - "ordinal": 22, - "value": "" - }, - "df8adf9c824e": { - "name": "githubProjectLoading", - "ordinal": 14, - "value": false - }, - "dfe16215433b": { - "name": "github.project.listAccessible#1", - "ordinal": 3, - "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" - } - ] - } - } - } - }, - "e538f46c1fc2": { - "name": "github.project.listAccessible#1", - "ordinal": 3, - "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" - } - } - } - }, - "e87bea4bcd3c": { - "name": "githubProjectSearch", - "ordinal": 30, - "value": "" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ed0115da9c46": { - "name": "github.project.listAccessible#1", - "ordinal": 3, - "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 - } - } - }, - "ee8fc5edb754": { - "name": "github.project.listAccessible#1", - "ordinal": 3, - "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 - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "f4530e110d4d": { - "name": "githubProjectPasteInput", - "ordinal": 20, - "value": "" - }, - "f6003aed2098": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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 - } - } - } - }, - "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": ["dfe16215433b"], - "payloads": ["b42c8edc0d53"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.normal:views-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1"], - "payloads": ["b42c8edc0d53", "15cb97c93333"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.normal:table-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc" - ] - } - }, - { - "id": "tk-project-board-load.normal:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "ae89e058b351" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4c9b1e4ad1f5", - "0af48d475813", - "e87bea4bcd3c", - "0056704adc0b", - "97bc7dc12b92", - "3493818a7239" - ] - } - }, - { - "id": "tk-project-board-load.result-absent:projects-settled", - "observation": { - "sender": ["ee8fc5edb754"], - "payloads": ["b42c8edc0d53"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.result-absent:views-settled", - "observation": { - "sender": ["ee8fc5edb754", "a125bd681d4a"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5", - "views-1": "be0da5b53ffb" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.result-absent:table-settled", - "observation": { - "sender": ["ee8fc5edb754", "a125bd681d4a", "999ec0e10c42"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6", "d9ca148637c0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "4607a82f1dd3", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e" - ] - } - }, - { - "id": "tk-project-board-load.result-absent:paste-settled", - "observation": { - "sender": [ - "ee8fc5edb754", - "a125bd681d4a", - "999ec0e10c42", - "d7783b65acee", - "6c265f3eef22" - ], - "payloads": [ - "b42c8edc0d53", - "a2a600cf1ed6", - "d9ca148637c0", - "b4a1f05e33c8", - "819f4dade400" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "0e76d492b4f4", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e", - "8b535c841be8", - "358856006a81", - "1f4f9fd563d9", - "f4530e110d4d", - "0e8b33b2854d", - "88787b083c0a", - "4db99cb82cd3", - "736562ff5594", - "47b4a4ed1197", - "43846f79098a", - "309bbebe1e4b", - "88db645d6267", - "53954ecf4db4" - ] - } - }, - { - "id": "tk-project-board-load.result-null:projects-settled", - "observation": { - "sender": ["e538f46c1fc2"], - "payloads": ["b42c8edc0d53"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.result-null:views-settled", - "observation": { - "sender": ["e538f46c1fc2", "a125bd681d4a"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5", - "views-1": "be0da5b53ffb" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.result-null:table-settled", - "observation": { - "sender": ["e538f46c1fc2", "a125bd681d4a", "999ec0e10c42"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6", "d9ca148637c0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "4607a82f1dd3", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e" - ] - } - }, - { - "id": "tk-project-board-load.result-null:paste-settled", - "observation": { - "sender": [ - "e538f46c1fc2", - "a125bd681d4a", - "999ec0e10c42", - "d7783b65acee", - "6c265f3eef22" - ], - "payloads": [ - "b42c8edc0d53", - "a2a600cf1ed6", - "d9ca148637c0", - "b4a1f05e33c8", - "819f4dade400" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "0e76d492b4f4", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e", - "8b535c841be8", - "358856006a81", - "1f4f9fd563d9", - "f4530e110d4d", - "0e8b33b2854d", - "88787b083c0a", - "4db99cb82cd3", - "736562ff5594", - "47b4a4ed1197", - "43846f79098a", - "309bbebe1e4b", - "88db645d6267", - "53954ecf4db4" - ] - } - }, - { - "id": "tk-project-board-load.inner-ok-missing:projects-settled", - "observation": { - "sender": ["321983341043"], - "payloads": ["b42c8edc0d53"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.inner-ok-missing:views-settled", - "observation": { - "sender": ["321983341043", "a125bd681d4a"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5", - "views-1": "be0da5b53ffb" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.inner-ok-missing:table-settled", - "observation": { - "sender": ["321983341043", "a125bd681d4a", "999ec0e10c42"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6", "d9ca148637c0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "4607a82f1dd3", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e" - ] - } - }, - { - "id": "tk-project-board-load.inner-ok-missing:paste-settled", - "observation": { - "sender": [ - "321983341043", - "a125bd681d4a", - "999ec0e10c42", - "d7783b65acee", - "6c265f3eef22" - ], - "payloads": [ - "b42c8edc0d53", - "a2a600cf1ed6", - "d9ca148637c0", - "b4a1f05e33c8", - "819f4dade400" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "0e76d492b4f4", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e", - "8b535c841be8", - "358856006a81", - "1f4f9fd563d9", - "f4530e110d4d", - "0e8b33b2854d", - "88787b083c0a", - "4db99cb82cd3", - "736562ff5594", - "47b4a4ed1197", - "43846f79098a", - "309bbebe1e4b", - "88db645d6267", - "53954ecf4db4" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-string-error:projects-settled", - "observation": { - "sender": ["75c11cbc10c6"], - "payloads": ["b42c8edc0d53"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.inner-false-string-error:views-settled", - "observation": { - "sender": ["75c11cbc10c6", "a125bd681d4a"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5", - "views-1": "be0da5b53ffb" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.inner-false-string-error:table-settled", - "observation": { - "sender": ["75c11cbc10c6", "a125bd681d4a", "999ec0e10c42"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6", "d9ca148637c0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "4607a82f1dd3", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-string-error:paste-settled", - "observation": { - "sender": [ - "75c11cbc10c6", - "a125bd681d4a", - "999ec0e10c42", - "d7783b65acee", - "6c265f3eef22" - ], - "payloads": [ - "b42c8edc0d53", - "a2a600cf1ed6", - "d9ca148637c0", - "b4a1f05e33c8", - "819f4dade400" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "aaf09e2731f5", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "0e76d492b4f4", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e", - "8b535c841be8", - "358856006a81", - "1f4f9fd563d9", - "f4530e110d4d", - "0e8b33b2854d", - "88787b083c0a", - "4db99cb82cd3", - "736562ff5594", - "47b4a4ed1197", - "43846f79098a", - "309bbebe1e4b", - "88db645d6267", - "53954ecf4db4" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-object-error:projects-settled", - "observation": { - "sender": ["bdbcea6d9879"], - "payloads": ["b42c8edc0d53"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "d05b2d417b9c" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.inner-false-object-error:views-settled", - "observation": { - "sender": ["bdbcea6d9879", "a125bd681d4a"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "d05b2d417b9c", - "views-1": "be0da5b53ffb" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.inner-false-object-error:table-settled", - "observation": { - "sender": ["bdbcea6d9879", "a125bd681d4a", "999ec0e10c42"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6", "d9ca148637c0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "d05b2d417b9c", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "4607a82f1dd3", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-object-error:paste-settled", - "observation": { - "sender": [ - "bdbcea6d9879", - "a125bd681d4a", - "999ec0e10c42", - "d7783b65acee", - "6c265f3eef22" - ], - "payloads": [ - "b42c8edc0d53", - "a2a600cf1ed6", - "d9ca148637c0", - "b4a1f05e33c8", - "819f4dade400" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "d05b2d417b9c", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "0e76d492b4f4", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e", - "8b535c841be8", - "358856006a81", - "1f4f9fd563d9", - "f4530e110d4d", - "0e8b33b2854d", - "88787b083c0a", - "4db99cb82cd3", - "736562ff5594", - "47b4a4ed1197", - "43846f79098a", - "309bbebe1e4b", - "88db645d6267", - "53954ecf4db4" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused:projects-settled", - "observation": { - "sender": ["0a7f23c13d0c"], - "payloads": ["b42c8edc0d53"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "32a7c0ae7918" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.outer-refused:views-settled", - "observation": { - "sender": ["0a7f23c13d0c", "a125bd681d4a"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "32a7c0ae7918", - "views-1": "be0da5b53ffb" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.outer-refused:table-settled", - "observation": { - "sender": ["0a7f23c13d0c", "a125bd681d4a", "999ec0e10c42"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6", "d9ca148637c0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "32a7c0ae7918", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "4607a82f1dd3", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused:paste-settled", - "observation": { - "sender": [ - "0a7f23c13d0c", - "a125bd681d4a", - "999ec0e10c42", - "d7783b65acee", - "6c265f3eef22" - ], - "payloads": [ - "b42c8edc0d53", - "a2a600cf1ed6", - "d9ca148637c0", - "b4a1f05e33c8", - "819f4dade400" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "32a7c0ae7918", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "0e76d492b4f4", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e", - "8b535c841be8", - "358856006a81", - "1f4f9fd563d9", - "f4530e110d4d", - "0e8b33b2854d", - "88787b083c0a", - "4db99cb82cd3", - "736562ff5594", - "47b4a4ed1197", - "43846f79098a", - "309bbebe1e4b", - "88db645d6267", - "53954ecf4db4" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused-no-message:projects-settled", - "observation": { - "sender": ["ed0115da9c46"], - "payloads": ["b42c8edc0d53"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "f3b516f62081" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.outer-refused-no-message:views-settled", - "observation": { - "sender": ["ed0115da9c46", "a125bd681d4a"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "f3b516f62081", - "views-1": "be0da5b53ffb" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.outer-refused-no-message:table-settled", - "observation": { - "sender": ["ed0115da9c46", "a125bd681d4a", "999ec0e10c42"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6", "d9ca148637c0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "f3b516f62081", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "4607a82f1dd3", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused-no-message:paste-settled", - "observation": { - "sender": [ - "ed0115da9c46", - "a125bd681d4a", - "999ec0e10c42", - "d7783b65acee", - "6c265f3eef22" - ], - "payloads": [ - "b42c8edc0d53", - "a2a600cf1ed6", - "d9ca148637c0", - "b4a1f05e33c8", - "819f4dade400" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "f3b516f62081", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "0e76d492b4f4", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e", - "8b535c841be8", - "358856006a81", - "1f4f9fd563d9", - "f4530e110d4d", - "0e8b33b2854d", - "88787b083c0a", - "4db99cb82cd3", - "736562ff5594", - "47b4a4ed1197", - "43846f79098a", - "309bbebe1e4b", - "88db645d6267", - "53954ecf4db4" - ] - } - }, - { - "id": "tk-project-board-load.method-not-found:projects-settled", - "observation": { - "sender": ["a0b318040dbf"], - "payloads": ["b42c8edc0d53"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "b948e8307e81" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.method-not-found:views-settled", - "observation": { - "sender": ["a0b318040dbf", "a125bd681d4a"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "b948e8307e81", - "views-1": "be0da5b53ffb" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.method-not-found:table-settled", - "observation": { - "sender": ["a0b318040dbf", "a125bd681d4a", "999ec0e10c42"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6", "d9ca148637c0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "b948e8307e81", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "4607a82f1dd3", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e" - ] - } - }, - { - "id": "tk-project-board-load.method-not-found:paste-settled", - "observation": { - "sender": [ - "a0b318040dbf", - "a125bd681d4a", - "999ec0e10c42", - "d7783b65acee", - "6c265f3eef22" - ], - "payloads": [ - "b42c8edc0d53", - "a2a600cf1ed6", - "d9ca148637c0", - "b4a1f05e33c8", - "819f4dade400" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "b948e8307e81", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "0e76d492b4f4", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e", - "8b535c841be8", - "358856006a81", - "1f4f9fd563d9", - "f4530e110d4d", - "0e8b33b2854d", - "88787b083c0a", - "4db99cb82cd3", - "736562ff5594", - "47b4a4ed1197", - "43846f79098a", - "309bbebe1e4b", - "88db645d6267", - "53954ecf4db4" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection:projects-settled", - "observation": { - "sender": ["c668b7f0ba25"], - "payloads": ["b42c8edc0d53"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "a947768bc0ed" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.transport-rejection:views-settled", - "observation": { - "sender": ["c668b7f0ba25", "a125bd681d4a"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "a947768bc0ed", - "views-1": "be0da5b53ffb" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.transport-rejection:table-settled", - "observation": { - "sender": ["c668b7f0ba25", "a125bd681d4a", "999ec0e10c42"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6", "d9ca148637c0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "a947768bc0ed", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "4607a82f1dd3", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection:paste-settled", - "observation": { - "sender": [ - "c668b7f0ba25", - "a125bd681d4a", - "999ec0e10c42", - "d7783b65acee", - "6c265f3eef22" - ], - "payloads": [ - "b42c8edc0d53", - "a2a600cf1ed6", - "d9ca148637c0", - "b4a1f05e33c8", - "819f4dade400" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "a947768bc0ed", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "0e76d492b4f4", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e", - "8b535c841be8", - "358856006a81", - "1f4f9fd563d9", - "f4530e110d4d", - "0e8b33b2854d", - "88787b083c0a", - "4db99cb82cd3", - "736562ff5594", - "47b4a4ed1197", - "43846f79098a", - "309bbebe1e4b", - "88db645d6267", - "53954ecf4db4" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection-no-message:projects-settled", - "observation": { - "sender": ["5033e4410561"], - "payloads": ["b42c8edc0d53"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "c7584e82c72f" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.transport-rejection-no-message:views-settled", - "observation": { - "sender": ["5033e4410561", "a125bd681d4a"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "c7584e82c72f", - "views-1": "be0da5b53ffb" - }, - "state": "147d0c98fb46", - "effects": ["2085118de92f", "a5a3530ec11c"] - } - }, - { - "id": "tk-project-board-load.transport-rejection-no-message:table-settled", - "observation": { - "sender": ["5033e4410561", "a125bd681d4a", "999ec0e10c42"], - "payloads": ["b42c8edc0d53", "a2a600cf1ed6", "d9ca148637c0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "c7584e82c72f", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "4607a82f1dd3", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection-no-message:paste-settled", - "observation": { - "sender": [ - "5033e4410561", - "a125bd681d4a", - "999ec0e10c42", - "d7783b65acee", - "6c265f3eef22" - ], - "payloads": [ - "b42c8edc0d53", - "a2a600cf1ed6", - "d9ca148637c0", - "b4a1f05e33c8", - "819f4dade400" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "c7584e82c72f", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "0e76d492b4f4", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "1742a082916c", - "29c85aeaeafe", - "7a60e3d689a2", - "6d4c77a759a1", - "a87b90bd0eb2", - "df8adf9c824e", - "8b535c841be8", - "358856006a81", - "1f4f9fd563d9", - "f4530e110d4d", - "0e8b33b2854d", - "88787b083c0a", - "4db99cb82cd3", - "736562ff5594", - "47b4a4ed1197", - "43846f79098a", - "309bbebe1e4b", - "88db645d6267", - "53954ecf4db4" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 2e366826ec6..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.listviews-1.json +++ /dev/null @@ -1,1991 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-board-load", - "family": "tasks.project-board-load", - "namedDeltas": [], - "values": { - "0056704adc0b": { - "name": "githubProjectTable", - "ordinal": 31, - "value": { - "$rpc": "null" - } - }, - "060dcedb3fdb": { - "name": "githubProjectError", - "ordinal": 10, - "value": "" - }, - "0af48d475813": { - "name": "appliedGithubProjectSearch", - "ordinal": 29, - "value": { - "$rpc": "undefined" - } - }, - "0f1aa264f581": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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 - } - } - } - }, - "10e9934ad7b2": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (github.project.listViews)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "15cb97c93333": { - "name": "github.project.listViews#1", - "ordinal": 8, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3}}" - }, - "170fad8cb36b": { - "name": "githubProjectPartialFailures", - "ordinal": 6, - "value": [] - }, - "193f89ca85cf": { - "name": "github.project.listViews#1", - "ordinal": 7, - "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 - } - } - }, - "1b3350f71e56": { - "name": "githubProjectError", - "ordinal": 19, - "value": "" - }, - "1f18fe0af060": { - "name": "github.project.listViews#1", - "ordinal": 7, - "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 - } - } - }, - "2085118de92f": { - "name": "githubProjectError", - "ordinal": 1, - "value": "" - }, - "26921f3a7c09": { - "name": "githubProjectPasteError", - "ordinal": 18, - "value": "" - }, - "2aa8c7b4bd52": { - "name": "github.project.listViews#1", - "ordinal": 7, - "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 - } - } - } - }, - "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 - } - ] - }, - "2f290fa2acf5": { - "name": "githubProjectLoading", - "ordinal": 9, - "value": true - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "3493818a7239": { - "name": "githubProjectPasteBusy", - "ordinal": 33, - "value": false - }, - "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 - } - ] - }, - "3791ddcb2808": { - "name": "github.project.listViews#1", - "ordinal": 7, - "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 - } - } - }, - "3985399034a2": { - "name": "githubProjectPasteBusy", - "ordinal": 17, - "value": true - }, - "3a8617cc8fd8": { - "name": "githubProjectSearch", - "ordinal": 14, - "value": "is:open" - }, - "4809ea7ad5b0": { - "name": "github.project.viewTable#1", - "ordinal": 12, - "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\"}}" - }, - "4c9b1e4ad1f5": { - "name": "githubProjectViews", - "ordinal": 28, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "621b6b7b4159": { - "name": "github.project.listViews#1", - "ordinal": 7, - "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 - } - } - }, - "685bc2bda05d": { - "name": "githubProjects", - "ordinal": 5, - "value": [ - { - "host": "github.com", - "number": 3, - "owner": "owner", - "ownerType": "organization", - "title": "Board" - } - ] - }, - "68febdb4aa87": { - "name": "github.project.listViews#1", - "ordinal": 7, - "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 - } - } - }, - "6b03ace1146a": { - "name": "githubProjectError", - "ordinal": 25, - "value": "" - }, - "7d488eda1d1c": { - "name": "githubProjectViews", - "ordinal": 15, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "842c950ee7cc": { - "name": "githubProjectLoading", - "ordinal": 16, - "value": false - }, - "8a0577280bad": { - "name": "showGitHubProjectPicker", - "ordinal": 23, - "value": false - }, - "97bc7dc12b92": { - "name": "githubProjectLoading", - "ordinal": 32, - "value": false - }, - "9f9a21ac7b9e": { - "name": "github.project.listViews#2", - "ordinal": 27, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.com\",\"ownerType\":\"organization\",\"projectNumber\":3}}" - }, - "a15abed7d4f0": { - "name": "github.project.listViews#1", - "ordinal": 7, - "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 - } - } - } - }, - "a5a3530ec11c": { - "name": "githubProjectPartialFailures", - "ordinal": 2, - "value": [] - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "ab1b10183665": { - "name": "githubProjectLoading", - "ordinal": 24, - "value": true - }, - "ae89e058b351": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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 - } - ] - } - } - } - }, - "b42c8edc0d53": { - "name": "github.project.listAccessible#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAccessible\",\"params\":{\"host\":\"github.com\"}}" - }, - "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 - } - ] - }, - "be93253869e6": { - "name": "github.project.resolveRef#1", - "ordinal": 21, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.resolveRef\",\"params\":{\"input\":\"https://github.com/orgs/owner/projects/3\",\"host\":\"github.com\"}}" - }, - "bf8bc6347470": { - "name": "github.project.listViews#1", - "ordinal": 7, - "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" - } - } - } - }, - "c41a1840af6d": { - "name": "github.project.listViews#1", - "ordinal": 7, - "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 - } - } - }, - "c5c018cf9a70": { - "name": "githubProjectTable", - "ordinal": 13, - "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 - } - } - }, - "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 - } - }, - "d254913957c1": { - "name": "github.project.listViews#1", - "ordinal": 7, - "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 - } - ] - } - } - } - }, - "dc8dd7739c49": { - "name": "githubProjectPasteInput", - "ordinal": 22, - "value": "" - }, - "dfe16215433b": { - "name": "github.project.listAccessible#1", - "ordinal": 3, - "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" - } - ] - } - } - } - }, - "e87bea4bcd3c": { - "name": "githubProjectSearch", - "ordinal": 30, - "value": "" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "f6003aed2098": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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 - } - } - } - }, - "fc799562716c": { - "name": "github.project.listViews#1", - "ordinal": 7, - "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" - } - } - } - }, - "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": ["dfe16215433b"], - "payloads": ["b42c8edc0d53"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.normal:views-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1"], - "payloads": ["b42c8edc0d53", "15cb97c93333"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.normal:table-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc" - ] - } - }, - { - "id": "tk-project-board-load.normal:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "ae89e058b351" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4c9b1e4ad1f5", - "0af48d475813", - "e87bea4bcd3c", - "0056704adc0b", - "97bc7dc12b92", - "3493818a7239" - ] - } - }, - { - "id": "tk-project-board-load.result-absent:views-settled", - "observation": { - "sender": ["dfe16215433b", "3791ddcb2808"], - "payloads": ["b42c8edc0d53", "15cb97c93333"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "10e9934ad7b2" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.result-absent:table-settled", - "observation": { - "sender": ["dfe16215433b", "3791ddcb2808", "0f1aa264f581"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "10e9934ad7b2", - "table-2": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc" - ] - } - }, - { - "id": "tk-project-board-load.result-absent:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "3791ddcb2808", - "0f1aa264f581", - "f6003aed2098", - "ae89e058b351" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "10e9934ad7b2", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4c9b1e4ad1f5", - "0af48d475813", - "e87bea4bcd3c", - "0056704adc0b", - "97bc7dc12b92", - "3493818a7239" - ] - } - }, - { - "id": "tk-project-board-load.result-null:views-settled", - "observation": { - "sender": ["dfe16215433b", "fc799562716c"], - "payloads": ["b42c8edc0d53", "15cb97c93333"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "10e9934ad7b2" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.result-null:table-settled", - "observation": { - "sender": ["dfe16215433b", "fc799562716c", "0f1aa264f581"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "10e9934ad7b2", - "table-2": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc" - ] - } - }, - { - "id": "tk-project-board-load.result-null:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "fc799562716c", - "0f1aa264f581", - "f6003aed2098", - "ae89e058b351" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "10e9934ad7b2", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4c9b1e4ad1f5", - "0af48d475813", - "e87bea4bcd3c", - "0056704adc0b", - "97bc7dc12b92", - "3493818a7239" - ] - } - }, - { - "id": "tk-project-board-load.inner-ok-missing:views-settled", - "observation": { - "sender": ["dfe16215433b", "bf8bc6347470"], - "payloads": ["b42c8edc0d53", "15cb97c93333"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "10e9934ad7b2" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.inner-ok-missing:table-settled", - "observation": { - "sender": ["dfe16215433b", "bf8bc6347470", "0f1aa264f581"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "10e9934ad7b2", - "table-2": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc" - ] - } - }, - { - "id": "tk-project-board-load.inner-ok-missing:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "bf8bc6347470", - "0f1aa264f581", - "f6003aed2098", - "ae89e058b351" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "10e9934ad7b2", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4c9b1e4ad1f5", - "0af48d475813", - "e87bea4bcd3c", - "0056704adc0b", - "97bc7dc12b92", - "3493818a7239" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-string-error:views-settled", - "observation": { - "sender": ["dfe16215433b", "2aa8c7b4bd52"], - "payloads": ["b42c8edc0d53", "15cb97c93333"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "10e9934ad7b2" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.inner-false-string-error:table-settled", - "observation": { - "sender": ["dfe16215433b", "2aa8c7b4bd52", "0f1aa264f581"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "10e9934ad7b2", - "table-2": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-string-error:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "2aa8c7b4bd52", - "0f1aa264f581", - "f6003aed2098", - "ae89e058b351" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "10e9934ad7b2", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4c9b1e4ad1f5", - "0af48d475813", - "e87bea4bcd3c", - "0056704adc0b", - "97bc7dc12b92", - "3493818a7239" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-object-error:views-settled", - "observation": { - "sender": ["dfe16215433b", "a15abed7d4f0"], - "payloads": ["b42c8edc0d53", "15cb97c93333"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "d05b2d417b9c" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.inner-false-object-error:table-settled", - "observation": { - "sender": ["dfe16215433b", "a15abed7d4f0", "0f1aa264f581"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "d05b2d417b9c", - "table-2": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-object-error:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "a15abed7d4f0", - "0f1aa264f581", - "f6003aed2098", - "ae89e058b351" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "d05b2d417b9c", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4c9b1e4ad1f5", - "0af48d475813", - "e87bea4bcd3c", - "0056704adc0b", - "97bc7dc12b92", - "3493818a7239" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused:views-settled", - "observation": { - "sender": ["dfe16215433b", "193f89ca85cf"], - "payloads": ["b42c8edc0d53", "15cb97c93333"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "32a7c0ae7918" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.outer-refused:table-settled", - "observation": { - "sender": ["dfe16215433b", "193f89ca85cf", "0f1aa264f581"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "32a7c0ae7918", - "table-2": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "193f89ca85cf", - "0f1aa264f581", - "f6003aed2098", - "ae89e058b351" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "32a7c0ae7918", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4c9b1e4ad1f5", - "0af48d475813", - "e87bea4bcd3c", - "0056704adc0b", - "97bc7dc12b92", - "3493818a7239" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused-no-message:views-settled", - "observation": { - "sender": ["dfe16215433b", "c41a1840af6d"], - "payloads": ["b42c8edc0d53", "15cb97c93333"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "f3b516f62081" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.outer-refused-no-message:table-settled", - "observation": { - "sender": ["dfe16215433b", "c41a1840af6d", "0f1aa264f581"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "f3b516f62081", - "table-2": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused-no-message:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "c41a1840af6d", - "0f1aa264f581", - "f6003aed2098", - "ae89e058b351" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "f3b516f62081", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4c9b1e4ad1f5", - "0af48d475813", - "e87bea4bcd3c", - "0056704adc0b", - "97bc7dc12b92", - "3493818a7239" - ] - } - }, - { - "id": "tk-project-board-load.method-not-found:views-settled", - "observation": { - "sender": ["dfe16215433b", "1f18fe0af060"], - "payloads": ["b42c8edc0d53", "15cb97c93333"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "b948e8307e81" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.method-not-found:table-settled", - "observation": { - "sender": ["dfe16215433b", "1f18fe0af060", "0f1aa264f581"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "b948e8307e81", - "table-2": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc" - ] - } - }, - { - "id": "tk-project-board-load.method-not-found:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "1f18fe0af060", - "0f1aa264f581", - "f6003aed2098", - "ae89e058b351" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "b948e8307e81", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4c9b1e4ad1f5", - "0af48d475813", - "e87bea4bcd3c", - "0056704adc0b", - "97bc7dc12b92", - "3493818a7239" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection:views-settled", - "observation": { - "sender": ["dfe16215433b", "68febdb4aa87"], - "payloads": ["b42c8edc0d53", "15cb97c93333"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "a947768bc0ed" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.transport-rejection:table-settled", - "observation": { - "sender": ["dfe16215433b", "68febdb4aa87", "0f1aa264f581"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "a947768bc0ed", - "table-2": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "68febdb4aa87", - "0f1aa264f581", - "f6003aed2098", - "ae89e058b351" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "a947768bc0ed", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4c9b1e4ad1f5", - "0af48d475813", - "e87bea4bcd3c", - "0056704adc0b", - "97bc7dc12b92", - "3493818a7239" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection-no-message:views-settled", - "observation": { - "sender": ["dfe16215433b", "621b6b7b4159"], - "payloads": ["b42c8edc0d53", "15cb97c93333"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "c7584e82c72f" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.transport-rejection-no-message:table-settled", - "observation": { - "sender": ["dfe16215433b", "621b6b7b4159", "0f1aa264f581"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "c7584e82c72f", - "table-2": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection-no-message:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "621b6b7b4159", - "0f1aa264f581", - "f6003aed2098", - "ae89e058b351" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "c7584e82c72f", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4c9b1e4ad1f5", - "0af48d475813", - "e87bea4bcd3c", - "0056704adc0b", - "97bc7dc12b92", - "3493818a7239" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 7e0dd9c98ad..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.listviews-2.json +++ /dev/null @@ -1,1847 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-board-load", - "family": "tasks.project-board-load", - "namedDeltas": [], - "values": { - "0056704adc0b": { - "name": "githubProjectTable", - "ordinal": 31, - "value": { - "$rpc": "null" - } - }, - "060dcedb3fdb": { - "name": "githubProjectError", - "ordinal": 10, - "value": "" - }, - "0af48d475813": { - "name": "appliedGithubProjectSearch", - "ordinal": 29, - "value": { - "$rpc": "undefined" - } - }, - "0b0789528a70": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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 - } - } - }, - "0e83c4f2d85c": { - "name": "githubProjectError", - "ordinal": 28, - "value": "The host sent a reply this app could not read (github.project.listViews)" - }, - "0f1aa264f581": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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 - } - } - } - }, - "0f65a65096ff": { - "name": "githubProjectPasteBusy", - "ordinal": 30, - "value": false - }, - "15cb97c93333": { - "name": "github.project.listViews#1", - "ordinal": 8, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3}}" - }, - "170fad8cb36b": { - "name": "githubProjectPartialFailures", - "ordinal": 6, - "value": [] - }, - "1b3350f71e56": { - "name": "githubProjectError", - "ordinal": 19, - "value": "" - }, - "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 - } - ] - }, - "1c37f311588f": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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" - } - } - } - }, - "2085118de92f": { - "name": "githubProjectError", - "ordinal": 1, - "value": "" - }, - "26921f3a7c09": { - "name": "githubProjectPasteError", - "ordinal": 18, - "value": "" - }, - "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 - } - ] - }, - "2f290fa2acf5": { - "name": "githubProjectLoading", - "ordinal": 9, - "value": true - }, - "3493818a7239": { - "name": "githubProjectPasteBusy", - "ordinal": 33, - "value": false - }, - "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 - } - ] - }, - "3985399034a2": { - "name": "githubProjectPasteBusy", - "ordinal": 17, - "value": true - }, - "3a358ec06a2e": { - "name": "githubProjectError", - "ordinal": 28, - "value": "Unknown method" - }, - "3a8617cc8fd8": { - "name": "githubProjectSearch", - "ordinal": 14, - "value": "is:open" - }, - "4809ea7ad5b0": { - "name": "github.project.viewTable#1", - "ordinal": 12, - "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\"}}" - }, - "4c9b1e4ad1f5": { - "name": "githubProjectViews", - "ordinal": 28, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "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 - } - ] - }, - "4eec12580715": { - "name": "githubProjectError", - "ordinal": 28, - "value": "Connection closed" - }, - "50c2d0683abb": { - "error": "The host sent a reply this app could not read (github.project.listViews)", - "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 - } - ] - }, - "5f39ee0a111a": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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 - } - } - }, - "685bc2bda05d": { - "name": "githubProjects", - "ordinal": 5, - "value": [ - { - "host": "github.com", - "number": 3, - "owner": "owner", - "ownerType": "organization", - "title": "Board" - } - ] - }, - "6b03ace1146a": { - "name": "githubProjectError", - "ordinal": 25, - "value": "" - }, - "751553d01f74": { - "name": "githubProjectError", - "ordinal": 28, - "value": "outer refused" - }, - "7d488eda1d1c": { - "name": "githubProjectViews", - "ordinal": 15, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "7f4d6b5a4c99": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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 - } - } - } - }, - "842c950ee7cc": { - "name": "githubProjectLoading", - "ordinal": 16, - "value": false - }, - "8a0577280bad": { - "name": "showGitHubProjectPicker", - "ordinal": 23, - "value": false - }, - "8d098092a97f": { - "name": "githubProjectLoading", - "ordinal": 29, - "value": false - }, - "97bc7dc12b92": { - "name": "githubProjectLoading", - "ordinal": 32, - "value": false - }, - "9f9a21ac7b9e": { - "name": "github.project.listViews#2", - "ordinal": 27, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.com\",\"ownerType\":\"organization\",\"projectNumber\":3}}" - }, - "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 - } - ] - }, - "a5a3530ec11c": { - "name": "githubProjectPartialFailures", - "ordinal": 2, - "value": [] - }, - "a6a517418ed9": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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 - } - } - }, - "ab1b10183665": { - "name": "githubProjectLoading", - "ordinal": 24, - "value": true - }, - "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 - } - ] - }, - "ad1c64ff938a": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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 - } - } - } - }, - "ae89e058b351": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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 - } - ] - } - } - } - }, - "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 - } - ] - }, - "b42c8edc0d53": { - "name": "github.project.listAccessible#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAccessible\",\"params\":{\"host\":\"github.com\"}}" - }, - "b61805111271": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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 - } - } - }, - "be0da5b53ffb": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "be93253869e6": { - "name": "github.project.resolveRef#1", - "ordinal": 21, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.resolveRef\",\"params\":{\"input\":\"https://github.com/orgs/owner/projects/3\",\"host\":\"github.com\"}}" - }, - "c26d1df91c18": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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 - } - } - }, - "c5c018cf9a70": { - "name": "githubProjectTable", - "ordinal": 13, - "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 - } - } - }, - "c9b343e9992b": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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 - } - } - }, - "c9ee089860fc": { - "name": "githubProjectError", - "ordinal": 28, - "value": "" - }, - "cc9ab010bdff": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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" - } - } - } - }, - "d254913957c1": { - "name": "github.project.listViews#1", - "ordinal": 7, - "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 - } - ] - } - } - } - }, - "dc8dd7739c49": { - "name": "githubProjectPasteInput", - "ordinal": 22, - "value": "" - }, - "dfe16215433b": { - "name": "github.project.listAccessible#1", - "ordinal": 3, - "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" - } - ] - } - } - } - }, - "e87bea4bcd3c": { - "name": "githubProjectSearch", - "ordinal": 30, - "value": "" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ef0715ff99c1": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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 - } - } - }, - "f6003aed2098": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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 - } - } - } - }, - "fafc5b2f8260": { - "name": "githubProjectError", - "ordinal": 28, - "value": "inner refused" - }, - "fd895f7d7a4a": { - "name": "githubProjectError", - "ordinal": 28, - "value": "transport failure" - }, - "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": ["dfe16215433b"], - "payloads": ["b42c8edc0d53"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.prelude:views-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1"], - "payloads": ["b42c8edc0d53", "15cb97c93333"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.prelude:table-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc" - ] - } - }, - { - "id": "tk-project-board-load.prelude:cleanup", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "ef0715ff99c1" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "1b7a7437b046", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4eec12580715", - "8d098092a97f", - "0f65a65096ff" - ] - } - }, - { - "id": "tk-project-board-load.normal:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "ae89e058b351" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4c9b1e4ad1f5", - "0af48d475813", - "e87bea4bcd3c", - "0056704adc0b", - "97bc7dc12b92", - "3493818a7239" - ] - } - }, - { - "id": "tk-project-board-load.result-absent:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "5f39ee0a111a" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "50c2d0683abb", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "0e83c4f2d85c", - "8d098092a97f", - "0f65a65096ff" - ] - } - }, - { - "id": "tk-project-board-load.result-null:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "cc9ab010bdff" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "50c2d0683abb", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "0e83c4f2d85c", - "8d098092a97f", - "0f65a65096ff" - ] - } - }, - { - "id": "tk-project-board-load.inner-ok-missing:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "1c37f311588f" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "50c2d0683abb", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "0e83c4f2d85c", - "8d098092a97f", - "0f65a65096ff" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-string-error:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "7f4d6b5a4c99" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "50c2d0683abb", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "0e83c4f2d85c", - "8d098092a97f", - "0f65a65096ff" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-object-error:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "ad1c64ff938a" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "4cf1a3bc4178", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "fafc5b2f8260", - "8d098092a97f", - "0f65a65096ff" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "c9b343e9992b" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "b1b0d0b13d2e", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "751553d01f74", - "8d098092a97f", - "0f65a65096ff" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused-no-message:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "c26d1df91c18" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "c9ee089860fc", - "8d098092a97f", - "0f65a65096ff" - ] - } - }, - { - "id": "tk-project-board-load.method-not-found:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "0b0789528a70" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "abb28d0939d9", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "3a358ec06a2e", - "8d098092a97f", - "0f65a65096ff" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "a6a517418ed9" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "9fb985a7d8f6", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "fd895f7d7a4a", - "8d098092a97f", - "0f65a65096ff" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection-no-message:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "b61805111271" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "c9ee089860fc", - "8d098092a97f", - "0f65a65096ff" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 5e8553f5f4c..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.resolveref-1.json +++ /dev/null @@ -1,1595 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-board-load", - "family": "tasks.project-board-load", - "namedDeltas": [], - "values": { - "0056704adc0b": { - "name": "githubProjectTable", - "ordinal": 31, - "value": { - "$rpc": "null" - } - }, - "060dcedb3fdb": { - "name": "githubProjectError", - "ordinal": 10, - "value": "" - }, - "0af48d475813": { - "name": "appliedGithubProjectSearch", - "ordinal": 29, - "value": { - "$rpc": "undefined" - } - }, - "0ca4eea3be22": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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 - } - } - }, - "0f1aa264f581": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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 - } - } - } - }, - "15cb97c93333": { - "name": "github.project.listViews#1", - "ordinal": 8, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3}}" - }, - "170fad8cb36b": { - "name": "githubProjectPartialFailures", - "ordinal": 6, - "value": [] - }, - "1b3350f71e56": { - "name": "githubProjectError", - "ordinal": 19, - "value": "" - }, - "2085118de92f": { - "name": "githubProjectError", - "ordinal": 1, - "value": "" - }, - "26921f3a7c09": { - "name": "githubProjectPasteError", - "ordinal": 18, - "value": "" - }, - "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 - } - ] - }, - "2f290fa2acf5": { - "name": "githubProjectLoading", - "ordinal": 9, - "value": true - }, - "31ab0657cc7f": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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 - } - } - }, - "3493818a7239": { - "name": "githubProjectPasteBusy", - "ordinal": 33, - "value": false - }, - "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 - } - ] - }, - "391bce43fe1e": { - "name": "githubProjectPasteError", - "ordinal": 22, - "value": "outer refused" - }, - "3985399034a2": { - "name": "githubProjectPasteBusy", - "ordinal": 17, - "value": true - }, - "3a7b38a0c9ac": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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 - } - } - }, - "3a8617cc8fd8": { - "name": "githubProjectSearch", - "ordinal": 14, - "value": "is:open" - }, - "443c462833d9": { - "name": "githubProjectPasteBusy", - "ordinal": 23, - "value": false - }, - "4809ea7ad5b0": { - "name": "github.project.viewTable#1", - "ordinal": 12, - "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\"}}" - }, - "4c9b1e4ad1f5": { - "name": "githubProjectViews", - "ordinal": 28, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "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 - } - ] - }, - "685bc2bda05d": { - "name": "githubProjects", - "ordinal": 5, - "value": [ - { - "host": "github.com", - "number": 3, - "owner": "owner", - "ownerType": "organization", - "title": "Board" - } - ] - }, - "6b03ace1146a": { - "name": "githubProjectError", - "ordinal": 25, - "value": "" - }, - "7077303e9304": { - "name": "githubProjectPasteError", - "ordinal": 22, - "value": "" - }, - "739b3c66b6a2": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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" - } - } - } - }, - "788e250ac87a": { - "name": "githubProjectPasteError", - "ordinal": 22, - "value": "transport failure" - }, - "7aa0558cb955": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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 - } - } - }, - "7d488eda1d1c": { - "name": "githubProjectViews", - "ordinal": 15, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "842c950ee7cc": { - "name": "githubProjectLoading", - "ordinal": 16, - "value": false - }, - "8a0577280bad": { - "name": "showGitHubProjectPicker", - "ordinal": 23, - "value": false - }, - "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 - } - ] - }, - "97bc7dc12b92": { - "name": "githubProjectLoading", - "ordinal": 32, - "value": false - }, - "9f9a21ac7b9e": { - "name": "github.project.listViews#2", - "ordinal": 27, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.com\",\"ownerType\":\"organization\",\"projectNumber\":3}}" - }, - "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 - } - ] - }, - "a5a3530ec11c": { - "name": "githubProjectPartialFailures", - "ordinal": 2, - "value": [] - }, - "ab1b10183665": { - "name": "githubProjectLoading", - "ordinal": 24, - "value": true - }, - "ae89e058b351": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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 - } - ] - } - } - } - }, - "afec7622eabf": { - "error": "", - "loading": false, - "pasteError": "The host sent a reply this app could not read (github.project.resolveRef)", - "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 - } - ] - }, - "b42c8edc0d53": { - "name": "github.project.listAccessible#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAccessible\",\"params\":{\"host\":\"github.com\"}}" - }, - "b9a0bb850981": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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 - } - } - }, - "bafe760119a6": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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 - } - } - }, - "be0da5b53ffb": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "be93253869e6": { - "name": "github.project.resolveRef#1", - "ordinal": 21, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.resolveRef\",\"params\":{\"input\":\"https://github.com/orgs/owner/projects/3\",\"host\":\"github.com\"}}" - }, - "c14b88cb8a3c": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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 - } - } - }, - "c5c018cf9a70": { - "name": "githubProjectTable", - "ordinal": 13, - "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 - } - } - }, - "cb9760e05f8b": { - "name": "githubProjectPasteError", - "ordinal": 22, - "value": "inner refused" - }, - "cdbe61ef88d1": { - "name": "githubProjectPasteError", - "ordinal": 22, - "value": "Unknown method" - }, - "d254913957c1": { - "name": "github.project.listViews#1", - "ordinal": 7, - "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 - } - ] - } - } - } - }, - "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 - } - ] - }, - "da1ff0cf92cb": { - "name": "githubProjectPasteError", - "ordinal": 22, - "value": "Connection closed" - }, - "dbfc3ca85bba": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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 - } - } - } - }, - "dc8dd7739c49": { - "name": "githubProjectPasteInput", - "ordinal": 22, - "value": "" - }, - "df1869ad0832": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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" - } - } - } - }, - "dfe16215433b": { - "name": "github.project.listAccessible#1", - "ordinal": 3, - "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" - } - ] - } - } - } - }, - "e0b72749150e": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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 - } - } - } - }, - "e5561b967e66": { - "name": "githubProjectPasteError", - "ordinal": 22, - "value": "The host sent a reply this app could not read (github.project.resolveRef)" - }, - "e87bea4bcd3c": { - "name": "githubProjectSearch", - "ordinal": 30, - "value": "" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f6003aed2098": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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 - } - } - } - }, - "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": ["dfe16215433b"], - "payloads": ["b42c8edc0d53"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.prelude:views-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1"], - "payloads": ["b42c8edc0d53", "15cb97c93333"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.prelude:table-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc" - ] - } - }, - { - "id": "tk-project-board-load.prelude:cleanup", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581", "bafe760119a6"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0", "be93253869e6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "da1ff0cf92cb", - "443c462833d9" - ] - } - }, - { - "id": "tk-project-board-load.normal:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "ae89e058b351" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4c9b1e4ad1f5", - "0af48d475813", - "e87bea4bcd3c", - "0056704adc0b", - "97bc7dc12b92", - "3493818a7239" - ] - } - }, - { - "id": "tk-project-board-load.result-absent:paste-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581", "c14b88cb8a3c"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0", "be93253869e6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "afec7622eabf", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "e5561b967e66", - "443c462833d9" - ] - } - }, - { - "id": "tk-project-board-load.result-null:paste-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581", "df1869ad0832"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0", "be93253869e6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "afec7622eabf", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "e5561b967e66", - "443c462833d9" - ] - } - }, - { - "id": "tk-project-board-load.inner-ok-missing:paste-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581", "739b3c66b6a2"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0", "be93253869e6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "afec7622eabf", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "e5561b967e66", - "443c462833d9" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-string-error:paste-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581", "dbfc3ca85bba"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0", "be93253869e6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "afec7622eabf", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "e5561b967e66", - "443c462833d9" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-object-error:paste-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581", "e0b72749150e"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0", "be93253869e6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "542d281c736b", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "cb9760e05f8b", - "443c462833d9" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused:paste-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581", "7aa0558cb955"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0", "be93253869e6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "9fa2b69acf20", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "391bce43fe1e", - "443c462833d9" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused-no-message:paste-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581", "b9a0bb850981"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0", "be93253869e6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "7077303e9304", - "443c462833d9" - ] - } - }, - { - "id": "tk-project-board-load.method-not-found:paste-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581", "3a7b38a0c9ac"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0", "be93253869e6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "933fa40d28dd", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "cdbe61ef88d1", - "443c462833d9" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection:paste-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581", "0ca4eea3be22"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0", "be93253869e6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "d76c24e12352", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "788e250ac87a", - "443c462833d9" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection-no-message:paste-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581", "31ab0657cc7f"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0", "be93253869e6"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "7077303e9304", - "443c462833d9" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 3a719362572..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-board-load-github.project.viewtable-1.json +++ /dev/null @@ -1,2158 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-board-load", - "family": "tasks.project-board-load", - "namedDeltas": [], - "values": { - "0056704adc0b": { - "name": "githubProjectTable", - "ordinal": 31, - "value": { - "$rpc": "null" - } - }, - "03fc33b06333": { - "name": "githubProjectPasteError", - "ordinal": 17, - "value": "" - }, - "060dcedb3fdb": { - "name": "githubProjectError", - "ordinal": 10, - "value": "" - }, - "0af48d475813": { - "name": "appliedGithubProjectSearch", - "ordinal": 29, - "value": { - "$rpc": "undefined" - } - }, - "0d97c3fd4fe1": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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 - } - } - }, - "0f1aa264f581": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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 - } - } - } - }, - "15cb97c93333": { - "name": "github.project.listViews#1", - "ordinal": 8, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.enterprise.test\",\"ownerType\":\"organization\",\"projectNumber\":3}}" - }, - "170fad8cb36b": { - "name": "githubProjectPartialFailures", - "ordinal": 6, - "value": [] - }, - "1b3350f71e56": { - "name": "githubProjectError", - "ordinal": 19, - "value": "" - }, - "1cb3b185586b": { - "name": "githubProjectLoading", - "ordinal": 31, - "value": false - }, - "2085118de92f": { - "name": "githubProjectError", - "ordinal": 1, - "value": "" - }, - "20a31104f552": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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 - } - } - }, - "223225c09f07": { - "name": "githubProjectSearch", - "ordinal": 29, - "value": "" - }, - "225520fed6bc": { - "name": "githubProjectError", - "ordinal": 14, - "value": "Unknown method" - }, - "24c9c9ebd660": { - "name": "githubProjectError", - "ordinal": 14, - "value": "" - }, - "255654e42ca3": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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 - } - } - } - }, - "26921f3a7c09": { - "name": "githubProjectPasteError", - "ordinal": 18, - "value": "" - }, - "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 - } - ] - }, - "2f290fa2acf5": { - "name": "githubProjectLoading", - "ordinal": 9, - "value": true - }, - "314fcc8d93cf": { - "name": "githubProjectError", - "ordinal": 14, - "value": "inner refused" - }, - "32e88f5c4657": { - "name": "githubProjectPasteInput", - "ordinal": 21, - "value": "" - }, - "3493818a7239": { - "name": "githubProjectPasteBusy", - "ordinal": 33, - "value": false - }, - "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 - } - ] - }, - "386bb2eaf03b": { - "name": "githubProjectError", - "ordinal": 14, - "value": "transport failure" - }, - "3985399034a2": { - "name": "githubProjectPasteBusy", - "ordinal": 17, - "value": true - }, - "3a8617cc8fd8": { - "name": "githubProjectSearch", - "ordinal": 14, - "value": "is:open" - }, - "3b234269eaf1": { - "error": "inner refused", - "loading": false, - "pasteError": "", - "projects": [ - { - "host": "github.com", - "number": 3, - "owner": "owner", - "ownerType": "organization", - "title": "Board" - } - ], - "table": { - "$rpc": "null" - }, - "views": [] - }, - "40f6e42cd4ab": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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 - } - } - }, - "4809ea7ad5b0": { - "name": "github.project.viewTable#1", - "ordinal": 12, - "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\"}}" - }, - "4c9b1e4ad1f5": { - "name": "githubProjectViews", - "ordinal": 28, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "4dd8cc8f777d": { - "name": "appliedGithubProjectSearch", - "ordinal": 28, - "value": { - "$rpc": "undefined" - } - }, - "4dff29ea88de": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.resolveRef\",\"params\":{\"input\":\"https://github.com/orgs/owner/projects/3\",\"host\":\"github.com\"}}" - }, - "557d7f2cc92b": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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 - } - } - }, - "5a7676ce26d6": { - "name": "githubProjectPasteBusy", - "ordinal": 32, - "value": false - }, - "5c93fbf94a2d": { - "name": "githubProjectTable", - "ordinal": 30, - "value": { - "$rpc": "null" - } - }, - "684390d0103b": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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 - } - } - }, - "685bc2bda05d": { - "name": "githubProjects", - "ordinal": 5, - "value": [ - { - "host": "github.com", - "number": 3, - "owner": "owner", - "ownerType": "organization", - "title": "Board" - } - ] - }, - "6b03ace1146a": { - "name": "githubProjectError", - "ordinal": 25, - "value": "" - }, - "6d7ebc9b7830": { - "name": "github.project.listViews#2", - "ordinal": 25, - "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 - } - ] - } - } - } - }, - "76df36bab005": { - "error": "The host sent a reply this app could not read (github.project.viewTable)", - "loading": false, - "pasteError": "", - "projects": [ - { - "host": "github.com", - "number": 3, - "owner": "owner", - "ownerType": "organization", - "title": "Board" - } - ], - "table": { - "$rpc": "null" - }, - "views": [] - }, - "7733d6566538": { - "name": "githubProjectError", - "ordinal": 14, - "value": "outer refused" - }, - "79fdb5f09c0a": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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" - } - } - } - }, - "7d488eda1d1c": { - "name": "githubProjectViews", - "ordinal": 15, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "7d7e6f5ce421": { - "name": "github.project.resolveRef#1", - "ordinal": 19, - "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 - } - } - } - }, - "842c950ee7cc": { - "name": "githubProjectLoading", - "ordinal": 16, - "value": false - }, - "853d951cf70a": { - "name": "githubProjectError", - "ordinal": 18, - "value": "" - }, - "8a0577280bad": { - "name": "showGitHubProjectPicker", - "ordinal": 23, - "value": false - }, - "8dd2b5b6a8af": { - "name": "githubProjectError", - "ordinal": 14, - "value": "Connection closed" - }, - "97bc7dc12b92": { - "name": "githubProjectLoading", - "ordinal": 32, - "value": false - }, - "9ac407eccd6f": { - "error": "", - "loading": true, - "pasteError": "", - "projects": [ - { - "host": "github.com", - "number": 3, - "owner": "owner", - "ownerType": "organization", - "title": "Board" - } - ], - "table": { - "$rpc": "null" - }, - "views": [] - }, - "9f9a21ac7b9e": { - "name": "github.project.listViews#2", - "ordinal": 27, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.com\",\"ownerType\":\"organization\",\"projectNumber\":3}}" - }, - "9fca7187b60f": { - "name": "githubProjectError", - "ordinal": 14, - "value": "The host sent a reply this app could not read (github.project.viewTable)" - }, - "a4635ab3551f": { - "name": "githubProjectLoading", - "ordinal": 15, - "value": false - }, - "a5a3530ec11c": { - "name": "githubProjectPartialFailures", - "ordinal": 2, - "value": [] - }, - "ab1b10183665": { - "name": "githubProjectLoading", - "ordinal": 24, - "value": true - }, - "ac891a7d42d5": { - "error": "transport failure", - "loading": false, - "pasteError": "", - "projects": [ - { - "host": "github.com", - "number": 3, - "owner": "owner", - "ownerType": "organization", - "title": "Board" - } - ], - "table": { - "$rpc": "null" - }, - "views": [] - }, - "ae89e058b351": { - "name": "github.project.listViews#2", - "ordinal": 26, - "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 - } - ] - } - } - } - }, - "aefed6d1365a": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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 - } - } - }, - "b0c25dac9d8e": { - "name": "github.project.listViews#2", - "ordinal": 26, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listViews\",\"params\":{\"owner\":\"owner\",\"host\":\"github.com\",\"ownerType\":\"organization\",\"projectNumber\":3}}" - }, - "b42c8edc0d53": { - "name": "github.project.listAccessible#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAccessible\",\"params\":{\"host\":\"github.com\"}}" - }, - "b5f49e20fef1": { - "name": "showGitHubProjectPicker", - "ordinal": 22, - "value": false - }, - "be0da5b53ffb": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "be93253869e6": { - "name": "github.project.resolveRef#1", - "ordinal": 21, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.resolveRef\",\"params\":{\"input\":\"https://github.com/orgs/owner/projects/3\",\"host\":\"github.com\"}}" - }, - "c5c018cf9a70": { - "name": "githubProjectTable", - "ordinal": 13, - "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 - } - } - }, - "c930bdc29ecd": { - "error": "Unknown method", - "loading": false, - "pasteError": "", - "projects": [ - { - "host": "github.com", - "number": 3, - "owner": "owner", - "ownerType": "organization", - "title": "Board" - } - ], - "table": { - "$rpc": "null" - }, - "views": [] - }, - "cf71fba0b2df": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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" - } - } - } - }, - "d0248d16609f": { - "name": "githubProjectViews", - "ordinal": 27, - "value": [ - { - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - ] - }, - "d254913957c1": { - "name": "github.project.listViews#1", - "ordinal": 7, - "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 - } - ] - } - } - } - }, - "d494afc83352": { - "name": "githubProjectError", - "ordinal": 24, - "value": "" - }, - "dc8dd7739c49": { - "name": "githubProjectPasteInput", - "ordinal": 22, - "value": "" - }, - "dfe16215433b": { - "name": "github.project.listAccessible#1", - "ordinal": 3, - "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" - } - ] - } - } - } - }, - "e585e7eb63ee": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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 - } - } - } - }, - "e87bea4bcd3c": { - "name": "githubProjectSearch", - "ordinal": 30, - "value": "" - }, - "ea31cb0db515": { - "error": "outer refused", - "loading": false, - "pasteError": "", - "projects": [ - { - "host": "github.com", - "number": 3, - "owner": "owner", - "ownerType": "organization", - "title": "Board" - } - ], - "table": { - "$rpc": "null" - }, - "views": [] - }, - "ea8f8a6f07b1": { - "name": "githubProjectPasteBusy", - "ordinal": 16, - "value": true - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f6003aed2098": { - "name": "github.project.resolveRef#1", - "ordinal": 20, - "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 - } - } - } - }, - "f79f5682a27b": { - "name": "githubProjectLoading", - "ordinal": 23, - "value": true - }, - "fcd647d64faf": { - "name": "githubProjectTable", - "ordinal": 13, - "value": { - "$rpc": "null" - } - }, - "fe7fc1853f9e": { - "name": "github.project.viewTable#1", - "ordinal": 11, - "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 - } - } - }, - "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": ["dfe16215433b"], - "payloads": ["b42c8edc0d53"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.prelude:views-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1"], - "payloads": ["b42c8edc0d53", "15cb97c93333"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb" - }, - "state": "ff43b5ec92a9", - "effects": ["2085118de92f", "a5a3530ec11c", "685bc2bda05d", "170fad8cb36b"] - } - }, - { - "id": "tk-project-board-load.prelude:cleanup", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "40f6e42cd4ab"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "9ac407eccd6f", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "8dd2b5b6a8af", - "a4635ab3551f" - ] - } - }, - { - "id": "tk-project-board-load.normal:table-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0f1aa264f581"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "2ab1b35ff194", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc" - ] - } - }, - { - "id": "tk-project-board-load.normal:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0f1aa264f581", - "f6003aed2098", - "ae89e058b351" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "be93253869e6", - "9f9a21ac7b9e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "c5c018cf9a70", - "3a8617cc8fd8", - "7d488eda1d1c", - "842c950ee7cc", - "3985399034a2", - "26921f3a7c09", - "1b3350f71e56", - "dc8dd7739c49", - "8a0577280bad", - "ab1b10183665", - "6b03ace1146a", - "4c9b1e4ad1f5", - "0af48d475813", - "e87bea4bcd3c", - "0056704adc0b", - "97bc7dc12b92", - "3493818a7239" - ] - } - }, - { - "id": "tk-project-board-load.result-absent:table-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "557d7f2cc92b"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "76df36bab005", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "9fca7187b60f", - "a4635ab3551f" - ] - } - }, - { - "id": "tk-project-board-load.result-absent:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "557d7f2cc92b", - "7d7e6f5ce421", - "6d7ebc9b7830" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "4dff29ea88de", - "b0c25dac9d8e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "9fca7187b60f", - "a4635ab3551f", - "ea8f8a6f07b1", - "03fc33b06333", - "853d951cf70a", - "32e88f5c4657", - "b5f49e20fef1", - "f79f5682a27b", - "d494afc83352", - "d0248d16609f", - "4dd8cc8f777d", - "223225c09f07", - "5c93fbf94a2d", - "1cb3b185586b", - "5a7676ce26d6" - ] - } - }, - { - "id": "tk-project-board-load.result-null:table-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "79fdb5f09c0a"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "76df36bab005", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "9fca7187b60f", - "a4635ab3551f" - ] - } - }, - { - "id": "tk-project-board-load.result-null:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "79fdb5f09c0a", - "7d7e6f5ce421", - "6d7ebc9b7830" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "4dff29ea88de", - "b0c25dac9d8e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "9fca7187b60f", - "a4635ab3551f", - "ea8f8a6f07b1", - "03fc33b06333", - "853d951cf70a", - "32e88f5c4657", - "b5f49e20fef1", - "f79f5682a27b", - "d494afc83352", - "d0248d16609f", - "4dd8cc8f777d", - "223225c09f07", - "5c93fbf94a2d", - "1cb3b185586b", - "5a7676ce26d6" - ] - } - }, - { - "id": "tk-project-board-load.inner-ok-missing:table-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "cf71fba0b2df"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "76df36bab005", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "9fca7187b60f", - "a4635ab3551f" - ] - } - }, - { - "id": "tk-project-board-load.inner-ok-missing:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "cf71fba0b2df", - "7d7e6f5ce421", - "6d7ebc9b7830" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "4dff29ea88de", - "b0c25dac9d8e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "9fca7187b60f", - "a4635ab3551f", - "ea8f8a6f07b1", - "03fc33b06333", - "853d951cf70a", - "32e88f5c4657", - "b5f49e20fef1", - "f79f5682a27b", - "d494afc83352", - "d0248d16609f", - "4dd8cc8f777d", - "223225c09f07", - "5c93fbf94a2d", - "1cb3b185586b", - "5a7676ce26d6" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-string-error:table-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "255654e42ca3"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "76df36bab005", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "9fca7187b60f", - "a4635ab3551f" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-string-error:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "255654e42ca3", - "7d7e6f5ce421", - "6d7ebc9b7830" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "4dff29ea88de", - "b0c25dac9d8e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "9fca7187b60f", - "a4635ab3551f", - "ea8f8a6f07b1", - "03fc33b06333", - "853d951cf70a", - "32e88f5c4657", - "b5f49e20fef1", - "f79f5682a27b", - "d494afc83352", - "d0248d16609f", - "4dd8cc8f777d", - "223225c09f07", - "5c93fbf94a2d", - "1cb3b185586b", - "5a7676ce26d6" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-object-error:table-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "e585e7eb63ee"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "3b234269eaf1", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "314fcc8d93cf", - "a4635ab3551f" - ] - } - }, - { - "id": "tk-project-board-load.inner-false-object-error:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "e585e7eb63ee", - "7d7e6f5ce421", - "6d7ebc9b7830" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "4dff29ea88de", - "b0c25dac9d8e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "314fcc8d93cf", - "a4635ab3551f", - "ea8f8a6f07b1", - "03fc33b06333", - "853d951cf70a", - "32e88f5c4657", - "b5f49e20fef1", - "f79f5682a27b", - "d494afc83352", - "d0248d16609f", - "4dd8cc8f777d", - "223225c09f07", - "5c93fbf94a2d", - "1cb3b185586b", - "5a7676ce26d6" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused:table-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "fe7fc1853f9e"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "ea31cb0db515", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "7733d6566538", - "a4635ab3551f" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "fe7fc1853f9e", - "7d7e6f5ce421", - "6d7ebc9b7830" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "4dff29ea88de", - "b0c25dac9d8e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "7733d6566538", - "a4635ab3551f", - "ea8f8a6f07b1", - "03fc33b06333", - "853d951cf70a", - "32e88f5c4657", - "b5f49e20fef1", - "f79f5682a27b", - "d494afc83352", - "d0248d16609f", - "4dd8cc8f777d", - "223225c09f07", - "5c93fbf94a2d", - "1cb3b185586b", - "5a7676ce26d6" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused-no-message:table-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "aefed6d1365a"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "ff43b5ec92a9", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "24c9c9ebd660", - "a4635ab3551f" - ] - } - }, - { - "id": "tk-project-board-load.outer-refused-no-message:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "aefed6d1365a", - "7d7e6f5ce421", - "6d7ebc9b7830" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "4dff29ea88de", - "b0c25dac9d8e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "24c9c9ebd660", - "a4635ab3551f", - "ea8f8a6f07b1", - "03fc33b06333", - "853d951cf70a", - "32e88f5c4657", - "b5f49e20fef1", - "f79f5682a27b", - "d494afc83352", - "d0248d16609f", - "4dd8cc8f777d", - "223225c09f07", - "5c93fbf94a2d", - "1cb3b185586b", - "5a7676ce26d6" - ] - } - }, - { - "id": "tk-project-board-load.method-not-found:table-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "0d97c3fd4fe1"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "c930bdc29ecd", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "225520fed6bc", - "a4635ab3551f" - ] - } - }, - { - "id": "tk-project-board-load.method-not-found:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "0d97c3fd4fe1", - "7d7e6f5ce421", - "6d7ebc9b7830" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "4dff29ea88de", - "b0c25dac9d8e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "225520fed6bc", - "a4635ab3551f", - "ea8f8a6f07b1", - "03fc33b06333", - "853d951cf70a", - "32e88f5c4657", - "b5f49e20fef1", - "f79f5682a27b", - "d494afc83352", - "d0248d16609f", - "4dd8cc8f777d", - "223225c09f07", - "5c93fbf94a2d", - "1cb3b185586b", - "5a7676ce26d6" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection:table-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "684390d0103b"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "ac891a7d42d5", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "386bb2eaf03b", - "a4635ab3551f" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "684390d0103b", - "7d7e6f5ce421", - "6d7ebc9b7830" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "4dff29ea88de", - "b0c25dac9d8e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "386bb2eaf03b", - "a4635ab3551f", - "ea8f8a6f07b1", - "03fc33b06333", - "853d951cf70a", - "32e88f5c4657", - "b5f49e20fef1", - "f79f5682a27b", - "d494afc83352", - "d0248d16609f", - "4dd8cc8f777d", - "223225c09f07", - "5c93fbf94a2d", - "1cb3b185586b", - "5a7676ce26d6" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection-no-message:table-settled", - "observation": { - "sender": ["dfe16215433b", "d254913957c1", "20a31104f552"], - "payloads": ["b42c8edc0d53", "15cb97c93333", "4809ea7ad5b0"], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a" - }, - "state": "ff43b5ec92a9", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "24c9c9ebd660", - "a4635ab3551f" - ] - } - }, - { - "id": "tk-project-board-load.transport-rejection-no-message:paste-settled", - "observation": { - "sender": [ - "dfe16215433b", - "d254913957c1", - "20a31104f552", - "7d7e6f5ce421", - "6d7ebc9b7830" - ], - "payloads": [ - "b42c8edc0d53", - "15cb97c93333", - "4809ea7ad5b0", - "4dff29ea88de", - "b0c25dac9d8e" - ], - "settlements": { - "mount": "eb79a9b3682a", - "projects-0": "eb79a9b3682a", - "views-1": "be0da5b53ffb", - "table-2": "eb79a9b3682a", - "paste-3": "eb79a9b3682a" - }, - "state": "376c9e8bd72a", - "effects": [ - "2085118de92f", - "a5a3530ec11c", - "685bc2bda05d", - "170fad8cb36b", - "2f290fa2acf5", - "060dcedb3fdb", - "fcd647d64faf", - "24c9c9ebd660", - "a4635ab3551f", - "ea8f8a6f07b1", - "03fc33b06333", - "853d951cf70a", - "32e88f5c4657", - "b5f49e20fef1", - "f79f5682a27b", - "d494afc83352", - "d0248d16609f", - "4dd8cc8f777d", - "223225c09f07", - "5c93fbf94a2d", - "1cb3b185586b", - "5a7676ce26d6" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 197c556f4ad..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-repo-slugs-github.reposlug-1.json +++ /dev/null @@ -1,606 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-repo-slugs", - "family": "tasks.project-repo-slugs", - "namedDeltas": [], - "values": { - "04de791c7267": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - }, - "09f0440141bc": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - }, - "1b6c8cbfdc90": { - "cache": { - "repo-1": { - "failed": true, - "path": "/repo", - "repository": { - "$rpc": "null" - } - } - } - }, - "34f8e6cb9199": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - }, - "3df58008cdfa": { - "name": "githubRepoSlugCache", - "ordinal": 3, - "value": { - "repo-1": { - "path": "/repo", - "repository": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - } - } - } - }, - "470baf1783c9": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - }, - "49d6f5f60c9c": { - "name": "github.repoSlug#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.repoSlug\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "53a39b53da01": { - "name": "githubRepoSlugCache", - "ordinal": 3, - "value": { - "repo-1": { - "failed": true, - "path": "/repo", - "repository": { - "$rpc": "null" - } - } - } - }, - "53a57abd997f": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - }, - "5849ae080719": { - "name": "githubRepoSlugCache", - "ordinal": 3, - "value": { - "repo-1": { - "path": "/repo", - "repository": { - "$rpc": "null" - } - } - } - }, - "60d253ed9645": { - "name": "github.repoSlug#1", - "ordinal": 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" - } - } - } - }, - "8dd2c55e3056": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - } - }, - "a4483defdd13": { - "cache": { - "repo-1": { - "path": "/repo", - "repository": { - "$rpc": "null" - } - } - } - }, - "bdec8bbb3c04": { - "cache": { - "repo-1": { - "path": "/repo", - "repository": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - } - } - } - }, - "bef9c740ecd1": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - }, - "e092ebfbc64c": { - "name": "github.repoSlug#1", - "ordinal": 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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec1ed482a1b7": { - "name": "github.repoSlug#1", - "ordinal": 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" - } - } - } - }, - "f1cf721a882e": { - "name": "github.repoSlug#1", - "ordinal": 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": ["60d253ed9645"], - "payloads": ["49d6f5f60c9c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "bdec8bbb3c04", - "effects": ["3df58008cdfa"] - } - }, - { - "id": "tk-project-repo-slugs.result-absent:mounted", - "observation": { - "sender": ["34f8e6cb9199"], - "payloads": ["49d6f5f60c9c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1b6c8cbfdc90", - "effects": ["53a39b53da01"] - } - }, - { - "id": "tk-project-repo-slugs.result-null:mounted", - "observation": { - "sender": ["ec1ed482a1b7"], - "payloads": ["49d6f5f60c9c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a4483defdd13", - "effects": ["5849ae080719"] - } - }, - { - "id": "tk-project-repo-slugs.inner-ok-missing:mounted", - "observation": { - "sender": ["f1cf721a882e"], - "payloads": ["49d6f5f60c9c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1b6c8cbfdc90", - "effects": ["53a39b53da01"] - } - }, - { - "id": "tk-project-repo-slugs.inner-false-string-error:mounted", - "observation": { - "sender": ["8dd2c55e3056"], - "payloads": ["49d6f5f60c9c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1b6c8cbfdc90", - "effects": ["53a39b53da01"] - } - }, - { - "id": "tk-project-repo-slugs.inner-false-object-error:mounted", - "observation": { - "sender": ["e092ebfbc64c"], - "payloads": ["49d6f5f60c9c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1b6c8cbfdc90", - "effects": ["53a39b53da01"] - } - }, - { - "id": "tk-project-repo-slugs.outer-refused:mounted", - "observation": { - "sender": ["09f0440141bc"], - "payloads": ["49d6f5f60c9c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1b6c8cbfdc90", - "effects": ["53a39b53da01"] - } - }, - { - "id": "tk-project-repo-slugs.outer-refused-no-message:mounted", - "observation": { - "sender": ["bef9c740ecd1"], - "payloads": ["49d6f5f60c9c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1b6c8cbfdc90", - "effects": ["53a39b53da01"] - } - }, - { - "id": "tk-project-repo-slugs.method-not-found:mounted", - "observation": { - "sender": ["53a57abd997f"], - "payloads": ["49d6f5f60c9c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1b6c8cbfdc90", - "effects": ["53a39b53da01"] - } - }, - { - "id": "tk-project-repo-slugs.transport-rejection:mounted", - "observation": { - "sender": ["04de791c7267"], - "payloads": ["49d6f5f60c9c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1b6c8cbfdc90", - "effects": ["53a39b53da01"] - } - }, - { - "id": "tk-project-repo-slugs.transport-rejection-no-message:mounted", - "observation": { - "sender": ["470baf1783c9"], - "payloads": ["49d6f5f60c9c"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1b6c8cbfdc90", - "effects": ["53a39b53da01"] - } - } - ] - } -} 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 deleted file mode 100644 index 7929e93de8d..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-issue-github.project.addissuecommentbyslug-1.json +++ /dev/null @@ -1,2382 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-comments-issue", - "family": "tasks.project-row-comments-issue", - "namedDeltas": [], - "values": { - "03c9f766ecc2": { - "name": "projectRowDetailError", - "ordinal": 10, - "value": "Connection closed" - }, - "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" - } - }, - "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" - } - }, - "1bf0937a02b9": { - "name": "projectMutating", - "ordinal": 20, - "value": false - }, - "21dd73202dc8": { - "name": "projectEditingCommentDraft", - "ordinal": 19, - "value": "" - }, - "22ce9da4a667": { - "name": "projectRowDetailError", - "ordinal": 10, - "value": "Unknown method" - }, - "2568908fc63f": { - "name": "projectRowDetail", - "ordinal": 16, - "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": [] - } - }, - "2cf01054e36b": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 8, - "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 - } - } - }, - "312bb94e3469": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 8, - "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 - } - } - }, - "3d64c0aecd5d": { - "name": "projectRowDetail", - "ordinal": 17, - "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": [] - } - }, - "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" - } - }, - "441d3ad70c01": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 8, - "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 - } - } - }, - "46bda137acdb": { - "name": "projectMutating", - "ordinal": 12, - "value": true - }, - "47573f68feea": { - "name": "projectMutating", - "ordinal": 11, - "value": false - }, - "47fae979383a": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "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 - } - } - } - }, - "4ae80deb1b25": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 8, - "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 - } - } - }, - "4d199ddf02e0": { - "name": "projectEditingCommentDraft", - "ordinal": 18, - "value": "" - }, - "503675a0f449": { - "name": "projectRowItem", - "ordinal": 4, - "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" - } - }, - "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" - } - }, - "5c30b4794b57": { - "name": "projectRowDetailError", - "ordinal": 14, - "value": "" - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": true - }, - "62af4d257032": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 3, - "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\"}}}" - }, - "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" - } - }, - "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" - } - }, - "7217cd2f7c0e": { - "name": "projectRowDetailError", - "ordinal": 10, - "value": "The host sent a reply this app could not read (github.project.addIssueCommentBySlug)" - }, - "72332e237f1f": { - "name": "projectMutating", - "ordinal": 6, - "value": false - }, - "7440f0f1bab9": { - "name": "projectMutating", - "ordinal": 19, - "value": false - }, - "777239b1f74f": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 8, - "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 - } - } - } - }, - "79deaea0e2d8": { - "name": "projectEditingCommentId", - "ordinal": 17, - "value": { - "$rpc": "null" - } - }, - "7b851c16d8c4": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 8, - "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 - } - } - } - }, - "7e5186008bbd": { - "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": "The host sent a reply this app could not read (github.project.addIssueCommentBySlug)", - "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" - } - }, - "7fea4481563b": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 8, - "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" - } - } - } - }, - "8633b6c5dd75": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 16, - "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\"}}" - }, - "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" - } - }, - "920140e3c86c": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 8, - "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 - } - } - }, - "a7a04016f46a": { - "name": "projectRowDetail", - "ordinal": 11, - "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": [] - } - }, - "a8ff11b6adce": { - "name": "projectMutating", - "ordinal": 13, - "value": true - }, - "acaec364fa34": { - "name": "projectRowDetailError", - "ordinal": 10, - "value": "transport failure" - }, - "b0ad1ac4ca7f": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 14, - "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 - } - } - } - }, - "b2d2c9f55277": { - "name": "githubProjectTable", - "ordinal": 5, - "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 - } - } - }, - "b573156c1b39": { - "name": "projectRowDetailError", - "ordinal": 11, - "value": "Failed to add comment" - }, - "b63d5911050c": { - "name": "projectRowDetailError", - "ordinal": 13, - "value": "" - }, - "bbad0ce627fd": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 8, - "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 - } - } - }, - "bd1813cf4a58": { - "name": "projectRowDetail", - "ordinal": 17, - "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": [] - } - }, - "c31e74598cf0": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 8, - "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 - } - } - }, - "c44f5447f8c6": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 8, - "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" - } - } - } - }, - "ce1f6d47985f": { - "name": "projectMutating", - "ordinal": 12, - "value": false - }, - "ce418d51fa61": { - "name": "projectRowDetailError", - "ordinal": 10, - "value": "" - }, - "cf9340069209": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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\"}}" - }, - "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" - } - }, - "d5666167e2b3": { - "name": "projectRowDetailError", - "ordinal": 10, - "value": "outer refused" - }, - "d88100003604": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 8, - "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 - } - } - } - }, - "e144dcda2cc3": { - "name": "reply-salvage", - "ordinal": 10, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.project.addIssueCommentBySlug", - "operation": "github.project.add-issue-comment", - "variant": "github-project-issue-comment" - } - }, - "e52eb58ab49e": { - "name": "projectCommentDraft", - "ordinal": 10, - "value": "" - }, - "e52ec7318625": { - "name": "projectRowDetailError", - "ordinal": 10, - "value": "inner refused" - }, - "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" - } - }, - "f39ed9ab521e": { - "name": "projectMutating", - "ordinal": 7, - "value": true - }, - "f3c022b108d0": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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 - } - } - } - }, - "fc8440fdfe7f": { - "name": "projectEditingCommentId", - "ordinal": 18, - "value": { - "$rpc": "null" - } - }, - "ffd6af1b42e1": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 9, - "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\"}}" - } - }, - "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": ["47fae979383a"], - "payloads": ["62af4d257032"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "9188c83ef653", - "effects": ["5d32aa29303c", "503675a0f449", "b2d2c9f55277", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-comments-issue.prelude:cleanup", - "observation": { - "sender": ["47fae979383a", "441d3ad70c01"], - "payloads": ["62af4d257032", "ffd6af1b42e1"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "ec5c4f3719fc", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "03c9f766ecc2", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.normal:add-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f"], - "payloads": ["62af4d257032", "ffd6af1b42e1"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "5198e17de9b3", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-comments-issue.normal:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f", "f3c022b108d0"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "527330ed2103", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "3d64c0aecd5d", - "fc8440fdfe7f", - "21dd73202dc8", - "1bf0937a02b9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.result-absent:add-comment-settled", - "observation": { - "sender": ["47fae979383a", "c31e74598cf0"], - "payloads": ["62af4d257032", "ffd6af1b42e1"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "7e5186008bbd", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "7217cd2f7c0e", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.result-absent:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "c31e74598cf0", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "d4cb8b6bfc20", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "7217cd2f7c0e", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "2568908fc63f", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.result-null:add-comment-settled", - "observation": { - "sender": ["47fae979383a", "c44f5447f8c6"], - "payloads": ["62af4d257032", "ffd6af1b42e1"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "7e5186008bbd", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "7217cd2f7c0e", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.result-null:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "c44f5447f8c6", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "d4cb8b6bfc20", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "7217cd2f7c0e", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "2568908fc63f", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-ok-missing:add-comment-settled", - "observation": { - "sender": ["47fae979383a", "7fea4481563b"], - "payloads": ["62af4d257032", "ffd6af1b42e1"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "144eca616682", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e144dcda2cc3", - "b573156c1b39", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-ok-missing:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "7fea4481563b", "f3c022b108d0"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "d4cb8b6bfc20", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e144dcda2cc3", - "b573156c1b39", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "bd1813cf4a58", - "fc8440fdfe7f", - "21dd73202dc8", - "1bf0937a02b9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-false-string-error:add-comment-settled", - "observation": { - "sender": ["47fae979383a", "7b851c16d8c4"], - "payloads": ["62af4d257032", "ffd6af1b42e1"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "144eca616682", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e144dcda2cc3", - "b573156c1b39", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-false-string-error:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "7b851c16d8c4", "f3c022b108d0"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "d4cb8b6bfc20", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e144dcda2cc3", - "b573156c1b39", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "bd1813cf4a58", - "fc8440fdfe7f", - "21dd73202dc8", - "1bf0937a02b9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-false-object-error:add-comment-settled", - "observation": { - "sender": ["47fae979383a", "d88100003604"], - "payloads": ["62af4d257032", "ffd6af1b42e1"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "6732613ec527", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52ec7318625", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-false-object-error:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "d88100003604", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "d4cb8b6bfc20", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52ec7318625", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "2568908fc63f", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.outer-refused:add-comment-settled", - "observation": { - "sender": ["47fae979383a", "4ae80deb1b25"], - "payloads": ["62af4d257032", "ffd6af1b42e1"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "41b07d08a3e2", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "d5666167e2b3", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.outer-refused:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "4ae80deb1b25", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "d4cb8b6bfc20", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "d5666167e2b3", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "2568908fc63f", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.outer-refused-no-message:add-comment-settled", - "observation": { - "sender": ["47fae979383a", "2cf01054e36b"], - "payloads": ["62af4d257032", "ffd6af1b42e1"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "9188c83ef653", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "ce418d51fa61", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.outer-refused-no-message:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "2cf01054e36b", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "d4cb8b6bfc20", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "ce418d51fa61", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "2568908fc63f", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.method-not-found:add-comment-settled", - "observation": { - "sender": ["47fae979383a", "920140e3c86c"], - "payloads": ["62af4d257032", "ffd6af1b42e1"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "6ef3aff4fc24", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "22ce9da4a667", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.method-not-found:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "920140e3c86c", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "d4cb8b6bfc20", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "22ce9da4a667", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "2568908fc63f", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.transport-rejection:add-comment-settled", - "observation": { - "sender": ["47fae979383a", "312bb94e3469"], - "payloads": ["62af4d257032", "ffd6af1b42e1"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "0646472479ae", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "acaec364fa34", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.transport-rejection:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "312bb94e3469", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "d4cb8b6bfc20", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "acaec364fa34", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "2568908fc63f", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.transport-rejection-no-message:add-comment-settled", - "observation": { - "sender": ["47fae979383a", "bbad0ce627fd"], - "payloads": ["62af4d257032", "ffd6af1b42e1"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "9188c83ef653", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "ce418d51fa61", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.transport-rejection-no-message:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "bbad0ce627fd", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "d4cb8b6bfc20", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "ce418d51fa61", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "2568908fc63f", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - } - ] - } -} 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 deleted file mode 100644 index be0ed08cb6a..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-issue-github.project.updateissuebyslug-1.json +++ /dev/null @@ -1,3379 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-comments-issue", - "family": "tasks.project-row-comments-issue", - "namedDeltas": [], - "values": { - "067ebe5d9da8": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "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 - } - } - }, - "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" - } - }, - "11ca5361468e": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "outer refused" - }, - "169bf3fa2e59": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 17, - "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\"}}" - }, - "1bf0937a02b9": { - "name": "projectMutating", - "ordinal": 20, - "value": false - }, - "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" - } - }, - "21dd73202dc8": { - "name": "projectEditingCommentDraft", - "ordinal": 19, - "value": "" - }, - "25c096d77bae": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "transport failure" - }, - "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" - } - }, - "3081102388ad": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "inner refused" - }, - "349173b5b21b": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "" - }, - "3ac506983b49": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "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 - } - } - } - }, - "3bb32b07a770": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "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 - } - } - }, - "3d64c0aecd5d": { - "name": "projectRowDetail", - "ordinal": 17, - "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": [] - } - }, - "4123bc693ce4": { - "name": "projectMutating", - "ordinal": 14, - "value": true - }, - "4324304a281a": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "Unknown method" - }, - "440f9692bb00": { - "name": "projectCommentDraft", - "ordinal": 9, - "value": "" - }, - "46bda137acdb": { - "name": "projectMutating", - "ordinal": 12, - "value": true - }, - "47573f68feea": { - "name": "projectMutating", - "ordinal": 11, - "value": false - }, - "47fae979383a": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "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 - } - } - } - }, - "4817f206cb1e": { - "name": "projectRowDetail", - "ordinal": 18, - "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": [] - } - }, - "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" - } - }, - "4d199ddf02e0": { - "name": "projectEditingCommentDraft", - "ordinal": 18, - "value": "" - }, - "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" - } - }, - "4f83399f2bad": { - "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": "The host sent a reply this app could not read (github.project.updateIssueBySlug)", - "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" - } - }, - "503675a0f449": { - "name": "projectRowItem", - "ordinal": 4, - "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" - } - }, - "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" - } - }, - "5692863a2168": { - "name": "projectEditingCommentId", - "ordinal": 19, - "value": { - "$rpc": "null" - } - }, - "5b59376f85ae": { - "name": "projectRowDetail", - "ordinal": 16, - "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": [] - } - }, - "5c30b4794b57": { - "name": "projectRowDetailError", - "ordinal": 14, - "value": "" - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": true - }, - "62af4d257032": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 3, - "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\"}}}" - }, - "64a2f267d7a9": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "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 - } - } - }, - "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" - } - }, - "72332e237f1f": { - "name": "projectMutating", - "ordinal": 6, - "value": false - }, - "7440f0f1bab9": { - "name": "projectMutating", - "ordinal": 19, - "value": false - }, - "777239b1f74f": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 8, - "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 - } - } - } - }, - "7856115cca78": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "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 - } - } - }, - "79deaea0e2d8": { - "name": "projectEditingCommentId", - "ordinal": 17, - "value": { - "$rpc": "null" - } - }, - "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" - } - }, - "7e6aaed4b9f4": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 7, - "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 - } - } - } - }, - "810c401fc52a": { - "name": "reply-salvage", - "ordinal": 4, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.project.updateIssueBySlug", - "operation": "github.project.update-issue", - "variant": "github-project-updated-issue" - } - }, - "86052808f005": { - "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": "The host sent a reply this app could not read (github.project.updateIssueBySlug)", - "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" - } - }, - "8633b6c5dd75": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 16, - "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\"}}" - }, - "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" - } - }, - "9ec4dd82804a": { - "name": "projectRowDetail", - "ordinal": 10, - "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": [] - } - }, - "a15e0b2e3e3b": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 8, - "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\"}}" - }, - "a35480397ac4": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "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" - } - } - } - }, - "a735fd6aee5f": { - "name": "projectMutating", - "ordinal": 7, - "value": false - }, - "a7a04016f46a": { - "name": "projectRowDetail", - "ordinal": 11, - "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": [] - } - }, - "a8ff11b6adce": { - "name": "projectMutating", - "ordinal": 13, - "value": true - }, - "aa80e017aa7d": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "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 - } - } - } - }, - "aba945c58a7f": { - "name": "projectMutating", - "ordinal": 21, - "value": false - }, - "b0ad1ac4ca7f": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 14, - "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 - } - } - } - }, - "b0f2d0edec6a": { - "name": "projectMutating", - "ordinal": 8, - "value": true - }, - "b2d2c9f55277": { - "name": "githubProjectTable", - "ordinal": 5, - "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 - } - } - }, - "b63d5911050c": { - "name": "projectRowDetailError", - "ordinal": 13, - "value": "" - }, - "c10a7352e82b": { - "name": "projectEditingCommentDraft", - "ordinal": 20, - "value": "" - }, - "c302f0af45c2": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "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 - } - } - }, - "c99bbd5a8fc1": { - "name": "projectMutating", - "ordinal": 6, - "value": true - }, - "cb43ed5354b5": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "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 - } - } - }, - "cda7f7d6399d": { - "name": "projectRowItem", - "ordinal": 5, - "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" - } - }, - "ce1f6d47985f": { - "name": "projectMutating", - "ordinal": 12, - "value": false - }, - "cee96a551fcd": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "The host sent a reply this app could not read (github.project.updateIssueBySlug)" - }, - "cf9340069209": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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\"}}" - }, - "d09c526ea284": { - "name": "projectRowDetailError", - "ordinal": 15, - "value": "" - }, - "db73382687b9": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 9, - "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 - } - } - } - }, - "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" - } - }, - "dc4f6b699d4f": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "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" - } - } - } - }, - "e3180bc6526a": { - "name": "projectMutating", - "ordinal": 13, - "value": false - }, - "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" - } - }, - "e52eb58ab49e": { - "name": "projectCommentDraft", - "ordinal": 10, - "value": "" - }, - "e9296dde8e41": { - "name": "projectMutating", - "ordinal": 5, - "value": false - }, - "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" - } - }, - "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" - } - }, - "f190afd4da68": { - "name": "projectRowDetail", - "ordinal": 12, - "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": [] - } - }, - "f20fdbb89152": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 10, - "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\"}}" - }, - "f39ed9ab521e": { - "name": "projectMutating", - "ordinal": 7, - "value": true - }, - "f3c022b108d0": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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 - } - } - } - }, - "f810b66585bf": { - "name": "githubProjectTable", - "ordinal": 6, - "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 - } - } - }, - "fa58e3c23334": { - "name": "projectCommentDraft", - "ordinal": 11, - "value": "" - }, - "fc8440fdfe7f": { - "name": "projectEditingCommentId", - "ordinal": 18, - "value": { - "$rpc": "null" - } - }, - "fe37d4b9e3d4": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 16, - "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 - } - } - } - }, - "ffd6af1b42e1": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 9, - "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\"}}" - }, - "ffe14a16b6b6": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "Failed to update GitHub item" - } - }, - "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": ["47fae979383a"], - "payloads": ["62af4d257032"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "9188c83ef653", - "effects": ["5d32aa29303c", "503675a0f449", "b2d2c9f55277", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-comments-issue.normal:add-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f"], - "payloads": ["62af4d257032", "ffd6af1b42e1"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "5198e17de9b3", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-comments-issue.normal:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f", "f3c022b108d0"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "527330ed2103", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "3d64c0aecd5d", - "fc8440fdfe7f", - "21dd73202dc8", - "1bf0937a02b9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.result-absent:update-item-settled", - "observation": { - "sender": ["3bb32b07a770"], - "payloads": ["62af4d257032"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "86052808f005", - "effects": ["5d32aa29303c", "cee96a551fcd", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-comments-issue.result-absent:add-comment-settled", - "observation": { - "sender": ["3bb32b07a770", "7e6aaed4b9f4"], - "payloads": ["62af4d257032", "a15e0b2e3e3b"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "4f83399f2bad", - "effects": [ - "5d32aa29303c", - "cee96a551fcd", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.result-absent:update-comment-settled", - "observation": { - "sender": ["3bb32b07a770", "7e6aaed4b9f4", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "a15e0b2e3e3b", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "1c06180a60fe", - "effects": [ - "5d32aa29303c", - "cee96a551fcd", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "5b59376f85ae", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.result-null:update-item-settled", - "observation": { - "sender": ["dc4f6b699d4f"], - "payloads": ["62af4d257032"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "86052808f005", - "effects": ["5d32aa29303c", "cee96a551fcd", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-comments-issue.result-null:add-comment-settled", - "observation": { - "sender": ["dc4f6b699d4f", "7e6aaed4b9f4"], - "payloads": ["62af4d257032", "a15e0b2e3e3b"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "4f83399f2bad", - "effects": [ - "5d32aa29303c", - "cee96a551fcd", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.result-null:update-comment-settled", - "observation": { - "sender": ["dc4f6b699d4f", "7e6aaed4b9f4", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "a15e0b2e3e3b", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "1c06180a60fe", - "effects": [ - "5d32aa29303c", - "cee96a551fcd", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "5b59376f85ae", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-ok-missing:update-item-settled", - "observation": { - "sender": ["a35480397ac4"], - "payloads": ["62af4d257032"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "9188c83ef653", - "effects": [ - "5d32aa29303c", - "810c401fc52a", - "cda7f7d6399d", - "f810b66585bf", - "a735fd6aee5f" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-ok-missing:add-comment-settled", - "observation": { - "sender": ["a35480397ac4", "db73382687b9"], - "payloads": ["62af4d257032", "f20fdbb89152"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "5198e17de9b3", - "effects": [ - "5d32aa29303c", - "810c401fc52a", - "cda7f7d6399d", - "f810b66585bf", - "a735fd6aee5f", - "b0f2d0edec6a", - "fa58e3c23334", - "f190afd4da68", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-ok-missing:update-comment-settled", - "observation": { - "sender": ["a35480397ac4", "db73382687b9", "fe37d4b9e3d4"], - "payloads": ["62af4d257032", "f20fdbb89152", "169bf3fa2e59"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "527330ed2103", - "effects": [ - "5d32aa29303c", - "810c401fc52a", - "cda7f7d6399d", - "f810b66585bf", - "a735fd6aee5f", - "b0f2d0edec6a", - "fa58e3c23334", - "f190afd4da68", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "4817f206cb1e", - "5692863a2168", - "c10a7352e82b", - "aba945c58a7f" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-false-string-error:update-item-settled", - "observation": { - "sender": ["aa80e017aa7d"], - "payloads": ["62af4d257032"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "4e8e632ab029", - "effects": ["5d32aa29303c", "810c401fc52a", "ffe14a16b6b6", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-comments-issue.inner-false-string-error:add-comment-settled", - "observation": { - "sender": ["aa80e017aa7d", "777239b1f74f"], - "payloads": ["62af4d257032", "ffd6af1b42e1"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "1e1fa0e5367c", - "effects": [ - "5d32aa29303c", - "810c401fc52a", - "ffe14a16b6b6", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-false-string-error:update-comment-settled", - "observation": { - "sender": ["aa80e017aa7d", "777239b1f74f", "f3c022b108d0"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "1c06180a60fe", - "effects": [ - "5d32aa29303c", - "810c401fc52a", - "ffe14a16b6b6", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "3d64c0aecd5d", - "fc8440fdfe7f", - "21dd73202dc8", - "1bf0937a02b9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-false-object-error:update-item-settled", - "observation": { - "sender": ["3ac506983b49"], - "payloads": ["62af4d257032"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "2d926e5ab439", - "effects": ["5d32aa29303c", "3081102388ad", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-comments-issue.inner-false-object-error:add-comment-settled", - "observation": { - "sender": ["3ac506983b49", "7e6aaed4b9f4"], - "payloads": ["62af4d257032", "a15e0b2e3e3b"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "0ce270f34372", - "effects": [ - "5d32aa29303c", - "3081102388ad", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-false-object-error:update-comment-settled", - "observation": { - "sender": ["3ac506983b49", "7e6aaed4b9f4", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "a15e0b2e3e3b", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "1c06180a60fe", - "effects": [ - "5d32aa29303c", - "3081102388ad", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "5b59376f85ae", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.outer-refused:update-item-settled", - "observation": { - "sender": ["067ebe5d9da8"], - "payloads": ["62af4d257032"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "912346988e26", - "effects": ["5d32aa29303c", "11ca5361468e", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-comments-issue.outer-refused:add-comment-settled", - "observation": { - "sender": ["067ebe5d9da8", "7e6aaed4b9f4"], - "payloads": ["62af4d257032", "a15e0b2e3e3b"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "db89c82fef5f", - "effects": [ - "5d32aa29303c", - "11ca5361468e", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.outer-refused:update-comment-settled", - "observation": { - "sender": ["067ebe5d9da8", "7e6aaed4b9f4", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "a15e0b2e3e3b", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "1c06180a60fe", - "effects": [ - "5d32aa29303c", - "11ca5361468e", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "5b59376f85ae", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.outer-refused-no-message:update-item-settled", - "observation": { - "sender": ["64a2f267d7a9"], - "payloads": ["62af4d257032"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "e477ca22990a", - "effects": ["5d32aa29303c", "349173b5b21b", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-comments-issue.outer-refused-no-message:add-comment-settled", - "observation": { - "sender": ["64a2f267d7a9", "7e6aaed4b9f4"], - "payloads": ["62af4d257032", "a15e0b2e3e3b"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "ee3092e3ff92", - "effects": [ - "5d32aa29303c", - "349173b5b21b", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.outer-refused-no-message:update-comment-settled", - "observation": { - "sender": ["64a2f267d7a9", "7e6aaed4b9f4", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "a15e0b2e3e3b", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "1c06180a60fe", - "effects": [ - "5d32aa29303c", - "349173b5b21b", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "5b59376f85ae", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.method-not-found:update-item-settled", - "observation": { - "sender": ["7856115cca78"], - "payloads": ["62af4d257032"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "6eadb971d40a", - "effects": ["5d32aa29303c", "4324304a281a", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-comments-issue.method-not-found:add-comment-settled", - "observation": { - "sender": ["7856115cca78", "7e6aaed4b9f4"], - "payloads": ["62af4d257032", "a15e0b2e3e3b"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "483cdc3c1f58", - "effects": [ - "5d32aa29303c", - "4324304a281a", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.method-not-found:update-comment-settled", - "observation": { - "sender": ["7856115cca78", "7e6aaed4b9f4", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "a15e0b2e3e3b", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "1c06180a60fe", - "effects": [ - "5d32aa29303c", - "4324304a281a", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "5b59376f85ae", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.transport-rejection:update-item-settled", - "observation": { - "sender": ["cb43ed5354b5"], - "payloads": ["62af4d257032"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "e9a8d758f9c7", - "effects": ["5d32aa29303c", "25c096d77bae", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-comments-issue.transport-rejection:add-comment-settled", - "observation": { - "sender": ["cb43ed5354b5", "7e6aaed4b9f4"], - "payloads": ["62af4d257032", "a15e0b2e3e3b"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "7dbdb709990a", - "effects": [ - "5d32aa29303c", - "25c096d77bae", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.transport-rejection:update-comment-settled", - "observation": { - "sender": ["cb43ed5354b5", "7e6aaed4b9f4", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "a15e0b2e3e3b", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "1c06180a60fe", - "effects": [ - "5d32aa29303c", - "25c096d77bae", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "5b59376f85ae", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.transport-rejection-no-message:update-item-settled", - "observation": { - "sender": ["c302f0af45c2"], - "payloads": ["62af4d257032"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "e477ca22990a", - "effects": ["5d32aa29303c", "349173b5b21b", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-comments-issue.transport-rejection-no-message:add-comment-settled", - "observation": { - "sender": ["c302f0af45c2", "7e6aaed4b9f4"], - "payloads": ["62af4d257032", "a15e0b2e3e3b"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "ee3092e3ff92", - "effects": [ - "5d32aa29303c", - "349173b5b21b", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-comments-issue.transport-rejection-no-message:update-comment-settled", - "observation": { - "sender": ["c302f0af45c2", "7e6aaed4b9f4", "b0ad1ac4ca7f"], - "payloads": ["62af4d257032", "a15e0b2e3e3b", "cf9340069209"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "1c06180a60fe", - "effects": [ - "5d32aa29303c", - "349173b5b21b", - "e9296dde8e41", - "c99bbd5a8fc1", - "440f9692bb00", - "9ec4dd82804a", - "47573f68feea", - "46bda137acdb", - "b63d5911050c", - "5b59376f85ae", - "79deaea0e2d8", - "4d199ddf02e0", - "7440f0f1bab9" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 03136068ce5..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-issue-github.project.updateissuecommentbyslug-1.json +++ /dev/null @@ -1,1876 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-comments-issue", - "family": "tasks.project-row-comments-issue", - "namedDeltas": [], - "values": { - "0077c5f71b31": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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 - } - } - }, - "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" - } - }, - "17d4b39fc0aa": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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 - } - } - }, - "1bf0937a02b9": { - "name": "projectMutating", - "ordinal": 20, - "value": false - }, - "1cc38c8dde55": { - "name": "projectMutating", - "ordinal": 18, - "value": false - }, - "21dd73202dc8": { - "name": "projectEditingCommentDraft", - "ordinal": 19, - "value": "" - }, - "2dc6bc594542": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "outer refused" - }, - "3d2683002fd7": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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 - } - } - }, - "3d64c0aecd5d": { - "name": "projectRowDetail", - "ordinal": 17, - "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": [] - } - }, - "47fae979383a": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 2, - "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 - } - } - } - }, - "498ed63b1090": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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 - } - } - } - }, - "503675a0f449": { - "name": "projectRowItem", - "ordinal": 4, - "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" - } - }, - "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" - } - }, - "5c30b4794b57": { - "name": "projectRowDetailError", - "ordinal": 14, - "value": "" - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": true - }, - "62af4d257032": { - "name": "github.project.updateIssueBySlug#1", - "ordinal": 3, - "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\"}}}" - }, - "72332e237f1f": { - "name": "projectMutating", - "ordinal": 6, - "value": false - }, - "777239b1f74f": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 8, - "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 - } - } - } - }, - "7a7267938637": { - "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": "The host sent a reply this app could not read (github.project.updateIssueCommentBySlug)", - "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" - } - }, - "7e10007c06c1": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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" - } - } - } - }, - "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" - } - }, - "8633b6c5dd75": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 16, - "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\"}}" - }, - "8d14922ea37d": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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 - } - } - }, - "9178c438fa7b": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "Connection closed" - }, - "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" - } - }, - "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" - } - }, - "9efcec3ee604": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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 - } - } - }, - "a05f6b4fc206": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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 - } - } - }, - "a7a04016f46a": { - "name": "projectRowDetail", - "ordinal": 11, - "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": [] - } - }, - "a8ff11b6adce": { - "name": "projectMutating", - "ordinal": 13, - "value": true - }, - "a90f501112f8": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "Unknown method" - }, - "ab52357ddee7": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "inner refused" - }, - "b2d2c9f55277": { - "name": "githubProjectTable", - "ordinal": 5, - "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 - } - } - }, - "bff535848bcf": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "" - }, - "c717bf032726": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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" - } - } - } - }, - "ca7e965fa303": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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 - } - } - } - }, - "ccb4b0cca4fb": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "The host sent a reply this app could not read (github.project.updateIssueCommentBySlug)" - }, - "ce1f6d47985f": { - "name": "projectMutating", - "ordinal": 12, - "value": false - }, - "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" - } - }, - "e52eb58ab49e": { - "name": "projectCommentDraft", - "ordinal": 10, - "value": "" - }, - "ea064759ca04": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "transport failure" - }, - "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" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f39ed9ab521e": { - "name": "projectMutating", - "ordinal": 7, - "value": true - }, - "f3c022b108d0": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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 - } - } - } - }, - "f6a1dbb640ab": { - "name": "github.project.updateIssueCommentBySlug#1", - "ordinal": 15, - "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 - } - } - }, - "fc8440fdfe7f": { - "name": "projectEditingCommentId", - "ordinal": 18, - "value": { - "$rpc": "null" - } - }, - "ffd6af1b42e1": { - "name": "github.project.addIssueCommentBySlug#1", - "ordinal": 9, - "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\"}}" - } - }, - "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": ["47fae979383a"], - "payloads": ["62af4d257032"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "9188c83ef653", - "effects": ["5d32aa29303c", "503675a0f449", "b2d2c9f55277", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-comments-issue.prelude:add-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f"], - "payloads": ["62af4d257032", "ffd6af1b42e1"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a" - }, - "state": "5198e17de9b3", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-comments-issue.prelude:cleanup", - "observation": { - "sender": ["47fae979383a", "777239b1f74f", "0077c5f71b31"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "98d03b78783e", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "9178c438fa7b", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-comments-issue.normal:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f", "f3c022b108d0"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "527330ed2103", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "3d64c0aecd5d", - "fc8440fdfe7f", - "21dd73202dc8", - "1bf0937a02b9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.result-absent:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f", "f6a1dbb640ab"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "7a7267938637", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "ccb4b0cca4fb", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-comments-issue.result-null:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f", "c717bf032726"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "7a7267938637", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "ccb4b0cca4fb", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-ok-missing:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f", "7e10007c06c1"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "527330ed2103", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "3d64c0aecd5d", - "fc8440fdfe7f", - "21dd73202dc8", - "1bf0937a02b9" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-false-string-error:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f", "ca7e965fa303"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "d42b872468e1", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "ab52357ddee7", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-comments-issue.inner-false-object-error:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f", "498ed63b1090"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "d42b872468e1", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "ab52357ddee7", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-comments-issue.outer-refused:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f", "17d4b39fc0aa"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "046fcf1720b7", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "2dc6bc594542", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-comments-issue.outer-refused-no-message:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f", "3d2683002fd7"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "5198e17de9b3", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "bff535848bcf", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-comments-issue.method-not-found:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f", "a05f6b4fc206"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "eb064eaa81a1", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "a90f501112f8", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-comments-issue.transport-rejection:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f", "9efcec3ee604"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "8130cec409d0", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "ea064759ca04", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-comments-issue.transport-rejection-no-message:update-comment-settled", - "observation": { - "sender": ["47fae979383a", "777239b1f74f", "8d14922ea37d"], - "payloads": ["62af4d257032", "ffd6af1b42e1", "8633b6c5dd75"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a", - "add-comment-1": "eb79a9b3682a", - "update-comment-2": "eb79a9b3682a" - }, - "state": "5198e17de9b3", - "effects": [ - "5d32aa29303c", - "503675a0f449", - "b2d2c9f55277", - "72332e237f1f", - "f39ed9ab521e", - "e52eb58ab49e", - "a7a04016f46a", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "bff535848bcf", - "1cc38c8dde55" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 233be2f7826..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-comments-pr-github.project.updatepullrequestbyslug-1.json +++ /dev/null @@ -1,1366 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-comments-pr", - "family": "tasks.project-row-comments-pr", - "namedDeltas": [], - "values": { - "11ca5361468e": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "outer refused" - }, - "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" - } - }, - "25607177ea9a": { - "name": "github.project.updatePullRequestBySlug#1", - "ordinal": 3, - "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\"}}}" - }, - "25c096d77bae": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "transport failure" - }, - "26c09a5e906a": { - "name": "github.project.updatePullRequestBySlug#1", - "ordinal": 2, - "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 - } - } - } - }, - "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" - } - }, - "3081102388ad": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "inner refused" - }, - "33c7bf6edc1b": { - "name": "github.project.updatePullRequestBySlug#1", - "ordinal": 2, - "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 - } - } - }, - "349173b5b21b": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "" - }, - "37e2831fb0fe": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "The host sent a reply this app could not read (github.project.updatePullRequestBySlug)" - }, - "3b8c29de1f01": { - "name": "github.project.updatePullRequestBySlug#1", - "ordinal": 2, - "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 - } - } - }, - "41bc9a6d7d5e": { - "name": "githubProjectTable", - "ordinal": 6, - "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 - } - } - }, - "4324304a281a": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "Unknown method" - }, - "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" - } - }, - "58df3e1a0f1c": { - "name": "github.project.updatePullRequestBySlug#1", - "ordinal": 2, - "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 - } - } - } - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": true - }, - "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" - } - }, - "72332e237f1f": { - "name": "projectMutating", - "ordinal": 6, - "value": false - }, - "7549c585a5d3": { - "name": "projectRowItem", - "ordinal": 5, - "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" - } - }, - "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" - } - }, - "9332b39405f1": { - "name": "projectRowItem", - "ordinal": 4, - "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" - } - }, - "97eb6d904870": { - "name": "github.project.updatePullRequestBySlug#1", - "ordinal": 2, - "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 - } - } - }, - "a735fd6aee5f": { - "name": "projectMutating", - "ordinal": 7, - "value": false - }, - "aa2ef79d4298": { - "name": "githubProjectTable", - "ordinal": 5, - "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 - } - } - }, - "acc111809814": { - "name": "github.project.updatePullRequestBySlug#1", - "ordinal": 2, - "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 - } - } - } - }, - "ad1493b4830f": { - "name": "github.project.updatePullRequestBySlug#1", - "ordinal": 2, - "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 - } - } - }, - "c01c2070446f": { - "name": "reply-salvage", - "ordinal": 4, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.project.updatePullRequestBySlug", - "operation": "github.project.update-pull-request", - "variant": "github-project-updated-pull-request" - } - }, - "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" - } - }, - "c6a9c8dc7002": { - "name": "github.project.updatePullRequestBySlug#1", - "ordinal": 2, - "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" - } - } - } - }, - "ca68a8e89aeb": { - "name": "github.project.updatePullRequestBySlug#1", - "ordinal": 2, - "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 - } - } - }, - "dc6a367a31bd": { - "name": "github.project.updatePullRequestBySlug#1", - "ordinal": 2, - "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 - } - } - }, - "e9296dde8e41": { - "name": "projectMutating", - "ordinal": 5, - "value": false - }, - "eadd61dc83e9": { - "name": "github.project.updatePullRequestBySlug#1", - "ordinal": 2, - "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" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec0cbbd89a4a": { - "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": "The host sent a reply this app could not read (github.project.updatePullRequestBySlug)", - "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" - } - }, - "ffe14a16b6b6": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "Failed to update GitHub item" - } - }, - "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": ["acc111809814"], - "payloads": ["25607177ea9a"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "2d1e8ede1fcf", - "effects": ["5d32aa29303c", "9332b39405f1", "aa2ef79d4298", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-comments-pr.result-absent:update-item-settled", - "observation": { - "sender": ["ad1493b4830f"], - "payloads": ["25607177ea9a"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "ec0cbbd89a4a", - "effects": ["5d32aa29303c", "37e2831fb0fe", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-comments-pr.result-null:update-item-settled", - "observation": { - "sender": ["c6a9c8dc7002"], - "payloads": ["25607177ea9a"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "ec0cbbd89a4a", - "effects": ["5d32aa29303c", "37e2831fb0fe", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-comments-pr.inner-ok-missing:update-item-settled", - "observation": { - "sender": ["eadd61dc83e9"], - "payloads": ["25607177ea9a"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "2d1e8ede1fcf", - "effects": [ - "5d32aa29303c", - "c01c2070446f", - "7549c585a5d3", - "41bc9a6d7d5e", - "a735fd6aee5f" - ] - } - }, - { - "id": "tk-project-row-comments-pr.inner-false-string-error:update-item-settled", - "observation": { - "sender": ["58df3e1a0f1c"], - "payloads": ["25607177ea9a"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "fce902b2381c", - "effects": ["5d32aa29303c", "c01c2070446f", "ffe14a16b6b6", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-comments-pr.inner-false-object-error:update-item-settled", - "observation": { - "sender": ["26c09a5e906a"], - "payloads": ["25607177ea9a"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "194a466e49bd", - "effects": ["5d32aa29303c", "3081102388ad", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-comments-pr.outer-refused:update-item-settled", - "observation": { - "sender": ["dc6a367a31bd"], - "payloads": ["25607177ea9a"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "c089d68bd230", - "effects": ["5d32aa29303c", "11ca5361468e", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-comments-pr.outer-refused-no-message:update-item-settled", - "observation": { - "sender": ["33c7bf6edc1b"], - "payloads": ["25607177ea9a"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "6764270f0dc1", - "effects": ["5d32aa29303c", "349173b5b21b", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-comments-pr.method-not-found:update-item-settled", - "observation": { - "sender": ["3b8c29de1f01"], - "payloads": ["25607177ea9a"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "79252b22d0fc", - "effects": ["5d32aa29303c", "4324304a281a", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-comments-pr.transport-rejection:update-item-settled", - "observation": { - "sender": ["ca68a8e89aeb"], - "payloads": ["25607177ea9a"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "470d3aa7b368", - "effects": ["5d32aa29303c", "25c096d77bae", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-comments-pr.transport-rejection-no-message:update-item-settled", - "observation": { - "sender": ["97eb6d904870"], - "payloads": ["25607177ea9a"], - "settlements": { - "mount": "eb79a9b3682a", - "update-item-0": "eb79a9b3682a" - }, - "state": "6764270f0dc1", - "effects": ["5d32aa29303c", "349173b5b21b", "e9296dde8e41"] - } - } - ] - } -} 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 deleted file mode 100644 index 638a36a7192..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-detail-github.project.workitemdetailsbyslug-1.json +++ /dev/null @@ -1,967 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-detail", - "family": "tasks.project-row-detail", - "namedDeltas": [], - "values": { - "0018cf2b103a": { - "name": "github.project.workItemDetailsBySlug#1", - "ordinal": 14, - "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 - } - } - }, - "0283d28b3dfb": { - "name": "github.project.workItemDetailsBySlug#1", - "ordinal": 14, - "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" - } - } - } - }, - "044bed918d57": { - "name": "projectRowDetailError", - "ordinal": 16, - "value": "Unknown method" - }, - "0a6c63ec0fc1": { - "name": "github.project.workItemDetailsBySlug#1", - "ordinal": 15, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.workItemDetailsBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"number\":1,\"type\":\"issue\"}}" - }, - "0d5e8bc85abb": { - "name": "projectEditingCommentDraft", - "ordinal": 8, - "value": "" - }, - "0dc3824edb1e": { - "name": "projectRowDetailError", - "ordinal": 16, - "value": "" - }, - "0fa980ff8396": { - "detail": { - "$rpc": "null" - }, - "error": "outer refused", - "loading": false - }, - "183c3c26aba7": { - "detail": { - "$rpc": "null" - }, - "error": "The host sent a reply this app could not read (github.project.workItemDetailsBySlug)", - "loading": false - }, - "1e92a0ffa26a": { - "name": "github.project.workItemDetailsBySlug#1", - "ordinal": 14, - "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 - } - } - }, - "205699b4093c": { - "detail": { - "$rpc": "null" - }, - "error": "inner refused", - "loading": false - }, - "209abb3e5ca9": { - "name": "github.project.workItemDetailsBySlug#1", - "ordinal": 14, - "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 - } - } - } - }, - "348c16318267": { - "detail": { - "$rpc": "null" - }, - "error": "transport failure", - "loading": false - }, - "34aecaef096a": { - "name": "projectRowDetailLoading", - "ordinal": 17, - "value": false - }, - "3a42a92c5487": { - "name": "projectBodyDraft", - "ordinal": 6, - "value": "Project issue body" - }, - "3b9902cb94f1": { - "name": "expandedPrFilePath", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "41f7d0f4ab48": { - "detail": { - "$rpc": "null" - }, - "error": "Unknown method", - "loading": false - }, - "45b703d1ba29": { - "detail": { - "$rpc": "null" - }, - "error": "", - "loading": false - }, - "4b5e90f7c640": { - "name": "github.project.workItemDetailsBySlug#1", - "ordinal": 14, - "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" - } - } - } - }, - "55361bf207c6": { - "name": "github.project.workItemDetailsBySlug#1", - "ordinal": 14, - "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": { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "state": "open", - "title": "Project issue", - "type": "issue", - "updatedAt": "2026-10-30T00:00:00Z", - "url": "https://github.enterprise.test/owner/repo/issues/1" - }, - "pullRequestId": "PR_kwDO" - }, - "ok": true - } - } - } - }, - "5b08d6631c0c": { - "name": "projectRowDetailError", - "ordinal": 12, - "value": "" - }, - "5cebe6c14680": { - "name": "prFileLoadingPath", - "ordinal": 4, - "value": { - "$rpc": "null" - } - }, - "60012e7abb60": { - "name": "prFileCommentDrafts", - "ordinal": 2, - "value": {} - }, - "6a0930bd2fdb": { - "name": "projectEditingCommentId", - "ordinal": 7, - "value": { - "$rpc": "null" - } - }, - "6bc1a66fb171": { - "name": "projectRowDetailError", - "ordinal": 16, - "value": "The host sent a reply this app could not read (github.project.workItemDetailsBySlug)" - }, - "74c575cf3feb": { - "name": "github.project.workItemDetailsBySlug#1", - "ordinal": 14, - "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 - } - } - }, - "78b8331a5238": { - "name": "projectRowDetailError", - "ordinal": 16, - "value": "transport failure" - }, - "7bfaa68178f3": { - "name": "github.project.workItemDetailsBySlug#1", - "ordinal": 14, - "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 - } - } - }, - "7ca2bb47ab1c": { - "name": "prFileContents", - "ordinal": 3, - "value": {} - }, - "93c5cbde2045": { - "name": "projectRowDetailLoading", - "ordinal": 13, - "value": true - }, - "9911dd53d1d7": { - "name": "projectTitleDraft", - "ordinal": 5, - "value": "Project issue" - }, - "a8ed211a5296": { - "name": "github.project.workItemDetailsBySlug#1", - "ordinal": 14, - "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 - } - } - }, - "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 - }, - "b3022e1b4bce": { - "name": "github.project.workItemDetailsBySlug#1", - "ordinal": 14, - "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 - } - } - }, - "bf07b693e877": { - "name": "projectRowDetail", - "ordinal": 16, - "value": { - "assignees": [], - "baseSha": "base-sha", - "body": "body", - "checks": [], - "comments": [], - "files": [], - "headSha": "head-sha", - "labels": [], - "latestReviews": [], - "provider": "github", - "pullRequestId": "PR_kwDO", - "reviewDecision": { - "$rpc": "undefined" - }, - "reviewRequests": [] - } - }, - "c82fb4f46067": { - "name": "projectReviewersDraft", - "ordinal": 9, - "value": "" - }, - "de8ce98bdd63": { - "name": "projectRowDetail", - "ordinal": 11, - "value": { - "$rpc": "null" - } - }, - "e07f42e59479": { - "name": "projectRowDetailError", - "ordinal": 16, - "value": "outer refused" - }, - "e5129a14b6e4": { - "name": "projectFieldDrafts", - "ordinal": 10, - "value": {} - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f8970fcf56b2": { - "name": "projectRowDetailError", - "ordinal": 16, - "value": "inner refused" - }, - "fb55d5c279f3": { - "name": "github.project.workItemDetailsBySlug#1", - "ordinal": 14, - "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 - } - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-detail-github.project.workitemdetailsbyslug-1", - "checkpoints": [ - { - "id": "tk-project-row-detail.normal:mounted", - "observation": { - "sender": ["55361bf207c6"], - "payloads": ["0a6c63ec0fc1"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "b2a01ad6d4fe", - "effects": [ - "3b9902cb94f1", - "60012e7abb60", - "7ca2bb47ab1c", - "5cebe6c14680", - "9911dd53d1d7", - "3a42a92c5487", - "6a0930bd2fdb", - "0d5e8bc85abb", - "c82fb4f46067", - "e5129a14b6e4", - "de8ce98bdd63", - "5b08d6631c0c", - "93c5cbde2045", - "bf07b693e877", - "34aecaef096a" - ] - } - }, - { - "id": "tk-project-row-detail.result-absent:mounted", - "observation": { - "sender": ["1e92a0ffa26a"], - "payloads": ["0a6c63ec0fc1"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "183c3c26aba7", - "effects": [ - "3b9902cb94f1", - "60012e7abb60", - "7ca2bb47ab1c", - "5cebe6c14680", - "9911dd53d1d7", - "3a42a92c5487", - "6a0930bd2fdb", - "0d5e8bc85abb", - "c82fb4f46067", - "e5129a14b6e4", - "de8ce98bdd63", - "5b08d6631c0c", - "93c5cbde2045", - "6bc1a66fb171", - "34aecaef096a" - ] - } - }, - { - "id": "tk-project-row-detail.result-null:mounted", - "observation": { - "sender": ["4b5e90f7c640"], - "payloads": ["0a6c63ec0fc1"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "183c3c26aba7", - "effects": [ - "3b9902cb94f1", - "60012e7abb60", - "7ca2bb47ab1c", - "5cebe6c14680", - "9911dd53d1d7", - "3a42a92c5487", - "6a0930bd2fdb", - "0d5e8bc85abb", - "c82fb4f46067", - "e5129a14b6e4", - "de8ce98bdd63", - "5b08d6631c0c", - "93c5cbde2045", - "6bc1a66fb171", - "34aecaef096a" - ] - } - }, - { - "id": "tk-project-row-detail.inner-ok-missing:mounted", - "observation": { - "sender": ["0283d28b3dfb"], - "payloads": ["0a6c63ec0fc1"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "183c3c26aba7", - "effects": [ - "3b9902cb94f1", - "60012e7abb60", - "7ca2bb47ab1c", - "5cebe6c14680", - "9911dd53d1d7", - "3a42a92c5487", - "6a0930bd2fdb", - "0d5e8bc85abb", - "c82fb4f46067", - "e5129a14b6e4", - "de8ce98bdd63", - "5b08d6631c0c", - "93c5cbde2045", - "6bc1a66fb171", - "34aecaef096a" - ] - } - }, - { - "id": "tk-project-row-detail.inner-false-string-error:mounted", - "observation": { - "sender": ["209abb3e5ca9"], - "payloads": ["0a6c63ec0fc1"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "183c3c26aba7", - "effects": [ - "3b9902cb94f1", - "60012e7abb60", - "7ca2bb47ab1c", - "5cebe6c14680", - "9911dd53d1d7", - "3a42a92c5487", - "6a0930bd2fdb", - "0d5e8bc85abb", - "c82fb4f46067", - "e5129a14b6e4", - "de8ce98bdd63", - "5b08d6631c0c", - "93c5cbde2045", - "6bc1a66fb171", - "34aecaef096a" - ] - } - }, - { - "id": "tk-project-row-detail.inner-false-object-error:mounted", - "observation": { - "sender": ["fb55d5c279f3"], - "payloads": ["0a6c63ec0fc1"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "205699b4093c", - "effects": [ - "3b9902cb94f1", - "60012e7abb60", - "7ca2bb47ab1c", - "5cebe6c14680", - "9911dd53d1d7", - "3a42a92c5487", - "6a0930bd2fdb", - "0d5e8bc85abb", - "c82fb4f46067", - "e5129a14b6e4", - "de8ce98bdd63", - "5b08d6631c0c", - "93c5cbde2045", - "f8970fcf56b2", - "34aecaef096a" - ] - } - }, - { - "id": "tk-project-row-detail.outer-refused:mounted", - "observation": { - "sender": ["b3022e1b4bce"], - "payloads": ["0a6c63ec0fc1"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "0fa980ff8396", - "effects": [ - "3b9902cb94f1", - "60012e7abb60", - "7ca2bb47ab1c", - "5cebe6c14680", - "9911dd53d1d7", - "3a42a92c5487", - "6a0930bd2fdb", - "0d5e8bc85abb", - "c82fb4f46067", - "e5129a14b6e4", - "de8ce98bdd63", - "5b08d6631c0c", - "93c5cbde2045", - "e07f42e59479", - "34aecaef096a" - ] - } - }, - { - "id": "tk-project-row-detail.outer-refused-no-message:mounted", - "observation": { - "sender": ["a8ed211a5296"], - "payloads": ["0a6c63ec0fc1"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "45b703d1ba29", - "effects": [ - "3b9902cb94f1", - "60012e7abb60", - "7ca2bb47ab1c", - "5cebe6c14680", - "9911dd53d1d7", - "3a42a92c5487", - "6a0930bd2fdb", - "0d5e8bc85abb", - "c82fb4f46067", - "e5129a14b6e4", - "de8ce98bdd63", - "5b08d6631c0c", - "93c5cbde2045", - "0dc3824edb1e", - "34aecaef096a" - ] - } - }, - { - "id": "tk-project-row-detail.method-not-found:mounted", - "observation": { - "sender": ["0018cf2b103a"], - "payloads": ["0a6c63ec0fc1"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "41f7d0f4ab48", - "effects": [ - "3b9902cb94f1", - "60012e7abb60", - "7ca2bb47ab1c", - "5cebe6c14680", - "9911dd53d1d7", - "3a42a92c5487", - "6a0930bd2fdb", - "0d5e8bc85abb", - "c82fb4f46067", - "e5129a14b6e4", - "de8ce98bdd63", - "5b08d6631c0c", - "93c5cbde2045", - "044bed918d57", - "34aecaef096a" - ] - } - }, - { - "id": "tk-project-row-detail.transport-rejection:mounted", - "observation": { - "sender": ["74c575cf3feb"], - "payloads": ["0a6c63ec0fc1"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "348c16318267", - "effects": [ - "3b9902cb94f1", - "60012e7abb60", - "7ca2bb47ab1c", - "5cebe6c14680", - "9911dd53d1d7", - "3a42a92c5487", - "6a0930bd2fdb", - "0d5e8bc85abb", - "c82fb4f46067", - "e5129a14b6e4", - "de8ce98bdd63", - "5b08d6631c0c", - "93c5cbde2045", - "78b8331a5238", - "34aecaef096a" - ] - } - }, - { - "id": "tk-project-row-detail.transport-rejection-no-message:mounted", - "observation": { - "sender": ["7bfaa68178f3"], - "payloads": ["0a6c63ec0fc1"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "45b703d1ba29", - "effects": [ - "3b9902cb94f1", - "60012e7abb60", - "7ca2bb47ab1c", - "5cebe6c14680", - "9911dd53d1d7", - "3a42a92c5487", - "6a0930bd2fdb", - "0d5e8bc85abb", - "c82fb4f46067", - "e5129a14b6e4", - "de8ce98bdd63", - "5b08d6631c0c", - "93c5cbde2045", - "0dc3824edb1e", - "34aecaef096a" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 4c5ae086f7e..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-fields-github.project.clearitemfield-1.json +++ /dev/null @@ -1,3840 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-fields", - "family": "tasks.project-row-fields", - "namedDeltas": [], - "values": { - "03c9f766ecc2": { - "name": "projectRowDetailError", - "ordinal": 10, - "value": "Connection closed" - }, - "03ddf7430607": { - "name": "github.project.clearItemField#1", - "ordinal": 8, - "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 - } - } - }, - "07aa7656a20e": { - "name": "githubProjectTable", - "ordinal": 17, - "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 - } - } - }, - "0904adbf0057": { - "name": "github.project.clearItemField#1", - "ordinal": 8, - "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 - } - } - }, - "093815ac28fb": { - "name": "github.project.clearItemField#1", - "ordinal": 9, - "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\"}}" - }, - "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 - } - } - }, - "1979da54d36e": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 16, - "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 - } - } - } - }, - "1bf0937a02b9": { - "name": "projectMutating", - "ordinal": 20, - "value": false - }, - "1cc38c8dde55": { - "name": "projectMutating", - "ordinal": 18, - "value": false - }, - "21f5072fed24": { - "name": "github.project.clearItemField#1", - "ordinal": 8, - "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 - } - } - }, - "22ce9da4a667": { - "name": "projectRowDetailError", - "ordinal": 10, - "value": "Unknown method" - }, - "2bcb7b27e290": { - "name": "projectFieldDrafts", - "ordinal": 13, - "value": { - "field-1": "" - } - }, - "2e771597c5e3": { - "error": "The host sent a reply this app could not read (github.project.clearItemField)", - "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 - } - } - }, - "2f518d42503d": { - "name": "projectRowItem", - "ordinal": 15, - "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" - } - }, - "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 - } - } - }, - "383fbfbc5ed2": { - "name": "projectMutating", - "ordinal": 14, - "value": false - }, - "3938acdb6906": { - "name": "githubProjectTable", - "ordinal": 16, - "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 - } - } - }, - "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 - } - } - }, - "40dc9d5e44c9": { - "name": "projectRowItem", - "ordinal": 10, - "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" - } - }, - "4123bc693ce4": { - "name": "projectMutating", - "ordinal": 14, - "value": 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 - } - } - }, - "46bda137acdb": { - "name": "projectMutating", - "ordinal": 12, - "value": true - }, - "47573f68feea": { - "name": "projectMutating", - "ordinal": 11, - "value": false - }, - "48d7e071a381": { - "name": "github.project.clearItemField#1", - "ordinal": 8, - "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 - } - } - }, - "491a53ca1f35": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 16, - "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\"}}" - }, - "5100ee0d174e": { - "name": "reply-salvage", - "ordinal": 10, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.project.clearItemField", - "operation": "github.project.clear-item-field", - "variant": "github-project-cleared-field" - } - }, - "554074300348": { - "error": "The host sent a reply this app could not read (github.project.clearItemField)", - "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 - } - } - }, - "56d129932c99": { - "name": "projectRowDetailError", - "ordinal": 10, - "value": "The host sent a reply this app could not read (github.project.clearItemField)" - }, - "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 - } - } - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": true - }, - "5deee78f8af8": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 14, - "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 - } - } - } - }, - "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 - } - } - }, - "6257568c133a": { - "name": "projectMutating", - "ordinal": 15, - "value": true - }, - "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 - } - } - }, - "6623e063706c": { - "name": "github.project.clearItemField#1", - "ordinal": 8, - "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 - } - } - } - }, - "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 - } - } - }, - "697ed9a3e2c0": { - "name": "githubProjectTable", - "ordinal": 12, - "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 - } - } - }, - "71489da56789": { - "name": "github.project.clearItemField#1", - "ordinal": 8, - "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" - } - } - } - }, - "72332e237f1f": { - "name": "projectMutating", - "ordinal": 6, - "value": false - }, - "724040de490b": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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\"}}" - }, - "73039dc59899": { - "name": "github.project.updateItemField#1", - "ordinal": 2, - "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 - } - } - } - }, - "7440f0f1bab9": { - "name": "projectMutating", - "ordinal": 19, - "value": false - }, - "7b73a3433f6c": { - "name": "github.project.clearItemField#1", - "ordinal": 8, - "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" - } - } - } - }, - "9698b684302e": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 17, - "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\"}}" - }, - "9953d493b601": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 13, - "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 - } - } - } - }, - "a0e3e8b09346": { - "name": "projectMutating", - "ordinal": 17, - "value": false - }, - "a1dab467956d": { - "name": "githubProjectTable", - "ordinal": 11, - "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 - } - } - }, - "a8ff11b6adce": { - "name": "projectMutating", - "ordinal": 13, - "value": true - }, - "ac30aa29c702": { - "name": "github.project.clearItemField#1", - "ordinal": 8, - "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 - } - } - }, - "acaec364fa34": { - "name": "projectRowDetailError", - "ordinal": 10, - "value": "transport failure" - }, - "ae13892cef77": { - "name": "github.project.clearItemField#1", - "ordinal": 8, - "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 - } - } - }, - "af86734840ac": { - "name": "githubProjectTable", - "ordinal": 19, - "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 - } - } - }, - "b849b5f1de35": { - "name": "github.project.updateItemField#1", - "ordinal": 3, - "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\"}}}" - }, - "bbd5625afbcb": { - "name": "projectRowItem", - "ordinal": 11, - "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" - } - }, - "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 - } - } - }, - "becf1a414c04": { - "name": "projectRowDetailError", - "ordinal": 11, - "value": "Failed to update project field" - }, - "c0f6974a198e": { - "name": "githubProjectTable", - "ordinal": 18, - "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 - } - } - }, - "c4f9e36cc470": { - "name": "projectRowItem", - "ordinal": 16, - "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" - } - }, - "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 - } - } - }, - "c7c3ebc65bfe": { - "name": "projectRowItem", - "ordinal": 18, - "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" - } - }, - "ce1f6d47985f": { - "name": "projectMutating", - "ordinal": 12, - "value": false - }, - "ce418d51fa61": { - "name": "projectRowDetailError", - "ordinal": 10, - "value": "" - }, - "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 - } - } - }, - "d0617c2f5659": { - "name": "projectRowItem", - "ordinal": 4, - "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" - } - }, - "d5666167e2b3": { - "name": "projectRowDetailError", - "ordinal": 10, - "value": "outer refused" - }, - "d65767ed33e6": { - "name": "github.project.clearItemField#1", - "ordinal": 8, - "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 - } - } - }, - "d83c1f3a582e": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 14, - "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\"}}" - }, - "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 - } - } - }, - "e09e2ac8124b": { - "name": "projectFieldDrafts", - "ordinal": 12, - "value": { - "field-1": "" - } - }, - "e3180bc6526a": { - "name": "projectMutating", - "ordinal": 13, - "value": false - }, - "e455d5aa185c": { - "name": "github.project.clearItemField#1", - "ordinal": 8, - "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 - } - } - } - }, - "e52ec7318625": { - "name": "projectRowDetailError", - "ordinal": 10, - "value": "inner refused" - }, - "e6e6a29e5419": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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 - } - } - } - }, - "e969afb182da": { - "name": "githubProjectTable", - "ordinal": 5, - "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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ef5a2c4ee0b4": { - "name": "projectRowItem", - "ordinal": 17, - "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" - } - }, - "f39ed9ab521e": { - "name": "projectMutating", - "ordinal": 7, - "value": true - }, - "fe068ea83754": { - "name": "github.project.clearItemField#1", - "ordinal": 8, - "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 - } - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-fields-github.project.clearitemfield-1", - "checkpoints": [ - { - "id": "tk-project-row-fields.prelude:set-field-settled", - "observation": { - "sender": ["73039dc59899"], - "payloads": ["b849b5f1de35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a" - }, - "state": "424e9a1ae7ed", - "effects": ["5d32aa29303c", "d0617c2f5659", "e969afb182da", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-fields.prelude:cleanup", - "observation": { - "sender": ["73039dc59899", "ac30aa29c702"], - "payloads": ["b849b5f1de35", "093815ac28fb"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "c5d817856415", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "03c9f766ecc2", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-fields.normal:clear-field-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c"], - "payloads": ["b849b5f1de35", "093815ac28fb"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "68296a29ee63", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-fields.normal:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c", "e6e6a29e5419"], - "payloads": ["b849b5f1de35", "093815ac28fb", "491a53ca1f35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "de29905548eb", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a", - "4123bc693ce4", - "ef5a2c4ee0b4", - "c0f6974a198e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-fields.result-absent:clear-field-settled", - "observation": { - "sender": ["73039dc59899", "ae13892cef77"], - "payloads": ["b849b5f1de35", "093815ac28fb"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "554074300348", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "56d129932c99", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-fields.result-absent:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "ae13892cef77", "9953d493b601"], - "payloads": ["b849b5f1de35", "093815ac28fb", "d83c1f3a582e"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "2e771597c5e3", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "56d129932c99", - "47573f68feea", - "46bda137acdb", - "2f518d42503d", - "3938acdb6906", - "a0e3e8b09346" - ] - } - }, - { - "id": "tk-project-row-fields.result-null:clear-field-settled", - "observation": { - "sender": ["73039dc59899", "7b73a3433f6c"], - "payloads": ["b849b5f1de35", "093815ac28fb"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "554074300348", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "56d129932c99", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-fields.result-null:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "7b73a3433f6c", "9953d493b601"], - "payloads": ["b849b5f1de35", "093815ac28fb", "d83c1f3a582e"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "2e771597c5e3", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "56d129932c99", - "47573f68feea", - "46bda137acdb", - "2f518d42503d", - "3938acdb6906", - "a0e3e8b09346" - ] - } - }, - { - "id": "tk-project-row-fields.inner-ok-missing:clear-field-settled", - "observation": { - "sender": ["73039dc59899", "71489da56789"], - "payloads": ["b849b5f1de35", "093815ac28fb"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "68296a29ee63", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "5100ee0d174e", - "bbd5625afbcb", - "697ed9a3e2c0", - "2bcb7b27e290", - "383fbfbc5ed2" - ] - } - }, - { - "id": "tk-project-row-fields.inner-ok-missing:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "71489da56789", "1979da54d36e"], - "payloads": ["b849b5f1de35", "093815ac28fb", "9698b684302e"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "de29905548eb", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "5100ee0d174e", - "bbd5625afbcb", - "697ed9a3e2c0", - "2bcb7b27e290", - "383fbfbc5ed2", - "6257568c133a", - "c7c3ebc65bfe", - "af86734840ac", - "1bf0937a02b9" - ] - } - }, - { - "id": "tk-project-row-fields.inner-false-string-error:clear-field-settled", - "observation": { - "sender": ["73039dc59899", "e455d5aa185c"], - "payloads": ["b849b5f1de35", "093815ac28fb"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "6294f739146e", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "5100ee0d174e", - "becf1a414c04", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-fields.inner-false-string-error:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "e455d5aa185c", "5deee78f8af8"], - "payloads": ["b849b5f1de35", "093815ac28fb", "724040de490b"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "c70cb6df3f9c", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "5100ee0d174e", - "becf1a414c04", - "ce1f6d47985f", - "a8ff11b6adce", - "c4f9e36cc470", - "07aa7656a20e", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.inner-false-object-error:clear-field-settled", - "observation": { - "sender": ["73039dc59899", "fe068ea83754"], - "payloads": ["b849b5f1de35", "093815ac28fb"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "3acce5b08290", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "e52ec7318625", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-fields.inner-false-object-error:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "fe068ea83754", "9953d493b601"], - "payloads": ["b849b5f1de35", "093815ac28fb", "d83c1f3a582e"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "bd34a3803a4e", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "e52ec7318625", - "47573f68feea", - "46bda137acdb", - "2f518d42503d", - "3938acdb6906", - "a0e3e8b09346" - ] - } - }, - { - "id": "tk-project-row-fields.outer-refused:clear-field-settled", - "observation": { - "sender": ["73039dc59899", "0904adbf0057"], - "payloads": ["b849b5f1de35", "093815ac28fb"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "5f110d72ade0", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "d5666167e2b3", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-fields.outer-refused:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "0904adbf0057", "9953d493b601"], - "payloads": ["b849b5f1de35", "093815ac28fb", "d83c1f3a582e"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "cfc00f66b739", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "d5666167e2b3", - "47573f68feea", - "46bda137acdb", - "2f518d42503d", - "3938acdb6906", - "a0e3e8b09346" - ] - } - }, - { - "id": "tk-project-row-fields.outer-refused-no-message:clear-field-settled", - "observation": { - "sender": ["73039dc59899", "03ddf7430607"], - "payloads": ["b849b5f1de35", "093815ac28fb"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "424e9a1ae7ed", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "ce418d51fa61", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-fields.outer-refused-no-message:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "03ddf7430607", "9953d493b601"], - "payloads": ["b849b5f1de35", "093815ac28fb", "d83c1f3a582e"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "57a8b31d7765", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "ce418d51fa61", - "47573f68feea", - "46bda137acdb", - "2f518d42503d", - "3938acdb6906", - "a0e3e8b09346" - ] - } - }, - { - "id": "tk-project-row-fields.method-not-found:clear-field-settled", - "observation": { - "sender": ["73039dc59899", "48d7e071a381"], - "payloads": ["b849b5f1de35", "093815ac28fb"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "c668cb389101", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "22ce9da4a667", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-fields.method-not-found:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "48d7e071a381", "9953d493b601"], - "payloads": ["b849b5f1de35", "093815ac28fb", "d83c1f3a582e"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "645856fd5e4f", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "22ce9da4a667", - "47573f68feea", - "46bda137acdb", - "2f518d42503d", - "3938acdb6906", - "a0e3e8b09346" - ] - } - }, - { - "id": "tk-project-row-fields.transport-rejection:clear-field-settled", - "observation": { - "sender": ["73039dc59899", "21f5072fed24"], - "payloads": ["b849b5f1de35", "093815ac28fb"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "11453f1749a4", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "acaec364fa34", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-fields.transport-rejection:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "21f5072fed24", "9953d493b601"], - "payloads": ["b849b5f1de35", "093815ac28fb", "d83c1f3a582e"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "311a2f79b43d", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "acaec364fa34", - "47573f68feea", - "46bda137acdb", - "2f518d42503d", - "3938acdb6906", - "a0e3e8b09346" - ] - } - }, - { - "id": "tk-project-row-fields.transport-rejection-no-message:clear-field-settled", - "observation": { - "sender": ["73039dc59899", "d65767ed33e6"], - "payloads": ["b849b5f1de35", "093815ac28fb"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "424e9a1ae7ed", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "ce418d51fa61", - "47573f68feea" - ] - } - }, - { - "id": "tk-project-row-fields.transport-rejection-no-message:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "d65767ed33e6", "9953d493b601"], - "payloads": ["b849b5f1de35", "093815ac28fb", "d83c1f3a582e"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "57a8b31d7765", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "ce418d51fa61", - "47573f68feea", - "46bda137acdb", - "2f518d42503d", - "3938acdb6906", - "a0e3e8b09346" - ] - } - } - ] - } -} 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 deleted file mode 100644 index a580b541c91..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-fields-github.project.updateissuetypebyslug-1.json +++ /dev/null @@ -1,2283 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-fields", - "family": "tasks.project-row-fields", - "namedDeltas": [], - "values": { - "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 - } - } - }, - "093815ac28fb": { - "name": "github.project.clearItemField#1", - "ordinal": 9, - "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\"}}" - }, - "14a902540c80": { - "name": "reply-salvage", - "ordinal": 17, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.project.updateIssueTypeBySlug", - "operation": "github.project.update-issue-type", - "variant": "github-project-updated-issue-type" - } - }, - "1bf0937a02b9": { - "name": "projectMutating", - "ordinal": 20, - "value": false - }, - "1cc38c8dde55": { - "name": "projectMutating", - "ordinal": 18, - "value": false - }, - "28df9bffe06e": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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 - } - } - }, - "2dc6bc594542": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "outer refused" - }, - "40dc9d5e44c9": { - "name": "projectRowItem", - "ordinal": 10, - "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" - } - }, - "4123bc693ce4": { - "name": "projectMutating", - "ordinal": 14, - "value": 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 - } - } - }, - "47711910ddd4": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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" - } - } - } - }, - "491a53ca1f35": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 16, - "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 - } - } - }, - "55cfdf6b82e5": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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 - } - } - }, - "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 - } - } - }, - "5797e2249a89": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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 - } - } - } - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": true - }, - "6623e063706c": { - "name": "github.project.clearItemField#1", - "ordinal": 8, - "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 - } - } - } - }, - "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 - } - } - }, - "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 - } - } - }, - "72332e237f1f": { - "name": "projectMutating", - "ordinal": 6, - "value": false - }, - "73039dc59899": { - "name": "github.project.updateItemField#1", - "ordinal": 2, - "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 - } - } - } - }, - "7440f0f1bab9": { - "name": "projectMutating", - "ordinal": 19, - "value": false - }, - "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 - } - } - }, - "8448cf1d250f": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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 - } - } - }, - "8bc50051fc54": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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 - } - } - }, - "9178c438fa7b": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "Connection closed" - }, - "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 - } - } - }, - "a0e0c04dece2": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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 - } - } - }, - "a1dab467956d": { - "name": "githubProjectTable", - "ordinal": 11, - "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 - } - } - }, - "a90f501112f8": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "Unknown method" - }, - "aa42e6e6b667": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "The host sent a reply this app could not read (github.project.updateIssueTypeBySlug)" - }, - "ab52357ddee7": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "inner refused" - }, - "af86734840ac": { - "name": "githubProjectTable", - "ordinal": 19, - "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 - } - } - }, - "b30c7912e09d": { - "name": "projectRowDetailError", - "ordinal": 18, - "value": "Failed to update issue type" - }, - "b849b5f1de35": { - "name": "github.project.updateItemField#1", - "ordinal": 3, - "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\"}}}" - }, - "bff535848bcf": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "" - }, - "c0f6974a198e": { - "name": "githubProjectTable", - "ordinal": 18, - "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 - } - } - }, - "c7c3ebc65bfe": { - "name": "projectRowItem", - "ordinal": 18, - "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" - } - }, - "d0617c2f5659": { - "name": "projectRowItem", - "ordinal": 4, - "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" - } - }, - "d32da45ac925": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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" - } - } - } - }, - "d4dac0b465bb": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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 - } - } - }, - "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 - } - } - }, - "e09e2ac8124b": { - "name": "projectFieldDrafts", - "ordinal": 12, - "value": { - "field-1": "" - } - }, - "e3180bc6526a": { - "name": "projectMutating", - "ordinal": 13, - "value": false - }, - "e6e6a29e5419": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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 - } - } - } - }, - "e969afb182da": { - "name": "githubProjectTable", - "ordinal": 5, - "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 - } - } - }, - "ea064759ca04": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "transport failure" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ef5a2c4ee0b4": { - "name": "projectRowItem", - "ordinal": 17, - "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" - } - }, - "efc7c3d84f9e": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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 - } - } - } - }, - "f22adb628ca9": { - "error": "The host sent a reply this app could not read (github.project.updateIssueTypeBySlug)", - "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 - } - } - }, - "f39ed9ab521e": { - "name": "projectMutating", - "ordinal": 7, - "value": true - }, - "f4a22493ac89": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-fields-github.project.updateissuetypebyslug-1", - "checkpoints": [ - { - "id": "tk-project-row-fields.prelude:set-field-settled", - "observation": { - "sender": ["73039dc59899"], - "payloads": ["b849b5f1de35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a" - }, - "state": "424e9a1ae7ed", - "effects": ["5d32aa29303c", "d0617c2f5659", "e969afb182da", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-fields.prelude:clear-field-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c"], - "payloads": ["b849b5f1de35", "093815ac28fb"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "68296a29ee63", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-fields.prelude:cleanup", - "observation": { - "sender": ["73039dc59899", "6623e063706c", "8bc50051fc54"], - "payloads": ["b849b5f1de35", "093815ac28fb", "491a53ca1f35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "6e1a42381897", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a", - "4123bc693ce4", - "9178c438fa7b", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.normal:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c", "e6e6a29e5419"], - "payloads": ["b849b5f1de35", "093815ac28fb", "491a53ca1f35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "de29905548eb", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a", - "4123bc693ce4", - "ef5a2c4ee0b4", - "c0f6974a198e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-fields.result-absent:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c", "a0e0c04dece2"], - "payloads": ["b849b5f1de35", "093815ac28fb", "491a53ca1f35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "f22adb628ca9", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a", - "4123bc693ce4", - "aa42e6e6b667", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.result-null:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c", "47711910ddd4"], - "payloads": ["b849b5f1de35", "093815ac28fb", "491a53ca1f35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "f22adb628ca9", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a", - "4123bc693ce4", - "aa42e6e6b667", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.inner-ok-missing:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c", "d32da45ac925"], - "payloads": ["b849b5f1de35", "093815ac28fb", "491a53ca1f35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "de29905548eb", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a", - "4123bc693ce4", - "14a902540c80", - "c7c3ebc65bfe", - "af86734840ac", - "1bf0937a02b9" - ] - } - }, - { - "id": "tk-project-row-fields.inner-false-string-error:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c", "5797e2249a89"], - "payloads": ["b849b5f1de35", "093815ac28fb", "491a53ca1f35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "7c1d7cf7bffa", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a", - "4123bc693ce4", - "14a902540c80", - "b30c7912e09d", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-fields.inner-false-object-error:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c", "efc7c3d84f9e"], - "payloads": ["b849b5f1de35", "093815ac28fb", "491a53ca1f35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "06f1fbeb0d68", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a", - "4123bc693ce4", - "ab52357ddee7", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.outer-refused:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c", "8448cf1d250f"], - "payloads": ["b849b5f1de35", "093815ac28fb", "491a53ca1f35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "56f10066f7c7", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a", - "4123bc693ce4", - "2dc6bc594542", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.outer-refused-no-message:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c", "f4a22493ac89"], - "payloads": ["b849b5f1de35", "093815ac28fb", "491a53ca1f35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "68296a29ee63", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a", - "4123bc693ce4", - "bff535848bcf", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.method-not-found:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c", "28df9bffe06e"], - "payloads": ["b849b5f1de35", "093815ac28fb", "491a53ca1f35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "4f9f6d6a111c", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a", - "4123bc693ce4", - "a90f501112f8", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.transport-rejection:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c", "55cfdf6b82e5"], - "payloads": ["b849b5f1de35", "093815ac28fb", "491a53ca1f35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "979b91030a71", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a", - "4123bc693ce4", - "ea064759ca04", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.transport-rejection-no-message:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c", "d4dac0b465bb"], - "payloads": ["b849b5f1de35", "093815ac28fb", "491a53ca1f35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "68296a29ee63", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a", - "4123bc693ce4", - "bff535848bcf", - "1cc38c8dde55" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 3384b12d7a6..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-fields-github.project.updateitemfield-1.json +++ /dev/null @@ -1,3686 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-fields", - "family": "tasks.project-row-fields", - "namedDeltas": [], - "values": { - "015cfc810cb3": { - "name": "projectFieldDrafts", - "ordinal": 11, - "value": { - "field-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 - } - } - }, - "093815ac28fb": { - "name": "github.project.clearItemField#1", - "ordinal": 9, - "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\"}}" - }, - "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 - } - } - }, - "11ca5361468e": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "outer refused" - }, - "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 - } - } - }, - "13bb7de71dc8": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "Failed to update project field" - }, - "152150753b1b": { - "name": "projectRowItem", - "ordinal": 16, - "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" - } - }, - "1979da54d36e": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 16, - "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 - } - } - } - }, - "1bf0937a02b9": { - "name": "projectMutating", - "ordinal": 20, - "value": false - }, - "1cc38c8dde55": { - "name": "projectMutating", - "ordinal": 18, - "value": false - }, - "25c096d77bae": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "transport failure" - }, - "260c12395205": { - "name": "github.project.updateItemField#1", - "ordinal": 2, - "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 - } - } - }, - "2847227bb126": { - "name": "github.project.updateItemField#1", - "ordinal": 2, - "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 - } - } - } - }, - "2bcb7b27e290": { - "name": "projectFieldDrafts", - "ordinal": 13, - "value": { - "field-1": "" - } - }, - "3081102388ad": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "inner refused" - }, - "349173b5b21b": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "" - }, - "35983be2f86f": { - "name": "github.project.updateItemField#1", - "ordinal": 2, - "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" - } - } - } - }, - "383fbfbc5ed2": { - "name": "projectMutating", - "ordinal": 14, - "value": false - }, - "3872357fbebc": { - "name": "projectRowItem", - "ordinal": 5, - "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" - } - }, - "40dc9d5e44c9": { - "name": "projectRowItem", - "ordinal": 10, - "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" - } - }, - "4123bc693ce4": { - "name": "projectMutating", - "ordinal": 14, - "value": 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 - } - } - }, - "4324304a281a": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "Unknown method" - }, - "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 - } - } - }, - "491a53ca1f35": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 16, - "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 - } - } - }, - "508399f95679": { - "name": "projectRowItem", - "ordinal": 9, - "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" - } - }, - "569c195f7453": { - "name": "github.project.clearItemField#1", - "ordinal": 10, - "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\"}}" - }, - "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 - } - } - }, - "57da360e2653": { - "name": "githubProjectTable", - "ordinal": 17, - "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 - } - } - }, - "5cea28c5210a": { - "name": "githubProjectTable", - "ordinal": 6, - "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 - } - } - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": true - }, - "5deee78f8af8": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 14, - "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 - } - } - } - }, - "60df1711511a": { - "name": "github.project.updateItemField#1", - "ordinal": 2, - "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 - } - } - }, - "6257568c133a": { - "name": "projectMutating", - "ordinal": 15, - "value": true - }, - "652398d776bb": { - "name": "github.project.clearItemField#1", - "ordinal": 7, - "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 - } - } - } - }, - "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 - } - } - }, - "6623e063706c": { - "name": "github.project.clearItemField#1", - "ordinal": 8, - "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 - } - } - } - }, - "672d4cc619a7": { - "name": "github.project.clearItemField#1", - "ordinal": 9, - "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 - } - } - } - }, - "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 - } - } - }, - "697ed9a3e2c0": { - "name": "githubProjectTable", - "ordinal": 12, - "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 - } - } - }, - "72332e237f1f": { - "name": "projectMutating", - "ordinal": 6, - "value": false - }, - "724040de490b": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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\"}}" - }, - "724830e45836": { - "name": "github.project.updateItemField#1", - "ordinal": 2, - "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 - } - } - }, - "73039dc59899": { - "name": "github.project.updateItemField#1", - "ordinal": 2, - "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 - } - } - } - }, - "7440f0f1bab9": { - "name": "projectMutating", - "ordinal": 19, - "value": false - }, - "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 - } - } - }, - "9698b684302e": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 17, - "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\"}}" - }, - "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 - } - } - }, - "9fcdd59bae99": { - "error": "The host sent a reply this app could not read (github.project.updateItemField)", - "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 - } - } - }, - "a1dab467956d": { - "name": "githubProjectTable", - "ordinal": 11, - "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 - } - } - }, - "a735fd6aee5f": { - "name": "projectMutating", - "ordinal": 7, - "value": false - }, - "a8ff11b6adce": { - "name": "projectMutating", - "ordinal": 13, - "value": true - }, - "af86734840ac": { - "name": "githubProjectTable", - "ordinal": 19, - "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 - } - } - }, - "afd7d6c12899": { - "name": "projectRowDetailError", - "ordinal": 4, - "value": "The host sent a reply this app could not read (github.project.updateItemField)" - }, - "b0f2d0edec6a": { - "name": "projectMutating", - "ordinal": 8, - "value": true - }, - "b849b5f1de35": { - "name": "github.project.updateItemField#1", - "ordinal": 3, - "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\"}}}" - }, - "b90aee49fc21": { - "name": "github.project.updateItemField#1", - "ordinal": 2, - "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 - } - } - } - }, - "bbd5625afbcb": { - "name": "projectRowItem", - "ordinal": 11, - "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" - } - }, - "c0f6974a198e": { - "name": "githubProjectTable", - "ordinal": 18, - "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 - } - } - }, - "c7c3ebc65bfe": { - "name": "projectRowItem", - "ordinal": 18, - "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" - } - }, - "c7fa870aec2b": { - "name": "reply-salvage", - "ordinal": 4, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.project.updateItemField", - "operation": "github.project.update-item-field", - "variant": "github-project-updated-field" - } - }, - "c99bbd5a8fc1": { - "name": "projectMutating", - "ordinal": 6, - "value": true - }, - "ce1f6d47985f": { - "name": "projectMutating", - "ordinal": 12, - "value": false - }, - "cf478c3aed54": { - "name": "githubProjectTable", - "ordinal": 10, - "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 - } - } - }, - "d0617c2f5659": { - "name": "projectRowItem", - "ordinal": 4, - "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" - } - }, - "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 - } - } - }, - "dc221619413a": { - "name": "github.project.updateItemField#1", - "ordinal": 2, - "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 - } - } - }, - "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 - } - } - }, - "e09e2ac8124b": { - "name": "projectFieldDrafts", - "ordinal": 12, - "value": { - "field-1": "" - } - }, - "e3180bc6526a": { - "name": "projectMutating", - "ordinal": 13, - "value": false - }, - "e5b78d47a406": { - "name": "github.project.updateItemField#1", - "ordinal": 2, - "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 - } - } - }, - "e6e6a29e5419": { - "name": "github.project.updateIssueTypeBySlug#1", - "ordinal": 15, - "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 - } - } - } - }, - "e9296dde8e41": { - "name": "projectMutating", - "ordinal": 5, - "value": false - }, - "e969afb182da": { - "name": "githubProjectTable", - "ordinal": 5, - "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 - } - } - }, - "eb127e7bf409": { - "name": "github.project.updateItemField#1", - "ordinal": 2, - "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" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ef5a2c4ee0b4": { - "name": "projectRowItem", - "ordinal": 17, - "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" - } - }, - "efc003b9e8c2": { - "name": "github.project.clearItemField#1", - "ordinal": 8, - "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\"}}" - }, - "f3946eee2c17": { - "error": "The host sent a reply this app could not read (github.project.updateItemField)", - "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 - } - } - }, - "f39ed9ab521e": { - "name": "projectMutating", - "ordinal": 7, - "value": true - }, - "f72e35d269d8": { - "name": "github.project.updateItemField#1", - "ordinal": 2, - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-fields-github.project.updateitemfield-1", - "checkpoints": [ - { - "id": "tk-project-row-fields.normal:set-field-settled", - "observation": { - "sender": ["73039dc59899"], - "payloads": ["b849b5f1de35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a" - }, - "state": "424e9a1ae7ed", - "effects": ["5d32aa29303c", "d0617c2f5659", "e969afb182da", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-fields.normal:clear-field-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c"], - "payloads": ["b849b5f1de35", "093815ac28fb"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "68296a29ee63", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-fields.normal:issue-type-settled", - "observation": { - "sender": ["73039dc59899", "6623e063706c", "e6e6a29e5419"], - "payloads": ["b849b5f1de35", "093815ac28fb", "491a53ca1f35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "de29905548eb", - "effects": [ - "5d32aa29303c", - "d0617c2f5659", - "e969afb182da", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a", - "4123bc693ce4", - "ef5a2c4ee0b4", - "c0f6974a198e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-fields.result-absent:set-field-settled", - "observation": { - "sender": ["260c12395205"], - "payloads": ["b849b5f1de35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a" - }, - "state": "9fcdd59bae99", - "effects": ["5d32aa29303c", "afd7d6c12899", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-fields.result-absent:clear-field-settled", - "observation": { - "sender": ["260c12395205", "652398d776bb"], - "payloads": ["b849b5f1de35", "efc003b9e8c2"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "9fcdd59bae99", - "effects": [ - "5d32aa29303c", - "afd7d6c12899", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-fields.result-absent:issue-type-settled", - "observation": { - "sender": ["260c12395205", "652398d776bb", "5deee78f8af8"], - "payloads": ["b849b5f1de35", "efc003b9e8c2", "724040de490b"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "f3946eee2c17", - "effects": [ - "5d32aa29303c", - "afd7d6c12899", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f", - "a8ff11b6adce", - "152150753b1b", - "57da360e2653", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.result-null:set-field-settled", - "observation": { - "sender": ["eb127e7bf409"], - "payloads": ["b849b5f1de35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a" - }, - "state": "9fcdd59bae99", - "effects": ["5d32aa29303c", "afd7d6c12899", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-fields.result-null:clear-field-settled", - "observation": { - "sender": ["eb127e7bf409", "652398d776bb"], - "payloads": ["b849b5f1de35", "efc003b9e8c2"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "9fcdd59bae99", - "effects": [ - "5d32aa29303c", - "afd7d6c12899", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-fields.result-null:issue-type-settled", - "observation": { - "sender": ["eb127e7bf409", "652398d776bb", "5deee78f8af8"], - "payloads": ["b849b5f1de35", "efc003b9e8c2", "724040de490b"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "f3946eee2c17", - "effects": [ - "5d32aa29303c", - "afd7d6c12899", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f", - "a8ff11b6adce", - "152150753b1b", - "57da360e2653", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.inner-ok-missing:set-field-settled", - "observation": { - "sender": ["35983be2f86f"], - "payloads": ["b849b5f1de35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a" - }, - "state": "424e9a1ae7ed", - "effects": [ - "5d32aa29303c", - "c7fa870aec2b", - "3872357fbebc", - "5cea28c5210a", - "a735fd6aee5f" - ] - } - }, - { - "id": "tk-project-row-fields.inner-ok-missing:clear-field-settled", - "observation": { - "sender": ["35983be2f86f", "672d4cc619a7"], - "payloads": ["b849b5f1de35", "569c195f7453"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "68296a29ee63", - "effects": [ - "5d32aa29303c", - "c7fa870aec2b", - "3872357fbebc", - "5cea28c5210a", - "a735fd6aee5f", - "b0f2d0edec6a", - "bbd5625afbcb", - "697ed9a3e2c0", - "2bcb7b27e290", - "383fbfbc5ed2" - ] - } - }, - { - "id": "tk-project-row-fields.inner-ok-missing:issue-type-settled", - "observation": { - "sender": ["35983be2f86f", "672d4cc619a7", "1979da54d36e"], - "payloads": ["b849b5f1de35", "569c195f7453", "9698b684302e"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "de29905548eb", - "effects": [ - "5d32aa29303c", - "c7fa870aec2b", - "3872357fbebc", - "5cea28c5210a", - "a735fd6aee5f", - "b0f2d0edec6a", - "bbd5625afbcb", - "697ed9a3e2c0", - "2bcb7b27e290", - "383fbfbc5ed2", - "6257568c133a", - "c7c3ebc65bfe", - "af86734840ac", - "1bf0937a02b9" - ] - } - }, - { - "id": "tk-project-row-fields.inner-false-string-error:set-field-settled", - "observation": { - "sender": ["b90aee49fc21"], - "payloads": ["b849b5f1de35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a" - }, - "state": "100344e42a25", - "effects": ["5d32aa29303c", "c7fa870aec2b", "13bb7de71dc8", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-fields.inner-false-string-error:clear-field-settled", - "observation": { - "sender": ["b90aee49fc21", "6623e063706c"], - "payloads": ["b849b5f1de35", "093815ac28fb"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "100344e42a25", - "effects": [ - "5d32aa29303c", - "c7fa870aec2b", - "13bb7de71dc8", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-fields.inner-false-string-error:issue-type-settled", - "observation": { - "sender": ["b90aee49fc21", "6623e063706c", "e6e6a29e5419"], - "payloads": ["b849b5f1de35", "093815ac28fb", "491a53ca1f35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "4535ac294dad", - "effects": [ - "5d32aa29303c", - "c7fa870aec2b", - "13bb7de71dc8", - "72332e237f1f", - "f39ed9ab521e", - "40dc9d5e44c9", - "a1dab467956d", - "e09e2ac8124b", - "e3180bc6526a", - "4123bc693ce4", - "ef5a2c4ee0b4", - "c0f6974a198e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-fields.inner-false-object-error:set-field-settled", - "observation": { - "sender": ["2847227bb126"], - "payloads": ["b849b5f1de35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a" - }, - "state": "06f1fbeb0d68", - "effects": ["5d32aa29303c", "3081102388ad", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-fields.inner-false-object-error:clear-field-settled", - "observation": { - "sender": ["2847227bb126", "652398d776bb"], - "payloads": ["b849b5f1de35", "efc003b9e8c2"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "06f1fbeb0d68", - "effects": [ - "5d32aa29303c", - "3081102388ad", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-fields.inner-false-object-error:issue-type-settled", - "observation": { - "sender": ["2847227bb126", "652398d776bb", "5deee78f8af8"], - "payloads": ["b849b5f1de35", "efc003b9e8c2", "724040de490b"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "807f89a51704", - "effects": [ - "5d32aa29303c", - "3081102388ad", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f", - "a8ff11b6adce", - "152150753b1b", - "57da360e2653", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.outer-refused:set-field-settled", - "observation": { - "sender": ["724830e45836"], - "payloads": ["b849b5f1de35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a" - }, - "state": "56f10066f7c7", - "effects": ["5d32aa29303c", "11ca5361468e", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-fields.outer-refused:clear-field-settled", - "observation": { - "sender": ["724830e45836", "652398d776bb"], - "payloads": ["b849b5f1de35", "efc003b9e8c2"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "56f10066f7c7", - "effects": [ - "5d32aa29303c", - "11ca5361468e", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-fields.outer-refused:issue-type-settled", - "observation": { - "sender": ["724830e45836", "652398d776bb", "5deee78f8af8"], - "payloads": ["b849b5f1de35", "efc003b9e8c2", "724040de490b"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "6550473ac304", - "effects": [ - "5d32aa29303c", - "11ca5361468e", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f", - "a8ff11b6adce", - "152150753b1b", - "57da360e2653", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.outer-refused-no-message:set-field-settled", - "observation": { - "sender": ["60df1711511a"], - "payloads": ["b849b5f1de35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a" - }, - "state": "68296a29ee63", - "effects": ["5d32aa29303c", "349173b5b21b", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-fields.outer-refused-no-message:clear-field-settled", - "observation": { - "sender": ["60df1711511a", "652398d776bb"], - "payloads": ["b849b5f1de35", "efc003b9e8c2"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "68296a29ee63", - "effects": [ - "5d32aa29303c", - "349173b5b21b", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-fields.outer-refused-no-message:issue-type-settled", - "observation": { - "sender": ["60df1711511a", "652398d776bb", "5deee78f8af8"], - "payloads": ["b849b5f1de35", "efc003b9e8c2", "724040de490b"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "de29905548eb", - "effects": [ - "5d32aa29303c", - "349173b5b21b", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f", - "a8ff11b6adce", - "152150753b1b", - "57da360e2653", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.method-not-found:set-field-settled", - "observation": { - "sender": ["e5b78d47a406"], - "payloads": ["b849b5f1de35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a" - }, - "state": "4f9f6d6a111c", - "effects": ["5d32aa29303c", "4324304a281a", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-fields.method-not-found:clear-field-settled", - "observation": { - "sender": ["e5b78d47a406", "652398d776bb"], - "payloads": ["b849b5f1de35", "efc003b9e8c2"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "4f9f6d6a111c", - "effects": [ - "5d32aa29303c", - "4324304a281a", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-fields.method-not-found:issue-type-settled", - "observation": { - "sender": ["e5b78d47a406", "652398d776bb", "5deee78f8af8"], - "payloads": ["b849b5f1de35", "efc003b9e8c2", "724040de490b"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "1380b97742e8", - "effects": [ - "5d32aa29303c", - "4324304a281a", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f", - "a8ff11b6adce", - "152150753b1b", - "57da360e2653", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.transport-rejection:set-field-settled", - "observation": { - "sender": ["dc221619413a"], - "payloads": ["b849b5f1de35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a" - }, - "state": "979b91030a71", - "effects": ["5d32aa29303c", "25c096d77bae", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-fields.transport-rejection:clear-field-settled", - "observation": { - "sender": ["dc221619413a", "652398d776bb"], - "payloads": ["b849b5f1de35", "efc003b9e8c2"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "979b91030a71", - "effects": [ - "5d32aa29303c", - "25c096d77bae", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-fields.transport-rejection:issue-type-settled", - "observation": { - "sender": ["dc221619413a", "652398d776bb", "5deee78f8af8"], - "payloads": ["b849b5f1de35", "efc003b9e8c2", "724040de490b"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "d19825f17e38", - "effects": [ - "5d32aa29303c", - "25c096d77bae", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f", - "a8ff11b6adce", - "152150753b1b", - "57da360e2653", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-fields.transport-rejection-no-message:set-field-settled", - "observation": { - "sender": ["f72e35d269d8"], - "payloads": ["b849b5f1de35"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a" - }, - "state": "68296a29ee63", - "effects": ["5d32aa29303c", "349173b5b21b", "e9296dde8e41"] - } - }, - { - "id": "tk-project-row-fields.transport-rejection-no-message:clear-field-settled", - "observation": { - "sender": ["f72e35d269d8", "652398d776bb"], - "payloads": ["b849b5f1de35", "efc003b9e8c2"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a" - }, - "state": "68296a29ee63", - "effects": [ - "5d32aa29303c", - "349173b5b21b", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-fields.transport-rejection-no-message:issue-type-settled", - "observation": { - "sender": ["f72e35d269d8", "652398d776bb", "5deee78f8af8"], - "payloads": ["b849b5f1de35", "efc003b9e8c2", "724040de490b"], - "settlements": { - "mount": "eb79a9b3682a", - "set-field-0": "eb79a9b3682a", - "clear-field-1": "eb79a9b3682a", - "issue-type-2": "eb79a9b3682a" - }, - "state": "de29905548eb", - "effects": [ - "5d32aa29303c", - "349173b5b21b", - "e9296dde8e41", - "c99bbd5a8fc1", - "508399f95679", - "cf478c3aed54", - "015cfc810cb3", - "ce1f6d47985f", - "a8ff11b6adce", - "152150753b1b", - "57da360e2653", - "1cc38c8dde55" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 6512f857984..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.addprreviewcomment-1.json +++ /dev/null @@ -1,3906 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-files-merge", - "family": "tasks.project-row-files-merge", - "namedDeltas": [], - "values": { - "024113f3bc4c": { - "name": "projectMutating", - "ordinal": 22, - "value": false - }, - "033080c46df7": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "0988a236b7f8": { - "name": "projectRowDetail", - "ordinal": 20, - "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": [] - } - }, - "0c098dd44e86": { - "name": "projectRowDetailError", - "ordinal": 20, - "value": "transport failure" - }, - "1ba29d466cbe": { - "name": "projectRowDetailError", - "ordinal": 20, - "value": "The host sent a reply this app could not read (github.addPRReviewComment)" - }, - "1bef2a9b13a1": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "1c2c86c43d30": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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 - } - } - } - }, - "2141fc3d6fbb": { - "name": "error", - "ordinal": 37, - "value": "" - }, - "22e52289184f": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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 - } - } - }, - "24e8d03fe957": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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 - } - } - }, - "277cd233f873": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "Failed to add review comment", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "27c5babee051": { - "name": "projectRowDetailError", - "ordinal": 20, - "value": "Connection closed" - }, - "2dc7a81ab473": { - "name": "projectRowItem", - "ordinal": 26, - "value": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "2f08ad2dd4e0": { - "name": "github.mergePR#1", - "ordinal": 25, - "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\"}}" - }, - "39ae33a4e8d3": { - "name": "github.updatePRState#1", - "ordinal": 40, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"updates\":{\"state\":\"closed\"}}}" - }, - "3c1118bdfda8": { - "name": "error", - "ordinal": 36, - "value": "" - }, - "3e0c86d3ff78": { - "name": "prFileLoadingPath", - "ordinal": 15, - "value": { - "$rpc": "null" - } - }, - "3f9768efc421": { - "name": "githubProjectTable", - "ordinal": 28, - "value": { - "fields": [ - { - "dataType": "SINGLE_SELECT", - "id": "field-1", - "name": "Status", - "options": [] - } - ], - "project": { - "id": "project-1", - "number": 3, - "title": "Board" - }, - "rows": [ - { - "content": { - "assignees": [], - "body": "Project issue body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 1, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project issue", - "url": "https://github.enterprise.test/owner/repo/issues/1" - }, - "fieldValuesByFieldId": {}, - "id": "item-1", - "itemType": "ISSUE" - }, - { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - ], - "selectedView": { - "filter": "", - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - } - }, - "42be1ca2bc40": { - "name": "mutatingStatus", - "ordinal": 4, - "value": false - }, - "44c2e6541ebd": { - "name": "projectRowDetailError", - "ordinal": 9, - "value": "" - }, - "47a1931a831d": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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 - } - } - }, - "4bbf5e8b1e2c": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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 - } - } - }, - "4fe8ef09de5f": { - "name": "projectRowDetail", - "ordinal": 20, - "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": [] - } - }, - "50247a3a1fc0": { - "name": "github.mergePR#1", - "ordinal": 24, - "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 - } - } - } - }, - "51566f785993": { - "name": "githubProjectTable", - "ordinal": 27, - "value": { - "fields": [ - { - "dataType": "SINGLE_SELECT", - "id": "field-1", - "name": "Status", - "options": [] - } - ], - "project": { - "id": "project-1", - "number": 3, - "title": "Board" - }, - "rows": [ - { - "content": { - "assignees": [], - "body": "Project issue body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 1, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project issue", - "url": "https://github.enterprise.test/owner/repo/issues/1" - }, - "fieldValuesByFieldId": {}, - "id": "item-1", - "itemType": "ISSUE" - }, - { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - ], - "selectedView": { - "filter": "", - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - } - }, - "52ae725edff1": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "inner refused", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "5992646cd4b6": { - "name": "github.updatePRState#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "5e308dcac077": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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" - } - } - } - }, - "60e8d2f72874": { - "name": "mutatingStatus", - "ordinal": 39, - "value": true - }, - "64764da9bde3": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "", - "mutating": true, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "65173a8ca20e": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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 - } - } - }, - "658dac7df662": { - "name": "expandedPrFilePath", - "ordinal": 3, - "value": { - "$rpc": "null" - } - }, - "662cbccd78cb": { - "name": "prFileLoadingPath", - "ordinal": 7, - "value": { - "$rpc": "null" - } - }, - "6ad41b77ed8d": { - "name": "mutatingStatus", - "ordinal": 31, - "value": true - }, - "6e978cd28dd5": { - "name": "mutatingStatus", - "ordinal": 38, - "value": true - }, - "6ffa13da2d74": { - "name": "mutatingStatus", - "ordinal": 35, - "value": false - }, - "70a66ca73f9b": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "outer refused", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "729cf8813bb0": { - "name": "projectRowDetailError", - "ordinal": 21, - "value": "Failed to add review comment" - }, - "77324937aa89": { - "name": "github.updateIssue#1", - "ordinal": 35, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"state\":\"closed\"},\"ownerRepo\":{\"host\":\"github.com\",\"owner\":\"owner\",\"repo\":\"repo\"}}}" - }, - "77b90e483fee": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "transport failure", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "7d33c355aeac": { - "name": "prFileContents", - "ordinal": 14, - "value": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - }, - "801bda6a9198": { - "name": "error", - "ordinal": 29, - "value": "" - }, - "80ddaa9587c3": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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 - } - } - }, - "87241f52fe37": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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 - } - } - }, - "8862f0950552": { - "name": "error", - "ordinal": 30, - "value": "" - }, - "8989e41d1c1e": { - "name": "github.mergePR#1", - "ordinal": 25, - "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 - } - } - } - }, - "899dc22eb082": { - "name": "github.addPRReviewComment#1", - "ordinal": 19, - "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\"}}" - }, - "8bb07f5e4ddb": { - "name": "projectMutating", - "ordinal": 16, - "value": true - }, - "8d4edaf085d8": { - "name": "mutatingStatus", - "ordinal": 41, - "value": false - }, - "8d7ac6f2573d": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - } - }, - "8f18c30708f6": { - "name": "projectRowDetailError", - "ordinal": 23, - "value": "" - }, - "942210205c5d": { - "name": "prFileCommentDrafts", - "ordinal": 22, - "value": {} - }, - "97ba222c899d": { - "name": "projectRowDetailError", - "ordinal": 20, - "value": "" - }, - "9bd494e4e880": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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 - } - } - } - }, - "9f963399c2ce": { - "name": "mutatingStatus", - "ordinal": 36, - "value": false - }, - "a057ad8def7b": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "The host sent a reply this app could not read (github.addPRReviewComment)", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "a2091080fdb8": { - "name": "github.updateIssue#1", - "ordinal": 34, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"state\":\"closed\"},\"ownerRepo\":{\"host\":\"github.com\",\"owner\":\"owner\",\"repo\":\"repo\"}}}" - }, - "a58c8ea77396": { - "name": "github.updatePRState#1", - "ordinal": 39, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"updates\":{\"state\":\"closed\"}}}" - }, - "a6f1fd854afa": { - "name": "prFileContents", - "ordinal": 6, - "value": {} - }, - "a7480d9dd9a2": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "aab89e2149ec": { - "name": "status.get#1", - "ordinal": 30, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "aba945c58a7f": { - "name": "projectMutating", - "ordinal": 21, - "value": false - }, - "ad362e2aebe2": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "aef3fa982337": { - "name": "mutatingStatus", - "ordinal": 40, - "value": false - }, - "b3ac1e3114bf": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "" - }, - "b3ff73919780": { - "name": "status.get#1", - "ordinal": 33, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "b7cbc2865474": { - "name": "projectRowDetailError", - "ordinal": 20, - "value": "outer refused" - }, - "b9d32fcac94c": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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" - } - } - } - }, - "bff535848bcf": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "" - }, - "c0f0a440afe3": { - "name": "mutatingStatus", - "ordinal": 32, - "value": true - }, - "c2ebef7f076f": { - "name": "projectMutating", - "ordinal": 29, - "value": false - }, - "c3341bcbbaa3": { - "name": "projectRowItem", - "ordinal": 27, - "value": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "c6b185002fec": { - "name": "github.prFileContents#1", - "ordinal": 13, - "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\"}}" - }, - "c7fe7cfefb56": { - "name": "projectRowDetailError", - "ordinal": 20, - "value": "Unknown method" - }, - "c858cb8b4846": { - "name": "prFileCommentDrafts", - "ordinal": 5, - "value": {} - }, - "ca024c503a01": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "cdfad917092d": { - "name": "projectMutating", - "ordinal": 22, - "value": true - }, - "d16b414a6136": { - "name": "projectRowDetailError", - "ordinal": 20, - "value": "inner refused" - }, - "d4a23b3fe28b": { - "name": "prFileCommentDrafts", - "ordinal": 8, - "value": { - "src/index.ts:12": "a review comment" - } - }, - "d799dfaf9e7d": { - "name": "status.get#1", - "ordinal": 32, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "dd14f79292c2": { - "name": "reply-salvage", - "ordinal": 20, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.addPRReviewComment", - "operation": "github.add-pr-review-comment", - "variant": "task-comment-written" - } - }, - "dda49aeb3971": { - "name": "projectMutating", - "ordinal": 23, - "value": true - }, - "df3c13cda647": { - "name": "projectMutating", - "ordinal": 28, - "value": false - }, - "e257c0575f00": { - "name": "github.updateIssue#1", - "ordinal": 33, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "e3de0d18d0dc": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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 - } - } - } - }, - "e85ac5bc1e52": { - "name": "prFileLoadingPath", - "ordinal": 12, - "value": "src/index.ts" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "f5c29abaf308": { - "name": "github.mergePR#1", - "ordinal": 26, - "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\"}}" - }, - "f6a4c38266a9": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "Unknown method", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "fa860899f47a": { - "name": "expandedPrFilePath", - "ordinal": 11, - "value": "src/index.ts" - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-files-merge-github.addprreviewcomment-1", - "checkpoints": [ - { - "id": "tk-project-row-files-merge.prelude:expand-settled", - "observation": { - "sender": ["8d7ac6f2573d"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.prelude:cleanup", - "observation": { - "sender": ["8d7ac6f2573d", "4bbf5e8b1e2c"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "64764da9bde3", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "27c5babee051", - "aba945c58a7f" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "24e8d03fe957"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "a057ad8def7b", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "1ba29d466cbe", - "aba945c58a7f" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "24e8d03fe957", "50247a3a1fc0"], - "payloads": ["c6b185002fec", "899dc22eb082", "2f08ad2dd4e0"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "1ba29d466cbe", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "24e8d03fe957", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "1ba29d466cbe", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "24e8d03fe957", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "1ba29d466cbe", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "b9d32fcac94c"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "a057ad8def7b", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "1ba29d466cbe", - "aba945c58a7f" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "b9d32fcac94c", "50247a3a1fc0"], - "payloads": ["c6b185002fec", "899dc22eb082", "2f08ad2dd4e0"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "1ba29d466cbe", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "b9d32fcac94c", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "1ba29d466cbe", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "b9d32fcac94c", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "1ba29d466cbe", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "5e308dcac077"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "0988a236b7f8", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "5e308dcac077", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "0988a236b7f8", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "5e308dcac077", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "0988a236b7f8", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "5e308dcac077", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "0988a236b7f8", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "9bd494e4e880"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "52ae725edff1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "d16b414a6136", - "aba945c58a7f" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "9bd494e4e880", "50247a3a1fc0"], - "payloads": ["c6b185002fec", "899dc22eb082", "2f08ad2dd4e0"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "d16b414a6136", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "9bd494e4e880", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "d16b414a6136", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "9bd494e4e880", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "d16b414a6136", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "1c2c86c43d30"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "277cd233f873", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "dd14f79292c2", - "729cf8813bb0", - "024113f3bc4c" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "1c2c86c43d30", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "dd14f79292c2", - "729cf8813bb0", - "024113f3bc4c", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "1c2c86c43d30", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "dd14f79292c2", - "729cf8813bb0", - "024113f3bc4c", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "1c2c86c43d30", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "dd14f79292c2", - "729cf8813bb0", - "024113f3bc4c", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "47a1931a831d"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "70a66ca73f9b", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "b7cbc2865474", - "aba945c58a7f" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "47a1931a831d", "50247a3a1fc0"], - "payloads": ["c6b185002fec", "899dc22eb082", "2f08ad2dd4e0"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "b7cbc2865474", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "47a1931a831d", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "b7cbc2865474", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "47a1931a831d", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "b7cbc2865474", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "80ddaa9587c3"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "97ba222c899d", - "aba945c58a7f" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "80ddaa9587c3", "50247a3a1fc0"], - "payloads": ["c6b185002fec", "899dc22eb082", "2f08ad2dd4e0"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "97ba222c899d", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "80ddaa9587c3", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "97ba222c899d", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "80ddaa9587c3", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "97ba222c899d", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "65173a8ca20e"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "f6a4c38266a9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "c7fe7cfefb56", - "aba945c58a7f" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "65173a8ca20e", "50247a3a1fc0"], - "payloads": ["c6b185002fec", "899dc22eb082", "2f08ad2dd4e0"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "c7fe7cfefb56", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "65173a8ca20e", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "c7fe7cfefb56", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "65173a8ca20e", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "c7fe7cfefb56", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "22e52289184f"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "77b90e483fee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "0c098dd44e86", - "aba945c58a7f" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "22e52289184f", "50247a3a1fc0"], - "payloads": ["c6b185002fec", "899dc22eb082", "2f08ad2dd4e0"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "0c098dd44e86", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "22e52289184f", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "0c098dd44e86", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "22e52289184f", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "0c098dd44e86", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "87241f52fe37"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "97ba222c899d", - "aba945c58a7f" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "87241f52fe37", "50247a3a1fc0"], - "payloads": ["c6b185002fec", "899dc22eb082", "2f08ad2dd4e0"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "97ba222c899d", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "87241f52fe37", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "97ba222c899d", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "87241f52fe37", - "50247a3a1fc0", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "2f08ad2dd4e0", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "97ba222c899d", - "aba945c58a7f", - "cdfad917092d", - "8f18c30708f6", - "2dc7a81ab473", - "51566f785993", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 75c4e0b0797..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.mergepr-1.json +++ /dev/null @@ -1,3353 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-files-merge", - "family": "tasks.project-row-files-merge", - "namedDeltas": [], - "values": { - "009b0575288c": { - "name": "projectRowDetailError", - "ordinal": 27, - "value": "" - }, - "033080c46df7": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "0407cded80ce": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "Failed to merge pull request", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "0755bcbcb883": { - "name": "reply-salvage", - "ordinal": 27, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.mergePR", - "operation": "github.merge-pull-request", - "variant": "task-item-mutation" - } - }, - "1a19a9a50d7f": { - "name": "github.mergePR#1", - "ordinal": 25, - "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" - } - } - } - }, - "1bef2a9b13a1": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "20304a817791": { - "name": "github.mergePR#1", - "ordinal": 25, - "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 - } - } - }, - "2141fc3d6fbb": { - "name": "error", - "ordinal": 37, - "value": "" - }, - "295aa96158bb": { - "name": "projectRowDetailError", - "ordinal": 27, - "value": "Connection closed" - }, - "2d3d84de119e": { - "name": "projectRowDetailError", - "ordinal": 28, - "value": "Failed to merge pull request" - }, - "3166a9b4bfce": { - "name": "github.mergePR#1", - "ordinal": 25, - "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 - } - } - }, - "39ae33a4e8d3": { - "name": "github.updatePRState#1", - "ordinal": 40, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"updates\":{\"state\":\"closed\"}}}" - }, - "3c1118bdfda8": { - "name": "error", - "ordinal": 36, - "value": "" - }, - "3e0c86d3ff78": { - "name": "prFileLoadingPath", - "ordinal": 15, - "value": { - "$rpc": "null" - } - }, - "3f9768efc421": { - "name": "githubProjectTable", - "ordinal": 28, - "value": { - "fields": [ - { - "dataType": "SINGLE_SELECT", - "id": "field-1", - "name": "Status", - "options": [] - } - ], - "project": { - "id": "project-1", - "number": 3, - "title": "Board" - }, - "rows": [ - { - "content": { - "assignees": [], - "body": "Project issue body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 1, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project issue", - "url": "https://github.enterprise.test/owner/repo/issues/1" - }, - "fieldValuesByFieldId": {}, - "id": "item-1", - "itemType": "ISSUE" - }, - { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - ], - "selectedView": { - "filter": "", - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - } - }, - "42be1ca2bc40": { - "name": "mutatingStatus", - "ordinal": 4, - "value": false - }, - "44c2e6541ebd": { - "name": "projectRowDetailError", - "ordinal": 9, - "value": "" - }, - "4c3e155ee70f": { - "name": "github.mergePR#1", - "ordinal": 25, - "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 - } - } - } - }, - "4e0c224ca5f0": { - "name": "projectRowDetailError", - "ordinal": 27, - "value": "Unknown method" - }, - "4fe8ef09de5f": { - "name": "projectRowDetail", - "ordinal": 20, - "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": [] - } - }, - "52ae725edff1": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "inner refused", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "562345c89fe4": { - "name": "github.mergePR#1", - "ordinal": 25, - "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 - } - } - }, - "5992646cd4b6": { - "name": "github.updatePRState#1", - "ordinal": 37, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "5d745f656706": { - "name": "github.mergePR#1", - "ordinal": 25, - "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 - } - } - }, - "5fdcd3595b65": { - "name": "github.mergePR#1", - "ordinal": 25, - "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" - } - } - } - }, - "60e8d2f72874": { - "name": "mutatingStatus", - "ordinal": 39, - "value": true - }, - "64764da9bde3": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "", - "mutating": true, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "658dac7df662": { - "name": "expandedPrFilePath", - "ordinal": 3, - "value": { - "$rpc": "null" - } - }, - "662cbccd78cb": { - "name": "prFileLoadingPath", - "ordinal": 7, - "value": { - "$rpc": "null" - } - }, - "6ad41b77ed8d": { - "name": "mutatingStatus", - "ordinal": 31, - "value": true - }, - "6e978cd28dd5": { - "name": "mutatingStatus", - "ordinal": 38, - "value": true - }, - "6ffa13da2d74": { - "name": "mutatingStatus", - "ordinal": 35, - "value": false - }, - "70a66ca73f9b": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "outer refused", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "77324937aa89": { - "name": "github.updateIssue#1", - "ordinal": 35, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"state\":\"closed\"},\"ownerRepo\":{\"host\":\"github.com\",\"owner\":\"owner\",\"repo\":\"repo\"}}}" - }, - "77b90e483fee": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "transport failure", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "7d33c355aeac": { - "name": "prFileContents", - "ordinal": 14, - "value": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - }, - "801bda6a9198": { - "name": "error", - "ordinal": 29, - "value": "" - }, - "8862f0950552": { - "name": "error", - "ordinal": 30, - "value": "" - }, - "8989e41d1c1e": { - "name": "github.mergePR#1", - "ordinal": 25, - "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 - } - } - } - }, - "899dc22eb082": { - "name": "github.addPRReviewComment#1", - "ordinal": 19, - "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\"}}" - }, - "8bb07f5e4ddb": { - "name": "projectMutating", - "ordinal": 16, - "value": true - }, - "8d4edaf085d8": { - "name": "mutatingStatus", - "ordinal": 41, - "value": false - }, - "8d7ac6f2573d": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - } - }, - "942210205c5d": { - "name": "prFileCommentDrafts", - "ordinal": 22, - "value": {} - }, - "9813963d402c": { - "name": "github.mergePR#1", - "ordinal": 25, - "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 - } - } - }, - "9847f030742e": { - "name": "github.mergePR#1", - "ordinal": 25, - "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 - } - } - }, - "9f963399c2ce": { - "name": "mutatingStatus", - "ordinal": 36, - "value": false - }, - "a2091080fdb8": { - "name": "github.updateIssue#1", - "ordinal": 34, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"state\":\"closed\"},\"ownerRepo\":{\"host\":\"github.com\",\"owner\":\"owner\",\"repo\":\"repo\"}}}" - }, - "a58c8ea77396": { - "name": "github.updatePRState#1", - "ordinal": 39, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"updates\":{\"state\":\"closed\"}}}" - }, - "a6873eee3896": { - "name": "projectRowDetailError", - "ordinal": 27, - "value": "transport failure" - }, - "a6f1fd854afa": { - "name": "prFileContents", - "ordinal": 6, - "value": {} - }, - "a7480d9dd9a2": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "aab89e2149ec": { - "name": "status.get#1", - "ordinal": 30, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "aba945c58a7f": { - "name": "projectMutating", - "ordinal": 21, - "value": false - }, - "ad362e2aebe2": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "aef3fa982337": { - "name": "mutatingStatus", - "ordinal": 40, - "value": false - }, - "b3ac1e3114bf": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "" - }, - "b3ff73919780": { - "name": "status.get#1", - "ordinal": 33, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "b5dafe6c4db1": { - "name": "projectRowDetailError", - "ordinal": 27, - "value": "outer refused" - }, - "b75b5c8c6b69": { - "name": "github.mergePR#1", - "ordinal": 25, - "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 - } - } - } - }, - "bff535848bcf": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "" - }, - "c0f0a440afe3": { - "name": "mutatingStatus", - "ordinal": 32, - "value": true - }, - "c2ebef7f076f": { - "name": "projectMutating", - "ordinal": 29, - "value": false - }, - "c3341bcbbaa3": { - "name": "projectRowItem", - "ordinal": 27, - "value": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "c6b185002fec": { - "name": "github.prFileContents#1", - "ordinal": 13, - "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\"}}" - }, - "c858cb8b4846": { - "name": "prFileCommentDrafts", - "ordinal": 5, - "value": {} - }, - "ca024c503a01": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "d4a23b3fe28b": { - "name": "prFileCommentDrafts", - "ordinal": 8, - "value": { - "src/index.ts:12": "a review comment" - } - }, - "d799dfaf9e7d": { - "name": "status.get#1", - "ordinal": 32, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "dda49aeb3971": { - "name": "projectMutating", - "ordinal": 23, - "value": true - }, - "df3c13cda647": { - "name": "projectMutating", - "ordinal": 28, - "value": false - }, - "e257c0575f00": { - "name": "github.updateIssue#1", - "ordinal": 33, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "e3de0d18d0dc": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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 - } - } - } - }, - "e436b395e209": { - "name": "projectRowDetailError", - "ordinal": 27, - "value": "inner refused" - }, - "e85ac5bc1e52": { - "name": "prFileLoadingPath", - "ordinal": 12, - "value": "src/index.ts" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "ef2bd081e6bf": { - "name": "github.mergePR#1", - "ordinal": 25, - "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 - } - } - }, - "f454831b834d": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "The host sent a reply this app could not read (github.mergePR)", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "f5c29abaf308": { - "name": "github.mergePR#1", - "ordinal": 26, - "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\"}}" - }, - "f6a4c38266a9": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "Unknown method", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "fa860899f47a": { - "name": "expandedPrFilePath", - "ordinal": 11, - "value": "src/index.ts" - }, - "fb976f548a14": { - "name": "projectRowDetailError", - "ordinal": 27, - "value": "The host sent a reply this app could not read (github.mergePR)" - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-files-merge-github.mergepr-1", - "checkpoints": [ - { - "id": "tk-project-row-files-merge.prelude:expand-settled", - "observation": { - "sender": ["8d7ac6f2573d"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.prelude:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.prelude:cleanup", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "9847f030742e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "64764da9bde3", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "295aa96158bb", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "ef2bd081e6bf"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "f454831b834d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "fb976f548a14", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "ef2bd081e6bf", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "f454831b834d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "fb976f548a14", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "ef2bd081e6bf", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "f454831b834d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "fb976f548a14", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "5fdcd3595b65"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "f454831b834d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "fb976f548a14", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "5fdcd3595b65", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "f454831b834d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "fb976f548a14", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "5fdcd3595b65", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "f454831b834d", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "fb976f548a14", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "1a19a9a50d7f"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "1a19a9a50d7f", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "1a19a9a50d7f", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "4c3e155ee70f"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "52ae725edff1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "e436b395e209", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "4c3e155ee70f", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "52ae725edff1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "e436b395e209", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "4c3e155ee70f", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "52ae725edff1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "e436b395e209", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "b75b5c8c6b69"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "0407cded80ce", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "0755bcbcb883", - "2d3d84de119e", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "b75b5c8c6b69", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "0407cded80ce", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "0755bcbcb883", - "2d3d84de119e", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "b75b5c8c6b69", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "0407cded80ce", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "0755bcbcb883", - "2d3d84de119e", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "20304a817791"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "70a66ca73f9b", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "b5dafe6c4db1", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "20304a817791", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "70a66ca73f9b", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "b5dafe6c4db1", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "20304a817791", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "70a66ca73f9b", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "b5dafe6c4db1", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "3166a9b4bfce"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "009b0575288c", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "3166a9b4bfce", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "009b0575288c", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "3166a9b4bfce", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "009b0575288c", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "9813963d402c"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "f6a4c38266a9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "4e0c224ca5f0", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "9813963d402c", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "f6a4c38266a9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "4e0c224ca5f0", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "9813963d402c", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "f6a4c38266a9", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "4e0c224ca5f0", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "5d745f656706"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "77b90e483fee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "a6873eee3896", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "5d745f656706", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "77b90e483fee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "a6873eee3896", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "5d745f656706", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "77b90e483fee", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "a6873eee3896", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "562345c89fe4"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "009b0575288c", - "df3c13cda647" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "562345c89fe4", - "aab89e2149ec", - "e257c0575f00" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "009b0575288c", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "562345c89fe4", - "aab89e2149ec", - "e257c0575f00", - "5992646cd4b6" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "d799dfaf9e7d", - "a2091080fdb8", - "a58c8ea77396" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "009b0575288c", - "df3c13cda647", - "801bda6a9198", - "6ad41b77ed8d", - "6ffa13da2d74", - "3c1118bdfda8", - "6e978cd28dd5", - "aef3fa982337" - ] - } - } - ] - } -} 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 deleted file mode 100644 index a9bad8ca275..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.prfilecontents-1.json +++ /dev/null @@ -1,3879 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-files-merge", - "family": "tasks.project-row-files-merge", - "namedDeltas": [], - "values": { - "033080c46df7": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "03cbeb9836aa": { - "contents": { - "src/index.ts": { - "error": "inner refused", - "ok": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "058cf46d652d": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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 - } - } - }, - "089e85bcb747": { - "name": "projectRowDetailError", - "ordinal": 14, - "value": "transport failure" - }, - "0a27be2bb59e": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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" - } - } - } - }, - "181cd5886ebc": { - "contents": { - "src/index.ts": { - "error": "inner refused", - "ok": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "1b4a4c760bea": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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 - } - } - } - }, - "1bef2a9b13a1": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "1d3851814e1c": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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 - } - } - }, - "2141fc3d6fbb": { - "name": "error", - "ordinal": 37, - "value": "" - }, - "23e9450f41da": { - "contents": {}, - "error": "transport failure", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "2aa5c6eda2ab": { - "contents": { - "src/index.ts": { - "error": { - "message": "inner refused" - }, - "ok": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "352091a6a533": { - "contents": {}, - "error": "outer refused", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "39ae33a4e8d3": { - "name": "github.updatePRState#1", - "ordinal": 40, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"updates\":{\"state\":\"closed\"}}}" - }, - "3ad8c366dadb": { - "name": "projectRowDetailError", - "ordinal": 14, - "value": "Unknown method" - }, - "3b468c3062a8": { - "name": "prFileContents", - "ordinal": 14, - "value": { - "src/index.ts": { - "error": "refused" - } - } - }, - "3d4dab1d4a3e": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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 - } - } - }, - "3e0c86d3ff78": { - "name": "prFileLoadingPath", - "ordinal": 15, - "value": { - "$rpc": "null" - } - }, - "3f9768efc421": { - "name": "githubProjectTable", - "ordinal": 28, - "value": { - "fields": [ - { - "dataType": "SINGLE_SELECT", - "id": "field-1", - "name": "Status", - "options": [] - } - ], - "project": { - "id": "project-1", - "number": 3, - "title": "Board" - }, - "rows": [ - { - "content": { - "assignees": [], - "body": "Project issue body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 1, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project issue", - "url": "https://github.enterprise.test/owner/repo/issues/1" - }, - "fieldValuesByFieldId": {}, - "id": "item-1", - "itemType": "ISSUE" - }, - { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - ], - "selectedView": { - "filter": "", - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - } - }, - "42be1ca2bc40": { - "name": "mutatingStatus", - "ordinal": 4, - "value": false - }, - "4366c8884dbd": { - "contents": {}, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "44c2e6541ebd": { - "name": "projectRowDetailError", - "ordinal": 9, - "value": "" - }, - "494eb7340666": { - "name": "projectRowDetailError", - "ordinal": 14, - "value": "The host sent a reply this app could not read (github.prFileContents)" - }, - "4fe8ef09de5f": { - "name": "projectRowDetail", - "ordinal": 20, - "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": [] - } - }, - "54db29822338": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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 - } - } - }, - "595f7991ecf7": { - "name": "prFileContents", - "ordinal": 14, - "value": { - "src/index.ts": { - "error": "inner refused", - "ok": false - } - } - }, - "5c30b4794b57": { - "name": "projectRowDetailError", - "ordinal": 14, - "value": "" - }, - "60e8d2f72874": { - "name": "mutatingStatus", - "ordinal": 39, - "value": true - }, - "658dac7df662": { - "name": "expandedPrFilePath", - "ordinal": 3, - "value": { - "$rpc": "null" - } - }, - "662cbccd78cb": { - "name": "prFileLoadingPath", - "ordinal": 7, - "value": { - "$rpc": "null" - } - }, - "77324937aa89": { - "name": "github.updateIssue#1", - "ordinal": 35, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"state\":\"closed\"},\"ownerRepo\":{\"host\":\"github.com\",\"owner\":\"owner\",\"repo\":\"repo\"}}}" - }, - "7c6b75268905": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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" - } - } - } - }, - "7d33c355aeac": { - "name": "prFileContents", - "ordinal": 14, - "value": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - }, - "875e33a81c61": { - "contents": { - "src/index.ts": { - "error": "refused" - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "8862f0950552": { - "name": "error", - "ordinal": 30, - "value": "" - }, - "8989e41d1c1e": { - "name": "github.mergePR#1", - "ordinal": 25, - "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 - } - } - } - }, - "899dc22eb082": { - "name": "github.addPRReviewComment#1", - "ordinal": 19, - "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\"}}" - }, - "8a8297d29da8": { - "contents": {}, - "error": "Unknown method", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "8bb07f5e4ddb": { - "name": "projectMutating", - "ordinal": 16, - "value": true - }, - "8d4edaf085d8": { - "name": "mutatingStatus", - "ordinal": 41, - "value": false - }, - "8d7ac6f2573d": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - } - }, - "9140ae079dc3": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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 - } - } - } - }, - "922be13b96f2": { - "contents": {}, - "error": "The host sent a reply this app could not read (github.prFileContents)", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "942210205c5d": { - "name": "prFileCommentDrafts", - "ordinal": 22, - "value": {} - }, - "95184e01a147": { - "contents": { - "src/index.ts": { - "error": "refused" - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "9f1cbc7d5c35": { - "name": "projectRowDetailError", - "ordinal": 14, - "value": "outer refused" - }, - "9f963399c2ce": { - "name": "mutatingStatus", - "ordinal": 36, - "value": false - }, - "a3113e662699": { - "contents": {}, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "a6f1fd854afa": { - "name": "prFileContents", - "ordinal": 6, - "value": {} - }, - "a7480d9dd9a2": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "a9d38c3e95dd": { - "name": "prFileContents", - "ordinal": 14, - "value": { - "src/index.ts": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - }, - "aba945c58a7f": { - "name": "projectMutating", - "ordinal": 21, - "value": false - }, - "ad362e2aebe2": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "b3ac1e3114bf": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "" - }, - "b3ff73919780": { - "name": "status.get#1", - "ordinal": 33, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "bff535848bcf": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "" - }, - "c0f0a440afe3": { - "name": "mutatingStatus", - "ordinal": 32, - "value": true - }, - "c2ebef7f076f": { - "name": "projectMutating", - "ordinal": 29, - "value": false - }, - "c3341bcbbaa3": { - "name": "projectRowItem", - "ordinal": 27, - "value": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "c6b185002fec": { - "name": "github.prFileContents#1", - "ordinal": 13, - "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\"}}" - }, - "c858cb8b4846": { - "name": "prFileCommentDrafts", - "ordinal": 5, - "value": {} - }, - "ca024c503a01": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "d4a23b3fe28b": { - "name": "prFileCommentDrafts", - "ordinal": 8, - "value": { - "src/index.ts:12": "a review comment" - } - }, - "d8aab48da993": { - "contents": { - "src/index.ts": { - "error": { - "message": "inner refused" - }, - "ok": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "dccea7ccf5b9": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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 - } - } - }, - "dda49aeb3971": { - "name": "projectMutating", - "ordinal": 23, - "value": true - }, - "e3de0d18d0dc": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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 - } - } - } - }, - "e85ac5bc1e52": { - "name": "prFileLoadingPath", - "ordinal": 12, - "value": "src/index.ts" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ebffceebdc52": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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 - } - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "f5c29abaf308": { - "name": "github.mergePR#1", - "ordinal": 26, - "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\"}}" - }, - "fa860899f47a": { - "name": "expandedPrFilePath", - "ordinal": 11, - "value": "src/index.ts" - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-files-merge-github.prfilecontents-1", - "checkpoints": [ - { - "id": "tk-project-row-files-merge.normal:expand-settled", - "observation": { - "sender": ["8d7ac6f2573d"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:expand-settled", - "observation": { - "sender": ["058cf46d652d"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "922be13b96f2", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "494eb7340666", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:file-comment-settled", - "observation": { - "sender": ["058cf46d652d", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "4366c8884dbd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "494eb7340666", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:merge-settled", - "observation": { - "sender": ["058cf46d652d", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "494eb7340666", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:issue-state-settled", - "observation": { - "sender": [ - "058cf46d652d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "494eb7340666", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:pr-state-settled", - "observation": { - "sender": [ - "058cf46d652d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "494eb7340666", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:expand-settled", - "observation": { - "sender": ["0a27be2bb59e"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "922be13b96f2", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "494eb7340666", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:file-comment-settled", - "observation": { - "sender": ["0a27be2bb59e", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "4366c8884dbd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "494eb7340666", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:merge-settled", - "observation": { - "sender": ["0a27be2bb59e", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "494eb7340666", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:issue-state-settled", - "observation": { - "sender": [ - "0a27be2bb59e", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "494eb7340666", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:pr-state-settled", - "observation": { - "sender": [ - "0a27be2bb59e", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "494eb7340666", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:expand-settled", - "observation": { - "sender": ["7c6b75268905"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "875e33a81c61", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "3b468c3062a8", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:file-comment-settled", - "observation": { - "sender": ["7c6b75268905", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "875e33a81c61", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "3b468c3062a8", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:merge-settled", - "observation": { - "sender": ["7c6b75268905", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "95184e01a147", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "3b468c3062a8", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:issue-state-settled", - "observation": { - "sender": [ - "7c6b75268905", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "95184e01a147", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "3b468c3062a8", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:pr-state-settled", - "observation": { - "sender": [ - "7c6b75268905", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "95184e01a147", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "3b468c3062a8", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:expand-settled", - "observation": { - "sender": ["9140ae079dc3"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "03cbeb9836aa", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "595f7991ecf7", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:file-comment-settled", - "observation": { - "sender": ["9140ae079dc3", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "03cbeb9836aa", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "595f7991ecf7", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:merge-settled", - "observation": { - "sender": ["9140ae079dc3", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "181cd5886ebc", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "595f7991ecf7", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:issue-state-settled", - "observation": { - "sender": [ - "9140ae079dc3", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "181cd5886ebc", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "595f7991ecf7", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:pr-state-settled", - "observation": { - "sender": [ - "9140ae079dc3", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "181cd5886ebc", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "595f7991ecf7", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:expand-settled", - "observation": { - "sender": ["1b4a4c760bea"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "2aa5c6eda2ab", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "a9d38c3e95dd", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:file-comment-settled", - "observation": { - "sender": ["1b4a4c760bea", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "2aa5c6eda2ab", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "a9d38c3e95dd", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:merge-settled", - "observation": { - "sender": ["1b4a4c760bea", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "d8aab48da993", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "a9d38c3e95dd", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:issue-state-settled", - "observation": { - "sender": [ - "1b4a4c760bea", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "d8aab48da993", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "a9d38c3e95dd", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:pr-state-settled", - "observation": { - "sender": [ - "1b4a4c760bea", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "d8aab48da993", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "a9d38c3e95dd", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:expand-settled", - "observation": { - "sender": ["dccea7ccf5b9"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "352091a6a533", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "9f1cbc7d5c35", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:file-comment-settled", - "observation": { - "sender": ["dccea7ccf5b9", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "4366c8884dbd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "9f1cbc7d5c35", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:merge-settled", - "observation": { - "sender": ["dccea7ccf5b9", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "9f1cbc7d5c35", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:issue-state-settled", - "observation": { - "sender": [ - "dccea7ccf5b9", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "9f1cbc7d5c35", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:pr-state-settled", - "observation": { - "sender": [ - "dccea7ccf5b9", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "9f1cbc7d5c35", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:expand-settled", - "observation": { - "sender": ["3d4dab1d4a3e"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "4366c8884dbd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "5c30b4794b57", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:file-comment-settled", - "observation": { - "sender": ["3d4dab1d4a3e", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "4366c8884dbd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "5c30b4794b57", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:merge-settled", - "observation": { - "sender": ["3d4dab1d4a3e", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "5c30b4794b57", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:issue-state-settled", - "observation": { - "sender": [ - "3d4dab1d4a3e", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "5c30b4794b57", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:pr-state-settled", - "observation": { - "sender": [ - "3d4dab1d4a3e", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "5c30b4794b57", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:expand-settled", - "observation": { - "sender": ["54db29822338"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "8a8297d29da8", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "3ad8c366dadb", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:file-comment-settled", - "observation": { - "sender": ["54db29822338", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "4366c8884dbd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "3ad8c366dadb", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:merge-settled", - "observation": { - "sender": ["54db29822338", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "3ad8c366dadb", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:issue-state-settled", - "observation": { - "sender": [ - "54db29822338", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "3ad8c366dadb", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:pr-state-settled", - "observation": { - "sender": [ - "54db29822338", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "3ad8c366dadb", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:expand-settled", - "observation": { - "sender": ["ebffceebdc52"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "23e9450f41da", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "089e85bcb747", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:file-comment-settled", - "observation": { - "sender": ["ebffceebdc52", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "4366c8884dbd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "089e85bcb747", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:merge-settled", - "observation": { - "sender": ["ebffceebdc52", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "089e85bcb747", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:issue-state-settled", - "observation": { - "sender": [ - "ebffceebdc52", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "089e85bcb747", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:pr-state-settled", - "observation": { - "sender": [ - "ebffceebdc52", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "089e85bcb747", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:expand-settled", - "observation": { - "sender": ["1d3851814e1c"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "4366c8884dbd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "5c30b4794b57", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:file-comment-settled", - "observation": { - "sender": ["1d3851814e1c", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "4366c8884dbd", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "5c30b4794b57", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:merge-settled", - "observation": { - "sender": ["1d3851814e1c", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "5c30b4794b57", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:issue-state-settled", - "observation": { - "sender": [ - "1d3851814e1c", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "5c30b4794b57", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:pr-state-settled", - "observation": { - "sender": [ - "1d3851814e1c", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "a3113e662699", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "5c30b4794b57", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - } - ] - } -} 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 deleted file mode 100644 index a35ddaa5a89..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.updateissue-1.json +++ /dev/null @@ -1,2646 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-files-merge", - "family": "tasks.project-row-files-merge", - "namedDeltas": [], - "values": { - "033080c46df7": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "146169486f95": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "1bef2a9b13a1": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "2141fc3d6fbb": { - "name": "error", - "ordinal": 37, - "value": "" - }, - "23296ca90b5c": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true - } - } - }, - "39ae33a4e8d3": { - "name": "github.updatePRState#1", - "ordinal": 40, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"updates\":{\"state\":\"closed\"}}}" - }, - "3d04becd956c": { - "name": "error", - "ordinal": 38, - "value": "" - }, - "3e0c86d3ff78": { - "name": "prFileLoadingPath", - "ordinal": 15, - "value": { - "$rpc": "null" - } - }, - "3f9768efc421": { - "name": "githubProjectTable", - "ordinal": 28, - "value": { - "fields": [ - { - "dataType": "SINGLE_SELECT", - "id": "field-1", - "name": "Status", - "options": [] - } - ], - "project": { - "id": "project-1", - "number": 3, - "title": "Board" - }, - "rows": [ - { - "content": { - "assignees": [], - "body": "Project issue body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 1, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project issue", - "url": "https://github.enterprise.test/owner/repo/issues/1" - }, - "fieldValuesByFieldId": {}, - "id": "item-1", - "itemType": "ISSUE" - }, - { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - ], - "selectedView": { - "filter": "", - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - } - }, - "42be1ca2bc40": { - "name": "mutatingStatus", - "ordinal": 4, - "value": false - }, - "44c2e6541ebd": { - "name": "projectRowDetailError", - "ordinal": 9, - "value": "" - }, - "485b6f4b821a": { - "name": "reply-salvage", - "ordinal": 36, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.updateIssue", - "operation": "github.update-issue", - "variant": "task-item-mutation" - } - }, - "4fe8ef09de5f": { - "name": "projectRowDetail", - "ordinal": 20, - "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": [] - } - }, - "52f05cd8422a": { - "name": "github.updatePRState#1", - "ordinal": 41, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"updates\":{\"state\":\"closed\"}}}" - }, - "5c2927625f59": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-5", - "ok": false - } - } - }, - "5f07a57b241f": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-5", - "ok": false - } - } - }, - "60e8d2f72874": { - "name": "mutatingStatus", - "ordinal": 39, - "value": true - }, - "628d1ec4e2da": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "658dac7df662": { - "name": "expandedPrFilePath", - "ordinal": 3, - "value": { - "$rpc": "null" - } - }, - "662cbccd78cb": { - "name": "prFileLoadingPath", - "ordinal": 7, - "value": { - "$rpc": "null" - } - }, - "6db593fc7615": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "77324937aa89": { - "name": "github.updateIssue#1", - "ordinal": 35, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"state\":\"closed\"},\"ownerRepo\":{\"host\":\"github.com\",\"owner\":\"owner\",\"repo\":\"repo\"}}}" - }, - "7d33c355aeac": { - "name": "prFileContents", - "ordinal": 14, - "value": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - }, - "7e239ae22bd5": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "8862f0950552": { - "name": "error", - "ordinal": 30, - "value": "" - }, - "8989e41d1c1e": { - "name": "github.mergePR#1", - "ordinal": 25, - "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 - } - } - } - }, - "899dc22eb082": { - "name": "github.addPRReviewComment#1", - "ordinal": 19, - "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\"}}" - }, - "8bb07f5e4ddb": { - "name": "projectMutating", - "ordinal": 16, - "value": true - }, - "8d4edaf085d8": { - "name": "mutatingStatus", - "ordinal": 41, - "value": false - }, - "8d7ac6f2573d": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - } - }, - "942210205c5d": { - "name": "prFileCommentDrafts", - "ordinal": 22, - "value": {} - }, - "98b329b42369": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-5", - "ok": false - } - } - }, - "9f963399c2ce": { - "name": "mutatingStatus", - "ordinal": 36, - "value": false - }, - "a6f1fd854afa": { - "name": "prFileContents", - "ordinal": 6, - "value": {} - }, - "a7480d9dd9a2": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "aba945c58a7f": { - "name": "projectMutating", - "ordinal": 21, - "value": false - }, - "ad362e2aebe2": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "b1b7d0dd112f": { - "name": "mutatingStatus", - "ordinal": 40, - "value": true - }, - "b3ac1e3114bf": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "" - }, - "b3ff73919780": { - "name": "status.get#1", - "ordinal": 33, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "b662d67decf8": { - "name": "github.updatePRState#1", - "ordinal": 39, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "bff535848bcf": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "" - }, - "c0f0a440afe3": { - "name": "mutatingStatus", - "ordinal": 32, - "value": true - }, - "c2ebef7f076f": { - "name": "projectMutating", - "ordinal": 29, - "value": false - }, - "c3341bcbbaa3": { - "name": "projectRowItem", - "ordinal": 27, - "value": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "c6b185002fec": { - "name": "github.prFileContents#1", - "ordinal": 13, - "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\"}}" - }, - "c858cb8b4846": { - "name": "prFileCommentDrafts", - "ordinal": 5, - "value": {} - }, - "ca024c503a01": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "d4a23b3fe28b": { - "name": "prFileCommentDrafts", - "ordinal": 8, - "value": { - "src/index.ts:12": "a review comment" - } - }, - "d6cf9d2ddff9": { - "name": "mutatingStatus", - "ordinal": 42, - "value": false - }, - "db81c6e6a88b": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "dda49aeb3971": { - "name": "projectMutating", - "ordinal": 23, - "value": true - }, - "dde78ea46dfa": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "e3de0d18d0dc": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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 - } - } - } - }, - "e6a4e6e222a8": { - "name": "mutatingStatus", - "ordinal": 37, - "value": false - }, - "e85ac5bc1e52": { - "name": "prFileLoadingPath", - "ordinal": 12, - "value": "src/index.ts" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "f5c29abaf308": { - "name": "github.mergePR#1", - "ordinal": 26, - "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\"}}" - }, - "fa860899f47a": { - "name": "expandedPrFilePath", - "ordinal": 11, - "value": "src/index.ts" - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-files-merge-github.updateissue-1", - "checkpoints": [ - { - "id": "tk-project-row-files-merge.prelude:expand-settled", - "observation": { - "sender": ["8d7ac6f2573d"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.prelude:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.prelude:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "23296ca90b5c" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "23296ca90b5c", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "6db593fc7615" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "6db593fc7615", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "146169486f95" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "146169486f95", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "628d1ec4e2da" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "628d1ec4e2da", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "db81c6e6a88b" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "485b6f4b821a", - "e6a4e6e222a8" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "db81c6e6a88b", - "b662d67decf8" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "52f05cd8422a" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "485b6f4b821a", - "e6a4e6e222a8", - "3d04becd956c", - "b1b7d0dd112f", - "d6cf9d2ddff9" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "5f07a57b241f" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "5f07a57b241f", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "98b329b42369" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "98b329b42369", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "5c2927625f59" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "5c2927625f59", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "7e239ae22bd5" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "7e239ae22bd5", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "dde78ea46dfa" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "dde78ea46dfa", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 5529d5f2d40..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-github.updateprstate-1.json +++ /dev/null @@ -1,1952 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-files-merge", - "family": "tasks.project-row-files-merge", - "namedDeltas": [], - "values": { - "033080c46df7": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "055e51e27189": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - }, - "0f50b5f3034e": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "12dc426cbe55": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true - } - } - }, - "1bef2a9b13a1": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "1ed45ab52f54": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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-6", - "ok": false - } - } - }, - "2141fc3d6fbb": { - "name": "error", - "ordinal": 37, - "value": "" - }, - "39ae33a4e8d3": { - "name": "github.updatePRState#1", - "ordinal": 40, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"updates\":{\"state\":\"closed\"}}}" - }, - "3e0c86d3ff78": { - "name": "prFileLoadingPath", - "ordinal": 15, - "value": { - "$rpc": "null" - } - }, - "3f9768efc421": { - "name": "githubProjectTable", - "ordinal": 28, - "value": { - "fields": [ - { - "dataType": "SINGLE_SELECT", - "id": "field-1", - "name": "Status", - "options": [] - } - ], - "project": { - "id": "project-1", - "number": 3, - "title": "Board" - }, - "rows": [ - { - "content": { - "assignees": [], - "body": "Project issue body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 1, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project issue", - "url": "https://github.enterprise.test/owner/repo/issues/1" - }, - "fieldValuesByFieldId": {}, - "id": "item-1", - "itemType": "ISSUE" - }, - { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - ], - "selectedView": { - "filter": "", - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - } - }, - "42be1ca2bc40": { - "name": "mutatingStatus", - "ordinal": 4, - "value": false - }, - "435bce5ede70": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "43f6965c9aeb": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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-6", - "ok": false - } - } - }, - "44c2e6541ebd": { - "name": "projectRowDetailError", - "ordinal": 9, - "value": "" - }, - "494d99400449": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - }, - "49abc06bfaae": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "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 - } - } - } - }, - "4b790d69b3ca": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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-6", - "ok": false - } - } - }, - "4fe8ef09de5f": { - "name": "projectRowDetail", - "ordinal": 20, - "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": [] - } - }, - "60e8d2f72874": { - "name": "mutatingStatus", - "ordinal": 39, - "value": true - }, - "658dac7df662": { - "name": "expandedPrFilePath", - "ordinal": 3, - "value": { - "$rpc": "null" - } - }, - "662cbccd78cb": { - "name": "prFileLoadingPath", - "ordinal": 7, - "value": { - "$rpc": "null" - } - }, - "77324937aa89": { - "name": "github.updateIssue#1", - "ordinal": 35, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"state\":\"closed\"},\"ownerRepo\":{\"host\":\"github.com\",\"owner\":\"owner\",\"repo\":\"repo\"}}}" - }, - "7d33c355aeac": { - "name": "prFileContents", - "ordinal": 14, - "value": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - }, - "8862f0950552": { - "name": "error", - "ordinal": 30, - "value": "" - }, - "8989e41d1c1e": { - "name": "github.mergePR#1", - "ordinal": 25, - "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 - } - } - } - }, - "899dc22eb082": { - "name": "github.addPRReviewComment#1", - "ordinal": 19, - "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\"}}" - }, - "8bb07f5e4ddb": { - "name": "projectMutating", - "ordinal": 16, - "value": true - }, - "8d4edaf085d8": { - "name": "mutatingStatus", - "ordinal": 41, - "value": false - }, - "8d7ac6f2573d": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - } - }, - "9158d747bbb0": { - "name": "reply-salvage", - "ordinal": 41, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.updatePRState", - "operation": "github.update-pull-request-state", - "variant": "task-item-mutation" - } - }, - "942210205c5d": { - "name": "prFileCommentDrafts", - "ordinal": 22, - "value": {} - }, - "9f963399c2ce": { - "name": "mutatingStatus", - "ordinal": 36, - "value": false - }, - "a6f1fd854afa": { - "name": "prFileContents", - "ordinal": 6, - "value": {} - }, - "a7480d9dd9a2": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "aba945c58a7f": { - "name": "projectMutating", - "ordinal": 21, - "value": false - }, - "ad362e2aebe2": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "b3ac1e3114bf": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "" - }, - "b3ff73919780": { - "name": "status.get#1", - "ordinal": 33, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "bfd6bee5706d": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "bff535848bcf": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "" - }, - "c0f0a440afe3": { - "name": "mutatingStatus", - "ordinal": 32, - "value": true - }, - "c2ebef7f076f": { - "name": "projectMutating", - "ordinal": 29, - "value": false - }, - "c3341bcbbaa3": { - "name": "projectRowItem", - "ordinal": 27, - "value": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "c6b185002fec": { - "name": "github.prFileContents#1", - "ordinal": 13, - "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\"}}" - }, - "c858cb8b4846": { - "name": "prFileCommentDrafts", - "ordinal": 5, - "value": {} - }, - "ca024c503a01": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "d4a23b3fe28b": { - "name": "prFileCommentDrafts", - "ordinal": 8, - "value": { - "src/index.ts:12": "a review comment" - } - }, - "d6cf9d2ddff9": { - "name": "mutatingStatus", - "ordinal": 42, - "value": false - }, - "dda49aeb3971": { - "name": "projectMutating", - "ordinal": 23, - "value": true - }, - "e3de0d18d0dc": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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 - } - } - } - }, - "e85ac5bc1e52": { - "name": "prFileLoadingPath", - "ordinal": 12, - "value": "src/index.ts" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "f5c29abaf308": { - "name": "github.mergePR#1", - "ordinal": 26, - "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\"}}" - }, - "fa860899f47a": { - "name": "expandedPrFilePath", - "ordinal": 11, - "value": "src/index.ts" - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-files-merge-github.updateprstate-1", - "checkpoints": [ - { - "id": "tk-project-row-files-merge.prelude:expand-settled", - "observation": { - "sender": ["8d7ac6f2573d"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.prelude:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.prelude:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.prelude:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "12dc426cbe55" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "0f50b5f3034e" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "435bce5ede70" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "bfd6bee5706d" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "49abc06bfaae" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "9158d747bbb0", - "d6cf9d2ddff9" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "4b790d69b3ca" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "1ed45ab52f54" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "43f6965c9aeb" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "494d99400449" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "055e51e27189" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-status.get-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-status.get-1.json deleted file mode 100644 index 3d6cddd1f9b..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-files-merge-status.get-1.json +++ /dev/null @@ -1,2343 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-files-merge", - "family": "tasks.project-row-files-merge", - "namedDeltas": [], - "values": { - "033080c46df7": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "16ac1fc6c9ba": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "1bef2a9b13a1": { - "contents": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - }, - "error": "", - "mutating": false, - "row": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "2141fc3d6fbb": { - "name": "error", - "ordinal": 37, - "value": "" - }, - "291c000ad099": { - "name": "error", - "ordinal": 35, - "value": "" - }, - "39ae33a4e8d3": { - "name": "github.updatePRState#1", - "ordinal": 40, - "json": "{\"id\":\"frame-6\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"updates\":{\"state\":\"closed\"}}}" - }, - "3e0c86d3ff78": { - "name": "prFileLoadingPath", - "ordinal": 15, - "value": { - "$rpc": "null" - } - }, - "3e80a7423174": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-4", - "ok": false - } - } - }, - "3f9768efc421": { - "name": "githubProjectTable", - "ordinal": 28, - "value": { - "fields": [ - { - "dataType": "SINGLE_SELECT", - "id": "field-1", - "name": "Status", - "options": [] - } - ], - "project": { - "id": "project-1", - "number": 3, - "title": "Board" - }, - "rows": [ - { - "content": { - "assignees": [], - "body": "Project issue body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 1, - "repository": "owner/repo", - "state": "OPEN", - "title": "Project issue", - "url": "https://github.enterprise.test/owner/repo/issues/1" - }, - "fieldValuesByFieldId": {}, - "id": "item-1", - "itemType": "ISSUE" - }, - { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - ], - "selectedView": { - "filter": "", - "id": "view-1", - "layout": "TABLE_LAYOUT", - "name": "Table", - "number": 1 - } - } - }, - "42be1ca2bc40": { - "name": "mutatingStatus", - "ordinal": 4, - "value": false - }, - "44c2e6541ebd": { - "name": "projectRowDetailError", - "ordinal": 9, - "value": "" - }, - "4fe8ef09de5f": { - "name": "projectRowDetail", - "ordinal": 20, - "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": [] - } - }, - "593d4ea7938c": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "5eefcf28e7dd": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "60e8d2f72874": { - "name": "mutatingStatus", - "ordinal": 39, - "value": true - }, - "658dac7df662": { - "name": "expandedPrFilePath", - "ordinal": 3, - "value": { - "$rpc": "null" - } - }, - "662cbccd78cb": { - "name": "prFileLoadingPath", - "ordinal": 7, - "value": { - "$rpc": "null" - } - }, - "6fbf1b8cf5cf": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "75558b6d4557": { - "name": "github.updatePRState#1", - "ordinal": 36, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "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 - } - } - } - }, - "77324937aa89": { - "name": "github.updateIssue#1", - "ordinal": 35, - "json": "{\"expectedRuntimeSource\":{\"sourceId\":\"recorded\",\"runtimeId\":\"recorded\"},\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.updateIssue\",\"params\":{\"repo\":\"id:repo-1\",\"number\":9,\"updates\":{\"state\":\"closed\"},\"ownerRepo\":{\"host\":\"github.com\",\"owner\":\"owner\",\"repo\":\"repo\"}}}" - }, - "7810e7c3912d": { - "name": "mutatingStatus", - "ordinal": 39, - "value": false - }, - "7a1f26fbf2d4": { - "name": "github.updatePRState#1", - "ordinal": 38, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.updatePRState\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"prRepo\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.com\"},\"updates\":{\"state\":\"closed\"}}}" - }, - "7d33c355aeac": { - "name": "prFileContents", - "ordinal": 14, - "value": { - "src/index.ts": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - }, - "877177460c1a": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "8862f0950552": { - "name": "error", - "ordinal": 30, - "value": "" - }, - "89005e2d652b": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "8989e41d1c1e": { - "name": "github.mergePR#1", - "ordinal": 25, - "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 - } - } - } - }, - "899dc22eb082": { - "name": "github.addPRReviewComment#1", - "ordinal": 19, - "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\"}}" - }, - "8bb07f5e4ddb": { - "name": "projectMutating", - "ordinal": 16, - "value": true - }, - "8d4edaf085d8": { - "name": "mutatingStatus", - "ordinal": 41, - "value": false - }, - "8d7ac6f2573d": { - "name": "github.prFileContents#1", - "ordinal": 10, - "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": { - "modified": "b", - "modifiedIsBinary": false, - "original": "a", - "originalIsBinary": false - } - } - } - }, - "942210205c5d": { - "name": "prFileCommentDrafts", - "ordinal": 22, - "value": {} - }, - "9f963399c2ce": { - "name": "mutatingStatus", - "ordinal": 36, - "value": false - }, - "a6f1fd854afa": { - "name": "prFileContents", - "ordinal": 6, - "value": {} - }, - "a7480d9dd9a2": { - "name": "github.updatePRState#1", - "ordinal": 38, - "args": [ - { - "name": "method", - "value": "github.updatePRState" - }, - { - "name": "params", - "value": { - "prNumber": 12, - "prRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-6", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "aaeb68f16552": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "aba945c58a7f": { - "name": "projectMutating", - "ordinal": 21, - "value": false - }, - "ad362e2aebe2": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "capabilities": ["github.exact-work-item-target.v1"], - "hostDescriptor": { - "installationId": "recorded" - }, - "runtimeId": "recorded" - } - } - } - }, - "b3ac1e3114bf": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "" - }, - "b3ff73919780": { - "name": "status.get#1", - "ordinal": 33, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "b4bb3045f55e": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-4", - "ok": false - } - } - }, - "bff535848bcf": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "" - }, - "c0f0a440afe3": { - "name": "mutatingStatus", - "ordinal": 32, - "value": true - }, - "c2ebef7f076f": { - "name": "projectMutating", - "ordinal": 29, - "value": false - }, - "c3341bcbbaa3": { - "name": "projectRowItem", - "ordinal": 27, - "value": { - "content": { - "assignees": [], - "body": "Project pull request body", - "issueType": { - "$rpc": "null" - }, - "labels": [], - "number": 2, - "repository": "owner/repo", - "state": "MERGED", - "title": "Project pull request", - "url": "https://github.enterprise.test/owner/repo/pull/2" - }, - "fieldValuesByFieldId": {}, - "id": "item-2", - "itemType": "PULL_REQUEST" - } - }, - "c6b185002fec": { - "name": "github.prFileContents#1", - "ordinal": 13, - "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\"}}" - }, - "c858cb8b4846": { - "name": "prFileCommentDrafts", - "ordinal": 5, - "value": {} - }, - "ca024c503a01": { - "name": "github.updateIssue#1", - "ordinal": 34, - "args": [ - { - "name": "method", - "value": "github.updateIssue" - }, - { - "name": "params", - "value": { - "number": 9, - "ownerRepo": { - "host": "github.com", - "owner": "owner", - "repo": "repo" - }, - "repo": "id:repo-1", - "updates": { - "state": "closed" - } - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "envelope": { - "expectedRuntimeSource": { - "runtimeId": "recorded", - "sourceId": "recorded" - } - }, - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "cc2ece9478f0": { - "name": "actionItem", - "ordinal": 1, - "value": { - "$rpc": "null" - } - }, - "d4a23b3fe28b": { - "name": "prFileCommentDrafts", - "ordinal": 8, - "value": { - "src/index.ts:12": "a review comment" - } - }, - "d773683f6bb9": { - "name": "mutatingStatus", - "ordinal": 34, - "value": false - }, - "d8e7d81311a9": { - "name": "mutatingStatus", - "ordinal": 37, - "value": true - }, - "dda49aeb3971": { - "name": "projectMutating", - "ordinal": 23, - "value": true - }, - "e3de0d18d0dc": { - "name": "github.addPRReviewComment#1", - "ordinal": 18, - "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 - } - } - } - }, - "e85ac5bc1e52": { - "name": "prFileLoadingPath", - "ordinal": 12, - "value": "src/index.ts" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "eda130337c99": { - "name": "detailPayload", - "ordinal": 2, - "value": { - "$rpc": "null" - } - }, - "f4191915a995": { - "name": "status.get#1", - "ordinal": 31, - "args": [ - { - "name": "method", - "value": "status.get" - }, - { - "name": "params", - "value": { - "$rpc": "undefined" - } - }, - { - "name": "options", - "value": { - "beforeSend": "[local beforeSend]", - "failWhenDisconnected": true, - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-4", - "ok": false - } - } - }, - "f5c29abaf308": { - "name": "github.mergePR#1", - "ordinal": 26, - "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\"}}" - }, - "fa860899f47a": { - "name": "expandedPrFilePath", - "ordinal": 11, - "value": "src/index.ts" - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-files-merge-status.get-1", - "checkpoints": [ - { - "id": "tk-project-row-files-merge.prelude:expand-settled", - "observation": { - "sender": ["8d7ac6f2573d"], - "payloads": ["c6b185002fec"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78" - ] - } - }, - { - "id": "tk-project-row-files-merge.prelude:file-comment-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc"], - "payloads": ["c6b185002fec", "899dc22eb082"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a" - }, - "state": "033080c46df7", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d" - ] - } - }, - { - "id": "tk-project-row-files-merge.prelude:merge-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:issue-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce" - ] - } - }, - { - "id": "tk-project-row-files-merge.normal:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "ad362e2aebe2", - "ca024c503a01", - "a7480d9dd9a2" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "77324937aa89", - "39ae33a4e8d3" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "9f963399c2ce", - "2141fc3d6fbb", - "60e8d2f72874", - "8d4edaf085d8" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:issue-state-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e", "877177460c1a"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308", "b3ff73919780"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-absent:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "877177460c1a", - "75558b6d4557" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "7a1f26fbf2d4" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9", - "291c000ad099", - "d8e7d81311a9", - "7810e7c3912d" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:issue-state-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e", "aaeb68f16552"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308", "b3ff73919780"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9" - ] - } - }, - { - "id": "tk-project-row-files-merge.result-null:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "aaeb68f16552", - "75558b6d4557" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "7a1f26fbf2d4" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9", - "291c000ad099", - "d8e7d81311a9", - "7810e7c3912d" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:issue-state-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e", "6fbf1b8cf5cf"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308", "b3ff73919780"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-ok-missing:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "6fbf1b8cf5cf", - "75558b6d4557" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "7a1f26fbf2d4" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9", - "291c000ad099", - "d8e7d81311a9", - "7810e7c3912d" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:issue-state-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e", "16ac1fc6c9ba"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308", "b3ff73919780"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-string-error:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "16ac1fc6c9ba", - "75558b6d4557" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "7a1f26fbf2d4" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9", - "291c000ad099", - "d8e7d81311a9", - "7810e7c3912d" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:issue-state-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e", "593d4ea7938c"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308", "b3ff73919780"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9" - ] - } - }, - { - "id": "tk-project-row-files-merge.inner-false-object-error:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "593d4ea7938c", - "75558b6d4557" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "7a1f26fbf2d4" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9", - "291c000ad099", - "d8e7d81311a9", - "7810e7c3912d" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:issue-state-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e", "3e80a7423174"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308", "b3ff73919780"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "3e80a7423174", - "75558b6d4557" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "7a1f26fbf2d4" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9", - "291c000ad099", - "d8e7d81311a9", - "7810e7c3912d" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:issue-state-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e", "b4bb3045f55e"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308", "b3ff73919780"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9" - ] - } - }, - { - "id": "tk-project-row-files-merge.outer-refused-no-message:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "b4bb3045f55e", - "75558b6d4557" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "7a1f26fbf2d4" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9", - "291c000ad099", - "d8e7d81311a9", - "7810e7c3912d" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:issue-state-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e", "f4191915a995"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308", "b3ff73919780"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9" - ] - } - }, - { - "id": "tk-project-row-files-merge.method-not-found:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "f4191915a995", - "75558b6d4557" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "7a1f26fbf2d4" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9", - "291c000ad099", - "d8e7d81311a9", - "7810e7c3912d" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:issue-state-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e", "5eefcf28e7dd"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308", "b3ff73919780"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "5eefcf28e7dd", - "75558b6d4557" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "7a1f26fbf2d4" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9", - "291c000ad099", - "d8e7d81311a9", - "7810e7c3912d" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:issue-state-settled", - "observation": { - "sender": ["8d7ac6f2573d", "e3de0d18d0dc", "8989e41d1c1e", "89005e2d652b"], - "payloads": ["c6b185002fec", "899dc22eb082", "f5c29abaf308", "b3ff73919780"], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9" - ] - } - }, - { - "id": "tk-project-row-files-merge.transport-rejection-no-message:pr-state-settled", - "observation": { - "sender": [ - "8d7ac6f2573d", - "e3de0d18d0dc", - "8989e41d1c1e", - "89005e2d652b", - "75558b6d4557" - ], - "payloads": [ - "c6b185002fec", - "899dc22eb082", - "f5c29abaf308", - "b3ff73919780", - "7a1f26fbf2d4" - ], - "settlements": { - "mount": "eb79a9b3682a", - "expand-0": "eb79a9b3682a", - "file-comment-1": "eb79a9b3682a", - "merge-2": "eb79a9b3682a", - "issue-state-3": "eb79a9b3682a", - "pr-state-4": "eb79a9b3682a" - }, - "state": "1bef2a9b13a1", - "effects": [ - "cc2ece9478f0", - "eda130337c99", - "658dac7df662", - "42be1ca2bc40", - "c858cb8b4846", - "a6f1fd854afa", - "662cbccd78cb", - "d4a23b3fe28b", - "44c2e6541ebd", - "fa860899f47a", - "e85ac5bc1e52", - "7d33c355aeac", - "3e0c86d3ff78", - "8bb07f5e4ddb", - "bff535848bcf", - "4fe8ef09de5f", - "aba945c58a7f", - "942210205c5d", - "dda49aeb3971", - "b3ac1e3114bf", - "c3341bcbbaa3", - "3f9768efc421", - "c2ebef7f076f", - "8862f0950552", - "c0f0a440afe3", - "d773683f6bb9", - "291c000ad099", - "d8e7d81311a9", - "7810e7c3912d" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 497c43d6068..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-metadata-load-github.project.listassignableusersbyslug-1.json +++ /dev/null @@ -1,1098 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-metadata-load", - "family": "tasks.project-row-metadata-load", - "namedDeltas": [], - "values": { - "012f4b9b6415": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 8, - "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 - } - } - }, - "06512b81879b": { - "name": "projectAssignableUsersError", - "ordinal": 18, - "value": "The host sent a reply this app could not read (github.project.listAssignableUsersBySlug)" - }, - "21ea4fab050f": { - "name": "projectAssignableUsers", - "ordinal": 18, - "value": [ - { - "login": "octocat", - "name": "Octo" - } - ] - }, - "24d2fb22914c": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 8, - "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" - } - ] - } - } - } - }, - "25899527b47b": { - "name": "projectAssignableUsersLoading", - "ordinal": 19, - "value": false - }, - "2ff3fe127fb9": { - "name": "projectAssignableUsers", - "ordinal": 5, - "value": [] - }, - "363425334cb3": { - "name": "projectAssignableUsersError", - "ordinal": 18, - "value": "outer refused" - }, - "3902ea43121b": { - "name": "projectAssignableUsersLoading", - "ordinal": 7, - "value": true - }, - "40d665705e40": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 8, - "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 - } - } - } - }, - "4171776f506e": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 4, - "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 - } - } - } - }, - "41f997281eb8": { - "name": "reply-salvage", - "ordinal": 18, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.project.listAssignableUsersBySlug", - "operation": "github.project.assignable-users", - "variant": "github-project-assignable-users" - } - }, - "485d9242f6f3": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 8, - "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 - } - } - } - }, - "4963b09b1b19": { - "name": "projectAssignableUsersError", - "ordinal": 18, - "value": "inner refused" - }, - "49eca723a0e2": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 8, - "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 - } - } - }, - "4b33e1366553": { - "name": "projectIssueTypesLoading", - "ordinal": 21, - "value": false - }, - "55fc5237a996": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 15, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listIssueTypesBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"}}" - }, - "580a93d48297": { - "labels": ["bug"], - "labelsError": "", - "types": [ - { - "id": "type-1", - "name": "Bug" - } - ], - "typesError": "", - "users": [], - "usersError": "Unknown method" - }, - "5dd15ec04d86": { - "name": "projectAvailableLabels", - "ordinal": 1, - "value": [] - }, - "5e21dd8c2308": { - "name": "projectAssignableUsersError", - "ordinal": 18, - "value": "transport failure" - }, - "5f79a4527d55": { - "name": "projectAssignableUsersError", - "ordinal": 18, - "value": "Unknown method" - }, - "61e9a9d3f2b6": { - "name": "projectAvailableLabels", - "ordinal": 16, - "value": ["bug"] - }, - "6d2454f3b7b9": { - "name": "projectLabelsLoading", - "ordinal": 3, - "value": true - }, - "81eea9b1a14a": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 8, - "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" - } - } - } - }, - "9137611226ab": { - "name": "projectAssignableUsersError", - "ordinal": 19, - "value": "Failed to load assignees" - }, - "9912fbdd457c": { - "name": "projectIssueTypesLoading", - "ordinal": 11, - "value": true - }, - "9b3320d7d510": { - "labels": ["bug"], - "labelsError": "", - "types": [ - { - "id": "type-1", - "name": "Bug" - } - ], - "typesError": "", - "users": [], - "usersError": "" - }, - "9f8ede7fd42e": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 12, - "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" - } - ] - } - } - } - }, - "a71d7fbf7517": { - "name": "projectIssueTypes", - "ordinal": 21, - "value": [ - { - "id": "type-1", - "name": "Bug" - } - ] - }, - "aa05f01a4255": { - "name": "projectIssueTypesLoading", - "ordinal": 22, - "value": false - }, - "bee3fb4d48da": { - "name": "projectIssueTypes", - "ordinal": 9, - "value": [] - }, - "bfc236dc2e45": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 8, - "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 - } - } - }, - "c1ec04d6cffb": { - "labels": ["bug"], - "labelsError": "", - "types": [ - { - "id": "type-1", - "name": "Bug" - } - ], - "typesError": "", - "users": [], - "usersError": "inner refused" - }, - "cfcd8b229efe": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listLabelsBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"}}" - }, - "d36a9b596499": { - "name": "projectLabelsError", - "ordinal": 2, - "value": "" - }, - "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": "" - }, - "d663624b0741": { - "name": "projectAssignableUsersError", - "ordinal": 18, - "value": "" - }, - "d6657538c321": { - "name": "projectAssignableUsersLoading", - "ordinal": 20, - "value": false - }, - "e004f7afb559": { - "name": "projectLabelsLoading", - "ordinal": 17, - "value": false - }, - "e2f2bc801b88": { - "labels": ["bug"], - "labelsError": "", - "types": [ - { - "id": "type-1", - "name": "Bug" - } - ], - "typesError": "", - "users": [], - "usersError": "The host sent a reply this app could not read (github.project.listAssignableUsersBySlug)" - }, - "e8838734c6bb": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 14, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAssignableUsersBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"seedLogins\":[\"octocat\"]}}" - }, - "e908dbbdccb4": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 8, - "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 - } - } - }, - "e918604a4f49": { - "name": "projectIssueTypesError", - "ordinal": 10, - "value": "" - }, - "ea550b5ecd87": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 8, - "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" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f0b34eeec04a": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 8, - "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 - } - } - }, - "f1e41c753708": { - "labels": ["bug"], - "labelsError": "", - "types": [ - { - "id": "type-1", - "name": "Bug" - } - ], - "typesError": "", - "users": [], - "usersError": "outer refused" - }, - "f2b2738ca710": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 8, - "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 - } - } - }, - "f3677b2e5ed9": { - "name": "projectIssueTypes", - "ordinal": 20, - "value": [ - { - "id": "type-1", - "name": "Bug" - } - ] - }, - "f3849a7f0dff": { - "name": "projectAssignableUsersError", - "ordinal": 6, - "value": "" - }, - "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": ["4171776f506e", "24d2fb22914c", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "d5d91d8a5bac", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.result-absent:mounted", - "observation": { - "sender": ["4171776f506e", "012f4b9b6415", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e2f2bc801b88", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "06512b81879b", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.result-null:mounted", - "observation": { - "sender": ["4171776f506e", "81eea9b1a14a", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e2f2bc801b88", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "06512b81879b", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.inner-ok-missing:mounted", - "observation": { - "sender": ["4171776f506e", "ea550b5ecd87", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "d41a9829423a", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "41f997281eb8", - "9137611226ab", - "d6657538c321", - "a71d7fbf7517", - "aa05f01a4255" - ] - } - }, - { - "id": "tk-project-row-metadata-load.inner-false-string-error:mounted", - "observation": { - "sender": ["4171776f506e", "40d665705e40", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "d41a9829423a", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "41f997281eb8", - "9137611226ab", - "d6657538c321", - "a71d7fbf7517", - "aa05f01a4255" - ] - } - }, - { - "id": "tk-project-row-metadata-load.inner-false-object-error:mounted", - "observation": { - "sender": ["4171776f506e", "485d9242f6f3", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c1ec04d6cffb", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "4963b09b1b19", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.outer-refused:mounted", - "observation": { - "sender": ["4171776f506e", "49eca723a0e2", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "f1e41c753708", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "363425334cb3", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.outer-refused-no-message:mounted", - "observation": { - "sender": ["4171776f506e", "f0b34eeec04a", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9b3320d7d510", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "d663624b0741", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.method-not-found:mounted", - "observation": { - "sender": ["4171776f506e", "e908dbbdccb4", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "580a93d48297", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "5f79a4527d55", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.transport-rejection:mounted", - "observation": { - "sender": ["4171776f506e", "bfc236dc2e45", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "faf207372749", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "5e21dd8c2308", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.transport-rejection-no-message:mounted", - "observation": { - "sender": ["4171776f506e", "f2b2738ca710", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "9b3320d7d510", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "d663624b0741", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 0afc64c2adf..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-metadata-load-github.project.listissuetypesbyslug-1.json +++ /dev/null @@ -1,1073 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-metadata-load", - "family": "tasks.project-row-metadata-load", - "namedDeltas": [], - "values": { - "0bf9ac2a3d0a": { - "name": "projectIssueTypesError", - "ordinal": 20, - "value": "" - }, - "1e4a42e12fe1": { - "labels": ["bug"], - "labelsError": "", - "types": [], - "typesError": "outer refused", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "21ea4fab050f": { - "name": "projectAssignableUsers", - "ordinal": 18, - "value": [ - { - "login": "octocat", - "name": "Octo" - } - ] - }, - "24d2fb22914c": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 8, - "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" - } - ] - } - } - } - }, - "25899527b47b": { - "name": "projectAssignableUsersLoading", - "ordinal": 19, - "value": false - }, - "2ae82116783c": { - "name": "projectIssueTypesError", - "ordinal": 20, - "value": "transport failure" - }, - "2ff3fe127fb9": { - "name": "projectAssignableUsers", - "ordinal": 5, - "value": [] - }, - "3902ea43121b": { - "name": "projectAssignableUsersLoading", - "ordinal": 7, - "value": true - }, - "3cf593e3b898": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 12, - "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 - } - } - }, - "404aee2280bc": { - "labels": ["bug"], - "labelsError": "", - "types": [], - "typesError": "", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "4171776f506e": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 4, - "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 - } - } - } - }, - "4b33e1366553": { - "name": "projectIssueTypesLoading", - "ordinal": 21, - "value": false - }, - "55fc5237a996": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 15, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listIssueTypesBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"}}" - }, - "5dd15ec04d86": { - "name": "projectAvailableLabels", - "ordinal": 1, - "value": [] - }, - "61e9a9d3f2b6": { - "name": "projectAvailableLabels", - "ordinal": 16, - "value": ["bug"] - }, - "6394983c1b0a": { - "labels": ["bug"], - "labelsError": "", - "types": [], - "typesError": "The host sent a reply this app could not read (github.project.listIssueTypesBySlug)", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "64492996b2ef": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 12, - "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" - } - } - } - }, - "6d2454f3b7b9": { - "name": "projectLabelsLoading", - "ordinal": 3, - "value": true - }, - "7c837b386969": { - "labels": ["bug"], - "labelsError": "", - "types": [], - "typesError": "Unknown method", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "85dea4f0ec45": { - "labels": ["bug"], - "labelsError": "", - "types": [], - "typesError": "inner refused", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "8c0022812ba2": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 12, - "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 - } - } - }, - "982e4e890e08": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 12, - "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 - } - } - }, - "9912fbdd457c": { - "name": "projectIssueTypesLoading", - "ordinal": 11, - "value": true - }, - "9ba618c2bb87": { - "name": "projectIssueTypesError", - "ordinal": 20, - "value": "outer refused" - }, - "9f8ede7fd42e": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 12, - "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" - } - ] - } - } - } - }, - "a5fc70778afe": { - "labels": ["bug"], - "labelsError": "", - "types": [], - "typesError": "Failed to load issue types", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "a94d25a4a980": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 12, - "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 - } - } - }, - "aa05f01a4255": { - "name": "projectIssueTypesLoading", - "ordinal": 22, - "value": false - }, - "af11ecca4274": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 12, - "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 - } - } - } - }, - "b717e1719475": { - "name": "projectIssueTypesError", - "ordinal": 20, - "value": "inner refused" - }, - "bee3fb4d48da": { - "name": "projectIssueTypes", - "ordinal": 9, - "value": [] - }, - "c37bb95acfe0": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 12, - "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 - } - } - }, - "c7aa1a536878": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 12, - "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" - } - } - } - }, - "cc38042a99f2": { - "name": "projectIssueTypesError", - "ordinal": 20, - "value": "Unknown method" - }, - "cfcd8b229efe": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listLabelsBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"}}" - }, - "d174aa9012c0": { - "labels": ["bug"], - "labelsError": "", - "types": [], - "typesError": "transport failure", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "d36a9b596499": { - "name": "projectLabelsError", - "ordinal": 2, - "value": "" - }, - "d5d91d8a5bac": { - "labels": ["bug"], - "labelsError": "", - "types": [ - { - "id": "type-1", - "name": "Bug" - } - ], - "typesError": "", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "da8be96a48a0": { - "name": "reply-salvage", - "ordinal": 20, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.project.listIssueTypesBySlug", - "operation": "github.project.issue-types", - "variant": "github-project-issue-types" - } - }, - "dccbed4e785f": { - "name": "projectIssueTypesError", - "ordinal": 20, - "value": "The host sent a reply this app could not read (github.project.listIssueTypesBySlug)" - }, - "e004f7afb559": { - "name": "projectLabelsLoading", - "ordinal": 17, - "value": false - }, - "e8838734c6bb": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 14, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAssignableUsersBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"seedLogins\":[\"octocat\"]}}" - }, - "e918604a4f49": { - "name": "projectIssueTypesError", - "ordinal": 10, - "value": "" - }, - "e97283f423af": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 12, - "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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ee7cb4afe4a4": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 12, - "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 - } - } - } - }, - "f3677b2e5ed9": { - "name": "projectIssueTypes", - "ordinal": 20, - "value": [ - { - "id": "type-1", - "name": "Bug" - } - ] - }, - "f3849a7f0dff": { - "name": "projectAssignableUsersError", - "ordinal": 6, - "value": "" - }, - "f8df235cff2e": { - "name": "projectIssueTypesError", - "ordinal": 21, - "value": "Failed to load issue types" - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-metadata-load-github.project.listissuetypesbyslug-1", - "checkpoints": [ - { - "id": "tk-project-row-metadata-load.normal:mounted", - "observation": { - "sender": ["4171776f506e", "24d2fb22914c", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "d5d91d8a5bac", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.result-absent:mounted", - "observation": { - "sender": ["4171776f506e", "24d2fb22914c", "c37bb95acfe0"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6394983c1b0a", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "dccbed4e785f", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.result-null:mounted", - "observation": { - "sender": ["4171776f506e", "24d2fb22914c", "64492996b2ef"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6394983c1b0a", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "dccbed4e785f", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.inner-ok-missing:mounted", - "observation": { - "sender": ["4171776f506e", "24d2fb22914c", "c7aa1a536878"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a5fc70778afe", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "da8be96a48a0", - "f8df235cff2e", - "aa05f01a4255" - ] - } - }, - { - "id": "tk-project-row-metadata-load.inner-false-string-error:mounted", - "observation": { - "sender": ["4171776f506e", "24d2fb22914c", "ee7cb4afe4a4"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a5fc70778afe", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "da8be96a48a0", - "f8df235cff2e", - "aa05f01a4255" - ] - } - }, - { - "id": "tk-project-row-metadata-load.inner-false-object-error:mounted", - "observation": { - "sender": ["4171776f506e", "24d2fb22914c", "af11ecca4274"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "85dea4f0ec45", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "b717e1719475", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.outer-refused:mounted", - "observation": { - "sender": ["4171776f506e", "24d2fb22914c", "a94d25a4a980"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "1e4a42e12fe1", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "9ba618c2bb87", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.outer-refused-no-message:mounted", - "observation": { - "sender": ["4171776f506e", "24d2fb22914c", "982e4e890e08"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "404aee2280bc", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "0bf9ac2a3d0a", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.method-not-found:mounted", - "observation": { - "sender": ["4171776f506e", "24d2fb22914c", "8c0022812ba2"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7c837b386969", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "cc38042a99f2", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.transport-rejection:mounted", - "observation": { - "sender": ["4171776f506e", "24d2fb22914c", "3cf593e3b898"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "d174aa9012c0", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "2ae82116783c", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.transport-rejection-no-message:mounted", - "observation": { - "sender": ["4171776f506e", "24d2fb22914c", "e97283f423af"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "404aee2280bc", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "0bf9ac2a3d0a", - "4b33e1366553" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 85d5e8e7ec3..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-metadata-load-github.project.listlabelsbyslug-1.json +++ /dev/null @@ -1,1138 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-metadata-load", - "family": "tasks.project-row-metadata-load", - "namedDeltas": [], - "values": { - "073745984248": { - "name": "reply-salvage", - "ordinal": 16, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.project.listLabelsBySlug", - "operation": "github.project.repo-labels", - "variant": "github-project-labels" - } - }, - "0bcc456bf76f": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 4, - "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" - } - } - } - }, - "14c6f3311020": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 4, - "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 - } - } - }, - "21ea4fab050f": { - "name": "projectAssignableUsers", - "ordinal": 18, - "value": [ - { - "login": "octocat", - "name": "Octo" - } - ] - }, - "24d2fb22914c": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 8, - "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" - } - ] - } - } - } - }, - "25899527b47b": { - "name": "projectAssignableUsersLoading", - "ordinal": 19, - "value": false - }, - "28bac89de584": { - "labels": [], - "labelsError": "inner refused", - "types": [ - { - "id": "type-1", - "name": "Bug" - } - ], - "typesError": "", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "2ff3fe127fb9": { - "name": "projectAssignableUsers", - "ordinal": 5, - "value": [] - }, - "3902ea43121b": { - "name": "projectAssignableUsersLoading", - "ordinal": 7, - "value": true - }, - "3a9e8e3c8493": { - "name": "projectLabelsError", - "ordinal": 16, - "value": "transport failure" - }, - "4171776f506e": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 4, - "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 - } - } - } - }, - "4888b8ed69c4": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 4, - "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 - } - } - }, - "4b33e1366553": { - "name": "projectIssueTypesLoading", - "ordinal": 21, - "value": false - }, - "4d60fe24d9ce": { - "name": "projectLabelsError", - "ordinal": 16, - "value": "inner refused" - }, - "52f792bb8cbe": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 4, - "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 - } - } - } - }, - "53a82e75f637": { - "labels": [], - "labelsError": "transport failure", - "types": [ - { - "id": "type-1", - "name": "Bug" - } - ], - "typesError": "", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "54fca2d8a782": { - "name": "projectLabelsError", - "ordinal": 16, - "value": "" - }, - "55fc5237a996": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 15, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listIssueTypesBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"}}" - }, - "58119434ee38": { - "labels": [], - "labelsError": "outer refused", - "types": [ - { - "id": "type-1", - "name": "Bug" - } - ], - "typesError": "", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "5a71bc1a4967": { - "name": "projectLabelsLoading", - "ordinal": 18, - "value": false - }, - "5a98f463c804": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 4, - "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 - } - } - }, - "5dd15ec04d86": { - "name": "projectAvailableLabels", - "ordinal": 1, - "value": [] - }, - "61e9a9d3f2b6": { - "name": "projectAvailableLabels", - "ordinal": 16, - "value": ["bug"] - }, - "6cc4cd12a170": { - "labels": [], - "labelsError": "", - "types": [ - { - "id": "type-1", - "name": "Bug" - } - ], - "typesError": "", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "6d2454f3b7b9": { - "name": "projectLabelsLoading", - "ordinal": 3, - "value": true - }, - "76ea10dcdc10": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 4, - "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" - } - } - } - }, - "792eafc160d3": { - "labels": [], - "labelsError": "Unknown method", - "types": [ - { - "id": "type-1", - "name": "Bug" - } - ], - "typesError": "", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "822d5b90364a": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 4, - "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 - } - } - }, - "903819696961": { - "labels": [], - "labelsError": "Failed to load labels", - "types": [ - { - "id": "type-1", - "name": "Bug" - } - ], - "typesError": "", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "90c68071deac": { - "name": "projectLabelsError", - "ordinal": 16, - "value": "outer refused" - }, - "9912fbdd457c": { - "name": "projectIssueTypesLoading", - "ordinal": 11, - "value": true - }, - "9f8ede7fd42e": { - "name": "github.project.listIssueTypesBySlug#1", - "ordinal": 12, - "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" - } - ] - } - } - } - }, - "a71d7fbf7517": { - "name": "projectIssueTypes", - "ordinal": 21, - "value": [ - { - "id": "type-1", - "name": "Bug" - } - ] - }, - "a9db726dabcc": { - "name": "projectLabelsError", - "ordinal": 17, - "value": "Failed to load labels" - }, - "aa05f01a4255": { - "name": "projectIssueTypesLoading", - "ordinal": 22, - "value": false - }, - "b2a3d019b4c1": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 4, - "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 - } - } - }, - "b5d449c93e42": { - "name": "projectAssignableUsers", - "ordinal": 19, - "value": [ - { - "login": "octocat", - "name": "Octo" - } - ] - }, - "b6a7c936cff9": { - "name": "projectLabelsError", - "ordinal": 16, - "value": "The host sent a reply this app could not read (github.project.listLabelsBySlug)" - }, - "bee3fb4d48da": { - "name": "projectIssueTypes", - "ordinal": 9, - "value": [] - }, - "c89163e5e85e": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 4, - "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 - } - } - }, - "cfcd8b229efe": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 13, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listLabelsBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\"}}" - }, - "d36a9b596499": { - "name": "projectLabelsError", - "ordinal": 2, - "value": "" - }, - "d5d91d8a5bac": { - "labels": ["bug"], - "labelsError": "", - "types": [ - { - "id": "type-1", - "name": "Bug" - } - ], - "typesError": "", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "d6657538c321": { - "name": "projectAssignableUsersLoading", - "ordinal": 20, - "value": false - }, - "e004f7afb559": { - "name": "projectLabelsLoading", - "ordinal": 17, - "value": false - }, - "e297dafb80c9": { - "labels": [], - "labelsError": "The host sent a reply this app could not read (github.project.listLabelsBySlug)", - "types": [ - { - "id": "type-1", - "name": "Bug" - } - ], - "typesError": "", - "users": [ - { - "login": "octocat", - "name": "Octo" - } - ], - "usersError": "" - }, - "e2ec2112181a": { - "name": "github.project.listLabelsBySlug#1", - "ordinal": 4, - "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 - } - } - } - }, - "e8838734c6bb": { - "name": "github.project.listAssignableUsersBySlug#1", - "ordinal": 14, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.listAssignableUsersBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"seedLogins\":[\"octocat\"]}}" - }, - "e918604a4f49": { - "name": "projectIssueTypesError", - "ordinal": 10, - "value": "" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f3677b2e5ed9": { - "name": "projectIssueTypes", - "ordinal": 20, - "value": [ - { - "id": "type-1", - "name": "Bug" - } - ] - }, - "f3849a7f0dff": { - "name": "projectAssignableUsersError", - "ordinal": 6, - "value": "" - }, - "f7d9b923b2af": { - "name": "projectLabelsError", - "ordinal": 16, - "value": "Unknown method" - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-metadata-load-github.project.listlabelsbyslug-1", - "checkpoints": [ - { - "id": "tk-project-row-metadata-load.normal:mounted", - "observation": { - "sender": ["4171776f506e", "24d2fb22914c", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "d5d91d8a5bac", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "61e9a9d3f2b6", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.result-absent:mounted", - "observation": { - "sender": ["4888b8ed69c4", "24d2fb22914c", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e297dafb80c9", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "b6a7c936cff9", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.result-null:mounted", - "observation": { - "sender": ["76ea10dcdc10", "24d2fb22914c", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "e297dafb80c9", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "b6a7c936cff9", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.inner-ok-missing:mounted", - "observation": { - "sender": ["0bcc456bf76f", "24d2fb22914c", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "903819696961", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "073745984248", - "a9db726dabcc", - "5a71bc1a4967", - "b5d449c93e42", - "d6657538c321", - "a71d7fbf7517", - "aa05f01a4255" - ] - } - }, - { - "id": "tk-project-row-metadata-load.inner-false-string-error:mounted", - "observation": { - "sender": ["e2ec2112181a", "24d2fb22914c", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "903819696961", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "073745984248", - "a9db726dabcc", - "5a71bc1a4967", - "b5d449c93e42", - "d6657538c321", - "a71d7fbf7517", - "aa05f01a4255" - ] - } - }, - { - "id": "tk-project-row-metadata-load.inner-false-object-error:mounted", - "observation": { - "sender": ["52f792bb8cbe", "24d2fb22914c", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "28bac89de584", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "4d60fe24d9ce", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.outer-refused:mounted", - "observation": { - "sender": ["c89163e5e85e", "24d2fb22914c", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "58119434ee38", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "90c68071deac", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.outer-refused-no-message:mounted", - "observation": { - "sender": ["822d5b90364a", "24d2fb22914c", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6cc4cd12a170", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "54fca2d8a782", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.method-not-found:mounted", - "observation": { - "sender": ["14c6f3311020", "24d2fb22914c", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "792eafc160d3", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "f7d9b923b2af", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.transport-rejection:mounted", - "observation": { - "sender": ["b2a3d019b4c1", "24d2fb22914c", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "53a82e75f637", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "3a9e8e3c8493", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - }, - { - "id": "tk-project-row-metadata-load.transport-rejection-no-message:mounted", - "observation": { - "sender": ["5a98f463c804", "24d2fb22914c", "9f8ede7fd42e"], - "payloads": ["cfcd8b229efe", "e8838734c6bb", "55fc5237a996"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6cc4cd12a170", - "effects": [ - "5dd15ec04d86", - "d36a9b596499", - "6d2454f3b7b9", - "2ff3fe127fb9", - "f3849a7f0dff", - "3902ea43121b", - "bee3fb4d48da", - "e918604a4f49", - "9912fbdd457c", - "54fca2d8a782", - "e004f7afb559", - "21ea4fab050f", - "25899527b47b", - "f3677b2e5ed9", - "4b33e1366553" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 41b4cd986cc..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.prchecks-1.json +++ /dev/null @@ -1,2713 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-review-checks", - "family": "tasks.project-row-review-checks", - "namedDeltas": [], - "values": { - "0af1de3f1c7b": { - "name": "github.setPRFileViewed#1", - "ordinal": 23, - "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}}" - }, - "10ea5a36d85f": { - "name": "github.prChecks#1", - "ordinal": 10, - "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 - } - } - }, - "1327162bd176": { - "name": "github.prChecks#1", - "ordinal": 10, - "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 - } - } - }, - "1332eeb82dba": { - "name": "projectRowDetailError", - "ordinal": 12, - "value": "transport failure" - }, - "133f73ee2237": { - "name": "projectRowDetail", - "ordinal": 24, - "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" - } - } - ] - } - }, - "146b5bb967d4": { - "name": "projectRowDetail", - "ordinal": 5, - "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" - } - } - ] - } - }, - "16338db99b3b": { - "name": "github.rerunPRChecks#1", - "ordinal": 17, - "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}}" - }, - "17888a64c8b2": { - "name": "github.prChecks#1", - "ordinal": 10, - "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 - } - } - }, - "19346a719903": { - "name": "projectRowDetailError", - "ordinal": 2, - "value": "" - }, - "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 - }, - "271627cc96c4": { - "name": "github.prChecks#1", - "ordinal": 10, - "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" - } - } - } - }, - "29943274d7ef": { - "name": "github.prChecks#1", - "ordinal": 11, - "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}}" - }, - "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 - }, - "2b956bbf980c": { - "name": "projectRowDetailRefreshSeq", - "ordinal": 18, - "value": 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 - }, - "373c8128f19d": { - "name": "github.prChecks#1", - "ordinal": 10, - "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" - } - } - } - }, - "3a4324d7f4c0": { - "name": "github.requestPRReviewers#1", - "ordinal": 3, - "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 - } - } - } - }, - "4123bc693ce4": { - "name": "projectMutating", - "ordinal": 14, - "value": true - }, - "44c2e6541ebd": { - "name": "projectRowDetailError", - "ordinal": 9, - "value": "" - }, - "4ad8bb2f6308": { - "name": "projectReviewersDraft", - "ordinal": 6, - "value": "" - }, - "5b08d6631c0c": { - "name": "projectRowDetailError", - "ordinal": 12, - "value": "" - }, - "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 - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": 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 - }, - "6f7dfb75b454": { - "name": "github.prChecks#1", - "ordinal": 10, - "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 - } - } - }, - "73511c204332": { - "name": "projectRowDetailError", - "ordinal": 12, - "value": "outer refused" - }, - "7440f0f1bab9": { - "name": "projectMutating", - "ordinal": 19, - "value": false - }, - "7c901dbd3338": { - "name": "github.prChecks#1", - "ordinal": 10, - "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 - } - } - }, - "7fc742df87db": { - "name": "projectRowDetailError", - "ordinal": 12, - "value": "Connection closed" - }, - "7ff05eadbd07": { - "name": "github.requestPRReviewers#1", - "ordinal": 4, - "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\"]}}" - }, - "83680a8503ad": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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 - } - } - } - }, - "8edd2cc5d098": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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 - } - } - }, - "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 - }, - "a089b6b569cc": { - "name": "projectRowDetail", - "ordinal": 24, - "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" - } - } - ] - } - }, - "a1762a31897f": { - "name": "github.prChecks#1", - "ordinal": 10, - "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": "" - } - ] - } - } - }, - "a3e4ffc03cda": { - "name": "github.prChecks#1", - "ordinal": 10, - "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 - } - } - } - }, - "a735fd6aee5f": { - "name": "projectMutating", - "ordinal": 7, - "value": false - }, - "b0f2d0edec6a": { - "name": "projectMutating", - "ordinal": 8, - "value": true - }, - "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 - }, - "bb4b1a8930bc": { - "name": "projectRowDetailError", - "ordinal": 12, - "value": "The host sent a reply this app could not read (github.prChecks)" - }, - "c21bc380413b": { - "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": "The host sent a reply this app could not read (github.prChecks)", - "mutating": false, - "refreshSeq": 0 - }, - "d09c526ea284": { - "name": "projectRowDetailError", - "ordinal": 15, - "value": "" - }, - "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 - }, - "e15d886f2560": { - "name": "github.prChecks#1", - "ordinal": 10, - "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 - } - } - }, - "e3180bc6526a": { - "name": "projectMutating", - "ordinal": 13, - "value": false - }, - "e86ae7a34404": { - "name": "projectRowDetailError", - "ordinal": 12, - "value": "Unknown method" - }, - "eb2a575f353a": { - "name": "projectRowDetail", - "ordinal": 12, - "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" - } - } - ] - } - }, - "eb4a625e2236": { - "name": "projectMutating", - "ordinal": 25, - "value": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec5e2e527535": { - "name": "github.prChecks#1", - "ordinal": 10, - "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 - } - } - }, - "ecb02d3e0977": { - "name": "projectMutating", - "ordinal": 20, - "value": true - }, - "f8d5b7531c5c": { - "name": "github.prChecks#1", - "ordinal": 10, - "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 - } - } - } - }, - "fb41e38e331b": { - "name": "projectRowDetailError", - "ordinal": 21, - "value": "" - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-review-checks-github.prchecks-1", - "checkpoints": [ - { - "id": "tk-project-row-review-checks.prelude:reviewers-settled", - "observation": { - "sender": ["3a4324d7f4c0"], - "payloads": ["7ff05eadbd07"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "2cd85ef93c74", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f" - ] - } - }, - { - "id": "tk-project-row-review-checks.prelude:cleanup", - "observation": { - "sender": ["3a4324d7f4c0", "1327162bd176"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "2a1ffe6c7f4c", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "7fc742df87db", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.normal:checks-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "22ffca652b36", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.normal:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "62edc52051d6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.normal:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "5cdba004ba6c", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "a089b6b569cc", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-absent:checks-settled", - "observation": { - "sender": ["3a4324d7f4c0", "7c901dbd3338"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "c21bc380413b", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "bb4b1a8930bc", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-absent:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "7c901dbd3338", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "9f7761a3afec", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "bb4b1a8930bc", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-absent:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "7c901dbd3338", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "b2fdd4b38834", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "bb4b1a8930bc", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "133f73ee2237", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-null:checks-settled", - "observation": { - "sender": ["3a4324d7f4c0", "271627cc96c4"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "c21bc380413b", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "bb4b1a8930bc", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-null:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "271627cc96c4", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "9f7761a3afec", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "bb4b1a8930bc", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-null:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "271627cc96c4", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "b2fdd4b38834", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "bb4b1a8930bc", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "133f73ee2237", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-ok-missing:checks-settled", - "observation": { - "sender": ["3a4324d7f4c0", "373c8128f19d"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "c21bc380413b", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "bb4b1a8930bc", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-ok-missing:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "373c8128f19d", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "9f7761a3afec", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "bb4b1a8930bc", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-ok-missing:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "373c8128f19d", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "b2fdd4b38834", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "bb4b1a8930bc", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "133f73ee2237", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-string-error:checks-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a3e4ffc03cda"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "c21bc380413b", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "bb4b1a8930bc", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-string-error:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a3e4ffc03cda", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "9f7761a3afec", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "bb4b1a8930bc", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-string-error:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a3e4ffc03cda", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "b2fdd4b38834", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "bb4b1a8930bc", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "133f73ee2237", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-object-error:checks-settled", - "observation": { - "sender": ["3a4324d7f4c0", "f8d5b7531c5c"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "c21bc380413b", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "bb4b1a8930bc", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-object-error:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "f8d5b7531c5c", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "9f7761a3afec", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "bb4b1a8930bc", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-object-error:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "f8d5b7531c5c", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "b2fdd4b38834", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "bb4b1a8930bc", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "133f73ee2237", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused:checks-settled", - "observation": { - "sender": ["3a4324d7f4c0", "ec5e2e527535"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "1fd8ba4fe09e", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "73511c204332", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "ec5e2e527535", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "9f7761a3afec", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "73511c204332", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "ec5e2e527535", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "b2fdd4b38834", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "73511c204332", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "133f73ee2237", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused-no-message:checks-settled", - "observation": { - "sender": ["3a4324d7f4c0", "17888a64c8b2"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "2cd85ef93c74", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "5b08d6631c0c", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused-no-message:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "17888a64c8b2", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "9f7761a3afec", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "5b08d6631c0c", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused-no-message:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "17888a64c8b2", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "b2fdd4b38834", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "5b08d6631c0c", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "133f73ee2237", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.method-not-found:checks-settled", - "observation": { - "sender": ["3a4324d7f4c0", "e15d886f2560"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "d7be83edec32", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "e86ae7a34404", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.method-not-found:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "e15d886f2560", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "9f7761a3afec", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "e86ae7a34404", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.method-not-found:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "e15d886f2560", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "b2fdd4b38834", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "e86ae7a34404", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "133f73ee2237", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection:checks-settled", - "observation": { - "sender": ["3a4324d7f4c0", "10ea5a36d85f"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "d71bf87d2c40", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "1332eeb82dba", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "10ea5a36d85f", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "9f7761a3afec", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "1332eeb82dba", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "10ea5a36d85f", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "b2fdd4b38834", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "1332eeb82dba", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "133f73ee2237", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection-no-message:checks-settled", - "observation": { - "sender": ["3a4324d7f4c0", "6f7dfb75b454"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "2cd85ef93c74", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "5b08d6631c0c", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection-no-message:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "6f7dfb75b454", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "9f7761a3afec", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "5b08d6631c0c", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection-no-message:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "6f7dfb75b454", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "b2fdd4b38834", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "5b08d6631c0c", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "133f73ee2237", - "eb4a625e2236" - ] - } - } - ] - } -} 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 deleted file mode 100644 index e56307a9c20..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.requestprreviewers-1.json +++ /dev/null @@ -1,3241 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-review-checks", - "family": "tasks.project-row-review-checks", - "namedDeltas": [], - "values": { - "0827e8a64c0d": { - "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": "Failed to request reviewers", - "mutating": false, - "refreshSeq": 0 - }, - "08a40bd35faa": { - "name": "projectMutating", - "ordinal": 24, - "value": false - }, - "0af1de3f1c7b": { - "name": "github.setPRFileViewed#1", - "ordinal": 23, - "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}}" - }, - "0b498ff1e88c": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "outer refused" - }, - "0c4bbb309bc3": { - "name": "projectRowDetail", - "ordinal": 11, - "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": [] - } - }, - "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 - }, - "146b5bb967d4": { - "name": "projectRowDetail", - "ordinal": 5, - "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" - } - } - ] - } - }, - "157e777228bd": { - "name": "github.requestPRReviewers#1", - "ordinal": 3, - "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 - } - } - } - }, - "16338db99b3b": { - "name": "github.rerunPRChecks#1", - "ordinal": 17, - "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}}" - }, - "19346a719903": { - "name": "projectRowDetailError", - "ordinal": 2, - "value": "" - }, - "1c5e14fa3ceb": { - "name": "github.prChecks#1", - "ordinal": 10, - "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}}" - }, - "1cc38c8dde55": { - "name": "projectMutating", - "ordinal": 18, - "value": false - }, - "1d7be6a36f40": { - "name": "github.prChecks#1", - "ordinal": 9, - "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": "" - } - ] - } - } - }, - "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 - }, - "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 - }, - "29943274d7ef": { - "name": "github.prChecks#1", - "ordinal": 11, - "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}}" - }, - "29b6b89fda61": { - "name": "projectRowDetail", - "ordinal": 12, - "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": [] - } - }, - "2b956bbf980c": { - "name": "projectRowDetailRefreshSeq", - "ordinal": 18, - "value": 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 - }, - "3371341e2026": { - "name": "reply-salvage", - "ordinal": 5, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.requestPRReviewers", - "operation": "github.request-pr-reviewers", - "variant": "task-item-mutation" - } - }, - "3a4324d7f4c0": { - "name": "github.requestPRReviewers#1", - "ordinal": 3, - "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 - } - } - } - }, - "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 - }, - "4123bc693ce4": { - "name": "projectMutating", - "ordinal": 14, - "value": true - }, - "44c2e6541ebd": { - "name": "projectRowDetailError", - "ordinal": 9, - "value": "" - }, - "46aa3b6c9dea": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "The host sent a reply this app could not read (github.requestPRReviewers)" - }, - "4ad8bb2f6308": { - "name": "projectReviewersDraft", - "ordinal": 6, - "value": "" - }, - "510db4658728": { - "name": "projectRowDetailError", - "ordinal": 8, - "value": "" - }, - "5222145157f4": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "Unknown method" - }, - "5c30b4794b57": { - "name": "projectRowDetailError", - "ordinal": 14, - "value": "" - }, - "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 - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": true - }, - "5fb01c7a0215": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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}}" - }, - "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 - }, - "671d737b8d3a": { - "name": "projectRowDetailError", - "ordinal": 6, - "value": "Failed to request reviewers" - }, - "6db288f85826": { - "name": "github.requestPRReviewers#1", - "ordinal": 3, - "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" - } - } - } - }, - "72332e237f1f": { - "name": "projectMutating", - "ordinal": 6, - "value": false - }, - "7440f0f1bab9": { - "name": "projectMutating", - "ordinal": 19, - "value": false - }, - "79ac73c990d0": { - "name": "github.requestPRReviewers#1", - "ordinal": 3, - "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 - } - } - }, - "79e27b30fec7": { - "name": "projectRowDetailRefreshSeq", - "ordinal": 17, - "value": 1 - }, - "7dd537e2105e": { - "name": "github.requestPRReviewers#1", - "ordinal": 3, - "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 - } - } - } - }, - "7ff05eadbd07": { - "name": "github.requestPRReviewers#1", - "ordinal": 4, - "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\"]}}" - }, - "83680a8503ad": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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 - } - } - } - }, - "8be4f9964003": { - "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": "The host sent a reply this app could not read (github.requestPRReviewers)", - "mutating": false, - "refreshSeq": 0 - }, - "8edd2cc5d098": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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 - } - } - }, - "8f85801416ac": { - "name": "github.requestPRReviewers#1", - "ordinal": 3, - "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 - } - } - }, - "93c167a1905d": { - "name": "github.requestPRReviewers#1", - "ordinal": 3, - "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" - } - } - } - }, - "942dbdc66b6d": { - "name": "github.requestPRReviewers#1", - "ordinal": 3, - "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 - } - } - }, - "97ba222c899d": { - "name": "projectRowDetailError", - "ordinal": 20, - "value": "" - }, - "9ed502bbd976": { - "name": "github.requestPRReviewers#1", - "ordinal": 3, - "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 - } - } - }, - "9f68a2630eb1": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "transport failure" - }, - "a089b6b569cc": { - "name": "projectRowDetail", - "ordinal": 24, - "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" - } - } - ] - } - }, - "a1762a31897f": { - "name": "github.prChecks#1", - "ordinal": 10, - "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": "" - } - ] - } - } - }, - "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 - }, - "a735fd6aee5f": { - "name": "projectMutating", - "ordinal": 7, - "value": false - }, - "a8ff11b6adce": { - "name": "projectMutating", - "ordinal": 13, - "value": true - }, - "b0f2d0edec6a": { - "name": "projectMutating", - "ordinal": 8, - "value": true - }, - "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 - }, - "ba368114c65d": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "" - }, - "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 - }, - "c12dad531759": { - "name": "github.setPRFileViewed#1", - "ordinal": 21, - "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 - } - } - }, - "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 - }, - "c5b398957021": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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}}" - }, - "c983a4323ee8": { - "name": "github.requestPRReviewers#1", - "ordinal": 3, - "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 - } - } - }, - "ce1f6d47985f": { - "name": "projectMutating", - "ordinal": 12, - "value": false - }, - "d09377137801": { - "name": "projectMutating", - "ordinal": 19, - "value": true - }, - "d09c526ea284": { - "name": "projectRowDetailError", - "ordinal": 15, - "value": "" - }, - "d16658795650": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "inner refused" - }, - "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 - }, - "d4d68d8186b6": { - "name": "projectRowDetail", - "ordinal": 24, - "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": [] - } - }, - "e3180bc6526a": { - "name": "projectMutating", - "ordinal": 13, - "value": false - }, - "eb2a575f353a": { - "name": "projectRowDetail", - "ordinal": 12, - "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" - } - } - ] - } - }, - "eb4a625e2236": { - "name": "projectMutating", - "ordinal": 25, - "value": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ecb02d3e0977": { - "name": "projectMutating", - "ordinal": 20, - "value": true - }, - "f39ed9ab521e": { - "name": "projectMutating", - "ordinal": 7, - "value": true - }, - "f9af825a9403": { - "name": "projectRowDetail", - "ordinal": 23, - "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": [] - } - }, - "f9fc930cc76a": { - "name": "github.requestPRReviewers#1", - "ordinal": 3, - "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 - } - } - }, - "fb41e38e331b": { - "name": "projectRowDetailError", - "ordinal": 21, - "value": "" - }, - "ff26a657cfde": { - "name": "github.rerunPRChecks#1", - "ordinal": 15, - "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 - } - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-review-checks-github.requestprreviewers-1", - "checkpoints": [ - { - "id": "tk-project-row-review-checks.normal:reviewers-settled", - "observation": { - "sender": ["3a4324d7f4c0"], - "payloads": ["7ff05eadbd07"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "2cd85ef93c74", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f" - ] - } - }, - { - "id": "tk-project-row-review-checks.normal:checks-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "22ffca652b36", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.normal:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "62edc52051d6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.normal:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "5cdba004ba6c", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "a089b6b569cc", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-absent:reviewers-settled", - "observation": { - "sender": ["c983a4323ee8"], - "payloads": ["7ff05eadbd07"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "8be4f9964003", - "effects": ["5d32aa29303c", "19346a719903", "46aa3b6c9dea", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-review-checks.result-absent:checks-settled", - "observation": { - "sender": ["c983a4323ee8", "1d7be6a36f40"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "1394649d889f", - "effects": [ - "5d32aa29303c", - "19346a719903", - "46aa3b6c9dea", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-absent:rerun-settled", - "observation": { - "sender": ["c983a4323ee8", "1d7be6a36f40", "ff26a657cfde"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "253a401313b2", - "effects": [ - "5d32aa29303c", - "19346a719903", - "46aa3b6c9dea", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-absent:viewed-settled", - "observation": { - "sender": ["c983a4323ee8", "1d7be6a36f40", "ff26a657cfde", "c12dad531759"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215", "c5b398957021"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "3c2fa1277556", - "effects": [ - "5d32aa29303c", - "19346a719903", - "46aa3b6c9dea", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "f9af825a9403", - "08a40bd35faa" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-null:reviewers-settled", - "observation": { - "sender": ["6db288f85826"], - "payloads": ["7ff05eadbd07"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "8be4f9964003", - "effects": ["5d32aa29303c", "19346a719903", "46aa3b6c9dea", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-review-checks.result-null:checks-settled", - "observation": { - "sender": ["6db288f85826", "1d7be6a36f40"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "1394649d889f", - "effects": [ - "5d32aa29303c", - "19346a719903", - "46aa3b6c9dea", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-null:rerun-settled", - "observation": { - "sender": ["6db288f85826", "1d7be6a36f40", "ff26a657cfde"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "253a401313b2", - "effects": [ - "5d32aa29303c", - "19346a719903", - "46aa3b6c9dea", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-null:viewed-settled", - "observation": { - "sender": ["6db288f85826", "1d7be6a36f40", "ff26a657cfde", "c12dad531759"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215", "c5b398957021"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "3c2fa1277556", - "effects": [ - "5d32aa29303c", - "19346a719903", - "46aa3b6c9dea", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "f9af825a9403", - "08a40bd35faa" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-ok-missing:reviewers-settled", - "observation": { - "sender": ["93c167a1905d"], - "payloads": ["7ff05eadbd07"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "2cd85ef93c74", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-ok-missing:checks-settled", - "observation": { - "sender": ["93c167a1905d", "a1762a31897f"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "22ffca652b36", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-ok-missing:rerun-settled", - "observation": { - "sender": ["93c167a1905d", "a1762a31897f", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "62edc52051d6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-ok-missing:viewed-settled", - "observation": { - "sender": ["93c167a1905d", "a1762a31897f", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "5cdba004ba6c", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "a089b6b569cc", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-string-error:reviewers-settled", - "observation": { - "sender": ["7dd537e2105e"], - "payloads": ["7ff05eadbd07"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "bca6ebb96154", - "effects": ["5d32aa29303c", "19346a719903", "d16658795650", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-string-error:checks-settled", - "observation": { - "sender": ["7dd537e2105e", "1d7be6a36f40"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "1394649d889f", - "effects": [ - "5d32aa29303c", - "19346a719903", - "d16658795650", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-string-error:rerun-settled", - "observation": { - "sender": ["7dd537e2105e", "1d7be6a36f40", "ff26a657cfde"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "253a401313b2", - "effects": [ - "5d32aa29303c", - "19346a719903", - "d16658795650", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-string-error:viewed-settled", - "observation": { - "sender": ["7dd537e2105e", "1d7be6a36f40", "ff26a657cfde", "c12dad531759"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215", "c5b398957021"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "3c2fa1277556", - "effects": [ - "5d32aa29303c", - "19346a719903", - "d16658795650", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "f9af825a9403", - "08a40bd35faa" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-object-error:reviewers-settled", - "observation": { - "sender": ["157e777228bd"], - "payloads": ["7ff05eadbd07"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "0827e8a64c0d", - "effects": [ - "5d32aa29303c", - "19346a719903", - "3371341e2026", - "671d737b8d3a", - "a735fd6aee5f" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-object-error:checks-settled", - "observation": { - "sender": ["157e777228bd", "a1762a31897f"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "1394649d889f", - "effects": [ - "5d32aa29303c", - "19346a719903", - "3371341e2026", - "671d737b8d3a", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "29b6b89fda61", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-object-error:rerun-settled", - "observation": { - "sender": ["157e777228bd", "a1762a31897f", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "253a401313b2", - "effects": [ - "5d32aa29303c", - "19346a719903", - "3371341e2026", - "671d737b8d3a", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "29b6b89fda61", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-object-error:viewed-settled", - "observation": { - "sender": ["157e777228bd", "a1762a31897f", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "3c2fa1277556", - "effects": [ - "5d32aa29303c", - "19346a719903", - "3371341e2026", - "671d737b8d3a", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "29b6b89fda61", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "d4d68d8186b6", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused:reviewers-settled", - "observation": { - "sender": ["8f85801416ac"], - "payloads": ["7ff05eadbd07"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "b147405e45ea", - "effects": ["5d32aa29303c", "19346a719903", "0b498ff1e88c", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused:checks-settled", - "observation": { - "sender": ["8f85801416ac", "1d7be6a36f40"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "1394649d889f", - "effects": [ - "5d32aa29303c", - "19346a719903", - "0b498ff1e88c", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused:rerun-settled", - "observation": { - "sender": ["8f85801416ac", "1d7be6a36f40", "ff26a657cfde"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "253a401313b2", - "effects": [ - "5d32aa29303c", - "19346a719903", - "0b498ff1e88c", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused:viewed-settled", - "observation": { - "sender": ["8f85801416ac", "1d7be6a36f40", "ff26a657cfde", "c12dad531759"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215", "c5b398957021"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "3c2fa1277556", - "effects": [ - "5d32aa29303c", - "19346a719903", - "0b498ff1e88c", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "f9af825a9403", - "08a40bd35faa" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused-no-message:reviewers-settled", - "observation": { - "sender": ["942dbdc66b6d"], - "payloads": ["7ff05eadbd07"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "d388d0dd9c9c", - "effects": ["5d32aa29303c", "19346a719903", "ba368114c65d", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused-no-message:checks-settled", - "observation": { - "sender": ["942dbdc66b6d", "1d7be6a36f40"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "1394649d889f", - "effects": [ - "5d32aa29303c", - "19346a719903", - "ba368114c65d", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused-no-message:rerun-settled", - "observation": { - "sender": ["942dbdc66b6d", "1d7be6a36f40", "ff26a657cfde"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "253a401313b2", - "effects": [ - "5d32aa29303c", - "19346a719903", - "ba368114c65d", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused-no-message:viewed-settled", - "observation": { - "sender": ["942dbdc66b6d", "1d7be6a36f40", "ff26a657cfde", "c12dad531759"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215", "c5b398957021"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "3c2fa1277556", - "effects": [ - "5d32aa29303c", - "19346a719903", - "ba368114c65d", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "f9af825a9403", - "08a40bd35faa" - ] - } - }, - { - "id": "tk-project-row-review-checks.method-not-found:reviewers-settled", - "observation": { - "sender": ["9ed502bbd976"], - "payloads": ["7ff05eadbd07"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "c14c0c1159d1", - "effects": ["5d32aa29303c", "19346a719903", "5222145157f4", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-review-checks.method-not-found:checks-settled", - "observation": { - "sender": ["9ed502bbd976", "1d7be6a36f40"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "1394649d889f", - "effects": [ - "5d32aa29303c", - "19346a719903", - "5222145157f4", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-review-checks.method-not-found:rerun-settled", - "observation": { - "sender": ["9ed502bbd976", "1d7be6a36f40", "ff26a657cfde"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "253a401313b2", - "effects": [ - "5d32aa29303c", - "19346a719903", - "5222145157f4", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-review-checks.method-not-found:viewed-settled", - "observation": { - "sender": ["9ed502bbd976", "1d7be6a36f40", "ff26a657cfde", "c12dad531759"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215", "c5b398957021"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "3c2fa1277556", - "effects": [ - "5d32aa29303c", - "19346a719903", - "5222145157f4", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "f9af825a9403", - "08a40bd35faa" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection:reviewers-settled", - "observation": { - "sender": ["f9fc930cc76a"], - "payloads": ["7ff05eadbd07"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "a2c3811d26b3", - "effects": ["5d32aa29303c", "19346a719903", "9f68a2630eb1", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection:checks-settled", - "observation": { - "sender": ["f9fc930cc76a", "1d7be6a36f40"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "1394649d889f", - "effects": [ - "5d32aa29303c", - "19346a719903", - "9f68a2630eb1", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection:rerun-settled", - "observation": { - "sender": ["f9fc930cc76a", "1d7be6a36f40", "ff26a657cfde"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "253a401313b2", - "effects": [ - "5d32aa29303c", - "19346a719903", - "9f68a2630eb1", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection:viewed-settled", - "observation": { - "sender": ["f9fc930cc76a", "1d7be6a36f40", "ff26a657cfde", "c12dad531759"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215", "c5b398957021"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "3c2fa1277556", - "effects": [ - "5d32aa29303c", - "19346a719903", - "9f68a2630eb1", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "f9af825a9403", - "08a40bd35faa" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection-no-message:reviewers-settled", - "observation": { - "sender": ["79ac73c990d0"], - "payloads": ["7ff05eadbd07"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "d388d0dd9c9c", - "effects": ["5d32aa29303c", "19346a719903", "ba368114c65d", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection-no-message:checks-settled", - "observation": { - "sender": ["79ac73c990d0", "1d7be6a36f40"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "1394649d889f", - "effects": [ - "5d32aa29303c", - "19346a719903", - "ba368114c65d", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection-no-message:rerun-settled", - "observation": { - "sender": ["79ac73c990d0", "1d7be6a36f40", "ff26a657cfde"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "253a401313b2", - "effects": [ - "5d32aa29303c", - "19346a719903", - "ba368114c65d", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection-no-message:viewed-settled", - "observation": { - "sender": ["79ac73c990d0", "1d7be6a36f40", "ff26a657cfde", "c12dad531759"], - "payloads": ["7ff05eadbd07", "1c5e14fa3ceb", "5fb01c7a0215", "c5b398957021"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "3c2fa1277556", - "effects": [ - "5d32aa29303c", - "19346a719903", - "ba368114c65d", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "0c4bbb309bc3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "79e27b30fec7", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "f9af825a9403", - "08a40bd35faa" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 61b113200f2..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.rerunprchecks-1.json +++ /dev/null @@ -1,2690 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-review-checks", - "family": "tasks.project-row-review-checks", - "namedDeltas": [], - "values": { - "058c73abcfe0": { - "name": "projectRowDetailError", - "ordinal": 18, - "value": "outer refused" - }, - "0670ae9d25fd": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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 - } - } - }, - "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 - }, - "0af1de3f1c7b": { - "name": "github.setPRFileViewed#1", - "ordinal": 23, - "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}}" - }, - "0c189575f0b4": { - "name": "reply-salvage", - "ordinal": 18, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.rerunPRChecks", - "operation": "github.rerun-pr-checks", - "variant": "task-item-mutation" - } - }, - "146b5bb967d4": { - "name": "projectRowDetail", - "ordinal": 5, - "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" - } - } - ] - } - }, - "15b9bf9de291": { - "name": "projectRowDetailError", - "ordinal": 18, - "value": "" - }, - "162a60d4ef69": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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 - } - } - }, - "16338db99b3b": { - "name": "github.rerunPRChecks#1", - "ordinal": 17, - "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}}" - }, - "19346a719903": { - "name": "projectRowDetailError", - "ordinal": 2, - "value": "" - }, - "1bf0937a02b9": { - "name": "projectMutating", - "ordinal": 20, - "value": false - }, - "1c2da544b9b3": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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" - } - } - } - }, - "1dda23ff2d6b": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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 - } - } - }, - "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 - }, - "29943274d7ef": { - "name": "github.prChecks#1", - "ordinal": 11, - "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}}" - }, - "2998cd4550bd": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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 - } - } - }, - "2a027a47b077": { - "name": "github.setPRFileViewed#1", - "ordinal": 24, - "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}}" - }, - "2b956bbf980c": { - "name": "projectRowDetailRefreshSeq", - "ordinal": 18, - "value": 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 - }, - "2d0695e07752": { - "name": "projectRowDetailError", - "ordinal": 19, - "value": "Failed to rerun checks" - }, - "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 - }, - "335c7fe4a1b9": { - "name": "projectRowDetailError", - "ordinal": 18, - "value": "Unknown method" - }, - "3a4324d7f4c0": { - "name": "github.requestPRReviewers#1", - "ordinal": 3, - "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 - } - } - } - }, - "4123bc693ce4": { - "name": "projectMutating", - "ordinal": 14, - "value": true - }, - "44c2e6541ebd": { - "name": "projectRowDetailError", - "ordinal": 9, - "value": "" - }, - "4ad8bb2f6308": { - "name": "projectReviewersDraft", - "ordinal": 6, - "value": "" - }, - "4af69b86f235": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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 - } - } - } - }, - "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 - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": 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 - }, - "67d4bdbac4cf": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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 - } - } - } - }, - "7440f0f1bab9": { - "name": "projectMutating", - "ordinal": 19, - "value": false - }, - "77bee321b4d8": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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 - } - } - }, - "7ff05eadbd07": { - "name": "github.requestPRReviewers#1", - "ordinal": 4, - "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\"]}}" - }, - "83680a8503ad": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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 - } - } - } - }, - "8edd2cc5d098": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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 - } - } - }, - "9614ac572a70": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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 - } - } - }, - "986a58a444ba": { - "name": "projectRowDetailError", - "ordinal": 18, - "value": "The host sent a reply this app could not read (github.rerunPRChecks)" - }, - "9f420bd4dcdc": { - "name": "projectRowDetailError", - "ordinal": 18, - "value": "transport failure" - }, - "a02246d5d1eb": { - "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 rerun checks", - "mutating": false, - "refreshSeq": 0 - }, - "a089b6b569cc": { - "name": "projectRowDetail", - "ordinal": 24, - "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" - } - } - ] - } - }, - "a1762a31897f": { - "name": "github.prChecks#1", - "ordinal": 10, - "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": "" - } - ] - } - } - }, - "a735fd6aee5f": { - "name": "projectMutating", - "ordinal": 7, - "value": false - }, - "abdc42e00721": { - "name": "projectMutating", - "ordinal": 26, - "value": false - }, - "ad2b25c69a1c": { - "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": "The host sent a reply this app could not read (github.rerunPRChecks)", - "mutating": false, - "refreshSeq": 0 - }, - "b0894cf1b0fe": { - "name": "projectRowDetailError", - "ordinal": 18, - "value": "inner refused" - }, - "b0f2d0edec6a": { - "name": "projectMutating", - "ordinal": 8, - "value": 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 - }, - "d09c526ea284": { - "name": "projectRowDetailError", - "ordinal": 15, - "value": "" - }, - "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 - }, - "dfdeb1aae4c3": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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" - } - } - } - }, - "e056036093ba": { - "name": "projectMutating", - "ordinal": 21, - "value": true - }, - "e3180bc6526a": { - "name": "projectMutating", - "ordinal": 13, - "value": false - }, - "e36dece11654": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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 - } - } - }, - "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 - }, - "e62a87c8c0b1": { - "name": "projectRowDetailError", - "ordinal": 18, - "value": "Connection closed" - }, - "e9df22b2c0e6": { - "name": "projectRowDetail", - "ordinal": 25, - "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" - } - } - ] - } - }, - "eb2a575f353a": { - "name": "projectRowDetail", - "ordinal": 12, - "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" - } - } - ] - } - }, - "eb4a625e2236": { - "name": "projectMutating", - "ordinal": 25, - "value": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ecb02d3e0977": { - "name": "projectMutating", - "ordinal": 20, - "value": true - }, - "f56199217222": { - "name": "github.setPRFileViewed#1", - "ordinal": 23, - "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 - } - } - }, - "fb41e38e331b": { - "name": "projectRowDetailError", - "ordinal": 21, - "value": "" - }, - "fdd10c7aa4db": { - "name": "projectRowDetailError", - "ordinal": 22, - "value": "" - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-review-checks-github.rerunprchecks-1", - "checkpoints": [ - { - "id": "tk-project-row-review-checks.prelude:reviewers-settled", - "observation": { - "sender": ["3a4324d7f4c0"], - "payloads": ["7ff05eadbd07"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "2cd85ef93c74", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f" - ] - } - }, - { - "id": "tk-project-row-review-checks.prelude:checks-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "22ffca652b36", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.prelude:cleanup", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "9614ac572a70"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "b9377f5f763b", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "e62a87c8c0b1", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.normal:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "62edc52051d6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.normal:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "5cdba004ba6c", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "a089b6b569cc", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-absent:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "77bee321b4d8"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "ad2b25c69a1c", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "986a58a444ba", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-absent:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "77bee321b4d8", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "0aba735e014b", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "986a58a444ba", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "a089b6b569cc", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-null:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "dfdeb1aae4c3"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "ad2b25c69a1c", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "986a58a444ba", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-null:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "dfdeb1aae4c3", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "0aba735e014b", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "986a58a444ba", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "a089b6b569cc", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-ok-missing:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "1c2da544b9b3"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "62edc52051d6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-ok-missing:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "1c2da544b9b3", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "5cdba004ba6c", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "a089b6b569cc", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-string-error:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "67d4bdbac4cf"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "db0eb1b27029", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "b0894cf1b0fe", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-string-error:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "67d4bdbac4cf", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "0aba735e014b", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "b0894cf1b0fe", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "a089b6b569cc", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-object-error:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "4af69b86f235"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "a02246d5d1eb", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "0c189575f0b4", - "2d0695e07752", - "1bf0937a02b9" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-object-error:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "4af69b86f235", "f56199217222"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "2a027a47b077"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "0aba735e014b", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "0c189575f0b4", - "2d0695e07752", - "1bf0937a02b9", - "e056036093ba", - "fdd10c7aa4db", - "e9df22b2c0e6", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "2998cd4550bd"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "316daba13a9c", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "058c73abcfe0", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "2998cd4550bd", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "0aba735e014b", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "058c73abcfe0", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "a089b6b569cc", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused-no-message:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "1dda23ff2d6b"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "22ffca652b36", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "15b9bf9de291", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused-no-message:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "1dda23ff2d6b", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "0aba735e014b", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "15b9bf9de291", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "a089b6b569cc", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.method-not-found:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "162a60d4ef69"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "4be4f71a6ab7", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "335c7fe4a1b9", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.method-not-found:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "162a60d4ef69", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "0aba735e014b", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "335c7fe4a1b9", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "a089b6b569cc", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "e36dece11654"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "e465cc97907a", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "9f420bd4dcdc", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "e36dece11654", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "0aba735e014b", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "9f420bd4dcdc", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "a089b6b569cc", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection-no-message:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "0670ae9d25fd"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "22ffca652b36", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "15b9bf9de291", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection-no-message:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "0670ae9d25fd", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "0aba735e014b", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "15b9bf9de291", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "a089b6b569cc", - "eb4a625e2236" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 73eede6a6f8..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-review-checks-github.setprfileviewed-1.json +++ /dev/null @@ -1,2047 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-review-checks", - "family": "tasks.project-row-review-checks", - "namedDeltas": [], - "values": { - "04a1bdf42024": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "Unknown method" - }, - "0af1de3f1c7b": { - "name": "github.setPRFileViewed#1", - "ordinal": 23, - "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}}" - }, - "112862a75da0": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "outer refused" - }, - "146b5bb967d4": { - "name": "projectRowDetail", - "ordinal": 5, - "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" - } - } - ] - } - }, - "15f1ae8e9e18": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "transport failure" - }, - "16338db99b3b": { - "name": "github.rerunPRChecks#1", - "ordinal": 17, - "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}}" - }, - "19346a719903": { - "name": "projectRowDetailError", - "ordinal": 2, - "value": "" - }, - "1f4ef24f598c": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "The host sent a reply this app could not read (github.setPRFileViewed)" - }, - "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 - }, - "25c1271e17f6": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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" - } - } - } - }, - "29943274d7ef": { - "name": "github.prChecks#1", - "ordinal": 11, - "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}}" - }, - "2b956bbf980c": { - "name": "projectRowDetailRefreshSeq", - "ordinal": 18, - "value": 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 - }, - "2ff1f24a03f5": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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 - } - } - }, - "3a4324d7f4c0": { - "name": "github.requestPRReviewers#1", - "ordinal": 3, - "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 - } - } - } - }, - "4123bc693ce4": { - "name": "projectMutating", - "ordinal": 14, - "value": true - }, - "44c2e6541ebd": { - "name": "projectRowDetailError", - "ordinal": 9, - "value": "" - }, - "49c74204b8d3": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "Connection closed" - }, - "4ad8bb2f6308": { - "name": "projectReviewersDraft", - "ordinal": 6, - "value": "" - }, - "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 - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": true - }, - "5d755cd92c55": { - "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": "The host sent a reply this app could not read (github.setPRFileViewed)", - "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 - }, - "6b0178e4f32f": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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 - } - } - }, - "7440f0f1bab9": { - "name": "projectMutating", - "ordinal": 19, - "value": false - }, - "7ff05eadbd07": { - "name": "github.requestPRReviewers#1", - "ordinal": 4, - "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\"]}}" - }, - "83680a8503ad": { - "name": "github.rerunPRChecks#1", - "ordinal": 16, - "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 - } - } - } - }, - "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 - }, - "8edd2cc5d098": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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 - } - } - }, - "958ccf1eedad": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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 - } - } - }, - "9668a9f3fbd9": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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 - } - } - } - }, - "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 - }, - "a089b6b569cc": { - "name": "projectRowDetail", - "ordinal": 24, - "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" - } - } - ] - } - }, - "a1762a31897f": { - "name": "github.prChecks#1", - "ordinal": 10, - "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": "" - } - ] - } - } - }, - "a269018b4a4c": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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 - } - } - } - }, - "a735fd6aee5f": { - "name": "projectMutating", - "ordinal": 7, - "value": false - }, - "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 - }, - "b0f2d0edec6a": { - "name": "projectMutating", - "ordinal": 8, - "value": true - }, - "b3ac1e3114bf": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "" - }, - "bc4f230c0203": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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" - } - } - } - }, - "bf456dc27bce": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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 - } - } - }, - "c6265c1f7817": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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 - } - } - }, - "ca3abc183075": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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 - } - } - }, - "d09c526ea284": { - "name": "projectRowDetailError", - "ordinal": 15, - "value": "" - }, - "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 - }, - "e3180bc6526a": { - "name": "projectMutating", - "ordinal": 13, - "value": false - }, - "e866e3266ef9": { - "name": "github.setPRFileViewed#1", - "ordinal": 22, - "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 - } - } - }, - "eb2a575f353a": { - "name": "projectRowDetail", - "ordinal": 12, - "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" - } - } - ] - } - }, - "eb4a625e2236": { - "name": "projectMutating", - "ordinal": 25, - "value": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ecb02d3e0977": { - "name": "projectMutating", - "ordinal": 20, - "value": true - }, - "fb41e38e331b": { - "name": "projectRowDetailError", - "ordinal": 21, - "value": "" - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-review-checks-github.setprfileviewed-1", - "checkpoints": [ - { - "id": "tk-project-row-review-checks.prelude:reviewers-settled", - "observation": { - "sender": ["3a4324d7f4c0"], - "payloads": ["7ff05eadbd07"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a" - }, - "state": "2cd85ef93c74", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f" - ] - } - }, - { - "id": "tk-project-row-review-checks.prelude:checks-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f"], - "payloads": ["7ff05eadbd07", "29943274d7ef"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a" - }, - "state": "22ffca652b36", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a" - ] - } - }, - { - "id": "tk-project-row-review-checks.prelude:rerun-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a" - }, - "state": "62edc52051d6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-review-checks.prelude:cleanup", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad", "2ff1f24a03f5"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "ddbf3cb813dc", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "49c74204b8d3", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.normal:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad", "8edd2cc5d098"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "5cdba004ba6c", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "a089b6b569cc", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-absent:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad", "bf456dc27bce"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "5d755cd92c55", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "1f4ef24f598c", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.result-null:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad", "25c1271e17f6"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "5d755cd92c55", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "1f4ef24f598c", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-ok-missing:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad", "bc4f230c0203"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "5d755cd92c55", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "1f4ef24f598c", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-string-error:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad", "a269018b4a4c"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "5d755cd92c55", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "1f4ef24f598c", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.inner-false-object-error:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad", "9668a9f3fbd9"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "5d755cd92c55", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "1f4ef24f598c", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad", "c6265c1f7817"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "9e89a1c8c40d", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "112862a75da0", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.outer-refused-no-message:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad", "958ccf1eedad"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "62edc52051d6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b3ac1e3114bf", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.method-not-found:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad", "6b0178e4f32f"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "acc9618c23f3", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "04a1bdf42024", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad", "e866e3266ef9"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "867c89335556", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "15f1ae8e9e18", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-review-checks.transport-rejection-no-message:viewed-settled", - "observation": { - "sender": ["3a4324d7f4c0", "a1762a31897f", "83680a8503ad", "ca3abc183075"], - "payloads": ["7ff05eadbd07", "29943274d7ef", "16338db99b3b", "0af1de3f1c7b"], - "settlements": { - "mount": "eb79a9b3682a", - "reviewers-0": "eb79a9b3682a", - "checks-1": "eb79a9b3682a", - "rerun-2": "eb79a9b3682a", - "viewed-3": "eb79a9b3682a" - }, - "state": "62edc52051d6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "146b5bb967d4", - "4ad8bb2f6308", - "a735fd6aee5f", - "b0f2d0edec6a", - "44c2e6541ebd", - "eb2a575f353a", - "e3180bc6526a", - "4123bc693ce4", - "d09c526ea284", - "2b956bbf980c", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b3ac1e3114bf", - "eb4a625e2236" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 8be5635bf93..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.addissuecomment-1.json +++ /dev/null @@ -1,2066 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-threads", - "family": "tasks.project-row-threads", - "namedDeltas": [], - "values": { - "04a1bdf42024": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "Unknown method" - }, - "09c572b1820f": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 16, - "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}}" - }, - "112862a75da0": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "outer refused" - }, - "15f1ae8e9e18": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "transport failure" - }, - "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 - }, - "19346a719903": { - "name": "projectRowDetailError", - "ordinal": 2, - "value": "" - }, - "1eb94321f034": { - "name": "github.resolveReviewThread#1", - "ordinal": 9, - "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 - } - } - }, - "2ad781f1b5d3": { - "name": "projectRowDetailError", - "ordinal": 25, - "value": "Failed to reply" - }, - "2f4163f5e25c": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "The host sent a reply this app could not read (github.addIssueComment)" - }, - "3b135726b0dd": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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 - } - } - } - }, - "403b13184ce0": { - "name": "itemReplyDrafts", - "ordinal": 17, - "value": { - "comment-2": "a reply" - } - }, - "49a4bcc6a5a5": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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" - } - } - } - }, - "49c74204b8d3": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "Connection closed" - }, - "4ea4497066fb": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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 - } - } - }, - "510db4658728": { - "name": "projectRowDetailError", - "ordinal": 8, - "value": "" - }, - "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 - }, - "5ba91867e6b3": { - "name": "projectRowDetail", - "ordinal": 11, - "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": [] - } - }, - "5c30b4794b57": { - "name": "projectRowDetailError", - "ordinal": 14, - "value": "" - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": true - }, - "647143f4a02b": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"commentId\":501}}" - }, - "6474e552d22f": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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" - } - } - } - }, - "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 - }, - "72332e237f1f": { - "name": "projectMutating", - "ordinal": 6, - "value": false - }, - "7440f0f1bab9": { - "name": "projectMutating", - "ordinal": 19, - "value": false - }, - "783e2ad4f7a9": { - "name": "reply-salvage", - "ordinal": 24, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.addIssueComment", - "operation": "github.add-issue-comment", - "variant": "task-comment-written" - } - }, - "7864f42823b1": { - "name": "projectRowDetail", - "ordinal": 25, - "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": [] - } - }, - "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 - }, - "7f87c5800a4e": { - "name": "projectRowDetail", - "ordinal": 18, - "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": [] - } - }, - "85a7bb52eb28": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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 - } - } - } - }, - "86f1d86b2ef1": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 15, - "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 - } - } - } - }, - "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 - }, - "89e9aec7c9f2": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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 - } - } - }, - "8b906dcc9bb6": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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 - } - } - }, - "8baca63d6578": { - "name": "github.resolveReviewThread#1", - "ordinal": 10, - "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}}" - }, - "99542210ddd6": { - "name": "projectRowDetail", - "ordinal": 5, - "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": [] - } - }, - "a360294cb193": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "inner refused" - }, - "a475708852a5": { - "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": "Failed to reply", - "mutating": false - }, - "a8ff11b6adce": { - "name": "projectMutating", - "ordinal": 13, - "value": true - }, - "abdc42e00721": { - "name": "projectMutating", - "ordinal": 26, - "value": false - }, - "b145ac6005a6": { - "name": "itemReplyDrafts", - "ordinal": 24, - "value": {} - }, - "b3ac1e3114bf": { - "name": "projectRowDetailError", - "ordinal": 24, - "value": "" - }, - "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 - }, - "bb6b127da045": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 3, - "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 - } - } - } - }, - "c1bd400fb401": { - "name": "projectRowDetail", - "ordinal": 25, - "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": [] - } - }, - "c2f0cb5f4fe2": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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 - } - } - } - }, - "cc34591bceaa": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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 - } - } - }, - "cca2fbdc89cd": { - "name": "github.addIssueComment#1", - "ordinal": 23, - "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\"}}" - }, - "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 - }, - "ce1f6d47985f": { - "name": "projectMutating", - "ordinal": 12, - "value": false - }, - "d8315c6f526f": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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 - } - } - }, - "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 - }, - "dabbf6f436c3": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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 - } - } - }, - "e6dcccb0df20": { - "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": "The host sent a reply this app could not read (github.addIssueComment)", - "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 - }, - "eb4a625e2236": { - "name": "projectMutating", - "ordinal": 25, - "value": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ecb02d3e0977": { - "name": "projectMutating", - "ordinal": 20, - "value": true - }, - "f39ed9ab521e": { - "name": "projectMutating", - "ordinal": 7, - "value": true - }, - "f4c1462519fa": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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 - } - } - }, - "fb41e38e331b": { - "name": "projectRowDetailError", - "ordinal": 21, - "value": "" - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-threads-github.addissuecomment-1", - "checkpoints": [ - { - "id": "tk-project-row-threads.prelude:delete-comment-settled", - "observation": { - "sender": ["bb6b127da045"], - "payloads": ["647143f4a02b"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a" - }, - "state": "b6b9452c2348", - "effects": ["5d32aa29303c", "19346a719903", "99542210ddd6", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-threads.prelude:thread-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "b6b9452c2348", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.prelude:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.prelude:cleanup", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1", "cc34591bceaa"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "550f58aa00a7", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "49c74204b8d3", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-threads.normal:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "874009380ba6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "c1bd400fb401", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.result-absent:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1", "4ea4497066fb"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "e6dcccb0df20", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "2f4163f5e25c", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-threads.result-null:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1", "49a4bcc6a5a5"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "e6dcccb0df20", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "2f4163f5e25c", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-threads.inner-ok-missing:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1", "6474e552d22f"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "192db8712646", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "7864f42823b1", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-string-error:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1", "3b135726b0dd"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "78c52015aa43", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "a360294cb193", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-object-error:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1", "85a7bb52eb28"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "a475708852a5", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "783e2ad4f7a9", - "2ad781f1b5d3", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1", "f4c1462519fa"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "d846e6d21f1e", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "112862a75da0", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused-no-message:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1", "d8315c6f526f"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b3ac1e3114bf", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-threads.method-not-found:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1", "89e9aec7c9f2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "680d3e2ff566", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "04a1bdf42024", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1", "8b906dcc9bb6"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "cdb73ed7cd45", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "15f1ae8e9e18", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection-no-message:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1", "dabbf6f436c3"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b3ac1e3114bf", - "eb4a625e2236" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 3cbe2ac1336..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.addprreviewcommentreply-1.json +++ /dev/null @@ -1,2607 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-threads", - "family": "tasks.project-row-threads", - "namedDeltas": [], - "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 - }, - "02eabbcb60cc": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 15, - "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 - } - } - }, - "0625c5c301e3": { - "name": "itemReplyDrafts", - "ordinal": 23, - "value": { - "501": "a reply" - } - }, - "09c572b1820f": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 16, - "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}}" - }, - "0e188c34c178": { - "name": "projectRowDetailError", - "ordinal": 18, - "value": "Failed to reply" - }, - "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 - }, - "19346a719903": { - "name": "projectRowDetailError", - "ordinal": 2, - "value": "" - }, - "1cc38c8dde55": { - "name": "projectMutating", - "ordinal": 18, - "value": false - }, - "1cea5a98aaa1": { - "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": "The host sent a reply this app could not read (github.addPRReviewCommentReply)", - "mutating": false - }, - "1eb94321f034": { - "name": "github.resolveReviewThread#1", - "ordinal": 9, - "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 - } - } - }, - "2dc6bc594542": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "outer refused" - }, - "391eaaaf2dee": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 15, - "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" - } - } - } - }, - "403b13184ce0": { - "name": "itemReplyDrafts", - "ordinal": 17, - "value": { - "comment-2": "a reply" - } - }, - "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 - }, - "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 - }, - "510db4658728": { - "name": "projectRowDetailError", - "ordinal": 8, - "value": "" - }, - "54bfc7e2ac87": { - "name": "itemReplyDrafts", - "ordinal": 24, - "value": { - "501": "a reply" - } - }, - "5ba91867e6b3": { - "name": "projectRowDetail", - "ordinal": 11, - "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": [] - } - }, - "5c30b4794b57": { - "name": "projectRowDetailError", - "ordinal": 14, - "value": "" - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": true - }, - "5fd1f7a6ca37": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 15, - "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" - } - } - } - }, - "622dd6ed6242": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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\"}}" - }, - "647143f4a02b": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"commentId\":501}}" - }, - "6b785b2a35cf": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 15, - "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 - } - } - }, - "72332e237f1f": { - "name": "projectMutating", - "ordinal": 6, - "value": false - }, - "73f153a98ae9": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 15, - "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 - } - } - } - }, - "7440f0f1bab9": { - "name": "projectMutating", - "ordinal": 19, - "value": false - }, - "7f87c5800a4e": { - "name": "projectRowDetail", - "ordinal": 18, - "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": [] - } - }, - "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 - }, - "830a360ccd00": { - "name": "projectRowDetail", - "ordinal": 25, - "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": [] - } - }, - "85033d95ab11": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 15, - "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 - } - } - }, - "86f1d86b2ef1": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 15, - "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 - } - } - } - }, - "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 - }, - "8baca63d6578": { - "name": "github.resolveReviewThread#1", - "ordinal": 10, - "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}}" - }, - "8eecc40bff12": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 15, - "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 - } - } - }, - "8f20f599b4bd": { - "name": "projectRowDetail", - "ordinal": 18, - "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": [] - } - }, - "9178c438fa7b": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "Connection closed" - }, - "93a882b175ae": { - "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 reply", - "mutating": false - }, - "97ba222c899d": { - "name": "projectRowDetailError", - "ordinal": 20, - "value": "" - }, - "99542210ddd6": { - "name": "projectRowDetail", - "ordinal": 5, - "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": [] - } - }, - "9a6f49ba0ba5": { - "name": "projectRowDetail", - "ordinal": 24, - "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": [] - } - }, - "9ca1c0b2c50f": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "The host sent a reply this app could not read (github.addPRReviewCommentReply)" - }, - "9e802552ee84": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 15, - "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 - } - } - } - }, - "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 - }, - "a8ff11b6adce": { - "name": "projectMutating", - "ordinal": 13, - "value": true - }, - "a90f501112f8": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "Unknown method" - }, - "ab52357ddee7": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "inner refused" - }, - "abdc42e00721": { - "name": "projectMutating", - "ordinal": 26, - "value": false - }, - "af77ac5e92ff": { - "name": "github.addIssueComment#1", - "ordinal": 21, - "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 - } - } - } - }, - "b145ac6005a6": { - "name": "itemReplyDrafts", - "ordinal": 24, - "value": {} - }, - "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 - }, - "bb6b127da045": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 3, - "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 - }, - "bff535848bcf": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "" - }, - "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 - }, - "c1bd400fb401": { - "name": "projectRowDetail", - "ordinal": 25, - "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": [] - } - }, - "c2c5a7cc7c23": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 15, - "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 - } - } - }, - "c2f0cb5f4fe2": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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 - } - } - } - }, - "c2f239acade3": { - "name": "projectRowDetail", - "ordinal": 25, - "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": [] - } - }, - "cca2fbdc89cd": { - "name": "github.addIssueComment#1", - "ordinal": 23, - "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\"}}" - }, - "ce1f6d47985f": { - "name": "projectMutating", - "ordinal": 12, - "value": false - }, - "d01f76aec2ab": { - "name": "reply-salvage", - "ordinal": 17, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.addPRReviewCommentReply", - "operation": "github.add-pr-review-comment-reply", - "variant": "task-comment-written" - } - }, - "d09377137801": { - "name": "projectMutating", - "ordinal": 19, - "value": true - }, - "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 - }, - "ea064759ca04": { - "name": "projectRowDetailError", - "ordinal": 17, - "value": "transport failure" - }, - "eb4a625e2236": { - "name": "projectMutating", - "ordinal": 25, - "value": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ecb02d3e0977": { - "name": "projectMutating", - "ordinal": 20, - "value": true - }, - "f1378456e46c": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 15, - "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 - } - } - }, - "f39ed9ab521e": { - "name": "projectMutating", - "ordinal": 7, - "value": true - }, - "f3ed8b0a9057": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 15, - "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 - } - } - }, - "fb41e38e331b": { - "name": "projectRowDetailError", - "ordinal": 21, - "value": "" - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-threads-github.addprreviewcommentreply-1", - "checkpoints": [ - { - "id": "tk-project-row-threads.prelude:delete-comment-settled", - "observation": { - "sender": ["bb6b127da045"], - "payloads": ["647143f4a02b"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a" - }, - "state": "b6b9452c2348", - "effects": ["5d32aa29303c", "19346a719903", "99542210ddd6", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-threads.prelude:thread-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "b6b9452c2348", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.prelude:cleanup", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "f1378456e46c"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "486aee98d14d", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "9178c438fa7b", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-threads.normal:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.normal:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "874009380ba6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "c1bd400fb401", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.result-absent:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "85033d95ab11"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "1cea5a98aaa1", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "9ca1c0b2c50f", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-threads.result-absent:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "85033d95ab11", "af77ac5e92ff"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "622dd6ed6242"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "4dfa7307143d", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "9ca1c0b2c50f", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "0625c5c301e3", - "9a6f49ba0ba5", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-threads.result-null:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "391eaaaf2dee"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "1cea5a98aaa1", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "9ca1c0b2c50f", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-threads.result-null:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "391eaaaf2dee", "af77ac5e92ff"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "622dd6ed6242"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "4dfa7307143d", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "9ca1c0b2c50f", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "0625c5c301e3", - "9a6f49ba0ba5", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-threads.inner-ok-missing:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "5fd1f7a6ca37"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "18a73ab69ff6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "8f20f599b4bd", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.inner-ok-missing:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "5fd1f7a6ca37", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "82f7fb9e61e0", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "8f20f599b4bd", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "830a360ccd00", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-string-error:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "73f153a98ae9"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "a8022b068249", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "ab52357ddee7", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-string-error:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "73f153a98ae9", "af77ac5e92ff"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "622dd6ed6242"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "4dfa7307143d", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "ab52357ddee7", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "0625c5c301e3", - "9a6f49ba0ba5", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-object-error:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "9e802552ee84"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "93a882b175ae", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "d01f76aec2ab", - "0e188c34c178", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-object-error:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "9e802552ee84", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "4dfa7307143d", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "d01f76aec2ab", - "0e188c34c178", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "54bfc7e2ac87", - "c2f239acade3", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "6b785b2a35cf"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "0063efc2d666", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "2dc6bc594542", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "6b785b2a35cf", "af77ac5e92ff"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "622dd6ed6242"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "4dfa7307143d", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "2dc6bc594542", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "0625c5c301e3", - "9a6f49ba0ba5", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused-no-message:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "02eabbcb60cc"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "b6b9452c2348", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "bff535848bcf", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused-no-message:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "02eabbcb60cc", "af77ac5e92ff"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "622dd6ed6242"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "4dfa7307143d", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "bff535848bcf", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "0625c5c301e3", - "9a6f49ba0ba5", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-threads.method-not-found:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "f3ed8b0a9057"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "bf65c598102e", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "a90f501112f8", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-threads.method-not-found:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "f3ed8b0a9057", "af77ac5e92ff"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "622dd6ed6242"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "4dfa7307143d", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "a90f501112f8", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "0625c5c301e3", - "9a6f49ba0ba5", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "c2c5a7cc7c23"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "c18900f349d0", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "ea064759ca04", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "c2c5a7cc7c23", "af77ac5e92ff"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "622dd6ed6242"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "4dfa7307143d", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "ea064759ca04", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "0625c5c301e3", - "9a6f49ba0ba5", - "eb4a625e2236" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection-no-message:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "8eecc40bff12"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "b6b9452c2348", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "bff535848bcf", - "1cc38c8dde55" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection-no-message:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "8eecc40bff12", "af77ac5e92ff"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "622dd6ed6242"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "4dfa7307143d", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "bff535848bcf", - "1cc38c8dde55", - "d09377137801", - "97ba222c899d", - "0625c5c301e3", - "9a6f49ba0ba5", - "eb4a625e2236" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 877313a9636..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.project.deleteissuecommentbyslug-1.json +++ /dev/null @@ -1,2748 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-threads", - "family": "tasks.project-row-threads", - "namedDeltas": [], - "values": { - "09c572b1820f": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 16, - "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}}" - }, - "0b0eb578ab21": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 3, - "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 - } - } - } - }, - "0b498ff1e88c": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "outer refused" - }, - "167f8606a902": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 3, - "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 - } - } - }, - "19346a719903": { - "name": "projectRowDetailError", - "ordinal": 2, - "value": "" - }, - "1eb94321f034": { - "name": "github.resolveReviewThread#1", - "ordinal": 9, - "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 - } - } - }, - "23be9d7ff31f": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 3, - "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" - } - } - } - }, - "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 - }, - "32dd8a928ba1": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "The host sent a reply this app could not read (github.project.deleteIssueCommentBySlug)" - }, - "403b13184ce0": { - "name": "itemReplyDrafts", - "ordinal": 17, - "value": { - "comment-2": "a reply" - } - }, - "49a0fd5a9cb8": { - "name": "projectRowDetail", - "ordinal": 11, - "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": [] - } - }, - "4accacb8e3bd": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 3, - "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 - } - } - }, - "510db4658728": { - "name": "projectRowDetailError", - "ordinal": 8, - "value": "" - }, - "5222145157f4": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "Unknown method" - }, - "5b8b48572c1a": { - "name": "projectRowDetail", - "ordinal": 25, - "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": [] - } - }, - "5ba91867e6b3": { - "name": "projectRowDetail", - "ordinal": 11, - "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": [] - } - }, - "5c30b4794b57": { - "name": "projectRowDetailError", - "ordinal": 14, - "value": "" - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": true - }, - "647143f4a02b": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"commentId\":501}}" - }, - "72332e237f1f": { - "name": "projectMutating", - "ordinal": 6, - "value": false - }, - "7440f0f1bab9": { - "name": "projectMutating", - "ordinal": 19, - "value": false - }, - "7f87c5800a4e": { - "name": "projectRowDetail", - "ordinal": 18, - "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": [] - } - }, - "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 - }, - "86f1d86b2ef1": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 15, - "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 - } - } - } - }, - "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 - }, - "8baca63d6578": { - "name": "github.resolveReviewThread#1", - "ordinal": 10, - "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}}" - }, - "8ee749ae34c2": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 3, - "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 - } - } - }, - "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 - }, - "99542210ddd6": { - "name": "projectRowDetail", - "ordinal": 5, - "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": [] - } - }, - "9f68a2630eb1": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "transport failure" - }, - "a8ff11b6adce": { - "name": "projectMutating", - "ordinal": 13, - "value": true - }, - "abdc42e00721": { - "name": "projectMutating", - "ordinal": 26, - "value": false - }, - "b145ac6005a6": { - "name": "itemReplyDrafts", - "ordinal": 24, - "value": {} - }, - "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 - }, - "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 - }, - "ba368114c65d": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "" - }, - "ba62560eb2ed": { - "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": "The host sent a reply this app could not read (github.project.deleteIssueCommentBySlug)", - "mutating": false - }, - "bb6b127da045": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 3, - "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 - } - } - } - }, - "c1bd400fb401": { - "name": "projectRowDetail", - "ordinal": 25, - "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": [] - } - }, - "c2f0cb5f4fe2": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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 - } - } - } - }, - "c8734d551cec": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 3, - "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" - } - } - } - }, - "c97ac9bdd566": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 3, - "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 - } - } - }, - "cca2fbdc89cd": { - "name": "github.addIssueComment#1", - "ordinal": 23, - "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\"}}" - }, - "ce1f6d47985f": { - "name": "projectMutating", - "ordinal": 12, - "value": false - }, - "d16658795650": { - "name": "projectRowDetailError", - "ordinal": 5, - "value": "inner refused" - }, - "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 - }, - "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 - }, - "d5cc5aa5eb16": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 3, - "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 - } - } - } - }, - "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 - }, - "e411e3df646a": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 3, - "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 - } - } - }, - "e578606eecda": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 3, - "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 - } - } - }, - "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 - }, - "eaa9f0ef441f": { - "name": "projectRowDetail", - "ordinal": 18, - "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": [] - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ecb02d3e0977": { - "name": "projectMutating", - "ordinal": 20, - "value": true - }, - "f39ed9ab521e": { - "name": "projectMutating", - "ordinal": 7, - "value": true - }, - "fb41e38e331b": { - "name": "projectRowDetailError", - "ordinal": 21, - "value": "" - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-threads-github.project.deleteissuecommentbyslug-1", - "checkpoints": [ - { - "id": "tk-project-row-threads.normal:delete-comment-settled", - "observation": { - "sender": ["bb6b127da045"], - "payloads": ["647143f4a02b"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a" - }, - "state": "b6b9452c2348", - "effects": ["5d32aa29303c", "19346a719903", "99542210ddd6", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-threads.normal:thread-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "b6b9452c2348", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.normal:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.normal:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "874009380ba6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "c1bd400fb401", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.result-absent:delete-comment-settled", - "observation": { - "sender": ["8ee749ae34c2"], - "payloads": ["647143f4a02b"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a" - }, - "state": "ba62560eb2ed", - "effects": ["5d32aa29303c", "19346a719903", "32dd8a928ba1", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-threads.result-absent:thread-settled", - "observation": { - "sender": ["8ee749ae34c2", "1eb94321f034"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "e5dc2384d2f9", - "effects": [ - "5d32aa29303c", - "19346a719903", - "32dd8a928ba1", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.result-absent:review-reply-settled", - "observation": { - "sender": ["8ee749ae34c2", "1eb94321f034", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "3113ec0eb967", - "effects": [ - "5d32aa29303c", - "19346a719903", - "32dd8a928ba1", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.result-absent:issue-reply-settled", - "observation": { - "sender": ["8ee749ae34c2", "1eb94321f034", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "d5c97305d438", - "effects": [ - "5d32aa29303c", - "19346a719903", - "32dd8a928ba1", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "5b8b48572c1a", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.result-null:delete-comment-settled", - "observation": { - "sender": ["23be9d7ff31f"], - "payloads": ["647143f4a02b"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a" - }, - "state": "ba62560eb2ed", - "effects": ["5d32aa29303c", "19346a719903", "32dd8a928ba1", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-threads.result-null:thread-settled", - "observation": { - "sender": ["23be9d7ff31f", "1eb94321f034"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "e5dc2384d2f9", - "effects": [ - "5d32aa29303c", - "19346a719903", - "32dd8a928ba1", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.result-null:review-reply-settled", - "observation": { - "sender": ["23be9d7ff31f", "1eb94321f034", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "3113ec0eb967", - "effects": [ - "5d32aa29303c", - "19346a719903", - "32dd8a928ba1", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.result-null:issue-reply-settled", - "observation": { - "sender": ["23be9d7ff31f", "1eb94321f034", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "d5c97305d438", - "effects": [ - "5d32aa29303c", - "19346a719903", - "32dd8a928ba1", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "5b8b48572c1a", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.inner-ok-missing:delete-comment-settled", - "observation": { - "sender": ["c8734d551cec"], - "payloads": ["647143f4a02b"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a" - }, - "state": "b6b9452c2348", - "effects": ["5d32aa29303c", "19346a719903", "99542210ddd6", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-threads.inner-ok-missing:thread-settled", - "observation": { - "sender": ["c8734d551cec", "1eb94321f034"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "b6b9452c2348", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.inner-ok-missing:review-reply-settled", - "observation": { - "sender": ["c8734d551cec", "1eb94321f034", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.inner-ok-missing:issue-reply-settled", - "observation": { - "sender": ["c8734d551cec", "1eb94321f034", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "874009380ba6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "c1bd400fb401", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-string-error:delete-comment-settled", - "observation": { - "sender": ["0b0eb578ab21"], - "payloads": ["647143f4a02b"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a" - }, - "state": "e2d6e04c1984", - "effects": ["5d32aa29303c", "19346a719903", "d16658795650", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-threads.inner-false-string-error:thread-settled", - "observation": { - "sender": ["0b0eb578ab21", "1eb94321f034"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "e5dc2384d2f9", - "effects": [ - "5d32aa29303c", - "19346a719903", - "d16658795650", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-string-error:review-reply-settled", - "observation": { - "sender": ["0b0eb578ab21", "1eb94321f034", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "3113ec0eb967", - "effects": [ - "5d32aa29303c", - "19346a719903", - "d16658795650", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-string-error:issue-reply-settled", - "observation": { - "sender": ["0b0eb578ab21", "1eb94321f034", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "d5c97305d438", - "effects": [ - "5d32aa29303c", - "19346a719903", - "d16658795650", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "5b8b48572c1a", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-object-error:delete-comment-settled", - "observation": { - "sender": ["d5cc5aa5eb16"], - "payloads": ["647143f4a02b"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a" - }, - "state": "e2d6e04c1984", - "effects": ["5d32aa29303c", "19346a719903", "d16658795650", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-threads.inner-false-object-error:thread-settled", - "observation": { - "sender": ["d5cc5aa5eb16", "1eb94321f034"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "e5dc2384d2f9", - "effects": [ - "5d32aa29303c", - "19346a719903", - "d16658795650", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-object-error:review-reply-settled", - "observation": { - "sender": ["d5cc5aa5eb16", "1eb94321f034", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "3113ec0eb967", - "effects": [ - "5d32aa29303c", - "19346a719903", - "d16658795650", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-object-error:issue-reply-settled", - "observation": { - "sender": ["d5cc5aa5eb16", "1eb94321f034", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "d5c97305d438", - "effects": [ - "5d32aa29303c", - "19346a719903", - "d16658795650", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "5b8b48572c1a", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused:delete-comment-settled", - "observation": { - "sender": ["167f8606a902"], - "payloads": ["647143f4a02b"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a" - }, - "state": "80ed3cd5fa12", - "effects": ["5d32aa29303c", "19346a719903", "0b498ff1e88c", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-threads.outer-refused:thread-settled", - "observation": { - "sender": ["167f8606a902", "1eb94321f034"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "e5dc2384d2f9", - "effects": [ - "5d32aa29303c", - "19346a719903", - "0b498ff1e88c", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused:review-reply-settled", - "observation": { - "sender": ["167f8606a902", "1eb94321f034", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "3113ec0eb967", - "effects": [ - "5d32aa29303c", - "19346a719903", - "0b498ff1e88c", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused:issue-reply-settled", - "observation": { - "sender": ["167f8606a902", "1eb94321f034", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "d5c97305d438", - "effects": [ - "5d32aa29303c", - "19346a719903", - "0b498ff1e88c", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "5b8b48572c1a", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused-no-message:delete-comment-settled", - "observation": { - "sender": ["4accacb8e3bd"], - "payloads": ["647143f4a02b"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a" - }, - "state": "b48fad669af7", - "effects": ["5d32aa29303c", "19346a719903", "ba368114c65d", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-threads.outer-refused-no-message:thread-settled", - "observation": { - "sender": ["4accacb8e3bd", "1eb94321f034"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "e5dc2384d2f9", - "effects": [ - "5d32aa29303c", - "19346a719903", - "ba368114c65d", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused-no-message:review-reply-settled", - "observation": { - "sender": ["4accacb8e3bd", "1eb94321f034", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "3113ec0eb967", - "effects": [ - "5d32aa29303c", - "19346a719903", - "ba368114c65d", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused-no-message:issue-reply-settled", - "observation": { - "sender": ["4accacb8e3bd", "1eb94321f034", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "d5c97305d438", - "effects": [ - "5d32aa29303c", - "19346a719903", - "ba368114c65d", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "5b8b48572c1a", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.method-not-found:delete-comment-settled", - "observation": { - "sender": ["e578606eecda"], - "payloads": ["647143f4a02b"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a" - }, - "state": "92b802be86b7", - "effects": ["5d32aa29303c", "19346a719903", "5222145157f4", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-threads.method-not-found:thread-settled", - "observation": { - "sender": ["e578606eecda", "1eb94321f034"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "e5dc2384d2f9", - "effects": [ - "5d32aa29303c", - "19346a719903", - "5222145157f4", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.method-not-found:review-reply-settled", - "observation": { - "sender": ["e578606eecda", "1eb94321f034", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "3113ec0eb967", - "effects": [ - "5d32aa29303c", - "19346a719903", - "5222145157f4", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.method-not-found:issue-reply-settled", - "observation": { - "sender": ["e578606eecda", "1eb94321f034", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "d5c97305d438", - "effects": [ - "5d32aa29303c", - "19346a719903", - "5222145157f4", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "5b8b48572c1a", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection:delete-comment-settled", - "observation": { - "sender": ["c97ac9bdd566"], - "payloads": ["647143f4a02b"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a" - }, - "state": "d4042c0e5798", - "effects": ["5d32aa29303c", "19346a719903", "9f68a2630eb1", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-threads.transport-rejection:thread-settled", - "observation": { - "sender": ["c97ac9bdd566", "1eb94321f034"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "e5dc2384d2f9", - "effects": [ - "5d32aa29303c", - "19346a719903", - "9f68a2630eb1", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection:review-reply-settled", - "observation": { - "sender": ["c97ac9bdd566", "1eb94321f034", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "3113ec0eb967", - "effects": [ - "5d32aa29303c", - "19346a719903", - "9f68a2630eb1", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection:issue-reply-settled", - "observation": { - "sender": ["c97ac9bdd566", "1eb94321f034", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "d5c97305d438", - "effects": [ - "5d32aa29303c", - "19346a719903", - "9f68a2630eb1", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "5b8b48572c1a", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection-no-message:delete-comment-settled", - "observation": { - "sender": ["e411e3df646a"], - "payloads": ["647143f4a02b"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a" - }, - "state": "b48fad669af7", - "effects": ["5d32aa29303c", "19346a719903", "ba368114c65d", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-threads.transport-rejection-no-message:thread-settled", - "observation": { - "sender": ["e411e3df646a", "1eb94321f034"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "e5dc2384d2f9", - "effects": [ - "5d32aa29303c", - "19346a719903", - "ba368114c65d", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection-no-message:review-reply-settled", - "observation": { - "sender": ["e411e3df646a", "1eb94321f034", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "3113ec0eb967", - "effects": [ - "5d32aa29303c", - "19346a719903", - "ba368114c65d", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection-no-message:issue-reply-settled", - "observation": { - "sender": ["e411e3df646a", "1eb94321f034", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "d5c97305d438", - "effects": [ - "5d32aa29303c", - "19346a719903", - "ba368114c65d", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "49a0fd5a9cb8", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "eaa9f0ef441f", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "5b8b48572c1a", - "abdc42e00721" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 56bcd3cff99..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.project-row-threads-github.resolvereviewthread-1.json +++ /dev/null @@ -1,2279 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.project-row-threads", - "family": "tasks.project-row-threads", - "namedDeltas": [], - "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 - }, - "051bf33a6dbe": { - "name": "projectRowDetailError", - "ordinal": 11, - "value": "The host sent a reply this app could not read (github.resolveReviewThread)" - }, - "09c572b1820f": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 16, - "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}}" - }, - "0cacd7c49e14": { - "name": "github.resolveReviewThread#1", - "ordinal": 9, - "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 - } - } - }, - "19346a719903": { - "name": "projectRowDetailError", - "ordinal": 2, - "value": "" - }, - "1a6ab45abc2c": { - "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": "The host sent a reply this app could not read (github.resolveReviewThread)", - "mutating": false - }, - "1eb94321f034": { - "name": "github.resolveReviewThread#1", - "ordinal": 9, - "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 - } - } - }, - "25f549c4d581": { - "name": "projectRowDetailError", - "ordinal": 11, - "value": "transport failure" - }, - "278683b4b83c": { - "name": "github.resolveReviewThread#1", - "ordinal": 9, - "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 - } - } - } - }, - "3fd46e82b799": { - "name": "github.resolveReviewThread#1", - "ordinal": 9, - "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 - } - } - }, - "403b13184ce0": { - "name": "itemReplyDrafts", - "ordinal": 17, - "value": { - "comment-2": "a reply" - } - }, - "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 - }, - "510db4658728": { - "name": "projectRowDetailError", - "ordinal": 8, - "value": "" - }, - "534022361580": { - "name": "projectRowDetailError", - "ordinal": 11, - "value": "" - }, - "5b88dfd67a5f": { - "name": "projectRowDetailError", - "ordinal": 11, - "value": "Unknown method" - }, - "5ba91867e6b3": { - "name": "projectRowDetail", - "ordinal": 11, - "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": [] - } - }, - "5c30b4794b57": { - "name": "projectRowDetailError", - "ordinal": 14, - "value": "" - }, - "5d32aa29303c": { - "name": "projectMutating", - "ordinal": 1, - "value": true - }, - "647143f4a02b": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.project.deleteIssueCommentBySlug\",\"params\":{\"owner\":\"owner\",\"repo\":\"repo\",\"host\":\"github.enterprise.test\",\"commentId\":501}}" - }, - "72332e237f1f": { - "name": "projectMutating", - "ordinal": 6, - "value": false - }, - "7440f0f1bab9": { - "name": "projectMutating", - "ordinal": 19, - "value": false - }, - "7f87c5800a4e": { - "name": "projectRowDetail", - "ordinal": 18, - "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": [] - } - }, - "86f1d86b2ef1": { - "name": "github.addPRReviewCommentReply#1", - "ordinal": 15, - "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 - } - } - } - }, - "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 - }, - "8baca63d6578": { - "name": "github.resolveReviewThread#1", - "ordinal": 10, - "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}}" - }, - "8fe53b7e46ff": { - "name": "github.resolveReviewThread#1", - "ordinal": 9, - "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 - } - } - }, - "93ad8fc020a2": { - "name": "github.resolveReviewThread#1", - "ordinal": 9, - "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 - } - } - }, - "99542210ddd6": { - "name": "projectRowDetail", - "ordinal": 5, - "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": [] - } - }, - "9e861377fb01": { - "name": "github.resolveReviewThread#1", - "ordinal": 9, - "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 - } - } - }, - "9eac7c30ff82": { - "name": "github.resolveReviewThread#1", - "ordinal": 9, - "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 - } - } - }, - "a8ff11b6adce": { - "name": "projectMutating", - "ordinal": 13, - "value": true - }, - "abdc42e00721": { - "name": "projectMutating", - "ordinal": 26, - "value": false - }, - "b145ac6005a6": { - "name": "itemReplyDrafts", - "ordinal": 24, - "value": {} - }, - "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 - }, - "b84561eb94e4": { - "name": "github.resolveReviewThread#1", - "ordinal": 9, - "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 - } - } - }, - "b99c5591f0f7": { - "name": "github.resolveReviewThread#1", - "ordinal": 9, - "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" - } - } - } - }, - "bb6b127da045": { - "name": "github.project.deleteIssueCommentBySlug#1", - "ordinal": 3, - "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 - } - } - } - }, - "bef5ee550f88": { - "name": "projectRowDetailError", - "ordinal": 11, - "value": "outer refused" - }, - "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 - }, - "bfd0a1cf0e20": { - "name": "github.resolveReviewThread#1", - "ordinal": 9, - "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 - } - } - } - }, - "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 - }, - "c1bd400fb401": { - "name": "projectRowDetail", - "ordinal": 25, - "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": [] - } - }, - "c2f0cb5f4fe2": { - "name": "github.addIssueComment#1", - "ordinal": 22, - "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 - } - } - } - }, - "c71a92762a80": { - "name": "github.resolveReviewThread#1", - "ordinal": 9, - "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" - } - } - } - }, - "cca2fbdc89cd": { - "name": "github.addIssueComment#1", - "ordinal": 23, - "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\"}}" - }, - "ce1f6d47985f": { - "name": "projectMutating", - "ordinal": 12, - "value": 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" - } - }, - "ecb02d3e0977": { - "name": "projectMutating", - "ordinal": 20, - "value": true - }, - "f39ed9ab521e": { - "name": "projectMutating", - "ordinal": 7, - "value": true - }, - "fb41e38e331b": { - "name": "projectRowDetailError", - "ordinal": 21, - "value": "" - }, - "ff5614917859": { - "name": "projectRowDetailError", - "ordinal": 11, - "value": "Connection closed" - } - }, - "recording": { - "scenario": "matrix-tasks.project-row-threads-github.resolvereviewthread-1", - "checkpoints": [ - { - "id": "tk-project-row-threads.prelude:delete-comment-settled", - "observation": { - "sender": ["bb6b127da045"], - "payloads": ["647143f4a02b"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a" - }, - "state": "b6b9452c2348", - "effects": ["5d32aa29303c", "19346a719903", "99542210ddd6", "72332e237f1f"] - } - }, - { - "id": "tk-project-row-threads.prelude:cleanup", - "observation": { - "sender": ["bb6b127da045", "8fe53b7e46ff"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "486aee98d14d", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "ff5614917859", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.normal:thread-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "b6b9452c2348", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.normal:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.normal:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "1eb94321f034", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "874009380ba6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5ba91867e6b3", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "c1bd400fb401", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.result-absent:thread-settled", - "observation": { - "sender": ["bb6b127da045", "9eac7c30ff82"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "1a6ab45abc2c", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "051bf33a6dbe", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.result-absent:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "9eac7c30ff82", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "051bf33a6dbe", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.result-absent:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "9eac7c30ff82", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "874009380ba6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "051bf33a6dbe", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "c1bd400fb401", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.result-null:thread-settled", - "observation": { - "sender": ["bb6b127da045", "c71a92762a80"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "1a6ab45abc2c", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "051bf33a6dbe", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.result-null:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "c71a92762a80", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "051bf33a6dbe", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.result-null:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "c71a92762a80", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "874009380ba6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "051bf33a6dbe", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "c1bd400fb401", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.inner-ok-missing:thread-settled", - "observation": { - "sender": ["bb6b127da045", "b99c5591f0f7"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "1a6ab45abc2c", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "051bf33a6dbe", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.inner-ok-missing:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "b99c5591f0f7", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "051bf33a6dbe", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.inner-ok-missing:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "b99c5591f0f7", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "874009380ba6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "051bf33a6dbe", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "c1bd400fb401", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-string-error:thread-settled", - "observation": { - "sender": ["bb6b127da045", "278683b4b83c"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "1a6ab45abc2c", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "051bf33a6dbe", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-string-error:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "278683b4b83c", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "051bf33a6dbe", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-string-error:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "278683b4b83c", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "874009380ba6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "051bf33a6dbe", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "c1bd400fb401", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-object-error:thread-settled", - "observation": { - "sender": ["bb6b127da045", "bfd0a1cf0e20"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "1a6ab45abc2c", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "051bf33a6dbe", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-object-error:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "bfd0a1cf0e20", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "051bf33a6dbe", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.inner-false-object-error:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "bfd0a1cf0e20", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "874009380ba6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "051bf33a6dbe", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "c1bd400fb401", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused:thread-settled", - "observation": { - "sender": ["bb6b127da045", "0cacd7c49e14"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "0063efc2d666", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "bef5ee550f88", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "0cacd7c49e14", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "bef5ee550f88", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "0cacd7c49e14", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "874009380ba6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "bef5ee550f88", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "c1bd400fb401", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused-no-message:thread-settled", - "observation": { - "sender": ["bb6b127da045", "b84561eb94e4"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "b6b9452c2348", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "534022361580", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused-no-message:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "b84561eb94e4", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "534022361580", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.outer-refused-no-message:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "b84561eb94e4", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "874009380ba6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "534022361580", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "c1bd400fb401", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.method-not-found:thread-settled", - "observation": { - "sender": ["bb6b127da045", "3fd46e82b799"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "bf65c598102e", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5b88dfd67a5f", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.method-not-found:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "3fd46e82b799", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5b88dfd67a5f", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.method-not-found:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "3fd46e82b799", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "874009380ba6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "5b88dfd67a5f", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "c1bd400fb401", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection:thread-settled", - "observation": { - "sender": ["bb6b127da045", "9e861377fb01"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "c18900f349d0", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "25f549c4d581", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "9e861377fb01", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "25f549c4d581", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "9e861377fb01", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "874009380ba6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "25f549c4d581", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "c1bd400fb401", - "abdc42e00721" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection-no-message:thread-settled", - "observation": { - "sender": ["bb6b127da045", "93ad8fc020a2"], - "payloads": ["647143f4a02b", "8baca63d6578"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a" - }, - "state": "b6b9452c2348", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "534022361580", - "ce1f6d47985f" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection-no-message:review-reply-settled", - "observation": { - "sender": ["bb6b127da045", "93ad8fc020a2", "86f1d86b2ef1"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a" - }, - "state": "e76d5520ec18", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "534022361580", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9" - ] - } - }, - { - "id": "tk-project-row-threads.transport-rejection-no-message:issue-reply-settled", - "observation": { - "sender": ["bb6b127da045", "93ad8fc020a2", "86f1d86b2ef1", "c2f0cb5f4fe2"], - "payloads": ["647143f4a02b", "8baca63d6578", "09c572b1820f", "cca2fbdc89cd"], - "settlements": { - "mount": "eb79a9b3682a", - "delete-comment-0": "eb79a9b3682a", - "thread-1": "eb79a9b3682a", - "review-reply-2": "eb79a9b3682a", - "issue-reply-3": "eb79a9b3682a" - }, - "state": "874009380ba6", - "effects": [ - "5d32aa29303c", - "19346a719903", - "99542210ddd6", - "72332e237f1f", - "f39ed9ab521e", - "510db4658728", - "534022361580", - "ce1f6d47985f", - "a8ff11b6adce", - "5c30b4794b57", - "403b13184ce0", - "7f87c5800a4e", - "7440f0f1bab9", - "ecb02d3e0977", - "fb41e38e331b", - "b145ac6005a6", - "c1bd400fb401", - "abdc42e00721" - ] - } - } - ] - } -} 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 deleted file mode 100644 index b339448cc16..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-github.countworkitems-1.json +++ /dev/null @@ -1,1140 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.provider-load", - "family": "tasks.provider-load", - "namedDeltas": [], - "values": { - "03738b1bd64d": { - "name": "github.countWorkItems#1", - "ordinal": 14, - "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 - } - } - }, - "084da53ea1e3": { - "name": "linear.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "0d5034d2e543": { - "name": "linearTeams", - "ordinal": 8, - "value": [ - { - "id": "team-1", - "key": "ENG", - "name": "Engineering", - "workspaceId": "linear-workspace" - } - ] - }, - "1c97db0775ed": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": 0 - }, - "2037697422a5": { - "name": "github.countWorkItems#1", - "ordinal": 14, - "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 - } - } - }, - "30a58f63c90f": { - "name": "github.countWorkItems#1", - "ordinal": 14, - "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" - } - } - } - }, - "3eec4c7c7f4f": { - "name": "github.listWorkItems#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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" - } - } - } - } - }, - "3efe0a92588d": { - "name": "github.countWorkItems#1", - "ordinal": 14, - "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 - } - } - }, - "470893ebd4a7": { - "name": "linearWorkspaces", - "ordinal": 4, - "value": [ - { - "id": "linear-workspace", - "name": "Workspace" - } - ] - }, - "50982acf6b28": { - "name": "github.countWorkItems#1", - "ordinal": 14, - "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 - } - } - }, - "5e1882223b41": { - "name": "linear.listTeams#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\",\"params\":{\"workspaceId\":\"linear-workspace\"}}" - }, - "5efa1426d38f": { - "name": "selectedLinearWorkspaceId", - "ordinal": 5, - "value": "linear-workspace" - }, - "601208d7476f": { - "name": "github.countWorkItems#1", - "ordinal": 14, - "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" - } - } - } - }, - "63a020a8e787": { - "name": "github.countWorkItems#1", - "ordinal": 14, - "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 - } - } - }, - "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" - } - ] - }, - "6c06142a5dd6": { - "name": "github.countWorkItems#1", - "ordinal": 14, - "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 - } - } - } - }, - "823a0f3cec86": { - "name": "github.listWorkItems#1", - "ordinal": 13, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"is:issue bug\",\"page\":1}}" - }, - "8e7fd8abdcb3": { - "name": "github.countWorkItems#1", - "ordinal": 14, - "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 - } - } - }, - "9050cedbf1cf": { - "name": "github.countWorkItems#1", - "ordinal": 15, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.countWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"is:issue bug\"}}" - }, - "91220356fb85": { - "name": "selectedLinearTeamIds", - "ordinal": 9, - "value": ["team-1"] - }, - "93695401e4f8": { - "name": "linear.listTeams#1", - "ordinal": 6, - "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" - } - ] - } - } - }, - "a3b6191b3861": { - "name": "settings.update#1", - "ordinal": 11, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultLinearTeamSelection\":[\"team-1\"]}}" - }, - "adcbf91f89c3": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": 1 - }, - "b1e3cf829be4": { - "name": "github.countWorkItems#1", - "ordinal": 14, - "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 - } - } - } - }, - "b972a52a94fe": { - "name": "linear.status#1", - "ordinal": 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" - } - ] - } - } - } - }, - "bd4e7772cf07": { - "name": "settings.update#1", - "ordinal": 10, - "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 - } - } - } - }, - "d0a974f0c6a1": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "errorTypes": [], - "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" - } - } - } - }, - "de7bfe07e04b": { - "name": "github.countWorkItems#1", - "ordinal": 14, - "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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f57b6504f168": { - "name": "linearConnected", - "ordinal": 3, - "value": true - } - }, - "recording": { - "scenario": "matrix-tasks.provider-load-github.countworkitems-1", - "checkpoints": [ - { - "id": "tk-provider-load.prelude:linear-context-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8"], - "payloads": ["084da53ea1e3", "5e1882223b41"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.prelude:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.prelude:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07", "3eec4c7c7f4f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.normal:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3eec4c7c7f4f", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.result-absent:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3eec4c7c7f4f", - "8e7fd8abdcb3" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "1c97db0775ed" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.result-null:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3eec4c7c7f4f", - "30a58f63c90f" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "1c97db0775ed" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-ok-missing:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3eec4c7c7f4f", - "601208d7476f" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "1c97db0775ed" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-false-string-error:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3eec4c7c7f4f", - "6c06142a5dd6" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "1c97db0775ed" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-false-object-error:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3eec4c7c7f4f", - "b1e3cf829be4" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "1c97db0775ed" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.outer-refused:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3eec4c7c7f4f", - "63a020a8e787" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "1c97db0775ed" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.outer-refused-no-message:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3eec4c7c7f4f", - "03738b1bd64d" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "1c97db0775ed" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.method-not-found:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3eec4c7c7f4f", - "50982acf6b28" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "1c97db0775ed" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.transport-rejection:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3eec4c7c7f4f", - "2037697422a5" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "1c97db0775ed" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.transport-rejection-no-message:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3eec4c7c7f4f", - "3efe0a92588d" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "1c97db0775ed" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 3e28c5b0e80..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-github.listworkitems-1.json +++ /dev/null @@ -1,1390 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.provider-load", - "family": "tasks.provider-load", - "namedDeltas": [], - "values": { - "084da53ea1e3": { - "name": "linear.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "0d5034d2e543": { - "name": "linearTeams", - "ordinal": 8, - "value": [ - { - "id": "team-1", - "key": "ENG", - "name": "Engineering", - "workspaceId": "linear-workspace" - } - ] - }, - "24c298157f53": { - "name": "github.listWorkItems#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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 - } - } - } - }, - "3b589a9859c9": { - "name": "github.listWorkItems#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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 - } - } - } - }, - "3eec4c7c7f4f": { - "name": "github.listWorkItems#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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" - } - } - } - } - }, - "469195a61034": { - "name": "github.listWorkItems#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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 - } - } - }, - "470893ebd4a7": { - "name": "linearWorkspaces", - "ordinal": 4, - "value": [ - { - "id": "linear-workspace", - "name": "Workspace" - } - ] - }, - "5e1882223b41": { - "name": "linear.listTeams#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\",\"params\":{\"workspaceId\":\"linear-workspace\"}}" - }, - "5efa1426d38f": { - "name": "selectedLinearWorkspaceId", - "ordinal": 5, - "value": "linear-workspace" - }, - "5f419fa8c69d": { - "name": "github.listWorkItems#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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" - } - } - } - }, - "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" - } - ] - }, - "72fa6f021f77": { - "name": "github.listWorkItems#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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 - } - } - }, - "823a0f3cec86": { - "name": "github.listWorkItems#1", - "ordinal": 13, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"is:issue bug\",\"page\":1}}" - }, - "9050cedbf1cf": { - "name": "github.countWorkItems#1", - "ordinal": 15, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.countWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"is:issue bug\"}}" - }, - "91220356fb85": { - "name": "selectedLinearTeamIds", - "ordinal": 9, - "value": ["team-1"] - }, - "925a40556fcf": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "errorTypes": [], - "failedCount": 1, - "items": [], - "sourceErrors": [], - "sourceFallbacks": [], - "sourcesByRepoId": {} - } - }, - "93695401e4f8": { - "name": "linear.listTeams#1", - "ordinal": 6, - "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" - } - ] - } - } - }, - "a3b6191b3861": { - "name": "settings.update#1", - "ordinal": 11, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultLinearTeamSelection\":[\"team-1\"]}}" - }, - "a4f79decdfb4": { - "name": "github.listWorkItems#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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 - } - } - }, - "a9e32280eff6": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "errorTypes": [], - "failedCount": 0, - "items": [], - "sourceErrors": [], - "sourceFallbacks": [], - "sourcesByRepoId": {} - } - }, - "adcbf91f89c3": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": 1 - }, - "b45a3bc19cc7": { - "name": "github.listWorkItems#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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 - } - } - }, - "b972a52a94fe": { - "name": "linear.status#1", - "ordinal": 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" - } - ] - } - } - } - }, - "bd4e7772cf07": { - "name": "settings.update#1", - "ordinal": 10, - "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 - } - } - } - }, - "d0a974f0c6a1": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "errorTypes": [], - "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" - } - } - } - }, - "d34ffc174996": { - "name": "github.listWorkItems#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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 - } - } - }, - "de7bfe07e04b": { - "name": "github.countWorkItems#1", - "ordinal": 14, - "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 - } - } - }, - "e0e5eb47dcbd": { - "name": "github.listWorkItems#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f57b6504f168": { - "name": "linearConnected", - "ordinal": 3, - "value": true - }, - "f9d547fbf34c": { - "name": "github.listWorkItems#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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": ["b972a52a94fe", "93695401e4f8"], - "payloads": ["084da53ea1e3", "5e1882223b41"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.prelude:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.normal:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07", "3eec4c7c7f4f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.normal:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3eec4c7c7f4f", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.result-absent:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07", "b45a3bc19cc7"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.result-absent:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "b45a3bc19cc7", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.result-null:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07", "5f419fa8c69d"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.result-null:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "5f419fa8c69d", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-ok-missing:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07", "f9d547fbf34c"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-ok-missing:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "f9d547fbf34c", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-false-string-error:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07", "3b589a9859c9"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-false-string-error:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3b589a9859c9", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-false-object-error:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07", "24c298157f53"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-false-object-error:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "24c298157f53", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.outer-refused:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07", "a4f79decdfb4"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.outer-refused:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "a4f79decdfb4", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.outer-refused-no-message:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07", "e0e5eb47dcbd"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "a9e32280eff6" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.outer-refused-no-message:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "e0e5eb47dcbd", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "a9e32280eff6", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.method-not-found:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07", "72fa6f021f77"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.method-not-found:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "72fa6f021f77", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.transport-rejection:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07", "d34ffc174996"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.transport-rejection:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "d34ffc174996", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "925a40556fcf", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.transport-rejection-no-message:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07", "469195a61034"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "a9e32280eff6" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.transport-rejection-no-message:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "469195a61034", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "a9e32280eff6", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - } - ] - } -} 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 deleted file mode 100644 index b6f90e25b8d..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-linear.listteams-1.json +++ /dev/null @@ -1,1693 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.provider-load", - "family": "tasks.provider-load", - "namedDeltas": [], - "values": { - "084da53ea1e3": { - "name": "linear.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "09c9dbcde0c8": { - "name": "linear.listTeams#1", - "ordinal": 6, - "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 - } - } - }, - "0d5034d2e543": { - "name": "linearTeams", - "ordinal": 8, - "value": [ - { - "id": "team-1", - "key": "ENG", - "name": "Engineering", - "workspaceId": "linear-workspace" - } - ] - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "3eec4c7c7f4f": { - "name": "github.listWorkItems#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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" - } - } - } - } - }, - "3fc94b1d663a": { - "name": "linear.listTeams#1", - "ordinal": 6, - "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 - } - } - } - }, - "470893ebd4a7": { - "name": "linearWorkspaces", - "ordinal": 4, - "value": [ - { - "id": "linear-workspace", - "name": "Workspace" - } - ] - }, - "5e1882223b41": { - "name": "linear.listTeams#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\",\"params\":{\"workspaceId\":\"linear-workspace\"}}" - }, - "5efa1426d38f": { - "name": "selectedLinearWorkspaceId", - "ordinal": 5, - "value": "linear-workspace" - }, - "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" - } - ] - }, - "687e6f9f86b8": { - "name": "github.listWorkItems#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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" - } - } - } - } - }, - "6afc75a76742": { - "name": "linear.listTeams#1", - "ordinal": 6, - "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" - } - } - } - }, - "800e9b5ad644": { - "name": "linear.listTeams#1", - "ordinal": 6, - "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" - } - } - } - }, - "823a0f3cec86": { - "name": "github.listWorkItems#1", - "ordinal": 13, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"is:issue bug\",\"page\":1}}" - }, - "9050cedbf1cf": { - "name": "github.countWorkItems#1", - "ordinal": 15, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.countWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"is:issue bug\"}}" - }, - "91220356fb85": { - "name": "selectedLinearTeamIds", - "ordinal": 9, - "value": ["team-1"] - }, - "93695401e4f8": { - "name": "linear.listTeams#1", - "ordinal": 6, - "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" - } - ] - } - } - }, - "9be7820feca9": { - "name": "linear.listTeams#1", - "ordinal": 6, - "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 - } - } - }, - "9d32917da1aa": { - "name": "github.listWorkItems#1", - "ordinal": 11, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"is:issue bug\",\"page\":1}}" - }, - "a3b6191b3861": { - "name": "settings.update#1", - "ordinal": 11, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultLinearTeamSelection\":[\"team-1\"]}}" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "adcbf91f89c3": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": 1 - }, - "b14ab17bc6eb": { - "name": "settings.update#1", - "ordinal": 9, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultLinearTeamSelection\":[\"team-1\"]}}" - }, - "b23005b1ee7a": { - "name": "linear.listTeams#1", - "ordinal": 6, - "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 - } - } - } - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "b972a52a94fe": { - "name": "linear.status#1", - "ordinal": 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" - } - ] - } - } - } - }, - "bd4e7772cf07": { - "name": "settings.update#1", - "ordinal": 10, - "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 - } - } - } - }, - "bd5c2292b89a": { - "connected": true, - "selectedTeams": [], - "teams": [], - "workspaceId": "linear-workspace", - "workspaces": [ - { - "id": "linear-workspace", - "name": "Workspace" - } - ] - }, - "bf68caf5af8f": { - "name": "linear.listTeams#1", - "ordinal": 6, - "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 - } - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "ca5c15caea95": { - "name": "linear.listTeams#1", - "ordinal": 6, - "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 - } - } - }, - "cb437d5a4339": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (linear.listTeams)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "d0a974f0c6a1": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "errorTypes": [], - "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" - } - } - } - }, - "de1f2f536bd0": { - "name": "github.countWorkItems#1", - "ordinal": 13, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.countWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"is:issue bug\"}}" - }, - "de7bfe07e04b": { - "name": "github.countWorkItems#1", - "ordinal": 14, - "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 - } - } - }, - "ead909de64b6": { - "name": "settings.update#1", - "ordinal": 8, - "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 - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ed783e56eff4": { - "name": "github.countWorkItems#1", - "ordinal": 12, - "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 - } - } - }, - "f043bca4eaf5": { - "name": "linear.listTeams#1", - "ordinal": 6, - "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 - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "f57b6504f168": { - "name": "linearConnected", - "ordinal": 3, - "value": true - }, - "fb0297be0bcb": { - "name": "linear.listTeams#1", - "ordinal": 6, - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.provider-load-linear.listteams-1", - "checkpoints": [ - { - "id": "tk-provider-load.normal:linear-context-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8"], - "payloads": ["084da53ea1e3", "5e1882223b41"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.normal:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.normal:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07", "3eec4c7c7f4f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.normal:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3eec4c7c7f4f", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.result-absent:linear-context-settled", - "observation": { - "sender": ["b972a52a94fe", "bf68caf5af8f"], - "payloads": ["084da53ea1e3", "5e1882223b41"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.result-absent:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "bf68caf5af8f", "ead909de64b6"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.result-absent:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "bf68caf5af8f", "ead909de64b6", "687e6f9f86b8"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb", "9d32917da1aa"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.result-absent:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "bf68caf5af8f", - "ead909de64b6", - "687e6f9f86b8", - "ed783e56eff4" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "b14ab17bc6eb", - "9d32917da1aa", - "de1f2f536bd0" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.result-null:linear-context-settled", - "observation": { - "sender": ["b972a52a94fe", "800e9b5ad644"], - "payloads": ["084da53ea1e3", "5e1882223b41"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.result-null:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "800e9b5ad644", "ead909de64b6"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.result-null:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "800e9b5ad644", "ead909de64b6", "687e6f9f86b8"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb", "9d32917da1aa"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.result-null:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "800e9b5ad644", - "ead909de64b6", - "687e6f9f86b8", - "ed783e56eff4" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "b14ab17bc6eb", - "9d32917da1aa", - "de1f2f536bd0" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.inner-ok-missing:linear-context-settled", - "observation": { - "sender": ["b972a52a94fe", "6afc75a76742"], - "payloads": ["084da53ea1e3", "5e1882223b41"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.inner-ok-missing:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "6afc75a76742", "ead909de64b6"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.inner-ok-missing:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "6afc75a76742", "ead909de64b6", "687e6f9f86b8"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb", "9d32917da1aa"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.inner-ok-missing:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "6afc75a76742", - "ead909de64b6", - "687e6f9f86b8", - "ed783e56eff4" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "b14ab17bc6eb", - "9d32917da1aa", - "de1f2f536bd0" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.inner-false-string-error:linear-context-settled", - "observation": { - "sender": ["b972a52a94fe", "3fc94b1d663a"], - "payloads": ["084da53ea1e3", "5e1882223b41"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.inner-false-string-error:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "3fc94b1d663a", "ead909de64b6"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.inner-false-string-error:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "3fc94b1d663a", "ead909de64b6", "687e6f9f86b8"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb", "9d32917da1aa"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.inner-false-string-error:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "3fc94b1d663a", - "ead909de64b6", - "687e6f9f86b8", - "ed783e56eff4" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "b14ab17bc6eb", - "9d32917da1aa", - "de1f2f536bd0" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.inner-false-object-error:linear-context-settled", - "observation": { - "sender": ["b972a52a94fe", "b23005b1ee7a"], - "payloads": ["084da53ea1e3", "5e1882223b41"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.inner-false-object-error:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "b23005b1ee7a", "ead909de64b6"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.inner-false-object-error:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "b23005b1ee7a", "ead909de64b6", "687e6f9f86b8"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb", "9d32917da1aa"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.inner-false-object-error:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "b23005b1ee7a", - "ead909de64b6", - "687e6f9f86b8", - "ed783e56eff4" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "b14ab17bc6eb", - "9d32917da1aa", - "de1f2f536bd0" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "cb437d5a4339", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.outer-refused:linear-context-settled", - "observation": { - "sender": ["b972a52a94fe", "09c9dbcde0c8"], - "payloads": ["084da53ea1e3", "5e1882223b41"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "32a7c0ae7918" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.outer-refused:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "09c9dbcde0c8", "ead909de64b6"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "32a7c0ae7918", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.outer-refused:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "09c9dbcde0c8", "ead909de64b6", "687e6f9f86b8"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb", "9d32917da1aa"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "32a7c0ae7918", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.outer-refused:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "09c9dbcde0c8", - "ead909de64b6", - "687e6f9f86b8", - "ed783e56eff4" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "b14ab17bc6eb", - "9d32917da1aa", - "de1f2f536bd0" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "32a7c0ae7918", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.outer-refused-no-message:linear-context-settled", - "observation": { - "sender": ["b972a52a94fe", "f043bca4eaf5"], - "payloads": ["084da53ea1e3", "5e1882223b41"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "f3b516f62081" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.outer-refused-no-message:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "f043bca4eaf5", "ead909de64b6"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "f3b516f62081", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.outer-refused-no-message:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "f043bca4eaf5", "ead909de64b6", "687e6f9f86b8"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb", "9d32917da1aa"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "f3b516f62081", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.outer-refused-no-message:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "f043bca4eaf5", - "ead909de64b6", - "687e6f9f86b8", - "ed783e56eff4" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "b14ab17bc6eb", - "9d32917da1aa", - "de1f2f536bd0" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "f3b516f62081", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.method-not-found:linear-context-settled", - "observation": { - "sender": ["b972a52a94fe", "9be7820feca9"], - "payloads": ["084da53ea1e3", "5e1882223b41"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "b948e8307e81" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.method-not-found:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "9be7820feca9", "ead909de64b6"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "b948e8307e81", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.method-not-found:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "9be7820feca9", "ead909de64b6", "687e6f9f86b8"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb", "9d32917da1aa"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "b948e8307e81", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.method-not-found:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "9be7820feca9", - "ead909de64b6", - "687e6f9f86b8", - "ed783e56eff4" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "b14ab17bc6eb", - "9d32917da1aa", - "de1f2f536bd0" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "b948e8307e81", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.transport-rejection:linear-context-settled", - "observation": { - "sender": ["b972a52a94fe", "ca5c15caea95"], - "payloads": ["084da53ea1e3", "5e1882223b41"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "a947768bc0ed" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.transport-rejection:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "ca5c15caea95", "ead909de64b6"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "a947768bc0ed", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.transport-rejection:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "ca5c15caea95", "ead909de64b6", "687e6f9f86b8"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb", "9d32917da1aa"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "a947768bc0ed", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.transport-rejection:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "ca5c15caea95", - "ead909de64b6", - "687e6f9f86b8", - "ed783e56eff4" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "b14ab17bc6eb", - "9d32917da1aa", - "de1f2f536bd0" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "a947768bc0ed", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.transport-rejection-no-message:linear-context-settled", - "observation": { - "sender": ["b972a52a94fe", "fb0297be0bcb"], - "payloads": ["084da53ea1e3", "5e1882223b41"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "c7584e82c72f" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.transport-rejection-no-message:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "fb0297be0bcb", "ead909de64b6"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "c7584e82c72f", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.transport-rejection-no-message:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "fb0297be0bcb", "ead909de64b6", "687e6f9f86b8"], - "payloads": ["084da53ea1e3", "5e1882223b41", "b14ab17bc6eb", "9d32917da1aa"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "c7584e82c72f", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - }, - { - "id": "tk-provider-load.transport-rejection-no-message:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "fb0297be0bcb", - "ead909de64b6", - "687e6f9f86b8", - "ed783e56eff4" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "b14ab17bc6eb", - "9d32917da1aa", - "de1f2f536bd0" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "c7584e82c72f", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "bd5c2292b89a", - "effects": ["f57b6504f168", "470893ebd4a7", "5efa1426d38f"] - } - } - ] - } -} 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 deleted file mode 100644 index 55bd0cc98c4..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-linear.status-1.json +++ /dev/null @@ -1,1805 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.provider-load", - "family": "tasks.provider-load", - "namedDeltas": [], - "values": { - "009043ac6f6a": { - "name": "settings.update#1", - "ordinal": 8, - "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 - } - } - } - }, - "03d32b26cde1": { - "name": "github.countWorkItems#1", - "ordinal": 12, - "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 - } - } - }, - "0577812165ed": { - "connected": false, - "selectedTeams": [], - "teams": [], - "workspaceId": { - "$rpc": "null" - }, - "workspaces": [] - }, - "057c9900ad0c": { - "name": "github.countWorkItems#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.countWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"is:issue bug\"}}" - }, - "084da53ea1e3": { - "name": "linear.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "0bb4194037b8": { - "name": "selectedLinearTeamIds", - "ordinal": 6, - "value": [] - }, - "0d5034d2e543": { - "name": "linearTeams", - "ordinal": 8, - "value": [ - { - "id": "team-1", - "key": "ENG", - "name": "Engineering", - "workspaceId": "linear-workspace" - } - ] - }, - "172b8103e27d": { - "name": "linear.status#1", - "ordinal": 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 - } - } - }, - "1867539bdd98": { - "name": "github.listWorkItems#1", - "ordinal": 11, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"is:issue bug\",\"page\":1}}" - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "3eec4c7c7f4f": { - "name": "github.listWorkItems#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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" - } - } - } - } - }, - "470893ebd4a7": { - "name": "linearWorkspaces", - "ordinal": 4, - "value": [ - { - "id": "linear-workspace", - "name": "Workspace" - } - ] - }, - "520f24cdfcf1": { - "name": "settings.update#1", - "ordinal": 3, - "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 - } - } - } - }, - "5366baec14b8": { - "name": "linear.status#1", - "ordinal": 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 - } - } - }, - "53e0412296fa": { - "name": "linear.status#1", - "ordinal": 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 - } - } - } - }, - "5e1882223b41": { - "name": "linear.listTeams#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\",\"params\":{\"workspaceId\":\"linear-workspace\"}}" - }, - "5efa1426d38f": { - "name": "selectedLinearWorkspaceId", - "ordinal": 5, - "value": "linear-workspace" - }, - "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" - } - ] - }, - "75b07dcf020e": { - "name": "github.listWorkItems#1", - "ordinal": 10, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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" - } - } - } - } - }, - "813bf7c818e8": { - "name": "linearTeams", - "ordinal": 5, - "value": [] - }, - "823a0f3cec86": { - "name": "github.listWorkItems#1", - "ordinal": 13, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"is:issue bug\",\"page\":1}}" - }, - "9050cedbf1cf": { - "name": "github.countWorkItems#1", - "ordinal": 15, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.countWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"is:issue bug\"}}" - }, - "91220356fb85": { - "name": "selectedLinearTeamIds", - "ordinal": 9, - "value": ["team-1"] - }, - "93695401e4f8": { - "name": "linear.listTeams#1", - "ordinal": 6, - "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" - } - ] - } - } - }, - "946f47b7407f": { - "name": "github.listWorkItems#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"is:issue bug\",\"page\":1}}" - }, - "97e7c25aba4e": { - "name": "linearWorkspaces", - "ordinal": 4, - "value": [] - }, - "9f2a92d18d38": { - "name": "github.listWorkItems#1", - "ordinal": 5, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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" - } - } - } - } - }, - "a1fb4998554b": { - "name": "settings.update#1", - "ordinal": 9, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultLinearTeamSelection\":[\"team-1\"]}}" - }, - "a2c4c90609f8": { - "name": "settings.update#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultLinearTeamSelection\":[\"team-1\"]}}" - }, - "a3b6191b3861": { - "name": "settings.update#1", - "ordinal": 11, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultLinearTeamSelection\":[\"team-1\"]}}" - }, - "a5efc434135f": { - "name": "github.countWorkItems#1", - "ordinal": 7, - "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 - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "adcbf91f89c3": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": 1 - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "b972a52a94fe": { - "name": "linear.status#1", - "ordinal": 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" - } - ] - } - } - } - }, - "bd4e7772cf07": { - "name": "settings.update#1", - "ordinal": 10, - "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 - } - } - } - }, - "bda85b2bbb48": { - "name": "linear.status#1", - "ordinal": 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 - } - } - }, - "c25b7af04e44": { - "name": "linear.status#1", - "ordinal": 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 - } - } - } - }, - "c4473d58d751": { - "name": "linear.status#1", - "ordinal": 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 - } - } - }, - "c72324e5f439": { - "name": "github.countWorkItems#1", - "ordinal": 13, - "json": "{\"id\":\"frame-4\",\"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 - } - }, - "ce76e0581f87": { - "name": "linearConnected", - "ordinal": 3, - "value": false - }, - "d0a974f0c6a1": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "errorTypes": [], - "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" - } - } - } - }, - "d44ba8747c4c": { - "name": "selectedLinearWorkspaceId", - "ordinal": 7, - "value": { - "$rpc": "null" - } - }, - "d8435d112a09": { - "name": "linear.status#1", - "ordinal": 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" - } - } - } - }, - "db17b820bb60": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (linear.status)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "de7bfe07e04b": { - "name": "github.countWorkItems#1", - "ordinal": 14, - "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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "edab56c7253d": { - "name": "linear.status#1", - "ordinal": 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 - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "f57b6504f168": { - "name": "linearConnected", - "ordinal": 3, - "value": true - }, - "f6c223a2d25f": { - "name": "linear.status#1", - "ordinal": 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 - } - } - }, - "fa74ad96f499": { - "name": "linear.status#1", - "ordinal": 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" - } - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.provider-load-linear.status-1", - "checkpoints": [ - { - "id": "tk-provider-load.normal:linear-context-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8"], - "payloads": ["084da53ea1e3", "5e1882223b41"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.normal:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.normal:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07", "3eec4c7c7f4f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.normal:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3eec4c7c7f4f", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.result-absent:linear-context-settled", - "observation": { - "sender": ["edab56c7253d"], - "payloads": ["084da53ea1e3"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "db17b820bb60" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.result-absent:persist-teams-settled", - "observation": { - "sender": ["edab56c7253d", "520f24cdfcf1"], - "payloads": ["084da53ea1e3", "a2c4c90609f8"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "db17b820bb60", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.result-absent:github-page-settled", - "observation": { - "sender": ["edab56c7253d", "520f24cdfcf1", "9f2a92d18d38"], - "payloads": ["084da53ea1e3", "a2c4c90609f8", "946f47b7407f"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "db17b820bb60", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.result-absent:github-count-settled", - "observation": { - "sender": ["edab56c7253d", "520f24cdfcf1", "9f2a92d18d38", "a5efc434135f"], - "payloads": ["084da53ea1e3", "a2c4c90609f8", "946f47b7407f", "057c9900ad0c"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "db17b820bb60", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.result-null:linear-context-settled", - "observation": { - "sender": ["d8435d112a09"], - "payloads": ["084da53ea1e3"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "db17b820bb60" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.result-null:persist-teams-settled", - "observation": { - "sender": ["d8435d112a09", "520f24cdfcf1"], - "payloads": ["084da53ea1e3", "a2c4c90609f8"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "db17b820bb60", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.result-null:github-page-settled", - "observation": { - "sender": ["d8435d112a09", "520f24cdfcf1", "9f2a92d18d38"], - "payloads": ["084da53ea1e3", "a2c4c90609f8", "946f47b7407f"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "db17b820bb60", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.result-null:github-count-settled", - "observation": { - "sender": ["d8435d112a09", "520f24cdfcf1", "9f2a92d18d38", "a5efc434135f"], - "payloads": ["084da53ea1e3", "a2c4c90609f8", "946f47b7407f", "057c9900ad0c"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "db17b820bb60", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.inner-ok-missing:linear-context-settled", - "observation": { - "sender": ["fa74ad96f499"], - "payloads": ["084da53ea1e3"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a" - }, - "state": "0577812165ed", - "effects": [ - "ce76e0581f87", - "97e7c25aba4e", - "813bf7c818e8", - "0bb4194037b8", - "d44ba8747c4c" - ] - } - }, - { - "id": "tk-provider-load.inner-ok-missing:persist-teams-settled", - "observation": { - "sender": ["fa74ad96f499", "009043ac6f6a"], - "payloads": ["084da53ea1e3", "a1fb4998554b"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "0577812165ed", - "effects": [ - "ce76e0581f87", - "97e7c25aba4e", - "813bf7c818e8", - "0bb4194037b8", - "d44ba8747c4c" - ] - } - }, - { - "id": "tk-provider-load.inner-ok-missing:github-page-settled", - "observation": { - "sender": ["fa74ad96f499", "009043ac6f6a", "75b07dcf020e"], - "payloads": ["084da53ea1e3", "a1fb4998554b", "1867539bdd98"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "0577812165ed", - "effects": [ - "ce76e0581f87", - "97e7c25aba4e", - "813bf7c818e8", - "0bb4194037b8", - "d44ba8747c4c" - ] - } - }, - { - "id": "tk-provider-load.inner-ok-missing:github-count-settled", - "observation": { - "sender": ["fa74ad96f499", "009043ac6f6a", "75b07dcf020e", "03d32b26cde1"], - "payloads": ["084da53ea1e3", "a1fb4998554b", "1867539bdd98", "c72324e5f439"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "0577812165ed", - "effects": [ - "ce76e0581f87", - "97e7c25aba4e", - "813bf7c818e8", - "0bb4194037b8", - "d44ba8747c4c" - ] - } - }, - { - "id": "tk-provider-load.inner-false-string-error:linear-context-settled", - "observation": { - "sender": ["c25b7af04e44"], - "payloads": ["084da53ea1e3"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a" - }, - "state": "0577812165ed", - "effects": [ - "ce76e0581f87", - "97e7c25aba4e", - "813bf7c818e8", - "0bb4194037b8", - "d44ba8747c4c" - ] - } - }, - { - "id": "tk-provider-load.inner-false-string-error:persist-teams-settled", - "observation": { - "sender": ["c25b7af04e44", "009043ac6f6a"], - "payloads": ["084da53ea1e3", "a1fb4998554b"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "0577812165ed", - "effects": [ - "ce76e0581f87", - "97e7c25aba4e", - "813bf7c818e8", - "0bb4194037b8", - "d44ba8747c4c" - ] - } - }, - { - "id": "tk-provider-load.inner-false-string-error:github-page-settled", - "observation": { - "sender": ["c25b7af04e44", "009043ac6f6a", "75b07dcf020e"], - "payloads": ["084da53ea1e3", "a1fb4998554b", "1867539bdd98"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "0577812165ed", - "effects": [ - "ce76e0581f87", - "97e7c25aba4e", - "813bf7c818e8", - "0bb4194037b8", - "d44ba8747c4c" - ] - } - }, - { - "id": "tk-provider-load.inner-false-string-error:github-count-settled", - "observation": { - "sender": ["c25b7af04e44", "009043ac6f6a", "75b07dcf020e", "03d32b26cde1"], - "payloads": ["084da53ea1e3", "a1fb4998554b", "1867539bdd98", "c72324e5f439"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "0577812165ed", - "effects": [ - "ce76e0581f87", - "97e7c25aba4e", - "813bf7c818e8", - "0bb4194037b8", - "d44ba8747c4c" - ] - } - }, - { - "id": "tk-provider-load.inner-false-object-error:linear-context-settled", - "observation": { - "sender": ["53e0412296fa"], - "payloads": ["084da53ea1e3"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a" - }, - "state": "0577812165ed", - "effects": [ - "ce76e0581f87", - "97e7c25aba4e", - "813bf7c818e8", - "0bb4194037b8", - "d44ba8747c4c" - ] - } - }, - { - "id": "tk-provider-load.inner-false-object-error:persist-teams-settled", - "observation": { - "sender": ["53e0412296fa", "009043ac6f6a"], - "payloads": ["084da53ea1e3", "a1fb4998554b"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "0577812165ed", - "effects": [ - "ce76e0581f87", - "97e7c25aba4e", - "813bf7c818e8", - "0bb4194037b8", - "d44ba8747c4c" - ] - } - }, - { - "id": "tk-provider-load.inner-false-object-error:github-page-settled", - "observation": { - "sender": ["53e0412296fa", "009043ac6f6a", "75b07dcf020e"], - "payloads": ["084da53ea1e3", "a1fb4998554b", "1867539bdd98"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "0577812165ed", - "effects": [ - "ce76e0581f87", - "97e7c25aba4e", - "813bf7c818e8", - "0bb4194037b8", - "d44ba8747c4c" - ] - } - }, - { - "id": "tk-provider-load.inner-false-object-error:github-count-settled", - "observation": { - "sender": ["53e0412296fa", "009043ac6f6a", "75b07dcf020e", "03d32b26cde1"], - "payloads": ["084da53ea1e3", "a1fb4998554b", "1867539bdd98", "c72324e5f439"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "0577812165ed", - "effects": [ - "ce76e0581f87", - "97e7c25aba4e", - "813bf7c818e8", - "0bb4194037b8", - "d44ba8747c4c" - ] - } - }, - { - "id": "tk-provider-load.outer-refused:linear-context-settled", - "observation": { - "sender": ["172b8103e27d"], - "payloads": ["084da53ea1e3"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "32a7c0ae7918" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.outer-refused:persist-teams-settled", - "observation": { - "sender": ["172b8103e27d", "520f24cdfcf1"], - "payloads": ["084da53ea1e3", "a2c4c90609f8"], - "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": ["172b8103e27d", "520f24cdfcf1", "9f2a92d18d38"], - "payloads": ["084da53ea1e3", "a2c4c90609f8", "946f47b7407f"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "32a7c0ae7918", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.outer-refused:github-count-settled", - "observation": { - "sender": ["172b8103e27d", "520f24cdfcf1", "9f2a92d18d38", "a5efc434135f"], - "payloads": ["084da53ea1e3", "a2c4c90609f8", "946f47b7407f", "057c9900ad0c"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "32a7c0ae7918", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.outer-refused-no-message:linear-context-settled", - "observation": { - "sender": ["bda85b2bbb48"], - "payloads": ["084da53ea1e3"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "f3b516f62081" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.outer-refused-no-message:persist-teams-settled", - "observation": { - "sender": ["bda85b2bbb48", "520f24cdfcf1"], - "payloads": ["084da53ea1e3", "a2c4c90609f8"], - "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": ["bda85b2bbb48", "520f24cdfcf1", "9f2a92d18d38"], - "payloads": ["084da53ea1e3", "a2c4c90609f8", "946f47b7407f"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "f3b516f62081", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.outer-refused-no-message:github-count-settled", - "observation": { - "sender": ["bda85b2bbb48", "520f24cdfcf1", "9f2a92d18d38", "a5efc434135f"], - "payloads": ["084da53ea1e3", "a2c4c90609f8", "946f47b7407f", "057c9900ad0c"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "f3b516f62081", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.method-not-found:linear-context-settled", - "observation": { - "sender": ["f6c223a2d25f"], - "payloads": ["084da53ea1e3"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "b948e8307e81" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.method-not-found:persist-teams-settled", - "observation": { - "sender": ["f6c223a2d25f", "520f24cdfcf1"], - "payloads": ["084da53ea1e3", "a2c4c90609f8"], - "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": ["f6c223a2d25f", "520f24cdfcf1", "9f2a92d18d38"], - "payloads": ["084da53ea1e3", "a2c4c90609f8", "946f47b7407f"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "b948e8307e81", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.method-not-found:github-count-settled", - "observation": { - "sender": ["f6c223a2d25f", "520f24cdfcf1", "9f2a92d18d38", "a5efc434135f"], - "payloads": ["084da53ea1e3", "a2c4c90609f8", "946f47b7407f", "057c9900ad0c"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "b948e8307e81", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.transport-rejection:linear-context-settled", - "observation": { - "sender": ["c4473d58d751"], - "payloads": ["084da53ea1e3"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "a947768bc0ed" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.transport-rejection:persist-teams-settled", - "observation": { - "sender": ["c4473d58d751", "520f24cdfcf1"], - "payloads": ["084da53ea1e3", "a2c4c90609f8"], - "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": ["c4473d58d751", "520f24cdfcf1", "9f2a92d18d38"], - "payloads": ["084da53ea1e3", "a2c4c90609f8", "946f47b7407f"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "a947768bc0ed", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.transport-rejection:github-count-settled", - "observation": { - "sender": ["c4473d58d751", "520f24cdfcf1", "9f2a92d18d38", "a5efc434135f"], - "payloads": ["084da53ea1e3", "a2c4c90609f8", "946f47b7407f", "057c9900ad0c"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "a947768bc0ed", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.transport-rejection-no-message:linear-context-settled", - "observation": { - "sender": ["5366baec14b8"], - "payloads": ["084da53ea1e3"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "c7584e82c72f" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.transport-rejection-no-message:persist-teams-settled", - "observation": { - "sender": ["5366baec14b8", "520f24cdfcf1"], - "payloads": ["084da53ea1e3", "a2c4c90609f8"], - "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": ["5366baec14b8", "520f24cdfcf1", "9f2a92d18d38"], - "payloads": ["084da53ea1e3", "a2c4c90609f8", "946f47b7407f"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "c7584e82c72f", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "0577812165ed", - "effects": [] - } - }, - { - "id": "tk-provider-load.transport-rejection-no-message:github-count-settled", - "observation": { - "sender": ["5366baec14b8", "520f24cdfcf1", "9f2a92d18d38", "a5efc434135f"], - "payloads": ["084da53ea1e3", "a2c4c90609f8", "946f47b7407f", "057c9900ad0c"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "c7584e82c72f", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "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 deleted file mode 100644 index c7f65cc304b..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.provider-load-settings.update-1.json +++ /dev/null @@ -1,1534 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.provider-load", - "family": "tasks.provider-load", - "namedDeltas": [], - "values": { - "084da53ea1e3": { - "name": "linear.status#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.status\"}" - }, - "0d5034d2e543": { - "name": "linearTeams", - "ordinal": 8, - "value": [ - { - "id": "team-1", - "key": "ENG", - "name": "Engineering", - "workspaceId": "linear-workspace" - } - ] - }, - "2499f603d251": { - "name": "settings.update#1", - "ordinal": 10, - "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" - } - } - } - }, - "38975f044b6c": { - "name": "settings.update#1", - "ordinal": 10, - "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 - } - } - }, - "3eec4c7c7f4f": { - "name": "github.listWorkItems#1", - "ordinal": 12, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "page": 1, - "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" - } - } - } - } - }, - "42ad25456198": { - "name": "settings.update#1", - "ordinal": 10, - "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 - } - } - }, - "470893ebd4a7": { - "name": "linearWorkspaces", - "ordinal": 4, - "value": [ - { - "id": "linear-workspace", - "name": "Workspace" - } - ] - }, - "534fb96c7e7f": { - "name": "settings.update#1", - "ordinal": 10, - "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 - } - } - } - }, - "5e1882223b41": { - "name": "linear.listTeams#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listTeams\",\"params\":{\"workspaceId\":\"linear-workspace\"}}" - }, - "5efa1426d38f": { - "name": "selectedLinearWorkspaceId", - "ordinal": 5, - "value": "linear-workspace" - }, - "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" - } - ] - }, - "6d27b4479da7": { - "name": "settings.update#1", - "ordinal": 10, - "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" - } - } - } - }, - "777fe27bf202": { - "name": "settings.update#1", - "ordinal": 10, - "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 - } - } - } - }, - "823a0f3cec86": { - "name": "github.listWorkItems#1", - "ordinal": 13, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"is:issue bug\",\"page\":1}}" - }, - "9050cedbf1cf": { - "name": "github.countWorkItems#1", - "ordinal": 15, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"github.countWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"is:issue bug\"}}" - }, - "91220356fb85": { - "name": "selectedLinearTeamIds", - "ordinal": 9, - "value": ["team-1"] - }, - "93695401e4f8": { - "name": "linear.listTeams#1", - "ordinal": 6, - "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" - } - ] - } - } - }, - "99f5e95b5ed1": { - "name": "settings.update#1", - "ordinal": 10, - "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 - } - } - }, - "a3b6191b3861": { - "name": "settings.update#1", - "ordinal": 11, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"settings.update\",\"params\":{\"defaultLinearTeamSelection\":[\"team-1\"]}}" - }, - "adcbf91f89c3": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": 1 - }, - "b972a52a94fe": { - "name": "linear.status#1", - "ordinal": 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" - } - ] - } - } - } - }, - "bd4e7772cf07": { - "name": "settings.update#1", - "ordinal": 10, - "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 - } - } - } - }, - "c1f03a3fb922": { - "name": "settings.update#1", - "ordinal": 10, - "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 - } - } - }, - "d0a974f0c6a1": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "errorTypes": [], - "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" - } - } - } - }, - "d6a6916c7399": { - "name": "settings.update#1", - "ordinal": 10, - "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 - } - } - }, - "de7bfe07e04b": { - "name": "github.countWorkItems#1", - "ordinal": 14, - "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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f443174fd57a": { - "name": "settings.update#1", - "ordinal": 10, - "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 - } - } - }, - "f57b6504f168": { - "name": "linearConnected", - "ordinal": 3, - "value": true - } - }, - "recording": { - "scenario": "matrix-tasks.provider-load-settings.update-1", - "checkpoints": [ - { - "id": "tk-provider-load.prelude:linear-context-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8"], - "payloads": ["084da53ea1e3", "5e1882223b41"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.normal:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.normal:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "bd4e7772cf07", "3eec4c7c7f4f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.normal:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "bd4e7772cf07", - "3eec4c7c7f4f", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.result-absent:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "99f5e95b5ed1"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.result-absent:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "99f5e95b5ed1", "3eec4c7c7f4f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.result-absent:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "99f5e95b5ed1", - "3eec4c7c7f4f", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.result-null:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "6d27b4479da7"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.result-null:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "6d27b4479da7", "3eec4c7c7f4f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.result-null:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "6d27b4479da7", - "3eec4c7c7f4f", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-ok-missing:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "2499f603d251"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-ok-missing:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "2499f603d251", "3eec4c7c7f4f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-ok-missing:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "2499f603d251", - "3eec4c7c7f4f", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-false-string-error:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "777fe27bf202"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-false-string-error:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "777fe27bf202", "3eec4c7c7f4f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-false-string-error:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "777fe27bf202", - "3eec4c7c7f4f", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-false-object-error:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "534fb96c7e7f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-false-object-error:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "534fb96c7e7f", "3eec4c7c7f4f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.inner-false-object-error:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "534fb96c7e7f", - "3eec4c7c7f4f", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.outer-refused:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "42ad25456198"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.outer-refused:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "42ad25456198", "3eec4c7c7f4f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.outer-refused:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "42ad25456198", - "3eec4c7c7f4f", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.outer-refused-no-message:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "c1f03a3fb922"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.outer-refused-no-message:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "c1f03a3fb922", "3eec4c7c7f4f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.outer-refused-no-message:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "c1f03a3fb922", - "3eec4c7c7f4f", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.method-not-found:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "f443174fd57a"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.method-not-found:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "f443174fd57a", "3eec4c7c7f4f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.method-not-found:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "f443174fd57a", - "3eec4c7c7f4f", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.transport-rejection:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "d6a6916c7399"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.transport-rejection:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "d6a6916c7399", "3eec4c7c7f4f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.transport-rejection:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "d6a6916c7399", - "3eec4c7c7f4f", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.transport-rejection-no-message:persist-teams-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "38975f044b6c"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.transport-rejection-no-message:github-page-settled", - "observation": { - "sender": ["b972a52a94fe", "93695401e4f8", "38975f044b6c", "3eec4c7c7f4f"], - "payloads": ["084da53ea1e3", "5e1882223b41", "a3b6191b3861", "823a0f3cec86"], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - }, - { - "id": "tk-provider-load.transport-rejection-no-message:github-count-settled", - "observation": { - "sender": [ - "b972a52a94fe", - "93695401e4f8", - "38975f044b6c", - "3eec4c7c7f4f", - "de7bfe07e04b" - ], - "payloads": [ - "084da53ea1e3", - "5e1882223b41", - "a3b6191b3861", - "823a0f3cec86", - "9050cedbf1cf" - ], - "settlements": { - "mount": "eb79a9b3682a", - "linear-context-0": "eb79a9b3682a", - "persist-teams-1": "eb79a9b3682a", - "github-page-2": "d0a974f0c6a1", - "github-count-3": "adcbf91f89c3" - }, - "state": "67b5ebc67646", - "effects": [ - "f57b6504f168", - "470893ebd4a7", - "5efa1426d38f", - "0d5034d2e543", - "91220356fb85" - ] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-tasks.route-repo-list-repo.list-1.json b/mobile/rpc-foundation/goldens/matrix-tasks.route-repo-list-repo.list-1.json deleted file mode 100644 index adc7fb1616a..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.route-repo-list-repo.list-1.json +++ /dev/null @@ -1,747 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.route-repo-list", - "family": "tasks.route-repo-list", - "namedDeltas": [], - "values": { - "12e70439f294": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "1321b4c8c0b8": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "19b2979d7fc2": { - "name": "repo.list#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.list\"}" - }, - "1b23dab83fcf": { - "name": "repo.list#1", - "ordinal": 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" - } - } - } - }, - "2c8a833ba907": { - "crash": { - "$rpc": "null" - }, - "repoListError": "Unknown method", - "repoListStatus": "error", - "repos": [] - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "35f85fe3b71c": { - "name": "repo.list#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "repo.list" - }, - { - "name": "params", - "value": { - "$rpc": "absent" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "3af5453be521": { - "crash": { - "$rpc": "null" - }, - "repoListError": "The host sent a reply this app could not read (repo.list)", - "repoListStatus": "error", - "repos": [] - }, - "43e0e76c3901": { - "crash": { - "$rpc": "null" - }, - "repoListError": "outer refused", - "repoListStatus": "error", - "repos": [] - }, - "48c68906a98a": { - "name": "repo.list#1", - "ordinal": 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" - } - } - } - }, - "5035ab0dea56": { - "crash": { - "$rpc": "null" - }, - "repoListError": "", - "repoListStatus": "error", - "repos": [] - }, - "624ec4e5082c": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "747c556da67a": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "7d0fa424be7c": { - "name": "repo.list#1", - "ordinal": 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": [ - { - "id": "repo-1", - "name": "orca" - }, - { - "id": "repo-2", - "name": "relay" - } - ] - } - } - } - }, - "8a72d3d14d44": { - "name": "repo.list#1", - "ordinal": 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 - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "9d8c57ae3003": { - "crash": { - "$rpc": "null" - }, - "repoListError": "transport failure", - "repoListStatus": "error", - "repos": [] - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "afa949a66032": { - "crash": { - "$rpc": "null" - }, - "repoListError": "", - "repoListStatus": "idle", - "repos": [] - }, - "b15e86f79919": { - "crash": { - "$rpc": "null" - }, - "repoListError": "", - "repoListStatus": "loading", - "repos": [] - }, - "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 - } - }, - "d68475063b62": { - "name": "repo.list#1", - "ordinal": 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 - } - } - } - }, - "d8654a93cec4": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (repo.list)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "dae756300589": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f1d579dd459c": { - "name": "repo.list#1", - "ordinal": 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 - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "f5484d90b3f7": { - "crash": { - "$rpc": "null" - }, - "repoListError": "", - "repoListStatus": "loaded", - "repos": ["repo-1", "repo-2"] - }, - "fcd8faa86ca8": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "id": "repo-1", - "name": "orca" - }, - { - "id": "repo-2", - "name": "relay" - } - ] - } - }, - "recording": { - "scenario": "matrix-tasks.route-repo-list-repo.list-1", - "checkpoints": [ - { - "id": "tasks-route-repo-list.prelude:idle", - "observation": { - "sender": [], - "payloads": [], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "afa949a66032", - "effects": [] - } - }, - { - "id": "tasks-route-repo-list.prelude:repos-pending", - "observation": { - "sender": ["35f85fe3b71c"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a", - "ensure": "9270aeb7d9c6" - }, - "state": "b15e86f79919", - "effects": [] - } - }, - { - "id": "tasks-route-repo-list.normal:repos-loaded", - "observation": { - "sender": ["7d0fa424be7c"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a", - "ensure": "fcd8faa86ca8" - }, - "state": "f5484d90b3f7", - "effects": [] - } - }, - { - "id": "tasks-route-repo-list.result-absent:repos-loaded", - "observation": { - "sender": ["747c556da67a"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a", - "ensure": "d8654a93cec4" - }, - "state": "3af5453be521", - "effects": [] - } - }, - { - "id": "tasks-route-repo-list.result-null:repos-loaded", - "observation": { - "sender": ["48c68906a98a"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a", - "ensure": "d8654a93cec4" - }, - "state": "3af5453be521", - "effects": [] - } - }, - { - "id": "tasks-route-repo-list.inner-ok-missing:repos-loaded", - "observation": { - "sender": ["1b23dab83fcf"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a", - "ensure": "d8654a93cec4" - }, - "state": "3af5453be521", - "effects": [] - } - }, - { - "id": "tasks-route-repo-list.inner-false-string-error:repos-loaded", - "observation": { - "sender": ["8a72d3d14d44"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a", - "ensure": "d8654a93cec4" - }, - "state": "3af5453be521", - "effects": [] - } - }, - { - "id": "tasks-route-repo-list.inner-false-object-error:repos-loaded", - "observation": { - "sender": ["d68475063b62"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a", - "ensure": "d8654a93cec4" - }, - "state": "3af5453be521", - "effects": [] - } - }, - { - "id": "tasks-route-repo-list.outer-refused:repos-loaded", - "observation": { - "sender": ["624ec4e5082c"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a", - "ensure": "32a7c0ae7918" - }, - "state": "43e0e76c3901", - "effects": [] - } - }, - { - "id": "tasks-route-repo-list.outer-refused-no-message:repos-loaded", - "observation": { - "sender": ["f1d579dd459c"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a", - "ensure": "f3b516f62081" - }, - "state": "5035ab0dea56", - "effects": [] - } - }, - { - "id": "tasks-route-repo-list.method-not-found:repos-loaded", - "observation": { - "sender": ["12e70439f294"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a", - "ensure": "b948e8307e81" - }, - "state": "2c8a833ba907", - "effects": [] - } - }, - { - "id": "tasks-route-repo-list.transport-rejection:repos-loaded", - "observation": { - "sender": ["dae756300589"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a", - "ensure": "a947768bc0ed" - }, - "state": "9d8c57ae3003", - "effects": [] - } - }, - { - "id": "tasks-route-repo-list.transport-rejection-no-message:repos-loaded", - "observation": { - "sender": ["1321b4c8c0b8"], - "payloads": ["19b2979d7fc2"], - "settlements": { - "mount": "eb79a9b3682a", - "ensure": "c7584e82c72f" - }, - "state": "5035ab0dea56", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 2fc1fc097d9..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-github.listworkitems-1.json +++ /dev/null @@ -1,2127 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.smart-source-search", - "family": "tasks.smart-source-search", - "namedDeltas": [], - "values": { - "005749a0bd75": { - "name": "github.listWorkItems#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "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:1", - "labels": [], - "number": 1, - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - } - } - } - }, - "017731afa453": { - "name": "repo.searchRefs#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"repo.searchRefs\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"bug\",\"limit\":20}}" - }, - "0e58cb09624b": { - "name": "github.listWorkItems#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "14429cf6ac3e": { - "branches": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "2868ae2bd70e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "2a9f7b1ce8f9": { - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "2d9caaaffaed": { - "name": "github.listWorkItems#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"bug\"}}" - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "40d2922bb77c": { - "name": "linear.searchIssues#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "items": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - } - } - } - }, - "44136fa355b3": {}, - "4d156675db06": { - "branches": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ], - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "5c0150354bb2": { - "name": "github.listWorkItems#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "query": "bug", - "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" - } - } - } - }, - "5e6a0a523ff5": { - "name": "github.listWorkItems#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "query": "bug", - "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 - } - } - }, - "6716d719ca36": { - "name": "github.listWorkItems#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "query": "bug", - "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" - } - } - } - }, - "6a6dbfc00478": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "7ef82ed922d5": { - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "89dc1db6a99b": { - "name": "github.listWorkItems#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "query": "bug", - "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 - } - } - } - }, - "8afaa5a6fc54": { - "name": "github.listWorkItems#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "query": "bug", - "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 - } - } - } - }, - "8c718e0472ab": { - "branches": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "9c65a9888b9c": { - "branches": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ], - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "9ca31589d6b9": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "gitlab.listWorkItems" - }, - { - "name": "params", - "value": { - "page": 1, - "perPage": 50, - "query": "bug", - "repo": "id:repo-1", - "state": "opened" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "missing", - "type": "not_found" - }, - "items": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - } - } - } - }, - "9e3a28140ba7": { - "name": "gitlab.listWorkItems#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"state\":\"opened\",\"page\":1,\"perPage\":50,\"query\":\"bug\"}}" - }, - "a39f8c177cd2": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (github.listWorkItems)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aa71e896eae4": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "afb7df66303d": { - "name": "github.listWorkItems#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "b015aaf3a53a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ] - }, - "b4056bfa00e3": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "bb2ecdf1f3da": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "c3fb0edebef4": { - "name": "github.listWorkItems#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "query": "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 - } - } - }, - "c6df6f81c539": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "df9cac7fb20b": { - "name": "linear.searchIssues#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.searchIssues\",\"params\":{\"query\":\"bug\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" - }, - "e5ef401a9fc3": { - "name": "github.listWorkItems#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "query": "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-1", - "ok": false - } - } - }, - "eae99168231b": { - "name": "repo.searchRefs#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "refs": ["main", "release"] - } - } - } - }, - "eb25c8b22cdc": { - "name": "github.listWorkItems#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "query": "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-1", - "ok": false - } - } - }, - "ef18db5bf24a": { - "name": "linear.listIssues#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listIssues\",\"params\":{\"filter\":\"assigned\",\"limit\":50}}" - }, - "f0fd94109299": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "f1d5de4d4483": { - "name": "linear.listIssues#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "assigned", - "limit": 50, - "workspaceId": { - "$rpc": "undefined" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - } - }, - "recording": { - "scenario": "matrix-tasks.smart-source-search-github.listworkitems-1", - "checkpoints": [ - { - "id": "tw-smart-search-all-providers.normal:github-items", - "observation": { - "sender": ["005749a0bd75"], - "payloads": ["2d9caaaffaed"], - "settlements": { - "github": "aa71e896eae4" - }, - "state": "f0fd94109299", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.normal:gitlab-items", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e" - }, - "state": "b4056bfa00e3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.normal:linear-search", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539" - }, - "state": "6a6dbfc00478", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.normal:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "9c65a9888b9c", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.normal:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "4d156675db06", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-absent:github-items", - "observation": { - "sender": ["afb7df66303d"], - "payloads": ["2d9caaaffaed"], - "settlements": { - "github": "a39f8c177cd2" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-absent:gitlab-items", - "observation": { - "sender": ["afb7df66303d", "9ca31589d6b9"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e" - }, - "state": "2a9f7b1ce8f9", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-absent:linear-search", - "observation": { - "sender": ["afb7df66303d", "9ca31589d6b9", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539" - }, - "state": "7ef82ed922d5", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-absent:branch-refs", - "observation": { - "sender": ["afb7df66303d", "9ca31589d6b9", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "8c718e0472ab", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-absent:linear-assigned-listed", - "observation": { - "sender": [ - "afb7df66303d", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "14429cf6ac3e", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-null:github-items", - "observation": { - "sender": ["6716d719ca36"], - "payloads": ["2d9caaaffaed"], - "settlements": { - "github": "a39f8c177cd2" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-null:gitlab-items", - "observation": { - "sender": ["6716d719ca36", "9ca31589d6b9"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e" - }, - "state": "2a9f7b1ce8f9", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-null:linear-search", - "observation": { - "sender": ["6716d719ca36", "9ca31589d6b9", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539" - }, - "state": "7ef82ed922d5", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-null:branch-refs", - "observation": { - "sender": ["6716d719ca36", "9ca31589d6b9", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "8c718e0472ab", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-null:linear-assigned-listed", - "observation": { - "sender": [ - "6716d719ca36", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "14429cf6ac3e", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-ok-missing:github-items", - "observation": { - "sender": ["5c0150354bb2"], - "payloads": ["2d9caaaffaed"], - "settlements": { - "github": "a39f8c177cd2" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-ok-missing:gitlab-items", - "observation": { - "sender": ["5c0150354bb2", "9ca31589d6b9"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e" - }, - "state": "2a9f7b1ce8f9", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-ok-missing:linear-search", - "observation": { - "sender": ["5c0150354bb2", "9ca31589d6b9", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539" - }, - "state": "7ef82ed922d5", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-ok-missing:branch-refs", - "observation": { - "sender": ["5c0150354bb2", "9ca31589d6b9", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "8c718e0472ab", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-ok-missing:linear-assigned-listed", - "observation": { - "sender": [ - "5c0150354bb2", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "14429cf6ac3e", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-string-error:github-items", - "observation": { - "sender": ["8afaa5a6fc54"], - "payloads": ["2d9caaaffaed"], - "settlements": { - "github": "a39f8c177cd2" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-string-error:gitlab-items", - "observation": { - "sender": ["8afaa5a6fc54", "9ca31589d6b9"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e" - }, - "state": "2a9f7b1ce8f9", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-string-error:linear-search", - "observation": { - "sender": ["8afaa5a6fc54", "9ca31589d6b9", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539" - }, - "state": "7ef82ed922d5", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-string-error:branch-refs", - "observation": { - "sender": ["8afaa5a6fc54", "9ca31589d6b9", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "8c718e0472ab", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-string-error:linear-assigned-listed", - "observation": { - "sender": [ - "8afaa5a6fc54", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "14429cf6ac3e", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-object-error:github-items", - "observation": { - "sender": ["89dc1db6a99b"], - "payloads": ["2d9caaaffaed"], - "settlements": { - "github": "a39f8c177cd2" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-object-error:gitlab-items", - "observation": { - "sender": ["89dc1db6a99b", "9ca31589d6b9"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e" - }, - "state": "2a9f7b1ce8f9", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-object-error:linear-search", - "observation": { - "sender": ["89dc1db6a99b", "9ca31589d6b9", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539" - }, - "state": "7ef82ed922d5", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-object-error:branch-refs", - "observation": { - "sender": ["89dc1db6a99b", "9ca31589d6b9", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "8c718e0472ab", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-object-error:linear-assigned-listed", - "observation": { - "sender": [ - "89dc1db6a99b", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "a39f8c177cd2", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "14429cf6ac3e", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused:github-items", - "observation": { - "sender": ["e5ef401a9fc3"], - "payloads": ["2d9caaaffaed"], - "settlements": { - "github": "32a7c0ae7918" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused:gitlab-items", - "observation": { - "sender": ["e5ef401a9fc3", "9ca31589d6b9"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "32a7c0ae7918", - "gitlab": "2868ae2bd70e" - }, - "state": "2a9f7b1ce8f9", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused:linear-search", - "observation": { - "sender": ["e5ef401a9fc3", "9ca31589d6b9", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "32a7c0ae7918", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539" - }, - "state": "7ef82ed922d5", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused:branch-refs", - "observation": { - "sender": ["e5ef401a9fc3", "9ca31589d6b9", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "32a7c0ae7918", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "8c718e0472ab", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused:linear-assigned-listed", - "observation": { - "sender": [ - "e5ef401a9fc3", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "32a7c0ae7918", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "14429cf6ac3e", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused-no-message:github-items", - "observation": { - "sender": ["5e6a0a523ff5"], - "payloads": ["2d9caaaffaed"], - "settlements": { - "github": "f3b516f62081" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused-no-message:gitlab-items", - "observation": { - "sender": ["5e6a0a523ff5", "9ca31589d6b9"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "f3b516f62081", - "gitlab": "2868ae2bd70e" - }, - "state": "2a9f7b1ce8f9", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused-no-message:linear-search", - "observation": { - "sender": ["5e6a0a523ff5", "9ca31589d6b9", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "f3b516f62081", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539" - }, - "state": "7ef82ed922d5", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused-no-message:branch-refs", - "observation": { - "sender": ["5e6a0a523ff5", "9ca31589d6b9", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "f3b516f62081", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "8c718e0472ab", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused-no-message:linear-assigned-listed", - "observation": { - "sender": [ - "5e6a0a523ff5", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "f3b516f62081", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "14429cf6ac3e", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.method-not-found:github-items", - "observation": { - "sender": ["eb25c8b22cdc"], - "payloads": ["2d9caaaffaed"], - "settlements": { - "github": "b948e8307e81" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.method-not-found:gitlab-items", - "observation": { - "sender": ["eb25c8b22cdc", "9ca31589d6b9"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "b948e8307e81", - "gitlab": "2868ae2bd70e" - }, - "state": "2a9f7b1ce8f9", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.method-not-found:linear-search", - "observation": { - "sender": ["eb25c8b22cdc", "9ca31589d6b9", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "b948e8307e81", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539" - }, - "state": "7ef82ed922d5", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.method-not-found:branch-refs", - "observation": { - "sender": ["eb25c8b22cdc", "9ca31589d6b9", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "b948e8307e81", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "8c718e0472ab", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.method-not-found:linear-assigned-listed", - "observation": { - "sender": [ - "eb25c8b22cdc", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "b948e8307e81", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "14429cf6ac3e", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection:github-items", - "observation": { - "sender": ["c3fb0edebef4"], - "payloads": ["2d9caaaffaed"], - "settlements": { - "github": "a947768bc0ed" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection:gitlab-items", - "observation": { - "sender": ["c3fb0edebef4", "9ca31589d6b9"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "a947768bc0ed", - "gitlab": "2868ae2bd70e" - }, - "state": "2a9f7b1ce8f9", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection:linear-search", - "observation": { - "sender": ["c3fb0edebef4", "9ca31589d6b9", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "a947768bc0ed", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539" - }, - "state": "7ef82ed922d5", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection:branch-refs", - "observation": { - "sender": ["c3fb0edebef4", "9ca31589d6b9", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "a947768bc0ed", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "8c718e0472ab", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection:linear-assigned-listed", - "observation": { - "sender": [ - "c3fb0edebef4", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "a947768bc0ed", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "14429cf6ac3e", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection-no-message:github-items", - "observation": { - "sender": ["0e58cb09624b"], - "payloads": ["2d9caaaffaed"], - "settlements": { - "github": "c7584e82c72f" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection-no-message:gitlab-items", - "observation": { - "sender": ["0e58cb09624b", "9ca31589d6b9"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "c7584e82c72f", - "gitlab": "2868ae2bd70e" - }, - "state": "2a9f7b1ce8f9", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection-no-message:linear-search", - "observation": { - "sender": ["0e58cb09624b", "9ca31589d6b9", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "c7584e82c72f", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539" - }, - "state": "7ef82ed922d5", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection-no-message:branch-refs", - "observation": { - "sender": ["0e58cb09624b", "9ca31589d6b9", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "c7584e82c72f", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "8c718e0472ab", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection-no-message:linear-assigned-listed", - "observation": { - "sender": [ - "0e58cb09624b", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "c7584e82c72f", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "14429cf6ac3e", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 891da85abaa..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-gitlab.listworkitems-1.json +++ /dev/null @@ -1,2008 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.smart-source-search", - "family": "tasks.smart-source-search", - "namedDeltas": [], - "values": { - "005749a0bd75": { - "name": "github.listWorkItems#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "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:1", - "labels": [], - "number": 1, - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - } - } - } - }, - "00c8ba6b4417": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (gitlab.listWorkItems)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "017731afa453": { - "name": "repo.searchRefs#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"repo.searchRefs\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"bug\",\"limit\":20}}" - }, - "07b347b9845f": { - "branches": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ], - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "172f547faf02": { - "branches": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ], - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "2868ae2bd70e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "2d9caaaffaed": { - "name": "github.listWorkItems#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"bug\"}}" - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "3b1185e88013": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "gitlab.listWorkItems" - }, - { - "name": "params", - "value": { - "page": 1, - "perPage": 50, - "query": "bug", - "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-2", - "ok": false - } - } - }, - "40d2922bb77c": { - "name": "linear.searchIssues#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "items": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - } - } - } - }, - "4d156675db06": { - "branches": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ], - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "60585a117837": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "gitlab.listWorkItems" - }, - { - "name": "params", - "value": { - "page": 1, - "perPage": 50, - "query": "bug", - "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-2", - "ok": false - } - } - }, - "6a6dbfc00478": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "75501ab17e66": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "gitlab.listWorkItems" - }, - { - "name": "params", - "value": { - "page": 1, - "perPage": 50, - "query": "bug", - "repo": "id:repo-1", - "state": "opened" - } - }, - { - "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 - } - } - } - }, - "7ce8ad5067fc": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "gitlab.listWorkItems" - }, - { - "name": "params", - "value": { - "page": 1, - "perPage": 50, - "query": "bug", - "repo": "id:repo-1", - "state": "opened" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "7e8a3d5e4c6c": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "gitlab.listWorkItems" - }, - { - "name": "params", - "value": { - "page": 1, - "perPage": 50, - "query": "bug", - "repo": "id:repo-1", - "state": "opened" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "966b46a1669b": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "gitlab.listWorkItems" - }, - { - "name": "params", - "value": { - "page": 1, - "perPage": 50, - "query": "bug", - "repo": "id:repo-1", - "state": "opened" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "97a94cc90271": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "gitlab.listWorkItems" - }, - { - "name": "params", - "value": { - "page": 1, - "perPage": 50, - "query": "bug", - "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-2", - "ok": false - } - } - }, - "9c65a9888b9c": { - "branches": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ], - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "9ca31589d6b9": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "gitlab.listWorkItems" - }, - { - "name": "params", - "value": { - "page": 1, - "perPage": 50, - "query": "bug", - "repo": "id:repo-1", - "state": "opened" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "missing", - "type": "not_found" - }, - "items": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - } - } - } - }, - "9e3a28140ba7": { - "name": "gitlab.listWorkItems#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"state\":\"opened\",\"page\":1,\"perPage\":50,\"query\":\"bug\"}}" - }, - "9f369b95afbb": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "gitlab.listWorkItems" - }, - { - "name": "params", - "value": { - "page": 1, - "perPage": 50, - "query": "bug", - "repo": "id:repo-1", - "state": "opened" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aa71e896eae4": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "b015aaf3a53a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ] - }, - "b4056bfa00e3": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "bb2ecdf1f3da": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "c6df6f81c539": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d54bee7e4e42": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "d5902b36fc28": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "gitlab.listWorkItems" - }, - { - "name": "params", - "value": { - "page": 1, - "perPage": 50, - "query": "bug", - "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 - } - } - }, - "df9cac7fb20b": { - "name": "linear.searchIssues#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.searchIssues\",\"params\":{\"query\":\"bug\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" - }, - "eae99168231b": { - "name": "repo.searchRefs#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "refs": ["main", "release"] - } - } - } - }, - "ef18db5bf24a": { - "name": "linear.listIssues#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listIssues\",\"params\":{\"filter\":\"assigned\",\"limit\":50}}" - }, - "f0fd94109299": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "f1d5de4d4483": { - "name": "linear.listIssues#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "assigned", - "limit": 50, - "workspaceId": { - "$rpc": "undefined" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "ff6c222d28a8": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "gitlab.listWorkItems" - }, - { - "name": "params", - "value": { - "page": 1, - "perPage": 50, - "query": "bug", - "repo": "id:repo-1", - "state": "opened" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.smart-source-search-gitlab.listworkitems-1", - "checkpoints": [ - { - "id": "tw-smart-search-all-providers.prelude:github-items", - "observation": { - "sender": ["005749a0bd75"], - "payloads": ["2d9caaaffaed"], - "settlements": { - "github": "aa71e896eae4" - }, - "state": "f0fd94109299", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.normal:gitlab-items", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e" - }, - "state": "b4056bfa00e3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.normal:linear-search", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539" - }, - "state": "6a6dbfc00478", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.normal:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "9c65a9888b9c", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.normal:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "4d156675db06", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-absent:gitlab-items", - "observation": { - "sender": ["005749a0bd75", "ff6c222d28a8"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417" - }, - "state": "f0fd94109299", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-absent:linear-search", - "observation": { - "sender": ["005749a0bd75", "ff6c222d28a8", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417", - "linear": "c6df6f81c539" - }, - "state": "d54bee7e4e42", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-absent:branch-refs", - "observation": { - "sender": ["005749a0bd75", "ff6c222d28a8", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "172f547faf02", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-absent:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "ff6c222d28a8", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "07b347b9845f", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-null:gitlab-items", - "observation": { - "sender": ["005749a0bd75", "7ce8ad5067fc"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417" - }, - "state": "f0fd94109299", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-null:linear-search", - "observation": { - "sender": ["005749a0bd75", "7ce8ad5067fc", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417", - "linear": "c6df6f81c539" - }, - "state": "d54bee7e4e42", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-null:branch-refs", - "observation": { - "sender": ["005749a0bd75", "7ce8ad5067fc", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "172f547faf02", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-null:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "7ce8ad5067fc", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "07b347b9845f", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-ok-missing:gitlab-items", - "observation": { - "sender": ["005749a0bd75", "966b46a1669b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417" - }, - "state": "f0fd94109299", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-ok-missing:linear-search", - "observation": { - "sender": ["005749a0bd75", "966b46a1669b", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417", - "linear": "c6df6f81c539" - }, - "state": "d54bee7e4e42", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-ok-missing:branch-refs", - "observation": { - "sender": ["005749a0bd75", "966b46a1669b", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "172f547faf02", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-ok-missing:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "966b46a1669b", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "07b347b9845f", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-string-error:gitlab-items", - "observation": { - "sender": ["005749a0bd75", "9f369b95afbb"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417" - }, - "state": "f0fd94109299", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-string-error:linear-search", - "observation": { - "sender": ["005749a0bd75", "9f369b95afbb", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417", - "linear": "c6df6f81c539" - }, - "state": "d54bee7e4e42", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-string-error:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9f369b95afbb", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "172f547faf02", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-string-error:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9f369b95afbb", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "07b347b9845f", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-object-error:gitlab-items", - "observation": { - "sender": ["005749a0bd75", "75501ab17e66"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417" - }, - "state": "f0fd94109299", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-object-error:linear-search", - "observation": { - "sender": ["005749a0bd75", "75501ab17e66", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417", - "linear": "c6df6f81c539" - }, - "state": "d54bee7e4e42", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-object-error:branch-refs", - "observation": { - "sender": ["005749a0bd75", "75501ab17e66", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "172f547faf02", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-object-error:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "75501ab17e66", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "00c8ba6b4417", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "07b347b9845f", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused:gitlab-items", - "observation": { - "sender": ["005749a0bd75", "97a94cc90271"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "32a7c0ae7918" - }, - "state": "f0fd94109299", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused:linear-search", - "observation": { - "sender": ["005749a0bd75", "97a94cc90271", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "32a7c0ae7918", - "linear": "c6df6f81c539" - }, - "state": "d54bee7e4e42", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused:branch-refs", - "observation": { - "sender": ["005749a0bd75", "97a94cc90271", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "32a7c0ae7918", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "172f547faf02", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "97a94cc90271", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "32a7c0ae7918", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "07b347b9845f", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused-no-message:gitlab-items", - "observation": { - "sender": ["005749a0bd75", "3b1185e88013"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "f3b516f62081" - }, - "state": "f0fd94109299", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused-no-message:linear-search", - "observation": { - "sender": ["005749a0bd75", "3b1185e88013", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "f3b516f62081", - "linear": "c6df6f81c539" - }, - "state": "d54bee7e4e42", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused-no-message:branch-refs", - "observation": { - "sender": ["005749a0bd75", "3b1185e88013", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "f3b516f62081", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "172f547faf02", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused-no-message:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "3b1185e88013", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "f3b516f62081", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "07b347b9845f", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.method-not-found:gitlab-items", - "observation": { - "sender": ["005749a0bd75", "60585a117837"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "b948e8307e81" - }, - "state": "f0fd94109299", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.method-not-found:linear-search", - "observation": { - "sender": ["005749a0bd75", "60585a117837", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "b948e8307e81", - "linear": "c6df6f81c539" - }, - "state": "d54bee7e4e42", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.method-not-found:branch-refs", - "observation": { - "sender": ["005749a0bd75", "60585a117837", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "b948e8307e81", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "172f547faf02", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.method-not-found:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "60585a117837", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "b948e8307e81", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "07b347b9845f", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection:gitlab-items", - "observation": { - "sender": ["005749a0bd75", "d5902b36fc28"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "a947768bc0ed" - }, - "state": "f0fd94109299", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection:linear-search", - "observation": { - "sender": ["005749a0bd75", "d5902b36fc28", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "a947768bc0ed", - "linear": "c6df6f81c539" - }, - "state": "d54bee7e4e42", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection:branch-refs", - "observation": { - "sender": ["005749a0bd75", "d5902b36fc28", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "a947768bc0ed", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "172f547faf02", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "d5902b36fc28", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "a947768bc0ed", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "07b347b9845f", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection-no-message:gitlab-items", - "observation": { - "sender": ["005749a0bd75", "7e8a3d5e4c6c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "c7584e82c72f" - }, - "state": "f0fd94109299", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection-no-message:linear-search", - "observation": { - "sender": ["005749a0bd75", "7e8a3d5e4c6c", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "c7584e82c72f", - "linear": "c6df6f81c539" - }, - "state": "d54bee7e4e42", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection-no-message:branch-refs", - "observation": { - "sender": ["005749a0bd75", "7e8a3d5e4c6c", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "c7584e82c72f", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "172f547faf02", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection-no-message:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "7e8a3d5e4c6c", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "c7584e82c72f", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "07b347b9845f", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 43d699399f4..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-linear.listissues-1.json +++ /dev/null @@ -1,1448 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.smart-source-search", - "family": "tasks.smart-source-search", - "namedDeltas": [], - "values": { - "005749a0bd75": { - "name": "github.listWorkItems#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "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:1", - "labels": [], - "number": 1, - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - } - } - } - }, - "017731afa453": { - "name": "repo.searchRefs#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"repo.searchRefs\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"bug\",\"limit\":20}}" - }, - "216978499a3f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (linear.listIssues)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "2238dace1c39": { - "name": "linear.listIssues#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "assigned", - "limit": 50, - "workspaceId": { - "$rpc": "undefined" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-5", - "ok": false - } - } - }, - "2868ae2bd70e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "2d9caaaffaed": { - "name": "github.listWorkItems#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"bug\"}}" - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "40d2922bb77c": { - "name": "linear.searchIssues#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "items": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - } - } - } - }, - "4ae002eea800": { - "name": "linear.listIssues#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "assigned", - "limit": 50, - "workspaceId": { - "$rpc": "undefined" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "4d156675db06": { - "branches": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ], - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "5f95109e07b9": { - "name": "linear.listIssues#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "assigned", - "limit": 50, - "workspaceId": { - "$rpc": "undefined" - } - } - }, - { - "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 - } - } - } - }, - "623c81d79962": { - "name": "linear.listIssues#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "assigned", - "limit": 50, - "workspaceId": { - "$rpc": "undefined" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "68c83637164c": { - "name": "linear.listIssues#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "assigned", - "limit": 50, - "workspaceId": { - "$rpc": "undefined" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "6a6dbfc00478": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "7778c67f2d2e": { - "name": "linear.listIssues#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "assigned", - "limit": 50, - "workspaceId": { - "$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-5", - "ok": false - } - } - }, - "97320b400cf5": { - "name": "linear.listIssues#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "assigned", - "limit": 50, - "workspaceId": { - "$rpc": "undefined" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "9c65a9888b9c": { - "branches": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ], - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "9c7143723afe": { - "name": "linear.listIssues#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "assigned", - "limit": 50, - "workspaceId": { - "$rpc": "undefined" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true - } - } - }, - "9ca31589d6b9": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "gitlab.listWorkItems" - }, - { - "name": "params", - "value": { - "page": 1, - "perPage": 50, - "query": "bug", - "repo": "id:repo-1", - "state": "opened" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "missing", - "type": "not_found" - }, - "items": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - } - } - } - }, - "9cfc1bbb7f81": { - "name": "linear.listIssues#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "assigned", - "limit": 50, - "workspaceId": { - "$rpc": "undefined" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "9e3a28140ba7": { - "name": "gitlab.listWorkItems#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"state\":\"opened\",\"page\":1,\"perPage\":50,\"query\":\"bug\"}}" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aa71e896eae4": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "b015aaf3a53a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ] - }, - "b4056bfa00e3": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "bb2ecdf1f3da": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "c6df6f81c539": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d2bdf2c5d932": { - "name": "linear.listIssues#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "assigned", - "limit": 50, - "workspaceId": { - "$rpc": "undefined" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-5", - "ok": false - } - } - }, - "df9cac7fb20b": { - "name": "linear.searchIssues#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.searchIssues\",\"params\":{\"query\":\"bug\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" - }, - "eae99168231b": { - "name": "repo.searchRefs#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "refs": ["main", "release"] - } - } - } - }, - "ef18db5bf24a": { - "name": "linear.listIssues#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listIssues\",\"params\":{\"filter\":\"assigned\",\"limit\":50}}" - }, - "f0fd94109299": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "f1d5de4d4483": { - "name": "linear.listIssues#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "assigned", - "limit": 50, - "workspaceId": { - "$rpc": "undefined" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - } - }, - "recording": { - "scenario": "matrix-tasks.smart-source-search-linear.listissues-1", - "checkpoints": [ - { - "id": "tw-smart-search-all-providers.prelude:github-items", - "observation": { - "sender": ["005749a0bd75"], - "payloads": ["2d9caaaffaed"], - "settlements": { - "github": "aa71e896eae4" - }, - "state": "f0fd94109299", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.prelude:gitlab-items", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e" - }, - "state": "b4056bfa00e3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.prelude:linear-search", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539" - }, - "state": "6a6dbfc00478", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.prelude:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "9c65a9888b9c", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.normal:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "4d156675db06", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-absent:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "9c7143723afe" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "216978499a3f" - }, - "state": "9c65a9888b9c", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-null:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "623c81d79962" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "216978499a3f" - }, - "state": "9c65a9888b9c", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-ok-missing:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "68c83637164c" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "216978499a3f" - }, - "state": "9c65a9888b9c", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-string-error:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "4ae002eea800" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "216978499a3f" - }, - "state": "9c65a9888b9c", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-object-error:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "5f95109e07b9" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "216978499a3f" - }, - "state": "9c65a9888b9c", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "d2bdf2c5d932" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "32a7c0ae7918" - }, - "state": "9c65a9888b9c", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused-no-message:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "2238dace1c39" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "f3b516f62081" - }, - "state": "9c65a9888b9c", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.method-not-found:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "7778c67f2d2e" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "b948e8307e81" - }, - "state": "9c65a9888b9c", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "9cfc1bbb7f81" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "a947768bc0ed" - }, - "state": "9c65a9888b9c", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection-no-message:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "97320b400cf5" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "c7584e82c72f" - }, - "state": "9c65a9888b9c", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 7410f762b25..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-linear.searchissues-1.json +++ /dev/null @@ -1,1762 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.smart-source-search", - "family": "tasks.smart-source-search", - "namedDeltas": [], - "values": { - "005749a0bd75": { - "name": "github.listWorkItems#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "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:1", - "labels": [], - "number": 1, - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - } - } - } - }, - "017731afa453": { - "name": "repo.searchRefs#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"repo.searchRefs\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"bug\",\"limit\":20}}" - }, - "2868ae2bd70e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "2d9caaaffaed": { - "name": "github.listWorkItems#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"bug\"}}" - }, - "31d31e2ff02f": { - "name": "linear.searchIssues#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "3e6d0868ec66": { - "name": "linear.searchIssues#1", - "ordinal": 5, - "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-3", - "ok": false - } - } - }, - "40d2922bb77c": { - "name": "linear.searchIssues#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "items": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - } - } - } - }, - "4d156675db06": { - "branches": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ], - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "5028fbac776a": { - "name": "linear.searchIssues#1", - "ordinal": 5, - "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-3", - "ok": false - } - } - }, - "6a6dbfc00478": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "7757a883e729": { - "name": "linear.searchIssues#1", - "ordinal": 5, - "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 - } - } - }, - "7ede09628f88": { - "name": "linear.searchIssues#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "85b58b07b12a": { - "name": "linear.searchIssues#1", - "ordinal": 5, - "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-3", - "ok": true - } - } - }, - "9c65a9888b9c": { - "branches": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ], - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "9ca31589d6b9": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "gitlab.listWorkItems" - }, - { - "name": "params", - "value": { - "page": 1, - "perPage": 50, - "query": "bug", - "repo": "id:repo-1", - "state": "opened" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "missing", - "type": "not_found" - }, - "items": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - } - } - } - }, - "9e3a28140ba7": { - "name": "gitlab.listWorkItems#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"state\":\"opened\",\"page\":1,\"perPage\":50,\"query\":\"bug\"}}" - }, - "a266a509c048": { - "name": "linear.searchIssues#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aa71e896eae4": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "b015aaf3a53a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ] - }, - "b4056bfa00e3": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "bb2ecdf1f3da": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "bf95741c4070": { - "name": "linear.searchIssues#1", - "ordinal": 5, - "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-3", - "ok": false - } - } - }, - "c6df6f81c539": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d4338d6464ec": { - "name": "linear.searchIssues#1", - "ordinal": 5, - "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 - } - } - }, - "d6bd05073901": { - "branches": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ], - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "d857a531c892": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (linear.searchIssues)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "df9cac7fb20b": { - "name": "linear.searchIssues#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.searchIssues\",\"params\":{\"query\":\"bug\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" - }, - "eae99168231b": { - "name": "repo.searchRefs#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "refs": ["main", "release"] - } - } - } - }, - "ef18db5bf24a": { - "name": "linear.listIssues#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listIssues\",\"params\":{\"filter\":\"assigned\",\"limit\":50}}" - }, - "f0fd94109299": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "f1d5de4d4483": { - "name": "linear.listIssues#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "assigned", - "limit": 50, - "workspaceId": { - "$rpc": "undefined" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "ffab4cf1b659": { - "name": "linear.searchIssues#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.smart-source-search-linear.searchissues-1", - "checkpoints": [ - { - "id": "tw-smart-search-all-providers.prelude:github-items", - "observation": { - "sender": ["005749a0bd75"], - "payloads": ["2d9caaaffaed"], - "settlements": { - "github": "aa71e896eae4" - }, - "state": "f0fd94109299", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.prelude:gitlab-items", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e" - }, - "state": "b4056bfa00e3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.normal:linear-search", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539" - }, - "state": "6a6dbfc00478", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.normal:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "9c65a9888b9c", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.normal:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "4d156675db06", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-absent:linear-search", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "85b58b07b12a"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "d857a531c892" - }, - "state": "b4056bfa00e3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-absent:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "85b58b07b12a", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "d857a531c892", - "branches": "b015aaf3a53a" - }, - "state": "d6bd05073901", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-absent:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "85b58b07b12a", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "d857a531c892", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "4d156675db06", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-null:linear-search", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "ffab4cf1b659"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "d857a531c892" - }, - "state": "b4056bfa00e3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-null:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "ffab4cf1b659", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "d857a531c892", - "branches": "b015aaf3a53a" - }, - "state": "d6bd05073901", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-null:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "ffab4cf1b659", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "d857a531c892", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "4d156675db06", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-ok-missing:linear-search", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "a266a509c048"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "d857a531c892" - }, - "state": "b4056bfa00e3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-ok-missing:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "a266a509c048", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "d857a531c892", - "branches": "b015aaf3a53a" - }, - "state": "d6bd05073901", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-ok-missing:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "a266a509c048", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "d857a531c892", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "4d156675db06", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-string-error:linear-search", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "31d31e2ff02f"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "d857a531c892" - }, - "state": "b4056bfa00e3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-string-error:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "31d31e2ff02f", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "d857a531c892", - "branches": "b015aaf3a53a" - }, - "state": "d6bd05073901", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-string-error:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "31d31e2ff02f", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "d857a531c892", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "4d156675db06", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-object-error:linear-search", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "7ede09628f88"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "d857a531c892" - }, - "state": "b4056bfa00e3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-object-error:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "7ede09628f88", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "d857a531c892", - "branches": "b015aaf3a53a" - }, - "state": "d6bd05073901", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-object-error:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "7ede09628f88", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "d857a531c892", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "4d156675db06", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused:linear-search", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "bf95741c4070"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "32a7c0ae7918" - }, - "state": "b4056bfa00e3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "bf95741c4070", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "32a7c0ae7918", - "branches": "b015aaf3a53a" - }, - "state": "d6bd05073901", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "bf95741c4070", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "32a7c0ae7918", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "4d156675db06", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused-no-message:linear-search", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "3e6d0868ec66"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "f3b516f62081" - }, - "state": "b4056bfa00e3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused-no-message:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "3e6d0868ec66", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "f3b516f62081", - "branches": "b015aaf3a53a" - }, - "state": "d6bd05073901", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused-no-message:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "3e6d0868ec66", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "f3b516f62081", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "4d156675db06", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.method-not-found:linear-search", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "5028fbac776a"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "b948e8307e81" - }, - "state": "b4056bfa00e3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.method-not-found:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "5028fbac776a", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "b948e8307e81", - "branches": "b015aaf3a53a" - }, - "state": "d6bd05073901", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.method-not-found:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "5028fbac776a", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "b948e8307e81", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "4d156675db06", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection:linear-search", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "d4338d6464ec"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "a947768bc0ed" - }, - "state": "b4056bfa00e3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "d4338d6464ec", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "a947768bc0ed", - "branches": "b015aaf3a53a" - }, - "state": "d6bd05073901", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "d4338d6464ec", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "a947768bc0ed", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "4d156675db06", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection-no-message:linear-search", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "7757a883e729"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c7584e82c72f" - }, - "state": "b4056bfa00e3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection-no-message:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "7757a883e729", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c7584e82c72f", - "branches": "b015aaf3a53a" - }, - "state": "d6bd05073901", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection-no-message:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "7757a883e729", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c7584e82c72f", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "4d156675db06", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 2f3ef81da83..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.smart-source-search-repo.searchrefs-1.json +++ /dev/null @@ -1,1754 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.smart-source-search", - "family": "tasks.smart-source-search", - "namedDeltas": [], - "values": { - "005749a0bd75": { - "name": "github.listWorkItems#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "github.listWorkItems" - }, - { - "name": "params", - "value": { - "limit": 36, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "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:1", - "labels": [], - "number": 1, - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - } - } - } - }, - "0102809852e7": { - "name": "repo.searchRefs#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "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 - } - } - }, - "017731afa453": { - "name": "repo.searchRefs#1", - "ordinal": 8, - "json": "{\"id\":\"frame-4\",\"deviceToken\":\"recording-device\",\"method\":\"repo.searchRefs\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"bug\",\"limit\":20}}" - }, - "05e258da6c04": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (repo.searchRefs)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "16ea2a94f677": { - "name": "repo.searchRefs#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "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 - } - } - } - }, - "18310d48d7ce": { - "name": "repo.searchRefs#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "1e3df56bcc7f": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "25716369cd8f": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [] - }, - "2868ae2bd70e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "2d9caaaffaed": { - "name": "github.listWorkItems#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"limit\":36,\"query\":\"bug\"}}" - }, - "320aea4f349e": { - "name": "repo.searchRefs#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "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 - } - }, - "40d2922bb77c": { - "name": "linear.searchIssues#1", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "items": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - } - } - } - }, - "4505b193fcd4": { - "name": "repo.searchRefs#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true - } - } - }, - "475ebb657faa": { - "name": "repo.searchRefs#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-4", - "ok": false - } - } - }, - "4d156675db06": { - "branches": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ], - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "57f937d1bfb0": { - "name": "repo.searchRefs#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "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-4", - "ok": false - } - } - }, - "6a6dbfc00478": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "92ce3b555d91": { - "name": "repo.searchRefs#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "9c65a9888b9c": { - "branches": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ], - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "9ca31589d6b9": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "gitlab.listWorkItems" - }, - { - "name": "params", - "value": { - "page": 1, - "perPage": 50, - "query": "bug", - "repo": "id:repo-1", - "state": "opened" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": { - "message": "missing", - "type": "not_found" - }, - "items": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - } - } - } - }, - "9e3a28140ba7": { - "name": "gitlab.listWorkItems#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"state\":\"opened\",\"page\":1,\"perPage\":50,\"query\":\"bug\"}}" - }, - "a5b2768e50c8": { - "name": "repo.searchRefs#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "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-4", - "ok": false - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aa71e896eae4": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "ab4087446a02": { - "branches": [], - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "b015aaf3a53a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "localBranchName": "main", - "refName": "main" - }, - { - "localBranchName": "release", - "refName": "release" - } - ] - }, - "b4056bfa00e3": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "bb2ecdf1f3da": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "befeead7a0b8": { - "branches": [], - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "gitlab": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:2", - "labels": [], - "number": 2, - "repoId": "repo-1", - "state": "opened", - "title": "two", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ], - "linear": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "c6df6f81c539": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "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 searched issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "df9cac7fb20b": { - "name": "linear.searchIssues#1", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.searchIssues\",\"params\":{\"query\":\"bug\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" - }, - "e42b0aa4e6a3": { - "name": "repo.searchRefs#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "eae99168231b": { - "name": "repo.searchRefs#1", - "ordinal": 7, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "bug", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-4", - "ok": true, - "result": { - "refs": ["main", "release"] - } - } - } - }, - "ef18db5bf24a": { - "name": "linear.listIssues#1", - "ordinal": 10, - "json": "{\"id\":\"frame-5\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listIssues\",\"params\":{\"filter\":\"assigned\",\"limit\":50}}" - }, - "f0fd94109299": { - "github": [ - { - "author": { - "$rpc": "null" - }, - "id": "issue:1", - "labels": [], - "number": 1, - "repoId": "repo-1", - "state": "open", - "title": "one", - "type": "issue", - "updatedAt": "2020-01-01T00:00:00.000Z", - "url": "" - } - ] - }, - "f1d5de4d4483": { - "name": "linear.listIssues#1", - "ordinal": 9, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "assigned", - "limit": 50, - "workspaceId": { - "$rpc": "undefined" - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-5", - "ok": true, - "result": [ - { - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 2, - "state": { - "color": "#111", - "name": "In Progress", - "type": "started" - }, - "team": { - "id": "team-1", - "key": "ENG", - "name": "Engineering" - }, - "title": "An assigned issue", - "updatedAt": "2020-01-02T00:00:00.000Z", - "url": "", - "workspaceId": "linear-workspace" - } - ] - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - } - }, - "recording": { - "scenario": "matrix-tasks.smart-source-search-repo.searchrefs-1", - "checkpoints": [ - { - "id": "tw-smart-search-all-providers.prelude:github-items", - "observation": { - "sender": ["005749a0bd75"], - "payloads": ["2d9caaaffaed"], - "settlements": { - "github": "aa71e896eae4" - }, - "state": "f0fd94109299", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.prelude:gitlab-items", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e" - }, - "state": "b4056bfa00e3", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.prelude:linear-search", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539" - }, - "state": "6a6dbfc00478", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.normal:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c", "eae99168231b"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a" - }, - "state": "9c65a9888b9c", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.normal:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "eae99168231b", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b015aaf3a53a", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "4d156675db06", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-absent:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c", "4505b193fcd4"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "05e258da6c04" - }, - "state": "6a6dbfc00478", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-absent:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "4505b193fcd4", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "05e258da6c04", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "1e3df56bcc7f", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-null:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c", "92ce3b555d91"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "05e258da6c04" - }, - "state": "6a6dbfc00478", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.result-null:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "92ce3b555d91", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "05e258da6c04", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "1e3df56bcc7f", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-ok-missing:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c", "18310d48d7ce"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "25716369cd8f" - }, - "state": "befeead7a0b8", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-ok-missing:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "18310d48d7ce", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "25716369cd8f", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "ab4087446a02", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-string-error:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c", "e42b0aa4e6a3"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "25716369cd8f" - }, - "state": "befeead7a0b8", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-string-error:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "e42b0aa4e6a3", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "25716369cd8f", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "ab4087446a02", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-object-error:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c", "16ea2a94f677"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "25716369cd8f" - }, - "state": "befeead7a0b8", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.inner-false-object-error:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "16ea2a94f677", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "25716369cd8f", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "ab4087446a02", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c", "57f937d1bfb0"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "32a7c0ae7918" - }, - "state": "6a6dbfc00478", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "57f937d1bfb0", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "32a7c0ae7918", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "1e3df56bcc7f", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused-no-message:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c", "475ebb657faa"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "f3b516f62081" - }, - "state": "6a6dbfc00478", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.outer-refused-no-message:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "475ebb657faa", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "f3b516f62081", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "1e3df56bcc7f", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.method-not-found:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c", "a5b2768e50c8"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b948e8307e81" - }, - "state": "6a6dbfc00478", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.method-not-found:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "a5b2768e50c8", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "b948e8307e81", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "1e3df56bcc7f", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c", "0102809852e7"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "a947768bc0ed" - }, - "state": "6a6dbfc00478", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "0102809852e7", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "a947768bc0ed", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "1e3df56bcc7f", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection-no-message:branch-refs", - "observation": { - "sender": ["005749a0bd75", "9ca31589d6b9", "40d2922bb77c", "320aea4f349e"], - "payloads": ["2d9caaaffaed", "9e3a28140ba7", "df9cac7fb20b", "017731afa453"], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "c7584e82c72f" - }, - "state": "6a6dbfc00478", - "effects": [] - } - }, - { - "id": "tw-smart-search-all-providers.transport-rejection-no-message:linear-assigned-listed", - "observation": { - "sender": [ - "005749a0bd75", - "9ca31589d6b9", - "40d2922bb77c", - "320aea4f349e", - "f1d5de4d4483" - ], - "payloads": [ - "2d9caaaffaed", - "9e3a28140ba7", - "df9cac7fb20b", - "017731afa453", - "ef18db5bf24a" - ], - "settlements": { - "github": "aa71e896eae4", - "gitlab": "2868ae2bd70e", - "linear": "c6df6f81c539", - "branches": "c7584e82c72f", - "linear-assigned": "bb2ecdf1f3da" - }, - "state": "1e3df56bcc7f", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 284b8d3b534..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.task-create-github-github.createissue-1.json +++ /dev/null @@ -1,1227 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.task-create-github", - "family": "tasks.task-create-github", - "namedDeltas": [], - "values": { - "0070615b4c8b": { - "name": "github.createIssue#1", - "ordinal": 3, - "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" - } - } - } - }, - "00e89647b38d": { - "name": "reply-salvage", - "ordinal": 5, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "github.createIssue", - "operation": "github.create-issue", - "variant": "github-created-issue" - } - }, - "0561e8e18d29": { - "name": "github.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "0bd409e9a70f": { - "name": "repo.update#1", - "ordinal": 9, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.update\",\"params\":{\"repo\":\"id:repo-1\",\"updates\":{\"issueSourcePreference\":\"upstream\"}}}" - }, - "0fef9dc7845d": { - "name": "createTitle", - "ordinal": 7, - "value": "" - }, - "104bf14d3af8": { - "name": "error", - "ordinal": 8, - "value": "" - }, - "13b1e9c092d4": { - "name": "createBody", - "ordinal": 8, - "value": "" - }, - "15ac40b429ac": { - "composer": true, - "creating": false, - "error": "Failed to create GitHub issue", - "item": { - "$rpc": "null" - } - }, - "1c158a692d14": { - "name": "error", - "ordinal": 7, - "value": "" - }, - "1d2d5aa2a25a": { - "name": "createBody", - "ordinal": 7, - "value": "" - }, - "2f32fea0ebc5": { - "name": "github.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "3416f4f57653": { - "name": "error", - "ordinal": 5, - "value": "The host sent a reply this app could not read (github.createIssue)" - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "4323db1d50f4": { - "name": "repo.update#1", - "ordinal": 11, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.update\",\"params\":{\"repo\":\"id:repo-1\",\"updates\":{\"issueSourcePreference\":\"upstream\"}}}" - }, - "449fcef41ecc": { - "composer": true, - "creating": false, - "error": "outer refused", - "item": { - "$rpc": "null" - } - }, - "492718ae327b": { - "name": "github.createIssue#1", - "ordinal": 3, - "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" - } - } - } - }, - "4e4bdca5791a": { - "name": "github.createIssue#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.createIssue\",\"params\":{\"repo\":\"id:repo-1\",\"title\":\"A new task\",\"body\":\"a body\"}}" - }, - "5294116e0f90": { - "name": "creatingTask", - "ordinal": 1, - "value": 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" - } - }, - "6402264664f2": { - "name": "repo.update#1", - "ordinal": 8, - "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 - } - } - } - }, - "64dde8f4fa85": { - "name": "creatingTask", - "ordinal": 8, - "value": false - }, - "6608b7892446": { - "name": "actionItem", - "ordinal": 5, - "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" - } - }, - "6bb96c7332db": { - "name": "error", - "ordinal": 5, - "value": "transport failure" - }, - "717800570a30": { - "name": "github.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "776607d47471": { - "name": "error", - "ordinal": 5, - "value": "inner refused" - }, - "7c359f4c8be0": { - "name": "repo.update#1", - "ordinal": 10, - "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 - } - } - } - }, - "7db197060e39": { - "composer": true, - "creating": false, - "error": "", - "item": { - "$rpc": "null" - } - }, - "7e7f8b942081": { - "name": "error", - "ordinal": 6, - "value": "Failed to create GitHub issue" - }, - "82b36eab5101": { - "name": "creatingTask", - "ordinal": 6, - "value": false - }, - "8a05070aeca4": { - "name": "github.createIssue#1", - "ordinal": 3, - "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" - } - } - } - }, - "91259ae589b2": { - "name": "error", - "ordinal": 5, - "value": "outer refused" - }, - "91dfb0399568": { - "name": "repo.update#1", - "ordinal": 11, - "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 - } - } - } - }, - "97962ba4c6eb": { - "name": "repo.update#1", - "ordinal": 10, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.update\",\"params\":{\"repo\":\"id:repo-1\",\"updates\":{\"issueSourcePreference\":\"upstream\"}}}" - }, - "a0dc5663c500": { - "name": "repo.update#1", - "ordinal": 12, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.update\",\"params\":{\"repo\":\"id:repo-1\",\"updates\":{\"issueSourcePreference\":\"upstream\"}}}" - }, - "a78fb832e24a": { - "name": "repo.update#1", - "ordinal": 9, - "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 - } - } - } - }, - "a7bb4a381865": { - "name": "github.createIssue#1", - "ordinal": 3, - "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 - } - } - } - }, - "ac46e56e89fe": { - "name": "error", - "ordinal": 5, - "value": "Unknown method" - }, - "b1504689c2b3": { - "name": "creatingTask", - "ordinal": 9, - "value": false - }, - "b81e7825fd6a": { - "name": "github.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "c140f66eca23": { - "composer": true, - "creating": false, - "error": "transport failure", - "item": { - "$rpc": "null" - } - }, - "d18a0f3313c0": { - "name": "github.createIssue#1", - "ordinal": 3, - "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 - } - } - } - }, - "d24a112e43bf": { - "composer": true, - "creating": false, - "error": "Unknown method", - "item": { - "$rpc": "null" - } - }, - "d38db36bed47": { - "name": "github.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "db76a9e95cfd": { - "name": "showCreateTask", - "ordinal": 5, - "value": false - }, - "df5721b34b16": { - "composer": false, - "creating": false, - "error": "", - "item": { - "$rpc": "null" - } - }, - "e492cb3deb38": { - "name": "error", - "ordinal": 9, - "value": "" - }, - "e9a162defc32": { - "name": "creatingTask", - "ordinal": 7, - "value": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ec8fc2e38665": { - "name": "github.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "ed3a7d6bc894": { - "name": "error", - "ordinal": 2, - "value": "" - }, - "f397484ff069": { - "name": "createTitle", - "ordinal": 6, - "value": "" - }, - "f426f954cfa6": { - "composer": true, - "creating": false, - "error": "The host sent a reply this app could not read (github.createIssue)", - "item": { - "$rpc": "null" - } - }, - "f8df20507017": { - "name": "error", - "ordinal": 5, - "value": "" - }, - "fa467ac4ab12": { - "name": "showCreateTask", - "ordinal": 6, - "value": false - }, - "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": ["8a05070aeca4"], - "payloads": ["4e4bdca5791a"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "5ab5b62983be", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6608b7892446", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3" - ] - } - }, - { - "id": "tk-create-github.normal:issue-source-settled", - "observation": { - "sender": ["8a05070aeca4", "91dfb0399568"], - "payloads": ["4e4bdca5791a", "a0dc5663c500"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "5ab5b62983be", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6608b7892446", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3", - "3aefb3006914" - ] - } - }, - { - "id": "tk-create-github.result-absent:create-settled", - "observation": { - "sender": ["b81e7825fd6a"], - "payloads": ["4e4bdca5791a"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "f426f954cfa6", - "effects": ["5294116e0f90", "ed3a7d6bc894", "3416f4f57653", "82b36eab5101"] - } - }, - { - "id": "tk-create-github.result-absent:issue-source-settled", - "observation": { - "sender": ["b81e7825fd6a", "6402264664f2"], - "payloads": ["4e4bdca5791a", "0bd409e9a70f"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "7db197060e39", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "3416f4f57653", - "82b36eab5101", - "1c158a692d14" - ] - } - }, - { - "id": "tk-create-github.result-null:create-settled", - "observation": { - "sender": ["492718ae327b"], - "payloads": ["4e4bdca5791a"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "f426f954cfa6", - "effects": ["5294116e0f90", "ed3a7d6bc894", "3416f4f57653", "82b36eab5101"] - } - }, - { - "id": "tk-create-github.result-null:issue-source-settled", - "observation": { - "sender": ["492718ae327b", "6402264664f2"], - "payloads": ["4e4bdca5791a", "0bd409e9a70f"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "7db197060e39", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "3416f4f57653", - "82b36eab5101", - "1c158a692d14" - ] - } - }, - { - "id": "tk-create-github.inner-ok-missing:create-settled", - "observation": { - "sender": ["0070615b4c8b"], - "payloads": ["4e4bdca5791a"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "df5721b34b16", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "db76a9e95cfd", - "f397484ff069", - "1d2d5aa2a25a", - "64dde8f4fa85" - ] - } - }, - { - "id": "tk-create-github.inner-ok-missing:issue-source-settled", - "observation": { - "sender": ["0070615b4c8b", "7c359f4c8be0"], - "payloads": ["4e4bdca5791a", "4323db1d50f4"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "df5721b34b16", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "db76a9e95cfd", - "f397484ff069", - "1d2d5aa2a25a", - "64dde8f4fa85", - "e492cb3deb38" - ] - } - }, - { - "id": "tk-create-github.inner-false-string-error:create-settled", - "observation": { - "sender": ["d18a0f3313c0"], - "payloads": ["4e4bdca5791a"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "fdd487d7c0f5", - "effects": ["5294116e0f90", "ed3a7d6bc894", "776607d47471", "82b36eab5101"] - } - }, - { - "id": "tk-create-github.inner-false-string-error:issue-source-settled", - "observation": { - "sender": ["d18a0f3313c0", "6402264664f2"], - "payloads": ["4e4bdca5791a", "0bd409e9a70f"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "7db197060e39", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "776607d47471", - "82b36eab5101", - "1c158a692d14" - ] - } - }, - { - "id": "tk-create-github.inner-false-object-error:create-settled", - "observation": { - "sender": ["a7bb4a381865"], - "payloads": ["4e4bdca5791a"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "15ac40b429ac", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "00e89647b38d", - "7e7f8b942081", - "e9a162defc32" - ] - } - }, - { - "id": "tk-create-github.inner-false-object-error:issue-source-settled", - "observation": { - "sender": ["a7bb4a381865", "a78fb832e24a"], - "payloads": ["4e4bdca5791a", "97962ba4c6eb"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "7db197060e39", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "00e89647b38d", - "7e7f8b942081", - "e9a162defc32", - "104bf14d3af8" - ] - } - }, - { - "id": "tk-create-github.outer-refused:create-settled", - "observation": { - "sender": ["ec8fc2e38665"], - "payloads": ["4e4bdca5791a"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "449fcef41ecc", - "effects": ["5294116e0f90", "ed3a7d6bc894", "91259ae589b2", "82b36eab5101"] - } - }, - { - "id": "tk-create-github.outer-refused:issue-source-settled", - "observation": { - "sender": ["ec8fc2e38665", "6402264664f2"], - "payloads": ["4e4bdca5791a", "0bd409e9a70f"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "7db197060e39", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "91259ae589b2", - "82b36eab5101", - "1c158a692d14" - ] - } - }, - { - "id": "tk-create-github.outer-refused-no-message:create-settled", - "observation": { - "sender": ["0561e8e18d29"], - "payloads": ["4e4bdca5791a"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "7db197060e39", - "effects": ["5294116e0f90", "ed3a7d6bc894", "f8df20507017", "82b36eab5101"] - } - }, - { - "id": "tk-create-github.outer-refused-no-message:issue-source-settled", - "observation": { - "sender": ["0561e8e18d29", "6402264664f2"], - "payloads": ["4e4bdca5791a", "0bd409e9a70f"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "7db197060e39", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "f8df20507017", - "82b36eab5101", - "1c158a692d14" - ] - } - }, - { - "id": "tk-create-github.method-not-found:create-settled", - "observation": { - "sender": ["717800570a30"], - "payloads": ["4e4bdca5791a"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "d24a112e43bf", - "effects": ["5294116e0f90", "ed3a7d6bc894", "ac46e56e89fe", "82b36eab5101"] - } - }, - { - "id": "tk-create-github.method-not-found:issue-source-settled", - "observation": { - "sender": ["717800570a30", "6402264664f2"], - "payloads": ["4e4bdca5791a", "0bd409e9a70f"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "7db197060e39", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "ac46e56e89fe", - "82b36eab5101", - "1c158a692d14" - ] - } - }, - { - "id": "tk-create-github.transport-rejection:create-settled", - "observation": { - "sender": ["d38db36bed47"], - "payloads": ["4e4bdca5791a"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "c140f66eca23", - "effects": ["5294116e0f90", "ed3a7d6bc894", "6bb96c7332db", "82b36eab5101"] - } - }, - { - "id": "tk-create-github.transport-rejection:issue-source-settled", - "observation": { - "sender": ["d38db36bed47", "6402264664f2"], - "payloads": ["4e4bdca5791a", "0bd409e9a70f"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "7db197060e39", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6bb96c7332db", - "82b36eab5101", - "1c158a692d14" - ] - } - }, - { - "id": "tk-create-github.transport-rejection-no-message:create-settled", - "observation": { - "sender": ["2f32fea0ebc5"], - "payloads": ["4e4bdca5791a"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "7db197060e39", - "effects": ["5294116e0f90", "ed3a7d6bc894", "f8df20507017", "82b36eab5101"] - } - }, - { - "id": "tk-create-github.transport-rejection-no-message:issue-source-settled", - "observation": { - "sender": ["2f32fea0ebc5", "6402264664f2"], - "payloads": ["4e4bdca5791a", "0bd409e9a70f"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "7db197060e39", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "f8df20507017", - "82b36eab5101", - "1c158a692d14" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 021b99c03b3..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.task-create-github-repo.update-1.json +++ /dev/null @@ -1,1013 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.task-create-github", - "family": "tasks.task-create-github", - "namedDeltas": [], - "values": { - "0fef9dc7845d": { - "name": "createTitle", - "ordinal": 7, - "value": "" - }, - "13b1e9c092d4": { - "name": "createBody", - "ordinal": 8, - "value": "" - }, - "23f4f6c22d1f": { - "name": "repo.update#1", - "ordinal": 11, - "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 - } - } - } - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "403167a7cddd": { - "name": "repo.update#1", - "ordinal": 11, - "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 - } - } - }, - "41f56c403e52": { - "name": "repo.update#1", - "ordinal": 11, - "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 - } - } - }, - "4e4bdca5791a": { - "name": "github.createIssue#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"github.createIssue\",\"params\":{\"repo\":\"id:repo-1\",\"title\":\"A new task\",\"body\":\"a body\"}}" - }, - "5294116e0f90": { - "name": "creatingTask", - "ordinal": 1, - "value": 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" - } - }, - "6608b7892446": { - "name": "actionItem", - "ordinal": 5, - "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" - } - }, - "7560584e376a": { - "name": "error", - "ordinal": 13, - "value": "Connection closed" - }, - "8a05070aeca4": { - "name": "github.createIssue#1", - "ordinal": 3, - "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" - } - } - } - }, - "91dfb0399568": { - "name": "repo.update#1", - "ordinal": 11, - "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 - } - } - } - }, - "955922e0bd73": { - "name": "repo.update#1", - "ordinal": 11, - "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 - } - } - }, - "9801ed51fc62": { - "name": "error", - "ordinal": 13, - "value": "" - }, - "9bbd0ce5ed3e": { - "name": "error", - "ordinal": 13, - "value": "outer refused" - }, - "a0dc5663c500": { - "name": "repo.update#1", - "ordinal": 12, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.update\",\"params\":{\"repo\":\"id:repo-1\",\"updates\":{\"issueSourcePreference\":\"upstream\"}}}" - }, - "a5c36697261b": { - "name": "repo.update#1", - "ordinal": 11, - "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 - } - } - }, - "b1504689c2b3": { - "name": "creatingTask", - "ordinal": 9, - "value": false - }, - "b6bea8a8f9cc": { - "name": "repo.update#1", - "ordinal": 11, - "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 - } - } - }, - "bc2674216199": { - "name": "repo.update#1", - "ordinal": 11, - "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 - } - } - } - }, - "c60a2089fecc": { - "name": "repo.update#1", - "ordinal": 11, - "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 - } - } - }, - "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" - } - }, - "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" - } - }, - "de4b750ac01e": { - "name": "error", - "ordinal": 13, - "value": "transport failure" - }, - "e3fce12f6fe6": { - "name": "repo.update#1", - "ordinal": 11, - "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" - } - } - } - }, - "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" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ed3a7d6bc894": { - "name": "error", - "ordinal": 2, - "value": "" - }, - "f8db57a1ef4e": { - "name": "repo.update#1", - "ordinal": 11, - "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" - } - } - } - }, - "fa467ac4ab12": { - "name": "showCreateTask", - "ordinal": 6, - "value": false - }, - "fd258b3be708": { - "name": "repo.update#1", - "ordinal": 11, - "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 - } - } - }, - "feccf8d2ccba": { - "name": "error", - "ordinal": 13, - "value": "Unknown method" - } - }, - "recording": { - "scenario": "matrix-tasks.task-create-github-repo.update-1", - "checkpoints": [ - { - "id": "tk-create-github.prelude:create-settled", - "observation": { - "sender": ["8a05070aeca4"], - "payloads": ["4e4bdca5791a"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "5ab5b62983be", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6608b7892446", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3" - ] - } - }, - { - "id": "tk-create-github.prelude:cleanup", - "observation": { - "sender": ["8a05070aeca4", "a5c36697261b"], - "payloads": ["4e4bdca5791a", "a0dc5663c500"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "5ab5b62983be", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6608b7892446", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3", - "3aefb3006914", - "7560584e376a" - ] - } - }, - { - "id": "tk-create-github.normal:issue-source-settled", - "observation": { - "sender": ["8a05070aeca4", "91dfb0399568"], - "payloads": ["4e4bdca5791a", "a0dc5663c500"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "5ab5b62983be", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6608b7892446", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3", - "3aefb3006914" - ] - } - }, - { - "id": "tk-create-github.result-absent:issue-source-settled", - "observation": { - "sender": ["8a05070aeca4", "b6bea8a8f9cc"], - "payloads": ["4e4bdca5791a", "a0dc5663c500"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "5ab5b62983be", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6608b7892446", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3", - "3aefb3006914" - ] - } - }, - { - "id": "tk-create-github.result-null:issue-source-settled", - "observation": { - "sender": ["8a05070aeca4", "f8db57a1ef4e"], - "payloads": ["4e4bdca5791a", "a0dc5663c500"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "5ab5b62983be", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6608b7892446", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3", - "3aefb3006914" - ] - } - }, - { - "id": "tk-create-github.inner-ok-missing:issue-source-settled", - "observation": { - "sender": ["8a05070aeca4", "e3fce12f6fe6"], - "payloads": ["4e4bdca5791a", "a0dc5663c500"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "5ab5b62983be", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6608b7892446", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3", - "3aefb3006914" - ] - } - }, - { - "id": "tk-create-github.inner-false-string-error:issue-source-settled", - "observation": { - "sender": ["8a05070aeca4", "bc2674216199"], - "payloads": ["4e4bdca5791a", "a0dc5663c500"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "5ab5b62983be", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6608b7892446", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3", - "3aefb3006914" - ] - } - }, - { - "id": "tk-create-github.inner-false-object-error:issue-source-settled", - "observation": { - "sender": ["8a05070aeca4", "23f4f6c22d1f"], - "payloads": ["4e4bdca5791a", "a0dc5663c500"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "5ab5b62983be", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6608b7892446", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3", - "3aefb3006914" - ] - } - }, - { - "id": "tk-create-github.outer-refused:issue-source-settled", - "observation": { - "sender": ["8a05070aeca4", "41f56c403e52"], - "payloads": ["4e4bdca5791a", "a0dc5663c500"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "c7d97f6f2602", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6608b7892446", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3", - "3aefb3006914", - "9bbd0ce5ed3e" - ] - } - }, - { - "id": "tk-create-github.outer-refused-no-message:issue-source-settled", - "observation": { - "sender": ["8a05070aeca4", "c60a2089fecc"], - "payloads": ["4e4bdca5791a", "a0dc5663c500"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "5ab5b62983be", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6608b7892446", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3", - "3aefb3006914", - "9801ed51fc62" - ] - } - }, - { - "id": "tk-create-github.method-not-found:issue-source-settled", - "observation": { - "sender": ["8a05070aeca4", "955922e0bd73"], - "payloads": ["4e4bdca5791a", "a0dc5663c500"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "e590ae2d0a40", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6608b7892446", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3", - "3aefb3006914", - "feccf8d2ccba" - ] - } - }, - { - "id": "tk-create-github.transport-rejection:issue-source-settled", - "observation": { - "sender": ["8a05070aeca4", "403167a7cddd"], - "payloads": ["4e4bdca5791a", "a0dc5663c500"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "d98907f962cc", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6608b7892446", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3", - "3aefb3006914", - "de4b750ac01e" - ] - } - }, - { - "id": "tk-create-github.transport-rejection-no-message:issue-source-settled", - "observation": { - "sender": ["8a05070aeca4", "fd258b3be708"], - "payloads": ["4e4bdca5791a", "a0dc5663c500"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a", - "issue-source-1": "eb79a9b3682a" - }, - "state": "5ab5b62983be", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "6608b7892446", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3", - "3aefb3006914", - "9801ed51fc62" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 5a2d1ed0fec..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.task-create-gitlab-gitlab.createissue-1.json +++ /dev/null @@ -1,813 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.task-create-gitlab", - "family": "tasks.task-create-gitlab", - "namedDeltas": [], - "values": { - "0a0e271f6e55": { - "composer": true, - "creating": false, - "error": "Failed to create GitLab issue", - "item": { - "$rpc": "null" - } - }, - "0fef9dc7845d": { - "name": "createTitle", - "ordinal": 7, - "value": "" - }, - "126e449d75ac": { - "name": "gitlab.createIssue#1", - "ordinal": 3, - "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 - } - } - } - }, - "13b1e9c092d4": { - "name": "createBody", - "ordinal": 8, - "value": "" - }, - "1d2d5aa2a25a": { - "name": "createBody", - "ordinal": 7, - "value": "" - }, - "1d94ec84a8e0": { - "name": "gitlab.createIssue#1", - "ordinal": 3, - "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" - } - } - } - }, - "2452c7c34695": { - "name": "gitlab.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "2b5235cc87a9": { - "name": "actionItem", - "ordinal": 5, - "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" - } - }, - "449fcef41ecc": { - "composer": true, - "creating": false, - "error": "outer refused", - "item": { - "$rpc": "null" - } - }, - "51e333f53f1c": { - "name": "reply-salvage", - "ordinal": 5, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "gitlab.createIssue", - "operation": "gitlab.create-issue", - "variant": "gitlab-created-issue" - } - }, - "5294116e0f90": { - "name": "creatingTask", - "ordinal": 1, - "value": true - }, - "556994c67572": { - "name": "gitlab.createIssue#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.createIssue\",\"params\":{\"repo\":\"id:repo-1\",\"title\":\"A new task\",\"body\":\"a body\"}}" - }, - "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" - } - }, - "64dde8f4fa85": { - "name": "creatingTask", - "ordinal": 8, - "value": false - }, - "6bb96c7332db": { - "name": "error", - "ordinal": 5, - "value": "transport failure" - }, - "6f8e4f1c54c8": { - "name": "gitlab.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "713a981190a1": { - "composer": true, - "creating": false, - "error": "The host sent a reply this app could not read (gitlab.createIssue)", - "item": { - "$rpc": "null" - } - }, - "776607d47471": { - "name": "error", - "ordinal": 5, - "value": "inner refused" - }, - "7901eb820f54": { - "name": "gitlab.createIssue#1", - "ordinal": 3, - "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 - } - } - } - }, - "7db197060e39": { - "composer": true, - "creating": false, - "error": "", - "item": { - "$rpc": "null" - } - }, - "82b36eab5101": { - "name": "creatingTask", - "ordinal": 6, - "value": false - }, - "859037c757b9": { - "name": "gitlab.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "8b5e52fefec5": { - "name": "error", - "ordinal": 5, - "value": "The host sent a reply this app could not read (gitlab.createIssue)" - }, - "91259ae589b2": { - "name": "error", - "ordinal": 5, - "value": "outer refused" - }, - "9814325fd49a": { - "name": "gitlab.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "ac13fff3e6e2": { - "name": "gitlab.createIssue#1", - "ordinal": 3, - "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" - } - } - } - }, - "ac46e56e89fe": { - "name": "error", - "ordinal": 5, - "value": "Unknown method" - }, - "b1504689c2b3": { - "name": "creatingTask", - "ordinal": 9, - "value": false - }, - "c140f66eca23": { - "composer": true, - "creating": false, - "error": "transport failure", - "item": { - "$rpc": "null" - } - }, - "cc3c569abdd3": { - "name": "gitlab.createIssue#1", - "ordinal": 3, - "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" - } - } - } - }, - "d24a112e43bf": { - "composer": true, - "creating": false, - "error": "Unknown method", - "item": { - "$rpc": "null" - } - }, - "d810bfa31571": { - "name": "gitlab.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "db76a9e95cfd": { - "name": "showCreateTask", - "ordinal": 5, - "value": false - }, - "df5721b34b16": { - "composer": false, - "creating": false, - "error": "", - "item": { - "$rpc": "null" - } - }, - "e9a162defc32": { - "name": "creatingTask", - "ordinal": 7, - "value": false - }, - "ea5b0cd18ee3": { - "name": "error", - "ordinal": 6, - "value": "Failed to create GitLab issue" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ed3a7d6bc894": { - "name": "error", - "ordinal": 2, - "value": "" - }, - "f397484ff069": { - "name": "createTitle", - "ordinal": 6, - "value": "" - }, - "f8df20507017": { - "name": "error", - "ordinal": 5, - "value": "" - }, - "fa467ac4ab12": { - "name": "showCreateTask", - "ordinal": 6, - "value": false - }, - "fdd487d7c0f5": { - "composer": true, - "creating": false, - "error": "inner refused", - "item": { - "$rpc": "null" - } - }, - "ff2165767a41": { - "name": "gitlab.createIssue#1", - "ordinal": 3, - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.task-create-gitlab-gitlab.createissue-1", - "checkpoints": [ - { - "id": "tk-create-gitlab.normal:create-settled", - "observation": { - "sender": ["ac13fff3e6e2"], - "payloads": ["556994c67572"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "580f3724d37b", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "2b5235cc87a9", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3" - ] - } - }, - { - "id": "tk-create-gitlab.result-absent:create-settled", - "observation": { - "sender": ["d810bfa31571"], - "payloads": ["556994c67572"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "713a981190a1", - "effects": ["5294116e0f90", "ed3a7d6bc894", "8b5e52fefec5", "82b36eab5101"] - } - }, - { - "id": "tk-create-gitlab.result-null:create-settled", - "observation": { - "sender": ["1d94ec84a8e0"], - "payloads": ["556994c67572"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "713a981190a1", - "effects": ["5294116e0f90", "ed3a7d6bc894", "8b5e52fefec5", "82b36eab5101"] - } - }, - { - "id": "tk-create-gitlab.inner-ok-missing:create-settled", - "observation": { - "sender": ["cc3c569abdd3"], - "payloads": ["556994c67572"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "df5721b34b16", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "db76a9e95cfd", - "f397484ff069", - "1d2d5aa2a25a", - "64dde8f4fa85" - ] - } - }, - { - "id": "tk-create-gitlab.inner-false-string-error:create-settled", - "observation": { - "sender": ["7901eb820f54"], - "payloads": ["556994c67572"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "fdd487d7c0f5", - "effects": ["5294116e0f90", "ed3a7d6bc894", "776607d47471", "82b36eab5101"] - } - }, - { - "id": "tk-create-gitlab.inner-false-object-error:create-settled", - "observation": { - "sender": ["126e449d75ac"], - "payloads": ["556994c67572"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "0a0e271f6e55", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "51e333f53f1c", - "ea5b0cd18ee3", - "e9a162defc32" - ] - } - }, - { - "id": "tk-create-gitlab.outer-refused:create-settled", - "observation": { - "sender": ["6f8e4f1c54c8"], - "payloads": ["556994c67572"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "449fcef41ecc", - "effects": ["5294116e0f90", "ed3a7d6bc894", "91259ae589b2", "82b36eab5101"] - } - }, - { - "id": "tk-create-gitlab.outer-refused-no-message:create-settled", - "observation": { - "sender": ["2452c7c34695"], - "payloads": ["556994c67572"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "7db197060e39", - "effects": ["5294116e0f90", "ed3a7d6bc894", "f8df20507017", "82b36eab5101"] - } - }, - { - "id": "tk-create-gitlab.method-not-found:create-settled", - "observation": { - "sender": ["859037c757b9"], - "payloads": ["556994c67572"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "d24a112e43bf", - "effects": ["5294116e0f90", "ed3a7d6bc894", "ac46e56e89fe", "82b36eab5101"] - } - }, - { - "id": "tk-create-gitlab.transport-rejection:create-settled", - "observation": { - "sender": ["9814325fd49a"], - "payloads": ["556994c67572"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "c140f66eca23", - "effects": ["5294116e0f90", "ed3a7d6bc894", "6bb96c7332db", "82b36eab5101"] - } - }, - { - "id": "tk-create-gitlab.transport-rejection-no-message:create-settled", - "observation": { - "sender": ["ff2165767a41"], - "payloads": ["556994c67572"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "7db197060e39", - "effects": ["5294116e0f90", "ed3a7d6bc894", "f8df20507017", "82b36eab5101"] - } - } - ] - } -} 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 deleted file mode 100644 index aa6fe23a86a..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.task-create-linear-linear.createissue-1.json +++ /dev/null @@ -1,818 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.task-create-linear", - "family": "tasks.task-create-linear", - "namedDeltas": [], - "values": { - "0fef9dc7845d": { - "name": "createTitle", - "ordinal": 7, - "value": "" - }, - "13b1e9c092d4": { - "name": "createBody", - "ordinal": 8, - "value": "" - }, - "15984a10afe8": { - "name": "linear.createIssue#1", - "ordinal": 3, - "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" - } - } - } - }, - "233381f915af": { - "composer": true, - "creating": false, - "error": "refused", - "item": { - "$rpc": "null" - } - }, - "29d4d3d3640c": { - "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": "#3276f2", - "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" - } - }, - "30d39651f586": { - "name": "reply-salvage", - "ordinal": 5, - "value": { - "droppedCount": 1, - "droppedPaths": ["error"], - "method": "linear.createIssue", - "operation": "linear.create-issue", - "variant": "linear-created-issue" - } - }, - "34beeae20de2": { - "name": "linear.createIssue#1", - "ordinal": 3, - "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" - } - } - } - }, - "3c76066eb236": { - "name": "linear.createIssue#1", - "ordinal": 3, - "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": "" - } - } - } - }, - "449fcef41ecc": { - "composer": true, - "creating": false, - "error": "outer refused", - "item": { - "$rpc": "null" - } - }, - "5294116e0f90": { - "name": "creatingTask", - "ordinal": 1, - "value": true - }, - "54f14c01a5e1": { - "composer": true, - "creating": false, - "error": "Failed to create Linear issue", - "item": { - "$rpc": "null" - } - }, - "569f09937c17": { - "name": "linear.createIssue#1", - "ordinal": 3, - "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 - } - } - } - }, - "58d5e47807d7": { - "name": "linear.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "5c6dab9499b0": { - "name": "error", - "ordinal": 5, - "value": "The host sent a reply this app could not read (linear.createIssue)" - }, - "5ca21ce0a8bd": { - "name": "error", - "ordinal": 5, - "value": "refused" - }, - "67649a39eef0": { - "name": "linear.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "69a1459381a5": { - "name": "linear.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "6a6ddba57b66": { - "name": "linear.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "6bb96c7332db": { - "name": "error", - "ordinal": 5, - "value": "transport failure" - }, - "776607d47471": { - "name": "error", - "ordinal": 5, - "value": "inner refused" - }, - "7db197060e39": { - "composer": true, - "creating": false, - "error": "", - "item": { - "$rpc": "null" - } - }, - "82b36eab5101": { - "name": "creatingTask", - "ordinal": 6, - "value": false - }, - "91259ae589b2": { - "name": "error", - "ordinal": 5, - "value": "outer refused" - }, - "978112708adf": { - "name": "linear.createIssue#1", - "ordinal": 3, - "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 - } - } - }, - "ac46e56e89fe": { - "name": "error", - "ordinal": 5, - "value": "Unknown method" - }, - "ad2d22e4895f": { - "name": "error", - "ordinal": 6, - "value": "Failed to create Linear issue" - }, - "b1504689c2b3": { - "name": "creatingTask", - "ordinal": 9, - "value": false - }, - "c11e0b43f745": { - "name": "linear.createIssue#1", - "ordinal": 3, - "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 - } - } - } - }, - "c140f66eca23": { - "composer": true, - "creating": false, - "error": "transport failure", - "item": { - "$rpc": "null" - } - }, - "ce67fb8d9d58": { - "name": "linear.createIssue#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.createIssue\",\"params\":{\"teamId\":\"team-1\",\"title\":\"A new task\",\"description\":\"a body\",\"workspaceId\":\"linear-workspace\"}}" - }, - "d24a112e43bf": { - "composer": true, - "creating": false, - "error": "Unknown method", - "item": { - "$rpc": "null" - } - }, - "e20c41f15d23": { - "name": "actionItem", - "ordinal": 5, - "value": { - "key": "linear:linear-workspace:issue-3", - "provider": "linear", - "source": { - "description": "a body", - "id": "issue-3", - "identifier": "ENG-3", - "labels": [], - "priority": 0, - "state": { - "color": "#3276f2", - "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" - } - }, - "e92e2340bb29": { - "composer": true, - "creating": false, - "error": "The host sent a reply this app could not read (linear.createIssue)", - "item": { - "$rpc": "null" - } - }, - "e9a162defc32": { - "name": "creatingTask", - "ordinal": 7, - "value": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ed3a7d6bc894": { - "name": "error", - "ordinal": 2, - "value": "" - }, - "f8df20507017": { - "name": "error", - "ordinal": 5, - "value": "" - }, - "fa467ac4ab12": { - "name": "showCreateTask", - "ordinal": 6, - "value": false - }, - "fdd487d7c0f5": { - "composer": true, - "creating": false, - "error": "inner refused", - "item": { - "$rpc": "null" - } - }, - "fe195bb4412e": { - "name": "linear.createIssue#1", - "ordinal": 3, - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.task-create-linear-linear.createissue-1", - "checkpoints": [ - { - "id": "tk-create-linear.normal:create-settled", - "observation": { - "sender": ["3c76066eb236"], - "payloads": ["ce67fb8d9d58"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "29d4d3d3640c", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "e20c41f15d23", - "fa467ac4ab12", - "0fef9dc7845d", - "13b1e9c092d4", - "b1504689c2b3" - ] - } - }, - { - "id": "tk-create-linear.result-absent:create-settled", - "observation": { - "sender": ["fe195bb4412e"], - "payloads": ["ce67fb8d9d58"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "e92e2340bb29", - "effects": ["5294116e0f90", "ed3a7d6bc894", "5c6dab9499b0", "82b36eab5101"] - } - }, - { - "id": "tk-create-linear.result-null:create-settled", - "observation": { - "sender": ["34beeae20de2"], - "payloads": ["ce67fb8d9d58"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "e92e2340bb29", - "effects": ["5294116e0f90", "ed3a7d6bc894", "5c6dab9499b0", "82b36eab5101"] - } - }, - { - "id": "tk-create-linear.inner-ok-missing:create-settled", - "observation": { - "sender": ["15984a10afe8"], - "payloads": ["ce67fb8d9d58"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "233381f915af", - "effects": ["5294116e0f90", "ed3a7d6bc894", "5ca21ce0a8bd", "82b36eab5101"] - } - }, - { - "id": "tk-create-linear.inner-false-string-error:create-settled", - "observation": { - "sender": ["569f09937c17"], - "payloads": ["ce67fb8d9d58"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "fdd487d7c0f5", - "effects": ["5294116e0f90", "ed3a7d6bc894", "776607d47471", "82b36eab5101"] - } - }, - { - "id": "tk-create-linear.inner-false-object-error:create-settled", - "observation": { - "sender": ["c11e0b43f745"], - "payloads": ["ce67fb8d9d58"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "54f14c01a5e1", - "effects": [ - "5294116e0f90", - "ed3a7d6bc894", - "30d39651f586", - "ad2d22e4895f", - "e9a162defc32" - ] - } - }, - { - "id": "tk-create-linear.outer-refused:create-settled", - "observation": { - "sender": ["58d5e47807d7"], - "payloads": ["ce67fb8d9d58"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "449fcef41ecc", - "effects": ["5294116e0f90", "ed3a7d6bc894", "91259ae589b2", "82b36eab5101"] - } - }, - { - "id": "tk-create-linear.outer-refused-no-message:create-settled", - "observation": { - "sender": ["978112708adf"], - "payloads": ["ce67fb8d9d58"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "7db197060e39", - "effects": ["5294116e0f90", "ed3a7d6bc894", "f8df20507017", "82b36eab5101"] - } - }, - { - "id": "tk-create-linear.method-not-found:create-settled", - "observation": { - "sender": ["69a1459381a5"], - "payloads": ["ce67fb8d9d58"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "d24a112e43bf", - "effects": ["5294116e0f90", "ed3a7d6bc894", "ac46e56e89fe", "82b36eab5101"] - } - }, - { - "id": "tk-create-linear.transport-rejection:create-settled", - "observation": { - "sender": ["67649a39eef0"], - "payloads": ["ce67fb8d9d58"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "c140f66eca23", - "effects": ["5294116e0f90", "ed3a7d6bc894", "6bb96c7332db", "82b36eab5101"] - } - }, - { - "id": "tk-create-linear.transport-rejection-no-message:create-settled", - "observation": { - "sender": ["6a6ddba57b66"], - "payloads": ["ce67fb8d9d58"], - "settlements": { - "mount": "eb79a9b3682a", - "create-0": "eb79a9b3682a" - }, - "state": "7db197060e39", - "effects": ["5294116e0f90", "ed3a7d6bc894", "f8df20507017", "82b36eab5101"] - } - } - ] - } -} 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 deleted file mode 100644 index de55af8e2e7..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.task-list-gitlab-items-gitlab.listworkitems-1.json +++ /dev/null @@ -1,855 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.task-list-gitlab-items", - "family": "tasks.task-list-gitlab-items", - "namedDeltas": [], - "values": { - "18c09c3772f4": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "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" - } - } - } - }, - "1e54d4dce85b": { - "error": "", - "items": [], - "loading": false, - "refreshing": false - }, - "1f4eeb3dcff1": { - "name": "items", - "ordinal": 5, - "value": [] - }, - "24ac11e94500": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "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 - } - } - }, - "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 - }, - "3382fcd7c4d2": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "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 - } - } - }, - "341101aedcbe": { - "name": "gitlab.listWorkItems#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.listWorkItems\",\"params\":{\"repo\":\"id:repo-1\",\"state\":\"opened\",\"page\":1,\"perPage\":50}}" - }, - "341ebd23fc0b": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "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": "" - } - ] - } - } - } - }, - "39f99cf479f0": { - "name": "error", - "ordinal": 1, - "value": "" - }, - "40cf838c0930": { - "error": "transport failure", - "items": [], - "loading": false, - "refreshing": false - }, - "411aee2eccd9": { - "name": "refreshing", - "ordinal": 8, - "value": false - }, - "4272f84fe506": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "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 - } - } - }, - "4b933ef4d8e8": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "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 - } - } - }, - "59ae87905e65": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "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" - } - } - } - }, - "5a3a7999f165": { - "name": "error", - "ordinal": 6, - "value": "Unknown method" - }, - "5ac1816a09df": { - "name": "loading", - "ordinal": 7, - "value": false - }, - "609f32a21704": { - "name": "loading", - "ordinal": 2, - "value": true - }, - "63f4bd373653": { - "error": "The host sent a reply this app could not read (gitlab.listWorkItems)", - "items": [], - "loading": false, - "refreshing": false - }, - "820944a2683d": { - "error": "outer refused", - "items": [], - "loading": false, - "refreshing": false - }, - "890c3bd12005": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "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 - } - } - } - }, - "8f4406e0198e": { - "name": "error", - "ordinal": 6, - "value": "transport failure" - }, - "93b371b019f8": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "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 - } - } - } - }, - "a2f93be0d571": { - "name": "items", - "ordinal": 5, - "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" - } - ] - }, - "a4a363a8d319": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "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 - } - } - }, - "ba411b67de4b": { - "name": "taskListSettled", - "ordinal": 9, - "value": true - }, - "c0eea71a0827": { - "name": "error", - "ordinal": 6, - "value": "The host sent a reply this app could not read (gitlab.listWorkItems)" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f01cd569d93d": { - "name": "gitlab.listWorkItems#1", - "ordinal": 3, - "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 - } - } - }, - "f11183466799": { - "error": "Unknown method", - "items": [], - "loading": false, - "refreshing": false - }, - "f1dcb0c02c92": { - "name": "error", - "ordinal": 6, - "value": "" - }, - "f457139d901b": { - "name": "error", - "ordinal": 6, - "value": "outer refused" - } - }, - "recording": { - "scenario": "matrix-tasks.task-list-gitlab-items-gitlab.listworkitems-1", - "checkpoints": [ - { - "id": "tk-list-gitlab-items.normal:load-settled", - "observation": { - "sender": ["341ebd23fc0b"], - "payloads": ["341101aedcbe"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "2af5bdc42011", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "a2f93be0d571", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-items.result-absent:load-settled", - "observation": { - "sender": ["4272f84fe506"], - "payloads": ["341101aedcbe"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "63f4bd373653", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "c0eea71a0827", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-items.result-null:load-settled", - "observation": { - "sender": ["18c09c3772f4"], - "payloads": ["341101aedcbe"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "63f4bd373653", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "c0eea71a0827", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-items.inner-ok-missing:load-settled", - "observation": { - "sender": ["59ae87905e65"], - "payloads": ["341101aedcbe"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "63f4bd373653", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "c0eea71a0827", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-items.inner-false-string-error:load-settled", - "observation": { - "sender": ["890c3bd12005"], - "payloads": ["341101aedcbe"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "63f4bd373653", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "c0eea71a0827", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-items.inner-false-object-error:load-settled", - "observation": { - "sender": ["93b371b019f8"], - "payloads": ["341101aedcbe"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "63f4bd373653", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "c0eea71a0827", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-items.outer-refused:load-settled", - "observation": { - "sender": ["24ac11e94500"], - "payloads": ["341101aedcbe"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "820944a2683d", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "f457139d901b", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-items.outer-refused-no-message:load-settled", - "observation": { - "sender": ["4b933ef4d8e8"], - "payloads": ["341101aedcbe"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "1e54d4dce85b", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-items.method-not-found:load-settled", - "observation": { - "sender": ["3382fcd7c4d2"], - "payloads": ["341101aedcbe"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "f11183466799", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "5a3a7999f165", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-items.transport-rejection:load-settled", - "observation": { - "sender": ["a4a363a8d319"], - "payloads": ["341101aedcbe"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "40cf838c0930", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "8f4406e0198e", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-items.transport-rejection-no-message:load-settled", - "observation": { - "sender": ["f01cd569d93d"], - "payloads": ["341101aedcbe"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "1e54d4dce85b", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 9437fb59f48..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.task-list-gitlab-todos-gitlab.todos-1.json +++ /dev/null @@ -1,783 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.task-list-gitlab-todos", - "family": "tasks.task-list-gitlab-todos", - "namedDeltas": [], - "values": { - "038bb64a38ce": { - "name": "gitlab.todos#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"gitlab.todos\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "0763b4c74e47": { - "name": "gitlab.todos#1", - "ordinal": 3, - "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 - } - } - }, - "1821dd7a6761": { - "name": "gitlab.todos#1", - "ordinal": 3, - "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 - } - } - }, - "1e54d4dce85b": { - "error": "", - "items": [], - "loading": false, - "refreshing": false - }, - "1f4eeb3dcff1": { - "name": "items", - "ordinal": 5, - "value": [] - }, - "2ee5e836afb7": { - "name": "items", - "ordinal": 5, - "value": [ - { - "key": "gitlab-todo:1", - "provider": "gitlabTodo", - "source": { - "actionName": "review_requested", - "authorAvatarUrl": "", - "authorUsername": "octocat", - "id": 1, - "projectPath": "group/project", - "state": "pending", - "targetIid": 4, - "targetTitle": "A GitLab todo", - "targetType": "Issue", - "targetUrl": "https://gitlab.example.com/group/project/-/issues/4", - "updatedAt": "2020-01-01T00:00:00.000Z" - }, - "status": "review requested", - "subtitle": "group/project #4", - "title": "A GitLab todo", - "updatedAt": "2020-01-01T00:00:00.000Z" - } - ] - }, - "35fee2e074f0": { - "name": "gitlab.todos#1", - "ordinal": 3, - "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" - } - } - } - }, - "39f99cf479f0": { - "name": "error", - "ordinal": 1, - "value": "" - }, - "40cf838c0930": { - "error": "transport failure", - "items": [], - "loading": false, - "refreshing": false - }, - "411aee2eccd9": { - "name": "refreshing", - "ordinal": 8, - "value": false - }, - "5205877cc20f": { - "name": "gitlab.todos#1", - "ordinal": 3, - "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 - } - } - }, - "5a3a7999f165": { - "name": "error", - "ordinal": 6, - "value": "Unknown method" - }, - "5ac1816a09df": { - "name": "loading", - "ordinal": 7, - "value": false - }, - "609f32a21704": { - "name": "loading", - "ordinal": 2, - "value": true - }, - "682c92d9610e": { - "name": "gitlab.todos#1", - "ordinal": 3, - "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" - } - } - } - }, - "6d1d0fdc038f": { - "error": "The host sent a reply this app could not read (gitlab.todos)", - "items": [], - "loading": false, - "refreshing": false - }, - "729c72067310": { - "name": "gitlab.todos#1", - "ordinal": 3, - "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 - } - } - }, - "820944a2683d": { - "error": "outer refused", - "items": [], - "loading": false, - "refreshing": false - }, - "8511d41d7490": { - "name": "gitlab.todos#1", - "ordinal": 3, - "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": [ - { - "actionName": "review_requested", - "authorAvatarUrl": "", - "authorUsername": "octocat", - "id": 1, - "projectPath": "group/project", - "state": "pending", - "targetIid": 4, - "targetTitle": "A GitLab todo", - "targetType": "Issue", - "targetUrl": "https://gitlab.example.com/group/project/-/issues/4", - "updatedAt": "2020-01-01T00:00:00.000Z" - } - ] - } - } - }, - "87720d7ea28a": { - "name": "gitlab.todos#1", - "ordinal": 3, - "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 - } - } - }, - "8f4406e0198e": { - "name": "error", - "ordinal": 6, - "value": "transport failure" - }, - "b1272a516ca7": { - "name": "gitlab.todos#1", - "ordinal": 3, - "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 - } - } - } - }, - "ba411b67de4b": { - "name": "taskListSettled", - "ordinal": 9, - "value": true - }, - "bdb019c11efb": { - "name": "error", - "ordinal": 6, - "value": "The host sent a reply this app could not read (gitlab.todos)" - }, - "d57ec76a49a3": { - "error": "", - "items": [ - { - "key": "gitlab-todo:1", - "provider": "gitlabTodo", - "source": { - "actionName": "review_requested", - "authorAvatarUrl": "", - "authorUsername": "octocat", - "id": 1, - "projectPath": "group/project", - "state": "pending", - "targetIid": 4, - "targetTitle": "A GitLab todo", - "targetType": "Issue", - "targetUrl": "https://gitlab.example.com/group/project/-/issues/4", - "updatedAt": "2020-01-01T00:00:00.000Z" - }, - "status": "review requested", - "subtitle": "group/project #4", - "title": "A GitLab todo", - "updatedAt": "2020-01-01T00:00:00.000Z" - } - ], - "loading": false, - "refreshing": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f09425a0dbde": { - "name": "gitlab.todos#1", - "ordinal": 3, - "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 - } - } - } - }, - "f11183466799": { - "error": "Unknown method", - "items": [], - "loading": false, - "refreshing": false - }, - "f1dcb0c02c92": { - "name": "error", - "ordinal": 6, - "value": "" - }, - "f457139d901b": { - "name": "error", - "ordinal": 6, - "value": "outer refused" - }, - "fe6919657d3a": { - "name": "gitlab.todos#1", - "ordinal": 3, - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.task-list-gitlab-todos-gitlab.todos-1", - "checkpoints": [ - { - "id": "tk-list-gitlab-todos.normal:load-settled", - "observation": { - "sender": ["8511d41d7490"], - "payloads": ["038bb64a38ce"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "d57ec76a49a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "2ee5e836afb7", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-todos.result-absent:load-settled", - "observation": { - "sender": ["87720d7ea28a"], - "payloads": ["038bb64a38ce"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "1e54d4dce85b", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-todos.result-null:load-settled", - "observation": { - "sender": ["35fee2e074f0"], - "payloads": ["038bb64a38ce"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "1e54d4dce85b", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-todos.inner-ok-missing:load-settled", - "observation": { - "sender": ["682c92d9610e"], - "payloads": ["038bb64a38ce"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "6d1d0fdc038f", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "bdb019c11efb", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-todos.inner-false-string-error:load-settled", - "observation": { - "sender": ["f09425a0dbde"], - "payloads": ["038bb64a38ce"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "6d1d0fdc038f", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "bdb019c11efb", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-todos.inner-false-object-error:load-settled", - "observation": { - "sender": ["b1272a516ca7"], - "payloads": ["038bb64a38ce"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "6d1d0fdc038f", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "bdb019c11efb", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-todos.outer-refused:load-settled", - "observation": { - "sender": ["5205877cc20f"], - "payloads": ["038bb64a38ce"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "820944a2683d", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "f457139d901b", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-todos.outer-refused-no-message:load-settled", - "observation": { - "sender": ["1821dd7a6761"], - "payloads": ["038bb64a38ce"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "1e54d4dce85b", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-todos.method-not-found:load-settled", - "observation": { - "sender": ["0763b4c74e47"], - "payloads": ["038bb64a38ce"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "f11183466799", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "5a3a7999f165", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-todos.transport-rejection:load-settled", - "observation": { - "sender": ["729c72067310"], - "payloads": ["038bb64a38ce"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "40cf838c0930", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "8f4406e0198e", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-gitlab-todos.transport-rejection-no-message:load-settled", - "observation": { - "sender": ["fe6919657d3a"], - "payloads": ["038bb64a38ce"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "1e54d4dce85b", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - } - ] - } -} 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 deleted file mode 100644 index de6b3862827..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.task-list-linear-linear.listissues-1.json +++ /dev/null @@ -1,1641 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.task-list-linear", - "family": "tasks.task-list-linear", - "namedDeltas": [], - "values": { - "01588d77af7e": { - "name": "linear.listIssues#1", - "ordinal": 3, - "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" - } - } - } - }, - "0a23a5e47479": { - "name": "loading", - "ordinal": 16, - "value": false - }, - "0ad400ddfb98": { - "name": "linear.listIssues#1", - "ordinal": 3, - "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 - } - } - }, - "0f282a749471": { - "name": "linear.listIssues#1", - "ordinal": 3, - "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 - } - } - }, - "1536f73780e1": { - "name": "linear.listIssues#1", - "ordinal": 3, - "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 - } - } - }, - "19d7ea49485f": { - "name": "linear.searchIssues#1", - "ordinal": 13, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.searchIssues\",\"params\":{\"query\":\"bug\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" - }, - "1a5f65e0078d": { - "name": "loading", - "ordinal": 15, - "value": false - }, - "1f4eeb3dcff1": { - "name": "items", - "ordinal": 5, - "value": [] - }, - "2540fdc0d102": { - "name": "linear.listIssues#1", - "ordinal": 3, - "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 - } - } - }, - "29cadc65bcbb": { - "name": "error", - "ordinal": 15, - "value": "" - }, - "352b974ebf36": { - "name": "linear.listIssues#1", - "ordinal": 3, - "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 - } - } - } - }, - "39f99cf479f0": { - "name": "error", - "ordinal": 1, - "value": "" - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "3e58b6085f7d": { - "name": "items", - "ordinal": 14, - "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" - } - ] - }, - "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 - }, - "411aee2eccd9": { - "name": "refreshing", - "ordinal": 8, - "value": false - }, - "4ecf46e7ae13": { - "name": "error", - "ordinal": 6, - "value": "Unable to load Linear issues. Try again." - }, - "52e364aee6ba": { - "name": "loading", - "ordinal": 11, - "value": true - }, - "5ac1816a09df": { - "name": "loading", - "ordinal": 7, - "value": false - }, - "609f32a21704": { - "name": "loading", - "ordinal": 2, - "value": true - }, - "7b6df16c2cf0": { - "name": "linear.listIssues#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listIssues\",\"params\":{\"filter\":\"all\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" - }, - "837199f7c720": { - "name": "linear.searchIssues#1", - "ordinal": 12, - "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" - } - ] - } - } - }, - "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 - }, - "9d1b472cf8a3": { - "error": "Unable to load Linear issues. Try again.", - "items": [], - "loading": false, - "refreshing": false - }, - "a27078adc061": { - "name": "items", - "ordinal": 13, - "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" - } - ] - }, - "ab9026005b36": { - "name": "refreshing", - "ordinal": 16, - "value": false - }, - "b25e7c116f7e": { - "name": "items", - "ordinal": 5, - "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" - } - ] - }, - "ba411b67de4b": { - "name": "taskListSettled", - "ordinal": 9, - "value": true - }, - "bf0de0571310": { - "name": "taskListSettled", - "ordinal": 17, - "value": true - }, - "c6d55e6b8844": { - "name": "linear.listIssues#1", - "ordinal": 3, - "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" - } - ] - } - } - } - }, - "c928cd8bbb8b": { - "name": "linear.listIssues#1", - "ordinal": 3, - "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 - } - } - }, - "cbe48ad190bf": { - "name": "taskListSettled", - "ordinal": 18, - "value": true - }, - "dd5be60ee9f9": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "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" - } - ] - } - } - }, - "dff6398be355": { - "name": "linear.listIssues#1", - "ordinal": 3, - "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 - } - } - } - }, - "e3642939f5f6": { - "name": "linear.searchIssues#1", - "ordinal": 12, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.searchIssues\",\"params\":{\"query\":\"bug\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" - }, - "e6b86743ee36": { - "name": "linear.listIssues#1", - "ordinal": 3, - "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" - } - } - } - }, - "e8ba61988aec": { - "name": "refreshing", - "ordinal": 17, - "value": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ef8932b03a8c": { - "name": "error", - "ordinal": 14, - "value": "" - }, - "f1dcb0c02c92": { - "name": "error", - "ordinal": 6, - "value": "" - }, - "fb3ff62ea3a8": { - "name": "linear.listIssues#1", - "ordinal": 3, - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.task-list-linear-linear.listissues-1", - "checkpoints": [ - { - "id": "tk-list-linear.normal:load-settled", - "observation": { - "sender": ["c6d55e6b8844"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "94f44b229d7d", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.normal:set-query-done", - "observation": { - "sender": ["c6d55e6b8844"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a" - }, - "state": "94f44b229d7d", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.normal:load-settled", - "observation": { - "sender": ["c6d55e6b8844", "dd5be60ee9f9"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "3edde845aed1", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "a27078adc061", - "ef8932b03a8c", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310" - ] - } - }, - { - "id": "tk-list-linear.result-absent:load-settled", - "observation": { - "sender": ["2540fdc0d102"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.result-absent:set-query-done", - "observation": { - "sender": ["2540fdc0d102"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.result-absent:load-settled", - "observation": { - "sender": ["2540fdc0d102", "837199f7c720"], - "payloads": ["7b6df16c2cf0", "19d7ea49485f"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "3edde845aed1", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "52e364aee6ba", - "3e58b6085f7d", - "29cadc65bcbb", - "0a23a5e47479", - "e8ba61988aec", - "cbe48ad190bf" - ] - } - }, - { - "id": "tk-list-linear.result-null:load-settled", - "observation": { - "sender": ["01588d77af7e"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.result-null:set-query-done", - "observation": { - "sender": ["01588d77af7e"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.result-null:load-settled", - "observation": { - "sender": ["01588d77af7e", "837199f7c720"], - "payloads": ["7b6df16c2cf0", "19d7ea49485f"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "3edde845aed1", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "52e364aee6ba", - "3e58b6085f7d", - "29cadc65bcbb", - "0a23a5e47479", - "e8ba61988aec", - "cbe48ad190bf" - ] - } - }, - { - "id": "tk-list-linear.inner-ok-missing:load-settled", - "observation": { - "sender": ["e6b86743ee36"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.inner-ok-missing:set-query-done", - "observation": { - "sender": ["e6b86743ee36"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.inner-ok-missing:load-settled", - "observation": { - "sender": ["e6b86743ee36", "837199f7c720"], - "payloads": ["7b6df16c2cf0", "19d7ea49485f"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "3edde845aed1", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "52e364aee6ba", - "3e58b6085f7d", - "29cadc65bcbb", - "0a23a5e47479", - "e8ba61988aec", - "cbe48ad190bf" - ] - } - }, - { - "id": "tk-list-linear.inner-false-string-error:load-settled", - "observation": { - "sender": ["352b974ebf36"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.inner-false-string-error:set-query-done", - "observation": { - "sender": ["352b974ebf36"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.inner-false-string-error:load-settled", - "observation": { - "sender": ["352b974ebf36", "837199f7c720"], - "payloads": ["7b6df16c2cf0", "19d7ea49485f"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "3edde845aed1", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "52e364aee6ba", - "3e58b6085f7d", - "29cadc65bcbb", - "0a23a5e47479", - "e8ba61988aec", - "cbe48ad190bf" - ] - } - }, - { - "id": "tk-list-linear.inner-false-object-error:load-settled", - "observation": { - "sender": ["dff6398be355"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.inner-false-object-error:set-query-done", - "observation": { - "sender": ["dff6398be355"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.inner-false-object-error:load-settled", - "observation": { - "sender": ["dff6398be355", "837199f7c720"], - "payloads": ["7b6df16c2cf0", "19d7ea49485f"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "3edde845aed1", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "52e364aee6ba", - "3e58b6085f7d", - "29cadc65bcbb", - "0a23a5e47479", - "e8ba61988aec", - "cbe48ad190bf" - ] - } - }, - { - "id": "tk-list-linear.outer-refused:load-settled", - "observation": { - "sender": ["fb3ff62ea3a8"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.outer-refused:set-query-done", - "observation": { - "sender": ["fb3ff62ea3a8"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.outer-refused:load-settled", - "observation": { - "sender": ["fb3ff62ea3a8", "837199f7c720"], - "payloads": ["7b6df16c2cf0", "19d7ea49485f"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "3edde845aed1", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "52e364aee6ba", - "3e58b6085f7d", - "29cadc65bcbb", - "0a23a5e47479", - "e8ba61988aec", - "cbe48ad190bf" - ] - } - }, - { - "id": "tk-list-linear.outer-refused-no-message:load-settled", - "observation": { - "sender": ["0ad400ddfb98"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.outer-refused-no-message:set-query-done", - "observation": { - "sender": ["0ad400ddfb98"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.outer-refused-no-message:load-settled", - "observation": { - "sender": ["0ad400ddfb98", "837199f7c720"], - "payloads": ["7b6df16c2cf0", "19d7ea49485f"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "3edde845aed1", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "52e364aee6ba", - "3e58b6085f7d", - "29cadc65bcbb", - "0a23a5e47479", - "e8ba61988aec", - "cbe48ad190bf" - ] - } - }, - { - "id": "tk-list-linear.method-not-found:load-settled", - "observation": { - "sender": ["1536f73780e1"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.method-not-found:set-query-done", - "observation": { - "sender": ["1536f73780e1"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.method-not-found:load-settled", - "observation": { - "sender": ["1536f73780e1", "837199f7c720"], - "payloads": ["7b6df16c2cf0", "19d7ea49485f"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "3edde845aed1", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "52e364aee6ba", - "3e58b6085f7d", - "29cadc65bcbb", - "0a23a5e47479", - "e8ba61988aec", - "cbe48ad190bf" - ] - } - }, - { - "id": "tk-list-linear.transport-rejection:load-settled", - "observation": { - "sender": ["c928cd8bbb8b"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.transport-rejection:set-query-done", - "observation": { - "sender": ["c928cd8bbb8b"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.transport-rejection:load-settled", - "observation": { - "sender": ["c928cd8bbb8b", "837199f7c720"], - "payloads": ["7b6df16c2cf0", "19d7ea49485f"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "3edde845aed1", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "52e364aee6ba", - "3e58b6085f7d", - "29cadc65bcbb", - "0a23a5e47479", - "e8ba61988aec", - "cbe48ad190bf" - ] - } - }, - { - "id": "tk-list-linear.transport-rejection-no-message:load-settled", - "observation": { - "sender": ["0f282a749471"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.transport-rejection-no-message:set-query-done", - "observation": { - "sender": ["0f282a749471"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.transport-rejection-no-message:load-settled", - "observation": { - "sender": ["0f282a749471", "837199f7c720"], - "payloads": ["7b6df16c2cf0", "19d7ea49485f"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "3edde845aed1", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "1f4eeb3dcff1", - "4ecf46e7ae13", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "52e364aee6ba", - "3e58b6085f7d", - "29cadc65bcbb", - "0a23a5e47479", - "e8ba61988aec", - "cbe48ad190bf" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 4fd93457341..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.task-list-linear-linear.searchissues-1.json +++ /dev/null @@ -1,1150 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.task-list-linear", - "family": "tasks.task-list-linear", - "namedDeltas": [], - "values": { - "0091f1ca9ca4": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "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 - } - } - }, - "1a5f65e0078d": { - "name": "loading", - "ordinal": 15, - "value": false - }, - "1b36d3ce7e9d": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "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 - } - } - }, - "34d17f188229": { - "name": "refreshing", - "ordinal": 14, - "value": false - }, - "39f99cf479f0": { - "name": "error", - "ordinal": 1, - "value": "" - }, - "3aefb3006914": { - "name": "error", - "ordinal": 10, - "value": "" - }, - "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 - }, - "411aee2eccd9": { - "name": "refreshing", - "ordinal": 8, - "value": false - }, - "57c41659e935": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "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 - } - } - }, - "5ac1816a09df": { - "name": "loading", - "ordinal": 7, - "value": false - }, - "5c90b1e0c7b8": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "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 - } - } - } - }, - "609f32a21704": { - "name": "loading", - "ordinal": 2, - "value": true - }, - "7b6df16c2cf0": { - "name": "linear.listIssues#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listIssues\",\"params\":{\"filter\":\"all\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" - }, - "898b9173828f": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "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" - } - } - } - }, - "8a38ef76313b": { - "name": "loading", - "ordinal": 13, - "value": 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 - }, - "9c9ce3233b41": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "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 - } - } - }, - "9d1b472cf8a3": { - "error": "Unable to load Linear issues. Try again.", - "items": [], - "loading": false, - "refreshing": false - }, - "9dc0b0cb9c84": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "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 - } - } - } - }, - "a27078adc061": { - "name": "items", - "ordinal": 13, - "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" - } - ] - }, - "ab9026005b36": { - "name": "refreshing", - "ordinal": 16, - "value": false - }, - "b25e7c116f7e": { - "name": "items", - "ordinal": 5, - "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" - } - ] - }, - "ba411b67de4b": { - "name": "taskListSettled", - "ordinal": 9, - "value": true - }, - "bf0de0571310": { - "name": "taskListSettled", - "ordinal": 17, - "value": true - }, - "c6d55e6b8844": { - "name": "linear.listIssues#1", - "ordinal": 3, - "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" - } - ] - } - } - } - }, - "c73faccc085d": { - "name": "items", - "ordinal": 13, - "value": [] - }, - "c829775e62c9": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "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 - } - } - }, - "d7a404a3f73e": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "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 - } - } - }, - "dd5be60ee9f9": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "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" - } - ] - } - } - }, - "e3642939f5f6": { - "name": "linear.searchIssues#1", - "ordinal": 12, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.searchIssues\",\"params\":{\"query\":\"bug\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" - }, - "e9a14a2190c0": { - "name": "error", - "ordinal": 14, - "value": "Unable to load Linear issues. Try again." - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ef8932b03a8c": { - "name": "error", - "ordinal": 14, - "value": "" - }, - "efa96bafb315": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "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" - } - } - } - }, - "f1dcb0c02c92": { - "name": "error", - "ordinal": 6, - "value": "" - }, - "f55e7fb7039e": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.task-list-linear-linear.searchissues-1", - "checkpoints": [ - { - "id": "tk-list-linear.prelude:load-settled", - "observation": { - "sender": ["c6d55e6b8844"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a" - }, - "state": "94f44b229d7d", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.prelude:set-query-done", - "observation": { - "sender": ["c6d55e6b8844"], - "payloads": ["7b6df16c2cf0"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a" - }, - "state": "94f44b229d7d", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b" - ] - } - }, - { - "id": "tk-list-linear.prelude:cleanup", - "observation": { - "sender": ["c6d55e6b8844", "0091f1ca9ca4"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "94f44b229d7d", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "8a38ef76313b", - "34d17f188229" - ] - } - }, - { - "id": "tk-list-linear.normal:load-settled", - "observation": { - "sender": ["c6d55e6b8844", "dd5be60ee9f9"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "3edde845aed1", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "a27078adc061", - "ef8932b03a8c", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310" - ] - } - }, - { - "id": "tk-list-linear.result-absent:load-settled", - "observation": { - "sender": ["c6d55e6b8844", "c829775e62c9"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "c73faccc085d", - "e9a14a2190c0", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310" - ] - } - }, - { - "id": "tk-list-linear.result-null:load-settled", - "observation": { - "sender": ["c6d55e6b8844", "898b9173828f"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "c73faccc085d", - "e9a14a2190c0", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310" - ] - } - }, - { - "id": "tk-list-linear.inner-ok-missing:load-settled", - "observation": { - "sender": ["c6d55e6b8844", "efa96bafb315"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "c73faccc085d", - "e9a14a2190c0", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310" - ] - } - }, - { - "id": "tk-list-linear.inner-false-string-error:load-settled", - "observation": { - "sender": ["c6d55e6b8844", "9dc0b0cb9c84"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "c73faccc085d", - "e9a14a2190c0", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310" - ] - } - }, - { - "id": "tk-list-linear.inner-false-object-error:load-settled", - "observation": { - "sender": ["c6d55e6b8844", "5c90b1e0c7b8"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "c73faccc085d", - "e9a14a2190c0", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310" - ] - } - }, - { - "id": "tk-list-linear.outer-refused:load-settled", - "observation": { - "sender": ["c6d55e6b8844", "1b36d3ce7e9d"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "c73faccc085d", - "e9a14a2190c0", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310" - ] - } - }, - { - "id": "tk-list-linear.outer-refused-no-message:load-settled", - "observation": { - "sender": ["c6d55e6b8844", "d7a404a3f73e"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "c73faccc085d", - "e9a14a2190c0", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310" - ] - } - }, - { - "id": "tk-list-linear.method-not-found:load-settled", - "observation": { - "sender": ["c6d55e6b8844", "9c9ce3233b41"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "c73faccc085d", - "e9a14a2190c0", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310" - ] - } - }, - { - "id": "tk-list-linear.transport-rejection:load-settled", - "observation": { - "sender": ["c6d55e6b8844", "f55e7fb7039e"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "c73faccc085d", - "e9a14a2190c0", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310" - ] - } - }, - { - "id": "tk-list-linear.transport-rejection-no-message:load-settled", - "observation": { - "sender": ["c6d55e6b8844", "57c41659e935"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], - "settlements": { - "mount": "eb79a9b3682a", - "load-0": "eb79a9b3682a", - "set-query-1": "eb79a9b3682a", - "load-2": "eb79a9b3682a" - }, - "state": "9d1b472cf8a3", - "effects": [ - "39f99cf479f0", - "609f32a21704", - "b25e7c116f7e", - "f1dcb0c02c92", - "5ac1816a09df", - "411aee2eccd9", - "ba411b67de4b", - "3aefb3006914", - "c73faccc085d", - "e9a14a2190c0", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310" - ] - } - } - ] - } -} 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 deleted file mode 100644 index fc49ed0fab6..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-source-repo.searchrefs-1.json +++ /dev/null @@ -1,1006 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.workspace-source", - "family": "tasks.workspace-source", - "namedDeltas": [], - "values": { - "02e24a49522e": { - "name": "repo.sparsePresets#1", - "ordinal": 8, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.sparsePresets\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "09505b8f95aa": { - "name": "workspaceBaseBranchError", - "ordinal": 18, - "value": "Unknown method" - }, - "1dd3aa188d01": { - "name": "repo.searchRefs#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "main", - "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 - } - } - }, - "215f6b1d86cd": { - "name": "workspaceBaseBranchLoading", - "ordinal": 13, - "value": true - }, - "2198c28257cb": { - "name": "repo.searchRefs#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "main", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "refs": ["main"] - } - } - } - }, - "22b30d5c0550": { - "name": "workspaceSparsePresetId", - "ordinal": 11, - "value": { - "$rpc": "null" - } - }, - "2bd164983c10": { - "branchError": "outer refused", - "branches": [], - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "presetsLoaded": true - }, - "2e554aeab5d0": { - "branchError": "transport failure", - "branches": [], - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "presetsLoaded": true - }, - "329626b87ebb": { - "name": "workspaceBaseBranchLoading", - "ordinal": 18, - "value": false - }, - "395332ac224e": { - "name": "repo.searchRefs#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "main", - "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 - } - } - } - }, - "39594602dd76": { - "name": "repo.searchRefs#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "main", - "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 - } - } - }, - "395b11d2530a": { - "name": "workspaceSparsePresetsLoading", - "ordinal": 12, - "value": false - }, - "3cf5a0de175f": { - "name": "workspaceBaseBranchError", - "ordinal": 18, - "value": "outer refused" - }, - "4efabea114c4": { - "name": "workspaceSparsePresetsError", - "ordinal": 3, - "value": "" - }, - "57f06e6e349e": { - "branchError": "", - "branches": [], - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "presetsLoaded": true - }, - "5a582aa26ab5": { - "name": "repo.searchRefs#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "main", - "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 - } - } - }, - "653409308f6c": { - "name": "workspaceSparsePresetsLoaded", - "ordinal": 10, - "value": true - }, - "666bd27e7019": { - "name": "workspaceSparsePresetsLoaded", - "ordinal": 2, - "value": false - }, - "742be05f358a": { - "name": "workspaceBaseBranchError", - "ordinal": 18, - "value": "The host sent a reply this app could not read (repo.searchRefs)" - }, - "802594b0307e": { - "name": "workspaceBaseBranchLoading", - "ordinal": 6, - "value": false - }, - "826410120272": { - "name": "workspaceSparsePresets", - "ordinal": 9, - "value": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ] - }, - "8b06747007bd": { - "name": "repo.searchRefs#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "main", - "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 - } - } - } - }, - "8fe83a6c2d9c": { - "name": "workspaceBaseBranchResults", - "ordinal": 17, - "value": [] - }, - "92c65b40f767": { - "name": "workspaceBaseBranchError", - "ordinal": 18, - "value": "" - }, - "94be039bc034": { - "name": "repo.searchRefs#1", - "ordinal": 16, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.searchRefs\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"main\",\"limit\":20}}" - }, - "95ce69005dc5": { - "name": "repo.searchRefs#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "main", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "a135d4b358aa": { - "name": "workspaceBaseBranchResults", - "ordinal": 17, - "value": [ - { - "localBranchName": "main", - "refName": "main" - } - ] - }, - "ab46bdfa34b4": { - "name": "repo.searchRefs#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "main", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "b2d70a96a17a": { - "name": "workspaceBaseBranchResults", - "ordinal": 5, - "value": [] - }, - "b78bcf7ca596": { - "branchError": "", - "branches": [ - { - "localBranchName": "main", - "refName": "main" - } - ], - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "presetsLoaded": true - }, - "b7cb2292ffa2": { - "name": "repo.sparsePresets#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "repo.sparsePresets" - }, - { - "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": { - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ] - } - } - } - }, - "bd27bfc57e7a": { - "name": "repo.searchRefs#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "main", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "bd93f3a9862f": { - "branchError": "Unknown method", - "branches": [], - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "presetsLoaded": true - }, - "c9f98134ce15": { - "branchError": "The host sent a reply this app could not read (repo.searchRefs)", - "branches": [], - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "presetsLoaded": true - }, - "ce8866aa2620": { - "name": "repo.searchRefs#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "main", - "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" - } - } - } - }, - "d8718329d555": { - "name": "workspaceBaseBranchError", - "ordinal": 14, - "value": "" - }, - "dbfbfd98de88": { - "name": "workspaceBaseBranchError", - "ordinal": 18, - "value": "transport failure" - }, - "e3d6000f59c4": { - "name": "workspaceBaseBranchLoading", - "ordinal": 19, - "value": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "efea6a5c42fc": { - "name": "repo.searchRefs#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "main", - "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" - } - } - } - }, - "f7ab22c990a5": { - "name": "workspaceBaseBranchError", - "ordinal": 7, - "value": "" - }, - "faf6e6083f43": { - "name": "workspaceSparsePresetsLoading", - "ordinal": 1, - "value": true - } - }, - "recording": { - "scenario": "matrix-tasks.workspace-source-repo.searchrefs-1", - "checkpoints": [ - { - "id": "tw-workspace-source-presets.prelude:presets-loaded", - "observation": { - "sender": ["b7cb2292ffa2"], - "payloads": ["02e24a49522e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "57f06e6e349e", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "826410120272", - "653409308f6c", - "22b30d5c0550", - "395b11d2530a" - ] - } - }, - { - "id": "tw-workspace-source-presets.normal:branches-loaded", - "observation": { - "sender": ["b7cb2292ffa2", "2198c28257cb"], - "payloads": ["02e24a49522e", "94be039bc034"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "b78bcf7ca596", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "826410120272", - "653409308f6c", - "22b30d5c0550", - "395b11d2530a", - "215f6b1d86cd", - "d8718329d555", - "a135d4b358aa", - "329626b87ebb" - ] - } - }, - { - "id": "tw-workspace-source-presets.result-absent:branches-loaded", - "observation": { - "sender": ["b7cb2292ffa2", "ab46bdfa34b4"], - "payloads": ["02e24a49522e", "94be039bc034"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "c9f98134ce15", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "826410120272", - "653409308f6c", - "22b30d5c0550", - "395b11d2530a", - "215f6b1d86cd", - "d8718329d555", - "8fe83a6c2d9c", - "742be05f358a", - "e3d6000f59c4" - ] - } - }, - { - "id": "tw-workspace-source-presets.result-null:branches-loaded", - "observation": { - "sender": ["b7cb2292ffa2", "efea6a5c42fc"], - "payloads": ["02e24a49522e", "94be039bc034"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "c9f98134ce15", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "826410120272", - "653409308f6c", - "22b30d5c0550", - "395b11d2530a", - "215f6b1d86cd", - "d8718329d555", - "8fe83a6c2d9c", - "742be05f358a", - "e3d6000f59c4" - ] - } - }, - { - "id": "tw-workspace-source-presets.inner-ok-missing:branches-loaded", - "observation": { - "sender": ["b7cb2292ffa2", "ce8866aa2620"], - "payloads": ["02e24a49522e", "94be039bc034"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "57f06e6e349e", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "826410120272", - "653409308f6c", - "22b30d5c0550", - "395b11d2530a", - "215f6b1d86cd", - "d8718329d555", - "8fe83a6c2d9c", - "329626b87ebb" - ] - } - }, - { - "id": "tw-workspace-source-presets.inner-false-string-error:branches-loaded", - "observation": { - "sender": ["b7cb2292ffa2", "395332ac224e"], - "payloads": ["02e24a49522e", "94be039bc034"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "57f06e6e349e", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "826410120272", - "653409308f6c", - "22b30d5c0550", - "395b11d2530a", - "215f6b1d86cd", - "d8718329d555", - "8fe83a6c2d9c", - "329626b87ebb" - ] - } - }, - { - "id": "tw-workspace-source-presets.inner-false-object-error:branches-loaded", - "observation": { - "sender": ["b7cb2292ffa2", "8b06747007bd"], - "payloads": ["02e24a49522e", "94be039bc034"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "57f06e6e349e", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "826410120272", - "653409308f6c", - "22b30d5c0550", - "395b11d2530a", - "215f6b1d86cd", - "d8718329d555", - "8fe83a6c2d9c", - "329626b87ebb" - ] - } - }, - { - "id": "tw-workspace-source-presets.outer-refused:branches-loaded", - "observation": { - "sender": ["b7cb2292ffa2", "39594602dd76"], - "payloads": ["02e24a49522e", "94be039bc034"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "2bd164983c10", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "826410120272", - "653409308f6c", - "22b30d5c0550", - "395b11d2530a", - "215f6b1d86cd", - "d8718329d555", - "8fe83a6c2d9c", - "3cf5a0de175f", - "e3d6000f59c4" - ] - } - }, - { - "id": "tw-workspace-source-presets.outer-refused-no-message:branches-loaded", - "observation": { - "sender": ["b7cb2292ffa2", "5a582aa26ab5"], - "payloads": ["02e24a49522e", "94be039bc034"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "57f06e6e349e", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "826410120272", - "653409308f6c", - "22b30d5c0550", - "395b11d2530a", - "215f6b1d86cd", - "d8718329d555", - "8fe83a6c2d9c", - "92c65b40f767", - "e3d6000f59c4" - ] - } - }, - { - "id": "tw-workspace-source-presets.method-not-found:branches-loaded", - "observation": { - "sender": ["b7cb2292ffa2", "1dd3aa188d01"], - "payloads": ["02e24a49522e", "94be039bc034"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "bd93f3a9862f", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "826410120272", - "653409308f6c", - "22b30d5c0550", - "395b11d2530a", - "215f6b1d86cd", - "d8718329d555", - "8fe83a6c2d9c", - "09505b8f95aa", - "e3d6000f59c4" - ] - } - }, - { - "id": "tw-workspace-source-presets.transport-rejection:branches-loaded", - "observation": { - "sender": ["b7cb2292ffa2", "bd27bfc57e7a"], - "payloads": ["02e24a49522e", "94be039bc034"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "2e554aeab5d0", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "826410120272", - "653409308f6c", - "22b30d5c0550", - "395b11d2530a", - "215f6b1d86cd", - "d8718329d555", - "8fe83a6c2d9c", - "dbfbfd98de88", - "e3d6000f59c4" - ] - } - }, - { - "id": "tw-workspace-source-presets.transport-rejection-no-message:branches-loaded", - "observation": { - "sender": ["b7cb2292ffa2", "95ce69005dc5"], - "payloads": ["02e24a49522e", "94be039bc034"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "57f06e6e349e", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "826410120272", - "653409308f6c", - "22b30d5c0550", - "395b11d2530a", - "215f6b1d86cd", - "d8718329d555", - "8fe83a6c2d9c", - "92c65b40f767", - "e3d6000f59c4" - ] - } - } - ] - } -} 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 deleted file mode 100644 index f2d5ac0dcff..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-source-repo.sparsepresets-1.json +++ /dev/null @@ -1,1343 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.workspace-source", - "family": "tasks.workspace-source", - "namedDeltas": [], - "values": { - "003710284289": { - "name": "repo.sparsePresets#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "repo.sparsePresets" - }, - { - "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 - } - } - }, - "01dca7775a7a": { - "name": "repo.sparsePresets#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "repo.sparsePresets" - }, - { - "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 - } - } - }, - "02e24a49522e": { - "name": "repo.sparsePresets#1", - "ordinal": 8, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"repo.sparsePresets\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "07fd885757be": { - "name": "workspaceBaseBranchError", - "ordinal": 15, - "value": "" - }, - "0e0e1c74c796": { - "branchError": "", - "branches": [], - "presets": [], - "presetsError": "transport failure", - "presetsLoaded": false - }, - "215f6b1d86cd": { - "name": "workspaceBaseBranchLoading", - "ordinal": 13, - "value": true - }, - "2198c28257cb": { - "name": "repo.searchRefs#1", - "ordinal": 15, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "main", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "refs": ["main"] - } - } - } - }, - "22b30d5c0550": { - "name": "workspaceSparsePresetId", - "ordinal": 11, - "value": { - "$rpc": "null" - } - }, - "2af3f3992a54": { - "name": "workspaceSparsePresetsError", - "ordinal": 12, - "value": "The host sent a reply this app could not read (repo.sparsePresets)" - }, - "2d51b99817b1": { - "name": "workspaceSparsePresetsError", - "ordinal": 12, - "value": "transport failure" - }, - "329626b87ebb": { - "name": "workspaceBaseBranchLoading", - "ordinal": 18, - "value": false - }, - "37567dd5df02": { - "name": "workspaceSparsePresetsError", - "ordinal": 12, - "value": "Unknown method" - }, - "395b11d2530a": { - "name": "workspaceSparsePresetsLoading", - "ordinal": 12, - "value": false - }, - "428a3fe62685": { - "name": "repo.sparsePresets#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "repo.sparsePresets" - }, - { - "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 - } - } - }, - "4b44c817b2a0": { - "name": "repo.sparsePresets#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "repo.sparsePresets" - }, - { - "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 - } - } - } - }, - "4efabea114c4": { - "name": "workspaceSparsePresetsError", - "ordinal": 3, - "value": "" - }, - "4f1e08644618": { - "name": "workspaceBaseBranchResults", - "ordinal": 18, - "value": [ - { - "localBranchName": "main", - "refName": "main" - } - ] - }, - "57f06e6e349e": { - "branchError": "", - "branches": [], - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "presetsLoaded": true - }, - "5e895d7d4949": { - "branchError": "", - "branches": [ - { - "localBranchName": "main", - "refName": "main" - } - ], - "presets": [], - "presetsError": "transport failure", - "presetsLoaded": false - }, - "62bc28c39ffc": { - "branchError": "", - "branches": [], - "presets": [], - "presetsError": "", - "presetsLoaded": false - }, - "653409308f6c": { - "name": "workspaceSparsePresetsLoaded", - "ordinal": 10, - "value": true - }, - "666bd27e7019": { - "name": "workspaceSparsePresetsLoaded", - "ordinal": 2, - "value": false - }, - "802594b0307e": { - "name": "workspaceBaseBranchLoading", - "ordinal": 6, - "value": false - }, - "826410120272": { - "name": "workspaceSparsePresets", - "ordinal": 9, - "value": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ] - }, - "8aa6d1392eee": { - "name": "workspaceSparsePresetsLoading", - "ordinal": 13, - "value": false - }, - "8ef7d69340a8": { - "name": "repo.sparsePresets#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "repo.sparsePresets" - }, - { - "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 - } - } - }, - "90bd9a937fe0": { - "branchError": "", - "branches": [ - { - "localBranchName": "main", - "refName": "main" - } - ], - "presets": [], - "presetsError": "", - "presetsLoaded": false - }, - "94be039bc034": { - "name": "repo.searchRefs#1", - "ordinal": 16, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.searchRefs\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"main\",\"limit\":20}}" - }, - "985b44577ba8": { - "name": "workspaceSparsePresets", - "ordinal": 9, - "value": [] - }, - "a135d4b358aa": { - "name": "workspaceBaseBranchResults", - "ordinal": 17, - "value": [ - { - "localBranchName": "main", - "refName": "main" - } - ] - }, - "a6fa05557638": { - "branchError": "", - "branches": [], - "presets": [], - "presetsError": "The host sent a reply this app could not read (repo.sparsePresets)", - "presetsLoaded": false - }, - "b1a04831ac75": { - "name": "repo.sparsePresets#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "repo.sparsePresets" - }, - { - "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 - } - } - } - }, - "b2d70a96a17a": { - "name": "workspaceBaseBranchResults", - "ordinal": 5, - "value": [] - }, - "b78bcf7ca596": { - "branchError": "", - "branches": [ - { - "localBranchName": "main", - "refName": "main" - } - ], - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "presetsLoaded": true - }, - "b7cb2292ffa2": { - "name": "repo.sparsePresets#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "repo.sparsePresets" - }, - { - "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": { - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ] - } - } - } - }, - "bb6152049822": { - "name": "workspaceSparsePresetsError", - "ordinal": 12, - "value": "" - }, - "c3b3a45a3ff6": { - "branchError": "", - "branches": [ - { - "localBranchName": "main", - "refName": "main" - } - ], - "presets": [], - "presetsError": "The host sent a reply this app could not read (repo.sparsePresets)", - "presetsLoaded": false - }, - "c7283eee09be": { - "name": "workspaceSparsePresetsError", - "ordinal": 12, - "value": "outer refused" - }, - "c9379c8a3ba8": { - "branchError": "", - "branches": [], - "presets": [], - "presetsError": "outer refused", - "presetsLoaded": false - }, - "ce4aab89eed0": { - "branchError": "", - "branches": [], - "presets": [], - "presetsError": "Unknown method", - "presetsLoaded": false - }, - "ce7d06abf495": { - "branchError": "", - "branches": [ - { - "localBranchName": "main", - "refName": "main" - } - ], - "presets": [], - "presetsError": "Unknown method", - "presetsLoaded": false - }, - "d075e587b820": { - "branchError": "", - "branches": [ - { - "localBranchName": "main", - "refName": "main" - } - ], - "presets": [], - "presetsError": "outer refused", - "presetsLoaded": false - }, - "d18ecb3ae4d7": { - "name": "repo.sparsePresets#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "repo.sparsePresets" - }, - { - "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 - } - } - }, - "d8718329d555": { - "name": "workspaceBaseBranchError", - "ordinal": 14, - "value": "" - }, - "d8e98566a985": { - "name": "repo.searchRefs#1", - "ordinal": 16, - "args": [ - { - "name": "method", - "value": "repo.searchRefs" - }, - { - "name": "params", - "value": { - "limit": 20, - "query": "main", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "refs": ["main"] - } - } - } - }, - "df951f37c86a": { - "name": "repo.searchRefs#1", - "ordinal": 17, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.searchRefs\",\"params\":{\"repo\":\"id:repo-1\",\"query\":\"main\",\"limit\":20}}" - }, - "e3d6000f59c4": { - "name": "workspaceBaseBranchLoading", - "ordinal": 19, - "value": false - }, - "e9296082f19c": { - "name": "repo.sparsePresets#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "repo.sparsePresets" - }, - { - "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" - } - } - } - }, - "e985893a3dd9": { - "name": "repo.sparsePresets#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "repo.sparsePresets" - }, - { - "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" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f7ab22c990a5": { - "name": "workspaceBaseBranchError", - "ordinal": 7, - "value": "" - }, - "faf6e6083f43": { - "name": "workspaceSparsePresetsLoading", - "ordinal": 1, - "value": true - }, - "fb8ff42da925": { - "name": "repo.sparsePresets#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "repo.sparsePresets" - }, - { - "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 - } - } - }, - "fc781d1cd78a": { - "name": "workspaceBaseBranchLoading", - "ordinal": 14, - "value": true - }, - "fe3395a9e94f": { - "name": "workspaceSparsePresetsLoaded", - "ordinal": 10, - "value": false - } - }, - "recording": { - "scenario": "matrix-tasks.workspace-source-repo.sparsepresets-1", - "checkpoints": [ - { - "id": "tw-workspace-source-presets.normal:presets-loaded", - "observation": { - "sender": ["b7cb2292ffa2"], - "payloads": ["02e24a49522e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "57f06e6e349e", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "826410120272", - "653409308f6c", - "22b30d5c0550", - "395b11d2530a" - ] - } - }, - { - "id": "tw-workspace-source-presets.normal:branches-loaded", - "observation": { - "sender": ["b7cb2292ffa2", "2198c28257cb"], - "payloads": ["02e24a49522e", "94be039bc034"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "b78bcf7ca596", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "826410120272", - "653409308f6c", - "22b30d5c0550", - "395b11d2530a", - "215f6b1d86cd", - "d8718329d555", - "a135d4b358aa", - "329626b87ebb" - ] - } - }, - { - "id": "tw-workspace-source-presets.result-absent:presets-loaded", - "observation": { - "sender": ["d18ecb3ae4d7"], - "payloads": ["02e24a49522e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a6fa05557638", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "2af3f3992a54", - "8aa6d1392eee" - ] - } - }, - { - "id": "tw-workspace-source-presets.result-absent:branches-loaded", - "observation": { - "sender": ["d18ecb3ae4d7", "d8e98566a985"], - "payloads": ["02e24a49522e", "df951f37c86a"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "c3b3a45a3ff6", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "2af3f3992a54", - "8aa6d1392eee", - "fc781d1cd78a", - "07fd885757be", - "4f1e08644618", - "e3d6000f59c4" - ] - } - }, - { - "id": "tw-workspace-source-presets.result-null:presets-loaded", - "observation": { - "sender": ["e9296082f19c"], - "payloads": ["02e24a49522e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a6fa05557638", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "2af3f3992a54", - "8aa6d1392eee" - ] - } - }, - { - "id": "tw-workspace-source-presets.result-null:branches-loaded", - "observation": { - "sender": ["e9296082f19c", "d8e98566a985"], - "payloads": ["02e24a49522e", "df951f37c86a"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "c3b3a45a3ff6", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "2af3f3992a54", - "8aa6d1392eee", - "fc781d1cd78a", - "07fd885757be", - "4f1e08644618", - "e3d6000f59c4" - ] - } - }, - { - "id": "tw-workspace-source-presets.inner-ok-missing:presets-loaded", - "observation": { - "sender": ["e985893a3dd9"], - "payloads": ["02e24a49522e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a6fa05557638", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "2af3f3992a54", - "8aa6d1392eee" - ] - } - }, - { - "id": "tw-workspace-source-presets.inner-ok-missing:branches-loaded", - "observation": { - "sender": ["e985893a3dd9", "d8e98566a985"], - "payloads": ["02e24a49522e", "df951f37c86a"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "c3b3a45a3ff6", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "2af3f3992a54", - "8aa6d1392eee", - "fc781d1cd78a", - "07fd885757be", - "4f1e08644618", - "e3d6000f59c4" - ] - } - }, - { - "id": "tw-workspace-source-presets.inner-false-string-error:presets-loaded", - "observation": { - "sender": ["4b44c817b2a0"], - "payloads": ["02e24a49522e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a6fa05557638", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "2af3f3992a54", - "8aa6d1392eee" - ] - } - }, - { - "id": "tw-workspace-source-presets.inner-false-string-error:branches-loaded", - "observation": { - "sender": ["4b44c817b2a0", "d8e98566a985"], - "payloads": ["02e24a49522e", "df951f37c86a"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "c3b3a45a3ff6", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "2af3f3992a54", - "8aa6d1392eee", - "fc781d1cd78a", - "07fd885757be", - "4f1e08644618", - "e3d6000f59c4" - ] - } - }, - { - "id": "tw-workspace-source-presets.inner-false-object-error:presets-loaded", - "observation": { - "sender": ["b1a04831ac75"], - "payloads": ["02e24a49522e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a6fa05557638", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "2af3f3992a54", - "8aa6d1392eee" - ] - } - }, - { - "id": "tw-workspace-source-presets.inner-false-object-error:branches-loaded", - "observation": { - "sender": ["b1a04831ac75", "d8e98566a985"], - "payloads": ["02e24a49522e", "df951f37c86a"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "c3b3a45a3ff6", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "2af3f3992a54", - "8aa6d1392eee", - "fc781d1cd78a", - "07fd885757be", - "4f1e08644618", - "e3d6000f59c4" - ] - } - }, - { - "id": "tw-workspace-source-presets.outer-refused:presets-loaded", - "observation": { - "sender": ["fb8ff42da925"], - "payloads": ["02e24a49522e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "c9379c8a3ba8", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "c7283eee09be", - "8aa6d1392eee" - ] - } - }, - { - "id": "tw-workspace-source-presets.outer-refused:branches-loaded", - "observation": { - "sender": ["fb8ff42da925", "d8e98566a985"], - "payloads": ["02e24a49522e", "df951f37c86a"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "d075e587b820", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "c7283eee09be", - "8aa6d1392eee", - "fc781d1cd78a", - "07fd885757be", - "4f1e08644618", - "e3d6000f59c4" - ] - } - }, - { - "id": "tw-workspace-source-presets.outer-refused-no-message:presets-loaded", - "observation": { - "sender": ["8ef7d69340a8"], - "payloads": ["02e24a49522e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "62bc28c39ffc", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "bb6152049822", - "8aa6d1392eee" - ] - } - }, - { - "id": "tw-workspace-source-presets.outer-refused-no-message:branches-loaded", - "observation": { - "sender": ["8ef7d69340a8", "d8e98566a985"], - "payloads": ["02e24a49522e", "df951f37c86a"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "90bd9a937fe0", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "bb6152049822", - "8aa6d1392eee", - "fc781d1cd78a", - "07fd885757be", - "4f1e08644618", - "e3d6000f59c4" - ] - } - }, - { - "id": "tw-workspace-source-presets.method-not-found:presets-loaded", - "observation": { - "sender": ["428a3fe62685"], - "payloads": ["02e24a49522e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ce4aab89eed0", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "37567dd5df02", - "8aa6d1392eee" - ] - } - }, - { - "id": "tw-workspace-source-presets.method-not-found:branches-loaded", - "observation": { - "sender": ["428a3fe62685", "d8e98566a985"], - "payloads": ["02e24a49522e", "df951f37c86a"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "ce7d06abf495", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "37567dd5df02", - "8aa6d1392eee", - "fc781d1cd78a", - "07fd885757be", - "4f1e08644618", - "e3d6000f59c4" - ] - } - }, - { - "id": "tw-workspace-source-presets.transport-rejection:presets-loaded", - "observation": { - "sender": ["01dca7775a7a"], - "payloads": ["02e24a49522e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "0e0e1c74c796", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "2d51b99817b1", - "8aa6d1392eee" - ] - } - }, - { - "id": "tw-workspace-source-presets.transport-rejection:branches-loaded", - "observation": { - "sender": ["01dca7775a7a", "d8e98566a985"], - "payloads": ["02e24a49522e", "df951f37c86a"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "5e895d7d4949", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "2d51b99817b1", - "8aa6d1392eee", - "fc781d1cd78a", - "07fd885757be", - "4f1e08644618", - "e3d6000f59c4" - ] - } - }, - { - "id": "tw-workspace-source-presets.transport-rejection-no-message:presets-loaded", - "observation": { - "sender": ["003710284289"], - "payloads": ["02e24a49522e"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "62bc28c39ffc", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "bb6152049822", - "8aa6d1392eee" - ] - } - }, - { - "id": "tw-workspace-source-presets.transport-rejection-no-message:branches-loaded", - "observation": { - "sender": ["003710284289", "d8e98566a985"], - "payloads": ["02e24a49522e", "df951f37c86a"], - "settlements": { - "mount": "eb79a9b3682a", - "branch-query": "eb79a9b3682a" - }, - "state": "90bd9a937fe0", - "effects": [ - "faf6e6083f43", - "666bd27e7019", - "4efabea114c4", - "b2d70a96a17a", - "802594b0307e", - "f7ab22c990a5", - "985b44577ba8", - "fe3395a9e94f", - "22b30d5c0550", - "bb6152049822", - "8aa6d1392eee", - "fc781d1cd78a", - "07fd885757be", - "4f1e08644618", - "e3d6000f59c4" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 17d0e99d05d..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-sparse-repo.savesparsepreset-1.json +++ /dev/null @@ -1,954 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.workspace-sparse", - "family": "tasks.workspace-sparse", - "namedDeltas": [], - "values": { - "02daf4600c50": { - "name": "repo.saveSparsePreset#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.saveSparsePreset\",\"params\":{\"repo\":\"id:repo-1\",\"name\":\"docs\",\"directories\":[\"docs\"]}}" - }, - "07ce162cbff7": { - "name": "repo.saveSparsePreset#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "repo.saveSparsePreset" - }, - { - "name": "params", - "value": { - "directories": ["docs"], - "name": "docs", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-2", - "ok": false - } - } - }, - "0df082978757": { - "name": "workspaceSparsePresetsError", - "ordinal": 8, - "value": "Failed to save sparse preset." - }, - "15870a254b47": { - "name": "repo.saveSparsePreset#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "repo.saveSparsePreset" - }, - { - "name": "params", - "value": { - "directories": ["docs"], - "name": "docs", - "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-2", - "ok": false - } - } - }, - "1bc7cf6bcbaf": { - "name": "workspaceSparsePresets", - "ordinal": 8, - "value": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ] - }, - "1f453ea83df7": { - "presets": [], - "presetsError": "transport failure", - "saving": false, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "2902639ee428": { - "name": "workspaceSparsePresetsError", - "ordinal": 8, - "value": "outer refused" - }, - "2fd581455dca": { - "name": "repo.saveSparsePreset#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "repo.saveSparsePreset" - }, - { - "name": "params", - "value": { - "directories": ["docs"], - "name": "docs", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "37c5cc533ab4": { - "name": "workspaceSparseSaving", - "ordinal": 9, - "value": false - }, - "3f5e10171cd3": { - "name": "workspaceSparsePresetId", - "ordinal": 10, - "value": "p1" - }, - "404305aa2e3a": { - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "saving": false, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "4b7e30ea1543": { - "name": "repo.saveSparsePreset#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "repo.saveSparsePreset" - }, - { - "name": "params", - "value": { - "directories": ["docs"], - "name": "docs", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "preset": { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - } - } - } - }, - "530030faa977": { - "name": "workspaceSparsePresetsError", - "ordinal": 8, - "value": "Connection closed" - }, - "5c6943c3209d": { - "name": "workspaceSparsePresetsError", - "ordinal": 8, - "value": "The host sent a reply this app could not read (repo.saveSparsePreset)" - }, - "6060569496ff": { - "presets": [], - "presetsError": "The host sent a reply this app could not read (repo.saveSparsePreset)", - "saving": false, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "6acbe9247ed7": { - "name": "repo.saveSparsePreset#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "repo.saveSparsePreset" - }, - { - "name": "params", - "value": { - "directories": ["docs"], - "name": "docs", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "6b49720c9e1d": { - "name": "repo.saveSparsePreset#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "repo.saveSparsePreset" - }, - { - "name": "params", - "value": { - "directories": ["docs"], - "name": "docs", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "75bb22c39c21": { - "name": "workspaceSparsePresetsError", - "ordinal": 8, - "value": "Unknown method" - }, - "82eb2fb9a104": { - "name": "repo.saveSparsePreset#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "repo.saveSparsePreset" - }, - { - "name": "params", - "value": { - "directories": ["docs"], - "name": "docs", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "973f31a4e64b": { - "name": "workspaceSparsePresetsError", - "ordinal": 5, - "value": "" - }, - "9a414627d11a": { - "name": "workspaceSparsePresetsError", - "ordinal": 8, - "value": "transport failure" - }, - "a11809a84754": { - "name": "ssh.getState#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"ssh-1\"}}" - }, - "a3ac2c60b897": { - "name": "repo.saveSparsePreset#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "repo.saveSparsePreset" - }, - { - "name": "params", - "value": { - "directories": ["docs"], - "name": "docs", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "ab2dc4474eeb": { - "name": "workspaceSparsePresetsError", - "ordinal": 8, - "value": "" - }, - "b01d7dc3b038": { - "name": "repo.saveSparsePreset#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "repo.saveSparsePreset" - }, - { - "name": "params", - "value": { - "directories": ["docs"], - "name": "docs", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "b342da7e7bba": { - "name": "repo.saveSparsePreset#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "repo.saveSparsePreset" - }, - { - "name": "params", - "value": { - "directories": ["docs"], - "name": "docs", - "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-2", - "ok": false - } - } - }, - "b53739a58194": { - "name": "ssh.getState#1", - "ordinal": 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" - } - } - } - } - }, - "bcfc7df6e4f2": { - "presets": [], - "presetsError": "", - "saving": true, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "befb68fa6c76": { - "presets": [], - "presetsError": "Failed to save sparse preset.", - "saving": false, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "c1ae182c7519": { - "name": "workspaceSparseSaving", - "ordinal": 12, - "value": false - }, - "c33fee0d8294": { - "presets": [], - "presetsError": "Unknown method", - "saving": false, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "c88e803973a6": { - "name": "workspaceSparsePresetsLoaded", - "ordinal": 9, - "value": true - }, - "d74bc3778ca8": { - "presets": [], - "presetsError": "outer refused", - "saving": false, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "de95b19c6158": { - "name": "workspaceSshState", - "ordinal": 3, - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "df0ecff41880": { - "name": "repo.saveSparsePreset#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "repo.saveSparsePreset" - }, - { - "name": "params", - "value": { - "directories": ["docs"], - "name": "docs", - "repo": "id:repo-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 - } - } - } - }, - "e91b0fb80adc": { - "name": "repo.saveSparsePreset#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "repo.saveSparsePreset" - }, - { - "name": "params", - "value": { - "directories": ["docs"], - "name": "docs", - "repo": "id:repo-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 - } - } - } - }, - "ea6e5bf810d9": { - "name": "workspaceSparseSaving", - "ordinal": 4, - "value": true - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ee3a941d5e9c": { - "presets": [], - "presetsError": "", - "saving": false, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "f54b3364071f": { - "name": "workspaceSparseDraft", - "ordinal": 11, - "value": { - "$rpc": "null" - } - } - }, - "recording": { - "scenario": "matrix-tasks.workspace-sparse-repo.savesparsepreset-1", - "checkpoints": [ - { - "id": "tw-workspace-sparse-saved.prelude:ssh-state-read", - "observation": { - "sender": ["b53739a58194"], - "payloads": ["a11809a84754"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ee3a941d5e9c", - "effects": ["de95b19c6158"] - } - }, - { - "id": "tw-workspace-sparse-saved.prelude:cleanup", - "observation": { - "sender": ["b53739a58194", "b01d7dc3b038"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "bcfc7df6e4f2", - "effects": [ - "de95b19c6158", - "ea6e5bf810d9", - "973f31a4e64b", - "530030faa977", - "37c5cc533ab4" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.normal:preset-saved", - "observation": { - "sender": ["b53739a58194", "4b7e30ea1543"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "404305aa2e3a", - "effects": [ - "de95b19c6158", - "ea6e5bf810d9", - "973f31a4e64b", - "1bc7cf6bcbaf", - "c88e803973a6", - "3f5e10171cd3", - "f54b3364071f", - "c1ae182c7519" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.result-absent:preset-saved", - "observation": { - "sender": ["b53739a58194", "6b49720c9e1d"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "6060569496ff", - "effects": [ - "de95b19c6158", - "ea6e5bf810d9", - "973f31a4e64b", - "5c6943c3209d", - "37c5cc533ab4" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.result-null:preset-saved", - "observation": { - "sender": ["b53739a58194", "82eb2fb9a104"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "6060569496ff", - "effects": [ - "de95b19c6158", - "ea6e5bf810d9", - "973f31a4e64b", - "5c6943c3209d", - "37c5cc533ab4" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.inner-ok-missing:preset-saved", - "observation": { - "sender": ["b53739a58194", "2fd581455dca"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "befb68fa6c76", - "effects": [ - "de95b19c6158", - "ea6e5bf810d9", - "973f31a4e64b", - "0df082978757", - "37c5cc533ab4" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.inner-false-string-error:preset-saved", - "observation": { - "sender": ["b53739a58194", "e91b0fb80adc"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "befb68fa6c76", - "effects": [ - "de95b19c6158", - "ea6e5bf810d9", - "973f31a4e64b", - "0df082978757", - "37c5cc533ab4" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.inner-false-object-error:preset-saved", - "observation": { - "sender": ["b53739a58194", "df0ecff41880"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "befb68fa6c76", - "effects": [ - "de95b19c6158", - "ea6e5bf810d9", - "973f31a4e64b", - "0df082978757", - "37c5cc533ab4" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.outer-refused:preset-saved", - "observation": { - "sender": ["b53739a58194", "15870a254b47"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "d74bc3778ca8", - "effects": [ - "de95b19c6158", - "ea6e5bf810d9", - "973f31a4e64b", - "2902639ee428", - "37c5cc533ab4" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.outer-refused-no-message:preset-saved", - "observation": { - "sender": ["b53739a58194", "07ce162cbff7"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "ee3a941d5e9c", - "effects": [ - "de95b19c6158", - "ea6e5bf810d9", - "973f31a4e64b", - "ab2dc4474eeb", - "37c5cc533ab4" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.method-not-found:preset-saved", - "observation": { - "sender": ["b53739a58194", "b342da7e7bba"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "c33fee0d8294", - "effects": [ - "de95b19c6158", - "ea6e5bf810d9", - "973f31a4e64b", - "75bb22c39c21", - "37c5cc533ab4" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.transport-rejection:preset-saved", - "observation": { - "sender": ["b53739a58194", "6acbe9247ed7"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "1f453ea83df7", - "effects": [ - "de95b19c6158", - "ea6e5bf810d9", - "973f31a4e64b", - "9a414627d11a", - "37c5cc533ab4" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.transport-rejection-no-message:preset-saved", - "observation": { - "sender": ["b53739a58194", "a3ac2c60b897"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "ee3a941d5e9c", - "effects": [ - "de95b19c6158", - "ea6e5bf810d9", - "973f31a4e64b", - "ab2dc4474eeb", - "37c5cc533ab4" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 7b77a142c5f..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-sparse-ssh.getstate-1.json +++ /dev/null @@ -1,1147 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.workspace-sparse", - "family": "tasks.workspace-sparse", - "namedDeltas": [], - "values": { - "003266639675": { - "name": "workspaceSshState", - "ordinal": 3, - "value": { - "error": "The host sent a reply this app could not read (ssh.getState)", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "02daf4600c50": { - "name": "repo.saveSparsePreset#1", - "ordinal": 7, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"repo.saveSparsePreset\",\"params\":{\"repo\":\"id:repo-1\",\"name\":\"docs\",\"directories\":[\"docs\"]}}" - }, - "0ca333d433d1": { - "presets": [], - "presetsError": "", - "saving": false, - "ssh": { - "error": "The host sent a reply this app could not read (ssh.getState)", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "196cd7f8b6a9": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - } - }, - "1bc7cf6bcbaf": { - "name": "workspaceSparsePresets", - "ordinal": 8, - "value": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ] - }, - "2e370b6bc6d3": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - }, - "3f5e10171cd3": { - "name": "workspaceSparsePresetId", - "ordinal": 10, - "value": "p1" - }, - "404305aa2e3a": { - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "saving": false, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "47b768ac4603": { - "name": "workspaceSshState", - "ordinal": 3, - "value": { - "error": "Unknown method", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "4b7e30ea1543": { - "name": "repo.saveSparsePreset#1", - "ordinal": 6, - "args": [ - { - "name": "method", - "value": "repo.saveSparsePreset" - }, - { - "name": "params", - "value": { - "directories": ["docs"], - "name": "docs", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "preset": { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - } - } - } - }, - "57be9babbecd": { - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "saving": false, - "ssh": { - "error": "Unknown method", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "5e69d5600126": { - "name": "workspaceSshState", - "ordinal": 3, - "value": { - "error": "transport failure", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "68ca812c8120": { - "presets": [], - "presetsError": "", - "saving": false, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "disconnected", - "targetId": "ssh-1" - } - }, - "6daeb33f37f8": { - "presets": [], - "presetsError": "", - "saving": false, - "ssh": { - "error": "transport failure", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "7e5ba73897a1": { - "presets": [], - "presetsError": "", - "saving": false, - "ssh": { - "error": "Unknown method", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "813df5a46a4a": { - "presets": [], - "presetsError": "", - "saving": false, - "ssh": { - "error": "", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "86a756c43eee": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - }, - "8b039cc0966c": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - }, - "8c02db2af9ff": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - }, - "9367b086d487": { - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "saving": false, - "ssh": { - "error": "outer refused", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "973f31a4e64b": { - "name": "workspaceSparsePresetsError", - "ordinal": 5, - "value": "" - }, - "9a06a8b0c07a": { - "name": "workspaceSshState", - "ordinal": 3, - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "disconnected", - "targetId": "ssh-1" - } - }, - "a11809a84754": { - "name": "ssh.getState#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.getState\",\"params\":{\"targetId\":\"ssh-1\"}}" - }, - "a16210531185": { - "presets": [], - "presetsError": "", - "saving": false, - "ssh": { - "error": "outer refused", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "a71abdbfefa8": { - "name": "workspaceSshState", - "ordinal": 3, - "value": { - "error": "", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "af0d2d6c02df": { - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "saving": false, - "ssh": { - "error": "The host sent a reply this app could not read (ssh.getState)", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "b40e13ca49f3": { - "name": "workspaceSshState", - "ordinal": 3, - "value": { - "error": "outer refused", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "b53739a58194": { - "name": "ssh.getState#1", - "ordinal": 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" - } - } - } - } - }, - "b99b1a08e886": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - }, - "ba8c7cc161da": { - "name": "ssh.getState#1", - "ordinal": 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" - } - } - } - }, - "c1ae182c7519": { - "name": "workspaceSparseSaving", - "ordinal": 12, - "value": false - }, - "c88e803973a6": { - "name": "workspaceSparsePresetsLoaded", - "ordinal": 9, - "value": true - }, - "cd050477e049": { - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "saving": false, - "ssh": { - "error": "", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "d4293c213b99": { - "name": "ssh.getState#1", - "ordinal": 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" - } - } - } - }, - "dbf775cf1bdc": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - } - }, - "de95b19c6158": { - "name": "workspaceSshState", - "ordinal": 3, - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "ea6e5bf810d9": { - "name": "workspaceSparseSaving", - "ordinal": 4, - "value": true - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ee3a941d5e9c": { - "presets": [], - "presetsError": "", - "saving": false, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "ef27a7ecb258": { - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "saving": false, - "ssh": { - "error": "transport failure", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "f0dd78640cf3": { - "name": "ssh.getState#1", - "ordinal": 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 - } - } - }, - "f54b3364071f": { - "name": "workspaceSparseDraft", - "ordinal": 11, - "value": { - "$rpc": "null" - } - }, - "f7885da6b9c0": { - "presets": [ - { - "directories": ["docs"], - "id": "p1", - "name": "docs" - } - ], - "presetsError": "", - "saving": false, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "disconnected", - "targetId": "ssh-1" - } - } - }, - "recording": { - "scenario": "matrix-tasks.workspace-sparse-ssh.getstate-1", - "checkpoints": [ - { - "id": "tw-workspace-sparse-saved.normal:ssh-state-read", - "observation": { - "sender": ["b53739a58194"], - "payloads": ["a11809a84754"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "ee3a941d5e9c", - "effects": ["de95b19c6158"] - } - }, - { - "id": "tw-workspace-sparse-saved.normal:preset-saved", - "observation": { - "sender": ["b53739a58194", "4b7e30ea1543"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "404305aa2e3a", - "effects": [ - "de95b19c6158", - "ea6e5bf810d9", - "973f31a4e64b", - "1bc7cf6bcbaf", - "c88e803973a6", - "3f5e10171cd3", - "f54b3364071f", - "c1ae182c7519" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.result-absent:ssh-state-read", - "observation": { - "sender": ["2e370b6bc6d3"], - "payloads": ["a11809a84754"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "0ca333d433d1", - "effects": ["003266639675"] - } - }, - { - "id": "tw-workspace-sparse-saved.result-absent:preset-saved", - "observation": { - "sender": ["2e370b6bc6d3", "4b7e30ea1543"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "af0d2d6c02df", - "effects": [ - "003266639675", - "ea6e5bf810d9", - "973f31a4e64b", - "1bc7cf6bcbaf", - "c88e803973a6", - "3f5e10171cd3", - "f54b3364071f", - "c1ae182c7519" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.result-null:ssh-state-read", - "observation": { - "sender": ["ba8c7cc161da"], - "payloads": ["a11809a84754"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "0ca333d433d1", - "effects": ["003266639675"] - } - }, - { - "id": "tw-workspace-sparse-saved.result-null:preset-saved", - "observation": { - "sender": ["ba8c7cc161da", "4b7e30ea1543"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "af0d2d6c02df", - "effects": [ - "003266639675", - "ea6e5bf810d9", - "973f31a4e64b", - "1bc7cf6bcbaf", - "c88e803973a6", - "3f5e10171cd3", - "f54b3364071f", - "c1ae182c7519" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.inner-ok-missing:ssh-state-read", - "observation": { - "sender": ["d4293c213b99"], - "payloads": ["a11809a84754"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "68ca812c8120", - "effects": ["9a06a8b0c07a"] - } - }, - { - "id": "tw-workspace-sparse-saved.inner-ok-missing:preset-saved", - "observation": { - "sender": ["d4293c213b99", "4b7e30ea1543"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "f7885da6b9c0", - "effects": [ - "9a06a8b0c07a", - "ea6e5bf810d9", - "973f31a4e64b", - "1bc7cf6bcbaf", - "c88e803973a6", - "3f5e10171cd3", - "f54b3364071f", - "c1ae182c7519" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.inner-false-string-error:ssh-state-read", - "observation": { - "sender": ["dbf775cf1bdc"], - "payloads": ["a11809a84754"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "68ca812c8120", - "effects": ["9a06a8b0c07a"] - } - }, - { - "id": "tw-workspace-sparse-saved.inner-false-string-error:preset-saved", - "observation": { - "sender": ["dbf775cf1bdc", "4b7e30ea1543"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "f7885da6b9c0", - "effects": [ - "9a06a8b0c07a", - "ea6e5bf810d9", - "973f31a4e64b", - "1bc7cf6bcbaf", - "c88e803973a6", - "3f5e10171cd3", - "f54b3364071f", - "c1ae182c7519" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.inner-false-object-error:ssh-state-read", - "observation": { - "sender": ["196cd7f8b6a9"], - "payloads": ["a11809a84754"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "68ca812c8120", - "effects": ["9a06a8b0c07a"] - } - }, - { - "id": "tw-workspace-sparse-saved.inner-false-object-error:preset-saved", - "observation": { - "sender": ["196cd7f8b6a9", "4b7e30ea1543"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "f7885da6b9c0", - "effects": [ - "9a06a8b0c07a", - "ea6e5bf810d9", - "973f31a4e64b", - "1bc7cf6bcbaf", - "c88e803973a6", - "3f5e10171cd3", - "f54b3364071f", - "c1ae182c7519" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.outer-refused:ssh-state-read", - "observation": { - "sender": ["8c02db2af9ff"], - "payloads": ["a11809a84754"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "a16210531185", - "effects": ["b40e13ca49f3"] - } - }, - { - "id": "tw-workspace-sparse-saved.outer-refused:preset-saved", - "observation": { - "sender": ["8c02db2af9ff", "4b7e30ea1543"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "9367b086d487", - "effects": [ - "b40e13ca49f3", - "ea6e5bf810d9", - "973f31a4e64b", - "1bc7cf6bcbaf", - "c88e803973a6", - "3f5e10171cd3", - "f54b3364071f", - "c1ae182c7519" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.outer-refused-no-message:ssh-state-read", - "observation": { - "sender": ["f0dd78640cf3"], - "payloads": ["a11809a84754"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "813df5a46a4a", - "effects": ["a71abdbfefa8"] - } - }, - { - "id": "tw-workspace-sparse-saved.outer-refused-no-message:preset-saved", - "observation": { - "sender": ["f0dd78640cf3", "4b7e30ea1543"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "cd050477e049", - "effects": [ - "a71abdbfefa8", - "ea6e5bf810d9", - "973f31a4e64b", - "1bc7cf6bcbaf", - "c88e803973a6", - "3f5e10171cd3", - "f54b3364071f", - "c1ae182c7519" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.method-not-found:ssh-state-read", - "observation": { - "sender": ["86a756c43eee"], - "payloads": ["a11809a84754"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7e5ba73897a1", - "effects": ["47b768ac4603"] - } - }, - { - "id": "tw-workspace-sparse-saved.method-not-found:preset-saved", - "observation": { - "sender": ["86a756c43eee", "4b7e30ea1543"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "57be9babbecd", - "effects": [ - "47b768ac4603", - "ea6e5bf810d9", - "973f31a4e64b", - "1bc7cf6bcbaf", - "c88e803973a6", - "3f5e10171cd3", - "f54b3364071f", - "c1ae182c7519" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.transport-rejection:ssh-state-read", - "observation": { - "sender": ["8b039cc0966c"], - "payloads": ["a11809a84754"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "6daeb33f37f8", - "effects": ["5e69d5600126"] - } - }, - { - "id": "tw-workspace-sparse-saved.transport-rejection:preset-saved", - "observation": { - "sender": ["8b039cc0966c", "4b7e30ea1543"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "ef27a7ecb258", - "effects": [ - "5e69d5600126", - "ea6e5bf810d9", - "973f31a4e64b", - "1bc7cf6bcbaf", - "c88e803973a6", - "3f5e10171cd3", - "f54b3364071f", - "c1ae182c7519" - ] - } - }, - { - "id": "tw-workspace-sparse-saved.transport-rejection-no-message:ssh-state-read", - "observation": { - "sender": ["b99b1a08e886"], - "payloads": ["a11809a84754"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "813df5a46a4a", - "effects": ["a71abdbfefa8"] - } - }, - { - "id": "tw-workspace-sparse-saved.transport-rejection-no-message:preset-saved", - "observation": { - "sender": ["b99b1a08e886", "4b7e30ea1543"], - "payloads": ["a11809a84754", "02daf4600c50"], - "settlements": { - "mount": "eb79a9b3682a", - "save": "eb79a9b3682a" - }, - "state": "cd050477e049", - "effects": [ - "a71abdbfefa8", - "ea6e5bf810d9", - "973f31a4e64b", - "1bc7cf6bcbaf", - "c88e803973a6", - "3f5e10171cd3", - "f54b3364071f", - "c1ae182c7519" - ] - } - } - ] - } -} 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 deleted file mode 100644 index c8e7a1bd8a4..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-local-preflight.detectagents-1.json +++ /dev/null @@ -1,575 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.workspace-ssh-local", - "family": "tasks.workspace-ssh-local", - "namedDeltas": [], - "values": { - "057cfe2200b5": { - "name": "preflight.detectAgents#1", - "ordinal": 5, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectAgents\",\"params\":{\"repoId\":\"repo-1\"}}" - }, - "110ef4b3eb5b": { - "name": "preflight.detectAgents#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "repoId": "repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "11405363c62d": { - "name": "workspaceAgent", - "ordinal": 1, - "value": "claude" - }, - "12f65d55aa1a": { - "name": "preflight.detectAgents#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "repoId": "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 - } - } - }, - "34cbfeeb5c49": { - "name": "preflight.detectAgents#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "repoId": "repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "43111f57966a": { - "name": "preflight.detectAgents#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "repoId": "repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "5786215332fb": { - "name": "preflight.detectAgents#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "repoId": "repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "630e2f27face": { - "name": "workspaceDetectedAgentIds", - "ordinal": 6, - "value": [] - }, - "63751bc69233": { - "name": "preflight.detectAgents#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "repoId": "repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "71225024ccf5": { - "agent": "claude", - "connecting": false, - "detected": [], - "setup": "unresolved", - "ssh": { - "$rpc": "null" - } - }, - "7400f4eebe66": { - "agent": "claude", - "connecting": false, - "detected": ["codex", "claude"], - "setup": "unresolved", - "ssh": { - "$rpc": "null" - } - }, - "8172e74bc69e": { - "name": "preflight.detectAgents#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "repoId": "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 - } - } - }, - "8f4b7427ef27": { - "name": "preflight.detectAgents#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "repoId": "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 - } - } - } - }, - "9637248df9cb": { - "name": "workspaceDetectedAgentIds", - "ordinal": 3, - "value": { - "$rpc": "null" - } - }, - "a3447a38f180": { - "name": "preflight.detectAgents#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "repoId": "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 - } - } - } - }, - "a9ec92743b9e": { - "name": "workspaceAgentOverridden", - "ordinal": 2, - "value": false - }, - "c988ed31a0bf": { - "name": "preflight.detectAgents#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "repoId": "repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "d68cba3b57e1": { - "name": "workspaceDetectedAgentIds", - "ordinal": 6, - "value": ["codex", "claude"] - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ebcf6c6d8d86": { - "name": "preflight.detectAgents#1", - "ordinal": 4, - "args": [ - { - "name": "method", - "value": "preflight.detectAgents" - }, - { - "name": "params", - "value": { - "repoId": "repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": ["codex", "claude"] - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.workspace-ssh-local-preflight.detectagents-1", - "checkpoints": [ - { - "id": "tw-workspace-ssh-local-agents.normal:local-agents-detected", - "observation": { - "sender": ["ebcf6c6d8d86"], - "payloads": ["057cfe2200b5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "7400f4eebe66", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "d68cba3b57e1"] - } - }, - { - "id": "tw-workspace-ssh-local-agents.result-absent:local-agents-detected", - "observation": { - "sender": ["c988ed31a0bf"], - "payloads": ["057cfe2200b5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-local-agents.result-null:local-agents-detected", - "observation": { - "sender": ["5786215332fb"], - "payloads": ["057cfe2200b5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-local-agents.inner-ok-missing:local-agents-detected", - "observation": { - "sender": ["43111f57966a"], - "payloads": ["057cfe2200b5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-local-agents.inner-false-string-error:local-agents-detected", - "observation": { - "sender": ["a3447a38f180"], - "payloads": ["057cfe2200b5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-local-agents.inner-false-object-error:local-agents-detected", - "observation": { - "sender": ["8f4b7427ef27"], - "payloads": ["057cfe2200b5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-local-agents.outer-refused:local-agents-detected", - "observation": { - "sender": ["12f65d55aa1a"], - "payloads": ["057cfe2200b5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-local-agents.outer-refused-no-message:local-agents-detected", - "observation": { - "sender": ["63751bc69233"], - "payloads": ["057cfe2200b5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-local-agents.method-not-found:local-agents-detected", - "observation": { - "sender": ["8172e74bc69e"], - "payloads": ["057cfe2200b5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-local-agents.transport-rejection:local-agents-detected", - "observation": { - "sender": ["110ef4b3eb5b"], - "payloads": ["057cfe2200b5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-local-agents.transport-rejection-no-message:local-agents-detected", - "observation": { - "sender": ["34cbfeeb5c49"], - "payloads": ["057cfe2200b5"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - } - ] - } -} 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 deleted file mode 100644 index b525386ffc4..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-preflight.detectremoteagents-1.json +++ /dev/null @@ -1,1285 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.workspace-ssh", - "family": "tasks.workspace-ssh", - "namedDeltas": [], - "values": { - "0ba2cee4b538": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "command": "pnpm install", - "kind": "prompt", - "setupTrust": { - "contentHash": "hash-1", - "scriptContent": "pnpm install" - }, - "source": "repo" - } - }, - "11405363c62d": { - "name": "workspaceAgent", - "ordinal": 1, - "value": "claude" - }, - "12edfd2bbf02": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "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-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "13e6d0c47ca4": { - "name": "workspaceDetectedAgentIds", - "ordinal": 6, - "value": ["codex"] - }, - "18e6a3ac6471": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": "unresolved", - "ssh": { - "$rpc": "null" - } - }, - "1c0d00da9586": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "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-1", - "ok": true - } - } - }, - "2bdbcded5f9b": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "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-1", - "ok": true, - "result": ["codex"] - } - } - }, - "38ce16e16515": { - "name": "ssh.connect#1", - "ordinal": 10, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}" - }, - "4177bbc4d896": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "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-1", - "ok": false - } - } - }, - "419b5c4f79c2": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "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-1", - "ok": false - } - } - }, - "43ead075ce12": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": { - "command": "pnpm install", - "kind": "prompt", - "setupTrust": { - "contentHash": "hash-1", - "scriptContent": "pnpm install" - }, - "source": "repo" - }, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "50c5123e1f42": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "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-1", - "ok": false - } - } - }, - "630e2f27face": { - "name": "workspaceDetectedAgentIds", - "ordinal": 6, - "value": [] - }, - "680836f92e72": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "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 - } - } - }, - "71225024ccf5": { - "agent": "claude", - "connecting": false, - "detected": [], - "setup": "unresolved", - "ssh": { - "$rpc": "null" - } - }, - "73c44e3e321b": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "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-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "7a1b524f17d0": { - "agent": "claude", - "connecting": false, - "detected": [], - "setup": { - "command": "pnpm install", - "kind": "prompt", - "setupTrust": { - "contentHash": "hash-1", - "scriptContent": "pnpm install" - }, - "source": "repo" - }, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "80ffce5fa2b3": { - "name": "workspaceSshState", - "ordinal": 11, - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "84149cfb1467": { - "name": "workspaceSshState", - "ordinal": 8, - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connecting", - "targetId": "ssh-1" - } - }, - "9637248df9cb": { - "name": "workspaceDetectedAgentIds", - "ordinal": 3, - "value": { - "$rpc": "null" - } - }, - "97f2f33b0349": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "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 - } - } - }, - "9f0676ba0d67": { - "agent": "claude", - "connecting": false, - "detected": [], - "setup": "unresolved", - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "9f089dfe58b4": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "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-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "a1f755a38636": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": "unresolved", - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "a9ec92743b9e": { - "name": "workspaceAgentOverridden", - "ordinal": 2, - "value": false - }, - "bf0c0c00caf9": { - "name": "repo.hooks#1", - "ordinal": 14, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "c75dad7868ad": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "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-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "d68ba9a6772a": { - "name": "workspaceSshConnecting", - "ordinal": 7, - "value": true - }, - "d760f20b60ad": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" - }, - "e44d3b580ab0": { - "name": "workspaceSshConnecting", - "ordinal": 12, - "value": false - }, - "e65f26fdbe1a": { - "name": "repo.hooks#1", - "ordinal": 13, - "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-3", - "ok": true, - "result": { - "hooks": { - "scripts": { - "setup": " pnpm install " - } - }, - "setupRunPolicy": "ask", - "setupTrust": { - "contentHash": "hash-1", - "scriptContent": "pnpm install" - }, - "source": "repo" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "edf7372929cd": { - "name": "ssh.connect#1", - "ordinal": 9, - "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" - } - } - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.workspace-ssh-preflight.detectremoteagents-1", - "checkpoints": [ - { - "id": "tw-workspace-ssh-connected.normal:agents-detected", - "observation": { - "sender": ["2bdbcded5f9b"], - "payloads": ["d760f20b60ad"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "18e6a3ac6471", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "13e6d0c47ca4"] - } - }, - { - "id": "tw-workspace-ssh-connected.normal:connected", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "a1f755a38636", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.normal:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "43ead075ce12", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.result-absent:agents-detected", - "observation": { - "sender": ["1c0d00da9586"], - "payloads": ["d760f20b60ad"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-connected.result-absent:connected", - "observation": { - "sender": ["1c0d00da9586", "edf7372929cd"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "9f0676ba0d67", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.result-absent:setup-prompted", - "observation": { - "sender": ["1c0d00da9586", "edf7372929cd", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "7a1b524f17d0", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.result-null:agents-detected", - "observation": { - "sender": ["c75dad7868ad"], - "payloads": ["d760f20b60ad"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-connected.result-null:connected", - "observation": { - "sender": ["c75dad7868ad", "edf7372929cd"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "9f0676ba0d67", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.result-null:setup-prompted", - "observation": { - "sender": ["c75dad7868ad", "edf7372929cd", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "7a1b524f17d0", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-ok-missing:agents-detected", - "observation": { - "sender": ["9f089dfe58b4"], - "payloads": ["d760f20b60ad"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-ok-missing:connected", - "observation": { - "sender": ["9f089dfe58b4", "edf7372929cd"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "9f0676ba0d67", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-ok-missing:setup-prompted", - "observation": { - "sender": ["9f089dfe58b4", "edf7372929cd", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "7a1b524f17d0", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-false-string-error:agents-detected", - "observation": { - "sender": ["12edfd2bbf02"], - "payloads": ["d760f20b60ad"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-false-string-error:connected", - "observation": { - "sender": ["12edfd2bbf02", "edf7372929cd"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "9f0676ba0d67", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-false-string-error:setup-prompted", - "observation": { - "sender": ["12edfd2bbf02", "edf7372929cd", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "7a1b524f17d0", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-false-object-error:agents-detected", - "observation": { - "sender": ["73c44e3e321b"], - "payloads": ["d760f20b60ad"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-false-object-error:connected", - "observation": { - "sender": ["73c44e3e321b", "edf7372929cd"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "9f0676ba0d67", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-false-object-error:setup-prompted", - "observation": { - "sender": ["73c44e3e321b", "edf7372929cd", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "7a1b524f17d0", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.outer-refused:agents-detected", - "observation": { - "sender": ["4177bbc4d896"], - "payloads": ["d760f20b60ad"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-connected.outer-refused:connected", - "observation": { - "sender": ["4177bbc4d896", "edf7372929cd"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "9f0676ba0d67", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.outer-refused:setup-prompted", - "observation": { - "sender": ["4177bbc4d896", "edf7372929cd", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "7a1b524f17d0", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.outer-refused-no-message:agents-detected", - "observation": { - "sender": ["419b5c4f79c2"], - "payloads": ["d760f20b60ad"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-connected.outer-refused-no-message:connected", - "observation": { - "sender": ["419b5c4f79c2", "edf7372929cd"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "9f0676ba0d67", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.outer-refused-no-message:setup-prompted", - "observation": { - "sender": ["419b5c4f79c2", "edf7372929cd", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "7a1b524f17d0", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.method-not-found:agents-detected", - "observation": { - "sender": ["50c5123e1f42"], - "payloads": ["d760f20b60ad"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-connected.method-not-found:connected", - "observation": { - "sender": ["50c5123e1f42", "edf7372929cd"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "9f0676ba0d67", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.method-not-found:setup-prompted", - "observation": { - "sender": ["50c5123e1f42", "edf7372929cd", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "7a1b524f17d0", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.transport-rejection:agents-detected", - "observation": { - "sender": ["680836f92e72"], - "payloads": ["d760f20b60ad"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-connected.transport-rejection:connected", - "observation": { - "sender": ["680836f92e72", "edf7372929cd"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "9f0676ba0d67", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.transport-rejection:setup-prompted", - "observation": { - "sender": ["680836f92e72", "edf7372929cd", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "7a1b524f17d0", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.transport-rejection-no-message:agents-detected", - "observation": { - "sender": ["97f2f33b0349"], - "payloads": ["d760f20b60ad"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "71225024ccf5", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "630e2f27face"] - } - }, - { - "id": "tw-workspace-ssh-connected.transport-rejection-no-message:connected", - "observation": { - "sender": ["97f2f33b0349", "edf7372929cd"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "9f0676ba0d67", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.transport-rejection-no-message:setup-prompted", - "observation": { - "sender": ["97f2f33b0349", "edf7372929cd", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "7a1b524f17d0", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "630e2f27face", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 858a4d195f3..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-repo.hooks-1.json +++ /dev/null @@ -1,982 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.workspace-ssh", - "family": "tasks.workspace-ssh", - "namedDeltas": [], - "values": { - "06f3dbe600c4": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (repo.hooks)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "0ba2cee4b538": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "command": "pnpm install", - "kind": "prompt", - "setupTrust": { - "contentHash": "hash-1", - "scriptContent": "pnpm install" - }, - "source": "repo" - } - }, - "11405363c62d": { - "name": "workspaceAgent", - "ordinal": 1, - "value": "claude" - }, - "13e6d0c47ca4": { - "name": "workspaceDetectedAgentIds", - "ordinal": 6, - "value": ["codex"] - }, - "1712c415bebf": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "decision": "inherit", - "kind": "decision" - } - }, - "18e6a3ac6471": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": "unresolved", - "ssh": { - "$rpc": "null" - } - }, - "21491b2ab3e0": { - "name": "repo.hooks#1", - "ordinal": 13, - "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-3", - "ok": false - } - } - }, - "2bdbcded5f9b": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "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-1", - "ok": true, - "result": ["codex"] - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "38ce16e16515": { - "name": "ssh.connect#1", - "ordinal": 10, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}" - }, - "43ead075ce12": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": { - "command": "pnpm install", - "kind": "prompt", - "setupTrust": { - "contentHash": "hash-1", - "scriptContent": "pnpm install" - }, - "source": "repo" - }, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "4983c5c25f98": { - "name": "repo.hooks#1", - "ordinal": 13, - "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-3", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "578534d016ce": { - "name": "repo.hooks#1", - "ordinal": 13, - "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-3", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "5de6d06f73f9": { - "name": "repo.hooks#1", - "ordinal": 13, - "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-3", - "ok": false - } - } - }, - "6a7c5f87227e": { - "name": "repo.hooks#1", - "ordinal": 13, - "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-3", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "7073ec04e595": { - "name": "repo.hooks#1", - "ordinal": 13, - "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-3", - "ok": false - } - } - }, - "7e1d82e5b5ed": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": { - "decision": "inherit", - "kind": "decision" - }, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "7f9fca3450c2": { - "name": "repo.hooks#1", - "ordinal": 13, - "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 - } - } - }, - "80ffce5fa2b3": { - "name": "workspaceSshState", - "ordinal": 11, - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "84149cfb1467": { - "name": "workspaceSshState", - "ordinal": 8, - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connecting", - "targetId": "ssh-1" - } - }, - "9637248df9cb": { - "name": "workspaceDetectedAgentIds", - "ordinal": 3, - "value": { - "$rpc": "null" - } - }, - "a1f755a38636": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": "unresolved", - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "a9ec92743b9e": { - "name": "workspaceAgentOverridden", - "ordinal": 2, - "value": false - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "bf0c0c00caf9": { - "name": "repo.hooks#1", - "ordinal": 14, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d68ba9a6772a": { - "name": "workspaceSshConnecting", - "ordinal": 7, - "value": true - }, - "d760f20b60ad": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" - }, - "e120e162215c": { - "name": "repo.hooks#1", - "ordinal": 13, - "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-3", - "ok": true - } - } - }, - "e44d3b580ab0": { - "name": "workspaceSshConnecting", - "ordinal": 12, - "value": false - }, - "e65f26fdbe1a": { - "name": "repo.hooks#1", - "ordinal": 13, - "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-3", - "ok": true, - "result": { - "hooks": { - "scripts": { - "setup": " pnpm install " - } - }, - "setupRunPolicy": "ask", - "setupTrust": { - "contentHash": "hash-1", - "scriptContent": "pnpm install" - }, - "source": "repo" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "edf7372929cd": { - "name": "ssh.connect#1", - "ordinal": 9, - "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" - } - } - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "f9b2685d6359": { - "name": "repo.hooks#1", - "ordinal": 13, - "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 - } - } - }, - "fc80d640a51e": { - "name": "repo.hooks#1", - "ordinal": 13, - "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-3", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.workspace-ssh-repo.hooks-1", - "checkpoints": [ - { - "id": "tw-workspace-ssh-connected.prelude:agents-detected", - "observation": { - "sender": ["2bdbcded5f9b"], - "payloads": ["d760f20b60ad"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "18e6a3ac6471", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "13e6d0c47ca4"] - } - }, - { - "id": "tw-workspace-ssh-connected.prelude:connected", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "a1f755a38636", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.normal:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "43ead075ce12", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.result-absent:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd", "e120e162215c"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "06f3dbe600c4" - }, - "state": "a1f755a38636", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.result-null:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd", "4983c5c25f98"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "06f3dbe600c4" - }, - "state": "a1f755a38636", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-ok-missing:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd", "578534d016ce"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "1712c415bebf" - }, - "state": "7e1d82e5b5ed", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-false-string-error:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd", "fc80d640a51e"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "1712c415bebf" - }, - "state": "7e1d82e5b5ed", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-false-object-error:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd", "6a7c5f87227e"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "1712c415bebf" - }, - "state": "7e1d82e5b5ed", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.outer-refused:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd", "5de6d06f73f9"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "32a7c0ae7918" - }, - "state": "a1f755a38636", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.outer-refused-no-message:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd", "7073ec04e595"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "f3b516f62081" - }, - "state": "a1f755a38636", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.method-not-found:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd", "21491b2ab3e0"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "b948e8307e81" - }, - "state": "a1f755a38636", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.transport-rejection:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd", "f9b2685d6359"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "a947768bc0ed" - }, - "state": "a1f755a38636", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.transport-rejection-no-message:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd", "7f9fca3450c2"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "c7584e82c72f" - }, - "state": "a1f755a38636", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 9f7074ccaaa..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-tasks.workspace-ssh-ssh.connect-1.json +++ /dev/null @@ -1,1403 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.workspace-ssh", - "family": "tasks.workspace-ssh", - "namedDeltas": [], - "values": { - "0ba2cee4b538": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "command": "pnpm install", - "kind": "prompt", - "setupTrust": { - "contentHash": "hash-1", - "scriptContent": "pnpm install" - }, - "source": "repo" - } - }, - "11405363c62d": { - "name": "workspaceAgent", - "ordinal": 1, - "value": "claude" - }, - "13e6d0c47ca4": { - "name": "workspaceDetectedAgentIds", - "ordinal": 6, - "value": ["codex"] - }, - "18e6a3ac6471": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": "unresolved", - "ssh": { - "$rpc": "null" - } - }, - "1cb3df749549": { - "name": "ssh.connect#1", - "ordinal": 9, - "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": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "1e9a9da4a926": { - "name": "ssh.connect#1", - "ordinal": 9, - "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": { - "error": "refused" - } - } - } - }, - "1f23852e9723": { - "name": "workspaceSshState", - "ordinal": 11, - "value": { - "error": "transport failure", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "263b165043b0": { - "name": "workspaceSshState", - "ordinal": 11, - "value": { - "error": "", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "2bdbcded5f9b": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 4, - "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-1", - "ok": true, - "result": ["codex"] - } - } - }, - "38ce16e16515": { - "name": "ssh.connect#1", - "ordinal": 10, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"ssh.connect\",\"params\":{\"targetId\":\"ssh-1\"}}" - }, - "42fb94e15a80": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": { - "command": "pnpm install", - "kind": "prompt", - "setupTrust": { - "contentHash": "hash-1", - "scriptContent": "pnpm install" - }, - "source": "repo" - }, - "ssh": { - "error": "transport failure", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "43ead075ce12": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": { - "command": "pnpm install", - "kind": "prompt", - "setupTrust": { - "contentHash": "hash-1", - "scriptContent": "pnpm install" - }, - "source": "repo" - }, - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "4945d0d7051c": { - "name": "ssh.connect#1", - "ordinal": 9, - "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": "Connection closed", - "isRpcDeliveryUnknown": true - } - } - }, - "4a24b4b276fa": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": { - "command": "pnpm install", - "kind": "prompt", - "setupTrust": { - "contentHash": "hash-1", - "scriptContent": "pnpm install" - }, - "source": "repo" - }, - "ssh": { - "error": "outer refused", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "4ca864d39d04": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": "unresolved", - "ssh": { - "error": "outer refused", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "5313715e0fbb": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": "unresolved", - "ssh": { - "error": "", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "578211a7c8d3": { - "name": "workspaceSshState", - "ordinal": 11, - "value": { - "error": "outer refused", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "598190aae703": { - "name": "ssh.connect#1", - "ordinal": 9, - "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-2", - "ok": false - } - } - }, - "59b0a15817e3": { - "name": "ssh.connect#1", - "ordinal": 9, - "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": { - "$rpc": "null" - } - } - } - }, - "6b6100c1c1e4": { - "name": "workspaceSshState", - "ordinal": 11, - "value": { - "error": "The host sent a reply this app could not read (ssh.connect)", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "6d2db0d7fee0": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": "unresolved", - "ssh": { - "error": "transport failure", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "6d8de141169c": { - "name": "ssh.connect#1", - "ordinal": 9, - "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": { - "error": "inner refused", - "ok": false - } - } - } - }, - "7dd30a2d39c7": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": "unresolved", - "ssh": { - "error": "The host sent a reply this app could not read (ssh.connect)", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "80ffce5fa2b3": { - "name": "workspaceSshState", - "ordinal": 11, - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "84149cfb1467": { - "name": "workspaceSshState", - "ordinal": 8, - "value": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connecting", - "targetId": "ssh-1" - } - }, - "8dc4620dc1de": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": "unresolved", - "ssh": { - "error": "Unknown method", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "9637248df9cb": { - "name": "workspaceDetectedAgentIds", - "ordinal": 3, - "value": { - "$rpc": "null" - } - }, - "9eb40e943577": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": { - "command": "pnpm install", - "kind": "prompt", - "setupTrust": { - "contentHash": "hash-1", - "scriptContent": "pnpm install" - }, - "source": "repo" - }, - "ssh": { - "error": "Unknown method", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "a1f755a38636": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": "unresolved", - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connected", - "targetId": "ssh-1" - } - }, - "a9ec92743b9e": { - "name": "workspaceAgentOverridden", - "ordinal": 2, - "value": false - }, - "aa15b77aca73": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": { - "command": "pnpm install", - "kind": "prompt", - "setupTrust": { - "contentHash": "hash-1", - "scriptContent": "pnpm install" - }, - "source": "repo" - }, - "ssh": { - "error": "", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "ac3916ea6d05": { - "name": "ssh.connect#1", - "ordinal": 9, - "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-2", - "ok": false - } - } - }, - "b8c64c3eae3b": { - "name": "ssh.connect#1", - "ordinal": 9, - "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 - } - } - }, - "baf0abed92b0": { - "name": "workspaceSshState", - "ordinal": 11, - "value": { - "error": "Unknown method", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "bf0c0c00caf9": { - "name": "repo.hooks#1", - "ordinal": 14, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"repo.hooks\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "cf105a6ee444": { - "agent": "claude", - "connecting": false, - "detected": ["codex"], - "setup": { - "command": "pnpm install", - "kind": "prompt", - "setupTrust": { - "contentHash": "hash-1", - "scriptContent": "pnpm install" - }, - "source": "repo" - }, - "ssh": { - "error": "The host sent a reply this app could not read (ssh.connect)", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "d1fbdfbafc30": { - "name": "workspaceSshState", - "ordinal": 11, - "value": { - "error": "Connection closed", - "reconnectAttempt": 0, - "status": "error", - "targetId": "ssh-1" - } - }, - "d4ca27d4f91b": { - "name": "ssh.connect#1", - "ordinal": 9, - "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-2", - "ok": false - } - } - }, - "d51843de7dc0": { - "name": "ssh.connect#1", - "ordinal": 9, - "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 - } - } - }, - "d68ba9a6772a": { - "name": "workspaceSshConnecting", - "ordinal": 7, - "value": true - }, - "d760f20b60ad": { - "name": "preflight.detectRemoteAgents#1", - "ordinal": 5, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"preflight.detectRemoteAgents\",\"params\":{\"connectionId\":\"ssh-1\"}}" - }, - "d86f0ed68c40": { - "agent": "claude", - "connecting": true, - "detected": ["codex"], - "setup": "unresolved", - "ssh": { - "error": { - "$rpc": "null" - }, - "reconnectAttempt": 0, - "status": "connecting", - "targetId": "ssh-1" - } - }, - "e44d3b580ab0": { - "name": "workspaceSshConnecting", - "ordinal": 12, - "value": false - }, - "e65f26fdbe1a": { - "name": "repo.hooks#1", - "ordinal": 13, - "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-3", - "ok": true, - "result": { - "hooks": { - "scripts": { - "setup": " pnpm install " - } - }, - "setupRunPolicy": "ask", - "setupTrust": { - "contentHash": "hash-1", - "scriptContent": "pnpm install" - }, - "source": "repo" - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "edf7372929cd": { - "name": "ssh.connect#1", - "ordinal": 9, - "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" - } - } - } - } - }, - "f3578583dfdc": { - "name": "ssh.connect#1", - "ordinal": 9, - "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 - } - } - } - }, - "recording": { - "scenario": "matrix-tasks.workspace-ssh-ssh.connect-1", - "checkpoints": [ - { - "id": "tw-workspace-ssh-connected.prelude:agents-detected", - "observation": { - "sender": ["2bdbcded5f9b"], - "payloads": ["d760f20b60ad"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "18e6a3ac6471", - "effects": ["11405363c62d", "a9ec92743b9e", "9637248df9cb", "13e6d0c47ca4"] - } - }, - { - "id": "tw-workspace-ssh-connected.prelude:cleanup", - "observation": { - "sender": ["2bdbcded5f9b", "4945d0d7051c"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "d86f0ed68c40", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "d1fbdfbafc30", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.normal:connected", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "a1f755a38636", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.normal:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "edf7372929cd", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "43ead075ce12", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.result-absent:connected", - "observation": { - "sender": ["2bdbcded5f9b", "d51843de7dc0"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "7dd30a2d39c7", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "6b6100c1c1e4", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.result-absent:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "d51843de7dc0", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "cf105a6ee444", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "6b6100c1c1e4", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.result-null:connected", - "observation": { - "sender": ["2bdbcded5f9b", "59b0a15817e3"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "7dd30a2d39c7", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "6b6100c1c1e4", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.result-null:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "59b0a15817e3", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "cf105a6ee444", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "6b6100c1c1e4", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-ok-missing:connected", - "observation": { - "sender": ["2bdbcded5f9b", "1e9a9da4a926"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "a1f755a38636", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-ok-missing:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "1e9a9da4a926", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "43ead075ce12", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-false-string-error:connected", - "observation": { - "sender": ["2bdbcded5f9b", "6d8de141169c"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "a1f755a38636", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-false-string-error:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "6d8de141169c", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "43ead075ce12", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-false-object-error:connected", - "observation": { - "sender": ["2bdbcded5f9b", "1cb3df749549"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "a1f755a38636", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.inner-false-object-error:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "1cb3df749549", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "43ead075ce12", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "80ffce5fa2b3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.outer-refused:connected", - "observation": { - "sender": ["2bdbcded5f9b", "598190aae703"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "4ca864d39d04", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "578211a7c8d3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.outer-refused:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "598190aae703", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "4a24b4b276fa", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "578211a7c8d3", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.outer-refused-no-message:connected", - "observation": { - "sender": ["2bdbcded5f9b", "d4ca27d4f91b"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "5313715e0fbb", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "263b165043b0", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.outer-refused-no-message:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "d4ca27d4f91b", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "aa15b77aca73", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "263b165043b0", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.method-not-found:connected", - "observation": { - "sender": ["2bdbcded5f9b", "ac3916ea6d05"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "8dc4620dc1de", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "baf0abed92b0", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.method-not-found:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "ac3916ea6d05", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "9eb40e943577", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "baf0abed92b0", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.transport-rejection:connected", - "observation": { - "sender": ["2bdbcded5f9b", "f3578583dfdc"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "6d2db0d7fee0", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "1f23852e9723", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.transport-rejection:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "f3578583dfdc", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "42fb94e15a80", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "1f23852e9723", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.transport-rejection-no-message:connected", - "observation": { - "sender": ["2bdbcded5f9b", "b8c64c3eae3b"], - "payloads": ["d760f20b60ad", "38ce16e16515"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a" - }, - "state": "5313715e0fbb", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "263b165043b0", - "e44d3b580ab0" - ] - } - }, - { - "id": "tw-workspace-ssh-connected.transport-rejection-no-message:setup-prompted", - "observation": { - "sender": ["2bdbcded5f9b", "b8c64c3eae3b", "e65f26fdbe1a"], - "payloads": ["d760f20b60ad", "38ce16e16515", "bf0c0c00caf9"], - "settlements": { - "mount": "eb79a9b3682a", - "connect": "eb79a9b3682a", - "setup": "0ba2cee4b538" - }, - "state": "aa15b77aca73", - "effects": [ - "11405363c62d", - "a9ec92743b9e", - "9637248df9cb", - "13e6d0c47ca4", - "d68ba9a6772a", - "84149cfb1467", - "263b165043b0", - "e44d3b580ab0" - ] - } - } - ] - } -} 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 deleted file mode 100644 index 73f31b27030..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-terminal.query-reply-terminal.send-1.json +++ /dev/null @@ -1,621 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "terminal.query-reply", - "family": "terminal.query-reply", - "namedDeltas": [], - "values": { - "0420904bea73": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "11a49f853eb8": { - "accepted": true - }, - "1c9b433a64af": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "45073f2a20cd": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - } - }, - "47af8c59000b": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "7ed3d39f0607": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": false - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "c4e418609064": { - "name": "terminal.send#1", - "ordinal": 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" - } - } - } - }, - "ccb884e12d95": { - "name": "terminal.send#1", - "ordinal": 2, - "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\"}}}" - }, - "cd7cf7b1f566": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - } - } - }, - "d0610239099e": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - } - }, - "d38917d7821b": { - "name": "terminal.send#1", - "ordinal": 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" - } - } - } - }, - "d8df66fb56fd": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "e3c7cb2287d9": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "f043bb99cc1d": { - "accepted": false - }, - "fdba7b2a8cca": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - } - }, - "recording": { - "scenario": "matrix-terminal.query-reply-terminal.send-1", - "checkpoints": [ - { - "id": "terminal-query-reply-accepted.normal:accepted", - "observation": { - "sender": ["cd7cf7b1f566"], - "payloads": ["ccb884e12d95"], - "settlements": { - "send": "84e5ca07cb7a" - }, - "state": "11a49f853eb8", - "effects": [] - } - }, - { - "id": "terminal-query-reply-accepted.result-absent:accepted", - "observation": { - "sender": ["47af8c59000b"], - "payloads": ["ccb884e12d95"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-query-reply-accepted.result-null:accepted", - "observation": { - "sender": ["c4e418609064"], - "payloads": ["ccb884e12d95"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-query-reply-accepted.inner-ok-missing:accepted", - "observation": { - "sender": ["d38917d7821b"], - "payloads": ["ccb884e12d95"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-query-reply-accepted.inner-false-string-error:accepted", - "observation": { - "sender": ["d0610239099e"], - "payloads": ["ccb884e12d95"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-query-reply-accepted.inner-false-object-error:accepted", - "observation": { - "sender": ["45073f2a20cd"], - "payloads": ["ccb884e12d95"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-query-reply-accepted.outer-refused:accepted", - "observation": { - "sender": ["d8df66fb56fd"], - "payloads": ["ccb884e12d95"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-query-reply-accepted.outer-refused-no-message:accepted", - "observation": { - "sender": ["1c9b433a64af"], - "payloads": ["ccb884e12d95"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-query-reply-accepted.method-not-found:accepted", - "observation": { - "sender": ["0420904bea73"], - "payloads": ["ccb884e12d95"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-query-reply-accepted.transport-rejection:accepted", - "observation": { - "sender": ["fdba7b2a8cca"], - "payloads": ["ccb884e12d95"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-query-reply-accepted.transport-rejection-no-message:accepted", - "observation": { - "sender": ["e3c7cb2287d9"], - "payloads": ["ccb884e12d95"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "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 deleted file mode 100644 index 12932366e53..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-terminal.raw-input-terminal.send-1.json +++ /dev/null @@ -1,610 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "terminal.accessory-raw-send", - "family": "terminal.raw-input", - "namedDeltas": [], - "values": { - "11a49f853eb8": { - "accepted": true - }, - "156c7440873c": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "19ea208dd914": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - } - }, - "1eb6f8a79c12": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "3e83e206433b": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "49c62bc1232e": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - } - } - }, - "57431c60d7f8": { - "name": "terminal.send#1", - "ordinal": 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" - } - } - } - }, - "5b40eb0575f8": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "727ebf3d264d": { - "name": "terminal.send#1", - "ordinal": 2, - "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 - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "864d3fb81a3f": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "af6c09771771": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - }, - "b41bc69ec943": { - "name": "terminal.send#1", - "ordinal": 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" - } - } - } - }, - "df5624c0a923": { - "name": "terminal.send#1", - "ordinal": 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 - } - } - } - }, - "f043bb99cc1d": { - "accepted": false - } - }, - "recording": { - "scenario": "matrix-terminal.raw-input-terminal.send-1", - "checkpoints": [ - { - "id": "terminal-raw-input-reported.normal:reported", - "observation": { - "sender": ["49c62bc1232e"], - "payloads": ["727ebf3d264d"], - "settlements": { - "send": "84e5ca07cb7a" - }, - "state": "11a49f853eb8", - "effects": [] - } - }, - { - "id": "terminal-raw-input-reported.result-absent:reported", - "observation": { - "sender": ["af6c09771771"], - "payloads": ["727ebf3d264d"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-raw-input-reported.result-null:reported", - "observation": { - "sender": ["b41bc69ec943"], - "payloads": ["727ebf3d264d"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-raw-input-reported.inner-ok-missing:reported", - "observation": { - "sender": ["57431c60d7f8"], - "payloads": ["727ebf3d264d"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-raw-input-reported.inner-false-string-error:reported", - "observation": { - "sender": ["df5624c0a923"], - "payloads": ["727ebf3d264d"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-raw-input-reported.inner-false-object-error:reported", - "observation": { - "sender": ["19ea208dd914"], - "payloads": ["727ebf3d264d"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-raw-input-reported.outer-refused:reported", - "observation": { - "sender": ["1eb6f8a79c12"], - "payloads": ["727ebf3d264d"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-raw-input-reported.outer-refused-no-message:reported", - "observation": { - "sender": ["156c7440873c"], - "payloads": ["727ebf3d264d"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-raw-input-reported.method-not-found:reported", - "observation": { - "sender": ["3e83e206433b"], - "payloads": ["727ebf3d264d"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-raw-input-reported.transport-rejection:reported", - "observation": { - "sender": ["5b40eb0575f8"], - "payloads": ["727ebf3d264d"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "effects": [] - } - }, - { - "id": "terminal-raw-input-reported.transport-rejection-no-message:reported", - "observation": { - "sender": ["864d3fb81a3f"], - "payloads": ["727ebf3d264d"], - "settlements": { - "send": "7ed3d39f0607" - }, - "state": "f043bb99cc1d", - "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 deleted file mode 100644 index 6f57af10eee..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-terminal.viewport-refit-terminal.updateviewport-1.json +++ /dev/null @@ -1,668 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "terminal.viewport-refit", - "family": "terminal.viewport-refit", - "namedDeltas": [], - "values": { - "00f9f7ee6897": { - "name": "terminal.updateViewport#1", - "ordinal": 2, - "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" - } - } - } - }, - "023dd4dc980e": { - "name": "terminal.updateViewport#1", - "ordinal": 2, - "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 - } - } - } - }, - "0c8f096f45e7": { - "name": "terminal.updateViewport#1", - "ordinal": 2, - "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" - } - } - } - }, - "3528bb02a8da": { - "name": "terminal.updateViewport#1", - "ordinal": 2, - "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 - } - } - }, - "488f89ec001e": { - "name": "terminal.updateViewport#1", - "ordinal": 2, - "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 - } - } - }, - "558c422ccf47": { - "name": "terminal.updateViewport#1", - "ordinal": 2, - "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 - } - } - } - }, - "685125182eef": { - "name": "reflow", - "ordinal": 4, - "value": { - "cols": 100, - "rows": 30 - } - }, - "71d36d2b307f": { - "name": "terminal.updateViewport#1", - "ordinal": 2, - "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 - } - } - }, - "737f04849b85": { - "name": "terminal.updateViewport#1", - "ordinal": 2, - "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 - } - } - }, - "7e0619ad636f": { - "measured": true, - "viewport": { - "cols": 100, - "rows": 30 - } - }, - "890d1937dd65": { - "name": "unsubscribe-terminal", - "ordinal": 4, - "value": { - "handle": "terminal-1" - } - }, - "8ee930d6bf0e": { - "name": "terminal.updateViewport#1", - "ordinal": 3, - "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}}}" - }, - "a47f5afd190d": { - "name": "terminal.updateViewport#1", - "ordinal": 2, - "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 - } - } - } - }, - "b0d098357ff3": { - "name": "terminal.updateViewport#1", - "ordinal": 2, - "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 - } - } - }, - "c0f39ed4140d": { - "name": "terminal.updateViewport#1", - "ordinal": 2, - "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 - } - } - }, - "c13357779299": { - "name": "subscribe-terminal", - "ordinal": 5, - "value": { - "handle": "terminal-1" - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f199e923e51c": { - "name": "measure-fit", - "ordinal": 1, - "value": { - "frameHeight": 600 - } - } - }, - "recording": { - "scenario": "matrix-terminal.viewport-refit-terminal.updateviewport-1", - "checkpoints": [ - { - "id": "terminal-viewport-refit-applied.normal:reflowed", - "observation": { - "sender": ["a47f5afd190d"], - "payloads": ["8ee930d6bf0e"], - "settlements": { - "mount": "eb79a9b3682a", - "height": "eb79a9b3682a" - }, - "state": "7e0619ad636f", - "effects": ["f199e923e51c", "685125182eef"] - } - }, - { - "id": "terminal-viewport-refit-applied.result-absent:reflowed", - "observation": { - "sender": ["c0f39ed4140d"], - "payloads": ["8ee930d6bf0e"], - "settlements": { - "mount": "eb79a9b3682a", - "height": "eb79a9b3682a" - }, - "state": "7e0619ad636f", - "effects": ["f199e923e51c", "890d1937dd65", "c13357779299"] - } - }, - { - "id": "terminal-viewport-refit-applied.result-null:reflowed", - "observation": { - "sender": ["0c8f096f45e7"], - "payloads": ["8ee930d6bf0e"], - "settlements": { - "mount": "eb79a9b3682a", - "height": "eb79a9b3682a" - }, - "state": "7e0619ad636f", - "effects": ["f199e923e51c", "890d1937dd65", "c13357779299"] - } - }, - { - "id": "terminal-viewport-refit-applied.inner-ok-missing:reflowed", - "observation": { - "sender": ["00f9f7ee6897"], - "payloads": ["8ee930d6bf0e"], - "settlements": { - "mount": "eb79a9b3682a", - "height": "eb79a9b3682a" - }, - "state": "7e0619ad636f", - "effects": ["f199e923e51c", "890d1937dd65", "c13357779299"] - } - }, - { - "id": "terminal-viewport-refit-applied.inner-false-string-error:reflowed", - "observation": { - "sender": ["023dd4dc980e"], - "payloads": ["8ee930d6bf0e"], - "settlements": { - "mount": "eb79a9b3682a", - "height": "eb79a9b3682a" - }, - "state": "7e0619ad636f", - "effects": ["f199e923e51c", "890d1937dd65", "c13357779299"] - } - }, - { - "id": "terminal-viewport-refit-applied.inner-false-object-error:reflowed", - "observation": { - "sender": ["558c422ccf47"], - "payloads": ["8ee930d6bf0e"], - "settlements": { - "mount": "eb79a9b3682a", - "height": "eb79a9b3682a" - }, - "state": "7e0619ad636f", - "effects": ["f199e923e51c", "890d1937dd65", "c13357779299"] - } - }, - { - "id": "terminal-viewport-refit-applied.outer-refused:reflowed", - "observation": { - "sender": ["b0d098357ff3"], - "payloads": ["8ee930d6bf0e"], - "settlements": { - "mount": "eb79a9b3682a", - "height": "eb79a9b3682a" - }, - "state": "7e0619ad636f", - "effects": ["f199e923e51c", "890d1937dd65", "c13357779299"] - } - }, - { - "id": "terminal-viewport-refit-applied.outer-refused-no-message:reflowed", - "observation": { - "sender": ["3528bb02a8da"], - "payloads": ["8ee930d6bf0e"], - "settlements": { - "mount": "eb79a9b3682a", - "height": "eb79a9b3682a" - }, - "state": "7e0619ad636f", - "effects": ["f199e923e51c", "890d1937dd65", "c13357779299"] - } - }, - { - "id": "terminal-viewport-refit-applied.method-not-found:reflowed", - "observation": { - "sender": ["737f04849b85"], - "payloads": ["8ee930d6bf0e"], - "settlements": { - "mount": "eb79a9b3682a", - "height": "eb79a9b3682a" - }, - "state": "7e0619ad636f", - "effects": ["f199e923e51c", "890d1937dd65", "c13357779299"] - } - }, - { - "id": "terminal-viewport-refit-applied.transport-rejection:reflowed", - "observation": { - "sender": ["71d36d2b307f"], - "payloads": ["8ee930d6bf0e"], - "settlements": { - "mount": "eb79a9b3682a", - "height": "eb79a9b3682a" - }, - "state": "7e0619ad636f", - "effects": ["f199e923e51c", "890d1937dd65", "c13357779299"] - } - }, - { - "id": "terminal-viewport-refit-applied.transport-rejection-no-message:reflowed", - "observation": { - "sender": ["488f89ec001e"], - "payloads": ["8ee930d6bf0e"], - "settlements": { - "mount": "eb79a9b3682a", - "height": "eb79a9b3682a" - }, - "state": "7e0619ad636f", - "effects": ["f199e923e51c", "890d1937dd65", "c13357779299"] - } - } - ] - } -} 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 deleted file mode 100644 index d9145977fcb..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-transport.capability-probe-status.get-1.json +++ /dev/null @@ -1,541 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "transport.capability-probe", - "family": "transport.capability-probe", - "namedDeltas": [], - "values": { - "0474a1603b70": { - "name": "status.get#1", - "ordinal": 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 - } - } - } - }, - "0ccee4def5e0": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "16a71e555cb2": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "2b8c44a85130": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "2c76473bef66": { - "published": [] - }, - "41e8e39cc47e": { - "name": "status.get#1", - "ordinal": 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 - } - } - } - }, - "73bcd4456e97": { - "name": "status.get#1", - "ordinal": 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" - } - } - } - }, - "7b0d9b0d2428": { - "name": "status.get#1", - "ordinal": 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" - } - } - } - }, - "82f760e2c99f": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "8a814e9e8488": { - "name": "status.get#1", - "ordinal": 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"] - } - } - } - }, - "b799ba7b0c33": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "bd96613904d8": { - "published": [["push.v1", "codex.reset-credit"]] - }, - "cc97c2cd21f1": { - "published": [[]] - }, - "d08f74d65ee6": { - "name": "status.get#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "e90520ab92af": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "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": ["8a814e9e8488"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "bd96613904d8", - "effects": [] - } - }, - { - "id": "transport-capability-probe-publishes.result-absent:capabilities-published", - "observation": { - "sender": ["0ccee4def5e0"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "cc97c2cd21f1", - "effects": [] - } - }, - { - "id": "transport-capability-probe-publishes.result-null:capabilities-published", - "observation": { - "sender": ["73bcd4456e97"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "cc97c2cd21f1", - "effects": [] - } - }, - { - "id": "transport-capability-probe-publishes.inner-ok-missing:capabilities-published", - "observation": { - "sender": ["7b0d9b0d2428"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "cc97c2cd21f1", - "effects": [] - } - }, - { - "id": "transport-capability-probe-publishes.inner-false-string-error:capabilities-published", - "observation": { - "sender": ["0474a1603b70"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "cc97c2cd21f1", - "effects": [] - } - }, - { - "id": "transport-capability-probe-publishes.inner-false-object-error:capabilities-published", - "observation": { - "sender": ["41e8e39cc47e"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "cc97c2cd21f1", - "effects": [] - } - }, - { - "id": "transport-capability-probe-publishes.outer-refused:capabilities-published", - "observation": { - "sender": ["16a71e555cb2"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "2c76473bef66", - "effects": [] - } - }, - { - "id": "transport-capability-probe-publishes.outer-refused-no-message:capabilities-published", - "observation": { - "sender": ["82f760e2c99f"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "2c76473bef66", - "effects": [] - } - }, - { - "id": "transport-capability-probe-publishes.method-not-found:capabilities-published", - "observation": { - "sender": ["e90520ab92af"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "2c76473bef66", - "effects": [] - } - }, - { - "id": "transport-capability-probe-publishes.transport-rejection:capabilities-published", - "observation": { - "sender": ["2b8c44a85130"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "start": "eb79a9b3682a" - }, - "state": "2c76473bef66", - "effects": [] - } - }, - { - "id": "transport-capability-probe-publishes.transport-rejection-no-message:capabilities-published", - "observation": { - "sender": ["b799ba7b0c33"], - "payloads": ["d08f74d65ee6"], - "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 deleted file mode 100644 index f8eaf5c6e64..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-transport.host-status-gates-status.get-1.json +++ /dev/null @@ -1,570 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "transport.host-status-gates", - "family": "transport.host-status-gates", - "namedDeltas": [], - "values": { - "0474a1603b70": { - "name": "status.get#1", - "ordinal": 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 - } - } - } - }, - "0ccee4def5e0": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "16a71e555cb2": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "2b8c44a85130": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "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" - } - }, - "41e8e39cc47e": { - "name": "status.get#1", - "ordinal": 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 - } - } - } - }, - "73bcd4456e97": { - "name": "status.get#1", - "ordinal": 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" - } - } - } - }, - "7b0d9b0d2428": { - "name": "status.get#1", - "ordinal": 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" - } - } - } - }, - "82f760e2c99f": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "b799ba7b0c33": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "d08f74d65ee6": { - "name": "status.get#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "df2c10616b5e": { - "appVersion": { - "$rpc": "null" - }, - "capabilities": [], - "floatingWorkspace": false, - "pending": false, - "verdict": { - "kind": "ok" - } - }, - "e90520ab92af": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f2be9b1b6c7a": { - "name": "status.get#1", - "ordinal": 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": ["f2be9b1b6c7a"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "36d81979cef2", - "effects": [] - } - }, - { - "id": "transport-host-status-gates-ready.result-absent:gates-proven", - "observation": { - "sender": ["0ccee4def5e0"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "df2c10616b5e", - "effects": [] - } - }, - { - "id": "transport-host-status-gates-ready.result-null:gates-proven", - "observation": { - "sender": ["73bcd4456e97"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "df2c10616b5e", - "effects": [] - } - }, - { - "id": "transport-host-status-gates-ready.inner-ok-missing:gates-proven", - "observation": { - "sender": ["7b0d9b0d2428"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "3494eeb65d3d", - "effects": [] - } - }, - { - "id": "transport-host-status-gates-ready.inner-false-string-error:gates-proven", - "observation": { - "sender": ["0474a1603b70"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "3494eeb65d3d", - "effects": [] - } - }, - { - "id": "transport-host-status-gates-ready.inner-false-object-error:gates-proven", - "observation": { - "sender": ["41e8e39cc47e"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "3494eeb65d3d", - "effects": [] - } - }, - { - "id": "transport-host-status-gates-ready.outer-refused:gates-proven", - "observation": { - "sender": ["16a71e555cb2"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "df2c10616b5e", - "effects": [] - } - }, - { - "id": "transport-host-status-gates-ready.outer-refused-no-message:gates-proven", - "observation": { - "sender": ["82f760e2c99f"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "df2c10616b5e", - "effects": [] - } - }, - { - "id": "transport-host-status-gates-ready.method-not-found:gates-proven", - "observation": { - "sender": ["e90520ab92af"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "df2c10616b5e", - "effects": [] - } - }, - { - "id": "transport-host-status-gates-ready.transport-rejection:gates-proven", - "observation": { - "sender": ["2b8c44a85130"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "df2c10616b5e", - "effects": [] - } - }, - { - "id": "transport-host-status-gates-ready.transport-rejection-no-message:gates-proven", - "observation": { - "sender": ["b799ba7b0c33"], - "payloads": ["d08f74d65ee6"], - "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 deleted file mode 100644 index 758a2eb9a21..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-transport.pairing-race-direct-status.json +++ /dev/null @@ -1,577 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "transport.pairing-race", - "family": "transport.pairing-race", - "namedDeltas": [], - "values": { - "0474a1603b70": { - "name": "status.get#1", - "ordinal": 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 - } - } - } - }, - "0ccee4def5e0": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "16a71e555cb2": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "2a6d50107927": { - "name": "candidate-closed", - "ordinal": 5, - "value": "direct" - }, - "2b8c44a85130": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "416024b9c436": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": "relay" - }, - "41e8e39cc47e": { - "name": "status.get#1", - "ordinal": 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 - } - } - } - }, - "61a4715b43bf": { - "name": "status.get#2", - "ordinal": 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": [] - } - } - } - }, - "73bcd4456e97": { - "name": "status.get#1", - "ordinal": 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" - } - } - } - }, - "7b0d9b0d2428": { - "name": "status.get#1", - "ordinal": 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" - } - } - } - }, - "82f760e2c99f": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "a1e33b5bf8ef": { - "name": "status.get#1", - "ordinal": 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": [] - } - } - } - }, - "a7d5becc0aed": { - "outcome": "relay" - }, - "b799ba7b0c33": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "e7b5d7d57a61": { - "name": "status.get#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "e90520ab92af": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "f1834177e593": { - "name": "status.get#2", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - } - }, - "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": ["a1e33b5bf8ef", "61a4715b43bf"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.result-absent:relay-wins-when-it-completes-first", - "observation": { - "sender": ["0ccee4def5e0", "61a4715b43bf"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.result-null:relay-wins-when-it-completes-first", - "observation": { - "sender": ["73bcd4456e97", "61a4715b43bf"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.inner-ok-missing:relay-wins-when-it-completes-first", - "observation": { - "sender": ["7b0d9b0d2428", "61a4715b43bf"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.inner-false-string-error:relay-wins-when-it-completes-first", - "observation": { - "sender": ["0474a1603b70", "61a4715b43bf"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.inner-false-object-error:relay-wins-when-it-completes-first", - "observation": { - "sender": ["41e8e39cc47e", "61a4715b43bf"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.outer-refused:relay-wins-when-it-completes-first", - "observation": { - "sender": ["16a71e555cb2", "61a4715b43bf"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.outer-refused-no-message:relay-wins-when-it-completes-first", - "observation": { - "sender": ["82f760e2c99f", "61a4715b43bf"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.method-not-found:relay-wins-when-it-completes-first", - "observation": { - "sender": ["e90520ab92af", "61a4715b43bf"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.transport-rejection:relay-wins-when-it-completes-first", - "observation": { - "sender": ["2b8c44a85130", "61a4715b43bf"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.transport-rejection-no-message:relay-wins-when-it-completes-first", - "observation": { - "sender": ["b799ba7b0c33", "61a4715b43bf"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - } - ] - } -} 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 deleted file mode 100644 index 9f36c270ddf..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-transport.pairing-race-relay-status.json +++ /dev/null @@ -1,591 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "transport.pairing-race", - "family": "transport.pairing-race", - "namedDeltas": [], - "values": { - "0e93084d1837": { - "name": "status.get#2", - "ordinal": 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 - } - } - }, - "1b10d3621431": { - "name": "status.get#2", - "ordinal": 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 - } - } - } - }, - "2a6d50107927": { - "name": "candidate-closed", - "ordinal": 5, - "value": "direct" - }, - "416024b9c436": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": "relay" - }, - "61a4715b43bf": { - "name": "status.get#2", - "ordinal": 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": [] - } - } - } - }, - "87b3f15cb10e": { - "name": "status.get#2", - "ordinal": 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 - } - } - }, - "93edac3a1c3e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": "direct" - }, - "95e5245e8cf5": { - "name": "status.get#2", - "ordinal": 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" - } - } - } - }, - "a1e33b5bf8ef": { - "name": "status.get#1", - "ordinal": 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": [] - } - } - } - }, - "a37b2f3a19fa": { - "name": "status.get#2", - "ordinal": 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 - } - } - } - }, - "a6c6e813ba5c": { - "name": "status.get#2", - "ordinal": 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" - } - } - } - }, - "a7d5becc0aed": { - "outcome": "relay" - }, - "b50486726948": { - "name": "status.get#2", - "ordinal": 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 - } - } - }, - "c12915b1fb1b": { - "name": "status.get#2", - "ordinal": 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 - } - } - }, - "ca99f593a4a0": { - "name": "candidate-closed", - "ordinal": 5, - "value": "relay" - }, - "d9b301beff12": { - "outcome": "direct" - }, - "e7b5d7d57a61": { - "name": "status.get#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "f1834177e593": { - "name": "status.get#2", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "f39d5bd1c382": { - "name": "status.get#2", - "ordinal": 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 - } - } - }, - "fe6ace51669b": { - "name": "status.get#2", - "ordinal": 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 - } - } - } - }, - "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": ["a1e33b5bf8ef", "61a4715b43bf"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.result-absent:relay-wins-when-it-completes-first", - "observation": { - "sender": ["a1e33b5bf8ef", "f39d5bd1c382"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.result-null:relay-wins-when-it-completes-first", - "observation": { - "sender": ["a1e33b5bf8ef", "95e5245e8cf5"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.inner-ok-missing:relay-wins-when-it-completes-first", - "observation": { - "sender": ["a1e33b5bf8ef", "a6c6e813ba5c"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.inner-false-string-error:relay-wins-when-it-completes-first", - "observation": { - "sender": ["a1e33b5bf8ef", "a37b2f3a19fa"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.inner-false-object-error:relay-wins-when-it-completes-first", - "observation": { - "sender": ["a1e33b5bf8ef", "1b10d3621431"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "416024b9c436" - }, - "state": "a7d5becc0aed", - "effects": ["2a6d50107927"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.outer-refused:relay-wins-when-it-completes-first", - "observation": { - "sender": ["a1e33b5bf8ef", "c12915b1fb1b"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "93edac3a1c3e" - }, - "state": "d9b301beff12", - "effects": ["ca99f593a4a0"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.outer-refused-no-message:relay-wins-when-it-completes-first", - "observation": { - "sender": ["a1e33b5bf8ef", "b50486726948"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "93edac3a1c3e" - }, - "state": "d9b301beff12", - "effects": ["ca99f593a4a0"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.method-not-found:relay-wins-when-it-completes-first", - "observation": { - "sender": ["a1e33b5bf8ef", "87b3f15cb10e"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "93edac3a1c3e" - }, - "state": "d9b301beff12", - "effects": ["ca99f593a4a0"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.transport-rejection:relay-wins-when-it-completes-first", - "observation": { - "sender": ["a1e33b5bf8ef", "fe6ace51669b"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "93edac3a1c3e" - }, - "state": "d9b301beff12", - "effects": ["ca99f593a4a0"] - } - }, - { - "id": "transport-pairing-race-relay-completes-first.transport-rejection-no-message:relay-wins-when-it-completes-first", - "observation": { - "sender": ["a1e33b5bf8ef", "0e93084d1837"], - "payloads": ["e7b5d7d57a61", "f1834177e593"], - "settlements": { - "race": "93edac3a1c3e" - }, - "state": "d9b301beff12", - "effects": ["ca99f593a4a0"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/matrix-worktree.agent-launch-create-agent.launch-1.json b/mobile/rpc-foundation/goldens/matrix-worktree.agent-launch-create-agent.launch-1.json deleted file mode 100644 index 50b07165d95..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-worktree.agent-launch-create-agent.launch-1.json +++ /dev/null @@ -1,797 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.worktree-create-retry", - "family": "worktree.agent-launch-create", - "namedDeltas": [], - "values": { - "12ace8a26229": { - "outcome": { - "error": "outer refused" - } - }, - "240b0b1c72b2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "" - } - }, - "25b1c746e7e7": { - "name": "agent.launch#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "agent.launch" - }, - { - "name": "params", - "value": { - "agent": "codex", - "target": { - "create": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - }, - "kind": "create-worktree" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "2d650f172c7e": { - "name": "agent.launch#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "agent.launch" - }, - { - "name": "params", - "value": { - "agent": "codex", - "target": { - "create": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - }, - "kind": "create-worktree" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "368f594f7f00": { - "name": "agent.launch#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "agent.launch" - }, - { - "name": "params", - "value": { - "agent": "codex", - "target": { - "create": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - }, - "kind": "create-worktree" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "3f946ad0279c": { - "outcome": "uncreated" - }, - "69b9efd3c553": { - "name": "worktree.create#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "7665e4eb5ce2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused" - } - }, - "772c3ce6f514": { - "name": "agent.launch#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "agent.launch" - }, - { - "name": "params", - "value": { - "agent": "codex", - "target": { - "create": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - }, - "kind": "create-worktree" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "7d651cae8837": { - "outcome": { - "error": "" - } - }, - "882a241ecac4": { - "name": "agent.launch#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "agent.launch" - }, - { - "name": "params", - "value": { - "agent": "codex", - "target": { - "create": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - }, - "kind": "create-worktree" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "97555d579c32": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "name": "kestrel", - "warning": "startup terminal failed", - "worktreeId": "repo-1::/w" - } - }, - "9df0ac2b0247": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Failed to create workspace" - } - }, - "a19446c94e4f": { - "name": "agent.launch#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"agent.launch\",\"params\":{\"agent\":\"codex\",\"target\":{\"kind\":\"create-worktree\",\"create\":{\"repo\":\"id:repo-1\",\"name\":\"kestrel\",\"clientMutationId\":\"mutation-1\"}}}}" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b070f4a5c63f": { - "name": "agent.launch#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "agent.launch" - }, - { - "name": "params", - "value": { - "agent": "codex", - "target": { - "create": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - }, - "kind": "create-worktree" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "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 - } - }, - "d13a578180f9": { - "name": "worktree.create#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.create\",\"params\":{\"repo\":\"id:repo-1\",\"name\":\"kestrel\",\"clientMutationId\":\"mutation-1\"}}" - }, - "d4b99c221491": { - "name": "agent.launch#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "agent.launch" - }, - { - "name": "params", - "value": { - "agent": "codex", - "target": { - "create": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - }, - "kind": "create-worktree" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "d53c007d1e7a": { - "name": "agent.launch#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "agent.launch" - }, - { - "name": "params", - "value": { - "agent": "codex", - "target": { - "create": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - }, - "kind": "create-worktree" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "e32d599d417d": { - "name": "agent.launch#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "agent.launch" - }, - { - "name": "params", - "value": { - "agent": "codex", - "target": { - "create": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - }, - "kind": "create-worktree" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "ea58146f75c4": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (agent.launch)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "ed1eb862d036": { - "outcome": { - "error": "Failed to create workspace" - } - }, - "f02b3d4d2928": { - "name": "agent.launch#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "agent.launch" - }, - { - "name": "params", - "value": { - "agent": "codex", - "target": { - "create": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - }, - "kind": "create-worktree" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "f4c2ee5db891": { - "name": "agent.launch#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "agent.launch" - }, - { - "name": "params", - "value": { - "agent": "codex", - "target": { - "create": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - }, - "kind": "create-worktree" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "f53a3cfe8aa9": { - "name": "agent.launch#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "agent.launch" - }, - { - "name": "params", - "value": { - "agent": "codex", - "target": { - "create": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - }, - "kind": "create-worktree" - } - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "outcome": { - "handle": "t-1", - "kind": "structured", - "sessionId": "sess-1" - }, - "receipt": { - "detail": "Structured session created.", - "mode": "structured", - "preferred": "structured", - "reason": "user_default" - }, - "warning": " startup terminal failed ", - "worktreeId": "repo-1::/w" - } - } - } - }, - "f800fc04633e": { - "outcome": { - "name": "kestrel", - "warning": "startup terminal failed", - "worktreeId": "repo-1::/w" - } - } - }, - "recording": { - "scenario": "matrix-worktree.agent-launch-create-agent.launch-1", - "checkpoints": [ - { - "id": "tw-create-retry-agent-launched.prelude:sent", - "observation": { - "sender": ["f02b3d4d2928"], - "payloads": ["a19446c94e4f"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "tw-create-retry-agent-launched.normal:launched", - "observation": { - "sender": ["f53a3cfe8aa9"], - "payloads": ["a19446c94e4f"], - "settlements": { - "create": "97555d579c32" - }, - "state": "f800fc04633e", - "effects": [] - } - }, - { - "id": "tw-create-retry-agent-launched.result-absent:launched", - "observation": { - "sender": ["d4b99c221491"], - "payloads": ["a19446c94e4f"], - "settlements": { - "create": "ea58146f75c4" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "tw-create-retry-agent-launched.result-null:launched", - "observation": { - "sender": ["368f594f7f00"], - "payloads": ["a19446c94e4f"], - "settlements": { - "create": "ea58146f75c4" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "tw-create-retry-agent-launched.inner-ok-missing:launched", - "observation": { - "sender": ["2d650f172c7e"], - "payloads": ["a19446c94e4f"], - "settlements": { - "create": "9df0ac2b0247" - }, - "state": "ed1eb862d036", - "effects": [] - } - }, - { - "id": "tw-create-retry-agent-launched.inner-false-string-error:launched", - "observation": { - "sender": ["882a241ecac4"], - "payloads": ["a19446c94e4f"], - "settlements": { - "create": "9df0ac2b0247" - }, - "state": "ed1eb862d036", - "effects": [] - } - }, - { - "id": "tw-create-retry-agent-launched.inner-false-object-error:launched", - "observation": { - "sender": ["e32d599d417d"], - "payloads": ["a19446c94e4f"], - "settlements": { - "create": "9df0ac2b0247" - }, - "state": "ed1eb862d036", - "effects": [] - } - }, - { - "id": "tw-create-retry-agent-launched.outer-refused:launched", - "observation": { - "sender": ["b070f4a5c63f"], - "payloads": ["a19446c94e4f"], - "settlements": { - "create": "7665e4eb5ce2" - }, - "state": "12ace8a26229", - "effects": [] - } - }, - { - "id": "tw-create-retry-agent-launched.outer-refused-no-message:launched", - "observation": { - "sender": ["f4c2ee5db891"], - "payloads": ["a19446c94e4f"], - "settlements": { - "create": "240b0b1c72b2" - }, - "state": "7d651cae8837", - "effects": [] - } - }, - { - "id": "tw-create-retry-agent-launched.method-not-found:launched", - "observation": { - "sender": ["d53c007d1e7a", "69b9efd3c553"], - "payloads": ["a19446c94e4f", "d13a578180f9"], - "settlements": { - "create": "9270aeb7d9c6" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "tw-create-retry-agent-launched.transport-rejection:launched", - "observation": { - "sender": ["25b1c746e7e7"], - "payloads": ["a19446c94e4f"], - "settlements": { - "create": "a947768bc0ed" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "tw-create-retry-agent-launched.transport-rejection-no-message:launched", - "observation": { - "sender": ["772c3ce6f514"], - "payloads": ["a19446c94e4f"], - "settlements": { - "create": "c7584e82c72f" - }, - "state": "3f946ad0279c", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 4a743515082..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-worktree.catalog-snapshot-worktree.ps-1.json +++ /dev/null @@ -1,784 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "worktree.catalog-snapshot", - "family": "worktree.catalog-snapshot", - "namedDeltas": [], - "values": { - "0889f58065ee": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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 - } - } - }, - "0ce4a7117a8d": { - "admitted": { - "$rpc": "null" - }, - "fetched": { - "code": "refused", - "kind": "request_failed" - } - }, - "0d9bf2f46a5e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "code": "refused", - "kind": "request_failed" - } - }, - "11008b947f78": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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 - } - } - }, - "1778a8674d67": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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 - } - } - } - }, - "253b98015b8d": { - "admitted": "unadmitted", - "fetched": "unfetched" - }, - "298c6fbd5d42": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "34fb08d01b03": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "4e0fffc7f5de": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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 - } - } - }, - "4fc3262fae10": { - "admitted": { - "$rpc": "null" - }, - "fetched": { - "kind": "response", - "pending": { - "admission": { - "kind": "invalid" - }, - "client": "logical-client", - "hostId": "host-1", - "requestedSnapshotId": { - "$rpc": "null" - } - } - } - }, - "5e982fcaacf9": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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" - } - } - } - }, - "7fb1c6f9f3ae": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (worktree.ps)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "817623c64ce1": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "8e2c2fbe7e94": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "code": "method_not_found", - "kind": "request_failed" - } - }, - "922cb68379ac": { - "name": "worktree.ps#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "976f56339476": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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" - } - ] - } - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "afbf8da70602": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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 - } - } - } - }, - "b0a047ec8551": { - "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", - "requestedSnapshotId": { - "$rpc": "null" - } - } - } - }, - "b3e35186771c": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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 - } - }, - "c82b2286dfc6": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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 - } - } - }, - "ddc8c8bb4014": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "kind": "response", - "pending": { - "admission": { - "kind": "invalid" - }, - "client": "logical-client", - "hostId": "host-1", - "requestedSnapshotId": { - "$rpc": "null" - } - } - } - }, - "e160b2089696": { - "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", - "requestedSnapshotId": { - "$rpc": "null" - } - } - } - } - }, - "recording": { - "scenario": "matrix-worktree.catalog-snapshot-worktree.ps-1", - "checkpoints": [ - { - "id": "worktree-catalog-snapshot.prelude:catalog-pending", - "observation": { - "sender": ["34fb08d01b03"], - "payloads": ["922cb68379ac"], - "settlements": { - "fetch": "9270aeb7d9c6" - }, - "state": "253b98015b8d", - "effects": [] - } - }, - { - "id": "worktree-catalog-snapshot.normal:settled", - "observation": { - "sender": ["976f56339476"], - "payloads": ["922cb68379ac"], - "settlements": { - "fetch": "e160b2089696" - }, - "state": "b0a047ec8551", - "effects": [] - } - }, - { - "id": "worktree-catalog-snapshot.result-absent:settled", - "observation": { - "sender": ["817623c64ce1"], - "payloads": ["922cb68379ac"], - "settlements": { - "fetch": "7fb1c6f9f3ae" - }, - "state": "253b98015b8d", - "effects": [] - } - }, - { - "id": "worktree-catalog-snapshot.result-null:settled", - "observation": { - "sender": ["b3e35186771c"], - "payloads": ["922cb68379ac"], - "settlements": { - "fetch": "7fb1c6f9f3ae" - }, - "state": "253b98015b8d", - "effects": [] - } - }, - { - "id": "worktree-catalog-snapshot.inner-ok-missing:settled", - "observation": { - "sender": ["5e982fcaacf9"], - "payloads": ["922cb68379ac"], - "settlements": { - "fetch": "ddc8c8bb4014" - }, - "state": "4fc3262fae10", - "effects": [] - } - }, - { - "id": "worktree-catalog-snapshot.inner-false-string-error:settled", - "observation": { - "sender": ["afbf8da70602"], - "payloads": ["922cb68379ac"], - "settlements": { - "fetch": "ddc8c8bb4014" - }, - "state": "4fc3262fae10", - "effects": [] - } - }, - { - "id": "worktree-catalog-snapshot.inner-false-object-error:settled", - "observation": { - "sender": ["1778a8674d67"], - "payloads": ["922cb68379ac"], - "settlements": { - "fetch": "ddc8c8bb4014" - }, - "state": "4fc3262fae10", - "effects": [] - } - }, - { - "id": "worktree-catalog-snapshot.outer-refused:settled", - "observation": { - "sender": ["11008b947f78"], - "payloads": ["922cb68379ac"], - "settlements": { - "fetch": "0d9bf2f46a5e" - }, - "state": "0ce4a7117a8d", - "effects": [] - } - }, - { - "id": "worktree-catalog-snapshot.outer-refused-no-message:settled", - "observation": { - "sender": ["4e0fffc7f5de"], - "payloads": ["922cb68379ac"], - "settlements": { - "fetch": "0d9bf2f46a5e" - }, - "state": "0ce4a7117a8d", - "effects": [] - } - }, - { - "id": "worktree-catalog-snapshot.method-not-found:settled", - "observation": { - "sender": ["0889f58065ee"], - "payloads": ["922cb68379ac"], - "settlements": { - "fetch": "8e2c2fbe7e94" - }, - "state": "ba9be29baf40", - "effects": [] - } - }, - { - "id": "worktree-catalog-snapshot.transport-rejection:settled", - "observation": { - "sender": ["c82b2286dfc6"], - "payloads": ["922cb68379ac"], - "settlements": { - "fetch": "a947768bc0ed" - }, - "state": "253b98015b8d", - "effects": [] - } - }, - { - "id": "worktree-catalog-snapshot.transport-rejection-no-message:settled", - "observation": { - "sender": ["298c6fbd5d42"], - "payloads": ["922cb68379ac"], - "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 deleted file mode 100644 index d33aea5fac6..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-worktree.create-retry-worktree.create-1.json +++ /dev/null @@ -1,637 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.worktree-create-retry", - "family": "worktree.create-retry", - "namedDeltas": [], - "values": { - "06b14e4985de": { - "name": "worktree.create#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.create\",\"params\":{\"repo\":\"id:repo-1\",\"name\":\"kestrel\",\"clientMutationId\":\"mutation-1\"}}" - }, - "12ace8a26229": { - "outcome": { - "error": "outer refused" - } - }, - "240b0b1c72b2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "" - } - }, - "2824e28c3b74": { - "name": "worktree.create#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "method_not_found", - "message": "Unknown method" - }, - "id": "frame-1", - "ok": false - } - } - }, - "3f946ad0279c": { - "outcome": "uncreated" - }, - "52a7aa865a09": { - "name": "worktree.create#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "60da9621493e": { - "name": "worktree.create#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "worktree": { - "displayName": "kestrel", - "id": "repo-1::/w" - } - } - } - } - }, - "636b0892097b": { - "name": "worktree.create#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "67a20c90d720": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (worktree.create)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "7665e4eb5ce2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused" - } - }, - "7d651cae8837": { - "outcome": { - "error": "" - } - }, - "7fbbbeb1902c": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Unknown method" - } - }, - "810f613e774d": { - "name": "worktree.create#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "90d1f4941551": { - "name": "worktree.create#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "9cc25d051b87": { - "name": "worktree.create#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "a47d068fc282": { - "name": "worktree.create#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "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 - } - }, - "af1cf5b96577": { - "name": "worktree.create#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": { - "message": "inner refused" - }, - "ok": false - } - } - } - }, - "b32227fdb10b": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "name": "kestrel", - "worktreeId": "repo-1::/w" - } - }, - "b3ade96ab6d8": { - "name": "worktree.create#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "c26dcf914d04": { - "outcome": { - "error": "Unknown method" - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "df162b95f465": { - "outcome": { - "name": "kestrel", - "worktreeId": "repo-1::/w" - } - }, - "e6492b79ae1b": { - "name": "worktree.create#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.create" - }, - { - "name": "params", - "value": { - "clientMutationId": "mutation-1", - "name": "kestrel", - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 600000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - } - }, - "recording": { - "scenario": "matrix-worktree.create-retry-worktree.create-1", - "checkpoints": [ - { - "id": "tw-create-retry-created.normal:created", - "observation": { - "sender": ["60da9621493e"], - "payloads": ["06b14e4985de"], - "settlements": { - "create": "b32227fdb10b" - }, - "state": "df162b95f465", - "effects": [] - } - }, - { - "id": "tw-create-retry-created.result-absent:created", - "observation": { - "sender": ["9cc25d051b87"], - "payloads": ["06b14e4985de"], - "settlements": { - "create": "67a20c90d720" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "tw-create-retry-created.result-null:created", - "observation": { - "sender": ["e6492b79ae1b"], - "payloads": ["06b14e4985de"], - "settlements": { - "create": "67a20c90d720" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "tw-create-retry-created.inner-ok-missing:created", - "observation": { - "sender": ["636b0892097b"], - "payloads": ["06b14e4985de"], - "settlements": { - "create": "67a20c90d720" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "tw-create-retry-created.inner-false-string-error:created", - "observation": { - "sender": ["810f613e774d"], - "payloads": ["06b14e4985de"], - "settlements": { - "create": "67a20c90d720" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "tw-create-retry-created.inner-false-object-error:created", - "observation": { - "sender": ["af1cf5b96577"], - "payloads": ["06b14e4985de"], - "settlements": { - "create": "67a20c90d720" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "tw-create-retry-created.outer-refused:created", - "observation": { - "sender": ["52a7aa865a09"], - "payloads": ["06b14e4985de"], - "settlements": { - "create": "7665e4eb5ce2" - }, - "state": "12ace8a26229", - "effects": [] - } - }, - { - "id": "tw-create-retry-created.outer-refused-no-message:created", - "observation": { - "sender": ["a47d068fc282"], - "payloads": ["06b14e4985de"], - "settlements": { - "create": "240b0b1c72b2" - }, - "state": "7d651cae8837", - "effects": [] - } - }, - { - "id": "tw-create-retry-created.method-not-found:created", - "observation": { - "sender": ["2824e28c3b74"], - "payloads": ["06b14e4985de"], - "settlements": { - "create": "7fbbbeb1902c" - }, - "state": "c26dcf914d04", - "effects": [] - } - }, - { - "id": "tw-create-retry-created.transport-rejection:created", - "observation": { - "sender": ["b3ade96ab6d8"], - "payloads": ["06b14e4985de"], - "settlements": { - "create": "a947768bc0ed" - }, - "state": "3f946ad0279c", - "effects": [] - } - }, - { - "id": "tw-create-retry-created.transport-rejection-no-message:created", - "observation": { - "sender": ["90d1f4941551"], - "payloads": ["06b14e4985de"], - "settlements": { - "create": "c7584e82c72f" - }, - "state": "3f946ad0279c", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 71aabc3e2d2..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-worktree.home-catalog-worktree.ps-1.json +++ /dev/null @@ -1,678 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "worktree.home-catalog", - "family": "worktree.home-catalog", - "namedDeltas": [], - "values": { - "0889f58065ee": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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 - } - } - }, - "11008b947f78": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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 - } - } - }, - "1778a8674d67": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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 - } - } - } - }, - "298c6fbd5d42": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "34fb08d01b03": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "44136fa355b3": {}, - "4e0fffc7f5de": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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 - } - } - }, - "5e982fcaacf9": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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" - } - } - } - }, - "628656d5b8c6": { - "name": "info", - "ordinal": 3, - "value": { - "host-1": { - "activeCount": 0, - "catalogUnavailable": true, - "hostId": "host-1", - "totalWorktrees": 0 - } - } - }, - "800962c868e7": { - "host-1": { - "activeCount": 2, - "agents": [], - "countsProvenAt": 1767225600000, - "hostId": "host-1", - "totalWorktrees": 2 - } - }, - "817623c64ce1": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "limit": 10000 - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "89066e878348": { - "name": "info", - "ordinal": 3, - "value": { - "host-1": { - "activeCount": 2, - "agents": [], - "countsProvenAt": 1767225600000, - "hostId": "host-1", - "totalWorktrees": 2 - } - } - }, - "922cb68379ac": { - "name": "worktree.ps#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.ps\",\"params\":{\"limit\":10000,\"afterSnapshotId\":null,\"acceptRowDelta\":true,\"supportsWorktreeVisibilitySourceDefaults\":true}}" - }, - "92357b2812ef": { - "host-1": { - "activeCount": 0, - "catalogUnavailable": true, - "hostId": "host-1", - "totalWorktrees": 0 - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "afbf8da70602": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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 - } - } - } - }, - "b3e35186771c": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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" - } - } - } - }, - "c82b2286dfc6": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "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 - } - } - }, - "e36f43e93321": { - "name": "worktree.ps#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.ps" - }, - { - "name": "params", - "value": { - "acceptRowDelta": true, - "afterSnapshotId": { - "$rpc": "null" - }, - "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" - } - ] - } - } - } - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - } - }, - "recording": { - "scenario": "matrix-worktree.home-catalog-worktree.ps-1", - "checkpoints": [ - { - "id": "worktree-home-catalog.prelude:catalog-pending", - "observation": { - "sender": ["34fb08d01b03"], - "payloads": ["922cb68379ac"], - "settlements": { - "load": "9270aeb7d9c6" - }, - "state": "44136fa355b3", - "effects": [] - } - }, - { - "id": "worktree-home-catalog.normal:settled", - "observation": { - "sender": ["e36f43e93321"], - "payloads": ["922cb68379ac"], - "settlements": { - "load": "eb79a9b3682a" - }, - "state": "800962c868e7", - "effects": ["89066e878348"] - } - }, - { - "id": "worktree-home-catalog.result-absent:settled", - "observation": { - "sender": ["817623c64ce1"], - "payloads": ["922cb68379ac"], - "settlements": { - "load": "eb79a9b3682a" - }, - "state": "92357b2812ef", - "effects": ["628656d5b8c6"] - } - }, - { - "id": "worktree-home-catalog.result-null:settled", - "observation": { - "sender": ["b3e35186771c"], - "payloads": ["922cb68379ac"], - "settlements": { - "load": "eb79a9b3682a" - }, - "state": "92357b2812ef", - "effects": ["628656d5b8c6"] - } - }, - { - "id": "worktree-home-catalog.inner-ok-missing:settled", - "observation": { - "sender": ["5e982fcaacf9"], - "payloads": ["922cb68379ac"], - "settlements": { - "load": "eb79a9b3682a" - }, - "state": "92357b2812ef", - "effects": ["628656d5b8c6"] - } - }, - { - "id": "worktree-home-catalog.inner-false-string-error:settled", - "observation": { - "sender": ["afbf8da70602"], - "payloads": ["922cb68379ac"], - "settlements": { - "load": "eb79a9b3682a" - }, - "state": "92357b2812ef", - "effects": ["628656d5b8c6"] - } - }, - { - "id": "worktree-home-catalog.inner-false-object-error:settled", - "observation": { - "sender": ["1778a8674d67"], - "payloads": ["922cb68379ac"], - "settlements": { - "load": "eb79a9b3682a" - }, - "state": "92357b2812ef", - "effects": ["628656d5b8c6"] - } - }, - { - "id": "worktree-home-catalog.outer-refused:settled", - "observation": { - "sender": ["11008b947f78"], - "payloads": ["922cb68379ac"], - "settlements": { - "load": "eb79a9b3682a" - }, - "state": "92357b2812ef", - "effects": ["628656d5b8c6"] - } - }, - { - "id": "worktree-home-catalog.outer-refused-no-message:settled", - "observation": { - "sender": ["4e0fffc7f5de"], - "payloads": ["922cb68379ac"], - "settlements": { - "load": "eb79a9b3682a" - }, - "state": "92357b2812ef", - "effects": ["628656d5b8c6"] - } - }, - { - "id": "worktree-home-catalog.method-not-found:settled", - "observation": { - "sender": ["0889f58065ee"], - "payloads": ["922cb68379ac"], - "settlements": { - "load": "eb79a9b3682a" - }, - "state": "92357b2812ef", - "effects": ["628656d5b8c6"] - } - }, - { - "id": "worktree-home-catalog.transport-rejection:settled", - "observation": { - "sender": ["c82b2286dfc6"], - "payloads": ["922cb68379ac"], - "settlements": { - "load": "eb79a9b3682a" - }, - "state": "92357b2812ef", - "effects": ["628656d5b8c6"] - } - }, - { - "id": "worktree-home-catalog.transport-rejection-no-message:settled", - "observation": { - "sender": ["298c6fbd5d42"], - "payloads": ["922cb68379ac"], - "settlements": { - "load": "eb79a9b3682a" - }, - "state": "92357b2812ef", - "effects": ["628656d5b8c6"] - } - } - ] - } -} 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 deleted file mode 100644 index 82575576277..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-worktree.hosted-base-worktree.resolvemrbase-1.json +++ /dev/null @@ -1,725 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.composer-hosted-base", - "family": "worktree.hosted-base", - "namedDeltas": [], - "values": { - "00d9cbb6c946": { - "name": "worktree.resolveMrBase#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "worktree.resolveMrBase" - }, - { - "name": "params", - "value": { - "mrIid": 7, - "repo": "id:repo-1", - "sourceBranch": "feature" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "1788fb968913": { - "name": "worktree.resolvePrBase#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.resolvePrBase" - }, - { - "name": "params", - "value": { - "headRefName": "feature", - "prNumber": 12, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "baseBranch": "main", - "compareBaseRef": "origin/main" - } - } - } - }, - "236529aa012d": { - "mrBase": "unresolved", - "prBase": { - "baseBranch": "main", - "compareBaseRef": "origin/main" - } - }, - "2aaea8ee523e": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused", - "isRpcDeliveryUnknown": false - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "39eba5a87221": { - "name": "worktree.resolveMrBase#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "worktree.resolveMrBase" - }, - { - "name": "params", - "value": { - "mrIid": 7, - "repo": "id:repo-1", - "sourceBranch": "feature" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "3cca8119f144": { - "mrBase": { - "baseBranch": "develop" - }, - "prBase": { - "baseBranch": "main", - "compareBaseRef": "origin/main" - } - }, - "4291458cafad": { - "name": "worktree.resolveMrBase#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "worktree.resolveMrBase" - }, - { - "name": "params", - "value": { - "mrIid": 7, - "repo": "id:repo-1", - "sourceBranch": "feature" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "5428de0f5130": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "baseBranch": "main", - "compareBaseRef": "origin/main" - } - }, - "8b00f7de0885": { - "name": "worktree.resolveMrBase#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "worktree.resolveMrBase" - }, - { - "name": "params", - "value": { - "mrIid": 7, - "repo": "id:repo-1", - "sourceBranch": "feature" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "924a3decea89": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (worktree.resolveMrBase)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "92df85b51d0c": { - "name": "worktree.resolveMrBase#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.resolveMrBase\",\"params\":{\"repo\":\"id:repo-1\",\"mrIid\":7,\"sourceBranch\":\"feature\"}}" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aafcb4cd89c9": { - "name": "worktree.resolvePrBase#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.resolvePrBase\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"headRefName\":\"feature\"}}" - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "bca9eda9abce": { - "name": "worktree.resolveMrBase#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "worktree.resolveMrBase" - }, - { - "name": "params", - "value": { - "mrIid": 7, - "repo": "id:repo-1", - "sourceBranch": "feature" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "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 - } - }, - "c9e498d0bf9e": { - "name": "worktree.resolveMrBase#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "worktree.resolveMrBase" - }, - { - "name": "params", - "value": { - "mrIid": 7, - "repo": "id:repo-1", - "sourceBranch": "feature" - } - }, - { - "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 - } - } - }, - "d05b2d417b9c": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "inner refused", - "isRpcDeliveryUnknown": false - } - }, - "d29aaf6d46d3": { - "name": "worktree.resolveMrBase#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "worktree.resolveMrBase" - }, - { - "name": "params", - "value": { - "mrIid": 7, - "repo": "id:repo-1", - "sourceBranch": "feature" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "baseBranch": "develop" - } - } - } - }, - "e2c3f0048228": { - "name": "worktree.resolveMrBase#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "worktree.resolveMrBase" - }, - { - "name": "params", - "value": { - "mrIid": 7, - "repo": "id:repo-1", - "sourceBranch": "feature" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true - } - } - }, - "eba177e45010": { - "name": "worktree.resolveMrBase#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "worktree.resolveMrBase" - }, - { - "name": "params", - "value": { - "mrIid": 7, - "repo": "id:repo-1", - "sourceBranch": "feature" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "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 - } - }, - "fd552ecb03da": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "baseBranch": "develop" - } - }, - "ff3e4ff585e2": { - "name": "worktree.resolveMrBase#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "worktree.resolveMrBase" - }, - { - "name": "params", - "value": { - "mrIid": 7, - "repo": "id:repo-1", - "sourceBranch": "feature" - } - }, - { - "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 - } - } - } - }, - "ff7a22c14788": { - "name": "worktree.resolveMrBase#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "worktree.resolveMrBase" - }, - { - "name": "params", - "value": { - "mrIid": 7, - "repo": "id:repo-1", - "sourceBranch": "feature" - } - }, - { - "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-worktree.hosted-base-worktree.resolvemrbase-1", - "checkpoints": [ - { - "id": "tw-hosted-base-resolved.prelude:pr-base-resolved", - "observation": { - "sender": ["1788fb968913"], - "payloads": ["aafcb4cd89c9"], - "settlements": { - "pr": "5428de0f5130" - }, - "state": "236529aa012d", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.normal:mr-base-resolved", - "observation": { - "sender": ["1788fb968913", "d29aaf6d46d3"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "5428de0f5130", - "mr": "fd552ecb03da" - }, - "state": "3cca8119f144", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.result-absent:mr-base-resolved", - "observation": { - "sender": ["1788fb968913", "e2c3f0048228"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "5428de0f5130", - "mr": "924a3decea89" - }, - "state": "236529aa012d", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.result-null:mr-base-resolved", - "observation": { - "sender": ["1788fb968913", "00d9cbb6c946"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "5428de0f5130", - "mr": "924a3decea89" - }, - "state": "236529aa012d", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.inner-ok-missing:mr-base-resolved", - "observation": { - "sender": ["1788fb968913", "4291458cafad"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "5428de0f5130", - "mr": "2aaea8ee523e" - }, - "state": "236529aa012d", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.inner-false-string-error:mr-base-resolved", - "observation": { - "sender": ["1788fb968913", "39eba5a87221"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "5428de0f5130", - "mr": "d05b2d417b9c" - }, - "state": "236529aa012d", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.inner-false-object-error:mr-base-resolved", - "observation": { - "sender": ["1788fb968913", "ff3e4ff585e2"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "5428de0f5130", - "mr": "924a3decea89" - }, - "state": "236529aa012d", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.outer-refused:mr-base-resolved", - "observation": { - "sender": ["1788fb968913", "eba177e45010"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "5428de0f5130", - "mr": "32a7c0ae7918" - }, - "state": "236529aa012d", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.outer-refused-no-message:mr-base-resolved", - "observation": { - "sender": ["1788fb968913", "ff7a22c14788"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "5428de0f5130", - "mr": "f3b516f62081" - }, - "state": "236529aa012d", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.method-not-found:mr-base-resolved", - "observation": { - "sender": ["1788fb968913", "c9e498d0bf9e"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "5428de0f5130", - "mr": "b948e8307e81" - }, - "state": "236529aa012d", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.transport-rejection:mr-base-resolved", - "observation": { - "sender": ["1788fb968913", "8b00f7de0885"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "5428de0f5130", - "mr": "a947768bc0ed" - }, - "state": "236529aa012d", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.transport-rejection-no-message:mr-base-resolved", - "observation": { - "sender": ["1788fb968913", "bca9eda9abce"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "5428de0f5130", - "mr": "c7584e82c72f" - }, - "state": "236529aa012d", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 892299943b6..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-worktree.hosted-base-worktree.resolveprbase-1.json +++ /dev/null @@ -1,855 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.composer-hosted-base", - "family": "worktree.hosted-base", - "namedDeltas": [], - "values": { - "002fc122fadf": { - "name": "worktree.resolvePrBase#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.resolvePrBase" - }, - { - "name": "params", - "value": { - "headRefName": "feature", - "prNumber": 12, - "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" - } - } - } - }, - "0ace0141301c": { - "mrBase": { - "baseBranch": "develop" - }, - "prBase": "unresolved" - }, - "13c4ba7bcc5b": { - "name": "worktree.resolvePrBase#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.resolvePrBase" - }, - { - "name": "params", - "value": { - "headRefName": "feature", - "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 - } - } - }, - "1788fb968913": { - "name": "worktree.resolvePrBase#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.resolvePrBase" - }, - { - "name": "params", - "value": { - "headRefName": "feature", - "prNumber": 12, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "baseBranch": "main", - "compareBaseRef": "origin/main" - } - } - } - }, - "236529aa012d": { - "mrBase": "unresolved", - "prBase": { - "baseBranch": "main", - "compareBaseRef": "origin/main" - } - }, - "2960b5e672d1": { - "name": "worktree.resolvePrBase#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.resolvePrBase" - }, - { - "name": "params", - "value": { - "headRefName": "feature", - "prNumber": 12, - "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 - } - } - } - }, - "29d448354625": { - "name": "worktree.resolvePrBase#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.resolvePrBase" - }, - { - "name": "params", - "value": { - "headRefName": "feature", - "prNumber": 12, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "2aaea8ee523e": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "refused", - "isRpcDeliveryUnknown": false - } - }, - "31a22b101a8c": { - "name": "worktree.resolvePrBase#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.resolvePrBase" - }, - { - "name": "params", - "value": { - "headRefName": "feature", - "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-1", - "ok": false - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "3aecf21b9f18": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "RpcIncompatibleReplyError", - "message": "The host sent a reply this app could not read (worktree.resolvePrBase)", - "isRpcDeliveryUnknown": false, - "code": "incompatible_reply" - } - }, - "3cca8119f144": { - "mrBase": { - "baseBranch": "develop" - }, - "prBase": { - "baseBranch": "main", - "compareBaseRef": "origin/main" - } - }, - "41588341322e": { - "name": "worktree.resolvePrBase#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.resolvePrBase" - }, - { - "name": "params", - "value": { - "headRefName": "feature", - "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-1", - "ok": false - } - } - }, - "530b47ba5566": { - "name": "worktree.resolvePrBase#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.resolvePrBase" - }, - { - "name": "params", - "value": { - "headRefName": "feature", - "prNumber": 12, - "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 - } - } - } - }, - "5428de0f5130": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "baseBranch": "main", - "compareBaseRef": "origin/main" - } - }, - "5969a4256b60": { - "name": "worktree.resolvePrBase#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.resolvePrBase" - }, - { - "name": "params", - "value": { - "headRefName": "feature", - "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-1", - "ok": false - } - } - }, - "92df85b51d0c": { - "name": "worktree.resolveMrBase#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.resolveMrBase\",\"params\":{\"repo\":\"id:repo-1\",\"mrIid\":7,\"sourceBranch\":\"feature\"}}" - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "aa1d4be24599": { - "name": "worktree.resolvePrBase#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.resolvePrBase" - }, - { - "name": "params", - "value": { - "headRefName": "feature", - "prNumber": 12, - "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" - } - } - } - }, - "aafcb4cd89c9": { - "name": "worktree.resolvePrBase#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.resolvePrBase\",\"params\":{\"repo\":\"id:repo-1\",\"prNumber\":12,\"headRefName\":\"feature\"}}" - }, - "b948e8307e81": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "Unknown method", - "isRpcDeliveryUnknown": false - } - }, - "c57e06c96492": { - "mrBase": "unresolved", - "prBase": "unresolved" - }, - "c61debc4c0da": { - "name": "worktree.resolvePrBase#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.resolvePrBase" - }, - { - "name": "params", - "value": { - "headRefName": "feature", - "prNumber": 12, - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "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 - } - }, - "d29aaf6d46d3": { - "name": "worktree.resolveMrBase#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "worktree.resolveMrBase" - }, - { - "name": "params", - "value": { - "mrIid": 7, - "repo": "id:repo-1", - "sourceBranch": "feature" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "baseBranch": "develop" - } - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "fd552ecb03da": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "baseBranch": "develop" - } - } - }, - "recording": { - "scenario": "matrix-worktree.hosted-base-worktree.resolveprbase-1", - "checkpoints": [ - { - "id": "tw-hosted-base-resolved.normal:pr-base-resolved", - "observation": { - "sender": ["1788fb968913"], - "payloads": ["aafcb4cd89c9"], - "settlements": { - "pr": "5428de0f5130" - }, - "state": "236529aa012d", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.normal:mr-base-resolved", - "observation": { - "sender": ["1788fb968913", "d29aaf6d46d3"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "5428de0f5130", - "mr": "fd552ecb03da" - }, - "state": "3cca8119f144", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.result-absent:pr-base-resolved", - "observation": { - "sender": ["c61debc4c0da"], - "payloads": ["aafcb4cd89c9"], - "settlements": { - "pr": "3aecf21b9f18" - }, - "state": "c57e06c96492", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.result-absent:mr-base-resolved", - "observation": { - "sender": ["c61debc4c0da", "d29aaf6d46d3"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "3aecf21b9f18", - "mr": "fd552ecb03da" - }, - "state": "0ace0141301c", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.result-null:pr-base-resolved", - "observation": { - "sender": ["002fc122fadf"], - "payloads": ["aafcb4cd89c9"], - "settlements": { - "pr": "3aecf21b9f18" - }, - "state": "c57e06c96492", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.result-null:mr-base-resolved", - "observation": { - "sender": ["002fc122fadf", "d29aaf6d46d3"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "3aecf21b9f18", - "mr": "fd552ecb03da" - }, - "state": "0ace0141301c", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.inner-ok-missing:pr-base-resolved", - "observation": { - "sender": ["aa1d4be24599"], - "payloads": ["aafcb4cd89c9"], - "settlements": { - "pr": "2aaea8ee523e" - }, - "state": "c57e06c96492", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.inner-ok-missing:mr-base-resolved", - "observation": { - "sender": ["aa1d4be24599", "d29aaf6d46d3"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "2aaea8ee523e", - "mr": "fd552ecb03da" - }, - "state": "0ace0141301c", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.inner-false-string-error:pr-base-resolved", - "observation": { - "sender": ["530b47ba5566"], - "payloads": ["aafcb4cd89c9"], - "settlements": { - "pr": "d05b2d417b9c" - }, - "state": "c57e06c96492", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.inner-false-string-error:mr-base-resolved", - "observation": { - "sender": ["530b47ba5566", "d29aaf6d46d3"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "d05b2d417b9c", - "mr": "fd552ecb03da" - }, - "state": "0ace0141301c", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.inner-false-object-error:pr-base-resolved", - "observation": { - "sender": ["2960b5e672d1"], - "payloads": ["aafcb4cd89c9"], - "settlements": { - "pr": "3aecf21b9f18" - }, - "state": "c57e06c96492", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.inner-false-object-error:mr-base-resolved", - "observation": { - "sender": ["2960b5e672d1", "d29aaf6d46d3"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "3aecf21b9f18", - "mr": "fd552ecb03da" - }, - "state": "0ace0141301c", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.outer-refused:pr-base-resolved", - "observation": { - "sender": ["31a22b101a8c"], - "payloads": ["aafcb4cd89c9"], - "settlements": { - "pr": "32a7c0ae7918" - }, - "state": "c57e06c96492", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.outer-refused:mr-base-resolved", - "observation": { - "sender": ["31a22b101a8c", "d29aaf6d46d3"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "32a7c0ae7918", - "mr": "fd552ecb03da" - }, - "state": "0ace0141301c", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.outer-refused-no-message:pr-base-resolved", - "observation": { - "sender": ["5969a4256b60"], - "payloads": ["aafcb4cd89c9"], - "settlements": { - "pr": "f3b516f62081" - }, - "state": "c57e06c96492", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.outer-refused-no-message:mr-base-resolved", - "observation": { - "sender": ["5969a4256b60", "d29aaf6d46d3"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "f3b516f62081", - "mr": "fd552ecb03da" - }, - "state": "0ace0141301c", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.method-not-found:pr-base-resolved", - "observation": { - "sender": ["41588341322e"], - "payloads": ["aafcb4cd89c9"], - "settlements": { - "pr": "b948e8307e81" - }, - "state": "c57e06c96492", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.method-not-found:mr-base-resolved", - "observation": { - "sender": ["41588341322e", "d29aaf6d46d3"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "b948e8307e81", - "mr": "fd552ecb03da" - }, - "state": "0ace0141301c", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.transport-rejection:pr-base-resolved", - "observation": { - "sender": ["13c4ba7bcc5b"], - "payloads": ["aafcb4cd89c9"], - "settlements": { - "pr": "a947768bc0ed" - }, - "state": "c57e06c96492", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.transport-rejection:mr-base-resolved", - "observation": { - "sender": ["13c4ba7bcc5b", "d29aaf6d46d3"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "a947768bc0ed", - "mr": "fd552ecb03da" - }, - "state": "0ace0141301c", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.transport-rejection-no-message:pr-base-resolved", - "observation": { - "sender": ["29d448354625"], - "payloads": ["aafcb4cd89c9"], - "settlements": { - "pr": "c7584e82c72f" - }, - "state": "c57e06c96492", - "effects": [] - } - }, - { - "id": "tw-hosted-base-resolved.transport-rejection-no-message:mr-base-resolved", - "observation": { - "sender": ["29d448354625", "d29aaf6d46d3"], - "payloads": ["aafcb4cd89c9", "92df85b51d0c"], - "settlements": { - "pr": "c7584e82c72f", - "mr": "fd552ecb03da" - }, - "state": "0ace0141301c", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 663f5ae054e..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-worktree.retired-names-worktree.listretirednames-1.json +++ /dev/null @@ -1,587 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "worktree.retired-names", - "family": "worktree.retired-names", - "namedDeltas": [], - "values": { - "3a6762b141aa": { - "name": "worktree.listRetiredNames#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.listRetiredNames\",\"params\":{\"repo\":\"id:repo-1\"}}" - }, - "459a995b6e11": { - "name": "worktree.listRetiredNames#1", - "ordinal": 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 - } - } - }, - "6352d16d59e7": { - "name": "worktree.listRetiredNames#1", - "ordinal": 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 - } - } - } - }, - "69d1beb82fab": { - "name": "worktree.listRetiredNames#1", - "ordinal": 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 - } - } - }, - "6eed9d6c2ef7": { - "name": "worktree.listRetiredNames#1", - "ordinal": 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" - } - } - } - }, - "74ef9b0770d6": { - "name": "worktree.listRetiredNames#1", - "ordinal": 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 - } - } - } - }, - "840eaac5b440": { - "name": "worktree.listRetiredNames#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.listRetiredNames" - }, - { - "name": "params", - "value": { - "repo": "id:repo-1" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "8458df9e5ec7": { - "name": "worktree.listRetiredNames#1", - "ordinal": 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 - } - } - }, - "85d826c606ff": { - "registry": { - "exhaustedTiers": 2, - "names": ["marlin", "orca"] - } - }, - "90d43035c093": { - "name": "worktree.listRetiredNames#1", - "ordinal": 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 - } - } - }, - "97b3650e7890": { - "name": "worktree.listRetiredNames#1", - "ordinal": 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"] - } - } - } - } - }, - "bb4fad6b1862": { - "name": "worktree.listRetiredNames#1", - "ordinal": 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 - } - } - }, - "cb76d0017b96": { - "registry": { - "exhaustedTiers": 0, - "names": [] - } - }, - "d420905a085c": { - "name": "worktree.listRetiredNames#1", - "ordinal": 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" - } - } - } - }, - "dab70f4454e7": { - "name": "worktree.listRetiredNames#1", - "ordinal": 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": ["840eaac5b440"], - "payloads": ["3a6762b141aa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "cb76d0017b96", - "effects": [] - } - }, - { - "id": "worktree-retired-names.normal:settled", - "observation": { - "sender": ["97b3650e7890"], - "payloads": ["3a6762b141aa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "85d826c606ff", - "effects": [] - } - }, - { - "id": "worktree-retired-names.result-absent:settled", - "observation": { - "sender": ["8458df9e5ec7"], - "payloads": ["3a6762b141aa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "cb76d0017b96", - "effects": [] - } - }, - { - "id": "worktree-retired-names.result-null:settled", - "observation": { - "sender": ["d420905a085c"], - "payloads": ["3a6762b141aa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "cb76d0017b96", - "effects": [] - } - }, - { - "id": "worktree-retired-names.inner-ok-missing:settled", - "observation": { - "sender": ["6eed9d6c2ef7"], - "payloads": ["3a6762b141aa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "cb76d0017b96", - "effects": [] - } - }, - { - "id": "worktree-retired-names.inner-false-string-error:settled", - "observation": { - "sender": ["74ef9b0770d6"], - "payloads": ["3a6762b141aa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "cb76d0017b96", - "effects": [] - } - }, - { - "id": "worktree-retired-names.inner-false-object-error:settled", - "observation": { - "sender": ["6352d16d59e7"], - "payloads": ["3a6762b141aa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "cb76d0017b96", - "effects": [] - } - }, - { - "id": "worktree-retired-names.outer-refused:settled", - "observation": { - "sender": ["459a995b6e11"], - "payloads": ["3a6762b141aa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "cb76d0017b96", - "effects": [] - } - }, - { - "id": "worktree-retired-names.outer-refused-no-message:settled", - "observation": { - "sender": ["90d43035c093"], - "payloads": ["3a6762b141aa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "cb76d0017b96", - "effects": [] - } - }, - { - "id": "worktree-retired-names.method-not-found:settled", - "observation": { - "sender": ["69d1beb82fab"], - "payloads": ["3a6762b141aa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "cb76d0017b96", - "effects": [] - } - }, - { - "id": "worktree-retired-names.transport-rejection:settled", - "observation": { - "sender": ["dab70f4454e7"], - "payloads": ["3a6762b141aa"], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "cb76d0017b96", - "effects": [] - } - }, - { - "id": "worktree-retired-names.transport-rejection-no-message:settled", - "observation": { - "sender": ["bb4fad6b1862"], - "payloads": ["3a6762b141aa"], - "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 deleted file mode 100644 index f4929931ebd..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-worktree.review-link-worktree.set-1.json +++ /dev/null @@ -1,676 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "source-control.pr-link", - "family": "worktree.review-link", - "namedDeltas": [], - "values": { - "0d39ad71ac82": { - "linkedPR": "unread", - "outcome": { - "error": "Unknown method", - "ok": false - } - }, - "1852c739af4f": { - "linkedPR": "unread", - "outcome": { - "ok": true - } - }, - "1b2778bf67a2": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "outer refused", - "ok": false - } - }, - "1eca6a9f455a": { - "name": "worktree.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "linkedPR": 12, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "inner refused", - "ok": false - } - } - } - }, - "2c506a17fb12": { - "name": "worktree.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "linkedPR": 12, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "2ce9adc39d84": { - "name": "worktree.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "linkedPR": 12, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "2dadf8156e0a": { - "linkedPR": "unread", - "outcome": { - "error": "Failed to update linked pull request", - "ok": false - } - }, - "3c5c1d41026b": { - "name": "worktree.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "linkedPR": 12, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "outer refused" - }, - "id": "frame-1", - "ok": false - } - } - }, - "41bdce9de379": { - "linkedPR": "unread", - "outcome": "unlinked" - }, - "4b458696422e": { - "name": "worktree.set#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"worktree.set\",\"params\":{\"worktree\":\"id:repo42::/p\",\"linkedPR\":12}}" - }, - "5db472e0dad1": { - "name": "worktree.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "linkedPR": 12, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - } - }, - "70190b361502": { - "name": "worktree.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "linkedPR": 12, - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - } - }, - "921b977a5f07": { - "linkedPR": "unread", - "outcome": { - "error": "outer refused", - "ok": false - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "a197c20578aa": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "transport failure", - "ok": false - } - }, - "a42570f300ad": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Failed to update linked pull request", - "ok": false - } - }, - "c8de0688e42c": { - "linkedPR": "unread", - "outcome": { - "error": "transport failure", - "ok": false - } - }, - "c9f5a7510f9d": { - "name": "worktree.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "linkedPR": 12, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "d9935f684ca3": { - "name": "worktree.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "linkedPR": 12, - "worktree": "id:repo42::/p" - } - }, - { - "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 - } - } - }, - "f384395675ad": { - "linkedPR": "unread", - "outcome": { - "error": "", - "ok": false - } - }, - "f50799b307b6": { - "name": "worktree.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "linkedPR": 12, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "fa93ca01f266": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "Unknown method", - "ok": false - } - }, - "fb4429083480": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": "", - "ok": false - } - }, - "fb8390e4f36c": { - "name": "worktree.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "linkedPR": 12, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "fbc51b3438c8": { - "name": "worktree.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "linkedPR": 12, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "fbc958e4d46e": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "ok": true - } - }, - "fbdf619b8a78": { - "name": "worktree.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "worktree.set" - }, - { - "name": "params", - "value": { - "linkedPR": 12, - "worktree": "id:repo42::/p" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - } - }, - "recording": { - "scenario": "matrix-worktree.review-link-worktree.set-1", - "checkpoints": [ - { - "id": "sc-pr-link-set.prelude:pending", - "observation": { - "sender": ["f50799b307b6"], - "payloads": ["4b458696422e"], - "settlements": { - "link": "9270aeb7d9c6" - }, - "state": "41bdce9de379", - "effects": [] - } - }, - { - "id": "sc-pr-link-set.normal:settled", - "observation": { - "sender": ["fbc51b3438c8"], - "payloads": ["4b458696422e"], - "settlements": { - "link": "fbc958e4d46e" - }, - "state": "1852c739af4f", - "effects": [] - } - }, - { - "id": "sc-pr-link-set.result-absent:settled", - "observation": { - "sender": ["c9f5a7510f9d"], - "payloads": ["4b458696422e"], - "settlements": { - "link": "fbc958e4d46e" - }, - "state": "1852c739af4f", - "effects": [] - } - }, - { - "id": "sc-pr-link-set.result-null:settled", - "observation": { - "sender": ["2c506a17fb12"], - "payloads": ["4b458696422e"], - "settlements": { - "link": "fbc958e4d46e" - }, - "state": "1852c739af4f", - "effects": [] - } - }, - { - "id": "sc-pr-link-set.inner-ok-missing:settled", - "observation": { - "sender": ["2ce9adc39d84"], - "payloads": ["4b458696422e"], - "settlements": { - "link": "fbc958e4d46e" - }, - "state": "1852c739af4f", - "effects": [] - } - }, - { - "id": "sc-pr-link-set.inner-false-string-error:settled", - "observation": { - "sender": ["1eca6a9f455a"], - "payloads": ["4b458696422e"], - "settlements": { - "link": "fbc958e4d46e" - }, - "state": "1852c739af4f", - "effects": [] - } - }, - { - "id": "sc-pr-link-set.inner-false-object-error:settled", - "observation": { - "sender": ["70190b361502"], - "payloads": ["4b458696422e"], - "settlements": { - "link": "fbc958e4d46e" - }, - "state": "1852c739af4f", - "effects": [] - } - }, - { - "id": "sc-pr-link-set.outer-refused:settled", - "observation": { - "sender": ["3c5c1d41026b"], - "payloads": ["4b458696422e"], - "settlements": { - "link": "1b2778bf67a2" - }, - "state": "921b977a5f07", - "effects": [] - } - }, - { - "id": "sc-pr-link-set.outer-refused-no-message:settled", - "observation": { - "sender": ["fb8390e4f36c"], - "payloads": ["4b458696422e"], - "settlements": { - "link": "a42570f300ad" - }, - "state": "2dadf8156e0a", - "effects": [] - } - }, - { - "id": "sc-pr-link-set.method-not-found:settled", - "observation": { - "sender": ["d9935f684ca3"], - "payloads": ["4b458696422e"], - "settlements": { - "link": "fa93ca01f266" - }, - "state": "0d39ad71ac82", - "effects": [] - } - }, - { - "id": "sc-pr-link-set.transport-rejection:settled", - "observation": { - "sender": ["5db472e0dad1"], - "payloads": ["4b458696422e"], - "settlements": { - "link": "a197c20578aa" - }, - "state": "c8de0688e42c", - "effects": [] - } - }, - { - "id": "sc-pr-link-set.transport-rejection-no-message:settled", - "observation": { - "sender": ["fbdf619b8a78"], - "payloads": ["4b458696422e"], - "settlements": { - "link": "fb4429083480" - }, - "state": "f384395675ad", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index 1208fd130a2..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-worktree.runtime-capabilities-status.get-1.json +++ /dev/null @@ -1,599 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.worktree-capabilities", - "family": "worktree.runtime-capabilities", - "namedDeltas": [], - "values": { - "0474a1603b70": { - "name": "status.get#1", - "ordinal": 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 - } - } - } - }, - "0ccee4def5e0": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "16a71e555cb2": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "216adda2100c": { - "name": "status.get#1", - "ordinal": 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", "worktree.create-idempotency.v1"], - "platform": "linux", - "worktreeCreateIdempotency": { - "dedupeTtlMs": 45000 - } - } - } - } - }, - "2b8c44a85130": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "41e8e39cc47e": { - "name": "status.get#1", - "ordinal": 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 - } - } - } - }, - "456a1f9383e3": { - "capabilities": { - "agentLaunch": false, - "branchIntentV2": false, - "branchIntentV2Request": false, - "hostPlatform": { - "$rpc": "null" - }, - "tasksSupported": true, - "worktreeCreateIdempotency": { - "dedupeTtlMs": 45000 - } - } - }, - "59a45eb98b67": { - "capabilities": { - "$rpc": "null" - } - }, - "73bcd4456e97": { - "name": "status.get#1", - "ordinal": 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" - } - } - } - }, - "7b0d9b0d2428": { - "name": "status.get#1", - "ordinal": 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" - } - } - } - }, - "82f760e2c99f": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "a0a149765d23": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "agentLaunch": false, - "branchIntentV2": false, - "branchIntentV2Request": false, - "hostPlatform": { - "$rpc": "null" - }, - "tasksSupported": false, - "worktreeCreateIdempotency": false - } - }, - "b62568733b13": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "agentLaunch": false, - "branchIntentV2": false, - "branchIntentV2Request": false, - "hostPlatform": { - "$rpc": "null" - }, - "tasksSupported": true, - "worktreeCreateIdempotency": { - "dedupeTtlMs": 45000 - } - } - }, - "b799ba7b0c33": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "d08f74d65ee6": { - "name": "status.get#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"status.get\"}" - }, - "dc4e306d6dfc": { - "capabilities": { - "agentLaunch": false, - "branchIntentV2": false, - "branchIntentV2Request": false, - "hostPlatform": { - "$rpc": "null" - }, - "tasksSupported": false, - "worktreeCreateIdempotency": false - } - }, - "e90520ab92af": { - "name": "status.get#1", - "ordinal": 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 - } - } - }, - "ee20a1dc39e7": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "null" - } - } - }, - "recording": { - "scenario": "matrix-worktree.runtime-capabilities-status.get-1", - "checkpoints": [ - { - "id": "tw-capabilities-advertised.normal:probed", - "observation": { - "sender": ["216adda2100c"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "probe": "b62568733b13" - }, - "state": "456a1f9383e3", - "effects": [] - } - }, - { - "id": "tw-capabilities-advertised.result-absent:probed", - "observation": { - "sender": ["0ccee4def5e0"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "probe": "ee20a1dc39e7" - }, - "state": "59a45eb98b67", - "effects": [] - } - }, - { - "id": "tw-capabilities-advertised.result-null:probed", - "observation": { - "sender": ["73bcd4456e97"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "probe": "ee20a1dc39e7" - }, - "state": "59a45eb98b67", - "effects": [] - } - }, - { - "id": "tw-capabilities-advertised.inner-ok-missing:probed", - "observation": { - "sender": ["7b0d9b0d2428"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "probe": "a0a149765d23" - }, - "state": "dc4e306d6dfc", - "effects": [] - } - }, - { - "id": "tw-capabilities-advertised.inner-false-string-error:probed", - "observation": { - "sender": ["0474a1603b70"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "probe": "a0a149765d23" - }, - "state": "dc4e306d6dfc", - "effects": [] - } - }, - { - "id": "tw-capabilities-advertised.inner-false-object-error:probed", - "observation": { - "sender": ["41e8e39cc47e"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "probe": "a0a149765d23" - }, - "state": "dc4e306d6dfc", - "effects": [] - } - }, - { - "id": "tw-capabilities-advertised.outer-refused:probed", - "observation": { - "sender": ["16a71e555cb2"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "probe": "ee20a1dc39e7" - }, - "state": "59a45eb98b67", - "effects": [] - } - }, - { - "id": "tw-capabilities-advertised.outer-refused-no-message:probed", - "observation": { - "sender": ["82f760e2c99f"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "probe": "ee20a1dc39e7" - }, - "state": "59a45eb98b67", - "effects": [] - } - }, - { - "id": "tw-capabilities-advertised.method-not-found:probed", - "observation": { - "sender": ["e90520ab92af"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "probe": "ee20a1dc39e7" - }, - "state": "59a45eb98b67", - "effects": [] - } - }, - { - "id": "tw-capabilities-advertised.transport-rejection:probed", - "observation": { - "sender": ["2b8c44a85130"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "probe": "ee20a1dc39e7" - }, - "state": "59a45eb98b67", - "effects": [] - } - }, - { - "id": "tw-capabilities-advertised.transport-rejection-no-message:probed", - "observation": { - "sender": ["b799ba7b0c33"], - "payloads": ["d08f74d65ee6"], - "settlements": { - "probe": "ee20a1dc39e7" - }, - "state": "59a45eb98b67", - "effects": [] - } - } - ] - } -} 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 deleted file mode 100644 index bf43a3342a9..00000000000 --- a/mobile/rpc-foundation/goldens/matrix-worktree.setup-hook-trust-ui.set-1.json +++ /dev/null @@ -1,677 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "tasks.setup-hook-trust", - "family": "worktree.setup-hook-trust", - "namedDeltas": [], - "values": { - "0e645f49b2ec": { - "name": "ui.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ui.set" - }, - { - "name": "params", - "value": { - "trustedOrcaHooks": { - "repo-1": { - "setup": { - "approvedAt": 1767225600000, - "contentHash": "hash-1" - } - } - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "$rpc": "null" - } - } - } - }, - "229c35d1a4ba": { - "trust": "unapproved" - }, - "2a49963ba5f2": { - "name": "ui.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ui.set" - }, - { - "name": "params", - "value": { - "trustedOrcaHooks": { - "repo-1": { - "setup": { - "approvedAt": 1767225600000, - "contentHash": "hash-1" - } - } - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "error": "refused" - } - } - } - }, - "32a7c0ae7918": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "outer refused", - "isRpcDeliveryUnknown": false - } - }, - "4e1de403016f": { - "name": "ui.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ui.set" - }, - { - "name": "params", - "value": { - "trustedOrcaHooks": { - "repo-1": { - "setup": { - "approvedAt": 1767225600000, - "contentHash": "hash-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 - } - } - }, - "7942a3606c42": { - "name": "ui.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ui.set" - }, - { - "name": "params", - "value": { - "trustedOrcaHooks": { - "repo-1": { - "setup": { - "approvedAt": 1767225600000, - "contentHash": "hash-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 - } - } - } - }, - "86d0d8f71257": { - "name": "ui.set#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"ui.set\",\"params\":{\"trustedOrcaHooks\":{\"repo-1\":{\"setup\":{\"contentHash\":\"hash-1\",\"approvedAt\":1767225600000}}}}}" - }, - "94bc2d1b8bf5": { - "name": "ui.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ui.set" - }, - { - "name": "params", - "value": { - "trustedOrcaHooks": { - "repo-1": { - "setup": { - "approvedAt": 1767225600000, - "contentHash": "hash-1" - } - } - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "error": { - "code": "refused", - "message": "" - }, - "id": "frame-1", - "ok": false - } - } - }, - "9898e3438d26": { - "name": "ui.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ui.set" - }, - { - "name": "params", - "value": { - "trustedOrcaHooks": { - "repo-1": { - "setup": { - "approvedAt": 1767225600000, - "contentHash": "hash-1" - } - } - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - } - }, - "a406b068aeca": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "repo-1": { - "setup": { - "approvedAt": 1767225600000, - "contentHash": "hash-1" - } - } - } - }, - "a947768bc0ed": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "transport failure", - "isRpcDeliveryUnknown": true - } - }, - "b1985cd18838": { - "name": "ui.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ui.set" - }, - { - "name": "params", - "value": { - "trustedOrcaHooks": { - "repo-1": { - "setup": { - "approvedAt": 1767225600000, - "contentHash": "hash-1" - } - } - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true - } - } - }, - "b2aa9ff12623": { - "trust": { - "repo-1": { - "setup": { - "approvedAt": 1767225600000, - "contentHash": "hash-1" - } - } - } - }, - "b6040ec7c5de": { - "name": "ui.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ui.set" - }, - { - "name": "params", - "value": { - "trustedOrcaHooks": { - "repo-1": { - "setup": { - "approvedAt": 1767225600000, - "contentHash": "hash-1" - } - } - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "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 - } - }, - "c7584e82c72f": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": true - } - }, - "d7e16a29258d": { - "name": "ui.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ui.set" - }, - { - "name": "params", - "value": { - "trustedOrcaHooks": { - "repo-1": { - "setup": { - "approvedAt": 1767225600000, - "contentHash": "hash-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 - } - } - }, - "e2089203d4dd": { - "name": "ui.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ui.set" - }, - { - "name": "params", - "value": { - "trustedOrcaHooks": { - "repo-1": { - "setup": { - "approvedAt": 1767225600000, - "contentHash": "hash-1" - } - } - } - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "ok": true - } - } - } - }, - "f3b516f62081": { - "status": "rejected", - "startedAt": 0, - "settledAt": 0, - "error": { - "category": "Error", - "message": "", - "isRpcDeliveryUnknown": false - } - }, - "f4ee4ebf876d": { - "name": "ui.set#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "ui.set" - }, - { - "name": "params", - "value": { - "trustedOrcaHooks": { - "repo-1": { - "setup": { - "approvedAt": 1767225600000, - "contentHash": "hash-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-worktree.setup-hook-trust-ui.set-1", - "checkpoints": [ - { - "id": "tw-setup-hook-trust-approved.normal:approved", - "observation": { - "sender": ["e2089203d4dd"], - "payloads": ["86d0d8f71257"], - "settlements": { - "approve": "a406b068aeca" - }, - "state": "b2aa9ff12623", - "effects": [] - } - }, - { - "id": "tw-setup-hook-trust-approved.result-absent:approved", - "observation": { - "sender": ["b1985cd18838"], - "payloads": ["86d0d8f71257"], - "settlements": { - "approve": "a406b068aeca" - }, - "state": "b2aa9ff12623", - "effects": [] - } - }, - { - "id": "tw-setup-hook-trust-approved.result-null:approved", - "observation": { - "sender": ["0e645f49b2ec"], - "payloads": ["86d0d8f71257"], - "settlements": { - "approve": "a406b068aeca" - }, - "state": "b2aa9ff12623", - "effects": [] - } - }, - { - "id": "tw-setup-hook-trust-approved.inner-ok-missing:approved", - "observation": { - "sender": ["2a49963ba5f2"], - "payloads": ["86d0d8f71257"], - "settlements": { - "approve": "a406b068aeca" - }, - "state": "b2aa9ff12623", - "effects": [] - } - }, - { - "id": "tw-setup-hook-trust-approved.inner-false-string-error:approved", - "observation": { - "sender": ["f4ee4ebf876d"], - "payloads": ["86d0d8f71257"], - "settlements": { - "approve": "a406b068aeca" - }, - "state": "b2aa9ff12623", - "effects": [] - } - }, - { - "id": "tw-setup-hook-trust-approved.inner-false-object-error:approved", - "observation": { - "sender": ["7942a3606c42"], - "payloads": ["86d0d8f71257"], - "settlements": { - "approve": "a406b068aeca" - }, - "state": "b2aa9ff12623", - "effects": [] - } - }, - { - "id": "tw-setup-hook-trust-approved.outer-refused:approved", - "observation": { - "sender": ["4e1de403016f"], - "payloads": ["86d0d8f71257"], - "settlements": { - "approve": "32a7c0ae7918" - }, - "state": "229c35d1a4ba", - "effects": [] - } - }, - { - "id": "tw-setup-hook-trust-approved.outer-refused-no-message:approved", - "observation": { - "sender": ["94bc2d1b8bf5"], - "payloads": ["86d0d8f71257"], - "settlements": { - "approve": "f3b516f62081" - }, - "state": "229c35d1a4ba", - "effects": [] - } - }, - { - "id": "tw-setup-hook-trust-approved.method-not-found:approved", - "observation": { - "sender": ["d7e16a29258d"], - "payloads": ["86d0d8f71257"], - "settlements": { - "approve": "b948e8307e81" - }, - "state": "229c35d1a4ba", - "effects": [] - } - }, - { - "id": "tw-setup-hook-trust-approved.transport-rejection:approved", - "observation": { - "sender": ["b6040ec7c5de"], - "payloads": ["86d0d8f71257"], - "settlements": { - "approve": "a947768bc0ed" - }, - "state": "229c35d1a4ba", - "effects": [] - } - }, - { - "id": "tw-setup-hook-trust-approved.transport-rejection-no-message:approved", - "observation": { - "sender": ["9898e3438d26"], - "payloads": ["86d0d8f71257"], - "settlements": { - "approve": "c7584e82c72f" - }, - "state": "229c35d1a4ba", - "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 deleted file mode 100644 index 9fb13a59b4a..00000000000 --- a/mobile/rpc-foundation/goldens/native-chat-image-paste-trailing-image.json +++ /dev/null @@ -1,175 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "nativeChat.image-paste", - "family": "nativeChat.image-paste", - "namedDeltas": [], - "values": { - "0f02c1a90f93": { - "name": "terminal.send#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.send\",\"params\":{\"terminal\":\"terminal-1\",\"text\":\"\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u0015\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\\u000b\",\"enter\":false,\"client\":{\"id\":\"device-token-1\",\"type\":\"mobile\"}}}" - }, - "15a9fbee07a2": { - "name": "terminal.read#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "terminal.read" - }, - { - "name": "params", - "value": { - "limit": 1, - "screen": true, - "terminal": "terminal-1" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 2000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "terminal": {} - } - } - } - }, - "47a22f9d0047": { - "failure": { - "$rpc": "null" - }, - "pasted": true - }, - "65f9f1bdd4b7": { - "name": "terminal.send#2", - "ordinal": 6, - "json": "{\"id\":\"frame-3\",\"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\"}}}" - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "a3e305c984c6": { - "name": "terminal.send#1", - "ordinal": 3, - "args": [ - { - "name": "method", - "value": "terminal.send" - }, - { - "name": "params", - "value": { - "client": { - "id": "device-token-1", - "type": "mobile" - }, - "enter": false, - "terminal": "terminal-1", - "text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b" - } - }, - { - "name": "options", - "value": { - "budgetSpansConnect": true, - "timeoutMs": 15000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-2", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - }, - "abebd0f45ba2": { - "name": "terminal.read#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"terminal.read\",\"params\":{\"terminal\":\"terminal-1\",\"screen\":true,\"limit\":1}}" - }, - "ed61f4f27eb6": { - "name": "terminal.send#2", - "ordinal": 5, - "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-3", - "ok": true, - "result": { - "send": { - "accepted": true - } - } - } - } - } - }, - "recording": { - "scenario": "native-chat-image-paste-trailing-image", - "checkpoints": [ - { - "id": "pasted", - "observation": { - "sender": ["15a9fbee07a2", "a3e305c984c6", "ed61f4f27eb6"], - "payloads": ["abebd0f45ba2", "0f02c1a90f93", "65f9f1bdd4b7"], - "settlements": { - "trailing": "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 deleted file mode 100644 index d6aa4db899e..00000000000 --- a/mobile/rpc-foundation/goldens/native-chat-image-upload-cancelled.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "nativeChat.image-upload", - "family": "nativeChat.image-upload", - "namedDeltas": [], - "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-single.json b/mobile/rpc-foundation/goldens/native-chat-image-upload-single.json deleted file mode 100644 index dd67c8a4a19..00000000000 --- a/mobile/rpc-foundation/goldens/native-chat-image-upload-single.json +++ /dev/null @@ -1,178 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "nativeChat.image-upload", - "family": "nativeChat.image-upload", - "namedDeltas": [], - "values": { - "0d87f193fb59": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": [ - { - "path": "/tmp/img-1.png", - "previewUri": "file:///a.png" - } - ] - }, - "15d714ff61ff": { - "failure": { - "$rpc": "null" - }, - "uploaded": [ - { - "path": "/tmp/img-1.png", - "previewUri": "file:///a.png" - } - ] - }, - "6696a47819e1": { - "name": "clipboard.startImageUpload#1", - "ordinal": 3, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.startImageUpload\",\"params\":{\"expectedBase64Length\":32,\"connectionId\":\"connection-1\"}}" - }, - "7c2e3ea286aa": { - "name": "clipboard.startImageUpload#1", - "ordinal": 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-1", - "ok": true, - "result": { - "uploadId": "upload-1" - } - } - } - }, - "814ccd56a769": { - "name": "clipboard.appendImageUploadChunk#1", - "ordinal": 5, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.appendImageUploadChunk\",\"params\":{\"uploadId\":\"upload-1\",\"offset\":0,\"contentBase64\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}}" - }, - "8452698ac11a": { - "name": "clipboard.commitImageUpload#1", - "ordinal": 7, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"clipboard.commitImageUpload\",\"params\":{\"uploadId\":\"upload-1\"}}" - }, - "994fccf9b305": { - "name": "upload-start", - "ordinal": 1, - "value": {} - }, - "dd123d00d140": { - "name": "image-uploaded", - "ordinal": 8, - "value": { - "path": "/tmp/img-1.png", - "previewUri": "file:///a.png" - } - }, - "ec8f73d25f26": { - "name": "clipboard.commitImageUpload#1", - "ordinal": 6, - "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" - } - } - }, - "f05e4695ffa3": { - "name": "clipboard.appendImageUploadChunk#1", - "ordinal": 4, - "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": ["7c2e3ea286aa", "f05e4695ffa3", "ec8f73d25f26"], - "payloads": ["6696a47819e1", "814ccd56a769", "8452698ac11a"], - "settlements": { - "normal": "0d87f193fb59" - }, - "state": "15d714ff61ff", - "effects": ["994fccf9b305", "dd123d00d140"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/notifications-display-test-rate-limited.json b/mobile/rpc-foundation/goldens/notifications-display-test-rate-limited.json deleted file mode 100644 index ebd1db36f57..00000000000 --- a/mobile/rpc-foundation/goldens/notifications-display-test-rate-limited.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "notifications.display-test-screen", - "family": "notifications.display-test-screen", - "namedDeltas": [], - "values": { - "0bfc5a373e4d": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "2c1a6ce056ae": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronRight": 1, - "Pressable": 2, - "Text": 5, - "View": 7 - }, - "labels": ["Send test notification", "Troubleshooting"], - "text": [ - "Having trouble receiving alerts?", - "Send test notification", - "Troubleshooting", - "Test push delivery, or a local notification when push is unavailable.", - "Too many notifications. Try again later." - ] - }, - "8a172d4948a9": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronRight": 1, - "Pressable": 2, - "Text": 4, - "View": 7 - }, - "labels": ["Send test notification", "Troubleshooting"], - "text": [ - "Having trouble receiving alerts?", - "Send test notification", - "Troubleshooting", - "Test push delivery, or a local notification when push is unavailable." - ] - }, - "8cdc3e6a317e": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "accepted": false, - "reason": "rate_limited" - } - } - } - }, - "9585b40ac04d": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronRight": 1, - "Pressable": 2, - "Text": 5, - "View": 7 - }, - "labels": ["Sending…", "Troubleshooting"], - "text": [ - "Having trouble receiving alerts?", - "Send test notification", - "Sending…", - "Troubleshooting", - "Test push delivery, or a local notification when push is unavailable." - ] - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f68b017d64bd": { - "name": "notifications.testPush#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.testPush\",\"params\":null}" - } - }, - "recording": { - "scenario": "notifications-display-test-rate-limited", - "checkpoints": [ - { - "id": "mounted", - "observation": { - "sender": [], - "payloads": [], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8a172d4948a9", - "effects": [] - } - }, - { - "id": "sending", - "observation": { - "sender": ["0bfc5a373e4d"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "9585b40ac04d", - "effects": [] - } - }, - { - "id": "rate-limited", - "observation": { - "sender": ["8cdc3e6a317e"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "2c1a6ce056ae", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/notifications-display-test-unknown-reason.json b/mobile/rpc-foundation/goldens/notifications-display-test-unknown-reason.json deleted file mode 100644 index 95941a8e01c..00000000000 --- a/mobile/rpc-foundation/goldens/notifications-display-test-unknown-reason.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "notifications.display-test-screen", - "family": "notifications.display-test-screen", - "namedDeltas": [], - "values": { - "0bfc5a373e4d": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "14bb4c669631": { - "name": "reply-salvage", - "ordinal": 3, - "value": { - "droppedCount": 1, - "droppedPaths": ["reason"], - "method": "notifications.testPush", - "operation": "notifications.test-push-or-skip", - "variant": "push-test-result" - } - }, - "67d697ba09ce": { - "name": "notifications.testPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.testPush" - }, - { - "name": "params", - "value": { - "$rpc": "null" - } - }, - { - "name": "options", - "value": { - "failWhenDisconnected": true, - "timeoutMs": 20000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "accepted": false, - "reason": "quota_exceeded" - } - } - } - }, - "8a172d4948a9": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronRight": 1, - "Pressable": 2, - "Text": 4, - "View": 7 - }, - "labels": ["Send test notification", "Troubleshooting"], - "text": [ - "Having trouble receiving alerts?", - "Send test notification", - "Troubleshooting", - "Test push delivery, or a local notification when push is unavailable." - ] - }, - "93cdaf5110fc": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronRight": 1, - "Pressable": 2, - "Text": 5, - "View": 7 - }, - "labels": ["Send test notification", "Troubleshooting"], - "text": [ - "Having trouble receiving alerts?", - "Send test notification", - "Troubleshooting", - "Test push delivery, or a local notification when push is unavailable.", - "Could not send through Orca’s push service. Try again." - ] - }, - "9585b40ac04d": { - "crash": { - "$rpc": "null" - }, - "elements": { - "ChevronRight": 1, - "Pressable": 2, - "Text": 5, - "View": 7 - }, - "labels": ["Sending…", "Troubleshooting"], - "text": [ - "Having trouble receiving alerts?", - "Send test notification", - "Sending…", - "Troubleshooting", - "Test push delivery, or a local notification when push is unavailable." - ] - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "f68b017d64bd": { - "name": "notifications.testPush#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.testPush\",\"params\":null}" - } - }, - "recording": { - "scenario": "notifications-display-test-unknown-reason", - "checkpoints": [ - { - "id": "mounted", - "observation": { - "sender": [], - "payloads": [], - "settlements": { - "mount": "eb79a9b3682a" - }, - "state": "8a172d4948a9", - "effects": [] - } - }, - { - "id": "sending", - "observation": { - "sender": ["0bfc5a373e4d"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "9585b40ac04d", - "effects": [] - } - }, - { - "id": "unknown-reason", - "observation": { - "sender": ["67d697ba09ce"], - "payloads": ["f68b017d64bd"], - "settlements": { - "mount": "eb79a9b3682a", - "press": "eb79a9b3682a" - }, - "state": "93cdaf5110fc", - "effects": ["14bb4c669631"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/notifications-push-gateway-rejected.json b/mobile/rpc-foundation/goldens/notifications-push-gateway-rejected.json deleted file mode 100644 index 95b36ed5ed7..00000000000 --- a/mobile/rpc-foundation/goldens/notifications-push-gateway-rejected.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "notifications.push-registration", - "family": "notifications.push-registration", - "namedDeltas": [], - "values": { - "2e2cf4af7c51": { - "name": "notifications.registerPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.registerPush" - }, - { - "name": "params", - "value": { - "apnsEnvironment": "production", - "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 - } - } - } - }, - "2e71f48d7fa1": { - "register": false - }, - "692c015040bb": { - "name": "notifications.registerPush#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.registerPush\",\"params\":{\"platform\":\"ios\",\"token\":\"apns-token-1\",\"apnsEnvironment\":\"production\",\"filter\":{\"onlyWhenDesktopAway\":true,\"sound\":true}}}" - }, - "7ed3d39f0607": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": false - } - }, - "recording": { - "scenario": "notifications-push-gateway-rejected", - "checkpoints": [ - { - "id": "not-registered", - "observation": { - "sender": ["2e2cf4af7c51"], - "payloads": ["692c015040bb"], - "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 deleted file mode 100644 index c4a2fa31e02..00000000000 --- a/mobile/rpc-foundation/goldens/notifications-push-registered.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "notifications.push-registration", - "family": "notifications.push-registration", - "namedDeltas": [], - "values": { - "692c015040bb": { - "name": "notifications.registerPush#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.registerPush\",\"params\":{\"platform\":\"ios\",\"token\":\"apns-token-1\",\"apnsEnvironment\":\"production\",\"filter\":{\"onlyWhenDesktopAway\":true,\"sound\":true}}}" - }, - "810a020dae97": { - "name": "notifications.registerPush#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "notifications.registerPush" - }, - { - "name": "params", - "value": { - "apnsEnvironment": "production", - "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" - } - } - } - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "caff83b6525e": { - "name": "notifications.unregisterPush#1", - "ordinal": 3, - "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 - } - } - } - }, - "d92e80fc55a0": { - "name": "notifications.unregisterPush#1", - "ordinal": 4, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.unregisterPush\",\"params\":null}" - }, - "deec5cecd49f": { - "register": true, - "unregister": true - } - }, - "recording": { - "scenario": "notifications-push-registered", - "checkpoints": [ - { - "id": "settled", - "observation": { - "sender": ["810a020dae97", "caff83b6525e"], - "payloads": ["692c015040bb", "d92e80fc55a0"], - "settlements": { - "register": "84e5ca07cb7a", - "unregister": "84e5ca07cb7a" - }, - "state": "deec5cecd49f", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/push-dismissal-tray-reconciled.json b/mobile/rpc-foundation/goldens/push-dismissal-tray-reconciled.json deleted file mode 100644 index 372f8e59c14..00000000000 --- a/mobile/rpc-foundation/goldens/push-dismissal-tray-reconciled.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "notifications.push-dismissal", - "family": "notifications.push-dismissal", - "namedDeltas": [], - "values": { - "4d602d4523e5": { - "name": "notifications.getMissedSince#1", - "ordinal": 2, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"notifications.getMissedSince\",\"params\":{\"lastSeenSeq\":9007199254740991,\"deliveredPushes\":[{\"notificationId\":\"note-1\",\"notificationEpoch\":\"epoch-1\",\"notificationSeq\":7}]}}" - }, - "6cfa895b17c4": { - "name": "notification-tray.dismiss", - "ordinal": 4, - "value": { - "identifier": "tray-1" - } - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "aaf972690a35": { - "name": "notifications.getMissedSince#1", - "ordinal": 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 - } - }, - "c44044f16dbc": { - "name": "notifications.getMissedSince#1", - "ordinal": 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 - } - ] - } - } - } - }, - "cf9c28129225": { - "disposed": false - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "fa03fdca3d1d": { - "name": "device-store.setItem", - "ordinal": 3, - "value": { - "key": "orca:pushDismissalWatermarks:v1", - "value": "[{\"key\":\"[\\\"Yw3NKWbEM2aRElRI\\\",\\\"epoch-1\\\",\\\"note-1\\\"]\",\"seq\":7,\"expiresAt\":1767312000000}]" - } - } - }, - "recording": { - "scenario": "push-dismissal-tray-reconciled", - "checkpoints": [ - { - "id": "requested", - "observation": { - "sender": ["aaf972690a35"], - "payloads": ["4d602d4523e5"], - "settlements": { - "catchup": "9270aeb7d9c6" - }, - "state": "cf9c28129225", - "effects": [] - } - }, - { - "id": "reconciled", - "observation": { - "sender": ["c44044f16dbc"], - "payloads": ["4d602d4523e5"], - "settlements": { - "catchup": "eb79a9b3682a" - }, - "state": "cf9c28129225", - "effects": ["fa03fdca3d1d", "6cfa895b17c4"] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/speech-desktop-start-fulfilled.json b/mobile/rpc-foundation/goldens/speech-desktop-start-fulfilled.json deleted file mode 100644 index 4a7e325614f..00000000000 --- a/mobile/rpc-foundation/goldens/speech-desktop-start-fulfilled.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "goldenFormatVersion": 6, - "operation": "speech.desktop-start", - "family": "speech.dictation-start", - "namedDeltas": [], - "values": { - "4c42677aca21": { - "name": "speech.dictation.start#1", - "ordinal": 1, - "args": [ - { - "name": "method", - "value": "speech.dictation.start" - }, - { - "name": "params", - "value": { - "dictationId": "dictation-1" - } - }, - { - "name": "options", - "value": { - "timeoutMs": 30000 - } - } - ], - "settlement": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "id": "frame-1", - "ok": true, - "result": { - "started": true - } - } - } - }, - "6db9a10e2b00": { - "activeId": "dictation-1", - "idle": false, - "started": true - }, - "84e5ca07cb7a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": true - }, - "a7ddd021010a": { - "name": "speech.dictation.start#1", - "ordinal": 2, - "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": ["4c42677aca21"], - "payloads": ["a7ddd021010a"], - "settlements": { - "start": "84e5ca07cb7a" - }, - "state": "6db9a10e2b00", - "effects": [] - } - } - ] - } -} diff --git a/mobile/rpc-foundation/goldens/tk-list-linear-switch-back.json b/mobile/rpc-foundation/goldens/tk-list-linear-switch-back.json index 1b71a998aaa..2355189cabe 100644 --- a/mobile/rpc-foundation/goldens/tk-list-linear-switch-back.json +++ b/mobile/rpc-foundation/goldens/tk-list-linear-switch-back.json @@ -4,11 +4,92 @@ "family": "tasks.task-list-linear", "namedDeltas": [], "values": { - "1a5f65e0078d": { + "029bb83f402f": { + "name": "error", + "ordinal": 21, + "value": "" + }, + "0a23a5e47479": { "name": "loading", - "ordinal": 15, + "ordinal": 16, "value": false }, + "0bb204f7f9f1": { + "name": "refreshing", + "ordinal": 28, + "value": false + }, + "0e04c147819c": { + "name": "linear.listIssues#2", + "ordinal": 23, + "args": [ + { + "name": "method", + "value": "linear.listIssues" + }, + { + "name": "params", + "value": { + "filter": "all", + "limit": 50, + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "19d7ea49485f": { + "name": "linear.searchIssues#1", + "ordinal": 13, + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.searchIssues\",\"params\":{\"query\":\"bug\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" + }, + "1d85d05c4c17": { + "name": "linear.searchIssues#1", + "ordinal": 12, + "args": [ + { + "name": "method", + "value": "linear.searchIssues" + }, + { + "name": "params", + "value": { + "limit": 50, + "query": "bug", + "workspaceId": "linear-workspace" + } + }, + { + "name": "options", + "value": { + "$rpc": "absent" + } + } + ], + "settlement": { + "status": "pending", + "startedAt": 0 + } + }, + "29cadc65bcbb": { + "name": "error", + "ordinal": 15, + "value": "" + }, + "38bcf1ed5ff9": { + "name": "taskListSettled", + "ordinal": 29, + "value": true + }, "39f99cf479f0": { "name": "error", "ordinal": 1, @@ -19,6 +100,41 @@ "ordinal": 10, "value": "" }, + "3e58b6085f7d": { + "name": "items", + "ordinal": 14, + "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" + } + ] + }, "3edde845aed1": { "error": "", "items": [ @@ -60,15 +176,10 @@ "ordinal": 8, "value": false }, - "427b7993fe85": { - "name": "error", - "ordinal": 20, - "value": "" - }, - "531ad700826e": { - "name": "refreshing", - "ordinal": 27, - "value": false + "52e364aee6ba": { + "name": "loading", + "ordinal": 11, + "value": true }, "5ac1816a09df": { "name": "loading", @@ -80,19 +191,24 @@ "ordinal": 2, "value": true }, - "687501e36688": { + "657f394da6f5": { "name": "taskListSettled", - "ordinal": 28, + "ordinal": 22, "value": true }, - "7b6df16c2cf0": { - "name": "linear.listIssues#1", - "ordinal": 4, - "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listIssues\",\"params\":{\"filter\":\"all\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" + "6b7ab35b43f3": { + "name": "linear.listIssues#2", + "ordinal": 24, + "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listIssues\",\"params\":{\"filter\":\"all\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" }, - "8074cf69af1b": { + "6dd330aacfa2": { + "name": "error", + "ordinal": 26, + "value": "" + }, + "6ee1eb7bc043": { "name": "items", - "ordinal": 19, + "ordinal": 20, "value": [ { "key": "linear:linear-workspace:issue-1", @@ -125,9 +241,191 @@ } ] }, - "82788025d560": { + "7b6df16c2cf0": { + "name": "linear.listIssues#1", + "ordinal": 4, + "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listIssues\",\"params\":{\"filter\":\"all\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" + }, + "837199f7c720": { + "name": "linear.searchIssues#1", + "ordinal": 12, + "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" + } + ] + } + } + }, + "9270aeb7d9c6": { + "status": "pending", + "startedAt": 0 + }, + "94caa29bceef": { + "name": "error", + "ordinal": 19, + "value": "" + }, + "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 + }, + "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 + }, + "b25e7c116f7e": { + "name": "items", + "ordinal": 5, + "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" + } + ] + }, + "ba411b67de4b": { + "name": "taskListSettled", + "ordinal": 9, + "value": true + }, + "c68fccc93876": { "name": "linear.listIssues#2", - "ordinal": 22, + "ordinal": 23, "args": [ { "name": "method", @@ -183,146 +481,6 @@ } } }, - "915569974be9": { - "name": "loading", - "ordinal": 26, - "value": false - }, - "9270aeb7d9c6": { - "status": "pending", - "startedAt": 0 - }, - "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 - }, - "a27078adc061": { - "name": "items", - "ordinal": 13, - "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" - } - ] - }, - "ab9026005b36": { - "name": "refreshing", - "ordinal": 16, - "value": false - }, - "b25e7c116f7e": { - "name": "items", - "ordinal": 5, - "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" - } - ] - }, - "b84d178fd4fa": { - "name": "taskListSettled", - "ordinal": 21, - "value": true - }, - "ba411b67de4b": { - "name": "taskListSettled", - "ordinal": 9, - "value": true - }, - "bf0de0571310": { - "name": "taskListSettled", - "ordinal": 17, - "value": true - }, - "c40da88e1087": { - "name": "error", - "ordinal": 25, - "value": "" - }, "c6d55e6b8844": { "name": "linear.listIssues#1", "ordinal": 3, @@ -381,14 +539,32 @@ } } }, - "caf8f91bd626": { - "name": "error", + "cbe48ad190bf": { + "name": "taskListSettled", "ordinal": 18, + "value": true + }, + "e8ba61988aec": { + "name": "refreshing", + "ordinal": 17, + "value": false + }, + "eb79a9b3682a": { + "status": "fulfilled", + "startedAt": 0, + "settledAt": 0, + "value": { + "$rpc": "undefined" + } + }, + "f1dcb0c02c92": { + "name": "error", + "ordinal": 6, "value": "" }, - "d2396a6354db": { + "f7948247f5de": { "name": "items", - "ordinal": 24, + "ordinal": 25, "value": [ { "key": "linear:linear-workspace:issue-1", @@ -421,145 +597,10 @@ } ] }, - "dd5be60ee9f9": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "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" - } - ] - } - } - }, - "e3642939f5f6": { - "name": "linear.searchIssues#1", - "ordinal": 12, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.searchIssues\",\"params\":{\"query\":\"bug\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" - }, - "eb79a9b3682a": { - "status": "fulfilled", - "startedAt": 0, - "settledAt": 0, - "value": { - "$rpc": "undefined" - } - }, - "ee67e864ea01": { - "name": "linear.listIssues#2", - "ordinal": 23, - "json": "{\"id\":\"frame-3\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listIssues\",\"params\":{\"filter\":\"all\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" - }, - "ef8932b03a8c": { - "name": "error", - "ordinal": 14, - "value": "" - }, - "f1dcb0c02c92": { - "name": "error", - "ordinal": 6, - "value": "" - }, - "f310b6adb00d": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "args": [ - { - "name": "method", - "value": "linear.searchIssues" - }, - { - "name": "params", - "value": { - "limit": 50, - "query": "bug", - "workspaceId": "linear-workspace" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } - }, - "fdc3528e1a4e": { - "name": "linear.listIssues#2", - "ordinal": 22, - "args": [ - { - "name": "method", - "value": "linear.listIssues" - }, - { - "name": "params", - "value": { - "filter": "all", - "limit": 50, - "workspaceId": "linear-workspace" - } - }, - { - "name": "options", - "value": { - "$rpc": "absent" - } - } - ], - "settlement": { - "status": "pending", - "startedAt": 0 - } + "fe892b7f7693": { + "name": "loading", + "ordinal": 27, + "value": false } }, "recording": { @@ -589,15 +630,15 @@ { "id": "second-filter-pending", "observation": { - "sender": ["c6d55e6b8844", "f310b6adb00d"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], + "sender": ["c6d55e6b8844", "1d85d05c4c17"], + "payloads": ["7b6df16c2cf0", "19d7ea49485f"], "settlements": { "mount": "eb79a9b3682a", "load-0": "eb79a9b3682a", "set-query-1": "eb79a9b3682a", "load-2": "9270aeb7d9c6" }, - "state": "94f44b229d7d", + "state": "99f1aeb70deb", "effects": [ "39f99cf479f0", "609f32a21704", @@ -606,15 +647,16 @@ "5ac1816a09df", "411aee2eccd9", "ba411b67de4b", - "3aefb3006914" + "3aefb3006914", + "52e364aee6ba" ] } }, { "id": "second-filter-settled", "observation": { - "sender": ["c6d55e6b8844", "dd5be60ee9f9"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], + "sender": ["c6d55e6b8844", "837199f7c720"], + "payloads": ["7b6df16c2cf0", "19d7ea49485f"], "settlements": { "mount": "eb79a9b3682a", "load-0": "eb79a9b3682a", @@ -631,19 +673,20 @@ "411aee2eccd9", "ba411b67de4b", "3aefb3006914", - "a27078adc061", - "ef8932b03a8c", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310" + "52e364aee6ba", + "3e58b6085f7d", + "29cadc65bcbb", + "0a23a5e47479", + "e8ba61988aec", + "cbe48ad190bf" ] } }, { "id": "first-filter-back-pending", "observation": { - "sender": ["c6d55e6b8844", "dd5be60ee9f9", "fdc3528e1a4e"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6", "ee67e864ea01"], + "sender": ["c6d55e6b8844", "837199f7c720", "0e04c147819c"], + "payloads": ["7b6df16c2cf0", "19d7ea49485f", "6b7ab35b43f3"], "settlements": { "mount": "eb79a9b3682a", "load-0": "eb79a9b3682a", @@ -662,23 +705,24 @@ "411aee2eccd9", "ba411b67de4b", "3aefb3006914", - "a27078adc061", - "ef8932b03a8c", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310", - "caf8f91bd626", - "8074cf69af1b", - "427b7993fe85", - "b84d178fd4fa" + "52e364aee6ba", + "3e58b6085f7d", + "29cadc65bcbb", + "0a23a5e47479", + "e8ba61988aec", + "cbe48ad190bf", + "94caa29bceef", + "6ee1eb7bc043", + "029bb83f402f", + "657f394da6f5" ] } }, { "id": "first-filter-back-settled", "observation": { - "sender": ["c6d55e6b8844", "dd5be60ee9f9", "82788025d560"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6", "ee67e864ea01"], + "sender": ["c6d55e6b8844", "837199f7c720", "c68fccc93876"], + "payloads": ["7b6df16c2cf0", "19d7ea49485f", "6b7ab35b43f3"], "settlements": { "mount": "eb79a9b3682a", "load-0": "eb79a9b3682a", @@ -697,20 +741,21 @@ "411aee2eccd9", "ba411b67de4b", "3aefb3006914", - "a27078adc061", - "ef8932b03a8c", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310", - "caf8f91bd626", - "8074cf69af1b", - "427b7993fe85", - "b84d178fd4fa", - "d2396a6354db", - "c40da88e1087", - "915569974be9", - "531ad700826e", - "687501e36688" + "52e364aee6ba", + "3e58b6085f7d", + "29cadc65bcbb", + "0a23a5e47479", + "e8ba61988aec", + "cbe48ad190bf", + "94caa29bceef", + "6ee1eb7bc043", + "029bb83f402f", + "657f394da6f5", + "f7948247f5de", + "6dd330aacfa2", + "fe892b7f7693", + "0bb204f7f9f1", + "38bcf1ed5ff9" ] } } diff --git a/mobile/rpc-foundation/goldens/tk-list-linear.json b/mobile/rpc-foundation/goldens/tk-list-linear.json index 0cb14cb6b11..708c5585bc6 100644 --- a/mobile/rpc-foundation/goldens/tk-list-linear.json +++ b/mobile/rpc-foundation/goldens/tk-list-linear.json @@ -4,11 +4,21 @@ "family": "tasks.task-list-linear", "namedDeltas": [], "values": { - "1a5f65e0078d": { + "0a23a5e47479": { "name": "loading", - "ordinal": 15, + "ordinal": 16, "value": false }, + "19d7ea49485f": { + "name": "linear.searchIssues#1", + "ordinal": 13, + "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.searchIssues\",\"params\":{\"query\":\"bug\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" + }, + "29cadc65bcbb": { + "name": "error", + "ordinal": 15, + "value": "" + }, "39f99cf479f0": { "name": "error", "ordinal": 1, @@ -19,6 +29,41 @@ "ordinal": 10, "value": "" }, + "3e58b6085f7d": { + "name": "items", + "ordinal": 14, + "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" + } + ] + }, "3edde845aed1": { "error": "", "items": [ @@ -60,6 +105,11 @@ "ordinal": 8, "value": false }, + "52e364aee6ba": { + "name": "loading", + "ordinal": 11, + "value": true + }, "5ac1816a09df": { "name": "loading", "ordinal": 7, @@ -75,6 +125,62 @@ "ordinal": 4, "json": "{\"id\":\"frame-1\",\"deviceToken\":\"recording-device\",\"method\":\"linear.listIssues\",\"params\":{\"filter\":\"all\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" }, + "837199f7c720": { + "name": "linear.searchIssues#1", + "ordinal": 12, + "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" + } + ] + } + } + }, "94f44b229d7d": { "error": "", "items": [ @@ -111,46 +217,6 @@ "loading": false, "refreshing": false }, - "a27078adc061": { - "name": "items", - "ordinal": 13, - "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" - } - ] - }, - "ab9026005b36": { - "name": "refreshing", - "ordinal": 16, - "value": false - }, "b25e7c116f7e": { "name": "items", "ordinal": 5, @@ -191,11 +257,6 @@ "ordinal": 9, "value": true }, - "bf0de0571310": { - "name": "taskListSettled", - "ordinal": 17, - "value": true - }, "c6d55e6b8844": { "name": "linear.listIssues#1", "ordinal": 3, @@ -254,66 +315,15 @@ } } }, - "dd5be60ee9f9": { - "name": "linear.searchIssues#1", - "ordinal": 11, - "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" - } - ] - } - } + "cbe48ad190bf": { + "name": "taskListSettled", + "ordinal": 18, + "value": true }, - "e3642939f5f6": { - "name": "linear.searchIssues#1", - "ordinal": 12, - "json": "{\"id\":\"frame-2\",\"deviceToken\":\"recording-device\",\"method\":\"linear.searchIssues\",\"params\":{\"query\":\"bug\",\"limit\":50,\"workspaceId\":\"linear-workspace\"}}" + "e8ba61988aec": { + "name": "refreshing", + "ordinal": 17, + "value": false }, "eb79a9b3682a": { "status": "fulfilled", @@ -323,11 +333,6 @@ "$rpc": "undefined" } }, - "ef8932b03a8c": { - "name": "error", - "ordinal": 14, - "value": "" - }, "f1dcb0c02c92": { "name": "error", "ordinal": 6, @@ -383,8 +388,8 @@ { "id": "load-settled", "observation": { - "sender": ["c6d55e6b8844", "dd5be60ee9f9"], - "payloads": ["7b6df16c2cf0", "e3642939f5f6"], + "sender": ["c6d55e6b8844", "837199f7c720"], + "payloads": ["7b6df16c2cf0", "19d7ea49485f"], "settlements": { "mount": "eb79a9b3682a", "load-0": "eb79a9b3682a", @@ -401,11 +406,12 @@ "411aee2eccd9", "ba411b67de4b", "3aefb3006914", - "a27078adc061", - "ef8932b03a8c", - "1a5f65e0078d", - "ab9026005b36", - "bf0de0571310" + "52e364aee6ba", + "3e58b6085f7d", + "29cadc65bcbb", + "0a23a5e47479", + "e8ba61988aec", + "cbe48ad190bf" ] } } diff --git a/mobile/rpc-foundation/pilot-scenarios.json b/mobile/rpc-foundation/pilot-scenarios.json index eeb45a4f5ee..44e47a4e043 100644 --- a/mobile/rpc-foundation/pilot-scenarios.json +++ b/mobile/rpc-foundation/pilot-scenarios.json @@ -15810,34 +15810,6 @@ } ] }, - { - "id": "speech-desktop-start-fulfilled", - "operation": "speech.desktop-start", - "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-audio-chunk-acknowledged", "operation": "speech.audio-chunk", @@ -16597,90 +16569,6 @@ } ] }, - { - "id": "notifications-push-registered", - "operation": "notifications.push-registration", - "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 - }, - "apnsEnvironment": "production", - "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", - "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 - }, - "apnsEnvironment": "production", - "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", @@ -16915,81 +16803,6 @@ } ] }, - { - "id": "browser-dialog-accepted", - "operation": "browser.page-commands", - "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", - "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", @@ -17439,36 +17252,6 @@ } ] }, - { - "id": "clipboard-image-upload-start-refused", - "operation": "clipboard.image-upload", - "family": "clipboard.image-upload", - "sites": ["mobile/src/files/attachments/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", @@ -17578,25 +17361,6 @@ } ] }, - { - "id": "clipboard-image-attachment-cancelled", - "operation": "clipboard.image-terminal-attachment", - "family": "clipboard.image-attachment", - "sites": [ - "mobile/src/files/attachments/mobile-image-attachment.ts", - "mobile/src/files/attachments/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", @@ -17653,78 +17417,6 @@ } ] }, - { - "id": "clipboard-image-attachment-anonymous", - "operation": "clipboard.image-terminal-attachment", - "family": "clipboard.image-attachment", - "sites": [ - "mobile/src/files/attachments/mobile-image-attachment.ts", - "mobile/src/files/attachments/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", @@ -17955,81 +17647,11 @@ } ] }, - { - "id": "native-chat-image-paste-trailing-image", - "operation": "nativeChat.image-paste", - "family": "nativeChat.image-paste", - "sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-image-send.ts"], - "schedules": [], - "steps": [ - { - "action": "trailing", - "id": "trailing" - }, - { - "complete": "terminal.read#1", - "params": { - "terminal": "terminal-1", - "screen": true, - "limit": 1 - }, - "reply": { - "ok": true, - "result": { - "terminal": {} - } - } - }, - { - "complete": "terminal.send#1", - "params": { - "terminal": "terminal-1", - "text": "\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u0015\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b\u000b", - "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", "family": "nativeChat.terminal-write", - "sites": ["mobile/src/session/native-chat/mobile-native-chat-send.ts"], + "sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-send.ts"], "schedules": [], "steps": [ { @@ -18065,7 +17687,7 @@ "id": "native-chat-write-rejected", "operation": "nativeChat.terminal-write", "family": "nativeChat.terminal-write", - "sites": ["mobile/src/session/native-chat/mobile-native-chat-send.ts"], + "sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-send.ts"], "schedules": [], "steps": [ { @@ -18101,7 +17723,7 @@ "id": "native-chat-write-delivery-unknown", "operation": "nativeChat.terminal-write", "family": "nativeChat.terminal-write", - "sites": ["mobile/src/session/native-chat/mobile-native-chat-send.ts"], + "sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-send.ts"], "schedules": [], "steps": [ { @@ -18133,7 +17755,7 @@ "id": "native-chat-write-clear-line", "operation": "nativeChat.terminal-write", "family": "nativeChat.terminal-write", - "sites": ["mobile/src/session/native-chat/mobile-native-chat-send.ts"], + "sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-send.ts"], "schedules": [], "steps": [ { @@ -18169,7 +17791,7 @@ "id": "native-chat-write-typed-command", "operation": "nativeChat.terminal-write", "family": "nativeChat.terminal-write", - "sites": ["mobile/src/session/native-chat/mobile-native-chat-send.ts"], + "sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-send.ts"], "schedules": [], "steps": [ { @@ -18840,7 +18462,9 @@ "id": "structured-launch-unsupported", "operation": "agentSession.structured-launch", "family": "agentSession.structured-launch", - "sites": ["mobile/src/session/mobile-structured-agent-session-launch.ts"], + "sites": [ + "mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts" + ], "schedules": [], "steps": [ { @@ -18870,7 +18494,9 @@ "id": "structured-launch-support-refused", "operation": "agentSession.structured-launch", "family": "agentSession.structured-launch", - "sites": ["mobile/src/session/mobile-structured-agent-session-launch.ts"], + "sites": [ + "mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts" + ], "schedules": [], "steps": [ { @@ -18900,7 +18526,9 @@ "id": "structured-launch-created", "operation": "agentSession.structured-launch", "family": "agentSession.structured-launch", - "sites": ["mobile/src/session/mobile-structured-agent-session-launch.ts"], + "sites": [ + "mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts" + ], "schedules": [], "steps": [ { @@ -18951,7 +18579,9 @@ "id": "structured-launch-definitive-refusal", "operation": "agentSession.structured-launch", "family": "agentSession.structured-launch", - "sites": ["mobile/src/session/mobile-structured-agent-session-launch.ts"], + "sites": [ + "mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts" + ], "schedules": [], "steps": [ { @@ -19003,7 +18633,9 @@ "id": "structured-launch-replays-dropped-create", "operation": "agentSession.structured-launch", "family": "agentSession.structured-launch", - "sites": ["mobile/src/session/mobile-structured-agent-session-launch.ts"], + "sites": [ + "mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts" + ], "schedules": [], "steps": [ { @@ -19443,7 +19075,7 @@ "id": "native-chat-stop-accepted", "operation": "session.native-chat-stop", "family": "session.native-chat-stop", - "sites": ["mobile/src/session/native-chat/use-mobile-native-chat-stop.ts"], + "sites": ["mobile/src/session/native-chat/composer/use-mobile-native-chat-stop.ts"], "schedules": [], "steps": [ { @@ -19504,7 +19136,7 @@ "id": "native-chat-stop-both-rejected", "operation": "session.native-chat-stop", "family": "session.native-chat-stop", - "sites": ["mobile/src/session/native-chat/use-mobile-native-chat-stop.ts"], + "sites": ["mobile/src/session/native-chat/composer/use-mobile-native-chat-stop.ts"], "schedules": [], "steps": [ { @@ -19562,7 +19194,7 @@ "id": "native-chat-stop-delivery-unknown", "operation": "session.native-chat-stop", "family": "session.native-chat-stop", - "sites": ["mobile/src/session/native-chat/use-mobile-native-chat-stop.ts"], + "sites": ["mobile/src/session/native-chat/composer/use-mobile-native-chat-stop.ts"], "schedules": [], "steps": [ { @@ -19962,7 +19594,7 @@ "mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts", - "mobile/src/session/native-chat/mobile-native-chat-stale-input.ts" + "mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts" ], "schedules": [], "steps": [ @@ -20039,7 +19671,7 @@ "mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts", - "mobile/src/session/native-chat/mobile-native-chat-stale-input.ts" + "mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts" ], "schedules": [], "steps": [ @@ -20117,7 +19749,7 @@ "mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts", - "mobile/src/session/native-chat/mobile-native-chat-stale-input.ts" + "mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts" ], "schedules": [], "steps": [ @@ -20152,7 +19784,7 @@ "mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts", - "mobile/src/session/native-chat/mobile-native-chat-stale-input.ts" + "mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts" ], "schedules": [], "steps": [ @@ -20188,7 +19820,7 @@ "mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts", - "mobile/src/session/native-chat/mobile-native-chat-stale-input.ts" + "mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts" ], "schedules": [], "steps": [ @@ -20224,7 +19856,7 @@ "mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts", - "mobile/src/session/native-chat/mobile-native-chat-stale-input.ts" + "mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts" ], "schedules": [], "steps": [ @@ -20280,7 +19912,7 @@ "mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts", - "mobile/src/session/native-chat/mobile-native-chat-stale-input.ts" + "mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts" ], "schedules": [], "steps": [ @@ -20661,59 +20293,6 @@ } ] }, - { - "id": "native-chat-image-upload-single", - "operation": "nativeChat.image-upload", - "family": "nativeChat.image-upload", - "sites": ["mobile/src/session/native-chat/composer/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", @@ -20871,22 +20450,6 @@ } ] }, - { - "id": "native-chat-image-upload-cancelled", - "operation": "nativeChat.image-upload", - "family": "nativeChat.image-upload", - "sites": ["mobile/src/session/native-chat/composer/mobile-native-chat-image-attachment.ts"], - "schedules": [], - "steps": [ - { - "action": "cancelled", - "id": "cancelled" - }, - { - "checkpoint": "no-wire" - } - ] - }, { "id": "files-explorer-legacy-fallback", "operation": "files.explorer-screen", @@ -21035,7 +20598,7 @@ "id": "codex-reset-credit-consumed", "operation": "accounts.codex-reset-credit", "family": "components.codex-reset-credit", - "sites": ["mobile/src/components/codex-reset-credit.ts"], + "sites": ["mobile/src/accounts/usage/codex-reset-credit.ts"], "schedules": [], "deviceStore": {}, "steps": [ @@ -21117,71 +20680,6 @@ } ] }, - { - "id": "push-dismissal-tray-reconciled", - "operation": "notifications.push-dismissal", - "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" - } - ] - }, { "id": "terminal-paste-accepted", "operation": "session.terminal-clipboard", @@ -21511,108 +21009,6 @@ } ] }, - { - "id": "notifications-display-test-rate-limited", - "operation": "notifications.display-test-screen", - "family": "notifications.display-test-screen", - "sites": ["mobile/src/settings/notification-display-test.tsx"], - "schedules": [], - "deviceStore": { - "orca:pushServiceNotificationsEnabled": "true", - "orca:hosts": "[{\"id\":\"host-1\",\"name\":\"Desk\",\"endpoint\":\"ws://desk.local:7777\",\"publicKeyB64\":\"AAAA\",\"lastConnected\":1700000000000}]" - }, - "deviceState": { - "notificationPermissions": { - "status": "granted", - "canAskAgain": true - }, - "pushToken": { - "type": "ios", - "data": "fixture-apns-token" - } - }, - "steps": [ - { - "action": "mount", - "id": "mount" - }, - { - "checkpoint": "mounted" - }, - { - "action": "send-test", - "id": "press" - }, - { - "checkpoint": "sending" - }, - { - "complete": "notifications.testPush#1", - "params": null, - "reply": { - "ok": true, - "result": { - "accepted": false, - "reason": "rate_limited" - } - } - }, - { - "checkpoint": "rate-limited" - } - ] - }, - { - "id": "notifications-display-test-unknown-reason", - "operation": "notifications.display-test-screen", - "family": "notifications.display-test-screen", - "sites": ["mobile/src/settings/notification-display-test.tsx"], - "schedules": [], - "deviceStore": { - "orca:pushServiceNotificationsEnabled": "true", - "orca:hosts": "[{\"id\":\"host-1\",\"name\":\"Desk\",\"endpoint\":\"ws://desk.local:7777\",\"publicKeyB64\":\"AAAA\",\"lastConnected\":1700000000000}]" - }, - "deviceState": { - "notificationPermissions": { - "status": "granted", - "canAskAgain": true - }, - "pushToken": { - "type": "ios", - "data": "fixture-apns-token" - } - }, - "steps": [ - { - "action": "mount", - "id": "mount" - }, - { - "checkpoint": "mounted" - }, - { - "action": "send-test", - "id": "press" - }, - { - "checkpoint": "sending" - }, - { - "complete": "notifications.testPush#1", - "params": null, - "reply": { - "ok": true, - "result": { - "accepted": false, - "reason": "quota_exceeded" - } - } - }, - { - "checkpoint": "unknown-reason" - } - ] - }, { "id": "aivault-history-screen-worktrees", "operation": "aiVault.history-screen", @@ -24889,7 +24285,7 @@ "mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts", - "mobile/src/session/native-chat/mobile-native-chat-stale-input.ts" + "mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts" ], "schedules": [], "steps": [ @@ -24944,7 +24340,7 @@ "mobile/src/source-control/review/use-mobile-diff-review-comment-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-git-actions.ts", "mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts", - "mobile/src/session/native-chat/mobile-native-chat-stale-input.ts" + "mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts" ], "schedules": [], "steps": [ @@ -25018,7 +24414,9 @@ "id": "structured-agent-session-created", "operation": "agentSession.structured-launch", "family": "agentSession.structured-create", - "sites": ["mobile/src/session/mobile-structured-agent-session-launch.ts"], + "sites": [ + "mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts" + ], "schedules": [], "steps": [ { diff --git a/mobile/scripts/repro-mobile-foreground-stall.sh b/mobile/scripts/repro-mobile-foreground-stall.sh deleted file mode 100755 index 1ff89aa5b3f..00000000000 --- a/mobile/scripts/repro-mobile-foreground-stall.sh +++ /dev/null @@ -1,67 +0,0 @@ -#!/usr/bin/env bash -# Reproduce iOS 0.0.39(2)’s foreground “Connecting…” stall. Simulator does not suspend JS: -# SIGSTOP the app to freeze timers/leave its socket dangling; SIGSTOP desktop to accept TCP -# without WebSocket upgrades, like a wedged tunnel/relay. Use simctl because Orca’s runtime is frozen. -# Setup: node scripts/start-emulator.mjs --device "iPhone 17 Pro" --wait-for-ready > /tmp/orca-emulator-boot.log 2>&1 & -# Usage: repro-mobile-foreground-stall.sh [log] -set -euo pipefail - -UDID="${1:?simulator udid}" -PORT="${2:?port of the paired host, from the [net] logs}" -LOG="${3:-/tmp/orca-emulator-boot.log}" -BUNDLE_ID=com.stably.orca.mobile -# Long enough for the tiered backoff to reach its 30s/60s tail. -ESCALATE_SECONDS=200 - -APP=$(pgrep -f "CoreSimulator.*Orca.app/Orca" | head -1) -DESK=$(pgrep -f "serve-mobile-pairing" | head -1) -: "${APP:?mobile app is not running in the simulator}" -: "${DESK:?headless desktop runtime is not running}" - -strip() { sed 's/\x1b\[[0-9;]*m//g'; } -since() { sed -n "$(( $1 + 1 )),\$p" "$LOG" | strip; } -step() { echo "$(date +%T) $*"; } - -echo "### app=$APP desktop=$DESK port=$PORT" - -step "[1] desktop goes unreachable" -kill -STOP "$DESK" -sleep "$ESCALATE_SECONDS" -step "[2] backoff at $(since 0 | grep "$PORT" | grep -o '"attempt": [0-9]*' | tail -1)" - -MARK=$(wc -l < "$LOG") -while true; do - since "$MARK" | grep "$PORT" | grep -q '"to": "connecting"' && break - sleep 0.3 -done -step "[3] connect window open — user switches away" -xcrun simctl launch "$UDID" com.apple.mobilesafari >/dev/null 2>&1 -sleep 1 -kill -STOP "$APP" -step "[4] phone suspended mid-dial" -sleep 5 - -MARK=$(wc -l < "$LOG") -kill -CONT "$APP" -sleep 0.3 -xcrun simctl launch "$UDID" "$BUNDLE_ID" >/dev/null 2>&1 -T0=$(date +%s) -step "[5] user returns to Orca <-- t0, desktop still down" - -# Keep desktop unreachable to test whether foregrounding abandons the dead dial immediately. -sleep 6 -echo "--- first 6s after t0 ---" -since "$MARK" | grep -E "$PORT|foreground" \ - | grep -E 'state |foreground|scheduleReconnect|openConnection' | head -8 - -kill -CONT "$DESK" -step "[6] desktop healthy again" -for _ in $(seq 1 45); do - if since "$MARK" | grep "$PORT" | grep -q '"to": "connected"'; then - step ">>> connected $(( $(date +%s) - T0 ))s after t0" - exit 0 - fi - sleep 2 -done -step ">>> STILL STUCK 90s after t0" -exit 1 diff --git a/mobile/src/accounts/MobileAccountsScreen.tsx b/mobile/src/accounts/MobileAccountsScreen.tsx index 2ea1d8b0c18..2cdb378d4b3 100644 --- a/mobile/src/accounts/MobileAccountsScreen.tsx +++ b/mobile/src/accounts/MobileAccountsScreen.tsx @@ -3,7 +3,7 @@ import { View, Text, ScrollView, ActivityIndicator } from 'react-native' import { SafeAreaView, useSafeAreaInsets } from 'react-native-safe-area-context' import { useFocusEffect, useLocalSearchParams } from 'expo-router' import { ChevronLeft, RefreshCw, User } from 'lucide-react-native' -import { loadHosts, peekHosts } from '../transport/hosts/host-store' +import { loadHosts, peekHosts } from '../host-catalog/host-store' import { useForceReconnect, useHostClient } from '../transport/connection/host-client-hooks' import { useHostConnectionInputs } from '../transport/connection/client-context-connection-metrics' import { classifyConnection, isConnectionOutage } from '../transport/connection/connection-health' @@ -16,22 +16,23 @@ import { useMobileTranslation } from '../i18n/use-mobile-translation' import { styles } from './mobile-accounts-screen-styles' import { useNow } from '../hooks/use-now' import { ClaudeIcon, OpenAIIcon } from '../components/AgentIcons' +import './usage/UsageBar' import { type ProviderKey, getActiveProviderRateLimits, getInactiveProviderUsage, getOtherUsageProviders, hasActiveProviderUsage -} from '../components/AccountUsage' +} from './usage/usage-selectors' import { MobileAgentIcon } from '../components/MobileAgentIcon' import { getProviderDisplayName } from '../../../src/shared/usage-provider-windows' import { ProviderUsageWindows } from './ProviderUsageWindows' import { getActiveCodexAccountIdForRateLimitTarget, getCodexResetCreditSummary -} from '../components/codex-reset-credit' -import { CodexResetCreditAction } from '../components/CodexResetCreditAction' -import { useCodexResetCreditAction } from '../components/use-codex-reset-credit-action' +} from './usage/codex-reset-credit' +import { CodexResetCreditAction } from './usage/CodexResetCreditAction' +import { useCodexResetCreditAction } from './usage/use-codex-reset-credit-action' import { ConfirmModal } from '../components/ConfirmModal' import { NavBar } from '../components/nav-bar/NavBar' import { NavBarButton } from '../components/nav-bar/NavBarButton' diff --git a/mobile/src/accounts/ProviderUsageWindows.tsx b/mobile/src/accounts/ProviderUsageWindows.tsx index 8f9dd1e9e30..43f8b9a5be3 100644 --- a/mobile/src/accounts/ProviderUsageWindows.tsx +++ b/mobile/src/accounts/ProviderUsageWindows.tsx @@ -4,12 +4,9 @@ import { getUsageWindowSections, type UsageWindowSection } from '../../../src/shared/usage-provider-windows' -import { - getUsageBarState, - getWindowResetLabel, - UsageBar, - type ProviderRateLimits -} from '../components/AccountUsage' +import { UsageBar } from './usage/UsageBar' +import { getUsageBarState, getWindowResetLabel } from './usage/usage-selectors' +import type { ProviderRateLimits } from './accounts-snapshot' import type { Translate } from '../i18n/mobile-i18n' import { useMobileTranslation } from '../i18n/use-mobile-translation' import { spacing } from '../theme/mobile-theme' diff --git a/mobile/src/accounts/accounts-snapshot-stream.ts b/mobile/src/accounts/accounts-snapshot-stream.ts index 09ca407fead..64ed6066c1b 100644 --- a/mobile/src/accounts/accounts-snapshot-stream.ts +++ b/mobile/src/accounts/accounts-snapshot-stream.ts @@ -1,6 +1,6 @@ import { queryOptions, skipToken } from '@tanstack/react-query' -import { AccountsSnapshotSchema, decodeAccountsSnapshot } from '../components/accounts-snapshot' -import type { AccountsSnapshot } from '../components/AccountUsage' +import { AccountsSnapshotSchema, decodeAccountsSnapshot } from './accounts-snapshot' +import type { AccountsSnapshot } from './accounts-snapshot' import { hostQueryKey, type HostQueryKey } from '../query/host-query-key' import type { PersistedHostFamily } from '../query/host-query-persistence' import type { RpcClient } from '../transport/rpc/rpc-client-contract' diff --git a/mobile/src/components/accounts-snapshot.ts b/mobile/src/accounts/accounts-snapshot.ts similarity index 100% rename from mobile/src/components/accounts-snapshot.ts rename to mobile/src/accounts/accounts-snapshot.ts diff --git a/mobile/src/components/CodexResetCreditAction.tsx b/mobile/src/accounts/usage/CodexResetCreditAction.tsx similarity index 91% rename from mobile/src/components/CodexResetCreditAction.tsx rename to mobile/src/accounts/usage/CodexResetCreditAction.tsx index 0c273fa6d19..0ba5841b6c0 100644 --- a/mobile/src/components/CodexResetCreditAction.tsx +++ b/mobile/src/accounts/usage/CodexResetCreditAction.tsx @@ -1,11 +1,11 @@ import { ActivityIndicator, Pressable, StyleSheet, Text } from 'react-native' import { RotateCcw } from 'lucide-react-native' -import { useMobileTranslation } from '../i18n/use-mobile-translation' -import { colors, feedback, radii, spacing, typography } from '../theme/mobile-theme' -import { themedStyleSheet } from '../theme/themed-styles' -import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' +import { useMobileTranslation } from '../../i18n/use-mobile-translation' +import { colors, feedback, radii, spacing, typography } from '../../theme/mobile-theme' +import { themedStyleSheet } from '../../theme/themed-styles' +import { useMobileColorScheme } from '../../theme/use-mobile-color-scheme' import type { CodexResetCreditSummary } from './codex-reset-credit' -import { ListRow } from './list/ListGroup' +import { ListRow } from '../../components/list/ListGroup' export function CodexResetCreditAction({ summary, diff --git a/mobile/src/accounts/usage/UsageBar.tsx b/mobile/src/accounts/usage/UsageBar.tsx new file mode 100644 index 00000000000..7fdcd674347 --- /dev/null +++ b/mobile/src/accounts/usage/UsageBar.tsx @@ -0,0 +1,136 @@ +import { View, Text, ActivityIndicator, type StyleProp, type ViewStyle } from 'react-native' +import { colors, spacing, typography } from '../../theme/mobile-theme' +import { themedStyleSheet } from '../../theme/themed-styles' +import { useMobileColorScheme } from '../../theme/use-mobile-color-scheme' + +import './usage-selectors' + +/** A meter's fill: the rounded, clamped percent and its consumption colour, shared by every usage meter. */ +export function usageBarFill( + usedPercent: number | null, + unavailable: boolean +): { used: number | null; color: string } { + // Why: round then clamp so bar width, color, and label share one value (desktop parity). + const used = usedPercent == null ? null : Math.max(0, Math.min(100, Math.round(usedPercent))) + // Why: same consumption bands as desktop barColor (green <60, amber <80, red ≥80). + const color = + unavailable || used == null + ? colors.textMuted + : used >= 80 + ? colors.statusRed + : used >= 60 + ? colors.statusAmber + : colors.statusGreen + return { used, color } +} + +// Match desktop/harness consumption meters: fresh empty/green, depleted full/red. +export function UsageBar({ + label, + usedPercent, + unavailable, + loading, + resetText, + wideLabel = false, + style +}: { + label: string + usedPercent: number | null + unavailable: boolean + loading?: boolean + resetText?: string | null + /** For long pool names: the label sits on its own line above the track. */ + wideLabel?: boolean + style?: StyleProp +}) { + useMobileColorScheme() + const { used, color } = usageBarFill(usedPercent, unavailable) + return ( + + + {label} + + + + + + + {loading ? ( + + ) : ( + {unavailable || used == null ? '—' : `${used}%`} + )} + + {resetText ? ( + + {resetText} + + ) : null} + + + ) +} + +const styles = themedStyleSheet(() => ({ + usageBarRow: { + flex: 1, + flexDirection: 'row', + alignItems: 'flex-start', + gap: spacing.xs + }, + usageBarStack: { + gap: 2 + }, + usageBarBody: { + gap: 2 + }, + usageBarBodyBeside: { + flex: 1 + }, + usageBar: { + flexDirection: 'row', + alignItems: 'center', + gap: spacing.xs + }, + usageLabel: { + fontSize: typography.metaSize, + color: colors.textMuted, + minWidth: 22 + }, + usageTrack: { + flex: 1, + height: 6, + borderRadius: 3, + backgroundColor: colors.bgRaised, + overflow: 'hidden' + }, + usageFill: { + height: '100%', + borderRadius: 3 + }, + usageValue: { + fontSize: typography.metaSize, + color: colors.textSecondary, + width: 36, + textAlign: 'right' + }, + usageSpinner: { + width: 36 + }, + usageResetText: { + fontSize: typography.metaSize, + color: colors.textMuted + } +})) diff --git a/mobile/src/accounts/usage/codex-reset-credit-capability.ts b/mobile/src/accounts/usage/codex-reset-credit-capability.ts new file mode 100644 index 00000000000..f8e184c0aa9 --- /dev/null +++ b/mobile/src/accounts/usage/codex-reset-credit-capability.ts @@ -0,0 +1,23 @@ +import { useEffect, useState } from 'react' +import { CODEX_RESET_CREDIT_RUNTIME_CAPABILITY } from '../../../../src/shared/account-runtime-capabilities' +import type { RpcClient } from '../../transport/rpc/rpc-client-contract' +import { startRuntimeCapabilityProbe } from '../../transport/connection/runtime-capability-probe' + +export function useCodexResetCreditCapability( + client: RpcClient | null, + connected: boolean +): boolean { + const [supported, setSupported] = useState(false) + + useEffect(() => { + setSupported(false) + if (!client || !connected) { + return + } + return startRuntimeCapabilityProbe(client, (capabilities) => { + setSupported(capabilities.includes(CODEX_RESET_CREDIT_RUNTIME_CAPABILITY)) + }) + }, [client, connected]) + + return supported +} diff --git a/mobile/src/components/codex-reset-credit-consume-operations.ts b/mobile/src/accounts/usage/codex-reset-credit-consume-operations.ts similarity index 91% rename from mobile/src/components/codex-reset-credit-consume-operations.ts rename to mobile/src/accounts/usage/codex-reset-credit-consume-operations.ts index ef3c719fd7b..2f7c685034d 100644 --- a/mobile/src/components/codex-reset-credit-consume-operations.ts +++ b/mobile/src/accounts/usage/codex-reset-credit-consume-operations.ts @@ -1,5 +1,5 @@ -import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc/rpc-operation' -import { rpcResultVariant } from '../transport/rpc/rpc-operation-result-reader' +import { bindDeferredRpcOperation, defineRpcOperation } from '../../transport/rpc/rpc-operation' +import { rpcResultVariant } from '../../transport/rpc/rpc-operation-result-reader' import { codexResetCreditReplySchema } from './codex-reset-credit-reply-schema' // Use require-result-or-throw-message so confirm shows host sentence. Keep payload opaque: call-site decodeResetResult alone checks attempt scope/snapshot. diff --git a/mobile/src/components/codex-reset-credit-reply-schema.ts b/mobile/src/accounts/usage/codex-reset-credit-reply-schema.ts similarity index 100% rename from mobile/src/components/codex-reset-credit-reply-schema.ts rename to mobile/src/accounts/usage/codex-reset-credit-reply-schema.ts diff --git a/mobile/src/components/codex-reset-credit.ts b/mobile/src/accounts/usage/codex-reset-credit.ts similarity index 98% rename from mobile/src/components/codex-reset-credit.ts rename to mobile/src/accounts/usage/codex-reset-credit.ts index 47bf70bfcad..fced6e3117c 100644 --- a/mobile/src/components/codex-reset-credit.ts +++ b/mobile/src/accounts/usage/codex-reset-credit.ts @@ -1,20 +1,20 @@ import { buildCodexResetCreditExpectedScope, type CodexResetCreditExpectedScope -} from '../../../src/shared/codex-reset-credit-scope' +} from '../../../../src/shared/codex-reset-credit-scope' import { codexResetCreditConsume, type MobileCodexResetCreditRpcSender, type MobileCodexResetCreditSendScope } from './codex-reset-credit-consume-operations' import { CodexResetCreditExpectedScopeSchema } from './codex-reset-credit-reply-schema' -import { randomV4Uuid } from '../platform/random-v4-uuid' -import { translate } from '../i18n/mobile-i18n' +import { randomV4Uuid } from '../../platform/random-v4-uuid' +import { translate } from '../../i18n/mobile-i18n' import { decodeAccountsSnapshot, type AccountsSnapshot, type ProviderRateLimits -} from './accounts-snapshot' +} from '../accounts-snapshot' export type CodexResetCreditOutcome = 'reset' | 'nothingToReset' | 'noCredit' | 'alreadyRedeemed' diff --git a/mobile/src/accounts/usage/usage-selectors.ts b/mobile/src/accounts/usage/usage-selectors.ts new file mode 100644 index 00000000000..f0f3b6d3311 --- /dev/null +++ b/mobile/src/accounts/usage/usage-selectors.ts @@ -0,0 +1,90 @@ +// Keep shapes aligned with shared types/rate-limit-types without pulling Electron-coupled desktop graph into mobile. +import { formatResetCountdown } from '../../../../src/shared/rate-limit-reset-format' +import { hasUsageData } from '../../../../src/shared/usage-provider-windows' +import { + ProviderRateLimitsSchema, + type AccountsSnapshot, + type InactiveAccountUsage, + type ProviderRateLimits, + type RateLimitWindow +} from '../accounts-snapshot' + +export type ProviderKey = 'claude' | 'codex' + +export type UsageBarState = { + usedPercent: number | null + unavailable: boolean + loading: boolean +} + +export function getActiveProviderRateLimits( + snapshot: AccountsSnapshot, + provider: ProviderKey +): ProviderRateLimits | null { + return provider === 'claude' ? snapshot.rateLimits.claude : snapshot.rateLimits.codex +} + +export function getInactiveProviderUsage( + snapshot: AccountsSnapshot, + provider: ProviderKey, + accountId: string +): InactiveAccountUsage | null { + const list = + provider === 'claude' + ? snapshot.rateLimits.inactiveClaudeAccounts + : snapshot.rateLimits.inactiveCodexAccounts + return list.find((u) => u.accountId === accountId) ?? null +} + +// System-default logins still fetch quota without managed accounts. Show successful provider or any window data; empty unavailable/error means no credentials. +export function hasActiveProviderUsage(limits: ProviderRateLimits | null): boolean { + return limits !== null && (hasUsageData(limits) || limits.status === 'ok') +} + +// Determine availability per window because transient provider errors retain successful window data. +export function getUsageBarState( + limits: ProviderRateLimits | null, + window: RateLimitWindow | null, + isFetchingOverride?: boolean +): UsageBarState { + const fetching = + isFetchingOverride ?? (limits?.status === 'fetching' || limits?.status === 'idle') + return { + usedPercent: window?.usedPercent ?? null, + unavailable: window == null && !fetching, + loading: fetching && window == null + } +} + +// Use desktop formatResetCountdown copy with injectable now; return null without reset timestamp to retain bars-only UI. +export function getWindowResetLabel(window: RateLimitWindow | null, now: number): string | null { + if (window?.resetsAt == null) { + return null + } + return formatResetCountdown(window.resetsAt - now) +} + +/** Every other provider the host reports usage for, in the host's order; Claude and Codex have their own sections. */ +export function getOtherUsageProviders(snapshot: AccountsSnapshot): ProviderRateLimits[] { + const providers: ProviderRateLimits[] = [] + for (const [slot, value] of Object.entries(snapshot.rateLimits)) { + if (slot === 'claude' || slot === 'codex') { + continue + } + const parsed = ProviderRateLimitsSchema.safeParse(value) + // Hidden or signed-out providers come back idle or unavailable with no windows. + if (parsed.success && (hasUsageData(parsed.data) || parsed.data.status === 'error')) { + providers.push(parsed.data) + } + } + return providers +} + +// Show provider with managed accounts or active system-default quota; management is not required for usage UI. +export function hasRenderableUsage(snapshot: AccountsSnapshot, provider: ProviderKey): boolean { + const accounts = provider === 'claude' ? snapshot.claude.accounts : snapshot.codex.accounts + if (accounts.length > 0) { + return true + } + return hasActiveProviderUsage(getActiveProviderRateLimits(snapshot, provider)) +} diff --git a/mobile/src/components/use-codex-reset-credit-action.ts b/mobile/src/accounts/usage/use-codex-reset-credit-action.ts similarity index 93% rename from mobile/src/components/use-codex-reset-credit-action.ts rename to mobile/src/accounts/usage/use-codex-reset-credit-action.ts index cb0dbcda7f8..4e33f0e9afc 100644 --- a/mobile/src/components/use-codex-reset-credit-action.ts +++ b/mobile/src/accounts/usage/use-codex-reset-credit-action.ts @@ -1,10 +1,10 @@ import { useCallback, useMemo, useRef, useState } from 'react' -import type { CodexResetCreditExpectedScope } from '../../../src/shared/codex-reset-credit-scope' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import { translate } from '../i18n/mobile-i18n' -import type { Translate } from '../i18n/mobile-i18n' -import { useMobileTranslation } from '../i18n/use-mobile-translation' -import type { AccountsSnapshot } from './account-usage-state' +import type { CodexResetCreditExpectedScope } from '../../../../src/shared/codex-reset-credit-scope' +import type { RpcClient } from '../../transport/rpc/rpc-client-contract' +import { translate } from '../../i18n/mobile-i18n' +import type { Translate } from '../../i18n/mobile-i18n' +import { useMobileTranslation } from '../../i18n/use-mobile-translation' +import type { AccountsSnapshot } from '../accounts-snapshot' import { getCodexResetCreditOutcomeCopy, getCodexResetCreditScope, diff --git a/mobile/src/accounts/use-mobile-accounts-snapshot.test.tsx b/mobile/src/accounts/use-mobile-accounts-snapshot.test.tsx deleted file mode 100644 index a64c3166b1b..00000000000 --- a/mobile/src/accounts/use-mobile-accounts-snapshot.test.tsx +++ /dev/null @@ -1,107 +0,0 @@ -import { createElement } from 'react' -import { QueryClientProvider, type QueryClient } from '@tanstack/react-query' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it, vi } from 'vitest' -// Also tells TanStack observers on a microtask, so act() sees replies. -import '../test-support/query-client-test-renderer' -import { settleQueryNotifications } from '../test-support/rpc-recording/hook-mount' -import { createOrcaQueryClient } from '../query/orca-query-client' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import { accountsSnapshotKey } from './accounts-snapshot-stream' -import { useMobileAccountsSnapshot } from './use-mobile-accounts-snapshot' - -const HOST = 'host-1' -const CONNECTED_AT = 1_794_000_000_000 - -const SNAPSHOT = { - claude: { - accounts: [{ id: 'claude-1', email: 'claude@example.test', updatedAt: 100 }], - activeAccountId: 'claude-1' - }, - codex: { accounts: [], activeAccountId: null }, - rateLimits: { - claude: { - provider: 'claude', - session: { usedPercent: 42, windowMinutes: 300, resetsAt: null, resetDescription: null }, - weekly: null, - updatedAt: 100, - error: null, - status: 'ok' - }, - codex: null, - inactiveClaudeAccounts: [], - inactiveCodexAccounts: [] - } -} - -function accountsClient(listReply: unknown) { - let stream: (payload: unknown) => void = () => {} - const sendRequest = vi.fn(async () => ({ id: 'reply', ok: true as const, result: listReply })) - const client: RpcClient = { - sendRequest, - subscribe: (_method, _params, listener) => { - stream = listener - return () => {} - }, - updateTerminalSubscriptionViewport: () => {}, - getState: () => 'connected', - getReconnectAttempt: () => 0, - getLastConnectedAt: () => CONNECTED_AT, - getGeneration: () => 1, - onStateChange: () => () => {}, - notifyForeground: () => {}, - close: () => {} - } - return { client, sendRequest, frame: (payload: unknown) => stream(payload) } -} - -let tree: ReactTestRenderer | null = null -afterEach(() => { - act(() => tree?.unmount()) - tree = null -}) - -async function mountAccounts(queryClient: QueryClient, client: RpcClient) { - let state: ReturnType | null = null - function Probe() { - state = useMobileAccountsSnapshot({ - hostId: HOST, - client, - connState: 'connected', - lastConnectedAt: CONNECTED_AT - }) - return null - } - await act(async () => { - tree = create(createElement(QueryClientProvider, { client: queryClient }, createElement(Probe))) - }) - return () => { - if (!state) { - throw new Error('Not mounted') - } - return state - } -} - -describe('accounts snapshot', () => { - it('still shows usage when the stream fails and accounts.list answers', async () => { - const port = accountsClient(SNAPSHOT) - const read = await mountAccounts(createOrcaQueryClient(), port.client) - await act(async () => port.frame({ type: 'error' })) - await settleQueryNotifications() - expect(port.sendRequest).toHaveBeenCalledWith('accounts.list') - expect(read().live).toBe(true) - expect(read().snapshot?.rateLimits.claude?.session?.usedPercent).toBe(42) - }) - - it('hides usage this screen did not read on the current connection, keeping the accounts', async () => { - const queryClient = createOrcaQueryClient() - queryClient.setQueryData(accountsSnapshotKey(HOST), SNAPSHOT, { updatedAt: CONNECTED_AT - 1 }) - const read = await mountAccounts(queryClient, accountsClient(SNAPSHOT).client) - expect(read().live).toBe(false) - expect(read().snapshot?.rateLimits.claude).toBeNull() - expect(read().snapshot?.claude.accounts.map((account) => account.email)).toEqual([ - 'claude@example.test' - ]) - }) -}) diff --git a/mobile/src/accounts/use-mobile-accounts-snapshot.ts b/mobile/src/accounts/use-mobile-accounts-snapshot.ts index d4370bb5310..d14fb47b4b9 100644 --- a/mobile/src/accounts/use-mobile-accounts-snapshot.ts +++ b/mobile/src/accounts/use-mobile-accounts-snapshot.ts @@ -1,7 +1,7 @@ import { useCallback, useEffect, useMemo, useState } from 'react' import { hashKey, useQuery, useQueryClient } from '@tanstack/react-query' -import { AccountsSnapshotError, decodeAccountsSnapshot } from '../components/accounts-snapshot' -import type { AccountsSnapshot } from '../components/AccountUsage' +import { AccountsSnapshotError, decodeAccountsSnapshot } from './accounts-snapshot' +import type { AccountsSnapshot } from './accounts-snapshot' import { useMobileTranslation } from '../i18n/use-mobile-translation' import { holdsRestoredHostQueryData } from '../query/host-query-persistence' import type { ConnectionState } from '../transport/connection/connection-state' diff --git a/mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx b/mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx index fdbd7fc5ff8..08a2d65d451 100644 --- a/mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx +++ b/mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx @@ -1,5 +1,5 @@ import { openMobileAgentHistoryChat } from './open-mobile-agent-history-chat' -import { mobileStructuredSessionOpenMessage } from '../session/mobile-structured-session-open-message' +import { mobileStructuredSessionOpenMessage } from '../session/native-chat/agent-session/mobile-structured-session-open-message' import { prepareMobileHistoryResumeTarget } from './mobile-history-resume-target-preparation' import { useCallback, useEffect, useMemo, useRef, useState } from 'react' import { View } from 'react-native' diff --git a/mobile/src/agent-history/ai-vault-resume-launch.ts b/mobile/src/agent-history/ai-vault-resume-launch.ts index 1926ddaa787..33594d0b2a3 100644 --- a/mobile/src/agent-history/ai-vault-resume-launch.ts +++ b/mobile/src/agent-history/ai-vault-resume-launch.ts @@ -16,7 +16,7 @@ import type { TuiAgent } from '../../../src/shared/agent-launch/catalog/tui-agen import { parseWslUncPath } from '../../../src/shared/wsl-paths' import { resolveWindowsShellStartupFamily } from '../../../src/shared/windows-terminal-shell' import { RESUME_RPC_TIMEOUT_MS } from './ai-vault-resume-preparation' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' import { interpretOrThrowRefusalMessage } from '../transport/rpc/rpc-refusal-message' import { reviewTerminalCreateRun, @@ -78,7 +78,7 @@ export function buildMobileAiVaultResumeLaunch(args: { } export async function resumeAiVaultSessionInTerminal( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, launch: MobileAiVaultResumeLaunch & { clientMutationId?: string diff --git a/mobile/src/agent-history/ai-vault-resume-preparation.ts b/mobile/src/agent-history/ai-vault-resume-preparation.ts index ef8194abb8c..f35d5609657 100644 --- a/mobile/src/agent-history/ai-vault-resume-preparation.ts +++ b/mobile/src/agent-history/ai-vault-resume-preparation.ts @@ -6,7 +6,7 @@ import { } from '../../../src/shared/ai-vault/resume/ai-vault-resume-preparation' import { LOCAL_EXECUTION_HOST_ID } from '../../../src/shared/execution-host' import { aiVaultResumePreparationRun } from './mobile-ai-vault-resume-operations' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' import { translate } from '../i18n/mobile-i18n' // Why: without an explicit timeout, a socket drop mid-resume parks the request @@ -14,7 +14,7 @@ import { translate } from '../i18n/mobile-i18n' export const RESUME_RPC_TIMEOUT_MS = 30_000 export async function prepareMobileAiVaultSessionResume( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, session: AiVaultSession ): Promise { // Why: per-account repinning runs on the serving host, whose account diff --git a/mobile/src/agent-history/mobile-ai-vault-resume-operations.ts b/mobile/src/agent-history/mobile-ai-vault-resume-operations.ts index e3a0dbc0ef2..879c6fde5e3 100644 --- a/mobile/src/agent-history/mobile-ai-vault-resume-operations.ts +++ b/mobile/src/agent-history/mobile-ai-vault-resume-operations.ts @@ -4,7 +4,6 @@ import '../files/mobile-file-preview-operations' import { aiVaultResumePreparationSchema } from './mobile-ai-vault-resume-reply-schema' import '../browser/mobile-session-browser-reply-schema' import '../files/session-documents/mobile-file-tap-reply-schema' -import '../transport/rpc/rpc-uninterpreted-reply-schemas' // Legacy resume reads unsupported-method refusals raw to fall back to shared home. export const aiVaultResumePreparationRun = bindDeferredRpcOperation( diff --git a/mobile/src/agent-history/open-mobile-agent-history-chat.ts b/mobile/src/agent-history/open-mobile-agent-history-chat.ts index e435509888e..46705610706 100644 --- a/mobile/src/agent-history/open-mobile-agent-history-chat.ts +++ b/mobile/src/agent-history/open-mobile-agent-history-chat.ts @@ -4,7 +4,7 @@ import type { RpcClient } from '../transport/rpc/rpc-client-contract' import { openMobileStructuredSession, mobileStructuredSessionHref -} from '../session/open-mobile-structured-session' +} from '../session/native-chat/agent-session/open-mobile-structured-session' /** Consume native opens and ambiguous failures; only an explicit pre-effect refusal resumes in a terminal. */ export async function openMobileAgentHistoryChat(args: { 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 5b8ebe2e2bc..122708bdeef 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,6 @@ import { useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from 'react' import { useQueryClient } from '@tanstack/react-query' -import { mobileStructuredSessionStatusFeed } from '../session/mobile-structured-session-status-feed' +import { mobileStructuredSessionStatusFeed } from '../session/native-chat/agent-session/mobile-structured-session-status-feed' import type { AgentSessionConversationNames } from '../../../src/shared/agent-session/agent-session-conversation-names' import { useForceReconnect } from '../transport/connection/host-client-hooks' import { useWorkspaceClient } from '../worktree/use-workspace-client' diff --git a/mobile/src/agents/MobileAgentListRows.tsx b/mobile/src/agents/MobileAgentListRows.tsx index 0f5f5b7908b..b564b7d4bdf 100644 --- a/mobile/src/agents/MobileAgentListRows.tsx +++ b/mobile/src/agents/MobileAgentListRows.tsx @@ -12,8 +12,8 @@ import { triggerMediumImpact } from '../platform/haptics' import { colors, spacing } from '../theme/mobile-theme' import { themedStyleSheet } from '../theme/themed-styles' import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' -import type { HostProfile } from '../transport/hosts/host-profile' -import { useHostDisplay } from '../transport/hosts/use-host-display' +import type { HostProfile } from '../host-catalog/host-profile' +import { useHostDisplay } from '../host-descriptors/use-host-display' import { agentStateLabel, formatTimeAgo, type AgentDotState } from '../worktree/agent-row-display' import { isDisclosureOpen, toggleDisclosure } from '../worktree/agent-child-disclosure' import { areStructurallyEqual } from '../worktree/structural-equality' diff --git a/mobile/src/agents/agent-list-model.test.ts b/mobile/src/agents/agent-list-model.test.ts index 1b8ccb3bc2d..0af7468eaaa 100644 --- a/mobile/src/agents/agent-list-model.test.ts +++ b/mobile/src/agents/agent-list-model.test.ts @@ -4,6 +4,7 @@ import type { ConnectionState } from '../transport/connection/connection-state' import type { HostWorktreeInfo } from '../worktree/home-worktree-info' import { buildAgentList, type AgentListSection } from './agent-list-model' import { + selectActiveAgents, selectAgentsNeedingYou, type AgentListInput, type AgentListRow, @@ -79,24 +80,22 @@ const statusView = (showWorkers: boolean, unreadOnly = false) => ({ describe('buildAgentList by status', () => { it('buckets agents by what they ask of the user, newest first, and folds idle ones', () => { - const list = buildAgentList( - input({ - mac: { - state: 'connected', - info: { - agents: entries([ - agent('asking', 'waiting'), - agent('older-run', 'working', { stateStartedAt: NOW - 5 * MINUTE }), - agent('newer-run', 'working', { stateStartedAt: NOW - 2 * MINUTE }), - agent('finished', 'done'), - // Silent past the 30-minute freshness window. - agent('quiet', 'working', { updatedAt: NOW - 31 * MINUTE }) - ]) - } + const host = input({ + mac: { + state: 'connected', + info: { + agents: entries([ + agent('asking', 'waiting'), + agent('older-run', 'working', { stateStartedAt: NOW - 5 * MINUTE }), + agent('newer-run', 'working', { stateStartedAt: NOW - 2 * MINUTE }), + agent('finished', 'done'), + // Silent past the 30-minute freshness window. + agent('quiet', 'working', { updatedAt: NOW - 31 * MINUTE }) + ]) } - }), - statusView(true) - ) + } + }) + const list = buildAgentList(host, statusView(true)) expect(shape(list.sections)).toEqual([ { kind: 'needs-you', rows: ['asking'], workers: [[]], idle: undefined }, { @@ -107,6 +106,7 @@ describe('buildAgentList by status', () => { }, { kind: 'done', rows: ['finished'], workers: [[]], idle: ['quiet'] } ]) + expect(panes(selectActiveAgents(host))).toEqual(['asking', 'newer-run', 'older-run']) }) it('nests workers under their coordinator and still lists the one that needs the user', () => { diff --git a/mobile/src/agents/agent-list-rows.ts b/mobile/src/agents/agent-list-rows.ts index a9490a5929b..fc44c14f64b 100644 --- a/mobile/src/agents/agent-list-rows.ts +++ b/mobile/src/agents/agent-list-rows.ts @@ -159,6 +159,18 @@ export function selectAgentsNeedingYou(input: AgentListInput): AgentListRow[] { .sort(byStatusThenRecent) } +/** Live agents that need the user or are working, workers included: Feed's Active rows. */ +export function selectActiveAgents(input: AgentListInput): AgentListRow[] { + return input.hosts + .flatMap((host) => everyRow(hostAgents(input, host.id).roots)) + .filter((row) => { + const group = agentStatusGroup(row.dotState) + return !row.stale && (group === 'needs-you' || group === 'working') + }) + .map(asTopLevel) + .sort(byStatusThenRecent) +} + export function countAgentsNeedingYouByHost( rows: readonly AgentListRow[] ): Readonly> { diff --git a/mobile/src/agents/use-agent-list-row-actions.tsx b/mobile/src/agents/use-agent-list-row-actions.tsx index dcd191a4b6c..f5b45eda889 100644 --- a/mobile/src/agents/use-agent-list-row-actions.tsx +++ b/mobile/src/agents/use-agent-list-row-actions.tsx @@ -6,7 +6,7 @@ import { TransientToast, useTransientToast } from '../components/TransientToast' import { useMobileTranslation } from '../i18n/use-mobile-translation' import { useClipboardWriter } from '../platform/clipboard' import { useOpenMobileSession } from '../session/use-open-mobile-session' -import type { HostProfile } from '../transport/hosts/host-profile' +import type { HostProfile } from '../host-catalog/host-profile' import type { AgentActivityChange, AgentListRow } from './agent-list-rows' import type { AgentListRowHandlers } from './MobileAgentListRows' import type { AgentActivityFailure } from './use-agent-activity-writes' diff --git a/mobile/src/automations/MobileAutomationsScreen.tsx b/mobile/src/automations/MobileAutomationsScreen.tsx index 9cb62a41d91..b9efea06339 100644 --- a/mobile/src/automations/MobileAutomationsScreen.tsx +++ b/mobile/src/automations/MobileAutomationsScreen.tsx @@ -9,8 +9,8 @@ import { useSafeAreaInsets } from 'react-native-safe-area-context' import { firstParam } from '../navigation/route-param-reader' import { useRouteHandoff } from '../navigation/route-handoff' import { useHostClient } from '../transport/connection/host-client-hooks' -import { useHostDisplay } from '../transport/hosts/use-host-display' -import { useHostProfile } from '../transport/hosts/use-host-profile' +import { useHostDisplay } from '../host-descriptors/use-host-display' +import { useHostProfile } from '../host-catalog/use-host-profile' import { useHostProtocolGates } from '../components/host-protocol-gates-context' import { NavBar, NavBarTitleButton } from '../components/nav-bar/NavBar' import { NavBarButton } from '../components/nav-bar/NavBarButton' diff --git a/mobile/src/automations/use-automation-catalog.ts b/mobile/src/automations/use-automation-catalog.ts index e51cf5190fa..18bc9e31df7 100644 --- a/mobile/src/automations/use-automation-catalog.ts +++ b/mobile/src/automations/use-automation-catalog.ts @@ -12,7 +12,8 @@ import type { ExecutionHostId } from '../../../src/shared/execution-host' import type { RpcClient } from '../transport/rpc/rpc-client-contract' import { hostStatusProbe } from '../transport/connection/host-status-probe-operations' import { hostConnectionEpoch, readHostStatusReply } from '../query/host-status-query' -import { defineHostQuery, useHostEventRouter, useHostQuery } from '../query/host-query' +import { defineHostQuery, useHostQuery } from '../query/host-query' +import { useHostEventRouter } from '../query/host-event-router' import { hostQueryKey, type HostQueryTarget } from '../query/host-query-key' import { isHostNotConnectedError } from '../query/host-query-errors' import { readViewBase } from '../query/host-read-client' diff --git a/mobile/src/browser/mobile-session-browser-operations.ts b/mobile/src/browser/mobile-session-browser-operations.ts index 597ef6fac7a..2dee93227b4 100644 --- a/mobile/src/browser/mobile-session-browser-operations.ts +++ b/mobile/src/browser/mobile-session-browser-operations.ts @@ -4,7 +4,6 @@ import '../files/mobile-file-preview-operations' import { browserTabCreatedSchema } from './mobile-session-browser-reply-schema' import '../agent-history/mobile-ai-vault-resume-reply-schema' import '../files/session-documents/mobile-file-tap-reply-schema' -import '../transport/rpc/rpc-uninterpreted-reply-schemas' export const sessionBrowserTabCreate = bindDeferredRpcOperation( defineRpcOperation({ diff --git a/mobile/src/components/AccountUsage.tsx b/mobile/src/components/AccountUsage.tsx deleted file mode 100644 index 83253a3c04b..00000000000 --- a/mobile/src/components/AccountUsage.tsx +++ /dev/null @@ -1,156 +0,0 @@ -import { View, Text, ActivityIndicator, type StyleProp, type ViewStyle } from 'react-native' -import { colors, spacing, typography } from '../theme/mobile-theme' -import { themedStyleSheet } from '../theme/themed-styles' -import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' - -// Re-export pure account-usage-state selectors/types to keep imports stable and tests free of RN. -export type { - RateLimitWindow, - ProviderRateLimits, - InactiveAccountUsage, - ClaudeAccountSummary, - CodexAccountSummary, - AccountsSnapshot, - ProviderKey, - UsageBarState -} from './account-usage-state' -export { - decodeAccountsSnapshot, - getActiveProviderRateLimits, - getInactiveProviderUsage, - getOtherUsageProviders, - getUsageBarState, - getWindowResetLabel, - hasActiveProviderUsage, - hasRenderableUsage -} from './account-usage-state' - -/** A meter's fill: the rounded, clamped percent and its consumption colour, shared by every usage meter. */ -export function usageBarFill( - usedPercent: number | null, - unavailable: boolean -): { used: number | null; color: string } { - // Why: round then clamp so bar width, color, and label share one value (desktop parity). - const used = usedPercent == null ? null : Math.max(0, Math.min(100, Math.round(usedPercent))) - // Why: same consumption bands as desktop barColor (green <60, amber <80, red ≥80). - const color = - unavailable || used == null - ? colors.textMuted - : used >= 80 - ? colors.statusRed - : used >= 60 - ? colors.statusAmber - : colors.statusGreen - return { used, color } -} - -// Match desktop/harness consumption meters: fresh empty/green, depleted full/red. -export function UsageBar({ - label, - usedPercent, - unavailable, - loading, - resetText, - wideLabel = false, - style -}: { - label: string - usedPercent: number | null - unavailable: boolean - loading?: boolean - resetText?: string | null - /** For long pool names: the label sits on its own line above the track. */ - wideLabel?: boolean - style?: StyleProp -}) { - useMobileColorScheme() - const { used, color } = usageBarFill(usedPercent, unavailable) - return ( - - - {label} - - - - - - - {loading ? ( - - ) : ( - {unavailable || used == null ? '—' : `${used}%`} - )} - - {resetText ? ( - - {resetText} - - ) : null} - - - ) -} - -const styles = themedStyleSheet(() => ({ - usageBarRow: { - flex: 1, - flexDirection: 'row', - alignItems: 'flex-start', - gap: spacing.xs - }, - usageBarStack: { - gap: 2 - }, - usageBarBody: { - gap: 2 - }, - usageBarBodyBeside: { - flex: 1 - }, - usageBar: { - flexDirection: 'row', - alignItems: 'center', - gap: spacing.xs - }, - usageLabel: { - fontSize: typography.metaSize, - color: colors.textMuted, - minWidth: 22 - }, - usageTrack: { - flex: 1, - height: 6, - borderRadius: 3, - backgroundColor: colors.bgRaised, - overflow: 'hidden' - }, - usageFill: { - height: '100%', - borderRadius: 3 - }, - usageValue: { - fontSize: typography.metaSize, - color: colors.textSecondary, - width: 36, - textAlign: 'right' - }, - usageSpinner: { - width: 36 - }, - usageResetText: { - fontSize: typography.metaSize, - color: colors.textMuted - } -})) diff --git a/mobile/src/components/ActionSheetModal.tsx b/mobile/src/components/ActionSheetModal.tsx index 774adcc3c40..49a25ebbc78 100644 --- a/mobile/src/components/ActionSheetModal.tsx +++ b/mobile/src/components/ActionSheetModal.tsx @@ -15,6 +15,8 @@ export type ActionSheetAction = { destructive?: boolean disabled?: boolean hint?: string + /** Short trailing state, e.g. "↑2" or "Up to date". */ + status?: string /** Marks the choice that is current, as a trailing check. */ checked?: boolean loading?: boolean @@ -77,6 +79,7 @@ export function ActionSheetContent({ title, message, children, actions, onClose key={action.id ?? action.label} title={action.label} subtitle={action.hint} + value={action.status} leading={ action.renderIcon?.() ?? ( { it('restores original positions and writes nothing when an active drag is cancelled', async () => { @@ -204,74 +197,3 @@ describe('late gesture callbacks', () => { expect(fixture.onReorder).not.toHaveBeenCalled() }) }) - -it('stops scrolling at the viewport edge when rows are replaced', async () => { - const fixture = await mounted() - probe.viewport = { pageY: 0, height: 100 } - await act(async () => { - fixture.gesture.start!({ absoluteY: 90, translationY: 0 }, true) - probe.frame!({ timeSincePreviousFrame: 16 }) - }) - expect(probe.scroll).toHaveBeenCalledTimes(1) - await fixture.updateItems(['b', 'c']) - await act(async () => probe.frame!({ timeSincePreviousFrame: 16 })) - expect(probe.scroll).toHaveBeenCalledTimes(1) - expect(probe.frameActive).toHaveBeenLastCalledWith(false) - await act(async () => fixture.root.unmount()) -}) - -it('keeps measured rows still on hold, restores cancellation, and drops by moved ID plus neighbor', async () => { - const move = vi.fn() - function Harness() { - return createElement(DragReorderList, { - items: ['a', 'b', 'c'], - itemKey: (item) => item, - rowPresentation: 'plain', - renderRow: (item, handle) => createElement('Text', null, item, handle), - onMove: move, - scrollRef: useAnimatedRef(), - scrollOffsetY: useSharedValue(0), - scrollContentHeight: useSharedValue(140) - }) - } - let root: ReturnType - await act(async () => { - root = create(createElement(Harness)) - }) - const handle = root!.root.findAllByType(Animated.View).find((node) => node.props.hitSlop)! - const handleStyle = Object.assign({}, ...handle.props.style) - const gripWidth = handle.findByType(GripVertical).props.size - const width = gripWidth + 2 * handleStyle.paddingHorizontal - const left = queuedMessageStyles.row.paddingLeft - handle.props.hitSlop.left - const right = queuedMessageStyles.row.paddingLeft + width + handle.props.hitSlop.right - expect(handleStyle.paddingHorizontal).toBe(spacing.xs) - expect([left, right]).toEqual([4, 62]) - expect(right - Math.max(0, left)).toBe(58) - const rows = root!.root.findAll( - (node) => node.type === Animated.View && typeof node.props.onLayout === 'function' - ) - await act(async () => - rows.forEach((row, index) => - row.props.onLayout({ nativeEvent: { layout: { height: index === 0 ? 100 : 20 } } }) - ) - ) - await publishLayout() - const gesture = probe.gestures.at(-3)! - const at = (translationY: number) => ({ absoluteY: 100 + translationY, translationY }) - await act(async () => { - gesture.start!(at(0), true) - gesture.update!(at(0), true) - gesture.finalize!(at(0), true) - gesture.start!(at(0), true) - gesture.update!(at(35), true) - gesture.finalize!(at(35), false) - }) - expect(move).not.toHaveBeenCalled() - await act(async () => { - gesture.start!(at(0), true) - gesture.update!(at(35), true) - gesture.finalize!(at(35), true) - }) - expect(move).toHaveBeenCalledExactlyOnceWith({ movedId: 'a', afterId: 'c' }) - await act(async () => root!.unmount()) -}) diff --git a/mobile/src/components/MobileDiffReviewLine.tsx b/mobile/src/components/MobileDiffReviewLine.tsx index 0bd1bbf872e..27cbb73605a 100644 --- a/mobile/src/components/MobileDiffReviewLine.tsx +++ b/mobile/src/components/MobileDiffReviewLine.tsx @@ -1,5 +1,5 @@ import { memo } from 'react' -import { Pressable, StyleSheet, Text, View } from 'react-native' +import { Platform, Pressable, Text, View, type ViewStyle } from 'react-native' import { MessageSquare } from 'lucide-react-native' import type { Translate } from '../i18n/mobile-i18n' import { useMobileTranslation } from '../i18n/use-mobile-translation' @@ -7,7 +7,7 @@ import type { DiffComment } from '../../../src/shared/diff-comment-types' import type { MobileDiffLine } from '../source-control/review/mobile-diff-lines' import type { MobileHighlightedDiffLine } from '../files/session-documents/mobile-file-syntax' import { mobileDiffLineNumber, mobileDiffLinePrefix } from '../source-control/mobile-diff-format' -import { colors, spacing, typography } from '../theme/mobile-theme' +import { colors, typography } from '../theme/mobile-theme' import { themedStyleSheet } from '../theme/themed-styles' import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' import { MobileSyntaxSegments } from './MobileSyntaxSegments' @@ -21,6 +21,8 @@ type Props = { staleCommentIds: ReadonlySet /** Part of the lines picked for a note. */ selected?: boolean + /** Fits the file's longest line number, so every row's gutter lines up. */ + numberWidth: number /** Absent where lines take no notes, e.g. a past commit's files. */ onAddNote?: (lineNumber: number) => void onEditNote: (comment: DiffComment) => void @@ -52,6 +54,7 @@ export const MobileDiffReviewLine = memo(function MobileDiffReviewLine({ comments, staleCommentIds, selected = false, + numberWidth, onAddNote, onEditNote }: Props) { @@ -59,23 +62,45 @@ export const MobileDiffReviewLine = memo(function MobileDiffReviewLine({ useMobileColorScheme() const lineNumber = mobileDiffLineNumber(line) const canComment = onAddNote !== undefined && canCommentOnLine(line) + const ground = [ + line.kind === 'add' && styles.addedRow, + line.kind === 'delete' && styles.deletedRow, + selected && styles.selectedRow + ] return ( - {mobileDiffLinePrefix(line.kind)} - {lineNumber ? String(lineNumber) : ''} + {/* Pinned while the file scrolls sideways, so it repaints the row's tint over an opaque ground. */} + + + + {lineNumber ? String(lineNumber) : ''} + + + {mobileDiffLinePrefix(line.kind)} + + + [styles.code, pressed && canComment && styles.codePressed]} disabled={!canComment} @@ -98,41 +123,83 @@ export const MobileDiffReviewLine = memo(function MobileDiffReviewLine({ {comments.length > 0 ? ( - - {comments.map((comment) => ( - [styles.noteButton, pressed && styles.noteButtonPressed]} - onPress={() => onEditNote(comment)} - accessibilityRole="button" - accessibilityLabel={t( - 'components.diffReviewLine.editNoteOnLine', - 'Edit note on line {{number}}', - { - number: comment.lineNumber - } - )} - > - - - ))} + + + {comments.map((comment) => ( + [styles.noteButton, pressed && styles.noteButtonPressed]} + onPress={() => onEditNote(comment)} + accessibilityRole="button" + accessibilityLabel={t( + 'components.diffReviewLine.editNoteOnLine', + 'Edit note on line {{number}}', + { + number: comment.lineNumber + } + )} + > + + + ))} + ) : null} ) }) +/** Renders one code line's worth of a known string, so the list can size its columns to the code font. */ +export function MobileDiffReviewCharWidthProbe({ + onCharWidth +}: { + onCharWidth: (width: number) => void +}) { + return ( + onCharWidth(event.nativeEvent.layout.width / PROBE_TEXT.length)} + > + {PROBE_TEXT} + + ) +} + +const PROBE_TEXT = '0'.repeat(100) +const SIGN_WIDTH = 14 +// Room either side of the line number. +const NUMBER_PADDING = 12 + +export function mobileDiffReviewGutterWidth(numberWidth: number): number { + return numberWidth + SIGN_WIDTH +} + +export function mobileDiffReviewNumberWidth(digits: number, charWidth: number): number { + return Math.ceil(digits * charWidth + NUMBER_PADDING) +} + +// The page lets long lines run and the file scroll sideways under pinned cells (Kelvin's choice over wrapping). +const webPinned: ViewStyle = + Platform.OS === 'web' + ? { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: RN Web renders CSS sticky; this branch never reaches native. + position: 'sticky' as ViewStyle['position'], + zIndex: 1 + } + : {} + // Use 18px lineHeight alone without padding/minHeight to match desktop diff density (STA-1239). const styles = themedStyleSheet(() => ({ row: { flexDirection: 'row', - alignItems: 'stretch', - borderBottomWidth: StyleSheet.hairlineWidth, - borderBottomColor: colors.borderSubtle + alignItems: 'stretch' }, addedRow: { backgroundColor: colors.diffAddedBg @@ -144,38 +211,71 @@ const styles = themedStyleSheet(() => ({ selectedRow: { backgroundColor: colors.skillTokenSurface }, - prefix: { - width: 18, - textAlign: 'center', - color: colors.textMuted, + pinned: { + ...webPinned, + backgroundColor: colors.bgBase + }, + pinnedLeft: { + left: 0 + }, + pinnedRight: { + right: 0 + }, + gutter: { + flex: 1, + flexDirection: 'row' + }, + lineNumber: { + paddingRight: 6, + textAlign: 'right', + color: colors.diffLineNumber, fontFamily: typography.monoFamily, fontSize: typography.metaSize, lineHeight: 18 }, - lineNumber: { - width: 44, - paddingRight: spacing.xs, - textAlign: 'right', - color: colors.textMuted, + addedNumber: { + color: colors.textPrimary, + backgroundColor: colors.diffAddedGutter + }, + deletedNumber: { + color: colors.textPrimary, + backgroundColor: colors.diffDeletedGutter + }, + sign: { + width: SIGN_WIDTH, + textAlign: 'center', + color: colors.diffLineNumber, fontFamily: typography.monoFamily, fontSize: typography.metaSize, lineHeight: 18 }, + addedSign: { + color: colors.diffAddedSign + }, + deletedSign: { + color: colors.diffDeletedSign + }, code: { flex: 1, minWidth: 0, - paddingHorizontal: spacing.sm + paddingRight: 10 }, codePressed: { backgroundColor: colors.bgRaised }, codeText: { + ...(Platform.OS === 'web' ? { whiteSpace: 'pre' as const } : {}), color: colors.textPrimary, fontFamily: typography.monoFamily, fontSize: 12, lineHeight: 18 }, + probe: { + position: 'absolute', + opacity: 0 + }, notes: { + flex: 1, width: 40, alignItems: 'center', justifyContent: 'center', diff --git a/mobile/src/components/MobileDiffReviewLines.tsx b/mobile/src/components/MobileDiffReviewLines.tsx index 04ddb7398eb..09fb1e9d3f3 100644 --- a/mobile/src/components/MobileDiffReviewLines.tsx +++ b/mobile/src/components/MobileDiffReviewLines.tsx @@ -1,11 +1,17 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react' -import { FlatList, Platform, Pressable, Text, View } from 'react-native' +import { FlatList, Platform, Pressable, Text, View, type ViewStyle } from 'react-native' import { Gesture, GestureDetector } from 'react-native-gesture-handler' -import { ChevronsUpDown } from 'lucide-react-native' +import { UnfoldVertical } from 'lucide-react-native' import type { DiffComment } from '../../../src/shared/diff-comment-types' import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' import { useMobileTranslation } from '../i18n/use-mobile-translation' -import { DIFF_LINE_ID_PREFIX, MobileDiffReviewLine } from './MobileDiffReviewLine' +import { + DIFF_LINE_ID_PREFIX, + MobileDiffReviewCharWidthProbe, + MobileDiffReviewLine, + mobileDiffReviewGutterWidth, + mobileDiffReviewNumberWidth +} from './MobileDiffReviewLine' import type { ReviewDiffLine } from '../source-control/review/mobile-diff-review-screen-model' import { buildMobileDiffReviewRows, @@ -25,6 +31,18 @@ const RANGE_PICK_LONG_PRESS_MS = 350 const MAX_SCROLL_ATTEMPTS = 10 const NO_LINE_NOTES: readonly DiffComment[] = [] const SCROLL_RETRY_MS = 100 +// The page's default tab-size, so a tabbed line's width matches what it draws. +const TAB_COLUMNS = 8 +const CODE_END_PADDING = 10 +const NOTES_WIDTH = 40 + +function lineColumns(text: string): number { + let columns = 0 + for (const char of text) { + columns = char === '\t' ? (Math.floor(columns / TAB_COLUMNS) + 1) * TAB_COLUMNS : columns + 1 + } + return columns +} export type LineRange = { startLine: number; line: number } @@ -77,6 +95,44 @@ export function MobileDiffReviewLines({ setOpened({ lines, indexes: next }) } + // Long lines run on one line and the whole file scrolls sideways, so every row is as wide as the longest. + const [charWidth, setCharWidth] = useState(0) + const [viewportWidth, setViewportWidth] = useState(0) + const { numberWidth, codeColumns } = useMemo(() => { + let digits = 1 + let columns = 0 + for (const line of lines) { + digits = Math.max(digits, String(line.newLineNumber ?? line.oldLineNumber ?? '').length) + columns = Math.max(columns, lineColumns(line.text)) + } + return { numberWidth: mobileDiffReviewNumberWidth(digits, charWidth), codeColumns: columns } + }, [charWidth, lines]) + const gutterWidth = mobileDiffReviewGutterWidth(numberWidth) + const rowFrame: ViewStyle = + Platform.OS === 'web' && charWidth > 0 + ? { + width: Math.max( + viewportWidth, + Math.ceil( + gutterWidth + + codeColumns * charWidth + + CODE_END_PADDING + + (commentsByLine.size > 0 ? NOTES_WIDTH : 0) + ) + ) + } + : {} + // Folds, threads and the footer hold still in the viewport while the code slides under them. + const viewportRow: ViewStyle = + Platform.OS === 'web' && viewportWidth > 0 + ? { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: RN Web renders CSS sticky; this branch never reaches native. + position: 'sticky' as ViewStyle['position'], + left: 0, + width: viewportWidth + } + : {} + const listRef = useRef>>(null) const scrollFailedRef = useRef(false) const [scrollAttempt, setScrollAttempt] = useState(0) @@ -204,10 +260,16 @@ export function MobileDiffReviewLines({ return ( - + setViewportWidth(event.nativeEvent.layout.width)} + > + > ref={listRef} data={rows} + style={styles.diffList} // The list holds still while lines are being picked, so the drag selects instead of scrolling. scrollEnabled={dragRange === null} onScrollToIndexFailed={(info) => { @@ -218,60 +280,77 @@ export function MobileDiffReviewLines({ }) }} keyExtractor={(row) => row.key} - renderItem={({ item: row }) => - row.kind === 'fold' ? ( - [styles.foldRow, pressed && styles.buttonPressed]} - onPress={() => openFold(row.startIndex, row.endIndex)} - accessibilityRole="button" - accessibilityLabel={t( - 'components.diffReviewBody.showUnchangedLines', - 'Show {{count}} unchanged lines', - { count: row.hiddenCount } - )} - > - - - {row.hiddenCount === 1 - ? t( - 'components.diffReviewBody.unchangedLines_one', - '{{count}} unchanged line', - { - count: row.hiddenCount - } - ) - : t( - 'components.diffReviewBody.unchangedLines_other', - '{{count}} unchanged lines', - { count: row.hiddenCount } - )} - - - ) : row.kind === 'thread' ? ( - - - - ) : ( - = highlighted.startLine && - row.line.newLineNumber <= highlighted.line - } - {...(onPickLines ? { onAddNote: pickOneLine } : {})} - onEditNote={onEditNote} - /> - ) - } - contentContainerStyle={styles.diffList} + renderItem={({ item: row }) => ( + + {row.kind === 'fold' ? ( + [ + styles.foldRow, + viewportRow, + pressed && styles.buttonPressed + ]} + onPress={() => openFold(row.startIndex, row.endIndex)} + accessibilityRole="button" + accessibilityLabel={t( + 'components.diffReviewBody.showUnchangedLines', + 'Show {{count}} unchanged lines', + { count: row.hiddenCount } + )} + > + + + + + + {row.hiddenCount === 1 + ? t( + 'components.diffReviewBody.unchangedLines_one', + '{{count}} unchanged line', + { + count: row.hiddenCount + } + ) + : t( + 'components.diffReviewBody.unchangedLines_other', + '{{count}} unchanged lines', + { count: row.hiddenCount } + )} + + {row.enclosingLine ? ( + + {row.enclosingLine} + + ) : null} + + + ) : row.kind === 'thread' ? ( + + + + ) : ( + = highlighted.startLine && + row.line.newLineNumber <= highlighted.line + } + {...(onPickLines ? { onAddNote: pickOneLine } : {})} + onEditNote={onEditNote} + /> + )} + + )} + contentContainerStyle={styles.diffListContent} + ListFooterComponentStyle={rowFrame} ListFooterComponent={ truncated ? ( - + {t('components.diffReviewBody.diffTruncated', 'Diff truncated for mobile preview.')} ) : null diff --git a/mobile/src/components/MobilePRSidebar.tsx b/mobile/src/components/MobilePRSidebar.tsx index 433f909e6f3..c264d0281e4 100644 --- a/mobile/src/components/MobilePRSidebar.tsx +++ b/mobile/src/components/MobilePRSidebar.tsx @@ -24,6 +24,7 @@ import { useNow } from '../hooks/use-now' import { commentRelativeTime } from './pr-sidebar/pr-comment-relative-time' import { prStateBadge } from './pr-sidebar/pr-checks-presentation' import { statusColor } from './pr-sidebar/pr-sidebar-status-color' +import { PrStateIcon } from './PrStateIcon' import { PrTabEmptyState } from './pr-sidebar/PrTabEmptyState' import { PrChangesCard, PrDescription } from './pr-sidebar/PrTabOverviewCards' import { PrTabBottomAction } from './pr-sidebar/PrTabBottomAction' @@ -231,6 +232,7 @@ function PrTabHeader({ data }: { data: PrSidebarData }) { + {badge.label} #{pr.number} diff --git a/mobile/src/components/MobileSyntaxSegments.tsx b/mobile/src/components/MobileSyntaxSegments.tsx index b768a2be8e7..9f06e26fa39 100644 --- a/mobile/src/components/MobileSyntaxSegments.tsx +++ b/mobile/src/components/MobileSyntaxSegments.tsx @@ -47,5 +47,8 @@ const syntaxTokenStyles: Record = themedStyleS }, meta: { color: colors.syntaxMeta + }, + tag: { + color: colors.syntaxTag } })) diff --git a/mobile/src/components/NewWorktreeModal.test.tsx b/mobile/src/components/NewWorktreeModal.test.tsx deleted file mode 100644 index 6da85abe6b3..00000000000 --- a/mobile/src/components/NewWorktreeModal.test.tsx +++ /dev/null @@ -1,525 +0,0 @@ -import { createElement, Suspense, type ReactElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' - -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import type { RpcResponse } from '../transport/rpc/rpc-wire-types' - -const asyncStorage = vi.hoisted(() => ({ - getItem: vi.fn().mockResolvedValue(null), - setItem: vi.fn().mockResolvedValue(undefined), - removeItem: vi.fn().mockResolvedValue(undefined) -})) -vi.mock('./DisclosureChevron', () => ({ - DisclosureChevron: ({ children }: { children: unknown }) => children -})) -vi.mock('@react-native-async-storage/async-storage', () => ({ default: asyncStorage })) -vi.mock('react-native', () => ({ - ActivityIndicator: 'ActivityIndicator', - AppState: { currentState: 'active' }, - FlatList: 'FlatList', - Image: 'Image', - Keyboard: { dismiss: vi.fn() }, - Linking: { openURL: vi.fn() }, - Modal: 'Modal', - ScrollView: 'ScrollView', - Platform: { OS: 'ios', select: (options: { ios?: unknown }) => options.ios }, - Pressable: 'Pressable', - StyleSheet: { create: (styles: T) => styles }, - Switch: 'Switch', - Text: 'Text', - TextInput: 'TextInput', - View: 'View' -})) -// Every icon in the drawer tree renders as a host element named after itself. -vi.mock( - 'lucide-react-native', - () => - new Proxy( - {}, - { - get: (_target, name) => (typeof name === 'string' ? name : undefined), - has: () => true - } - ) -) -vi.mock('./bottom-drawer/BottomDrawer', () => ({ BottomDrawer: 'BottomDrawer' })) -vi.mock('./bottom-drawer/bottom-drawer-modal-host', () => ({ - BottomDrawerModalHost: 'BottomDrawerModalHost' -})) -vi.mock('./PickerListDrawer', () => ({ PickerListDrawer: 'PickerListDrawer' })) -vi.mock('./AutoHeight', () => ({ AutoHeight: 'AutoHeight' })) -vi.mock('./MobileSwitch', () => ({ MobileSwitch: 'MobileSwitch' })) -vi.mock('./MobileAgentIcon', () => ({ MobileAgentIcon: 'MobileAgentIcon' })) -vi.mock('./TaskProviderLogo', () => ({ TaskProviderLogo: 'TaskProviderLogo' })) - -// The form seeds from the host list's repo.list rows in this document's query cache. -const cachedRepos = new Map() -const setCachedRepos = (hostId: string, rows: unknown[]) => cachedRepos.set(hostId, rows) -vi.mock('@tanstack/react-query', () => ({ useQueryClient: () => null })) -vi.mock('../host-screen/host-list-queries', () => ({ - cachedHostRepos: (_queryClient: unknown, hostId: string | undefined) => - (hostId && cachedRepos.get(hostId)) || null -})) - -import '../transport/hosts/host-descriptor-store' -import { FakeSession } from '../transport/connection/mobile-endpoint-supervisor-test-fakes' -import { markRpcDeliveryUnknown } from '../transport/rpc/rpc-delivery-ambiguity' -import '../../../src/shared/execution-host' -import type { ExecutionHostId } from '../../../src/shared/execution-host' - -import { NewWorktreeModal } from './NewWorktreeModal' -import { publishPageDeviceStore } from '../mobile-web-shell/bridge/page-device-store' -import { resetDurableDraftFieldsForTests } from '../drafts/durable-draft-fields' -import { publishInMemoryDeviceStore } from '../drafts/in-memory-device-store.test-support' - -import { findAllByHostType } from '../test-support/react-test-renderer-host-nodes' - -const repos = [ - { - id: 'repo-1', - displayName: 'orca', - path: '/src/orca', - kind: 'git', - upstream: { owner: 'stablyai', repo: 'orca' } - } -] - -function pickerItems( - renderer: ReactTestRenderer, - title: string -): { label: string; detail: string }[] { - const pickers = findAllByHostType(renderer.root, 'PickerListDrawer') - const picker = pickers.find((node) => node.props.title === title) - return picker?.props.items ?? [] -} - -function sourceInputs(renderer: ReactTestRenderer) { - return findAllByHostType(renderer.root, 'TextInput').filter( - (node) => node.props.placeholder === 'Type a name or search a source' - ) -} - -function requestsOnly(sendRequest: RpcClient['sendRequest']): RpcClient { - const client = new FakeSession('connected') - client.sendRequest.mockImplementation(sendRequest) - return client -} - -function replied(result: unknown): Promise { - return Promise.resolve({ id: 'reply', ok: true, result }) -} - -function runTargetPicker(renderer: ReactTestRenderer) { - return findAllByHostType(renderer.root, 'PickerListDrawer').find( - (node) => node.props.title === 'Run on' - )! -} - -async function flushUpdates(): Promise { - await act(async () => { - await Promise.resolve() - await Promise.resolve() - await Promise.resolve() - }) -} - -describe('NewWorktreeModal project targets', () => { - let renderer: ReactTestRenderer - - beforeEach(() => { - setCachedRepos('host-1', repos) - }) - - afterEach(() => { - act(() => renderer?.unmount()) - }) - - it("lists the desktop's repos at once while a server has not answered", async () => { - const desktop = vi.fn((method: string) => - method === 'repo.list' ? replied({ repos }) : new Promise(() => {}) - ) - const hungServer = vi.fn(() => new Promise(() => {})) - - await act(async () => { - renderer = create( - createElement(NewWorktreeModal, { - visible: true, - client: requestsOnly(desktop), - serverClients: new Map([ - ['runtime:env-1', requestsOnly(hungServer)] - ]), - hostId: 'host-cold', - onCreated: () => {}, - onClose: () => {}, - openExternalUrl: () => {} - }) - ) - }) - await flushUpdates() - - expect(hungServer).toHaveBeenCalledWith('repo.list') - expect(pickerItems(renderer, 'Run on').map((item) => item.detail)).toEqual(['/src/orca']) - }) - - it('keeps a server repo picked when the desktop lists a repo with the same id', async () => { - const serverRepo = { ...repos[0]!, path: '/srv/orca' } - const listing = (listed: unknown[]) => - vi.fn((method: string) => - method === 'repo.list' ? replied({ repos: listed }) : new Promise(() => {}) - ) - - await act(async () => { - renderer = create( - createElement(NewWorktreeModal, { - visible: true, - client: requestsOnly(listing(repos)), - serverClients: new Map([ - ['runtime:env-1', requestsOnly(listing([serverRepo]))] - ]), - hostId: 'host-1', - onCreated: () => {}, - onClose: () => {}, - openExternalUrl: () => {} - }) - ) - }) - await flushUpdates() - const picker = runTargetPicker(renderer) - await act(async () => picker.props.onSelect(picker.props.items[1])) - await flushUpdates() - - expect(runTargetPicker(renderer).props.selectedId).toBe('runtime:env-1') - expect( - renderer.root.find((node) => node.props.runTarget !== undefined).props.runTarget.detail - ).toBe('/srv/orca') - }) - - it("offers only the folder host's copy of a repo when opened from a folder", async () => { - const serverRepo = { ...repos[0]!, path: '/srv/orca' } - const listing = (listed: unknown[]) => - vi.fn((method: string) => - method === 'repo.list' ? replied({ repos: listed }) : new Promise(() => {}) - ) - - await act(async () => { - renderer = create( - createElement(NewWorktreeModal, { - visible: true, - client: requestsOnly(listing(repos)), - serverClients: new Map([ - ['runtime:env-1', requestsOnly(listing([serverRepo]))] - ]), - hostId: 'host-1', - onCreated: () => {}, - onClose: () => {}, - openExternalUrl: () => {}, - folderLaunch: { - repoId: 'repo-1', - executionHostId: 'runtime:env-1', - name: 'payments', - parentWorkspace: 'folder:f-1', - submit: { begin: () => null, presenting: () => true } - } - }) - ) - }) - await flushUpdates() - - // The desktop's same-id repo is not offered: its store doesn't hold this folder. - expect(pickerItems(renderer, 'Run on').map((item) => item.detail)).toEqual(['/srv/orca']) - expect(runTargetPicker(renderer).props.selectedId).toBe('runtime:env-1') - }) - - async function submitFromFolder(createReply: () => Promise) { - const serverRepo = { ...repos[0]!, path: '/srv/orca' } - const server = requestsOnly( - vi.fn((method: string) => - method === 'repo.list' - ? replied({ repos: [serverRepo] }) - : method === 'worktree.create' - ? createReply() - : Promise.reject(new Error(`unexpected ${method}`)) - ) - ) - const settle = vi.fn() - - await act(async () => { - renderer = create( - createElement(NewWorktreeModal, { - visible: true, - client: requestsOnly(() => new Promise(() => {})), - serverClients: new Map([['runtime:env-1', server]]), - hostId: 'host-1', - onCreated: () => {}, - onClose: () => {}, - openExternalUrl: () => {}, - folderLaunch: { - repoId: 'repo-1', - executionHostId: 'runtime:env-1', - name: 'payments', - parentWorkspace: 'folder:f-1', - submit: { begin: () => ({ settle }), presenting: () => true } - } - }) - ) - }) - await flushUpdates() - const form = renderer.root.find((node) => typeof node.props.onCreate === 'function') - await act(async () => form.props.onCreate()) - await flushUpdates() - - const creates = vi - .mocked(server.sendRequest) - .mock.calls.filter(([method]) => method === 'worktree.create') - return { creates: creates.map(([, params]) => params), settle } - } - - it('creates from a folder attached to that folder, on its host', async () => { - const { creates, settle } = await submitFromFolder(() => - replied({ worktree: { id: 'repo-1::/srv/w/payments', displayName: 'payments' } }) - ) - expect(creates).toEqual([ - expect.objectContaining({ - repo: 'id:repo-1', - parentWorkspace: 'folder:f-1', - parentWorkspaceOrigin: 'manual' - }) - ]) - expect(settle).toHaveBeenCalledWith('created') - }) - - it("doesn't try another name when a folder create's reply is lost", async () => { - const { creates, settle } = await submitFromFolder(() => - Promise.reject(markRpcDeliveryUnknown(new Error('connection lost'))) - ) - expect(creates).toHaveLength(1) - expect(settle).toHaveBeenCalledWith('uncertain') - }) - - it('ignores a stale repo list after the client changes', async () => { - let resolveOldList: ((value: unknown) => void) | undefined - const oldList = new Promise((resolve) => { - resolveOldList = resolve - }) - const freshRepo = { ...repos[0]!, id: 'repo-fresh', displayName: 'fresh' } - const oldClient = requestsOnly( - vi.fn().mockImplementation((method: string) => { - if (method === 'repo.list') { - return oldList - } - return new Promise(() => {}) - }) - ) - const freshClient = requestsOnly( - vi.fn().mockImplementation((method: string) => { - if (method === 'repo.list') { - return Promise.resolve({ ok: true, result: { repos: [freshRepo] } }) - } - if (method === 'status.get') { - return Promise.resolve({ ok: true, result: { hostPlatform: 'darwin' } }) - } - return new Promise(() => {}) - }) - ) - const modalProps = { - visible: true, - hostId: 'host-1', - onCreated: () => {}, - onClose: () => {}, - openExternalUrl: () => {} - } - - await act(async () => { - renderer = create(createElement(NewWorktreeModal, { ...modalProps, client: oldClient })) - }) - const sourceInput = sourceInputs(renderer)[0]! - act(() => sourceInput.props.onChangeText('stale-client-name')) - expect(sourceInput.props.value).toBe('stale-client-name') - await act(async () => { - renderer.update(createElement(NewWorktreeModal, { ...modalProps, client: freshClient })) - await Promise.resolve() - }) - // A reconnect changes the client without restarting this host's form session. - expect(sourceInputs(renderer).map((input) => input.props.value)).toEqual([ - 'stale-client-name', - 'stale-client-name' - ]) - resolveOldList?.({ ok: true, result: { repos } }) - await flushUpdates() - - expect(pickerItems(renderer, 'Project')).toEqual([expect.objectContaining({ label: 'fresh' })]) - }) - - // Blurred react-native-screens freezes by suspending/react-freeze; discarded render mutations otherwise outlive React’s work. - function suspendableTree(frozen: () => boolean, child: ReactElement) { - const never = new Promise(() => {}) - const Freezer = () => { - if (frozen()) { - throw never - } - return null - } - // The modal renders first, so its render completes before the freeze throws. - return createElement(Suspense, { fallback: null }, child, createElement(Freezer, null)) - } - - it('keeps the form when a host switch renders but never commits', async () => { - setCachedRepos('host-2', repos) - const client = requestsOnly(vi.fn().mockImplementation(() => new Promise(() => {}))) - const modalProps = { - visible: true, - client, - onCreated: () => {}, - onClose: () => {}, - openExternalUrl: () => {} - } - let frozen = false - const tree = (hostId: string) => - suspendableTree(() => frozen, createElement(NewWorktreeModal, { ...modalProps, hostId })) - - await act(async () => { - renderer = create(tree('host-1')) - }) - act(() => sourceInputs(renderer)[0]!.props.onChangeText('keep-me')) - - frozen = true - await act(async () => { - renderer.update(tree('host-2')) - }) - frozen = false - await act(async () => { - renderer.update(tree('host-1')) - }) - - // host-2 never committed, so host-1's session was never superseded. - expect(sourceInputs(renderer).map((input) => input.props.value)).toEqual(['keep-me', 'keep-me']) - }) - - it('keeps the form when a close renders but never commits', async () => { - const client = requestsOnly(vi.fn().mockImplementation(() => new Promise(() => {}))) - const modalProps = { - client, - hostId: 'host-1', - onCreated: () => {}, - onClose: () => {}, - openExternalUrl: () => {} - } - let frozen = false - const tree = (visible: boolean) => - suspendableTree(() => frozen, createElement(NewWorktreeModal, { ...modalProps, visible })) - - await act(async () => { - renderer = create(tree(true)) - }) - act(() => sourceInputs(renderer)[0]!.props.onChangeText('keep-me-too')) - - frozen = true - await act(async () => { - renderer.update(tree(false)) - }) - frozen = false - await act(async () => { - renderer.update(tree(true)) - }) - - // The drawer never committed a closed state, so this is not a reopening. - expect(sourceInputs(renderer).map((input) => input.props.value)).toEqual([ - 'keep-me-too', - 'keep-me-too' - ]) - }) - - it('starts a fresh form session when the modal switches hosts', async () => { - setCachedRepos('host-2', repos) - const client = requestsOnly(vi.fn().mockImplementation(() => new Promise(() => {}))) - const modalProps = { - visible: true, - client, - onCreated: () => {}, - onClose: () => {}, - openExternalUrl: () => {} - } - - await act(async () => { - renderer = create(createElement(NewWorktreeModal, { ...modalProps, hostId: 'host-1' })) - }) - act(() => sourceInputs(renderer)[0]!.props.onChangeText('host-one-name')) - - await act(async () => { - renderer.update(createElement(NewWorktreeModal, { ...modalProps, hostId: 'host-2' })) - }) - - expect(sourceInputs(renderer).map((input) => input.props.value)).toEqual(['', '']) - }) -}) - -describe('NewWorktreeModal note draft', () => { - // The shell's draft table outlives the page; nothing else does. - const table = new Map() - let renderer: ReactTestRenderer | null = null - - async function open(): Promise { - const client = requestsOnly( - vi.fn((method: string) => - method === 'repo.list' ? replied({ repos }) : new Promise(() => {}) - ) - ) - await act(async () => { - renderer = create( - createElement(NewWorktreeModal, { - visible: true, - client, - hostId: 'host-1', - onCreated: () => {}, - onClose: () => {}, - openExternalUrl: () => {} - }) - ) - await vi.advanceTimersByTimeAsync(0) - }) - return renderer! - } - - const noteInput = (opened: ReactTestRenderer) => - findAllByHostType(opened.root, 'TextInput').find( - (node) => node.props.placeholder === 'Write a note' - )! - const optionsExpanded = (opened: ReactTestRenderer) => - opened.root.find((node) => node.props.title === 'Options' && 'expanded' in node.props).props - .expanded - - // A kill: the page and its memory go, the store stays. - function kill(): void { - act(() => renderer?.unmount()) - renderer = null - resetDurableDraftFieldsForTests() - } - - beforeEach(() => { - vi.useFakeTimers() - setCachedRepos('host-1', repos) - resetDurableDraftFieldsForTests() - publishInMemoryDeviceStore(table) - }) - - afterEach(() => { - kill() - table.clear() - publishPageDeviceStore(null) - vi.useRealTimers() - }) - - it('brings the note back after a kill, with Options open so it is not sent unseen', async () => { - const typed = await open() - act(() => noteInput(typed).props.onChangeText('pairing with Ama on the flaky test')) - await act(async () => { - await vi.advanceTimersByTimeAsync(1000) - }) - kill() - - const reopened = await open() - expect(noteInput(reopened).props.value).toBe('pairing with Ama on the flaky test') - expect(optionsExpanded(reopened)).toBe(true) - }) -}) diff --git a/mobile/src/components/NewWorktreeModal.tsx b/mobile/src/components/NewWorktreeModal.tsx index ccae8181be7..801655b778c 100644 --- a/mobile/src/components/NewWorktreeModal.tsx +++ b/mobile/src/components/NewWorktreeModal.tsx @@ -10,7 +10,7 @@ import { deriveRepoSlug, type PasteRepoCandidate } from '../tasks/smart-source-p import { useMobileComposerSource } from '../tasks/use-mobile-composer-source' import { useNewWorktreeRuntimeCapabilities } from '../tasks/worktree-create-capability' import { useWorktreeCreateBasePrefetch } from '../tasks/use-worktree-create-base-prefetch' -import { useHostDescriptor } from '../transport/hosts/host-descriptor-store' +import { useHostDescriptor } from '../host-descriptors/host-descriptor-store' import { isSameMobileWorkspaceRepo } from '../worktree/new-workspace-dialog-repo-selection' import { buildRetiredWorktreeNamesRefreshKey, diff --git a/mobile/src/components/PrStateIcon.tsx b/mobile/src/components/PrStateIcon.tsx new file mode 100644 index 00000000000..3eb44c4d943 --- /dev/null +++ b/mobile/src/components/PrStateIcon.tsx @@ -0,0 +1,7 @@ +import { createElement } from 'react' +import type { LucideProps } from 'lucide-react-native' +import { prStateIcon } from './pr-state-token' + +export function PrStateIcon({ state, ...props }: { state: string } & LucideProps) { + return createElement(prStateIcon(state), props) +} diff --git a/mobile/src/components/StatusDot.test.ts b/mobile/src/components/StatusDot.test.ts deleted file mode 100644 index 4eb1f871518..00000000000 --- a/mobile/src/components/StatusDot.test.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { describe, expect, it, vi } from 'vitest' - -vi.mock('react-native', () => ({ - StyleSheet: { create: (styles: T) => styles }, - View: 'View' -})) - -import { colors } from '../theme/mobile-theme' -import { statusDotColor } from './StatusDot' - -describe('statusDotColor', () => { - it('keeps Relay progress amber when the raw state is disconnected', () => { - expect( - statusDotColor('disconnected', { - kind: 'normal', - label: 'Connecting via Relay…', - dialing: true - }) - ).toBe(colors.statusAmber) - }) -}) diff --git a/mobile/src/components/WorktreeAgentRow.visual-line.test.tsx b/mobile/src/components/WorktreeAgentRow.visual-line.test.tsx deleted file mode 100644 index e32be5b8fab..00000000000 --- a/mobile/src/components/WorktreeAgentRow.visual-line.test.tsx +++ /dev/null @@ -1,59 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it, vi } from 'vitest' -import type { RuntimeWorktreeAgentRow } from '../../../src/shared/runtime-types' -import { WorktreeAgentRow } from './WorktreeAgentRow' - -vi.mock('react-native', () => ({ - StyleSheet: { create: (styles: T) => styles }, - Text: 'Text', - View: 'View' -})) -vi.mock('./AgentStateDot', () => ({ AgentStateDot: () => null })) -vi.mock('./MobileAgentIcon', () => ({ MobileAgentIcon: () => null })) - -function agent(lastAssistantMessage: string | null): RuntimeWorktreeAgentRow { - return { - paneKey: 'tab:leaf', - parentPaneKey: null, - state: 'done', - agentType: 'claude', - prompt: 'Show usage by day', - taskTitle: null, - displayName: null, - lastAssistantMessage, - toolName: null, - toolInput: null, - interrupted: false, - stateStartedAt: 1_000, - updatedAt: 1_000 - } -} - -describe('WorktreeAgentRow visual lines', () => { - let renderer: ReactTestRenderer | null = null - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - }) - - function label(row: RuntimeWorktreeAgentRow): string { - act(() => { - renderer = create( - createElement(WorktreeAgentRow, { agent: row, depth: 0, now: 2_000, unvisited: false }) - ) - }) - return String(renderer!.root.findAll((node) => String(node.type) === 'Text')[0]!.props.children) - } - - it('shows the words around a visual line, never the line itself', () => { - expect(label(agent('Here it is.\n::orca-visual{file="usage.html"}\nSunday dips.'))).toBe( - 'Here it is.\nSunday dips.' - ) - }) - - it('falls back to the prompt when the reply is only a visual', () => { - expect(label(agent('::orca-visual{file="usage.html" title="Usage"}'))).toBe('Show usage by day') - }) -}) diff --git a/mobile/src/components/WorktreeListRow.tsx b/mobile/src/components/WorktreeListRow.tsx index 73627d48a4b..10207f88ba5 100644 --- a/mobile/src/components/WorktreeListRow.tsx +++ b/mobile/src/components/WorktreeListRow.tsx @@ -1,5 +1,5 @@ import { memo } from 'react' -import { Bell, ChevronDown, ChevronRight, GitBranch, GitPullRequest } from 'lucide-react-native' +import { Bell, ChevronDown, ChevronRight, GitBranch } from 'lucide-react-native' import { Pressable, StyleSheet, Text, View } from 'react-native' import type { MobileRenderableRepoIcon } from '../host-screen/host-screen-reply-schema' import { triggerMediumImpact } from '../platform/haptics' @@ -20,6 +20,7 @@ import { HostKindIcon } from './HostKindIcon' import { MobileRepoIcon } from './MobileRepoIcon' import { WorktreeAgentList } from './WorktreeAgentList' import { WorktreeMetaGlyphs, prStateColor } from './WorktreeMetaGlyphs' +import { PrStateIcon } from './PrStateIcon' import { WorktreeUnsavedName } from './WorktreeUnsavedName' import { WORKTREE_ROW_LAYOUT } from './worktree-list-row-layout' @@ -76,6 +77,8 @@ function WorktreeListRowComponent({ const showRepoChip = cardDetails.repoInTitle && !shouldHideRepo && !isFolderWorkspace const showRepoInMetaRow = !cardDetails.repoInTitle && !shouldHideRepo const hostId = view.hostContextHostId ?? item.hostId + const prState = item.linkedPR?.state ?? '' + const prColor = prStateColor(prState) const hostAccessibilityLabel = [view.hostContextLabel, view.hostContextHealthLabel] .filter(Boolean) .join(', ') @@ -153,10 +156,8 @@ function WorktreeListRowComponent({ {cardDetails.pr && item.linkedPR && ( - - - #{item.linkedPR.number} - + + #{item.linkedPR.number} )} {isFolderWorkspace && ( diff --git a/mobile/src/components/WorktreeMetaGlyphs.test.tsx b/mobile/src/components/WorktreeMetaGlyphs.test.tsx deleted file mode 100644 index 48e3cbdef08..00000000000 --- a/mobile/src/components/WorktreeMetaGlyphs.test.tsx +++ /dev/null @@ -1,64 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it, vi } from 'vitest' - -vi.mock('react-native', () => ({ - StyleSheet: { create: (styles: T) => styles }, - Text: 'Text', - View: 'View' -})) -vi.mock('lucide-react-native', () => ({ - CalendarClock: 'CalendarClock', - CircleDot: 'CircleDot', - GitMerge: 'GitMerge', - SquareTerminal: 'SquareTerminal', - StickyNote: 'StickyNote' -})) -vi.mock('./TaskProviderLogo', () => ({ TaskProviderLogo: 'TaskProviderLogo' })) - -import { WorktreeMetaGlyphs } from './WorktreeMetaGlyphs' - -let renderer: ReactTestRenderer | null = null - -afterEach(() => { - act(() => renderer?.unmount()) - renderer = null -}) - -const NONE = { - notes: false, - automation: false, - cli: false, - issue: false, - jira: false, - linear: false, - gitLabMR: false -} - -function glyphs(presence: Partial): string[] { - act(() => { - renderer = create(createElement(WorktreeMetaGlyphs, { presence: { ...NONE, ...presence } })) - }) - return renderer!.root - .findAll((node) => typeof node.type === 'string' && String(node.type) !== 'View') - .map((node) => - String(node.type) === 'TaskProviderLogo' - ? `logo:${String(node.props.provider)}` - : String(node.type) - ) -} - -describe('WorktreeMetaGlyphs', () => { - it('draws the glyphs in the desktop order', () => { - expect( - glyphs({ notes: true, automation: true, cli: true, issue: true, jira: true, linear: true }) - ).toEqual(['StickyNote', 'CalendarClock', 'SquareTerminal', 'CircleDot', 'logo:jira', 'Text']) - }) - - it('draws nothing when the row has none of them', () => { - act(() => { - renderer = create(createElement(WorktreeMetaGlyphs, { presence: NONE })) - }) - expect(renderer!.toJSON()).toBeNull() - }) -}) diff --git a/mobile/src/components/account-usage-state.ts b/mobile/src/components/account-usage-state.ts deleted file mode 100644 index 23d4c02485c..00000000000 --- a/mobile/src/components/account-usage-state.ts +++ /dev/null @@ -1,106 +0,0 @@ -// Keep shapes aligned with shared types/rate-limit-types without pulling Electron-coupled desktop graph into mobile. -// Pure RN-free selectors stay directly testable; AccountUsage re-exports them with UsageBar. -import { formatResetCountdown } from '../../../src/shared/rate-limit-reset-format' -import { hasUsageData } from '../../../src/shared/usage-provider-windows' -import { - ProviderRateLimitsSchema, - type AccountsSnapshot, - type InactiveAccountUsage, - type ProviderRateLimits, - type RateLimitWindow -} from './accounts-snapshot' - -export { - AccountsSnapshotSchema, - decodeAccountsSnapshot, - ProviderRateLimitsSchema, - RateLimitRuntimeTargetSchema, - type AccountProviderRateLimits, - type AccountsSnapshot, - type ClaudeAccountSummary, - type CodexAccountSummary, - type InactiveAccountUsage, - type ProviderRateLimits, - type RateLimitRuntimeTarget, - type RateLimitWindow -} from './accounts-snapshot' - -export type ProviderKey = 'claude' | 'codex' - -export type UsageBarState = { - usedPercent: number | null - unavailable: boolean - loading: boolean -} - -export function getActiveProviderRateLimits( - snapshot: AccountsSnapshot, - provider: ProviderKey -): ProviderRateLimits | null { - return provider === 'claude' ? snapshot.rateLimits.claude : snapshot.rateLimits.codex -} - -export function getInactiveProviderUsage( - snapshot: AccountsSnapshot, - provider: ProviderKey, - accountId: string -): InactiveAccountUsage | null { - const list = - provider === 'claude' - ? snapshot.rateLimits.inactiveClaudeAccounts - : snapshot.rateLimits.inactiveCodexAccounts - return list.find((u) => u.accountId === accountId) ?? null -} - -// System-default logins still fetch quota without managed accounts. Show successful provider or any window data; empty unavailable/error means no credentials. -export function hasActiveProviderUsage(limits: ProviderRateLimits | null): boolean { - return limits !== null && (hasUsageData(limits) || limits.status === 'ok') -} - -// Determine availability per window because transient provider errors retain successful window data. -export function getUsageBarState( - limits: ProviderRateLimits | null, - window: RateLimitWindow | null, - isFetchingOverride?: boolean -): UsageBarState { - const fetching = - isFetchingOverride ?? (limits?.status === 'fetching' || limits?.status === 'idle') - return { - usedPercent: window?.usedPercent ?? null, - unavailable: window == null && !fetching, - loading: fetching && window == null - } -} - -// Use desktop formatResetCountdown copy with injectable now; return null without reset timestamp to retain bars-only UI. -export function getWindowResetLabel(window: RateLimitWindow | null, now: number): string | null { - if (window?.resetsAt == null) { - return null - } - return formatResetCountdown(window.resetsAt - now) -} - -/** Every other provider the host reports usage for, in the host's order; Claude and Codex have their own sections. */ -export function getOtherUsageProviders(snapshot: AccountsSnapshot): ProviderRateLimits[] { - const providers: ProviderRateLimits[] = [] - for (const [slot, value] of Object.entries(snapshot.rateLimits)) { - if (slot === 'claude' || slot === 'codex') { - continue - } - const parsed = ProviderRateLimitsSchema.safeParse(value) - // Hidden or signed-out providers come back idle or unavailable with no windows. - if (parsed.success && (hasUsageData(parsed.data) || parsed.data.status === 'error')) { - providers.push(parsed.data) - } - } - return providers -} - -// Show provider with managed accounts or active system-default quota; management is not required for usage UI. -export function hasRenderableUsage(snapshot: AccountsSnapshot, provider: ProviderKey): boolean { - const accounts = provider === 'claude' ? snapshot.claude.accounts : snapshot.codex.accounts - if (accounts.length > 0) { - return true - } - return hasActiveProviderUsage(getActiveProviderRateLimits(snapshot, provider)) -} diff --git a/mobile/src/components/accounts-snapshot.test.ts b/mobile/src/components/accounts-snapshot.test.ts deleted file mode 100644 index 89e0bf84934..00000000000 --- a/mobile/src/components/accounts-snapshot.test.ts +++ /dev/null @@ -1,134 +0,0 @@ -import { describe, expect, it } from 'vitest' - -import { decodeAccountsSnapshot } from './accounts-snapshot' - -function makeSnapshot(): unknown { - return { - extensionField: { retained: true }, - claude: { - accounts: [], - activeAccountId: null, - activeAccountIdsByRuntime: { host: null, wsl: {} } - }, - codex: { - accounts: [ - { - id: 'codex-host', - email: 'host@example.com', - managedHomeRuntime: 'host', - wslDistro: null, - updatedAt: 100, - extensionField: 'account-extra' - } - ], - activeAccountId: 'codex-host', - activeAccountIdsByRuntime: { - host: 'codex-host', - wsl: { Ubuntu: 'codex-wsl' } - } - }, - rateLimits: { - extensionField: 'limits-extra', - claude: null, - codex: { - provider: 'codex', - session: { - usedPercent: 100, - windowMinutes: 300, - resetsAt: 200, - resetDescription: 'soon' - }, - weekly: null, - rateLimitResetCredits: { - availableCount: 1, - totalEarnedCount: 2, - nextExpiresAt: 300, - credits: [{ status: 'available', expiresAt: 300, grantedAt: 50 }] - }, - updatedAt: 100, - error: null, - status: 'ok', - extensionField: 'provider-extra' - }, - claudeTarget: { runtime: 'host', wslDistro: null }, - codexTarget: { runtime: 'host', wslDistro: null }, - inactiveClaudeAccounts: [], - inactiveCodexAccounts: [ - { - accountId: 'codex-inactive', - rateLimits: null, - updatedAt: 99, - isFetching: false - } - ] - } - } -} - -function setPath(root: unknown, path: string[], value: unknown): void { - let current: unknown = root - for (const segment of path.slice(0, -1)) { - if (!current || typeof current !== 'object' || Array.isArray(current)) { - throw new Error(`Invalid fixture path: ${path.join('.')}`) - } - current = (current as Record)[segment] - } - if (!current || typeof current !== 'object' || Array.isArray(current)) { - throw new Error(`Invalid fixture path: ${path.join('.')}`) - } - const record = current as Record - record[path.at(-1)!] = value -} - -describe('decodeAccountsSnapshot', () => { - it('validates nested account/rate-limit state and preserves forward-compatible fields', () => { - const snapshot = decodeAccountsSnapshot(makeSnapshot()) - - expect(snapshot.extensionField).toEqual({ retained: true }) - expect(snapshot.codex.accounts[0]?.extensionField).toBe('account-extra') - expect(snapshot.rateLimits.extensionField).toBe('limits-extra') - expect(snapshot.rateLimits.codex?.extensionField).toBe('provider-extra') - }) - - it('defaults missing runtime targets for older host-only snapshots', () => { - const raw = makeSnapshot() as { - rateLimits: { claudeTarget?: unknown; codexTarget?: unknown } - } - delete raw.rateLimits.claudeTarget - delete raw.rateLimits.codexTarget - - const snapshot = decodeAccountsSnapshot(raw) - - expect(snapshot.rateLimits.claudeTarget).toEqual({ runtime: 'host', wslDistro: null }) - expect(snapshot.rateLimits.codexTarget).toEqual({ runtime: 'host', wslDistro: null }) - }) - - it.each([ - ['account arrays', ['codex', 'accounts'], {}], - ['active account IDs', ['codex', 'activeAccountId'], 42], - ['runtime selections', ['codex', 'activeAccountIdsByRuntime', 'wsl'], []], - ['targets', ['rateLimits', 'codexTarget', 'runtime'], 'remote'], - ['provider identity', ['rateLimits', 'codex', 'provider'], 'claude'], - ['inactive account arrays', ['rateLimits', 'inactiveCodexAccounts'], {}], - ['window percentages', ['rateLimits', 'codex', 'session', 'usedPercent'], 101], - ['credit counts', ['rateLimits', 'codex', 'rateLimitResetCredits', 'availableCount'], -1], - [ - 'credit status', - ['rateLimits', 'codex', 'rateLimitResetCredits', 'credits'], - [{ status: '', expiresAt: 300, grantedAt: 50 }] - ], - ['credit expiry', ['rateLimits', 'codex', 'rateLimitResetCredits', 'nextExpiresAt'], 'soon'] - ] satisfies Array<[string, string[], unknown]>)('rejects malformed %s', (_name, path, value) => { - const snapshot = makeSnapshot() - setPath(snapshot, path, value) - - expect(() => decodeAccountsSnapshot(snapshot)).toThrow('Invalid accounts snapshot from host') - }) - - it('rejects a host target that smuggles a WSL distro', () => { - const snapshot = makeSnapshot() - setPath(snapshot, ['rateLimits', 'codexTarget', 'wslDistro'], 'Ubuntu') - - expect(() => decodeAccountsSnapshot(snapshot)).toThrow('Invalid accounts snapshot from host') - }) -}) diff --git a/mobile/src/components/auth-failed-banner-actions-page.test.tsx b/mobile/src/components/auth-failed-banner-actions-page.test.tsx deleted file mode 100644 index 64203d77ace..00000000000 --- a/mobile/src/components/auth-failed-banner-actions-page.test.tsx +++ /dev/null @@ -1,64 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestInstance, type ReactTestRenderer } from 'react-test-renderer' -import { describe, expect, it, vi } from 'vitest' - -vi.mock('react-native', () => ({ - Pressable: 'Pressable', - StyleSheet: { create: (styles: unknown) => styles }, - Text: 'Text', - View: 'View' -})) -// Name web sibling explicitly: native test resolver otherwise misses page bundler’s substitution. -vi.mock('./AuthFailedBannerActions', async () => await import('./AuthFailedBannerActions.web')) - -import { AuthFailedBanner } from './AuthFailedBanner' - -type Presses = { retry: number; repair: number; remove: number } - -function render(presses: Presses = { retry: 0, repair: 0, remove: 0 }): ReactTestRenderer { - const rendered: { tree: ReactTestRenderer | null } = { tree: null } - act(() => { - rendered.tree = create( - createElement(AuthFailedBanner, { - canRetry: true, - onRetry: () => (presses.retry += 1), - onRepair: () => (presses.repair += 1), - onRemove: () => (presses.remove += 1) - }) - ) - }) - if (rendered.tree === null) { - throw new Error('the banner did not render') - } - return rendered.tree -} - -function pressables(tree: ReactTestRenderer): ReactTestInstance[] { - return tree.root.findAll((node: ReactTestInstance) => String(node.type) === 'Pressable') -} - -function labels(node: ReactTestInstance): string[] { - return node - .findAll((child: ReactTestInstance) => String(child.type) === 'Text') - .map((child) => String(child.props.children)) -} - -// Page re-pair hands /pair-scan to shell; Retry (null reconnect)/Remove (refused) must point to app instead of offering dead controls. -describe('the auth-failed banner on the page', () => { - it('offers Re-pair alone, and its press reaches the screen', () => { - const presses: Presses = { retry: 0, repair: 0, remove: 0 } - const tree = render(presses) - const controls = pressables(tree) - expect(controls.map((node) => labels(node)[0])).toEqual(['Re-pair']) - act(() => { - for (const node of controls) { - node.props.onPress() - } - }) - expect(presses).toEqual({ retry: 0, repair: 1, remove: 0 }) - }) - - it('names the app for reconnect and removal, not for re-pair', () => { - expect(labels(render().root)).toContain('Reconnect or remove this host from the Orca app.') - }) -}) diff --git a/mobile/src/components/auth-failed-banner-actions.test.tsx b/mobile/src/components/auth-failed-banner-actions.test.tsx deleted file mode 100644 index 17d9ea27b39..00000000000 --- a/mobile/src/components/auth-failed-banner-actions.test.tsx +++ /dev/null @@ -1,78 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestInstance, type ReactTestRenderer } from 'react-test-renderer' -import { describe, expect, it, vi } from 'vitest' - -vi.mock('react-native', () => ({ - Pressable: 'Pressable', - StyleSheet: { create: (styles: unknown) => styles }, - Text: 'Text', - View: 'View' -})) - -import { AuthFailedBanner } from './AuthFailedBanner' - -type Presses = { retry: number; repair: number; remove: number } - -function render(presses: Presses): ReactTestRenderer { - const rendered: { tree: ReactTestRenderer | null } = { tree: null } - act(() => { - rendered.tree = create( - createElement(AuthFailedBanner, { - canRetry: true, - onRetry: () => (presses.retry += 1), - onRepair: () => (presses.repair += 1), - onRemove: () => (presses.remove += 1) - }) - ) - }) - if (rendered.tree === null) { - throw new Error('the banner did not render') - } - return rendered.tree -} - -function pressables(tree: ReactTestRenderer): ReactTestInstance[] { - return tree.root.findAll((node: ReactTestInstance) => String(node.type) === 'Pressable') -} - -function labelOf(node: ReactTestInstance): string { - const [text] = node.findAll((child: ReactTestInstance) => String(child.type) === 'Text') - return String(text?.props.children) -} - -/** The app owns the connection, the keychain and the host list, so all three do something here. */ -describe('the auth-failed banner in the app', () => { - it('routes each press to the action the screen gave it', () => { - const presses: Presses = { retry: 0, repair: 0, remove: 0 } - const tree = render(presses) - const controls = pressables(tree) - expect(controls.map(labelOf)).toEqual(['Retry', 'Re-pair', 'Remove']) - for (const [label, action] of [ - ['Retry', 'retry'], - ['Re-pair', 'repair'], - ['Remove', 'remove'] - ] as const) { - presses.retry = presses.repair = presses.remove = 0 - act(() => controls.find((node) => labelOf(node) === label)!.props.onPress()) - expect(presses).toEqual({ retry: 0, repair: 0, remove: 0, [action]: 1 }) - } - }) - - it('drops Retry alone when there is no host to retry against', () => { - const rendered: { tree: ReactTestRenderer | null } = { tree: null } - act(() => { - rendered.tree = create( - createElement(AuthFailedBanner, { - canRetry: false, - onRetry: () => {}, - onRepair: () => {}, - onRemove: () => {} - }) - ) - }) - expect(rendered.tree === null ? [] : pressables(rendered.tree).map(labelOf)).toEqual([ - 'Re-pair', - 'Remove' - ]) - }) -}) diff --git a/mobile/src/components/bottom-drawer/bottom-drawer-back-while-hiding.test.tsx b/mobile/src/components/bottom-drawer/bottom-drawer-back-while-hiding.test.tsx index 9045d93aaef..73fe465a295 100644 --- a/mobile/src/components/bottom-drawer/bottom-drawer-back-while-hiding.test.tsx +++ b/mobile/src/components/bottom-drawer/bottom-drawer-back-while-hiding.test.tsx @@ -118,21 +118,6 @@ describe('bottom drawer close request while hiding', () => { animations.running = [] }) - it('still closes an open drawer on Android Back', () => { - const onClose = vi.fn() - let renderer!: ReactTestRenderer - act(() => { - renderer = create(drawer(true, onClose, vi.fn())) - }) - finishAnimations() - - pressAndroidBack(renderer) - finishAnimations() - - expect(onClose).toHaveBeenCalledTimes(1) - act(() => renderer.unmount()) - }) - // Back during hide must not restart/cancel it or onHidden never fires and invisible Modal swallows taps. it('lets the hide finish when Back is pressed mid-close', () => { const onClose = vi.fn() diff --git a/mobile/src/components/bottom-drawer/bottom-drawer-drag-motion.test.ts b/mobile/src/components/bottom-drawer/bottom-drawer-drag-motion.test.ts index d13b958aaef..62704e713e3 100644 --- a/mobile/src/components/bottom-drawer/bottom-drawer-drag-motion.test.ts +++ b/mobile/src/components/bottom-drawer/bottom-drawer-drag-motion.test.ts @@ -1,9 +1,5 @@ import { describe, expect, it } from 'vitest' -import { - bottomDrawerDismissMotion, - bottomDrawerScrim, - shouldDismissBottomDrawer -} from './bottom-drawer-drag-motion' +import { bottomDrawerDismissMotion, shouldDismissBottomDrawer } from './bottom-drawer-drag-motion' describe('bottom drawer release', () => { it('judges where the sheet is heading, not where the finger let go', () => { @@ -23,10 +19,4 @@ describe('bottom drawer release', () => { expect(((y1 / x1) * remaining) / (duration / 1000)).toBeCloseTo(velocity) } }) - - it('clears the dim exactly when the sheet has left the screen', () => { - const travel = 777 + 48 - expect(bottomDrawerScrim(1, travel, 777)).toBe(1) - expect(bottomDrawerScrim(1 - 777 / travel, travel, 777)).toBeCloseTo(0) - }) }) diff --git a/mobile/src/components/bottom-drawer/bottom-drawer-keyboard-inset.test.ts b/mobile/src/components/bottom-drawer/bottom-drawer-keyboard-inset.test.ts deleted file mode 100644 index 2b8ba36d972..00000000000 --- a/mobile/src/components/bottom-drawer/bottom-drawer-keyboard-inset.test.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { resolveBottomDrawerKeyboardInset } from './bottom-drawer-keyboard-inset' - -describe('resolveBottomDrawerKeyboardInset', () => { - it('uses the full keyboard frame for fill sheets on iOS and Android', () => { - expect( - resolveBottomDrawerKeyboardInset({ - keyboardHeight: 336, - bottomInset: 34, - fillAvailable: true, - platform: 'ios' - }) - ).toBe(336) - expect( - resolveBottomDrawerKeyboardInset({ - keyboardHeight: 300, - bottomInset: 48, - fillAvailable: true, - platform: 'android' - }) - ).toBe(300) - }) - - it('subtracts the home-indicator inset only for iOS content-sized sheets', () => { - expect( - resolveBottomDrawerKeyboardInset({ - keyboardHeight: 336, - bottomInset: 34, - fillAvailable: false, - platform: 'ios' - }) - ).toBe(302) - }) - - it('uses the full IME height for Android content-sized sheets', () => { - // Why: Android keyboard height does not include the nav bar (session terminal lift). - expect( - resolveBottomDrawerKeyboardInset({ - keyboardHeight: 300, - bottomInset: 48, - fillAvailable: false, - platform: 'android' - }) - ).toBe(300) - }) - - it('never returns a negative inset', () => { - expect( - resolveBottomDrawerKeyboardInset({ - keyboardHeight: 20, - bottomInset: 34, - fillAvailable: false, - platform: 'ios' - }) - ).toBe(0) - }) -}) diff --git a/mobile/src/components/codex-reset-credit-capability.ts b/mobile/src/components/codex-reset-credit-capability.ts deleted file mode 100644 index 1000e16013e..00000000000 --- a/mobile/src/components/codex-reset-credit-capability.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { useEffect, useState } from 'react' -import { CODEX_RESET_CREDIT_RUNTIME_CAPABILITY } from '../../../src/shared/account-runtime-capabilities' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import { startRuntimeCapabilityProbe } from '../transport/connection/runtime-capability-probe' - -// Use shared capability constant so host/mobile versions cannot silently drift. -export const MOBILE_CODEX_RESET_CREDIT_CAPABILITY = CODEX_RESET_CREDIT_RUNTIME_CAPABILITY - -export function useCodexResetCreditCapability( - client: RpcClient | null, - connected: boolean -): boolean { - const [supported, setSupported] = useState(false) - - useEffect(() => { - setSupported(false) - if (!client || !connected) { - return - } - return startRuntimeCapabilityProbe(client, (capabilities) => { - setSupported(capabilities.includes(MOBILE_CODEX_RESET_CREDIT_CAPABILITY)) - }) - }, [client, connected]) - - return supported -} diff --git a/mobile/src/components/drag-reorder-positions.test.ts b/mobile/src/components/drag-reorder-positions.test.ts index 014fac91ffe..8c8d0769b5e 100644 --- a/mobile/src/components/drag-reorder-positions.test.ts +++ b/mobile/src/components/drag-reorder-positions.test.ts @@ -9,16 +9,6 @@ import { } from './drag-reorder-positions' describe('drag reorder positions', () => { - it('shifts intermediate rows down when dragging a row later', () => { - const positions = dragReorderPositionsFromKeys(['a', 'b', 'c', 'd']) - expect(orderedKeysFromDragReorderPositions(moveDragReorderKey(positions, 'a', 2))).toEqual([ - 'b', - 'c', - 'a', - 'd' - ]) - }) - it('shifts intermediate rows up when dragging a row earlier', () => { const positions = dragReorderPositionsFromKeys(['a', 'b', 'c', 'd']) expect(orderedKeysFromDragReorderPositions(moveDragReorderKey(positions, 'd', 1))).toEqual([ diff --git a/mobile/src/components/html-preview-inert-links.test.ts b/mobile/src/components/html-preview-inert-links.test.ts index a94ac3b1fbc..b0f636f0b2e 100644 --- a/mobile/src/components/html-preview-inert-links.test.ts +++ b/mobile/src/components/html-preview-inert-links.test.ts @@ -30,19 +30,6 @@ describe('an artifact rendered for a shell that cannot open a link', () => { expect(inert(ARTIFACT).querySelectorAll('a[href], area[href]')).toHaveLength(0) }) - // In srcdoc, #target resolves against inherited shell base, not about:srcdoc, becoming forbidden frame navigation instead of scrolling. - // Chromium 147/WebKit 26.4 probes reported frame-src; Chromium replaced artifact with error page. Keep fragment links inert too. - it('inerts a fragment link too, because a fragment is not a scroll in this frame', () => { - const doc = inert(ARTIFACT) - expect(doc.getElementById('frag')?.hasAttribute('href')).toBe(false) - expect(doc.getElementById('frag')?.hasAttribute('target')).toBe(false) - // The text and the target it named both stay, as everywhere else: hidden, not deleted. - expect(doc.getElementById('frag')?.textContent).toBe('contents') - expect(doc.getElementById('target')?.textContent).toBe('T') - // And the empty href, which resolves to the frame's own URL rather than to a fragment at all. - expect(doc.getElementById('empty')?.hasAttribute('href')).toBe(false) - }) - it('keeps the text, the headings and the images the author wrote', () => { const doc = inert(ARTIFACT) expect(doc.getElementById('marker')?.textContent).toBe('text') @@ -62,25 +49,6 @@ describe('an artifact rendered for a shell that cannot open a link', () => { ]) }) - it('drops the target with the href, so no non-link carries link markup', () => { - const doc = inert(ARTIFACT) - expect(doc.getElementById('top')?.hasAttribute('target')).toBe(false) - expect(doc.getElementById('blank')?.hasAttribute('target')).toBe(false) - }) - - it('reaches an image map and an SVG link, which a pass over `a[href]` alone would not', () => { - const doc = inert(ARTIFACT) - expect(doc.getElementById('area')?.hasAttribute('href')).toBe(false) - // Still an area with its shape: the map is intact, it just goes nowhere. - expect(doc.getElementById('area')?.getAttribute('shape')).toBe('rect') - expect(doc.getElementById('svglink')?.hasAttribute('href')).toBe(false) - }) - - it('leaves an anchor that was never a link alone, which is most of what a document has', () => { - // `` has no href to begin with, so nothing here should have changed about it. - expect(inert(ARTIFACT).getElementById('named')?.getAttribute('name')).toBe('anchor') - }) - // Preserve authored doctype bytes/identifiers; srcdoc inherits embedder’s mode regardless, so test document.doctype rather than CSS1Compat. it('keeps the doctype whole, identifiers and all', () => { const doctypeOf = (html: string) => htmlPreviewWithInertLinks(html).split('>')[0] ?? '' @@ -116,15 +84,6 @@ describe('an artifact rendered for a shell that cannot open a link', () => { expect(out).toContain('
no newline
') }) - it('does not run or fetch what the artifact carries, because nothing here has a context', () => { - // DOMParser creates no browsing context; script remains markup without execution. - const withScript = - '
a' - const out = htmlPreviewWithInertLinks(withScript) - expect(out).toContain('window.__ran = 1') - expect('__ran' in globalThis).toBe(false) - }) - it('leaves an href inside a comment where a regex pass would have found it', () => { // Use parser rather than regex so href inside comment remains untouched artifact text. const doc = inert( diff --git a/mobile/src/components/html-preview-link-affordance.test.tsx b/mobile/src/components/html-preview-link-affordance.test.tsx index ac7ac03b6a9..751854df369 100644 --- a/mobile/src/components/html-preview-link-affordance.test.tsx +++ b/mobile/src/components/html-preview-link-affordance.test.tsx @@ -73,12 +73,6 @@ afterEach(() => { }) describe('the frame the preview mounts for each answer the shell gives', () => { - it('hands the artifact over untouched when the shell can open a link', () => { - const frame = frameOf(true) - expect(frame?.srcDoc).toBe(ARTIFACT) - expect(frame?.sandbox).toBe(MOBILE_HTML_PREVIEW_SANDBOX) - }) - it('hands over an artifact with no link, in a frame that cannot navigate, when it cannot', () => { const frame = frameOf(false) // Both fences follow the one answer, which is the wiring this file exists for. @@ -97,22 +91,4 @@ describe('the frame the preview mounts for each answer the shell gives', () => { 'allow-top-navigation-by-user-activation' ) }) - - // Source toggle must unmount preview on either grant answer; caller’s renderSource closure owns original markup, so testing its own fixture echo would prove nothing. - it('takes the frame away when Source is showing, on either answer', () => { - for (const opensLinks of [true, false]) { - shell.opensLinks = opensLinks - const renderer = mount(() => createElement('SourceView', null)) - // The precondition: a frame was mounted, so its absence below is the toggle's doing. - expect(findHosts(renderer, 'iframe'), String(opensLinks)).toHaveLength(1) - const toSource = findHosts(renderer, 'Pressable').find( - (node) => node.props.accessibilityLabel === 'View HTML source' - ) - expect(toSource, String(opensLinks)).toBeDefined() - act(() => toSource?.props.onPress()) - expect(findHosts(renderer, 'SourceView'), String(opensLinks)).toHaveLength(1) - // Nothing is parsing the artifact while Source is showing, rewritten or not. - expect(findHosts(renderer, 'iframe'), String(opensLinks)).toHaveLength(0) - } - }) }) diff --git a/mobile/src/components/markdown-file-path-detection.test.ts b/mobile/src/components/markdown-file-path-detection.test.ts index 0a69d7d140a..9ecd9824b4c 100644 --- a/mobile/src/components/markdown-file-path-detection.test.ts +++ b/mobile/src/components/markdown-file-path-detection.test.ts @@ -1,50 +1,7 @@ import { describe, expect, it } from 'vitest' -import { - detectFilePathSegments, - isFilePathCodeSpan, - normalizeFilePath, - splitFilePathLineSuffix -} from './markdown-file-path-detection' +import { detectFilePathSegments, isFilePathCodeSpan } from './markdown-file-path-detection' describe('detectFilePathSegments', () => { - it('returns a single text segment when there is no path', () => { - expect(detectFilePathSegments('just some prose here')).toEqual([ - { type: 'text', value: 'just some prose here' } - ]) - }) - - it('detects a relative source path with surrounding prose', () => { - const segments = detectFilePathSegments('Edit src/app/Main.tsx now') - expect(segments).toEqual([ - { type: 'text', value: 'Edit ' }, - { type: 'file', value: 'src/app/Main.tsx', path: 'src/app/Main.tsx' }, - { type: 'text', value: ' now' } - ]) - }) - - it('strips a leading ./ in the path but keeps the displayed value', () => { - const segments = detectFilePathSegments('see ./lib/x.ts') - expect(segments).toEqual([ - { type: 'text', value: 'see ' }, - { type: 'file', value: './lib/x.ts', path: 'lib/x.ts' } - ]) - }) - - it('keeps ../ parent-relative paths intact', () => { - const segments = detectFilePathSegments('../shared/util.ts') - expect(segments).toEqual([ - { type: 'file', value: '../shared/util.ts', path: '../shared/util.ts' } - ]) - }) - - it('detects multiple paths in one run', () => { - const segments = detectFilePathSegments('a/b.ts and c/d/e.json') - expect(segments.filter((s) => s.type === 'file')).toEqual([ - { type: 'file', value: 'a/b.ts', path: 'a/b.ts' }, - { type: 'file', value: 'c/d/e.json', path: 'c/d/e.json' } - ]) - }) - it('detects Windows relative, drive, and UNC paths', () => { const segments = detectFilePathSegments( String.raw`Edit src\app\Main.tsx, C:\repo\config.json, and \\server\share\docs\readme.md` @@ -79,18 +36,6 @@ describe('detectFilePathSegments', () => { ]) }) - it('detects files directly under explicit Windows and relative roots', () => { - expect(detectFilePathSegments(String.raw`C:\root.ts`)).toEqual([ - { type: 'file', value: String.raw`C:\root.ts`, path: String.raw`C:\root.ts` } - ]) - expect(detectFilePathSegments('./root.ts')).toEqual([ - { type: 'file', value: './root.ts', path: 'root.ts' } - ]) - expect(detectFilePathSegments('../root.ts')).toEqual([ - { type: 'file', value: '../root.ts', path: '../root.ts' } - ]) - }) - it('detects paths with :line and :line:col suffixes', () => { expect(detectFilePathSegments('see src/foo.ts:42 here')).toEqual([ { type: 'text', value: 'see ' }, @@ -107,14 +52,6 @@ describe('detectFilePathSegments', () => { ]) }) - it('keeps a non-line colon tail out of the match', () => { - expect(detectFilePathSegments('edit src/foo.ts: then run')).toEqual([ - { type: 'text', value: 'edit ' }, - { type: 'file', value: 'src/foo.ts', path: 'src/foo.ts' }, - { type: 'text', value: ': then run' } - ]) - }) - it('does not partially parse numeric-looking non-line tails', () => { expect(detectFilePathSegments('log src/app.ts:1e3 oops')).toEqual([ { type: 'text', value: 'log ' }, @@ -128,12 +65,6 @@ describe('detectFilePathSegments', () => { ]) }) - it('does not match bare filenames without a slash', () => { - expect(detectFilePathSegments('open Main.tsx please')).toEqual([ - { type: 'text', value: 'open Main.tsx please' } - ]) - }) - it('does not match URLs', () => { expect(detectFilePathSegments('https://example.com/path/file.ts')).toEqual([ { type: 'text', value: 'https://example.com/path/file.ts' } @@ -149,18 +80,6 @@ describe('detectFilePathSegments', () => { ]) }) - it('does not match version numbers', () => { - expect(detectFilePathSegments('upgraded to 1.2.3 today')).toEqual([ - { type: 'text', value: 'upgraded to 1.2.3 today' } - ]) - }) - - it('does not match unknown extensions', () => { - expect(detectFilePathSegments('path/to/thing.whatever')).toEqual([ - { type: 'text', value: 'path/to/thing.whatever' } - ]) - }) - it('detects scoped-package file paths with a segment-leading @', () => { expect(detectFilePathSegments('open @types/react/index.d.ts here')).toEqual([ { type: 'text', value: 'open ' }, @@ -191,58 +110,14 @@ describe('detectFilePathSegments', () => { ]) }) - it('returns a single text segment when the run has no dot', () => { - const text = 'a/'.repeat(8192) - expect(detectFilePathSegments(text)).toEqual([{ type: 'text', value: text }]) - }) - it('skips detection for runs over the length cap even with dots', () => { // Dot-heavy repeats pass dot precheck; length cap must still bound regex backtracking. const text = 'a.b/'.repeat(2000) expect(detectFilePathSegments(text)).toEqual([{ type: 'text', value: text }]) }) - - it('still detects a path in a long-but-under-cap run', () => { - const prefix = 'context '.repeat(200) - const segments = detectFilePathSegments(`${prefix}src/app/Main.tsx`) - expect(segments.filter((s) => s.type === 'file')).toEqual([ - { type: 'file', value: 'src/app/Main.tsx', path: 'src/app/Main.tsx' } - ]) - }) }) describe('isFilePathCodeSpan', () => { - it('accepts a slashed path code span', () => { - expect(isFilePathCodeSpan('src/app/Main.tsx')).toBe(true) - }) - - it('accepts Windows paths in code spans', () => { - expect(isFilePathCodeSpan(String.raw`src\app\Main.tsx`)).toBe(true) - expect(isFilePathCodeSpan(String.raw`C:\repo\Main.tsx`)).toBe(true) - expect(isFilePathCodeSpan(String.raw`\\server\share\Main.tsx`)).toBe(true) - }) - - it('accepts a bare filename code span', () => { - expect(isFilePathCodeSpan('package.json')).toBe(true) - }) - - it('rejects multi-word code spans', () => { - expect(isFilePathCodeSpan('npm run build')).toBe(false) - }) - - it('rejects non-file code spans', () => { - expect(isFilePathCodeSpan('someVariable')).toBe(false) - }) - - it('rejects urls in code spans', () => { - expect(isFilePathCodeSpan('https://x.com/a.ts')).toBe(false) - }) - - it('accepts scoped-package paths with a segment-leading @', () => { - expect(isFilePathCodeSpan('@types/react/index.d.ts')).toBe(true) - expect(isFilePathCodeSpan('node_modules/@scope/pkg/file.ts')).toBe(true) - }) - it('accepts POSIX absolute paths and :line citations', () => { expect(isFilePathCodeSpan('/Users/me/wt/src/app.tsx')).toBe(true) expect(isFilePathCodeSpan('src/foo.ts:42')).toBe(true) @@ -250,62 +125,4 @@ describe('isFilePathCodeSpan', () => { expect(isFilePathCodeSpan('MobileNativeChatComposer.tsx:23')).toBe(true) expect(isFilePathCodeSpan(String.raw`C:\repo\Main.tsx:12`)).toBe(true) }) - - it('rejects emails and git URLs with a mid-token @', () => { - expect(isFilePathCodeSpan('git@github.com:user/repo.git')).toBe(false) - expect(isFilePathCodeSpan('user@host.com/path/file.txt')).toBe(false) - }) -}) - -describe('splitFilePathLineSuffix', () => { - it('splits :line and :line:col suffixes', () => { - expect(splitFilePathLineSuffix('src/foo.ts:42')).toEqual({ - path: 'src/foo.ts', - line: 42, - column: null - }) - expect(splitFilePathLineSuffix('src/foo.ts:42:7')).toEqual({ - path: 'src/foo.ts', - line: 42, - column: 7 - }) - }) - - it('keeps Windows drive colons intact', () => { - expect(splitFilePathLineSuffix(String.raw`C:\repo\a.ts`)).toEqual({ - path: String.raw`C:\repo\a.ts`, - line: null, - column: null - }) - expect(splitFilePathLineSuffix(String.raw`C:\repo\a.ts:12`)).toEqual({ - path: String.raw`C:\repo\a.ts`, - line: 12, - column: null - }) - }) - - it('ignores non-numeric and zero suffixes', () => { - expect(splitFilePathLineSuffix('src/foo.ts')).toEqual({ - path: 'src/foo.ts', - line: null, - column: null - }) - expect(splitFilePathLineSuffix('src/foo.ts:0')).toEqual({ - path: 'src/foo.ts:0', - line: null, - column: null - }) - }) -}) - -describe('normalizeFilePath', () => { - it('strips a leading ./', () => { - expect(normalizeFilePath('./a/b.ts')).toBe('a/b.ts') - expect(normalizeFilePath(String.raw`.\a\b.ts`)).toBe(String.raw`a\b.ts`) - }) - - it('leaves other paths unchanged', () => { - expect(normalizeFilePath('../a/b.ts')).toBe('../a/b.ts') - expect(normalizeFilePath('a/b.ts')).toBe('a/b.ts') - }) }) diff --git a/mobile/src/components/markdown-href-routing.test.ts b/mobile/src/components/markdown-href-routing.test.ts index 95de5708f31..cc80494bfd9 100644 --- a/mobile/src/components/markdown-href-routing.test.ts +++ b/mobile/src/components/markdown-href-routing.test.ts @@ -1,6 +1,5 @@ import { describe, expect, it } from 'vitest' import { routeMarkdownHref } from './markdown-href-routing' -import { createNativeChatFileHref } from '../../../src/shared/native-chat/native-chat-href-routing' describe('routeMarkdownHref', () => { it('carries a #L fragment as a :line suffix', () => { @@ -18,13 +17,6 @@ describe('routeMarkdownHref', () => { }) }) - it('preserves the existing wrapped reply-location contract', () => { - expect(routeMarkdownHref(createNativeChatFileHref(' docs/report.md:12:4 '))).toEqual({ - kind: 'file', - pathText: 'docs/report.md:12:4' - }) - }) - it('routes file: URIs to the file opener', () => { expect(routeMarkdownHref('file:///Users/me/wt/src/app.tsx')).toEqual({ kind: 'file', @@ -39,12 +31,4 @@ describe('routeMarkdownHref', () => { pathText: 'C:/repo/src/index.ts' }) }) - - it('drops anchors, unknown schemes, and empty hrefs', () => { - expect(routeMarkdownHref('#section')).toEqual({ kind: 'none' }) - expect(routeMarkdownHref('')).toEqual({ kind: 'none' }) - expect(routeMarkdownHref('editor://file/x.ts')).toEqual({ kind: 'none' }) - expect(routeMarkdownHref('javascript:alert(1)')).toEqual({ kind: 'none' }) - expect(routeMarkdownHref('data:text/plain,hi')).toEqual({ kind: 'none' }) - }) }) diff --git a/mobile/src/components/mobile-diff-review-layout-styles.ts b/mobile/src/components/mobile-diff-review-layout-styles.ts index 8204ed0f69a..c9ac1229ed9 100644 --- a/mobile/src/components/mobile-diff-review-layout-styles.ts +++ b/mobile/src/components/mobile-diff-review-layout-styles.ts @@ -1,4 +1,4 @@ -import { StyleSheet } from 'react-native' +import { Platform, StyleSheet } from 'react-native' import { colors, radii, spacing, typography } from '../theme/mobile-theme' import { themedStyleSheet } from '../theme/themed-styles' @@ -59,13 +59,31 @@ export const mobileDiffReviewLayoutStyles = themedStyleSheet(() => ({ foldRow: { minHeight: 32, flexDirection: 'row', + alignItems: 'stretch', + backgroundColor: colors.diffFoldBg + }, + foldIcon: { alignItems: 'center', justifyContent: 'center', - gap: spacing.xs, - backgroundColor: colors.bgPanel + backgroundColor: colors.diffFoldGutter + }, + foldBody: { + flex: 1, + minWidth: 0, + flexDirection: 'row', + alignItems: 'center', + gap: spacing.sm, + paddingHorizontal: spacing.sm }, foldText: { + flexShrink: 0, + color: colors.diffFoldText, + fontSize: typography.metaSize + }, + foldContext: { + flexShrink: 1, color: colors.textMuted, + fontFamily: typography.monoFamily, fontSize: typography.metaSize }, diffListFrame: { @@ -77,8 +95,14 @@ export const mobileDiffReviewLayoutStyles = themedStyleSheet(() => ({ backgroundColor: colors.bgBase }, diffList: { - paddingBottom: 140, - backgroundColor: colors.editorSurface + flex: 1, + backgroundColor: colors.bgBase + }, + // On the page the rows run as wide as the longest line and scroll sideways together. A sideways scroller inside + // the vertical list keeps each swipe on one axis, as nested scrollers do in WebKit. + diffListContent: { + ...(Platform.OS === 'web' ? { overflowX: 'auto' as const } : {}), + paddingBottom: 140 }, truncatedText: { color: colors.textMuted, diff --git a/mobile/src/components/mobile-markdown-blocks.tsx b/mobile/src/components/mobile-markdown-blocks.tsx index fb0deb4d64d..330d9fa8e9b 100644 --- a/mobile/src/components/mobile-markdown-blocks.tsx +++ b/mobile/src/components/mobile-markdown-blocks.tsx @@ -1,4 +1,10 @@ -import type { Code, List, Nodes, PhrasingContent, RootContent, Table } from 'mdast' +import { renderImageParagraph } from './mobile-markdown-image-paragraph' +import { + mobileMarkdownBlockIsLiteral, + mobileMarkdownNestedBlocks, + mobileMarkdownParagraphImages +} from './mobile-markdown-image-placement' +import type { Code, List, Nodes, RootContent, Table } from 'mdast' import { Fragment, type ReactNode } from 'react' import { Square, SquareCheck } from 'lucide-react-native' import { @@ -34,9 +40,6 @@ import { colors, pressedStyle } from '../theme/mobile-theme' /** Prose base size — passed to MermaidDiagram fallback mono text. */ const MERMAID_BASE = 13 -/** Containers nested deeper than this draw as plain text, so a pathological nesting cannot - * exhaust native layout. */ -const MAX_NESTING = 8 /** A field added here is compared in mobile-markdown-drawn-blocks' `sameContext` too. */ export type MarkdownBlockContext = MarkdownInlineContext & { @@ -77,6 +80,7 @@ function renderCode(node: Code, key: number, ctx: MarkdownBlockContext): ReactNo } function renderList(node: List, key: number, ctx: MarkdownBlockContext, depth: number): ReactNode { + const nested = mobileMarkdownNestedBlocks(node, depth) const itemText: ParagraphText = { style: ctx.listText, selectable: true } return ( @@ -105,7 +109,7 @@ function renderList(node: List, key: number, ctx: MarkdownBlockContext, depth: n )} - {renderBlocks(item.children, ctx, itemText, depth + 1)} + {renderBlocks(nested[itemIndex]!.nodes, ctx, itemText, nested[itemIndex]!.depth)}
))} @@ -161,79 +165,6 @@ function renderTable(node: Table, key: number, ctx: MarkdownBlockContext): React ) } -function isBlankInline(node: PhrasingContent): boolean { - return node.type === 'break' || (node.type === 'text' && node.value.trim() === '') -} - -/** Images draw as blocks between the paragraph's text runs; an image `renderImage` declines stays a link. */ -function renderImageParagraph( - children: PhrasingContent[], - key: number, - ctx: MarkdownBlockContext, - text: ParagraphText -): ReactNode { - const { renderImage } = ctx - if (!renderImage || !children.some((child) => child.type === 'image')) { - return null - } - const parts: ReactNode[] = [] - let drewImage = false - let run: PhrasingContent[] = [] - const flushRun = (): void => { - if (!run.every(isBlankInline)) { - parts.push( - - {renderInline(trimRunEdges(run), ctx)} - - ) - } - run = [] - } - for (const child of children) { - const image = - child.type === 'image' ? renderImage(child.url, child.alt ?? '', child.data?.width) : null - if (image === null || image === undefined) { - run.push(child) - continue - } - flushRun() - parts.push({image}) - drewImage = true - } - if (!drewImage) { - return null - } - flushRun() - // One wrapper whatever the part count, so a growing paragraph never remounts its images. - return ( - - {parts} - - ) -} - -// The line breaks beside an image would otherwise leave blank lines in the text around it. -function trimRunEdges(run: PhrasingContent[]): PhrasingContent[] { - let start = 0 - let end = run.length - while (start < end && run[start]?.type === 'break') { - start += 1 - } - while (end > start && run[end - 1]?.type === 'break') { - end -= 1 - } - const trimmed = run.slice(start, end) - const first = trimmed[0] - if (first?.type === 'text') { - trimmed[0] = { ...first, value: first.value.trimStart() } - } - const last = trimmed.at(-1) - if (last?.type === 'text') { - trimmed[trimmed.length - 1] = { ...last, value: last.value.trimEnd() } - } - return trimmed -} - function renderBlock( node: RootContent, key: number, @@ -241,13 +172,14 @@ function renderBlock( text: ParagraphText, depth: number ): ReactNode { - if (depth > MAX_NESTING && 'children' in node) { + if (mobileMarkdownBlockIsLiteral(node, depth)) { return ( {plainText(node)} ) } + const nested = mobileMarkdownNestedBlocks(node, depth)[0] switch (node.type) { case 'paragraph': { const [only] = node.children @@ -263,7 +195,13 @@ function renderBlock( ) : null } - const withImages = renderImageParagraph(node.children, key, ctx, text) + const withImages = renderImageParagraph( + node.children, + mobileMarkdownParagraphImages(node, depth), + key, + ctx, + text + ) if (withImages) { return withImages } @@ -316,12 +254,12 @@ function renderBlock( // A GitHub alert's body is ordinary text, not a muted quote. return node.data?.callout ? ( - {renderBlocks(node.children, ctx, { style: text.style, selectable: true }, depth + 1)} + {renderBlocks(nested!.nodes, ctx, { style: text.style, selectable: true }, nested!.depth)} ) : ( {renderBlocks( - node.children, + nested!.nodes, ctx, { style: [ @@ -331,7 +269,7 @@ function renderBlock( ], selectable: true }, - depth + 1 + nested!.depth )} ) @@ -366,7 +304,7 @@ function renderBlock( : translate('pullRequest.markdownBlocks.details', 'Details') } > - {renderBlocks(node.children, ctx, text, depth + 1)} + {renderBlocks(nested!.nodes, ctx, text, nested!.depth)} ) case 'footnoteDefinition': @@ -374,7 +312,12 @@ function renderBlock( {`${node.label ?? node.identifier}.`} - {renderBlocks(node.children, ctx, { style: ctx.listText, selectable: true }, depth + 1)} + {renderBlocks( + nested!.nodes, + ctx, + { style: ctx.listText, selectable: true }, + nested!.depth + )} ) diff --git a/mobile/src/components/mobile-markdown-image-paragraph.test.tsx b/mobile/src/components/mobile-markdown-image-paragraph.test.tsx new file mode 100644 index 00000000000..633a4faa39e --- /dev/null +++ b/mobile/src/components/mobile-markdown-image-paragraph.test.tsx @@ -0,0 +1,64 @@ +import { createElement } from 'react' +import { describe, expect, it, vi } from 'vitest' +import { renderImageParagraph } from './mobile-markdown-image-paragraph' +import { mobileMarkdownParagraphImages } from './mobile-markdown-image-placement' +import { parseMobileMarkdownTree } from './mobile-markdown-tree' +import { MARKDOWN_TONES } from './mobile-markdown-styles' +import type { MarkdownBlockContext } from './mobile-markdown-blocks' + +vi.mock('react-native', () => ({ + Linking: { openURL: () => Promise.resolve() }, + Platform: { OS: 'ios' }, + StyleSheet: { create: (styles: unknown) => styles, hairlineWidth: 1 }, + Text: 'Text', + View: 'View' +})) + +describe('phone Markdown image paragraphs', () => { + it.each([100, 1000])('draws %i images with linear eligibility reads', (count) => { + const root = parseMobileMarkdownTree( + Array(count).fill('![](/tmp/p.png)').join(' '), + false, + true + ) + const paragraph = root.children[0]! + if (paragraph.type !== 'paragraph') { + throw new Error('expected an image paragraph') + } + let reads = 0 + const images = mobileMarkdownParagraphImages(paragraph, 0) + images.forEach((image, index) => { + Object.defineProperty(images, index, { + get() { + reads += 1 + return image + } + }) + }) + const drawn: string[] = [] + const ctx: MarkdownBlockContext = { + onOpenLink: () => {}, + tone: MARKDOWN_TONES.default, + textScale: 1, + chatMath: true, + growing: false, + listText: {}, + listMarker: {}, + directives: [], + mermaidOccurrences: new Map(), + renderImage: (href) => { + drawn.push(href) + return createElement('Image', { href }) + } + } + expect( + renderImageParagraph(paragraph.children, images, 0, ctx, { + style: {}, + selectable: true + }) + ).not.toBeNull() + expect(drawn).toEqual(Array(count).fill('/tmp/p.png')) + // Each eligible image needs one read to index and one to draw, independent of paragraph width. + expect(reads).toBeLessThanOrEqual(2 * count) + }) +}) diff --git a/mobile/src/components/mobile-markdown-image-paragraph.tsx b/mobile/src/components/mobile-markdown-image-paragraph.tsx new file mode 100644 index 00000000000..1eac5a24658 --- /dev/null +++ b/mobile/src/components/mobile-markdown-image-paragraph.tsx @@ -0,0 +1,84 @@ +import type { Image, PhrasingContent } from 'mdast' +import { Fragment, type ReactNode } from 'react' +import { View } from 'react-native' +import { MarkdownText } from './mobile-markdown-text' +import { renderInline } from './mobile-markdown-inline' +import { styles } from './mobile-markdown-styles' +import type { MarkdownBlockContext, ParagraphText } from './mobile-markdown-blocks' + +function isBlankInline(node: PhrasingContent): boolean { + return node.type === 'break' || (node.type === 'text' && node.value.trim() === '') +} + +/** Images draw as blocks between the paragraph's text runs; an image `renderImage` declines stays a link. */ +export function renderImageParagraph( + children: PhrasingContent[], + images: readonly Image[], + key: number, + ctx: MarkdownBlockContext, + text: ParagraphText +): ReactNode { + const { renderImage } = ctx + if (!renderImage || images.length === 0) { + return null + } + const eligibleImages = new Set(images) + const parts: ReactNode[] = [] + let drewImage = false + let run: PhrasingContent[] = [] + const flushRun = (): void => { + if (!run.every(isBlankInline)) { + parts.push( + + {renderInline(trimRunEdges(run), ctx)} + + ) + } + run = [] + } + for (const child of children) { + const image = + child.type === 'image' && eligibleImages.has(child) + ? renderImage(child.url, child.alt ?? '', child.data?.width) + : null + if (image === null || image === undefined) { + run.push(child) + continue + } + flushRun() + parts.push({image}) + drewImage = true + } + if (!drewImage) { + return null + } + flushRun() + // One wrapper whatever the part count, so a growing paragraph never remounts its images. + return ( + + {parts} + + ) +} + +// The line breaks beside an image would otherwise leave blank lines in the text around it. +function trimRunEdges(run: PhrasingContent[]): PhrasingContent[] { + let start = 0 + let end = run.length + while (start < end && run[start]?.type === 'break') { + start += 1 + } + while (end > start && run[end - 1]?.type === 'break') { + end -= 1 + } + const trimmed = run.slice(start, end) + const first = trimmed[0] + if (first?.type === 'text') { + trimmed[0] = { ...first, value: first.value.trimStart() } + } + const last = trimmed.at(-1) + if (last?.type === 'text') { + trimmed[trimmed.length - 1] = { ...last, value: last.value.trimEnd() } + } + return trimmed +} diff --git a/mobile/src/components/mobile-markdown-image-placement.ts b/mobile/src/components/mobile-markdown-image-placement.ts new file mode 100644 index 00000000000..8852fa699d4 --- /dev/null +++ b/mobile/src/components/mobile-markdown-image-placement.ts @@ -0,0 +1,53 @@ +import type { Image, Root, RootContent } from 'mdast' + +/** The same nesting boundary applies to native layout and image discovery. */ +export function mobileMarkdownBlockIsLiteral(node: RootContent, depth: number): boolean { + return depth > 8 && 'children' in node +} + +export function mobileMarkdownParagraphImages(node: RootContent, depth: number): Image[] { + return node.type === 'paragraph' && !mobileMarkdownBlockIsLiteral(node, depth) + ? node.children.filter((child): child is Image => child.type === 'image') + : [] +} + +/** Only block containers recurse into image-bearing paragraphs; inline content stays links. */ +export function mobileMarkdownNestedBlocks( + node: RootContent, + depth: number +): { nodes: readonly RootContent[]; depth: number }[] { + if (mobileMarkdownBlockIsLiteral(node, depth)) { + return [] + } + switch (node.type) { + case 'blockquote': + case 'details': + case 'footnoteDefinition': + return [{ nodes: node.children, depth: depth + 1 }] + case 'list': + return node.children.map((item) => ({ nodes: item.children, depth: depth + 1 })) + default: + return [] + } +} + +export function mobileMarkdownImageSources( + root: Root, + accepts: (href: string) => boolean +): string[] { + const sources: string[] = [] + function collect(nodes: readonly RootContent[], depth: number): void { + for (const node of nodes) { + for (const image of mobileMarkdownParagraphImages(node, depth)) { + if (accepts(image.url)) { + sources.push(image.url) + } + } + for (const nested of mobileMarkdownNestedBlocks(node, depth)) { + collect(nested.nodes, nested.depth) + } + } + } + collect(root.children, 0) + return sources +} diff --git a/mobile/src/components/mobile-markdown-mermaid-routing.test.ts b/mobile/src/components/mobile-markdown-mermaid-routing.test.ts index 04b8a1730b3..e2983a9c5a3 100644 --- a/mobile/src/components/mobile-markdown-mermaid-routing.test.ts +++ b/mobile/src/components/mobile-markdown-mermaid-routing.test.ts @@ -40,11 +40,6 @@ function firstMermaid(tree: ReactTestRenderer) { } describe('MobileMarkdown mermaid routing', () => { - it('keeps a streaming (unterminated) mermaid fence as raw code', () => { - const tree = render('```mermaid\ngraph TD; A-->B') - expect(mermaidCount(tree)).toBe(0) - }) - it('keeps identical sibling diagrams uniquely keyed', () => { const consoleError = vi.spyOn(console, 'error').mockImplementation(() => {}) const diagram = '```mermaid\ngraph TD; A-->B\n```' diff --git a/mobile/src/components/mobile-pr-sidebar-presentation.test.ts b/mobile/src/components/mobile-pr-sidebar-presentation.test.ts deleted file mode 100644 index 1a7ef10442d..00000000000 --- a/mobile/src/components/mobile-pr-sidebar-presentation.test.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - canDockPrSidebar, - resolvePresentationMode, - shouldShowTrigger -} from './mobile-pr-sidebar-presentation' - -describe('resolvePresentationMode', () => { - it('docks inline on wide layouts and overlays on narrow', () => { - expect(resolvePresentationMode(true)).toBe('inline') - expect(resolvePresentationMode(false)).toBe('overlay') - }) - - it('overlays on wide layouts when the measured pane cannot fit both columns', () => { - expect(resolvePresentationMode(true, false)).toBe('overlay') - }) -}) - -describe('canDockPrSidebar', () => { - it('requires both wide layout and enough measured width', () => { - expect(canDockPrSidebar({ isWideLayout: true, availableWidth: 700, dockWidth: 340 })).toBe(true) - expect(canDockPrSidebar({ isWideLayout: true, availableWidth: 699, dockWidth: 340 })).toBe( - false - ) - expect(canDockPrSidebar({ isWideLayout: false, availableWidth: 900, dockWidth: 340 })).toBe( - false - ) - }) -}) - -describe('shouldShowTrigger', () => { - it('shows the trigger on a GitHub repo in narrow/overlay mode', () => { - expect(shouldShowTrigger({ isGithubRepo: true, isWideLayout: false })).toBe(true) - }) - - it('hides the trigger in wide/docked mode even on a GitHub repo', () => { - expect(shouldShowTrigger({ isGithubRepo: true, isWideLayout: true })).toBe(false) - }) - - it('shows the trigger on a wide GitHub repo when the sidebar cannot dock', () => { - expect(shouldShowTrigger({ isGithubRepo: true, isWideLayout: true, canDock: false })).toBe(true) - }) - - it('hides the trigger on a non-GitHub repo regardless of layout', () => { - expect(shouldShowTrigger({ isGithubRepo: false, isWideLayout: false })).toBe(false) - expect(shouldShowTrigger({ isGithubRepo: false, isWideLayout: true })).toBe(false) - }) -}) diff --git a/mobile/src/components/mobile-rich-markdown-editor-keyboard-inset.test.ts b/mobile/src/components/mobile-rich-markdown-editor-keyboard-inset.test.ts deleted file mode 100644 index a07a3de1906..00000000000 --- a/mobile/src/components/mobile-rich-markdown-editor-keyboard-inset.test.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { normalizeMobileRichMarkdownKeyboardInset } from './mobile-rich-markdown-editor-keyboard-inset' - -describe('normalizeMobileRichMarkdownKeyboardInset', () => { - it('rounds finite inset measurements for native layout', () => { - expect(normalizeMobileRichMarkdownKeyboardInset(42.6)).toBe(43) - }) - - it('clamps negative inset measurements to zero', () => { - expect(normalizeMobileRichMarkdownKeyboardInset(-8)).toBe(0) - }) - - it('rejects non-finite inset measurements', () => { - expect(normalizeMobileRichMarkdownKeyboardInset(Number.NaN)).toBeNull() - expect(normalizeMobileRichMarkdownKeyboardInset(Number.POSITIVE_INFINITY)).toBeNull() - }) -}) diff --git a/mobile/src/components/mobile-webview-editor-web-fallbacks.test.tsx b/mobile/src/components/mobile-webview-editor-web-fallbacks.test.tsx index f6a9bef5726..bd233480e01 100644 --- a/mobile/src/components/mobile-webview-editor-web-fallbacks.test.tsx +++ b/mobile/src/components/mobile-webview-editor-web-fallbacks.test.tsx @@ -48,7 +48,6 @@ vi.mock('./TextInputModal', async () => { } }) -import { MobileHtmlPreview, MOBILE_HTML_PREVIEW_SANDBOX } from './MobileHtmlPreview' import { MobileRichMarkdownEditor } from './MobileRichMarkdownEditor' const renderers: ReactTestRenderer[] = [] @@ -140,54 +139,3 @@ describe('the rich markdown editor on the page', () => { expect(onChange.mock.calls).toEqual([['accepted']]) }) }) - -describe('the html preview on the page', () => { - const renderSourceMarker = () => createElement('SourceView', null) - - it('renders the artifact in a frame that can run nothing, and keeps the toggle', () => { - const renderer = render( - createElement(MobileHtmlPreview, { html: '

hi

', renderSource: renderSourceMarker }) - ) - const frames = findHosts(renderer, 'iframe') - expect(frames).toHaveLength(1) - // Only srcDoc hands artifact to sealed frame; deny scripts and same-origin. - expect(frames[0]?.props.srcDoc).toBe('

hi

') - expect(frames[0]?.props.sandbox).toBe(MOBILE_HTML_PREVIEW_SANDBOX) - expect(MOBILE_HTML_PREVIEW_SANDBOX.split(' ')).not.toContain('allow-scripts') - expect(MOBILE_HTML_PREVIEW_SANDBOX.split(' ')).not.toContain('allow-same-origin') - // Both positions of the toggle exist, which is what stops it being a control that lies. - expect(findHosts(renderer, 'Pressable')).toHaveLength(2) - }) - - it('says which side of the toggle is showing', () => { - const renderer = render( - createElement(MobileHtmlPreview, { html: '

hi

', renderSource: renderSourceMarker }) - ) - const toggles = () => findHosts(renderer, 'Pressable') - expect(toggles()).toHaveLength(2) - expect(toggles().map((node) => node.props.accessibilityRole)).toEqual(['tab', 'tab']) - // The pair's own container, so the two tabs are a set rather than two loose ones. - expect( - findHosts(renderer, 'View').filter((node) => node.props.accessibilityRole === 'tablist') - ).toHaveLength(1) - // Assert selected state for screen reader: active styling alone is silent. - expect(toggles().map((node) => node.props.accessibilityState?.selected)).toEqual([true, false]) - - act(() => toggles()[1]?.props.onPress()) - expect(toggles().map((node) => node.props.accessibilityState?.selected)).toEqual([false, true]) - }) - - it('never puts the artifact anywhere but the frame', () => { - const renderer = render( - createElement(MobileHtmlPreview, { - html: '', - renderSource: renderSourceMarker - }) - ) - const tree = JSON.stringify(renderer.toJSON()) - // Artifact appears only as iframe srcDoc, never surrounding child or dangerous HTML. - expect(findHosts(renderer, 'iframe')[0]?.props.srcDoc).toBe('') - expect(tree.split('alert(1)')).toHaveLength(2) - expect(tree).not.toContain('dangerouslySetInnerHTML') - }) -}) diff --git a/mobile/src/components/nav-bar/NavBarButton.tsx b/mobile/src/components/nav-bar/NavBarButton.tsx index 697704fa9e4..6cd4fbbedb6 100644 --- a/mobile/src/components/nav-bar/NavBarButton.tsx +++ b/mobile/src/components/nav-bar/NavBarButton.tsx @@ -16,6 +16,8 @@ type NavBarButtonProps = { /** The screen or panel this button opens is showing. */ active?: boolean disabled?: boolean + /** The icon's colour while not active, e.g. a PR state's. */ + iconColor?: string } // A round top-bar button; the bar floats over content like the composer, so its buttons are round too. @@ -25,7 +27,8 @@ export function NavBarButton({ accessibilityLabel, onPress, active = false, - disabled = false + disabled = false, + iconColor }: NavBarButtonProps) { useMobileColorScheme() return ( @@ -44,7 +47,11 @@ export function NavBarButton({ accessibilityLabel={accessibilityLabel} accessibilityState={{ disabled, selected: active }} > - + ) } diff --git a/mobile/src/components/nav-bar/PullDownMenu.tsx b/mobile/src/components/nav-bar/PullDownMenu.tsx index 029dc1aadc6..3bd53702855 100644 --- a/mobile/src/components/nav-bar/PullDownMenu.tsx +++ b/mobile/src/components/nav-bar/PullDownMenu.tsx @@ -196,7 +196,9 @@ export function PullDownMenu({ visible, anchorRef, groups, onClose }: PullDownMe disabled={action.disabled || action.loading} onPress={() => press(action)} accessibilityRole="menuitem" - accessibilityLabel={action.label} + accessibilityLabel={ + action.status ? `${action.label}, ${action.status}` : action.label + } accessibilityHint={action.hint} accessibilityState={ action.checked === undefined ? undefined : { checked: action.checked } @@ -213,6 +215,11 @@ export function PullDownMenu({ visible, anchorRef, groups, onClose }: PullDownMe ) : null}
+ {action.status ? ( + + {action.status} + + ) : null} {action.checked ? ( ) : action.renderIcon ? ( @@ -280,5 +287,12 @@ const styles = themedStyleSheet(() => ({ hint: { color: colors.textSecondary, fontSize: typography.metaSize + }, + status: { + marginLeft: 'auto', + flexShrink: 0, + color: colors.textSecondary, + fontSize: typography.metaSize, + fontVariant: ['tabular-nums'] } })) diff --git a/mobile/src/components/new-workspace-project-targets.test.ts b/mobile/src/components/new-workspace-project-targets.test.ts deleted file mode 100644 index bfccb682ef9..00000000000 --- a/mobile/src/components/new-workspace-project-targets.test.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { getLocalExecutionHostLabel } from '../../../src/shared/execution-host' -import { - buildNewWorkspaceProjectOptions, - buildNewWorkspaceRunTargetOptions, - getNewWorkspaceRunTarget -} from './new-workspace-project-targets' - -const LOCAL_HOST_LABEL = getLocalExecutionHostLabel('darwin') - -describe('new workspace project targets', () => { - it('groups local and SSH checkouts of the same project', () => { - const upstream = { owner: 'stablyai', repo: 'orca' } - const options = buildNewWorkspaceProjectOptions([ - { id: 'local', displayName: 'orca', path: '/src/orca', upstream }, - { - id: 'ssh', - displayName: 'orca', - path: '/home/dev/orca', - connectionId: 'build-server', - upstream - } - ]) - - expect(options).toHaveLength(1) - expect(options[0]).toMatchObject({ label: 'orca', detail: 'stablyai/orca' }) - }) - - it('shows the provider slug recovered from canonical git identity', () => { - const options = buildNewWorkspaceProjectOptions([ - { - id: 'local', - displayName: 'orca', - path: '/src/orca', - gitRemoteIdentity: { - canonicalKey: 'github.com/stablyai/orca', - remoteName: 'origin', - remoteUrl: 'git@github.com:stablyai/orca.git' - } - } - ]) - - expect(options[0]).toMatchObject({ label: 'orca', detail: 'stablyai/orca' }) - }) - - it('labels local, SSH, and paired runtime targets as the host list names them', () => { - expect( - getNewWorkspaceRunTarget({ id: 'local', displayName: 'orca', path: '/src/orca' }, 'darwin') - ).toEqual({ hostId: 'local', label: LOCAL_HOST_LABEL, detail: '/src/orca' }) - expect( - getNewWorkspaceRunTarget({ id: 'local', displayName: 'orca', path: 'C:\\src\\orca' }) - ).toMatchObject({ label: 'This computer' }) - expect( - getNewWorkspaceRunTarget({ id: 'local', displayName: 'orca', path: 'C:\\src\\orca' }, 'win32') - ).toMatchObject({ label: 'Local Windows' }) - expect( - getNewWorkspaceRunTarget({ - id: 'ssh', - displayName: 'orca', - path: 'C:\\src\\orca', - executionHostId: 'ssh:Windows%20VM' - }) - ).toEqual({ hostId: 'ssh:Windows%20VM', label: 'Windows VM', detail: 'C:\\src\\orca' }) - const server = { - id: 'runtime', - displayName: 'orca', - path: '/src/orca', - executionHostId: 'runtime:20269ff3-60aa-4e79-a581-513a3f8e394b' - } as const - const labels = new Map([[server.executionHostId, 'scratch-server']] as const) - expect(getNewWorkspaceRunTarget(server, 'darwin', labels)).toEqual({ - hostId: server.executionHostId, - label: 'scratch-server', - detail: '/src/orca' - }) - }) - - it('shows one target per host when the project has multiple local worktrees', () => { - const upstream = { owner: 'stablyai', repo: 'orca' } - const repos = [ - { id: 'local-a', displayName: 'orca-a', path: '/src/orca-a', upstream }, - { id: 'local-b', displayName: 'orca-b', path: '/src/orca-b', upstream }, - { - id: 'ssh', - displayName: 'orca', - path: '/home/dev/orca', - connectionId: 'build-server', - upstream - } - ] - const projectId = buildNewWorkspaceProjectOptions(repos)[0]?.id ?? null - - expect(buildNewWorkspaceRunTargetOptions(repos, projectId, 'darwin')).toEqual([ - expect.objectContaining({ id: 'local', label: LOCAL_HOST_LABEL, detail: '/src/orca-a' }), - expect.objectContaining({ - id: 'ssh:build-server', - label: 'build-server', - detail: '/home/dev/orca' - }) - ]) - }) -}) diff --git a/mobile/src/components/new-workspace-reply-schema.test.ts b/mobile/src/components/new-workspace-reply-schema.test.ts deleted file mode 100644 index b4783f0b8ba..00000000000 --- a/mobile/src/components/new-workspace-reply-schema.test.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { z } from 'zod' -import { - newWorkspaceRepoHooksSchema, - newWorkspaceUiTrustSchema -} from './new-workspace-reply-schema' - -function reads(schema: z.ZodType, value: unknown): T { - const parsed = schema.safeParse(value) - if (!parsed.success) { - throw new Error(`expected a readable reply: ${parsed.error.message}`) - } - return parsed.data -} - -function refuses(schema: z.ZodType, value: unknown): boolean { - return !schema.safeParse(value).success -} - -describe('the drawer requires only what it reads unguarded', () => { - it('requires the hook source the drawer assigns straight into its details', () => { - const reply = { hooks: { scripts: { setup: 'pnpm i' } }, source: 'repo', setupTrust: null } - expect(reads(newWorkspaceRepoHooksSchema, reply).source).toBe('repo') - expect(refuses(newWorkspaceRepoHooksSchema, { hooks: null })).toBe(true) - expect(refuses(newWorkspaceRepoHooksSchema, { error: 'refused' })).toBe(true) - expect(refuses(newWorkspaceRepoHooksSchema, null)).toBe(true) - }) - - it('preserves an explicit null source rather than collapsing it to absent', () => { - expect(reads(newWorkspaceRepoHooksSchema, { hooks: null, source: null }).source).toBe(null) - }) - - it('takes the recorded reply with an explicit null setupTrust without salvaging it', () => { - // Keep setupTrust nullable: real components-setup-ask fixture sends null, which must not count as dropped malformed member. - const reply = { hooks: null, source: null, setupRunPolicy: 'ask', setupTrust: null } - expect(reads(newWorkspaceRepoHooksSchema, reply).setupTrust).toBe(null) - }) - - it('drops a setupTrust missing the members normalizeSetupHookTrust reads', () => { - const reply = { source: null, setupTrust: { contentHash: 7, scriptContent: 'x' } } - expect(reads(newWorkspaceRepoHooksSchema, reply).setupTrust).toBe(undefined) - }) -}) - -describe('the setup run policy is a closed enum with the call site defaulting it', () => { - it('drops an arm this build does not know, which behaves as run-by-default did', () => { - expect( - reads(newWorkspaceRepoHooksSchema, { source: null, setupRunPolicy: 'on-tuesdays' }) - .setupRunPolicy - ).toBe(undefined) - }) -}) - -describe('the trust record salvages per repo', () => { - it('keeps the approvals isSetupHookTrusted reads', () => { - const ui = { trustedOrcaHooks: { 'repo-1': { setup: { contentHash: 'h', approvedAt: 1 } } } } - expect(reads(newWorkspaceUiTrustSchema, { ui })?.trustedOrcaHooks?.['repo-1']?.setup).toEqual({ - contentHash: 'h', - approvedAt: 1 - }) - }) - - it('drops one unreadable repo without costing the others their trust', () => { - const ui = { - trustedOrcaHooks: { - 'repo-1': { all: { approvedAt: 1 } }, - 'repo-2': 'not-a-record' - } - } - const trust = reads(newWorkspaceUiTrustSchema, { ui })?.trustedOrcaHooks - expect(trust?.['repo-1']?.all).toEqual({ approvedAt: 1 }) - expect(trust?.['repo-2']).toBe(undefined) - }) - - it('reads a null or absent ui the way the drawer always has', () => { - expect(reads(newWorkspaceUiTrustSchema, null)).toBe(undefined) - expect(reads(newWorkspaceUiTrustSchema, {})).toBe(undefined) - expect(reads(newWorkspaceUiTrustSchema, { ui: null })).toBe(null) - }) - - // Preserve total ui.get read: unawaited async caller has no catch, so refusal would reject unhandled and skip provider computation; optional trust read tolerated all shapes. - it('reads a non-object ui.get result as absent rather than refusing it', () => { - for (const value of ['not-an-object', 42, true, [], [{ ui: {} }]]) { - expect(refuses(newWorkspaceUiTrustSchema, value)).toBe(false) - expect(reads(newWorkspaceUiTrustSchema, value)).toBe(undefined) - } - }) -}) diff --git a/mobile/src/components/new-worktree-agent-selection.test.ts b/mobile/src/components/new-worktree-agent-selection.test.ts deleted file mode 100644 index dde450d66b9..00000000000 --- a/mobile/src/components/new-worktree-agent-selection.test.ts +++ /dev/null @@ -1,101 +0,0 @@ -import { describe, expect, it } from 'vitest' - -import { - NEW_WORKTREE_BLANK_AGENT, - newWorktreeAgentOptionFor, - pickPreferredNewWorktreeAgent, - resolveNewWorktreeAgentSelection -} from './new-worktree-agent-selection' - -describe('new worktree agent selection', () => { - it('picks the preferred detected agent when there is no user override', () => { - const selected = newWorktreeAgentOptionFor('claude') - const resolved = resolveNewWorktreeAgentSelection({ - visible: true, - selectedAgent: selected, - agentOverridden: false, - runtimeSettings: { defaultTuiAgent: 'codex' }, - detectedAgentIds: new Set(['claude', 'codex']) - }) - - expect(resolved).toEqual({ - selectedAgent: newWorktreeAgentOptionFor('codex'), - agentOverridden: false - }) - }) - - it('keeps an available user override', () => { - const selected = newWorktreeAgentOptionFor('codex') - const resolved = resolveNewWorktreeAgentSelection({ - visible: true, - selectedAgent: selected, - agentOverridden: true, - runtimeSettings: { defaultTuiAgent: 'claude' }, - detectedAgentIds: new Set(['claude', 'codex']) - }) - - expect(resolved).toEqual({ selectedAgent: selected, agentOverridden: true }) - }) - - it('clears an unavailable user override after detection completes', () => { - const resolved = resolveNewWorktreeAgentSelection({ - visible: true, - selectedAgent: newWorktreeAgentOptionFor('codex'), - agentOverridden: true, - runtimeSettings: { defaultTuiAgent: 'claude' }, - detectedAgentIds: new Set(['claude']) - }) - - expect(resolved).toEqual({ - selectedAgent: newWorktreeAgentOptionFor('claude'), - agentOverridden: false - }) - }) - - it('clears a disabled user override after detection completes', () => { - const resolved = resolveNewWorktreeAgentSelection({ - visible: true, - selectedAgent: newWorktreeAgentOptionFor('codex'), - agentOverridden: true, - runtimeSettings: { defaultTuiAgent: 'claude', disabledTuiAgents: ['codex'] }, - detectedAgentIds: new Set(['claude', 'codex']) - }) - - expect(resolved).toEqual({ - selectedAgent: newWorktreeAgentOptionFor('claude'), - agentOverridden: false - }) - }) - - it('keeps blank terminal as an explicit override', () => { - const resolved = resolveNewWorktreeAgentSelection({ - visible: true, - selectedAgent: NEW_WORKTREE_BLANK_AGENT, - agentOverridden: true, - runtimeSettings: { defaultTuiAgent: 'claude' }, - detectedAgentIds: new Set(['claude']) - }) - - expect(resolved).toEqual({ - selectedAgent: NEW_WORKTREE_BLANK_AGENT, - agentOverridden: true - }) - }) - - it('leaves closed modal state untouched', () => { - const selected = newWorktreeAgentOptionFor('codex') - const resolved = resolveNewWorktreeAgentSelection({ - visible: false, - selectedAgent: selected, - agentOverridden: true, - runtimeSettings: { defaultTuiAgent: 'claude' }, - detectedAgentIds: new Set(['claude']) - }) - - expect(resolved).toEqual({ selectedAgent: selected, agentOverridden: true }) - }) - - it('uses blank when no detected agent is known', () => { - expect(pickPreferredNewWorktreeAgent({ defaultTuiAgent: null }, new Set()).id).toBe('__blank__') - }) -}) diff --git a/mobile/src/components/pr-sidebar/pr-check-detail-content.test.ts b/mobile/src/components/pr-sidebar/pr-check-detail-content.test.ts deleted file mode 100644 index 5876405d1bb..00000000000 --- a/mobile/src/components/pr-sidebar/pr-check-detail-content.test.ts +++ /dev/null @@ -1,145 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { PRCheckRunDetails } from '../../../../src/shared/github/check-types' -import { presentCheckDetail } from './pr-check-detail-content' - -function details(over: Partial): PRCheckRunDetails { - return { - name: 'ci', - status: 'completed', - conclusion: 'failure', - url: null, - detailsUrl: null, - startedAt: null, - completedAt: null, - title: null, - summary: null, - text: null, - annotations: [], - jobs: [], - ...over - } -} - -describe('presentCheckDetail', () => { - it('builds summary lines from conclusion/title/summary, skipping blanks', () => { - const content = presentCheckDetail( - details({ conclusion: 'failure', title: 'Build failed', summary: ' ' }) - ) - expect(content.summaryLines).toEqual(['failure', 'Build failed']) - }) - - it('maps annotations with a path:line locator and caps at 20', () => { - const content = presentCheckDetail( - details({ - annotations: Array.from({ length: 25 }, (_, index) => ({ - path: `src/file${index}.ts`, - startLine: index + 1, - endLine: null, - annotationLevel: 'failure', - title: null, - message: `problem ${index}`, - rawDetails: null - })) - }) - ) - expect(content.annotations).toHaveLength(20) - expect(content.annotationsTruncated).toBe(true) - expect(content.annotations[0]).toMatchObject({ - locator: 'src/file0.ts:1', - level: 'failure', - message: 'problem 0' - }) - }) - - it('falls back to "Annotation" when no path is present', () => { - const content = presentCheckDetail( - details({ - annotations: [ - { - path: null, - startLine: null, - endLine: null, - annotationLevel: null, - title: null, - message: 'no path', - rawDetails: null - } - ] - }) - ) - expect(content.annotations[0].locator).toBe('Annotation') - }) - - it('prefers failing jobs and surfaces only their failed steps', () => { - const content = presentCheckDetail( - details({ - jobs: [ - { - id: 1, - name: 'passing-job', - status: 'completed', - conclusion: 'success', - startedAt: null, - completedAt: null, - url: null, - logTail: null, - steps: [] - }, - { - id: 2, - name: 'failing-job', - status: 'completed', - conclusion: 'failure', - startedAt: null, - completedAt: null, - url: null, - logTail: 'error: boom', - steps: [ - { - name: 'ok-step', - status: 'completed', - conclusion: 'success', - startedAt: null, - completedAt: null - }, - { - name: 'bad-step', - status: 'completed', - conclusion: 'failure', - startedAt: null, - completedAt: null - } - ] - } - ] - }) - ) - expect(content.jobsLabel).toBe('Failed jobs') - expect(content.jobs).toHaveLength(1) - expect(content.jobs[0]).toMatchObject({ name: 'failing-job', logTail: 'error: boom' }) - expect(content.jobs[0].failedSteps).toEqual([{ name: 'bad-step', state: 'failure' }]) - }) - - it('shows all jobs labeled "Jobs" when none are failing', () => { - const content = presentCheckDetail( - details({ - conclusion: 'success', - jobs: [ - { - id: 1, - name: 'a', - status: 'completed', - conclusion: 'success', - startedAt: null, - completedAt: null, - url: null, - logTail: null, - steps: [] - } - ] - }) - ) - expect(content.jobsLabel).toBe('Jobs') - expect(content.jobs).toHaveLength(1) - }) -}) diff --git a/mobile/src/components/pr-sidebar/pr-tab-styles.ts b/mobile/src/components/pr-sidebar/pr-tab-styles.ts index 7f385b7ab5b..15336f306ab 100644 --- a/mobile/src/components/pr-sidebar/pr-tab-styles.ts +++ b/mobile/src/components/pr-sidebar/pr-tab-styles.ts @@ -17,6 +17,9 @@ export const prTabStyles = themedStyleSheet(() => ({ header: { gap: spacing.xs }, metaRow: { flexDirection: 'row', alignItems: 'center', gap: spacing.sm, flexWrap: 'wrap' }, badge: { + flexDirection: 'row', + alignItems: 'center', + gap: 4, paddingHorizontal: spacing.sm, paddingVertical: 1, borderRadius: radii.pill, diff --git a/mobile/src/components/pr-state-token.test.ts b/mobile/src/components/pr-state-token.test.ts deleted file mode 100644 index d9b0d2bdeb0..00000000000 --- a/mobile/src/components/pr-state-token.test.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { prStateToken } from './pr-state-token' - -describe('prStateToken', () => { - it('is case-insensitive and falls back to muted for unknown states', () => { - expect(prStateToken('MERGED')).toBe('statusPurple') - expect(prStateToken('unknown')).toBe('textSecondary') - expect(prStateToken('')).toBe('textSecondary') - }) -}) diff --git a/mobile/src/components/pr-state-token.ts b/mobile/src/components/pr-state-token.ts index 469c483aeda..fe8968a1729 100644 --- a/mobile/src/components/pr-state-token.ts +++ b/mobile/src/components/pr-state-token.ts @@ -1,3 +1,10 @@ +import { + GitMerge, + GitPullRequest, + GitPullRequestClosed, + GitPullRequestDraft, + type LucideIcon +} from 'lucide-react-native' import type { MobileStatusToken } from './pr-sidebar/pr-checks-presentation' // Share status tokens between workspace PR badge and sidebar to prevent color drift, matching desktop ReviewIcon. @@ -14,3 +21,17 @@ export function prStateToken(state: string): MobileStatusToken { return 'textSecondary' } } + +// Glyph per state, like GitHub and desktop's getReviewStateIcon; open and unknown keep the plain PR glyph. +export function prStateIcon(state: string): LucideIcon { + switch (state.toLowerCase()) { + case 'merged': + return GitMerge + case 'closed': + return GitPullRequestClosed + case 'draft': + return GitPullRequestDraft + default: + return GitPullRequest + } +} diff --git a/mobile/src/components/rich-markdown/document-host-root.test.ts b/mobile/src/components/rich-markdown/document-host-root.test.ts index 5328efacf45..a944590ba4d 100644 --- a/mobile/src/components/rich-markdown/document-host-root.test.ts +++ b/mobile/src/components/rich-markdown/document-host-root.test.ts @@ -54,16 +54,6 @@ describe('two editor documents on one page', () => { expect(surfaceOf(second.host).textContent).toBe('second') }) - it('serializes the surface it was started against rather than the page’s first one', () => { - const first = mountedIn('first') - const second = mountedIn('second') - surfaceOf(first.host).innerHTML = '

from the first

' - surfaceOf(second.host).innerHTML = '

from the second

' - - expect(first.started.send.currentMarkdown()).toBe('from the first') - expect(second.started.send.currentMarkdown()).toBe('from the second') - }) - it('reports an edit in the second host to the second host’s own host', () => { const first = mountedIn('first') const second = mountedIn('second') @@ -88,20 +78,4 @@ describe('two editor documents on one page', () => { expect(second.posts).toEqual([{ type: 'change', markdown: 'still here', generation: 0 }]) }) - - it('reads the whole page when no root is named, which is what the WebView gets', () => { - document.body.innerHTML = RICH_MARKDOWN_EDITOR_MARKUP - const posts: MobileRichMarkdownEditorMessage[] = [] - const started = createRichMarkdownEditorDocument( - quietRichMarkdownEditorHost({ - postToHost: (message) => posts.push(message), - keyboardInsetSource: () => null - }) - ) - startedDocuments.push(started) - - started.send.setMarkdown('# native', 1) - - expect(document.querySelector('#editor')!.textContent).toBe('native') - }) }) diff --git a/mobile/src/components/rich-markdown/document-lifecycle.test.ts b/mobile/src/components/rich-markdown/document-lifecycle.test.ts index c930a8416c0..b7f7fe728d6 100644 --- a/mobile/src/components/rich-markdown/document-lifecycle.test.ts +++ b/mobile/src/components/rich-markdown/document-lifecycle.test.ts @@ -94,23 +94,6 @@ describe('an editor document that is stopped', () => { ) }) - it('is two editors when two are mounted, each reading its own scope', () => { - // Two document calls over same markup isolate state; overlapping #editor hosts are tested separately. - const first: MobileRichMarkdownEditorMessage[] = [] - const second: MobileRichMarkdownEditorMessage[] = [] - const editor = plantMarkup() - const one = mount(first) - const two = mount(second) - first.length = 0 - second.length = 0 - one.handle.setMarkdown('shared markup', 3) - two.handle.setEditable(false) - editor.dispatchEvent(new Event('input')) - // Read-only second document stays silent while first retains its own generation, ruling out module-global editable state. - expect(second).toEqual([]) - expect(first).toEqual([{ type: 'change', markdown: 'shared markup', generation: 3 }]) - }) - it('drops a command whose dialog answered after the host moved on', async () => { // Page URL modal creates task boundary: host can replace content, set read-only or unmount while waiting; native prompt answers within microtask. const commands: string[] = [] diff --git a/mobile/src/components/rich-markdown/editor-inline-code-blocks.test.ts b/mobile/src/components/rich-markdown/editor-inline-code-blocks.test.ts index e8f0770232c..7b7cd4a3e9b 100644 --- a/mobile/src/components/rich-markdown/editor-inline-code-blocks.test.ts +++ b/mobile/src/components/rich-markdown/editor-inline-code-blocks.test.ts @@ -108,14 +108,3 @@ it('leaves existing code blocks intact when selecting surrounding paragraphs', a expect(editor.surface.querySelector('pre')!.outerHTML).toBe(original) expect(editor.send.currentMarkdown()).toBe('`Before`\n\n```ts\nconst n = 1\n```\n\n`After`') }) - -it('formats selected spaces within a paragraph', async () => { - const editor = mount('placeholder') - const paragraph = editor.surface.querySelector('p')! - paragraph.textContent = ' ' - const range = document.createRange() - range.selectNodeContents(paragraph) - select(range) - await editor.send.runCommand('inlineCode') - expect(editor.send.currentMarkdown()).toBe('` `') -}) diff --git a/mobile/src/components/rich-markdown/editor-selection.test.ts b/mobile/src/components/rich-markdown/editor-selection.test.ts index f140ff88467..4d3b442eeeb 100644 --- a/mobile/src/components/rich-markdown/editor-selection.test.ts +++ b/mobile/src/components/rich-markdown/editor-selection.test.ts @@ -93,14 +93,6 @@ afterEach(() => { }) describe('the editor document caret, across a keyboard dismissal', () => { - it('blurs the surface, which is what closes the keyboard over a document', () => { - const editor = runtime({ caret: 'paragraph-3' }) - expect(editor.focused()).toBe(true) - editor.handle.dismissKeyboard() - expect(editor.focused()).toBe(false) - expect(editor.selectedContainer()).toBe(null) - }) - it('reclaims focus at the tapped caret rather than at the stale one', () => { const editor = runtime({ caret: 'paragraph-3' }) editor.handle.dismissKeyboard() @@ -127,12 +119,6 @@ describe('the editor document caret, across a keyboard dismissal', () => { expect(editor.focused()).toBe(true) }) - it('falls back to the end of the document when no caret was ever placed', async () => { - const editor = runtime({ caret: null }) - await editor.handle.runCommand('bold') - expect(editor.selectedContainer()).toBe('editor-end') - }) - it('drops a remembered caret whose nodes left the document', async () => { const editor = runtime({ caret: 'paragraph-3' }) editor.handle.dismissKeyboard() @@ -174,17 +160,4 @@ describe('the editor document caret, across the host’s URL dialog', () => { await editor.handle.runCommand('link') expect(editor.selectedContainer()).toBe('editor-end') }) - - it('runs no command when the dialog is cancelled, and leaves the caret alone', async () => { - const editor = runtime({ - caret: 'paragraph-3', - promptForUrl: () => { - window.getSelection()?.removeAllRanges() - return Promise.resolve(null) - } - }) - await editor.handle.runCommand('link') - // No command runs, so no selection restore; command owns restore, not dialog. - expect(editor.selectedContainer()).toBe(null) - }) }) diff --git a/mobile/src/components/rich-markdown/markdown-code-fence-allocation.test.ts b/mobile/src/components/rich-markdown/markdown-code-fence-allocation.test.ts index fbbacbba046..43488553521 100644 --- a/mobile/src/components/rich-markdown/markdown-code-fence-allocation.test.ts +++ b/mobile/src/components/rich-markdown/markdown-code-fence-allocation.test.ts @@ -4,7 +4,7 @@ import { quietRichMarkdownEditorHost } from './rich-markdown-editor-host.test-su import { MOBILE_MARKDOWN_EDIT_MAX_BYTES } from '../../../../src/shared/mobile-markdown-document' import { createRichMarkdownEditorDocument } from './create-rich-markdown-editor-document' import { RICH_MARKDOWN_EDITOR_MARKUP } from './document-markup' -import { codeFenceFor } from './markdown-code-fence' + import type { MobileRichMarkdownEditorMessage } from '../mobile-rich-markdown-editor-contract' afterEach(() => { @@ -13,18 +13,6 @@ afterEach(() => { }) describe('code-block fence sizing', () => { - it.each([ - { code: '', length: 3 }, - { code: 'no backticks 😀\uD800\uDC00\u0000', length: 3 }, - { code: '`a`\n``b``', length: 3 }, - { code: 'before```after', length: 4 }, - { code: '````\n``\r\n```', length: 5 }, - { code: '\uD800````\uDC00`````😀', length: 6 }, - { code: '`'.repeat(8192), length: 8193 } - ])('chooses a fence of $length characters for the whole code block', ({ code, length }) => { - expect(codeFenceFor(code)).toBe('`'.repeat(length)) - }) - it('serializes an admitted editable document without collecting every backtick run', () => { document.body.innerHTML = RICH_MARKDOWN_EDITOR_MARKUP const posted: MobileRichMarkdownEditorMessage[] = [] diff --git a/mobile/src/components/rich-markdown/markdown-code-literals.test.ts b/mobile/src/components/rich-markdown/markdown-code-literals.test.ts index f5246b99779..19687646113 100644 --- a/mobile/src/components/rich-markdown/markdown-code-literals.test.ts +++ b/mobile/src/components/rich-markdown/markdown-code-literals.test.ts @@ -84,18 +84,6 @@ it.each([ expect(editorDocument.send.currentMarkdown()).toBe(markdown) }) -it.each([ - ['heading', '

ab
x

', '## `ab`\n\n```\nx\n```'], - ['paragraph', '

ab

x

', '`ab`\n\n```\nx\n```'] -])('joins adjacent inline code beside a %s-owned code block', (_name, html, markdown) => { - document.body.innerHTML = RICH_MARKDOWN_EDITOR_MARKUP - const editorDocument = createRichMarkdownEditorDocument(quietRichMarkdownEditorHost()) - stopDocuments.push(editorDocument.stop) - document.getElementById('editor')!.innerHTML = html - - expect(editorDocument.send.currentMarkdown()).toBe(markdown) -}) - it.each([ ['inline code', '

x\u00a0 z\u00a0 after

', '`x z ` after'], ['an inline code line break', '

first
second

', '`first second`'], diff --git a/mobile/src/components/rich-markdown/markdown-heading-code-blocks.test.ts b/mobile/src/components/rich-markdown/markdown-heading-code-blocks.test.ts index 9cfde94a5b1..73e26bbb1a6 100644 --- a/mobile/src/components/rich-markdown/markdown-heading-code-blocks.test.ts +++ b/mobile/src/components/rich-markdown/markdown-heading-code-blocks.test.ts @@ -43,14 +43,6 @@ function saveHeading(heading: Element, markdown: string, codes: string[]) { return surface } -it('retains selected code and trailing heading text', () => { - const heading = document.createElement('h3') - heading.append(codeBlock('First'), 'Second') - - const surface = saveHeading(heading, '```\nFirst\n```\n\n### Second', ['First']) - expect(surface.querySelector('h3')?.textContent).toBe('Second') -}) - it('keeps inline marks and text between multiple direct code blocks', () => { const heading = document.createElement('h2') const before = document.createElement('strong') diff --git a/mobile/src/components/rich-markdown/markdown-paragraph-code-blocks.test.ts b/mobile/src/components/rich-markdown/markdown-paragraph-code-blocks.test.ts index ff79446fbc3..234a8a1f7a1 100644 --- a/mobile/src/components/rich-markdown/markdown-paragraph-code-blocks.test.ts +++ b/mobile/src/components/rich-markdown/markdown-paragraph-code-blocks.test.ts @@ -48,13 +48,6 @@ function expectRoundTrip(wrapper: Element, markdown: string, codes: string[]) { return editor } -it('retains native first-line PRE and trailing soft-line text without mutating the live paragraph', () => { - const paragraph = document.createElement('p') - paragraph.append(codeBlock('First'), 'Second', document.createElement('br'), 'Third') - - expectRoundTrip(paragraph, '```\nFirst\n```\n\nSecond\nThird', ['First']) -}) - it('retains literal code and surrounding marked prose through transparent paragraph wrappers', () => { const wrapper = document.createElement('div') const before = document.createElement('p') diff --git a/mobile/src/components/rich-markdown/markdown-round-trip.test.ts b/mobile/src/components/rich-markdown/markdown-round-trip.test.ts index f44e5172124..9e12092a039 100644 --- a/mobile/src/components/rich-markdown/markdown-round-trip.test.ts +++ b/mobile/src/components/rich-markdown/markdown-round-trip.test.ts @@ -58,19 +58,6 @@ describe('the editor document, from markdown and back', () => { expect(currentMarkdown(scope)).toBe(markdown) }) - it('serializes a bullet list the engine nested inside a paragraph, as the flat shape does', () => { - // Captured WebKit 26.4/Chromium 147 insertUnorderedList nests ul in p instead of replacing p; WebKit also adds styled text span. - const { scope, editor } = nestedListSurface( - `
    ${webkitItem('alpha')}${webkitItem('beta')}
` - ) - - expect(editor.querySelector('ul')?.parentElement?.tagName).toBe('P') - const markdown = ['- alpha', '- beta'].join('\n') - expect(currentMarkdown(scope)).toBe(markdown) - // The flat shape the renderer produces from that same source, so the two shapes agree. - expect(currentMarkdown(surface(markdown).scope)).toBe(markdown) - }) - it('serializes a numbered list the engine nested inside a paragraph', () => { // The same capture with the Numbered list command: `

  1. ...

` on both. const { scope, editor } = nestedListSurface( @@ -120,13 +107,6 @@ describe('the editor document, from markdown and back', () => { ) }) - it('renders task checkboxes as disabled while the surface is read-only', () => { - expect(surface('- [ ] Read-only task', { editable: false }).html).toContain( - 'type="checkbox" disabled' - ) - expect(surface('- [ ] Editable task').html).not.toContain('disabled') - }) - it('round-trips every block the toolbar can produce', () => { const markdown = [ '# Title', @@ -173,13 +153,6 @@ describe('the editor document, from markdown and back', () => { expect(render('- ok')).toBe('
  • ok

') }) - it('renders no link for a javascript: URL, which is the one scheme it filters', () => { - // Refused URL remains inert text via emphasis fallback; no tappable element may survive. - const { html } = surface('[tap](javascript:alert(1))') - expect(html).not.toContain(' { // Choose closing fence longer than any inner backtick run or reader ends code at its own content. const markdown = ['````', '```', 'nested', '```', '````'].join('\n') diff --git a/mobile/src/components/rich-markdown/markdown-table-linebreaks.test.ts b/mobile/src/components/rich-markdown/markdown-table-linebreaks.test.ts index 58cdc2896d0..07a6f594418 100644 --- a/mobile/src/components/rich-markdown/markdown-table-linebreaks.test.ts +++ b/mobile/src/components/rich-markdown/markdown-table-linebreaks.test.ts @@ -71,14 +71,6 @@ it.each([ expect(editor.querySelector('td')?.querySelector('br')).toBe(null) }) -it('keeps an authored run of trailing cell breaks byte-for-byte', () => { - const { editorDocument } = surface() - const markdown = original.replace('| First |', '| x

|') - editorDocument.send.setMarkdown(markdown, 8) - - expect(editorDocument.send.currentMarkdown()).toBe(markdown) -}) - it.each(['
', '
', 'a
b', '
'])( 'keeps typed table markup literal: %s', (text) => { diff --git a/mobile/src/components/rich-markdown/page-stylesheet.test.ts b/mobile/src/components/rich-markdown/page-stylesheet.test.ts index 60d29f1bdb0..ecf974867a8 100644 --- a/mobile/src/components/rich-markdown/page-stylesheet.test.ts +++ b/mobile/src/components/rich-markdown/page-stylesheet.test.ts @@ -6,13 +6,6 @@ import { richMarkdownEditorStyle } from './document-style' // Move globals onto host, including theme variables/color/font/box model; unlike terminal, editor owns these page rules rather than delegating to app seam. const PREFIX = '.orca-rich-markdown-document-host' -/** Every selector in a sheet, one per entry, as the rewrite leaves them. */ -function selectorsOf(css: string): string[] { - return [...css.matchAll(/(?:^|\})\s*([^{}]+)\{/g)].flatMap((match) => - match[1]!.split(',').map((one) => one.trim()) - ) -} - describe('the editor stylesheet on the page', () => { it('moves the document’s own rules onto the host rather than dropping them', () => { const scoped = scopeDocumentStyleToHost(richMarkdownEditorStyle(), PREFIX) @@ -27,17 +20,6 @@ describe('the editor stylesheet on the page', () => { } }) - it('keeps the universal rule as the host and everything in it', () => { - const scoped = scopeDocumentStyleToHost('* { box-sizing: border-box; }', PREFIX) - expect(selectorsOf(scoped)).toEqual([PREFIX, `${PREFIX} *`]) - }) - - it('collapses the document’s three names to one host selector', () => { - expect( - selectorsOf(scopeDocumentStyleToHost(':root, html, body { color: red; }', PREFIX)) - ).toEqual([PREFIX]) - }) - it('refuses a document-level selector it cannot move, rather than scoping it wrongly', () => { // Refuse compound host-global selector rather than silently rewriting body p into mismatching .host body p or changed .host p. expect(() => scopeDocumentStyleToHost('body p { color: red; }', PREFIX)).toThrow( diff --git a/mobile/src/components/rich-markdown/rich-markdown-document-parse-time.test.ts b/mobile/src/components/rich-markdown/rich-markdown-document-parse-time.test.ts deleted file mode 100644 index d96862ffa93..00000000000 --- a/mobile/src/components/rich-markdown/rich-markdown-document-parse-time.test.ts +++ /dev/null @@ -1,160 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - documentModuleNames, - documentModuleSource, - exportedLifecycleFunctions, - moduleLevelMutableBindings, - parseTimeEffects, - sequenceCalls, - topLevelDeclarationsReachAnElement -} from '../../test-support/webview-document-census' - -// Require per-start effects and per-scope mutation (rulings 20/21): module parse happens once, so top-level reads/listeners leave second mount bound to first editor. -const DIRECTORY = import.meta.dirname - -/** The sequence that calls the starts, which is not a module with a start of its own. */ -const THE_SEQUENCE = 'create-rich-markdown-editor-document' - -const MODULES = documentModuleNames(DIRECTORY, []) - -const moduleSource = (name: string) => documentModuleSource(DIRECTORY, name) - -const sequenceCallsTo = (functionName: string) => - sequenceCalls(moduleSource(THE_SEQUENCE), functionName, [ - 'startRichMarkdownEditorDocument', - 'stopRichMarkdownEditorDocument' - ]) - -describe('the rich Markdown editor document at parse time', () => { - it('does no work: every effect is in a start function the hosts call', () => { - expect(MODULES.length).toBeGreaterThan(15) - expect(MODULES.flatMap((name) => parseTimeEffects(name, moduleSource(name)))).toEqual([]) - }) - - it('declares nothing that reaches an element', () => { - for (const name of MODULES) { - expect({ - name, - reaches: topLevelDeclarationsReachAnElement(name, moduleSource(name)) - }).toEqual({ name, reaches: false }) - } - }) - - it('would report work in every declaration that runs as the module is evaluated', () => { - // Cover three declaration-shaped parse-time effects; statement-kind filter alone incorrectly permits all. - const planted: [string, string, string][] = [ - [ - 'a const read from the document', - "const editor = document.getElementById('editor')\n", - "planted: editor = document.getElementById('editor')" - ], - [ - 'a static class member', - 'class Reporter {\n static installed = install()\n}\n', - 'planted: static installed = install()' - ], - ['a default export that is an expression', 'export default install()\n', 'planted: install()'] - ] - expect( - planted.map(([written, source]) => [written, parseTimeEffects('planted', source)]) - ).toEqual(planted.map(([written, , named]) => [written, [named]])) - }) - - it('leaves declarations that only declare alone, so the empty list is a measurement', () => { - // Allow per-instance fields and exported function bodies: neither executes at module parse. - const inert = [ - 'const options = { capture: true, passive: false }\n', - 'class Reporter {\n pending = install()\n}\n', - 'export default function () {\n return install()\n}\n' - ] - expect(inert.map((source) => parseTimeEffects('inert', source))).toEqual([[], [], []]) - }) - - it('holds no mutable binding of its own: every one is a field of the scope', () => { - // Module let leaks generation/caret/inset across editor factory calls; each call must own scope (ruling 21). - expect(MODULES.flatMap((name) => moduleLevelMutableBindings(name, moduleSource(name)))).toEqual( - [] - ) - }) - - it('would name one in every shape a module can write it', () => { - // Test all four binding forms; line pattern catching one cannot prove module state scan. - const planted: [string, string, string][] = [ - ['bare', 'let pending = null\n', 'planted: let pending'], - ['var', 'var pending = null\n', 'planted: var pending'], - ['exported', 'export let pending = null\n', 'planted: let pending'], - ['in a block', 'if (true) {\n let pending = null\n}\n', 'planted: let pending'], - [ - 'in a loop head', - 'for (let pending = 0; pending < 1; pending++) {\n}\n', - 'planted: let pending' - ] - ] - expect( - planted.map(([syntax, source]) => [syntax, moduleLevelMutableBindings('planted', source)]) - ).toEqual(planted.map(([syntax, , named]) => [syntax, [named]])) - }) - - it('leaves a const and a function-local let alone, so the empty list is a measurement', () => { - // Allow call-local bindings so scanner rejecting every declaration cannot satisfy empty module-state result. - const inert = - 'const options = { capture: true }\n' + - 'export function n() {\n let index = 0\n for (var step = 0; step < 2; step++) {\n' + - ' index += step\n }\n return index + (options.capture ? 1 : 0)\n}\n' - expect(moduleLevelMutableBindings('inert', inert)).toEqual([]) - }) - - it('starts every module there is, and undoes in reverse the ones that can be undone', () => { - const exported = (keyword: 'start' | 'stop') => - MODULES.filter((name) => name !== THE_SEQUENCE).flatMap((name) => - exportedLifecycleFunctions(moduleSource(name), keyword, 'RichMarkdownEditorScope') - ) - const started = sequenceCallsTo('startRichMarkdownEditorDocument') - const stopped = sequenceCallsTo('stopRichMarkdownEditorDocument') - expect([...started].sort()).toEqual(exported('start').sort()) - expect([...stopped].sort()).toEqual(exported('stop').sort()) - - // Read surface first; announce ready after measuring inset so synchronous host reply sees complete setup. - expect(started[0]).toBe('startEditorSurface') - expect(started.at(-1)).toBe('startHostBridge') - - const paired = started.filter((name) => stopped.includes(name.replace(/^start/, 'stop'))) - expect(paired.map((name) => name.replace(/^start/, 'stop'))).toEqual( - stopped.filter((name) => paired.includes(name.replace(/^stop/, 'start'))).toReversed() - ) - }) - - it('finds a lifecycle export however it is written, and only when it is one', () => { - // Discover starts from AST: async/types/wrapped params must not hide real start from both compared lists and yield vacuous agreement. - const spellings: [string, string][] = [ - ['plain', 'export function startKeyboardInset(scope: RichMarkdownEditorScope) {\n}\n'], - ['async', 'export async function startKeyboardInset(scope: RichMarkdownEditorScope) {\n}\n'], - [ - 'with a return type', - 'export function startKeyboardInset(scope: RichMarkdownEditorScope): void {\n}\n' - ], - [ - 'wrapped parameters', - 'export function startKeyboardInset(\n scope: RichMarkdownEditorScope\n) {\n}\n' - ] - ] - expect( - spellings.map(([spelling, source]) => [ - spelling, - exportedLifecycleFunctions(source, 'start', 'RichMarkdownEditorScope') - ]) - ).toEqual(spellings.map(([spelling]) => [spelling, ['startKeyboardInset']])) - - // Only own-scope unary start is module lifecycle; extra-arg actions/other-document starts are not (ruling 20). - const refused = [ - 'export function startEdgeScroll(scope: RichMarkdownEditorScope, dir: number) {\n}\n', - 'export function startTapDispatch(scope: TerminalDocumentScope) {\n}\n', - 'function startKeyboardInset(scope: RichMarkdownEditorScope) {\n}\n' - ] - expect( - refused.map((source) => - exportedLifecycleFunctions(source, 'start', 'RichMarkdownEditorScope') - ) - ).toEqual([[], [], []]) - }) -}) diff --git a/mobile/src/components/rich-markdown/rich-markdown-host-seams.test.ts b/mobile/src/components/rich-markdown/rich-markdown-host-seams.test.ts index 3f985c63d1b..67adb946b67 100644 --- a/mobile/src/components/rich-markdown/rich-markdown-host-seams.test.ts +++ b/mobile/src/components/rich-markdown/rich-markdown-host-seams.test.ts @@ -3,20 +3,12 @@ import { afterEach, describe, expect, it, vi } from 'vitest' import { quietRichMarkdownEditorHost } from './rich-markdown-editor-host.test-support' import { createRichMarkdownEditorDocument } from './create-rich-markdown-editor-document' import { RICH_MARKDOWN_EDITOR_MARKUP } from './document-markup' -import type { MobileRichMarkdownEditorMessage } from '../mobile-rich-markdown-editor-contract' -import type { RichMarkdownEditorDocument, RichMarkdownEditorHost } from './document-host-seams' + +import type { RichMarkdownEditorDocument } from './document-host-seams' // Page supplies messages, URL prompt and keyboard seams: shell owns ReactNativeWebView, window.prompt returns null, and screen already measures keyboard; test remaining live-window defaults. const startedDocuments: RichMarkdownEditorDocument[] = [] -/** A started document over markup the case owns, with the hooks it wants as the host argument. */ -function startedDocument(host: Partial = {}): RichMarkdownEditorDocument { - document.body.innerHTML = RICH_MARKDOWN_EDITOR_MARKUP - const started = createRichMarkdownEditorDocument(quietRichMarkdownEditorHost(host)) - startedDocuments.push(started) - return started -} - afterEach(() => { while (startedDocuments.length > 0) { startedDocuments.pop()!.stop() @@ -25,59 +17,6 @@ afterEach(() => { }) describe('the editor document host seams, once the page sets them', () => { - it('routes every message to the field and nothing to the bridge', () => { - const postMessage = vi.fn<(data: string) => void>() - vi.stubGlobal('ReactNativeWebView', { postMessage }) - const posted: MobileRichMarkdownEditorMessage[] = [] - const started = startedDocument({ postToHost: (message) => posted.push(message) }) - expect(posted).toEqual([{ type: 'ready' }]) - posted.length = 0 - started.send.setEditable(true) - started.send.setMarkdown('# Title', 3) - document.getElementById('editor')!.dispatchEvent(new Event('input')) - expect(posted).toEqual([{ type: 'change', markdown: '# Title', generation: 3 }]) - // The whole reason the seam exists: on the page this object belongs to the shell. - expect(postMessage).not.toHaveBeenCalled() - }) - - it('takes the URL from the host rather than from a dialog the shell never shows', async () => { - const commands: [string, boolean, string | undefined][] = [] - const started = startedDocument({ - promptForUrl: (kind) => Promise.resolve(`https://example.com/${kind}`), - getDocument: () => hostDocument(commands) - }) - await started.send.runCommand('link') - await started.send.runCommand('image') - expect(commands).toEqual([ - ['createLink', false, 'https://example.com/link'], - ['insertImage', false, 'https://example.com/image'] - ]) - }) - - it('reports no inset at all when the host has no source, and observes nothing', () => { - const posted: MobileRichMarkdownEditorMessage[] = [] - const viewport = { - height: 500, - offsetTop: 0, - addEventListener: vi.fn(), - removeEventListener: vi.fn() - } - vi.stubGlobal('visualViewport', viewport) - vi.stubGlobal('innerHeight', 800) - startedDocument({ keyboardInsetSource: () => null, postToHost: (m) => posted.push(m) }) - expect(posted.map((message) => message.type)).toEqual(['ready']) - expect(viewport.addEventListener).not.toHaveBeenCalled() - }) - - it('reports the inset from the source the host names, before it reports ready', () => { - const posted: MobileRichMarkdownEditorMessage[] = [] - startedDocument({ - keyboardInsetSource: () => ({ measure: () => 291.4, observe: () => () => {} }), - postToHost: (message) => posted.push(message) - }) - expect(posted).toEqual([{ type: 'keyboardInset', bottom: 291 }, { type: 'ready' }]) - }) - it('takes the caret from the selection the host names, not the window one', async () => { // Save/restore only host selection: overlapping fields share window, and global selection belongs to whichever other field holds focus. document.body.innerHTML = RICH_MARKDOWN_EDITOR_MARKUP @@ -130,13 +69,6 @@ describe('the editor document host seams, once the page sets them', () => { ).toEqual(['only']) expect(windowSelection.rangeCount).toBe(0) }) - - it('runs its selection and its commands against the page the host names', () => { - const commands: [string, boolean, string | undefined][] = [] - const started = startedDocument({ getDocument: () => hostDocument(commands) }) - started.send.runCommand('bold') - expect(commands).toEqual([['bold', false, undefined]]) - }) }) // Host supplies real document with recorded execCommand because happy-dom lacks it; prove no global command lookup. diff --git a/mobile/src/components/rich-markdown/rich-markdown-web-document-mount.test.ts b/mobile/src/components/rich-markdown/rich-markdown-web-document-mount.test.ts index 34d95939f57..36304fc6efc 100644 --- a/mobile/src/components/rich-markdown/rich-markdown-web-document-mount.test.ts +++ b/mobile/src/components/rich-markdown/rich-markdown-web-document-mount.test.ts @@ -1,7 +1,6 @@ // @vitest-environment happy-dom import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' import { - RICH_MARKDOWN_HOST_CLASS, mountRichMarkdownWebDocument, type RichMarkdownWebDocument } from './rich-markdown-web-document-mount' @@ -37,44 +36,6 @@ afterEach(() => { }) describe('the editor document mounted in the page', () => { - it('plants the markup in the host and reports itself ready through the seam', () => { - const { host, posts } = mount() - expect(surfaceIn(host)?.getAttribute('contenteditable')).toBe('true') - expect(posts).toEqual([{ type: 'ready' }]) - // Never the shell's bridge: on the page that object is the host's own channel. - expect(window.ReactNativeWebView).toBeUndefined() - }) - - it('never reports a keyboard inset, because the screen measures the same viewport', () => { - // No keyboard source means no observer/report; duplicate viewport measurement would double-lift screen bar. - const { posts } = mount() - window.dispatchEvent(new Event('resize')) - expect(posts.filter((message) => message.type === 'keyboardInset')).toEqual([]) - }) - - it('injects one sheet for the page, held entirely under the host class', () => { - mount() - mount() - const sheets = document.querySelectorAll('#orca-rich-markdown-document-style') - expect(sheets).toHaveLength(1) - const text = sheets[0]!.textContent ?? '' - const selectors = [...text.matchAll(/(?:^|\})\s*([^{}]+)\{/g)].flatMap((match) => - match[1]!.split(',').map((one) => one.trim()) - ) - expect(selectors.length).toBeGreaterThan(0) - const prefix = `.${RICH_MARKDOWN_HOST_CLASS}` - expect(selectors.filter((one) => one !== prefix && !one.startsWith(`${prefix} `))).toEqual([]) - }) - - it('gives the host back on dispose, so every rule of the sheet matches nothing', () => { - const { host, live } = mount() - expect(host.classList.contains(RICH_MARKDOWN_HOST_CLASS)).toBe(true) - live.dispose() - mounted.pop() - expect(host.innerHTML).toBe('') - expect(host.classList.contains(RICH_MARKDOWN_HOST_CLASS)).toBe(false) - }) - it('leaves no listener of the first mount reporting into the second', () => { const first = mount() const firstSurface = surfaceIn(first.host)! @@ -93,56 +54,4 @@ describe('the editor document mounted in the page', () => { firstSurface.dispatchEvent(new Event('input', { bubbles: true })) expect(first.posts).toEqual([]) }) - - it('gives the host back when the document fails to start, rather than leaving a dead one', () => { - const host = document.createElement('div') - document.body.appendChild(host) - // Fail at actual surface lookup so factory’s partial-start unwind stays real. - vi.spyOn(host, 'querySelector').mockReturnValue(null) - - expect(() => - mountRichMarkdownWebDocument(host, { - postToHost: () => {}, - promptForUrl: () => Promise.resolve(null) - }) - ).toThrow() - expect(host.innerHTML).toBe('') - expect(host.classList.contains(RICH_MARKDOWN_HOST_CLASS)).toBe(false) - }) - - it('answers the URL commands from the host rather than from a dialog the shell never shows', async () => { - // Record host URL reaching execCommand; real browser rig verifies command result because happy-dom has no implementation. - const executed: [string, string | undefined][] = [] - Object.defineProperty(document, 'execCommand', { - configurable: true, - value: (command: string, _ui: boolean, value?: string) => { - executed.push([command, value]) - return true - } - }) - const host = document.createElement('div') - document.body.appendChild(host) - const promptForUrl = vi.fn(() => Promise.resolve('https://example.com/a')) - const live = mountRichMarkdownWebDocument(host, { postToHost: () => {}, promptForUrl }) - mounted.push(live) - - await live.send.runCommand('image') - - expect(promptForUrl.mock.calls).toEqual([['image']]) - expect(executed).toContainEqual(['insertImage', 'https://example.com/a']) - }) - - it('runs nothing when the host cancels, which is what the shell used to do for every URL', async () => { - const executed: string[] = [] - Object.defineProperty(document, 'execCommand', { - configurable: true, - value: (command: string) => { - executed.push(command) - return true - } - }) - const { live } = mount([], null) - await live.send.runCommand('link') - expect(executed).toEqual([]) - }) }) diff --git a/mobile/src/components/rich-markdown/task-checkbox-accessible-names.test.ts b/mobile/src/components/rich-markdown/task-checkbox-accessible-names.test.ts index 56285b7be39..930de4b608d 100644 --- a/mobile/src/components/rich-markdown/task-checkbox-accessible-names.test.ts +++ b/mobile/src/components/rich-markdown/task-checkbox-accessible-names.test.ts @@ -45,15 +45,6 @@ it('updates the task name after editing its text', () => { expect(editor.names()).toEqual(['First task updated']) }) -it('keeps an emptied task control named', () => { - const editor = mount('- [ ] Remove text') - editor.root.querySelector('p')!.replaceChildren() - editor.surface.dispatchEvent( - new InputEvent('input', { bubbles: true, inputType: 'deleteContentBackward' }) - ) - expect(editor.names()).toEqual(['Task']) -}) - it('names a task from its own line rather than its code block', () => { const editor = mount('- [ ] Install:\n ```sh\n pnpm install\n ```') expect(editor.surface.querySelector('li pre')).not.toBeNull() diff --git a/mobile/src/components/right-drawer-hardware-back.test.tsx b/mobile/src/components/right-drawer-hardware-back.test.tsx deleted file mode 100644 index f4252be2e71..00000000000 --- a/mobile/src/components/right-drawer-hardware-back.test.tsx +++ /dev/null @@ -1,130 +0,0 @@ -import type { ReactElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' - -const native = vi.hoisted(() => { - // Annotated rather than asserted: the literal alone narrows to 'ios' and the tests reassign it. - const platform: { os: 'ios' | 'android' | 'web' } = { os: 'ios' } - const remove = vi.fn() - return { - platform, - remove, - addEventListener: vi.fn((_event: string, _handler: () => boolean) => ({ remove })) - } -}) - -vi.mock('react-native', () => ({ - BackHandler: { - addEventListener: (event: string, handler: () => boolean) => - native.addEventListener(event, handler) - }, - Keyboard: { dismiss: () => {} }, - get Platform() { - return { - OS: native.platform.os, - select: (options: Record) => options[native.platform.os] ?? options.default - } - }, - Pressable: 'Pressable', - StyleSheet: { create: (styles: T) => styles, absoluteFillObject: {} }, - View: 'View', - useWindowDimensions: () => ({ width: 390, height: 844 }) -})) -vi.mock('react-native-safe-area-context', () => ({ - useSafeAreaFrame: () => ({ x: 0, y: 0, width: 390, height: 844 }), - useSafeAreaInsets: () => ({ top: 62, bottom: 34, left: 0, right: 0 }) -})) -vi.mock('react-native-gesture-handler', () => { - const chain: Record = {} - for (const method of [ - 'activeOffsetX', - 'simultaneousWithExternalGesture', - 'onBegin', - 'onUpdate', - 'onEnd' - ]) { - chain[method] = () => chain - } - return { - Gesture: { Pan: () => chain, Native: () => chain }, - GestureDetector: 'GestureDetector', - GestureHandlerRootView: 'GestureHandlerRootView' - } -}) -// The OS motion setting is read through AccessibilityInfo, which the react-native mock leaves out. -vi.mock('../platform/use-reduced-motion', () => ({ useReducedMotionEnabled: () => false })) -vi.mock('react-native-reanimated', () => ({ - useReducedMotion: () => false, - Easing: { bezier: () => (t: number) => t }, - default: { View: 'AnimatedView', ScrollView: 'AnimatedScrollView' }, - useSharedValue: (initial: number) => ({ value: initial }), - useAnimatedStyle: () => ({}), - useAnimatedScrollHandler: () => () => {}, - withSpring: (to: number) => to, - withTiming: (to: number) => to, - runOnJS: (fn: () => void) => fn, - interpolate: () => 0, - Extrapolation: { CLAMP: 'clamp' } -})) - -import { RightDrawer } from './RightDrawer' - -function DrawerBody(): null { - return null -} - -function drawer(visible: boolean, onClose: () => void = () => {}): ReactElement { - return ( - - - - ) -} - -function render(visible: boolean, onClose?: () => void): ReactTestRenderer { - let renderer!: ReactTestRenderer - act(() => { - renderer = create(drawer(visible, onClose)) - }) - return renderer -} - -beforeEach(() => { - native.platform.os = 'ios' - native.addEventListener.mockClear() - native.remove.mockClear() -}) - -afterEach(() => { - vi.restoreAllMocks() -}) - -// Drive native Back seam here; use-back-claim.web.ts tests page’s shell-handed Back claim. -describe('the right drawer and the phone hardware back button', () => { - it('consumes an iOS hardware back press and closes the open drawer', () => { - const onClose = vi.fn() - const renderer = render(true, onClose) - expect(native.addEventListener).toHaveBeenCalledTimes(1) - expect(native.addEventListener.mock.calls[0]?.[0]).toBe('hardwareBackPress') - const handler = native.addEventListener.mock.calls[0]![1] - expect(onClose).not.toHaveBeenCalled() - act(() => expect(handler()).toBe(true)) - expect(onClose).toHaveBeenCalledTimes(1) - act(() => renderer.unmount()) - }) - - it('releases it when the drawer hides', () => { - const renderer = render(true) - expect(native.remove).not.toHaveBeenCalled() - act(() => renderer.update(drawer(false))) - expect(native.remove).toHaveBeenCalledTimes(1) - act(() => renderer.unmount()) - }) - - // Page bundler selects web Back-claim sibling; component itself must not register native key there. - it('releases it on unmount, so a drawer taken off screen leaves the key alone', () => { - const renderer = render(true) - act(() => renderer.unmount()) - expect(native.remove).toHaveBeenCalledTimes(1) - }) -}) diff --git a/mobile/src/components/right-drawer-panel-width.test.ts b/mobile/src/components/right-drawer-panel-width.test.ts deleted file mode 100644 index ebba3ba31fe..00000000000 --- a/mobile/src/components/right-drawer-panel-width.test.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - resolveRightDrawerPanelWidth, - WIDE_PANEL_MAX_WIDTH, - NARROW_BACKDROP_GUTTER -} from './right-drawer-panel-width' - -describe('resolveRightDrawerPanelWidth', () => { - it('caps to the wide max width on wide layouts', () => { - expect(resolveRightDrawerPanelWidth(1024, true, undefined)).toBe(WIDE_PANEL_MAX_WIDTH) - }) - - it('leaves a backdrop gutter on narrow layouts', () => { - expect(resolveRightDrawerPanelWidth(400, false, undefined)).toBe(400 - NARROW_BACKDROP_GUTTER) - }) - - it('honors an explicit widthPx but never exceeds the window width', () => { - expect(resolveRightDrawerPanelWidth(1024, true, 320)).toBe(320) - expect(resolveRightDrawerPanelWidth(280, false, 320)).toBe(280) - }) - - it('never returns a negative width on tiny windows', () => { - expect(resolveRightDrawerPanelWidth(20, false, undefined)).toBe(0) - }) - - it('clamps a negative explicit widthPx to zero', () => { - expect(resolveRightDrawerPanelWidth(400, false, -10)).toBe(0) - }) -}) diff --git a/mobile/src/components/use-connected-host-picker.test.ts b/mobile/src/components/use-connected-host-picker.test.ts index 052c1b4a5f2..d986ef795cb 100644 --- a/mobile/src/components/use-connected-host-picker.test.ts +++ b/mobile/src/components/use-connected-host-picker.test.ts @@ -1,7 +1,7 @@ import { createElement } from 'react' import { act, create, type ReactTestRenderer } from 'react-test-renderer' import { afterEach, describe, expect, it, vi } from 'vitest' -import type { HostProfile } from '../transport/hosts/host-profile' +import type { HostProfile } from '../host-catalog/host-profile' import { useConnectedHostPicker } from './use-connected-host-picker' function host(id: string, name: string, endpoint: string): HostProfile { diff --git a/mobile/src/components/use-connected-host-picker.ts b/mobile/src/components/use-connected-host-picker.ts index e6eec0b1e13..2697c9d18b9 100644 --- a/mobile/src/components/use-connected-host-picker.ts +++ b/mobile/src/components/use-connected-host-picker.ts @@ -1,6 +1,6 @@ import { useRef, useState } from 'react' import { hostEndpointLabel } from '../transport/hosts/host-endpoint-label' -import type { HostProfile } from '../transport/hosts/host-profile' +import type { HostProfile } from '../host-catalog/host-profile' /** Picker rows for desktops, telling apart two that share a name and endpoint. */ export function hostPickerOptions(hosts: HostProfile[]) { diff --git a/mobile/src/components/use-new-workspace-repositories.test.ts b/mobile/src/components/use-new-workspace-repositories.test.ts index 14196e03e81..09ada54c9cf 100644 --- a/mobile/src/components/use-new-workspace-repositories.test.ts +++ b/mobile/src/components/use-new-workspace-repositories.test.ts @@ -44,31 +44,25 @@ afterEach(async () => { }) describe('useNewWorkspaceRepositories initial repo', () => { - it.each([ - { order: 'desktop first', desktopFirst: true }, - { order: 'server first', desktopFirst: false } - ])( - 'picks the named host’s copy of a repo id two hosts share ($order)', - async ({ desktopFirst }) => { - const client = desktopListing(desktopFirst ? [repo()] : []) - let picked: MobileWorkspaceRepo | null = null - mounted = hookMount(() => { - picked = useNewWorkspaceRepositories({ - client, - hostId: 'host-1', - visible: true, - initialRepo: { id: 'api', executionHostId: SERVER } - }).selectedRepo - }) - mounted.mount() - await settleQueryNotifications() - // The desktop's same-id repo must not stand in while the server's listing is on its way. - expect(picked).toBeNull() + it('picks the named host’s copy of a repo id two hosts share', async () => { + const client = desktopListing([repo()]) + let picked: MobileWorkspaceRepo | null = null + mounted = hookMount(() => { + picked = useNewWorkspaceRepositories({ + client, + hostId: 'host-1', + visible: true, + initialRepo: { id: 'api', executionHostId: SERVER } + }).selectedRepo + }) + mounted.mount() + await settleQueryNotifications() + // The desktop's same-id repo must not stand in while the server's listing is on its way. + expect(picked).toBeNull() - servers.repos = new Map([[SERVER, [repo(SERVER)]]]) - act(() => mounted?.update()) - await settleQueryNotifications() - expect(picked).toMatchObject({ id: 'api', executionHostId: SERVER }) - } - ) + servers.repos = new Map([[SERVER, [repo(SERVER)]]]) + act(() => mounted?.update()) + await settleQueryNotifications() + expect(picked).toMatchObject({ id: 'api', executionHostId: SERVER }) + }) }) diff --git a/mobile/src/components/worktree-name-suggestion.test.ts b/mobile/src/components/worktree-name-suggestion.test.ts deleted file mode 100644 index 5e9d293b114..00000000000 --- a/mobile/src/components/worktree-name-suggestion.test.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { MARINE_CREATURES } from '../../../src/shared/marine-creatures' -import { getSuggestedCreatureName } from './worktree-name-suggestion' - -const pickFirst = () => 0 -const lower = (index: number) => MARINE_CREATURES[index].toLowerCase() -const retiring = (...names: string[]) => ({ exhaustedTiers: 0, names }) - -describe('getSuggestedCreatureName (mobile)', () => { - it('picks an unused name', () => { - expect(getSuggestedCreatureName([], pickFirst)).toBe(lower(0)) - }) - - it('dedupes against the basename of a live worktree path', () => { - expect(getSuggestedCreatureName([`/home/u/worktrees/${MARINE_CREATURES[0]}`], pickFirst)).toBe( - lower(1) - ) - }) - - it('handles Windows separators and trailing separators like the desktop does', () => { - expect(getSuggestedCreatureName(['C:\\worktrees\\Nautilus\\\\'], pickFirst)).toBe('seahorse') - }) - - it('never reissues a retired name whose workspace is already deleted', () => { - // Deleted workspace directories may retain conversation state keyed by cwd, so their names remain spent. - expect(getSuggestedCreatureName([], pickFirst, retiring(MARINE_CREATURES[0]))).toBe(lower(1)) - }) - - it('treats retired names case-insensitively', () => { - expect( - getSuggestedCreatureName([], pickFirst, retiring(MARINE_CREATURES[0].toUpperCase())) - ).toBe(lower(1)) - }) - - it('applies retirement on top of live paths rather than instead of them', () => { - expect( - getSuggestedCreatureName( - [`/home/u/worktrees/${MARINE_CREATURES[0]}`], - pickFirst, - retiring(MARINE_CREATURES[1]) - ) - ).toBe(lower(2)) - }) - - it('degrades to a suffixed tier when the pool is spent, skipping retired variants', () => { - const allPaths = MARINE_CREATURES.map((name) => `/home/u/worktrees/${name}`) - expect(getSuggestedCreatureName(allPaths, pickFirst, retiring(`${lower(0)}-2`))).toBe( - `${lower(1)}-2` - ) - }) - - it('skips every tier the host reports as compacted rather than looking its names up', () => { - // The wire omits these names because the entire tier is spent. - expect(getSuggestedCreatureName([], pickFirst, { exhaustedTiers: 2, names: [] })).toBe( - `${lower(0)}-3` - ) - }) -}) diff --git a/mobile/src/device-store/device-store-contract.ts b/mobile/src/device-store/device-store-contract.ts index be677c45372..ee3683b62d4 100644 --- a/mobile/src/device-store/device-store-contract.ts +++ b/mobile/src/device-store/device-store-contract.ts @@ -1,4 +1,4 @@ -import type { GenerationFileSystem } from '../mobile-web-shell/generation-store-file-system' +import type { GenerationFileSystem } from '../mobile-web-shell/generations/generation-store-file-system' import type { DeviceStoreRoots } from './device-store-files' import type { DeviceStoreKeychain } from './device-store-key' import type { DeviceStoreTable } from './device-store-seal' diff --git a/mobile/src/device-store/device-store-eviction.ts b/mobile/src/device-store/device-store-eviction.ts index 42a2c719764..dc385540b6e 100644 --- a/mobile/src/device-store/device-store-eviction.ts +++ b/mobile/src/device-store/device-store-eviction.ts @@ -1,10 +1,10 @@ -import { joinUri } from '../mobile-web-shell/generation-cache-uri' +import { joinUri } from '../mobile-web-shell/generations/generation-cache-uri' import type { GenerationDirectoryEntry, GenerationFileListing, GenerationFileSystem -} from '../mobile-web-shell/generation-store-file-system' -import { deriveHostCacheKey } from '../mobile-web-shell/host-cache-key' +} from '../mobile-web-shell/generations/generation-store-file-system' +import { deriveHostCacheKey } from '../mobile-web-shell/generations/host-cache-key' import { DEVICE_STORE_BUCKETS, DRAFT_TMP_SUFFIX, promoteLoneDraftTmp } from './device-store-files' import type { DeviceStoreTable } from './device-store-seal' diff --git a/mobile/src/device-store/device-store-files.ts b/mobile/src/device-store/device-store-files.ts index a7b65f057c5..51ee84f7132 100644 --- a/mobile/src/device-store/device-store-files.ts +++ b/mobile/src/device-store/device-store-files.ts @@ -1,9 +1,9 @@ import { sha256 } from '@noble/hashes/sha256' import { bytesToHex } from '@noble/hashes/utils' import type { AESEncryptionKey } from 'expo-crypto' -import { joinUri } from '../mobile-web-shell/generation-cache-uri' -import type { GenerationFileSystem } from '../mobile-web-shell/generation-store-file-system' -import { deriveHostCacheKey } from '../mobile-web-shell/host-cache-key' +import { joinUri } from '../mobile-web-shell/generations/generation-cache-uri' +import type { GenerationFileSystem } from '../mobile-web-shell/generations/generation-store-file-system' +import { deriveHostCacheKey } from '../mobile-web-shell/generations/host-cache-key' import { openDeviceStoreValue, type DeviceStoreTable, diff --git a/mobile/src/device-store/device-store.ts b/mobile/src/device-store/device-store.ts index c86b067d79c..849871cef76 100644 --- a/mobile/src/device-store/device-store.ts +++ b/mobile/src/device-store/device-store.ts @@ -6,12 +6,12 @@ import type { import type { AESEncryptionKey } from 'expo-crypto' import { Directory, Paths } from 'expo-file-system' import { AppState } from 'react-native' -import { createExpoGenerationFileSystem } from '../mobile-web-shell/generation-store-file-system' -import { loadStoredHostProfiles } from '../transport/hosts/host-metadata-store' +import { createExpoGenerationFileSystem } from '../mobile-web-shell/generations/generation-store-file-system' +import { loadStoredHostProfiles } from '../host-catalog/host-metadata-store' import { readPairingKeychainItem, writePairingKeychainItem -} from '../transport/hosts/pairing-keychain' +} from '../host-credentials/pairing-keychain' import { createRootIndex, DEVICE_STORE_CAPS, diff --git a/mobile/src/diagnostics/connection-diagnostics-report.test.ts b/mobile/src/diagnostics/connection-diagnostics-report.test.ts deleted file mode 100644 index 264c772d47e..00000000000 --- a/mobile/src/diagnostics/connection-diagnostics-report.test.ts +++ /dev/null @@ -1,231 +0,0 @@ -import { describe, expect, it, vi } from 'vitest' -import { buildConnectionDiagnosticsReport } from './connection-diagnostics-report' - -const NOW = Date.UTC(2026, 6, 9, 22, 0, 0) - -describe('buildConnectionDiagnosticsReport', () => { - it('summarizes a failing Tailscale host with its log', () => { - const report = buildConnectionDiagnosticsReport({ - hostName: 'Host 1', - endpoint: 'ws://100.65.9.106:6768', - state: 'reconnecting', - reconnectAttempts: 12, - lastConnectedAt: NOW - 5 * 60_000, - platform: 'ios 26.5.1', - appVersion: '0.0.29', - bridgeProtocolVersion: 1, - desktopAppVersion: '1.4.191', - entries: [ - { - id: 'log-1', - ts: NOW - 60_000, - level: 'error', - message: 'WebSocket connect timeout', - detail: 'No TCP/WS handshake within 12s — endpoint unreachable?' - } - ], - nowMs: NOW - }) - - expect(report).toContain('App: Orca Mobile 0.0.29 · ios 26.5.1') - expect(report).toContain('Host Orca version: unknown (not currently connected)') - expect(report).not.toContain('1.4.191') - expect(report).toContain('Endpoint: 100.65.9.106:6768 (Tailscale)') - expect(report).toContain('State: reconnecting (reconnect attempts: 12)') - expect(report).toContain('(5m 0s ago)') - expect(report).toContain( - '[error] WebSocket connect timeout — No TCP/WS handshake within 12s — endpoint unreachable?' - ) - }) - - it('marks never-connected sessions and empty logs', () => { - const report = buildConnectionDiagnosticsReport({ - hostName: 'Host 2', - endpoint: 'ws://192.168.1.50:6768', - state: 'connecting', - reconnectAttempts: 0, - lastConnectedAt: null, - platform: 'android 15', - appVersion: '0.0.29', - bridgeProtocolVersion: 1, - entries: [], - nowMs: NOW - }) - - expect(report).toContain('Endpoint: 192.168.1.50:6768') - expect(report).toContain('Host Orca version: unknown') - expect(report).not.toContain('(Tailscale)') - expect(report).toContain('Last connected: never this session') - expect(report).toContain('No connection events recorded.') - }) - - it('names the bridge version under the app line', () => { - const lines = buildConnectionDiagnosticsReport({ - hostName: 'Host 3', - endpoint: 'ws://192.168.1.50:6768', - state: 'connected', - reconnectAttempts: 0, - lastConnectedAt: null, - platform: 'ios 26', - appVersion: '0.0.60', - desktopAppVersion: '1.4.197', - bridgeProtocolVersion: 1, - entries: [], - nowMs: NOW - }).split('\n') - expect(lines.slice(2, 4)).toEqual(['App: Orca Mobile 0.0.60 · ios 26', 'Bridge protocol: 1']) - expect(lines).toContain('Host Orca version: 1.4.197') - }) - - it('explains the most likely cause and redacts credentials before copying', () => { - const report = buildConnectionDiagnosticsReport({ - hostName: 'Host 3', - endpoint: 'ws://100.88.90.25:6768', - state: 'reconnecting', - reconnectAttempts: 4, - lastConnectedAt: null, - platform: 'android 36', - appVersion: '0.0.46', - bridgeProtocolVersion: 1, - activePath: 'tailscale', - pendingPath: 'relay', - entries: [ - { - id: 'relay-failure', - ts: NOW - 5_000, - level: 'error', - message: 'Relay: relay dial failed', - detail: - 'RelayDirectorHttpError: relay director resolve failed (503); retry after 30000ms; resumeToken=secret-resume-token' - } - ], - nowMs: NOW - }) - - expect(report).toContain( - 'Likely cause: Relay service was temporarily unavailable and asked Orca to retry in 30s.' - ) - expect(report).toContain('Path: active=tailscale; recovery=relay') - expect(report).toContain('Next step: Keep Orca open; recovery should retry automatically.') - expect(report).toContain('resumeToken=[redacted]') - expect(report).not.toContain('secret-resume-token') - }) - - it('redacts quoted JSON credentials and never echoes an invalid endpoint', () => { - const report = buildConnectionDiagnosticsReport({ - hostName: 'Host 4', - endpoint: 'not-a-url?token=endpoint-secret', - state: 'reconnecting', - reconnectAttempts: 1, - lastConnectedAt: null, - platform: 'android 36', - appVersion: '0.0.47', - bridgeProtocolVersion: 1, - entries: [ - { - id: 'json-secret', - ts: NOW, - level: 'error', - message: 'Relay failed', - detail: '{"resumeToken":"json-secret","authorization":"Bearer bearer-secret"}' - } - ], - nowMs: NOW - }) - - expect(report).toContain('Endpoint: invalid endpoint') - expect(report).not.toContain('endpoint-secret') - expect(report).not.toContain('json-secret') - expect(report).not.toContain('bearer-secret') - }) - - it('bounds a single event line before submission while preserving its identity', () => { - const report = buildConnectionDiagnosticsReport({ - hostName: 'Host 5', - endpoint: 'ws://192.168.1.2:6768', - state: 'reconnecting', - reconnectAttempts: 1, - lastConnectedAt: null, - platform: 'android 36', - appVersion: '0.0.47', - bridgeProtocolVersion: 1, - entries: [ - { - id: 'oversized', - ts: NOW, - level: 'error', - message: `newest oversized ${'😀'.repeat(2_000)}` - } - ], - nowMs: NOW - }) - - expect(report).toContain('newest oversized') - expect(report).toContain('[truncated]') - expect(new TextEncoder().encode(report.split('\n').at(-1)!).byteLength).toBeLessThanOrEqual( - 2048 - ) - }) - - it.each([2047, 2048, 2049])('keeps the existing event boundary at %i bytes', (bytes) => { - const prefix = `${new Date(NOW).toISOString()} [error] ` - const marker = ' … [truncated]' - const message = 'a'.repeat(bytes - prefix.length) - const report = buildConnectionDiagnosticsReport({ - hostName: 'fixture', - endpoint: 'ws://192.168.1.2:6768', - state: 'connected', - reconnectAttempts: 0, - lastConnectedAt: null, - platform: 'ios', - appVersion: 'fixture', - bridgeProtocolVersion: 1, - entries: [{ id: 'boundary', ts: NOW, level: 'error', message }], - nowMs: NOW - }) - const available = 2048 - prefix.length - new TextEncoder().encode(marker).byteLength - expect(report.split('\n').at(-1)).toBe( - bytes <= 2048 ? `${prefix}${message}` : `${prefix}${'a'.repeat(available)}${marker}` - ) - }) - - it.each(['a', 'é', '界', '😀', '\ud800', '\udc00'])( - 'truncates %j without per-character encoding', - (token) => { - const encode = vi.spyOn(TextEncoder.prototype, 'encode') - const entry = Object.freeze({ - id: 'bounded', - ts: NOW, - level: 'error' as const, - message: token.repeat(3000) - }) - let report: string - let calls: number - try { - report = buildConnectionDiagnosticsReport({ - hostName: 'fixture', - endpoint: 'ws://192.168.1.2:6768', - state: 'reconnecting', - reconnectAttempts: 1, - lastConnectedAt: null, - platform: 'android', - appVersion: 'fixture', - bridgeProtocolVersion: 1, - entries: Object.freeze([entry]), - nowMs: NOW - }) - calls = encode.mock.calls.length - } finally { - encode.mockRestore() - } - const prefix = `${new Date(NOW).toISOString()} [error] ` - const marker = ' … [truncated]' - const available = 2048 - new TextEncoder().encode(prefix + marker).byteLength - const tokenBytes = new TextEncoder().encode(token).byteLength - expect(report.split('\n').at(-1)).toBe( - `${prefix}${token.repeat(Math.floor(available / tokenBytes))}${marker}` - ) - expect(calls).toBeLessThanOrEqual(2) - } - ) -}) diff --git a/mobile/src/diagnostics/connection-diagnostics-report.ts b/mobile/src/diagnostics/connection-diagnostics-report.ts index 3a6dd9728bf..42a9581cb3b 100644 --- a/mobile/src/diagnostics/connection-diagnostics-report.ts +++ b/mobile/src/diagnostics/connection-diagnostics-report.ts @@ -5,7 +5,7 @@ import type { MobileConnectionDiagnosticPath } from './connection/connection-log-types' import type { ConnectionState } from '../transport/connection/connection-state' -import { normalizeHostAppVersion } from '../transport/hosts/host-app-version' +import { normalizeHostAppVersion } from '../host-descriptors/host-app-version' import { formatEndpoint } from './host-reachability' import { diagnoseConnection } from './connection-diagnostics-analysis' import { redactConnectionLogEntry, redactConnectionLogText } from './connection-log-redaction' diff --git a/mobile/src/diagnostics/connection-diagnostics-screen-data.test.ts b/mobile/src/diagnostics/connection-diagnostics-screen-data.test.ts deleted file mode 100644 index 3a895518657..00000000000 --- a/mobile/src/diagnostics/connection-diagnostics-screen-data.test.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { resolveDiagnosticsHostId } from './connection-diagnostics-screen-data' - -import type { HostProfile } from '../transport/hosts/host-profile' - -const host = (id: string): HostProfile => ({ - id, - name: id, - endpoint: 'ws://192.168.1.2:6768', - deviceToken: 'token', - publicKeyB64: 'key', - lastConnected: 0 -}) - -describe('connection diagnostics screen data', () => { - it('applies route changes synchronously without discarding a chip choice for the same route', () => { - const hosts = [host('a'), host('b')] - expect(resolveDiagnosticsHostId(hosts, undefined, null)).toBe('a') - expect(resolveDiagnosticsHostId(hosts, 'b', { hostId: 'a', requestedHostId: 'a' })).toBe('b') - expect(resolveDiagnosticsHostId(hosts, 'b', { hostId: 'a', requestedHostId: 'b' })).toBe('a') - }) - - it('does not revive a stale manual choice when routing away and back', () => { - const hosts = [host('a'), host('b'), host('c')] - const firstRouteA = {} - const routeC = {} - const secondRouteA = {} - const manualSelection = { hostId: 'b', requestedHostId: 'a', routeKey: firstRouteA } - - expect(resolveDiagnosticsHostId(hosts, 'c', manualSelection, routeC)).toBe('c') - expect(resolveDiagnosticsHostId(hosts, 'a', manualSelection, secondRouteA)).toBe('a') - }) -}) diff --git a/mobile/src/diagnostics/connection-diagnostics-screen-data.ts b/mobile/src/diagnostics/connection-diagnostics-screen-data.ts index 341044db3da..360b1e437ae 100644 --- a/mobile/src/diagnostics/connection-diagnostics-screen-data.ts +++ b/mobile/src/diagnostics/connection-diagnostics-screen-data.ts @@ -1,6 +1,6 @@ import type { ConnectionLogStore } from './connection/connection-log-buffer' import type { ConnectionLogEntry } from './connection/connection-log-types' -import type { HostProfile } from '../transport/hosts/host-profile' +import type { HostProfile } from '../host-catalog/host-profile' import type { RpcClientContextValue } from '../transport/connection/rpc-client-context-contract' /** Route identity token: compared by reference to detect navigating away and back, never read. */ diff --git a/mobile/src/diagnostics/connection-diagnostics-submission.test.ts b/mobile/src/diagnostics/connection-diagnostics-submission.test.ts index 6f244fc9de2..d0bac63d1d6 100644 --- a/mobile/src/diagnostics/connection-diagnostics-submission.test.ts +++ b/mobile/src/diagnostics/connection-diagnostics-submission.test.ts @@ -1,68 +1,7 @@ -import { describe, expect, it, vi } from 'vitest' -import { - boundConnectionDiagnosticsReport, - submitConnectionDiagnostics -} from './connection-diagnostics-submission' +import { describe, expect, it } from 'vitest' +import { boundConnectionDiagnosticsReport } from './connection-diagnostics-submission' describe('submitConnectionDiagnostics', () => { - it('bounds a long report without encoding each retained character', () => { - const encode = vi.spyOn(TextEncoder.prototype, 'encode') - let output: string - let calls: number - try { - output = boundConnectionDiagnosticsReport('x'.repeat(100_000)) - calls = encode.mock.calls.length - } finally { - encode.mockRestore() - } - expect(output).toBe('x'.repeat(64 * 1024)) - expect(calls).toBeLessThanOrEqual(1) - }) - - it.each([ - ['a'.repeat(1000), 511, 'a'.repeat(511)], - ['é'.repeat(1000), 511, 'é'.repeat(255)], - ['界'.repeat(1000), 511, '界'.repeat(170)], - ['😀'.repeat(1000), 511, '😀'.repeat(127)], - ['\ud800'.repeat(1000), 511, '\ud800'.repeat(170)], - ['a\udc00b'.repeat(1000), 8, 'a\udc00ba'], - ['a'.repeat(1000), 2.5, 'aa'], - ['a'.repeat(1000), -1, ''], - ['a'.repeat(1000), Number.NaN, 'a'.repeat(1000)], - ['a'.repeat(1000), Number.NEGATIVE_INFINITY, ''], - ['a'.repeat(1000), Number.POSITIVE_INFINITY, 'a'.repeat(1000)] - ])('preserves UTF-8 prefix case %#', (input, limit, expected) => { - expect(boundConnectionDiagnosticsReport(input, limit)).toBe(expected) - }) - - it('sends a bounded report through the diagnostics lane', async () => { - const fetchImpl = vi.fn().mockResolvedValue(new Response(null, { status: 204 })) - const result = await submitConnectionDiagnostics( - { report: 'x'.repeat(100_000), appVersion: '0.0.47', platform: 'android 36' }, - fetchImpl - ) - - expect(result).toEqual({ ok: true }) - expect(fetchImpl).toHaveBeenCalledWith( - 'https://www.onorca.dev/v1/feedback', - expect.objectContaining({ method: 'POST' }) - ) - const request = fetchImpl.mock.calls[0]?.[1] - const body = JSON.parse(String(request?.body)) as { feedback: string; submissionType: string } - expect(body.submissionType).toBe('connection_diagnostics') - expect(new TextEncoder().encode(body.feedback).byteLength).toBeLessThanOrEqual(64 * 1024) - }) - - it('returns a safe failure for a rejected response', async () => { - const fetchImpl = vi.fn().mockResolvedValue(new Response(null, { status: 503 })) - await expect( - submitConnectionDiagnostics( - { report: 'report', appVersion: '0.0.47', platform: 'android' }, - fetchImpl - ) - ).resolves.toEqual({ ok: false, error: 'status 503' }) - }) - it('preserves the newest complete events when bounding a UTF-8 report', () => { const report = [ 'Orca Mobile connection diagnostics', diff --git a/mobile/src/diagnostics/diagnostic-fetch-timeout.test.ts b/mobile/src/diagnostics/diagnostic-fetch-timeout.test.ts deleted file mode 100644 index 6843f48ae01..00000000000 --- a/mobile/src/diagnostics/diagnostic-fetch-timeout.test.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { afterEach, describe, expect, it, vi } from 'vitest' -import { startDiagnosticFetchTimeout } from './diagnostic-fetch-timeout' - -describe('diagnostic fetch timeout', () => { - afterEach(() => { - vi.useRealTimers() - }) - - it('aborts when the timeout fires', () => { - vi.useFakeTimers() - const attempt = startDiagnosticFetchTimeout(5000) - - expect(attempt.signal.aborted).toBe(false) - expect(attempt.timedOut).toBe(false) - - vi.advanceTimersByTime(5000) - - expect(attempt.signal.aborted).toBe(true) - expect(attempt.timedOut).toBe(true) - }) - - it('clears the timeout when disposed early', () => { - vi.useFakeTimers() - const attempt = startDiagnosticFetchTimeout(5000) - - attempt.dispose() - expect(attempt.signal.aborted).toBe(true) - expect(attempt.timedOut).toBe(false) - - vi.advanceTimersByTime(5000) - expect(attempt.timedOut).toBe(false) - }) -}) diff --git a/mobile/src/diagnostics/host-reachability.test.ts b/mobile/src/diagnostics/host-reachability.test.ts deleted file mode 100644 index 3d2bd5b80e5..00000000000 --- a/mobile/src/diagnostics/host-reachability.test.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { describe, expect, it, vi } from 'vitest' -import { formatEndpoint, testHostReachability, unreachableHostDetail } from './host-reachability' - -describe('unreachableHostDetail', () => { - it('points at Tailscale for tailnet CGNAT endpoints', () => { - expect(unreachableHostDetail('ws://100.65.9.106:6768')).toBe( - 'Cannot reach 100.65.9.106:6768 — check Tailscale' - ) - }) - - it('points at Tailscale for MagicDNS endpoints', () => { - expect(unreachableHostDetail('ws://my-desktop.tailnet-1234.ts.net:6768')).toBe( - 'Cannot reach my-desktop.tailnet-1234.ts.net:6768 — check Tailscale' - ) - }) - - it('stays generic for LAN endpoints', () => { - expect(unreachableHostDetail('ws://192.168.1.50:6768')).toBe('Cannot reach 192.168.1.50:6768') - }) - - it('does not treat non-CGNAT 100.x addresses as Tailscale', () => { - expect(unreachableHostDetail('ws://100.20.1.5:6768')).toBe('Cannot reach 100.20.1.5:6768') - }) - - it('does not echo malformed endpoints that may contain credentials', () => { - expect(formatEndpoint('not-a-url?token=secret')).toBe('invalid endpoint') - }) -}) - -describe('testHostReachability', () => { - it('returns false without leaving timers when WebSocket rejects a malformed endpoint', async () => { - vi.useFakeTimers() - vi.stubGlobal( - 'WebSocket', - class { - constructor() { - throw new TypeError('Invalid URL') - } - } - ) - - try { - await expect(testHostReachability('not-a-url')).resolves.toBe(false) - expect(vi.getTimerCount()).toBe(0) - } finally { - vi.unstubAllGlobals() - vi.useRealTimers() - } - }) -}) diff --git a/mobile/src/diagnostics/mobile-web-bundle-probe-row.tsx b/mobile/src/diagnostics/mobile-web-bundle-probe-row.tsx index 038c7f04810..37ab11331b1 100644 --- a/mobile/src/diagnostics/mobile-web-bundle-probe-row.tsx +++ b/mobile/src/diagnostics/mobile-web-bundle-probe-row.tsx @@ -1,7 +1,7 @@ import { useEffect, useState } from 'react' import { View, Text, Pressable, ActivityIndicator } from 'react-native' import { Package } from 'lucide-react-native' -import { loadHosts } from '../transport/hosts/host-store' +import { loadHosts } from '../host-catalog/host-store' import { colors } from '../theme/mobile-theme' import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' import { troubleshootScreenStyles as styles } from './troubleshoot-screen-styles' @@ -9,7 +9,7 @@ import { useMobileWebBundleProbe, type MobileWebBundleProbeState } from './use-mobile-web-bundle-probe' -import type { HostProfile } from '../transport/hosts/host-profile' +import type { HostProfile } from '../host-catalog/host-profile' import type { Translate } from '../i18n/mobile-i18n' import { useMobileTranslation } from '../i18n/use-mobile-translation' import { ListGroup, ListRow } from '../components/list/ListGroup' diff --git a/mobile/src/diagnostics/mobile-web-shell-update-failure-row.tsx b/mobile/src/diagnostics/mobile-web-shell-update-failure-row.tsx index 526bec82310..b11d739e5ac 100644 --- a/mobile/src/diagnostics/mobile-web-shell-update-failure-row.tsx +++ b/mobile/src/diagnostics/mobile-web-shell-update-failure-row.tsx @@ -1,8 +1,8 @@ import { useEffect, useState } from 'react' import { Text, View } from 'react-native' import type { MobileWebShellUpdateFailure } from '../mobile-web-shell/mobile-web-shell-update-failure' -import { processGenerationStore } from '../mobile-web-shell/process-generation-store' -import { loadHosts } from '../transport/hosts/host-store' +import { processGenerationStore } from '../mobile-web-shell/generations/process-generation-store' +import { loadHosts } from '../host-catalog/host-store' import { formatUpdateFailure } from './mobile-web-shell-update-failure-copy' import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' import { troubleshootScreenStyles as styles } from './troubleshoot-screen-styles' diff --git a/mobile/src/diagnostics/native-diagnostics-operations.test.ts b/mobile/src/diagnostics/native-diagnostics-operations.test.ts index 38cbb6e3ab2..8f57d41ce43 100644 --- a/mobile/src/diagnostics/native-diagnostics-operations.test.ts +++ b/mobile/src/diagnostics/native-diagnostics-operations.test.ts @@ -1,6 +1,6 @@ import { beforeEach, describe, expect, it, vi } from 'vitest' import type { ConnectionState } from '../transport/connection/connection-state' -import type { HostProfile } from '../transport/hosts/host-profile' +import type { HostProfile } from '../host-catalog/host-profile' import { createNativeDiagnosticsOperations } from './native-diagnostics-operations' const logStore = vi.hoisted(() => ({ diff --git a/mobile/src/diagnostics/native-diagnostics-operations.ts b/mobile/src/diagnostics/native-diagnostics-operations.ts index 0b26bc5f912..5192c6d962d 100644 --- a/mobile/src/diagnostics/native-diagnostics-operations.ts +++ b/mobile/src/diagnostics/native-diagnostics-operations.ts @@ -1,6 +1,6 @@ import { Platform } from 'react-native' import Constants from 'expo-constants' -import type { HostProfile } from '../transport/hosts/host-profile' +import type { HostProfile } from '../host-catalog/host-profile' import type { RpcClientContextValue } from '../transport/connection/rpc-client-context-contract' import { connectionLogStore } from './connection/persisted-connection-log-store' import { diff --git a/mobile/src/diagnostics/troubleshoot-common-issues.test.ts b/mobile/src/diagnostics/troubleshoot-common-issues.test.ts deleted file mode 100644 index c67273e97c1..00000000000 --- a/mobile/src/diagnostics/troubleshoot-common-issues.test.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { afterEach, describe, expect, it, vi } from 'vitest' -import { SUPPORTED_UI_LOCALES } from '../../../src/shared/ui-locale' -import { activateMobileUiLocale, translate } from '../i18n/mobile-i18n' -import { troubleshootCommonIssues } from './troubleshoot-common-issues' - -vi.mock('lucide-react-native', () => ({ - WifiOff: () => null, - Shield: () => null, - Monitor: () => null, - Clock: () => null, - Globe: () => null, - Bell: () => null -})) - -afterEach(() => activateMobileUiLocale('en')) - -describe('troubleshooting firewall advice', () => { - it.each([ - { endpoints: ['ws://192.168.1.10:6769'], ports: ['6769'] }, - { endpoints: ['ws://[fd7a:115c:a1e0::1]:7777'], ports: ['7777'] }, - { endpoints: ['wss://desktop.example', 'ws://desktop.local'], ports: ['443', '80'] }, - { endpoints: [], ports: ['6768'] }, - { endpoints: ['invalid endpoint'], ports: ['6768'] }, - { - endpoints: ['ws://first.local:6769', 'ws://second.local:7777', 'ws://third.local:6769'], - ports: ['6769', '7777'] - } - ])('uses paired ports for $endpoints', ({ endpoints, ports }) => { - const sections = troubleshootCommonIssues(translate, endpoints).filter((section) => - section.id.startsWith('firewall') - ) - expect(sections.map((section) => section.title)).toEqual( - ports.map((port) => `Firewall Blocking Port ${port}`) - ) - expect(sections.map((section) => section.steps.find((step) => step.includes('ufw')))).toEqual( - ports.map((port) => `Linux: sudo ufw allow ${port}`) - ) - expect(new Set(sections.map((section) => section.id)).size).toBe(ports.length) - }) - - it.each(SUPPORTED_UI_LOCALES)('interpolates the paired port in %s', async (locale) => { - await activateMobileUiLocale(locale) - const section = troubleshootCommonIssues(translate, ['ws://desktop.local:6769']).find((entry) => - entry.id.startsWith('firewall') - ) - expect(section?.title).toContain('6769') - expect(section?.title).not.toContain('6768') - expect(section?.steps.some((step) => step.includes('sudo ufw allow 6769'))).toBe(true) - }) -}) diff --git a/mobile/src/diagnostics/use-troubleshoot-diagnostics.ts b/mobile/src/diagnostics/use-troubleshoot-diagnostics.ts index 2eee9847c73..297addc4ed5 100644 --- a/mobile/src/diagnostics/use-troubleshoot-diagnostics.ts +++ b/mobile/src/diagnostics/use-troubleshoot-diagnostics.ts @@ -2,7 +2,7 @@ import { useCallback, useEffect, useRef, useState } from 'react' import type { View } from 'react-native' import { Platform } from 'react-native' import { useMobileTranslation } from '../i18n/use-mobile-translation' -import { loadHostCatalog, loadHosts } from '../transport/hosts/host-store' +import { loadHostCatalog, loadHosts } from '../host-catalog/host-store' import { startDiagnosticFetchTimeout, type DiagnosticFetchTimeout diff --git a/mobile/src/dictation/dictation-reply-schema.test.ts b/mobile/src/dictation/dictation-reply-schema.test.ts deleted file mode 100644 index 04c5ba06336..00000000000 --- a/mobile/src/dictation/dictation-reply-schema.test.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { dictationSetupSchema } from './dictation-reply-schema' - -const setup = (overrides: Record = {}) => ({ - enabled: true, - selectedModelId: 'm1', - dictationMode: 'toggle', - models: [], - ...overrides -}) - -describe('dictation setup reply schema', () => { - it('requires the model list the sheet maps unguarded', () => { - const { models: _models, ...withoutModels } = setup() - expect(dictationSetupSchema.safeParse(withoutModels).success).toBe(false) - expect(dictationSetupSchema.safeParse(setup({ models: 'none' })).success).toBe(false) - }) - - it('forwards a dictation mode this build has never heard of instead of substituting one', () => { - expect(dictationSetupSchema.parse(setup({ dictationMode: 'push-to-talk' })).dictationMode).toBe( - 'push-to-talk' - ) - expect(dictationSetupSchema.parse(setup({ dictationMode: 'hold' })).dictationMode).toBe('hold') - }) - - it('keeps a sheet whose mode is absent or unreadable, which main rendered', () => { - const { dictationMode: _mode, ...withoutMode } = setup() - expect(dictationSetupSchema.parse(withoutMode).dictationMode).toBeUndefined() - expect(dictationSetupSchema.parse(setup({ dictationMode: 3 })).dictationMode).toBeUndefined() - }) - - it('salvages enabled and selectedModelId onto the off-and-unselected sheet main drew', () => { - const parsed = dictationSetupSchema.parse(setup({ enabled: 'yes', selectedModelId: 4 })) - expect(parsed.enabled).toBeUndefined() - expect(parsed.selectedModelId).toBeUndefined() - }) - - it('drops a model row the sheet could not address or send back', () => { - const parsed = dictationSetupSchema.parse( - setup({ models: [{ id: 'a', label: 'A' }, { label: 'B' }, { id: 'c' }] }) - ) - expect(parsed.models.map((model) => model.id)).toEqual(['a', 'c']) - }) - - it('degrades an unknown provider or status arm to absent and keeps the row', () => { - const [model] = dictationSetupSchema.parse( - setup({ models: [{ id: 'a', provider: 'anthropic', status: 'verifying' }] }) - ).models - expect(model?.id).toBe('a') - expect(model?.provider).toBeUndefined() - expect(model?.status).toBeUndefined() - }) - - it('keeps the known provider and status arms', () => { - const [model] = dictationSetupSchema.parse( - setup({ models: [{ id: 'a', provider: 'openai', status: 'extracting' }] }) - ).models - expect(model?.provider).toBe('openai') - expect(model?.status).toBe('extracting') - }) - - it('salvages a row member behind main own guard and keeps the truthy recommended flag', () => { - const [model] = dictationSetupSchema.parse( - setup({ models: [{ id: 'a', sizeBytes: 'big', progress: 'half', recommended: 1 }] }) - ).models - expect(model?.sizeBytes).toBeUndefined() - expect(model?.progress).toBeUndefined() - expect(model?.recommended).toBe(1) - }) - - it('keeps an explicit null size and progress, which the host sends for an API model', () => { - const [model] = dictationSetupSchema.parse( - setup({ models: [{ id: 'a', sizeBytes: null, progress: null }] }) - ).models - expect(model?.sizeBytes).toBeNull() - expect(model?.progress).toBeNull() - }) - - it('passes a newer host member through', () => { - expect(dictationSetupSchema.parse(setup({ hotword: 'orca' }))).toMatchObject({ - hotword: 'orca' - }) - }) -}) diff --git a/mobile/src/dictation/dictation-reply-schema.ts b/mobile/src/dictation/dictation-reply-schema.ts index 23a738977ac..9d2bd752fcc 100644 --- a/mobile/src/dictation/dictation-reply-schema.ts +++ b/mobile/src/dictation/dictation-reply-schema.ts @@ -37,6 +37,8 @@ export const dictationSetupSchema = z.looseObject({ dictationHoldToRecord: salvagedOptional('dictationHoldToRecord', z.boolean()), // Absent from older hosts, which remove no fillers either; the phone then keeps them on, the host default. removeFillerWords: salvagedOptional('removeFillerWords', z.boolean()), + // Absent from older hosts, which stop after a minute; the shared reader maps absent and unknown to that. + stopAfterSilenceSeconds: salvagedOptional('stopAfterSilenceSeconds', z.number().nullable()), // Absent from older hosts, which spell nothing; malformed entries are dropped. dictationTerms: salvagedOptional( 'dictationTerms', diff --git a/mobile/src/dictation/dictation-setup-poll-controller.test.ts b/mobile/src/dictation/dictation-setup-poll-controller.test.ts index bf6ca844f25..9468ef555ee 100644 --- a/mobile/src/dictation/dictation-setup-poll-controller.test.ts +++ b/mobile/src/dictation/dictation-setup-poll-controller.test.ts @@ -32,32 +32,6 @@ describe('DictationSetupPollController', () => { vi.useRealTimers() }) - it('does not refresh while hidden or backgrounded', async () => { - const refresh = vi.fn().mockResolvedValue(true) - const poller = new DictationSetupPollController(refresh, POLL_INTERVAL_MS) - poller.setPolling(true) - - poller.setForeground(true) - await vi.advanceTimersByTimeAsync(POLL_INTERVAL_MS * 2) - expect(refresh).not.toHaveBeenCalled() - - poller.setVisible(true) - expect(refresh).toHaveBeenCalledOnce() - await flushPromises() - poller.setVisible(false) - await vi.advanceTimersByTimeAsync(POLL_INTERVAL_MS * 2) - expect(refresh).toHaveBeenCalledOnce() - - poller.setVisible(true) - expect(refresh).toHaveBeenCalledTimes(2) - await flushPromises() - poller.setForeground(false) - await vi.advanceTimersByTimeAsync(POLL_INTERVAL_MS * 2) - expect(refresh).toHaveBeenCalledTimes(2) - - poller.dispose() - }) - it('keeps slow refreshes single-flight and waits a full delay after each response', async () => { const requests = [deferred(), deferred(), deferred()] let active = 0 @@ -130,47 +104,6 @@ describe('DictationSetupPollController', () => { poller.dispose() }) - it('refreshes immediately when visibility or foreground eligibility resumes', async () => { - const refresh = vi.fn().mockResolvedValue(true) - const poller = new DictationSetupPollController(refresh, POLL_INTERVAL_MS) - poller.setPolling(true) - poller.setVisible(true) - poller.setForeground(true) - expect(refresh).toHaveBeenCalledOnce() - await flushPromises() - - poller.setForeground(false) - await vi.advanceTimersByTimeAsync(POLL_INTERVAL_MS * 2) - poller.setForeground(true) - expect(refresh).toHaveBeenCalledTimes(2) - await flushPromises() - - poller.setVisible(false) - await vi.advanceTimersByTimeAsync(POLL_INTERVAL_MS * 2) - poller.setVisible(true) - expect(refresh).toHaveBeenCalledTimes(3) - - poller.dispose() - }) - - it('stops after setup leaves the download or extraction lifecycle', async () => { - const refresh = vi.fn().mockResolvedValueOnce(true).mockResolvedValueOnce(false) - const poller = new DictationSetupPollController(refresh, POLL_INTERVAL_MS) - poller.setPolling(true) - poller.setVisible(true) - poller.setForeground(true) - await flushPromises() - - await vi.advanceTimersByTimeAsync(POLL_INTERVAL_MS) - expect(refresh).toHaveBeenCalledTimes(2) - await flushPromises() - await vi.advanceTimersByTimeAsync(POLL_INTERVAL_MS * 4) - expect(refresh).toHaveBeenCalledTimes(2) - expect(vi.getTimerCount()).toBe(0) - - poller.dispose() - }) - it('does not resurrect polling when an in-flight refresh resolves true after setPolling(false)', async () => { const request = deferred() const refresh = vi.fn(() => request.promise) diff --git a/mobile/src/dictation/mobile-dictation-host-context.ts b/mobile/src/dictation/mobile-dictation-host-context.ts index 9f4d3c23798..f9acb271e93 100644 --- a/mobile/src/dictation/mobile-dictation-host-context.ts +++ b/mobile/src/dictation/mobile-dictation-host-context.ts @@ -4,6 +4,7 @@ import type { RpcClient } from '../transport/rpc/rpc-client-contract' import type { MobileDictationAwayTarget } from './mobile-dictation-away-insert' import type { MobileDictationLiveText } from './use-mobile-dictation-announcements' import type { DictationTerm } from '../../../src/shared/dictation-dictionary' +import type { StopAfterSilenceSeconds } from '../../../src/shared/dictation-silence-stop' export type MobileDictationHostToast = { message: string; open?: () => void } @@ -21,6 +22,7 @@ export type MobileDictationOwner = { // The target tab's pane key, for a screen still in the stack to switch back to it. readonly paneKey: string | undefined readonly dictationMode: string | undefined + readonly silenceSeconds: StopAfterSilenceSeconds readonly removeFillerWords: boolean // The computer's terms for this worktree, for words the phone recognizes itself. readonly dictationTerms: readonly DictationTerm[] | undefined diff --git a/mobile/src/dictation/mobile-dictation-host.tsx b/mobile/src/dictation/mobile-dictation-host.tsx index b2276df26aa..37daa11a247 100644 --- a/mobile/src/dictation/mobile-dictation-host.tsx +++ b/mobile/src/dictation/mobile-dictation-host.tsx @@ -7,6 +7,7 @@ import { useClipboardWriter } from '../platform/clipboard' import { dictationFailureMessage, isDictationSetupRequiredError } from './mobile-dictation-setup' import { useMobileDictationHaptics } from './use-mobile-dictation-haptics' import { useMobileDictationSilenceStop } from './use-mobile-dictation-silence-stop' +import { DEFAULT_STOP_AFTER_SILENCE_SECONDS } from '../../../src/shared/dictation-silence-stop' import { insertMobileDictationAway } from './mobile-dictation-away-insert' import { nativeChatDictationCopy } from './mobile-session-native-chat-dictation-copy' import { dictationAwayCopy } from './mobile-dictation-away-copy' @@ -145,7 +146,14 @@ export function MobileDictationHostProvider({ children }: { children: ReactNode onAudioLimitReached: () => say(nativeChatDictationCopy.stoppedAtCloudLimit()) }) const stop = useMobileDictationHaptics(dictation) - useMobileDictationSilenceStop(dictation, owner?.dictationMode, stop, (message) => say(message)) + useMobileDictationSilenceStop( + dictation, + owner?.dictationMode, + // Off is null, so only a missing owner takes the default. + owner ? owner.silenceSeconds : DEFAULT_STOP_AFTER_SILENCE_SECONDS, + stop, + (message) => say(message) + ) // Screens subscribe to the live dictation; the host's context only changes when its owner or pill does. const liveRef = useRef(dictation) diff --git a/mobile/src/dictation/mobile-dictation-setup.ts b/mobile/src/dictation/mobile-dictation-setup.ts index 61e607ca7a4..9ddcee87e81 100644 --- a/mobile/src/dictation/mobile-dictation-setup.ts +++ b/mobile/src/dictation/mobile-dictation-setup.ts @@ -3,7 +3,7 @@ import { hostDictationErrorMessage } from '../../../src/shared/host-dictation-error-messages' import { translate } from '../i18n/mobile-i18n' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' import type { RpcResponse } from '../transport/rpc/rpc-wire-types' import { interpretOrThrowRefusalMessage } from '../transport/rpc/rpc-refusal-message' import '../transport/connection/stable-logical-rpc-client' @@ -128,7 +128,7 @@ export function isDictationSetupRequiredError(message: string): boolean { /** `worktreeId` asks for that repo's dictionary terms too. */ export async function fetchDictationSetup( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId?: string ): Promise { const reply = await requestDictationSetupReply(client, worktreeId ? { worktreeId } : null) @@ -150,7 +150,7 @@ export async function fetchDictationSetup( } async function requestDictationSetupReply( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, params: { worktreeId: string } | null ): Promise { try { @@ -165,7 +165,7 @@ async function requestDictationSetupReply( } export async function downloadDictationModel( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, modelId: string ): Promise { const reply = await dictationModelDownload.request(client, { modelId }) @@ -176,7 +176,7 @@ export async function downloadDictationModel( } export async function deleteDictationModel( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, modelId: string ): Promise { const reply = await dictationModelDelete.request(client, { modelId }) @@ -187,7 +187,7 @@ export async function deleteDictationModel( } export async function setDictationConfig( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, params: { enabled?: boolean modelId?: string diff --git a/mobile/src/dictation/mobile-dictation-text-insertion.test.ts b/mobile/src/dictation/mobile-dictation-text-insertion.test.ts index 6cef931bf83..196dfdd615b 100644 --- a/mobile/src/dictation/mobile-dictation-text-insertion.test.ts +++ b/mobile/src/dictation/mobile-dictation-text-insertion.test.ts @@ -4,19 +4,6 @@ import { insertDictationText } from './mobile-dictation-text-insertion' const at = (text: string, start: number, end = start) => ({ text, start, end }) describe('insertDictationText', () => { - it('spaces dictation away from the words around the caret at the start, middle and end', () => { - const draft = 'update the tests' - expect(insertDictationText(draft, 'Please', at(draft, 0))).toEqual({ - text: 'Please update the tests', - caret: 6 - }) - expect(insertDictationText(draft, 'all', at(draft, 11)).text).toBe('update the all tests') - expect(insertDictationText(draft, 'now', at(draft, draft.length)).text).toBe( - 'update the tests now' - ) - expect(insertDictationText('Done.', 'Next', at('Done.', 5)).text).toBe('Done. Next') - }) - it('replaces the selected words and keeps the caret after them', () => { const draft = 'Rename the prop and update the tests' expect(insertDictationText(draft, 'fetchTimeout', at(draft, 7, 15))).toEqual({ @@ -25,41 +12,6 @@ describe('insertDictationText', () => { }) }) - it('adds no space inside quotes, before punctuation or around CJK', () => { - const command = "git commit -m ''" - expect(insertDictationText(command, 'log retry', at(command, 15)).text).toBe( - "git commit -m 'log retry'" - ) - expect(insertDictationText('git commit -m "', 'fix it', null).text).toBe( - 'git commit -m "fix it' - ) - expect(insertDictationText('He said “”', 'hello', at('He said “”', 9)).text).toBe( - 'He said “hello”' - ) - expect(insertDictationText('hello', ', world', at('hello', 5)).text).toBe('hello, world') - expect(insertDictationText('你好', '世界', at('你好', 2)).text).toBe('你好世界') - }) - - it('spaces dictation after closing quotes, brackets and symbols', () => { - for (const draft of [ - 'echo "hi"', - 'see (this)', - 'Look at `foo`', - 'ls -la |', - 'done 🎉', - "fix James'" - ]) { - expect(insertDictationText(draft, 'and more', null).text).toBe(`${draft} and more`) - } - }) - - it('tells apostrophes from quote marks', () => { - const quoted = "it's 'quoted'" - expect(insertDictationText(quoted, 'really', at(quoted, 5)).text).toBe("it's really 'quoted'") - const inner = "don't touch 'x'" - expect(insertDictationText(inner, 'y', at(inner, 14)).text).toBe("don't touch 'x y'") - }) - it('appends when the field was never focused or changed since the selection was read', () => { expect(insertDictationText('ls -la', 'in src', null).text).toBe('ls -la in src') expect(insertDictationText('', 'spoken', null).text).toBe('spoken') diff --git a/mobile/src/dictation/mobile-session-native-chat-dictation-copy.ts b/mobile/src/dictation/mobile-session-native-chat-dictation-copy.ts index f7ea2f1ee2e..74babf880fa 100644 --- a/mobile/src/dictation/mobile-session-native-chat-dictation-copy.ts +++ b/mobile/src/dictation/mobile-session-native-chat-dictation-copy.ts @@ -14,9 +14,10 @@ export const nativeChatDictationCopy = { 'session.useNativeChatDictation.stoppedAtCloudLimit', 'Dictation stopped at the 10-minute cloud limit.' ), - stoppedAfterSilence: () => + stoppedAfterSilence: (seconds: number) => translate( - 'session.useNativeChatDictation.stoppedAfterSilence', - 'Stopped after a minute of silence' + 'session.useNativeChatDictation.stoppedAfterSilenceSeconds', + 'Stopped after {{seconds}} seconds of silence', + { seconds } ) } diff --git a/mobile/src/dictation/use-mobile-dictation-live.ts b/mobile/src/dictation/use-mobile-dictation-live.ts index 13aa5f5081a..b5b89eff6f0 100644 --- a/mobile/src/dictation/use-mobile-dictation-live.ts +++ b/mobile/src/dictation/use-mobile-dictation-live.ts @@ -1,8 +1,8 @@ import { useCallback, useLayoutEffect, useMemo, useRef } from 'react' import type { UseMobileDictationResult } from '../hooks/mobile-dictation-session-state' import { useWorkspaceExecutionHost } from '../navigation/workspace-execution-host' -import { useHostDisplay } from '../transport/hosts/use-host-display' -import { useHostProfile } from '../transport/hosts/use-host-profile' +import { useHostDisplay } from '../host-descriptors/use-host-display' +import { useHostProfile } from '../host-catalog/use-host-profile' import type { MobileDictationLive } from './mobile-dictation-live-context' import { dictationFailureReason } from './mobile-dictation-controls-copy' diff --git a/mobile/src/dictation/use-mobile-dictation-silence-stop.ts b/mobile/src/dictation/use-mobile-dictation-silence-stop.ts index 11cc537bccc..e9a6baf5a31 100644 --- a/mobile/src/dictation/use-mobile-dictation-silence-stop.ts +++ b/mobile/src/dictation/use-mobile-dictation-silence-stop.ts @@ -1,5 +1,8 @@ import { useEffect, useEffectEvent } from 'react' -import { watchDictationSilence } from '../../../src/shared/dictation-silence-stop' +import { + watchDictationSilence, + type StopAfterSilenceSeconds +} from '../../../src/shared/dictation-silence-stop' import type { UseMobileDictationResult } from '../hooks/mobile-dictation-session-state' import { nativeChatDictationCopy } from './mobile-session-native-chat-dictation-copy' @@ -7,20 +10,23 @@ import { nativeChatDictationCopy } from './mobile-session-native-chat-dictation- export function useMobileDictationSilenceStop( dictation: Pick, dictationMode: string | undefined, + silenceSeconds: StopAfterSilenceSeconds, stop: () => void, showToast: (message: string) => void ): void { const { meter } = dictation - const watching = dictation.isRecording && dictationMode !== 'hold' + const watching = dictation.isRecording && dictationMode !== 'hold' && silenceSeconds !== null const stopForSilence = useEffectEvent(() => { - showToast(nativeChatDictationCopy.stoppedAfterSilence()) + showToast(nativeChatDictationCopy.stoppedAfterSilence(silenceSeconds ?? 0)) stop() }) useEffect(() => { - if (!watching) { + if (!watching || silenceSeconds === null) { return } - return watchDictationSilence(meter.lastSpeechAt, Date.now, () => stopForSilence()) - }, [meter, watching]) + return watchDictationSilence(meter.lastSpeechAt, Date.now, silenceSeconds * 1000, () => + stopForSilence() + ) + }, [meter, watching, silenceSeconds]) } diff --git a/mobile/src/expo-route-module-boundary.test.ts b/mobile/src/expo-route-module-boundary.test.ts deleted file mode 100644 index 72065d5c55f..00000000000 --- a/mobile/src/expo-route-module-boundary.test.ts +++ /dev/null @@ -1,121 +0,0 @@ -import { readFileSync, readdirSync } from 'node:fs' -import { fileURLToPath } from 'node:url' -import { basename, dirname, extname, join, relative } from 'node:path' -import ts from 'typescript-api' -import { describe, expect, it } from 'vitest' - -const appDirectory = fileURLToPath(new URL('../app', import.meta.url)) -const routeSourceExtensions = new Set(['.js', '.jsx', '.ts', '.tsx']) - -function sourceFiles(directory: string): string[] { - return readdirSync(directory, { withFileTypes: true }).flatMap((entry) => { - const path = join(directory, entry.name) - return entry.isDirectory() ? sourceFiles(path) : [path] - }) -} - -function isNonScreenExpoModule(path: string): boolean { - const fileName = basename(path) - if (/\+api\.[jt]sx?$/.test(fileName)) { - return true - } - return ( - dirname(relative(appDirectory, path)) === '.' && - /^\+(?:html|middleware|native-intent)\.[jt]sx?$/.test(fileName) - ) -} - -function isPlatformSpecificApiRoute(path: string): boolean { - return /\+api\.(?:android|ios|native|web)\.[jt]sx?$/.test(basename(path)) -} - -function hasDefaultExport(path: string, source: string): boolean { - const extension = extname(path) - const sourceFile = ts.createSourceFile( - path, - source, - ts.ScriptTarget.Latest, - true, - extension === '.jsx' - ? ts.ScriptKind.JSX - : extension === '.js' - ? ts.ScriptKind.JS - : extension === '.tsx' - ? ts.ScriptKind.TSX - : ts.ScriptKind.TS - ) - - return sourceFile.statements.some((statement) => { - if (ts.isExportAssignment(statement)) { - return !statement.isExportEquals - } - if (ts.isExportDeclaration(statement) && !statement.isTypeOnly && statement.exportClause) { - if (ts.isNamespaceExport(statement.exportClause)) { - return statement.exportClause.name.text === 'default' - } - return statement.exportClause.elements.some( - (element) => !element.isTypeOnly && element.name.text === 'default' - ) - } - const modifiers = ts.canHaveModifiers(statement) ? ts.getModifiers(statement) : undefined - return ( - !ts.isInterfaceDeclaration(statement) && - !ts.isTypeAliasDeclaration(statement) && - modifiers?.some((modifier) => modifier.kind === ts.SyntaxKind.DeclareKeyword) !== true && - modifiers?.some((modifier) => modifier.kind === ts.SyntaxKind.ExportKeyword) === true && - modifiers.some((modifier) => modifier.kind === ts.SyntaxKind.DefaultKeyword) - ) - }) -} - -function isInvalidRouteModule(path: string, source: string): boolean { - return ( - isPlatformSpecificApiRoute(path) || - (!isNonScreenExpoModule(path) && !hasDefaultExport(path, source)) - ) -} - -describe('Expo route module boundary', () => { - it('allows Expo modules that are not screen routes', () => { - expect(isNonScreenExpoModule(join(appDirectory, 'health+api.ts'))).toBe(true) - expect(isNonScreenExpoModule(join(appDirectory, 'health+api.ios.ts'))).toBe(false) - expect(isNonScreenExpoModule(join(appDirectory, '+html.tsx'))).toBe(true) - expect(isNonScreenExpoModule(join(appDirectory, '+middleware.ts'))).toBe(true) - expect(isNonScreenExpoModule(join(appDirectory, '+native-intent.ts'))).toBe(true) - expect(isNonScreenExpoModule(join(appDirectory, 'nested', '+middleware.ts'))).toBe(false) - }) - - it('recognizes syntax-level default exports', () => { - expect(hasDefaultExport('route.tsx', 'export default function Route() {}')).toBe(true) - expect( - hasDefaultExport('route.jsx', 'export default function Route() { return }') - ).toBe(true) - expect(hasDefaultExport('route.ts', "export { default } from './route-screen'")).toBe(true) - expect(hasDefaultExport('route.ts', "export { Route as default } from './route-screen'")).toBe( - true - ) - expect(hasDefaultExport('support.ts', '// export default')).toBe(false) - expect(hasDefaultExport('support.ts', "const marker = 'export default'")).toBe(false) - expect(hasDefaultExport('support.ts', 'export default interface Support {}')).toBe(false) - expect( - hasDefaultExport('support.ts', "export type { Support as default } from './types'") - ).toBe(false) - }) - - it('rejects platform-specific API routes even with a default export', () => { - expect(isPlatformSpecificApiRoute(join(appDirectory, 'health+api.ts'))).toBe(false) - for (const platform of ['android', 'ios', 'native', 'web']) { - const path = join(appDirectory, `health+api.${platform}.ts`) - expect(isInvalidRouteModule(path, 'export default function Route() {}')).toBe(true) - } - }) - - it('keeps support modules outside the app route directory', () => { - const invalidRoutes = sourceFiles(appDirectory) - .filter((path) => routeSourceExtensions.has(extname(path))) - .filter((path) => isInvalidRouteModule(path, readFileSync(path, 'utf8'))) - .map((path) => relative(appDirectory, path)) - - expect(invalidRoutes).toEqual([]) - }) -}) diff --git a/mobile/src/files/MobileFilePreviewBody.test.tsx b/mobile/src/files/MobileFilePreviewBody.test.tsx deleted file mode 100644 index 11091d0e5a5..00000000000 --- a/mobile/src/files/MobileFilePreviewBody.test.tsx +++ /dev/null @@ -1,68 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, expect, it, vi } from 'vitest' -import { MobileFilePreviewBody } from './MobileFilePreviewBody' - -vi.mock('react-native', () => ({ - ActivityIndicator: 'ActivityIndicator', - StyleSheet: { create: (styles: unknown) => styles, hairlineWidth: 1 }, - Text: 'Text', - View: 'View' -})) -vi.mock('../components/MobileSvgPreview', () => ({ MobileSvgPreview: 'SvgPreview' })) -vi.mock('../components/MobilePanZoomImage', () => ({ MobilePanZoomImage: 'PanZoomImage' })) -vi.mock('../components/MobileStateView', () => ({ - MobileLoadErrorState: 'LoadError', - MobileOfflineState: 'Offline', - MobileStateView: 'StateView' -})) -vi.mock('./MobileFileMediaPreview', () => ({ MobileFileMediaPreview: 'Media' })) -vi.mock('./MobileFileMarkdownPreview', () => ({ MobileFileMarkdownPreview: 'Markdown' })) -vi.mock('./MobileFilePreviewEditableSource', () => ({ - MobileFilePreviewEditableSource: 'EditableSource' -})) -vi.mock('./MobileFilePreviewSourceText', () => ({ MobileFilePreviewSourceText: 'SourceText' })) - -let tree: ReactTestRenderer | null = null -afterEach(() => { - act(() => tree?.unmount()) - tree = null -}) - -it('previews a writable SVG draft and keeps its save failure visible outside Source', () => { - act(() => { - tree = create( - createElement(MobileFilePreviewBody, { - preview: { - status: 'ready', - kind: 'svg', - content: 'saved', - truncated: false, - byteLength: 16 - }, - relativePath: '/tmp/diagram.svg', - title: 'diagram.svg', - editable: true, - markdownMode: 'preview', - draftContent: 'draft', - saveError: 'Could not save', - lineColumn: null, - onDraftChange: () => {}, - onImageError: () => {}, - onRetry: null - }) - ) - }) - const svg = tree!.root.find((node) => String(node.type) === 'SvgPreview') - expect(svg.props.markup).toBe('draft') - let notice: ReactTestRenderer | null = null - let source: ReactTestRenderer | null = null - act(() => { - notice = create(svg.props.notice) - source = create(svg.props.renderSource()) - }) - expect(notice!.root.find((node) => String(node.type) === 'Text').props.children).toBe( - 'Could not save' - ) - expect(source!.root.findAll((node) => String(node.type) === 'EditableSource')).toHaveLength(1) -}) diff --git a/mobile/src/files/MobileFilePreviewScreen.test.ts b/mobile/src/files/MobileFilePreviewScreen.test.ts deleted file mode 100644 index 719f5619dfe..00000000000 --- a/mobile/src/files/MobileFilePreviewScreen.test.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { sourceKeyForPreview } from './mobile-file-preview-source' -import { - hasUnsavedMobileTerminalArtifactDraft, - isEditableMobileTerminalArtifactPreview, - shouldKeepDirtyDraftOnPreviewLoadResult -} from './mobile-file-preview-editability' - -describe('mobile file preview editability and dirty-draft policy', () => { - it('treats empty terminal artifact text previews as editable', () => { - expect(isEditableMobileTerminalArtifactPreview({ status: 'empty', kind: 'text' })).toBe(true) - expect( - isEditableMobileTerminalArtifactPreview({ - status: 'ready', - kind: 'text', - content: '', - truncated: false, - byteLength: 0 - }) - ).toBe(true) - expect( - isEditableMobileTerminalArtifactPreview({ - status: 'ready', - kind: 'image', - dataUri: 'data:image/png;base64,aW1n' - }) - ).toBe(false) - }) - - it('treats truncated terminal artifact text previews as read-only', () => { - expect( - isEditableMobileTerminalArtifactPreview({ - status: 'ready', - kind: 'text', - content: 'partial', - truncated: true, - byteLength: 1024 - }) - ).toBe(false) - }) - - it('treats native-chat artifact grants as read-only', () => { - expect( - isEditableMobileTerminalArtifactPreview( - { - status: 'ready', - kind: 'text', - content: '

Result

', - truncated: false, - byteLength: 15 - }, - true - ) - ).toBe(false) - }) - - it('recognizes only changed terminal artifact drafts for the active source', () => { - const sourceKey = sourceKeyForPreview({ - source: 'terminalArtifact', - worktreeId: 'wt-1', - absolutePath: '/tmp/result.json', - grantId: 'grant-1' - }) - - const draft = { - source: 'terminalArtifact' as const, - draftSourceKey: sourceKey, - previewSourceKey: sourceKey, - draftContent: '{"ok":false}', - savedContent: '{"ok":true}' - } - expect(hasUnsavedMobileTerminalArtifactDraft(draft)).toBe(true) - expect( - hasUnsavedMobileTerminalArtifactDraft({ ...draft, previewSourceKey: 'other-file' }) - ).toBe(false) - expect( - hasUnsavedMobileTerminalArtifactDraft({ ...draft, draftContent: draft.savedContent }) - ).toBe(false) - expect(hasUnsavedMobileTerminalArtifactDraft({ ...draft, source: undefined })).toBe(false) - }) - - it('keeps dirty terminal artifact drafts when a reload fails or waits', () => { - expect( - shouldKeepDirtyDraftOnPreviewLoadResult(true, { - status: 'error', - message: 'Unable to reach desktop filesystem', - reconnect: true - }) - ).toBe(true) - expect( - shouldKeepDirtyDraftOnPreviewLoadResult(true, { - status: 'waiting', - message: 'Waiting for desktop...', - reconnect: true - }) - ).toBe(true) - expect( - shouldKeepDirtyDraftOnPreviewLoadResult(false, { - status: 'error', - message: 'Unable to load preview', - reconnect: false - }) - ).toBe(false) - }) -}) diff --git a/mobile/src/files/attachments/use-mobile-session-image-attachments.ts b/mobile/src/files/attachments/use-mobile-session-image-attachments.ts index b4ccc6417d4..00af1d341b1 100644 --- a/mobile/src/files/attachments/use-mobile-session-image-attachments.ts +++ b/mobile/src/files/attachments/use-mobile-session-image-attachments.ts @@ -4,8 +4,8 @@ import type { MobileImageSource } from '../../platform/media-picker-contract' import type { MobileNativeChatSendIntent, MobileNativeChatSendOutcome -} from '../../session/native-chat/mobile-native-chat-send' -import type { StructuredMobileSendAttachment } from '../../session/use-mobile-structured-send-with-outcome' +} from '../../session/native-chat/composer/mobile-native-chat-send' +import type { StructuredMobileSendAttachment } from '../../session/native-chat/composer/use-mobile-structured-send-with-outcome' import { useMobileImageAttachment } from './use-mobile-image-attachment' import { useMobileNativeChatImageAttachments, diff --git a/mobile/src/files/file-explorer-reply-schema.test.ts b/mobile/src/files/file-explorer-reply-schema.test.ts deleted file mode 100644 index 5e2f02ed212..00000000000 --- a/mobile/src/files/file-explorer-reply-schema.test.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { fileDirectoryEntriesSchema, legacyFileListSchema } from './file-explorer-reply-schema' - -describe('file explorer reply schemas', () => { - it('requires the listing itself to be an array', () => { - expect(fileDirectoryEntriesSchema.safeParse({ entries: [] }).success).toBe(false) - expect(fileDirectoryEntriesSchema.safeParse([]).success).toBe(true) - }) - - it('drops a row the tree cannot place and keeps the rest of the directory', () => { - const parsed = fileDirectoryEntriesSchema.parse([ - { name: 'src', isDirectory: true }, - { isDirectory: false }, - { name: 'readme.md' }, - { name: 'main.ts', isDirectory: false, isSymlink: true } - ]) - expect(parsed.map((entry) => entry.name)).toEqual(['src', 'main.ts']) - }) - - it('salvages isSymlink without dropping the row', () => { - expect( - fileDirectoryEntriesSchema.parse([{ name: 'a', isDirectory: false, isSymlink: 'yes' }])[0] - ?.isSymlink - ).toBeUndefined() - }) - - it('requires the capped list and the note it draws', () => { - const listed = { files: [], truncated: true } - expect(legacyFileListSchema.safeParse(listed).success).toBe(true) - for (const member of ['files', 'truncated'] as const) { - const { [member]: _dropped, ...without } = listed - expect(legacyFileListSchema.safeParse(without).success).toBe(false) - } - }) - - it('drops a legacy row that names no path and keeps the rest', () => { - const parsed = legacyFileListSchema.parse({ - files: [{ relativePath: 'a/b.ts' }, { basename: 'c.ts' }, { relativePath: 4 }], - truncated: false - }) - expect(parsed.files).toEqual([{ relativePath: 'a/b.ts' }]) - }) - - it('passes a newer host member through on a directory row', () => { - expect( - fileDirectoryEntriesSchema.parse([{ name: 'a', isDirectory: false, sizeBytes: 12 }])[0] - ).toMatchObject({ sizeBytes: 12 }) - }) -}) diff --git a/mobile/src/files/file-list-fallback.test.ts b/mobile/src/files/file-list-fallback.test.ts deleted file mode 100644 index 4f26d733081..00000000000 --- a/mobile/src/files/file-list-fallback.test.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { directoryCacheFromFileList } from './file-list-fallback' -import { getDirectoryCacheState } from './file-tree' - -describe('directoryCacheFromFileList', () => { - it('synthesizes every ancestor directory from flat paths', () => { - const cache = directoryCacheFromFileList([ - { relativePath: 'src/lib/util.ts', basename: 'util.ts', kind: 'text' }, - { relativePath: 'src/app.ts', basename: 'app.ts', kind: 'text' }, - { relativePath: 'README.md', basename: 'README.md', kind: 'text' } - ]) - expect(cache['']?.entries).toEqual( - expect.arrayContaining([ - { name: 'src', isDirectory: true }, - { name: 'README.md', isDirectory: false } - ]) - ) - expect(cache['src']?.entries).toEqual( - expect.arrayContaining([ - { name: 'lib', isDirectory: true }, - { name: 'app.ts', isDirectory: false } - ]) - ) - expect(cache['src/lib']?.entries).toEqual([{ name: 'util.ts', isDirectory: false }]) - }) - - it('keeps a name a directory when it appears as both file and dir prefix', () => { - const cache = directoryCacheFromFileList([ - { relativePath: 'src', basename: 'src', kind: 'text' }, - { relativePath: 'src/app.ts', basename: 'app.ts', kind: 'text' } - ]) - expect(cache['']?.entries).toEqual([{ name: 'src', isDirectory: true }]) - }) - - it('returns an empty root for an empty list', () => { - const cache = directoryCacheFromFileList([]) - expect(cache['']?.entries).toEqual([]) - }) - - it('stores a __proto__ directory as an own key instead of mutating the prototype', () => { - const cache = directoryCacheFromFileList([ - { relativePath: '__proto__/pollute.js', basename: 'pollute.js', kind: 'text' } - ]) - expect(Object.getPrototypeOf(cache)).toBe(Object.prototype) - expect(cache['']?.entries).toEqual([{ name: '__proto__', isDirectory: true }]) - expect(getDirectoryCacheState(cache, '__proto__')?.entries).toEqual([ - { name: 'pollute.js', isDirectory: false } - ]) - }) -}) diff --git a/mobile/src/files/file-ownership-reply-schema.test.ts b/mobile/src/files/file-ownership-reply-schema.test.ts deleted file mode 100644 index 27a03cc4d6a..00000000000 --- a/mobile/src/files/file-ownership-reply-schema.test.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - fileOwnershipSshStateSchema, - fileOwnershipWorktreeSchema -} from './file-ownership-reply-schema' - -describe('file ownership reply schemas', () => { - it('keeps the three hostId states distinct', () => { - // Absent captures local; explicit null refuses an unplaceable owner; a string is parsed. - expect(fileOwnershipWorktreeSchema.parse({ worktree: {} })?.hostId).toBeUndefined() - expect(fileOwnershipWorktreeSchema.parse({ worktree: { hostId: null } })?.hostId).toBeNull() - expect(fileOwnershipWorktreeSchema.parse({ worktree: { hostId: 'ssh:a' } })?.hostId).toBe( - 'ssh:a' - ) - }) - - it('refuses a wrong-typed hostId instead of salvaging it to local', () => { - expect(fileOwnershipWorktreeSchema.safeParse({ worktree: { hostId: 7 } }).success).toBe(false) - }) - - it('keeps an unresolved worktree readable as the absent summary main threw on', () => { - expect(fileOwnershipWorktreeSchema.parse({})).toBeUndefined() - expect(fileOwnershipWorktreeSchema.parse({ worktree: null })).toBeNull() - }) - - it('passes the connection generation through and refuses a wrong-typed one', () => { - // The mutation echoes this generation; a client fallback would send a value the host refuses. - expect( - fileOwnershipSshStateSchema.parse({ state: { targetId: 't', connectionGeneration: 3 } }) - ?.connectionGeneration - ).toBe(3) - expect( - fileOwnershipSshStateSchema.safeParse({ state: { targetId: 't', connectionGeneration: '3' } }) - .success - ).toBe(false) - }) - - it('salvages a wrong-typed targetId onto the mismatch main threw', () => { - expect( - fileOwnershipSshStateSchema.parse({ state: { targetId: 7, connectionGeneration: 1 } }) - ?.targetId - ).toBeUndefined() - }) - - it('reads a host holding no connection as the null state it sends', () => { - expect(fileOwnershipSshStateSchema.parse({ state: null })).toBeNull() - expect(fileOwnershipSshStateSchema.parse({})).toBeUndefined() - }) -}) diff --git a/mobile/src/files/file-preview-reply-schema.test.ts b/mobile/src/files/file-preview-reply-schema.test.ts deleted file mode 100644 index 8ba062d83a7..00000000000 --- a/mobile/src/files/file-preview-reply-schema.test.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - filePreviewImageSchema, - filePreviewTextSchema, - terminalPathResolutionSchema -} from './file-preview-reply-schema' - -describe('file preview reply schemas', () => { - it('requires the content the markdown disk fallback publishes unguarded', () => { - expect(filePreviewTextSchema.safeParse({ truncated: false, byteLength: 0 }).success).toBe(false) - expect(filePreviewTextSchema.safeParse({ content: '# readme' }).success).toBe(true) - expect(filePreviewTextSchema.safeParse({ content: 7 }).success).toBe(false) - }) - - it('salvages truncated and byteLength onto the fallbacks main already had', () => { - const parsed = filePreviewTextSchema.parse({ - content: 'body', - truncated: 'yes', - byteLength: 'four' - }) - // Absent truncation is false; unreadable byteLength uses the caller’s content.length fallback. - expect(parsed.truncated).toBeUndefined() - expect(parsed.byteLength).toBeUndefined() - }) - - it('keeps every member of an image preview optional so the host binary arms still render', () => { - // Both are valid host replies: an unpreviewable binary and a path only mobile classified as an image. - expect(filePreviewImageSchema.safeParse({ content: '', isBinary: true }).success).toBe(true) - expect(filePreviewImageSchema.safeParse({ content: 'text', isBinary: false }).success).toBe( - true - ) - }) - - it('salvages an image preview member to the arm main fell back to', () => { - const parsed = filePreviewImageSchema.parse({ - content: 'aGk=', - isImage: 'yes', - mimeType: 7 - }) - expect(parsed.isImage).toBeUndefined() - expect(parsed.mimeType).toBeUndefined() - }) - - it('refuses a preview payload that is not an object', () => { - expect(filePreviewTextSchema.safeParse('# readme').success).toBe(false) - expect(filePreviewImageSchema.safeParse(null).success).toBe(false) - }) - - it('keeps a terminal path resolution readable with every member salvaged', () => { - const parsed = terminalPathResolutionSchema.parse({ - exists: 'yes', - isDirectory: false, - openTarget: { kind: 'absolute-file', absolutePath: '/logs/run.txt', grantId: 'g2' } - }) - expect(parsed.exists).toBeUndefined() - expect(parsed.openTarget?.grantId).toBe('g2') - }) - - it('passes a newer host member through on every preview schema', () => { - expect(filePreviewTextSchema.parse({ content: 'a', encoding: 'utf8' })).toMatchObject({ - encoding: 'utf8' - }) - expect( - filePreviewImageSchema.parse({ content: 'a', imageDimensions: { width: 1 } }) - ).toMatchObject({ imageDimensions: { width: 1 } }) - }) -}) diff --git a/mobile/src/files/file-tab-doc-reply-schema.test.ts b/mobile/src/files/file-tab-doc-reply-schema.test.ts deleted file mode 100644 index 4eedf008f23..00000000000 --- a/mobile/src/files/file-tab-doc-reply-schema.test.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - fileTabBinaryDiffSchema, - fileTabImageSchema, - fileTabTextDiffSchema, - fileTabTextSchema -} from './file-tab-doc-reply-schema' - -describe('file tab doc reply schemas', () => { - it('requires the three members the tab publishes into a ready document', () => { - const ready = { content: 'a', truncated: false, byteLength: 1 } - expect(fileTabTextSchema.safeParse(ready).success).toBe(true) - for (const member of ['content', 'truncated', 'byteLength'] as const) { - const { [member]: _dropped, ...without } = ready - expect(fileTabTextSchema.safeParse(without).success).toBe(false) - } - }) - - it('requires the image content buildImageDataUri calls replace on', () => { - expect(fileTabImageSchema.safeParse({ isImage: true, mimeType: 'image/png' }).success).toBe( - false - ) - }) - - it('keeps an image tab readable for the truthy non-boolean isImage main rendered', () => { - expect(fileTabImageSchema.parse({ content: 'aGk=', isImage: 1 }).isImage).toBe(1) - }) - - it('refuses a wrong-typed mimeType rather than salvaging it', () => { - // Wrong-typed mimeType must fail like the caller’s optional startsWith; salvaging it would change load-error copy to binary-unavailable copy. - expect(fileTabImageSchema.safeParse({ content: 'aGk=', mimeType: 7 }).success).toBe(false) - }) - - it('reads a text diff only when both sides are strings', () => { - const ready = { kind: 'text', originalContent: 'a', modifiedContent: 'b' } - expect(fileTabTextDiffSchema.safeParse(ready).success).toBe(true) - for (const member of ['originalContent', 'modifiedContent'] as const) { - const { [member]: _dropped, ...without } = ready - expect(fileTabTextDiffSchema.safeParse(without).success).toBe(false) - expect(fileTabTextDiffSchema.safeParse({ ...ready, [member]: 7 }).success).toBe(false) - } - }) - - it('routes an unknown diff arm to the binary reader and never the text one', () => { - expect(fileTabBinaryDiffSchema.parse({ kind: 'submodule' }).kind).toBe('binary') - expect(fileTabBinaryDiffSchema.parse({ kind: 'binary' }).kind).toBe('binary') - // Missing text diff content is a reply failure, not evidence of a binary file. - expect(fileTabBinaryDiffSchema.safeParse({ kind: 'text' }).success).toBe(false) - }) - - it('salvages the binary arm members main compared against true', () => { - const parsed = fileTabBinaryDiffSchema.parse({ - kind: 'binary', - isImage: 'yes', - modifiedDeleted: 1, - modifiedContent: 5 - }) - expect(parsed.isImage).toBeUndefined() - expect(parsed.modifiedDeleted).toBeUndefined() - expect(parsed.modifiedContent).toBeUndefined() - }) - - it('passes a newer host member through', () => { - expect( - fileTabTextDiffSchema.parse({ - kind: 'text', - originalContent: 'a', - modifiedContent: 'b', - largeDiffRenderLimit: { lines: 10 } - }) - ).toMatchObject({ largeDiffRenderLimit: { lines: 10 } }) - }) -}) diff --git a/mobile/src/files/mobile-chat-attachment-read.ts b/mobile/src/files/mobile-chat-attachment-read.ts index 5a68f6cc431..c3f2953ff98 100644 --- a/mobile/src/files/mobile-chat-attachment-read.ts +++ b/mobile/src/files/mobile-chat-attachment-read.ts @@ -8,7 +8,7 @@ import { type AttachmentTextRead } from '../../../src/shared/attachment-text/attachment-text-source' import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' // Match the shared wire identifier without importing the host capability aggregate into this route. const AGENT_SESSION_TEXT_ATTACHMENT_READ_CAPABILITY = 'native-chat.text-attachment-read.v1' @@ -23,7 +23,7 @@ const textRead = bindDeferredRpcOperation( }) ) -type AttachmentReaderClient = RpcOperationSender & +type AttachmentReaderClient = UnvalidatedRpcRequestPort & Pick export function createMobileChatAttachmentReader( diff --git a/mobile/src/files/mobile-diff-image-preview.test.ts b/mobile/src/files/mobile-diff-image-preview.test.ts deleted file mode 100644 index 246b45f3159..00000000000 --- a/mobile/src/files/mobile-diff-image-preview.test.ts +++ /dev/null @@ -1,121 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { mobileDiffImageDataUri } from './mobile-diff-image-preview' - -const PNG_BASE64 = - 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAFgwJ/l8sm7wAAAABJRU5ErkJggg==' - -describe('mobileDiffImageDataUri', () => { - it('renders a modified image diff from the post-change bytes', () => { - expect( - mobileDiffImageDataUri({ - kind: 'binary', - originalContent: 'b2xk', - modifiedContent: PNG_BASE64, - isImage: true, - mimeType: 'image/png' - }) - ).toBe(`data:image/png;base64,${PNG_BASE64}`) - }) - - it('renders an added image diff (no original) from the modified bytes', () => { - expect( - mobileDiffImageDataUri({ - kind: 'binary', - originalContent: '', - modifiedContent: PNG_BASE64, - isImage: true, - mimeType: 'image/png' - }) - ).toBe(`data:image/png;base64,${PNG_BASE64}`) - }) - - it('falls back to the original bytes for a proven deletion (modifiedDeleted)', () => { - expect( - mobileDiffImageDataUri({ - kind: 'binary', - originalContent: PNG_BASE64, - originalIsBinary: true, - modifiedContent: '', - modifiedIsBinary: false, - modifiedDeleted: true, - isImage: true, - mimeType: 'image/png' - }) - ).toBe(`data:image/png;base64,${PNG_BASE64}`) - }) - - // Empty modified bytes can mean a relay/SSH read failure; without proven deletion, original bytes would show a stale image. - it('returns null on a read failure (empty modified, no modifiedDeleted flag)', () => { - expect( - mobileDiffImageDataUri({ - kind: 'binary', - originalContent: 'b2xk', - originalIsBinary: true, - modifiedContent: '', - modifiedIsBinary: false, - isImage: true, - mimeType: 'image/png' - }) - ).toBeNull() - }) - - // Size-capped modifications also have empty bytes; do not fall back to the stale original. - it('returns null for a modify whose binary modified side is empty (no stale fallback)', () => { - expect( - mobileDiffImageDataUri({ - kind: 'binary', - originalContent: 'b2xk', - originalIsBinary: true, - modifiedContent: '', - modifiedIsBinary: true, - isImage: true, - mimeType: 'image/png' - }) - ).toBeNull() - }) - - it('returns null for a non-previewable binary (no isImage/mimeType)', () => { - expect( - mobileDiffImageDataUri({ - kind: 'binary', - originalContent: '', - modifiedContent: 'AAAA' - }) - ).toBeNull() - }) - - it('returns null when flagged as image but carrying no bytes', () => { - expect( - mobileDiffImageDataUri({ - kind: 'binary', - originalContent: '', - modifiedContent: '', - isImage: true, - mimeType: 'image/png' - }) - ).toBeNull() - }) - - it('returns null for application/pdf even when flagged as previewable', () => { - expect( - mobileDiffImageDataUri({ - kind: 'binary', - originalContent: '', - modifiedContent: 'JVBER', - isImage: true, - mimeType: 'application/pdf' - }) - ).toBeNull() - }) - - it('returns null when flagged as image but mimeType is missing', () => { - expect( - mobileDiffImageDataUri({ - kind: 'binary', - originalContent: '', - modifiedContent: 'bmV3', - isImage: true - }) - ).toBeNull() - }) -}) diff --git a/mobile/src/files/mobile-file-path-route-encoding.test.ts b/mobile/src/files/mobile-file-path-route-encoding.test.ts index bcc2eacf084..08819e37998 100644 --- a/mobile/src/files/mobile-file-path-route-encoding.test.ts +++ b/mobile/src/files/mobile-file-path-route-encoding.test.ts @@ -1,12 +1,8 @@ import { describe, expect, it } from 'vitest' -import { - BRIDGE_ROUTE_HREF_PATTERN, - BRIDGE_ROUTE_PATHNAME_PATTERN -} from '../mobile-web-shell/bridge/bridge-caps' -import { shellRouteHref } from '../mobile-web-shell/bridge/page-bootstrap' +import { BRIDGE_ROUTE_HREF_PATTERN } from '../mobile-web-shell/bridge/bridge-caps' + import { stringifyRouteHref } from '../navigation/route-href' import { createMobileFilePreviewHref } from './mobile-file-preview-route' -import { shellScreenRoute } from '../mobile-web-shell/shell-screen-route' const HAZARD_PATHS = [ 'src/my file.ts', @@ -29,24 +25,6 @@ function relativePathFromHref(href: string): string | null { } describe.each(HAZARD_PATHS)('a file path the route carries: %s', (relativePath) => { - it('is a route the page can be given, and a pathname with no path in it', () => { - const route = shellScreenRoute({ - pathname: '/h/host-1/files/preview/wt-1', - params: { relativePath, source: 'worktree' } - }) - expect(route).not.toBeNull() - expect(BRIDGE_ROUTE_PATHNAME_PATTERN.test(route?.pathname ?? '')).toBe(true) - }) - - it('survives the href the shell writes into the page history', () => { - const href = shellRouteHref({ - pathname: '/h/host-1/files/preview/wt-1', - params: { relativePath, source: 'worktree' } - }) - expect(BRIDGE_ROUTE_HREF_PATTERN.test(href)).toBe(true) - expect(relativePathFromHref(href)).toBe(relativePath) - }) - it('survives the href the page would hand back to the shell', () => { const href = stringifyRouteHref( createMobileFilePreviewHref({ @@ -60,20 +38,3 @@ describe.each(HAZARD_PATHS)('a file path the route carries: %s', (relativePath) expect(relativePathFromHref(href)).toBe(relativePath) }) }) - -describe('what the route vocabulary does refuse', () => { - it('refuses the same path spelled as a segment, which is why it never is one', () => { - // Prove these inputs fail segment validation; otherwise the encoding cases above establish no protection. - for (const relativePath of ['../etc/passwd', 'src/my file.ts', 'a#b.ts']) { - expect(BRIDGE_ROUTE_PATHNAME_PATTERN.test(`/h/host-1/files/preview/${relativePath}`)).toBe( - false - ) - } - }) - - it('refuses a fragment even in the query half, so a path carrying one has to be encoded', () => { - expect(BRIDGE_ROUTE_HREF_PATTERN.test('/h/host-1/files/preview/wt-1?relativePath=a#b.ts')).toBe( - false - ) - }) -}) diff --git a/mobile/src/files/mobile-file-preview-line-column.test.ts b/mobile/src/files/mobile-file-preview-line-column.test.ts deleted file mode 100644 index 460d8c8219f..00000000000 --- a/mobile/src/files/mobile-file-preview-line-column.test.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - normalizeMobileFilePreviewLineColumn, - scrollOffsetForPreviewLine, - textOffsetForLineColumn -} from './mobile-file-preview-line-column' - -describe('mobile-file-preview-line-column', () => { - it('normalizes positive route params and rejects invalid lines', () => { - expect(normalizeMobileFilePreviewLineColumn('12', '3')).toEqual({ line: 12, column: 3 }) - expect(normalizeMobileFilePreviewLineColumn('12', undefined)).toEqual({ - line: 12, - column: null - }) - expect(normalizeMobileFilePreviewLineColumn('0', '3')).toBeNull() - expect(normalizeMobileFilePreviewLineColumn('12x', '3')).toBeNull() - expect(normalizeMobileFilePreviewLineColumn(undefined, '3')).toBeNull() - }) - - it('converts one-based line and column values to a text offset', () => { - const content = 'alpha\nbravo\ncharlie' - - expect(textOffsetForLineColumn(content, { line: 1, column: 1 })).toBe(0) - expect(textOffsetForLineColumn(content, { line: 2, column: 3 })).toBe(8) - expect(textOffsetForLineColumn(content, { line: 3, column: null })).toBe(12) - }) - - it('caps out-of-range line and column values safely', () => { - const content = 'alpha\nbravo' - - expect(textOffsetForLineColumn(content, { line: 99, column: 1 })).toBe(content.length) - expect(textOffsetForLineColumn(content, { line: 1, column: 99 })).toBe(5) - }) - - it('maps line numbers to the mono preview scroll offset', () => { - expect(scrollOffsetForPreviewLine(1)).toBe(0) - expect(scrollOffsetForPreviewLine(4)).toBe(57) - }) -}) diff --git a/mobile/src/files/mobile-file-preview-navigation.test.ts b/mobile/src/files/mobile-file-preview-navigation.test.ts index c9667bef024..ccb5a23dab1 100644 --- a/mobile/src/files/mobile-file-preview-navigation.test.ts +++ b/mobile/src/files/mobile-file-preview-navigation.test.ts @@ -1,8 +1,5 @@ import { describe, expect, it, vi } from 'vitest' -import { - canPreviewMobileFileRow, - navigateToMobileFilePreview -} from './mobile-file-preview-navigation' +import { navigateToMobileFilePreview } from './mobile-file-preview-navigation' describe('mobile-file-preview-navigation', () => { it('pushes the file route before closing the embedded explorer on scheduler delivery', () => { @@ -34,30 +31,4 @@ describe('mobile-file-preview-navigation', () => { scheduleClose.mock.calls[0]?.[0]() expect(events).toEqual(['push', 'schedule', 'close']) }) - - it.each([ - 'mp4', - 'MOV', - 'm4v', - 'webm', - 'mp3', - 'wav', - 'm4a', - 'aac', - 'ogg', - 'oga', - 'flac', - 'opus', - 'pdf' - ])('opens %s files from the explorer', (extension) => { - expect( - canPreviewMobileFileRow({ kind: 'binary', relativePath: `media/demo.${extension}` }) - ).toBe(true) - }) - - it('keeps non-image binary rows disabled while previewing text and raster images', () => { - expect(canPreviewMobileFileRow({ kind: 'text', relativePath: 'src/app.ts' })).toBe(true) - expect(canPreviewMobileFileRow({ kind: 'binary', relativePath: 'assets/logo.webp' })).toBe(true) - expect(canPreviewMobileFileRow({ kind: 'binary', relativePath: 'archive.zip' })).toBe(false) - }) }) diff --git a/mobile/src/files/mobile-file-preview-route.test.ts b/mobile/src/files/mobile-file-preview-route.test.ts deleted file mode 100644 index 1198c880de0..00000000000 --- a/mobile/src/files/mobile-file-preview-route.test.ts +++ /dev/null @@ -1,166 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - displayNameFromPreviewPath, - mobileFilePreviewShellParams, - normalizeMobileFilePreviewRouteParams -} from './mobile-file-preview-route' - -describe('mobile-file-preview-route', () => { - it('normalizes valid route params without changing encoded-sensitive path characters', () => { - const relativePath = 'docs/a #b?c%25 d\\note.md' - const route = normalizeMobileFilePreviewRouteParams({ - hostId: 'host-1', - worktreeId: 'wt-1', - relativePath, - name: 'note.md', - worktreeName: 'Orca' - }) - - expect(route).toEqual({ - ok: true, - params: { - hostId: 'host-1', - worktreeId: 'wt-1', - relativePath, - source: 'worktree', - line: undefined, - column: undefined, - name: 'note.md', - worktreeName: 'Orca' - } - }) - }) - - it('normalizes worktree preview line and column params', () => { - const route = normalizeMobileFilePreviewRouteParams({ - hostId: 'host-1', - worktreeId: 'wt-1', - relativePath: 'src/app.ts', - line: '120', - column: '7' - }) - - expect(route).toEqual({ - ok: true, - params: { - hostId: 'host-1', - worktreeId: 'wt-1', - relativePath: 'src/app.ts', - source: 'worktree', - line: '120', - column: '7', - name: undefined, - worktreeName: undefined - } - }) - }) - - it('normalizes terminal artifact params without requiring a relative path', () => { - const route = normalizeMobileFilePreviewRouteParams({ - hostId: 'host-1', - worktreeId: 'wt-1', - source: 'terminalArtifact', - absolutePath: '/tmp/result.json', - grantId: 'grant-1', - terminal: 'term-1', - pathText: 'result.json', - cwd: '/tmp/run', - nativeChatTab: 'tab-1', - nativeChatSession: 'session-1', - line: '12', - column: '3' - }) - - expect(route).toEqual({ - ok: true, - params: { - hostId: 'host-1', - worktreeId: 'wt-1', - source: 'terminalArtifact', - absolutePath: '/tmp/result.json', - grantId: 'grant-1', - terminal: 'term-1', - pathText: 'result.json', - cwd: '/tmp/run', - nativeChatTab: 'tab-1', - nativeChatSession: 'session-1', - line: '12', - column: '3' - } - }) - }) - - it('rejects missing, empty, or array-valued required params', () => { - expect(normalizeMobileFilePreviewRouteParams({ hostId: 'h', worktreeId: 'w' })).toEqual({ - ok: false, - message: 'Unable to load preview' - }) - expect( - normalizeMobileFilePreviewRouteParams({ - hostId: 'h', - worktreeId: 'w', - relativePath: '' - }) - ).toEqual({ ok: false, message: 'Unable to load preview' }) - expect( - normalizeMobileFilePreviewRouteParams({ - hostId: 'h', - worktreeId: 'w', - relativePath: ['a.ts', 'b.ts'] - }) - ).toEqual({ ok: false, message: 'Unable to load preview' }) - }) - - it('hands the shell every param but the two the pathname spells as segments', () => { - expect( - mobileFilePreviewShellParams({ - hostId: 'host-1', - worktreeId: 'wt-1', - relativePath: 'docs/my notes/readme.md', - source: 'worktree', - line: '12' - }) - ).toEqual({ relativePath: 'docs/my notes/readme.md', source: 'worktree', line: '12' }) - }) - - it('leaves an absent param out rather than sending it empty', () => { - // Use the real normalizer, which emits optional keys as undefined; a hand-written literal would miss this case. - // Omit absent params: the page distinguishes missing line (open at top) from line:"" (scroll nowhere). - const route = normalizeMobileFilePreviewRouteParams({ - hostId: 'host-1', - worktreeId: 'wt-1', - relativePath: 'readme.md' - }) - if (!route.ok) { - throw new Error(route.message) - } - expect('line' in route.params).toBe(true) - expect(mobileFilePreviewShellParams(route.params)).toEqual({ - relativePath: 'readme.md', - source: 'worktree' - }) - }) - - it('carries a terminal artifact by its absolute path, which is not a segment either', () => { - expect( - mobileFilePreviewShellParams({ - hostId: 'host-1', - worktreeId: 'wt-1', - source: 'terminalArtifact', - absolutePath: '/logs/run 1.txt', - grantId: 'grant-1', - cwd: '/logs' - }) - ).toEqual({ - source: 'terminalArtifact', - absolutePath: '/logs/run 1.txt', - grantId: 'grant-1', - cwd: '/logs' - }) - }) - - it('derives display names from slash or backslash paths only for display', () => { - expect(displayNameFromPreviewPath('src/app.ts')).toBe('app.ts') - expect(displayNameFromPreviewPath('src\\app.ts')).toBe('app.ts') - }) -}) diff --git a/mobile/src/files/mobile-markdown-image-source.test.ts b/mobile/src/files/mobile-markdown-image-source.test.ts index 79513b3a77f..547969f1852 100644 --- a/mobile/src/files/mobile-markdown-image-source.test.ts +++ b/mobile/src/files/mobile-markdown-image-source.test.ts @@ -54,12 +54,4 @@ describe('Markdown preview images', () => { expect(client.sendRequest).not.toHaveBeenCalled() } ) - - it('lets native Image load public URLs without sending them to the workspace host', async () => { - const client = host() - await expect( - loadMarkdownPreviewImage(client, 'wt', 'readme.md', 'https://example.com/a.png') - ).resolves.toBe('https://example.com/a.png') - expect(client.sendRequest).not.toHaveBeenCalled() - }) }) diff --git a/mobile/src/files/native-chat-file-search-operations.ts b/mobile/src/files/native-chat-file-search-operations.ts index 44192e60de9..8f39e7d5873 100644 --- a/mobile/src/files/native-chat-file-search-operations.ts +++ b/mobile/src/files/native-chat-file-search-operations.ts @@ -2,13 +2,6 @@ import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc/r import { rpcResultVariant } from '../transport/rpc/rpc-operation-result-reader' import '../terminal/terminal-reply-schema' import { workspaceFilePathsSchema } from './workspace-file-paths-reply-schema' -import '../session/agent-launch/mobile-agent-detection-reply-schema' -import './session-documents/mobile-markdown-tab-reply-schema' -import '../transport/rpc/rpc-uninterpreted-reply-schemas' -import '../terminal/session/mobile-session-terminal-reply-schema' -import '../worktree/session-worktree-record-reply-schema' -import '../session/native-chat/composer/mobile-native-chat-skill-reply-schema' -import '../terminal/quick-commands/mobile-quick-command-reply-schema' // Skip refusals to retain suggestions; inspect method_not_found first to fall back from search to inventory. export const nativeChatFileSearchRead = bindDeferredRpcOperation( diff --git a/mobile/src/files/session-documents/mobile-file-syntax.ts b/mobile/src/files/session-documents/mobile-file-syntax.ts index 3bc9bc7a35a..ad87f3f1ff3 100644 --- a/mobile/src/files/session-documents/mobile-file-syntax.ts +++ b/mobile/src/files/session-documents/mobile-file-syntax.ts @@ -11,6 +11,7 @@ export type MobileSyntaxTokenKind = | 'function' | 'variable' | 'meta' + | 'tag' export type MobileSyntaxSegment = { text: string @@ -184,28 +185,35 @@ function tokenKindForClasses(className: unknown): MobileSyntaxTokenKind | null { : [] const tokens = new Set(classes.map((value) => value.replace(/^hljs-/, ''))) + // Buckets follow highlight.js's GitHub theme, except `attr` (JSON/YAML keys) is green as on github.com. + if (tokens.has('subst')) { + return 'plain' + } if (hasAny(tokens, ['comment', 'quote'])) { return 'comment' } - if (hasAny(tokens, ['keyword', 'selector-tag', 'tag', 'name'])) { + if (hasAny(tokens, ['keyword', 'doctag', 'template-tag', 'language_'])) { return 'keyword' } + if (hasAny(tokens, ['name', 'selector-tag', 'selector-pseudo', 'attr'])) { + return 'tag' + } if (hasAny(tokens, ['string', 'regexp', 'symbol', 'bullet'])) { return 'string' } - if (hasAny(tokens, ['number', 'literal'])) { + if (hasAny(tokens, ['number', 'literal', 'attribute', 'selector-class', 'selector-id'])) { return 'number' } - if (hasAny(tokens, ['type', 'built_in', 'class', 'title.class'])) { + if (hasAny(tokens, ['type', 'built_in'])) { return 'type' } - if (hasAny(tokens, ['title.function', 'function', 'title'])) { + if (hasAny(tokens, ['title', 'function'])) { return 'function' } - if (hasAny(tokens, ['attr', 'attribute', 'property', 'variable', 'params'])) { + if (hasAny(tokens, ['variable', 'template-variable'])) { return 'variable' } - if (hasAny(tokens, ['meta', 'doctag', 'subst', 'section'])) { + if (hasAny(tokens, ['meta', 'section'])) { return 'meta' } return null diff --git a/mobile/src/files/session-documents/mobile-file-tap-open.ts b/mobile/src/files/session-documents/mobile-file-tap-open.ts index 67a654ee852..cabeebe5a3d 100644 --- a/mobile/src/files/session-documents/mobile-file-tap-open.ts +++ b/mobile/src/files/session-documents/mobile-file-tap-open.ts @@ -12,7 +12,7 @@ import { type OpenedMobileSessionTabActivationState } from '../../session/tabs/opened-mobile-session-tab' import { isRendererUnavailableReply } from '../../transport/rpc/renderer-unavailable-reply' -import type { RpcOperationSender } from '../../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../../transport/rpc/unvalidated-rpc-request-port' import type { RpcResponse } from '../../transport/rpc/rpc-wire-types' // Hard-wrap guesses can number in the hundreds; stay far below the page bridge's 64 pending requests. @@ -30,7 +30,7 @@ export type MobileFileTapFailure = { } export type OpenMobileFileTapOptions = { - client: RpcOperationSender + client: UnvalidatedRpcRequestPort hostId: string worktreeId: string worktreeName?: string diff --git a/mobile/src/files/session-documents/mobile-file-tap-operations.ts b/mobile/src/files/session-documents/mobile-file-tap-operations.ts index ce347a864c1..d4da628703a 100644 --- a/mobile/src/files/session-documents/mobile-file-tap-operations.ts +++ b/mobile/src/files/session-documents/mobile-file-tap-operations.ts @@ -4,7 +4,6 @@ import '../mobile-file-preview-operations' import { fileTapOpenedSchema } from './mobile-file-tap-reply-schema' import '../../agent-history/mobile-ai-vault-resume-reply-schema' import '../../browser/mobile-session-browser-reply-schema' -import '../../transport/rpc/rpc-uninterpreted-reply-schemas' // Best-effort taps skip refused opens; explicit Changes-screen opens instead show the host error. export const fileTapOpenRun = bindDeferredRpcOperation( diff --git a/mobile/src/files/session-documents/mobile-markdown-tab-operations.ts b/mobile/src/files/session-documents/mobile-markdown-tab-operations.ts index 6978b9515cf..2d3d4a336d6 100644 --- a/mobile/src/files/session-documents/mobile-markdown-tab-operations.ts +++ b/mobile/src/files/session-documents/mobile-markdown-tab-operations.ts @@ -19,13 +19,6 @@ export const sessionMarkdownNoteCreate = bindDeferredRpcOperation( import '../../terminal/terminal-reply-schema' import { markdownTabDocumentSchema } from './mobile-markdown-tab-reply-schema' -import '../../session/agent-launch/mobile-agent-detection-reply-schema' - -import '../../terminal/session/mobile-session-terminal-reply-schema' -import '../../worktree/session-worktree-record-reply-schema' -import '../../session/native-chat/composer/mobile-native-chat-skill-reply-schema' -import '../../terminal/quick-commands/mobile-quick-command-reply-schema' -import '../workspace-file-paths-reply-schema' // Inspect renderer_unavailable before interpretation so headless hosts can fall back to disk. export const markdownTabRead = bindDeferredRpcOperation( @@ -38,8 +31,6 @@ export const markdownTabRead = bindDeferredRpcOperation( }) ) -import '../../session/tabs/mobile-session-tab-write-reply-schema' - import '../../terminal/quick-commands/mobile-quick-command-operations' export const markdownTabSave = bindDeferredRpcOperation( diff --git a/mobile/src/files/session-documents/mobile-session-reader-styles.ts b/mobile/src/files/session-documents/mobile-session-reader-styles.ts index bc5d1519e1a..ebc74564da4 100644 --- a/mobile/src/files/session-documents/mobile-session-reader-styles.ts +++ b/mobile/src/files/session-documents/mobile-session-reader-styles.ts @@ -1,4 +1,4 @@ -import { Platform, StyleSheet } from 'react-native' +import { StyleSheet } from 'react-native' import { colors, spacing, radii, typography } from '../../theme/mobile-theme' import { themedStyleSheet } from '../../theme/themed-styles' @@ -14,7 +14,7 @@ export const mobileSessionReaderStyles = themedStyleSheet(() => ({ paddingBottom: spacing.xl * 3, fontSize: typography.bodySize, lineHeight: 22, - fontFamily: Platform.select({ ios: 'Menlo', android: 'monospace', default: 'monospace' }) + fontFamily: typography.monoFamily }, filePreviewScroll: { flex: 1, @@ -30,7 +30,7 @@ export const mobileSessionReaderStyles = themedStyleSheet(() => ({ color: colors.textPrimary, fontSize: typography.bodySize, lineHeight: 22, - fontFamily: Platform.select({ ios: 'Menlo', android: 'monospace', default: 'monospace' }) + fontFamily: typography.monoFamily }, imagePreviewContainer: { flex: 1, @@ -106,14 +106,14 @@ export const mobileSessionReaderStyles = themedStyleSheet(() => ({ color: colors.textMuted, fontSize: typography.metaSize, lineHeight: 22, - fontFamily: Platform.select({ ios: 'Menlo', android: 'monospace', default: 'monospace' }) + fontFamily: typography.monoFamily }, diffText: { flex: 1, color: colors.textPrimary, fontSize: typography.bodySize, lineHeight: 22, - fontFamily: Platform.select({ ios: 'Menlo', android: 'monospace', default: 'monospace' }) + fontFamily: typography.monoFamily }, diffPrefix: { color: colors.textMuted diff --git a/mobile/src/files/session-documents/use-mobile-file-tap-handlers.ts b/mobile/src/files/session-documents/use-mobile-file-tap-handlers.ts index ff6dfc7ddfd..31752b15f51 100644 --- a/mobile/src/files/session-documents/use-mobile-file-tap-handlers.ts +++ b/mobile/src/files/session-documents/use-mobile-file-tap-handlers.ts @@ -6,10 +6,10 @@ import { useWorkspaceRouteHandoff } from '../../navigation/workspace-route-hando import { triggerSelection } from '../../platform/haptics' import { openMobileFileTap, type FileTapSessionTab } from './mobile-file-tap-open' import { openMobileNativeChatFileTap } from '../../session/native-chat/visual/mobile-native-chat-open-file' -import type { RpcOperationSender } from '../../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../../transport/rpc/unvalidated-rpc-request-port' type MobileFileTapHandlerOptions = { - client: RpcOperationSender | null + client: UnvalidatedRpcRequestPort | null hostId: string worktreeId: string worktreeName?: string diff --git a/mobile/src/home/MobileHomeActiveAgents.tsx b/mobile/src/home/MobileHomeActiveAgents.tsx new file mode 100644 index 00000000000..a8f41a222b0 --- /dev/null +++ b/mobile/src/home/MobileHomeActiveAgents.tsx @@ -0,0 +1,43 @@ +import { memo } from 'react' +import type { AgentListRow } from '../agents/agent-list-rows' +import { MobileAgentListRows, type AgentListRowHandlers } from '../agents/MobileAgentListRows' +import { useMobileTranslation } from '../i18n/use-mobile-translation' +import type { HostProfile } from '../host-catalog/host-profile' +import { areStructurallyEqual } from '../worktree/structural-equality' +import { MobileHomeSectionHeading } from './MobileHomeSectionHeading' + +// Enough to act on without pushing Desktops off the first screen; the Agents tab has the rest. +const ACTIVE_ROWS_SHOWN = 3 + +/** Feed's short list of agents waiting on the user or working, those waiting first; hidden when none are. */ +export const MobileHomeActiveAgents = memo(function MobileHomeActiveAgents(props: { + handlers: AgentListRowHandlers + rows: readonly AgentListRow[] + hosts: readonly HostProfile[] + now: number + onSeeAll: () => void +}) { + const t = useMobileTranslation() + if (props.rows.length === 0) { + return null + } + return ( + <> + + 1} + hosts={props.hosts} + now={props.now} + handlers={props.handlers} + /> + + ) +}, areStructurallyEqual) diff --git a/mobile/src/home/MobileHomeDesktopRow.tsx b/mobile/src/home/MobileHomeDesktopRow.tsx index 2d8786ddb8a..71fb2e14a4a 100644 --- a/mobile/src/home/MobileHomeDesktopRow.tsx +++ b/mobile/src/home/MobileHomeDesktopRow.tsx @@ -6,10 +6,10 @@ import { statusDotColor } from '../components/StatusDot' import type { ConnectionVerdict } from '../transport/connection/connection-health' import { verdictDisplayLabel } from '../transport/connection/connection-health' import { mobileConnectionPathAccessibilityLabel } from '../transport/connection/mobile-connection-path-label' -import { useHostDisplay } from '../transport/hosts/use-host-display' +import { useHostDisplay } from '../host-descriptors/use-host-display' import type { MobileConnectionPath } from '../transport/connection/stable-logical-rpc-client' import type { ConnectionState } from '../transport/connection/connection-state' -import type { HostCatalogEntry, HostProfile } from '../transport/hosts/host-profile' +import type { HostCatalogEntry, HostProfile } from '../host-catalog/host-profile' import { colors } from '../theme/mobile-theme' import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' import { homeHostWorktreeSummary, type HostWorktreeInfo } from '../worktree/home-worktree-info' diff --git a/mobile/src/home/MobileHomeHostList.tsx b/mobile/src/home/MobileHomeHostList.tsx index ad442bc3472..f336850241d 100644 --- a/mobile/src/home/MobileHomeHostList.tsx +++ b/mobile/src/home/MobileHomeHostList.tsx @@ -7,7 +7,7 @@ import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' import { classifyConnection } from '../transport/connection/connection-health' import { resolveHomeHostConnectionState } from '../transport/hosts/home-host-auto-connect' import type { ConnectionState } from '../transport/connection/connection-state' -import type { HostCatalogEntry } from '../transport/hosts/host-profile' +import type { HostCatalogEntry } from '../host-catalog/host-profile' import type { HostWorktreeInfo } from '../worktree/home-worktree-info' import type { HomeHostConnections } from './home-host-connection-projection' import { homeListStyles } from './home-list-styles' diff --git a/mobile/src/home/MobileHomeNeedsYou.tsx b/mobile/src/home/MobileHomeNeedsYou.tsx deleted file mode 100644 index e31ca0db5c1..00000000000 --- a/mobile/src/home/MobileHomeNeedsYou.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import { memo } from 'react' -import type { AgentListRow } from '../agents/agent-list-rows' -import { MobileAgentListRows, type AgentListRowHandlers } from '../agents/MobileAgentListRows' -import { useMobileTranslation } from '../i18n/use-mobile-translation' -import type { HostProfile } from '../transport/hosts/host-profile' -import { areStructurallyEqual } from '../worktree/structural-equality' -import { MobileHomeSectionHeading } from './MobileHomeSectionHeading' - -// Enough to act on without pushing Desktops off the first screen; the Agents tab has the rest. -const NEEDS_YOU_ROWS_SHOWN = 3 - -/** Feed's short list of agents waiting on the user; hidden when none are. */ -export const MobileHomeNeedsYou = memo(function MobileHomeNeedsYou(props: { - handlers: AgentListRowHandlers - rows: readonly AgentListRow[] - hosts: readonly HostProfile[] - now: number - onSeeAll: () => void -}) { - const t = useMobileTranslation() - if (props.rows.length === 0) { - return null - } - return ( - <> - - 1} - hosts={props.hosts} - now={props.now} - handlers={props.handlers} - /> - - ) -}, areStructurallyEqual) diff --git a/mobile/src/home/MobileHomeScreen.tsx b/mobile/src/home/MobileHomeScreen.tsx index b54010f1322..048b43c3ee9 100644 --- a/mobile/src/home/MobileHomeScreen.tsx +++ b/mobile/src/home/MobileHomeScreen.tsx @@ -23,9 +23,9 @@ import { } from '../transport/connection/host-client-hooks' import { hostEndpointLabel } from '../transport/hosts/host-endpoint-label' import { resolveHomeHostConnectionState } from '../transport/hosts/home-host-auto-connect' -import { removeHostAndCloseClient } from '../transport/hosts/host-removal-lifecycle' -import { loadHostCatalog } from '../transport/hosts/host-store' -import type { HostCatalogEntry, HostProfile } from '../transport/hosts/host-profile' +import { removeHostAndCloseClient } from '../host-catalog/host-removal-lifecycle' +import { loadHostCatalog } from '../host-catalog/host-store' +import type { HostCatalogEntry, HostProfile } from '../host-catalog/host-profile' import { useOpenMobileHostEdit } from '../host-screen/use-open-mobile-host-edit' import { mobileConnectionPathLabel } from '../transport/connection/mobile-connection-path-label' import { newWorkspaceOverlayHref } from '../new-workspace/new-workspace-overlay-route' diff --git a/mobile/src/home/MobileHomeTasksSection.tsx b/mobile/src/home/MobileHomeTasksSection.tsx index 8df195fc8b7..cb695351164 100644 --- a/mobile/src/home/MobileHomeTasksSection.tsx +++ b/mobile/src/home/MobileHomeTasksSection.tsx @@ -6,7 +6,7 @@ import { PickerModal } from '../components/PickerModal' import { useConnectedHostPicker } from '../components/use-connected-host-picker' import { colors } from '../theme/mobile-theme' import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' -import type { HostProfile } from '../transport/hosts/host-profile' +import type { HostProfile } from '../host-catalog/host-profile' import { homeListStyles as styles } from './home-list-styles' type HomeHostSectionProps = { diff --git a/mobile/src/home/mobile-home-connection-state.ts b/mobile/src/home/mobile-home-connection-state.ts index 39353be62dd..03e3b95cf9e 100644 --- a/mobile/src/home/mobile-home-connection-state.ts +++ b/mobile/src/home/mobile-home-connection-state.ts @@ -1,6 +1,6 @@ import type { RpcClient } from '../transport/rpc/rpc-client-contract' import type { ConnectionState } from '../transport/connection/connection-state' -import type { HostCatalogEntry } from '../transport/hosts/host-profile' +import type { HostCatalogEntry } from '../host-catalog/host-profile' export type MobileHomeClientEntry = { hostId: string diff --git a/mobile/src/home/tabs/MobileHomeAgentsDesktopFilter.tsx b/mobile/src/home/tabs/MobileHomeAgentsDesktopFilter.tsx index 04b40720156..778dcb1a621 100644 --- a/mobile/src/home/tabs/MobileHomeAgentsDesktopFilter.tsx +++ b/mobile/src/home/tabs/MobileHomeAgentsDesktopFilter.tsx @@ -7,8 +7,8 @@ import type { Translate } from '../../i18n/mobile-i18n' import { useMobileTranslation } from '../../i18n/use-mobile-translation' import { colors } from '../../theme/mobile-theme' import { useMobileColorScheme } from '../../theme/use-mobile-color-scheme' -import type { HostProfile } from '../../transport/hosts/host-profile' -import { useHostDisplay } from '../../transport/hosts/use-host-display' +import type { HostProfile } from '../../host-catalog/host-profile' +import { useHostDisplay } from '../../host-descriptors/use-host-display' import { MobileHomePill } from './MobileHomeHostPill' const ALL_DESKTOPS = '__all__' diff --git a/mobile/src/home/tabs/MobileHomeAgentsTab.tsx b/mobile/src/home/tabs/MobileHomeAgentsTab.tsx index c31b8a37079..e1029611889 100644 --- a/mobile/src/home/tabs/MobileHomeAgentsTab.tsx +++ b/mobile/src/home/tabs/MobileHomeAgentsTab.tsx @@ -29,8 +29,8 @@ import { useSerializedStoredState } from '../../storage/use-serialized-stored-st import { colors, spacing } from '../../theme/mobile-theme' import { themedStyleSheet } from '../../theme/themed-styles' import { useMobileColorScheme } from '../../theme/use-mobile-color-scheme' -import type { HostProfile } from '../../transport/hosts/host-profile' -import { useHostDisplay } from '../../transport/hosts/use-host-display' +import type { HostProfile } from '../../host-catalog/host-profile' +import { useHostDisplay } from '../../host-descriptors/use-host-display' import { formatTimeAgo } from '../../worktree/agent-row-display' import { homeListStyles } from '../home-list-styles' import { MobileHomeSectionHeading } from '../MobileHomeSectionHeading' diff --git a/mobile/src/home/tabs/MobileHomeAutomationsTab.tsx b/mobile/src/home/tabs/MobileHomeAutomationsTab.tsx index b385ac496eb..eeda1071407 100644 --- a/mobile/src/home/tabs/MobileHomeAutomationsTab.tsx +++ b/mobile/src/home/tabs/MobileHomeAutomationsTab.tsx @@ -20,8 +20,8 @@ import { themedStyleSheet } from '../../theme/themed-styles' import { useMobileColorScheme } from '../../theme/use-mobile-color-scheme' import { useHostClient } from '../../transport/connection/host-client-hooks' import type { ConnectionState } from '../../transport/connection/connection-state' -import type { HostProfile } from '../../transport/hosts/host-profile' -import { useHostDisplay } from '../../transport/hosts/use-host-display' +import type { HostProfile } from '../../host-catalog/host-profile' +import { useHostDisplay } from '../../host-descriptors/use-host-display' import { homeListStyles as list } from '../home-list-styles' import { MobileHomeSectionHeading } from '../MobileHomeSectionHeading' import { MobileHomeAutomationRow, MobileHomeAutomationRunRow } from './MobileHomeAutomationRows' diff --git a/mobile/src/home/tabs/MobileHomeFeedTab.tsx b/mobile/src/home/tabs/MobileHomeFeedTab.tsx index 68e1d7ad013..3ba20626d9a 100644 --- a/mobile/src/home/tabs/MobileHomeFeedTab.tsx +++ b/mobile/src/home/tabs/MobileHomeFeedTab.tsx @@ -4,16 +4,16 @@ import { useResponsiveLayout } from '../../layout/responsive-layout' import { spacing } from '../../theme/mobile-theme' import { themedStyleSheet } from '../../theme/themed-styles' import type { AgentListRowHandlers } from '../../agents/MobileAgentListRows' -import type { HostCatalogEntry } from '../../transport/hosts/host-profile' +import type { HostCatalogEntry } from '../../host-catalog/host-profile' import { MobileHomeAppUpdateCard } from '../MobileHomeAppUpdateCard' import { MobileHomeEmptyState } from '../MobileHomeEmptyState' import { MobileHomeHostList } from '../MobileHomeHostList' -import { MobileHomeNeedsYou } from '../MobileHomeNeedsYou' +import { MobileHomeActiveAgents } from '../MobileHomeActiveAgents' import { MobileHomeTasksSection } from '../MobileHomeTasksSection' import type { MobileHomeData } from '../use-mobile-home-data' import { MobileHomeTabHeader } from './MobileHomeTabHeader' -/** Home's first tab: agents that need you, the desktops, and Tasks. */ +/** Home's first tab: agents that need you or are working, the desktops, and Tasks. */ export function MobileHomeFeedTab(props: { data: MobileHomeData bottomInset: number @@ -42,7 +42,7 @@ export function MobileHomeFeedTab(props: { /> ) } - const needsYou = data.agentsNeedingYou.length > 0 + const hasActiveAgents = data.activeAgents.length > 0 return ( <> {title} @@ -53,8 +53,8 @@ export function MobileHomeFeedTab(props: { isWideLayout && { maxWidth: contentMaxWidth, width: '100%', alignSelf: 'center' } ]} > - selectAgentsNeedingYou(agentList), [agentList]) + const activeAgents = useMemo(() => selectActiveAgents(agentList), [agentList]) const needsYouByHost = useMemo( () => countAgentsNeedingYouByHost(agentsNeedingYou), [agentsNeedingYou] @@ -274,6 +276,7 @@ export function useMobileHomeData() { ...connections, accountsByHost, applyAgentActivity: agentActivity.apply, + activeAgents, agentList, agentsNeedingYou, connectedHosts, diff --git a/mobile/src/home/use-mobile-home-host-connections.ts b/mobile/src/home/use-mobile-home-host-connections.ts index 11b26c25c46..cb5838a8510 100644 --- a/mobile/src/home/use-mobile-home-host-connections.ts +++ b/mobile/src/home/use-mobile-home-host-connections.ts @@ -12,7 +12,7 @@ import { usePrimeHosts } from '../transport/connection/host-client-hooks' import { selectHomeAutoConnectHostIds } from '../transport/hosts/home-host-auto-connect' import type { RpcClient } from '../transport/rpc/rpc-client-contract' import type { ConnectionState } from '../transport/connection/connection-state' -import type { HostCatalogEntry, HostProfile } from '../transport/hosts/host-profile' +import type { HostCatalogEntry, HostProfile } from '../host-catalog/host-profile' import { useAllHostClients } from '../transport/connection/use-all-host-clients' import { readMobileHomeLastConnected, diff --git a/mobile/src/transport/hosts/host-catalog-credential-join.ts b/mobile/src/host-catalog/host-catalog-credential-join.ts similarity index 92% rename from mobile/src/transport/hosts/host-catalog-credential-join.ts rename to mobile/src/host-catalog/host-catalog-credential-join.ts index 5f7b45e1cc1..be175ff615b 100644 --- a/mobile/src/transport/hosts/host-catalog-credential-join.ts +++ b/mobile/src/host-catalog/host-catalog-credential-join.ts @@ -1,4 +1,4 @@ -import type { MobileRelayEndpoint } from '../../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' +import type { MobileRelayEndpoint } from '../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' import type { HostListSnapshot } from './host-list-load-sharing' import type { HostCatalogEntry, StoredHostProfile } from './host-profile' diff --git a/mobile/src/transport/hosts/host-catalog-selection.ts b/mobile/src/host-catalog/host-catalog-selection.ts similarity index 100% rename from mobile/src/transport/hosts/host-catalog-selection.ts rename to mobile/src/host-catalog/host-catalog-selection.ts diff --git a/mobile/src/host-catalog/host-connection-history.ts b/mobile/src/host-catalog/host-connection-history.ts new file mode 100644 index 00000000000..a34e4289c12 --- /dev/null +++ b/mobile/src/host-catalog/host-connection-history.ts @@ -0,0 +1,17 @@ +import { mutateStoredHosts } from './host-list-mutation-queue' + +export async function updateLastConnected(hostId: string): Promise { + try { + await mutateStoredHosts((hosts) => { + const index = hosts.findIndex((h) => h.id === hostId) + if (index === -1) { + return hosts + } + const next = hosts.slice() + next[index] = { ...next[index]!, lastConnected: Date.now() } + return next + }) + } catch { + // Swallow bookkeeping failures because void callers cannot catch them. + } +} diff --git a/mobile/src/host-catalog/host-connection-history.web.ts b/mobile/src/host-catalog/host-connection-history.web.ts new file mode 100644 index 00000000000..095f18af6dd --- /dev/null +++ b/mobile/src/host-catalog/host-connection-history.web.ts @@ -0,0 +1,2 @@ +// Recency belongs to the native host list, which this page does not show. +export const updateLastConnected = (_hostId: string): Promise => Promise.resolve() diff --git a/mobile/src/transport/hosts/host-list-load-sharing.ts b/mobile/src/host-catalog/host-list-load-sharing.ts similarity index 100% rename from mobile/src/transport/hosts/host-list-load-sharing.ts rename to mobile/src/host-catalog/host-list-load-sharing.ts diff --git a/mobile/src/transport/hosts/host-list-mutation-queue.ts b/mobile/src/host-catalog/host-list-mutation-queue.ts similarity index 100% rename from mobile/src/transport/hosts/host-list-mutation-queue.ts rename to mobile/src/host-catalog/host-list-mutation-queue.ts diff --git a/mobile/src/transport/hosts/host-metadata-store.ts b/mobile/src/host-catalog/host-metadata-store.ts similarity index 100% rename from mobile/src/transport/hosts/host-metadata-store.ts rename to mobile/src/host-catalog/host-metadata-store.ts diff --git a/mobile/src/transport/hosts/host-name-identity.ts b/mobile/src/host-catalog/host-name-identity.ts similarity index 97% rename from mobile/src/transport/hosts/host-name-identity.ts rename to mobile/src/host-catalog/host-name-identity.ts index b87cf1c273f..1b5bdb878e1 100644 --- a/mobile/src/transport/hosts/host-name-identity.ts +++ b/mobile/src/host-catalog/host-name-identity.ts @@ -1,6 +1,6 @@ import { GENERATED_HOST_NAME_PATTERN, getNextHostNameFromHosts } from './host-names' import type { StoredHostProfile } from './host-profile' -import { sameHostMachine, type HostMachine } from '../../../../src/shared/host-machine-line' +import { sameHostMachine, type HostMachine } from '../../../src/shared/host-machine-line' // Resolve name identity inside host-store’s serialized mutation so display name and sources commit together; see withReportedDescriptor’s omission exception. diff --git a/mobile/src/transport/hosts/host-names.ts b/mobile/src/host-catalog/host-names.ts similarity index 100% rename from mobile/src/transport/hosts/host-names.ts rename to mobile/src/host-catalog/host-names.ts diff --git a/mobile/src/transport/hosts/host-profile.ts b/mobile/src/host-catalog/host-profile.ts similarity index 82% rename from mobile/src/transport/hosts/host-profile.ts rename to mobile/src/host-catalog/host-profile.ts index 9fb53ad7404..f74c01a0f79 100644 --- a/mobile/src/transport/hosts/host-profile.ts +++ b/mobile/src/host-catalog/host-profile.ts @@ -1,13 +1,13 @@ import { z } from 'zod' -import '../../../../src/shared/remote-runtime/pairing/mobile-relay-pairing-offer' +import '../../../src/shared/remote-runtime/pairing/mobile-relay-pairing-offer' import { MobileRelayEndpointSchema, type MobileRelayEndpoint -} from '../../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' -import { NODE_PLATFORM_NAMES } from '../connection/mobile-runtime-host-platform' -import { salvagedOptional } from '../../../../src/shared/zod-salvage' -import type { HostMachine } from '../../../../src/shared/host-machine-line' -import { HostMachineSchema } from './host-status-reply-schema' +} from '../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' +import { NODE_PLATFORM_NAMES } from '../transport/connection/mobile-runtime-host-platform' +import { salvagedOptional } from '../../../src/shared/zod-salvage' +import type { HostMachine } from '../../../src/shared/host-machine-line' +import { HostMachineSchema } from '../transport/hosts/host-status-reply-schema' export type HostProfile = { id: string diff --git a/mobile/src/transport/hosts/host-removal-lifecycle.ts b/mobile/src/host-catalog/host-removal-lifecycle.ts similarity index 76% rename from mobile/src/transport/hosts/host-removal-lifecycle.ts rename to mobile/src/host-catalog/host-removal-lifecycle.ts index 4349f09127e..29e05398f23 100644 --- a/mobile/src/transport/hosts/host-removal-lifecycle.ts +++ b/mobile/src/host-catalog/host-removal-lifecycle.ts @@ -1,12 +1,12 @@ import type { QueryClient } from '@tanstack/react-query' -import { wipeHostStore } from '../../device-store/device-store' +import { wipeHostStore } from '../device-store/device-store' import { deleteHostPageCache, forgetHostUpdateFailures -} from '../../mobile-web-shell/removed-host-shell-cache' -import { unregisterPushForRemovedHost } from '../../notifications/push-registration' -import { forgetNativeHostQueries } from '../../query/native-query-persistence' -import { forgetHostDescriptor } from './host-descriptor-store' +} from '../mobile-web-shell/generations/removed-host-shell-cache' +import { unregisterPushForRemovedHost } from '../notifications/push-registration' +import { forgetNativeHostQueries } from '../query/native-query-persistence' +import { forgetHostDescriptor } from '../host-descriptors/host-descriptor-store' import { removeHost } from './host-store' export async function removeHostAndCloseClient( diff --git a/mobile/src/transport/hosts/host-removal-lifecycle.web.ts b/mobile/src/host-catalog/host-removal-lifecycle.web.ts similarity index 100% rename from mobile/src/transport/hosts/host-removal-lifecycle.web.ts rename to mobile/src/host-catalog/host-removal-lifecycle.web.ts diff --git a/mobile/src/transport/hosts/host-store.ts b/mobile/src/host-catalog/host-store.ts similarity index 91% rename from mobile/src/transport/hosts/host-store.ts rename to mobile/src/host-catalog/host-store.ts index 487b1344b13..f8e09c068dd 100644 --- a/mobile/src/transport/hosts/host-store.ts +++ b/mobile/src/host-catalog/host-store.ts @@ -1,4 +1,4 @@ -import type { MobileRelayEndpoint } from '../../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' +import type { MobileRelayEndpoint } from '../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' import { HostProfileSchema } from './host-profile' import type { HostCatalogEntry, HostProfile, StoredHostProfile } from './host-profile' @@ -6,27 +6,30 @@ import { getNextHostNameFromHosts } from './host-names' import { mergeHostNameIdentity, withPersonalName } from './host-name-identity' import * as hostListLoads from './host-list-load-sharing' import { joinHostCatalogCredentials } from './host-catalog-credential-join' -import { resetPairingKeychainForTests } from './pairing-keychain' -import { readHostDeviceToken, writeHostDeviceToken } from './host-device-token-store' +import { resetPairingKeychainForTests } from '../host-credentials/pairing-keychain' +import { + readHostDeviceToken, + writeHostDeviceToken +} from '../host-credentials/host-device-token-store' import { cancelPendingHostCredentialCleanup, recordHostCredentialCleanupIntent, retryPendingHostCredentialCleanups, scheduleHostCredentialCleanup -} from './host-credential-cleanup' +} from '../host-credentials/host-credential-cleanup' import { loadMobileRelayHostRoutingState, removeMobileRelayHostRouting, removeMobileRelayHostRoutings, saveMobileRelayHostRouting } from './mobile-relay-host-overlay-store' -import { scheduleOrphanedMobileRelayCleanup } from '../relay/mobile-relay-orphan-cleanup' +import { scheduleOrphanedMobileRelayCleanup } from '../transport/relay/mobile-relay-orphan-cleanup' import { getHostCredentialWriteRevision, markHostCredentialWrite, resetHostCredentialWriteRevisionsForTests -} from './host-credential-write-revision' -import { createUnpairedHostCredentialDeletion } from '../../pairing/unpaired-host-credential-deletion' +} from '../host-credentials/host-credential-write-revision' +import { createUnpairedHostCredentialDeletion } from '../pairing/unpaired-host-credential-deletion' import { loadStoredHostProfiles, readStoredHostProfilesForMutation, @@ -148,7 +151,7 @@ function removeOrphanOverlayIfUnpaired(hostId: string): Promise { }) } -import './host-descriptor-persistence' +import '../host-descriptors/host-descriptor-persistence' export class RelayRoutingHostRemovedError extends Error {} @@ -315,22 +318,6 @@ export async function updateHostNameAndEndpoint( }) } -export async function updateLastConnected(hostId: string): Promise { - try { - await mutateStoredHosts((hosts) => { - const index = hosts.findIndex((h) => h.id === hostId) - if (index === -1) { - return hosts - } - const next = hosts.slice() - next[index] = { ...next[index]!, lastConnected: Date.now() } - return next - }) - } catch { - // Swallow bookkeeping failures because void callers cannot catch them. - } -} - export function resetHostStoreForTests(): void { resetHostListMutationQueueForTests() tokenCache.clear() diff --git a/mobile/src/transport/hosts/host-store.web.ts b/mobile/src/host-catalog/host-store.web.ts similarity index 77% rename from mobile/src/transport/hosts/host-store.web.ts rename to mobile/src/host-catalog/host-store.web.ts index 3b8e3f33ac8..37475ac40ed 100644 --- a/mobile/src/transport/hosts/host-store.web.ts +++ b/mobile/src/host-catalog/host-store.web.ts @@ -1,5 +1,5 @@ -import { readPageHostProfile } from '../../mobile-web-shell/bridge/page-host-profile' -import type { MobileRelayEndpoint } from '../../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' +import { readPageHostProfile } from '../mobile-web-shell/bridge/page-host-profile' +import type { MobileRelayEndpoint } from '../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' import type { HostCatalogEntry, HostProfile } from './host-profile' // The page gets no device credential or public key; RPC uses the shell’s paired client. @@ -26,9 +26,6 @@ export const setRelayRouting = (_hostId: string, _relay: MobileRelayEndpoint): P export const removeHost = (_hostId: string): Promise => Promise.resolve() -// Recency belongs to the native host list, which this page does not show. -export const updateLastConnected = (_hostId: string): Promise => Promise.resolve() - export function updateHostNameAndEndpoint( _hostId: string, _updates: { personalName?: string | null; endpoint?: string } diff --git a/mobile/src/transport/hosts/mobile-relay-host-overlay-store.ts b/mobile/src/host-catalog/mobile-relay-host-overlay-store.ts similarity index 96% rename from mobile/src/transport/hosts/mobile-relay-host-overlay-store.ts rename to mobile/src/host-catalog/mobile-relay-host-overlay-store.ts index 8a30cd7219a..3f4da803bd2 100644 --- a/mobile/src/transport/hosts/mobile-relay-host-overlay-store.ts +++ b/mobile/src/host-catalog/mobile-relay-host-overlay-store.ts @@ -1,5 +1,5 @@ import AsyncStorage from '@react-native-async-storage/async-storage' -import type { MobileRelayEndpoint } from '../../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' +import type { MobileRelayEndpoint } from '../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' import { MobileRelayHostOverlaySchema, toStoredMobileRelayHostOverlay, diff --git a/mobile/src/transport/hosts/mobile-relay-host-overlay.ts b/mobile/src/host-catalog/mobile-relay-host-overlay.ts similarity index 92% rename from mobile/src/transport/hosts/mobile-relay-host-overlay.ts rename to mobile/src/host-catalog/mobile-relay-host-overlay.ts index 3e82389cde5..f97d6f7cb2c 100644 --- a/mobile/src/transport/hosts/mobile-relay-host-overlay.ts +++ b/mobile/src/host-catalog/mobile-relay-host-overlay.ts @@ -2,8 +2,8 @@ import { z } from 'zod' import { MobileRelayEndpointSchema, type MobileRelayEndpoint -} from '../../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' -import { relayConnectWebSocketUrl } from '../relay/mobile-relay-connect-url' +} from '../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' +import { relayConnectWebSocketUrl } from '../transport/relay/mobile-relay-connect-url' const MobileAccessEndpointSchema = z .object({ diff --git a/mobile/src/transport/hosts/page-host-removal-refusal.ts b/mobile/src/host-catalog/page-host-removal-refusal.ts similarity index 100% rename from mobile/src/transport/hosts/page-host-removal-refusal.ts rename to mobile/src/host-catalog/page-host-removal-refusal.ts diff --git a/mobile/src/transport/hosts/use-host-profile.ts b/mobile/src/host-catalog/use-host-profile.ts similarity index 100% rename from mobile/src/transport/hosts/use-host-profile.ts rename to mobile/src/host-catalog/use-host-profile.ts diff --git a/mobile/src/transport/hosts/host-credential-cleanup.ts b/mobile/src/host-credentials/host-credential-cleanup.ts similarity index 100% rename from mobile/src/transport/hosts/host-credential-cleanup.ts rename to mobile/src/host-credentials/host-credential-cleanup.ts diff --git a/mobile/src/transport/hosts/host-credential-write-revision.ts b/mobile/src/host-credentials/host-credential-write-revision.ts similarity index 100% rename from mobile/src/transport/hosts/host-credential-write-revision.ts rename to mobile/src/host-credentials/host-credential-write-revision.ts diff --git a/mobile/src/transport/hosts/host-device-token-store.ts b/mobile/src/host-credentials/host-device-token-store.ts similarity index 100% rename from mobile/src/transport/hosts/host-device-token-store.ts rename to mobile/src/host-credentials/host-device-token-store.ts diff --git a/mobile/src/transport/hosts/host-device-token-store.web.ts b/mobile/src/host-credentials/host-device-token-store.web.ts similarity index 100% rename from mobile/src/transport/hosts/host-device-token-store.web.ts rename to mobile/src/host-credentials/host-device-token-store.web.ts diff --git a/mobile/src/transport/hosts/mobile-relay-credential-bundle.ts b/mobile/src/host-credentials/mobile-relay-credential-bundle.ts similarity index 93% rename from mobile/src/transport/hosts/mobile-relay-credential-bundle.ts rename to mobile/src/host-credentials/mobile-relay-credential-bundle.ts index 21e103cfc40..f48b5b939d3 100644 --- a/mobile/src/transport/hosts/mobile-relay-credential-bundle.ts +++ b/mobile/src/host-credentials/mobile-relay-credential-bundle.ts @@ -1,7 +1,7 @@ import { Platform } from 'react-native' import { z } from 'zod' -import type { DeviceCredentialInstalled } from '../../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' -import type { MobileRelayPairingJournal } from '../../pairing/mobile-relay-pairing-journal' +import type { DeviceCredentialInstalled } from '../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' +import type { MobileRelayPairingJournal } from '../pairing/mobile-relay-pairing-journal' import { deletePairingKeychainItem, readPairingKeychainItem, diff --git a/mobile/src/transport/hosts/pairing-keychain.ts b/mobile/src/host-credentials/pairing-keychain.ts similarity index 100% rename from mobile/src/transport/hosts/pairing-keychain.ts rename to mobile/src/host-credentials/pairing-keychain.ts diff --git a/mobile/src/transport/hosts/host-app-version-store.ts b/mobile/src/host-descriptors/host-app-version-store.ts similarity index 100% rename from mobile/src/transport/hosts/host-app-version-store.ts rename to mobile/src/host-descriptors/host-app-version-store.ts diff --git a/mobile/src/transport/hosts/host-app-version-store.web.ts b/mobile/src/host-descriptors/host-app-version-store.web.ts similarity index 100% rename from mobile/src/transport/hosts/host-app-version-store.web.ts rename to mobile/src/host-descriptors/host-app-version-store.web.ts diff --git a/mobile/src/transport/hosts/host-app-version.ts b/mobile/src/host-descriptors/host-app-version.ts similarity index 100% rename from mobile/src/transport/hosts/host-app-version.ts rename to mobile/src/host-descriptors/host-app-version.ts diff --git a/mobile/src/transport/hosts/host-descriptor-persistence.ts b/mobile/src/host-descriptors/host-descriptor-persistence.ts similarity index 82% rename from mobile/src/transport/hosts/host-descriptor-persistence.ts rename to mobile/src/host-descriptors/host-descriptor-persistence.ts index 12fd0d18d24..dbd342527ed 100644 --- a/mobile/src/transport/hosts/host-descriptor-persistence.ts +++ b/mobile/src/host-descriptors/host-descriptor-persistence.ts @@ -1,5 +1,8 @@ -import { mutateStoredHosts } from './host-list-mutation-queue' -import { withReportedDescriptor, type ReportedHostDescriptor } from './host-name-identity' +import { mutateStoredHosts } from '../host-catalog/host-list-mutation-queue' +import { + withReportedDescriptor, + type ReportedHostDescriptor +} from '../host-catalog/host-name-identity' // Keep authenticated descriptor upkeep best-effort; older hosts omitting both fields must not churn stored rows. export async function updateHostDescriptor( diff --git a/mobile/src/host-descriptors/host-descriptor-persistence.web.ts b/mobile/src/host-descriptors/host-descriptor-persistence.web.ts new file mode 100644 index 00000000000..b99ea73eb3c --- /dev/null +++ b/mobile/src/host-descriptors/host-descriptor-persistence.web.ts @@ -0,0 +1,10 @@ +import '../mobile-web-shell/bridge/page-host-profile' +import type { ReportedHostDescriptor } from '../host-catalog/host-name-identity' + +// Last-known descriptors belong to the native host list. +export function updateHostDescriptor( + _hostId: string, + _descriptor: ReportedHostDescriptor +): Promise { + return Promise.resolve() +} diff --git a/mobile/src/transport/hosts/host-descriptor-recorder.ts b/mobile/src/host-descriptors/host-descriptor-recorder.ts similarity index 83% rename from mobile/src/transport/hosts/host-descriptor-recorder.ts rename to mobile/src/host-descriptors/host-descriptor-recorder.ts index 0b5ab0e5cdb..49aad137b63 100644 --- a/mobile/src/transport/hosts/host-descriptor-recorder.ts +++ b/mobile/src/host-descriptors/host-descriptor-recorder.ts @@ -1,7 +1,7 @@ import { recordHostDescriptor } from './host-descriptor-store' -import './host-store' +import '../host-catalog/host-store' import { updateHostDescriptor } from './host-descriptor-persistence' -import type { HostStatusReply } from './host-status-reply-schema' +import type { HostStatusReply } from '../transport/hosts/host-status-reply-schema' // Update live rows and persisted last-known descriptors together; best-effort bookkeeping must never gate connection. export function recordHostDescriptorFromStatus(hostId: string, status: HostStatusReply): void { diff --git a/mobile/src/transport/hosts/host-descriptor-store.ts b/mobile/src/host-descriptors/host-descriptor-store.ts similarity index 95% rename from mobile/src/transport/hosts/host-descriptor-store.ts rename to mobile/src/host-descriptors/host-descriptor-store.ts index bb114074164..ad33c055070 100644 --- a/mobile/src/transport/hosts/host-descriptor-store.ts +++ b/mobile/src/host-descriptors/host-descriptor-store.ts @@ -1,5 +1,5 @@ import { useCallback, useSyncExternalStore } from 'react' -import { sameHostMachine, type HostMachine } from '../../../../src/shared/host-machine-line' +import { sameHostMachine, type HostMachine } from '../../../src/shared/host-machine-line' export type HostMachineDescriptor = { machineName: string | null diff --git a/mobile/src/transport/hosts/use-host-display.ts b/mobile/src/host-descriptors/use-host-display.ts similarity index 85% rename from mobile/src/transport/hosts/use-host-display.ts rename to mobile/src/host-descriptors/use-host-display.ts index 0f0e8abefe6..49ab4f235df 100644 --- a/mobile/src/transport/hosts/use-host-display.ts +++ b/mobile/src/host-descriptors/use-host-display.ts @@ -1,10 +1,10 @@ import { resolveHostDisplay, type HostDisplayResolution -} from '../../../../src/shared/host-display-resolution' +} from '../../../src/shared/host-display-resolution' import { useHostDescriptor } from './host-descriptor-store' -import { classifyLegacyHostName } from './host-name-identity' -import type { HostMachine } from '../../../../src/shared/host-machine-line' +import { classifyLegacyHostName } from '../host-catalog/host-name-identity' +import type { HostMachine } from '../../../src/shared/host-machine-line' export type HostDisplaySource = { id: string diff --git a/mobile/src/host-list-action-sheet-actions.ts b/mobile/src/host-list-action-sheet-actions.ts index 036d025d798..ea156122a5a 100644 --- a/mobile/src/host-list-action-sheet-actions.ts +++ b/mobile/src/host-list-action-sheet-actions.ts @@ -1,7 +1,7 @@ import { Activity, Edit3, PowerOff, RefreshCw } from 'lucide-react-native' import type { ActionSheetAction } from './components/ActionSheetModal' import type { ConnectionState } from './transport/connection/connection-state' -import type { HostProfile } from './transport/hosts/host-profile' +import type { HostProfile } from './host-catalog/host-profile' import { translate } from './i18n/mobile-i18n' // Defer navigation and new drawers until this native Modal unmounts; presenting into a live one freezes iOS (#8791). diff --git a/mobile/src/host-screen/host-stored-identity.ts b/mobile/src/host-screen/host-stored-identity.ts index 31d75015e5d..dd02444eb75 100644 --- a/mobile/src/host-screen/host-stored-identity.ts +++ b/mobile/src/host-screen/host-stored-identity.ts @@ -1,4 +1,4 @@ -import type { HostProfile } from '../transport/hosts/host-profile' +import type { HostProfile } from '../host-catalog/host-profile' import type { HostMachine } from '../../../src/shared/host-machine-line' export type HostStoredDescriptor = { diff --git a/mobile/src/host-screen/use-host-display-worktrees.ts b/mobile/src/host-screen/use-host-display-worktrees.ts index 84f72fa8a86..517c0924fa2 100644 --- a/mobile/src/host-screen/use-host-display-worktrees.ts +++ b/mobile/src/host-screen/use-host-display-worktrees.ts @@ -1,5 +1,5 @@ import { useMemo } from 'react' -import { useHostDescriptor } from '../transport/hosts/host-descriptor-store' +import { useHostDescriptor } from '../host-descriptors/host-descriptor-store' import type { ConnectionState } from '../transport/connection/connection-state' import { serverHostHealth, diff --git a/mobile/src/host-screen/use-host-screen-controller.ts b/mobile/src/host-screen/use-host-screen-controller.ts index 983fa99eb96..e5ea6277d43 100644 --- a/mobile/src/host-screen/use-host-screen-controller.ts +++ b/mobile/src/host-screen/use-host-screen-controller.ts @@ -28,7 +28,7 @@ import { useHostViewSettings } from './use-host-view-settings' import { countActiveWorkspaceFilters } from '../../../src/shared/workspace-view/workspace-row-filters' import { useHostWorktreeActions } from './use-host-worktree-actions' import { useHostWorktreeCatalog } from './use-host-worktree-catalog' -import { useHostDisplay } from '../transport/hosts/use-host-display' +import { useHostDisplay } from '../host-descriptors/use-host-display' import { classifyConnection } from '../transport/connection/connection-health' export type HostScreenProps = { diff --git a/mobile/src/host-screen/use-host-screen-identity.ts b/mobile/src/host-screen/use-host-screen-identity.ts index f4e10c10019..057a23b8718 100644 --- a/mobile/src/host-screen/use-host-screen-identity.ts +++ b/mobile/src/host-screen/use-host-screen-identity.ts @@ -3,8 +3,9 @@ import { useQueryClient } from '@tanstack/react-query' import { translate } from '../i18n/mobile-i18n' import { ORCA_SIDEBAR_INPUTS_IS_MAIN } from '../../../src/shared/sidebar-inputs-switch' import { loadPinnedIds } from '../storage/preferences' -import { loadHosts, peekHosts, updateLastConnected } from '../transport/hosts/host-store' -import type { HostProfile } from '../transport/hosts/host-profile' +import { loadHosts, peekHosts } from '../host-catalog/host-store' +import { updateLastConnected } from '../host-catalog/host-connection-history' +import type { HostProfile } from '../host-catalog/host-profile' import type { RpcClient } from '../transport/rpc/rpc-client-contract' import type { HostScreenState } from './use-host-screen-state' import { storedHostDescriptor } from './host-stored-identity' diff --git a/mobile/src/host-screen/use-host-screen-state.ts b/mobile/src/host-screen/use-host-screen-state.ts index 742a6ac91c5..4f40a1a95bb 100644 --- a/mobile/src/host-screen/use-host-screen-state.ts +++ b/mobile/src/host-screen/use-host-screen-state.ts @@ -4,7 +4,7 @@ import type { ExecutionHostId } from '../../../src/shared/execution-host' import type { ExecutionHostHealth } from '../../../src/shared/execution-host/execution-host-health' import { storedHostDescriptor, type HostStoredDescriptor } from './host-stored-identity' import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import type { HostProfile } from '../transport/hosts/host-profile' +import type { HostProfile } from '../host-catalog/host-profile' import { INITIAL_MOBILE_VIEW, type MobileViewState } from '../worktree/workspace-view-settings' import type { Worktree } from '../worktree/workspace-list-sections' import type { ServedProjectSections } from '../worktree/project-sections-operations' diff --git a/mobile/src/host-screen/use-host-worktree-actions.ts b/mobile/src/host-screen/use-host-worktree-actions.ts index 5d2814b1049..d96d2e8c9ab 100644 --- a/mobile/src/host-screen/use-host-worktree-actions.ts +++ b/mobile/src/host-screen/use-host-worktree-actions.ts @@ -6,8 +6,8 @@ import { floatingWorkspaceSessionPath } from '../session/floating-workspace' import { holdSessionLeave } from '../session/session-leave-guard' import { savePinnedIds } from '../storage/preferences' import type { useForgetHostClient } from '../transport/connection/host-client-hooks' -import { removeHostAndCloseClient } from '../transport/hosts/host-removal-lifecycle' -import { isPageHostRemovalUnavailable } from '../transport/hosts/page-host-removal-refusal' +import { removeHostAndCloseClient } from '../host-catalog/host-removal-lifecycle' +import { isPageHostRemovalUnavailable } from '../host-catalog/page-host-removal-refusal' import type { RpcClient } from '../transport/rpc/rpc-client-contract' import { rpcClientForExecutionHost, diff --git a/mobile/src/host-screen/workspace-details-sheet.tsx b/mobile/src/host-screen/workspace-details-sheet.tsx index cdeab528d5e..e285c5b6480 100644 --- a/mobile/src/host-screen/workspace-details-sheet.tsx +++ b/mobile/src/host-screen/workspace-details-sheet.tsx @@ -5,9 +5,6 @@ import { CircleDot, ExternalLink, GitMerge, - GitPullRequest, - GitPullRequestClosed, - GitPullRequestDraft, SquareTerminal, StickyNote } from 'lucide-react-native' @@ -15,6 +12,7 @@ import { colors, spacing, typography } from '../theme/mobile-theme' import { themedStyleSheet } from '../theme/themed-styles' import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' import { prStateColor } from '../components/WorktreeMetaGlyphs' +import { PrStateIcon } from '../components/PrStateIcon' import { LIST_LEADING_INSET, LIST_LEADING_SLOT, @@ -135,20 +133,13 @@ function originLabel(origin: WorkspaceOrigin, t: Translate): string { function ReviewIcon({ item }: { item: WorkspaceDetailLink }) { useMobileColorScheme() - const color = prStateColor(item.state ?? '') - if ( - item.state === 'merged' || - (item.type === 'mr' && item.state !== 'closed' && item.state !== 'draft') - ) { + const state = item.state ?? '' + const color = prStateColor(state) + // GitLab draws every open MR with the merge glyph. + if (item.type === 'mr' && state !== 'closed' && state !== 'draft') { return } - if (item.state === 'closed') { - return - } - if (item.state === 'draft') { - return - } - return + return } function LinkIcon({ item }: { item: WorkspaceDetailLink }) { diff --git a/mobile/src/i18n/bundled-locale-catalogs.ts b/mobile/src/i18n/bundled-locale-catalogs.ts new file mode 100644 index 00000000000..5883e969ed4 --- /dev/null +++ b/mobile/src/i18n/bundled-locale-catalogs.ts @@ -0,0 +1,23 @@ +import type { SupportedUiLocale } from '../../../src/shared/ui-locale' + +export type LocaleCatalog = Readonly> + +// Literal specifiers: Metro evaluates only the chosen module, and the page build splits each into its own chunk. +const CATALOG_IMPORTS: Record, () => Promise> = { + de: () => import('./locales/de.json').then((module) => module.default), + es: () => import('./locales/es.json').then((module) => module.default), + fr: () => import('./locales/fr.json').then((module) => module.default), + ja: () => import('./locales/ja.json').then((module) => module.default), + ko: () => import('./locales/ko.json').then((module) => module.default), + pt: () => import('./locales/pt.json').then((module) => module.default), + ru: () => import('./locales/ru.json').then((module) => module.default), + tr: () => import('./locales/tr.json').then((module) => module.default), + zh: () => import('./locales/zh.json').then((module) => module.default), + 'zh-Hant': () => import('./locales/zh-Hant.json').then((module) => module.default) +} + +export function importBundledLocaleCatalog( + locale: Exclude +): Promise { + return CATALOG_IMPORTS[locale]() +} diff --git a/mobile/src/i18n/locale-catalog-imports.ts b/mobile/src/i18n/locale-catalog-imports.ts index 664d608019e..d89bb938fea 100644 --- a/mobile/src/i18n/locale-catalog-imports.ts +++ b/mobile/src/i18n/locale-catalog-imports.ts @@ -1,23 +1,9 @@ import type { SupportedUiLocale } from '../../../src/shared/ui-locale' +import type { LocaleCatalog } from './bundled-locale-catalogs' -export type LocaleCatalog = Readonly> +export { importBundledLocaleCatalog as importLocaleCatalog } from './bundled-locale-catalogs' -// Literal specifiers: Metro evaluates only the chosen module, and the page build splits each into its own chunk. -const CATALOG_IMPORTS: Record, () => Promise> = { - de: () => import('./locales/de.json').then((module) => module.default), - es: () => import('./locales/es.json').then((module) => module.default), - fr: () => import('./locales/fr.json').then((module) => module.default), - ja: () => import('./locales/ja.json').then((module) => module.default), - ko: () => import('./locales/ko.json').then((module) => module.default), - pt: () => import('./locales/pt.json').then((module) => module.default), - ru: () => import('./locales/ru.json').then((module) => module.default), - tr: () => import('./locales/tr.json').then((module) => module.default), - zh: () => import('./locales/zh.json').then((module) => module.default), - 'zh-Hant': () => import('./locales/zh-Hant.json').then((module) => module.default) -} - -export function importLocaleCatalog( - locale: Exclude -): Promise { - return CATALOG_IMPORTS[locale]() -} +// Bundled catalogs never change after their import, so none arrives later; the page build's .web.ts does. +export const onLocaleCatalogArrival: ( + listener: (locale: Exclude, catalog: LocaleCatalog) => void +) => () => void = () => () => undefined diff --git a/mobile/src/i18n/locale-catalog-imports.web.ts b/mobile/src/i18n/locale-catalog-imports.web.ts new file mode 100644 index 00000000000..9b3d85fdce2 --- /dev/null +++ b/mobile/src/i18n/locale-catalog-imports.web.ts @@ -0,0 +1,36 @@ +import type { SupportedUiLocale } from '../../../src/shared/ui-locale' +import { importBundledLocaleCatalog, type LocaleCatalog } from './bundled-locale-catalogs' + +// A shell that skips the catalog chunks has page-locale-catalog-source.ts read them from the desktop +// and the device store; other shells import the chunk as before. No transport here, so pages that +// only translate pull in none. +export type { LocaleCatalog } +type CatalogLocale = Exclude +type CatalogLoader = (locale: CatalogLocale) => Promise +type ArrivalListener = (locale: CatalogLocale, catalog: LocaleCatalog) => void + +let loader: CatalogLoader | null = null +const arrivalListeners = new Set() + +export function publishPageLocaleCatalogLoader(next: CatalogLoader): void { + loader = next +} + +// Resolve the catalog or reject so activation falls back to English. +export function importLocaleCatalog(locale: CatalogLocale): Promise { + return loader === null ? importBundledLocaleCatalog(locale) : loader(locale) +} + +// A catalog that arrives after activation settled: a newer copy, or the first one after an offline start. +export function onLocaleCatalogArrival(listener: ArrivalListener): () => void { + arrivalListeners.add(listener) + return () => { + arrivalListeners.delete(listener) + } +} + +export function announceLocaleCatalog(locale: CatalogLocale, catalog: LocaleCatalog): void { + for (const listener of arrivalListeners) { + listener(locale, catalog) + } +} diff --git a/mobile/src/i18n/locales/de.json b/mobile/src/i18n/locales/de.json index 6093f930436..0d48e6ab72e 100644 --- a/mobile/src/i18n/locales/de.json +++ b/mobile/src/i18n/locales/de.json @@ -2568,8 +2568,8 @@ "insertFailed": "Diktat konnte nicht eingefügt werden", "insertFailedCopied": "Diktat konnte nicht eingefügt werden und wurde daher in die Zwischenablage kopiert", "inserted": "Diktat eingefügt", - "stoppedAfterSilence": "Nach einer Minute Stille beendet", - "stoppedAtCloudLimit": "Diktat am 10-Minuten-Limit der Cloud gestoppt." + "stoppedAtCloudLimit": "Diktat am 10-Minuten-Limit der Cloud gestoppt.", + "stoppedAfterSilenceSeconds": "Nach {{seconds}} Sekunden Stille gestoppt" }, "useNativeChatStop": { "stopNotSent": "Stoppbefehl nicht gesendet", @@ -3364,6 +3364,27 @@ } }, "tasks": { + "hostedMerge": { + "confirmGitHubMerge": "PR #{{number}} zusammenführen?", + "confirmGitHubSquash": "PR #{{number}} mit Squash zusammenführen?", + "confirmGitHubRebase": "PR #{{number}} mit Rebase zusammenführen?", + "confirmGitLabMerge": "Merge Request #{{number}} zusammenführen?", + "confirmGitLabSquash": "Merge Request #{{number}} mit Squash zusammenführen?", + "confirmGitLabRebase": "Merge Request #{{number}} mit Rebase zusammenführen?", + "merged": "Zusammengeführt", + "closed": "Geschlossen", + "conflicts": "Konflikte", + "behind": "Nicht aktuell", + "blocked": "Blockiert", + "checksPending": "Prüfungen ausstehend", + "ableToMerge": "Zusammenführen möglich", + "unknown": "Unbekannt" + }, + "pagination": { + "pageUnreachable": "Seite {{page}} liegt außerhalb des Bereichs der GitHub-Suche.", + "loadPageFailed": "Seite {{page}} konnte nicht von GitHub geladen werden.", + "noMoreResults": "Keine weiteren Ergebnisse auf Seite {{page}}." + }, "composerSource": { "baseFailed": "Der Basis-Branch konnte nicht ermittelt werden.", "forkPushWarning": "Bei diesem PR ist „Allow edits from maintainers“ deaktiviert; GitHub könnte einen Push zum Fork ablehnen." diff --git a/mobile/src/i18n/locales/en.json b/mobile/src/i18n/locales/en.json index eecc184562f..e3be23f7526 100644 --- a/mobile/src/i18n/locales/en.json +++ b/mobile/src/i18n/locales/en.json @@ -661,8 +661,8 @@ "openAccountsHint": "Opens this desktop’s accounts", "emptyTitle": "No usage yet" }, - "needsYou": { - "heading": "Needs you", + "activeAgents": { + "heading": "Active", "seeAll": "See all agents" } }, @@ -820,6 +820,8 @@ "webShell": { "shellStateScreen": { "isolationUnavailable": "This device's WebView is too old to open the workspace safely.", + "isolationUnavailableAndroid": "Orca needs Android System WebView or Chrome 101 or newer. Update it from the Play Store, or pick a newer one in Developer options > WebView implementation.", + "webViewInUse": "This device has {{name}} {{version}}.", "downloadFailed": "The latest app could not be downloaded from this host.", "hostProfileUnreadable": "Could not read this host on your device. Try again.", "statusUnreadable": "Could not read this host's status. Go back and reopen it.", @@ -2406,8 +2408,8 @@ "insertFailedCopied": "Couldn't insert dictation, so it was copied to the clipboard", "insertFailed": "Couldn't insert dictation", "inserted": "Dictation inserted", - "stoppedAfterSilence": "Stopped after a minute of silence", - "stoppedAtCloudLimit": "Dictation stopped at the 10-minute cloud limit." + "stoppedAtCloudLimit": "Dictation stopped at the 10-minute cloud limit.", + "stoppedAfterSilenceSeconds": "Stopped after {{seconds}} seconds of silence" }, "quickCommandLaunch": { "editBeforeRunning": "Edit this quick command before running it", @@ -2967,7 +2969,12 @@ "skip": "Skip", "step": "Step {{step}}", "other": "Other…", - "answerPlaceholder": "Type your answer" + "answerPlaceholder": "Type your answer", + "optionPreview": "{{option}} preview", + "previewPosition": "{{current}} of {{total}}", + "chosen": "Chosen", + "chooseThis": "Choose this", + "viewPreview": "View" }, "permission": { "reason": "Reason: ", @@ -3456,7 +3463,12 @@ "commitThenPullPush": "Commit, then pull and push", "resolveConflicts": "Resolve conflicts before committing", "stageFile": "Stage at least one file to commit", - "enterMessage": "Enter a commit message to commit" + "enterMessage": "Enter a commit message to commit", + "statusConflicts": "Conflicts", + "statusNothingStaged": "Nothing staged", + "statusNeedsMessage": "Needs message", + "statusNotPublished": "Not published", + "statusNoBranch": "No branch" }, "createPrAction": { "createReview": "Create {{titleLabel}}", @@ -3533,7 +3545,15 @@ "nothingToPushTo": "Nothing to push to {{upstreamName}}", "nothingToForcePushTo": "Nothing to force push to {{upstreamName}}", "rebaseFromNamedBase": "Rebase from {{baseRef}}", - "rebaseWithLatestFrom": "Rebase current branch with latest commits from {{baseRef}}" + "rebaseWithLatestFrom": "Rebase current branch with latest commits from {{baseRef}}", + "statusUpToDate": "Up to date", + "statusSetsUpstream": "Sets upstream", + "statusNotPublished": "Not published", + "statusNoBranch": "No branch", + "statusMayFail": "May fail", + "statusPublished": "Published", + "statusStashFirst": "Stash first", + "statusReplaces": "Replaces ↓{{behind}}" }, "actions": { "createPr": "Create PR", @@ -4533,6 +4553,12 @@ "createFailed": "Failed to create workspace" }, "hostedMerge": { + "confirmGitHubMerge": "Merge PR #{{number}}?", + "confirmGitHubSquash": "Squash and merge PR #{{number}}?", + "confirmGitHubRebase": "Rebase and merge PR #{{number}}?", + "confirmGitLabMerge": "Merge merge request #{{number}}?", + "confirmGitLabSquash": "Squash and merge merge request #{{number}}?", + "confirmGitLabRebase": "Rebase and merge merge request #{{number}}?", "merged": "Merged", "closed": "Closed", "conflicts": "Conflicts", diff --git a/mobile/src/i18n/locales/es.json b/mobile/src/i18n/locales/es.json index e898993112e..3c85874971d 100644 --- a/mobile/src/i18n/locales/es.json +++ b/mobile/src/i18n/locales/es.json @@ -1502,11 +1502,11 @@ "updateRequired": "Actualiza Orca Mobile para abrir archivos PDF" }, "unsavedEditsOffer": { - "changedSince": "Modificado en el escritorio desde tus cambios de las {{time}}", + "changedSince": "Modificado en el ordenador después de tus cambios de {{time}}", "copyMyEdits": "Copiar mis cambios", "discard": "Descartar", "restore": "Restaurar", - "unsavedFrom": "Cambios sin guardar de las {{time}}" + "unsavedFrom": "Cambios sin guardar ({{time}})" } }, "home": { @@ -2638,8 +2638,8 @@ "insertFailed": "No se pudo insertar el dictado", "insertFailedCopied": "No se pudo insertar el dictado, así que se copió al portapapeles.", "inserted": "Dictado insertado", - "stoppedAfterSilence": "Se detuvo tras un minuto de silencio", - "stoppedAtCloudLimit": "Dictado detenido al llegar al límite de 10 minutos en la nube." + "stoppedAtCloudLimit": "Dictado detenido al llegar al límite de 10 minutos en la nube.", + "stoppedAfterSilenceSeconds": "Detenido tras {{seconds}} segundos de silencio" }, "useNativeChatStop": { "stopNotSent": "No se envió la orden de detener", @@ -3452,6 +3452,27 @@ } }, "tasks": { + "hostedMerge": { + "confirmGitHubMerge": "¿Fusionar el PR #{{number}}?", + "confirmGitHubSquash": "¿Compactar y fusionar el PR #{{number}}?", + "confirmGitHubRebase": "¿Hacer rebase y fusionar el PR #{{number}}?", + "confirmGitLabMerge": "¿Fusionar la solicitud de merge #{{number}}?", + "confirmGitLabSquash": "¿Compactar y fusionar la solicitud de merge #{{number}}?", + "confirmGitLabRebase": "¿Hacer rebase y fusionar la solicitud de merge #{{number}}?", + "merged": "Fusionado", + "closed": "Cerrado", + "conflicts": "Conflictos", + "behind": "Desactualizado", + "blocked": "Bloqueado", + "checksPending": "Comprobaciones pendientes", + "ableToMerge": "Se puede fusionar", + "unknown": "Desconocido" + }, + "pagination": { + "pageUnreachable": "La página {{page}} está fuera del alcance de la búsqueda de GitHub.", + "loadPageFailed": "No se pudo cargar la página {{page}} desde GitHub.", + "noMoreResults": "No hay más resultados en la página {{page}}." + }, "composerSource": { "baseFailed": "No se pudo resolver la rama base.", "forkPushWarning": "Esta PR tiene desactivada la opción \"Allow edits from maintainers\"; GitHub podría rechazar el push al fork." diff --git a/mobile/src/i18n/locales/fr.json b/mobile/src/i18n/locales/fr.json index 8d807315fb1..bcac91b25ec 100644 --- a/mobile/src/i18n/locales/fr.json +++ b/mobile/src/i18n/locales/fr.json @@ -2638,8 +2638,8 @@ "insertFailed": "Impossible d'insérer la dictée", "insertFailedCopied": "Impossible d'insérer la dictée ; elle a été copiée dans le presse-papiers", "inserted": "Dictée insérée", - "stoppedAfterSilence": "Arrêt après une minute de silence", - "stoppedAtCloudLimit": "Dictée arrêtée à la limite cloud de 10 minutes." + "stoppedAtCloudLimit": "Dictée arrêtée à la limite cloud de 10 minutes.", + "stoppedAfterSilenceSeconds": "Arrêté après {{seconds}} secondes de silence" }, "useNativeChatStop": { "stopNotSent": "Commande d'arrêt non envoyée", @@ -3452,6 +3452,27 @@ } }, "tasks": { + "hostedMerge": { + "confirmGitHubMerge": "Fusionner la PR nº {{number}} ?", + "confirmGitHubSquash": "Compresser les commits et fusionner la PR nº {{number}} ?", + "confirmGitHubRebase": "Rebaser et fusionner la PR nº {{number}} ?", + "confirmGitLabMerge": "Fusionner la demande de fusion nº {{number}} ?", + "confirmGitLabSquash": "Compresser les commits et fusionner la demande de fusion nº {{number}} ?", + "confirmGitLabRebase": "Rebaser et fusionner la demande de fusion nº {{number}} ?", + "merged": "Fusionné", + "closed": "Fermé", + "conflicts": "Conflits", + "behind": "En retard", + "blocked": "Bloqué", + "checksPending": "Vérifications en attente", + "ableToMerge": "Fusion possible", + "unknown": "Inconnu" + }, + "pagination": { + "pageUnreachable": "La page {{page}} dépasse la limite des résultats de recherche GitHub.", + "loadPageFailed": "La page {{page}} n’a pas pu être chargée depuis GitHub.", + "noMoreResults": "Aucun autre résultat sur la page {{page}}." + }, "composerSource": { "baseFailed": "Échec de la résolution de la branche de base.", "forkPushWarning": "L'option « Autoriser les modifications des mainteneurs » est désactivée pour cette PR ; le push vers le fork peut être refusé par GitHub." diff --git a/mobile/src/i18n/locales/ja.json b/mobile/src/i18n/locales/ja.json index d95daaff72f..1d47e857681 100644 --- a/mobile/src/i18n/locales/ja.json +++ b/mobile/src/i18n/locales/ja.json @@ -2564,8 +2564,8 @@ "insertFailed": "ディクテーションの結果を挿入できませんでした。", "insertFailedCopied": "ディクテーションの結果を挿入できず、クリップボードにコピーしました。", "inserted": "ディクテーションの結果を挿入しました。", - "stoppedAfterSilence": "1分間音声がなかったため停止しました。", - "stoppedAtCloudLimit": "クラウドの10分の上限に達したため、ディクテーションが停止しました。" + "stoppedAtCloudLimit": "クラウドの10分の上限に達したため、ディクテーションが停止しました。", + "stoppedAfterSilenceSeconds": "{{seconds}} 秒間無音だったため停止しました" }, "useNativeChatStop": { "stopNotSent": "停止要求を送信できませんでした。", @@ -3440,6 +3440,22 @@ "githubViewControls": { "openView": "GitHub でビューを開く" }, + "hostedMerge": { + "confirmGitHubMerge": "PR #{{number}} をマージしますか?", + "confirmGitHubSquash": "PR #{{number}} のコミットをまとめてマージしますか?", + "confirmGitHubRebase": "PR #{{number}} をリベースしてマージしますか?", + "confirmGitLabMerge": "マージリクエスト #{{number}} をマージしますか?", + "confirmGitLabSquash": "マージリクエスト #{{number}} のコミットをまとめてマージしますか?", + "confirmGitLabRebase": "マージリクエスト #{{number}} をリベースしてマージしますか?", + "merged": "マージ済み", + "closed": "クローズ済み", + "conflicts": "競合あり", + "behind": "遅れあり", + "blocked": "ブロック中", + "checksPending": "チェック待ち", + "ableToMerge": "マージ可能", + "unknown": "不明" + }, "itemActions": { "changeStatus": "ステータスを変更", "copyGitHubLink": "GitHub リンクをコピーする", @@ -3586,6 +3602,11 @@ "updated": "更新日時", "updatedSortDescription": "アクティビティが新しい順" }, + "pagination": { + "pageUnreachable": "ページ {{page}} は GitHub 検索で取得できる範囲を超えています。", + "loadPageFailed": "ページ {{page}} を GitHub から読み込めませんでした。", + "noMoreResults": "ページ {{page}} にこれ以上の結果はありません。" + }, "pickerProjection": { "allRepos": "すべてのリポジトリ", "allSites": "すべてのサイト", diff --git a/mobile/src/i18n/locales/ko.json b/mobile/src/i18n/locales/ko.json index 2f8b4179263..0d561688f68 100644 --- a/mobile/src/i18n/locales/ko.json +++ b/mobile/src/i18n/locales/ko.json @@ -2564,8 +2564,8 @@ "insertFailed": "받아쓰기 내용을 삽입하지 못했습니다.", "insertFailedCopied": "받아쓰기 내용을 삽입하지 못해 클립보드에 복사했습니다.", "inserted": "받아쓰기 내용 삽입됨", - "stoppedAfterSilence": "1분 동안 말소리가 없어 중지했습니다.", - "stoppedAtCloudLimit": "클라우드 10분 제한에 도달해 받아쓰기가 중지되었습니다." + "stoppedAtCloudLimit": "클라우드 10분 제한에 도달해 받아쓰기가 중지되었습니다.", + "stoppedAfterSilenceSeconds": "{{seconds}}초 동안 조용해서 중지했습니다" }, "useNativeChatStop": { "stopNotSent": "중지 요청 전송 안 됨", @@ -3360,6 +3360,27 @@ } }, "tasks": { + "hostedMerge": { + "confirmGitHubMerge": "PR #{{number}}을(를) 병합하시겠습니까?", + "confirmGitHubSquash": "PR #{{number}}의 커밋을 합쳐서 병합하시겠습니까?", + "confirmGitHubRebase": "PR #{{number}}을(를) 리베이스한 후 병합하시겠습니까?", + "confirmGitLabMerge": "병합 요청 #{{number}}을(를) 병합하시겠습니까?", + "confirmGitLabSquash": "병합 요청 #{{number}}의 커밋을 합쳐서 병합하시겠습니까?", + "confirmGitLabRebase": "병합 요청 #{{number}}을(를) 리베이스한 후 병합하시겠습니까?", + "merged": "병합됨", + "closed": "닫힘", + "conflicts": "충돌", + "behind": "뒤처짐", + "blocked": "차단됨", + "checksPending": "검사 대기 중", + "ableToMerge": "병합 가능", + "unknown": "알 수 없음" + }, + "pagination": { + "pageUnreachable": "{{page}}페이지는 GitHub 검색에서 반환할 수 있는 범위를 벗어났습니다.", + "loadPageFailed": "GitHub에서 {{page}}페이지를 불러오지 못했습니다.", + "noMoreResults": "{{page}}페이지에 더 이상 결과가 없습니다." + }, "composerSource": { "baseFailed": "기본 브랜치를 확인하지 못했습니다.", "forkPushWarning": "이 PR에서 \"유지 관리자의 수정 허용\"이 꺼져 있어 GitHub에서 포크로의 푸시를 거부할 수 있습니다." diff --git a/mobile/src/i18n/locales/pt.json b/mobile/src/i18n/locales/pt.json index bee99bc37a9..a771d8fb340 100644 --- a/mobile/src/i18n/locales/pt.json +++ b/mobile/src/i18n/locales/pt.json @@ -17,7 +17,8 @@ "switchFailed": "Não foi possível trocar de conta", "title": "Contas", "useReset": "Redefinir agora", - "weeklyWindow": "7d" + "weeklyWindow": "7d", + "pairingInvalidMessage": "Emparelhe novamente este telefone com seu desktop para ver suas contas." } }, "agentHistory": { @@ -40,7 +41,11 @@ "unknownHostPlatform": "Não foi possível determinar a plataforma do host.", "updateHost": "Atualize o Orca neste host para consultar o histórico de sessões de agente.", "waitingForHost": "Aguardando host…", - "workspace": "Espaço de Trabalho" + "workspace": "Espaço de Trabalho", + "hideDetails": "Ocultar detalhes", + "showDetails": "Mostrar detalhes", + "dismissNotice": "Descartar", + "loading": "Carregando sessões do agente…" }, "resumeTarget": { "differentHost": "Esta sessão pertence a um host diferente. Abra um espaço de trabalho no mesmo host para retomá-la.", @@ -55,7 +60,10 @@ "messages_many": "{{count}} mensagens", "messages_one": "{{count}} mensagem", "messages_other": "{{count}} mensagens", - "resumeSession": "Retomar sessão de agente" + "resumeSession": "Retomar sessão de agente", + "hidePreview": "Oculta as mensagens recentes.", + "showPreview": "Mostra as mensagens recentes.", + "you": "Você" }, "useAgentHistoryState": { "hostUnreachable": "Não foi possível acessar o host", @@ -65,6 +73,9 @@ "worktreeNavigationActions": { "agentSessionHistory": "Histórico de Sessões de Agente", "sourceControl": "Controle de Código-Fonte" + }, + "resume": { + "hostConnectionChanged": "A conexão com o host mudou. Tente retomar a sessão." } }, "app": { @@ -165,6 +176,13 @@ "viewModeSwitch": { "mobileView": "Mostrar versão do site para celular", "webView": "Mostrar versão do site para computador" + }, + "stream": { + "updateApp": "Atualize o aplicativo Orca para transmitir as guias do navegador aqui.", + "updateDesktop": "Atualize o Orca para desktop para transmitir as guias do navegador no celular.", + "checking": "Verificando o suporte de streaming do navegador de desktop.", + "pageUnavailable": "A página do navegador ainda não está disponível.", + "timedOut": "A transmissão do navegador expirou." } }, "chat": { @@ -407,7 +425,8 @@ "toggleOption": "Alternar {{value0}}", "ultra": "Ultra", "xhigh": "Extra alto", - "xhighShort": "Extra alto" + "xhighShort": "Extra alto", + "ultracode": "Ultracode" }, "sessionOptionPickers": { "agentWorking": "O agente está trabalhando", @@ -418,7 +437,9 @@ "permissions": "Permissões", "permissionsLabel": "Permissões, {{value}}", "settingsLocked": "As configurações do modelo serão desbloqueadas quando este turno terminar.", - "workingAnnouncement": "O agente está trabalhando. As configurações do modelo serão desbloqueadas quando este turno terminar." + "workingAnnouncement": "O agente está trabalhando. As configurações do modelo serão desbloqueadas quando este turno terminar.", + "applying": "Aplicando…", + "optionsSection": "Opções" }, "sessionOptionRows": { "defaultMarker": "Padrão", @@ -617,7 +638,12 @@ }, "agentMessage": { "handedOffToAgent": "Entregue a um agente", - "startedAgent": "Agente iniciado" + "startedAgent": "Agente iniciado", + "startedWorker": "Worker iniciado", + "taskFromCoordinator": "Tarefa do coordenador", + "messageFromCoordinator": "Mensagem do coordenador", + "updateFromWorker": "Atualização do worker", + "messageFrom": "Mensagem de" }, "textAttachmentPreview": { "unreadableReply": "A resposta do anexo não pode ser lida. Tente novamente.", @@ -706,7 +732,22 @@ "retry": "Tentar novamente", "save": "Salvar", "settings": "Configurações", - "unknown": "Desconhecido" + "unknown": "Desconhecido", + "loadError": { + "title": "Não foi possível carregar", + "generic": "Algo deu errado. Tente novamente.", + "unreachable": "Não foi possível conectar ao computador. Tente novamente." + }, + "offline": { + "waitingFor": "Esperando por {{host}}", + "waiting": "Aguardando o computador", + "message": "Verifique se o seu computador está ativado e se o Orca está em execução.", + "reconnect": "Reconectar" + }, + "noMatch": { + "title": "Nenhuma correspondência", + "clearSearch": "Limpar busca" + } }, "components": { "accountsSnapshot": { @@ -821,7 +862,12 @@ "noReviewableChanges": "Nenhuma alteração para revisar", "reviewUnavailable": "Revisão indisponível", "selectFile": "Selecione um arquivo para revisar.", - "tooLargeMessage": "Este diff é grande demais para a prévia no celular." + "tooLargeMessage": "Este diff é grande demais para a prévia no celular.", + "showUnchangedLines": "Mostrar {{count}} linhas inalteradas", + "unchangedLines_one": "{{count}} linha inalterada", + "unchangedLines_other": "{{count}} linhas inalteradas", + "allStaged": "Tudo foi preparado para commit", + "unchangedLines_many": "{{count}} linhas inalteradas" }, "diffReviewDrawers": { "addNote": "Adicionar nota", @@ -849,20 +895,48 @@ "unsentNotes_many": "{{count}} notas não enviadas", "unsentNotes_one": "{{count}} nota não enviada", "unsentNotes_other": "{{count}} notas não enviadas", - "updateRequired": "Atualize o Orca no seu computador" + "updateRequired": "Atualize o Orca no seu computador", + "viewedFiles_one": "{{count}} arquivo visualizado", + "viewedFiles_other": "{{count}} arquivos visualizados", + "notes_one": "{{count}} nota", + "notes_other": "{{count}} notas", + "allViewedTitle": "Todos os arquivos visualizados", + "unstageFile": "Remover do stage", + "addFileNote": "Adicionar nota de arquivo", + "pullRequest": "Pull request", + "discardChanges": "Descartar alterações", + "rangeLine": "Linha {{line}}", + "rangeLines": "Linhas {{startLine}}–{{line}}", + "sendToAnAgent": "Enviar para agente", + "rangePlaceholder": "O que deve mudar aqui?", + "commentOnGitHub": "Comente no GitHub", + "sendToAgent": "Enviar para {{agent}}", + "viewedFiles_many": "{{count}} arquivos visualizados", + "notes_many": "{{count}} notas" }, "diffReviewFileSummary": { "changed": "Alterado", "editFileNote": "Editar nota do arquivo", - "stale": "Desatualizada" + "stale": "Desatualizada", + "untracked": "Não rastreado", + "notStaged": "Não preparado", + "viewed": "Visualizado", + "renamedFrom": "Renomeado de {{oldPath}}", + "threadsWhenInSync_one": "O comentário no GitHub aparecerá aqui quando esta branch corresponder ao pull request.", + "threadsWhenInSync_other": "Os {{count}} comentários no GitHub aparecerão aqui quando esta branch corresponder ao pull request.", + "threadsWhenInSync_many": "Os {{count}} comentários no GitHub aparecerão aqui quando esta branch corresponder ao pull request." }, "diffReviewFooter": { "nextFile": "Próximo arquivo", - "previousFile": "Arquivo anterior" + "previousFile": "Arquivo anterior", + "stageNext": "Preparar · próximo arquivo", + "viewedNext": "Visualizado · próximo arquivo", + "nextFileButton": "Próximo arquivo" }, "diffReviewHeader": { "openReviewActions": "Abrir ações de revisão", - "title": "Alterações" + "title": "Alterações", + "jumpToFile": "{{fileName}}, pule para outro arquivo" }, "diffReviewLine": { "addNoteOnLine": "Adicionar nota na linha {{number}}", @@ -956,7 +1030,11 @@ "noProjectsFound": "Nenhum projeto encontrado", "note": "Nota", "notePlaceholder": "Escreva uma nota", - "workspaceName": "Nome do espaço de trabalho" + "workspaceName": "Nome do espaço de trabalho", + "options": "Opções", + "createWorkspace": "Criar espaço de trabalho", + "startFrom": "Iniciar a partir de", + "loadingProjects": "Carregando projetos…" }, "newWorktreeModal": { "remoteRepository": "Repositório remoto" @@ -970,7 +1048,8 @@ "project": "Projeto", "runOn": "Executar em", "selectProject": "Selecione um projeto", - "selectRunTarget": "Selecione um destino de execução" + "selectRunTarget": "Selecione um destino de execução", + "where": "Onde" }, "prSidebar": { "loading": "Carregando pull request…", @@ -1027,7 +1106,12 @@ "runHooks": "Executar hooks", "runSetupTitle": "Executar a configuração de {{repoName}}?", "scriptChangedTitle": "O script de configuração de {{repoName}} foi alterado", - "scriptLabel": "Script de configuração" + "scriptLabel": "Script de configuração", + "runArchiveTitle": "Executar o script de arquivamento de {{repoName}}?", + "archiveScriptChangedTitle": "O script de arquivamento de {{repoName}} foi alterado", + "archiveDescription": "O orca.yaml deste repositório é executado antes que o espaço de trabalho seja excluído. Execute-o apenas se você confiar neste repositório.", + "archiveScriptLabel": "Script de arquivamento", + "newArchiveScriptLabel": "Novo script de arquivamento" }, "smartWorkspaceAdvancedFields": { "branchName": "Nome da branch", @@ -1042,11 +1126,15 @@ "noResults": "Nenhum resultado encontrado.", "searchPlaceholder": "Digite um nome ou busque uma origem", "switchRepo": "Mudar para {{repoName}}", - "typeWorkspaceName": "Digite um nome para o espaço de trabalho no campo abaixo." + "typeWorkspaceName": "Digite um nome para o espaço de trabalho no campo abaixo.", + "workspaceName": "Nome do espaço de trabalho", + "startFrom": "Iniciar a partir de" }, "smartWorkspaceSourceField": { "openSelectedSource": "Abrir origem selecionada", - "searchPlaceholder": "Digite um nome ou busque uma origem" + "searchPlaceholder": "Digite um nome ou busque uma origem", + "optionalLabel": "Opcional", + "clearSelectedSource": "Limpar origem selecionada" }, "smartWorkspaceSourceRow": { "createBranch": "Criar branch \"{{name}}\"", @@ -1140,7 +1228,41 @@ "composer": { "planMode": "Plano", "exitPlanMode": "Sair do modo de planejamento" + }, + "turnDiff": { + "changedFiles_one": "{{count}} arquivo alterado", + "changedFiles_other": "{{count}} arquivos alterados", + "partial": "Diff parcial", + "showMoreFiles": "Mostrar mais {{count}}", + "changedFiles_many": "{{count}} arquivos alterados" } + }, + "pullDownMenu": { + "close": "Fechar menu" + }, + "bottomSearchBar": { + "closeSearch": "Fechar busca" + }, + "sheetHeader": { + "close": "Fechar" + }, + "worktreeAgentList": { + "hideChildAgents_one": "Ocultar {{count}} agente filho", + "hideChildAgents_other": "Ocultar {{count}} agentes filhos", + "showChildAgents_one": "Mostrar {{count}} agente filho", + "showChildAgents_other": "Mostrar {{count}} agentes filhos", + "hideIdleChildren": "Ocultar {{count}} agentes filhos inativos", + "showIdleChildren": "Mostrar {{count}} agentes filhos ociosos", + "idleChildCount": "{{count}} ocioso", + "hideChildAgents_many": "Ocultar {{count}} agentes filhos", + "showChildAgents_many": "Mostrar {{count}} agentes filhos" + }, + "diffReviewFilesSheet": { + "title": "Arquivos", + "search": "Ir para o arquivo", + "noMatches": "Nenhum arquivo corresponde", + "current": "atual", + "viewedFile": "{{path}} visualizado" } }, "connection": { @@ -1412,7 +1534,11 @@ "loadFailed": "Não foi possível carregar os arquivos", "title": "Arquivos", "truncatedList": "{{worktreeLabel}} - Mostrando os primeiros 5000", - "waiting": "Aguardando o desktop…" + "waiting": "Aguardando o desktop…", + "filterPlaceholder": "Filtrar arquivos", + "noMatchesHint": "Somente as pastas que você abriu serão pesquisadas.", + "clearFilter": "Limpar filtro", + "loading": "Carregando arquivos…" }, "fileExplorerRow": { "fileUnavailable": "{{name}} indisponível no celular", @@ -1437,7 +1563,9 @@ "copyLoadedSource": "Copiar código-fonte Markdown carregado", "copySource": "Copiar código-fonte Markdown", "viewPreview": "Ver pré-visualização renderizada do Markdown", - "viewSource": "Ver código-fonte Markdown" + "viewSource": "Ver código-fonte Markdown", + "previewMode": "Pré-visualizar", + "sourceMode": "Origem" }, "fileMediaPreview": { "downloading": "Baixando {{bytes}} de {{total}}", @@ -1513,7 +1641,8 @@ "appUpdateCard": { "dismissAccessibilityLabel": "Descartar atualização do Orca {{version}}", "title": "Orca {{version}} está disponível", - "updateAccessibilityLabel": "Orca {{version}} está disponível, toque para atualizar" + "updateAccessibilityLabel": "Orca {{version}} está disponível, toque para atualizar", + "update": "Atualizar" }, "automationsTab": { "connectDesktop": "Conecte {{desktop}} para ver e executar automações.", @@ -1536,7 +1665,9 @@ "openDesktopDescription": "Vá para Configurações → Mobile e gere um código QR de pareamento.", "openDesktopTitle": "Abra o Orca no desktop", "scanCodeTitle": "Escaneie o código", - "title": "Conecte seu desktop" + "title": "Conecte seu desktop", + "pairDesktopButton": "Emparelhar computador", + "scanCodeBelowDescription": "Toque em Emparelhar computador abaixo e aponte a câmera para o código QR na tela." }, "listFooter": { "hostPickerTitle": "Abrir tarefas em" @@ -1577,6 +1708,18 @@ "showUsageFor": "Mostrar uso de", "updatedAgo": "Atualizado há {{time}}", "updatedJustNow": "Atualizado agora mesmo" + }, + "bottomBar": { + "connectFirst": "Conecte um computador para iniciar um novo trabalho.", + "newWorkspace": "Novo espaço de trabalho" + }, + "desktops": { + "pairDesktop": "Emparelhe um computador" + }, + "jumpBackIn": {}, + "sections": { + "tasks": "Tarefas", + "tasksSubtitle": "Explore suas issues e revisões" } }, "hooks": { @@ -1608,7 +1751,8 @@ "name": "Nome", "saveFailed": "Falha ao salvar o host.", "saveHost": "Salvar host", - "title": "Editar host" + "title": "Editar host", + "removeHost": "Remover host" } }, "hostScreen": { @@ -1629,7 +1773,8 @@ "hideSidebar": "Ocultar barra lateral", "reconnect": "Reconectar", "tasks": "Tarefas", - "automations": "Automações" + "automations": "Automações", + "moreActions": "Mais ações" }, "hostScreenOverlays": { "deleteConfirmMessage": "Excluir \"{{name}}\" ({{branch}})?", @@ -1642,7 +1787,9 @@ "removeHostMessage": "Remover \"{{name}}\"? Você pode parear novamente mais tarde.", "sleep": "Suspender", "unpin": "Desafixar", - "rename": "Renomear" + "rename": "Renomear", + "deleteFailed": "Falha ao excluir \"{{name}}\"", + "deleteAnyway": "Excluir Mesmo Assim" }, "workspaceDetailsSheet": { "checksFailing": "Verificações: com falha", @@ -1723,13 +1870,26 @@ "syncedAcrossDevices": "Sincronizadas entre seus dispositivos", "thisComputer": "Este computador", "waitingForDesktop": "Ainda aguardando o desktop", - "workspaceOptions": "Opções do espaço de trabalho" + "workspaceOptions": "Opções do espaço de trabalho", + "done": "Concluído", + "reset": "Restaurar" }, "workspaceRenameSheet": { "title": "Renomear espaço de trabalho", "emptyUsesBranch": "Deixe em branco para usar o nome da branch.", "emptyUsesFolder": "Deixe em branco para usar o nome da pasta.", "failed": "Não foi possível renomear o espaço de trabalho. {{reason}}" + }, + "hostBottomBar": { + "workspaceOptions": "Opções do espaço de trabalho", + "activeFilters_one": "Opções do espaço de trabalho ({{count}} filtro ativo)", + "activeFilters_other": "Opções do espaço de trabalho ({{count}} filtros ativos)", + "searchWorkspaces": "Buscar espaços de trabalho", + "newWorkspace": "Novo espaço de trabalho", + "activeFilters_many": "Opções do espaço de trabalho ({{count}} filtros ativos)" + }, + "identity": { + "hostNotFound": "Host não encontrado" } }, "navigation": { @@ -1768,7 +1928,9 @@ "onlyWhenAwayHint": "Após 3 minutos sem atividade do teclado ou mouse, ou quando o desktop estiver bloqueado.", "sound": "Som de notificação", "suppressWhileFocused": "Suprimir enquanto em foco", - "suppressWhileFocusedHint": "Não enviar alertas do espaço de trabalho aberto neste celular." + "suppressWhileFocusedHint": "Não enviar alertas do espaço de trabalho aberto neste celular.", + "onlyWhenAgentNeedsInput": "Somente quando um agente precisa de mim", + "onlyWhenAgentNeedsInputHint": "Solicitações de permissão e perguntas. Ignora agentes finalizados." } }, "onboarding": { @@ -1825,7 +1987,15 @@ "unresolve": "Reabrir", "yearsAgo_many": "há {{count}} anos", "yearsAgo_one": "há {{count}} ano", - "yearsAgo_other": "há {{count}} anos" + "yearsAgo_other": "há {{count}} anos", + "resolved": "resolvido", + "openOnGitHub": "Abrir comentário no GitHub", + "replyToComment": "Responder ao comentário", + "editComment": "Editar comentário", + "deleteComment": "Excluir comentário", + "unresolveThread": "Reabrir discussão", + "resolveThread": "Resolver thread", + "replyPlaceholder": "Escreva uma resposta…" }, "commentsSection": { "comment": "Comentar", @@ -1834,7 +2004,20 @@ "noComments": "Ainda não há comentários.", "noDescription": "Nenhuma descrição fornecida.", "showMore": "Mostrar mais {{count}}", - "title": "Comentários" + "title": "Comentários", + "all": "Todos", + "humans": "Humanos", + "bots": "Robôs", + "noBotComments": "Nenhum comentário de bot.", + "noHumanComments": "Nenhum comentário humano.", + "commentsLoadFailed": "Não foi possível carregar os comentários. Toque em atualizar para tentar novamente.", + "showMoreOf": "Mostrar {{count}} mais de {{remaining}}", + "addCommentPlaceholder": "Adicione um comentário…", + "resolvedThreadSingle": "Thread resolvida de {{author}}", + "resolvedThreadCount": "Tópico resolvido por {{author}} ({{count}})", + "resolvedCommentSingle": "Comentário resolvido de {{author}}", + "resolvedCommentCount": "Comentário resolvido por {{author}} ({{count}})", + "commentsLoadFailedRetry": "Não foi possível carregar os comentários." }, "linkPrForm": { "linkButton": "Vincular pull request", @@ -1854,7 +2037,10 @@ "reopenButton": "Reabrir", "reopenConfirmMessage": "#{{number}} será reaberto.", "reopenConfirmTitle": "Reabrir pull request?", - "unlinkButton": "Desvincular" + "unlinkButton": "Desvincular", + "unlinkFailed": "Falha ao desvincular o pull request.", + "mergeConfirmTitle": "Mesclar pull request?", + "mergeButton": "Mesclar" }, "prActionsState": { "behindHint": "Atualize a branch antes de fazer o merge", @@ -1956,7 +2142,8 @@ "currentBranchNotLinked": "A branch atual não está vinculada a um PR aberto.", "linkExistingPullRequest": "Vincular um pull request existente", "linkedPrUnavailable": "PR vinculado #{{number}} indisponível", - "refreshOrCreate": "Atualize para verificar novamente ou crie um novo PR para esta branch." + "refreshOrCreate": "Atualize para verificar novamente ou crie um novo PR para esta branch.", + "branchRequired": "Faça checkout de uma branch antes de criar um pull request." }, "prViewPanel": { "branchUnavailable": "Branch atual indisponível.", @@ -1976,7 +2163,172 @@ "removeReviewer": "Remover {{login}}", "requested": "Solicitado", "reviewed": "Revisado", - "title": "Revisores" + "title": "Revisores", + "loadFailed": "Não foi possível carregar os revisores. Toque em atualizar para tentar novamente." + }, + "tab": { + "updated": "atualizado {{time}}", + "moreActions": "Mais ações de pull request", + "unlinkConfirmTitle": "Desvincular pull request?", + "unlinkConfirmMessage": "#{{number}} permanece aberto no GitHub; este espaço de trabalho para de rastreá-lo.", + "createPullRequest": "Criar pull request", + "mergedInto": "Mesclado em {{base}}", + "merged": "Mesclado", + "cantMergeYet": "Ainda não é possível mesclar:", + "willMergeWhenReady": "Irá mesclar quando estiver pronto", + "mergeWhenReady": "Mesclar quando estiver pronto", + "commentsOnFiles": "{{comments}} comentários em {{files}} arquivos", + "filesChanged_one": "{{count}} arquivo alterado", + "filesChanged_other": "{{count}} arquivos alterados", + "editDescription": "Editar descrição", + "edit": "Editar", + "showLess": "Mostrar menos", + "showMore": "Mostrar mais", + "viewedOf": "{{viewed}} de {{total}} visualizados", + "filesChanged_many": "{{count}} arquivos alterados" + }, + "menu": { + "refresh": "Atualizar", + "openOnGitHub": "Abrir no GitHub", + "copied": "Copiado", + "copyLink": "Copiar link", + "editTitle": "Editar título", + "autoMerge": "Mesclar automaticamente", + "markDraft": "Marcar como rascunho", + "unlink": "Desvincular do espaço de trabalho", + "close": "Fechar pull request" + }, + "mergeSheet": { + "squashDetail": "Um commit em {{base}}", + "mergeDetail": "Mantém cada commit", + "rebaseDetail": "Reproduz cada commit em {{base}}", + "subtitle": "Em {{base}}", + "title": "Mesclar #{{number}}" + }, + "editSheet": { + "title": "Editar título", + "description": "Editar descrição" + }, + "createSheet": { + "base": "Base", + "searchBranches": "Buscar branches", + "branchSearchFailed": "Falha ao buscar branches", + "noBranches": "Nenhuma ramificação correspondente", + "title": "Crie {{reviewLabel}}", + "titleLabel": "Título", + "descriptionLabel": "Descrição", + "writeWithAi": "Escreva com IA", + "descriptionPlaceholder": "Opcional", + "draft": "Criar como rascunho" + }, + "screens": { + "hideLog": "Ocultar registro", + "viewLog": "Ver registro", + "copyError": "Copiar erro", + "openOnGitHub": "Abrir no GitHub", + "failedAfter": "Falha após {{duration}}", + "failed": "Falhou", + "rerun": "Executar novamente", + "copyErrorFailed": "Não foi possível copiar o erro.", + "durationMinutes": "{{minutes}}min {{seconds}}s", + "failing": "Com falha", + "fixWithAi": "Corrigir com IA", + "runningSection": "Em execução", + "queued": "Na fila", + "inProgress": "Em andamento", + "passedSection": "Aprovado", + "neutralSection": "Neutro", + "filterComments": "Filtrar comentários", + "unresolvedCount": "Não resolvido {{count}}", + "noUnresolved": "Não há tópicos não resolvidos.", + "hideBots": "Ocultar bots", + "bot": "robô", + "commentActions": "Mais para este comentário", + "replyAndMore": "{{body}} (+{{count}} mais)", + "severityCritical": "Crítico", + "severityMajor": "Alta", + "severityMinor": "Baixa", + "severityTrivial": "Trivial", + "thread": "Discussão", + "backToComments": "Voltar aos comentários", + "threadGone": "Esta discussão não está mais no pull request.", + "replyPlaceholder": "Responder…", + "back": "Voltar ao pull request", + "noPullRequest": "Esta branch não tem um pull request no momento.", + "live": "Ao vivo", + "askToFix": "Peça ao {{agent}} para corrigir", + "askAiToFix": "Peça à IA para consertar", + "checkActions": "Mais para {{name}}", + "durationSeconds": "{{seconds}}s", + "durationHours": "{{hours}}h {{minutes}}m", + "namesAndMore": "{{names}} e {{count}} mais", + "running": "{{count}} em execução", + "commentOnPr": "Comente em #{{number}}…", + "allCount": "Todos {{count}}", + "resolvedCount": "Resolvido {{count}}", + "threadSubtitle_one": "{{author}} · {{count}} mensagem", + "threadSubtitle_other": "{{author}} · {{count}} mensagens", + "fixWith": "Corrigir com {{agent}}", + "threadSubtitle_many": "{{author}} · {{count}} mensagens" + }, + "reviewersSheet": { + "approvals_one": "{{count}} aprovação", + "approvals_other": "{{count}} aprovações", + "addReviewer": "Adicionar um revisor", + "approvals_many": "{{count}} aprovações" + }, + "emptyState": { + "commitsReady_one": "{{count}} commit em {{branch}} está pronto para entrar em {{base}}.", + "commitsReady_other": "{{count}} commits em {{branch}} estão prontos para entrar em {{base}}.", + "title": "Ainda não há pull request", + "commitsReady_many": "{{count}} commits em {{branch}} estão prontos para entrar em {{base}}." + }, + "gates": { + "checksUnavailable": "Verificações indisponíveis", + "checksFailing_one": "{{count}} verificação falhando", + "checksFailing_other": "{{count}} verificações falhando", + "checksRunning_one": "{{count}} verificação em execução", + "checksRunning_other": "{{count}} verificações em execução", + "checksPassedSoFar": "Verificações aprovadas até agora: {{count}}", + "noChecks": "Nenhuma verificação", + "checksFinished": "Verificações concluídas", + "checksPassed_one": "{{count}} verificação aprovada", + "checksPassed_other": "{{count}} verificações aprovadas", + "checksNeutral": "Verificações neutras: {{count}}", + "threads": "Discussões da revisão", + "commentsUnavailable": "Comentários indisponíveis", + "allThreadsResolved": "Todos os tópicos resolvidos", + "noThreads": "Nenhum tópico de revisão", + "fromBots_one": "{{count}} de um bot", + "fromBots_other": "{{count}} de bots", + "unresolvedThreads_one": "{{count}} tópico não resolvido", + "unresolvedThreads_other": "{{count}} tópicos não resolvidos", + "changesRequested": "Alterações solicitadas", + "requestedChangesBy": "Alterações solicitadas por {{logins}}", + "approvedBy": "Aprovado por {{logins}}", + "reviewRequestedFrom": "Revisão solicitada a {{logins}}", + "reviewRequired": "Revisão necessária", + "noApprovals": "Ainda não há aprovações", + "approvals_one": "{{count}} aprovação", + "approvals_other": "{{count}} aprovações", + "conflictsWithBase": "Conflitos com {{base}}", + "conflicts": "Conflitos de merge", + "conflictFiles_one": "{{count}} arquivo", + "conflictFiles_other": "{{count}} arquivos", + "conflictsChecking": "Verificando conflitos", + "noConflictsWithBase": "Sem conflitos com {{base}}", + "noConflicts": "Sem conflitos", + "threadAuthorOnFile": "{{author}} em {{file}}", + "checksFailing_many": "{{count}} verificações falhando", + "checksRunning_many": "{{count}} verificações em execução", + "checksPassed_many": "{{count}} verificações aprovadas", + "fromBots_many": "{{count}} de bots", + "unresolvedThreads_many": "{{count}} tópicos não resolvidos", + "approvals_many": "{{count}} aprovações", + "conflictFiles_many": "{{count}} arquivos" + }, + "checkStatus": { + "cancelled": "Cancelado" } }, "session": { @@ -1994,7 +2346,10 @@ "switchToPhoneMode": "Mudar para o modo celular", "pasteFromClipboard": "Colar da área de transferência", "paste": "Colar", - "addCustomShortcut": "Adicionar atalho personalizado" + "addCustomShortcut": "Adicionar atalho personalizado", + "control": "Ctrl", + "alt": "Alt", + "shift": "Shift" }, "activeContent": { "createTab": "Criar Aba", @@ -2117,7 +2472,8 @@ }, "commandDock": { "liveInputHint": "O texto digitado é enviado diretamente ao terminal ativo.", - "liveInputLabel": "Entrada em tempo real no terminal" + "liveInputLabel": "Entrada em tempo real no terminal", + "tapToShowKeyboard": "Toque para mostrar o teclado" }, "contentRow": { "dismissCreationWarning": "Dispensar aviso de criação do espaço de trabalho" @@ -2136,17 +2492,30 @@ "committedDiffUnavailable": "Diff de alterações commitadas indisponível", "desktopUpdateRequired": "Atualize o Orca no desktop para revisar alterações no celular.", "diffLoadFailed": "Não foi possível carregar o diff", - "reviewNotesLoadFailed": "Não foi possível carregar as notas de revisão" + "reviewNotesLoadFailed": "Não foi possível carregar as notas de revisão", + "commitLoadFailed": "Não foi possível carregar este commit", + "commitDiffUnavailable": "O diff do commit não está disponível." }, "diffReviewQueue": { "committedOnBranch": "Commitado na branch", "staged": "Preparado", - "unstaged": "Não preparado" + "unstaged": "Não preparado", + "inCommit": "Neste commit" }, "diffReviewScreenModel": { "branch": "Branch", "staged": "Preparado", - "unstaged": "Não preparado" + "unstaged": "Não preparado", + "positionUncommitted": "{{position}} de {{count}} não confirmado", + "positionInCommit": "{{position}} de {{count}} neste commit", + "positionViewed": "{{position}} de {{count}} · {{viewedCount}} visualizados", + "commitFiles_one": "{{count}} arquivo", + "commitFiles_other": "{{count}} arquivos", + "uncommittedFiles_one": "{{count}} não confirmado", + "uncommittedFiles_other": "{{count}} não confirmado", + "viewedOfCount": "{{viewedCount}} de {{count}} visualizados", + "commitFiles_many": "{{count}} arquivos", + "uncommittedFiles_many": "{{count}} não confirmado" }, "failure": { "accountSwitchInProgress": "A configuração de {{agent}} está sendo alterada neste host. Tente novamente quando terminar.", @@ -2275,7 +2644,8 @@ "waitForBackgroundTasks": "Aguarde a conclusão das tarefas em segundo plano.", "waitForStart": "Aguarde o agente terminar de iniciar.", "writeFailed": "O Orca não conseguiu repassar esta mensagem ao agente, por isso ela não foi enviada.", - "pluginInputRequired": "{{agent}} parou porque o plugin \"{{plugin}}\" está aguardando uma entrada em um painel de terminal. Desative o plugin para sessões de chat ou execute a tarefa em um terminal {{agent}}." + "pluginInputRequired": "{{agent}} parou porque o plugin \"{{plugin}}\" está aguardando uma entrada em um painel de terminal. Desative o plugin para sessões de chat ou execute a tarefa em um terminal {{agent}}.", + "unconfirmed": "Não foi possível confirmar se isto foi enviado. Não foi reenviado." }, "fileReader": { "copyReviewNotes": "Copiar notas de revisão", @@ -2286,14 +2656,16 @@ "reviewNotes_one": "{{count}} nota de revisão", "reviewNotes_other": "{{count}} notas de revisão", "send": "Enviar", - "sendReviewNotes": "Enviar notas de revisão à IA" + "sendReviewNotes": "Enviar notas de revisão à IA", + "loading": "Carregando arquivo…" }, "floatingWorkspace": { "title": "Espaço de Trabalho Flutuante" }, "githubPrMutations": { "reviewThreadUpdateFailed": "Falha ao atualizar a thread de revisão.", - "titleUpdateFailed": "Falha ao atualizar o título." + "titleUpdateFailed": "Falha ao atualizar o título.", + "fileViewedFailed": "Falha ao atualizar o estado visualizado." }, "githubPrRpc": { "requestFailed": "Falha na solicitação: {{method}}" @@ -2327,7 +2699,8 @@ "copySource": "Copiar código-fonte Markdown", "discard": "Descartar", "previewTruncated": "Pré-visualização truncada.", - "readOnly": "Somente leitura" + "readOnly": "Somente leitura", + "loading": "Carregando documento…" }, "nativeChatAttachActions": { "availableSkills": "Disponíveis: {{count}}", @@ -2595,7 +2968,8 @@ "useDiffReviewController": { "loadFailed": "Não foi possível carregar a revisão", "missingWorktree": "Worktree ausente", - "waitingForDesktop": "Aguardando o desktop…" + "waitingForDesktop": "Aguardando o desktop…", + "commitMissing": "Atualize o aplicativo Orca para abrir arquivos de commit aqui." }, "useDiffReviewDiffLoading": { "loadFailed": "Não foi possível carregar o diff", @@ -2638,8 +3012,8 @@ "insertFailed": "Não foi possível inserir o ditado", "insertFailedCopied": "Não foi possível inserir o ditado, então ele foi copiado para a área de transferência", "inserted": "Ditado inserido", - "stoppedAfterSilence": "Parou após um minuto de silêncio", - "stoppedAtCloudLimit": "O ditado foi interrompido no limite de 10 minutos da nuvem." + "stoppedAtCloudLimit": "O ditado foi interrompido no limite de 10 minutos da nuvem.", + "stoppedAfterSilenceSeconds": "Parado após {{seconds}} segundos de silêncio" }, "useNativeChatStop": { "stopNotSent": "Comando de parada não enviado", @@ -2778,7 +3152,8 @@ "waitForCommand": "Aguarde a conclusão do /compact ou /clear.", "waitForStart": "Aguarde o agente terminar de iniciar.", "waitForTurn": "Aguarde o agente terminar de responder ou interrompa-o.", - "waitMoment": "Aguarde um momento." + "waitMoment": "Aguarde um momento.", + "mailOwnerUnconfirmed": "Orca não conseguiu confirmar se esta mensagem ainda se destina a este chat." }, "workerAutoClose": { "running": "Agente de orquestração temporário · Fecha 2 minutos após terminar", @@ -2824,7 +3199,47 @@ }, "structuredOpen": { "worktreeDeleted": "A worktree foi excluída.", - "folderWorkspaceRemoved": "O espaço de trabalho de pasta foi removido." + "folderWorkspaceRemoved": "O espaço de trabalho de pasta foi removido.", + "goneGeneric": "O chat do agente não está mais neste host, portanto não pode ser reaberto aqui.", + "unknownGeneric": "Não foi possível encontrar o bate-papo do agente neste host. Reconecte-se ao computador e tente novamente.", + "unsupportedGeneric": "O chat do agente não pode ser reaberto até que o Orca seja atualizado.", + "unreachableGeneric": "O chat do agente ainda não está disponível. Tente novamente em alguns instantes.", + "gone": "O bate-papo de {{agent}} não está mais neste host, portanto não pode ser reaberto aqui.", + "unknown": "O bate-papo de {{agent}} não foi encontrado neste host. Reconecte-se ao computador e tente novamente.", + "unsupported": "O bate-papo de {{agent}} não pode ser reaberto até que o Orca seja atualizado.", + "unreachable": "O bate-papo de {{agent}} ainda não está disponível. Tente novamente em alguns instantes.", + "paneUnavailable": "O painel do agente não está mais disponível." + }, + "nativeChatView": { + "loading": "Carregando conversa…" + }, + "contentState": { + "connectingTo": "Conectando-se a {{host}}…", + "connecting": "Conectando…", + "tabsStalled": "As guias estão demorando mais que o esperado" + }, + "presentation": { + "loadingTabs": "Carregando guias", + "oneTab": "1 guia", + "tabCount": "{{tabCount}} guias", + "tapToRetry": "{{status}} — toque para tentar novamente" + }, + "documentReaders": { + "markdownFailed": "Não foi possível carregar o Markdown.", + "diffFailed": "Não foi possível carregar a visualização das diferenças", + "fileFailed": "Não foi possível carregar a visualização do arquivo", + "outsideWorkspace": "Este arquivo está fora do espaço de trabalho. Abra-o no computador para visualizá-lo." + }, + "linkActionSheet": { + "openInOrca": "Abrir no navegador do Orca", + "openInBrowser": "Abrir no navegador do sistema", + "copyLink": "Copiar link" + }, + "useDiffReviewGitHub": { + "waitingForDesktop": "Aguardando o desktop…" + }, + "usePrTextAction": { + "updateFailed": "Falha ao atualizar o pull request." } }, "settings": { @@ -2977,7 +3392,8 @@ "speechModelHeading": "MODELO DE VOZ", "title": "Voz", "toggleMode": "Alternar", - "updateFailed": "Não foi possível atualizar" + "updateFailed": "Não foi possível atualizar", + "loading": "Carregando configurações de voz…" }, "agents": { "permissionOwnAll": "Configurações próprias dos agentes" @@ -3029,7 +3445,8 @@ "switchBranch": "Trocar de branch", "syncCounts": "Faça pull de {{behind}} e push de {{ahead}}.", "upToDate": "Nada para fazer commit. A branch está atualizada.", - "waitForRemoteOperation": "Tente novamente quando a operação remota terminar." + "waitForRemoteOperation": "Tente novamente quando a operação remota terminar.", + "openCommits": "Abrir commits" }, "branchBaseRef": { "resolveFailed": "Não foi possível determinar a branch base" @@ -3150,7 +3567,9 @@ "renamedFrom": "de {{path}}", "stageFile": "Adicionar {{path}} ao stage", "unresolvedConflict": "Conflito não resolvido", - "unstageFile": "Remover {{path}} do stage" + "unstageFile": "Remover {{path}} do stage", + "discard": "Descartar", + "discardFile": "Descartar {{path}}" }, "gitHistory": { "days_many": "{{count}}d", @@ -3178,10 +3597,13 @@ "noCommits": "Nenhum commit.", "noFileChanges": "Nenhuma alteração em arquivos", "retryFiles": "Tentar carregar os arquivos do commit novamente", - "waitingForDesktop": "Aguardando o desktop…" + "waitingForDesktop": "Aguardando o desktop…", + "loading": "Carregando commits…" }, "gitStatus": { - "conflicts": "Conflitos" + "conflicts": "Conflitos", + "uncommitted": "Sem commit", + "staged": "Preparado" }, "header": { "backToSession": "Voltar à sessão", @@ -3240,7 +3662,8 @@ "pushBeforeCreateFailed": "O push falhou. Resolva o erro de push e tente novamente." }, "hubTab": { - "changes": "Alterações" + "changes": "Alterações", + "pullRequest": "Pull request" }, "loaders": { "connectingToDesktop": "Conectando ao desktop…", @@ -3259,7 +3682,8 @@ "switchBranchTitle": "Trocar Branch" }, "panel": { - "unavailableTitle": "Controle de Código-Fonte Indisponível" + "unavailableTitle": "Controle de Código-Fonte Indisponível", + "loading": "Carregando alterações…" }, "prCreate": { "authRequired": "Autentique-se antes de criar um {{reviewLabel}}.", @@ -3290,7 +3714,17 @@ "publishBranch": "Publicar Branch", "pull": "Pull", "push": "Push", - "sync": "Sincronizar" + "sync": "Sincronizar", + "commitFiles_one": "Criar commit com {{count}} arquivo", + "commitFiles_other": "Criar commit com {{count}} arquivos", + "pushCommits_one": "Fazer push de {{count}} commit", + "pushCommits_other": "Fazer push de {{count}} commits", + "pullCommits_one": "Fazer pull de {{count}} commit", + "pullCommits_other": "Fazer pull de {{count}} commits", + "stageAll": "Adicionar tudo ao stage", + "commitFiles_many": "Criar commit com {{count}} arquivos", + "pushCommits_many": "Fazer push de {{count}} commits", + "pullCommits_many": "Fazer pull de {{count}} commits" }, "remoteDropdown": { "branchAlreadyPublished": "A branch já está publicada", @@ -3448,7 +3882,97 @@ "markResolved": "Marcar como resolvido", "keepFile": "Manter arquivo", "keepDeletion": "Manter exclusão", - "completeMergeFailed": "Não foi possível concluir a mesclagem" + "completeMergeFailed": "Não foi possível concluir a mesclagem", + "resolveFile": "{{action}}: {{path}}" + }, + "useMobileCreatePrRunner": { + "branchRequired": "Faça checkout de uma branch antes de criar um pull request." + }, + "commitDetail": { + "copySha": "Copiar SHA", + "openOnGitHub": "Abrir no GitHub", + "openOnWeb": "Abrir na web", + "back": "Voltar para commits", + "title": "Commit", + "more": "Mais ações de commit", + "author": "Autor", + "date": "Data", + "status": "Status", + "onOrigin": "Na origem", + "notPushed": "Não enviado", + "files_one": "{{count}} arquivo", + "files_other": "{{count}} arquivos", + "filesHeader": "Arquivos", + "authorWithCoAuthors": "{{author}}, com {{coAuthors}}", + "files_many": "{{count}} arquivos" + }, + "commits": { + "branchedFrom": "Ramificado de {{baseRef}}", + "baseUpToDate": "Atualizada", + "baseNewer_one": "1 commit mais recente", + "baseNewer_other": "{{count}} commits mais recentes", + "updateBranch": "Atualizar branch", + "back": "Voltar ao controle de versão", + "title": "Commits", + "loadMoreFailed": "Não foi possível carregar mais commits. Tentar novamente", + "notPushed": "Commits não enviados: {{count}}", + "onOrigin": "Na origem {{count}}", + "baseNewer_many": "{{count}} commits mais recentes" + }, + "nextStep": { + "willMergeWhenReady": "Irá mesclar quando estiver pronto", + "cancelAutoMerge": "Cancelar", + "cancelAutoMergeLabel": "Cancelar mesclagem automática", + "mergedInto": "Mesclado em {{base}}", + "merged": "Mesclado", + "genericAgent": "AI", + "cantMergeYet": "Ainda não é possível mesclar:", + "checksFailing_one": "{{count}} verificação falhando", + "checksFailing_other": "{{count}} verificações falhando", + "mergeWhenReady": "Mesclar quando estiver pronto", + "merge": "Mesclar", + "checksRunning_one": "{{count}} verificação ainda em execução", + "checksRunning_other": "{{count}} verificações ainda em execução", + "waitingOnReviewer": "Aguardando revisão de {{login}}", + "waitingOnReview": "Aguardando revisão", + "resolveWithAgent": "Resolva com {{agent}}", + "fixWithAgent": "Corrigir com {{agent}}", + "pushAndCreateReview": "Envie e crie {{review}}", + "createReview": "Criar {{review}}", + "checksFailing_many": "{{count}} verificações falhando", + "checksRunning_many": "{{count}} verificações ainda em execução" + }, + "prCreateDraft": { + "generateFailed": "Falha ao escrever uma descrição" + }, + "changesHeader": { + "merging": "Fazendo merge", + "rebasing": "Fazendo rebase", + "cherryPicking": "Aplicando cherry-pick", + "notPublished": "Não publicado", + "notPushed": "{{count}} não enviado", + "behind": "{{count}} atrás", + "upToDate": "Atualizada", + "switchBranch": "Mudar branch de {{branch}}", + "mergeInProgress": "Merge em andamento", + "rebaseInProgress": "Rebase em andamento", + "cherryPickInProgress": "Cherry-pick em andamento", + "filesNeedDecision_one": "{{count}} arquivo precisa de uma decisão antes de você concluir.", + "filesNeedDecision_other": "{{count}} arquivos precisam de uma decisão antes de você terminar.", + "conflictsResolved": "Todos os conflitos foram resolvidos. Conclua na barra abaixo.", + "continueOnComputer": "Todo conflito é resolvido. Continue no seu computador para terminar.", + "commits_one": "{{count}} commit", + "commits_other": "{{count}} commits", + "conflictsMayRemain": "Nem todos os arquivos estão listados, portanto, os conflitos podem permanecer. Verifique no seu computador.", + "filesNeedDecision_many": "{{count}} arquivos precisam de uma decisão antes de você terminar.", + "commits_many": "{{count}} commits" + }, + "fileList": { + "stageAll": "Adicionar tudo ao stage", + "mergedCleanly": "Mesclado de forma limpa", + "unstageAll": "Remover tudo do stage", + "onThisBranch": "Nesta branch: {{count}}", + "versusBase": "versus {{base}}" } }, "tasks": { @@ -3491,7 +4015,8 @@ "teamsTitle": "Equipes do Linear", "teams_many": "{{count}} equipes", "teams_one": "{{count}} equipe", - "teams_other": "{{count}} equipes" + "teams_other": "{{count}} equipes", + "statesFailed": "Não foi possível carregar os estados. Reabra para tentar novamente." }, "githubProjectList": { "browseProjects": "Navegar pelos projetos", @@ -3505,7 +4030,9 @@ "moreFields_other": "+{{count}} campos", "noItems": "Nenhum item no projeto", "pullRequestSubtitle": "Pull request · {{repository}}{{number}}", - "linkedPullRequestsOverflow": "+{{count}} mais" + "linkedPullRequestsOverflow": "+{{count}} mais", + "loading": "Carregando projeto…", + "noMatches": "Nenhum item do projeto corresponde." }, "githubProjectPickers": { "add": "Adicionar", @@ -3542,7 +4069,10 @@ "creating": "Criando…", "mergeConflicts": "O GitHub informa conflitos de merge.", "mergeMergeRequest": "Fazer merge do merge request", - "mergePullRequest": "Fazer merge do pull request" + "mergePullRequest": "Fazer merge do pull request", + "copyLink": "Copiar link", + "startWorkspace": "Iniciar espaço de trabalho", + "moreActions": "Mais ações" }, "itemDetailContent": { "addSubIssue": "Adicionar sub-issue", @@ -3560,7 +4090,15 @@ "pipelineJobs_other": "{{count}} jobs", "rerunAll": "Reexecutar todas", "subIssueTitle": "Título da sub-issue", - "subIssues": "Sub-issues" + "subIssues": "Sub-issues", + "details": "Detalhes", + "type": "Tipo", + "status": "Status", + "assignee": "Responsável", + "project": "Projeto", + "priority": "Prioridade", + "assignees": "Responsáveis", + "loading": "Carregando detalhes…" }, "itemDetailDrawer": { "refreshDetails": "Atualizar detalhes" @@ -3797,7 +4335,11 @@ }, "providerControls": { "myTodos": "Minhas pendências", - "projectMergeRequests": "MRs do projeto" + "projectMergeRequests": "MRs do projeto", + "reposLabel": "Repositórios: {{repos}}", + "filter": "Filtro", + "filterLabel": "Filtrar e exibir", + "filterCount": "Filtro · {{count}}" }, "providerItemList": { "intoBranch": "para {{base}}", @@ -3806,7 +4348,8 @@ "pageOfTotal": "Página {{page}} de {{total}}", "previousPage": "Página anterior", "selectPage": "Selecionar página, página {{page}}", - "selectPageOfTotal": "Selecionar página, página {{page}} de {{total}}" + "selectPageOfTotal": "Selecionar página, página {{page}} de {{total}}", + "kindAndStatus": "{{kind}}, {{status}}" }, "providerPickers": { "allRepositories": "Todos os repositórios", @@ -3926,7 +4469,8 @@ "selectRepository": "Selecione um repositório", "startFrom": "Iniciar a partir de", "title": "Criar Espaço de Trabalho", - "workspaceName": "Nome do Espaço de Trabalho" + "workspaceName": "Nome do Espaço de Trabalho", + "optionalLabel": "Opcional" }, "workspaceCreateProjection": { "nameAlreadyExists": "\"{{name}}\" já existe.", @@ -3984,7 +4528,69 @@ }, "worktreeCreateRetry": { "createFailed": "Falha ao criar espaço de trabalho" - } + }, + "hostedMerge": { + "confirmGitHubMerge": "Mesclar PR #{{number}}?", + "confirmGitHubSquash": "Fazer squash e mesclar o PR #{{number}}?", + "confirmGitHubRebase": "Fazer rebase e mesclar PR #{{number}}?", + "confirmGitLabMerge": "Mesclar o merge request #{{number}}?", + "confirmGitLabSquash": "Fazer squash e mesclar o merge request #{{number}}?", + "confirmGitLabRebase": "Fazer rebase e mesclar o merge request #{{number}}?", + "merged": "Mesclado", + "closed": "Fechado", + "conflicts": "Conflitos", + "behind": "Desatualizado", + "blocked": "Bloqueado", + "checksPending": "Verificações pendentes", + "ableToMerge": "Pode ser mesclado", + "unknown": "Desconhecido" + }, + "pagination": { + "pageUnreachable": "A página {{page}} está além do que a pesquisa do GitHub pode retornar.", + "loadPageFailed": "A página {{page}} não pôde ser carregada do GitHub.", + "noMoreResults": "Não há mais resultados na página {{page}}." + }, + "filterSheet": { + "sortBy": "Ordenar por", + "issueSource": "Origem da issue", + "issueSourceRow": "Upstream ou origem", + "view": "Exibir", + "projectView": "Visualização do projeto", + "chooseView": "Escolher", + "showOnRows": "Mostrar em linhas", + "projectFields": "Campos do projeto", + "workspace": "Espaço de Trabalho", + "linearWorkspace": "Espaço de trabalho do Linear", + "layout": "Disposição", + "groupBy": "Agrupar por", + "orderBy": "Ordenar por", + "displayProperties": "Propriedades de exibição", + "title": "Filtrar e exibir", + "done": "Concluído", + "jqlReplacesPreset": "Sua pesquisa JQL substitui a predefinição Mostrar. Limpe a pesquisa para escolher uma novamente.", + "projectItems_one": "{{count}} item", + "projectItems_other": "{{count}} itens", + "projectItems_many": "{{count}} itens" + }, + "jiraViewControls": { + "jqlSearch": "Pesquisa JQL" + }, + "itemComments": { + "noComments": "Ainda não há comentários", + "oneComment": "1 comentário", + "commentCount": "{{commentCount}} comentários" + }, + "listState": { + "loading": "Carregando tarefas…" + }, + "connectionPresentation": { + "connectToHost": "Conecte-se a um host para carregar tarefas", + "noMatchingTasks": "Nenhuma tarefa correspondente" + }, + "runtimeHydration": { + "loadFailed": "Falha ao carregar as configurações de Tarefas" + }, + "rerunUnsuccessful": "Repetir verificações" }, "terminal": { "keyDefinitions": { @@ -4083,7 +4689,9 @@ "noFilterMatches": "Nenhum espaço de trabalho corresponde aos filtros", "noMatches": "Nenhum espaço de trabalho encontrado", "reopen": "Reabrir para atualizar", - "reopenDetail": "Este host lista os espaços de trabalho em um formato que esta página ainda não reconhece." + "reopenDetail": "Este host lista os espaços de trabalho em um formato que esta página ainda não reconhece.", + "loading": "Carregando espaços…", + "retryingAutomatically": "Tentando novamente automaticamente." }, "workspaceListSections": { "all": "Todos", @@ -4101,6 +4709,9 @@ "right": "Direcional para a direita", "down": "Direcional para baixo", "hint": "Envia uma tecla de direção. Mantenha pressionado para repetir." + }, + "terminalKeyRail": { + "ctrlC": "Ctrl+C" } }, "automations": { @@ -4252,7 +4863,8 @@ "discardChangesTitle": "Descartar alterações?", "discardChangesMessage": "As edições não salvas nesta automação serão perdidas.", "discard": "Descartar", - "keepEditing": "Continuar editando" + "keepEditing": "Continuar editando", + "chooseHost": "Automações em {{host}}, escolha outro host" }, "orphanIssues": { "hostReselection": "Edite esta automação e selecione novamente seu host antes de executá-la.", @@ -4295,7 +4907,8 @@ "error": "A configuração do projeto falhou no host selecionado para a automação.", "unsupported": "O host selecionado para a automação não oferece suporte a este projeto." }, - "wslDistroStopped": "A distribuição WSL {{distro}} está parada, então esta execução agendada não a iniciou. Inicie a distribuição ou use Executar agora; as próximas execuções acontecem enquanto ela estiver em execução." + "wslDistroStopped": "A distribuição WSL {{distro}} está parada, então esta execução agendada não a iniciou. Inicie a distribuição ou use Executar agora; as próximas execuções acontecem enquanto ela estiver em execução.", + "agentInterrupted": "O agente foi interrompido antes de terminar esta execução." } }, "auto": { diff --git a/mobile/src/i18n/locales/ru.json b/mobile/src/i18n/locales/ru.json index 8ac3e79c21b..d76fa238c1a 100644 --- a/mobile/src/i18n/locales/ru.json +++ b/mobile/src/i18n/locales/ru.json @@ -2708,8 +2708,8 @@ "insertFailed": "Не удалось вставить текст диктовки", "insertFailedCopied": "Не удалось вставить текст диктовки — он скопирован в буфер обмена", "inserted": "Текст диктовки вставлен", - "stoppedAfterSilence": "Остановлено после минуты тишины", - "stoppedAtCloudLimit": "Диктовка остановлена: достигнут 10-минутный облачный лимит." + "stoppedAtCloudLimit": "Диктовка остановлена: достигнут 10-минутный облачный лимит.", + "stoppedAfterSilenceSeconds": "Остановлено после {{seconds}} с тишины" }, "useNativeChatStop": { "stopNotSent": "Команда остановки не отправлена", @@ -3540,6 +3540,27 @@ } }, "tasks": { + "hostedMerge": { + "confirmGitHubMerge": "Слить PR #{{number}}?", + "confirmGitHubSquash": "Объединить коммиты и слить PR #{{number}}?", + "confirmGitHubRebase": "Выполнить rebase и слить PR #{{number}}?", + "confirmGitLabMerge": "Слить запрос на слияние #{{number}}?", + "confirmGitLabSquash": "Объединить коммиты и слить запрос на слияние #{{number}}?", + "confirmGitLabRebase": "Выполнить rebase и слить запрос на слияние #{{number}}?", + "merged": "Слито", + "closed": "Закрыто", + "conflicts": "Конфликты", + "behind": "Отстаёт", + "blocked": "Заблокировано", + "checksPending": "Проверки ожидаются", + "ableToMerge": "Можно слить", + "unknown": "Неизвестно" + }, + "pagination": { + "pageUnreachable": "Страница {{page}} выходит за пределы результатов поиска GitHub.", + "loadPageFailed": "Не удалось загрузить страницу {{page}} из GitHub.", + "noMoreResults": "На странице {{page}} больше нет результатов." + }, "composerSource": { "baseFailed": "Не удалось определить базовую ветку.", "forkPushWarning": "В этом PR отключена настройка «Разрешить правки сопровождающим»; GitHub может отклонить отправку в форк." diff --git a/mobile/src/i18n/locales/tr.json b/mobile/src/i18n/locales/tr.json index bf6323cdbc8..b66fe29a454 100644 --- a/mobile/src/i18n/locales/tr.json +++ b/mobile/src/i18n/locales/tr.json @@ -1461,11 +1461,11 @@ "updateRequired": "PDF'leri açmak için Orca Mobile'ı güncelleyin" }, "unsavedEditsOffer": { - "changedSince": "{{time}} tarihli düzenlemelerinizden sonra masaüstünde değişti", + "changedSince": "Düzenlemelerinizden ({{time}}) sonra masaüstünde değişti", "copyMyEdits": "Düzenlemelerimi kopyala", "discard": "Vazgeç", "restore": "Geri yükle", - "unsavedFrom": "{{time}} tarihli kaydedilmemiş düzenlemeler" + "unsavedFrom": "Kaydedilmemiş düzenlemeler ({{time}})" } }, "home": { @@ -2568,8 +2568,8 @@ "insertFailed": "Dikte metni eklenemedi", "insertFailedCopied": "Dikte metni eklenemediği için panoya kopyalandı", "inserted": "Dikte metni eklendi", - "stoppedAfterSilence": "Bir dakika sessizlikten sonra durduruldu", - "stoppedAtCloudLimit": "Dikte, 10 dakikalık bulut sınırında durduruldu." + "stoppedAtCloudLimit": "Dikte, 10 dakikalık bulut sınırında durduruldu.", + "stoppedAfterSilenceSeconds": "{{seconds}} saniyelik sessizlikten sonra durduruldu" }, "useNativeChatStop": { "stopNotSent": "Durdurma isteği gönderilemedi", @@ -3364,6 +3364,27 @@ } }, "tasks": { + "hostedMerge": { + "confirmGitHubMerge": "PR #{{number}} birleştirilsin mi?", + "confirmGitHubSquash": "PR #{{number}} commit’leri squash edilerek birleştirilsin mi?", + "confirmGitHubRebase": "PR #{{number}} yeniden temellendirilip birleştirilsin mi?", + "confirmGitLabMerge": "Birleştirme isteği #{{number}} birleştirilsin mi?", + "confirmGitLabSquash": "Birleştirme isteği #{{number}} commit’leri squash edilerek birleştirilsin mi?", + "confirmGitLabRebase": "Birleştirme isteği #{{number}} yeniden temellendirilip birleştirilsin mi?", + "merged": "Birleştirildi", + "closed": "Kapatıldı", + "conflicts": "Çakışmalar", + "behind": "Geride", + "blocked": "Engellendi", + "checksPending": "Kontroller bekleniyor", + "ableToMerge": "Birleştirilebilir", + "unknown": "Bilinmiyor" + }, + "pagination": { + "pageUnreachable": "{{page}}. sayfa GitHub aramasının döndürebileceği aralığın dışında.", + "loadPageFailed": "{{page}}. sayfa GitHub’dan yüklenemedi.", + "noMoreResults": "{{page}}. sayfada başka sonuç yok." + }, "composerSource": { "baseFailed": "Temel branch çözümlenemedi.", "forkPushWarning": "Bu PR'da “Allow edits from maintainers” kapalı; fork'a push işlemi GitHub tarafından reddedilebilir." diff --git a/mobile/src/i18n/locales/zh-Hant.json b/mobile/src/i18n/locales/zh-Hant.json index 5ae56b6e610..f6cdeed4645 100644 --- a/mobile/src/i18n/locales/zh-Hant.json +++ b/mobile/src/i18n/locales/zh-Hant.json @@ -2564,8 +2564,8 @@ "insertFailed": "無法插入聽寫內容", "insertFailedCopied": "無法插入聽寫內容,已複製到剪貼簿", "inserted": "已插入聽寫內容", - "stoppedAfterSilence": "靜音一分鐘後已停止", - "stoppedAtCloudLimit": "已達 10 分鐘雲端上限。聽寫已停止。" + "stoppedAtCloudLimit": "已達 10 分鐘雲端上限。聽寫已停止。", + "stoppedAfterSilenceSeconds": "靜音 {{seconds}} 秒後已停止" }, "useNativeChatStop": { "stopNotSent": "未送出停止命令", @@ -3360,6 +3360,27 @@ } }, "tasks": { + "hostedMerge": { + "confirmGitHubMerge": "要合併 PR #{{number}} 嗎?", + "confirmGitHubSquash": "要將 PR #{{number}} 的提交壓縮後合併嗎?", + "confirmGitHubRebase": "要將 PR #{{number}} 變基後合併嗎?", + "confirmGitLabMerge": "要合併合併請求 #{{number}} 嗎?", + "confirmGitLabSquash": "要將合併請求 #{{number}} 的提交壓縮後合併嗎?", + "confirmGitLabRebase": "要將合併請求 #{{number}} 變基後合併嗎?", + "merged": "已合併", + "closed": "已關閉", + "conflicts": "有衝突", + "behind": "落後", + "blocked": "已封鎖", + "checksPending": "等待檢查", + "ableToMerge": "可以合併", + "unknown": "未知" + }, + "pagination": { + "pageUnreachable": "第 {{page}} 頁超出 GitHub 搜尋可傳回的範圍。", + "loadPageFailed": "無法從 GitHub 載入第 {{page}} 頁。", + "noMoreResults": "第 {{page}} 頁沒有更多結果。" + }, "composerSource": { "baseFailed": "無法解析基礎分支。", "forkPushWarning": "此 PR 未啟用「允許維護者編輯」;推送至分叉存放庫可能會遭 GitHub 拒絕。" diff --git a/mobile/src/i18n/locales/zh.json b/mobile/src/i18n/locales/zh.json index 04c1c5e2e2c..97e4440ed9d 100644 --- a/mobile/src/i18n/locales/zh.json +++ b/mobile/src/i18n/locales/zh.json @@ -9,7 +9,7 @@ "hostNotFound": "未找到主机", "invalidSnapshot": "主机返回的账户快照无效", "loadingAccounts": "正在加载账户…", - "manageAccountsHint": "请在桌面的“设置 → 账户”中添加账户或重新进行账户身份验证。", + "manageAccountsHint": "请在桌面的“设置 → 账户”中添加账户或重新进行账户身份验证", "mcpWindow": "MCP", "otherAgents": "其他智能体", "refreshAccounts": "刷新账户", @@ -23,28 +23,28 @@ "agentHistory": { "panel": { "all": "全部", - "emptyScope": "此范围内暂无历史智能体会话。", - "missingResumeId": "此会话缺少恢复 ID。", - "noSearchResults": "没有符合搜索条件的会话。", + "emptyScope": "此范围内暂无历史智能体会话", + "missingResumeId": "此会话缺少恢复 ID", + "noSearchResults": "没有符合搜索条件的会话", "noSessions": "暂无智能体会话", "placeholder": "搜索会话,repo:、path:", "project": "项目", "refreshSessions": "刷新智能体会话", - "resumeFailed": "恢复会话失败。", - "sessionQueued": "智能体会话已加入队列。", + "resumeFailed": "恢复会话失败", + "sessionQueued": "智能体会话已加入队列", "skipped_one": "跳过了 {{count}} 个记录", "skipped_other": "跳过了 {{count}} 个记录", "title": "智能体会话历史", "unavailable": "智能体会话历史不可用", - "unknownHostPlatform": "无法确定主机平台。", - "updateHost": "请更新此主机上的 Orca,以浏览智能体会话历史。", + "unknownHostPlatform": "无法确定主机平台", + "updateHost": "请更新此主机上的 Orca,以浏览智能体会话历史", "waitingForHost": "正在等待主机…", "workspace": "工作区" }, "resumeTarget": { - "differentHost": "此会话属于其他主机。请打开同一主机上的工作区以恢复它。", - "openWorkspace": "恢复会话前请先打开一个工作区。", - "runtimeUnavailable": "由运行时托管的工作区不支持从历史记录恢复会话。" + "differentHost": "此会话属于其他主机。请打开同一主机上的工作区以恢复它", + "openWorkspace": "恢复会话前请先打开一个工作区", + "runtimeUnavailable": "由运行时托管的工作区不支持从历史记录恢复会话" }, "sessionCard": { "untitledSession": "无标题会话" @@ -67,13 +67,13 @@ }, "app": { "mobileOnboarding": { - "notificationSettingsFailed": "无法更新通知设置。请重试。", + "notificationSettingsFailed": "无法更新通知设置。请重试", "progress": "入门引导进度", - "saveChoiceFailed": "无法保存选择。请重试。", + "saveChoiceFailed": "无法保存选择。请重试", "stepProgress": "第 {{step}} 步,共 {{total}} 步" }, "notifications": { - "description": "即使应用已关闭,也能收到智能体提醒。提醒通过 Orca 的推送服务及 Apple 或 Google 送达。" + "description": "即使应用已关闭,也能收到智能体提醒。提醒通过 Orca 的推送服务及 Apple 或 Google 送达" }, "pair": { "backToHome": "返回首页", @@ -83,27 +83,27 @@ "backToHome": "返回首页", "connectTimedOut": "未能在 {{seconds}} 秒内连接,请查看下方日志,了解连接停在哪一步", "connecting": "正在连接…", - "description": "已打开来自桌面的配对链接。确认后将此桌面添加到主机列表。", + "description": "已打开来自桌面的配对链接。确认后将此桌面添加到主机列表", "pairButton": "配对", "pairingFailed": "配对失败:{{error}}", "pairingLog": "配对日志", "title": "要与此桌面配对吗?" }, "pairScan": { - "cameraDisabledDescription": "请在“设置”中启用相机访问权限,或粘贴配对码。", + "cameraDisabledDescription": "请在“设置”中启用相机访问权限,或粘贴配对码", "cameraDisabledTitle": "相机访问已禁用", - "cameraPermissionDescription": "扫描桌面上 Orca 显示的二维码,或粘贴配对码。", + "cameraPermissionDescription": "扫描桌面上 Orca 显示的二维码,或粘贴配对码", "connectTimedOut": "未能在 {{seconds}} 秒内连接,请查看下方日志,了解连接停在哪一步", "connecting": "正在连接…", "invalidPairingCode": "配对码无效,请从电脑上复制后重新粘贴", "invalidQrCode": "无效的 Orca 二维码", - "downloadQrCode": "这是下载码。请扫描桌面端第 2 步中的配对码。", + "downloadQrCode": "这是下载码。请扫描桌面端第 2 步中的配对码", "openDesktopStep": "在电脑上打开 Orca", "openMobileSettingsStep": "前往“设置” → “移动端”", "openSettings": "打开设置", "pairingFailed": "配对失败:{{error}}", "pairingLog": "配对日志", - "pasteCodeMessage": "复制电脑上二维码下方显示的配对码。", + "pasteCodeMessage": "复制电脑上二维码下方显示的配对码", "pasteCodePlaceholder": "orca://pair?code=... 或粘贴配对码", "pasteCodeTitle": "粘贴配对码", "pasteInstead": "改为粘贴配对码", @@ -119,9 +119,9 @@ "largeText": "大(125%)", "largerText": "更大(150%)", "largestText": "最大(200%)", - "leaveAppDescription": "在手机上使用终端时,Orca 会缩小终端尺寸以适应屏幕。关闭应用或切换到其他应用时,此设置决定终端是保持手机尺寸(避免交互式 CLI 工具的界面重新排版),还是恢复为桌面尺寸。您随时可以点击桌面横幅中的“恢复”手动调整尺寸。", + "leaveAppDescription": "在手机上使用终端时,Orca 会缩小终端尺寸以适应屏幕。关闭应用或切换到其他应用时,此设置决定终端是保持手机尺寸(避免交互式 CLI 工具的界面重新排版),还是恢复为桌面尺寸。您随时可以点击桌面横幅中的“恢复”手动调整尺寸", "leaveAppHeading": "离开应用时", - "noPairedDesktops": "尚未配对桌面。配对后即可设置终端行为。", + "noPairedDesktops": "尚未配对桌面。配对后即可设置终端行为", "restoreAfterMinutes_one": "{{count}} 分钟后", "restoreAfterMinutes_other": "{{count}} 分钟后", "restoreAfterSeconds_one": "{{count}} 秒后", @@ -130,7 +130,7 @@ "smallerText": "较小(75%)", "smallestText": "最小(50%)", "textSize": "文字大小", - "textSizeDescription": "调整终端文字大小。文字较小时可显示更多列,两侧留有边距;文字较大时显示的列数较少,可横向拖动查看。也可以直接在终端中双指缩放,此设置会随之更新。仅影响当前设备的显示,不会改变桌面终端。", + "textSizeDescription": "调整终端文字大小。文字较小时可显示更多列,两侧留有边距;文字较大时显示的列数较少,可横向拖动查看。也可以直接在终端中双指缩放,此设置会随之更新。仅影响当前设备的显示,不会改变桌面终端", "textSizeHeading": "文字大小", "textSizePickerTitle": "终端文字大小", "title": "终端" @@ -141,7 +141,7 @@ "urlPlaceholder": "URL" }, "pane": { - "invalidUrl": "请输入有效的 URL。" + "invalidUrl": "请输入有效的 URL" }, "paneView": { "dialogTitle": "浏览器对话框", @@ -155,7 +155,7 @@ }, "useBrowserCommands": { "deliveryUnconfirmed": "尚未确认是否送达,请先检查页面再重试", - "dialogAnswerFailed": "未能将回答发送到网页。", + "dialogAnswerFailed": "未能将回答发送到网页", "sent": "已发送" }, "viewModeSwitch": { @@ -214,10 +214,10 @@ "diffTruncated": "差异被截断" }, "hostStatus": { - "continuedOutside": "已在此聊天之外继续。", - "continuedOutsideRewound": "已在此聊天之外继续。上方较早的回复已不在此对话的历史记录中。", - "historyItemTooLarge": "聊天的这一部分过大,无法显示。", - "historyRepaired": "此聊天的部分历史记录无法加载。" + "continuedOutside": "已在此聊天之外继续", + "continuedOutsideRewound": "已在此聊天之外继续。上方较早的回复已不在此对话的历史记录中", + "historyItemTooLarge": "聊天的这一部分过大,无法显示", + "historyRepaired": "此聊天的部分历史记录无法加载" }, "message": { "copyMessage": "复制消息", @@ -225,7 +225,7 @@ "forkFromResponseHint": "新聊天将包含本轮结束前的完整回复" }, "messageActionsSheet": { - "clipboardRejected": "剪贴板拒绝接收该文本。", + "clipboardRejected": "剪贴板拒绝接收该文本", "copyFailed": "复制失败", "copyMessage": "复制消息", "selectText": "选择文本", @@ -314,12 +314,12 @@ "at": "提交" }, "orcaStop": { - "canContinue": "您可以在此对话中继续。", - "crash": "此回复进行期间,{{machine}} 上的 Orca 意外停止。", - "quit": "此回复进行期间,{{machine}} 上的 Orca 已关闭。", - "remote": "此回复进行期间,{{machine}} 上的 Orca 已停止。", + "canContinue": "您可以在此对话中继续", + "crash": "此回复进行期间,{{machine}} 上的 Orca 意外停止", + "quit": "此回复进行期间,{{machine}} 上的 Orca 已关闭", + "remote": "此回复进行期间,{{machine}} 上的 Orca 已停止", "unnamedServer": "远程服务器", - "update": "此回复进行期间,{{machine}} 上的 Orca 为更新而重新启动。" + "update": "此回复进行期间,{{machine}} 上的 Orca 为更新而重新启动" }, "interruptedContinue": { "failed": "无法继续此聊天。请重试,或发送一条消息。", @@ -330,13 +330,13 @@ }, "permission": { "needsAccessTo": "需要访问: ", - "newerVersionRequired": "此请求需要更新版本的 Orca。", + "newerVersionRequired": "此请求需要更新版本的 Orca", "planFile": "计划文件:{{filePath}}", "reason": "原因: " }, "promptCard": { "answerInTerminal": "在终端中回答", - "terminalExplanation": "在终端中回答这个 OMP 问题。" + "terminalExplanation": "在终端中回答这个 OMP 问题" }, "promptStrip": { "expand": "展开" @@ -378,7 +378,7 @@ "otherDevice": "其他设备" }, "sessionOptionCopy": { - "availableAfterSessionStarts": "会话开始后可用。", + "availableAfterSessionStarts": "会话开始后可用", "chooseInAgentPicker": "在智能体选择器中选择…", "effort": "推理强度", "fast": "快速", @@ -396,7 +396,7 @@ "on": "开启", "permissions": "权限", "sessionOptions": "会话选项", - "setWhenSessionStarts": "请在会话开始时设置。", + "setWhenSessionStarts": "请在会话开始时设置", "speed": "速度", "standard": "标准", "thinking": "思考", @@ -413,8 +413,8 @@ "modelLabel": "模型,{{value}}", "permissions": "权限", "permissionsLabel": "权限,{{value}}", - "settingsLocked": "本轮结束后将解锁模型设置。", - "workingAnnouncement": "智能体正在工作。本轮结束后将解锁模型设置。" + "settingsLocked": "本轮结束后将解锁模型设置", + "workingAnnouncement": "智能体正在工作。本轮结束后将解锁模型设置" }, "sessionOptionRows": { "defaultMarker": "默认", @@ -554,8 +554,8 @@ "workingFor": "已工作 {{value0}}" }, "usageLimit": { - "reached": "{{agent}} 已达到使用上限。", - "reachedNamed": "{{agent}} 已达到{{window}}上限。", + "reached": "{{agent}} 已达到使用上限", + "reachedNamed": "{{agent}} 已达到{{window}}上限", "theAgent": "智能体", "windowCredits": "额外用量", "windowSession": "会话", @@ -677,7 +677,7 @@ "copyFailed": "无法复制", "copyPrompt": "复制提示", "statusUnreadable": "无法读取此主机的状态。正在重试…", - "updateRequired": "请先更新电脑上的 Orca,才能从手机启动智能体。" + "updateRequired": "请先更新电脑上的 Orca,才能从手机启动智能体" }, "agentSpinner": { "monitoring": "监控后台任务", @@ -688,11 +688,11 @@ "unverifiable": "暂无近期更新" }, "authFailedBanner": { - "message": "身份验证失败。请先尝试重新连接;若仍失败,请在桌面端重新配对。" + "message": "身份验证失败。请先尝试重新连接;若仍失败,请在桌面端重新配对" }, "authFailedBannerActions": { "repair": "重新配对", - "webNote": "请在 Orca 应用中重新连接或移除此主机。" + "webNote": "请在 Orca 应用中重新连接或移除此主机" }, "codexResetCredit": { "alreadyAppliedTitle": "已执行重置", @@ -711,11 +711,11 @@ "expiryNowMultiple": "下一个现在过期", "expiryNowSingle": "现在过期", "invalidResponse": "主机返回的重置响应无效", - "noResetMessage": "此账户没有已获得的可用重置额度。", + "noResetMessage": "此账户没有已获得的可用重置额度", "noResetTitle": "无可用重置次数", - "nothingToResetMessage": "符合重置条件的 Codex 用量窗口均未耗尽额度。", + "nothingToResetMessage": "符合重置条件的 Codex 用量窗口均未耗尽额度", "nothingToResetTitle": "无需重置", - "refresh": "Codex 用量已刷新。", + "refresh": "Codex 用量已刷新", "resetTitle": "速率限制已重置" }, "codexResetCreditAction": { @@ -750,7 +750,7 @@ "textMacroHint": "发送自定义文本命令" }, "dictationSetupSheet": { - "description": "在此即可下载或选择模型,并在已配对的电脑上启用听写。", + "description": "在此即可下载或选择模型,并在已配对的电脑上启用听写", "download": "下载", "downloadFailed": "下载失败", "downloadModel": "下载 {{model}}", @@ -769,19 +769,19 @@ }, "diffReviewBody": { "binaryDiff": "二进制差异", - "binaryMessage": "无法在移动端将此文件显示为文本。", + "binaryMessage": "无法在移动端将此文件显示为文本", "deletedFile": "文件已删除", - "deletedMessage": "此文件已删除。可添加文件备注或将其标记为已评审。", + "deletedMessage": "此文件已删除。可添加文件备注或将其标记为已评审", "diffTooLarge": "差异过大", - "diffTruncated": "差异已截断,以便在移动端预览。", + "diffTruncated": "差异已截断,以便在移动端预览", "diffUnavailable": "差异不可用", "loadFailed": "无法加载评审", "loadingDiff": "加载差异…", "loadingReview": "正在加载评审…", "noReviewableChanges": "没有可评审的更改", "reviewUnavailable": "评审不可用", - "selectFile": "请选择要评审的文件。", - "tooLargeMessage": "此差异过大,无法在移动端预览。" + "selectFile": "请选择要评审的文件", + "tooLargeMessage": "此差异过大,无法在移动端预览" }, "diffReviewDrawers": { "addNote": "添加备注", @@ -790,7 +790,7 @@ "copyNotes": "复制备注", "deleteNote": "删除注释", "discard": "放弃", - "discardMessage": "要放弃对“{{filePath}}”的更改吗?此操作无法撤销。", + "discardMessage": "要放弃对“{{filePath}}”的更改吗?此操作无法撤销", "discardTitle": "放弃文件更改", "editNote": "编辑备注", "fileNote": "文件备注", @@ -869,7 +869,7 @@ }, "jiraConnectPrompt": { "checkAgain": "再次检查", - "connectHint": "请在 Orca 桌面端的“设置 → 集成”中添加 Jira 站点,然后再次检查。", + "connectHint": "请在 Orca 桌面端的“设置 → 集成”中添加 Jira 站点,然后再次检查", "connectOnDesktop": "在桌面端连接 Jira", "credentialUnreadable": "Jira 凭据已保存,但无法读取:{{credentialError}}", "updateDesktop": "更新 Orca 桌面端" @@ -901,7 +901,7 @@ "connect": "连接", "connecting": "连接中…", "label": "SSH 连接", - "serverRecovery": "需要在桌面端恢复其服务器:设置 → SSH 主机 → 恢复服务器。" + "serverRecovery": "需要在桌面端恢复其服务器:设置 → SSH 主机 → 恢复服务器" }, "newWorktreeAgentSelection": { "blankTerminal": "空白终端" @@ -932,25 +932,25 @@ }, "prSidebar": { "loading": "正在加载 PR…", - "notPermitted": "无权访问:您的 GitHub 账户尚未连接。", + "notPermitted": "无权访问:您的 GitHub 账户尚未连接", "retryLoading": "重试加载 PR" }, "protocolBlockScreen": { "backToHosts": "返回主机列表", - "desktopTooOldBody": "已配对的桌面应用版本过旧,无法与当前的 Orca Mobile 兼容。请更新电脑上的 Orca,然后重新连接此主机。", + "desktopTooOldBody": "已配对的桌面应用版本过旧,无法与当前的 Orca Mobile 兼容。请更新电脑上的 Orca,然后重新连接此主机", "getVersion": "获取 Orca {{version}}", - "mobileTooOldAppStore": "此桌面需要更新版本的 Orca Mobile。请从 App Store 更新 Orca Mobile,然后重新连接此主机。", - "mobileTooOldGitHubReleases": "此桌面需要更新版本的 Orca Mobile。请从 GitHub Releases 更新 Orca Mobile,然后重新连接此主机。", + "mobileTooOldAppStore": "此桌面需要更新版本的 Orca Mobile。请从 App Store 更新 Orca Mobile,然后重新连接此主机", + "mobileTooOldGitHubReleases": "此桌面需要更新版本的 Orca Mobile。请从 GitHub Releases 更新 Orca Mobile,然后重新连接此主机", "openAppStore": "打开 App Store", "openGitHubReleases": "打开 GitHub Releases", - "refreshRecoveryNote": "如果仍显示此消息,请移除此主机并重新配对。", - "refreshWorkspaceBody": "此主机的工作区缓存版本低于桌面要求。请重新连接此主机,下载当前版本。", + "refreshRecoveryNote": "如果仍显示此消息,请移除此主机并重新配对", + "refreshWorkspaceBody": "此主机的工作区缓存版本低于桌面要求。请重新连接此主机,下载当前版本", "refreshWorkspaceTitle": "刷新移动端工作区", "updateDesktopTitle": "更新电脑上的 Orca", "updateMobileTitle": "更新 Orca Mobile", - "updateRecoveryNote": "已经更新?请返回“主机”并刷新连接。如果仍显示此消息,请移除此主机并重新配对。", - "workspaceNeedsUpdateAppStore": "此桌面的移动端工作区需要更新版本的 Orca Mobile。请从 App Store 更新 Orca Mobile,然后重新连接此主机。", - "workspaceNeedsUpdateGitHubReleases": "此桌面的移动端工作区需要更新版本的 Orca Mobile。请从 GitHub Releases 更新 Orca Mobile,然后重新连接此主机。" + "updateRecoveryNote": "已经更新?请返回“主机”并刷新连接。如果仍显示此消息,请移除此主机并重新配对", + "workspaceNeedsUpdateAppStore": "此桌面的移动端工作区需要更新版本的 Orca Mobile。请从 App Store 更新 Orca Mobile,然后重新连接此主机", + "workspaceNeedsUpdateGitHubReleases": "此桌面的移动端工作区需要更新版本的 Orca Mobile。请从 GitHub Releases 更新 Orca Mobile,然后重新连接此主机" }, "richMarkdownEditor": { "imageUrl": "图像 URL", @@ -979,7 +979,7 @@ }, "setupHookTrustDrawer": { "alwaysTrustAndRun": "始终信任并运行", - "description": "此仓库的 orca.yaml 会在工作区启动前运行。请仅在信任此仓库时运行。", + "description": "此仓库的 orca.yaml 会在工作区启动前运行。请仅在信任此仓库时运行", "dontRun": "不运行", "newScriptLabel": "新设置脚本", "runHooks": "运行钩子", @@ -994,13 +994,13 @@ "workspaceName": "工作区名称" }, "smartWorkspaceSourceDrawer": { - "connectRepository": "连接仓库以搜索来源。", - "crossRepoMessage": "此条目位于 {{owner}}/{{repo}}。", - "gitHubRemoteRequired": "此 SSH 仓库需要配置 GitHub 远程仓库,才能列出议题和 PR。", - "noResults": "未找到结果。", + "connectRepository": "连接仓库以搜索来源", + "crossRepoMessage": "此条目位于 {{owner}}/{{repo}}", + "gitHubRemoteRequired": "此 SSH 仓库需要配置 GitHub 远程仓库,才能列出议题和 PR", + "noResults": "未找到结果", "searchPlaceholder": "输入名称或搜索来源", "switchRepo": "切换到 {{repoName}}", - "typeWorkspaceName": "请在下方输入框中输入工作区名称。" + "typeWorkspaceName": "请在下方输入框中输入工作区名称" }, "smartWorkspaceSourceField": { "openSelectedSource": "打开所选来源", @@ -1016,7 +1016,7 @@ "useName": "使用“{{name}}”" }, "sourceCopyButton": { - "clipboardRejected": "剪贴板拒绝接收该文本。", + "clipboardRejected": "剪贴板拒绝接收该文本", "copiedLoaded": "已复制已加载内容", "copyFailed": "复制失败", "copyLoaded": "复制已加载内容", @@ -1027,7 +1027,7 @@ "addDescription": "创建组合键或文本宏", "addShortcut": "添加自定义快捷键…", "customShortcuts": "自定义快捷键", - "empty": "尚未设置自定义快捷键。", + "empty": "尚未设置自定义快捷键", "removeShortcut": "移除 {{label}}", "resetDefaults": "恢复默认设置", "resetDescription": "按原始顺序显示所有内置快捷键", @@ -1041,16 +1041,16 @@ "useCodexResetCreditAction": { "confirmTitle": "使用一次速率限制重置额度?", "detailsChanged": "重置详情已变更", - "detailsChangedMessage": "主机联系 Codex 前,账户或重置额度信息已发生变化。请查看更新后的详情,然后再次确认。", + "detailsChangedMessage": "主机联系 Codex 前,账户或重置额度信息已发生变化。请查看更新后的详情,然后再次确认", "hostAccount": "主机上的 {{identity}}", - "hostAccountConfirmMessage": "这会为主机上的 {{identity}} 消耗一次已获得的重置额度,并立即重置符合条件的用量窗口。", + "hostAccountConfirmMessage": "这会为主机上的 {{identity}} 消耗一次已获得的重置额度,并立即重置符合条件的用量窗口", "hostSelectedAccount": "主机上选定的托管账户", - "hostSelectedAccountConfirmMessage": "这会为主机上选定的托管账户消耗一次已获得的重置额度,并立即重置符合条件的用量窗口。", + "hostSelectedAccountConfirmMessage": "这会为主机上选定的托管账户消耗一次已获得的重置额度,并立即重置符合条件的用量窗口", "resetFailed": "无法重置速率限制", "wslAccount": "WSL {{distro}} 上的 {{identity}}", - "wslAccountConfirmMessage": "这会为 WSL {{distro}} 上的 {{identity}} 消耗一次已获得的重置额度,并立即重置符合条件的用量窗口。", + "wslAccountConfirmMessage": "这会为 WSL {{distro}} 上的 {{identity}} 消耗一次已获得的重置额度,并立即重置符合条件的用量窗口", "wslSelectedAccount": "WSL {{distro}} 上选定的托管账户", - "wslSelectedAccountConfirmMessage": "这会为 WSL {{distro}} 上选定的托管账户消耗一次已获得的重置额度,并立即重置符合条件的用量窗口。" + "wslSelectedAccountConfirmMessage": "这会为 WSL {{distro}} 上选定的托管账户消耗一次已获得的重置额度,并立即重置符合条件的用量窗口" }, "voiceModelList": { "deleteModel": "删除 {{label}}", @@ -1064,7 +1064,7 @@ "useModel": "使用 {{label}}" }, "workspaceDetailPlaceholder": { - "description": "从侧边栏选择一个工作区,即可在此处打开其终端。", + "description": "从侧边栏选择一个工作区,即可在此处打开其终端", "title": "未打开工作区" }, "workspaceNameInput": { @@ -1130,24 +1130,24 @@ "directViaTailscale": "通过 Tailscale 直连" }, "hostEndpoint": { - "addressRequired": "请输入主机地址。", - "hostnameRequired": "缺少主机名。", - "invalidAddress": "地址无效。", - "invalidHostname": "主机名无效。", - "invalidPort": "端口号必须为 1–65535。", - "invalidScheme": "请使用 ws:// 或 wss://(或 host:port)。", - "pathOrQueryNotAllowed": "主机地址不得包含路径或查询参数。" + "addressRequired": "请输入主机地址", + "hostnameRequired": "缺少主机名", + "invalidAddress": "地址无效", + "invalidHostname": "主机名无效", + "invalidPort": "端口号必须为 1–65535", + "invalidScheme": "请使用 ws:// 或 wss://(或 host:port)", + "pathOrQueryNotAllowed": "主机地址不得包含路径或查询参数" }, "pairConfirmState": { "invalidCode": "配对码无效", "missingCode": "缺少配对码" }, "rpcClientStreamRegistry": { - "endedBeforeReady": "流式请求尚未就绪便已结束。", + "endedBeforeReady": "流式请求尚未就绪便已结束", "interrupted": "连接中断" }, "rpcClientTerminalBinaryFrame": { - "unsupportedFrame": "不支持的终端流帧(操作码 {{opcode}})。" + "unsupportedFrame": "不支持的终端流帧(操作码 {{opcode}})" } }, "diagnostics": { @@ -1159,9 +1159,9 @@ "diagnosisHeading": "可能的原因", "disconnected": "已断开连接", "handshaking": "握手中", - "noEvents": "暂无连接事件。应用尝试连接此主机时,会显示相关事件。", - "noHosts": "没有已配对的主机。", - "privacyHint": "发送一份经过脱敏且大小受限的报告,包含主机名、端点、版本、连接状态和事件,绝不包含终端内容或凭据。", + "noEvents": "暂无连接事件。应用尝试连接此主机时,会显示相关事件", + "noHosts": "没有已配对的主机", + "privacyHint": "发送一份经过脱敏且大小受限的报告,包含主机名、端点、版本、连接状态和事件,绝不包含终端内容或凭据", "reconnecting": "重新连接中", "retrySending": "重试发送", "sendDiagnostics": "向 Orca 发送诊断信息", @@ -1187,34 +1187,34 @@ "title": "工作区更新" }, "troubleshootCommonIssues": { - "allowNotifications": "检查系统设置是否允许 Orca 发送通知,并确认专注模式或勿扰模式已关闭。", - "checkTailnet": "确认桌面未休眠,并在 tailnet 中显示为已连接。", + "allowNotifications": "检查系统设置是否允许 Orca 发送通知,并确认专注模式或勿扰模式已关闭", + "checkTailnet": "确认桌面未休眠,并在 tailnet 中显示为已连接", "desktopTitle": "桌面应用未运行", - "disableVpn": "关闭该 VPN,或启用分流功能/“允许 LAN”选项。", + "disableVpn": "关闭该 VPN,或启用分流功能/“允许 LAN”选项", "firewallTitle": "防火墙拦截端口 {{port}}", "linuxFirewall": "Linux: sudo ufw allow {{port}}", - "keepTailscaleOn": "100.x.x.x 或 *.ts.net 等主机地址通过 Tailscale 连接,请保持 Tailscale 开启。", - "macosFirewall": "macOS:系统设置 → 网络 → 防火墙,允许 Orca 通过。", - "notificationNetwork": "尝试切换到蜂窝网络或其他 Wi-Fi 网络。如果切换后能收到通知,则原网络可能导致通知延迟。", + "keepTailscaleOn": "100.x.x.x 或 *.ts.net 等主机地址通过 Tailscale 连接,请保持 Tailscale 开启", + "macosFirewall": "macOS:系统设置 → 网络 → 防火墙,允许 Orca 通过", + "notificationNetwork": "尝试切换到蜂窝网络或其他 Wi-Fi 网络。如果切换后能收到通知,则原网络可能导致通知延迟", "notificationsTitle": "推送通知", - "openDesktop": "桌面上的 Orca 必须保持运行才能接受连接。", - "pairAfterUpdate": "更新后可能需要重新扫描二维码配对。", - "reconnectWifi": "尝试在两台设备上重新连接 WiFi。", - "restartBothApps": "如果持续超时,请重启手机端和桌面端应用。", - "restartDesktop": "尝试重启 Orca,移动端连接服务会随应用启动。", - "restartTailscale": "iOS/Android 可能在无提示的情况下导致隧道卡住:请在 Tailscale 应用中关闭 Tailscale 后再重新开启。", - "restrictedNetwork": "公司或学校网络可能阻止 P2P 连接,请尝试使用个人热点。", - "retryHost": "返回主机列表,点按要连接的主机以重试。", - "sameNetwork": "两台设备必须处于同一 LAN(通过 Tailscale 连接时除外)。", - "sameSubnet": "以太网和 WiFi 必须位于同一子网。", + "openDesktop": "桌面上的 Orca 必须保持运行才能接受连接", + "pairAfterUpdate": "更新后可能需要重新扫描二维码配对", + "reconnectWifi": "尝试在两台设备上重新连接 WiFi", + "restartBothApps": "如果持续超时,请重启手机端和桌面端应用", + "restartDesktop": "尝试重启 Orca,移动端连接服务会随应用启动", + "restartTailscale": "iOS/Android 可能在无提示的情况下导致隧道卡住:请在 Tailscale 应用中关闭 Tailscale 后再重新开启", + "restrictedNetwork": "公司或学校网络可能阻止 P2P 连接,请尝试使用个人热点", + "retryHost": "返回主机列表,点按要连接的主机以重试", + "sameNetwork": "两台设备必须处于同一 LAN(通过 Tailscale 连接时除外)", + "sameSubnet": "以太网和 WiFi 必须位于同一子网", "tailscaleTitle": "无法访问 Tailscale 主机", "timeoutTitle": "连接超时", - "updateTailscale": "请更新 Tailscale 应用,近期版本修复了重新连接时的问题。", - "vpnRouting": "Tailscale 以外的 VPN 可能会将本地流量经由远程服务器转发。", + "updateTailscale": "请更新 Tailscale 应用,近期版本修复了重新连接时的问题", + "vpnRouting": "Tailscale 以外的 VPN 可能会将本地流量经由远程服务器转发", "vpnTitle": "其他 VPN 干扰", - "wifiSignal": "检查手机的 WiFi 信号强度。", + "wifiSignal": "检查手机的 WiFi 信号强度", "wifiTitle": "WiFi 网络不同", - "windowsFirewall": "Windows:Defender 防火墙 → 允许应用,允许 Orca 通过专用网络。" + "windowsFirewall": "Windows:Defender 防火墙 → 允许应用,允许 Orca 通过专用网络" }, "troubleshootView": { "commonIssues": "常见问题", @@ -1239,9 +1239,9 @@ "unexpectedResponse": "响应异常" }, "webShellUpdateFailureCopy": { - "blockedReason": "已阻止:{{reason}}。", - "blockedWorkspace": "已阻止打开工作区。", - "failed": "已显示失败界面。", + "blockedReason": "已阻止:{{reason}}", + "blockedWorkspace": "已阻止打开工作区", + "failed": "已显示失败界面", "failedAgo": "来自 {{hostName}} 的上次更新于 {{time}} 前失败:{{reason}}{{offered}}。{{outcome}}", "failedJustNow": "来自 {{hostName}} 的上次更新刚刚失败:{{reason}}{{offered}}。{{outcome}}", "hostCodeCopy": { @@ -1252,10 +1252,10 @@ "readLimited": "主机限制了并发读取数量", "unavailable": "主机上没有工作区资源包" }, - "nativeRoute": "已显示原生界面。", + "nativeRoute": "已显示原生界面", "offeredGeneration": " (构建标识 {{generation}})", - "openedCached": "已回退到保存的版本。", - "openedCachedGeneration": "已回退到保存的版本(构建标识 {{generation}})。", + "openedCached": "已回退到保存的版本", + "openedCachedGeneration": "已回退到保存的版本(构建标识 {{generation}})", "reasonCopy": { "assetChecksumMismatch": "资源校验和不匹配", "assetEntryChanged": "资源与清单不再匹配", @@ -1274,8 +1274,8 @@ "replyUnreadable": "此应用无法解析主机返回的响应", "unrecognisedError": "无法识别的错误" }, - "routeUnavailable": "已显示界面不可用的提示。", - "waiting": "已进入等待主机状态。", + "routeUnavailable": "已显示界面不可用的提示", + "waiting": "已进入等待主机状态", "wallCopy": { "bundleShellTooOld": "此应用版本过旧,无法使用保存的资源包", "bundleTooOldForHost": "保存的资源包版本过旧,无法用于此主机", @@ -1291,14 +1291,14 @@ "alreadyActive": "电脑或另一部手机正在使用听写。请更新电脑上的 Orca,以便在多台设备上同时听写。", "cloudModelNeedsKey": "需要 OpenAI 密钥", "deleteFailed": "删除模型失败", - "desktopUpdateRequired": "请更新已配对的 Orca 桌面应用,以使用移动端语音设置。", + "desktopUpdateRequired": "请更新已配对的 Orca 桌面应用,以使用移动端语音设置", "downloadFailed": "启动下载失败", "loadFailed": "加载听写模型失败", "modelBusy": "另一台设备正在使用不同的语音模型听写。请等它结束后再试。", - "repairRequired": "请将此手机与电脑重新配对,以使用听写。", - "serverUpdateRequired": "请更新此服务器上的 Orca,以使用语音听写。", + "repairRequired": "请将此手机与电脑重新配对,以使用听写", + "serverUpdateRequired": "请更新此服务器上的 Orca,以使用语音听写", "sessionLimit": "这台电脑上正在听写的设备过多。请等其中一台结束后再试。", - "sessionLost": "听写与电脑的连接已断开。请重试。", + "sessionLost": "听写与电脑的连接已断开。请重试", "updateFailed": "更新听写设置失败" }, "controls": { @@ -1401,7 +1401,7 @@ "waiting": "等待桌面…" }, "fileMutationOwnership": { - "sshOwnerChanged": "无法验证 SSH 连接。请重新连接主机后重试。" + "sshOwnerChanged": "无法验证 SSH 连接。请重新连接主机后重试" }, "filePreviewBody": { "emptyFile": "空文件", @@ -1425,16 +1425,16 @@ }, "filePreviewScreen": { "backToFiles": "返回文件列表", - "chooseWorkspaceFile": "请选择此工作区内的文件。", + "chooseWorkspaceFile": "请选择此工作区内的文件", "discard": "放弃", - "discardMessage": "未保存的更改将丢失。", - "discardMessageSaving": "正在进行的保存可能无法完成。未保存的编辑将会丢失。", + "discardMessage": "未保存的更改将丢失", + "discardMessageSaving": "正在进行的保存可能无法完成。未保存的编辑将会丢失", "discardTitle": "放弃更改?", "fileTitle": "文件", "loadFailed": "无法加载预览", "loading": "正在加载预览…", "openFailed": "无法打开文件", - "saveArtifact": "保存终端工件", + "saveArtifact": "保存终端产物", "saveFailed": "无法保存文件", "stay": "留在此页", "title": "预览", @@ -1442,7 +1442,7 @@ }, "filePreviewSourceText": { "previewLabel": "文件预览", - "truncatedNote": "预览已截断。文件大小:{{size}}。" + "truncatedNote": "预览已截断。文件大小:{{size}}" }, "markdownPreviewImage": { "expandFallback": "放大图片", @@ -1485,10 +1485,10 @@ "updateDesktop": "请更新 {{desktop}} 上的 Orca,以使用自动化。" }, "emptyState": { - "connectedDescription": "桌面将显示在这里。所有数据均采用端到端加密。", + "connectedDescription": "桌面将显示在这里。所有数据均采用端到端加密", "connectedTitle": "已连接", - "description": "与电脑上的 Orca 配对,即可在手机上查看智能体、进入任意终端并推进工作。", - "openDesktopDescription": "前往“设置” → “移动端”,生成配对二维码。", + "description": "与电脑上的 Orca 配对,即可在手机上查看智能体、进入任意终端并推进工作", + "openDesktopDescription": "前往“设置” → “移动端”,生成配对二维码", "openDesktopTitle": "打开 Orca 桌面应用", "scanCodeTitle": "扫描二维码", "title": "连接桌面" @@ -1502,9 +1502,9 @@ "screen": { "pairingCheckFailed": "无法检查配对状态", "removeHostFailed": "无法移除主机", - "removeHostMessage": "要移除“{{name}}”吗?之后可重新配对。", + "removeHostMessage": "要移除“{{name}}”吗?之后可重新配对", "removeHostTitle": "移除主机", - "tryAgain": "请重试。" + "tryAgain": "请重试" }, "stats": { "agentTime": "智能体时间", @@ -1539,11 +1539,11 @@ "recordingFailed": "麦克风录音启动失败" }, "useMobileDictation": { - "inputClosed": "此会话已不再接受输入,语音听写已停止。请重试。", + "inputClosed": "此会话已不再接受输入,语音听写已停止。请重试", "microphoneInitFailed": "麦克风初始化失败", - "microphoneInterrupted": "麦克风录音中断,语音听写已停止。请重试。", + "microphoneInterrupted": "麦克风录音中断,语音听写已停止。请重试", "microphonePermissionDenied": "麦克风权限被拒绝", - "noSpeech": "未检测到语音。", + "noSpeech": "未检测到语音", "phoneUnavailable": "此手机上的听写尚未就绪。请在语音设置中下载,或选择“自动”。", "phoneFailed": "此手机上的听写已停止工作。请重试。", "phoneBusy": "此手机上的听写仍在启动。请稍后再试。" @@ -1552,16 +1552,16 @@ "host": { "edit": { "address": "地址", - "addressHint": "支持 IP、host:port 或 ws:// / wss://。wss:// URL 未指定端口时使用 443。仅输入地址时保留当前端口(或使用 6768)。", + "addressHint": "支持 IP、host:port 或 ws:// / wss://。wss:// URL 未指定端口时使用 443。仅输入地址时保留当前端口(或使用 6768)", "connectionPreview": "连接到 {{endpoint}}", "goBack": "返回", - "help": "更改显示名称或连接地址。名称留空时,将使用桌面提供的名称。更改地址只会切换此手机的连接地址,不会重新配对。当同一桌面可通过不同 IP 访问时(例如家庭局域网与 Tailscale),可使用此功能。", + "help": "更改显示名称或连接地址。名称留空时,将使用桌面提供的名称。更改地址只会切换此手机的连接地址,不会重新配对。当同一桌面可通过不同 IP 访问时(例如家庭局域网与 Tailscale),可使用此功能", "hostNamePlaceholder": "主机名", - "hostRemoved": "此主机已从这部手机上移除。", - "loadFailed": "加载主机失败。", - "missingHost": "缺少主机信息。", + "hostRemoved": "此主机已从这部手机上移除", + "loadFailed": "加载主机失败", + "missingHost": "缺少主机信息", "name": "名称", - "saveFailed": "保存主机失败。", + "saveFailed": "保存主机失败", "saveHost": "保存主机", "title": "编辑主机" } @@ -1592,9 +1592,9 @@ "deleteKeepsEnvironment": "Orca 为其创建的环境“{{environment}}”会继续运行:其配方没有销毁步骤。", "deleteWorktree": "删除工作树", "pin": "固定", - "primaryWorktreeDeleteHint": "主工作树不能删除。请改为移除项目。", + "primaryWorktreeDeleteHint": "主工作树不能删除。请改为移除项目", "removeHost": "移除主机", - "removeHostMessage": "要移除“{{name}}”吗?之后可重新配对。", + "removeHostMessage": "要移除“{{name}}”吗?之后可重新配对", "sleep": "休眠", "unpin": "取消固定", "rename": "重命名" @@ -1617,7 +1617,7 @@ "agentActivity": "智能体活动", "agentActivityLayout": "智能体活动布局", "agentActivitySort": "智能体活动", - "agentActivitySortDescription": "需要关注的智能体,然后是最近的活动。", + "agentActivitySortDescription": "需要关注的智能体,然后是最近的活动", "agentStatuses": "智能体状态", "allHosts": "所有主机", "allProjects": "所有项目", @@ -1637,7 +1637,7 @@ "linearIssues": "Linear 议题", "manual": "手动的", "manualProjectOrderDescription": "拖动项目进行排列", - "manualWorkspaceOrderDescription": "拖动工作区以将它们排列在每个组中。", + "manualWorkspaceOrderDescription": "拖动工作区以将它们排列在每个组中", "name": "名称", "none": "无", "notes": "笔记", @@ -1718,12 +1718,12 @@ "silentName": "Orca 静默通知" }, "notificationDeliverySection": { - "footer": "提醒类型遵循各个已配对桌面的通知设置。连续 7 天未使用此应用后,通知将暂停;打开应用并重新连接即可恢复。", + "footer": "提醒类型遵循各个已配对桌面的通知设置。连续 7 天未使用此应用后,通知将暂停;打开应用并重新连接即可恢复", "onlyWhenAway": "仅在离开桌面时", - "onlyWhenAwayHint": "键盘和鼠标均无操作达 3 分钟后,或锁屏时。", + "onlyWhenAwayHint": "键盘和鼠标均无操作达 3 分钟后,或锁屏时", "sound": "通知声音", "suppressWhileFocused": "查看时不提醒", - "suppressWhileFocusedHint": "不发送此手机上当前打开的工作区的提醒。" + "suppressWhileFocusedHint": "不发送此手机上当前打开的工作区的提醒" } }, "onboarding": { @@ -1731,16 +1731,16 @@ "claudeNeedsInput": "Claude 需要输入", "codexFinished": "Codex 已完成", "now": "现在", - "testsPassing": "测试已通过。", - "waitingOnYou": "等待您的回应。" + "testsPassing": "测试已通过", + "waitingOnYou": "等待您的回应" }, "onboardingPage": { "enableAgentNotifications": "启用智能体通知", "enableNotifications": "启用通知", "keepTerminal": "继续使用终端", "notNow": "暂不", - "notificationsDescription": "智能体完成任务或等待响应时,即使未使用应用,此手机也会收到通知。", - "notificationsDisclosure": "桌面空闲 3 分钟后,通过 Orca 的推送服务发送通知。可随时在“设置”中更改。", + "notificationsDescription": "智能体完成任务或等待响应时,即使未使用应用,此手机也会收到通知", + "notificationsDisclosure": "桌面空闲 3 分钟后,通过 Orca 的推送服务发送通知。可随时在“设置”中更改", "notificationsTitle": "智能体需要您时,及时收到提醒", "openInChatUi": "在聊天界面中打开会话", "openInTerminal": "在终端中打开会话", @@ -1761,7 +1761,7 @@ "commentCard": { "daysAgo_one": "{{count}} 天前", "daysAgo_other": "{{count}} 天前", - "deleteConfirmMessage": "这将永久删除 GitHub 上的这条评论。", + "deleteConfirmMessage": "这将永久删除 GitHub 上的这条评论", "deleteConfirmTitle": "删除评论?", "editPlaceholder": "编辑评论…", "hoursAgo_one": "{{count}} 小时前", @@ -1779,10 +1779,13 @@ }, "commentsSection": { "comment": "评论", + "commentsLoadFailed": "无法加载评论。请点按刷新重试", "description": "描述", - "descriptionLoadFailed": "无法加载描述。请点按刷新重试。", - "noComments": "还没有评论。", - "noDescription": "没有提供描述。", + "descriptionLoadFailed": "无法加载描述。请点按刷新重试", + "noBotComments": "没有机器人评论", + "noComments": "还没有评论", + "noDescription": "没有提供描述", + "noHumanComments": "没有人类评论", "showMore": "再显示 {{count}} 条", "title": "评论" }, @@ -1797,14 +1800,15 @@ "details": "详情" }, "prActionsSection": { - "closeConfirmMessage": "#{{number}} 将被关闭,不会合并。", + "closeConfirmMessage": "#{{number}} 将被关闭,不会合并", "closeConfirmTitle": "关闭 PR?", "markReadyButton": "标记为可评审", "reopenAccessibilityLabel": "重新开启 PR", "reopenButton": "重新开启", - "reopenConfirmMessage": "#{{number}} 将被重新开启。", + "reopenConfirmMessage": "#{{number}} 将被重新开启", "reopenConfirmTitle": "重新开启 PR?", - "unlinkButton": "取消关联" + "unlinkButton": "取消关联", + "unlinkFailed": "取消 PR 关联失败" }, "prActionsState": { "behindHint": "合并前更新分支", @@ -1815,7 +1819,7 @@ "changesRequestedLabel": "要求更改", "checkingHint": "GitHub 仍在计算此PR合并状态", "checkingLabel": "检查中", - "checksPassedHint": "检查已通过。合并资格将在合并前再次验证。", + "checksPassedHint": "检查已通过。合并资格将在合并前再次验证", "checksPassedLabel": "检查已通过", "closedHint": "此PR已关闭", "closedLabel": "已关闭", @@ -1823,12 +1827,12 @@ "conflictsLabel": "冲突", "draftHint": "这个PR仍然是一个草稿", "draftLabel": "草稿", - "mergeConfirmMessage": "这将把 #{{number}} 合并到其基础分支。", + "mergeConfirmMessage": "这将把 #{{number}} 合并到其基础分支", "mergeQueueAutoMergeOnHint": "该基础分支使用 GitHub 合并队列", "mergeQueueAutoMergeOnLabel": "自动合并已开启", "mergeQueueHint": "该基础分支使用 GitHub 合并队列", "mergeQueueLabel": "准备好后合并", - "mergeStackMessage": "GitHub 将合并此拉取请求以及堆栈中其下方的每个拉取请求。", + "mergeStackMessage": "GitHub 将合并此拉取请求以及堆栈中其下方的每个拉取请求", "mergeStatusUnavailableHint": "此 PR 的合并状态不可用", "mergeStatusUnavailableLabel": "合并", "mergeThrough_one": "合并 #{{number}} 及下方 PR · 共 {{count}} 个", @@ -1846,24 +1850,24 @@ "methodMerge": "创建合并提交", "methodRebase": "变基合并", "methodSquash": "压缩合并", - "queueStackMessage": "GitHub 会将此拉取请求及其下面的每个拉取请求添加到合并队列中。", + "queueStackMessage": "GitHub 会将此拉取请求及其下面的每个拉取请求添加到合并队列中", "queueThrough_one": "将 #{{number}} 及下方 PR 入队 · 共 {{count}} 个", "queueThrough_other": "将 #{{number}} 及下方 PR 入队 · 共 {{count}} 个", "reviewRequiredHint": "GitHub 需要评审批准才能合并此拉取请求", "reviewRequiredLabel": "需要批准", - "stackBehind": "#{{number}} 必须更新。", - "stackBlocked": "#{{number}} 已阻塞。", - "stackChangesRequested": "#{{number}} 被要求更改。", - "stackClosed": "#{{number}} 已关闭。", - "stackConflicts": "#{{number}} 存在合并冲突。", - "stackDraft": "#{{number}} 仍为草稿。", - "stackReviewRequired": "#{{number}} 仍需评审批准。" + "stackBehind": "#{{number}} 必须更新", + "stackBlocked": "#{{number}} 已阻塞", + "stackChangesRequested": "#{{number}} 被要求更改", + "stackClosed": "#{{number}} 已关闭", + "stackConflicts": "#{{number}} 存在合并冲突", + "stackDraft": "#{{number}} 仍为草稿", + "stackReviewRequired": "#{{number}} 仍需评审批准" }, "prCheckDetail": { "annotations": "注释", "annotationsTruncated": "显示前 20 个注释", "jobsTruncated": "显示前 100 个作业", - "noDetails": "暂无详细信息。" + "noDetails": "暂无详细信息" }, "prCheckDetailContent": { "annotation": "批注", @@ -1891,19 +1895,20 @@ "all": "全部", "bots": "机器人", "humans": "人类", - "noBotComments": "没有机器人评论。", - "noComments": "还没有评论。", - "noHumanComments": "没有人类评论。" + "noBotComments": "没有机器人评论", + "noComments": "还没有评论", + "noHumanComments": "没有人类评论" }, "prSidebarCreateEmptyState": { - "branchNotLinked": "{{branch}} 未关联到开放的 PR。", - "currentBranchNotLinked": "当前分支未关联到开放的 PR。", + "branchNotLinked": "{{branch}} 未关联到开放的 PR", + "branchRequired": "创建 PR 前,请先检出分支", + "currentBranchNotLinked": "当前分支未关联到开放的 PR", "linkExistingPullRequest": "关联现有 PR", "linkedPrUnavailable": "关联的 PR #{{number}} 不可用", - "refreshOrCreate": "刷新以重新检查,或为此分支创建新的 PR。" + "refreshOrCreate": "刷新以重新检查,或为此分支创建新的 PR" }, "prViewPanel": { - "branchUnavailable": "当前分支不可用。", + "branchUnavailable": "当前分支不可用", "githubRemoteRequired": "此标签页需要 GitHub 远程仓库才能显示拉取请求详情。对于其他受支持的平台,请在“更改”中创建审查,然后在浏览器中打开。" }, "reviewerPickerDrawer": { @@ -1915,6 +1920,7 @@ "changesRequested": "要求更改", "commented": "已评论", "dismissed": "已撤销", + "loadFailed": "无法加载评审人。请点按刷新重试", "noReviewers": "尚未请求评审", "pending": "待处理", "removeReviewer": "移除 {{login}}", @@ -1933,7 +1939,7 @@ "messageModeLabel": "消息模式:输入后发送。切换到按键模式", "moreKeys": "更多按键和操作", "showKeyboard": "显示键盘", - "dismissKeyboardHint": "隐藏软键盘,并保持当前终端会话打开。", + "dismissKeyboardHint": "隐藏软键盘,并保持当前终端会话打开", "switchToDesktopMode": "切换到桌面模式", "switchToPhoneMode": "切换到手机模式", "pasteFromClipboard": "从剪贴板粘贴", @@ -1971,7 +1977,7 @@ "sendFailed": "发送恢复命令失败" }, "aiVaultResumePreparation": { - "prepareFailed": "无法准备此旧版 Codex 会话。请重试恢复。" + "prepareFailed": "无法准备此旧版 Codex 会话。请重试恢复" }, "backgroundTask": { "agent": "后台智能体", @@ -1987,7 +1993,7 @@ "countTasks_other": "{{count}} 个任务", "countWorkflows_one": "{{count}} 个工作流程", "countWorkflows_other": "{{count}} 个工作流程", - "detailsUnavailable": "此会话的任务详细信息不可用。", + "detailsUnavailable": "此会话的任务详细信息不可用", "outputFile": "输出:{{value0}}", "groupAgents": "智能体", "groupMonitors": "监控", @@ -2037,7 +2043,7 @@ }, "bulkTabClose": { "confirm": "关闭标签页", - "description": "选中的标签页将关闭。固定的标签页将保持打开。", + "description": "选中的标签页将关闭。固定的标签页将保持打开", "titleEditors": "关闭所有编辑器标签页?", "titleLeft": "关闭左侧标签页?", "titleOthers": "关闭其他标签页?", @@ -2062,7 +2068,7 @@ "committedChangesFailed": "加载已提交的更改失败", "committedChangesUnavailable": "已提交的更改不可用", "committedDiffUnavailable": "已提交的差异不可用", - "desktopUpdateRequired": "请更新 Orca 桌面端,以便在手机上评审更改。", + "desktopUpdateRequired": "请更新 Orca 桌面端,以便在手机上评审更改", "diffLoadFailed": "无法加载差异", "reviewNotesLoadFailed": "无法加载评审笔记" }, @@ -2077,133 +2083,133 @@ "unstaged": "未暂存" }, "failure": { - "accountSwitchInProgress": "正在此主机上更改 {{agent}} 的设置。请在完成后重试。", - "agentCommandNotRunnable": "{{agent}} 在设置 → 智能体中的命令必须是 Orca 能找到的程序路径或名称,且不能包含参数或变量。请修改或重置。", - "agentCommandNotSignedIn": "请在运行此聊天的电脑上使用 `{{loginCommand}}` 登录 {{agent}}。", - "agentNotSignedIn": "请登录 {{agent}}。", - "agentStarting": "智能体仍在启动。", - "agentStillWorking": "智能体仍在工作。", - "answerUnconfirmed": "您的回答已记录,但智能体未确认。", - "antigravityNotSignedIn": "尚未登录 Antigravity。请在设置 → 账户 → Antigravity中登录,然后重新发送消息。", - "argumentsMissingValue": "已保存的参数需要为 {{option}} 指定一个值。", - "argumentsMultipleValues": "已保存的参数为 {{option}} 指定了多个值。", - "argumentsPositionalPrompt": "已保存的参数中包含提示词。", - "argumentsUnsupportedOption": "已保存的参数包含不支持的选项({{option}})。", - "attachmentAtMost": "{{agent}} 每条消息最多接受 {{limit}} 张图片,因此此消息未发送。", - "attachmentEmpty": "此消息中的一张图片为空,因此消息未发送。", - "attachmentInvalid": "此消息中的附件无法发送给智能体。", + "accountSwitchInProgress": "正在此主机上更改 {{agent}} 的设置。请在完成后重试", + "agentCommandNotRunnable": "{{agent}} 在设置 → 智能体中的命令必须是 Orca 能找到的程序路径或名称,且不能包含参数或变量。请修改或重置", + "agentCommandNotSignedIn": "请在运行此聊天的电脑上使用 `{{loginCommand}}` 登录 {{agent}}", + "agentNotSignedIn": "请登录 {{agent}}", + "agentStarting": "智能体仍在启动", + "agentStillWorking": "智能体仍在工作", + "answerUnconfirmed": "您的回答已记录,但智能体未确认", + "antigravityNotSignedIn": "尚未登录 Antigravity。请在设置 → 账户 → Antigravity中登录,然后重新发送消息", + "argumentsMissingValue": "已保存的参数需要为 {{option}} 指定一个值", + "argumentsMultipleValues": "已保存的参数为 {{option}} 指定了多个值", + "argumentsPositionalPrompt": "已保存的参数中包含提示词", + "argumentsUnsupportedOption": "已保存的参数包含不支持的选项({{option}})", + "attachmentAtMost": "{{agent}} 每条消息最多接受 {{limit}} 张图片,因此此消息未发送", + "attachmentEmpty": "此消息中的一张图片为空,因此消息未发送", + "attachmentInvalid": "此消息中的附件无法发送给智能体", "attachmentsExpired": "{{names}} 已过期。", - "attachmentLargerThan": "此消息中的一张图片超过 {{size}} MB,因此消息未发送。", - "attachmentNoSource": "此消息中的一张图片没有可发送的文件,因此消息未发送。", - "attachmentNotAFile": "此消息中的一张图片不是文件,因此消息未发送。", - "attachmentTooLarge": "此消息中的一张图片过大,因此消息未发送。", - "attachmentTooMany": "此消息包含的图片过多,因此未发送。", - "attachmentTotalMoreThan": "此消息中的图片总计超过 {{size}} MB,因此消息未发送。", - "attachmentTotalTooLarge": "此消息中的图片总大小过大,因此消息未发送。", - "attachmentUnreadable": "无法读取此消息中的附件,因此消息未发送。", - "attachmentUnsupportedType": "{{agent}} 仅接受 PNG、JPEG、GIF 和 WebP 图片,因此此消息未发送。", - "backgroundTaskNotStopped": "后台任务未停止。", - "backgroundTasksNotStopped": "后台任务未停止。", - "backgroundTasksRunning": "后台任务仍在运行。", - "cancelUnconfirmed": "未能确认是否已取消。", - "cancelled": "此消息在智能体开始处理前已撤回。", - "chatClosed": "此消息发送前聊天已关闭。", - "chooseClaudeAccount": "请在 Claude 账户设置中选择或添加一个。", - "chooseClaudeAccountThenRunCommand": "请在 Claude 账户设置中选择或添加一个,然后重新运行 /{{command}}。", - "chooseClaudeAccountThenSend": "请在 Claude 账户设置中选择或添加一个,然后重新发送您的消息。", - "claudeAccountFolderMissing": "所选 Claude 账户的文件夹不存在。请重新登录该账户或选择其他账户。", - "claudeAccountSetupFailed": "无法设置所选 Claude 账户。请重试或选择其他账户。", - "claudeEffortInvalid": "Claude 的推理强度无效;请选择 low、medium、high、xhigh 或 max,然后重新发送。", - "claudeManagedNotSignedIn": "此 Claude 账户尚未登录。请在 Claude 账户设置中重新登录。", - "claudeSystemNotSignedIn": "Claude 尚未登录。请运行 `{{loginCommand}}`,或在 Claude 账户设置中选择账户。", - "cliMissing": "在运行此聊天的计算机上找不到 {{agent}}。请安装它,或检查设置 → 智能体中的命令。", - "cliMissingInWslDistro": "WSL 发行版 {{distro}} 中未安装 {{agent}}。请在 {{distro}} 中安装它,或检查设置 → 智能体中的命令。", - "cliTooOld": "{{agent}} {{installedVersion}} 版本过旧,无法用于聊天。请更新到 {{minimumVersion}} 或更高版本。", - "codexManagedNotSignedIn": "此 Codex 账户尚未登录。请在 Codex 账户设置中重新登录。", - "codexSystemNotSignedIn": "Codex 尚未登录。请运行 `{{loginCommand}}`。", - "commandAfterAnswer": "请先回答智能体的问题或处理审批请求,然后再运行 /{{command}}。", - "commandRefused": "此命令未运行。", - "commandRefusedTryAgain": "此命令未运行。请重试。", - "commandUnavailable": "此命令在 {{agent}} 聊天中不可用,因此未发送。", - "compactionFailed": "压缩失败。", - "compactionFailedQuoted": "压缩失败:{{detail}}。", - "compactionUnconfirmed": "未确认压缩是否完成。", - "conversationOpenElsewhere": "Codex 仍占用此对话。请稍后重试,或关闭其他 Codex 终端。", - "conversationOpenInTerminal": "{{agent}} 已在另一个终端中运行此对话。请退出那里的 {{agent}} 或关闭该终端,然后在这里继续。", - "couldNotRestart": "{{agent}} 无法重新启动。", - "couldNotStart": "{{agent}} 无法启动。", - "couldNotStop": "无法停止 {{agent}}。", - "couldNotStopTheAgent": "无法停止智能体。", - "editSavedArguments": "请在设置 > 智能体 > 参数中编辑。", - "emptyMessage": "此消息为空,因此未发送。", - "fullAccessAsRoot": "{{agent}} 以 root 身份运行时不会使用完全访问。请在运行此聊天的计算机的“设置”→“智能体”中为 {{agent}} 选择其他权限,然后开始新的聊天。", - "historyInOtherAccount": "此聊天的历史记录位于另一个 Claude 账户中。请切换回该账户以继续此聊天。", - "historyTooLarge": "此对话的历史记录过大,无法在此恢复。", - "hostFault": "Orca 遇到问题,因此此操作未完成。", - "hostFaultTryAgain": "Orca 遇到问题,因此此操作未完成。请重试。", - "hostRestarted": "此消息发送前 Orca 已重新启动。", - "hostStopped": "{{agent}} 始终未完成启动,因此 Orca 已将其停止。", - "interactiveAgentNotSignedIn": "请在运行此聊天的电脑上启动 `{{loginCommand}}` 并使用 `{{slashCommand}}` 登录 {{agent}}。", - "launchFolderMissing": "此聊天运行所在的文件夹已不存在。请恢复该文件夹以继续此聊天。", - "launchPreparationFailed": "Orca 无法在运行此聊天的计算机上准备启动 {{agent}}。", - "managedAccountEnvOverride": "此次 Claude 启动设置了自己的 Anthropic 登录变量。请移除这些变量以使用受管理的 Claude 账户。", - "managedAccountUnsupported": "虽然已在 WSL 中添加 Claude 账户,但 Claude 聊天仍需使用 Windows 中的 Claude 账户。", - "modelUnavailable": "{{agent}} 无法使用 {{detail}}。请选择其他模型并重新发送。", + "attachmentLargerThan": "此消息中的一张图片超过 {{size}} MB,因此消息未发送", + "attachmentNoSource": "此消息中的一张图片没有可发送的文件,因此消息未发送", + "attachmentNotAFile": "此消息中的一张图片不是文件,因此消息未发送", + "attachmentTooLarge": "此消息中的一张图片过大,因此消息未发送", + "attachmentTooMany": "此消息包含的图片过多,因此未发送", + "attachmentTotalMoreThan": "此消息中的图片总计超过 {{size}} MB,因此消息未发送", + "attachmentTotalTooLarge": "此消息中的图片总大小过大,因此消息未发送", + "attachmentUnreadable": "无法读取此消息中的附件,因此消息未发送", + "attachmentUnsupportedType": "{{agent}} 仅接受 PNG、JPEG、GIF 和 WebP 图片,因此此消息未发送", + "backgroundTaskNotStopped": "后台任务未停止", + "backgroundTasksNotStopped": "后台任务未停止", + "backgroundTasksRunning": "后台任务仍在运行", + "cancelUnconfirmed": "未能确认是否已取消", + "cancelled": "此消息在智能体开始处理前已撤回", + "chatClosed": "此消息发送前聊天已关闭", + "chooseClaudeAccount": "请在 Claude 账户设置中选择或添加一个", + "chooseClaudeAccountThenRunCommand": "请在 Claude 账户设置中选择或添加一个,然后重新运行 /{{command}}", + "chooseClaudeAccountThenSend": "请在 Claude 账户设置中选择或添加一个,然后重新发送您的消息", + "claudeAccountFolderMissing": "所选 Claude 账户的文件夹不存在。请重新登录该账户或选择其他账户", + "claudeAccountSetupFailed": "无法设置所选 Claude 账户。请重试或选择其他账户", + "claudeEffortInvalid": "Claude 的推理强度无效;请选择 low、medium、high、xhigh 或 max,然后重新发送", + "claudeManagedNotSignedIn": "此 Claude 账户尚未登录。请在 Claude 账户设置中重新登录", + "claudeSystemNotSignedIn": "Claude 尚未登录。请运行 `{{loginCommand}}`,或在 Claude 账户设置中选择账户", + "cliMissing": "在运行此聊天的计算机上找不到 {{agent}}。请安装它,或检查设置 → 智能体中的命令", + "cliMissingInWslDistro": "WSL 发行版 {{distro}} 中未安装 {{agent}}。请在 {{distro}} 中安装它,或检查设置 → 智能体中的命令", + "cliTooOld": "{{agent}} {{installedVersion}} 版本过旧,无法用于聊天。请更新到 {{minimumVersion}} 或更高版本", + "codexManagedNotSignedIn": "此 Codex 账户尚未登录。请在 Codex 账户设置中重新登录", + "codexSystemNotSignedIn": "Codex 尚未登录。请运行 `{{loginCommand}}`", + "commandAfterAnswer": "请先回答智能体的问题或处理审批请求,然后再运行 /{{command}}", + "commandRefused": "此命令未运行", + "commandRefusedTryAgain": "此命令未运行。请重试", + "commandUnavailable": "此命令在 {{agent}} 聊天中不可用,因此未发送", + "compactionFailed": "压缩失败", + "compactionFailedQuoted": "压缩失败:{{detail}}", + "compactionUnconfirmed": "未确认压缩是否完成", + "conversationOpenElsewhere": "Codex 仍占用此对话。请稍后重试,或关闭其他 Codex 终端", + "conversationOpenInTerminal": "{{agent}} 已在另一个终端中运行此对话。请退出那里的 {{agent}} 或关闭该终端,然后在这里继续", + "couldNotRestart": "{{agent}} 无法重新启动", + "couldNotStart": "{{agent}} 无法启动", + "couldNotStop": "无法停止 {{agent}}", + "couldNotStopTheAgent": "无法停止智能体", + "editSavedArguments": "请在设置 > 智能体 > 参数中编辑", + "emptyMessage": "此消息为空,因此未发送", + "fullAccessAsRoot": "{{agent}} 以 root 身份运行时不会使用完全访问。请在运行此聊天的计算机的“设置”→“智能体”中为 {{agent}} 选择其他权限,然后开始新的聊天", + "historyInOtherAccount": "此聊天的历史记录位于另一个 Claude 账户中。请切换回该账户以继续此聊天", + "historyTooLarge": "此对话的历史记录过大,无法在此恢复", + "hostFault": "Orca 遇到问题,因此此操作未完成", + "hostFaultTryAgain": "Orca 遇到问题,因此此操作未完成。请重试", + "hostRestarted": "此消息发送前 Orca 已重新启动", + "hostStopped": "{{agent}} 始终未完成启动,因此 Orca 已将其停止", + "interactiveAgentNotSignedIn": "请在运行此聊天的电脑上启动 `{{loginCommand}}` 并使用 `{{slashCommand}}` 登录 {{agent}}", + "launchFolderMissing": "此聊天运行所在的文件夹已不存在。请恢复该文件夹以继续此聊天", + "launchPreparationFailed": "Orca 无法在运行此聊天的计算机上准备启动 {{agent}}", + "managedAccountEnvOverride": "此次 Claude 启动设置了自己的 Anthropic 登录变量。请移除这些变量以使用受管理的 Claude 账户", + "managedAccountUnsupported": "虽然已在 WSL 中添加 Claude 账户,但 Claude 聊天仍需使用 Windows 中的 Claude 账户", + "modelUnavailable": "{{agent}} 无法使用 {{detail}}。请选择其他模型并重新发送", "modelUnavailableUpdate": "{{agent}} 无法使用 {{detail}}。请将 {{agent}} 更新到 {{minimumVersion}} 或更高版本,以便重启后继续使用;或者选择其他模型并重新发送。", "modelNotSelected": "{{agent}} 没有选择模型。请检查模型选择和 {{agent}} 登录状态,然后重新发送。", - "noTurnToStop": "{{agent}} 没有正在运行的轮次可停止。", - "notDelivered": "此消息未送达。", - "notDeliveredSendAgain": "此消息未送达。请重新发送以继续。", - "notSignedIn": "{{agent}} 尚未登录。", - "previousExitUnverifiable": "无法停止之前的 {{agent}}。", - "providerExitedAnswer": "{{agent}} 已停止,因此您的回答未发送。发送消息以继续。", - "providerExitedRejection": "{{agent}} 在发送此消息前已停止。", - "providerExitedRow": "{{agent}} 在生成此回复时停止了。您可以在此对话中继续。", - "providerRateLimited": "{{agent}} 已被限流,正在重试。", - "providerUnavailable": "{{agent}} 因服务繁忙而无法回复。请选择其他模型,或稍等片刻后重新发送。", - "providerSafetyStopped": "{{agent}} 在安全检查后停止了此次回复。请检查您的请求后重新发送。", - "providerResponseFailed": "{{agent}} 未能完成此回复。打开详情了解更多信息。", - "selectedModel": "所选模型", - "providerRejected": "{{agent}} 未接受此消息。", - "providerRejectedQuoted": "{{agent}} 未接受此消息:{{detail}}。", - "providerRetryLastError": "上次错误:{{detail}}。", - "providerRetryNumber": "第 {{attempt}} 次重试。", - "providerRetryNumberOf": "第 {{attempt}} 次重试,共 {{maxRetries}} 次。", - "providerRetrying": "{{agent}} 遇到临时问题,正在重试。", - "providerRetryingQuoted": "{{agent}} 正在重试:{{detail}}。", - "providerStartFailed": "{{agent}} 在完成启动前已停止。", + "noTurnToStop": "{{agent}} 没有正在运行的轮次可停止", + "notDelivered": "此消息未送达", + "notDeliveredSendAgain": "此消息未送达。请重新发送以继续", + "notSignedIn": "{{agent}} 尚未登录", + "previousExitUnverifiable": "无法停止之前的 {{agent}}", + "providerExitedAnswer": "{{agent}} 已停止,因此您的回答未发送。发送消息以继续", + "providerExitedRejection": "{{agent}} 在发送此消息前已停止", + "providerExitedRow": "{{agent}} 在生成此回复时停止了。您可以在此对话中继续", + "providerRateLimited": "{{agent}} 已被限流,正在重试", + "providerRejected": "{{agent}} 未接受此消息", + "providerRejectedQuoted": "{{agent}} 未接受此消息:{{detail}}", + "providerRetryLastError": "上次错误:{{detail}}", + "providerRetryNumber": "第 {{attempt}} 次重试", + "providerRetryNumberOf": "第 {{attempt}} 次重试,共 {{maxRetries}} 次", + "providerRetrying": "{{agent}} 遇到临时问题,正在重试", + "providerRetryingQuoted": "{{agent}} 正在重试:{{detail}}", + "providerStartFailed": "{{agent}} 在完成启动前已停止", "savedConversationMissing": "{{agent}} 找不到此聊天已保存的对话。", - "queueFull": "等待智能体处理的消息过多,因此此消息未发送。", - "quitTerminalAgent": "请退出该智能体,以便在此处继续聊天。", - "runCommandAgain": "请重新运行 /{{command}}。", - "runCommandWhenDone": "完成后再运行 /{{command}}。", - "runtimeNotInstalled": "运行此聊天的计算机上未安装 {{agent}}。请在最新版本的 Orca 中从聊天里安装。", - "sendAgainToTryOnceMore": "请重新发送您的消息,再试一次。", - "sendToTryAgain": "请发送您的消息以重试。", - "sessionNotRestored": "{{agent}} 无法重新打开之前的会话,因此此聊天将在新会话中继续。{{agent}} 不记得之前的消息。", - "signInFirst": "请先登录。", - "signInThenRunCommand": "请登录,然后重新运行 /{{command}}。", - "signInThenSend": "请登录,然后重新发送您的消息。", - "startNewChat": "请开始新的聊天以继续。", - "startTimedOut": "{{agent}} 启动时间过长({{seconds}} 秒后 {{method}} 仍无响应)。", - "startTimedOutKeepsHappening": "如果此问题持续出现,运行此聊天的计算机可能负载过重。", - "stopRefused": "{{agent}} 未停止。", - "stopRefusedQuoted": "{{agent}} 未停止:{{detail}}。", - "terminalAgentHoldsChat": "此聊天仍在终端智能体中打开。", + "queueFull": "等待智能体处理的消息过多,因此此消息未发送", + "quitTerminalAgent": "请退出该智能体,以便在此处继续聊天", + "runCommandAgain": "请重新运行 /{{command}}", + "runCommandWhenDone": "完成后再运行 /{{command}}", + "runtimeNotInstalled": "运行此聊天的计算机上未安装 {{agent}}。请在最新版本的 Orca 中从聊天里安装", + "sendAgainToTryOnceMore": "请重新发送您的消息,再试一次", + "sendToTryAgain": "请发送您的消息以重试", + "sessionNotRestored": "{{agent}} 无法重新打开之前的会话,因此此聊天将在新会话中继续。{{agent}} 不记得之前的消息", + "signInFirst": "请先登录", + "signInThenRunCommand": "请登录,然后重新运行 /{{command}}", + "signInThenSend": "请登录,然后重新发送您的消息", + "startNewChat": "请开始新的聊天以继续", + "startTimedOut": "{{agent}} 启动时间过长({{seconds}} 秒后 {{method}} 仍无响应)", + "startTimedOutKeepsHappening": "如果此问题持续出现,运行此聊天的计算机可能负载过重", + "stopRefused": "{{agent}} 未停止", + "stopRefusedQuoted": "{{agent}} 未停止:{{detail}}", + "terminalAgentHoldsChat": "此聊天仍在终端智能体中打开", "theAgent": "智能体", - "thenSendAgain": "然后再次发送消息。", - "usageLimitReached": "{{agent}} 已达到使用上限。", - "usageLimitReachedNamed": "{{agent}} 已达到{{window}}上限。", - "usageLimitResetsAt": "将在 {{when}} 重置。", - "usageLimitSendAfterReset": "重置后发送消息即可继续。", + "thenSendAgain": "然后再次发送消息", + "usageLimitReached": "{{agent}} 已达到使用上限", + "usageLimitReachedNamed": "{{agent}} 已达到{{window}}上限", + "usageLimitResetsAt": "将在 {{when}} 重置", + "usageLimitSendAfterReset": "重置后发送消息即可继续", "usageLimitWindowCredits": "额外用量", "usageLimitWindowSession": "会话", "usageLimitWindowWeekly": "每周", "usageLimitWindowWeeklyModel": "模型每周", - "waitForBackgroundTasks": "请等待后台任务完成。", - "waitForStart": "请等待智能体完成启动。", - "writeFailed": "Orca 无法将此消息交给智能体,因此消息未发送。", - "pluginInputRequired": "{{agent}} 已停止,因为“{{plugin}}”插件正在终端窗格中等待输入。请为聊天会话禁用该插件,或在 {{agent}} 终端中运行任务。" + "waitForBackgroundTasks": "请等待后台任务完成", + "waitForStart": "请等待智能体完成启动", + "writeFailed": "Orca 无法将此消息交给智能体,因此消息未发送", + "pluginInputRequired": "{{agent}} 已停止,因为“{{plugin}}”插件正在终端窗格中等待输入。请为聊天会话禁用该插件,或在 {{agent}} 终端中运行任务。", + "providerUnavailable": "{{agent}} 因服务繁忙而无法回复。请选择其他模型,或稍等片刻后重新发送。", + "providerSafetyStopped": "{{agent}} 在安全检查后停止了此次回复。请检查您的请求后重新发送。", + "providerResponseFailed": "{{agent}} 未能完成此回复。打开详情了解更多信息。", + "selectedModel": "所选模型" }, "fileReader": { "copyReviewNotes": "复制评审备注", @@ -2219,8 +2225,8 @@ "title": "浮动工作区" }, "githubPrMutations": { - "reviewThreadUpdateFailed": "更新评审讨论串失败。", - "titleUpdateFailed": "更新标题失败。" + "reviewThreadUpdateFailed": "更新评审讨论串失败", + "titleUpdateFailed": "更新标题失败" }, "githubPrRpc": { "requestFailed": "请求失败:{{method}}" @@ -2277,18 +2283,18 @@ "nativeChatFullContent": { "loadMessageFailed": "显示完整消息:加载失败,点按重试", "loadOutputFailed": "显示完整输出:加载失败,点按重试", - "partialMessage": "仅显示此消息的部分内容。", - "partialOutput": "正在显示 {{total}} 中的 {{shown}}。", + "partialMessage": "仅显示此消息的部分内容", + "partialOutput": "正在显示 {{total}} 中的 {{shown}}", "showFullMessage": "显示完整消息", "showFullOutput": "显示完整输出" }, "nativeChatRenderData": { "defaultAgentLabel": "智能体", - "emptySubtitle": "让 {{agent}} 检查代码、解释输出或进行更改。", + "emptySubtitle": "让 {{agent}} 检查代码、解释输出或进行更改", "emptyTitle": "与 {{agent}} 开始聊天", - "errorSubtitle": "无法读取记录。请切回终端继续工作。", + "errorSubtitle": "无法读取记录。请切回终端继续工作", "errorTitle": "无法加载对话", - "notFoundSubtitle": "发送消息以开始对话,或打开终端视图,查看 {{agent}} 正在做什么。", + "notFoundSubtitle": "发送消息以开始对话,或打开终端视图,查看 {{agent}} 正在做什么", "notFoundTitle": "暂未找到此对话" }, "nativeChatToggleAction": { @@ -2296,22 +2302,22 @@ "switchToTerminalView": "切换到终端视图" }, "newTabAgentHostLaunch": { - "notesNotSent": "智能体已启动,但笔记未发送。", + "notesNotSent": "智能体已启动,但笔记未发送", "notesSent": "笔记已发送", - "notesUnconfirmed": "智能体已启动,但无法确认笔记是否已发送。", - "promptUnconfirmed": "智能体已启动,但无法确认提示词是否已发送。" + "notesUnconfirmed": "智能体已启动,但无法确认笔记是否已发送", + "promptUnconfirmed": "智能体已启动,但无法确认提示词是否已发送" }, "prActionsEngine": { - "mergeFailed": "合并 PR 失败。", - "refreshFailed": "无法刷新拉取请求。" + "mergeFailed": "合并 PR 失败", + "refreshFailed": "刷新 PR 失败" }, "prAiTriageLaunch": { "agentStarted": "智能体已启动", "agentStartedIn": "智能体已在 {{label}} 中启动", - "emptyPrompt": "此操作保存的提示词为空。请在电脑上更新“源代码控制 AI”设置。", - "loadFailed": "无法加载可用的智能体。", - "promptNotSent": "智能体已启动,但提示词未发送。", - "updateRequired": "请更新电脑上的 Orca,以便从手机启动智能体。" + "emptyPrompt": "此操作保存的提示词为空。请在电脑上更新“源代码控制 AI”设置", + "loadFailed": "无法加载可用的智能体", + "promptNotSent": "智能体已启动,但提示词未发送", + "updateRequired": "请更新电脑上的 Orca,以便从手机启动智能体" }, "prSidebarState": { "loadFailed": "无法加载 PR" @@ -2335,7 +2341,7 @@ "steerHint": "提交且不中断模型" }, "queuedMessageComposer": { - "commandsNotAllowed": "排队消息中不能保存命令。", + "commandsNotAllowed": "排队消息中不能保存命令", "editing": "正在编辑消息" }, "quickCommandEditorForm": { @@ -2345,20 +2351,20 @@ "agent": "智能体", "agentPrompt": "智能体提示", "appendEnter": "追加 Enter", - "appendEnterDescription": "立即提交,而不仅仅是插入文本。", + "appendEnterDescription": "立即提交,而不仅仅是插入文本", "chooseAgent": "选择智能体", "commandText": "命令文本", "globalScope": "全局", "label": "名称", "labelPlaceholder": "启动开发服务器", - "olderHostPromptTooLong": "对此主机来说过长。请在主机上更新 Orca 以保存更长的提示词。", + "olderHostPromptTooLong": "对此主机来说过长。请在主机上更新 Orca 以保存更长的提示词", "projectScope": "项目", "prompt": "提示词", - "promptHint": "支持技能、文件路径和内置命令。", + "promptHint": "支持技能、文件路径和内置命令", "promptPlaceholder": "要求智能体调查此工作区", "promptSizeCharacters": "{{used}} / {{max}} 个字符", "promptSizeKilobytes": "{{used}} KB / {{max}} KB", - "promptTooLong": "内容过长,无法保存。", + "promptTooLong": "内容过长,无法保存", "scope": "范围", "terminalCommand": "终端命令" }, @@ -2376,20 +2382,20 @@ "runCommand": "运行 {{label}}" }, "quickCommandsList": { - "emptyState": "暂无快捷命令。", + "emptyState": "暂无快捷命令", "globalGroup": "全局", "newCommand": "新建快捷命令", - "noMatches": "没有匹配的快捷命令。", + "noMatches": "没有匹配的快捷命令", "projectGroup": "此项目", "searchPlaceholder": "搜索快捷命令…" }, "quickCommandsSheet": { "addTitle": "添加快捷命令", "chooseAgentTitle": "选择智能体", - "deleteConfirmMessage": "该快捷命令将从您保存的列表中删除。", + "deleteConfirmMessage": "该快捷命令将从您保存的列表中删除", "deleteConfirmTitle": "删除“{{label}}”?", "editTitle": "编辑快捷命令", - "editorDescription": "保存终端命令或智能体提示词,便于快速调用。", + "editorDescription": "保存终端命令或智能体提示词,便于快速调用", "title": "快捷命令", "untitled": "无题" }, @@ -2417,14 +2423,14 @@ "discardAndLeave": "放弃并离开", "discardChanges": "放弃更改", "discardMessage": "是否用桌面上的最新文件替换手机草稿?", - "draftsHint": "离开前,请复制或放弃手机上的草稿。", + "draftsHint": "离开前,请复制或放弃手机上的草稿", "file": "文件", "markdown": "Markdown", "markdownNote": "Markdown 笔记", "newBrowser": "新浏览器", "newTab": "新标签页", "notesCopied": "注释已复制", - "notesHint": "选择接收当前注释的智能体会话。", + "notesHint": "选择接收当前注释的智能体会话", "removeShortcutMessage": "移除此自定义快捷键?", "renameTerminal": "重命名终端", "sendReviewNotes": "发送评审备注", @@ -2432,17 +2438,17 @@ "terminal": "终端", "terminalName": "终端名称", "unsavedMarkdown": "未保存的 Markdown 更改", - "urlPrompt": "输入 URL,或留空以新建标签页。", + "urlPrompt": "输入 URL,或留空以新建标签页", "allowAutoClose": "允许自动关闭", "renameTerminalFailed": "无法重命名终端。{{reason}}" }, "sourceControlLaunchAgent": { - "noEnabledAgent": "此工作区主机上未检测到已启用的 AI 智能体。", - "savedAgentUnavailable": "为此操作保存的智能体在此工作区主机上不可用。" + "noEnabledAgent": "此工作区主机上未检测到已启用的 AI 智能体", + "savedAgentUnavailable": "为此操作保存的智能体在此工作区主机上不可用" }, "structuredComposerCommand": { - "operationUnconfirmed": "对话操作未获确认。", - "removeAttachments": "使用聊天会话命令前,请先移除附件。" + "operationUnconfirmed": "对话操作未获确认", + "removeAttachments": "使用聊天会话命令前,请先移除附件" }, "structuredSendDelivery": { "messageNotSent": "消息未发送" @@ -2498,7 +2504,7 @@ "useContentCreateActions": { "browserCommandFailed": "浏览器命令执行失败", "browserCreateFailed": "创建浏览器失败", - "browserUnavailable": "浏览器页面暂不可用。", + "browserUnavailable": "浏览器页面暂不可用", "browserUpdateRequired": "需更新桌面端才能使用移动端浏览器串流", "invalidUrl": "请输入有效的 URL", "noteCreateFailed": "创建 Markdown 笔记失败", @@ -2541,7 +2547,7 @@ "notesCopied": "评审笔记已复制", "notesSent": "评审笔记已发送", "notesSentWithWarning": "评审笔记已发送。{{warning}}", - "promptNotSent": "智能体已启动,但笔记未发送。请使用“复制备注”复制后粘贴。", + "promptNotSent": "智能体已启动,但笔记未发送。请使用“复制备注”复制后粘贴", "sendFailed": "发送笔记失败", "startingAgent": "正在启动智能体…", "waitingForDesktop": "等待桌面连接…" @@ -2564,8 +2570,8 @@ "insertFailed": "无法插入听写文本", "insertFailedCopied": "无法插入听写文本,已复制到剪贴板", "inserted": "已插入听写文本", - "stoppedAfterSilence": "静音一分钟后已停止", - "stoppedAtCloudLimit": "已达 10 分钟云端上限。听写已停止。" + "stoppedAtCloudLimit": "已达 10 分钟云端上限。听写已停止。", + "stoppedAfterSilenceSeconds": "静音 {{seconds}} 秒后已停止" }, "useNativeChatStop": { "stopNotSent": "停止指令未发送", @@ -2590,7 +2596,7 @@ "actionFailed": "评论操作失败" }, "usePrTitleAction": { - "disconnected": "未连接到桌面。" + "disconnected": "未连接到桌面" }, "useQuickCommands": { "loadFailed": "加载快捷命令失败", @@ -2598,16 +2604,16 @@ }, "useSessionTerminalSendActions": { "inputTooLarge": "输入内容过大(最大 256 KiB)", - "liveInputInterrupted": "实时输入已中断,输入框已清空。继续前请检查终端。" + "liveInputInterrupted": "实时输入已中断,输入框已清空。继续前请检查终端" }, "useStartup": { - "wakeAgents": "请在主机上打开 Orca,以唤醒睡眠中的智能体。" + "wakeAgents": "请在主机上打开 Orca,以唤醒睡眠中的智能体" }, "useTerminalCreateActions": { "createFailed": "创建终端失败", - "forkBusy": "另一个终端正在打开,请稍候再尝试打开 {{agentName}} 聊天。", - "forkUnavailable": "请在已连接且已更新的主机上打开 {{agentName}} 聊天,然后重试。", - "inputLocked": "终端输入已被另一个客户端锁定。", + "forkBusy": "另一个终端正在打开,请稍候再尝试打开 {{agentName}} 聊天", + "forkUnavailable": "请在已连接且已更新的主机上打开 {{agentName}} 聊天,然后重试", + "inputLocked": "终端输入已被另一个客户端锁定", "notesSent": "笔记已发送", "sendNotesError": "无法发送笔记", "sendNotesFailed": "发送笔记失败", @@ -2629,82 +2635,82 @@ "fallback": "工作树" }, "writeNotice": { - "agentRefused": "智能体拒绝了此请求。", - "agentStarting": "智能体仍在启动。", - "agentStillWorking": "智能体仍在工作。", - "answerFirst": "请先回答问题或审批。", - "attachmentExpired": "此附件已过期。", - "backgroundTasksRunning": "后台任务仍在运行。", - "cancelNotSaved": "无法取消此问题或审批。", - "cannotRunHere": "Orca 无法在此处以聊天方式运行此智能体。", - "capacity": "运行此聊天的计算机上的 Orca 已达到请求上限。请在那台计算机上更新 Orca,然后重试。", - "chatNotFound": "Orca 找不到此聊天。", - "chatSavedByNewerOrca": "此聊天由更新版本的 Orca 保存。", - "clearAfterAnswer": "请先回答智能体的问题或审批,然后再运行 /clear。", - "clearAfterRetry": "请先重试您之前的消息,然后再运行 /clear。", - "clearAfterSending": "您之前的消息仍在发送中。发送完成后再运行 /clear。", - "clearUnfinished": "上一次 /clear 未完成。", - "commandRunning": "/compact 或 /clear 仍在运行。", - "compactAfterAnswer": "请先回答智能体的问题或审批,然后再运行 /compact。", - "compactAfterRetry": "请先重试您之前的消息,然后再运行 /compact。", - "compactAfterSending": "您之前的消息仍在发送中。发送完成后再运行 /compact。", - "continuationSuperseded": "此聊天已有后续进展。请查看最新消息后再继续。", - "conversationCleared": "此对话已被清除。", - "goalsUnsupported": "此智能体不支持目标。", - "historyUnavailable": "Orca 目前无法打开此聊天的历史记录。", - "historyUnreadable": "Orca 无法读取此聊天的已保存历史记录。", - "historyUnusable": "无法加载此聊天。", - "hostReconciling": "Orca 重启后仍在检查此聊天。", - "messageNotSaved": "无法保存您的消息。", - "messageTooLarge": "超过了单条消息 256 KB 的上限。", - "messagesUnsettled": "您之前发送的一条消息尚未确认。", - "notAvailable": "此聊天中无法使用此功能。", - "notDoneAnswer": "您的回答未发送。", - "notDoneCommand": "命令未运行。", - "notDoneGoalChangeIncomplete": "未能完成更改目标。请查看聊天。", - "notDoneOption": "设置未更改。", - "notDoneQueuedEdit": "你的编辑未保存。", - "notDoneReadHistory": "无法加载此聊天的历史记录。", - "notDoneSend": "您的消息未发送。", - "notDoneStop": "智能体未停止。", - "notDoneStopTask": "后台任务未停止。", - "notDoneStopTasks": "后台任务未停止。", - "openCurrentConversation": "请打开当前对话以继续。", - "optionRejected": "智能体未接受此设置。", - "outcomeUnknown": "Orca 无法确认发生了什么。请查看聊天。", - "ownerUnproven": "此聊天之前的智能体可能仍在运行。", - "pendingWork": "在使用此命令之前,请等待挂起的工作和消息完成。", - "promptPending": "智能体正在等待您回答问题或审批。", - "questionChanged": "此问题已被回答或已更改。", - "queueTooLarge": "队列中等待的文本过多。", - "quitTerminalAgent": "请退出该智能体,以便在此处继续聊天。", - "reattachFile": "请将其移除后重新附加。", + "agentRefused": "智能体拒绝了此请求", + "agentStarting": "智能体仍在启动", + "agentStillWorking": "智能体仍在工作", + "answerFirst": "请先回答问题或审批", + "attachmentExpired": "此附件已过期", + "backgroundTasksRunning": "后台任务仍在运行", + "cancelNotSaved": "无法取消此问题或审批", + "cannotRunHere": "Orca 无法在此处以聊天方式运行此智能体", + "capacity": "运行此聊天的计算机上的 Orca 已达到请求上限。请在那台计算机上更新 Orca,然后重试", + "chatNotFound": "Orca 找不到此聊天", + "chatSavedByNewerOrca": "此聊天由更新版本的 Orca 保存", + "clearAfterAnswer": "请先回答智能体的问题或审批,然后再运行 /clear", + "clearAfterRetry": "请先重试您之前的消息,然后再运行 /clear", + "clearAfterSending": "您之前的消息仍在发送中。发送完成后再运行 /clear", + "clearUnfinished": "上一次 /clear 未完成", + "commandRunning": "/compact 或 /clear 仍在运行", + "compactAfterAnswer": "请先回答智能体的问题或审批,然后再运行 /compact", + "compactAfterRetry": "请先重试您之前的消息,然后再运行 /compact", + "compactAfterSending": "您之前的消息仍在发送中。发送完成后再运行 /compact", + "continuationSuperseded": "此聊天已有后续进展。请查看最新消息后再继续", + "conversationCleared": "此对话已被清除", + "goalsUnsupported": "此智能体不支持目标", + "historyUnavailable": "Orca 目前无法打开此聊天的历史记录", + "historyUnreadable": "Orca 无法读取此聊天的已保存历史记录", + "historyUnusable": "无法加载此聊天", + "hostReconciling": "Orca 重启后仍在检查此聊天", + "messageNotSaved": "无法保存您的消息", + "messageTooLarge": "超过了单条消息 256 KB 的上限", + "messagesUnsettled": "您之前发送的一条消息尚未确认", + "notAvailable": "此聊天中无法使用此功能", + "notDoneAnswer": "您的回答未发送", + "notDoneCommand": "命令未运行", + "notDoneGoalChangeIncomplete": "未能完成更改目标。请查看聊天", + "notDoneOption": "设置未更改", + "notDoneQueuedEdit": "你的编辑未保存", + "notDoneReadHistory": "无法加载此聊天的历史记录", + "notDoneSend": "您的消息未发送", + "notDoneStop": "智能体未停止", + "notDoneStopTask": "后台任务未停止", + "notDoneStopTasks": "后台任务未停止", + "openCurrentConversation": "请打开当前对话以继续", + "optionRejected": "智能体未接受此设置", + "outcomeUnknown": "Orca 无法确认发生了什么。请查看聊天", + "ownerUnproven": "此聊天之前的智能体可能仍在运行", + "pendingWork": "在使用此命令之前,请等待挂起的工作和消息完成", + "promptPending": "智能体正在等待您回答问题或审批", + "questionChanged": "此问题已被回答或已更改", + "queueTooLarge": "队列中等待的文本过多", + "quitTerminalAgent": "请退出该智能体,以便在此处继续聊天", + "reattachFile": "请将其移除后重新附加", "reattachFiles": "请将它们移除后重新附加。", - "recordFailed": "Orca 无法将此内容保存到聊天历史记录中。", - "recordUnreadable": "Orca 无法读取此聊天的已保存状态。", - "reopenChat": "请重新打开聊天以再次检查。", - "restartFailed": "智能体无法重新启动。", - "runClearWhenDone": "完成后再运行 /clear。", - "runCompactWhenDone": "完成后再运行 /compact。", - "savedByNewerOrca": "这些聊天由更新版本的 Orca 保存。", - "sendOutcomeLost": "Orca 无法确认你的消息已送达智能体。请查看聊天,如有需要请重新发送。", - "settleEarlierMessage": "请等待之前的消息送达,或重试该消息。", - "shortenMessage": "请缩短或拆分后再发送。", - "shrinkQueue": "请删除一条排队的消息,或等待其送达,然后重试。", - "startNewChat": "请开始新的聊天以继续。", - "terminalAgentHoldsChat": "此聊天仍在终端智能体中打开。", - "tryAgain": "请重试。", - "tryAgainComposerSend": "请重新发送。", - "turnActive": "智能体仍在回复。", - "unreachable": "Orca 无法连接到智能体。", - "unsupported": "运行此聊天的计算机需要更新版本的 Orca。请在该计算机上更新 Orca 后重试。", - "updateOrcaToKeepUsing": "请更新 Orca 以继续使用这些聊天。", - "updateOrcaToOpenChat": "请更新 Orca 以打开它。", - "waitForBackgroundTasks": "请等待后台任务完成。", - "waitForCommand": "请等待 /compact 或 /clear 完成。", - "waitForStart": "请等待智能体完成启动。", - "waitForTurn": "请等待智能体完成回复,或将其停止。", - "waitMoment": "请稍候。" + "recordFailed": "Orca 无法将此内容保存到聊天历史记录中", + "recordUnreadable": "Orca 无法读取此聊天的已保存状态", + "reopenChat": "请重新打开聊天以再次检查", + "restartFailed": "智能体无法重新启动", + "runClearWhenDone": "完成后再运行 /clear", + "runCompactWhenDone": "完成后再运行 /compact", + "savedByNewerOrca": "这些聊天由更新版本的 Orca 保存", + "sendOutcomeLost": "Orca 无法确认你的消息已送达智能体。请查看聊天,如有需要请重新发送", + "settleEarlierMessage": "请等待之前的消息送达,或重试该消息", + "shortenMessage": "请缩短或拆分后再发送", + "shrinkQueue": "请删除一条排队的消息,或等待其送达,然后重试", + "startNewChat": "请开始新的聊天以继续", + "terminalAgentHoldsChat": "此聊天仍在终端智能体中打开", + "tryAgain": "请重试", + "tryAgainComposerSend": "请重新发送", + "turnActive": "智能体仍在回复", + "unreachable": "Orca 无法连接到智能体", + "unsupported": "运行此聊天的计算机需要更新版本的 Orca。请在该计算机上更新 Orca 后重试", + "updateOrcaToKeepUsing": "请更新 Orca 以继续使用这些聊天", + "updateOrcaToOpenChat": "请更新 Orca 以打开它", + "waitForBackgroundTasks": "请等待后台任务完成", + "waitForCommand": "请等待 /compact 或 /clear 完成", + "waitForStart": "请等待智能体完成启动", + "waitForTurn": "请等待智能体完成回复,或将其停止", + "waitMoment": "请稍候" }, "workerAutoClose": { "running": "临时协作工作者 · 完成 2 分钟后关闭", @@ -2755,7 +2761,7 @@ }, "settings": { "aboutScreen": { - "openLinkFailed": "无法打开链接。请重试。", + "openLinkFailed": "无法打开链接。请重试", "socialProfile": "Orca 的 X 主页", "sourceCode": "Orca 源代码", "tagline": "助力开发者百倍提效的开源智能体 IDE", @@ -2782,13 +2788,13 @@ }, "appearance": { "language": { - "description": "选择“系统”时,将跟随此设备的语言。权限提示始终使用设备语言。", + "description": "选择“系统”时,将跟随此设备的语言。权限提示始终使用设备语言", "heading": "语言", "systemWithCurrent": "系统({{language}})" }, "theme": { "dark": "深色", - "description": "选择“系统”时,将跟随此设备的浅色或深色设置。", + "description": "选择“系统”时,将跟随此设备的浅色或深色设置", "heading": "主题", "light": "浅色", "system": "系统" @@ -2797,14 +2803,14 @@ }, "browserSettingsScreen": { "desktopBrowser": "桌面 Orca 浏览器", - "desktopBrowserDescription": "在已配对桌面通过串流提供的浏览器中打开。", - "linksDescription": "选择点按终端输出中的 HTTP(S) 链接时使用的浏览器。", + "desktopBrowserDescription": "在已配对桌面通过串流提供的浏览器中打开", + "linksDescription": "选择点按终端输出中的 HTTP(S) 链接时使用的浏览器", "linksHeading": "链接", - "loadFailed": "无法加载浏览器偏好设置。请重试。", + "loadFailed": "无法加载浏览器偏好设置。请重试", "openTerminalLinks": "打开终端链接", "phoneBrowser": "手机浏览器", - "phoneBrowserDescription": "在此手机的 Safari、Chrome 或其他浏览器中打开。", - "saveFailed": "无法保存浏览器偏好设置。请重试。", + "phoneBrowserDescription": "在此手机的 Safari、Chrome 或其他浏览器中打开", + "saveFailed": "无法保存浏览器偏好设置。请重试", "title": "浏览器" }, "menuItems": { @@ -2822,7 +2828,7 @@ "support": "支持" }, "nativeChatSettingsScreen": { - "defaultViewDescription": "选择受支持的智能体会话(Claude、Codex 及其他支持聊天的智能体)在此设备上的打开方式。终端显示原始 CLI;聊天界面则显示与桌面应用类似的聊天界面。您仍可通过长按菜单切换单个会话的视图。", + "defaultViewDescription": "选择受支持的智能体会话(Claude、Codex 及其他支持聊天的智能体)在此设备上的打开方式。终端显示原始 CLI;聊天界面则显示与桌面应用类似的聊天界面。您仍可通过长按菜单切换单个会话的视图", "defaultViewHeading": "默认视图", "off": "关闭", "on": "开启", @@ -2830,21 +2836,21 @@ "title": "聊天界面" }, "nativeNotificationDeliverySettings": { - "loadFailed": "无法加载通知投递设置。请重新打开此页面重试。", - "saveFailed": "无法保存通知投递设置。请重试。", - "updateDesktopHint": "配对已更新的桌面,即可在此手机上接收通知。" + "loadFailed": "无法加载通知投递设置。请重新打开此页面重试", + "saveFailed": "无法保存通知投递设置。请重试", + "updateDesktopHint": "配对已更新的桌面,即可在此手机上接收通知" }, "notificationDisplayTest": { - "accepted": "Orca 推送服务已接受请求。请查看通知。", - "connectDesktop": "请先连接桌面,然后重试。", + "accepted": "Orca 推送服务已接受请求。请查看通知", + "connectDesktop": "请先连接桌面,然后重试", "description": "测试推送送达;推送不可用时,测试本地通知。", - "desktopUnreachable": "无法连接到桌面。请重试。", - "loadFailed": "无法加载已配对的桌面。", - "pairDesktop": "请先配对桌面,然后重试。", - "pushServiceFailed": "无法通过 Orca 推送服务发送。请重试。", - "rateLimited": "通知发送过于频繁。请稍后重试。", + "desktopUnreachable": "无法连接到桌面。请重试", + "loadFailed": "无法加载已配对的桌面", + "pairDesktop": "请先配对桌面,然后重试", + "pushServiceFailed": "无法通过 Orca 推送服务发送。请重试", + "rateLimited": "通知发送过于频繁。请稍后重试", "sendButton": "发送测试通知", - "sendFailed": "无法发送测试推送。", + "sendFailed": "无法发送测试推送", "sending": "正在发送…", "troubleReceivingAlerts": "接收提醒遇到问题?", "troubleshooting": "故障排查", @@ -2859,40 +2865,40 @@ "liveFallbackScheduled": "{{reason}} 已安排本地测试。请检查通知。Orca 运行且保持连接时,可接收实时提醒。" }, "notificationSettingsScreen": { - "description": "智能体需要您提供输入或已完成任务时,在此设备上接收通知。", + "description": "智能体需要您提供输入或已完成任务时,在此设备上接收通知", "enableNotifications": "启用通知", - "loadFailed": "无法加载通知设置。请重试。", - "notificationsBlocked": "系统设置中已禁用通知。", + "loadFailed": "无法加载通知设置。请重试", + "notificationsBlocked": "系统设置中已禁用通知", "openSettings": "打开设置", - "openSettingsFailed": "无法打开系统设置。请重试。", - "saveFailed": "无法保存通知设置。请重试。", + "openSettingsFailed": "无法打开系统设置。请重试", + "saveFailed": "无法保存通知设置。请重试", "title": "通知" }, "pendingCredentialCleanupCard": { - "cleanupUnconfirmed_one": "无法确认此设备上的 {{count}} 个凭据是否已清理。", - "cleanupUnconfirmed_other": "无法确认此设备上的 {{count}} 个凭据是否已清理。", + "cleanupUnconfirmed_one": "无法确认此设备上的 {{count}} 个凭据是否已清理", + "cleanupUnconfirmed_other": "无法确认此设备上的 {{count}} 个凭据是否已清理", "retryCleanup": "重试清除配对凭据", - "retryFailed": "仍无法确认清理结果。请稍后重试。", - "statusCheckFailed": "无法检查此设备上的清理状态。为确保安全,请重试。", + "retryFailed": "仍无法确认清理结果。请稍后重试", + "statusCheckFailed": "无法检查此设备上的清理状态。为确保安全,请重试", "title": "配对凭据清理" }, "uiLanguageSettingsSection": { "pseudoLanguage": "伪本地化(en-XA)" }, "voiceSettingsScreen": { - "connectDesktop": "连接到桌面后即可管理语音设置。", + "connectDesktop": "连接到桌面后即可管理语音设置", "deleteFailed": "删除失败", - "dictationDescription": "通过听写向桌面上任意获得焦点的窗格输入文本。", + "dictationDescription": "通过听写向桌面上任意获得焦点的窗格输入文本", "dictationHeading": "听写", "dictationMode": "听写模式", - "dictationModeDescription": "切换:按一次开始,再按一次停止。按住:按住期间进行听写。", + "dictationModeDescription": "切换:按一次开始,再按一次停止。按住:按住期间进行听写", "dictationModeWithAutoDescription": "自动:轻按开始和停止;在电脑上按住快捷键会一直录音,直到松开。按住:按住期间进行听写。切换:按一次开始,再按一次停止。", "autoMode": "自动", "downloadFailed": "下载失败", "enableDictation": "启用语音听写", "holdMode": "按住", "loadFailed": "加载语音设置失败", - "loadFailedMessage": "加载语音设置失败。", + "loadFailedMessage": "加载语音设置失败", "noneSelected": "未选择", "selectModelFailed": "无法选择模型", "speechModel": "语音模型", @@ -2925,31 +2931,31 @@ "waitingForDesktop": "正在等待桌面…" }, "actions": { - "checkingReviewStatus": "正在检查评审状态。", - "checkoutBeforePublish": "请先检出分支再发布提交。", - "commitStagedChanges": "提交已暂存的更改。", - "committing": "正在提交。", + "checkingReviewStatus": "正在检查评审状态", + "checkoutBeforePublish": "请先检出分支再发布提交", + "commitStagedChanges": "提交已暂存的更改", + "committing": "正在提交", "createPr": "创建PR", - "enterCommitMessage": "请输入提交信息后再提交。", - "forcePushWithLease": "使用 lease 强制推送以更新远程分支。", - "forcePushing": "正在强制推送。", - "linkedReviewUnavailable": "关联的评审分支不可用。", - "publishToOrigin": "将此分支发布到 origin。", - "pullCommits_one": "拉取 {{count}} 个提交。", - "pullCommits_other": "拉取 {{count}} 个提交。", + "enterCommitMessage": "请输入提交信息后再提交", + "forcePushWithLease": "使用 lease 强制推送以更新远程分支", + "forcePushing": "正在强制推送", + "linkedReviewUnavailable": "关联的评审分支不可用", + "publishToOrigin": "将此分支发布到 origin", + "pullCommits_one": "拉取 {{count}} 个提交", + "pullCommits_other": "拉取 {{count}} 个提交", "pushAndCreatePr": "推送并创建 PR", - "pushCommits_one": "推送 {{count}} 个提交。", - "pushCommits_other": "推送 {{count}} 个提交。", - "pushLinkedReview": "将更新推送到关联的评审分支。", - "remoteOperationInProgress": "正在执行远程操作。", - "resolveConflicts": "请先解决冲突再提交。", - "reviewAlreadyMerged": "没有可提交的内容。评审已合并。", - "stageAllChanges": "暂存全部更改。", - "stageFileToCommit": "请至少暂存一个文件后再提交。", + "pushCommits_one": "推送 {{count}} 个提交", + "pushCommits_other": "推送 {{count}} 个提交", + "pushLinkedReview": "将更新推送到关联的评审分支", + "remoteOperationInProgress": "正在执行远程操作", + "resolveConflicts": "请先解决冲突再提交", + "reviewAlreadyMerged": "没有可提交的内容。评审已合并", + "stageAllChanges": "暂存全部更改", + "stageFileToCommit": "请至少暂存一个文件后再提交", "switchBranch": "切换分支", - "syncCounts": "拉取 {{behind}} 个提交,推送 {{ahead}} 个提交。", - "upToDate": "没有可提交的内容。分支已是最新状态。", - "waitForRemoteOperation": "请在远程操作完成后重试。" + "syncCounts": "拉取 {{behind}} 个提交,推送 {{ahead}} 个提交", + "upToDate": "没有可提交的内容。分支已是最新状态", + "waitForRemoteOperation": "请在远程操作完成后重试" }, "branchBaseRef": { "resolveFailed": "无法解析基础分支" @@ -2962,7 +2968,7 @@ "sectionTitle": "已提交的更改" }, "branchCompareOutcome": { - "baseBranchUnavailable": "无法解析用于比较的基础分支。", + "baseBranchUnavailable": "无法解析用于比较的基础分支", "loadFailed": "无法加载已提交的更改" }, "commitDropdown": { @@ -2995,7 +3001,7 @@ "hideFailureDetails": "隐藏提交失败详情", "showDetails": "显示详情", "showFailureDetails": "显示提交失败详情", - "summary": "提交失败。", + "summary": "提交失败", "title": "提交失败" }, "commitMessageAi": { @@ -3013,13 +3019,13 @@ }, "content": { "cancelGeneration": "取消生成提交信息", - "commitMessageDisabled": "提交信息输入已禁用。没有已暂存的文件。", + "commitMessageDisabled": "提交信息输入已禁用。没有已暂存的文件", "commitMessagePlaceholder": "提交信息", - "emptyMessage": "工作树无更改。", + "emptyMessage": "工作树无更改", "emptyTitle": "无本地更改", "generateMessage": "使用 AI 生成提交信息", "reconnecting": "正在重新连接桌面…", - "regenerateHint": "清除消息以重新生成。" + "regenerateHint": "清除消息以重新生成" }, "createPrAction": { "checkingStatus": "正在检查评审状态…", @@ -3037,16 +3043,16 @@ "pushCount_other": "推送 {{count}} 个提交", "remoteBranchFallback": "远程分支", "syncCounts": "拉取 {{behind}} 个,推送 {{ahead}} 个", - "titleForcePushOlderCopiesBranch": "远程只有本地提交的旧副本。使用 lease 强制推送此分支以更新 {{upstreamName}}。", - "titleForcePushOlderCopiesCount_one": "远程只有本地提交的旧副本。使用 lease 强制推送 {{count}} 个分支提交以更新 {{upstreamName}}。", - "titleForcePushOlderCopiesCount_other": "远程只有本地提交的旧副本。使用 lease 强制推送 {{count}} 个分支提交以更新 {{upstreamName}}。", - "titleManualForcePushReplaceRemote_one": "使用 lease 强制推送 {{count}} 个本地提交以更新 {{upstreamName}},并替换仅存在于远程的提交。", - "titleManualForcePushReplaceRemote_other": "使用 lease 强制推送 {{count}} 个本地提交以更新 {{upstreamName}},并替换仅存在于远程的提交。", - "titleManualForcePush_one": "使用 lease 强制推送 {{count}} 个本地提交以更新 {{upstreamName}}。", - "titleManualForcePush_other": "使用 lease 强制推送 {{count}} 个本地提交以更新 {{upstreamName}}。", - "titleUnpublishedForcePushBranch": "使用 lease 强制推送此分支,并在需要时设置上游。", - "titleUnpublishedForcePushCount_one": "使用 lease 强制推送 {{count}} 个分支提交,并在需要时设置上游。", - "titleUnpublishedForcePushCount_other": "使用 lease 强制推送 {{count}} 个分支提交,并在需要时设置上游。" + "titleForcePushOlderCopiesBranch": "远程只有本地提交的旧副本。使用 lease 强制推送此分支以更新 {{upstreamName}}", + "titleForcePushOlderCopiesCount_one": "远程只有本地提交的旧副本。使用 lease 强制推送 {{count}} 个分支提交以更新 {{upstreamName}}", + "titleForcePushOlderCopiesCount_other": "远程只有本地提交的旧副本。使用 lease 强制推送 {{count}} 个分支提交以更新 {{upstreamName}}", + "titleManualForcePushReplaceRemote_one": "使用 lease 强制推送 {{count}} 个本地提交以更新 {{upstreamName}},并替换仅存在于远程的提交", + "titleManualForcePushReplaceRemote_other": "使用 lease 强制推送 {{count}} 个本地提交以更新 {{upstreamName}},并替换仅存在于远程的提交", + "titleManualForcePush_one": "使用 lease 强制推送 {{count}} 个本地提交以更新 {{upstreamName}}", + "titleManualForcePush_other": "使用 lease 强制推送 {{count}} 个本地提交以更新 {{upstreamName}}", + "titleUnpublishedForcePushBranch": "使用 lease 强制推送此分支,并在需要时设置上游", + "titleUnpublishedForcePushCount_one": "使用 lease 强制推送 {{count}} 个分支提交,并在需要时设置上游", + "titleUnpublishedForcePushCount_other": "使用 lease 强制推送 {{count}} 个分支提交,并在需要时设置上游" }, "fileRows": { "addedByThem": "对方已添加", @@ -3054,7 +3060,7 @@ "bothAdded": "双方均已添加", "bothDeleted": "双方均已删除", "bothModified": "双方均已修改", - "committedUnavailable": "已提交的更改不可用。", + "committedUnavailable": "已提交的更改不可用", "deletedByThem": "对方已删除", "deletedByUs": "我方已删除", "loadingCommitted": "正在加载已提交的更改…", @@ -3083,7 +3089,7 @@ "gitHistoryList": { "loadFailed": "加载历史记录失败", "loadFilesFailed": "无法加载提交文件", - "noCommits": "暂无提交。", + "noCommits": "暂无提交", "noFileChanges": "无文件更改", "retryFiles": "重试加载提交文件", "waitingForDesktop": "正在等待桌面…" @@ -3126,17 +3132,17 @@ "pushSucceeded": "推送成功,但创建 {{shortLabel}} 失败:{{error}}" }, "hostedReviewCreateIntent": { - "branchChanged": "准备创建 PR 时分支发生了变化。", - "generateMessageFailed": "无法生成提交信息。请在“源代码控制”中填写后重试。", - "resolveConflicts": "请先解决冲突,再创建 PR。", - "resolveOrStageChanges": "请先处理或暂存更改,再创建 PR。", - "reviewCommitMessage": "请先检查提交信息,然后重试创建 PR。" + "branchChanged": "准备创建 PR 时分支发生了变化", + "generateMessageFailed": "无法生成提交信息。请在“源代码控制”中填写后重试", + "resolveConflicts": "请先解决冲突,再创建 PR", + "resolveOrStageChanges": "请先处理或暂存更改,再创建 PR", + "reviewCommitMessage": "请先检查提交信息,然后重试创建 PR" }, "hostedReviewGitPreparation": { "commitFailed": "提交失败", "refreshFailed": "无法刷新源代码控制", "stageFailed": "暂存更改失败", - "updateBranchFailed": "无法更新远程分支。请重试创建 PR。" + "updateBranchFailed": "无法更新远程分支。请重试创建 PR" }, "hostedReviewRemotePrerequisite": { "forcePushFailed": "使用 lease 强制推送失败", @@ -3145,7 +3151,7 @@ }, "hostedReviewService": { "createFailed": "创建 PR 失败", - "pushBeforeCreateFailed": "推送失败。请解决推送错误后重试。" + "pushBeforeCreateFailed": "推送失败。请解决推送错误后重试" }, "hubTab": { "changes": "更改" @@ -3153,13 +3159,13 @@ "loaders": { "connectingToDesktop": "正在连接桌面…", "loadFailed": "无法加载源代码控制", - "updateDesktop": "请更新 Orca 桌面端,以在手机上使用源代码控制。", + "updateDesktop": "请更新 Orca 桌面端,以在手机上使用源代码控制", "waitingForDesktop": "正在等待桌面…" }, "modals": { "currentBranch": "当前", "discardButton": "放弃", - "discardConfirmMessage": "放弃对“{{path}}”的更改?此操作无法撤销。", + "discardConfirmMessage": "放弃对“{{path}}”的更改?此操作无法撤销", "discardTitle": "放弃更改", "openPrMessage": "在浏览器中打开?", "openPrWithWarning": "在浏览器中打开?\n\n{{warning}}", @@ -3170,22 +3176,22 @@ "unavailableTitle": "源代码控制不可用" }, "prCreate": { - "authRequired": "请在创建 {{reviewLabel}} 之前完成身份验证。", - "baseNotOnRemote": "请先推送基础分支,再创建 {{reviewLabel}}。", - "createdNotRefreshed": "{{titleLabel}} 已创建,但 Orca 暂时无法刷新其信息。", - "defaultBranch": "请在创建 {{reviewLabel}} 之前切换到功能分支。", - "detachedHead": "请在创建 {{reviewLabel}} 之前检出分支。", - "dirty": "请在创建 {{reviewLabel}} 之前提交更改。", - "existing": "{{titleLabel}} 已处于开放状态。", - "existingNumber": "{{titleLabel}} #{{number}} 已处于开放状态。", - "existingReview": "此分支已存在 {{reviewLabel}}。", - "forkHeadUnsupported": "不支持从此复刻仓库创建 {{reviewLabel}}。", - "lookupUnconfirmed": "Orca 无法确认此分支是否已有 {{reviewLabel}}。请稍后重试。", - "needsSync": "请在创建 {{reviewLabel}} 之前同步此分支。", - "noUpstream": "请在创建 {{reviewLabel}} 之前发布提交。", - "notReady": "此分支尚不具备创建 {{reviewLabel}} 的条件。", - "unsupportedMergeRequests": "此仓库不支持创建合并请求。", - "unsupportedPullRequests": "此仓库不支持创建 PR。" + "authRequired": "请在创建 {{reviewLabel}} 之前完成身份验证", + "baseNotOnRemote": "请先推送基础分支,再创建 {{reviewLabel}}", + "createdNotRefreshed": "{{titleLabel}} 已创建,但 Orca 暂时无法刷新其信息", + "defaultBranch": "请在创建 {{reviewLabel}} 之前切换到功能分支", + "detachedHead": "请在创建 {{reviewLabel}} 之前检出分支", + "dirty": "请在创建 {{reviewLabel}} 之前提交更改", + "existing": "{{titleLabel}} 已处于开放状态", + "existingNumber": "{{titleLabel}} #{{number}} 已处于开放状态", + "existingReview": "此分支已存在 {{reviewLabel}}", + "forkHeadUnsupported": "不支持从此复刻仓库创建 {{reviewLabel}}", + "lookupUnconfirmed": "Orca 无法确认此分支是否已有 {{reviewLabel}}。请稍后重试", + "needsSync": "请在创建 {{reviewLabel}} 之前同步此分支", + "noUpstream": "请在创建 {{reviewLabel}} 之前发布提交", + "notReady": "此分支尚不具备创建 {{reviewLabel}} 的条件", + "unsupportedMergeRequests": "此仓库不支持创建合并请求", + "unsupportedPullRequests": "此仓库不支持创建 PR" }, "prLink": { "updatePullRequestFailed": "更新关联的 PR 失败", @@ -3259,84 +3265,84 @@ "syncStatus": "领先 {{ahead}},落后 {{behind}}" }, "textGenerationFailure": { - "agentBinaryNotFound": "在 PATH 中找不到 {{binary}}。请安装 {{label}} 以使用 AI 提交信息。", - "agentCannotGenerateBranchName": "智能体“{{agent}}”不支持源代码控制 AI 分支名称。支持的智能体:{{agents}},或选择“自定义命令”。", - "agentCannotGenerateChatName": "智能体“{{agent}}”不支持聊天名称。支持的智能体:{{agents}},或选择“自定义命令”。", - "agentCannotGenerateCommitMessage": "智能体“{{agent}}”不支持源代码控制 AI 提交信息。支持的智能体:{{agents}},或选择“自定义命令”。", - "agentCannotGeneratePullRequest": "智能体“{{agent}}”不支持源代码控制 AI PR 详情。支持的智能体:{{agents}},或选择“自定义命令”。", - "agentCouldNotStart": "无法启动 {{label}}。请在设置中检查智能体命令后重试。", - "agentFailedToStart": "{{label}} 启动失败。请在设置中检查智能体命令后重试。", - "agentReportedError": "{{label}} 报告了错误。", - "antigravityInvalidEvents": "Antigravity 返回了无效的 JSON 事件。", - "antigravityInvalidResult": "Antigravity 返回了无效的结果。", - "antigravityNoFinalResult": "Antigravity 未返回最终结果。", - "chatNameAgentUnsupported": "请在设置 -> 聊天 -> 聊天名称中为此操作选择支持的聊天命名智能体。支持的智能体:{{agents}},或选择“自定义命令”。", - "chatNameCustomCommandEmpty": "自定义命令为空。请在设置 -> 聊天 -> 聊天名称中添加。", - "cliFailed": "{{label}} CLI 命令执行失败,退出码为 {{exitCode}}。", + "agentBinaryNotFound": "在 PATH 中找不到 {{binary}}。请安装 {{label}} 以使用 AI 提交信息", + "agentCannotGenerateBranchName": "智能体“{{agent}}”不支持源代码控制 AI 分支名称。支持的智能体:{{agents}},或选择“自定义命令”", + "agentCannotGenerateChatName": "智能体“{{agent}}”不支持聊天名称。支持的智能体:{{agents}},或选择“自定义命令”", + "agentCannotGenerateCommitMessage": "智能体“{{agent}}”不支持源代码控制 AI 提交信息。支持的智能体:{{agents}},或选择“自定义命令”", + "agentCannotGeneratePullRequest": "智能体“{{agent}}”不支持源代码控制 AI PR 详情。支持的智能体:{{agents}},或选择“自定义命令”", + "agentCouldNotStart": "无法启动 {{label}}。请在设置中检查智能体命令后重试", + "agentFailedToStart": "{{label}} 启动失败。请在设置中检查智能体命令后重试", + "agentReportedError": "{{label}} 报告了错误", + "antigravityInvalidEvents": "Antigravity 返回了无效的 JSON 事件", + "antigravityInvalidResult": "Antigravity 返回了无效的结果", + "antigravityNoFinalResult": "Antigravity 未返回最终结果", + "chatNameAgentUnsupported": "请在设置 -> 聊天 -> 聊天名称中为此操作选择支持的聊天命名智能体。支持的智能体:{{agents}},或选择“自定义命令”", + "chatNameCustomCommandEmpty": "自定义命令为空。请在设置 -> 聊天 -> 聊天名称中添加", + "cliFailed": "{{label}} CLI 命令执行失败,退出码为 {{exitCode}}", "cliFailedWithDetail": "{{label}} CLI 命令执行失败,退出码为 {{exitCode}}:{{detail}}", - "cliTerminated": "{{label}} CLI 命令在退出前被终止。", + "cliTerminated": "{{label}} CLI 命令在退出前被终止", "cliTerminatedWithDetail": "{{label}} CLI 命令在退出前被终止:{{detail}}", - "commandTemplateEmptyBranchName": "分支名称的命令模板为空。", - "commandTemplateEmptyChatName": "聊天名称的命令模板为空。", - "commandTemplateEmptyCommitMessage": "提交信息的命令模板为空。", - "commandTemplateEmptyPullRequest": "PR 详情的命令模板为空。", - "commitMessageUnparseable": "无法解析生成的提交信息。", - "emptyCommitMessage": "{{label}} 返回了空消息。", + "commandTemplateEmptyBranchName": "分支名称的命令模板为空", + "commandTemplateEmptyChatName": "聊天名称的命令模板为空", + "commandTemplateEmptyCommitMessage": "提交信息的命令模板为空", + "commandTemplateEmptyPullRequest": "PR 详情的命令模板为空", + "commitMessageUnparseable": "无法解析生成的提交信息", + "emptyCommitMessage": "{{label}} 返回了空消息", "emptyCommitMessageWithDetail": "{{label}} 返回了空消息。CLI 输出:{{detail}}", - "emptyJiraSummary": "{{label}} 返回的标题为空。", + "emptyJiraSummary": "{{label}} 返回的标题为空", "emptyJiraSummaryWithDetail": "{{label}} 返回的标题为空。CLI 输出:{{detail}}", - "emptyPullRequestDetails": "{{label}} 返回了空的详细信息。", + "emptyPullRequestDetails": "{{label}} 返回了空的详细信息", "emptyPullRequestDetailsWithDetail": "{{label}} 返回了空的详细信息。CLI 输出:{{detail}}", - "jiraAccountDisconnected": "请在此主机上重新连接所选的 Jira 账户。", - "jiraDescriptionRequired": "描述为必填项。", - "jiraSummaryBusyInOtherDraft": "另一个草稿中已在生成 Jira 标题。", - "jiraSummaryEmptyAfterSanitization": "生成的标题在清理后为空。", - "kimiAgentChangeOnResume": "Kimi 无法在恢复会话时更改智能体。请修改生成预设或 CLI 参数,移除智能体覆盖设置或改为启动新会话。", - "kimiAgentOptionsConflict": "Kimi 收到了冲突或重复的智能体选项。请在生成预设或 CLI 参数中仅保留一个 --agent 或 --agent-file 选项,然后重试。", - "kimiAuthFailed": "Kimi 无法通过身份验证。请在执行主机上登录或修正提供者凭据,然后重试。", - "kimiCancelled": "Kimi 在完成文本生成前取消了请求。请重试。", - "kimiConfigInvalid": "Kimi 的配置无效。请在重试前检查执行主机上的模型和提供者配置。", - "kimiConflictingOptions": "Kimi 收到了冲突的选项:{{option}} 与 {{otherOption}}。请在重试前修正生成预设或 CLI 参数。", - "kimiConnectionFailed": "Kimi 无法连接到提供者。请检查执行主机上的网络,然后重试。", - "kimiContextOverflow": "Kimi 的上下文已用尽。请缩短提示词或启动新会话,然后重试。", - "kimiContinueSessionConflict": "Kimi 收到了冲突的选项:--continue, --session。请在重试前修正生成预设或 CLI 参数。", - "kimiCredentialVariableMissing": "Kimi 缺少已配置的凭据环境变量。请在执行主机上设置该变量后重试。", - "kimiCredentialsRequired": "Kimi 需要提供者凭据。请在执行主机上打开 Kimi,配置提供者或登录,然后重试。", - "kimiEmptyAgent": "Kimi 收到的智能体为空。请修正生成预设或 CLI 参数中的该项输入,然后重试。", - "kimiEmptyAgentFilePath": "Kimi 收到了空的智能体文件路径。请修正生成预设或 CLI 参数中的该项输入,然后重试。", - "kimiEmptyModel": "Kimi 收到的模型为空。请修正生成预设或 CLI 参数中的该项输入,然后重试。", - "kimiEmptyPrompt": "Kimi 收到了空提示词。请修正生成预设或 CLI 参数中的该项输入,然后重试。", - "kimiFailed": "Kimi 未能完成文本生成。请在执行主机上打开 Kimi,检查失败原因后再重试。", - "kimiInterrupted": "Kimi 在完成文本生成前被中断。请重试。", - "kimiModelMissing": "Kimi 未配置可用模型。请在执行主机上打开 Kimi,配置或选择模型,然后重试。", - "kimiOptionRejected": "Kimi 拒绝了某个选项或参数。请修正生成预设或 CLI 参数,然后重试。", - "kimiOutputFormatInvalid": "Kimi 输出格式需要提示词模式及受支持的 text 或 stream-json 值。请在重试前修正生成预设或 CLI 参数。", - "kimiPromptHookBlocked": "Kimi 提示词钩子阻止了请求,或无法启动此轮交互。请在重试前检查 Kimi 钩子和配置。", - "kimiProviderLimited": "Kimi 已达到提供者限制,或提供者正忙。请等待后再重试,或降低请求频率。", - "kimiResponseBlocked": "Kimi 无法返回响应,因为响应被阻止。请在重试前修改提示词或模型配置。", - "kimiSessionIdRequired": "Kimi 在提示词模式下恢复会话需要会话 ID。请修正生成预设或 CLI 参数,然后重试。", - "kimiSessionNotFound": "Kimi 找不到请求的会话。请使用现有会话或启动新会话。", - "kimiSessionOccupied": "Kimi 无法使用此会话,因为它在另一个客户端中处于活动状态。请在该客户端中停止会话或退出该客户端,然后重试。", - "kimiSessionOtherDirectory": "此 Kimi 会话属于另一个目录。请在该目录中恢复会话,或使用为此工作区创建的会话。", - "kimiUnreadableOutput": "Kimi 返回了 Orca 无法读取的输出。请重试。", - "noBranchChanges": "没有可供总结的分支更改。", - "noModelForAgent": "{{label}} 没有可用的模型。", - "noStagedChanges": "没有可供总结的已暂存更改。", - "openCodeInvalidEvents": "OpenCode 返回了无效的 JSON 事件。", - "outputTooLarge": "{{label}} CLI 命令产生了过多输出。请检查智能体的 CLI 配置后重试。", - "planAgentUnsupported": "智能体“{{agent}}”不支持 AI 提交信息。", - "planCustomCommandEmpty": "自定义命令为空。请在设置 → Git → AI 提交信息中添加。", - "planModelUnavailable": "模型“{{model}}”不可用于 {{label}}。", - "planModelWithoutThinking": "模型“{{model}}”不支持思考强度设置。", - "planThinkingLevelInvalid": "思考级别“{{level}}”对 {{model}} 无效。", - "promptTooLargeForArgument": "{{label}} 的提示词过大,无法作为单个命令行参数传递。请减少暂存的更改后重试。", - "promptTooLargeForWindows": "{{label}} 的提示词过大,无法用于 Windows 命令行。请减少暂存的更改后重试。", - "pullRequestDetailsUnparseable": "无法解析生成的 PR 详情。", - "sourceControlAgentUnsupported": "请在设置 -> Git -> 源代码控制 AI 中为此操作选择支持的智能体。支持的智能体:{{agents}},或选择“自定义命令”。", - "sourceControlCustomCommandEmpty": "自定义命令为空。请在设置 -> Git -> 源代码控制 AI 中添加。", - "stagedChangesReadFailed": "无法读取已暂存的更改。", - "timedOut": "生成在 {{seconds}} 秒后超时。", - "windowsBatchUnsafeArguments": "{{label}} 通过 Windows 批处理脚本运行,该脚本无法将多行提示词作为参数接收。请在设置中指定智能体的可执行文件,或使用不含 {prompt} 的自定义命令,让 Orca 通过 stdin 发送提示词。" + "jiraAccountDisconnected": "请在此主机上重新连接所选的 Jira 账户", + "jiraDescriptionRequired": "描述为必填项", + "jiraSummaryBusyInOtherDraft": "另一个草稿中已在生成 Jira 标题", + "jiraSummaryEmptyAfterSanitization": "生成的标题在清理后为空", + "kimiAgentChangeOnResume": "Kimi 无法在恢复会话时更改智能体。请修改生成预设或 CLI 参数,移除智能体覆盖设置或改为启动新会话", + "kimiAgentOptionsConflict": "Kimi 收到了冲突或重复的智能体选项。请在生成预设或 CLI 参数中仅保留一个 --agent 或 --agent-file 选项,然后重试", + "kimiAuthFailed": "Kimi 无法通过身份验证。请在执行主机上登录或修正提供者凭据,然后重试", + "kimiCancelled": "Kimi 在完成文本生成前取消了请求。请重试", + "kimiConfigInvalid": "Kimi 的配置无效。请在重试前检查执行主机上的模型和提供者配置", + "kimiConflictingOptions": "Kimi 收到了冲突的选项:{{option}} 与 {{otherOption}}。请在重试前修正生成预设或 CLI 参数", + "kimiConnectionFailed": "Kimi 无法连接到提供者。请检查执行主机上的网络,然后重试", + "kimiContextOverflow": "Kimi 的上下文已用尽。请缩短提示词或启动新会话,然后重试", + "kimiContinueSessionConflict": "Kimi 收到了冲突的选项:--continue, --session。请在重试前修正生成预设或 CLI 参数", + "kimiCredentialVariableMissing": "Kimi 缺少已配置的凭据环境变量。请在执行主机上设置该变量后重试", + "kimiCredentialsRequired": "Kimi 需要提供者凭据。请在执行主机上打开 Kimi,配置提供者或登录,然后重试", + "kimiEmptyAgent": "Kimi 收到的智能体为空。请修正生成预设或 CLI 参数中的该项输入,然后重试", + "kimiEmptyAgentFilePath": "Kimi 收到了空的智能体文件路径。请修正生成预设或 CLI 参数中的该项输入,然后重试", + "kimiEmptyModel": "Kimi 收到的模型为空。请修正生成预设或 CLI 参数中的该项输入,然后重试", + "kimiEmptyPrompt": "Kimi 收到了空提示词。请修正生成预设或 CLI 参数中的该项输入,然后重试", + "kimiFailed": "Kimi 未能完成文本生成。请在执行主机上打开 Kimi,检查失败原因后再重试", + "kimiInterrupted": "Kimi 在完成文本生成前被中断。请重试", + "kimiModelMissing": "Kimi 未配置可用模型。请在执行主机上打开 Kimi,配置或选择模型,然后重试", + "kimiOptionRejected": "Kimi 拒绝了某个选项或参数。请修正生成预设或 CLI 参数,然后重试", + "kimiOutputFormatInvalid": "Kimi 输出格式需要提示词模式及受支持的 text 或 stream-json 值。请在重试前修正生成预设或 CLI 参数", + "kimiPromptHookBlocked": "Kimi 提示词钩子阻止了请求,或无法启动此轮交互。请在重试前检查 Kimi 钩子和配置", + "kimiProviderLimited": "Kimi 已达到提供者限制,或提供者正忙。请等待后再重试,或降低请求频率", + "kimiResponseBlocked": "Kimi 无法返回响应,因为响应被阻止。请在重试前修改提示词或模型配置", + "kimiSessionIdRequired": "Kimi 在提示词模式下恢复会话需要会话 ID。请修正生成预设或 CLI 参数,然后重试", + "kimiSessionNotFound": "Kimi 找不到请求的会话。请使用现有会话或启动新会话", + "kimiSessionOccupied": "Kimi 无法使用此会话,因为它在另一个客户端中处于活动状态。请在该客户端中停止会话或退出该客户端,然后重试", + "kimiSessionOtherDirectory": "此 Kimi 会话属于另一个目录。请在该目录中恢复会话,或使用为此工作区创建的会话", + "kimiUnreadableOutput": "Kimi 返回了 Orca 无法读取的输出。请重试", + "noBranchChanges": "没有可供总结的分支更改", + "noModelForAgent": "{{label}} 没有可用的模型", + "noStagedChanges": "没有可供总结的已暂存更改", + "openCodeInvalidEvents": "OpenCode 返回了无效的 JSON 事件", + "outputTooLarge": "{{label}} CLI 命令产生了过多输出。请检查智能体的 CLI 配置后重试", + "planAgentUnsupported": "智能体“{{agent}}”不支持 AI 提交信息", + "planCustomCommandEmpty": "自定义命令为空。请在设置 → Git → AI 提交信息中添加", + "planModelUnavailable": "模型“{{model}}”不可用于 {{label}}", + "planModelWithoutThinking": "模型“{{model}}”不支持思考强度设置", + "planThinkingLevelInvalid": "思考级别“{{level}}”对 {{model}} 无效", + "promptTooLargeForArgument": "{{label}} 的提示词过大,无法作为单个命令行参数传递。请减少暂存的更改后重试", + "promptTooLargeForWindows": "{{label}} 的提示词过大,无法用于 Windows 命令行。请减少暂存的更改后重试", + "pullRequestDetailsUnparseable": "无法解析生成的 PR 详情", + "sourceControlAgentUnsupported": "请在设置 -> Git -> 源代码控制 AI 中为此操作选择支持的智能体。支持的智能体:{{agents}},或选择“自定义命令”", + "sourceControlCustomCommandEmpty": "自定义命令为空。请在设置 -> Git -> 源代码控制 AI 中添加", + "stagedChangesReadFailed": "无法读取已暂存的更改", + "timedOut": "生成在 {{seconds}} 秒后超时", + "windowsBatchUnsafeArguments": "{{label}} 通过 Windows 批处理脚本运行,该脚本无法将多行提示词作为参数接收。请在设置中指定智能体的可执行文件,或使用不含 {prompt} 的自定义命令,让 Orca 通过 stdin 发送提示词" }, "useMobileCommitFailureRecovery": { "launchFailed": "启动智能体失败", @@ -3345,6 +3351,9 @@ "useMobileCommitMessageGeneration": { "generateFailed": "生成提交信息失败" }, + "useMobileCreatePrRunner": { + "branchRequired": "创建 PR 前,请先检出分支" + }, "useMobileGitRequests": { "actionFailed": "源代码控制操作失败", "branchUnavailable": "无法获取分支状态", @@ -3361,8 +3370,8 @@ }, "tasks": { "composerSource": { - "baseFailed": "无法解析基础分支。", - "forkPushWarning": "此 PR 未开启“允许维护者编辑”;向 fork 仓库推送可能会被 GitHub 拒绝。" + "baseFailed": "无法解析基础分支", + "forkPushWarning": "此 PR 未开启“允许维护者编辑”;向 fork 仓库推送可能会被 GitHub 拒绝" }, "detailCommentRenderers": { "commentPlaceholder": "添加评论", @@ -3381,7 +3390,7 @@ "changeStatus": "更改状态", "fieldHidden": "不在卡片上显示", "fieldShown": "在卡片上显示", - "fieldsSubtitle": "选择要在条目卡片上显示的项目字段。", + "fieldsSubtitle": "选择要在条目卡片上显示的项目字段", "fieldsTitle": "项目字段", "gitlabFilter": "GitLab 筛选", "gitlabView": "GitLab 视图", @@ -3391,10 +3400,10 @@ "linearIssue": "Linear 议题", "linearWorkspace": "Linear 工作区", "loadingStates": "正在加载状态…", - "noFields": "此视图没有可显示的额外字段。", + "noFields": "此视图没有可显示的额外字段", "noStates": "无可用状态", "switchWorkspaceFailed": "切换工作区失败", - "teamsSubtitle": "选择要在“任务”中显示的团队。", + "teamsSubtitle": "选择要在“任务”中显示的团队", "teamsTitle": "Linear 团队", "teams_one": "{{count}} 个团队", "teams_other": "{{count}} 个团队" @@ -3414,38 +3423,54 @@ }, "githubProjectPickers": { "add": "添加", - "addByUrlHint": "使用“通过 URL 添加”来访问未列出的项目。", + "addByUrlHint": "使用“通过 URL 添加”来访问未列出的项目", "addPlaceholder": "通过 URL 或 owner/number 添加", "adding": "添加中…", "browseAll": "浏览全部", "browseLoading": "浏览全部(加载中…)", "chooseView": "选择项目视图", "loadFailed": "无法加载项目", - "noMatches": "没有匹配的项目。", - "noMoreProjects": "没有更多项目。", + "noMatches": "没有匹配的项目", + "noMoreProjects": "没有更多项目", "noProjects": "尚未加载任何项目", "organizationsError": "组织:{{message}}", - "organizationsLoadFailed": "{{count}} 个组织未能加载。", - "ownerLoadFailed": "无法加载 {{owner}} 的项目。", + "organizationsLoadFailed": "{{count}} 个组织未能加载", + "ownerLoadFailed": "无法加载 {{owner}} 的项目", "pin": "固定", "pinned": "已固定", "recent": "最近的", - "retryHint": "点按重试。", + "retryHint": "点按重试", "searchProjects": "搜索项目", - "subtitle": "为“任务”页面选择项目视图。", + "subtitle": "为“任务”页面选择项目视图", "title": "GitHub 项目", - "unsupportedLayout": "Orca 暂不支持此 GitHub 项目布局。", + "unsupportedLayout": "Orca 暂不支持此 GitHub 项目布局", "view": "项目视图" }, "githubViewControls": { "openView": "在 GitHub 中打开视图" }, + "hostedMerge": { + "confirmGitHubMerge": "合并 PR #{{number}}?", + "confirmGitHubSquash": "压缩提交并合并 PR #{{number}}?", + "confirmGitHubRebase": "变基并合并 PR #{{number}}?", + "confirmGitLabMerge": "要将合并请求 #{{number}} 合并吗?", + "confirmGitLabSquash": "要将合并请求 #{{number}} 的提交压缩后合并吗?", + "confirmGitLabRebase": "要将合并请求 #{{number}} 变基后合并吗?", + "merged": "已合并", + "closed": "已关闭", + "conflicts": "有冲突", + "behind": "落后", + "blocked": "已阻止", + "checksPending": "检查待完成", + "ableToMerge": "可以合并", + "unknown": "未知" + }, "itemActions": { "changeStatus": "更改状态", "copyGitHubLink": "复制 GitHub 链接", "copyLinearLink": "复制 Linear 链接", "creating": "创建中…", - "mergeConflicts": "GitHub 报告存在合并冲突。", + "mergeConflicts": "GitHub 报告存在合并冲突", "mergeMergeRequest": "合并合并请求", "mergePullRequest": "合并 PR" }, @@ -3454,10 +3479,10 @@ "checks": "检查项", "description": "描述", "discussion": "讨论", - "noChecks": "未找到检查项。", - "noComments": "暂无评论。", - "noPipelineRuns": "此 MR 没有运行任何管道。", - "noSubIssues": "没有子议题。", + "noChecks": "未找到检查项", + "noComments": "暂无评论", + "noPipelineRuns": "此 MR 没有运行任何管道", + "noSubIssues": "没有子议题", "none": "没有任何", "pipeline": "管道", "pipelineJobs_one": "{{count}} 个作业", @@ -3476,8 +3501,8 @@ "labels": "标签", "loadingAssignees": "正在加载负责人…", "loadingLabels": "正在加载标签…", - "noAssignableUsers": "未找到此仓库中可指派的用户。", - "noLabels": "此仓库没有标签。", + "noAssignableUsers": "未找到此仓库中可指派的用户", + "noLabels": "此仓库没有标签", "none": "没有任何", "removeLabels": "移除标签,以英文逗号分隔", "removeUsernames": "移除用户名,以英文逗号分隔", @@ -3487,16 +3512,16 @@ "updateLabels": "更新标签" }, "itemReviewSections": { - "binaryFile": "二进制文件。", + "binaryFile": "二进制文件", "changedFilesTitle": "已更改文件", "descriptionPlaceholder": "描述", - "fileContentsUnavailable": "文件内容不可用。", + "fileContentsUnavailable": "文件内容不可用", "hideFile": "隐藏", "loadingReviewers": "正在加载评审人…", "markUnviewed": "标记未查看", "markViewed": "标记已查看", - "noDescription": "没有描述。", - "noReviewerSuggestions": "未找到推荐的评审人。", + "noDescription": "没有描述", + "noReviewerSuggestions": "未找到推荐的评审人", "noReviewersRequested": "未请求评审人", "requestReview": "请求评审", "reviewersPlaceholder": "邀请评审人", @@ -3505,17 +3530,17 @@ "viewFile": "查看" }, "legacySurface": { - "loadIssuesFailed": "无法从 {{source}} 加载议题。", + "loadIssuesFailed": "无法从 {{source}} 加载议题", "mergeAction": "合并", "mergeMethodTitle": "合并方式", "mergePullRequestTitle": "合并 PR", - "mergeRequestMergeMessage": "请选择此合并请求的合并方式。", + "mergeRequestMergeMessage": "请选择此合并请求的合并方式", "mergeRequestTitle": "合并请求", - "pullRequestMergeMessage": "请选择此 PR 的合并方式。", + "pullRequestMergeMessage": "请选择此 PR 的合并方式", "retryLoadingIssues": "重试从 {{source}} 加载议题", "retrying": "正在重试…", - "sourceFallback": "{{repo}} 的首选议题来源 upstream 不可用,已改用 origin。", - "subIssueDataUnavailable": "您的token无法获取子议题数据。", + "sourceFallback": "{{repo}} 的首选议题来源 upstream 不可用,已改用 origin", + "subIssueDataUnavailable": "您的token无法获取子议题数据", "updateItemTitle": "更新条目" }, "linearList": { @@ -3526,10 +3551,10 @@ }, "listSurface": { "connectLinearButton": "连接 Linear", - "connectLinearMessage": "直接在“任务”中浏览并开始处理分配给您的 Linear 议题。", + "connectLinearMessage": "直接在“任务”中浏览并开始处理分配给您的 Linear 议题", "connectLinearTitle": "连接您的 Linear 账户", "jiraStatusFailed": "读取 Jira 状态失败", - "updateDesktopMessage": "此移动端“任务”视图需要更高版本的桌面端运行时。", + "updateDesktopMessage": "此移动端“任务”视图需要更高版本的桌面端运行时", "updateDesktopTitle": "更新 Orca 桌面端" }, "options": { @@ -3586,6 +3611,11 @@ "updated": "已更新", "updatedSortDescription": "最新活动优先" }, + "pagination": { + "pageUnreachable": "第 {{page}} 页超出了 GitHub 搜索可返回的范围。", + "loadPageFailed": "无法从 GitHub 加载第 {{page}} 页。", + "noMoreResults": "第 {{page}} 页没有更多结果。" + }, "pickerProjection": { "allRepos": "所有仓库", "allSites": "所有站点", @@ -3610,15 +3640,15 @@ "prFileDiff": { "commentOnLine": "在第 {{line}} 行添加评论", "commentPlaceholder": "添加评审评论", - "noTextChanges": "未发现文本更改。", - "showingDiffLines": "显示前 {{limit}} 行差异,共 {{total}} 行。" + "noTextChanges": "未发现文本更改", + "showingDiffLines": "显示前 {{limit}} 行差异,共 {{total}} 行" }, "projectComments": { "comments_one": "{{count}} 条评论", "comments_other": "{{count}} 条评论", "discussion": "讨论", "editComment": "编辑评论", - "noComments": "暂无评论。", + "noComments": "暂无评论", "reopenThread": "重新打开讨论串", "reply": "回复", "resolveThread": "解决讨论串", @@ -3627,7 +3657,7 @@ "show": "显示" }, "projectDetailDrawer": { - "addRepositoryFromDesktop": "{{repository}} 尚未添加到 Orca。请在桌面应用中添加此仓库,然后刷新移动端的“任务”。", + "addRepositoryFromDesktop": "{{repository}} 尚未添加到 Orca。请在桌面应用中添加此仓库,然后刷新移动端的“任务”", "clearType": "清除类型", "closeItem": "关闭条目", "copyGitHubLink": "复制 GitHub 链接", @@ -3638,8 +3668,8 @@ "issueType": "议题类型", "loadingIssueTypes": "正在加载议题类型…", "mergePullRequest": "合并 PR", - "mergeRepositoryRequirement": "合并前需在 Orca 中添加此仓库。", - "noIssueTypes": "此仓库未配置议题类型。", + "mergeRepositoryRequirement": "合并前需在 Orca 中添加此仓库", + "noIssueTypes": "此仓库未配置议题类型", "noType": "无类型", "openInGitHub": "在 GitHub 中打开", "projectItem": "项目条目", @@ -3649,15 +3679,15 @@ "repositoryNotInOrca": "仓库不在 Orca 中", "status": "状态", "type": "类型", - "workspaceCreationRequirement": "只能从 GitHub 议题和 PR 创建工作区。" + "workspaceCreationRequirement": "只能从 GitHub 议题和 PR 创建工作区" }, "projectFieldEditors": { "clearField": "清空字段", "completedIteration": "已完成 · {{startDate}} · {{duration}} 天", "datePlaceholder": "YYYY-MM-DD", - "invalidDate": "请按 YYYY-MM-DD 格式输入日期。", - "invalidNumber": "请输入有效数字。", - "noIterations": "暂无可用迭代。", + "invalidDate": "请按 YYYY-MM-DD 格式输入日期", + "invalidNumber": "请输入有效数字", + "noIterations": "暂无可用迭代", "numberPlaceholder": "数字", "projectFields": "项目字段", "saveField": "保存字段", @@ -3670,26 +3700,26 @@ "labels": "标签", "loadingAssignees": "正在加载负责人…", "loadingLabels": "正在加载标签…", - "noAssignableUsers": "未找到此仓库中可设为负责人的用户。", - "noDescription": "没有描述。", - "noLabels": "此仓库中没有标签。", + "noAssignableUsers": "未找到此仓库中可设为负责人的用户", + "noDescription": "没有描述", + "noLabels": "此仓库中没有标签", "none": "无", "saveDescription": "保存描述", "saveTitle": "保存标题", "title": "标题" }, "projectReviewPanels": { - "binaryFile": "二进制文件。", + "binaryFile": "二进制文件", "changedFiles": "已更改文件", "checks": "检查项", - "fileUnavailable": "文件内容不可用。", + "fileUnavailable": "文件内容不可用", "hideFile": "隐藏", "loadingReviewers": "正在加载评审人…", "markUnviewed": "标记未查看", "markViewed": "标记已查看", - "noChecks": "未找到检查项。", + "noChecks": "未找到检查项", "noReviewers": "未请求评审人", - "noSuggestions": "未找到推荐的评审人。", + "noSuggestions": "未找到推荐的评审人", "requestReview": "请求评审", "requestReviewers": "邀请评审人", "rerunAll": "全部重新运行", @@ -3713,18 +3743,18 @@ "allRepositories": "所有仓库", "githubView": "GitHub 视图", "issueSources": "GitHub 议题来源", - "issueSourcesDescription": "选择每个仓库从 upstream 还是 origin 查询和创建工作项。", + "issueSourcesDescription": "选择每个仓库从 upstream 还是 origin 查询和创建工作项", "issues": "议题", - "noIssueSources": "没有其他可用的议题来源。", + "noIssueSources": "没有其他可用的议题来源", "origin": "origin", - "pageHint": "跳转到已加载或可用的结果页。", + "pageHint": "跳转到已加载或可用的结果页", "pageLoaded": "已加载", "pageNotLoaded": "加载更早的结果", "pageNumber": "第 {{page}} 页", "pages": "GitHub 结果页", "pullRequests": "PR", "queryingSource": "正在查询 {{source}}", - "repoDescription": "选择要查询的仓库。", + "repoDescription": "选择要查询的仓库", "repos": "仓库", "upstream": "上游" }, @@ -3772,8 +3802,8 @@ "smart": "智能" }, "sparsePresetDraft": { - "directoryRequired": "添加至少一个目录。", - "repoRelativeDirectoriesRequired": "使用仓库相对目录,而不是根目录、绝对路径或父段。" + "directoryRequired": "添加至少一个目录", + "repoRelativeDirectoriesRequired": "使用仓库相对目录,而不是根目录、绝对路径或父段" }, "taskViewOptions": { "allSubtitle": "所选站点中未解决的议题", @@ -3794,16 +3824,16 @@ "descriptionPlaceholder": "补充背景信息", "fileIn": "在 {{slug}} 中创建议题", "issueSource": "议题来源", - "keySecurityHint": "密钥通过主机操作系统的钥匙串加密,并存储在本地。", - "linearConnectSubtitle": "粘贴个人 API 密钥,即可浏览该工作区的议题。", + "keySecurityHint": "密钥通过主机操作系统的钥匙串加密,并存储在本地", + "linearConnectSubtitle": "粘贴个人 API 密钥,即可浏览该工作区的议题", "linearSettingsLink": "Linear 设置 / 安全 / 新建 API 密钥", "linearTeam": "Linear 团队", - "linearTeamSubtitle": "在所选 Linear 团队中创建议题。", + "linearTeamSubtitle": "在所选 Linear 团队中创建议题", "newIssueTitle": "新建 {{providerLabel}} 议题", "origin": "origin", "personalApiKey": "个人API密钥", "repository": "仓库", - "repositorySubtitle": "在所选仓库中创建议题。", + "repositorySubtitle": "在所选仓库中创建议题", "team": "团队", "title": "标题", "titlePlaceholder": "任务标题", @@ -3813,7 +3843,7 @@ "blankTerminal": "空白终端" }, "workspaceCreateDrawer": { - "addRepository": "创建 Linear 工作区前,请先添加 Git 仓库。", + "addRepository": "创建 Linear 工作区前,请先添加 Git 仓库", "advanced": "高级", "agent": "智能体", "connectFirst": "请先连接仓库", @@ -3822,20 +3852,20 @@ "detectingAgents": "正在检测智能体…", "remoteRepository": "远程仓库", "repository": "仓库", - "repositoryNotFound": "未找到仓库。", + "repositoryNotFound": "未找到仓库", "selectRepository": "选择仓库", "startFrom": "创建起点", "title": "创建工作区", "workspaceName": "工作区名称" }, "workspaceCreateProjection": { - "nameAlreadyExists": "“{{name}}”已存在。", - "nameRequired": "请输入名称。", - "nameTooLong": "名称不能超过80个字符。", + "nameAlreadyExists": "“{{name}}”已存在", + "nameRequired": "请输入名称", + "nameTooLong": "名称不能超过80个字符", "openShell": "打开 shell" }, "workspaceOptionPickers": { - "baseBranchSubtitle": "选择现有分支或引用。", + "baseBranchSubtitle": "选择现有分支或引用", "baseBranchTitle": "创建起点", "branchName": "分支名称:{{name}}", "defaultBranch": "默认分支", @@ -3844,7 +3874,7 @@ "fullCheckout": "完整检出", "fullCheckoutSubtitle": "使用整个仓库", "newPreset": "新预设", - "noBranches": "没有匹配的分支。", + "noBranches": "没有匹配的分支", "searchBranches": "搜索分支", "sparseCheckoutTitle": "稀疏检出" }, @@ -3875,11 +3905,11 @@ "runSetupTitle": "运行 {{name}} 的设置脚本?", "setupChangedTitle": "{{name}} 的设置脚本已更改", "setupScript": "设置脚本", - "setupSubtitle": "创建此工作区前,请选择是否运行 {{name}} 的设置脚本。", + "setupSubtitle": "创建此工作区前,请选择是否运行 {{name}} 的设置脚本", "setupTitle": "运行设置脚本?", "skipSetupAndCreate": "跳过设置脚本并创建", - "trustFailed": "无法将设置脚本设为可信。", - "trustSubtitle": "工作区启动前,此仓库的 orca.yaml 会在您的电脑上运行。请仅在信任此仓库时运行。" + "trustFailed": "无法将设置脚本设为可信", + "trustSubtitle": "工作区启动前,此仓库的 orca.yaml 会在您的电脑上运行。请仅在信任此仓库时运行" }, "worktreeCreateRetry": { "createFailed": "创建工作区失败" @@ -3930,13 +3960,13 @@ "shellStateScreen": { "checkingHost": "正在检查主机", "connectToDownload": "连接到此主机以下载最新版本的应用", - "documentLoadFailed": "无法打开已下载的应用。", - "downloadFailed": "无法从此主机下载最新版本的应用。", - "hostProfileUnreadable": "无法在此设备上读取此主机的信息。请重试。", - "isolationUnavailable": "此设备的 WebView 版本过旧,无法安全打开工作区。", + "documentLoadFailed": "无法打开已下载的应用", + "downloadFailed": "无法从此主机下载最新版本的应用", + "hostProfileUnreadable": "无法在此设备上读取此主机的信息。请重试", + "isolationUnavailable": "此设备的 WebView 版本过旧,无法安全打开工作区", "openingWorkspace": "正在打开工作区", - "renderProcessGone": "工作区已停止响应。", - "statusUnreadable": "无法读取此主机的状态。请返回后重新打开。", + "renderProcessGone": "工作区已停止响应", + "statusUnreadable": "无法读取此主机的状态。请返回后重新打开", "tryAgain": "重试" } }, @@ -3944,8 +3974,8 @@ "branchChoice": { "automaticName": "自动命名", "existing": "现有分支", - "existingHint": "新提交将添加到此分支。", - "hostUpdateRequired": "请更新工作区主机上的 Orca,以复用分支或明确选择创建独立分支。", + "existingHint": "新提交将添加到此分支", + "hostUpdateRequired": "请更新工作区主机上的 Orca,以复用分支或明确选择创建独立分支", "newHint": "创建新的本地分支", "newName": "新分支名称", "title": "此工作树使用的分支" @@ -3979,7 +4009,7 @@ "noFilterMatches": "没有符合筛选条件的工作区", "noMatches": "没有匹配的工作区", "reopen": "重新打开以更新", - "reopenDetail": "此页面尚无法识别此主机的工作区列表格式。" + "reopenDetail": "此页面尚无法识别此主机的工作区列表格式" }, "workspaceListSections": { "all": "全部", diff --git a/mobile/src/i18n/mobile-i18n.test.ts b/mobile/src/i18n/mobile-i18n.test.ts index a2906b02959..08e08089f53 100644 --- a/mobile/src/i18n/mobile-i18n.test.ts +++ b/mobile/src/i18n/mobile-i18n.test.ts @@ -7,7 +7,8 @@ vi.mock('./locale-catalog-imports', () => ({ importLocaleCatalog: (locale: string) => failing.has(locale) ? Promise.reject(new Error('missing chunk')) - : new Promise((resolve) => pending.set(locale, resolve)) + : new Promise((resolve) => pending.set(locale, resolve)), + onLocaleCatalogArrival: () => () => undefined })) const { activateMobileUiLocale, getMobileUiLocale, mobileI18n, translate } = diff --git a/mobile/src/i18n/mobile-i18n.ts b/mobile/src/i18n/mobile-i18n.ts index c3f58905000..d3a5b94be34 100644 --- a/mobile/src/i18n/mobile-i18n.ts +++ b/mobile/src/i18n/mobile-i18n.ts @@ -3,7 +3,7 @@ import { resolvePluralFamilyKey } from '../../../src/shared/i18n-plural-family' import { pseudoLocalizeString } from '../../../src/shared/pseudo-localization' import { DEFAULT_UI_LOCALE, type SupportedUiLocale } from '../../../src/shared/ui-locale' import enRuntimeRequired from './en-runtime-required.json' -import { importLocaleCatalog } from './locale-catalog-imports' +import { importLocaleCatalog, onLocaleCatalogArrival } from './locale-catalog-imports' export type Translate = (key: string, fallback: string, options?: TOptions) => string @@ -83,10 +83,12 @@ export function subscribeMobileUiLanguage(listener: () => void): () => void { } let activationRequest = 0 +let requestedLocale: SupportedUiLocale = DEFAULT_UI_LOCALE // Latest request wins: an older catalog import that settles later must not replace a newer choice. export async function activateMobileUiLocale(locale: SupportedUiLocale): Promise { const request = ++activationRequest + requestedLocale = locale try { if (locale !== 'en' && !mobileI18n.hasResourceBundle(locale, 'translation')) { const catalog = await importLocaleCatalog(locale) @@ -115,6 +117,16 @@ export async function activateMobileUiLocale(locale: SupportedUiLocale): Promise publish() } +// Switch in place, without a reload: a newer copy replaces the shown one, a first copy replaces the English fallback. +// Install it even when another language is up now, so switching back shows the newer copy. +onLocaleCatalogArrival((locale, catalog) => { + mobileI18n.removeResourceBundle(locale, 'translation') + mobileI18n.addResourceBundle(locale, 'translation', catalog, false, true, { skipCopy: true }) + if (locale === requestedLocale) { + void activateMobileUiLocale(locale) + } +}) + // Development-only layout check: accents and pads every string so clipping shows on device. export function setMobilePseudoLocalization(enabled: boolean): void { if (pseudoLocalization !== enabled) { diff --git a/mobile/src/i18n/page-locale-catalog-source.test.ts b/mobile/src/i18n/page-locale-catalog-source.test.ts new file mode 100644 index 00000000000..98d2ab77a1a --- /dev/null +++ b/mobile/src/i18n/page-locale-catalog-source.test.ts @@ -0,0 +1,207 @@ +import { describe, expect, it, vi } from 'vitest' +import type { ConnectionState } from '../transport/connection/connection-state' +import type { RpcResponse } from '../transport/rpc/rpc-wire-types' +import { + decodeDeviceStoreValue, + encodeDeviceStoreValue +} from '../device-store/device-store-value-codec' +import type { PageDeviceStore } from '../mobile-web-shell/bridge/page-device-store' + +// The page build resolves mobile-i18n's catalog import to the .web module; mirror that here. +vi.mock('./locale-catalog-imports', () => import('./locale-catalog-imports.web')) +// A shell that skipped the catalog chunks: only locales listed here are on disk. +const chunksOnDisk = new Map>() +vi.mock('./bundled-locale-catalogs', () => ({ + importBundledLocaleCatalog: async (locale: string) => { + const catalog = chunksOnDisk.get(locale) + if (!catalog) { + throw new Error('not on disk') + } + return catalog + } +})) + +const OLD_SHA = 'a'.repeat(64) +const NEW_SHA = 'b'.repeat(64) + +type SentRequest = { + method: string + params: unknown + reply: (response: RpcResponse) => void + fail: (error: Error) => void +} + +function fakeClient(initial: ConnectionState) { + let state = initial + let generation = 1 + const listeners = new Set<(next: ConnectionState) => void>() + const sent: SentRequest[] = [] + return { + sent, + getState: () => state, + getGeneration: () => generation, + onStateChange: (listener: (next: ConnectionState) => void) => { + listeners.add(listener) + return () => { + listeners.delete(listener) + } + }, + sendRequest: (method: string, params?: unknown) => + new Promise((reply, fail) => sent.push({ method, params, reply, fail })), + moveTo(next: ConnectionState) { + state = next + for (const listener of listeners) { + listener(next) + } + }, + // The shell swaps in an already-connected replacement, as on a relay-to-LAN move. + cutover() { + generation += 1 + for (const listener of listeners) { + listener('connected') + } + } + } +} + +function fakeStore(rows: Record): PageDeviceStore & { rows: Map } { + const stored = new Map(Object.entries(rows)) + return { + rows: stored, + available: () => true, + read: async (_table, keys) => ({ + status: 'ok', + values: keys.map((key) => stored.get(key) ?? null) + }), + write: async (_table, ops) => { + for (const op of ops) { + if (op.value !== null) { + stored.set(op.key, op.value) + } + } + return { written: true } + } + } +} + +const { startPageLocaleCatalogs } = await import('./page-locale-catalog-source') +const i18n = await import('./mobile-i18n') + +// Module state outlives a test, so each test uses its own locale and publishes its own source. +function openPage(client: ReturnType, store: PageDeviceStore): void { + startPageLocaleCatalogs({ client, store }) +} + +// Microtasks, then one macrotask, which is when the store write runs. +async function settle(): Promise { + for (let turn = 0; turn < 20; turn++) { + await Promise.resolve() + } + await new Promise((resolve) => setTimeout(resolve, 0)) +} + +describe('the page language catalog', () => { + it('opens on the stored copy, then switches in place to the desktop newer one', async () => { + const client = fakeClient('connected') + const store = fakeStore({ + 'i18n-catalog:de': encodeDeviceStoreValue({ + v: 1, + sha256: OLD_SHA, + catalog: { greeting: 'Hallo' } + }) + }) + openPage(client, store) + + await i18n.activateMobileUiLocale('de') + expect(i18n.translate('greeting', 'Hello')).toBe('Hallo') + expect(client.sent.map(({ method, params }) => ({ method, params }))).toEqual([ + { method: 'mobileWeb.bundle.localeCatalog', params: { locale: 'de', knownSha256: OLD_SHA } } + ]) + + client.sent[0].reply({ + id: 'r1', + ok: true, + result: { locale: 'de', sha256: NEW_SHA, catalog: { greeting: 'Servus' } } + }) + await settle() + + expect(i18n.getMobileUiLocale()).toBe('de') + expect(i18n.translate('greeting', 'Hello')).toBe('Servus') + expect(decodeDeviceStoreValue(store.rows.get('i18n-catalog:de') ?? '')).toEqual({ + v: 1, + sha256: NEW_SHA, + catalog: { greeting: 'Servus' } + }) + }) + + it('shows English offline with nothing stored, then the language once the desktop answers', async () => { + vi.spyOn(console, 'warn').mockImplementation(() => {}) + const client = fakeClient('reconnecting') + openPage(client, fakeStore({})) + + await i18n.activateMobileUiLocale('fr') + expect(i18n.getMobileUiLocale()).toBe('en') + expect(i18n.translate('greeting', 'Hello')).toBe('Hello') + expect(client.sent).toHaveLength(0) + + client.moveTo('connected') + await settle() + expect(client.sent.map(({ params }) => params)).toEqual([{ locale: 'fr' }]) + client.sent[0].reply({ + id: 'r1', + ok: true, + result: { locale: 'fr', sha256: NEW_SHA, catalog: { greeting: 'Bonjour' } } + }) + await settle() + + expect(i18n.getMobileUiLocale()).toBe('fr') + expect(i18n.translate('greeting', 'Hello')).toBe('Bonjour') + }) + + it('opens in English when the first request fails on a live link, then switches on the next connection', async () => { + vi.spyOn(console, 'warn').mockImplementation(() => {}) + const client = fakeClient('connected') + openPage(client, fakeStore({})) + + const activation = i18n.activateMobileUiLocale('ja') + await settle() + client.sent[0].fail(new Error('timed out')) + await activation + expect(i18n.getMobileUiLocale()).toBe('en') + + client.moveTo('reconnecting') + client.moveTo('connected') + await settle() + client.sent[1].reply({ + id: 'r2', + ok: true, + result: { locale: 'ja', sha256: NEW_SHA, catalog: { greeting: 'こんにちは' } } + }) + await settle() + + expect(i18n.getMobileUiLocale()).toBe('ja') + expect(i18n.translate('greeting', 'Hello')).toBe('こんにちは') + }) + + it('asks again on the connection a cutover swaps in, without waiting for another reconnect', async () => { + vi.spyOn(console, 'warn').mockImplementation(() => {}) + const client = fakeClient('reconnecting') + openPage(client, fakeStore({})) + + await i18n.activateMobileUiLocale('ko') + client.moveTo('connected') + await settle() + client.cutover() + client.sent[0].fail(new Error('client cut over')) + await settle() + client.sent[1].reply({ + id: 'r2', + ok: true, + result: { locale: 'ko', sha256: NEW_SHA, catalog: { greeting: '안녕하세요' } } + }) + await settle() + + expect(i18n.getMobileUiLocale()).toBe('ko') + expect(i18n.translate('greeting', 'Hello')).toBe('안녕하세요') + }) +}) diff --git a/mobile/src/i18n/page-locale-catalog-source.ts b/mobile/src/i18n/page-locale-catalog-source.ts new file mode 100644 index 00000000000..76333fdc22b --- /dev/null +++ b/mobile/src/i18n/page-locale-catalog-source.ts @@ -0,0 +1,265 @@ +import * as z from 'zod' +import type { SupportedUiLocale } from '../../../src/shared/ui-locale' +import { SHA256_PATTERN } from '../../../src/shared/mobile-web-bundle/manifest-contract' +import { + MOBILE_WEB_BUNDLE_LOCALE_CATALOG_METHOD, + MobileWebBundleLocaleCatalogResultSchema +} from '../../../src/shared/mobile-web-bundle/locale-catalog-contract' +import { withTimeoutResult } from '../../../src/shared/promise-timeout-fallback' +import { + decodeDeviceStoreValue, + encodeDeviceStoreValue +} from '../device-store/device-store-value-codec' +import type { BridgeRpcClient } from '../mobile-web-shell/bridge/bridge-rpc-client' +import type { PageDeviceStore } from '../mobile-web-shell/bridge/page-device-store' +import { isMobileMethodUnavailableError } from '../transport/rpc/mobile-method-unavailable' +import { captureRpcOperationSettlement, defineRpcOperation } from '../transport/rpc/rpc-operation' +import { rpcResultVariant } from '../transport/rpc/rpc-operation-result-reader' +import { importBundledLocaleCatalog } from './bundled-locale-catalogs' +import { + announceLocaleCatalog as announce, + publishPageLocaleCatalogLoader, + type LocaleCatalog +} from './locale-catalog-imports.web' + +// The desktop serves the active catalog and the phone keeps a copy per host; only the page entry imports this. +type CatalogLocale = Exclude +type HeldCatalog = { readonly sha256: string; readonly catalog: LocaleCatalog } +type CatalogClient = Pick< + BridgeRpcClient, + 'getState' | 'getGeneration' | 'onStateChange' | 'sendRequest' +> +type CatalogSource = { readonly client: CatalogClient; readonly store: PageDeviceStore } + +const storedCatalogSchema = z.object({ + v: z.literal(1), + sha256: z.string().regex(SHA256_PATTERN), + catalog: z.record(z.string(), z.unknown()) +}) + +const localeCatalogRead = defineRpcOperation({ + name: 'mobileWeb.bundle-locale-catalog', + method: MOBILE_WEB_BUNDLE_LOCALE_CATALOG_METHOD, + acceptance: 'require-result-or-throw', + barrier: 'on-settle', + // Loose like every phone reader, so a host may add fields. + read: rpcResultVariant( + 'mobile-web-bundle-locale-catalog', + MobileWebBundleLocaleCatalogResultSchema.loose() + ) +}) + +const syncing = new Set() +// The stored read plus a relay round trip with the largest catalog fit well inside; past it the page opens in English. +const FIRST_PAINT_CATALOG_WAIT_MS = 3_000 + +const storeKey = (locale: CatalogLocale): string => `i18n-catalog:${locale}` + +async function readStoredCatalog( + store: PageDeviceStore, + locale: CatalogLocale +): Promise { + if (!store.available()) { + return null + } + const read = await store.read('cache', [storeKey(locale)]).catch(() => null) + const raw = read?.status === 'ok' ? read.values[0] : null + if (!raw) { + return null + } + const parsed = storedCatalogSchema.safeParse(decodeDeviceStoreValue(raw)) + return parsed.success ? { sha256: parsed.data.sha256, catalog: parsed.data.catalog } : null +} + +function writeStoredCatalog( + store: PageDeviceStore, + locale: CatalogLocale, + next: HeldCatalog +): void { + if (store.available()) { + const value = encodeDeviceStoreValue({ v: 1, ...next }) + void store.write('cache', [{ key: storeKey(locale), value }]).catch(() => undefined) + } +} + +// A send the host never answered, as opposed to a refusal or an unreadable reply. +class CatalogSendFailed extends Error { + constructor( + message: string, + readonly generation: number | null = null + ) { + super(message) + } +} + +const generationOf = (client: CatalogClient): number | null => client.getGeneration?.() ?? null + +// After a failed send, wait for a reconnect or a cutover to another connection, which is often connected already. +// False once pairing is revoked: that connection never comes back. +function whenConnected(client: CatalogClient, failedGeneration: number | null): Promise { + let reconnected = failedGeneration === null || client.getState() !== 'connected' + const ready = (): boolean => + client.getState() === 'connected' && (reconnected || generationOf(client) !== failedGeneration) + if (ready() || client.getState() === 'auth-failed') { + return Promise.resolve(ready()) + } + return new Promise((resolve) => { + const stop = client.onStateChange((state) => { + reconnected ||= state !== 'connected' + if (ready() || state === 'auth-failed') { + stop() + resolve(ready()) + } + }) + }) +} + +// Rejects when the connection drops first, so a first paint never waits on a reply that can't come. +function beforeConnectionLoss(client: CatalogClient, work: Promise): Promise { + return new Promise((resolve, reject) => { + const stop = client.onStateChange((state) => { + if (state !== 'connected') { + stop() + reject(new CatalogSendFailed('[i18n] connection lost before the catalog arrived')) + } + }) + work.then( + (value) => { + stop() + resolve(value) + }, + (error: unknown) => { + stop() + reject(error) + } + ) + }) +} + +// One request. On an answer the copy becomes the page's and the store's. +async function askHost( + { client, store }: CatalogSource, + locale: CatalogLocale, + known: HeldCatalog | undefined +): Promise { + const generation = generationOf(client) + const settled = await captureRpcOperationSettlement(client, localeCatalogRead, { + locale, + ...(known ? { knownSha256: known.sha256 } : {}) + }) + if (settled.status === 'rejected') { + throw new CatalogSendFailed(`[i18n] the ${locale} catalog request got no answer`, generation) + } + const { outcome } = settled + if (outcome.kind === 'decoded') { + const { sha256, catalog } = outcome.value + // A null catalog only confirms the copy the phone named. + const next = catalog !== null ? { sha256, catalog } : known?.sha256 === sha256 ? known : null + if (next) { + if (next !== known) { + // After the first paint: encoding the copy is main-thread work nothing waits on. + setTimeout(() => { + writeStoredCatalog(store, locale, next) + }, 0) + } + return next + } + } + const refusal = outcome.kind === 'outer-refused' ? outcome.error : undefined + throw new Error( + isMobileMethodUnavailableError(refusal?.code, refusal?.message) + ? '[i18n] this desktop serves no language catalogs' + : `[i18n] the desktop answered no ${locale} catalog` + ) +} + +// Asks until the host answers, resending once per new connection; a refusal ends it. +async function syncFromHost( + current: CatalogSource, + locale: CatalogLocale, + known: HeldCatalog | undefined, + failedGeneration: number | null +): Promise { + for (;;) { + if (!(await whenConnected(current.client, failedGeneration))) { + throw new Error('[i18n] this phone is no longer paired with the desktop') + } + try { + return await askHost(current, locale, known) + } catch (error) { + if (!(error instanceof CatalogSendFailed)) { + throw error + } + failedGeneration = error.generation + } + } +} + +// One sync per locale, announcing a copy other than the one the page already shows. +function syncOnce( + current: CatalogSource, + locale: CatalogLocale, + known: HeldCatalog | undefined, + failedGeneration: number | null = null +): void { + if (syncing.has(locale)) { + return + } + syncing.add(locale) + syncFromHost(current, locale, known, failedGeneration).then( + (next) => { + syncing.delete(locale) + if (next !== known) { + announce(locale, next.catalog) + } + }, + () => { + syncing.delete(locale) + } + ) +} + +// What a first paint may wait for: the stored copy, else one request while connected. +async function firstCatalog(current: CatalogSource, locale: CatalogLocale): Promise { + // Only a locale with no catalog installed is asked for, so nothing is held in memory here. + const known = await readStoredCatalog(current.store, locale) + if (known) { + // Show the stored copy now; a newer one replaces it when the host answers. + syncOnce(current, locale, known) + return known + } + if (current.client.getState() !== 'connected') { + throw new CatalogSendFailed('[i18n] no connection for the catalog yet') + } + return beforeConnectionLoss(current.client, askHost(current, locale, undefined)) +} + +async function loadCatalog(current: CatalogSource, locale: CatalogLocale): Promise { + // A generation an older shell downloaded still holds the chunk: no wait, and this page's own strings. + const bundled = await importBundledLocaleCatalog(locale).catch(() => null) + if (bundled !== null) { + return bundled + } + const first = firstCatalog(current, locale) + const settled = await withTimeoutResult(first, FIRST_PAINT_CATALOG_WAIT_MS) + if (settled.ok) { + return settled.value.catalog + } + // Activation shows English meanwhile; whatever comes later switches the page in place. + first.then( + (late) => { + announce(locale, late.catalog) + }, + (failure: unknown) => { + if (failure instanceof CatalogSendFailed) { + syncOnce(current, locale, undefined, failure.generation) + } + } + ) + throw new Error(`[i18n] no ${locale} catalog for the first paint`) +} + +// Before the first activation, so its catalog comes from the desktop and the store. +export function startPageLocaleCatalogs(current: CatalogSource): void { + publishPageLocaleCatalogLoader((locale) => loadCatalog(current, locale)) +} diff --git a/mobile/src/mobile-web-shell/ShellDownloadProgress.tsx b/mobile/src/mobile-web-shell/ShellDownloadProgress.tsx index 02b19f0caa6..46093799133 100644 --- a/mobile/src/mobile-web-shell/ShellDownloadProgress.tsx +++ b/mobile/src/mobile-web-shell/ShellDownloadProgress.tsx @@ -1,4 +1,4 @@ -import { useHostDisplay, type HostDisplaySource } from '../transport/hosts/use-host-display' +import { useHostDisplay, type HostDisplaySource } from '../host-descriptors/use-host-display' import type { DownloadProgressFeed } from './download-progress-feed' import { DownloadProgressBar, downloadedMegabytesCaption } from './DownloadProgressBar' import type { MobileWebShellSessionState } from './mobile-web-shell-session-contract' diff --git a/mobile/src/mobile-web-shell/ShellStateScreen.tsx b/mobile/src/mobile-web-shell/ShellStateScreen.tsx index 01617b74903..bc9d7ccaa91 100644 --- a/mobile/src/mobile-web-shell/ShellStateScreen.tsx +++ b/mobile/src/mobile-web-shell/ShellStateScreen.tsx @@ -1,12 +1,13 @@ import type { ReactNode } from 'react' -import { Pressable, Text, View } from 'react-native' +import { Platform, Pressable, Text, View } from 'react-native' +import { currentWebViewProvider } from '../../modules/orca-mobile-web-shell/src' import { ProtocolBlockScreen } from '../components/ProtocolBlockScreen' import { colors, radii, spacing, typography } from '../theme/mobile-theme' import { themedStyleSheet } from '../theme/themed-styles' import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' import type { Translate } from '../i18n/mobile-i18n' import { useMobileTranslation } from '../i18n/use-mobile-translation' -import type { HostDisplaySource } from '../transport/hosts/use-host-display' +import type { HostDisplaySource } from '../host-descriptors/use-host-display' import type { DownloadProgressFeed } from './download-progress-feed' import type { MobileWebShellFailureCause, @@ -65,11 +66,30 @@ function Failed({ useMobileColorScheme() // Retry cannot change a settled isolation gate or give an unsupported WebView the missing fence. const retryable = state.reason !== 'isolation-unavailable' && state.reason !== 'status-unreadable' + const provider = state.reason === 'isolation-unavailable' ? currentWebViewProvider() : null + // Unknown provider (older binary): a missing feature is still the likely cause. + const webViewTooOld = + Platform.OS === 'android' && + state.reason === 'isolation-unavailable' && + provider?.hasShellFeatures !== true return ( - {failureMessage(state.reason, t)} + {webViewTooOld + ? t( + 'webShell.shellStateScreen.isolationUnavailableAndroid', + 'Orca needs Android System WebView or Chrome 101 or newer. Update it from the Play Store, or pick a newer one in Developer options > WebView implementation.' + ) + : failureMessage(state.reason, t)} + {webViewTooOld && provider ? ( + + {t('webShell.shellStateScreen.webViewInUse', 'This device has {{name}} {{version}}.', { + name: provider.name, + version: provider.version + })} + + ) : null} {retryable ? ( [styles.retryButton, pressed && styles.pressed]} @@ -160,6 +180,12 @@ const styles = themedStyleSheet(() => ({ textAlign: 'center', marginBottom: spacing.lg }, + failedDetail: { + fontSize: typography.metaSize, + color: colors.textSecondary, + textAlign: 'center', + marginBottom: spacing.lg + }, retryButton: { backgroundColor: colors.bgRaised, paddingVertical: spacing.sm + 2, diff --git a/mobile/src/mobile-web-shell/bridge-host-init.test.ts b/mobile/src/mobile-web-shell/bridge-host-init.test.ts index 0a64fd9585f..b0bcff1a0b8 100644 --- a/mobile/src/mobile-web-shell/bridge-host-init.test.ts +++ b/mobile/src/mobile-web-shell/bridge-host-init.test.ts @@ -1,8 +1,6 @@ import { describe, expect, it } from 'vitest' import { clientFrame, createFakeRpcClient } from './bridge-host-test-fakes' import { harness, ROUTE } from './bridge-host-test-harness' -import { BRIDGE_MAX_ROUTE_PATHNAME_CHARS } from './bridge/bridge-caps' -import { BRIDGE_FAULT_GRANT, BRIDGE_RPC_ENVELOPE_GRANT } from './bridge/bridge-envelope' import { routeViewOf } from './page-route-policy' describe('init and state', () => { @@ -28,75 +26,6 @@ describe('init and state', () => { { pathname: '/h/[hostId]', grants: ['navigate', 'storage', 'haptics'] } ]) }) - - // Compare both lists from one init: the opener’s manifest pair must equal grants.native minus the protocol grant, including optional grants. - it("grants a session exactly what it publishes as that pattern's pair", () => { - const declared = [ - { - pathname: '/h/[hostId]', - grants: ['navigate', 'storage', 'haptics'], - optionalGrants: ['screencastBinary'] - } - ] - const view = routeViewOf(declared, ROUTE.pathname) - const bridge = harness({ routeGrants: view.routeGrants, pageRouteGrants: view.pageRouteGrants }) - bridge.host.receive(clientFrame({ type: 'ready' })) - const init = bridge.last() - if (init.type !== 'init') { - throw new Error('expected an init frame') - } - expect(init.grants.native).toEqual([ - BRIDGE_FAULT_GRANT, - BRIDGE_RPC_ENVELOPE_GRANT, - 'navigate', - 'storage', - 'haptics', - 'screencastBinary' - ]) - const pair = (init.pageRouteGrants ?? []).find((entry) => entry.pathname === '/h/[hostId]') - expect(pair?.grants).toEqual(['navigate', 'storage', 'haptics', 'screencastBinary']) - expect(init.grants.native).toContain('screencastBinary') - }) - - it('refuses to open a session at all for a route the protocol does not allow', () => { - // Deep-link host ids reach the producer’s interpolation; refusing them here avoids an init loop behind a blank WebView. - for (const pathname of [ - '/h/a?b', - '/h/a#b', - '/h/a b', - '/h/..', - '/../../etc', - '/h/a\\b', - '//evil', - `/h/${'a'.repeat(BRIDGE_MAX_ROUTE_PATHNAME_CHARS)}` - ]) { - const bridge = harness({ route: { pathname } }) - bridge.host.receive(clientFrame({ type: 'ready' })) - expect(bridge.posted, pathname).toEqual([]) - expect(bridge.routeRefusals, pathname).toHaveLength(1) - expect( - bridge.diagnostics.map((diagnostic) => diagnostic.kind), - pathname - ).toEqual(['route-refused']) - } - }) - - it('reports a frame the view would not take, and waits for the next ask (ruling 34)', async () => { - const bridge = harness({ - route: { pathname: '/h/host-a' }, - post: () => Promise.reject(new Error('the view is gone')) - }) - bridge.host.receive(clientFrame({ type: 'ready' })) - for (let turn = 0; turn < 4; turn += 1) { - await Promise.resolve() - } - expect(bridge.diagnostics.map((diagnostic) => diagnostic.kind)).toContain('post-failed') - // Do not hold/retry the failed post; answer the page’s next ready with the current route. - expect(bridge.posted).toHaveLength(1) - bridge.host.receive(clientFrame({ type: 'ready' })) - expect(bridge.posted).toHaveLength(2) - }) - // Advance the held route even when posting fails; the next document’s ready must repair delivery with the newest tap (ruling 34 addendum). it('answers the next document with the route a tap wrote while the view was gone', async () => { const view = { gone: true } @@ -121,83 +50,6 @@ describe('init and state', () => { params: { paneKey: 'pane-1' } }) }) - - it('refuses a navigate frame that is not a path this app could open', () => { - const bridge = harness() - bridge.host.receive(clientFrame({ type: 'ready' })) - // WHATWG normalization can move dot segments outside /h/; reject those shapes before Expo’s Unmatched replaces the shell. Screen existence is checked separately. - const refused = [ - '//evil.example/h', - 'h/host-a', - 'https://evil.example', - '/h#top', - '/h/../../etc/x', - '/h/host-a/./tasks', - '/h/a\\b' - ] - for (const href of refused) { - bridge.host.receive(clientFrame({ type: 'notify', name: 'navigate', href })) - } - expect(bridge.navigations).toEqual([]) - expect(bridge.diagnostics).toEqual( - refused.map(() => ({ kind: 'refused', refusal: 'unrecognised-message' })) - ) - }) - - it('serves no navigate to a page that has said goodbye', () => { - const bridge = harness() - bridge.host.receive(clientFrame({ type: 'ready' })) - bridge.host.receive(clientFrame({ type: 'close' })) - bridge.host.receive(clientFrame({ type: 'notify', name: 'navigate', href: '/h/host-a/tasks' })) - expect(bridge.navigations).toEqual([]) - }) - - it('refuses a storage write for a key the page was never told about', () => { - // Preferences share a namespace across paired hosts; the allowlist protects native-owned state. - const bridge = harness() - bridge.host.receive(clientFrame({ type: 'ready' })) - for (const key of ['orca:pins:', 'orca:hosts']) { - bridge.host.receive(clientFrame({ type: 'notify', name: 'storage', key, value: 'x' })) - } - expect(bridge.storageWrites).toEqual([]) - expect(bridge.diagnostics).toEqual( - Array.from({ length: 2 }, () => ({ kind: 'refused', refusal: 'unrecognised-message' })) - ) - }) - - it("refuses a write for another host's pinned list, which the envelope lets through", () => { - const bridge = harness() - bridge.host.receive(clientFrame({ type: 'ready' })) - // The key shape is valid; only session scope identifies another host’s pinned list. - bridge.host.receive( - clientFrame({ type: 'notify', name: 'storage', key: 'orca:pins:other-host', value: '["x"]' }) - ) - expect(bridge.storageWrites).toEqual([]) - expect(bridge.diagnostics).toEqual([{ kind: 'storage-refused', key: 'orca:pins:other-host' }]) - }) - - // Enforce oversized-key refusal in the shell too; older pages ignore storageOversize and could overwrite device state (ruling 33.6). - it('refuses a write for a key it could not hand the page, whatever the page believes', () => { - const journal = 'orca:mobileStructuredSendOperations:v1' - const bridge = harness({ - readStorage: () => ({ - storage: { 'orca:pins:host-a': '["one"]' }, - storageOversize: [journal] - }) - }) - bridge.host.receive(clientFrame({ type: 'ready' })) - bridge.host.receive( - clientFrame({ type: 'notify', name: 'storage', key: journal, value: '{"v":1,"entries":[]}' }) - ) - expect(bridge.storageWrites).toEqual([]) - expect(bridge.diagnostics).toEqual([{ kind: 'storage-refused', key: journal }]) - // A handed-over key remains writable, proving refusal depends on size rather than key shape. - bridge.host.receive( - clientFrame({ type: 'notify', name: 'storage', key: 'orca:pins:host-a', value: '["two"]' }) - ) - expect(bridge.storageWrites).toEqual([{ key: 'orca:pins:host-a', value: '["two"]' }]) - }) - it('reads the keys again for each init, rather than replaying what it started with', () => { let pins = '["one"]' const bridge = harness({ @@ -239,7 +91,6 @@ describe('init and state', () => { pendingPath = 'relay' notifyPath() - const pushed = bridge.last() expect(pushed.type === 'connectionPath' && pushed.connection).toMatchObject({ state: 'reconnecting', @@ -248,41 +99,4 @@ describe('init and state', () => { relayHostReachability: 'host-offline' }) }) - - it('tells only a page that reads them that the app is leaving the foreground', () => { - const reads = harness() - reads.host.receive(clientFrame({ type: 'ready', appInactiveFrames: true })) - reads.host.sendAppInactive() - expect(reads.last().type).toBe('appInactive') - - const older = harness() - older.host.receive(clientFrame({ type: 'ready' })) - const sent = older.frames().length - older.host.sendAppInactive() - expect(older.frames()).toHaveLength(sent) - }) - - it('sends no path frame to a page that never said it reads them', () => { - let notifyPath = () => {} - const client = createFakeRpcClient({ - onConnectionPathChange: (listener) => { - notifyPath = listener - return () => {} - } - }) - const bridge = harness({ client }) - bridge.host.receive(clientFrame({ type: 'ready' })) - const sent = bridge.frames().length - - notifyPath() - - expect(bridge.frames()).toHaveLength(sent) - }) - - it('drops the state listener on dispose', () => { - const bridge = harness() - expect(bridge.client.stateListeners()).toBe(1) - bridge.host.dispose() - expect(bridge.client.stateListeners()).toBe(0) - }) }) diff --git a/mobile/src/mobile-web-shell/bridge-host-native-verbs.test.ts b/mobile/src/mobile-web-shell/bridge-host-native-verbs.test.ts index 87e837fc66b..00d764a95da 100644 --- a/mobile/src/mobile-web-shell/bridge-host-native-verbs.test.ts +++ b/mobile/src/mobile-web-shell/bridge-host-native-verbs.test.ts @@ -24,46 +24,6 @@ function refusal(bridge: ReturnType): { code?: unknown; message: function reachedTheDesktop(bridge: ReturnType): unknown[] { return [...bridge.client.requests, ...bridge.client.streams] } - -describe('a native method on a frame that is not a request', () => { - it('opens no stream on the desktop client', () => { - const bridge = harness() - bridge.host.receive(clientFrame({ type: 'ready' })) - bridge.host.receive( - clientFrame({ type: 'subscribe', id: ID, method: 'native.clipboard.read', params: {} }) - ) - expect(reachedTheDesktop(bridge)).toEqual([]) - expect(refusal(bridge)?.code).toMatch(/^native_verb_/) - }) -}) - -// Before ready, the page has received no session, grants or caps; refuse forwarded/native requests as well as notifications. -describe('a request before the page has asked for a session', () => { - it('is refused rather than forwarded to the desktop', async () => { - const bridge = harness() - bridge.host.receive(clientFrame({ type: 'request', id: ID, method: 'status.get' })) - await flushBridge() - expect(reachedTheDesktop(bridge)).toEqual([]) - expect(refusal(bridge)?.message).toContain('before-ready') - }) - - it('is refused for a native verb too, before the table is even read', async () => { - const bridge = harness() - bridge.host.receive(request('native.clipboard.read', { mime: 'text' })) - await flushBridge() - expect(reachedTheDesktop(bridge)).toEqual([]) - expect(bridge.nativeCalls).toEqual([]) - expect(refusal(bridge)?.message).toContain('before-ready') - }) - - it('refuses a stream on a session that never handshook', () => { - const bridge = harness() - bridge.host.receive(clientFrame({ type: 'subscribe', id: ID, method: 'x.sub', params: {} })) - expect(bridge.client.streams).toEqual([]) - expect(refusal(bridge)?.message).toContain('before-ready') - }) -}) - describe('a native method the page asks for', () => { it('is answered by the shell and never forwarded to the desktop', async () => { const bridge = harness({ clipboardText: 'from the pasteboard' }) @@ -93,61 +53,6 @@ describe('a native method the page asks for', () => { ]) }) - it('refuses a verb this shell has no row for, before anything is forwarded', async () => { - const bridge = harness({ ready: true }) - for (const method of ['native.dictation.start', 'native.']) { - bridge.host.receive(request(method, {})) - await flushBridge() - expect(refusal(bridge)?.code, method).toBe('native_verb_unknown') - } - expect(bridge.nativeCalls).toEqual([]) - expect(reachedTheDesktop(bridge)).toEqual([]) - }) - - it('refuses malformed clipboard params before any handler or desktop call', async () => { - const bridge = harness({ ready: true }) - for (const params of [ - {}, - { mime: 'text' }, - { mime: 'audio', value: 'x' }, - null, - { mime: 'text', value: 'x', unexpected: true } - ]) { - bridge.host.receive(request('native.clipboard.write', params)) - await flushBridge() - expect(refusal(bridge)?.code, JSON.stringify(params)).toBe('native_verb_params') - } - bridge.host.receive(request('native.clipboard.read', { mime: 'image' })) - await flushBridge() - expect(refusal(bridge)?.code).toBe('native_verb_params') - expect(bridge.nativeCalls).toEqual([]) - expect(reachedTheDesktop(bridge)).toEqual([]) - }) - - it('opens only PDFs, so the page cannot have the shell download and hand off other files', async () => { - const bridge = harness({ ready: true }) - for (const relativePath of ['notes.docx', 'archive.pdf.zip', 'pdf']) { - bridge.host.receive( - request('native.pdf.view', { action: 'open', worktreeId: 'w', relativePath }) - ) - await flushBridge() - expect(refusal(bridge)?.code, relativePath).toBe('native_verb_params') - } - expect(bridge.nativeCalls).toEqual([]) - expect(reachedTheDesktop(bridge)).toEqual([]) - }) - - it('refuses a result the verb does not declare, rather than passing it to the page', async () => { - // Validate results against the verb table before an arbitrary handler reply reaches the page. - const bridge = harness({ serveNativeVerb: () => Promise.resolve({ nonsense: 1 }) }) - bridge.host.receive(clientFrame({ type: 'ready' })) - bridge.host.receive(request('native.clipboard.read', { mime: 'text' })) - await flushBridge() - expect(reachedTheDesktop(bridge)).toEqual([]) - expect(refusal(bridge)?.code).toMatch(/^native_verb_/) - expect(replyPayload(bridge)).toBeNull() - }) - it('does not carry a handler message to the page, which could be what it just read', async () => { // Handler errors may contain clipboard data; error messages must not bypass declared result shapes. const secret = 'sk-live-not-for-the-page' @@ -164,7 +69,6 @@ describe('a native method the page asks for', () => { }) expect(JSON.stringify(bridge.posted)).not.toContain(secret) }) - it('settles a cancelled native request the way a forwarded one settles, with no late reply', async () => { const settle: { resolve: ((value: unknown) => void) | null } = { resolve: null } const bridge = harness({ @@ -186,70 +90,4 @@ describe('a native method the page asks for', () => { expect(bridge.frames()).toHaveLength(afterCancel) expect(reachedTheDesktop(bridge)).toEqual([]) }) - - it('refuses a read the page could never receive, rather than truncating it', async () => { - const bridge = harness({ clipboardText: 'a'.repeat(9 * 1024 * 1024) }) - bridge.host.receive(clientFrame({ type: 'ready' })) - bridge.host.receive(request('native.clipboard.read', { mime: 'text' })) - await flushBridge() - expect(reachedTheDesktop(bridge)).toEqual([]) - expect(refusal(bridge)?.message).toContain('reply-too-large') - }) -}) - -// Grant only the session route’s declared capabilities; app-wide grants would let a navigation/storage page read clipboard data. -describe('grants scoped to the route the page was opened for', () => { - const navigationOnly = ['navigate', 'storage'] as const - - it('refuses a verb that route never asked for', async () => { - const bridge = harness({ routeGrants: navigationOnly, ready: true }) - expect(bridge.last()).toMatchObject({ - type: 'init', - grants: { native: ['fault', 'rpcEnvelope', 'navigate', 'storage'] } - }) - for (const [method, params] of [ - ['native.clipboard.read', { mime: 'text' }], - ['native.media.pick', { source: 'library', multiple: false }], - ['native.media.read', { handle: 'media-1', offset: 0, length: 16 }], - ['native.media.release', { handle: 'media-1' }] - ] as const) { - bridge.host.receive(request(method, params)) - await flushBridge() - expect(refusal(bridge)?.code, method).toBe('native_verb_ungranted') - } - expect(bridge.nativeCalls).toEqual([]) - expect(reachedTheDesktop(bridge)).toEqual([]) - expect(refusal(bridge)?.code).toBe('native_verb_ungranted') - }) - - it('serves it for a route that did ask', async () => { - const bridge = harness({ - routeGrants: [...navigationOnly, 'native.clipboard.read'], - clipboardText: 'granted', - ready: true - }) - bridge.host.receive(request('native.clipboard.read', { mime: 'text' })) - await flushBridge() - expect(replyPayload(bridge)).toEqual({ id: ID, ok: true, result: { value: 'granted' } }) - }) - - it('refuses valid notifications without their route grants', () => { - const bridge = harness({ routeGrants: [], ready: true }) - const frames = [ - { name: 'externalLink', url: 'https://example.com/' }, - { name: 'navigate', href: '/h/host-a/session/wt-1' }, - { name: 'navigate-back' }, - { name: 'storage', key: 'orca:pins:host-a', value: '["wt-1"]' } - ] - for (const frame of frames) { - bridge.host.receive(clientFrame({ type: 'notify', ...frame })) - } - expect(bridge.externalLinks).toEqual([]) - expect(bridge.navigations).toEqual([]) - expect(bridge.backPops).toEqual([]) - expect(bridge.storageWrites).toEqual([]) - expect(bridge.diagnostics).toEqual( - frames.map(({ name }) => ({ kind: 'notify-refused', name, why: 'ungranted' })) - ) - }) }) diff --git a/mobile/src/mobile-web-shell/bridge-host.ts b/mobile/src/mobile-web-shell/bridge-host.ts index 914b25c9b70..166f3e791d3 100644 --- a/mobile/src/mobile-web-shell/bridge-host.ts +++ b/mobile/src/mobile-web-shell/bridge-host.ts @@ -7,9 +7,8 @@ import { BridgeHostRequests } from './bridge-host-requests' import { BridgeHostSubscriptions } from './bridge-host-subscriptions' import { createBridgeHostStreamFrames } from './bridge-host-stream-frames' import { - BRIDGE_FAULT_GRANT, BRIDGE_PROTOCOL_VERSION, - BRIDGE_RPC_ENVELOPE_GRANT, + BRIDGE_SHELL_GRANTS, readBridgeClientMessage, type BridgeClientMessage } from './bridge/bridge-envelope' @@ -30,11 +29,7 @@ export type { BridgeHost, BridgeHostDiagnostic, BridgeHostOptions } from './brid // Bind the host structurally to one RPC client; the protocol lets pages name no other host. Native origin checks reject expired sessions, and init caps are enforced here. export function createBridgeHost(options: BridgeHostOptions): BridgeHost { const { client, buildId, sessionId, pageRoutes, host } = options - const granted: readonly string[] = [ - BRIDGE_FAULT_GRANT, - BRIDGE_RPC_ENVELOPE_GRANT, - ...options.routeGrants - ] + const granted: readonly string[] = [...BRIDGE_SHELL_GRANTS, ...options.routeGrants] // Validate manifest pairs like the route: a pair refused by the page would invalidate the entire init. const parsedRouteGrants = options.pageRouteGrants === undefined diff --git a/mobile/src/mobile-web-shell/bridge/bridge-back-round-trip.test.ts b/mobile/src/mobile-web-shell/bridge/bridge-back-round-trip.test.ts index c311fca7f99..dc3a30428bc 100644 --- a/mobile/src/mobile-web-shell/bridge/bridge-back-round-trip.test.ts +++ b/mobile/src/mobile-web-shell/bridge/bridge-back-round-trip.test.ts @@ -90,14 +90,6 @@ describe('a Back press crossing from the shell to the page', () => { expect(pair.backClaims).toEqual([true, false, true]) }) - it('says nothing again when this document is holding nothing', async () => { - const pair = await opened() - pair.host.receive(JSON.stringify({ v: BRIDGE_PROTOCOL_VERSION, type: 'ready' })) - await pair.flush() - expect(notifies(pair)).toEqual([]) - expect(pair.backClaims).toEqual([]) - }) - it('gives the key back when the page client closes', async () => { const pair = await opened() pair.client.claimBack(() => true) diff --git a/mobile/src/mobile-web-shell/bridge/bridge-envelope.ts b/mobile/src/mobile-web-shell/bridge/bridge-envelope.ts index 8f8e8946fa9..5af16b2a9b3 100644 --- a/mobile/src/mobile-web-shell/bridge/bridge-envelope.ts +++ b/mobile/src/mobile-web-shell/bridge/bridge-envelope.ts @@ -32,10 +32,12 @@ export { BRIDGE_EXTERNAL_LINK_GRANT, BRIDGE_FAULT_GRANT, BRIDGE_FOREGROUND_NUDGE_REASONS, + BRIDGE_HOST_CATALOGS_GRANT, BRIDGE_ID_PATTERN, BRIDGE_NAVIGATE_BACK_NOTIFY, BRIDGE_PROTOCOL_VERSION, - BRIDGE_RPC_ENVELOPE_GRANT + BRIDGE_RPC_ENVELOPE_GRANT, + BRIDGE_SHELL_GRANTS } from './bridge-frame-fields' import { isPageStorageKey, diff --git a/mobile/src/mobile-web-shell/bridge/bridge-frame-fields.ts b/mobile/src/mobile-web-shell/bridge/bridge-frame-fields.ts index 9fea8193746..0a2ce887cd6 100644 --- a/mobile/src/mobile-web-shell/bridge/bridge-frame-fields.ts +++ b/mobile/src/mobile-web-shell/bridge/bridge-frame-fields.ts @@ -25,3 +25,13 @@ export const BRIDGE_EXTERNAL_LINK_GRANT = 'externalLink' // Negotiate rpcEnvelope before relying on extra wire fields; older shells drop unknown fields and could execute without caller-required metadata. export const BRIDGE_RPC_ENVELOPE_GRANT = 'rpcEnvelope' + +// The shell skipped the build's language-catalog chunks, so the page reads its catalog from the desktop. +export const BRIDGE_HOST_CATALOGS_GRANT = 'hostCatalogs' + +// Granted to every page this shell opens, whatever its route declares. +export const BRIDGE_SHELL_GRANTS: readonly string[] = [ + BRIDGE_FAULT_GRANT, + BRIDGE_RPC_ENVELOPE_GRANT, + BRIDGE_HOST_CATALOGS_GRANT +] diff --git a/mobile/src/mobile-web-shell/bridge/bridge-init-frame.ts b/mobile/src/mobile-web-shell/bridge/bridge-init-frame.ts index 2c5208dfe6f..ac4c256e67f 100644 --- a/mobile/src/mobile-web-shell/bridge/bridge-init-frame.ts +++ b/mobile/src/mobile-web-shell/bridge/bridge-init-frame.ts @@ -6,9 +6,8 @@ import { import { BRIDGE_MAX_PENDING_REQUESTS, BRIDGE_MAX_SUBSCRIPTIONS } from './bridge-caps' import { MOBILE_WEB_SHELL_GRANTS } from '../page-route-policy' import { - BRIDGE_FAULT_GRANT, BRIDGE_PROTOCOL_VERSION, - BRIDGE_RPC_ENVELOPE_GRANT, + BRIDGE_SHELL_GRANTS, type BridgeColorScheme, type BridgeConnectionSnapshot, type BridgeHostMessage, @@ -27,8 +26,7 @@ import type { HostStatusReply } from '../../transport/hosts/host-status-reply-sc // Grant the intersection of implemented capabilities and route declarations, plus protocol fault. Use the same resolved list for init and enforcement; new names need no version bump. export const BRIDGE_NATIVE_GRANTS: readonly string[] = [ - BRIDGE_FAULT_GRANT, - BRIDGE_RPC_ENVELOPE_GRANT, + ...BRIDGE_SHELL_GRANTS, ...MOBILE_WEB_SHELL_GRANTS ] diff --git a/mobile/src/mobile-web-shell/bridge/bridge-rpc-envelope.test.ts b/mobile/src/mobile-web-shell/bridge/bridge-rpc-envelope.test.ts index d3935f3d5a9..5f880d5c9b4 100644 --- a/mobile/src/mobile-web-shell/bridge/bridge-rpc-envelope.test.ts +++ b/mobile/src/mobile-web-shell/bridge/bridge-rpc-envelope.test.ts @@ -1,11 +1,5 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { createBridgeInitFrame } from './bridge-init-frame' -import { - BRIDGE_PROTOCOL_VERSION, - BRIDGE_RPC_ENVELOPE_GRANT, - readBridgeClientMessage, - readBridgeHostMessage -} from './bridge-envelope' +import { BRIDGE_RPC_ENVELOPE_GRANT, readBridgeClientMessage } from './bridge-envelope' import { BridgeRpcEnvelopeInvalidError, BridgeRpcEnvelopeUngrantedError @@ -24,10 +18,6 @@ function grantedPage() { return page } -function frameKey(json: string): string { - return json.replace(/"id":"[^"]+"/, '"id":"_"') -} - beforeEach(() => { vi.useFakeTimers() }) @@ -37,25 +27,6 @@ afterEach(() => { }) describe('bridge rpc envelope: page side', () => { - it('posts the same bytes as before when there is no envelope or an empty one', () => { - const page = grantedPage() - void page.client.sendRequest('worktree.ps', { a: 1 }, { timeoutMs: 50 }) - void page.client.sendRequest('worktree.ps', { a: 1 }, { timeoutMs: 50, envelope: {} }) - page.client.subscribe('terminal.subscribe', { terminal: 't' }, () => undefined) - page.client.subscribe('terminal.subscribe', { terminal: 't' }, () => undefined, { - envelope: {} - }) - const [, request, emptyRequest, subscribe, emptySubscribe] = page.sent.map(frameKey) - expect(request).toBe( - '{"v":1,"type":"request","id":"_","method":"worktree.ps","params":{"a":1},"options":{"timeoutMs":50}}' - ) - expect(emptyRequest).toBe(request) - expect(subscribe).toBe( - '{"v":1,"type":"subscribe","id":"_","method":"terminal.subscribe","params":{"terminal":"t"}}' - ) - expect(emptySubscribe).toBe(subscribe) - }) - it('posts no options when the only option was the envelope, and keeps an empty bag', () => { const page = grantedPage() void page.client.sendRequest('worktree.ps', { a: 1 }, { envelope: {} }) @@ -69,18 +40,6 @@ describe('bridge rpc envelope: page side', () => { expect(emptyBag).toMatchObject({ options: {} }) }) - it('carries a granted envelope beside params, out of options', () => { - const page = grantedPage() - void page.client.sendRequest('worktree.ps', undefined, { timeoutMs: 50, envelope: ENVELOPE }) - page.client.subscribe('terminal.subscribe', { terminal: 't' }, () => undefined, { - envelope: ENVELOPE - }) - const [, request, subscribe] = page.frames() - expect(request).toMatchObject({ options: { timeoutMs: 50 }, envelope: ENVELOPE }) - expect(request).not.toHaveProperty('options.envelope') - expect(subscribe).toMatchObject({ type: 'subscribe', envelope: ENVELOPE }) - }) - it('refuses an envelope the shell did not grant, and posts nothing', async () => { const page = createPageClient() page.start() @@ -177,46 +136,3 @@ describe('bridge rpc envelope: shell side', () => { } }) }) - -describe('bridge rpc envelope: mixed versions', () => { - it('the current page reader accepts an unknown grant name in init', () => { - const init = createBridgeInitFrame({ - sessionId: 's', - buildId: 'b', - connection: INIT.connection, - route: { pathname: '/h/a' }, - pageRoutes: [], - granted: [BRIDGE_RPC_ENVELOPE_GRANT, 'someFutureGrant'], - host: { id: 'a', name: 'A', endpoint: 'ws://a', lastConnected: 0 }, - storage: {} - }) - const read = readBridgeHostMessage(JSON.stringify(init)) - expect(read.ok && read.message.type === 'init' && read.message.grants.native).toEqual([ - BRIDGE_RPC_ENVELOPE_GRANT, - 'someFutureGrant' - ]) - }) - - it('a shell drops a frame key it does not declare and still serves the frame', () => { - // The rule an older shell applies to `envelope`: unknown keys are stripped, never refused. - const frame = { - v: BRIDGE_PROTOCOL_VERSION, - type: 'request', - id: 'a'.repeat(22), - method: 'm', - params: {}, - laterField: { executionHost: 'runtime:a' } - } - const read = readBridgeClientMessage(JSON.stringify(frame)) - expect(read).toEqual({ - ok: true, - message: { - v: BRIDGE_PROTOCOL_VERSION, - type: 'request', - id: 'a'.repeat(22), - method: 'm', - params: {} - } - }) - }) -}) diff --git a/mobile/src/mobile-web-shell/bridge/orca-bridge-page-channel.test.ts b/mobile/src/mobile-web-shell/bridge/orca-bridge-page-channel.test.ts deleted file mode 100644 index 518142a7796..00000000000 --- a/mobile/src/mobile-web-shell/bridge/orca-bridge-page-channel.test.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { afterEach, describe, expect, it, vi } from 'vitest' -import { - createOrcaBridgePageTransport, - readOrcaBridgePageChannel, - type OrcaBridgePageChannel -} from './orca-bridge-page-channel' - -function installChannel(channel: unknown): void { - Object.defineProperty(globalThis, 'orcaBridge', { value: channel, configurable: true }) -} - -function createChannel(): OrcaBridgePageChannel { - return { postMessage: vi.fn(), onmessage: null } -} - -afterEach(() => { - Reflect.deleteProperty(globalThis, 'orcaBridge') -}) - -describe('the page channel the shell installs', () => { - it('is absent in a browser, which is a page the bundle still has to open', () => { - expect(readOrcaBridgePageChannel()).toBeNull() - }) - - it('refuses a global of another shape rather than posting into it', () => { - installChannel({ postMessage: 'not a function', onmessage: null }) - expect(readOrcaBridgePageChannel()).toBeNull() - }) - - it('reads the installed object itself, so the page posts through the real sink', () => { - const channel = createChannel() - installChannel(channel) - expect(readOrcaBridgePageChannel()).toBe(channel) - }) -}) - -describe('the page channel as a client transport', () => { - it('posts what the client sends', () => { - const channel = createChannel() - createOrcaBridgePageTransport(channel).send('{"v":1}') - expect(channel.postMessage).toHaveBeenCalledWith('{"v":1}') - }) - - it('hands the client the frame off the event, and gives the slot back', () => { - const channel = createChannel() - const handler = vi.fn() - const release = createOrcaBridgePageTransport(channel).onMessage(handler) - channel.onmessage?.({ data: '{"v":1,"type":"init"}' }) - expect(handler).toHaveBeenCalledWith('{"v":1,"type":"init"}') - release() - expect(channel.onmessage).toBeNull() - }) -}) diff --git a/mobile/src/mobile-web-shell/bridge/page-fault-boundary.test.tsx b/mobile/src/mobile-web-shell/bridge/page-fault-boundary.test.tsx index 433aacfe401..63113c35f6d 100644 --- a/mobile/src/mobile-web-shell/bridge/page-fault-boundary.test.tsx +++ b/mobile/src/mobile-web-shell/bridge/page-fault-boundary.test.tsx @@ -10,10 +10,6 @@ function Throws(): ReactElement { throw FAILURE } -function Renders(): ReactElement { - return createElement('div', null, 'a worktree list') -} - function boundary(child: () => ReactElement, onFault: (error: unknown) => void): ReactElement { return createElement(PageFaultBoundary, { onFault }, createElement(child)) } @@ -30,26 +26,6 @@ afterEach(() => { }) describe('the page fault boundary', () => { - it('reports a throw from the tree it wraps and leaves nothing on the page', async () => { - const faults: unknown[] = [] - const rendered: { tree: ReactTestRenderer | null } = { tree: null } - await act(async () => { - rendered.tree = create(boundary(Throws, (error) => faults.push(error))) - }) - expect(faults).toEqual([FAILURE]) - expect(rendered.tree?.toJSON()).toBeNull() - }) - - it('stays out of the way of a tree that renders', async () => { - const faults: unknown[] = [] - const rendered: { tree: ReactTestRenderer | null } = { tree: null } - await act(async () => { - rendered.tree = create(boundary(Renders, (error) => faults.push(error))) - }) - expect(faults).toEqual([]) - expect(rendered.tree?.toJSON()).not.toBeNull() - }) - it('reports once, because a faulted page never renders the tree that threw again', async () => { const faults: unknown[] = [] const render = (): ReactElement => boundary(Throws, (error) => faults.push(error)) diff --git a/mobile/src/mobile-web-shell/cancelled-navigation-target.test.ts b/mobile/src/mobile-web-shell/cancelled-navigation-target.test.ts deleted file mode 100644 index ec0341d13f4..00000000000 --- a/mobile/src/mobile-web-shell/cancelled-navigation-target.test.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { cancelledShellNavigationTarget } from './cancelled-navigation-target' - -describe('cancelledShellNavigationTarget', () => { - it('opens the three schemes the page may already ask for', () => { - expect(cancelledShellNavigationTarget('https://example.com/a')).toBe('https://example.com/a') - expect(cancelledShellNavigationTarget('http://example.com/a')).toBe('http://example.com/a') - expect(cancelledShellNavigationTarget('mailto:someone@example.com')).toBe( - 'mailto:someone@example.com' - ) - }) - - it('opens the normalized href, not the string the artifact spelled', () => { - // The WHATWG parser strips tab, LF and CR from anywhere, so this is not the URL it looks like. - expect(cancelledShellNavigationTarget('ht\ntps://example.com/a')).toBe('https://example.com/a') - expect(cancelledShellNavigationTarget('https://example.com')).toBe('https://example.com/') - }) - - it('opens nothing for a scheme the grant does not cover', () => { - expect(cancelledShellNavigationTarget('javascript:alert(1)')).toBeNull() - expect(cancelledShellNavigationTarget('data:text/html,x')).toBeNull() - expect(cancelledShellNavigationTarget('file:///etc/passwd')).toBeNull() - expect(cancelledShellNavigationTarget('orca-mobile-web://sess/')).toBeNull() - }) - - it('opens nothing for a relative target, which is a route rather than a link out', () => { - expect(cancelledShellNavigationTarget('/h/abc')).toBeNull() - expect(cancelledShellNavigationTarget('')).toBeNull() - }) - - it('opens nothing for a payload that is not a string', () => { - expect(cancelledShellNavigationTarget(undefined)).toBeNull() - expect(cancelledShellNavigationTarget(null)).toBeNull() - expect(cancelledShellNavigationTarget(42)).toBeNull() - }) -}) diff --git a/mobile/src/mobile-web-shell/generation-store-file-system.test.ts b/mobile/src/mobile-web-shell/generation-store-file-system.test.ts deleted file mode 100644 index 7b170ea268f..00000000000 --- a/mobile/src/mobile-web-shell/generation-store-file-system.test.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { describe, expect, it, vi } from 'vitest' - -// Mock the import-time native module to test only the URI converter. -vi.mock('expo-file-system', () => ({ - Directory: class {}, - File: class {}, - Paths: { cache: '' } -})) - -import { generationDirectoryPath } from './generation-store-file-system' - -describe('generationDirectoryPath', () => { - it('hands the native view the absolute path both loaders demand', () => { - expect( - generationDirectoryPath('file:///var/mobile/Caches/mobile-web/abc/generations/def') - ).toBe('/var/mobile/Caches/mobile-web/abc/generations/def') - expect(generationDirectoryPath('file:///data/user/0/com.stably.orca.mobile/cache/mw')).toBe( - '/data/user/0/com.stably.orca.mobile/cache/mw' - ) - }) - - it('decodes what a uri escaped and a path spells literally', () => { - expect(generationDirectoryPath('file:///var/Orca%20Mobile/mobile-web')).toBe( - '/var/Orca Mobile/mobile-web' - ) - }) - - it('leaves a value that is already a path alone, so nobody can decode one twice', () => { - expect(generationDirectoryPath('/var/mobile/Caches/100%25')).toBe('/var/mobile/Caches/100%25') - }) -}) diff --git a/mobile/src/mobile-web-shell/generation-store.test.ts b/mobile/src/mobile-web-shell/generation-store.test.ts deleted file mode 100644 index b14db27039d..00000000000 --- a/mobile/src/mobile-web-shell/generation-store.test.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { createGenerationStore } from './generation-store' -import { deriveHostCacheKey } from './host-cache-key' -import type { MobileWebBundleFetchResult } from '../transport/web-bundle/mobile-web-bundle-fetch' -import { computeMobileWebBundleId } from '../../../src/shared/mobile-web-bundle/manifest-contract' -import { - createFakeGenerationFileSystem as createFakeFileSystem, - FAKE_GENERATION_ROOT -} from './generation-file-system-fake' - -const ROOT = FAKE_GENERATION_ROOT -const HOST = deriveHostCacheKey('host-a') - -function buildResult(options: { - buildId?: string - assets?: readonly { path: string; byteLength: number }[] - bytes?: ReadonlyMap -}): MobileWebBundleFetchResult { - const listed = options.assets ?? [ - { path: 'index.html', byteLength: 4 }, - { path: 'assets/app.js', byteLength: 2 } - ] - const assets = listed.map((asset, index) => ({ - path: asset.path, - sha256: String(index).repeat(64).slice(0, 64), - byteLength: asset.byteLength, - contentType: 'text/html; charset=utf-8' - })) - const totalBytes = assets.reduce((sum, asset) => sum + asset.byteLength, 0) - return { - manifest: { - schemaVersion: 1, - buildId: options.buildId ?? computeMobileWebBundleId(assets), - minCompatibleRuntimeProtocolVersion: 2, - runtimeProtocolVersion: 2, - entrypoint: 'index.html', - totalBytes, - assets - }, - assets: - options.bytes ?? - new Map(assets.map((asset) => [asset.path, new Uint8Array(asset.byteLength).fill(7)])), - reused: [], - totalBytes, - elapsedMs: 1 - } -} - -// Derive ids from assets so the cached manifest passes its digest check. -const BUILD = buildResult({}).manifest.buildId -const SECOND = { assets: [{ path: 'index.html', byteLength: 8 }] } -const SECOND_BUILD = buildResult(SECOND).manifest.buildId - -async function activate( - store: ReturnType, - hostKey: string, - result = buildResult({}) -): Promise { - await store.commitGeneration(await store.stageGeneration(hostKey, result)) -} - -// Commit deletes the old build first, so it must not run under a page still loading that build's chunks. -describe('an update staged behind a live page', () => { - it('stays staged while a page reads the old build, and the next read after it commits', async () => { - const fs = createFakeFileSystem() - const store = createGenerationStore({ fileSystem: fs }) - await activate(store, HOST) - const release = store.holdGeneration(HOST) - store.deferCommit(await store.stageGeneration(HOST, buildResult(SECOND))) - - expect((await store.readActiveGeneration(HOST))?.buildId).toBe(BUILD) - expect(await fs.fileExists(`${ROOT}/${HOST}/generations/${BUILD}/index.html`)).toBe(true) - - release() - expect((await store.readActiveGeneration(HOST))?.buildId).toBe(SECOND_BUILD) - expect(await fs.fileExists(`${ROOT}/${HOST}/generations/${BUILD}/index.html`)).toBe(false) - }) -}) diff --git a/mobile/src/mobile-web-shell/generation-asset-path.ts b/mobile/src/mobile-web-shell/generations/generation-asset-path.ts similarity index 100% rename from mobile/src/mobile-web-shell/generation-asset-path.ts rename to mobile/src/mobile-web-shell/generations/generation-asset-path.ts diff --git a/mobile/src/mobile-web-shell/generation-cache-uri.ts b/mobile/src/mobile-web-shell/generations/generation-cache-uri.ts similarity index 100% rename from mobile/src/mobile-web-shell/generation-cache-uri.ts rename to mobile/src/mobile-web-shell/generations/generation-cache-uri.ts diff --git a/mobile/src/mobile-web-shell/generation-deferred-commits.ts b/mobile/src/mobile-web-shell/generations/generation-deferred-commits.ts similarity index 100% rename from mobile/src/mobile-web-shell/generation-deferred-commits.ts rename to mobile/src/mobile-web-shell/generations/generation-deferred-commits.ts diff --git a/mobile/src/mobile-web-shell/generation-file-system-fake.ts b/mobile/src/mobile-web-shell/generations/generation-file-system-fake.ts similarity index 100% rename from mobile/src/mobile-web-shell/generation-file-system-fake.ts rename to mobile/src/mobile-web-shell/generations/generation-file-system-fake.ts diff --git a/mobile/src/mobile-web-shell/generation-host-directories.ts b/mobile/src/mobile-web-shell/generations/generation-host-directories.ts similarity index 100% rename from mobile/src/mobile-web-shell/generation-host-directories.ts rename to mobile/src/mobile-web-shell/generations/generation-host-directories.ts diff --git a/mobile/src/mobile-web-shell/generation-host-order.ts b/mobile/src/mobile-web-shell/generations/generation-host-order.ts similarity index 100% rename from mobile/src/mobile-web-shell/generation-host-order.ts rename to mobile/src/mobile-web-shell/generations/generation-host-order.ts diff --git a/mobile/src/mobile-web-shell/generation-legacy-root.ts b/mobile/src/mobile-web-shell/generations/generation-legacy-root.ts similarity index 100% rename from mobile/src/mobile-web-shell/generation-legacy-root.ts rename to mobile/src/mobile-web-shell/generations/generation-legacy-root.ts diff --git a/mobile/src/mobile-web-shell/generation-manifest-read.ts b/mobile/src/mobile-web-shell/generations/generation-manifest-read.ts similarity index 86% rename from mobile/src/mobile-web-shell/generation-manifest-read.ts rename to mobile/src/mobile-web-shell/generations/generation-manifest-read.ts index 875cf4966d5..22b768876d0 100644 --- a/mobile/src/mobile-web-shell/generation-manifest-read.ts +++ b/mobile/src/mobile-web-shell/generations/generation-manifest-read.ts @@ -1,7 +1,8 @@ import { MobileWebBundleManifestReadSchema, + shellDownloadedAssets, type MobileWebBundleManifestRead -} from '../transport/web-bundle/mobile-web-bundle-reply-schemas' +} from '../../transport/web-bundle/mobile-web-bundle-reply-schemas' import { MANIFEST_FILE_NAME } from './generation-asset-path' import { joinUri } from './generation-cache-uri' import { parseJson } from './generation-host-order' @@ -33,12 +34,13 @@ export async function readWaitingStage( } // Deletes are not atomic, so a kill mid-delete can leave the manifest without its assets; only every byte counts as whole. const sizes = new Map() - for (const folder of new Set(manifest.assets.map((asset) => parentOf(asset.path)))) { + const assets = shellDownloadedAssets(manifest) + for (const folder of new Set(assets.map((asset) => parentOf(asset.path)))) { for (const file of await fs.listFiles(folder === '' ? directory : joinUri(directory, folder))) { sizes.set(folder === '' ? file.name : `${folder}/${file.name}`, file.size) } } - const whole = manifest.assets.every((asset) => sizes.get(asset.path) === asset.byteLength) + const whole = assets.every((asset) => sizes.get(asset.path) === asset.byteLength) return whole ? { hostKey, buildId, directory, manifest } : null } diff --git a/mobile/src/mobile-web-shell/generation-reuse.ts b/mobile/src/mobile-web-shell/generations/generation-reuse.ts similarity index 94% rename from mobile/src/mobile-web-shell/generation-reuse.ts rename to mobile/src/mobile-web-shell/generations/generation-reuse.ts index f7eb4b257f2..45ca906afa5 100644 --- a/mobile/src/mobile-web-shell/generation-reuse.ts +++ b/mobile/src/mobile-web-shell/generations/generation-reuse.ts @@ -1,5 +1,5 @@ -import type { MobileWebBundleReusableAssets } from '../transport/web-bundle/mobile-web-bundle-fetch' -import type { MobileWebBundleAssetRead } from '../transport/web-bundle/mobile-web-bundle-reply-schemas' +import type { MobileWebBundleReusableAssets } from '../../transport/web-bundle/mobile-web-bundle-fetch' +import type { MobileWebBundleAssetRead } from '../../transport/web-bundle/mobile-web-bundle-reply-schemas' import { requireStorablePath } from './generation-asset-path' import { joinUri } from './generation-cache-uri' import type { ActiveGeneration } from './generation-store' diff --git a/mobile/src/mobile-web-shell/generation-staging-assets.ts b/mobile/src/mobile-web-shell/generations/generation-staging-assets.ts similarity index 76% rename from mobile/src/mobile-web-shell/generation-staging-assets.ts rename to mobile/src/mobile-web-shell/generations/generation-staging-assets.ts index ded1033d931..d8a083ba353 100644 --- a/mobile/src/mobile-web-shell/generation-staging-assets.ts +++ b/mobile/src/mobile-web-shell/generations/generation-staging-assets.ts @@ -1,10 +1,11 @@ -import type { MobileWebBundleFetchResult } from '../transport/web-bundle/mobile-web-bundle-fetch' +import type { MobileWebBundleFetchResult } from '../../transport/web-bundle/mobile-web-bundle-fetch' +import { shellDownloadedAssets } from '../../transport/web-bundle/mobile-web-bundle-reply-schemas' import { requireStorablePath } from './generation-asset-path' import { joinUri } from './generation-cache-uri' export function stagingAssetsOf(directory: string, result: MobileWebBundleFetchResult) { const reused = new Set(result.reused) - return result.manifest.assets.map((asset) => ({ + return shellDownloadedAssets(result.manifest).map((asset) => ({ asset, uri: joinUri(directory, requireStorablePath(asset.path)), bytes: reused.has(asset.path) ? null : requireExactBytes(result.assets.get(asset.path), asset) diff --git a/mobile/src/mobile-web-shell/generation-store-file-system.ts b/mobile/src/mobile-web-shell/generations/generation-store-file-system.ts similarity index 88% rename from mobile/src/mobile-web-shell/generation-store-file-system.ts rename to mobile/src/mobile-web-shell/generations/generation-store-file-system.ts index 74189aeb408..06aa62f880e 100644 --- a/mobile/src/mobile-web-shell/generation-store-file-system.ts +++ b/mobile/src/mobile-web-shell/generations/generation-store-file-system.ts @@ -1,4 +1,5 @@ import { Directory, File } from 'expo-file-system' +import { Platform } from 'react-native' export type GenerationDirectoryEntry = { readonly name: string @@ -127,7 +128,23 @@ export function createExpoGenerationFileSystem(rootUri: string): GenerationFileS } }, async moveDirectory(fromUri, toUri) { - new Directory(fromUri).move(new Directory(toUri)) + const from = new Directory(fromUri) + // Below API 26, Expo 55's move copies a directory without its contents; its copy is recursive. + if (Platform.OS === 'android' && Number(Platform.Version) < 26) { + const to = new Directory(toUri) + try { + from.copy(to) + } catch (error) { + // Readers trust a generation by its manifest, so a failed copy must leave no partial tree. + if (to.exists) { + to.delete() + } + throw error + } + from.delete() + return + } + from.move(new Directory(toUri)) }, async moveFile(fromUri, toUri) { new File(fromUri).move(new File(toUri)) diff --git a/mobile/src/mobile-web-shell/generation-store.ts b/mobile/src/mobile-web-shell/generations/generation-store.ts similarity index 96% rename from mobile/src/mobile-web-shell/generation-store.ts rename to mobile/src/mobile-web-shell/generations/generation-store.ts index 0e78ad2a2d6..c406de60e90 100644 --- a/mobile/src/mobile-web-shell/generation-store.ts +++ b/mobile/src/mobile-web-shell/generations/generation-store.ts @@ -1,8 +1,8 @@ -import type { MobileWebBundleManifestRead } from '../transport/web-bundle/mobile-web-bundle-reply-schemas' +import type { MobileWebBundleManifestRead } from '../../transport/web-bundle/mobile-web-bundle-reply-schemas' import type { MobileWebBundleFetchResult, MobileWebBundleReusableAssets -} from '../transport/web-bundle/mobile-web-bundle-fetch' +} from '../../transport/web-bundle/mobile-web-bundle-fetch' import { joinUri } from './generation-cache-uri' import { createGenerationHostOrder, withHostLast } from './generation-host-order' import { createDeferredCommits } from './generation-deferred-commits' @@ -18,7 +18,7 @@ import { listGenerationHostDirectories } from './generation-host-directories' import { isHostCacheKey } from './host-cache-key' -import type { MobileWebShellUpdateFailure } from './mobile-web-shell-update-failure' +import type { MobileWebShellUpdateFailure } from '../mobile-web-shell-update-failure' import { forgetHostUpdateFailuresIn, readUpdateFailureLog, @@ -216,7 +216,7 @@ export function createGenerationStore(options: { manifest: staged.manifest } const entries = await fs.list(generations) - // A build-id directory alone proves nothing: pre-API-26 Android moves can leave it empty. Require its activation manifest before reusing it. + // A build-id directory alone proves nothing; require its activation manifest before reusing it. const existing = entries.find((entry) => entry.name === staged.buildId) if ( existing?.isDirectory === true && @@ -238,7 +238,7 @@ export function createGenerationStore(options: { } await fs.createDirectory(generations) await fs.moveDirectory(staged.directory, target) - // Below API 26, Expo Android FileSystemPath.kt moves directories via non-recursive copy/delete and can leave an empty target; failed source deletion leaves tmp for sweeping. + // Never activate a target without its manifest; a source left in tmp is swept. if (!(await fs.fileExists(joinUri(target, MANIFEST_FILE_NAME)))) { await fs.delete(target) throw new Error(`generation ${staged.buildId} did not carry its manifest through the rename`) diff --git a/mobile/src/mobile-web-shell/host-cache-key.ts b/mobile/src/mobile-web-shell/generations/host-cache-key.ts similarity index 100% rename from mobile/src/mobile-web-shell/host-cache-key.ts rename to mobile/src/mobile-web-shell/generations/host-cache-key.ts diff --git a/mobile/src/mobile-web-shell/mobile-web-shell-update-failure-log.ts b/mobile/src/mobile-web-shell/generations/mobile-web-shell-update-failure-log.ts similarity index 96% rename from mobile/src/mobile-web-shell/mobile-web-shell-update-failure-log.ts rename to mobile/src/mobile-web-shell/generations/mobile-web-shell-update-failure-log.ts index 8e6bcab8b67..1b53f810efa 100644 --- a/mobile/src/mobile-web-shell/mobile-web-shell-update-failure-log.ts +++ b/mobile/src/mobile-web-shell/generations/mobile-web-shell-update-failure-log.ts @@ -1,5 +1,5 @@ import { z } from 'zod' -import { MobileWebBundleErrorCodeSchema } from '../../../src/shared/mobile-web-bundle/bundle-rpc-contract' +import { MobileWebBundleErrorCodeSchema } from '../../../../src/shared/mobile-web-bundle/bundle-rpc-contract' import { joinUri } from './generation-cache-uri' import type { GenerationFileSystem } from './generation-store-file-system' import { @@ -7,7 +7,7 @@ import { MOBILE_WEB_SHELL_UPDATE_FAILURE_REASONS, MOBILE_WEB_SHELL_UPDATE_FAILURE_WALLS, type MobileWebShellUpdateFailure -} from './mobile-web-shell-update-failure' +} from '../mobile-web-shell-update-failure' // Keep enough history to distinguish one bad download from repeated failures without growing diagnostic storage. export const MAX_UPDATE_FAILURES_PER_HOST = 5 diff --git a/mobile/src/mobile-web-shell/process-generation-store.ts b/mobile/src/mobile-web-shell/generations/process-generation-store.ts similarity index 88% rename from mobile/src/mobile-web-shell/process-generation-store.ts rename to mobile/src/mobile-web-shell/generations/process-generation-store.ts index 144fe4bf4bc..d6c9bcc9391 100644 --- a/mobile/src/mobile-web-shell/process-generation-store.ts +++ b/mobile/src/mobile-web-shell/generations/process-generation-store.ts @@ -1,8 +1,8 @@ import { Directory, Paths } from 'expo-file-system' -import { generationStoreDirectory } from '../../modules/orca-mobile-web-shell/src/generation-store-directory' +import { generationStoreDirectory } from '../../../modules/orca-mobile-web-shell/src/generation-store-directory' import { createGenerationStore, type GenerationStore } from './generation-store' import { createExpoGenerationFileSystem } from './generation-store-file-system' -import { dropHomeSparePage } from './home-spare-page' +import { dropHomeSparePage } from '../home-spare-page' const GENERATION_STORE_DIRECTORY_NAME = 'mobile-web' diff --git a/mobile/src/mobile-web-shell/removed-host-shell-cache.ts b/mobile/src/mobile-web-shell/generations/removed-host-shell-cache.ts similarity index 100% rename from mobile/src/mobile-web-shell/removed-host-shell-cache.ts rename to mobile/src/mobile-web-shell/generations/removed-host-shell-cache.ts diff --git a/mobile/src/mobile-web-shell/home-spare-page.ts b/mobile/src/mobile-web-shell/home-spare-page.ts index bf93ad3d371..8124dfa1cd4 100644 --- a/mobile/src/mobile-web-shell/home-spare-page.ts +++ b/mobile/src/mobile-web-shell/home-spare-page.ts @@ -3,9 +3,9 @@ import { discardSpareDocument, prepareSpareDocument } from '../../modules/orca-mobile-web-shell/src/spare-document' -import type { GenerationStore } from './generation-store' -import { generationDirectoryPath } from './generation-store-file-system' -import { deriveHostCacheKey } from './host-cache-key' +import type { GenerationStore } from './generations/generation-store' +import { generationDirectoryPath } from './generations/generation-store-file-system' +import { deriveHostCacheKey } from './generations/host-cache-key' import { mintShellSessionId } from './shell-session-id' // A Home entry claims the spare about 0.2 s after the tap on a simulator; a native screen keeps it no longer. diff --git a/mobile/src/mobile-web-shell/host-area-page-storage.test.tsx b/mobile/src/mobile-web-shell/host-area-page-storage.test.tsx index 1d12bae7036..fe9a34b9777 100644 --- a/mobile/src/mobile-web-shell/host-area-page-storage.test.tsx +++ b/mobile/src/mobile-web-shell/host-area-page-storage.test.tsx @@ -26,7 +26,7 @@ vi.mock('@react-native-async-storage/async-storage', () => ({ ) } })) -vi.mock('../transport/hosts/host-store', () => ({ +vi.mock('../host-catalog/host-store', () => ({ loadHosts: async () => [{ id: 'host-a', name: 'Host', endpoint: 'ws://h', lastConnected: 1 }] })) diff --git a/mobile/src/mobile-web-shell/host-root-responsive-content.test.tsx b/mobile/src/mobile-web-shell/host-root-responsive-content.test.tsx deleted file mode 100644 index 2453561a402..00000000000 --- a/mobile/src/mobile-web-shell/host-root-responsive-content.test.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { describe, expect, it, vi } from 'vitest' - -const viewport = vi.hoisted(() => ({ width: 669, height: 951, ownsHostArea: true })) -vi.mock('react-native', () => ({ useWindowDimensions: () => viewport })) -vi.mock('./page-owns-host-area', () => ({ usePageOwnsHostArea: () => viewport.ownsHostArea })) -vi.mock('../host-screen/HostScreen', () => ({ HostScreen: () => createElement('WorkspacePicker') })) -vi.mock('../components/WorkspaceDetailPlaceholder', () => ({ - WorkspaceDetailPlaceholder: () => createElement('WorkspacePlaceholder') -})) - -import HostWorktreeRoute from '../../app/h/[hostId]/index.web' - -describe('host root content across layouts', () => { - it.each([ - { width: 390, height: 844, ownsHostArea: true, expected: 'WorkspacePicker' }, - { width: 669, height: 951, ownsHostArea: true, expected: 'WorkspacePicker' }, - { width: 951, height: 669, ownsHostArea: true, expected: 'WorkspacePlaceholder' }, - { width: 951, height: 669, ownsHostArea: false, expected: 'WorkspacePicker' } - ])('renders $expected at $width with ownership $ownsHostArea', (state) => { - Object.assign(viewport, state) - let tree: ReactTestRenderer | undefined - act(() => { - tree = create(createElement(HostWorktreeRoute)) - }) - expect(tree?.toJSON()).toMatchObject({ type: state.expected }) - act(() => tree?.unmount()) - }) -}) diff --git a/mobile/src/mobile-web-shell/mobile-web-shell-runtime.ts b/mobile/src/mobile-web-shell/mobile-web-shell-runtime.ts index 44e53bfd614..13dcb5edd6e 100644 --- a/mobile/src/mobile-web-shell/mobile-web-shell-runtime.ts +++ b/mobile/src/mobile-web-shell/mobile-web-shell-runtime.ts @@ -1,6 +1,6 @@ import { BRIDGE_READY_RETRY_MAX_MS } from './bridge/bridge-client-init-handshake' -import type { GenerationStore } from './generation-store' -import { processGenerationStore } from './process-generation-store' +import type { GenerationStore } from './generations/generation-store' +import { processGenerationStore } from './generations/process-generation-store' import { setForegroundTimer } from './foreground-timer' import { claimHomeSparePage } from './home-spare-page' import { mintShellSessionId } from './shell-session-id' diff --git a/mobile/src/mobile-web-shell/mobile-web-shell-screen-test-mocks.tsx b/mobile/src/mobile-web-shell/mobile-web-shell-screen-test-mocks.tsx index 9ea090b89aa..ae3c41cfb47 100644 --- a/mobile/src/mobile-web-shell/mobile-web-shell-screen-test-mocks.tsx +++ b/mobile/src/mobile-web-shell/mobile-web-shell-screen-test-mocks.tsx @@ -71,7 +71,7 @@ export function screenModuleMocks(dependencies: ScreenDependencies) { View: 'View', useWindowDimensions: () => ({ width: 390, height: 844 }) }), - // Stub Expo-dependent native handlers; native-clipboard.test.ts covers their behavior. + // Stub Expo-dependent native handlers. 'expo-clipboard': () => ({ setStringAsync: () => Promise.resolve(true), getStringAsync: () => Promise.resolve('') diff --git a/mobile/src/mobile-web-shell/mobile-web-shell-session-contract.ts b/mobile/src/mobile-web-shell/mobile-web-shell-session-contract.ts index 1a6f608e8c2..656adbf6b78 100644 --- a/mobile/src/mobile-web-shell/mobile-web-shell-session-contract.ts +++ b/mobile/src/mobile-web-shell/mobile-web-shell-session-contract.ts @@ -25,6 +25,7 @@ export type MobileWebShellGates = { export type MobileWebShellManifestFacts = MobileWebBundleCompatManifest & { readonly buildId: string + // A download with nothing to reuse, in fetch progress's unit (each brotli copy where read, else asset bytes). readonly totalBytes: number readonly totalAssets: number // Older desktops omit routes and serve none. diff --git a/mobile/src/mobile-web-shell/mobile-web-shell-session-effects.test.ts b/mobile/src/mobile-web-shell/mobile-web-shell-session-effects.test.ts index b023ae70955..b829980919f 100644 --- a/mobile/src/mobile-web-shell/mobile-web-shell-session-effects.test.ts +++ b/mobile/src/mobile-web-shell/mobile-web-shell-session-effects.test.ts @@ -7,6 +7,7 @@ const doubles = vi.hoisted(() => ({ })) vi.mock('expo-file-system', () => ({ Directory: class {}, File: class {}, Paths: { cache: '' } })) +vi.mock('react-native', () => ({ Platform: { OS: 'ios' } })) // The runner's deadlines live in the runtime module, whose foreground timer reads React Native's AppState. vi.mock('./foreground-timer', () => ({ setForegroundTimer: () => () => {} })) vi.mock('../transport/rpc/rpc-operation', () => ({ @@ -20,9 +21,9 @@ vi.mock('../transport/web-bundle/mobile-web-bundle-fetch', () => ({ import type { RpcClient } from '../transport/rpc/rpc-client-contract' import { computeMobileWebBundleId } from '../../../src/shared/mobile-web-bundle/manifest-contract' import type { MobileWebBundleFetchResult } from '../transport/web-bundle/mobile-web-bundle-fetch' -import { createGenerationStore, type GenerationStore } from './generation-store' -import { createFakeGenerationFileSystem } from './generation-file-system-fake' -import { deriveHostCacheKey } from './host-cache-key' +import { createGenerationStore, type GenerationStore } from './generations/generation-store' +import { createFakeGenerationFileSystem } from './generations/generation-file-system-fake' +import { deriveHostCacheKey } from './generations/host-cache-key' import { download } from './mobile-web-shell-session-effects' const CLIENT: RpcClient = { @@ -114,64 +115,6 @@ describe('a download that reuses the cached generation', () => { return done.then(() => events) } - it('writes no staging bytes when canceled while its staging waits in the store queue', async () => { - const fileSystem = createFakeGenerationFileSystem() - const store = createGenerationStore({ fileSystem }) - const NEXT = bundle(16) - const BLOCKER = deriveHostCacheKey('host-b') - let enterBlocker = (): void => {} - const blockerEntered = new Promise((resolve) => { - enterBlocker = resolve - }) - let releaseBlocker = (): void => {} - const blockerReleased = new Promise((resolve) => { - releaseBlocker = resolve - }) - const list = fileSystem.list.bind(fileSystem) - fileSystem.list = async (uri) => { - if (uri.includes(`/${BLOCKER}/`)) { - enterBlocker() - await blockerReleased - } - return list(uri) - } - const writes: string[] = [] - const writeBytes = fileSystem.writeBytes.bind(fileSystem) - fileSystem.writeBytes = async (uri, bytes) => { - writes.push(uri) - await writeBytes(uri, bytes) - } - let blocker: Promise = Promise.resolve() - doubles.fetch = async () => { - blocker = store.readActiveGeneration(BLOCKER) - await blockerEntered - return NEXT - } - let markQueued = (): void => {} - const stageQueued = new Promise((resolve) => { - markQueued = resolve - }) - const downloads = new Set() - const run = runFor( - { - ...store, - stageGeneration: (...args) => { - const staged = store.stageGeneration(...args) - markQueued() - return staged - } - }, - downloads - ) - - await stageQueued - downloads.forEach((controller) => controller.abort()) - releaseBlocker() - await Promise.all([run, blocker]) - - expect(writes.filter((uri) => uri.includes(`/tmp/${NEXT.manifest.buildId}/`))).toEqual([]) - }) - it('stages from the offered snapshot without reopening its manifest after fetch', async () => { const { fileSystem, store } = await cachedStore() doubles.fetch = async () => { diff --git a/mobile/src/mobile-web-shell/mobile-web-shell-session-effects.ts b/mobile/src/mobile-web-shell/mobile-web-shell-session-effects.ts index c5995d21023..257e9af5ad1 100644 --- a/mobile/src/mobile-web-shell/mobile-web-shell-session-effects.ts +++ b/mobile/src/mobile-web-shell/mobile-web-shell-session-effects.ts @@ -1,20 +1,22 @@ import { fetchMobileWebBundle } from '../transport/web-bundle/mobile-web-bundle-fetch' +import { mobileWebBundleStreamBytes } from '../transport/web-bundle/mobile-web-bundle-window-reader' import { mobileWebBundleManifestRead } from '../transport/web-bundle/mobile-web-bundle-operations' -import type { - MobileWebBundleManifestRead, - MobileWebBundleManifestReply +import { + shellDownloadedAssets, + type MobileWebBundleManifestRead, + type MobileWebBundleManifestReply } from '../transport/web-bundle/mobile-web-bundle-reply-schemas' import type { MobileWebBundleCompatManifest } from '../transport/web-bundle/mobile-web-bundle-compat' import { runRpcOperation } from '../transport/rpc/rpc-operation' import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import type { GenerationStore, StagedGeneration } from './generation-store' +import type { GenerationStore, StagedGeneration } from './generations/generation-store' import type { createShellPageDeadline } from './shell-page-deadline' import { DOCUMENT_LOAD_DEADLINE_MS, PAGE_READY_DEADLINE_MS, type MobileWebShellRuntime } from './mobile-web-shell-runtime' -import { generationDirectoryPath } from './generation-store-file-system' +import { generationDirectoryPath } from './generations/generation-store-file-system' import type { CachedGeneration, MobileWebShellSessionEffect, @@ -87,8 +89,9 @@ export async function readManifest( manifest: { ...compatOf(manifest), buildId: manifest.buildId, - totalBytes: manifest.totalBytes, - totalAssets: manifest.assets.length, + // What this shell downloads: wire bytes, without the catalog chunks it skips. + totalBytes: mobileWebBundleStreamBytes(opened), + totalAssets: shellDownloadedAssets(manifest).length, routes: manifest.routes } }) diff --git a/mobile/src/mobile-web-shell/mobile-web-shell-update-failure-log.test.ts b/mobile/src/mobile-web-shell/mobile-web-shell-update-failure-log.test.ts deleted file mode 100644 index cd783473a9d..00000000000 --- a/mobile/src/mobile-web-shell/mobile-web-shell-update-failure-log.test.ts +++ /dev/null @@ -1,103 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { computeMobileWebBundleId } from '../../../src/shared/mobile-web-bundle/manifest-contract' -import type { MobileWebBundleFetchResult } from '../transport/web-bundle/mobile-web-bundle-fetch' -import { createFakeGenerationFileSystem } from './generation-file-system-fake' -import { createGenerationStore } from './generation-store' -import { deriveHostCacheKey } from './host-cache-key' -import type { MobileWebShellUpdateFailure } from './mobile-web-shell-update-failure' -import { appendUpdateFailure } from './mobile-web-shell-update-failure-log' - -const LOG = 'update-failures.json' - -function failure(hostId: string, at: number): MobileWebShellUpdateFailure { - return { - hostId, - at, - reason: 'asset-checksum-mismatch', - hostCode: null, - offeredBuildId: 'c'.repeat(64), - cachedBuildId: 'b'.repeat(64), - outcome: 'opened-cached', - wall: null - } -} - -describe('appendUpdateFailure', () => { - it('drops a build id that is not a digest rather than keep host text', () => { - const [entry] = appendUpdateFailure([], { - ...failure('host-1', 0), - offeredBuildId: 'https://host/?token=SECRET' - }) - expect(entry?.offeredBuildId).toBeNull() - }) -}) - -describe('the generation store keeps the log', () => { - it('writes, reads back and survives a relaunch', async () => { - const fileSystem = createFakeGenerationFileSystem() - await createGenerationStore({ fileSystem }).recordUpdateFailure(failure('host-1', 5)) - expect(await createGenerationStore({ fileSystem }).readUpdateFailures()).toEqual([ - failure('host-1', 5) - ]) - }) - - it("forgets one host's records and leaves the others", async () => { - const fileSystem = createFakeGenerationFileSystem() - const store = createGenerationStore({ fileSystem }) - await store.recordUpdateFailure(failure('host-1', 1)) - await store.recordUpdateFailure(failure('host-2', 2)) - await store.forgetHostUpdateFailures('host-1') - expect((await store.readUpdateFailures()).map((entry) => entry.hostId)).toEqual(['host-2']) - await store.forgetHostUpdateFailures('host-2') - expect(fileSystem.text(LOG)).toBeNull() - }) - - it("outlives the host's own cache, which a recovery deletes", async () => { - const fileSystem = createFakeGenerationFileSystem() - const store = createGenerationStore({ fileSystem }) - const host = deriveHostCacheKey('host-1') - const assets = [ - { path: 'index.html', sha256: '1'.repeat(64), byteLength: 1, contentType: 'text/html' } - ] - const buildId = computeMobileWebBundleId(assets) - const bundle: MobileWebBundleFetchResult = { - manifest: { - schemaVersion: 1, - buildId, - minCompatibleRuntimeProtocolVersion: 2, - runtimeProtocolVersion: 2, - entrypoint: 'index.html', - totalBytes: 1, - assets - }, - assets: new Map([['index.html', new Uint8Array(1)]]), - reused: [], - totalBytes: 1, - elapsedMs: 1 - } - await store.commitGeneration(await store.stageGeneration(host, bundle)) - expect((await store.readActiveGeneration(host))?.buildId).toBe(buildId) - expect(fileSystem.paths()).toContain(`${host}/generations/${buildId}/manifest.json`) - expect(fileSystem.bytes(`${host}/generations/${buildId}/index.html`)).toEqual(new Uint8Array(1)) - const recorded = failure('host-1', 1) - await store.recordUpdateFailure(recorded) - await store.deleteHostCache(host) - expect(fileSystem.paths().some((path) => path === host || path.startsWith(`${host}/`))).toBe( - false - ) - expect(await store.readActiveGeneration(host)).toBeNull() - expect(await store.readUpdateFailures()).toEqual([recorded]) - }) - - it('reads a corrupt log as empty and keeps the entries that still parse', async () => { - const fileSystem = createFakeGenerationFileSystem() - const store = createGenerationStore({ fileSystem }) - await fileSystem.writeText(`${fileSystem.rootUri}/${LOG}`, '{not json') - expect(await store.readUpdateFailures()).toEqual([]) - await fileSystem.writeText( - `${fileSystem.rootUri}/${LOG}`, - JSON.stringify([failure('host-1', 1), { ...failure('host-1', 2), url: 'wss://x/?t=1' }]) - ) - expect(await store.readUpdateFailures()).toEqual([failure('host-1', 1)]) - }) -}) diff --git a/mobile/src/mobile-web-shell/page-safe-area-insets.test.ts b/mobile/src/mobile-web-shell/page-safe-area-insets.test.ts index dd7db85c9e9..fd8236480ea 100644 --- a/mobile/src/mobile-web-shell/page-safe-area-insets.test.ts +++ b/mobile/src/mobile-web-shell/page-safe-area-insets.test.ts @@ -78,11 +78,6 @@ describe('window-authoritative page insets', () => { }) }) - it('uses the existing behavior until geometry arrives, including old native modules', () => { - expect(measuredPageSafeAreaInsets(undefined, pageFrame, nestedInsets)).toBe(nestedInsets) - expect(measuredPageSafeAreaInsets(windowSafeArea, null, nestedInsets)).toBe(nestedInsets) - }) - it('bounds untrusted geometry and logs a malformed producer before falling back', () => { const warn = vi.spyOn(console, 'warn').mockImplementation(() => undefined) try { diff --git a/mobile/src/mobile-web-shell/shell-bridge-log-lines.test.ts b/mobile/src/mobile-web-shell/shell-bridge-log-lines.test.ts deleted file mode 100644 index 243dda5d9b5..00000000000 --- a/mobile/src/mobile-web-shell/shell-bridge-log-lines.test.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { bridgeDiagnosticLine, frameWithoutHostLine } from './shell-bridge-log-lines' - -describe('shell bridge log lines', () => { - it('skips routine bridge kinds and names the specific failure for the rest', () => { - expect( - bridgeDiagnosticLine({ - kind: 'terminal-backlog', - id: 't', - coalescedFrames: 0, - deliveredFrames: 0, - peakPendingBytes: 0, - ended: null - }) - ).toBeNull() - expect( - bridgeDiagnosticLine({ kind: 'notify-refused', name: 'fault', why: 'ungranted' }) - ).toEqual({ - level: 'warn', - code: 'web-shell-bridge', - message: 'Web shell bridge: notify-refused', - detail: 'ungranted' - }) - const gone = new Error('view gone') - gone.name = 'BridgeViewGoneError' - expect(bridgeDiagnosticLine({ kind: 'post-failed', error: gone })?.detail).toBe( - 'error=BridgeViewGoneError' - ) - expect(bridgeDiagnosticLine({ kind: 'post-failed', error: 'nope' })?.detail).toBe( - 'error=string' - ) - expect( - bridgeDiagnosticLine({ kind: 'route-refused', issue: 'Invalid path /Users/bob/wt' })?.detail - ).toBe('issue=Invalid path [path]') - }) - - it('says which half a frame with no bridge host was waiting on', () => { - expect(frameWithoutHostLine({ clientReady: false, snapshotReady: true })).toEqual({ - level: 'warn', - code: 'web-shell-page', - message: 'Web shell: page frame with no bridge host', - detail: 'client=null snapshot=ok' - }) - }) -}) diff --git a/mobile/src/mobile-web-shell/use-app-leaves-foreground.ts b/mobile/src/mobile-web-shell/use-app-leaves-foreground.ts index 41306009caa..2a439d8c3fc 100644 --- a/mobile/src/mobile-web-shell/use-app-leaves-foreground.ts +++ b/mobile/src/mobile-web-shell/use-app-leaves-foreground.ts @@ -1,5 +1,5 @@ import { useEffect, useLayoutEffect, useRef } from 'react' -import { AppState } from 'react-native' +import { AppState, Platform } from 'react-native' /** * Calls `onLeave` once each time the app leaves the foreground, before the system can kill it from the app @@ -29,13 +29,17 @@ export function useAppLeavesForeground(onLeave: () => void): void { const change = AppState.addEventListener('change', (next) => next === 'active' ? back() : leave() ) - // Window focus events come from Android only. - const blur = AppState.addEventListener('blur', leave) - const focus = AppState.addEventListener('focus', back) + // Window focus events come from Android only; iOS's RCTAppState rejects the subscription outright + // (a red screen in development), so it is never made there. + const windowFocus = + Platform.OS === 'android' + ? [AppState.addEventListener('blur', leave), AppState.addEventListener('focus', back)] + : [] return () => { change.remove() - blur.remove() - focus.remove() + for (const subscription of windowFocus) { + subscription.remove() + } } }, []) } diff --git a/mobile/src/mobile-web-shell/use-mobile-web-shell-session.test.ts b/mobile/src/mobile-web-shell/use-mobile-web-shell-session.test.ts index c5b70b1822f..1ff5d92c198 100644 --- a/mobile/src/mobile-web-shell/use-mobile-web-shell-session.test.ts +++ b/mobile/src/mobile-web-shell/use-mobile-web-shell-session.test.ts @@ -7,7 +7,11 @@ import type { MobileWebBundleFetchResult } from '../transport/web-bundle/mobile-web-bundle-fetch' import type { MobileWebBundleManifestRead } from '../transport/web-bundle/mobile-web-bundle-reply-schemas' -import type { ActiveGeneration, GenerationStore, StagedGeneration } from './generation-store' +import type { + ActiveGeneration, + GenerationStore, + StagedGeneration +} from './generations/generation-store' import type { DownloadProgressFeed } from './download-progress-feed' import type { MobileWebShellSessionState } from './mobile-web-shell-session-contract' import '../transport/rpc/rpc-delivery-ambiguity' @@ -205,7 +209,6 @@ function createFakeStore(): { } } -// Use recorded timers so deadline tests assert requested delays without wall-clock waits. type ArmedTimer = { delayMs: number; run: () => void; cancelled: boolean } function createTimerSeam() { @@ -347,7 +350,6 @@ async function flush(): Promise { await act(async () => undefined) } -// Entry import failures can finish WebView load without mounting a boundary or sending ready; the deadline must recover that silent blank page. describe('the wait for the page to speak', () => { beforeEach(() => { doubles.manifestReads = 0 @@ -358,24 +360,6 @@ describe('the wait for the page to speak', () => { doubles.gates.hostCapabilities = [MOBILE_WEB_BUNDLE_CAPABILITY] }) - async function ready(fake = createFakeStore()): Promise { - const mounted = await mount(fake.store) - fake.settleCacheRead(activeGeneration()) - await flush() - expect(mounted.states().at(-1)?.kind).toBe('ready') - return mounted - } - - // A remount mints the replacement's session before React commits it; reports the retired view already queued must not land on it. - it('does not charge a second fault from the retired view to its replacement', async () => { - const mounted = await ready() - await act(async () => { - mounted.shellFailed('document-load-failed') - mounted.shellFailed('document-load-failed') - }) - expect(mounted.states().at(-1)?.kind).toBe('ready') - }) - it('opens a page Home booted under its session id, and remounts under a fresh one', async () => { const fake = createFakeStore() const mounted = await mount(fake.store, undefined, async () => 'home-spare') @@ -389,21 +373,6 @@ describe('the wait for the page to speak', () => { expect(mounted.states().at(-1)).toMatchObject({ kind: 'ready', sessionId: 'session-1' }) }) - it('stays ready when the page speaks after document load and the timers fire', async () => { - const mounted = await ready() - await act(async () => { - mounted.documentLoaded() - mounted.pageReady() - }) - await act(async () => { - mounted.timers.fire() - }) - expect(mounted.states().at(-1)?.kind).toBe('ready') - await act(async () => { - mounted.tree.unmount() - }) - }) - it('re-arms a session the route rebuilt, with the host and its gates unchanged', async () => { // A route change rebuilds the session too; re-arm gates even if their verdict did not change. const fake = createFakeStore() @@ -454,5 +423,3 @@ describe('the wait for the page to speak', () => { }) }) }) - -// RN holds timers while backgrounded and fires overdue ones on resume, before the suspended WebView has loaded anything. diff --git a/mobile/src/mobile-web-shell/use-mobile-web-shell-session.ts b/mobile/src/mobile-web-shell/use-mobile-web-shell-session.ts index ab448fb5e17..9c85c0aa08c 100644 --- a/mobile/src/mobile-web-shell/use-mobile-web-shell-session.ts +++ b/mobile/src/mobile-web-shell/use-mobile-web-shell-session.ts @@ -6,8 +6,8 @@ import { downloadFraction, type DownloadProgressFeed } from './download-progress-feed' -import type { GenerationStore } from './generation-store' -import { deriveHostCacheKey } from './host-cache-key' +import type { GenerationStore } from './generations/generation-store' +import { deriveHostCacheKey } from './generations/host-cache-key' import { runShellEffect, type FlowManifest } from './mobile-web-shell-session-effects' import { documentMayTalk } from './mobile-web-shell-gates' import { readMobileWebShellReachability } from './mobile-web-shell-reachability' diff --git a/mobile/src/mobile-web-shell/use-page-host-snapshot.test.tsx b/mobile/src/mobile-web-shell/use-page-host-snapshot.test.tsx index 98b98f51dfd..0d9b3956c08 100644 --- a/mobile/src/mobile-web-shell/use-page-host-snapshot.test.tsx +++ b/mobile/src/mobile-web-shell/use-page-host-snapshot.test.tsx @@ -46,7 +46,7 @@ vi.mock('@react-native-async-storage/async-storage', () => ({ getItem: async (key: string) => doubles.store.get(key) ?? null } })) -vi.mock('../transport/hosts/host-store', () => ({ +vi.mock('../host-catalog/host-store', () => ({ loadHosts: async () => { if (doubles.hostsReject) { throw new Error('the keychain would not answer') diff --git a/mobile/src/mobile-web-shell/use-page-host-snapshot.ts b/mobile/src/mobile-web-shell/use-page-host-snapshot.ts index bfba2b5ac7f..55a30b6e8bb 100644 --- a/mobile/src/mobile-web-shell/use-page-host-snapshot.ts +++ b/mobile/src/mobile-web-shell/use-page-host-snapshot.ts @@ -1,5 +1,5 @@ import { useCallback, useEffect, useRef, useState } from 'react' -import { loadHosts } from '../transport/hosts/host-store' +import { loadHosts } from '../host-catalog/host-store' import type { BridgeInitHost } from './bridge/bridge-envelope' import { hydrateMirroredStorage, diff --git a/mobile/src/navigation/workspace-route-handoff.test.tsx b/mobile/src/navigation/workspace-route-handoff.test.tsx index 2a30994865e..f1c67061279 100644 --- a/mobile/src/navigation/workspace-route-handoff.test.tsx +++ b/mobile/src/navigation/workspace-route-handoff.test.tsx @@ -84,9 +84,4 @@ describe('a workspace screen’s router', () => { ['back'] ]) }) - - it('is the plain router in the desktop’s own workspaces', async () => { - const router = await workspaceRouterFor({}) - expect(router).toBe(route.router) - }) }) diff --git a/mobile/src/new-workspace/NewWorkspaceHostPicker.tsx b/mobile/src/new-workspace/NewWorkspaceHostPicker.tsx index 4fdc22c2acf..b9d5cb446bf 100644 --- a/mobile/src/new-workspace/NewWorkspaceHostPicker.tsx +++ b/mobile/src/new-workspace/NewWorkspaceHostPicker.tsx @@ -3,9 +3,9 @@ import { useRouter } from 'expo-router' import { PickerModal } from '../components/PickerModal' import { useMobileTranslation } from '../i18n/use-mobile-translation' import { hostPickerOptions } from '../components/use-connected-host-picker' -import { selectConnectableHostProfiles } from '../transport/hosts/host-catalog-selection' -import { loadHostCatalog } from '../transport/hosts/host-store' -import type { HostProfile } from '../transport/hosts/host-profile' +import { selectConnectableHostProfiles } from '../host-catalog/host-catalog-selection' +import { loadHostCatalog } from '../host-catalog/host-store' +import type { HostProfile } from '../host-catalog/host-profile' // Keep picker and loading drawer in the overlay’s window so the load can start as selection leaves. export function NewWorkspaceHostPicker({ diff --git a/mobile/src/notifications/host-push-registration-state.ts b/mobile/src/notifications/host-push-registration-state.ts index bd7385d568b..30c739f318f 100644 --- a/mobile/src/notifications/host-push-registration-state.ts +++ b/mobile/src/notifications/host-push-registration-state.ts @@ -1,8 +1,8 @@ -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' export type HostPushState = { connection: { - client: RpcOperationSender | null + client: UnvalidatedRpcRequestPort | null support: ReturnType | null } // An unanswered probe is unknown, not unsupported. diff --git a/mobile/src/notifications/mobile-notifications.ts b/mobile/src/notifications/mobile-notifications.ts index a8bee3af321..1200887b82b 100644 --- a/mobile/src/notifications/mobile-notifications.ts +++ b/mobile/src/notifications/mobile-notifications.ts @@ -4,7 +4,7 @@ import type { DismissNotificationEvent } from './desktop-notification-events' import type { RpcClient } from '../transport/rpc/rpc-client-contract' import { waitForPushFallback } from './push-fallback' import { getHostPushSupported, getHostPushSupportCompletion } from './push-registration' -import { loadHostCatalog } from '../transport/hosts/host-store' +import { loadHostCatalog } from '../host-catalog/host-store' import { deriveHostFingerprint } from './push-host-fingerprint' import { presentForegroundPush } from './android-foreground-push' import { diff --git a/mobile/src/notifications/mobile-push-registration-operations.ts b/mobile/src/notifications/mobile-push-registration-operations.ts index c9ff7f995e9..6c7f76ae8dd 100644 --- a/mobile/src/notifications/mobile-push-registration-operations.ts +++ b/mobile/src/notifications/mobile-push-registration-operations.ts @@ -1,3 +1,9 @@ +import type { + MobilePushFilter, + MobilePushRegisterInput +} from '../../../src/shared/mobile-push-contract' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' +import type { MobilePushToken } from './push-token' import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc/rpc-operation' import { rpcResultVariant } from '../transport/rpc/rpc-operation-result-reader' import { @@ -26,3 +32,36 @@ export const pushRouteUnregister = bindDeferredRpcOperation( read: rpcResultVariant('push-unregistered', notificationUnreadReplySchema) }) ) + +const REQUEST_TIMEOUT_MS = 5_000 + +export async function sendRegister( + client: UnvalidatedRpcRequestPort, + token: MobilePushToken, + filter: MobilePushFilter +): Promise { + const params: Omit = { + platform: token.platform, + token: token.token, + ...(token.apnsEnvironment ? { apnsEnvironment: token.apnsEnvironment } : {}), + filter + } + const reply = await pushRouteRegister + .request(client, params, { timeoutMs: REQUEST_TIMEOUT_MS, failWhenDisconnected: true }) + .catch(() => null) + const registration = reply && pushRouteRegister.interpret(reply) + if (!registration?.accepted) { + return false + } + return registration.value?.registered === true +} + +export async function sendUnregister( + client: UnvalidatedRpcRequestPort, + timeoutMs: number +): Promise { + const reply = await pushRouteUnregister + .request(client, null, { timeoutMs, failWhenDisconnected: true }) + .catch(() => null) + return reply !== null && pushRouteUnregister.interpret(reply).accepted +} diff --git a/mobile/src/notifications/native-push-dismissal.test.ts b/mobile/src/notifications/native-push-dismissal.test.ts deleted file mode 100644 index 73c96495300..00000000000 --- a/mobile/src/notifications/native-push-dismissal.test.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { beforeEach, expect, it, vi } from 'vitest' - -const requireNativeModule = vi.hoisted(() => vi.fn()) -vi.mock('expo-modules-core', () => ({ requireNativeModule })) - -beforeEach(() => { - vi.resetModules() - requireNativeModule.mockReset() -}) - -it('requires the iOS ledger and surfaces a missing native module as a build defect', async () => { - requireNativeModule.mockImplementation(() => { - throw new Error('Cannot find native module OrcaNotificationDismissal') - }) - await expect(import('./native-push-dismissal.ios')).rejects.toThrow( - 'Cannot find native module OrcaNotificationDismissal' - ) -}) - -it('does not load an iOS module on the default Android/web path', async () => { - expect((await import('./native-push-dismissal')).nativePushDismissal).toBeNull() - expect(requireNativeModule).not.toHaveBeenCalled() -}) diff --git a/mobile/src/notifications/notification-reply-schema.test.ts b/mobile/src/notifications/notification-reply-schema.test.ts deleted file mode 100644 index 78f4f1e6fc2..00000000000 --- a/mobile/src/notifications/notification-reply-schema.test.ts +++ /dev/null @@ -1,101 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { z } from 'zod' -import { - missedNotificationsSchema, - notificationUnreadReplySchema, - PUSH_REGISTER_REFUSAL_REASONS, - PUSH_TEST_REFUSAL_REASONS, - pushDeliveryTestResultSchema, - pushRouteRegistrationSchema -} from './notification-reply-schema' - -function reads(schema: z.ZodType, value: unknown): T { - const parsed = schema.safeParse(value) - if (!parsed.success) { - throw new Error(`expected a readable reply: ${parsed.error.message}`) - } - return parsed.data -} - -function refuses(schema: z.ZodType, value: unknown): boolean { - return !schema.safeParse(value).success -} - -describe('notification replies tolerate the shapes their call sites guard', () => { - it('reads a test-push reply the screen reaches through optional chaining', () => { - expect(reads(pushDeliveryTestResultSchema, { accepted: true })?.accepted).toBe(true) - expect(reads(pushDeliveryTestResultSchema, null)).toBe(null) - expect(reads(pushDeliveryTestResultSchema, undefined)).toBe(undefined) - expect(reads(pushDeliveryTestResultSchema, { error: 'refused' })?.accepted).toBe(undefined) - }) - - // Schema refusal would replace the screen’s generic send-failure copy with a parser error. - it('reads a non-object test-push result as absent, which takes the generic copy', () => { - for (const value of ['garbage', 7, true, []]) { - expect(refuses(pushDeliveryTestResultSchema, value)).toBe(false) - const result = reads(pushDeliveryTestResultSchema, value) - expect(result?.accepted).toBe(undefined) - expect(result?.reason).toBe(undefined) - } - }) - - it('reads a registration reply the reconciler reaches through optional chaining', () => { - expect(reads(pushRouteRegistrationSchema, { registered: true })?.registered).toBe(true) - expect(reads(pushRouteRegistrationSchema, null)).toBe(null) - expect(reads(pushRouteRegistrationSchema, { registered: 'yes' })?.registered).toBe(undefined) - }) - - it('takes every reply at the two sites whose body nothing reads', () => { - expect(refuses(notificationUnreadReplySchema, undefined)).toBe(false) - expect(refuses(notificationUnreadReplySchema, null)).toBe(false) - expect(refuses(notificationUnreadReplySchema, 'anything')).toBe(false) - }) -}) - -describe('closed enums degrade to the copy main showed', () => { - it('keeps a reason the screen branches on and drops one it does not know', () => { - expect( - reads(pushDeliveryTestResultSchema, { accepted: false, reason: 'rate_limited' })?.reason - ).toBe('rate_limited') - expect( - reads(pushDeliveryTestResultSchema, { accepted: false, reason: 'not_registered' })?.reason - ).toBe('not_registered') - expect(reads(pushDeliveryTestResultSchema, { accepted: false, reason: 'quota' })?.reason).toBe( - undefined - ) - }) - - it('keeps a registration reason and drops an unknown one', () => { - const reply = { registered: false, reason: 'throttled' } - expect(reads(pushRouteRegistrationSchema, reply)?.reason).toBe('throttled') - expect( - reads(pushRouteRegistrationSchema, { registered: false, reason: 'moon-phase' })?.reason - ).toBe(undefined) - }) - - // Host-pinned unions cover every arm; these loops prove each survives parsing. - it('keeps every refusal reason the host declares for either route', () => { - for (const reason of PUSH_TEST_REFUSAL_REASONS) { - expect(reads(pushDeliveryTestResultSchema, { accepted: false, reason })?.reason).toBe(reason) - } - for (const reason of PUSH_REGISTER_REFUSAL_REASONS) { - expect(reads(pushRouteRegistrationSchema, { registered: false, reason })?.reason).toBe(reason) - } - }) -}) - -describe('dismissal rows stay opaque', () => { - it('keeps every row for readPushNotificationIdentity to judge', () => { - const rows = [{ notificationId: 'n-1' }, 'not-a-row', 7] - expect(reads(missedNotificationsSchema, { dismissedPushes: rows })?.dismissedPushes).toEqual( - rows - ) - }) - - it('drops a dismissedPushes that is not an array, as Array.isArray did', () => { - expect(reads(missedNotificationsSchema, { dismissedPushes: 'all' })?.dismissedPushes).toBe( - undefined - ) - expect(reads(missedNotificationsSchema, null)).toBe(null) - }) -}) diff --git a/mobile/src/notifications/notification-routing.ts b/mobile/src/notifications/notification-routing.ts index 51a81548b0a..a083798e327 100644 --- a/mobile/src/notifications/notification-routing.ts +++ b/mobile/src/notifications/notification-routing.ts @@ -1,7 +1,7 @@ import { parseExecutionHostId } from '../../../src/shared/execution-host' import type { HostStackRouteTarget } from '../navigation/host-stack-navigation' import { mobileSessionRouteTarget } from '../session/mobile-session-route' -import type { HostCredentialStatus } from '../transport/hosts/host-profile' +import type { HostCredentialStatus } from '../host-catalog/host-profile' export type NotificationNavigationOptions = { knownHostIds?: ReadonlySet diff --git a/mobile/src/notifications/push-dismissal-reconciliation.ts b/mobile/src/notifications/push-dismissal-reconciliation.ts index 6f5c0a5457a..5a77d259d17 100644 --- a/mobile/src/notifications/push-dismissal-reconciliation.ts +++ b/mobile/src/notifications/push-dismissal-reconciliation.ts @@ -1,6 +1,6 @@ import * as Notifications from 'expo-notifications' import { pushMissedSinceRead, type MobilePushDismissalRpcSender } from './push-dismissal-operations' -import { loadHostCatalog } from '../transport/hosts/host-store' +import { loadHostCatalog } from '../host-catalog/host-store' import { resolveHostIdForFingerprint } from './push-host-fingerprint' import { readNativeNotificationData } from './native-notification-data' import { readOrcaPushPayload, type OrcaPushPayload } from './push-payload' diff --git a/mobile/src/notifications/push-dismissal-watermarks.test.ts b/mobile/src/notifications/push-dismissal-watermarks.test.ts index 8cf4aaceabf..ee92ef9e02c 100644 --- a/mobile/src/notifications/push-dismissal-watermarks.test.ts +++ b/mobile/src/notifications/push-dismissal-watermarks.test.ts @@ -38,16 +38,6 @@ it('persists dismissal through restart while preserving newer alerts and other h expect(await restarted.wasPushDismissed({ ...payload, notificationEpoch: 'epoch-b' })).toBe(false) }) -it('serializes concurrent dismissals and never lowers a watermark', async () => { - await Promise.all([ - rememberPushDismissal({ ...payload, notificationSeq: 5 }), - rememberPushDismissal(payload), - rememberPushDismissal({ ...payload, notificationId: 'other' }) - ]) - expect(await wasPushDismissed({ ...payload, notificationSeq: 5 })).toBe(true) - expect(await wasPushDismissed({ ...payload, notificationId: 'other' })).toBe(true) -}) - it('merges batched and concurrent fences without lowering duplicates or accepting invalid ones', async () => { await rememberPushDismissal({ ...payload, notificationSeq: 5 }) await Promise.all([ diff --git a/mobile/src/notifications/push-receive.test.ts b/mobile/src/notifications/push-receive.test.ts index 9c1b8832c9c..e7d93268bb5 100644 --- a/mobile/src/notifications/push-receive.test.ts +++ b/mobile/src/notifications/push-receive.test.ts @@ -4,8 +4,8 @@ import { setNotificationViewingWorkspace } from './notification-viewing-policy' vi.mock('./push-tray-dismissal', () => ({ dismissPresentedPushNotification: vi.fn() })) import { beforeEach, describe, expect, it, vi } from 'vitest' import { sha256 } from '@noble/hashes/sha256' -import { loadHostCatalog } from '../transport/hosts/host-store' -import type { HostCatalogEntry } from '../transport/hosts/host-profile' +import { loadHostCatalog } from '../host-catalog/host-store' +import type { HostCatalogEntry } from '../host-catalog/host-profile' import { foregroundNotificationBehavior, @@ -19,7 +19,7 @@ async function shouldSuppressForegroundPush(data: unknown): Promise { } vi.mock('react-native', () => ({ AppState: { currentState: 'background' } })) -vi.mock('../transport/hosts/host-store', () => ({ loadHostCatalog: vi.fn() })) +vi.mock('../host-catalog/host-store', () => ({ loadHostCatalog: vi.fn() })) const storage = vi.hoisted(() => new Map()) vi.mock('@react-native-async-storage/async-storage', () => ({ default: { diff --git a/mobile/src/notifications/push-receive.ts b/mobile/src/notifications/push-receive.ts index 44a64e05e09..15d07022d14 100644 --- a/mobile/src/notifications/push-receive.ts +++ b/mobile/src/notifications/push-receive.ts @@ -2,7 +2,7 @@ import { wasPushDismissed } from './push-dismissal-watermarks' import { dismissPresentedPushNotification } from './push-tray-dismissal' import { shouldSuppressNotificationWhileViewing } from './notification-viewing-policy' import { loadPushNotificationsEnabled } from '../storage/preferences' -import { loadHostCatalog } from '../transport/hosts/host-store' +import { loadHostCatalog } from '../host-catalog/host-store' import { resolveHostIdForFingerprint } from './push-host-fingerprint' import { readOrcaPushPayload, type OrcaPushPayload } from './push-payload' import type { NotificationBehavior } from 'expo-notifications' diff --git a/mobile/src/notifications/push-registration.ts b/mobile/src/notifications/push-registration.ts index 5c8267a49d4..853f0329894 100644 --- a/mobile/src/notifications/push-registration.ts +++ b/mobile/src/notifications/push-registration.ts @@ -13,14 +13,10 @@ import { saveNotificationDeliveryPreferences, type NotificationDeliveryPreferences } from './notification-delivery-preferences' -import type { - MobilePushFilter, - MobilePushRegisterInput -} from '../../../src/shared/mobile-push-contract' import { NOTIFICATIONS_REMOTE_PUSH_RUNTIME_CAPABILITY } from '../../../src/shared/protocol-version' -import type { RpcOperationSender as PushClient } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' import { startRuntimeCapabilityProbe } from '../transport/connection/runtime-capability-probe' -import { pushRouteRegister, pushRouteUnregister } from './mobile-push-registration-operations' +import { sendRegister, sendUnregister } from './mobile-push-registration-operations' import { loadPushNotificationsEnabled, loadRemotePushHostRegistrations, @@ -44,7 +40,7 @@ export function getHostPushSupported(hostId: string): boolean | null { } export function getHostPushSupportCompletion( hostId: string, - client: PushClient + client: UnvalidatedRpcRequestPort ): HostPushSupportCompletion | null { const connection = hostsById.get(hostId)?.connection return connection?.client === client ? connection.support : null @@ -98,34 +94,6 @@ async function currentToken(): Promise { return tokenPromise } -async function sendRegister( - client: PushClient, - token: MobilePushToken, - filter: MobilePushFilter -): Promise { - const params: Omit = { - platform: token.platform, - token: token.token, - ...(token.apnsEnvironment ? { apnsEnvironment: token.apnsEnvironment } : {}), - filter - } - const reply = await pushRouteRegister - .request(client, params, { timeoutMs: REQUEST_TIMEOUT_MS, failWhenDisconnected: true }) - .catch(() => null) - const registration = reply && pushRouteRegister.interpret(reply) - if (!registration?.accepted) { - return false - } - return registration.value?.registered === true -} - -async function sendUnregister(client: PushClient, timeoutMs: number): Promise { - const reply = await pushRouteUnregister - .request(client, null, { timeoutMs, failWhenDisconnected: true }) - .catch(() => null) - return reply !== null && pushRouteUnregister.interpret(reply).accepted -} - async function reconcileHost(hostId: string): Promise { const state = hostsById.get(hostId) const client = state?.connection.client @@ -222,7 +190,10 @@ async function reconcileAllHosts(): Promise { } // Keep tracked host intent across disconnects; this disposer detaches only its current connected client. -export function attachPushRegistration(hostId: string, client: PushClient): () => void { +export function attachPushRegistration( + hostId: string, + client: UnvalidatedRpcRequestPort +): () => void { const state = hostState(hostId) if (state.connection.client !== client) { state.capabilityProbeStop?.() diff --git a/mobile/src/notifications/push-socket-dismissal.ts b/mobile/src/notifications/push-socket-dismissal.ts index 16a3b560db2..84f548684b8 100644 --- a/mobile/src/notifications/push-socket-dismissal.ts +++ b/mobile/src/notifications/push-socket-dismissal.ts @@ -1,4 +1,4 @@ -import { loadHostCatalog } from '../transport/hosts/host-store' +import { loadHostCatalog } from '../host-catalog/host-store' import { deriveHostFingerprint } from './push-host-fingerprint' import { dismissPresentedPushNotification } from './push-tray-dismissal' import type { DismissNotificationEvent } from './desktop-notification-events' diff --git a/mobile/src/notifications/use-remote-push-capable-hosts.ts b/mobile/src/notifications/use-remote-push-capable-hosts.ts index db86e9d08b2..f7ff991cff1 100644 --- a/mobile/src/notifications/use-remote-push-capable-hosts.ts +++ b/mobile/src/notifications/use-remote-push-capable-hosts.ts @@ -1,5 +1,5 @@ import { useEffect, useRef, useState } from 'react' -import { loadHostCatalog } from '../transport/hosts/host-store' +import { loadHostCatalog } from '../host-catalog/host-store' import type { RpcClient } from '../transport/rpc/rpc-client-contract' import { startRuntimeCapabilityProbe } from '../transport/connection/runtime-capability-probe' import { useAllHostClients } from '../transport/connection/use-all-host-clients' diff --git a/mobile/src/onboarding/MobileOnboardingPage.test.ts b/mobile/src/onboarding/MobileOnboardingPage.test.ts index c2dd34aa2ab..48612248143 100644 --- a/mobile/src/onboarding/MobileOnboardingPage.test.ts +++ b/mobile/src/onboarding/MobileOnboardingPage.test.ts @@ -2,7 +2,7 @@ import { createElement, type ReactNode } from 'react' import { act, create, type ReactTestRenderer } from 'react-test-renderer' import { afterEach, describe, expect, it, vi } from 'vitest' import { MobileOnboardingPage } from './MobileOnboardingPage' -import { findAllByHostType, findByHostType } from '../test-support/react-test-renderer-host-nodes' +import { findByHostType } from '../test-support/react-test-renderer-host-nodes' vi.mock('react-native', async () => { const React = await import('react') @@ -87,12 +87,6 @@ describe('MobileOnboardingPage', () => { ) } - function collectText(): string { - return findAllByHostType(renderer!.root, 'Text') - .flatMap((node) => node.props.children) - .join(' ') - } - it('renders the session choices and sends exactly one selected view', async () => { const callbacks = await renderPage('session-view') @@ -109,19 +103,6 @@ describe('MobileOnboardingPage', () => { expect(callbacks.onSessionChoice).not.toHaveBeenCalled() }) - it('explains that alerts cover finished work and waiting agents, even if the app is closed', async () => { - await renderPage('notifications') - const copy = collectText() - - expect(copy).toContain('Don’t miss when an agent needs you') - expect(copy).toContain('finishes or is waiting') - expect(copy).toContain('using the app') - expect(copy).toContain('Enable notifications') - expect(copy).toContain('Codex finished') - expect(copy).toContain('Claude needs input') - expect(renderer!.root.findByProps({ testID: 'notification-onboarding-preview' })).toBeTruthy() - }) - it('disables both notification choices while permission is pending', async () => { await renderPage('notifications', { busyChoice: 'enable' }) const enable = button('Enable agent notifications') diff --git a/mobile/src/pairing/mobile-relay-pairing-journal-store.ts b/mobile/src/pairing/mobile-relay-pairing-journal-store.ts index bc885969b67..cbd96e1289c 100644 --- a/mobile/src/pairing/mobile-relay-pairing-journal-store.ts +++ b/mobile/src/pairing/mobile-relay-pairing-journal-store.ts @@ -11,7 +11,7 @@ import { readPairingKeychainItem, resetPairingKeychainForTests, writePairingKeychainItem -} from '../transport/hosts/pairing-keychain' +} from '../host-credentials/pairing-keychain' const JOURNAL_STORAGE_KEY = 'orca:mobile-relay:pairing-journal:v1' const JOURNAL_SECRET_KEY = 'orca.mobile-relay.pairing-journal.v1' diff --git a/mobile/src/pairing/mobile-relay-pairing-recovery.test.ts b/mobile/src/pairing/mobile-relay-pairing-recovery.test.ts index 648a53fd90b..7ad28633fff 100644 --- a/mobile/src/pairing/mobile-relay-pairing-recovery.test.ts +++ b/mobile/src/pairing/mobile-relay-pairing-recovery.test.ts @@ -1,5 +1,5 @@ import { beforeEach, describe, expect, it, vi } from 'vitest' -import type { MobileRelayCredentialBundle } from '../transport/hosts/mobile-relay-credential-bundle' +import type { MobileRelayCredentialBundle } from '../host-credentials/mobile-relay-credential-bundle' import { createMobileRelayPairingJournal } from './mobile-relay-pairing-journal' import { recoverMobileRelayPairing, @@ -10,7 +10,7 @@ import type { connectMobileRelayForPairing, PairingCandidateClient } from './mobile-relay-physical-client' -import type { HostProfile } from '../transport/hosts/host-profile' +import type { HostProfile } from '../host-catalog/host-profile' import type { RpcResponse } from '../transport/rpc/rpc-wire-types' import type { PairingOffer } from '../../../src/shared/remote-runtime/pairing/mobile-relay-pairing-offer' diff --git a/mobile/src/pairing/mobile-relay-pairing-recovery.ts b/mobile/src/pairing/mobile-relay-pairing-recovery.ts index 03fc772c3c0..e375bab0604 100644 --- a/mobile/src/pairing/mobile-relay-pairing-recovery.ts +++ b/mobile/src/pairing/mobile-relay-pairing-recovery.ts @@ -4,13 +4,13 @@ import type { PairingGetEndpointsResult } from '../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' import type { PairingRelay } from '../../../src/shared/remote-runtime/pairing/mobile-relay-pairing-offer' -import { loadHosts, savePairedHost } from '../transport/hosts/host-store' +import { loadHosts, savePairedHost } from '../host-catalog/host-store' import { promotePairingJournalCredential, readMobileRelayCredentialBundle, writeMobileRelayCredentialBundle, type MobileRelayCredentialBundle -} from '../transport/hosts/mobile-relay-credential-bundle' +} from '../host-credentials/mobile-relay-credential-bundle' import { resolvePairingInviteThroughDirector } from './mobile-relay-invite-director' import type { MobileRelayPairingJournal } from './mobile-relay-pairing-journal' import { diff --git a/mobile/src/pairing/pairing-relay-host.ts b/mobile/src/pairing/pairing-relay-host.ts index ff50da77e7f..a6cd7017273 100644 --- a/mobile/src/pairing/pairing-relay-host.ts +++ b/mobile/src/pairing/pairing-relay-host.ts @@ -3,7 +3,7 @@ import type { MobileRelayEndpoint } from '../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' import type { MobileRelayPairingJournal } from './mobile-relay-pairing-journal' -import type { HostProfile } from '../transport/hosts/host-profile' +import type { HostProfile } from '../host-catalog/host-profile' import type { PairingOffer } from '../../../src/shared/remote-runtime/pairing/mobile-relay-pairing-offer' export function directHost( diff --git a/mobile/src/pairing/pairing.ts b/mobile/src/pairing/pairing.ts index d4641651478..4f3379efe29 100644 --- a/mobile/src/pairing/pairing.ts +++ b/mobile/src/pairing/pairing.ts @@ -1,4 +1,4 @@ -import '../transport/hosts/host-profile' +import '../host-catalog/host-profile' import { PairingOfferSchema, type PairingOffer diff --git a/mobile/src/pairing/pre-profile-pairing-coordinator.ts b/mobile/src/pairing/pre-profile-pairing-coordinator.ts index f7f8f426ad7..e88d92b7e04 100644 --- a/mobile/src/pairing/pre-profile-pairing-coordinator.ts +++ b/mobile/src/pairing/pre-profile-pairing-coordinator.ts @@ -1,6 +1,6 @@ import { Platform } from 'react-native' import { connect, type ConnectOptions } from '../transport/rpc/direct-rpc-connect' -import { resolvePairingHostIdentity, savePairedHost } from '../transport/hosts/host-store' +import { resolvePairingHostIdentity, savePairedHost } from '../host-catalog/host-store' import type { PairingOffer } from '../../../src/shared/remote-runtime/pairing/mobile-relay-pairing-offer' import { isPairingRelayRpcUnavailable } from './pairing-relay-rpc-unavailable' import { @@ -21,7 +21,7 @@ import { settleMobileRelayPairingRecovery } from './mobile-relay-pairing-recover import { promotePairingJournalCredential, writeMobileRelayCredentialBundle -} from '../transport/hosts/mobile-relay-credential-bundle' +} from '../host-credentials/mobile-relay-credential-bundle' import { connectMobileRelayForPairing, type PairingCandidateClient @@ -33,7 +33,7 @@ import { createRecoveringPairingRelayCandidate } from './pairing-relay-candidate import { createPairingRelayLogger } from '../diagnostics/connection/pairing-relay-log' import { redactSocketEndpoint } from '../diagnostics/connection/socket-event-debug' import { assertCommittedInstall, directHost, relayHost } from './pairing-relay-host' -import { recordHostDescriptorFromStatus } from '../transport/hosts/host-descriptor-recorder' +import { recordHostDescriptorFromStatus } from '../host-descriptors/host-descriptor-recorder' import { adoptExchangedToken, exchangePairingTicket } from './pairing-ticket-exchange' import type { HostStatusReply } from '../transport/hosts/host-status-reply-schema' diff --git a/mobile/src/pairing/unpaired-host-credential-deletion.ts b/mobile/src/pairing/unpaired-host-credential-deletion.ts index a7e056764bd..1df85f8f740 100644 --- a/mobile/src/pairing/unpaired-host-credential-deletion.ts +++ b/mobile/src/pairing/unpaired-host-credential-deletion.ts @@ -1,9 +1,9 @@ -import { deleteHostDeviceToken } from '../transport/hosts/host-device-token-store' +import { deleteHostDeviceToken } from '../host-credentials/host-device-token-store' import { clearHostCredentialWriteRevision, getHostCredentialWriteRevision -} from '../transport/hosts/host-credential-write-revision' -import { deleteMobileRelayCredentialBundle } from '../transport/hosts/mobile-relay-credential-bundle' +} from '../host-credentials/host-credential-write-revision' +import { deleteMobileRelayCredentialBundle } from '../host-credentials/mobile-relay-credential-bundle' import { deleteMobileRelayDirectUpgradeJournal } from '../transport/relay/mobile-relay-direct-upgrade-journal' type DeletionDependencies = { diff --git a/mobile/src/platform/external-link.test.ts b/mobile/src/platform/external-link.test.ts index 3e5d3bdcebf..42c79d6b949 100644 --- a/mobile/src/platform/external-link.test.ts +++ b/mobile/src/platform/external-link.test.ts @@ -26,28 +26,14 @@ afterEach(() => { }) describe('opening a URL from a phone screen', () => { - it('hands it straight to the app, unchanged', () => { - openExternalLink('https://github.com/stablyai/orca/pull/1') - expect(linking.openURL.mock.calls).toEqual([['https://github.com/stablyai/orca/pull/1']]) - }) - it('does not throw out of a tap handler when nothing can open the URL', async () => { linking.openURL.mockImplementation(() => Promise.reject(new Error('no activity found'))) expect(() => openExternalLink('mailto:someone@example.com')).not.toThrow() await Promise.resolve() }) - - it('checks no scheme of its own, because on a phone this is what every call site already did', () => { - openExternalLink('orca://x') - expect(linking.openURL.mock.calls).toEqual([['orca://x']]) - }) }) describe('a URL the platform refuses before it returns a promise', () => { - it('does not throw out of a tap handler for an empty string', () => { - expect(() => openExternalLink('')).not.toThrow() - }) - it('names the refusal rather than failing silently', () => { const warned = vi.spyOn(console, 'warn').mockImplementation(() => undefined) openExternalLink('') diff --git a/mobile/src/platform/haptics.web.test.ts b/mobile/src/platform/haptics.web.test.ts deleted file mode 100644 index a8e198520dd..00000000000 --- a/mobile/src/platform/haptics.web.test.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { BRIDGE_HAPTICS_KINDS } from '../mobile-web-shell/bridge/bridge-haptics-notify' -import { - publishHapticsNotifier, - triggerEdgeBump, - triggerError, - triggerMediumImpact, - triggerSelection, - triggerSuccess -} from './haptics.web' - -const asked: string[] = [] - -beforeEach(() => { - asked.length = 0 - publishHapticsNotifier((kind) => { - asked.push(kind) - return true - }) -}) - -afterEach(() => { - vi.restoreAllMocks() -}) - -describe('the haptic each page function asks the shell for', () => { - it.each([ - ['mediumImpact', triggerMediumImpact], - ['selection', triggerSelection], - ['success', triggerSuccess], - ['error', triggerError], - ['edgeBump', triggerEdgeBump] - ] as const)('posts exactly one notify, carrying %s', (kind, trigger) => { - trigger() - expect(asked).toEqual([kind]) - }) - - it('covers every kind the notify accepts, so no name is left on a no-op', () => { - // Check export/kind parity so adding a native haptic cannot silently leave page taps inert. - for (const trigger of [ - triggerMediumImpact, - triggerSelection, - triggerSuccess, - triggerError, - triggerEdgeBump - ]) { - trigger() - } - expect([...asked].sort()).toEqual([...BRIDGE_HAPTICS_KINDS].sort()) - }) - - it('posts one frame per call, because a scrolling list calls once per row', () => { - for (let row = 0; row < 12; row += 1) { - triggerSelection() - } - expect(asked).toHaveLength(12) - }) -}) - -describe('a shell that will not play it', () => { - it('says nothing, because nobody reads the answer and every row tap would say it again', () => { - const warned = vi.spyOn(console, 'warn').mockImplementation(() => undefined) - publishHapticsNotifier(() => false) - expect(() => triggerSelection()).not.toThrow() - expect(warned).not.toHaveBeenCalled() - }) - - it('asks nothing at all in a document that published no notifier', async () => { - // Reload the module to clear notifiers published by earlier cases. - vi.resetModules() - const warned = vi.spyOn(console, 'warn').mockImplementation(() => undefined) - const fresh: typeof import('./haptics.web') = await import('./haptics.web') - expect(() => fresh.triggerError()).not.toThrow() - expect(asked).toEqual([]) - expect(warned).not.toHaveBeenCalled() - }) -}) diff --git a/mobile/src/platform/keyboard-close-blur.web.test.ts b/mobile/src/platform/keyboard-close-blur.web.test.ts index 62b14b1021f..3a7c7347956 100644 --- a/mobile/src/platform/keyboard-close-blur.web.test.ts +++ b/mobile/src/platform/keyboard-close-blur.web.test.ts @@ -37,7 +37,7 @@ function focusedField(userAgent: string): HTMLInputElement { describe('a keyboard the phone closes', () => { beforeEach(() => { - vi.useFakeTimers({ toFake: ['setTimeout', 'performance'] }) + vi.useFakeTimers({ toFake: ['setTimeout', 'clearTimeout', 'performance'] }) publishShellKeyboardSource({ read: () => shellHeight, subscribe: (listener) => { @@ -62,36 +62,40 @@ describe('a keyboard the phone closes', () => { expect(document.activeElement).toBe(field) shellReports(0) + vi.advanceTimersByTime(1000) expect(document.activeElement).not.toBe(field) }) - // The second case is tapping the underlined word after Back: that tap both focuses the field and opens the menu. - it.each([ - ['already focused', false], - ['focused by the tap', true] - ] as const)( - 'keeps focus and reopens the keyboard when Chromium hides it for a tapped autocorrected word in a field %s', - (_case, tapFocuses) => { - const field = focusedField(ANDROID) - if (tapFocuses) { - field.blur() - } - startBlurringOnKeyboardClose() + it('keeps the field focused when the keyboard closes and reopens for a switch to a voice IME', () => { + const field = focusedField(ANDROID) + startBlurringOnKeyboardClose() + shellReports(300) - field.dispatchEvent(new PointerEvent('pointerdown', { bubbles: true })) - TextInputState.focusTextInput(field) - shellReports(300) - const focusSessions = vi.fn() - field.addEventListener('focus', focusSessions) - vi.advanceTimersByTime(400) - shellReports(0) - vi.advanceTimersByTime(100) + shellReports(0) + vi.advanceTimersByTime(250) + shellReports(200) + vi.advanceTimersByTime(5000) - expect(document.activeElement).toBe(field) - expect(focusSessions).toHaveBeenCalledOnce() - } - ) + expect(document.activeElement).toBe(field) + }) + + it('keeps focus and reopens the keyboard when Chromium hides it for a tapped autocorrected word', () => { + const field = focusedField(ANDROID) + startBlurringOnKeyboardClose() + + field.dispatchEvent(new PointerEvent('pointerdown', { bubbles: true })) + TextInputState.focusTextInput(field) + shellReports(300) + const focusSessions = vi.fn() + field.addEventListener('focus', focusSessions) + vi.advanceTimersByTime(400) + shellReports(0) + vi.advanceTimersByTime(100) + + expect(document.activeElement).toBe(field) + expect(focusSessions).toHaveBeenCalledOnce() + }) it.each([ ['a touch elsewhere', 'body', 400], @@ -105,18 +109,8 @@ describe('a keyboard the phone closes', () => { target.dispatchEvent(new PointerEvent('pointerdown', { bubbles: true })) vi.advanceTimersByTime(waitMs) shellReports(0) - vi.advanceTimersByTime(100) + vi.advanceTimersByTime(1000) expect(document.activeElement).not.toBe(field) }) - - it('leaves focus alone on iOS, where only a blur closes the keyboard', () => { - const field = focusedField('Mozilla/5.0 (iPhone; CPU iPhone OS 18_7 like Mac OS X)') - startBlurringOnKeyboardClose() - shellReports(300) - - shellReports(0) - - expect(document.activeElement).toBe(field) - }) }) diff --git a/mobile/src/platform/keyboard-close-blur.web.ts b/mobile/src/platform/keyboard-close-blur.web.ts index 2611184750e..54087c6929e 100644 --- a/mobile/src/platform/keyboard-close-blur.web.ts +++ b/mobile/src/platform/keyboard-close-blur.web.ts @@ -5,6 +5,8 @@ import { subscribeSoftKeyboard } from './keyboard-occlusion.web' // Chromium hides the IME itself to show a tapped autocorrected word's menu; Back comes with no touch. const FIELD_TAP_HIDE_WINDOW_MS = 1000 const KEYBOARD_REOPEN_DELAY_MS = 50 +// A keyboard's mic switches to a voice IME, which closes the keyboard and opens again ~250 ms later; Back opens none. +const IME_SWITCH_WINDOW_MS = 1000 // Android raises the IME only for a new focus session, as for the terminal live input. function reopenKeyboard(field: HTMLElement): void { @@ -14,12 +16,13 @@ function reopenKeyboard(field: HTMLElement): void { } } -// Android Back hides the IME without blurring; blur now so the next terminal touch cannot reopen it. +// Android Back hides the IME without blurring; blur once it stays closed so the next terminal touch cannot reopen it. export function startBlurringOnKeyboardClose(): void { if (hostOs() !== 'android') { return } let lastTouch: { target: Node; at: number } | null = null + let pendingBlur: ReturnType | undefined document.addEventListener( 'pointerdown', (event) => { @@ -29,7 +32,7 @@ export function startBlurringOnKeyboardClose(): void { { capture: true } ) subscribeSoftKeyboard( - () => {}, + () => clearTimeout(pendingBlur), () => { const field = document.activeElement const touch = lastTouch @@ -42,7 +45,12 @@ export function startBlurringOnKeyboardClose(): void { ) { setTimeout(() => reopenKeyboard(field), KEYBOARD_REOPEN_DELAY_MS) } else { - Keyboard.dismiss() + // Leave alone a field focus moved to meanwhile. + pendingBlur = setTimeout(() => { + if (document.activeElement === field) { + Keyboard.dismiss() + } + }, IME_SWITCH_WINDOW_MS) } } ) diff --git a/mobile/src/platform/live-input-composing-range.test.ts b/mobile/src/platform/live-input-composing-range.test.ts index 1d2e923c19b..307cdc5eed3 100644 --- a/mobile/src/platform/live-input-composing-range.test.ts +++ b/mobile/src/platform/live-input-composing-range.test.ts @@ -26,9 +26,4 @@ describe('the composing range a live input reports', () => { undefined ]) }) - - it('passes the range through where there is no navigator', () => { - vi.stubGlobal('navigator', undefined) - expect(reportedLiveInputComposing(true)).toBe(true) - }) }) diff --git a/mobile/src/platform/microphone-screen-lock.test.ts b/mobile/src/platform/microphone-screen-lock.test.ts index 6a23892e557..cd6b41eda40 100644 --- a/mobile/src/platform/microphone-screen-lock.test.ts +++ b/mobile/src/platform/microphone-screen-lock.test.ts @@ -37,15 +37,6 @@ async function flush(): Promise { } describe('the lock a microphone holds', () => { - it('takes the tag once and gives it back once', async () => { - const { device, calls } = createTestDevice() - const lock = createMicrophoneScreenLock(device, 'orca-mic') - lock.hold() - lock.release() - await flush() - expect(calls).toEqual(['+orca-mic', '-orca-mic']) - }) - it('asks the device nothing for a hold it already has', async () => { const { device, calls } = createTestDevice() const lock = createMicrophoneScreenLock(device, 'orca-mic') diff --git a/mobile/src/platform/native-clipboard.test.ts b/mobile/src/platform/native-clipboard.test.ts deleted file mode 100644 index e6366525a42..00000000000 --- a/mobile/src/platform/native-clipboard.test.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { ZodError } from 'zod' - -const clipboard = vi.hoisted(() => ({ - setStringAsync: vi.fn(() => Promise.resolve(true)), - getStringAsync: vi.fn(() => Promise.resolve('')) -})) - -vi.mock('expo-clipboard', () => clipboard) - -import { serveNativeClipboardVerb } from './native-clipboard' - -beforeEach(() => { - clipboard.setStringAsync.mockReset() - clipboard.setStringAsync.mockImplementation(() => Promise.resolve(true)) - clipboard.getStringAsync.mockReset() - clipboard.getStringAsync.mockImplementation(() => Promise.resolve('on the pasteboard')) -}) - -afterEach(() => { - vi.restoreAllMocks() -}) - -describe('serving a clipboard verb', () => { - it('writes text and answers whether the pasteboard took it', async () => { - await expect( - serveNativeClipboardVerb('native.clipboard.write', { mime: 'text', value: 'copied' }) - ).resolves.toEqual({ written: true }) - expect(clipboard.setStringAsync.mock.calls).toEqual([['copied']]) - }) - - it('carries a pasteboard refusal through rather than reporting success', async () => { - clipboard.setStringAsync.mockImplementation(() => Promise.resolve(false)) - await expect( - serveNativeClipboardVerb('native.clipboard.write', { mime: 'text', value: 'copied' }) - ).resolves.toEqual({ written: false }) - }) - - it('reads text off the pasteboard', async () => { - await expect( - serveNativeClipboardVerb('native.clipboard.read', { mime: 'text' }) - ).resolves.toEqual({ value: 'on the pasteboard' }) - }) - - it('does not take an image at all, because the media verbs stage one instead', async () => { - // Images use staged media handles; clipboard.read rejects their MIME before reaching the device. - for (const verb of ['native.clipboard.write', 'native.clipboard.read'] as const) { - const params = - verb === 'native.clipboard.write' ? { mime: 'image', value: 'x' } : { mime: 'image' } - // Require the params refusal code so a pasteboard error cannot satisfy this assertion. - await expect(serveNativeClipboardVerb(verb, params)).rejects.toSatisfy( - (error: unknown) => - error instanceof ZodError && error.issues.some((issue) => issue.path[0] === 'mime') - ) - } - expect(clipboard.setStringAsync).not.toHaveBeenCalled() - expect(clipboard.getStringAsync).not.toHaveBeenCalled() - }) -}) diff --git a/mobile/src/platform/native-media-stage-cleanup.test.ts b/mobile/src/platform/native-media-stage-cleanup.test.ts index 2391954c187..9f77bef6a60 100644 --- a/mobile/src/platform/native-media-stage-cleanup.test.ts +++ b/mobile/src/platform/native-media-stage-cleanup.test.ts @@ -117,16 +117,6 @@ function heldBytes(): number { return [...storage.files.values()].reduce((total, bytes) => total + bytes.byteLength, 0) } -it('preserves the successful staged URI, base64 options and bytes without deleting it', () => { - const uri = device().stageBase64('AQID') - expect(uri).toBe('file:///cache/orca-media-1234-0.25.png') - expect(storage.events).toEqual([ - { operation: 'create', uri, options: { overwrite: true } }, - { operation: 'write', uri, content: 'AQID', options: { encoding: 'base64' } } - ]) - expect(storage.files.get(uri)).toEqual(Uint8Array.from([1, 2, 3])) -}) - it.each([0, 4096])('releases an unreturned file after a write fails with %i bytes', (bytes) => { const original = new Error('partial native write') storage.writeFailure = original @@ -150,13 +140,6 @@ it('preserves the write failure when best-effort deletion also fails', () => { expect(heldBytes()).toBe(4096) }) -it('preserves creation failure and its original operation order', () => { - const original = new Error('native create failed') - storage.createFailure = original - expect(thrownBy(() => device().stageBase64('AQID'))).toBe(original) - expect(storage.events.map((event) => event.operation)).toEqual(['create']) -}) - it('deletes only the failed file while a prior successful file remains readable', () => { vi.spyOn(Math, 'random').mockReturnValueOnce(0.1).mockReturnValueOnce(0.2) const successfulUri = device().stageBase64('AQID') diff --git a/mobile/src/platform/random-v4-uuid.test.ts b/mobile/src/platform/random-v4-uuid.test.ts index 8dd36f8b92b..1f31a1212c5 100644 --- a/mobile/src/platform/random-v4-uuid.test.ts +++ b/mobile/src/platform/random-v4-uuid.test.ts @@ -13,13 +13,6 @@ afterEach(() => { }) describe('randomV4Uuid', () => { - it('uses crypto.randomUUID where the platform has it', () => { - const randomUUID = vi.fn(() => '11111111-1111-4111-8111-111111111111') - vi.stubGlobal('crypto', { randomUUID }) - expect(randomV4Uuid()).toBe('11111111-1111-4111-8111-111111111111') - expect(secure.getRandomBytes).not.toHaveBeenCalled() - }) - it('falls back to the secure byte source, never Math.random, and stamps v4', () => { vi.stubGlobal('crypto', {}) const insecure = vi.spyOn(Math, 'random') diff --git a/mobile/src/query/first-paint-query-keys.ts b/mobile/src/query/first-paint-query-keys.ts index 47654004af7..8305d983bb4 100644 --- a/mobile/src/query/first-paint-query-keys.ts +++ b/mobile/src/query/first-paint-query-keys.ts @@ -16,7 +16,7 @@ import { hostProjectSectionsQuery } from '../host-screen/use-host-project-sectio import { sessionTabsFamily, sessionTabsKey } from '../session/tabs/mobile-session-last-tabs' import type { MobileSessionTab } from '../session/tabs/mobile-session-tabs' import { activeSessionTabOf } from '../session/tabs/active-session-tab' -import { storedTabChatTranscriptIdentity } from '../session/native-chat/mobile-native-chat-transcript-store' +import { storedTabChatTranscriptIdentity } from '../session/native-chat/transcript/mobile-native-chat-transcript-store' import { gitStatusQuery } from '../source-control/mobile-git-status-query' import { firstPaintTaskKeys } from '../tasks/task-query-storage' import { hostQueryKey } from './host-query-key' diff --git a/mobile/src/query/host-query.ts b/mobile/src/query/host-query.ts index e7b0a36706c..7a03ae8efb4 100644 --- a/mobile/src/query/host-query.ts +++ b/mobile/src/query/host-query.ts @@ -24,9 +24,6 @@ import { import { holdsRestoredHostQueryData, type HostQueryPersist } from './host-query-persistence' import { hostReadClient } from './host-read-client' -// Exported with the query hooks so the router lands in their page chunk, not a chunk of its own. -export { useHostEventRouter } from './host-event-router' - export type HostQuery = { family: string // Calls the domain's loader. `previous` is the cached data a revalidation may build on; live reads pass none. diff --git a/mobile/src/query/page-query-persistence.ts b/mobile/src/query/page-query-persistence.ts index d0dad07998c..0e3eadf7368 100644 --- a/mobile/src/query/page-query-persistence.ts +++ b/mobile/src/query/page-query-persistence.ts @@ -1,6 +1,6 @@ import type { QueryClient } from '@tanstack/react-query' import type { PageDeviceStore } from '../mobile-web-shell/bridge/page-device-store' -import { primeStoredChatTranscripts } from '../session/native-chat/mobile-native-chat-transcript-store' +import { primeStoredChatTranscripts } from '../session/native-chat/transcript/mobile-native-chat-transcript-store' import { firstPaintChatTranscriptIdentity, firstPaintQueryKeys } from './first-paint-query-keys' import { createHostQueryPersistence } from './host-query-persistence' diff --git a/mobile/src/session/MobileNativeChatEmptyStateView.tsx b/mobile/src/session/MobileNativeChatEmptyStateView.tsx deleted file mode 100644 index 69e33b7ccad..00000000000 --- a/mobile/src/session/MobileNativeChatEmptyStateView.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import { Text, View } from 'react-native' -import type { NativeChatEmptyStateCopy } from '../../../src/shared/native-chat/native-chat-empty-state' -import { styles } from './native-chat/mobile-native-chat-view-styles' - -export function MobileNativeChatEmptyStateView({ copy }: { copy: NativeChatEmptyStateCopy }) { - return ( - - {copy.title} - {copy.subtitle} - - ) -} diff --git a/mobile/src/session/MobileNativeChatForkProvider.tsx b/mobile/src/session/MobileNativeChatForkProvider.tsx index 44f80dff88a..6607dae2a36 100644 --- a/mobile/src/session/MobileNativeChatForkProvider.tsx +++ b/mobile/src/session/MobileNativeChatForkProvider.tsx @@ -2,7 +2,7 @@ import { useCallback, useLayoutEffect, useMemo, useRef } from 'react' import { useHostProtocolGates } from '../components/host-protocol-gates-context' import type { TuiAgent } from '../../../src/shared/agent-launch/catalog/tui-agent' import type { StructuredAgentSessionForkSource } from '../../../src/shared/agent-session/structured-agent-session-create' -import { MobileNativeChatForkedFromContext } from './mobile-native-chat-notice-context' +import { MobileNativeChatForkedFromContext } from './native-chat/transcript/mobile-native-chat-notice-context' import { forkMobileStructuredChat } from './mobile-structured-chat-fork' import { MobileNativeChatForkContext, diff --git a/mobile/src/session/MobileSessionActiveContent.tsx b/mobile/src/session/MobileSessionActiveContent.tsx index 06861569071..0400353b3ca 100644 --- a/mobile/src/session/MobileSessionActiveContent.tsx +++ b/mobile/src/session/MobileSessionActiveContent.tsx @@ -25,8 +25,8 @@ import { useMobileSessionContentKeyboardLift } from '../terminal/session/use-mob import { useOpenUrlInOrca } from '../browser/use-open-url-in-orca' import { useWorkspaceExecutionHost } from '../navigation/workspace-execution-host' import { useOpenHostAccounts } from '../accounts/use-open-mobile-accounts' -import { useHostProfile } from '../transport/hosts/use-host-profile' -import { useHostDisplay } from '../transport/hosts/use-host-display' +import { useHostProfile } from '../host-catalog/use-host-profile' +import { useHostDisplay } from '../host-descriptors/use-host-display' import { FileReader } from '../files/session-documents/MobileSessionFileReader' import { MobileSessionContentState } from './MobileSessionContentState' import { MarkdownReader } from '../files/session-documents/MobileSessionMarkdownReader' diff --git a/mobile/src/session/MobileSessionHeader.tsx b/mobile/src/session/MobileSessionHeader.tsx index c7593258e42..d1f108b6851 100644 --- a/mobile/src/session/MobileSessionHeader.tsx +++ b/mobile/src/session/MobileSessionHeader.tsx @@ -1,11 +1,12 @@ import { useRef, useState, useSyncExternalStore } from 'react' import { StyleSheet, View } from 'react-native' import { SafeAreaView } from 'react-native-safe-area-context' -import { ChevronLeft, GitBranch, MoreHorizontal, PanelLeftOpen } from 'lucide-react-native' +import { ChevronLeft, MoreHorizontal, PanelLeftOpen } from 'lucide-react-native' import { NavBar, NavBarRefreshLine } from '../components/nav-bar/NavBar' import { useRefreshHint } from '../query/refresh-hint' import { NavBarButton } from '../components/nav-bar/NavBarButton' import { MobileSessionHeaderMoreMenu } from './MobileSessionHeaderMoreMenu' +import { MobileSourceControlButton } from './MobileSourceControlButton' import { MobileSessionTabStrip } from './tabs/MobileSessionTabStrip' import { MobileSessionTitleBlock } from './MobileSessionTitleBlock' import type { SessionTitleCard } from './tabs/use-session-title-card' @@ -30,6 +31,7 @@ export function MobileSessionHeader({ const t = useMobileTranslation() const { hostId, + worktreeId, isFloatingWorkspaceRoute, presentedConnState, forceReconnectHost, @@ -108,10 +110,10 @@ export function MobileSessionHeader({ const trailing = ( <> {sourceControlInBar ? ( - handlePanelTap('sourceControl')} /> ) : null} diff --git a/mobile/src/session/MobileSourceControlButton.tsx b/mobile/src/session/MobileSourceControlButton.tsx new file mode 100644 index 00000000000..132e05fea14 --- /dev/null +++ b/mobile/src/session/MobileSourceControlButton.tsx @@ -0,0 +1,48 @@ +import { GitBranch } from 'lucide-react-native' +import { NavBarButton } from '../components/nav-bar/NavBarButton' +import { prStateIcon } from '../components/pr-state-token' +import { prStateColor } from '../components/WorktreeMetaGlyphs' +import { + HOST_LIST_TARGET, + hostWorktreeCatalogQuery, + NO_HOST_LIST_INPUT +} from '../host-screen/host-list-queries' +import { useMobileTranslation } from '../i18n/use-mobile-translation' +import { useHostQuery } from '../query/host-query' +import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' +import { UNCACHED_LINKED_PR_STATE } from '../../../src/shared/runtime-worktree-contracts' + +// Its own component so catalog updates re-render only this button, not the whole session header. +export function MobileSourceControlButton({ + hostId, + worktreeId, + active, + onPress +}: { + hostId: string + worktreeId: string + active: boolean + onPress: () => void +}) { + useMobileColorScheme() + const t = useMobileTranslation() + // Cache-only: the host list reads worktree.ps, and a session's first paint must not wait behind it. + const { data } = useHostQuery( + hostWorktreeCatalogQuery, + { hostId, client: null }, + HOST_LIST_TARGET, + NO_HOST_LIST_INPUT, + { enabled: false } + ) + const pr = data?.worktrees.find((row) => row.worktreeId === worktreeId)?.linkedPR ?? null + const knownState = pr && pr.state !== UNCACHED_LINKED_PR_STATE ? pr.state : null + return ( + + ) +} diff --git a/mobile/src/session/__mocks__/mobile-prompt-controller.ts b/mobile/src/session/__mocks__/mobile-prompt-controller.ts index 1e8bd3d9c36..5d374b386be 100644 --- a/mobile/src/session/__mocks__/mobile-prompt-controller.ts +++ b/mobile/src/session/__mocks__/mobile-prompt-controller.ts @@ -2,7 +2,7 @@ import './mobile-prompt-render-mocks' import { createElement } from 'react' import { Pressable } from 'react-native' import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' -import type { MobileNativeChatSendOutcome } from '../native-chat/mobile-native-chat-send' +import type { MobileNativeChatSendOutcome } from '../native-chat/composer/mobile-native-chat-send' import type { RpcClient } from '../../transport/rpc/rpc-client-contract' import type { RpcResponse } from '../../transport/rpc/rpc-wire-types' import type { ConnectionState } from '../../transport/connection/connection-state' @@ -55,7 +55,7 @@ vi.mock('../use-mobile-session-view-mode', () => ({ }) })) // The chat's per-connection CI setting read isn't a prompt write; these tests count only those. -vi.mock('../use-mobile-native-chat-ci-result-lines', () => ({ +vi.mock('../native-chat/preferences/use-mobile-native-chat-ci-result-lines', () => ({ useMobileNativeChatCiResultLines: () => false })) vi.mock('../native-chat/use-mobile-native-chat-session-lane', () => ({ diff --git a/mobile/src/session/agent-launch/mobile-agent-detection-operations.ts b/mobile/src/session/agent-launch/mobile-agent-detection-operations.ts index 443525aca2d..3587dbbb98e 100644 --- a/mobile/src/session/agent-launch/mobile-agent-detection-operations.ts +++ b/mobile/src/session/agent-launch/mobile-agent-detection-operations.ts @@ -1,14 +1,6 @@ import { bindDeferredRpcOperation, defineRpcOperation } from '../../transport/rpc/rpc-operation' import { rpcResultVariant } from '../../transport/rpc/rpc-operation-result-reader' -import '../../terminal/terminal-reply-schema' import { detectedAgentsSchema, refreshedAgentsSchema } from './mobile-agent-detection-reply-schema' -import '../../files/session-documents/mobile-markdown-tab-reply-schema' -import '../../transport/rpc/rpc-uninterpreted-reply-schemas' -import '../../terminal/session/mobile-session-terminal-reply-schema' -import '../../worktree/session-worktree-record-reply-schema' -import '../native-chat/composer/mobile-native-chat-skill-reply-schema' -import '../../terminal/quick-commands/mobile-quick-command-reply-schema' -import '../../files/workspace-file-paths-reply-schema' // Launch detection surfaces host refusals; advisory task-drawer readers intentionally skip them. export const preflightDetectAgentsRead = bindDeferredRpcOperation( diff --git a/mobile/src/session/agent-launch/mobile-existing-agent-launch.ts b/mobile/src/session/agent-launch/mobile-existing-agent-launch.ts index 6b3be4fb6b9..1d2c17eb236 100644 --- a/mobile/src/session/agent-launch/mobile-existing-agent-launch.ts +++ b/mobile/src/session/agent-launch/mobile-existing-agent-launch.ts @@ -22,9 +22,9 @@ import { isAgentLaunchReservationTakenRefusal } from '../../../../src/shared/agent-launch/contracts/agent-launch-replay-refusal' import { sendReplayingAmbiguousDelivery } from '../../tasks/replay-on-ambiguous-delivery' -import { structuredSessionOperationId } from '../structured-session-operation-id' +import { structuredSessionOperationId } from '../native-chat/agent-session/structured-session-operation-id' import { randomV4Uuid } from '../../platform/random-v4-uuid' -import { rememberMobileCreatedStructuredSession } from '../mobile-created-structured-sessions' +import { rememberMobileCreatedStructuredSession } from '../native-chat/agent-session/mobile-created-structured-sessions' // Why: the host waits up to 60s for a terminal agent to become ready before pasting the prompt, // so a prompted launch must outlive that wait or the phone reports a launch that is still running. diff --git a/mobile/src/session/agent-launch/mobile-new-tab-settings-operations.ts b/mobile/src/session/agent-launch/mobile-new-tab-settings-operations.ts index 1a0627c3289..f7a8ecd5f50 100644 --- a/mobile/src/session/agent-launch/mobile-new-tab-settings-operations.ts +++ b/mobile/src/session/agent-launch/mobile-new-tab-settings-operations.ts @@ -1,6 +1,5 @@ import { bindDeferredRpcOperation, defineRpcOperation } from '../../transport/rpc/rpc-operation' import type { RpcCompatibleReader } from '../../transport/rpc/rpc-operation-contract' -import '../../../../src/shared/source-control/listing/source-control-group-order' import { settingsMember } from '../../settings/mobile-settings-projection' // New-tab checks the sibling's refusal before touching settings, but after its own refusal. diff --git a/mobile/src/session/agent-launch/mobile-runtime-repo-operations.ts b/mobile/src/session/agent-launch/mobile-runtime-repo-operations.ts index cb885ee3fc6..0980441d230 100644 --- a/mobile/src/session/agent-launch/mobile-runtime-repo-operations.ts +++ b/mobile/src/session/agent-launch/mobile-runtime-repo-operations.ts @@ -1,14 +1,6 @@ import { bindDeferredRpcOperation, defineRpcOperation } from '../../transport/rpc/rpc-operation' import { rpcResultVariant } from '../../transport/rpc/rpc-operation-result-reader' -import '../../terminal/terminal-reply-schema' import { runtimeRepoListSchema } from './mobile-agent-detection-reply-schema' -import '../../files/session-documents/mobile-markdown-tab-reply-schema' -import '../../transport/rpc/rpc-uninterpreted-reply-schemas' -import '../../terminal/session/mobile-session-terminal-reply-schema' -import '../../worktree/session-worktree-record-reply-schema' -import '../native-chat/composer/mobile-native-chat-skill-reply-schema' -import '../../terminal/quick-commands/mobile-quick-command-reply-schema' -import '../../files/workspace-file-paths-reply-schema' export type MobileRuntimeRepoSummary = { id: string diff --git a/mobile/src/session/agent-session-write-notice-copy.test.ts b/mobile/src/session/agent-session-write-notice-copy.test.ts deleted file mode 100644 index 5788ba290c2..00000000000 --- a/mobile/src/session/agent-session-write-notice-copy.test.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { agentSessionWriteNoticeParts } from '../../../src/shared/agent-session/failures/agent-session-refusal-notice' -import { agentSessionRefusalFailure } from '../../../src/shared/agent-session/failures/agent-session-write-failure' -import { mobileAgentSessionWriteNoticeText } from './agent-session-write-notice-copy' - -describe('mobileAgentSessionWriteNoticeText', () => { - it('names the attachment an expired refusal lists, as its card labels it', () => { - const failure = agentSessionRefusalFailure({ - code: 'agent_session_operation_invalid', - details: { - reason: 'attachmentExpired', - expiredAttachments: [{ uploadId: 'upload-1', name: 'notes.pdf' }] - } - }) - expect( - mobileAgentSessionWriteNoticeText(agentSessionWriteNoticeParts(failure, 'composer-send')) - ).toBe('notes.pdf expired. Your message was not sent. Remove it and attach it again.') - }) -}) diff --git a/mobile/src/session/floating-workspace.test.ts b/mobile/src/session/floating-workspace.test.ts deleted file mode 100644 index 8f29646b49b..00000000000 --- a/mobile/src/session/floating-workspace.test.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - FLOATING_WORKSPACE_WORKTREE_ID, - floatingWorkspaceSessionPath, - isFloatingWorkspaceWorktreeId -} from './floating-workspace' - -describe('floating workspace routing', () => { - it('matches only the desktop sentinel id', () => { - expect(isFloatingWorkspaceWorktreeId('global-floating-terminal')).toBe(true) - expect(isFloatingWorkspaceWorktreeId('repo-1::/worktree')).toBe(false) - expect(isFloatingWorkspaceWorktreeId('folder:group-1')).toBe(false) - expect(isFloatingWorkspaceWorktreeId(undefined)).toBe(false) - expect(isFloatingWorkspaceWorktreeId(null)).toBe(false) - }) - - it('builds the session route with an explicit title seed', () => { - expect(floatingWorkspaceSessionPath('host-1')).toBe( - `/h/host-1/session/${FLOATING_WORKSPACE_WORKTREE_ID}?name=Floating%20Workspace` - ) - }) -}) diff --git a/mobile/src/session/mobile-chat-fork-create-feedback.ts b/mobile/src/session/mobile-chat-fork-create-feedback.ts deleted file mode 100644 index 940eed30732..00000000000 --- a/mobile/src/session/mobile-chat-fork-create-feedback.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { isRpcDeliveryUnknown } from '../transport/rpc/rpc-delivery-ambiguity' -import '../transport/connection/stable-logical-rpc-client' -import { isLogicalClientCutoverError } from '../transport/connection/logical-client-cutover-error' -import { RpcIncompatibleReplyError } from '../transport/rpc/rpc-incompatible-reply-error' -import { PROJECT_RUNTIME_REPAIR_REQUIRED_CODE } from '../../../src/shared/project-runtime-repair-message' -import { SESSION_TABS_CHAT_FORK_CLI_RUNTIME_CAPABILITY } from '../../../src/shared/session-tabs-runtime-capabilities' -import type { RpcResponse } from '../transport/rpc/rpc-wire-types' -import { createdTerminalDesktopWarning } from '../terminal/session/mobile-session-terminal-reply-schema' - -export function hostSupportsMobileChatFork( - hostCapabilities: readonly string[] | undefined -): boolean { - return hostCapabilities?.includes(SESSION_TABS_CHAT_FORK_CLI_RUNTIME_CAPABILITY) === true -} - -export function mobileChatForkCreateReplyMessage( - agentName: string, - response: RpcResponse -): string | null { - if (!response.ok) { - return mobileChatForkRefusalMessage(agentName, response.error.code) - } - return createdTerminalDesktopWarning(response.result) - ? `${agentName} opened in a CLI, but its desktop tab could not be shown. Check open tabs on the host before retrying.` - : null -} - -export function mobileChatForkRefusalMessage(agentName: string, code: string): string { - const guidance = - code === 'chat_fork_anchor_changed' - ? 'Select a tab and try again.' - : code === 'chat_fork_runtime_incompatible' - ? 'Open the chat in a native workspace on its host and try again.' - : code === 'chat_fork_source_unavailable' - ? "Check that the chat has a saved conversation and review the agent's command and settings on the host, then try again." - : code === PROJECT_RUNTIME_REPAIR_REQUIRED_CODE - ? 'Review Project Runtime settings on the host and restore native Windows execution for this chat, then try again.' - : 'Reconnect and check open tabs on the host before retrying.' - return `Could not open ${agentName} in a new CLI. ${guidance}` -} - -export function mobileChatForkRequestFailureMessage(agentName: string, error: unknown): string { - return isRpcDeliveryUnknown(error) || - isLogicalClientCutoverError(error) || - error instanceof RpcIncompatibleReplyError - ? `${agentName} may have opened. Reconnect and check open tabs on the host before retrying.` - : `Could not open ${agentName} in a new CLI. Check the chat and host settings, then try again.` -} diff --git a/mobile/src/session/mobile-closed-tab-dictation-lifetime.test.tsx b/mobile/src/session/mobile-closed-tab-dictation-lifetime.test.tsx deleted file mode 100644 index f5c97c0cedb..00000000000 --- a/mobile/src/session/mobile-closed-tab-dictation-lifetime.test.tsx +++ /dev/null @@ -1,109 +0,0 @@ -import { createElement, type ReactNode } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, expect, it, vi } from 'vitest' -import { MobileNativeChatComposer } from './native-chat/composer/MobileNativeChatComposer' -import { captureMobileNativeChatTextDestination } from './native-chat/composer/mobile-native-chat-draft-inputs' -import { - closeMobileNativeChatTabDraft, - readMobileNativeChatDraftEditGeneration, - resetMobileNativeChatDraftStoreForTests, - setMobileNativeChatDraftText -} from './native-chat/composer/mobile-native-chat-draft-store' -import { findByHostType } from '../test-support/react-test-renderer-host-nodes' - -vi.mock('../components/MobileSwitch', () => ({ MobileSwitch: 'Switch' })) -vi.mock('./native-chat/composer/MobileNativeChatContextUsageRing', () => ({ - useMobileNativeChatContextRing: () => ({ barProps: {}, ring: null }) -})) -// BottomDrawer also carries the option pager, which loads Reanimated at import. -vi.mock('react-native-reanimated', async () => - (await import('../test-support/reanimated-pager-stub')).reanimatedPagerStub() -) -vi.mock('react-native', async () => { - const React = await import('react') - return { - ...(await import('../test-support/react-native-motion-stub')).reactNativeMotionStub(), - ActivityIndicator: 'ActivityIndicator', - Image: 'Image', - Keyboard: { dismiss: vi.fn() }, - Platform: { OS: 'ios' }, - Pressable: 'Pressable', - ScrollView: ({ children, ...props }: { children?: ReactNode }) => - React.createElement('ScrollView', props, children), - StyleSheet: { create: (styles: unknown) => styles, hairlineWidth: 1 }, - Text: 'Text', - TextInput: 'TextInput', - View: 'View' - } -}) -vi.mock('lucide-react-native', () => ({ - ArrowUp: 'ArrowUp', - ListEnd: 'ListEnd', - CornerDownRight: 'CornerDownRight', - Check: 'Check', - ChevronDown: 'ChevronDown', - ChevronLeft: 'ChevronLeft', - ChevronRight: 'ChevronRight', - FileText: 'FileText', - Mic: 'Mic', - Package: 'Package', - Plus: 'Plus', - ShieldAlert: 'ShieldAlert', - Square: 'Square', - Terminal: 'Terminal', - X: 'X' -})) -vi.mock('../components/bottom-drawer/mounted-bottom-drawer', () => ({ - MountedBottomDrawer: 'BottomDrawer' -})) -vi.mock('../components/bottom-drawer/bottom-drawer-modal-host-scope', () => ({ - useBottomDrawerModalHost: () => null -})) - -let renderer: ReactTestRenderer | undefined -afterEach(async () => { - await act(async () => renderer?.unmount()) - renderer = undefined - resetMobileNativeChatDraftStoreForTests() -}) - -it.each([false, true])( - 'rejects captured dictation after tab retirement with custom insert=%s', - async (customInsert) => { - const scope = `retired-dictation-${customInsert}` - const insertDictation = vi.fn(() => true) - setMobileNativeChatDraftText(scope, 'old text') - await act(async () => { - renderer = create( - createElement(MobileNativeChatComposer, { - value: 'old text', - draftScopeKey: scope, - insertDictation: customInsert ? insertDictation : undefined, - onChangeText: vi.fn(), - onSend: async () => true, - sendSurfaceId: scope, - getSendCompletionGeneration: () => 0, - getComposerEditGeneration: () => 0 - }) - ) - }) - act(() => findByHostType(renderer!.root, 'TextInput').props.onFocus()) - const insert = captureMobileNativeChatTextDestination()?.insert - if (!insert) { - throw new Error('composer did not register dictation') - } - act(() => { - insert('live dictation') - }) - if (customInsert) { - expect(insertDictation).toHaveBeenCalledOnce() - } else { - expect(readMobileNativeChatDraftEditGeneration(scope)).toBe(2) - } - insertDictation.mockClear() - await act(async () => closeMobileNativeChatTabDraft(scope)) - expect(insert('late dictation')).toBe(false) - expect(insertDictation).not.toHaveBeenCalled() - expect(readMobileNativeChatDraftEditGeneration(scope)).toBe(0) - } -) diff --git a/mobile/src/session/mobile-dictation-session-outcomes.test.tsx b/mobile/src/session/mobile-dictation-session-outcomes.test.tsx index cfbde9cb924..46d24d9a1d9 100644 --- a/mobile/src/session/mobile-dictation-session-outcomes.test.tsx +++ b/mobile/src/session/mobile-dictation-session-outcomes.test.tsx @@ -4,7 +4,7 @@ import { act } from 'react-test-renderer' import { createWithQueryClient } from '../test-support/query-client-test-renderer' import { beforeEach, describe, expect, it, vi } from 'vitest' import { createFakeRpcClient, type FakeRpcClient } from '../mobile-web-shell/bridge-host-test-fakes' -import type * as NativeChatSendError from './native-chat/use-mobile-native-chat-send-error' +import type * as NativeChatSendError from './native-chat/composer/use-mobile-native-chat-send-error' import type * as NativeChatDraftStore from './native-chat/composer/mobile-native-chat-draft-store' type ChatView = { shown: boolean; scope: string | null } @@ -14,8 +14,6 @@ const seen = vi.hoisted(() => { return { toasts: new Array(), errorHaptics: 0, - setupSheetOpens: 0, - micPermissionRequests: 0, clipboard: new Array(), inputs: new Array(), chat, @@ -30,7 +28,7 @@ vi.mock('react-native', () => ({ Platform: { OS: 'ios' } })) // The computer's name only words announcements; the stored host profile pulls in secure storage. -vi.mock('../transport/hosts/use-host-profile', () => ({ useHostProfile: () => null })) +vi.mock('../host-catalog/use-host-profile', () => ({ useHostProfile: () => null })) vi.mock('@orca/expo-two-way-audio', () => ({ addExpoTwoWayAudioEventListener: (name: string, listener: (event: { data: string }) => void) => { seen.audioListeners.set(name, listener) @@ -38,7 +36,6 @@ vi.mock('@orca/expo-two-way-audio', () => ({ }, initialize: () => Promise.resolve(true), requestMicrophonePermissionsAsync: () => { - seen.micPermissionRequests += 1 return Promise.resolve({ granted: true }) }, tearDown: () => {}, @@ -69,7 +66,7 @@ vi.mock('../platform/clipboard', () => { }) // Stub off-path native chat dependencies to keep Expo out of this mic test. -vi.mock('./native-chat/use-mobile-native-chat-send-error', async (importOriginal) => ({ +vi.mock('./native-chat/composer/use-mobile-native-chat-send-error', async (importOriginal) => ({ ...(await importOriginal()), useMobileNativeChatSendError: () => ({ message: null, @@ -82,7 +79,7 @@ vi.mock('./native-chat/use-mobile-native-chat-send-error', async (importOriginal vi.mock('./native-chat/transcript/use-mobile-native-chat-readability', () => ({ useMobileNativeChatReadability: () => false })) -vi.mock('./native-chat/use-mobile-native-chat-input-lease', () => ({ +vi.mock('./native-chat/composer/use-mobile-native-chat-input-lease', () => ({ useMobileNativeChatInputLease: () => ({ ready: true, readyRef: { current: true }, @@ -159,11 +156,7 @@ function mount( activeSessionTab: { id: 'tab1', type: 'terminal', terminal: 't1', title: 'Claude Code' }, diffComments: [], diffCommentsRef: useRef([]), - setShowDictationSetup: (next: boolean) => { - if (next) { - seen.setupSheetOpens += 1 - } - }, + setShowDictationSetup: () => {}, setDictationMode: () => {}, dictationEnabled: true, setDictationEnabled: () => {}, @@ -259,8 +252,6 @@ async function startRecording( beforeEach(() => { seen.toasts.length = 0 seen.errorHaptics = 0 - seen.setupSheetOpens = 0 - seen.micPermissionRequests = 0 seen.clipboard.length = 0 seen.inputs.length = 0 seen.chat = { shown: false, scope: null } @@ -268,70 +259,6 @@ beforeEach(() => { seen.audioListeners.clear() }) -describe('a mic tap after the host reported dictation is not set up', () => { - it('opens setup without asking for the microphone, then lets the host judge the tap after the sheet closes', async () => { - const rpc = createFakeRpcClient() - const mounted = mount(rpc) - await act(async () => { - const read = mounted.current().refreshDictationMode() - for (const request of rpc.requests.splice(0)) { - request.resolve({ - id: 'desktop', - ok: true, - result: { enabled: false, selectedModelId: '', dictationMode: 'toggle', models: [] } - }) - } - await read - }) - act(() => mounted.current().handleDictationToggle()) - expect(seen.setupSheetOpens).toBe(1) - expect(seen.micPermissionRequests).toBe(0) - expect(rpc.requests).toEqual([]) - - // Closing the sheet hands the next tap to the host until a fresh read lands. - act(() => mounted.current().closeDictationSetup()) - act(() => mounted.current().handleDictationToggle()) - await settle(rpc, '') - expect(seen.setupSheetOpens).toBe(1) - expect(seen.micPermissionRequests).toBe(1) - }) -}) - -describe('an audio interruption while recording', () => { - it('finishes the dictation and keeps what was said', async () => { - const rpc = createFakeRpcClient() - await startRecording(rpc) - act(() => seen.audioListeners.get('onAudioInterruption')?.({ data: 'began' })) - const methods = await settle(rpc, 'call me back') - expect(methods).toContain('speech.dictation.finish') - expect(methods).not.toContain('speech.dictation.cancel') - expect(seen.inputs).toEqual(['call me back']) - expect(seen.toasts).toEqual(['Dictation inserted']) - }) -}) - -describe('leaving the session while recording', () => { - it('stops and inserts what was said instead of leaving, and lets the next leave go', async () => { - const rpc = createFakeRpcClient() - const mounted = await startRecording(rpc) - const held: boolean[] = [] - act(() => { - held.push(mounted.current().dictationLeaveHold.hold()) - }) - // Back is released while transcribing, so a swipe can leave too. - expect(mounted.current().dictationLeaveHold.holdsLeave).toBe(false) - act(() => { - held.push(mounted.current().dictationLeaveHold.hold()) - }) - expect(held).toEqual([true, false]) - const methods = await settle(rpc, 'one more thing') - expect(methods.filter((method) => method === 'speech.dictation.finish')).toHaveLength(1) - expect(methods).not.toContain('speech.dictation.cancel') - expect(seen.inputs).toEqual(['one more thing']) - expect(seen.toasts).toEqual(['Dictation inserted']) - }) -}) - describe('a mic tap while the transcript is processing', () => { it('keeps the transcript that comes back', async () => { const rpc = createFakeRpcClient() @@ -367,19 +294,3 @@ describe('a dictation that ends after switching between chat and terminal', () = expect(seen.inputs).toEqual([]) }) }) - -describe('a dictation whose session screen was left', () => { - it('keeps recording, then puts its words in the chat it started in with a toast that opens it', async () => { - seen.chat = { shown: true, scope: 'chat-a' } - const rpc = createFakeRpcClient() - const mounted = await startRecording(rpc) - mounted.leave() - expect(mounted.host().getDictation().isRecording).toBe(true) - expect(mounted.host().pill?.away).toBe(true) - act(() => mounted.host().stop()) - await settle(rpc, 'ship it') - expect(seen.chatWrites).toEqual([['chat-a', 'ship it']]) - expect(mounted.host().pill?.toast?.message).toBe('Inserted in Claude Code') - expect(mounted.host().pill?.toast?.open).toBeTypeOf('function') - }) -}) diff --git a/mobile/src/session/mobile-native-chat-host-preference.test.tsx b/mobile/src/session/mobile-native-chat-host-preference.test.tsx deleted file mode 100644 index b19ba1fbb4b..00000000000 --- a/mobile/src/session/mobile-native-chat-host-preference.test.tsx +++ /dev/null @@ -1,239 +0,0 @@ -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, expect, it, vi } from 'vitest' -import { useMobileNativeChatQueueFollowUps } from './use-mobile-native-chat-queue-follow-ups' -import { useMobileNativeChatCiResultLines } from './use-mobile-native-chat-ci-result-lines' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import type { ConnectionState } from '../transport/connection/connection-state' -import type { RpcResponse } from '../transport/rpc/rpc-wire-types' - -function connection() { - let state: ConnectionState = 'connected' - let generation = 0 - const callbacks: ((event: unknown) => void)[] = [] - const routedCallbacks: { host: string | undefined; callback: (event: unknown) => void }[] = [] - const states = new Set<(state: ConnectionState) => void>() - const stops = vi.fn() - const replies: ((reply: RpcResponse) => void)[] = [] - const failures: ((reason: Error) => void)[] = [] - const sendRequest = vi.fn( - () => - new Promise((resolve, reject) => { - replies.push(resolve) - failures.push(reject) - }) - ) - const client: RpcClient = { - sendRequest, - subscribe: vi.fn((_method, _params, callback, options) => { - callbacks.push(callback) - const host = options?.envelope?.executionHost - routedCallbacks.push({ host: typeof host === 'string' ? host : undefined, callback }) - return stops - }), - onStateChange: (callback) => { - states.add(callback) - return () => { - states.delete(callback) - } - }, - getState: () => state, - getGeneration: () => generation, - getReconnectAttempt: () => 0, - getLastConnectedAt: () => null, - notifyForeground: () => {}, - close: () => {}, - updateTerminalSubscriptionViewport: () => {} - } - return { - client, - stops, - replies, - failures, - callbacks, - states, - emit: (event: unknown) => callbacks.at(-1)?.(event), - emitAt: (host: string | undefined, event: unknown) => - routedCallbacks.findLast((entry) => entry.host === host)?.callback(event), - change: (next: ConnectionState, migrate = false) => { - state = next - if (migrate) { - generation++ - } - for (const callback of states) { - callback(state) - } - } - } -} -const settingsReply = (settings: Record): RpcResponse => ({ - id: 'r', - ok: true, - result: { settings }, - _meta: { runtimeId: 'r' } -}) - -const renderers = new Set() -afterEach(() => { - act(() => { - for (const renderer of renderers) { - renderer.unmount() - } - }) - renderers.clear() -}) - -it('re-renders only the consumers of the preference and desktop that changed', async () => { - const a = connection(), - b = connection() - const renders = new Map() - const values = new Map() - const count = (id: string, value: boolean) => { - values.set(id, value) - renders.set(id, (renders.get(id) ?? 0) + 1) - } - function CiLines({ id, client }: { id: string; client: RpcClient }) { - count(id, useMobileNativeChatCiResultLines(client, true)) - return null - } - function FollowUps({ id, client }: { id: string; client: RpcClient }) { - count(id, useMobileNativeChatQueueFollowUps(client, true, id, client, true)) - return null - } - await act(async () => { - renderers.add( - create( - <> - - - - {Array.from({ length: 9 }, (_, index) => ( - - ))} - - ) - ) - }) - await act(async () => {}) - // Ten chats on B share one read and one stream. - expect(b.client.sendRequest).toHaveBeenCalledTimes(1) - expect(b.client.subscribe).toHaveBeenCalledTimes(1) - // B executes the chat and reports CI lines on; A, the paired desktop, hasn't reported. - await act(async () => b.emit({ type: 'nativeChatCiResultLinesChanged', ciResultLines: true })) - expect([values.get('ci-a'), values.get('follow-ups-a'), values.get('ci-b')]).toEqual([ - false, - true, - true - ]) - const settled = new Map(renders) - await act(async () => a.emit({ type: 'nativeChatCiResultLinesChanged', ciResultLines: true })) - expect(values.get('ci-a')).toBe(true) - expect(renders).toEqual(new Map([...settled, ['ci-a', settled.get('ci-a')! + 1]])) - await act(async () => a.emit({ type: 'nativeChatQueueFollowUpsChanged', queueFollowUps: false })) - expect(values.get('follow-ups-a')).toBe(false) - expect(renders).toEqual( - new Map([ - ...settled, - ['ci-a', settled.get('ci-a')! + 1], - ['follow-ups-a', settled.get('follow-ups-a')! + 1] - ]) - ) - const beforeOther = new Map(renders) - await act(async () => b.emit({ type: 'nativeChatCiResultLinesChanged', ciResultLines: false })) - expect(values.get('ci-b')).toBe(false) - expect(renders.get('ci-a')).toBe(beforeOther.get('ci-a')) - expect(renders.get('follow-ups-a')).toBe(beforeOther.get('follow-ups-a')) - // A snapshot-less ready re-reads once for the connection, not once per chat. - await act(async () => b.emit({ type: 'ready', subscriptionId: 'legacy' })) - expect(b.client.sendRequest).toHaveBeenCalledTimes(2) -}) - -it('shows CI lines from the last value the paired desktop reported, hidden until it reports one', async () => { - const desktop = connection() - const values: boolean[] = [] - function Chat() { - values.push(useMobileNativeChatCiResultLines(desktop.client, true)) - return null - } - let chat!: ReactTestRenderer - function NoDesktop() { - values.push(useMobileNativeChatCiResultLines(null, true)) - return null - } - await act(async () => { - renderers.add(create()) - }) - expect(values.at(-1)).toBe(false) - await act(async () => { - chat = create() - renderers.add(chat) - }) - // An older desktop omits the field from both its ready snapshot and its settings. - await act(async () => desktop.emit({ type: 'ready', subscriptionId: 'old', snapshot: {} })) - await act(async () => desktop.replies.at(-1)!(settingsReply({ nativeChatQueueFollowUps: true }))) - expect(values.at(-1)).toBe(false) - await act(async () => - desktop.emit({ type: 'nativeChatCiResultLinesChanged', ciResultLines: true }) - ) - expect(values.at(-1)).toBe(true) - await act(async () => desktop.change('disconnected')) - // Draw again while disconnected: a phone resume must not blink the line out. - await act(async () => chat.update()) - expect(values.at(-1)).toBe(true) - await act(async () => desktop.change('connected')) - await act(async () => - desktop.emit({ - type: 'ready', - subscriptionId: 'new', - snapshot: { nativeChatCiResultLines: false } - }) - ) - expect(values.at(-1)).toBe(false) -}) - -it('keeps a pending follow-ups read when a CI change lands on a joined stream', async () => { - const desktop = connection() - const values = new Map() - function FollowUps() { - values.set( - 'follow-ups', - useMobileNativeChatQueueFollowUps(desktop.client, true, 'f', desktop.client, true) - ) - return null - } - function CiLines() { - values.set('ci', useMobileNativeChatCiResultLines(desktop.client, true)) - return null - } - const first = create() - renderers.add(first) - await act(async () => {}) - // A legacy ready re-reads follow-ups; that read is still out when a later chat joins the stream. - await act(async () => desktop.emit({ type: 'ready', subscriptionId: 'legacy' })) - const followUpsRead = desktop.replies.at(-1)! - await act(async () => - first.update( - <> - - - - ) - ) - const ciRead = desktop.replies.at(-1)! - await act(async () => - desktop.emit({ type: 'nativeChatCiResultLinesChanged', ciResultLines: true }) - ) - await act(async () => - followUpsRead( - settingsReply({ nativeChatQueueFollowUps: false, nativeChatCiResultLines: false }) - ) - ) - await act(async () => - ciRead(settingsReply({ nativeChatQueueFollowUps: true, nativeChatCiResultLines: false })) - ) - expect(values).toEqual( - new Map([ - ['follow-ups', false], - ['ci', true] - ]) - ) -}) diff --git a/mobile/src/session/mobile-native-chat-message-hand-back.ts b/mobile/src/session/mobile-native-chat-message-hand-back.ts deleted file mode 100644 index 7391481887f..00000000000 --- a/mobile/src/session/mobile-native-chat-message-hand-back.ts +++ /dev/null @@ -1,42 +0,0 @@ -import type { AgentJournalMessageItem } from '../../../src/shared/agent-session/journal/agent-session-journal-types' -import { queuedEditTextForKeptImages } from '../../../src/shared/queued-message-edit' -import { appendReturnedDraftText } from '../../../src/shared/returned-draft-text' -import { mobileDraftImageOfBlock } from './mobile-queued-message-edit-draft' -import { - readMobileNativeChatDraftInputs, - updateMobileNativeChatDraftInputs -} from './native-chat/composer/mobile-native-chat-draft-inputs' -import { setMobileNativeChatDraftText } from './native-chat/composer/mobile-native-chat-draft-store' - -/** Append a sent message's text and images after what is typed; stable chip ids keep a repeat from doubling them. */ -export function returnMobileNativeChatMessageToComposer( - scopeKey: string, - /** Unique to this message, so its images never collide with ones already attached. */ - attachmentIdPrefix: string, - blocks: AgentJournalMessageItem['blocks'] -): void { - const imageIds: string[] = [] - const images = blocks.flatMap((block, index) => { - if (block.type !== 'image-ref') { - return [] - } - const id = `${attachmentIdPrefix}-${index}` - imageIds.push(id) - return block.path ? [mobileDraftImageOfBlock(id, block)] : [] - }) - const held = readMobileNativeChatDraftInputs(scopeKey).images - const added = images.filter((image) => !held.some(({ id }) => id === image.id)) - // `[Image #k]` counts every chip in the composer, so markers move past the images already there. - const text = queuedEditTextForKeptImages( - blocks.flatMap((block) => (block.type === 'text' ? [block.text] : [])).join('\n'), - imageIds, - [...held, ...added].map(({ id }) => id) - ) - setMobileNativeChatDraftText(scopeKey, (draft) => appendReturnedDraftText(draft, text)) - if (added.length > 0) { - updateMobileNativeChatDraftInputs(scopeKey, (current) => ({ - ...current, - images: [...current.images, ...added] - })) - } -} diff --git a/mobile/src/session/mobile-native-chat-picker-scaling.test.ts b/mobile/src/session/mobile-native-chat-picker-scaling.test.ts deleted file mode 100644 index 8a3adb1e363..00000000000 --- a/mobile/src/session/mobile-native-chat-picker-scaling.test.ts +++ /dev/null @@ -1,86 +0,0 @@ -import { afterEach, expect, it, vi } from 'vitest' -import capture from '../../../src/shared/__fixtures__/omp-native-commands.json' -import * as catalog from '../../../src/shared/native-chat/input/native-chat-slash-commands' -import type { NativeChatPickerItem } from '../../../src/shared/native-chat/input/native-chat-picker-items' -import { deriveComposerAutocomplete } from '../../../src/shared/native-chat/input/native-chat-composer-autocomplete' -import { - mobileComposerCatalog, - boundedMenuItems -} from './native-chat/composer/mobile-native-chat-composer-menu' - -afterEach(() => vi.restoreAllMocks()) - -it('bounds native OMP picker name reads at N/10N while preserving first duplicate descriptions', () => { - const reportedSkills = catalog.sessionReportedSkills - let visits = 0 - vi.spyOn(catalog, 'sessionReportedSkills').mockImplementation((...args) => - reportedSkills(...args).map((skill) => ({ - ...skill, - get name() { - visits += 1 - return skill.name - } - })) - ) - const native = capture.enabled.availableCommands.find((row) => row.name === 'skill:plan')! - for (const surface of ['desktop', 'mobile'] as const) { - const counts = [10, 100].map((size) => { - const reported = [ - ...Array.from({ length: size }, (_, i) => ({ - name: `${native.name}-${i}`, - kind: 'command' as const, - description: i === 0 ? undefined : native.description - })), - { name: `${native.name}-0`, kind: 'command' as const, description: 'Later duplicate' }, - { name: `${native.name}-1`, kind: 'command' as const, description: 'Later duplicate' } - ] - visits = 0 - let rows: NativeChatPickerItem[] - if (surface === 'desktop') { - const picker = deriveComposerAutocomplete( - '/plan', - 5, - catalog.sessionSlashCommandSuggestions('omp', reported), - [], - null, - { status: 'ready', skills: [] }, - null, - catalog.sessionReportedSkills(reported, 'omp') - ) - expect(picker.mode).toBe('slash') - if (picker.mode !== 'slash') { - throw new Error('Missing native picker') - } - rows = picker.items - } else { - const menu = mobileComposerCatalog({ - agent: 'omp', - structured: { reported, conversationCommands: [] } - }) - const picker = deriveComposerAutocomplete( - '/plan', - 5, - menu.commands, - menu.discovery.skills, - menu.profile, - menu.discovery, - null, - menu.sessionSkills - ) - expect(picker.mode).toBe('slash') - rows = picker.mode === 'slash' ? boundedMenuItems(picker.items) : [] - } - const skills = rows.filter((row) => row.kind === 'skill') - expect(skills).toHaveLength(Math.min(size, surface === 'desktop' ? 50 : 10)) - expect(new Set(skills.map((row) => row.token)).size).toBe(skills.length) - expect(skills.find((row) => row.token === '/skill:plan-0')?.description).toBeNull() - expect(skills.find((row) => row.token === '/skill:plan-1')?.description).toBe( - native.description - ) - expect(visits).toBeGreaterThanOrEqual(reported.length) - expect(visits).toBeLessThanOrEqual(10 * reported.length) - return visits - }) - expect(counts[1]).toBeLessThanOrEqual(12 * counts[0]!) - } -}) diff --git a/mobile/src/session/mobile-queued-edit-hook.test-fixture.tsx b/mobile/src/session/mobile-queued-edit-hook.test-fixture.tsx deleted file mode 100644 index fdf2e5e21d0..00000000000 --- a/mobile/src/session/mobile-queued-edit-hook.test-fixture.tsx +++ /dev/null @@ -1,261 +0,0 @@ -import { QueuedMessageUpdateParams } from '../../../src/shared/rpc-contract/structured-agent-session-queued-edit-params' -import { useMobileNativeChatComposerMenu } from './native-chat/composer/use-mobile-native-chat-composer-menu' -import { - resetMobileNativeChatDraftStoreForTests, - useMobileNativeChatDraft -} from './native-chat/composer/mobile-native-chat-draft-store' -import { - updateMobileNativeChatDraftInputs, - resetMobileNativeChatDraftInputsForTests -} from './native-chat/composer/mobile-native-chat-draft-inputs' -import { createElement, type ReactNode } from 'react' -import { act, type ReactTestRenderer } from 'react-test-renderer' -import { createWithQueryClient } from '../test-support/query-client-test-renderer' -import { afterEach, expect, vi } from 'vitest' -import type { - AgentSessionQueuedMessage, - AgentSessionQueuedMessageEditHoldResult -} from '../../../src/shared/agent-session/requests/agent-session-queued-message-wire' -import { agentSessionSendBodyFingerprint } from '../../../src/shared/agent-session/requests/structured-agent-session-send-mutation' -import { queuedMessageWithEdit } from '../../../src/shared/queued-message-edit' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import type { RpcResponse } from '../transport/rpc/rpc-wire-types' -import { useMobileStructuredAgentSession } from './use-mobile-structured-agent-session' -import { - CAPABLE, - SESSION_ID, - fieldsOf, - mutationOk, - ok, - snapshotEvent -} from './native-chat/agent-session/use-mobile-structured-agent-session-queued.test-fixture' - -export function withText(body: AgentSessionQueuedMessage['body'], text: string) { - const edited = queuedMessageWithEdit(body, { text }) - if (!edited.ok) { - throw new Error(edited.reason) - } - return edited.body -} - -export function editHoldReply(params: unknown): RpcResponse { - const result: AgentSessionQueuedMessageEditHoldResult = - fieldsOf(params).action === 'release' - ? { status: 'released' } - : { status: 'held', fingerprint: 'fp', leaseDurationMs: 120_000, remainingMs: 120_000 } - return ok(result) -} - -export function readOrHoldReply(method: string, params: unknown): RpcResponse { - return method === 'agentSession.queuedMessageEditHold' - ? editHoldReply(params) - : ok({ models: [], current: {} }) -} - -vi.mock('react-native', async () => ({ - ...(await import('../test-support/react-native-motion-stub')).reactNativeMotionStub(), - Text: 'Text', - View: 'View', - Pressable: 'Pressable', - ScrollView: 'ScrollView', - TextInput: 'TextInput', - ActivityIndicator: 'ActivityIndicator', - Image: 'Image', - Keyboard: { dismiss: vi.fn() }, - Platform: { OS: 'ios' }, - useWindowDimensions: () => ({ fontScale: 1 }), - StyleSheet: { create: (styles: unknown) => styles } -})) -vi.mock('lucide-react-native', () => ({ - FileText: 'FileText', - Package: 'Package', - Terminal: 'Terminal', - ArrowUp: 'ArrowUp', - AtSign: 'AtSign', - AlertCircle: 'AlertCircle', - Image: 'Image', - Paperclip: 'Paperclip', - Check: 'Check', - ChevronDown: 'ChevronDown', - ChevronLeft: 'ChevronLeft', - ChevronRight: 'ChevronRight', - CornerDownRight: 'CornerDownRight', - ListEnd: 'ListEnd', - MoreHorizontal: 'MoreHorizontal', - Mic: 'Mic', - Pencil: 'Pencil', - Play: 'Play', - Plus: 'Plus', - Send: 'Send', - ShieldAlert: 'ShieldAlert', - Square: 'Square', - Trash2: 'Trash2', - X: 'X' -})) -vi.mock('@react-native-async-storage/async-storage', () => ({ - default: { getItem: async () => null, setItem: async () => {}, removeItem: async () => {} } -})) - -export function mobileQueuedEditHarness() { - const state: { - renderer?: ReactTestRenderer - bottomText: string - hook?: ReturnType - menu?: ReturnType - listener?: (data: unknown) => void - } = { bottomText: '' } - const append = vi.fn(() => true) - const error = vi.fn() - const notice = vi.fn() - const resolved = vi.fn() - const sendRequest = vi.fn() - const client: RpcClient = { - sendRequest, - subscribe: (_method, _params, onData) => { - if (_method === 'agentSession.subscribe') { - state.listener = onData - } - return () => {} - }, - updateTerminalSubscriptionViewport: () => {}, - getState: () => 'connected', - getReconnectAttempt: () => 0, - getLastConnectedAt: () => null, - onStateChange: () => () => {}, - notifyForeground: () => {}, - close: () => {} - } - function Harness({ - sessionId = SESSION_ID, - editSupport = true, - enabled = true, - connected = true, - transport = client, - composerScopeKey, - imagesSupport = false, - skillsSupport = false, - agent = 'codex', - renderContent - }: { - sessionId?: string - editSupport?: boolean | null - enabled?: boolean - connected?: boolean - transport?: RpcClient | null - composerScopeKey?: string - imagesSupport?: boolean - skillsSupport?: boolean - agent?: string - renderContent?: (hook: ReturnType) => ReactNode - }): ReactNode { - state.bottomText = useMobileNativeChatDraft('original-bottom') - state.hook = useMobileStructuredAgentSession({ - client: transport, - pairedHostClient: transport, - sessionId, - sourceIdentity: 'host-a', - enabled, - connected, - agent, - hostSupport: - editSupport === null - ? null - : { - ...CAPABLE, - sendSkills: true, - queuedMessages: false, - queuedMessageImageEdit: imagesSupport, - queuedMessageSkillsEdit: skillsSupport, - queuedMessageEdit: editSupport - }, - composerScopeKey, - appendComposerText: append, - onSendError: error, - onQueuedEditNotice: notice, - onActionResolved: resolved - }) - state.menu = useMobileNativeChatComposerMenu({ - value: state.hook.queued.editor?.text ?? '', - onChangeText: (text) => state.hook?.queued.editor?.change(text), - agent, - structuredCatalog: { - reported: [{ name: 'review', kind: 'skill', path: '/B/SKILL.md' }], - conversationCommands: [] - }, - filePaths: [], - focusField: () => {}, - editing: true, - // Mirrors the real composer: the menu hands over its row; the draft keeps name and path. - onPickSkill: ({ token, path }) => { - const key = state.hook?.queued.editor?.scopeKey - if (key && path) { - updateMobileNativeChatDraftInputs(key, (before) => ({ - ...before, - skills: [{ name: token.slice(1), path }] - })) - } - } - }) - return renderContent?.(state.hook) ?? null - } - function requestedFingerprint(message: AgentSessionQueuedMessage) { - const params = sendRequest.mock.calls.findLast( - ([method]) => method === 'agentSession.queuedMessageUpdate' - )?.[1] - const fields = QueuedMessageUpdateParams.parse(params) - const edited = queuedMessageWithEdit(message.body, fields) - if (!edited.ok) { - throw new Error(edited.reason) - } - return agentSessionSendBodyFingerprint(SESSION_ID, edited.body) - } - async function mount( - message: AgentSessionQueuedMessage, - editSupport: boolean | null = true, - agent = 'codex', - sessionId = SESSION_ID - ) { - vi.clearAllMocks() - resetMobileNativeChatDraftInputsForTests() - resetMobileNativeChatDraftStoreForTests() - sendRequest.mockImplementation(async (method, params) => - method === 'agentSession.queuedMessageUpdate' - ? mutationOk({ - status: 'updated', - messageId: message.messageId, - fingerprint: requestedFingerprint(message) - }) - : readOrHoldReply(method, params) - ) - await act(async () => { - state.renderer = createWithQueryClient( - createElement(Harness, { editSupport, agent, sessionId }) - ) - }) - const snapshot = snapshotEvent({ queuedMessages: [message], runningTurn: true }) - act(() => state.listener?.({ ...snapshot, sessionId, page: { ...snapshot.page, sessionId } })) - if (editSupport !== null) { - await act(async () => { - expect(await state.hook!.queued.edit!(message.messageId)).toBe(true) - }) - } - } - afterEach(async () => { - await act(async () => state.renderer?.unmount()) - vi.useRealTimers() - vi.unstubAllGlobals() - }) - - return { - state, - Harness, - mount, - client, - sendRequest, - append, - error, - notice, - resolved, - requestedFingerprint - } -} diff --git a/mobile/src/session/mobile-queued-message-edit-lease.ts b/mobile/src/session/mobile-queued-message-edit-lease.ts deleted file mode 100644 index 424f19e43a4..00000000000 --- a/mobile/src/session/mobile-queued-message-edit-lease.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { - startQueuedEditLease, - type QueuedEditLeaseLoss -} from '../../../src/shared/queued-message-edit-lease' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import { callAgentSession } from './mobile-structured-agent-session-rpc' -import { structuredSessionOperationId } from './structured-session-operation-id' - -export type { QueuedEditLease as MobileQueuedEditLease } from '../../../src/shared/queued-message-edit-lease' - -export function startMobileQueuedEditLease(args: { - getClient: () => RpcClient | null - sessionId: string - messageId: string - expectedBodyFingerprint: string - onLost: (loss: QueuedEditLeaseLoss) => void -}) { - return startQueuedEditLease({ - sessionId: args.sessionId, - messageId: args.messageId, - editId: structuredSessionOperationId(), - expectedBodyFingerprint: args.expectedBodyFingerprint, - onLost: args.onLost, - request: (params) => { - const client = args.getClient() - return client - ? callAgentSession(client, 'agentSession.queuedMessageEditHold', params, undefined, { - failWhenDisconnected: true - }) - : Promise.reject(new Error('Disconnected')) - } - }) -} diff --git a/mobile/src/session/mobile-session-appearance-startup.test.tsx b/mobile/src/session/mobile-session-appearance-startup.test.tsx deleted file mode 100644 index afa67b42404..00000000000 --- a/mobile/src/session/mobile-session-appearance-startup.test.tsx +++ /dev/null @@ -1,77 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestInstance, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it, vi } from 'vitest' -import { MobileSessionRouteScreen } from './MobileSessionRouteScreen' - -// Mocked react-native components are string tags that ReactTestInstance's ElementType omits. -function hostType(node: ReactTestInstance): unknown { - return node.type -} - -const state = vi.hoisted(() => ({ - terminalPreferencesReady: false, - accessoryPreferencesReady: false, - nativeChatController: { sessionViewReady: false } -})) -const mounts = vi.hoisted(() => ({ count: 0 })) -vi.mock('react-native', () => ({ - ActivityIndicator: 'ActivityIndicator', - Text: 'Text', - View: 'View' -})) -vi.mock('./mobile-session-styles', () => ({ styles: {} })) -vi.mock('./use-mobile-session-controller', () => ({ useMobileSessionController: () => state })) -vi.mock('./MobileSessionSurface', async () => { - const react = await import('react') - return { - MobileSessionSurface: () => { - react.useEffect(() => { - mounts.count += 1 - }, []) - return react.createElement('ReadySession') - } - } -}) - -let renderer: ReactTestRenderer | null = null -afterEach(() => { - act(() => renderer?.unmount()) - renderer = null -}) - -describe('first visible session appearance', () => { - it.each(['terminal', 'accessory', 'chat'] as const)( - 'waits for the saved %s setting before mounting the session', - (waiting) => { - state.terminalPreferencesReady = waiting !== 'terminal' - state.accessoryPreferencesReady = waiting !== 'accessory' - state.nativeChatController.sessionViewReady = waiting !== 'chat' - mounts.count = 0 - const render = () => - act(() => { - if (renderer) { - renderer.update(createElement(MobileSessionRouteScreen)) - } else { - renderer = create(createElement(MobileSessionRouteScreen)) - } - }) - const expectPreparing = () => { - expect(renderer?.root.findAll((node) => hostType(node) === 'ReadySession')).toHaveLength(0) - expect( - renderer?.root.findAll((node) => hostType(node) === 'ActivityIndicator') - ).toHaveLength(1) - expect(mounts.count).toBe(0) - } - render() - expectPreparing() - state.terminalPreferencesReady = true - state.accessoryPreferencesReady = true - state.nativeChatController.sessionViewReady = true - render() - expect(renderer?.root.findAll((node) => hostType(node) === 'ReadySession')).toHaveLength(1) - expect(mounts.count).toBe(1) - render() - expect(mounts.count).toBe(1) - } - ) -}) diff --git a/mobile/src/session/mobile-session-route.test.ts b/mobile/src/session/mobile-session-route.test.ts index 3dfbcc3165a..7cbd6402b54 100644 --- a/mobile/src/session/mobile-session-route.test.ts +++ b/mobile/src/session/mobile-session-route.test.ts @@ -45,27 +45,6 @@ function mountedHostState(hostId: string): HostStackNavigationState { } describe('mobile session route', () => { - it('keeps dynamic route identities raw for the navigator to encode', () => { - expect( - mobileSessionRouteTarget({ - hostId: 'host/one', - worktreeId: 'repo::/Users/ada/orca/workspaces/fix #1', - name: 'Fix #1', - paneKey: 'pane/one', - executionHost: 'runtime:server-1' - }) - ).toEqual({ - name: '[hostId]/session/[worktreeId]', - params: { - hostId: 'host/one', - worktreeId: 'repo::/Users/ada/orca/workspaces/fix #1', - name: 'Fix #1', - paneKey: 'pane/one', - executionHost: 'runtime:server-1' - } - }) - }) - it('mounts the host, then opens the session over its list', () => { const harness = navigationHarness({ index: 0, routes: [{ name: 'index' }] }) const push = vi.fn() diff --git a/mobile/src/session/mobile-session-status-result.ts b/mobile/src/session/mobile-session-status-result.ts deleted file mode 100644 index 722e62ab480..00000000000 --- a/mobile/src/session/mobile-session-status-result.ts +++ /dev/null @@ -1,3 +0,0 @@ -export type RuntimeStatusResult = { - capabilities?: string[] -} diff --git a/mobile/src/session/mobile-structured-agent-prompts-free-text.test.ts b/mobile/src/session/mobile-structured-agent-prompts-free-text.test.ts deleted file mode 100644 index 950672cc3c7..00000000000 --- a/mobile/src/session/mobile-structured-agent-prompts-free-text.test.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { AgentJournalFreeTextInput } from '../../../src/shared/agent-session/journal/agent-session-journal-types' -import { formatQuestionFreeTextAnswer } from './native-chat/input/mobile-native-chat-question' -import { - projectStructuredQuestion, - structuredQuestionResponseTarget, - type StructuredQuestionItem -} from './mobile-structured-agent-prompts' - -function prompt(freeTextInput?: AgentJournalFreeTextInput): StructuredQuestionItem { - return { - itemId: 'item-1', - revision: 3, - sequence: 1, - observedAt: 1, - body: { - kind: 'question', - question: 'Edit the draft', - options: [], - freeTextQuestionId: 'q1', - ...(freeTextInput ? { freeTextInput } : {}), - resolution: { state: 'pending', selectedOptionId: null, resolvedBy: null, resolvedAt: null } - } - } -} - -describe('mobile structured free-text questions', () => { - it('accepts empty and whitespace text only for the matching allowed prompt', () => { - const current = prompt({ allowEmpty: true }) - const projected = projectStructuredQuestion(current)! - for (const answer of ['', ' \n ']) { - const response = formatQuestionFreeTextAnswer(projected, answer) - expect(structuredQuestionResponseTarget(response, current)).toEqual({ - itemId: 'item-1', - expectedRevision: 3, - answer: { questionId: 'q1', optionIds: [], other: answer } - }) - expect(structuredQuestionResponseTarget(response, prompt())).toBeNull() - } - expect( - structuredQuestionResponseTarget(formatQuestionFreeTextAnswer(projected, ''), { - ...current, - revision: 4 - }) - ).toBeNull() - }) - - it('keeps legacy trimming for ordinary free-text answers', () => { - const current = prompt() - const projected = projectStructuredQuestion(current)! - expect( - structuredQuestionResponseTarget( - formatQuestionFreeTextAnswer(projected, ' draft '), - current - ) - ).toMatchObject({ answer: { other: 'draft' } }) - expect(structuredQuestionResponseTarget('', current)).toBeNull() - }) -}) diff --git a/mobile/src/session/mobile-structured-agent-prompts-permission.test.ts b/mobile/src/session/mobile-structured-agent-prompts-permission.test.ts deleted file mode 100644 index 6d4700b489a..00000000000 --- a/mobile/src/session/mobile-structured-agent-prompts-permission.test.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - projectStructuredPermission, - type StructuredApprovalItem -} from './mobile-structured-agent-prompts' - -function approvalPrompt(): StructuredApprovalItem { - return { - itemId: 'approval-1', - revision: 2, - sequence: 1, - observedAt: 0, - body: { - kind: 'approval', - title: 'Claude wants to run git push', - decisionReason: 'Pushing changes the remote', - blockedPath: 'C:\\qa\\demo\\.git\\config', - matchedAskRule: { - source: 'projectSettings', - toolName: 'Bash', - ruleContent: 'Bash(git push:*)' - }, - detail: 'git push origin main', - options: [{ id: 'allow', label: 'Allow' }], - resolution: { state: 'pending', selectedOptionId: null, resolvedBy: null, resolvedAt: null } - } - } -} - -describe('structured permission projection', () => { - it('carries the blocked path to the card but not the matched ask rule', () => { - const permission = projectStructuredPermission(approvalPrompt()) - expect(permission).toMatchObject({ - decisionReason: 'Pushing changes the remote', - blockedPath: 'C:\\qa\\demo\\.git\\config', - detail: 'git push origin main' - }) - expect(permission).not.toHaveProperty('matchedAskRule') - }) -}) diff --git a/mobile/src/session/mobile-structured-agent-session-contract.ts b/mobile/src/session/mobile-structured-agent-session-contract.ts deleted file mode 100644 index f3d9f5284fd..00000000000 --- a/mobile/src/session/mobile-structured-agent-session-contract.ts +++ /dev/null @@ -1,107 +0,0 @@ -import type { AgentSessionSlashCommand } from '../../../src/shared/agent-session/agent-session-wire' -import type { NativeChatSendFollowUp } from '../../../src/shared/native-chat/input/native-chat-follow-up-behavior' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import type { StructuredAgentSessionHostSupport } from './mobile-structured-agent-session-host-support' -import type { - MobileNativeChatSendIntent, - MobileNativeChatSendOutcome -} from './native-chat/mobile-native-chat-send' -import type { MobileNativeChatVisualSource } from './native-chat/visual/mobile-native-chat-visual-read' -import type { MobileChatPermission } from './native-chat/input/mobile-native-chat-permission' -import type { MobileChatQuestion } from './native-chat/input/mobile-native-chat-question' -import type { MobileNativeChatSession } from './native-chat/use-mobile-native-chat-session' -import type { NativeChatLiveTurnIndicator } from '../../../src/shared/native-chat/transcript/native-chat-turn-status' -import type { NativeChatResolvedPrompt } from '../../../src/shared/native-chat/native-chat-resolution-receipt' -import type { useMobileStructuredAgentOptions } from './use-mobile-structured-agent-options' -import type { useMobileStructuredAgentTurnTiming } from './use-mobile-structured-agent-turn-timing' -import type { StructuredMobileSendAttachment } from './use-mobile-structured-send-with-outcome' -import type { - AgentJournalSkillRef, - AgentJournalSubmission -} from '../../../src/shared/agent-session/journal/agent-session-journal-types' -import type { - MobileNativeChatCommandRefusalCauses, - MobileNativeChatSendErrorReporter -} from './native-chat/use-mobile-native-chat-send-error' -import type { MobileStructuredQueuedMessageControls } from './use-mobile-structured-queued-message-controls' -import type { MobileStructuredBackgroundTasks } from './use-mobile-structured-background-tasks' -import type { NativeChatContextUsageSummary } from '../../../src/shared/native-chat/native-chat-context-usage-summary' -import type { MobileStructuredInterruptedContinue } from './use-mobile-structured-interrupted-continue' -import type { MobileStructuredThreadGoal } from './use-mobile-structured-thread-goal' -import type { MobileStructuredSends } from './use-mobile-structured-sends' -import type { AgentSessionRewindSurface } from '../../../src/shared/agent-session/lifecycle/agent-session-rewind-request' -import type { MobileNativeChatUsageLimit } from './native-chat/use-mobile-native-chat-usage-limit' - -export type StructuredMobileSession = Omit< - ReturnType, - 'contextUsageSupport' -> & - ReturnType & { - /** The composer ring's readout; null until the session reports usage. */ - contextUsage: NativeChatContextUsageSummary | null - submissions: readonly AgentJournalSubmission[] - session: MobileNativeChatSession - asyncQuestionSourceScope: string - isWorking: boolean - /** Desktop's Stop rule: a running turn, or conversation Stop while working or sending. */ - canStop: boolean - /** While the agent works on a host that queues: what a tap on Send does and whether holding it offers the other way; null otherwise. */ - sendFollowUp: NativeChatSendFollowUp | null - turnId: string | null - turnIndicator: NativeChatLiveTurnIndicator - sendWithOutcome: ( - text: string, - images?: string[], - deadline?: number, - attachments?: readonly StructuredMobileSendAttachment[], - skills?: readonly AgentJournalSkillRef[], - intent?: MobileNativeChatSendIntent - ) => Promise - holdUnconfirmed: MobileStructuredSends['holdUnconfirmed'] - cancel: () => void - receipts: ReadonlyMap - /** Undefined from a host too old to say. */ - actionablePromptIds: readonly string[] | undefined - permission: MobileChatPermission | null - question: MobileChatQuestion | null - respondPermission: (optionId: string) => Promise - respondQuestion: (answer: string, prompt?: MobileChatQuestion['prompt']) => Promise - cancelPrompt: (prompt?: { itemId: string; expectedRevision: number }) => Promise - queued: MobileStructuredQueuedMessageControls - commandRefusalCauses: MobileNativeChatCommandRefusalCauses - backgroundTasks: MobileStructuredBackgroundTasks - interruptedContinue: MobileStructuredInterruptedContinue - /** Null unless the host reports goals for this chat. */ - threadGoal: MobileStructuredThreadGoal | null - /** "Rewind to here" for the chat's own turn openers; absent where the chat cannot rewind. */ - rewind: AgentSessionRewindSurface | undefined - visualSource: MobileNativeChatVisualSource | null - imagePreviewsByMessageId: Record - usageLimit: MobileNativeChatUsageLimit | null - } - -export type MobileStructuredAgentSessionArgs = { - client: RpcClient | null - /** The paired host the route opened: its query cache holds the chat's last model lists. */ - hostId?: string - /** The route's paired host owns follow-up behavior even when another host executes the chat. */ - pairedHostClient: RpcClient | null - sessionId: string | null - /** Host/workspace scope used to keep same provider ids isolated. */ - sourceIdentity?: string - enabled: boolean - /** Live transport only; gates the connection-scoped hold, and whether child rows may read live. */ - connected: boolean - /** Capability facts from the shared runtime status probe; null follows the legacy wire. */ - hostSupport: StructuredAgentSessionHostSupport | null - agent: string | null - /** What the session reported for its `/` menu; undefined until read or on an older host. */ - onCommandsChanged?: () => void - sessionCommands?: readonly AgentSessionSlashCommand[] - composerScopeKey?: string | null - appendComposerText?: (text: string) => boolean - onQueuedEditNotice?: (message: string) => void - onSendError: MobileNativeChatSendErrorReporter - // Accepted queued actions retire the route’s failure banner. - onActionResolved?: () => void -} diff --git a/mobile/src/session/mobile-structured-agent-session-launch.test.ts b/mobile/src/session/mobile-structured-agent-session-launch.test.ts deleted file mode 100644 index 457d3fb3c2e..00000000000 --- a/mobile/src/session/mobile-structured-agent-session-launch.test.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { describe, expect, it, vi } from 'vitest' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import { markRpcDeliveryUnknown } from '../transport/rpc/rpc-delivery-ambiguity' -import { createMobileStructuredAgentSession } from './mobile-structured-agent-session-launch' -import './mobile-created-structured-sessions' - -function clientReturning( - ...responses: unknown[] -): RpcClient & { sendRequest: ReturnType } { - let responseIndex = 0 - const sendRequest = vi.fn(async () => responses[responseIndex++]) - return { sendRequest } as unknown as RpcClient & { sendRequest: ReturnType } -} - -describe('mobile structured agent-session launch', () => { - it('keeps the outcome unknown when the idempotent retry cannot be sent', async () => { - const client = clientReturning({ ok: true, result: { supported: true } }) - client.sendRequest.mockImplementationOnce(async () => ({ - ok: true, - result: { supported: true } - })) - client.sendRequest.mockRejectedValueOnce(markRpcDeliveryUnknown(new Error('response lost'))) - client.sendRequest.mockRejectedValueOnce(new Error('connection interrupted')) - - await expect( - createMobileStructuredAgentSession(client, 'workspace-1', 'codex') - ).resolves.toMatchObject({ - kind: 'unknown' - }) - }) -}) - -it('settles a proven missing-original fork refusal but keeps a lost earlier attempt unknown', async () => { - const refusal = { - ok: true, - result: { - ok: false, - refusal: { - code: 'agent_session_identity_required', - details: { reason: 'recordMissing' }, - createAttemptRefusedBeforeCommit: true, - message: 'Source chat unavailable' - } - } - } - const client = clientReturning({ ok: true, result: { supported: true } }, refusal) - const forkFrom = { sessionId: 'copied-chat', throughItemId: 'legacy:opencode:source:reply-1' } - expect( - (await createMobileStructuredAgentSession(client, 'workspace-1', 'opencode', forkFrom)).kind - ).toBe('failed') - const lost = clientReturning({ ok: true, result: { supported: true } }, refusal) - lost.sendRequest - .mockImplementationOnce(async () => ({ ok: true, result: { supported: true } })) - .mockRejectedValueOnce(markRpcDeliveryUnknown(new Error('reply lost'))) - .mockResolvedValueOnce(refusal) - expect( - (await createMobileStructuredAgentSession(lost, 'workspace-1', 'opencode', forkFrom)).kind - ).toBe('unknown') -}) - -it('settles a proven fork read refusal without settling a prior lost copy', async () => { - const refusal = { - ok: true, - result: { - ok: false, - refusal: { - code: 'agent_session_identity_required', - details: { reason: 'transcriptUnreadable' }, - createAttemptRefusedBeforeCommit: true, - message: 'Codex could not read the saved chat.' - } - } - } - const client = clientReturning({ ok: true, result: { supported: true } }, refusal) - const forkFrom = { sessionId: 'source-chat', throughItemId: 'codex:source:selected:1' } - expect( - (await createMobileStructuredAgentSession(client, 'workspace-1', 'codex', forkFrom)).kind - ).toBe('failed') - const lost = clientReturning({ ok: true, result: { supported: true } }, refusal) - lost.sendRequest - .mockImplementationOnce(async () => ({ ok: true, result: { supported: true } })) - .mockRejectedValueOnce(markRpcDeliveryUnknown(new Error('copy reply lost'))) - .mockResolvedValueOnce(refusal) - expect( - (await createMobileStructuredAgentSession(lost, 'workspace-1', 'codex', forkFrom)).kind - ).toBe('unknown') -}) diff --git a/mobile/src/session/mobile-structured-agent-session-send.ts b/mobile/src/session/mobile-structured-agent-session-send.ts deleted file mode 100644 index 76fad9815a5..00000000000 --- a/mobile/src/session/mobile-structured-agent-session-send.ts +++ /dev/null @@ -1,79 +0,0 @@ -import type { AgentSessionSendResult } from '../../../src/shared/agent-session/agent-session-wire' -import type { AgentJournalCursor } from '../../../src/shared/agent-session/journal/agent-session-journal-identity' -import type { AgentJournalSkillRef } from '../../../src/shared/agent-session/journal/agent-session-journal-types' -import { - structuredAgentSessionSendBody, - type StructuredAgentSessionAttachment -} from '../../../src/shared/agent-session/requests/structured-agent-session-send-mutation' -import { structuredAgentSessionBlocksTooLarge } from '../../../src/shared/rpc-contract/structured-agent-session-message-params' -import { AGENT_SESSION_MESSAGE_TOO_LARGE_PARTS } from '../../../src/shared/agent-session/failures/agent-session-refusal-notice' -import { mobileAgentSessionWriteNoticeText } from './agent-session-write-notice-copy' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import type { MobileNativeChatSendOutcome } from './native-chat/mobile-native-chat-send' -import { - requestStructuredAgentSessionMutation, - timeoutForDeadline -} from './mobile-structured-agent-session-rpc' -import { mobileStructuredSendDelivery } from './mobile-structured-send-delivery' -import type { MobileNativeChatSendErrorReporter } from './native-chat/use-mobile-native-chat-send-error' - -export async function sendMobileStructuredAgentSessionMessage(input: { - client: RpcClient - sessionId: string - expectedRuntimeFence: number - text: string - attachments: readonly StructuredAgentSessionAttachment[] - /** Sent only when the host advertises `agent-session.send-skills.v1`. */ - skills?: readonly AgentJournalSkillRef[] - /** Sent only when the host advertises `agent-session.queued-messages.v2`. */ - delivery?: 'queue-if-active' - /** Sent only when the host advertises `agent-session.send-selection.v1`. */ - selection?: Readonly> - /** Sent only when the host advertises `agent-session.send-options.v1`. */ - options?: Readonly> - /** Sent only when the host advertises `agent-session.send-usage-limit-continuation.v1`. */ - usageLimitContinuationOfTurnItemId?: string - deadline?: number - clientMessageId: string - onError: MobileNativeChatSendErrorReporter - onAccepted?: (cursor: AgentJournalCursor | undefined) => void -}): Promise { - const timeoutMs = timeoutForDeadline(input.deadline) - if (timeoutMs === null) { - input.onError('Message not sent') - return 'rejected' - } - const body = structuredAgentSessionSendBody(input.text, input.attachments, input.skills) - // The host refuses it unexplained, so say why here and keep the draft. - if (structuredAgentSessionBlocksTooLarge(body.blocks)) { - input.onError(mobileAgentSessionWriteNoticeText(AGENT_SESSION_MESSAGE_TOO_LARGE_PARTS)) - return 'rejected' - } - // Use one operation id per Send action so separate taps cannot replay each other. - const result = await requestStructuredAgentSessionMutation({ - client: input.client, - method: 'agentSession.send', - fingerprintMethod: 'agentSession.send', - sessionId: input.sessionId, - expectedRuntimeFence: input.expectedRuntimeFence, - fields: { - body, - ...(input.delivery ? { delivery: input.delivery } : {}), - ...(input.options ? { options: input.options } : {}), - ...(input.selection !== undefined ? { selection: input.selection } : {}), - ...(input.usageLimitContinuationOfTurnItemId - ? { usageLimitContinuationOfTurnItemId: input.usageLimitContinuationOfTurnItemId } - : {}) - }, - clientOperationId: input.clientMessageId, - timeoutMs - }) - const outcome = mobileStructuredSendDelivery(result) - if (outcome.error !== null) { - input.onError(outcome.error) - } - if (outcome.outcome === 'accepted' && result.status === 'accepted') { - input.onAccepted?.(result.cursor) - } - return outcome.outcome -} diff --git a/mobile/src/session/mobile-structured-agent-session-working.ts b/mobile/src/session/mobile-structured-agent-session-working.ts deleted file mode 100644 index 1394f856d48..00000000000 --- a/mobile/src/session/mobile-structured-agent-session-working.ts +++ /dev/null @@ -1,16 +0,0 @@ -import type { StructuredAgentSessionState } from '../../../src/shared/agent-session/structured-agent-session-reducer' -import { - runningStructuredAgentSessionTurnId, - structuredAgentSessionHostSaysWorking -} from '../../../src/shared/agent-session/view/structured-agent-session-live-turn' -import { isStructuredAgentSessionMainAgentWorking } from '../../../src/shared/agent-session/view/structured-agent-session-main-agent-working' - -export function mobileStructuredAgentSessionWorking(state: StructuredAgentSessionState): boolean { - return structuredAgentSessionHostSaysWorking(state.working, () => - isStructuredAgentSessionMainAgentWorking( - runningStructuredAgentSessionTurnId(state), - state.submissions, - state.fence - ) - ) -} diff --git a/mobile/src/session/mobile-structured-chat-fork.ts b/mobile/src/session/mobile-structured-chat-fork.ts index ff26e8eb7c7..009bde60332 100644 --- a/mobile/src/session/mobile-structured-chat-fork.ts +++ b/mobile/src/session/mobile-structured-chat-fork.ts @@ -7,7 +7,7 @@ import type { StructuredAgentSessionForkSource } from '../../../src/shared/agent-session/structured-agent-session-create' import { AGENT_SESSION_CREATE_TAB_PLACEMENT_RUNTIME_CAPABILITY } from '../../../src/shared/agent-session/agent-session-create-capabilities' -import { createMobileStructuredAgentSession } from './mobile-structured-agent-session-launch' +import { createMobileStructuredAgentSession } from './native-chat/agent-session/mobile-structured-agent-session-launch' import { launchedSelection, withLaunchReply, diff --git a/mobile/src/session/mobile-structured-send-queue-rule.ts b/mobile/src/session/mobile-structured-send-queue-rule.ts deleted file mode 100644 index 12065e7d0a2..00000000000 --- a/mobile/src/session/mobile-structured-send-queue-rule.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { selectAgentSessionCurrentRequests } from '../../../src/shared/agent-session/requests/agent-session-current-requests' -import type { StructuredAgentSessionState } from '../../../src/shared/agent-session/structured-agent-session-reducer' -import { - structuredAgentSessionFollowUpsQueue, - structuredAgentSessionQueueEnabled -} from '../../../src/shared/agent-session/view/structured-agent-session-queued-cards' - -/** The desktop's rule: the alternate flips the setting first, then the queue's own rules decide. */ -export function mobileStructuredSendQueues( - queueCapable: boolean, - queueFollowUps: boolean, - state: Pick, - send: { alternate?: boolean; isWorking: boolean; stopping: boolean } = { - isWorking: false, - stopping: false - } -): boolean { - return ( - queueCapable && - structuredAgentSessionQueueEnabled( - structuredAgentSessionFollowUpsQueue(queueFollowUps, send), - state, - selectAgentSessionCurrentRequests(state) - ) - ) -} diff --git a/mobile/src/session/native-chat/MobileNativeChatDiffCard.test.tsx b/mobile/src/session/native-chat/MobileNativeChatDiffCard.test.tsx deleted file mode 100644 index 42da6626f1e..00000000000 --- a/mobile/src/session/native-chat/MobileNativeChatDiffCard.test.tsx +++ /dev/null @@ -1,36 +0,0 @@ -import './transcript/mobile-agent-message-renderer.test-fixture' -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, expect, it } from 'vitest' -import { findAllByHostType } from '../../test-support/react-test-renderer-host-nodes' -import { Transcript, textIn } from './transcript/mobile-native-chat-turn-diff.test-fixture' - -let renderer: ReactTestRenderer | null = null -afterEach(() => { - act(() => renderer?.unmount()) - renderer = null -}) - -it('shows finished-turn files outside folded work and opens a patch with one tap', () => { - act(() => { - renderer = create(createElement(Transcript, { working: true })) - }) - expect(textIn(renderer!.root)).toContain('greeting.ts') - act(() => { - renderer!.update(createElement(Transcript)) - }) - expect(textIn(renderer!.root)).toContain('greeting.ts') - expect(textIn(renderer!.root)).not.toContain('diagnostic-output') - expect(textIn(renderer!.root)).not.toContain('helloNew()') - const file = findAllByHostType(renderer!.root, 'Pressable').find( - (node) => node.props.accessibilityLabel === '/repo/greeting.ts' - )! - act(() => file.props.onPress()) - expect(textIn(renderer!.root)).toContain('helloNew()') - expect(textIn(renderer!.root)).not.toContain('statusNew()') - act(() => renderer!.unmount()) - act(() => { - renderer = create(createElement(Transcript)) - }) - expect(textIn(renderer!.root)).toContain('status.ts') -}) diff --git a/mobile/src/session/native-chat/MobileNativeChatMarkdown.tsx b/mobile/src/session/native-chat/MobileNativeChatMarkdown.tsx deleted file mode 100644 index 399e14a473f..00000000000 --- a/mobile/src/session/native-chat/MobileNativeChatMarkdown.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import type { ComponentProps } from 'react' -import { MobileMarkdown } from '../../components/MobileMarkdown' -import { useMobileNativeChatOpenFile } from './mobile-native-chat-open-file-context' - -/** Chat markdown: generic markdown with the chat's file opener, so file paths in any chat text open, - * and desktop chat's math delimiters. */ -export function MobileNativeChatMarkdown( - props: Omit, 'onOpenFile' | 'chatMath'> -): React.JSX.Element { - return -} diff --git a/mobile/src/session/native-chat/MobileNativeChatOverlay.tsx b/mobile/src/session/native-chat/MobileNativeChatOverlay.tsx index 649307a056f..398c127dd31 100644 --- a/mobile/src/session/native-chat/MobileNativeChatOverlay.tsx +++ b/mobile/src/session/native-chat/MobileNativeChatOverlay.tsx @@ -1,4 +1,4 @@ -import { MobileQueuedMessageComposerContext } from '../mobile-queued-message-composer-context' +import { MobileQueuedMessageComposerContext } from './input/mobile-queued-message-composer-context' import { Activity, useCallback, useLayoutEffect, useMemo, useRef, useState } from 'react' import { StyleSheet, View } from 'react-native' import { MobileNativeChatView, type MobileNativeChatInputLockReason } from './MobileNativeChatView' @@ -6,11 +6,11 @@ import { useMobileNativeChatProjection } from './transcript/use-mobile-native-ch import { nativeChatDockedTaskList } from '../../../../src/shared/native-chat/input/native-chat-task-list-state' import type { MobileNativeChatImageAttachments } from './composer/use-mobile-native-chat-image-attachments' import type { MobileNativeChatController } from './mobile-native-chat-controller-contract' -import type { MobileNativeChatStructuredComposer } from './composer/MobileNativeChatComposer' +import type { MobileNativeChatStructuredComposer } from './composer/mobile-native-chat-structured-composer' import { useMobileNativeChatComposerTray } from './composer/use-mobile-native-chat-composer-tray' import { useMobileNativeChatVisualRenderer } from './visual/MobileNativeChatVisual' import { MobileNativeChatVisualContext } from './visual/mobile-native-chat-visual-context' -import { MobileNativeChatRootItemSourceContext } from './mobile-native-chat-item-read' +import { MobileNativeChatRootItemSourceContext } from './transcript/mobile-native-chat-item-read' import { useMobileNativeChatMessageDetail } from './transcript/use-mobile-native-chat-message-detail' import { MobileNativeChatReplyRevealsContext, @@ -19,7 +19,7 @@ import { import { MobileNativeChatRowOverlaysHost } from './transcript/MobileNativeChatRowOverlaysHost' import { nativeChatAskRequiresTerminal } from '../../../../src/shared/native-chat/native-chat-agent-support' import { tuiAgentDisplayName } from '../../../../src/shared/agent-launch/catalog/tui-agent-display-names' -import { MobileNativeChatNoticeContext } from '../mobile-native-chat-notice-context' +import { MobileNativeChatNoticeContext } from './transcript/mobile-native-chat-notice-context' import type { MobileNativeChatImageSource } from './visual/mobile-native-chat-image-preview' import type { MobileNativeChatHostOutage } from './mobile-native-chat-host-outage' import { useMobileNativeChatMarkdownLinks } from './use-mobile-native-chat-markdown-links' diff --git a/mobile/src/session/native-chat/MobileNativeChatView.failure-banner.test.ts b/mobile/src/session/native-chat/MobileNativeChatView.failure-banner.test.ts deleted file mode 100644 index 6e7ba0d0431..00000000000 --- a/mobile/src/session/native-chat/MobileNativeChatView.failure-banner.test.ts +++ /dev/null @@ -1,104 +0,0 @@ -import { describe, expect, it, vi } from 'vitest' -import { - installChatViewHooks, - assistantTurn, - banners, - bannerText, - hostType, - listIds, - pressSend, - render, - root, - update -} from './MobileNativeChatView.harness.test-fixture' - -vi.mock('react-native', async () => { - const { reactNativeStub } = await import('./MobileNativeChatView.render-stubs.test-fixture') - return reactNativeStub() -}) -vi.mock('react-native-safe-area-context', () => ({ - useSafeAreaInsets: () => ({ top: 0, bottom: 0, left: 0, right: 0 }) -})) -vi.mock('react-native-gesture-handler', async () => { - const { gestureHandlerStub } = await import('./MobileNativeChatView.render-stubs.test-fixture') - return gestureHandlerStub() -}) -vi.mock('lucide-react-native', () => ({ - ArrowDown: 'ArrowDown', - ChevronsDownUp: 'ChevronsDownUp', - ChevronsUpDown: 'ChevronsUpDown', - Square: 'Square' -})) -vi.mock('./transcript/MobileNativeChatMessage', () => ({ - MobileNativeChatMessage: 'ChatMessage' -})) -vi.mock('./transcript/MobileNativeChatLiveLine', () => ({ - MobileNativeChatLiveLine: 'LiveStatus' -})) -vi.mock('./input/MobileNativeChatAsk', () => ({ MobileNativeChatAsk: 'ChatAsk' })) -vi.mock('./input/MobileNativeChatPermission', () => ({ - MobileNativeChatPermission: 'ChatPermission' -})) -vi.mock('./input/MobileNativeChatQuestion', () => ({ - MobileNativeChatQuestion: 'ChatQuestion' -})) -vi.mock('../../components/ActionSheetModal', () => ({ ActionSheetModal: 'ActionSheetModal' })) -vi.mock('./composer/MobileNativeChatComposer', async () => { - const { composerStub } = await import('./MobileNativeChatView.render-stubs.test-fixture') - return composerStub() -}) - -describe('MobileNativeChatView: send and read failure banners', () => { - installChatViewHooks() - - it('leaves only the words of a read that failed for good, over a loaded transcript', async () => { - const loaded = [assistantTurn('m1', 'earlier reply')] - const words = 'This chat was saved by a newer Orca. Update Orca to open it.' - const shown = (text: string) => - root().findAll((node) => hostType(node) === 'Text' && node.props.children === text) - const composers = () => root().findAll((node) => hostType(node) === 'Composer') - const lists = () => root().findAll((node) => hostType(node) === 'FlatList') - const failure = { - messages: loaded, - folded: loaded, - status: 'error' as const, - error: words, - canStop: true, - permission: { title: 'Approve?', options: [{ label: 'Allow', send: '1' }] }, - sendErrorMessage: 'Message unconfirmed — check chat before retrying' - } - await render({ ...failure, readFailedFinally: true }) - expect(shown(words)).toHaveLength(1) - expect(composers()).toHaveLength(0) - expect(lists()).toHaveLength(0) - expect(banners()).toHaveLength(0) - expect(root().findAllByProps({ accessibilityLabel: 'Stop the agent' })).toHaveLength(0) - - await update({ ...failure, error: "Orca couldn't open this chat's history right now." }) - expect(listIds()).toEqual(['m1']) - expect(composers()).toHaveLength(1) - expect(banners()).toHaveLength(1) - }) - - it('retires the previous banner before sending and preserves the new delivery notice', async () => { - const onClearSendError = vi.fn() - await render({ - sendErrorMessage: 'Stop failed', - onClearSendError, - onSend: async () => { - expect(onClearSendError).toHaveBeenCalledOnce() - await update({ sendErrorMessage: 'Delivery unconfirmed' }) - return true - } - }) - - await pressSend() - - expect(onClearSendError).toHaveBeenCalledOnce() - expect(bannerText()).toBe('Delivery unconfirmed') - }) -}) - -vi.mock('../MobileQueuedMessageComposer', () => ({ - MobileQueuedMessageComposer: 'QueuedMessageComposer' -})) diff --git a/mobile/src/session/native-chat/MobileNativeChatView.harness.test-fixture.ts b/mobile/src/session/native-chat/MobileNativeChatView.harness.test-fixture.ts deleted file mode 100644 index bca5383d4c2..00000000000 --- a/mobile/src/session/native-chat/MobileNativeChatView.harness.test-fixture.ts +++ /dev/null @@ -1,189 +0,0 @@ -import { resolveMobileNativeChatRowProps } from './transcript/use-mobile-native-chat-row-props' -import { createElement, type ReactElement } from 'react' -import { act, create, type ReactTestInstance, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, beforeEach, expect, vi } from 'vitest' -import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' -import { MobileNativeChatView } from './MobileNativeChatView' -import { setMobileNativeChatDraftText } from './composer/mobile-native-chat-draft-store' -import { - scrollToEnd, - scrollToOffset, - pageScroller -} from './MobileNativeChatView.render-stubs.test-fixture' - -vi.mock('../../components/DragReorderList', () => ({ DragReorderList: 'DragReorderList' })) -vi.mock('react-native-reanimated', async () => { - const { useRef } = await import('react') - return { - default: { ScrollView: 'ScrollView' }, - useAnimatedRef: () => useRef(null), - useSharedValue: (value: unknown) => useRef({ value }).current - } -}) - -export type Overrides = { - messages?: Parameters[0]['messages'] - folded?: Parameters[0]['folded'] - streaming?: string | null - sendErrorMessage?: string | null - onClearSendError?: () => void - inputLockReason?: 'disconnected' | 'waiting' | null - composerText?: string - onSend?: (text: string) => Promise - pending?: Parameters[0]['pending'] - structuredActivityUi?: boolean - turnIndicator?: Parameters[0]['turnIndicator'] - agentWorking?: boolean - canStop?: boolean - ask?: Parameters[0]['ask'] - askRequiresTerminal?: boolean - collapsedPrompt?: Parameters[0]['collapsedPrompt'] - micActive?: boolean - micProcessing?: boolean - composerTray?: Parameters[0]['composerTray'] - question?: Parameters[0]['question'] - permission?: Parameters[0]['permission'] - sendSurfaceId?: string - keyboardInset?: number - hasMore?: boolean - olderPages?: Parameters[0]['olderPages'] - onLoadEarlier?: () => void - status?: Parameters[0]['status'] - error?: string - readFailedFinally?: boolean - actionablePromptIds?: readonly string[] -} - -export function assistantTurn(id: string, text: string): NativeChatMessage { - return { id, role: 'assistant', blocks: [{ type: 'text', text }], timestamp: 0, source: 'hook' } -} - -const DRAFT_KEY = 'draft-a' - -function chatViewElement({ - composerText = '', - ...overrides -}: Overrides): ReturnType { - setMobileNativeChatDraftText(DRAFT_KEY, composerText) - return createElement(MobileNativeChatView, { - messages: [], - folded: [], - status: 'ready', - streaming: null, - onSend: vi.fn().mockResolvedValue(true), - sendSurfaceId: 'tab-a', - getSendCompletionGeneration: () => 0, - getComposerEditGeneration: () => 0, - pending: [], - draftKey: DRAFT_KEY, - onComposerTextChange: vi.fn(), - ...overrides - }) -} - -let renderer: ReactTestRenderer | null = null - -export function installChatViewHooks(): void { - beforeEach(() => { - vi.stubGlobal('requestAnimationFrame', (callback: FrameRequestCallback) => - setTimeout(() => callback(0), 0) - ) - vi.stubGlobal('cancelAnimationFrame', (handle: ReturnType) => - clearTimeout(handle) - ) - }) - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - scrollToEnd.mockReset() - scrollToOffset.mockReset() - Object.assign(pageScroller, { scrollTop: 0, scrollHeight: 0, clientHeight: 500 }) - vi.unstubAllGlobals() - }) -} - -export function root(): ReactTestInstance { - return renderer!.root -} - -// Mocked react-native components are string tags that ReactTestInstance's ElementType omits. -export function hostType(node: ReactTestInstance): unknown { - return node.type -} - -export async function render(overrides: Overrides = {}): Promise { - await act(async () => { - renderer = create(chatViewElement(overrides)) - }) -} - -export async function update(overrides: Overrides = {}): Promise { - await act(async () => { - renderer?.update(chatViewElement(overrides)) - }) -} - -export function listIds(): string[] { - return (list().props.data as { id: string }[]).map((row) => row.id) -} - -export function list(): ReactTestInstance { - return renderer!.root.find((node) => hostType(node) === 'FlatList') -} - -export function renderedRow(id: string): ReactElement> { - const listNode = list() - const data = listNode.props.data as NativeChatMessage[] - const index = data.findIndex((row) => row.id === id) - const row = listNode.props.renderItem({ item: data[index], index }) - const resolved = resolveMobileNativeChatRowProps(index, data[index]!, row.props.lookups) - return createElement('Row', { ...row.props, ...resolved }) -} - -export function banners(): ReactTestInstance[] { - return renderer!.root.findAll((node) => node.props.accessibilityRole === 'alert') -} - -export function composer(): ReactTestInstance { - return renderer!.root.find((node) => hostType(node) === 'Composer') -} - -export function bannerText(): string { - const [alert, ...rest] = banners() - expect(rest).toHaveLength(0) - return alert - .findAll((node) => hostType(node) === 'Text') - .map((node) => node.props.children) - .join('') -} - -export async function pressSend(): Promise { - const composer = renderer!.root.find((node) => hostType(node) === 'Composer') - await act(async () => { - await composer.props.onPress() - }) -} - -export function scrollEvent(y: number, contentHeight: number) { - return { - nativeEvent: { - contentOffset: { y }, - contentSize: { height: contentHeight }, - layoutMeasurement: { height: 500 } - } - } -} - -export async function scrollAwayFromTail(): Promise { - await act(async () => { - list().props.onScrollBeginDrag?.({}) - list().props.onScroll({ - nativeEvent: { - contentOffset: { y: 200 }, - contentSize: { height: 1_200 }, - layoutMeasurement: { height: 500 } - } - }) - }) -} diff --git a/mobile/src/session/native-chat/MobileNativeChatView.prompt-presentation.test.ts b/mobile/src/session/native-chat/MobileNativeChatView.prompt-presentation.test.ts deleted file mode 100644 index e905f481014..00000000000 --- a/mobile/src/session/native-chat/MobileNativeChatView.prompt-presentation.test.ts +++ /dev/null @@ -1,188 +0,0 @@ -import './MobileNativeChatView.harness.test-fixture' -import { createElement, type ComponentProps } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { Pressable } from 'react-native' -import { afterEach, describe, expect, it, vi } from 'vitest' -import { MobileNativeChatView } from './MobileNativeChatView' -import { useMobileNativeChatPromptPresentation } from './input/use-mobile-native-chat-prompt-presentation' -import type { MobileChatPermission } from './input/mobile-native-chat-permission' -import { setMobileNativeChatDraftText } from './composer/mobile-native-chat-draft-store' -vi.mock('react-native', async () => { - const React = await import('react') - return { - ...(await import('../../test-support/react-native-motion-stub')).reactNativeMotionStub(), - ActivityIndicator: 'ActivityIndicator', - Image: 'Image', - Platform: { OS: 'ios' }, - Keyboard: { dismiss: vi.fn() }, - FlatList: React.forwardRef((props, ref) => { - React.useImperativeHandle(ref, () => ({ scrollToEnd: vi.fn(), scrollToOffset: vi.fn() }), []) - return React.createElement('FlatList', props) - }), - Pressable: 'Pressable', - ScrollView: 'ScrollView', - TextInput: 'TextInput', - StyleSheet: { create: (styles: unknown) => styles, hairlineWidth: 1 }, - Text: 'Text', - View: 'View' - } -}) -vi.mock('react-native-safe-area-context', () => ({ - useSafeAreaInsets: () => ({ top: 0, bottom: 0, left: 0, right: 0 }) -})) -vi.mock('react-native-gesture-handler', () => { - type GestureChain = { - runOnJS: () => GestureChain - onStart: () => GestureChain - onUpdate: () => GestureChain - } - const chain: GestureChain = { runOnJS: () => chain, onStart: () => chain, onUpdate: () => chain } - return { - Gesture: { Simultaneous: () => ({}), Native: () => ({}), Pinch: () => chain }, - GestureDetector: 'GestureDetector', - GestureHandlerRootView: 'GestureHandlerRootView' - } -}) -vi.mock('lucide-react-native', () => - Object.fromEntries( - [ - 'ArrowDown', - 'ArrowUp', - 'ListEnd', - 'CornerDownRight', - 'ChevronDown', - 'ChevronUp', - 'ChevronsDownUp', - 'ChevronsUpDown', - 'ShieldQuestion', - 'ImagePlus', - 'Package', - 'Plus', - 'Mic', - 'Square', - 'X' - ].map((x) => [x, x]) - ) -) -vi.mock('./transcript/MobileNativeChatMessage', () => ({ - MobileNativeChatMessage: 'ChatMessage' -})) -vi.mock('./transcript/MobileNativeChatLiveLine', () => ({ - MobileNativeChatLiveLine: 'LiveStatus' -})) -vi.mock('./input/MobileNativeChatAsk', () => ({ MobileNativeChatAsk: 'ChatAsk' })) -vi.mock('./input/MobileNativeChatQuestion', () => ({ - MobileNativeChatQuestion: 'ChatQuestion' -})) -vi.mock('./input/MobileNativeChatSessionOptionPickers', () => ({ - MobileNativeChatSessionOptionPickers: 'SessionOptions' -})) -vi.mock('./composer/MobileNativeChatComposerMenu', () => ({ - MobileNativeChatComposerSuggestions: 'Suggestions' -})) -vi.mock('../../components/ActionSheetModal', () => ({ ActionSheetModal: 'ActionSheetModal' })) -vi.mock('../../components/MobileMarkdown', () => ({ MobileMarkdown: 'Markdown' })) -let tree: ReactTestRenderer | null = null -setMobileNativeChatDraftText('terminal-1', 'no, do X instead') -const props = { - messages: [], - folded: [], - status: 'ready' as const, - streaming: null, - pending: [], - onSend: vi.fn(async () => true), - sendSurfaceId: 'terminal-1', - getSendCompletionGeneration: () => 0, - getComposerEditGeneration: () => 0, - draftKey: 'terminal-1', - onComposerTextChange: vi.fn() -} -const permission: MobileChatPermission = { - title: 'Claude wants to use Bash', - options: [{ label: 'Deny', send: String.fromCharCode(27) }] -} -type Overrides = Partial> & { - waitStartedAt?: number - sessionKey?: string -} -function Harness(overrides: Overrides) { - const shown = useMobileNativeChatPromptPresentation({ - permission: overrides.permission ?? null, - waitStartedAt: overrides.waitStartedAt ?? 10, - scopeKey: 'tab-1', - sessionKey: overrides.sessionKey ?? 'session-1', - observing: true, - respondPermission: overrides.onRespondPermission ?? (async () => false) - }) - return createElement(MobileNativeChatView, { - ...props, - ...overrides, - permission: shown.permission, - promptKey: shown.occurrenceKey, - onRespondPermission: shown.respondPermission - }) -} -const render = async (overrides: Overrides) => { - await act(async () => { - const element = createElement(Harness, overrides) - if (tree) { - tree.update(element) - } else { - tree = create(element) - } - }) -} -const sendButton = () => tree!.root.findByProps({ accessibilityLabel: 'Send message' }) -const approvalAction = () => - tree!.root.findByProps({ testID: 'native-chat-approval-actions' }).findByType(Pressable) -afterEach(() => { - act(() => tree?.unmount()) - tree = null - vi.unstubAllGlobals() -}) -describe('terminal prompt presentation with the production view, card and composer', () => { - it('a late answer cannot reshow an answered replacement occurrence', async () => { - let finishOld: (accepted: boolean) => void = () => {} - const onRespondPermission = vi - .fn<(send: string) => Promise>() - .mockReturnValueOnce( - new Promise((resolve) => { - finishOld = resolve - }) - ) - .mockResolvedValueOnce(true) - await render({ permission, onRespondPermission }) - act(() => { - void approvalAction().props.onPress() - }) - await render({ permission, onRespondPermission, waitStartedAt: 20 }) - await act(async () => { - await approvalAction().props.onPress() - }) - expect(sendButton().props.disabled).toBe(false) - await act(async () => finishOld(true)) - expect(sendButton().props.disabled).toBe(false) - }) - - it('a late answer cannot dismiss a replacement session', async () => { - let finishOld: (accepted: boolean) => void = () => {} - const onRespondPermission = vi.fn( - () => - new Promise((resolve) => { - finishOld = resolve - }) - ) - await render({ permission, onRespondPermission }) - act(() => { - void approvalAction().props.onPress() - }) - await render({ permission, onRespondPermission, sessionKey: 'session-2' }) - await act(async () => finishOld(true)) - expect(sendButton().props.disabled).toBe(true) - expect(approvalAction().props.disabled).toBe(false) - }) -}) - -vi.mock('../MobileQueuedMessageComposer', () => ({ - MobileQueuedMessageComposer: 'QueuedMessageComposer' -})) diff --git a/mobile/src/session/native-chat/MobileNativeChatView.render-stubs.test-fixture.ts b/mobile/src/session/native-chat/MobileNativeChatView.render-stubs.test-fixture.ts deleted file mode 100644 index dffd0c09033..00000000000 --- a/mobile/src/session/native-chat/MobileNativeChatView.render-stubs.test-fixture.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { vi } from 'vitest' - -const scrollToEnd = vi.hoisted(() => vi.fn()) -const scrollToOffset = vi.hoisted(() => vi.fn()) -const platform = vi.hoisted(() => ({ OS: 'ios' })) -const pageScroller = vi.hoisted(() => ({ - scrollTop: 0, - scrollHeight: 0, - clientHeight: 500, - getInnerViewNode: () => ({}), - getBoundingClientRect: () => ({ top: 0, bottom: 500 }), - getAttribute: () => null, - querySelectorAll: () => [], - querySelector: () => null, - addEventListener: () => {}, - removeEventListener: () => {} -})) - -export async function reactNativeStub() { - const React = await import('react') - const { reactNativeMotionStub } = await import('../../test-support/react-native-motion-stub') - return { - ...reactNativeMotionStub(), - ActivityIndicator: 'ActivityIndicator', - FlatList: React.forwardRef((props, ref) => { - const handle = { scrollToEnd, scrollToOffset, getScrollableNode: () => pageScroller } - React.useImperativeHandle(ref, () => handle, []) - return React.createElement('FlatList', props) - }), - Platform: platform, - Pressable: 'Pressable', - ScrollView: React.forwardRef((props, ref) => { - const handle = { - scrollTo: ({ y, animated }: { y: number; animated: boolean }) => - scrollToOffset({ animated, offset: y }), - scrollToEnd, - getScrollableNode: () => pageScroller, - getInnerViewNode: () => pageScroller.getInnerViewNode() - } - React.useImperativeHandle(ref, () => handle, []) - return React.createElement('ScrollView', props) - }), - StyleSheet: { create: (styles: unknown) => styles, hairlineWidth: 1 }, - Text: 'Text', - View: 'View' - } -} - -export function gestureHandlerStub() { - const chain = { - runOnJS: () => chain, - onStart: () => chain, - onUpdate: () => chain - } - return { - Gesture: { Simultaneous: () => ({}), Native: () => ({}), Pinch: () => chain }, - GestureDetector: 'GestureDetector', - GestureHandlerRootView: 'GestureHandlerRootView' - } -} - -export async function composerStub() { - const React = await import('react') - const { MobileNativeChatStopButton } = await import('./input/MobileNativeChatStopButton') - const { useMobileNativeChatDraft } = await import('./composer/mobile-native-chat-draft-store') - return { - MobileNativeChatDraftComposer: ({ - draftKey, - ...props - }: { - draftKey: string | null - onSend: (text: string) => Promise - disabled?: boolean - placeholder?: string - stop?: { onStop?: () => void; held: boolean } | null - }) => - React.createElement( - 'Composer', - { - ...props, - value: useMobileNativeChatDraft(draftKey), - accessibilityLabel: 'Send message', - onPress: () => props.onSend('hi') - }, - props.stop ? React.createElement(MobileNativeChatStopButton, props.stop) : null - ) - } -} - -export { scrollToEnd, scrollToOffset, platform, pageScroller } diff --git a/mobile/src/session/native-chat/MobileNativeChatView.tsx b/mobile/src/session/native-chat/MobileNativeChatView.tsx index b3eead5e801..5e701c297d3 100644 --- a/mobile/src/session/native-chat/MobileNativeChatView.tsx +++ b/mobile/src/session/native-chat/MobileNativeChatView.tsx @@ -22,19 +22,19 @@ import { useMobileTranslation } from '../../i18n/use-mobile-translation' import { MobileNativeChatInputLockStatus } from './composer/MobileNativeChatInputLockStatus' import { useMobileColorScheme } from '../../theme/use-mobile-color-scheme' import { styles } from './mobile-native-chat-view-styles' -import { MobileNativeChatEmptyStateView } from '../MobileNativeChatEmptyStateView' -import { mobileNativeChatListFooter } from './mobile-native-chat-list-footer' -import { mobileNativeChatListHeader } from './mobile-native-chat-list-header' +import { MobileNativeChatEmptyStateView } from './transcript/MobileNativeChatEmptyStateView' +import { mobileNativeChatListFooter } from './transcript/mobile-native-chat-list-footer' +import { mobileNativeChatListHeader } from './transcript/mobile-native-chat-list-header' import { mobileNativeChatEmptyState, type MobileNativeChatPendingItem -} from './mobile-native-chat-render-data' +} from './transcript/mobile-native-chat-render-data' import { useMobileNativeChatTransientData } from './transcript/use-mobile-native-chat-transient-data' import { useMobileNativeChatRowKeys } from './transcript/mobile-native-chat-row-keys' import { useMobileNativeChatPinchGesture } from './transcript/use-mobile-native-chat-pinch-gesture' import { useMobileNativeChatTailFollow } from './transcript/use-mobile-native-chat-tail-follow' import { useMobileNativeChatTurnDisclosure } from './transcript/use-mobile-native-chat-turn-disclosure' -import { mobileNativeChatComposerPlaceholder } from './use-mobile-native-chat-input-lease' +import { mobileNativeChatComposerPlaceholder } from './composer/use-mobile-native-chat-input-lease' import { MobileNativeChatLiveLine } from './transcript/MobileNativeChatLiveLine' import { MobileNativeChatAwaitingInputRow } from './transcript/MobileNativeChatAwaitingInputRow' import type { NativeChatAwaitingInput } from '../../../../src/shared/native-chat/native-chat-terminal-turn' @@ -43,9 +43,9 @@ import type { PendingNativeChatImage } from './composer/mobile-native-chat-image import type { MobilePastedImages } from './composer/mobile-native-chat-composer-paste' import { MobileNativeChatDraftComposer, - type MobileNativeChatSendProps, - type MobileNativeChatStructuredComposer + type MobileNativeChatSendProps } from './composer/MobileNativeChatComposer' +import type { MobileNativeChatStructuredComposer } from './composer/mobile-native-chat-structured-composer' import { MobileNativeChatPromptCard } from './input/MobileNativeChatPromptCard' import type { MobileNativeChatMicProps } from './composer/MobileNativeChatComposerMic' import { useMobileNativeChatPromptInputOwner } from './input/use-mobile-native-chat-prompt-input-owner' @@ -54,11 +54,11 @@ import { type ComposerTrayProps } from './composer/use-mobile-native-chat-composer-tray' import type { MobileNativeChatSessionOptionPickersProps } from './input/MobileNativeChatSessionOptionPickers' -import { MobileNativeChatScrollRootsBoundary } from '../MobileNativeChatScrollRootsBoundary' +import { MobileNativeChatScrollRootsBoundary } from './transcript/MobileNativeChatScrollRootsBoundary' import { MobileNativeChatRowList } from './transcript/MobileNativeChatRowList' import { useMobileNativeChatRowRenderer } from './transcript/use-mobile-native-chat-row-renderer' -import type { MobileNativeChatStatus } from './use-mobile-native-chat-session' -import type { OlderPagePhase } from '../use-mobile-older-page-loader' +import type { MobileNativeChatStatus } from './mobile-native-chat-session-status' +import type { OlderPagePhase } from './transcript/use-mobile-older-page-loader' import { MobileNativeChatOpenFileContext } from './mobile-native-chat-open-file-context' import { MobileNativeChatLowerRegion } from './MobileNativeChatLowerRegion' import { MobileNativeChatOfflineQueue } from './input/MobileNativeChatOfflineQueue' diff --git a/mobile/src/session/native-chat/MobileNativeChatView.turn-status.test.ts b/mobile/src/session/native-chat/MobileNativeChatView.turn-status.test.ts deleted file mode 100644 index 6fa4e9c347b..00000000000 --- a/mobile/src/session/native-chat/MobileNativeChatView.turn-status.test.ts +++ /dev/null @@ -1,213 +0,0 @@ -import './MobileNativeChatView.harness.test-fixture' -import { createElement, type ReactNode } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' -import { MobileNativeChatView } from './MobileNativeChatView' - -const scrollToEnd = vi.hoisted(() => vi.fn()) -const scrollToOffset = vi.hoisted(() => vi.fn()) - -vi.mock('react-native', async () => { - const React = await import('react') - return { - ...(await import('../../test-support/react-native-motion-stub')).reactNativeMotionStub(), - ActivityIndicator: 'ActivityIndicator', - FlatList: React.forwardRef< - unknown, - { - data: NativeChatMessage[] - renderItem: (row: { item: NativeChatMessage; index: number }) => ReactNode - ListFooterComponent: ReactNode - } - >((props, ref) => { - React.useImperativeHandle(ref, () => ({ scrollToEnd, scrollToOffset }), []) - return React.createElement( - 'FlatList', - props, - props.data.map((item, index) => - React.createElement(React.Fragment, { key: item.id }, props.renderItem({ item, index })) - ), - props.ListFooterComponent - ) - }), - Platform: { OS: 'ios' }, - Pressable: 'Pressable', - StyleSheet: { create: (styles: unknown) => styles, hairlineWidth: 1 }, - Text: 'Text', - View: 'View' - } -}) - -vi.mock('react-native-safe-area-context', () => ({ - useSafeAreaInsets: () => ({ top: 0, bottom: 0, left: 0, right: 0 }) -})) - -vi.mock('react-native-gesture-handler', () => { - const chain = { - runOnJS: () => chain, - onStart: () => chain, - onUpdate: () => chain - } - return { - Gesture: { Simultaneous: () => ({}), Native: () => ({}), Pinch: () => chain }, - GestureDetector: 'GestureDetector', - GestureHandlerRootView: 'GestureHandlerRootView' - } -}) - -vi.mock('lucide-react-native', () => ({ - ArrowDown: 'ArrowDown', - ChevronsDownUp: 'ChevronsDownUp', - ChevronsUpDown: 'ChevronsUpDown', - Square: 'Square' -})) - -vi.mock('./transcript/MobileNativeChatMessage', () => ({ - MobileNativeChatMessage: 'ChatMessage' -})) -vi.mock('./transcript/MobileNativeChatLiveLine', () => ({ - MobileNativeChatLiveLine: 'LiveStatus' -})) -vi.mock('./input/MobileNativeChatAsk', () => ({ MobileNativeChatAsk: 'ChatAsk' })) -vi.mock('./input/MobileNativeChatPermission', () => ({ - MobileNativeChatPermission: 'ChatPermission' -})) -vi.mock('./input/MobileNativeChatQuestion', () => ({ - MobileNativeChatQuestion: 'ChatQuestion' -})) -vi.mock('../../components/ActionSheetModal', () => ({ ActionSheetModal: 'ActionSheetModal' })) - -vi.mock('./composer/MobileNativeChatComposer', async () => { - const { composerStub } = await import('./MobileNativeChatView.render-stubs.test-fixture') - return composerStub() -}) - -type Overrides = { - messages?: Parameters[0]['messages'] - folded?: Parameters[0]['folded'] - streaming?: string | null - sendErrorMessage?: string | null - onClearSendError?: () => void - inputLockReason?: 'disconnected' | 'waiting' | null - onSend?: (text: string) => Promise - pending?: Parameters[0]['pending'] - structuredActivityUi?: boolean - turnIndicator?: Parameters[0]['turnIndicator'] - agentWorking?: boolean - canStop?: boolean - ask?: Parameters[0]['ask'] - question?: Parameters[0]['question'] - permission?: Parameters[0]['permission'] - sendSurfaceId?: string - keyboardInset?: number - hasMore?: boolean - onLoadEarlier?: () => void -} - -function chatViewElement(overrides: Overrides): ReturnType { - return createElement(MobileNativeChatView, { - messages: [], - folded: [], - status: 'ready', - streaming: null, - onSend: vi.fn().mockResolvedValue(true), - sendSurfaceId: 'tab-a', - getSendCompletionGeneration: () => 0, - getComposerEditGeneration: () => 0, - pending: [], - draftKey: null, - onComposerTextChange: vi.fn(), - ...overrides - }) -} - -describe('MobileNativeChatView', () => { - let renderer: ReactTestRenderer | null = null - - beforeEach(() => { - vi.stubGlobal('requestAnimationFrame', (callback: FrameRequestCallback) => - setTimeout(() => callback(0), 0) - ) - vi.stubGlobal('cancelAnimationFrame', (handle: ReturnType) => - clearTimeout(handle) - ) - }) - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - scrollToEnd.mockReset() - scrollToOffset.mockReset() - vi.unstubAllGlobals() - }) - - async function render(overrides: Overrides = {}): Promise { - await act(async () => { - renderer = create(chatViewElement(overrides)) - }) - } - - async function update(overrides: Overrides = {}): Promise { - await act(async () => { - renderer?.update(chatViewElement(overrides)) - }) - } - - function renderedRow(id: string): ReturnType { - return createElement( - 'Row', - renderer!.root.find( - (node) => String(node.type) === 'ChatMessage' && node.props.message.id === id - ).props - ) - } - - describe('structured turn status wiring', () => { - const userTurn = (id: string, text: string): NativeChatMessage => ({ - id, - role: 'user', - blocks: [{ type: 'text', text }], - timestamp: 0, - source: 'transcript' - }) - - function rowProps(id: string): Record { - return (renderedRow(id) as { props: Record }).props - } - - it('does not carry a running turn clock across chat surfaces', async () => { - vi.useFakeTimers() - try { - vi.setSystemTime(1_000) - const firstTab = [userTurn('u1', 'first')] - await render({ - messages: firstTab, - folded: firstTab, - structuredActivityUi: true, - agentWorking: true, - sendSurfaceId: 'host\0worktree\0tab-a' - }) - expect(rowProps('u1').turnStatus).toMatchObject({ startedAt: 1_000 }) - - vi.setSystemTime(12_000) - const secondTab = [userTurn('u2', 'second')] - await update({ - messages: secondTab, - folded: secondTab, - structuredActivityUi: true, - agentWorking: true, - sendSurfaceId: 'host\0worktree\0tab-b' - }) - - expect(rowProps('u2').turnStatus).toMatchObject({ startedAt: 12_000 }) - } finally { - vi.useRealTimers() - } - }) - }) -}) - -vi.mock('../MobileQueuedMessageComposer', () => ({ - MobileQueuedMessageComposer: 'QueuedMessageComposer' -})) diff --git a/mobile/src/session/agent-session-failure-copy.ts b/mobile/src/session/native-chat/agent-session/agent-session-failure-copy.ts similarity index 96% rename from mobile/src/session/agent-session-failure-copy.ts rename to mobile/src/session/native-chat/agent-session/agent-session-failure-copy.ts index 541b5a76698..d7779789684 100644 --- a/mobile/src/session/agent-session-failure-copy.ts +++ b/mobile/src/session/native-chat/agent-session/agent-session-failure-copy.ts @@ -2,9 +2,9 @@ import type { AgentSessionFailureCopyId, AgentSessionFailureCopyValues, AgentSessionFailureSay -} from '../../../src/shared/agent-session/failures/agent-session-failure-copy' -import { translate } from '../i18n/mobile-i18n' -import { AGENT_SESSION_FAILURE_COPY } from '../../../src/shared/agent-session/failures/agent-session-failure-copy' +} from '../../../../../src/shared/agent-session/failures/agent-session-failure-copy' +import { translate } from '../../../i18n/mobile-i18n' +import { AGENT_SESSION_FAILURE_COPY } from '../../../../../src/shared/agent-session/failures/agent-session-failure-copy' import { START_FAILURE_COPY } from './agent-session-start-failure-copy' import { SEND_FAILURE_COPY } from './agent-session-send-failure-copy' diff --git a/mobile/src/session/agent-session-send-failure-copy.ts b/mobile/src/session/native-chat/agent-session/agent-session-send-failure-copy.ts similarity index 96% rename from mobile/src/session/agent-session-send-failure-copy.ts rename to mobile/src/session/native-chat/agent-session/agent-session-send-failure-copy.ts index 0a10fcac96f..4efaf079a87 100644 --- a/mobile/src/session/agent-session-send-failure-copy.ts +++ b/mobile/src/session/native-chat/agent-session/agent-session-send-failure-copy.ts @@ -1,9 +1,9 @@ -import { AGENT_SESSION_FAILURE_COPY } from '../../../src/shared/agent-session/failures/agent-session-failure-copy' +import { AGENT_SESSION_FAILURE_COPY } from '../../../../../src/shared/agent-session/failures/agent-session-failure-copy' import type { AgentSessionFailureCopyId, AgentSessionFailureCopyValues -} from '../../../src/shared/agent-session/failures/agent-session-failure-copy' -import { translate } from '../i18n/mobile-i18n' +} from '../../../../../src/shared/agent-session/failures/agent-session-failure-copy' +import { translate } from '../../../i18n/mobile-i18n' export const SEND_FAILURE_COPY = { unconfirmed: (values) => diff --git a/mobile/src/session/agent-session-start-failure-copy.ts b/mobile/src/session/native-chat/agent-session/agent-session-start-failure-copy.ts similarity index 98% rename from mobile/src/session/agent-session-start-failure-copy.ts rename to mobile/src/session/native-chat/agent-session/agent-session-start-failure-copy.ts index 036264d4a0a..924ff47be42 100644 --- a/mobile/src/session/agent-session-start-failure-copy.ts +++ b/mobile/src/session/native-chat/agent-session/agent-session-start-failure-copy.ts @@ -1,8 +1,8 @@ import type { AgentSessionFailureCopyId, AgentSessionFailureCopyValues -} from '../../../src/shared/agent-session/failures/agent-session-failure-copy' -import { translate } from '../i18n/mobile-i18n' +} from '../../../../../src/shared/agent-session/failures/agent-session-failure-copy' +import { translate } from '../../../i18n/mobile-i18n' export const START_FAILURE_COPY = { savedConversationMissing: (values) => diff --git a/mobile/src/session/agent-session-write-notice-copy.ts b/mobile/src/session/native-chat/agent-session/agent-session-write-notice-copy.ts similarity index 96% rename from mobile/src/session/agent-session-write-notice-copy.ts rename to mobile/src/session/native-chat/agent-session/agent-session-write-notice-copy.ts index ffab10462a5..ca95e2529ca 100644 --- a/mobile/src/session/agent-session-write-notice-copy.ts +++ b/mobile/src/session/native-chat/agent-session/agent-session-write-notice-copy.ts @@ -1,10 +1,10 @@ -import { expiredAttachmentsSentence } from '../../../src/shared/agent-session/failures/agent-session-attachment-failure-words' -import { agentSessionFailureSentence } from '../../../src/shared/agent-session/failures/agent-session-failure-words' +import { expiredAttachmentsSentence } from '../../../../../src/shared/agent-session/failures/agent-session-attachment-failure-words' +import { agentSessionFailureSentence } from '../../../../../src/shared/agent-session/failures/agent-session-failure-words' import type { AgentSessionWriteNoticePart, AgentSessionWriteNoticeSentence -} from '../../../src/shared/agent-session/failures/agent-session-write-notice-copy' -import { translate } from '../i18n/mobile-i18n' +} from '../../../../../src/shared/agent-session/failures/agent-session-write-notice-copy' +import { translate } from '../../../i18n/mobile-i18n' import { sayMobileAgentSessionFailure } from './agent-session-failure-copy' const SENTENCES: Record string> = { diff --git a/mobile/src/session/mobile-created-structured-sessions.ts b/mobile/src/session/native-chat/agent-session/mobile-created-structured-sessions.ts similarity index 100% rename from mobile/src/session/mobile-created-structured-sessions.ts rename to mobile/src/session/native-chat/agent-session/mobile-created-structured-sessions.ts diff --git a/mobile/src/session/native-chat/agent-session/mobile-native-chat-page-read-operations.ts b/mobile/src/session/native-chat/agent-session/mobile-native-chat-page-read-operations.ts index b91d5156f2d..f7a712d7aba 100644 --- a/mobile/src/session/native-chat/agent-session/mobile-native-chat-page-read-operations.ts +++ b/mobile/src/session/native-chat/agent-session/mobile-native-chat-page-read-operations.ts @@ -2,13 +2,6 @@ import { bindDeferredRpcOperation, defineRpcOperation } from '../../../transport import { rpcResultVariant } from '../../../transport/rpc/rpc-operation-result-reader' import '../../../terminal/terminal-reply-schema' import { sessionForwardedReplySchema } from '../../../transport/rpc/rpc-uninterpreted-reply-schemas' -import '../../agent-launch/mobile-agent-detection-reply-schema' -import '../../../files/session-documents/mobile-markdown-tab-reply-schema' -import '../../../terminal/session/mobile-session-terminal-reply-schema' -import '../../../worktree/session-worktree-record-reply-schema' -import '../composer/mobile-native-chat-skill-reply-schema' -import '../../../terminal/quick-commands/mobile-quick-command-reply-schema' -import '../../../files/workspace-file-paths-reply-schema' // Retain the live window on refusal and let the caller offer retry; read the whole legacy error/window union before selecting messages. export const nativeChatSessionPageRead = bindDeferredRpcOperation( diff --git a/mobile/src/session/mobile-structured-agent-session-cancel.ts b/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-cancel.ts similarity index 89% rename from mobile/src/session/mobile-structured-agent-session-cancel.ts rename to mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-cancel.ts index e7678dfbed5..849b252116f 100644 --- a/mobile/src/session/mobile-structured-agent-session-cancel.ts +++ b/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-cancel.ts @@ -1,18 +1,18 @@ import { useCallback, useRef } from 'react' import type { StructuredAgentSessionHostSupport } from './mobile-structured-agent-session-host-support' -import type { AgentSessionCancelResult } from '../../../src/shared/agent-session/agent-session-wire' -import type { StructuredAgentSessionState } from '../../../src/shared/agent-session/structured-agent-session-reducer' -import { runningStructuredAgentSessionTurnId } from '../../../src/shared/agent-session/view/structured-agent-session-live-turn' +import type { AgentSessionCancelResult } from '../../../../../src/shared/agent-session/agent-session-wire' +import type { StructuredAgentSessionState } from '../../../../../src/shared/agent-session/structured-agent-session-reducer' +import { runningStructuredAgentSessionTurnId } from '../../../../../src/shared/agent-session/view/structured-agent-session-live-turn' import { joinStructuredAgentSessionStop, structuredAgentSessionStopIsJoinable -} from '../../../src/shared/agent-session/requests/structured-agent-session-stop-join' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' +} from '../../../../../src/shared/agent-session/requests/structured-agent-session-stop-join' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import { requestStructuredAgentSessionMutation, type StructuredAgentSessionMutationCallResult } from './mobile-structured-agent-session-rpc' -import { actionableStructuredPrompts } from './mobile-structured-actionable-prompt' +import { actionableStructuredPrompts } from '../input/mobile-structured-actionable-prompt' type PromptIdentity = { itemId: string; expectedRevision: number } diff --git a/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-contract.ts b/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-contract.ts new file mode 100644 index 00000000000..f869e25c360 --- /dev/null +++ b/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-contract.ts @@ -0,0 +1,107 @@ +import type { AgentSessionSlashCommand } from '../../../../../src/shared/agent-session/agent-session-wire' +import type { NativeChatSendFollowUp } from '../../../../../src/shared/native-chat/input/native-chat-follow-up-behavior' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import type { StructuredAgentSessionHostSupport } from './mobile-structured-agent-session-host-support' +import type { + MobileNativeChatSendIntent, + MobileNativeChatSendOutcome +} from '../composer/mobile-native-chat-send' +import type { MobileNativeChatVisualSource } from '../visual/mobile-native-chat-visual-read' +import type { MobileChatPermission } from '../input/mobile-native-chat-permission' +import type { MobileChatQuestion } from '../input/mobile-native-chat-question' +import type { MobileNativeChatSession } from '../use-mobile-native-chat-session' +import type { NativeChatLiveTurnIndicator } from '../../../../../src/shared/native-chat/transcript/native-chat-turn-status' +import type { NativeChatResolvedPrompt } from '../../../../../src/shared/native-chat/native-chat-resolution-receipt' +import type { useMobileStructuredAgentOptions } from '../input/use-mobile-structured-agent-options' +import type { useMobileStructuredAgentTurnTiming } from '../transcript/use-mobile-structured-agent-turn-timing' +import type { StructuredMobileSendAttachment } from '../composer/use-mobile-structured-send-with-outcome' +import type { + AgentJournalSkillRef, + AgentJournalSubmission +} from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' +import type { + MobileNativeChatCommandRefusalCauses, + MobileNativeChatSendErrorReporter +} from '../composer/use-mobile-native-chat-send-error' +import type { MobileStructuredQueuedMessageControls } from '../input/use-mobile-structured-queued-message-controls' +import type { MobileStructuredBackgroundTasks } from '../input/use-mobile-structured-background-tasks' +import type { NativeChatContextUsageSummary } from '../../../../../src/shared/native-chat/native-chat-context-usage-summary' +import type { MobileStructuredInterruptedContinue } from '../composer/use-mobile-structured-interrupted-continue' +import type { MobileStructuredThreadGoal } from '../input/use-mobile-structured-thread-goal' +import type { MobileStructuredSends } from '../composer/use-mobile-structured-sends' +import type { AgentSessionRewindSurface } from '../../../../../src/shared/agent-session/lifecycle/agent-session-rewind-request' +import type { MobileNativeChatUsageLimit } from '../use-mobile-native-chat-usage-limit' + +export type StructuredMobileSession = Omit< + ReturnType, + 'contextUsageSupport' +> & + ReturnType & { + /** The composer ring's readout; null until the session reports usage. */ + contextUsage: NativeChatContextUsageSummary | null + submissions: readonly AgentJournalSubmission[] + session: MobileNativeChatSession + asyncQuestionSourceScope: string + isWorking: boolean + /** Desktop's Stop rule: a running turn, or conversation Stop while working or sending. */ + canStop: boolean + /** While the agent works on a host that queues: what a tap on Send does and whether holding it offers the other way; null otherwise. */ + sendFollowUp: NativeChatSendFollowUp | null + turnId: string | null + turnIndicator: NativeChatLiveTurnIndicator + sendWithOutcome: ( + text: string, + images?: string[], + deadline?: number, + attachments?: readonly StructuredMobileSendAttachment[], + skills?: readonly AgentJournalSkillRef[], + intent?: MobileNativeChatSendIntent + ) => Promise + holdUnconfirmed: MobileStructuredSends['holdUnconfirmed'] + cancel: () => void + receipts: ReadonlyMap + /** Undefined from a host too old to say. */ + actionablePromptIds: readonly string[] | undefined + permission: MobileChatPermission | null + question: MobileChatQuestion | null + respondPermission: (optionId: string) => Promise + respondQuestion: (answer: string, prompt?: MobileChatQuestion['prompt']) => Promise + cancelPrompt: (prompt?: { itemId: string; expectedRevision: number }) => Promise + queued: MobileStructuredQueuedMessageControls + commandRefusalCauses: MobileNativeChatCommandRefusalCauses + backgroundTasks: MobileStructuredBackgroundTasks + interruptedContinue: MobileStructuredInterruptedContinue + /** Null unless the host reports goals for this chat. */ + threadGoal: MobileStructuredThreadGoal | null + /** "Rewind to here" for the chat's own turn openers; absent where the chat cannot rewind. */ + rewind: AgentSessionRewindSurface | undefined + visualSource: MobileNativeChatVisualSource | null + imagePreviewsByMessageId: Record + usageLimit: MobileNativeChatUsageLimit | null + } + +export type MobileStructuredAgentSessionArgs = { + client: RpcClient | null + /** The paired host the route opened: its query cache holds the chat's last model lists. */ + hostId?: string + /** The route's paired host owns follow-up behavior even when another host executes the chat. */ + pairedHostClient: RpcClient | null + sessionId: string | null + /** Host/workspace scope used to keep same provider ids isolated. */ + sourceIdentity?: string + enabled: boolean + /** Live transport only; gates the connection-scoped hold, and whether child rows may read live. */ + connected: boolean + /** Capability facts from the shared runtime status probe; null follows the legacy wire. */ + hostSupport: StructuredAgentSessionHostSupport | null + agent: string | null + /** What the session reported for its `/` menu; undefined until read or on an older host. */ + onCommandsChanged?: () => void + sessionCommands?: readonly AgentSessionSlashCommand[] + composerScopeKey?: string | null + appendComposerText?: (text: string) => boolean + onQueuedEditNotice?: (message: string) => void + onSendError: MobileNativeChatSendErrorReporter + // Accepted queued actions retire the route’s failure banner. + onActionResolved?: () => void +} diff --git a/mobile/src/session/mobile-structured-agent-session-host-support.ts b/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-host-support.ts similarity index 90% rename from mobile/src/session/mobile-structured-agent-session-host-support.ts rename to mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-host-support.ts index af40170fc5b..ab43f813b57 100644 --- a/mobile/src/session/mobile-structured-agent-session-host-support.ts +++ b/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-host-support.ts @@ -2,12 +2,12 @@ import { AGENT_SESSION_COMMANDS_ON_REQUEST_CAPABILITY, AGENT_SESSION_MODEL_EFFORT_DISCOVERY_CAPABILITY, AGENT_SESSION_COHERENT_MODEL_CATALOG_CAPABILITY -} from '../../../src/shared/agent-session/structured-agent-session-surface-capabilities' +} from '../../../../../src/shared/agent-session/structured-agent-session-surface-capabilities' import { AGENT_SESSION_CONVERSATION_STOP_RUNTIME_CAPABILITY, AGENT_SESSION_PROMPT_CANCEL_RUNTIME_CAPABILITY, AGENT_SESSION_REPEATED_STOP_RUNTIME_CAPABILITY -} from '../../../src/shared/agent-session/lifecycle/agent-session-stop-capabilities' +} from '../../../../../src/shared/agent-session/lifecycle/agent-session-stop-capabilities' import { AGENT_SESSION_ITEM_DETAIL_RUNTIME_CAPABILITY, AGENT_SESSION_SEND_RECORDED_RUNTIME_CAPABILITY, @@ -22,21 +22,21 @@ import { AGENT_SESSION_PHONE_REWIND_RUNTIME_CAPABILITY, AGENT_SESSION_PHONE_USAGE_LIMIT_CONTINUE_CANCEL_RUNTIME_CAPABILITY, AGENT_SESSION_QUEUED_MESSAGE_SKILLS_EDIT_RUNTIME_CAPABILITY -} from '../../../src/shared/agent-session/agent-session-runtime-capabilities' -import { AGENT_SESSION_STATUS_FEED_RUNTIME_CAPABILITY } from '../../../src/shared/agent-session/agent-session-attention-capabilities' +} from '../../../../../src/shared/agent-session/agent-session-runtime-capabilities' +import { AGENT_SESSION_STATUS_FEED_RUNTIME_CAPABILITY } from '../../../../../src/shared/agent-session/agent-session-attention-capabilities' import { AGENT_SESSION_SEND_SELECTION_RUNTIME_CAPABILITY, AGENT_SESSION_SEND_OPTIONS_RUNTIME_CAPABILITY, AGENT_SESSION_SEND_SKILLS_RUNTIME_CAPABILITY, AGENT_SESSION_SEND_USAGE_LIMIT_CONTINUATION_RUNTIME_CAPABILITY, AGENT_SESSION_USAGE_LIMIT_AUTO_CONTINUE_RUNTIME_CAPABILITY -} from '../../../src/shared/agent-session/agent-session-create-capabilities' +} from '../../../../../src/shared/agent-session/agent-session-create-capabilities' import { AGENT_SESSION_PERMISSION_MODES_RUNTIME_CAPABILITY, AGENT_SESSION_PERMISSION_OWN_RUNTIME_CAPABILITY -} from '../../../src/shared/agent-session/agent-session-permission-modes-capability' -import { SKILL_DISCOVER_WORKSPACE_CAPABILITY } from '../../../src/shared/skill-install-capability' -import { AGENT_SESSION_PHONE_CONTINUE_INTERRUPTED_RUNTIME_CAPABILITY } from '../../../src/shared/agent-session/agent-session-continue-interrupted-capability' +} from '../../../../../src/shared/agent-session/agent-session-permission-modes-capability' +import { SKILL_DISCOVER_WORKSPACE_CAPABILITY } from '../../../../../src/shared/skill-install-capability' +import { AGENT_SESSION_PHONE_CONTINUE_INTERRUPTED_RUNTIME_CAPABILITY } from '../../../../../src/shared/agent-session/agent-session-continue-interrupted-capability' export type StructuredAgentSessionHostSupport = { commandsOnRequest?: boolean diff --git a/mobile/src/session/mobile-structured-agent-session-launch.ts b/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts similarity index 88% rename from mobile/src/session/mobile-structured-agent-session-launch.ts rename to mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts index d7cb85e2a31..dda006a7c68 100644 --- a/mobile/src/session/mobile-structured-agent-session-launch.ts +++ b/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts @@ -1,30 +1,30 @@ -import { agentSessionForkSourceFailureWords } from '../../../src/shared/agent-session/failures/agent-session-failure-copy' +import { agentSessionForkSourceFailureWords } from '../../../../../src/shared/agent-session/failures/agent-session-failure-copy' import { sayMobileAgentSessionFailure } from './agent-session-failure-copy' -import type { TuiAgent } from '../../../src/shared/agent-launch/catalog/tui-agent' +import type { TuiAgent } from '../../../../../src/shared/agent-launch/catalog/tui-agent' import type { AgentSessionAttachResult, AgentSessionMutationResult -} from '../../../src/shared/agent-session/agent-session-wire' +} from '../../../../../src/shared/agent-session/agent-session-wire' import { isDefinitiveAgentSessionCreateRefusal, isAgentSessionForkSourceAdmissionRefusal, isAgentSessionCreateAdmissionRefusal -} from '../../../src/shared/agent-session/failures/agent-session-definitive-refusal' +} from '../../../../../src/shared/agent-session/failures/agent-session-definitive-refusal' import { createStructuredAgentSessionId, structuredAgentSessionCreateParams, type StructuredAgentSessionCreateParams, type StructuredAgentSessionForkSource -} from '../../../src/shared/agent-session/structured-agent-session-create' -import type { StructuredAgentCreateSupportReply } from '../../../src/shared/agent-session/structured-agent-create-support-reply' -import { TUI_AGENT_DISPLAY_NAMES } from '../../../src/shared/agent-launch/catalog/tui-agent-display-names' -import { hasRuntimeRpcErrorCode } from '../../../src/shared/runtime-rpc-error-code' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' +} from '../../../../../src/shared/agent-session/structured-agent-session-create' +import type { StructuredAgentCreateSupportReply } from '../../../../../src/shared/agent-session/structured-agent-create-support-reply' +import { TUI_AGENT_DISPLAY_NAMES } from '../../../../../src/shared/agent-launch/catalog/tui-agent-display-names' +import { hasRuntimeRpcErrorCode } from '../../../../../src/shared/runtime-rpc-error-code' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import { structuredAgentSessionCreate, structuredAgentSupportProbe -} from './native-chat/agent-session/mobile-structured-create-operations' -import { randomV4Uuid } from '../platform/random-v4-uuid' +} from './mobile-structured-create-operations' +import { randomV4Uuid } from '../../../platform/random-v4-uuid' import { rememberMobileCreatedStructuredSession } from './mobile-created-structured-sessions' // Partial: the reply is read before it is checked. diff --git a/mobile/src/session/mobile-structured-agent-session-rpc.ts b/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-rpc.ts similarity index 86% rename from mobile/src/session/mobile-structured-agent-session-rpc.ts rename to mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-rpc.ts index 15cd4a7c1bc..e43935f46ac 100644 --- a/mobile/src/session/mobile-structured-agent-session-rpc.ts +++ b/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-rpc.ts @@ -1,11 +1,11 @@ -import type { AgentSessionMutationResult } from '../../../src/shared/agent-session/agent-session-wire' +import type { AgentSessionMutationResult } from '../../../../../src/shared/agent-session/agent-session-wire' import type { AgentSessionWireRefusalCode, AgentSessionRefusalReference -} from '../../../src/shared/agent-session/failures/agent-session-wire-refusals' -import type { AgentJournalCursor } from '../../../src/shared/agent-session/journal/agent-session-journal-identity' -import { structuredAgentSessionPayloadFingerprint } from '../../../src/shared/agent-session/lifecycle/structured-agent-session-mutation' -import { agentSessionWriteNoticeParts } from '../../../src/shared/agent-session/failures/agent-session-refusal-notice' +} from '../../../../../src/shared/agent-session/failures/agent-session-wire-refusals' +import type { AgentJournalCursor } from '../../../../../src/shared/agent-session/journal/agent-session-journal-identity' +import { structuredAgentSessionPayloadFingerprint } from '../../../../../src/shared/agent-session/lifecycle/structured-agent-session-mutation' +import { agentSessionWriteNoticeParts } from '../../../../../src/shared/agent-session/failures/agent-session-refusal-notice' import { agentSessionRefusalFailure, agentSessionThrownFailure, @@ -13,14 +13,14 @@ import { readAgentSessionErrorRefusal, type AgentSessionWriteFailure, type AgentSessionWriteKind -} from '../../../src/shared/agent-session/failures/agent-session-write-failure' +} from '../../../../../src/shared/agent-session/failures/agent-session-write-failure' import { mobileAgentSessionWriteNoticeText } from './agent-session-write-notice-copy' import { structuredSessionOperationId } from './structured-session-operation-id' -import { isRpcDeliveryUnknown } from '../transport/rpc/rpc-delivery-ambiguity' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import '../transport/connection/stable-logical-rpc-client' -import { isLogicalClientCutoverError } from '../transport/connection/logical-client-cutover-error' -import { MOBILE_NATIVE_CHAT_MIN_WRITE_TIMEOUT_MS } from './native-chat/mobile-native-chat-send' +import { isRpcDeliveryUnknown } from '../../../transport/rpc/rpc-delivery-ambiguity' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import '../../../transport/connection/stable-logical-rpc-client' +import { isLogicalClientCutoverError } from '../../../transport/connection/logical-client-cutover-error' +import { MOBILE_NATIVE_CHAT_MIN_WRITE_TIMEOUT_MS } from '../composer/mobile-native-chat-send' export const STRUCTURED_SEND_TIMEOUT_MS = 15_000 diff --git a/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-send.ts b/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-send.ts new file mode 100644 index 00000000000..6fd2d8fda9a --- /dev/null +++ b/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-send.ts @@ -0,0 +1,79 @@ +import type { AgentSessionSendResult } from '../../../../../src/shared/agent-session/agent-session-wire' +import type { AgentJournalCursor } from '../../../../../src/shared/agent-session/journal/agent-session-journal-identity' +import type { AgentJournalSkillRef } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' +import { + structuredAgentSessionSendBody, + type StructuredAgentSessionAttachment +} from '../../../../../src/shared/agent-session/requests/structured-agent-session-send-mutation' +import { structuredAgentSessionBlocksTooLarge } from '../../../../../src/shared/rpc-contract/structured-agent-session-message-params' +import { AGENT_SESSION_MESSAGE_TOO_LARGE_PARTS } from '../../../../../src/shared/agent-session/failures/agent-session-refusal-notice' +import { mobileAgentSessionWriteNoticeText } from './agent-session-write-notice-copy' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import type { MobileNativeChatSendOutcome } from '../composer/mobile-native-chat-send' +import { + requestStructuredAgentSessionMutation, + timeoutForDeadline +} from './mobile-structured-agent-session-rpc' +import { mobileStructuredSendDelivery } from '../composer/mobile-structured-send-delivery' +import type { MobileNativeChatSendErrorReporter } from '../composer/use-mobile-native-chat-send-error' + +export async function sendMobileStructuredAgentSessionMessage(input: { + client: RpcClient + sessionId: string + expectedRuntimeFence: number + text: string + attachments: readonly StructuredAgentSessionAttachment[] + /** Sent only when the host advertises `agent-session.send-skills.v1`. */ + skills?: readonly AgentJournalSkillRef[] + /** Sent only when the host advertises `agent-session.queued-messages.v2`. */ + delivery?: 'queue-if-active' + /** Sent only when the host advertises `agent-session.send-selection.v1`. */ + selection?: Readonly> + /** Sent only when the host advertises `agent-session.send-options.v1`. */ + options?: Readonly> + /** Sent only when the host advertises `agent-session.send-usage-limit-continuation.v1`. */ + usageLimitContinuationOfTurnItemId?: string + deadline?: number + clientMessageId: string + onError: MobileNativeChatSendErrorReporter + onAccepted?: (cursor: AgentJournalCursor | undefined) => void +}): Promise { + const timeoutMs = timeoutForDeadline(input.deadline) + if (timeoutMs === null) { + input.onError('Message not sent') + return 'rejected' + } + const body = structuredAgentSessionSendBody(input.text, input.attachments, input.skills) + // The host refuses it unexplained, so say why here and keep the draft. + if (structuredAgentSessionBlocksTooLarge(body.blocks)) { + input.onError(mobileAgentSessionWriteNoticeText(AGENT_SESSION_MESSAGE_TOO_LARGE_PARTS)) + return 'rejected' + } + // Use one operation id per Send action so separate taps cannot replay each other. + const result = await requestStructuredAgentSessionMutation({ + client: input.client, + method: 'agentSession.send', + fingerprintMethod: 'agentSession.send', + sessionId: input.sessionId, + expectedRuntimeFence: input.expectedRuntimeFence, + fields: { + body, + ...(input.delivery ? { delivery: input.delivery } : {}), + ...(input.options ? { options: input.options } : {}), + ...(input.selection !== undefined ? { selection: input.selection } : {}), + ...(input.usageLimitContinuationOfTurnItemId + ? { usageLimitContinuationOfTurnItemId: input.usageLimitContinuationOfTurnItemId } + : {}) + }, + clientOperationId: input.clientMessageId, + timeoutMs + }) + const outcome = mobileStructuredSendDelivery(result) + if (outcome.error !== null) { + input.onError(outcome.error) + } + if (outcome.outcome === 'accepted' && result.status === 'accepted') { + input.onAccepted?.(result.cursor) + } + return outcome.outcome +} diff --git a/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-working.ts b/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-working.ts new file mode 100644 index 00000000000..1d4d7986736 --- /dev/null +++ b/mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-working.ts @@ -0,0 +1,16 @@ +import type { StructuredAgentSessionState } from '../../../../../src/shared/agent-session/structured-agent-session-reducer' +import { + runningStructuredAgentSessionTurnId, + structuredAgentSessionHostSaysWorking +} from '../../../../../src/shared/agent-session/view/structured-agent-session-live-turn' +import { isStructuredAgentSessionMainAgentWorking } from '../../../../../src/shared/agent-session/view/structured-agent-session-main-agent-working' + +export function mobileStructuredAgentSessionWorking(state: StructuredAgentSessionState): boolean { + return structuredAgentSessionHostSaysWorking(state.working, () => + isStructuredAgentSessionMainAgentWorking( + runningStructuredAgentSessionTurnId(state), + state.submissions, + state.fence + ) + ) +} diff --git a/mobile/src/session/mobile-structured-host-clock-offset.ts b/mobile/src/session/native-chat/agent-session/mobile-structured-host-clock-offset.ts similarity index 79% rename from mobile/src/session/mobile-structured-host-clock-offset.ts rename to mobile/src/session/native-chat/agent-session/mobile-structured-host-clock-offset.ts index 1a0e9abcf3c..70142d96979 100644 --- a/mobile/src/session/mobile-structured-host-clock-offset.ts +++ b/mobile/src/session/native-chat/agent-session/mobile-structured-host-clock-offset.ts @@ -1,4 +1,4 @@ -import type { StructuredAgentHostClock } from '../../../src/shared/agent-session/structured-agent-session-reducer' +import type { StructuredAgentHostClock } from '../../../../../src/shared/agent-session/structured-agent-session-reducer' // Ignore delivery jitter below the precision of displayed clocks. const OFFSET_GRAIN_MS = 1_000 diff --git a/mobile/src/session/mobile-structured-session-open-message.ts b/mobile/src/session/native-chat/agent-session/mobile-structured-session-open-message.ts similarity index 90% rename from mobile/src/session/mobile-structured-session-open-message.ts rename to mobile/src/session/native-chat/agent-session/mobile-structured-session-open-message.ts index 0557d24bbb6..b70c8f837e8 100644 --- a/mobile/src/session/mobile-structured-session-open-message.ts +++ b/mobile/src/session/native-chat/agent-session/mobile-structured-session-open-message.ts @@ -1,6 +1,6 @@ -import { formatAgentTypeLabel } from '../../../src/shared/agent-status/presentation/agent-type-label' -import type { StructuredSessionOpenFailure } from '../../../src/shared/open-structured-agent-session' -import { translate } from '../i18n/mobile-i18n' +import { formatAgentTypeLabel } from '../../../../../src/shared/agent-status/presentation/agent-type-label' +import type { StructuredSessionOpenFailure } from '../../../../../src/shared/open-structured-agent-session' +import { translate } from '../../../i18n/mobile-i18n' export function mobileStructuredSessionOpenMessage( reason: StructuredSessionOpenFailure['reason'], diff --git a/mobile/src/session/mobile-structured-session-open-rpc.ts b/mobile/src/session/native-chat/agent-session/mobile-structured-session-open-rpc.ts similarity index 88% rename from mobile/src/session/mobile-structured-session-open-rpc.ts rename to mobile/src/session/native-chat/agent-session/mobile-structured-session-open-rpc.ts index b0afd135322..4a6af221381 100644 --- a/mobile/src/session/mobile-structured-session-open-rpc.ts +++ b/mobile/src/session/native-chat/agent-session/mobile-structured-session-open-rpc.ts @@ -1,7 +1,7 @@ import * as z from 'zod' -import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc/rpc-operation' -import { rpcResultVariant } from '../transport/rpc/rpc-operation-result-reader' -import type { RpcMethodName } from '../../../src/shared/rpc-contract/rpc-params-catalog.generated' +import { bindDeferredRpcOperation, defineRpcOperation } from '../../../transport/rpc/rpc-operation' +import { rpcResultVariant } from '../../../transport/rpc/rpc-operation-result-reader' +import type { RpcMethodName } from '../../../../../src/shared/rpc-contract/rpc-params-catalog.generated' function openingRead( method: Method, diff --git a/mobile/src/session/mobile-structured-session-status-feed.test.ts b/mobile/src/session/native-chat/agent-session/mobile-structured-session-status-feed.test.ts similarity index 84% rename from mobile/src/session/mobile-structured-session-status-feed.test.ts rename to mobile/src/session/native-chat/agent-session/mobile-structured-session-status-feed.test.ts index 170c101788f..892df6a0497 100644 --- a/mobile/src/session/mobile-structured-session-status-feed.test.ts +++ b/mobile/src/session/native-chat/agent-session/mobile-structured-session-status-feed.test.ts @@ -1,10 +1,10 @@ import { beforeEach, describe, expect, it, vi } from 'vitest' -import type { AgentSessionStatusSummary } from '../../../src/shared/agent-session/agent-session-wire' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import type { ConnectionState } from '../transport/connection/connection-state' -import '../transport/connection/stable-logical-rpc-client' +import type { AgentSessionStatusSummary } from '../../../../../src/shared/agent-session/agent-session-wire' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import type { ConnectionState } from '../../../transport/connection/connection-state' +import '../../../transport/connection/stable-logical-rpc-client' import { mobileStructuredSessionStatusFeed } from './mobile-structured-session-status-feed' -import { stubRpcClient } from '../transport/rpc/rpc-client-test-stub' +import { stubRpcClient } from '../../../transport/rpc/rpc-client-test-stub' function summary(stopping: boolean): AgentSessionStatusSummary { return { diff --git a/mobile/src/session/mobile-structured-session-status-feed.ts b/mobile/src/session/native-chat/agent-session/mobile-structured-session-status-feed.ts similarity index 91% rename from mobile/src/session/mobile-structured-session-status-feed.ts rename to mobile/src/session/native-chat/agent-session/mobile-structured-session-status-feed.ts index 8617b8afd29..841ef3995af 100644 --- a/mobile/src/session/mobile-structured-session-status-feed.ts +++ b/mobile/src/session/native-chat/agent-session/mobile-structured-session-status-feed.ts @@ -5,14 +5,14 @@ import { foldAgentSessionStatusEvent, revokeAgentSessionStatusLive, type AgentSessionStatusSnapshot -} from '../../../src/shared/agent-session/view/agent-session-status-snapshot-fold' -import type { AgentSessionStatusEvent } from '../../../src/shared/agent-session/agent-session-wire' +} from '../../../../../src/shared/agent-session/view/agent-session-status-snapshot-fold' +import type { AgentSessionStatusEvent } from '../../../../../src/shared/agent-session/agent-session-wire' import { foldAgentSessionConversationNames, type AgentSessionConversationNames -} from '../../../src/shared/agent-session/agent-session-conversation-names' -import { isMobileMethodUnavailableError } from '../transport/rpc/mobile-method-unavailable' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' +} from '../../../../../src/shared/agent-session/agent-session-conversation-names' +import { isMobileMethodUnavailableError } from '../../../transport/rpc/mobile-method-unavailable' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' export type MobileStructuredSessionStatusFeed = { subscribe: (listener: () => void) => () => void diff --git a/mobile/src/session/mobile-structured-transcript-subscription.ts b/mobile/src/session/native-chat/agent-session/mobile-structured-transcript-subscription.ts similarity index 83% rename from mobile/src/session/mobile-structured-transcript-subscription.ts rename to mobile/src/session/native-chat/agent-session/mobile-structured-transcript-subscription.ts index 2d07c89e144..24402f13bd0 100644 --- a/mobile/src/session/mobile-structured-transcript-subscription.ts +++ b/mobile/src/session/native-chat/agent-session/mobile-structured-transcript-subscription.ts @@ -1,6 +1,6 @@ -import type { AgentSessionSubscribeEvent } from '../../../src/shared/agent-session/agent-session-wire' -import type { StructuredAgentSessionLiveSubscribe } from '../../../src/shared/agent-session/structured-agent-session-live-read' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' +import type { AgentSessionSubscribeEvent } from '../../../../../src/shared/agent-session/agent-session-wire' +import type { StructuredAgentSessionLiveSubscribe } from '../../../../../src/shared/agent-session/structured-agent-session-live-read' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' function isSubscribeEvent(value: unknown): value is AgentSessionSubscribeEvent { if (typeof value !== 'object' || value === null || !('type' in value)) { diff --git a/mobile/src/session/open-mobile-structured-session.ts b/mobile/src/session/native-chat/agent-session/open-mobile-structured-session.ts similarity index 91% rename from mobile/src/session/open-mobile-structured-session.ts rename to mobile/src/session/native-chat/agent-session/open-mobile-structured-session.ts index 346aa09264a..9f37d080a8a 100644 --- a/mobile/src/session/open-mobile-structured-session.ts +++ b/mobile/src/session/native-chat/agent-session/open-mobile-structured-session.ts @@ -4,17 +4,17 @@ import { type StructuredSessionOpenSource, type StructuredSessionOpenTab, type StructuredSessionOpenTarget -} from '../../../src/shared/open-structured-agent-session' -import { isStructuredAgentId } from '../../../src/shared/agent-session/lifecycle/agent-session-provider-handle-encoding' -import { structuredAgentSessionPaneKey } from '../../../src/shared/agent-session/view/structured-agent-session-projection' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' +} from '../../../../../src/shared/open-structured-agent-session' +import { isStructuredAgentId } from '../../../../../src/shared/agent-session/lifecycle/agent-session-provider-handle-encoding' +import { structuredAgentSessionPaneKey } from '../../../../../src/shared/agent-session/view/structured-agent-session-projection' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import { structuredOpenLocation, structuredOpenParty, structuredOpenReveal, structuredOpenTabs } from './mobile-structured-session-open-rpc' -import { sessionTabActivate } from './tabs/mobile-session-tab-write-operations' +import { sessionTabActivate } from '../../tabs/mobile-session-tab-write-operations' /** The workspace client already carries executionHost; a single budget includes connect waits. */ export async function openMobileStructuredSession(args: { diff --git a/mobile/src/session/native-chat/agent-session/structured-session-operation-id.ts b/mobile/src/session/native-chat/agent-session/structured-session-operation-id.ts new file mode 100644 index 00000000000..80c298a94fb --- /dev/null +++ b/mobile/src/session/native-chat/agent-session/structured-session-operation-id.ts @@ -0,0 +1,8 @@ +// Keep id generation dependency-free so create/tasks callers do not pull in the native-chat write graph. + +import { createStructuredAgentSessionOperationId } from '../../../../../src/shared/agent-session/lifecycle/structured-agent-session-mutation' +import { randomV4Uuid } from '../../../platform/random-v4-uuid' + +export function structuredSessionOperationId(now: number = Date.now()): string { + return createStructuredAgentSessionOperationId(randomV4Uuid, now) +} diff --git a/mobile/src/session/use-mobile-structured-agent-mutation.ts b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-mutation.ts similarity index 90% rename from mobile/src/session/use-mobile-structured-agent-mutation.ts rename to mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-mutation.ts index bf684cf71f3..9ccefcba3fd 100644 --- a/mobile/src/session/use-mobile-structured-agent-mutation.ts +++ b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-mutation.ts @@ -1,6 +1,6 @@ import { useCallback } from 'react' -import type { StructuredAgentSessionState } from '../../../src/shared/agent-session/structured-agent-session-reducer' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' +import type { StructuredAgentSessionState } from '../../../../../src/shared/agent-session/structured-agent-session-reducer' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import { requestStructuredAgentSessionMutation, type StructuredAgentSessionMutationResult diff --git a/mobile/src/session/use-mobile-structured-agent-rewind.ts b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-rewind.ts similarity index 78% rename from mobile/src/session/use-mobile-structured-agent-rewind.ts rename to mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-rewind.ts index 51e9f65a2d1..3200bd020ab 100644 --- a/mobile/src/session/use-mobile-structured-agent-rewind.ts +++ b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-rewind.ts @@ -1,24 +1,24 @@ import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react' -import { AGENT_SESSION_CONVERSATION_COMMAND_TIMEOUT_MS } from '../../../src/shared/agent-session/agent-session-conversation-command' -import { AGENT_SESSION_PHONE_REWIND_RUNTIME_CAPABILITY } from '../../../src/shared/agent-session/agent-session-runtime-capabilities' -import type { AgentSessionRewindResult } from '../../../src/shared/agent-session/lifecycle/agent-session-rewind' +import { AGENT_SESSION_CONVERSATION_COMMAND_TIMEOUT_MS } from '../../../../../src/shared/agent-session/agent-session-conversation-command' +import { AGENT_SESSION_PHONE_REWIND_RUNTIME_CAPABILITY } from '../../../../../src/shared/agent-session/agent-session-runtime-capabilities' +import type { AgentSessionRewindResult } from '../../../../../src/shared/agent-session/lifecycle/agent-session-rewind' import { createAgentSessionRewindHook, type AgentSessionRewindInput, type AgentSessionRewindSendOutcome -} from '../../../src/shared/agent-session/lifecycle/agent-session-rewind-request' -import type { StructuredAgentSessionState } from '../../../src/shared/agent-session/structured-agent-session-reducer' -import { actionableStructuredPrompts } from './mobile-structured-actionable-prompt' -import { useRouteRelaysCapability } from '../worktree/workspace-server-context' -import { sayMobileNativeChatRewind } from './native-chat/mobile-native-chat-rewind-copy' -import type { MobileNativeChatSendOutcome } from './native-chat/mobile-native-chat-send' +} from '../../../../../src/shared/agent-session/lifecycle/agent-session-rewind-request' +import type { StructuredAgentSessionState } from '../../../../../src/shared/agent-session/structured-agent-session-reducer' +import { actionableStructuredPrompts } from '../input/mobile-structured-actionable-prompt' +import { useRouteRelaysCapability } from '../../../worktree/workspace-server-context' +import { sayMobileNativeChatRewind } from '../mobile-native-chat-rewind-copy' +import type { MobileNativeChatSendOutcome } from '../composer/mobile-native-chat-send' import { requestStructuredAgentSessionMutation } from './mobile-structured-agent-session-rpc' -import { returnMobileNativeChatMessageToComposer } from './mobile-native-chat-message-hand-back' -import type { useMobileStructuredAgentOptions } from './use-mobile-structured-agent-options' +import { returnMobileNativeChatMessageToComposer } from '../composer/mobile-native-chat-message-hand-back' +import type { useMobileStructuredAgentOptions } from '../input/use-mobile-structured-agent-options' import type { MobileStructuredAgentSessionArgs } from './mobile-structured-agent-session-contract' -import type { MobileStructuredBackgroundTasks } from './use-mobile-structured-background-tasks' -import type { MobileStructuredSendsOut } from './use-mobile-structured-stop-offer' -import { tuiAgentDisplayName } from '../../../src/shared/agent-launch/catalog/tui-agent-display-names' +import type { MobileStructuredBackgroundTasks } from '../input/use-mobile-structured-background-tasks' +import type { MobileStructuredSendsOut } from '../composer/use-mobile-structured-stop-offer' +import { tuiAgentDisplayName } from '../../../../../src/shared/agent-launch/catalog/tui-agent-display-names' const useAgentSessionRewind = createAgentSessionRewindHook( { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState }, diff --git a/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session-queued.test-fixture.ts b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session-queued.test-fixture.ts index f4934fb7f57..03221a2d5cf 100644 --- a/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session-queued.test-fixture.ts +++ b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session-queued.test-fixture.ts @@ -8,7 +8,7 @@ import type { } from '../../../../../src/shared/agent-session/requests/agent-session-queued-message-wire' import type { AgentSessionSubscribeEvent } from '../../../../../src/shared/agent-session/agent-session-wire' import type { RpcResponse } from '../../../transport/rpc/rpc-wire-types' -import type { StructuredAgentSessionHostSupport } from '../../mobile-structured-agent-session-host-support' +import type { StructuredAgentSessionHostSupport } from './mobile-structured-agent-session-host-support' export const SESSION_ID = 'session-1' diff --git a/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session-queued.test.tsx b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session-queued.test.tsx index cae9208f26d..d9e72dd6b4f 100644 --- a/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session-queued.test.tsx +++ b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session-queued.test.tsx @@ -7,8 +7,8 @@ import type { AgentSessionSubscribeEvent } from '../../../../../src/shared/agent import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import type { RpcResponse } from '../../../transport/rpc/rpc-wire-types' import { markRpcDeliveryUnknown } from '../../../transport/rpc/rpc-delivery-ambiguity' -import type { StructuredAgentSessionHostSupport } from '../../mobile-structured-agent-session-host-support' -import { useMobileStructuredAgentSession } from '../../use-mobile-structured-agent-session' +import type { StructuredAgentSessionHostSupport } from './mobile-structured-agent-session-host-support' +import { useMobileStructuredAgentSession } from './use-mobile-structured-agent-session' import type { RpcClientContextValue } from '../../../transport/connection/rpc-client-context-contract' diff --git a/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session.clear.test.tsx b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session.clear.test.tsx index ba720a54a09..3c48b99c6fe 100644 --- a/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session.clear.test.tsx +++ b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session.clear.test.tsx @@ -6,7 +6,7 @@ import type { AgentSessionSubscribeEvent } from '../../../../../src/shared/agent import { createWithQueryClient } from '../../../test-support/query-client-test-renderer' import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import type { RpcResponse } from '../../../transport/rpc/rpc-wire-types' -import { useMobileStructuredAgentSession } from '../../use-mobile-structured-agent-session' +import { useMobileStructuredAgentSession } from './use-mobile-structured-agent-session' import { SESSION_ID, mutationOk, @@ -29,25 +29,6 @@ const row = ( observedAt: sequence, body: { kind: 'message', role, blocks: [{ type: 'text', text }] } }) -const divider = (sequence: number): AgentJournalRenderItem => ({ - ...row(sequence, 'assistant', ''), - body: { - kind: 'status', - text: 'Context cleared', - presentation: 'context-cleared', - contextClear: { operationId: `clear-${sequence}`, afterFence: 3, clearedAt: sequence } - } -}) -const dividerLands = (sequence: number): AgentSessionSubscribeEvent => ({ - type: 'batch', - sessionId: SESSION_ID, - batch: { - cursor: { epoch: 'epoch-1', sequence }, - items: [divider(sequence)], - removedItemIds: [], - submissions: [] - } -}) describe('useMobileStructuredAgentSession /clear', () => { let renderer: ReactTestRenderer | null = null @@ -132,22 +113,6 @@ describe('useMobileStructuredAgentSession /clear', () => { } } - it('hides the old transcript from the press until the divider lands', async () => { - const chat = await mount() - expect(chat.shown()).toEqual({ text: ['question', 'reply'], clearing: false }) - - const { outcome } = await chat.sendClear() - expect(chat.shown()).toEqual({ text: [], clearing: true }) - - // The host's reply can reach the phone before the divider it already wrote. - await chat.reply({ command: 'clear', state: 'completed' }) - await expect(outcome).resolves.toBe('accepted') - expect(chat.shown()).toEqual({ text: [], clearing: true }) - - chat.push(dividerLands(3)) - expect(chat.shown()).toEqual({ text: ['Context cleared'], clearing: false }) - }) - it('shows the old transcript again when the host refuses the /clear', async () => { const chat = await mount() const { outcome } = await chat.sendClear() diff --git a/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session.interrupted-continue.test.tsx b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session.interrupted-continue.test.tsx index 8030186142d..2778f4aa07a 100644 --- a/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session.interrupted-continue.test.tsx +++ b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session.interrupted-continue.test.tsx @@ -7,12 +7,12 @@ import { agentJournalItemKey } from '../../../../../src/shared/agent-session/jou import { AGENT_SESSION_PHONE_CONTINUE_INTERRUPTED_RUNTIME_CAPABILITY } from '../../../../../src/shared/agent-session/agent-session-continue-interrupted-capability' import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import type { RpcResponse } from '../../../transport/rpc/rpc-wire-types' -import { structuredAgentSessionHostSupport } from '../../mobile-structured-agent-session-host-support' +import { structuredAgentSessionHostSupport } from './mobile-structured-agent-session-host-support' import { snapshotEvent, SESSION_ID } from './use-mobile-structured-agent-session-queued.test-fixture' -import { useMobileStructuredAgentSession } from '../../use-mobile-structured-agent-session' +import { useMobileStructuredAgentSession } from './use-mobile-structured-agent-session' vi.mock('@react-native-async-storage/async-storage', () => ({ default: { getItem: vi.fn(async () => null), setItem: vi.fn(), removeItem: vi.fn() } diff --git a/mobile/src/session/use-mobile-structured-agent-session.ts b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session.ts similarity index 79% rename from mobile/src/session/use-mobile-structured-agent-session.ts rename to mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session.ts index 62c4cd9d9cd..9672b413618 100644 --- a/mobile/src/session/use-mobile-structured-agent-session.ts +++ b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-session.ts @@ -1,57 +1,57 @@ -import { asyncQuestionSourceScope as questionSourceScope } from '../../../src/shared/native-chat/input/native-chat-ask' -import { structuredChatTranscriptIdentity } from './native-chat/mobile-native-chat-transcript-store' +import { asyncQuestionSourceScope as questionSourceScope } from '../../../../../src/shared/native-chat/input/native-chat-ask' +import { structuredChatTranscriptIdentity } from '../transcript/mobile-native-chat-transcript-store' import { useMemo, useRef } from 'react' -import { tuiAgentDisplayName } from '../../../src/shared/agent-launch/catalog/tui-agent-display-names' +import { tuiAgentDisplayName } from '../../../../../src/shared/agent-launch/catalog/tui-agent-display-names' import { mobileStructuredAgentSessionWorking } from './mobile-structured-agent-session-working' -import { isFinalAgentSessionReadRefusal } from '../../../src/shared/agent-session/failures/structured-agent-session-read-refusal' +import { isFinalAgentSessionReadRefusal } from '../../../../../src/shared/agent-session/failures/structured-agent-session-read-refusal' import { runningStructuredAgentSessionTurnId, structuredAgentSessionQueueSendsNext -} from '../../../src/shared/agent-session/view/structured-agent-session-live-turn' +} from '../../../../../src/shared/agent-session/view/structured-agent-session-live-turn' import { actionableStructuredApproval, actionableStructuredQuestion -} from './mobile-structured-actionable-prompt' +} from '../input/mobile-structured-actionable-prompt' import { projectStructuredPermission, projectStructuredQuestion -} from './mobile-structured-agent-prompts' +} from '../input/mobile-structured-agent-prompts' import type { MobileStructuredAgentSessionArgs, StructuredMobileSession } from './mobile-structured-agent-session-contract' -import type { MobileNativeChatVisualSource } from './native-chat/visual/mobile-native-chat-visual-read' +import type { MobileNativeChatVisualSource } from '../visual/mobile-native-chat-visual-read' import { useMobileStructuredAgentState } from './use-mobile-structured-agent-state' -import { useMobileStructuredStopPress } from './use-mobile-structured-stop-press' +import { useMobileStructuredStopPress } from '../composer/use-mobile-structured-stop-press' import { useMobileStructuredSessionHostStopping } from './use-mobile-structured-session-host-stopping' -import { useMobileStructuredPromptResponses } from './use-mobile-structured-prompt-responses' -import { useMobileStructuredAgentOptions } from './use-mobile-structured-agent-options' -import { useHostModelCatalogCache } from './mobile-host-model-catalog-query' -import { useMobileStructuredCommandController } from './use-mobile-structured-command-controller' -import { useMobileStructuredSessionOptionStamp } from './use-mobile-structured-session-option-stamp' -import { useMobileStructuredAgentTurnTiming } from './use-mobile-structured-agent-turn-timing' +import { useMobileStructuredPromptResponses } from '../input/use-mobile-structured-prompt-responses' +import { useMobileStructuredAgentOptions } from '../input/use-mobile-structured-agent-options' +import { useHostModelCatalogCache } from '../input/mobile-host-model-catalog-query' +import { useMobileStructuredCommandController } from '../composer/use-mobile-structured-command-controller' +import { useMobileStructuredSessionOptionStamp } from '../input/use-mobile-structured-session-option-stamp' +import { useMobileStructuredAgentTurnTiming } from '../transcript/use-mobile-structured-agent-turn-timing' import { pendingStructuredPromptIdentity, useMobileStructuredRequestCancel } from './mobile-structured-agent-session-cancel' import { useMobileStructuredAgentMutate } from './use-mobile-structured-agent-mutation' -import { useMobileStructuredSendWithOutcome } from './use-mobile-structured-send-with-outcome' -import { useMobileStructuredQueuedMessageControls } from './use-mobile-structured-queued-message-controls' -import { useMobileStructuredBackgroundTasks } from './use-mobile-structured-background-tasks' -import { useMobileStructuredSends } from './use-mobile-structured-sends' -import { useMobileStructuredSendRecorded } from './mobile-structured-send-recorded-read' -import { useMobileNativeChatQueueFollowUps as useQueueFollowUps } from './use-mobile-native-chat-queue-follow-ups' -import { useMobileStructuredStopOffer } from './use-mobile-structured-stop-offer' -import { useMobileStructuredTurnIndicator } from './use-mobile-structured-turn-indicator' -import { useMobileStructuredContextUsage } from './use-mobile-structured-context-usage' -import { useMobileStructuredInterruptedContinue } from './use-mobile-structured-interrupted-continue' +import { useMobileStructuredSendWithOutcome } from '../composer/use-mobile-structured-send-with-outcome' +import { useMobileStructuredQueuedMessageControls } from '../input/use-mobile-structured-queued-message-controls' +import { useMobileStructuredBackgroundTasks } from '../input/use-mobile-structured-background-tasks' +import { useMobileStructuredSends } from '../composer/use-mobile-structured-sends' +import { useMobileStructuredSendRecorded } from '../composer/mobile-structured-send-recorded-read' +import { useMobileNativeChatQueueFollowUps as useQueueFollowUps } from '../preferences/use-mobile-native-chat-queue-follow-ups' +import { useMobileStructuredStopOffer } from '../composer/use-mobile-structured-stop-offer' +import { useMobileStructuredTurnIndicator } from '../transcript/use-mobile-structured-turn-indicator' +import { useMobileStructuredContextUsage } from '../composer/use-mobile-structured-context-usage' +import { useMobileStructuredInterruptedContinue } from '../composer/use-mobile-structured-interrupted-continue' import { useMobileStructuredThreadGoal, useMobileStructuredThreadGoalSend -} from './use-mobile-structured-thread-goal' -import { useMobileStructuredTranscript } from './use-mobile-structured-transcript' +} from '../input/use-mobile-structured-thread-goal' +import { useMobileStructuredTranscript } from '../transcript/use-mobile-structured-transcript' import { useMobileStructuredAgentRewind } from './use-mobile-structured-agent-rewind' -import { useMobileNativeChatUsageLimit } from './native-chat/use-mobile-native-chat-usage-limit' +import { useMobileNativeChatUsageLimit } from '../use-mobile-native-chat-usage-limit' export function useMobileStructuredAgentSession( args: MobileStructuredAgentSessionArgs diff --git a/mobile/src/session/use-mobile-structured-agent-state.ts b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-state.ts similarity index 87% rename from mobile/src/session/use-mobile-structured-agent-state.ts rename to mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-state.ts index c2bcae0c88e..7a847917079 100644 --- a/mobile/src/session/use-mobile-structured-agent-state.ts +++ b/mobile/src/session/native-chat/agent-session/use-mobile-structured-agent-state.ts @@ -1,45 +1,48 @@ import { useCallback, useEffect, useLayoutEffect, useRef, useState } from 'react' -import { isRootAgentJournalItem } from '../../../src/shared/agent-session/journal/agent-session-journal-producer' +import { isRootAgentJournalItem } from '../../../../../src/shared/agent-session/journal/agent-session-journal-producer' import type { AgentSessionQueuedMessage, AgentSessionQueuePause -} from '../../../src/shared/agent-session/requests/agent-session-queued-message-wire' +} from '../../../../../src/shared/agent-session/requests/agent-session-queued-message-wire' import { type AgentSessionHistoryResult, AGENT_SESSION_HISTORY_MAX_LIMIT -} from '../../../src/shared/agent-session/agent-session-wire' -import { structuredAgentSessionHolderId } from '../../../src/shared/agent-session/view/structured-agent-session-holder' -import { startStructuredAgentSessionLiveRead } from '../../../src/shared/agent-session/structured-agent-session-live-read' +} from '../../../../../src/shared/agent-session/agent-session-wire' +import { structuredAgentSessionHolderId } from '../../../../../src/shared/agent-session/view/structured-agent-session-holder' +import { startStructuredAgentSessionLiveRead } from '../../../../../src/shared/agent-session/structured-agent-session-live-read' import { type AgentSessionTextAppendCapabilities, agentSessionTextAppendRequest -} from '../../../src/shared/agent-session/agent-session-text-append' -import { isFinalAgentSessionReadRefusal } from '../../../src/shared/agent-session/failures/structured-agent-session-read-refusal' +} from '../../../../../src/shared/agent-session/agent-session-text-append' +import { isFinalAgentSessionReadRefusal } from '../../../../../src/shared/agent-session/failures/structured-agent-session-read-refusal' import { EMPTY_STRUCTURED_AGENT_SESSION, oldestStructuredAgentSessionCursor, type StructuredAgentSessionAction, type StructuredAgentSessionState -} from '../../../src/shared/agent-session/structured-agent-session-reducer' -import { subscribeConnectionRevival } from '../diagnostics/connection/connection-revival-signal' +} from '../../../../../src/shared/agent-session/structured-agent-session-reducer' +import { subscribeConnectionRevival } from '../../../diagnostics/connection/connection-revival-signal' import { readRuntimeStatusProbe, recordRuntimeStatusProbe -} from '../transport/connection/runtime-status-probe' -import { decodeHostStatusReply, readHostStatusReply } from '../query/host-status-query' -import { hostStatusSchema } from '../transport/hosts/host-status-reply-schema' +} from '../../../transport/connection/runtime-status-probe' +import { decodeHostStatusReply, readHostStatusReply } from '../../../query/host-status-query' +import { hostStatusSchema } from '../../../transport/hosts/host-status-reply-schema' import { AGENT_SESSION_TEXT_APPEND_RUNTIME_CAPABILITY, AGENT_SESSION_TOOL_OUTPUT_APPEND_RUNTIME_CAPABILITY -} from '../../../src/shared/agent-session/agent-session-runtime-capabilities' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' +} from '../../../../../src/shared/agent-session/agent-session-runtime-capabilities' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import { agentSessionReadFailureRefusal, agentSessionReadRefusalText, callAgentSession } from './mobile-structured-agent-session-rpc' import { subscribeTranscriptAfterHold } from './mobile-structured-transcript-subscription' -import { useMobileOlderPageLoader, type OlderPagePhase } from './use-mobile-older-page-loader' +import { + useMobileOlderPageLoader, + type OlderPagePhase +} from '../transcript/use-mobile-older-page-loader' import { mobileStructuredAgentSessionWorking } from './mobile-structured-agent-session-working' import { reduceStructuredChatState, @@ -47,8 +50,8 @@ import { storedStructuredSessionState, storedStructuredCopy, unconfirmedStructuredStateSavedAt -} from './native-chat/mobile-native-chat-transcript-writer' -import { useStoredChatTranscript } from './native-chat/use-stored-chat-transcript' +} from '../transcript/mobile-native-chat-transcript-writer' +import { useStoredChatTranscript } from '../transcript/use-stored-chat-transcript' const MAX_RETAINED_SESSION_STATES = 32 diff --git a/mobile/src/session/use-mobile-structured-session-host-stopping.ts b/mobile/src/session/native-chat/agent-session/use-mobile-structured-session-host-stopping.ts similarity index 92% rename from mobile/src/session/use-mobile-structured-session-host-stopping.ts rename to mobile/src/session/native-chat/agent-session/use-mobile-structured-session-host-stopping.ts index a1d3db4174a..866b1873358 100644 --- a/mobile/src/session/use-mobile-structured-session-host-stopping.ts +++ b/mobile/src/session/native-chat/agent-session/use-mobile-structured-session-host-stopping.ts @@ -1,5 +1,5 @@ import { useCallback, useSyncExternalStore } from 'react' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import { mobileStructuredSessionStatusFeed } from './mobile-structured-session-status-feed' const noSubscription = (): (() => void) => () => {} diff --git a/mobile/src/session/native-chat/composer/MobileNativeChatComposer.keyboard.web.test.tsx b/mobile/src/session/native-chat/composer/MobileNativeChatComposer.keyboard.web.test.tsx index e1cee3abee1..3facb1e14f7 100644 --- a/mobile/src/session/native-chat/composer/MobileNativeChatComposer.keyboard.web.test.tsx +++ b/mobile/src/session/native-chat/composer/MobileNativeChatComposer.keyboard.web.test.tsx @@ -5,7 +5,6 @@ import type * as ReactNative from 'react-native' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' import { MobileNativeChatComposer } from './MobileNativeChatComposer' import { MobileNativeChatLowerRegion } from '../MobileNativeChatLowerRegion.web' -import { NATIVE_CHAT_STEER_CHORD_HOLD_MS } from '../../../../../src/shared/native-chat/input/use-native-chat-steer-chord-preview' vi.mock('react-native', () => vi.importActual('react-native-web')) vi.mock( @@ -189,31 +188,6 @@ describe('mobile composer modifier submit in the paired web page', () => { expect(field().value).toBe(' hello ') }) - it('holding Cmd alone on an empty composer shows Steer queued in Send, lights the head card and sends it on a press', async () => { - vi.spyOn(document, 'hasFocus').mockReturnValue(true) - const steerHead = { steers: () => true, run: vi.fn(() => true), light: vi.fn() } - await render({ value: '', sendFollowUp: { action: 'queue', offersChoice: true }, steerHead }) - const preview = () => container.querySelector('[data-preview]') - vi.useFakeTimers() - try { - await act(async () => { - field().dispatchEvent(new KeyboardEvent('keydown', { key: 'Meta', bubbles: true })) - }) - await act(async () => vi.advanceTimersByTime(NATIVE_CHAT_STEER_CHORD_HOLD_MS)) - } finally { - vi.useRealTimers() - } - expect(preview()?.dataset.preview).toBe('steer-queued') - expect(steerHead.light).toHaveBeenLastCalledWith(true) - await act(async () => preview()?.click()) - expect(steerHead.run).toHaveBeenCalledExactlyOnceWith(true) - await act(async () => { - field().dispatchEvent(new KeyboardEvent('keyup', { key: 'Meta', bubbles: true })) - }) - expect(preview()).toBeNull() - expect(steerHead.light).toHaveBeenLastCalledWith(false) - }) - it.each([ { value: '@rea', expected: '@README.md ', filePaths: ['README.md', 'src/read.ts'] }, { value: '/comp', expected: '/compact ', filePaths: [] } diff --git a/mobile/src/session/native-chat/composer/MobileNativeChatComposer.structured.test.ts b/mobile/src/session/native-chat/composer/MobileNativeChatComposer.structured.test.ts index c04552d7585..29fc29234d0 100644 --- a/mobile/src/session/native-chat/composer/MobileNativeChatComposer.structured.test.ts +++ b/mobile/src/session/native-chat/composer/MobileNativeChatComposer.structured.test.ts @@ -7,17 +7,17 @@ import { updateMobileNativeChatDraftInputs } from './mobile-native-chat-draft-inputs' import './use-mobile-native-chat-drafts' -import '../../use-mobile-structured-native-chat-send-bridge' +import './use-mobile-structured-native-chat-send-bridge' import '../mobile-native-chat-scope-key' -import '../../use-mobile-structured-agent-session' +import '../agent-session/use-mobile-structured-agent-session' import '../agent-session/use-mobile-structured-agent-session-queued.test-fixture' import '../../structured-agent-send-result.test-fixture' import { findByHostType } from '../../../test-support/react-test-renderer-host-nodes' -import '../../mobile-structured-agent-session-host-support' +import '../agent-session/mobile-structured-agent-session-host-support' import '../../../../../src/shared/agent-session/agent-session-runtime-capabilities' -import '../../use-mobile-structured-agent-options' -import '../../use-mobile-structured-agent-options.test-fixture' +import '../input/use-mobile-structured-agent-options' +import '../input/use-mobile-structured-agent-options.test-fixture' import { createElement, type ComponentProps } from 'react' diff --git a/mobile/src/session/native-chat/composer/MobileNativeChatComposer.tsx b/mobile/src/session/native-chat/composer/MobileNativeChatComposer.tsx index b58cdede682..07f31ca25c1 100644 --- a/mobile/src/session/native-chat/composer/MobileNativeChatComposer.tsx +++ b/mobile/src/session/native-chat/composer/MobileNativeChatComposer.tsx @@ -39,7 +39,7 @@ import { composerInputStyles as inputStyles } from '../../../components/composer import { MobileNativeChatComposerSendSlot } from './MobileNativeChatComposerSendSlot' import { MobileNativeChatEditActions } from './MobileNativeChatEditActions' import { useMobileNativeChatContextRing } from './MobileNativeChatContextUsageRing' -import type { MobileNativeChatSendIntent } from '../mobile-native-chat-send' +import type { MobileNativeChatSendIntent } from './mobile-native-chat-send' import { MobileNativeChatComposerMic } from './MobileNativeChatComposerMic' import type { MobileNativeChatMicProps } from './MobileNativeChatComposerMic' import { MobileNativeChatDictationLeading } from './MobileNativeChatDictationLeading' @@ -51,8 +51,6 @@ const NO_FILE_PATHS: string[] = [] const NO_ATTACHMENTS: PendingNativeChatImage[] = [] const NO_FILES: PendingNativeChatFile[] = [] -export type { MobileNativeChatStructuredComposer } from './mobile-native-chat-structured-composer' - type Props = MobileNativeChatMicProps & { // Applies dictation's edit to the draft this composer shows; false when it can no longer take it. insertDictation?: (insert: (draft: string) => string) => boolean | void diff --git a/mobile/src/session/native-chat/composer/MobileNativeChatComposerAttachButton.tsx b/mobile/src/session/native-chat/composer/MobileNativeChatComposerAttachButton.tsx index d9760401fca..45d89b53131 100644 --- a/mobile/src/session/native-chat/composer/MobileNativeChatComposerAttachButton.tsx +++ b/mobile/src/session/native-chat/composer/MobileNativeChatComposerAttachButton.tsx @@ -4,7 +4,7 @@ import { Plus } from 'lucide-react-native' import { colors } from '../../../theme/mobile-theme' import { useMobileTranslation } from '../../../i18n/use-mobile-translation' import { ActionSheetModal } from '../../../components/ActionSheetModal' -import { mobileNativeChatAttachActions } from '../mobile-native-chat-attach-actions' +import { mobileNativeChatAttachActions } from './mobile-native-chat-attach-actions' import { COMPOSER_CONTROL_HIT_SLOP, composerInputStyles as inputStyles diff --git a/mobile/src/session/native-chat/composer/MobileNativeChatComposerMenu.tsx b/mobile/src/session/native-chat/composer/MobileNativeChatComposerMenu.tsx index cc553fe6d26..fd52ebe0e82 100644 --- a/mobile/src/session/native-chat/composer/MobileNativeChatComposerMenu.tsx +++ b/mobile/src/session/native-chat/composer/MobileNativeChatComposerMenu.tsx @@ -93,7 +93,7 @@ function MenuRow({ {row.kind === 'file' ? row.path : row.token} - {row.kind === 'command' && row.argumentHint ? ( + {row.kind !== 'file' && row.argumentHint ? ( {row.argumentHint} diff --git a/mobile/src/session/native-chat/composer/MobileNativeChatComposerSendSlot.tsx b/mobile/src/session/native-chat/composer/MobileNativeChatComposerSendSlot.tsx index cc4dd16223b..4651ce6c6d8 100644 --- a/mobile/src/session/native-chat/composer/MobileNativeChatComposerSendSlot.tsx +++ b/mobile/src/session/native-chat/composer/MobileNativeChatComposerSendSlot.tsx @@ -6,7 +6,7 @@ import type { NativeChatSendFollowUp } from '../../../../../src/shared/native-ch import type { SessionOptionDescriptor } from '../../../../../src/shared/native-chat/input/native-chat-session-options' import { MobileNativeChatStopButton } from '../input/MobileNativeChatStopButton' import { MobileNativeChatControlSwap } from '../input/mobile-native-chat-control-swap' -import type { MobileNativeChatSendIntent } from '../mobile-native-chat-send' +import type { MobileNativeChatSendIntent } from './mobile-native-chat-send' import { mobileNativeChatComposerShowsStop } from './mobile-native-chat-composer-layout' import type { MobileNativeChatStructuredComposer } from './mobile-native-chat-structured-composer' import { readMobileNativeChatPickedSkills } from './mobile-native-chat-draft-store' diff --git a/mobile/src/session/native-chat/composer/MobileNativeChatSendButton.tsx b/mobile/src/session/native-chat/composer/MobileNativeChatSendButton.tsx index cde9442e07c..af5a2a79dc9 100644 --- a/mobile/src/session/native-chat/composer/MobileNativeChatSendButton.tsx +++ b/mobile/src/session/native-chat/composer/MobileNativeChatSendButton.tsx @@ -16,7 +16,7 @@ import { useMobileTranslation } from '../../../i18n/use-mobile-translation' import { useKeyboardPersistingTaps } from '../../../platform/keyboard-persisting-taps' import { colors } from '../../../theme/mobile-theme' import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' -import type { MobileNativeChatSendIntent } from '../mobile-native-chat-send' +import type { MobileNativeChatSendIntent } from './mobile-native-chat-send' const FOLLOW_UP_ICON = { queue: ListEnd, steer: CornerDownRight } as const diff --git a/mobile/src/session/native-chat/composer/mobile-draft-inputs-scaling.test.ts b/mobile/src/session/native-chat/composer/mobile-draft-inputs-scaling.test.ts deleted file mode 100644 index 8155332bd37..00000000000 --- a/mobile/src/session/native-chat/composer/mobile-draft-inputs-scaling.test.ts +++ /dev/null @@ -1,166 +0,0 @@ -import { createElement } from 'react' -import { act, create } from 'react-test-renderer' -import { afterEach, expect, it, vi } from 'vitest' -import { useMobileNativeChatFileAttachments } from './use-mobile-native-chat-file-attachments' -import { useMobileNativeChatImageAttachments } from './use-mobile-native-chat-image-attachments' -import { - useMobileNativeChatDraft, - setMobileNativeChatDraftText, - resetMobileNativeChatDraftStoreForTests -} from './mobile-native-chat-draft-store' -import { - subscribeMobileNativeChatDraftInputs, - updateMobileNativeChatDraftInputs, - closeMobileNativeChatEditInputs, - useMobileNativeChatDraftInputs -} from './mobile-native-chat-draft-inputs' - -const picker = vi.hoisted(() => ({ pickFiles: vi.fn(), pickImages: vi.fn() })) -vi.mock('../../../platform/media-picker', () => ({ useMediaPicker: () => picker })) -afterEach(resetMobileNativeChatDraftStoreForTests) - -it.each([20, 200])( - 'isolates mounted text, input, image and file consumers across %i other scopes', - async (count) => { - const scopes = [ - 'own-host:target', - ...Array.from({ length: count }, (_, i) => `other-host:${i}`) - ] - const own = scopes[0] - const renders = scopes.map(() => ({ text: 0, input: 0, image: 0, file: 0 })) - const values: { - text: string - pending: number - images: readonly string[] - files: readonly string[] - }[] = scopes.map(() => ({ text: '', pending: 0, images: [], files: [] })) - const upstream = scopes.map(() => vi.fn()) - const releases = scopes.map((scope, i) => - subscribeMobileNativeChatDraftInputs(scope, upstream[i]) - ) - function Text({ index }: { index: number }) { - values[index].text = useMobileNativeChatDraft(scopes[index]) - renders[index].text++ - return null - } - function Input({ index }: { index: number }) { - values[index].pending = useMobileNativeChatDraftInputs(scopes[index]).pending ?? 0 - renders[index].input++ - return null - } - function File({ index }: { index: number }) { - const file = useMobileNativeChatFileAttachments({ - client: null, - sessionId: null, - scopeKey: scopes[index], - enabled: false, - showToast: vi.fn() - }) - values[index].files = file.files.map((entry) => entry.path ?? '') - renders[index].file++ - return null - } - function Image({ index }: { index: number }) { - const image = useMobileNativeChatImageAttachments({ - client: null, - agent: 'codex', - activeHandleRef: { current: null }, - deviceTokenRef: { current: null }, - getActiveWorktreeConnectionId: async () => null, - connState: 'disconnected', - scopeKey: scopes[index], - enabled: false, - structuredNativeChat: true, - showToast: vi.fn(), - onSendError: vi.fn(), - baseSend: async () => 'rejected', - readSeededLaunchDraft: () => null - }) - values[index].images = image.attachments.map((entry) => entry.path) - renders[index].image++ - return null - } - let view: ReturnType | undefined - await act(async () => { - view = create( - createElement( - 'fixture', - {}, - scopes.flatMap((_, index) => [ - createElement(Text, { key: `t${index}`, index }), - createElement(Input, { key: `p${index}`, index }), - createElement(File, { key: `f${index}`, index }), - createElement(Image, { key: `i${index}`, index }) - ]) - ) - ) - }) - renders.forEach((entry) => { - entry.text = entry.input = entry.image = entry.file = 0 - }) - try { - await act(async () => setMobileNativeChatDraftText(own, 'own text')) - expect(values[0].text).toBe('own text') - expect(renders[0]).toEqual({ text: 1, input: 0, image: 0, file: 0 }) - await act(async () => - updateMobileNativeChatDraftInputs(own, (current) => ({ ...current, pending: 1 })) - ) - expect(values[0].pending).toBe(1) - await act(async () => - updateMobileNativeChatDraftInputs(own, (current) => ({ - ...current, - images: [{ id: 'image', path: '/saved.png', previewUri: 'file:///saved.png' }] - })) - ) - expect(values[0].images).toEqual(['/saved.png']) - await act(async () => - updateMobileNativeChatDraftInputs(own, (current) => ({ - ...current, - files: [ - { id: 'file', path: '/saved.txt', name: 'saved.txt', mime: 'text/plain', byteLength: 1 } - ] - })) - ) - expect(values[0].files).toEqual(['/saved.txt']) - expect(renders[0]).toEqual({ text: 1, input: 3, image: 2, file: 1 }) - expect(upstream[0]).toHaveBeenCalledTimes(3) - for (let index = 1; index < scopes.length; index++) { - expect(renders[index]).toEqual({ text: 0, input: 0, image: 0, file: 0 }) - expect(upstream[index]).not.toHaveBeenCalled() - } - } finally { - await act(async () => view?.unmount()) - releases.forEach((release) => release()) - } - await act(async () => - updateMobileNativeChatDraftInputs(own, (current) => ({ ...current, pending: 0 })) - ) - expect(renders[0]).toEqual({ text: 1, input: 3, image: 2, file: 1 }) - expect(upstream[0]).toHaveBeenCalledTimes(3) - } -) -it.each([20, 200])( - 'notifies only affected scopes across %i retained input subscribers and retires listeners', - (count) => { - const idle = vi.fn() - const releases = Array.from({ length: count }, (_, index) => - subscribeMobileNativeChatDraftInputs(`idle-${index}`, idle) - ) - const source = vi.fn() - const destination = vi.fn() - releases.push( - subscribeMobileNativeChatDraftInputs('queued-edit:one', source), - subscribeMobileNativeChatDraftInputs('bottom', destination) - ) - updateMobileNativeChatDraftInputs('queued-edit:one', (inputs) => ({ ...inputs, pending: 1 })) - expect(source).toHaveBeenCalledTimes(1) - expect(idle).not.toHaveBeenCalled() - closeMobileNativeChatEditInputs('queued-edit:one', 'bottom') - expect(source).toHaveBeenCalledTimes(2) - expect(destination).toHaveBeenCalledTimes(1) - expect(idle).not.toHaveBeenCalled() - releases.forEach((release) => release()) - updateMobileNativeChatDraftInputs('bottom', (inputs) => ({ ...inputs, pending: 0 })) - expect(destination).toHaveBeenCalledTimes(1) - } -) diff --git a/mobile/src/session/native-chat/mobile-native-chat-attach-actions.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-attach-actions.ts similarity index 93% rename from mobile/src/session/native-chat/mobile-native-chat-attach-actions.ts rename to mobile/src/session/native-chat/composer/mobile-native-chat-attach-actions.ts index 4b855587cfb..aae916a7d71 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-attach-actions.ts +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-attach-actions.ts @@ -1,6 +1,6 @@ import { AtSign, Image, Package, Paperclip, Terminal } from 'lucide-react-native' -import type { ActionSheetAction } from '../../components/ActionSheetModal' -import { translate } from '../../i18n/mobile-i18n' +import type { ActionSheetAction } from '../../../components/ActionSheetModal' +import { translate } from '../../../i18n/mobile-i18n' // Dismiss the sheet before opening pickers because iOS cannot present them over its Modal. export function mobileNativeChatAttachActions(args: { diff --git a/mobile/src/session/native-chat/composer/mobile-native-chat-composer-menu.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-composer-menu.ts index ecac1d211d2..ea5597fd311 100644 --- a/mobile/src/session/native-chat/composer/mobile-native-chat-composer-menu.ts +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-composer-menu.ts @@ -1,6 +1,7 @@ import type { AgentSessionConversationCommand } from '../../../../../src/shared/agent-session/agent-session-conversation-command' import type { AgentSessionSlashCommand } from '../../../../../src/shared/agent-session/agent-session-wire' import { + getAgentAnsweredNativeChatCommands, getNativeChatAgentProfile, type NativeChatAgentProfile } from '../../../../../src/shared/native-chat/native-chat-agent-profiles' @@ -19,7 +20,6 @@ import type { SlashCommandSuggestion } from '../../../../../src/shared/native-chat/input/native-chat-slash-commands' import { structuredSessionSlashCommands } from '../../../../../src/shared/agent-session/view/structured-agent-session-composer' -import { getMobileNativeChatCommands } from '../mobile-native-chat-send-classification' // Why: the menu is a plain ScrollView right above a streaming transcript, so it mounts a bounded // number of rows; typing narrows the rest. @@ -66,7 +66,7 @@ export function mobileComposerCatalog({ structured.compactInstructions, interactionModeSupported ) - : getMobileNativeChatCommands(agent) + : getAgentAnsweredNativeChatCommands(agent) return { profile: getNativeChatAgentProfile(agent), commands: nativeChatPickerCommands(agent, commands, discovery.skills), diff --git a/mobile/src/session/native-chat/composer/mobile-native-chat-draft-inputs.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-draft-inputs.ts index 337c2995584..c6f5e4d0f6a 100644 --- a/mobile/src/session/native-chat/composer/mobile-native-chat-draft-inputs.ts +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-draft-inputs.ts @@ -225,13 +225,6 @@ export function captureMobileNativeChatTextDestination(): return focusedScope ? textDestinations.get(focusedScope)?.() : undefined } -export function resetMobileNativeChatDraftInputsForTests(): void { - drafts.clear() - destinations.clear() - textDestinations.clear() - focusedScope = null -} - export function pruneMobileNativeChatDraftSkills( scope: string, text: string, diff --git a/mobile/src/session/native-chat/composer/mobile-native-chat-draft-persistence.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-draft-persistence.ts index 80a77014ac6..68c3989edac 100644 --- a/mobile/src/session/native-chat/composer/mobile-native-chat-draft-persistence.ts +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-draft-persistence.ts @@ -19,7 +19,6 @@ import { deviceStoreDraftBackend, durableDraftRow, durableDraftRowKey, - resetDurableDraftRowsForTests, type DurableDraftRow, type DurableDraftRowBackend } from '../../../drafts/durable-draft-rows' @@ -204,8 +203,3 @@ export function closeSavedMobileNativeChatDraft(scope: string): void { tab.workspace.row.save('immediate') } } - -export function resetMobileNativeChatDraftPersistenceForTests(): void { - resetDurableDraftRowsForTests() - workspaces.clear() -} diff --git a/mobile/src/session/native-chat/composer/mobile-native-chat-draft-reconcile.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-draft-reconcile.ts index 8ecab906278..5c5a85fad74 100644 --- a/mobile/src/session/native-chat/composer/mobile-native-chat-draft-reconcile.ts +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-draft-reconcile.ts @@ -21,10 +21,6 @@ export type UnconfirmedSend = { deadline: ReturnType | null } -export function normalizedUserText(message: NativeChatMessage): string | null { - return normalizedNativeChatUserMessageText(message) -} - export type PendingImagePreviewEcho = Pick< NativeChatPendingSend, 'id' | 'text' | 'sentAt' | 'afterMessageId' | 'matchingOccurrence' @@ -161,7 +157,7 @@ export function findLandedImagePreviewEchoes( return false } if (targetText) { - const text = normalizedUserText(message) + const text = normalizedNativeChatUserMessageText(message) if (text === null) { return false } @@ -199,7 +195,9 @@ export function findLandedUnconfirmedSends( if (message.role !== 'user') { continue } - const key = isImageSourceUserTurn(message) ? '' : (normalizedUserText(message) ?? '') + const key = isImageSourceUserTurn(message) + ? '' + : (normalizedNativeChatUserMessageText(message) ?? '') const current = userMessagesByText.get(key) ?? [] current.push({ id: message.id, index }) userMessagesByText.set(key, current) diff --git a/mobile/src/session/native-chat/composer/mobile-native-chat-draft-store.test.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-draft-store.test.ts index c4bf647ba36..1ea977b8fdc 100644 --- a/mobile/src/session/native-chat/composer/mobile-native-chat-draft-store.test.ts +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-draft-store.test.ts @@ -1,13 +1,20 @@ import { createElement } from 'react' import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it } from 'vitest' +import { afterEach, describe, expect, it, vi } from 'vitest' import { useMobileNativeChatDrafts } from './use-mobile-native-chat-drafts' import { - resetMobileNativeChatDraftStoreForTests, + closeMobileNativeChatTabDraft, useMobileNativeChatDraft } from './mobile-native-chat-draft-store' -import { resetMobileNativeChatDraftInputsForTests } from './mobile-native-chat-draft-inputs' + +import { loadMobileNativeChatDrafts } from './mobile-native-chat-draft-persistence' + +vi.mock('@react-native-async-storage/async-storage', async () => { + const { createInMemoryAsyncStorage } = + await import('../../../test-support/in-memory-async-storage') + return { default: createInMemoryAsyncStorage() } +}) type DraftState = ReturnType & { composerText: string } @@ -15,10 +22,12 @@ describe('mobile native-chat draft store', () => { let renderer: ReactTestRenderer | null = null let state: DraftState | null = null - afterEach(() => { + afterEach(async () => { act(() => renderer?.unmount()) - resetMobileNativeChatDraftStoreForTests() - resetMobileNativeChatDraftInputsForTests() + await loadMobileNativeChatDrafts('host', 'worktree') + closeMobileNativeChatTabDraft('host\0worktree\0a') + closeMobileNativeChatTabDraft('host\0worktree\0b') + await loadMobileNativeChatDrafts('host', 'worktree') renderer = null state = null }) diff --git a/mobile/src/session/native-chat/composer/mobile-native-chat-draft-store.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-draft-store.ts index 565990929b3..ba17d73c0d9 100644 --- a/mobile/src/session/native-chat/composer/mobile-native-chat-draft-store.ts +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-draft-store.ts @@ -2,7 +2,6 @@ import { useSyncExternalStore, type SetStateAction } from 'react' import type { AgentJournalSkillRef } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' import { appendReturnedDraftText } from '../../../../../src/shared/returned-draft-text' import { - resetMobileNativeChatDraftInputsForTests, returnMobileNativeChatDraftAttachments, closeMobileNativeChatEditInputs, mobileNativeChatDraftDestination, @@ -18,7 +17,6 @@ import { readMobileNativeChatInFlightSend, readMobileNativeChatInFlightSendsByScope, registerSavedMobileNativeChatInFlightSends, - resetMobileNativeChatInFlightSendsForTests, retireMobileNativeChatInFlightSends, restoredImages, restoredFiles, @@ -28,13 +26,11 @@ import { import { dropMobileNativeChatOfflineSends, mobileNativeChatOfflineSendScopes, - resetMobileNativeChatOfflineSendsForTests, restoreMobileNativeChatOfflineSends, savedMobileNativeChatOfflineSends } from './mobile-native-chat-offline-sends' import { closeSavedMobileNativeChatDraft, - resetMobileNativeChatDraftPersistenceForTests, retainSavedMobileNativeChatDrafts, saveMobileNativeChatDraft, setMobileNativeChatDraftSource @@ -306,15 +302,6 @@ export function useMobileNativeChatDraft(draftKey: string | null): string { return useSyncExternalStore(subscribe, read, read) } -export function resetMobileNativeChatDraftStoreForTests(): void { - resetMobileNativeChatDraftInputsForTests() - drafts.clear() - resetMobileNativeChatInFlightSendsForTests() - resetMobileNativeChatOfflineSendsForTests() - mobileNativeChatLaunchDraftSeeds.clear() - resetMobileNativeChatDraftPersistenceForTests() -} - export type MobileComposerWriter = ((text: string) => boolean) & { captureOrigin?: () => (text: string) => boolean } diff --git a/mobile/src/session/native-chat/composer/mobile-native-chat-file-attachment.test.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-file-attachment.test.ts deleted file mode 100644 index c6a04295615..00000000000 --- a/mobile/src/session/native-chat/composer/mobile-native-chat-file-attachment.test.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - MobileFileTooLargeError, - type PickedMobileFile -} from '../../../platform/media-picker-contract' -import { - nativeChatTextWithFileReferences, - uploadPickedNativeChatFiles, - type PendingNativeChatFile -} from './mobile-native-chat-file-attachment' - -function picked(name: string): PickedMobileFile { - return { name, mime: 'text/plain', byteLength: 1, base64: 'YQ==' } -} - -async function* pickedFiles(files: PickedMobileFile[], thenThrow?: Error) { - for (const file of files) { - yield file - } - if (thenThrow) { - throw thenThrow - } -} - -describe('nativeChatTextWithFileReferences', () => { - it('references each stored file on a line after the text', () => { - expect( - nativeChatTextWithFileReferences('Review these ', [ - { path: '/store/1/spec.pdf' }, - { path: '/store/2/my notes.md' } - ]) - ).toBe('Review these\n@/store/1/spec.pdf @"/store/2/my notes.md"') - }) - - it('sends the references alone when there is no text, and the text alone with no files', () => { - expect(nativeChatTextWithFileReferences(' ', [{ path: '/store/1/spec.pdf' }])).toBe( - '@/store/1/spec.pdf' - ) - expect(nativeChatTextWithFileReferences('hi', [])).toBe('hi') - }) -}) - -describe('uploadPickedNativeChatFiles', () => { - function run(files: AsyncIterable, failName?: string) { - const chips = new Map() - const errors: string[] = [] - const pickedChips: PendingNativeChatFile[] = [] - let id = 0 - const done = uploadPickedNativeChatFiles({ - picked: files, - upload: async (file) => { - if (file.name === failName) { - throw new Error('host refused') - } - return { path: `/store/${file.name}`, name: file.name, byteLength: 1 } - }, - nextId: () => `file-${(id += 1)}`, - onPicked: (file) => { - pickedChips.push(file) - chips.set(file.id, file) - }, - onStored: (fileId, stored) => { - const chip = chips.get(fileId) - if (chip) { - chips.set(fileId, { ...chip, path: stored.path }) - } - }, - onFailed: (fileId) => chips.delete(fileId), - onError: (message) => errors.push(message) - }) - return { chips, errors, pickedChips, done } - } - - it('keeps every stored file as a chip with its host path', async () => { - const { chips, errors, pickedChips, done } = run( - pickedFiles([picked('a.txt'), picked('b.txt')]) - ) - await done - expect(pickedChips).toEqual([ - { id: 'file-1', name: 'a.txt', mime: 'text/plain', byteLength: 1, path: null }, - { id: 'file-2', name: 'b.txt', mime: 'text/plain', byteLength: 1, path: null } - ]) - expect([...chips.values()].map((chip) => chip.path)).toEqual(['/store/a.txt', '/store/b.txt']) - expect(errors).toEqual([]) - }) - - it('drops the chip of a failed upload, says which file, and carries on', async () => { - const { chips, errors, done } = run(pickedFiles([picked('a.txt'), picked('b.txt')]), 'a.txt') - await done - expect([...chips.values()].map((chip) => chip.name)).toEqual(['b.txt']) - expect(errors).toEqual(["Couldn't upload a.txt"]) - }) - - it('keeps what was stored before the picker refused an oversized file', async () => { - const { chips, errors, done } = run( - pickedFiles([picked('a.txt')], new MobileFileTooLargeError('clip.mov')) - ) - await done - expect([...chips.values()].map((chip) => chip.name)).toEqual(['a.txt']) - expect(errors).toEqual([new MobileFileTooLargeError('clip.mov').message]) - }) -}) diff --git a/mobile/src/session/native-chat/composer/mobile-native-chat-image-scope-state.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-image-scope-state.ts deleted file mode 100644 index 3429717ed67..00000000000 --- a/mobile/src/session/native-chat/composer/mobile-native-chat-image-scope-state.ts +++ /dev/null @@ -1,18 +0,0 @@ -import type { PendingNativeChatImage } from './mobile-native-chat-image-attachment' - -export const NO_NATIVE_CHAT_IMAGE_ATTACHMENTS: PendingNativeChatImage[] = [] - -export type MobileNativeChatImagesByScope = Record - -export function withScopeAttachments( - byScope: Readonly>, - scope: string, - next: List -): Record { - if (next.length > 0) { - return { ...byScope, [scope]: next } - } - const remaining = { ...byScope } - delete remaining[scope] - return remaining -} diff --git a/mobile/src/session/native-chat/composer/mobile-native-chat-image-send.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-image-send.ts index 130b89692b6..f94eeab180b 100644 --- a/mobile/src/session/native-chat/composer/mobile-native-chat-image-send.ts +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-image-send.ts @@ -5,9 +5,9 @@ import { MOBILE_NATIVE_CHAT_MIN_WRITE_TIMEOUT_MS, openMobileNativeChatSendBudget, readMobileNativeChatInputClear -} from '../mobile-native-chat-send' +} from './mobile-native-chat-send' import { nativeChatTerminalWrite } from '../../../terminal/session/mobile-session-terminal-operations' -import type { MobileNativeChatRpcSender } from '../mobile-native-chat-send' +import type { MobileNativeChatRpcSender } from './mobile-native-chat-send' // Wait for the TUI to register bracketed image attachments before text/Enter arrives. export const MOBILE_NATIVE_CHAT_IMAGE_SETTLE_MS = 300 diff --git a/mobile/src/session/native-chat/composer/mobile-native-chat-in-flight-sends.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-in-flight-sends.ts index 08d94b1b7cc..d979ebb5d35 100644 --- a/mobile/src/session/native-chat/composer/mobile-native-chat-in-flight-sends.ts +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-in-flight-sends.ts @@ -5,8 +5,8 @@ import { updateMobileNativeChatDraftInputs } from './mobile-native-chat-draft-inputs' import type { PendingNativeChatFile } from './mobile-native-chat-file-attachment' -import type { MobileNativeChatSendOrigin } from '../mobile-native-chat-pending-echo' -import type { MobileNativeChatSendIntent } from '../mobile-native-chat-send' +import type { MobileNativeChatSendOrigin } from '../transcript/mobile-native-chat-pending-echo' +import type { MobileNativeChatSendIntent } from './mobile-native-chat-send' import { saveMobileNativeChatDraft } from './mobile-native-chat-draft-persistence' import type { MobileNativeChatInFlightSend, @@ -215,7 +215,3 @@ export function retireMobileNativeChatInFlightSends(scope: string): void { } } } - -export function resetMobileNativeChatInFlightSendsForTests(): void { - inFlightSends.clear() -} diff --git a/mobile/src/session/mobile-native-chat-message-hand-back.test.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-message-hand-back.test.ts similarity index 88% rename from mobile/src/session/mobile-native-chat-message-hand-back.test.ts rename to mobile/src/session/native-chat/composer/mobile-native-chat-message-hand-back.test.ts index 697c0dd00af..bb086a110ab 100644 --- a/mobile/src/session/mobile-native-chat-message-hand-back.test.ts +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-message-hand-back.test.ts @@ -5,19 +5,19 @@ import { returnMobileNativeChatMessageToComposer } from './mobile-native-chat-me import { readMobileNativeChatDraftInputs, updateMobileNativeChatDraftInputs -} from './native-chat/composer/mobile-native-chat-draft-inputs' +} from './mobile-native-chat-draft-inputs' import { - resetMobileNativeChatDraftStoreForTests, + closeMobileNativeChatTabDraft, setMobileNativeChatDraftText, useMobileNativeChatDraft -} from './native-chat/composer/mobile-native-chat-draft-store' +} from './mobile-native-chat-draft-store' let renderer: ReactTestRenderer | null = null let text = '' afterEach(() => { act(() => renderer?.unmount()) - resetMobileNativeChatDraftStoreForTests() + closeMobileNativeChatTabDraft('scope') renderer = null }) diff --git a/mobile/src/session/native-chat/composer/mobile-native-chat-message-hand-back.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-message-hand-back.ts new file mode 100644 index 00000000000..a3a288a70e7 --- /dev/null +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-message-hand-back.ts @@ -0,0 +1,42 @@ +import type { AgentJournalMessageItem } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' +import { queuedEditTextForKeptImages } from '../../../../../src/shared/queued-message-edit' +import { appendReturnedDraftText } from '../../../../../src/shared/returned-draft-text' +import { mobileDraftImageOfBlock } from '../input/mobile-queued-message-edit-draft' +import { + readMobileNativeChatDraftInputs, + updateMobileNativeChatDraftInputs +} from './mobile-native-chat-draft-inputs' +import { setMobileNativeChatDraftText } from './mobile-native-chat-draft-store' + +/** Append a sent message's text and images after what is typed; stable chip ids keep a repeat from doubling them. */ +export function returnMobileNativeChatMessageToComposer( + scopeKey: string, + /** Unique to this message, so its images never collide with ones already attached. */ + attachmentIdPrefix: string, + blocks: AgentJournalMessageItem['blocks'] +): void { + const imageIds: string[] = [] + const images = blocks.flatMap((block, index) => { + if (block.type !== 'image-ref') { + return [] + } + const id = `${attachmentIdPrefix}-${index}` + imageIds.push(id) + return block.path ? [mobileDraftImageOfBlock(id, block)] : [] + }) + const held = readMobileNativeChatDraftInputs(scopeKey).images + const added = images.filter((image) => !held.some(({ id }) => id === image.id)) + // `[Image #k]` counts every chip in the composer, so markers move past the images already there. + const text = queuedEditTextForKeptImages( + blocks.flatMap((block) => (block.type === 'text' ? [block.text] : [])).join('\n'), + imageIds, + [...held, ...added].map(({ id }) => id) + ) + setMobileNativeChatDraftText(scopeKey, (draft) => appendReturnedDraftText(draft, text)) + if (added.length > 0) { + updateMobileNativeChatDraftInputs(scopeKey, (current) => ({ + ...current, + images: [...current.images, ...added] + })) + } +} diff --git a/mobile/src/session/native-chat/composer/mobile-native-chat-offline-sends.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-offline-sends.ts index 53ab4be9eb2..e2e74e4acc8 100644 --- a/mobile/src/session/native-chat/composer/mobile-native-chat-offline-sends.ts +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-offline-sends.ts @@ -186,7 +186,3 @@ export function useMobileNativeChatOfflineSends( }, []) return useSyncExternalStore(subscribe, () => readMobileNativeChatOfflineSends(scope)) } - -export function resetMobileNativeChatOfflineSendsForTests(): void { - queues.clear() -} diff --git a/mobile/src/session/native-chat/composer/mobile-native-chat-send-classification.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-send-classification.ts new file mode 100644 index 00000000000..e228d61446f --- /dev/null +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-send-classification.ts @@ -0,0 +1,29 @@ +// Do not echo terminal slash/skill controls as chat turns: no transcript user row exists to reconcile their bubbles. + +import { + getAgentAnsweredNativeChatCommands, + getNativeChatAgentProfile +} from '../../../../../src/shared/native-chat/native-chat-agent-profiles' +import { + classifyNativeChatSend, + type NativeChatSendClassification +} from '../../../../../src/shared/native-chat/input/native-chat-slash-commands' + +// Terminal mobile chat lacks desktop-owned command answers and reply rows. + +export function classifyMobileNativeChatSend( + agent: string | null, + text: string, + pickerSkillOriginToken: string | null = null +): NativeChatSendClassification { + if (!agent) { + return 'chat' + } + const profile = getNativeChatAgentProfile(agent) + return classifyNativeChatSend( + text, + getAgentAnsweredNativeChatCommands(agent), + pickerSkillOriginToken, + profile?.skillPrefix ?? null + ) +} diff --git a/mobile/src/session/native-chat/mobile-native-chat-send.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-send.ts similarity index 88% rename from mobile/src/session/native-chat/mobile-native-chat-send.ts rename to mobile/src/session/native-chat/composer/mobile-native-chat-send.ts index c91e15906ee..9c980127a97 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-send.ts +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-send.ts @@ -1,22 +1,22 @@ -import type { RpcClient } from '../../transport/rpc/rpc-client-contract' -import type { PendingNativeChatImage } from './composer/mobile-native-chat-image-attachment' -import type { PendingNativeChatFile } from './composer/mobile-native-chat-file-attachment' -import { isRpcDeliveryUnknown } from '../../transport/rpc/rpc-delivery-ambiguity' -import '../../transport/connection/stable-logical-rpc-client' -import { isLogicalClientCutoverError } from '../../transport/connection/logical-client-cutover-error' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import type { PendingNativeChatImage } from './mobile-native-chat-image-attachment' +import type { PendingNativeChatFile } from './mobile-native-chat-file-attachment' +import { isRpcDeliveryUnknown } from '../../../transport/rpc/rpc-delivery-ambiguity' +import '../../../transport/connection/stable-logical-rpc-client' +import { isLogicalClientCutoverError } from '../../../transport/connection/logical-client-cutover-error' import { nativeChatTerminalWrite, nativeChatTerminalDraftRead -} from '../../terminal/session/mobile-session-terminal-operations' -import { typeAgentTuiCommand } from '../../../../src/shared/agent-launch/startup/agent-tui-command-typing' -import { readTerminalSendAcknowledgment } from '../../../../src/shared/terminal/pty/lifecycle/terminal-send-acknowledgment' +} from '../../../terminal/session/mobile-session-terminal-operations' +import { typeAgentTuiCommand } from '../../../../../src/shared/agent-launch/startup/agent-tui-command-typing' +import { readTerminalSendAcknowledgment } from '../../../../../src/shared/terminal/pty/lifecycle/terminal-send-acknowledgment' import { AGENT_TUI_CLEAR_MAX_LINES, countAgentTuiInputLines, buildAgentTuiClearInputForText -} from '../../../../src/shared/agent-launch/startup/agent-tui-input-clear' +} from '../../../../../src/shared/agent-launch/startup/agent-tui-input-clear' -import type { AgentJournalSkillRef } from '../../../../src/shared/agent-session/journal/agent-session-journal-types' +import type { AgentJournalSkillRef } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' export type MobileNativeChatRpcSender = Parameters[0] diff --git a/mobile/src/session/native-chat/composer/mobile-native-chat-skill-operations.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-skill-operations.ts index fc06f8e0be0..de98372945e 100644 --- a/mobile/src/session/native-chat/composer/mobile-native-chat-skill-operations.ts +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-skill-operations.ts @@ -2,13 +2,6 @@ import { bindDeferredRpcOperation, defineRpcOperation } from '../../../transport import { rpcResultVariant } from '../../../transport/rpc/rpc-operation-result-reader' import '../../../terminal/terminal-reply-schema' import { skillDiscoveryReplySchema } from './mobile-native-chat-skill-reply-schema' -import '../../agent-launch/mobile-agent-detection-reply-schema' -import '../../../files/session-documents/mobile-markdown-tab-reply-schema' -import '../../../transport/rpc/rpc-uninterpreted-reply-schemas' -import '../../../terminal/session/mobile-session-terminal-reply-schema' -import '../../../worktree/session-worktree-record-reply-schema' -import '../../../terminal/quick-commands/mobile-quick-command-reply-schema' -import '../../../files/workspace-file-paths-reply-schema' // Mobile names the workspace and lets the host resolve and scan it; see SKILL_DISCOVER_WORKSPACE_CAPABILITY. export const nativeChatSkillDiscoveryRead = bindDeferredRpcOperation( diff --git a/mobile/src/session/native-chat/mobile-native-chat-stale-input.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts similarity index 96% rename from mobile/src/session/native-chat/mobile-native-chat-stale-input.ts rename to mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts index f0885dd157d..7762f7762ea 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-stale-input.ts +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts @@ -1,4 +1,4 @@ -import { pasteMobileNativeChatImagePaths } from './composer/mobile-native-chat-image-send' +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 diff --git a/mobile/src/session/native-chat/composer/mobile-native-chat-structured-composer.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-structured-composer.ts index 5efa1fe1f80..27de249feb3 100644 --- a/mobile/src/session/native-chat/composer/mobile-native-chat-structured-composer.ts +++ b/mobile/src/session/native-chat/composer/mobile-native-chat-structured-composer.ts @@ -1,6 +1,6 @@ import type { MobileComposerStructuredCatalog } from './mobile-native-chat-composer-menu' import type { PendingNativeChatFile } from './mobile-native-chat-file-attachment' -import type { MobileStructuredThreadGoal } from '../../use-mobile-structured-thread-goal' +import type { MobileStructuredThreadGoal } from '../input/use-mobile-structured-thread-goal' export type MobileNativeChatStructuredComposer = { catalog: MobileComposerStructuredCatalog diff --git a/mobile/src/session/native-chat/mobile-native-chat-terminal-write-lock.ts b/mobile/src/session/native-chat/composer/mobile-native-chat-terminal-write-lock.ts similarity index 100% rename from mobile/src/session/native-chat/mobile-native-chat-terminal-write-lock.ts rename to mobile/src/session/native-chat/composer/mobile-native-chat-terminal-write-lock.ts diff --git a/mobile/src/session/mobile-structured-composer-command.ts b/mobile/src/session/native-chat/composer/mobile-structured-composer-command.ts similarity index 85% rename from mobile/src/session/mobile-structured-composer-command.ts rename to mobile/src/session/native-chat/composer/mobile-structured-composer-command.ts index 04d80c271fb..55c0ea4432f 100644 --- a/mobile/src/session/mobile-structured-composer-command.ts +++ b/mobile/src/session/native-chat/composer/mobile-structured-composer-command.ts @@ -2,26 +2,26 @@ import { agentSessionConversationCommandFields, type AgentSessionConversationCommand, type AgentSessionConversationCommandResult -} from '../../../src/shared/agent-session/agent-session-conversation-command' -import type { AgentSessionFailureFact } from '../../../src/shared/agent-session/failures/agent-session-failure' +} from '../../../../../src/shared/agent-session/agent-session-conversation-command' +import type { AgentSessionFailureFact } from '../../../../../src/shared/agent-session/failures/agent-session-failure' import { dispatchStructuredAgentSessionComposerCommand, isStructuredAgentSessionHostCommand, type StructuredAgentSessionCommandRefusalCause, type StructuredAgentSessionComposerOptions -} from '../../../src/shared/agent-session/view/structured-agent-session-composer' +} from '../../../../../src/shared/agent-session/view/structured-agent-session-composer' import { conversationCommandReply, heldConversationCommandParts, structuredConversationCommandHold -} from '../../../src/shared/structured-conversation-command-hold' -import { mobileAgentSessionWriteNoticeText } from './agent-session-write-notice-copy' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import { translate } from '../i18n/mobile-i18n' -import { sayMobileAgentSessionFailure } from './agent-session-failure-copy' -import type { MobileNativeChatSendOutcome } from './native-chat/mobile-native-chat-send' -import { requestStructuredAgentSessionMutation } from './mobile-structured-agent-session-rpc' -import type { MobileNativeChatSendErrorReporter } from './native-chat/use-mobile-native-chat-send-error' +} from '../../../../../src/shared/structured-conversation-command-hold' +import { mobileAgentSessionWriteNoticeText } from '../agent-session/agent-session-write-notice-copy' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import { translate } from '../../../i18n/mobile-i18n' +import { sayMobileAgentSessionFailure } from '../agent-session/agent-session-failure-copy' +import type { MobileNativeChatSendOutcome } from './mobile-native-chat-send' +import { requestStructuredAgentSessionMutation } from '../agent-session/mobile-structured-agent-session-rpc' +import type { MobileNativeChatSendErrorReporter } from './use-mobile-native-chat-send-error' /** What the phone shows at keypress that holds a command; `background` also counts the strip mid-turn. */ export type MobileStructuredCommandHolds = Readonly< diff --git a/mobile/src/session/mobile-structured-send-delivery.ts b/mobile/src/session/native-chat/composer/mobile-structured-send-delivery.ts similarity index 77% rename from mobile/src/session/mobile-structured-send-delivery.ts rename to mobile/src/session/native-chat/composer/mobile-structured-send-delivery.ts index d9f3eb2c58f..129006f77ca 100644 --- a/mobile/src/session/mobile-structured-send-delivery.ts +++ b/mobile/src/session/native-chat/composer/mobile-structured-send-delivery.ts @@ -1,9 +1,9 @@ -import type { AgentSessionSendResult } from '../../../src/shared/agent-session/agent-session-wire' -import { agentSessionRefusalOperationState } from '../../../src/shared/agent-session/failures/agent-session-refusal-retry' -import type { MobileNativeChatSendOutcome } from './native-chat/mobile-native-chat-send' -import type { StructuredAgentSessionMutationCallResult } from './mobile-structured-agent-session-rpc' -import { STRUCTURED_AGENT_SESSION_SUBMISSION_MISSING } from '../../../src/shared/agent-session/requests/structured-agent-session-send-evidence' -import { translate } from '../i18n/mobile-i18n' +import type { AgentSessionSendResult } from '../../../../../src/shared/agent-session/agent-session-wire' +import { agentSessionRefusalOperationState } from '../../../../../src/shared/agent-session/failures/agent-session-refusal-retry' +import type { MobileNativeChatSendOutcome } from './mobile-native-chat-send' +import type { StructuredAgentSessionMutationCallResult } from '../agent-session/mobile-structured-agent-session-rpc' +import { STRUCTURED_AGENT_SESSION_SUBMISSION_MISSING } from '../../../../../src/shared/agent-session/requests/structured-agent-session-send-evidence' +import { translate } from '../../../i18n/mobile-i18n' export type MobileStructuredSendDelivery = { outcome: MobileNativeChatSendOutcome diff --git a/mobile/src/session/native-chat/composer/mobile-structured-send-queue-rule.ts b/mobile/src/session/native-chat/composer/mobile-structured-send-queue-rule.ts new file mode 100644 index 00000000000..8a5f9dd97c0 --- /dev/null +++ b/mobile/src/session/native-chat/composer/mobile-structured-send-queue-rule.ts @@ -0,0 +1,26 @@ +import { selectAgentSessionCurrentRequests } from '../../../../../src/shared/agent-session/requests/agent-session-current-requests' +import type { StructuredAgentSessionState } from '../../../../../src/shared/agent-session/structured-agent-session-reducer' +import { + structuredAgentSessionFollowUpsQueue, + structuredAgentSessionQueueEnabled +} from '../../../../../src/shared/agent-session/view/structured-agent-session-queued-cards' + +/** The desktop's rule: the alternate flips the setting first, then the queue's own rules decide. */ +export function mobileStructuredSendQueues( + queueCapable: boolean, + queueFollowUps: boolean, + state: Pick, + send: { alternate?: boolean; isWorking: boolean; stopping: boolean } = { + isWorking: false, + stopping: false + } +): boolean { + return ( + queueCapable && + structuredAgentSessionQueueEnabled( + structuredAgentSessionFollowUpsQueue(queueFollowUps, send), + state, + selectAgentSessionCurrentRequests(state) + ) + ) +} diff --git a/mobile/src/session/mobile-structured-send-recorded-read.ts b/mobile/src/session/native-chat/composer/mobile-structured-send-recorded-read.ts similarity index 85% rename from mobile/src/session/mobile-structured-send-recorded-read.ts rename to mobile/src/session/native-chat/composer/mobile-structured-send-recorded-read.ts index 17e47b2199e..8fec033fadb 100644 --- a/mobile/src/session/mobile-structured-send-recorded-read.ts +++ b/mobile/src/session/native-chat/composer/mobile-structured-send-recorded-read.ts @@ -1,9 +1,9 @@ import { useLayoutEffect, useMemo, useRef } from 'react' import * as z from 'zod' -import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc/rpc-operation' -import { rpcResultVariant } from '../transport/rpc/rpc-operation-result-reader' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import type { StructuredAgentSessionHostSupport } from './mobile-structured-agent-session-host-support' +import { bindDeferredRpcOperation, defineRpcOperation } from '../../../transport/rpc/rpc-operation' +import { rpcResultVariant } from '../../../transport/rpc/rpc-operation-result-reader' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import type { StructuredAgentSessionHostSupport } from '../agent-session/mobile-structured-agent-session-host-support' const sendRecordedRead = bindDeferredRpcOperation( defineRpcOperation({ diff --git a/mobile/src/session/native-chat/unconfirmed-send-deadlines.ts b/mobile/src/session/native-chat/composer/unconfirmed-send-deadlines.ts similarity index 100% rename from mobile/src/session/native-chat/unconfirmed-send-deadlines.ts rename to mobile/src/session/native-chat/composer/unconfirmed-send-deadlines.ts diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-composer-goal-mode.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-composer-goal-mode.ts index 91d7ce33131..5c3abd01481 100644 --- a/mobile/src/session/native-chat/composer/use-mobile-native-chat-composer-goal-mode.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-composer-goal-mode.ts @@ -3,8 +3,8 @@ import { Goal } from 'lucide-react-native' import type { NativeChatSendFollowUp } from '../../../../../src/shared/native-chat/input/native-chat-follow-up-behavior' import { isBareStructuredAgentSessionGoalCommand } from '../../../../../src/shared/agent-session/view/structured-agent-session-composer' import { useMobileTranslation } from '../../../i18n/use-mobile-translation' -import type { MobileStructuredThreadGoal } from '../../use-mobile-structured-thread-goal' -import type { MobileNativeChatSendIntent } from '../mobile-native-chat-send' +import type { MobileStructuredThreadGoal } from '../input/use-mobile-structured-thread-goal' +import type { MobileNativeChatSendIntent } from './mobile-native-chat-send' import { MobileNativeChatThreadGoalStrip } from '../input/MobileNativeChatThreadGoalStrip' import { MobileNativeChatComposerModeChip } from './MobileNativeChatComposerModeChip' diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-composer-tray.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-composer-tray.ts index 2b8005f6de8..4dfbcf863ee 100644 --- a/mobile/src/session/native-chat/composer/use-mobile-native-chat-composer-tray.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-composer-tray.ts @@ -8,7 +8,7 @@ import { mobileNativeChatChordHeadId, type MobileNativeChatQueuedMessagesProps } from '../input/MobileNativeChatQueuedMessages' -import type { MobileStructuredBackgroundTasks } from '../../use-mobile-structured-background-tasks' +import type { MobileStructuredBackgroundTasks } from '../input/use-mobile-structured-background-tasks' import { useMobileNativeChatQueuedEditFocus } from '../input/use-mobile-native-chat-queued-edit-focus' import { createMobileQueuedHeadLight } from '../input/mobile-queued-head-light' import { diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts-glued-pending.test.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts-glued-pending.test.ts index 09542d51dfb..1db30d2be50 100644 --- a/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts-glued-pending.test.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts-glued-pending.test.ts @@ -1,24 +1,28 @@ import { createElement } from 'react' import { act, create } from 'react-test-renderer' -import { afterEach, describe, expect, it } from 'vitest' +import { afterEach, describe, expect, it, vi } from 'vitest' import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' -import { buildMobileNativeChatTransientData } from '../mobile-native-chat-render-data' + import { useMobileNativeChatDrafts } from './use-mobile-native-chat-drafts' import { - resetMobileNativeChatDraftStoreForTests, + closeMobileNativeChatTabDraft, useMobileNativeChatDraft } from './mobile-native-chat-draft-store' +import { loadMobileNativeChatDrafts } from './mobile-native-chat-draft-persistence' + +vi.mock('@react-native-async-storage/async-storage', async () => { + const { createInMemoryAsyncStorage } = + await import('../../../test-support/in-memory-async-storage') + return { default: createInMemoryAsyncStorage() } +}) + type DraftState = ReturnType & { composerText: string } type TestRenderer = { unmount(): void update(element: ReturnType): void } -function userTurn(id: string, text: string, timestamp: number): NativeChatMessage { - return { id, role: 'user', blocks: [{ type: 'text', text }], timestamp, source: 'transcript' } -} - function assistantTurn(id: string, text: string, timestamp: number): NativeChatMessage { return { id, @@ -39,27 +43,15 @@ function imageTurn(id: string, path: string, timestamp: number): NativeChatMessa } } -function renderedPendingTexts( - messages: NativeChatMessage[], - state: DraftState | null -): (string | undefined)[] { - const { data } = buildMobileNativeChatTransientData({ - folded: messages, - streaming: null, - pending: state?.pending ?? [] - }) - return data - .filter((message) => !messages.some((existing) => existing.id === message.id)) - .map((message) => message.blocks.find((block) => block.type === 'text')?.text) -} - describe('useMobileNativeChatDrafts glued pending sends', () => { let renderer: TestRenderer | null = null let state: DraftState | null = null - afterEach(() => { + afterEach(async () => { act(() => renderer?.unmount()) - resetMobileNativeChatDraftStoreForTests() + await loadMobileNativeChatDrafts('host', 'worktree') + closeMobileNativeChatTabDraft('host\0worktree\0tab') + await loadMobileNativeChatDrafts('host', 'worktree') renderer = null state = null }) @@ -109,23 +101,6 @@ describe('useMobileNativeChatDrafts glued pending sends', () => { // Between the older history rows and the rows that land after a send, on the host's clock. const SENT_AT = 3000 - function send(text: string): void { - const origin = state?.captureSendOrigin(text, SENT_AT) - if (origin) { - state?.acceptSend(origin, text) - } - } - - function rapidSend(first: string, second: string): void { - act(() => { - send(first) - send(second) - }) - } - - const pendingTexts = (): (string | undefined)[] | undefined => - state?.pending.map((item) => item.text) - // Hydrating rows give no boundary, so these sends match only rows newer than their send time. describe('sends issued while the transcript is still hydrating', () => { // An image retires only by preview binding; excluding its own echo would strand both the photo and later glued sends. @@ -146,18 +121,4 @@ describe('useMobileNativeChatDrafts glued pending sends', () => { }) // Failed-read emptiness is unknown history, not an empty conversation; old rows must not claim sends against it. - describe('sends issued before any read settled', () => { - it('keeps both bubbles when the late read carries only an older glue-alike', async () => { - await mount([], false, false) - rapidSend('fix the', 'bug') - - const olderIdentical = [ - userTurn('m1', 'fix the bug', 1000), - assistantTurn('m2', 'fixed', 1100) - ] - await update(olderIdentical) - expect(pendingTexts()).toEqual(['fix the', 'bug']) - expect(renderedPendingTexts(olderIdentical, state)).toEqual(['fix the', 'bug']) - }) - }) }) diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts-launch-draft.test.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts-launch-draft.test.ts index a6b9e635071..34fbb34186e 100644 --- a/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts-launch-draft.test.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts-launch-draft.test.ts @@ -1,14 +1,22 @@ import { createElement } from 'react' import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it } from 'vitest' +import { afterEach, describe, expect, it, vi } from 'vitest' import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' import { useMobileNativeChatDrafts } from './use-mobile-native-chat-drafts' import { - resetMobileNativeChatDraftStoreForTests, + closeMobileNativeChatTabDraft, useMobileNativeChatDraft } from './mobile-native-chat-draft-store' +import { loadMobileNativeChatDrafts } from './mobile-native-chat-draft-persistence' + +vi.mock('@react-native-async-storage/async-storage', async () => { + const { createInMemoryAsyncStorage } = + await import('../../../test-support/in-memory-async-storage') + return { default: createInMemoryAsyncStorage() } +}) + type DraftState = ReturnType & { composerText: string } function userTextMessage(id: string, text: string): NativeChatMessage { @@ -25,9 +33,12 @@ describe('useMobileNativeChatDrafts launch draft', () => { let renderer: ReactTestRenderer | null = null let state: DraftState | null = null - afterEach(() => { + afterEach(async () => { act(() => renderer?.unmount()) - resetMobileNativeChatDraftStoreForTests() + await loadMobileNativeChatDrafts('host', 'worktree') + closeMobileNativeChatTabDraft('host\0worktree\0a') + closeMobileNativeChatTabDraft('host\0worktree\0b') + await loadMobileNativeChatDrafts('host', 'worktree') renderer = null state = null }) diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts-queued-hold.test.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts-queued-hold.test.ts deleted file mode 100644 index 69def691118..00000000000 --- a/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts-queued-hold.test.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it } from 'vitest' -import { useMobileNativeChatDrafts } from './use-mobile-native-chat-drafts' -import { - resetMobileNativeChatDraftStoreForTests, - useMobileNativeChatDraft -} from './mobile-native-chat-draft-store' - -describe('useMobileNativeChatDrafts with queued cards', () => { - let renderer: ReactTestRenderer | null = null - let state: (ReturnType & { composerText: string }) | null = null - - afterEach(() => { - act(() => renderer?.unmount()) - resetMobileNativeChatDraftStoreForTests() - renderer = null - state = null - }) - - function Harness(): null { - const drafts = useMobileNativeChatDrafts({ - hostId: 'host', - worktreeId: 'worktree', - tabId: 'a', - sessionId: 'session-a', - messages: [], - launchDraft: null, - transcriptLoading: false, - transcriptSettled: true - }) - state = { ...drafts, composerText: useMobileNativeChatDraft(drafts.draftKey) } - return null - } - - async function render(): Promise { - await act(async () => { - renderer = create(createElement(Harness)) - }) - } - - it("reports whether a queued card's Edit copy landed, so Edit never deletes text it did not keep", async () => { - await render() - let copied: boolean | undefined - act(() => { - copied = state?.appendComposerText('') - }) - expect(copied).toBe(false) - act(() => { - copied = state?.appendComposerText('edited text') - }) - expect(copied).toBe(true) - expect(state?.composerText).toBe('edited text') - }) -}) diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts.test.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts.test.ts deleted file mode 100644 index 3545d6e078a..00000000000 --- a/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts.test.ts +++ /dev/null @@ -1,723 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it, vi } from 'vitest' -import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' -import { useMobileNativeChatDrafts } from './use-mobile-native-chat-drafts' -import { - resetMobileNativeChatDraftStoreForTests, - useMobileNativeChatDraft -} from './mobile-native-chat-draft-store' - -type DraftState = ReturnType & { composerText: string } - -function userTextMessage(id: string, text: string): NativeChatMessage { - return { - id, - role: 'user', - blocks: [{ type: 'text', text }], - timestamp: null, - source: 'transcript' - } -} - -function assistantTextMessage(id: string, text: string): NativeChatMessage { - return { - id, - role: 'assistant', - blocks: [{ type: 'text', text }], - timestamp: null, - source: 'transcript' - } -} - -describe('useMobileNativeChatDrafts', () => { - let renderer: ReactTestRenderer | null = null - let state: DraftState | null = null - - afterEach(() => { - act(() => renderer?.unmount()) - resetMobileNativeChatDraftStoreForTests() - renderer = null - state = null - }) - - function Harness({ - tabId, - sessionId = `session-${tabId}`, - messages = [], - launchDraft = null, - chatActive = true, - transcriptLoading = false, - transcriptSettled = !transcriptLoading - }: { - tabId: string - sessionId?: string | null - messages?: NativeChatMessage[] - launchDraft?: string | null - chatActive?: boolean - transcriptLoading?: boolean - transcriptSettled?: boolean - }): null { - const drafts = useMobileNativeChatDrafts({ - hostId: 'host', - worktreeId: 'worktree', - tabId, - sessionId, - messages, - launchDraft, - chatActive, - transcriptLoading, - transcriptSettled - }) - state = { ...drafts, composerText: useMobileNativeChatDraft(drafts.draftKey) } - return null - } - - async function mount(tabId: string): Promise { - await act(async () => { - renderer = create(createElement(Harness, { tabId })) - }) - } - - async function switchTo(tabId: string): Promise { - await act(async () => renderer?.update(createElement(Harness, { tabId }))) - } - - it('keeps drafts and accepted pending messages on their originating tabs', async () => { - await mount('a') - act(() => state?.setComposerText('from a')) - const originA = state?.captureSendOrigin('from a') - expect(originA).not.toBeNull() - act(() => { - if (originA) { - state?.clearDraftForSend(originA, 'from a') - } - }) - - await switchTo('b') - act(() => state?.setComposerText('from b')) - act(() => { - if (originA) { - state?.acceptSend(originA, 'from a') - } - }) - expect(state?.composerText).toBe('from b') - expect(state?.pending).toEqual([]) - - await switchTo('a') - expect(state?.composerText).toBe('') - expect(state?.pending.map((pending) => pending.text)).toEqual(['from a']) - }) - - it('appends a rejected send after edits typed while it was in flight', async () => { - await mount('a') - act(() => state?.setComposerText('ping')) - const origin = state?.captureSendOrigin('ping') - act(() => { - if (origin) { - state?.clearDraftForSend(origin, 'ping') - } - }) - act(() => state?.setComposerText('newer edit')) - act(() => { - if (origin) { - state?.restoreRejectedDraft(origin, 'ping') - } - }) - expect(state?.composerText).toBe('newer edit\n\nping') - }) - - it('returns a rejected send even after a newer edit was cleared', async () => { - await mount('a') - act(() => state?.setComposerText('ping')) - const origin = state?.captureSendOrigin('ping') - act(() => { - if (origin) { - state?.clearDraftForSend(origin, 'ping') - } - }) - act(() => state?.setComposerText('newer edit')) - act(() => state?.setComposerText('')) - act(() => { - if (origin) { - state?.restoreRejectedDraft(origin, 'ping') - } - }) - - expect(state?.composerText).toBe('ping') - }) - - it('restores a rejected send onto its originating tab only', async () => { - await mount('a') - act(() => state?.setComposerText('from a')) - const originA = state?.captureSendOrigin('from a') - act(() => { - if (originA) { - state?.clearDraftForSend(originA, 'from a') - } - }) - - await switchTo('b') - act(() => state?.setComposerText('from b')) - act(() => { - if (originA) { - state?.restoreRejectedDraft(originA, 'from a') - } - }) - expect(state?.composerText).toBe('from b') - - await switchTo('a') - expect(state?.composerText).toBe('from a') - }) - - it('keeps the composer clear when the echo lands after the unconfirmed deadline', async () => { - vi.useFakeTimers() - try { - await mount('a') - act(() => state?.setComposerText('ping')) - const origin = state?.captureSendOrigin('ping') - act(() => { - if (origin) { - state?.clearDraftForSend(origin, 'ping') - state?.holdUnconfirmedSend(origin, 'ping', vi.fn()) - } - }) - expect(state?.composerText).toBe('') - - // Transcript recovery after a lost ack must not restore a delivered prompt as draft text. - act(() => { - vi.advanceTimersByTime(25_000) - }) - await act(async () => - renderer?.update( - createElement(Harness, { tabId: 'a', messages: [userTextMessage('m1', 'ping')] }) - ) - ) - expect(state?.composerText).toBe('') - } finally { - vi.useRealTimers() - } - }) - - it('clears one pending per landed message so duplicate sends are not all dropped', async () => { - await mount('a') - const origin = state?.captureSendOrigin('ping') - act(() => { - if (origin) { - state?.acceptSend(origin, 'ping') - state?.acceptSend(origin, 'ping') - } - }) - expect(state?.pending.map((pending) => pending.text)).toEqual(['ping', 'ping']) - - await act(async () => - renderer?.update( - createElement(Harness, { tabId: 'a', messages: [userTextMessage('m1', 'ping')] }) - ) - ) - expect(state?.pending.map((pending) => pending.text)).toEqual(['ping']) - }) - - it('keeps an image-only echo through an agent reply, clearing only when the user turn lands', async () => { - await mount('a') - await act(async () => - renderer?.update( - createElement(Harness, { tabId: 'a', messages: [assistantTextMessage('a1', 'hi')] }) - ) - ) - const origin = state?.captureSendOrigin('') - act(() => { - if (origin) { - state?.acceptSend(origin, '', ['file:///a.jpg']) - } - }) - expect(state?.pending.map((pending) => pending.images)).toEqual([['file:///a.jpg']]) - - await act(async () => - renderer?.update( - createElement(Harness, { - tabId: 'a', - messages: [assistantTextMessage('a1', 'hi'), assistantTextMessage('a2', 'nice photo')] - }) - ) - ) - expect(state?.pending.map((pending) => pending.images)).toEqual([['file:///a.jpg']]) - - await act(async () => - renderer?.update( - createElement(Harness, { - tabId: 'a', - messages: [ - assistantTextMessage('a1', 'hi'), - assistantTextMessage('a2', 'nice photo'), - userTextMessage('u1', '[Image: source: /tmp/a.png]') - ] - }) - ) - ) - expect(state?.pending).toEqual([]) - expect(state?.imagePreviewsByMessageId).toEqual({ u1: ['file:///a.jpg'] }) - }) - - it("keeps an image-only echo when an unrelated text send's echo lands", async () => { - await mount('a') - await act(async () => - renderer?.update( - createElement(Harness, { tabId: 'a', messages: [assistantTextMessage('a1', 'hi')] }) - ) - ) - const textOrigin = state?.captureSendOrigin('ping') - const imageOrigin = state?.captureSendOrigin('') - act(() => { - if (textOrigin && imageOrigin) { - state?.acceptSend(textOrigin, 'ping') - state?.acceptSend(imageOrigin, '', ['file:///a.jpg']) - } - }) - expect(state?.pending).toHaveLength(2) - - await act(async () => - renderer?.update( - createElement(Harness, { - tabId: 'a', - messages: [assistantTextMessage('a1', 'hi'), userTextMessage('u1', 'ping')] - }) - ) - ) - expect(state?.pending.map((pending) => pending.images)).toEqual([['file:///a.jpg']]) - - await act(async () => - renderer?.update( - createElement(Harness, { - tabId: 'a', - messages: [ - assistantTextMessage('a1', 'hi'), - userTextMessage('u1', 'ping'), - userTextMessage('u2', '[Image: source: /tmp/a.png]') - ] - }) - ) - ) - expect(state?.pending).toEqual([]) - }) - - it('does not reconcile a repeated send against an older identical turn', async () => { - await mount('a') - await act(async () => - renderer?.update( - createElement(Harness, { tabId: 'a', messages: [userTextMessage('old', 'ping')] }) - ) - ) - const origin = state?.captureSendOrigin('ping') - act(() => { - if (origin) { - state?.acceptSend(origin, 'ping') - } - }) - - await act(async () => - renderer?.update( - createElement(Harness, { - tabId: 'a', - messages: [userTextMessage('old', 'ping'), assistantTextMessage('other', 'working')] - }) - ) - ) - expect(state?.pending.map((pending) => pending.text)).toEqual(['ping']) - - await act(async () => - renderer?.update( - createElement(Harness, { - tabId: 'a', - messages: [ - userTextMessage('old', 'ping'), - assistantTextMessage('other', 'working'), - userTextMessage('new', 'ping') - ] - }) - ) - ) - expect(state?.pending).toEqual([]) - }) - - it('does not erase a whitespace-only newer edit when an older send clears', async () => { - await mount('a') - act(() => state?.setComposerText('/clear')) - const origin = state?.captureSendOrigin('/clear') - act(() => state?.setComposerText(' /clear')) - act(() => { - if (origin) { - state?.clearDraftForSend(origin, '/clear') - } - }) - - expect(state?.composerText).toBe(' /clear') - }) - - it('reconciles an image-only unconfirmed send against the next user turn (no false warning)', async () => { - vi.useFakeTimers() - try { - await mount('a') - await act(async () => - renderer?.update( - createElement(Harness, { tabId: 'a', messages: [assistantTextMessage('a1', 'hi')] }) - ) - ) - const origin = state?.captureSendOrigin('') - const onUnconfirmed = vi.fn() - act(() => { - if (origin) { - state?.holdUnconfirmedSend(origin, '', onUnconfirmed) - } - }) - - await act(async () => - renderer?.update( - createElement(Harness, { - tabId: 'a', - messages: [assistantTextMessage('a1', 'hi'), assistantTextMessage('a2', 'ok')] - }) - ) - ) - await act(async () => - renderer?.update( - createElement(Harness, { - tabId: 'a', - messages: [ - assistantTextMessage('a1', 'hi'), - assistantTextMessage('a2', 'ok'), - userTextMessage('u1', '') - ] - }) - ) - ) - act(() => { - vi.advanceTimersByTime(30_000) - }) - expect(onUnconfirmed).not.toHaveBeenCalled() - } finally { - vi.useRealTimers() - } - }) - - it('clears image-only echoes one per landed user turn, not all at once', async () => { - await mount('a') - await act(async () => - renderer?.update( - createElement(Harness, { tabId: 'a', messages: [assistantTextMessage('a1', 'hi')] }) - ) - ) - const origin = state?.captureSendOrigin('') - act(() => { - if (origin) { - state?.acceptSend(origin, '', ['file:///a.jpg']) - state?.acceptSend(origin, '', ['file:///b.jpg']) - } - }) - expect(state?.pending).toHaveLength(2) - - await act(async () => - renderer?.update( - createElement(Harness, { - tabId: 'a', - messages: [ - assistantTextMessage('a1', 'hi'), - userTextMessage('u1', '[Image: source: /tmp/a.png]') - ] - }) - ) - ) - expect(state?.pending.map((pending) => pending.images)).toEqual([['file:///b.jpg']]) - }) - - it('registers no deadline when the transcript echo beat the ambiguous RPC rejection', async () => { - vi.useFakeTimers() - try { - await mount('a') - const origin = state?.captureSendOrigin('ping') - const onUnconfirmed = vi.fn() - - await act(async () => - renderer?.update( - createElement(Harness, { tabId: 'a', messages: [userTextMessage('m1', 'ping')] }) - ) - ) - act(() => { - if (origin) { - state?.holdUnconfirmedSend(origin, 'ping', onUnconfirmed) - } - }) - - expect(vi.getTimerCount()).toBe(0) - act(() => { - vi.advanceTimersByTime(30_000) - }) - expect(onUnconfirmed).not.toHaveBeenCalled() - } finally { - vi.useRealTimers() - } - }) - - it('surfaces uncertainty when no echo lands before the deadline', async () => { - vi.useFakeTimers() - try { - await mount('a') - const origin = state?.captureSendOrigin('ping') - const onUnconfirmed = vi.fn() - act(() => { - if (origin) { - state?.holdUnconfirmedSend(origin, 'ping', onUnconfirmed) - } - }) - - act(() => { - vi.advanceTimersByTime(19_999) - }) - expect(onUnconfirmed).not.toHaveBeenCalled() - act(() => { - vi.advanceTimersByTime(1) - }) - expect(onUnconfirmed).toHaveBeenCalledTimes(1) - } finally { - vi.useRealTimers() - } - }) - - it('does not confirm an unconfirmed send against an older identical turn', async () => { - vi.useFakeTimers() - try { - await mount('a') - await act(async () => - renderer?.update( - createElement(Harness, { tabId: 'a', messages: [userTextMessage('old', 'ping')] }) - ) - ) - act(() => state?.setComposerText('ping')) - const origin = state?.captureSendOrigin('ping') - const onUnconfirmed = vi.fn() - act(() => { - if (origin) { - state?.holdUnconfirmedSend(origin, 'ping', onUnconfirmed) - } - }) - - await act(async () => - renderer?.update( - createElement(Harness, { - tabId: 'a', - messages: [userTextMessage('old', 'ping'), assistantTextMessage('other', 'working')] - }) - ) - ) - expect(state?.composerText).toBe('ping') - - act(() => { - vi.advanceTimersByTime(30_000) - }) - expect(onUnconfirmed).toHaveBeenCalledTimes(1) - } finally { - vi.useRealTimers() - } - }) - - it('does not confirm an unconfirmed send when pagination prepends an older identical turn', async () => { - vi.useFakeTimers() - try { - await mount('a') - const anchor = assistantTextMessage('anchor', 'working') - await act(async () => - renderer?.update(createElement(Harness, { tabId: 'a', messages: [anchor] })) - ) - act(() => state?.setComposerText('ping')) - const origin = state?.captureSendOrigin('ping') - const onUnconfirmed = vi.fn() - act(() => { - if (origin) { - state?.holdUnconfirmedSend(origin, 'ping', onUnconfirmed) - } - }) - - await act(async () => - renderer?.update( - createElement(Harness, { - tabId: 'a', - messages: [userTextMessage('older', 'ping'), anchor] - }) - ) - ) - expect(state?.composerText).toBe('ping') - - act(() => { - vi.advanceTimersByTime(30_000) - }) - expect(onUnconfirmed).toHaveBeenCalledTimes(1) - } finally { - vi.useRealTimers() - } - }) - - it('requires one new transcript echo per repeated unconfirmed send', async () => { - vi.useFakeTimers() - try { - await mount('a') - act(() => state?.setComposerText('ping')) - const origin = state?.captureSendOrigin('ping') - const firstUnconfirmed = vi.fn() - const secondUnconfirmed = vi.fn() - act(() => { - if (origin) { - state?.holdUnconfirmedSend(origin, 'ping', firstUnconfirmed) - state?.holdUnconfirmedSend(origin, 'ping', secondUnconfirmed) - } - }) - - await act(async () => - renderer?.update( - createElement(Harness, { tabId: 'a', messages: [userTextMessage('echo-1', 'ping')] }) - ) - ) - act(() => { - vi.advanceTimersByTime(30_000) - }) - - expect(firstUnconfirmed).not.toHaveBeenCalled() - expect(secondUnconfirmed).toHaveBeenCalledTimes(1) - } finally { - vi.useRealTimers() - } - }) - - it('does not retain a deadline when an ambiguous send settles after unmount', async () => { - vi.useFakeTimers() - try { - await mount('a') - const origin = state?.captureSendOrigin('ping') - const holdUnconfirmedSend = state?.holdUnconfirmedSend - const onUnconfirmed = vi.fn() - act(() => renderer?.unmount()) - renderer = null - - act(() => { - if (origin) { - holdUnconfirmedSend?.(origin, 'ping', onUnconfirmed) - } - }) - - expect(vi.getTimerCount()).toBe(0) - act(() => { - vi.advanceTimersByTime(30_000) - }) - expect(onUnconfirmed).not.toHaveBeenCalled() - } finally { - vi.useRealTimers() - } - }) - - it('does not erase newer edits when an unconfirmed send lands', async () => { - await mount('a') - act(() => state?.setComposerText('submitted')) - const origin = state?.captureSendOrigin('submitted') - act(() => { - if (origin) { - state?.holdUnconfirmedSend(origin, 'submitted', vi.fn()) - } - }) - act(() => state?.setComposerText('new edit')) - - await act(async () => - renderer?.update( - createElement(Harness, { tabId: 'a', messages: [userTextMessage('m1', 'submitted')] }) - ) - ) - expect(state?.composerText).toBe('new edit') - }) - - it('does not confirm an old session send from an identical turn in its replacement', async () => { - vi.useFakeTimers() - try { - await mount('a') - act(() => state?.setComposerText('ping')) - const origin = state?.captureSendOrigin('ping') - const onUnconfirmed = vi.fn() - act(() => { - if (origin) { - state?.holdUnconfirmedSend(origin, 'ping', onUnconfirmed) - } - }) - - await act(async () => - renderer?.update( - createElement(Harness, { - tabId: 'a', - sessionId: 'replacement', - messages: [userTextMessage('replacement-message', 'ping')] - }) - ) - ) - - expect(state?.composerText).toBe('ping') - act(() => { - vi.advanceTimersByTime(30_000) - }) - expect(onUnconfirmed).toHaveBeenCalledTimes(1) - } finally { - vi.useRealTimers() - } - }) - - it('preserves first-send images through session assignment and transcript replacement', async () => { - await mount('a') - await act(async () => renderer?.update(createElement(Harness, { tabId: 'a', sessionId: null }))) - const images = ['file:///a.jpg', 'file:///b.jpg', 'file:///c.jpg'] - act(() => state?.setComposerText('look')) - - const origin = state?.captureSendOrigin('look') - expect(origin).toMatchObject({ pendingKey: null }) - act(() => { - if (origin) { - state?.clearDraftForSend(origin, 'look') - state?.acceptSend(origin, 'look', images) - } - }) - - expect(state?.composerText).toBe('') - expect(state?.pending.map((pending) => pending.images)).toEqual([images]) - - await act(async () => - renderer?.update(createElement(Harness, { tabId: 'a', sessionId: 'assigned' })) - ) - expect(state?.pending.map((pending) => pending.images)).toEqual([images]) - - await act(async () => - renderer?.update( - createElement(Harness, { - tabId: 'a', - sessionId: 'assigned', - messages: [ - userTextMessage('source-1', '[Image: source: /tmp/a.png]'), - userTextMessage('source-2', '[Image: source: /tmp/b.png]'), - userTextMessage('source-3', '[Image: source: /tmp/c.png]') - ] - }) - ) - ) - expect(state?.pending.map((pending) => pending.images)).toEqual([images]) - - await act(async () => - renderer?.update( - createElement(Harness, { - tabId: 'a', - sessionId: 'assigned', - messages: [ - userTextMessage('source-1', '[Image: source: /tmp/a.png]'), - userTextMessage('source-2', '[Image: source: /tmp/b.png]'), - userTextMessage('source-3', '[Image: source: /tmp/c.png]'), - userTextMessage('prompt', '[Image #1] [Image #2] [Image #3] look') - ] - }) - ) - ) - expect(state?.pending).toEqual([]) - expect(state?.imagePreviewsByMessageId).toEqual({ prompt: images }) - }) -}) diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts.ts index 814f11e6d90..456058a6867 100644 --- a/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-drafts.ts @@ -18,7 +18,7 @@ import { normalizeImageTranscriptMessages, normalizeNativeChatUserText as normalizeReconcileText } from '../../../../../src/shared/native-chat/transcript/native-chat-image-transcript-markers' -import { useMobileNativeChatUnconfirmedSends } from '../use-mobile-native-chat-unconfirmed-sends' +import { useMobileNativeChatUnconfirmedSends } from './use-mobile-native-chat-unconfirmed-sends' import { appendMobileNativeChatPending, combineMobileNativeChatPending, @@ -28,7 +28,7 @@ import { visibleMobileNativeChatPending, type MobileNativeChatPendingMessage, type MobileNativeChatSendOrigin -} from '../mobile-native-chat-pending-echo' +} from '../transcript/mobile-native-chat-pending-echo' import { mobileNativeChatScopeKey } from '../mobile-native-chat-scope-key' import { mobileNativeChatDraftDestination } from './mobile-native-chat-draft-inputs' import { useMobileNativeChatLaunchDraftSeed } from './use-mobile-native-chat-launch-draft-seed' diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-image-attachments.test.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-image-attachments.test.ts index f9ed1c439a8..cdae2e0d6e9 100644 --- a/mobile/src/session/native-chat/composer/use-mobile-native-chat-image-attachments.test.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-image-attachments.test.ts @@ -1,12 +1,12 @@ -import { resetMobileNativeChatDraftInputsForTests } from './mobile-native-chat-draft-inputs' +import { closeMobileNativeChatEditInputs } from './mobile-native-chat-draft-inputs' import { createElement } from 'react' import { act, create, type ReactTestRenderer } from 'react-test-renderer' import '../../../../../src/shared/agent-launch/startup/agent-tui-input-clear' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import type { RpcResponse, RpcSuccess } from '../../../transport/rpc/rpc-wire-types' -import { resetMobileNativeChatStaleInputForTests } from '../mobile-native-chat-stale-input' -import { resetMobileNativeChatTerminalWritesForTests } from '../mobile-native-chat-terminal-write-lock' +import { resetMobileNativeChatStaleInputForTests } from './mobile-native-chat-stale-input' +import { resetMobileNativeChatTerminalWritesForTests } from './mobile-native-chat-terminal-write-lock' import { useMobileNativeChatImageAttachments } from './use-mobile-native-chat-image-attachments' // Stub the media seam so direct Expo imports would expose unsupported Flow syntax and fail the transform. @@ -79,6 +79,8 @@ function baseArgs(overrides: Partial & Pick): Hook describe('useMobileNativeChatImageAttachments', () => { let renderer: ReactTestRenderer | null = null let hook: Hook | null = null + let releaseConnection: ((id: string | null) => void) | null = null + let firstAttach: Promise | null = null function Harness({ args }: { args: HookArgs }): null { hook = useMobileNativeChatImageAttachments(args) @@ -86,14 +88,20 @@ describe('useMobileNativeChatImageAttachments', () => { } beforeEach(() => { - resetMobileNativeChatDraftInputsForTests() ids.next = 0 pick.mockReset() resetMobileNativeChatStaleInputForTests() resetMobileNativeChatTerminalWritesForTests() }) - afterEach(() => { + afterEach(async () => { act(() => renderer?.unmount()) + closeMobileNativeChatEditInputs(SCOPE_A) + await act(async () => { + releaseConnection?.(null) + await firstAttach + }) + releaseConnection = null + firstAttach = null renderer = null hook = null }) @@ -106,7 +114,6 @@ describe('useMobileNativeChatImageAttachments', () => { it('keeps isAttaching true when a cancelled pick overlaps a genuine in-flight upload', async () => { // Hold a real upload after its counter increment; a concurrent cancelled pick must not decrement work it never started. - let releaseConnection: ((id: string | null) => void) | null = null const client = makeClient([methodNotFound('start'), ok('save', '/tmp/a.png')]) const args = baseArgs({ client: client as unknown as RpcClient, @@ -118,7 +125,6 @@ describe('useMobileNativeChatImageAttachments', () => { mount(args) pick.mockResolvedValue([{ base64: 'AAAA', uri: 'file:///a.jpg' }]) - let firstAttach: Promise | null = null await act(async () => { firstAttach = hook!.attachImage('library') for (let i = 0; i < 50 && !releaseConnection; i++) { diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-image-attachments.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-image-attachments.ts index b3cfdc53aa1..c5533f5492d 100644 --- a/mobile/src/session/native-chat/composer/use-mobile-native-chat-image-attachments.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-image-attachments.ts @@ -21,20 +21,20 @@ import { openMobileNativeChatSendBudget, type MobileNativeChatSendIntent, type MobileNativeChatSendOutcome -} from '../mobile-native-chat-send' +} from './mobile-native-chat-send' import { clearMobileNativeChatInputStale, healMobileNativeChatStaleInput, isMobileNativeChatInputStale, markMobileNativeChatInputStale -} from '../mobile-native-chat-stale-input' +} from './mobile-native-chat-stale-input' import { acquireMobileNativeChatTerminalWrite, releaseMobileNativeChatTerminalWrite -} from '../mobile-native-chat-terminal-write-lock' +} from './mobile-native-chat-terminal-write-lock' import { useMobileNativeChatImageUpload } from './use-mobile-native-chat-image-upload' import type { PendingNativeChatFile } from './mobile-native-chat-file-attachment' -import type { StructuredMobileSendAttachment } from '../../use-mobile-structured-send-with-outcome' +import type { StructuredMobileSendAttachment } from './use-mobile-structured-send-with-outcome' type CurrentRef = { readonly current: T } type ShowToast = (message: string, durationMs?: number) => void diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-input-lease.test.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-input-lease.test.ts new file mode 100644 index 00000000000..0126af0b4c0 --- /dev/null +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-input-lease.test.ts @@ -0,0 +1,64 @@ +import { createElement } from 'react' +import { act, create, type ReactTestRenderer } from 'react-test-renderer' +import { afterEach, describe, expect, it } from 'vitest' +import { useMobileNativeChatInputLease } from './use-mobile-native-chat-input-lease' + +type Lease = ReturnType + +describe('useMobileNativeChatInputLease', () => { + let renderer: ReactTestRenderer | null = null + let lease: Lease | null = null + + afterEach(() => { + act(() => renderer?.unmount()) + renderer = null + lease = null + }) + + function Harness({ connected }: { connected: boolean }): null { + lease = useMobileNativeChatInputLease({ activeHandle: 'terminal', connected }) + return null + } + + it('unlocks only after acknowledgement and clears on disconnect', async () => { + await act(async () => { + renderer = create(createElement(Harness, { connected: true })) + }) + expect(lease?.ready).toBe(false) + expect(lease?.lockReason).toBe('waiting') + act(() => lease?.markReady('terminal')) + expect(lease?.ready).toBe(true) + expect(lease?.lockReason).toBeNull() + + act(() => { + lease?.clear() + }) + expect(lease?.ready).toBe(false) + act(() => lease?.markReady('terminal')) + expect(lease?.ready).toBe(true) + + await act(async () => renderer?.update(createElement(Harness, { connected: false }))) + expect(lease?.ready).toBe(false) + expect(lease?.lockReason).toBe('disconnected') + }) + + it('reports whether a clear actually dropped a lease', async () => { + await act(async () => { + renderer = create(createElement(Harness, { connected: true })) + }) + expect(lease?.clear('terminal')).toBe(false) + expect(lease?.clear()).toBe(false) + + act(() => lease?.markReady('terminal')) + let dropped: boolean | undefined + act(() => { + dropped = lease?.clear('terminal') + }) + expect(dropped).toBe(true) + expect(lease?.ready).toBe(false) + expect(lease?.clear('terminal')).toBe(false) + + act(() => lease?.markReady('other')) + expect(lease?.clear()).toBe(true) + }) +}) diff --git a/mobile/src/session/native-chat/use-mobile-native-chat-input-lease.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-input-lease.ts similarity index 93% rename from mobile/src/session/native-chat/use-mobile-native-chat-input-lease.ts rename to mobile/src/session/native-chat/composer/use-mobile-native-chat-input-lease.ts index 9dd2bd8b078..417500e8ea2 100644 --- a/mobile/src/session/native-chat/use-mobile-native-chat-input-lease.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-input-lease.ts @@ -1,7 +1,7 @@ import { useCallback, useEffect, useRef, useState } from 'react' -import { nativeChatTurnStatusCopy } from './native-chat-turn-status-copy' -import { translate, type Translate } from '../../i18n/mobile-i18n' -import type { MobileNativeChatInputLockReason } from './MobileNativeChatView' +import { nativeChatTurnStatusCopy } from '../transcript/native-chat-turn-status-copy' +import { translate, type Translate } from '../../../i18n/mobile-i18n' +import type { MobileNativeChatInputLockReason } from '../MobileNativeChatView' export function useMobileNativeChatInputLease(args: { activeHandle: string | null diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-launch-draft-seed.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-launch-draft-seed.ts index acb46ca7679..b5e03cb117e 100644 --- a/mobile/src/session/native-chat/composer/use-mobile-native-chat-launch-draft-seed.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-launch-draft-seed.ts @@ -5,7 +5,7 @@ import { nativeChatLaunchDraftTurnBaseline, type NativeChatLaunchDraftTurnBaseline } from '../../../../../src/shared/native-chat/transcript/native-chat-launch-draft-resolution' -import { normalizedUserText } from './mobile-native-chat-draft-reconcile' +import { normalizedNativeChatUserMessageText } from '../../../../../src/shared/native-chat/transcript/native-chat-image-transcript-markers' import { mobileNativeChatLaunchDraftSeeds } from './mobile-native-chat-draft-store' import { mobileNativeChatDraftDestination } from './mobile-native-chat-draft-inputs' @@ -22,7 +22,7 @@ function launchDraftResolved( ): boolean { // Old hosts send no creation time, so any user turn retires the draft. if (createdAt === null) { - return messages.some((message) => normalizedUserText(message) !== null) + return messages.some((message) => normalizedNativeChatUserMessageText(message) !== null) } return launchDraftResolvedByTranscript({ createdAt }, messages, baseline) } diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-offline-sends.test.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-offline-sends.test.ts index 72d5595f366..a47686107f4 100644 --- a/mobile/src/session/native-chat/composer/use-mobile-native-chat-offline-sends.test.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-offline-sends.test.ts @@ -1,18 +1,23 @@ import { createElement } from 'react' import { act, create, type ReactTestRenderer } from 'react-test-renderer' import { afterEach, describe, expect, it, vi } from 'vitest' -import type { MobileNativeChatSendIntent } from '../mobile-native-chat-send' +import type { MobileNativeChatSendIntent } from './mobile-native-chat-send' import type { MobileNativeChatInputLockReason } from '../MobileNativeChatView' -import { resetMobileNativeChatDraftStoreForTests } from './mobile-native-chat-draft-store' -import { - readMobileNativeChatOfflineSends, - resetMobileNativeChatOfflineSendsForTests -} from './mobile-native-chat-offline-sends' +import { closeMobileNativeChatTabDraft } from './mobile-native-chat-draft-store' +import { readMobileNativeChatOfflineSends } from './mobile-native-chat-offline-sends' import { useMobileNativeChatOfflineQueue, type MobileNativeChatOfflineQueue } from './use-mobile-native-chat-offline-sends' +import { loadMobileNativeChatDrafts } from './mobile-native-chat-draft-persistence' + +vi.mock('@react-native-async-storage/async-storage', async () => { + const { createInMemoryAsyncStorage } = + await import('../../../test-support/in-memory-async-storage') + return { default: createInMemoryAsyncStorage() } +}) + const SCOPE = 'host\0worktree\0tab' type Send = (text: string, intent?: MobileNativeChatSendIntent) => Promise @@ -20,6 +25,8 @@ type Send = (text: string, intent?: MobileNativeChatSendIntent) => Promise { let renderer: ReactTestRenderer | null = null let queue: MobileNativeChatOfflineQueue | null = null + let releasePending: (() => void) | null = null + let pendingSend: Promise | null = null function Harness({ lock, send }: { lock: MobileNativeChatInputLockReason | null; send: Send }) { queue = useMobileNativeChatOfflineQueue({ @@ -41,12 +48,19 @@ describe('useMobileNativeChatOfflineQueue', () => { await act(async () => renderer?.update(createElement(Harness, { lock: null, send }))) } - afterEach(() => { + afterEach(async () => { act(() => renderer?.unmount()) renderer = null queue = null - resetMobileNativeChatOfflineSendsForTests() - resetMobileNativeChatDraftStoreForTests() + await loadMobileNativeChatDrafts('host', 'worktree') + closeMobileNativeChatTabDraft('host\0worktree\0tab') + await act(async () => { + releasePending?.() + await pendingSend + }) + releasePending = null + pendingSend = null + await loadMobileNativeChatDrafts('host', 'worktree') }) it('pauses a queued message whose send fails and holds later sends behind it until Resume', async () => { @@ -84,13 +98,16 @@ describe('useMobileNativeChatOfflineQueue', () => { it('keeps a pending send single across remounts and drains later messages when it settles', async () => { const delivered: string[] = [] let finishFirst: ((sent: boolean) => void) | undefined - const send: Send = async (text) => { + const send: Send = (text) => { delivered.push(text) - return text === 'first' - ? new Promise((resolve) => { - finishFirst = resolve - }) - : true + pendingSend = + text === 'first' + ? new Promise((resolve) => { + finishFirst = resolve + releasePending = () => resolve(false) + }) + : Promise.resolve(true) + return pendingSend } await mount('disconnected', send) await act(async () => { diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-offline-sends.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-offline-sends.ts index 21f629a0aec..24ea22aef03 100644 --- a/mobile/src/session/native-chat/composer/use-mobile-native-chat-offline-sends.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-offline-sends.ts @@ -1,8 +1,8 @@ import { useCallback, useEffect, useLayoutEffect, useRef, useState } from 'react' import { appendReturnedDraftText } from '../../../../../src/shared/returned-draft-text' -import type { MobileNativeChatSendIntent } from '../mobile-native-chat-send' +import type { MobileNativeChatSendIntent } from './mobile-native-chat-send' import type { MobileNativeChatInputLockReason } from '../MobileNativeChatView' -import { useSettledMobileNativeChatInputLock } from '../use-mobile-native-chat-input-lease' +import { useSettledMobileNativeChatInputLock } from './use-mobile-native-chat-input-lease' import { mobileNativeChatDraftDestination, readMobileNativeChatDraftInputs, diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-send-error.test.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-send-error.test.ts new file mode 100644 index 00000000000..77871ebd73d --- /dev/null +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-send-error.test.ts @@ -0,0 +1,143 @@ +import { createElement } from 'react' +import { act, create, type ReactTestRenderer } from 'react-test-renderer' +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import { + useMobileNativeChatSendError, + type MobileNativeChatCommandRefusalCauses +} from './use-mobile-native-chat-send-error' + +type HookApi = ReturnType + +describe('useMobileNativeChatSendError', () => { + let renderer: ReactTestRenderer | null = null + const apiRef = { current: null as HookApi | null } + + const showToast = vi.fn() + + function Harness({ + scopeKey, + bannerMounted = true, + causes = null + }: { + scopeKey: string | null + bannerMounted?: boolean + causes?: MobileNativeChatCommandRefusalCauses | null + }): null { + const api = useMobileNativeChatSendError({ scopeKey, showToast }) + api.bannerMountedRef.current = bannerMounted + api.keepWhile(causes) + apiRef.current = api + return null + } + + function api(): HookApi { + if (!apiRef.current) { + throw new Error('Harness was not rendered') + } + return apiRef.current + } + + async function render(scopeKey: string | null = 'terminal-1'): Promise { + await act(async () => { + renderer = create(createElement(Harness, { scopeKey })) + }) + } + + beforeEach(() => { + apiRef.current = null + showToast.mockClear() + vi.useFakeTimers() + }) + + afterEach(() => { + act(() => renderer?.unmount()) + renderer = null + vi.useRealTimers() + }) + + async function showing(causes: MobileNativeChatCommandRefusalCauses): Promise { + await act(async () => { + renderer?.update(createElement(Harness, { scopeKey: 'terminal-1', causes })) + }) + } + + it('a /clear refused while the agent works goes when the agent stops, and stays gone', async () => { + const line = "The agent is still working. Run /clear when it's done." + await render() + await showing({ working: true, prompt: false }) + await act(async () => api().show(line, { refusedWhile: 'working' })) + expect(api().message).toBe(line) + await showing({ working: true, prompt: false }) + expect(api().message).toBe(line) + + await showing({ working: false, prompt: false }) + expect(api().message).toBeNull() + await showing({ working: true, prompt: false }) + expect(api().message).toBeNull() + }) + + it('a failure naming nothing the phone shows, or background tasks it cannot see, stays', async () => { + await render() + await act(async () => api().show('Message not sent')) + await showing({ working: false, prompt: false }) + expect(api().message).toBe('Message not sent') + await act(async () => + api().show('Background tasks are still running.', { refusedWhile: 'background' }) + ) + await showing({ working: false, prompt: false }) + expect(api().message).toBe('Background tasks are still running.') + }) + + it('drops a held failure when the scope changes', async () => { + await render('terminal-1') + await act(async () => api().show('a')) + expect(api().message).toBe('a') + + await act(async () => { + renderer?.update(createElement(Harness, { scopeKey: 'terminal-2' })) + }) + expect(api().message).toBeNull() + await act(async () => { + renderer?.update(createElement(Harness, { scopeKey: 'terminal-1' })) + }) + expect(api().message).toBeNull() + }) + + it('toasts a deferred failure that resolves after the user switched tabs', async () => { + await render('terminal-1') + const showFromTabA = api().show + + await act(async () => { + renderer?.update(createElement(Harness, { scopeKey: 'terminal-2' })) + }) + await act(async () => showFromTabA('Message not sent')) + + expect(api().message).toBeNull() + expect(showToast).toHaveBeenCalledWith('Message not sent', 1600) + }) + + it('does not let a stale scope clear the banner the live scope is showing', async () => { + await render('terminal-1') + const clearFromTabA = api().clear + + await act(async () => { + renderer?.update(createElement(Harness, { scopeKey: 'terminal-2' })) + }) + await act(async () => api().show('b')) + await act(async () => clearFromTabA()) + + expect(api().message).toBe('b') + }) + + it('toasts a failure that resolves after the route unmounted', async () => { + await render() + const showWhileMounted = api().show + + act(() => renderer?.unmount()) + renderer = null + // Unmount must clear the render-written mounted ref so late failures can fall back to toast. + await act(async () => showWhileMounted('Delivery unconfirmed')) + + expect(showToast).toHaveBeenCalledWith('Delivery unconfirmed', 1600) + }) +}) diff --git a/mobile/src/session/native-chat/use-mobile-native-chat-send-error.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-send-error.ts similarity index 97% rename from mobile/src/session/native-chat/use-mobile-native-chat-send-error.ts rename to mobile/src/session/native-chat/composer/use-mobile-native-chat-send-error.ts index db9fc4dab94..fbc0b4ed6f0 100644 --- a/mobile/src/session/native-chat/use-mobile-native-chat-send-error.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-send-error.ts @@ -1,5 +1,5 @@ import { useCallback, useEffect, useRef, useState, type MutableRefObject } from 'react' -import type { StructuredAgentSessionCommandRefusalCause } from '../../../../src/shared/agent-session/view/structured-agent-session-composer' +import type { StructuredAgentSessionCommandRefusalCause } from '../../../../../src/shared/agent-session/view/structured-agent-session-composer' // Keep command-refusal causes only while the chat still shows the work that caused them. export type MobileNativeChatSendErrorDetails = { diff --git a/mobile/src/session/native-chat/use-mobile-native-chat-stop.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-stop.ts similarity index 88% rename from mobile/src/session/native-chat/use-mobile-native-chat-stop.ts rename to mobile/src/session/native-chat/composer/use-mobile-native-chat-stop.ts index 0adce2c38b9..b6411fd0036 100644 --- a/mobile/src/session/native-chat/use-mobile-native-chat-stop.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-stop.ts @@ -1,13 +1,13 @@ import { useCallback, useEffect, useRef, type MutableRefObject } from 'react' -import { translate } from '../../i18n/mobile-i18n' -import type { RpcClient } from '../../transport/rpc/rpc-client-contract' -import { isRpcDeliveryUnknown } from '../../transport/rpc/rpc-delivery-ambiguity' -import '../../transport/connection/stable-logical-rpc-client' -import { isLogicalClientCutoverError } from '../../transport/connection/logical-client-cutover-error' -import { nativeChatTerminalWrite } from '../../terminal/session/mobile-session-terminal-operations' +import { translate } from '../../../i18n/mobile-i18n' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import { isRpcDeliveryUnknown } from '../../../transport/rpc/rpc-delivery-ambiguity' +import '../../../transport/connection/stable-logical-rpc-client' +import { isLogicalClientCutoverError } from '../../../transport/connection/logical-client-cutover-error' +import { nativeChatTerminalWrite } from '../../../terminal/session/mobile-session-terminal-operations' import { openMobileNativeChatSendBudget } from './mobile-native-chat-send' -import { nativeChatStopSendsSecondEscape } from '../../../../src/shared/native-chat/native-chat-agent-support' -import { NATIVE_CHAT_QUESTION_STEP_MS } from '../../../../src/shared/native-chat/input/native-chat-answer-stepping' +import { nativeChatStopSendsSecondEscape } from '../../../../../src/shared/native-chat/native-chat-agent-support' +import { NATIVE_CHAT_QUESTION_STEP_MS } from '../../../../../src/shared/native-chat/input/native-chat-answer-stepping' // Resolves false only when no Escape could have landed, so the chat may offer Stop again. export function useMobileNativeChatStop(args: { diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-structured-composer.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-structured-composer.ts index a0a7b6efb54..80d1e453980 100644 --- a/mobile/src/session/native-chat/composer/use-mobile-native-chat-structured-composer.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-structured-composer.ts @@ -1,9 +1,9 @@ import { useMemo } from 'react' import type { AgentSessionConversationCommand } from '../../../../../src/shared/agent-session/agent-session-conversation-command' -import type { MobileNativeChatStructuredComposer } from './MobileNativeChatComposer' +import type { MobileNativeChatStructuredComposer } from './mobile-native-chat-structured-composer' import type { MobileNativeChatFileAttachments } from './use-mobile-native-chat-file-attachments' -import type { useMobileStructuredSessionCommands } from '../../use-mobile-structured-session-commands' -import type { MobileStructuredThreadGoal } from '../../use-mobile-structured-thread-goal' +import type { useMobileStructuredSessionCommands } from './use-mobile-structured-session-commands' +import type { MobileStructuredThreadGoal } from '../input/use-mobile-structured-thread-goal' const NO_COMMANDS: readonly AgentSessionConversationCommand[] = [] diff --git a/mobile/src/session/native-chat/use-mobile-native-chat-unconfirmed-sends.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-unconfirmed-sends.ts similarity index 94% rename from mobile/src/session/native-chat/use-mobile-native-chat-unconfirmed-sends.ts rename to mobile/src/session/native-chat/composer/use-mobile-native-chat-unconfirmed-sends.ts index c62e77df380..1adf0877a0b 100644 --- a/mobile/src/session/native-chat/use-mobile-native-chat-unconfirmed-sends.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-unconfirmed-sends.ts @@ -1,19 +1,19 @@ // Lost acknowledgements may hide delivered sends: hold them quietly until the transcript confirms them, or hand them back at the deadline. Structured sends own a separate hold. import { useCallback, useEffect, useLayoutEffect, useRef, useState } from 'react' -import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' +import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' import { findLandedUnconfirmedSends, type UnconfirmedSend -} from './composer/mobile-native-chat-draft-reconcile' -import { returnMobileNativeChatInFlightSend } from './composer/mobile-native-chat-draft-store' +} from './mobile-native-chat-draft-reconcile' +import { returnMobileNativeChatInFlightSend } from './mobile-native-chat-draft-store' import { claimMobileNativeChatInFlightSends, releaseMobileNativeChatInFlightSends, settleMobileNativeChatInFlightSend, useMobileNativeChatSavedInFlightVersion -} from './composer/mobile-native-chat-in-flight-sends' -import type { MobileNativeChatSendOrigin } from './mobile-native-chat-pending-echo' +} from './mobile-native-chat-in-flight-sends' +import type { MobileNativeChatSendOrigin } from '../transcript/mobile-native-chat-pending-echo' import { createUnconfirmedSendDeadlines } from './unconfirmed-send-deadlines' export const UNCONFIRMED_SEND_MESSAGE = 'Delivery unconfirmed — check chat before retrying' diff --git a/mobile/src/session/native-chat/composer/use-mobile-native-chat-workspace-catalog.ts b/mobile/src/session/native-chat/composer/use-mobile-native-chat-workspace-catalog.ts index 75a0b920379..eb5c6b79b61 100644 --- a/mobile/src/session/native-chat/composer/use-mobile-native-chat-workspace-catalog.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-native-chat-workspace-catalog.ts @@ -1,5 +1,5 @@ import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' -import type { StructuredAgentSessionHostSupport } from '../../mobile-structured-agent-session-host-support' +import type { StructuredAgentSessionHostSupport } from '../agent-session/mobile-structured-agent-session-host-support' import { useMobileNativeChatFileSearch } from './use-mobile-native-chat-file-search' import { useMobileNativeChatSkills } from './use-mobile-native-chat-skills' diff --git a/mobile/src/session/use-mobile-structured-command-controller.ts b/mobile/src/session/native-chat/composer/use-mobile-structured-command-controller.ts similarity index 88% rename from mobile/src/session/use-mobile-structured-command-controller.ts rename to mobile/src/session/native-chat/composer/use-mobile-structured-command-controller.ts index d86f4cdb9f7..2bc205eb14e 100644 --- a/mobile/src/session/use-mobile-structured-command-controller.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-structured-command-controller.ts @@ -1,5 +1,5 @@ import { useMemo } from 'react' -import type { useMobileStructuredAgentOptions } from './use-mobile-structured-agent-options' +import type { useMobileStructuredAgentOptions } from '../input/use-mobile-structured-agent-options' type MobileStructuredAgentOptions = ReturnType diff --git a/mobile/src/session/native-chat/composer/use-mobile-structured-context-usage.ts b/mobile/src/session/native-chat/composer/use-mobile-structured-context-usage.ts new file mode 100644 index 00000000000..1c69e420732 --- /dev/null +++ b/mobile/src/session/native-chat/composer/use-mobile-structured-context-usage.ts @@ -0,0 +1,20 @@ +import { useMemo } from 'react' +import type { AgentJournalRenderItem } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' +import type { AgentSessionOptionsResult } from '../../../../../src/shared/agent-session/options/agent-session-options-result' +import { selectStructuredAgentSessionContextUsage } from '../../../../../src/shared/agent-session/structured-agent-session-context-usage' +import { + summarizeContextUsage, + type NativeChatContextUsageSummary +} from '../../../../../src/shared/native-chat/native-chat-context-usage-summary' + +/** The composer ring's readout, from desktop's rule; an older host's missing answer leaves the loaded window's facts. */ +export function useMobileStructuredContextUsage( + journalItems: readonly AgentJournalRenderItem[], + support: AgentSessionOptionsResult['contextUsage'], + journalEpoch: string | null +): NativeChatContextUsageSummary | null { + return useMemo(() => { + const usage = selectStructuredAgentSessionContextUsage(journalItems, support, journalEpoch) + return usage ? summarizeContextUsage(usage) : null + }, [journalItems, support, journalEpoch]) +} diff --git a/mobile/src/session/use-mobile-structured-interrupted-continue.ts b/mobile/src/session/native-chat/composer/use-mobile-structured-interrupted-continue.ts similarity index 82% rename from mobile/src/session/use-mobile-structured-interrupted-continue.ts rename to mobile/src/session/native-chat/composer/use-mobile-structured-interrupted-continue.ts index 4b0e38729ce..315272016b2 100644 --- a/mobile/src/session/use-mobile-structured-interrupted-continue.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-structured-interrupted-continue.ts @@ -2,20 +2,20 @@ import { useCallback, useMemo, useState } from 'react' import type { AgentJournalRenderItem, AgentJournalSubmission -} from '../../../src/shared/agent-session/journal/agent-session-journal-types' -import { latestNativeChatOrcaStopCut } from '../../../src/shared/native-chat/native-chat-orca-stop-cut' +} from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' +import { latestNativeChatOrcaStopCut } from '../../../../../src/shared/native-chat/native-chat-orca-stop-cut' import { failNativeChatInterruptedContinue, nativeChatInterruptedContinueState, NO_NATIVE_CHAT_INTERRUPTED_CONTINUE_ATTEMPT, nativeChatInterruptedContinueAccepted, type NativeChatInterruptedContinueAttempt -} from '../../../src/shared/native-chat/native-chat-interrupted-continue' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import { callAgentSession } from './mobile-structured-agent-session-rpc' -import { useRouteRelaysCapability } from '../worktree/workspace-server-context' -import { AGENT_SESSION_PHONE_CONTINUE_INTERRUPTED_RUNTIME_CAPABILITY } from '../../../src/shared/agent-session/agent-session-continue-interrupted-capability' -import type { StructuredAgentSessionHostSupport } from './mobile-structured-agent-session-host-support' +} from '../../../../../src/shared/native-chat/native-chat-interrupted-continue' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import { callAgentSession } from '../agent-session/mobile-structured-agent-session-rpc' +import { useRouteRelaysCapability } from '../../../worktree/workspace-server-context' +import { AGENT_SESSION_PHONE_CONTINUE_INTERRUPTED_RUNTIME_CAPABILITY } from '../../../../../src/shared/agent-session/agent-session-continue-interrupted-capability' +import type { StructuredAgentSessionHostSupport } from '../agent-session/mobile-structured-agent-session-host-support' export type MobileStructuredInterruptedContinue = { continueAvailable: boolean diff --git a/mobile/src/session/use-mobile-structured-native-chat-send-bridge.ts b/mobile/src/session/native-chat/composer/use-mobile-structured-native-chat-send-bridge.ts similarity index 85% rename from mobile/src/session/use-mobile-structured-native-chat-send-bridge.ts rename to mobile/src/session/native-chat/composer/use-mobile-structured-native-chat-send-bridge.ts index 255bb98d849..c1fde649e55 100644 --- a/mobile/src/session/use-mobile-structured-native-chat-send-bridge.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-structured-native-chat-send-bridge.ts @@ -1,26 +1,26 @@ import { useCallback } from 'react' -import type { AgentSessionSlashCommand } from '../../../src/shared/agent-session/agent-session-wire' -import type { StructuredAgentId } from '../../../src/shared/agent-session/lifecycle/agent-session-provider-handle' +import type { AgentSessionSlashCommand } from '../../../../../src/shared/agent-session/agent-session-wire' +import type { StructuredAgentId } from '../../../../../src/shared/agent-session/lifecycle/agent-session-provider-handle' import type { MobileNativeChatSendIntent, MobileNativeChatSendOutcome -} from './native-chat/mobile-native-chat-send' -import type { MobileNativeChatSendOrigin } from './native-chat/mobile-native-chat-pending-echo' +} from './mobile-native-chat-send' +import type { MobileNativeChatSendOrigin } from '../transcript/mobile-native-chat-pending-echo' import type { StructuredMobileSendAttachment } from './use-mobile-structured-send-with-outcome' -import type { AgentJournalSkillRef } from '../../../src/shared/agent-session/journal/agent-session-journal-types' +import type { AgentJournalSkillRef } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' import { readMobileNativeChatPickedSkills, restoreMobileNativeChatPickedSkills -} from './native-chat/composer/mobile-native-chat-draft-store' +} from './mobile-native-chat-draft-store' import { beginMobileNativeChatInFlightSend, settleMobileNativeChatInFlightSend -} from './native-chat/composer/mobile-native-chat-in-flight-sends' +} from './mobile-native-chat-in-flight-sends' import type { MobileStructuredSends } from './use-mobile-structured-sends' -import { structuredSessionOperationId } from './structured-session-operation-id' -import { isSlashCommandDraft } from '../../../src/shared/native-chat/input/native-chat-slash-commands' -import { UNCONFIRMED_SEND_RESTORED_MESSAGE } from './native-chat/use-mobile-native-chat-unconfirmed-sends' +import { structuredSessionOperationId } from '../agent-session/structured-session-operation-id' +import { isSlashCommandDraft } from '../../../../../src/shared/native-chat/input/native-chat-slash-commands' +import { UNCONFIRMED_SEND_RESTORED_MESSAGE } from './use-mobile-native-chat-unconfirmed-sends' export function useMobileStructuredNativeChatSendBridge(args: { agent: StructuredAgentId | undefined diff --git a/mobile/src/session/use-mobile-structured-send-with-outcome.ts b/mobile/src/session/native-chat/composer/use-mobile-structured-send-with-outcome.ts similarity index 80% rename from mobile/src/session/use-mobile-structured-send-with-outcome.ts rename to mobile/src/session/native-chat/composer/use-mobile-structured-send-with-outcome.ts index be4dd2ea649..5adf512760d 100644 --- a/mobile/src/session/use-mobile-structured-send-with-outcome.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-structured-send-with-outcome.ts @@ -1,46 +1,46 @@ -import { agentSessionInteractionCommand } from '../../../src/shared/agent-session/options/agent-session-interaction-mode' -import { selectAgentSessionCurrentRequests } from '../../../src/shared/agent-session/requests/agent-session-current-requests' +import { agentSessionInteractionCommand } from '../../../../../src/shared/agent-session/options/agent-session-interaction-mode' +import { selectAgentSessionCurrentRequests } from '../../../../../src/shared/agent-session/requests/agent-session-current-requests' import { useCallback } from 'react' -import { runningStructuredAgentSessionTurnId } from '../../../src/shared/agent-session/view/structured-agent-session-live-turn' -import { mobileStructuredAgentSessionWorking } from './mobile-structured-agent-session-working' -import { structuredSessionBackgroundTasksView } from '../../../src/shared/structured-session-background-tasks-view' -import { agentSessionVisibleFailureFacts } from '../../../src/shared/agent-session/failures/agent-session-visible-failures' -import { tuiAgentDisplayName } from '../../../src/shared/agent-launch/catalog/tui-agent-display-names' -import { pendingPromptsAllUnanswerableHere } from '../../../src/shared/agent-session/agent-session-approval-subject' +import { runningStructuredAgentSessionTurnId } from '../../../../../src/shared/agent-session/view/structured-agent-session-live-turn' +import { mobileStructuredAgentSessionWorking } from '../agent-session/mobile-structured-agent-session-working' +import { structuredSessionBackgroundTasksView } from '../../../../../src/shared/structured-session-background-tasks-view' +import { agentSessionVisibleFailureFacts } from '../../../../../src/shared/agent-session/failures/agent-session-visible-failures' +import { tuiAgentDisplayName } from '../../../../../src/shared/agent-launch/catalog/tui-agent-display-names' +import { pendingPromptsAllUnanswerableHere } from '../../../../../src/shared/agent-session/agent-session-approval-subject' import { SkillRefLimitError, structuredAgentSessionSendBody, type StructuredAgentSessionAttachment, type StructuredAgentSessionSendControl -} from '../../../src/shared/agent-session/requests/structured-agent-session-send-mutation' -import type { AgentJournalSkillRef } from '../../../src/shared/agent-session/journal/agent-session-journal-types' -import { MAX_SKILL_REFS } from '../../../src/shared/rpc-contract/structured-agent-session-message-params' +} from '../../../../../src/shared/agent-session/requests/structured-agent-session-send-mutation' +import type { AgentJournalSkillRef } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' +import { MAX_SKILL_REFS } from '../../../../../src/shared/rpc-contract/structured-agent-session-message-params' import { structuredAgentSessionGoalObjective, type StructuredAgentSessionComposerOptions -} from '../../../src/shared/agent-session/view/structured-agent-session-composer' -import { translate } from '../i18n/mobile-i18n' -import type { AgentSessionSlashCommand } from '../../../src/shared/agent-session/agent-session-wire' -import type { StructuredAgentSessionState } from '../../../src/shared/agent-session/structured-agent-session-reducer' +} from '../../../../../src/shared/agent-session/view/structured-agent-session-composer' +import { translate } from '../../../i18n/mobile-i18n' +import type { AgentSessionSlashCommand } from '../../../../../src/shared/agent-session/agent-session-wire' +import type { StructuredAgentSessionState } from '../../../../../src/shared/agent-session/structured-agent-session-reducer' import { mobileStructuredSendQueues } from './mobile-structured-send-queue-rule' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import type { MobileNativeChatSendIntent, MobileNativeChatSendOutcome -} from './native-chat/mobile-native-chat-send' +} from './mobile-native-chat-send' import { dispatchMobileStructuredCommand } from './mobile-structured-composer-command' -import type { MobileNativeChatSendErrorReporter } from './native-chat/use-mobile-native-chat-send-error' -import { sendMobileStructuredAgentSessionMessage } from './mobile-structured-agent-session-send' +import type { MobileNativeChatSendErrorReporter } from './use-mobile-native-chat-send-error' +import { sendMobileStructuredAgentSessionMessage } from '../agent-session/mobile-structured-agent-session-send' import type { MobileStructuredSends } from './use-mobile-structured-sends' import type { MobileStructuredSendsOut } from './use-mobile-structured-stop-offer' -import { structuredSessionOperationId } from './structured-session-operation-id' -import { UNCONFIRMED_SEND_MESSAGE } from './native-chat/use-mobile-native-chat-unconfirmed-sends' -import { timeoutForDeadline } from './mobile-structured-agent-session-rpc' -import { nativeChatTextWithFileReferences } from './native-chat/composer/mobile-native-chat-file-attachment' +import { structuredSessionOperationId } from '../agent-session/structured-session-operation-id' +import { UNCONFIRMED_SEND_MESSAGE } from './use-mobile-native-chat-unconfirmed-sends' +import { timeoutForDeadline } from '../agent-session/mobile-structured-agent-session-rpc' +import { nativeChatTextWithFileReferences } from './mobile-native-chat-file-attachment' import { actionableStructuredApproval, actionableStructuredQuestion -} from './mobile-structured-actionable-prompt' +} from '../input/mobile-structured-actionable-prompt' export type StructuredMobileSendAttachment = | (StructuredAgentSessionAttachment & { kind?: 'image'; id?: string }) diff --git a/mobile/src/session/use-mobile-structured-sends.ts b/mobile/src/session/native-chat/composer/use-mobile-structured-sends.ts similarity index 89% rename from mobile/src/session/use-mobile-structured-sends.ts rename to mobile/src/session/native-chat/composer/use-mobile-structured-sends.ts index 670fc66e312..8764a9b0e3a 100644 --- a/mobile/src/session/use-mobile-structured-sends.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-structured-sends.ts @@ -1,21 +1,21 @@ import { useCallback, useEffect, useLayoutEffect, useRef, useState } from 'react' -import type { AgentJournalCursor } from '../../../src/shared/agent-session/journal/agent-session-journal-identity' -import type { AgentJournalSubmission } from '../../../src/shared/agent-session/journal/agent-session-journal-types' -import { agentJournalSubmissionKey } from '../../../src/shared/agent-session/journal/agent-session-journal-item-key' -import type { StructuredAgentSessionOptimisticMessage } from '../../../src/shared/agent-session/view/structured-agent-session-message-projection' +import type { AgentJournalCursor } from '../../../../../src/shared/agent-session/journal/agent-session-journal-identity' +import type { AgentJournalSubmission } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' +import { agentJournalSubmissionKey } from '../../../../../src/shared/agent-session/journal/agent-session-journal-item-key' +import type { StructuredAgentSessionOptimisticMessage } from '../../../../../src/shared/agent-session/view/structured-agent-session-message-projection' import { structuredAgentSessionReadCoversSend, structuredAgentSessionSettledSends -} from '../../../src/shared/agent-session/requests/structured-agent-session-send-settlement' -import { mergeSentImagePreviews } from './native-chat/composer/mobile-native-chat-draft-reconcile' -import type { AgentSessionQueuedMessage } from '../../../src/shared/agent-session/requests/agent-session-queued-message-wire' -import type { MobileNativeChatSendErrorReporter } from './native-chat/use-mobile-native-chat-send-error' +} from '../../../../../src/shared/agent-session/requests/structured-agent-session-send-settlement' +import { mergeSentImagePreviews } from './mobile-native-chat-draft-reconcile' +import type { AgentSessionQueuedMessage } from '../../../../../src/shared/agent-session/requests/agent-session-queued-message-wire' +import type { MobileNativeChatSendErrorReporter } from './use-mobile-native-chat-send-error' import { UNCONFIRMED_SEND_MESSAGE, UNCONFIRMED_SEND_RESTORED_MESSAGE -} from './native-chat/use-mobile-native-chat-unconfirmed-sends' -import { createUnconfirmedSendDeadlines } from './native-chat/unconfirmed-send-deadlines' -import { returnMobileNativeChatInFlightSend } from './native-chat/composer/mobile-native-chat-draft-store' +} from './use-mobile-native-chat-unconfirmed-sends' +import { createUnconfirmedSendDeadlines } from './unconfirmed-send-deadlines' +import { returnMobileNativeChatInFlightSend } from './mobile-native-chat-draft-store' import { claimMobileNativeChatInFlightSends, mobileNativeChatInFlightSendIds, @@ -23,7 +23,7 @@ import { releaseMobileNativeChatInFlightSends, settleMobileNativeChatInFlightSend, useMobileNativeChatSavedInFlightVersion -} from './native-chat/composer/mobile-native-chat-in-flight-sends' +} from './mobile-native-chat-in-flight-sends' // Ordinary in-memory input outlives its request; exact host IDs retire it, and a lost reply hands it back at the deadline. type MobileStructuredSend = StructuredAgentSessionOptimisticMessage diff --git a/mobile/src/session/use-mobile-structured-session-commands.ts b/mobile/src/session/native-chat/composer/use-mobile-structured-session-commands.ts similarity index 89% rename from mobile/src/session/use-mobile-structured-session-commands.ts rename to mobile/src/session/native-chat/composer/use-mobile-structured-session-commands.ts index 3c5b002a17e..a86b674b3d7 100644 --- a/mobile/src/session/use-mobile-structured-session-commands.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-structured-session-commands.ts @@ -1,14 +1,14 @@ -import { startAgentSessionCommandMenuQuery } from '../../../src/shared/agent-session/agent-session-command-menu-query' +import { startAgentSessionCommandMenuQuery } from '../../../../../src/shared/agent-session/agent-session-command-menu-query' import { useCallback, useEffect, useMemo, useRef, useState } from 'react' import { useQueryClient } from '@tanstack/react-query' import * as z from 'zod' -import type { AgentSessionSlashCommand } from '../../../src/shared/agent-session/agent-session-wire' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc/rpc-operation' -import { rpcResultVariant } from '../transport/rpc/rpc-operation-result-reader' -import { defineHostQuery, useHostQuery } from '../query/host-query' -import { hostQueryKey } from '../query/host-query-key' -import { useWorkspaceExecutionHost } from '../navigation/workspace-execution-host' +import type { AgentSessionSlashCommand } from '../../../../../src/shared/agent-session/agent-session-wire' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import { bindDeferredRpcOperation, defineRpcOperation } from '../../../transport/rpc/rpc-operation' +import { rpcResultVariant } from '../../../transport/rpc/rpc-operation-result-reader' +import { defineHostQuery, useHostQuery } from '../../../query/host-query' +import { hostQueryKey } from '../../../query/host-query-key' +import { useWorkspaceExecutionHost } from '../../../navigation/workspace-execution-host' type Reported = { client: RpcClient diff --git a/mobile/src/session/use-mobile-structured-stop-offer.ts b/mobile/src/session/native-chat/composer/use-mobile-structured-stop-offer.ts similarity index 94% rename from mobile/src/session/use-mobile-structured-stop-offer.ts rename to mobile/src/session/native-chat/composer/use-mobile-structured-stop-offer.ts index bc0f6261b86..d13e4e32cfe 100644 --- a/mobile/src/session/use-mobile-structured-stop-offer.ts +++ b/mobile/src/session/native-chat/composer/use-mobile-structured-stop-offer.ts @@ -1,5 +1,5 @@ import { useCallback, useMemo, useRef, useState } from 'react' -import { structuredAgentSessionCanStop } from '../../../src/shared/agent-session/view/structured-agent-session-stop-control' +import { structuredAgentSessionCanStop } from '../../../../../src/shared/agent-session/view/structured-agent-session-stop-control' type Send = (...args: Args) => Promise diff --git a/mobile/src/session/use-mobile-structured-stop-press.ts b/mobile/src/session/native-chat/composer/use-mobile-structured-stop-press.ts similarity index 100% rename from mobile/src/session/use-mobile-structured-stop-press.ts rename to mobile/src/session/native-chat/composer/use-mobile-structured-stop-press.ts diff --git a/mobile/src/session/native-chat/input/MobileNativeChatAsk.previews.test.tsx b/mobile/src/session/native-chat/input/MobileNativeChatAsk.previews.test.tsx new file mode 100644 index 00000000000..3f85ed4ed44 --- /dev/null +++ b/mobile/src/session/native-chat/input/MobileNativeChatAsk.previews.test.tsx @@ -0,0 +1,131 @@ +import { createElement, type ReactNode } from 'react' +import { act, create, type ReactTestInstance, type ReactTestRenderer } from 'react-test-renderer' +import { afterEach, expect, it, vi, type Mock } from 'vitest' +import type { AskPrompt } from '../../../../../src/shared/native-chat/input/native-chat-ask-types' +import { MobileNativeChatAsk } from './MobileNativeChatAsk' + +vi.mock('react-native', () => ({ + Keyboard: { dismiss: vi.fn() }, + Platform: { select: (options: { ios: unknown }) => options.ios }, + Pressable: 'Pressable', + ScrollView: 'ScrollView', + Text: 'Text', + View: 'View', + StyleSheet: { create: (styles: unknown) => styles, hairlineWidth: 1 } +})) +vi.mock('lucide-react-native', () => ({ Check: 'Check' })) +vi.mock('../../../components/composer-input/MessageBox', () => ({ MessageBox: 'MessageBox' })) +vi.mock('../transcript/MobileNativeChatQuestionText', () => ({ + MobileNativeChatQuestionText: 'QuestionText' +})) +vi.mock('./MobileNativeChatCardHeaderAction', () => ({ + MobileNativeChatCardHeaderAction: () => null +})) +vi.mock('../../../components/bottom-drawer/keyed-bottom-drawer', () => ({ + KeyedBottomDrawer: ({ + sheet, + children + }: { + sheet: number | null + children: (index: number) => ReactNode + }) => (sheet === null ? null : children(sheet)) +})) +vi.mock('../../../components/nav-bar/SheetHeader', () => ({ + SheetHeader: ({ onClose }: { onClose: () => void }) => + createElement('button', { accessibilityLabel: 'Close viewer', onPress: onClose }) +})) + +let renderer: ReactTestRenderer +const compactedPreview = `${'| panes |'.repeat(450)}…` +function prompt(multiSelect = false): AskPrompt { + return { + questions: [ + { + question: 'Which layout?', + header: 'Layout', + multiSelect, + options: [ + { label: 'First', preview: 'A\t|\n𠀀\t|' }, + { label: 'No preview' }, + { label: 'Last', preview: compactedPreview } + ] + } + ] + } +} +function buttons(): ReactTestInstance[] { + return renderer.root.findAll( + (node) => String(node.type) === 'Pressable' || String(node.type) === 'button' + ) +} +function button(label: string): ReactTestInstance { + return buttons().find((node) => node.props.accessibilityLabel === label)! +} +function row(index: number): ReactTestInstance { + return buttons().filter((node) => ['radio', 'checkbox'].includes(node.props.accessibilityRole))[ + index + ]! +} +function textAction(label: string): ReactTestInstance { + return buttons().find((node) => + node + .findAll((child) => String(child.type) === 'Text') + .some((text) => text.children.includes(label)) + )! +} +function press(node: ReactTestInstance): void { + act(() => node.props.onPress()) +} +type Answer = Parameters[0]['onAnswer'] +function mount(value: AskPrompt): Mock { + const onAnswer = vi.fn(async () => true) + act(() => { + renderer = create(createElement(MobileNativeChatAsk, { prompt: value, onAnswer })) + }) + return onAnswer +} + +afterEach(() => { + act(() => renderer?.unmount()) + vi.useRealTimers() +}) + +it('inspects every preview without choosing, and keeps the original option when choosing and submitting', async () => { + vi.useFakeTimers() + const onAnswer = mount(prompt()) + expect(button('First preview')).toBeDefined() + expect(button('Last preview')).toBeDefined() + expect(row(2).props.accessibilityState.checked).toBe(false) + press(button('First preview')) + expect(renderer.root.findByProps({ selectable: true }).props.children).toBe('A\t|\n𠀀\t|') + // Paging crosses the option with no preview; inspection does not change the answer. + press( + buttons().find( + (node) => node.props.accessibilityLabel === 'Last preview' && node.props.accessibilityState + )! + ) + expect( + renderer.root + .findAll((node) => String(node.type) === 'Text') + .some((node) => node.children.includes(compactedPreview)) + ).toBe(true) + press(button('Close viewer')) + act(() => { + vi.runAllTimers() + }) + expect(onAnswer).not.toHaveBeenCalled() + expect(row(2).props.accessibilityState.checked).toBe(false) + press(button('Last preview')) + press(button('Choose this')) + act(() => { + vi.runAllTimers() + }) + expect(row(2).props.accessibilityState.checked).toBe(true) + expect(onAnswer).not.toHaveBeenCalled() + press(button('Last preview')) + press(button('Chosen')) + press(row(2)) + expect(row(2).props.accessibilityState.checked).toBe(true) + await act(async () => textAction('Submit').props.onPress()) + expect(onAnswer).toHaveBeenCalledWith([{ indices: [2] }], expect.any(Function)) +}) diff --git a/mobile/src/session/native-chat/input/MobileNativeChatAsk.styles.ts b/mobile/src/session/native-chat/input/MobileNativeChatAsk.styles.ts new file mode 100644 index 00000000000..cc895c5404f --- /dev/null +++ b/mobile/src/session/native-chat/input/MobileNativeChatAsk.styles.ts @@ -0,0 +1,95 @@ +import { StyleSheet } from 'react-native' +import { colors, radii, spacing, typography } from '../../../theme/mobile-theme' +import { themedStyleSheet } from '../../../theme/themed-styles' + +export const mobileNativeChatAskStyles = themedStyleSheet(() => ({ + card: { + flexShrink: 1, + minHeight: 0, + backgroundColor: colors.bgPanel, + borderTopWidth: StyleSheet.hairlineWidth, + borderTopColor: colors.borderSubtle + }, + tabs: { + flexGrow: 0, + paddingTop: spacing.sm, + borderBottomWidth: StyleSheet.hairlineWidth, + borderBottomColor: colors.borderSubtle + }, + tabsContent: { + paddingHorizontal: spacing.sm, + gap: spacing.xs, + alignItems: 'center' + }, + tab: { + flexDirection: 'row', + alignItems: 'center', + gap: 4, + minHeight: 36, + paddingHorizontal: spacing.sm, + paddingVertical: spacing.xs, + borderBottomWidth: 2, + borderBottomColor: 'transparent' + }, + tabActive: { + borderBottomColor: colors.statusGreen + }, + tabText: { + color: colors.textSecondary, + fontSize: typography.metaSize, + fontWeight: '600' + }, + tabTextActive: { + color: colors.textPrimary + }, + scroll: { + paddingHorizontal: spacing.md + }, + questionRow: { flexDirection: 'row', alignItems: 'flex-start', gap: spacing.sm }, + questionText: { + flex: 1, + marginVertical: spacing.sm + }, + other: { + marginBottom: spacing.xs + }, + footer: { + flexDirection: 'row', + alignItems: 'center', + justifyContent: 'space-between', + padding: spacing.md, + gap: spacing.sm, + borderTopWidth: StyleSheet.hairlineWidth, + borderTopColor: colors.borderSubtle + }, + cancel: { + paddingVertical: spacing.sm, + paddingHorizontal: spacing.sm + }, + cancelText: { + color: colors.textSecondary, + fontSize: typography.bodySize, + fontWeight: '600' + }, + progress: { + color: colors.textMuted, + fontSize: typography.metaSize + }, + next: { + paddingVertical: spacing.sm, + paddingHorizontal: spacing.lg, + borderRadius: radii.control, + backgroundColor: colors.textPrimary + }, + nextSkip: { + backgroundColor: colors.bgRaised + }, + nextText: { + color: colors.bgBase, + fontSize: typography.bodySize, + fontWeight: '700' + }, + nextSkipText: { + color: colors.textMuted + } +})) diff --git a/mobile/src/session/native-chat/input/MobileNativeChatAsk.tsx b/mobile/src/session/native-chat/input/MobileNativeChatAsk.tsx index 2ad2426c74b..3ec989ff1ee 100644 --- a/mobile/src/session/native-chat/input/MobileNativeChatAsk.tsx +++ b/mobile/src/session/native-chat/input/MobileNativeChatAsk.tsx @@ -1,5 +1,5 @@ import { useMemo, useRef, useState } from 'react' -import { Pressable, ScrollView, StyleSheet, Text, View } from 'react-native' +import { Keyboard, Pressable, ScrollView, Text, View } from 'react-native' import { Check } from 'lucide-react-native' import { nativeChatAnswerOperationEvidence, @@ -17,16 +17,17 @@ import { askTypedText, toggleAskOption } from '../../../../../src/shared/native-chat/input/native-chat-ask-card-rules' -import { colors, radii, spacing, typography, pressedStyle } from '../../../theme/mobile-theme' -import { themedStyleSheet } from '../../../theme/themed-styles' +import { colors, pressedStyle } from '../../../theme/mobile-theme' import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' import type { Translate } from '../../../i18n/mobile-i18n' import { useMobileTranslation } from '../../../i18n/use-mobile-translation' import { MessageBox } from '../../../components/composer-input/MessageBox' -import { MobileNativeChatCardHeaderAction } from '../MobileNativeChatCardHeaderAction' -import { MobileNativeChatQuestionText } from '../MobileNativeChatQuestionText' +import { MobileNativeChatCardHeaderAction } from './MobileNativeChatCardHeaderAction' +import { MobileNativeChatQuestionText } from '../transcript/MobileNativeChatQuestionText' import { useMobileNativeChatAskAutoAdvance } from './use-mobile-native-chat-ask-auto-advance' import { MobileNativeChatAskOptionRow } from './MobileNativeChatAskOptionRow' +import { MobileNativeChatOptionPreviewSheet } from './MobileNativeChatOptionPreviewSheet' +import { mobileNativeChatAskStyles as styles } from './MobileNativeChatAsk.styles' import { useMobileNativeChatReplyScroll } from './use-mobile-native-chat-reply-scroll' type Props = { @@ -66,9 +67,9 @@ export function MobileNativeChatAsk({ }: Props): React.JSX.Element { useMobileColorScheme() const t = useMobileTranslation() - const { scrollRef, inputRef, revealReply, scrollViewProps, revealContent } = - useMobileNativeChatReplyScroll() + const { scrollRef, inputRef, revealReply, onViewportLayout } = useMobileNativeChatReplyScroll() const [index, setIndex] = useState(0) + const [viewedOption, setViewedOption] = useState(null) const [selections, setSelections] = useState(() => prompt.questions.map(() => [])) const [otherText, setOtherText] = useState(() => prompt.questions.map((_, qi) => freeTextInputs?.[qi]?.initialValue ?? '') @@ -93,6 +94,7 @@ export function MobileNativeChatAsk({ const autoAdvance = useMobileNativeChatAskAutoAdvance(submitting) // Open each step at its question and end the last step's edit, so no typing lands out of view. const showStep = (next: (current: number) => number): void => { + setViewedOption(null) inputRef.current?.blur() scrollRef.current?.scrollTo({ y: 0, animated: false }) setIndex(next) @@ -105,17 +107,17 @@ export function MobileNativeChatAsk({ askAcceptsEmptyAnswer(prompt.questions[qi], freeTextInputs?.[qi]) // Delay single-select advance to show the choice; Other still needs text. - const toggle = (qi: number, optIndex: number, multi: boolean): void => { + const toggle = (qi: number, optIndex: number, multi: boolean, choosing = false): void => { // Block same-frame taps before disabled state renders. if (isLocalPending(operationRef.current) || answerPending) { return } const cur = selections[qi] ?? [] - // A pick reveals its preview, so a re-tap keeps it and the user confirms. + // Preview choices wait for Submit so inspecting alternatives never commits an answer. const keep = optIndex !== OTHER && askQuestionShowsPreviews(prompt.questions[qi]) const picked = !cur.includes(optIndex) const next = selections.map((s, i) => - i === qi ? toggleAskOption(cur, optIndex, multi, keep) : s + i === qi ? toggleAskOption(cur, optIndex, multi, keep || choosing) : s ) setSelections(next) autoAdvance.cancel() @@ -252,7 +254,12 @@ export function MobileNativeChatAsk({ ) : null} - + { + autoAdvance.cancel() + inputRef.current?.blur() + Keyboard.dismiss() + setViewedOption(optIndex) + }} selected={(selections[index] ?? []).includes(optIndex)} multi={q.multiSelect} disabled={submitting} @@ -333,98 +345,18 @@ export function MobileNativeChatAsk({
+ setViewedOption(null)} + onChoose={(optionIndex) => { + setViewedOption(null) + toggle(index, optionIndex, q.multiSelect, true) + }} + />
) } - -const styles = themedStyleSheet(() => ({ - card: { - flexShrink: 1, - minHeight: 0, - backgroundColor: colors.bgPanel, - borderTopWidth: StyleSheet.hairlineWidth, - borderTopColor: colors.borderSubtle - }, - tabs: { - flexGrow: 0, - paddingTop: spacing.sm, - borderBottomWidth: StyleSheet.hairlineWidth, - borderBottomColor: colors.borderSubtle - }, - tabsContent: { - paddingHorizontal: spacing.sm, - gap: spacing.xs, - alignItems: 'center' - }, - tab: { - flexDirection: 'row', - alignItems: 'center', - gap: 4, - minHeight: 36, - paddingHorizontal: spacing.sm, - paddingVertical: spacing.xs, - borderBottomWidth: 2, - borderBottomColor: 'transparent' - }, - tabActive: { - borderBottomColor: colors.statusGreen - }, - tabText: { - color: colors.textSecondary, - fontSize: typography.metaSize, - fontWeight: '600' - }, - tabTextActive: { - color: colors.textPrimary - }, - scroll: { - paddingHorizontal: spacing.md - }, - questionRow: { flexDirection: 'row', alignItems: 'flex-start', gap: spacing.sm }, - questionText: { - flex: 1, - marginVertical: spacing.sm - }, - other: { - marginBottom: spacing.xs - }, - footer: { - flexDirection: 'row', - alignItems: 'center', - justifyContent: 'space-between', - padding: spacing.md, - gap: spacing.sm, - borderTopWidth: StyleSheet.hairlineWidth, - borderTopColor: colors.borderSubtle - }, - cancel: { - paddingVertical: spacing.sm, - paddingHorizontal: spacing.sm - }, - cancelText: { - color: colors.textSecondary, - fontSize: typography.bodySize, - fontWeight: '600' - }, - progress: { - color: colors.textMuted, - fontSize: typography.metaSize - }, - next: { - paddingVertical: spacing.sm, - paddingHorizontal: spacing.lg, - borderRadius: radii.control, - backgroundColor: colors.textPrimary - }, - nextSkip: { - backgroundColor: colors.bgRaised - }, - nextText: { - color: colors.bgBase, - fontSize: typography.bodySize, - fontWeight: '700' - }, - nextSkipText: { - color: colors.textMuted - } -})) diff --git a/mobile/src/session/native-chat/input/MobileNativeChatAskOptionRow.tsx b/mobile/src/session/native-chat/input/MobileNativeChatAskOptionRow.tsx index 4a57a60103c..8734fd41ce0 100644 --- a/mobile/src/session/native-chat/input/MobileNativeChatAskOptionRow.tsx +++ b/mobile/src/session/native-chat/input/MobileNativeChatAskOptionRow.tsx @@ -1,5 +1,6 @@ -import { Pressable, ScrollView, Text, View, type LayoutChangeEvent } from 'react-native' +import { Pressable, Text, View } from 'react-native' import { Check } from 'lucide-react-native' +import { MobileNativeChatOptionThumbnail } from './MobileNativeChatOptionThumbnail' import { colors, concentricRadius, @@ -15,7 +16,7 @@ export function MobileNativeChatAskOptionRow({ label, description, preview, - onPreviewLayout, + onPreview, selected, multi, disabled, @@ -23,16 +24,16 @@ export function MobileNativeChatAskOptionRow({ }: { label: string description?: string - /** Shown under the row while it is selected, as the agent wrote it. */ + /** Read-only inspection is separate from choosing the option. */ preview?: string - /** The preview's edges in the card's scroll content; the row renders as its direct children. */ - onPreviewLayout?: (top: number, bottom: number) => void + onPreview?: () => void selected: boolean multi?: boolean disabled: boolean onPress: () => void }): React.JSX.Element { useMobileColorScheme() + const hasPreview = Boolean(preview && onPreview) const row = ( [ styles.option, selected && styles.optionSelected, + hasPreview && styles.optionWithPreview, pressed && pressedStyle ]} disabled={disabled} @@ -65,29 +67,15 @@ export function MobileNativeChatAskOptionRow({
) - // One root shape whether or not the preview shows, so selecting never remounts the row. - return ( - <> + return hasPreview ? ( + {row} - {preview && selected ? ( - { - const { y, height } = event.nativeEvent.layout - onPreviewLayout?.(y, y + height) - }} - > - - {/* Mockups are drawn in columns, so they scroll sideways instead of wrapping at phone width. */} - - - {preview} - - - - - ) : null} - + + + + + ) : ( + row ) } @@ -137,18 +125,17 @@ const styles = themedStyleSheet(() => ({ color: colors.textSecondary, fontSize: typography.metaSize }, - preview: { - backgroundColor: colors.bgPanel, + optionCard: { borderWidth: 1, borderColor: colors.borderSubtle, borderRadius: concentricRadius(radii.surface, spacing.xs), - padding: spacing.sm, - marginBottom: spacing.xs, - maxHeight: 220 + backgroundColor: colors.bgRaised, + marginBottom: spacing.xs }, - previewText: { - color: colors.textPrimary, - fontFamily: typography.monoFamily, - fontSize: typography.metaSize + optionWithPreview: { borderWidth: 0, marginBottom: 0 }, + previewInset: { + marginLeft: 18 + spacing.sm * 2, + marginRight: spacing.sm, + marginBottom: spacing.sm } })) diff --git a/mobile/src/session/native-chat/input/MobileNativeChatBackgroundTasks.test.tsx b/mobile/src/session/native-chat/input/MobileNativeChatBackgroundTasks.test.tsx index 8e39cddc41d..55bd4868066 100644 --- a/mobile/src/session/native-chat/input/MobileNativeChatBackgroundTasks.test.tsx +++ b/mobile/src/session/native-chat/input/MobileNativeChatBackgroundTasks.test.tsx @@ -52,7 +52,6 @@ type Props = Parameters[0] type StopResult = Awaited> const REJECTED: StopResult = { status: 'rejected' } -const UNCONFIRMED: StopResult = { status: 'unknown' } const STOPPED: StopResult = { status: 'accepted', value: { cancelled: true }, sameFence: true } const NOTHING_STOPPED: StopResult = { status: 'accepted', @@ -98,20 +97,6 @@ describe('MobileNativeChatBackgroundTasks', () => { return mounted } - function styleOf(node: ReactTestInstance): Record { - const rendered: unknown = - typeof node.props.style === 'function' - ? node.props.style({ pressed: false }) - : node.props.style - const parts = Array.isArray(rendered) ? rendered : [rendered] - return Object.assign( - {}, - ...parts.filter( - (part): part is Record => typeof part === 'object' && part !== null - ) - ) - } - function header(mounted: ReactTestRenderer): ReactTestInstance { return mounted.root.findAll( (node) => @@ -132,31 +117,6 @@ describe('MobileNativeChatBackgroundTasks', () => { ) } - it('stops one row by its provider id and holds its button while the Stop is on its way', async () => { - let finish: (result: StopResult) => void = () => {} - const stop = vi.fn(() => new Promise((resolve) => (finish = resolve))) - const mounted = mount( - tasksFor( - { - state: 'monitoring', - supportsTaskStop: true, - children: [view('a'), view('b', { stoppable: false })] - }, - { stop } - ) - ) - expand(mounted) - const buttons = stopButtons(mounted) - expect(buttons.map((button) => button.props.accessibilityLabel)).toEqual(['Stop review a']) - act(() => buttons[0]!.props.onPress()) - act(() => buttons[0]!.props.onPress()) - expect(stop).toHaveBeenCalledTimes(1) - expect(stop).toHaveBeenCalledWith('task-a') - expect(stopButtons(mounted)[0]!.props.disabled).toBe(true) - await act(async () => finish(UNCONFIRMED)) - expect(stopButtons(mounted)[0]!.props.disabled).toBe(false) - }) - it('keeps a confirmed Stop held until its row leaves, and offers it again if the row comes back', async () => { let finish: (result: StopResult) => void = () => {} const stop = vi.fn(() => new Promise((resolve) => (finish = resolve))) @@ -206,30 +166,4 @@ describe('MobileNativeChatBackgroundTasks', () => { }) expect(stopButtons(mounted)[0]!.props.disabled).toBe(false) }) - - it('offers Stop all only to a host with no per-row stop that still accepts one', async () => { - let finish: (result: StopResult) => void = () => {} - const stop = vi.fn(() => new Promise((resolve) => (finish = resolve))) - const fallback = mount(tasksFor({ state: 'monitoring', children: [view('a')] }, { stop })) - expand(fallback) - expect(stopButtons(fallback).map((button) => button.props.accessibilityLabel)).toEqual([ - 'Stop background tasks' - ]) - const button = stopButtons(fallback)[0]! - expect(styleOf(button)).toMatchObject({ minHeight: 32, minWidth: 44 }) - expect(button.props.hitSlop).toBe(6) - expect(Number(styleOf(button).minHeight) + 2 * button.props.hitSlop).toBe(44) - act(() => button.props.onPress()) - act(() => button.props.onPress()) - expect(stop).toHaveBeenCalledTimes(1) - expect(stop).toHaveBeenCalledWith(undefined) - expect(stopButtons(fallback)[0]!.props.disabled).toBe(true) - await act(async () => finish(STOPPED)) - expect(stopButtons(fallback)[0]!.props.disabled).toBe(false) - const none = mount( - tasksFor({ state: 'monitoring', supportsStopAll: false, children: [view('a')] }) - ) - expand(none) - expect(stopButtons(none)).toEqual([]) - }) }) diff --git a/mobile/src/session/native-chat/input/MobileNativeChatBackgroundTasks.tsx b/mobile/src/session/native-chat/input/MobileNativeChatBackgroundTasks.tsx index 2776c6113d7..d35363724d4 100644 --- a/mobile/src/session/native-chat/input/MobileNativeChatBackgroundTasks.tsx +++ b/mobile/src/session/native-chat/input/MobileNativeChatBackgroundTasks.tsx @@ -18,7 +18,7 @@ import { } from 'lucide-react-native' import type { AgentChildRowModel } from '../../../../../src/shared/agent-status/presentation/agent-child-row-model' import type { AgentSessionBackgroundTask } from '../../../../../src/shared/agent-session/agent-session-background-task-wire' -import { sayMobileBackgroundTask as say } from '../../mobile-background-task-copy' +import { sayMobileBackgroundTask as say } from './mobile-background-task-copy' import { useMobileTranslation } from '../../../i18n/use-mobile-translation' import { backgroundTasksHeaderContent, @@ -38,11 +38,11 @@ import { useNow } from '../../../hooks/use-now' import { colors, radii, spacing, typography } from '../../../theme/mobile-theme' import { themedStyleSheet } from '../../../theme/themed-styles' import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' -import type { MobileStructuredBackgroundTasks } from '../../use-mobile-structured-background-tasks' +import type { MobileStructuredBackgroundTasks } from './use-mobile-structured-background-tasks' import { useMobileBackgroundTaskStops, type MobileBackgroundTaskStopping as Stopping -} from '../../use-mobile-background-task-stops' +} from './use-mobile-background-task-stops' import { mobileAgentChildRowName, mobileAgentChildRowText diff --git a/mobile/src/session/native-chat/MobileNativeChatCardHeaderAction.tsx b/mobile/src/session/native-chat/input/MobileNativeChatCardHeaderAction.tsx similarity index 86% rename from mobile/src/session/native-chat/MobileNativeChatCardHeaderAction.tsx rename to mobile/src/session/native-chat/input/MobileNativeChatCardHeaderAction.tsx index 564a5fc6930..6f479175fb6 100644 --- a/mobile/src/session/native-chat/MobileNativeChatCardHeaderAction.tsx +++ b/mobile/src/session/native-chat/input/MobileNativeChatCardHeaderAction.tsx @@ -1,8 +1,8 @@ import { Keyboard, Pressable, StyleSheet } from 'react-native' import { ChevronDown, X } from 'lucide-react-native' -import { colors, pressedStyle } from '../../theme/mobile-theme' -import { useMobileColorScheme } from '../../theme/use-mobile-color-scheme' -import { useMobileTranslation } from '../../i18n/use-mobile-translation' +import { colors, pressedStyle } from '../../../theme/mobile-theme' +import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' +import { useMobileTranslation } from '../../../i18n/use-mobile-translation' export function MobileNativeChatCardHeaderAction({ prompt, diff --git a/mobile/src/session/native-chat/input/MobileNativeChatOfflineQueue.tsx b/mobile/src/session/native-chat/input/MobileNativeChatOfflineQueue.tsx index 3a2b2e747c2..0db837cc17a 100644 --- a/mobile/src/session/native-chat/input/MobileNativeChatOfflineQueue.tsx +++ b/mobile/src/session/native-chat/input/MobileNativeChatOfflineQueue.tsx @@ -1,10 +1,10 @@ import { useContext, useMemo } from 'react' import { queuedMessageCardLine } from '../../../../../src/shared/agent-session/view/structured-agent-session-queued-cards' import { useMobileTranslation } from '../../../i18n/use-mobile-translation' -import type { MobileQueuedMessageCard } from '../../mobile-structured-queued-message-cards' +import type { MobileQueuedMessageCard } from './mobile-structured-queued-message-cards' import type { MobileNativeChatOfflineQueue as Queue } from '../composer/use-mobile-native-chat-offline-sends' import { MobileNativeChatQueuedMessages } from './MobileNativeChatQueuedMessages' -import { MobileNativeChatNoticeContext } from '../../mobile-native-chat-notice-context' +import { MobileNativeChatNoticeContext } from '../transcript/mobile-native-chat-notice-context' const PAUSED = { reason: 'failed' } as const diff --git a/mobile/src/session/native-chat/input/MobileNativeChatOptionPreviewSheet.tsx b/mobile/src/session/native-chat/input/MobileNativeChatOptionPreviewSheet.tsx new file mode 100644 index 00000000000..650882bf8a0 --- /dev/null +++ b/mobile/src/session/native-chat/input/MobileNativeChatOptionPreviewSheet.tsx @@ -0,0 +1,128 @@ +import { useMemo } from 'react' +import { Pressable, ScrollView, Text, View } from 'react-native' +import type { AskQuestion } from '../../../../../src/shared/native-chat/input/native-chat-ask-types' +import { KeyedBottomDrawer } from '../../../components/bottom-drawer/keyed-bottom-drawer' +import { SheetHeader } from '../../../components/nav-bar/SheetHeader' +import { SheetPrimaryButton } from '../../../components/SheetPrimaryButton' +import { useMobileTranslation } from '../../../i18n/use-mobile-translation' +import { colors, radii, spacing, typography, pressedStyle } from '../../../theme/mobile-theme' +import { themedStyleSheet } from '../../../theme/themed-styles' +import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' + +const sheetKey = () => 'option-preview' + +export function MobileNativeChatOptionPreviewSheet({ + options, + viewedIndex, + selected, + disabled, + onView, + onChoose, + onClose +}: { + options: AskQuestion['options'] + viewedIndex: number | null + selected: readonly number[] + disabled: boolean + onView: (index: number) => void + onChoose: (index: number) => void + onClose: () => void +}): React.JSX.Element { + useMobileColorScheme() + const t = useMobileTranslation() + const previews = useMemo( + () => options.flatMap((option, index) => (option.preview ? [{ option, index }] : [])), + [options] + ) + return ( + + {(index) => { + const option = options[index]! + return ( + <> + item.index === index) + 1, + total: previews.length + })} + onClose={onClose} + /> + + {previews.length > 1 ? ( + + {previews.map((item) => ( + onView(item.index)} + style={({ pressed }) => [styles.page, pressed && pressedStyle]} + > + + + ))} + + ) : null} + onChoose(index)} + /> + + ) + }} + + ) +} + +function ReadablePreview({ preview }: { preview: string }): React.JSX.Element { + useMobileColorScheme() + return ( + + + + {preview} + + + + ) +} + +const styles = themedStyleSheet(() => ({ + preview: { flex: 1, minHeight: 0, backgroundColor: colors.bgPanel }, + text: { + padding: spacing.md, + color: colors.textPrimary, + fontFamily: typography.monoFamily, + fontSize: typography.bodySize, + lineHeight: typography.bodySize * 1.5 + }, + pages: { flexGrow: 0, marginVertical: spacing.xs }, + pageContent: { flexGrow: 1, justifyContent: 'center' }, + page: { width: 44, height: 44, alignItems: 'center', justifyContent: 'center' }, + dot: { width: 6, height: 6, borderRadius: radii.pill, backgroundColor: colors.borderSubtle }, + currentDot: { backgroundColor: colors.textPrimary } +})) diff --git a/mobile/src/session/native-chat/input/MobileNativeChatOptionThumbnail.tsx b/mobile/src/session/native-chat/input/MobileNativeChatOptionThumbnail.tsx new file mode 100644 index 00000000000..06b78c62389 --- /dev/null +++ b/mobile/src/session/native-chat/input/MobileNativeChatOptionThumbnail.tsx @@ -0,0 +1,116 @@ +import { useState } from 'react' +import { Platform, Pressable, Text, View, type TextStyle } from 'react-native' +import { MobileEdgeFade } from '../../../components/MobileEdgeFade' +import { useMobileTranslation } from '../../../i18n/use-mobile-translation' +import { colors, radii, spacing, typography, pressedStyle } from '../../../theme/mobile-theme' +import { themedStyleSheet } from '../../../theme/themed-styles' +import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' + +const MAX_HEIGHT = 96 - spacing.sm * 2 + +export function MobileNativeChatOptionThumbnail({ + label, + preview, + onPress +}: { + label: string + preview: string + onPress: () => void +}): React.JSX.Element { + return ( + + ) +} + +function MeasuredPreviewThumbnail({ + label, + preview, + onPress +}: { + label: string + preview: string + onPress: () => void +}): React.JSX.Element { + useMobileColorScheme() + const t = useMobileTranslation() + const [width, setWidth] = useState(0) + const [bounds, setBounds] = useState<{ width: number; height: number } | null>(null) + const scale = bounds && width > 0 ? Math.min(1, width / Math.max(1, bounds.width)) : 0 + const height = bounds && width > 0 ? Math.min(MAX_HEIGHT, bounds.height * scale) : MAX_HEIGHT + + return ( + [styles.thumbnail, pressed && pressedStyle]} + > + setWidth(event.nativeEvent.layout.width)} + style={[styles.image, { height }]} + accessibilityElementsHidden + importantForAccessibility="no-hide-descendants" + > + { + const { width, height } = event.nativeEvent.layout + setBounds((previous) => + previous?.width === width && previous.height === height ? previous : { width, height } + ) + }} + style={[styles.text, { transform: [{ scale }] }]} + > + {preview} + + {height >= MAX_HEIGHT ? : null} + + {t('chat.ask.viewPreview', 'View')} + + ) +} + +const styles = themedStyleSheet(() => ({ + thumbnail: { + minHeight: 44, + padding: spacing.sm, + borderWidth: 1, + borderColor: colors.borderSubtle, + borderRadius: radii.control, + backgroundColor: colors.bgPanel, + overflow: 'hidden' + }, + // Native rows measure absolute Text intrinsically; the web uses its explicit CSS width below. + image: { position: 'relative', flexDirection: 'row', overflow: 'hidden' }, + text: { + position: 'absolute', + ...(Platform.OS === 'web' + ? { + whiteSpace: 'pre' as const, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: RN Web accepts intrinsic CSS widths; this branch never reaches native. + width: 'max-content' as TextStyle['width'] + } + : {}), + top: 0, + left: 0, + transformOrigin: 'top left', + fontFamily: typography.monoFamily, + fontSize: typography.metaSize, + lineHeight: typography.metaSize * 1.25, + color: colors.textPrimary, + includeFontPadding: false + }, + view: { + alignSelf: 'flex-end', + color: colors.textSecondary, + fontSize: typography.metaSize, + fontWeight: '600', + position: 'absolute', + right: spacing.xs, + bottom: spacing.xs, + paddingHorizontal: spacing.sm, + borderRadius: radii.pill, + backgroundColor: colors.bgRaised + } +})) diff --git a/mobile/src/session/native-chat/input/MobileNativeChatPermission.tsx b/mobile/src/session/native-chat/input/MobileNativeChatPermission.tsx index 960d7128b3c..148d08c1f8b 100644 --- a/mobile/src/session/native-chat/input/MobileNativeChatPermission.tsx +++ b/mobile/src/session/native-chat/input/MobileNativeChatPermission.tsx @@ -3,8 +3,8 @@ import { Pressable, ScrollView, StyleSheet, Text, View } from 'react-native' import { ShieldQuestion } from 'lucide-react-native' import { approvalDetailPreview } from '../../../../../src/shared/agent-session/agent-session-approval-detail-preview' import { approvalBlockedPathToShow } from '../../../../../src/shared/agent-session/agent-session-approval-blocked-path' -import { MobileNativeChatCardHeaderAction } from '../MobileNativeChatCardHeaderAction' -import { MobileNativeChatMarkdown } from '../MobileNativeChatMarkdown' +import { MobileNativeChatCardHeaderAction } from './MobileNativeChatCardHeaderAction' +import { MobileNativeChatMarkdown } from '../transcript/MobileNativeChatMarkdown' import { colors, radii, spacing, typography } from '../../../theme/mobile-theme' import { themedStyleSheet } from '../../../theme/themed-styles' import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' @@ -19,15 +19,19 @@ function MobileNativeChatPermissionImpl({ permission, onRespond, onCancel, - onCollapse + onCollapse, + onAnswerInTerminal }: { permission: MobileChatPermission onRespond: (send: string) => Promise + /** Shown when the card has no options: only the terminal can answer it. */ + onAnswerInTerminal?: () => void onCancel?: (prompt?: NonNullable) => Promise // Collapse writes nothing to the agent. onCollapse?: () => void }): React.JSX.Element { useMobileColorScheme() + const t = useMobileTranslation() const [submitting, setSubmitting] = useState(false) const submittingRef = useRef(false) // Unknown newer-host subjects allow only cancellation; preserve their detail for the reader. @@ -66,7 +70,7 @@ function MobileNativeChatPermissionImpl({ {permission.options.map((option, index) => { - const isPrimary = index === 0 + const isPrimary = index === 0 && !permission.neutralOptions return ( ) })} + {permission.options.length === 0 && onAnswerInTerminal ? ( + [ + styles.option, + styles.optionPrimary, + pressed && styles.optionPressed + ]} + hitSlop={6} + onPress={onAnswerInTerminal} + > + + {t('chat.promptCard.answerInTerminal', 'Answer in terminal')} + + + ) : null}
) @@ -239,6 +259,8 @@ const styles = themedStyleSheet(() => ({ }, option: { minHeight: 44, + // A long menu label wraps inside its button instead of running off the card. + maxWidth: '100%', justifyContent: 'center', paddingHorizontal: spacing.md, paddingVertical: spacing.sm, diff --git a/mobile/src/session/native-chat/input/MobileNativeChatPromptCard.tsx b/mobile/src/session/native-chat/input/MobileNativeChatPromptCard.tsx index 5c1b9a47bc2..8c45ee91c9d 100644 --- a/mobile/src/session/native-chat/input/MobileNativeChatPromptCard.tsx +++ b/mobile/src/session/native-chat/input/MobileNativeChatPromptCard.tsx @@ -123,11 +123,13 @@ export function MobileNativeChatPromptCard({ /> ) : permission ? ( (await onRespondPermission?.(send)) ?? false} onCancel={onCancelPrompt} onCollapse={onCollapsePrompt} + onAnswerInTerminal={onAnswerInTerminal} /> ) : question?.questions ? ( ({ count: 0 })) -vi.mock('../../MobileQueuedMessageCardRow', async (importOriginal) => { - const original = await importOriginal() - return { - MobileQueuedMessageCardRow: ( - props: Parameters[0] - ) => { - rowRenders.count++ - return createElement(original.MobileQueuedMessageCardRow, props) - } - } -}) let fontScale = 1 vi.mock('../../../components/DragReorderList', () => ({ DragReorderList: 'DragReorderList' })) vi.mock('react-native-reanimated', async () => { @@ -89,7 +57,7 @@ vi.mock('./MobileNativeChatDockedTaskList', () => ({ MobileNativeChatDockedTaskList: 'DockedTaskList' })) -vi.mock('../../MobileQueuedMessageComposer', () => ({ +vi.mock('./MobileQueuedMessageComposer', () => ({ MobileQueuedMessageComposer: 'QueuedMessageComposer' })) @@ -162,82 +130,6 @@ describe('MobileNativeChatQueuedMessages', () => { expect(sheet(mounted).props.visible).toBe(false) }) - it('the empty chord presses only the head card where its own button would, and offers it only while that press would act, across chat switches', async () => { - let tray!: MobileNativeChatComposerTray - function Tray(props: Parameters[0]['queued']) { - tray = useMobileNativeChatComposerTray({ - queued: props, - taskList: null, - backgroundTasks: null - }) - return createElement('View', null, tray.content) - } - const settles: ((accepted: boolean) => void)[] = [] - const onSend = vi.fn(() => new Promise((resolve) => settles.push(resolve))) - const chatA = { sessionKey: 'a', cards: [card({ messageId: 'a1' }), card({ messageId: 'a2' })] } - const chatB = { sessionKey: 'b', cards: [card({ messageId: 'b1' })] } - const show = async ( - chat: typeof chatA, - props: Partial[0]> = {} - ): Promise => { - await act(async () => { - renderer ??= create(createElement('View')) - renderer.update(createElement(Tray, { ...chat, agentWorking: true, onSend, ...props })) - }) - } - const press = (alternateSteers = true) => { - let pressed = false - act(() => { - pressed = tray.steerHead!.run(alternateSteers) - }) - return pressed - } - - await show(chatA) - expect(tray.steerHead!.steers(true)).toBe(true) - expect(press()).toBe(true) - expect(onSend).toHaveBeenLastCalledWith('a1') - // On its way: neither offered nor admitted again, like a second tap. - expect(tray.steerHead!.steers(true)).toBe(false) - expect(press()).toBe(false) - - // Another chat's head is its own; A settling later must not clear B's hold. - await show(chatB) - expect(tray.steerHead!.steers(true)).toBe(true) - expect(press()).toBe(true) - await act(async () => settles[0]!(true)) - expect(tray.steerHead!.steers(true)).toBe(false) - expect(press()).toBe(false) - await act(async () => settles[1]!(true)) - expect(tray.steerHead!.steers(true)).toBe(true) - - // Back to A, whose list remounts: an action started there still holds until it settles. - await show(chatA) - expect(press()).toBe(true) - await show(chatB) - await show(chatA) - expect(tray.steerHead!.steers(true)).toBe(false) - expect(press()).toBe(false) - await act(async () => settles[2]!(true)) - expect(tray.steerHead!.steers(true)).toBe(true) - - // No turn running (the paused queue after Stop): the head card's own Send. - await show(chatA, { agentWorking: false }) - expect(tray.steerHead!.steers(false)).toBe(true) - const refusals: [Partial[0]>, boolean][] = [ - [{}, false], - [{ steerHeld: true }, true], - [{ cards: [card({ messageId: 'a1', command: true }), card({ messageId: 'a2' })] }, true] - ] - for (const [props, alternateSteers] of refusals) { - await show(chatA, props) - expect(tray.steerHead!.steers(alternateSteers)).toBe(false) - const sends = onSend.mock.calls.length - expect(press(alternateSteers)).toBe(false) - expect(onSend).toHaveBeenCalledTimes(sends) - } - }) - it('runs one action per card at a time, however fast its controls are tapped', async () => { let answer: (done: boolean) => void = () => undefined const onSend = vi.fn(() => new Promise((resolve) => (answer = resolve))) @@ -270,71 +162,6 @@ describe('MobileNativeChatQueuedMessages', () => { }) } - it.each([100, 1000])('keeps pending work linear at %i cards', async (size) => { - let counting = false - let reads = 0 - let memberships = 0 - const ids = Array.from({ length: size }, (_, index) => `perf-card-${index}`) - const cards = ids.map((messageId) => - Object.defineProperty(card({ messageId }), 'messageId', { - get: () => { - reads += Number(counting) - return messageId - } - }) - ) - const has = Set.prototype.has - const membership = vi.spyOn(Set.prototype, 'has') - membership.mockImplementation(function (this: Set, key: unknown) { - if (counting && typeof key === 'string' && key.startsWith('perf-card-')) { - memberships++ - } - return has.call(this, key) - }) - const send = Promise.withResolvers() - const clear = Promise.withResolvers() - const onClearAll = vi.fn(() => clear.promise) - const onResume = vi.fn(async () => true) - const onSend = vi.fn(() => send.promise) - const mounted = await mountPaused({ - cards, - pause: { reason: 'stopped' }, - onClearAll, - onResume, - onSend - }) - const labels = ['Delete every queued message', 'Resume sending the queued messages'] - const steer = 'Send this message' - const trigger = async (action: () => void) => { - counting = true - await act(async () => action()) - counting = false - } - // The last card forces the complete conflict scan; admission and settlement each rerender. - await trigger(() => control(mounted, steer, size - 1).props.onPress()) - expect(onSend).toHaveBeenCalledExactlyOnceWith(ids.at(-1)) - expect(control(mounted, labels[0]!).props.disabled).toBe(true) - await trigger(() => send.resolve(false)) - // Same frame, before disabled state renders: the shared admission check refuses the rest. - await trigger(() => { - control(mounted, labels[0]!).props.onPress() - control(mounted, labels[1]!).props.onPress() - control(mounted, steer).props.onPress() - }) - expect(onClearAll).toHaveBeenCalledExactlyOnceWith(ids) - expect([onResume.mock.calls.length, onSend.mock.calls.length]).toEqual([0, 1]) - const greyed = () => [...labels, steer].map((label) => control(mounted, label).props.disabled) - expect(greyed()).toEqual([true, true, true]) - await trigger(() => clear.resolve(false)) - expect(greyed()).toEqual([false, false, false]) - // Four pending/settled renders plus admission: fixed linear budgets, independent of N. - expect(reads).toBeGreaterThanOrEqual(4 * size) - expect(reads).toBeLessThanOrEqual(36 * size) - expect(memberships).toBeGreaterThanOrEqual(size) - expect(memberships).toBeLessThanOrEqual(18 * size) - console.info('queue operation counts', { cards: size, reads, memberships }) - }) - function resumeButton(mounted: ReactTestRenderer) { return control(mounted, 'Resume sending the queued messages') } @@ -355,193 +182,4 @@ describe('MobileNativeChatQueuedMessages', () => { expect(onResume).toHaveBeenCalledTimes(2) }) }) - - it('admits one queue move synchronously, preserves unrelated actions and releases after settlement', async () => { - const messages: AgentSessionQueuedMessage[] = ['a', 'b', 'c', 'd'].map( - (messageId, position) => ({ - messageId, - position, - state: 'waiting', - body: { kind: 'message', role: 'user', blocks: [{ type: 'text', text: messageId }] } - }) - ) - messages[2]!.body.from = { kind: 'agent', senders: [], orchestration: null } - type MoveReply = StructuredAgentSessionMutationResult - const first = Promise.withResolvers() - const second = Promise.withResolvers() - const mutate = vi - .fn<(...args: Parameters) => Promise>() - .mockReturnValueOnce(first.promise) - .mockReturnValueOnce(second.promise) - const send = vi.fn(async () => true) - function Harness({ published = messages }: { published?: AgentSessionQueuedMessage[] }) { - const queue = useMobileQueuedMessageComposerActions({ - messages: published, - sessionId: 's', - sessionKey: 's', - reorderCapable: true, - enabled: true, - // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Vitest erases the generic result signature; this hook only requests queuedMessageMove, and both deferred replies are checked as MoveReply. - mutate: mutate as MobileStructuredAgentMutate, - onSendError: () => {} - }) - return createElement(MobileNativeChatQueuedMessages, { - cards: mobileQueuedMessageCards(queue.messages, []), - onMove: queue.move, - onSend: send - }) - } - await act(async () => { - renderer = create(createElement(Harness)) - }) - const list = () => renderer!.root.find((node) => String(node.type) === 'DragReorderList') - const ids = () => list().props.items.map((entry: MobileQueuedMessageCard) => entry.messageId) - const queuedMove = list().props.onMove - act(() => { - expect(queuedMove({ movedId: 'c', beforeId: 'a' })).toBe(true) - expect(queuedMove({ movedId: 'b', afterId: 'd' })).toBe(false) - }) - expect(mutate).toHaveBeenCalledTimes(1) - expect(ids()).toEqual(['c', 'a', 'b', 'd']) - expect(list().props.canMove).toBeUndefined() - expect(list().props.items[0].from).toBeDefined() - expect( - list().props.items.every((entry: MobileQueuedMessageCard) => - list().props.isMoveDisabled(entry) - ) - ).toBe(true) - const movedRow = list().props.renderRow(list().props.items[0]) - act(() => movedRow.props.onSend()) - expect(send).not.toHaveBeenCalled() - const otherRow = list().props.renderRow(list().props.items[1]) - await act(async () => otherRow.props.onSend()) - expect(send).toHaveBeenCalledExactlyOnceWith('a') - await act(async () => { - first.resolve({ - status: 'accepted', - value: { messageId: 'c', status: 'stale' }, - sameFence: true - }) - await first.promise - }) - expect(ids()).toEqual(['a', 'b', 'c', 'd']) - expect( - list().props.items.every( - (entry: MobileQueuedMessageCard) => !list().props.isMoveDisabled(entry) - ) - ).toBe(true) - act(() => expect(list().props.onMove({ movedId: 'b', afterId: 'd' })).toBe(true)) - // The host republishes the moved order with fresh positions; cards sort by position. - const published = [0, 2, 3, 1].map((index, position) => ({ ...messages[index]!, position })) - await act(async () => renderer!.update(createElement(Harness, { published }))) - expect(ids()).toEqual(['a', 'c', 'd', 'b']) - await act(async () => renderer!.unmount()) - renderer = null - await act(async () => { - second.resolve({ - status: 'accepted', - value: { messageId: 'b', status: 'moved' }, - sameFence: true - }) - await second.promise - }) - expect(mutate).toHaveBeenCalledTimes(2) - }) }) - -for (const population of [10, 100]) { - it(`does no queue population work on geometry-only updates with ${population} cards`, async () => { - const root = document.createElement('div') - root.dataset.testid = 'native-chat-view' - const viewport = document.createElement('div') - const content = document.createElement('div') - root.append(viewport) - viewport.append(content) - document.body.append(root) - let height = 180 - Object.defineProperties(viewport, { - clientHeight: { get: () => height }, - clientWidth: { value: 300 }, - scrollHeight: { value: 300 } - }) - vi.spyOn(root, 'getBoundingClientRect').mockImplementation(() => new DOMRect(0, 0, 300, 500)) - let visits = 0 - let operationRenders = 0 - let observedHeight = 0 - function GeometryConsumer() { - observedHeight = useMobileNativeChatLowerGeometry().viewportHeight - return null - } - function OperationConsumer() { - useMobileNativeChatLowerRegion() - operationRenders++ - return null - } - const cards = Array.from({ length: population }, (_, index) => { - const item = card({ messageId: `queued-${index}` }) - Object.defineProperty(item, 'messageId', { - get: () => { - visits++ - return `queued-${index}` - } - }) - return item - }) - let mounted: ReactTestRenderer | undefined - const paint = () => new Promise((resolve) => requestAnimationFrame(() => resolve())) - const render = (items: MobileQueuedMessageCard[]) => ( - - - - - - ) - try { - await act(async () => { - mounted = create(render(cards), { - createNodeMock: (element) => { - const props = element.props - if ( - typeof props === 'object' && - props !== null && - 'testID' in props && - props.testID === 'native-chat-lower-scroll' - ) { - return { getScrollableNode: () => viewport } - } - return element.type === 'ScrollView' ? { scrollToEnd: () => {} } : content - } - }) - }) - await act(paint) - await act(paint) - expect(observedHeight).toBe(180) - visits = 0 - operationRenders = 0 - rowRenders.count = 0 - await act(async () => { - height = 120 - window.dispatchEvent(new Event('resize')) - await paint() - }) - expect(observedHeight).toBe(120) - expect.soft(operationRenders).toBe(0) - expect.soft(rowRenders.count).toBe(0) - expect.soft(visits).toBe(0) - await act(async () => - mounted!.update( - render([...cards, card({ messageId: 'appended', text: 'A real new message' })]) - ) - ) - expect(rowRenders.count).toBeGreaterThan(0) - expect(visits).toBeGreaterThan(0) - expect( - mounted!.root.findAllByProps({ children: 'A real new message' }).length - ).toBeGreaterThan(0) - } finally { - await act(async () => mounted?.unmount()) - root.remove() - vi.restoreAllMocks() - } - }) -} diff --git a/mobile/src/session/native-chat/input/MobileNativeChatQueuedMessages.tsx b/mobile/src/session/native-chat/input/MobileNativeChatQueuedMessages.tsx index 40d45fd502b..b2a8d678a9e 100644 --- a/mobile/src/session/native-chat/input/MobileNativeChatQueuedMessages.tsx +++ b/mobile/src/session/native-chat/input/MobileNativeChatQueuedMessages.tsx @@ -9,7 +9,7 @@ import { colors } from '../../../theme/mobile-theme' import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' import { useMobileTranslation } from '../../../i18n/use-mobile-translation' import { useLargeSystemText } from '../../../theme/use-large-system-text' -import type { MobileQueuedMessageCard } from '../../mobile-structured-queued-message-cards' +import type { MobileQueuedMessageCard } from './mobile-structured-queued-message-cards' import type { MobileQueuedHeadLight } from './mobile-queued-head-light' import { createMobileQueuedCardActionStore, @@ -18,10 +18,10 @@ import { } from './mobile-queued-card-actions' import { headSteerableQueuedMessageCard } from '../../../../../src/shared/agent-session/view/structured-agent-session-queued-cards' import type { AgentSessionQueuePause } from '../../../../../src/shared/agent-session/requests/agent-session-queued-message-wire' -import type { MobileQueuedMessageEdit } from '../../use-mobile-structured-queued-message-controls' -import type { MobileQueuedMessageInlineEditor } from '../../mobile-queued-message-edit-draft' -import { MobileQueuedMessageCardRow } from '../../MobileQueuedMessageCardRow' -import { MobileQueuedMessageScrollList } from '../../MobileQueuedMessageScrollList' +import type { MobileQueuedMessageEdit } from './use-mobile-structured-queued-message-controls' +import type { MobileQueuedMessageInlineEditor } from './mobile-queued-message-edit-draft' +import { MobileQueuedMessageCardRow } from './MobileQueuedMessageCardRow' +import { MobileQueuedMessageScrollList } from './MobileQueuedMessageScrollList' import { queuedMessageStyles as styles } from './mobile-native-chat-queued-message-styles' import { useMobileNativeChatLowerRegion } from '../mobile-native-chat-lower-region-context' diff --git a/mobile/src/session/native-chat/input/MobileNativeChatSessionOptionPickers.test.ts b/mobile/src/session/native-chat/input/MobileNativeChatSessionOptionPickers.test.ts index 676636c583d..f43f8762553 100644 --- a/mobile/src/session/native-chat/input/MobileNativeChatSessionOptionPickers.test.ts +++ b/mobile/src/session/native-chat/input/MobileNativeChatSessionOptionPickers.test.ts @@ -1,15 +1,3 @@ -import type { AgentSessionOptionsResult } from '../../../../../src/shared/agent-session/options/agent-session-options-result' -import { useMobileNativeChatSessionOptionController } from './use-mobile-native-chat-session-option-controller' -import { - OPTIONS, - BASE, - deferred, - accepted, - optionsClient, - recordingMutate, - mountOptions, - settle -} from '../../use-mobile-structured-agent-options.test-fixture' import { createElement, useState, type ReactNode } from 'react' import { act, type ReactTestRenderer } from 'react-test-renderer' import { createWithQueryClient } from '../../../test-support/query-client-test-renderer' @@ -180,124 +168,6 @@ describe('MobileNativeChatSessionOptionPickers', () => { await act(async () => rowByText('Full access').props.onPress()) expect(setOption).toHaveBeenCalledExactlyOnceWith('permissionMode', 'full-access') }) - - it('picks the shown Codex default during a reply and captures it only for the next message', async () => { - const pending = deferred() - let reads = 0 - const rpc = optionsClient(() => - ++reads === 1 - ? Promise.resolve({ - ...OPTIONS, - listedModelIds: OPTIONS.models.map((row) => row.id), - current: { model: 'gpt-fast', acceptedInputSources: { model: 'saved' }, defaulted: [] } - }) - : pending.promise - ) - const { calls, mutate } = recordingMutate(async () => - accepted({ key: 'effort', value: 'low', options: { effort: 'low' } }, true) - ) - const view = await mountOptions({ ...BASE, client: rpc.client, mutate, sendSelection: true }) - const snapshot = () => [...view.current().optionSnapshot] - try { - const update = mount(snapshot(), true) - const running = view.current().sendSelection() - expect(running).toEqual({ selection: { model: 'gpt-fast' } }) - await act(async () => pill('Model').props.onPress()) - setOption.mockImplementation(view.current().setStructuredOption) - await act(async () => pill('Low').props.onPress()) - await settle() - expect(calls.map((call) => call.fields)).toEqual([{ key: 'effort', value: 'low' }]) - expect(view.current().sendSelection()).toEqual({ - selection: { model: 'gpt-fast', effort: 'low' } - }) - expect(running).toEqual({ selection: { model: 'gpt-fast' } }) - update(true, snapshot()) - await act(async () => pill('Low').props.onPress()) - expect(setOption).toHaveBeenCalledTimes(1) - } finally { - await view.unmount() - } - }) - - it('renders actual settled permission/reset picks without busy state and locks ordinary pending model work', async () => { - const idle = deferred() - let reads = 0 - const rpc = optionsClient(() => - ++reads === 1 - ? Promise.resolve({ ...OPTIONS, current: { ...OPTIONS.current, permissionMode: 'ask' } }) - : idle.promise - ) - const replies = Array.from({ length: 3 }, () => deferred>()) - const { calls, mutate } = recordingMutate((index) => replies[index].promise) - const view = await mountOptions({ ...BASE, client: rpc.client, mutate, permissionOwn: true }) - function ActualPickers() { - const options = view.current() - const { nativeChatSessionOptions } = useMobileNativeChatSessionOptionController({ - client: rpc.client, - activeChatStructured: true, - activeSessionTabId: BASE.sessionId, - agent: 'codex', - dispatchCommand: async () => 'accepted', - hostId: 'phone-picker', - isTabChatView: () => true, - isWorking: true, - reportedModel: null, - structured: { - snapshot: options.optionSnapshot, - pendingId: options.pendingOptionId, - setOption: options.setStructuredOption, - invokeAction: options.invokeStructuredOption - }, - toggleTabChatView: () => {}, - worktreeId: 'workspace-1' - }) - return createElement(MobileNativeChatSessionOptionPickers, { - ...nativeChatSessionOptions!, - presentation: { page: 'model', refocus: false }, - onDrawerOpen: () => {}, - onNavigate: () => {} - }) - } - try { - await act(async () => { - renderer = createWithQueryClient(createElement(ActualPickers)) - }) - for (const [index, value] of ['full-access', 'own'].entries()) { - let pick!: Promise - act(() => { - pick = view.current().setStructuredOption('permissionMode', value) - }) - expect(calls[index]?.fields).toEqual({ key: 'permissionMode', value }) - expect(view.current().pendingOptionId).toBeNull() - await act(async () => renderer!.update(createElement(ActualPickers))) - expect(renderer!.root.findAllByProps({ children: 'Applying…' })).toHaveLength(0) - expect(rowByText('GPT Fast').props.accessibilityState?.disabled).toBe(false) - await act(async () => - replies[index].resolve( - accepted({ key: 'permissionMode', value, options: { permissionMode: value } }, true) - ) - ) - await expect(pick).resolves.toBe(true) - expect(view.current().pendingOptionId).toBeNull() - await act(async () => renderer!.update(createElement(ActualPickers))) - expect(renderer!.root.findAllByProps({ children: 'Applying…' })).toHaveLength(0) - expect(rowByText('GPT Fast').props.accessibilityState?.disabled).toBe(false) - } - act(() => { - void view.current().setStructuredOption('model', 'gpt-fast') - }) - await act(async () => renderer!.update(createElement(ActualPickers))) - expect(rowByText('GPT Live').props.accessibilityState?.disabled).toBe(true) - expect(renderer!.root.findAllByProps({ children: 'Applying…' })).toHaveLength(1) - expect(calls.map((call) => call.fields)).toEqual([ - { key: 'permissionMode', value: 'full-access' }, - { key: 'permissionMode', value: 'own' }, - { key: 'model', value: 'gpt-fast' } - ]) - } finally { - await view.unmount() - } - }) }) const PERMISSION_CHOICES: SessionOptionSelectChoice[] = [ diff --git a/mobile/src/session/native-chat/input/MobileNativeChatSessionOptionPickers.tsx b/mobile/src/session/native-chat/input/MobileNativeChatSessionOptionPickers.tsx index 64360176bd6..973ee4010c1 100644 --- a/mobile/src/session/native-chat/input/MobileNativeChatSessionOptionPickers.tsx +++ b/mobile/src/session/native-chat/input/MobileNativeChatSessionOptionPickers.tsx @@ -36,7 +36,8 @@ import { descriptorRowElements, ModelPill, SessionOptionCaption, - SessionOptionSummaryRow + SessionOptionSummaryRow, + showsSessionOptionAsSwitch } from './MobileNativeChatSessionOptionRows' import { SessionOptionSegments, @@ -383,7 +384,7 @@ function OptionRows({ {descriptors.flatMap((descriptor) => { const isPermission = descriptor === permission const disabled = locked(descriptor) || !descriptor.settable - if (descriptor.kind.type === 'boolean' && !descriptor.action) { + if (showsSessionOptionAsSwitch(descriptor)) { return descriptorRowElements( { descriptor, diff --git a/mobile/src/session/native-chat/input/MobileNativeChatSessionOptionRows.tsx b/mobile/src/session/native-chat/input/MobileNativeChatSessionOptionRows.tsx index e8dfb017a3d..63c69893624 100644 --- a/mobile/src/session/native-chat/input/MobileNativeChatSessionOptionRows.tsx +++ b/mobile/src/session/native-chat/input/MobileNativeChatSessionOptionRows.tsx @@ -17,6 +17,10 @@ import { nativeChatSessionOptionActionLabel, nativeChatSessionOptionLabel } from '../../../../../src/shared/native-chat/input/native-chat-session-option-labels' +import { + loneFastTier, + speedButtonTiers +} from '../../../../../src/shared/native-chat/input/native-chat-session-speed-tiers' import { sayMobileNativeChatSessionOption as say } from './native-chat-session-option-copy' import { MobileSwitch } from '../../../components/MobileSwitch' @@ -131,6 +135,20 @@ type DescriptorRowsProps = { moreChoices?: { shown: boolean; onToggle: () => void } } +/** A Fast-only speed, which toggles on one row like Claude's Fast mode. */ +function fastSpeedSwitch(descriptor: SessionOptionDescriptor) { + const speed = speedButtonTiers(descriptor) + const fast = speed ? loneFastTier(speed.tiers) : undefined + return speed && fast ? { standard: speed.standard, fast } : null +} + +export function showsSessionOptionAsSwitch(descriptor: SessionOptionDescriptor): boolean { + return ( + !descriptor.action && + (descriptor.kind.type === 'boolean' || fastSpeedSwitch(descriptor) !== null) + ) +} + /** One descriptor's rows as an array, so a ListGroup can draw the separators between them. */ export function descriptorRowElements( { @@ -156,8 +174,10 @@ export function descriptorRowElements( ] } // An unknown baseline still renders a switch; the source marker prevents implying the value was confirmed. - if (descriptor.kind.type === 'boolean') { - const label = nativeChatSessionOptionLabel(descriptor, say) + const fastSpeed = fastSpeedSwitch(descriptor) + if (descriptor.kind.type === 'boolean' || fastSpeed) { + const { kind } = descriptor + const label = fastSpeed ? say('fastMode') : nativeChatSessionOptionLabel(descriptor, say) const marker = sessionOptionValueMarker(descriptor) return [ onSetOption(next)} + value={ + kind.type === 'boolean' + ? kind.currentValue + : kind.currentValue === fastSpeed?.fast.value + } + onValueChange={(next) => + onSetOption( + fastSpeed ? (next ? fastSpeed.fast.value : fastSpeed.standard.value) : next + ) + } disabled={locked} /> } diff --git a/mobile/src/session/native-chat/input/MobileNativeChatThreadGoalStrip.tsx b/mobile/src/session/native-chat/input/MobileNativeChatThreadGoalStrip.tsx index 9d73bb6da3f..d1aa5793cd7 100644 --- a/mobile/src/session/native-chat/input/MobileNativeChatThreadGoalStrip.tsx +++ b/mobile/src/session/native-chat/input/MobileNativeChatThreadGoalStrip.tsx @@ -17,7 +17,7 @@ import { themedStyleSheet } from '../../../theme/themed-styles' import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' import { COMPOSER_TUCK } from '../composer/mobile-native-chat-composer-styles' import { queuedMessageStyles } from './mobile-native-chat-queued-message-styles' -import type { MobileStructuredThreadGoal } from '../../use-mobile-structured-thread-goal' +import type { MobileStructuredThreadGoal } from './use-mobile-structured-thread-goal' type Translate = ReturnType diff --git a/mobile/src/session/MobileQueuedCardText.tsx b/mobile/src/session/native-chat/input/MobileQueuedCardText.tsx similarity index 85% rename from mobile/src/session/MobileQueuedCardText.tsx rename to mobile/src/session/native-chat/input/MobileQueuedCardText.tsx index c0af69cf12f..d97d8e1beeb 100644 --- a/mobile/src/session/MobileQueuedCardText.tsx +++ b/mobile/src/session/native-chat/input/MobileQueuedCardText.tsx @@ -1,10 +1,10 @@ import { useState } from 'react' import { Pressable, Text, View } from 'react-native' -import { colors, typography, pressedStyle } from '../theme/mobile-theme' -import { themedStyleSheet } from '../theme/themed-styles' -import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' -import { queuedMessageStyles } from './native-chat/input/mobile-native-chat-queued-message-styles' -import { useMobileTranslation } from '../i18n/use-mobile-translation' +import { colors, typography, pressedStyle } from '../../../theme/mobile-theme' +import { themedStyleSheet } from '../../../theme/themed-styles' +import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' +import { queuedMessageStyles } from './mobile-native-chat-queued-message-styles' +import { useMobileTranslation } from '../../../i18n/use-mobile-translation' // Expand clipped queued text before Steer/Delete; use the queue’s capped scroller rather than nesting another scroll box. export function MobileQueuedCardText({ diff --git a/mobile/src/session/MobileQueuedMessageCardRow.tsx b/mobile/src/session/native-chat/input/MobileQueuedMessageCardRow.tsx similarity index 91% rename from mobile/src/session/MobileQueuedMessageCardRow.tsx rename to mobile/src/session/native-chat/input/MobileQueuedMessageCardRow.tsx index 66460db018e..d7bb5553a1b 100644 --- a/mobile/src/session/MobileQueuedMessageCardRow.tsx +++ b/mobile/src/session/native-chat/input/MobileQueuedMessageCardRow.tsx @@ -10,19 +10,19 @@ import { Send, Trash2 } from 'lucide-react-native' -import { colors, pressedStyle } from '../theme/mobile-theme' -import { queuedMessageCardSteers } from '../../../src/shared/agent-session/view/structured-agent-session-queued-cards' -import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' +import { colors, pressedStyle } from '../../../theme/mobile-theme' +import { queuedMessageCardSteers } from '../../../../../src/shared/agent-session/view/structured-agent-session-queued-cards' +import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' import type { MobileQueuedMessageCard } from './mobile-structured-queued-message-cards' -import type { MobileQueuedMessageInlineEditor } from './use-mobile-structured-queued-edit' +import type { MobileQueuedMessageInlineEditor } from './mobile-queued-message-edit-draft' import { MobileQueuedMessageComposer } from './MobileQueuedMessageComposer' import { MobileQueuedCardText } from './MobileQueuedCardText' -import type { MobileQueuedHeadLight } from './native-chat/input/mobile-queued-head-light' +import type { MobileQueuedHeadLight } from './mobile-queued-head-light' const subscribeNever = () => () => undefined -import { MobileAgentMessageSenders } from './native-chat/transcript/MobileAgentMessageSenders' -import { queuedMessageStyles as styles } from './native-chat/input/mobile-native-chat-queued-message-styles' -import { useMobileTranslation } from '../i18n/use-mobile-translation' +import { MobileAgentMessageSenders } from '../transcript/MobileAgentMessageSenders' +import { queuedMessageStyles as styles } from './mobile-native-chat-queued-message-styles' +import { useMobileTranslation } from '../../../i18n/use-mobile-translation' type QueuedMessageCardRowProps = { dragHandle?: ReactNode diff --git a/mobile/src/session/MobileQueuedMessageComposer.tsx b/mobile/src/session/native-chat/input/MobileQueuedMessageComposer.tsx similarity index 82% rename from mobile/src/session/MobileQueuedMessageComposer.tsx rename to mobile/src/session/native-chat/input/MobileQueuedMessageComposer.tsx index 6ec1670fbff..94bec868eb4 100644 --- a/mobile/src/session/MobileQueuedMessageComposer.tsx +++ b/mobile/src/session/native-chat/input/MobileQueuedMessageComposer.tsx @@ -1,21 +1,21 @@ import { useContext, useEffect, useMemo, useRef } from 'react' import { MobileQueuedMessageComposerContext } from './mobile-queued-message-composer-context' import { Text, type TextInput, View } from 'react-native' -import { MobileNativeChatComposer } from './native-chat/composer/MobileNativeChatComposer' -import type { MobileQueuedMessageInlineEditor } from './use-mobile-structured-queued-edit' -import { useMobileNativeChatFileAttachments } from './native-chat/composer/use-mobile-native-chat-file-attachments' -import { useMobileNativeChatImageUpload } from './native-chat/composer/use-mobile-native-chat-image-upload' +import { MobileNativeChatComposer } from '../composer/MobileNativeChatComposer' +import type { MobileQueuedMessageInlineEditor } from './mobile-queued-message-edit-draft' +import { useMobileNativeChatFileAttachments } from '../composer/use-mobile-native-chat-file-attachments' +import { useMobileNativeChatImageUpload } from '../composer/use-mobile-native-chat-image-upload' import { updateMobileNativeChatDraftInputs, useMobileNativeChatDraftInputs -} from './native-chat/composer/mobile-native-chat-draft-inputs' -import { prepareQueuedMessageEditText } from '../../../src/shared/queued-message-edit-command' -import type { AgentMessageSource } from '../../../src/shared/agent-session/agent-session-message-source' -import { MobileAgentMessageSenders } from './native-chat/transcript/MobileAgentMessageSenders' -import { queuedMessageStyles as styles } from './native-chat/input/mobile-native-chat-queued-message-styles' -import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' -import { createUuidV4 } from '../../../src/shared/uuid-v4' -import { useMobileTranslation } from '../i18n/use-mobile-translation' +} from '../composer/mobile-native-chat-draft-inputs' +import { prepareQueuedMessageEditText } from '../../../../../src/shared/queued-message-edit-command' +import type { AgentMessageSource } from '../../../../../src/shared/agent-session/agent-session-message-source' +import { MobileAgentMessageSenders } from '../transcript/MobileAgentMessageSenders' +import { queuedMessageStyles as styles } from './mobile-native-chat-queued-message-styles' +import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' +import { createNonSecureContextUuid as createUuidV4 } from '../../../../../src/shared/non-secure-context-uuid' +import { useMobileTranslation } from '../../../i18n/use-mobile-translation' export function MobileQueuedMessageComposer({ editor, diff --git a/mobile/src/session/MobileQueuedMessageScrollList.tsx b/mobile/src/session/native-chat/input/MobileQueuedMessageScrollList.tsx similarity index 95% rename from mobile/src/session/MobileQueuedMessageScrollList.tsx rename to mobile/src/session/native-chat/input/MobileQueuedMessageScrollList.tsx index fac8c9e1e8f..c7a05ffed9d 100644 --- a/mobile/src/session/MobileQueuedMessageScrollList.tsx +++ b/mobile/src/session/native-chat/input/MobileQueuedMessageScrollList.tsx @@ -6,9 +6,9 @@ import Animated, { type AnimatedRef, type SharedValue } from 'react-native-reanimated' -import { spacing } from '../theme/mobile-theme' -import { MobileEdgeFade } from '../components/MobileEdgeFade' -import { useMobileNativeChatLowerRegion } from './native-chat/mobile-native-chat-lower-region-context' +import { spacing } from '../../../theme/mobile-theme' +import { MobileEdgeFade } from '../../../components/MobileEdgeFade' +import { useMobileNativeChatLowerRegion } from '../mobile-native-chat-lower-region-context' /** Desktop's `max-h-40`: three one-line cards and part of a fourth, whose cut-off edge is the * sign that the list scrolls. */ diff --git a/mobile/src/session/mobile-background-task-copy.ts b/mobile/src/session/native-chat/input/mobile-background-task-copy.ts similarity index 98% rename from mobile/src/session/mobile-background-task-copy.ts rename to mobile/src/session/native-chat/input/mobile-background-task-copy.ts index e204e2e8005..52cd8474413 100644 --- a/mobile/src/session/mobile-background-task-copy.ts +++ b/mobile/src/session/native-chat/input/mobile-background-task-copy.ts @@ -1,8 +1,8 @@ import type { BackgroundTaskCopyId, BackgroundTaskSay -} from '../../../src/shared/background-task-copy' -import { translate } from '../i18n/mobile-i18n' +} from '../../../../../src/shared/background-task-copy' +import { translate } from '../../../i18n/mobile-i18n' export const sayMobileBackgroundTask: BackgroundTaskSay = (id, values) => { const count = values?.count diff --git a/mobile/src/session/mobile-host-model-catalog-query.ts b/mobile/src/session/native-chat/input/mobile-host-model-catalog-query.ts similarity index 82% rename from mobile/src/session/mobile-host-model-catalog-query.ts rename to mobile/src/session/native-chat/input/mobile-host-model-catalog-query.ts index 04e3eb307f4..eb6eb1ff7d1 100644 --- a/mobile/src/session/mobile-host-model-catalog-query.ts +++ b/mobile/src/session/native-chat/input/mobile-host-model-catalog-query.ts @@ -1,18 +1,18 @@ import { useMemo } from 'react' import { useQueryClient } from '@tanstack/react-query' -import type { AgentSessionModelCatalogResult } from '../../../src/shared/agent-session/agent-session-wire' +import type { AgentSessionModelCatalogResult } from '../../../../../src/shared/agent-session/agent-session-wire' import { hostReadsSavedModelCatalogsOnly, selectHostModelCatalogSnapshot, withHostModelCatalogAnswer, type HostModelCatalogSnapshot -} from '../../../src/shared/agent-session/options/host-model-catalog-snapshot-rules' -import { defineHostQuery, useHostQuery } from '../query/host-query' -import { hostQueryKey } from '../query/host-query-key' -import { useWorkspaceExecutionHost } from '../navigation/workspace-execution-host' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import { readRuntimeStatusProbe } from '../transport/connection/runtime-status-probe' -import { callAgentSession } from './mobile-structured-agent-session-rpc' +} from '../../../../../src/shared/agent-session/options/host-model-catalog-snapshot-rules' +import { defineHostQuery, useHostQuery } from '../../../query/host-query' +import { hostQueryKey } from '../../../query/host-query-key' +import { useWorkspaceExecutionHost } from '../../../navigation/workspace-execution-host' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import { readRuntimeStatusProbe } from '../../../transport/connection/runtime-status-probe' +import { callAgentSession } from '../agent-session/mobile-structured-agent-session-rpc' import type { HostModelCatalogCache } from './use-mobile-host-model-catalog-upgrade' // The host's account-level lists per agent, which a chat's first frame shows before its own read answers. diff --git a/mobile/src/session/native-chat/input/mobile-native-chat-answer-stepping.test.ts b/mobile/src/session/native-chat/input/mobile-native-chat-answer-stepping.test.ts deleted file mode 100644 index ed8d3c730ea..00000000000 --- a/mobile/src/session/native-chat/input/mobile-native-chat-answer-stepping.test.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { - mobileNativeChatQuestionOffsets, - scheduleMobileClaudeAnswer, - MOBILE_NATIVE_CHAT_ADVANCE_BUFFER_MS, - MOBILE_NATIVE_CHAT_SUBMIT_DELAY_MS -} from './mobile-native-chat-answer-stepping' - -describe('mobileNativeChatQuestionOffsets', () => { - it('paces each question a full step apart, Enter 500ms after its body', () => { - expect(mobileNativeChatQuestionOffsets(0)).toEqual({ bodyAt: 0, enterAt: 500 }) - expect(mobileNativeChatQuestionOffsets(1)).toEqual({ bodyAt: 1000, enterAt: 1500 }) - expect(mobileNativeChatQuestionOffsets(2)).toEqual({ bodyAt: 2000, enterAt: 2500 }) - }) -}) - -describe('scheduleMobileClaudeAnswer', () => { - beforeEach(() => vi.useFakeTimers()) - afterEach(() => vi.useRealTimers()) - - it('writes each question body then its Enter, paced per step, one Enter per line', () => { - const events: string[] = [] - const timers = scheduleMobileClaudeAnswer( - ['', 'b', 'c'], - (line) => events.push(`body:${line}`), - () => events.push('enter') - ) - expect(timers).toHaveLength(6) - - vi.advanceTimersByTime(0) - expect(events).toEqual(['body:']) - vi.advanceTimersByTime(MOBILE_NATIVE_CHAT_SUBMIT_DELAY_MS - 1) - expect(events).toEqual(['body:']) - vi.advanceTimersByTime(1) - expect(events).toEqual(['body:', 'enter']) - vi.advanceTimersByTime(MOBILE_NATIVE_CHAT_ADVANCE_BUFFER_MS) - expect(events).toEqual(['body:', 'enter', 'body:b']) - - vi.runAllTimers() - expect(events).toEqual(['body:', 'enter', 'body:b', 'enter', 'body:c', 'enter']) - }) - - it('cancelling the returned timers stops all pending writes', () => { - const events: string[] = [] - const timers = scheduleMobileClaudeAnswer( - ['a', 'b'], - (line) => events.push(`body:${line}`), - () => events.push('enter') - ) - for (const timer of timers) { - clearTimeout(timer) - } - vi.runAllTimers() - expect(events).toEqual([]) - }) -}) diff --git a/mobile/src/session/native-chat/input/mobile-native-chat-answer-stepping.ts b/mobile/src/session/native-chat/input/mobile-native-chat-answer-stepping.ts deleted file mode 100644 index ad105d55a74..00000000000 --- a/mobile/src/session/native-chat/input/mobile-native-chat-answer-stepping.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { - nativeChatQuestionOffsets, - scheduleNativeChatAnswer, - NATIVE_CHAT_ADVANCE_BUFFER_MS, - NATIVE_CHAT_QUESTION_STEP_MS, - NATIVE_CHAT_SUBMIT_DELAY_MS -} from '../../../../../src/shared/native-chat/input/native-chat-answer-stepping' - -export const MOBILE_NATIVE_CHAT_ADVANCE_BUFFER_MS = NATIVE_CHAT_ADVANCE_BUFFER_MS -export const MOBILE_NATIVE_CHAT_QUESTION_STEP_MS = NATIVE_CHAT_QUESTION_STEP_MS -export const MOBILE_NATIVE_CHAT_SUBMIT_DELAY_MS = NATIVE_CHAT_SUBMIT_DELAY_MS -export const mobileNativeChatQuestionOffsets = nativeChatQuestionOffsets -export const scheduleMobileClaudeAnswer = scheduleNativeChatAnswer diff --git a/mobile/src/session/native-chat/input/mobile-native-chat-answered-prompts.test-fixture.ts b/mobile/src/session/native-chat/input/mobile-native-chat-answered-prompts.test-fixture.ts deleted file mode 100644 index 829ffd49bda..00000000000 --- a/mobile/src/session/native-chat/input/mobile-native-chat-answered-prompts.test-fixture.ts +++ /dev/null @@ -1,261 +0,0 @@ -// A structured Claude chat on the desktop, read back with `agentSession.history` after its owner -// approved a Bash call and answered an AskUserQuestion (Claude Code 2.1.300, 2026-10-15). - -import type { AgentJournalRenderItem } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' - -export const ANSWERED_PROMPT_ITEMS: AgentJournalRenderItem[] = [ - { - itemId: 'orca:1792024009236-87ed41e5430c47008ef7978ca5d60505', - revision: 0, - body: { - kind: 'message', - role: 'user', - blocks: [ - { - type: 'text', - text: 'Run the bash command: echo receipt-check > receipt.txt' - } - ] - }, - sequence: 43, - observedAt: 1792024010442, - turnScope: { - kind: 'thread' - } - }, - { - itemId: - 'orca:claude-tool%3A2ee61cec-1207-4f44-a915-b6adbcbf169b%3Atoolu_01FhhC72BuRiD3d9hXkAsURD', - revision: 2, - body: { - kind: 'tool-call', - name: 'Bash', - input: { - command: 'echo receipt-check > receipt.txt', - description: 'Write receipt-check to receipt.txt' - }, - callId: 'toolu_01FhhC72BuRiD3d9hXkAsURD', - state: 'completed', - output: { - head: '(Bash completed with no output)', - byteLength: 31, - digest: 'cac1685585590361647e7a27b58a25a590f335bfcd0ab70fcdc0424e40c20843', - truncated: false - } - }, - sequence: 46, - observedAt: 1792024014854, - turnScope: { - kind: 'turn', - turnItemId: - 'legacy:claude:2ee61cec-1207-4f44-a915-b6adbcbf169b:turn-lifecycle%3A6a80bc01-4be4-466f-bd98-5cae8368ed1d' - } - }, - { - itemId: - 'orca:claude-prompt%3Aclaude_c65b4304_2acf_4eec_a749_e06876328e0c%3A79c45210-730e-482c-82bd-db0708c992e5', - revision: 2, - body: { - kind: 'approval', - title: 'Allow Bash?', - displayName: 'Bash', - description: 'Write receipt-check to receipt.txt', - blockedPath: '/private/tmp/mnw-scratch/receipt.txt', - detail: - '{\n "command": "echo receipt-check > receipt.txt",\n "description": "Write receipt-check to receipt.txt"\n}', - options: [ - { - id: 'allow', - label: 'Allow' - }, - { - id: 'allowForSession', - label: 'Allow for this session' - }, - { - id: 'deny', - label: 'Deny' - } - ], - resolution: { - state: 'resolved', - selectedOptionId: 'allow', - resolvedBy: 'desktop-renderer', - resolvedAt: 1792024037937 - } - }, - sequence: 48, - observedAt: 1792024014910, - turnScope: { - kind: 'turn', - turnItemId: - 'legacy:claude:2ee61cec-1207-4f44-a915-b6adbcbf169b:turn-lifecycle%3A6a80bc01-4be4-466f-bd98-5cae8368ed1d' - } - }, - { - itemId: 'claude:2ee61cec-1207-4f44-a915-b6adbcbf169b:4408cf7b-bbe2-4a5d-aa80-6471db6d9c18', - revision: 2, - body: { - kind: 'message', - role: 'assistant', - blocks: [ - { - type: 'text', - text: 'I ran the command. `receipt.txt` in `/private/tmp/mnw-scratch` now holds the line `receipt-check`.' - } - ] - }, - sequence: 51, - observedAt: 1792024040901, - turnScope: { - kind: 'turn', - turnItemId: - 'legacy:claude:2ee61cec-1207-4f44-a915-b6adbcbf169b:turn-lifecycle%3A6a80bc01-4be4-466f-bd98-5cae8368ed1d' - } - }, - { - itemId: 'orca:1792024048049-e58989ce33eb411a970225d03d2e4a18', - revision: 0, - body: { - kind: 'message', - role: 'user', - blocks: [ - { - type: 'text', - text: 'Use the AskUserQuestion tool to ask me whether I prefer tea or coffee, then reply with my answer in one short sentence.' - } - ] - }, - sequence: 57, - observedAt: 1792024048075, - turnScope: { - kind: 'thread' - } - }, - { - itemId: - 'orca:claude-tool%3A2ee61cec-1207-4f44-a915-b6adbcbf169b%3Atoolu_01WByTgphD4HFByq9zPKXn2J', - revision: 2, - body: { - kind: 'tool-call', - name: 'AskUserQuestion', - input: { - questions: [ - { - question: 'Do you prefer tea or coffee?', - header: 'Drink', - multiSelect: false, - options: [ - { - label: 'Tea', - description: 'You prefer tea.' - }, - { - label: 'Coffee', - description: 'You prefer coffee.' - } - ] - } - ] - }, - callId: 'toolu_01WByTgphD4HFByq9zPKXn2J', - state: 'completed', - output: { - head: 'Your questions have been answered: "Do you prefer tea or coffee?"="Coffee". You can now continue with these answers in mind.', - byteLength: 124, - digest: '65dfb0af315c9ab1c70fc26c6c6bfb4ef0138216e35c89cf332927d10cbb629d', - truncated: false - } - }, - sequence: 60, - observedAt: 1792024052205, - turnScope: { - kind: 'turn', - turnItemId: - 'legacy:claude:2ee61cec-1207-4f44-a915-b6adbcbf169b:turn-lifecycle%3A1ea7cf09-10c6-4635-93bb-8d4b16fb1c60' - } - }, - { - itemId: - 'orca:claude-prompt%3Aclaude_c65b4304_2acf_4eec_a749_e06876328e0c%3A6fd8be6a-830f-44b4-a3ef-a7f044cd4a4f', - revision: 2, - body: { - kind: 'question', - question: 'Do you prefer tea or coffee?', - options: [ - { - id: 'q1:choice-1', - label: 'Tea', - description: 'You prefer tea.' - }, - { - id: 'q1:choice-2', - label: 'Coffee', - description: 'You prefer coffee.' - } - ], - freeTextQuestionId: 'q1', - questions: [ - { - id: 'q1', - question: 'Do you prefer tea or coffee?', - header: 'Drink', - multiSelect: false, - options: [ - { - id: 'q1:choice-1', - label: 'Tea', - description: 'You prefer tea.' - }, - { - id: 'q1:choice-2', - label: 'Coffee', - description: 'You prefer coffee.' - } - ], - freeTextQuestionId: 'q1' - } - ], - resolution: { - state: 'resolved', - selectedOptionId: 'question-group:[{"questionId":"q1","optionIds":["q1:choice-2"]}]', - answers: [ - { - questionId: 'q1', - optionIds: ['q1:choice-2'] - } - ], - resolvedBy: 'desktop-renderer', - resolvedAt: 1792024081980 - } - }, - sequence: 62, - observedAt: 1792024052228, - turnScope: { - kind: 'turn', - turnItemId: - 'legacy:claude:2ee61cec-1207-4f44-a915-b6adbcbf169b:turn-lifecycle%3A1ea7cf09-10c6-4635-93bb-8d4b16fb1c60' - } - }, - { - itemId: 'claude:2ee61cec-1207-4f44-a915-b6adbcbf169b:32c8a879-b68c-41ba-9a9e-4b844fa07890', - revision: 2, - body: { - kind: 'message', - role: 'assistant', - blocks: [ - { - type: 'text', - text: 'You prefer coffee.' - } - ] - }, - sequence: 65, - observedAt: 1792024084176, - turnScope: { - kind: 'turn', - turnItemId: - 'legacy:claude:2ee61cec-1207-4f44-a915-b6adbcbf169b:turn-lifecycle%3A1ea7cf09-10c6-4635-93bb-8d4b16fb1c60' - } - } -] diff --git a/mobile/src/session/native-chat/input/mobile-native-chat-permission-send.ts b/mobile/src/session/native-chat/input/mobile-native-chat-permission-send.ts index 8a63b5555c7..f40820cae03 100644 --- a/mobile/src/session/native-chat/input/mobile-native-chat-permission-send.ts +++ b/mobile/src/session/native-chat/input/mobile-native-chat-permission-send.ts @@ -3,11 +3,11 @@ import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import { sendMobileNativeChatMessageWithOutcome, type MobileNativeChatSendOutcome -} from '../mobile-native-chat-send' +} from '../composer/mobile-native-chat-send' import { acquireMobileNativeChatTerminalWrite, releaseMobileNativeChatTerminalWrite -} from '../mobile-native-chat-terminal-write-lock' +} from '../composer/mobile-native-chat-terminal-write-lock' export function sendMobileNativeChatPermissionResponse(args: { client: RpcClient diff --git a/mobile/src/session/mobile-prompt-controller.test.ts b/mobile/src/session/native-chat/input/mobile-prompt-controller.test.ts similarity index 90% rename from mobile/src/session/mobile-prompt-controller.test.ts rename to mobile/src/session/native-chat/input/mobile-prompt-controller.test.ts index 8b82f60e47a..c863cdd5e25 100644 --- a/mobile/src/session/mobile-prompt-controller.test.ts +++ b/mobile/src/session/native-chat/input/mobile-prompt-controller.test.ts @@ -1,11 +1,11 @@ import { act } from 'react-test-renderer' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import './native-chat/input/mobile-native-chat-prompt-dismissals' -import './mobile-structured-send-delivery' -import './structured-agent-send-result.test-fixture' -import type { RpcResponse } from '../transport/rpc/rpc-wire-types' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import type { NativeChatMessage } from '../../../src/shared/native-chat/native-chat-types' +import './mobile-native-chat-prompt-dismissals' +import '../composer/mobile-structured-send-delivery' +import '../../structured-agent-send-result.test-fixture' +import type { RpcResponse } from '../../../transport/rpc/rpc-wire-types' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' import { session, @@ -20,7 +20,7 @@ import { permissionAction, getController, askAnswer -} from './__mocks__/mobile-prompt-controller' +} from '../../__mocks__/mobile-prompt-controller' const client: RpcClient = { sendRequest: vi.fn(), diff --git a/mobile/src/session/mobile-queued-message-composer-context.ts b/mobile/src/session/native-chat/input/mobile-queued-message-composer-context.ts similarity index 80% rename from mobile/src/session/mobile-queued-message-composer-context.ts rename to mobile/src/session/native-chat/input/mobile-queued-message-composer-context.ts index c4e6382b5d6..9bfeea6fd03 100644 --- a/mobile/src/session/mobile-queued-message-composer-context.ts +++ b/mobile/src/session/native-chat/input/mobile-queued-message-composer-context.ts @@ -1,6 +1,6 @@ -import type { NativeChatSkillDiscoverySnapshot } from '../../../src/shared/native-chat/input/native-chat-picker-items' +import type { NativeChatSkillDiscoverySnapshot } from '../../../../../src/shared/native-chat/input/native-chat-picker-items' import { createContext } from 'react' -import type { MobileNativeChatStructuredComposer } from './native-chat/composer/MobileNativeChatComposer' +import type { MobileNativeChatStructuredComposer } from '../composer/mobile-native-chat-structured-composer' export const MobileQueuedMessageComposerContext = createContext<{ agent: string | null diff --git a/mobile/src/session/mobile-queued-message-edit-draft.ts b/mobile/src/session/native-chat/input/mobile-queued-message-edit-draft.ts similarity index 86% rename from mobile/src/session/mobile-queued-message-edit-draft.ts rename to mobile/src/session/native-chat/input/mobile-queued-message-edit-draft.ts index dc794e4dba1..81bf996551b 100644 --- a/mobile/src/session/mobile-queued-message-edit-draft.ts +++ b/mobile/src/session/native-chat/input/mobile-queued-message-edit-draft.ts @@ -1,5 +1,8 @@ -import type { QueuedEditLeaseLoss } from '../../../src/shared/queued-message-edit-lease' -import type { MobileStructuredAgentMutate } from './use-mobile-structured-agent-mutation' +import type { + QueuedEditLease, + QueuedEditLeaseLoss +} from '../../../../../src/shared/queued-message-edit-lease' +import type { MobileStructuredAgentMutate } from '../agent-session/use-mobile-structured-agent-mutation' import type { MobileQueuedMessageCard } from './mobile-structured-queued-message-cards' import { mobileQueuedEditValueKey, @@ -11,23 +14,22 @@ import { closeMobileNativeChatEditInputs, readMobileNativeChatDraftInputs, updateMobileNativeChatDraftInputs -} from './native-chat/composer/mobile-native-chat-draft-inputs' -import type { AgentSessionQueuedMessage } from '../../../src/shared/agent-session/requests/agent-session-queued-message-wire' -import type { AgentJournalSubmission } from '../../../src/shared/agent-session/journal/agent-session-journal-types' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import type { MobileQueuedEditLease } from './mobile-queued-message-edit-lease' -import { pickedSkillsInText } from '../../../src/shared/agent-session/requests/structured-agent-session-send-mutation' +} from '../composer/mobile-native-chat-draft-inputs' +import type { AgentSessionQueuedMessage } from '../../../../../src/shared/agent-session/requests/agent-session-queued-message-wire' +import type { AgentJournalSubmission } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import { pickedSkillsInText } from '../../../../../src/shared/agent-session/requests/structured-agent-session-send-mutation' import { queuedEditKeptImages, queuedEditTextForKeptImages, type QueuedMessageImageBlock -} from '../../../src/shared/queued-message-edit' -import { appendReturnedDraftText } from '../../../src/shared/returned-draft-text' +} from '../../../../../src/shared/queued-message-edit' +import { appendReturnedDraftText } from '../../../../../src/shared/returned-draft-text' import { setMobileNativeChatDraftText, type MobileComposerWriter -} from './native-chat/composer/mobile-native-chat-draft-store' -import { nativeChatTextWithFileReferences } from './native-chat/composer/mobile-native-chat-file-attachment' +} from '../composer/mobile-native-chat-draft-store' +import { nativeChatTextWithFileReferences } from '../composer/mobile-native-chat-file-attachment' export type MobileQueuedMessageInlineEditor = { messageId: string @@ -84,7 +86,7 @@ export type MobileQueuedEditDraft = { attempt?: MobileQueuedEditAttempt closed: boolean pendingClose: boolean - lease: MobileQueuedEditLease + lease: QueuedEditLease } export function closeMobileQueuedEditDraft( diff --git a/mobile/src/session/native-chat/input/mobile-queued-message-edit-lease.ts b/mobile/src/session/native-chat/input/mobile-queued-message-edit-lease.ts new file mode 100644 index 00000000000..616a64e4c74 --- /dev/null +++ b/mobile/src/session/native-chat/input/mobile-queued-message-edit-lease.ts @@ -0,0 +1,31 @@ +import { + startQueuedEditLease, + type QueuedEditLeaseLoss +} from '../../../../../src/shared/queued-message-edit-lease' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import { callAgentSession } from '../agent-session/mobile-structured-agent-session-rpc' +import { structuredSessionOperationId } from '../agent-session/structured-session-operation-id' + +export function startMobileQueuedEditLease(args: { + getClient: () => RpcClient | null + sessionId: string + messageId: string + expectedBodyFingerprint: string + onLost: (loss: QueuedEditLeaseLoss) => void +}) { + return startQueuedEditLease({ + sessionId: args.sessionId, + messageId: args.messageId, + editId: structuredSessionOperationId(), + expectedBodyFingerprint: args.expectedBodyFingerprint, + onLost: args.onLost, + request: (params) => { + const client = args.getClient() + return client + ? callAgentSession(client, 'agentSession.queuedMessageEditHold', params, undefined, { + failWhenDisconnected: true + }) + : Promise.reject(new Error('Disconnected')) + } + }) +} diff --git a/mobile/src/session/mobile-queued-message-edit-open.ts b/mobile/src/session/native-chat/input/mobile-queued-message-edit-open.ts similarity index 83% rename from mobile/src/session/mobile-queued-message-edit-open.ts rename to mobile/src/session/native-chat/input/mobile-queued-message-edit-open.ts index cbb6d597434..5a5d550ad2a 100644 --- a/mobile/src/session/mobile-queued-message-edit-open.ts +++ b/mobile/src/session/native-chat/input/mobile-queued-message-edit-open.ts @@ -1,16 +1,16 @@ -import type { QueuedEditLeaseLoss } from '../../../src/shared/queued-message-edit-lease' +import type { QueuedEditLeaseLoss } from '../../../../../src/shared/queued-message-edit-lease' import { queuedMessageEditableText, queuedEditKeptImages -} from '../../../src/shared/queued-message-edit' -import { agentSessionSendBodyFingerprint } from '../../../src/shared/agent-session/requests/structured-agent-session-send-mutation' -import { createUuidV4 } from '../../../src/shared/uuid-v4' +} from '../../../../../src/shared/queued-message-edit' +import { agentSessionSendBodyFingerprint } from '../../../../../src/shared/agent-session/requests/structured-agent-session-send-mutation' +import { createNonSecureContextUuid as createUuidV4 } from '../../../../../src/shared/non-secure-context-uuid' import { startMobileQueuedEditLease } from './mobile-queued-message-edit-lease' import { mobileQueuedEditValueKey } from './mobile-queued-message-edit-value' import { mobileNativeChatDraftDestination, readMobileNativeChatDraftInputs -} from './native-chat/composer/mobile-native-chat-draft-inputs' +} from '../composer/mobile-native-chat-draft-inputs' import { seedMobileQueuedEditInputs, type MobileQueuedEditDraft as Edit, diff --git a/mobile/src/session/mobile-queued-message-edit-outcome.ts b/mobile/src/session/native-chat/input/mobile-queued-message-edit-outcome.ts similarity index 89% rename from mobile/src/session/mobile-queued-message-edit-outcome.ts rename to mobile/src/session/native-chat/input/mobile-queued-message-edit-outcome.ts index ef37efd9d30..13d8ab65330 100644 --- a/mobile/src/session/mobile-queued-message-edit-outcome.ts +++ b/mobile/src/session/native-chat/input/mobile-queued-message-edit-outcome.ts @@ -1,8 +1,8 @@ -import type { AgentSessionQueuedMessageUpdateResult } from '../../../src/shared/agent-session/requests/agent-session-queued-message-wire' -import { agentSessionSendBodyFingerprint } from '../../../src/shared/agent-session/requests/structured-agent-session-send-mutation' +import type { AgentSessionQueuedMessageUpdateResult } from '../../../../../src/shared/agent-session/requests/agent-session-queued-message-wire' +import { agentSessionSendBodyFingerprint } from '../../../../../src/shared/agent-session/requests/structured-agent-session-send-mutation' import type { MobileQueuedEditDraft } from './mobile-queued-message-edit-draft' -import type { StructuredAgentSessionMutationResult } from './mobile-structured-agent-session-rpc' -import { readMobileNativeChatDraftInputs } from './native-chat/composer/mobile-native-chat-draft-inputs' +import type { StructuredAgentSessionMutationResult } from '../agent-session/mobile-structured-agent-session-rpc' +import { readMobileNativeChatDraftInputs } from '../composer/mobile-native-chat-draft-inputs' import { mobileQueuedEditValueKey } from './mobile-queued-message-edit-value' type Outcome = 'close' | 'rebase' | 'gone' | 'changed' | 'refused' | 'stay' diff --git a/mobile/src/session/mobile-queued-message-edit-value.ts b/mobile/src/session/native-chat/input/mobile-queued-message-edit-value.ts similarity index 78% rename from mobile/src/session/mobile-queued-message-edit-value.ts rename to mobile/src/session/native-chat/input/mobile-queued-message-edit-value.ts index 173aacd67b2..ebf12bbbf00 100644 --- a/mobile/src/session/mobile-queued-message-edit-value.ts +++ b/mobile/src/session/native-chat/input/mobile-queued-message-edit-value.ts @@ -1,5 +1,5 @@ -import type { MobileNativeChatDraftInputs } from './native-chat/composer/mobile-native-chat-draft-inputs' -import { pickedSkillsInText } from '../../../src/shared/agent-session/requests/structured-agent-session-send-mutation' +import type { MobileNativeChatDraftInputs } from '../composer/mobile-native-chat-draft-inputs' +import { pickedSkillsInText } from '../../../../../src/shared/agent-session/requests/structured-agent-session-send-mutation' type Image = MobileNativeChatDraftInputs['images'][number] export function sameMobileQueuedEditImage(left: Image, right: Image): boolean { diff --git a/mobile/src/session/mobile-structured-actionable-prompt.ts b/mobile/src/session/native-chat/input/mobile-structured-actionable-prompt.ts similarity index 78% rename from mobile/src/session/mobile-structured-actionable-prompt.ts rename to mobile/src/session/native-chat/input/mobile-structured-actionable-prompt.ts index 71b34891229..1a79e5a192d 100644 --- a/mobile/src/session/mobile-structured-actionable-prompt.ts +++ b/mobile/src/session/native-chat/input/mobile-structured-actionable-prompt.ts @@ -1,5 +1,5 @@ -import { pendingStructuredSessionPrompts } from '../../../src/shared/agent-session/view/structured-agent-session-message-projection' -import type { StructuredAgentSessionState } from '../../../src/shared/agent-session/structured-agent-session-reducer' +import { pendingStructuredSessionPrompts } from '../../../../../src/shared/agent-session/view/structured-agent-session-message-projection' +import type { StructuredAgentSessionState } from '../../../../../src/shared/agent-session/structured-agent-session-reducer' import type { StructuredApprovalItem, StructuredQuestionItem diff --git a/mobile/src/session/mobile-structured-agent-prompts.ts b/mobile/src/session/native-chat/input/mobile-structured-agent-prompts.ts similarity index 94% rename from mobile/src/session/mobile-structured-agent-prompts.ts rename to mobile/src/session/native-chat/input/mobile-structured-agent-prompts.ts index 93a3bb5d7ed..ace186b66e5 100644 --- a/mobile/src/session/mobile-structured-agent-prompts.ts +++ b/mobile/src/session/native-chat/input/mobile-structured-agent-prompts.ts @@ -1,11 +1,11 @@ -import type { AgentJournalRenderItem } from '../../../src/shared/agent-session/journal/agent-session-journal-types' +import type { AgentJournalRenderItem } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' import { agentSessionPromptQuestions, type AgentSessionQuestionAnswer -} from '../../../src/shared/agent-session/agent-session-question-answer' -import { chatApprovalFromJournal } from '../../../src/shared/native-chat/input/native-chat-interactive-prompt' -import type { MobileChatPermission } from './native-chat/input/mobile-native-chat-permission' -import type { MobileChatQuestion } from './native-chat/input/mobile-native-chat-question' +} from '../../../../../src/shared/agent-session/agent-session-question-answer' +import { chatApprovalFromJournal } from '../../../../../src/shared/native-chat/input/native-chat-interactive-prompt' +import type { MobileChatPermission } from './mobile-native-chat-permission' +import type { MobileChatQuestion } from './mobile-native-chat-question' export type StructuredApprovalItem = AgentJournalRenderItem & { body: Extract diff --git a/mobile/src/session/mobile-structured-queued-message-cards.ts b/mobile/src/session/native-chat/input/mobile-structured-queued-message-cards.ts similarity index 78% rename from mobile/src/session/mobile-structured-queued-message-cards.ts rename to mobile/src/session/native-chat/input/mobile-structured-queued-message-cards.ts index 42d009d89bd..3730aa220fe 100644 --- a/mobile/src/session/mobile-structured-queued-message-cards.ts +++ b/mobile/src/session/native-chat/input/mobile-structured-queued-message-cards.ts @@ -1,18 +1,18 @@ -import { stripSentImagePromptMarkers } from '../../../src/shared/native-chat/transcript/native-chat-image-transcript-markers' -import type { AgentSessionFailureFact } from '../../../src/shared/agent-session/failures/agent-session-failure' -import { mobileAgentSessionWriteNoticeText } from './agent-session-write-notice-copy' -import type { AgentJournalSubmission } from '../../../src/shared/agent-session/journal/agent-session-journal-types' +import { stripSentImagePromptMarkers } from '../../../../../src/shared/native-chat/transcript/native-chat-image-transcript-markers' +import type { AgentSessionFailureFact } from '../../../../../src/shared/agent-session/failures/agent-session-failure' +import { mobileAgentSessionWriteNoticeText } from '../agent-session/agent-session-write-notice-copy' +import type { AgentJournalSubmission } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' import { QUEUED_MESSAGE_PAUSED_SEND_FAILED, type AgentSessionQueuedMessage -} from '../../../src/shared/agent-session/requests/agent-session-queued-message-wire' +} from '../../../../../src/shared/agent-session/requests/agent-session-queued-message-wire' import { projectQueuedMessageCards, queuedMessageCardLine, queuedMessageCardNeedsAttention, queuedMessageReturnedNotice, type QueuedMessageCard -} from '../../../src/shared/agent-session/view/structured-agent-session-queued-cards' +} from '../../../../../src/shared/agent-session/view/structured-agent-session-queued-cards' // The shared projection decides each card's hold; this layer words it for the phone. export type MobileQueuedMessageCard = QueuedMessageCard & { diff --git a/mobile/src/session/use-mobile-background-task-stops.ts b/mobile/src/session/native-chat/input/use-mobile-background-task-stops.ts similarity index 97% rename from mobile/src/session/use-mobile-background-task-stops.ts rename to mobile/src/session/native-chat/input/use-mobile-background-task-stops.ts index 7f70d3c67d3..f9031d89e2b 100644 --- a/mobile/src/session/use-mobile-background-task-stops.ts +++ b/mobile/src/session/native-chat/input/use-mobile-background-task-stops.ts @@ -2,7 +2,7 @@ import { useRef, useState } from 'react' import { structuredSessionConfirmedStopsStillListed, structuredSessionListedTaskRun -} from '../../../src/shared/structured-session-background-tasks-view' +} from '../../../../../src/shared/structured-session-background-tasks-view' import type { MobileStructuredBackgroundTasks } from './use-mobile-structured-background-tasks' export type MobileBackgroundTaskStopping = { taskIds: ReadonlySet; all: boolean } diff --git a/mobile/src/session/native-chat/input/use-mobile-bridge-chat-prompt-writes.ts b/mobile/src/session/native-chat/input/use-mobile-bridge-chat-prompt-writes.ts new file mode 100644 index 00000000000..d2d918cc4f8 --- /dev/null +++ b/mobile/src/session/native-chat/input/use-mobile-bridge-chat-prompt-writes.ts @@ -0,0 +1,64 @@ +import type { MutableRefObject } from 'react' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import { useMobileNativeChatPermissionSend } from './mobile-native-chat-permission-send' +import { useMobileNativeChatAnswerSend } from './use-mobile-native-chat-answer-send' +import { useMobileNativeChatCancelAsk } from './use-mobile-native-chat-cancel-ask' +import { useMobileNativeChatStop } from '../composer/use-mobile-native-chat-stop' +import type { MobileNativeChatAnswerSend } from './use-mobile-native-chat-answer-send' + +// Share the bridge write gate and cancel pending answer groups before interrupting; structured prompts use RPC instead. +export function useMobileBridgeChatPromptWrites(args: { + client: RpcClient | null + enabled: boolean + handleRef: MutableRefObject + deviceTokenRef: MutableRefObject + agentRef: MutableRefObject + /** Changes on chat session swap; cancels pending writes when it does. */ + sessionId: string | null + streamIdentity: string + onSendError: (message: string) => void +}): { + answerAsk: MobileNativeChatAnswerSend['answerAsk'] + cancelAsk: () => Promise + respondPermission: (send: string) => Promise + stop: () => Promise +} { + const { client, enabled, handleRef, deviceTokenRef, streamIdentity, onSendError } = args + const { answerAsk, cancelPending } = useMobileNativeChatAnswerSend({ + client, + enabled, + handleRef, + deviceTokenRef, + agentRef: args.agentRef, + sessionId: args.sessionId, + streamIdentity, + onSendError + }) + const cancelAsk = useMobileNativeChatCancelAsk({ + client, + enabled, + handleRef, + deviceTokenRef, + agentRef: args.agentRef, + cancelPending, + onSendError + }) + const respondPermission = useMobileNativeChatPermissionSend({ + client, + enabled, + handleRef, + deviceTokenRef, + onSendError + }) + const stop = useMobileNativeChatStop({ + client, + enabled, + handleRef, + deviceTokenRef, + agentRef: args.agentRef, + streamIdentity, + cancelPending, + onSendError + }) + return { answerAsk, cancelAsk, respondPermission, stop } +} diff --git a/mobile/src/session/use-mobile-host-model-catalog-upgrade.ts b/mobile/src/session/native-chat/input/use-mobile-host-model-catalog-upgrade.ts similarity index 87% rename from mobile/src/session/use-mobile-host-model-catalog-upgrade.ts rename to mobile/src/session/native-chat/input/use-mobile-host-model-catalog-upgrade.ts index abb401f3d43..8075148cddf 100644 --- a/mobile/src/session/use-mobile-host-model-catalog-upgrade.ts +++ b/mobile/src/session/native-chat/input/use-mobile-host-model-catalog-upgrade.ts @@ -1,16 +1,16 @@ import { useCallback, useEffect, useRef, useState, type MutableRefObject } from 'react' -import type { AgentSessionModelCatalogResult } from '../../../src/shared/agent-session/agent-session-wire' -import type { AgentSessionOptionCatalog } from '../../../src/shared/agent-session/options/agent-session-option-catalog-types' -import type { StructuredAgentSessionOptionRecord } from '../../../src/shared/agent-session/options/structured-agent-session-option-state' -import type { StructuredAgentSessionOptionState } from '../../../src/shared/agent-session/options/structured-agent-session-options' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' +import type { AgentSessionModelCatalogResult } from '../../../../../src/shared/agent-session/agent-session-wire' +import type { AgentSessionOptionCatalog } from '../../../../../src/shared/agent-session/options/agent-session-option-catalog-types' +import type { StructuredAgentSessionOptionRecord } from '../../../../../src/shared/agent-session/options/structured-agent-session-option-state' +import type { StructuredAgentSessionOptionState } from '../../../../../src/shared/agent-session/options/structured-agent-session-options' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import { isHostModelListingWaitInFlight, joinHostModelListingWait -} from '../../../src/shared/host-model-listing-waits' -import { callAgentSession } from './mobile-structured-agent-session-rpc' -import { usesModelSpecificAcpEfforts } from '../../../src/shared/agent-session/options/agent-model-catalog-ownership' -import type { HostModelCatalogLaunch } from '../../../src/shared/agent-session/options/host-model-catalog-snapshot-rules' +} from '../../../../../src/shared/host-model-listing-waits' +import { callAgentSession } from '../agent-session/mobile-structured-agent-session-rpc' +import { usesModelSpecificAcpEfforts } from '../../../../../src/shared/agent-session/options/agent-model-catalog-ownership' +import type { HostModelCatalogLaunch } from '../../../../../src/shared/agent-session/options/host-model-catalog-snapshot-rules' /** This world's last host lists for one chat's agent (`useHostModelCatalogCache`). A port, so this hook's * module graph stays free of the query layer for the root-only tests that bundle it. */ diff --git a/mobile/src/session/native-chat/input/use-mobile-native-chat-answer-send.ts b/mobile/src/session/native-chat/input/use-mobile-native-chat-answer-send.ts index b5ba3e86b04..c14ccdac4fd 100644 --- a/mobile/src/session/native-chat/input/use-mobile-native-chat-answer-send.ts +++ b/mobile/src/session/native-chat/input/use-mobile-native-chat-answer-send.ts @@ -8,16 +8,16 @@ import { import type { AskAnswerSelection } from '../../../../../src/shared/native-chat/input/native-chat-ask-answer' import type { AskPrompt } from '../../../../../src/shared/native-chat/input/native-chat-ask-types' import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' -import { MOBILE_NATIVE_CHAT_QUESTION_STEP_MS } from './mobile-native-chat-answer-stepping' +import { NATIVE_CHAT_QUESTION_STEP_MS } from '../../../../../src/shared/native-chat/input/native-chat-answer-stepping' import { openMobileNativeChatSendBudget, sendMobileNativeChatMessageWithOutcome -} from '../mobile-native-chat-send' -import { healMobileNativeChatStaleInput } from '../mobile-native-chat-stale-input' +} from '../composer/mobile-native-chat-send' +import { healMobileNativeChatStaleInput } from '../composer/mobile-native-chat-stale-input' import { acquireMobileNativeChatTerminalWrite, releaseMobileNativeChatTerminalWrite -} from '../mobile-native-chat-terminal-write-lock' +} from '../composer/mobile-native-chat-terminal-write-lock' import { nativeChatAskRequiresTerminal, resolveNativeChatTranscriptAgent, @@ -229,11 +229,11 @@ export function useMobileNativeChatAnswerSend(args: { return fail() } if (index < groups.length - 1) { - if (!(await wait(MOBILE_NATIVE_CHAT_QUESTION_STEP_MS))) { + if (!(await wait(NATIVE_CHAT_QUESTION_STEP_MS))) { return false } // Pacing is deliberate, not transport latency — don't charge it to the budget. - deadline += MOBILE_NATIVE_CHAT_QUESTION_STEP_MS + deadline += NATIVE_CHAT_QUESTION_STEP_MS } } return groups.length > 0 && writeTurnsRef.current.get(handle) === turn diff --git a/mobile/src/session/native-chat/input/use-mobile-native-chat-cancel-ask.ts b/mobile/src/session/native-chat/input/use-mobile-native-chat-cancel-ask.ts index ea463e43a4e..64edb4f80de 100644 --- a/mobile/src/session/native-chat/input/use-mobile-native-chat-cancel-ask.ts +++ b/mobile/src/session/native-chat/input/use-mobile-native-chat-cancel-ask.ts @@ -1,7 +1,7 @@ import { useCallback, type MutableRefObject } from 'react' import { nativeChatAskRequiresTerminal } from '../../../../../src/shared/native-chat/native-chat-agent-support' import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' -import { sendMobileNativeChatMessageWithOutcome } from '../mobile-native-chat-send' +import { sendMobileNativeChatMessageWithOutcome } from '../composer/mobile-native-chat-send' export function useMobileNativeChatCancelAsk(args: { client: RpcClient | null diff --git a/mobile/src/session/use-mobile-native-chat-model-discovery.ts b/mobile/src/session/native-chat/input/use-mobile-native-chat-model-discovery.ts similarity index 86% rename from mobile/src/session/use-mobile-native-chat-model-discovery.ts rename to mobile/src/session/native-chat/input/use-mobile-native-chat-model-discovery.ts index 4eb3bd930b6..fbdcb937d30 100644 --- a/mobile/src/session/use-mobile-native-chat-model-discovery.ts +++ b/mobile/src/session/native-chat/input/use-mobile-native-chat-model-discovery.ts @@ -1,12 +1,12 @@ import { useEffect, useState } from 'react' import * as z from 'zod' -import { getAgentSessionOptionCatalog } from '../../../src/shared/agent-session/options/agent-session-option-catalog' -import type { CatalogModel } from '../../../src/shared/agent-session/options/agent-session-option-catalog-types' +import { getAgentSessionOptionCatalog } from '../../../../../src/shared/agent-session/options/agent-session-option-catalog' +import type { CatalogModel } from '../../../../../src/shared/agent-session/options/agent-session-option-catalog-types' import { catalogModelsFromModelDiscovery, mergeDiscoveredCatalogModels -} from '../../../src/shared/native-chat/input/native-chat-discovered-catalog-models' -import { defineRpcOperation, runRpcOperation } from '../transport/rpc/rpc-operation' +} from '../../../../../src/shared/native-chat/input/native-chat-discovered-catalog-models' +import { defineRpcOperation, runRpcOperation } from '../../../transport/rpc/rpc-operation' const discoveredModel = z.object({ id: z.string().min(1), diff --git a/mobile/src/session/native-chat/input/use-mobile-native-chat-prompt-cards.ts b/mobile/src/session/native-chat/input/use-mobile-native-chat-prompt-cards.ts index 77342854952..bbbf9b4b9f0 100644 --- a/mobile/src/session/native-chat/input/use-mobile-native-chat-prompt-cards.ts +++ b/mobile/src/session/native-chat/input/use-mobile-native-chat-prompt-cards.ts @@ -1,6 +1,6 @@ import type { MobileNativeChatController } from '../mobile-native-chat-controller-contract' -import type { useMobileStructuredAgentSession } from '../../use-mobile-structured-agent-session' -import { useNativeChatAcceptedAction } from '../../use-native-chat-action-outcomes' +import type { useMobileStructuredAgentSession } from '../agent-session/use-mobile-structured-agent-session' +import { useNativeChatAcceptedAction } from './use-native-chat-action-outcomes' import { useMobileNativeChatPromptPresentation } from './use-mobile-native-chat-prompt-presentation' export function useMobileNativeChatPromptCards({ @@ -45,7 +45,10 @@ export function useMobileNativeChatPromptCards({ handleNativeChatQuestionAnswer: structured?.respondQuestion, // A card's X stops its turn; a Pi dialog can open with no turn running, and then nothing can. handleNativeChatCancelPrompt: structured?.turnId ? cancel : undefined, - collapseNativeChatPrompt: structured ? undefined : presentation.collapsePrompt, + collapseNativeChatPrompt: + structured || presentation.permission?.holdsComposer + ? undefined + : presentation.collapsePrompt, nativeChatCollapsedPrompt: structured ? null : presentation.collapsed } } diff --git a/mobile/src/session/use-mobile-native-chat-prompt-controller.ts b/mobile/src/session/native-chat/input/use-mobile-native-chat-prompt-controller.ts similarity index 81% rename from mobile/src/session/use-mobile-native-chat-prompt-controller.ts rename to mobile/src/session/native-chat/input/use-mobile-native-chat-prompt-controller.ts index 27590badf9f..9d4b146565c 100644 --- a/mobile/src/session/use-mobile-native-chat-prompt-controller.ts +++ b/mobile/src/session/native-chat/input/use-mobile-native-chat-prompt-controller.ts @@ -1,14 +1,14 @@ -import { useMobileAsyncQuestionHides } from './native-chat/input/use-mobile-native-chat-prompt-dismiss' -import type { AskPrompt } from '../../../src/shared/native-chat/input/native-chat-ask-types' -import type { AskAnswerSelection } from '../../../src/shared/native-chat/input/native-chat-ask-answer' -import type { AgentStatusEntry } from '../../../src/shared/agent-status/contracts/agent-status-types' -import type { MobileNativeChatController } from './native-chat/mobile-native-chat-controller-contract' +import { useMobileAsyncQuestionHides } from './use-mobile-native-chat-prompt-dismiss' +import type { AskPrompt } from '../../../../../src/shared/native-chat/input/native-chat-ask-types' +import type { AskAnswerSelection } from '../../../../../src/shared/native-chat/input/native-chat-ask-answer' +import type { AgentStatusEntry } from '../../../../../src/shared/agent-status/contracts/agent-status-types' +import type { MobileNativeChatController } from '../mobile-native-chat-controller-contract' import type { useMobileBridgeChatPromptWrites } from './use-mobile-bridge-chat-prompt-writes' -import { useMobileNativeChatAskDismiss } from './native-chat/input/use-mobile-native-chat-ask-dismiss' -import { useMobileNativeChatPromptCards } from './native-chat/input/use-mobile-native-chat-prompt-cards' -import { useMobileNativeChatPrompts } from './native-chat/input/use-mobile-native-chat-prompts' -import type { useMobileNativeChatSession } from './native-chat/use-mobile-native-chat-session' -import type { useMobileStructuredAgentSession } from './use-mobile-structured-agent-session' +import { useMobileNativeChatAskDismiss } from './use-mobile-native-chat-ask-dismiss' +import { useMobileNativeChatPromptCards } from './use-mobile-native-chat-prompt-cards' +import { useMobileNativeChatPrompts } from './use-mobile-native-chat-prompts' +import type { useMobileNativeChatSession } from '../use-mobile-native-chat-session' +import type { useMobileStructuredAgentSession } from '../agent-session/use-mobile-structured-agent-session' import { useNativeChatAcceptedAction } from './use-native-chat-action-outcomes' // Read the chat's ask and permission/question prompts and route their answers to the active lane. diff --git a/mobile/src/session/native-chat/input/use-mobile-native-chat-prompt-presentation.ts b/mobile/src/session/native-chat/input/use-mobile-native-chat-prompt-presentation.ts index 9da6c56f08b..42ba4322b44 100644 --- a/mobile/src/session/native-chat/input/use-mobile-native-chat-prompt-presentation.ts +++ b/mobile/src/session/native-chat/input/use-mobile-native-chat-prompt-presentation.ts @@ -41,12 +41,13 @@ export function useMobileNativeChatPromptPresentation({ const respond = useCallback( async (send: string): Promise => { const accepted = await respondPermission(send) - if (accepted) { + // A folder-trust dialog stays up until the host settles it; the card keeps the composer locked meanwhile. + if (accepted && !permission?.holdsComposer) { dismissPrompt() } return accepted }, - [respondPermission, dismissPrompt] + [respondPermission, dismissPrompt, permission?.holdsComposer] ) return { occurrenceKey: promptKey === null ? null : JSON.stringify([scopeKey, sessionKey, promptKey]), diff --git a/mobile/src/session/native-chat/input/use-mobile-native-chat-prompts.ts b/mobile/src/session/native-chat/input/use-mobile-native-chat-prompts.ts index 06d37d90677..309e699626d 100644 --- a/mobile/src/session/native-chat/input/use-mobile-native-chat-prompts.ts +++ b/mobile/src/session/native-chat/input/use-mobile-native-chat-prompts.ts @@ -14,7 +14,7 @@ import type { NativeChatMessage } from '../../../../../src/shared/native-chat/na import { useMobileStructuredAsyncQuestion, type MobileStructuredAskSession -} from '../../use-mobile-structured-async-question' +} from './use-mobile-structured-async-question' export type MobileNativeChatPrompts = { /** A terminal chat's approval; a structured chat's journal prompts are its own cards. */ diff --git a/mobile/src/session/native-chat/input/use-mobile-native-chat-queued-edit-focus.test.tsx b/mobile/src/session/native-chat/input/use-mobile-native-chat-queued-edit-focus.test.tsx deleted file mode 100644 index 2afa78903dc..00000000000 --- a/mobile/src/session/native-chat/input/use-mobile-native-chat-queued-edit-focus.test.tsx +++ /dev/null @@ -1,67 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { useMobileNativeChatQueuedEditFocus } from './use-mobile-native-chat-queued-edit-focus' -import type { MobileQueuedMessageEdit } from '../../use-mobile-structured-queued-message-controls' - -type Focus = ReturnType - -describe('useMobileNativeChatQueuedEditFocus', () => { - let renderer: ReactTestRenderer | null = null - let latest: Focus | null = null - - function Harness({ onEdit }: { onEdit?: MobileQueuedMessageEdit }): null { - latest = useMobileNativeChatQueuedEditFocus(onEdit) - return null - } - - beforeEach(() => { - vi.stubGlobal('requestAnimationFrame', (callback: FrameRequestCallback) => - setTimeout(() => callback(0), 0) - ) - }) - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - latest = null - vi.unstubAllGlobals() - }) - - it('focuses the composer after Edit copies a queued message into it', async () => { - const onEdit = vi.fn(async (_messageId, onCopied) => { - onCopied?.() - return false - }) - await act(async () => { - renderer = create(createElement(Harness, { onEdit })) - }) - const focus = vi.fn() - const inputRef: { current: unknown } = latest!.composerInputRef - inputRef.current = { focus } - let edited: boolean | undefined - await act(async () => { - edited = await latest!.editQueuedMessage!('queued-1') - await new Promise((resolve) => setTimeout(resolve, 0)) - }) - expect(onEdit).toHaveBeenCalledWith('queued-1', expect.any(Function)) - // A failed Delete still leaves the copied text in the composer, so focus regardless. - expect(focus).toHaveBeenCalledTimes(1) - expect(edited).toBe(false) - }) - - it('leaves focus alone when Edit copied nothing', async () => { - const onEdit = vi.fn(async () => false) - await act(async () => { - renderer = create(createElement(Harness, { onEdit })) - }) - const focus = vi.fn() - const inputRef: { current: unknown } = latest!.composerInputRef - inputRef.current = { focus } - await act(async () => { - await latest!.editQueuedMessage!('queued-1') - await new Promise((resolve) => setTimeout(resolve, 0)) - }) - expect(focus).not.toHaveBeenCalled() - }) -}) diff --git a/mobile/src/session/native-chat/input/use-mobile-native-chat-queued-edit-focus.ts b/mobile/src/session/native-chat/input/use-mobile-native-chat-queued-edit-focus.ts index 730c71eeb63..79777e6a83e 100644 --- a/mobile/src/session/native-chat/input/use-mobile-native-chat-queued-edit-focus.ts +++ b/mobile/src/session/native-chat/input/use-mobile-native-chat-queued-edit-focus.ts @@ -1,6 +1,6 @@ import { useMemo, useRef, type RefObject } from 'react' import type { TextInput } from 'react-native' -import type { MobileQueuedMessageEdit } from '../../use-mobile-structured-queued-message-controls' +import type { MobileQueuedMessageEdit } from './use-mobile-structured-queued-message-controls' // Focus after a queued Edit actually copies text; empty copies preserve current focus. export function useMobileNativeChatQueuedEditFocus(onEdit: MobileQueuedMessageEdit | undefined): { diff --git a/mobile/src/session/native-chat/input/use-mobile-native-chat-reply-scroll.ts b/mobile/src/session/native-chat/input/use-mobile-native-chat-reply-scroll.ts index 9226a6f7f2f..fe9fd376050 100644 --- a/mobile/src/session/native-chat/input/use-mobile-native-chat-reply-scroll.ts +++ b/mobile/src/session/native-chat/input/use-mobile-native-chat-reply-scroll.ts @@ -1,18 +1,11 @@ import { useRef } from 'react' -import type { - LayoutChangeEvent, - NativeScrollEvent, - NativeSyntheticEvent, - ScrollView, - TextInput -} from 'react-native' +import type { LayoutChangeEvent, ScrollView, TextInput } from 'react-native' // Keep a focused reply in view when its card shrinks above the keyboard. export function useMobileNativeChatReplyScroll() { const scrollRef = useRef(null) const inputRef = useRef(null) const viewportHeight = useRef(0) - const scrollOffset = useRef(0) const revealReply = (): void => { if (inputRef.current?.isFocused()) { scrollRef.current?.scrollToEnd({ animated: false }) @@ -27,31 +20,5 @@ export function useMobileNativeChatReplyScroll() { revealReply() } } - const onScroll = (event: NativeSyntheticEvent): void => { - scrollOffset.current = event.nativeEvent.contentOffset.y - } - // Scroll just enough to show content that opened below the visible edge, never past its top. - const revealContent = (top: number, bottom: number): void => { - const hidden = bottom - (scrollOffset.current + viewportHeight.current) - if (viewportHeight.current > 0 && hidden > 0) { - scrollRef.current?.scrollTo({ - y: Math.min(scrollOffset.current + hidden, top), - animated: true - }) - } - } - const scrollViewProps = { - ref: scrollRef, - onLayout: onViewportLayout, - onScroll, - scrollEventThrottle: 16 - } - return { - scrollRef, - inputRef, - revealReply, - onViewportLayout, - scrollViewProps, - revealContent - } + return { scrollRef, inputRef, revealReply, onViewportLayout } } diff --git a/mobile/src/session/native-chat/input/use-mobile-native-chat-session-option-controller.test.ts b/mobile/src/session/native-chat/input/use-mobile-native-chat-session-option-controller.test.ts deleted file mode 100644 index eb536f1e1c3..00000000000 --- a/mobile/src/session/native-chat/input/use-mobile-native-chat-session-option-controller.test.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it, vi } from 'vitest' -import { useMobileNativeChatSessionOptionController } from './use-mobile-native-chat-session-option-controller' - -describe('useMobileNativeChatSessionOptionController on a structured chat', () => { - let renderer: ReactTestRenderer | null = null - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - }) - - it("keeps the chat's /clear and /compact when its agent lists no models", () => { - const seen: { current: ReturnType | null } = - { current: null } - function Harness(): null { - seen.current = useMobileNativeChatSessionOptionController({ - activeChatStructured: true, - activeSessionTabId: 'omp-tab', - agent: 'omp', - dispatchCommand: vi.fn(), - hostId: 'host', - isTabChatView: () => true, - isWorking: false, - reportedModel: null, - structured: { - conversationCommands: ['clear', 'compact'], - snapshot: [], - pendingId: null, - setOption: vi.fn(), - invokeAction: vi.fn() - }, - toggleTabChatView: vi.fn(), - worktreeId: 'worktree' - }) - return null - } - act(() => { - renderer = create(createElement(Harness)) - }) - expect(seen.current?.nativeChatSessionOptions?.controller.conversationCommands).toEqual([ - 'clear', - 'compact' - ]) - }) -}) diff --git a/mobile/src/session/native-chat/input/use-mobile-native-chat-session-option-controller.ts b/mobile/src/session/native-chat/input/use-mobile-native-chat-session-option-controller.ts index 66d2403ae64..fc87fe07d76 100644 --- a/mobile/src/session/native-chat/input/use-mobile-native-chat-session-option-controller.ts +++ b/mobile/src/session/native-chat/input/use-mobile-native-chat-session-option-controller.ts @@ -1,5 +1,5 @@ import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' -import { useMobileNativeChatModelDiscovery } from '../../use-mobile-native-chat-model-discovery' +import { useMobileNativeChatModelDiscovery } from './use-mobile-native-chat-model-discovery' import { writeMobileNativeChatSessionOptions } from './mobile-native-chat-session-option-persistence' import { getAgentSessionOptionCatalog } from '../../../../../src/shared/agent-session/options/agent-session-option-catalog' import type { AgentSessionOptionCatalog } from '../../../../../src/shared/agent-session/options/agent-session-option-catalog-types' @@ -12,7 +12,7 @@ import type { SessionOptionsSurface } from '../../../../../src/shared/native-chat/input/native-chat-session-options' import { mobileNativeChatScopeKey } from '../mobile-native-chat-scope-key' -import type { MobileNativeChatSendOutcome } from '../mobile-native-chat-send' +import type { MobileNativeChatSendOutcome } from '../composer/mobile-native-chat-send' import type { MobileNativeChatSessionOptionPickersProps } from './MobileNativeChatSessionOptionPickers' import { useMobileNativeChatSessionOptions, diff --git a/mobile/src/session/native-chat/input/use-mobile-native-chat-session-options.test.ts b/mobile/src/session/native-chat/input/use-mobile-native-chat-session-options.test.ts index 6a856612617..b468e8e6d15 100644 --- a/mobile/src/session/native-chat/input/use-mobile-native-chat-session-options.test.ts +++ b/mobile/src/session/native-chat/input/use-mobile-native-chat-session-options.test.ts @@ -1,18 +1,10 @@ +import { randomUUID } from 'node:crypto' import { createElement } from 'react' import { act, create, type ReactTestRenderer } from 'react-test-renderer' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { MobileNativeChatSendOutcome } from '../mobile-native-chat-send' +import type { MobileNativeChatSendOutcome } from '../composer/mobile-native-chat-send' + import { - applyNativeChatSessionOptionSettingsMutation, - resolveNativeChatSessionOptionDefaults -} from '../../../../../src/shared/native-chat/input/native-chat-session-option-defaults' -import { resolveAgentSessionOptionLaunch } from '../../../../../src/shared/agent-session/options/agent-session-option-launch' -import type { - PersistedNativeChatSessionOptions, - NativeChatSessionOptionSettingsMutation -} from '../../../../../src/shared/native-chat/input/native-chat-session-options' -import { - clearMobileSessionOptionRecordsForTests, useMobileNativeChatSessionOptions, type MobileNativeChatSessionOptionsController } from './use-mobile-native-chat-session-options' @@ -23,6 +15,8 @@ describe('useMobileNativeChatSessionOptions', () => { let renderer: ReactTestRenderer | null = null let api: MobileNativeChatSessionOptionsController | null = null let hookArgs: HookArgs + let hostId: string + const scopeKey = (tabId: string): string => `${hostId}\0worktree\0${tabId}` const dispatchCommand = vi.fn() const onAgentPicker = vi.fn() @@ -34,7 +28,7 @@ describe('useMobileNativeChatSessionOptions', () => { const mount = (overrides: Partial = {}): void => { hookArgs = { agent: 'claude', - scopeKey: 'host\0worktree\0tab', + scopeKey: scopeKey('tab'), reportedModel: null, dispatchCommand, onAgentPicker, @@ -53,7 +47,7 @@ describe('useMobileNativeChatSessionOptions', () => { } beforeEach(() => { - clearMobileSessionOptionRecordsForTests() + hostId = `mobile-session-options-test-${randomUUID()}` dispatchCommand.mockReset() dispatchCommand.mockResolvedValue('accepted') onAgentPicker.mockReset() @@ -66,66 +60,6 @@ describe('useMobileNativeChatSessionOptions', () => { api = null }) - it.each([ - ['grok', true], - ['grok', false], - ['omp', true], - ['omp', false] - ] as const)( - '%s discovery cached=%s writes only an explicit owning-host pick', - async (agent, cached) => { - let persisted: PersistedNativeChatSessionOptions = { [agent]: { model: 'retired' } } - const writeOwner = vi.fn((mutation: NativeChatSessionOptionSettingsMutation) => { - persisted = applyNativeChatSessionOptionSettingsMutation(persisted, mutation) ?? persisted - }) - const writeOther = vi.fn() - const model = agent === 'grok' ? 'grok-4.7' : 'deepseek/deepseek-v4-pro' - const discoveredModels = [{ id: model, label: model, options: [] }] - mount({ - agent, - scopeKey: 'owner\0worktree\0tab', - reportedModel: 'retired', - modelSwitchCommand: 'orca-model', - writeSettings: writeOwner, - discoveredModels: cached ? discoveredModels : null - }) - if (!cached) { - update({ discoveredModels }) - } - expect(writeOwner).not.toHaveBeenCalled() - expect( - resolveAgentSessionOptionLaunch( - agent, - resolveNativeChatSessionOptionDefaults(persisted, agent) - ).args - ).toContain('retired') - await act(async () => { - expect(await api!.setOption('model', model)).toBe(true) - }) - expect(writeOwner).toHaveBeenCalledOnce() - expect( - resolveAgentSessionOptionLaunch( - agent, - resolveNativeChatSessionOptionDefaults(persisted, agent) - ).args - ).toContain(model) - update({ scopeKey: 'other\0worktree\0tab', writeSettings: writeOther }) - expect(writeOwner).toHaveBeenCalledOnce() - expect(writeOther).not.toHaveBeenCalled() - } - ) - - it('starts over when the tab runs another agent and then a fresh session', async () => { - mount({ reportedModel: 'claude-sonnet-5' }) - await act(async () => { - await api!.setOption('model', 'opus') - }) - update({ agent: 'codex', reportedModel: null }) - update({ agent: 'claude', reportedModel: 'claude-sonnet-5' }) - expect(api!.snapshot[0]).toMatchObject({ valueSource: 'reported' }) - expect(api!.snapshot[0]!.kind).toMatchObject({ currentValue: 'sonnet' }) - }) - it('drops a write that lands after the tab started another agent', async () => { let resolveModel!: (outcome: MobileNativeChatSendOutcome) => void dispatchCommand.mockImplementationOnce( @@ -164,8 +98,8 @@ describe('useMobileNativeChatSessionOptions', () => { picked = api!.setOption('model', 'opus') await Promise.resolve() }) - update({ scopeKey: 'host\0worktree\0other-tab' }) - update({ scopeKey: 'host\0worktree\0tab' }) + update({ scopeKey: scopeKey('other-tab') }) + update({ scopeKey: scopeKey('tab') }) await act(async () => { resolveModel('accepted') await picked @@ -200,22 +134,8 @@ describe('useMobileNativeChatSessionOptions', () => { }) expect(api!.snapshot[0]!.kind).toMatchObject({ currentValue: 'opus' }) // Re-entering repeats session-start evidence that predates later user picks. - update({ scopeKey: 'host\0worktree\0other' }) - update({ scopeKey: 'host\0worktree\0tab' }) - expect(api!.snapshot[0]).toMatchObject({ valueSource: 'dispatched' }) - expect(api!.snapshot[0]!.kind).toMatchObject({ currentValue: 'opus' }) - }) - - it('keeps the live tab’s tracked model when other tabs overflow the record cap', async () => { - mount() - await act(async () => { - await api!.setOption('model', 'opus') - }) - // Repeatedly touch the live tab while exceeding capacity so insertion-order eviction would lose it. - for (let index = 0; index < 40; index += 1) { - update({ scopeKey: `host\0worktree\0overflow-${index}` }) - update({ scopeKey: 'host\0worktree\0tab' }) - } + update({ scopeKey: scopeKey('other') }) + update({ scopeKey: scopeKey('tab') }) expect(api!.snapshot[0]).toMatchObject({ valueSource: 'dispatched' }) expect(api!.snapshot[0]!.kind).toMatchObject({ currentValue: 'opus' }) }) @@ -266,7 +186,7 @@ describe('useMobileNativeChatSessionOptions', () => { queued = api!.setOption('model', 'opus') await Promise.resolve() }) - update({ scopeKey: 'host\0worktree\0other-tab' }) + update({ scopeKey: scopeKey('other-tab') }) await act(async () => { resolveFirst('accepted') await first diff --git a/mobile/src/session/native-chat/input/use-mobile-native-chat-session-options.ts b/mobile/src/session/native-chat/input/use-mobile-native-chat-session-options.ts index 0158d5b3fc8..f5351f62cfa 100644 --- a/mobile/src/session/native-chat/input/use-mobile-native-chat-session-options.ts +++ b/mobile/src/session/native-chat/input/use-mobile-native-chat-session-options.ts @@ -19,13 +19,12 @@ import type { SessionOptionDescriptor, SessionOptionValue } from '../../../../../src/shared/native-chat/input/native-chat-session-options' -import type { MobileNativeChatSendOutcome } from '../mobile-native-chat-send' +import type { MobileNativeChatSendOutcome } from '../composer/mobile-native-chat-send' import { createNativeChatPtySessionOptions, type NativeChatPtySessionOptionsSurface } from '../../../../../src/shared/native-chat/input/native-chat-pty-session-options' import { - clearNativeChatSessionOptionCacheForTests, readNativeChatSessionOptionCache, writeNativeChatSessionOptionCache } from '../../../../../src/shared/native-chat/input/native-chat-session-option-cache' @@ -84,11 +83,6 @@ const getEmptySnapshot = (): SessionOptionDescriptor[] => EMPTY_SNAPSHOT // Kept across remounts: a repeated hook model is not fresh evidence, and reapplying it would revert a newer pick. const appliedReportByScope = new Map() -export function clearMobileSessionOptionRecordsForTests(): void { - clearNativeChatSessionOptionCacheForTests() - appliedReportByScope.clear() -} - /** A tab that runs another agent starts over: a new session there carries none of the old one's picks. */ function startScopeOverForAgent(scopeKey: string, agent: string): void { const cachedAgent = readNativeChatSessionOptionCache(scopeKey)?.agent diff --git a/mobile/src/session/use-mobile-queued-message-composer-actions.ts b/mobile/src/session/native-chat/input/use-mobile-queued-message-composer-actions.ts similarity index 91% rename from mobile/src/session/use-mobile-queued-message-composer-actions.ts rename to mobile/src/session/native-chat/input/use-mobile-queued-message-composer-actions.ts index ac28c9ed593..482e2cb4b70 100644 --- a/mobile/src/session/use-mobile-queued-message-composer-actions.ts +++ b/mobile/src/session/native-chat/input/use-mobile-queued-message-composer-actions.ts @@ -2,9 +2,9 @@ import { useCallback, useLayoutEffect, useRef, useState } from 'react' import type { AgentSessionQueuedMessage, AgentSessionQueuedMessageMoveResult -} from '../../../src/shared/agent-session/requests/agent-session-queued-message-wire' -import type { DragReorderMove } from '../components/drag-reorder-positions' -import type { MobileStructuredAgentMutate } from './use-mobile-structured-agent-mutation' +} from '../../../../../src/shared/agent-session/requests/agent-session-queued-message-wire' +import type { DragReorderMove } from '../../../components/drag-reorder-positions' +import type { MobileStructuredAgentMutate } from '../agent-session/use-mobile-structured-agent-mutation' type QueuedMessages = readonly AgentSessionQueuedMessage[] | null | undefined diff --git a/mobile/src/session/use-mobile-structured-agent-options.before-attach.test.ts b/mobile/src/session/native-chat/input/use-mobile-structured-agent-options.before-attach.test.ts similarity index 91% rename from mobile/src/session/use-mobile-structured-agent-options.before-attach.test.ts rename to mobile/src/session/native-chat/input/use-mobile-structured-agent-options.before-attach.test.ts index 92b9d7c8fc0..83752c125af 100644 --- a/mobile/src/session/use-mobile-structured-agent-options.before-attach.test.ts +++ b/mobile/src/session/native-chat/input/use-mobile-structured-agent-options.before-attach.test.ts @@ -1,7 +1,7 @@ import { act } from 'react-test-renderer' import { describe, expect, it, vi } from 'vitest' -import type { AgentSessionOptionResult } from '../../../src/shared/agent-session/agent-session-wire' -import type { StructuredAgentSessionMutationResult } from './mobile-structured-agent-session-rpc' +import type { AgentSessionOptionResult } from '../../../../../src/shared/agent-session/agent-session-wire' +import type { StructuredAgentSessionMutationResult } from '../agent-session/mobile-structured-agent-session-rpc' import { OPTIONS, deferred, diff --git a/mobile/src/session/use-mobile-structured-agent-options.test-fixture.ts b/mobile/src/session/native-chat/input/use-mobile-structured-agent-options.test-fixture.ts similarity index 92% rename from mobile/src/session/use-mobile-structured-agent-options.test-fixture.ts rename to mobile/src/session/native-chat/input/use-mobile-structured-agent-options.test-fixture.ts index 936278b71b4..a679f3e3884 100644 --- a/mobile/src/session/use-mobile-structured-agent-options.test-fixture.ts +++ b/mobile/src/session/native-chat/input/use-mobile-structured-agent-options.test-fixture.ts @@ -1,18 +1,18 @@ import { createElement, useLayoutEffect } from 'react' import { act, type ReactTestRenderer } from 'react-test-renderer' -import { createWithQueryClient } from '../test-support/query-client-test-renderer' +import { createWithQueryClient } from '../../../test-support/query-client-test-renderer' import { vi } from 'vitest' import type { AgentSessionModelCatalogResult, AgentSessionOptionResult -} from '../../../src/shared/agent-session/agent-session-wire' -import type { AgentSessionOptionsResult } from '../../../src/shared/agent-session/options/agent-session-options-result' -import type { SessionOptionDescriptor } from '../../../src/shared/native-chat/input/native-chat-session-options' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' +} from '../../../../../src/shared/agent-session/agent-session-wire' +import type { AgentSessionOptionsResult } from '../../../../../src/shared/agent-session/options/agent-session-options-result' +import type { SessionOptionDescriptor } from '../../../../../src/shared/native-chat/input/native-chat-session-options' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import type { StructuredAgentSessionMutate, StructuredAgentSessionMutationResult -} from './mobile-structured-agent-session-rpc' +} from '../agent-session/mobile-structured-agent-session-rpc' import { useMobileStructuredAgentOptions } from './use-mobile-structured-agent-options' const OPTIONS: AgentSessionOptionsResult = { diff --git a/mobile/src/session/native-chat/input/use-mobile-structured-agent-options.test.ts b/mobile/src/session/native-chat/input/use-mobile-structured-agent-options.test.ts new file mode 100644 index 00000000000..df00001b2a9 --- /dev/null +++ b/mobile/src/session/native-chat/input/use-mobile-structured-agent-options.test.ts @@ -0,0 +1,367 @@ +import { structuredAgentSessionOptionStamp } from '../../../../../src/shared/agent-session/options/structured-agent-session-option-state' +import { act } from 'react-test-renderer' +import { describe, expect, it, vi } from 'vitest' +import type { + AgentSessionModelCatalogResult, + AgentSessionOptionResult +} from '../../../../../src/shared/agent-session/agent-session-wire' +import type { AgentSessionOptionsResult } from '../../../../../src/shared/agent-session/options/agent-session-options-result' +import type { StructuredAgentSessionMutationResult } from '../agent-session/mobile-structured-agent-session-rpc' +import { rememberMobileCreatedStructuredSession } from '../agent-session/mobile-created-structured-sessions' + +import { + settle, + OPTIONS, + FAST_OPTIONS, + FAST_OPTIONS_ON, + deferred, + optionsClient, + queuedReads, + recordingMutate, + accepted, + mountOptions, + descriptorFor, + currentValueOf, + BASE +} from './use-mobile-structured-agent-options.test-fixture' + +describe('useMobileStructuredAgentOptions images', () => { + it('keeps the answer through a pick made during the read', async () => { + const stale = deferred() + const first = optionsClient(queuedReads(OPTIONS)) + const reconnected = optionsClient(() => stale.promise) + const { mutate } = recordingMutate(async () => ({ status: 'unknown' })) + const harness = await mountOptions({ ...BASE, agent: 'opencode', client: first.client, mutate }) + await harness.rerender({ client: reconnected.client }) + await act(async () => { + await harness.current().setStructuredOption('model', 'gpt-fast') + }) + expect(harness.current().acceptsImages).toBe(false) + await act(async () => { + stale.resolve({ ...OPTIONS, acceptsImages: true }) + }) + await settle() + expect(harness.current().acceptsImages).toBe(true) + await harness.unmount() + }) + + it("never shows one chat's answer on the next while its read is in flight", async () => { + const next = deferred() + let reads = 0 + const client = optionsClient(() => + reads++ === 0 ? Promise.resolve({ ...OPTIONS, acceptsImages: true }) : next.promise + ) + const { mutate } = recordingMutate(async () => ({ status: 'unknown' })) + const harness = await mountOptions({ ...BASE, agent: 'grok', client: client.client, mutate }) + expect(harness.current().acceptsImages).toBe(true) + await harness.rerender({ sessionId: 'session-2' }) + expect(harness.current().acceptsImages).toBe(false) + await harness.unmount() + }) +}) + +describe('useMobileStructuredAgentOptions pending picks', () => { + it('holds a repeat of an option on its way but lets another option go, as desktop does', async () => { + const client = optionsClient(queuedReads(FAST_OPTIONS, FAST_OPTIONS_ON)) + const inFlight = deferred>() + const { calls, mutate } = recordingMutate(async (call) => + call === 0 ? inFlight.promise : accepted({ key: 'fastMode', value: 'true' }, false) + ) + const harness = await mountOptions({ ...BASE, client: client.client, mutate }) + + let firstWrite: Promise | null = null + await act(async () => { + firstWrite = harness.current().setStructuredOption('effort', 'high') + }) + expect(calls).toHaveLength(1) + expect(harness.current().pendingOptionId).toBe('effort') + + let repeat: boolean | null = null + await act(async () => { + repeat = await harness.current().setStructuredOption('effort', 'medium') + }) + expect(repeat).toBe(false) + expect(calls).toHaveLength(1) + + let other: boolean | null = null + await act(async () => { + other = await harness.current().setStructuredOption('fastMode', true) + }) + expect(other).toBe(true) + expect(calls).toHaveLength(2) + + await act(async () => { + inFlight.resolve(accepted({ key: 'effort', value: 'high' }, false)) + await firstWrite + }) + await settle() + expect(await firstWrite).toBe(true) + expect(harness.current().pendingOptionId).toBeNull() + await harness.unmount() + }) +}) + +describe('useMobileStructuredAgentOptions host catalog', () => { + const HOST_CATALOG: AgentSessionModelCatalogResult = { + origin: 'probe', + models: [ + { + id: 'grok-4', + label: 'Grok 4', + isDefault: true, + defaultEffort: 'high', + efforts: [ + { value: 'low', label: 'Low' }, + { value: 'high', label: 'High' } + ] + } + ], + fetchedAt: 1, + listingNamesConfiguredModel: true + } + + it('does not name the listed default when a chat this phone created is reopened', async () => { + const sessionId = 'grok-reopened' + rememberMobileCreatedStructuredSession(sessionId, 'id:wt-1') + const live = { ...OPTIONS, current: { model: 'gpt-fast', confirmed: ['model'] } } + const first = optionsClient( + () => Promise.resolve(live), + async () => HOST_CATALOG + ) + const { mutate } = recordingMutate(async () => ({ status: 'unknown' })) + const opened = await mountOptions({ + ...BASE, + agent: 'grok', + sessionId, + client: first.client, + mutate + }) + await settle() + await opened.unmount() + + const pending = deferred() + const second = optionsClient( + () => pending.promise, + async () => HOST_CATALOG + ) + const reopened = await mountOptions({ + ...BASE, + agent: 'grok', + sessionId, + client: second.client, + mutate + }) + await settle() + + expect(second.methods('agentSession.modelCatalog')[0]?.params).toEqual({ + agent: 'grok', + sessionId + }) + expect(currentValueOf(reopened.current().optionSnapshot, 'model')).toBeUndefined() + pending.resolve(live) + await settle() + expect(currentValueOf(reopened.current().optionSnapshot, 'model')).toBe('gpt-fast') + await reopened.unmount() + }) + + it('keeps a cold Codex picker disabled until the host listing makes literal choices available', async () => { + const listed = deferred() + const catalog = vi.fn(async (params: unknown): Promise => + typeof params === 'object' && params !== null && 'waitForListing' in params + ? listed.promise + : { origin: 'unknown', listingInProgress: true } + ) + const client = optionsClient(() => deferred().promise, catalog) + const { calls, mutate } = recordingMutate(async () => + accepted({ key: 'model', value: 'grok-4' }, true) + ) + const harness = await mountOptions({ ...BASE, client: client.client, mutate }) + await settle() + + expect(descriptorFor(harness.current().optionSnapshot, 'model')).toMatchObject({ + settable: false, + valueSource: 'unknown', + kind: { type: 'select', choices: [] } + }) + expect(calls).toEqual([]) + + listed.resolve(HOST_CATALOG) + await settle() + const model = descriptorFor(harness.current().optionSnapshot, 'model') + expect(model?.settable).toBe(true) + expect(model?.kind.type === 'select' && model.kind.choices.map((c) => c.value)).toEqual([ + 'grok-4' + ]) + await act(async () => { + expect(await harness.current().setStructuredOption('model', 'grok-4')).toBe(true) + }) + expect(calls).toEqual([ + { method: 'agentSession.setOption', fields: { key: 'model', value: 'grok-4' } } + ]) + expect(currentValueOf(harness.current().optionSnapshot, 'model')).toBe('grok-4') + await harness.unmount() + }) +}) + +it('joins the post-receipt menu read with an unchanged phone option stamp', async () => { + const initial: AgentSessionOptionsResult = { + models: [{ id: 'family', label: 'Family', isDefault: false, efforts: [], effortsKnown: false }], + current: { model: 'family' } + } + const ready = deferred() + let reads = 0 + const client = optionsClient(() => (++reads === 1 ? Promise.resolve(initial) : ready.promise)) + const { mutate } = recordingMutate(async () => + accepted({ key: 'model', value: 'family', options: { model: 'family' } }, true) + ) + const harness = await mountOptions({ + ...BASE, + agent: 'antigravity', + client: client.client, + mutate, + optionStamp: 'family|own' + }) + expect(descriptorFor(harness.current().optionSnapshot, 'effort')).toBeUndefined() + await act(async () => { + expect(await harness.current().setStructuredOption('model', 'family')).toBe(true) + }) + expect(descriptorFor(harness.current().optionSnapshot, 'model')?.settable).toBe(true) + await act(async () => { + ready.resolve({ + ...initial, + models: [ + { + id: 'family', + label: 'Family', + isDefault: false, + efforts: [ + { value: 'low', label: 'Low' }, + { value: 'high', label: 'High' } + ] + } + ], + current: { model: 'family', effort: 'low' } + }) + }) + await settle() + expect(currentValueOf(harness.current().optionSnapshot, 'effort')).toBe('low') + expect(descriptorFor(harness.current().optionSnapshot, 'effort')?.settable).toBe(true) + await harness.unmount() +}) + +it('phone retains a queried seed-catalog base across its fence until later metadata arrives', async () => { + const catalog = deferred() + let reads = 0 + const client = optionsClient( + () => + ++reads === 1 + ? Promise.resolve({ + ...OPTIONS, + current: { + model: 'gpt-live', + effort: 'high', + defaulted: ['model'], + acceptedInputSources: { effort: 'saved' } + } + }) + : deferred().promise, + () => catalog.promise + ) + const { mutate } = recordingMutate(async () => accepted({ key: 'effort', value: 'low' }, true)) + rememberMobileCreatedStructuredSession('answered-retention', 'worktree') + const harness = await mountOptions({ + ...BASE, + sessionId: 'answered-retention', + client: client.client, + mutate, + sendSelection: true, + coherentCatalog: true + }) + expect(harness.current().sendSelection()).toEqual({ selection: { effort: 'high' } }) + await harness.rerender({ fence: 2 }) + expect(harness.current().sendSelection()).toEqual({ selection: { effort: 'high' } }) + await act(async () => + catalog.resolve({ + origin: 'probe', + fetchedAt: 1, + models: OPTIONS.models, + listingNamesConfiguredModel: true + }) + ) + await settle() + expect(harness.current().sendSelection()).toEqual({ selection: { effort: 'high' } }) + await harness.unmount() +}) + +it('phone captures accepted echoed inputs, preserves false, and freezes empty vs legacy presence', async () => { + let answer: AgentSessionOptionsResult = { + ...FAST_OPTIONS, + models: [ + { + id: 'opus', + label: 'Opus', + isDefault: true, + supportsFastMode: true, + efforts: [{ value: 'high', label: 'High' }] + } + ], + current: { + model: 'opus', + effort: 'high', + fastMode: false, + confirmed: ['fastMode'], + acceptedInputSources: {} + } + } + const client = optionsClient(async () => answer) + const { mutate } = recordingMutate(async () => accepted({ key: 'model', value: 'opus' }, true)) + const harness = await mountOptions({ + ...BASE, + agent: 'claude', + client: client.client, + mutate, + sendSelection: true + }) + expect(harness.current().sendSelection()).toEqual({ selection: {} }) + answer = { + ...answer, + current: { ...answer.current, acceptedInputSources: { model: 'saved', fastMode: 'policy' } } + } + await harness.rerender({ optionStamp: 'saved-origin' }) + await settle() + const captured = harness.current().sendSelection() + expect(captured).toEqual({ selection: { model: 'opus', fastMode: 'false' } }) + answer = { + ...answer, + current: { ...answer.current, effort: 'high', acceptedInputSources: { effort: 'saved' } } + } + await harness.rerender({ optionStamp: 'other-client' }) + await settle() + expect(harness.current().sendSelection()).toEqual({ selection: { effort: 'high' } }) + expect(captured).toEqual({ selection: { model: 'opus', fastMode: 'false' } }) + await harness.unmount() +}) + +it('refreshes saved planning intent from the same host status stamp without remounting', async () => { + let interactionMode: 'default' | 'plan' = 'default' + const client = optionsClient(async () => ({ + ...OPTIONS, + current: { interactionMode, acceptedInputSources: { interactionMode: 'saved' } } + })) + const { mutate } = recordingMutate(async () => ({ status: 'unknown' })) + const harness = await mountOptions({ + ...BASE, + client: client.client, + mutate, + sendSelection: true, + optionStamp: structuredAgentSessionOptionStamp({ interactionMode: 'default' }) + }) + expect(harness.current().sendSelection()).toEqual({ selection: { interactionMode: 'default' } }) + interactionMode = 'plan' + await harness.rerender({ + optionStamp: structuredAgentSessionOptionStamp({ interactionMode: 'plan' }) + }) + await settle() + expect(harness.current().sendSelection()).toEqual({ selection: { interactionMode: 'plan' } }) + await harness.unmount() +}) diff --git a/mobile/src/session/use-mobile-structured-agent-options.ts b/mobile/src/session/native-chat/input/use-mobile-structured-agent-options.ts similarity index 87% rename from mobile/src/session/use-mobile-structured-agent-options.ts rename to mobile/src/session/native-chat/input/use-mobile-structured-agent-options.ts index 321ba47ba1a..2fe2c786134 100644 --- a/mobile/src/session/use-mobile-structured-agent-options.ts +++ b/mobile/src/session/native-chat/input/use-mobile-structured-agent-options.ts @@ -1,31 +1,31 @@ -import type { AgentSessionConversationCommand } from '../../../src/shared/agent-session/agent-session-conversation-command' +import type { AgentSessionConversationCommand } from '../../../../../src/shared/agent-session/agent-session-conversation-command' import { useMobileStructuredOptionState } from './use-mobile-structured-option-state' import { useCallback, useLayoutEffect, useMemo, useRef } from 'react' -import { isAgentSessionHandleProvider } from '../../../src/shared/agent-session/lifecycle/agent-session-provider-handle' -import { structuredAgentSessionSeedCatalog } from '../../../src/shared/agent-session/options/structured-agent-session-seed-catalog' +import { isAgentSessionHandleProvider } from '../../../../../src/shared/agent-session/lifecycle/agent-session-provider-handle' +import { structuredAgentSessionSeedCatalog } from '../../../../../src/shared/agent-session/options/structured-agent-session-seed-catalog' import { structuredAgentSessionOptionView, structuredAgentSessionSendSelection, structuredAgentSessionMessageSelection, structuredAgentSessionShownSnapshot -} from '../../../src/shared/agent-session/options/structured-agent-session-option-view' -import { agentChatPermissionModes } from '../../../src/shared/agent-launch/permissions/agent-chat-permission-support' -import { legacyHostPermissionDescriptor } from '../../../src/shared/agent-session/options/structured-agent-session-permission-option' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import type { StructuredAgentSessionHostSupport } from './mobile-structured-agent-session-host-support' -import type { MobileStructuredAgentMutate } from './use-mobile-structured-agent-mutation' +} from '../../../../../src/shared/agent-session/options/structured-agent-session-option-view' +import { agentChatPermissionModes } from '../../../../../src/shared/agent-launch/permissions/agent-chat-permission-support' +import { legacyHostPermissionDescriptor } from '../../../../../src/shared/agent-session/options/structured-agent-session-permission-option' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import type { StructuredAgentSessionHostSupport } from '../agent-session/mobile-structured-agent-session-host-support' +import type { MobileStructuredAgentMutate } from '../agent-session/use-mobile-structured-agent-mutation' import { useMobileStructuredHeldOptionPicks } from './use-mobile-structured-held-option-picks' import { useMobileHostModelCatalogUpgrade, type HostModelCatalogCache } from './use-mobile-host-model-catalog-upgrade' -import { mobileCreatedStructuredSession } from './mobile-created-structured-sessions' +import { mobileCreatedStructuredSession } from '../agent-session/mobile-created-structured-sessions' import { structuredAgentSessionOptionAvailability, createStructuredAgentSessionOptionsWriteOwner -} from '../../../src/shared/agent-session/options/structured-agent-session-options-write-owner' +} from '../../../../../src/shared/agent-session/options/structured-agent-session-options-write-owner' import { useMobileStructuredOptionSurface } from './use-mobile-structured-option-surface' -import { lockedStructuredAgentSessionOptionSnapshot } from '../../../src/shared/agent-session/options/structured-agent-session-option-snapshot' +import { lockedStructuredAgentSessionOptionSnapshot } from '../../../../../src/shared/agent-session/options/structured-agent-session-option-snapshot' const NO_COMMANDS: readonly AgentSessionConversationCommand[] = [] diff --git a/mobile/src/session/use-mobile-structured-async-question.ts b/mobile/src/session/native-chat/input/use-mobile-structured-async-question.ts similarity index 78% rename from mobile/src/session/use-mobile-structured-async-question.ts rename to mobile/src/session/native-chat/input/use-mobile-structured-async-question.ts index 3ce76cd2aba..19f632ed561 100644 --- a/mobile/src/session/use-mobile-structured-async-question.ts +++ b/mobile/src/session/native-chat/input/use-mobile-structured-async-question.ts @@ -2,11 +2,11 @@ import { useCallback } from 'react' import { formatAskAnswer, type AskAnswerSelection -} from '../../../src/shared/native-chat/input/native-chat-ask-answer' -import { nativeChatAnswerSendIntent } from '../../../src/shared/native-chat/input/native-chat-follow-up-behavior' -import type { AskPrompt } from '../../../src/shared/native-chat/input/native-chat-ask-types' -import type { QueuedMessageCard } from '../../../src/shared/agent-session/view/structured-agent-session-queued-cards' -import type { useMobileStructuredAgentSession } from './use-mobile-structured-agent-session' +} from '../../../../../src/shared/native-chat/input/native-chat-ask-answer' +import { nativeChatAnswerSendIntent } from '../../../../../src/shared/native-chat/input/native-chat-follow-up-behavior' +import type { AskPrompt } from '../../../../../src/shared/native-chat/input/native-chat-ask-types' +import type { QueuedMessageCard } from '../../../../../src/shared/agent-session/view/structured-agent-session-queued-cards' +import type { useMobileStructuredAgentSession } from '../agent-session/use-mobile-structured-agent-session' export type MobileStructuredAskSession = Pick< ReturnType, diff --git a/mobile/src/session/native-chat/input/use-mobile-structured-background-tasks.ts b/mobile/src/session/native-chat/input/use-mobile-structured-background-tasks.ts new file mode 100644 index 00000000000..3f30e490e0e --- /dev/null +++ b/mobile/src/session/native-chat/input/use-mobile-structured-background-tasks.ts @@ -0,0 +1,63 @@ +import { useCallback, useMemo } from 'react' +import type { AgentChildRowContext } from '../../../../../src/shared/agent-status/presentation/agent-child-row-model' +import type { AgentSessionCancelResult } from '../../../../../src/shared/agent-session/agent-session-wire' +import { agentChildRowContextForSessionStream } from '../../../../../src/shared/agent-status/presentation/agent-child-row-stream-context' +import type { StructuredAgentSessionState } from '../../../../../src/shared/agent-session/structured-agent-session-reducer' +import { + structuredSessionBackgroundTasksView, + type StructuredSessionBackgroundTasksView +} from '../../../../../src/shared/structured-session-background-tasks-view' +import { structuredSessionForegroundCommands } from '../../../../../src/shared/structured-session-foreground-commands' +import type { StructuredAgentSessionMutationResult } from '../agent-session/mobile-structured-agent-session-rpc' +import type { MobileStructuredAgentMutate } from '../agent-session/use-mobile-structured-agent-mutation' +import { mobileStructuredHostClockOffsetMs } from '../agent-session/mobile-structured-host-clock-offset' + +export type MobileStructuredBackgroundTasks = { + // Scope strip expansion and stopping state to the conversation. + sessionKey: string + view: StructuredSessionBackgroundTasksView + // Treat retained rows as unverifiable off-stream; convert host timestamps with this offset. + rowContext: AgentChildRowContext + stop: (taskId?: string) => Promise> +} + +export function useMobileStructuredBackgroundTasks(args: { + sessionKey: string + state: StructuredAgentSessionState + turnId: string | null + // Retained roster does not prove current liveness. + connected: boolean + mutate: MobileStructuredAgentMutate +}): MobileStructuredBackgroundTasks { + const { connected, mutate, sessionKey, state, turnId } = args + const { backgroundTasks, items, latestTurn } = state + const view = useMemo( + () => + structuredSessionBackgroundTasksView( + backgroundTasks, + turnId, + structuredSessionForegroundCommands(backgroundTasks, { items, latestTurn }) + ), + [backgroundTasks, items, latestTurn, turnId] + ) + // Keep the roster through stream failure without claiming its tasks still run. + const streamLive = connected && state.status === 'ready' + const offsetMs = mobileStructuredHostClockOffsetMs(state.hostClock) + const rowContext = useMemo( + () => agentChildRowContextForSessionStream(streamLive, offsetMs), + [streamLive, offsetMs] + ) + const stop = useCallback( + (taskId?: string) => + mutate('agentSession.cancel', 'agentSession.cancel', { + turnId: 'background-tasks', + scope: 'background-tasks', + ...(taskId ? { taskId } : {}) + }), + [mutate] + ) + return useMemo( + () => ({ sessionKey, view, rowContext, stop }), + [sessionKey, view, rowContext, stop] + ) +} diff --git a/mobile/src/session/use-mobile-structured-held-option-picks.ts b/mobile/src/session/native-chat/input/use-mobile-structured-held-option-picks.ts similarity index 81% rename from mobile/src/session/use-mobile-structured-held-option-picks.ts rename to mobile/src/session/native-chat/input/use-mobile-structured-held-option-picks.ts index 245fb1c5d08..71ea9355013 100644 --- a/mobile/src/session/use-mobile-structured-held-option-picks.ts +++ b/mobile/src/session/native-chat/input/use-mobile-structured-held-option-picks.ts @@ -1,16 +1,16 @@ import { useEffect, useLayoutEffect, useRef } from 'react' -import type { AgentSessionOptionResult } from '../../../src/shared/agent-session/agent-session-wire' -import { acceptedStructuredSessionSelectionOutcome } from '../../../src/shared/agent-session/options/structured-agent-session-options-write-owner' -import type { StructuredSessionSelectionController } from '../../../src/shared/agent-session/options/structured-agent-session-selection-operations' -import type { SessionOptionDescriptor } from '../../../src/shared/native-chat/input/native-chat-session-options' +import type { AgentSessionOptionResult } from '../../../../../src/shared/agent-session/agent-session-wire' +import { acceptedStructuredSessionSelectionOutcome } from '../../../../../src/shared/agent-session/options/structured-agent-session-options-write-owner' +import type { StructuredSessionSelectionController } from '../../../../../src/shared/agent-session/options/structured-agent-session-selection-operations' +import type { SessionOptionDescriptor } from '../../../../../src/shared/native-chat/input/native-chat-session-options' import { nativeChatModelPillLabel, nativeChatSessionOptionLabel -} from '../../../src/shared/native-chat/input/native-chat-session-option-labels' -import { translate } from '../i18n/mobile-i18n' -import { mobileSessionOptionSummaryValue } from './native-chat/input/mobile-native-chat-session-option-labels' -import { sayMobileNativeChatSessionOption as say } from './native-chat/input/native-chat-session-option-copy' -import type { MobileStructuredAgentMutate } from './use-mobile-structured-agent-mutation' +} from '../../../../../src/shared/native-chat/input/native-chat-session-option-labels' +import { translate } from '../../../i18n/mobile-i18n' +import { mobileSessionOptionSummaryValue } from './mobile-native-chat-session-option-labels' +import { sayMobileNativeChatSessionOption as say } from './native-chat-session-option-copy' +import type { MobileStructuredAgentMutate } from '../agent-session/use-mobile-structured-agent-mutation' function pickLabel(descriptor: SessionOptionDescriptor | undefined): string | null { if (!descriptor) { diff --git a/mobile/src/session/use-mobile-structured-option-state.ts b/mobile/src/session/native-chat/input/use-mobile-structured-option-state.ts similarity index 85% rename from mobile/src/session/use-mobile-structured-option-state.ts rename to mobile/src/session/native-chat/input/use-mobile-structured-option-state.ts index 2be67786423..095dcb90908 100644 --- a/mobile/src/session/use-mobile-structured-option-state.ts +++ b/mobile/src/session/native-chat/input/use-mobile-structured-option-state.ts @@ -1,19 +1,19 @@ import { useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from 'react' -import { mobileStructuredSessionStatusFeed } from './mobile-structured-session-status-feed' -import { projectRuntimePermission } from '../../../src/shared/agent-session/options/structured-agent-session-permission-option' +import { mobileStructuredSessionStatusFeed } from '../agent-session/mobile-structured-session-status-feed' +import { projectRuntimePermission } from '../../../../../src/shared/agent-session/options/structured-agent-session-permission-option' import { useMobileStructuredSelectionController } from './use-mobile-structured-selection-controller' -import type { AgentSessionRewindSupport } from '../../../src/shared/agent-session/lifecycle/agent-session-rewind' -import type { AgentSessionOptionsResult } from '../../../src/shared/agent-session/options/agent-session-options-result' -import { callAgentSession } from './mobile-structured-agent-session-rpc' -import { forgetMobileCreatedStructuredSession } from './mobile-created-structured-sessions' -import { createStructuredAgentSessionOptionsReadOwner } from '../../../src/shared/agent-session/options/structured-agent-session-options-read-owner' -import { BoundedMap } from '../../../src/shared/bounded-map' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import type { AgentSessionOptionCatalog } from '../../../src/shared/agent-session/options/agent-session-option-catalog-types' -import { usesInstalledAgentModelCatalog } from '../../../src/shared/agent-session/options/agent-model-catalog-ownership' -import { structuredAgentSessionFirstFrameOptionState } from '../../../src/shared/agent-session/options/structured-agent-session-first-frame' +import type { AgentSessionRewindSupport } from '../../../../../src/shared/agent-session/lifecycle/agent-session-rewind' +import type { AgentSessionOptionsResult } from '../../../../../src/shared/agent-session/options/agent-session-options-result' +import { callAgentSession } from '../agent-session/mobile-structured-agent-session-rpc' +import { forgetMobileCreatedStructuredSession } from '../agent-session/mobile-created-structured-sessions' +import { createStructuredAgentSessionOptionsReadOwner } from '../../../../../src/shared/agent-session/options/structured-agent-session-options-read-owner' +import { BoundedMap } from '../../../../../src/shared/bounded-map' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import type { AgentSessionOptionCatalog } from '../../../../../src/shared/agent-session/options/agent-session-option-catalog-types' +import { usesInstalledAgentModelCatalog } from '../../../../../src/shared/agent-session/options/agent-model-catalog-ownership' +import { structuredAgentSessionFirstFrameOptionState } from '../../../../../src/shared/agent-session/options/structured-agent-session-first-frame' import type { HostModelCatalogCache } from './use-mobile-host-model-catalog-upgrade' -import { structuredAgentSessionReportsAtFence } from '../../../src/shared/agent-session/options/structured-agent-session-runtime-reports' +import { structuredAgentSessionReportsAtFence } from '../../../../../src/shared/agent-session/options/structured-agent-session-runtime-reports' // Matches the transcripts this view retains per chat. const MAX_RETAINED_CHAT_READERS = 32 diff --git a/mobile/src/session/use-mobile-structured-option-surface.ts b/mobile/src/session/native-chat/input/use-mobile-structured-option-surface.ts similarity index 95% rename from mobile/src/session/use-mobile-structured-option-surface.ts rename to mobile/src/session/native-chat/input/use-mobile-structured-option-surface.ts index d1d96d6d118..4fed7c5eaf8 100644 --- a/mobile/src/session/use-mobile-structured-option-surface.ts +++ b/mobile/src/session/native-chat/input/use-mobile-structured-option-surface.ts @@ -3,7 +3,7 @@ import type { SessionOptionDescriptor, SessionOptionsSurface, SessionOptionValue -} from '../../../src/shared/native-chat/input/native-chat-session-options' +} from '../../../../../src/shared/native-chat/input/native-chat-session-options' export function useMobileStructuredOptionSurface(args: { admits: NonNullable diff --git a/mobile/src/session/use-mobile-structured-prompt-responses.ts b/mobile/src/session/native-chat/input/use-mobile-structured-prompt-responses.ts similarity index 89% rename from mobile/src/session/use-mobile-structured-prompt-responses.ts rename to mobile/src/session/native-chat/input/use-mobile-structured-prompt-responses.ts index cbc0a1d764f..b80ff2ecbae 100644 --- a/mobile/src/session/use-mobile-structured-prompt-responses.ts +++ b/mobile/src/session/native-chat/input/use-mobile-structured-prompt-responses.ts @@ -1,14 +1,14 @@ import { useCallback } from 'react' -import type { AgentSessionPromptResult } from '../../../src/shared/agent-session/agent-session-wire' -import type { AgentJournalQuestionItem } from '../../../src/shared/agent-session/journal/agent-session-journal-types' +import type { AgentSessionPromptResult } from '../../../../../src/shared/agent-session/agent-session-wire' +import type { AgentJournalQuestionItem } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' import { AGENT_SESSION_RESPONSE_OPTION_ID_MAX_LENGTH, decodeAgentSessionQuestionAnswers, isValidAgentSessionQuestionAnswers, legacyAgentSessionSelectedOptionId, type AgentSessionQuestionAnswer -} from '../../../src/shared/agent-session/agent-session-question-answer' -import type { StructuredAgentSessionState } from '../../../src/shared/agent-session/structured-agent-session-reducer' +} from '../../../../../src/shared/agent-session/agent-session-question-answer' +import type { StructuredAgentSessionState } from '../../../../../src/shared/agent-session/structured-agent-session-reducer' import { actionableStructuredApproval, actionableStructuredQuestion @@ -20,8 +20,8 @@ import { import type { StructuredAgentSessionMutate, StructuredAgentSessionMutationResult -} from './mobile-structured-agent-session-rpc' -import type { MobileChatQuestion } from './native-chat/input/mobile-native-chat-question' +} from '../agent-session/mobile-structured-agent-session-rpc' +import type { MobileChatQuestion } from './mobile-native-chat-question' export function useMobileStructuredPromptResponses(args: { stateRef: { readonly current: StructuredAgentSessionState } diff --git a/mobile/src/session/use-mobile-structured-queued-edit.ts b/mobile/src/session/native-chat/input/use-mobile-structured-queued-edit.ts similarity index 93% rename from mobile/src/session/use-mobile-structured-queued-edit.ts rename to mobile/src/session/native-chat/input/use-mobile-structured-queued-edit.ts index 200a5608cb8..73db331e222 100644 --- a/mobile/src/session/use-mobile-structured-queued-edit.ts +++ b/mobile/src/session/native-chat/input/use-mobile-structured-queued-edit.ts @@ -1,4 +1,4 @@ -import type { QueuedEditLeaseLoss } from '../../../src/shared/queued-message-edit-lease' +import type { QueuedEditLeaseLoss } from '../../../../../src/shared/queued-message-edit-lease' import { createMobileQueuedEdit } from './mobile-queued-message-edit-open' import { useCallback, @@ -9,21 +9,21 @@ import { useRef, useState } from 'react' -import type { AgentSessionQueuedMessageUpdateResult } from '../../../src/shared/agent-session/requests/agent-session-queued-message-wire' -import { agentSessionSendBodyFingerprint } from '../../../src/shared/agent-session/requests/structured-agent-session-send-mutation' -import { queuedMessageWithEdit } from '../../../src/shared/queued-message-edit' +import type { AgentSessionQueuedMessageUpdateResult } from '../../../../../src/shared/agent-session/requests/agent-session-queued-message-wire' +import { agentSessionSendBodyFingerprint } from '../../../../../src/shared/agent-session/requests/structured-agent-session-send-mutation' +import { queuedMessageWithEdit } from '../../../../../src/shared/queued-message-edit' import { mobileQueuedEditValueKey, snapshotMobileQueuedEditInputs } from './mobile-queued-message-edit-value' import { settleMobileQueuedEdit } from './mobile-queued-message-edit-outcome' -import { queuedEditPublicationKey } from '../../../src/shared/queued-message-edit-publication' +import { queuedEditPublicationKey } from '../../../../../src/shared/queued-message-edit-publication' import { startMobileQueuedEditLease } from './mobile-queued-message-edit-lease' import { useMobileNativeChatDraftInputs, readMobileNativeChatDraftInputs, mobileNativeChatDraftDestination -} from './native-chat/composer/mobile-native-chat-draft-inputs' +} from '../composer/mobile-native-chat-draft-inputs' import { closeMobileQueuedEditDraft, mobileQueuedEditSaving, @@ -35,7 +35,6 @@ import { type MobileStructuredQueuedEditArgs, type MobileQueuedMessageInlineEditor } from './mobile-queued-message-edit-draft' -export type { MobileQueuedMessageInlineEditor } from './mobile-queued-message-edit-draft' export function useMobileStructuredQueuedEdit(args: MobileStructuredQueuedEditArgs) { const { sessionKey, sessionId, client, mutate, onSendError, onActionResolved } = args diff --git a/mobile/src/session/use-mobile-structured-queued-message-controls.ts b/mobile/src/session/native-chat/input/use-mobile-structured-queued-message-controls.ts similarity index 87% rename from mobile/src/session/use-mobile-structured-queued-message-controls.ts rename to mobile/src/session/native-chat/input/use-mobile-structured-queued-message-controls.ts index 4013522fce1..e4026afd448 100644 --- a/mobile/src/session/use-mobile-structured-queued-message-controls.ts +++ b/mobile/src/session/native-chat/input/use-mobile-structured-queued-message-controls.ts @@ -1,31 +1,29 @@ -import type { DragReorderMove } from '../components/drag-reorder-positions' +import type { DragReorderMove } from '../../../components/drag-reorder-positions' import { useMobileQueuedMessageComposerActions } from './use-mobile-queued-message-composer-actions' import { useCallback, useMemo } from 'react' -import { useMobileTranslation } from '../i18n/use-mobile-translation' +import { useMobileTranslation } from '../../../i18n/use-mobile-translation' import type { AgentJournalRenderItem, AgentJournalSubmission -} from '../../../src/shared/agent-session/journal/agent-session-journal-types' -import { agentSessionVisibleFailureFacts } from '../../../src/shared/agent-session/failures/agent-session-visible-failures' -import { mapSettledWithConcurrency } from '../../../src/shared/map-with-concurrency' +} from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' +import { agentSessionVisibleFailureFacts } from '../../../../../src/shared/agent-session/failures/agent-session-visible-failures' +import { mapSettledWithConcurrency } from '../../../../../src/shared/map-with-concurrency' import type { AgentSessionQueuedMessage, AgentSessionQueuedMessageDeleteResult, AgentSessionQueuedMessagesResumeResult, AgentSessionQueuePause -} from '../../../src/shared/agent-session/requests/agent-session-queued-message-wire' -import type { AgentSessionSendResult } from '../../../src/shared/agent-session/agent-session-wire' -import { queuedMessagesQueuePause } from '../../../src/shared/agent-session/view/structured-agent-session-queued-cards' +} from '../../../../../src/shared/agent-session/requests/agent-session-queued-message-wire' +import type { AgentSessionSendResult } from '../../../../../src/shared/agent-session/agent-session-wire' +import { queuedMessagesQueuePause } from '../../../../../src/shared/agent-session/view/structured-agent-session-queued-cards' import { mobileQueuedMessageCards, type MobileQueuedMessageCard } from './mobile-structured-queued-message-cards' -import type { MobileStructuredAgentMutate } from './use-mobile-structured-agent-mutation' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import { - useMobileStructuredQueuedEdit, - type MobileQueuedMessageInlineEditor -} from './use-mobile-structured-queued-edit' +import type { MobileStructuredAgentMutate } from '../agent-session/use-mobile-structured-agent-mutation' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import { useMobileStructuredQueuedEdit } from './use-mobile-structured-queued-edit' +import type { MobileQueuedMessageInlineEditor } from './mobile-queued-message-edit-draft' // The host owns queued drafts; render its published cards even when it cannot queue new sends. const CLEAR_DELETE_CONCURRENCY = 8 diff --git a/mobile/src/session/use-mobile-structured-selection-controller.ts b/mobile/src/session/native-chat/input/use-mobile-structured-selection-controller.ts similarity index 85% rename from mobile/src/session/use-mobile-structured-selection-controller.ts rename to mobile/src/session/native-chat/input/use-mobile-structured-selection-controller.ts index f4a53b8aad3..82f26744f1e 100644 --- a/mobile/src/session/use-mobile-structured-selection-controller.ts +++ b/mobile/src/session/native-chat/input/use-mobile-structured-selection-controller.ts @@ -1,7 +1,7 @@ import { useEffect, useMemo, useSyncExternalStore } from 'react' -import { createStructuredSessionSelectionController } from '../../../src/shared/agent-session/options/structured-agent-session-selection-operations' -import { persistMobileStructuredOptionPicks } from './native-chat/input/mobile-native-chat-session-option-persistence' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' +import { createStructuredSessionSelectionController } from '../../../../../src/shared/agent-session/options/structured-agent-session-selection-operations' +import { persistMobileStructuredOptionPicks } from './mobile-native-chat-session-option-persistence' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' /** Temporary operations belong to one phone authority, above its queried host answer. */ export function useMobileStructuredSelectionController(args: { diff --git a/mobile/src/session/native-chat/input/use-mobile-structured-session-option-stamp.ts b/mobile/src/session/native-chat/input/use-mobile-structured-session-option-stamp.ts new file mode 100644 index 00000000000..0dec257c4d6 --- /dev/null +++ b/mobile/src/session/native-chat/input/use-mobile-structured-session-option-stamp.ts @@ -0,0 +1,25 @@ +import { useCallback, useSyncExternalStore } from 'react' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import { structuredAgentSessionOptionStamp } from '../../../../../src/shared/agent-session/options/structured-agent-session-option-state' +import { mobileStructuredSessionStatusFeed } from '../agent-session/mobile-structured-session-status-feed' + +const noSubscription = (): (() => void) => () => {} + +// Track other devices’ picks only while the host status feed is enabled. +export function useMobileStructuredSessionOptionStamp(args: { + client: RpcClient | null + sessionId: string | null + enabled: boolean +}): string { + const { client, sessionId, enabled } = args + const feed = enabled && client && sessionId ? mobileStructuredSessionStatusFeed(client) : null + const subscribe = useCallback( + (listener: () => void) => (feed ? feed.subscribe(listener) : noSubscription()), + [feed] + ) + const readStamp = (): string => { + const summary = feed && sessionId ? feed.getSnapshot().get(sessionId) : undefined + return JSON.stringify([structuredAgentSessionOptionStamp(summary), summary?.hostExecutionPhase]) + } + return useSyncExternalStore(subscribe, readStamp, readStamp) +} diff --git a/mobile/src/session/use-mobile-structured-thread-goal.ts b/mobile/src/session/native-chat/input/use-mobile-structured-thread-goal.ts similarity index 81% rename from mobile/src/session/use-mobile-structured-thread-goal.ts rename to mobile/src/session/native-chat/input/use-mobile-structured-thread-goal.ts index b273b2d9780..a0145274ad1 100644 --- a/mobile/src/session/use-mobile-structured-thread-goal.ts +++ b/mobile/src/session/native-chat/input/use-mobile-structured-thread-goal.ts @@ -2,23 +2,23 @@ import { useCallback, useLayoutEffect, useMemo, useRef, useState } from 'react' import { AGENT_OWNED_THREAD_GOAL_CLEAR_COMMAND, agentSessionThreadGoalReport -} from '../../../src/shared/agent-session/agent-session-thread-goal-report' +} from '../../../../../src/shared/agent-session/agent-session-thread-goal-report' import type { AgentSessionThreadGoalChange, AgentSessionThreadGoalResult -} from '../../../src/shared/agent-session/agent-session-thread-goal-wire' -import { agentSessionWriteNoticeParts } from '../../../src/shared/agent-session/failures/agent-session-refusal-notice' -import type { AgentJournalThreadGoal } from '../../../src/shared/agent-session/journal/agent-session-journal-types' -import type { AgentSessionOptionsResult } from '../../../src/shared/agent-session/options/agent-session-options-result' -import type { StructuredAgentSessionState } from '../../../src/shared/agent-session/structured-agent-session-reducer' -import type { StructuredAgentSessionComposerOptions } from '../../../src/shared/agent-session/view/structured-agent-session-composer' -import { mobileAgentSessionWriteNoticeText } from './agent-session-write-notice-copy' -import type { MobileStructuredAgentSessionArgs } from './mobile-structured-agent-session-contract' -import { mobileStructuredHostClockOffsetMs } from './mobile-structured-host-clock-offset' -import type { MobileNativeChatSendOutcome } from './native-chat/mobile-native-chat-send' -import type { MobileStructuredAgentMutate } from './use-mobile-structured-agent-mutation' -import { AGENT_SESSION_PHONE_THREAD_GOAL_RUNTIME_CAPABILITY } from '../../../src/shared/agent-session/agent-session-runtime-capabilities' -import { useRouteRelaysCapability } from '../worktree/workspace-server-context' +} from '../../../../../src/shared/agent-session/agent-session-thread-goal-wire' +import { agentSessionWriteNoticeParts } from '../../../../../src/shared/agent-session/failures/agent-session-refusal-notice' +import type { AgentJournalThreadGoal } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' +import type { AgentSessionOptionsResult } from '../../../../../src/shared/agent-session/options/agent-session-options-result' +import type { StructuredAgentSessionState } from '../../../../../src/shared/agent-session/structured-agent-session-reducer' +import type { StructuredAgentSessionComposerOptions } from '../../../../../src/shared/agent-session/view/structured-agent-session-composer' +import { mobileAgentSessionWriteNoticeText } from '../agent-session/agent-session-write-notice-copy' +import type { MobileStructuredAgentSessionArgs } from '../agent-session/mobile-structured-agent-session-contract' +import { mobileStructuredHostClockOffsetMs } from '../agent-session/mobile-structured-host-clock-offset' +import type { MobileNativeChatSendOutcome } from '../composer/mobile-native-chat-send' +import type { MobileStructuredAgentMutate } from '../agent-session/use-mobile-structured-agent-mutation' +import { AGENT_SESSION_PHONE_THREAD_GOAL_RUNTIME_CAPABILITY } from '../../../../../src/shared/agent-session/agent-session-runtime-capabilities' +import { useRouteRelaysCapability } from '../../../worktree/workspace-server-context' export type MobileStructuredThreadGoal = { /** Scopes the strip's expansion to the conversation. */ diff --git a/mobile/src/session/use-native-chat-action-outcomes.ts b/mobile/src/session/native-chat/input/use-native-chat-action-outcomes.ts similarity index 100% rename from mobile/src/session/use-native-chat-action-outcomes.ts rename to mobile/src/session/native-chat/input/use-native-chat-action-outcomes.ts diff --git a/mobile/src/session/native-chat/mobile-native-chat-controller-contract.ts b/mobile/src/session/native-chat/mobile-native-chat-controller-contract.ts index a1b142c8dda..247fcbc108e 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-controller-contract.ts +++ b/mobile/src/session/native-chat/mobile-native-chat-controller-contract.ts @@ -1,7 +1,7 @@ import type { NativeChatSkillDiscoverySnapshot } from '../../../../src/shared/native-chat/input/native-chat-picker-items' import type { AgentSessionRewindSurface } from '../../../../src/shared/agent-session/lifecycle/agent-session-rewind-request' import type { NativeChatSendFollowUp } from '../../../../src/shared/native-chat/input/native-chat-follow-up-behavior' -import type { StructuredMobileSendAttachment } from '../use-mobile-structured-send-with-outcome' +import type { StructuredMobileSendAttachment } from './composer/use-mobile-structured-send-with-outcome' import type { MobileSessionView } from '../../storage/session-view-preferences' import type { Dispatch, MutableRefObject, SetStateAction } from 'react' import type { @@ -22,18 +22,18 @@ import type { NativeChatResolvedPrompt } from '../../../../src/shared/native-cha import type { MobileNativeChatSendIntent, MobileNativeChatSendOutcome -} from './mobile-native-chat-send' -import type { MobileNativeChatCommandRefusalCauses } from './use-mobile-native-chat-send-error' -import type { MobileStructuredQueuedMessageControls } from '../use-mobile-structured-queued-message-controls' -import type { MobileStructuredThreadGoal } from '../use-mobile-structured-thread-goal' -import type { MobileStructuredBackgroundTasks } from '../use-mobile-structured-background-tasks' -import type { MobileStructuredInterruptedContinue } from '../use-mobile-structured-interrupted-continue' -import type { MobileNativeChatPendingMessage } from './mobile-native-chat-pending-echo' +} from './composer/mobile-native-chat-send' +import type { MobileNativeChatCommandRefusalCauses } from './composer/use-mobile-native-chat-send-error' +import type { MobileStructuredQueuedMessageControls } from './input/use-mobile-structured-queued-message-controls' +import type { MobileStructuredThreadGoal } from './input/use-mobile-structured-thread-goal' +import type { MobileStructuredBackgroundTasks } from './input/use-mobile-structured-background-tasks' +import type { MobileStructuredInterruptedContinue } from './composer/use-mobile-structured-interrupted-continue' +import type { MobileNativeChatPendingMessage } from './transcript/mobile-native-chat-pending-echo' import type { useMobileNativeChatSession } from './use-mobile-native-chat-session' import type { MobileNativeChatSessionOptionPickersProps } from './input/MobileNativeChatSessionOptionPickers' import type { MobileNativeChatVisualSource } from './visual/mobile-native-chat-visual-read' import type { NativeChatContextUsageSummary } from '../../../../src/shared/native-chat/native-chat-context-usage-summary' -import type { useMobileStructuredSessionCommands } from '../use-mobile-structured-session-commands' +import type { useMobileStructuredSessionCommands } from './composer/use-mobile-structured-session-commands' import type { MobileNativeChatUsageLimit } from './use-mobile-native-chat-usage-limit' export type MobileNativeChatController = { diff --git a/mobile/src/session/native-chat/mobile-native-chat-diff.test.ts b/mobile/src/session/native-chat/mobile-native-chat-diff.test.ts deleted file mode 100644 index cb2936e8c51..00000000000 --- a/mobile/src/session/native-chat/mobile-native-chat-diff.test.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { diffFromText } from '../../../../src/shared/native-chat/tools/native-chat-diff' - -describe('diffFromText', () => { - it('caps large diffs before creating render rows', () => { - const text = Array.from( - { length: 1_000 }, - (_unused, index) => `${index % 2 === 0 ? '+' : '-'}line-${index}` - ).join('\n') - const lines = diffFromText(text) - - expect(lines).toHaveLength(120) - expect(lines?.at(-1)).toEqual({ kind: 'meta', text: '… diff truncated …' }) - }) - - it('honors a smaller caller-owned aggregate row budget', () => { - const text = Array.from( - { length: 100 }, - (_unused, index) => `${index % 2 === 0 ? '+' : '-'}line-${index}` - ).join('\n') - - expect(diffFromText(text, 20)).toHaveLength(20) - }) -}) diff --git a/mobile/src/session/native-chat/mobile-native-chat-lower-region-context.ts b/mobile/src/session/native-chat/mobile-native-chat-lower-region-context.ts index d0a7e8a5591..7f509992cf1 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-lower-region-context.ts +++ b/mobile/src/session/native-chat/mobile-native-chat-lower-region-context.ts @@ -1,5 +1,4 @@ -import { createContext, useContext, useLayoutEffect, useRef } from 'react' -import type { View } from 'react-native' +import { createContext, useContext } from 'react' export type MobileNativeChatLowerRegion = { getViewport: () => unknown @@ -30,17 +29,3 @@ export const MobileNativeChatComposerPresenceContext = createContext(true) export function useMobileNativeChatLowerGeometry() { return useContext(MobileNativeChatLowerGeometryContext) } - -export function useMobileNativeChatComposerRegion(shown: boolean, focused: boolean) { - const groupRef = useRef(null) - const lowerRegion = useMobileNativeChatLowerRegion() - const menuWasShown = useRef(false) - useLayoutEffect(() => { - lowerRegion?.layoutChanged() - if (shown !== menuWasShown.current && focused) { - lowerRegion?.reveal(groupRef.current, shown ? 'menu' : 'edit') - } - menuWasShown.current = shown - }) - return groupRef -} diff --git a/mobile/src/session/native-chat/mobile-native-chat-lower-scroll.ts b/mobile/src/session/native-chat/mobile-native-chat-lower-scroll.ts index 6aca979c534..d0194b0689c 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-lower-scroll.ts +++ b/mobile/src/session/native-chat/mobile-native-chat-lower-scroll.ts @@ -1,5 +1,5 @@ -import { createMobileNativeChatReadingHold } from './mobile-native-chat-reading-hold' -import { connectMobileNativeChatScrollGesture } from './mobile-native-chat-scroll-gesture' +import { createMobileNativeChatReadingHold } from './transcript/mobile-native-chat-reading-hold' +import { connectMobileNativeChatScrollGesture } from './transcript/mobile-native-chat-scroll-gesture' import { externalAllowance, composerGroupOf as groupOf, diff --git a/mobile/src/session/native-chat/mobile-native-chat-merge.test.ts b/mobile/src/session/native-chat/mobile-native-chat-merge.test.ts deleted file mode 100644 index 3b922e822f0..00000000000 --- a/mobile/src/session/native-chat/mobile-native-chat-merge.test.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { mergeNativeChatMessages } from '../../../../src/shared/native-chat/native-chat-merge' -import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' - -function msg(id: string, overrides: Partial = {}): NativeChatMessage { - return { - id, - role: 'assistant', - blocks: [{ type: 'text', text: id }], - timestamp: 0, - source: 'transcript', - ...overrides - } -} - -describe('mergeNativeChatMessages', () => { - it('appends new ids in arrival order', () => { - const merged = mergeNativeChatMessages([msg('a')], [msg('b'), msg('c')]) - expect(merged.map((m) => m.id)).toEqual(['a', 'b', 'c']) - }) - - it('replaces a re-emitted id in place without reordering', () => { - const merged = mergeNativeChatMessages( - [msg('a'), msg('b'), msg('c')], - [msg('b', { blocks: [{ type: 'text', text: 'updated' }] })] - ) - expect(merged.map((m) => m.id)).toEqual(['a', 'b', 'c']) - expect(merged[1]!.blocks).toEqual([{ type: 'text', text: 'updated' }]) - }) - - it('does not let a lower-priority source overwrite a higher one', () => { - const merged = mergeNativeChatMessages( - [msg('a', { source: 'transcript', blocks: [{ type: 'text', text: 'real' }] })], - [msg('a', { source: 'scrape', blocks: [{ type: 'text', text: 'scraped' }] })] - ) - expect(merged[0]!.blocks).toEqual([{ type: 'text', text: 'real' }]) - }) - - it('returns the existing array unchanged for an empty batch', () => { - const existing = [msg('a')] - expect(mergeNativeChatMessages(existing, [])).toBe(existing) - }) - - it('does not mutate the existing array', () => { - const existing = [msg('a')] - mergeNativeChatMessages(existing, [msg('b')]) - expect(existing.map((m) => m.id)).toEqual(['a']) - }) -}) diff --git a/mobile/src/session/native-chat/mobile-native-chat-merger-oracle.test.ts b/mobile/src/session/native-chat/mobile-native-chat-merger-oracle.test.ts deleted file mode 100644 index d0f7b928f97..00000000000 --- a/mobile/src/session/native-chat/mobile-native-chat-merger-oracle.test.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' -import { - applyAppend, - createNativeChatMerger, - mergeNativeChatMessages, - replaceList -} from '../../../../src/shared/native-chat/native-chat-merge' - -function msg(id: string, overrides: Partial = {}): NativeChatMessage { - return { - id, - role: 'assistant', - blocks: [{ type: 'text', text: id }], - timestamp: 0, - source: 'transcript', - ...overrides - } -} - -// Compare each adversarial prefix with the pure merger so cached indexes cannot diverge from a full rebuild. -describe('mobile stateful merger — oracle vs pure merge', () => { - const base = [msg('a'), msg('b', { source: 'hook' })] - const batches: NativeChatMessage[][] = [ - [msg('c')], - [], - [msg('b', { source: 'transcript', blocks: [{ type: 'text', text: 'final' }] })], - [msg('b', { source: 'scrape' })], - [msg('a')], - [msg('d'), msg('e')] - ] - - it('matches the pure merge for every prefix', () => { - const merger = createNativeChatMerger() - replaceList(merger, base) - let pure = mergeNativeChatMessages(base, []) - expect(merger.list).toEqual(pure) - for (const batch of batches) { - const out = applyAppend(merger, batch) - pure = mergeNativeChatMessages(pure, batch) - expect(out).toEqual(pure) - } - }) - - it('keeps prior row identity on a pure tail append', () => { - const merger = createNativeChatMerger() - replaceList(merger, base) - const before = merger.list - const tail = msg('z') - const after = applyAppend(merger, [tail]) - expect(after).not.toBe(before) - expect(after[0]).toBe(before[0]) - expect(after[after.length - 1]).toBe(tail) - }) - - it('bounds live appends and rebuilds the cached indexes for the retained tail', () => { - const merger = createNativeChatMerger() - replaceList(merger, [msg('a'), msg('b'), msg('c')]) - - expect(applyAppend(merger, [msg('d'), msg('e')], 3).map((m) => m.id)).toEqual(['c', 'd', 'e']) - expect(merger.indexById.has('a')).toBe(false) - expect(merger.indexById.get('c')).toBe(0) - expect( - applyAppend(merger, [msg('d', { blocks: [{ type: 'text', text: 'updated' }] })], 3)[1] - ).toMatchObject({ id: 'd', blocks: [{ type: 'text', text: 'updated' }] }) - }) -}) diff --git a/mobile/src/session/native-chat/mobile-native-chat-noise.test.ts b/mobile/src/session/native-chat/mobile-native-chat-noise.test.ts deleted file mode 100644 index 0c2fee7e19c..00000000000 --- a/mobile/src/session/native-chat/mobile-native-chat-noise.test.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { isNoiseMessage } from '../../../../src/shared/native-chat/native-chat-noise' -import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' - -function msg( - role: NativeChatMessage['role'], - text: string, - blocks?: NativeChatMessage['blocks'] -): NativeChatMessage { - return { - id: text.slice(0, 8), - role, - blocks: blocks ?? [{ type: 'text', text }], - timestamp: 0, - source: 'transcript' - } -} - -describe('isNoiseMessage', () => { - it('keeps real user messages', () => { - expect(isNoiseMessage(msg('user', 'make it work for codex'))).toBe(false) - expect(isNoiseMessage(msg('user', ' is my band'))).toBe(false) - }) - - it('keeps assistant, tool, and ordinary system turns', () => { - expect(isNoiseMessage(msg('assistant', ' in prose'))).toBe(false) - expect(isNoiseMessage(msg('tool', ' in prose'))).toBe(false) - expect(isNoiseMessage(msg('system', 'Conversation interrupted'))).toBe(false) - }) - - it('keeps tool-bearing user turns even when their text looks like harness noise', () => { - for (const block of [ - { type: 'tool-result', output: 'ok' }, - { type: 'tool-call', name: 'Bash', input: { command: 'ls' } } - ] satisfies NativeChatMessage['blocks']) { - expect( - isNoiseMessage(msg('user', '', [{ type: 'text', text: 'done' }, block])) - ).toBe(false) - } - }) -}) diff --git a/mobile/src/session/native-chat/mobile-native-chat-reading-place.test.tsx b/mobile/src/session/native-chat/mobile-native-chat-reading-place.test.tsx deleted file mode 100644 index 9cd4aa4d9f9..00000000000 --- a/mobile/src/session/native-chat/mobile-native-chat-reading-place.test.tsx +++ /dev/null @@ -1,652 +0,0 @@ -import { - Activity, - createElement as h, - Fragment, - useMemo, - type ReactElement, - type ReactNode -} from 'react' -import { - act, - create, - type ReactTestRenderer, - type ReactTestRendererJSON as Node -} from 'react-test-renderer' -import { afterEach, expect, it, vi } from 'vitest' -import { splitNativeChatBlocks } from '../../../../src/shared/native-chat/tools/native-chat-tool-fold' -import type { - NativeChatBlock, - NativeChatMessage -} from '../../../../src/shared/native-chat/native-chat-types' -import { foldMobileNativeChatMessages } from './mobile-native-chat-render-data' -import { - useMobileNativeChatRowKeys, - type MobileNativeChatRowKeys -} from './transcript/mobile-native-chat-row-keys' -import { mobileNativeChatRowId } from '../mobile-native-chat-reading-place' -import { MobileNativeChatPageList } from './transcript/MobileNativeChatPageList' -import { ToolRun } from './transcript/MobileNativeChatToolRun' -import { useMobileNativeChatTurnDisclosure } from './transcript/use-mobile-native-chat-turn-disclosure' - -const platform = vi.hoisted(() => ({ OS: 'web' })) -const scrollable = vi.hoisted(() => { - const held: { node: unknown } = { node: null } - return held -}) - -vi.mock('react-native', async () => { - const React = await import('react') - class ScrollView extends React.Component<{ children?: ReactNode }> { - scrollToEnd = (): void => {} - scrollTo = (): void => {} - getScrollableNode = (): unknown => scrollable.node - getInnerViewNode = (): object => ({}) - render(): ReactNode { - return React.createElement('div', null, this.props.children) - } - } - const settled = () => ({ start: (): void => {}, stop: (): void => {} }) - return { - Platform: platform, - Text: 'span', - View: 'div', - Pressable: 'button', - ScrollView, - Animated: { - Text: 'span', - Value: class { - setValue(): void {} - }, - loop: (animation: unknown) => animation, - sequence: settled, - timing: settled - }, - StyleSheet: { create: (styles: unknown) => styles, hairlineWidth: 1 }, - useWindowDimensions: () => ({ width: 400, height: 800 }) - } -}) -vi.mock('lucide-react-native', () => { - const icon = () => null - const names = ['Bot', 'Brain', 'Check', 'ChevronRight', 'Circle', 'CircleCheck', 'CircleDot'] - const more = ['Eye', 'FileMinus2', 'FilePen', 'FilePlus2', 'Folder', 'Globe', 'ListChecks'] - const rest = ['MessageSquareMore', 'Pencil', 'Plug', 'Search', 'SquareTerminal', 'Wrench'] - return Object.fromEntries([...names, ...more, ...rest].map((name) => [name, icon])) -}) -vi.mock('./transcript/mobile-native-chat-tool-styles', () => ({ - toolStyles: {}, - toolType: () => ({ row: {}, meta: {}, code: {} }) -})) -vi.mock('../../components/MobileSourceCopyButton', () => ({ MobileSourceCopyButton: () => null })) -vi.mock('../../platform/external-link', () => ({ openExternalLink: vi.fn() })) -vi.mock('../../components/inline-text-selection', () => ({ INLINE_TEXT_SELECTION: false })) - -// The browser's resize step: after layout, before paint. -const observers = new Map<() => void, Set>() -const resized = () => act(() => observers.forEach((_, deliver) => deliver())) -// Only observers watching `target` hear about it, as in the browser. -const resizedOnly = (target: unknown) => - act(() => observers.forEach((targets, deliver) => targets.has(target) && deliver())) -vi.stubGlobal( - 'ResizeObserver', - class { - constructor(private readonly deliver: () => void) { - observers.set(deliver, new Set()) - } - observe(target: unknown): void { - observers.get(this.deliver)?.add(target) - } - unobserve(target: unknown): void { - observers.get(this.deliver)?.delete(target) - } - disconnect(): void { - observers.delete(this.deliver) - } - } -) - -const mountedRenderers = new Set() - -afterEach(() => { - act(() => { - for (const renderer of mountedRenderers) { - renderer.unmount() - } - }) - mountedRenderers.clear() - scrollable.node = null - vi.useRealTimers() - vi.restoreAllMocks() -}) - -const say = (id: string, role: 'user' | 'assistant', text: string): NativeChatMessage => ({ - id, - role, - timestamp: null, - source: 'transcript', - blocks: [{ type: 'text', text }] -}) -const edit = (n: number): NativeChatBlock => { - const lines = (word: string): string => Array.from({ length: 30 }, () => word).join('\n') - const input = { file_path: `f${n}.ts`, old_string: lines('old'), new_string: lines('new') } - return { type: 'tool-call', name: 'Edit', callId: `c${n}`, input } -} -const run = (n: number): NativeChatMessage[] => [ - { ...say(`a${n}`, 'assistant', ''), blocks: [edit(n)] }, - { ...say(`r${n}`, 'user', ''), blocks: [{ type: 'tool-result', callId: `c${n}`, output: 'ok' }] } -] -const chat = [say('u0', 'user', 'first'), say('x0', 'assistant', 'answer'), say('u1', 'user', 'go')] - .concat({ - ...say('a1', 'assistant', 'On it'), - blocks: [{ type: 'text', text: 'On it' }, edit(1)] - }) - .concat(run(1).slice(1), ...Array.from({ length: 39 }, (_, i) => run(i + 2))) - -type Box = { id: string; top: number; bottom: number; end: number; parent: number; rows: boolean } -type Element = { - getAttribute: () => string - getBoundingClientRect: () => { top: number; bottom: number } - querySelectorAll: (selector: string) => Element[] - children: Element[] - nextElementSibling: Element | null -} - -const oldHostTail = (): NativeChatMessage[] => JSON.parse(JSON.stringify(chat)) -const from = (id: string) => oldHostTail().slice(chat.findIndex((m) => m.id === id)) - -// Model end-anchored scrollTop=0 at the tail and negative offsets above; prepending history must not shift the view. -function page(tree: () => Node | Node[] | null) { - const boxes = (): Box[] => { - const out: Box[] = [] - let y = 0 - const walk = (node: Node | string, parent: number): void => { - if (typeof node === 'string' || node.type === 'span') { - y += typeof node === 'string' ? 0 : 20 - return - } - const id = String(node.props.testID ?? '') - const rows = node.props['data-chat-rows'] !== undefined - const at = out.push({ id, top: y, bottom: y, end: 0, parent, rows }) - 1 - node.children?.forEach((child) => walk(child, at)) - out[at] = { ...out[at]!, bottom: y, end: out.length } - } - walk({ type: 'page', props: {}, children: [tree() ?? []].flat() }, -1) - return out - } - const element = (all: Box[], at: number): Element => { - const box = all[at]! - const siblings = (parent: number): Element[] => - all.flatMap((other, i) => (other.parent === parent ? [element(all, i)] : [])) - return { - getAttribute: () => box.id, - getBoundingClientRect: () => ({ - top: box.top - node.viewTop(), - bottom: box.bottom - node.viewTop() - }), - querySelectorAll: (inner: string) => select(all, at + 1, box.end, inner), - get children() { - return siblings(at) - }, - get nextElementSibling() { - const next = all.findIndex((other, i) => i > at && other.parent === box.parent) - return next === -1 ? null : element(all, next) - } - } - } - const select = (all: Box[], from: number, to: number, selector: string): Element[] => { - const prefix = /\^="([^"]+)"/.exec(selector)?.[1] ?? '?' - return all.flatMap((box, at) => - at >= from && at < to && box.id.startsWith(prefix) ? [element(all, at)] : [] - ) - } - let scrollTop = 0 - const listeners = new Map void>() - const node = { - writes: 0, - get scrollTop(): number { - return scrollTop - }, - set scrollTop(value: number) { - node.writes += 1 - scrollTop = value - }, - clientHeight: 200, - get scrollHeight(): number { - return boxes()[0]?.bottom ?? 0 - }, - viewTop: (): number => Math.max(0, node.scrollHeight - node.clientHeight) + node.scrollTop, - showFrom: (y: number): void => { - node.scrollTop = y - Math.max(0, node.scrollHeight - node.clientHeight) - }, - getAttribute: () => null, - getBoundingClientRect: () => ({ top: 0, bottom: node.clientHeight }), - addEventListener: (type: string, listener: () => void): void => { - listeners.set(type, listener) - }, - removeEventListener: (type: string): void => { - listeners.delete(type) - }, - touch: (type: 'touchstart' | 'touchend'): void => listeners.get(type)?.(), - querySelectorAll: (selector: string): Element[] => select(boxes(), 0, Infinity, selector), - querySelector: (): Element | null => { - const all = boxes() - const at = all.findIndex((box) => box.rows) - return at === -1 ? null : element(all, at) - }, - top: (id: string): number => - (boxes().find((box) => box.id === id)?.top ?? Number.NaN) - node.viewTop() - } - return node -} - -function Row({ - message, - rowKey, - joined = 0, - workRun, - joinsWorkRun -}: { - message: NativeChatMessage - rowKey: string - joined?: number - workRun?: readonly NativeChatMessage[] - joinsWorkRun?: boolean -}): ReactElement | null { - if (joinsWorkRun) { - return null - } - const { prose, tools } = splitNativeChatBlocks((workRun ?? [message]).flatMap((m) => m.blocks)) - const words = prose - .map((block, i) => h('span', { key: i }, block.type === 'text' ? block.text : '')) - .concat(Array.from({ length: joined }, (_, i) => h('span', { key: `joined:${i}` }, 'joined'))) - const run = tools.length > 0 && h(ToolRun, { blocks: tools }) - return h('div', { testID: mobileNativeChatRowId(rowKey) }, words, run) -} - -let shownKeys!: MobileNativeChatRowKeys - -function Chat(props: { - messages: NativeChatMessage[] - following: boolean - live: boolean - joined?: number - runs?: boolean - status?: boolean -}): ReactElement { - const folded = useMemo( - () => foldMobileNativeChatMessages(props.messages, 'claude'), - [props.messages] - ) - const turns = useMobileNativeChatTurnDisclosure({ - messages: folded, - enabled: props.runs === true, - isWorking: false, - scopeKey: 'chat' - }) - const keys = useMobileNativeChatRowKeys(folded, props.messages, 'chat', turns.presentation) - shownKeys = keys - return h(MobileNativeChatPageList, { - ref: null, - rows: turns.listMessages, - rowKeys: keys, - runs: turns.presentation.workRuns.heads, - isFollowing: () => props.following, - onEndDistance: () => {}, - renderItem: ({ item, index }) => { - const { workRun, joinsWorkRun } = turns.resolveRow(index, item) - const row = h(Row, { - message: item, - rowKey: keys.keyOf(item), - joined: item === folded.at(-1) ? props.joined : 0, - workRun, - joinsWorkRun - }) - // Turn status draws beside its row, untagged. - return props.status - ? h( - Fragment, - null, - row, - ...Array.from({ length: 5 }, (_, i) => h('span', { key: i }, 'Done')) - ) - : row - }, - layoutKey: 'layout', - contentContainerStyle: null, - header: h('div', { testID: 'header' }, h('span', null, 'Loading')), - footer: props.live ? h('span', null, 'Working') : null, - emptyStateView: null, - onScroll: () => {} - }) -} - -function mount( - messages: NativeChatMessage[], - options: { following: boolean; live: boolean; runs?: boolean; status?: boolean } = { - following: false, - live: false - } -) { - let renderer!: ReactTestRenderer - act(() => { - renderer = create(h('div')) - mountedRenderers.add(renderer) - }) - const scroller = page(() => renderer.toJSON()) - scrollable.node = scroller - let mode: 'visible' | 'hidden' = 'visible' - let last: { messages: NativeChatMessage[]; joined: number } = { messages, joined: 0 } - const show = (next: NativeChatMessage[], joined = 0): number => { - const before = scroller.writes - last = { messages: next, joined } - act(() => renderer.update({h(Chat, { ...options, ...last })})) - return scroller.writes - before - } - // Hide or show the list the way the chat overlay does behind its terminal. - const display = (next: 'visible' | 'hidden') => { - mode = next - show(last.messages, last.joined) - } - vi.useFakeTimers({ now: 10_000, toFake: ['Date', 'setTimeout', 'clearTimeout'] }) - const scrolled = () => - act(() => - renderer.root.find((n) => n.props.onScroll && n.props.scrollEventThrottle).props.onScroll({}) - ) - const rest = () => - act(() => { - vi.advanceTimersByTime(400) - }) - const read = (move: () => void) => { - move() - scrolled() - rest() - } - show(messages) - const find = (id: string) => renderer.root.find((n) => n.props.testID === id) - const press = (id: string) => act(() => find(id).findAllByType('button')[0]!.props.onPress()) - const drawn = (id: string) => renderer.root.findAll((n) => n.props.testID === id).length - const lines = (id: string) => find(id).findAllByType('span').length - const rows = () => - renderer.root - .findAll((n) => n.type === 'div' && String(n.props.testID).startsWith('chat-row:')) - .map((n) => n.props.testID) - return { scroller, show, display, press, drawn, lines, find, rows, scrolled, rest, read } -} - -it('keeps the line a reader was on, its run open, when older messages join the run from an old host', () => { - // Exercise anchoring both inside a run and at Load earlier when older calls absorb the visible orphan result. - for (const atTop of [false, true]) { - const chat0 = mount(from('r31')) - chat0.press(mobileNativeChatRowId('a32')) - chat0.press('chat-member:call:c34') - const opened = chat0.lines('chat-member:call:c34') - chat0.read(() => (chat0.scroller.scrollTop += chat0.scroller.top('chat-member:call:c34'))) - // Old hosts can replay the whole tail as new objects with unchanged ids. - for (const [older, first] of [ - ['r21', 'c32'], - ['u0', 'c22'] - ] as const) { - if (atTop) { - chat0.read(() => chat0.scroller.showFrom(0)) - } - const line = `chat-member:call:${atTop ? first : 'c34'}` - const top = chat0.scroller.top(line) - expect(chat0.show(from(older))).toBeLessThanOrEqual(1) - expect(chat0.scroller.top(line)).toBe(top) - } - - expect(chat0.rows().slice(0, 3)).toEqual(['u0', 'x0', 'u1'].map(mobileNativeChatRowId)) - expect(chat0.lines('chat-member:call:c34')).toBe(opened) - expect(chat0.drawn('chat-member:call:c1')).toBe(1) - expect(shownKeys.current('r21')).toBe('a32') - - chat0.show([...oldHostTail(), say('done', 'assistant', 'Done'), say('ask', 'user', 'next')]) - expect(chat0.drawn(mobileNativeChatRowId('a32'))).toBe(1) - expect(chat0.drawn('chat-member:call:c34')).toBe(1) - } - - // Both collapsed headers and open lines must stay anchored as older calls join above. - const later = Array.from({ length: 10 }, (_, i) => say(`t${i}`, 'user', 'later')) - for (const open of [false, true]) { - const tail = mount([...from('r21'), ...later]) - if (open) { - tail.press(mobileNativeChatRowId('a22')) - tail.read(() => (tail.scroller.scrollTop += tail.scroller.top('chat-member:call:c27') + 40)) - } - const before = tail.scroller.top(mobileNativeChatRowId('t0')) - tail.show([...oldHostTail(), ...later]) - expect(tail.scroller.top(mobileNativeChatRowId('t0'))).toBe(before) - } -}) - -it('holds back a change below a scrolling reader until they rest, then keeps their line', () => { - const rows = Array.from({ length: 12 }, (_, i) => say(`m${i}`, i % 2 ? 'assistant' : 'user', 'x')) - const chat0 = mount(rows) - chat0.scroller.showFrom(40) - chat0.scrolled() - // A correction mid-fling would stop iOS momentum; hold the below-reader reply until rest. - const line = chat0.scroller.top(mobileNativeChatRowId('m4')) - expect(chat0.show([...rows, say('n1', 'assistant', 'reply')])).toBe(0) - expect(chat0.drawn(mobileNativeChatRowId('n1'))).toBe(0) - expect(chat0.scroller.top(mobileNativeChatRowId('m4'))).toBe(line) - chat0.rest() - expect(chat0.drawn(mobileNativeChatRowId('n1'))).toBe(1) - expect(chat0.scroller.top(mobileNativeChatRowId('m4'))).toBe(line) -}) - -it('a parked reader stays parked when React Native Web repeats the scroll event of its own correction', () => { - const rows = Array.from({ length: 12 }, (_, i) => say(`m${i}`, i % 2 ? 'assistant' : 'user', 'x')) - const chat0 = mount(rows) - chat0.read(() => chat0.scroller.showFrom(40)) - const line = chat0.scroller.top(mobileNativeChatRowId('m4')) - const n1 = say('n1', 'assistant', 'reply') - chat0.show([...rows, n1]) - chat0.scrolled() - // React Native Web sends the last scroll event again 100 ms after scrolling stops. - chat0.scrolled() - chat0.show([...rows, n1, say('n2', 'assistant', 'more')]) - expect(chat0.drawn(mobileNativeChatRowId('n2'))).toBe(1) - expect(chat0.scroller.top(mobileNativeChatRowId('m4'))).toBe(line) -}) - -it('releases a held change once a chat hidden mid-touch is shown again and the reader rests', () => { - const rows = Array.from({ length: 12 }, (_, i) => say(`m${i}`, i % 2 ? 'assistant' : 'user', 'x')) - const chat0 = mount(rows) - chat0.scroller.touch('touchstart') - chat0.scroller.showFrom(40) - chat0.scrolled() - chat0.show([...rows, say('n1', 'assistant', 'reply')]) - chat0.display('hidden') - // The hidden list hears no touchend. - chat0.scroller.touch('touchend') - chat0.display('visible') - chat0.rest() - expect(chat0.drawn(mobileNativeChatRowId('n1'))).toBe(1) -}) - -it('keeps a parked reader on their line when the list viewport changes height, as when the composer grows', () => { - const rows = Array.from({ length: 12 }, (_, i) => say(`m${i}`, i % 2 ? 'assistant' : 'user', 'x')) - const chat0 = mount(rows) - chat0.read(() => chat0.scroller.showFrom(40)) - const line = chat0.scroller.top(mobileNativeChatRowId('m4')) - - chat0.scroller.clientHeight = 120 - resizedOnly(chat0.scroller) - - expect(chat0.scroller.top(mobileNativeChatRowId('m4'))).toBe(line) -}) - -it("holds a row's look with its messages: what the chat's state adds lands once the reader rests", () => { - const rows = Array.from({ length: 12 }, (_, i) => say(`m${i}`, i % 2 ? 'assistant' : 'user', 'x')) - const chat0 = mount(rows) - chat0.scroller.showFrom(40) - chat0.scrolled() - const line = chat0.scroller.top(mobileNativeChatRowId('m4')) - expect(chat0.show(rows, 3)).toBe(0) - expect(chat0.lines(mobileNativeChatRowId('m11'))).toBe(1) - expect(chat0.scroller.top(mobileNativeChatRowId('m4'))).toBe(line) - chat0.rest() - expect(chat0.lines(mobileNativeChatRowId('m11'))).toBe(4) - expect(chat0.scroller.top(mobileNativeChatRowId('m4'))).toBe(line) -}) - -it('draws a run once when an older page brings in its start while the reader moves', () => { - const call = (id: string): NativeChatMessage => ({ - ...say(id, 'assistant', ''), - blocks: [{ type: 'tool-call', name: 'Bash', callId: id, input: { command: id } }] - }) - const thought: NativeChatMessage = { ...say('t', 'assistant', 'weighing it'), role: 'reasoning' } - const later = Array.from({ length: 12 }, (_, i) => - say(`m${i}`, i % 2 ? 'assistant' : 'user', 'x') - ) - const chat0 = mount([thought, call('b'), ...later], { following: false, live: false, runs: true }) - chat0.scroller.showFrom(40) - chat0.scrolled() - chat0.show([say('u', 'user', 'go'), call('a'), thought, call('b'), ...later]) - const once = ['u', 'a', 'm0'].map(mobileNativeChatRowId) - expect(chat0.rows().slice(0, 3)).toEqual(once) - expect(chat0.drawn('chat-member:run')).toBe(1) - chat0.rest() - expect(chat0.rows().slice(0, 3)).toEqual(once) - expect(chat0.drawn('chat-member:run')).toBe(1) -}) - -it('draws a bounded tail again once a reader who scrolled back through history returns to it', () => { - // Rows and their status lines are sized so a cut that drops a row's status would draw it back. - const messages = Array.from({ length: 200 }, (_, i) => ({ - ...say(`m${i}`, i % 2 ? 'assistant' : 'user', ''), - blocks: [0, 1].map((line) => ({ type: 'text' as const, text: `message ${i}.${line}` })) - })) - const options = { following: true, live: false, status: true } - const chat0 = mount(messages, options) - const tail = chat0.rows().length - options.following = false - chat0.show(messages) - for (let page = 0; page < 8; page += 1) { - chat0.read(() => chat0.scroller.showFrom(0)) - } - expect(chat0.rows().length).toBeGreaterThan(tail * 2) - - options.following = true - chat0.show(messages) - chat0.read(() => (chat0.scroller.scrollTop = 0)) - expect(chat0.rows().length).toBeLessThanOrEqual(tail) - expect(chat0.rows().at(-1)).toBe(mobileNativeChatRowId('m199')) -}) - -it('holds a row the reader taps open in place, and a reply below waits out a flick', () => { - const later = Array.from({ length: 10 }, (_, i) => say(`t${i}`, 'user', 'later')) - const chat0 = mount([...from('r21'), ...later]) - const header = mobileNativeChatRowId('a22') - chat0.read(() => (chat0.scroller.scrollTop += chat0.scroller.top(header) - 40)) - chat0.scroller.touch('touchstart') - chat0.scroller.touch('touchend') - const before = chat0.scroller.top(header) - chat0.press(header) - resized() - expect(chat0.scroller.top(header)).toBe(before) - - // Touch release can start a fling; it is not evidence the list is at rest. - chat0.scroller.touch('touchstart') - chat0.scroller.scrollTop -= 30 - chat0.scrolled() - chat0.scroller.touch('touchend') - expect(chat0.show([...from('r21'), ...later, say('n1', 'assistant', 'reply')])).toBe(0) - expect(chat0.drawn(mobileNativeChatRowId('n1'))).toBe(0) -}) - -it('at the cap, a trim and an append of equal height hold a parked reader and leave a following one to follow', () => { - const rows = Array.from({ length: 13 }, (_, i) => - say(`m${i}`, i % 2 ? 'assistant' : 'user', `message ${i}`) - ) - for (const options of [ - { following: true, live: false }, - { following: true, live: true }, - { following: false, live: false } - ]) { - const chat0 = mount(rows.slice(0, 12), options) - chat0.read(() => - options.following ? (chat0.scroller.scrollTop = 0) : chat0.scroller.showFrom(50) - ) - const before = { - scrollTop: chat0.scroller.scrollTop, - m4: chat0.scroller.top(mobileNativeChatRowId('m4')) - } - - const writes = chat0.show(rows.slice(1)) - - expect(writes).toBe(options.following ? 0 : 1) - if (options.following) { - expect(chat0.scroller.scrollTop).toBe(before.scrollTop) - } else { - expect(chat0.scroller.top(mobileNativeChatRowId('m4'))).toBe(before.m4) - } - } - - // Sequential and parallel trims split results to opposite sides; orphan results must never inherit a run’s key. - const output = (n: number): NativeChatMessage => ({ - ...say(`o${n}`, 'user', ''), - role: 'tool', - blocks: [{ type: 'tool-result', callId: `c${n}`, output: 'ok' }] - }) - const six = [1, 2, 3, 4, 5, 6] - const calls = (id: string) => - six.map((n) => ({ ...say(`${id}${n}`, 'assistant', ''), blocks: [edit(n)] })) - const outputs = { ...output(1), id: 'U', blocks: six.flatMap((n) => output(n).blocks) } - for (const [source, head, orphan, last, absorbed] of [ - [chat.slice(3, 15), 'a1', 'r1', 11, []], - [calls('p').concat(six.map(output)), 'p1', 'o1', 6, ['o1', 'o2', 'o3', 'o4']], - [calls('q').concat(outputs), 'q1', 'U', 6, ['U']] - ] as const) { - const top = mount([...source, ...rows]) - top.press(mobileNativeChatRowId(head)) - top.read(() => (top.scroller.scrollTop += top.scroller.top('chat-member:call:c6') - 10)) - const trim = (trimmed: number) => { - top.show([...source.slice(trimmed), ...rows, say(`done${trimmed}`, 'assistant', 'Done')]) - const run = top.find(mobileNativeChatRowId(head)) - expect(run.findAll((n) => n.props.testID === 'chat-member:call:c6')).toHaveLength(1) - expect(top.scroller.top('chat-member:call:c6')).toBe(10) - } - trim(1) - expect(top.drawn(mobileNativeChatRowId(orphan))).toBe(1) - trim(2) - trim(4) - top.show([...source, ...rows, say('done4', 'assistant', 'Done')]) - expect(absorbed.map(shownKeys.current)).toEqual(absorbed.map(() => head)) - top.show([...source.slice(last), ...rows, say('done', 'assistant', 'Done')]) - expect(top.drawn(mobileNativeChatRowId(head))).toBe(0) - } - - const reader = mount([...chat.slice(3, 15), ...rows]) - reader.press(mobileNativeChatRowId('a1')) - reader.read(() => (reader.scroller.scrollTop += reader.scroller.top('chat-member:call:c1'))) - const next = reader.scroller.top('chat-member:call:c2') - expect(next).toBeGreaterThan(0) - reader.show([...chat.slice(4, 15), ...rows, say('done', 'assistant', 'Done')]) - expect(reader.scroller.top('chat-member:call:c2')).toBe(next) -}) - -it('a roster keeps its key when the fold moves it, and the rows the reader saw after it stay put', () => { - const sibling = (id: string): NativeChatMessage => ({ - ...say(id, 'user', ''), - role: 'system', - blocks: [ - { type: 'text', text: `Ran subagent ${id}` }, - { type: 'subagent', id: `agent-${id}`, label: id, state: 'completed', groupId: 'turn-1' } - ] - }) - const said = (name: string) => - Array.from({ length: 12 }, (_, i) => say(`${name}${i}`, i % 2 ? 'assistant' : 'user', name)) - const all = [...said('old'), sibling('s1'), ...said('mid'), sibling('s2'), ...said('new')] - const chat0 = mount(all.slice(25)) - const tops = (ids: string[]) => ids.map((id) => chat0.scroller.top(mobileNativeChatRowId(id))) - chat0.read(() => chat0.scroller.showFrom(20)) - const below = tops(['new0', 'new5']) - expect(chat0.show(all)).toBeLessThanOrEqual(1) - expect(tops(['new0', 'new5'])).toEqual(below) - expect(chat0.drawn(mobileNativeChatRowId('s2'))).toBe(1) - chat0.read(() => (chat0.scroller.scrollTop += chat0.scroller.top(mobileNativeChatRowId('s2')))) - const after = tops(['mid0', 'mid5']) - expect(chat0.show(all.slice(13))).toBeLessThanOrEqual(1) - expect(tops(['mid0', 'mid5'])).toEqual(after) - expect(chat0.drawn(mobileNativeChatRowId('s2'))).toBe(1) -}) diff --git a/mobile/src/session/native-chat/mobile-native-chat-send-classification.test.ts b/mobile/src/session/native-chat/mobile-native-chat-send-classification.test.ts deleted file mode 100644 index a916038e77a..00000000000 --- a/mobile/src/session/native-chat/mobile-native-chat-send-classification.test.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - classifyMobileNativeChatSend, - getMobileNativeChatCommands -} from './mobile-native-chat-send-classification' - -describe('classifyMobileNativeChatSend', () => { - it('recognizes OMP selectors and context commands without claiming generic help', () => { - expect(classifyMobileNativeChatSend('omp', '/switch')).toBe('command') - expect(classifyMobileNativeChatSend('omp', '/compact focus on tests')).toBe('command') - expect(classifyMobileNativeChatSend('omp', '/help')).toBe('unknown-token') - expect(classifyMobileNativeChatSend('omp', '/smol')).toBe('unknown-token') - }) - - it('classifies catalog commands per agent', () => { - expect(classifyMobileNativeChatSend('claude', '/clear')).toBe('command') - expect(classifyMobileNativeChatSend('claude', '/compact')).toBe('command') - expect(classifyMobileNativeChatSend('codex', '/model')).toBe('command') - expect(classifyMobileNativeChatSend('codex', '/permissions')).toBe('command') - }) - - it('treats slash tokens outside the agent catalog as unknown, never chat', () => { - expect(classifyMobileNativeChatSend('claude', '/model sonnet')).toBe('unknown-token') - expect(classifyMobileNativeChatSend('claude', '/cost')).toBe('unknown-token') - expect(classifyMobileNativeChatSend('claude', '/diff')).toBe('unknown-token') - }) - - it('leaves /context off mobile, which has no way to show its answer', () => { - for (const agent of ['openclaude', 'omp']) { - expect(classifyMobileNativeChatSend(agent, '/context')).toBe('unknown-token') - expect(classifyMobileNativeChatSend(agent, '/compact')).toBe('command') - expect(getMobileNativeChatCommands(agent).map(({ name }) => name)).not.toContain('context') - } - }) - - it('keeps prose as chat, including leading-whitespace slash text', () => { - expect(classifyMobileNativeChatSend('claude', 'hello there')).toBe('chat') - expect(classifyMobileNativeChatSend('claude', ' /clear is a command')).toBe('chat') - expect(classifyMobileNativeChatSend('claude', '/usr/bin/python is missing')).toBe( - 'unknown-token' - ) - }) - - it('treats $ tokens as skill grammar only for Codex', () => { - expect(classifyMobileNativeChatSend('codex', '$deploy now')).toBe('unknown-token') - expect(classifyMobileNativeChatSend('claude', '$PATH is empty')).toBe('chat') - }) - - it('defaults to chat when no agent is resolved', () => { - expect(classifyMobileNativeChatSend(null, '/clear')).toBe('chat') - }) -}) diff --git a/mobile/src/session/native-chat/mobile-native-chat-send-classification.ts b/mobile/src/session/native-chat/mobile-native-chat-send-classification.ts deleted file mode 100644 index 77febaf434c..00000000000 --- a/mobile/src/session/native-chat/mobile-native-chat-send-classification.ts +++ /dev/null @@ -1,33 +0,0 @@ -// Do not echo terminal slash/skill controls as chat turns: no transcript user row exists to reconcile their bubbles. - -import { - getAgentAnsweredNativeChatCommands, - getNativeChatAgentProfile -} from '../../../../src/shared/native-chat/native-chat-agent-profiles' -import { - classifyNativeChatSend, - type NativeChatSendClassification, - type SlashCommandSuggestion -} from '../../../../src/shared/native-chat/input/native-chat-slash-commands' - -// Terminal mobile chat lacks desktop-owned command answers and reply rows. -export function getMobileNativeChatCommands(agent: string): readonly SlashCommandSuggestion[] { - return getAgentAnsweredNativeChatCommands(agent) -} - -export function classifyMobileNativeChatSend( - agent: string | null, - text: string, - pickerSkillOriginToken: string | null = null -): NativeChatSendClassification { - if (!agent) { - return 'chat' - } - const profile = getNativeChatAgentProfile(agent) - return classifyNativeChatSend( - text, - getMobileNativeChatCommands(agent), - pickerSkillOriginToken, - profile?.skillPrefix ?? null - ) -} diff --git a/mobile/src/session/native-chat/mobile-native-chat-stream-frame.test.ts b/mobile/src/session/native-chat/mobile-native-chat-stream-frame.test.ts deleted file mode 100644 index 29a44951f12..00000000000 --- a/mobile/src/session/native-chat/mobile-native-chat-stream-frame.test.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - createNativeChatMerger, - replaceList -} from '../../../../src/shared/native-chat/native-chat-merge' -import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' -import { applyMobileNativeChatStreamFrame } from './mobile-native-chat-stream-frame' - -function message(id: string): NativeChatMessage { - return { - id, - role: 'assistant', - blocks: [{ type: 'text', text: id }], - timestamp: 0, - source: 'transcript' - } -} - -describe('applyMobileNativeChatStreamFrame', () => { - it('replaces a partially overlapping replay that no longer extends the retained tail', () => { - const merger = createNativeChatMerger() - replaceList(merger, ['old-1', 'shared', 'old-tail'].map(message)) - - // Keep hasMore true so only the contiguity check can reject the interleaved row. - const replay = [message('shared'), message('compacted-summary'), message('old-tail')] - expect( - applyMobileNativeChatStreamFrame({ - merger, - frame: { type: 'snapshot', messages: replay, hasMore: true, beforeOffset: 9 }, - limit: 100, - replaceSnapshot: false - }) - ).toEqual({ - kind: 'messages', - messages: replay, - hasMore: true, - beforeOffset: 9, - windowReplaced: true - }) - }) - - it('replaces retained history when replay metadata says no earlier rows remain', () => { - const merger = createNativeChatMerger() - replaceList(merger, ['removed-1', 'removed-2', 'a', 'b'].map(message)) - - const replay = [message('a'), message('b')] - expect( - applyMobileNativeChatStreamFrame({ - merger, - frame: { type: 'snapshot', messages: replay, hasMore: false, beforeOffset: 0 }, - limit: 100, - replaceSnapshot: false - }) - ).toEqual({ - kind: 'messages', - messages: replay, - hasMore: false, - beforeOffset: 0, - windowReplaced: true - }) - }) -}) diff --git a/mobile/src/session/native-chat/mobile-native-chat-terminal-write-lock.test.ts b/mobile/src/session/native-chat/mobile-native-chat-terminal-write-lock.test.ts deleted file mode 100644 index 38a789a3359..00000000000 --- a/mobile/src/session/native-chat/mobile-native-chat-terminal-write-lock.test.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { afterEach, describe, expect, it } from 'vitest' -import { - acquireMobileNativeChatTerminalWrite, - releaseMobileNativeChatTerminalWrite, - resetMobileNativeChatTerminalWritesForTests -} from './mobile-native-chat-terminal-write-lock' - -describe('mobile-native-chat-terminal-write-lock', () => { - afterEach(resetMobileNativeChatTerminalWritesForTests) - - it('allows composed writes on different terminals to proceed concurrently', () => { - expect(acquireMobileNativeChatTerminalWrite('terminal-a')).toBe(true) - - expect(acquireMobileNativeChatTerminalWrite('terminal-b')).toBe(true) - expect(acquireMobileNativeChatTerminalWrite('terminal-a')).toBe(false) - - releaseMobileNativeChatTerminalWrite('terminal-a') - expect(acquireMobileNativeChatTerminalWrite('terminal-a')).toBe(true) - expect(acquireMobileNativeChatTerminalWrite('terminal-b')).toBe(false) - releaseMobileNativeChatTerminalWrite('terminal-a') - releaseMobileNativeChatTerminalWrite('terminal-b') - expect(acquireMobileNativeChatTerminalWrite('terminal-b')).toBe(true) - }) -}) diff --git a/mobile/src/session/native-chat/mobile-native-chat-unsent-notices.ts b/mobile/src/session/native-chat/mobile-native-chat-unsent-notices.ts index fb40c24539c..d3416e91524 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-unsent-notices.ts +++ b/mobile/src/session/native-chat/mobile-native-chat-unsent-notices.ts @@ -1,5 +1,5 @@ import { agentJournalSubmissionKey } from '../../../../src/shared/agent-session/journal/agent-session-journal-item-key' -import { mobileAgentSessionWriteNoticeText } from '../agent-session-write-notice-copy' +import { mobileAgentSessionWriteNoticeText } from './agent-session/agent-session-write-notice-copy' import { agentSessionVisibleFailureFacts } from '../../../../src/shared/agent-session/failures/agent-session-visible-failures' import type { NativeChatTurnJournal } from '../../../../src/shared/native-chat/transcript/native-chat-turn-membership' import { dispatchWasWithdrawn } from '../../../../src/shared/agent-session/requests/structured-agent-session-dispatch-rejection' diff --git a/mobile/src/session/mobile-native-chat-host-preference-operations.ts b/mobile/src/session/native-chat/preferences/mobile-native-chat-host-preference-operations.ts similarity index 82% rename from mobile/src/session/mobile-native-chat-host-preference-operations.ts rename to mobile/src/session/native-chat/preferences/mobile-native-chat-host-preference-operations.ts index 459aff6fdc0..d33af3fd738 100644 --- a/mobile/src/session/mobile-native-chat-host-preference-operations.ts +++ b/mobile/src/session/native-chat/preferences/mobile-native-chat-host-preference-operations.ts @@ -1,7 +1,6 @@ -import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc/rpc-operation' -import type { RpcCompatibleReader } from '../transport/rpc/rpc-operation-contract' -import '../../../src/shared/source-control/listing/source-control-group-order' -import { settingsMember, settingsField } from '../settings/mobile-settings-projection' +import { bindDeferredRpcOperation, defineRpcOperation } from '../../../transport/rpc/rpc-operation' +import type { RpcCompatibleReader } from '../../../transport/rpc/rpc-operation-contract' +import { settingsMember, settingsField } from '../../../settings/mobile-settings-projection' // Missing reports let the caller tell an older host's absence from a reported value. function reportedBooleanSettingReader( diff --git a/mobile/src/session/native-chat/preferences/mobile-native-chat-host-preference.test.tsx b/mobile/src/session/native-chat/preferences/mobile-native-chat-host-preference.test.tsx new file mode 100644 index 00000000000..83b0adec268 --- /dev/null +++ b/mobile/src/session/native-chat/preferences/mobile-native-chat-host-preference.test.tsx @@ -0,0 +1,174 @@ +import { act, create, type ReactTestRenderer } from 'react-test-renderer' +import { afterEach, expect, it, vi } from 'vitest' +import { useMobileNativeChatQueueFollowUps } from './use-mobile-native-chat-queue-follow-ups' +import { useMobileNativeChatCiResultLines } from './use-mobile-native-chat-ci-result-lines' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' +import type { ConnectionState } from '../../../transport/connection/connection-state' +import type { RpcResponse } from '../../../transport/rpc/rpc-wire-types' + +function connection() { + let state: ConnectionState = 'connected' + let generation = 0 + const callbacks: ((event: unknown) => void)[] = [] + const routedCallbacks: { host: string | undefined; callback: (event: unknown) => void }[] = [] + const states = new Set<(state: ConnectionState) => void>() + const stops = vi.fn() + const replies: ((reply: RpcResponse) => void)[] = [] + const failures: ((reason: Error) => void)[] = [] + const sendRequest = vi.fn( + () => + new Promise((resolve, reject) => { + replies.push(resolve) + failures.push(reject) + }) + ) + const client: RpcClient = { + sendRequest, + subscribe: vi.fn((_method, _params, callback, options) => { + callbacks.push(callback) + const host = options?.envelope?.executionHost + routedCallbacks.push({ host: typeof host === 'string' ? host : undefined, callback }) + return stops + }), + onStateChange: (callback) => { + states.add(callback) + return () => { + states.delete(callback) + } + }, + getState: () => state, + getGeneration: () => generation, + getReconnectAttempt: () => 0, + getLastConnectedAt: () => null, + notifyForeground: () => {}, + close: () => {}, + updateTerminalSubscriptionViewport: () => {} + } + return { + client, + stops, + replies, + failures, + callbacks, + states, + emit: (event: unknown) => callbacks.at(-1)?.(event), + emitAt: (host: string | undefined, event: unknown) => + routedCallbacks.findLast((entry) => entry.host === host)?.callback(event), + change: (next: ConnectionState, migrate = false) => { + state = next + if (migrate) { + generation++ + } + for (const callback of states) { + callback(state) + } + } + } +} +const settingsReply = (settings: Record): RpcResponse => ({ + id: 'r', + ok: true, + result: { settings }, + _meta: { runtimeId: 'r' } +}) + +const renderers = new Set() +afterEach(() => { + act(() => { + for (const renderer of renderers) { + renderer.unmount() + } + }) + renderers.clear() +}) + +it('shows CI lines from the last value the paired desktop reported, hidden until it reports one', async () => { + const desktop = connection() + const values: boolean[] = [] + function Chat() { + values.push(useMobileNativeChatCiResultLines(desktop.client, true)) + return null + } + let chat!: ReactTestRenderer + function NoDesktop() { + values.push(useMobileNativeChatCiResultLines(null, true)) + return null + } + await act(async () => { + renderers.add(create()) + }) + expect(values.at(-1)).toBe(false) + await act(async () => { + chat = create() + renderers.add(chat) + }) + // An older desktop omits the field from both its ready snapshot and its settings. + await act(async () => desktop.emit({ type: 'ready', subscriptionId: 'old', snapshot: {} })) + await act(async () => desktop.replies.at(-1)!(settingsReply({ nativeChatQueueFollowUps: true }))) + expect(values.at(-1)).toBe(false) + await act(async () => + desktop.emit({ type: 'nativeChatCiResultLinesChanged', ciResultLines: true }) + ) + expect(values.at(-1)).toBe(true) + await act(async () => desktop.change('disconnected')) + // Draw again while disconnected: a phone resume must not blink the line out. + await act(async () => chat.update()) + expect(values.at(-1)).toBe(true) + await act(async () => desktop.change('connected')) + await act(async () => + desktop.emit({ + type: 'ready', + subscriptionId: 'new', + snapshot: { nativeChatCiResultLines: false } + }) + ) + expect(values.at(-1)).toBe(false) +}) + +it('keeps a pending follow-ups read when a CI change lands on a joined stream', async () => { + const desktop = connection() + const values = new Map() + function FollowUps() { + values.set( + 'follow-ups', + useMobileNativeChatQueueFollowUps(desktop.client, true, 'f', desktop.client, true) + ) + return null + } + function CiLines() { + values.set('ci', useMobileNativeChatCiResultLines(desktop.client, true)) + return null + } + const first = create() + renderers.add(first) + await act(async () => {}) + // A legacy ready re-reads follow-ups; that read is still out when a later chat joins the stream. + await act(async () => desktop.emit({ type: 'ready', subscriptionId: 'legacy' })) + const followUpsRead = desktop.replies.at(-1)! + await act(async () => + first.update( + <> + + + + ) + ) + const ciRead = desktop.replies.at(-1)! + await act(async () => + desktop.emit({ type: 'nativeChatCiResultLinesChanged', ciResultLines: true }) + ) + await act(async () => + followUpsRead( + settingsReply({ nativeChatQueueFollowUps: false, nativeChatCiResultLines: false }) + ) + ) + await act(async () => + ciRead(settingsReply({ nativeChatQueueFollowUps: true, nativeChatCiResultLines: false })) + ) + expect(values).toEqual( + new Map([ + ['follow-ups', false], + ['ci', true] + ]) + ) +}) diff --git a/mobile/src/session/mobile-native-chat-host-preference.ts b/mobile/src/session/native-chat/preferences/mobile-native-chat-host-preference.ts similarity index 95% rename from mobile/src/session/mobile-native-chat-host-preference.ts rename to mobile/src/session/native-chat/preferences/mobile-native-chat-host-preference.ts index a25db4207c0..5da3241c9fc 100644 --- a/mobile/src/session/mobile-native-chat-host-preference.ts +++ b/mobile/src/session/native-chat/preferences/mobile-native-chat-host-preference.ts @@ -2,12 +2,12 @@ import { nativeChatCiResultLinesRead, nativeChatQueueFollowUpsRead } from './mobile-native-chat-host-preference-operations' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import { subscribeSharedClientEvents, type SharedClientEvent -} from '../transport/connection/shared-client-events' -import { nativeChatQueueFollowUps } from '../../../src/shared/native-chat/input/native-chat-follow-up-behavior' +} from '../../../transport/connection/shared-client-events' +import { nativeChatQueueFollowUps } from '../../../../../src/shared/native-chat/input/native-chat-follow-up-behavior' /** A desktop chat setting the host pushes live: its read, its change event and its ready-snapshot field. */ export type MobileNativeChatHostPreferenceKind = { diff --git a/mobile/src/session/use-mobile-native-chat-ci-result-lines.ts b/mobile/src/session/native-chat/preferences/use-mobile-native-chat-ci-result-lines.ts similarity index 91% rename from mobile/src/session/use-mobile-native-chat-ci-result-lines.ts rename to mobile/src/session/native-chat/preferences/use-mobile-native-chat-ci-result-lines.ts index 8684aa95eb3..7a189a6d890 100644 --- a/mobile/src/session/use-mobile-native-chat-ci-result-lines.ts +++ b/mobile/src/session/native-chat/preferences/use-mobile-native-chat-ci-result-lines.ts @@ -1,5 +1,5 @@ import { useCallback, useSyncExternalStore } from 'react' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import { CI_RESULT_LINES_PREFERENCE, mobileNativeChatHostPreference diff --git a/mobile/src/session/use-mobile-native-chat-queue-follow-ups.ts b/mobile/src/session/native-chat/preferences/use-mobile-native-chat-queue-follow-ups.ts similarity index 89% rename from mobile/src/session/use-mobile-native-chat-queue-follow-ups.ts rename to mobile/src/session/native-chat/preferences/use-mobile-native-chat-queue-follow-ups.ts index 882b158db00..201c398ef02 100644 --- a/mobile/src/session/use-mobile-native-chat-queue-follow-ups.ts +++ b/mobile/src/session/native-chat/preferences/use-mobile-native-chat-queue-follow-ups.ts @@ -1,6 +1,6 @@ import { useCallback, useSyncExternalStore } from 'react' -import { nativeChatQueueFollowUps } from '../../../src/shared/native-chat/input/native-chat-follow-up-behavior' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' +import { nativeChatQueueFollowUps } from '../../../../../src/shared/native-chat/input/native-chat-follow-up-behavior' +import type { RpcClient } from '../../../transport/rpc/rpc-client-contract' import { mobileNativeChatHostPreference, QUEUE_FOLLOW_UPS_PREFERENCE diff --git a/mobile/src/session/MobileLinkActionSheet.tsx b/mobile/src/session/native-chat/transcript/MobileLinkActionSheet.tsx similarity index 83% rename from mobile/src/session/MobileLinkActionSheet.tsx rename to mobile/src/session/native-chat/transcript/MobileLinkActionSheet.tsx index 81db7d52d06..6ab27dc905c 100644 --- a/mobile/src/session/MobileLinkActionSheet.tsx +++ b/mobile/src/session/native-chat/transcript/MobileLinkActionSheet.tsx @@ -1,10 +1,10 @@ import { useState } from 'react' import { Copy, ExternalLink, Globe } from 'lucide-react-native' -import { ActionSheetModal, type ActionSheetAction } from '../components/ActionSheetModal' -import { openExternalLink } from '../platform/external-link' -import { useClipboardWriter } from '../platform/clipboard' -import { triggerError, triggerSuccess } from '../platform/haptics' -import { useMobileTranslation } from '../i18n/use-mobile-translation' +import { ActionSheetModal, type ActionSheetAction } from '../../../components/ActionSheetModal' +import { openExternalLink } from '../../../platform/external-link' +import { useClipboardWriter } from '../../../platform/clipboard' +import { triggerError, triggerSuccess } from '../../../platform/haptics' +import { useMobileTranslation } from '../../../i18n/use-mobile-translation' // Choices for a tapped chat link: Orca's browser on the host, the phone's browser, or the clipboard. export function MobileLinkActionSheet(props: { diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatAgentMessageCard.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatAgentMessageCard.tsx index f3e0575224e..a7c2b263ac4 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatAgentMessageCard.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatAgentMessageCard.tsx @@ -11,7 +11,7 @@ import { type AgentMessageHeading } from '../../../../../src/shared/agent-session/agent-message-presentation' import { mobileNativeChatDisplayCopyText } from './mobile-native-chat-display-copy' -import { MobileNativeChatMarkdown } from '../MobileNativeChatMarkdown' +import { MobileNativeChatMarkdown } from './MobileNativeChatMarkdown' import { MobileAgentIcon } from '../../../components/MobileAgentIcon' import { AgentStateDot } from '../../../components/AgentStateDot' import { MobileSourceCopyButton } from '../../../components/MobileSourceCopyButton' diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatAwaitingInputRow.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatAwaitingInputRow.tsx index f29c25359ef..9d607c9658b 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatAwaitingInputRow.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatAwaitingInputRow.tsx @@ -8,7 +8,7 @@ import { colors, spacing, typography } from '../../../theme/mobile-theme' import { themedStyleSheet } from '../../../theme/themed-styles' import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' import { scaledType } from './mobile-native-chat-message-styles' -import { MobileNativeChatQuestionText } from '../MobileNativeChatQuestionText' +import { MobileNativeChatQuestionText } from './MobileNativeChatQuestionText' const ICON_SIZE = 15 diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatBackgroundTaskRun.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatBackgroundTaskRun.tsx index 029bb7f7076..0e72502a666 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatBackgroundTaskRun.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatBackgroundTaskRun.tsx @@ -6,7 +6,7 @@ import { INLINE_TEXT_SELECTION } from '../../../components/inline-text-selection import { colors, spacing, typography } from '../../../theme/mobile-theme' import { themedStyleSheet } from '../../../theme/themed-styles' import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' -import { sayMobileBackgroundTask } from '../../mobile-background-task-copy' +import { sayMobileBackgroundTask } from '../input/mobile-background-task-copy' import { BackgroundTaskKindIcon } from '../input/MobileNativeChatBackgroundTasks' import { scaledType } from './mobile-native-chat-message-styles' diff --git a/mobile/src/session/native-chat/MobileNativeChatDiffCard.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatDiffCard.tsx similarity index 85% rename from mobile/src/session/native-chat/MobileNativeChatDiffCard.tsx rename to mobile/src/session/native-chat/transcript/MobileNativeChatDiffCard.tsx index 261373b2835..fa7d1eeecb6 100644 --- a/mobile/src/session/native-chat/MobileNativeChatDiffCard.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatDiffCard.tsx @@ -1,25 +1,25 @@ import { useMemo } from 'react' import { Pressable, Text, View } from 'react-native' -import { MobileNativeChatOwnedScrollView } from './transcript/MobileNativeChatOwnedScrollView' +import { MobileNativeChatOwnedScrollView } from './MobileNativeChatOwnedScrollView' import { ChevronRight, FileMinus2, FilePen, FilePlus2 } from 'lucide-react-native' -import { nativeChatEditFilePatchText } from '../../../../src/shared/native-chat/tools/native-chat-edit-cards' +import { nativeChatEditFilePatchText } from '../../../../../src/shared/native-chat/tools/native-chat-edit-cards' import { nativeChatEditFileBaseName, nativeChatEditGutterChars, unifiedLineNumber, type NativeChatEditFile, type NativeChatEditLine -} from '../../../../src/shared/native-chat/tools/native-chat-edit-model' -import { nativeChatToolRowVerbCopy } from './transcript/native-chat-tool-row-verb-copy' -import { nativeChatDiffCardCopy } from '../../source-control/review/native-chat-diff-card-copy' -import { useMobileTranslation } from '../../i18n/use-mobile-translation' -import { MobileSourceCopyButton } from '../../components/MobileSourceCopyButton' -import { colors, pressedStyle } from '../../theme/mobile-theme' -import { useMobileColorScheme } from '../../theme/use-mobile-color-scheme' -import { useMobileNativeChatOpenedDetail } from './visual/mobile-native-chat-opened-detail' -import { useMobileNativeChatDisclosure } from './transcript/mobile-native-chat-disclosure-store' -import { toolStyles as styles, toolType } from './transcript/mobile-native-chat-tool-styles' -import { useMobileNativeChatOpenFile } from './mobile-native-chat-open-file-context' +} from '../../../../../src/shared/native-chat/tools/native-chat-edit-model' +import { nativeChatToolRowVerbCopy } from './native-chat-tool-row-verb-copy' +import { nativeChatDiffCardCopy } from '../../../source-control/review/native-chat-diff-card-copy' +import { useMobileTranslation } from '../../../i18n/use-mobile-translation' +import { MobileSourceCopyButton } from '../../../components/MobileSourceCopyButton' +import { colors, pressedStyle } from '../../../theme/mobile-theme' +import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' +import { useMobileNativeChatOpenedDetail } from '../visual/mobile-native-chat-opened-detail' +import { useMobileNativeChatDisclosure } from './mobile-native-chat-disclosure-store' +import { toolStyles as styles, toolType } from './mobile-native-chat-tool-styles' +import { useMobileNativeChatOpenFile } from '../mobile-native-chat-open-file-context' function VerbIcon({ kind, size }: { kind: NativeChatEditFile['changeKind']; size: number }) { useMobileColorScheme() diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatEmptyStateView.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatEmptyStateView.tsx new file mode 100644 index 00000000000..e58ef3da95d --- /dev/null +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatEmptyStateView.tsx @@ -0,0 +1,12 @@ +import { Text, View } from 'react-native' +import type { NativeChatEmptyStateCopy } from '../../../../../src/shared/native-chat/native-chat-empty-state' +import { styles } from '../mobile-native-chat-view-styles' + +export function MobileNativeChatEmptyStateView({ copy }: { copy: NativeChatEmptyStateCopy }) { + return ( + + {copy.title} + {copy.subtitle} + + ) +} diff --git a/mobile/src/session/native-chat/MobileNativeChatFullContent.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatFullContent.tsx similarity index 87% rename from mobile/src/session/native-chat/MobileNativeChatFullContent.tsx rename to mobile/src/session/native-chat/transcript/MobileNativeChatFullContent.tsx index 537902265eb..aab95c37457 100644 --- a/mobile/src/session/native-chat/MobileNativeChatFullContent.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatFullContent.tsx @@ -1,27 +1,27 @@ import { useContext, useEffect, useMemo, useState } from 'react' import { Pressable, Text, View, type TextStyle } from 'react-native' -import { truncateToolDetail } from '../../../../src/shared/native-chat/tools/native-chat-tool-summary' +import { truncateToolDetail } from '../../../../../src/shared/native-chat/tools/native-chat-tool-summary' import { isNativeChatToolOutputClipped, nativeChatToolFullPayload, nativeChatToolOutputPartialSizes -} from '../../../../src/shared/native-chat/tools/native-chat-tool-output' +} from '../../../../../src/shared/native-chat/tools/native-chat-tool-output' import type { NativeChatMessage, NativeChatToolResultBlock -} from '../../../../src/shared/native-chat/native-chat-types' -import type { AgentJournalBoundedPayload } from '../../../../src/shared/agent-session/journal/agent-session-journal-types' -import { INLINE_TEXT_SELECTION } from '../../components/inline-text-selection' -import { styles } from './transcript/mobile-native-chat-message-styles' -import { toolStyles } from './transcript/mobile-native-chat-tool-styles' -import { useMobileColorScheme } from '../../theme/use-mobile-color-scheme' -import { useMobileTranslation } from '../../i18n/use-mobile-translation' -import { MobileNativeChatOwnedScrollView } from './transcript/MobileNativeChatOwnedScrollView' +} from '../../../../../src/shared/native-chat/native-chat-types' +import type { AgentJournalBoundedPayload } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' +import { INLINE_TEXT_SELECTION } from '../../../components/inline-text-selection' +import { styles } from './mobile-native-chat-message-styles' +import { toolStyles } from './mobile-native-chat-tool-styles' +import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' +import { useMobileTranslation } from '../../../i18n/use-mobile-translation' +import { MobileNativeChatOwnedScrollView } from './MobileNativeChatOwnedScrollView' import { MobileNativeChatItemSourceContext, readMobileNativeChatItem } from './mobile-native-chat-item-read' -import { pressedStyle } from '../../theme/mobile-theme' +import { pressedStyle } from '../../../theme/mobile-theme' // Keep full-content state per row so live transcript revisions cannot overwrite the reader’s requested expansion. diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatLiveLine.android.test.ts b/mobile/src/session/native-chat/transcript/MobileNativeChatLiveLine.android.test.ts index 8a7b534e6d5..1a0fcdacd7a 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatLiveLine.android.test.ts +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatLiveLine.android.test.ts @@ -28,7 +28,7 @@ vi.mock('./MobileNativeChatRewindDialog', () => ({ MobileNativeChatRewindDialog: vi.mock('./MobileNativeChatMessageActionsSheet', () => ({ MobileNativeChatMessageActionsSheet: 'MessageActionsSheet' })) -vi.mock('../../MobileLinkActionSheet', () => ({ MobileLinkActionSheet: 'LinkActionSheet' })) +vi.mock('./MobileLinkActionSheet', () => ({ MobileLinkActionSheet: 'LinkActionSheet' })) vi.mock('../visual/MobileNativeChatImageViewer', () => ({ MobileNativeChatImageViewer: 'ImageViewer' })) diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatLiveLine.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatLiveLine.tsx index 4b0c5ce1df1..c08be0a7f06 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatLiveLine.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatLiveLine.tsx @@ -2,7 +2,7 @@ import { useContext } from 'react' import { Pressable, Text, View } from 'react-native' import { ChevronRight } from 'lucide-react-native' import { nativeChatReasoningDisclosureKey } from '../../../../../src/shared/native-chat/transcript/native-chat-reasoning-row' -import { formatMobileNativeChatActiveTurnLabel } from '../native-chat-turn-status-copy' +import { formatMobileNativeChatActiveTurnLabel } from './native-chat-turn-status-copy' import { useMobileTranslation } from '../../../i18n/use-mobile-translation' import { INLINE_TEXT_SELECTION } from '../../../components/inline-text-selection' import { LoadingSpinner } from '../../../components/LoadingSpinner' diff --git a/mobile/src/session/native-chat/MobileNativeChatLongPressContent.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatLongPressContent.tsx similarity index 100% rename from mobile/src/session/native-chat/MobileNativeChatLongPressContent.tsx rename to mobile/src/session/native-chat/transcript/MobileNativeChatLongPressContent.tsx diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatMarkdown.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatMarkdown.tsx new file mode 100644 index 00000000000..fbd25176b08 --- /dev/null +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatMarkdown.tsx @@ -0,0 +1,11 @@ +import type { ComponentProps } from 'react' +import { MobileMarkdown } from '../../../components/MobileMarkdown' +import { useMobileNativeChatOpenFile } from '../mobile-native-chat-open-file-context' + +/** Chat markdown: generic markdown with the chat's file opener, so file paths in any chat text open, + * and desktop chat's math delimiters. */ +export function MobileNativeChatMarkdown( + props: Omit, 'onOpenFile' | 'chatMath'> +): React.JSX.Element { + return +} diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatMessage.status-notices.test.ts b/mobile/src/session/native-chat/transcript/MobileNativeChatMessage.status-notices.test.ts deleted file mode 100644 index 8adab75b691..00000000000 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatMessage.status-notices.test.ts +++ /dev/null @@ -1,282 +0,0 @@ -import { createElement, type ReactNode } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it, vi } from 'vitest' -import type { AgentJournalStatusItem } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' -import { isAdmissibleAgentJournalItemBody } from '../../../../../src/shared/agent-session/journal/agent-session-journal-schemas' -import { projectStructuredItemToNativeChat } from '../../../../../src/shared/agent-session/view/structured-agent-session-projection' -import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' -import { agentSessionFailureFact } from '../../../../../src/shared/agent-session/failures/agent-session-failure' -import { agentSessionFailureWords } from '../../../../../src/shared/agent-session/failures/agent-session-failure-words' -import { colors } from '../../../theme/mobile-theme' -import { activateMobileUiLocale } from '../../../i18n/mobile-i18n' -import { MarkdownLinkHandlerContext } from '../../../components/markdown-link-handler' -import { - MobileNativeChatNoticeContext, - type MobileNativeChatNoticeView -} from '../../mobile-native-chat-notice-context' - -vi.mock('react-native', async () => { - const React = await import('react') - const Text = ({ children, ...props }: { children?: ReactNode }): unknown => - React.createElement('Text', props, children) - return { - ActivityIndicator: 'ActivityIndicator', - Animated: { - Text, - Value: class { - setValue(): void {} - }, - loop: (animation: unknown) => animation, - sequence: () => ({ start: vi.fn(), stop: vi.fn() }), - timing: () => ({ start: vi.fn(), stop: vi.fn() }) - }, - Image: 'Image', - Platform: { OS: 'ios' }, - Pressable: 'Pressable', - ScrollView: ({ children, ...props }: { children?: ReactNode }) => - React.createElement('ScrollView', props, children), - Text, - View: ({ children, ...props }: { children?: ReactNode }) => - React.createElement('View', props, children), - StyleSheet: { create: (styles: unknown) => styles, hairlineWidth: 1 }, - useWindowDimensions: () => ({ width: 400, height: 800 }) - } -}) -vi.mock('expo-clipboard', () => ({ setStringAsync: vi.fn() })) -vi.mock('lucide-react-native', () => ({ - AlertCircle: 'AlertCircle', - AlertTriangle: 'AlertTriangle', - ArrowUp: 'ArrowUp', - Bot: 'Bot', - Brain: 'Brain', - Check: 'Check', - ChevronDown: 'ChevronDown', - ChevronRight: 'ChevronRight', - CircleCheck: 'CircleCheck', - CircleX: 'CircleX', - Copy: 'Copy', - Eye: 'Eye', - FileMinus2: 'FileMinus2', - FilePen: 'FilePen', - FilePlus2: 'FilePlus2', - Folder: 'Folder', - Globe: 'Globe', - Info: 'Info', - ListChecks: 'ListChecks', - MessageSquareMore: 'MessageSquareMore', - Pencil: 'Pencil', - Plug: 'Plug', - Search: 'Search', - SquareChevronRight: 'SquareChevronRight', - SquareTerminal: 'SquareTerminal', - Wrench: 'Wrench' -})) -vi.mock('../../../components/MobileMarkdown', () => ({ MobileMarkdown: 'MobileMarkdown' })) -vi.mock('./MobileNativeChatMessageActionsSheet', () => ({ - MobileNativeChatMessageActionsSheet: 'MessageActionsSheet' -})) - -import { MobileNativeChatMessage } from './MobileNativeChatMessage' - -describe('MobileNativeChatMessage status notices', () => { - let renderer: ReactTestRenderer | null = null - - afterEach(async () => { - act(() => renderer?.unmount()) - renderer = null - await activateMobileUiLocale('en') - }) - - function render(message: NativeChatMessage): ReactTestRenderer { - act(() => { - renderer = create(createElement(MobileNativeChatMessage, { message })) - }) - return renderer! - } - - const statusRow = (body: AgentJournalStatusItem): NativeChatMessage => - projectStructuredItemToNativeChat({ - itemId: 'status', - revision: 1, - sequence: 2, - observedAt: 2, - body - })! - const renderNotice = (body: AgentJournalStatusItem, names: MobileNativeChatNoticeView) => { - act(() => { - renderer = create( - createElement( - MobileNativeChatNoticeContext.Provider, - { value: names }, - createElement(MobileNativeChatMessage, { message: statusRow(body) }) - ) - ) - }) - return renderer!.root.findAll( - (node) => String(node.type) === 'Text' && node.props.selectable === true - )[0]! - } - - it('localizes a canonical failure and discloses its diagnostic only on request', async () => { - await activateMobileUiLocale('fr') - const diagnostic = 'Internal provider diagnostic: modelNotFound' - const notice = renderNotice( - { - kind: 'status', - tone: 'error', - ...agentSessionFailureWords(agentSessionFailureFact('modelUnavailable'), { - agentName: 'Codex', - surface: 'row' - }), - providerFrame: { - provider: 'codex', - kind: 'notification:error', - payload: { - head: diagnostic, - byteLength: diagnostic.length, - digest: 'fixture', - truncated: false - } - } - }, - { hostName: null, agentName: 'Codex' } - ) - expect(String(notice.props.children)).toContain('le modèle sélectionné') - expect(String(notice.props.children)).not.toContain(diagnostic) - const details = () => - renderer!.root.findAll( - (node) => String(node.type) === 'Text' && String(node.props.children).includes(diagnostic) - ) - expect(details()).toHaveLength(0) - const disclosure = renderer!.root.find( - (node) => String(node.type) === 'Pressable' && node.props['aria-expanded'] === false - ) - act(() => disclosure.props.onPress()) - expect(details().length).toBeGreaterThan(0) - act(() => renderer?.unmount()) - const hostAdvice: unknown = { - kind: 'status', - text: 'Custom host advice: use the enterprise model.', - failure: agentSessionFailureFact('modelUnavailable') - } - if (!isAdmissibleAgentJournalItemBody(hostAdvice) || hostAdvice.kind !== 'status') { - throw new Error('Expected host status row') - } - const custom = renderNotice(hostAdvice, { hostName: null, agentName: 'Codex' }) - expect(custom.props.children).toBe('Custom host advice: use the enterprise model.') - }) - - it('links a CI result line to its pull request and commit through the link sheet', () => { - const openLink = vi.fn() - act(() => { - renderer = create( - createElement( - MarkdownLinkHandlerContext.Provider, - { value: openLink }, - createElement(MobileNativeChatMessage, { - message: { - // The journal key percent-encodes the line's client message id. - id: 'orca:pr-event%3Agithub.com%2Facme%2Frepo%233%3A8d5f74b0c1%3A1', - role: 'system', - blocks: [ - { - type: 'text', - text: 'CI failing on repo#3 at 8d5f74b', - presentation: 'pull-request-event', - tone: 'failure' - } - ], - timestamp: 0, - source: 'transcript' - } - }) - ) - ) - }) - const links = renderer!.root.findAll( - (node) => String(node.type) === 'Text' && node.props.accessibilityRole === 'link' - ) - // The whole lead is the PR's target, so a lead the ellipsis cuts still opens it. - expect(links.map((link) => link.props.accessibilityLabel ?? link.props.children)).toEqual([ - 'CI failing on repo#3', - '8d5f74b' - ]) - links.forEach((link) => act(() => link.props.onPress())) - expect(openLink.mock.calls).toEqual([ - ['https://github.com/acme/repo/pull/3'], - ['https://github.com/acme/repo/commit/8d5f74b0c1'] - ]) - }) - - // Protocol-shaped synthetic frames, not a live-provider reproduction. - it.each([ - [ - 'codex', - 'notification:guardianWarning', - 'warning', - 'Codex reported a safety review warning. View details.', - 'Codex a signalé un avertissement de sécurité. Voir les détails.', - colors.statusAmber - ] - ] as const)( - 'discloses the entire available %s notice without tool-output clipping or recovery', - async (provider, kind, tone, heading, french, color) => { - const text = `${'安全 '.repeat(1500)}EXPLANATION_SENTINEL` - const head = `{"partial":"${'é'.repeat(4500)}PAYLOAD_SENTINEL` - const tree = render( - statusRow({ - kind: 'status', - text, - tone, - providerFrame: { - provider, - kind, - payload: { head, byteLength: 99999, digest: 'synthetic', truncated: true } - } - }) - ) - const button = () => - tree.root.find( - (node) => - String(node.type) === 'Pressable' && - node.props.accessibilityLabel?.includes('View details.') - ) - expect(button().props.accessibilityLabel).toBe(heading) - expect(button().props['aria-expanded']).toBe(false) - const detailTexts = () => - tree.root.findAll( - (node) => - String(node.type) === 'Text' && - node.props.selectable === true && - Array.isArray(node.props.children) && - node.props.children.includes(text) - ) - expect(detailTexts()).toHaveLength(0) - act(() => button().props.onPress()) - expect(button().props['aria-expanded']).toBe(true) - const detail = detailTexts()[0] - expect(detail.props.children.join('')).toContain(text) - expect(detail.props.children.join('')).toContain(head) - expect(detail.props.children.join('')).toContain( - 'Provider response truncated (original size: 99999 bytes).' - ) - expect(Object.assign({}, ...detail.props.style)).toMatchObject({ color }) - expect( - tree.root.findAll( - (node) => - String(node.type) === 'Text' && String(node.props.children).includes('Show full output') - ) - ).toHaveLength(0) - await act(() => activateMobileUiLocale('fr')) - const translated = tree.root.find( - (node) => String(node.type) === 'Pressable' && node.props.accessibilityLabel === french - ) - expect(translated.props['aria-expanded']).toBe(true) - expect(detailTexts()[0].props.children.join('')).toContain( - 'Réponse du fournisseur tronquée (taille d’origine : 99999 octets).' - ) - act(() => translated.props.onPress()) - expect(detailTexts()).toHaveLength(0) - } - ) -}) diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatMessage.tool-result-availability.test.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatMessage.tool-result-availability.test.tsx index d43988aaf5c..d6b44de0b81 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatMessage.tool-result-availability.test.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatMessage.tool-result-availability.test.tsx @@ -1,15 +1,7 @@ -import { createElement, Fragment, type ReactNode } from 'react' +import { createElement, type ReactNode } from 'react' import { act, create, type ReactTestInstance, type ReactTestRenderer } from 'react-test-renderer' import { afterEach, describe, expect, it, vi } from 'vitest' import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' -import type { - AgentJournalItemBody, - AgentJournalRenderItem -} from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' - -import { projectStructuredItemsToNativeChat } from '../../../../../src/shared/agent-session/view/structured-agent-session-projection' -import { foldMobileNativeChatMessages } from '../mobile-native-chat-render-data' -import { useMobileNativeChatTurnDisclosure } from './use-mobile-native-chat-turn-disclosure' vi.mock('react-native', async () => { const React = await import('react') @@ -118,21 +110,6 @@ describe('mobile tool result availability', () => { vi.restoreAllMocks() }) - function render(row: NativeChatMessage, openRun = true): ReactTestRenderer { - act(() => { - renderer = create(createElement(MobileNativeChatMessage, { message: row })) - }) - if (openRun) { - press( - renderer!.root.find( - (node) => - String(node.type) === 'Pressable' && node.props.accessibilityLiveRegion === 'polite' - ) - ) - } - return renderer! - } - // The page's window unmounts a row scrolled past; older messages joining its fold change its id. it('keeps what the reader opened in a windowed-out row by its row key', () => { const row = message([ @@ -177,175 +154,4 @@ describe('mobile tool result availability', () => { expect(textIn(renderer!.root)).toContain('first output') expect(textIn(renderer!.root)).not.toContain('second output') }) - - it('gives a named completion to its own call past silent calls, not to the first', () => { - const calls: NativeChatMessage['blocks'] = Array.from({ length: 18 }, (_, index) => ({ - type: 'tool-call', - callId: `call-${index}`, - name: 'Bash', - input: { command: `command ${index}` } - })) - const raw = message([ - ...calls, - { type: 'tool-result', callId: 'call-17', output: 'late named output' } - ]) - const [row] = foldMobileNativeChatMessages([raw], 'claude') - const tree = render(row!) - expect(toolLines(tree.root)).toHaveLength(18) - expect(textIn(tree.root)).not.toContain('late named output') - press(button(tree.root, 'command 17')) - expect(textIn(tree.root)).toContain('late named output') - press(button(tree.root, 'command 17')) - expect(button(tree.root, 'command 0').props.disabled).toBe(true) - }) - - it.each([true, false])( - 'draws derived outputs ahead of a prompt queued while stopping (host scopes: %s)', - (hasScopes) => { - function item( - itemId: string, - sequence: number, - body: AgentJournalItemBody - ): AgentJournalRenderItem { - return { - itemId, - sequence, - body, - revision: 1, - observedAt: sequence, - ...(hasScopes - ? { - turnScope: - sequence <= 2 - ? { kind: 'thread' as const } - : { kind: 'turn' as const, turnItemId: 'turn' } - } - : {}) - } - } - const items = [ - item('prompt', 1, { - kind: 'message', - role: 'user', - blocks: [{ type: 'text', text: 'question' }] - }), - item('turn', 2, { kind: 'turn', turnId: 'turn', userItemId: 'prompt', state: 'running' }), - item('working-call', 3, { - kind: 'tool-call', - callId: 'working', - name: 'Bash', - input: 'still working', - state: 'running' - }), - item('queued', 4, { - kind: 'message', - role: 'user', - blocks: [{ type: 'text', text: 'queued question' }] - }), - item('source', 5, { - kind: 'message', - role: 'assistant', - blocks: [ - { type: 'text', text: 'source context' }, - { type: 'tool-result', callId: 'unavailable-a', output: 'output one\nfull one' }, - { type: 'tool-result', callId: 'unavailable-b', output: 'output two\nfull two' } - ] - }) - ] - let drawn: NativeChatMessage[] = [] - let waiting: string[] = [] - let live: string[] = [] - function Phone({ journal }: { journal: AgentJournalRenderItem[] }): React.JSX.Element { - const raw = projectStructuredItemsToNativeChat(journal).map((row) => - row.id === 'queued' ? { ...row, queued: true as const } : row - ) - const rows = foldMobileNativeChatMessages(raw, 'claude') - const disclosure = useMobileNativeChatTurnDisclosure({ - messages: rows, - enabled: true, - isWorking: true, - stopping: true, - turnJournal: { items: journal, submissions: [] }, - scopeKey: 'remote-host\0folder\0tab' - }) - drawn = Array.from(disclosure.listMessages) - waiting = disclosure.waitingRows.map((row) => row.item.id) - live = drawn.flatMap((row, index) => - disclosure.resolveRow(index, row).activeTurnIsWorking ? [row.id] : [] - ) - return createElement( - Fragment, - null, - ...drawn.map((row, index) => - createElement(MobileNativeChatMessage, { - key: row.id, - message: row, - ...disclosure.resolveRow(index, row), - structuredActivityUi: true - }) - ) - ) - } - act(() => { - renderer = create(createElement(Phone, { journal: items })) - }) - const tree = renderer! - const headers = () => - tree.root.findAll( - (node) => - String(node.type) === 'Pressable' && node.props.accessibilityLiveRegion === 'polite' - ) - for (let index = 0; index < headers().length; index += 1) { - press(headers()[index]!) - } - for (let index = 0; index < toolLines(tree.root).length; index += 1) { - press(toolLines(tree.root)[index]!) - } - const orphan = drawn.find((row) => row.role === 'tool')! - expect(orphan.id).not.toBe('source') - expect(orphan.journalPosition).toEqual({ sequence: 5, index: 0 }) - expect(drawn.map((row) => row.id)).toEqual(['prompt', 'working-call', 'source', orphan.id]) - expect(waiting).toEqual(['queued']) - expect(live).toContain(orphan.id) - expect(toolLines(tree.root)).toHaveLength(3) - expect(textIn(tree.root)).toContain('output one\nfull one') - expect(textIn(tree.root)).toContain('output two\nfull two') - const firstOutput = button(tree.root, 'output one') - act(() => tree.update(createElement(Phone, { journal: structuredClone(items) }))) - expect(drawn.find((row) => row.role === 'tool')?.id).toBe(orphan.id) - expect(waiting).toEqual(['queued']) - expect(button(tree.root, 'output one')).toBe(firstOutput) - expect(foldMobileNativeChatMessages(drawn, 'claude')).toEqual(drawn) - } - ) - - it('keeps duplicate-ID rows independently open as results and later rows arrive', () => { - const initial = message([ - { type: 'tool-call', callId: 'duplicate', name: 'Bash', input: 'first input' }, - { type: 'tool-call', callId: 'duplicate', name: 'Bash', input: 'second input' }, - { type: 'tool-result', callId: 'duplicate', output: 'first output' } - ]) - const tree = render(initial) - const first = button(tree.root, 'first input') - const second = button(tree.root, 'second input') - press(first) - expect(textIn(tree.root)).toContain('first output') - const updated = message([ - { type: 'tool-call', callId: 'duplicate', name: 'Bash', input: 'changed first input' }, - { type: 'tool-call', callId: 'duplicate', name: 'Bash', input: 'changed second input' }, - { type: 'tool-result', callId: 'duplicate', output: 'first output' }, - { type: 'tool-result', callId: 'duplicate', output: 'second output' }, - { type: 'tool-call', callId: 'later', name: 'Bash', input: 'later input' } - ]) - act(() => tree.update(createElement(MobileNativeChatMessage, { message: updated }))) - expect(button(tree.root, 'changed first input')).toBe(first) - expect(button(tree.root, 'changed second input')).toBe(second) - expect(textIn(tree.root)).toContain('first output') - expect(textIn(tree.root)).not.toContain('second output') - press(second) - expect(textIn(tree.root)).toContain('second output') - press(first) - expect(textIn(tree.root)).not.toContain('first output') - expect(textIn(tree.root)).toContain('second output') - }) }) diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatMessage.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatMessage.tsx index 57100b34894..ab29aada0df 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatMessage.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatMessage.tsx @@ -1,7 +1,7 @@ import { memo, useCallback, useContext, useLayoutEffect, useMemo, useRef } from 'react' import { Text, View } from 'react-native' import { INLINE_TEXT_SELECTION } from '../../../components/inline-text-selection' -import { MobileNativeChatLongPressContent as Content } from '../MobileNativeChatLongPressContent' +import { MobileNativeChatLongPressContent as Content } from './MobileNativeChatLongPressContent' import { splitNativeChatBlocks } from '../../../../../src/shared/native-chat/tools/native-chat-tool-fold' import { nativeChatToolRunViewedImages } from '../../../../../src/shared/native-chat/tools/native-chat-tool-viewed-images' import { selectActiveToolCall } from '../../../../../src/shared/native-chat/tools/native-chat-tool-activity' @@ -15,7 +15,7 @@ import { MobileNativeChatGroupedThought, MobileNativeChatReasoningRow } from './MobileNativeChatReasoningRow' -import { mobileNativeChatRowId } from '../../mobile-native-chat-reading-place' +import { mobileNativeChatRowId } from './mobile-native-chat-reading-place' import { nativeChatWorkRunEntries } from '../../../../../src/shared/native-chat/native-chat-work-run' import { nativeChatReasoningDisclosureKey } from '../../../../../src/shared/native-chat/transcript/native-chat-reasoning-row' import { MobileNativeChatTurnStatus } from './MobileNativeChatTurnStatus' @@ -27,7 +27,7 @@ import { MobileNativeChatUserMessageFold } from './MobileNativeChatUserMessageFo import { TextAttachmentActions } from './MobileNativeChatTextAttachmentActions' import { MobileNativeChatMessageMeta } from './MobileNativeChatMessageMeta' import { MobileNativeChatAwaitingInputRow } from './MobileNativeChatAwaitingInputRow' -import { MobileNativeChatResolutionReceipt } from '../MobileNativeChatResolutionReceipt' +import { MobileNativeChatResolutionReceipt } from './MobileNativeChatResolutionReceipt' import { nativeChatAskRunBlocks, nativeChatAskRunSubject @@ -41,7 +41,7 @@ import type { NativeChatTurnStatus } from '../../../../../src/shared/native-chat import { styles } from './mobile-native-chat-message-styles' import { MobileNativeChatAgentMessageCard } from './MobileNativeChatAgentMessageCard' import { MobileNativeChatVisualContext } from '../visual/mobile-native-chat-visual-context' -import { useMobileNativeChatFullMessage } from '../MobileNativeChatFullContent' +import { useMobileNativeChatFullMessage } from './MobileNativeChatFullContent' import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' import { useMobileTranslation } from '../../../i18n/use-mobile-translation' import { MobileNativeChatPacedProse } from './MobileNativeChatPacedProse' diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatNoticeRow.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatNoticeRow.tsx index 3d4631781cd..c1b8600e34d 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatNoticeRow.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatNoticeRow.tsx @@ -27,8 +27,8 @@ import { MobileNativeChatForkedFromContext, MobileNativeChatNoticeContext, type MobileNativeChatNoticeView -} from '../../mobile-native-chat-notice-context' -import { MobileNativeChatMarkdown } from '../MobileNativeChatMarkdown' +} from './mobile-native-chat-notice-context' +import { MobileNativeChatMarkdown } from './MobileNativeChatMarkdown' import { INLINE_TEXT_SELECTION } from '../../../components/inline-text-selection' import { colors, radii, spacing, typography } from '../../../theme/mobile-theme' import { themedStyleSheet } from '../../../theme/themed-styles' @@ -36,7 +36,7 @@ import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' import { nativeChatHostStatusCopy, nativeChatNoticeCopy } from './native-chat-notice-copy' import { nativeChatOrcaStopSay } from './native-chat-orca-stop-copy' import { nativeChatUsageLimitText } from './native-chat-usage-limit-copy' -import { sayMobileAgentSessionFailure } from '../../agent-session-failure-copy' +import { sayMobileAgentSessionFailure } from '../agent-session/agent-session-failure-copy' import type { Translate } from '../../../i18n/mobile-i18n' import { useMobileTranslation } from '../../../i18n/use-mobile-translation' import { NATIVE_CHAT_STOPPED_BEFORE_START_PRESENTATION } from '../../../../../src/shared/native-chat/native-chat-stopped-before-start' diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatPageList.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatPageList.tsx index bc8f623b1cb..3ab666638f9 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatPageList.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatPageList.tsx @@ -27,14 +27,14 @@ import { mobileNativeChatRowBoxProps, type MobileNativeChatReadingUnit, type MobileNativeChatScrollNode -} from '../../mobile-native-chat-reading-place' +} from './mobile-native-chat-reading-place' import type { MobileNativeChatListHandle } from './use-mobile-native-chat-tail-follow' import type { MobileNativeChatScrollRoots } from './mobile-native-chat-scroll-roots' -import { scrollWritesStopMomentum } from '../../mobile-native-chat-scroll-motion' +import { scrollWritesStopMomentum } from './mobile-native-chat-scroll-motion' import { createMobileNativeChatGrowthHold, MobileNativeChatGrowthHoldContext -} from '../../mobile-native-chat-growth-hold' +} from './mobile-native-chat-growth-hold' const FIRST_ROWS = 24 const DRAW_BATCH = 12 diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatProse.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatProse.tsx index 69dc694ba84..02dd506a8e8 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatProse.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatProse.tsx @@ -1,7 +1,8 @@ +import { mobileNativeChatMarkdownImageBlock } from './mobile-native-chat-markdown-image-block' import { useCallback, useContext, useEffect, useState } from 'react' import { Image, Pressable, Text, View } from 'react-native' import { INLINE_TEXT_SELECTION } from '../../../components/inline-text-selection' -import { MobileNativeChatMarkdown } from '../MobileNativeChatMarkdown' +import { MobileNativeChatMarkdown } from './MobileNativeChatMarkdown' import { isImageRefBlock, isTextBlock, @@ -28,34 +29,6 @@ import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' import { useMobileTranslation } from '../../../i18n/use-mobile-translation' import { nativeChatHostStatusCopy } from './native-chat-notice-copy' import { pressedStyle } from '../../../theme/mobile-theme' -import { routeNativeChatHref } from '../../../../../src/shared/native-chat/native-chat-href-routing' -import { isRuntimePathAbsolute } from '../../../../../src/shared/cross-platform-path' -import { isRasterImagePath } from '../../../../../src/shared/file-preview/file-preview-kind' -import { isKnownRasterImageMimeType } from '../../../../../src/shared/file-preview/raster-image-preview-limits' -import { isSvgFilePath } from '../../../../../src/shared/file-preview/svg-document' - -/** Raster https, data and absolute-path images draw on the phone (paths through the chat's host); anything else stays a link. - * The shell's CSP refuses plain http, and React Native's Image cannot draw SVG. */ -function markdownImageBlock(href: string, alt: string): NativeChatImageRefBlock | null { - const label = alt.trim() ? { alt } : {} - const source = href.trim() - if (/^data:/i.test(source)) { - return isKnownRasterImageMimeType(source.slice(5).split(/[;,]/, 1)[0]) - ? { type: 'image-ref', url: source, ...label } - : null - } - const route = routeNativeChatHref(source) - if (route.kind === 'web') { - return /^https:/i.test(route.url) && !isSvgFilePath(route.url.split(/[?#]/, 1)[0] ?? '') - ? { type: 'image-ref', url: route.url, ...label } - : null - } - return route.kind === 'file' && - isRuntimePathAbsolute(route.pathText) && - isRasterImagePath(route.pathText) - ? { type: 'image-ref', path: route.pathText, ...label } - : null -} export function Prose({ rowKey, @@ -86,7 +59,7 @@ export function Prose({ const t = useMobileTranslation() const renderImage = useCallback( (href: string, alt: string): React.ReactNode => { - const image = markdownImageBlock(href, alt) + const image = mobileNativeChatMarkdownImageBlock(href, alt) return image ? ( ) : null diff --git a/mobile/src/session/native-chat/MobileNativeChatQuestionText.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatQuestionText.tsx similarity index 88% rename from mobile/src/session/native-chat/MobileNativeChatQuestionText.tsx rename to mobile/src/session/native-chat/transcript/MobileNativeChatQuestionText.tsx index ff0069026fb..ccd2cb29a48 100644 --- a/mobile/src/session/native-chat/MobileNativeChatQuestionText.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatQuestionText.tsx @@ -1,7 +1,7 @@ import type { ComponentProps } from 'react' import { View, type StyleProp, type ViewStyle } from 'react-native' -import { styles as markdownStyles } from '../../components/mobile-markdown-styles' -import { typography } from '../../theme/mobile-theme' +import { styles as markdownStyles } from '../../../components/mobile-markdown-styles' +import { typography } from '../../../theme/mobile-theme' import { MobileNativeChatMarkdown } from './MobileNativeChatMarkdown' type Props = Pick< diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatReasoningRow.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatReasoningRow.tsx index d07ead88bed..acda77606de 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatReasoningRow.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatReasoningRow.tsx @@ -1,4 +1,4 @@ -import { mobileNativeChatMemberId } from '../../mobile-native-chat-reading-place' +import { mobileNativeChatMemberId } from './mobile-native-chat-reading-place' import { useState } from 'react' import { Pressable, Text, View } from 'react-native' import { MobileNativeChatOwnedScrollView } from './MobileNativeChatOwnedScrollView' @@ -10,11 +10,11 @@ import { } from '../../../../../src/shared/native-chat/transcript/native-chat-reasoning-row' import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' import { deriveNativeChatRowContent } from '../../../../../src/shared/native-chat/transcript/native-chat-row-content' -import { useMobileNativeChatFullMessage } from '../MobileNativeChatFullContent' -import { MobileNativeChatMarkdown } from '../MobileNativeChatMarkdown' +import { useMobileNativeChatFullMessage } from './MobileNativeChatFullContent' +import { MobileNativeChatMarkdown } from './MobileNativeChatMarkdown' import { colors } from '../../../theme/mobile-theme' import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' -import { MobileNativeChatLongPressContent } from '../MobileNativeChatLongPressContent' +import { MobileNativeChatLongPressContent } from './MobileNativeChatLongPressContent' import { CHAT_PROSE_SCALE, styles } from './mobile-native-chat-message-styles' /** A grouped thought keeps its own source recovery when its original transcript row is hidden. */ diff --git a/mobile/src/session/native-chat/MobileNativeChatResolutionReceipt.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatResolutionReceipt.tsx similarity index 82% rename from mobile/src/session/native-chat/MobileNativeChatResolutionReceipt.tsx rename to mobile/src/session/native-chat/transcript/MobileNativeChatResolutionReceipt.tsx index 5aaab6a6ce0..4f026ad8cfc 100644 --- a/mobile/src/session/native-chat/MobileNativeChatResolutionReceipt.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatResolutionReceipt.tsx @@ -5,17 +5,17 @@ import { nativeChatReceiptDevice, nativeChatReceiptSubject, type NativeChatResolvedPrompt -} from '../../../../src/shared/native-chat/native-chat-resolution-receipt' -import { nativeChatReceiptCopy } from '../native-chat-receipt-copy' -import { useMobileTranslation } from '../../i18n/use-mobile-translation' -import { INLINE_TEXT_SELECTION } from '../../components/inline-text-selection' -import { colors, spacing, typography } from '../../theme/mobile-theme' -import { MobileNativeChatAwaitingInputRow } from './transcript/MobileNativeChatAwaitingInputRow' +} from '../../../../../src/shared/native-chat/native-chat-resolution-receipt' +import { nativeChatReceiptCopy } from './native-chat-receipt-copy' +import { useMobileTranslation } from '../../../i18n/use-mobile-translation' +import { INLINE_TEXT_SELECTION } from '../../../components/inline-text-selection' +import { colors, spacing, typography } from '../../../theme/mobile-theme' +import { MobileNativeChatAwaitingInputRow } from './MobileNativeChatAwaitingInputRow' import { MobileNativeChatQuestionText } from './MobileNativeChatQuestionText' -import { scaledType } from './transcript/mobile-native-chat-message-styles' -import { MobileNativeChatMessageTime } from './transcript/MobileNativeChatMessageTime' -import { themedStyleSheet } from '../../theme/themed-styles' -import { useMobileColorScheme } from '../../theme/use-mobile-color-scheme' +import { scaledType } from './mobile-native-chat-message-styles' +import { MobileNativeChatMessageTime } from './MobileNativeChatMessageTime' +import { themedStyleSheet } from '../../../theme/themed-styles' +import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' export function MobileNativeChatResolutionReceipt({ body, diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatRowItemSource.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatRowItemSource.tsx index fbe0ff64203..2aca8478910 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatRowItemSource.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatRowItemSource.tsx @@ -7,7 +7,7 @@ import { memo, useContext, useMemo, type ComponentProps } from 'react' import { MobileNativeChatItemSourceContext, MobileNativeChatRootItemSourceContext -} from '../mobile-native-chat-item-read' +} from './mobile-native-chat-item-read' import { MobileNativeChatMessage } from './MobileNativeChatMessage' import { resolveMobileNativeChatRowProps, diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatRowOverlaysHost.test.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatRowOverlaysHost.test.tsx index b103c43ec36..c6a5a70f8f6 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatRowOverlaysHost.test.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatRowOverlaysHost.test.tsx @@ -29,7 +29,7 @@ vi.mock('./MobileNativeChatRewindDialog', () => ({ MobileNativeChatRewindDialog: vi.mock('./MobileNativeChatMessageActionsSheet', () => ({ MobileNativeChatMessageActionsSheet: 'MessageActionsSheet' })) -vi.mock('../../MobileLinkActionSheet', () => ({ MobileLinkActionSheet: 'LinkActionSheet' })) +vi.mock('./MobileLinkActionSheet', () => ({ MobileLinkActionSheet: 'LinkActionSheet' })) vi.mock('../visual/MobileImageViewerActions', () => ({ MobileImageViewerActions: 'ImageViewerActions' })) diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatRowOverlaysHost.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatRowOverlaysHost.tsx index 04c59b46132..49f233a0224 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatRowOverlaysHost.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatRowOverlaysHost.tsx @@ -5,7 +5,7 @@ import { triggerMediumImpact } from '../../../platform/haptics' import { MobileNativeChatImageViewer } from '../visual/MobileNativeChatImageViewer' import { MobileImageViewerActions } from '../visual/MobileImageViewerActions' import { MobileNativeChatMessageActionsSheet } from './MobileNativeChatMessageActionsSheet' -import { MobileLinkActionSheet } from '../../MobileLinkActionSheet' +import { MobileLinkActionSheet } from './MobileLinkActionSheet' import { MarkdownLinkHandlerContext } from '../../../components/markdown-link-handler' import { MobileNativeChatRowOverlaysContext, diff --git a/mobile/src/session/MobileNativeChatScrollRootsBoundary.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatScrollRootsBoundary.tsx similarity index 86% rename from mobile/src/session/MobileNativeChatScrollRootsBoundary.tsx rename to mobile/src/session/native-chat/transcript/MobileNativeChatScrollRootsBoundary.tsx index 3c75a385228..9dc4cf30b88 100644 --- a/mobile/src/session/MobileNativeChatScrollRootsBoundary.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatScrollRootsBoundary.tsx @@ -1,7 +1,7 @@ import { Component } from 'react' import { Platform } from 'react-native' -import type { MobileNativeChatRowKeys } from './native-chat/transcript/mobile-native-chat-row-keys' -import type { MobileNativeChatScrollRoots } from './native-chat/transcript/mobile-native-chat-scroll-roots' +import type { MobileNativeChatRowKeys } from './mobile-native-chat-row-keys' +import type { MobileNativeChatScrollRoots } from './mobile-native-chat-scroll-roots' type Props = { children?: React.ReactNode diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatToolLine.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatToolLine.tsx index 39558247e75..53e3f3e2650 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatToolLine.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatToolLine.tsx @@ -26,7 +26,7 @@ import { colors, pressedStyle } from '../../../theme/mobile-theme' import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' import { highlightMobileCode } from '../../../files/session-documents/mobile-file-syntax' import { MobileNativeChatToolGlyph } from './MobileNativeChatToolIcon' -import { MobileNativeChatToolOutput } from '../MobileNativeChatFullContent' +import { MobileNativeChatToolOutput } from './MobileNativeChatFullContent' import { useMobileNativeChatOpenedDetail } from '../visual/mobile-native-chat-opened-detail' import { useMobileNativeChatDisclosure } from './mobile-native-chat-disclosure-store' import { toolStyles as styles, toolType } from './mobile-native-chat-tool-styles' diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatToolRun.test.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatToolRun.test.tsx index 57f217b8611..5bd9a52d583 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatToolRun.test.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatToolRun.test.tsx @@ -165,50 +165,6 @@ describe('ToolRun', () => { }) }) - it('follows new work at the end of a live run, but holds still when the reader opens a row', () => { - const live = (blocks: NativeChatBlock[]) => - createElement(ToolRun, { - blocks, - activeTurnIsWorking: true, - trailing: true - }) - const first: NativeChatBlock[] = [ - { type: 'tool-call', name: 'Bash', input: { command: 'ls' }, state: 'completed' }, - { type: 'tool-result', output: 'a.ts' } - ] - act(() => { - renderer = create(live(first)) - }) - openRun(renderer!) - const box = () => renderer!.root.findAll((node) => String(node.type) === 'ScrollView')[0]! - act(() => { - box().props.onContentSizeChange() - }) - scrolls.toEnd.mockClear() - act(() => { - renderer!.root - .findAll((node) => String(node.type) === 'Pressable') - .findLast((node) => textIn(node).includes('ls'))! - .props.onPress() - }) - act(() => { - box().props.onContentSizeChange() - }) - expect(scrolls.toEnd).not.toHaveBeenCalled() - act(() => { - renderer!.update( - live([ - ...first, - { type: 'tool-call', name: 'Bash', input: { command: 'pwd' }, state: 'running' } - ]) - ) - }) - act(() => { - box().props.onContentSizeChange() - }) - expect(scrolls.toEnd).toHaveBeenCalledTimes(1) - }) - it('does not save a follow for a later row opening when new work left the height unchanged', () => { const live = (blocks: NativeChatBlock[]) => createElement(ToolRun, { diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatToolRun.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatToolRun.tsx index 852d0421203..2833156b26b 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatToolRun.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatToolRun.tsx @@ -33,7 +33,7 @@ import { colors, pressedStyle } from '../../../theme/mobile-theme' import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' import { MobileNativeChatToolGlyph } from './MobileNativeChatToolIcon' import { MobileNativeChatToolLine } from './MobileNativeChatToolLine' -import { MobileNativeChatDiffCard } from '../MobileNativeChatDiffCard' +import { MobileNativeChatDiffCard } from './MobileNativeChatDiffCard' import { MobileNativeChatTaskList } from '../input/MobileNativeChatTaskList' import { MobileNativeChatOpenedDetailContext } from '../visual/mobile-native-chat-opened-detail' import { @@ -42,7 +42,7 @@ import { useMobileNativeChatDisclosure } from './mobile-native-chat-disclosure-store' import { toolStyles as styles, toolType } from './mobile-native-chat-tool-styles' -import { mobileNativeChatMemberId } from '../../mobile-native-chat-reading-place' +import { mobileNativeChatMemberId } from './mobile-native-chat-reading-place' import { MobileNativeChatOwnedScrollView } from './MobileNativeChatOwnedScrollView' import type { MobileNativeChatToolRunAsides, diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatTurnDiffRollup.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatTurnDiffRollup.tsx index cf68fbc59a4..7ab1d87549a 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatTurnDiffRollup.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatTurnDiffRollup.tsx @@ -6,7 +6,7 @@ import { type NativeChatTurnDiff, type NativeChatTurnDiffFile } from '../../../../../src/shared/native-chat/tools/native-chat-turn-diffs' -import { MobileNativeChatDiffCard } from '../MobileNativeChatDiffCard' +import { MobileNativeChatDiffCard } from './MobileNativeChatDiffCard' import { useMobileNativeChatDisclosure } from './mobile-native-chat-disclosure-store' import { useMobileTranslation } from '../../../i18n/use-mobile-translation' import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatTurnStatus.test.ts b/mobile/src/session/native-chat/transcript/MobileNativeChatTurnStatus.test.ts deleted file mode 100644 index 52ae2dd631a..00000000000 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatTurnStatus.test.ts +++ /dev/null @@ -1,147 +0,0 @@ -import { createElement, type ReactNode } from 'react' -import { act, create, type ReactTestInstance, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { AppStateStatus } from 'react-native' - -const appState = vi.hoisted(() => ({ - current: 'active', - listeners: new Set<(state: AppStateStatus) => void>() -})) - -vi.mock('react-native', async () => { - const React = await import('react') - const Text = ({ children, ...props }: { children?: ReactNode }): unknown => - React.createElement('Text', props, children) - return { - AppState: { - get currentState() { - return appState.current - }, - addEventListener: (_event: string, listener: (state: AppStateStatus) => void) => { - appState.listeners.add(listener) - return { - remove: () => { - appState.listeners.delete(listener) - } - } - } - }, - ActivityIndicator: (props: Record) => - React.createElement('ActivityIndicator', props), - Pressable: ({ children, ...props }: { children?: ReactNode }) => - React.createElement('Pressable', props, children), - Text, - View: ({ children, ...props }: { children?: ReactNode }) => - React.createElement('View', props, children), - StyleSheet: { create: (styles: unknown) => styles, hairlineWidth: 1 } - } -}) -vi.mock('lucide-react-native', () => ({ ChevronRight: 'ChevronRight' })) - -import { MobileNativeChatTurnStatus } from './MobileNativeChatTurnStatus' -import { findAllByHostType } from '../../../test-support/react-test-renderer-host-nodes' - -const labels = (node: ReactTestInstance): string[] => - findAllByHostType(node, 'Text').map((text) => String(text.children.join(''))) - -let renderer: ReactTestRenderer | null = null - -beforeEach(() => { - vi.useFakeTimers() - vi.setSystemTime(new Date('2026-09-04T00:00:00Z')) - appState.current = 'active' - appState.listeners.clear() -}) - -afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - vi.restoreAllMocks() - vi.useRealTimers() -}) - -describe('MobileNativeChatTurnStatus', () => { - function changeAppState(state: AppStateStatus) { - act(() => { - appState.current = state - for (const listener of appState.listeners) { - listener(state) - } - }) - } - function render(props: { - startedAt: number | null - workedSeconds?: number | null - verdict?: 'interruption' | 'cancellation' - expanded?: boolean - onToggleExpanded?: () => void - }): ReactTestRenderer { - act(() => { - renderer = create(createElement(MobileNativeChatTurnStatus, props)) - }) - return renderer! - } - - it('stops clock callbacks in the background and catches up immediately on resume', () => { - const tree = render({ startedAt: Date.now() }) - act(() => { - vi.advanceTimersByTime(2_000) - }) - expect(labels(tree.root)).toEqual(['Working for 2s']) - - changeAppState('background') - const clockReads = vi.spyOn(Date, 'now') - act(() => { - vi.advanceTimersByTime(60_000) - }) - expect(clockReads).not.toHaveBeenCalled() - expect(vi.getTimerCount()).toBe(0) - expect(labels(tree.root)).toEqual(['Working for 2s']) - - changeAppState('active') - expect(labels(tree.root)).toEqual(['Working for 1m 2s']) - expect(vi.getTimerCount()).toBe(1) - act(() => { - vi.advanceTimersByTime(1_000) - }) - expect(labels(tree.root)).toEqual(['Working for 1m 3s']) - }) - - it('keeps the original pre-stamp epoch through background and settlement transitions', () => { - const tree = render({ startedAt: null }) - act(() => { - vi.advanceTimersByTime(3_000) - }) - expect(labels(tree.root)).toEqual(['Working for 3s']) - changeAppState('background') - act(() => { - vi.advanceTimersByTime(10_000) - }) - act(() => - tree.update(createElement(MobileNativeChatTurnStatus, { startedAt: null, workedSeconds: 8 })) - ) - changeAppState('active') - expect(labels(tree.root)).toEqual(['Worked for 8s']) - expect(vi.getTimerCount()).toBe(0) - - act(() => tree.update(createElement(MobileNativeChatTurnStatus, { startedAt: null }))) - expect(labels(tree.root)).toEqual(['Working for 13s']) - expect(vi.getTimerCount()).toBe(1) - act(() => tree.unmount()) - expect(vi.getTimerCount()).toBe(0) - expect(appState.listeners.size).toBe(0) - }) - - it('creates no clock while initially backgrounded and uses a supplied start time on resume', () => { - appState.current = 'background' - const startedAt = Date.now() - 5_000 - const tree = render({ startedAt }) - expect(vi.getTimerCount()).toBe(0) - act(() => { - vi.advanceTimersByTime(15_000) - }) - changeAppState('active') - expect(labels(tree.root)).toEqual(['Working for 20s']) - expect(vi.getTimerCount()).toBe(1) - }) -}) diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatTurnStatus.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatTurnStatus.tsx index c3066449b9e..0a10c804d48 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatTurnStatus.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatTurnStatus.tsx @@ -5,7 +5,7 @@ import { nativeChatElapsedSeconds } from '../../../../../src/shared/native-chat/ import { formatMobileNativeChatTurnStatusLabel, nativeChatTurnStatusCopy -} from '../native-chat-turn-status-copy' +} from './native-chat-turn-status-copy' import { useMobileTranslation } from '../../../i18n/use-mobile-translation' import type { AgentTurnOutcome } from '../../../../../src/shared/agent-status/lifecycle/agent-turn-outcome' import { colors, spacing, typography } from '../../../theme/mobile-theme' diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatUsageLimitStatus.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatUsageLimitStatus.tsx index 32644911373..2aabf7eee08 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatUsageLimitStatus.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatUsageLimitStatus.tsx @@ -11,7 +11,7 @@ import { INLINE_TEXT_SELECTION } from '../../../components/inline-text-selection import { MobileNativeChatNoticePill } from './MobileNativeChatNoticePill' import { scaledType } from './mobile-native-chat-message-styles' import { nativeChatUsageLimitStatusText } from './native-chat-usage-limit-copy' -import { MobileNativeChatNoticeContext } from '../../mobile-native-chat-notice-context' +import { MobileNativeChatNoticeContext } from './mobile-native-chat-notice-context' /** True from the reset on; re-renders once when it passes. */ function useResetPassed(resetsAt: number | undefined): boolean { diff --git a/mobile/src/session/native-chat/transcript/MobileNativeChatUserMessageFold.tsx b/mobile/src/session/native-chat/transcript/MobileNativeChatUserMessageFold.tsx index 77030a4d412..9a757b6741d 100644 --- a/mobile/src/session/native-chat/transcript/MobileNativeChatUserMessageFold.tsx +++ b/mobile/src/session/native-chat/transcript/MobileNativeChatUserMessageFold.tsx @@ -9,7 +9,7 @@ import { colors, spacing, typography, pressedStyle } from '../../../theme/mobile import { themedStyleSheet } from '../../../theme/themed-styles' import { useMobileColorScheme } from '../../../theme/use-mobile-color-scheme' import { CHAT_PROSE_SCALE } from './mobile-native-chat-message-styles' -import type { useMobileNativeChatFullMessage } from '../MobileNativeChatFullContent' +import type { useMobileNativeChatFullMessage } from './MobileNativeChatFullContent' import { useMobileTranslation } from '../../../i18n/use-mobile-translation' const FOLDED_HEIGHT = diff --git a/mobile/src/session/native-chat/transcript/mobile-agent-message-renderer.test-fixture.ts b/mobile/src/session/native-chat/transcript/mobile-agent-message-renderer.test-fixture.ts index 301d7c57d18..abb586ea7d8 100644 --- a/mobile/src/session/native-chat/transcript/mobile-agent-message-renderer.test-fixture.ts +++ b/mobile/src/session/native-chat/transcript/mobile-agent-message-renderer.test-fixture.ts @@ -63,15 +63,11 @@ vi.mock('lucide-react-native', () => ({ Wrench: 'Wrench', Terminal: 'Terminal' })) -const proseRenders = vi.hoisted(() => ({ count: 0 })) -export function proseRenderCount() { - return proseRenders.count -} + vi.mock('../../../components/MobileMarkdown', async () => { const React = await import('react') return { MobileMarkdown: (props: ComponentProps) => { - proseRenders.count++ return React.createElement('MobileMarkdown', props) } } diff --git a/mobile/src/session/mobile-native-chat-growth-hold.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-growth-hold.ts similarity index 100% rename from mobile/src/session/mobile-native-chat-growth-hold.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-growth-hold.ts diff --git a/mobile/src/session/native-chat/mobile-native-chat-item-read.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-item-read.ts similarity index 77% rename from mobile/src/session/native-chat/mobile-native-chat-item-read.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-item-read.ts index c1dd1209ce7..ac6557bf371 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-item-read.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-item-read.ts @@ -1,11 +1,11 @@ import { createContext, type ContextType } from 'react' import * as z from 'zod' -import { isAdmissibleAgentJournalRenderItem } from '../../../../src/shared/agent-session/journal/agent-session-journal-schemas' -import type { AgentJournalRenderItem } from '../../../../src/shared/agent-session/journal/agent-session-journal-types' -import { bindDeferredRpcOperation, defineRpcOperation } from '../../transport/rpc/rpc-operation' -import { rpcResultVariant } from '../../transport/rpc/rpc-operation-result-reader' -import type { MobileNativeChatVisualSource } from './visual/mobile-native-chat-visual-read' -import type { MobileNativeChatMessageDetail } from './transcript/use-mobile-native-chat-message-detail' +import { isAdmissibleAgentJournalRenderItem } from '../../../../../src/shared/agent-session/journal/agent-session-journal-schemas' +import type { AgentJournalRenderItem } from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' +import { bindDeferredRpcOperation, defineRpcOperation } from '../../../transport/rpc/rpc-operation' +import { rpcResultVariant } from '../../../transport/rpc/rpc-operation-result-reader' +import type { MobileNativeChatVisualSource } from '../visual/mobile-native-chat-visual-read' +import type { MobileNativeChatMessageDetail } from './use-mobile-native-chat-message-detail' const itemReplySchema = z.object({ item: z.custom(isAdmissibleAgentJournalRenderItem).nullable() diff --git a/mobile/src/session/native-chat/mobile-native-chat-list-footer.tsx b/mobile/src/session/native-chat/transcript/mobile-native-chat-list-footer.tsx similarity index 85% rename from mobile/src/session/native-chat/mobile-native-chat-list-footer.tsx rename to mobile/src/session/native-chat/transcript/mobile-native-chat-list-footer.tsx index ccfd71a9f9d..5435ee5257e 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-list-footer.tsx +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-list-footer.tsx @@ -1,5 +1,5 @@ import { Fragment, type ReactElement } from 'react' -import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' +import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' type MobileNativeChatListRow = { item: NativeChatMessage; index: number } diff --git a/mobile/src/session/native-chat/mobile-native-chat-list-header.tsx b/mobile/src/session/native-chat/transcript/mobile-native-chat-list-header.tsx similarity index 93% rename from mobile/src/session/native-chat/mobile-native-chat-list-header.tsx rename to mobile/src/session/native-chat/transcript/mobile-native-chat-list-header.tsx index eca153e8ecf..b65201a55d9 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-list-header.tsx +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-list-header.tsx @@ -1,8 +1,8 @@ import { useEffect, useState, type ReactElement, type ReactNode } from 'react' import { ActivityIndicator, Animated, Easing, Platform, Pressable, Text, View } from 'react-native' -import { colors } from '../../theme/mobile-theme' -import { styles } from './mobile-native-chat-view-styles' -import type { OlderPagePhase } from '../use-mobile-older-page-loader' +import { colors } from '../../../theme/mobile-theme' +import { styles } from '../mobile-native-chat-view-styles' +import type { OlderPagePhase } from './use-mobile-older-page-loader' const LOAD_EARLIER_FAILED = "Couldn't load earlier messages" const LOAD_EARLIER_RETRY = 'Try Again' diff --git a/mobile/src/session/native-chat/transcript/mobile-native-chat-markdown-image-block.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-markdown-image-block.ts new file mode 100644 index 00000000000..666775ff5b1 --- /dev/null +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-markdown-image-block.ts @@ -0,0 +1,32 @@ +import type { NativeChatImageRefBlock } from '../../../../../src/shared/native-chat/native-chat-types' +import { routeNativeChatHref } from '../../../../../src/shared/native-chat/native-chat-href-routing' +import { isRuntimePathAbsolute } from '../../../../../src/shared/cross-platform-path' +import { isRasterImagePath } from '../../../../../src/shared/file-preview/file-preview-kind' +import { isKnownRasterImageMimeType } from '../../../../../src/shared/file-preview/raster-image-preview-limits' +import { isSvgFilePath } from '../../../../../src/shared/file-preview/svg-document' + +/** Raster https, data and absolute-path images draw on the phone (paths through the chat's host); anything else stays a link. + * The shell's CSP refuses plain http, and React Native's Image cannot draw SVG. */ +export function mobileNativeChatMarkdownImageBlock( + href: string, + alt: string +): NativeChatImageRefBlock | null { + const label = alt.trim() ? { alt } : {} + const source = href.trim() + if (/^data:/i.test(source)) { + return isKnownRasterImageMimeType(source.slice(5).split(/[;,]/, 1)[0]) + ? { type: 'image-ref', url: source, ...label } + : null + } + const route = routeNativeChatHref(source) + if (route.kind === 'web') { + return /^https:/i.test(route.url) && !isSvgFilePath(route.url.split(/[?#]/, 1)[0] ?? '') + ? { type: 'image-ref', url: route.url, ...label } + : null + } + return route.kind === 'file' && + isRuntimePathAbsolute(route.pathText) && + isRasterImagePath(route.pathText) + ? { type: 'image-ref', path: route.pathText, ...label } + : null +} diff --git a/mobile/src/session/native-chat/transcript/mobile-native-chat-markdown-image-sources.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-markdown-image-sources.ts new file mode 100644 index 00000000000..de9a935e916 --- /dev/null +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-markdown-image-sources.ts @@ -0,0 +1,35 @@ +import { + isTextBlock, + type NativeChatMessage +} from '../../../../../src/shared/native-chat/native-chat-types' +import { deriveNativeChatRowContent } from '../../../../../src/shared/native-chat/transcript/native-chat-row-content' +import { parseMobileMarkdownTree } from '../../../components/mobile-markdown-tree' +import { protectMobileMarkdownVisualLines } from '../../../components/mobile-markdown-visual-lines' +import { mobileMarkdownImageSources } from '../../../components/mobile-markdown-image-placement' +import { mobileNativeChatMarkdownImageBlock } from './mobile-native-chat-markdown-image-block' + +function sourceReader(visuals: boolean) { + const sources = new WeakMap() + return function imageSources(message: NativeChatMessage): readonly string[] { + const cached = sources.get(message.blocks) + if (cached) { + return cached + } + const images = deriveNativeChatRowContent(message.blocks).prose.flatMap((block) => { + if (!isTextBlock(block)) { + return [] + } + const content = block.text.trim() + const text = visuals ? protectMobileMarkdownVisualLines(content).text : content + return mobileMarkdownImageSources( + parseMobileMarkdownTree(text, false, true), + (href) => mobileNativeChatMarkdownImageBlock(href, '') !== null + ) + }) + sources.set(message.blocks, images) + return images + } +} + +export const mobileNativeChatMarkdownImageSources = sourceReader(false) +export const mobileNativeChatVisualMarkdownImageSources = sourceReader(true) diff --git a/mobile/src/session/mobile-native-chat-notice-context.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-notice-context.ts similarity index 84% rename from mobile/src/session/mobile-native-chat-notice-context.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-notice-context.ts index bcf6ab8ab79..24c84092a51 100644 --- a/mobile/src/session/mobile-native-chat-notice-context.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-notice-context.ts @@ -1,6 +1,6 @@ import { createContext } from 'react' -import type { MobileStructuredInterruptedContinue } from './use-mobile-structured-interrupted-continue' -import type { MobileNativeChatUsageLimit } from './native-chat/use-mobile-native-chat-usage-limit' +import type { MobileStructuredInterruptedContinue } from '../composer/use-mobile-structured-interrupted-continue' +import type { MobileNativeChatUsageLimit } from '../use-mobile-native-chat-usage-limit' /** What a notice row needs: the Orca host behind the chat (null when unnamed), the agent, and Continue for an Orca-stopped turn. */ export type MobileNativeChatNoticeView = { diff --git a/mobile/src/session/native-chat/mobile-native-chat-pending-echo.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-pending-echo.ts similarity index 91% rename from mobile/src/session/native-chat/mobile-native-chat-pending-echo.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-pending-echo.ts index 642696fbac1..00ef55a7594 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-pending-echo.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-pending-echo.ts @@ -1,15 +1,15 @@ -import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' -import type { MobileNativeChatDraftDestination } from './composer/mobile-native-chat-draft-inputs' +import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' +import type { MobileNativeChatDraftDestination } from '../composer/mobile-native-chat-draft-inputs' import { assignNativeChatPendingOccurrence, nativeChatPendingContentKey -} from '../../../../src/shared/native-chat/transcript/native-chat-pending-occurrence' +} from '../../../../../src/shared/native-chat/transcript/native-chat-pending-occurrence' import { NATIVE_CHAT_PENDING_SEND_LIMIT, prunePendingSends, visibleNativeChatPendingSends, type NativeChatPendingSend -} from '../../../../src/shared/native-chat/transcript/native-chat-pending-sends' +} from '../../../../../src/shared/native-chat/transcript/native-chat-pending-sends' export type MobileNativeChatPendingMessage = NativeChatPendingSend & { // Phone-local preview URIs; these echoes retire only once their preview binds to a transcript row. diff --git a/mobile/src/session/native-chat/transcript/mobile-native-chat-projection-sources.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-projection-sources.ts index d0e4be11ea1..48f57f9bf12 100644 --- a/mobile/src/session/native-chat/transcript/mobile-native-chat-projection-sources.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-projection-sources.ts @@ -7,7 +7,7 @@ import { nativeChatCommandOutputParentId, surfaceNativeChatCommandOutputs } from '../../../../../src/shared/native-chat/tools/native-chat-command-output' -import { isMobileNativeChatSource } from '../mobile-native-chat-render-data' +import { isMobileNativeChatSource } from './mobile-native-chat-render-data' export type MobileNativeChatProjectionSource = { raw: NativeChatMessage diff --git a/mobile/src/session/native-chat/transcript/mobile-native-chat-projection-tail.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-projection-tail.ts index adc0bc0f0df..dd964726853 100644 --- a/mobile/src/session/native-chat/transcript/mobile-native-chat-projection-tail.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-projection-tail.ts @@ -19,7 +19,7 @@ import { groupNativeChatFoldUnitMembers, type NativeChatFoldUnit as Unit } from '../../../../../src/shared/native-chat/transcript/native-chat-fold-units' -import { finishMobileNativeChatMessages } from '../mobile-native-chat-render-data' +import { finishMobileNativeChatMessages } from './mobile-native-chat-render-data' // A tail harness row that is its own image unit and no roster member leaves every earlier unit as it was. function staysInTail(harness: NativeChatMessage): boolean { diff --git a/mobile/src/session/native-chat/transcript/mobile-native-chat-projection.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-projection.ts index e7b598ab6c2..af6785bfc4d 100644 --- a/mobile/src/session/native-chat/transcript/mobile-native-chat-projection.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-projection.ts @@ -12,7 +12,7 @@ import { import { finishMobileNativeChatMessages, foldMobileNativeChatMessages -} from '../mobile-native-chat-render-data' +} from './mobile-native-chat-render-data' import { prepareMobileNativeChatSources, type MobileNativeChatProjectionSource diff --git a/mobile/src/session/native-chat/mobile-native-chat-reading-hold.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-reading-hold.ts similarity index 97% rename from mobile/src/session/native-chat/mobile-native-chat-reading-hold.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-reading-hold.ts index 9f741f237b5..e865435de65 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-reading-hold.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-reading-hold.ts @@ -1,4 +1,4 @@ -import { visible } from './mobile-native-chat-lower-geometry' +import { visible } from '../mobile-native-chat-lower-geometry' export function createMobileNativeChatReadingHold(viewport: HTMLElement, content: HTMLElement) { let hold: { element: HTMLElement; offset: number } | null = null diff --git a/mobile/src/session/mobile-native-chat-reading-place.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-reading-place.ts similarity index 96% rename from mobile/src/session/mobile-native-chat-reading-place.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-reading-place.ts index 14e486b65a5..705e2fad33c 100644 --- a/mobile/src/session/mobile-native-chat-reading-place.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-reading-place.ts @@ -1,9 +1,9 @@ -import type { MobileNativeChatRowKeys } from './native-chat/transcript/mobile-native-chat-row-keys' +import type { MobileNativeChatRowKeys } from './mobile-native-chat-row-keys' import { mobileNativeChatReadingParts, mobileNativeChatScrollRootKey -} from './native-chat/transcript/mobile-native-chat-scroll-root-handle' -import type { MobileNativeChatScrollRoots } from './native-chat/transcript/mobile-native-chat-scroll-roots' +} from './mobile-native-chat-scroll-root-handle' +import type { MobileNativeChatScrollRoots } from './mobile-native-chat-scroll-roots' type Box = { top: number; bottom: number } diff --git a/mobile/src/session/native-chat/mobile-native-chat-render-data.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-render-data.ts similarity index 77% rename from mobile/src/session/native-chat/mobile-native-chat-render-data.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-render-data.ts index 9065b441ab8..bd71aadc79d 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-render-data.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-render-data.ts @@ -1,25 +1,25 @@ -import { formatAgentTypeLabel } from '../../../../src/shared/agent-status/presentation/agent-type-label' -import { describeLoadError } from '../../components/load-error-description' -import type { NativeChatEmptyStateCopy } from '../../../../src/shared/native-chat/native-chat-empty-state' -import { isRootAgentJournalItem } from '../../../../src/shared/agent-session/journal/agent-session-journal-producer' -import { stripNoiseMessages } from '../../../../src/shared/native-chat/native-chat-noise' -import { nativeChatStreamingMessage } from '../../../../src/shared/native-chat/native-chat-streaming' -import { isWordlessProviderFrameMessage } from '../../../../src/shared/native-chat/native-chat-provider-frame-summary' +import { formatAgentTypeLabel } from '../../../../../src/shared/agent-status/presentation/agent-type-label' +import { describeLoadError } from '../../../components/load-error-description' +import type { NativeChatEmptyStateCopy } from '../../../../../src/shared/native-chat/native-chat-empty-state' +import { isRootAgentJournalItem } from '../../../../../src/shared/agent-session/journal/agent-session-journal-producer' +import { stripNoiseMessages } from '../../../../../src/shared/native-chat/native-chat-noise' +import { nativeChatStreamingMessage } from '../../../../../src/shared/native-chat/native-chat-streaming' +import { isWordlessProviderFrameMessage } from '../../../../../src/shared/native-chat/native-chat-provider-frame-summary' import { foldToolMessages, isUndrawnProviderFrameMessage -} from '../../../../src/shared/native-chat/tools/native-chat-tool-fold' -import { projectNativeChatTaskListFrames } from '../../../../src/shared/native-chat/input/native-chat-task-list-frames' -import { foldSubagentItems } from '../../../../src/shared/native-chat/transcript/native-chat-subagent-items' -import { prepareNativeChatMessages } from '../../../../src/shared/native-chat/transcript/native-chat-message-preparation' +} from '../../../../../src/shared/native-chat/tools/native-chat-tool-fold' +import { projectNativeChatTaskListFrames } from '../../../../../src/shared/native-chat/input/native-chat-task-list-frames' +import { foldSubagentItems } from '../../../../../src/shared/native-chat/transcript/native-chat-subagent-items' +import { prepareNativeChatMessages } from '../../../../../src/shared/native-chat/transcript/native-chat-message-preparation' import { isImageRefBlock, type NativeChatMessage -} from '../../../../src/shared/native-chat/native-chat-types' -import type { AgentType } from '../../../../src/shared/agent-status/contracts/agent-status-types' -import type { MobileNativeChatStatus } from './mobile-native-chat-session-status' -import { orderNativeChatDisplayMessages } from '../../../../src/shared/native-chat/transcript/native-chat-message-order' -import { translate } from '../../i18n/mobile-i18n' +} from '../../../../../src/shared/native-chat/native-chat-types' +import type { AgentType } from '../../../../../src/shared/agent-status/contracts/agent-status-types' +import type { MobileNativeChatStatus } from '../mobile-native-chat-session-status' +import { orderNativeChatDisplayMessages } from '../../../../../src/shared/native-chat/transcript/native-chat-message-order' +import { translate } from '../../../i18n/mobile-i18n' function mobileNativeChatEmptyStateCopy( kind: 'notFound' | 'empty' | 'error', diff --git a/mobile/src/session/native-chat/transcript/mobile-native-chat-row-keys.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-row-keys.ts index 04edddf3975..f9ed5e011dd 100644 --- a/mobile/src/session/native-chat/transcript/mobile-native-chat-row-keys.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-row-keys.ts @@ -5,7 +5,7 @@ import { updateMobileNativeChatRunDescriptors, type MobileNativeChatRunHistory, type MobileNativeChatRunPresentation -} from '../mobile-native-chat-run-descriptors' +} from './mobile-native-chat-run-descriptors' import { isSubagentGroupBlock, isToolResultBlock, diff --git a/mobile/src/session/native-chat/mobile-native-chat-run-descriptors.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-run-descriptors.ts similarity index 86% rename from mobile/src/session/native-chat/mobile-native-chat-run-descriptors.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-run-descriptors.ts index 002948aceb0..9eff1ad301e 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-run-descriptors.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-run-descriptors.ts @@ -1,10 +1,10 @@ -import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' -import type { NativeChatResolvedPrompt } from '../../../../src/shared/native-chat/native-chat-resolution-receipt' -import { splitNativeChatBlocks } from '../../../../src/shared/native-chat/tools/native-chat-tool-fold' -import { nativeChatWorkRunEntries } from '../../../../src/shared/native-chat/native-chat-work-run' -import { nativeChatAskRunBlocks } from '../../../../src/shared/native-chat/input/native-chat-ask-row' -import type { MobileNativeChatWorkRuns } from './transcript/use-mobile-native-chat-transcript-rows' -import type { MobileNativeChatRowSources } from './transcript/mobile-native-chat-row-keys' +import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' +import type { NativeChatResolvedPrompt } from '../../../../../src/shared/native-chat/native-chat-resolution-receipt' +import { splitNativeChatBlocks } from '../../../../../src/shared/native-chat/tools/native-chat-tool-fold' +import { nativeChatWorkRunEntries } from '../../../../../src/shared/native-chat/native-chat-work-run' +import { nativeChatAskRunBlocks } from '../../../../../src/shared/native-chat/input/native-chat-ask-row' +import type { MobileNativeChatWorkRuns } from './use-mobile-native-chat-transcript-rows' +import type { MobileNativeChatRowSources } from './mobile-native-chat-row-keys' export type MobileNativeChatRunPresentation = { rows: readonly NativeChatMessage[] diff --git a/mobile/src/session/mobile-native-chat-scroll-anchoring.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-anchoring.ts similarity index 100% rename from mobile/src/session/mobile-native-chat-scroll-anchoring.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-anchoring.ts diff --git a/mobile/src/session/native-chat/mobile-native-chat-scroll-gesture.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-gesture.ts similarity index 100% rename from mobile/src/session/native-chat/mobile-native-chat-scroll-gesture.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-gesture.ts diff --git a/mobile/src/session/mobile-native-chat-scroll-motion.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-motion.ts similarity index 100% rename from mobile/src/session/mobile-native-chat-scroll-motion.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-motion.ts diff --git a/mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-ownership.test.tsx b/mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-ownership.test.tsx deleted file mode 100644 index bae41606a45..00000000000 --- a/mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-ownership.test.tsx +++ /dev/null @@ -1,570 +0,0 @@ -// @vitest-environment happy-dom -import { - act, - createElement as h, - Fragment, - startTransition, - Suspense, - useLayoutEffect, - useMemo, - type ReactNode -} from 'react' -import { createRoot, type Root } from 'react-dom/client' -import { afterEach, expect, it, vi } from 'vitest' -import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' -import { foldToolMessages } from '../../../../../src/shared/native-chat/tools/native-chat-tool-fold' -import { MobileNativeChatMessage } from './MobileNativeChatMessage' -import { MobileNativeChatScrollRootsBoundary } from '../../MobileNativeChatScrollRootsBoundary' -import { MobileNativeChatScrollMotion } from '../../mobile-native-chat-scroll-motion' -import { - mobileNativeChatScrollFrame, - mobileNativeChatScrollRootKey, - mobileNativeChatReadingParts, - mobileNativeChatVisible -} from './mobile-native-chat-scroll-root-handle' -import { MobileNativeChatScrollRoots } from './mobile-native-chat-scroll-roots' -import { - MobileNativeChatDisclosureContext, - useMobileNativeChatDisclosures, - type MobileNativeChatDisclosureStore -} from './mobile-native-chat-disclosure-store' -import { useMobileNativeChatRowKeys } from './mobile-native-chat-row-keys' -import { useMobileNativeChatTurnDisclosure } from './use-mobile-native-chat-turn-disclosure' - -vi.mock('react-native', async () => { - const React = await import('react') - const View = (p: { - children?: ReactNode - testID?: string - onPress?: () => void - accessibilityLiveRegion?: string - }) => - React.createElement( - 'div', - { 'data-testid': p.testID, onClick: p.onPress, 'data-live': p.accessibilityLiveRegion }, - p.children - ) - const ScrollView = React.forwardRef((p: { children?: ReactNode }, ref) => { - const node = React.useRef(null) - React.useImperativeHandle(ref, () => ({ - getScrollableNode: () => node.current, - getInnerViewNode: () => node.current?.firstElementChild - })) - return React.createElement( - 'div', - { ref: node, className: 'viewport' }, - React.createElement('div', null, p.children) - ) - }) - const animation = () => ({ start() {}, stop() {} }) - return { - AppState: { currentState: 'active', addEventListener: () => ({ remove: () => {} }) }, - View, - Text: View, - Pressable: View, - ScrollView, - Image: View, - Platform: { OS: 'web' }, - StyleSheet: { create: (s: unknown) => s, hairlineWidth: 1 }, - useWindowDimensions: () => ({ width: 400, height: 800 }), - Animated: { - Text: View, - Value: class { - setValue() {} - }, - loop: animation, - sequence: animation, - timing: animation - } - } -}) -vi.mock('lucide-react-native', () => - Object.fromEntries( - 'ArrowUp Bot Brain Check ChevronDown ChevronRight Copy Eye FileMinus2 FilePen FilePlus2 Folder Globe ListChecks MessageSquareMore Pencil Plug Search SquareChevronRight SquareTerminal Wrench Circle CircleCheck CircleDot' - .split(' ') - .map((key) => [key, () => null]) - ) -) -vi.mock('../../../components/MobileMarkdown', () => ({ MobileMarkdown: () => null })) -vi.mock('../../../components/MobileSourceCopyButton', () => ({ - MobileSourceCopyButton: () => null -})) -vi.mock('../../../platform/external-link', () => ({ openExternalLink: vi.fn() })) -vi.mock('../../../components/inline-text-selection', () => ({ INLINE_TEXT_SELECTION: false })) - -let renderer: Root | undefined -let container: HTMLDivElement -let page: HTMLElement -let frameShift = 0 -let roots: MobileNativeChatScrollRoots -let owners: (string | undefined)[] -let projected: (string | undefined)[] -let store: MobileNativeChatDisclosureStore -const abandoned = new Promise(() => {}) -const msg = ( - id: string, - blocks: NativeChatMessage['blocks'], - role: NativeChatMessage['role'] = 'assistant' -): NativeChatMessage => ({ id, blocks, role, timestamp: null, source: 'transcript' }) -const a = msg( - 'a', - Array.from({ length: 6 }, (_, i) => ({ - type: 'tool-call', - callId: `c${i}`, - name: 'Bash', - input: { command: `command ${i} ${'argument '.repeat(20)}` } - })) -) -const thought = msg('r', [{ type: 'text', text: 'reason' }], 'reasoning') -const user = msg('u', [{ type: 'text', text: 'go' }], 'user') -const b = msg('b', [{ type: 'tool-call', callId: 'b', name: 'Bash', input: { command: 'b' } }]) -function reader(node: Element, top: number) { - node.dispatchEvent(new Event('touchstart')) - node.scrollTop = top - node.dispatchEvent(new Event('scroll')) - node.dispatchEvent(new Event('touchend')) -} -function members(root: Element): Element[] { - return Array.from(root.querySelectorAll('[data-testid^="chat-member:"]')).filter( - (node) => !mobileNativeChatScrollFrame(node, root) - ) -} -function rect(node: Element): DOMRect { - const viewport = node.closest('[data-chat-scroll-root]') - let top = 0 - let height = 1000 - if (node === page) { - return DOMRect.fromRect({ y: 100, height: 200, width: 400 }) - } - if (viewport === node) { - const parent = node.parentElement?.closest('[data-chat-scroll-root]') - top = parent - ? rect(node.parentElement!.closest('[data-testid^="chat-member:"]') ?? parent).top + 20 - : 40 + frameShift - page.scrollTop - height = 160 - } else if (viewport) { - const member = node.closest('[data-testid^="chat-member:"]') - top = - rect(viewport).top + - Math.max(0, members(viewport).indexOf(member ?? node)) * 60 - - viewport.scrollTop - height = 60 - } else if (node.closest('[data-live], [data-testid="chat-row:u"]')) { - top = -page.scrollTop - height = 20 - } else { - top = -page.scrollTop - } - return DOMRect.fromRect({ y: top, height, width: 400 }) -} -function Shift({ value }: { value: number }): null { - useLayoutEffect(() => { - frameShift = value - }, [value]) - return null -} -function Chat({ - rows, - open = true, - shown = true, - scope = 'chat', - shift = 0, - suspend = false, - structured = true, - working = false -}: { - rows: NativeChatMessage[] - open?: boolean - shown?: boolean - scope?: string - shift?: number - suspend?: boolean - structured?: boolean - working?: boolean -}) { - const current = useMobileNativeChatDisclosures(scope) - const disclosures = useMemo( - () => - open - ? { - ...current, - read: (key: string) => - current.read(key) ?? (/^(run|line|diff):/.test(key) ? true : undefined) - } - : current, - [current, open] - ) - const drawn = useMemo(() => (structured ? rows : foldToolMessages(rows)), [rows, structured]) - const turns = useMobileNativeChatTurnDisclosure({ - messages: drawn, - enabled: structured, - isWorking: working, - scopeKey: scope - }) - const keys = useMobileNativeChatRowKeys(drawn, rows, scope, turns.presentation) - useLayoutEffect(() => { - store = current - roots = current.roots - owners = drawn.map((row) => keys.runOwners.get(row.id)) - }) - if (suspend) { - projected = drawn.map((row) => keys.runOwners.get(row.id)) - throw abandoned - } - return h( - MobileNativeChatDisclosureContext.Provider, - { value: disclosures }, - h( - MobileNativeChatScrollRootsBoundary, - { - rowKeys: keys, - roots: current.roots, - runPlacements: keys.runPlacements, - layoutKey: '1' - }, - h(Shift, { value: shift }), - h( - Fragment, - { key: scope }, - shown && - drawn.map((message, i) => - h(MobileNativeChatMessage, { - key: keys.keyOf(message), - message, - rowKey: keys.keyOf(message), - ...turns.resolveRow(i, message), - ...(open ? { foldedAway: false } : {}), - runOwner: keys.runOwners.get(message.id), - structuredActivityUi: structured - }) - ) - ) - ) - ) -} -function mount(structured = true) { - vi.useFakeTimers() - vi.stubGlobal('IS_REACT_ACT_ENVIRONMENT', true) - vi.stubGlobal('navigator', { userAgent: 'AppleWebKit Safari' }) - container = document.createElement('div') - page = document.createElement('main') - page.style.overflowY = 'auto' - document.body.append(page) - page.append(container) - vi.spyOn(Element.prototype, 'getBoundingClientRect').mockImplementation(function (this: Element) { - return rect(this) - }) - vi.spyOn(HTMLElement.prototype, 'clientHeight', 'get').mockReturnValue(160) - vi.spyOn(Element.prototype, 'scrollHeight', 'get').mockImplementation(function (this: Element) { - return this.getAttribute('data-short') - ? 80 - : members(this).length * 60 + - 400 + - this.querySelectorAll('.viewport').length * 60 + - Number(this.getAttribute('data-growth') ?? 0) - }) - renderer = createRoot(container) - return (rows: NativeChatMessage[], rest: Partial[0]> = {}) => { - const render = () => - renderer!.render(h(Suspense, { fallback: null }, h(Chat, { rows, structured, ...rest }))) - act(() => (rest.suspend ? startTransition(render) : render())) - act(() => vi.advanceTimersByTime(20)) - } -} -afterEach(() => { - act(() => renderer?.unmount()) - page?.remove() - renderer = undefined - frameShift = 0 - vi.useRealTimers() - vi.restoreAllMocks() - vi.unstubAllGlobals() -}) - -it('keeps real structured runs and nested offsets under their own viewport across reheading', () => { - const draw = mount() - draw([user, a]) - const owner = owners[1] - const run = container.querySelector('[data-chat-scroll-root]') - if (!(run instanceof HTMLElement)) { - throw new Error('missing run viewport') - } - const detail = run.querySelector('[data-chat-scroll-root]') - if (!(detail instanceof HTMLElement)) { - throw new Error('missing command viewport') - } - const row = run.closest('[data-testid^="chat-row:"]')! - reader(run, 100) - reader(detail, 35) - act(() => vi.advanceTimersByTime(160)) - roots.restoreAll() - const clipped = run.querySelector('[data-testid="chat-member:call:c0"]')! - expect(mobileNativeChatVisible(clipped, page)).toBe(false) - expect(mobileNativeChatReadingParts(row)).toContain(run) - expect(mobileNativeChatReadingParts(row)).not.toContain(clipped) - const anchor = run.querySelector('[data-testid="chat-member:call:c3"]')! - const offset = rect(anchor).top - rect(run).top - draw([user, thought, a], { shift: 80 }) - expect(owners[1]).toBe(owner) - const restored = container.querySelector('[data-chat-scroll-root]')! - expect( - rect(restored.querySelector('[data-testid="chat-member:call:c3"]')!).top - rect(restored).top - ).toBe(offset) - expect(restored.querySelector('[data-chat-scroll-root]')?.scrollTop).toBe(35) - const top = restored.scrollTop - draw([user, thought, a], { shown: false, shift: 80 }) - draw([user, thought, a], { shift: 80 }) - expect(container.querySelector('[data-chat-scroll-root]')?.scrollTop).toBe(top) - const observer = { observe: vi.fn(), unobserve: vi.fn(), disconnect: vi.fn() } - roots.observeWith(observer) - expect(observer.observe).toHaveBeenCalledWith(container.querySelector('[data-chat-scroll-root]')) - const late = document.createElement('div') - const content = document.createElement('div') - late.append(content) - container.append(late) - late.setAttribute('data-short', 'yes') - store.runScroll.set('late', { top: 37, followsEnd: false, member: 'missing', offset: 10 }) - const stop = roots.register('late', late, content, 'late', 'late', false) - expect(late.scrollHeight).toBeLessThan(late.clientHeight) - expect(observer.observe).toHaveBeenCalledWith(content) - roots.capture(new Set(), false) - expect(store.runScroll.get('late')?.top).toBe(37) - late.removeAttribute('data-short') - roots.restoreAll() - expect(late.scrollTop).toBe(37) - expect(store.runScroll.get('late')?.member).toBeUndefined() - const removed = vi.spyOn(late, 'removeEventListener') - const replacement = document.createElement('div') - late.replaceChildren(replacement) - const replaced = roots.register('late', late, replacement, 'late', 'late', false) - observer.unobserve.mockClear() - stop() - expect(roots.frame('late')).toBe(late) - expect(observer.unobserve.mock.calls.some(([node]) => node === late)).toBe(false) - expect(observer.unobserve.mock.calls.some(([node]) => node === replacement)).toBe(false) - late.remove() - roots.restoreAll() - replaced() - expect(roots.frame('late')).toBeUndefined() - expect(observer.unobserve.mock.calls.some(([node]) => node === content)).toBe(true) - expect(removed).toHaveBeenCalledWith('scroll', expect.any(Function)) -}) - -it.each([true, false])( - 'issues fresh displayed owners through split and merge instead of reviving retired choices (structured=%s)', - (structured) => { - const draw = mount(structured) - draw([user, a, b], { working: true }) - const original = owners[1] - const oldKey = `run:${original}` - act(() => store.write(oldKey, false)) - store.runScroll.set(oldKey, { top: 111, followsEnd: false }) - const splitRows = [ - user, - a, - msg('break', [{ type: 'text', text: 'answer' }], structured ? 'assistant' : 'user'), - b - ] - const registry = roots - draw(splitRows, { suspend: true, working: true }) - expect(projected[1]).not.toBe(original) - expect(owners[1]).toBe(original) - expect(roots).toBe(registry) - expect(store.runScroll.get(oldKey)?.top).toBe(111) - const tentative = [...projected] - draw(splitRows, { working: true }) - const split = [owners[1], owners[3]] - expect(new Set([original, ...split]).size).toBe(3) - expect(owners).toEqual(tentative) - const reused = roots.frame(`run:${split[0]}`)! - reader(reused, 40) - draw([user, a, b]) - expect([original, ...split]).not.toContain(owners[1]) - expect(store.read(oldKey)).toBe(false) - expect(store.runScroll.get(oldKey)?.top).toBe(111) - expect(roots.frame(`run:${owners[1]}`)).toBe(reused) - expect(reused.scrollTop).toBe(40) - expect(store.runScroll.get(`run:${owners[1]}`)?.followsEnd).toBe(false) - } -) - -it('releases on close/scope change, and separates work-follow from reader chaining', async () => { - const draw = mount() - draw([user, a]) - const run = container.querySelector('[data-chat-scroll-root]')! - const detail = run.querySelector('[data-chat-scroll-root]')! - vi.stubGlobal('navigator', { userAgent: 'AppleWebKit Chrome' }) - const pageMotion = new MobileNativeChatScrollMotion() - const detach = pageMotion.attach(page) - pageMotion.reconciled(100, 1000) - reader(run, 100) - reader(detail, 35) - await vi.advanceTimersByTimeAsync(160) - reader(run, run.scrollHeight - run.clientHeight - 20) - await vi.advanceTimersByTimeAsync(160) - const parked = run.scrollTop - run.setAttribute('data-growth', '60') - roots.restoreAll() - expect(run.scrollTop).toBe(parked) - draw([user, a, b]) - expect(run.scrollTop).toBe(run.scrollHeight - run.clientHeight) - run.dispatchEvent(new Event('scroll')) - await vi.advanceTimersByTimeAsync(160) - expect(pageMotion.scrolled(100, 1000, () => false).by).toBe('none') - run.dispatchEvent(new WheelEvent('wheel', { deltaY: -10, bubbles: true })) - expect(pageMotion.scrolled(90, 1000, () => false).by).toBe('reader') - pageMotion.release() - act(() => container.querySelector('[data-live]')!.click()) - expect(run.hasAttribute('data-chat-scroll-root')).toBe(false) - draw([user, a], { scope: 'intermediate' }) - draw([user, a], { scope: 'other' }) - vi.stubGlobal('navigator', { userAgent: 'AppleWebKit Safari' }) - draw([user, a], { scope: 'live', open: false, working: true }) - act(() => container.querySelector('[data-live]')!.click()) - const key = `run:${owners[1]}` - const live = roots.frame(key)! - const end = live.scrollTop - expect(end).toBe(live.scrollHeight - live.clientHeight) - reader(live, end - 100) - draw([user, a], { scope: 'live', open: false, working: true, shift: 40 }) - expect(roots.frame(key)).toBe(live) - expect(live.scrollTop).toBe(end - 100) - expect(store.runScroll.get(key)?.followsEnd).toBe(false) - reader(live, live.scrollHeight - live.clientHeight - 20) - await vi.advanceTimersByTimeAsync(160) - draw([user, a, b], { scope: 'live', open: false, working: true, shift: 40 }) - expect(live.scrollTop).toBe(live.scrollHeight - live.clientHeight) - draw([user, a, b], { scope: 'live', open: false, working: true, shown: false, shift: 40 }) - store.runScroll.set(key, { top: 37, followsEnd: false }) - draw([user, a, b], { scope: 'live', open: false, working: true, shift: 40 }) - expect(roots.frame(key)?.scrollTop).toBe(37) - detach() - pageMotion.release() -}) - -it('keeps the actual changed task checklist through eviction, isolated by chat', () => { - const draw = mount() - const tasks = msg( - 'tasks', - [false, true].map((done) => ({ - type: 'tool-call', - callId: String(done), - name: 'TodoWrite', - input: { - todos: [ - { content: 'Remember', status: done ? 'completed' : 'pending', activeForm: 'Remembering' } - ] - } - })) - ) - draw([user, tasks]) - const count = () => container.textContent?.match(/Remember/g)?.length ?? 0 - const before = count() - const disclosure = Array.from(container.querySelectorAll('div')).findLast( - (node) => node.textContent === 'Full task list' - ) - if (!disclosure) { - throw new Error('missing changed-task disclosure') - } - act(() => disclosure.click()) - expect(count()).toBe(before + 1) - draw([user, tasks], { shown: false }) - draw([user, tasks]) - expect(count()).toBe(before + 1) - draw([user, tasks], { scope: 'different' }) - expect(count()).toBe(before) -}) - -it("forgets a closed tool line's nested command and output positions, not its neighbours'", () => { - const at = { top: 30, followsEnd: false } - const memory = new Map( - ['run:o', 'run:o/line:a:command', 'run:o/line:a:output', 'line:a:command'] - .concat(['run:o/line:ab:command', 'diff:src/line:a.ts']) - .map((address) => [address, at] as const) - ) - new MobileNativeChatScrollRoots(memory, 10).forget('line:a') - expect([...memory.keys()]).toEqual(['run:o', 'run:o/line:ab:command', 'diff:src/line:a.ts']) -}) - -it.each([10, 100])( - 'bounds expanded notice scroll work and releases collapsed/unmounted roots (%i notices)', - (count) => { - const draw = mount() - const notices = Array.from({ length: count }, (_, i) => - msg( - `notice:${i}`, - [ - { - type: 'text', - text: `Diagnostic ${i}`, - tone: i % 2 === 0 ? 'warning' : 'error', - providerFrame: { - provider: i % 2 === 0 ? 'codex' : 'claude', - kind: - i % 2 === 0 ? 'notification:guardianWarning' : 'message:system:permission_denied', - payload: { head: '{}', byteLength: 2, digest: 'synthetic', truncated: false } - } - } - ], - 'system' - ) - ) - const register = vi.spyOn(MobileNativeChatScrollRoots.prototype, 'register') - draw(notices) - expect(register).not.toHaveBeenCalled() - const observer = { observe: vi.fn(), unobserve: vi.fn(), disconnect: vi.fn() } - roots.observeWith(observer) - const toggles = Array.from(container.querySelectorAll('div')).filter( - (node) => node.childElementCount === 0 && node.textContent?.includes('View details.') - ) - expect(toggles).toHaveLength(count) - act(() => toggles.forEach((toggle) => toggle.click())) - expect(register).toHaveBeenCalledTimes(count) - expect(observer.observe).toHaveBeenCalledTimes(2 * count) - const viewports = Array.from(container.querySelectorAll('[data-chat-scroll-root]')) - expect(viewports).toHaveLength(count) - const ids = viewports.map((node) => mobileNativeChatScrollRootKey(node)!) - expect(new Set(ids).size).toBe(count) - draw([...notices]) - viewports.forEach((node) => reader(node, 35)) - act(() => vi.advanceTimersByTime(160)) - - const memoryWrites = vi.spyOn(store.runScroll, 'set') - const queries = vi.spyOn(Element.prototype, 'querySelectorAll') - const geometry = vi.spyOn(Element.prototype, 'getBoundingClientRect') - const capture = vi.spyOn(roots, 'capture') - const restore = vi.spyOn(roots, 'restoreAll') - register.mockClear() - draw([...notices]) - expect(capture).toHaveBeenCalledOnce() - expect(restore).toHaveBeenCalledOnce() - expect(memoryWrites).toHaveBeenCalledTimes(2 * count) - expect(queries.mock.calls.length).toBeLessThanOrEqual(12 * count) - expect(geometry.mock.calls.length).toBeLessThanOrEqual(8 * count) - expect(register.mock.calls.length).toBeLessThanOrEqual(count) - expect(observer.observe).toHaveBeenCalledTimes(2 * count) - expect(viewports.map((node) => node.scrollTop)).toEqual(Array(count).fill(35)) - - act(() => toggles.slice(0, count / 2).forEach((toggle) => toggle.click())) - expect(observer.unobserve).toHaveBeenCalledTimes(count) - ids.forEach((id, i) => expect(roots.frame(id)).toBe(i < count / 2 ? undefined : viewports[i])) - draw(notices, { shown: false }) - expect(observer.unobserve).toHaveBeenCalledTimes(2 * count) - for (const node of viewports) { - expect(node.hasAttribute('data-chat-scroll-root')).toBe(false) - expect(mobileNativeChatScrollRootKey(node)).toBeUndefined() - expect(observer.unobserve).toHaveBeenCalledWith(node) - expect(observer.unobserve).toHaveBeenCalledWith(node.firstElementChild) - } - ids.forEach((id) => expect(roots.frame(id)).toBeUndefined()) - memoryWrites.mockClear() - queries.mockClear() - geometry.mockClear() - roots.capture(new Set(), false) - roots.restoreAll() - viewports.forEach((node) => reader(node, 50)) - expect(memoryWrites).not.toHaveBeenCalled() - expect(queries).not.toHaveBeenCalled() - expect(geometry).not.toHaveBeenCalled() - } -) diff --git a/mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-root-handle.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-root-handle.ts index 4ee32f3c66b..14b3901af0e 100644 --- a/mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-root-handle.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-root-handle.ts @@ -1,5 +1,5 @@ -import type { MobileNativeChatScrollMotion } from '../../mobile-native-chat-scroll-motion' -import type { MobileNativeChatScrollAnchoring } from '../../mobile-native-chat-scroll-anchoring' +import type { MobileNativeChatScrollMotion } from './mobile-native-chat-scroll-motion' +import type { MobileNativeChatScrollAnchoring } from './mobile-native-chat-scroll-anchoring' export type MobileNativeChatRootPosition = { top: number diff --git a/mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-roots.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-roots.ts index 7d612ef882a..1d46dcb42a5 100644 --- a/mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-roots.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-scroll-roots.ts @@ -1,8 +1,5 @@ -import { - MobileNativeChatScrollMotion, - scrollKeepsPlace -} from '../../mobile-native-chat-scroll-motion' -import { MobileNativeChatScrollAnchoring } from '../../mobile-native-chat-scroll-anchoring' +import { MobileNativeChatScrollMotion, scrollKeepsPlace } from './mobile-native-chat-scroll-motion' +import { MobileNativeChatScrollAnchoring } from './mobile-native-chat-scroll-anchoring' import { mobileNativeChatScrollRootAttribute as ROOT, mobileNativeChatScrollRootOwners as owners, diff --git a/mobile/src/session/native-chat/transcript/mobile-native-chat-send-text-owner.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-send-text-owner.ts index 997c1a11062..a075b12f3ed 100644 --- a/mobile/src/session/native-chat/transcript/mobile-native-chat-send-text-owner.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-send-text-owner.ts @@ -1,5 +1,5 @@ -import type { MobileNativeChatSendIntent } from '../mobile-native-chat-send' -import type { MobileNativeChatSendOrigin } from '../mobile-native-chat-pending-echo' +import type { MobileNativeChatSendIntent } from '../composer/mobile-native-chat-send' +import type { MobileNativeChatSendOrigin } from './mobile-native-chat-pending-echo' type Restore = ( origin: MobileNativeChatSendOrigin, diff --git a/mobile/src/session/native-chat/mobile-native-chat-stream-frame.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-stream-frame.ts similarity index 91% rename from mobile/src/session/native-chat/mobile-native-chat-stream-frame.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-stream-frame.ts index b80ec6ce347..bc38755de03 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-stream-frame.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-stream-frame.ts @@ -1,8 +1,8 @@ -import { applyAppend, replaceList } from '../../../../src/shared/native-chat/native-chat-merge' -import { translate } from '../../i18n/mobile-i18n' -import type { NativeChatMerger } from '../../../../src/shared/native-chat/native-chat-merge' -import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' -import type { NativeChatTranscriptFrame } from '../../../../src/shared/native-chat/native-chat-transcript-frames' +import { applyAppend, replaceList } from '../../../../../src/shared/native-chat/native-chat-merge' +import { translate } from '../../../i18n/mobile-i18n' +import type { NativeChatMerger } from '../../../../../src/shared/native-chat/native-chat-merge' +import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' +import type { NativeChatTranscriptFrame } from '../../../../../src/shared/native-chat/native-chat-transcript-frames' type SnapshotFrame = Extract diff --git a/mobile/src/session/native-chat/transcript/mobile-native-chat-tool-styles.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-tool-styles.ts index 68be83a6c66..92f2b113d27 100644 --- a/mobile/src/session/native-chat/transcript/mobile-native-chat-tool-styles.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-tool-styles.ts @@ -1,4 +1,4 @@ -import { Platform, StyleSheet } from 'react-native' +import { StyleSheet } from 'react-native' import { colors, radii, spacing, typography } from '../../../theme/mobile-theme' import { MONO_SIZE, scaledType } from './mobile-native-chat-message-styles' import { themedStyleSheet } from '../../../theme/themed-styles' @@ -11,9 +11,6 @@ export function toolType(fontScale: number) { } } -// iOS has no font named `monospace`; it silently falls back to the proportional system face. -const MONO_FAMILY = Platform.OS === 'ios' ? 'Menlo' : typography.monoFamily - export const toolStyles = themedStyleSheet(() => ({ run: { marginTop: spacing.xs @@ -111,7 +108,7 @@ export const toolStyles = themedStyleSheet(() => ({ }, codeText: { color: colors.textPrimary, - fontFamily: MONO_FAMILY + fontFamily: typography.monoFamily }, searchResults: { gap: 2 diff --git a/mobile/src/session/native-chat/mobile-native-chat-transcript-cache.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-transcript-cache.ts similarity index 85% rename from mobile/src/session/native-chat/mobile-native-chat-transcript-cache.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-transcript-cache.ts index 7ea01a40f66..6a913f955b1 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-transcript-cache.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-transcript-cache.ts @@ -1,6 +1,6 @@ -import { setBoundedScopeCacheEntry } from '../../../../src/shared/native-chat/native-chat-scope-cache' -import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' -import type { NativeChatResumePoint } from '../../../../src/shared/rpc-contract/native-chat-params' +import { setBoundedScopeCacheEntry } from '../../../../../src/shared/native-chat/native-chat-scope-cache' +import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' +import type { NativeChatResumePoint } from '../../../../../src/shared/rpc-contract/native-chat-params' import { peekStoredChatTranscript } from './mobile-native-chat-transcript-store' const MAX_CACHED_TRANSCRIPTS = 8 diff --git a/mobile/src/session/native-chat/mobile-native-chat-transcript-encode.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-transcript-encode.ts similarity index 93% rename from mobile/src/session/native-chat/mobile-native-chat-transcript-encode.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-transcript-encode.ts index daeeb767d09..779de03d547 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-transcript-encode.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-transcript-encode.ts @@ -2,10 +2,10 @@ import { Gzip, strToU8 } from 'fflate' import { trimRetainedItems, mergeSubmissions -} from '../../../../src/shared/agent-session/view/structured-agent-session-item-retention' -import { agentSessionHasOlderTranscript } from '../../../../src/shared/agent-session/agent-session-context-clear' -import { DEVICE_STORE_MAX_VALUE_LENGTH } from '../../device-store/device-store-value-codec' -import { encodeBase64Bytes } from '../../transport/encryption/base64-byte-codec' +} from '../../../../../src/shared/agent-session/view/structured-agent-session-item-retention' +import { agentSessionHasOlderTranscript } from '../../../../../src/shared/agent-session/agent-session-context-clear' +import { DEVICE_STORE_MAX_VALUE_LENGTH } from '../../../device-store/device-store-value-codec' +import { encodeBase64Bytes } from '../../../transport/encryption/base64-byte-codec' import { STORED_TRANSCRIPT_VERSION, type StoredChatTranscript, diff --git a/mobile/src/session/native-chat/mobile-native-chat-transcript-store.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-transcript-store.ts similarity index 89% rename from mobile/src/session/native-chat/mobile-native-chat-transcript-store.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-transcript-store.ts index b3c59746c44..fb091e1f10a 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-transcript-store.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-transcript-store.ts @@ -1,12 +1,15 @@ import { sha256 } from '@noble/hashes/sha256' import { bytesToHex } from '@noble/hashes/utils' -import { setBoundedScopeCacheEntry } from '../../../../src/shared/native-chat/native-chat-scope-cache' -import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' -import { encodeNativeChatTranscriptIdentity } from '../../../../src/shared/native-chat/transcript/native-chat-transcript-retention' -import type { StructuredAgentSessionState } from '../../../../src/shared/agent-session/structured-agent-session-reducer' -import { decodeDeviceStoreValue } from '../../device-store/device-store-value-codec' -import { readPageDeviceStore } from '../../mobile-web-shell/bridge/page-device-store' -import { resolveMobileNativeChat, type MobileNativeChatTab } from './mobile-native-chat-eligibility' +import { setBoundedScopeCacheEntry } from '../../../../../src/shared/native-chat/native-chat-scope-cache' +import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' +import { encodeNativeChatTranscriptIdentity } from '../../../../../src/shared/native-chat/transcript/native-chat-transcript-retention' +import type { StructuredAgentSessionState } from '../../../../../src/shared/agent-session/structured-agent-session-reducer' +import { decodeDeviceStoreValue } from '../../../device-store/device-store-value-codec' +import { readPageDeviceStore } from '../../../mobile-web-shell/bridge/page-device-store' +import { + resolveMobileNativeChat, + type MobileNativeChatTab +} from '../mobile-native-chat-eligibility' // Bump when a stored shape changes: other versions read as a miss. export const STORED_TRANSCRIPT_VERSION = 1 diff --git a/mobile/src/session/native-chat/mobile-native-chat-transcript-writer.ts b/mobile/src/session/native-chat/transcript/mobile-native-chat-transcript-writer.ts similarity index 95% rename from mobile/src/session/native-chat/mobile-native-chat-transcript-writer.ts rename to mobile/src/session/native-chat/transcript/mobile-native-chat-transcript-writer.ts index a500287955f..630532cc6f3 100644 --- a/mobile/src/session/native-chat/mobile-native-chat-transcript-writer.ts +++ b/mobile/src/session/native-chat/transcript/mobile-native-chat-transcript-writer.ts @@ -1,16 +1,16 @@ -import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' -import { onPageAppInactive } from '../../mobile-web-shell/bridge/bridge-app-inactive' +import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' +import { onPageAppInactive } from '../../../mobile-web-shell/bridge/bridge-app-inactive' import { EMPTY_STRUCTURED_AGENT_SESSION, reduceStructuredAgentSession, type StructuredAgentSessionAction, type StructuredAgentSessionState -} from '../../../../src/shared/agent-session/structured-agent-session-reducer' +} from '../../../../../src/shared/agent-session/structured-agent-session-reducer' import { MAX_RETAINED_ITEMS, MAX_RETAINED_OWN_ITEMS -} from '../../../../src/shared/agent-session/view/structured-agent-session-item-retention' -import { readPageDeviceStore } from '../../mobile-web-shell/bridge/page-device-store' +} from '../../../../../src/shared/agent-session/view/structured-agent-session-item-retention' +import { readPageDeviceStore } from '../../../mobile-web-shell/bridge/page-device-store' import { chatTranscriptStoreKey, peekStoredChatTranscript, diff --git a/mobile/src/session/native-chat/transcript/mobile-native-chat-turn-diff.test-fixture.tsx b/mobile/src/session/native-chat/transcript/mobile-native-chat-turn-diff.test-fixture.tsx deleted file mode 100644 index 31a7a6e29d1..00000000000 --- a/mobile/src/session/native-chat/transcript/mobile-native-chat-turn-diff.test-fixture.tsx +++ /dev/null @@ -1,90 +0,0 @@ -import './mobile-agent-message-renderer.test-fixture' -import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' -import type { ReactTestInstance } from 'react-test-renderer' -import { vi } from 'vitest' -import { useMobileNativeChatTurnDisclosure } from './use-mobile-native-chat-turn-disclosure' -import { MobileNativeChatRowContent } from './MobileNativeChatRowItemSource' -import { findAllByHostType } from '../../../test-support/react-test-renderer-host-nodes' - -vi.mock('@react-native-async-storage/async-storage', () => ({ - default: { getItem: async () => null, setItem: async () => {}, removeItem: async () => {} } -})) - -export const messages: NativeChatMessage[] = [ - { - id: 'u', - role: 'user', - source: 'transcript', - timestamp: 1, - blocks: [{ type: 'text', text: 'Fix the greeting' }] - }, - { - id: 'edit', - role: 'assistant', - source: 'transcript', - timestamp: 2, - blocks: [ - { - type: 'tool-call', - name: 'Bash', - state: 'completed', - input: { command: 'inspect-diagnostic' } - }, - { type: 'tool-result', output: 'diagnostic-output' }, - { - type: 'tool-call', - name: 'Edit', - state: 'completed', - input: { - file_path: '/repo/greeting.ts', - old_string: 'helloOld()', - new_string: 'helloNew()' - } - }, - { type: 'tool-result', output: 'The file /repo/greeting.ts has been updated successfully.' }, - { type: 'tool-call', name: 'Diff', input: { path: 'status.ts' } }, - { type: 'tool-result', output: '@@ -1 +1 @@\n-statusOld()\n+statusNew()' } - ] - }, - { - id: 'answer', - role: 'assistant', - source: 'transcript', - timestamp: 3, - blocks: [{ type: 'text', text: 'Updated the greeting.' }] - } -] -const settled = new Map([['u', { startedAt: 1, workedSeconds: 2 }]]) -export function Transcript({ - rows = messages, - working = false -}: { - rows?: NativeChatMessage[] - working?: boolean -}) { - const turns = useMobileNativeChatTurnDisclosure({ - messages: rows, - enabled: true, - isWorking: working, - settledTurns: working ? undefined : settled, - scopeKey: 'test' - }) - return ( - <> - {turns.listMessages.map((message, index) => ( - - ))} - - ) -} -export function textIn(node: ReactTestInstance): string[] { - return findAllByHostType(node, 'Text').map((text) => String(text.children.join(''))) -} diff --git a/mobile/src/session/native-chat-receipt-copy.ts b/mobile/src/session/native-chat/transcript/native-chat-receipt-copy.ts similarity index 89% rename from mobile/src/session/native-chat-receipt-copy.ts rename to mobile/src/session/native-chat/transcript/native-chat-receipt-copy.ts index 63093240a36..4dba5e0df58 100644 --- a/mobile/src/session/native-chat-receipt-copy.ts +++ b/mobile/src/session/native-chat/transcript/native-chat-receipt-copy.ts @@ -1,4 +1,4 @@ -import type { Translate } from '../i18n/mobile-i18n' +import type { Translate } from '../../../i18n/mobile-i18n' export function nativeChatReceiptCopy(t: Translate, device?: string) { return { diff --git a/mobile/src/session/native-chat/transcript/native-chat-tool-run-words.test.ts b/mobile/src/session/native-chat/transcript/native-chat-tool-run-words.test.ts deleted file mode 100644 index 3258cc79084..00000000000 --- a/mobile/src/session/native-chat/transcript/native-chat-tool-run-words.test.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { describe, expect, it, vi } from 'vitest' -import type { SupportedUiLocale } from '../../../../../src/shared/ui-locale' -import { - joinNativeChatToolRunClauses, - nativeChatToolRunSentence -} from '../../../../../src/shared/native-chat/tools/native-chat-tool-run-sentence' -import { getMobileUiLocale } from '../../../i18n/mobile-i18n' -import { nativeChatToolRunWords } from './native-chat-tool-run-words' - -vi.mock('../../../i18n/mobile-i18n', () => ({ - getMobileUiLocale: vi.fn(() => 'en') -})) - -const joiners = { - pair: (first: string, second: string) => `${first} | ${second}`, - list: (leading: readonly string[], last: string) => [...leading, last].join(' | ') -} - -function mobileWords(locale: SupportedUiLocale) { - vi.mocked(getMobileUiLocale).mockReturnValue(locale) - return { ...nativeChatToolRunWords((_key, fallback) => fallback), ...joiners } -} - -describe('mobile tool-run sentence continuations', () => { - it('keeps German noun capitalization through the sentence formatter', () => { - const words = mobileWords('de') - expect( - nativeChatToolRunSentence( - [ - { type: 'tool-call', name: 'read', input: {} }, - { type: 'tool-call', name: 'Bash', input: { command: 'orca snapshot --page p1' } } - ], - {}, - { - ...words, - clause: (category) => (category === 'browser' ? 'Browser verwendet' : 'Datei gelesen') - } - ) - ).toBe('Datei gelesen | Browser verwendet') - }) - - it('uses Turkish casing for both dotted and dotless I in later clauses', () => { - expect(joinNativeChatToolRunClauses(['Başladı', 'İnceledi', 'Isındı'], mobileWords('tr'))).toBe( - 'Başladı | inceledi | ısındı' - ) - }) -}) diff --git a/mobile/src/session/native-chat/transcript/native-chat-turn-draw-order-scaling.test.ts b/mobile/src/session/native-chat/transcript/native-chat-turn-draw-order-scaling.test.ts deleted file mode 100644 index 33e322c37ea..00000000000 --- a/mobile/src/session/native-chat/transcript/native-chat-turn-draw-order-scaling.test.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { expect, it } from 'vitest' -import { nativeChatTurnDrawOrder } from '../../../../../src/shared/native-chat/transcript/native-chat-turn-grouping' -import { nativeChatTurnMembership } from '../../../../../src/shared/native-chat/transcript/native-chat-turn-membership' -import type { - AgentJournalItemBody, - AgentJournalRenderItem -} from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' - -it.each([10, 100])( - 'reads turn ownership linearly for %i queued openers and earlier-turn rows', - (count) => { - const messages = [ - { id: 'first', role: 'user' as const }, - ...Array.from({ length: count }, (_, index) => ({ - id: `queued-${index}`, - role: 'user' as const - })), - ...Array.from({ length: count }, (_, index) => ({ - id: `tail-${index}`, - role: 'assistant' as const - })), - ...Array.from({ length: count }, (_, index) => ({ - id: `answer-${index}`, - role: 'assistant' as const - })) - ] - const keys = [ - 'first', - ...Array.from({ length: count }, (_, index) => `queued-${index}`), - ...Array.from({ length: count }, () => 'first'), - ...Array.from({ length: count }, (_, index) => `queued-${index}`) - ] - const openers = new Set(keys.slice(0, count + 1)) - let reads = 0 - keys.forEach((key, index) => { - Object.defineProperty(keys, index, { - get: () => { - reads += 1 - return key - } - }) - }) - const order = nativeChatTurnDrawOrder(messages, keys, openers) - const visits = reads - expect(order?.map((index) => messages[index]?.id)).toEqual([ - 'first', - ...Array.from({ length: count }, (_, index) => `tail-${index}`), - ...Array.from({ length: count }, (_, index) => [`queued-${index}`, `answer-${index}`]).flat() - ]) - const journalItems: AgentJournalRenderItem[] = [] - const append = (itemId: string, body: AgentJournalItemBody, turnItemId: string) => { - const sequence = journalItems.length + 1 - journalItems.push({ - itemId, - body, - revision: 0, - sequence, - observedAt: sequence, - turnScope: { kind: 'turn', turnItemId } - }) - } - append('first', { kind: 'message', role: 'user', blocks: [] }, 'turn-first') - append( - 'turn-first', - { kind: 'turn', turnId: 'first', state: 'completed', userItemId: 'first' }, - 'turn-first' - ) - for (let index = 0; index < count; index += 1) { - append(`queued-${index}`, { kind: 'message', role: 'user', blocks: [] }, `turn-${index}`) - } - for (let index = 0; index < count; index += 1) { - append(`tail-${index}`, { kind: 'message', role: 'assistant', blocks: [] }, 'turn-first') - } - for (let index = 0; index < count; index += 1) { - append( - `turn-${index}`, - { kind: 'turn', turnId: `t${index}`, state: 'completed', userItemId: `queued-${index}` }, - `turn-${index}` - ) - append(`answer-${index}`, { kind: 'message', role: 'assistant', blocks: [] }, `turn-${index}`) - } - const membership = nativeChatTurnMembership(messages, { items: journalItems, submissions: [] }) - expect(membership.turnKeys).toEqual(keys) - expect(membership.drawOrder).toEqual(order) - expect(visits).toBeLessThanOrEqual(messages.length * 4) - } -) diff --git a/mobile/src/session/native-chat/native-chat-turn-status-copy.ts b/mobile/src/session/native-chat/transcript/native-chat-turn-status-copy.ts similarity index 94% rename from mobile/src/session/native-chat/native-chat-turn-status-copy.ts rename to mobile/src/session/native-chat/transcript/native-chat-turn-status-copy.ts index 4f30ef74bab..27b4d095a10 100644 --- a/mobile/src/session/native-chat/native-chat-turn-status-copy.ts +++ b/mobile/src/session/native-chat/transcript/native-chat-turn-status-copy.ts @@ -1,8 +1,8 @@ -import type { Translate } from '../../i18n/mobile-i18n' +import type { Translate } from '../../../i18n/mobile-i18n' import { describeNativeChatActiveTurnLabel, describeNativeChatTurnStatus -} from '../../../../src/shared/native-chat/transcript/native-chat-turn-status' +} from '../../../../../src/shared/native-chat/transcript/native-chat-turn-status' export function formatMobileNativeChatDuration(seconds: number, t: Translate): string { const totalSeconds = Number.isFinite(seconds) ? Math.max(0, Math.floor(seconds)) : 0 diff --git a/mobile/src/session/native-chat/transcript/use-mobile-native-chat-generated-image-answers.ts b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-generated-image-answers.ts new file mode 100644 index 00000000000..65b660f1419 --- /dev/null +++ b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-generated-image-answers.ts @@ -0,0 +1,37 @@ +import { useContext, useMemo } from 'react' +import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' +import type { NativeChatTurnStatus } from '../../../../../src/shared/native-chat/transcript/native-chat-turn-status' +import { nativeChatGeneratedImageAnswers } from '../../../../../src/shared/native-chat/transcript/native-chat-generated-image-answers' +import { MobileNativeChatVisualContext } from '../visual/mobile-native-chat-visual-context' +import { + mobileNativeChatMarkdownImageSources, + mobileNativeChatVisualMarkdownImageSources +} from './mobile-native-chat-markdown-image-sources' + +export function useMobileNativeChatGeneratedImageAnswers( + enabled: boolean, + messages: readonly NativeChatMessage[], + turnKeys: readonly (string | undefined)[], + completedByTurn: Readonly> +): readonly NativeChatMessage[] { + const visuals = useContext(MobileNativeChatVisualContext) + const sources = visuals + ? mobileNativeChatVisualMarkdownImageSources + : mobileNativeChatMarkdownImageSources + return useMemo( + () => + enabled + ? nativeChatGeneratedImageAnswers( + messages, + turnKeys, + new Set( + Object.entries(completedByTurn).flatMap(([key, status]) => + status.workedSeconds != null ? [key] : [] + ) + ), + sources + ) + : messages, + [enabled, messages, turnKeys, completedByTurn, sources] + ) +} diff --git a/mobile/src/session/native-chat/transcript/use-mobile-native-chat-message-detail.ts b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-message-detail.ts index 12fcaca7552..a3fb9ec98f9 100644 --- a/mobile/src/session/native-chat/transcript/use-mobile-native-chat-message-detail.ts +++ b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-message-detail.ts @@ -4,7 +4,7 @@ import { type NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' import { projectStructuredItemToNativeChat } from '../../../../../src/shared/agent-session/view/structured-agent-session-projection' -import { readMobileNativeChatItem } from '../mobile-native-chat-item-read' +import { readMobileNativeChatItem } from './mobile-native-chat-item-read' import type { MobileNativeChatVisualSource } from '../visual/mobile-native-chat-visual-read' export type MobileNativeChatMessageDetail = { diff --git a/mobile/src/session/native-chat/transcript/use-mobile-native-chat-message-send.ts b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-message-send.ts index 0740f24ceec..c3c2803f169 100644 --- a/mobile/src/session/native-chat/transcript/use-mobile-native-chat-message-send.ts +++ b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-message-send.ts @@ -8,11 +8,11 @@ import { typeMobileNativeChatCommandWithOutcome, type MobileNativeChatSendIntent, type MobileNativeChatSendOutcome -} from '../mobile-native-chat-send' +} from '../composer/mobile-native-chat-send' import type { CatalogCommandDelivery } from '../../../../../src/shared/agent-session/options/agent-session-option-catalog-types' import { isSlashCommandDraft } from '../../../../../src/shared/native-chat/input/native-chat-slash-commands' -import { healMobileNativeChatStaleInput } from '../mobile-native-chat-stale-input' -import { classifyMobileNativeChatSend } from '../mobile-native-chat-send-classification' +import { healMobileNativeChatStaleInput } from '../composer/mobile-native-chat-stale-input' +import { classifyMobileNativeChatSend } from '../composer/mobile-native-chat-send-classification' import { readMobileNativeChatSkillOrigin } from '../composer/mobile-native-chat-draft-store' import { nativeChatSendTextOwner } from './mobile-native-chat-send-text-owner' import { @@ -22,12 +22,12 @@ import { import { acquireMobileNativeChatTerminalWrite, releaseMobileNativeChatTerminalWrite -} from '../mobile-native-chat-terminal-write-lock' -import type { MobileNativeChatSendOrigin } from '../mobile-native-chat-pending-echo' +} from '../composer/mobile-native-chat-terminal-write-lock' +import type { MobileNativeChatSendOrigin } from './mobile-native-chat-pending-echo' import { UNCONFIRMED_SEND_MESSAGE, UNCONFIRMED_SEND_RESTORED_MESSAGE -} from '../use-mobile-native-chat-unconfirmed-sends' +} from '../composer/use-mobile-native-chat-unconfirmed-sends' import type { MobileNativeChatLaunchDraftSeed } from '../composer/use-mobile-native-chat-launch-draft-seed' import { buildNativeChatPasteBytes } from '../../../../../src/shared/native-chat/input/native-chat-paste-bytes' diff --git a/mobile/src/session/native-chat/transcript/use-mobile-native-chat-paced-text.ts b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-paced-text.ts index b6067a1d7f7..e20e514a785 100644 --- a/mobile/src/session/native-chat/transcript/use-mobile-native-chat-paced-text.ts +++ b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-paced-text.ts @@ -13,7 +13,7 @@ import { type NativeChatTextRevealFrames } from '../../../../../src/shared/native-chat/transcript/native-chat-text-reveal' import { MobileNativeChatReplyRevealsContext } from './mobile-native-chat-reply-reveals' -import { MobileNativeChatGrowthHoldContext } from '../../mobile-native-chat-growth-hold' +import { MobileNativeChatGrowthHoldContext } from './mobile-native-chat-growth-hold' /** Phones spread each arrival over less time than desktop, so new words show sooner. */ const REVEAL_MS = 180 diff --git a/mobile/src/session/use-mobile-native-chat-terminal-turn.ts b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-terminal-turn.ts similarity index 86% rename from mobile/src/session/use-mobile-native-chat-terminal-turn.ts rename to mobile/src/session/native-chat/transcript/use-mobile-native-chat-terminal-turn.ts index 73f07177b30..2fda3b75901 100644 --- a/mobile/src/session/use-mobile-native-chat-terminal-turn.ts +++ b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-terminal-turn.ts @@ -1,13 +1,13 @@ import { useCallback, useMemo, useState } from 'react' -import type { AgentStatusEntry } from '../../../src/shared/agent-status/contracts/agent-status-types' -import type { NativeChatMessage } from '../../../src/shared/native-chat/native-chat-types' -import type { NativeChatSettledTurns } from '../../../src/shared/native-chat/transcript/native-chat-turn-status' +import type { AgentStatusEntry } from '../../../../../src/shared/agent-status/contracts/agent-status-types' +import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' +import type { NativeChatSettledTurns } from '../../../../../src/shared/native-chat/transcript/native-chat-turn-status' import { mergeNativeChatLiveSession, nativeChatHookHasWorkingSubagents, resolveNativeChatHookState -} from '../../../src/shared/native-chat/native-chat-live-status' -import { shouldClearNativeChatWorkingSuppression } from '../../../src/shared/native-chat/native-chat-working-suppression' +} from '../../../../../src/shared/native-chat/native-chat-live-status' +import { shouldClearNativeChatWorkingSuppression } from '../../../../../src/shared/native-chat/native-chat-working-suppression' import { nativeChatHookLatestTurnWorkedSeconds, nativeChatHookTurnStartedAt, @@ -16,16 +16,16 @@ import { nativeChatTranscriptSettledTurns, resolveNativeChatTerminalTurn, type NativeChatTerminalTurn -} from '../../../src/shared/native-chat/native-chat-terminal-turn' -import { deriveNativeChatStreamingText } from '../../../src/shared/native-chat/native-chat-streaming' +} from '../../../../../src/shared/native-chat/native-chat-terminal-turn' +import { deriveNativeChatStreamingText } from '../../../../../src/shared/native-chat/native-chat-streaming' import { useThrottledLatestValue } from './use-throttled-latest-value' -import type { MobileNativeChatSession } from './native-chat/use-mobile-native-chat-session' -import type { MobileNativeChatResolution } from './native-chat/mobile-native-chat-eligibility' +import type { MobileNativeChatSession } from '../use-mobile-native-chat-session' +import type { MobileNativeChatResolution } from '../mobile-native-chat-eligibility' import { pendingSendsAsMessages, type NativeChatPendingSend -} from '../../../src/shared/native-chat/transcript/native-chat-pending-sends' +} from '../../../../../src/shared/native-chat/transcript/native-chat-pending-sends' const NO_MESSAGES: NativeChatMessage[] = [] diff --git a/mobile/src/session/native-chat/transcript/use-mobile-native-chat-transcript-rows.test.tsx b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-transcript-rows.test.tsx index 4912557f3fa..af6f1bf00d8 100644 --- a/mobile/src/session/native-chat/transcript/use-mobile-native-chat-transcript-rows.test.tsx +++ b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-transcript-rows.test.tsx @@ -1,3 +1,4 @@ +import { MobileNativeChatVisualContext } from '../visual/mobile-native-chat-visual-context' import { createElement } from 'react' import { act, create, type ReactTestRenderer } from 'react-test-renderer' import { afterEach, describe, expect, it } from 'vitest' @@ -32,6 +33,131 @@ describe('how the structured lane draws its rows, as desktop does', () => { renderer = null }) + it('renders generated output in the shipping answer list through collapse and expansion', () => { + const generated: NativeChatMessage = { + ...answer('image'), + blocks: [ + { type: 'text' as const, text: 'Generated image', presentation: 'generated-image' }, + { type: 'image-ref' as const, path: '/tmp/elephant.png' } + ] + } + const messages = [userMessage('u1'), toolRow('work'), answer('final'), generated] + act(() => { + renderer = create( + createElement(Harness, { + messages, + enabled: true, + isWorking: false, + settledTurns: new Map([['u1', { startedAt: 0, workedSeconds: 3 }]]) + }) + ) + }) + const read = () => renderer!.root.findByType(Result).props.disclosure + const final = read().listMessages.find((row: NativeChatMessage) => row.id === 'final')! + expect(final.blocks).toEqual([ + { type: 'text', text: 'Done.' }, + { type: 'image-ref' as const, path: '/tmp/elephant.png' } + ]) + expect(read().resolveRow(2, final).foldedAway).not.toBe(true) + expect(read().resolveRow(1, messages[1]).foldedAway).toBe(true) + act(() => read().onToggleTurn('u1')) + expect( + read().listMessages.flatMap((row: NativeChatMessage) => + row.blocks.filter((block) => block.type === 'image-ref') + ) + ).toEqual([{ type: 'image-ref' as const, path: '/tmp/elephant.png' }]) + expect(read().listMessages.find((row: NativeChatMessage) => row.id === 'final')).toBe(final) + }) + + it('switches the shipping answer projection with visual availability on unchanged rows', () => { + const messages = [ + userMessage('u1'), + { + ...answer('image'), + blocks: [ + { type: 'text' as const, text: 'Generated image', presentation: 'generated-image' }, + { type: 'image-ref' as const, path: '/tmp/p.png' } + ] + }, + { + ...answer('final'), + blocks: [ + { type: 'text' as const, text: '::orca-visual{file="plot.html" title="![](/tmp/p.png)"}' } + ] + } + ] + const settledTurns = new Map([['u1', { startedAt: 0, workedSeconds: 3 }]]) + const renderVisual = () => null + const update = (visuals: boolean) => { + const tree = createElement( + MobileNativeChatVisualContext.Provider, + { value: visuals ? renderVisual : null }, + createElement(Harness, { messages, enabled: true, isWorking: false, settledTurns }) + ) + act(() => { + if (renderer) { + renderer.update(tree) + } else { + renderer = create(tree) + } + }) + } + const images = () => + renderer!.root + .findByType(Result) + .props.disclosure.listMessages.flatMap((row: NativeChatMessage) => + row.blocks.filter((block) => block.type === 'image-ref') + ) + update(false) + expect(images()).toEqual([]) + update(true) + expect(images()).toEqual([{ type: 'image-ref' as const, path: '/tmp/p.png' }]) + act(() => renderer!.root.findByType(Result).props.disclosure.onToggleTurn('u1')) + expect(images()).toEqual([{ type: 'image-ref' as const, path: '/tmp/p.png' }]) + update(false) + expect(images()).toEqual([]) + }) + + it.each([ + [['# ![](/tmp/p.png)'], true], + [['![](/tmp/p.png)'], false], + [[' ![](/tmp/p.png)'], false], + [['![][p]', '[p]: /tmp/p.png'], true] + ] as const)( + 'keeps output unless independently rendered prose actually embeds it: %j', + (texts, retained) => { + const messages = [ + userMessage('u1'), + { + ...answer('image'), + blocks: [ + { type: 'text' as const, text: 'Generated image', presentation: 'generated-image' }, + { type: 'image-ref' as const, path: '/tmp/p.png' } + ] + }, + { ...answer('final'), blocks: texts.map((text) => ({ type: 'text' as const, text })) } + ] + act(() => { + renderer = create( + createElement(Harness, { + messages, + enabled: true, + isWorking: false, + settledTurns: new Map([['u1', { startedAt: 0, workedSeconds: 3 }]]) + }) + ) + }) + const final = renderer!.root + .findByType(Result) + .props.disclosure.listMessages.find((row: NativeChatMessage) => row.id === 'final')! + expect( + final.blocks.filter( + (block: NativeChatMessage['blocks'][number]) => block.type === 'image-ref' + ) + ).toEqual(retained ? [{ type: 'image-ref' as const, path: '/tmp/p.png' }] : []) + } + ) + it('folds a settled turn to its answer until the reader opens it, and only offers that where it hides something', () => { const messages = [ userMessage('u1'), diff --git a/mobile/src/session/native-chat/transcript/use-mobile-native-chat-transient-data.ts b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-transient-data.ts index a99c895969f..359db10fe05 100644 --- a/mobile/src/session/native-chat/transcript/use-mobile-native-chat-transient-data.ts +++ b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-transient-data.ts @@ -2,7 +2,7 @@ import { useState } from 'react' import { buildMobileNativeChatTransientData, type MobileNativeChatPendingItem -} from '../mobile-native-chat-render-data' +} from './mobile-native-chat-render-data' import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' import { orderNativeChatDisplayMessages } from '../../../../../src/shared/native-chat/transcript/native-chat-message-order' diff --git a/mobile/src/session/native-chat/transcript/use-mobile-native-chat-turn-disclosure-growing-row.test.tsx b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-turn-disclosure-growing-row.test.tsx deleted file mode 100644 index 0584105cbb6..00000000000 --- a/mobile/src/session/native-chat/transcript/use-mobile-native-chat-turn-disclosure-growing-row.test.tsx +++ /dev/null @@ -1,60 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it } from 'vitest' -import type { NativeChatMessage } from '../../../../../src/shared/native-chat/native-chat-types' -import { Harness, Result, userMessage } from './use-mobile-native-chat-turn-disclosure.test-fixture' - -function assistantMessage(id: string): NativeChatMessage { - return { - id, - role: 'assistant', - blocks: [{ type: 'text', text: id }], - timestamp: null, - source: 'transcript' - } -} - -describe('useMobileNativeChatTurnDisclosure growing row', () => { - let renderer: ReactTestRenderer | null = null - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - }) - - it('marks no row while a prompt is open', () => { - const messages = [userMessage('u1'), assistantMessage('a1')] - act(() => { - renderer = create(createElement(Harness, { messages, enabled: true, lineYields: true })) - }) - const { disclosure } = renderer!.root.findByType(Result).props - expect(disclosure.resolveRow(1, messages[1]).mayStillGrow).toBe(false) - }) - - it('marks only the newest assistant row, even when a user row follows it', () => { - const messages = [ - userMessage('u1'), - assistantMessage('a1'), - assistantMessage('a2'), - userMessage('u2') - ] - act(() => { - renderer = create(createElement(Harness, { messages, enabled: true })) - }) - const { disclosure } = renderer!.root.findByType(Result).props - expect( - messages.map((message, index) => disclosure.resolveRow(index, message).mayStillGrow) - ).toEqual([false, false, true, false]) - }) - - it('puts only the terminal-backed streaming row in the live turn', () => { - const messages = [userMessage('u1'), assistantMessage('a1'), assistantMessage('streaming')] - act(() => { - renderer = create(createElement(Harness, { messages, enabled: false })) - }) - const { disclosure } = renderer!.root.findByType(Result).props - expect( - messages.map((message, index) => disclosure.resolveRow(index, message).activeTurnIsWorking) - ).toEqual([false, false, true]) - }) -}) diff --git a/mobile/src/session/native-chat/transcript/use-mobile-native-chat-turn-disclosure.ts b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-turn-disclosure.ts index 2ca97644e53..cc5f732f880 100644 --- a/mobile/src/session/native-chat/transcript/use-mobile-native-chat-turn-disclosure.ts +++ b/mobile/src/session/native-chat/transcript/use-mobile-native-chat-turn-disclosure.ts @@ -1,3 +1,4 @@ +import { useMobileNativeChatGeneratedImageAnswers } from './use-mobile-native-chat-generated-image-answers' import { useMobileNativeChatTurnDiffs } from './use-mobile-native-chat-turn-diffs' import type { MobileNativeChatTurnRow } from './use-mobile-native-chat-row-props' import { useCallback, useMemo, useState } from 'react' @@ -23,7 +24,7 @@ import { nativeChatMessagesWaitingBehindLiveTurn } from '../../../../../src/shar import { NATIVE_CHAT_STREAMING_ID } from '../../../../../src/shared/native-chat/native-chat-streaming' import type { NativeChatResolvedPrompt } from '../../../../../src/shared/native-chat/native-chat-resolution-receipt' import { useMobileNativeChatTranscriptRows } from './use-mobile-native-chat-transcript-rows' -import type { MobileNativeChatRunPresentation } from '../mobile-native-chat-run-descriptors' +import type { MobileNativeChatRunPresentation } from './mobile-native-chat-run-descriptors' import { nativeChatRowsInDrawOrder, nativeChatTurnBarRows @@ -99,7 +100,13 @@ export function useMobileNativeChatTurnDisclosure({ liveLine: MobileNativeChatLiveLine | null onToggleReasoning: (key: string) => void } { - const { rows, turnKeys, liveTurnKey, unresolvedRowIds, partialTurnKey } = useMemo(() => { + const { + rows: sourceRows, + turnKeys, + liveTurnKey, + unresolvedRowIds, + partialTurnKey + } = useMemo(() => { if (!enabled) { return { rows: messages, @@ -118,6 +125,23 @@ export function useMobileNativeChatTurnDisclosure({ unresolvedRowIds: membership.unresolvedRowIds } }, [enabled, messages, turnJournal]) + const turnStatuses = useMobileNativeChatTurnStatus({ + turnKeys, + liveTurnKey, + enabled, + isWorking, + workingStartedAt, + settledTurns, + thinking, + scopeKey + }) + const { active, activeTurnKey, completedByTurn } = turnStatuses + const rows = useMobileNativeChatGeneratedImageAnswers( + enabled, + sourceRows, + turnKeys, + completedByTurn + ) const summaries = useMobileNativeChatTurnDiffs(rows, enabled, turnKeys, partialTurnKey) const waiting = useMemo(() => { const ids = enabled @@ -138,23 +162,12 @@ export function useMobileNativeChatTurnDisclosure({ indexById: new Map(rows.map((message, index) => [message.id, index])) } }, [enabled, rows, stopping, turnJournal]) - const turnStatuses = useMobileNativeChatTurnStatus({ - turnKeys, - liveTurnKey, - enabled, - isWorking, - workingStartedAt, - settledTurns, - thinking, - scopeKey - }) const [expandedTurnIds, toggleExpandedTurn] = useScopedOpenKeys(scopeKey) const [expandedReasoning, toggleReasoning] = useScopedOpenKeys(scopeKey) const [openSubagentGroups, toggleSubagentGroup] = useScopedOpenKeys(scopeKey) const [openUserMessages, toggleUserMessage] = useScopedOpenKeys(scopeKey) const bars = useMemo(() => nativeChatTurnBarRows(rows, turnKeys), [rows, turnKeys]) - const { active, activeTurnKey, completedByTurn } = turnStatuses const inLiveWorkingTurn = useCallback( (index: number) => isNativeChatRowInLiveWorkingTurn( diff --git a/mobile/src/session/use-mobile-older-page-loader.ts b/mobile/src/session/native-chat/transcript/use-mobile-older-page-loader.ts similarity index 96% rename from mobile/src/session/use-mobile-older-page-loader.ts rename to mobile/src/session/native-chat/transcript/use-mobile-older-page-loader.ts index 7ac4a25ab1b..41c0615413b 100644 --- a/mobile/src/session/use-mobile-older-page-loader.ts +++ b/mobile/src/session/native-chat/transcript/use-mobile-older-page-loader.ts @@ -1,5 +1,5 @@ import { useCallback, useRef, useState } from 'react' -import { RPC_REQUEST_MIN_ACK_MS } from '../transport/rpc/rpc-request-budget' +import { RPC_REQUEST_MIN_ACK_MS } from '../../../transport/rpc/rpc-request-budget' /** One tap's whole wait, connect included, shared by every page it reads. */ export const OLDER_PAGE_BUDGET_MS = 15_000 diff --git a/mobile/src/session/native-chat/transcript/use-mobile-structured-agent-turn-timing.ts b/mobile/src/session/native-chat/transcript/use-mobile-structured-agent-turn-timing.ts new file mode 100644 index 00000000000..e010ef7b5ca --- /dev/null +++ b/mobile/src/session/native-chat/transcript/use-mobile-structured-agent-turn-timing.ts @@ -0,0 +1,58 @@ +import { useMemo, useState } from 'react' +import type { + AgentJournalRenderItem, + AgentJournalSubmission +} from '../../../../../src/shared/agent-session/journal/agent-session-journal-types' +import type { NativeChatSettledTurns } from '../../../../../src/shared/native-chat/transcript/native-chat-turn-status' +import type { AgentSessionLatestTurn } from '../../../../../src/shared/agent-session/agent-session-wire' +import type { NativeChatTurnJournal } from '../../../../../src/shared/native-chat/transcript/native-chat-turn-membership' +import type { StructuredAgentHostClock } from '../../../../../src/shared/agent-session/structured-agent-session-reducer' +import { selectStructuredAgentTurnBars } from '../../../../../src/shared/agent-session/view/structured-agent-session-turn-timing' +import { + stepStructuredAgentTurnClock, + type StructuredAgentTurnClockLatch +} from '../../../../../src/shared/structured-agent-turn-clock-anchor' + +// Use journal durations and latch the host-to-phone start conversion once per turn so counters remain skew-free. +export function useMobileStructuredAgentTurnTiming( + { + items, + submissions, + latestTurn, + working, + hostClock + }: { + items: readonly AgentJournalRenderItem[] + submissions: readonly AgentJournalSubmission[] + latestTurn?: AgentSessionLatestTurn | null + working?: boolean + hostClock?: StructuredAgentHostClock | null + }, + turnId: string | null +): { + settledTurns: NativeChatSettledTurns + turnJournal: NativeChatTurnJournal + workingStartedAt: number | null +} { + const { settledTurns, runningTiming } = useMemo( + () => selectStructuredAgentTurnBars(items, submissions, turnId, latestTurn), + [items, submissions, turnId, latestTurn] + ) + const turnJournal = useMemo( + () => ({ items, submissions, latestTurn, ...(working !== undefined ? { working } : {}) }), + [items, submissions, latestTurn, working] + ) + const [latch, setLatch] = useState(null) + // Derive during render so a new turn’s first paint counts from its correct start. + const step = stepStructuredAgentTurnClock({ + timing: runningTiming, + turnId, + now: Date.now, + hostClock, + latch + }) + if (step.latch !== latch) { + setLatch(step.latch) + } + return { settledTurns, turnJournal, workingStartedAt: step.workingStartedAt } +} diff --git a/mobile/src/session/use-mobile-structured-transcript.ts b/mobile/src/session/native-chat/transcript/use-mobile-structured-transcript.ts similarity index 76% rename from mobile/src/session/use-mobile-structured-transcript.ts rename to mobile/src/session/native-chat/transcript/use-mobile-structured-transcript.ts index 4d1e1745023..8023c0336f5 100644 --- a/mobile/src/session/use-mobile-structured-transcript.ts +++ b/mobile/src/session/native-chat/transcript/use-mobile-structured-transcript.ts @@ -3,15 +3,15 @@ import { agentSessionContextClearOutstanding, agentSessionTranscriptRows, latestAgentSessionContextClearSequence -} from '../../../src/shared/agent-session/agent-session-context-clear' -import type { StructuredAgentSessionState } from '../../../src/shared/agent-session/structured-agent-session-reducer' -import type { StructuredAgentSessionOptimisticMessage } from '../../../src/shared/agent-session/view/structured-agent-session-message-projection' -import { createStructuredAgentSessionMessageProjection } from '../../../src/shared/agent-session/view/structured-agent-session-message-stream' -import { tuiAgentDisplayName } from '../../../src/shared/agent-launch/catalog/tui-agent-display-names' -import { withNativeChatCutTurnNotices } from '../../../src/shared/native-chat/transcript/native-chat-cut-turn-notice' -import { omitNativeChatThreadGoalRows } from '../../../src/shared/native-chat/transcript/native-chat-thread-goal-rows' -import { createStructuredQuestionProjection } from '../../../src/shared/structured-agent-question-projection' -import { projectStructuredAgentStartItem } from '../../../src/shared/structured-agent-start-projection' +} from '../../../../../src/shared/agent-session/agent-session-context-clear' +import type { StructuredAgentSessionState } from '../../../../../src/shared/agent-session/structured-agent-session-reducer' +import type { StructuredAgentSessionOptimisticMessage } from '../../../../../src/shared/agent-session/view/structured-agent-session-message-projection' +import { createStructuredAgentSessionMessageProjection } from '../../../../../src/shared/agent-session/view/structured-agent-session-message-stream' +import { tuiAgentDisplayName } from '../../../../../src/shared/agent-launch/catalog/tui-agent-display-names' +import { withNativeChatCutTurnNotices } from '../../../../../src/shared/native-chat/transcript/native-chat-cut-turn-notice' +import { omitNativeChatThreadGoalRows } from '../../../../../src/shared/native-chat/transcript/native-chat-thread-goal-rows' +import { createStructuredQuestionProjection } from '../../../../../src/shared/structured-agent-question-projection' +import { projectStructuredAgentStartItem } from '../../../../../src/shared/structured-agent-start-projection' const mobileStructuredTranscript = createStructuredQuestionProjection( projectStructuredAgentStartItem diff --git a/mobile/src/session/native-chat/transcript/use-mobile-structured-turn-indicator.ts b/mobile/src/session/native-chat/transcript/use-mobile-structured-turn-indicator.ts new file mode 100644 index 00000000000..73be344024e --- /dev/null +++ b/mobile/src/session/native-chat/transcript/use-mobile-structured-turn-indicator.ts @@ -0,0 +1,77 @@ +import { useMemo } from 'react' +import type { StructuredAgentSessionState } from '../../../../../src/shared/agent-session/structured-agent-session-reducer' +import type { NativeChatLiveTurnIndicator } from '../../../../../src/shared/native-chat/transcript/native-chat-turn-status' +import { isStructuredAgentSessionThinking } from '../../../../../src/shared/agent-session/view/structured-agent-session-live-turn' +import { selectStructuredAgentTurnActivity } from '../../../../../src/shared/native-chat/transcript/native-chat-turn-activity' +import { agentStopDisplayStatus } from '../../../../../src/shared/agent-status/lifecycle/agent-stop-display-status' +import { mobileStructuredSendQueues } from '../composer/mobile-structured-send-queue-rule' +import { + nativeChatSendFollowUp, + type NativeChatSendFollowUp +} from '../../../../../src/shared/native-chat/input/native-chat-follow-up-behavior' + +export function useMobileStructuredTurnIndicator(input: { + state: StructuredAgentSessionState + turnId: string | null + isWorking: boolean + /** Desktop holds Stop on whether it can stop, which covers a send still in flight. */ + canStop: boolean + hostStopping: boolean + stopPressed: boolean + queueCapable: boolean + queueFollowUps: boolean + /** The send's own working test counts a queued card about to send. */ + queueSendsNext: boolean +}): NativeChatLiveTurnIndicator & { + stopping: boolean + sendFollowUp?: NativeChatSendFollowUp +} { + const { state, turnId, hostStopping, stopPressed, queueCapable, queueFollowUps } = input + const activityText = useMemo( + () => selectStructuredAgentTurnActivity(state.items, turnId, state.activity)?.text ?? null, + [state.items, turnId, state.activity] + ) + const thinking = isStructuredAgentSessionThinking(state) + const working = input.isWorking || input.canStop + const stopping = agentStopDisplayStatus({ working, hostStopping, stopPressed }) === 'stopping' + const stopRequestInFlight = working && stopPressed + const afterStop = stopping + ? mobileStructuredSendQueues(queueCapable, queueFollowUps, state) + ? ('queue' as const) + : ('send' as const) + : undefined + const isWorking = input.isWorking || input.queueSendsNext + const sendFollowUp = + queueCapable && working && !stopping + ? nativeChatSendFollowUp((alternate) => + mobileStructuredSendQueues(queueCapable, queueFollowUps, state, { + alternate, + isWorking, + stopping + }) + ) + : null + const followUpAction = sendFollowUp?.action + const followUpOffersChoice = sendFollowUp?.offersChoice === true + return useMemo( + () => ({ + thinking, + activityText, + stopping, + stopRequestInFlight, + ...(followUpAction + ? { sendFollowUp: { action: followUpAction, offersChoice: followUpOffersChoice } } + : {}), + ...(afterStop ? { afterStop } : {}) + }), + [ + thinking, + activityText, + stopping, + stopRequestInFlight, + followUpAction, + followUpOffersChoice, + afterStop + ] + ) +} diff --git a/mobile/src/session/native-chat/use-stored-chat-transcript.ts b/mobile/src/session/native-chat/transcript/use-stored-chat-transcript.ts similarity index 100% rename from mobile/src/session/native-chat/use-stored-chat-transcript.ts rename to mobile/src/session/native-chat/transcript/use-stored-chat-transcript.ts diff --git a/mobile/src/session/use-throttled-latest-value.ts b/mobile/src/session/native-chat/transcript/use-throttled-latest-value.ts similarity index 100% rename from mobile/src/session/use-throttled-latest-value.ts rename to mobile/src/session/native-chat/transcript/use-throttled-latest-value.ts diff --git a/mobile/src/session/native-chat/use-mobile-native-chat-controller.ts b/mobile/src/session/native-chat/use-mobile-native-chat-controller.ts index ec49ba67457..b90f76fb88f 100644 --- a/mobile/src/session/native-chat/use-mobile-native-chat-controller.ts +++ b/mobile/src/session/native-chat/use-mobile-native-chat-controller.ts @@ -3,21 +3,21 @@ import { useCallback, useLayoutEffect, useMemo, useRef, type MutableRefObject } import type { RpcClient } from '../../transport/rpc/rpc-client-contract' import type { ConnectionState } from '../../transport/connection/connection-state' import type { MobileNativeChatTab } from './mobile-native-chat-eligibility' -import type { StructuredAgentSessionHostSupport } from '../mobile-structured-agent-session-host-support' +import type { StructuredAgentSessionHostSupport } from './agent-session/mobile-structured-agent-session-host-support' import { useMobileNativeChatDrafts } from './composer/use-mobile-native-chat-drafts' import { useMobileNativeChatWorkspaceCatalog } from './composer/use-mobile-native-chat-workspace-catalog' import { useMobileNativeChatMessageSend } from './transcript/use-mobile-native-chat-message-send' import { useMobileNativeChatSessionOptionController } from './input/use-mobile-native-chat-session-option-controller' import { useMobileNativeChatSessionLane } from './use-mobile-native-chat-session-lane' -import { useMobileStructuredNativeChatSendBridge } from '../use-mobile-structured-native-chat-send-bridge' -import { useMobileNativeChatTerminalTurn } from '../use-mobile-native-chat-terminal-turn' +import { useMobileStructuredNativeChatSendBridge } from './composer/use-mobile-structured-native-chat-send-bridge' +import { useMobileNativeChatTerminalTurn } from './transcript/use-mobile-native-chat-terminal-turn' import type { MobileNativeChatController } from './mobile-native-chat-controller-contract' -import { useMobileBridgeChatPromptWrites } from '../use-mobile-bridge-chat-prompt-writes' +import { useMobileBridgeChatPromptWrites } from './input/use-mobile-bridge-chat-prompt-writes' import { useMobileNativeChatActiveResolution } from './use-mobile-native-chat-active-resolution' -import { useMobileNativeChatPromptController } from '../use-mobile-native-chat-prompt-controller' +import { useMobileNativeChatPromptController } from './input/use-mobile-native-chat-prompt-controller' import { nativeChatPendingSendPlacement } from '../../../../src/shared/native-chat/transcript/native-chat-pending-sends' import { mobileNativeChatScopeKey } from './mobile-native-chat-scope-key' -import { useMobileNativeChatCiResultLines } from '../use-mobile-native-chat-ci-result-lines' +import { useMobileNativeChatCiResultLines } from './preferences/use-mobile-native-chat-ci-result-lines' export function useMobileNativeChatController(args: { client: RpcClient | null diff --git a/mobile/src/session/native-chat/use-mobile-native-chat-input-lease.test.ts b/mobile/src/session/native-chat/use-mobile-native-chat-input-lease.test.ts deleted file mode 100644 index 8b99f5736b4..00000000000 --- a/mobile/src/session/native-chat/use-mobile-native-chat-input-lease.test.ts +++ /dev/null @@ -1,111 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it, vi } from 'vitest' -import { - useMobileNativeChatInputLease, - useSettledMobileNativeChatInputLock -} from './use-mobile-native-chat-input-lease' - -type Lease = ReturnType - -describe('useMobileNativeChatInputLease', () => { - let renderer: ReactTestRenderer | null = null - let lease: Lease | null = null - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - lease = null - }) - - function Harness({ connected }: { connected: boolean }): null { - lease = useMobileNativeChatInputLease({ activeHandle: 'terminal', connected }) - return null - } - - it('unlocks only after acknowledgement and clears on disconnect', async () => { - await act(async () => { - renderer = create(createElement(Harness, { connected: true })) - }) - expect(lease?.ready).toBe(false) - expect(lease?.lockReason).toBe('waiting') - act(() => lease?.markReady('terminal')) - expect(lease?.ready).toBe(true) - expect(lease?.lockReason).toBeNull() - - act(() => { - lease?.clear() - }) - expect(lease?.ready).toBe(false) - act(() => lease?.markReady('terminal')) - expect(lease?.ready).toBe(true) - - await act(async () => renderer?.update(createElement(Harness, { connected: false }))) - expect(lease?.ready).toBe(false) - expect(lease?.lockReason).toBe('disconnected') - }) - - it('reports whether a clear actually dropped a lease', async () => { - await act(async () => { - renderer = create(createElement(Harness, { connected: true })) - }) - expect(lease?.clear('terminal')).toBe(false) - expect(lease?.clear()).toBe(false) - - act(() => lease?.markReady('terminal')) - let dropped: boolean | undefined - act(() => { - dropped = lease?.clear('terminal') - }) - expect(dropped).toBe(true) - expect(lease?.ready).toBe(false) - expect(lease?.clear('terminal')).toBe(false) - - act(() => lease?.markReady('other')) - expect(lease?.clear()).toBe(true) - }) -}) - -describe('useSettledMobileNativeChatInputLock', () => { - let renderer: ReactTestRenderer | null = null - let settled: ReturnType | undefined - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - vi.useRealTimers() - }) - - function Harness({ reason }: { reason: 'waiting' | 'disconnected' | null }): null { - settled = useSettledMobileNativeChatInputLock(reason) - return null - } - - it('holds each edge until the lease has stopped flapping', () => { - vi.useFakeTimers() - act(() => { - renderer = create(createElement(Harness, { reason: 'waiting' })) - }) - expect(settled).toBeNull() - act(() => { - vi.advanceTimersByTime(600) - }) - expect(settled).toBe('waiting') - - act(() => renderer?.update(createElement(Harness, { reason: null }))) - act(() => { - vi.advanceTimersByTime(300) - }) - act(() => renderer?.update(createElement(Harness, { reason: 'disconnected' }))) - act(() => { - vi.advanceTimersByTime(600) - }) - expect(settled).toBe('disconnected') - - act(() => renderer?.update(createElement(Harness, { reason: null }))) - act(() => { - vi.advanceTimersByTime(600) - }) - expect(settled).toBeNull() - }) -}) diff --git a/mobile/src/session/native-chat/use-mobile-native-chat-markdown-links.ts b/mobile/src/session/native-chat/use-mobile-native-chat-markdown-links.ts index 8865ab41830..d8ad6f990d2 100644 --- a/mobile/src/session/native-chat/use-mobile-native-chat-markdown-links.ts +++ b/mobile/src/session/native-chat/use-mobile-native-chat-markdown-links.ts @@ -21,7 +21,7 @@ import { type MobileMarkdownLinks } from '../../components/mobile-markdown-links-context' import type { RpcClient } from '../../transport/rpc/rpc-client-contract' -import type { RpcOperationSender } from '../../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../../transport/rpc/unvalidated-rpc-request-port' import { isMobileMethodUnavailableError } from '../../transport/rpc/mobile-method-unavailable' import { isFilePathCodeSpan } from '../../components/markdown-file-path-detection' import { bindDeferredRpcOperation, defineRpcOperation } from '../../transport/rpc/rpc-operation' @@ -42,7 +42,7 @@ const chatPathsExistRead = bindDeferredRpcOperation( /** Paths in a chat's text, checked in batches against the chat's workspace on its host. */ export function createMobileNativeChatFileLinkExistence( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, worktreePath: string ): NativeChatFileLinkExistence { diff --git a/mobile/src/session/native-chat/use-mobile-native-chat-send-error.test.ts b/mobile/src/session/native-chat/use-mobile-native-chat-send-error.test.ts deleted file mode 100644 index d0db1f8c01e..00000000000 --- a/mobile/src/session/native-chat/use-mobile-native-chat-send-error.test.ts +++ /dev/null @@ -1,222 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { - useMobileNativeChatSendError, - type MobileNativeChatCommandRefusalCauses -} from './use-mobile-native-chat-send-error' - -type HookApi = ReturnType - -describe('useMobileNativeChatSendError', () => { - let renderer: ReactTestRenderer | null = null - const apiRef = { current: null as HookApi | null } - - const showToast = vi.fn() - - function Harness({ - scopeKey, - bannerMounted = true, - causes = null - }: { - scopeKey: string | null - bannerMounted?: boolean - causes?: MobileNativeChatCommandRefusalCauses | null - }): null { - const api = useMobileNativeChatSendError({ scopeKey, showToast }) - api.bannerMountedRef.current = bannerMounted - api.keepWhile(causes) - apiRef.current = api - return null - } - - function api(): HookApi { - if (!apiRef.current) { - throw new Error('Harness was not rendered') - } - return apiRef.current - } - - async function render(scopeKey: string | null = 'terminal-1'): Promise { - await act(async () => { - renderer = create(createElement(Harness, { scopeKey })) - }) - } - - beforeEach(() => { - apiRef.current = null - showToast.mockClear() - vi.useFakeTimers() - }) - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - vi.useRealTimers() - }) - - async function showing(causes: MobileNativeChatCommandRefusalCauses): Promise { - await act(async () => { - renderer?.update(createElement(Harness, { scopeKey: 'terminal-1', causes })) - }) - } - - it('a /clear refused while the agent works goes when the agent stops, and stays gone', async () => { - const line = "The agent is still working. Run /clear when it's done." - await render() - await showing({ working: true, prompt: false }) - await act(async () => api().show(line, { refusedWhile: 'working' })) - expect(api().message).toBe(line) - await showing({ working: true, prompt: false }) - expect(api().message).toBe(line) - - await showing({ working: false, prompt: false }) - expect(api().message).toBeNull() - await showing({ working: true, prompt: false }) - expect(api().message).toBeNull() - }) - - it('a refusal behind a question goes once it is answered', async () => { - await render() - await showing({ working: false, prompt: true }) - await act(async () => - api().show("Answer the agent's question or approval, then run /clear.", { - refusedWhile: 'prompt' - }) - ) - await showing({ working: false, prompt: false }) - expect(api().message).toBeNull() - }) - - it('a failure naming nothing the phone shows, or background tasks it cannot see, stays', async () => { - await render() - await act(async () => api().show('Message not sent')) - await showing({ working: false, prompt: false }) - expect(api().message).toBe('Message not sent') - await act(async () => - api().show('Background tasks are still running.', { refusedWhile: 'background' }) - ) - await showing({ working: false, prompt: false }) - expect(api().message).toBe('Background tasks are still running.') - }) - - it('holds a failure for four seconds, then drops it', async () => { - await render() - await act(async () => api().show('a')) - expect(api().message).toBe('a') - - await act(async () => { - vi.advanceTimersByTime(3999) - }) - expect(api().message).toBe('a') - await act(async () => { - vi.advanceTimersByTime(1) - }) - expect(api().message).toBeNull() - }) - - it('restarts the hold when a second failure lands mid-hold', async () => { - await render() - await act(async () => api().show('a')) - await act(async () => { - vi.advanceTimersByTime(3000) - }) - await act(async () => api().show('b')) - - await act(async () => { - vi.advanceTimersByTime(3000) - }) - expect(api().message).toBe('b') - - await act(async () => { - vi.advanceTimersByTime(1000) - }) - expect(api().message).toBeNull() - }) - - it('clears immediately and cancels the pending hold', async () => { - await render() - await act(async () => api().show('a')) - await act(async () => api().clear()) - expect(api().message).toBeNull() - - await act(async () => api().show('b')) - await act(async () => api().clear()) - await act(async () => { - vi.advanceTimersByTime(10_000) - }) - expect(api().message).toBeNull() - }) - - it('drops a held failure when the scope changes', async () => { - await render('terminal-1') - await act(async () => api().show('a')) - expect(api().message).toBe('a') - - await act(async () => { - renderer?.update(createElement(Harness, { scopeKey: 'terminal-2' })) - }) - expect(api().message).toBeNull() - await act(async () => { - renderer?.update(createElement(Harness, { scopeKey: 'terminal-1' })) - }) - expect(api().message).toBeNull() - }) - - it('falls back to the toast when the banner is not mounted', async () => { - await act(async () => { - renderer = create(createElement(Harness, { scopeKey: 'terminal-1', bannerMounted: false })) - }) - await act(async () => api().show('Delivery unconfirmed')) - - expect(showToast).toHaveBeenCalledWith('Delivery unconfirmed', 1600) - expect(api().message).toBeNull() - }) - - it('toasts a deferred failure that resolves after the user switched tabs', async () => { - await render('terminal-1') - const showFromTabA = api().show - - await act(async () => { - renderer?.update(createElement(Harness, { scopeKey: 'terminal-2' })) - }) - await act(async () => showFromTabA('Message not sent')) - - expect(api().message).toBeNull() - expect(showToast).toHaveBeenCalledWith('Message not sent', 1600) - }) - - it('does not let a stale scope clear the banner the live scope is showing', async () => { - await render('terminal-1') - const clearFromTabA = api().clear - - await act(async () => { - renderer?.update(createElement(Harness, { scopeKey: 'terminal-2' })) - }) - await act(async () => api().show('b')) - await act(async () => clearFromTabA()) - - expect(api().message).toBe('b') - }) - - it('toasts a failure that resolves after the route unmounted', async () => { - await render() - const showWhileMounted = api().show - - act(() => renderer?.unmount()) - renderer = null - // Unmount must clear the render-written mounted ref so late failures can fall back to toast. - await act(async () => showWhileMounted('Delivery unconfirmed')) - - expect(showToast).toHaveBeenCalledWith('Delivery unconfirmed', 1600) - }) - - it('cancels the pending hold timer on unmount', async () => { - await render() - await act(async () => api().show('a')) - expect(vi.getTimerCount()).toBe(1) - act(() => renderer?.unmount()) - renderer = null - expect(vi.getTimerCount()).toBe(0) - }) -}) diff --git a/mobile/src/session/native-chat/use-mobile-native-chat-session-lane.ts b/mobile/src/session/native-chat/use-mobile-native-chat-session-lane.ts index d61614a79a7..0ce1245b017 100644 --- a/mobile/src/session/native-chat/use-mobile-native-chat-session-lane.ts +++ b/mobile/src/session/native-chat/use-mobile-native-chat-session-lane.ts @@ -1,13 +1,13 @@ import { useCallback } from 'react' import type { MobileComposerWriter } from './composer/mobile-native-chat-draft-store' import type { RpcClient } from '../../transport/rpc/rpc-client-contract' -import type { StructuredAgentSessionHostSupport } from '../mobile-structured-agent-session-host-support' +import type { StructuredAgentSessionHostSupport } from './agent-session/mobile-structured-agent-session-host-support' import type { ConnectionState } from '../../transport/connection/connection-state' import { useMobileNativeChatSession } from './use-mobile-native-chat-session' -import { useMobileStructuredAgentSession } from '../use-mobile-structured-agent-session' -import { useMobileStructuredSessionCommands } from '../use-mobile-structured-session-commands' +import { useMobileStructuredAgentSession } from './agent-session/use-mobile-structured-agent-session' +import { useMobileStructuredSessionCommands } from './composer/use-mobile-structured-session-commands' import type { MobileNativeChatResolution } from './mobile-native-chat-eligibility' -import type { MobileNativeChatSendErrorReporter } from './use-mobile-native-chat-send-error' +import type { MobileNativeChatSendErrorReporter } from './composer/use-mobile-native-chat-send-error' // Run both hooks in fixed order and starve the inactive lane’s identity so flips preserve cached transcripts. export function useMobileNativeChatSessionLane({ diff --git a/mobile/src/session/native-chat/use-mobile-native-chat-session.test.ts b/mobile/src/session/native-chat/use-mobile-native-chat-session.test.ts index 8d9f0705af2..b012f915961 100644 --- a/mobile/src/session/native-chat/use-mobile-native-chat-session.test.ts +++ b/mobile/src/session/native-chat/use-mobile-native-chat-session.test.ts @@ -3,14 +3,10 @@ import { act, create, type ReactTestRenderer } from 'react-test-renderer' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' import type { NativeChatMessage } from '../../../../src/shared/native-chat/native-chat-types' import type { RpcClient } from '../../transport/rpc/rpc-client-contract' -import { stubRpcClient } from '../../transport/rpc/rpc-client-test-stub' -import { publishPageDeviceStore } from '../../mobile-web-shell/bridge/page-device-store' -import { mobileNativeChatTranscriptCache } from './mobile-native-chat-transcript-cache' -import { encodeStoredChatTranscript } from './mobile-native-chat-transcript-encode' -import { - useMobileNativeChatSession, - type MobileNativeChatSession -} from './use-mobile-native-chat-session' + +import { mobileNativeChatTranscriptCache } from './transcript/mobile-native-chat-transcript-cache' + +import { useMobileNativeChatSession } from './use-mobile-native-chat-session' function message(id: string): NativeChatMessage { return { @@ -24,285 +20,6 @@ function message(id: string): NativeChatMessage { beforeEach(() => mobileNativeChatTranscriptCache.clear()) -describe('useMobileNativeChatSession', () => { - let renderer: ReactTestRenderer | null = null - let state: MobileNativeChatSession | null = null - let emit: (frame: unknown) => void = () => {} - - beforeEach(() => { - state = null - }) - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - }) - - function Harness({ client }: { client: RpcClient | null }): null { - state = useMobileNativeChatSession({ - client, - sourceIdentity: 'host-a\0workspace-a', - agent: 'claude', - sessionId: 'session', - transcriptPath: null - }) - return null - } - - async function mount(client: RpcClient): Promise { - await act(async () => { - renderer = create(createElement(Harness, { client })) - }) - } - - it('drops an older-page response captured before transcript replacement', async () => { - let resolveEarlier: (response: unknown) => void = () => {} - const sendRequest = vi.fn( - () => new Promise((resolve) => (resolveEarlier = resolve)) - ) as unknown as RpcClient['sendRequest'] - const subscribe: RpcClient['subscribe'] = vi.fn((_method, _params, onData) => { - emit = onData - onData({ - type: 'snapshot', - messages: Array.from({ length: 40 }, (_unused, index) => message(`old-${index}`)), - hasMore: true, - beforeOffset: 100 - }) - return () => {} - }) - await mount({ sendRequest, subscribe } as unknown as RpcClient) - act(() => state?.loadEarlier()) - - await act(async () => { - emit({ - type: 'replacement', - messages: [message('replacement')], - hasMore: false, - beforeOffset: 0 - }) - }) - await act(async () => { - resolveEarlier({ - ok: true, - result: { messages: [message('stale-page')], hasMore: false, beforeOffset: 0 } - }) - await Promise.resolve() - }) - - expect(state?.messages.map((entry) => entry.id)).toEqual(['replacement']) - expect(state?.loadingEarlier).toBe(false) - }) - - it('drops an older-page response after the client source disappears', async () => { - let resolveEarlier: (response: unknown) => void = () => {} - const sendRequest = vi.fn( - () => new Promise((resolve) => (resolveEarlier = resolve)) - ) as unknown as RpcClient['sendRequest'] - const subscribe: RpcClient['subscribe'] = vi.fn((_method, _params, onData) => { - onData({ - type: 'snapshot', - messages: Array.from({ length: 40 }, (_unused, index) => message(`old-${index}`)), - hasMore: true, - beforeOffset: 100 - }) - return () => {} - }) - await mount({ sendRequest, subscribe } as unknown as RpcClient) - act(() => state?.loadEarlier()) - await act(async () => renderer?.update(createElement(Harness, { client: null }))) - await act(async () => { - resolveEarlier({ ok: true, result: { messages: [message('stale-page')] } }) - await Promise.resolve() - }) - - // Retain visible history after source loss, but reject late pages from the retired source. - expect(state?.messages.map((entry) => entry.id)).not.toContain('stale-page') - expect(state?.messages).toHaveLength(40) - expect(state?.status).toBe('idle') - expect(state?.loadingEarlier).toBe(false) - }) - - it('keeps paged-in history across an auto-reconnect replay snapshot', async () => { - // Reconnect replays the original small window; merge it into paged history instead of truncating. - const sendRequest = vi.fn().mockResolvedValue({ - ok: true, - result: { - messages: Array.from({ length: 60 }, (_unused, index) => message(`paged-${index}`)), - hasMore: false, - beforeOffset: 40 - } - }) - const window = Array.from({ length: 40 }, (_unused, index) => message(`win-${index}`)) - const subscribe: RpcClient['subscribe'] = vi.fn((_method, _params, onData) => { - emit = onData - onData({ type: 'snapshot', messages: window, hasMore: true, beforeOffset: 100 }) - return () => {} - }) - await mount({ sendRequest, subscribe } as unknown as RpcClient) - await act(async () => { - state?.loadEarlier() - await Promise.resolve() - }) - expect(state?.messages).toHaveLength(100) - - await act(async () => - emit({ type: 'snapshot', messages: window, hasMore: true, beforeOffset: 100 }) - ) - expect(state?.messages).toHaveLength(100) - expect(state?.messages[0]?.id).toBe('paged-0') - - await act(async () => - emit({ - type: 'snapshot', - messages: [...window, message('live-1')], - hasMore: true, - beforeOffset: 100 - }) - ) - expect(state?.messages).toHaveLength(101) - expect(state?.messages[0]?.id).toBe('paged-0') - expect(state?.messages.at(-1)?.id).toBe('live-1') - }) - - it('keeps the rows it shows when a replay window has moved past them', async () => { - const sendRequest = vi.fn(() => new Promise(() => {})) - const window = Array.from({ length: 40 }, (_unused, index) => message(`win-${index}`)) - const subscribe: RpcClient['subscribe'] = vi.fn((_method, _params, onData) => { - emit = onData - onData({ type: 'snapshot', messages: window, hasMore: false, beforeOffset: 0 }) - return () => {} - }) - await mount({ sendRequest, subscribe } as unknown as RpcClient) - - await act(async () => - emit({ - type: 'snapshot', - messages: [...window.slice(1), message('live-1')], - hasMore: true, - beforeOffset: 10 - }) - ) - - expect(state?.messages.map((entry) => entry.id)).toEqual([ - ...window.map((entry) => entry.id), - 'live-1' - ]) - expect(state?.hasMore).toBe(false) - }) - - it('drops paged rows that an authoritative replay says were removed', async () => { - const sendRequest = vi.fn().mockResolvedValue({ - ok: true, - result: { - messages: Array.from({ length: 60 }, (_unused, index) => message(`paged-${index}`)), - hasMore: false, - beforeOffset: 40 - } - }) - const window = Array.from({ length: 40 }, (_unused, index) => message(`win-${index}`)) - const subscribe: RpcClient['subscribe'] = vi.fn((_method, _params, onData) => { - emit = onData - onData({ type: 'snapshot', messages: window, hasMore: true, beforeOffset: 100 }) - return () => {} - }) - await mount({ sendRequest, subscribe } as unknown as RpcClient) - await act(async () => { - state?.loadEarlier() - await Promise.resolve() - }) - expect(state?.messages).toHaveLength(100) - - await act(async () => - emit({ type: 'snapshot', messages: window, hasMore: false, beforeOffset: 0 }) - ) - - expect(state?.messages).toEqual(window) - expect(state?.hasMore).toBe(false) - }) - - it('fences an in-flight older page when a merging replay re-cuts the byte cursor', async () => { - let resolveEarlier: (response: unknown) => void = () => {} - const sendRequest = vi.fn( - () => new Promise((resolve) => (resolveEarlier = resolve)) - ) as unknown as RpcClient['sendRequest'] - const retained = Array.from({ length: 40 }, (_unused, index) => message(`win-${index}`)) - const subscribe: RpcClient['subscribe'] = vi.fn((_method, _params, onData) => { - emit = onData - onData({ type: 'snapshot', messages: retained, hasMore: true, beforeOffset: 100 }) - return () => {} - }) - await mount({ sendRequest, subscribe } as unknown as RpcClient) - act(() => state?.loadEarlier()) - - // Even an untrimmed replay can recut the cursor; an old in-flight page must not overwrite the new offset. - await act(async () => - emit({ type: 'snapshot', messages: retained, hasMore: true, beforeOffset: 250 }) - ) - await act(async () => { - resolveEarlier({ - ok: true, - result: { messages: [message('stale-page')], hasMore: true, beforeOffset: 40 } - }) - await Promise.resolve() - }) - - expect(state?.messages.some((entry) => entry.id === 'stale-page')).toBe(false) - expect(state?.loadingEarlier).toBe(false) - }) - - it('keeps the base snapshot authoritative when a live append arrives first', async () => { - const sendRequest = vi.fn() - const subscribe: RpcClient['subscribe'] = vi.fn((_method, _params, onData) => { - emit = onData - return () => {} - }) - await mount({ sendRequest, subscribe } as unknown as RpcClient) - // Only snapshots establish the base; early appends cannot turn the first real snapshot into replay. - await act(async () => - emit({ type: 'appended', messages: [message('early-a'), message('early-b')] }) - ) - await act(async () => - emit({ - type: 'snapshot', - messages: [message('early-b'), message('base-c')], - hasMore: true, - beforeOffset: 3 - }) - ) - - expect(state?.messages.map((entry) => entry.id)).toEqual(['early-b', 'base-c']) - }) - - it('keeps every row it shows while live output outgrows the first window', async () => { - let resolvePage: (response: unknown) => void = () => {} - const sendRequest = vi - .fn() - .mockImplementationOnce(() => new Promise((resolve) => (resolvePage = resolve))) - .mockImplementation(() => new Promise(() => {})) - const window = Array.from({ length: 40 }, (_unused, index) => message(`window-${index}`)) - const subscribe: RpcClient['subscribe'] = vi.fn((_method, _params, onData) => { - emit = onData - onData({ type: 'snapshot', messages: window, hasMore: true, beforeOffset: 100 }) - return () => {} - }) - await mount({ sendRequest, subscribe } as unknown as RpcClient) - const shown = window.map((entry) => entry.id) - - act(() => state?.loadEarlier()) - await act(async () => emit({ type: 'appended', messages: [message('live-1')] })) - expect(state?.messages.map((entry) => entry.id)).toEqual([...shown, 'live-1']) - - await act(async () => { - resolvePage({ - ok: true, - result: { messages: [message('older-page')], hasMore: true, beforeOffset: 50 } - }) - await Promise.resolve() - }) - expect(state?.messages.map((entry) => entry.id)).toEqual(['older-page', ...shown, 'live-1']) - }) -}) - describe('useMobileNativeChatSession transcriptLoading', () => { let renderer: ReactTestRenderer | null = null const renders: { @@ -354,118 +71,6 @@ describe('useMobileNativeChatSession transcriptLoading', () => { }) } - it('re-reads instead of resurfacing a settled read when the same identity returns', async () => { - // View toggles clear subscription state; retain settled history without claiming the reread is ready. - const subscribe: RpcClient['subscribe'] = vi.fn((_method, _params, onData) => { - onData({ type: 'snapshot', messages: [message('a-1')], hasMore: false }) - return () => {} - }) - const client = { subscribe } as unknown as RpcClient - await mountAt(client, 'session-a') - expect(renders.at(-1)).toMatchObject({ status: 'ready', transcriptLoading: false }) - - await act(async () => - renderer?.update(createElement(Harness, { client, sessionId: 'session-a', agent: null })) - ) - renders.length = 0 - await act(async () => - renderer?.update(createElement(Harness, { client, sessionId: 'session-a', agent: 'claude' })) - ) - - expect(renders[0]).toMatchObject({ - status: 'loading', - transcriptLoading: true, - ids: ['a-1'] - }) - }) - - it('keeps the last settled list rendered while a swapped client re-reads', async () => { - // A new client invalidates the old ready verdict but must keep the cached conversation visible. - const subscribe: RpcClient['subscribe'] = vi.fn((_method, _params, onData) => { - onData({ type: 'snapshot', messages: [message('a-1')], hasMore: false }) - return () => {} - }) - const client = { subscribe } as unknown as RpcClient - await mountAt(client, 'session-a') - expect(renders.at(-1)).toMatchObject({ status: 'ready' }) - - let emitFresh: (frame: unknown) => void = () => {} - const reconnected = { - subscribe: vi.fn((_method: string, _params: unknown, onData: (frame: unknown) => void) => { - emitFresh = onData - return () => {} - }) - } as unknown as RpcClient - renders.length = 0 - await act(async () => - renderer?.update(createElement(Harness, { client: reconnected, sessionId: 'session-a' })) - ) - - expect(renders[0]).toMatchObject({ - status: 'loading', - transcriptLoading: true, - ids: ['a-1'] - }) - // Check every commit: passive resubscribe reset could blank history after a first-frame assertion passed. - expect([...new Set(renders.map((entry) => entry.ids.join(',')))]).toEqual(['a-1']) - - await act(async () => - emitFresh({ type: 'snapshot', messages: [message('a-1'), message('a-2')], hasMore: false }) - ) - expect(renders.at(-1)).toMatchObject({ - status: 'ready', - transcriptLoading: false, - ids: ['a-1', 'a-2'] - }) - }) - - it('keeps the retained transcript rendered when the stream reports an error', async () => { - // Failed rereads must retain the last settled history until newer history replaces it. - let emitFrame: (frame: unknown) => void = () => {} - const client = { - subscribe: vi.fn((_method: string, _params: unknown, onData: (frame: unknown) => void) => { - emitFrame = onData - onData({ type: 'snapshot', messages: [message('a-1')], hasMore: false }) - return () => {} - }) - } as unknown as RpcClient - await mountAt(client, 'session-a') - expect(renders.at(-1)).toMatchObject({ status: 'ready', ids: ['a-1'] }) - - renders.length = 0 - await act(async () => emitFrame({ type: 'error', message: 'stream broke' })) - - expect(renders.at(-1)).toMatchObject({ - status: 'error', - transcriptLoading: false, - ids: ['a-1'] - }) - }) - - it('never holds a cached list across a host/workspace source change', async () => { - const firstClient = { - subscribe: vi.fn((_method: string, _params: unknown, onData: (frame: unknown) => void) => { - onData({ type: 'snapshot', messages: [message('source-a')], hasMore: false }) - return () => {} - }) - } as unknown as RpcClient - await mountAt(firstClient, 'session-a') - - const secondClient = { subscribe: vi.fn(() => () => {}) } as unknown as RpcClient - renders.length = 0 - await act(async () => - renderer?.update( - createElement(Harness, { - client: secondClient, - sessionId: 'session-a', - sourceIdentity: 'host-b\0workspace-b' - }) - ) - ) - - expect(renders[0]).toMatchObject({ status: 'loading', ids: [] }) - }) - it('never hands out the previous session’s messages under the new session id', async () => { const subscribe: RpcClient['subscribe'] = vi.fn((_method, params, onData) => { if ((params as { sessionId: string }).sessionId === 'session-a') { @@ -489,121 +94,4 @@ describe('useMobileNativeChatSession transcriptLoading', () => { ids: [] }) }) - - it('takes the real snapshot after a pending one as this subscription’s base', async () => { - let emitFrame: (frame: unknown) => void = () => {} - const client = { - subscribe: vi.fn((_method: string, _params: unknown, onData: (frame: unknown) => void) => { - emitFrame = onData - onData({ type: 'snapshot', messages: [], hasMore: false, pending: true }) - return () => {} - }) - } as unknown as RpcClient - await mountAt(client, 'session-a') - - await act(async () => - emitFrame({ type: 'appended', messages: [message('early-a'), message('early-b')] }) - ) - await act(async () => - emitFrame({ - type: 'snapshot', - messages: [message('early-b'), message('base-c')], - hasMore: true, - beforeOffset: 100 - }) - ) - - expect(renders.at(-1)).toMatchObject({ - status: 'ready', - transcriptLoading: false, - ids: ['early-b', 'base-c'] - }) - }) - - it('never captures a pending window over the retained transcript', async () => { - const client = { - subscribe: vi.fn((_method: string, _params: unknown, onData: (frame: unknown) => void) => { - onData({ type: 'snapshot', messages: [message('a-1')], hasMore: false }) - return () => {} - }) - } as unknown as RpcClient - await mountAt(client, 'session-a') - - const reconnected = { - subscribe: vi.fn((_method: string, _params: unknown, onData: (frame: unknown) => void) => { - onData({ type: 'snapshot', messages: [], hasMore: false, pending: true }) - return () => {} - }) - } as unknown as RpcClient - await act(async () => - renderer?.update(createElement(Harness, { client: reconnected, sessionId: 'session-a' })) - ) - - const rebound = { subscribe: vi.fn(() => () => {}) } as unknown as RpcClient - renders.length = 0 - await act(async () => - renderer?.update(createElement(Harness, { client: rebound, sessionId: 'session-a' })) - ) - - expect(renders.at(-1)).toMatchObject({ status: 'loading', ids: ['a-1'] }) - }) -}) - -describe('useMobileNativeChatSession after a relaunch', () => { - let renderer: ReactTestRenderer | null = null - let stored: string | null = null - - beforeEach(() => { - publishPageDeviceStore({ - available: () => true, - read: async (_table, keys) => ({ - status: 'ok', - values: keys.map((key) => (key.startsWith('transcript:') ? stored : null)) - }), - write: async () => ({ written: true }) - }) - }) - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - publishPageDeviceStore(null) - }) - - it('paints the stored rows and subscribes after the newest one', async () => { - // What an earlier launch's page saved when this chat's turn settled. - stored = await encodeStoredChatTranscript({ - kind: 'terminal', - savedAt: 1_700_000_000_000, - messages: [ - { ...message('m1'), transcriptOrder: 100 }, - { ...message('m2'), transcriptOrder: 200 } - ], - hasMore: false, - beforeOffset: null - }) - const subscribe = vi.fn(() => () => {}) - const client = stubRpcClient({ subscribe }) - const seen: { state: MobileNativeChatSession | null } = { state: null } - function Harness(): null { - seen.state = useMobileNativeChatSession({ - client, - sourceIdentity: 'host-a\0relaunched', - agent: 'claude', - sessionId: 'session', - transcriptPath: null - }) - return null - } - await act(async () => { - renderer = create(createElement(Harness)) - }) - - expect(subscribe).toHaveBeenCalledTimes(1) - expect(subscribe.mock.calls[0]?.[1]).toMatchObject({ - resumeAfter: { id: 'm2', transcriptOrder: 200, timestamp: 1 } - }) - expect(seen.state?.messages.map((entry) => entry.id)).toEqual(['m1', 'm2']) - expect(seen.state?.savedAt).toBe(1_700_000_000_000) - }) }) diff --git a/mobile/src/session/native-chat/use-mobile-native-chat-session.ts b/mobile/src/session/native-chat/use-mobile-native-chat-session.ts index 978f859a8f3..0e2d53c95b5 100644 --- a/mobile/src/session/native-chat/use-mobile-native-chat-session.ts +++ b/mobile/src/session/native-chat/use-mobile-native-chat-session.ts @@ -15,21 +15,23 @@ import { nativeChatSessionPageRead } from './agent-session/mobile-native-chat-pa import { applyMobileNativeChatStreamFrame, type MobileNativeChatStreamFrame -} from './mobile-native-chat-stream-frame' +} from './transcript/mobile-native-chat-stream-frame' import { randomV4Uuid } from '../../platform/random-v4-uuid' -import { useMobileOlderPageLoader, type OlderPagePhase } from '../use-mobile-older-page-loader' +import { + useMobileOlderPageLoader, + type OlderPagePhase +} from './transcript/use-mobile-older-page-loader' import { cacheMobileNativeChatTranscript, heldMobileNativeChatTranscript, mobileNativeChatResumePoint, mobileNativeChatTranscriptCache -} from './mobile-native-chat-transcript-cache' -import { terminalChatTranscriptIdentity } from './mobile-native-chat-transcript-store' -import { noteChatTranscript } from './mobile-native-chat-transcript-writer' -import { useStoredChatTranscript } from './use-stored-chat-transcript' +} from './transcript/mobile-native-chat-transcript-cache' +import { terminalChatTranscriptIdentity } from './transcript/mobile-native-chat-transcript-store' +import { noteChatTranscript } from './transcript/mobile-native-chat-transcript-writer' +import { useStoredChatTranscript } from './transcript/use-stored-chat-transcript' import type { MobileNativeChatStatus } from './mobile-native-chat-session-status' -export type { MobileNativeChatStatus } from './mobile-native-chat-session-status' export type MobileNativeChatSession = { messages: NativeChatMessage[] diff --git a/mobile/src/session/native-chat/use-mobile-native-chat-terminal-stream.test.ts b/mobile/src/session/native-chat/use-mobile-native-chat-terminal-stream.test.ts index daa4e74a737..084b090f152 100644 --- a/mobile/src/session/native-chat/use-mobile-native-chat-terminal-stream.test.ts +++ b/mobile/src/session/native-chat/use-mobile-native-chat-terminal-stream.test.ts @@ -5,19 +5,13 @@ import { useMobileNativeChatTerminalStream } from './use-mobile-native-chat-term describe('useMobileNativeChatTerminalStream', () => { let renderer: ReactTestRenderer | null = null - let harnessRenderCount = 0 const subscriptionsRef = { current: new Map void>() } const subscribingRef = { current: new Set() } const leaseOnlyRef = { current: new Set() } const webReadyRef = { current: new Set(['terminal-1']) } - let subscribeOpensLeaseOnly = false const registerSubscription = (handle: string): boolean => { subscriptionsRef.current.set(handle, () => {}) - if (subscribeOpensLeaseOnly) { - leaseOnlyRef.current.add(handle) - } else { - leaseOnlyRef.current.delete(handle) - } + leaseOnlyRef.current.delete(handle) return true } const subscribe = vi.fn(registerSubscription) @@ -25,7 +19,6 @@ describe('useMobileNativeChatTerminalStream', () => { subscriptionsRef.current.delete(handle) leaseOnlyRef.current.delete(handle) }) - const notifyWebReadyRef = { current: (_handle: string, _wasAlreadyReady: boolean): void => {} } const notifyListedHandlesRef = { current: (_liveHandles: ReadonlySet): void => {} } const hasTabsRecoveryNeedRef = { current: (): boolean => false } @@ -33,9 +26,7 @@ describe('useMobileNativeChatTerminalStream', () => { subscriptionsRef.current = new Map([['terminal-1', () => {}]]) subscribingRef.current = new Set() leaseOnlyRef.current = new Set() - subscribeOpensLeaseOnly = false webReadyRef.current = new Set(['terminal-1']) - harnessRenderCount = 0 subscribe.mockClear() unsubscribe.mockClear() }) @@ -56,7 +47,6 @@ describe('useMobileNativeChatTerminalStream', () => { leaseReady?: boolean streamRevision?: number }): null { - harnessRenderCount += 1 const stream = useMobileNativeChatTerminalStream({ showNativeChat, activeHandle, @@ -70,7 +60,6 @@ describe('useMobileNativeChatTerminalStream', () => { subscribe, unsubscribe }) - notifyWebReadyRef.current = stream.notifyWebReady notifyListedHandlesRef.current = stream.notifyListedHandles hasTabsRecoveryNeedRef.current = stream.hasTabsRecoveryNeed return null @@ -95,244 +84,6 @@ describe('useMobileNativeChatTerminalStream', () => { }) } - // A synchronous tab switch still sees old chat coverage and opens the incoming terminal as lease-only. - function handOffToTerminalTwo(): void { - subscribeOpensLeaseOnly = true - subscribe('terminal-2') - subscribeOpensLeaseOnly = false - subscribe.mockClear() - unsubscribe.mockClear() - } - - it('trades a lease-only stream for output when a chat tab hands off to a terminal tab', async () => { - webReadyRef.current.add('terminal-2') - await act(async () => { - renderer = create(createElement(Harness, { showNativeChat: true })) - }) - handOffToTerminalTwo() - - await act(async () => { - renderer?.update( - createElement(Harness, { showNativeChat: false, activeHandle: 'terminal-2' }) - ) - }) - - expect(unsubscribe).toHaveBeenCalledWith('terminal-2') - expect(subscribe).toHaveBeenCalledWith('terminal-2') - expect(leaseOnlyRef.current.has('terminal-2')).toBe(false) - }) - - it('repairs a lease-only stream once its WebView reports ready', async () => { - await act(async () => { - renderer = create(createElement(Harness, { showNativeChat: true })) - }) - handOffToTerminalTwo() - await act(async () => { - renderer?.update( - createElement(Harness, { showNativeChat: false, activeHandle: 'terminal-2' }) - ) - }) - - // A cold WebView must wait; its normal ready path skips already-live lease subscriptions. - expect(subscribe).not.toHaveBeenCalled() - - await act(async () => { - webReadyRef.current.add('terminal-2') - notifyWebReadyRef.current('terminal-2', false) - }) - - expect(unsubscribe).toHaveBeenCalledWith('terminal-2') - expect(subscribe).toHaveBeenCalledWith('terminal-2') - }) - - it.each([true, false])( - 'stops rearming a handle whose stream never comes back (covered: %s, #10681)', - async (showNativeChat) => { - await act(async () => { - renderer = create(createElement(Harness, { showNativeChat })) - }) - subscribe.mockClear() - // Dead PTYs answer subscribed/end repeatedly; rearm must stop rather than loop through host waits. - for (let revision = 1; revision <= 6; revision += 1) { - subscriptionsRef.current.delete('terminal-1') - await act(async () => { - renderer?.update( - createElement(Harness, { - showNativeChat, - leaseReady: false, - streamRevision: revision - }) - ) - }) - } - - expect(subscribe.mock.calls.length).toBeLessThanOrEqual(3) - } - ) - - it('does not charge the rearm budget for a subscribe its own gates turned away', async () => { - try { - await act(async () => { - renderer = create(createElement(Harness, { showNativeChat: true })) - }) - subscribe.mockClear() - // Locally rejected subscribes never reached the host and must not spend real attempts. - subscribe.mockImplementation(() => false) - for (let revision = 1; revision <= 5; revision += 1) { - subscriptionsRef.current.delete('terminal-1') - await act(async () => { - renderer?.update( - createElement(Harness, { - showNativeChat: true, - leaseReady: false, - streamRevision: revision - }) - ) - }) - } - - expect(subscribe).toHaveBeenCalledTimes(5) - } finally { - subscribe.mockImplementation(registerSubscription) - } - }) - - it('charges the rearm budget for a subscribe the bridge refused before returning', async () => { - try { - await act(async () => { - renderer = create(createElement(Harness, { showNativeChat: false })) - }) - subscribe.mockClear() - // A synchronous refusal ends the stream inside subscribe, so no ref ever shows it was sent. - subscribe.mockImplementation(() => true) - for (let revision = 1; revision <= 5; revision += 1) { - subscriptionsRef.current.delete('terminal-1') - await act(async () => { - renderer?.update( - createElement(Harness, { - showNativeChat: false, - leaseReady: false, - streamRevision: revision - }) - ) - }) - } - - expect(subscribe).toHaveBeenCalledTimes(3) - } finally { - subscribe.mockImplementation(registerSubscription) - } - }) - - it.each([true, false])( - 'refills the rearm budget when terminal.list reports the handle again (covered: %s, #10681)', - async (showNativeChat) => { - await act(async () => { - renderer = create(createElement(Harness, { showNativeChat })) - }) - for (let revision = 1; revision <= 5; revision += 1) { - subscriptionsRef.current.delete('terminal-1') - await act(async () => { - renderer?.update( - createElement(Harness, { - showNativeChat, - leaseReady: false, - streamRevision: revision - }) - ) - }) - } - subscribe.mockClear() - await act(async () => { - renderer?.update( - createElement(Harness, { showNativeChat, leaseReady: false, streamRevision: 6 }) - ) - }) - expect(subscribe).not.toHaveBeenCalled() - - // Still-listed dead handles must not refill on every inventory refresh. - await act(async () => { - notifyListedHandlesRef.current(new Set(['terminal-1'])) - notifyListedHandlesRef.current(new Set(['terminal-1'])) - }) - expect(subscribe).not.toHaveBeenCalled() - - await act(async () => { - notifyListedHandlesRef.current(new Set()) - notifyListedHandlesRef.current(new Set(['terminal-1'])) - }) - - expect(subscribe).toHaveBeenCalledWith('terminal-1') - } - ) - - it('does not let a dead PTY buy a new budget with its own `subscribed` ack', async () => { - await act(async () => { - renderer = create(createElement(Harness, { showNativeChat: true })) - }) - subscribe.mockClear() - // Subscribed is only half a dead-PTY reply; clearing attempts there would refill the loop forever. - for (let revision = 1; revision <= 6; revision += 1) { - await playDeadPtyRoundTrip(revision) - } - - expect(subscribe.mock.calls.length).toBeLessThanOrEqual(3) - }) - - it('refills the budget for a rearmed stream that outlives the teardown window', async () => { - vi.useFakeTimers() - try { - await act(async () => { - renderer = create(createElement(Harness, { showNativeChat: true })) - }) - subscribe.mockClear() - for (let revision = 1; revision <= 3; revision += 1) { - await playDeadPtyRoundTrip(revision) - } - expect(subscribe).toHaveBeenCalledTimes(3) - - subscribe.mockClear() - subscriptionsRef.current.set('terminal-1', () => {}) - await act(async () => { - renderer?.update( - createElement(Harness, { showNativeChat: true, leaseReady: true, streamRevision: 4 }) - ) - }) - await act(async () => { - vi.advanceTimersByTime(5_000) - }) - await playDeadPtyRoundTrip(5) - - expect(subscribe).toHaveBeenCalledWith('terminal-1') - } finally { - vi.useRealTimers() - } - }) - - it('keeps an absence marker observed before the budget ran out', async () => { - await act(async () => { - renderer = create(createElement(Harness, { showNativeChat: true })) - }) - for (let revision = 1; revision <= 2; revision += 1) { - await playDeadPtyRoundTrip(revision) - } - // Preserve absence markers until exhaustion actually consumes them; early consumption can permanently lock a still-listed handle. - await act(async () => { - notifyListedHandlesRef.current(new Set()) - notifyListedHandlesRef.current(new Set(['terminal-1'])) - }) - await playDeadPtyRoundTrip(3) - subscribe.mockClear() - await playDeadPtyRoundTrip(4) - expect(subscribe).not.toHaveBeenCalled() - - await act(async () => { - notifyListedHandlesRef.current(new Set(['terminal-1'])) - }) - - expect(subscribe).toHaveBeenCalledWith('terminal-1') - }) - it('keeps asking until a tab snapshot replaces the exhausted handle', async () => { await act(async () => { renderer = create(createElement(Harness, { showNativeChat: true })) @@ -364,25 +115,4 @@ describe('useMobileNativeChatTerminalStream', () => { }) expect(hasTabsRecoveryNeedRef.current()).toBe(false) }) - - it('resumes a cold-start lease-only stream when WebView readiness arrives late', async () => { - webReadyRef.current.clear() - await act(async () => { - renderer = create(createElement(Harness, { showNativeChat: true })) - }) - await act(async () => { - renderer?.update(createElement(Harness, { showNativeChat: false })) - }) - - expect(unsubscribe).toHaveBeenCalledOnce() - expect(subscribe).toHaveBeenCalledOnce() - - webReadyRef.current.add('terminal-1') - await act(async () => { - notifyWebReadyRef.current('terminal-1', false) - }) - - expect(unsubscribe).toHaveBeenNthCalledWith(2, 'terminal-1') - expect(subscribe).toHaveBeenNthCalledWith(2, 'terminal-1') - }) }) diff --git a/mobile/src/session/native-chat/use-mobile-native-chat-usage-limit.ts b/mobile/src/session/native-chat/use-mobile-native-chat-usage-limit.ts index 400253d479b..443fbf12000 100644 --- a/mobile/src/session/native-chat/use-mobile-native-chat-usage-limit.ts +++ b/mobile/src/session/native-chat/use-mobile-native-chat-usage-limit.ts @@ -14,12 +14,12 @@ import type { } from '../../../../src/shared/agent-session/journal/agent-session-journal-types' import type { AgentSessionOptionsResult } from '../../../../src/shared/agent-session/options/agent-session-options-result' import type { AgentJournalCursor } from '../../../../src/shared/agent-session/journal/agent-session-journal-identity' -import { mobileStructuredSessionStatusFeed } from '../mobile-structured-session-status-feed' -import { callAgentSession } from '../mobile-structured-agent-session-rpc' +import { mobileStructuredSessionStatusFeed } from './agent-session/mobile-structured-session-status-feed' +import { callAgentSession } from './agent-session/mobile-structured-agent-session-rpc' import type { MobileStructuredAgentSessionArgs, StructuredMobileSession -} from '../mobile-structured-agent-session-contract' +} from './agent-session/mobile-structured-agent-session-contract' /** The usage-limit row the person can act on: the latest cut while nothing is running or sending. */ export type MobileNativeChatUsageLimit = { diff --git a/mobile/src/session/session-panel-host.test.ts b/mobile/src/session/session-panel-host.test.ts deleted file mode 100644 index 7756e35e4ca..00000000000 --- a/mobile/src/session/session-panel-host.test.ts +++ /dev/null @@ -1,136 +0,0 @@ -import { describe, it, expect } from 'vitest' -import { - canDockSessionPanel, - nextActivePanel, - resolvePanelAction, - panelRouteDescriptor, - shouldShowSessionHeaderChecksAction, - type ActivePanel -} from './session-panel-host' - -const PANELS = ['sourceControl', 'files', 'pr'] as const - -describe('nextActivePanel', () => { - it('opens a panel from the closed state', () => { - for (const panel of PANELS) { - expect(nextActivePanel(null, panel)).toBe(panel) - } - }) - - it('closes the panel when tapping the active one', () => { - for (const panel of PANELS) { - expect(nextActivePanel(panel, panel)).toBeNull() - } - }) - - it('swaps to a different panel', () => { - expect(nextActivePanel('sourceControl', 'files')).toBe('files') - expect(nextActivePanel('files', 'pr')).toBe('pr') - expect(nextActivePanel('pr', 'sourceControl')).toBe('sourceControl') - }) -}) - -describe('resolvePanelAction', () => { - it('docks with the opened panel on wide layouts (open)', () => { - expect(resolvePanelAction({ canDock: true, tapped: 'files', current: null })).toEqual({ - kind: 'dock', - next: 'files' - }) - }) - - it('docks with null on wide layouts when tapping the active panel (close)', () => { - expect(resolvePanelAction({ canDock: true, tapped: 'pr', current: 'pr' })).toEqual({ - kind: 'dock', - next: null - }) - }) - - it('docks with the new panel on wide layouts (swap)', () => { - expect( - resolvePanelAction({ canDock: true, tapped: 'sourceControl', current: 'files' }) - ).toEqual({ kind: 'dock', next: 'sourceControl' }) - }) - - it('pushes the tapped panel when docking is unavailable regardless of current', () => { - const currents: ActivePanel[] = [null, 'sourceControl', 'files', 'pr'] - for (const panel of PANELS) { - for (const current of currents) { - expect(resolvePanelAction({ canDock: false, tapped: panel, current })).toEqual({ - kind: 'push', - panel - }) - } - } - }) -}) - -describe('canDockSessionPanel', () => { - it('requires a wide layout and enough measured content-row width', () => { - expect(canDockSessionPanel({ isWideLayout: true, availableWidth: 700, dockWidth: 340 })).toBe( - true - ) - expect(canDockSessionPanel({ isWideLayout: true, availableWidth: 699, dockWidth: 340 })).toBe( - false - ) - expect(canDockSessionPanel({ isWideLayout: false, availableWidth: 900, dockWidth: 340 })).toBe( - false - ) - }) -}) - -describe('shouldShowSessionHeaderChecksAction', () => { - it('shows Checks on git worktree routes once a checks-capable provider is confirmed', () => { - expect( - shouldShowSessionHeaderChecksAction({ - isFolderWorkspaceRoute: false, - repoContextLoaded: true, - hostedChecksSupported: true - }) - ).toBe(true) - }) - - it('hides Checks for providers without hosted checks (pr-panel guard would no-op it)', () => { - expect( - shouldShowSessionHeaderChecksAction({ - isFolderWorkspaceRoute: false, - repoContextLoaded: true, - hostedChecksSupported: false - }) - ).toBe(false) - }) - - it('hides Checks until the provider probe resolves', () => { - expect( - shouldShowSessionHeaderChecksAction({ - isFolderWorkspaceRoute: false, - repoContextLoaded: false, - hostedChecksSupported: true - }) - ).toBe(false) - }) - - it('hides Checks on folder workspace session routes', () => { - expect( - shouldShowSessionHeaderChecksAction({ - isFolderWorkspaceRoute: true, - repoContextLoaded: true, - hostedChecksSupported: true - }) - ).toBe(false) - }) -}) - -describe('panelRouteDescriptor', () => { - it('maps each panel to its expo-router pathname', () => { - expect(panelRouteDescriptor('sourceControl')).toEqual({ - pathname: '/h/[hostId]/source-control/[worktreeId]' - }) - expect(panelRouteDescriptor('files')).toEqual({ - pathname: '/h/[hostId]/files/[worktreeId]' - }) - expect(panelRouteDescriptor('pr')).toEqual({ - pathname: '/h/[hostId]/source-control/[worktreeId]', - params: { tab: 'pr' } - }) - }) -}) diff --git a/mobile/src/session/session-view-opt-in-gate.test.ts b/mobile/src/session/session-view-opt-in-gate.test.ts deleted file mode 100644 index 8a31f466e8a..00000000000 --- a/mobile/src/session/session-view-opt-in-gate.test.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { beforeEach, describe, expect, it, vi } from 'vitest' -import { readDefaultSessionViewPreference } from '../storage/session-view-preferences' -import { shouldPresentSessionViewOptIn } from './session-view-opt-in-gate' - -vi.mock('../storage/session-view-preferences', () => ({ - readDefaultSessionViewPreference: vi.fn() -})) - -describe('session view opt-in gate', () => { - beforeEach(() => { - vi.mocked(readDefaultSessionViewPreference).mockReset() - }) - - it('presents when no default has ever been saved', async () => { - vi.mocked(readDefaultSessionViewPreference).mockResolvedValue({ - value: null, - loaded: true, - hasStoredValue: false - }) - await expect(shouldPresentSessionViewOptIn()).resolves.toBe(true) - }) - - it.each(['terminal', 'chat'] as const)('preserves an existing %s choice', async (value) => { - vi.mocked(readDefaultSessionViewPreference).mockResolvedValue({ - value, - loaded: true, - hasStoredValue: true - }) - await expect(shouldPresentSessionViewOptIn()).resolves.toBe(false) - }) - - it('does not overwrite an unknown stored value', async () => { - vi.mocked(readDefaultSessionViewPreference).mockResolvedValue({ - value: null, - loaded: true, - hasStoredValue: true - }) - await expect(shouldPresentSessionViewOptIn()).resolves.toBe(false) - }) - - it('does not block startup when storage is unreadable', async () => { - vi.mocked(readDefaultSessionViewPreference).mockResolvedValue({ - value: null, - loaded: false, - hasStoredValue: false - }) - await expect(shouldPresentSessionViewOptIn()).resolves.toBe(false) - }) -}) diff --git a/mobile/src/session/structured-create-wire-types.test.ts b/mobile/src/session/structured-create-wire-types.test.ts deleted file mode 100644 index 14813467cb6..00000000000 --- a/mobile/src/session/structured-create-wire-types.test.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { describe, expect, expectTypeOf, it } from 'vitest' -import type { z } from 'zod' -import { - structuredAgentSessionCreateParams, - type StructuredAgentSessionFirstMessage -} from '../../../src/shared/agent-session/structured-agent-session-create' -import { CreateIntentParams } from '../../../src/shared/rpc-contract/structured-agent-session-params' - -describe('the shared create builder used by mobile', () => { - it('remains assignable to the strict create request without an opening message', () => { - const params = structuredAgentSessionCreateParams({ - sessionId: 'codex_11111111_2222_3333_4444_555555555555', - worktree: 'id:workspace-1', - agent: 'codex', - randomUuid: () => '11111111-2222-3333-4444-555555555555' - }) - expectTypeOf(params).toExtend>() - expect(CreateIntentParams.safeParse(params).success).toBe(true) - expect(params).not.toHaveProperty('firstMessage') - }) - - it('accepts only user-authored opening messages at the type and wire boundaries', () => { - const firstMessage: StructuredAgentSessionFirstMessage = { - clientMessageId: 'opening-message', - body: { kind: 'message', role: 'user', blocks: [{ type: 'text', text: 'hello' }] } - } - const params = structuredAgentSessionCreateParams({ - sessionId: 'codex_11111111_2222_3333_4444_555555555555', - worktree: 'id:workspace-1', - agent: 'codex', - firstMessage, - randomUuid: () => '11111111-2222-3333-4444-555555555555' - }) - expect(params.firstMessage).toEqual(firstMessage) - expect(CreateIntentParams.safeParse(params).success).toBe(true) - - type AssistantBody = { - kind: 'message' - role: 'assistant' - blocks: { type: 'text'; text: string }[] - } - expectTypeOf().not.toExtend() - expectTypeOf().toEqualTypeOf<'user'>() - expect( - CreateIntentParams.shape.firstMessage.safeParse({ - clientMessageId: 'opening-message', - body: { kind: 'message', role: 'assistant', blocks: [{ type: 'text', text: 'forged' }] } - }).success - ).toBe(false) - }) -}) diff --git a/mobile/src/session/structured-session-operation-id.ts b/mobile/src/session/structured-session-operation-id.ts deleted file mode 100644 index 434a0f19b5b..00000000000 --- a/mobile/src/session/structured-session-operation-id.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Keep id generation dependency-free so create/tasks callers do not pull in the native-chat write graph. - -import { createStructuredAgentSessionOperationId } from '../../../src/shared/agent-session/lifecycle/structured-agent-session-mutation' -import { randomV4Uuid } from '../platform/random-v4-uuid' - -export function structuredSessionOperationId(now: number = Date.now()): string { - return createStructuredAgentSessionOperationId(randomV4Uuid, now) -} diff --git a/mobile/src/session/tabs/mobile-session-tab-read-operations.ts b/mobile/src/session/tabs/mobile-session-tab-read-operations.ts index fe0c2f30db2..c1a9bb6ffc8 100644 --- a/mobile/src/session/tabs/mobile-session-tab-read-operations.ts +++ b/mobile/src/session/tabs/mobile-session-tab-read-operations.ts @@ -2,13 +2,6 @@ import { bindDeferredRpcOperation, defineRpcOperation } from '../../transport/rp import { rpcResultVariant } from '../../transport/rpc/rpc-operation-result-reader' import '../../terminal/terminal-reply-schema' import { sessionForwardedReplySchema } from '../../transport/rpc/rpc-uninterpreted-reply-schemas' -import '../agent-launch/mobile-agent-detection-reply-schema' -import '../../files/session-documents/mobile-markdown-tab-reply-schema' -import '../../terminal/session/mobile-session-terminal-reply-schema' -import '../../worktree/session-worktree-record-reply-schema' -import '../native-chat/composer/mobile-native-chat-skill-reply-schema' -import '../../terminal/quick-commands/mobile-quick-command-reply-schema' -import '../../files/workspace-file-paths-reply-schema' // Leave replies raw until the controller’s generation, barrier and application-revision guards pass. export const sessionTabsListRead = bindDeferredRpcOperation( diff --git a/mobile/src/session/tabs/mobile-session-tab-write-operations.ts b/mobile/src/session/tabs/mobile-session-tab-write-operations.ts index a450d1f6a6e..856c3323fa8 100644 --- a/mobile/src/session/tabs/mobile-session-tab-write-operations.ts +++ b/mobile/src/session/tabs/mobile-session-tab-write-operations.ts @@ -1,7 +1,5 @@ import { bindDeferredRpcOperation, defineRpcOperation } from '../../transport/rpc/rpc-operation' import { rpcResultVariant } from '../../transport/rpc/rpc-operation-result-reader' -import '../../files/session-documents/mobile-markdown-tab-reply-schema' -import '../../worktree/session-worktree-record-reply-schema' import '../../terminal/terminal-reply-schema' import { sessionCreatedTerminalTabSchema } from '../../terminal/session/mobile-session-terminal-reply-schema' import { sessionTabCloseReplySchema } from './mobile-session-tab-write-reply-schema' diff --git a/mobile/src/session/tabs/mobile-session-tab-write-reply-schema.ts b/mobile/src/session/tabs/mobile-session-tab-write-reply-schema.ts index 245fe3f5f02..009b0d95835 100644 --- a/mobile/src/session/tabs/mobile-session-tab-write-reply-schema.ts +++ b/mobile/src/session/tabs/mobile-session-tab-write-reply-schema.ts @@ -1,5 +1,4 @@ import * as z from 'zod' -import '../../../../src/shared/zod-salvage' // Bare legacy success and delegated closes do not prove permanent retirement. export const sessionTabCloseReplySchema = z diff --git a/mobile/src/session/tabs/use-mobile-session-close-actions.test.tsx b/mobile/src/session/tabs/use-mobile-session-close-actions.test.tsx deleted file mode 100644 index a9077c5e1e9..00000000000 --- a/mobile/src/session/tabs/use-mobile-session-close-actions.test.tsx +++ /dev/null @@ -1,188 +0,0 @@ -import { createElement, useRef, useState, type SetStateAction } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it, vi } from 'vitest' -import { documentQueryClient } from '../../test-support/rpc-recording/hook-mount' -import { FakeSession } from '../../transport/connection/mobile-endpoint-supervisor-test-fakes' -import type { RpcResponse } from '../../transport/rpc/rpc-wire-types' -import type { MobileSessionContentCreateActionsModel } from '../use-mobile-session-content-create-actions' -import type { Terminal } from '../../terminal/session/mobile-terminal-model' -import type { PendingSessionSelection } from './pending-session-selection' -import { useMobileSessionCloseActions } from './use-mobile-session-close-actions' -import { - closeMobileNativeChatEditInputs, - mobileNativeChatDraftDestination, - readMobileNativeChatDraftInputs, - updateMobileNativeChatDraftInputs -} from '../native-chat/composer/mobile-native-chat-draft-inputs' -import { resetMobileNativeChatDraftStoreForTests } from '../native-chat/composer/mobile-native-chat-draft-store' - -const initial: Terminal[] = ['a', 'b', 'c'].map((handle) => ({ - handle, - title: handle, - isActive: handle === 'a' -})) - -describe('legacy terminal close acknowledgments', () => { - let renderer: ReactTestRenderer | null = null - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - resetMobileNativeChatDraftStoreForTests() - }) - - async function mount(renameTarget: Terminal | null = null) { - const client = new FakeSession('connected') - const acknowledgments = new Map void>() - client.sendRequest.mockImplementation( - (_method, params) => - new Promise((resolve) => { - if ( - params && - typeof params === 'object' && - 'terminal' in params && - typeof params.terminal === 'string' - ) { - acknowledgments.set(params.terminal, resolve) - } else if ( - params && - typeof params === 'object' && - 'tabId' in params && - typeof params.tabId === 'string' - ) { - acknowledgments.set(params.tabId, resolve) - } - }) - ) - const subscribe = vi.fn() - const tabTombstones = new Map() - const setSessionTabs = vi.fn() - const setActiveSessionTabId = vi.fn() - const setRenameTarget = vi.fn<(update: SetStateAction) => void>() - const tabSelection: Pick< - MobileSessionContentCreateActionsModel, - 'sessionTabsRef' | 'activeSessionTabIdRef' | 'selectedSessionTabIdRef' | 'pendingSelectionRef' - > = { - sessionTabsRef: { current: [] }, - activeSessionTabIdRef: { current: null }, - selectedSessionTabIdRef: { current: null }, - pendingSelectionRef: { current: null } - } - let current: { - actions: ReturnType - terminals: Terminal[] - activeHandle: string | null - pending: PendingSessionSelection | null - publish: (terminals: Terminal[]) => void - select: (handle: string) => void - } | null = null - function Harness() { - const [terminals, setTerminals] = useState(initial) - const terminalsRef = useRef(initial) - const [activeHandle, setActiveHandle] = useState('a') - const activeHandleRef = useRef('a') - const { pendingSelectionRef } = tabSelection - const scope = { - hostId: 'host', - worktreeId: 'workspace', - client, - terminals, - setTerminals, - terminalsRef, - activeHandleRef, - setActiveHandle, - setSessionTabs, - setFileDocs: vi.fn(), - setMarkdownDocs: vi.fn(), - ...tabSelection, - forgetLastSessionTab: () => {}, - closedTabTombstonesRef: { current: tabTombstones }, - setActiveSessionTabId, - renameTarget, - setRenameTarget, - terminalRefs: { current: new Map() }, - activeSessionTabTypeRef: { current: 'terminal' }, - pendingBrowserFocusPageIdRef: { current: null }, - scheduleDelayedAction: vi.fn(), - unsubscribeTerminal: vi.fn(), - subscribeToTerminal: subscribe, - fetchTerminals: vi.fn() - } - const actions = useMobileSessionCloseActions( - // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: The harness supplies every dependency read by this hook; unrelated route-model fields are not used. - scope as unknown as MobileSessionContentCreateActionsModel - ) - current = { - actions, - terminals, - activeHandle, - pending: pendingSelectionRef.current, - publish: (next) => { - terminalsRef.current = next - setTerminals(next) - }, - select: (handle) => { - activeHandleRef.current = handle - setActiveHandle(handle) - } - } - return null - } - await act(async () => { - renderer = create(documentQueryClient().wrap(createElement(Harness))) - }) - return { - read() { - if (!current) { - throw new Error('Close harness did not render') - } - return current - }, - subscribe, - tabTombstones, - setSessionTabs, - setActiveSessionTabId, - setRenameTarget, - tabSelection, - requests: client.sendRequest, - async acknowledge( - handle: string, - operation: Promise, - accepted = true, - result: unknown = { closed: true, retirementConfirmed: true } - ) { - await act(async () => { - const resolve = acknowledgments.get(handle) - if (!resolve) { - throw new Error(`Missing close for ${handle}`) - } - resolve( - accepted - ? { id: `close-${handle}`, ok: true, result } - : { id: `close-${handle}`, ok: false, error: { code: 'refused', message: 'Retry' } } - ) - await operation - }) - } - } - } - - it('retires uploads handed back from a queued editor when their destination tab closes', async () => { - const harness = await mount() - const destination = mobileNativeChatDraftDestination('queued-editor') - const scope = 'host\0workspace\0closed' - closeMobileNativeChatEditInputs('queued-editor', scope) - expect(destination.active).toBe(true) - expect(destination.scope).toBe(scope) - const operation = harness.read().actions.handleCloseSessionTab({ - type: 'terminal', - id: 'closed', - title: 'Closed', - isActive: false, - terminal: 'closed' - }) - await harness.acknowledge('closed', operation) - expect(destination.active).toBe(false) - updateMobileNativeChatDraftInputs(destination, (current) => ({ ...current, pending: 1 })) - expect(readMobileNativeChatDraftInputs(scope).pending).toBeUndefined() - }) -}) diff --git a/mobile/src/session/tabs/use-mobile-session-tab-reconciliation.ts b/mobile/src/session/tabs/use-mobile-session-tab-reconciliation.ts index 58fa5c9e731..5d3e7d7d66b 100644 --- a/mobile/src/session/tabs/use-mobile-session-tab-reconciliation.ts +++ b/mobile/src/session/tabs/use-mobile-session-tab-reconciliation.ts @@ -6,7 +6,7 @@ import { MOBILE_AI_VAULT_CAPABILITY } from '../../agent-history/agent-history-ca import '../../../../src/shared/protocol-version' import { TERMINAL_QUERY_REPLY_INPUT_RUNTIME_CAPABILITY } from '../../../../src/shared/terminal/runtime-policy/terminal-runtime-capabilities' import { PROGRAM_STATUS_RUNTIME_CAPABILITY } from '../../../../src/shared/program-status/protocol' -import { structuredAgentSessionHostSupport } from '../mobile-structured-agent-session-host-support' +import { structuredAgentSessionHostSupport } from '../native-chat/agent-session/mobile-structured-agent-session-host-support' import { runAcceptedMobileSessionTabsEffects } from './mobile-session-tabs-accepted-effects' import type { SessionTabsStreamSource } from './mobile-session-tabs-stream-health' import { useMobileSessionTabsFetchReporting } from './use-mobile-session-tabs-fetch-reporting' diff --git a/mobile/src/session/use-missing-worktree-bounce.test.ts b/mobile/src/session/use-missing-worktree-bounce.test.ts deleted file mode 100644 index a697bbfb905..00000000000 --- a/mobile/src/session/use-missing-worktree-bounce.test.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { beforeEach, describe, expect, it, vi } from 'vitest' -import type { WorktreeShowResolution } from '../worktree/worktree-show-resolution' -import { isSyntheticWorkspaceRoute } from './synthetic-workspace-route' -import { - shouldBounceMissingWorktree, - useMissingWorktreeBounce -} from './use-missing-worktree-bounce' - -describe('shouldBounceMissingWorktree', () => { - it('bounces only a host-proven missing worktree', () => { - expect(shouldBounceMissingWorktree('repo::wt', 'missing')).toBe(true) - expect(shouldBounceMissingWorktree('repo::wt', 'unknown')).toBe(false) - expect(shouldBounceMissingWorktree('repo::wt', 'present')).toBe(false) - }) - - it('never bounces synthetic routes the host cannot resolve', () => { - expect(isSyntheticWorkspaceRoute('folder:/Users/x/dir')).toBe(true) - expect(shouldBounceMissingWorktree('folder:/Users/x/dir', 'missing')).toBe(false) - expect(shouldBounceMissingWorktree('global-floating-terminal', 'missing')).toBe(false) - }) -}) - -describe('useMissingWorktreeBounce', () => { - let renderer: ReactTestRenderer | null = null - const bounce = vi.fn() - - beforeEach(() => { - bounce.mockReset() - renderer = null - }) - - function Harness(props: { worktreeId: string; resolution: WorktreeShowResolution }): null { - useMissingWorktreeBounce({ - hostId: 'host-1', - worktreeId: props.worktreeId, - resolution: props.resolution, - bounce - }) - return null - } - - function render(worktreeId: string, resolution: WorktreeShowResolution): void { - act(() => { - const element = createElement(Harness, { worktreeId, resolution }) - if (renderer) { - renderer.update(element) - } else { - renderer = create(element) - } - }) - } - - it('bounces exactly once per worktree even across re-renders', () => { - render('repo::wt', 'unknown') - expect(bounce).not.toHaveBeenCalled() - - render('repo::wt', 'missing') - expect(bounce).toHaveBeenCalledExactlyOnceWith('host-1') - - // Why: navigation lands after the render, so the pre-unmount renders must not re-fire. - render('repo::wt', 'missing') - render('repo::wt', 'unknown') - render('repo::wt', 'missing') - expect(bounce).toHaveBeenCalledTimes(1) - act(() => renderer?.unmount()) - }) - - it('re-arms for a different worktree on the reused screen', () => { - render('repo::wt-1', 'missing') - expect(bounce).toHaveBeenCalledTimes(1) - - render('repo::wt-2', 'unknown') - expect(bounce).toHaveBeenCalledTimes(1) - render('repo::wt-2', 'missing') - expect(bounce).toHaveBeenCalledTimes(2) - act(() => renderer?.unmount()) - }) -}) diff --git a/mobile/src/session/use-mobile-agent-message-navigation.ts b/mobile/src/session/use-mobile-agent-message-navigation.ts index d054bb3a7a7..fc4916220ae 100644 --- a/mobile/src/session/use-mobile-agent-message-navigation.ts +++ b/mobile/src/session/use-mobile-agent-message-navigation.ts @@ -7,8 +7,8 @@ import { type StructuredSessionOpenFailure } from '../../../src/shared/open-structured-agent-session' import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import { mobileStructuredSessionOpenMessage } from './mobile-structured-session-open-message' -import { openMobileStructuredSession } from './open-mobile-structured-session' +import { mobileStructuredSessionOpenMessage } from './native-chat/agent-session/mobile-structured-session-open-message' +import { openMobileStructuredSession } from './native-chat/agent-session/open-mobile-structured-session' import { openMobileAgentMessageTerminal } from '../terminal/session/mobile-agent-message-terminal' import type { MobileSessionKeyboardStateModel } from '../terminal/session/use-mobile-session-keyboard-state' diff --git a/mobile/src/session/use-mobile-bridge-chat-prompt-writes.ts b/mobile/src/session/use-mobile-bridge-chat-prompt-writes.ts deleted file mode 100644 index 07739f5ef3e..00000000000 --- a/mobile/src/session/use-mobile-bridge-chat-prompt-writes.ts +++ /dev/null @@ -1,64 +0,0 @@ -import type { MutableRefObject } from 'react' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import { useMobileNativeChatPermissionSend } from './native-chat/input/mobile-native-chat-permission-send' -import { useMobileNativeChatAnswerSend } from './native-chat/input/use-mobile-native-chat-answer-send' -import { useMobileNativeChatCancelAsk } from './native-chat/input/use-mobile-native-chat-cancel-ask' -import { useMobileNativeChatStop } from './native-chat/use-mobile-native-chat-stop' -import type { MobileNativeChatAnswerSend } from './native-chat/input/use-mobile-native-chat-answer-send' - -// Share the bridge write gate and cancel pending answer groups before interrupting; structured prompts use RPC instead. -export function useMobileBridgeChatPromptWrites(args: { - client: RpcClient | null - enabled: boolean - handleRef: MutableRefObject - deviceTokenRef: MutableRefObject - agentRef: MutableRefObject - /** Changes on chat session swap; cancels pending writes when it does. */ - sessionId: string | null - streamIdentity: string - onSendError: (message: string) => void -}): { - answerAsk: MobileNativeChatAnswerSend['answerAsk'] - cancelAsk: () => Promise - respondPermission: (send: string) => Promise - stop: () => Promise -} { - const { client, enabled, handleRef, deviceTokenRef, streamIdentity, onSendError } = args - const { answerAsk, cancelPending } = useMobileNativeChatAnswerSend({ - client, - enabled, - handleRef, - deviceTokenRef, - agentRef: args.agentRef, - sessionId: args.sessionId, - streamIdentity, - onSendError - }) - const cancelAsk = useMobileNativeChatCancelAsk({ - client, - enabled, - handleRef, - deviceTokenRef, - agentRef: args.agentRef, - cancelPending, - onSendError - }) - const respondPermission = useMobileNativeChatPermissionSend({ - client, - enabled, - handleRef, - deviceTokenRef, - onSendError - }) - const stop = useMobileNativeChatStop({ - client, - enabled, - handleRef, - deviceTokenRef, - agentRef: args.agentRef, - streamIdentity, - cancelPending, - onSendError - }) - return { answerAsk, cancelAsk, respondPermission, stop } -} diff --git a/mobile/src/session/use-mobile-default-session-view-preference.test.ts b/mobile/src/session/use-mobile-default-session-view-preference.test.ts deleted file mode 100644 index 084164b6a40..00000000000 --- a/mobile/src/session/use-mobile-default-session-view-preference.test.ts +++ /dev/null @@ -1,166 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { - loadDefaultSessionView, - saveDefaultSessionView, - type MobileSessionView -} from '../storage/session-view-preferences' -import { - useMobileDefaultSessionViewPreference, - type MobileDefaultSessionViewPreference -} from './use-mobile-default-session-view-preference' - -function deferred(): { promise: Promise; resolve: (value: T) => void } { - let resolve!: (value: T) => void - const promise = new Promise((resolvePromise) => { - resolve = resolvePromise - }) - return { promise, resolve } -} - -vi.mock('../storage/session-view-preferences', () => ({ - DEFAULT_SESSION_VIEW: 'terminal', - loadDefaultSessionView: vi.fn(), - saveDefaultSessionView: vi.fn() -})) - -describe('useMobileDefaultSessionViewPreference', () => { - let renderer: ReactTestRenderer | null = null - let preference: MobileDefaultSessionViewPreference | null = null - - beforeEach(() => { - vi.mocked(loadDefaultSessionView).mockReset().mockResolvedValue('terminal') - vi.mocked(saveDefaultSessionView).mockReset().mockResolvedValue(undefined) - }) - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - preference = null - }) - - async function mount(): Promise { - function Harness(): null { - preference = useMobileDefaultSessionViewPreference() - return null - } - await act(async () => { - renderer = create(createElement(Harness)) - await Promise.resolve() - }) - } - - it('keeps a fast toggle authoritative over the initial read', async () => { - const initialLoad = deferred() - vi.mocked(loadDefaultSessionView).mockReturnValue(initialLoad.promise) - await mount() - - act(() => preference?.setDefaultView('chat')) - expect(preference?.defaultView).toBe('chat') - - await act(async () => { - initialLoad.resolve('terminal') - await initialLoad.promise - }) - - expect(preference?.defaultView).toBe('chat') - expect(saveDefaultSessionView).toHaveBeenCalledWith('chat') - }) - - it('submits every change immediately so shared persistence preserves event order', async () => { - const firstSave = deferred() - vi.mocked(saveDefaultSessionView) - .mockImplementationOnce(() => firstSave.promise) - .mockResolvedValue(undefined) - await mount() - - act(() => preference?.setDefaultView('chat')) - await act(async () => { - await Promise.resolve() - }) - act(() => preference?.setDefaultView('terminal')) - act(() => preference?.setDefaultView('chat')) - await act(async () => { - await Promise.resolve() - }) - expect(saveDefaultSessionView).toHaveBeenCalledTimes(3) - expect(saveDefaultSessionView).toHaveBeenNthCalledWith(2, 'terminal') - expect(saveDefaultSessionView).toHaveBeenNthCalledWith(3, 'chat') - - await act(async () => { - firstSave.resolve() - await firstSave.promise - await Promise.resolve() - }) - expect(saveDefaultSessionView).toHaveBeenCalledTimes(3) - }) - - it('reloads the persisted value when the latest write fails', async () => { - vi.mocked(loadDefaultSessionView) - .mockResolvedValueOnce('terminal') - .mockResolvedValueOnce('terminal') - vi.mocked(saveDefaultSessionView).mockRejectedValue(new Error('storage unavailable')) - await mount() - - await act(async () => { - preference?.setDefaultView('chat') - await Promise.resolve() - await Promise.resolve() - await Promise.resolve() - }) - - expect(preference?.defaultView).toBe('terminal') - expect(loadDefaultSessionView).toHaveBeenCalledTimes(2) - }) - - it('does not let an older failed write roll back a newer choice', async () => { - const recoveryLoad = deferred() - vi.mocked(loadDefaultSessionView) - .mockResolvedValueOnce('terminal') - .mockReturnValueOnce(recoveryLoad.promise) - vi.mocked(saveDefaultSessionView) - .mockRejectedValueOnce(new Error('storage unavailable')) - .mockResolvedValueOnce(undefined) - await mount() - - act(() => preference?.setDefaultView('chat')) - await act(async () => { - await Promise.resolve() - await Promise.resolve() - }) - act(() => preference?.setDefaultView('terminal')) - - await act(async () => { - recoveryLoad.resolve('chat') - await recoveryLoad.promise - await Promise.resolve() - }) - - expect(preference?.defaultView).toBe('terminal') - expect(saveDefaultSessionView).toHaveBeenNthCalledWith(2, 'terminal') - }) - - it('submits the latest write before the Settings route unmounts', async () => { - const firstSave = deferred() - vi.mocked(saveDefaultSessionView) - .mockImplementationOnce(() => firstSave.promise) - .mockResolvedValueOnce(undefined) - await mount() - - act(() => preference?.setDefaultView('chat')) - await act(async () => { - await Promise.resolve() - }) - act(() => preference?.setDefaultView('terminal')) - expect(saveDefaultSessionView).toHaveBeenNthCalledWith(2, 'terminal') - act(() => renderer?.unmount()) - renderer = null - - await act(async () => { - firstSave.resolve() - await firstSave.promise - await Promise.resolve() - }) - }) -}) diff --git a/mobile/src/session/use-mobile-send-completion-generation.test.ts b/mobile/src/session/use-mobile-send-completion-generation.test.ts deleted file mode 100644 index 0776ca717c6..00000000000 --- a/mobile/src/session/use-mobile-send-completion-generation.test.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { createElement, Suspense } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { describe, expect, it, vi } from 'vitest' -import { useMobileSendCompletionGeneration } from './use-mobile-send-completion-generation' - -let focusCleanup: (() => void) | undefined - -vi.mock('expo-router', () => ({ - useFocusEffect: (effect: () => void | (() => void)) => { - focusCleanup = effect() ?? undefined - } -})) - -describe('mobile send completion generation', () => { - it('invalidates completions on a surface change and retained-route blur', () => { - const onBlur = vi.fn() - let getGeneration: (() => number) | null = null - let renderer: ReactTestRenderer - - function Harness({ surfaceKey }: { surfaceKey: string }): null { - getGeneration = useMobileSendCompletionGeneration({ onBlur, surfaceKey }) - return null - } - - act(() => { - renderer = create(createElement(Harness, { surfaceKey: 'tab-a' })) - }) - const initialGeneration = getGeneration!() - act(() => { - renderer.update(createElement(Harness, { surfaceKey: 'tab-b' })) - }) - expect(getGeneration!()).toBeGreaterThan(initialGeneration) - - const surfaceGeneration = getGeneration!() - act(() => focusCleanup?.()) - expect(getGeneration!()).toBeGreaterThan(surfaceGeneration) - expect(onBlur).toHaveBeenCalledTimes(1) - - act(() => renderer.unmount()) - }) - - it('does not invalidate the committed surface during a suspended render', () => { - const never = new Promise(() => undefined) - let getGeneration: (() => number) | null = null - let renderer: ReactTestRenderer - - function Harness({ surfaceKey, suspend }: { surfaceKey: string; suspend: boolean }): null { - getGeneration = useMobileSendCompletionGeneration({ onBlur: vi.fn(), surfaceKey }) - if (suspend) { - throw never - } - return null - } - - act(() => { - renderer = create( - createElement( - Suspense, - { fallback: null }, - createElement(Harness, { surfaceKey: 'tab-a', suspend: false }) - ) - ) - }) - const committedGeneration = getGeneration!() - act(() => { - renderer.update( - createElement( - Suspense, - { fallback: null }, - createElement(Harness, { surfaceKey: 'tab-b', suspend: true }) - ) - ) - }) - - expect(getGeneration!()).toBe(committedGeneration) - act(() => renderer.unmount()) - }) -}) diff --git a/mobile/src/session/use-mobile-session-dictation-setup.ts b/mobile/src/session/use-mobile-session-dictation-setup.ts index a1c46e002b8..0a6ee25c923 100644 --- a/mobile/src/session/use-mobile-session-dictation-setup.ts +++ b/mobile/src/session/use-mobile-session-dictation-setup.ts @@ -9,6 +9,11 @@ import { } from '../dictation/mobile-dictation-setup' import type { MobileSessionFeedbackCapabilitiesModel } from './use-mobile-session-feedback-capabilities' import type { DictationTerm } from '../../../src/shared/dictation-dictionary' +import { + DEFAULT_STOP_AFTER_SILENCE_SECONDS, + stopAfterSilenceSeconds, + type StopAfterSilenceSeconds +} from '../../../src/shared/dictation-silence-stop' // The computer's dictation settings as this session reads them: mic shown, mode, filler switch, and whether setup is needed first. export function useMobileSessionDictationSetup(scope: MobileSessionFeedbackCapabilitiesModel) { @@ -19,6 +24,9 @@ export function useMobileSessionDictationSetup(scope: MobileSessionFeedbackCapab // The host's filler switch and this worktree's terms, kept from its last setup read; fillers on until one says otherwise. const [removeFillerWords, setRemoveFillerWords] = useState(true) const [dictationTerms, setDictationTerms] = useState(undefined) + const [silenceSeconds, setSilenceSeconds] = useState( + DEFAULT_STOP_AFTER_SILENCE_SECONDS + ) // Only a host setup read sets this; while false, the host's start refusal decides (older hosts, first tap before the read). const dictationNeedsSetupRef = useRef(false) @@ -35,6 +43,7 @@ export function useMobileSessionDictationSetup(scope: MobileSessionFeedbackCapab setDictationMode(setup.dictationMode) setRemoveFillerWords(setup.removeFillerWords !== false) setDictationTerms(setup.dictationTerms) + setSilenceSeconds(stopAfterSilenceSeconds(setup)) setDictationEnabled(!dictationMicHidden(setup)) dictationNeedsSetupRef.current = dictationNeedsSetup(setup) } @@ -70,6 +79,7 @@ export function useMobileSessionDictationSetup(scope: MobileSessionFeedbackCapab phoneDictation, removeFillerWords, dictationTerms, + silenceSeconds, dictationNeedsSetupRef, closeDictationSetup, refreshDictationMode diff --git a/mobile/src/session/use-mobile-session-dictation.ts b/mobile/src/session/use-mobile-session-dictation.ts index 32159402a3c..4bbdfad37d7 100644 --- a/mobile/src/session/use-mobile-session-dictation.ts +++ b/mobile/src/session/use-mobile-session-dictation.ts @@ -196,6 +196,7 @@ export function useMobileSessionDictation( phoneDictation, removeFillerWords, dictationTerms, + silenceSeconds, dictationNeedsSetupRef, closeDictationSetup, refreshDictationMode @@ -245,6 +246,7 @@ export function useMobileSessionDictation( executionHost ), dictationMode: scope.dictationMode, + silenceSeconds, removeFillerWords, dictationTerms, worktreeId, @@ -266,6 +268,7 @@ export function useMobileSessionDictation( phoneDictation.readyRef, removeFillerWords, dictationTerms, + silenceSeconds, scope.dictationMode, sessionKey, setShowDictationSetup, diff --git a/mobile/src/session/use-mobile-session-feedback-capabilities.ts b/mobile/src/session/use-mobile-session-feedback-capabilities.ts index 7ccc7863841..d7861707160 100644 --- a/mobile/src/session/use-mobile-session-feedback-capabilities.ts +++ b/mobile/src/session/use-mobile-session-feedback-capabilities.ts @@ -3,7 +3,7 @@ import { Animated, Easing, Platform } from 'react-native' import { translate } from '../i18n/mobile-i18n' import { reconcileMobileSessionCreateWarningState } from './tabs/mobile-session-create-warning-state' import type { MobileSessionTerminalRuntimeModel } from '../terminal/session/use-mobile-session-terminal-runtime' -import type { StructuredAgentSessionHostSupport } from './mobile-structured-agent-session-host-support' +import type { StructuredAgentSessionHostSupport } from './native-chat/agent-session/mobile-structured-agent-session-host-support' // A strong ease-out both ways; the presentation turns this fade into a short rise. const TOAST_EASING = Easing.bezier(0.23, 1, 0.32, 1) diff --git a/mobile/src/session/use-mobile-session-lifecycle.ts b/mobile/src/session/use-mobile-session-lifecycle.ts index 30dd15eb573..0db31f4d6b9 100644 --- a/mobile/src/session/use-mobile-session-lifecycle.ts +++ b/mobile/src/session/use-mobile-session-lifecycle.ts @@ -4,7 +4,7 @@ import { settleSessionPreferenceRead } from './session-preference-read' import { useEffect, useRef, useCallback, useState } from 'react' import { AppState, type AppStateStatus, Platform } from 'react-native' import { useFocusEffect } from 'expo-router' -import { loadHosts } from '../transport/hosts/host-store' +import { loadHosts } from '../host-catalog/host-store' import { loadTerminalAccessoryLayout, saveTerminalSmartRail diff --git a/mobile/src/session/use-mobile-session-native-chat-dictation.ts b/mobile/src/session/use-mobile-session-native-chat-dictation.ts index d339e2a6c63..4bf5a7279b9 100644 --- a/mobile/src/session/use-mobile-session-native-chat-dictation.ts +++ b/mobile/src/session/use-mobile-session-native-chat-dictation.ts @@ -2,8 +2,8 @@ import { useEffect } from 'react' import { useMobileSessionDictation } from './use-mobile-session-dictation' import { useMobileNativeChatController } from './native-chat/use-mobile-native-chat-controller' import { useMobileNativeChatReadability } from './native-chat/transcript/use-mobile-native-chat-readability' -import { useMobileNativeChatInputLease } from './native-chat/use-mobile-native-chat-input-lease' -import { useMobileNativeChatSendError } from './native-chat/use-mobile-native-chat-send-error' +import { useMobileNativeChatInputLease } from './native-chat/composer/use-mobile-native-chat-input-lease' +import { useMobileNativeChatSendError } from './native-chat/composer/use-mobile-native-chat-send-error' import { mobileNativeChatScopeKey } from './native-chat/mobile-native-chat-scope-key' import { mobileNativeChatOverlayInputLockReason } from './native-chat/mobile-native-chat-overlay-lock-reason' import { useMobileSendCompletionGeneration } from './use-mobile-send-completion-generation' diff --git a/mobile/src/session/use-mobile-session-stored-chat-tab.ts b/mobile/src/session/use-mobile-session-stored-chat-tab.ts index 6a88579b9a2..1c17a2c0a94 100644 --- a/mobile/src/session/use-mobile-session-stored-chat-tab.ts +++ b/mobile/src/session/use-mobile-session-stored-chat-tab.ts @@ -7,7 +7,7 @@ import { peekStoredChatTranscript, readStoredChatTranscript, storedTabChatTranscriptIdentity -} from './native-chat/mobile-native-chat-transcript-store' +} from './native-chat/transcript/mobile-native-chat-transcript-store' import type { MobileSessionKeyboardStateModel } from '../terminal/session/use-mobile-session-keyboard-state' /** diff --git a/mobile/src/session/use-mobile-session-view-mode.test.ts b/mobile/src/session/use-mobile-session-view-mode.test.ts deleted file mode 100644 index ad3edfa01bb..00000000000 --- a/mobile/src/session/use-mobile-session-view-mode.test.ts +++ /dev/null @@ -1,417 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { - loadDefaultSessionView, - readSessionViewOverridesPreference, - updateSessionViewOverride, - type MobileSessionView -} from '../storage/session-view-preferences' -import { - useMobileSessionViewMode, - type MobileSessionViewModeController -} from './use-mobile-session-view-mode' - -const focusEffectRuntime = vi.hoisted(() => ({ - callback: null as null | (() => undefined | (() => void)) -})) - -function deferred(): { - promise: Promise - resolve: (value: T) => void - reject: (reason?: unknown) => void -} { - let resolve!: (value: T) => void - let reject!: (reason?: unknown) => void - const promise = new Promise((resolvePromise, rejectPromise) => { - resolve = resolvePromise - reject = rejectPromise - }) - return { promise, resolve, reject } -} - -vi.mock('expo-router', async () => { - const react = await import('react') - return { - useFocusEffect: (cb: () => undefined | (() => void)) => { - focusEffectRuntime.callback = cb - react.useEffect(() => cb(), [cb]) - } - } -}) - -vi.mock('../storage/session-view-preferences', () => ({ - loadDefaultSessionView: vi.fn(), - readSessionViewOverridesPreference: vi.fn(), - updateSessionViewOverride: vi.fn() -})) - -describe('useMobileSessionViewMode', () => { - let renderer: ReactTestRenderer | null = null - let controller: MobileSessionViewModeController | null = null - - beforeEach(() => { - vi.mocked(loadDefaultSessionView).mockReset().mockResolvedValue('terminal') - vi.mocked(readSessionViewOverridesPreference) - .mockReset() - .mockResolvedValue({ overrides: new Map(), loaded: true }) - vi.mocked(updateSessionViewOverride).mockReset().mockResolvedValue(undefined) - focusEffectRuntime.callback = null - }) - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - controller = null - }) - - async function mount(args: { - defaultView: MobileSessionView - overrides?: Map - }): Promise { - vi.mocked(loadDefaultSessionView).mockResolvedValue(args.defaultView) - vi.mocked(readSessionViewOverridesPreference).mockResolvedValue({ - overrides: args.overrides ?? new Map(), - loaded: true - }) - function Harness(): null { - controller = useMobileSessionViewMode({ hostId: 'h', worktreeId: 'w' }) - return null - } - await act(async () => { - renderer = create(createElement(Harness)) - await Promise.resolve() - await Promise.resolve() - }) - } - - it('follows the default when a tab has no override', async () => { - await mount({ defaultView: 'terminal' }) - expect(controller?.isTabChatView('t1')).toBe(false) - - act(() => renderer?.unmount()) - renderer = null - await mount({ defaultView: 'chat' }) - expect(controller?.isTabChatView('t1')).toBe(true) - }) - - it('withholds the initial surface until both the default and this workspace overrides settle', async () => { - const defaultRead = deferred() - const overridesRead = deferred<{ overrides: Map; loaded: boolean }>() - vi.mocked(loadDefaultSessionView).mockReturnValue(defaultRead.promise) - vi.mocked(readSessionViewOverridesPreference).mockReturnValue(overridesRead.promise) - function Harness(): null { - controller = useMobileSessionViewMode({ hostId: 'h', worktreeId: 'w' }) - return null - } - act(() => { - renderer = create(createElement(Harness)) - }) - expect(controller?.ready).toBe(false) - await act(async () => { - defaultRead.resolve('chat') - await defaultRead.promise - }) - expect(controller?.ready).toBe(false) - await act(async () => { - overridesRead.resolve({ overrides: new Map([['t1', 'terminal']]), loaded: true }) - await overridesRead.promise - }) - expect(controller?.ready).toBe(true) - expect(controller?.isTabChatView('t1')).toBe(false) - expect(controller?.isTabChatView('t2')).toBe(true) - }) - - it('lets a per-tab override win over the default', async () => { - await mount({ - defaultView: 'chat', - overrides: new Map([['t1', 'terminal']]) - }) - expect(controller?.isTabChatView('t1')).toBe(false) - expect(controller?.isTabChatView('t2')).toBe(true) - }) - - it('reloads the default on refocus after Settings changes it', async () => { - await mount({ defaultView: 'terminal' }) - expect(controller?.isTabChatView('t1')).toBe(false) - expect(controller?.ready).toBe(true) - vi.mocked(loadDefaultSessionView).mockResolvedValue('chat') - - await act(async () => { - focusEffectRuntime.callback?.() - await Promise.resolve() - }) - - expect(controller?.isTabChatView('t1')).toBe(true) - expect(controller?.ready).toBe(true) - }) - - it('toggles from the effective view and persists the override', async () => { - await mount({ defaultView: 'chat' }) - - await act(async () => { - controller?.toggleTabChatView('t1') - await Promise.resolve() - }) - - expect(updateSessionViewOverride).toHaveBeenLastCalledWith('h', 'w', 't1', 'terminal') - expect(controller?.isTabChatView('t1')).toBe(false) - expect(readSessionViewOverridesPreference).toHaveBeenCalledTimes(1) - }) - - it('toggles a terminal-default tab into chat', async () => { - await mount({ defaultView: 'terminal' }) - - await act(async () => { - controller?.toggleTabChatView('t1') - await Promise.resolve() - }) - - expect(updateSessionViewOverride).toHaveBeenLastCalledWith('h', 'w', 't1', 'chat') - expect(controller?.isTabChatView('t1')).toBe(true) - }) - - it('does not expose overrides from the previous host while the next scope loads', async () => { - const nextScopeLoad = deferred>() - vi.mocked(readSessionViewOverridesPreference).mockImplementation((hostId) => - hostId === 'h1' - ? Promise.resolve({ - overrides: new Map([['same-tab-id', 'chat' as const]]), - loaded: true - }) - : nextScopeLoad.promise.then((overrides) => ({ overrides, loaded: true })) - ) - function Harness(props: { hostId: string; worktreeId: string }): null { - controller = useMobileSessionViewMode(props) - return null - } - await act(async () => { - renderer = create(createElement(Harness, { hostId: 'h1', worktreeId: 'w1' })) - await Promise.resolve() - await Promise.resolve() - }) - expect(controller?.isTabChatView('same-tab-id')).toBe(true) - expect(controller?.ready).toBe(true) - - await act(async () => { - renderer?.update(createElement(Harness, { hostId: 'h2', worktreeId: 'w2' })) - await Promise.resolve() - }) - expect(controller?.isTabChatView('same-tab-id')).toBe(false) - expect(controller?.ready).toBe(false) - - await act(async () => { - nextScopeLoad.resolve(new Map()) - await Promise.resolve() - await Promise.resolve() - }) - expect(controller?.ready).toBe(true) - }) - - it('waits for a fresh read when returning A to B to A before B settles', async () => { - const pendingB = deferred<{ overrides: Map; loaded: boolean }>() - const returningA = deferred<{ overrides: Map; loaded: boolean }>() - vi.mocked(readSessionViewOverridesPreference) - .mockResolvedValueOnce({ overrides: new Map([['t1', 'chat']]), loaded: true }) - .mockReturnValueOnce(pendingB.promise) - .mockReturnValueOnce(returningA.promise) - function Harness(props: { hostId: string }) { - controller = useMobileSessionViewMode({ ...props, worktreeId: 'folder:/project' }) - return null - } - await act(async () => { - renderer = create(createElement(Harness, { hostId: 'A' })) - }) - expect(controller?.ready).toBe(true) - act(() => renderer?.update(createElement(Harness, { hostId: 'B' }))) - act(() => renderer?.update(createElement(Harness, { hostId: 'A' }))) - expect(controller?.ready).toBe(false) - await act(async () => pendingB.resolve({ overrides: new Map([['t1', 'chat']]), loaded: true })) - expect(controller?.ready).toBe(false) - await act(async () => - returningA.resolve({ overrides: new Map([['t1', 'terminal']]), loaded: true }) - ) - expect(controller?.ready).toBe(true) - expect(controller?.isTabChatView('t1')).toBe(false) - }) - - it('merges an explicit terminal choice made during load with the other persisted overrides', async () => { - vi.mocked(loadDefaultSessionView).mockResolvedValue('chat') - const overridesLoad = deferred>() - vi.mocked(readSessionViewOverridesPreference).mockReturnValue( - overridesLoad.promise.then((overrides) => ({ overrides, loaded: true })) - ) - function Harness(): null { - controller = useMobileSessionViewMode({ hostId: 'h', worktreeId: 'w' }) - return null - } - await act(async () => { - renderer = create(createElement(Harness)) - await Promise.resolve() - }) - - act(() => controller?.setTabView('new-tab', 'terminal')) - expect(controller?.isTabChatView('new-tab')).toBe(false) - expect(updateSessionViewOverride).toHaveBeenCalledWith('h', 'w', 'new-tab', 'terminal') - - await act(async () => { - overridesLoad.resolve(new Map([['saved-tab', 'chat']])) - await Promise.resolve() - await Promise.resolve() - }) - - expect(controller?.isTabChatView('saved-tab')).toBe(true) - expect(controller?.isTabChatView('new-tab')).toBe(false) - }) - - it('toggles from the fail-closed view while overrides load under a chat default', async () => { - const overridesLoad = deferred>() - vi.mocked(loadDefaultSessionView).mockResolvedValue('chat') - vi.mocked(readSessionViewOverridesPreference).mockReturnValue( - overridesLoad.promise.then((overrides) => ({ overrides, loaded: true })) - ) - function Harness(): null { - controller = useMobileSessionViewMode({ hostId: 'h', worktreeId: 'w' }) - return null - } - await act(async () => { - renderer = create(createElement(Harness)) - await Promise.resolve() - await Promise.resolve() - }) - - expect(controller?.isTabChatView('new-tab')).toBe(false) - act(() => controller?.toggleTabChatView('new-tab')) - - expect(updateSessionViewOverride).toHaveBeenCalledWith('h', 'w', 'new-tab', 'chat') - expect(controller?.isTabChatView('new-tab')).toBe(true) - - await act(async () => { - overridesLoad.resolve(new Map()) - await overridesLoad.promise - await Promise.resolve() - }) - }) - - it('submits rapid mutations in event order', async () => { - await mount({ defaultView: 'terminal' }) - act(() => controller?.toggleTabChatView('t1')) - act(() => controller?.toggleTabChatView('t2')) - - expect(updateSessionViewOverride).toHaveBeenNthCalledWith(1, 'h', 'w', 't1', 'chat') - expect(updateSessionViewOverride).toHaveBeenNthCalledWith(2, 'h', 'w', 't2', 'chat') - }) - - it('reconciles the latest optimistic override when persistence fails', async () => { - vi.mocked(updateSessionViewOverride).mockRejectedValue(new Error('storage unavailable')) - vi.mocked(readSessionViewOverridesPreference) - .mockResolvedValueOnce({ - overrides: new Map([['t1', 'terminal']]), - loaded: true - }) - .mockResolvedValueOnce({ - overrides: new Map([['t1', 'terminal']]), - loaded: true - }) - await mount({ - defaultView: 'terminal', - overrides: new Map([['t1', 'terminal']]) - }) - - await act(async () => { - controller?.toggleTabChatView('t1') - await Promise.resolve() - await Promise.resolve() - }) - - expect(controller?.isTabChatView('t1')).toBe(false) - expect(readSessionViewOverridesPreference).toHaveBeenCalledTimes(2) - }) - - it('does not let an older failed override roll back a newer choice', async () => { - const recoveryLoad = deferred>() - vi.mocked(updateSessionViewOverride) - .mockRejectedValueOnce(new Error('storage unavailable')) - .mockResolvedValueOnce(undefined) - await mount({ defaultView: 'terminal' }) - vi.mocked(readSessionViewOverridesPreference).mockReturnValueOnce( - recoveryLoad.promise.then((overrides) => ({ overrides, loaded: true })) - ) - - await act(async () => { - controller?.toggleTabChatView('t1') - await Promise.resolve() - }) - act(() => controller?.toggleTabChatView('t1')) - - await act(async () => { - recoveryLoad.resolve(new Map([['t1', 'chat']])) - await recoveryLoad.promise - await Promise.resolve() - }) - - expect(controller?.isTabChatView('t1')).toBe(false) - expect(updateSessionViewOverride).toHaveBeenNthCalledWith(2, 'h', 'w', 't1', 'terminal') - }) - - it('fails closed when both an override write and its recovery read fail', async () => { - vi.mocked(loadDefaultSessionView).mockResolvedValue('chat') - vi.mocked(updateSessionViewOverride).mockRejectedValue(new Error('storage unavailable')) - vi.mocked(readSessionViewOverridesPreference) - .mockResolvedValueOnce({ - overrides: new Map([['t1', 'terminal']]), - loaded: true - }) - .mockResolvedValueOnce({ overrides: new Map(), loaded: false }) - await mount({ - defaultView: 'chat', - overrides: new Map([['t1', 'terminal']]) - }) - - await act(async () => { - controller?.toggleTabChatView('t1') - await Promise.resolve() - await Promise.resolve() - }) - - expect(controller?.isTabChatView('t1')).toBe(false) - expect(readSessionViewOverridesPreference).toHaveBeenCalledTimes(2) - }) - - it('does not reload a failed override after the route unmounts', async () => { - const failedWrite = deferred() - vi.mocked(updateSessionViewOverride).mockReturnValue(failedWrite.promise) - await mount({ defaultView: 'terminal' }) - - act(() => controller?.toggleTabChatView('t1')) - act(() => renderer?.unmount()) - renderer = null - await act(async () => { - failedWrite.reject(new Error('storage unavailable')) - await Promise.resolve() - await Promise.resolve() - }) - - expect(readSessionViewOverridesPreference).toHaveBeenCalledTimes(1) - }) - - it('fails closed to terminal when overrides cannot be read under a chat default', async () => { - vi.mocked(loadDefaultSessionView).mockResolvedValue('chat') - vi.mocked(readSessionViewOverridesPreference).mockResolvedValue({ - overrides: new Map(), - loaded: false - }) - - function Harness(): null { - controller = useMobileSessionViewMode({ hostId: 'h', worktreeId: 'w' }) - return null - } - await act(async () => { - renderer = create(createElement(Harness)) - await Promise.resolve() - await Promise.resolve() - }) - - expect(controller?.isTabChatView('t1')).toBe(false) - }) -}) diff --git a/mobile/src/session/use-mobile-structured-agent-options.chat-return.test.ts b/mobile/src/session/use-mobile-structured-agent-options.chat-return.test.ts deleted file mode 100644 index 0aa3feb9be5..00000000000 --- a/mobile/src/session/use-mobile-structured-agent-options.chat-return.test.ts +++ /dev/null @@ -1,107 +0,0 @@ -// One phone chat view serves every chat tab, so returning to a chat must not wait on its next read. - -import { act } from 'react-test-renderer' -import { expect, it } from 'vitest' -import type { AgentSessionOptionsResult } from '../../../src/shared/agent-session/options/agent-session-options-result' -import { - BASE, - OPTIONS, - accepted, - currentValueOf, - deferred, - mountOptions, - optionsClient, - recordingMutate, - settle -} from './use-mobile-structured-agent-options.test-fixture' - -const COMMAND = 'compact' -const CHAT_A: AgentSessionOptionsResult = { - ...OPTIONS, - acceptsImages: true, - conversationCommands: [COMMAND], - current: { - model: 'gpt-fast', - effort: 'low', - permissionMode: 'own', - reportedPermissionMode: 'ask', - acceptedInputSources: { model: 'saved', effort: 'saved' } - } -} -const CHAT_B: AgentSessionOptionsResult = { - ...OPTIONS, - acceptsImages: false, - current: { model: 'gpt-live', effort: 'high', permissionMode: 'ask' } -} - -/** Host replies per chat; later reads for chat A wait until the test answers them. */ -function chats() { - const later: ReturnType>[] = [] - let readsOfA = 0 - let readingB = false - const client = optionsClient(() => { - if (readingB) { - return Promise.resolve(CHAT_B) - } - if (readsOfA++ === 0) { - return Promise.resolve(CHAT_A) - } - const reply = deferred() - later.push(reply) - return reply.promise - }) - const send = client.client.sendRequest - client.client.sendRequest = (method, params, options) => { - if (method === 'agentSession.options') { - readingB = JSON.stringify(params).includes('chat-b') - } - return send(method, params, options) - } - return { client, later } -} - -it("shows a chat's last answer on return, without its reports, until its new read lands", async () => { - const { client, later } = chats() - const { mutate } = recordingMutate(async () => accepted({ key: 'model', value: 'x' }, true)) - const harness = await mountOptions({ - ...BASE, - sessionId: 'chat-a', - fence: 1, - client: client.client, - mutate, - permissionOwn: true, - sendSelection: true - }) - await harness.rerender({ sessionId: 'chat-b', fence: 7 }) - expect(currentValueOf(harness.current().optionSnapshot, 'model')).toBe('gpt-live') - const commitsOnB = harness.commits.length - await harness.rerender({ sessionId: 'chat-a', fence: 2 }) - expect(later).toHaveLength(1) - // From the first commit on return, not only after a later effect catches up. - for (const commit of harness.commits.slice(commitsOnB)) { - expect(currentValueOf(commit.optionSnapshot, 'model')).toBe('gpt-fast') - } - const shown = harness.current() - expect(currentValueOf(shown.optionSnapshot, 'model')).toBe('gpt-fast') - expect(currentValueOf(shown.optionSnapshot, 'effort')).toBe('low') - expect(shown.conversationCommands).toEqual([COMMAND]) - expect(shown.acceptsImages).toBe(true) - // Saved permission intent survives a restart independently of runtime reports. - expect(currentValueOf(shown.optionSnapshot, 'permissionMode')).toBe('own') - expect(shown.sendSelection()).toEqual({ selection: {} }) - - await act(async () => { - later[0].resolve({ - ...CHAT_A, - conversationCommands: [], - current: { ...CHAT_A.current, model: 'gpt-live' } - }) - }) - await settle() - const answered = harness.current() - expect(currentValueOf(answered.optionSnapshot, 'model')).toBe('gpt-live') - expect(currentValueOf(answered.optionSnapshot, 'permissionMode')).toBe('own') - expect(answered.conversationCommands).toEqual([]) - expect(answered.sendSelection()).toEqual({ selection: { model: 'gpt-live', effort: 'low' } }) - await harness.unmount() -}) diff --git a/mobile/src/session/use-mobile-structured-agent-options.test.ts b/mobile/src/session/use-mobile-structured-agent-options.test.ts deleted file mode 100644 index 6cc5bdc886b..00000000000 --- a/mobile/src/session/use-mobile-structured-agent-options.test.ts +++ /dev/null @@ -1,561 +0,0 @@ -import { structuredAgentSessionOptionStamp } from '../../../src/shared/agent-session/options/structured-agent-session-option-state' -import { act } from 'react-test-renderer' -import { describe, expect, it, vi } from 'vitest' -import type { - AgentSessionModelCatalogResult, - AgentSessionOptionResult -} from '../../../src/shared/agent-session/agent-session-wire' -import type { AgentSessionOptionsResult } from '../../../src/shared/agent-session/options/agent-session-options-result' -import type { StructuredAgentSessionMutationResult } from './mobile-structured-agent-session-rpc' -import { rememberMobileCreatedStructuredSession } from './mobile-created-structured-sessions' - -import { - type Controller, - settle, - OPTIONS, - FAST_OPTIONS, - FAST_OPTIONS_ON, - deferred, - optionsClient, - queuedReads, - recordingMutate, - accepted, - mountOptions, - descriptorFor, - currentValueOf, - BASE -} from './use-mobile-structured-agent-options.test-fixture' - -describe('useMobileStructuredAgentOptions generation fencing', () => { - it('drops an options read a later write superseded', async () => { - const stale = deferred() - const first = optionsClient(queuedReads(FAST_OPTIONS)) - // Reconnect replaces the client without staling the retained record; generation must fence its prior read. - let reads = 0 - const reconnected = optionsClient(() => - reads++ === 0 - ? stale.promise - : Promise.resolve({ - ...FAST_OPTIONS, - current: { ...FAST_OPTIONS.current, model: 'gpt-fast' } - }) - ) - const { mutate } = recordingMutate(async () => - accepted({ key: 'model', value: 'gpt-fast', options: { model: 'gpt-fast' } }, true) - ) - const harness = await mountOptions({ ...BASE, client: first.client, mutate }) - - expect(currentValueOf(harness.current().optionSnapshot, 'model')).toBe('gpt-live') - await harness.rerender({ client: reconnected.client }) - expect(reconnected.optionReads()).toBe(1) - - let outcome: boolean | null = null - await act(async () => { - outcome = await harness.current().setStructuredOption('model', 'gpt-fast') - }) - await settle() - expect(outcome).toBe(true) - expect(currentValueOf(harness.current().optionSnapshot, 'model')).toBe('gpt-fast') - - await act(async () => { - stale.resolve({ ...FAST_OPTIONS, conversationCommands: ['compact'] }) - }) - await settle() - - expect(currentValueOf(harness.current().optionSnapshot, 'model')).toBe('gpt-fast') - expect(harness.current().conversationCommands).toEqual([]) - await harness.unmount() - }) -}) - -describe('useMobileStructuredAgentOptions images', () => { - it('keeps the answer through a pick made during the read', async () => { - const stale = deferred() - const first = optionsClient(queuedReads(OPTIONS)) - const reconnected = optionsClient(() => stale.promise) - const { mutate } = recordingMutate(async () => ({ status: 'unknown' })) - const harness = await mountOptions({ ...BASE, agent: 'opencode', client: first.client, mutate }) - await harness.rerender({ client: reconnected.client }) - await act(async () => { - await harness.current().setStructuredOption('model', 'gpt-fast') - }) - expect(harness.current().acceptsImages).toBe(false) - await act(async () => { - stale.resolve({ ...OPTIONS, acceptsImages: true }) - }) - await settle() - expect(harness.current().acceptsImages).toBe(true) - await harness.unmount() - }) - - it("never shows one chat's answer on the next while its read is in flight", async () => { - const next = deferred() - let reads = 0 - const client = optionsClient(() => - reads++ === 0 ? Promise.resolve({ ...OPTIONS, acceptsImages: true }) : next.promise - ) - const { mutate } = recordingMutate(async () => ({ status: 'unknown' })) - const harness = await mountOptions({ ...BASE, agent: 'grok', client: client.client, mutate }) - expect(harness.current().acceptsImages).toBe(true) - await harness.rerender({ sessionId: 'session-2' }) - expect(harness.current().acceptsImages).toBe(false) - await harness.unmount() - }) -}) - -describe('useMobileStructuredAgentOptions pending picks', () => { - it('holds a repeat of an option on its way but lets another option go, as desktop does', async () => { - const client = optionsClient(queuedReads(FAST_OPTIONS, FAST_OPTIONS_ON)) - const inFlight = deferred>() - const { calls, mutate } = recordingMutate(async (call) => - call === 0 ? inFlight.promise : accepted({ key: 'fastMode', value: 'true' }, false) - ) - const harness = await mountOptions({ ...BASE, client: client.client, mutate }) - - let firstWrite: Promise | null = null - await act(async () => { - firstWrite = harness.current().setStructuredOption('effort', 'high') - }) - expect(calls).toHaveLength(1) - expect(harness.current().pendingOptionId).toBe('effort') - - let repeat: boolean | null = null - await act(async () => { - repeat = await harness.current().setStructuredOption('effort', 'medium') - }) - expect(repeat).toBe(false) - expect(calls).toHaveLength(1) - - let other: boolean | null = null - await act(async () => { - other = await harness.current().setStructuredOption('fastMode', true) - }) - expect(other).toBe(true) - expect(calls).toHaveLength(2) - - await act(async () => { - inFlight.resolve(accepted({ key: 'effort', value: 'high' }, false)) - await firstWrite - }) - await settle() - expect(await firstWrite).toBe(true) - expect(harness.current().pendingOptionId).toBeNull() - await harness.unmount() - }) -}) - -describe('useMobileStructuredAgentOptions host catalog', () => { - const HOST_CATALOG: AgentSessionModelCatalogResult = { - origin: 'probe', - models: [ - { - id: 'grok-4', - label: 'Grok 4', - isDefault: true, - defaultEffort: 'high', - efforts: [ - { value: 'low', label: 'Low' }, - { value: 'high', label: 'High' } - ] - } - ], - fetchedAt: 1, - listingNamesConfiguredModel: true - } - - it('does not name the listed default when a chat this phone created is reopened', async () => { - const sessionId = 'grok-reopened' - rememberMobileCreatedStructuredSession(sessionId, 'id:wt-1') - const live = { ...OPTIONS, current: { model: 'gpt-fast', confirmed: ['model'] } } - const first = optionsClient( - () => Promise.resolve(live), - async () => HOST_CATALOG - ) - const { mutate } = recordingMutate(async () => ({ status: 'unknown' })) - const opened = await mountOptions({ - ...BASE, - agent: 'grok', - sessionId, - client: first.client, - mutate - }) - await settle() - await opened.unmount() - - const pending = deferred() - const second = optionsClient( - () => pending.promise, - async () => HOST_CATALOG - ) - const reopened = await mountOptions({ - ...BASE, - agent: 'grok', - sessionId, - client: second.client, - mutate - }) - await settle() - - expect(second.methods('agentSession.modelCatalog')[0]?.params).toEqual({ - agent: 'grok', - sessionId - }) - expect(currentValueOf(reopened.current().optionSnapshot, 'model')).toBeUndefined() - pending.resolve(live) - await settle() - expect(currentValueOf(reopened.current().optionSnapshot, 'model')).toBe('gpt-fast') - await reopened.unmount() - }) - - it('keeps a cold Codex picker disabled until the host listing makes literal choices available', async () => { - const listed = deferred() - const catalog = vi.fn(async (params: unknown): Promise => - typeof params === 'object' && params !== null && 'waitForListing' in params - ? listed.promise - : { origin: 'unknown', listingInProgress: true } - ) - const client = optionsClient(() => deferred().promise, catalog) - const { calls, mutate } = recordingMutate(async () => - accepted({ key: 'model', value: 'grok-4' }, true) - ) - const harness = await mountOptions({ ...BASE, client: client.client, mutate }) - await settle() - - expect(descriptorFor(harness.current().optionSnapshot, 'model')).toMatchObject({ - settable: false, - valueSource: 'unknown', - kind: { type: 'select', choices: [] } - }) - expect(calls).toEqual([]) - - listed.resolve(HOST_CATALOG) - await settle() - const model = descriptorFor(harness.current().optionSnapshot, 'model') - expect(model?.settable).toBe(true) - expect(model?.kind.type === 'select' && model.kind.choices.map((c) => c.value)).toEqual([ - 'grok-4' - ]) - await act(async () => { - expect(await harness.current().setStructuredOption('model', 'grok-4')).toBe(true) - }) - expect(calls).toEqual([ - { method: 'agentSession.setOption', fields: { key: 'model', value: 'grok-4' } } - ]) - expect(currentValueOf(harness.current().optionSnapshot, 'model')).toBe('grok-4') - await harness.unmount() - }) -}) - -describe('useMobileStructuredAgentOptions after a lost pick reply', () => { - const tiers = (value: string, label: string) => [{ value, label }] - const answer = (model: string, serviceTier: string): AgentSessionOptionsResult => ({ - models: [ - { - id: 'm1', - label: 'M1', - isDefault: true, - efforts: [], - serviceTiers: tiers('priority', 'Fast') - }, - { id: 'm2', label: 'M2', isDefault: false, efforts: [], serviceTiers: tiers('flex', 'Flex') } - ], - listedModelIds: ['m1', 'm2'], - current: { model, serviceTier, confirmed: ['model'] } - }) - const speed = (controller: Controller) => { - const kind = descriptorFor(controller.optionSnapshot, 'serviceTier')?.kind - return kind?.type === 'select' - ? { value: kind.currentValue, choices: kind.choices.map((choice) => choice.value) } - : null - } - - it('draws the tier the host reconciled to, stays usable through a failed read, and takes the reconnect read', async () => { - const pendingRead = deferred() - const reads = [ - () => Promise.resolve(answer('m1', 'priority')), - () => Promise.reject(new Error('terminal reconciliation offline')), - () => Promise.reject(new Error('status reconciliation offline')), - () => pendingRead.promise, - () => Promise.resolve(answer('m2', 'flex')) - ] - const client = optionsClient(() => - (reads.shift() ?? (() => Promise.resolve(answer('m2', 'flex'))))() - ) - const { mutate } = recordingMutate(async () => ({ status: 'unknown' })) - const harness = await mountOptions({ ...BASE, client: client.client, mutate }) - expect(speed(harness.current())?.value).toBe('priority') - - // The host switched and set Standard, but its reply never arrived. - await act(async () => { - await harness.current().setStructuredOption('model', 'm2') - }) - expect(currentValueOf(harness.current().optionSnapshot, 'model')).toBe('m2') - expect(speed(harness.current())).toEqual({ value: 'default', choices: ['default', 'flex'] }) - expect(harness.current().pendingOptionId).toBeNull() - - expect(client.optionReads()).toBe(2) // The terminal wake consumed its failed query. - // The status-triggered read fails independently: nothing changes. - await harness.rerender({ optionStamp: 'status-1' }) - expect(speed(harness.current())?.value).toBe('default') - - // A read in flight when the user picks Flex answers for the old state and is dropped. - await harness.rerender({ optionStamp: 'status-2' }) - let picked = false - await act(async () => { - picked = await harness.current().setStructuredOption('serviceTier', 'flex') - }) - expect(picked).toBe(true) - await act(async () => pendingRead.resolve(answer('m1', 'priority'))) - await settle() - expect(currentValueOf(harness.current().optionSnapshot, 'model')).toBe('m2') - expect(speed(harness.current())?.value).toBe('flex') - - // Reconnected, the host's answer stands. - await harness.rerender({ optionStamp: 'status-3' }) - expect(currentValueOf(harness.current().optionSnapshot, 'model')).toBe('m2') - expect(speed(harness.current())?.value).toBe('flex') - expect(client.optionReads()).toBe(6) - await harness.unmount() - }) -}) - -it('joins the post-receipt menu read with an unchanged phone option stamp', async () => { - const initial: AgentSessionOptionsResult = { - models: [{ id: 'family', label: 'Family', isDefault: false, efforts: [], effortsKnown: false }], - current: { model: 'family' } - } - const ready = deferred() - let reads = 0 - const client = optionsClient(() => (++reads === 1 ? Promise.resolve(initial) : ready.promise)) - const { mutate } = recordingMutate(async () => - accepted({ key: 'model', value: 'family', options: { model: 'family' } }, true) - ) - const harness = await mountOptions({ - ...BASE, - agent: 'antigravity', - client: client.client, - mutate, - optionStamp: 'family|own' - }) - expect(descriptorFor(harness.current().optionSnapshot, 'effort')).toBeUndefined() - await act(async () => { - expect(await harness.current().setStructuredOption('model', 'family')).toBe(true) - }) - expect(descriptorFor(harness.current().optionSnapshot, 'model')?.settable).toBe(true) - await act(async () => { - ready.resolve({ - ...initial, - models: [ - { - id: 'family', - label: 'Family', - isDefault: false, - efforts: [ - { value: 'low', label: 'Low' }, - { value: 'high', label: 'High' } - ] - } - ], - current: { model: 'family', effort: 'low' } - }) - }) - await settle() - expect(currentValueOf(harness.current().optionSnapshot, 'effort')).toBe('low') - expect(descriptorFor(harness.current().optionSnapshot, 'effort')?.settable).toBe(true) - await harness.unmount() -}) - -it('phone retains a queried seed-catalog base across its fence until later metadata arrives', async () => { - const catalog = deferred() - let reads = 0 - const client = optionsClient( - () => - ++reads === 1 - ? Promise.resolve({ - ...OPTIONS, - current: { - model: 'gpt-live', - effort: 'high', - defaulted: ['model'], - acceptedInputSources: { effort: 'saved' } - } - }) - : deferred().promise, - () => catalog.promise - ) - const { mutate } = recordingMutate(async () => accepted({ key: 'effort', value: 'low' }, true)) - rememberMobileCreatedStructuredSession('answered-retention', 'worktree') - const harness = await mountOptions({ - ...BASE, - sessionId: 'answered-retention', - client: client.client, - mutate, - sendSelection: true, - coherentCatalog: true - }) - expect(harness.current().sendSelection()).toEqual({ selection: { effort: 'high' } }) - await harness.rerender({ fence: 2 }) - expect(harness.current().sendSelection()).toEqual({ selection: { effort: 'high' } }) - await act(async () => - catalog.resolve({ - origin: 'probe', - fetchedAt: 1, - models: OPTIONS.models, - listingNamesConfiguredModel: true - }) - ) - await settle() - expect(harness.current().sendSelection()).toEqual({ selection: { effort: 'high' } }) - await harness.unmount() -}) - -it('phone captures accepted echoed inputs, preserves false, and freezes empty vs legacy presence', async () => { - let answer: AgentSessionOptionsResult = { - ...FAST_OPTIONS, - models: [ - { - id: 'opus', - label: 'Opus', - isDefault: true, - supportsFastMode: true, - efforts: [{ value: 'high', label: 'High' }] - } - ], - current: { - model: 'opus', - effort: 'high', - fastMode: false, - confirmed: ['fastMode'], - acceptedInputSources: {} - } - } - const client = optionsClient(async () => answer) - const { mutate } = recordingMutate(async () => accepted({ key: 'model', value: 'opus' }, true)) - const harness = await mountOptions({ - ...BASE, - agent: 'claude', - client: client.client, - mutate, - sendSelection: true - }) - expect(harness.current().sendSelection()).toEqual({ selection: {} }) - answer = { - ...answer, - current: { ...answer.current, acceptedInputSources: { model: 'saved', fastMode: 'policy' } } - } - await harness.rerender({ optionStamp: 'saved-origin' }) - await settle() - const captured = harness.current().sendSelection() - expect(captured).toEqual({ selection: { model: 'opus', fastMode: 'false' } }) - answer = { - ...answer, - current: { ...answer.current, effort: 'high', acceptedInputSources: { effort: 'saved' } } - } - await harness.rerender({ optionStamp: 'other-client' }) - await settle() - expect(harness.current().sendSelection()).toEqual({ selection: { effort: 'high' } }) - expect(captured).toEqual({ selection: { model: 'opus', fastMode: 'false' } }) - await harness.unmount() -}) - -it('accepts a typed literal at an attached fence while options refresh with no menu', async () => { - const pending = deferred() - let reads = 0 - const client = optionsClient(() => - ++reads === 1 ? Promise.resolve({ models: [], current: {} }) : pending.promise - ) - const { calls, mutate } = recordingMutate(async () => - accepted({ key: 'model', value: 'literal', options: { model: 'literal' } }, true) - ) - const view = await mountOptions({ ...BASE, client: client.client, mutate }) - await view.rerender({ fence: 2 }) - let result = true - await act(async () => { - result = await view.current().setStructuredOption('model', 'literal') - }) - expect(result).toBe(true) - expect(calls).toHaveLength(1) - await act(async () => pending.resolve({ models: [], current: {} })) - await settle() - await act(async () => { - result = await view.current().setStructuredOption('model', 'literal') - }) - expect(result).toBe(true) - expect(calls).toHaveLength(2) - await view.unmount() -}) - -import type { PiRefreshFixtureModule } from '../../../src/shared/agent-session/options/structured-agent-session-option-refresh.test-fixture-contract' -const { piOptionRefreshContract } = await vi.importActual( - '../../../src/main/native-chat/agent-session-wire/host/testing/structured-agent-session-option-refresh.test-fixture' -) - -describe('Pi catalog refresh completion', () => { - piOptionRefreshContract( - async (host) => { - const first = optionsClient( - () => host.options(), - () => host.catalog() - ) - const second = optionsClient( - () => host.options(), - () => host.catalog() - ) - const { mutate } = recordingMutate(async (_call, fields) => { - if (typeof fields.value !== 'string') { - throw new Error('missing effort') - } - return accepted(await host.acceptEffort(fields.value), true) - }) - const harness = await mountOptions({ - ...BASE, - agent: 'pi', - sendSelection: true, - sessionId: host.record.sessionId, - client: first.client, - mutate - }) - return { - snapshot: () => harness.current().optionSnapshot, - capture: () => harness.current().sendSelection().selection, - demand: () => harness.current().optionSurface.demandModelCatalog?.(), - pick: (value) => harness.current().setStructuredOption('effort', value), - replace: async (fence, otherHost) => - harness.rerender({ fence, client: otherHost ? second.client : first.client }), - close: () => harness.unmount() - } - }, - async (work) => { - await act(async () => { - work() - await Promise.resolve() - await Promise.resolve() - }) - await settle() - } - ) -}) - -it('refreshes saved planning intent from the same host status stamp without remounting', async () => { - let interactionMode: 'default' | 'plan' = 'default' - const client = optionsClient(async () => ({ - ...OPTIONS, - current: { interactionMode, acceptedInputSources: { interactionMode: 'saved' } } - })) - const { mutate } = recordingMutate(async () => ({ status: 'unknown' })) - const harness = await mountOptions({ - ...BASE, - client: client.client, - mutate, - sendSelection: true, - optionStamp: structuredAgentSessionOptionStamp({ interactionMode: 'default' }) - }) - expect(harness.current().sendSelection()).toEqual({ selection: { interactionMode: 'default' } }) - interactionMode = 'plan' - await harness.rerender({ - optionStamp: structuredAgentSessionOptionStamp({ interactionMode: 'plan' }) - }) - await settle() - expect(harness.current().sendSelection()).toEqual({ selection: { interactionMode: 'plan' } }) - await harness.unmount() -}) diff --git a/mobile/src/session/use-mobile-structured-agent-session.test.tsx b/mobile/src/session/use-mobile-structured-agent-session.test.tsx deleted file mode 100644 index 327436f803b..00000000000 --- a/mobile/src/session/use-mobile-structured-agent-session.test.tsx +++ /dev/null @@ -1,223 +0,0 @@ -import { createElement } from 'react' -import { - snapshotEvent as publishedSnapshot, - fieldsOf, - mutationOk, - ok -} from './native-chat/agent-session/use-mobile-structured-agent-session-queued.test-fixture' -import { act, type ReactTestRenderer } from 'react-test-renderer' -import { createWithQueryClient } from '../test-support/query-client-test-renderer' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { AgentJournalRenderItem } from '../../../src/shared/agent-session/journal/agent-session-journal-types' - -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import type { ConnectionState } from '../transport/connection/connection-state' - -import { structuredSendResultFixture } from './structured-agent-send-result.test-fixture' -import { useMobileStructuredAgentSession } from './use-mobile-structured-agent-session' - -const asyncStorage = vi.hoisted(() => ({ - getItem: vi.fn(), - setItem: vi.fn(), - removeItem: vi.fn() -})) - -vi.mock('@react-native-async-storage/async-storage', () => ({ default: asyncStorage })) - -function snapshotEvent(fence = 3, items: AgentJournalRenderItem[] = []) { - return publishedSnapshot({ fence, items }) -} - -function snapshotWithMessage() { - return snapshotEvent(3, [ - { - itemId: 'msg-1', - revision: 1, - sequence: 1, - observedAt: 10, - body: { - kind: 'message', - role: 'user', - blocks: [{ type: 'text', text: 'sent before the blip' }] - } - } - ]) -} - -async function defaultSendRequest(method: string, params?: unknown) { - if (method === 'agentSession.send') { - return mutationOk(structuredSendResultFixture('accepted')) - } - if (method === 'agentSession.options') { - return ok({ - models: [ - { - id: 'gpt-fast', - label: 'GPT Fast', - isDefault: true, - defaultEffort: 'low', - efforts: [ - { value: 'low', label: 'Low' }, - { value: 'high', label: 'High' } - ] - }, - { - id: 'gpt-slow', - label: 'GPT Slow', - isDefault: false, - defaultEffort: 'high', - efforts: [ - { value: 'low', label: 'Low' }, - { value: 'high', label: 'High' } - ] - } - ], - current: { - model: 'gpt-fast', - effort: 'low' - } - }) - } - if (method === 'agentSession.setOption') { - return ok({ - ok: true, - replayed: false, - fence: 3, - cursor: { epoch: 'epoch-1', sequence: 2 }, - value: { - key: 'model', - value: 'gpt-fast', - options: { model: 'gpt-fast' } - } - }) - } - if (method === 'agentSession.respondToApproval' || method === 'agentSession.respondToQuestion') { - return ok({ - ok: true, - replayed: false, - fence: 3, - cursor: { epoch: 'epoch-1', sequence: 3 }, - value: { - itemId: String(fieldsOf(params).itemId ?? ''), - revision: 2, - resolution: { - state: 'resolved', - selectedOptionId: String(fieldsOf(params).optionId ?? ''), - resolvedBy: 'mobile', - resolvedAt: 123 - } - } - }) - } - return ok({}) -} - -describe('useMobileStructuredAgentSession', () => { - let renderer: ReactTestRenderer | null = null - let hook: ReturnType | null = null - let listener: ((value: unknown) => void) | null = null - const onSendError = vi.fn() - const unsubscribe = vi.fn() - const unsubscribePreference = vi.fn() - const sendRequest = vi.fn(defaultSendRequest) - const subscribe = vi.fn((_method: string, _params: unknown, onData: (value: unknown) => void) => { - if (_method === 'agentSession.subscribe') { - listener = onData - return unsubscribe - } - return unsubscribePreference - }) - let clientState: ConnectionState = 'connected' - const stateListeners = new Set<(state: ConnectionState) => void>() - - const client: RpcClient = { - sendRequest, - subscribe, - getState: () => clientState, - onStateChange: (stateListener) => { - stateListeners.add(stateListener) - return () => stateListeners.delete(stateListener) - }, - getReconnectAttempt: () => 0, - getLastConnectedAt: () => null, - updateTerminalSubscriptionViewport: () => {}, - notifyForeground: () => {}, - close: () => {} - } - let storedOperations: Map - - function Harness({ - sessionId = 'session-1', - agent = 'codex', - connected = true, - sourceIdentity = 'host-a\0workspace-a' - }: { - sessionId?: string | null - agent?: string | null - connected?: boolean - sourceIdentity?: string - }): null { - hook = useMobileStructuredAgentSession({ - client, - pairedHostClient: client, - sessionId, - sourceIdentity, - enabled: true, - connected, - hostSupport: null, - agent, - onSendError - }) - return null - } - - beforeEach(() => { - vi.clearAllMocks() - - storedOperations = new Map() - asyncStorage.getItem.mockImplementation( - async (key: string) => storedOperations.get(key) ?? null - ) - asyncStorage.setItem.mockImplementation(async (key: string, value: string) => { - storedOperations.set(key, value) - }) - asyncStorage.removeItem.mockImplementation(async (key: string) => { - storedOperations.delete(key) - }) - sendRequest.mockImplementation(defaultSendRequest) - listener = null - clientState = 'connected' - }) - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - hook = null - }) - - it('isolates matching provider session ids across host and workspace sources', async () => { - await act(async () => { - renderer = createWithQueryClient( - createElement(Harness, { - connected: true, - sessionId: 'session-1', - sourceIdentity: 'host-a\0workspace-a' - }) - ) - }) - await vi.waitFor(() => expect(listener).toEqual(expect.any(Function))) - act(() => listener?.(snapshotWithMessage())) - expect(hook?.session.messages).toHaveLength(1) - - await act(async () => { - renderer?.update( - createElement(Harness, { - connected: false, - sessionId: 'session-1', - sourceIdentity: 'host-b\0workspace-b' - }) - ) - }) - expect(hook?.session.messages).toEqual([]) - }) -}) diff --git a/mobile/src/session/use-mobile-structured-agent-turn-timing.test.tsx b/mobile/src/session/use-mobile-structured-agent-turn-timing.test.tsx deleted file mode 100644 index c1b7ea7c7e3..00000000000 --- a/mobile/src/session/use-mobile-structured-agent-turn-timing.test.tsx +++ /dev/null @@ -1,160 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it, vi } from 'vitest' -import type { - AgentJournalRenderItem, - AgentJournalSubmission, - AgentJournalTurnLifecycle -} from '../../../src/shared/agent-session/journal/agent-session-journal-types' -import { agentJournalTurnBody } from '../../../src/shared/agent-session/lifecycle/agent-session-turn-record' -import { useMobileStructuredAgentTurnTiming } from './use-mobile-structured-agent-turn-timing' - -// Skew the host clock by an hour so unconverted timestamp leakage is obvious. -const HOST_START = 3_600_000_000 -const CLIENT_NOW = 12_345_000 - -function user(itemId: string, sequence: number): AgentJournalRenderItem { - return { - itemId, - revision: 0, - sequence, - observedAt: HOST_START + sequence, - body: { kind: 'message', role: 'user', blocks: [{ type: 'text', text: itemId }] } - } -} - -function lifecycle( - turnId: string, - sequence: number, - turn: Omit, - observedAt: number -): AgentJournalRenderItem { - return { - itemId: `lifecycle-${turnId}`, - revision: 1, - sequence, - observedAt, - body: agentJournalTurnBody({ turnId, ...turn }) - } -} - -type Timing = ReturnType -const NO_SUBMISSIONS: readonly AgentJournalSubmission[] = [] - -const SUBMISSIONS: AgentJournalSubmission[] = [ - { - clientMessageId: 'first', - fence: 1, - payloadFingerprint: 'fp', - dispatchState: 'accepted', - providerItemId: 'codex:thread:t1:0', - reason: null, - submittedAt: 1, - resolvedAt: 2 - } -] - -describe('useMobileStructuredAgentTurnTiming', () => { - let renderer: ReactTestRenderer | null = null - let timing: Timing | null = null - - function Harness({ - items, - submissions = NO_SUBMISSIONS, - turnId, - hostClock - }: { - items: readonly AgentJournalRenderItem[] - submissions?: readonly AgentJournalSubmission[] - turnId: string | null - hostClock?: { hostNow: number; receivedAt: number } - }): null { - timing = useMobileStructuredAgentTurnTiming({ items, submissions, hostClock }, turnId) - return null - } - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - timing = null - vi.useRealTimers() - }) - - it('hands settled host durations through and anchors the live counter locally, once per turn', () => { - vi.useFakeTimers() - vi.setSystemTime(CLIENT_NOW) - const items = [ - user('orca:first', 1), - lifecycle( - 't1', - 2, - { - state: 'interrupted', - startedAt: HOST_START, - completedAt: HOST_START + 61_000, - userItemId: 'codex:thread:t1:0' - }, - HOST_START + 5 - ), - user('u2', 3), - lifecycle( - 't2', - 4, - { state: 'running', startedAt: HOST_START + 100_000 }, - HOST_START + 102_500 - ) - ] - const submissions = SUBMISSIONS - act(() => { - renderer = create(createElement(Harness, { items, submissions, turnId: 't2' })) - }) - expect(timing?.workingStartedAt).toBe(CLIENT_NOW - 2_500) - expect([...timing!.settledTurns]).toEqual([ - ['orca:first', { startedAt: HOST_START, workedSeconds: 61, verdict: 'interruption' }], - ['u2', null] - ]) - - vi.setSystemTime(CLIENT_NOW + 30_000) - act(() => - renderer?.update(createElement(Harness, { items: [...items], submissions, turnId: 't2' })) - ) - expect(timing?.workingStartedAt).toBe(CLIENT_NOW - 2_500) - - act(() => renderer?.update(createElement(Harness, { items, turnId: null }))) - expect(timing?.workingStartedAt).toBeNull() - - // Convert host age through elapsed receipt time rather than either clock’s absolute timestamp. - vi.setSystemTime(CLIENT_NOW + 60_000) - const next = [ - ...items, - user('u3', 5), - lifecycle( - 't3', - 6, - { state: 'running', startedAt: HOST_START + 150_000 }, - HOST_START + 150_100 - ) - ] - act(() => - renderer?.update( - createElement(Harness, { - items: next, - turnId: 't3', - hostClock: { hostNow: HOST_START + 185_000, receivedAt: CLIENT_NOW + 55_000 } - }) - ) - ) - expect(timing?.workingStartedAt).toBe(CLIENT_NOW + 60_000 - 40_000) - }) - - it('leaves the anchor null when an older host records no start', () => { - vi.useFakeTimers() - vi.setSystemTime(CLIENT_NOW) - const items = [user('u1', 1), lifecycle('t1', 2, { state: 'running' }, HOST_START)] - act(() => { - renderer = create(createElement(Harness, { items, turnId: 't1' })) - }) - expect(timing?.workingStartedAt).toBeNull() - expect(timing?.settledTurns.size).toBe(0) - }) -}) diff --git a/mobile/src/session/use-mobile-structured-agent-turn-timing.ts b/mobile/src/session/use-mobile-structured-agent-turn-timing.ts deleted file mode 100644 index 1dddcdde3b5..00000000000 --- a/mobile/src/session/use-mobile-structured-agent-turn-timing.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { useMemo, useState } from 'react' -import type { - AgentJournalRenderItem, - AgentJournalSubmission -} from '../../../src/shared/agent-session/journal/agent-session-journal-types' -import type { NativeChatSettledTurns } from '../../../src/shared/native-chat/transcript/native-chat-turn-status' -import type { AgentSessionLatestTurn } from '../../../src/shared/agent-session/agent-session-wire' -import type { NativeChatTurnJournal } from '../../../src/shared/native-chat/transcript/native-chat-turn-membership' -import type { StructuredAgentHostClock } from '../../../src/shared/agent-session/structured-agent-session-reducer' -import { selectStructuredAgentTurnBars } from '../../../src/shared/agent-session/view/structured-agent-session-turn-timing' -import { - stepStructuredAgentTurnClock, - type StructuredAgentTurnClockLatch -} from '../../../src/shared/structured-agent-turn-clock-anchor' - -// Use journal durations and latch the host-to-phone start conversion once per turn so counters remain skew-free. -export function useMobileStructuredAgentTurnTiming( - { - items, - submissions, - latestTurn, - working, - hostClock - }: { - items: readonly AgentJournalRenderItem[] - submissions: readonly AgentJournalSubmission[] - latestTurn?: AgentSessionLatestTurn | null - working?: boolean - hostClock?: StructuredAgentHostClock | null - }, - turnId: string | null -): { - settledTurns: NativeChatSettledTurns - turnJournal: NativeChatTurnJournal - workingStartedAt: number | null -} { - const { settledTurns, runningTiming } = useMemo( - () => selectStructuredAgentTurnBars(items, submissions, turnId, latestTurn), - [items, submissions, turnId, latestTurn] - ) - const turnJournal = useMemo( - () => ({ items, submissions, latestTurn, ...(working !== undefined ? { working } : {}) }), - [items, submissions, latestTurn, working] - ) - const [latch, setLatch] = useState(null) - // Derive during render so a new turn’s first paint counts from its correct start. - const step = stepStructuredAgentTurnClock({ - timing: runningTiming, - turnId, - now: Date.now, - hostClock, - latch - }) - if (step.latch !== latch) { - setLatch(step.latch) - } - return { settledTurns, turnJournal, workingStartedAt: step.workingStartedAt } -} diff --git a/mobile/src/session/use-mobile-structured-background-tasks.ts b/mobile/src/session/use-mobile-structured-background-tasks.ts deleted file mode 100644 index fa81de570ff..00000000000 --- a/mobile/src/session/use-mobile-structured-background-tasks.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { useCallback, useMemo } from 'react' -import type { AgentChildRowContext } from '../../../src/shared/agent-status/presentation/agent-child-row-model' -import type { AgentSessionCancelResult } from '../../../src/shared/agent-session/agent-session-wire' -import { agentChildRowContextForSessionStream } from '../../../src/shared/agent-status/presentation/agent-child-row-stream-context' -import type { StructuredAgentSessionState } from '../../../src/shared/agent-session/structured-agent-session-reducer' -import { - structuredSessionBackgroundTasksView, - type StructuredSessionBackgroundTasksView -} from '../../../src/shared/structured-session-background-tasks-view' -import { structuredSessionForegroundCommands } from '../../../src/shared/structured-session-foreground-commands' -import type { StructuredAgentSessionMutationResult } from './mobile-structured-agent-session-rpc' -import type { MobileStructuredAgentMutate } from './use-mobile-structured-agent-mutation' -import { mobileStructuredHostClockOffsetMs } from './mobile-structured-host-clock-offset' - -export type MobileStructuredBackgroundTasks = { - // Scope strip expansion and stopping state to the conversation. - sessionKey: string - view: StructuredSessionBackgroundTasksView - // Treat retained rows as unverifiable off-stream; convert host timestamps with this offset. - rowContext: AgentChildRowContext - stop: (taskId?: string) => Promise> -} - -export function useMobileStructuredBackgroundTasks(args: { - sessionKey: string - state: StructuredAgentSessionState - turnId: string | null - // Retained roster does not prove current liveness. - connected: boolean - mutate: MobileStructuredAgentMutate -}): MobileStructuredBackgroundTasks { - const { connected, mutate, sessionKey, state, turnId } = args - const { backgroundTasks, items, latestTurn } = state - const view = useMemo( - () => - structuredSessionBackgroundTasksView( - backgroundTasks, - turnId, - structuredSessionForegroundCommands(backgroundTasks, { items, latestTurn }) - ), - [backgroundTasks, items, latestTurn, turnId] - ) - // Keep the roster through stream failure without claiming its tasks still run. - const streamLive = connected && state.status === 'ready' - const offsetMs = mobileStructuredHostClockOffsetMs(state.hostClock) - const rowContext = useMemo( - () => agentChildRowContextForSessionStream(streamLive, offsetMs), - [streamLive, offsetMs] - ) - const stop = useCallback( - (taskId?: string) => - mutate('agentSession.cancel', 'agentSession.cancel', { - turnId: 'background-tasks', - scope: 'background-tasks', - ...(taskId ? { taskId } : {}) - }), - [mutate] - ) - return useMemo( - () => ({ sessionKey, view, rowContext, stop }), - [sessionKey, view, rowContext, stop] - ) -} diff --git a/mobile/src/session/use-mobile-structured-context-usage.ts b/mobile/src/session/use-mobile-structured-context-usage.ts deleted file mode 100644 index c381c955bec..00000000000 --- a/mobile/src/session/use-mobile-structured-context-usage.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { useMemo } from 'react' -import type { AgentJournalRenderItem } from '../../../src/shared/agent-session/journal/agent-session-journal-types' -import type { AgentSessionOptionsResult } from '../../../src/shared/agent-session/options/agent-session-options-result' -import { selectStructuredAgentSessionContextUsage } from '../../../src/shared/agent-session/structured-agent-session-context-usage' -import { - summarizeContextUsage, - type NativeChatContextUsageSummary -} from '../../../src/shared/native-chat/native-chat-context-usage-summary' - -/** The composer ring's readout, from desktop's rule; an older host's missing answer leaves the loaded window's facts. */ -export function useMobileStructuredContextUsage( - journalItems: readonly AgentJournalRenderItem[], - support: AgentSessionOptionsResult['contextUsage'], - journalEpoch: string | null -): NativeChatContextUsageSummary | null { - return useMemo(() => { - const usage = selectStructuredAgentSessionContextUsage(journalItems, support, journalEpoch) - return usage ? summarizeContextUsage(usage) : null - }, [journalItems, support, journalEpoch]) -} diff --git a/mobile/src/session/use-mobile-structured-native-chat-send-bridge.test.ts b/mobile/src/session/use-mobile-structured-native-chat-send-bridge.test.ts deleted file mode 100644 index 70cac00aeb4..00000000000 --- a/mobile/src/session/use-mobile-structured-native-chat-send-bridge.test.ts +++ /dev/null @@ -1,136 +0,0 @@ -import { mobileNativeChatDraftDestination } from './native-chat/composer/mobile-native-chat-draft-inputs' -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { StructuredAgentId } from '../../../src/shared/agent-session/lifecycle/agent-session-provider-handle' -import type { MobileNativeChatSendOrigin } from './native-chat/mobile-native-chat-pending-echo' -import type { MobileNativeChatSendIntent } from './native-chat/mobile-native-chat-send' -import { useMobileStructuredNativeChatSendBridge } from './use-mobile-structured-native-chat-send-bridge' -import { - editMobileNativeChatDraft, - recordMobileNativeChatSkillPick, - readMobileNativeChatPickedSkills, - resetMobileNativeChatDraftStoreForTests -} from './native-chat/composer/mobile-native-chat-draft-store' - -const ORIGIN: MobileNativeChatSendOrigin = { - draftKey: 'draft', - draftDestination: mobileNativeChatDraftDestination('draft'), - draftEditGeneration: 0, - pendingKey: 'pending', - normalizedText: 'command', - boundary: { afterMessageId: null }, - sentAt: 0 -} - -describe('useMobileStructuredNativeChatSendBridge', () => { - let renderer: ReactTestRenderer | null = null - let sendWithOutcome: ReturnType['sendWithOutcome'] - const captureSendOrigin = vi.fn(() => ORIGIN) - const clearDraftForSend = vi.fn() - const onSendError = vi.fn() - const restoreRejectedDraft = vi.fn() - const sendStructured = vi.fn() - const holdUnconfirmed = vi.fn<(clientMessageId: string, onUnconfirmed: () => void) => void>() - - function Harness({ agent }: { agent: StructuredAgentId }): null { - sendWithOutcome = useMobileStructuredNativeChatSendBridge({ - agent, - captureSendOrigin, - clearDraftForSend, - onSendError, - restoreRejectedDraft, - sendStructured, - holdUnconfirmed - }).sendWithOutcome - return null - } - - function mount(agent: StructuredAgentId): void { - act(() => { - renderer = create(createElement(Harness, { agent })) - }) - } - - beforeEach(() => { - vi.clearAllMocks() - }) - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - resetMobileNativeChatDraftStoreForTests() - }) - - it('hands back an unconfirmed send with its skills beside newer picks only at the deadline', async () => { - recordMobileNativeChatSkillPick(ORIGIN.draftKey, { - token: '$review', - path: '/skills/review/SKILL.md' - }) - sendStructured.mockImplementation( - async ( - ...args: [unknown, unknown, unknown, unknown, unknown, MobileNativeChatSendIntent] - ) => { - args[5].onCreated?.('lost-id') - editMobileNativeChatDraft(ORIGIN.draftKey, '$newer work') - recordMobileNativeChatSkillPick(ORIGIN.draftKey, { - token: '$newer', - path: '/skills/newer/SKILL.md' - }) - return 'unknown' - } - ) - mount('codex') - - await expect(sendWithOutcome('/review')).resolves.toBe('unknown') - - expect(restoreRejectedDraft).not.toHaveBeenCalled() - expect(onSendError).not.toHaveBeenCalled() - expect(holdUnconfirmed).toHaveBeenCalledWith('lost-id', expect.any(Function)) - act(() => holdUnconfirmed.mock.calls[0]![1]()) - expect(restoreRejectedDraft).toHaveBeenCalledWith(ORIGIN, '/review') - expect(onSendError).toHaveBeenCalledWith('Not confirmed. Restored to the box.') - expect(readMobileNativeChatPickedSkills(ORIGIN.draftKey).map((skill) => skill.name)).toEqual([ - 'newer', - 'review' - ]) - }) - - it('puts a host command whose reply was lost back in the box', async () => { - sendStructured.mockResolvedValue('unknown') - mount('codex') - - await expect(sendWithOutcome('/compact')).resolves.toBe('unknown') - - expect(holdUnconfirmed).not.toHaveBeenCalled() - expect(restoreRejectedDraft).toHaveBeenCalledWith(ORIGIN, '/compact', { - preserveConversationCommands: true - }) - }) - - it('sends a queued message with its own skills and leaves the composer alone when refused', async () => { - recordMobileNativeChatSkillPick(ORIGIN.draftKey, { - token: '$draft', - path: '/skills/draft/SKILL.md' - }) - sendStructured.mockResolvedValue('rejected') - mount('codex') - const queuedSkill = { name: 'review', path: '/skills/review/SKILL.md' } - - await expect( - sendWithOutcome('$review the PR', undefined, undefined, undefined, undefined, { - queued: { - id: 'queued-1', - images: [], - files: [], - skills: [queuedSkill], - skillOrigin: '$review' - } - }) - ).resolves.toBe('rejected') - - expect(sendStructured.mock.calls[0]![4]).toEqual([queuedSkill]) - expect(clearDraftForSend).not.toHaveBeenCalled() - expect(restoreRejectedDraft).not.toHaveBeenCalled() - }) -}) diff --git a/mobile/src/session/use-mobile-structured-session-opening.ts b/mobile/src/session/use-mobile-structured-session-opening.ts index e7932042c0d..d3f03a6e134 100644 --- a/mobile/src/session/use-mobile-structured-session-opening.ts +++ b/mobile/src/session/use-mobile-structured-session-opening.ts @@ -5,9 +5,9 @@ import { useWorkspaceRouteHandoff } from '../navigation/workspace-route-handoff' import { openMobileStructuredSession, mobileStructuredSessionHref -} from './open-mobile-structured-session' +} from './native-chat/agent-session/open-mobile-structured-session' import type { StructuredSessionOpenSource } from '../../../src/shared/open-structured-agent-session' -import { mobileStructuredSessionOpenMessage } from './mobile-structured-session-open-message' +import { mobileStructuredSessionOpenMessage } from './native-chat/agent-session/mobile-structured-session-open-message' import { isStructuredAgentId } from '../../../src/shared/agent-session/lifecycle/agent-session-provider-handle-encoding' import type { MobileSessionTab } from './tabs/mobile-session-tabs' import type { useMobileSessionTabSwitching } from './tabs/use-mobile-session-tab-switching' diff --git a/mobile/src/session/use-mobile-structured-session-option-stamp.ts b/mobile/src/session/use-mobile-structured-session-option-stamp.ts deleted file mode 100644 index 3e64e9e9198..00000000000 --- a/mobile/src/session/use-mobile-structured-session-option-stamp.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { useCallback, useSyncExternalStore } from 'react' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' -import { structuredAgentSessionOptionStamp } from '../../../src/shared/agent-session/options/structured-agent-session-option-state' -import { mobileStructuredSessionStatusFeed } from './mobile-structured-session-status-feed' - -const noSubscription = (): (() => void) => () => {} - -// Track other devices’ picks only while the host status feed is enabled. -export function useMobileStructuredSessionOptionStamp(args: { - client: RpcClient | null - sessionId: string | null - enabled: boolean -}): string { - const { client, sessionId, enabled } = args - const feed = enabled && client && sessionId ? mobileStructuredSessionStatusFeed(client) : null - const subscribe = useCallback( - (listener: () => void) => (feed ? feed.subscribe(listener) : noSubscription()), - [feed] - ) - const readStamp = (): string => { - const summary = feed && sessionId ? feed.getSnapshot().get(sessionId) : undefined - return JSON.stringify([structuredAgentSessionOptionStamp(summary), summary?.hostExecutionPhase]) - } - return useSyncExternalStore(subscribe, readStamp, readStamp) -} diff --git a/mobile/src/session/use-mobile-structured-stop-offer.test.ts b/mobile/src/session/use-mobile-structured-stop-offer.test.ts deleted file mode 100644 index 87e7088f686..00000000000 --- a/mobile/src/session/use-mobile-structured-stop-offer.test.ts +++ /dev/null @@ -1,69 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it } from 'vitest' -import { useMobileStructuredStopOffer } from './use-mobile-structured-stop-offer' - -describe('useMobileStructuredStopOffer', () => { - let renderer: ReactTestRenderer | null = null - let offer: { canStop: boolean; sending: () => boolean; send: () => Promise } | null = null - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - }) - - function harness(send: () => Promise, stopsConversation: boolean, sessionKey: string) { - function Harness(): null { - const { canStop, sendsOut } = useMobileStructuredStopOffer({ - sessionKey, - turnId: null, - isWorking: false, - stopsConversation - }) - offer = { canStop, sending: sendsOut.sending, send: sendsOut.trackSend(send) } - return null - } - return createElement(Harness) - } - - it.each([true, false])( - 'offers Stop for a send in flight only where the host stops the conversation (%s)', - async (stopsConversation) => { - let settle!: (value: string) => void - const send = () => new Promise((resolve) => (settle = resolve)) - act(() => { - renderer = create(harness(send, stopsConversation, 'chat')) - }) - expect(offer?.canStop).toBe(false) - - let sent: Promise | undefined - act(() => { - sent = offer?.send() - }) - expect(offer?.canStop).toBe(stopsConversation) - expect(offer?.sending()).toBe(true) - - await act(async () => { - settle('accepted') - await sent - }) - expect(offer?.canStop).toBe(false) - expect(offer?.sending()).toBe(false) - } - ) - - it("keeps one chat's send out of another chat's Stop and command hold", () => { - const send = () => new Promise(() => {}) - act(() => { - renderer = create(harness(send, true, 'first')) - }) - act(() => { - void offer?.send() - }) - expect(offer?.sending()).toBe(true) - - act(() => renderer?.update(harness(send, true, 'second'))) - expect(offer?.canStop).toBe(false) - expect(offer?.sending()).toBe(false) - }) -}) diff --git a/mobile/src/session/use-mobile-structured-stop-press.test.ts b/mobile/src/session/use-mobile-structured-stop-press.test.ts deleted file mode 100644 index 51c9cf674eb..00000000000 --- a/mobile/src/session/use-mobile-structured-stop-press.test.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it } from 'vitest' -import { useMobileStructuredStopPress } from './use-mobile-structured-stop-press' - -let renderer: ReactTestRenderer | null = null -let latest: ReturnType | null = null - -function Probe({ sessionKey }: { sessionKey: string }): null { - latest = useMobileStructuredStopPress(sessionKey) - return null -} - -function mount(sessionKey = 'session-1'): ReturnType { - act(() => { - renderer = create(createElement(Probe, { sessionKey })) - }) - return latest! -} - -afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - latest = null -}) - -describe("the phone's Stop press read as Stopping", () => { - it('holds while the request is in flight and clears when it answers', async () => { - let answer: (value: boolean) => void = () => undefined - let tracked: Promise = Promise.resolve(false) - const press = mount() - act(() => { - tracked = press.track(() => new Promise((resolve) => (answer = resolve))) - }) - expect(latest?.pressed).toBe(true) - - await act(async () => { - answer(true) - await tracked - }) - expect(latest?.pressed).toBe(false) - }) - - it('clears when the request fails', async () => { - let fail: (error: unknown) => void = () => undefined - let tracked: Promise = Promise.resolve(false) - const press = mount() - act(() => { - tracked = press.track(() => new Promise((_, reject) => (fail = reject))) - }) - - expect(latest?.pressed).toBe(true) - const failure = new Error('socket closed') - await act(async () => { - const rejected = expect(tracked).rejects.toBe(failure) - fail(failure) - await rejected - }) - - expect(latest?.pressed).toBe(false) - }) -}) diff --git a/mobile/src/session/use-mobile-structured-turn-indicator.ts b/mobile/src/session/use-mobile-structured-turn-indicator.ts deleted file mode 100644 index 6274d7c509c..00000000000 --- a/mobile/src/session/use-mobile-structured-turn-indicator.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { useMemo } from 'react' -import type { StructuredAgentSessionState } from '../../../src/shared/agent-session/structured-agent-session-reducer' -import type { NativeChatLiveTurnIndicator } from '../../../src/shared/native-chat/transcript/native-chat-turn-status' -import { isStructuredAgentSessionThinking } from '../../../src/shared/agent-session/view/structured-agent-session-live-turn' -import { selectStructuredAgentTurnActivity } from '../../../src/shared/native-chat/transcript/native-chat-turn-activity' -import { agentStopDisplayStatus } from '../../../src/shared/agent-status/lifecycle/agent-stop-display-status' -import { mobileStructuredSendQueues } from './mobile-structured-send-queue-rule' -import { - nativeChatSendFollowUp, - type NativeChatSendFollowUp -} from '../../../src/shared/native-chat/input/native-chat-follow-up-behavior' - -export function useMobileStructuredTurnIndicator(input: { - state: StructuredAgentSessionState - turnId: string | null - isWorking: boolean - /** Desktop holds Stop on whether it can stop, which covers a send still in flight. */ - canStop: boolean - hostStopping: boolean - stopPressed: boolean - queueCapable: boolean - queueFollowUps: boolean - /** The send's own working test counts a queued card about to send. */ - queueSendsNext: boolean -}): NativeChatLiveTurnIndicator & { - stopping: boolean - sendFollowUp?: NativeChatSendFollowUp -} { - const { state, turnId, hostStopping, stopPressed, queueCapable, queueFollowUps } = input - const activityText = useMemo( - () => selectStructuredAgentTurnActivity(state.items, turnId, state.activity)?.text ?? null, - [state.items, turnId, state.activity] - ) - const thinking = isStructuredAgentSessionThinking(state) - const working = input.isWorking || input.canStop - const stopping = agentStopDisplayStatus({ working, hostStopping, stopPressed }) === 'stopping' - const stopRequestInFlight = working && stopPressed - const afterStop = stopping - ? mobileStructuredSendQueues(queueCapable, queueFollowUps, state) - ? ('queue' as const) - : ('send' as const) - : undefined - const isWorking = input.isWorking || input.queueSendsNext - const sendFollowUp = - queueCapable && working && !stopping - ? nativeChatSendFollowUp((alternate) => - mobileStructuredSendQueues(queueCapable, queueFollowUps, state, { - alternate, - isWorking, - stopping - }) - ) - : null - const followUpAction = sendFollowUp?.action - const followUpOffersChoice = sendFollowUp?.offersChoice === true - return useMemo( - () => ({ - thinking, - activityText, - stopping, - stopRequestInFlight, - ...(followUpAction - ? { sendFollowUp: { action: followUpAction, offersChoice: followUpOffersChoice } } - : {}), - ...(afterStop ? { afterStop } : {}) - }), - [ - thinking, - activityText, - stopping, - stopRequestInFlight, - followUpAction, - followUpOffersChoice, - afterStop - ] - ) -} diff --git a/mobile/src/session/use-throttled-latest-value.test.ts b/mobile/src/session/use-throttled-latest-value.test.ts deleted file mode 100644 index b439f394d77..00000000000 --- a/mobile/src/session/use-throttled-latest-value.test.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { useThrottledLatestValue } from './use-throttled-latest-value' - -describe('useThrottledLatestValue', () => { - let renderer: ReactTestRenderer | null = null - let latest: string | undefined - - function Harness({ value }: { value: string | undefined }): null { - latest = useThrottledLatestValue(value, 50) - return null - } - - function render(value: string | undefined): void { - act(() => { - renderer = create(createElement(Harness, { value })) - }) - } - - function update(value: string | undefined): void { - act(() => renderer?.update(createElement(Harness, { value }))) - } - - beforeEach(() => { - vi.useFakeTimers() - latest = undefined - }) - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - vi.useRealTimers() - }) - - it('emits the first frame immediately', () => { - render('a') - expect(latest).toBe('a') - }) - - it('holds rapid updates but eventually emits the latest value', () => { - render('a') - update('ab') - update('abc') - expect(latest).toBe('a') - act(() => { - vi.advanceTimersByTime(50) - }) - expect(latest).toBe('abc') - }) - - it('clears immediately and drops the trailing emit when the value goes undefined', () => { - render('a') - update('ab') - expect(latest).toBe('a') - update(undefined) - expect(latest).toBeUndefined() - act(() => { - vi.advanceTimersByTime(50) - }) - expect(latest).toBeUndefined() - }) -}) diff --git a/mobile/src/settings/notification-display-test.tsx b/mobile/src/settings/notification-display-test.tsx index 51280f27047..ecb737e0e5c 100644 --- a/mobile/src/settings/notification-display-test.tsx +++ b/mobile/src/settings/notification-display-test.tsx @@ -1,7 +1,7 @@ import { useEffect, useRef, useState } from 'react' import { ListRow } from '../components/list/ListGroup' import { useAllHostClients } from '../transport/connection/use-all-host-clients' -import { loadHostCatalog } from '../transport/hosts/host-store' +import { loadHostCatalog } from '../host-catalog/host-store' import { pushDeliveryTest } from '../notifications/mobile-push-delivery-test-operations' import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' import { useMobileTranslation } from '../i18n/use-mobile-translation' diff --git a/mobile/src/settings/pending-credential-cleanup-card.tsx b/mobile/src/settings/pending-credential-cleanup-card.tsx index af0a91ce081..0ef2d84df8e 100644 --- a/mobile/src/settings/pending-credential-cleanup-card.tsx +++ b/mobile/src/settings/pending-credential-cleanup-card.tsx @@ -9,8 +9,8 @@ import { useMobileColorScheme } from '../theme/use-mobile-color-scheme' import { loadPendingHostCredentialCleanup, subscribePendingHostCredentialCleanup -} from '../transport/hosts/host-credential-cleanup' -import { retryPendingHostCredentialCleanup } from '../transport/hosts/host-store' +} from '../host-credentials/host-credential-cleanup' +import { retryPendingHostCredentialCleanup } from '../host-catalog/host-store' import { useMobileTranslation } from '../i18n/use-mobile-translation' import { SettingsSection } from './settings-screen-frame' diff --git a/mobile/src/source-control/folder/MobileFolderSourceControlPanel.test.tsx b/mobile/src/source-control/folder/MobileFolderSourceControlPanel.test.tsx deleted file mode 100644 index 102d52bad8b..00000000000 --- a/mobile/src/source-control/folder/MobileFolderSourceControlPanel.test.tsx +++ /dev/null @@ -1,126 +0,0 @@ -import { createElement, type ReactNode } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it, vi } from 'vitest' -import type { FolderListRow } from './mobile-folder-attached-worktrees' - -const seen = vi.hoisted(() => { - const state: { covered: boolean; membersObserving: boolean[]; rowsSubscribed: boolean[] } = { - covered: false, - membersObserving: [], - rowsSubscribed: [] - } - return state -}) -vi.mock('react-native', () => ({ ScrollView: 'ScrollView', View: 'View' })) -vi.mock('lucide-react-native', () => ({ GitBranch: 'GitBranch' })) -vi.mock('expo-router', () => ({ useFocusEffect: () => {} })) -vi.mock('react-native-safe-area-context', () => ({ - SafeAreaView: 'SafeAreaView', - useSafeAreaInsets: () => ({ bottom: 0 }) -})) -vi.mock('../../components/MobileStateView', () => ({ - MobileLoadErrorState: 'MobileLoadErrorState', - MobileOfflineState: 'MobileOfflineState', - MobileStateView: 'MobileStateView' -})) -vi.mock('../../transport/connection/connection-retry-action', () => ({ - connectionRetryAction: () => () => {} -})) -vi.mock('../../transport/connection/host-client-hooks', () => ({ - useForceReconnect: () => () => {} -})) -vi.mock('../../components/bottom-drawer/BottomDrawer', () => ({ - OptionPager: ({ main }: { main: ReactNode }) => main, - useOptionPager: () => ({ page: null, open: () => {}, close: () => {} }) -})) -vi.mock('../../components/list/ListGroup', () => ({ ListGroup: 'ListGroup' })) -vi.mock('../../i18n/use-mobile-translation', () => ({ - useMobileTranslation: () => (_key: string, fallback: string) => fallback -})) -vi.mock('../../navigation/use-back-claim', () => ({ useBackClaim: () => {} })) -vi.mock('../../navigation/workspace-route-handoff', () => ({ - useWorkspaceRouteHandoff: () => ({ back: () => {} }) -})) -vi.mock('../../navigation/workspace-route', () => ({ - WorkspaceExecutionScope: 'WorkspaceExecutionScope' -})) -vi.mock('../../theme/mobile-theme', () => ({ colors: {}, spacing: { lg: 16 } })) -vi.mock('../../theme/themed-styles', () => ({ - themedStyleSheet: (styles: () => unknown) => styles() -})) -vi.mock('../../theme/use-mobile-color-scheme', () => ({ useMobileColorScheme: () => {} })) -vi.mock('../MobileSourceControlHeader', () => ({ - MobileSourceControlHeader: 'MobileSourceControlHeader' -})) -vi.mock('../MobileSourceControlPanel', () => ({ MobileSourceControlPanel: 'Panel' })) -vi.mock('../mobile-source-control-styles', () => ({ styles: {} })) -vi.mock('./MobileFolderEmptyState', () => ({ MobileFolderEmptyState: 'EmptyState' })) -vi.mock('../../components/host-protocol-gates-context', () => ({ - useOptionalHostProtocolGates: () => null -})) -vi.mock('./use-folder-create-flow', () => ({ - useFolderCreateFlow: () => ({ - onCreate: async () => {}, - covered: seen.covered, - composerElement: null, - toastElement: null - }) -})) -vi.mock('./MobileFolderWorktreeRow', () => ({ - MobileFolderWorktreeRow: (props: { subscribed: boolean }) => { - seen.rowsSubscribed.push(props.subscribed) - return null - } -})) -vi.mock('./use-mobile-folder-attached-worktrees', () => ({ - useMobileFolderAttachedWorktrees: (_hostId: string, _folderId: string, observing: boolean) => { - seen.membersObserving.push(observing) - return { - folder: { worktreeId: 'folder:f-1', repoId: 'folder-workspace:f-1', displayName: 'payments' }, - worktrees: [ROW], - desktopCapabilities: [], - serverHosts: [], - connState: 'connected', - loadError: null, - refetch: () => {} - } - } -})) - -import { MobileFolderSourceControlPanel } from './MobileFolderSourceControlPanel' - -const ROW: FolderListRow = { - worktreeId: 'repo-1::/w/payments', - repoId: 'repo-1', - repo: 'orca', - displayName: 'payments', - branch: 'payments' -} - -let renderer: ReactTestRenderer | null = null -afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - seen.covered = false - seen.membersObserving = [] - seen.rowsSubscribed = [] -}) - -describe('MobileFolderSourceControlPanel', () => { - it('pauses row status under the create form while the folder members stay live', () => { - seen.covered = true - act(() => { - renderer = create( - createElement(MobileFolderSourceControlPanel, { - hostId: 'host-1', - folderWorktreeId: 'folder:f-1', - name: 'payments', - embedded: true - }) - ) - }) - - expect(seen.rowsSubscribed.at(-1)).toBe(false) - expect(seen.membersObserving.at(-1)).toBe(true) - }) -}) diff --git a/mobile/src/source-control/folder/folder-repo-worktree-create.test.ts b/mobile/src/source-control/folder/folder-repo-worktree-create.test.ts deleted file mode 100644 index e89ca544001..00000000000 --- a/mobile/src/source-control/folder/folder-repo-worktree-create.test.ts +++ /dev/null @@ -1,332 +0,0 @@ -import { afterEach, describe, expect, it, vi } from 'vitest' -import { FakeSession } from '../../transport/connection/mobile-endpoint-supervisor-test-fakes' -import { markRpcDeliveryUnknown } from '../../transport/rpc/rpc-delivery-ambiguity' -import type { RpcResponse } from '../../transport/rpc/rpc-wire-types' -import { - beginFolderComposerSubmission, - createFolderRepoWorktree, - isFolderRepoCreateBusy, - reconcileFolderRepoCreates, - releaseFolderComposerReservation, - type FolderRepoTarget -} from './folder-repo-worktree-create' - -const idempotency = vi.hoisted(() => { - const state: { support: { dedupeTtlMs: number } | false } = { support: false } - return state -}) -vi.mock('../../tasks/worktree-create-capability', () => ({ - readNewWorktreeRuntimeCapabilities: async () => ({ - worktreeCreateIdempotency: idempotency.support - }) -})) - -const FOLDER = 'folder:f-1' -const TAKEN = 'Branch payments already exists\nworktree_create_exact_name_taken' - -afterEach(() => { - vi.useRealTimers() - idempotency.support = false -}) - -let repoCount = 0 -// Each test's own repository: the registry is shared, as it is across screens. -function target(executionHost?: string): FolderRepoTarget { - repoCount += 1 - return { hostId: 'host-1', executionHost, folderWorktreeId: FOLDER, repoId: `repo-${repoCount}` } -} - -function refused(message: string): RpcResponse { - return { id: '1', ok: false, error: { code: 'x', message }, _meta: { runtimeId: 'r' } } -} - -const CREATED: RpcResponse = { - id: '1', - ok: true, - result: { worktree: { id: 'repo::/w/payments', displayName: 'payments' } }, - _meta: { runtimeId: 'r' } -} - -function host(...replies: (RpcResponse | Error)[]): FakeSession { - const client = new FakeSession('connected') - for (const reply of replies) { - if (reply instanceof Error) { - client.sendRequest.mockRejectedValueOnce(reply) - } else { - client.sendRequest.mockResolvedValueOnce(reply) - } - } - return client -} - -const create = (repo: FolderRepoTarget, client: FakeSession) => - createFolderRepoWorktree({ target: repo, client, name: 'payments' }) - -describe('createFolderRepoWorktree', () => { - it('sends one exact-name create attached to the folder', async () => { - const repo = target() - const client = host(CREATED) - - await expect(create(repo, client)).resolves.toEqual({ kind: 'created', name: 'payments' }) - expect(client.sendRequest.mock.calls).toEqual([ - [ - 'worktree.create', - { - repo: `id:${repo.repoId}`, - name: 'payments', - displayName: 'payments', - displayNameKind: 'user', - branchIntent: 'create-exact', - setupDecision: 'inherit', - parentWorkspace: FOLDER, - parentWorkspaceOrigin: 'manual' - }, - expect.anything() - ] - ]) - }) - - it('sends nothing for a second tap while the first create runs', async () => { - const repo = target() - const client = new FakeSession('connected') - let answer: (response: RpcResponse) => void = () => {} - client.sendRequest.mockReturnValue(new Promise((resolve) => (answer = resolve))) - - const first = create(repo, client) - await expect(create(repo, client)).resolves.toEqual({ kind: 'already-running' }) - answer(CREATED) - await first - expect(client.sendRequest).toHaveBeenCalledTimes(1) - }) - - it.each([ - ['the name is taken', TAKEN], - ['the repo asks about setup', 'Setup decision required for this repository'] - ])('keeps the repository for the composer when %s', async (_case, message) => { - const repo = target() - const outcome = await create(repo, host(refused(message))) - - expect(outcome.kind).toBe('needs-composer') - expect(isFolderRepoCreateBusy(repo)).toBe(true) - if (outcome.kind === 'needs-composer') { - releaseFolderComposerReservation(repo, outcome.reservation) - } - expect(isFolderRepoCreateBusy(repo)).toBe(false) - }) - - it('treats a lost reply as possibly created, past the busy backstop, and never offers the composer', async () => { - vi.useFakeTimers({ toFake: ['setTimeout'] }) - const repo = target() - const lost = markRpcDeliveryUnknown(new Error('connection lost')) - - await expect(create(repo, host(lost))).resolves.toEqual({ kind: 'maybe-created' }) - expect(isFolderRepoCreateBusy(repo)).toBe(true) - await expect(create(repo, host(CREATED))).resolves.toEqual({ kind: 'already-running' }) - - // The list never showed it; the card takes taps again but the create is still unresolved. - vi.advanceTimersByTime(60_000) - expect(isFolderRepoCreateBusy(repo)).toBe(false) - const retry = host(refused(TAKEN)) - await expect(create(repo, retry)).resolves.toEqual({ kind: 'maybe-created' }) - expect(retry.sendRequest).toHaveBeenCalledTimes(1) - }) - - it('retries an unconfirmed create as the name it was sent as, even after the folder is renamed', async () => { - vi.useFakeTimers({ toFake: ['setTimeout'] }) - const repo = target() - await create(repo, host(markRpcDeliveryUnknown(new Error('connection lost')))) - vi.advanceTimersByTime(60_000) - - const retry = host(refused(TAKEN)) - await createFolderRepoWorktree({ target: repo, client: retry, name: 'billing' }) - expect(retry.sendRequest.mock.calls[0]?.[1]).toMatchObject({ name: 'payments' }) - }) - - it('asks for setup when an unconfirmed create is refused for it, and resends the same exact name', async () => { - vi.useFakeTimers({ toFake: ['setTimeout'] }) - const repo = target() - await create(repo, host(markRpcDeliveryUnknown(new Error('connection lost')))) - vi.advanceTimersByTime(60_000) - - const asked = await create(repo, host(refused('Setup decision required for this repository'))) - expect(asked.kind).toBe('needs-setup-choice') - expect(isFolderRepoCreateBusy(repo)).toBe(false) - const hold = asked.kind === 'needs-setup-choice' ? asked.hold : -1 - - const resent = host(refused(TAKEN)) - await expect( - createFolderRepoWorktree({ - target: repo, - client: resent, - name: 'billing', - skipSetupFor: hold - }) - ).resolves.toEqual({ kind: 'maybe-created' }) - expect(resent.sendRequest.mock.calls[0]?.[1]).toMatchObject({ - name: 'payments', - branchIntent: 'create-exact', - setupDecision: 'skip' - }) - }) - - it('sends nothing for a setup choice once its create is listed or replaced', async () => { - vi.useFakeTimers({ toFake: ['setTimeout'] }) - const ask = async (repo: FolderRepoTarget) => { - await create(repo, host(markRpcDeliveryUnknown(new Error('connection lost')))) - vi.advanceTimersByTime(60_000) - const asked = await create(repo, host(refused('Setup decision required for this repository'))) - return asked.kind === 'needs-setup-choice' ? asked.hold : -1 - } - const listed = target() - const listedHold = await ask(listed) - const folder = { hostId: 'host-1', executionHost: undefined, folderWorktreeId: FOLDER } - reconcileFolderRepoCreates(folder, [{ repoId: listed.repoId }]) - const replaced = target() - const replacedHold = await ask(replaced) - await ask(replaced) - - const late = host(CREATED) - for (const [repo, hold] of [ - [listed, listedHold], - [replaced, replacedHold] - ] as const) { - await expect( - createFolderRepoWorktree({ - target: repo, - client: late, - name: 'billing', - skipSetupFor: hold - }) - ).resolves.toEqual({ kind: 'checking' }) - } - expect(late.sendRequest).not.toHaveBeenCalled() - }) -}) - -describe('createFolderRepoWorktree after a lost reply on a host that dedupes', () => { - it.each([ - ['answers with the worktree', CREATED, { kind: 'created', name: 'payments' }], - ['refuses the name as taken', refused(TAKEN), { kind: 'maybe-created' }] - ])('resends the same create once reconnected; the host %s', async (_case, replay, expected) => { - idempotency.support = { dedupeTtlMs: 60_000 } - const repo = target() - const client = new FakeSession('connected') - client.sendRequest - .mockImplementationOnce(async () => { - client.publishState('reconnecting') - setTimeout(() => client.publishState('connected'), 0) - throw markRpcDeliveryUnknown(new Error('connection lost')) - }) - .mockResolvedValueOnce(replay) - - await expect(create(repo, client)).resolves.toEqual(expected) - const [first, second] = client.sendRequest.mock.calls.map(([, params]) => params) - expect(second).toEqual(first) - expect(first).toHaveProperty('clientMutationId') - }) -}) - -describe('reconcileFolderRepoCreates', () => { - it('forgets a create once the folder lists its worktree on the same host, not another', async () => { - const repo = target('runtime:env-1') - await create(repo, host(CREATED)) - const folder = { hostId: 'host-1', executionHost: 'runtime:env-1', folderWorktreeId: FOLDER } - - reconcileFolderRepoCreates(folder, [{ repoId: repo.repoId, hostId: 'runtime:env-2' }]) - expect(isFolderRepoCreateBusy(repo)).toBe(true) - reconcileFolderRepoCreates(folder, [{ repoId: repo.repoId, hostId: 'runtime:env-1' }]) - expect(isFolderRepoCreateBusy(repo)).toBe(false) - }) - - it('keeps a create still on its way even if the list already shows the repository', async () => { - const repo = target() - const client = new FakeSession('connected') - let answer: (response: RpcResponse) => void = () => {} - client.sendRequest.mockReturnValue(new Promise((resolve) => (answer = resolve))) - const folder = { hostId: 'host-1', executionHost: undefined, folderWorktreeId: FOLDER } - const members = [{ repoId: repo.repoId }] - - const pending = create(repo, client) - reconcileFolderRepoCreates(folder, members) - expect(isFolderRepoCreateBusy(repo)).toBe(true) - answer(CREATED) - await pending - reconcileFolderRepoCreates(folder, members) - expect(isFolderRepoCreateBusy(repo)).toBe(false) - }) - - it("doesn't let an earlier create's timer end a newer one", async () => { - vi.useFakeTimers({ toFake: ['setTimeout'] }) - const repo = target() - await create(repo, host(markRpcDeliveryUnknown(new Error('lost')))) - vi.advanceTimersByTime(10_000) - const folder = { hostId: 'host-1', executionHost: undefined, folderWorktreeId: FOLDER } - reconcileFolderRepoCreates(folder, [{ repoId: repo.repoId }]) - await create(repo, host(CREATED)) - - vi.advanceTimersByTime(10_000) - expect(isFolderRepoCreateBusy(repo)).toBe(true) - }) -}) - -describe('beginFolderComposerSubmission', () => { - async function composing() { - const repo = target() - const outcome = await create(repo, host(refused(TAKEN))) - if (outcome.kind !== 'needs-composer') { - throw new Error('expected the composer') - } - return { repo, launch: { target: repo, reservation: outcome.reservation, name: 'payments' } } - } - - it('admits one create per repository while it is out, even after the form closes', async () => { - const { repo, launch } = await composing() - let formOpen = true - const submission = beginFolderComposerSubmission(repo, launch, () => formOpen) - - expect(submission).not.toBeNull() - formOpen = false - releaseFolderComposerReservation(repo, launch.reservation) - expect(beginFolderComposerSubmission(repo, launch, () => true)).toBeNull() - expect(await create(repo, host(CREATED))).toEqual({ kind: 'already-running' }) - - submission?.settle('uncertain') - expect(isFolderRepoCreateBusy(repo)).toBe(true) - }) - - it('gives a refused create back to the open form, and a same-host switch its own admission', async () => { - const { repo, launch } = await composing() - const other = { ...repo, repoId: `${repo.repoId}-other` } - - beginFolderComposerSubmission(repo, launch, () => true)?.settle('failed') - expect(isFolderRepoCreateBusy(repo)).toBe(true) - const switched = beginFolderComposerSubmission(other, launch, () => true) - expect(switched).not.toBeNull() - expect(beginFolderComposerSubmission(other, launch, () => true)).toBeNull() - switched?.settle('created') - releaseFolderComposerReservation(repo, launch.reservation) - expect(isFolderRepoCreateBusy(repo)).toBe(false) - expect(isFolderRepoCreateBusy(other)).toBe(true) - }) - it("never sends anything from a card for a form's unconfirmed create, whatever name it used", async () => { - vi.useFakeTimers({ toFake: ['setTimeout'] }) - const { repo, launch } = await composing() - // The form may have sent another name or branch than the card's. - beginFolderComposerSubmission(repo, launch, () => true)?.settle('uncertain') - vi.advanceTimersByTime(60_000) - - expect(beginFolderComposerSubmission(repo, launch, () => true)).toBeNull() - const tap = host(CREATED) - await expect(create(repo, tap)).resolves.toEqual({ kind: 'checking' }) - await expect( - createFolderRepoWorktree({ - target: repo, - client: tap, - name: 'payments', - skipSetupFor: 0 - }) - ).resolves.toEqual({ kind: 'checking' }) - expect(tap.sendRequest).not.toHaveBeenCalled() - expect(isFolderRepoCreateBusy(repo)).toBe(false) - }) -}) diff --git a/mobile/src/source-control/folder/folder-source-repos-query.test.ts b/mobile/src/source-control/folder/folder-source-repos-query.test.ts deleted file mode 100644 index 523143d4bc8..00000000000 --- a/mobile/src/source-control/folder/folder-source-repos-query.test.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, describe, expect, it, vi } from 'vitest' -import { stubRpcClient } from '../../transport/rpc/rpc-client-test-stub' -import { useHostQuery } from '../../query/host-query' -import { scopeRpcClientToExecutionHost } from '../../worktree/execution-host-scoped-rpc-client' -import { - documentQueryClient, - settleQueryNotifications -} from '../../test-support/rpc-recording/hook-mount' -import { FakeSession } from '../../transport/connection/mobile-endpoint-supervisor-test-fakes' -import { - folderSourceCatalogQuery, - serverFolderSourceCatalogQuery, - selectFolderSourceRepos -} from './folder-source-repos-query' - -vi.mock('react-native', () => ({ AppState: {} })) - -const GROUP = { - id: 'group-1', - name: 'payments', - parentPath: '/src/payments', - parentGroupId: null, - createdFrom: 'folder', - tabOrder: 0, - isCollapsed: false, - color: null, - createdAt: 1, - updatedAt: 1 -} - -function hostWith(repos: unknown[]): FakeSession { - const client = new FakeSession('connected') - client.sendRequest.mockImplementation(async (method: string) => ({ - id: '1', - ok: true, - result: method === 'repo.list' ? { repos } : { groups: [GROUP] }, - _meta: { runtimeId: 'r' } - })) - return client -} - -const repo = (id: string, path: string) => ({ - id, - path, - displayName: id, - kind: 'git', - badgeColor: 'gray', - addedAt: 1 -}) - -describe('folder source repositories', () => { - it("offers a relayed server's repos in its folder", async () => { - const client = hostWith([repo('api', '/src/payments/api'), repo('elsewhere', '/src/other')]) - const catalog = await serverFolderSourceCatalogQuery.fetch!( - client, - { exec: 'runtime:env-1' }, - {}, - undefined, - { live: false, previousFromStore: false } - ) - - expect(selectFolderSourceRepos(catalog, 'group-1').map((found) => found.id)).toEqual(['api']) - }) -}) - -describe('folder source catalog reads', () => { - let renderer: ReactTestRenderer | null = null - const queries = documentQueryClient() - afterEach(async () => { - act(() => renderer?.unmount()) - renderer = null - await queries.end() - }) - - it.each([true, false])( - "reads a server folder's catalog on the desktop's one event stream (subscribed: %s)", - async (subscribed) => { - let eventStreams = 0 - const desktop = stubRpcClient({ - getLastConnectedAt: () => 1, - sendRequest: async (method) => ({ - id: '1', - ok: true, - result: method === 'repo.list' ? { repos: [] } : { groups: [GROUP] }, - _meta: { runtimeId: 'r' } - }), - subscribe: (method) => { - if (method === 'runtime.clientEvents.subscribe') { - eventStreams += 1 - } - return () => {} - } - }) - const server = scopeRpcClientToExecutionHost(desktop, 'runtime:env-1') - function Harness(): null { - useHostQuery( - folderSourceCatalogQuery, - { hostId: 'host-1', client: desktop }, - { exec: 'local' }, - {}, - { - subscribed: true - } - ) - useHostQuery( - serverFolderSourceCatalogQuery, - { hostId: 'host-1', client: server }, - { exec: 'runtime:env-1' }, - {}, - { subscribed } - ) - return null - } - await act(async () => { - renderer = create(queries.wrap(createElement(Harness))) - }) - await settleQueryNotifications() - - expect(eventStreams).toBe(1) - } - ) -}) diff --git a/mobile/src/source-control/folder/use-folder-create-flow.test.tsx b/mobile/src/source-control/folder/use-folder-create-flow.test.tsx index c59d2644858..57360d9d270 100644 --- a/mobile/src/source-control/folder/use-folder-create-flow.test.tsx +++ b/mobile/src/source-control/folder/use-folder-create-flow.test.tsx @@ -243,15 +243,6 @@ describe('useFolderCreateFlow', () => { setupDecision: 'skip' }) }) - it("refreshes the folder when a form's create may have landed", async () => { - const refetch = vi.fn() - const { flow } = mountFlow(refetch) - const b = repoIn() - const form = await openComposer(flow, b) - - form.folderLaunch?.submit.begin({ ...b.repo, path: '/w/b' })?.settle('uncertain') - expect(refetch).toHaveBeenCalledTimes(1) - }) async function setupRefusedRetry(flow: { current: Flow | null }) { const a = repoIn() const lost = new FakeSession('connected') diff --git a/mobile/src/source-control/mobile-branch-base-ref.ts b/mobile/src/source-control/mobile-branch-base-ref.ts index 49723877146..af5338c8344 100644 --- a/mobile/src/source-control/mobile-branch-base-ref.ts +++ b/mobile/src/source-control/mobile-branch-base-ref.ts @@ -3,7 +3,7 @@ import { refusedRpcMessageOrFallback } from '../transport/rpc/rpc-refusal-messag import { getRepoIdFromWorktreeId } from '../../../src/shared/worktree/id' import { isMobileGitUnavailableReply } from './mobile-git-status' import { repoBaseRefListRead, repoDefaultBaseRefRead } from './mobile-repo-base-ref-operations' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' import type { RpcResponse } from '../transport/rpc/rpc-wire-types' import { worktreeSummaryRead } from './mobile-worktree-metadata-operations' import { @@ -18,7 +18,7 @@ export type MobileBranchCompareTarget = { } export async function resolveMobileBranchCompareBaseRef( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, compare?: MobileBranchCompareTarget, // A `worktree.show` reply the caller already asked for, so one open reads the worktree once. @@ -36,7 +36,7 @@ export type MobileBranchBaseRefs = { // Desktop's pair: the compare base can be the upstream, while PRs and rebases target the effective base. export async function resolveMobileBranchBaseRefs( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, compare?: MobileBranchCompareTarget, worktreeShow?: Promise @@ -84,7 +84,7 @@ export async function resolveMobileBranchBaseRefs( } async function readDefaultBaseRef( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, repoId: string ): Promise { const defaultReply = await repoDefaultBaseRefRead.request(client, { repo: `id:${repoId}` }) diff --git a/mobile/src/source-control/mobile-branch-compare-outcome.ts b/mobile/src/source-control/mobile-branch-compare-outcome.ts index ae5ea1d6a01..d7294be1806 100644 --- a/mobile/src/source-control/mobile-branch-compare-outcome.ts +++ b/mobile/src/source-control/mobile-branch-compare-outcome.ts @@ -1,5 +1,5 @@ import { translate } from '../i18n/mobile-i18n' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' import { refusedRpcMessageOrFallback } from '../transport/rpc/rpc-refusal-message' import { resolveMobileBranchBaseRefs, @@ -22,7 +22,7 @@ export type BranchCompareAttempt = BranchCompareOutcome & { // Return failures because callers void this load. export async function readBranchCompareOutcome( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, compare?: MobileBranchCompareTarget ): Promise { @@ -40,7 +40,7 @@ export async function readBranchCompareOutcome( } async function readCompare( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, baseRef: string | null ): Promise { diff --git a/mobile/src/source-control/mobile-commit-dropdown-copy.ts b/mobile/src/source-control/mobile-commit-dropdown-copy.ts index 6ed43bd8647..7cc182bde00 100644 --- a/mobile/src/source-control/mobile-commit-dropdown-copy.ts +++ b/mobile/src/source-control/mobile-commit-dropdown-copy.ts @@ -69,6 +69,18 @@ export function mobileCommitDropdownCopy(t: Translate): CommitDropdownCopy { case 'Enter a commit message to commit': return t('sourceControl.commitDropdown.enterMessage', 'Enter a commit message to commit') } - } + }, + commitDisabledStatus: (reason) => { + switch (reason) { + case 'Resolve conflicts before committing': + return t('sourceControl.commitDropdown.statusConflicts', 'Conflicts') + case 'Stage at least one file to commit': + return t('sourceControl.commitDropdown.statusNothingStaged', 'Nothing staged') + case 'Enter a commit message to commit': + return t('sourceControl.commitDropdown.statusNeedsMessage', 'Needs message') + } + }, + statusNotPublished: t('sourceControl.commitDropdown.statusNotPublished', 'Not published'), + statusNoBranch: t('sourceControl.commitDropdown.statusNoBranch', 'No branch') } } diff --git a/mobile/src/source-control/mobile-commit-message-ai.ts b/mobile/src/source-control/mobile-commit-message-ai.ts index d0710dbd32a..11521f5e667 100644 --- a/mobile/src/source-control/mobile-commit-message-ai.ts +++ b/mobile/src/source-control/mobile-commit-message-ai.ts @@ -5,13 +5,13 @@ import { gitGenerateCommitMessageRun, type MobileGenerateCommitMessageResult } from './mobile-git-mutation-operations' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' export type { MobileGenerateCommitMessageResult } // Collapse refusals and malformed payloads to the same failed-generation verdict. export async function requestMobileCommitMessage( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string ): Promise { const reply = await gitGenerateCommitMessageRun.request(client, { @@ -34,7 +34,7 @@ export async function requestMobileCommitMessage( } export async function cancelMobileCommitMessage( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, 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 f51514fa65e..e1a5bf7ce2c 100644 --- a/mobile/src/source-control/mobile-git-history.ts +++ b/mobile/src/source-control/mobile-git-history.ts @@ -7,7 +7,7 @@ import type { } from './git-history-reply-schema' import { refusedRpcMessageOrFallback } from '../transport/rpc/rpc-refusal-message' import { gitHistoryRead } from './mobile-git-read-operations' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' export const MOBILE_GIT_HISTORY_PAGE_SIZE = 50 @@ -89,7 +89,7 @@ export type MobileGitHistoryPageRequest = { } export async function fetchMobileGitHistory( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, page?: MobileGitHistoryPageRequest ): Promise { diff --git a/mobile/src/source-control/mobile-git-status.test.ts b/mobile/src/source-control/mobile-git-status.test.ts deleted file mode 100644 index a559c48fffd..00000000000 --- a/mobile/src/source-control/mobile-git-status.test.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - buildMobileSourceControlSections, - getStageablePaths, - isMobileGitDiscardableEntry, - isMobileGitStageableEntry, - type MobileGitStatusEntry -} from './mobile-git-status' - -describe('mobile source control status helpers', () => { - it('keeps unresolved conflicts out of stage actions', () => { - const conflictedEntries: MobileGitStatusEntry[] = [ - { path: 'ready.ts', status: 'modified', area: 'unstaged' }, - { - path: 'conflicted.ts', - status: 'modified', - area: 'unstaged', - conflictStatus: 'unresolved' - }, - { - path: 'resolved.ts', - status: 'modified', - area: 'unstaged', - conflictStatus: 'resolved_locally' - } - ] - - expect(getStageablePaths(conflictedEntries)).toEqual(['ready.ts', 'resolved.ts']) - expect(isMobileGitStageableEntry(conflictedEntries[1])).toBe(false) - expect(isMobileGitDiscardableEntry(conflictedEntries[1])).toBe(false) - expect(isMobileGitDiscardableEntry(conflictedEntries[2])).toBe(false) - }) - - it('pins conflicts into their own section ahead of changes, like desktop', () => { - const sections = buildMobileSourceControlSections( - [ - { path: 'zeta.ts', status: 'modified', area: 'unstaged' }, - { - path: 'beta.ts', - status: 'modified', - area: 'unstaged', - conflictStatus: 'resolved_locally' - }, - { - path: 'alpha.ts', - status: 'modified', - area: 'unstaged', - conflictStatus: 'unresolved' - }, - { path: 'aardvark.ts', status: 'added', area: 'unstaged' } - ], - 'changes-first' - ) - - expect( - sections.map((section) => [section.title, section.data.map((entry) => entry.path)]) - ).toEqual([ - ['Conflicts', ['alpha.ts', 'beta.ts']], - ['Uncommitted', ['aardvark.ts', 'zeta.ts']] - ]) - }) -}) diff --git a/mobile/src/source-control/mobile-history-screen-state.test.ts b/mobile/src/source-control/mobile-history-screen-state.test.ts deleted file mode 100644 index 45115e52ac1..00000000000 --- a/mobile/src/source-control/mobile-history-screen-state.test.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { resolveMobileHistoryScreenView } from './mobile-history-screen-state' -import type { MobileCommitRow } from './mobile-git-history' - -const row: MobileCommitRow = { - id: 'abc123', - shortId: 'abc123', - subject: 'commit', - author: 'author', - parentId: null, - relativeTime: '1m' -} - -describe('resolveMobileHistoryScreenView', () => { - it('shows waiting (not an endless spinner) when disconnected with nothing loaded', () => { - // Offline cold loads cannot run; show Retry instead of an endless spinner. - expect(resolveMobileHistoryScreenView({ connected: false, rows: null, error: null })).toEqual({ - kind: 'waiting' - }) - }) - - it('spins only while connected and loading', () => { - expect(resolveMobileHistoryScreenView({ connected: true, rows: null, error: null })).toEqual({ - kind: 'loading' - }) - }) - - it('keeps already-loaded rows visible across a connection drop', () => { - expect(resolveMobileHistoryScreenView({ connected: false, rows: [row], error: null })).toEqual({ - kind: 'rows', - rows: [row] - }) - }) - - it('prefers the error state over waiting so failures stay actionable', () => { - expect(resolveMobileHistoryScreenView({ connected: false, rows: null, error: 'boom' })).toEqual( - { kind: 'error', message: 'boom' } - ) - }) - - it('distinguishes an empty history from a pending load', () => { - expect(resolveMobileHistoryScreenView({ connected: true, rows: [], error: null })).toEqual({ - kind: 'empty' - }) - }) -}) 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 4d663ce8d19..f57c7d4f0e2 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 { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' type RunInput = { branch: string @@ -50,7 +50,7 @@ export function isMobileHostedReviewCommitFailure( } export async function runMobileHostedReviewCreateIntent( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, 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 93d8a3bb50c..00e33f2943d 100644 --- a/mobile/src/source-control/mobile-hosted-review-create-intent.ts +++ b/mobile/src/source-control/mobile-hosted-review-create-intent.ts @@ -12,7 +12,7 @@ import { stageMobileHostedReviewPaths } from './mobile-hosted-review-git-preparation' import { applyMobileHostedReviewRemotePrerequisite } from './mobile-hosted-review-remote-prerequisite' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' export { mobileHostedReviewCreateIntentProgressMessage } from './hosted-review-copy' @@ -60,7 +60,7 @@ function hasUnresolvedConflicts(status: MobileGitStatusResult | null): boolean { } async function resolvePrefillFromStatus( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, input: Pick, status: MobileGitStatusResult | null @@ -74,7 +74,7 @@ async function resolvePrefillFromStatus( } async function ensureLocalChangesCommitted( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, input: PrepareInput, currentStatus: MobileGitStatusResult | null @@ -211,7 +211,7 @@ async function ensureLocalChangesCommitted( } export async function prepareMobileHostedReviewCreateIntent( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, 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 94c4c652a16..b6d1c40d04c 100644 --- a/mobile/src/source-control/mobile-hosted-review-git-preparation.ts +++ b/mobile/src/source-control/mobile-hosted-review-git-preparation.ts @@ -13,7 +13,7 @@ import { } from './mobile-git-mutation-operations' import { gitStatusProjectionRead } from './mobile-git-read-operations' import type { MobileGitStatusResult } from './mobile-git-status' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' export type MobileHostedReviewStatusReadResult = | { ok: true; status: MobileGitStatusResult | null } @@ -22,7 +22,7 @@ export type MobileHostedReviewStatusReadResult = export type MobileHostedReviewMutationResult = { ok: true } | { ok: false; error: string } export async function readMobileHostedReviewGitStatus( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string ): Promise { const reply = await gitStatusProjectionRead.request(client, { worktree: `id:${worktreeId}` }) @@ -71,7 +71,7 @@ async function settleMobileHostedReviewMutation( } export function pushMobileHostedReviewBranch( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, params: RpcSendParams<'git.push'>, fallback: string ): Promise { @@ -83,7 +83,7 @@ export function pushMobileHostedReviewBranch( } export function fastForwardMobileHostedReviewBranch( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string ): Promise { return settleMobileHostedReviewMutation( @@ -97,7 +97,7 @@ export function fastForwardMobileHostedReviewBranch( } export function stageMobileHostedReviewPaths( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, filePaths: string[] ): Promise { @@ -109,7 +109,7 @@ export function stageMobileHostedReviewPaths( } export async function commitMobileHostedReviewStagedChanges( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, 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 e3226f56593..d44b7a8acc9 100644 --- a/mobile/src/source-control/mobile-hosted-review-remote-prerequisite.ts +++ b/mobile/src/source-control/mobile-hosted-review-remote-prerequisite.ts @@ -8,7 +8,7 @@ import { pushMobileHostedReviewBranch } from './mobile-hosted-review-git-preparation' import { readBranchCompareOutcome } from './mobile-branch-compare-outcome' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' type RemotePrerequisiteInput = { status: MobileGitStatusResult | null @@ -17,7 +17,7 @@ type RemotePrerequisiteInput = { // Desktop publishes only a branch with commits beyond its base; read them only when that decides it. async function readBranchCommitsAhead( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string ): Promise { const compare = await readBranchCompareOutcome(client, worktreeId) @@ -27,7 +27,7 @@ async function readBranchCommitsAhead( } export async function applyMobileHostedReviewRemotePrerequisite( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, 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 46f4f35a546..34c5d7111f6 100644 --- a/mobile/src/source-control/mobile-hosted-review-service.ts +++ b/mobile/src/source-control/mobile-hosted-review-service.ts @@ -11,7 +11,7 @@ import { } from './mobile-hosted-review-operations' import { pushMobileHostedReviewBranch } from './mobile-hosted-review-git-preparation' import { linkMobileHostedReview } from './mobile-pr-link' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' // Mobile ids combine repo::path; hosted-review RPCs need separate selectors. export function mobileRepoSelectorFromWorktreeId(worktreeId: string): string { @@ -30,7 +30,7 @@ export type MobileHostedReviewEligibilityInput = { } export async function fetchMobileHostedReviewEligibility( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, input: MobileHostedReviewEligibilityInput ): Promise { @@ -67,7 +67,7 @@ export type MobileHostedReviewPrefill = { } export async function resolveMobileHostedReviewPrefill( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { branch: string | undefined @@ -166,7 +166,7 @@ export type MobileHostedReviewCreateOutcome = // The form intentionally uses one actionable fallback for all push failures. async function pushMobileBranchBeforeCreate( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string ): Promise<{ ok: true } | { ok: false; error: string }> { const error = translate( @@ -200,7 +200,7 @@ function formatMobileHostedReviewCreateError( } async function finishMobileHostedReviewCreateSuccess( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, input: MobileHostedReviewCreateInput, result: { number: number; url: string }, @@ -221,7 +221,7 @@ async function finishMobileHostedReviewCreateSuccess( } export async function createMobileHostedReview( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, input: MobileHostedReviewCreateInput ): Promise { diff --git a/mobile/src/source-control/mobile-open-pr-prefill.test.ts b/mobile/src/source-control/mobile-open-pr-prefill.test.ts index cf977b0b2b2..a3f67fde7f1 100644 --- a/mobile/src/source-control/mobile-open-pr-prefill.test.ts +++ b/mobile/src/source-control/mobile-open-pr-prefill.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it, vi } from 'vitest' -import { getMobilePrEligibilityReadiness, readFreshGitStatus } from './mobile-open-pr-prefill' +import { readFreshGitStatus } from './mobile-open-pr-prefill' import type { MobileGitStatusResult } from './mobile-git-status' const fallback = { branch: 'old', entries: [] } as unknown as MobileGitStatusResult @@ -33,23 +33,3 @@ describe('readFreshGitStatus', () => { expect(out).toBe(fallback) }) }) - -describe('getMobilePrEligibilityReadiness', () => { - it('keeps readiness fields absent when git status is unknown', () => { - expect(getMobilePrEligibilityReadiness(null)).toEqual({}) - }) - - it('derives dirty and upstream readiness from git status', () => { - const status = { - entries: [{ path: 'a.ts' }], - upstreamStatus: { hasUpstream: true, ahead: 2, behind: 1 } - } as unknown as MobileGitStatusResult - - expect(getMobilePrEligibilityReadiness(status)).toEqual({ - hasUncommittedChanges: true, - hasUpstream: true, - ahead: 2, - behind: 1 - }) - }) -}) diff --git a/mobile/src/source-control/mobile-pr-create-draft.ts b/mobile/src/source-control/mobile-pr-create-draft.ts index 66efde5aa68..d2431ffabde 100644 --- a/mobile/src/source-control/mobile-pr-create-draft.ts +++ b/mobile/src/source-control/mobile-pr-create-draft.ts @@ -1,6 +1,6 @@ import { translate } from '../i18n/mobile-i18n' import { refusedRpcMessageOrFallback } from '../transport/rpc/rpc-refusal-message' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' import { resolveCreateReviewSeedFromCommits } from '../../../src/shared/source-control/hosted-review/hosted-review-create-seed' import { normalizeCreateReviewBaseSearchResults, @@ -41,7 +41,7 @@ const HOSTED_PROVIDERS: readonly HostedReviewProvider[] = [ // The host's prefill decides provider, base and blockers; the branch's commits seed the text. export async function loadMobilePrCreateDraft( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, input: { branch: string; status: MobileGitStatusResult | null; commitsAhead?: number | null } ): Promise { @@ -84,7 +84,7 @@ function commitBody(message: string | undefined): string { } export async function generateMobilePrFields( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, input: { base: string; title: string; body: string; draft: boolean; provider: string } ): Promise { @@ -116,7 +116,7 @@ export async function generateMobilePrFields( // The host runs one generation per lane, so an abandoned one would delay the next. export async function cancelMobilePrFields( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string ): Promise { const reply = await gitCancelGeneratePullRequestFieldsRun.request(client, { @@ -126,7 +126,7 @@ export async function cancelMobilePrFields( } export async function searchMobilePrBaseRefs( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, query: string ): Promise { diff --git a/mobile/src/source-control/mobile-pr-link.ts b/mobile/src/source-control/mobile-pr-link.ts index ceef26f3649..90b7673f6b8 100644 --- a/mobile/src/source-control/mobile-pr-link.ts +++ b/mobile/src/source-control/mobile-pr-link.ts @@ -2,7 +2,7 @@ import { translate } from '../i18n/mobile-i18n' import type { RpcSendParams } from '../../../src/shared/rpc-contract/rpc-send-params' import { CLEARED_HOSTED_REVIEW_SELECTION_UPDATES } from '../../../src/shared/worktree/hosted-review-links' import { refusedRpcMessageOrFallback } from '../transport/rpc/rpc-refusal-message' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' import { worktreeLinkSet, worktreeSummaryRead, @@ -54,7 +54,7 @@ export function buildWorktreeSetHostedReviewLinkParams( // Refusal without a message uses screen copy; transport errors retain their own message. async function setWorktreeReviewLink( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, params: RpcSendParams<'worktree.set'>, fallback: string ): Promise { @@ -73,7 +73,7 @@ async function setWorktreeReviewLink( } export function linkMobilePr( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, prNumber: number ): Promise { @@ -88,7 +88,7 @@ export function linkMobilePr( } export async function linkMobileHostedReview( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, provider: string, number: number, @@ -108,7 +108,7 @@ export async function linkMobileHostedReview( // Like desktop, suppress the unlinked PR so branch discovery does not bring it straight back. export function unlinkMobilePr( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, prNumber: number ): Promise { @@ -130,7 +130,7 @@ const NO_GITHUB_PR_LINK: WorktreeGitHubPRLink = { // Desktop's durable clear for a link the branch has moved past; a failed write only repeats the check next load. export async function clearMobileWorktreeReviewLink( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, shouldApply: (worktree: MobileWorktreeSummary) => boolean ): Promise { @@ -151,14 +151,14 @@ export async function clearMobileWorktreeReviewLink( // Persisted links recover closed/merged PRs that branch lookup no longer returns. export async function fetchWorktreeGitHubPRLink( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string ): Promise { return (await readWorktreeSummary(client, worktreeId)) ?? NO_GITHUB_PR_LINK } async function readWorktreeSummary( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string ): Promise { try { diff --git a/mobile/src/source-control/mobile-remote-dropdown-copy.ts b/mobile/src/source-control/mobile-remote-dropdown-copy.ts index a8cea9cbbb3..8f5e9a55ecf 100644 --- a/mobile/src/source-control/mobile-remote-dropdown-copy.ts +++ b/mobile/src/source-control/mobile-remote-dropdown-copy.ts @@ -160,6 +160,15 @@ export function mobileRemoteDropdownCopy(t: Translate): RemoteDropdownCopy { manualForcePush: (ahead, behind, upstreamName) => localizedManualForcePush(ahead, behind, upstreamName, t), unpublishedForcePush: (branchCommitsAhead) => - localizedUnpublishedForcePush(branchCommitsAhead, t) + localizedUnpublishedForcePush(branchCommitsAhead, t), + statusUpToDate: t('sourceControl.remoteDropdown.statusUpToDate', 'Up to date'), + statusSetsUpstream: t('sourceControl.remoteDropdown.statusSetsUpstream', 'Sets upstream'), + statusNotPublished: t('sourceControl.remoteDropdown.statusNotPublished', 'Not published'), + statusNoBranch: t('sourceControl.remoteDropdown.statusNoBranch', 'No branch'), + statusMayFail: t('sourceControl.remoteDropdown.statusMayFail', 'May fail'), + statusPublished: t('sourceControl.remoteDropdown.statusPublished', 'Published'), + statusStashFirst: t('sourceControl.remoteDropdown.statusStashFirst', 'Stash first'), + statusReplaces: (behind) => + t('sourceControl.remoteDropdown.statusReplaces', 'Replaces ↓{{behind}}', { behind }) } } diff --git a/mobile/src/source-control/mobile-source-control-actions.ts b/mobile/src/source-control/mobile-source-control-actions.ts index cd819d69476..c4c453ddea4 100644 --- a/mobile/src/source-control/mobile-source-control-actions.ts +++ b/mobile/src/source-control/mobile-source-control-actions.ts @@ -31,6 +31,7 @@ export type MobileSourceControlAction = { iconKey: MobileSourceControlActionIcon disabled?: boolean hint?: string + status?: string loading?: boolean skipAutoClose?: boolean closeBeforePress?: boolean @@ -84,7 +85,7 @@ export function buildMobileSourceControlActions( const busy = args.busyAction !== null const blockForce = (item: DropdownItem): DropdownItem => args.forcePushBlockedReason - ? { ...item, disabled: true, title: args.forcePushBlockedReason } + ? { ...item, disabled: true, title: args.forcePushBlockedReason, status: undefined } : item const row = ( item: DropdownItem, @@ -98,6 +99,7 @@ export function buildMobileSourceControlActions( disabled: busy || item.disabled, // Mobile has no tooltips: show why a row is disabled, and always what Force Push replaces. hint: item.disabled || item.kind === 'force_push' ? item.title : undefined, + status: item.status, loading: args.busyAction === actionId, skipAutoClose: true, onPress diff --git a/mobile/src/source-control/mobile-source-control-conflict-abort.test.ts b/mobile/src/source-control/mobile-source-control-conflict-abort.test.ts deleted file mode 100644 index fa9e40a4746..00000000000 --- a/mobile/src/source-control/mobile-source-control-conflict-abort.test.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - isMobileConflictAborting, - mobileConflictAbortLabel -} from './mobile-source-control-conflict-abort' - -describe('isMobileConflictAborting', () => { - it('is true only for the matching abort action', () => { - expect(isMobileConflictAborting('abort-merge', 'merge')).toBe(true) - expect(isMobileConflictAborting('abort-rebase', 'rebase')).toBe(true) - }) - - it('is false for other busy actions (stage/commit must not look like abort)', () => { - expect(isMobileConflictAborting('stage-all', 'merge')).toBe(false) - expect(isMobileConflictAborting('commit', 'rebase')).toBe(false) - expect(isMobileConflictAborting(null, 'merge')).toBe(false) - expect(isMobileConflictAborting('abort-merge', 'rebase')).toBe(false) - expect(isMobileConflictAborting('abort-merge', 'unknown')).toBe(false) - }) -}) - -describe('mobileConflictAbortLabel', () => { - it('shows Aborting only while abort is in flight', () => { - expect(mobileConflictAbortLabel('merge', true)).toBe('Aborting…') - expect(mobileConflictAbortLabel('merge', false)).toBe('Abort merge') - expect(mobileConflictAbortLabel('rebase', false)).toBe('Abort rebase') - }) -}) diff --git a/mobile/src/source-control/mobile-source-control-hub-tab.test.ts b/mobile/src/source-control/mobile-source-control-hub-tab.test.ts deleted file mode 100644 index c3331d18943..00000000000 --- a/mobile/src/source-control/mobile-source-control-hub-tab.test.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { describe, it, expect } from 'vitest' -import { parseSourceControlHubTab } from './mobile-source-control-hub-tab' - -describe('parseSourceControlHubTab', () => { - it('accepts each known tab', () => { - for (const tab of ['changes', 'pr', 'history']) { - expect(parseSourceControlHubTab(tab)).toBe(tab) - } - }) - - it('reads the first element of an array param', () => { - expect(parseSourceControlHubTab(['pr', 'history'])).toBe('pr') - }) - - it('falls back to changes for unknown, empty, or missing values', () => { - expect(parseSourceControlHubTab('nope')).toBe('changes') - expect(parseSourceControlHubTab('')).toBe('changes') - expect(parseSourceControlHubTab(undefined)).toBe('changes') - expect(parseSourceControlHubTab(null)).toBe('changes') - expect(parseSourceControlHubTab([])).toBe('changes') - }) -}) diff --git a/mobile/src/source-control/mobile-source-control-oversized-stage-all.test.tsx b/mobile/src/source-control/mobile-source-control-oversized-stage-all.test.tsx index ea763ad08fc..680730b022a 100644 --- a/mobile/src/source-control/mobile-source-control-oversized-stage-all.test.tsx +++ b/mobile/src/source-control/mobile-source-control-oversized-stage-all.test.tsx @@ -28,7 +28,6 @@ vi.mock('../platform/haptics', () => ({ triggerImpact: () => undefined })) -import { BRIDGE_MAX_MESSAGE_BYTES } from '../mobile-web-shell/bridge/bridge-caps' import { useRouteHandoff } from '../navigation/route-handoff' import { useMobileGitRequests } from './use-mobile-git-requests' import { useMobileSourceControlRunners } from './use-mobile-source-control-runners' @@ -68,33 +67,6 @@ function idleRunnerParams() { } describe('stage-all over the outbound frame cap', () => { - it('refuses the frame at the page rather than posting one the shell drops', async () => { - const pair = createFakeBridgePortPair() - await pair.flush() - const postedBefore = pair.toShell.length - - const rejection = await pair.client - .sendRequest('git.bulkStage', { worktree: 'id:wt-1', filePaths: STAGEABLE_PATHS }) - .then( - () => null, - (error: unknown) => error - ) - await pair.flush() - - expect(rejection).toBeInstanceOf(Error) - expect(rejection instanceof Error ? rejection.name : String(rejection)).toBe( - 'BridgeRequestOversizedError' - ) - // The frame never left, so this is definite failure and a smaller retry cannot duplicate host work. - expect(pair.toShell.length).toBe(postedBefore) - expect(pair.hostDiagnostics).toEqual([]) - expect(pair.diagnostics.map((entry) => entry.kind)).toEqual(['send-oversized']) - const [diagnostic] = pair.diagnostics - expect(diagnostic.kind === 'send-oversized' ? diagnostic.bytes : 0).toBeGreaterThan( - BRIDGE_MAX_MESSAGE_BYTES - ) - }) - it('reports the oversized action and suggests fewer files, then stops being busy', async () => { const pair = createFakeBridgePortPair() await pair.flush() diff --git a/mobile/src/source-control/review/github-pr-draft-mutations.ts b/mobile/src/source-control/review/github-pr-draft-mutations.ts index 0839693ff53..58326da4894 100644 --- a/mobile/src/source-control/review/github-pr-draft-mutations.ts +++ b/mobile/src/source-control/review/github-pr-draft-mutations.ts @@ -1,11 +1,11 @@ -import type { RpcOperationSender } from '../../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../../transport/rpc/unvalidated-rpc-request-port' import { githubPrRequestParams, type GitHubPrRepoSlug } from './github-pr-repo-slug' import { githubPrDraftMark, githubPrReadyForReviewMark } from './github-pr-mutation-operations' import { settleGithubPrMutation, type GitHubPrMutationOutcome } from './github-pr-mutation-outcome' // Ready for review and Mark as draft: the same toggle on GitHub, one RPC each. export function fetchMarkPRReadyForReview( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { prNumber: number; prRepo?: GitHubPrRepoSlug | null } ): Promise { @@ -23,7 +23,7 @@ export function fetchMarkPRReadyForReview( } export function fetchMarkPRDraft( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { prNumber: number; prRepo?: GitHubPrRepoSlug | null } ): Promise { diff --git a/mobile/src/source-control/review/github-pr-mutations.ts b/mobile/src/source-control/review/github-pr-mutations.ts index d31ed5f29f1..0c2ba0cd587 100644 --- a/mobile/src/source-control/review/github-pr-mutations.ts +++ b/mobile/src/source-control/review/github-pr-mutations.ts @@ -24,11 +24,11 @@ import { githubPrRequestParams, type GitHubPrRepoSlug } from './github-pr-repo-slug' -import type { RpcOperationSender } from '../../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../../transport/rpc/unvalidated-rpc-request-port' import { translate } from '../../i18n/mobile-i18n' export function fetchMergePR( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { prNumber: number; method?: GitHubPRMergeMethod; prRepo?: GitHubPrRepoSlug | null } ): Promise { @@ -47,7 +47,7 @@ export function fetchMergePR( } export function fetchUpdatePRTitle( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { prNumber: number; title: string; prRepo?: GitHubPrRepoSlug | null } ): Promise { @@ -66,7 +66,7 @@ export function fetchUpdatePRTitle( } export function fetchUpdatePRBody( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { prNumber: number; body: string; prRepo?: GitHubPrRepoSlug | null } ): Promise { @@ -81,7 +81,7 @@ export function fetchUpdatePRBody( } export function fetchSetPRAutoMerge( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { prNumber: number @@ -105,7 +105,7 @@ export function fetchSetPRAutoMerge( } export function fetchUpdatePRState( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { prNumber: number; state: 'open' | 'closed'; prRepo?: GitHubPrRepoSlug | null } ): Promise { @@ -123,7 +123,7 @@ export function fetchUpdatePRState( } export function fetchRequestPRReviewers( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { prNumber: number; reviewers: string[]; prRepo?: GitHubPrRepoSlug | null } ): Promise { @@ -141,7 +141,7 @@ export function fetchRequestPRReviewers( } export function fetchRemovePRReviewers( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { prNumber: number; reviewers: string[]; prRepo?: GitHubPrRepoSlug | null } ): Promise { @@ -159,7 +159,7 @@ export function fetchRemovePRReviewers( } export function fetchRerunPRChecks( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { prNumber: number @@ -186,7 +186,7 @@ export function fetchRerunPRChecks( } export function fetchAddPRReviewCommentReply( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { prNumber: number @@ -223,7 +223,7 @@ export function fetchAddPRReviewCommentReply( } export function fetchAddIssueComment( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { prNumber: number; body: string; prRepo?: GitHubPrRepoSlug | null } ): Promise { @@ -244,7 +244,7 @@ export function fetchAddIssueComment( // Thread resolution returns boolean confirmation; do not apply status-envelope void-success semantics. export function fetchResolveReviewThread( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { threadId: string; resolve: boolean; prRepo?: GitHubPrRepoSlug | null } ): Promise { @@ -269,7 +269,7 @@ export function fetchResolveReviewThread( // Issue comment edits use owner/repo/commentId rather than worktree-scoped params. export function fetchUpdateIssueComment( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, args: { owner: string; repo: string; host?: string; commentId: number; body: string } ): Promise { return settleGithubPrMutation(githubPrIssueCommentEdit, () => @@ -282,7 +282,7 @@ export function fetchUpdateIssueComment( } export function fetchDeleteIssueComment( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, args: { owner: string; repo: string; host?: string; commentId: number } ): Promise { return settleGithubPrMutation(githubPrIssueCommentDelete, () => diff --git a/mobile/src/source-control/review/github-pr-review-line-mutations.ts b/mobile/src/source-control/review/github-pr-review-line-mutations.ts index a7ccdc46fde..574ef37470a 100644 --- a/mobile/src/source-control/review/github-pr-review-line-mutations.ts +++ b/mobile/src/source-control/review/github-pr-review-line-mutations.ts @@ -5,14 +5,14 @@ import { type GitHubPrMutationOutcome } from './github-pr-mutation-outcome' import { githubPrRequestParams, type GitHubPrRepoSlug } from './github-pr-repo-slug' -import type { RpcOperationSender } from '../../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../../transport/rpc/unvalidated-rpc-request-port' import { translate } from '../../i18n/mobile-i18n' // The diff screen's writes on a PR file: a new line comment and its viewed mark. // A new line comment on the PR's head commit; GitHub only accepts lines inside the file's diff hunks. export function fetchAddPRReviewComment( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { prNumber: number @@ -45,7 +45,7 @@ export function fetchAddPRReviewComment( } export function fetchSetPRFileViewed( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { pullRequestId: string diff --git a/mobile/src/source-control/review/github-pr-rpc.ts b/mobile/src/source-control/review/github-pr-rpc.ts index 0b46be0adc6..5c5e340a562 100644 --- a/mobile/src/source-control/review/github-pr-rpc.ts +++ b/mobile/src/source-control/review/github-pr-rpc.ts @@ -28,7 +28,7 @@ import { } 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/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../../transport/rpc/unvalidated-rpc-request-port' import { translate } from '../../i18n/mobile-i18n' export type GitHubPrReadOutcome = { ok: true; result: T } | { ok: false; error: string } @@ -64,7 +64,7 @@ async function settleGithubPrRead( // Gate the PR icon on a GitHub remote independently of whether this branch has an open PR. export function fetchGithubRepoSlug( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string ): Promise> { return settleGithubPrRead(githubPrRepoSlugRead, () => @@ -76,7 +76,7 @@ export function fetchGithubRepoSlug( } export function fetchHostedReviewForBranch( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { branch: string; linkedGitHubPR?: number | null } ): Promise> { @@ -94,7 +94,7 @@ export function fetchHostedReviewForBranch( // Raise decoded upstream-error here so the sidebar retains host text; it is not a protocol decode failure. export async function fetchPRForBranch( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { branch: string @@ -224,7 +224,7 @@ export async function fetchWorkItemDetails( } export function fetchPRChecks( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { prNumber: number @@ -251,7 +251,7 @@ export function fetchPRChecks( } export function fetchPRCheckDetails( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, worktreeId: string, args: { checkRunId?: number diff --git a/mobile/src/source-control/review/mobile-diff-review-rows.ts b/mobile/src/source-control/review/mobile-diff-review-rows.ts index 9d140cd4881..1699890b564 100644 --- a/mobile/src/source-control/review/mobile-diff-review-rows.ts +++ b/mobile/src/source-control/review/mobile-diff-review-rows.ts @@ -7,7 +7,15 @@ const MINIMUM_FOLDED_LINES = 3 export type MobileDiffReviewRow = | { kind: 'line'; key: string; line: Line; lineIndex: number } - | { kind: 'fold'; key: string; hiddenCount: number; startIndex: number; endIndex: number } + | { + kind: 'fold' + key: string + hiddenCount: number + startIndex: number + endIndex: number + /** The line the folded code sits inside, shown on the fold like GitHub's hunk header. */ + enclosingLine: string | null + } | { kind: 'thread'; key: string; thread: MobileDiffReviewThread } /** @@ -72,7 +80,8 @@ export function buildMobileDiffReviewRows( key: `fold:${foldStart}`, hiddenCount: foldEnd - foldStart, startIndex: foldStart, - endIndex: foldEnd + endIndex: foldEnd, + enclosingLine: foldEnclosingLine(lines, foldEnd) }) lineIndex = foldEnd - 1 continue @@ -82,3 +91,47 @@ export function buildMobileDiffReviewRows( } return rows } + +const TAB_COLUMNS = 4 + +function indentColumns(text: string): number { + let columns = 0 + for (const char of text) { + if (char === ' ') { + columns += 1 + } else if (char === '\t') { + columns += TAB_COLUMNS + } else { + break + } + } + return columns +} + +/** + * The phone's diff has no `@@` headers, so the fold names its scope itself: the nearest new-file line at or + * above the fold's end that is indented less than the first line shown after it. Blank lines don't count. + */ +export function foldEnclosingLine( + lines: readonly MobileDiffLine[], + foldEnd: number +): string | null { + const counts = (line: MobileDiffLine | undefined): line is MobileDiffLine => + line !== undefined && line.kind !== 'delete' && line.text.trim() !== '' + let nextIndex = foldEnd + while (nextIndex < lines.length && !counts(lines[nextIndex])) { + nextIndex += 1 + } + const next = lines[nextIndex] + if (!counts(next)) { + return null + } + const nextIndent = indentColumns(next.text) + for (let index = foldEnd - 1; index >= 0; index -= 1) { + const line = lines[index] + if (counts(line) && indentColumns(line.text) < nextIndent) { + return line.text.trim() + } + } + return null +} diff --git a/mobile/src/source-control/review/mobile-review-notes-operations.ts b/mobile/src/source-control/review/mobile-review-notes-operations.ts index ed7d8688140..3a70976f334 100644 --- a/mobile/src/source-control/review/mobile-review-notes-operations.ts +++ b/mobile/src/source-control/review/mobile-review-notes-operations.ts @@ -1,11 +1,7 @@ import { bindDeferredRpcOperation, defineRpcOperation } from '../../transport/rpc/rpc-operation' import { rpcResultVariant } from '../../transport/rpc/rpc-operation-result-reader' import { sessionWorktreeRecordSchema } from '../../worktree/session-worktree-record-reply-schema' -import '../../files/session-documents/mobile-markdown-tab-reply-schema' import '../../terminal/terminal-reply-schema' -import '../../terminal/session/mobile-session-terminal-reply-schema' -import '../../session/tabs/mobile-session-tab-write-reply-schema' -import '../../transport/rpc/rpc-uninterpreted-reply-schemas' import '../../terminal/quick-commands/mobile-quick-command-operations' // Preserve host refusal text for optimistic rollback; the reply's record carries the host's merged notes. diff --git a/mobile/src/source-control/review/pr-actions-engine.test.ts b/mobile/src/source-control/review/pr-actions-engine.test.ts index f61538f78cf..f0f14c6ad5d 100644 --- a/mobile/src/source-control/review/pr-actions-engine.test.ts +++ b/mobile/src/source-control/review/pr-actions-engine.test.ts @@ -13,44 +13,6 @@ function deferred() { } describe('PrActionsEngine — PR identity changes', () => { - it('clears reviewer optimism when switching PR identity', async () => { - const slow = deferred() - const mutations: PrActionMutations = { - mergePR: async () => ({ ok: true }), - setPRAutoMerge: async () => ({ ok: true }), - updatePRState: async () => ({ ok: true }), - markReadyForReview: async () => ({ ok: true }), - markDraft: async () => ({ ok: true }), - requestReviewers: async () => slow.promise, - removeReviewers: async () => ({ ok: true }), - rerunChecks: async () => ({ ok: true }) - } - const refetch = vi.fn() - const onChange = vi.fn() - const engine = new PrActionsEngine({ - mutations, - prNumber: 1, - refetch, - onChange - }) - - const action = engine.requestReviewer('alice') - expect(engine.resolveReviewerRequested('alice', false)).toBe(true) - - engine.updateConfig({ - mutations, - prNumber: 2, - refetch, - onChange - }) - expect(engine.resolveReviewerRequested('alice', false)).toBe(false) - - slow.resolve({ ok: false, error: 'connection lost' }) - await action - expect(engine.error).toBeNull() - expect(refetch).not.toHaveBeenCalled() - }) - it('clears in-flight state when only the GitHub host changes', async () => { const slow = deferred() const mutations: PrActionMutations = { diff --git a/mobile/src/source-control/review/pr-check-observation-contract.ts b/mobile/src/source-control/review/pr-check-observation-contract.ts index 432cbd30dab..761c6486c7a 100644 --- a/mobile/src/source-control/review/pr-check-observation-contract.ts +++ b/mobile/src/source-control/review/pr-check-observation-contract.ts @@ -1,7 +1,9 @@ import * as z from 'zod' import type { RpcClient } from '../../transport/rpc/rpc-client-contract' -import type { SendRequestOptions } from '../../transport/rpc/unvalidated-rpc-request-port' -import type { RpcOperationSender } from '../../transport/rpc/rpc-operation-sender' +import type { + SendRequestOptions, + UnvalidatedRpcRequestPort +} from '../../transport/rpc/unvalidated-rpc-request-port' import { captureGitHubInvocation, supportsExactGitHubOperations } from './github-target-invocation' import { readRuntimeStatusProbe, @@ -97,7 +99,7 @@ function statusFor(client: RpcClient, refresh: boolean): Promise { const { worktreeId, prRepo, write } = vars diff --git a/mobile/src/source-control/review/use-mobile-diff-review-controller.test.ts b/mobile/src/source-control/review/use-mobile-diff-review-controller.test.ts deleted file mode 100644 index 7bcd5c31744..00000000000 --- a/mobile/src/source-control/review/use-mobile-diff-review-controller.test.ts +++ /dev/null @@ -1,252 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { createFakeRpcClient } from '../../mobile-web-shell/bridge-host-test-fakes' - -import type { ReviewScreenState } from './mobile-diff-review-screen-model' -import { useMobileDiffReviewController } from './use-mobile-diff-review-controller' -import { documentQueryClient } from '../../test-support/rpc-recording/hook-mount' -import { publishPageDeviceStore } from '../../mobile-web-shell/bridge/page-device-store' -import { resetDurableDraftFieldsForTests } from '../../drafts/durable-draft-fields' -import { publishInMemoryDeviceStore } from '../../drafts/in-memory-device-store.test-support' - -const loadSnapshot = vi.hoisted(() => vi.fn()) -// Each build's notes-and-files read; status comes from the shared git.status query, held pending here. -vi.mock('./mobile-diff-review-snapshot-loader', () => ({ - startMobileDiffReviewSnapshot: ( - client: unknown, - worktree: string, - input: { status: Promise } - ) => { - input.status.catch(() => {}) - return { snapshot: loadSnapshot(client, worktree), branch: Promise.resolve({ result: null }) } - }, - withMobileDiffReviewBranch: (state: unknown) => state -})) -vi.mock('./mobile-diff-review-loaders', () => ({ - loadMobileDiffReviewDiff: vi.fn().mockResolvedValue({ kind: 'idle' }), - mobileReviewDiffInput: vi.fn(() => ({})) -})) -vi.mock('react-native', () => ({ - Platform: { OS: 'ios' }, - View: 'View', - Text: 'Text', - StyleSheet: { create: (styles: unknown) => styles, hairlineWidth: 1 } -})) -vi.mock('react-native-safe-area-context', () => ({ - SafeAreaView: 'SafeAreaView', - useSafeAreaInsets: () => ({ top: 0, bottom: 0, left: 0, right: 0 }) -})) -const layout = vi.hoisted(() => ({ isWideLayout: true })) -vi.mock('../../layout/responsive-layout', () => ({ useResponsiveLayout: () => layout })) -vi.mock('../../components/MobileDiffReviewBody', () => ({ MobileDiffReviewBody: () => null })) -vi.mock('../../components/MobileDiffReviewDrawers', () => ({ MobileDiffReviewDrawers: () => null })) -vi.mock('../../components/MobileDiffReviewFileSummary', () => ({ - MobileDiffReviewFileSummary: () => null -})) -vi.mock('../../components/MobileDiffReviewFooter', () => ({ MobileDiffReviewFooter: () => null })) -vi.mock('../../components/MobileDiffReviewHeader', () => ({ MobileDiffReviewHeader: () => null })) -vi.mock('../../components/use-mobile-diff-review-overflow-actions', () => ({ - useMobileDiffReviewOverflowActions: () => ({}) -})) -vi.mock('../../components/MobilePRSidebar', () => ({ MobilePRSidebar: () => null })) -vi.mock('../../components/RightDrawer', () => ({ RightDrawer: () => null })) -// The view only hands these to the mocked drawers; the real module pulls the comment and animation tree. -vi.mock('../../components/pr-sidebar/PRCommentsSection', () => ({ - usePRCommentCardActions: () => undefined -})) -vi.mock('expo-haptics', () => ({ - impactAsync: vi.fn(async () => {}), - notificationAsync: vi.fn(async () => {}), - selectionAsync: vi.fn(async () => {}), - performAndroidHapticsAsync: vi.fn(), - AndroidHaptics: {}, - ImpactFeedbackStyle: {}, - NotificationFeedbackType: {} -})) -vi.mock('expo-clipboard', () => ({ setStringAsync: vi.fn() })) - -const client = createFakeRpcClient() - -function readySnapshot(branch: string): ReviewScreenState { - return { - kind: 'ready', - status: { - entries: [], - branch, - head: 'abc123', - conflictOperation: undefined, - upstreamStatus: undefined - }, - comments: [], - reviewState: { version: 1, files: {} }, - branchCompare: null - } -} - -describe('useMobileDiffReviewController', () => { - let renderer: ReactTestRenderer | null = null - const queries = documentQueryClient() - - beforeEach(() => { - loadSnapshot.mockReset() - }) - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - resetDurableDraftFieldsForTests() - publishPageDeviceStore(null) - }) - - describe('Stage · next file', () => { - let controller: ReturnType | null = null - - function unstaged(paths: string[]): ReviewScreenState { - const ready = readySnapshot('feature/one') - return ready.kind === 'ready' - ? { - ...ready, - status: { - ...ready.status, - entries: paths.map((path) => ({ path, status: 'modified', area: 'unstaged' })) - } - } - : ready - } - - function StageProbe(): null { - controller = useMobileDiffReviewController({ - client, - connState: 'connected', - hostCapabilities: [], - hostStatusPending: false, - hostStatusReadable: true, - hostId: 'host-1', - worktreeId: 'wt-1', - name: 'review', - initialFilter: 'unstaged', - initialTarget: { filePath: 'c.ts', area: 'unstaged' }, - commitOid: null, - onOpenSession: () => {}, - onReconnect: () => {} - }) - return null - } - - async function stageCurrent(whileStaging?: () => void): Promise { - loadSnapshot.mockResolvedValueOnce(unstaged(['a.ts', 'b.ts', 'c.ts'])) - await act(async () => { - renderer = create(queries.wrap(createElement(StageProbe))) - await Promise.resolve() - }) - expect(controller?.currentItem?.filePath).toBe('c.ts') - loadSnapshot.mockResolvedValueOnce(unstaged(['a.ts', 'b.ts'])) - let staging: Promise | undefined - act(() => { - staging = controller?.stageAndOpenNext() - }) - act(() => whileStaging?.()) - const stage = client.requests.find((request) => request.method === 'git.stage') - await act(async () => { - stage?.resolve({ - id: 'stage', - ok: true, - result: { staged: true }, - _meta: { runtimeId: 'r' } - }) - await staging - }) - } - - beforeEach(() => { - client.requests.length = 0 - }) - - it('keeps a file the reader picked while the stage was running', async () => { - await stageCurrent(() => controller?.moveFile('previous')) - expect(controller?.currentItem?.filePath).toBe('b.ts') - }) - - it('keeps an unsaved note across reopen and edits, and clears it once saved', async () => { - loadSnapshot.mockResolvedValueOnce(unstaged(['c.ts'])) - await act(async () => { - renderer = create(queries.wrap(createElement(StageProbe))) - await Promise.resolve() - }) - act(() => controller?.openComposer(3)) - act(() => controller?.setComposerBody('rename this')) - act(() => controller?.closeComposer()) - act(() => controller?.openNewNoteSheet({ kind: 'range', startLine: 5, line: 7 })) - expect(controller?.composerBody).toBe('rename this') - - act(() => controller?.closeSheet('range')) - act(() => - controller?.openEditComposer({ - id: 'saved', - worktreeId: 'wt-1', - filePath: 'c.ts', - lineNumber: 1, - side: 'modified', - body: 'older note', - createdAt: 1 - }) - ) - expect(controller?.composerBody).toBe('older note') - act(() => controller?.closeComposer()) - act(() => controller?.openComposer(3)) - expect(controller?.composerBody).toBe('rename this') - - let saving: Promise | undefined - act(() => { - saving = controller?.saveComposer() - }) - const save = client.requests.find((request) => request.method === 'worktree.set') - await act(async () => { - save?.resolve({ id: 'save', ok: true, result: {}, _meta: { runtimeId: 'r' } }) - await saving - }) - act(() => controller?.openComposer(3)) - expect(controller?.composerBody).toBe('') - }) - - it('brings an unsaved new note back after the app is killed, not the text of an edit', async () => { - // The shell's draft table outlives the page; nothing else does. - const table = new Map() - publishInMemoryDeviceStore(table) - const openReview = async () => { - loadSnapshot.mockResolvedValueOnce(unstaged(['c.ts'])) - await act(async () => { - renderer = create(queries.wrap(createElement(StageProbe))) - await new Promise((resolve) => setTimeout(resolve, 0)) - }) - } - await openReview() - act(() => controller?.openComposer(3)) - act(() => controller?.setComposerBody('rename this')) - act(() => controller?.closeComposer()) - act(() => - controller?.openEditComposer({ - id: 'saved', - worktreeId: 'wt-1', - filePath: 'c.ts', - lineNumber: 1, - side: 'modified', - body: 'older note', - createdAt: 1 - }) - ) - act(() => controller?.setComposerBody('older note, edited')) - // The draft row saves once typing settles. - await act(async () => { - await vi.waitFor(() => expect(table.size).toBe(1)) - }) - act(() => renderer?.unmount()) - resetDurableDraftFieldsForTests() - - await openReview() - act(() => controller?.openComposer(3)) - expect(controller?.composerBody).toBe('rename this') - }) - }) -}) diff --git a/mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts b/mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts index 0850cb6d148..503eec21acc 100644 --- a/mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts +++ b/mobile/src/source-control/review/use-mobile-diff-review-send-actions.ts @@ -11,7 +11,7 @@ import { reviewTerminalListRead, reviewTerminalSendRun } from './mobile-review-t import type { MobileReviewTerminalTab } from './review-terminal-reply-schema' import { launchAgentWithPrompt } from './pr-ai-triage-launch' import { interpretOrThrowRefusalMessage } from '../../transport/rpc/rpc-refusal-message' -import { healMobileNativeChatStaleInput } from '../../session/native-chat/mobile-native-chat-stale-input' +import { healMobileNativeChatStaleInput } from '../../session/native-chat/composer/mobile-native-chat-stale-input' import type { ReviewScreenState } from './mobile-diff-review-screen-model' import type { ReviewSheetIntents } from './mobile-diff-review-sheets' diff --git a/mobile/src/source-control/review/use-mobile-pr-actions.ts b/mobile/src/source-control/review/use-mobile-pr-actions.ts index 2bd5b017177..740864512d4 100644 --- a/mobile/src/source-control/review/use-mobile-pr-actions.ts +++ b/mobile/src/source-control/review/use-mobile-pr-actions.ts @@ -12,7 +12,7 @@ import { } from './github-pr-mutations' import { fetchMarkPRDraft, fetchMarkPRReadyForReview } from './github-pr-draft-mutations' import type { GitHubPrRepoSlug } from './github-pr-repo-slug' -import type { RpcOperationSender } from '../../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../../transport/rpc/unvalidated-rpc-request-port' import { PrActionsEngine, type PrActionBusyKey } from './pr-actions-engine' import './pr-action-mutation-contract' import type { PrActionMutations } from './pr-action-mutation-contract' @@ -28,7 +28,7 @@ export type PrActionsInput = { mutations?: PrActionMutations } -function realMutations(client: RpcOperationSender, worktreeId: string): PrActionMutations { +function realMutations(client: UnvalidatedRpcRequestPort, worktreeId: string): PrActionMutations { return { mergePR: (args) => fetchMergePR(client, worktreeId, args), setPRAutoMerge: (args) => fetchSetPRAutoMerge(client, worktreeId, args), diff --git a/mobile/src/source-control/use-mobile-conflict-runners.test.ts b/mobile/src/source-control/use-mobile-conflict-runners.test.ts index ce1037fa719..dd655f528bf 100644 --- a/mobile/src/source-control/use-mobile-conflict-runners.test.ts +++ b/mobile/src/source-control/use-mobile-conflict-runners.test.ts @@ -2,7 +2,6 @@ import { createElement } from 'react' import { act, create } from 'react-test-renderer' import { describe, expect, it, vi } from 'vitest' import { useMobileConflictRunners } from './use-mobile-conflict-runners' -import { mobileConflictNeedsNewerHostMessage } from './mobile-source-control-conflict-actions' type Runners = ReturnType @@ -49,20 +48,4 @@ describe('useMobileConflictRunners', () => { const shown = await run(sendGitRequest, (r) => r.completeMerge()) expect(shown).toBe('Committing is not possible because you have unmerged files.') }) - - it('asks for a desktop update when an older host refuses the new methods', async () => { - const refusal = Object.assign( - new Error('Method git.completeMerge is not available to mobile clients'), - { - code: 'forbidden' - } - ) - const shown = await run( - vi.fn(async () => { - throw refusal - }), - (r) => r.completeMerge() - ) - expect(shown).toBe(mobileConflictNeedsNewerHostMessage()) - }) }) diff --git a/mobile/src/source-control/use-mobile-hosted-review-eligibility.test.ts b/mobile/src/source-control/use-mobile-hosted-review-eligibility.test.ts index f1017bfe127..db7dfcc8304 100644 --- a/mobile/src/source-control/use-mobile-hosted-review-eligibility.test.ts +++ b/mobile/src/source-control/use-mobile-hosted-review-eligibility.test.ts @@ -61,46 +61,6 @@ describe('mobile hosted review eligibility loader core', () => { }) ).toBe(false) }) - - it('builds distinct keys for different branches', () => { - const first = buildMobileHostedReviewEligibilityLoadKey({ - hostId: 'host-1', - worktreeId: 'wt-1', - branch: 'feature-a', - hasUpstream: true, - ahead: 0, - behind: 0, - hasUncommittedChanges: false - }) - const second = buildMobileHostedReviewEligibilityLoadKey({ - hostId: 'host-1', - worktreeId: 'wt-1', - branch: 'feature-b', - hasUpstream: true, - ahead: 0, - behind: 0, - hasUncommittedChanges: false - }) - - expect(first.identity).not.toBe(second.identity) - expect(first.fetch).not.toBe(second.fetch) - }) - - it('scopes load identity to the paired host', () => { - const input = { - worktreeId: 'repo-1::/workspace', - branch: 'feature', - hasUpstream: true, - ahead: 0, - behind: 0, - hasUncommittedChanges: false - } - const local = buildMobileHostedReviewEligibilityLoadKey({ ...input, hostId: 'local' }) - const ssh = buildMobileHostedReviewEligibilityLoadKey({ ...input, hostId: 'ssh-builder' }) - - expect(local.identity).not.toBe(ssh.identity) - expect(local.fetch).not.toBe(ssh.fetch) - }) }) // Fetch-imminent must render loading immediately; an idle frame would shift the list when Create PR appears. @@ -124,31 +84,6 @@ describe('rendered eligibility state', () => { ).toEqual({ kind: 'loading', eligibility: null }) }) - it('passes resolved and refetch states through untouched', () => { - const key = buildMobileHostedReviewEligibilityLoadKey({ - hostId: 'host-1', - worktreeId: 'wt-1', - branch: 'feature', - hasUpstream: true, - ahead: 0, - behind: 0, - hasUncommittedChanges: false - }) - const ready = { kind: 'ready', eligibility: eligibility() } as const - const refetch = { kind: 'loading', eligibility: eligibility() } as const - const error = { kind: 'error' } as const - - for (const state of [ready, refetch, error]) { - expect( - renderedMobileHostedReviewEligibilityState({ - snapshot: loadSnapshot(key, state), - key, - shouldFetch: true - }) - ).toBe(state) - } - }) - it('renders idle when a fetch is not possible, hiding stale snapshots in the same render', () => { const key = buildMobileHostedReviewEligibilityLoadKey({ hostId: 'host-1', @@ -271,55 +206,4 @@ describe('eligibility request ordering', () => { }) expect(renderedState).toMatchObject({ kind: 'loading', eligibility: ready }) }) - - it('keeps remounted hook state separate from a prior instance’s pending request', async () => { - type Response = { ok: true; result: MobileHostedReviewEligibilityReply } - const requests: ReturnType>[] = [] - const client = { - sendRequest: vi.fn(() => { - const request = deferred() - requests.push(request) - return request.promise - }) - } - const newest = eligibility({ canCreate: false, blockedReason: 'existing_review' }) - - function Harness(): null { - renderedState = useMobileHostedReviewEligibility({ - client: client as never, - connState: 'connected', - hostId: 'host-1', - worktreeId: 'wt-1', - branch: 'feature', - hasUpstream: true, - ahead: 0, - behind: 0, - hasUncommittedChanges: false - }) - return null - } - - await act(async () => { - renderer = create(createElement(Harness)) - await Promise.resolve() - }) - act(() => renderer?.unmount()) - renderer = null - await act(async () => { - renderer = create(createElement(Harness)) - await Promise.resolve() - }) - expect(requests).toHaveLength(2) - - await act(async () => { - requests[1]!.resolve({ ok: true, result: newest }) - await Promise.resolve() - }) - await act(async () => { - requests[0]!.resolve({ ok: true, result: eligibility() }) - await Promise.resolve() - }) - - expect(renderedState).toMatchObject({ kind: 'ready', eligibility: newest }) - }) }) diff --git a/mobile/src/tasks/github-work-item-source-errors.test.ts b/mobile/src/tasks/github-work-item-source-errors.test.ts deleted file mode 100644 index 86d39472089..00000000000 --- a/mobile/src/tasks/github-work-item-source-errors.test.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - extractGitHubIssueSourceError, - extractGitHubIssueSourceFallback -} from './github-work-item-source-errors' - -describe('extractGitHubIssueSourceError', () => { - it('keeps the failing issue source slug with the repo that produced it', () => { - expect( - extractGitHubIssueSourceError( - { id: 'repo-1', path: '/work/orca' }, - { - sources: { issues: { owner: 'upstream', repo: 'orca' } }, - errors: { issues: { message: 'HTTP 403: resource not accessible' } } - } - ) - ).toEqual({ - repoId: 'repo-1', - repoPath: '/work/orca', - source: { owner: 'upstream', repo: 'orca' }, - message: 'HTTP 403: resource not accessible' - }) - }) - - it('drops issue errors when the source slug is unavailable', () => { - expect( - extractGitHubIssueSourceError( - { id: 'repo-1', path: '/work/orca' }, - { - sources: { issues: null }, - errors: { issues: { message: 'failed' } } - } - ) - ).toBeNull() - }) - - it('returns null when the envelope has no issue-side error', () => { - expect( - extractGitHubIssueSourceError( - { id: 'repo-1', path: '/work/orca' }, - { - sources: { issues: { owner: 'stablyai', repo: 'orca' } } - } - ) - ).toBeNull() - }) -}) - -describe('extractGitHubIssueSourceFallback', () => { - it('reports the repo whose upstream issue source fell back to origin', () => { - expect( - extractGitHubIssueSourceFallback( - { id: 'repo-1', path: '/work/orca', displayName: 'orca' }, - { - issueSourceFellBack: true, - sources: { - issues: { owner: 'stablyai', repo: 'orca-fork' }, - prs: { owner: 'stablyai', repo: 'orca' } - } - } - ) - ).toEqual({ - repoId: 'repo-1', - repoPath: '/work/orca', - repoLabel: 'stablyai/orca' - }) - }) - - it('uses the Orca repo display name when the PR source is unavailable', () => { - expect( - extractGitHubIssueSourceFallback( - { id: 'repo-1', path: '/work/orca', displayName: 'orca' }, - { - issueSourceFellBack: true, - sources: { issues: null, prs: null } - } - ) - ).toEqual({ - repoId: 'repo-1', - repoPath: '/work/orca', - repoLabel: 'orca' - }) - }) - - it('returns null when the source resolver did not fall back', () => { - expect( - extractGitHubIssueSourceFallback( - { id: 'repo-1', path: '/work/orca', displayName: 'orca' }, - { - sources: { issues: { owner: 'stablyai', repo: 'orca' } } - } - ) - ).toBeNull() - }) -}) diff --git a/mobile/src/tasks/host-repo-list.test.ts b/mobile/src/tasks/host-repo-list.test.ts index 7bd0da4c6c6..025aaa5f85c 100644 --- a/mobile/src/tasks/host-repo-list.test.ts +++ b/mobile/src/tasks/host-repo-list.test.ts @@ -41,12 +41,6 @@ describe('hostRepoListReducer', () => { const loaded = reduce(idle, { type: 'resolved', repos: [{ id: 'a' }] }) expect(reduce(loaded, { type: 'reset' })).toEqual(idle) }) - - it('returns the identical state when a reset or repeat request changes nothing', () => { - expect(hostRepoListReducer(idle, { type: 'reset' })).toBe(idle) - const loading = reduce(idle, { type: 'requested' }) - expect(hostRepoListReducer(loading, { type: 'requested' })).toBe(loading) - }) }) describe('host repo list readiness', () => { diff --git a/mobile/src/tasks/hosted-repo-selection.test.ts b/mobile/src/tasks/hosted-repo-selection.test.ts index 2d6bb5d4059..840a96c965b 100644 --- a/mobile/src/tasks/hosted-repo-selection.test.ts +++ b/mobile/src/tasks/hosted-repo-selection.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it } from 'vitest' -import { isHostedTaskRepo, reconcileRepoSelection } from './hosted-repo-selection' +import { reconcileRepoSelection } from './hosted-repo-selection' const repos = [ { id: 'a', kind: 'worktree' }, @@ -7,27 +7,11 @@ const repos = [ { id: 'folder', kind: 'folder' } ] -describe('isHostedTaskRepo', () => { - it('excludes folder workspaces and keeps everything else', () => { - expect(repos.filter(isHostedTaskRepo).map((repo) => repo.id)).toEqual(['a', 'b']) - expect(isHostedTaskRepo({ id: 'no-kind' })).toBe(true) - }) -}) - describe('reconcileRepoSelection', () => { - it('treats an absent or empty persisted selection as "all repos"', () => { - expect(reconcileRepoSelection(repos, null)).toEqual(new Set()) - expect(reconcileRepoSelection(repos, [])).toEqual(new Set()) - }) - it('drops ids this host no longer has', () => { expect(reconcileRepoSelection(repos, ['a', 'gone'])).toEqual(new Set(['a'])) }) - it('widens back to all repos when nothing in the selection survives', () => { - expect(reconcileRepoSelection(repos, ['gone'])).toEqual(new Set()) - }) - it('never selects a folder workspace', () => { expect(reconcileRepoSelection(repos, ['folder'])).toEqual(new Set()) }) diff --git a/mobile/src/tasks/hosted-review-start-point.test.ts b/mobile/src/tasks/hosted-review-start-point.test.ts deleted file mode 100644 index 32c2769d7aa..00000000000 --- a/mobile/src/tasks/hosted-review-start-point.test.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { shouldResolveHostedReviewStartPoint } from './hosted-review-start-point' - -describe('shouldResolveHostedReviewStartPoint', () => { - it('resolves PR and MR start points when no explicit base branch was selected', () => { - expect(shouldResolveHostedReviewStartPoint({ type: 'pr' })).toBe(true) - expect(shouldResolveHostedReviewStartPoint({ type: 'mr', baseBranchOverride: '' })).toBe(true) - }) - - it('does not resolve a hosted review start point when the user selected a base branch', () => { - expect( - shouldResolveHostedReviewStartPoint({ - type: 'pr', - baseBranchOverride: 'origin/feature/manual' - }) - ).toBe(false) - expect( - shouldResolveHostedReviewStartPoint({ - type: 'mr', - baseBranchOverride: 'origin/release' - }) - ).toBe(false) - }) - - it('never resolves start points for issues', () => { - expect(shouldResolveHostedReviewStartPoint({ type: 'issue' })).toBe(false) - }) -}) diff --git a/mobile/src/tasks/jira-mobile-connection.ts b/mobile/src/tasks/jira-mobile-connection.ts index 0bd5fefac7b..d461d07d48c 100644 --- a/mobile/src/tasks/jira-mobile-connection.ts +++ b/mobile/src/tasks/jira-mobile-connection.ts @@ -1,5 +1,5 @@ import type { JiraSite, JiraSiteSelection } from '../../../src/shared/jira/jira-types' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' import type { RpcResponse } from '../transport/rpc/rpc-wire-types' import { jiraConnectionStatusSchema } from './jira-reply-schema' import { jiraConnectionStatusProbe, jiraConnectionStatusRead } from './mobile-jira-operations' @@ -88,7 +88,7 @@ function resolveJiraSiteSelection( // Explicit refreshes surface failures instead of presenting a setup prompt. export async function readJiraConnection( - client: RpcOperationSender + client: UnvalidatedRpcRequestPort ): Promise { return extractJiraConnection( jiraConnectionStatusRead.interpret(await jiraConnectionStatusRead.request(client)) diff --git a/mobile/src/tasks/jira-mobile-issue-read.test.ts b/mobile/src/tasks/jira-mobile-issue-read.test.ts deleted file mode 100644 index 12888d54349..00000000000 --- a/mobile/src/tasks/jira-mobile-issue-read.test.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { toJiraDetailComments } from './jira-mobile-issue-read' - -describe('toJiraDetailComments', () => { - it('maps the author and avatar off the nested user', () => { - expect( - toJiraDetailComments([ - { - id: '10', - body: 'hi', - createdAt: '2026-01-01T00:00:00Z', - user: { accountId: 'a', displayName: 'Dana', avatarUrl: 'https://x/y.png' } - } - ]) - ).toEqual([ - { - id: '10', - author: 'Dana', - authorAvatarUrl: 'https://x/y.png', - body: 'hi', - createdAt: '2026-01-01T00:00:00Z' - } - ]) - }) - - it('degrades to an empty list instead of breaking the detail sheet', () => { - expect(toJiraDetailComments(null)).toEqual([]) - expect(toJiraDetailComments({ error: 'nope' })).toEqual([]) - }) - - it('drops entries without a usable id', () => { - expect( - toJiraDetailComments([{ id: 5, body: 'x' }, { body: 'y' }, { id: '7', body: 'z' }]) - ).toEqual([ - { id: '7', author: undefined, authorAvatarUrl: undefined, body: 'z', createdAt: undefined } - ]) - }) -}) diff --git a/mobile/src/tasks/jira-mobile-url-lookup.test.ts b/mobile/src/tasks/jira-mobile-url-lookup.test.ts deleted file mode 100644 index 22a2163fd24..00000000000 --- a/mobile/src/tasks/jira-mobile-url-lookup.test.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { describe, expect, it, vi } from 'vitest' -import type { JiraIssue, JiraSite } from '../../../src/shared/jira/jira-types' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' -import { lookupJiraIssueByUrl } from './jira-mobile-url-lookup' - -const acme: JiraSite = { - id: 'site-acme', - siteUrl: 'https://acme.atlassian.net', - email: 'me@acme.com', - displayName: 'Acme', - accountId: 'acc-1' -} -const other: JiraSite = { ...acme, id: 'site-other', siteUrl: 'https://other.atlassian.net' } - -function issue(overrides: Partial = {}): JiraIssue { - return { - id: '1', - key: 'ORCA-123', - siteId: 'site-acme', - title: 'Add Jira to mobile', - url: 'https://acme.atlassian.net/browse/ORCA-123', - project: { id: 'p1', key: 'ORCA', name: 'Orca' }, - issueType: { id: 't1', name: 'Task' }, - status: { id: 's1', name: 'To Do', categoryKey: 'new', categoryName: 'To Do' }, - labels: [], - updatedAt: '2026-01-01T00:00:00Z', - createdAt: '2026-01-01T00:00:00Z', - ...overrides - } -} - -function clientReturning(result: unknown, sendRequest = vi.fn()): RpcOperationSender { - sendRequest.mockResolvedValue({ ok: true, result }) - return { sendRequest } -} - -describe('lookupJiraIssueByUrl', () => { - it('never queries a site the pasted URL does not belong to', async () => { - const sendRequest = vi.fn() - const client = clientReturning(issue(), sendRequest) - // Same issue keys can exist on multiple sites; never answer an acme link with another site’s issue. - await expect( - lookupJiraIssueByUrl(client, 'https://acme.atlassian.net/browse/ORCA-123', [other]) - ).resolves.toBeNull() - expect(sendRequest).not.toHaveBeenCalled() - }) -}) diff --git a/mobile/src/tasks/jira-mobile-url-lookup.ts b/mobile/src/tasks/jira-mobile-url-lookup.ts index e2155e6b330..0db57d4197b 100644 --- a/mobile/src/tasks/jira-mobile-url-lookup.ts +++ b/mobile/src/tasks/jira-mobile-url-lookup.ts @@ -4,12 +4,12 @@ import { isResolvedJiraIssueMatch, parseJiraIssueUrl } from '../../../src/shared/jira/jira-issue-url' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' import { jiraIssueRead } from './mobile-jira-operations' // Match a connected site before resolving keys that may exist on several sites. export async function lookupJiraIssueByUrl( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, value: string, sites: readonly JiraSite[] ): Promise { diff --git a/mobile/src/tasks/mobile-jira-task-source.ts b/mobile/src/tasks/mobile-jira-task-source.ts index ae640eeede6..f0d44602ffd 100644 --- a/mobile/src/tasks/mobile-jira-task-source.ts +++ b/mobile/src/tasks/mobile-jira-task-source.ts @@ -3,7 +3,7 @@ import type { JiraIssueFilter, JiraSiteSelection } from '../../../src/shared/jira/jira-types' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' import { toJiraDetailComments } from './jira-mobile-issue-read' import { jiraIssueCommentsRead, @@ -18,7 +18,7 @@ const DETAIL_TIMEOUT_MS = 30_000 // Raw JQL replaces the selected preset, matching desktop. export async function fetchJiraTaskIssues( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, args: { jql: string; filter: JiraIssueFilter; siteId: JiraSiteSelection | null } ): Promise { const jql = args.jql.trim() @@ -41,7 +41,7 @@ export async function fetchJiraTaskIssues( } export async function fetchJiraIssueDetail( - client: RpcOperationSender, + client: UnvalidatedRpcRequestPort, args: { key: string; siteId?: string } ): Promise<{ issue: JiraIssue; comments: ReturnType }> { const params = { key: args.key, siteId: args.siteId } diff --git a/mobile/src/tasks/mobile-linear-group-sorted.test.ts b/mobile/src/tasks/mobile-linear-group-sorted.test.ts deleted file mode 100644 index 21ec710cdac..00000000000 --- a/mobile/src/tasks/mobile-linear-group-sorted.test.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { afterEach, describe, expect, it, vi } from 'vitest' -import type { LinearIssue } from './mobile-tasks-provider-detail-types' -import { - sortLinearIssues, - groupLinearIssues, - groupSortedLinearIssues -} from './mobile-tasks-reviewer-linear' - -vi.mock('./mobile-tasks-dependencies', () => import('../theme/mobile-theme')) -afterEach(() => vi.restoreAllMocks()) - -const issues: LinearIssue[] = Array.from({ length: 60 }, (_, i) => ({ - id: `${i}`, - identifier: ['ENG-10', 'ENG-2', 'Ä-1', 'Å-1', 'é-2', 'e\u0301-2', 'İ-3'][i % 7], - title: 'Task', - url: '', - labels: [], - priority: i % 5, - updatedAt: ['2026-02-01', 'invalid', '1970-01-01', '2026-02-01', '2025-01-01'][ - Math.floor(i / 5) % 5 - ], - state: { name: i % 2 ? 'Todo' : 'Done', type: 'started', color: '' }, - team: { id: `${i % 3}`, name: `Team ${i % 3}`, key: 'ENG' } -})) - -describe('mobile Linear grouping of sorted issues', () => { - it('does no date parsing or collation after ordering has been established', () => { - const sorted = sortLinearIssues(issues, 'updated') - const parse = vi.spyOn(Date, 'parse') - const compare = vi.spyOn(String.prototype, 'localeCompare') - groupSortedLinearIssues(sorted, 'none') - groupSortedLinearIssues(sorted, 'status') - expect(parse).not.toHaveBeenCalled() - expect(compare).not.toHaveBeenCalled() - groupLinearIssues(sorted, 'status', 'updated') - expect(parse).toHaveBeenCalled() - }) - - it('returns independent issue arrays for empty, singleton and ungrouped inputs', () => { - for (const input of [[], [issues[0]], issues]) { - const sorted = Object.freeze([...input]) - const first = groupSortedLinearIssues(sorted, 'none') - const second = groupSortedLinearIssues(sorted, 'none') - expect(first).toEqual(second) - expect(first[0].issues).not.toBe(second[0].issues) - first[0].issues.pop() - expect(second[0].issues).toEqual(sorted) - } - expect(groupSortedLinearIssues([], 'status')).toEqual([]) - }) -}) diff --git a/mobile/src/tasks/mobile-linear-sort.test.ts b/mobile/src/tasks/mobile-linear-sort.test.ts deleted file mode 100644 index 7e2149e1e84..00000000000 --- a/mobile/src/tasks/mobile-linear-sort.test.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { afterEach, describe, expect, it, vi } from 'vitest' -import type { LinearIssue } from './mobile-tasks-provider-detail-types' -import { sortLinearIssues } from './mobile-tasks-reviewer-linear' - -vi.mock('./mobile-tasks-dependencies', () => import('../theme/mobile-theme')) -afterEach(() => vi.restoreAllMocks()) - -const issues: LinearIssue[] = Array.from({ length: 60 }, (_, i) => ({ - id: `${i}`, - identifier: ['ENG-10', 'ENG-2', 'Ä-1', 'Å-1', 'é-2', 'e\u0301-2', 'İ-3'][i % 7], - title: 'Task', - url: '', - labels: [], - priority: i % 5, - updatedAt: ['2026-02-01', 'invalid', '1970-01-01', '2026-02-01', '2025-01-01'][ - Math.floor(i / 5) % 5 - ], - state: { name: i % 2 ? 'Todo' : 'Done', type: 'started', color: '' }, - team: { id: `${i % 3}`, name: `Team ${i % 3}`, key: 'ENG' } -})) -describe('mobile Linear sorting', () => { - it.each(['updated', 'identifier', 'priority'] as const)('bounds %s setup to one pass', (mode) => { - const parse = vi.spyOn(Date, 'parse') - const NativeCollator = Intl.Collator - const collator = vi.spyOn(Intl, 'Collator').mockImplementation(function (locales, options) { - return new NativeCollator(locales, options) - }) - const compare = vi.spyOn(String.prototype, 'localeCompare') - const before = [...issues] - const actual = sortLinearIssues(issues, mode) - const expectedFirstIds = { - updated: ['0', '1', '2'], - priority: ['1', '16', '26'], - identifier: ['1', '8', '15'] - } - const ordered = - mode === 'identifier' ? actual.filter((issue) => issue.identifier.startsWith('ENG-')) : actual - expect(ordered.slice(0, 3).map((issue) => issue.id)).toEqual(expectedFirstIds[mode]) - expect(actual).toHaveLength(issues.length) - expect(issues).toEqual(before) - expect(parse).toHaveBeenCalledTimes(mode === 'identifier' ? 0 : issues.length) - expect(collator).toHaveBeenCalledTimes(mode === 'identifier' ? 1 : 0) - expect(compare).not.toHaveBeenCalled() - }) - - it('skips setup for empty and singleton inputs and returns fresh arrays', () => { - const parse = vi.spyOn(Date, 'parse') - const NativeCollator = Intl.Collator - const collator = vi.spyOn(Intl, 'Collator').mockImplementation(function (locales, options) { - return new NativeCollator(locales, options) - }) - for (const mode of ['updated', 'identifier', 'priority'] as const) { - for (const input of [[], [issues[0]]]) { - const actual = sortLinearIssues(input, mode) - expect(actual).toEqual(input) - expect(actual).not.toBe(input) - } - } - expect(parse).not.toHaveBeenCalled() - expect(collator).not.toHaveBeenCalled() - }) -}) diff --git a/mobile/src/tasks/mobile-smart-source-modes.test.ts b/mobile/src/tasks/mobile-smart-source-modes.test.ts deleted file mode 100644 index d4a2fb269b4..00000000000 --- a/mobile/src/tasks/mobile-smart-source-modes.test.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - normalizeSmartMode, - resolveAvailableSmartModes, - resolveDefaultSmartMode -} from './mobile-smart-source-modes' - -const fullyAvailable = { - textOnly: false, - tasksSupported: true, - hasRepo: true, - githubAvailable: true, - gitlabAvailable: true, - linearAvailable: true, - jiraAvailable: true -} - -describe('resolveAvailableSmartModes', () => { - it('lists every mode in desktop order when all are available', () => { - expect(resolveAvailableSmartModes(fullyAvailable)).toEqual([ - 'smart', - 'github', - 'linear', - 'jira', - 'gitlab', - 'branches', - 'text' - ]) - }) - - it('collapses to Name for a non-git (text-only) repo', () => { - expect(resolveAvailableSmartModes({ ...fullyAvailable, textOnly: true })).toEqual(['text']) - }) - - it('drops provider + smart modes when the tasks RPC surface is missing', () => { - expect(resolveAvailableSmartModes({ ...fullyAvailable, tasksSupported: false })).toEqual([ - 'branches', - 'text' - ]) - }) - - it('gates provider tabs on their availability and a selected repo', () => { - expect( - resolveAvailableSmartModes({ - ...fullyAvailable, - githubAvailable: false, - gitlabAvailable: false - }) - ).toEqual(['smart', 'linear', 'jira', 'branches', 'text']) - expect(resolveAvailableSmartModes({ ...fullyAvailable, hasRepo: false })).toEqual([ - 'smart', - 'linear', - 'jira', - 'text' - ]) - }) - - it('keeps the Jira tab repo-independent but hides it when Jira is disconnected', () => { - expect(resolveAvailableSmartModes({ ...fullyAvailable, hasRepo: false })).toContain('jira') - expect(resolveAvailableSmartModes({ ...fullyAvailable, jiraAvailable: false })).not.toContain( - 'jira' - ) - }) -}) - -describe('resolveDefaultSmartMode', () => { - it('defaults to smart for a git repo with search', () => { - expect(resolveDefaultSmartMode(fullyAvailable)).toBe('smart') - }) - - it('defaults to text for a non-git repo', () => { - expect(resolveDefaultSmartMode({ ...fullyAvailable, textOnly: true })).toBe('text') - }) - - it('defaults to branches for a git repo without the tasks surface', () => { - expect(resolveDefaultSmartMode({ ...fullyAvailable, tasksSupported: false })).toBe('branches') - }) -}) - -describe('normalizeSmartMode', () => { - it('keeps a valid mode and snaps an unavailable one back to default', () => { - expect(normalizeSmartMode('gitlab', fullyAvailable)).toBe('gitlab') - expect(normalizeSmartMode('gitlab', { ...fullyAvailable, gitlabAvailable: false })).toBe( - 'smart' - ) - }) -}) diff --git a/mobile/src/tasks/mobile-task-copy-feedback-timer.test.ts b/mobile/src/tasks/mobile-task-copy-feedback-timer.test.ts index 687bb76f3ed..2f6f6d27bab 100644 --- a/mobile/src/tasks/mobile-task-copy-feedback-timer.test.ts +++ b/mobile/src/tasks/mobile-task-copy-feedback-timer.test.ts @@ -39,20 +39,6 @@ describe('mobile task copy feedback timer', () => { expect(timerRef.current).toBeNull() }) - it('replaces stale copy feedback timers', () => { - vi.useFakeTimers() - const timerRef = createTimerRef() - const copied = createCopiedKeyState('task:one') - - scheduleMobileTaskCopyFeedbackReset(timerRef, 'task:one', copied.setCopiedKey) - copied.setCopiedKey(() => 'task:two') - scheduleMobileTaskCopyFeedbackReset(timerRef, 'task:two', copied.setCopiedKey) - vi.runOnlyPendingTimers() - - expect(copied.value).toBeNull() - expect(timerRef.current).toBeNull() - }) - it('cancels pending copy feedback work', () => { vi.useFakeTimers() const timerRef = createTimerRef() diff --git a/mobile/src/tasks/mobile-task-sort.test.ts b/mobile/src/tasks/mobile-task-sort.test.ts deleted file mode 100644 index fd65884028d..00000000000 --- a/mobile/src/tasks/mobile-task-sort.test.ts +++ /dev/null @@ -1,69 +0,0 @@ -import { describe, expect, it, vi } from 'vitest' -import type { TaskItem } from './mobile-tasks-project-workspace-types' -import type { RepoSummary } from './mobile-tasks-provider-detail-types' -import { sortMobileTaskItems } from './mobile-tasks-repository-presentation' - -vi.mock('./mobile-tasks-dependencies', () => import('../theme/mobile-theme')) - -function task( - provider: TaskItem['provider'], - label: string, - updatedAt: string, - key: string -): TaskItem { - const source = - provider === 'linear' - ? { team: { id: label, name: label }, state: { color: '' } } - : provider === 'gitlabTodo' - ? { projectPath: label } - : { repoId: label, repoName: label } - return { provider, source, updatedAt, key, title: key, subtitle: '', status: '' } as TaskItem -} -const repos = new Map([ - ['alias', { id: 'alias', displayName: 'Álpha', path: '/repo' }] -]) -const items = [ - task('github', 'alias', '2026-01-01', 'a'), - task('gitlab', 'alpha', '2026-02-01', 'b'), - task('gitlabTodo', 'Zeta', 'invalid', 'c'), - task('linear', 'Älpha', '2026-02-01', 'd'), - task('github', 'alpha', '2026-02-01', 'e'), - task('linear', 'Zeta', '1970-01-01', 'f') -] - -describe('mobile task sorting', () => { - it.each(['repository', 'updated'] as const)('computes %s keys only once per item', (sort) => { - const parse = vi.spyOn(Date, 'parse') - const getRepo = vi.spyOn(repos, 'get') - const localeCompare = vi.spyOn(String.prototype, 'localeCompare') - try { - const before = [...items] - const actual = sortMobileTaskItems(items, sort, repos) - expect(actual.map((item) => item.key)).toEqual(['b', 'd', 'e', 'a', 'c', 'f']) - expect(items).toEqual(before) - expect(parse).toHaveBeenCalledTimes(items.length) - expect(getRepo).toHaveBeenCalledTimes(sort === 'repository' ? 3 : 0) - expect(localeCompare).not.toHaveBeenCalled() - } finally { - parse.mockRestore() - getRepo.mockRestore() - localeCompare.mockRestore() - } - }) - - it('skips setup for empty/singleton arrays while returning a fresh array', () => { - const parse = vi.spyOn(Date, 'parse') - const collator = vi.spyOn(Intl, 'Collator') - try { - expect(sortMobileTaskItems([], 'repository', repos)).toEqual([]) - const one = [items[0]] - expect(sortMobileTaskItems(one, 'repository', repos)).toEqual(one) - expect(sortMobileTaskItems(one, 'updated', repos)).not.toBe(one) - expect(parse).not.toHaveBeenCalled() - expect(collator).not.toHaveBeenCalled() - } finally { - parse.mockRestore() - collator.mockRestore() - } - }) -}) diff --git a/mobile/src/tasks/mobile-tasks-host-subtitle.tsx b/mobile/src/tasks/mobile-tasks-host-subtitle.tsx index e6cf9004e64..07d2a20cc03 100644 --- a/mobile/src/tasks/mobile-tasks-host-subtitle.tsx +++ b/mobile/src/tasks/mobile-tasks-host-subtitle.tsx @@ -1,7 +1,7 @@ import { StyleSheet, Text } from 'react-native' import { hostScreenStyles } from '../host-screen/host-screen-styles' -import { useHostProfile } from '../transport/hosts/use-host-profile' -import { useHostDisplay } from '../transport/hosts/use-host-display' +import { useHostProfile } from '../host-catalog/use-host-profile' +import { useHostDisplay } from '../host-descriptors/use-host-display' import { useMobileColorScheme } from './mobile-tasks-dependencies' export function MobileTasksHostSubtitle({ hostId }: { hostId: string }) { diff --git a/mobile/src/tasks/mobile-tasks-hosted-review.ts b/mobile/src/tasks/mobile-tasks-hosted-review.ts index dbc47832fba..c12cbf19ea8 100644 --- a/mobile/src/tasks/mobile-tasks-hosted-review.ts +++ b/mobile/src/tasks/mobile-tasks-hosted-review.ts @@ -1,7 +1,6 @@ import { getHostedMergeLabel } from './mobile-hosted-check-status' import { projectRowType } from './mobile-tasks-item-mapping' import type { - HostedReviewItem, HostedReviewMergeMethod, PendingHostedMerge, PendingHostedStateChange, @@ -14,6 +13,8 @@ import type { GitHubPRReviewerRow, GitHubWorkItem } from './mobile-tasks-provider-detail-types' +import { GITHUB_PR_MERGE_METHOD_I18N_KEYS } from '../../../src/shared/github/pull-request-merge-methods' +import { translate } from '../i18n/mobile-i18n' export const LINEAR_PRIORITY_LABELS: Record = { 0: 'None', @@ -137,35 +138,59 @@ export function getGitHubMergeLabel(item: GitHubWorkItem): string | null { } export function getHostedReviewMergeMethodLabel(method: HostedReviewMergeMethod): string { - if (method === 'squash') { - return 'Squash and merge' - } - if (method === 'rebase') { - return 'Rebase and merge' - } - return 'Create merge commit' + return translate( + GITHUB_PR_MERGE_METHOD_I18N_KEYS[method], + method === 'squash' + ? 'Squash and merge' + : method === 'rebase' + ? 'Rebase and merge' + : 'Create merge commit' + ) } -export function hostedReviewMergeTargetLabel(item: HostedReviewItem): string { - return item.provider === 'gitlab' ? 'merge request' : 'PR' +function mergeConfirmMessage( + provider: 'github' | 'gitlab', + method: HostedReviewMergeMethod, + number: number | null +): string { + if (provider === 'gitlab') { + if (method === 'squash') { + return translate( + 'tasks.hostedMerge.confirmGitLabSquash', + 'Squash and merge merge request #{{number}}?', + { number } + ) + } + if (method === 'rebase') { + return translate( + 'tasks.hostedMerge.confirmGitLabRebase', + 'Rebase and merge merge request #{{number}}?', + { number } + ) + } + return translate('tasks.hostedMerge.confirmGitLabMerge', 'Merge merge request #{{number}}?', { + number + }) + } + if (method === 'squash') { + return translate('tasks.hostedMerge.confirmGitHubSquash', 'Squash and merge PR #{{number}}?', { + number + }) + } + if (method === 'rebase') { + return translate('tasks.hostedMerge.confirmGitHubRebase', 'Rebase and merge PR #{{number}}?', { + number + }) + } + return translate('tasks.hostedMerge.confirmGitHubMerge', 'Merge PR #{{number}}?', { number }) } export function getHostedMergeConfirmMessage(pending: PendingHostedMerge): string { - const target = hostedReviewMergeTargetLabel(pending.item) - if (pending.method === 'squash') { - return `Squash and merge ${target} #${pending.item.source.number}?` - } - const action = pending.method === 'rebase' ? 'Rebase and merge' : 'Merge' - return `${action} ${target} #${pending.item.source.number}?` + return mergeConfirmMessage(pending.item.provider, pending.method, pending.item.source.number) } export function getProjectGitHubMergeConfirmMessage(pending: PendingProjectGitHubMerge): string { - const number = pending.row.content.number - if (pending.method === 'squash') { - return `Squash and merge PR #${number}?` - } - const action = pending.method === 'rebase' ? 'Rebase and merge' : 'Merge' - return `${action} PR #${number}?` + return mergeConfirmMessage('github', pending.method, pending.row.content.number) } export function hostedStateChangeAction(nextState: PendingHostedStateChange['nextState']): string { diff --git a/mobile/src/tasks/mobile-tasks-item-state-glyph.ts b/mobile/src/tasks/mobile-tasks-item-state-glyph.ts index 8bf32a31f6a..84e66c4ac99 100644 --- a/mobile/src/tasks/mobile-tasks-item-state-glyph.ts +++ b/mobile/src/tasks/mobile-tasks-item-state-glyph.ts @@ -1,14 +1,6 @@ -import { - Circle, - CircleCheck, - CircleDot, - GitMerge, - GitPullRequest, - GitPullRequestClosed, - GitPullRequestDraft, - type LucideIcon -} from 'lucide-react-native' +import { Circle, CircleCheck, CircleDot, type LucideIcon } from 'lucide-react-native' import { prStateColor } from '../components/WorktreeMetaGlyphs' +import { prStateIcon } from '../components/pr-state-token' import { colors } from '../theme/mobile-theme' import type { TaskItem } from './mobile-tasks-project-workspace-types' @@ -16,17 +8,7 @@ export type TaskItemStateGlyph = { icon: LucideIcon; color: string } // The shape says issue or review and its state, coloured as desktop's task page and review icons. function reviewGlyph(state: string): TaskItemStateGlyph { - const color = prStateColor(state === 'opened' ? 'open' : state) - if (state === 'merged') { - return { icon: GitMerge, color } - } - if (state === 'closed') { - return { icon: GitPullRequestClosed, color } - } - if (state === 'draft') { - return { icon: GitPullRequestDraft, color } - } - return { icon: GitPullRequest, color } + return { icon: prStateIcon(state), color: prStateColor(state === 'opened' ? 'open' : state) } } function issueGlyph(state: string): TaskItemStateGlyph { diff --git a/mobile/src/tasks/mobile-tasks-list-state.tsx b/mobile/src/tasks/mobile-tasks-list-state.tsx index b190e73ba31..35879dcb433 100644 --- a/mobile/src/tasks/mobile-tasks-list-state.tsx +++ b/mobile/src/tasks/mobile-tasks-list-state.tsx @@ -9,8 +9,8 @@ import { } from '../components/MobileStateView' import { useForceReconnect } from '../transport/connection/host-client-hooks' import { isConnectionOutage } from '../transport/connection/connection-health' -import { useHostDisplay } from '../transport/hosts/use-host-display' -import { useHostProfile } from '../transport/hosts/use-host-profile' +import { useHostDisplay } from '../host-descriptors/use-host-display' +import { useHostProfile } from '../host-catalog/use-host-profile' import { spacing } from '../theme/mobile-theme' import { translate } from '../i18n/mobile-i18n' import type { ConnectionPresentationModel } from './use-mobile-tasks-connection-presentation' diff --git a/mobile/src/tasks/mobile-tasks-reviewer-linear.test.ts b/mobile/src/tasks/mobile-tasks-reviewer-linear.test.ts deleted file mode 100644 index 4fc2ce654e9..00000000000 --- a/mobile/src/tasks/mobile-tasks-reviewer-linear.test.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { describe, expect, it, vi } from 'vitest' - -vi.mock('./mobile-tasks-dependencies', () => import('../theme/mobile-theme')) -import { reconcileTeamSelection } from './mobile-tasks-reviewer-linear' -import type { LinearTeam } from './mobile-tasks-provider-detail-types' - -function team(id: string): LinearTeam { - return { id, name: id, key: id.toUpperCase() } -} - -describe('reconcileTeamSelection', () => { - it('selects every team for sticky-all', () => { - expect([...reconcileTeamSelection([team('a'), team('b')], null)]).toEqual(['a', 'b']) - }) - - it('keeps saved teams that still exist', () => { - expect([...reconcileTeamSelection([team('a'), team('b')], ['b'])]).toEqual(['b']) - }) - - // Older hosts may publish persisted selection as a string; keep that compatible. - it('reads a saved value of the wrong shape as sticky-all instead of throwing', () => { - expect([...reconcileTeamSelection([team('a'), team('b')], 'a')]).toEqual(['a', 'b']) - expect([...reconcileTeamSelection([team('a'), team('b')], { 0: 'a' })]).toEqual(['a', 'b']) - }) -}) diff --git a/mobile/src/tasks/sparse-preset-draft.test.ts b/mobile/src/tasks/sparse-preset-draft.test.ts index 852dd874f72..9fd7c493894 100644 --- a/mobile/src/tasks/sparse-preset-draft.test.ts +++ b/mobile/src/tasks/sparse-preset-draft.test.ts @@ -15,13 +15,6 @@ describe('parseSparsePresetDirectories', () => { }) }) - it('requires at least one directory', () => { - expect(parseSparsePresetDirectories(' \n ')).toEqual({ - directories: [], - error: 'Add at least one directory.' - }) - }) - it('rejects root and parent path entries', () => { expect(parseSparsePresetDirectories('.')).toEqual({ directories: [], diff --git a/mobile/src/tasks/task-item-comment-reply-schema.test.ts b/mobile/src/tasks/task-item-comment-reply-schema.test.ts deleted file mode 100644 index e37c4397b84..00000000000 --- a/mobile/src/tasks/task-item-comment-reply-schema.test.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { z } from 'zod' -import { - linearCommentWrittenSchema, - reviewThreadResolvedSchema, - taskCommentWrittenSchema -} from './task-item-comment-reply-schema' - -function reads(schema: z.ZodType, value: unknown): T { - const parsed = schema.safeParse(value) - if (!parsed.success) { - throw new Error(`expected a readable reply: ${parsed.error.message}`) - } - return parsed.data -} - -function refuses(schema: z.ZodType, value: unknown): boolean { - return !schema.safeParse(value).success -} - -describe('the five writes that answer with a comment', () => { - it('reads the representative GitHub, GitLab and review-reply envelopes unchanged', () => { - for (const comment of [ - { id: 902, author: 'You', body: 'a comment', createdAt: '2020-01-01T00:00:00.000Z' }, - { - id: 903, - author: 'You', - body: 'a reply', - createdAt: '2020-01-01T00:00:00.000Z', - path: 'src/index.ts', - line: 12, - threadId: 'thread-1' - } - ]) { - expect(reads(taskCommentWrittenSchema, { ok: true, comment }).comment).toMatchObject(comment) - } - }) - - it('keeps ok tri-state and leaves the refusal wording to the call site', () => { - expect(reads(taskCommentWrittenSchema, { ok: false }).error).toBeUndefined() - expect(reads(taskCommentWrittenSchema, { ok: false, error: 'no' }).error).toBe('no') - expect(reads(taskCommentWrittenSchema, {}).ok).toBeUndefined() - }) - - it('names a reply that is not the envelope, which main read members off', () => { - expect(refuses(taskCommentWrittenSchema, null)).toBe(true) - expect(refuses(taskCommentWrittenSchema, 'posted')).toBe(true) - }) -}) - -describe('the Linear comment write', () => { - it('reads the representative reply and leaves a missing id to the local echo', () => { - expect(reads(linearCommentWrittenSchema, { ok: true, id: 'comment-9' }).id).toBe('comment-9') - expect(reads(linearCommentWrittenSchema, { ok: true }).id).toBeUndefined() - expect(refuses(linearCommentWrittenSchema, null)).toBe(true) - }) -}) - -describe('resolving a review thread', () => { - it('keeps a real false, and names a reply that is not a boolean', () => { - expect(reads(reviewThreadResolvedSchema, true)).toBe(true) - expect(reads(reviewThreadResolvedSchema, false)).toBe(false) - expect(refuses(reviewThreadResolvedSchema, 'true')).toBe(true) - expect(refuses(reviewThreadResolvedSchema, undefined)).toBe(true) - }) -}) diff --git a/mobile/src/tasks/task-item-state-reply-schema.test.ts b/mobile/src/tasks/task-item-state-reply-schema.test.ts deleted file mode 100644 index 032ad6e2db8..00000000000 --- a/mobile/src/tasks/task-item-state-reply-schema.test.ts +++ /dev/null @@ -1,103 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { z } from 'zod' -import { - githubPullRequestChecksSchema, - githubPullRequestFileContentsSchema, - hostedIssueCreatedSchema, - linearIssueCreatedSchema, - linearIssueUpdatedSchema, - taskMutationConfirmationSchema -} from './task-item-state-reply-schema' - -function reads(schema: z.ZodType, value: unknown): T { - const parsed = schema.safeParse(value) - if (!parsed.success) { - throw new Error(`expected a readable reply: ${parsed.error.message}`) - } - return parsed.data -} - -function refuses(schema: z.ZodType, value: unknown): boolean { - return !schema.safeParse(value).success -} - -describe('creating an item', () => { - it('reads a GitHub issue create reply', () => { - const created = reads(hostedIssueCreatedSchema, { - ok: true, - number: 11, - url: 'https://github.com/owner/repo/issues/11' - }) - expect(created).toMatchObject({ ok: true, number: 11 }) - }) - - it('reads a number the composer would not have accepted as absent', () => { - expect(reads(hostedIssueCreatedSchema, { ok: true, number: '11' }).number).toBeUndefined() - }) - - it('leaves id and identifier to the Linear call site, which words that refusal itself', () => { - expect(reads(linearIssueCreatedSchema, { ok: true }).id).toBeUndefined() - expect( - reads(linearIssueCreatedSchema, { ok: true, id: 'issue-3', identifier: 'ENG-3' }).identifier - ).toBe('ENG-3') - expect(refuses(linearIssueCreatedSchema, null)).toBe(true) - }) -}) - -describe('the checks read', () => { - it('reads the representative reply and refuses a payload that is not a list', () => { - expect( - reads(githubPullRequestChecksSchema, [ - { name: 'build', status: 'COMPLETED', conclusion: 'SUCCESS', url: '' } - ]) - ).toHaveLength(1) - expect(refuses(githubPullRequestChecksSchema, { checks: [] })).toBe(true) - expect(refuses(githubPullRequestChecksSchema, null)).toBe(true) - }) -}) - -describe('the file-contents read', () => { - it('reads the representative reply, which is now the shape getPRFileContents returns', () => { - const recorded = { - original: 'a', - modified: 'b', - originalIsBinary: false, - modifiedIsBinary: false - } - expect(reads(githubPullRequestFileContentsSchema, recorded)).toEqual(recorded) - }) - - it('keeps the too-large flags a skipped side carries', () => { - const skipped = { original: '', modified: '', originalTooLarge: true, modifiedTooLarge: true } - expect(reads(githubPullRequestFileContentsSchema, skipped)).toMatchObject(skipped) - }) - - it('still names a payload that is not the container', () => { - expect(refuses(githubPullRequestFileContentsSchema, null)).toBe(true) - expect(refuses(githubPullRequestFileContentsSchema, 'a\nb')).toBe(true) - }) - - it('reads a payload carrying none of the six, because no member is required', () => { - expect(reads(githubPullRequestFileContentsSchema, {})).toEqual({}) - }) -}) - -describe('the two unread replies', () => { - it('reads anything for the Linear state write, whose body no call site looks at', () => { - expect(refuses(linearIssueUpdatedSchema, null)).toBe(false) - expect(refuses(linearIssueUpdatedSchema, 'accepted')).toBe(false) - }) -}) - -describe('the viewed-state confirmation', () => { - it('keeps a real false, which is the refusal the call site words', () => { - expect(reads(taskMutationConfirmationSchema, true)).toBe(true) - expect(reads(taskMutationConfirmationSchema, false)).toBe(false) - }) - - it('names a non-boolean instead of reading it as "not confirmed"', () => { - expect(refuses(taskMutationConfirmationSchema, 'true')).toBe(true) - expect(refuses(taskMutationConfirmationSchema, { ok: true })).toBe(true) - expect(refuses(taskMutationConfirmationSchema, null)).toBe(true) - }) -}) diff --git a/mobile/src/tasks/task-list-reply-schema.test.ts b/mobile/src/tasks/task-list-reply-schema.test.ts deleted file mode 100644 index d5b402de1ba..00000000000 --- a/mobile/src/tasks/task-list-reply-schema.test.ts +++ /dev/null @@ -1,145 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { z } from 'zod' -import { - githubWorkItemCountSchema, - gitlabTodoListSchema, - linearAccountConnectedSchema, - linearAccountStatusSchema, - taskRepoPreferenceWrittenSchema -} from './task-list-reply-schema' - -function reads(schema: z.ZodType, value: unknown): T { - const parsed = schema.safeParse(value) - if (!parsed.success) { - throw new Error(`expected a readable reply: ${parsed.error.message}`) - } - return parsed.data -} - -function refuses(schema: z.ZodType, value: unknown): boolean { - return !schema.safeParse(value).success -} - -describe('Linear account status', () => { - it('reads the representative reply, workspace row included', () => { - const status = reads(linearAccountStatusSchema, { - connected: true, - workspaces: [{ id: 'linear-workspace', name: 'Workspace' }], - selectedWorkspaceId: 'linear-workspace' - }) - expect(status.connected).toBe(true) - expect(status.workspaces?.[0]).toMatchObject({ id: 'linear-workspace', name: 'Workspace' }) - }) - - it('reads a disconnected host the same way every settings family records it', () => { - expect(reads(linearAccountStatusSchema, { connected: false }).connected).toBe(false) - }) - - it('names the null main read `connected` off, which the screen showed as its load error', () => { - expect(refuses(linearAccountStatusSchema, null)).toBe(true) - expect(refuses(linearAccountStatusSchema, 'connected')).toBe(true) - }) - - it('keeps an explicit selectedWorkspaceId null, which the ?? ladder is what interprets', () => { - const status = reads(linearAccountStatusSchema, { - connected: true, - selectedWorkspaceId: null, - activeWorkspaceId: null - }) - expect(status.selectedWorkspaceId).toBeNull() - expect(status.activeWorkspaceId).toBeNull() - }) - - it('drops only the workspace row with no id, which can be neither selected nor matched', () => { - expect(reads(linearAccountStatusSchema, { workspaces: [{ name: 'W' }] }).workspaces).toEqual([]) - expect( - reads(linearAccountStatusSchema, { workspaces: [{ id: 'w-1' }, { name: 'W' }] }).workspaces - ).toEqual([{ id: 'w-1' }]) - expect(reads(linearAccountStatusSchema, { workspaces: 'none' }).workspaces).toBeUndefined() - }) -}) - -describe('the GitHub item count', () => { - it('reads the representative number and names anything else', () => { - expect(reads(githubWorkItemCountSchema, 4)).toBe(4) - expect(refuses(githubWorkItemCountSchema, '4')).toBe(true) - expect(refuses(githubWorkItemCountSchema, { count: 4 })).toBe(true) - expect(refuses(githubWorkItemCountSchema, null)).toBe(true) - }) -}) - -describe('the GitLab to-do inbox', () => { - const RECORDED_TODO = { - id: 1, - actionName: 'review_requested', - targetType: 'Issue', - targetIid: 4, - targetTitle: 'A GitLab todo', - targetUrl: 'https://gitlab.example.com/group/project/-/issues/4', - projectPath: 'group/project', - authorUsername: 'octocat', - authorAvatarUrl: '', - updatedAt: '2020-01-01T00:00:00.000Z', - state: 'pending' - } - - it('reads the representative row through untouched, unread members included', () => { - expect(reads(gitlabTodoListSchema, [RECORDED_TODO])).toEqual([RECORDED_TODO]) - }) - - it('reads nullish as the empty inbox the call site already read', () => { - expect(reads(gitlabTodoListSchema, null)).toBeNull() - expect(reads(gitlabTodoListSchema, undefined)).toBeUndefined() - }) - - it('names a reply that is neither, which the screen showed as ".map is not a function"', () => { - expect(refuses(gitlabTodoListSchema, { todos: [] })).toBe(true) - expect(refuses(gitlabTodoListSchema, 'none')).toBe(true) - }) - - it('drops a row missing a member the screen reads with no guard', () => { - for (const key of ['id', 'actionName', 'targetUrl', 'projectPath', 'updatedAt']) { - const partial: Record = { ...RECORDED_TODO } - delete partial[key] - expect(reads(gitlabTodoListSchema, [partial, RECORDED_TODO])).toEqual([RECORDED_TODO]) - } - }) - - it('keeps a row whose guarded members are absent, because each has a fallback', () => { - const guarded: Record = { ...RECORDED_TODO } - for (const key of ['targetTitle', 'targetType', 'targetIid', 'authorUsername', 'state']) { - delete guarded[key] - } - expect(reads(gitlabTodoListSchema, [guarded])).toEqual([guarded]) - }) - - it('drops a malformed guarded member to absent rather than the whole row', () => { - const row = reads(gitlabTodoListSchema, [ - { ...RECORDED_TODO, targetIid: 'four', state: 'archived' } - ])?.[0] - expect(row).toMatchObject({ id: 1, actionName: 'review_requested' }) - expect(row?.targetIid).toBeUndefined() - expect(row?.state).toBeUndefined() - }) - - it('keeps an explicit targetIid null, which gitLabTodoTargetRef reads as no ref', () => { - expect( - reads(gitlabTodoListSchema, [{ ...RECORDED_TODO, targetIid: null }])?.[0]?.targetIid - ).toBe(null) - }) -}) - -describe('the two writes on this surface', () => { - it('reads the connect envelope and names a reply that is not one', () => { - expect(reads(linearAccountConnectedSchema, { ok: true }).ok).toBe(true) - expect(reads(linearAccountConnectedSchema, { ok: false, error: 'bad key' }).error).toBe( - 'bad key' - ) - expect(refuses(linearAccountConnectedSchema, null)).toBe(true) - }) - - it('reads anything for the repo preference write, whose body the screen never looks at', () => { - expect(refuses(taskRepoPreferenceWrittenSchema, null)).toBe(false) - expect(refuses(taskRepoPreferenceWrittenSchema, 'written')).toBe(false) - }) -}) diff --git a/mobile/src/tasks/task-provider-entity-reply-schema.test.ts b/mobile/src/tasks/task-provider-entity-reply-schema.test.ts deleted file mode 100644 index 7a46f2bca1d..00000000000 --- a/mobile/src/tasks/task-provider-entity-reply-schema.test.ts +++ /dev/null @@ -1,182 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { z } from 'zod' -import { - assignableUserListSchema, - detailCheckListSchema, - detailCommentListSchema, - detailFileListSchema, - reviewSummaryListSchema, - taskCommentWriteEnvelopeSchema, - taskMutationEnvelopeSchema -} from './task-provider-entity-reply-schema' - -function reads(schema: z.ZodType, value: unknown): T { - const parsed = schema.safeParse(value) - if (!parsed.success) { - throw new Error(`expected a readable reply: ${parsed.error.message}`) - } - return parsed.data -} - -function refuses(schema: z.ZodType, value: unknown): boolean { - return !schema.safeParse(value).success -} - -const COMMENT = { id: 902, author: 'You', body: 'a comment', createdAt: '2020-01-01T00:00:00.000Z' } - -describe('the mutation envelope', () => { - it('keeps ok tri-state, so absent is the success main read and false is a refusal', () => { - expect(reads(taskMutationEnvelopeSchema, {}).ok).toBeUndefined() - expect(reads(taskMutationEnvelopeSchema, { ok: true }).ok).toBe(true) - expect(reads(taskMutationEnvelopeSchema, { ok: false }).ok).toBe(false) - }) - - it('reads a non-boolean ok as absent, which is the success main read for it', () => { - expect(reads(taskMutationEnvelopeSchema, { ok: 'false' }).ok).toBeUndefined() - }) - - it('requires the container, which is the property read main died on', () => { - expect(refuses(taskMutationEnvelopeSchema, null)).toBe(true) - expect(refuses(taskMutationEnvelopeSchema, 'accepted')).toBe(true) - expect(refuses(taskMutationEnvelopeSchema, 7)).toBe(true) - }) - - it('drops an error that is not text, so the call site shows its own copy', () => { - expect(reads(taskMutationEnvelopeSchema, { ok: false, error: 'boom' }).error).toBe('boom') - expect( - reads(taskMutationEnvelopeSchema, { ok: false, error: { message: 'boom' } }).error - ).toBeUndefined() - }) - - it('passes members it does not declare straight through', () => { - expect(reads(taskMutationEnvelopeSchema, { ok: true, number: 11 })).toMatchObject({ - number: 11 - }) - }) -}) - -describe('a comment row', () => { - it('requires the id it is keyed by and the body it renders', () => { - expect(reads(detailCommentListSchema, [COMMENT])).toHaveLength(1) - expect(reads(detailCommentListSchema, [{ ...COMMENT, id: 'c-1' }])[0]?.id).toBe('c-1') - expect(reads(detailCommentListSchema, [{ ...COMMENT, id: undefined }])).toEqual([]) - expect(reads(detailCommentListSchema, [{ ...COMMENT, body: undefined }])).toEqual([]) - }) - - it('drops the unreadable row rather than the whole list', () => { - expect(reads(detailCommentListSchema, [COMMENT, { id: 1 }])).toHaveLength(1) - }) - - it('refuses a list that is not one', () => { - expect(refuses(detailCommentListSchema, { comments: [] })).toBe(true) - expect(refuses(detailCommentListSchema, 'none')).toBe(true) - }) - - it('forwards every provider reaction, including the two vocabularies mobile never declared', () => { - const github = [ - { content: '+1', count: 3 }, - { content: '-1', count: 1 }, - { content: 'heart', count: 1 } - ] - expect( - reads(detailCommentListSchema, [{ ...COMMENT, reactions: github }])[0]?.reactions - ).toEqual(github) - const gitlab = [{ name: 'thumbsup', count: 2 }] - expect( - reads(detailCommentListSchema, [{ ...COMMENT, reactions: gitlab }])[0]?.reactions - ).toMatchObject([{ count: 2 }]) - }) - - it('keeps the count the chip filters on and lets a malformed content read as absent', () => { - const row = reads(detailCommentListSchema, [ - { ...COMMENT, reactions: [{ content: 7, count: 2 }] } - ])[0] - expect(row?.reactions).toEqual([{ count: 2 }]) - expect( - reads(detailCommentListSchema, [{ ...COMMENT, reactions: [{ content: '+1' }] }])[0]?.reactions - ).toEqual([]) - }) - - it('leaves every guarded member exactly as the host sent it', () => { - const row = reads(detailCommentListSchema, [ - { ...COMMENT, path: 'src/a.ts', line: 12, threadId: 't-1', isResolved: false } - ])[0] - expect(row).toMatchObject({ path: 'src/a.ts', line: 12, threadId: 't-1', isResolved: false }) - }) -}) - -describe('the comment write envelope', () => { - it('drops a comment the timeline could not key, leaving the local echo in place', () => { - expect( - reads(taskCommentWriteEnvelopeSchema, { ok: true, comment: COMMENT }).comment - ).toMatchObject({ id: 902 }) - expect( - reads(taskCommentWriteEnvelopeSchema, { ok: true, comment: { id: 902 } }).comment - ).toBeUndefined() - expect(reads(taskCommentWriteEnvelopeSchema, { ok: true }).comment).toBeUndefined() - }) -}) - -describe('a user row', () => { - it('requires the login every reader trims, and keeps an explicit null beside it', () => { - const rows = reads(assignableUserListSchema, [ - { login: 'octocat', name: 'Octo', avatarUrl: null } - ]) - expect(rows[0]).toMatchObject({ login: 'octocat', name: 'Octo', avatarUrl: null }) - expect(reads(assignableUserListSchema, [{ name: 'Octo' }])).toEqual([]) - }) - - it('keeps a review row own null state rather than defaulting it', () => { - expect(reads(reviewSummaryListSchema, [{ login: 'octocat', state: null }])[0]?.state).toBeNull() - expect(reads(reviewSummaryListSchema, [{ state: 'APPROVED' }])).toEqual([]) - }) -}) - -describe('a check row and a file row', () => { - it('keeps the host casing the tasks surface actually sends', () => { - const checks = reads(detailCheckListSchema, [ - { name: 'build', status: 'COMPLETED', conclusion: 'SUCCESS', url: '' } - ]) - expect(checks[0]).toMatchObject({ name: 'build', status: 'COMPLETED', conclusion: 'SUCCESS' }) - }) - - it('drops a check with no name or no status', () => { - expect(reads(detailCheckListSchema, [{ status: 'completed' }])).toEqual([]) - expect(reads(detailCheckListSchema, [{ name: 'build' }])).toEqual([]) - }) - - it('requires the path a file row is matched by', () => { - expect(reads(detailFileListSchema, [{ path: 'src/a.ts' }])).toHaveLength(1) - expect(reads(detailFileListSchema, [{ oldPath: 'src/a.ts' }])).toEqual([]) - }) - - it('carries every file status the host will accept back and drops one it would refuse', () => { - for (const status of [ - 'added', - 'modified', - 'removed', - 'renamed', - 'copied', - 'changed', - 'unchanged' - ]) { - expect(reads(detailFileListSchema, [{ path: 'a', status }])[0]?.status).toBe(status) - } - // Absent status uses modified; forwarding an unknown arm would fail the host’s params validation. - expect(reads(detailFileListSchema, [{ path: 'a', status: 'ADDED' }])[0]?.status).toBeUndefined() - }) - - it('forwards a viewed state the host has and one this build predates', () => { - for (const viewerViewedState of ['DISMISSED', 'VIEWED', 'UNVIEWED', 'PENDING']) { - expect( - reads(detailFileListSchema, [{ path: 'a', viewerViewedState }])[0]?.viewerViewedState - ).toBe(viewerViewedState) - } - }) - - it('salvages a malformed viewed state to absent and keeps the row', () => { - const row = reads(detailFileListSchema, [{ path: 'a', viewerViewedState: { v: 'VIEWED' } }])[0] - expect(row?.path).toBe('a') - expect(row?.viewerViewedState).toBeUndefined() - }) -}) diff --git a/mobile/src/tasks/task-query-storage.test.tsx b/mobile/src/tasks/task-query-storage.test.tsx deleted file mode 100644 index 38096465db4..00000000000 --- a/mobile/src/tasks/task-query-storage.test.tsx +++ /dev/null @@ -1,177 +0,0 @@ -import { createElement, type Dispatch, type SetStateAction } from 'react' -import { QueryClient, QueryClientProvider, notifyManager } from '@tanstack/react-query' -import { act, create } from 'react-test-renderer' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { OrcaQueryStoreBackend } from '../device-store/query-storage' -import { hostQueryKey } from '../query/host-query-key' -import { createHostQueryPersistence } from '../query/host-query-persistence' -import type { TaskItem } from './mobile-tasks-project-workspace-types' -import { readKeptTaskHydration } from './task-queries' -import { useTaskListCache } from './use-task-list-cache' -import { - firstPaintTaskKeys, - NO_TASK_INPUT, - TASKS_TARGET, - taskHydrationStorage, - taskLastListKey, - taskLastListStorage, - taskListKey, - taskListStorage -} from './task-query-storage' - -vi.mock('react-native', () => ({ AppState: {} })) -notifyManager.setScheduler(queueMicrotask) - -const HOST = 'host-a' -const SAVED_AT = 1_794_000_000_000 -const params = { provider: 'linear', workspace: 'ws-1', teams: 'team-1', filter: 'assigned' } -const storedRow = { - key: 'linear:STA-12', - provider: 'linear', - title: 'Keep task lists between launches', - subtitle: 'STA-12', - status: 'In Progress', - updatedAt: '2026-11-07T10:00:00.000Z', - source: { id: 'issue-12', identifier: 'STA-12', title: 'Keep task lists between launches' } -} - -function memoryStore(hostId: string) { - const rows = new Map() - const backend: OrcaQueryStoreBackend = { - hostId, - read: async (keys) => ({ - status: 'ok', - values: keys.map((storeKey) => rows.get(storeKey) ?? null) - }), - write: async (ops) => { - for (const op of ops) { - if (op.value === null) { - rows.delete(op.key) - } else { - rows.set(op.key, op.value) - } - } - return { written: true } - } - } - return { backend, rows } -} - -// What one document leaves on disk for the next: each value as its read landed, then flushed. -async function storeFromEarlierLaunch( - store: ReturnType, - records: { queryKey: readonly unknown[]; persist: unknown; data: unknown }[] -) { - const earlier = new QueryClient() - const persistence = createHostQueryPersistence(earlier, store.backend) - for (const { queryKey, persist, data } of records) { - earlier.getQueryCache().build(earlier, { queryKey, meta: { persist } }) - earlier.setQueryData(queryKey, data, { updatedAt: SAVED_AT }) - } - await vi.runAllTimersAsync() - await persistence.flush() -} - -async function relaunch(store: ReturnType) { - const relaunched = new QueryClient() - const persistence = createHostQueryPersistence(relaunched, store.backend) - const restoring = persistence.restore(firstPaintTaskKeys(HOST)) - await vi.runAllTimersAsync() - await restoring - return relaunched -} - -describe('Tasks lists kept on the phone', () => { - beforeEach(() => { - vi.useFakeTimers({ now: SAVED_AT + 60_000 }) - }) - afterEach(() => { - vi.useRealTimers() - }) - - it('draws the list a provider showed at the last launch before Tasks is ready, rows only', async () => { - const store = memoryStore(HOST) - await storeFromEarlierLaunch(store, [ - { - queryKey: taskLastListKey(HOST, 'linear'), - persist: taskLastListStorage.persist, - data: params - }, - { - queryKey: taskListKey(HOST, params), - persist: taskListStorage.persist, - data: { items: [storedRow] } - } - ]) - const relaunched = await relaunch(store) - - const setItems = vi.fn>>() - const setError = vi.fn() - const shown: { rowsReadAt?: number | null } = {} - function Probe() { - shown.rowsReadAt = useTaskListCache({ - hostId: HOST, - items: [], - jiraConnection: { - connected: false, - sites: [], - selection: null, - credentialError: null, - unavailableReason: null - }, - provider: 'linear', - taskUiReady: false, - setItems, - setError, - setGithubPages: vi.fn(), - setGithubCurrentPage: vi.fn(), - setGithubRepoSources: vi.fn(), - setGithubSourceErrors: vi.fn(), - setGithubSourceFallbacks: vi.fn(), - setGithubCountedTotalPages: vi.fn(), - setLoading: vi.fn(), - setTaskListSettled: vi.fn() - }).rowsReadAt - return null - } - await act(async () => { - create(createElement(QueryClientProvider, { client: relaunched }, createElement(Probe))) - await vi.runAllTimersAsync() - }) - - expect(setItems).toHaveBeenCalledWith([storedRow]) - expect(shown.rowsReadAt).toBe(SAVED_AT) - // A failed first read's error stays up over the stored rows. - expect(setError).not.toHaveBeenCalled() - }) - - it('keeps agent launch commands and hook trust out of the stored hydration', async () => { - const store = memoryStore(HOST) - await storeFromEarlierLaunch(store, [ - { - queryKey: hostQueryKey(HOST, taskHydrationStorage.family, TASKS_TARGET, NO_TASK_INPUT), - persist: taskHydrationStorage.persist, - data: { - settings: { - visibleTaskProviders: ['github', 'linear'], - agentCmdOverrides: { claude: 'ANTHROPIC_API_KEY=sk-ant-secret claude' } - }, - ui: { - taskResumeState: { linearPreset: 'assigned' }, - trustedOrcaHooks: { 'repo-1': { setup: 'hash-trusted' } } - }, - glabInstalled: false, - linearConnected: true - } - } - ]) - const kept = readKeptTaskHydration(await relaunch(store), HOST) - expect(kept.stored).toBe(true) - expect(kept.hydration).toEqual({ - settings: { visibleTaskProviders: ['github', 'linear'] }, - ui: { taskResumeState: { linearPreset: 'assigned' } }, - glabInstalled: false, - linearConnected: true - }) - }) -}) diff --git a/mobile/src/tasks/task-runtime-reply-schema.test.ts b/mobile/src/tasks/task-runtime-reply-schema.test.ts index ff9f8f92d6f..63e54afde4a 100644 --- a/mobile/src/tasks/task-runtime-reply-schema.test.ts +++ b/mobile/src/tasks/task-runtime-reply-schema.test.ts @@ -1,63 +1,11 @@ import { describe, expect, it } from 'vitest' import { taskLinearStatusSchema, - taskPreferenceWriteSchema, taskPreflightSchema, - taskRuntimeStatusSchema, taskUiStateSchema } from './task-runtime-reply-schema' -describe('the runtime status', () => { - it('reads the representative capability lists', () => { - for (const capabilities of [['mobile.tasks.v1'], ['files.mutation-ownership.v1']]) { - const parsed = taskRuntimeStatusSchema.safeParse({ capabilities }) - expect(parsed.success && parsed.data).toMatchObject({ capabilities }) - } - }) - - it('requires the container main read `.capabilities` off', () => { - expect(taskRuntimeStatusSchema.safeParse(null).success).toBe(false) - expect(taskRuntimeStatusSchema.safeParse('ok').success).toBe(false) - expect(taskRuntimeStatusSchema.safeParse({}).success).toBe(true) - }) - - it('drops a non-string capability, which `includes` could never have matched', () => { - const parsed = taskRuntimeStatusSchema.safeParse({ capabilities: ['push.v1', 7] }) - expect(parsed.success && parsed.data).toMatchObject({ capabilities: ['push.v1'] }) - }) - - it('leaves worktreeCreateIdempotency untouched in all four states the probe triages', () => { - for (const advertised of [undefined, null, 'nonsense', { dedupeTtlMs: 45_000 }]) { - const parsed = taskRuntimeStatusSchema.safeParse({ worktreeCreateIdempotency: advertised }) - expect(parsed.success).toBe(true) - expect(parsed.success ? parsed.data.worktreeCreateIdempotency : 'unparsed').toEqual( - advertised - ) - } - }) -}) - describe('the persisted UI state', () => { - it('answers the `ui` member, which is what the member reader it replaces did', () => { - const parsed = taskUiStateSchema.safeParse({ - ui: { sortBy: 'name', trustedOrcaHooks: { 'repo-1': { all: { approvedAt: 1 } } } } - }) - expect(parsed.success && parsed.data).toMatchObject({ - sortBy: 'name', - trustedOrcaHooks: { 'repo-1': { all: { approvedAt: 1 } } } - }) - }) - - it('reads the representative empty ui as an empty record, not as absent', () => { - const parsed = taskUiStateSchema.safeParse({ ui: {} }) - expect(parsed.success && parsed.data).toEqual({}) - }) - - it('answers undefined for a payload with no ui, where main read undefined off the object', () => { - const parsed = taskUiStateSchema.safeParse({}) - expect(parsed.success && parsed.data).toBeUndefined() - }) - it.each([null, undefined, 'ok', 7, [], true])( 'answers undefined for %j, so the other hydration legs survive an unreadable ui reply', (payload) => { @@ -69,28 +17,6 @@ describe('the persisted UI state', () => { }) describe('the two advisory probes', () => { - it('reads the representative preflight and linear replies', () => { - expect(taskPreflightSchema.safeParse({ glab: { installed: false } }).success).toBe(true) - expect(taskLinearStatusSchema.safeParse({ connected: false }).success).toBe(true) - }) - - it('requires nothing, because every consumer compares the leaf to `true`', () => { - expect(taskPreflightSchema.safeParse({}).success).toBe(true) - expect(taskLinearStatusSchema.safeParse({}).success).toBe(true) - }) - - it('drops a malformed glab rather than reading it as installed', () => { - const parsed = taskPreflightSchema.safeParse({ glab: 'yes' }) - expect(parsed.success ? parsed.data.glab : 'unparsed').toBeUndefined() - }) - - it('passes a host member no mobile consumer reads straight through', () => { - const parsed = taskPreflightSchema.safeParse({ gh: { installed: true, authenticated: true } }) - expect(parsed.success && parsed.data).toMatchObject({ - gh: { installed: true, authenticated: true } - }) - }) - // Advisory acceptance still decodes absent/null results; total readers must retain hydration defaults instead of throwing. it.each([ ['absent', undefined], @@ -106,11 +32,3 @@ describe('the two advisory probes', () => { expect(linear.success && linear.data.connected).toBeUndefined() }) }) - -describe('the three preference writes', () => { - it('accept every payload, because no call site reads their body', () => { - for (const reply of [null, undefined, 0, 'written', { ok: true }, []]) { - expect(taskPreferenceWriteSchema.safeParse(reply).success).toBe(true) - } - }) -}) diff --git a/mobile/src/tasks/use-host-repo-list.test.tsx b/mobile/src/tasks/use-host-repo-list.test.tsx index ad3ad51c6f5..85135329500 100644 --- a/mobile/src/tasks/use-host-repo-list.test.tsx +++ b/mobile/src/tasks/use-host-repo-list.test.tsx @@ -203,26 +203,6 @@ describe('useHostRepoList', () => { expect(probe.resource.state.status).toBe('idle') }) - // Keep resource/callback identities stable so consumer effects cannot form a render loop. - it('keeps a stable identity across renders that change nothing', async () => { - const probe = mountResource() - const first = probe.resource - probe.rerender() - expect(probe.resource).toBe(first) - expect(probe.resource.ensureLoaded).toBe(first.ensureLoaded) - expect(probe.resource.reload).toBe(first.reload) - - await act(async () => { - void probe.resource.ensureLoaded() - }) - await probe.settle(0, [{ id: 'a' }]) - expect(probe.resource.ensureLoaded).toBe(first.ensureLoaded) - expect(probe.resource.reload).toBe(first.reload) - const loaded = probe.resource - probe.rerender() - expect(probe.resource).toBe(loaded) - }) - it('re-reads the host on an explicit reload', async () => { const probe = mountResource() await act(async () => { 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 8137af41721..ddff2421e39 100644 --- a/mobile/src/tasks/use-mobile-tasks-task-pagination-actions.tsx +++ b/mobile/src/tasks/use-mobile-tasks-task-pagination-actions.tsx @@ -48,6 +48,7 @@ export function useMobileTasksTaskPaginationActions(model: TaskListLoadingModel) loadGenerationRef, loadLinearContext, loadTasks, + loading, revalidating, selectedHostedRepos, setError, @@ -150,9 +151,10 @@ export function useMobileTasksTaskPaginationActions(model: TaskListLoadingModel) !githubCountedTotalPages && (provenPageLimit === null || githubPages.length < provenPageLimit) && hasRepoWithFullPage(githubPages.at(-1) ?? [], githubPerRepoLimit) - // Kept or previous-filter pages stand in while the list re-reads; paging from them would mix filters. + // Pages kept or left from another filter stand in while a list loads; paging from them would mix old and new rows. const githubCanShowPagination = !revalidating && + !loading && (githubTotalPages > 1 || (githubPages.length > 0 && githubCanLoadUncountedNextPage)) const githubPagePickerPages = useMemo(() => { const visible = new Set() @@ -181,6 +183,7 @@ export function useMobileTasksTaskPaginationActions(model: TaskListLoadingModel) targetPage < 0 || githubPaginationLoading || revalidating || + loading || selectedHostedRepos.length === 0 ) { return @@ -267,6 +270,7 @@ export function useMobileTasksTaskPaginationActions(model: TaskListLoadingModel) githubPages, githubPaginationLoading, loadGenerationRef, + loading, revalidating, selectedHostedRepos, setGithubCountedTotalPages, diff --git a/mobile/src/tasks/use-task-host-repos.ts b/mobile/src/tasks/use-task-host-repos.ts index 2fa9010fd1a..e91ef7df7d3 100644 --- a/mobile/src/tasks/use-task-host-repos.ts +++ b/mobile/src/tasks/use-task-host-repos.ts @@ -1,7 +1,7 @@ import { useCallback, useLayoutEffect, useMemo, useRef, useState } from 'react' import type { ExecutionHostId } from '../../../src/shared/execution-host' import type { HostContextLabelSources } from '../../../src/shared/worktree/host-context-labels' -import { useHostDescriptor } from '../transport/hosts/host-descriptor-store' +import { useHostDescriptor } from '../host-descriptors/host-descriptor-store' import type { RpcClient } from '../transport/rpc/rpc-client-contract' import type { ConnectionState } from '../transport/connection/connection-state' import { withServerHosts } from '../worktree/server-workspaces' diff --git a/mobile/src/tasks/use-task-list-cache.ts b/mobile/src/tasks/use-task-list-cache.ts index 18a8dd3b3a9..e8dbbd65116 100644 --- a/mobile/src/tasks/use-task-list-cache.ts +++ b/mobile/src/tasks/use-task-list-cache.ts @@ -1,4 +1,4 @@ -import { skipToken, useQuery, useQueryClient } from '@tanstack/react-query' +import { hashKey, skipToken, useQuery, useQueryClient } from '@tanstack/react-query' import { useCallback, useEffect, useLayoutEffect, useRef, useState } from 'react' import { type HostQueryKey, type HostQueryParams, hostScopeKey } from '../query/host-query-key' import { persistedHostQueryKey, restoreStoredHostQueries } from '../query/host-query-persistence' @@ -44,6 +44,8 @@ export function useTaskListCache(view: TaskListView) { const [rowsReadAt, setRowsReadAt] = useState(null) // The provider whose rows are on screen, so a provider switch never keeps another provider's rows. const shownProviderRef = useRef(null) + // The list the rows on screen were read for; only a re-read of that same list may stand on them. + const shownListRef = useRef(null) const shownRowsRef = useRef(view.items) useLayoutEffect(() => { shownRowsRef.current = view.items @@ -60,6 +62,7 @@ export function useTaskListCache(view: TaskListView) { const paintRows = useCallback( (key: HostQueryKey, kept: TaskListSnapshot, provider: string, underRead: boolean): void => { shownProviderRef.current = provider + shownListRef.current = hashKey(key) setRowsReadAt(queryClient.getQueryState(key)?.dataUpdatedAt || null) view.setItems(kept.items) if (underRead) { @@ -132,8 +135,8 @@ export function useTaskListCache(view: TaskListView) { ) }, [hostId, queryClient]) - // A read of a list starts on that filter's kept rows, else on the same provider's rows still shown, else the - // spinner; it is also the list this provider opens on next launch. + // A read of a list starts on that filter's kept rows, else on its own rows still shown, else the spinner, so a new + // search never starts on another filter's rows; it is also the list this provider opens on next launch. const begin = useCallback( (params: HostQueryParams | null, provider: string): void => { cancelRead() @@ -147,7 +150,11 @@ export function useTaskListCache(view: TaskListView) { paintRows(key, kept, provider, true) return } - if (shownRowsRef.current.length > 0 && shownProviderRef.current === provider) { + if ( + shownRowsRef.current.length > 0 && + shownProviderRef.current === provider && + (!key || shownListRef.current === hashKey(key)) + ) { setRevalidating(true) } else { view.setLoading(true) @@ -166,7 +173,9 @@ export function useTaskListCache(view: TaskListView) { (provider: string, params: HostQueryParams): void => { awaitingStoredRef.current = null shownProviderRef.current = provider - setRowsReadAt(queryClient.getQueryState(taskListKey(hostId, params))?.dataUpdatedAt || null) + const key = taskListKey(hostId, params) + shownListRef.current = hashKey(key) + setRowsReadAt(queryClient.getQueryState(key)?.dataUpdatedAt || null) }, [hostId, queryClient] ) diff --git a/mobile/src/tasks/work-item-lookup-text.test.ts b/mobile/src/tasks/work-item-lookup-text.test.ts deleted file mode 100644 index bd37f46d606..00000000000 --- a/mobile/src/tasks/work-item-lookup-text.test.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { isWorkItemLookupText } from './work-item-lookup-text' - -describe('isWorkItemLookupText', () => { - it('treats references as lookup text, not names', () => { - expect(isWorkItemLookupText('#42')).toBe(true) - expect(isWorkItemLookupText('https://github.com/o/r/issues/1')).toBe(true) - expect(isWorkItemLookupText('https://gitlab.com/g/p/-/merge_requests/2')).toBe(true) - expect(isWorkItemLookupText('https://linear.app/acme/issue/ENG-9')).toBe(true) - expect(isWorkItemLookupText('ENG-9')).toBe(false) - }) - - it('treats plain names as non-lookup text', () => { - expect(isWorkItemLookupText('')).toBe(false) - expect(isWorkItemLookupText('fix the login bug')).toBe(false) - expect(isWorkItemLookupText('https://linear.app/acme/project/mobile')).toBe(false) - }) -}) diff --git a/mobile/src/tasks/workspace-agent-selection.test.ts b/mobile/src/tasks/workspace-agent-selection.test.ts index 18202d5dc71..e07b16074a8 100644 --- a/mobile/src/tasks/workspace-agent-selection.test.ts +++ b/mobile/src/tasks/workspace-agent-selection.test.ts @@ -1,61 +1,8 @@ import { describe, expect, it } from 'vitest' -import { - normalizeWorkspaceAgent, - pickWorkspaceAgent, - resolveWorkspaceAgentSelection, - workspaceAgentLabel -} from './workspace-agent-selection' +import { resolveWorkspaceAgentSelection } from './workspace-agent-selection' describe('workspace agent selection', () => { - it('uses an installed explicit default agent', () => { - expect(pickWorkspaceAgent({ defaultTuiAgent: 'codex' }, new Set(['claude', 'codex']))).toBe( - 'codex' - ) - }) - - it('falls back by desktop auto-pick order when the default is unavailable on the target host', () => { - expect(pickWorkspaceAgent({ defaultTuiAgent: 'codex' }, new Set(['claude']))).toBe('claude') - }) - - it('skips disabled preferred and fallback agents', () => { - expect( - pickWorkspaceAgent( - { defaultTuiAgent: 'codex', disabledTuiAgents: ['codex'] }, - new Set(['claude', 'codex']) - ) - ).toBe('claude') - expect( - pickWorkspaceAgent( - { defaultTuiAgent: null, disabledTuiAgents: ['claude', 'codex', 'not-real'] }, - new Set(['claude', 'codex']) - ) - ).toBe('blank') - }) - - it('honors blank terminal as an explicit no-agent preference', () => { - expect(pickWorkspaceAgent({ defaultTuiAgent: 'blank' }, new Set(['claude', 'codex']))).toBe( - 'blank' - ) - }) - - it('returns blank when detection completed and no known agent exists', () => { - expect(pickWorkspaceAgent({ defaultTuiAgent: null }, new Set(['unknown-agent']))).toBe('blank') - }) - - it('uses the preferred/default display value while detection is still pending', () => { - expect(pickWorkspaceAgent({ defaultTuiAgent: 'codex' }, null)).toBe('codex') - expect(pickWorkspaceAgent({ defaultTuiAgent: null }, null)).toBe('claude') - expect( - pickWorkspaceAgent({ defaultTuiAgent: 'codex', disabledTuiAgents: ['codex'] }, null) - ).toBe('claude') - }) - - it('normalizes legacy blank sentinel and labels known choices', () => { - expect(normalizeWorkspaceAgent('__blank__')).toBe('blank') - expect(workspaceAgentLabel('codex')).toBe('Codex') - }) - it('keeps automatic selection current while create selection is active', () => { expect( resolveWorkspaceAgentSelection({ diff --git a/mobile/src/tasks/workspace-create-params.test.ts b/mobile/src/tasks/workspace-create-params.test.ts index 55989e9ded9..6f03031749c 100644 --- a/mobile/src/tasks/workspace-create-params.test.ts +++ b/mobile/src/tasks/workspace-create-params.test.ts @@ -1,18 +1,5 @@ import { describe, expect, it } from 'vitest' -import { startupAgentCreateFields, buildTaskWorkspaceCreateParams } from './workspace-create-params' - -describe('startupAgentCreateFields', () => { - it('sends startupAgent + createdWithAgent so the host resolves launch args', () => { - expect(startupAgentCreateFields('claude')).toEqual({ - startupAgent: 'claude', - createdWithAgent: 'claude' - }) - }) - - it('launches no agent when none was picked', () => { - expect(startupAgentCreateFields(undefined)).toEqual({}) - }) -}) +import { buildTaskWorkspaceCreateParams } from './workspace-create-params' describe('task workspace create params', () => { it('passes a GitHub PR URL as an agent draft and links the PR', () => { @@ -226,23 +213,4 @@ describe('task workspace create params', () => { // A stray linkedLinearIssue would relink the workspace to the wrong provider. expect(params).not.toHaveProperty('linkedLinearIssue') }) - - it('keeps a user-edited workspace name over the derived Jira name', () => { - expect( - buildTaskWorkspaceCreateParams({ - item: { - provider: 'jira', - source: { - key: 'ORCA-9', - title: 'Rename me', - url: 'https://acme.atlassian.net/browse/ORCA-9' - } - }, - targetRepoId: 'repo-jira', - setupDecision: 'inherit', - workspaceName: 'my-branch', - nameIsAutoManaged: false - }) - ).toMatchObject({ name: 'my-branch' }) - }) }) diff --git a/mobile/src/tasks/workspace-create-reply-schema.test.ts b/mobile/src/tasks/workspace-create-reply-schema.test.ts deleted file mode 100644 index 2d53178d91f..00000000000 --- a/mobile/src/tasks/workspace-create-reply-schema.test.ts +++ /dev/null @@ -1,112 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - agentLaunchCreateReceiptSchema, - worktreeCreateReceiptSchema, - worktreeHostedBaseSchema -} from './workspace-create-reply-schema' - -// Preserve receipt fields and keep empty ids and soft-error messages reachable. - -describe('the worktree create receipt', () => { - it('reads every representative create', () => { - for (const result of [ - { worktree: { id: 'wt-1', displayName: 'ORC-1 Recorded issue' } }, - { worktree: { id: 'wt-2' }, warning: 'shallow clone' }, - { worktree: { id: 'repo-1::/w' }, warning: ' startup terminal failed ' } - ]) { - expect(worktreeCreateReceiptSchema.safeParse(result)).toMatchObject({ success: true }) - } - }) - - it('keeps the warning untrimmed, because both readers trim it themselves', () => { - const parsed = worktreeCreateReceiptSchema.safeParse({ - worktree: { id: 'w' }, - warning: ' startup terminal failed ' - }) - expect(parsed.success && parsed.data).toMatchObject({ warning: ' startup terminal failed ' }) - }) - - it('leaves the empty-id arm reachable rather than making it a decode failure', () => { - const parsed = worktreeCreateReceiptSchema.safeParse({ worktree: { id: '' } }) - expect(parsed.success && parsed.data).toMatchObject({ worktree: { id: '' } }) - }) - - it('names a receipt with no worktree record, which routed the phone to /session/undefined', () => { - expect(worktreeCreateReceiptSchema.safeParse({ warning: 'x' }).success).toBe(false) - expect(worktreeCreateReceiptSchema.safeParse({ worktree: {} }).success).toBe(false) - expect(worktreeCreateReceiptSchema.safeParse(null).success).toBe(false) - }) -}) - -describe('the agent.launch receipt', () => { - it('reads the representative structured receipt whole', () => { - const result = { - outcome: { kind: 'structured', sessionId: 'sess-1', handle: 't-1' }, - worktreeId: 'repo-1::/w', - warning: ' startup terminal failed ', - receipt: { - mode: 'structured', - preferred: 'structured', - reason: 'user_default', - detail: 'Structured session created.' - } - } - expect(agentLaunchCreateReceiptSchema.safeParse(result)).toMatchObject({ - success: true, - data: result - }) - }) - - it('requires nothing under the container, because the reader guards every member', () => { - expect(agentLaunchCreateReceiptSchema.safeParse({}).success).toBe(true) - }) - - it('names a receipt that is not an object at all', () => { - for (const result of [null, 'launched', 7, true]) { - expect(agentLaunchCreateReceiptSchema.safeParse(result).success).toBe(false) - } - }) -}) - -describe('the hosted base resolvers', () => { - it('reads both representative successes', () => { - expect(worktreeHostedBaseSchema.safeParse({ baseBranch: 'main' }).success).toBe(true) - expect( - worktreeHostedBaseSchema.safeParse({ baseBranch: 'main', compareBaseRef: 'origin/main' }) - .success - ).toBe(true) - }) - - it('preserves a soft error beside a base branch', () => { - const parsed = worktreeHostedBaseSchema.safeParse({ - error: 'pull request not found', - baseBranch: 'main' - }) - expect(parsed.success && parsed.data).toMatchObject({ error: 'pull request not found' }) - }) - - it('keeps an empty soft-error message, which the create replaces with its own copy', () => { - const parsed = worktreeHostedBaseSchema.safeParse({ error: '' }) - expect(parsed.success && parsed.data).toMatchObject({ error: '' }) - }) - - it('forwards the rest of a start point the create spreads into its params', () => { - const parsed = worktreeHostedBaseSchema.safeParse({ - baseBranch: 'main', - pushTarget: { remoteName: 'origin', branchName: 'feature' }, - branchNameOverride: 'pr-12', - maintainerCanModify: false - }) - expect(parsed.success && parsed.data).toMatchObject({ - pushTarget: { remoteName: 'origin', branchName: 'feature' }, - branchNameOverride: 'pr-12', - maintainerCanModify: false - }) - }) - - it('names a reply that is neither arm, where `in` was a TypeError', () => { - expect(worktreeHostedBaseSchema.safeParse({}).success).toBe(false) - expect(worktreeHostedBaseSchema.safeParse('main').success).toBe(false) - expect(worktreeHostedBaseSchema.safeParse(null).success).toBe(false) - }) -}) diff --git a/mobile/src/tasks/workspace-ssh-gate.test.ts b/mobile/src/tasks/workspace-ssh-gate.test.ts index 6f5ed54d94f..4725c6c11ad 100644 --- a/mobile/src/tasks/workspace-ssh-gate.test.ts +++ b/mobile/src/tasks/workspace-ssh-gate.test.ts @@ -1,27 +1,7 @@ import { describe, expect, it } from 'vitest' -import { - deriveWorkspaceSshGate, - workspaceSshStatusLabel, - type WorkspaceSshRecord -} from './workspace-ssh-gate' +import { deriveWorkspaceSshGate, type WorkspaceSshRecord } from './workspace-ssh-gate' describe('workspace SSH gate', () => { - it('does not gate local repositories', () => { - expect( - deriveWorkspaceSshGate({ - connectionId: null, - state: null, - connecting: false - }) - ).toEqual({ - status: null, - requiresConnection: false, - connectInProgress: false, - error: null, - needsDesktopServerRecovery: false - }) - }) - it('requires connection for remote repos until the matching target is connected', () => { expect( deriveWorkspaceSshGate({ @@ -56,38 +36,6 @@ describe('workspace SSH gate', () => { }) }) - it('marks connecting, relay deploy, and reconnect states as in progress', () => { - for (const status of ['connecting', 'deploying-relay', 'reconnecting'] as const) { - expect( - deriveWorkspaceSshGate({ - connectionId: 'ssh-1', - state: { targetId: 'ssh-1', status, error: null, reconnectAttempt: 0 }, - connecting: false - }) - ).toMatchObject({ requiresConnection: true, connectInProgress: true }) - } - }) - - it('keeps auth and relay errors visible in the drawer', () => { - expect( - deriveWorkspaceSshGate({ - connectionId: 'ssh-1', - state: { - targetId: 'ssh-1', - status: 'auth-failed', - error: 'Permission denied', - reconnectAttempt: 0 - }, - connecting: false - }) - ).toMatchObject({ - status: 'auth-failed', - requiresConnection: true, - connectInProgress: false, - error: 'Permission denied' - }) - }) - it('asks for the desktop recovery only for the refusal the desktop offers it on', () => { const named = 'run `orcad --reclaim-stale-lock --data-root /home/dev/.orca` there' const gate = (managedServer: WorkspaceSshRecord['managedServer']) => @@ -104,11 +52,4 @@ describe('workspace SSH gate', () => { expect(gate({ ...refused, kind: 'relay' })).toBe(false) expect(gate({ ...refused, serving: { detail: named } })).toBe(false) }) - - it('labels user-visible SSH states', () => { - expect(workspaceSshStatusLabel(null)).toBe('Disconnected') - expect(workspaceSshStatusLabel('deploying-relay')).toBe('Deploying relay') - expect(workspaceSshStatusLabel('auth-failed')).toBe('Authentication failed') - expect(workspaceSshStatusLabel('connected')).toBe('Connected') - }) }) diff --git a/mobile/src/tasks/worktree-create-retry.test.ts b/mobile/src/tasks/worktree-create-retry.test.ts index 175cd7c9860..a74ce18ba0f 100644 --- a/mobile/src/tasks/worktree-create-retry.test.ts +++ b/mobile/src/tasks/worktree-create-retry.test.ts @@ -1,80 +1,11 @@ import { describe, expect, it } from 'vitest' import { FakeSession } from '../transport/connection/mobile-endpoint-supervisor-test-fakes' -import type { RpcClient } from '../transport/rpc/rpc-client-contract' + import type { RpcResponse } from '../transport/rpc/rpc-wire-types' import { markRpcDeliveryUnknown } from '../transport/rpc/rpc-delivery-ambiguity' import { createWorktreeWithNameRetry } from './worktree-create-retry' -type Attempt = { method: string; params: unknown } - -function scriptedClient( - outcomes: ({ id: string; displayName?: string; warning?: string } | { errorMessage: string })[], - attempts: Attempt[] -): RpcClient { - let call = 0 - const client = new FakeSession('connected') - client.sendRequest.mockImplementation(async (method: string, params?: unknown) => { - attempts.push({ method, params: params ?? {} }) - const outcome = outcomes[Math.min(call, outcomes.length - 1)]! - call += 1 - if ('errorMessage' in outcome) { - return { - id: '1', - ok: false, - error: { code: 'x', message: outcome.errorMessage }, - _meta: { runtimeId: 'r' } - } - } - return { - id: '1', - ok: true, - result: { - worktree: { - id: outcome.id, - ...(outcome.displayName !== undefined ? { displayName: outcome.displayName } : {}) - }, - ...(outcome.warning !== undefined ? { warning: outcome.warning } : {}) - }, - _meta: { runtimeId: 'r' } - } - }) - return client -} - -describe('createWorktreeWithNameRetry parent', () => { - it('attaches every collision candidate to the same parent', async () => { - const attempts: Attempt[] = [] - const client = scriptedClient( - [{ errorMessage: 'already exists locally' }, { id: 'wt-child' }], - attempts - ) - - await createWorktreeWithNameRetry({ - client, - baseName: 'topic', - buildParams: (name) => ({ repo: 'id:r', name }), - parent: { parentWorkspace: 'folder:f-1', parentWorkspaceOrigin: 'manual' }, - worktreeCreateIdempotency: false - }) - - expect(attempts.map((attempt) => attempt.params)).toEqual([ - { - repo: 'id:r', - name: 'topic', - parentWorkspace: 'folder:f-1', - parentWorkspaceOrigin: 'manual' - }, - { - repo: 'id:r', - name: 'topic-2', - parentWorkspace: 'folder:f-1', - parentWorkspaceOrigin: 'manual' - } - ]) - }) -}) - describe('createWorktreeWithNameRetry after a lost reply', () => { it('tries no other name when the resend is refused as taken', async () => { const client = new FakeSession('connected') diff --git a/mobile/src/tasks/worktree-create-retry.ts b/mobile/src/tasks/worktree-create-retry.ts index e85c4dcd67b..187a68096d6 100644 --- a/mobile/src/tasks/worktree-create-retry.ts +++ b/mobile/src/tasks/worktree-create-retry.ts @@ -20,7 +20,7 @@ import { type WorktreeCreateAgentLaunch } from './agent-launch-request' import { isAgentLaunchReplayUnsupportedRefusal } from '../../../src/shared/agent-launch/contracts/agent-launch-replay-refusal' -import { structuredSessionOperationId } from '../session/structured-session-operation-id' +import { structuredSessionOperationId } from '../session/native-chat/agent-session/structured-session-operation-id' import { WORKTREE_CREATE_TIMEOUT_MS } from './workspace-create-timeout' import type { WorkspaceCreateParams } from './workspace-create-params' import type { diff --git a/mobile/src/terminal/document/document-frame-registry.test.ts b/mobile/src/terminal/document/document-frame-registry.test.ts deleted file mode 100644 index dd874a61408..00000000000 --- a/mobile/src/terminal/document/document-frame-registry.test.ts +++ /dev/null @@ -1,63 +0,0 @@ -// @vitest-environment happy-dom -import { describe, expect, it, vi } from 'vitest' -import { createTerminalDocumentScope } from './document-scope' -import { cancelDocumentFrames, scheduleDocumentFrame } from './document-frame-registry' - -// Disposal can call back into document modules; cancellation must remove pending frames and refuse new ones. -describe('the document frame registry', () => { - it('holds a frame until it runs, then forgets it', () => { - const scope = createTerminalDocumentScope() - const frames: FrameRequestCallback[] = [] - vi.spyOn(globalThis, 'requestAnimationFrame').mockImplementation((callback) => { - frames.push(callback) - return frames.length - }) - - const callback = vi.fn() - const id = scheduleDocumentFrame(scope, callback) - expect(callback).not.toHaveBeenCalled() - expect(scope.scheduledFrames).toEqual([id]) - frames[0]!(123) - expect(callback).toHaveBeenCalledExactlyOnceWith(123) - expect(scope.scheduledFrames).toEqual([]) - vi.restoreAllMocks() - }) - - it('takes back every pending frame and then refuses to schedule', () => { - const scope = createTerminalDocumentScope() - const cancelled: number[] = [] - let next = 0 - vi.spyOn(globalThis, 'requestAnimationFrame').mockImplementation(() => { - next += 1 - return next - }) - vi.spyOn(globalThis, 'cancelAnimationFrame').mockImplementation((id) => cancelled.push(id)) - - const first = scheduleDocumentFrame(scope, () => {}) - const second = scheduleDocumentFrame(scope, () => {}) - cancelDocumentFrames(scope) - expect(cancelled).toEqual([first, second]) - expect(scope.scheduledFrames).toEqual([]) - - const requests = vi.mocked(globalThis.requestAnimationFrame).mock.calls.length - expect(scheduleDocumentFrame(scope, () => {})).toBe(-1) - expect(vi.mocked(globalThis.requestAnimationFrame).mock.calls.length).toBe(requests) - expect(scope.scheduledFrames).toEqual([]) - vi.restoreAllMocks() - }) - - it('refuses for good, and the next document starts from a scope that does not know', () => { - const scope = createTerminalDocumentScope() - vi.spyOn(globalThis, 'requestAnimationFrame').mockImplementation(() => 7) - vi.spyOn(globalThis, 'cancelAnimationFrame').mockImplementation(() => {}) - - cancelDocumentFrames(scope) - expect(scope.framesStopped).toBe(true) - // Stopped scopes never restart; a new document gets a fresh scope. - const next = createTerminalDocumentScope() - expect(next.framesStopped).toBe(false) - expect(scheduleDocumentFrame(next, () => {})).toBe(7) - expect(next.scheduledFrames).toEqual([7]) - vi.restoreAllMocks() - }) -}) diff --git a/mobile/src/terminal/document/document-host-root.test.ts b/mobile/src/terminal/document/document-host-root.test.ts index 72bc8ea13f1..07d6f366036 100644 --- a/mobile/src/terminal/document/document-host-root.test.ts +++ b/mobile/src/terminal/document/document-host-root.test.ts @@ -122,23 +122,6 @@ describe('two terminal documents on one page', () => { two.started.stop() }) - // The same event inside this host must still reach it, ruling out an inert dispatcher. - it('cancels its own selection when the two fingers land in its own host', () => { - const first = plantHost('first-host') - const second = plantHost('second-host') - const one = startDocumentIn(first) - const two = startDocumentIn(second) - selectAllInBoth(one, two) - - fireTwoFingerTouchStart(surfaceOf(first)) - - expect(pinchCancels(one.posted)).toHaveLength(1) - expect(pinchCancels(two.posted)).toHaveLength(0) - - one.started.stop() - two.started.stop() - }) - // Event ownership is not enough: page-wide touches must also exclude fingers in the other terminal. it("does not read another host's finger as its own second one", () => { const first = plantHost('first-host') @@ -278,20 +261,6 @@ describe('keyboard-avoidance metrics across a pinch', () => { doc.started.stop() }) - it('reports a release that changes the preset once, through the refit', async () => { - const doc = startMeasuredDocument() - await settle() - const before = metricsOf(doc.posted).length - - pinchTo(doc, 30) - const afterWrite = metricsOf(doc.posted).length - await settle() - - expect(afterWrite).toBe(before + 1) - expect(metricsOf(doc.posted).length).toBe(afterWrite + 1) - doc.started.stop() - }) - it('never reports the pre-refit pitch when a release lands while a refit is pending', async () => { const doc = startMeasuredDocument() await settle() diff --git a/mobile/src/terminal/document/document-parse-time-effects.test.ts b/mobile/src/terminal/document/document-parse-time-effects.test.ts deleted file mode 100644 index d272ec0ba8b..00000000000 --- a/mobile/src/terminal/document/document-parse-time-effects.test.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - documentModuleNames, - documentModuleSource, - exportedLifecycleFunctions, - parseTimeEffects, - sequenceCalls, - topLevelDeclarationsReachAnElement -} from '../../test-support/webview-document-census' - -// Module-level effects would bind mounts before lifecycle startup and evade stop; require declarations with inert initializers. -// Factory-local state declarations remain safe because each document call gets fresh bindings. -const DIRECTORY = import.meta.dirname - -const ENTRY = 'native-document-entry' - -const THE_SEQUENCE = 'create-terminal-document' - -const MODULES = documentModuleNames(DIRECTORY, [ENTRY]) - -const moduleSource = (name: string) => documentModuleSource(DIRECTORY, name) - -const sequenceCallsTo = (functionName: string) => - sequenceCalls(moduleSource(THE_SEQUENCE), functionName, [ - 'startTerminalDocument', - 'stopTerminalDocument' - ]) - -describe('the document modules at parse time', () => { - it('do no work: every effect is in a start function the hosts call', () => { - expect(MODULES.length).toBeGreaterThan(30) - expect(MODULES.flatMap((name) => parseTimeEffects(name, moduleSource(name)))).toEqual([]) - }) - - it('declare nothing that reaches an element', () => { - // Element reads in declaration initializers are still effects; check every module. - for (const name of MODULES) { - expect({ - name, - reaches: topLevelDeclarationsReachAnElement(name, moduleSource(name)) - }).toEqual({ name, reaches: false }) - } - }) - - it('start and stop: the sequence calls every one there is, and undoes them in reverse', () => { - // Compare start/stop names, not counts, so exported-but-unused lifecycle hooks cannot pass. - // stopEdgeScroll is owned by stopSelectionOverlay rather than the top-level sequence. - const exported = (keyword: 'start' | 'stop') => - MODULES.filter((name) => name !== THE_SEQUENCE).flatMap((name) => - exportedLifecycleFunctions(moduleSource(name), keyword, 'TerminalDocumentScope') - ) - - const started = sequenceCallsTo('startTerminalDocument') - const stopped = sequenceCallsTo('stopTerminalDocument').filter( - (name) => name !== 'cancelDocumentFrames' - ) - expect([...started].sort()).toEqual(exported('start').sort()) - expect([...stopped].sort()).toEqual( - exported('stop') - .filter((name) => name !== 'stopEdgeScroll') - .sort() - ) - - const paired = started.filter((name) => stopped.includes(name.replace(/^start/, 'stop'))) - expect(paired.map((name) => name.replace(/^start/, 'stop'))).toEqual( - stopped.filter((name) => paired.includes(name.replace(/^stop/, 'start'))).toReversed() - ) - expect(sequenceCallsTo('stopTerminalDocument').at(-1)).toBe('cancelDocumentFrames') - }) -}) diff --git a/mobile/src/terminal/document/laid-out-cell-box.test.ts b/mobile/src/terminal/document/laid-out-cell-box.test.ts index 4014e661afd..6b88bde535b 100644 --- a/mobile/src/terminal/document/laid-out-cell-box.test.ts +++ b/mobile/src/terminal/document/laid-out-cell-box.test.ts @@ -1,6 +1,6 @@ // @vitest-environment happy-dom import { afterEach, describe, expect, it, vi } from 'vitest' -import { laidOutCellBox, reportLaidOutCellBox } from './laid-out-cell-box' +import { reportLaidOutCellBox } from './laid-out-cell-box' import { createTerminalDocumentScope, type TerminalDocumentScope } from './document-scope' import { startTerminalDocument, stopTerminalDocument } from './create-terminal-document' import type { TerminalDocumentHost } from './document-host-seams' @@ -31,15 +31,6 @@ describe('laidOutCellBox', () => { return scope } - it('reads the box xterm laid out at the current text scale, with its grid', () => { - const scope = scopeWithCell({ width: 29 / 3, height: 21 }, 16) - expect(laidOutCellBox(scope)).toEqual({ - cellBox: { fontScale: 1.25, cellWidth: 29 / 3, cellHeight: 21 }, - cols: 55, - rows: 47 - }) - }) - it('tells the host each new box once, and refits only a box that changed at a kept grid', () => { const posted: Record[] = [] const cell = { width: 29 / 3, height: 21 } @@ -125,41 +116,6 @@ describe('a started document', () => { const reflowTo = (scope: TerminalDocumentScope, cols: number) => handleMsg(scope, { type: 'reflow', cols, rows: 47 }) - it('takes the frame the app laid out from init, resize and reflow', () => { - const { scope } = started() - try { - handleMsg(scope, { - type: 'init', - cols: 55, - rows: 47, - initialData: '', - preserveScroll: false, - frame: { width: 427.5, height: 710 } - }) - expect(scope.hostFrame).toEqual({ width: 427.5, height: 710 }) - handleMsg(scope, { type: 'resize', cols: 54, rows: 47, frame: { width: 420, height: 700 } }) - expect(scope.hostFrame).toEqual({ width: 420, height: 700 }) - handleMsg(scope, { type: 'reflow', cols: 53, rows: 46, frame: { width: 410, height: 690 } }) - expect(scope.hostFrame).toEqual({ width: 410, height: 690 }) - } finally { - stopTerminalDocument(scope) - } - }) - - it('reports ready with the box its own terminal laid out, at the app text scale', () => { - const { scope, posted, built } = started({ start: () => ({ textScale: 1.25, shown: true }) }) - try { - expect(built).toHaveLength(1) - expect(built[0].options.fontSize).toBe(16) - expect(posted[0]).toEqual({ - type: 'web-ready', - cellBox: { fontScale: 1.25, cellWidth: (23 / 3) * (16 / 13), cellHeight: 15 * (16 / 13) } - }) - } finally { - stopTerminalDocument(scope) - } - }) - it('leaves no live terminal when opening the one it builds before ready throws', () => { const double = terminalDocumentDouble() double.terminal.open = () => { @@ -185,21 +141,6 @@ describe('a started document', () => { } }) - it('reuses that terminal for the first init, so an open builds one xterm', async () => { - const { scope, posted, built, init } = started() - try { - const prepared = scope.term - init() - await untilReady(posted) - expect(built).toHaveLength(1) - expect(scope.term).toBe(prepared) - expect(scope.term?.cols).toBe(55) - expect(scope.term?.rows).toBe(47) - } finally { - stopTerminalDocument(scope) - } - }) - it('keeps the terminal built before ready out of sight until the first init has replayed', async () => { const { scope, posted, init } = started() try { @@ -254,19 +195,6 @@ describe('a started document', () => { } }) - it('reports a changed cell width on the next render', async () => { - const { scope, cell, posted, render, init } = started() - try { - init() - await untilReady(posted) - cell.width = 7.8 - render() - expect(boxes(posted).at(-1)).toEqual({ fontScale: 1, cellWidth: 7.8, cellHeight: 15 }) - } finally { - stopTerminalDocument(scope) - } - }) - it("refits a DOM first init once, and not again on the refit's own report", async () => { const { scope, cell, posted, render, init } = started() try { @@ -283,42 +211,6 @@ describe('a started document', () => { } }) - it('never refits a box that came with a new grid, so the DOM renderer cannot loop', async () => { - const { scope, cell, posted, render, init } = started() - try { - init() - await untilReady(posted) - for (const [cols, width] of [ - [50, 7.9], - [55, 7.8], - [54, 8] - ]) { - cell.width = width - reflowTo(scope, cols) - render() - } - expect(refits(posted)).toEqual([false, false, false]) - } finally { - stopTerminalDocument(scope) - } - }) - - it('refits a renderer swap at a grid applied in place', async () => { - const { scope, cell, posted, render, init } = started() - try { - init() - await untilReady(posted) - reflowTo(scope, 50) - render() - expect(refits(posted)).toEqual([]) - cell.width = 7.8 - render() - expect(refits(posted)).toEqual([true]) - } finally { - stopTerminalDocument(scope) - } - }) - it('refits a re-init at the same grid with a different renderer', async () => { const { scope, cell, posted, init } = started() try { diff --git a/mobile/src/terminal/document/message-bridge-fonts.test.ts b/mobile/src/terminal/document/message-bridge-fonts.test.ts index 2aed18fc06d..52572b997b1 100644 --- a/mobile/src/terminal/document/message-bridge-fonts.test.ts +++ b/mobile/src/terminal/document/message-bridge-fonts.test.ts @@ -154,15 +154,6 @@ describe('the terminal waits for its bundled glyphs', () => { stopMessageBridge(fonts.scope) }) - it('still starts the terminal if font decoding fails', async () => { - const fonts = pendingFonts() - startMessageBridge(fonts.scope) - fonts.fail() - await fonts.loaded.catch(() => {}) - expect(fonts.postToHost).toHaveBeenCalledWith({ type: 'web-ready', cellBox: null }) - stopMessageBridge(fonts.scope) - }) - it('unwinds the document and reports an error if deferred startup fails', async () => { const fonts = pendingFonts() document.body.innerHTML = TERMINAL_DOCUMENT_MARKUP @@ -186,13 +177,4 @@ describe('the terminal waits for its bundled glyphs', () => { message: expect.stringContaining('readiness transport failed') }) }) - - it('does not revive a document stopped during the font load', async () => { - const fonts = pendingFonts() - startMessageBridge(fonts.scope) - stopMessageBridge(fonts.scope) - fonts.finish() - await fonts.loaded - expect(fonts.postToHost).not.toHaveBeenCalled() - }) }) diff --git a/mobile/src/terminal/document/native-document-bundle.test.ts b/mobile/src/terminal/document/native-document-bundle.test.ts index 2e00a9d0781..a253e26dec5 100644 --- a/mobile/src/terminal/document/native-document-bundle.test.ts +++ b/mobile/src/terminal/document/native-document-bundle.test.ts @@ -152,25 +152,6 @@ describe('the bundled native document', () => { expect(document.getElementById('terminal-surface')?.contains(opened[0]!)).toBe(true) }) - it('answers a ping through the bridge, which is what native readiness reads', () => { - document.body.innerHTML = TERMINAL_DOCUMENT_MARKUP - const posted: Record[] = [] - const { Terminal } = engineDouble() - Object.assign(globalThis, { - ReactNativeWebView: { - postMessage: (message: string) => posted.push(JSON.parse(message)) - }, - Terminal, - __engineErrors: [] - }) - evaluateBundle() - - window.dispatchEvent( - new MessageEvent('message', { data: JSON.stringify({ type: 'ping', id: 9 }) }) - ) - expect(posted).toContainEqual({ type: 'pong', pingId: 9 }) - }) - it('takes a theme and a write before init, and init is what decides they are stale', async () => { // Early writes must be superseded by init’s snapshot and theme, not replayed underneath it. document.body.innerHTML = TERMINAL_DOCUMENT_MARKUP diff --git a/mobile/src/terminal/mobile-terminal-query-reply.ts b/mobile/src/terminal/mobile-terminal-query-reply.ts index c6e5d6c1e6a..7273a2225db 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/protocol/queries/terminal-query-reply' import { PROGRAM_STATUS_OSC_PREFIX } from '../../../src/shared/program-status/protocol' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' import { terminalInputSend } from './mobile-terminal-operations' type TerminalSubscriptionRegistry = { @@ -9,7 +9,7 @@ type TerminalSubscriptionRegistry = { type MobileTerminalQueryReplyOptions = { bytes: string - client: RpcOperationSender | null + client: UnvalidatedRpcRequestPort | null clientId: string | null connected: boolean handle: string diff --git a/mobile/src/terminal/mock-server-terminal-stream-cancellation.test.ts b/mobile/src/terminal/mock-server-terminal-stream-cancellation.test.ts index 26a06c9411d..e7b4f7fe90c 100644 --- a/mobile/src/terminal/mock-server-terminal-stream-cancellation.test.ts +++ b/mobile/src/terminal/mock-server-terminal-stream-cancellation.test.ts @@ -1,28 +1,11 @@ import { afterEach, describe, expect, it, vi } from 'vitest' import type { WebSocket } from 'ws' -import { handleMockTerminalRequest } from '../../scripts/mock-server-terminal-stream' import { handleRequest, type RpcRequest, - type RpcRespond, type RpcResponse } from '../../scripts/mock-server-rpc-handlers' -type DeferredResponse = { - response: RpcResponse - shouldSend?: () => boolean -} - -function success(id: string, result: unknown, streaming?: boolean): RpcResponse { - return { - id, - ok: true, - result, - ...(streaming ? { streaming: true as const } : {}), - _meta: { runtimeId: 'test' } - } -} - function request(id: string, method: string): RpcRequest { return { id, method, params: { terminal: 'term-1', viewport: { cols: 80, rows: 24 } } } } @@ -33,31 +16,6 @@ describe('mock terminal stream cancellation', () => { vi.unstubAllEnvs() }) - it('invalidates delayed frames after resubscribe and unsubscribe', () => { - vi.useFakeTimers() - const ws = { OPEN: 1, readyState: 1 } as unknown as WebSocket - const deferred: DeferredResponse[] = [] - const respond: RpcRespond = (response, shouldSend) => { - deferred.push({ response, shouldSend }) - } - const handle = (rpcRequest: RpcRequest) => - handleMockTerminalRequest(rpcRequest, respond, success, ws, () => 'wt') - - expect(handle(request('old', 'terminal.subscribe'))).toBe(true) - vi.advanceTimersByTime(500) - expect(deferred.filter(({ response }) => response.id === 'old')).toHaveLength(2) - - expect(handle(request('new', 'terminal.subscribe'))).toBe(true) - const oldResponses = deferred.filter(({ response }) => response.id === 'old') - const newResponses = deferred.filter(({ response }) => response.id === 'new') - expect(newResponses).toHaveLength(1) - expect(oldResponses.every(({ shouldSend }) => shouldSend?.() === false)).toBe(true) - expect(newResponses.every(({ shouldSend }) => shouldSend?.() === true)).toBe(true) - - expect(handle(request('stop', 'terminal.unsubscribe'))).toBe(true) - expect(newResponses.every(({ shouldSend }) => shouldSend?.() === false)).toBe(true) - }) - it('drops queued delayed frames after stream cancellation', () => { vi.useFakeTimers() vi.stubEnv('MOCK_RPC_DELAY_TERMINAL_SUBSCRIBE_MS', '1000') diff --git a/mobile/src/terminal/quick-commands/QuickCommandRow.test.ts b/mobile/src/terminal/quick-commands/QuickCommandRow.test.ts deleted file mode 100644 index 3728dff5c4f..00000000000 --- a/mobile/src/terminal/quick-commands/QuickCommandRow.test.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { TerminalQuickCommand } from '../../../../src/shared/terminal/quick-commands/terminal-quick-command-types' -import { QuickCommandRow } from './QuickCommandRow' - -const clipboard = vi.hoisted(() => ({ setStringAsync: vi.fn(() => Promise.resolve(true)) })) -const haptics = vi.hoisted(() => ({ notificationAsync: vi.fn(() => Promise.resolve()) })) - -vi.mock('react-native', () => ({ - Platform: { OS: 'ios' }, - Pressable: 'Pressable', - StyleSheet: { create: (styles: T) => styles, hairlineWidth: 1 }, - Text: 'Text', - View: 'View' -})) - -vi.mock('lucide-react-native', () => ({ - Check: 'Check', - Copy: 'Copy', - Pencil: 'Pencil', - Play: 'Play', - Trash2: 'Trash2' -})) - -vi.mock('expo-clipboard', () => clipboard) - -vi.mock('expo-haptics', () => ({ - ...haptics, - performAndroidHapticsAsync: vi.fn(() => Promise.resolve()), - AndroidHaptics: { Reject: 'reject' }, - NotificationFeedbackType: { Error: 'error', Success: 'success' } -})) - -vi.mock('../../components/MobileAgentIcon', () => ({ MobileAgentIcon: 'MobileAgentIcon' })) - -const COMMAND: TerminalQuickCommand = { - id: 'qc-1', - label: 'Run tests', - command: 'run the tests', - appendEnter: true -} - -// Require visible error feedback and haptics when clipboard writes reject; a failed write must never show Copied. -describe('the quick-command row when the pasteboard refuses the text', () => { - let renderer: ReactTestRenderer | null = null - - beforeEach(() => { - clipboard.setStringAsync.mockReset() - haptics.notificationAsync.mockReset() - haptics.notificationAsync.mockImplementation(() => Promise.resolve()) - }) - - afterEach(() => { - act(() => renderer?.unmount()) - renderer = null - }) - - // Find by every copy-state label so feedback transitions cannot make the control disappear from assertions. - const COPY_LABELS = new Set([ - `Copy ${COMMAND.label}`, - 'Copied', - "Couldn't copy", - 'Nothing to copy' - ]) - - function copyButton() { - const button = renderer!.root - .findAll((node) => node.props.accessibilityRole === 'button') - .find((node) => COPY_LABELS.has(String(node.props.accessibilityLabel))) - if (button === undefined) { - throw new Error('the row has no copy button') - } - return button - } - - function rowProps() { - return { - command: COMMAND, - first: true, - onLaunch: vi.fn(), - onEdit: vi.fn(), - onDelete: vi.fn(), - disabled: false - } - } - - it('emits nothing at all when the row is gone before the refusal arrives', async () => { - // Unmount before rejection; feedback without a surviving row would buzz with no explanation. - let refuse: ((error: Error) => void) | undefined - clipboard.setStringAsync.mockImplementation( - () => - new Promise((_resolve, reject) => { - refuse = reject - }) - ) - await act(async () => { - renderer = create(createElement(QuickCommandRow, rowProps())) - }) - await act(async () => { - copyButton().props.onPress() - }) - act(() => renderer?.unmount()) - renderer = null - await act(async () => { - refuse?.(new Error('pasteboard refused')) - }) - expect(haptics.notificationAsync).not.toHaveBeenCalled() - }) -}) diff --git a/mobile/src/terminal/quick-commands/mobile-quick-command-operations.ts b/mobile/src/terminal/quick-commands/mobile-quick-command-operations.ts index c019aa7e9c2..f3f9eee7fb8 100644 --- a/mobile/src/terminal/quick-commands/mobile-quick-command-operations.ts +++ b/mobile/src/terminal/quick-commands/mobile-quick-command-operations.ts @@ -2,13 +2,6 @@ import { bindDeferredRpcOperation, defineRpcOperation } from '../../transport/rp import { rpcResultVariant } from '../../transport/rpc/rpc-operation-result-reader' import '../terminal-reply-schema' import { terminalQuickCommandsSchema } from './mobile-quick-command-reply-schema' -import '../../session/agent-launch/mobile-agent-detection-reply-schema' -import '../../files/session-documents/mobile-markdown-tab-reply-schema' -import '../../transport/rpc/rpc-uninterpreted-reply-schemas' -import '../session/mobile-session-terminal-reply-schema' -import '../../worktree/session-worktree-record-reply-schema' -import '../../session/native-chat/composer/mobile-native-chat-skill-reply-schema' -import '../../files/workspace-file-paths-reply-schema' export const quickCommandsReader = rpcResultVariant( 'terminal-quick-commands', @@ -26,8 +19,6 @@ export const quickCommandsRead = bindDeferredRpcOperation( }) ) -import '../../session/tabs/mobile-session-tab-write-reply-schema' - export const quickCommandsWrite = bindDeferredRpcOperation( defineRpcOperation({ name: 'settings.quick-commands-write', diff --git a/mobile/src/terminal/quick-commands/mobile-quick-command-reply-schema.ts b/mobile/src/terminal/quick-commands/mobile-quick-command-reply-schema.ts index fb6a6ac66c1..2be3e0b35ca 100644 --- a/mobile/src/terminal/quick-commands/mobile-quick-command-reply-schema.ts +++ b/mobile/src/terminal/quick-commands/mobile-quick-command-reply-schema.ts @@ -1,5 +1,4 @@ import * as z from 'zod' -import '../../../../src/shared/zod-salvage' // Preserve null for unreadable canonical command lists so load/save cannot erase host commands with an invented empty list. export const terminalQuickCommandsSchema = z diff --git a/mobile/src/terminal/session/MobileTerminalRenameModal.tsx b/mobile/src/terminal/session/MobileTerminalRenameModal.tsx index ec26c4d9d95..50408efcc77 100644 --- a/mobile/src/terminal/session/MobileTerminalRenameModal.tsx +++ b/mobile/src/terminal/session/MobileTerminalRenameModal.tsx @@ -2,8 +2,8 @@ import { BottomDrawer } from '../../components/bottom-drawer/BottomDrawer' import { TextInputSheetContent } from '../../components/TextInputModal' import { useDraftRenameSheet } from '../../components/use-draft-rename-sheet' import { useMobileTranslation } from '../../i18n/use-mobile-translation' -import { useHostDisplay } from '../../transport/hosts/use-host-display' -import { useHostProfile } from '../../transport/hosts/use-host-profile' +import { useHostDisplay } from '../../host-descriptors/use-host-display' +import { useHostProfile } from '../../host-catalog/use-host-profile' import type { MobileSessionController } from '../../session/use-mobile-session-controller' export function MobileTerminalRenameModal({ diff --git a/mobile/src/terminal/session/mobile-chat-fork-create-feedback.ts b/mobile/src/terminal/session/mobile-chat-fork-create-feedback.ts new file mode 100644 index 00000000000..ece73f51109 --- /dev/null +++ b/mobile/src/terminal/session/mobile-chat-fork-create-feedback.ts @@ -0,0 +1,48 @@ +import { isRpcDeliveryUnknown } from '../../transport/rpc/rpc-delivery-ambiguity' +import '../../transport/connection/stable-logical-rpc-client' +import { isLogicalClientCutoverError } from '../../transport/connection/logical-client-cutover-error' +import { RpcIncompatibleReplyError } from '../../transport/rpc/rpc-incompatible-reply-error' +import { PROJECT_RUNTIME_REPAIR_REQUIRED_CODE } from '../../../../src/shared/project-runtime-repair-message' +import { SESSION_TABS_CHAT_FORK_CLI_RUNTIME_CAPABILITY } from '../../../../src/shared/session-tabs-runtime-capabilities' +import type { RpcResponse } from '../../transport/rpc/rpc-wire-types' +import { createdTerminalDesktopWarning } from './mobile-session-terminal-reply-schema' + +export function hostSupportsMobileChatFork( + hostCapabilities: readonly string[] | undefined +): boolean { + return hostCapabilities?.includes(SESSION_TABS_CHAT_FORK_CLI_RUNTIME_CAPABILITY) === true +} + +export function mobileChatForkCreateReplyMessage( + agentName: string, + response: RpcResponse +): string | null { + if (!response.ok) { + return mobileChatForkRefusalMessage(agentName, response.error.code) + } + return createdTerminalDesktopWarning(response.result) + ? `${agentName} opened in a CLI, but its desktop tab could not be shown. Check open tabs on the host before retrying.` + : null +} + +export function mobileChatForkRefusalMessage(agentName: string, code: string): string { + const guidance = + code === 'chat_fork_anchor_changed' + ? 'Select a tab and try again.' + : code === 'chat_fork_runtime_incompatible' + ? 'Open the chat in a native workspace on its host and try again.' + : code === 'chat_fork_source_unavailable' + ? "Check that the chat has a saved conversation and review the agent's command and settings on the host, then try again." + : code === PROJECT_RUNTIME_REPAIR_REQUIRED_CODE + ? 'Review Project Runtime settings on the host and restore native Windows execution for this chat, then try again.' + : 'Reconnect and check open tabs on the host before retrying.' + return `Could not open ${agentName} in a new CLI. ${guidance}` +} + +export function mobileChatForkRequestFailureMessage(agentName: string, error: unknown): string { + return isRpcDeliveryUnknown(error) || + isLogicalClientCutoverError(error) || + error instanceof RpcIncompatibleReplyError + ? `${agentName} may have opened. Reconnect and check open tabs on the host before retrying.` + : `Could not open ${agentName} in a new CLI. Check the chat and host settings, then try again.` +} diff --git a/mobile/src/terminal/session/mobile-session-terminal-operations.ts b/mobile/src/terminal/session/mobile-session-terminal-operations.ts index 5de3473f24c..505d6058da8 100644 --- a/mobile/src/terminal/session/mobile-session-terminal-operations.ts +++ b/mobile/src/terminal/session/mobile-session-terminal-operations.ts @@ -2,13 +2,7 @@ import { bindDeferredRpcOperation, defineRpcOperation } from '../../transport/rp import { rpcResultVariant } from '../../transport/rpc/rpc-operation-result-reader' import { terminalComposerDraftSchema, terminalSendAcceptedSchema } from '../terminal-reply-schema' import { sessionTerminalInventorySchema } from './mobile-session-terminal-reply-schema' -import '../../session/agent-launch/mobile-agent-detection-reply-schema' -import '../../files/session-documents/mobile-markdown-tab-reply-schema' import { sessionWriteUnreadReplySchema } from '../../transport/rpc/rpc-uninterpreted-reply-schemas' -import '../../worktree/session-worktree-record-reply-schema' -import '../../session/native-chat/composer/mobile-native-chat-skill-reply-schema' -import '../quick-commands/mobile-quick-command-reply-schema' -import '../../files/workspace-file-paths-reply-schema' export const nativeChatTerminalDraftRead = bindDeferredRpcOperation( defineRpcOperation({ @@ -31,7 +25,6 @@ export const sessionTerminalListRead = bindDeferredRpcOperation( }) ) -import '../../session/tabs/mobile-session-tab-write-reply-schema' import '../quick-commands/mobile-quick-command-operations' // Keep chat writes distinct from query/accessory responders: losing a reply here means unknown delivery and forbids automatic retry. diff --git a/mobile/src/terminal/session/mobile-terminal-tab-agent.test.ts b/mobile/src/terminal/session/mobile-terminal-tab-agent.test.ts deleted file mode 100644 index 8681bf06bae..00000000000 --- a/mobile/src/terminal/session/mobile-terminal-tab-agent.test.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { resolveMobileTerminalTabAgentId } from './mobile-terminal-tab-agent' - -describe('resolveMobileTerminalTabAgentId', () => { - it('keeps a finished Claude tab whose session name mentions another agent', () => { - expect( - resolveMobileTerminalTabAgentId({ - title: 'Agy status bar item', - aiVaultTitle: { - agent: 'claude', - sessionId: 'session-1', - title: 'Agy status bar item', - kind: 'named' - }, - launchAgent: 'claude', - agentStatus: { state: 'done', agentType: 'claude' } - }) - ).toBe('claude') - }) -}) diff --git a/mobile/src/terminal/session/terminal-stream-layout.test.ts b/mobile/src/terminal/session/terminal-stream-layout.test.ts new file mode 100644 index 00000000000..c87a3928e80 --- /dev/null +++ b/mobile/src/terminal/session/terminal-stream-layout.test.ts @@ -0,0 +1,11 @@ +import { describe, expect, it } from 'vitest' +import { acceptTerminalLayoutSeq } from './terminal-stream-layout' + +describe('acceptTerminalLayoutSeq', () => { + it('accepts a display-mode resize whose layout seq is below the scrollback output seq', () => { + const marks = new Map() + expect(acceptTerminalLayoutSeq(marks, 't', { type: 'subscribed', seq: 2 })).toBe(true) + expect(acceptTerminalLayoutSeq(marks, 't', { type: 'scrollback', seq: 14 })).toBe(true) + expect(acceptTerminalLayoutSeq(marks, 't', { type: 'resized', seq: 3 })).toBe(true) + }) +}) diff --git a/mobile/src/terminal/session/terminal-stream-layout.ts b/mobile/src/terminal/session/terminal-stream-layout.ts index f808af671d9..6a8c2be4c69 100644 --- a/mobile/src/terminal/session/terminal-stream-layout.ts +++ b/mobile/src/terminal/session/terminal-stream-layout.ts @@ -1,7 +1,8 @@ import type { Dispatch, SetStateAction } from 'react' import type { MobileDisplayMode } from './mobile-terminal-model' -/** Records a stream event's layout seq; false for a superseded `resized`. Fresh scrollback resets the mark or reconnect can blank the terminal. */ +/** Records a stream event's layout seq; false for a superseded `resized`. Each `subscribed` resets the mark; + * scrollback leaves it, because binary scrollback `seq` counts output bytes, not layout changes. */ export function acceptTerminalLayoutSeq( marks: Map, handle: string, @@ -23,8 +24,10 @@ export function acceptTerminalLayoutSeq( return false } marks.set(handle, eventSeq) - } else if (eventSeq != null && data.type === 'scrollback') { + } else if (data.type === 'subscribed' && eventSeq != null) { marks.set(handle, eventSeq) + } else if (data.type === 'subscribed') { + marks.delete(handle) } return true } diff --git a/mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts b/mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts index eef7d2e690e..cb0f22fc01a 100644 --- a/mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts +++ b/mobile/src/terminal/session/use-mobile-session-terminal-create-actions.ts @@ -11,7 +11,7 @@ import { hostSupportsMobileChatFork, mobileChatForkCreateReplyMessage, mobileChatForkRequestFailureMessage -} from '../../session/mobile-chat-fork-create-feedback' +} from './mobile-chat-fork-create-feedback' import type { MobileSessionTab } from '../../session/tabs/mobile-session-tabs' import type { Terminal } from './mobile-terminal-model' import type { MobileSessionAttachmentsModel } from '../../files/attachments/use-mobile-session-attachments' @@ -23,7 +23,7 @@ import { type MobileSessionTerminalCreateOptions } from './mobile-session-terminal-create-request' import { isAgentSessionHandleProvider } from '../../../../src/shared/agent-session/lifecycle/agent-session-provider-handle' -import { createMobileStructuredAgentSession } from '../../session/mobile-structured-agent-session-launch' +import { createMobileStructuredAgentSession } from '../../session/native-chat/agent-session/mobile-structured-agent-session-launch' import { launchesThroughHost, launchNewTabAgentThroughHost diff --git a/mobile/src/terminal/session/use-mobile-session-terminal-subscription.ts b/mobile/src/terminal/session/use-mobile-session-terminal-subscription.ts index 07d3b3088a4..e164f9adb0b 100644 --- a/mobile/src/terminal/session/use-mobile-session-terminal-subscription.ts +++ b/mobile/src/terminal/session/use-mobile-session-terminal-subscription.ts @@ -166,6 +166,7 @@ export function useMobileSessionTerminalSubscription( return } if (data.type === 'subscribed') { + acceptTerminalLayoutSeq(layoutSeqRef.current, handle, data) outputAck.start(data) if (resume.subscribed(data)) { initializedHandlesRef.current.add(handle) diff --git a/mobile/src/terminal/terminal-accessory-keys.test.ts b/mobile/src/terminal/terminal-accessory-keys.test.ts index 2c8e58bbd25..ddf5d586082 100644 --- a/mobile/src/terminal/terminal-accessory-keys.test.ts +++ b/mobile/src/terminal/terminal-accessory-keys.test.ts @@ -62,13 +62,6 @@ describe('TERMINAL_ACCESSORY_KEYS', () => { }) }) - it('builds desktop bytes for Shift+Enter and Ctrl+Backspace', () => { - expect(buildTerminalShortcutKey({ key: 'enter', modifiers: ['shift'] })?.bytes).toBe( - '\x1b[13;2u' - ) - expect(buildTerminalShortcutKey({ key: 'backspace', modifiers: ['ctrl'] })?.bytes).toBe('\x17') - }) - it('builds function-key terminal sequences', () => { expect(buildTerminalShortcutKey({ key: 'f1', modifiers: [] })).toEqual({ label: 'F1', diff --git a/mobile/src/terminal/terminal-auto-restore-fit-state.test.ts b/mobile/src/terminal/terminal-auto-restore-fit-state.test.ts index 1b942283184..ebd5588d29a 100644 --- a/mobile/src/terminal/terminal-auto-restore-fit-state.test.ts +++ b/mobile/src/terminal/terminal-auto-restore-fit-state.test.ts @@ -1,8 +1,7 @@ import { describe, expect, it, vi } from 'vitest' import { readTerminalAutoRestoreFitMs, - saveTerminalAutoRestoreFitMs, - setTerminalAutoRestoreFitMsForHost + saveTerminalAutoRestoreFitMs } from './terminal-auto-restore-fit-state' describe('terminal auto restore fit state', () => { @@ -35,19 +34,4 @@ describe('terminal auto restore fit state', () => { await expect(readTerminalAutoRestoreFitMs({ sendRequest })).resolves.toBeNull() await expect(saveTerminalAutoRestoreFitMs({ sendRequest }, 60_000)).resolves.toBeNull() }) - - it('returns the existing state object when a host value is unchanged', () => { - const current = { hostA: 60_000, hostB: null } - - expect(setTerminalAutoRestoreFitMsForHost(current, 'hostA', 60_000)).toBe(current) - expect(setTerminalAutoRestoreFitMsForHost(current, 'hostB', null)).toBe(current) - }) - - it('updates one host while preserving other host values', () => { - const current = { hostA: 60_000, hostB: null } - const next = setTerminalAutoRestoreFitMsForHost(current, 'hostA', 300_000) - - expect(next).not.toBe(current) - expect(next).toEqual({ hostA: 300_000, hostB: null }) - }) }) diff --git a/mobile/src/terminal/terminal-caret-rendering-oracle.test.ts b/mobile/src/terminal/terminal-caret-rendering-oracle.test.ts deleted file mode 100644 index 10719bb35d4..00000000000 --- a/mobile/src/terminal/terminal-caret-rendering-oracle.test.ts +++ /dev/null @@ -1,177 +0,0 @@ -// @vitest-environment happy-dom -import { Terminal, type ITerminalInitOnlyOptions, type ITerminalOptions } from '@xterm/xterm' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { MOBILE_TERMINAL_CARET_OPTIONS } from './terminal-webview-html' - -type CursorCoreService = { - isCursorHidden: boolean - isCursorInitialized: boolean -} - -type ListenerOwner = Pick - -function cursorCoreService(terminal: Terminal): CursorCoreService { - const core = (terminal as unknown as { _core?: { coreService?: CursorCoreService } })._core - expect(core, 'xterm private _core compatibility').toBeDefined() - expect(core?.coreService, 'xterm private coreService compatibility').toBeDefined() - expect(typeof core?.coreService?.isCursorHidden).toBe('boolean') - expect(typeof core?.coreService?.isCursorInitialized).toBe('boolean') - return core!.coreService! -} - -function listenerOwner(target: EventTarget): ListenerOwner { - let owner = target as ListenerOwner | null - while (owner) { - if (Object.hasOwn(owner, 'addEventListener') && Object.hasOwn(owner, 'removeEventListener')) { - return owner - } - owner = Object.getPrototypeOf(owner) as ListenerOwner | null - } - throw new Error(`No event-listener owner for ${target.constructor.name}`) -} - -function eventListenerOwners(): ListenerOwner[] { - const targets: EventTarget[] = [ - document, - document.defaultView!, - document.documentElement, - document.body, - document.createElement('div'), - document.createElement('textarea'), - document.createElement('canvas') - ] - return [...new Set(targets.map(listenerOwner))] -} - -function trackEventListenerCleanup(): () => { - added: number - removed: number - unreleased: string[] -} { - const registrations: Array<{ - capture: boolean - listener: EventListenerOrEventListenerObject - removed: boolean - target: EventTarget - type: string - }> = [] - const capture = (options?: boolean | AddEventListenerOptions | EventListenerOptions): boolean => - typeof options === 'boolean' ? options : (options?.capture ?? false) - const activeRegistration = ( - target: EventTarget, - type: string, - listener: EventListenerOrEventListenerObject | null, - options?: boolean | AddEventListenerOptions | EventListenerOptions - ) => - registrations.find( - (entry) => - !entry.removed && - entry.target === target && - entry.type === type && - entry.listener === listener && - entry.capture === capture(options) - ) - - for (const owner of eventListenerOwners()) { - const addEventListener = owner.addEventListener - const removeEventListener = owner.removeEventListener - vi.spyOn(owner, 'addEventListener').mockImplementation(function ( - this: EventTarget, - type: string, - listener: EventListenerOrEventListenerObject | null, - options?: boolean | AddEventListenerOptions - ) { - addEventListener.call(this, type, listener, options) - if (listener && !activeRegistration(this, type, listener, options)) { - registrations.push({ - capture: capture(options), - listener, - removed: false, - target: this, - type - }) - } - }) - vi.spyOn(owner, 'removeEventListener').mockImplementation(function ( - this: EventTarget, - type: string, - listener: EventListenerOrEventListenerObject | null, - options?: boolean | EventListenerOptions - ) { - removeEventListener.call(this, type, listener, options) - const registration = listener && activeRegistration(this, type, listener, options) - if (registration) { - registration.removed = true - } - }) - } - - return () => ({ - added: registrations.length, - removed: registrations.filter((registration) => registration.removed).length, - unreleased: registrations - .filter((registration) => !registration.removed) - .map((registration) => registration.type) - }) -} - -function write(terminal: Terminal, data: string): Promise { - return new Promise((resolve) => terminal.write(data, resolve)) -} - -describe('xterm caret rendering oracle', () => { - beforeEach(() => { - vi.stubGlobal( - 'OffscreenCanvas', - class { - getContext(): Pick { - return { font: '', measureText: () => ({ width: 8 }) as TextMetrics } - } - } - ) - }) - - afterEach(() => { - vi.restoreAllMocks() - vi.unstubAllGlobals() - }) - - it('renders and hides an unfocused main-buffer caret', async () => { - const listenerCleanup = trackEventListenerCleanup() - const options: ITerminalOptions & ITerminalInitOnlyOptions = MOBILE_TERMINAL_CARET_OPTIONS - const terminal = new Terminal(options) - const container = document.createElement('div') - document.body.append(container) - - try { - terminal.open(container) - await vi.waitFor(() => expect(cursorCoreService(terminal).isCursorInitialized).toBe(true)) - await write(terminal, '\x1b[?25h\x1b[2K\x1b[1G> hello\x1b[?2004h\x1b[1;3H') - terminal.refresh(0, terminal.rows - 1) - await vi.waitFor(() => expect(container.textContent).toContain('hello')) - const coreService = cursorCoreService(terminal) - expect({ - initialized: coreService.isCursorInitialized, - rendered: container.querySelector('.xterm-cursor') !== null - }).toEqual({ initialized: true, rendered: true }) - - await write(terminal, '\x1b[?25l') - terminal.refresh(0, terminal.rows - 1) - await vi.waitFor(() => expect(container.querySelector('.xterm-cursor')).toBeNull()) - expect({ - hidden: coreService.isCursorHidden, - rendered: container.querySelector('.xterm-cursor') !== null - }).toEqual({ hidden: true, rendered: false }) - } finally { - // Teardown only: assertions here could mask the body failure and strand the container. - terminal.dispose() - container.remove() - } - - expect(container.querySelector('.xterm')).toBeNull() - const cleanup = listenerCleanup() - expect(cleanup.added).toBeGreaterThan(0) - expect(cleanup.removed).toBe(cleanup.added) - expect(cleanup.unreleased).toEqual([]) - }) -}) diff --git a/mobile/src/terminal/terminal-cell-box.test.ts b/mobile/src/terminal/terminal-cell-box.test.ts index d1c7e39a45b..06569b2af30 100644 --- a/mobile/src/terminal/terminal-cell-box.test.ts +++ b/mobile/src/terminal/terminal-cell-box.test.ts @@ -4,10 +4,6 @@ import { readTerminalCellBox } from './terminal-cell-box' const CELL_1X = { fontScale: 1, cellWidth: 23 / 3, cellHeight: 15 } describe('readTerminalCellBox', () => { - it('reads nothing from a notify without a cell box', () => { - expect(readTerminalCellBox({ type: 'web-ready' })).toBeNull() - }) - it('reads a well-formed box and rejects a malformed one', () => { expect(readTerminalCellBox({ cellBox: CELL_1X })).toEqual(CELL_1X) expect(readTerminalCellBox({ cellBox: { ...CELL_1X, cellWidth: 0 } })).toBeNull() diff --git a/mobile/src/terminal/terminal-grid-fit.test.ts b/mobile/src/terminal/terminal-grid-fit.test.ts index 26daa3d7445..28c70569e84 100644 --- a/mobile/src/terminal/terminal-grid-fit.test.ts +++ b/mobile/src/terminal/terminal-grid-fit.test.ts @@ -1,17 +1,7 @@ import { describe, expect, it } from 'vitest' import { fitDimensionsFromCell } from './terminal-grid-fit' -const CELL_1X = { cellWidth: 23 / 3, cellHeight: 15 } - describe('fitDimensionsFromCell', () => { - it('fits the frame React Native laid out', () => { - expect(fitDimensionsFromCell(CELL_1X, 427, 710)).toEqual({ cols: 55, rows: 47 }) - }) - - it('answers null for a frame too narrow to fit', () => { - expect(fitDimensionsFromCell(CELL_1X, 100, 710)).toBeNull() - }) - it('keeps an exact fit at a fractional pixel ratio whole', () => { // An exact device-pixel fit can divide to 49.999… after pixel-ratio conversion. const cell = { cellWidth: 18 / 2.75, cellHeight: 40 / 2.75 } diff --git a/mobile/src/terminal/terminal-input-connection-gate.test.ts b/mobile/src/terminal/terminal-input-connection-gate.test.ts deleted file mode 100644 index 764b6f0b313..00000000000 --- a/mobile/src/terminal/terminal-input-connection-gate.test.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { resolveMobileTerminalInputGate } from './terminal-input-connection-gate' -import { buildTerminalSendParams, TERMINAL_INPUT_SEND_OPTIONS } from './terminal-send-request' - -describe('terminal input connection gate', () => { - it('Given a live connection on a terminal tab Then composing and sending are both allowed', () => { - expect( - resolveMobileTerminalInputGate({ - connState: 'connected', - activeHandle: 'terminal-a', - activeSessionTabType: 'terminal' - }) - ).toEqual({ canCompose: true, canSend: true }) - }) - - it('Given a cut connection Then composing stays available while sending is blocked', () => { - for (const connState of [ - 'connecting', - 'handshaking', - 'disconnected', - 'reconnecting', - 'auth-failed' - ] as const) { - expect( - resolveMobileTerminalInputGate({ - connState, - activeHandle: 'terminal-a', - activeSessionTabType: 'terminal' - }) - ).toEqual({ canCompose: true, canSend: false }) - } - }) - - it('Given a non-terminal tab or no handle Then neither composing nor sending is allowed', () => { - for (const activeSessionTabType of ['markdown', 'file', 'browser']) { - expect( - resolveMobileTerminalInputGate({ - connState: 'connected', - activeHandle: 'terminal-a', - activeSessionTabType - }) - ).toEqual({ canCompose: false, canSend: false }) - } - expect( - resolveMobileTerminalInputGate({ - connState: 'connected', - activeHandle: null, - activeSessionTabType: 'terminal' - }) - ).toEqual({ canCompose: false, canSend: false }) - }) - - it('Given a lagging tab list yielding no tab Then the gate treats the type as unknown, not non-terminal', () => { - expect( - resolveMobileTerminalInputGate({ - connState: 'disconnected', - activeHandle: 'terminal-a', - activeSessionTabType: undefined - }) - ).toEqual({ canCompose: true, canSend: false }) - }) -}) - -describe('terminal send request shape', () => { - it('keeps every keystroke-grade terminal send now-or-never so nothing replays after reconnect', () => { - expect(TERMINAL_INPUT_SEND_OPTIONS).toEqual({ failWhenDisconnected: true }) - }) - - it('tags terminal sends with the device presence lock only when a token exists', () => { - expect( - buildTerminalSendParams({ terminal: 't1', text: 'ls', enter: true, deviceToken: 'tok' }) - ).toEqual({ terminal: 't1', text: 'ls', enter: true, client: { id: 'tok', type: 'mobile' } }) - expect( - buildTerminalSendParams({ terminal: 't1', text: 'ls', enter: false, deviceToken: null }) - ).toEqual({ terminal: 't1', text: 'ls', enter: false }) - }) -}) diff --git a/mobile/src/terminal/terminal-key-chord-input.test.ts b/mobile/src/terminal/terminal-key-chord-input.test.ts index f3392d434eb..c62498fdb0e 100644 --- a/mobile/src/terminal/terminal-key-chord-input.test.ts +++ b/mobile/src/terminal/terminal-key-chord-input.test.ts @@ -10,26 +10,8 @@ const chord = (key: string, modifiers: { ctrl?: boolean; alt?: boolean; shift?: }) describe('createTerminalKeyChordInput', () => { - it('encodes keyboard chords as the bytes a terminal expects', () => { - expect(chord('c', { ctrl: true })).toEqual({ bytes: '\x03' }) - expect(chord('[', { ctrl: true })).toEqual({ bytes: '\x1b' }) - expect(chord('space', { ctrl: true })).toEqual({ bytes: '\x00' }) - expect(chord('b', { alt: true })).toEqual({ bytes: '\x1bb' }) - expect(chord('B', { alt: true })).toEqual({ bytes: '\x1bB' }) - expect(chord('C', { ctrl: true })).toEqual({ bytes: '\x03' }) - expect(chord('/', { ctrl: true })).toEqual({ bytes: '\x1f' }) - expect(chord('enter', { alt: true })).toEqual({ bytes: '\x1b\r' }) - expect(chord('tab', { shift: true })).toEqual({ bytes: '\x1b[Z' }) - expect(chord('arrowUp', { ctrl: true })).toEqual({ bytes: '\x1b[1;5A' }) - expect(chord('escape')).toEqual({ bytes: '\x1b' }) - }) - it('keeps the accessory Del local-edit rule for a bare forward delete only', () => { expect(chord('delete')).toEqual({ bytes: '\x1b[3~', localEdit: 'delete' }) expect(chord('delete', { ctrl: true })).toEqual({ bytes: '\x1b[3;5~' }) }) - - it('drops chords with no terminal encoding', () => { - expect(chord('1', { ctrl: true })).toBeNull() - }) }) diff --git a/mobile/src/terminal/terminal-key-mode-encoding.test.ts b/mobile/src/terminal/terminal-key-mode-encoding.test.ts index f66e452ac55..e709d0914ef 100644 --- a/mobile/src/terminal/terminal-key-mode-encoding.test.ts +++ b/mobile/src/terminal/terminal-key-mode-encoding.test.ts @@ -22,14 +22,4 @@ describe('encodeTerminalKeyForModes', () => { expect(encodeTerminalKeyForModes('\x1b[A', MODES)).toBe('\x1b[A') expect(encodeTerminalKeyForModes('\x1b[A', { ...decckm, kittyKeyboardFlags: 1 })).toBe('\x1b[A') }) - - it('encodes Shift+Enter for the negotiated keyboard protocol', () => { - expect(encodeTerminalKeyForModes('\x1b[13;2u', { ...MODES, kittyKeyboardFlags: 1 })).toBe( - '\x1b[13;2u' - ) - expect(encodeTerminalKeyForModes('\x1b[13;2u', { ...MODES, modifyOtherKeys: 2 })).toBe( - '\x1b[27;2;13~' - ) - expect(encodeTerminalKeyForModes('\x1b[13;2u', MODES)).toBe('\x1b\r') - }) }) diff --git a/mobile/src/terminal/terminal-keyboard-avoidance-lift.test.ts b/mobile/src/terminal/terminal-keyboard-avoidance-lift.test.ts index 3872248dd4a..5441080461c 100644 --- a/mobile/src/terminal/terminal-keyboard-avoidance-lift.test.ts +++ b/mobile/src/terminal/terminal-keyboard-avoidance-lift.test.ts @@ -15,53 +15,6 @@ function metrics( } describe('computeActiveTerminalKeyboardLift', () => { - it('returns 0 when the keyboard is closed', () => { - expect( - computeActiveTerminalKeyboardLift({ - keyboardLift: 0, - metrics: metrics({ cursorY: 30, contentBottomRow: 34 }), - terminalFrameHeight: FRAME_HEIGHT - }) - ).toBe(0) - }) - - it('falls back to the full lift when metrics are missing', () => { - expect( - computeActiveTerminalKeyboardLift({ - keyboardLift: KEYBOARD_LIFT, - metrics: undefined, - terminalFrameHeight: FRAME_HEIGHT - }) - ).toBe(KEYBOARD_LIFT) - }) - - it('falls back to the full lift when rows or frame height are unmeasured', () => { - expect( - computeActiveTerminalKeyboardLift({ - keyboardLift: KEYBOARD_LIFT, - metrics: metrics({ rows: 0 }), - terminalFrameHeight: FRAME_HEIGHT - }) - ).toBe(KEYBOARD_LIFT) - expect( - computeActiveTerminalKeyboardLift({ - keyboardLift: KEYBOARD_LIFT, - metrics: metrics(), - terminalFrameHeight: 0 - }) - ).toBe(KEYBOARD_LIFT) - }) - - it('lifts fully for alt-screen TUIs', () => { - expect( - computeActiveTerminalKeyboardLift({ - keyboardLift: KEYBOARD_LIFT, - metrics: metrics({ cursorY: 10, contentBottomRow: 10, altScreen: true }), - terminalFrameHeight: FRAME_HEIGHT - }) - ).toBe(KEYBOARD_LIFT) - }) - it('clears a main-buffer footer while an old payload retains cursor-only behavior', () => { const candidate = computeActiveTerminalKeyboardLift({ keyboardLift: KEYBOARD_LIFT, @@ -77,40 +30,6 @@ describe('computeActiveTerminalKeyboardLift', () => { expect({ candidate, cursorOnly }).toEqual({ candidate: 220, cursorOnly: 140 }) }) - it('keeps short output near the top put (no lift)', () => { - expect( - computeActiveTerminalKeyboardLift({ - keyboardLift: KEYBOARD_LIFT, - metrics: metrics({ cursorY: 2, contentBottomRow: 5 }), - terminalFrameHeight: FRAME_HEIGHT - }) - ).toBe(0) - }) - - it('matches cursor-clearing behavior for a scrolled shell (prompt at the bottom)', () => { - const lift = computeActiveTerminalKeyboardLift({ - keyboardLift: KEYBOARD_LIFT, - metrics: metrics({ cursorY: 38, contentBottomRow: 38 }), - terminalFrameHeight: FRAME_HEIGHT - }) - expect(lift).toBe(KEYBOARD_LIFT) - }) - - it('never exceeds the keyboard lift', () => { - const lift = computeActiveTerminalKeyboardLift({ - keyboardLift: KEYBOARD_LIFT, - metrics: metrics({ cursorY: 39, contentBottomRow: 39 }), - terminalFrameHeight: FRAME_HEIGHT - }) - expect(lift).toBeLessThanOrEqual(KEYBOARD_LIFT) - const taller = computeActiveTerminalKeyboardLift({ - keyboardLift: KEYBOARD_LIFT, - metrics: metrics({ rows: 60, rowPitch: 18, cursorY: 59, contentBottomRow: 59 }), - terminalFrameHeight: FRAME_HEIGHT - }) - expect(taller).toBe(KEYBOARD_LIFT) - }) - it('applies the supplied keyboard coverage to the lift', () => { const tuiMetrics = metrics({ cursorY: 30, contentBottomRow: 34 }) const android = computeActiveTerminalKeyboardLift({ @@ -150,12 +69,6 @@ describe('computeActiveTerminalKeyboardLift', () => { expect(lift(312, { ...drawn425, cursorY: 45, contentBottomRow: 45 })).toBe(0) }) - it('lifts nothing for a keyboard that is open and covers nothing', () => { - expect(lift(0, metrics({ rows: 50, rowPitch: 17, cursorY: 49, contentBottomRow: 49 }))).toBe( - 0 - ) - }) - it('stays under the strip while stale rows outlast a rotation or a text-size change', () => { const rotated = metrics({ rows: 47, rowPitch: 15, cursorY: 46, contentBottomRow: 46 }) expect(lift(150, rotated, 300)).toBe(150) diff --git a/mobile/src/terminal/terminal-keyboard-avoidance-webview.test.ts b/mobile/src/terminal/terminal-keyboard-avoidance-webview.test.ts index ae2b733a7fc..4a80fb6f2c4 100644 --- a/mobile/src/terminal/terminal-keyboard-avoidance-webview.test.ts +++ b/mobile/src/terminal/terminal-keyboard-avoidance-webview.test.ts @@ -1,10 +1,9 @@ // @vitest-environment happy-dom import { Terminal } from '@xterm/xterm' -import { describe, expect, it, vi } from 'vitest' +import { describe, expect, it } from 'vitest' import { createTerminalDocumentScope } from './document/document-scope' import { emitKeyboardAvoidanceMetrics } from './document/keyboard-avoidance-metrics' import { commitFitScale } from './document/fit-scale' -import { parseTerminalKeyboardAvoidanceMetrics } from './terminal-webview-contract' function runMetricsOver(term: unknown, fitScale = 1): Record[] { const notifications: Record[] = [] @@ -17,8 +16,6 @@ function runMetricsOver(term: unknown, fitScale = 1): Record[] emitKeyboardAvoidanceMetrics(scope) return notifications } - -type Cell = { isBgDefault: () => boolean; isInverse: () => number } type MetricsNotification = { type: string cursorY: number @@ -47,31 +44,6 @@ function checkedMetrics(value: Record | undefined): MetricsNoti } } -function makeLine(text = '', styledColumns: number[] = []) { - const styled = new Set(styledColumns) - return { - isWrapped: false, - length: 10, - translateToString: vi.fn(() => text), - getCell: (column: number): Cell => ({ - isBgDefault: () => !styled.has(column), - isInverse: () => 0 - }) - } -} - -function runMetrics(lines: (ReturnType | undefined)[], altScreen = false) { - const buffer = { - cursorY: 2, - viewportY: 3, - type: altScreen ? 'alternate' : 'normal', - getLine: (index: number) => lines[index - 3], - getNullCell: () => ({}) - } - const notified = runMetricsOver({ buffer: { active: buffer }, cols: 10, rows: lines.length }) - return checkedMetrics(notified[0]) -} - function runTerminalMetrics(term: Terminal) { return checkedMetrics(runMetricsOver(term)[0]) } @@ -81,21 +53,6 @@ function write(term: Terminal, data: string): Promise { } describe('terminal keyboard-avoidance WebView metrics', () => { - it('finds text on wrapped rows using the visible viewport offset', () => { - const lines = [makeLine('header'), makeLine(''), makeLine('wrapped footer')] - lines[2]!.isWrapped = true - expect(runMetrics(lines)).toMatchObject({ contentBottomRow: 2 }) - }) - - it('keeps background-only ANSI chrome visible', () => { - expect(runMetrics([makeLine('header'), makeLine(''), makeLine('')])).toMatchObject({ - contentBottomRow: 0 - }) - expect(runMetrics([makeLine('header'), makeLine(''), makeLine('', [4])])).toMatchObject({ - contentBottomRow: 2 - }) - }) - it('classifies real xterm text and styled whitespace by rendered visibility', async () => { const cases = [ { name: 'default spaces', data: ' ', expected: 0 }, @@ -148,38 +105,6 @@ describe('terminal keyboard-avoidance WebView metrics', () => { } }) - it('keeps real xterm metrics compatible with old payloads', async () => { - const term = new Terminal({ cols: 10, rows: 8 }) - try { - await write(term, '\x1b[8;1Hfooter\x1b[2;1H') - const { cursorY, rows, altScreen } = runTerminalMetrics(term) - expect(parseTerminalKeyboardAvoidanceMetrics({ cursorY, rows, altScreen })).toEqual({ - cursorY: 1, - contentBottomRow: 1, - rows: 8, - altScreen: false - }) - } finally { - term.dispose() - } - }) - - it('stops at the first bottom-up match and skips scans on alternate screen', () => { - const footer = makeLine('footer') - const header = makeLine('header') - expect(runMetrics([header, makeLine(''), footer])).toMatchObject({ contentBottomRow: 2 }) - expect(footer.translateToString).toHaveBeenCalledTimes(1) - expect(header.translateToString).not.toHaveBeenCalled() - - footer.translateToString.mockImplementation(() => { - throw new Error('alternate screen must not scan') - }) - expect(runMetrics([header, makeLine(''), footer], true)).toMatchObject({ - altScreen: true, - contentBottomRow: 0 - }) - }) - it('reports the row pitch as drawn, fit scale included, and none before a cell is measured', () => { const buffer = { cursorY: 0, viewportY: 0, type: 'normal', getLine: () => undefined } const measuredTerm = { diff --git a/mobile/src/terminal/terminal-live-accessory-raw-send-target.test.ts b/mobile/src/terminal/terminal-live-accessory-raw-send-target.test.ts deleted file mode 100644 index 15bc86d9eb0..00000000000 --- a/mobile/src/terminal/terminal-live-accessory-raw-send-target.test.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { getTerminalLiveAccessoryRawSendTarget } from './terminal-live-accessory-raw-send-target' - -describe('terminal live accessory raw send target', () => { - it('Given the original terminal is still active When raw fallback resumes Then returns that handle', () => { - const targetHandle = 'terminal-a' - - const sendTarget = getTerminalLiveAccessoryRawSendTarget({ - targetHandle, - activeHandle: targetHandle, - activeSessionTabType: 'terminal' - }) - - expect(sendTarget).toBe(targetHandle) - }) - - it('Given the active terminal changed while waiting When raw fallback resumes Then suppresses the send', () => { - const targetHandle = 'terminal-a' - - const sendTarget = getTerminalLiveAccessoryRawSendTarget({ - targetHandle, - activeHandle: 'terminal-b', - activeSessionTabType: 'terminal' - }) - - expect(sendTarget).toBeNull() - }) - - it('Given the target is not an active terminal tab When raw fallback resumes Then suppresses the send', () => { - const targetHandle = 'terminal-a' - - const inactiveTabTarget = getTerminalLiveAccessoryRawSendTarget({ - targetHandle, - activeHandle: targetHandle, - activeSessionTabType: 'browser' - }) - - expect(inactiveTabTarget).toBeNull() - }) -}) diff --git a/mobile/src/terminal/terminal-live-accessory-raw-send.ts b/mobile/src/terminal/terminal-live-accessory-raw-send.ts index 69dd43a379b..6ee6773c962 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 { getTerminalLiveAccessoryRawSendTarget } from './terminal-live-accessory-raw-send-target' import { buildTerminalSendParams, TERMINAL_INPUT_SEND_OPTIONS } from './terminal-send-request' import { terminalInputSend } from './mobile-terminal-operations' -import type { RpcOperationSender } from '../transport/rpc/rpc-operation-sender' +import type { UnvalidatedRpcRequestPort } from '../transport/rpc/unvalidated-rpc-request-port' import type { ConnectionState } from '../transport/connection/connection-state' type TerminalLiveAccessoryRawSendArgs = { readonly sendTerminalUserInput: typeof terminalInputSend.request - readonly client: RpcOperationSender | null + readonly client: UnvalidatedRpcRequestPort | null readonly targetHandle: string readonly activeHandle: string | null readonly activeSessionTabType: string | null diff --git a/mobile/src/terminal/terminal-live-input-keyboard-reopen.test.ts b/mobile/src/terminal/terminal-live-input-keyboard-reopen.test.ts deleted file mode 100644 index c70880c1642..00000000000 --- a/mobile/src/terminal/terminal-live-input-keyboard-reopen.test.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { describe, expect, it, vi } from 'vitest' - -const host = vi.hoisted(() => ({ os: 'android' })) -vi.mock('react-native', () => ({ Platform: { OS: 'web' } })) -vi.mock('../platform/host-os', () => ({ hostOs: () => host.os })) - -const { reopensFocusedInputWhenKeyboardHidden } = - await import('./terminal-live-input-keyboard-reopen') - -describe('reopening a focused live input whose keyboard is hidden', () => { - it("follows the phone's OS on the page, which runs as web", () => { - host.os = 'android' - expect(reopensFocusedInputWhenKeyboardHidden()).toBe(true) - host.os = 'ios' - expect(reopensFocusedInputWhenKeyboardHidden()).toBe(false) - }) -}) diff --git a/mobile/src/terminal/terminal-live-input-text-write.web.test.ts b/mobile/src/terminal/terminal-live-input-text-write.web.test.ts index 1cbb2329fae..ea02b00e99e 100644 --- a/mobile/src/terminal/terminal-live-input-text-write.web.test.ts +++ b/mobile/src/terminal/terminal-live-input-text-write.web.test.ts @@ -4,7 +4,6 @@ import { act, createElement, createRef, type ComponentType, type RefObject } fro import { createRoot } from 'react-dom/client' import { describe, expect, it } from 'vitest' import type { TextInput } from 'react-native' -import { writeTerminalLiveInputText } from './terminal-live-input-text-write' import { writeTerminalLiveInputText as writeTerminalLiveInputTextOnWeb } from './terminal-live-input-text-write.web' const refTo = (node: unknown): RefObject => ({ @@ -12,29 +11,7 @@ const refTo = (node: unknown): RefObject => ({ current: node as TextInput | null }) -function mountInput(): HTMLInputElement { - const input = document.createElement('input') - document.body.append(input) - return input -} - -describe('the native live-input write with an unmounted ref', () => { - // The no-terminal route never reaches this write, so its render check alone could miss the native-method defect. - it('writes nothing at all when the field has not mounted', () => { - expect(() => writeTerminalLiveInputText(refTo(null), '')).not.toThrow() - }) -}) - describe('the web sibling', () => { - it('puts the text on the node the field is', () => { - const input = mountInput() - input.value = 'ime-preedit' - - writeTerminalLiveInputTextOnWeb(refTo(input), '') - - expect(input.value).toBe('') - }) - it('writes a multiline field too, which RN Web renders as a textarea', () => { const area = document.createElement('textarea') document.body.append(area) @@ -43,19 +20,6 @@ describe('the web sibling', () => { expect(area.value).toBe('edited') }) - - it('tolerates a field that has unmounted between the edit and the write', () => { - expect(() => writeTerminalLiveInputTextOnWeb(refTo(null), '')).not.toThrow() - }) - - // Do not add value to unknown wrappers; future RN Web changes must not silently pretend to update the field. - it('leaves a node that is not a field alone', () => { - const div = document.createElement('div') - - writeTerminalLiveInputTextOnWeb(refTo(div), 'edited') - - expect(Object.hasOwn(div, 'value')).toBe(false) - }) }) // Check the actual RN Web TextInput ref too; a hand-built input would miss component shape changes. diff --git a/mobile/src/terminal/terminal-reply-schema.test.ts b/mobile/src/terminal/terminal-reply-schema.test.ts deleted file mode 100644 index d3e9fc8b416..00000000000 --- a/mobile/src/terminal/terminal-reply-schema.test.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { z } from 'zod' -import { terminalSendAcceptedSchema, terminalViewportUpdatedSchema } from './terminal-reply-schema' - -function reads(schema: z.ZodType, value: unknown): T { - const parsed = schema.safeParse(value) - if (!parsed.success) { - throw new Error(`expected a readable reply: ${parsed.error.message}`) - } - return parsed.data -} - -describe('a terminal send is delivered only on an exact true', () => { - it('reads the accepted envelope', () => { - expect(reads(terminalSendAcceptedSchema, { send: { accepted: true } })).toBe(true) - expect(reads(terminalSendAcceptedSchema, { send: { accepted: false } })).toBe(false) - }) - - it('reads every other shape as not delivered rather than as an error', () => { - expect(reads(terminalSendAcceptedSchema, {})).toBe(false) - expect(reads(terminalSendAcceptedSchema, { send: null })).toBe(false) - expect(reads(terminalSendAcceptedSchema, { send: 'accepted' })).toBe(false) - expect(reads(terminalSendAcceptedSchema, { send: { accepted: 'yes' } })).toBe(false) - expect(reads(terminalSendAcceptedSchema, { error: 'refused' })).toBe(false) - }) -}) - -describe('a viewport update projects both flags through an exact true', () => { - it('reads what the runtime recorded and whether it re-fitted', () => { - expect(reads(terminalViewportUpdatedSchema, { updated: true, applied: true })).toEqual({ - updated: true, - applied: true - }) - expect(reads(terminalViewportUpdatedSchema, { updated: true, applied: false })).toEqual({ - updated: true, - applied: false - }) - }) - - it('falls through to the legacy resubscribe for anything that is not exactly true', () => { - expect(reads(terminalViewportUpdatedSchema, {})).toEqual({ updated: false, applied: false }) - expect(reads(terminalViewportUpdatedSchema, { updated: 1, applied: 1 })).toEqual({ - updated: false, - applied: false - }) - }) - - it('passes the seq the host also sends through without declaring it', () => { - expect(reads(terminalViewportUpdatedSchema, { updated: true, applied: true, seq: 9 })).toEqual({ - updated: true, - applied: true - }) - }) -}) diff --git a/mobile/src/terminal/terminal-settings-scroll-lock.web.test.ts b/mobile/src/terminal/terminal-settings-scroll-lock.web.test.ts deleted file mode 100644 index 9636e115888..00000000000 --- a/mobile/src/terminal/terminal-settings-scroll-lock.web.test.ts +++ /dev/null @@ -1,107 +0,0 @@ -// @vitest-environment happy-dom -import { createRequire } from 'node:module' -import { act, createElement, createRef, type ComponentType, type RefObject } from 'react' -import { createRoot } from 'react-dom/client' -import { describe, expect, it } from 'vitest' -import type { ScrollView } from 'react-native' -import { setTerminalSettingsScrollEnabled } from './terminal-settings-scroll-lock' -import { setTerminalSettingsScrollEnabled as setTerminalSettingsScrollEnabledOnWeb } from './terminal-settings-scroll-lock.web' - -const refTo = (node: unknown): RefObject => ({ - // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the point of these cases is that a DOM node is what the native signature receives on RN Web, which is the mismatch this sibling exists for. - current: node as ScrollView | null -}) - -describe('the native scroll-lock write against an RN Web ref', () => { - it('throws, because a DOM node has no setNativeProps', () => { - expect(() => - setTerminalSettingsScrollEnabled(refTo(document.createElement('div')), false) - ).toThrow(/setNativeProps is not a function/) - }) - - it('writes nothing at all when the view has not mounted', () => { - expect(() => setTerminalSettingsScrollEnabled(refTo(null), false)).not.toThrow() - }) -}) - -describe('the web sibling', () => { - it('locks the scroll with overflow, which stops a wheel as well as a touch drag', () => { - const node = document.createElement('div') - - setTerminalSettingsScrollEnabledOnWeb(refTo(node), false) - - expect(node.style.overflowY).toBe('hidden') - }) - - it('tolerates a view that has unmounted between the gesture and the write', () => { - expect(() => setTerminalSettingsScrollEnabledOnWeb(refTo(null), true)).not.toThrow() - }) - - it('leaves a node that is not an element alone', () => { - expect(() => setTerminalSettingsScrollEnabledOnWeb(refTo({}), false)).not.toThrow() - }) -}) - -// Test RN Web’s real class-driven overflow: a bare div cannot prove clearing inline overflow restores scrolling. -describe('against a real react-native-web ScrollView', () => { - // Require RN Web because its missing type declarations would make a direct import escape the tests-typecheck ratchet. - const { - ScrollView: ReactNativeWebScrollView - }: { - ScrollView: ComponentType<{ - ref: RefObject - }> - } = createRequire(import.meta.url)('react-native-web') - - async function renderScroller(): Promise<{ - node: HTMLElement - unmount: () => void - }> { - Reflect.set(globalThis, 'IS_REACT_ACT_ENVIRONMENT', true) - const container = document.createElement('div') - document.body.append(container) - const root = createRoot(container) - const ref: RefObject = createRef() - await act(async () => { - root.render(createElement(ReactNativeWebScrollView, { ref })) - }) - const node = ref.current - if (!(node instanceof HTMLElement)) { - throw new Error('react-native-web put no element in the ScrollView ref') - } - return { - node, - unmount: () => { - root.unmount() - container.remove() - } - } - } - - it('is handed the DOM node itself, which is why the native write cannot land', async () => { - const { node, unmount } = await renderScroller() - try { - expect(node.tagName).toBe('DIV') - expect('setNativeProps' in node).toBe(false) - } finally { - unmount() - } - }) - - it('locks and then hands the scroller back to the class RN Web styles it with', async () => { - const { node, unmount } = await renderScroller() - try { - expect(node.getAttribute('style')).toBeNull() - expect(node.className).toContain('overflowY') - - setTerminalSettingsScrollEnabledOnWeb(refTo(node), false) - expect(node.style.overflowY).toBe('hidden') - - setTerminalSettingsScrollEnabledOnWeb(refTo(node), true) - expect(node.style.overflowY).toBe('') - expect(node.className).toContain('overflowY') - } finally { - unmount() - } - }) -}) diff --git a/mobile/src/terminal/terminal-text-input-normalization.test.ts b/mobile/src/terminal/terminal-text-input-normalization.test.ts index c5213013e31..8bd9b39c105 100644 --- a/mobile/src/terminal/terminal-text-input-normalization.test.ts +++ b/mobile/src/terminal/terminal-text-input-normalization.test.ts @@ -7,8 +7,4 @@ describe('normalizeTerminalTextInput', () => { expect(normalizeTerminalTextInput('git checkout – file')).toBe('git checkout -- file') expect(normalizeTerminalTextInput('git checkout — file')).toBe('git checkout -- file') }) - - it('keeps ASCII hyphens unchanged', () => { - expect(normalizeTerminalTextInput('git checkout -- file')).toBe('git checkout -- file') - }) }) diff --git a/mobile/src/terminal/terminal-webview-cell-box.test.ts b/mobile/src/terminal/terminal-webview-cell-box.test.ts index 18484a37d81..5d4071bea7d 100644 --- a/mobile/src/terminal/terminal-webview-cell-box.test.ts +++ b/mobile/src/terminal/terminal-webview-cell-box.test.ts @@ -81,14 +81,6 @@ const cellBoxNotify = (cellWidth: number, refit: boolean) => ({ }) describe('the cell box xterm laid out', () => { - it('sizes a fit from web-ready, which the document sends once its terminal is built', () => { - const { handle, notify } = mount() - expect(handle().fitDimensions(FRAME)).toBeNull() - notify({ type: 'web-ready', cellBox: cellAt(scale) }) - expect(handle().fitDimensions(FRAME)).toEqual({ cols: 55, rows: 47 }) - expect(postedTypes()).not.toContain('measure') - }) - it('fits each box the document reports, and refits only when the document says so', () => { const { handle, notify, onCellBoxChange } = mount() notify({ type: 'web-ready', cellBox: cellAt(scale) }) @@ -142,14 +134,6 @@ describe('the cell box xterm laid out', () => { expect(postedTypes()).not.toContain('init') }) - it('reloads the same view when its content process ends', () => { - const { webView } = mount() - const view = webView() - act(() => view.props.onContentProcessDidTerminate({ nativeEvent: {} })) - expect(nativeWebViewMethods.reload).toHaveBeenCalledTimes(1) - expect(webView()).toBe(view) - }) - it('drops queued and coalesced commands on a reload or a lost content process', () => { vi.useFakeTimers() const { handle, notify, webView } = mount() @@ -169,30 +153,4 @@ describe('the cell box xterm laid out', () => { }) expect(postedTypes()).toContain('write') }) - - it('tells the document the app text scale before it builds its terminal', () => { - const { webView } = mount(1.25) - const html: string = webView().props.source.html - const start = html.indexOf('window.__orcaTerminalTextScale = 1.25;') - expect(start).toBeGreaterThan(-1) - // Put initial settings in page source so no platform can inject them after document startup. - expect(start).toBeLessThan(html.indexOf('startTerminalDocument')) - }) - - it('keeps the source it mounted with across renders, so a new text scale does not reload', () => { - const { webView } = mount(1) - const source = webView().props.source - act(() => renderers[0]!.update(createElement(TerminalWebView, { textScale: 1.5 }))) - expect(webView().props.source).toBe(source) - }) - - it('tells a document whose view was hidden at mount not to build before ready', () => { - let renderer: ReactTestRenderer | undefined - act(() => { - renderer = create(createElement(TerminalWebView, { shownAtMount: false })) - }) - renderers.push(renderer!) - const webView = renderer!.root.find((node) => typeof node.props.onMessage === 'function') - expect(webView.props.source.html).toContain('window.__orcaTerminalShown = false;') - }) }) diff --git a/mobile/src/terminal/terminal-webview-contract.test.ts b/mobile/src/terminal/terminal-webview-contract.test.ts index 4cd3ce47dfa..cde678336f8 100644 --- a/mobile/src/terminal/terminal-webview-contract.test.ts +++ b/mobile/src/terminal/terminal-webview-contract.test.ts @@ -1,23 +1,8 @@ import { describe, expect, it } from 'vitest' -import { - parseTerminalKeyboardAvoidanceMetrics, - sameTerminalKeyboardAvoidanceMetrics, - type TerminalKeyboardAvoidanceMetrics -} from './terminal-webview-contract' +import { parseTerminalKeyboardAvoidanceMetrics } from './terminal-webview-contract' describe('parseTerminalKeyboardAvoidanceMetrics', () => { - it('parses a full payload', () => { - expect( - parseTerminalKeyboardAvoidanceMetrics({ - cursorY: 30, - contentBottomRow: 34, - rows: 40, - altScreen: true - }) - ).toEqual({ cursorY: 30, contentBottomRow: 34, rows: 40, altScreen: true }) - }) - it('defaults contentBottomRow to cursorY when absent (older WebView bundles)', () => { expect(parseTerminalKeyboardAvoidanceMetrics({ cursorY: 12, rows: 40 })).toEqual({ cursorY: 12, @@ -27,15 +12,6 @@ describe('parseTerminalKeyboardAvoidanceMetrics', () => { }) }) - it('defaults non-numeric fields to zero', () => { - expect(parseTerminalKeyboardAvoidanceMetrics({})).toEqual({ - cursorY: 0, - contentBottomRow: 0, - rows: 0, - altScreen: false - }) - }) - it('bounds untrusted numeric fields to the reported viewport', () => { expect( parseTerminalKeyboardAvoidanceMetrics({ @@ -65,30 +41,3 @@ describe('parseTerminalKeyboardAvoidanceMetrics', () => { } }) }) - -describe('sameTerminalKeyboardAvoidanceMetrics', () => { - const metrics: Required = { - cursorY: 38, - contentBottomRow: 38, - rows: 40, - altScreen: false, - rowPitch: 15 - } - const variants: [keyof typeof metrics, TerminalKeyboardAvoidanceMetrics][] = [ - ['cursorY', { ...metrics, cursorY: 39 }], - ['contentBottomRow', { ...metrics, contentBottomRow: 39 }], - ['rows', { ...metrics, rows: 41 }], - ['altScreen', { ...metrics, altScreen: true }], - ['rowPitch', { ...metrics, rowPitch: 6.96 }] - ] - - it('tells apart metrics that differ in any one field', () => { - expect(sameTerminalKeyboardAvoidanceMetrics(metrics, { ...metrics })).toBe(true) - expect(variants.map(([key]) => key).sort()).toEqual(Object.keys(metrics).sort()) - for (const [key, variant] of variants) { - expect(sameTerminalKeyboardAvoidanceMetrics(metrics, variant), key).toBe(false) - } - const { rowPitch: _rowPitch, ...older } = metrics - expect(sameTerminalKeyboardAvoidanceMetrics(metrics, older)).toBe(false) - }) -}) diff --git a/mobile/src/terminal/terminal-webview-engine.test.ts b/mobile/src/terminal/terminal-webview-engine.test.ts index 84c79e49df2..bae8c70c67a 100644 --- a/mobile/src/terminal/terminal-webview-engine.test.ts +++ b/mobile/src/terminal/terminal-webview-engine.test.ts @@ -1,15 +1,12 @@ // @vitest-environment happy-dom -import { readFileSync } from 'node:fs' -import path from 'node:path' import { Script } from 'node:vm' import { parse } from 'acorn' import { describe, expect, it, vi } from 'vitest' -import { TERMINAL_NERD_FONT_CSS, XTERM_ENGINE_CSS } from './terminal-webview-engine-css.generated' +import { XTERM_ENGINE_CSS } from './terminal-webview-engine-css.generated' import { XTERM_ENGINE_JS } from './terminal-webview-engine.generated' import { createTerminalDocumentScope } from './document/document-scope' -import { attachWebglAddon, startWebglRecovery } from './document/webgl-recovery' +import { attachWebglAddon } from './document/webgl-recovery' import { XTERM_HTML } from './terminal-webview-html' -import { applyTerminalTheme } from './document/terminal-theme' function createWebglRecoveryHarness(failSecondAttach = false) { const timers: Array<() => void> = [] @@ -43,7 +40,6 @@ function createWebglRecoveryHarness(failSecondAttach = false) { }) } const logged: Record[] = [] - const terminalThemeInput = { mode: 'dark' } vi.spyOn(globalThis, 'setTimeout').mockImplementation((callback: TimerHandler) => { if (typeof callback === 'function') { timers.push(() => { @@ -60,20 +56,11 @@ function createWebglRecoveryHarness(failSecondAttach = false) { // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the double implements the members the recovery path reaches, which is what each case asserts about. scope.term = term as unknown as typeof scope.term scope.terminalGeneration = 1 - // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the recovery only re-applies this value through the theme path; its shape is that path's own input. - scope.terminalThemeInput = terminalThemeInput as unknown as typeof scope.terminalThemeInput - startWebglRecovery(scope) attachWebglAddon(scope, true) return { addons, - appliedThemes: () => term.options.theme, - fireVisibilityChange: () => { - document.dispatchEvent(new Event('visibilitychange')) - }, logged, - scope, term, - terminalThemeInput, timers } } @@ -86,33 +73,6 @@ describe('terminal WebView bundled engine', () => { expect(XTERM_HTML).not.toContain('rel="stylesheet" href=') }) - it('ships the licensed desktop symbol font offline without covering normal text', () => { - const encoded = TERMINAL_NERD_FONT_CSS.match(/base64,([^']+)'/)?.[1] - expect(encoded).toBeTruthy() - const bundled = readFileSync( - path.resolve(import.meta.dirname, '../../assets/fonts/SymbolsNerdFontMono-Regular.woff2') - ) - expect(Buffer.from(encoded ?? '', 'base64').equals(bundled)).toBe(true) - expect( - bundled.equals( - readFileSync( - path.resolve( - import.meta.dirname, - '../../../src/renderer/src/assets/fonts/SymbolsNerdFontMono-Regular.woff2' - ) - ) - ) - ).toBe(true) - expect(TERMINAL_NERD_FONT_CSS).toContain( - 'unicode-range:U+E000-F8FF,U+F0000-FFFFD,U+100000-10FFFD' - ) - expect(XTERM_HTML).toContain(``) - expect(XTERM_HTML).toContain( - '"Liberation Mono", "Orca Nerd Font Symbols", "Symbols Nerd Font Mono"' - ) - expect(TERMINAL_NERD_FONT_CSS).not.toMatch(/<\/style/i) - }) - it('parses the bundled engine at the Chrome 74 syntax floor', () => { expect(() => parse(XTERM_ENGINE_JS, { ecmaVersion: 2019 })).not.toThrow() }) @@ -226,21 +186,4 @@ describe('terminal WebView bundled engine', () => { expect(addons[1]?.dispose).toHaveBeenCalledTimes(1) expect(term.refresh).toHaveBeenCalledTimes(2) }) - - it('reapplies theme, clears the active atlas, and refreshes when visible', () => { - const harness = createWebglRecoveryHarness() - applyTerminalTheme(harness.scope, harness.scope.terminalThemeInput) - const firstTheme = harness.term.options.theme - - // Stub only hidden state; Happy DOM’s visible default exercises real recovery. - vi.spyOn(document, 'visibilityState', 'get').mockReturnValue('hidden') - harness.fireVisibilityChange() - expect(harness.term.options.theme).toBe(firstTheme) - vi.restoreAllMocks() - - harness.fireVisibilityChange() - expect(harness.term.options.theme).not.toBe(firstTheme) - expect(harness.addons[0]?.clearTextureAtlas).toHaveBeenCalledTimes(1) - expect(harness.term.refresh).toHaveBeenCalledTimes(1) - }) }) diff --git a/mobile/src/terminal/terminal-webview-html/document-style.test.ts b/mobile/src/terminal/terminal-webview-html/document-style.test.ts index 0aae8e56fdb..00363128aa3 100644 --- a/mobile/src/terminal/terminal-webview-html/document-style.test.ts +++ b/mobile/src/terminal/terminal-webview-html/document-style.test.ts @@ -1,7 +1,7 @@ import { describe, expect, it } from 'vitest' -import { documentLevelRules, scopeStyleToHost } from '../../style-scoping/document-style-scoping' +import { scopeStyleToHost } from '../../style-scoping/document-style-scoping' import { XTERM_ENGINE_CSS } from '../terminal-webview-engine-css.generated' -import { TERMINAL_DOCUMENT_ELEMENT_STYLE, TERMINAL_DOCUMENT_ROOT_STYLE } from './document-style' +import { TERMINAL_DOCUMENT_ELEMENT_STYLE } from './document-style' // Verify native root rules remain separate while page-injected rules can reach only terminal-owned elements. const PREFIX = '.orca-terminal-document-host' @@ -13,11 +13,6 @@ function selectorsOf(css: string): string[] { } describe('the terminal document stylesheet', () => { - it('keeps every document-level rule out of the half the page takes', () => { - expect(documentLevelRules(TERMINAL_DOCUMENT_ROOT_STYLE)).toEqual(['*', 'html, body']) - expect(documentLevelRules(TERMINAL_DOCUMENT_ELEMENT_STYLE)).toEqual([]) - }) - it('holds every selector of both injected sheets under the host', () => { for (const sheet of [TERMINAL_DOCUMENT_ELEMENT_STYLE, XTERM_ENGINE_CSS]) { const scoped = scopeStyleToHost(sheet, PREFIX) @@ -26,9 +21,4 @@ describe('the terminal document stylesheet', () => { expect(selectors.filter((one) => !one.startsWith(`${PREFIX} `))).toEqual([]) } }) - - it('drops a document-level rule rather than prefixing it', () => { - const scoped = scopeStyleToHost(TERMINAL_DOCUMENT_ROOT_STYLE, PREFIX) - expect(scoped.trim()).toBe('') - }) }) diff --git a/mobile/src/terminal/terminal-webview-mouse-click.test.ts b/mobile/src/terminal/terminal-webview-mouse-click.test.ts index 06efd3a2501..0191c49119a 100644 --- a/mobile/src/terminal/terminal-webview-mouse-click.test.ts +++ b/mobile/src/terminal/terminal-webview-mouse-click.test.ts @@ -47,41 +47,6 @@ describe('terminal WebView external mouse click', () => { expect(document.getElementById('selection-overlay')?.classList.contains('active')).toBe(false) }) - it('routes a plain mouse click to the tap pipeline for keyboard focus', () => { - mouse.boot() - - mouse.mouseClick(40, 60) - - const messages = mouse.postedMessages() - expect(messages.filter((message) => message.type === 'terminal-tap')).toHaveLength(1) - expect(mouse.terminalInputBytes()).toBe('') - }) - - it('ignores non-mouse pointers and non-left buttons', () => { - mouse.boot() - mouse.activeTerminal().modes.mouseTrackingMode = 'vt200' - - mouse.dispatchPointer('pointerdown', { - pointerType: 'touch', - x: 40, - y: 60, - button: 0, - buttons: 1 - }) - mouse.dispatchPointer('pointerup', { - pointerType: 'touch', - x: 40, - y: 60, - button: 0, - buttons: 0 - }) - mouse.dispatchPointer('pointerdown', { x: 40, y: 60, button: 2, buttons: 2 }) - mouse.dispatchPointer('pointerup', { x: 40, y: 60, button: 2, buttons: 0 }) - - expect(mouse.terminalInputBytes()).toBe('') - expect(mouse.postedMessages().filter((message) => message.type === 'terminal-tap')).toEqual([]) - }) - it('lets the touch dispatcher own a gesture when touch events follow pointerdown', () => { mouse.boot() mouse.writeLegacyMouseEncoding() diff --git a/mobile/src/terminal/terminal-webview-mouse-drag.test.ts b/mobile/src/terminal/terminal-webview-mouse-drag.test.ts index f3ff6c54fc0..1747d3a5176 100644 --- a/mobile/src/terminal/terminal-webview-mouse-drag.test.ts +++ b/mobile/src/terminal/terminal-webview-mouse-drag.test.ts @@ -39,20 +39,6 @@ describe('terminal WebView external mouse drag', () => { expect(bytes).toHaveLength(6) }) - it('selects character-anchored text on a mouse drag outside tracking mode', () => { - mouse.boot() - // Discard init’s selection reset so assertions observe only the drag. - mouse.clearPostedMessages() - - mouse.mouseDrag(40, 60, 160, 90) - - expect(mouse.terminalInputBytes()).toBe('') - expect(mouse.selectionSpy()).toHaveBeenCalled() - expect(document.getElementById('selection-overlay')?.classList.contains('active')).toBe(true) - const modes = mouse.postedMessages().filter((message) => message.type === 'set-select-mode') - expect(modes).toEqual([{ type: 'set-select-mode', enabled: true }]) - }) - it('selects text instead of reporting a drag while the encoding is unproven', () => { mouse.boot(`${ESC}[?1002h`) mouse.activeTerminal().modes.mouseTrackingMode = 'drag' @@ -81,17 +67,4 @@ describe('terminal WebView external mouse drag', () => { expect(mouse.terminalInputBytes()).toBe('') }) - - it('releases a tracked drag when the pointer is cancelled mid-gesture', () => { - mouse.boot() - mouse.writeLegacyMouseEncoding() - mouse.activeTerminal().modes.mouseTrackingMode = 'drag' - - mouse.dispatchPointer('pointerdown', { x: 40, y: 60, button: 0, buttons: 1 }) - mouse.dispatchPointer('pointermove', { x: 160, y: 60, button: 0, buttons: 1 }) - mouse.dispatchPointer('pointercancel', { x: 160, y: 60 }) - - const reports = mouse.terminalInputBytes().match(DEFAULT_MOUSE_REPORT_RE) ?? [] - expect(reports.at(-1)?.charCodeAt(3)).toBe(35) - }) }) diff --git a/mobile/src/terminal/terminal-webview-notification-dispatch.test.ts b/mobile/src/terminal/terminal-webview-notification-dispatch.test.ts deleted file mode 100644 index 24b8a9c8130..00000000000 --- a/mobile/src/terminal/terminal-webview-notification-dispatch.test.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { describe, expect, it, vi } from 'vitest' - -import { dispatchTerminalWebViewNotification } from './terminal-webview-notification-dispatch' - -describe('dispatchTerminalWebViewNotification', () => { - it('preserves bounded keyboard metrics through the dispatcher', () => { - const onKeyboardAvoidanceMetrics = vi.fn() - dispatchTerminalWebViewNotification( - { - type: 'keyboard-avoidance-metrics', - cursorY: 30, - contentBottomRow: 99, - rows: 40, - altScreen: true - }, - { onKeyboardAvoidanceMetrics, reportEngineError: vi.fn() } - ) - expect(onKeyboardAvoidanceMetrics).toHaveBeenCalledWith({ - cursorY: 30, - contentBottomRow: 39, - rows: 40, - altScreen: true - }) - }) - - it('keeps old WebView payloads cursor-compatible', () => { - const onKeyboardAvoidanceMetrics = vi.fn() - dispatchTerminalWebViewNotification( - { type: 'keyboard-avoidance-metrics', cursorY: 12, rows: 40 }, - { onKeyboardAvoidanceMetrics, reportEngineError: vi.fn() } - ) - expect(onKeyboardAvoidanceMetrics).toHaveBeenCalledWith({ - cursorY: 12, - contentBottomRow: 12, - rows: 40, - altScreen: false - }) - }) - - it('passes a tap click on and keeps other terminal input bytes-only', () => { - const onTerminalInput = vi.fn() - const handlers = { onTerminalInput, reportEngineError: vi.fn() } - const click = '\x1b[<0;9;31M\x1b[<0;9;31m' - const wheel = '\x1b[<64;9;31M' - dispatchTerminalWebViewNotification( - { type: 'terminal-input', bytes: click, click: true }, - handlers - ) - dispatchTerminalWebViewNotification({ type: 'terminal-input', bytes: wheel }, handlers) - expect(onTerminalInput.mock.calls).toEqual([[click, { click: true }], [wheel]]) - }) -}) diff --git a/mobile/src/terminal/terminal-webview-replay-coast.test.ts b/mobile/src/terminal/terminal-webview-replay-coast.test.ts index 13f1708bb4c..445d0cc056e 100644 --- a/mobile/src/terminal/terminal-webview-replay-coast.test.ts +++ b/mobile/src/terminal/terminal-webview-replay-coast.test.ts @@ -225,19 +225,6 @@ describe('snapshot replacement ends the previous terminal scroll', () => { expect(scrolls).toEqual([]) }) - it('cancels a pending long press when its terminal is replaced', () => { - vi.useFakeTimers({ toFake: ['setTimeout', 'clearTimeout'] }) - boot(false) - touch('touchstart', 400) - init() - settle() - messages.length = 0 - vi.advanceTimersByTime(500) - expect( - messages.filter((message) => message.type === 'set-select-mode' && message.enabled) - ).toEqual([]) - }) - it('does not launch an old finger’s velocity after snapshot replacement', () => { boot(false) touch('touchstart', 400) diff --git a/mobile/src/terminal/terminal-webview-touch-scroll.test.ts b/mobile/src/terminal/terminal-webview-touch-scroll.test.ts index a7c55408b30..bfe618b6672 100644 --- a/mobile/src/terminal/terminal-webview-touch-scroll.test.ts +++ b/mobile/src/terminal/terminal-webview-touch-scroll.test.ts @@ -2,7 +2,6 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' import { terminalDocumentDouble } from './document/document-terminal-double.test-support' import type { TerminalDocumentTerminal } from './document/document-terminal-shape' -import { createTerminalDocument } from './document/create-terminal-document' import { TERMINAL_DOCUMENT_SCRIPT } from './terminal-webview-document-script.generated' import { TERMINAL_DOCUMENT_MARKUP } from './terminal-webview-html' @@ -62,16 +61,10 @@ describe('terminal WebView touch scrolling', () => { let now: number let postMessage: ReturnType void>> let scrollLines: ReturnType void>> - let stopDocument: (() => void) | undefined - function boot(importedDocument = false): void { + function boot(): void { document.body.innerHTML = TERMINAL_DOCUMENT_MARKUP - if (importedDocument) { - const terminalDocument = createTerminalDocument() - stopDocument = () => terminalDocument.stop() - } else { - new Function(TERMINAL_DOCUMENT_SCRIPT)() - } + new Function(TERMINAL_DOCUMENT_SCRIPT)() window.dispatchEvent( new MessageEvent('message', { data: JSON.stringify({ type: 'init', cols: 40, rows: 24, initialData: '' }) @@ -166,8 +159,6 @@ describe('terminal WebView touch scrolling', () => { }) afterEach(() => { - stopDocument?.() - stopDocument = undefined for (const [type, listener, options] of vi.mocked(window.addEventListener).mock.calls) { window.removeEventListener(type, listener, options) } @@ -179,15 +170,6 @@ describe('terminal WebView touch scrolling', () => { vi.useRealTimers() }) - it('scrolls scrollback for a drag slower than one pixel per frame', () => { - boot() - - fireTouch('touchstart', { x: 40, y: 400 }) - dragUp(400, 0.5, 200) - - expect(scrolledRows()).toBe(6) - }) - it('carries the sub-row remainder of a fast drag into the next move', () => { boot() @@ -199,18 +181,6 @@ describe('terminal WebView touch scrolling', () => { expect(scrolledRows()).toBe(7) }) - it('coasts when the finger lifts mid-drag', () => { - boot() - - fireTouch('touchstart', { x: 40, y: 400 }) - dragUp(400, 20, 5) - const rowsWhileTouching = scrolledRows() - fireTouch('touchend', null) - runFrames(30) - - expect(scrolledRows()).toBeGreaterThan(rowsWhileTouching) - }) - it('does not coast when the finger rested before lifting', () => { boot() @@ -288,19 +258,6 @@ describe('terminal WebView touch scrolling', () => { expect(terminalInputBytes()).toBe(bytesBeforeCancel) }) - it('retires queued scroll and momentum when the document is disposed', () => { - boot(true) - fireTouch('touchstart', { x: 40, y: 400 }) - now += FRAME_MS - fireTouch('touchmove', { x: 40, y: 320 }) - fireTouch('touchend', null) - stopDocument?.() - runFrames(30) - - expect(scrolledRows()).toBe(0) - expect(terminalInputBytes()).toBe('') - }) - it('retires subthreshold scroll velocity when a long press enters selection', () => { boot() vi.useFakeTimers({ toFake: ['setTimeout', 'clearTimeout'] }) diff --git a/mobile/src/terminal/terminal-webview-wheel-scroll.test.ts b/mobile/src/terminal/terminal-webview-wheel-scroll.test.ts index e20be29943c..33f0c635258 100644 --- a/mobile/src/terminal/terminal-webview-wheel-scroll.test.ts +++ b/mobile/src/terminal/terminal-webview-wheel-scroll.test.ts @@ -260,15 +260,6 @@ describe('terminal WebView external pointer wheel scrolling', () => { expect(event.defaultPrevented).toBe(true) }) - it('claims the wheel so xterm does not double-apply it', () => { - buffer = { baseY: 20, type: 'normal', viewportY: 20 } - boot() - - const event = dispatchWheel(-CELL_HEIGHT) - - expect(event.defaultPrevented).toBe(true) - }) - it('clears fractional wheel state when the terminal is recreated', () => { buffer = { baseY: 0, type: 'alternate', viewportY: 0 } boot() diff --git a/mobile/src/terminal/terminal-write-coalescer.test.ts b/mobile/src/terminal/terminal-write-coalescer.test.ts index 685adbaa8fd..5cc20d8fef1 100644 --- a/mobile/src/terminal/terminal-write-coalescer.test.ts +++ b/mobile/src/terminal/terminal-write-coalescer.test.ts @@ -22,31 +22,6 @@ describe('terminal write coalescer', () => { vi.useRealTimers() }) - it('delivers the first write after construction synchronously (leading edge)', () => { - vi.useFakeTimers() - const sink = createDeliverySink() - const coalescer = createTerminalWriteCoalescer(sink.deliver) - - coalescer.write('a') - - // Idle keystroke echo must never wait for a batching timer. - expect(sink.delivered).toEqual(['a']) - expect(vi.getTimerCount()).toBe(0) - }) - - it('takes the leading edge again after clear()', () => { - vi.useFakeTimers() - const sink = createDeliverySink() - const coalescer = createTerminalWriteCoalescer(sink.deliver) - - coalescer.write('a') - coalescer.write('b') - coalescer.clear() - coalescer.write('c') - - expect(sink.delivered).toEqual(['a', 'c']) - }) - it('batches writes inside the trailing window preserving byte order', () => { vi.useFakeTimers() const sink = createDeliverySink() @@ -61,40 +36,6 @@ describe('terminal write coalescer', () => { expect(sink.delivered).toEqual(['a', 'bc']) }) - it('buffers a write landing inside the window even when the buffer is empty', () => { - vi.useFakeTimers() - const sink = createDeliverySink() - const coalescer = createTerminalWriteCoalescer(sink.deliver) - - coalescer.write('a') - vi.advanceTimersByTime(40) - coalescer.write('b') - expect(sink.delivered).toEqual(['a']) - - vi.advanceTimersByTime(TERMINAL_WRITE_FLUSH_WINDOW_MS - 40 - 1) - expect(sink.delivered).toEqual(['a']) - vi.advanceTimersByTime(1) - expect(sink.delivered).toEqual(['a', 'b']) - }) - - it('flushes at most once per window for a sustained stream', () => { - vi.useFakeTimers() - const sink = createDeliverySink() - const coalescer = createTerminalWriteCoalescer(sink.deliver) - - for (let i = 0; i < 200; i += 1) { - coalescer.write(`c${i};`) - // Check live timer count too; one timer per chunk could preserve flush counts while wasting work. - expect(vi.getTimerCount()).toBeLessThanOrEqual(1) - vi.advanceTimersByTime(5) - } - vi.runOnlyPendingTimers() - - const maxFlushes = Math.ceil((200 * 5) / TERMINAL_WRITE_FLUSH_WINDOW_MS) + 1 - expect(sink.delivered.length).toBeLessThanOrEqual(maxFlushes) - expect(sink.delivered.join('')).toBe(Array.from({ length: 200 }, (_, i) => `c${i};`).join('')) - }) - it('flushes within one window even when the wall clock jumps backwards mid-stream', () => { vi.useFakeTimers() vi.setSystemTime(100_000) @@ -125,22 +66,6 @@ describe('terminal write coalescer', () => { expect(sink.delivered).toHaveLength(2) }) - it('treats write("") as a no-op: no delivery, no buffer append, no timer', () => { - vi.useFakeTimers() - const sink = createDeliverySink() - const coalescer = createTerminalWriteCoalescer(sink.deliver) - - coalescer.write('') - expect(sink.delivered).toEqual([]) - expect(vi.getTimerCount()).toBe(0) - - coalescer.write('a') - coalescer.write('') - coalescer.write('b') - vi.runOnlyPendingTimers() - expect(sink.delivered).toEqual(['a', 'b']) - }) - it('flushNow() delivers the joined pending buffer synchronously and cancels the timer', () => { vi.useFakeTimers() const sink = createDeliverySink() @@ -157,44 +82,6 @@ describe('terminal write coalescer', () => { expect(sink.delivered).toEqual(['a', 'bc']) }) - it('flushNow() with an empty buffer delivers nothing', () => { - vi.useFakeTimers() - const sink = createDeliverySink() - const coalescer = createTerminalWriteCoalescer(sink.deliver) - - coalescer.flushNow() - expect(sink.delivered).toEqual([]) - }) - - it('clear() drops pending data without delivering and cancels the timer', () => { - vi.useFakeTimers() - const sink = createDeliverySink() - const coalescer = createTerminalWriteCoalescer(sink.deliver) - - coalescer.write('a') - coalescer.write('stale') - coalescer.clear() - - expect(vi.getTimerCount()).toBe(0) - vi.runOnlyPendingTimers() - expect(sink.delivered).toEqual(['a']) - }) - - it('delivers nothing further after a flush is followed by clear()', () => { - vi.useFakeTimers() - const sink = createDeliverySink() - const coalescer = createTerminalWriteCoalescer(sink.deliver) - - coalescer.write('a') - coalescer.write('b') - vi.advanceTimersByTime(TERMINAL_WRITE_FLUSH_WINDOW_MS) - expect(sink.delivered).toEqual(['a', 'b']) - - coalescer.clear() - vi.advanceTimersByTime(TERMINAL_WRITE_FLUSH_WINDOW_MS * 4) - expect(sink.delivered).toEqual(['a', 'b']) - }) - it('shortens an existing output wait when a scroll gesture arrives', () => { vi.useFakeTimers() const sink = createDeliverySink() @@ -225,21 +112,6 @@ describe('terminal write coalescer', () => { expect(vi.getTimerCount()).toBe(0) }) - it('returns sustained unattended output to the original batching window', () => { - vi.useFakeTimers() - const sink = createDeliverySink() - const coalescer = createTerminalWriteCoalescer(sink.deliver) - coalescer.markInteractive() - coalescer.write('gesture') - vi.advanceTimersByTime(TERMINAL_INTERACTIVE_WRITE_DURATION_MS) - coalescer.write('idle-leading') - coalescer.write('idle-trailing') - vi.advanceTimersByTime(TERMINAL_INTERACTIVE_WRITE_WINDOW_MS) - expect(sink.delivered).toEqual(['gesture', 'idle-leading']) - vi.advanceTimersByTime(TERMINAL_WRITE_FLUSH_WINDOW_MS - TERMINAL_INTERACTIVE_WRITE_WINDOW_MS) - expect(sink.delivered).toEqual(['gesture', 'idle-leading', 'idle-trailing']) - }) - it('clears interactive state and pending output when a document is replaced', () => { vi.useFakeTimers() const sink = createDeliverySink() diff --git a/mobile/src/test-support/bridged-parity/c6-browser-closure-families.ts b/mobile/src/test-support/bridged-parity/c6-browser-closure-families.ts deleted file mode 100644 index 290dab75358..00000000000 --- a/mobile/src/test-support/bridged-parity/c6-browser-closure-families.ts +++ /dev/null @@ -1,29 +0,0 @@ -import type { PageClosurePins } from './page-closure' - -// The browser pane has no standalone route; C7 composes these pins with C1 while derivation starts at the pane module. -// Recordings cover browser command input only; no screencast stream is recorded, so frame-path validation needs separate evidence. -export const C6_BROWSER_CLOSURE_FAMILIES: PageClosurePins = { - 'browser.dialog': { - 'browser-dialog-accepted': 'identical', - 'browser-dialog-dismissed': 'identical', - 'matrix-browser.dialog-browser.dialogaccept-1': 'result-absent-settlement' - }, - 'browser.keyboard': { - 'browser-keyboard-input': 'identical', - 'matrix-browser.keyboard-browser.keyboardinserttext-1': 'result-absent-settlement', - 'matrix-browser.keyboard-browser.keypress-1': 'result-absent-settlement' - }, - 'browser.pointer-click': { - 'browser-pointer-click-accepted': 'identical', - 'browser-pointer-click-fallback': 'identical', - 'matrix-browser.pointer-click-browser.mouseclick-1': 'result-absent-settlement', - 'matrix-browser.pointer-click-browser.mousedown-1': 'result-absent-settlement', - 'matrix-browser.pointer-click-browser.mousemove-1': 'result-absent-settlement', - 'matrix-browser.pointer-click-browser.mouseup-1': 'result-absent-settlement' - }, - 'browser.wheel': { - 'browser-wheel-scrolled': 'identical', - 'matrix-browser.wheel-browser.mousemove-1': 'result-absent-settlement', - 'matrix-browser.wheel-browser.mousewheel-1': 'result-absent-settlement' - } -} diff --git a/mobile/src/test-support/census-source-files.test.ts b/mobile/src/test-support/census-source-files.test.ts deleted file mode 100644 index 404a77fbcb6..00000000000 --- a/mobile/src/test-support/census-source-files.test.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs' -import { tmpdir } from 'node:os' -import { join, relative } from 'node:path' -import { fileURLToPath } from 'node:url' -import { afterEach, beforeEach, describe, expect, it } from 'vitest' -import { censusSourceFiles, isGeneratedSource } from './census-source-files' - -const mobileRoot = fileURLToPath(new URL('../..', import.meta.url)) - -let scratch = '' - -beforeEach(() => { - scratch = mkdtempSync(join(tmpdir(), 'orca-census-source-files-')) -}) - -afterEach(() => { - rmSync(scratch, { recursive: true, force: true }) -}) - -function plant(relativePath: string, source: string): void { - const absolute = join(scratch, relativePath) - mkdirSync(join(absolute, '..'), { recursive: true }) - writeFileSync(absolute, source, 'utf8') -} - -describe('the source files a census reads', () => { - it('leaves out build output that would be read as a violating import', () => { - // Generated vendor text can match source rules without any editable repository call site. - const violating = "import { requiredString } from '../../src/shared/rpc-contract/params'\n" - plant('src/components/engine.generated.ts', violating) - plant('src/components/Diagram.tsx', violating) - - const walked = censusSourceFiles(join(scratch, 'src')).map((path) => relative(scratch, path)) - expect(walked).toEqual([join('src', 'components', 'Diagram.tsx')]) - }) - - it('leaves out node_modules, and keeps everything else', () => { - plant('src/a.ts', '') - plant('src/node_modules/dep/index.ts', '') - plant('src/deep/b.tsx', '') - plant('src/notes.md', '') - expect( - censusSourceFiles(join(scratch, 'src')) - .map((path) => relative(scratch, path)) - .sort() - ).toEqual([join('src', 'a.ts'), join('src', 'deep', 'b.tsx'), join('src', 'notes.md')].sort()) - }) - - it('names build output by the suffix the generators write, and nothing else', () => { - expect(isGeneratedSource('mermaid-page-engine.generated.ts')).toBe(true) - expect(isGeneratedSource('route-manifest.generated.tsx')).toBe(true) - expect(isGeneratedSource('generated.ts')).toBe(false) - expect(isGeneratedSource('rpc-client.ts')).toBe(false) - expect(isGeneratedSource('generated-goldens.ts')).toBe(false) - }) - - it('covers every artifact the tree generates, read from the ignore file that lists them', () => { - // Use gitignore as the generated-artifact authority; new names must not silently reintroduce megabytes into source censuses. - const ignored = readFileSync(join(mobileRoot, '.gitignore'), 'utf8') - .split('\n') - .map((line) => line.trim()) - .filter((line) => line.endsWith('.generated.ts')) - expect(ignored.length).toBeGreaterThan(0) - for (const entry of ignored) { - expect(isGeneratedSource(entry), entry).toBe(true) - } - }) -}) diff --git a/mobile/src/test-support/in-memory-async-storage.ts b/mobile/src/test-support/in-memory-async-storage.ts new file mode 100644 index 00000000000..b20d0954d6e --- /dev/null +++ b/mobile/src/test-support/in-memory-async-storage.ts @@ -0,0 +1,16 @@ +import type AsyncStorage from '@react-native-async-storage/async-storage' + +type InMemoryAsyncStorage = Pick + +export function createInMemoryAsyncStorage(): InMemoryAsyncStorage { + const values = new Map() + return { + getItem: async (key: string) => values.get(key) ?? null, + setItem: async (key: string, value: string) => { + values.set(key, value) + }, + removeItem: async (key: string) => { + values.delete(key) + } + } +} diff --git a/mobile/src/test-support/rpc-recording/README.md b/mobile/src/test-support/rpc-recording/README.md index cb81daaa812..f1375926e7f 100644 --- a/mobile/src/test-support/rpc-recording/README.md +++ b/mobile/src/test-support/rpc-recording/README.md @@ -31,8 +31,7 @@ otherwise observable through a server subscription, because stream ids are uniqu `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 +the boundary records a thrown render so a scenario can observe it. 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. @@ -42,8 +41,6 @@ inert. It renders its children and keeps its props where a projection can read t 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 @@ -102,12 +99,7 @@ non-streaming one names the scenario that has stopped matching. A listener that throws on a frame is recorded as a `stream-listener-crash` effect rather than failing the suite, the same rule the crash boundary holds for a screen and the unhandled-rejection -window holds for a detached effect. Only three listeners check the payload is an object before -reading its `type` — the two `runtime.clientEvents` ones and the structured agent session's, which -guards with `isSubscribeEvent` in `mobile-structured-transcript-subscription.ts` — so without this every -other subscribing family died on the matrix's `result-absent` and `result-null` partitions — the -two shapes a stream listener is most likely to be wrong about were the only ones the oracle could -not record. The scenario's own faults +window holds for a detached effect. The scenario's own faults stay loud: a missing subscribe payload, a params mismatch and a closed stream are all raised before or after the listener runs, and none of them is caught. @@ -180,8 +172,8 @@ order byte-identical and moves only the ordinals. payloads and effects against sends, never against each other, so it saw nothing at all in a family that sends no requests: `host-worktree-refresh` sends none, every `sent` in its goldens was `0` across all eight checkpoints, and moving that file's two initial snapshot reads from after -`client.subscribe` to before it moved no golden. Under the shared ordinal the same reorder fails -five — the family's own golden and its four matrix variants. Sender args have three +`client.subscribe` to before it moved no golden. Under the shared ordinal the same reorder changes +the family's pilot golden. 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 @@ -225,8 +217,7 @@ old formats. A generated variant declares the index where its distinguishing input lands. Checkpoints before that index observe steps identical to the base, so `hoistPreludeCheckpoints` records them once in a `.prelude` scenario and starts each variant at its own divergence; it asserts each -variant's pre-divergence prefix matches the base. Reply matrices, interruption schedules and -lifecycle schedules use it. Checkpoints that merely happen to be equal are never merged: reaching +variant's pre-divergence prefix matches the base. Interruption and lifecycle schedules use it. Checkpoints that merely happen to be equal are never merged: reaching the same state through different inputs is evidence. Sibling schedules already drop their shared prefix, so they are unchanged. @@ -236,69 +227,16 @@ so changing the prelude fails the golden it belongs to. The value pool does not per-file and content-addressed, so a prelude entry a later checkpoint re-states is stored once and any change to it moves the hash in every checkpoint that reads it. -Family matrices and schedule recordings retain both boundaries. Matrices execute -raw reply partitions at the scripted sender port; they do not claim malformed-frame coverage -through direct/relay frame validation. Caches -are tested by follow-up requests; no private cache maps are inspected. +## Owned family schedules -Every family runs the eleven partitions in `reply-matrix.ts` at **every reply its base scenario -scripts**, one golden per site, and nothing is crossed against consumed fields. A frame is a reply -too, so a subscription's `ready` and each event it carries are sites like any completion — named by -payload and occurrence, because one subscribe carries many frames and the name alone repeats. Nine -of the eleven partitions apply at a frame: the two transport rejections are the shapes a _request -promise_ fails with, and a subscription holds no promise for them to fail. Every success shape is -stamped `streaming: true`, since that flag is what routes a response to the open stream rather than -to a retired request id — without it `normal` would be a different shape from the frame -it replays, and no longer a control. Until frames were sites, `reply-matrix.ts` read only -`'complete' in step`, so a frame was never varied and a family that only subscribes threw -`No scripted reply to drive a matrix over`. The partitions are the reply shapes a host can send: a -normal result, an absent result, `null`, an inner `{ok: false}` -envelope with a string or object error, an inner envelope missing `ok`, an outer refusal with and -without a message, `method_not_found`, and a transport rejection with and without a message. Shapes -that were recorded before and are gone were unreachable: `successResponse` always sets `result`, so -JSON carries no explicit-undefined slot, and no mounted method's handler returns a number, a string, -an array, a bare `{}`, or a boolean. `null` stays because `linear.getIssue` returns it for a missing -issue and the b2 seed is a null result accepted as success. +`family-recordings.test.ts` runs the selected sibling, interruption and lifecycle schedules in +`derived-goldens.ts`. These exercise completion order, pending peers and stale owners through the +actual mounted operations. Blur variants are omitted where the adapter's blur action does nothing. -The message-less refusal and rejection are what separate the two failure paths a migrated call site -must keep apart: a refusal with no message falls back to the screen's copy, a transport drop with no -message surfaces its empty message verbatim. With only the message-carrying shapes both produce the -same text, so collapsing the two catches is invisible. Every source-control family used to carry a -hand-written `*-empty-message` scenario for exactly that; the partition carries it now. - -### Which request a matrix drives - -All of them. Selecting one per family was a hardcoded prefix list, and it silently `continue`d past -any family it did not name — ten of twenty-three, every family the source-control migration added, -which is why that migration's mutation evidence came down to single hand-written scenarios. -`replyMatrixSites` takes every completion step in the family's base scenario instead: no judgement -about which request is the "real" one, and no edit when a domain is added. A family that scripts no -reply at all throws, and a repeated request name throws, because the divergence would be ambiguous. - -A variant answers its own site differently, so the replies scripted after it may never be asked -for. Those steps are marked `optional` and are answered only if the request is outstanding; the -sender list in each checkpoint records which ones the operation actually sent. - -The `normal` partition replays a result the family already records for that request — the first -fulfilled reply in scenario order, base first — so no migrator invents a plausible payload per -domain. `null` and absent do not count, because each is already a partition of its own and -replaying one would leave the site with no success control. A site whose family records no other -success fails the suite until it is given a fulfilled scenario or a line in -`REPLY_MATRIX_NORMAL_RESULT_INVENTORY`, which carries the reply and the reason; an entry whose -family has since recorded a success fails too, so the list only shrinks. Four sites are on it: both -legs of the b3 seed, whose single scenario exists to record the defect; the b2 seed, whose only -recorded success is the null result; and `settings.update`, a best-effort write whose reply -body no call site reads. - -Detached unhandled rejections are captured as effects in a sequential process-scoped window, -with prior process listeners restored afterward. The known main bug it first recorded is fixed on -both legs: `new-workspace-runtime-context-null-results-degrade-to-absent` now records a null or -absent `settings.get` or `ui.get` result degrading the way a reply missing that member does, so -neither matrix golden carries a property-read TypeError effect any more. That leaves no golden -recording an unhandled rejection at all, so `unhandled-recording.test.ts` is what pins the capture, -both the helper and its wiring through `runRecording` into a checkpoint and the cleanup checkpoint: -without it a refactor could stop emitting the effect and every golden would still compare clean. -Task-model projections record setter invocations and resulting model values, not native UI. +The automatic per-reply-site shape matrices have been removed. Their per-caller refusal, malformed +reply, transport failure and error propagation snapshots are intentionally no longer certified by +this driver. The surviving pilots and temporal schedules make no equivalent coverage claim. +Caches are observed through follow-up requests, without reading private cache maps. ## Commands @@ -315,8 +253,7 @@ only the uncommitted ones. Recording is deterministic and carries no header, so an unchanged behaviour re-records to the same bytes on any machine: recording everything is always safe, and `git diff` shows only what moved. -Without `--prune`, a golden the manifest stopped deriving is listed and the census test -(`derived-goldens.test.ts`) keeps failing on it; deleting coverage is always explicit. +Without `--prune`, a golden the manifest stopped deriving is listed and remains on disk. Mutants are the defect evidence. `mutants/operation-mutations.ts` holds one anchored source edit per adapter family, and every family's recording must change visible state when its mutant is @@ -543,11 +480,8 @@ the drop happened under, and records a non-empty report as a `reply-salvage` eff operation, the method, the decoded variant, the dropped paths and the count. Nothing in the product tree changes: the report was already being built and thrown away. -44 of the goldens carried one when this was written, and every other checked read in the corpus decodes its reply -whole (`grep -l reply-salvage mobile/rpc-foundation/goldens/*.json | wc -l`). The matrix varies the -envelope a host sends rather than the shape of a row inside a result, so on most families this -observation pins an absence rather than a recorded drop. What it buys is the next tightening: an element or member schema narrowed so a recorded row stops parsing moves the -golden even where nothing downstream reads the row. `salvage-observation.test.ts` is what keeps the +A narrowed element or member schema changes a golden when a recorded row stops parsing, even +where nothing downstream reads the row. `salvage-observation.test.ts` is what keeps the observation itself honest, driving a malformed row and a malformed optional through the real `git.status` reply schema, because a refactor that stopped reporting would otherwise leave every golden comparing clean. @@ -589,15 +523,10 @@ deleting its cleanup's `unsubscribeStream()` used to fail one golden, the cutove for it, and this observation made it fail seven, so the next builder-less method needs no scenario of its own. -An empty set is not recorded, so the corpus stays quiet and a family that starts leaking gains a -checkpoint. Five goldens report a non-empty set today, and all five are the same non-leak: the two -`runtime.clientEvents.subscribe` matrices and the `notifications.subscribe` matrix, on every -partition whose subscribe reply is not a well-formed `ready`, plus the client-event partitions -where the shared stream opens again after a refused frame and the script answers no `ready` for -the reopened subscribe. With no `subscriptionId` to unsubscribe with, `disposeServerSubscription` marks -the record cancelled and keeps it until the id arrives — the retention the per-session registry -paragraph above describes. `cancelled` is in the observation so those are legible as what they are: -a product cleanup that never ran records `cancelled: false`, and because the drain precedes the -read, a cleanup that deferred its close to a timer already due records nothing at all. `flush()` +An empty set is not recorded. A subscription whose `ready` reply has not arrived has no +`subscriptionId` to unsubscribe with: `disposeServerSubscription` marks it cancelled and keeps it +until the id arrives. A product cleanup that never ran records `cancelled: false`. Because the +drain precedes the read, a cleanup that deferred its close to a timer already due records nothing +at all. `flush()` only runs work due at the current virtual time, so a close parked on a later timer is still registered at the read and records `cancelled: false` like any other. 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 deleted file mode 100644 index 49b2cb03fa8..00000000000 --- a/mobile/src/test-support/rpc-recording/adapter-load-deferral.test.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { MOUNTED_OPERATION_MODULES } from './adapters/mounted-operation-modules' -import type { operationModuleLoader } from './operation-module-loader' - -// Defer product loads until hook mount; registration-time loads apply shared-file mutants repeatedly and obscure adapter failures. -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/browser-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/browser-mount-adapters.ts index f7386cd01d2..4444a56eb90 100644 --- a/mobile/src/test-support/rpc-recording/adapters/browser-mount-adapters.ts +++ b/mobile/src/test-support/rpc-recording/adapters/browser-mount-adapters.ts @@ -100,13 +100,6 @@ export function browserMountAdapters( 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)) } 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 index cf06f8fd1c0..7ae176fa3c9 100644 --- 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 @@ -53,10 +53,9 @@ export function clipboardImageMountAdapters( mountFixture[1]>({ client, terminal: TERMINAL, - deviceToken: name === 'anonymous' ? null : DEVICE_TOKEN, + deviceToken: DEVICE_TOKEN, getConnectionId: () => Promise.resolve(CONNECTION), - pickImage: () => - Promise.resolve(name === 'cancelled' ? null : { base64: IMAGE_BASE64 }), + pickImage: () => Promise.resolve({ base64: IMAGE_BASE64 }), onUploadStart: () => effect('upload-start', {}), beforeTerminalSend: (terminal: string) => { effect('before-terminal-send', { terminal }) @@ -91,11 +90,9 @@ export function clipboardImageMountAdapters( 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' }], + 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) }) @@ -125,10 +122,9 @@ export function clipboardImageMountAdapters( mountFixture[0]>({ client, terminal: TERMINAL, - deviceToken: name === 'anonymous' ? null : DEVICE_TOKEN, + deviceToken: DEVICE_TOKEN, imagePaths: name === 'two' ? ['/tmp/a.png', '/tmp/b.png'] : ['/tmp/a.png'], - followedByText: name !== 'trailing', - ...(name === 'burst' ? { clearInput: '' } : {}) + followedByText: true }) ).then( (value: unknown) => { 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 index 7f7c6d78df0..f1825228dcd 100644 --- 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 @@ -1,7 +1,9 @@ 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' +import type { AccountsSnapshot } from '../../../accounts/accounts-snapshot' +import type * as AccountsSnapshotModule from '../../../accounts/accounts-snapshot' +import type * as CodexResetCreditModule from '../../../accounts/usage/codex-reset-credit' const ACCOUNT_REVISION = 1_700_000_000_000 @@ -34,13 +36,11 @@ export function codexResetCreditMountAdapters( ): Record { return { 'accounts.codex-reset-credit': ({ client }) => { - const credit = modules.load( - 'mobile/src/components/codex-reset-credit.ts' + const credit = modules.load( + 'mobile/src/accounts/usage/codex-reset-credit.ts' ) const snapshot = modules - .load( - 'mobile/src/components/accounts-snapshot.ts' - ) + .load('mobile/src/accounts/accounts-snapshot.ts') .decodeAccountsSnapshot(CODEX_ACCOUNTS) let settled: unknown = null return { 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 index 28944cd6c22..016531260e4 100644 --- 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 @@ -10,7 +10,7 @@ import type { } from '../../../source-control/review/mobile-diff-review-screen-model' import type { MountAdapter } from '../recording-scenario' import type { operationModuleLoader } from '../operation-module-loader' -import type * as NativeChatStaleInput from '../../../session/native-chat/mobile-native-chat-stale-input' +import type * as NativeChatStaleInput from '../../../session/native-chat/composer/mobile-native-chat-stale-input' const WORKSPACE = 'workspace-1' const HOST = 'host-1' @@ -30,7 +30,7 @@ export function diffReviewActionMountAdapters( 'mobile/src/source-control/review/mobile-diff-review-sheets.ts' ) const staleInput = modules.load( - 'mobile/src/session/native-chat/mobile-native-chat-stale-input.ts' + 'mobile/src/session/native-chat/composer/mobile-native-chat-stale-input.ts' ) staleInput.resetMobileNativeChatStaleInputForTests() const comment: DiffComment = { 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 fb8830d44cb..e21c10cba9c 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 @@ -38,11 +38,6 @@ import { newWorkspaceMountAdapters } from './new-workspace-mount-adapters' import { newWorkspaceRepositoryMountAdapters } from './new-workspace-repository-mount-adapters' import { pairingJournalMountAdapters } from './pairing-journal-mount-adapters' import { prSidebarMountAdapters } from './pr-sidebar-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' @@ -140,12 +135,6 @@ export const MOUNTED_OPERATION_MODULES: readonly MountedOperationModule[] = [ }, { source: 'pairing-journal-mount-adapters.ts', mounts: pairingJournalMountAdapters }, { source: 'pr-sidebar-mount-adapters.ts', mounts: prSidebarMountAdapters }, - { 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 }, { 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 index 3ec6c51603e..93186b10ffd 100644 --- 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 @@ -1,7 +1,7 @@ import type { MountAdapter } from '../recording-scenario' import { mountFixture } from '../recorder-fixture-shape' import type { operationModuleLoader } from '../operation-module-loader' -import type * as NativeChatSend from '../../../session/native-chat/mobile-native-chat-send' +import type * as NativeChatSend from '../../../session/native-chat/composer/mobile-native-chat-send' import type * as NativeChatSessionOptionPersistence from '../../../session/native-chat/input/mobile-native-chat-session-option-persistence' const TERMINAL = 'terminal-1' @@ -14,7 +14,7 @@ export function nativeChatWriteMountAdapters( return { 'nativeChat.terminal-write': ({ client }) => { const send = modules.load( - 'mobile/src/session/native-chat/mobile-native-chat-send.ts' + 'mobile/src/session/native-chat/composer/mobile-native-chat-send.ts' ) const outcomes: Record = {} return { 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 deleted file mode 100644 index e8450db38c1..00000000000 --- a/mobile/src/test-support/rpc-recording/adapters/push-dismissal-mount-adapters.ts +++ /dev/null @@ -1,34 +0,0 @@ -import type { operationModuleLoader } from '../operation-module-loader' -import type { MountAdapter } from '../recording-scenario' - -const HOST = 'host-1' - -// Declare device tray/host catalog in the scenario so reconciliation emits identities from test inputs, not adapter guesses. -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 deleted file mode 100644 index bcb701e5751..00000000000 --- a/mobile/src/test-support/rpc-recording/adapters/push-registration-mount-adapters.ts +++ /dev/null @@ -1,51 +0,0 @@ -import type { OperationExposure, operationModuleLoader } from '../operation-module-loader' -import type { MountAdapter } from '../recording-scenario' - -// Expose private senders to record wire behavior without inventing keychain and device-token storage in substitutes. -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', - apnsEnvironment: args.sandbox === true ? 'sandbox' : 'production' - }, - { 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/session-screen-read-mount-adapters.ts b/mobile/src/test-support/rpc-recording/adapters/session-screen-read-mount-adapters.ts index 2609c0fc3cd..c7a6cb9e2e4 100644 --- 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 @@ -11,7 +11,7 @@ import { mountFixture } from '../recorder-fixture-shape' import type { MountAdapter } from '../recording-scenario' import type { operationModuleLoader } from '../operation-module-loader' import type * as MobileNativeChatReadability from '../../../session/native-chat/transcript/use-mobile-native-chat-readability' -import type * as MobileNativeChatStopModule from '../../../session/native-chat/use-mobile-native-chat-stop' +import type * as MobileNativeChatStopModule from '../../../session/native-chat/composer/use-mobile-native-chat-stop' const WORKSPACE = 'workspace-1' const HANDLE = 'terminal-1' @@ -163,7 +163,7 @@ export function sessionScreenReadMountAdapters( }, 'session.native-chat-stop': ({ client, effect }) => { const useStop = modules.load( - 'mobile/src/session/native-chat/use-mobile-native-chat-stop.ts' + 'mobile/src/session/native-chat/composer/use-mobile-native-chat-stop.ts' ).useMobileNativeChatStop const errors: string[] = [] let stop: () => void 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 index 6e5de8860a0..a9a259b4d25 100644 --- 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 @@ -1,5 +1,6 @@ import type { MountAdapter } from '../recording-scenario' import type { operationModuleLoader } from '../operation-module-loader' +import type { createMobileStructuredAgentSession } from '../../../session/native-chat/agent-session/mobile-structured-agent-session-launch' const WORKSPACE = 'workspace-1' @@ -9,10 +10,10 @@ export function structuredAgentLaunchMountAdapters( ): 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' + const create = modules.load<{ + createMobileStructuredAgentSession: typeof createMobileStructuredAgentSession + }>( + 'mobile/src/session/native-chat/agent-session/mobile-structured-agent-session-launch.ts' ).createMobileStructuredAgentSession let launched: unknown = 'unlaunched' return { 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 index d828e708197..ad8750958c7 100644 --- 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 @@ -191,6 +191,7 @@ export function taskListMountAdapters( loadGenerationRef: { current: 0 }, loadLinearContext: async () => {}, loadTasks: async () => {}, + loading: false, revalidating: false, selectedHostedRepos: [HOSTED_REPO], taskUiReady: true, 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 deleted file mode 100644 index 94cc7df7c1a..00000000000 --- a/mobile/src/test-support/rpc-recording/declared-device-state.test.ts +++ /dev/null @@ -1,83 +0,0 @@ -import { resolve } from 'node:path' -import { describe, expect, it } from 'vitest' -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 - -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('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('records no device write for the reset credit: the host ledger keeps the attempt', 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') - expect(params.params.idempotencyKey).toEqual(expect.any(String)) - expect(lastCheckpoint(recording).effects).toEqual([]) - }) - - 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/derived-goldens.test.ts b/mobile/src/test-support/rpc-recording/derived-goldens.test.ts deleted file mode 100644 index c84b52f28cc..00000000000 --- a/mobile/src/test-support/rpc-recording/derived-goldens.test.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { readdirSync } from 'node:fs' -import { resolve } from 'node:path' -import { describe, expect, it } from 'vitest' -import { derivedGoldens } from './derived-goldens' -import { readScenarios } from './scenario-input' - -const root = resolve(import.meta.dirname, '../../../..') -const input = readScenarios( - process.env.RPC_FOUNDATION_SCENARIOS ?? - resolve(root, 'mobile/rpc-foundation/pilot-scenarios.json') -) -const directory = - process.env.RPC_FOUNDATION_GOLDENS ?? resolve(root, 'mobile/rpc-foundation/goldens') - -describe('derived goldens', () => { - // Check both directions: missing derivations leave orphan files, and missing files leave unrecorded scenarios. - it('derives exactly the goldens on disk', () => { - const derived = derivedGoldens(input.scenarios).map((golden) => golden.id) - const onDisk = readdirSync(directory) - .filter((file) => file.endsWith('.json')) - .map((file) => file.replace(/\.json$/, '')) - expect( - derived.sort(), - 'Record new goldens with `pnpm --dir mobile rpc:record`; delete ones the manifest no longer derives with `pnpm --dir mobile rpc:record --prune`' - ).toEqual(onDisk.sort()) - }) -}) diff --git a/mobile/src/test-support/rpc-recording/derived-goldens.ts b/mobile/src/test-support/rpc-recording/derived-goldens.ts index 1bbf5e4cf3e..9af29766d0f 100644 --- a/mobile/src/test-support/rpc-recording/derived-goldens.ts +++ b/mobile/src/test-support/rpc-recording/derived-goldens.ts @@ -1,7 +1,5 @@ import { materializeScenario } from './scenario-execution-mode' import { hoistPreludeCheckpoints } from './prelude-checkpoints' -import { driveReplyMatrix, replyMatrixGoldenId, matrixSites } from './reply-matrix' -import { replyMatrixNormalResult } from './reply-matrix-normal-result' import { bindCompletions, interruptionSchedules, @@ -17,11 +15,7 @@ export type DerivedGolden = { title: string family: string lineage: ScenarioLineage - /** The matrix site this golden drives; absent for a pilot or schedule golden. */ - site?: string - /** Lazy, so a family with no replayable success fails its own test instead of collection. */ scenarios: () => RecordingScenario[] - timeoutMs?: number } const SIBLING_SCHEDULE_BASES = [ @@ -93,36 +87,7 @@ export function familyGoldens( mode: ExecutionMode = 'native' ): DerivedGolden[] { const manifest = input.map((scenario) => materializeScenario(scenario, mode)) - const families = new Map() - for (const scenario of manifest) { - families.set(scenario.family, [...(families.get(scenario.family) ?? []), scenario]) - } const goldens: DerivedGolden[] = [] - const ids = new Set() - for (const [family, scenarios] of families) { - const [base] = scenarios - if (!base) { - throw new Error(`Family has no scenario: ${family}`) - } - // No-demand producers still have a pilot recording, but no RPC replies to partition. - for (const { id: site, bridgeOnly } of matrixSites(base)) { - const id = `${bridgeOnly ? 'bridge-' : ''}${replyMatrixGoldenId(family, site)}` - if (ids.has(id)) { - throw new Error(`Two matrix sites share a golden: ${id}`) - } - ids.add(id) - goldens.push({ - id, - title: `${id}: ${family} reply partitions at ${site}`, - family, - lineage: { ...base.lineage!, site, domain: bridgeOnly ? 'bridge-only' : 'paired' }, - site, - timeoutMs: 30_000, - scenarios: () => - driveReplyMatrix(base, site, replyMatrixNormalResult(family, scenarios, site)) - }) - } - } for (const id of SIBLING_SCHEDULE_BASES) { const base = baseScenario(manifest, id) const replies = base.steps.flatMap((step) => ('complete' in step ? [step] : [])) @@ -161,7 +126,7 @@ export function familyGoldens( ? ['unmount'] : id.includes('context') ? ['unmount', 'blur'] - : ['reset', 'unmount', 'blur'] + : ['reset', 'unmount'] goldens.push({ id: `lifecycle-${id}`, title: `lifecycle-${id}: lifecycle boundaries`, diff --git a/mobile/src/test-support/rpc-recording/determinism-runs.ts b/mobile/src/test-support/rpc-recording/determinism-runs.ts deleted file mode 100644 index c631af78514..00000000000 --- a/mobile/src/test-support/rpc-recording/determinism-runs.ts +++ /dev/null @@ -1,14 +0,0 @@ -// Reject nonpositive/invalid run counts; a zero-iteration verification would silently pass without recording anything. -export function determinismRuns(): number { - const raw = process.env.RPC_FOUNDATION_DETERMINISM_RUNS - if (raw === undefined) { - return 2 - } - const runs = Number(raw) - if (!Number.isInteger(runs) || runs < 2) { - throw new Error( - `RPC_FOUNDATION_DETERMINISM_RUNS must be an integer >= 2 to compare a run against another; got ${JSON.stringify(raw)}` - ) - } - return runs -} 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 34873443b95..60539ceb880 100644 --- a/mobile/src/test-support/rpc-recording/family-recordings.test.ts +++ b/mobile/src/test-support/rpc-recording/family-recordings.test.ts @@ -1,13 +1,12 @@ import { resolve } from 'node:path' -import { describe, expect, it } from 'vitest' +import { describe, it } from 'vitest' import { readScenarios } from './scenario-input' import { familyGoldens } from './derived-goldens' import { runRecording } from './run-recording' import { pilotMountAdapters } from './pilot-mount-adapters' import { vitestRecordingScheduler } from './vitest-recording-scheduler' -import { expectGoldenFile, goldenBytes, goldenRecording, writeGolden } from './golden-recording' +import { expectGoldenFile, goldenRecording, writeGolden } from './golden-recording' import type { Recording, RecordingScenario } from './recording-scenario' -import { determinismRuns } from './determinism-runs' const root = resolve(import.meta.dirname, '../../../..') const input = readScenarios( @@ -17,49 +16,29 @@ const input = readScenarios( const directory = process.env.RPC_FOUNDATION_GOLDENS ?? resolve(root, 'mobile/rpc-foundation/goldens') async function certify(id: string, scenarios: RecordingScenario[]) { - let first = '' - const candidates = await (async () => { - const candidates: Recording[] = [] - for (let run = 0; run < determinismRuns(); run++) { - const checkpoints: Recording['checkpoints'] = [] - for (const scenario of scenarios) { - const { adapters } = pilotMountAdapters(root, { device: scenario }) - const recording = await runRecording( - scenario, - adapters[scenario.operation], - vitestRecordingScheduler({ producer: id, scenario: scenario.id, mode: 'native' }) - ) - for (const checkpoint of recording.checkpoints) { - checkpoints.push({ ...checkpoint, id: `${scenario.id}:${checkpoint.id}` }) - } - } - candidates.push({ scenario: id, checkpoints }) + const checkpoints: Recording['checkpoints'] = [] + for (const scenario of scenarios) { + const { adapters } = pilotMountAdapters(root, { device: scenario }) + const recording = await runRecording( + scenario, + adapters[scenario.operation], + vitestRecordingScheduler({ producer: id, scenario: scenario.id, mode: 'native' }) + ) + for (const checkpoint of recording.checkpoints) { + checkpoints.push({ ...checkpoint, id: `${scenario.id}:${checkpoint.id}` }) } - return candidates - })() - for (const [run, recording] of candidates.entries()) { - const golden = goldenRecording(scenarios, recording) - const bytes = goldenBytes(golden) - if (run) { - expect(bytes).toBe(first) - } else if (process.env.RPC_FOUNDATION_MODE === '--record') { - await writeGolden(directory, golden, '--record') - } else { - await expectGoldenFile(directory, id, golden) - } - first = bytes } + const golden = goldenRecording(scenarios, { scenario: id, checkpoints }) + await (process.env.RPC_FOUNDATION_MODE === '--record' + ? writeGolden(directory, golden, '--record') + : expectGoldenFile(directory, id, golden)) } -describe('family reply partitions and owned schedules', () => { +describe('owned family schedules', () => { const goldens = familyGoldens(input.scenarios) for (const golden of goldens) { - it( - golden.title, - async () => { - await certify(golden.id, golden.scenarios()) - }, - golden.timeoutMs - ) + it(golden.title, async () => { + await certify(golden.id, golden.scenarios()) + }) } }) diff --git a/mobile/src/test-support/rpc-recording/golden-recording.ts b/mobile/src/test-support/rpc-recording/golden-recording.ts index 701365551ea..f91596e99b7 100644 --- a/mobile/src/test-support/rpc-recording/golden-recording.ts +++ b/mobile/src/test-support/rpc-recording/golden-recording.ts @@ -43,7 +43,7 @@ export function goldenRecording( recording } } -export function goldenBytes(golden: GoldenRecording): string { +function goldenBytes(golden: GoldenRecording): string { const { recording: _value, ...header } = golden const interned = internRecording(golden.recording) return `${JSON.stringify({ ...header, values: interned.values, recording: interned.recording }, null, 2)}\n` diff --git a/mobile/src/test-support/rpc-recording/mutants/family-mutants.test.ts b/mobile/src/test-support/rpc-recording/mutants/family-mutants.test.ts deleted file mode 100644 index b3347fcc0bf..00000000000 --- a/mobile/src/test-support/rpc-recording/mutants/family-mutants.test.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { resolve } from 'node:path' -import { describe, expect, it } from 'vitest' -import { familyGoldens } from '../derived-goldens' -import { readGolden } from '../golden-recording' -import { pilotMountAdapters } from '../pilot-mount-adapters' -import { runRecordingMutant } from '../run-recording' -import { readScenarios } from '../scenario-input' -import { vitestRecordingScheduler } from '../vitest-recording-scheduler' -import { operationMutation, type Mutation } from './operation-mutations' -import type { Recording } from '../recording-scenario' - -const root = resolve(import.meta.dirname, '../../../../..') -const input = readScenarios( - process.env.RPC_FOUNDATION_SCENARIOS ?? - resolve(root, 'mobile/rpc-foundation/pilot-scenarios.json') -) -const goldens = process.env.RPC_FOUNDATION_GOLDENS ?? resolve(root, 'mobile/rpc-foundation/goldens') - -// Compare the whole variant: malformed-container mutants may differ only at settlement and recover to identical final state. -// Row-shape requirements remain unit coverage because matrices vary envelopes only. -const MATRIX_MUTANTS: readonly { - mutation: Mutation - family: string - site: string - killedBy: string -}[] = [ - { - mutation: 'linear-status-nullable', - family: 'tasks.provider-load', - site: 'linear.status#1', - killedBy: 'result-null' - } -] - -function variantBaseline(golden: Recording, scenarioId: string): Recording { - const prefix = `${scenarioId}:` - const checkpoints = golden.checkpoints - .filter((checkpoint) => checkpoint.id.startsWith(prefix)) - .map((checkpoint) => ({ ...checkpoint, id: checkpoint.id.slice(prefix.length) })) - if (!checkpoints.length) { - throw new Error(`No recorded checkpoints for ${scenarioId} in ${golden.scenario}`) - } - return { scenario: scenarioId, checkpoints } -} - -async function verdict( - entry: (typeof MATRIX_MUTANTS)[number], - partition: string -): Promise<'killed' | 'survived'> { - const derived = familyGoldens(input.scenarios).find( - (golden) => golden.family === entry.family && golden.site === entry.site - ) - if (!derived) { - throw new Error(`No matrix golden for ${entry.family} at ${entry.site}`) - } - const scenario = derived.scenarios().find((candidate) => candidate.id.endsWith(`.${partition}`)) - if (!scenario) { - throw new Error(`No ${partition} variant of ${derived.id}`) - } - const { adapters, assertMutationApplied } = pilotMountAdapters(root, { - device: scenario, - mutation: operationMutation(entry.mutation) - }) - const result = await runRecordingMutant( - scenario, - adapters[scenario.operation], - vitestRecordingScheduler(), - variantBaseline(readGolden(goldens, derived.id).recording, scenario.id) - ) - assertMutationApplied() - return result.verdict -} - -describe('reply-matrix partitions hold the container requirements', () => { - for (const entry of MATRIX_MUTANTS) { - it(`${entry.family} ${entry.site}: ${entry.killedBy} kills ${entry.mutation}`, async () => { - expect(await verdict(entry, entry.killedBy)).toBe('killed') - }, 30_000) - } -}) 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 623a552fa00..ee920691586 100644 --- a/mobile/src/test-support/rpc-recording/mutants/operation-mutations.ts +++ b/mobile/src/test-support/rpc-recording/mutants/operation-mutations.ts @@ -239,14 +239,6 @@ export const OPERATION_MUTATIONS = { before: ' void ensureSessionTabs().catch(() => null)', after: ' await ensureSessionTabs()' }, - // Accept null Linear status; only result-null reaches the resulting connected property-read failure. - 'linear-status-nullable': { - file: 'task-list-reply-schema.ts', - before: ` activeWorkspaceId: salvagedOptional('activeWorkspaceId', z.string().nullable()) -})`, - after: ` activeWorkspaceId: salvagedOptional('activeWorkspaceId', z.string().nullable()) -}).nullable()` - }, // Collapse explicit avatarUrl:null to absence; picker rendering alone cannot distinguish them. 'assignable-user-avatar-null-collapse': { file: 'task-provider-entity-reply-schema.ts', 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 deleted file mode 100644 index cb1c02dd4a3..00000000000 --- a/mobile/src/test-support/rpc-recording/native-mounting-substitutes.test.ts +++ /dev/null @@ -1,35 +0,0 @@ -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(() => getItem()).toThrow( - 'Native store reached during recording: @react-native-async-storage/async-storage.getItem' - ) - }) - - 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 { randomUUID?: unknown }).randomUUID).toThrow( - 'Unsubstituted native member: expo-crypto.randomUUID' - ) - }) -}) diff --git a/mobile/src/test-support/rpc-recording/operation-module-loader-work-budget.test.ts b/mobile/src/test-support/rpc-recording/operation-module-loader-work-budget.test.ts deleted file mode 100644 index f57e295cf04..00000000000 --- a/mobile/src/test-support/rpc-recording/operation-module-loader-work-budget.test.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { mkdtempSync, mkdirSync, rmSync, writeFileSync } from 'node:fs' -import { tmpdir } from 'node:os' -import { join } from 'node:path' -import { afterEach, expect, it, vi } from 'vitest' -import { nativeMountingSubstitutes } from './native-mounting-substitutes' -import type * as NativeSubstitutesModule from './native-mounting-substitutes' -import { operationModuleLoader } from './operation-module-loader' - -vi.mock('./native-mounting-substitutes', async (original) => { - const module = await original() - return { ...module, nativeMountingSubstitutes: vi.fn(module.nativeMountingSubstitutes) } -}) - -const roots: string[] = [] - -function sourceTree(files: Record): string { - const root = mkdtempSync(join(tmpdir(), 'rpc-loader-work-budget-')) - roots.push(root) - mkdirSync(join(root, 'mobile', 'src'), { recursive: true }) - for (const [name, source] of Object.entries(files)) { - writeFileSync(join(root, 'mobile', 'src', name), source) - } - return root -} - -afterEach(() => { - for (const root of roots.splice(0)) { - rmSync(root, { recursive: true, force: true }) - } - vi.clearAllMocks() -}) - -it('builds device substitutes only for a used loader and keeps their state per loader', async () => { - const root = sourceTree({ - 'operation.ts': ` - import * as clipboard from 'expo-clipboard' - export const read = () => clipboard.getStringAsync() - export const write = () => clipboard.setStringAsync('first recording') - ` - }) - const loaders = Array.from({ length: 64 }, () => operationModuleLoader(root)) - expect(nativeMountingSubstitutes).not.toHaveBeenCalled() - type ClipboardOperation = { read: () => Promise; write: () => Promise } - const first = loaders[0].load('mobile/src/operation.ts') - await first.write() - expect(await first.read()).toBe('first recording') - expect(nativeMountingSubstitutes).toHaveBeenCalledTimes(1) - const second = loaders[1].load('mobile/src/operation.ts') - expect(await second.read()).toBe('') - expect(await first.read()).toBe('first recording') - expect(nativeMountingSubstitutes).toHaveBeenCalledTimes(2) -}) 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 index b4877620867..ae8df85b317 100644 --- a/mobile/src/test-support/rpc-recording/operation-module-loader.test.ts +++ b/mobile/src/test-support/rpc-recording/operation-module-loader.test.ts @@ -29,19 +29,6 @@ afterAll(() => { }) describe('the mounted module loader', () => { - it('preserves constants through a star reexport in an evaluated module', () => { - const modules = loaderOver({ - 'constants.ts': `export const CAPABILITY = 'files.mutation-ownership.v1'`, - 'protocol.ts': `export * from './constants'`, - 'operation.ts': ` - import { CAPABILITY } from './protocol' - export const read = () => CAPABILITY - ` - }) - const { read } = modules.load<{ read: () => string }>('mobile/src/operation.ts') - expect(read()).toBe('files.mutation-ownership.v1') - }) - it('follows named reexports reached through the task foundation barrel', () => { const modules = loaderOver({ 'mobile-tasks-legacy-foundation.tsx': `export * from './mapping'`, @@ -152,19 +139,6 @@ describe('the mounted module loader', () => { ) }) - 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' - ) - }) - // Default dependencies may reference native members before an adapter overrides them; import alone must remain possible. it('lets a namespace import of an unlisted package load, and refuses the member it reads', () => { const modules = loaderOver({ 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 fa7bb37a1a2..9d22dabaac2 100644 --- a/mobile/src/test-support/rpc-recording/pilot-recordings.test.ts +++ b/mobile/src/test-support/rpc-recording/pilot-recordings.test.ts @@ -5,10 +5,9 @@ import { describe, expect, it } from 'vitest' import { runRecording } from './run-recording' import { pilotMountAdapters } from './pilot-mount-adapters' import { vitestRecordingScheduler } from './vitest-recording-scheduler' -import { expectGoldenFile, goldenBytes, goldenRecording, writeGolden } from './golden-recording' +import { expectGoldenFile, goldenRecording, writeGolden } from './golden-recording' import type { Recording } from './recording-scenario' import type { RecordedValue } from './recording-values' -import { determinismRuns } from './determinism-runs' const root = resolve(import.meta.dirname, '../../../..') const input = readScenarios( @@ -24,51 +23,34 @@ describe('RPC main recordings', () => { for (const pilot of pilotGoldens(input.scenarios)) { const { id, scenario } = pilot it(pilot.title, async () => { - let first = '' - const candidates = await (async () => { - const candidates: Recording[] = [] - for (let run = 0; run < determinismRuns(); run++) { - const { adapters } = pilotMountAdapters(root, { device: scenario }) - const recording = await runRecording( - scenario, - adapters[scenario.operation], - vitestRecordingScheduler({ producer: id, scenario: scenario.id, mode: 'native' }) - ) - if (id === 'b1') { - expect(visibleState(recording)).toEqual({ files: ['third.ts'] }) - } - if (id === 'b2') { - // The checked reader must name the null reply and method instead of exposing a property-read exception. - expect(visibleState(recording)).toMatchObject({ - error: - 'The host sent a reply this app could not read (github.project.updateIssueBySlug)' - }) - } - if (id === 'b3') { - expect(visibleState(recording)).toMatchObject({ - error: 'comments transport error', - loading: false - }) - } - if (id === 'settings-task-hydration-fulfilled') { - expect(visibleState(recording)).toMatchObject({ hydrated: true }) - } - candidates.push(recording) - } - return candidates - })() - for (const [run, recording] of candidates.entries()) { - const golden = goldenRecording(pilot.scenarios(), recording) - const bytes = goldenBytes(golden) - if (run) { - expect(bytes).toBe(first) - } else if (process.env.RPC_FOUNDATION_MODE === '--record') { - await writeGolden(goldens, golden, '--record') - } else { - await expectGoldenFile(goldens, id, golden) - } - first = bytes + const { adapters } = pilotMountAdapters(root, { device: scenario }) + const recording = await runRecording( + scenario, + adapters[scenario.operation], + vitestRecordingScheduler({ producer: id, scenario: scenario.id, mode: 'native' }) + ) + if (id === 'b1') { + expect(visibleState(recording)).toEqual({ files: ['third.ts'] }) } + if (id === 'b2') { + // The checked reader must name the null reply and method instead of exposing a property-read exception. + expect(visibleState(recording)).toMatchObject({ + error: 'The host sent a reply this app could not read (github.project.updateIssueBySlug)' + }) + } + if (id === 'b3') { + expect(visibleState(recording)).toMatchObject({ + error: 'comments transport error', + loading: false + }) + } + if (id === 'settings-task-hydration-fulfilled') { + expect(visibleState(recording)).toMatchObject({ hydrated: true }) + } + const golden = goldenRecording(pilot.scenarios(), recording) + await (process.env.RPC_FOUNDATION_MODE === '--record' + ? writeGolden(goldens, golden, '--record') + : expectGoldenFile(goldens, id, golden)) }) } }) diff --git a/mobile/src/test-support/rpc-recording/relay-pairing-fixtures.ts b/mobile/src/test-support/rpc-recording/relay-pairing-fixtures.ts index 9217c4ce6bd..9938506c06b 100644 --- a/mobile/src/test-support/rpc-recording/relay-pairing-fixtures.ts +++ b/mobile/src/test-support/rpc-recording/relay-pairing-fixtures.ts @@ -1,5 +1,5 @@ import type * as MobileRelayCredentialHashModule from '../../transport/relay/mobile-relay-credential-hash' -import type { MobileRelayCredentialBundle } from '../../transport/hosts/mobile-relay-credential-bundle' +import type { MobileRelayCredentialBundle } from '../../host-credentials/mobile-relay-credential-bundle' import type { MobileRelayPairingJournal } from '../../pairing/mobile-relay-pairing-journal' import type { MountContext } from './recording-scenario' import type { operationModuleLoader } from './operation-module-loader' diff --git a/mobile/src/test-support/rpc-recording/reply-matrix-normal-result.ts b/mobile/src/test-support/rpc-recording/reply-matrix-normal-result.ts deleted file mode 100644 index 21c3e51d93f..00000000000 --- a/mobile/src/test-support/rpc-recording/reply-matrix-normal-result.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { matrixSites } from './reply-matrix' -import type { RecordingScenario } from './recording-scenario' - -// Reuse recorded successes as normal controls; explicit inventory covers sites with none. -// Reject missing and stale inventory entries so new failure-only families cannot silently lose controls. -export type ReplyMatrixNormalResult = { - readonly family: string - readonly request: string - readonly reason: string - readonly result: unknown -} - -export const REPLY_MATRIX_NORMAL_RESULT_INVENTORY: readonly ReplyMatrixNormalResult[] = [ - { - family: 'linear-detail-barrier', - request: 'linear.getIssue#1', - reason: 'the seed records the defect, so the family records no fulfilled issue', - result: { id: 'issue-1', description: 'recorded', labels: [], subIssues: [] } - }, - { - family: 'linear-detail-barrier', - request: 'linear.issueComments#1', - reason: 'same seed: the comments leg is rejected by design', - result: { comments: [] } - }, - { - family: 'project-explicit-false', - request: 'github.project.updateIssueBySlug#1', - reason: 'the seed records a null result, which the result-null partition already drives', - result: { ok: true } - }, - { - family: 'query.event-router-catalog', - request: 'worktree.ps#1', - reason: 'the scenario refuses the first read by design: it pins the read floor after a failure', - result: { worktrees: [] } - }, - { - family: 'settings-best-effort', - request: 'settings.update#1', - reason: 'a best-effort write whose reply body no call site reads', - result: { ok: true } - } -] - -function fulfilledResult(reply: unknown): { found: boolean; result: unknown } { - if (reply === null || typeof reply !== 'object' || !('result' in reply)) { - return { found: false, result: undefined } - } - const envelope: { ok?: unknown; result?: unknown } = reply - // Absent and null already have partitions; neither can serve as a normal success control. - return envelope.ok === true && envelope.result !== undefined && envelope.result !== null - ? { found: true, result: envelope.result } - : { found: false, result: undefined } -} - -export function replyMatrixNormalResult( - family: string, - scenarios: readonly RecordingScenario[], - request: string -): unknown { - let recorded: { found: boolean; result: unknown } = { found: false, result: undefined } - for (const scenario of scenarios) { - // Look up frame successes by subscribe payload and occurrence, as the matrix does. - for (const site of matrixSites(scenario)) { - if (site.id === request && !recorded.found) { - recorded = fulfilledResult(site.reply) - } - } - } - const inventoried = REPLY_MATRIX_NORMAL_RESULT_INVENTORY.find( - (entry) => entry.family === family && entry.request === request - ) - if (inventoried) { - if (recorded.found) { - throw new Error( - `${family} ${request} now records a fulfilled reply; drop its REPLY_MATRIX_NORMAL_RESULT_INVENTORY entry` - ) - } - return inventoried.result - } - if (!recorded.found) { - throw new Error( - `No fulfilled reply recorded for matrix site ${family} ${request}. Add a scenario that fulfils it, or list it in REPLY_MATRIX_NORMAL_RESULT_INVENTORY with the reason it cannot be.` - ) - } - return recorded.result -} diff --git a/mobile/src/test-support/rpc-recording/reply-matrix.ts b/mobile/src/test-support/rpc-recording/reply-matrix.ts deleted file mode 100644 index faa77b934ce..00000000000 --- a/mobile/src/test-support/rpc-recording/reply-matrix.ts +++ /dev/null @@ -1,200 +0,0 @@ -import { hoistPreludeCheckpoints } from './prelude-checkpoints' -import type { RecordingScenario, Rejection, ScenarioStep } from './recording-scenario' - -export type ReplyPartition = { id: string; reply?: unknown; reject?: Rejection } - -// Drive only wire-representable shapes; JSON cannot carry explicit undefined. -// Include message-free refusals/rejections because their different fallback copy exposes collapsed failure paths. -export function replyPartitions(normal: unknown): ReplyPartition[] { - return [ - { id: 'normal', reply: { ok: true, result: normal } }, - { id: 'result-absent', reply: { ok: true } }, - { id: 'result-null', reply: { ok: true, result: null } }, - { id: 'inner-ok-missing', reply: { ok: true, result: { error: 'refused' } } }, - { - id: 'inner-false-string-error', - reply: { ok: true, result: { ok: false, error: 'inner refused' } } - }, - { - id: 'inner-false-object-error', - reply: { ok: true, result: { ok: false, error: { message: 'inner refused' } } } - }, - { - id: 'outer-refused', - reply: { ok: false, error: { code: 'refused', message: 'outer refused' } } - }, - { - id: 'outer-refused-no-message', - reply: { ok: false, error: { code: 'refused', message: '' } } - }, - { - id: 'method-not-found', - reply: { ok: false, error: { code: 'method_not_found', message: 'Unknown method' } } - }, - { id: 'transport-rejection', reject: { message: 'transport failure', deliveryUnknown: true } }, - { id: 'transport-rejection-no-message', reject: { message: '', deliveryUnknown: true } } - ] -} - -// Frames have no request promise, so transport rejection partitions do not apply. -// Stamp success frames streaming:true to reach the registry; non-streaming unary closers need separate flag coverage. -function frameReplyPartitions(normal: unknown): ReplyPartition[] { - return replyPartitions(normal).flatMap((partition) => { - const envelope = successEnvelope(partition.reply) - return 'reject' in partition - ? [] - : [{ ...partition, reply: envelope ? { ...envelope, streaming: true } : partition.reply }] - }) -} - -function successEnvelope(reply: unknown): Record | null { - return reply !== null && typeof reply === 'object' && 'ok' in reply && reply.ok === true - ? { ...reply } - : null -} - -type MatrixSite = { id: string; index: number; reply: unknown; bridgeOnly: boolean } - -// Matrix every reply, including prerequisites, so new families cannot lose coverage through hand-selected sites. -// Name stream frames by subscribe payload and occurrence to distinguish ready/events/end. -export function matrixSites(base: RecordingScenario): MatrixSite[] { - const frames = new Map() - return base.steps.flatMap((step, index) => { - if ('complete' in step) { - return [ - { - id: step.site ?? step.complete, - index, - reply: step.reply, - bridgeOnly: step.bridgeSite === true - } - ] - } - if ('frame' in step) { - const occurrence = (frames.get(step.frame) ?? 0) + 1 - frames.set(step.frame, occurrence) - return [ - { - id: step.site ?? `${step.frame}@${occurrence}`, - index, - reply: step.reply, - bridgeOnly: false - } - ] - } - return [] - }) -} - -export function replyMatrixSites(base: RecordingScenario): string[] { - const sites = matrixSites(base).map((site) => site.id) - if (!sites.length) { - throw new Error(`No scripted reply to drive a matrix over: ${base.id}`) - } - const repeated = sites.filter((name, index) => sites.indexOf(name) !== index) - if (repeated.length) { - // A repeated name would make the divergence ambiguous; the manifest binds concurrent requests. - throw new Error(`Matrix sites must be unique: ${base.id} repeats ${repeated.join(', ')}`) - } - return sites -} - -export function replyMatrixGoldenId(family: string, request: string): string { - return `matrix-${family}-${request}`.toLowerCase().replaceAll('#', '-').replaceAll('@', '-') -} - -export function driveReplyMatrix( - base: RecordingScenario, - request: string, - normal: unknown -): RecordingScenario[] { - const sites = matrixSites(base).filter((site) => site.id === request) - if (sites.length !== 1) { - throw new Error(`Matrix requires exactly one reply at: ${request}`) - } - const { index: divergence } = sites[0]! - const framed = 'frame' in base.steps[divergence]! - const partitions = framed ? frameReplyPartitions(normal) : replyPartitions(normal) - return hoistPreludeCheckpoints( - base.lineage - ? { - ...base, - lineage: { - ...base.lineage, - site: request, - domain: sites[0]!.bridgeOnly ? 'bridge-only' : base.lineage.domain - } - } - : base, - partitions.map((partition) => { - const branch = base.replyBranches?.find( - (entry) => entry.site === request && entry.partitions.includes(partition.id) - ) - return { - divergence, - scenario: { - ...base, - id: `${base.id}.${partition.id}`, - ...(branch - ? { - bridgeOperations: base.bridgeOperations?.filter( - (entry) => entry.request !== branch.request - ) - } - : {}), - ...(base.lineage - ? { - lineage: { - ...base.lineage, - site: request, - partition: partition.id, - domain: sites[0]!.bridgeOnly ? ('bridge-only' as const) : base.lineage.domain - } - } - : {}), - steps: base.steps.flatMap((original, index): ScenarioStep[] => { - if (branch && original.bridgeSite && original.site === `${branch.request}.native-1`) { - return [] - } - const step = - branch && 'complete' in original && original.site === branch.request - ? { - ...original, - params: branch.params, - complete: - base.lineage?.mode === 'bridge' - ? `${branch.request}.native-1` - : branch.request - } - : original - return [ - ((): ScenarioStep => { - if (index > divergence) { - // After divergence, answer later requests only if sent; frames remain deliverable through the registry. - return 'complete' in step || 'bind' in step ? { ...step, optional: true } : step - } - if (index !== divergence) { - return step - } - if ('frame' in step) { - return { ...step, reply: partition.reply } - } - if ('complete' in step) { - return { - ...step, - reply: undefined, - reject: undefined, - ...('reject' in partition - ? { reject: partition.reject } - : { reply: partition.reply }) - } - } - return step - })() - ] - }) - } - } - }) - ) -} 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 deleted file mode 100644 index 4cc6388b045..00000000000 --- a/mobile/src/test-support/rpc-recording/screen-native-substitutes.test.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { createElement, type ElementType } from 'react' -import { act, create } from 'react-test-renderer' -import { describe, expect, it } from 'vitest' -import { nativeMountingSubstitutes } from './native-mounting-substitutes' -import { reactNativeScreenMembers } 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] -} - -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', () => { - // Preserve children/props while never invoking device callbacks, including render-callback 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( - createElement( - // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: the substitute is an inert element component by construction. - member('react-native', 'Pressable') as ElementType, - {}, - // @ts-expect-error -- deliberately invalid function children; asserts the substitute drops them - () => { - 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() - }) -}) diff --git a/mobile/src/test-support/rpc-recording/unhandled-recording.test.ts b/mobile/src/test-support/rpc-recording/unhandled-recording.test.ts index e09ae845737..47224f46c23 100644 --- a/mobile/src/test-support/rpc-recording/unhandled-recording.test.ts +++ b/mobile/src/test-support/rpc-recording/unhandled-recording.test.ts @@ -29,28 +29,6 @@ describe('recordUnhandledRejections', () => { } }) - it('records a detached rejection as an effect and restores the prior listeners', async () => { - const before = process.rawListeners('unhandledRejection') - const effects: { name: string; value: unknown }[] = [] - - const stop = recordUnhandledRejections((name, value) => effects.push({ name, value })) - void Promise.reject(new TypeError("Cannot read properties of null (reading 'ui')")) - await new Promise((resolve) => setImmediate(resolve)) - stop() - - expect(effects).toEqual([ - { - name: 'unhandled-rejection', - value: { - category: 'TypeError', - message: "Cannot read properties of null (reading 'ui')", - isRpcDeliveryUnknown: false - } - } - ]) - expect(process.rawListeners('unhandledRejection')).toEqual(before) - }) - it('reaches a checkpoint and the cleanup checkpoint through a real recording', async () => { const scenario: RecordingScenario = { id: 'detached', diff --git a/mobile/src/test-support/rpc-recording/vitest-recording-scheduler.test.ts b/mobile/src/test-support/rpc-recording/vitest-recording-scheduler.test.ts index cadfa18984e..d0cf2fed5f7 100644 --- a/mobile/src/test-support/rpc-recording/vitest-recording-scheduler.test.ts +++ b/mobile/src/test-support/rpc-recording/vitest-recording-scheduler.test.ts @@ -50,10 +50,4 @@ describe('recording scheduler randomness', () => { const expected = [{ name: 'draw', ordinal: 1, value: SEEDED_FIRST_DRAW }] expect([first, later]).toEqual([expected, expected]) }) - - it('draws the same seeded value before the first drain as after it', async () => { - expect(await record('draw-before-drain', false)).toEqual([ - { name: 'draw', ordinal: 1, value: SEEDED_FIRST_DRAW } - ]) - }) }) diff --git a/mobile/src/test-support/rpc-recording/vitest-recording-scheduler.ts b/mobile/src/test-support/rpc-recording/vitest-recording-scheduler.ts index 28ce73b6372..40e4a3320bc 100644 --- a/mobile/src/test-support/rpc-recording/vitest-recording-scheduler.ts +++ b/mobile/src/test-support/rpc-recording/vitest-recording-scheduler.ts @@ -18,131 +18,13 @@ export function reactActQueuePrimed(): boolean { return priming !== undefined } -// Product timers main's scheduler silently cleared; they are inherited, not fixed, and still reported. Each -// declaration names the recording modes (native, or through the page) where its inner scenario leaves it. type RecordingMode = 'native' | 'page' -type KnownMainTimer = { delay: number; owner: readonly string[]; modes: readonly RecordingMode[] } -const BOTH_MODES: readonly RecordingMode[] = ['native', 'page'] -const RECONNECT_WAIT = ['rpc-client-reconnect-wait', 'replay-on-ambiguous-delivery'] -const TRIAGE_RECONNECT = { - delay: 20_000, - owner: [...RECONNECT_WAIT, 'mobile-existing-agent-launch', 'pr-ai-triage-launch'] -} -const KNOWN_MAIN_TIMERS: Readonly>>> = { - 'matrix-worktree.agent-launch-create-agent.launch-1': { - 'tw-create-retry-agent-launched.method-not-found': { - delay: 20_000, - owner: [...RECONNECT_WAIT, 'worktree-create-retry'], - modes: BOTH_MODES - } - }, - // The transport partitions traced on the admitted run (check-3949 Job 2) leave the same reconnect waiter; only - // the page refuses the absent result, so only there does it wait too. - 'matrix-session.pr-triage-agent.launchreplay-1': { - 'pr-triage-launch.prelude': { ...TRIAGE_RECONNECT, modes: BOTH_MODES }, - 'pr-triage-launch.transport-rejection': { ...TRIAGE_RECONNECT, modes: BOTH_MODES }, - 'pr-triage-launch.transport-rejection-no-message': { ...TRIAGE_RECONNECT, modes: BOTH_MODES }, - 'pr-triage-launch.result-absent': { ...TRIAGE_RECONNECT, modes: ['page'] } - } -} - -// A timer callback as the fake timers invoke it. -type TimerCallback = (this: unknown, ...args: unknown[]) => unknown - -type TrackedTimer = { - kind: 'timeout' | 'interval' - delay: number - stack: string - release: () => void -} - -// Track allocation and retirement only for a declared run, keeping the fake timer's own callback, arguments and handle. -function trackTimers(): Map { - const live = new Map() - const fakeSetTimeout = globalThis.setTimeout - const fakeSetInterval = globalThis.setInterval - const fakeClearTimeout = globalThis.clearTimeout - const fakeClearInterval = globalThis.clearInterval - const callable = (callback: unknown): TimerCallback => { - if (typeof callback !== 'function') { - throw new Error('A recorded timer needs a callback') - } - // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: a timer callback is any function, called with the fake timer's own receiver and arguments. - return callback as TimerCallback - } - const allocation = (kind: TrackedTimer['kind'], delay: number | undefined) => ({ - kind, - delay: delay ?? 0, - stack: new Error('timer').stack ?? '' - }) - // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: forwards the fake timer's exact arguments and returns its own handle. - globalThis.setTimeout = ((callback: unknown, delay?: number, ...args: unknown[]) => { - const original = callable(callback) - const handle = fakeSetTimeout( - function (this: unknown, ...fired: unknown[]) { - live.delete(handle) - return original.call(this, ...fired) - }, - delay, - ...args - ) - live.set(handle, { ...allocation('timeout', delay), release: () => fakeClearTimeout(handle) }) - return handle - }) as typeof setTimeout - // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: forwards the fake timer's exact arguments and returns its own handle. - globalThis.setInterval = ((callback: unknown, delay?: number, ...args: unknown[]) => { - const handle = fakeSetInterval(callable(callback), delay, ...args) - live.set(handle, { - ...allocation('interval', delay), - release: () => fakeClearInterval(handle) - }) - return handle - }) as typeof setInterval - globalThis.clearTimeout = (handle) => { - live.delete(handle) - fakeClearTimeout(handle) - } - globalThis.clearInterval = (handle) => { - live.delete(handle) - fakeClearInterval(handle) - } - return live -} - -function knownMainTimerProblems( - identity: string, - declared: KnownMainTimer, - live: ReadonlyMap, - count: number -): string[] { - const survivors = [...live.values()] - const problems: string[] = [] - if (count !== survivors.length) { - problems.push(`${count} actual timers but ${survivors.length} tracked`) - } - if (survivors.length !== 1) { - problems.push(`expected the one known main timer, found ${survivors.length}`) - } - for (const timer of survivors) { - if ( - timer.kind !== 'timeout' || - timer.delay !== declared.delay || - !declared.owner.every((frame) => timer.stack.includes(frame)) - ) { - problems.push(`unexpected ${timer.kind} of ${timer.delay} ms from\n${timer.stack}`) - } - } - return problems.map((problem) => `${identity}: ${problem}`) -} export function vitestRecordingScheduler(identity?: { producer: string scenario: string mode: RecordingMode }): RecordingScheduler { - const declared = identity && KNOWN_MAIN_TIMERS[identity.producer]?.[identity.scenario] - const known = identity && declared?.modes.includes(identity.mode) ? declared : undefined - let tracked: Map | undefined let baseline: number | undefined let stopCount: number | undefined let started = false @@ -169,7 +51,6 @@ export function vitestRecordingScheduler(identity?: { ] }) started = true - tracked = known ? trackTimers() : undefined baseline = vi.getTimerCount() vi.setSystemTime(RECORDING_EPOCH) let seed = 1 @@ -227,25 +108,7 @@ export function vitestRecordingScheduler(identity?: { const errors: unknown[] = [] try { stopCount = vi.getTimerCount() - if (known && identity && tracked) { - // Checked before restoration: the exact declared survivor, nothing else and no other owner. - const problems = knownMainTimerProblems( - `${identity.producer}/${identity.scenario} (${identity.mode})`, - known, - tracked, - stopCount - ) - if (problems.length) { - errors.push(new Error(`Recording cleanup timers:\n${problems.join('\n')}`)) - } else { - process.stdout.write( - `known main timer retained: ${identity.producer}/${identity.scenario} (${identity.mode}) ${known.delay} ms\n` - ) - for (const timer of tracked.values()) { - timer.release() - } - } - } else if (stopCount !== 0) { + if (stopCount !== 0) { const named = identity ? `${identity.producer}/${identity.scenario} (${identity.mode}): ` : '' diff --git a/mobile/src/test-support/webview-document-census.ts b/mobile/src/test-support/webview-document-census.ts deleted file mode 100644 index 0748aacb943..00000000000 --- a/mobile/src/test-support/webview-document-census.ts +++ /dev/null @@ -1,289 +0,0 @@ -import { readdirSync, readFileSync } from 'node:fs' -import { join } from 'node:path' -import { parseSync } from 'oxc-parser' - -// Census every WebView document with AST readers: module evaluation can retain the first mount’s nodes across remounts. -// Declarations can run work too, while literal shape alone implies no effect. - -const DECLARATION_KINDS = new Set([ - 'ImportDeclaration', - 'ExportNamedDeclaration', - 'ExportDefaultDeclaration', - 'ExportAllDeclaration', - 'FunctionDeclaration', - 'ClassDeclaration', - 'VariableDeclaration', - 'TSTypeAliasDeclaration', - 'TSInterfaceDeclaration', - 'TSEnumDeclaration', - 'TSModuleDeclaration', - 'TSDeclareFunction', - 'TSImportEqualsDeclaration', - 'EmptyStatement' -]) - -const RUNS_NOW = new Set([ - 'CallExpression', - 'NewExpression', - 'AwaitExpression', - 'TaggedTemplateExpression' -]) - -/** What an initialiser *is* rather than what it does: its body runs later, not now. */ -const RUNS_LATER = new Set(['FunctionExpression', 'ArrowFunctionExpression', 'ClassExpression']) - -function fieldsOf(node: unknown): [string, unknown][] { - return node !== null && typeof node === 'object' && !Array.isArray(node) - ? Object.entries(node) - : [] -} - -function stringField(node: unknown, key: string): string { - const found = fieldsOf(node).find(([name]) => name === key)?.[1] - return typeof found === 'string' ? found : '' -} - -function field(node: unknown, key: string): unknown { - return fieldsOf(node).find(([name]) => name === key)?.[1] -} - -function isElementGlobal(node: unknown): boolean { - const name = stringField(node, 'name') - return stringField(node, 'type') === 'Identifier' && (name === 'document' || name === 'window') -} - -function initialiserRuns(node: unknown): boolean { - if (Array.isArray(node)) { - return node.some(initialiserRuns) - } - const type = stringField(node, 'type') - if (RUNS_NOW.has(type)) { - return true - } - if (RUNS_LATER.has(type)) { - return false - } - if (type === 'MemberExpression' && isElementGlobal(field(node, 'object'))) { - return true - } - return fieldsOf(node).some(([key, value]) => key !== 'type' && initialiserRuns(value)) -} - -function readsTheDocument(node: unknown): boolean { - if (Array.isArray(node)) { - return node.some(readsTheDocument) - } - if (isElementGlobal(node)) { - return true - } - return fieldsOf(node).some(([key, value]) => key !== 'type' && readsTheDocument(value)) -} - -function parseModule(name: string, source: string) { - const { program, errors } = parseSync(`${name}.ts`, source, { lang: 'ts' }) - if (errors.length > 0) { - throw new Error(`[webview-document-census] ${name}.ts did not parse: ${errors[0]?.message}`) - } - return program -} - -// Do not descend into default-exported function bodies; declaration alone does not execute their calls. -const DECLARES_WITHOUT_RUNNING = new Set(['FunctionDeclaration', 'TSDeclareFunction']) - -// Detect evaluated declaration initializers, static class members and default-export expressions as module work. -export function parseTimeEffects(name: string, source: string): string[] { - const effects: string[] = [] - const report = (node: unknown) => { - effects.push(`${name}: ${source.slice(numberField(node, 'start'), numberField(node, 'end'))}`) - } - - for (const statement of parseModule(name, source).body) { - if (!DECLARATION_KINDS.has(statement.type)) { - effects.push(`${name}: ${statement.type}`) - continue - } - const exported = - statement.type === 'ExportNamedDeclaration' || statement.type === 'ExportDefaultDeclaration' - const declared = exported ? (field(statement, 'declaration') ?? statement) : statement - const declaredType = stringField(declared, 'type') - - if (declaredType === 'VariableDeclaration') { - for (const declarator of arrayField(declared, 'declarations')) { - const init = field(declarator, 'init') - if (init && initialiserRuns(init)) { - report(declarator) - } - } - continue - } - - if (declaredType === 'ClassDeclaration' || declaredType === 'ClassExpression') { - for (const member of arrayField(field(declared, 'body'), 'body')) { - // Static blocks/fields run with class evaluation; instance fields run later at construction. - if (stringField(member, 'type') === 'StaticBlock') { - report(member) - } else if (field(member, 'static') === true && initialiserRuns(field(member, 'value'))) { - report(member) - } - } - continue - } - - if ( - statement.type === 'ExportDefaultDeclaration' && - !DECLARES_WITHOUT_RUNNING.has(declaredType) && - initialiserRuns(declared) - ) { - report(declared) - } - } - return effects -} - -export function topLevelDeclarationsReachAnElement(name: string, source: string): boolean { - return parseModule(name, source) - .body.filter( - (statement) => - statement.type === 'VariableDeclaration' || - (statement.type === 'ExportNamedDeclaration' && - statement.declaration?.type === 'VariableDeclaration') - ) - .some(readsTheDocument) -} - -// Read ordered lifecycle calls from the AST so unwind mentions cannot count as starts. -export function sequenceCalls(source: string, functionName: string, ignore: string[]): string[] { - const declaration = parseModule('sequence', source) - .body.map((statement) => - statement.type === 'ExportNamedDeclaration' ? statement.declaration : statement - ) - .find( - (node) => - node?.type === 'FunctionDeclaration' && - stringField(field(node, 'id'), 'name') === functionName - ) - const called: string[] = [] - const walk = (node: unknown): void => { - if (Array.isArray(node)) { - node.forEach(walk) - return - } - if (stringField(node, 'type') === 'CallExpression') { - const name = stringField(field(node, 'callee'), 'name') - if (name !== '' && !ignore.includes(name)) { - called.push(name) - } - } - fieldsOf(node).forEach(([key, value]) => { - if (key !== 'type') { - walk(value) - } - }) - } - walk(declaration) - return called -} - -// Stop at function-owned bindings, which belong to calls; blocks still belong to the module. -const OWNS_ITS_BINDINGS = new Set([ - 'FunctionDeclaration', - 'FunctionExpression', - 'ArrowFunctionExpression', - 'ClassDeclaration', - 'ClassExpression', - 'TSDeclareFunction' -]) - -function arrayField(node: unknown, key: string): unknown[] { - const found = field(node, key) - return Array.isArray(found) ? found : [] -} - -function numberField(node: unknown, key: string): number { - const found = field(node, key) - return typeof found === 'number' ? found : -1 -} - -// Walk top-level mutable bindings through exports, blocks and loops; stop at function scopes. -export function moduleLevelMutableBindings(name: string, source: string): string[] { - const found: string[] = [] - const walk = (node: unknown): void => { - if (Array.isArray(node)) { - node.forEach(walk) - return - } - const type = stringField(node, 'type') - if (OWNS_ITS_BINDINGS.has(type)) { - return - } - if (type === 'VariableDeclaration') { - const kind = stringField(node, 'kind') - if (kind === 'let' || kind === 'var') { - const declarations = field(node, 'declarations') - for (const declarator of Array.isArray(declarations) ? declarations : []) { - const id = field(declarator, 'id') - found.push( - `${name}: ${kind} ${source.slice(numberField(id, 'start'), numberField(id, 'end'))}` - ) - } - } - return - } - fieldsOf(node).forEach(([key, value]) => { - if (key !== 'type') { - walk(value) - } - }) - } - walk(parseModule(name, source).body) - return found -} - -// Find lifecycle exports by name and scope parameter, including async/wrapped declarations; textual matching can silently miss both sides of a set comparison. -export function exportedLifecycleFunctions( - source: string, - keyword: 'start' | 'stop', - scopeType: string -): string[] { - const names: string[] = [] - for (const statement of parseModule('lifecycle', source).body) { - if (statement.type !== 'ExportNamedDeclaration') { - continue - } - const declared = field(statement, 'declaration') - if (stringField(declared, 'type') !== 'FunctionDeclaration') { - continue - } - const name = stringField(field(declared, 'id'), 'name') - if (!name.startsWith(keyword)) { - continue - } - // Lifecycle starts take only scope; startEdgeScroll(scope, dir) is an action, not module startup. - const params = arrayField(declared, 'params') - const [first] = params - if (params.length !== 1 || stringField(first, 'name') !== 'scope') { - continue - } - const annotation = field(first, 'typeAnnotation') - const written = source - .slice(numberField(annotation, 'start'), numberField(annotation, 'end')) - .replace(/^:\s*/, '') - if (written === scopeType) { - names.push(name) - } - } - return names -} - -// Discover modules from the directory so unlisted files cannot evade lifecycle rules. -export function documentModuleNames(directory: string, except: string[]): string[] { - return readdirSync(directory) - .filter((name) => name.endsWith('.ts') && !name.includes('.test')) - .map((name) => name.replace(/\.ts$/, '')) - .filter((name) => !except.includes(name)) - .sort() -} - -export function documentModuleSource(directory: string, name: string): string { - return readFileSync(join(directory, `${name}.ts`), 'utf8') -} diff --git a/mobile/src/theme/mobile-code-font.ios.ts b/mobile/src/theme/mobile-code-font.ios.ts new file mode 100644 index 00000000000..08958808e0d --- /dev/null +++ b/mobile/src/theme/mobile-code-font.ios.ts @@ -0,0 +1,2 @@ +// iOS has no family named `monospace`; it falls back to the proportional system face. +export const codeFontFamily: string = 'Menlo' diff --git a/mobile/src/theme/mobile-code-font.ts b/mobile/src/theme/mobile-code-font.ts new file mode 100644 index 00000000000..fff01e62848 --- /dev/null +++ b/mobile/src/theme/mobile-code-font.ts @@ -0,0 +1,2 @@ +// Android's generic family is its system code font; .ios.ts and .web.ts pick theirs. +export const codeFontFamily: string = 'monospace' diff --git a/mobile/src/theme/mobile-code-font.web.ts b/mobile/src/theme/mobile-code-font.web.ts new file mode 100644 index 00000000000..142e76ba365 --- /dev/null +++ b/mobile/src/theme/mobile-code-font.web.ts @@ -0,0 +1,3 @@ +// WebKit draws generic `monospace` as Courier; name the system code fonts first. +export const codeFontFamily: string = + 'ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace' diff --git a/mobile/src/theme/mobile-theme.ts b/mobile/src/theme/mobile-theme.ts index 963ad2f3995..7d53f8422eb 100644 --- a/mobile/src/theme/mobile-theme.ts +++ b/mobile/src/theme/mobile-theme.ts @@ -1,3 +1,5 @@ +import { codeFontFamily } from './mobile-code-font' + // Desktop's main.css tokens per scheme; keep mobile on these instead of introducing inline colors. export type MobileColorScheme = 'light' | 'dark' @@ -55,24 +57,32 @@ const darkColors = { statusPurple: '#d8b4fe', gitDecorationAdded: '#81b88b', gitDecorationDeleted: '#c74e39', - // Desktop's `--diff-*-ground` and `--diff-*-gutter` mixes. - diffAddedBg: 'rgba(129, 184, 139, 0.16)', - diffDeletedBg: 'rgba(199, 78, 57, 0.18)', - diffAddedGutter: 'rgba(129, 184, 139, 0.3)', - diffDeletedGutter: 'rgba(199, 78, 57, 0.32)', + // GitHub's (Primer) diff colours, Kelvin's choice for every phone diff: row ground, line-number cell over it, + // the +/− sign, unchanged line numbers, and the blue "unchanged lines" fold band. + diffAddedBg: 'rgba(46, 160, 67, 0.15)', + diffDeletedBg: 'rgba(248, 81, 73, 0.13)', + diffAddedGutter: 'rgba(63, 185, 80, 0.3)', + diffDeletedGutter: 'rgba(248, 81, 73, 0.3)', + diffAddedSign: '#3fb950', + diffDeletedSign: '#f85149', + diffLineNumber: '#6e7681', + diffFoldBg: 'rgba(56, 139, 253, 0.1)', + diffFoldGutter: 'rgba(56, 139, 253, 0.22)', + diffFoldText: '#4493f8', // Desktop's `--chat-diff-*`: decoration mixed toward foreground for tinted rows. chatDiffAdded: '#a5ccac', chatDiffRemoved: '#d68273', - // Monaco's `vs-dark`; function and meta come from VS Code Dark+, which Monaco lacks. - syntaxComment: '#608b4e', - syntaxKeyword: '#569cd6', - syntaxString: '#ce9178', - syntaxNumber: '#b5cea8', - syntaxType: '#3dc9b0', - syntaxFunction: '#dcdcaa', - syntaxVariable: '#74b0df', - syntaxMeta: '#c586c0', + // GitHub's Primer dark syntax palette (prettylights); type is its built-in orange, tag covers keys and tag names. + syntaxComment: '#8b949e', + syntaxKeyword: '#ff7b72', + syntaxString: '#a5d6ff', + syntaxNumber: '#79c0ff', + syntaxType: '#ffa657', + syntaxFunction: '#d2a8ff', + syntaxVariable: '#ffa657', + syntaxMeta: '#79c0ff', + syntaxTag: '#7ee787', // Terminal WebView background (Tokyonight) — separate from app chrome terminalBg: '#1a1b26' @@ -121,22 +131,29 @@ const lightColors: MobilePalette = { statusPurple: '#9333ea', gitDecorationAdded: '#587c0c', gitDecorationDeleted: '#ad0707', - diffAddedBg: 'rgba(88, 124, 12, 0.13)', - diffDeletedBg: 'rgba(173, 7, 7, 0.11)', - diffAddedGutter: 'rgba(88, 124, 12, 0.26)', - diffDeletedGutter: 'rgba(173, 7, 7, 0.22)', + diffAddedBg: '#dafbe1', + diffDeletedBg: '#ffebe9', + diffAddedGutter: '#aceebb', + diffDeletedGutter: '#ffcecb', + diffAddedSign: '#1a7f37', + diffDeletedSign: '#cf222e', + diffLineNumber: '#6e7781', + diffFoldBg: '#ddf4ff', + diffFoldGutter: 'rgba(84, 174, 255, 0.4)', + diffFoldText: '#0969da', chatDiffAdded: '#415a0b', chatDiffRemoved: '#7c0808', - // Monaco's `vs`; function and meta from VS Code Light+. - syntaxComment: '#008000', - syntaxKeyword: '#0000ff', - syntaxString: '#a31515', - syntaxNumber: '#098658', - syntaxType: '#008080', - syntaxFunction: '#795e26', - syntaxVariable: '#001188', - syntaxMeta: '#af00db', + // GitHub's Primer light syntax palette (prettylights). + syntaxComment: '#59636e', + syntaxKeyword: '#cf222e', + syntaxString: '#0a3069', + syntaxNumber: '#0550ae', + syntaxType: '#953800', + syntaxFunction: '#8250df', + syntaxVariable: '#953800', + syntaxMeta: '#0550ae', + syntaxTag: '#116329', terminalBg: '#1a1b26' } @@ -208,7 +225,7 @@ export const typography = { titleSize: 18, bodySize: 14, metaSize: 12, - monoFamily: 'monospace' as const + monoFamily: codeFontFamily } as const // One press and one disabled look for every control; fills on press use colors.translucentFill. diff --git a/mobile/src/transport/connection/client-context.test.ts b/mobile/src/transport/connection/client-context.test.ts index 8688ab11863..4d0097b6f53 100644 --- a/mobile/src/transport/connection/client-context.test.ts +++ b/mobile/src/transport/connection/client-context.test.ts @@ -23,7 +23,7 @@ vi.mock('./runtime-status-probe', () => ({ startRuntimeStatusProbe: (client: unknown, onStatus: (status: unknown) => void) => descriptorProbe.start(client, onStatus) })) -vi.mock('../hosts/host-descriptor-recorder', () => ({ +vi.mock('../../host-descriptors/host-descriptor-recorder', () => ({ recordHostDescriptorFromStatus: (...args: unknown[]) => descriptorProbe.record(...args) })) @@ -36,7 +36,7 @@ vi.mock('../rpc/direct-rpc-connect', () => ({ vi.mock('./host-logical-client', () => ({ openHostLogicalClient: (...args: unknown[]) => connectMock(...args) })) -vi.mock('../hosts/host-store', () => ({ +vi.mock('../../host-catalog/host-store', () => ({ loadHosts: () => loadHostsMock() })) vi.mock('../../diagnostics/connection/connection-revival-triggers', () => ({ diff --git a/mobile/src/transport/connection/client-context.tsx b/mobile/src/transport/connection/client-context.tsx index 5bb222dd2e9..f368d8136fd 100644 --- a/mobile/src/transport/connection/client-context.tsx +++ b/mobile/src/transport/connection/client-context.tsx @@ -36,7 +36,7 @@ import { type CloseEntryOptions } from './host-client-context-state' import type { ConnectionState } from './connection-state' -import type { HostProfile } from '../hosts/host-profile' +import type { HostProfile } from '../../host-catalog/host-profile' import type { RpcClientContextValue } from './rpc-client-context-contract' type StoreEntry = HostClientStoreEntry diff --git a/mobile/src/transport/connection/client-context.web.tsx b/mobile/src/transport/connection/client-context.web.tsx index 547f5c2ee06..b93af825038 100644 --- a/mobile/src/transport/connection/client-context.web.tsx +++ b/mobile/src/transport/connection/client-context.web.tsx @@ -3,7 +3,7 @@ import { createContext, useContext, useMemo, useRef, type ReactNode } from 'reac import type { BridgeRpcClient } from '../../mobile-web-shell/bridge/bridge-rpc-client' import { BRIDGE_PAGE_CLIENT_ID } from '../../mobile-web-shell/bridge/bridge-page-client-identity' import type { ConnectionState } from './connection-state' -import type { HostProfile } from '../hosts/host-profile' +import type { HostProfile } from '../../host-catalog/host-profile' import type { RpcClientContextValue } from './rpc-client-context-contract' const Ctx = createContext(null) diff --git a/mobile/src/transport/connection/host-client-context-state.ts b/mobile/src/transport/connection/host-client-context-state.ts index 11732d99f66..879090e7569 100644 --- a/mobile/src/transport/connection/host-client-context-state.ts +++ b/mobile/src/transport/connection/host-client-context-state.ts @@ -4,7 +4,7 @@ import type { HostClientStoreEntry } from './host-entry-opener' import type { RelayHostReachability } from '../relay/relay-host-reachability' import type { MobileConnectionPath, StableLogicalRpcClient } from './stable-logical-rpc-client' import type { ConnectionState } from './connection-state' -import type { HostProfile } from '../hosts/host-profile' +import type { HostProfile } from '../../host-catalog/host-profile' export type CloseEntryOptions = { forgetPrimedHost: boolean diff --git a/mobile/src/transport/connection/host-client-hooks.ts b/mobile/src/transport/connection/host-client-hooks.ts index 97822e2f823..77bf0d169b1 100644 --- a/mobile/src/transport/connection/host-client-hooks.ts +++ b/mobile/src/transport/connection/host-client-hooks.ts @@ -1,7 +1,7 @@ import { useEffect, useRef, useState } from 'react' import type { RpcClient } from '../rpc/rpc-client-contract' import type { ConnectionState } from './connection-state' -import type { HostProfile } from '../hosts/host-profile' +import type { HostProfile } from '../../host-catalog/host-profile' import type { HostClientAcquisition } from './host-client-acquisition-registry' import type { ForceReconnect } from './rpc-client-context-contract' import { useRpcClientContext } from './client-context' diff --git a/mobile/src/transport/connection/host-entry-opener.ts b/mobile/src/transport/connection/host-entry-opener.ts index 32f15c23b7b..45ef9d3abad 100644 --- a/mobile/src/transport/connection/host-entry-opener.ts +++ b/mobile/src/transport/connection/host-entry-opener.ts @@ -1,18 +1,18 @@ import { attachPushRegistration } from '../../notifications/push-registration' -import { recordHostDescriptorFromStatus } from '../hosts/host-descriptor-recorder' +import { recordHostDescriptorFromStatus } from '../../host-descriptors/host-descriptor-recorder' import { startRuntimeStatusProbe } from './runtime-status-probe' import { connectionLogStore, recordConnectionClientSessionStart } from '../../diagnostics/connection/persisted-connection-log-store' -import { loadHosts } from '../hosts/host-store' +import { loadHosts } from '../../host-catalog/host-store' import { openHostLogicalClient } from './host-logical-client' import type { HostClientOpenRegistry } from './host-client-open-registry' import type { HostOpenRetryScheduler } from './host-open-retry-scheduler' import type { RpcClient } from '../rpc/rpc-client-contract' import type { StableLogicalRpcClient } from './stable-logical-rpc-client' import type { ConnectionState } from './connection-state' -import type { HostProfile } from '../hosts/host-profile' +import type { HostProfile } from '../../host-catalog/host-profile' export type HostClientStoreEntry = { client: RpcClient diff --git a/mobile/src/transport/connection/host-logical-client.ts b/mobile/src/transport/connection/host-logical-client.ts index 0474f2f4bc2..33c04a48610 100644 --- a/mobile/src/transport/connection/host-logical-client.ts +++ b/mobile/src/transport/connection/host-logical-client.ts @@ -4,7 +4,7 @@ import { connect } from '../rpc/direct-rpc-connect' import type { RpcClient } from '../rpc/rpc-client-contract' import { createStableLogicalRpcClient } from './stable-logical-rpc-client' import type { ConnectionLogSink } from '../../diagnostics/connection/connection-log-types' -import type { HostProfile } from '../hosts/host-profile' +import type { HostProfile } from '../../host-catalog/host-profile' import { directPathForEndpoint } from '../relay/mobile-direct-endpoint-probe' import { startMobileEndpointLifecycle } from './mobile-endpoint-lifecycle' import { watchHostRevocation } from './host-revocation-watch' diff --git a/mobile/src/transport/connection/host-status-gates.test.ts b/mobile/src/transport/connection/host-status-gates.test.ts deleted file mode 100644 index 270066f69de..00000000000 --- a/mobile/src/transport/connection/host-status-gates.test.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { createElement } from 'react' -import { act, create, type ReactTestRenderer } from 'react-test-renderer' -import { beforeEach, describe, expect, it, vi } from 'vitest' -import type { RpcClient } from '../rpc/rpc-client-contract' -import { useHostStatusGates, type HostStatusGates } from './host-status-gates' - -const recordHostAppVersionMock = vi.hoisted(() => vi.fn().mockResolvedValue(undefined)) - -vi.mock('../hosts/host-app-version-store', () => ({ - recordHostAppVersion: (...args: unknown[]) => recordHostAppVersionMock(...args) -})) - -const recordDescriptorFromStatusMock = vi.hoisted(() => vi.fn()) - -vi.mock('../hosts/host-descriptor-recorder', () => ({ - recordHostDescriptorFromStatus: (...args: unknown[]) => recordDescriptorFromStatusMock(...args) -})) - -describe('useHostStatusGates', () => { - beforeEach(() => { - recordDescriptorFromStatusMock.mockClear() - }) - - it('fails closed when the same host reconnects on a replaced client', async () => { - const firstClient = { - sendRequest: vi.fn().mockResolvedValue({ - ok: true, - result: { capabilities: ['browser.screencast.v1'], floatingWorkspaceEnabled: true } - }) - } as unknown as RpcClient - const secondClient = { - sendRequest: vi.fn().mockReturnValue(new Promise(() => {})) - } as unknown as RpcClient - let gates: HostStatusGates | undefined - let renderer: ReactTestRenderer | undefined - - function Probe({ client }: { client: RpcClient }): null { - gates = useHostStatusGates({ hostId: 'host-1', client, connState: 'connected' }) - return null - } - - try { - await act(async () => { - renderer = create(createElement(Probe, { client: firstClient })) - await Promise.resolve() - }) - expect(gates?.hostCapabilities).toEqual(['browser.screencast.v1']) - - await act(async () => { - renderer?.update(createElement(Probe, { client: secondClient })) - }) - expect(gates).toMatchObject({ hostCapabilities: [], statusPending: true }) - } finally { - renderer?.unmount() - } - }) -}) diff --git a/mobile/src/transport/connection/host-status-gates.ts b/mobile/src/transport/connection/host-status-gates.ts index efb53eb46d9..053fe99c095 100644 --- a/mobile/src/transport/connection/host-status-gates.ts +++ b/mobile/src/transport/connection/host-status-gates.ts @@ -3,9 +3,9 @@ import type { RpcClient } from '../rpc/rpc-client-contract' import type { ConnectionState } from './connection-state' import { evaluateCompat, type CompatVerdict } from './protocol-compat' import { hostStatusSchema, type HostStatusReply } from '../hosts/host-status-reply-schema' -import { normalizeHostAppVersion } from '../hosts/host-app-version' -import { recordHostAppVersion } from '../hosts/host-app-version-store' -import { recordHostDescriptorFromStatus } from '../hosts/host-descriptor-recorder' +import { normalizeHostAppVersion } from '../../host-descriptors/host-app-version' +import { recordHostAppVersion } from '../../host-descriptors/host-app-version-store' +import { recordHostDescriptorFromStatus } from '../../host-descriptors/host-descriptor-recorder' import { readConnectionStatusProbe, startRuntimeStatusProbe } from './runtime-status-probe' export type HostStatusGates = { diff --git a/mobile/src/transport/connection/mobile-endpoint-lifecycle.ts b/mobile/src/transport/connection/mobile-endpoint-lifecycle.ts index b635b808ec5..d1e0db84585 100644 --- a/mobile/src/transport/connection/mobile-endpoint-lifecycle.ts +++ b/mobile/src/transport/connection/mobile-endpoint-lifecycle.ts @@ -1,7 +1,7 @@ import * as ExpoCrypto from 'expo-crypto' import type { ConnectionLogSink } from '../../diagnostics/connection/connection-log-types' import type { ForegroundNudgeReason } from './connection-state' -import type { HostProfile } from '../hosts/host-profile' +import type { HostProfile } from '../../host-catalog/host-profile' import type { MobileRelayEndpoint } from '../../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' import { connect } from '../rpc/direct-rpc-connect' import { MobileEndpointSupervisor } from './mobile-endpoint-supervisor' @@ -10,8 +10,8 @@ import { resolveMobileRelayEndpoint } from '../relay/mobile-relay-resume-directo import { readMobileRelayCredentialBundle, writeMobileRelayCredentialBundle -} from '../hosts/mobile-relay-credential-bundle' -import { setRelayRouting } from '../hosts/host-store' +} from '../../host-credentials/mobile-relay-credential-bundle' +import { setRelayRouting } from '../../host-catalog/host-store' import { lastGoodPathWasDirectHere, readLocalNetworkFingerprint, diff --git a/mobile/src/transport/connection/mobile-endpoint-supervisor-contract.ts b/mobile/src/transport/connection/mobile-endpoint-supervisor-contract.ts index 36b984aa29b..ea3b258b000 100644 --- a/mobile/src/transport/connection/mobile-endpoint-supervisor-contract.ts +++ b/mobile/src/transport/connection/mobile-endpoint-supervisor-contract.ts @@ -1,7 +1,7 @@ import type { MobileRelayEndpoint } from '../../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' import type { RelayHostCloseReason } from '../../../../src/shared/relay-host-close-reason' import type { HostGoodPath } from './host-path-memory' -import type { MobileRelayCredentialBundle } from '../hosts/mobile-relay-credential-bundle' +import type { MobileRelayCredentialBundle } from '../../host-credentials/mobile-relay-credential-bundle' import type { MobileRelayRpcSession } from '../relay/mobile-relay-rpc-session-contract' import type { resolveMobileRelayEndpoint } from '../relay/mobile-relay-resume-director' import type { RpcClient } from '../rpc/rpc-client-contract' diff --git a/mobile/src/transport/connection/mobile-endpoint-supervisor-test-fakes.ts b/mobile/src/transport/connection/mobile-endpoint-supervisor-test-fakes.ts index 8ba5f3bb97d..2a36822bb9a 100644 --- a/mobile/src/transport/connection/mobile-endpoint-supervisor-test-fakes.ts +++ b/mobile/src/transport/connection/mobile-endpoint-supervisor-test-fakes.ts @@ -1,5 +1,5 @@ import { vi } from 'vitest' -import type { MobileRelayCredentialBundle } from '../hosts/mobile-relay-credential-bundle' +import type { MobileRelayCredentialBundle } from '../../host-credentials/mobile-relay-credential-bundle' import type { MobileRelayRpcSession } from '../relay/mobile-relay-rpc-session-contract' import { RelayDialStageTracker, type RelayDialStage } from '../relay/relay-dial-stage' import { defaultCancelTimer, defaultScheduleTimer } from '../../platform/timer-scheduler' @@ -9,7 +9,7 @@ import type { SendRequestOptions } from '../rpc/unvalidated-rpc-request-port' import type { RelayHostReachability } from '../relay/relay-host-reachability' import type { MobileConnectionPath, StableLogicalRpcClient } from './stable-logical-rpc-client' import type { ConnectionState } from './connection-state' -import type { HostProfile } from '../hosts/host-profile' +import type { HostProfile } from '../../host-catalog/host-profile' import type { RpcResponse } from '../rpc/rpc-wire-types' export class FakeSession implements RpcClient { diff --git a/mobile/src/transport/connection/mobile-endpoint-supervisor.ts b/mobile/src/transport/connection/mobile-endpoint-supervisor.ts index afaaf820b14..9df18632cd9 100644 --- a/mobile/src/transport/connection/mobile-endpoint-supervisor.ts +++ b/mobile/src/transport/connection/mobile-endpoint-supervisor.ts @@ -13,7 +13,7 @@ import { mobileRelayCredentialNeedsRotation, rotateMobileRelayCredential } from '../relay/mobile-relay-credential-rotation' -import type { MobileRelayCredentialBundle } from '../hosts/mobile-relay-credential-bundle' +import type { MobileRelayCredentialBundle } from '../../host-credentials/mobile-relay-credential-bundle' import { MobileEndpointNudgeRouter } from './mobile-endpoint-nudge-router' import { MobileRelayDirectGraceTimer } from '../relay/mobile-relay-direct-grace-timer' import { MobileRelaySessionEstablisher } from '../relay/mobile-relay-session-establisher' diff --git a/mobile/src/transport/connection/rpc-client-context-contract.ts b/mobile/src/transport/connection/rpc-client-context-contract.ts index 0db36f943e7..5675916e30b 100644 --- a/mobile/src/transport/connection/rpc-client-context-contract.ts +++ b/mobile/src/transport/connection/rpc-client-context-contract.ts @@ -3,7 +3,7 @@ import type { RpcClient } from '../rpc/rpc-client-contract' import type { RelayHostReachability } from '../relay/relay-host-reachability' import type { MobileConnectionPath } from './stable-logical-rpc-client' import type { ConnectionState } from './connection-state' -import type { HostProfile } from '../hosts/host-profile' +import type { HostProfile } from '../../host-catalog/host-profile' /** Re-dials one host. `null` where this document cannot dial: the page's shell owns the connection. */ export type ForceReconnect = ((hostId: string) => Promise) | null diff --git a/mobile/src/transport/hosts/home-host-auto-connect.ts b/mobile/src/transport/hosts/home-host-auto-connect.ts index 08e69879865..53a67400cd8 100644 --- a/mobile/src/transport/hosts/home-host-auto-connect.ts +++ b/mobile/src/transport/hosts/home-host-auto-connect.ts @@ -1,5 +1,5 @@ import type { ConnectionState } from '../connection/connection-state' -import type { HostProfile } from './host-profile' +import type { HostProfile } from '../../host-catalog/host-profile' export const HOME_AUTO_CONNECT_LIMIT = 3 diff --git a/mobile/src/transport/hosts/host-descriptor-persistence.web.ts b/mobile/src/transport/hosts/host-descriptor-persistence.web.ts deleted file mode 100644 index 43933095a61..00000000000 --- a/mobile/src/transport/hosts/host-descriptor-persistence.web.ts +++ /dev/null @@ -1,10 +0,0 @@ -import '../../mobile-web-shell/bridge/page-host-profile' -import type { ReportedHostDescriptor } from './host-name-identity' - -// Last-known descriptors belong to the native host list. -export function updateHostDescriptor( - _hostId: string, - _descriptor: ReportedHostDescriptor -): Promise { - return Promise.resolve() -} diff --git a/mobile/src/transport/hosts/host-list-load-sharing.test.ts b/mobile/src/transport/hosts/host-list-load-sharing.test.ts deleted file mode 100644 index c7101f961a5..00000000000 --- a/mobile/src/transport/hosts/host-list-load-sharing.test.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { beforeEach, describe, expect, it, vi } from 'vitest' -import { - dropSharedHostListLoad, - peekSettledHostList, - shareHostListLoad, - type HostListSnapshot -} from './host-list-load-sharing' -import type { HostProfile } from './host-profile' - -function snapshot(id: string): HostListSnapshot { - const stored = { - id, - name: id, - endpoint: 'ws://127.0.0.1:1', - publicKeyB64: `key-${id}`, - lastConnected: 0 - } - const profile: HostProfile = { ...stored, deviceToken: 'token' } - return { catalog: [{ ...stored, credentialStatus: 'ready', profile }], profiles: [profile] } -} - -function deferred() { - let resolve: (hosts: HostListSnapshot) => void = () => {} - const promise = new Promise((res) => { - resolve = res - }) - return { promise, resolve } -} - -describe('shareHostListLoad', () => { - beforeEach(() => { - dropSharedHostListLoad() - }) - - it('never offers a pass a write has since dropped for synchronous seeding', async () => { - const stale = deferred() - const fresh = deferred() - const load = vi - .fn<() => Promise>() - .mockReturnValueOnce(Promise.resolve(snapshot('host-removed'))) - .mockReturnValueOnce(stale.promise) - .mockReturnValueOnce(fresh.promise) - - await shareHostListLoad(load) - const before = shareHostListLoad(load) - dropSharedHostListLoad() - expect(peekSettledHostList()).toBeNull() - - const after = shareHostListLoad(load) - const freshValue = snapshot('host-fresh') - fresh.resolve(freshValue) - await after - stale.resolve(snapshot('host-stale')) - await before - expect(peekSettledHostList()).toEqual(freshValue) - }) -}) diff --git a/mobile/src/transport/hosts/host-name-identity.test.ts b/mobile/src/transport/hosts/host-name-identity.test.ts deleted file mode 100644 index 0c4878d0ef4..00000000000 --- a/mobile/src/transport/hosts/host-name-identity.test.ts +++ /dev/null @@ -1,125 +0,0 @@ -import { beforeEach, describe, expect, it, vi } from 'vitest' - -const asyncStorageMock = vi.hoisted(() => ({ - getItem: vi.fn(), - setItem: vi.fn(), - removeItem: vi.fn() -})) - -const secureStoreMock = vi.hoisted(() => ({ - deleteItemAsync: vi.fn(), - getItemAsync: vi.fn(), - setItemAsync: vi.fn() -})) - -vi.mock('@react-native-async-storage/async-storage', () => ({ - default: asyncStorageMock -})) - -vi.mock('expo-secure-store', () => ({ - WHEN_UNLOCKED_THIS_DEVICE_ONLY: 'WHEN_UNLOCKED_THIS_DEVICE_ONLY', - ...secureStoreMock -})) - -vi.mock('react-native', () => ({ - Platform: { OS: 'ios' } -})) - -vi.mock('./host-credential-cleanup', () => ({ - cancelPendingHostCredentialCleanup: vi.fn().mockResolvedValue(undefined), - recordHostCredentialCleanupIntent: vi.fn().mockResolvedValue(undefined), - scheduleHostCredentialCleanup: vi.fn().mockResolvedValue(undefined), - retryPendingHostCredentialCleanups: vi.fn() -})) - -import { - loadHosts, - resetHostStoreForTests, - savePairedHost, - updateHostNameAndEndpoint -} from './host-store' -import { updateHostDescriptor } from './host-descriptor-persistence' -import { resetMobileRelayHostOverlayStoreForTests } from './mobile-relay-host-overlay-store' -import { StoredHostProfileSchema, type StoredHostProfile } from './host-profile' - -const HOSTS_STORAGE_KEY = 'orca:hosts' - -const GENERATED_HOST = { - id: 'host-1', - name: 'Host 1', - endpoint: 'ws://127.0.0.1:1', - publicKeyB64: 'key-1', - lastConnected: 0 -} - -const TYPED_HOST = { - id: 'host-2', - name: 'Windows-Low Spec', - endpoint: 'ws://127.0.0.1:2', - publicKeyB64: 'key-2', - lastConnected: 0 -} - -describe('host name identity', () => { - let storedHostsRaw: string - - beforeEach(() => { - vi.clearAllMocks() - resetHostStoreForTests() - resetMobileRelayHostOverlayStoreForTests() - storedHostsRaw = JSON.stringify([GENERATED_HOST, TYPED_HOST]) - asyncStorageMock.getItem.mockImplementation(async (key: string) => - key === HOSTS_STORAGE_KEY ? storedHostsRaw : null - ) - asyncStorageMock.setItem.mockImplementation(async (key: string, raw: string) => { - if (key === HOSTS_STORAGE_KEY) { - storedHostsRaw = raw - } - }) - secureStoreMock.setItemAsync.mockResolvedValue(undefined) - secureStoreMock.getItemAsync.mockResolvedValue('device-token') - }) - - function stored(): StoredHostProfile[] { - return StoredHostProfileSchema.array().parse(JSON.parse(storedHostsRaw)) - } - - describe('legacy classification', () => { - it('drops only an identity value this build cannot read, never the paired host', async () => { - // A newer build's platform, or an empty string, as a rolled-back app would find them. - storedHostsRaw = JSON.stringify([ - { ...GENERATED_HOST, lastKnownHostPlatform: 'plan9', lastKnownMachineName: 'Studio' }, - { ...TYPED_HOST, personalName: '', lastKnownMachineName: '' } - ]) - const loaded = await loadHosts() - expect(loaded.map(({ id }) => id)).toEqual([GENERATED_HOST.id, TYPED_HOST.id]) - expect(loaded[0]?.lastKnownHostPlatform).toBeUndefined() - expect(loaded[0]?.lastKnownMachineName).toBe('Studio') - // The next write persists the list it parsed, so a dropped record would be gone for good. - await updateHostNameAndEndpoint(TYPED_HOST.id, { endpoint: 'ws://10.0.0.9:6768' }) - const records: Record[] = JSON.parse(storedHostsRaw) - expect(records.map(({ id }) => id)).toEqual([GENERATED_HOST.id, TYPED_HOST.id]) - expect(records[0]).not.toHaveProperty('lastKnownHostPlatform') - expect(records[1]).not.toHaveProperty('lastKnownMachineName') - expect(records[1]?.personalName).toBe('Windows-Low Spec') - }) - }) - - describe('re-pair', () => { - it('does not roll back identity changed since a connection took its profile snapshot', async () => { - await updateHostDescriptor(TYPED_HOST.id, { machineName: 'Studio', platform: 'darwin' }) - // Use a connection-held snapshot to prove saves cannot roll back later identity changes. - const snapshot = (await loadHosts()).find(({ id }) => id === TYPED_HOST.id)! - await updateHostNameAndEndpoint(TYPED_HOST.id, { personalName: null }) - await updateHostDescriptor(TYPED_HOST.id, { machineName: 'Studio 2', platform: 'darwin' }) - await savePairedHost({ ...snapshot, lastConnected: 99 }) - const record = stored().find(({ id }) => id === TYPED_HOST.id) - expect(record?.personalName).toBeUndefined() - expect(record).toMatchObject({ - name: 'Studio 2', - lastKnownMachineName: 'Studio 2', - lastConnected: 99 - }) - }) - }) -}) diff --git a/mobile/src/transport/hosts/host-open-recovery.test.tsx b/mobile/src/transport/hosts/host-open-recovery.test.tsx index 782f2c348f9..9ff6210e629 100644 --- a/mobile/src/transport/hosts/host-open-recovery.test.tsx +++ b/mobile/src/transport/hosts/host-open-recovery.test.tsx @@ -20,7 +20,7 @@ vi.mock('../connection/runtime-status-probe', () => ({ vi.mock('../connection/host-logical-client', () => ({ openHostLogicalClient: (...args: unknown[]) => openHostLogicalClientMock(...args) })) -vi.mock('./host-store', () => ({ +vi.mock('../../host-catalog/host-store', () => ({ loadHosts: () => loadHostsMock() })) vi.mock('../../diagnostics/connection/connection-revival-triggers', () => ({ diff --git a/mobile/src/transport/hosts/host-store.test.ts b/mobile/src/transport/hosts/host-store.test.ts deleted file mode 100644 index 04b82058be9..00000000000 --- a/mobile/src/transport/hosts/host-store.test.ts +++ /dev/null @@ -1,382 +0,0 @@ -import { beforeEach, describe, expect, it, vi } from 'vitest' -import './mobile-relay-host-overlay' - -const asyncStorageMock = vi.hoisted(() => ({ - getItem: vi.fn(), - setItem: vi.fn(), - removeItem: vi.fn() -})) - -const secureStoreMock = vi.hoisted(() => ({ - deleteItemAsync: vi.fn(), - getItemAsync: vi.fn(), - setItemAsync: vi.fn() -})) - -const scheduleCleanupMock = vi.hoisted(() => vi.fn()) -const cancelCleanupMock = vi.hoisted(() => vi.fn()) -const recordCleanupIntentMock = vi.hoisted(() => vi.fn()) -const platformMock = vi.hoisted(() => ({ OS: 'ios' })) - -vi.mock('@react-native-async-storage/async-storage', () => ({ - default: asyncStorageMock -})) - -vi.mock('expo-secure-store', () => ({ - WHEN_UNLOCKED_THIS_DEVICE_ONLY: 'WHEN_UNLOCKED_THIS_DEVICE_ONLY', - ...secureStoreMock -})) - -vi.mock('react-native', () => ({ - Platform: platformMock -})) - -vi.mock('./host-credential-cleanup', () => ({ - cancelPendingHostCredentialCleanup: (...args: unknown[]) => cancelCleanupMock(...args), - recordHostCredentialCleanupIntent: (...args: unknown[]) => recordCleanupIntentMock(...args), - scheduleHostCredentialCleanup: (...args: unknown[]) => scheduleCleanupMock(...args), - retryPendingHostCredentialCleanups: vi.fn() -})) - -import { - loadHostCatalog, - loadHosts, - RelayRoutingHostRemovedError, - removeHost, - resolvePairingHostIdentity, - resetHostStoreForTests, - savePairedHost, - setRelayRouting, - updateHostNameAndEndpoint -} from './host-store' -import { resetMobileRelayHostOverlayStoreForTests } from './mobile-relay-host-overlay-store' - -const HOSTS_STORAGE_KEY = 'orca:hosts' -const OVERLAY_STORAGE_KEY = 'orca:mobile-relay:host-overlays:v2' -const HOST_ONE = { - id: 'host-1', - name: 'Host 1', - endpoint: 'ws://127.0.0.1:1', - publicKeyB64: 'key', - lastConnected: 0 -} -const HOST_TWO = { - id: 'host-2', - name: 'Host 2', - endpoint: 'ws://127.0.0.1:2', - publicKeyB64: 'key-2', - lastConnected: 0 -} -const HOST_ONE_RELAY = { - v: 1 as const, - directorUrl: 'https://relay.onorca.dev', - cellUrl: 'https://relay-c1.onorca.dev', - assignmentEpoch: 7, - relayHostId: 'AbCdEf0123_-xyZ9', - e2eeFraming: 2 as const -} - -describe('host-store list mutations', () => { - let storedHostsRaw: string - let storedOverlayRaw: string | null - - beforeEach(() => { - vi.clearAllMocks() - resetHostStoreForTests() - platformMock.OS = 'ios' - resetMobileRelayHostOverlayStoreForTests() - scheduleCleanupMock.mockReset() - scheduleCleanupMock.mockResolvedValue(undefined) - cancelCleanupMock.mockReset() - cancelCleanupMock.mockResolvedValue(undefined) - recordCleanupIntentMock.mockReset() - recordCleanupIntentMock.mockResolvedValue(undefined) - storedHostsRaw = JSON.stringify([HOST_ONE, HOST_TWO]) - storedOverlayRaw = null - asyncStorageMock.getItem.mockImplementation(async (key: string) => { - if (key === HOSTS_STORAGE_KEY) { - return storedHostsRaw - } - if (key === OVERLAY_STORAGE_KEY) { - return storedOverlayRaw - } - return null - }) - asyncStorageMock.setItem.mockImplementation(async (key: string, raw: string) => { - if (key === HOSTS_STORAGE_KEY) { - storedHostsRaw = raw - } else if (key === OVERLAY_STORAGE_KEY) { - storedOverlayRaw = raw - } - }) - secureStoreMock.setItemAsync.mockResolvedValue(undefined) - secureStoreMock.getItemAsync.mockImplementation(async (key: string) => - key.endsWith(HOST_ONE.id) || key.endsWith(HOST_TWO.id) ? `token-${key.at(-1)}` : null - ) - }) - - it('keeps a host visible when its credential read temporarily fails', async () => { - secureStoreMock.getItemAsync.mockImplementation(async (key: string) => { - if (key.endsWith(HOST_ONE.id)) { - throw new Error('keychain locked') - } - return key.endsWith(HOST_TWO.id) ? 'token-2' : null - }) - - const catalog = await loadHostCatalog() - const profiles = await loadHosts() - - expect(catalog.map(({ id }) => id)).toEqual([HOST_ONE.id, HOST_TWO.id]) - expect(catalog.find(({ id }) => id === HOST_ONE.id)).toMatchObject({ - credentialStatus: 'temporarily-unavailable', - profile: null - }) - expect(profiles.map(({ id }) => id)).toEqual([HOST_TWO.id]) - }) - - it('fails closed when durable host identity storage is unreadable', async () => { - asyncStorageMock.getItem.mockRejectedValueOnce(new Error('storage unavailable')) - - await expect(resolvePairingHostIdentity('key-new', 'host-new')).rejects.toThrow(/unreadable/) - expect(asyncStorageMock.setItem).not.toHaveBeenCalled() - }) - - it('serves a committed replacement token when same-key metadata persistence fails', async () => { - const duplicate = { - ...HOST_TWO, - id: 'host-duplicate', - publicKeyB64: HOST_ONE.publicKeyB64 - } - storedHostsRaw = JSON.stringify([HOST_ONE, duplicate]) - await loadHosts() - asyncStorageMock.setItem.mockRejectedValueOnce(new Error('metadata write failed')) - - await expect( - savePairedHost({ - ...HOST_ONE, - endpoint: 'ws://127.0.0.1:3', - deviceToken: 'replacement-token' - }) - ).rejects.toThrow('metadata write failed') - - expect(JSON.parse(storedHostsRaw)).toEqual([HOST_ONE, duplicate]) - await expect( - loadHosts().then((hosts) => hosts.find(({ id }) => id === HOST_ONE.id)?.deviceToken) - ).resolves.toBe('replacement-token') - }) - - it('refuses an early same-key token write without durable cleanup intent', async () => { - const replacement = { - ...HOST_TWO, - id: 'host-replacement', - publicKeyB64: HOST_ONE.publicKeyB64, - deviceToken: 'replacement-token' - } - recordCleanupIntentMock.mockRejectedValueOnce(new Error('intent storage unavailable')) - - await expect(savePairedHost(replacement)).rejects.toThrow('intent storage unavailable') - - expect(JSON.parse(storedHostsRaw)).toEqual([HOST_ONE, HOST_TWO]) - expect(secureStoreMock.setItemAsync).not.toHaveBeenCalled() - }) - - it('refuses to resurrect a removed host during relay upgrade publication', async () => { - storedHostsRaw = JSON.stringify([HOST_TWO]) - - await expect(setRelayRouting(HOST_ONE.id, HOST_ONE_RELAY)).rejects.toBeInstanceOf( - RelayRoutingHostRemovedError - ) - - expect(JSON.parse(storedHostsRaw)).toEqual([HOST_TWO]) - expect(storedOverlayRaw).toBeNull() - expect(secureStoreMock.setItemAsync).not.toHaveBeenCalled() - }) - - it('applies concurrent rename and remove without clobbering either', async () => { - let releaseReads: (() => void) | undefined - const readsReleased = new Promise((resolve) => { - releaseReads = resolve - }) - let pendingReads = 0 - asyncStorageMock.getItem.mockImplementation(async (key: string) => { - if (key !== HOSTS_STORAGE_KEY) { - return null - } - pendingReads += 1 - if (pendingReads <= 2) { - await readsReleased - } - return storedHostsRaw - }) - - const rename = updateHostNameAndEndpoint(HOST_ONE.id, { personalName: 'Renamed Host' }) - const remove = removeHost(HOST_TWO.id) - // Overlap writers behind one read gate to expose lost updates without serialization. - await vi.waitFor(() => { - expect(pendingReads).toBeGreaterThanOrEqual(1) - }) - releaseReads?.() - await Promise.all([rename, remove]) - - expect(JSON.parse(storedHostsRaw)).toEqual([ - { ...HOST_ONE, name: 'Renamed Host', personalName: 'Renamed Host' } - ]) - }) - - it('does not wipe the host list when storage is unreadable during mutation', async () => { - storedHostsRaw = '{' - await expect(updateHostNameAndEndpoint(HOST_ONE.id, { personalName: 'Nope' })).rejects.toThrow( - /unreadable/ - ) - expect(asyncStorageMock.setItem).not.toHaveBeenCalled() - expect(storedHostsRaw).toBe('{') - }) - - // Park the slow keychain pass while a durable write invalidates it. - function gateKeychainReads(): () => void { - let release: () => void = () => {} - const gate = new Promise((resolve) => { - release = resolve - }) - secureStoreMock.getItemAsync.mockImplementation(async (key: string) => { - await gate - return key.endsWith(HOST_ONE.id) || key.endsWith(HOST_TWO.id) ? `token-${key.at(-1)}` : null - }) - return release - } - - it('does not serve a pre-removal snapshot to a load issued after the removal (#8791)', async () => { - const releaseKeychain = gateKeychainReads() - const parkedLoad = loadHosts() - await vi.waitFor(() => { - expect(secureStoreMock.getItemAsync).toHaveBeenCalled() - }) - - await removeHost(HOST_ONE.id) - const afterRemoval = loadHosts() - releaseKeychain() - - await parkedLoad - await expect(afterRemoval.then((hosts) => hosts.map((host) => host.id))).resolves.toEqual([ - HOST_TWO.id - ]) - }) - - it('does not serve a pre-rename snapshot to a load issued after the rename (#8791)', async () => { - const releaseKeychain = gateKeychainReads() - const parkedLoad = loadHosts() - await vi.waitFor(() => { - expect(secureStoreMock.getItemAsync).toHaveBeenCalled() - }) - - await updateHostNameAndEndpoint(HOST_ONE.id, { personalName: 'Living Room Mac' }) - const afterRename = loadHosts() - releaseKeychain() - - await parkedLoad - const hosts = await afterRename - expect(hosts.find((host) => host.id === HOST_ONE.id)?.name).toBe('Living Room Mac') - }) - - it('does not let a late pre-write token read poison the token cache', async () => { - const newHost = { - id: 'host-new', - name: 'New Host', - endpoint: 'ws://127.0.0.1:3', - publicKeyB64: 'key-new', - deviceToken: 'token-new', - lastConnected: 0 - } - storedHostsRaw = JSON.stringify([{ ...newHost, deviceToken: undefined }]) - let resolvePrewriteTokenRead: (token: string) => void = () => {} - secureStoreMock.getItemAsync.mockReturnValue( - new Promise((resolve) => { - resolvePrewriteTokenRead = resolve - }) - ) - - const parkedLoad = loadHosts() - await vi.waitFor(() => { - expect(secureStoreMock.getItemAsync).toHaveBeenCalled() - }) - await savePairedHost(newHost) - resolvePrewriteTokenRead('token-old') - await parkedLoad - - const hosts = await loadHosts() - expect(hosts.find((host) => host.id === newHost.id)?.deviceToken).toBe(newHost.deviceToken) - }) -}) - -describe('host-store pairing save after an Android encryption rejection', () => { - const NEW_HOST = { - id: 'host-1782629088232', - name: 'Host 1', - endpoint: 'ws://192.168.0.56:6769', - publicKeyB64: 'desktop-key', - lastConnected: 0, - deviceToken: 'device-token' - } - // Preserve the Android null-message GeneralSecurityException shape from #6600. - const ENCRYPT_REJECTION = new Error( - "Could not encrypt the value for key 'orca.host-token.host-1782629088232' under keychain 'key_v1'. Caused by: unknown" - ) - const GENERATION_KEY = 'orca:pairing-keychain-generation' - let storedHostsRaw: string - let storedGenerationRaw: string | null - - beforeEach(() => { - vi.clearAllMocks() - resetHostStoreForTests() - platformMock.OS = 'android' - resetMobileRelayHostOverlayStoreForTests() - scheduleCleanupMock.mockReset() - scheduleCleanupMock.mockResolvedValue(undefined) - cancelCleanupMock.mockReset() - cancelCleanupMock.mockResolvedValue(undefined) - recordCleanupIntentMock.mockReset() - recordCleanupIntentMock.mockResolvedValue(undefined) - storedHostsRaw = '[]' - storedGenerationRaw = null - asyncStorageMock.getItem.mockImplementation(async (key: string) => { - if (key === HOSTS_STORAGE_KEY) { - return storedHostsRaw - } - // Retain the durable generation in the mock so reads can follow alias rotation. - return key === GENERATION_KEY ? storedGenerationRaw : null - }) - asyncStorageMock.setItem.mockImplementation(async (key: string, raw: string) => { - if (key === HOSTS_STORAGE_KEY) { - storedHostsRaw = raw - } else if (key === GENERATION_KEY) { - storedGenerationRaw = raw - } - }) - secureStoreMock.deleteItemAsync.mockResolvedValue(undefined) - secureStoreMock.getItemAsync.mockResolvedValue(null) - }) - - it('serves the rotated token to loadHosts so the saved host survives a relaunch', async () => { - const written = new Map() - secureStoreMock.setItemAsync.mockImplementation( - async (_key: string, value: string, options?: { keychainService?: string }) => { - if (options?.keychainService === undefined) { - throw ENCRYPT_REJECTION - } - written.set(options.keychainService, value) - } - ) - await savePairedHost(NEW_HOST) - // Clear the process cache to verify durable reads follow the rotated alias. - resetHostStoreForTests() - secureStoreMock.getItemAsync.mockImplementation( - async (_key: string, options?: { keychainService?: string }) => - written.get(options?.keychainService) ?? null - ) - - const hosts = await loadHosts() - - expect(hosts).toHaveLength(1) - expect(hosts[0]!.deviceToken).toBe('device-token') - }) -}) diff --git a/mobile/src/transport/hosts/mobile-relay-credential-bundle.test.ts b/mobile/src/transport/hosts/mobile-relay-credential-bundle.test.ts deleted file mode 100644 index 48b66a8b2da..00000000000 --- a/mobile/src/transport/hosts/mobile-relay-credential-bundle.test.ts +++ /dev/null @@ -1,101 +0,0 @@ -import { beforeEach, describe, expect, it, vi } from 'vitest' - -const asyncStorage = vi.hoisted(() => ({ - getItem: vi.fn(), - setItem: vi.fn() -})) -const secureStore = vi.hoisted(() => ({ - getItemAsync: vi.fn(), - setItemAsync: vi.fn(), - deleteItemAsync: vi.fn() -})) -const platform = vi.hoisted(() => ({ OS: 'ios' })) - -vi.mock('@react-native-async-storage/async-storage', () => ({ default: asyncStorage })) -vi.mock('expo-secure-store', () => ({ - WHEN_UNLOCKED_THIS_DEVICE_ONLY: 'WHEN_UNLOCKED_THIS_DEVICE_ONLY', - ...secureStore -})) -vi.mock('react-native', () => ({ Platform: platform })) - -import { promotePairingJournalCredential } from './mobile-relay-credential-bundle' -import type { MobileRelayPairingJournal } from '../../pairing/mobile-relay-pairing-journal' -import { resetPairingKeychainForTests } from './pairing-keychain' - -const journal = { - metadata: { - v: 1, - journalId: 'pair-1', - offerFingerprint: 'A'.repeat(43), - host: { - id: 'host-1', - name: 'Blue Whale', - endpoint: 'ws://192.168.1.10:6768', - publicKeyB64: 'A'.repeat(44), - lastConnected: 1 - }, - relay: { - v: 1, - directorUrl: 'https://relay.onorca.dev', - cellUrl: 'https://relay-c1.onorca.dev', - assignmentEpoch: 7, - relayHostId: 'AbCdEf0123_-xyZ9', - inviteExpiresAt: 10_000, - e2eeFraming: 2 - }, - installReqId: 'install-1', - resumeConfirmReqId: 'confirm-1', - pendingResumeTokenHash: 'B'.repeat(43), - winner: 'direct', - authorizationMode: 'authenticated-direct' - }, - secrets: { - v: 1, - journalId: 'pair-1', - deviceToken: 'device-token', - inviteToken: 'C'.repeat(43), - pendingResumeToken: 'D'.repeat(43) - } -} satisfies MobileRelayPairingJournal - -describe('mobile relay credential bundle', () => { - const stored = new Map() - - beforeEach(() => { - vi.clearAllMocks() - resetPairingKeychainForTests() - platform.OS = 'ios' - stored.clear() - asyncStorage.getItem.mockResolvedValue(null) - asyncStorage.setItem.mockResolvedValue(undefined) - secureStore.getItemAsync.mockImplementation(async (key: string) => stored.get(key) ?? null) - secureStore.setItemAsync.mockImplementation(async (key: string, value: string) => { - stored.set(key, value) - }) - secureStore.deleteItemAsync.mockImplementation(async (key: string) => { - stored.delete(key) - }) - }) - - it('rejects a result from another request or authorization mode', () => { - const installed = { - v: 1 as const, - reqId: 'install-1', - authorizationMode: 'authenticated-direct' as const, - currentVersion: 1, - resumeExpiresAt: 50_000 - } - expect(() => - promotePairingJournalCredential({ - journal, - installed: { ...installed, reqId: 'other-request' } - }) - ).toThrow(/does not match/) - expect(() => - promotePairingJournalCredential({ - journal, - installed: { ...installed, authorizationMode: 'relay-basis' } - }) - ).toThrow(/does not match/) - }) -}) diff --git a/mobile/src/transport/hosts/mobile-relay-host-overlay-store.test.ts b/mobile/src/transport/hosts/mobile-relay-host-overlay-store.test.ts deleted file mode 100644 index 6d4daea98d3..00000000000 --- a/mobile/src/transport/hosts/mobile-relay-host-overlay-store.test.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { beforeEach, describe, expect, it, vi } from 'vitest' - -const asyncStorage = vi.hoisted(() => ({ - getItem: vi.fn(), - setItem: vi.fn() -})) - -vi.mock('@react-native-async-storage/async-storage', () => ({ default: asyncStorage })) - -import { - loadMobileRelayHostRoutingState, - resetMobileRelayHostOverlayStoreForTests, - saveMobileRelayHostRouting -} from './mobile-relay-host-overlay-store' -import type { MobileRelayHostOverlay } from './mobile-relay-host-overlay' - -const STORAGE_KEY = 'orca:mobile-relay:host-overlays:v2' -const RELAY = { - v: 1 as const, - directorUrl: 'https://relay.onorca.dev', - cellUrl: 'https://relay-c1.onorca.dev', - assignmentEpoch: 7, - relayHostId: 'AbCdEf0123_-xyZ9', - e2eeFraming: 2 as const -} -const RELAY_ONLY_OVERLAY: MobileRelayHostOverlay = { - v: 2, - hostId: 'host-1', - endpoints: [ - { - id: 'relay-primary', - kind: 'relay', - url: 'wss://relay-c1.onorca.dev/v1/connect/AbCdEf0123_-xyZ9' - } - ], - relayHostId: RELAY.relayHostId, - relay: RELAY -} -// What builds before the relay-routing split wrote: a copy of the row's address beside the relay. -const LEGACY_OVERLAY: MobileRelayHostOverlay = { - ...RELAY_ONLY_OVERLAY, - endpoints: [ - { id: 'direct-primary', kind: 'lan', url: 'ws://192.168.1.10:6768' }, - ...RELAY_ONLY_OVERLAY.endpoints - ] -} - -// Freeze the shipped overlay schema to prove older builds still accept written records. - -describe('mobile relay host overlay store', () => { - let stored: string | null - - beforeEach(() => { - vi.clearAllMocks() - resetMobileRelayHostOverlayStoreForTests() - stored = null - asyncStorage.getItem.mockImplementation(async (key: string) => - key === STORAGE_KEY ? stored : null - ) - asyncStorage.setItem.mockImplementation(async (key: string, value: string) => { - if (key === STORAGE_KEY) { - stored = value - } - }) - }) - - it('ignores a direct address an older build stored and drops it on the next routing write', async () => { - stored = JSON.stringify([LEGACY_OVERLAY]) - - await expect(loadMobileRelayHostRoutingState(new Set(['host-1']))).resolves.toEqual({ - relays: new Map([['host-1', RELAY]]), - orphanHostIds: [] - }) - await expect(saveMobileRelayHostRouting('host-1', RELAY)).resolves.toBe(true) - expect(JSON.parse(stored!)).toEqual([RELAY_ONLY_OVERLAY]) - }) - - it('never overlays or resurrects a host whose legacy base was removed', async () => { - stored = JSON.stringify([LEGACY_OVERLAY]) - - await expect(loadMobileRelayHostRoutingState(new Set())).resolves.toEqual({ - relays: new Map(), - orphanHostIds: ['host-1'] - }) - expect(asyncStorage.setItem).not.toHaveBeenCalled() - expect(JSON.parse(stored)).toEqual([LEGACY_OVERLAY]) - }) - - it('refuses to overwrite unreadable overlay storage', async () => { - stored = '{' - - await expect(saveMobileRelayHostRouting('host-1', RELAY)).rejects.toThrow(/unreadable/) - expect(asyncStorage.setItem).not.toHaveBeenCalled() - }) -}) diff --git a/mobile/src/transport/hosts/pairing-keychain.test.ts b/mobile/src/transport/hosts/pairing-keychain.test.ts deleted file mode 100644 index 1bc92703683..00000000000 --- a/mobile/src/transport/hosts/pairing-keychain.test.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { beforeEach, describe, expect, it, vi } from 'vitest' - -const asyncStorageMock = vi.hoisted(() => ({ - getItem: vi.fn(), - setItem: vi.fn(), - removeItem: vi.fn() -})) - -const secureStoreMock = vi.hoisted(() => ({ - deleteItemAsync: vi.fn(), - getItemAsync: vi.fn(), - setItemAsync: vi.fn() -})) -const platformMock = vi.hoisted(() => ({ OS: 'android' })) - -vi.mock('@react-native-async-storage/async-storage', () => ({ default: asyncStorageMock })) - -vi.mock('expo-secure-store', () => ({ - WHEN_UNLOCKED_THIS_DEVICE_ONLY: 'WHEN_UNLOCKED_THIS_DEVICE_ONLY', - ...secureStoreMock -})) -vi.mock('react-native', () => ({ Platform: platformMock })) - -import { resetPairingKeychainForTests, writePairingKeychainItem } from './pairing-keychain' - -const GENERATION_KEY = 'orca:pairing-keychain-generation' -const TOKEN_KEY = 'orca.host-token.host-1782629088232' - -// Preserve Expo’s null-message Android GeneralSecurityException shape from #6600. -const ENCRYPT_REJECTION = new Error( - `Could not encrypt the value for key '${TOKEN_KEY}' under keychain 'key_v1'. Caused by: unknown` -) - -describe('pairing keychain', () => { - let generationRecord: string | null - - beforeEach(() => { - vi.clearAllMocks() - resetPairingKeychainForTests() - platformMock.OS = 'android' - generationRecord = null - asyncStorageMock.getItem.mockImplementation(async (key: string) => - key === GENERATION_KEY ? generationRecord : null - ) - asyncStorageMock.setItem.mockImplementation(async (key: string, raw: string) => { - if (key === GENERATION_KEY) { - generationRecord = raw - } - }) - secureStoreMock.setItemAsync.mockResolvedValue(undefined) - secureStoreMock.deleteItemAsync.mockResolvedValue(undefined) - secureStoreMock.getItemAsync.mockResolvedValue(null) - }) - - it('surfaces the original error when a rotated write also fails', async () => { - secureStoreMock.setItemAsync.mockRejectedValue(ENCRYPT_REJECTION) - - await expect(writePairingKeychainItem(TOKEN_KEY, 'token')).rejects.toBe(ENCRYPT_REJECTION) - expect(generationRecord).toBe('1:pending') - expect(secureStoreMock.deleteItemAsync).not.toHaveBeenCalled() - }) - - it('does not rotate from a guessed generation when the record is unreadable', async () => { - const storageError = new Error('storage unavailable') - asyncStorageMock.getItem.mockRejectedValueOnce(storageError) - - await expect(writePairingKeychainItem(TOKEN_KEY, 'token')).rejects.toBe(storageError) - - expect(asyncStorageMock.setItem).not.toHaveBeenCalled() - expect(secureStoreMock.setItemAsync).not.toHaveBeenCalled() - }) -}) diff --git a/mobile/src/transport/relay/mobile-relay-credential-rotation.ts b/mobile/src/transport/relay/mobile-relay-credential-rotation.ts index e15157dfdd9..a9ff541f02f 100644 --- a/mobile/src/transport/relay/mobile-relay-credential-rotation.ts +++ b/mobile/src/transport/relay/mobile-relay-credential-rotation.ts @@ -6,7 +6,7 @@ import type { import { MobileRelayCredentialBundleSchema, type MobileRelayCredentialBundle -} from '../hosts/mobile-relay-credential-bundle' +} from '../../host-credentials/mobile-relay-credential-bundle' import { hashMobileRelayCredential } from './mobile-relay-credential-hash' import { relayCredentialProvision, diff --git a/mobile/src/transport/relay/mobile-relay-credential-selection.ts b/mobile/src/transport/relay/mobile-relay-credential-selection.ts index 8d216028ca0..8952401e8b5 100644 --- a/mobile/src/transport/relay/mobile-relay-credential-selection.ts +++ b/mobile/src/transport/relay/mobile-relay-credential-selection.ts @@ -1,4 +1,4 @@ -import type { MobileRelayCredentialBundle } from '../hosts/mobile-relay-credential-bundle' +import type { MobileRelayCredentialBundle } from '../../host-credentials/mobile-relay-credential-bundle' import type { RelayReconnectController } from './mobile-relay-reconnect-controller' // Adopt durable state only when it restores a dialable credential; fresh renewals/re-pairing do not reliably increase version. diff --git a/mobile/src/transport/relay/mobile-relay-direct-upgrade-controller.test.ts b/mobile/src/transport/relay/mobile-relay-direct-upgrade-controller.test.ts index 2864cb76633..6e6b18fe684 100644 --- a/mobile/src/transport/relay/mobile-relay-direct-upgrade-controller.test.ts +++ b/mobile/src/transport/relay/mobile-relay-direct-upgrade-controller.test.ts @@ -3,7 +3,7 @@ import { MobileRelayDirectUpgradeController } from './mobile-relay-direct-upgrad import type { MobileRelayDirectUpgradeResult } from './mobile-relay-direct-upgrade' import type { StableLogicalRpcClient } from '../connection/stable-logical-rpc-client' import type { ConnectionState } from '../connection/connection-state' -import type { HostProfile } from '../hosts/host-profile' +import type { HostProfile } from '../../host-catalog/host-profile' const directHost: HostProfile = { id: 'host-direct', diff --git a/mobile/src/transport/relay/mobile-relay-direct-upgrade-controller.ts b/mobile/src/transport/relay/mobile-relay-direct-upgrade-controller.ts index 28c1d1816ce..81b8fd9a9c2 100644 --- a/mobile/src/transport/relay/mobile-relay-direct-upgrade-controller.ts +++ b/mobile/src/transport/relay/mobile-relay-direct-upgrade-controller.ts @@ -1,6 +1,6 @@ import type { MobileRelayDirectUpgradeResult } from './mobile-relay-direct-upgrade' import type { StableLogicalRpcClient } from '../connection/stable-logical-rpc-client' -import type { HostProfile } from '../hosts/host-profile' +import type { HostProfile } from '../../host-catalog/host-profile' type Dependencies = { upgrade: ( diff --git a/mobile/src/transport/relay/mobile-relay-direct-upgrade-journal.ts b/mobile/src/transport/relay/mobile-relay-direct-upgrade-journal.ts index abab5a05ca5..8d963663eff 100644 --- a/mobile/src/transport/relay/mobile-relay-direct-upgrade-journal.ts +++ b/mobile/src/transport/relay/mobile-relay-direct-upgrade-journal.ts @@ -5,8 +5,8 @@ import { deletePairingKeychainItem, readPairingKeychainItem, writePairingKeychainItem -} from '../hosts/pairing-keychain' -import { markHostCredentialWrite } from '../hosts/host-credential-write-revision' +} from '../../host-credentials/pairing-keychain' +import { markHostCredentialWrite } from '../../host-credentials/host-credential-write-revision' const Base64Url32ByteSchema = z.string().regex(/^[A-Za-z0-9_-]{43}$/) diff --git a/mobile/src/transport/relay/mobile-relay-direct-upgrade.ts b/mobile/src/transport/relay/mobile-relay-direct-upgrade.ts index 6fc49039c16..f4cb7d6ad6b 100644 --- a/mobile/src/transport/relay/mobile-relay-direct-upgrade.ts +++ b/mobile/src/transport/relay/mobile-relay-direct-upgrade.ts @@ -4,13 +4,13 @@ import type { MobileRelayEndpoint, PairingGetEndpointsResult } from '../../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' -import { RelayRoutingHostRemovedError, setRelayRouting } from '../hosts/host-store' +import { RelayRoutingHostRemovedError, setRelayRouting } from '../../host-catalog/host-store' import { MobileRelayCredentialBundleSchema, deleteMobileRelayCredentialBundle, writeMobileRelayCredentialBundle, type MobileRelayCredentialBundle -} from '../hosts/mobile-relay-credential-bundle' +} from '../../host-credentials/mobile-relay-credential-bundle' import { createMobileRelayDirectUpgradeJournal, deleteMobileRelayDirectUpgradeJournal, @@ -23,7 +23,7 @@ import { relayPairingEndpointsRead } from '../../pairing/mobile-relay-pairing-operations' import type { RpcClient } from '../rpc/rpc-client-contract' -import type { HostProfile } from '../hosts/host-profile' +import type { HostProfile } from '../../host-catalog/host-profile' import { isPairingRelayRpcUnavailable } from '../../pairing/pairing-relay-rpc-unavailable' export type MobileRelayDirectUpgradeResult = { diff --git a/mobile/src/transport/relay/mobile-relay-orphan-cleanup.ts b/mobile/src/transport/relay/mobile-relay-orphan-cleanup.ts index 0b909a2940a..9d5a984139e 100644 --- a/mobile/src/transport/relay/mobile-relay-orphan-cleanup.ts +++ b/mobile/src/transport/relay/mobile-relay-orphan-cleanup.ts @@ -1,5 +1,5 @@ -import { scheduleHostCredentialCleanup } from '../hosts/host-credential-cleanup' -import { removeMobileRelayHostRouting } from '../hosts/mobile-relay-host-overlay-store' +import { scheduleHostCredentialCleanup } from '../../host-credentials/host-credential-cleanup' +import { removeMobileRelayHostRouting } from '../../host-catalog/mobile-relay-host-overlay-store' export async function scheduleOrphanedMobileRelayCleanup(args: { hostIds: string[] diff --git a/mobile/src/transport/relay/mobile-relay-recovery-presentation.ts b/mobile/src/transport/relay/mobile-relay-recovery-presentation.ts index e83994e7411..54da4de3edd 100644 --- a/mobile/src/transport/relay/mobile-relay-recovery-presentation.ts +++ b/mobile/src/transport/relay/mobile-relay-recovery-presentation.ts @@ -1,4 +1,4 @@ -import type { MobileRelayCredentialBundle } from '../hosts/mobile-relay-credential-bundle' +import type { MobileRelayCredentialBundle } from '../../host-credentials/mobile-relay-credential-bundle' import type { RelayReconnectController } from './mobile-relay-reconnect-controller' import type { StableLogicalRpcClient } from '../connection/stable-logical-rpc-client' import type { ConnectionState } from '../connection/connection-state' diff --git a/mobile/src/transport/relay/mobile-relay-session-establisher.ts b/mobile/src/transport/relay/mobile-relay-session-establisher.ts index f370b56af89..ab0a580b764 100644 --- a/mobile/src/transport/relay/mobile-relay-session-establisher.ts +++ b/mobile/src/transport/relay/mobile-relay-session-establisher.ts @@ -7,7 +7,7 @@ import { import { encodeBase64Url } from '../encryption/mobile-session-id-encoding' import { persistResumeConfirmation } from './mobile-relay-credential-rotation' import { relayFailureAllowsGraceRetry } from './relay-credential-eligibility' -import type { MobileRelayCredentialBundle } from '../hosts/mobile-relay-credential-bundle' +import type { MobileRelayCredentialBundle } from '../../host-credentials/mobile-relay-credential-bundle' import type { RelayReconnectController } from './mobile-relay-reconnect-controller' import type { StableLogicalRpcClient } from '../connection/stable-logical-rpc-client' import type { MobileRelayEndpoint } from '../../../../src/shared/remote-runtime/relay/mobile-relay-credential-contract' diff --git a/mobile/src/transport/rpc/rpc-operation-contract.ts b/mobile/src/transport/rpc/rpc-operation-contract.ts index d7c49f89ec5..4434da3bfa9 100644 --- a/mobile/src/transport/rpc/rpc-operation-contract.ts +++ b/mobile/src/transport/rpc/rpc-operation-contract.ts @@ -2,8 +2,6 @@ import type { RpcAcceptedResult } from './rpc-accepted-result' import type { RpcMethodName } from '../../../../src/shared/rpc-contract/rpc-params-catalog.generated' import type { RpcFailure, RpcResponse, RpcSuccess } from './rpc-wire-types' -export type { RpcAcceptedResult } - // Fix method, acceptance and interpretation barrier per family so callers cannot drift in decoding or settlement order. export type RpcAcceptanceName = diff --git a/mobile/src/transport/rpc/rpc-operation-sender.ts b/mobile/src/transport/rpc/rpc-operation-sender.ts deleted file mode 100644 index 1d39f8ff9c7..00000000000 --- a/mobile/src/transport/rpc/rpc-operation-sender.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { settingsRead } from '../../settings/mobile-settings-read-operations' - -// Derive the operation’s sender without exposing the raw port or requiring a complete RpcClient in tests. -export type RpcOperationSender = Parameters[0] diff --git a/mobile/src/transport/rpc/rpc-uninterpreted-reply-schemas.ts b/mobile/src/transport/rpc/rpc-uninterpreted-reply-schemas.ts index e99fdbad5bb..87f8b84d347 100644 --- a/mobile/src/transport/rpc/rpc-uninterpreted-reply-schemas.ts +++ b/mobile/src/transport/rpc/rpc-uninterpreted-reply-schemas.ts @@ -1,5 +1,4 @@ import * as z from 'zod' -import '../../../../src/shared/zod-salvage' // Leave unread replies opaque; structured creates/probes require raw-envelope uncertainty checks at their callers. export const sessionLaunchUnreadReplySchema = z.unknown() diff --git a/mobile/src/transport/rpc/unvalidated-rpc-request-port-inventory.ts b/mobile/src/transport/rpc/unvalidated-rpc-request-port-inventory.ts index 55b32fc1059..30679763873 100644 --- a/mobile/src/transport/rpc/unvalidated-rpc-request-port-inventory.ts +++ b/mobile/src/transport/rpc/unvalidated-rpc-request-port-inventory.ts @@ -45,7 +45,10 @@ export const UNVALIDATED_RPC_REQUEST_PORT_PENDING: readonly UnvalidatedRpcReques { file: 'src/accounts/MobileAccountsScreen.tsx', references: 2 }, // callAgentSession accepts dynamic methods and generic results; typed operations require restructuring its callers. - { file: 'src/session/mobile-structured-agent-session-rpc.ts', references: 1 }, + { + file: 'src/session/native-chat/agent-session/mobile-structured-agent-session-rpc.ts', + references: 1 + }, // The recorded create-terminal prompt uses a unique empty-refusal fallback absent from existing terminal.send operations. { file: 'src/session/use-mobile-session-terminal-create-actions.ts', references: 1 }, diff --git a/mobile/src/transport/web-bundle/mobile-web-bundle-brotli-fetch.test.ts b/mobile/src/transport/web-bundle/mobile-web-bundle-brotli-fetch.test.ts index d88a73b0ad5..6561607b409 100644 --- a/mobile/src/transport/web-bundle/mobile-web-bundle-brotli-fetch.test.ts +++ b/mobile/src/transport/web-bundle/mobile-web-bundle-brotli-fetch.test.ts @@ -56,7 +56,6 @@ function brotliHost() { totalBytes: assets.reduce((total, entry) => total + entry.byteLength, 0), assets } - const methods: string[] = [] const answer = (method: string, params: Record): unknown => { if (method === 'mobileWeb.bundle.manifest') { return { manifest, chunkBytes: RANGE_BYTES, rangeBytes: RANGE_BYTES } @@ -79,7 +78,6 @@ function brotliHost() { } const client: RpcClient = { sendRequest: vi.fn(async (method: string, params?: unknown): Promise => { - methods.push(method) const fields: Record = Object(params) return { id: 'rpc-1', ok: true, result: answer(method, fields), _meta: { runtimeId: 'r' } } }), @@ -92,11 +90,11 @@ function brotliHost() { notifyForeground: vi.fn(), close: vi.fn() } - return { client, methods } + return { client } } describe('fetchMobileWebBundle from a host that ships brotli copies', () => { - it('reads the copy where the manifest lists one, inflates it, and reports progress in asset bytes', async () => { + it('reads the copy where the manifest lists one, inflates it, and reports progress in the bytes it moves', async () => { const host = brotliHost() const progress: MobileWebBundleFetchProgress[] = [] @@ -107,10 +105,7 @@ describe('fetchMobileWebBundle from a host that ships brotli copies', () => { expect(new TextDecoder().decode(fetched.assets.get('assets/script.js'))).toBe(SCRIPT) expect(new TextDecoder().decode(fetched.assets.get('index.html'))).toBe(MARK) - expect(host.methods.filter((method) => method === 'mobileWeb.bundle.brotliRange')).toHaveLength( - 3 - ) - expect(host.methods.filter((method) => method === 'mobileWeb.bundle.range')).toHaveLength(1) - expect(progress.at(-1)).toMatchObject({ receivedBytes: 1332, totalBytes: 1332 }) + // The 46-byte copy plus the 12-byte mark, not the 1,332 bytes they inflate to. + expect(progress.at(-1)).toMatchObject({ receivedBytes: 58, totalBytes: 58 }) }) }) diff --git a/mobile/src/transport/web-bundle/mobile-web-bundle-fetch.test.ts b/mobile/src/transport/web-bundle/mobile-web-bundle-fetch.test.ts index 643778934ec..01ff23c3da3 100644 --- a/mobile/src/transport/web-bundle/mobile-web-bundle-fetch.test.ts +++ b/mobile/src/transport/web-bundle/mobile-web-bundle-fetch.test.ts @@ -35,6 +35,7 @@ type HostOptions = { buildId?: string intercept?: (call: HostCall) => unknown onInFlight?: (inFlight: number) => void + catalogs?: readonly string[] } /** Box first, so params that are not an object read as absent instead of throwing. */ @@ -51,7 +52,8 @@ function bundleHost(files: Record, options: HostOptions = {}) { path, sha256: toHex(sha256(content)), byteLength: content.byteLength, - contentType: 'text/plain' + contentType: 'text/plain', + ...(options.catalogs?.includes(path) ? { kind: 'catalog' } : {}) })) .sort((left, right) => (left.path < right.path ? -1 : 1)) // Derive fixture ids from final asset lists unless the test explicitly selects a mismatch. diff --git a/mobile/src/transport/web-bundle/mobile-web-bundle-fetch.ts b/mobile/src/transport/web-bundle/mobile-web-bundle-fetch.ts index abd4440ef64..60d00a83979 100644 --- a/mobile/src/transport/web-bundle/mobile-web-bundle-fetch.ts +++ b/mobile/src/transport/web-bundle/mobile-web-bundle-fetch.ts @@ -1,10 +1,11 @@ import { CryptoDigestAlgorithm, digest } from 'expo-crypto' import { PrioritySemaphore } from '../../../../src/shared/priority-semaphore' import { mobileWebBundleManifestRead } from './mobile-web-bundle-operations' -import type { - MobileWebBundleAssetRead, - MobileWebBundleManifestRead, - MobileWebBundleManifestReply +import { + shellDownloadedAssets, + type MobileWebBundleAssetRead, + type MobileWebBundleManifestRead, + type MobileWebBundleManifestReply } from './mobile-web-bundle-reply-schemas' import type { RpcClient } from '../rpc/rpc-client-contract' import { MobileWebBundleFetchError } from './mobile-web-bundle-fetch-refusal' @@ -42,6 +43,7 @@ export const MOBILE_WEB_BUNDLE_WINDOW_STALL_MS = 30_000 const WINDOW_READ_BACKSTOP_MS = (MAX_CONCURRENT_WINDOW_READS + 1) * MOBILE_WEB_BUNDLE_WINDOW_STALL_MS +// Bytes are what the reader moves (a brotli copy where it reads one, else the asset); reused assets add none. export type MobileWebBundleFetchProgress = { readonly completedAssets: number readonly totalAssets: number @@ -52,7 +54,7 @@ export type MobileWebBundleFetchProgress = { export type MobileWebBundleFetchResult = { readonly manifest: MobileWebBundleManifestRead readonly assets: ReadonlyMap - // stageGeneration must copy every reused asset or fail rather than stage an incomplete tree. + // stageGeneration must copy every reused asset or fail rather than stage an incomplete tree (skipped catalogs aside). readonly reused: readonly string[] readonly totalBytes: number readonly elapsedMs: number @@ -92,10 +94,12 @@ export async function fetchMobileWebBundle(args: { const manifest = opened.manifest const reader = mobileWebBundleWindowReader(args.client, opened) const connection = connectionReadsOf(args.client) + // Before reuse: a skipped catalog an older generation lists may not be on disk there either. + const wanted = shellDownloadedAssets(manifest) const candidates = new Set( - args.reusable === undefined ? [] : manifest.assets.filter((entry) => args.reusable?.has(entry)) + args.reusable === undefined ? [] : wanted.filter((entry) => args.reusable?.has(entry)) ) - const fetched = manifest.assets.filter((entry) => !candidates.has(entry)) + const fetched = wanted.filter((entry) => !candidates.has(entry)) const assets = new Map() const reused: string[] = [] let receivedBytes = 0 @@ -180,7 +184,7 @@ export async function fetchMobileWebBundle(args: { downloadedAssets += 1 } // Per window, not per asset: the largest asset goes first, so asset completions bunch at the end. - receivedBytes += assetBytesCredited(asset, offset, bytes.byteLength) + receivedBytes += bytes.byteLength reportProgress() } @@ -246,7 +250,7 @@ export async function fetchMobileWebBundle(args: { const countDownload = (entries: readonly MobileWebBundleAssetRead[]): void => { downloadAssets += entries.length - downloadBytes += entries.reduce((sum, entry) => sum + entry.byteLength, 0) + downloadBytes += entries.reduce((sum, entry) => sum + reader.streamLength(entry), 0) } try { @@ -297,18 +301,6 @@ function planWindowReads( }) } -// Progress stays in asset bytes, the unit of the session's total: a window of a brotli copy counts for its -// share of the asset, and an asset's windows add up to exactly its byteLength. -function assetBytesCredited(asset: AssetReassembly, offset: number, byteLength: number): number { - const streamBytes = asset.stream.byteLength - if (streamBytes === asset.entry.byteLength) { - return byteLength - } - const at = (position: number): number => - Math.floor((asset.entry.byteLength * position) / streamBytes) - return at(offset + byteLength) - at(offset) -} - async function verifyReassembledAsset( asset: AssetReassembly, reader: MobileWebBundleWindowReader diff --git a/mobile/src/transport/web-bundle/mobile-web-bundle-range-decode.test.ts b/mobile/src/transport/web-bundle/mobile-web-bundle-range-decode.test.ts index aad0c4f8592..c87f1aca214 100644 --- a/mobile/src/transport/web-bundle/mobile-web-bundle-range-decode.test.ts +++ b/mobile/src/transport/web-bundle/mobile-web-bundle-range-decode.test.ts @@ -8,43 +8,12 @@ const RAW = Uint8Array.from({ length: 20_000 }, (_, index) => (index * 31) % 7) const GZIP = gzipSync(RAW, { level: 6 }) const RANGE = { path: 'assets/a.js', offset: 0, encoding: 'gzip' } -function refusalOf(run: () => unknown): string | null { - try { - run() - return null - } catch (error) { - return error instanceof MobileWebBundleFetchError ? error.refusal : 'untyped' - } -} - describe('decoding a bundle range', () => { it('inflates a gzip range to exactly the window it answered', () => { expect(GZIP.byteLength).toBeLessThan(RAW.byteLength) expect(decodeMobileWebBundleRange(RANGE, GZIP, RAW.byteLength)).toEqual(RAW) }) - it('refuses a truncated gzip body', () => { - expect( - refusalOf(() => - decodeMobileWebBundleRange(RANGE, GZIP.subarray(0, GZIP.byteLength - 20), RAW.byteLength) - ) - ).toBe('range-undecodable') - }) - - it('refuses a body that is not gzip at all', () => { - expect( - refusalOf(() => decodeMobileWebBundleRange(RANGE, Uint8Array.of(1, 2, 3), RAW.byteLength)) - ).toBe('range-undecodable') - }) - - it('refuses an encoding this build cannot decode', () => { - expect( - refusalOf(() => - decodeMobileWebBundleRange({ ...RANGE, encoding: 'br' }, GZIP, RAW.byteLength) - ) - ).toBe('range-undecodable') - }) - // The spare byte in the bounded buffer is what lets the fetch's slot check see an overlong body. it('stops a gzip body that inflates past the window one byte over it', () => { expect(decodeMobileWebBundleRange(RANGE, GZIP, RAW.byteLength - 100).byteLength).toBe( @@ -52,12 +21,6 @@ describe('decoding a bundle range', () => { ) }) - it('hands back a gzip body that inflates short of the window as it is', () => { - expect(decodeMobileWebBundleRange(RANGE, GZIP, RAW.byteLength + 100).byteLength).toBe( - RAW.byteLength - ) - }) - // Pin fflate’s leniency against shared native vectors for CRC/length/trailing bytes; native decoding is stricter. it('answers the shared gunzip vectors as fflate does', () => { for (const vector of gunzipVectors) { diff --git a/mobile/src/transport/web-bundle/mobile-web-bundle-range-interop.test.ts b/mobile/src/transport/web-bundle/mobile-web-bundle-range-interop.test.ts deleted file mode 100644 index 618e50467fa..00000000000 --- a/mobile/src/transport/web-bundle/mobile-web-bundle-range-interop.test.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { createHash } from 'node:crypto' -import { gunzipSync } from 'fflate' -import { describe, expect, it } from 'vitest' -import { encodeMobileWebBundleRange } from '../../../../src/main/runtime/rpc/methods/mobile-delivery/mobile-web-bundle-range-encoding' -import { MOBILE_WEB_BUNDLE_RANGE_BYTES } from '../../../../src/shared/mobile-web-bundle/bundle-rpc-contract' - -/** Script-like and a full range long, so the host's level-6 deflate emits dynamic Huffman blocks. */ -function scriptRange(): Buffer { - const words = ['const ', 'function ', 'return ', 'export ', '=> ', '{', '}', ';\n', 'orca'] - let text = '' - for (let index = 0; text.length < MOBILE_WEB_BUNDLE_RANGE_BYTES; index += 1) { - text += words[(index * 7) % words.length] + String(index % 1000) - } - return Buffer.from(text.slice(0, MOBILE_WEB_BUNDLE_RANGE_BYTES)) -} - -describe('a host-encoded range decoded by the phone', () => { - it('inflates node gzip output with fflate to the same bytes', async () => { - const raw = scriptRange() - const encoded = await encodeMobileWebBundleRange(raw) - - expect(encoded.encoding).toBe('gzip') - const inflated = gunzipSync(new Uint8Array(encoded.bytes), { - out: new Uint8Array(raw.byteLength + 1) - }) - expect(Buffer.from(inflated).equals(raw)).toBe(true) - }) - - it('leaves incompressible bytes as identity, which needs no decoder', async () => { - const raw = Buffer.concat( - Array.from({ length: 128 }, (_, index) => - createHash('sha256').update(`range-${index}`).digest() - ) - ) - const encoded = await encodeMobileWebBundleRange(raw) - - expect(encoded.encoding).toBe('identity') - expect(encoded.bytes.equals(raw)).toBe(true) - }) -}) diff --git a/mobile/src/transport/web-bundle/mobile-web-bundle-range-reply.test.ts b/mobile/src/transport/web-bundle/mobile-web-bundle-range-reply.test.ts deleted file mode 100644 index 7750caa7152..00000000000 --- a/mobile/src/transport/web-bundle/mobile-web-bundle-range-reply.test.ts +++ /dev/null @@ -1,113 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - MOBILE_WEB_BUNDLE_CHUNK_BYTES, - MOBILE_WEB_BUNDLE_RANGE_BYTES, - MOBILE_WEB_BUNDLE_RANGE_MAX_DATA_BASE64_LENGTH -} from '../../../../src/shared/mobile-web-bundle/bundle-rpc-contract' -import { - computeMobileWebBundleId, - MOBILE_WEB_BUNDLE_MAX_ASSET_BYTES -} from '../../../../src/shared/mobile-web-bundle/manifest-contract' -import { - mobileWebBundleManifestRead, - mobileWebBundleRangeRead -} from './mobile-web-bundle-operations' - -function rangeReply(overrides: Record = {}) { - return { - buildId: 'a'.repeat(64), - path: 'index.html', - offset: 0, - assetByteLength: 12, - sha256: 'b'.repeat(64), - encoding: 'gzip', - dataBase64: 'aGVsbG8=', - eof: true, - ...overrides - } -} - -describe('mobile web bundle range reply reader', () => { - it('reads a range and passes an unknown member through', () => { - const result = mobileWebBundleRangeRead.read({ ...rangeReply(), later: 1 }) - - expect(result.compatible).toBe(true) - if (!result.compatible) { - return - } - expect(result.variant).toBe('mobile-web-bundle-range') - expect(result.value).toMatchObject({ encoding: 'gzip', later: 1 }) - }) - - // Refusing it here would fail with a shape error; the decoder names the encoding instead. - it('reads an encoding this build does not know through to the decoder', () => { - expect(mobileWebBundleRangeRead.read(rangeReply({ encoding: 'br' })).compatible).toBe(true) - }) - - it('bounds dataBase64 at the range size the contract allows', () => { - const at = 'A'.repeat(MOBILE_WEB_BUNDLE_RANGE_MAX_DATA_BASE64_LENGTH) - expect(mobileWebBundleRangeRead.read(rangeReply({ dataBase64: at })).compatible).toBe(true) - expect(mobileWebBundleRangeRead.read(rangeReply({ dataBase64: `${at}A` })).compatible).toBe( - false - ) - }) - - it('requires every member that makes a range self-describing', () => { - for (const overrides of [ - { buildId: 'nope' }, - { path: '../escape.js' }, - { offset: -1 }, - { assetByteLength: MOBILE_WEB_BUNDLE_MAX_ASSET_BYTES + 1 }, - { sha256: 'b'.repeat(63) }, - { encoding: undefined }, - { encoding: '' }, - { dataBase64: undefined }, - { eof: undefined } - ]) { - expect(mobileWebBundleRangeRead.read(rangeReply(overrides)).compatible).toBe(false) - } - }) -}) - -describe('the range grid on the manifest reply', () => { - const assets = [ - { path: 'index.html', sha256: 'b'.repeat(64), byteLength: 12, contentType: 'text/html' } - ] - function manifestReply(extra: Record) { - return { - manifest: { - schemaVersion: 1, - buildId: computeMobileWebBundleId(assets), - minCompatibleRuntimeProtocolVersion: 2, - runtimeProtocolVersion: 2, - entrypoint: 'index.html', - totalBytes: 12, - assets - }, - chunkBytes: MOBILE_WEB_BUNDLE_CHUNK_BYTES, - ...extra - } - } - function rangeBytesOf(extra: Record): unknown { - const result = mobileWebBundleManifestRead.read(manifestReply(extra)) - expect(result.compatible).toBe(true) - return result.compatible ? Object(result.value).rangeBytes : 'refused' - } - - it('reads the grid a range host names', () => { - expect(rangeBytesOf({ rangeBytes: MOBILE_WEB_BUNDLE_RANGE_BYTES })).toBe( - MOBILE_WEB_BUNDLE_RANGE_BYTES - ) - }) - - it('reads a host that names none as absent', () => { - expect(rangeBytesOf({})).toBeUndefined() - }) - - // A later host with a wider grid must leave this build on chunks, not wall the whole bundle. - it('reads a grid this build cannot page as absent rather than refusing the manifest', () => { - for (const rangeBytes of [MOBILE_WEB_BUNDLE_RANGE_BYTES + 1, 0, 'wide']) { - expect(rangeBytesOf({ rangeBytes })).toBeUndefined() - } - }) -}) diff --git a/mobile/src/transport/web-bundle/mobile-web-bundle-reply-schemas.ts b/mobile/src/transport/web-bundle/mobile-web-bundle-reply-schemas.ts index 602d3d5d4ea..cc72d59b214 100644 --- a/mobile/src/transport/web-bundle/mobile-web-bundle-reply-schemas.ts +++ b/mobile/src/transport/web-bundle/mobile-web-bundle-reply-schemas.ts @@ -46,7 +46,9 @@ const assetSchema = z.looseObject({ .nonnegative() .max(MOBILE_WEB_BUNDLE_MAX_ASSET_BYTES) .optional() - .catch(undefined) + .catch(undefined), + // A kind this build cannot read is a plain asset, downloaded like any other. + kind: z.string().optional().catch(undefined) }) // Read unknown schema versions as numbers so compatibility can name the required update. @@ -132,3 +134,11 @@ export const MobileWebBundleBrotliRangeReplySchema = z.looseObject({ export type MobileWebBundleManifestReply = z.output export type MobileWebBundleManifestRead = MobileWebBundleManifestReply['manifest'] export type MobileWebBundleAssetRead = MobileWebBundleManifestRead['assets'][number] + +// Language-catalog chunks stay on the desktop: this shell grants the page hostCatalogs, and the +// page reads its one catalog over RPC. Everything else is the generation, on disk. +export function shellDownloadedAssets(manifest: { + readonly assets: readonly Asset[] +}): Asset[] { + return manifest.assets.filter((asset) => asset.kind !== 'catalog') +} diff --git a/mobile/src/transport/web-bundle/mobile-web-bundle-window-reader.ts b/mobile/src/transport/web-bundle/mobile-web-bundle-window-reader.ts index 7a27848b680..3182c2744a9 100644 --- a/mobile/src/transport/web-bundle/mobile-web-bundle-window-reader.ts +++ b/mobile/src/transport/web-bundle/mobile-web-bundle-window-reader.ts @@ -7,9 +7,10 @@ import { mobileWebBundleRangeRead } from './mobile-web-bundle-operations' import { decodeMobileWebBundleRange } from './mobile-web-bundle-range-decode' -import type { - MobileWebBundleAssetRead, - MobileWebBundleManifestReply +import { + shellDownloadedAssets, + type MobileWebBundleAssetRead, + type MobileWebBundleManifestReply } from './mobile-web-bundle-reply-schemas' import { MobileWebBundleFetchError } from './mobile-web-bundle-fetch-refusal' import type { RpcClient } from '../rpc/rpc-client-contract' @@ -66,16 +67,7 @@ export function mobileWebBundleWindowReader( } } const native = pairedE2EENativeCodec() - // Hermes has no brotli, so without the native codec every asset stays on gzip ranges. - const brotliLengths = new Map( - native === null - ? [] - : opened.manifest.assets.flatMap((asset) => - asset.brotliByteLength !== undefined && asset.brotliByteLength < asset.byteLength - ? [[asset.path, asset.brotliByteLength] as const] - : [] - ) - ) + const brotliLengths = brotliStreamLengths(opened) return { windowBytes: rangeBytes, streamLength: (asset) => brotliLengths.get(asset.path) ?? asset.byteLength, @@ -108,6 +100,34 @@ export function mobileWebBundleWindowReader( } } +// The assets a reader fetches as their brotli copy, by path, with that copy's length. Hermes has no brotli, +// so without the native codec, and on a host with no range grid, every asset stays on gzip ranges or chunks. +function brotliStreamLengths( + opened: Pick +): ReadonlyMap { + if (opened.rangeBytes === undefined || pairedE2EENativeCodec() === null) { + return new Map() + } + return new Map( + opened.manifest.assets.flatMap((asset) => + asset.brotliByteLength !== undefined && asset.brotliByteLength < asset.byteLength + ? [[asset.path, asset.brotliByteLength] as const] + : [] + ) + ) +} + +// Bytes a whole download moves, in the unit of fetch progress: each brotli copy's length where one is read. +export function mobileWebBundleStreamBytes( + opened: Pick +): number { + const brotliLengths = brotliStreamLengths(opened) + return shellDownloadedAssets(opened.manifest).reduce( + (sum, asset) => sum + (brotliLengths.get(asset.path) ?? asset.byteLength), + 0 + ) +} + // Chunks and brotli windows carry their bytes as they are. function rawWindowReply({ dataBase64, diff --git a/mobile/src/worktree/agent-child-disclosure.test.ts b/mobile/src/worktree/agent-child-disclosure.test.ts deleted file mode 100644 index 99609b70594..00000000000 --- a/mobile/src/worktree/agent-child-disclosure.test.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { collapsedChildrenSignalState, partitionIdleChildren } from './agent-child-disclosure' -import type { AgentDotState } from './agent-row-display' - -const children = (...states: AgentDotState[]) => states.map((dotState) => ({ dotState })) - -describe('agent child disclosure', () => { - it('keeps a lone idle child inline and groups two or more', () => { - expect(partitionIdleChildren(children('working', 'idle')).idleChildren).toEqual([]) - expect(partitionIdleChildren(children('idle', 'done', 'idle'))).toEqual({ - activeChildren: children('done'), - idleChildren: children('idle', 'idle') - }) - }) - - it('signals the most urgent hidden state and stays quiet for settled children', () => { - expect(collapsedChildrenSignalState(children('working', 'waiting', 'idle'))).toBe('waiting') - expect(collapsedChildrenSignalState(children('idle', 'done', 'unverifiable'))).toBeUndefined() - }) -}) diff --git a/mobile/src/worktree/agent-child-disclosure.ts b/mobile/src/worktree/agent-child-disclosure.ts index 48918cf5c47..6ba716124a4 100644 --- a/mobile/src/worktree/agent-child-disclosure.ts +++ b/mobile/src/worktree/agent-child-disclosure.ts @@ -54,7 +54,3 @@ export function toggleDisclosure(key: string): void { } } } - -export function clearDisclosuresForTests(): void { - openDisclosureKeys.clear() -} diff --git a/mobile/src/worktree/agent-row-lineage-parity.test.ts b/mobile/src/worktree/agent-row-lineage-parity.test.ts index 0606afc53ba..1710805c7c4 100644 --- a/mobile/src/worktree/agent-row-lineage-parity.test.ts +++ b/mobile/src/worktree/agent-row-lineage-parity.test.ts @@ -1,6 +1,6 @@ -import { describe, expect, it, vi } from 'vitest' +import { describe, expect, it } from 'vitest' import type { RuntimeWorktreeAgentRow } from '../../../src/shared/runtime-types' -import { flattenAgentRowLineage, type AgentRowNode } from './agent-row-lineage' +import { flattenAgentRowLineage } from './agent-row-lineage' function row(paneKey: string, parentPaneKey: string | null): RuntimeWorktreeAgentRow { return { @@ -42,34 +42,4 @@ describe('agent lineage traversal', () => { [3, 2] ]) }) - - it('copies no ancestor members while traversing a long lineage', () => { - const rows = Array.from({ length: 512 }, (_, index) => - row(`pane-${index}`, index === 0 ? null : `pane-${index - 1}`) - ) - const NativeSet = globalThis.Set - let copiedMembers = 0 - class ObservedSet extends NativeSet { - constructor(values?: Iterable | null) { - super() - if (values) { - for (const value of values) { - copiedMembers += 1 - this.add(value) - } - } - } - } - vi.stubGlobal('Set', ObservedSet) - let actual: AgentRowNode[] - try { - actual = flattenAgentRowLineage(rows) - } finally { - vi.unstubAllGlobals() - } - expect(copiedMembers).toBe(0) - expect(actual.map((node) => [node.row.paneKey, node.depth])).toEqual( - rows.map((agent, index) => [agent.paneKey, index]) - ) - }) }) diff --git a/mobile/src/worktree/agent-row-lineage.test.ts b/mobile/src/worktree/agent-row-lineage.test.ts index f06d4ea9af9..a2483c375f2 100644 --- a/mobile/src/worktree/agent-row-lineage.test.ts +++ b/mobile/src/worktree/agent-row-lineage.test.ts @@ -26,21 +26,6 @@ function row( } describe('buildAgentRowLineageTree', () => { - it('groups children under their parent and leaves roots flat', () => { - const rows = [row('a'), row('b', 'a'), row('c', 'a'), row('d')] - const { rootRows, childrenByParentPaneKey } = buildAgentRowLineageTree(rows) - - expect(rootRows.map((r) => r.paneKey)).toEqual(['a', 'd']) - expect(childrenByParentPaneKey.get('a')?.map((r) => r.paneKey)).toEqual(['b', 'c']) - }) - - it('treats a dangling parent pointer as a root', () => { - const rows = [row('a', 'missing-parent'), row('b')] - const { rootRows } = buildAgentRowLineageTree(rows) - - expect(rootRows.map((r) => r.paneKey).sort()).toEqual(['a', 'b']) - }) - it('keeps all rows visible when the parent links form a cycle', () => { const rows = [row('a', 'b'), row('b', 'a')] const { rootRows, childrenByParentPaneKey } = buildAgentRowLineageTree(rows) @@ -48,11 +33,6 @@ describe('buildAgentRowLineageTree', () => { expect(rootRows.map((r) => r.paneKey).sort()).toEqual(['a', 'b']) expect(childrenByParentPaneKey.size).toBe(0) }) - - it('ignores a self-referential parent', () => { - const { rootRows } = buildAgentRowLineageTree([row('a', 'a')]) - expect(rootRows.map((r) => r.paneKey)).toEqual(['a']) - }) }) describe('flattenAgentRowLineage', () => { diff --git a/mobile/src/worktree/folder-workspace-lane-order.test.ts b/mobile/src/worktree/folder-workspace-lane-order.test.ts deleted file mode 100644 index 04be432983d..00000000000 --- a/mobile/src/worktree/folder-workspace-lane-order.test.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { withFolderWorkspacesLast } from './folder-workspace-lane-order' -import type { Worktree } from './workspace-list-types' - -function row(worktreeId: string, overrides: Partial = {}): Worktree { - return { - workspaceKind: 'git', - worktreeId, - repoId: 'repo-1', - repo: 'orca', - branch: '', - displayName: worktreeId, - path: `/tmp/${worktreeId}`, - liveTerminalCount: 0, - hasAttachedPty: false, - unread: false, - isPinned: false, - linkedPR: null, - agents: [], - ...overrides - } -} - -describe('withFolderWorkspacesLast', () => { - it('lists folder workspaces after the worktrees, by user rank then name, like desktop', () => { - const folder = { workspaceKind: 'folder-workspace' as const } - const rows = [ - row('folder:low', { ...folder, displayName: 'b', sortOrder: 1 }), - row('git'), - row('folder:tie', { ...folder, displayName: 'a', sortOrder: 1 }), - row('folder:high', { ...folder, displayName: 'c', sortOrder: 5 }) - ] - expect(withFolderWorkspacesLast(rows).map((w) => w.worktreeId)).toEqual([ - 'git', - 'folder:high', - 'folder:tie', - 'folder:low' - ]) - }) -}) diff --git a/mobile/src/worktree/last-visited-worktree-by-host.test.ts b/mobile/src/worktree/last-visited-worktree-by-host.test.ts index 448ca696682..832346d85e0 100644 --- a/mobile/src/worktree/last-visited-worktree-by-host.test.ts +++ b/mobile/src/worktree/last-visited-worktree-by-host.test.ts @@ -19,7 +19,6 @@ vi.mock('@react-native-async-storage/async-storage', () => ({ } })) -import { isLastVisitedWorktreeRow } from './host-list-highlight' import { readLastVisitedWorktreeOnHost, subscribeLastVisitedWorktree, @@ -34,12 +33,6 @@ import { const stored = () => storage.values.get(LAST_VISITED_WORKTREE_STORAGE_KEY) ?? null describe('readLastVisitedWorktreeOnHost', () => { - it('reads nothing for a host this phone never opened a workspace on', () => { - expect(readLastVisitedWorktreeOnHost(null, 'host-1')).toBeNull() - const raw = withLastVisitedWorktree(null, { hostId: 'host-2', worktreeId: 'repo::/w/a' }) - expect(readLastVisitedWorktreeOnHost(raw, 'host-1')).toBeNull() - }) - it('remembers each host’s own visit, whichever host was visited last', () => { let raw = withLastVisitedWorktree(null, { hostId: 'host-1', worktreeId: 'repo::/w/a' }) raw = withLastVisitedWorktree(raw, { @@ -84,28 +77,6 @@ describe('readLastVisitedWorktreeOnHost', () => { }) }) -describe('isLastVisitedWorktreeRow', () => { - it('matches a desktop row (local or SSH) by id, and a server row by its server too', () => { - const visit = { worktreeId: 'repo::/w/a' } - expect(isLastVisitedWorktreeRow({ worktreeId: 'repo::/w/a', hostId: 'local' }, visit)).toBe( - true - ) - expect(isLastVisitedWorktreeRow({ worktreeId: 'repo::/w/a', hostId: 'ssh:gpu' }, visit)).toBe( - true - ) - expect( - isLastVisitedWorktreeRow({ worktreeId: 'repo::/w/a', hostId: 'runtime:env-1' }, visit) - ).toBe(false) - const serverVisit = { worktreeId: 'repo::/w/a', executionHost: 'runtime:env-1' as const } - expect( - isLastVisitedWorktreeRow({ worktreeId: 'repo::/w/a', hostId: 'runtime:env-1' }, serverVisit) - ).toBe(true) - expect(isLastVisitedWorktreeRow({ worktreeId: 'repo::/w/a', hostId: 'local' }, null)).toBe( - false - ) - }) -}) - describe('writeLastVisitedWorktree', () => { it('tells listeners at once and stores the visit beside other hosts’ visits', async () => { storage.values.clear() diff --git a/mobile/src/worktree/last-visited-worktree-repo.test.ts b/mobile/src/worktree/last-visited-worktree-repo.test.ts index 35015f15046..14b68e4223f 100644 --- a/mobile/src/worktree/last-visited-worktree-repo.test.ts +++ b/mobile/src/worktree/last-visited-worktree-repo.test.ts @@ -6,34 +6,14 @@ import { } from './last-visited-worktree-repo' describe('last visited worktree repo', () => { - it('extracts the repo id for the current host', () => { - const raw = JSON.stringify({ hostId: 'host-1', worktreeId: 'repo-2::/tmp/worktree' }) - - expect(readLastVisitedWorktreeRepoId(raw, 'host-1')).toBe('repo-2') - }) - it('ignores records for another host', () => { const raw = JSON.stringify({ hostId: 'host-2', worktreeId: 'repo-2::/tmp/worktree' }) expect(readLastVisitedWorktreeRepoId(raw, 'host-1')).toBeNull() }) - - it('ignores malformed stored values', () => { - expect(readLastVisitedWorktreeRepoId('{', 'host-1')).toBeNull() - expect(readLastVisitedWorktreeRepoId(JSON.stringify({ hostId: 'host-1' }), 'host-1')).toBeNull() - }) }) describe('readLastVisitedWorktreeRecord', () => { - it('reads a well-formed record', () => { - const raw = JSON.stringify({ hostId: 'host-1', worktreeId: 'repo-2::/tmp/worktree' }) - - expect(readLastVisitedWorktreeRecord(raw)).toEqual({ - hostId: 'host-1', - worktreeId: 'repo-2::/tmp/worktree' - }) - }) - it('reads absent, truncated, and wrong-shaped payloads as no history', () => { expect(readLastVisitedWorktreeRecord(null)).toBeNull() expect(readLastVisitedWorktreeRecord('')).toBeNull() diff --git a/mobile/src/worktree/mobile-agent-child-row-text.ts b/mobile/src/worktree/mobile-agent-child-row-text.ts index f65c9bad302..3b244776904 100644 --- a/mobile/src/worktree/mobile-agent-child-row-text.ts +++ b/mobile/src/worktree/mobile-agent-child-row-text.ts @@ -5,7 +5,7 @@ import { } from '../../../src/shared/agent-status/presentation/agent-child-row-lead-trail' import type { AgentChildRowModel } from '../../../src/shared/agent-status/presentation/agent-child-row-model' import type { AgentChildDisplayState } from '../../../src/shared/agent-status/child-work/agent-status-child-work-display' -import { sayMobileBackgroundTask } from '../session/mobile-background-task-copy' +import { sayMobileBackgroundTask } from '../session/native-chat/input/mobile-background-task-copy' import { translate } from '../i18n/mobile-i18n' import { agentStateLabel } from './agent-row-display' diff --git a/mobile/src/worktree/mobile-workspace-lineage.test.ts b/mobile/src/worktree/mobile-workspace-lineage.test.ts deleted file mode 100644 index e6fd7a5c031..00000000000 --- a/mobile/src/worktree/mobile-workspace-lineage.test.ts +++ /dev/null @@ -1,248 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - applyMobileWorkspaceLineage, - getMobileWorkspaceLineageChildren, - getMobileWorkspaceLineageGroupKey -} from './mobile-workspace-lineage' -import { - buildSections, - buildMobileWorkspacePlan, - NO_PROJECT_SECTION_CATALOG, - type Worktree -} from './workspace-list-sections' - -function worktree(overrides: Partial = {}): Worktree { - return { - workspaceKind: 'git', - worktreeId: 'worktree', - repoId: 'repo-1', - repo: 'orca', - branch: 'feature/mobile-parity', - displayName: 'worktree', - path: '/tmp/worktree', - liveTerminalCount: 0, - hasAttachedPty: false, - unread: false, - isPinned: false, - linkedPR: null, - status: 'inactive', - agents: [], - ...overrides - } -} - -describe('applyMobileWorkspaceLineage', () => { - it.each([false, true])( - 'keeps deep project identity in each occurrence (duplicate pins: %s)', - (duplicate) => { - const parent = worktree({ worktreeId: 'parent', isPinned: true }) - const child = worktree({ - worktreeId: 'child', - repoId: 'repo-2', - repo: 'Backend', - parentWorktreeId: parent.worktreeId - }) - const grandchild = { ...child, worktreeId: 'grandchild', parentWorktreeId: child.worktreeId } - const filters = { - hideSleepingWorkspaces: false, - alwaysShowDefaultBranchWorkspace: true, - hideDefaultBranchWorkspace: false, - hideAutomationGeneratedWorkspaces: false, - hideCliCreatedWorkspaces: false, - hideDetachedHeadWorkspaces: false, - hideWorkspacesFromOtherDevices: false, - filterRepoIds: [], - visibleHostIds: null - } - const plan = buildMobileWorkspacePlan( - [grandchild, child, parent], - 'name', - filters, - '', - 'repo', - new Set(), - NO_PROJECT_SECTION_CATALOG, - undefined, - undefined, - duplicate - ) - const collapsed = new Set([getMobileWorkspaceLineageGroupKey(parent)]) - expect( - plan - .render(collapsed) - .flatMap((section) => section.data) - .map((item) => item.row.worktreeId) - ).toEqual(duplicate ? ['parent', 'parent'] : ['parent']) - expect(plan.render(collapsed)[0]?.data[0]?.view).toMatchObject({ - lineageChildCount: 1, - lineageCollapsed: true - }) - const sections = plan.render(new Set()) - expect(sections).toHaveLength(duplicate ? 2 : 1) - for (const section of sections) { - expect(section.data.map((item) => item.row.worktreeId)).toEqual([ - 'parent', - 'child', - 'grandchild' - ]) - expect(section.data.map((item) => item.view.lineageDepth)).toEqual([0, 1, 2]) - expect(section.data.map((item) => item.view.showProjectName)).toEqual([false, true, false]) - } - const keys = sections.flatMap((section) => - section.data.map((item) => item.view.sectionListKey) - ) - expect(new Set(keys).size).toBe(keys.length) - const filtered = buildSections( - [parent, child, { ...grandchild, repoId: 'repo-3' }], - 'name', - { ...filters, filterRepoIds: ['repo-1', 'repo-3'] }, - '', - 'repo', - new Set() - ) - expect( - filtered.map((section) => [ - section.key, - section.data.map((item) => [item.row.worktreeId, item.view.lineageDepth]) - ]) - ).toEqual([ - ['pinned', [['parent', 0]]], - ['repo:repo-3', [['grandchild', 0]]] - ]) - } - ) - - it('does not nest stale lineage when instance ids no longer match', () => { - const parent = worktree({ worktreeId: 'parent', worktreeInstanceId: 'new-parent-instance' }) - const child = worktree({ - worktreeId: 'child', - parentWorktreeId: 'parent', - worktreeInstanceId: 'child-instance', - lineageWorktreeInstanceId: 'child-instance', - parentWorktreeInstanceId: 'old-parent-instance' - }) - - const rows = applyMobileWorkspaceLineage([child, parent]) - - expect(rows.map((item) => item.row.worktreeId)).toEqual(['child', 'parent']) - expect(rows.map((item) => item.view.lineageDepth)).toEqual([0, 0]) - }) - - it('keeps rows visible when lineage is cyclic', () => { - const first = worktree({ worktreeId: 'first', parentWorktreeId: 'second' }) - const second = worktree({ worktreeId: 'second', parentWorktreeId: 'first' }) - - const rows = applyMobileWorkspaceLineage([first, second]) - - expect(rows.map((item) => item.row.worktreeId).sort()).toEqual(['first', 'second']) - }) - - it('keeps same-id rows on different hosts visible', () => { - const local = worktree({ worktreeId: 'shared', hostId: 'local' }) - const remote = worktree({ worktreeId: 'shared', hostId: 'ssh:builder' }) - - const rows = applyMobileWorkspaceLineage([local, remote]) - - expect(rows.map((item) => item.row.hostId)).toEqual(['local', 'ssh:builder']) - }) -}) - -describe('getMobileWorkspaceLineageChildren across machines', () => { - const parent = worktree({ worktreeId: 'mac::/src/fix', worktreeInstanceId: 'parent-instance' }) - const child = worktree({ - worktreeId: 'srv::/work/fix-tests', - hostId: 'runtime:env-1', - worktreeInstanceId: 'child-instance', - crossStoreParent: { - childWorkspaceKey: 'worktree:srv::/work/fix-tests', - childInstanceId: 'child-instance', - parent: { - installationId: 'mac-install', - workspaceKey: 'worktree:mac::/src/fix', - instanceId: 'parent-instance' - }, - origin: 'manual', - capture: { source: 'manual-action', confidence: 'explicit' }, - createdAt: 1 - } - }) - const server = { hostId: 'runtime:env-1' as const, installationId: 'srv-install' } - - it("nests a relayed server row under the desktop's own parent", () => { - const children = getMobileWorkspaceLineageChildren([parent, child], { - ownInstallationId: 'mac-install', - servers: [server] - }) - expect([...children].map(([key, rows]) => [key, rows.map((row) => row.worktreeId)])).toEqual([ - ['|mac::/src/fix', ['srv::/work/fix-tests']] - ]) - }) - - it('keeps a parent ambiguous when the repo filter hides its twin', () => { - const twin = { ...parent, worktreeId: 'mac-copy::/src/fix', repoId: 'repo-2' } - const children = getMobileWorkspaceLineageChildren( - [parent, twin, child], - { ownInstallationId: 'mac-install', servers: [server] }, - ['repo-1'] - ) - expect(children.size).toBe(0) - }) -}) - -describe('getMobileWorkspaceLineageChildren under folder workspaces', () => { - const folder = worktree({ - workspaceKind: 'folder-workspace', - worktreeId: 'folder:f-1', - repoId: 'folder-project:group-1', - displayName: 'Release' - }) - const child = worktree({ - worktreeId: 'repo::/src/api', - worktreeInstanceId: 'child-instance', - workspaceLineage: { - parentWorkspaceKey: 'folder:f-1', - parentInstanceId: 'f-1', - childInstanceId: 'child-instance' - } - }) - const childrenOf = (rows: Worktree[], filterRepoIds: string[] = []) => - [...getMobileWorkspaceLineageChildren(rows, undefined, filterRepoIds)].map(([key, list]) => [ - key, - list.map((row) => row.worktreeId) - ]) - - it('nests a workspace under the folder workspace its host reports', () => { - expect(childrenOf([folder, child])).toEqual([['|folder:f-1', ['repo::/src/api']]]) - }) - - it('keeps the folder parent when the project filter names only the child', () => { - expect(childrenOf([folder, child], ['repo-1'])).toEqual([['|folder:f-1', ['repo::/src/api']]]) - }) - - it('ignores a folder record left by an earlier workspace at the same path', () => { - expect(childrenOf([folder, { ...child, worktreeInstanceId: 'new-instance' }])).toEqual([]) - }) - - it('nests a server workspace under the desktop folder its cross-machine record names', () => { - const serverChild = worktree({ - worktreeId: 'srv::/work/api', - hostId: 'runtime:env-1', - worktreeInstanceId: 'server-instance', - crossStoreParent: { - childWorkspaceKey: 'worktree:srv::/work/api', - childInstanceId: 'server-instance', - parent: { installationId: 'mac-install', workspaceKey: 'folder:f-1', instanceId: 'f-1' }, - origin: 'manual', - capture: { source: 'manual-action', confidence: 'explicit' }, - createdAt: 1 - } - }) - const children = getMobileWorkspaceLineageChildren([folder, serverChild], { - ownInstallationId: 'mac-install', - servers: [{ hostId: 'runtime:env-1', installationId: 'srv-install' }] - }) - expect([...children].map(([key, rows]) => [key, rows.map((row) => row.worktreeId)])).toEqual([ - ['|folder:f-1', ['srv::/work/api']] - ]) - }) -}) diff --git a/mobile/src/worktree/new-workspace-dialog-repo-selection.test.ts b/mobile/src/worktree/new-workspace-dialog-repo-selection.test.ts index e0ee09f18ea..795195a9deb 100644 --- a/mobile/src/worktree/new-workspace-dialog-repo-selection.test.ts +++ b/mobile/src/worktree/new-workspace-dialog-repo-selection.test.ts @@ -17,21 +17,6 @@ function makeRepo(id: string, overrides: Partial = {}): Repo { } describe('mobile new workspace dialog repo selection', () => { - it('refreshes the selected repo from the fresh repo list', () => { - const staleSelectedRepo = makeRepo('repo', { path: '/cached/repo' }) - const freshRepo = makeRepo('repo', { path: '/fresh/repo' }) - - expect(refreshMobileNewWorkspaceDialogSelectedRepo([freshRepo], staleSelectedRepo)).toBe( - freshRepo - ) - }) - - it('clears a cached selected repo that is missing from the fresh repo list', () => { - expect( - refreshMobileNewWorkspaceDialogSelectedRepo([makeRepo('fresh')], makeRepo('stale')) - ).toBe(null) - }) - it('keeps a repo picked on a server when the desktop lists one with the same id', () => { const onDesktop = makeRepo('repo', { path: '/mac/repo' }) const onServer = makeRepo('repo', { path: '/srv/repo', executionHostId: 'runtime:env-1' }) diff --git a/mobile/src/worktree/relay-hosts-feed.test.ts b/mobile/src/worktree/relay-hosts-feed.test.ts index f8350fdd552..60387557c46 100644 --- a/mobile/src/worktree/relay-hosts-feed.test.ts +++ b/mobile/src/worktree/relay-hosts-feed.test.ts @@ -3,7 +3,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' vi.mock('react-native', () => ({ AppState: { currentState: 'active' } })) import { FakeSession } from '../transport/connection/mobile-endpoint-supervisor-test-fakes' -import { stubRpcClient } from '../transport/rpc/rpc-client-test-stub' + import { relayHostsFeed } from './relay-hosts-feed' function hostsReply(health: string) { @@ -47,32 +47,4 @@ describe('the desktop’s server list', () => { expect(await stale).toBeNull() expect(feed.getSnapshot()?.[0]?.health).toBe('error') }) - - it('reads again when the desktop says its hosts changed, instead of every few seconds', async () => { - let emit: (event: unknown) => void = () => {} - let reads = 0 - const client = stubRpcClient({ - getLastConnectedAt: () => 1, - subscribe: (_method, _params, onData) => { - emit = onData - return () => {} - }, - sendRequest: async () => { - reads += 1 - return hostsReply('available') - } - }) - relayHostsFeed(client).subscribe(() => {}, true) - emit({ type: 'ready', subscriptionId: 'events-1' }) - await vi.advanceTimersByTimeAsync(30_000) - expect(reads).toBe(2) - - emit({ type: 'relayHostsChanged' }) - await vi.advanceTimersByTimeAsync(0) - expect(reads).toBe(3) - - // The backstop still asks the desktop, in case a notice was lost. - await vi.advanceTimersByTimeAsync(60_000) - expect(reads).toBe(4) - }) }) diff --git a/mobile/src/worktree/session-worktree-record-operations.ts b/mobile/src/worktree/session-worktree-record-operations.ts index 5931ca217e6..b2d75f24af1 100644 --- a/mobile/src/worktree/session-worktree-record-operations.ts +++ b/mobile/src/worktree/session-worktree-record-operations.ts @@ -2,13 +2,6 @@ import { bindDeferredRpcOperation, defineRpcOperation } from '../transport/rpc/r import { rpcResultVariant } from '../transport/rpc/rpc-operation-result-reader' import '../terminal/terminal-reply-schema' import { sessionWorktreeRecordSchema } from './session-worktree-record-reply-schema' -import '../session/agent-launch/mobile-agent-detection-reply-schema' -import '../files/session-documents/mobile-markdown-tab-reply-schema' -import '../transport/rpc/rpc-uninterpreted-reply-schemas' -import '../terminal/session/mobile-session-terminal-reply-schema' -import '../session/native-chat/composer/mobile-native-chat-skill-reply-schema' -import '../terminal/quick-commands/mobile-quick-command-reply-schema' -import '../files/workspace-file-paths-reply-schema' // Read the whole worktree for notes and live title; unlike mutation readers, absent records need no error or wrong-host fallback. export const sessionWorktreeRecordRead = bindDeferredRpcOperation( diff --git a/mobile/src/worktree/structural-equality.test.ts b/mobile/src/worktree/structural-equality.test.ts index dd1ae264b6b..d924795637c 100644 --- a/mobile/src/worktree/structural-equality.test.ts +++ b/mobile/src/worktree/structural-equality.test.ts @@ -21,20 +21,8 @@ describe('areStructurallyEqual', () => { expect(areStructurallyEqual({ a: 1 }, { b: 1 })).toBe(false) }) - it('compares functions by identity', () => { - const press = () => {} - expect(areStructurallyEqual({ press }, { press })).toBe(true) - expect(areStructurallyEqual({ press }, { press: () => {} })).toBe(false) - }) - it('does not equate an array with an object of the same entries', () => { expect(areStructurallyEqual(['a'], { 0: 'a' })).toBe(false) expect(areStructurallyEqual([], {})).toBe(false) }) - - it('compares primitives with Object.is', () => { - expect(areStructurallyEqual(Number.NaN, Number.NaN)).toBe(true) - expect(areStructurallyEqual(null, undefined)).toBe(false) - expect(areStructurallyEqual(0, '0')).toBe(false) - }) }) diff --git a/mobile/src/worktree/use-retired-worktree-names.test.tsx b/mobile/src/worktree/use-retired-worktree-names.test.tsx index 9ea39e0b1a4..ab80ea7a377 100644 --- a/mobile/src/worktree/use-retired-worktree-names.test.tsx +++ b/mobile/src/worktree/use-retired-worktree-names.test.tsx @@ -8,19 +8,16 @@ import { } from '../../../src/shared/worktree/retired-name-registry' import { useRetiredWorktreeNames } from './use-retired-worktree-names' -type Pending = { resolve: (response: unknown) => void; reject: (err: Error) => void } +type Pending = { resolve: (response: unknown) => void } // Defer RPC replies to control both their repo and arrival order. function mountNames() { const pending: Pending[] = [] - const requests: { method: string; params: unknown }[] = [] let latest: RetiredNameRegistry = EMPTY_RETIRED_NAME_REGISTRY + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: The hook only calls this fixture's deferred sendRequest method. const client = { - sendRequest: (method: string, params: unknown) => { - requests.push({ method, params }) - return new Promise((resolve, reject) => pending.push({ resolve, reject })) - } + sendRequest: () => new Promise((resolve) => pending.push({ resolve })) } as unknown as RpcClient function Probe({ repoId, refreshKey }: { repoId: string | null; refreshKey: string }) { @@ -33,13 +30,9 @@ function mountNames() { renderer = create(createElement(Probe, { repoId: 'repo-1', refreshKey: 'a' })) }) return { - get registry(): RetiredNameRegistry { - return latest - }, get names(): readonly string[] { return latest.names }, - requests, rerender(props: { repoId: string | null; refreshKey: string }) { act(() => { renderer.update(createElement(Probe, props)) @@ -58,29 +51,11 @@ function mountNames() { }) await Promise.resolve() }) - }, - async fail(index: number) { - await act(async () => { - pending[index]!.reject(new Error('host unreachable')) - await Promise.resolve() - }) } } } describe('useRetiredWorktreeNames', () => { - // Match desktop: refresh failure must not un-retire every name for the rest of the sheet session. - it('keeps previously loaded names when a refresh fails', async () => { - const probe = mountNames() - await probe.settle(0, { 'repo-1': ['nautilus'] }) - expect(probe.names).toEqual(['nautilus']) - - probe.rerender({ repoId: 'repo-1', refreshKey: 'b' }) - await probe.fail(1) - - expect(probe.names).toEqual(['nautilus']) - }) - it('drops names when the repo changes rather than showing another repo pool', async () => { const probe = mountNames() await probe.settle(0, { 'repo-1': ['nautilus'] }) diff --git a/mobile/src/worktree/workspace-details-model.test.ts b/mobile/src/worktree/workspace-details-model.test.ts index b510431839c..ae0ee36256b 100644 --- a/mobile/src/worktree/workspace-details-model.test.ts +++ b/mobile/src/worktree/workspace-details-model.test.ts @@ -1,10 +1,6 @@ import { describe, expect, it } from 'vitest' import type { Worktree } from './workspace-list-types' -import { - buildWorkspaceDetailLinks, - buildWorkspaceOrigin, - workspaceNotes -} from './workspace-details-model' +import { buildWorkspaceDetailLinks } from './workspace-details-model' function row(overrides: Partial = {}): Worktree { return { @@ -41,31 +37,6 @@ describe('buildWorkspaceDetailLinks', () => { expect(links[3]).toMatchObject({ title: 'Bug', url: 'https://x/3' }) }) - it('reads the singular fields of a host that predates linkedItems', () => { - const links = buildWorkspaceDetailLinks( - row({ linkedIssue: 4, linkedGitLabMR: 9, linkedGitLabIssue: 2, linkedLinearIssue: 'ENG-1' }) - ) - - expect(links.map((link) => `${link.provider} ${link.label}`)).toEqual([ - 'gitlab MR !9', - 'github Issue #4', - 'gitlab Issue #2', - 'linear ENG-1' - ]) - }) - - it('lists a reference once when the attachments and a singular field both name it', () => { - const links = buildWorkspaceDetailLinks( - row({ - linkedItems: [{ provider: 'github', type: 'issue', number: 4, title: 'Bug' }], - linkedIssue: 4 - }) - ) - - expect(links).toHaveLength(1) - expect(links[0]).toMatchObject({ label: 'Issue #4', title: 'Bug' }) - }) - it("carries the row's PR state, title, link and checks onto its entry", () => { const [pr, other] = buildWorkspaceDetailLinks( row({ @@ -151,62 +122,4 @@ describe('buildWorkspaceDetailLinks', () => { ) expect(pr).toMatchObject({ label: 'PR #3', url: undefined }) }) - - it('names a GitLab review an MR', () => { - expect(buildWorkspaceDetailLinks(row({ linkedGitLabMR: 5 }))[0]).toMatchObject({ - label: 'MR !5', - number: 5 - }) - }) - - it('drops attachments this build cannot place and never opens a non-web link', () => { - const linkedItems = JSON.parse( - JSON.stringify([ - 'garbage', - { provider: 'sourceforge', type: 'issue', number: 1 }, - { provider: 'github', type: 'issue', number: 0 }, - { provider: 'github', type: 'issue', number: 8, url: 'javascript:alert(1)' } - ]) - ) - const links = buildWorkspaceDetailLinks(row({ linkedItems })) - - expect(links).toEqual([]) - }) - - it('keeps two same-numbered issues from different repos apart, as the desktop does', () => { - const links = buildWorkspaceDetailLinks( - row({ - linkedItems: [ - { - provider: 'github', - type: 'issue', - number: 4, - url: 'https://github.com/a/one/issues/4' - }, - { provider: 'github', type: 'issue', number: 4, url: 'https://github.com/a/two/issues/4' } - ] - }) - ) - - expect(links.map((link) => link.url)).toEqual([ - 'https://github.com/a/one/issues/4', - 'https://github.com/a/two/issues/4' - ]) - }) -}) - -describe('workspace origin', () => { - it('names the automation the host names, and says only that one made it on an older host', () => { - expect( - buildWorkspaceOrigin(row({ automationCreated: true, automationName: ' Nightly deps ' })) - ).toEqual({ kind: 'automation', name: 'Nightly deps' }) - expect(buildWorkspaceOrigin(row({ automationCreated: true }))).toEqual({ kind: 'automation' }) - expect(buildWorkspaceOrigin(row({ cliCreated: true }))).toEqual({ kind: 'cli' }) - expect(buildWorkspaceOrigin(row())).toBeNull() - }) -}) - -it('treats blank notes as none', () => { - expect(workspaceNotes({ comment: ' \n ' })).toBeNull() - expect(workspaceNotes({ comment: ' Check iPad ' })).toBe('Check iPad') }) diff --git a/mobile/src/worktree/workspace-filter-repos.test.ts b/mobile/src/worktree/workspace-filter-repos.test.ts index 994bd034a7d..3b7093e078d 100644 --- a/mobile/src/worktree/workspace-filter-repos.test.ts +++ b/mobile/src/worktree/workspace-filter-repos.test.ts @@ -1,7 +1,6 @@ -import { NO_WORKSPACE_ROW_FILTERS } from '../../../src/shared/workspace-view/workspace-row-filters' import { describe, expect, it } from 'vitest' import { buildFilterRepos } from './workspace-filter-repos' -import { filterWorktrees, type Worktree } from './workspace-list-sections' +import type { Worktree } from './workspace-list-sections' function row(worktreeId: string, repoId: string, hostId: Worktree['hostId']): Worktree { return { @@ -59,14 +58,4 @@ describe('the repo filter', () => { expect(repos.map((repo) => repo.id)).toEqual(['local-orca', 'm4-orca']) }) - - it('filters by the picked repo id, leaving the same-named repo on another host out', () => { - const rows = [row('a', 'local-orca', 'local'), row('b', 'm4-orca', 'runtime:m4air')] - - expect( - filterWorktrees(rows, { ...NO_WORKSPACE_ROW_FILTERS, filterRepoIds: ['m4-orca'] }, '').map( - (w) => w.worktreeId - ) - ).toEqual(['b']) - }) }) diff --git a/mobile/src/worktree/workspace-list-sections-desktop-parity.test.ts b/mobile/src/worktree/workspace-list-sections-desktop-parity.test.ts index 4f88a9f2f32..e09fe425475 100644 --- a/mobile/src/worktree/workspace-list-sections-desktop-parity.test.ts +++ b/mobile/src/worktree/workspace-list-sections-desktop-parity.test.ts @@ -88,42 +88,9 @@ describe('Project grouping on the phone', () => { { key: 'repo:local-assets', label: 'design-assets' } ]) }) - - it('drops a served setup whose host id this build cannot read, keeping the rest', () => { - const verdict = projectSectionsRead.interpret({ - id: 'sections', - ok: true, - result: { - catalog: { - ...PROJECT_SECTION_PARITY_SERVED, - setups: [ - { ...PROJECT_SECTION_PARITY_SERVED.setups[0], hostId: 'nonsense' }, - ...PROJECT_SECTION_PARITY_SERVED.setups.slice(1) - ] - } - } - }) - - expect(verdict.accepted && verdict.value?.setups).toHaveLength( - PROJECT_SECTION_PARITY_SERVED.setups.length - 1 - ) - }) }) describe('readServedProjectSections', () => { - it('reads a served catalog, and a desktop with no published window as none', () => { - expect( - readServedProjectSections({ - id: 'sections', - ok: true, - result: { catalog: PROJECT_SECTION_PARITY_SERVED } - }) - ).toMatchObject({ kind: 'answered', value: { repos: expect.any(Array) } }) - expect( - readServedProjectSections({ id: 'sections', ok: true, result: { catalog: null } }) - ).toEqual({ kind: 'answered', value: null }) - }) - it.each(['forbidden', 'method_not_found'])( 'reads an older desktop that answers %s as serving none', (code) => { diff --git a/mobile/src/worktree/workspace-options-desktop-parity.test.ts b/mobile/src/worktree/workspace-options-desktop-parity.test.ts deleted file mode 100644 index ce2e5d296ec..00000000000 --- a/mobile/src/worktree/workspace-options-desktop-parity.test.ts +++ /dev/null @@ -1,207 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { Repo } from '../../../src/shared/repo-types' -import { - filterWorkspaceRows, - type WorkspaceRowFactReader, - type WorkspaceRowFilters -} from '../../../src/shared/workspace-view/workspace-row-filters' -import { - getWorkspaceRowKindFacts, - isAutomationGeneratedWorkspace, - isCliCreatedWorkspace, - isDefaultBranchWorkspace, - isDetachedHeadWorkspace -} from '../../../src/shared/worktree/workspace-kinds' -import type { Worktree as DesktopWorktree } from '../../../src/shared/worktree/types' -import { filterWorktrees, type Worktree } from './workspace-list-sections' - -// Compare all filter combinations with desktop facts mirrored here because mobile cannot resolve renderer aliases. - -const repos: Repo[] = [ - { id: 'git', path: '/git', displayName: 'Git', badgeColor: '#000', addedAt: 0 }, - { - id: 'folder-repo', - path: '/f', - displayName: 'Folder', - badgeColor: '#000', - addedAt: 0, - kind: 'folder' - } -] -const repoMap = new Map(repos.map((repo) => [repo.id, repo])) - -type Fixture = DesktopWorktree & { sleeping: boolean; otherClient: boolean; folderWorkspace?: true } - -function fixture(id: string, fields: Partial = {}): Fixture { - return { - id, - repoId: 'git', - path: `/w/${id}`, - head: 'abc1234', - branch: `refs/heads/${id}`, - isBare: false, - isMainWorktree: false, - displayName: id, - comment: '', - linkedIssue: null, - linkedPR: null, - linkedLinearIssue: null, - isArchived: false, - isUnread: false, - isPinned: false, - sortOrder: 0, - lastActivityAt: 0, - sleeping: true, - otherClient: false, - ...fields - } -} - -const FIXTURES: Fixture[] = [ - fixture('main', { isMainWorktree: true, branch: 'refs/heads/main' }), - fixture('main-detached', { isMainWorktree: true, branch: '' }), - fixture('provisioned', { isMainWorktree: true, ephemeralVmCheckoutMode: 'provisioned-root' }), - fixture('awake', { sleeping: false }), - fixture('automation', { - sleeping: false, - automationProvenance: { - kind: 'created-by-automation', - automationId: 'a', - automationNameSnapshot: 'Nightly', - automationRunId: 'r', - automationRunTitleSnapshot: 'Run', - createdAt: 0, - executionTargetType: 'local', - executionTargetId: 'local', - projectId: 'p', - hostId: 'local' - } - }), - fixture('cli', { sleeping: false, cliProvenance: { kind: 'created-by-cli', createdAt: 0 } }), - fixture('detached', { branch: '', sleeping: false }), - fixture('other-client', { otherClient: true, sleeping: false }), - fixture('archived', { isArchived: true, sleeping: false }), - fixture('folder-root', { repoId: 'folder-repo', isMainWorktree: true, branch: '', head: '' }), - fixture('folder:lane', { - repoId: 'folder-workspace:group', - branch: '', - head: '', - folderWorkspace: true - }) -] - -const DESKTOP_FACTS: WorkspaceRowFactReader = { - isArchived: (w) => w.isArchived, - isFolderWorkspace: (w) => w.folderWorkspace === true, - repoId: (w) => w.repoId, - hostId: () => 'local', - isOtherClient: (w) => w.otherClient, - isDefaultBranch: (w) => isDefaultBranchWorkspace(w, repoMap.get(w.repoId)), - isAutomationCreated: isAutomationGeneratedWorkspace, - isCliCreated: isCliCreatedWorkspace, - isDetachedHead: isDetachedHeadWorkspace, - isMainWorktree: (w) => w.isMainWorktree, - isSleeping: (w) => w.sleeping -} - -/** The row the phone receives for this workspace from a current host. */ -function served(w: Fixture): Worktree { - return { - workspaceKind: w.folderWorkspace ? 'folder-workspace' : 'git', - worktreeId: w.id, - repoId: w.repoId, - hostId: 'local', - repo: repoMap.get(w.repoId)?.displayName ?? w.repoId, - branch: w.branch, - displayName: w.displayName, - path: w.path, - isArchived: w.isArchived, - isMainWorktree: w.isMainWorktree, - hasHostSidebarActivity: !w.sleeping, - ...(w.otherClient ? { desktopOtherClient: true } : {}), - ...getWorkspaceRowKindFacts(w, repoMap.get(w.repoId)), - liveTerminalCount: 0, - hasAttachedPty: false, - unread: false, - isPinned: false, - linkedPR: null - } -} - -function* everyFilterCombination(): Generator> { - const bools = [false, true] - for (const hideSleepingWorkspaces of bools) { - for (const alwaysShowDefaultBranchWorkspace of [undefined, true, false]) { - for (const hideDefaultBranchWorkspace of bools) { - for (const hideAutomationGeneratedWorkspaces of bools) { - for (const hideCliCreatedWorkspaces of bools) { - for (const hideDetachedHeadWorkspaces of bools) { - for (const hideWorkspacesFromOtherDevices of bools) { - for (const filterRepoIds of [[], ['git'], ['folder-repo']]) { - yield { - hideSleepingWorkspaces, - alwaysShowDefaultBranchWorkspace, - hideDefaultBranchWorkspace, - hideAutomationGeneratedWorkspaces, - hideCliCreatedWorkspaces, - hideDetachedHeadWorkspaces, - hideWorkspacesFromOtherDevices, - filterRepoIds - } - } - } - } - } - } - } - } - } -} - -describe('the phone shows what the desktop sidebar shows', () => { - it('under every Workspace options filter combination, folder projects included', () => { - const phoneRows = FIXTURES.map(served) - let combinations = 0 - for (const filters of everyFilterCombination()) { - combinations += 1 - const desktop = filterWorkspaceRows( - FIXTURES, - { ...filters, visibleHostIds: null }, - DESKTOP_FACTS - ) - const phone = filterWorktrees(phoneRows, { ...filters, visibleHostIds: null }, '') - expect( - phone.map((w) => w.worktreeId), - JSON.stringify(filters) - ).toEqual(desktop.map((w) => w.id)) - } - expect(combinations).toBe(2 * 3 * 2 ** 5 * 3) - }) - - it('keeps every row an older host sends, whatever kind filter is on', () => { - const legacy: Worktree[] = FIXTURES.filter((w) => !w.isArchived && !w.otherClient).map((w) => ({ - worktreeId: w.id, - repoId: w.repoId, - repo: w.repoId, - branch: w.branch, - displayName: w.displayName, - path: w.path, - liveTerminalCount: 1, - hasAttachedPty: false, - unread: false, - isPinned: false, - linkedPR: null - })) - const kindFiltersOn = { - hideSleepingWorkspaces: false, - hideDefaultBranchWorkspace: false, - hideAutomationGeneratedWorkspaces: true, - hideCliCreatedWorkspaces: true, - hideDetachedHeadWorkspaces: true, - hideWorkspacesFromOtherDevices: true, - filterRepoIds: [], - visibleHostIds: null - } - expect(filterWorktrees(legacy, kindFiltersOn, '')).toHaveLength(legacy.length) - }) -}) diff --git a/mobile/src/worktree/workspace-view-settings.test.ts b/mobile/src/worktree/workspace-view-settings.test.ts index 3dacb58bdde..ac76576c6f7 100644 --- a/mobile/src/worktree/workspace-view-settings.test.ts +++ b/mobile/src/worktree/workspace-view-settings.test.ts @@ -1,6 +1,5 @@ import { NO_WORKSPACE_ROW_FILTERS } from '../../../src/shared/workspace-view/workspace-row-filters' import { describe, expect, it } from 'vitest' -import { DEFAULT_WORKSPACE_STATUSES } from '../../../src/shared/workspace-statuses' import { applyDesktopViewSettings, buildWorkspaceViewSettingsUpdate, @@ -24,10 +23,6 @@ describe('the other-client filter on an older desktop', () => { expect(rowFiltersForView(base).hideWorkspacesFromOtherDevices).toBe(false) }) - it('does not hide marked rows before the first ui.get says which kind of desktop it is', () => { - expect(rowFiltersForView(INITIAL_MOBILE_VIEW).hideWorkspacesFromOtherDevices).toBe(false) - }) - it('learns from each ui.get whether the desktop shares the filter', () => { expect(applyDesktopViewSettings(base, {}).sharesOtherClientFilter).toBe(false) expect( @@ -52,16 +47,6 @@ describe('applyDesktopViewSettings', () => { }) }) - it('keeps current values when the desktop payload is empty', () => { - expect(applyDesktopViewSettings(base, {})).toEqual({ ...base, sharesOtherClientFilter: false }) - }) - - it('keeps renderable workspace statuses when desktop sends an empty catalog', () => { - const next = applyDesktopViewSettings(base, { workspaceStatuses: [] }) - - expect(next.workspaceStatuses).toBe(DEFAULT_WORKSPACE_STATUSES) - }) - it("falls back to the desktop's legacy host scope when no host list is saved", () => { const scoped = applyDesktopViewSettings(base, { visibleWorkspaceHostIds: null, @@ -74,14 +59,6 @@ describe('applyDesktopViewSettings', () => { ).toBeNull() }) - it("reads the desktop's shown hosts into the host filter, and null as every host", () => { - const scoped = applyDesktopViewSettings(base, { visibleWorkspaceHostIds: ['local'] }) - expect(scoped.filters.visibleHostIds).toEqual(['local']) - expect( - applyDesktopViewSettings(scoped, { visibleWorkspaceHostIds: null }).filters.visibleHostIds - ).toBeNull() - }) - it('ignores an unrecognized groupBy rather than blanking the mode', () => { const newerGroup: WorkspaceViewSettings = JSON.parse('{"groupBy":"mystery"}') const next = applyDesktopViewSettings(base, newerGroup) @@ -118,18 +95,6 @@ describe('buildWorkspaceViewSettingsUpdate', () => { ).toEqual({ collapsedGroups: ['g1'] }) }) - it('writes each filter under its desktop name, the host scope included', () => { - const filters = { - hideAutomationGeneratedWorkspaces: true, - visibleHostIds: ['local' as const] - } - expect(buildWorkspaceViewSettingsUpdate({ filters }, apply(filters))).toEqual({ - hideAutomationGeneratedWorkspaces: true, - visibleWorkspaceHostIds: ['local'], - workspaceHostScope: 'local' - }) - }) - it('leaves the legacy host scope alone for a several-host list', () => { const filters = { visibleHostIds: ['local' as const, 'ssh:box' as const] } expect(buildWorkspaceViewSettingsUpdate({ filters }, apply(filters))).toEqual({ @@ -155,20 +120,6 @@ describe('buildWorkspaceViewSettingsUpdate', () => { workspaceHostScope: 'all' }) }) - - it('never invents alwaysShowDefaultBranchWorkspace for edits that leave it alone (#8873)', () => { - expect( - 'alwaysShowDefaultBranchWorkspace' in - buildWorkspaceViewSettingsUpdate( - { filters: { hideSleepingWorkspaces: true } }, - apply({ hideSleepingWorkspaces: true }) - ) - ).toBe(false) - }) - - it('returns an empty update for an empty patch', () => { - expect(buildWorkspaceViewSettingsUpdate({}, base)).toEqual({}) - }) }) describe('card view settings', () => { @@ -208,12 +159,4 @@ describe('card view settings', () => { ) ).toEqual({ worktreeCardProperties: ['status'], _worktreeCardModeDefaulted: true }) }) - - it('keeps the card settings a ui.get does not carry', () => { - const current = { ...base, compactWorktreeCards: true, newCardStyle: true } - expect(applyDesktopViewSettings(current, { groupBy: 'none' })).toMatchObject({ - compactWorktreeCards: true, - newCardStyle: true - }) - }) }) diff --git a/mobile/src/worktree/worktree-activation-result.test.ts b/mobile/src/worktree/worktree-activation-result.test.ts deleted file mode 100644 index 11abc5e6970..00000000000 --- a/mobile/src/worktree/worktree-activation-result.test.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { headlessActivationNeedsHostRenderer } from './worktree-activation-result' - -describe('headlessActivationNeedsHostRenderer', () => { - it('only reports the explicit sleeping-agent headless outcome', () => { - expect(headlessActivationNeedsHostRenderer({ sleepingAgentWake: 'unsupported-headless' })).toBe( - true - ) - expect(headlessActivationNeedsHostRenderer({ sleepingAgentWake: 'not-applicable' })).toBe(false) - expect(headlessActivationNeedsHostRenderer({ sleepingAgentWake: 'requested' })).toBe(false) - expect(headlessActivationNeedsHostRenderer(null)).toBe(false) - }) -}) diff --git a/mobile/src/worktree/worktree-catalog-reply-schema.test.ts b/mobile/src/worktree/worktree-catalog-reply-schema.test.ts deleted file mode 100644 index b3c31d6e384..00000000000 --- a/mobile/src/worktree/worktree-catalog-reply-schema.test.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { z } from 'zod' -import { retiredWorktreeNamesSchema, worktreeCatalogSchema } from './worktree-catalog-reply-schema' - -function reads(schema: z.ZodType, value: unknown): T { - const parsed = schema.safeParse(value) - if (!parsed.success) { - throw new Error(`expected a readable reply: ${parsed.error.message}`) - } - return parsed.data -} - -function refuses(schema: z.ZodType, value: unknown): boolean { - return !schema.safeParse(value).success -} - -describe('the catalog reads both arms of the host union', () => { - it('reads a full snapshot', () => { - const reply = { snapshotId: 'snapshot-1', worktrees: [{ worktreeId: 'w-1' }] } - expect(reads(worktreeCatalogSchema, reply).worktrees).toEqual([{ worktreeId: 'w-1' }]) - }) - - it('reads an unchanged poll, which carries no rows at all', () => { - // Conditional unchanged replies contain no rows; requiring worktrees would reject valid polls. - const unchanged = reads(worktreeCatalogSchema, { unchanged: true, snapshotId: 's-1' }) - expect(unchanged.unchanged).toBe(true) - expect(unchanged.worktrees).toBe(undefined) - }) - - it('leaves the rows opaque for the three screens that each project their own', () => { - const rows = [{ worktreeId: 'w-1', displayName: 'One' }, 'not-a-row'] - expect(reads(worktreeCatalogSchema, { worktrees: rows }).worktrees).toEqual(rows) - }) - - it('names a reply that is not a catalog envelope', () => { - expect(refuses(worktreeCatalogSchema, null)).toBe(true) - expect(refuses(worktreeCatalogSchema, undefined)).toBe(true) - }) - - it('drops a worktrees that is not an array, as Array.isArray did', () => { - expect(reads(worktreeCatalogSchema, { worktrees: 'all' }).worktrees).toBe(undefined) - }) -}) - -describe('the retired-name registry stays opaque', () => { - it('takes every shape readRetiredNameRegistryForRepo guards', () => { - expect(refuses(retiredWorktreeNamesSchema, null)).toBe(false) - expect(refuses(retiredWorktreeNamesSchema, undefined)).toBe(false) - expect(refuses(retiredWorktreeNamesSchema, { retiredNamesByRepo: { 'repo-1': ['a'] } })).toBe( - false - ) - }) -}) diff --git a/mobile/src/worktree/worktree-host-health.test.ts b/mobile/src/worktree/worktree-host-health.test.ts deleted file mode 100644 index 312cd871892..00000000000 --- a/mobile/src/worktree/worktree-host-health.test.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { buildSshHostHealthById, getHostHealthBadgeLabel } from './worktree-host-health' - -describe('buildSshHostHealthById', () => { - it('derives each SSH host health from its lifecycle, keyed by canonical host id', () => { - const health = buildSshHostHealthById([ - { id: 'up', connected: true, connectionStatus: 'connected' }, - { id: 'relay', connected: false, connectionStatus: 'deploying-relay' }, - { id: 'retry', connected: false, connectionStatus: 'reconnecting' }, - { id: 'down', connected: false, connectionStatus: 'disconnected' }, - { id: 'auth', connected: false, connectionStatus: 'auth-failed' }, - { id: 'never', connected: false }, - { id: 'ssh:canonical', connected: false, connectionStatus: 'connecting' } - ]) - expect(Object.fromEntries(health)).toEqual({ - 'ssh:up': 'available', - 'ssh:relay': 'connecting', - 'ssh:retry': 'connecting', - 'ssh:down': 'disconnected', - 'ssh:auth': 'error', - // Same verdict as the desktop sidebar for a target with no lifecycle state yet. - 'ssh:never': 'disconnected', - 'ssh:canonical': 'connecting' - }) - }) - - it('reports nothing for a desktop that predates lifecycle fields or a status it cannot read', () => { - const health = buildSshHostHealthById([ - { id: 'old-desktop' }, - { id: 'future', connected: false, connectionStatus: 'hibernating' } - ]) - expect(health.size).toBe(0) - }) -}) - -describe('getHostHealthBadgeLabel', () => { - it('uses the desktop sidebar words for unhealthy hosts only', () => { - expect(getHostHealthBadgeLabel('disconnected')).toBe('Disconnected') - expect(getHostHealthBadgeLabel('connecting')).toBe('Connecting') - expect(getHostHealthBadgeLabel('error')).toBe('Needs attention') - expect(getHostHealthBadgeLabel('blocked')).toBe('Update needed') - expect(getHostHealthBadgeLabel('available')).toBeUndefined() - expect(getHostHealthBadgeLabel('local')).toBeUndefined() - expect(getHostHealthBadgeLabel(undefined)).toBeUndefined() - }) -}) diff --git a/mobile/src/worktree/worktree-host-row-identity.test.ts b/mobile/src/worktree/worktree-host-row-identity.test.ts index 94b224556eb..8130eebde25 100644 --- a/mobile/src/worktree/worktree-host-row-identity.test.ts +++ b/mobile/src/worktree/worktree-host-row-identity.test.ts @@ -37,18 +37,6 @@ describe('removeWorktreeRow', () => { expect(removeWorktreeRow([local, remote], local)).toEqual([remote]) }) - - it('removes the matching row', () => { - const only = row('shared', 'ssh:a') - - expect(removeWorktreeRow([only], only)).toEqual([]) - }) -}) - -describe('getWorktreeRowIdentity', () => { - it('uses the shared host-qualified identity format', () => { - expect(getWorktreeRowIdentity(row('shared', 'ssh:builder'))).toBe('ssh:builder|shared') - }) }) describe('host-qualified row display state', () => { @@ -87,31 +75,6 @@ describe('host-qualified row display state', () => { expect([...retained]).toEqual([]) }) - it('indexes confirmed identities once instead of rescanning for every slept row', () => { - const rowCount = 64 - let worktreeIdReads = 0 - const confirmed = Array.from({ length: rowCount }, (_, index) => { - const worktree = row(`worktree-${index}`, `ssh:host-${index}`, { liveTerminalCount: 1 }) - Object.defineProperty(worktree, 'worktreeId', { - configurable: true, - get: () => { - worktreeIdReads += 1 - return `worktree-${index}` - } - }) - return worktree - }) - const previous = new Set( - Array.from({ length: rowCount }, (_, index) => { - const reversed = rowCount - index - 1 - return `ssh:host-${reversed}|worktree-${reversed}` - }) - ) - - expect(retainLiveSleptWorktreeIdentities(previous, confirmed)).toBe(previous) - expect(worktreeIdReads).toBe(rowCount) - }) - it('applies active and slept overrides to the matching host row only', () => { const local = row('shared', 'ssh:a') const remote = row('shared', 'ssh:b') diff --git a/mobile/src/worktree/worktree-list-snapshot.test.ts b/mobile/src/worktree/worktree-list-snapshot.test.ts deleted file mode 100644 index a56a17e8a28..00000000000 --- a/mobile/src/worktree/worktree-list-snapshot.test.ts +++ /dev/null @@ -1,226 +0,0 @@ -import { join } from 'node:path' -import { describe, expect, it } from 'vitest' -import type { RuntimeWorktreeAgentRow } from '../../../src/shared/runtime-types' -import type { Worktree } from './workspace-list-sections' -import { areWorktreeListsEqual } from './worktree-list-snapshot' - -function agent(overrides: Partial = {}): RuntimeWorktreeAgentRow { - return { - paneKey: 'agent-1', - parentPaneKey: null, - state: 'working', - agentType: 'codex', - prompt: 'fix mobile lag', - taskTitle: null, - displayName: null, - lastAssistantMessage: null, - toolName: null, - toolInput: null, - interrupted: false, - stateStartedAt: 100, - updatedAt: 200, - ...overrides - } -} - -function done( - outcome: 'success' | 'failure', - stateStartedAt = 1 -): NonNullable { - return { state: 'done', outcome, stateStartedAt } -} - -function worktree(overrides: Partial = {}): Worktree { - const worktreePath = join('/tmp', 'orca', 'worktrees', 'manta') - return { - worktreeId: `repo-1::${worktreePath}`, - repoId: 'repo-1', - repo: 'orca', - branch: 'feature/mobile-lag', - displayName: 'manta', - workspaceStatus: 'in-progress', - path: worktreePath, - liveTerminalCount: 1, - hasAttachedPty: true, - unread: false, - lastOutputAt: 1234, - isPinned: false, - isActive: false, - linkedPR: null, - linkedIssue: null, - linkedLinearIssue: null, - linkedGitLabMR: null, - linkedGitLabIssue: null, - comment: '', - status: 'active', - agents: [], - ...overrides - } -} - -describe('areWorktreeListsEqual', () => { - it('treats cloned snapshots with the same visible fields as equal', () => { - const first = [worktree({ agents: [agent()] })] - const second = [worktree({ agents: [agent()] })] - - expect(areWorktreeListsEqual(first, second)).toBe(true) - }) - - it('detects order and field changes that affect the host list', () => { - const first = [worktree({ worktreeId: 'a' }), worktree({ worktreeId: 'b' })] - const reordered = [worktree({ worktreeId: 'b' }), worktree({ worktreeId: 'a' })] - const renamed = [ - worktree({ worktreeId: 'a', displayName: 'renamed' }), - worktree({ worktreeId: 'b' }) - ] - - expect(areWorktreeListsEqual(first, reordered)).toBe(false) - expect(areWorktreeListsEqual(first, renamed)).toBe(false) - }) - - it('detects host visibility field changes', () => { - expect(areWorktreeListsEqual([worktree()], [worktree({ isArchived: true })])).toBe(false) - expect(areWorktreeListsEqual([worktree()], [worktree({ isMainWorktree: true })])).toBe(false) - expect(areWorktreeListsEqual([worktree()], [worktree({ hasHostSidebarActivity: true })])).toBe( - false - ) - }) - - it('detects workspace status changes', () => { - expect( - areWorktreeListsEqual( - [worktree({ workspaceStatus: 'in-progress' })], - [worktree({ workspaceStatus: 'in-review' })] - ) - ).toBe(false) - }) - - it('detects manual order changes', () => { - expect( - areWorktreeListsEqual( - [worktree({ manualOrder: 10, sortOrder: 1 })], - [worktree({ manualOrder: 20, sortOrder: 1 })] - ) - ).toBe(false) - }) - - it('detects desktop ordering field changes', () => { - expect( - areWorktreeListsEqual( - [worktree({ lastActivityAt: 10, createdAt: 1 })], - [worktree({ lastActivityAt: 20, createdAt: 1 })] - ) - ).toBe(false) - expect( - areWorktreeListsEqual( - [worktree({ lastActivityAt: 10, createdAt: 1 })], - [worktree({ lastActivityAt: 10, createdAt: 2 })] - ) - ).toBe(false) - }) - - it('detects resume host and terminal platform changes', () => { - expect(areWorktreeListsEqual([worktree()], [worktree({ hostId: 'ssh:box' })])).toBe(false) - expect( - areWorktreeListsEqual( - [worktree({ terminalPlatform: 'win32' })], - [worktree({ terminalPlatform: 'linux' })] - ) - ).toBe(false) - }) - - it('detects lineage changes', () => { - const base = worktree({ worktreeId: 'child', parentWorktreeId: 'parent-a' }) - const changedParent = worktree({ worktreeId: 'child', parentWorktreeId: 'parent-b' }) - const changedChildren = worktree({ - worktreeId: 'child', - parentWorktreeId: 'parent-a', - childWorktreeIds: ['grandchild'] - }) - - expect(areWorktreeListsEqual([base], [changedParent])).toBe(false) - expect(areWorktreeListsEqual([base], [changedChildren])).toBe(false) - }) - - it('detects lineage instance changes', () => { - const base = worktree({ - worktreeId: 'child', - parentWorktreeId: 'parent', - worktreeInstanceId: 'child-instance', - lineageWorktreeInstanceId: 'child-instance', - parentWorktreeInstanceId: 'parent-instance' - }) - const changedParentInstance = worktree({ - worktreeId: 'child', - parentWorktreeId: 'parent', - worktreeInstanceId: 'child-instance', - lineageWorktreeInstanceId: 'child-instance', - parentWorktreeInstanceId: 'new-parent-instance' - }) - - expect(areWorktreeListsEqual([base], [changedParentInstance])).toBe(false) - }) - - it('detects agent status changes', () => { - const first = [worktree({ agents: [agent({ state: 'working' })] })] - const second = [worktree({ agents: [agent({ state: 'waiting' })] })] - - expect(areWorktreeListsEqual(first, second)).toBe(false) - }) - - it('detects a verdict change that leaves the interrupted flag as it was', () => { - const first = [worktree({ agents: [agent({ state: 'done', mainAgent: done('success') })] })] - const second = [worktree({ agents: [agent({ state: 'done', mainAgent: done('failure') })] })] - - expect(areWorktreeListsEqual(first, second)).toBe(false) - }) - - it('detects a main agent failing while its subagents keep the row working', () => { - const first = [worktree({ agents: [agent({ state: 'working' })] })] - const second = [worktree({ agents: [agent({ state: 'working', mainAgent: done('failure') })] })] - - expect(areWorktreeListsEqual(first, second)).toBe(false) - }) - - it('detects the main agent clock moving, which dates a failure', () => { - const at = (stateStartedAt: number) => [ - worktree({ - agents: [agent({ state: 'working', mainAgent: done('failure', stateStartedAt) })] - }) - ] - - expect(areWorktreeListsEqual(at(1), at(2))).toBe(false) - expect(areWorktreeListsEqual(at(1), at(1))).toBe(true) - }) - - // Stopping may change without advancing any row clock. - it("detects the host's Stopping coming and going with nothing else moved", () => { - const stopping = (value: boolean) => [ - worktree({ - agents: [ - agent({ - mainAgent: { state: 'working', stateStartedAt: 1, ...(value ? { stopping: true } : {}) } - }) - ] - }) - ] - - expect(areWorktreeListsEqual(stopping(false), stopping(true))).toBe(false) - expect(areWorktreeListsEqual(stopping(true), stopping(false))).toBe(false) - expect(areWorktreeListsEqual(stopping(true), stopping(true))).toBe(true) - }) - - it('detects monitoring mode changes within working', () => { - const first = [worktree({ agents: [agent({ state: 'working' })] })] - const second = [worktree({ agents: [agent({ state: 'working', workingMode: 'monitoring' })] })] - - expect(areWorktreeListsEqual(first, second)).toBe(false) - }) - - it('detects workspace monitoring mode changes within working', () => { - const first = [worktree({ status: 'working' })] - const second = [worktree({ status: 'working', workingMode: 'monitoring' })] - - expect(areWorktreeListsEqual(first, second)).toBe(false) - }) -}) diff --git a/mobile/src/worktree/worktree-meta-glyph-presence.test.ts b/mobile/src/worktree/worktree-meta-glyph-presence.test.ts deleted file mode 100644 index 658f3e1b522..00000000000 --- a/mobile/src/worktree/worktree-meta-glyph-presence.test.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - DEFAULT_WORKTREE_CARD_PROPERTIES, - getWorktreeCardDetails -} from '../../../src/shared/worktree/card-properties' -import type { Worktree } from './workspace-list-types' -import { getWorktreeMetaGlyphPresence } from './worktree-meta-glyph-presence' - -const ALL = getWorktreeCardDetails(DEFAULT_WORKTREE_CARD_PROPERTIES, { - compactWorktreeCards: false, - newCardStyle: false -}) - -const row: Worktree = { - worktreeId: 'w', - repoId: 'r', - repo: 'orca', - path: '/w', - branch: 'b', - displayName: 'w', - liveTerminalCount: 0, - hasAttachedPty: false, - unread: false, - isPinned: false, - linkedPR: null -} - -describe('getWorktreeMetaGlyphPresence', () => { - it('shows each fact the row carries and its property turns on', () => { - expect( - getWorktreeMetaGlyphPresence( - { - ...row, - comment: ' note ', - automationCreated: true, - cliCreated: true, - linkedIssue: 3, - linkedLinearIssue: 'ENG-1', - linkedGitLabMR: 4, - linkedItems: [{ provider: 'jira', type: 'issue', number: 1 }] - }, - ALL - ) - ).toEqual({ - notes: true, - automation: true, - cli: true, - issue: true, - jira: true, - linear: true, - gitLabMR: true - }) - }) - - it('shows none for a bare row, or when the properties are off', () => { - const none = getWorktreeCardDetails([], { compactWorktreeCards: false, newCardStyle: false }) - expect(Object.values(getWorktreeMetaGlyphPresence(row, ALL)).some(Boolean)).toBe(false) - expect( - Object.values( - getWorktreeMetaGlyphPresence( - { - ...row, - comment: 'note', - automationCreated: true, - cliCreated: true, - linkedIssue: 3, - linkedLinearIssue: 'ENG-1', - linkedGitLabMR: 4, - linkedItems: [{ provider: 'jira', type: 'issue', number: 1 }] - }, - none - ) - ).some(Boolean) - ).toBe(false) - }) - - it('finds only a linked Jira issue, and reads an unchecked list without throwing', () => { - const jiraFor = (linkedItems: unknown) => - getWorktreeMetaGlyphPresence( - // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: rows reach the phone unchecked; this feeds the malformed shapes a host could send. - { ...row, linkedItems } as Worktree, - ALL - ).jira - expect(jiraFor([{ provider: 'linear', type: 'issue', number: 1 }])).toBe(false) - expect(jiraFor([{ provider: 'jira', type: 'pr', number: 1 }])).toBe(false) - expect(jiraFor('jira')).toBe(false) - expect(jiraFor([null, 3])).toBe(false) - }) -}) diff --git a/mobile/web-entry/index.tsx b/mobile/web-entry/index.tsx index a2da5aad055..df11b8b7952 100644 --- a/mobile/web-entry/index.tsx +++ b/mobile/web-entry/index.tsx @@ -17,6 +17,7 @@ import { type PageMountTarget } from '../src/mobile-web-shell/bridge/page-bootstrap' import { storageReadResultSchema } from '../src/mobile-web-shell/bridge/bridge-native-verbs' +import { BRIDGE_HOST_CATALOGS_GRANT } from '../src/mobile-web-shell/bridge/bridge-frame-fields' import { publishPageStorage, refreshPageTerminalSettings @@ -33,6 +34,7 @@ import { PageFaultBoundary } from '../src/mobile-web-shell/bridge/page-fault-bou import type { BridgeUiLocale } from '../src/mobile-web-shell/bridge/bridge-envelope' import { BRIDGE_OPEN_ROUTE_PARAM } from '../src/mobile-web-shell/bridge/bridge-route-update' import { activateMobileUiLocale, subscribeMobileUiLanguage } from '../src/i18n/mobile-i18n' +import { startPageLocaleCatalogs } from '../src/i18n/page-locale-catalog-source' import { getUiIntlLocale } from '../src/i18n/ui-intl-locale' import { readDeviceUiLocaleTags, resolveUiLocaleFromTags } from '../src/i18n/system-ui-locale' import { publishPageHostProfile } from '../src/mobile-web-shell/bridge/page-host-profile' @@ -158,6 +160,12 @@ bootstrapShellPage({ // Apply before the first render so no component paints the default dark palette first. applyMobileColorScheme(session.colorScheme) client.onColorSchemeUpdate(applyMobileColorScheme) + const deviceStore = createPageDeviceStore(client) + publishPageDeviceStore(deviceStore) + // A shell that skipped the catalog chunks has the page read its catalog from the desktop; before the first load. + if (session.grants.native.includes(BRIDGE_HOST_CATALOGS_GRANT)) { + startPageLocaleCatalogs({ client, store: deviceStore }) + } // Subscribe before the first catalog load so a switch during startup is not lost; the latest request wins. let uiLocaleActivation = activatePageUiLocale(session.uiLocale) client.onUiLocaleUpdate((locale) => { @@ -187,8 +195,6 @@ bootstrapShellPage({ ).value : null ) - const deviceStore = createPageDeviceStore(client) - publishPageDeviceStore(deviceStore) // An open-target boot paints the shell's target first, so that is the screen to preload and restore. const route = bootRoute(session.route?.params?.[BRIDGE_OPEN_ROUTE_PARAM]) const queryClient = createOrcaQueryClient() diff --git a/mobile/web-entry/web-overrides.json b/mobile/web-entry/web-overrides.json index 954c12892fb..52e4bca5ba5 100644 --- a/mobile/web-entry/web-overrides.json +++ b/mobile/web-entry/web-overrides.json @@ -26,19 +26,23 @@ "reason": "The page is one document standing in for one screen, so a route it does not render has to be handed to the app that does. The native file is the router; this one posts a navigate notify for a target outside the page's routes and pushes locally for one inside them." }, { - "file": "src/transport/hosts/host-store.web.ts", + "file": "src/host-catalog/host-store.web.ts", "reason": "expo-secure-store resolves to {} on web, so the real store answers loadHosts() with an empty array and every screen that looks this host up paints \"Host not found\" over the host the shell just opened. This one serves the profile init carried, without the credential the bridge already holds." }, { - "file": "src/transport/hosts/host-descriptor-persistence.web.ts", + "file": "src/host-catalog/host-connection-history.web.ts", + "reason": "Recency belongs to the native host list. The host-served page retains the existing no-op and imports no native metadata mutation queue." + }, + { + "file": "src/host-descriptors/host-descriptor-persistence.web.ts", "reason": "Last-known descriptors belong to the native host list; the page owns no descriptor persistence." }, { - "file": "src/transport/hosts/host-removal-lifecycle.web.ts", + "file": "src/host-catalog/host-removal-lifecycle.web.ts", "reason": "Removing a host is pairing work and the page holds neither the host list nor the credential, so the real lifecycle's removeHost resolved without doing anything and the screen reported success for a host that was still paired. This one refuses with PageHostRemovalUnavailableError, whose message names the app's host list. It is also the fence that keeps push-registration.ts out of the page bundle: the native file's import of it was that subsystem's only path into a page route, and the page has neither the device token nor the gateway client push needs." }, { - "file": "src/transport/hosts/host-device-token-store.web.ts", + "file": "src/host-credentials/host-device-token-store.web.ts", "reason": "expo-secure-store resolves to {} on web, and the bridge carries the RPC, so the page holds no device token." }, { @@ -198,7 +202,7 @@ "reason": "react-native-web's keydown handler withholds onSubmitEditing whenever the Enter keydown reports a composition — nativeEvent.isComposing, or the Android keyCode 229 that stands for it — which is a soft keyboard's normal state mid-word, so Enter on the page neither sent the line nor cleared the field while native Android's editor action fired as it always does. Both terminal fields reach their send through onSubmitEditing alone and both are bound here: the live input's carriage return, and the buffered command field's draft. The native file binds nothing, because that editor action needs no help; this one listens for beforeinput and acts on insertLineBreak and insertParagraph, the browser's own end-of-line signals. react-native-web calls preventDefault on every keydown it does submit on, so those events exist only in the cases it dropped and never produce a second carriage return; an IME still choosing a candidate reports insertCompositionText and is left alone." }, { - "file": "src/transport/hosts/host-app-version-store.web.ts", + "file": "src/host-descriptors/host-app-version-store.web.ts", "reason": "The page keeps no record of the host's status.get app version because nothing in it reads one — the reader is the native troubleshoot screen's — and a key the page only writes is not page state, so it is not admitted through page-storage-keys.ts and every mount's write was refused and logged instead." }, { diff --git a/native/computer-use-macos/Sources/OrcaComputerUseMacOS/main.swift b/native/computer-use-macos/Sources/OrcaComputerUseMacOS/main.swift index a1541e50c4e..082516b941e 100644 --- a/native/computer-use-macos/Sources/OrcaComputerUseMacOS/main.swift +++ b/native/computer-use-macos/Sources/OrcaComputerUseMacOS/main.swift @@ -3155,15 +3155,18 @@ private final class AgentRuntime: NSObject, NSApplicationDelegate { private final class PermissionRuntime: NSObject, NSApplicationDelegate { private let initialPermission: PermissionKind? + private let copy: PermissionWindowCopy private var windowController: PermissionWindowController? - init(initialPermission: PermissionKind?) { + init(initialPermission: PermissionKind?, copy: PermissionWindowCopy) { self.initialPermission = initialPermission + self.copy = copy } func applicationDidFinishLaunching(_ notification: Notification) { windowController = PermissionWindowController( initialPermission: initialPermission, + copy: copy, terminateWhenDragAssistantCloses: initialPermission != nil ) if let initialPermission { @@ -3189,25 +3192,36 @@ private final class PermissionWindowController: NSWindowController { private var dragAssistant: PermissionDragAssistantController? private var dragAssistantPermission: PermissionKind? private let initialPermission: PermissionKind? + private let copy: PermissionWindowCopy private let terminateWhenDragAssistantCloses: Bool private var permissionStatusRefresh: PermissionStatusRefreshCoordinator? - convenience init(initialPermission: PermissionKind? = nil, terminateWhenDragAssistantCloses: Bool = false) { + convenience init( + initialPermission: PermissionKind? = nil, + copy: PermissionWindowCopy, + terminateWhenDragAssistantCloses: Bool = false + ) { let window = NSWindow( contentRect: NSRect(x: 0, y: 0, width: 300, height: 315), styleMask: [.titled, .closable, .miniaturizable, .fullSizeContentView], backing: .buffered, defer: false ) - window.title = "Enable Orca Computer Use" + window.title = copy.windowTitle window.titleVisibility = .hidden window.titlebarAppearsTransparent = true window.backgroundColor = PermissionPalette.background window.center() window.isReleasedWhenClosed = false - self.init(window: window, initialPermission: initialPermission, terminateWhenDragAssistantCloses: terminateWhenDragAssistantCloses) + self.init( + window: window, + initialPermission: initialPermission, + copy: copy, + terminateWhenDragAssistantCloses: terminateWhenDragAssistantCloses + ) window.contentView = PermissionView( frame: window.contentView?.bounds ?? .zero, + copy: copy, showDragAssistant: { [weak self] permission in self?.showDragAssistant(for: permission) }, @@ -3217,8 +3231,14 @@ private final class PermissionWindowController: NSWindowController { ) } - init(window: NSWindow?, initialPermission: PermissionKind?, terminateWhenDragAssistantCloses: Bool) { + init( + window: NSWindow?, + initialPermission: PermissionKind?, + copy: PermissionWindowCopy, + terminateWhenDragAssistantCloses: Bool + ) { self.initialPermission = initialPermission + self.copy = copy self.terminateWhenDragAssistantCloses = terminateWhenDragAssistantCloses super.init(window: window) permissionStatusRefresh = PermissionStatusRefreshCoordinator( @@ -3240,6 +3260,7 @@ private final class PermissionWindowController: NSWindowController { dragAssistantPermission = permission dragAssistant = PermissionDragAssistantController( permission: permission, + copy: copy, fallbackVisibleFrame: window?.screen?.visibleFrame, onRefreshPermissions: { [weak self] in self?.refreshPermissions() @@ -3322,39 +3343,39 @@ private enum PermissionKind: CaseIterable { } } - var dragInstruction: String { + func dragInstruction(copy: PermissionWindowCopy) -> String { switch self { case .accessibility: - "Drag Orca Computer Use into the list above to allow Accessibility." + copy.dragAccessibilityInstruction case .screenshots: - "Drag Orca Computer Use into the list above to allow Screenshots." + copy.dragScreenshotsInstruction } } - var title: String { + func title(copy: PermissionWindowCopy) -> String { switch self { case .accessibility: - "Accessibility" + copy.accessibilityTitle case .screenshots: - "Screenshots" + copy.screenshotsTitle } } - var detail: String { + func detail(copy: PermissionWindowCopy) -> String { switch self { case .accessibility: - "Read and control app interfaces" + copy.accessibilityDetail case .screenshots: - "Capture windows for visual state" + copy.screenshotsDetail } } - var icon: NSImage { + func icon(copy: PermissionWindowCopy) -> NSImage { switch self { case .accessibility: - NSImage(systemSymbolName: "figure", accessibilityDescription: "Accessibility") ?? NSImage() + NSImage(systemSymbolName: "figure", accessibilityDescription: copy.accessibilityTitle) ?? NSImage() case .screenshots: - NSImage(systemSymbolName: "camera.viewfinder", accessibilityDescription: "Screen Recording") ?? NSImage() + NSImage(systemSymbolName: "camera.viewfinder", accessibilityDescription: copy.screenRecordingDescription) ?? NSImage() } } @@ -3380,13 +3401,20 @@ private enum PermissionKind: CaseIterable { private final class PermissionView: NSView { private let appURL = Bundle.main.bundleURL + private let copy: PermissionWindowCopy private let showDragAssistant: (PermissionKind) -> Void private let close: () -> Void private var contentStack: NSStackView? private var contentConstraints: [NSLayoutConstraint] = [] private var permissionStatus: PermissionStatusSnapshot? - init(frame frameRect: NSRect, showDragAssistant: @escaping (PermissionKind) -> Void, close: @escaping () -> Void) { + init( + frame frameRect: NSRect, + copy: PermissionWindowCopy, + showDragAssistant: @escaping (PermissionKind) -> Void, + close: @escaping () -> Void + ) { + self.copy = copy self.showDragAssistant = showDragAssistant self.close = close super.init(frame: frameRect) @@ -3428,15 +3456,15 @@ private final class PermissionView: NSView { let ready = !checking && missingPermissions.isEmpty let titleText = checking - ? "Checking Computer Use" - : (ready ? "Computer Use is Ready" : "Enable Orca Computer Use") + ? copy.checkingTitle + : (ready ? copy.readyTitle : copy.enableTitle) let title = label(titleText, size: 22, weight: .bold) let subtitle = label( checking - ? "Checking Accessibility and Screenshots." + ? copy.checkingSubtitle : (ready - ? "Orca can use local apps when you ask." - : "Grant permissions so Orca can use apps when you ask."), + ? copy.readySubtitle + : copy.permissionSubtitle), size: 12, weight: .regular ) @@ -3497,13 +3525,13 @@ private final class PermissionView: NSView { row.layer?.backgroundColor = PermissionPalette.card.cgColor row.translatesAutoresizingMaskIntoConstraints = false - let iconView = NSImageView(image: permission.icon) + let iconView = NSImageView(image: permission.icon(copy: copy)) iconView.symbolConfiguration = NSImage.SymbolConfiguration(pointSize: 30, weight: .regular) iconView.contentTintColor = .controlAccentColor iconView.translatesAutoresizingMaskIntoConstraints = false - let titleLabel = label(permission.title, size: 13, weight: .bold) - let detailLabel = label(permission.detail, size: 11, weight: .regular) + let titleLabel = label(permission.title(copy: copy), size: 13, weight: .bold) + let detailLabel = label(permission.detail(copy: copy), size: 11, weight: .regular) detailLabel.textColor = PermissionPalette.secondaryText let textStack = NSStackView(views: [titleLabel, detailLabel]) textStack.orientation = .vertical @@ -3511,7 +3539,7 @@ private final class PermissionView: NSView { textStack.spacing = 4 textStack.translatesAutoresizingMaskIntoConstraints = false - let button = NSButton(title: "Allow", target: nil, action: nil) + let button = NSButton(title: copy.allowButton, target: nil, action: nil) button.bezelStyle = .rounded button.controlSize = .regular button.font = NSFont.systemFont(ofSize: 13, weight: .semibold) @@ -3521,8 +3549,8 @@ private final class PermissionView: NSView { .foregroundColor: NSColor.white, .font: NSFont.systemFont(ofSize: 13, weight: .semibold) ] - button.attributedTitle = NSAttributedString(string: "Allow", attributes: buttonTitleAttributes) - button.attributedAlternateTitle = NSAttributedString(string: "Allow", attributes: buttonTitleAttributes) + button.attributedTitle = NSAttributedString(string: copy.allowButton, attributes: buttonTitleAttributes) + button.attributedAlternateTitle = NSAttributedString(string: copy.allowButton, attributes: buttonTitleAttributes) let target = ButtonTarget(action) button.target = target button.action = #selector(ButtonTarget.run) @@ -3550,7 +3578,7 @@ private final class PermissionView: NSView { } private func doneButton() -> NSView { - let button = NSButton(title: "Done", target: nil, action: nil) + let button = NSButton(title: copy.doneButton, target: nil, action: nil) button.bezelStyle = .rounded button.controlSize = .regular button.font = NSFont.systemFont(ofSize: 13, weight: .semibold) @@ -3560,8 +3588,8 @@ private final class PermissionView: NSView { .foregroundColor: NSColor.white, .font: NSFont.systemFont(ofSize: 13, weight: .semibold) ] - button.attributedTitle = NSAttributedString(string: "Done", attributes: buttonTitleAttributes) - button.attributedAlternateTitle = NSAttributedString(string: "Done", attributes: buttonTitleAttributes) + button.attributedTitle = NSAttributedString(string: copy.doneButton, attributes: buttonTitleAttributes) + button.attributedAlternateTitle = NSAttributedString(string: copy.doneButton, attributes: buttonTitleAttributes) let target = ButtonTarget(close) button.target = target button.action = #selector(ButtonTarget.run) @@ -3598,6 +3626,7 @@ private final class PermissionDragAssistantController: NSWindowController { convenience init( permission: PermissionKind, + copy: PermissionWindowCopy, fallbackVisibleFrame: NSRect?, onRefreshPermissions: @escaping () -> Void, onClose: @escaping () -> Void @@ -3608,7 +3637,7 @@ private final class PermissionDragAssistantController: NSWindowController { backing: .buffered, defer: false ) - window.title = "Drag Orca Computer Use" + window.title = copy.dragWindowTitle window.backgroundColor = .clear window.isOpaque = false window.isReleasedWhenClosed = false @@ -3627,7 +3656,11 @@ private final class PermissionDragAssistantController: NSWindowController { onRefreshPermissions: onRefreshPermissions, onClose: onClose ) - window.contentView = PermissionDragAssistantView(permission: permission, appURL: Bundle.main.bundleURL) { [weak self] in + window.contentView = PermissionDragAssistantView( + permission: permission, + copy: copy, + appURL: Bundle.main.bundleURL + ) { [weak self] in self?.dismissFromCloseButton() } } @@ -3902,11 +3935,18 @@ private final class PermissionDragAssistantController: NSWindowController { private final class PermissionDragAssistantView: NSView { private let permission: PermissionKind + private let copy: PermissionWindowCopy private let appURL: URL private let close: () -> Void - init(permission: PermissionKind, appURL: URL, close: @escaping () -> Void) { + init( + permission: PermissionKind, + copy: PermissionWindowCopy, + appURL: URL, + close: @escaping () -> Void + ) { self.permission = permission + self.copy = copy self.appURL = appURL self.close = close super.init(frame: .zero) @@ -3927,7 +3967,10 @@ private final class PermissionDragAssistantView: NSView { let closeButton = NSButton(title: "", target: nil, action: nil) closeButton.bezelStyle = .shadowlessSquare closeButton.isBordered = false - closeButton.image = NSImage(systemSymbolName: "xmark", accessibilityDescription: "Close") + closeButton.image = NSImage( + systemSymbolName: "xmark", + accessibilityDescription: copy.closeButtonDescription + ) closeButton.imagePosition = .imageOnly closeButton.contentTintColor = PermissionPalette.secondaryText closeButton.controlSize = .small @@ -3937,7 +3980,7 @@ private final class PermissionDragAssistantView: NSView { closeButton.action = #selector(ButtonTarget.run) objc_setAssociatedObject(closeButton, "orca-action", target, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) - let instruction = label(permission.dragInstruction, size: 12, weight: .semibold) + let instruction = label(permission.dragInstruction(copy: copy), size: 12, weight: .semibold) instruction.textColor = PermissionPalette.primaryText instruction.maximumNumberOfLines = 2 @@ -4360,9 +4403,12 @@ private func runAgent(socketPath: String, token: String?) { } @MainActor -private func runPermissionCheck(initialPermission: PermissionKind? = nil) { +private func runPermissionCheck( + initialPermission: PermissionKind? = nil, + copy: PermissionWindowCopy +) { let app = NSApplication.shared - let delegate = PermissionRuntime(initialPermission: initialPermission) + let delegate = PermissionRuntime(initialPermission: initialPermission, copy: copy) app.delegate = delegate // Why: setup must foreground reliably; the long-running agent path stays accessory-only. app.setActivationPolicy(.regular) @@ -4486,6 +4532,11 @@ private func writeAll(_ data: Data, to fd: Int32) -> Bool { } let arguments = Array(CommandLine.arguments.dropFirst()) +let permissionLocale = arguments.firstIndex(of: "--locale").flatMap { index -> String? in + let valueIndex = index + 1 + return valueIndex < arguments.count ? arguments[valueIndex] : nil +} +let permissionCopy = PermissionWindowCopy(localeIdentifier: permissionLocale) if arguments.first == "--agent" { guard arguments.count >= 2 else { fputs("usage: orca-computer-use-macos --agent --token-file \n", stderr) @@ -4505,9 +4556,12 @@ if arguments.first == "--agent" { } runAgent(socketPath: arguments[1], token: token) } else if arguments.first == "--permissions" { - runPermissionCheck() + runPermissionCheck(copy: permissionCopy) } else if arguments.first == "--permission" { - runPermissionCheck(initialPermission: PermissionKind.parse(arguments.dropFirst().first)) + runPermissionCheck( + initialPermission: PermissionKind.parse(arguments.dropFirst().first), + copy: permissionCopy + ) } else if arguments.first == "--permission-status" { printPermissionStatus() } else if arguments.first == "--permission-status-file" { diff --git a/native/computer-use-macos/Sources/OrcaComputerUseMacOSCore/PermissionWindowCopy.swift b/native/computer-use-macos/Sources/OrcaComputerUseMacOSCore/PermissionWindowCopy.swift new file mode 100644 index 00000000000..ec8711d2873 --- /dev/null +++ b/native/computer-use-macos/Sources/OrcaComputerUseMacOSCore/PermissionWindowCopy.swift @@ -0,0 +1,116 @@ +import Foundation + +public struct PermissionWindowCopy: Equatable, Sendable { + public let windowTitle: String + public let checkingTitle: String + public let readyTitle: String + public let enableTitle: String + public let checkingSubtitle: String + public let readySubtitle: String + public let permissionSubtitle: String + public let accessibilityTitle: String + public let accessibilityDetail: String + public let screenshotsTitle: String + public let screenshotsDetail: String + public let screenRecordingDescription: String + public let allowButton: String + public let doneButton: String + public let dragWindowTitle: String + public let dragAccessibilityInstruction: String + public let dragScreenshotsInstruction: String + public let closeButtonDescription: String + + public init(localeIdentifier: String?) { + let normalized = (localeIdentifier ?? "") + .trimmingCharacters(in: .whitespacesAndNewlines) + .lowercased() + .replacingOccurrences(of: "_", with: "-") + if normalized == "zh" || normalized.hasPrefix("zh-cn") || normalized.hasPrefix("zh-hans") { + self = Self.chinese + } else { + self = Self.english + } + } + + private static let english = PermissionWindowCopy( + windowTitle: "Enable Orca Computer Use", + checkingTitle: "Checking Computer Use", + readyTitle: "Computer Use is Ready", + enableTitle: "Enable Orca Computer Use", + checkingSubtitle: "Checking Accessibility and Screenshots.", + readySubtitle: "Orca can use local apps when you ask.", + permissionSubtitle: "Grant permissions so Orca can use apps when you ask.", + accessibilityTitle: "Accessibility", + accessibilityDetail: "Read and control app interfaces", + screenshotsTitle: "Screenshots", + screenshotsDetail: "Capture windows for visual state", + screenRecordingDescription: "Screen Recording", + allowButton: "Allow", + doneButton: "Done", + dragWindowTitle: "Drag Orca Computer Use", + dragAccessibilityInstruction: "Drag Orca Computer Use into the list above to allow Accessibility.", + dragScreenshotsInstruction: "Drag Orca Computer Use into the list above to allow Screenshots.", + closeButtonDescription: "Close" + ) + + private static let chinese = PermissionWindowCopy( + windowTitle: "启用 Orca 计算机使用功能", + checkingTitle: "正在检查计算机使用权限", + readyTitle: "计算机使用功能已就绪", + enableTitle: "启用 Orca 计算机使用功能", + checkingSubtitle: "正在检查辅助功能和屏幕截图权限。", + readySubtitle: "当你提出要求时,Orca 可以使用本地应用。", + permissionSubtitle: "授予权限,以便 Orca 在你提出要求时使用应用。", + accessibilityTitle: "辅助功能", + accessibilityDetail: "读取并控制应用界面", + screenshotsTitle: "屏幕截图", + screenshotsDetail: "捕获窗口以识别视觉状态", + screenRecordingDescription: "屏幕录制", + allowButton: "允许", + doneButton: "完成", + dragWindowTitle: "拖入 Orca Computer Use", + dragAccessibilityInstruction: "将 Orca Computer Use 拖入上方列表以允许辅助功能。", + dragScreenshotsInstruction: "将 Orca Computer Use 拖入上方列表以允许屏幕截图。", + closeButtonDescription: "关闭" + ) + + private init( + windowTitle: String, + checkingTitle: String, + readyTitle: String, + enableTitle: String, + checkingSubtitle: String, + readySubtitle: String, + permissionSubtitle: String, + accessibilityTitle: String, + accessibilityDetail: String, + screenshotsTitle: String, + screenshotsDetail: String, + screenRecordingDescription: String, + allowButton: String, + doneButton: String, + dragWindowTitle: String, + dragAccessibilityInstruction: String, + dragScreenshotsInstruction: String, + closeButtonDescription: String + ) { + self.windowTitle = windowTitle + self.checkingTitle = checkingTitle + self.readyTitle = readyTitle + self.enableTitle = enableTitle + self.checkingSubtitle = checkingSubtitle + self.readySubtitle = readySubtitle + self.permissionSubtitle = permissionSubtitle + self.accessibilityTitle = accessibilityTitle + self.accessibilityDetail = accessibilityDetail + self.screenshotsTitle = screenshotsTitle + self.screenshotsDetail = screenshotsDetail + self.screenRecordingDescription = screenRecordingDescription + self.allowButton = allowButton + self.doneButton = doneButton + self.dragWindowTitle = dragWindowTitle + self.dragAccessibilityInstruction = dragAccessibilityInstruction + self.dragScreenshotsInstruction = dragScreenshotsInstruction + self.closeButtonDescription = closeButtonDescription + } +} diff --git a/native/computer-use-macos/Tests/OrcaComputerUseMacOSTests/AttributeValueCoercionTests.swift b/native/computer-use-macos/Tests/OrcaComputerUseMacOSTests/AttributeValueCoercionTests.swift index 5fce41da36b..947a4c1da61 100644 --- a/native/computer-use-macos/Tests/OrcaComputerUseMacOSTests/AttributeValueCoercionTests.swift +++ b/native/computer-use-macos/Tests/OrcaComputerUseMacOSTests/AttributeValueCoercionTests.swift @@ -61,10 +61,4 @@ final class AttributeValueCoercionTests: XCTestCase { } } - func testDoubleValuePreservesDoubleKindForIntegralInput() { - let coercion = AttributeValueCoercion(existingValue: NSNumber(value: 2.5), requested: "3") - - XCTAssertEqual(coercion.writeValue, .double(3.0)) - } - } diff --git a/native/computer-use-macos/Tests/OrcaComputerUseMacOSTests/NumericArgumentParsingTests.swift b/native/computer-use-macos/Tests/OrcaComputerUseMacOSTests/NumericArgumentParsingTests.swift deleted file mode 100644 index f13ea3d7435..00000000000 --- a/native/computer-use-macos/Tests/OrcaComputerUseMacOSTests/NumericArgumentParsingTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -import XCTest -@testable import OrcaComputerUseMacOSCore - -final class NumericArgumentParsingTests: XCTestCase { - - - // Int(1e300) traps despite being finite; malformed requests must not crash the agent. - func testReturnsNilForOutOfRangeValues() { - XCTAssertNil(boundedInteger(1e300, as: Int.self)) - XCTAssertNil(boundedInteger(-1e300, as: Int.self)) - } -} diff --git a/package.json b/package.json index 3c157b155c9..2b0eeff64e5 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "test:changed": "node config/scripts/workspace-package-build/build-workspace-packages.mjs && node config/scripts/native-build/node-addons/ensure-native-runtime.mjs --runtime=node && node config/scripts/test-runtime/execution-policy/run-vitest.mjs run --config config/vitest.config.ts --changed=HEAD", "test:node": "pnpm run build:packages && node config/scripts/native-build/node-addons/ensure-native-runtime.mjs --runtime=node && vitest run --config config/vitest.config.ts", "test:node-server": "node config/scripts/ci/unit-selection/run-node-server-tests.mjs", - "test:skill-sharing:release": "vitest run --config config/vitest.config.ts src/main/skills src/main/runtime/rpc/methods/skills/skills.test.ts src/shared/skill-bundle-install-contract.test.ts src/shared/skill-package-manifest.test.ts", + "test:skill-sharing:release": "vitest run --config config/vitest.config.ts src/main/skills src/shared/skill-bundle-install-contract.test.ts src/shared/skill-package-manifest.test.ts", "test:repro:remote-agent-session": "pnpm run build:cli && pnpm run build:electron-vite && node config/scripts/diagnostics/remote-agent-authority/remote-agent-session-authority-repro.mjs", "capture:agent-transcript": "node config/scripts/native-build/node-addons/ensure-native-runtime.mjs --runtime=node && node config/scripts/diagnostics/terminal-transcripts/capture-agent-pty-transcript.mjs", "check:reliability-gates": "node config/scripts/static-analysis/reliability-policy/check-reliability-gates.mjs", @@ -61,6 +61,7 @@ "check:repo-host-read-ratchet": "node config/scripts/static-analysis/ratchets/renderer-state/check-repo-host-read-ratchet.mjs", "check:workspace-record-read-ratchet": "node config/scripts/static-analysis/ratchets/renderer-state/check-workspace-record-read-ratchet.mjs", "check:tab-map-seam-ratchet": "node config/scripts/static-analysis/ratchets/renderer-state/check-tab-map-seam-ratchet.mjs", + "check:terminal-parking-ownership-ratchet": "node config/scripts/static-analysis/ratchets/renderer-state/check-terminal-parking-ownership-ratchet.mjs", "check:worktree-id-composer-ratchet": "node config/scripts/static-analysis/ratchets/renderer-state/check-worktree-id-composer-ratchet.mjs", "check:direct-link-open-ratchet": "node config/scripts/static-analysis/ratchets/renderer-state/check-direct-link-open-ratchet.mjs", "check:e2e-typecheck-ratchet": "node config/scripts/typecheck/e2e-admission/check-e2e-typecheck-ratchet.mjs", @@ -141,6 +142,7 @@ "sync:localization-protected-copy": "node config/scripts/localization/catalog-validation/protected-copy-keys.mjs --fix", "verify:localization-extraction": "node config/scripts/localization/source-extraction/verify-localization-extraction.mjs", "verify:localization-coverage": "node config/scripts/localization/source-extraction/audit-localization-coverage.mjs --check", + "verify:startup-worktree-localization-coverage": "node config/scripts/localization/source-extraction/audit-localization-coverage.mjs --check --native-dialog-fields --source-root src/main/startup --source-root src/shared/worktree --allowlist config/startup-worktree-localization-allowlist.json", "verify:mobile-localization": "node config/scripts/localization/catalog-validation/verify-mobile-localization.mjs", "sync:mobile-localization": "node config/scripts/localization/catalog-validation/verify-mobile-localization.mjs --fix", "verify:mobile-localization-coverage": "node config/scripts/localization/source-extraction/audit-localization-coverage.mjs --check --source-root mobile/app --source-root mobile/src --source-root mobile/web-entry --allowlist config/mobile-localization-coverage-allowlist.json", @@ -379,7 +381,7 @@ "tailwind-merge": "^3.7.0", "tailwindcss": "^4.3.3", "tar": "7.5.22", - "tsrs": "0.18.0-ts7.1.0-dev.20260929", + "tsrs": "0.22.0-ts7.1.0-beta", "tw-animate-css": "^1.4.0", "typescript": "^7.0.2", "typescript-api": "npm:typescript@6.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 16c159b227e..59e5770f157 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -666,8 +666,8 @@ importers: specifier: 7.5.22 version: 7.5.22 tsrs: - specifier: 0.18.0-ts7.1.0-dev.20260929 - version: 0.18.0-ts7.1.0-dev.20260929 + specifier: 0.22.0-ts7.1.0-beta + version: 0.22.0-ts7.1.0-beta tw-animate-css: specifier: ^1.4.0 version: 1.4.0 @@ -4186,40 +4186,52 @@ packages: cpu: [x64] os: [win32] - '@tsrs/darwin-arm64@0.18.0-ts7.1.0-dev.20260929': - resolution: {integrity: sha512-sAirMpaGA9uRQm2W+t4zC7PjnijNuFa4PCSIfLKKo0JyAUCRfnMeev0UGBQ9F3g+9Nz187tvikUs5Irh5+eajA==} + '@tsrs/darwin-arm64@0.22.0-ts7.1.0-beta': + resolution: {integrity: sha512-mY0dMEtFxig4h5At3nByjZe8E4DTDPqqz73kkxQ6gqW5K9ym+u/VHQhtnpTF6ZOTkYyjP3bTaj5T8HcyoGVddA==} engines: {node: '>=16.20.0'} cpu: [arm64] os: [darwin] - '@tsrs/linux-arm64-gnu@0.18.0-ts7.1.0-dev.20260929': - resolution: {integrity: sha512-zm9/z9yylig68JiZF4Aq0Cm26n09KEU8YoQRlG7tdDWTBNAIViYw8knxnWYsjMWVZ2XiU4mYq1xdrOKuOgABHg==} + '@tsrs/darwin-x64@0.22.0-ts7.1.0-beta': + resolution: {integrity: sha512-dvsSnyU8rpI3OqTIH2xxjt9ThvZC52BsL6/LS69eWg7Ieq2oni1PnLels5gGTFqvHFoRbezi5Y0KY7PQ1OmK5w==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [darwin] + + '@tsrs/linux-arm64-gnu@0.22.0-ts7.1.0-beta': + resolution: {integrity: sha512-igg42LxSN/DHFqafvDqZW2JNBMH8WIwc1JE/IY4QUDOXNhZnUfDgEu9xo1QYwbgryeo5llmhRwM4CI/BQUWF1Q==} engines: {node: '>=16.20.0'} cpu: [arm64] os: [linux] libc: [glibc] - '@tsrs/linux-arm64-musl@0.18.0-ts7.1.0-dev.20260929': - resolution: {integrity: sha512-Lw7VVU/YQ9JcarODICEiwzMLdFqZprqh5RGTgbS5Uc6I95P635/g5xA1pOC8RVs4efBvAR30J54iDG3l5JEYiw==} + '@tsrs/linux-arm64-musl@0.22.0-ts7.1.0-beta': + resolution: {integrity: sha512-f0zCqMkxPof7QVwjdgA8Fb0n6BtX5MOdILH/xfS+He6gRLCoECky0ejbsgLWCpB06GMlsL1gCbDr0/tmc91APg==} engines: {node: '>=16.20.0'} cpu: [arm64] os: [linux] libc: [musl] - '@tsrs/linux-x64-gnu@0.18.0-ts7.1.0-dev.20260929': - resolution: {integrity: sha512-EdBwBgNICGu1r1h23ixdcKwsMo6E9ll7ZsY3mNERNYqE1Pwdtcat99d5E7zB1J+oy/Xk6YqiizaB6nolIjpDTw==} + '@tsrs/linux-x64-gnu@0.22.0-ts7.1.0-beta': + resolution: {integrity: sha512-/e511w7xXmxBf14paz8eMLUbmlIc33Sy1E00y1FqmnUK04FTotWl+80mNvIVX5NrlOOJgrh+B125t1CHWu/8vQ==} engines: {node: '>=16.20.0'} cpu: [x64] os: [linux] libc: [glibc] - '@tsrs/linux-x64-musl@0.18.0-ts7.1.0-dev.20260929': - resolution: {integrity: sha512-LHk+AOAtXuTlhJhOJ2+elriEIX17ycXljojeNxrrzckOipTG1LksoVWuCSas2nu00EnWAzrdKpt9oqPylUKZfQ==} + '@tsrs/linux-x64-musl@0.22.0-ts7.1.0-beta': + resolution: {integrity: sha512-B3aDOdS5+h77HcFep+KtOI+XmLm2G+FQPQC3KPSDjS/IG0tY9GPSc14mYnLwgO++dXluukO/oufk3J4Lo0CFjg==} engines: {node: '>=16.20.0'} cpu: [x64] os: [linux] libc: [musl] + '@tsrs/win32-x64@0.22.0-ts7.1.0-beta': + resolution: {integrity: sha512-cZ69w+wOECbU6YF5UWi15TK73eX1pgoMEHKSmUF4K8PbS7DPIh/nWMsdb3rM8Ee1SUZ9ONCx+S6myh64SRi3Bg==} + engines: {node: '>=16.20.0'} + cpu: [x64] + os: [win32] + '@types/aria-query@5.0.4': resolution: {integrity: sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==} @@ -7940,8 +7952,8 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} - tsrs@0.18.0-ts7.1.0-dev.20260929: - resolution: {integrity: sha512-9T0b4Uam/yMFIK16GUx0fUrJqYZnJ/gvSmV9JB8NTyDePvwCI45WFWxyEV/UMV3KfdNRJG/PBsm3fSIB9WmWsA==} + tsrs@0.22.0-ts7.1.0-beta: + resolution: {integrity: sha512-DEnEqQZRM3sHCV7MnQKVeTh61U2SX+0WksVlWp4eVayy0NffQ2oiCOjgH/Eye3sMPYkGwpM3tht3HtVI9NdURg==} engines: {node: '>=16.20.0'} hasBin: true @@ -11174,19 +11186,25 @@ snapshots: '@transcribe-cpp/win32-x64-cpu-vulkan@0.4.1': optional: true - '@tsrs/darwin-arm64@0.18.0-ts7.1.0-dev.20260929': + '@tsrs/darwin-arm64@0.22.0-ts7.1.0-beta': optional: true - '@tsrs/linux-arm64-gnu@0.18.0-ts7.1.0-dev.20260929': + '@tsrs/darwin-x64@0.22.0-ts7.1.0-beta': optional: true - '@tsrs/linux-arm64-musl@0.18.0-ts7.1.0-dev.20260929': + '@tsrs/linux-arm64-gnu@0.22.0-ts7.1.0-beta': optional: true - '@tsrs/linux-x64-gnu@0.18.0-ts7.1.0-dev.20260929': + '@tsrs/linux-arm64-musl@0.22.0-ts7.1.0-beta': optional: true - '@tsrs/linux-x64-musl@0.18.0-ts7.1.0-dev.20260929': + '@tsrs/linux-x64-gnu@0.22.0-ts7.1.0-beta': + optional: true + + '@tsrs/linux-x64-musl@0.22.0-ts7.1.0-beta': + optional: true + + '@tsrs/win32-x64@0.22.0-ts7.1.0-beta': optional: true '@types/aria-query@5.0.4': {} @@ -15511,13 +15529,15 @@ snapshots: tslib@2.8.1: {} - tsrs@0.18.0-ts7.1.0-dev.20260929: + tsrs@0.22.0-ts7.1.0-beta: optionalDependencies: - '@tsrs/darwin-arm64': 0.18.0-ts7.1.0-dev.20260929 - '@tsrs/linux-arm64-gnu': 0.18.0-ts7.1.0-dev.20260929 - '@tsrs/linux-arm64-musl': 0.18.0-ts7.1.0-dev.20260929 - '@tsrs/linux-x64-gnu': 0.18.0-ts7.1.0-dev.20260929 - '@tsrs/linux-x64-musl': 0.18.0-ts7.1.0-dev.20260929 + '@tsrs/darwin-arm64': 0.22.0-ts7.1.0-beta + '@tsrs/darwin-x64': 0.22.0-ts7.1.0-beta + '@tsrs/linux-arm64-gnu': 0.22.0-ts7.1.0-beta + '@tsrs/linux-arm64-musl': 0.22.0-ts7.1.0-beta + '@tsrs/linux-x64-gnu': 0.22.0-ts7.1.0-beta + '@tsrs/linux-x64-musl': 0.22.0-ts7.1.0-beta + '@tsrs/win32-x64': 0.22.0-ts7.1.0-beta tsx@4.23.15: dependencies: diff --git a/resources/plugins/declarative/orca-testing.mjs b/resources/plugins/declarative/orca-testing.mjs index 4b5cb50a469..05e98fa9f45 100644 --- a/resources/plugins/declarative/orca-testing.mjs +++ b/resources/plugins/declarative/orca-testing.mjs @@ -1,11 +1,11 @@ // Generated by config/scripts/plugin-build/declarative-runtime/build-plugin-declarative-runtime.mjs from // src/shared/plugins/declarative/testing/. Do not edit. -var Yy=Object.defineProperty;var We=(e,n)=>{for(var i in n)Yy(e,i,{get:n[i],enumerable:!0})};import{readFileSync as _P}from"node:fs";import{dirname as Jy,join as $P}from"node:path";var l={};We(l,{$brand:()=>Fa,$input:()=>hu,$output:()=>gu,INVALID:()=>me,NEVER:()=>Ga,TimePrecision:()=>Tu,ZodAny:()=>gd,ZodArray:()=>bd,ZodBase64:()=>Yo,ZodBase64URL:()=>Qo,ZodBigInt:()=>En,ZodBigIntFormat:()=>na,ZodBoolean:()=>Tn,ZodCIDRv4:()=>Xo,ZodCIDRv6:()=>qo,ZodCUID:()=>Go,ZodCUID2:()=>Fo,ZodCatch:()=>Md,ZodCodec:()=>Lr,ZodCompileAsyncError:()=>De,ZodCompileUnsupportedError:()=>V,ZodCreditCard:()=>sd,ZodCustom:()=>Ur,ZodCustomStringFormat:()=>Lt,ZodDate:()=>Or,ZodDefault:()=>Dd,ZodDiscriminatedUnion:()=>$d,ZodE164:()=>ea,ZodEmail:()=>Ro,ZodEmoji:()=>Zo,ZodEnum:()=>In,ZodError:()=>vx,ZodExactOptional:()=>aa,ZodFile:()=>Ad,ZodFirstPartyTypeKind:()=>ep,ZodFunction:()=>Xd,ZodGUID:()=>Mo,ZodIBAN:()=>cd,ZodIPv4:()=>Wo,ZodIPv6:()=>Jo,ZodISODate:()=>mt,ZodISODateTime:()=>pt,ZodISODuration:()=>gt,ZodISOTime:()=>ft,ZodInstanceOf:()=>Qd,ZodIntersection:()=>kd,ZodIssueCode:()=>_x,ZodJWT:()=>ta,ZodKSUID:()=>Ko,ZodLazy:()=>Kd,ZodLiteral:()=>Ed,ZodMAC:()=>ad,ZodMap:()=>Pd,ZodNaN:()=>Vd,ZodNanoID:()=>Vo,ZodNever:()=>vd,ZodNonOptional:()=>sa,ZodNull:()=>md,ZodNullable:()=>zd,ZodNumber:()=>Pn,ZodNumberFormat:()=>Ut,ZodObject:()=>zr,ZodOptional:()=>Cr,ZodPipe:()=>jr,ZodPrefault:()=>jd,ZodPreprocess:()=>Gd,ZodPromise:()=>Jd,ZodReadonly:()=>Fd,ZodRealError:()=>xe,ZodRecord:()=>wn,ZodSet:()=>Td,ZodString:()=>Sn,ZodStringFormat:()=>X,ZodSuccess:()=>Rd,ZodSymbol:()=>dd,ZodTemplateLiteral:()=>Hd,ZodTransform:()=>Od,ZodTuple:()=>wd,ZodType:()=>M,ZodULID:()=>Bo,ZodURL:()=>Ar,ZodUUID:()=>Fe,ZodUndefined:()=>pd,ZodUnion:()=>Dr,ZodUnknown:()=>hd,ZodVoid:()=>yd,ZodXID:()=>Ho,ZodXor:()=>_d,_ZodString:()=>Uo,_default:()=>Cd,_function:()=>Ih,any:()=>nh,array:()=>Nr,base64:()=>jg,base64url:()=>Lg,bigint:()=>qg,boolean:()=>ld,catch:()=>Zd,check:()=>Sh,cidrv4:()=>Dg,cidrv6:()=>Cg,clone:()=>K,codec:()=>$h,coerce:()=>np,compile:()=>_u,config:()=>ee,core:()=>Qe,creditCard:()=>Rg,cuid:()=>Sg,cuid2:()=>Pg,currencyCode:()=>Bg,custom:()=>Ph,date:()=>ih,decode:()=>Ql,decodeAsync:()=>td,deepPartial:()=>Mh,describe:()=>Th,discriminatedUnion:()=>lh,e164:()=>Ug,email:()=>hg,emoji:()=>wg,encode:()=>Yl,encodeAsync:()=>ed,endsWith:()=>mn,enum:()=>ia,exactOptional:()=>Nd,file:()=>vh,flattenError:()=>Qn,float32:()=>Kg,float64:()=>Wg,formatError:()=>er,fromJSONSchema:()=>Uh,function:()=>Ih,getDiscriminatedOption:()=>Gc,getErrorMap:()=>kx,globalRegistry:()=>ce,gt:()=>Ve,gte:()=>Ie,guid:()=>vg,hash:()=>Hg,hex:()=>Fg,hostname:()=>Gg,httpUrl:()=>xg,iban:()=>Mg,includes:()=>dn,input:()=>Vh,instanceof:()=>Ah,int:()=>jo,int32:()=>Jg,int64:()=>Yg,intersection:()=>xd,invertCodec:()=>kh,ipv4:()=>Og,ipv6:()=>zg,iso:()=>Rr,json:()=>Nh,jwt:()=>Zg,keyof:()=>oh,ksuid:()=>Ag,lazy:()=>Wd,length:()=>Nt,literal:()=>hh,locales:()=>_r,looseObject:()=>ch,looseRecord:()=>ph,lowercase:()=>un,lt:()=>Ze,lte:()=>we,mac:()=>Ng,map:()=>mh,maxLength:()=>Ot,maxSize:()=>ct,memoizer:()=>yr,meta:()=>Eh,mime:()=>gn,minLength:()=>Ye,minSize:()=>Ge,multipleOf:()=>st,nan:()=>_h,nanoid:()=>Ig,nativeEnum:()=>gh,negative:()=>Io,never:()=>ra,nonnegative:()=>Po,nonoptional:()=>Ud,nonpositive:()=>So,normalize:()=>hn,null:()=>fd,nullable:()=>Er,nullish:()=>yh,number:()=>ud,object:()=>ah,optional:()=>Ct,output:()=>Gh,overwrite:()=>Ce,parse:()=>Wl,parseAsync:()=>Jl,partialRecord:()=>dh,pipe:()=>Lo,positive:()=>wo,prefault:()=>Ld,preprocess:()=>zh,prettifyError:()=>Ja,promise:()=>wh,properties:()=>fn,property:()=>To,readonly:()=>Bd,record:()=>Sd,refine:()=>qd,regex:()=>cn,regexes:()=>Te,registry:()=>Yi,safeDecode:()=>rd,safeDecodeAsync:()=>od,safeEncode:()=>nd,safeEncodeAsync:()=>id,safeParse:()=>Xl,safeParseAsync:()=>ql,set:()=>fh,setErrorMap:()=>$x,size:()=>At,slugify:()=>_n,startsWith:()=>pn,strictObject:()=>sh,string:()=>Tr,stringFormat:()=>Vg,stringbool:()=>Oh,success:()=>bh,superRefine:()=>Yd,symbol:()=>eh,templateLiteral:()=>xh,toJSONSchema:()=>No,toLowerCase:()=>yn,toUpperCase:()=>bn,toZod:()=>Gn,transform:()=>oa,treeifyError:()=>Wa,trim:()=>vn,tuple:()=>Id,uint32:()=>Xg,uint64:()=>Qg,ulid:()=>Tg,undefined:()=>th,union:()=>An,unknown:()=>Dt,uppercase:()=>ln,url:()=>kg,util:()=>_,uuid:()=>yg,uuidv4:()=>bg,uuidv6:()=>_g,uuidv7:()=>$g,validate:()=>tr,validateAsync:()=>nr,void:()=>rh,withParser:()=>Qi,xid:()=>Eg,xor:()=>uh});var Qe={};We(Qe,{$ZodAny:()=>Dc,$ZodArray:()=>Mc,$ZodAsyncError:()=>$e,$ZodBase64:()=>kc,$ZodBase64URL:()=>xc,$ZodBigInt:()=>Ui,$ZodBigIntFormat:()=>Ac,$ZodBoolean:()=>pr,$ZodCIDRv4:()=>_c,$ZodCIDRv6:()=>$c,$ZodCUID:()=>cc,$ZodCUID2:()=>uc,$ZodCatch:()=>ou,$ZodCheck:()=>q,$ZodCheckBigIntFormat:()=>Cs,$ZodCheckEndsWith:()=>Ks,$ZodCheckGreaterThan:()=>ki,$ZodCheckIncludes:()=>Bs,$ZodCheckLengthEquals:()=>Zs,$ZodCheckLessThan:()=>$i,$ZodCheckLowerCase:()=>Gs,$ZodCheckMaxLength:()=>Rs,$ZodCheckMaxSize:()=>js,$ZodCheckMimeType:()=>Xs,$ZodCheckMinLength:()=>Ms,$ZodCheckMinSize:()=>Ls,$ZodCheckMultipleOf:()=>zs,$ZodCheckNumberFormat:()=>Ds,$ZodCheckOverwrite:()=>qs,$ZodCheckProperties:()=>Js,$ZodCheckProperty:()=>Ws,$ZodCheckRegex:()=>Vs,$ZodCheckSizeEquals:()=>Us,$ZodCheckStartsWith:()=>Hs,$ZodCheckStringFormat:()=>nn,$ZodCheckUpperCase:()=>Fs,$ZodCodec:()=>fr,$ZodCreditCard:()=>Ic,$ZodCustom:()=>pu,$ZodCustomStringFormat:()=>Tc,$ZodCyclicError:()=>Bi,$ZodDate:()=>Uc,$ZodDefault:()=>tu,$ZodDiscriminatedUnion:()=>Fc,$ZodE164:()=>wc,$ZodEmail:()=>nc,$ZodEmoji:()=>ac,$ZodEncodeError:()=>ot,$ZodEnum:()=>Jc,$ZodError:()=>Ka,$ZodExactOptional:()=>Qc,$ZodFile:()=>qc,$ZodFunction:()=>lu,$ZodGUID:()=>ec,$ZodIBAN:()=>Sc,$ZodIPv4:()=>vc,$ZodIPv6:()=>yc,$ZodISODate:()=>fc,$ZodISODateTime:()=>mc,$ZodISODuration:()=>hc,$ZodISOTime:()=>gc,$ZodIntersection:()=>Bc,$ZodJWT:()=>Pc,$ZodKSUID:()=>pc,$ZodLazy:()=>gr,$ZodLiteral:()=>Xc,$ZodMAC:()=>bc,$ZodMap:()=>Kc,$ZodNaN:()=>au,$ZodNanoID:()=>sc,$ZodNever:()=>jc,$ZodNonOptional:()=>ru,$ZodNull:()=>zc,$ZodNullable:()=>eu,$ZodNumber:()=>Li,$ZodNumberFormat:()=>Ec,$ZodObject:()=>Im,$ZodObjectJIT:()=>Zc,$ZodOptional:()=>Mi,$ZodPipe:()=>Zi,$ZodPrefault:()=>nu,$ZodPreprocess:()=>su,$ZodPromise:()=>du,$ZodReadonly:()=>cu,$ZodRealError:()=>ke,$ZodRecord:()=>Hc,$ZodRegistry:()=>qi,$ZodSet:()=>Wc,$ZodString:()=>St,$ZodStringFormat:()=>W,$ZodSuccess:()=>iu,$ZodSymbol:()=>Oc,$ZodTemplateLiteral:()=>uu,$ZodTransform:()=>Yc,$ZodTuple:()=>Ri,$ZodType:()=>U,$ZodULID:()=>lc,$ZodURL:()=>oc,$ZodUUID:()=>tc,$ZodUndefined:()=>Nc,$ZodUnion:()=>mr,$ZodUnknown:()=>Cc,$ZodVoid:()=>Lc,$ZodXID:()=>dc,$ZodXor:()=>Vc,$brand:()=>Fa,$constructor:()=>h,$input:()=>hu,$output:()=>gu,Doc:()=>It,INVALID:()=>me,JSONSchema:()=>mg,JSONSchemaGenerator:()=>zo,NEVER:()=>Ga,TimePrecision:()=>Tu,URL_BAD_FORMAT:()=>rc,URL_UNPARSEABLE:()=>sr,ZodCompileAsyncError:()=>De,ZodCompileUnsupportedError:()=>V,_any:()=>Bu,_array:()=>Yu,_base64:()=>_o,_base64url:()=>$o,_bigint:()=>Uu,_boolean:()=>ju,_catch:()=>ox,_check:()=>qf,_cidrv4:()=>yo,_cidrv6:()=>bo,_coercedBigint:()=>Ru,_coercedBoolean:()=>Lu,_coercedDate:()=>Xu,_coercedNumber:()=>Au,_coercedString:()=>wu,_creditCard:()=>Su,_cuid:()=>lo,_cuid2:()=>po,_custom:()=>el,_date:()=>Ju,_decode:()=>li,_decodeAsync:()=>pi,_default:()=>nx,_discriminatedUnion:()=>Fk,_e164:()=>ko,_email:()=>no,_emoji:()=>co,_encode:()=>ui,_encodeAsync:()=>di,_endsWith:()=>mn,_enum:()=>Xk,_file:()=>Qu,_float32:()=>Nu,_float64:()=>zu,_gt:()=>Ve,_gte:()=>Ie,_guid:()=>ro,_iban:()=>Pu,_includes:()=>dn,_int:()=>Ou,_int32:()=>Du,_int64:()=>Mu,_intersection:()=>Bk,_ipv4:()=>ho,_ipv6:()=>vo,_isoDate:()=>xr,_isoDateTime:()=>kr,_isoDuration:()=>Ir,_isoTime:()=>wr,_jwt:()=>xo,_ksuid:()=>go,_lazy:()=>ux,_length:()=>Nt,_literal:()=>Yk,_lowercase:()=>un,_lt:()=>Ze,_lte:()=>we,_mac:()=>Iu,_map:()=>Wk,_max:()=>we,_maxLength:()=>Ot,_maxSize:()=>ct,_mime:()=>gn,_min:()=>Ie,_minLength:()=>Ye,_minSize:()=>Ge,_multipleOf:()=>st,_nan:()=>qu,_nanoid:()=>uo,_nativeEnum:()=>qk,_negative:()=>Io,_never:()=>Ku,_nonnegative:()=>Po,_nonoptional:()=>rx,_nonpositive:()=>So,_normalize:()=>hn,_null:()=>Fu,_nullable:()=>tx,_number:()=>Eu,_optional:()=>ex,_overwrite:()=>Ce,_parse:()=>Yt,_parseAsync:()=>Qt,_pipe:()=>ax,_positive:()=>wo,_promise:()=>lx,_properties:()=>fn,_property:()=>To,_readonly:()=>sx,_record:()=>Kk,_refine:()=>tl,_regex:()=>cn,_safeDecode:()=>fi,_safeDecodeAsync:()=>hi,_safeEncode:()=>mi,_safeEncodeAsync:()=>gi,_safeParse:()=>en,_safeParseAsync:()=>tn,_set:()=>Jk,_size:()=>At,_slugify:()=>_n,_startsWith:()=>pn,_string:()=>xu,_stringFormat:()=>zt,_stringbool:()=>ol,_success:()=>ix,_superRefine:()=>nl,_symbol:()=>Vu,_templateLiteral:()=>cx,_toLowerCase:()=>yn,_toUpperCase:()=>bn,_transform:()=>Qk,_trim:()=>vn,_tuple:()=>Hk,_uint32:()=>Cu,_uint64:()=>Zu,_ulid:()=>mo,_undefined:()=>Gu,_union:()=>Vk,_unknown:()=>Hu,_uppercase:()=>ln,_url:()=>$r,_uuid:()=>io,_uuidv4:()=>oo,_uuidv6:()=>ao,_uuidv7:()=>so,_void:()=>Wu,_xid:()=>fo,_xor:()=>Gk,base64Charset:()=>Ni,base64urlCharset:()=>dr,canParseURL:()=>ic,clone:()=>K,compile:()=>_u,compileFn:()=>eo,config:()=>ee,createStandardJSONSchemaMethod:()=>$n,createToJSONSchemaMethod:()=>sl,decode:()=>Gb,decodeAsync:()=>Bb,describe:()=>rl,encode:()=>Vb,encodeAsync:()=>Fb,extractDefs:()=>lt,finalize:()=>dt,flattenError:()=>Qn,formatError:()=>er,getDiscriminatedOption:()=>Gc,globalConfig:()=>oe,globalRegistry:()=>ce,handleUnrepresentable:()=>re,initializeContext:()=>ut,isBackEdge:()=>Ki,isRecursiveSchema:()=>Hi,isValidBase64:()=>lr,isValidBase64URL:()=>zi,isValidCIDRv6:()=>Oi,isValidCreditCard:()=>Di,isValidIBAN:()=>Ci,isValidIPv6:()=>ur,isValidJWT:()=>ji,locales:()=>_r,memoizer:()=>yr,mergeValues:()=>rn,meta:()=>il,parse:()=>si,parseAsync:()=>ci,parseURLObject:()=>km,prettifyError:()=>Ja,process:()=>J,processSchema:()=>J,regexes:()=>Te,registry:()=>Yi,safeDecode:()=>Kb,safeDecodeAsync:()=>Jb,safeEncode:()=>Hb,safeEncodeAsync:()=>Wb,safeParse:()=>Lb,safeParseAsync:()=>Ub,standardProps:()=>Pi,stripTabAndNewline:()=>cr,toDotPath:()=>tm,toJSONSchema:()=>No,toZod:()=>Gn,treeifyError:()=>Wa,urlHostnameOk:()=>Ei,urlProtocolOk:()=>Ai,util:()=>_,validate:()=>tr,validateAsync:()=>nr,validateURL:()=>Ti,version:()=>Ys,withParser:()=>Qi});var _={};We(_,{BIGINT_FORMAT_RANGES:()=>Wn,CONSTANT_CATCH:()=>oi,Class:()=>za,NUMBER_FORMAT_RANGES:()=>Kn,aborted:()=>pe,allowsEval:()=>ja,assert:()=>rb,assertEqual:()=>Qy,assertIs:()=>tb,assertNever:()=>nb,assertNotEqual:()=>eb,assignProp:()=>se,attachSchema:()=>Jn,base64ToUint8Array:()=>Jp,base64urlToUint8Array:()=>kb,cached:()=>Wt,captureStackTrace:()=>ri,cleanEnum:()=>$b,cleanRegex:()=>Xe,clone:()=>K,cloneDef:()=>ab,codePointLength:()=>xt,constantCatch:()=>Za,createTransparentProxy:()=>pb,defineLazy:()=>Da,defineLazyInternal:()=>Z,derived:()=>Sb,esc:()=>de,escapeRegex:()=>Pe,explicitlyAborted:()=>Ra,extend:()=>gb,finalizeIssue:()=>_e,floatSafeRemainder:()=>Fn,getElementAtPath:()=>sb,getEnumValues:()=>Ht,getLengthableOrigin:()=>qn,getParsedType:()=>db,getSizableOrigin:()=>Xn,hexToUint8Array:()=>wb,hide:()=>Yn,installLazyProp:()=>Ab,isObject:()=>kt,isPlainObject:()=>Se,issue:()=>qt,joinValues:()=>v,jsonStringifyReplacer:()=>Kt,members:()=>Ma,merge:()=>vb,mergeDefs:()=>ze,normalizeParams:()=>S,nullish:()=>ni,numKeys:()=>lb,objectClone:()=>ib,omit:()=>fb,optionalKeys:()=>Ua,own:()=>it,parsedType:()=>k,partial:()=>yb,pick:()=>mb,prefixIssues:()=>be,primitiveTypes:()=>La,promiseAllObject:()=>cb,propertyKeyTypes:()=>Hn,randomString:()=>ub,rawShape:()=>Jt,required:()=>bb,safeExtend:()=>hb,shallowClone:()=>Bn,sizeCaps:()=>Xt,slugify:()=>Ca,stringifyPrimitive:()=>$,toZod:()=>Gn,uint8ArrayToBase64:()=>Xp,uint8ArrayToBase64url:()=>xb,uint8ArrayToHex:()=>Ib,unwrapMessage:()=>Bt});function Qy(e){return e}function eb(e){return e}function Gn(){return e=>e}function tb(e){}function nb(e){throw new Error("Unexpected value in exhaustive check")}function rb(e){}function Ht(e){let n=Object.values(e).filter(o=>typeof o=="number");return Object.entries(e).filter(([o,t])=>n.indexOf(+o)===-1).map(([o,t])=>t)}function v(e,n="|"){return e.map(i=>$(i)).join(n)}function Kt(e,n){return typeof n=="bigint"?n.toString():n}var Na=class{constructor(n){this._getter=n,this._value=void 0}get value(){let n=this._getter;return n!==void 0&&(this._value=n(),this._getter=void 0),this._value}};function Wt(e){return new Na(e)}function ni(e){return e==null}function Xe(e){let n=e.startsWith("^")?1:0,i=e.endsWith("$")?e.length-1:e.length;return e.slice(n,i)}function Fn(e,n){let i=e/n,o=Math.round(i),t=4*Number.EPSILON*Math.max(Math.abs(i),1);return Math.abs(i-o){let s=n._zod.def.shape[r];return o?o(s,r):s}):Kp(e,r,o?o(a.value,r):a.value))}}function ob(e,n){for(let i of Reflect.ownKeys(n)){let o=Object.getOwnPropertyDescriptor(n,i);o.enumerable&&(o.get?Hp(e,i,()=>n[i]):Kp(e,i,o.value))}}function ze(...e){let n={};for(let i of e){let o=Object.getOwnPropertyDescriptors(i);Object.assign(n,o)}return Object.defineProperties({},n)}function ab(e){return ze(e._zod.def)}function sb(e,n){return n?n.reduce((i,o)=>i?.[o],e):e}function cb(e){let n=Object.keys(e),i=n.map(o=>e[o]);return Promise.all(i).then(o=>{let t={};for(let r=0;r{};function kt(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var ja=Wt(()=>{if(oe.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function Se(e){if(kt(e)===!1)return!1;let n=e.constructor;if(n===void 0||typeof n!="function")return!0;let i=n.prototype;return!(kt(i)===!1||Object.prototype.hasOwnProperty.call(i,"isPrototypeOf")===!1)}function Bn(e){return Se(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function lb(e){let n=0;for(let i in e)Object.prototype.hasOwnProperty.call(e,i)&&n++;return n}var db=e=>{let n=typeof e;switch(n){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${n}`)}},Hn=new Set(["string","number","symbol"]),La=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Pe(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function K(e,n,i){let o=new e._zod.constr(n??e._zod.def);return(!n||i?.parent)&&(o._zod.parent=e),o}function S(e){let n=e;if(!n)return{};if(typeof n=="string")return{error:()=>n};if(n?.message!==void 0){if(n?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");n.error=n.message}return delete n.message,typeof n.error=="string"?{...n,error:()=>n.error}:n}function pb(e){let n;return new Proxy({},{get(i,o,t){return n??(n=e()),Reflect.get(n,o,t)},set(i,o,t,r){return n??(n=e()),Reflect.set(n,o,t,r)},has(i,o){return n??(n=e()),Reflect.has(n,o)},deleteProperty(i,o){return n??(n=e()),Reflect.deleteProperty(n,o)},ownKeys(i){return n??(n=e()),Reflect.ownKeys(n)},getOwnPropertyDescriptor(i,o){return n??(n=e()),Reflect.getOwnPropertyDescriptor(n,o)},defineProperty(i,o,t){return n??(n=e()),Reflect.defineProperty(n,o,t)}})}function $(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Ua(e){return Object.keys(e).filter(n=>e[n]._zod.optin!==void 0&&e[n]._zod.optout==="optional")}var Kn={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Wn={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function mb(e,n){let i=e._zod.def,o=i.checks;if(o&&o.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let r={};return $t(r,e,ii(e,n)),K(e,ze(i,{shape:r,checks:[]}))}function ii(e,n){let i=Je(e),o=[];for(let t of Reflect.ownKeys(n)){if(!Object.getOwnPropertyDescriptor(i,t)?.enumerable)throw new Error(`Unrecognized key: "${String(t)}"`);n[t]&&o.push(t)}return o}function fb(e,n){let i=e._zod.def,o=i.checks;if(o&&o.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let r=new Set(ii(e,n)),a={};return $t(a,e,Reflect.ownKeys(Je(e)).filter(s=>!r.has(s))),K(e,ze(i,{shape:a,checks:[]}))}function gb(e,n){if(!Se(n))throw new Error("Invalid input to extend: expected a plain object");let i=e._zod.def.checks;if(i&&i.length>0){let t=Je(e);for(let r of Reflect.ownKeys(n))if(Object.getOwnPropertyDescriptor(t,r)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return K(e,ze(e._zod.def,{shape:Wp(e,n)}))}function Wp(e,n){let i={};return $t(i,e,Reflect.ownKeys(Je(e))),ob(i,n),i}function hb(e,n){if(!Se(n))throw new Error("Invalid input to safeExtend: expected a plain object");return K(e,ze(e._zod.def,{shape:Wp(e,n)}))}function vb(e,n){if(!n?._zod?.def)throw new Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let i={};$t(i,e,Reflect.ownKeys(Je(e))),$t(i,n,Reflect.ownKeys(Je(n)));let o=ze(e._zod.def,{shape:i,get catchall(){return n._zod.def.catchall},checks:n._zod.def.checks??[]});return K(e,o)}function yb(e,n,i,o="partial"){let r=n._zod.def.checks;if(r&&r.length>0)throw new Error(`.${o}() cannot be used on object schemas containing refinements`);let s=i?new Set(ii(n,i)):void 0,c={};return $t(c,n,Reflect.ownKeys(Je(n)),e&&((u,d)=>s&&!s.has(d)?u:new e({type:"optional",innerType:u}))),K(n,ze(n._zod.def,{shape:c,checks:[]}))}function bb(e,n,i){let o=i?new Set(ii(n,i)):void 0,t={};return $t(t,n,Reflect.ownKeys(Je(n)),(r,a)=>o&&!o.has(a)?r:new e({type:"nonoptional",innerType:r})),K(n,ze(n._zod.def,{shape:t}))}function pe(e,n=0){if(e.aborted===!0)return!0;for(let i=n;i{var o;return(o=i).path??(o.path=[]),i.path.unshift(e),i})}function Bt(e){return typeof e=="string"?e:e?.message}function Xt(e){let n=[];for(let i of e??[]){let o=i._zod.def;if(!/_(length|size)$|_equals$/.test(o.check))break;let t=o.maximum??o.length??o.size;t>=0&&n.push([t,i])}return n}function Jn(e,n,i){var o;for(let t=n;tNumber.isNaN(Number.parseInt(n,10))).map(n=>n[1])}function Jp(e){let n=atob(e),i=new Uint8Array(n.length);for(let o=0;on.toString(16).padStart(2,"0")).join("")}var za=class{constructor(...n){}};function Ma(e,n){for(let i in n){let o=Object.getOwnPropertyDescriptor(n,i);o.get?Object.defineProperty(e,i,{...o,enumerable:!1}):Pb(e,i,o.value)}}function it(e,n,i,o=!0){return Object.defineProperty(e,n,{configurable:!0,writable:!0,enumerable:o,value:i}),i}function Yn(e,n,i){return it(e,n,i,!1)}function Sb(e,n){for(let i in e){let o=e[i];Object.defineProperty(n,i,{configurable:!0,enumerable:!0,get(){return it(this,i,o(this))},set(t){it(this,i,t)}})}return n}function Pb(e,n,i){Object.defineProperty(e,n,{configurable:!0,get(){return this==null?i:it(this,n,i.bind(this))},set(o){it(this,n,o)}})}function Tb(e,n){let i=Object.getPrototypeOf(e);return n in i?void 0:i}var Oa,rt=!1,Eb={configurable:!0,get(){rt=!0}};function Z(e,n,i){let o=Object.getPrototypeOf(e._zod);if(n in o&&Oa!==e._zod){Oa=void 0;return}Oa=e._zod,Object.defineProperty(o,n,{configurable:!0,get(){Object.defineProperty(this,n,Eb);let t=rt;rt=!1;try{let r=i(this);return rt?delete this[n]:Object.defineProperty(this,n,{configurable:!0,writable:!0,value:r}),rt=rt||t,r}catch(r){throw delete this[n],rt=rt||t,r}},set(t){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:t})}})}function Ab(e,n,i,o){let t=Tb(e,n);t&&Object.defineProperty(t,n,{configurable:!0,get(){let r={configurable:!0,writable:!0,enumerable:o,value:void 0};return Object.defineProperty(this,n,r),r.value=i(this),Object.defineProperty(this,n,r),r.value},set(r){Object.defineProperty(this,n,{configurable:!0,writable:!0,enumerable:o,value:r})}})}var oi="~constantCatch";function Za(e){let n=()=>e;return n[oi]=!0,n}var qp,Ga=Object.freeze({status:"aborted"}),Va={value:void 0,enumerable:!1},Yp="captureStackTrace"in Error?Error:null;function Ob(e){let n=Yp;if(n){let i=n.stackTraceLimit;if(typeof i=="number"){try{n.stackTraceLimit=0}catch{return Yp=null,new e}try{return new e}finally{n.stackTraceLimit=i}}}return new e}function h(e,n,i,o){let t={};function r(m){this.def=m,this.constr=p,this.traits=new Set}r.prototype=t;let a=i,s=a&&new WeakSet;function c(m,f){if(m._zod){if(m._zod.traits.has(e))return}else{Va.value=new r(f);try{Object.defineProperty(m,"_zod",Va)}finally{Va.value=void 0}}if(m._zod.traits.add(e),n(m,f),s){let y=Object.getPrototypeOf(m),x=m._zod.constr.prototype,I=y;for(;I&&I!==x;)I=Object.getPrototypeOf(I);let b=I??y;s.has(b)||(s.add(b),Ma(b,a))}let g=p.prototype;for(let y in g)Object.prototype.hasOwnProperty.call(g,y)&&(y in m||(m[y]=g[y].bind(m)))}let u=o?.Parent??Object;class d extends u{}Object.defineProperty(d,"name",{value:e});function p(m){let f=o?.Parent?Ob(d):this;c(f,m);let g=f._zod.deferred;if(g){for(let x of g)x();f._zod.deferred=void 0}let y=globalThis.__zod_globalConfig?.postProcessor;return y&&y(f),f}return Object.defineProperty(p,"init",{value:c}),Object.defineProperty(p,Symbol.hasInstance,{value:m=>o?.Parent&&m instanceof o.Parent?!0:m?._zod?.traits?.has(e)}),Object.defineProperty(p,"name",{value:e}),p}var Fa=Symbol("zod_brand"),$e=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},ot=class extends Error{constructor(n){super(`Encountered unidirectional transform during encode: ${n}`),this.name="ZodEncodeError"}};(qp=globalThis).__zod_globalConfig??(qp.__zod_globalConfig={});var oe=globalThis.__zod_globalConfig;function ee(e){return e&&Object.assign(oe,e),oe}function Nb(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Kt,2)),e.message}function zb(e){this._zod.message=e}var Db={get:Nb,set:zb,enumerable:!0,configurable:!0},Ha={value:void 0,enumerable:!1},Qp=new WeakSet([Object.prototype,Error.prototype]),em=(e,n)=>{e.name="$ZodError",Ha.value=n,Object.defineProperty(e,"issues",Ha),Ha.value=void 0,Object.defineProperty(e,"message",Db);let i=Object.getPrototypeOf(e);Qp.has(i)||(Qp.add(i),Object.defineProperty(i,"toString",{configurable:!0,enumerable:!1,get(){let o=()=>this.message;return Object.defineProperty(this,"toString",{value:o,configurable:!0,writable:!0}),o},set(o){Object.defineProperty(this,"toString",{value:o,configurable:!0,writable:!0})}}))},Ka=h("$ZodError",em),ke=h("$ZodError",em,void 0,{Parent:Error});function Cb(e,n,i){return Object.prototype.hasOwnProperty.call(e,n)||(n==="__proto__"?Object.defineProperty(e,n,{value:i(),writable:!0,enumerable:!0,configurable:!0}):e[n]=i()),e[n]}function Qn(e,n=i=>i.message){let i={},o=[];for(let t of e.issues)t.path.length>0?Cb(i,t.path[0],()=>[]).push(n(t)):o.push(n(t));return{formErrors:o,fieldErrors:i}}function er(e,n=i=>i.message){let i={_errors:[]},o=(t,r=[])=>{for(let a of t.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(s=>o({issues:s},[...r,...a.path]));else if(a.code==="invalid_key")o({issues:a.issues},[...r,...a.path]);else if(a.code==="invalid_element")o({issues:a.issues},[...r,...a.path]);else{let s=[...r,...a.path];if(s.length===0)i._errors.push(n(a));else{let c=i,u=0;for(;ui.message){let i={errors:[]},o=(t,r=[])=>{var a;for(let s of t.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(c=>o({issues:c},[...r,...s.path]));else if(s.code==="invalid_key")o({issues:s.issues},[...r,...s.path]);else if(s.code==="invalid_element")o({issues:s.issues},[...r,...s.path]);else{let c=[...r,...s.path];if(c.length===0){i.errors.push(n(s));continue}let u=i,d=0;for(;dtypeof o=="object"?o.key:o);for(let o of i)typeof o=="number"?n.push(`[${o}]`):typeof o=="symbol"?n.push(`[${JSON.stringify(String(o))}]`):/[^\w$]/.test(o)?n.push(`[${JSON.stringify(o)}]`):(n.length&&n.push("."),n.push(o));return n.join("")}function Ja(e){let n=[],i=[...e.issues].sort((o,t)=>(o.path??[]).length-(t.path??[]).length);for(let o of i)n.push(`✖ ${o.message}`),o.path?.length&&n.push(` → at ${tm(o.path)}`);return n.join(` -`)}function ai(e,n){return{callee:n?.callee??e,Err:n?.Err}}var Yt=e=>{let n=(i,o,t,r)=>{let a=t?{...t,async:!1}:{async:!1},s=i._zod.run({value:o,issues:[]},a);if(s instanceof Promise)throw new $e;if(s.issues.length){let c=new(r?.Err??e)(s.issues.map(u=>_e(u,a,ee())));throw ri(c,r?.callee??n),c}return s.value};return n},si=Yt(ke),Qt=e=>{let n=async(i,o,t,r)=>{let a=t?{...t,async:!0}:{async:!0},s=i._zod.run({value:o,issues:[]},a);if(s instanceof Promise&&(s=await s),s.issues.length){let c=new(r?.Err??e)(s.issues.map(u=>_e(u,a,ee())));throw ri(c,r?.callee??n),c}return s.value};return n},ci=Qt(ke),en=e=>(n,i,o)=>{let t=o?{...o,async:!1}:{async:!1},r=n._zod.run({value:i,issues:[]},t);if(r instanceof Promise)throw new $e;return r.issues.length?nm(e,r.issues,t):{success:!0,data:r.value}},Lb=en(ke);function nm(e,n,i){let o;return{success:!1,get error(){return o||(o=new e(n.map(t=>_e(t,i,ee()))),n=void 0,i=void 0),o},set error(t){o=t,n=void 0,i=void 0}}}var tn=e=>async(n,i,o)=>{let t=o?{...o,async:!0}:{async:!0},r=n._zod.run({value:i,issues:[]},t);return r instanceof Promise&&(r=await r),r.issues.length?nm(e,r.issues,t):{success:!0,data:r.value}},Ub=tn(ke),Rb=Symbol.for("zod.compile.invalid"),Mb=Symbol.for("zod.compile.fallback"),tr=((e,n,i)=>{let o=e._zod.bag.validator;if(o!==void 0){if(o(n)!==Rb)return!0;if(o.definite===!0&&i===void 0)return!1}return Zb(e,n,i)});function Zb(e,n,i){let o=i?{...i,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},t=e._zod.bag.fallbackRun,r;if(t?(o[Mb]=!0,r=t({value:n,issues:[]},o)):r=e._zod.run({value:n,issues:[]},o),r instanceof Promise)throw new $e;return r.issues.length===0}var nr=async(e,n,i)=>{let o=i?{...i,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},t=e._zod.run({value:n,issues:[]},o);return t instanceof Promise&&(t=await t),t.issues.length===0},ui=e=>{let n=Yt(e),i=(o,t,r,a)=>{let s=r?{...r,direction:"backward"}:{direction:"backward"};return n(o,t,s,ai(i,a))};return i},Vb=ui(ke),li=e=>{let n=Yt(e),i=(o,t,r,a)=>n(o,t,r,ai(i,a));return i},Gb=li(ke),di=e=>{let n=Qt(e),i=async(o,t,r,a)=>{let s=r?{...r,direction:"backward"}:{direction:"backward"};return await n(o,t,s,ai(i,a))};return i},Fb=di(ke),pi=e=>{let n=Qt(e),i=async(o,t,r,a)=>await n(o,t,r,ai(i,a));return i},Bb=pi(ke),mi=e=>(n,i,o)=>{let t=o?{...o,direction:"backward"}:{direction:"backward"};return en(e)(n,i,t)},Hb=mi(ke),fi=e=>(n,i,o)=>en(e)(n,i,o),Kb=fi(ke),gi=e=>async(n,i,o)=>{let t=o?{...o,direction:"backward"}:{direction:"backward"};return tn(e)(n,i,t)},Wb=gi(ke),hi=e=>async(n,i,o)=>tn(e)(n,i,o),Jb=hi(ke);var Te={};We(Te,{anyString:()=>ks,base64:()=>ms,base64url:()=>fs,bigint:()=>ws,boolean:()=>Is,browserEmail:()=>r_,cidrv4:()=>ds,cidrv6:()=>ps,creditCard:()=>vi,cuid:()=>qa,cuid2:()=>Ya,currencyCode:()=>ys,date:()=>bs,datetime:()=>$s,domain:()=>hs,duration:()=>is,e164:()=>vs,email:()=>as,emoji:()=>ss,extendedDuration:()=>Xb,guid:()=>os,hex:()=>As,hostname:()=>gs,html5Email:()=>e_,httpProtocol:()=>rr,iban:()=>yi,idnEmail:()=>n_,integer:()=>ir,ipv4:()=>cs,ipv6:()=>us,ksuid:()=>ts,lowercase:()=>Ts,mac:()=>ls,md5_base64:()=>s_,md5_base64url:()=>c_,md5_hex:()=>a_,nanoid:()=>ns,nanoidOfLength:()=>rs,null:()=>Ss,number:()=>qe,rfc5322Email:()=>t_,sha1_base64:()=>l_,sha1_base64url:()=>d_,sha1_hex:()=>u_,sha256_base64:()=>m_,sha256_base64url:()=>f_,sha256_hex:()=>p_,sha384_base64:()=>h_,sha384_base64url:()=>v_,sha384_hex:()=>g_,sha512_base64:()=>b_,sha512_base64url:()=>__,sha512_hex:()=>y_,string:()=>xs,time:()=>_s,ulid:()=>Qa,undefined:()=>Ps,unicodeEmail:()=>rm,uppercase:()=>Es,uuid:()=>wt,uuid4:()=>qb,uuid6:()=>Yb,uuid7:()=>Qb,xid:()=>es});var qa=/^[cC][0-9a-z]{6,}$/,Ya=/^[0-9a-z]+$/,Qa=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,es=/^[0-9a-vA-V]{20}$/,ts=/^[A-Za-z0-9]{27}$/,ns=/^[a-zA-Z0-9_-]{21}$/;function rs(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var is=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Xb=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,os=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,wt=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,qb=wt(4),Yb=wt(6),Qb=wt(7),as=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,e_=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,t_=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,rm=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,n_=rm,r_=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,i_="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function ss(){return new RegExp(i_,"u")}var cs=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,us=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,ls=e=>{let n=Pe(e??":");return new RegExp(`^(?:[0-9A-F]{2}${n}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${n}){5}[0-9a-f]{2}$`)},ds=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,ps=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,ms=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,fs=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,gs=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,hs=/^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,63}$/,rr=/^https?$/,vs=/^\+[1-9]\d{6,14}$/,vi=/^\d(?:[ -]?\d){11,18}$/,ys=/^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/,yi=/^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/,im="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";function o_(e){return new RegExp(`^${e}$`)}var bs=o_(im);function Xa(e){let n="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${n}`:e.precision===0?`${n}:[0-5]\\d`:`${n}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${n}:[0-5]\\d(?:\\.\\d+)?`:`${n}(?::[0-5]\\d(?:\\.\\d+)?)?`}function _s(e){return new RegExp(`^${Xa(e)}$`)}function $s(e){let n=["Z"];e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let i=`${Xa({precision:e.precision,seconds:!0})}(?:${n.join("|")})`,o=e.local?`${i}|${Xa({precision:e.precision})}`:i;return new RegExp(`^${im}T(?:${o})$`)}var ks=/^[\s\S]{0,}$/,xs=e=>{let n=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${n}$`)},ws=/^-?\d+n?$/,ir=/^-?\d+$/,qe=/^-?\d+(?:\.\d+)?$/,Is=/^(?:true|false)$/i,Ss=/^null$/i;var Ps=/^undefined$/i;var Ts=/^[^A-Z]*$/,Es=/^[^a-z]*$/,As=/^[0-9a-fA-F]*$/;function or(e,n){return new RegExp(`^[A-Za-z0-9+/]{${e}}${n}$`)}function ar(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var a_=/^[0-9a-fA-F]{32}$/,s_=or(22,"=="),c_=ar(22),u_=/^[0-9a-fA-F]{40}$/,l_=or(27,"="),d_=ar(27),p_=/^[0-9a-fA-F]{64}$/,m_=or(43,"="),f_=ar(43),g_=/^[0-9a-fA-F]{96}$/,h_=or(64,""),v_=ar(64),y_=/^[0-9a-fA-F]{128}$/,b_=or(86,"=="),__=ar(86);var q=h("$ZodCheck",(e,n)=>{var i;e._zod??(e._zod={}),e._zod.def=n,(i=e._zod).onattach??(i.onattach=[])}),Os=e=>{let n=e.value;return!ni(n)&&n.size!==void 0},Ns=e=>{let n=e.value;return!ni(n)&&n.length!==void 0},bi={number:"number",bigint:"bigint",object:"date"},$i=h("$ZodCheckLessThan",(e,n)=>{q.init(e,n);let i=bi[typeof n.value];e._zod.check=o=>{(n.inclusive?o.value<=n.value:o.value{q.init(e,n);let i=bi[typeof n.value];e._zod.check=o=>{(n.inclusive?o.value>=n.value:o.value>n.value)||o.issues.push({origin:bi[typeof o.value]??i,code:"too_small",minimum:typeof n.value=="object"?n.value.getTime():n.value,input:o.value,inclusive:n.inclusive,inst:e,continue:!n.abort})}}),zs=h("$ZodCheckMultipleOf",(e,n)=>{q.init(e,n),e._zod.check=i=>{if(typeof i.value!=typeof n.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof i.value=="bigint"?n.value!==BigInt(0)&&i.value%n.value===BigInt(0):Fn(i.value,n.value)===0)||i.issues.push({origin:typeof i.value,code:"not_multiple_of",divisor:n.value,input:i.value,inst:e,continue:!n.abort})}}),Ds=h("$ZodCheckNumberFormat",(e,n)=>{q.init(e,n),n.format=n.format||"float64";let i=n.format?.includes("int"),o=i?"int":"number",[t,r]=Kn[n.format];e._zod.check=a=>{let s=a.value;if(i){if(!Number.isInteger(s)){a.issues.push({expected:o,format:n.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,inclusive:!0,continue:!n.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,inclusive:!0,continue:!n.abort});return}}sr&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:r,inclusive:!0,inst:e,continue:!n.abort})}}),Cs=h("$ZodCheckBigIntFormat",(e,n)=>{q.init(e,n);let[i,o]=Wn[n.format];e._zod.check=t=>{let r=t.value;ro&&t.issues.push({origin:"bigint",input:r,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!n.abort})}}),js=h("$ZodCheckMaxSize",(e,n)=>{var i;q.init(e,n),(i=e._zod.def).when??(i.when=Os),e._zod.check=o=>{let t=o.value;t.size<=n.maximum||o.issues.push({origin:Xn(t),code:"too_big",maximum:n.maximum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),Ls=h("$ZodCheckMinSize",(e,n)=>{var i;q.init(e,n),(i=e._zod.def).when??(i.when=Os),e._zod.check=o=>{let t=o.value;t.size>=n.minimum||o.issues.push({origin:Xn(t),code:"too_small",minimum:n.minimum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),Us=h("$ZodCheckSizeEquals",(e,n)=>{var i;q.init(e,n),(i=e._zod.def).when??(i.when=Os),e._zod.check=o=>{let t=o.value,r=t.size;if(r===n.size)return;let a=r>n.size;o.issues.push({origin:Xn(t),...a?{code:"too_big",maximum:n.size}:{code:"too_small",minimum:n.size},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!n.abort})}}),Rs=h("$ZodCheckMaxLength",(e,n)=>{var i;q.init(e,n),(i=e._zod.def).when??(i.when=Ns),e._zod.check=o=>{let t=o.value,r=t.length;if((typeof t=="string"&&r>n.maximum?xt(t):r)<=n.maximum)return;let s=qn(t);o.issues.push({origin:s,code:"too_big",maximum:n.maximum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),Ms=h("$ZodCheckMinLength",(e,n)=>{var i;q.init(e,n),(i=e._zod.def).when??(i.when=Ns),e._zod.check=o=>{let t=o.value,r=t.length;if((typeof t=="string"&&r>=n.minimum&&r=n.minimum)return;let s=qn(t);o.issues.push({origin:s,code:"too_small",minimum:n.minimum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),Zs=h("$ZodCheckLengthEquals",(e,n)=>{var i;q.init(e,n),(i=e._zod.def).when??(i.when=Ns),e._zod.check=o=>{let t=o.value,r=t.length,a=typeof t=="string"&&r>=n.length&&r<=n.length*2?xt(t):r;if(a===n.length)return;let s=qn(t),c=a>n.length;o.issues.push({origin:s,...c?{code:"too_big",maximum:n.length}:{code:"too_small",minimum:n.length},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!n.abort})}}),nn=h("$ZodCheckStringFormat",(e,n)=>{var i,o;q.init(e,n),n.pattern?(i=e._zod).check??(i.check=t=>{n.pattern.lastIndex=0,!n.pattern.test(t.value)&&t.issues.push({origin:"string",code:"invalid_format",format:n.format,input:t.value,...n.pattern?{pattern:n.pattern.toString()}:{},inst:e,continue:!n.abort})}):(o=e._zod).check??(o.check=()=>{})}),Vs=h("$ZodCheckRegex",(e,n)=>{nn.init(e,n),e._zod.check=i=>{n.pattern.lastIndex=0,!n.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:"regex",input:i.value,pattern:n.pattern.toString(),inst:e,continue:!n.abort})}}),Gs=h("$ZodCheckLowerCase",(e,n)=>{n.pattern??(n.pattern=Ts),nn.init(e,n)}),Fs=h("$ZodCheckUpperCase",(e,n)=>{n.pattern??(n.pattern=Es),nn.init(e,n)}),Bs=h("$ZodCheckIncludes",(e,n)=>{q.init(e,n);let i=Pe(n.includes),o=new RegExp(typeof n.position=="number"?`^.{${n.position},}${i}`:i);n.pattern=o,e._zod.check=t=>{t.value.includes(n.includes,n.position)||t.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:n.includes,input:t.value,inst:e,continue:!n.abort})}}),Hs=h("$ZodCheckStartsWith",(e,n)=>{q.init(e,n);let i=new RegExp(`^${Pe(n.prefix)}.*`);n.pattern??(n.pattern=i),e._zod.check=o=>{o.value.startsWith(n.prefix)||o.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:n.prefix,input:o.value,inst:e,continue:!n.abort})}}),Ks=h("$ZodCheckEndsWith",(e,n)=>{q.init(e,n);let i=new RegExp(`.*${Pe(n.suffix)}$`);n.pattern??(n.pattern=i),e._zod.check=o=>{o.value.endsWith(n.suffix)||o.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:n.suffix,input:o.value,inst:e,continue:!n.abort})}});function _i(e,n,i){e.issues.length&&n.issues.push(...be(i,e.issues))}var Ws=h("$ZodCheckProperty",(e,n)=>{q.init(e,n),e._zod.check=i=>{let o=n.schema._zod.run({value:i.value[n.property],issues:[]},{});if(o instanceof Promise)return o.then(t=>_i(t,i,n.property));_i(o,i,n.property)}}),Js=h("$ZodCheckProperties",(e,n)=>{q.init(e,n),Yn(e,Symbol.iterator,function*(){yield e});let i;e._zod.check=o=>{if(o.value==null){o.issues.push({expected:"object",code:"invalid_type",input:o.value,inst:e});return}i??(i=Reflect.ownKeys(n.shape).map(a=>[a,n.shape[a]]));let t=o.value,r;for(let[a,s]of i){let c=s._zod.run({value:t[a],issues:[]},{});c instanceof Promise?(r??(r=[]),r.push(c.then(u=>_i(u,o,a)))):_i(c,o,a)}if(r)return Promise.all(r).then(()=>{})}}),Xs=h("$ZodCheckMimeType",(e,n)=>{q.init(e,n);let i=new Set(n.mime);e._zod.check=o=>{i.has(o.value.type)||o.issues.push({code:"invalid_value",values:n.mime,input:o.value.type,inst:e,continue:!n.abort})}}),qs=h("$ZodCheckOverwrite",(e,n)=>{q.init(e,n),e._zod.check=i=>{i.value=n.tx(i.value)}});var It=class{constructor(n=[],i={}){this.content=[],this.indent=0,this.args=n,this.closed=i}indented(n){this.indent+=1;try{n(this)}finally{this.indent-=1}}write(n){if(typeof n=="function"){n(this,{execution:"sync"}),n(this,{execution:"async"});return}let o=n.split(` +var vb=Object.defineProperty;var Ke=(e,n)=>{for(var i in n)vb(e,i,{get:n[i],enumerable:!0})};import{readFileSync as aT}from"node:fs";import{dirname as fb,join as sT}from"node:path";var l={};Ke(l,{$brand:()=>Ja,$input:()=>$c,$output:()=>_c,INVALID:()=>fe,NEVER:()=>Ka,TimePrecision:()=>zc,ZodAny:()=>_d,ZodArray:()=>wd,ZodBase64:()=>Qo,ZodBase64URL:()=>ea,ZodBigInt:()=>En,ZodBigIntFormat:()=>ra,ZodBoolean:()=>Tn,ZodCIDRv4:()=>qo,ZodCIDRv6:()=>Yo,ZodCUID:()=>Go,ZodCUID2:()=>Bo,ZodCatch:()=>Bd,ZodCodec:()=>jr,ZodCompileAsyncError:()=>De,ZodCompileUnsupportedError:()=>F,ZodCreditCard:()=>pd,ZodCustom:()=>Ur,ZodCustomStringFormat:()=>jt,ZodDate:()=>Or,ZodDefault:()=>Rd,ZodDiscriminatedUnion:()=>Sd,ZodE164:()=>ta,ZodEmail:()=>Mo,ZodEmoji:()=>Fo,ZodEnum:()=>In,ZodError:()=>Lx,ZodExactOptional:()=>sa,ZodFile:()=>Cd,ZodFirstPartyTypeKind:()=>op,ZodFunction:()=>tp,ZodGUID:()=>Zo,ZodIBAN:()=>md,ZodIPv4:()=>Jo,ZodIPv6:()=>Xo,ZodISODate:()=>mt,ZodISODateTime:()=>pt,ZodISODuration:()=>gt,ZodISOTime:()=>ft,ZodInstanceOf:()=>ip,ZodIntersection:()=>Pd,ZodIssueCode:()=>Rx,ZodJWT:()=>na,ZodKSUID:()=>Ko,ZodLazy:()=>Yd,ZodLiteral:()=>Dd,ZodMAC:()=>dd,ZodMap:()=>Nd,ZodNaN:()=>Wd,ZodNanoID:()=>Vo,ZodNever:()=>kd,ZodNonOptional:()=>ua,ZodNull:()=>yd,ZodNullable:()=>Ud,ZodNumber:()=>Pn,ZodNumberFormat:()=>Ut,ZodObject:()=>zr,ZodOptional:()=>Cr,ZodPipe:()=>Lr,ZodPrefault:()=>Zd,ZodPreprocess:()=>Kd,ZodPromise:()=>ep,ZodReadonly:()=>Jd,ZodRealError:()=>xe,ZodRecord:()=>wn,ZodSet:()=>zd,ZodString:()=>Sn,ZodStringFormat:()=>X,ZodSuccess:()=>Gd,ZodSymbol:()=>hd,ZodTemplateLiteral:()=>qd,ZodTransform:()=>Ld,ZodTuple:()=>Ed,ZodType:()=>M,ZodULID:()=>Ho,ZodURL:()=>Ar,ZodUUID:()=>Ge,ZodUndefined:()=>vd,ZodUnion:()=>Dr,ZodUnknown:()=>$d,ZodVoid:()=>xd,ZodXID:()=>Wo,ZodXor:()=>Id,_ZodString:()=>Ro,_default:()=>Md,_function:()=>zh,any:()=>lh,array:()=>Nr,base64:()=>Gg,base64url:()=>Bg,bigint:()=>oh,boolean:()=>gd,catch:()=>Hd,check:()=>Dh,cidrv4:()=>Fg,cidrv6:()=>Vg,clone:()=>W,codec:()=>Eh,coerce:()=>sp,compile:()=>Ic,config:()=>te,core:()=>Qe,creditCard:()=>Wg,cuid:()=>Dg,cuid2:()=>Cg,currencyCode:()=>Qg,custom:()=>Ch,date:()=>ph,decode:()=>id,decodeAsync:()=>ad,deepPartial:()=>Kh,describe:()=>Lh,discriminatedUnion:()=>yh,e164:()=>Hg,email:()=>wg,emoji:()=>Ng,encode:()=>rd,encodeAsync:()=>od,endsWith:()=>mn,enum:()=>oa,exactOptional:()=>jd,file:()=>Ih,flattenError:()=>Qn,float32:()=>th,float64:()=>nh,formatError:()=>er,fromJSONSchema:()=>Hh,function:()=>zh,getDiscriminatedOption:()=>Ku,getErrorMap:()=>Zx,globalRegistry:()=>ue,gt:()=>Fe,gte:()=>Ie,guid:()=>Ig,hash:()=>eh,hex:()=>Yg,hostname:()=>qg,httpUrl:()=>Og,iban:()=>Kg,includes:()=>dn,input:()=>Xh,instanceof:()=>Uh,int:()=>jo,int32:()=>rh,int64:()=>ah,intersection:()=>Td,invertCodec:()=>Ah,ipv4:()=>Rg,ipv6:()=>Zg,iso:()=>Rr,json:()=>Mh,jwt:()=>Jg,keyof:()=>mh,ksuid:()=>Ug,lazy:()=>Qd,length:()=>Nt,literal:()=>wh,locales:()=>_r,looseObject:()=>hh,looseRecord:()=>_h,lowercase:()=>cn,lt:()=>Ze,lte:()=>we,mac:()=>Mg,map:()=>$h,maxLength:()=>Ot,maxSize:()=>ut,memoizer:()=>yr,meta:()=>jh,mime:()=>gn,minLength:()=>Ye,minSize:()=>Ve,multipleOf:()=>st,nan:()=>Th,nanoid:()=>zg,nativeEnum:()=>xh,negative:()=>So,never:()=>ia,nonnegative:()=>To,nonoptional:()=>Vd,nonpositive:()=>Po,normalize:()=>hn,null:()=>bd,nullable:()=>Er,nullish:()=>Sh,number:()=>fd,object:()=>fh,optional:()=>Ct,output:()=>qh,overwrite:()=>Ce,parse:()=>Ql,parseAsync:()=>ed,partialRecord:()=>bh,pipe:()=>Uo,positive:()=>Io,prefault:()=>Fd,preprocess:()=>Zh,prettifyError:()=>es,promise:()=>Nh,properties:()=>fn,property:()=>Eo,readonly:()=>Xd,record:()=>Od,refine:()=>np,regex:()=>un,regexes:()=>Te,registry:()=>Qi,safeDecode:()=>ud,safeDecodeAsync:()=>ld,safeEncode:()=>sd,safeEncodeAsync:()=>cd,safeParse:()=>td,safeParseAsync:()=>nd,set:()=>kh,setErrorMap:()=>Mx,size:()=>At,slugify:()=>_n,startsWith:()=>pn,strictObject:()=>gh,string:()=>Tr,stringFormat:()=>Xg,stringbool:()=>Rh,success:()=>Ph,superRefine:()=>rp,symbol:()=>uh,templateLiteral:()=>Oh,toJSONSchema:()=>zo,toLowerCase:()=>yn,toUpperCase:()=>bn,toZod:()=>Vn,transform:()=>aa,treeifyError:()=>Qa,trim:()=>vn,tuple:()=>Ad,uint32:()=>ih,uint64:()=>sh,ulid:()=>Lg,undefined:()=>ch,union:()=>An,unknown:()=>Dt,uppercase:()=>ln,url:()=>Ag,util:()=>_,uuid:()=>Sg,uuidv4:()=>Pg,uuidv6:()=>Tg,uuidv7:()=>Eg,validate:()=>tr,validateAsync:()=>nr,void:()=>dh,withParser:()=>eo,xid:()=>jg,xor:()=>vh});var Qe={};Ke(Qe,{$ZodAny:()=>Ru,$ZodArray:()=>Bu,$ZodAsyncError:()=>$e,$ZodBase64:()=>Pu,$ZodBase64URL:()=>Tu,$ZodBigInt:()=>Ri,$ZodBigIntFormat:()=>Cu,$ZodBoolean:()=>pr,$ZodCIDRv4:()=>Iu,$ZodCIDRv6:()=>Su,$ZodCUID:()=>mu,$ZodCUID2:()=>fu,$ZodCatch:()=>lc,$ZodCheck:()=>q,$ZodCheckBigIntFormat:()=>Ms,$ZodCheckEndsWith:()=>Ys,$ZodCheckGreaterThan:()=>xi,$ZodCheckIncludes:()=>Xs,$ZodCheckLengthEquals:()=>Hs,$ZodCheckLessThan:()=>ki,$ZodCheckLowerCase:()=>Ks,$ZodCheckMaxLength:()=>Gs,$ZodCheckMaxSize:()=>Zs,$ZodCheckMimeType:()=>tu,$ZodCheckMinLength:()=>Bs,$ZodCheckMinSize:()=>Fs,$ZodCheckMultipleOf:()=>Us,$ZodCheckNumberFormat:()=>Rs,$ZodCheckOverwrite:()=>nu,$ZodCheckProperties:()=>eu,$ZodCheckProperty:()=>Qs,$ZodCheckRegex:()=>Ws,$ZodCheckSizeEquals:()=>Vs,$ZodCheckStartsWith:()=>qs,$ZodCheckStringFormat:()=>nn,$ZodCheckUpperCase:()=>Js,$ZodCodec:()=>fr,$ZodCreditCard:()=>Au,$ZodCustom:()=>vc,$ZodCustomStringFormat:()=>zu,$ZodCyclicError:()=>Hi,$ZodDate:()=>Vu,$ZodDefault:()=>ac,$ZodDiscriminatedUnion:()=>Ju,$ZodE164:()=>Eu,$ZodEmail:()=>su,$ZodEmoji:()=>du,$ZodEncodeError:()=>ot,$ZodEnum:()=>ec,$ZodError:()=>Ya,$ZodExactOptional:()=>ic,$ZodFile:()=>nc,$ZodFunction:()=>gc,$ZodGUID:()=>ou,$ZodIBAN:()=>Ou,$ZodIPv4:()=>ku,$ZodIPv6:()=>xu,$ZodISODate:()=>bu,$ZodISODateTime:()=>yu,$ZodISODuration:()=>$u,$ZodISOTime:()=>_u,$ZodIntersection:()=>Xu,$ZodJWT:()=>Nu,$ZodKSUID:()=>vu,$ZodLazy:()=>gr,$ZodLiteral:()=>tc,$ZodMAC:()=>wu,$ZodMap:()=>Yu,$ZodNaN:()=>dc,$ZodNanoID:()=>pu,$ZodNever:()=>Zu,$ZodNonOptional:()=>uc,$ZodNull:()=>Uu,$ZodNullable:()=>oc,$ZodNumber:()=>Ui,$ZodNumberFormat:()=>Du,$ZodObject:()=>zm,$ZodObjectJIT:()=>Hu,$ZodOptional:()=>Zi,$ZodPipe:()=>Fi,$ZodPrefault:()=>sc,$ZodPreprocess:()=>pc,$ZodPromise:()=>hc,$ZodReadonly:()=>mc,$ZodRealError:()=>ke,$ZodRecord:()=>qu,$ZodRegistry:()=>Yi,$ZodSet:()=>Qu,$ZodString:()=>St,$ZodStringFormat:()=>K,$ZodSuccess:()=>cc,$ZodSymbol:()=>Lu,$ZodTemplateLiteral:()=>fc,$ZodTransform:()=>rc,$ZodTuple:()=>Mi,$ZodType:()=>U,$ZodULID:()=>gu,$ZodURL:()=>lu,$ZodUUID:()=>au,$ZodUndefined:()=>ju,$ZodUnion:()=>mr,$ZodUnknown:()=>Mu,$ZodVoid:()=>Fu,$ZodXID:()=>hu,$ZodXor:()=>Wu,$brand:()=>Ja,$constructor:()=>h,$input:()=>$c,$output:()=>_c,Doc:()=>It,INVALID:()=>fe,JSONSchema:()=>$g,JSONSchemaGenerator:()=>Do,NEVER:()=>Ka,TimePrecision:()=>zc,URL_BAD_FORMAT:()=>uu,URL_UNPARSEABLE:()=>sr,ZodCompileAsyncError:()=>De,ZodCompileUnsupportedError:()=>F,_any:()=>Xc,_array:()=>rl,_base64:()=>$o,_base64url:()=>ko,_bigint:()=>Vc,_boolean:()=>Zc,_catch:()=>wx,_check:()=>og,_cidrv4:()=>bo,_cidrv6:()=>_o,_coercedBigint:()=>Gc,_coercedBoolean:()=>Fc,_coercedDate:()=>tl,_coercedNumber:()=>Cc,_coercedString:()=>Ec,_creditCard:()=>Oc,_cuid:()=>po,_cuid2:()=>mo,_custom:()=>ol,_date:()=>el,_decode:()=>di,_decodeAsync:()=>mi,_default:()=>$x,_discriminatedUnion:()=>cx,_e164:()=>xo,_email:()=>ro,_emoji:()=>co,_encode:()=>li,_encodeAsync:()=>pi,_endsWith:()=>mn,_enum:()=>gx,_file:()=>il,_float32:()=>jc,_float64:()=>Uc,_gt:()=>Fe,_gte:()=>Ie,_guid:()=>io,_iban:()=>Nc,_includes:()=>dn,_int:()=>Lc,_int32:()=>Rc,_int64:()=>Bc,_intersection:()=>lx,_ipv4:()=>vo,_ipv6:()=>yo,_isoDate:()=>xr,_isoDateTime:()=>kr,_isoDuration:()=>Ir,_isoTime:()=>wr,_jwt:()=>wo,_ksuid:()=>ho,_lazy:()=>Tx,_length:()=>Nt,_literal:()=>vx,_lowercase:()=>cn,_lt:()=>Ze,_lte:()=>we,_mac:()=>Ac,_map:()=>mx,_max:()=>we,_maxLength:()=>Ot,_maxSize:()=>ut,_mime:()=>gn,_min:()=>Ie,_minLength:()=>Ye,_minSize:()=>Ve,_multipleOf:()=>st,_nan:()=>nl,_nanoid:()=>lo,_nativeEnum:()=>hx,_negative:()=>So,_never:()=>Yc,_nonnegative:()=>To,_nonoptional:()=>kx,_nonpositive:()=>Po,_normalize:()=>hn,_null:()=>Jc,_nullable:()=>_x,_number:()=>Dc,_optional:()=>bx,_overwrite:()=>Ce,_parse:()=>Yt,_parseAsync:()=>Qt,_pipe:()=>Ix,_positive:()=>Io,_promise:()=>Ex,_properties:()=>fn,_property:()=>Eo,_readonly:()=>Sx,_record:()=>px,_refine:()=>al,_regex:()=>un,_safeDecode:()=>gi,_safeDecodeAsync:()=>vi,_safeEncode:()=>fi,_safeEncodeAsync:()=>hi,_safeParse:()=>en,_safeParseAsync:()=>tn,_set:()=>fx,_size:()=>At,_slugify:()=>_n,_startsWith:()=>pn,_string:()=>Tc,_stringFormat:()=>zt,_stringbool:()=>ll,_success:()=>xx,_superRefine:()=>sl,_symbol:()=>Wc,_templateLiteral:()=>Px,_toLowerCase:()=>yn,_toUpperCase:()=>bn,_transform:()=>yx,_trim:()=>vn,_tuple:()=>dx,_uint32:()=>Mc,_uint64:()=>Hc,_ulid:()=>fo,_undefined:()=>Kc,_union:()=>sx,_unknown:()=>qc,_uppercase:()=>ln,_url:()=>$r,_uuid:()=>oo,_uuidv4:()=>ao,_uuidv6:()=>so,_uuidv7:()=>uo,_void:()=>Qc,_xid:()=>go,_xor:()=>ux,base64Charset:()=>zi,base64urlCharset:()=>dr,canParseURL:()=>cu,clone:()=>W,compile:()=>Ic,compileFn:()=>to,config:()=>te,createStandardJSONSchemaMethod:()=>$n,createToJSONSchemaMethod:()=>pl,decode:()=>u_,decodeAsync:()=>l_,describe:()=>ul,encode:()=>s_,encodeAsync:()=>c_,extractDefs:()=>lt,finalize:()=>dt,flattenError:()=>Qn,formatError:()=>er,getDiscriminatedOption:()=>Ku,globalConfig:()=>ae,globalRegistry:()=>ue,handleUnrepresentable:()=>ie,initializeContext:()=>ct,isBackEdge:()=>Ki,isRecursiveSchema:()=>Wi,isValidBase64:()=>lr,isValidBase64URL:()=>Di,isValidCIDRv6:()=>Ni,isValidCreditCard:()=>Ci,isValidIBAN:()=>Li,isValidIPv6:()=>cr,isValidJWT:()=>ji,locales:()=>_r,memoizer:()=>yr,mergeValues:()=>rn,meta:()=>cl,parse:()=>ui,parseAsync:()=>ci,parseURLObject:()=>Am,prettifyError:()=>es,process:()=>J,processSchema:()=>J,regexes:()=>Te,registry:()=>Qi,safeDecode:()=>p_,safeDecodeAsync:()=>f_,safeEncode:()=>d_,safeEncodeAsync:()=>m_,safeParse:()=>n_,safeParseAsync:()=>r_,standardProps:()=>Ti,stripTabAndNewline:()=>ur,toDotPath:()=>cm,toJSONSchema:()=>zo,toZod:()=>Vn,treeifyError:()=>Qa,urlHostnameOk:()=>Ai,urlProtocolOk:()=>Oi,util:()=>_,validate:()=>tr,validateAsync:()=>nr,validateURL:()=>Ei,version:()=>ru,withParser:()=>eo});var _={};Ke(_,{BIGINT_FORMAT_RANGES:()=>Kn,CONSTANT_CATCH:()=>ai,Class:()=>Ua,NUMBER_FORMAT_RANGES:()=>Wn,aborted:()=>me,allowsEval:()=>Za,assert:()=>kb,assertEqual:()=>yb,assertIs:()=>_b,assertNever:()=>$b,assertNotEqual:()=>bb,assignProp:()=>se,attachSchema:()=>Jn,base64ToUint8Array:()=>rm,base64urlToUint8Array:()=>Zb,cached:()=>Kt,captureStackTrace:()=>ii,cleanEnum:()=>Mb,cleanRegex:()=>Xe,clone:()=>W,cloneDef:()=>Ib,codePointLength:()=>xt,constantCatch:()=>Ha,createTransparentProxy:()=>Ob,defineLazy:()=>Ra,defineLazyInternal:()=>Z,derived:()=>Bb,esc:()=>pe,escapeRegex:()=>Pe,explicitlyAborted:()=>Ga,extend:()=>Db,finalizeIssue:()=>_e,floatSafeRemainder:()=>Gn,getElementAtPath:()=>Sb,getEnumValues:()=>Ht,getLengthableOrigin:()=>qn,getParsedType:()=>Ab,getSizableOrigin:()=>Xn,hexToUint8Array:()=>Vb,hide:()=>Yn,installLazyProp:()=>Jb,isObject:()=>kt,isPlainObject:()=>Se,issue:()=>qt,joinValues:()=>v,jsonStringifyReplacer:()=>Wt,members:()=>Ba,merge:()=>Lb,mergeDefs:()=>ze,normalizeParams:()=>S,nullish:()=>ri,numKeys:()=>Eb,objectClone:()=>xb,omit:()=>zb,optionalKeys:()=>Va,own:()=>it,parsedType:()=>k,partial:()=>jb,pick:()=>Nb,prefixIssues:()=>be,primitiveTypes:()=>Fa,promiseAllObject:()=>Pb,propertyKeyTypes:()=>Hn,randomString:()=>Tb,rawShape:()=>Jt,required:()=>Ub,safeExtend:()=>Cb,shallowClone:()=>Bn,sizeCaps:()=>Xt,slugify:()=>Ma,stringifyPrimitive:()=>$,toZod:()=>Vn,uint8ArrayToBase64:()=>im,uint8ArrayToBase64url:()=>Fb,uint8ArrayToHex:()=>Gb,unwrapMessage:()=>Bt});function yb(e){return e}function bb(e){return e}function Vn(){return e=>e}function _b(e){}function $b(e){throw new Error("Unexpected value in exhaustive check")}function kb(e){}function Ht(e){let n=Object.values(e).filter(o=>typeof o=="number");return Object.entries(e).filter(([o,t])=>n.indexOf(+o)===-1).map(([o,t])=>t)}function v(e,n="|"){return e.map(i=>$(i)).join(n)}function Wt(e,n){return typeof n=="bigint"?n.toString():n}var ja=class{constructor(n){this._getter=n,this._value=void 0}get value(){let n=this._getter;return n!==void 0&&(this._value=n(),this._getter=void 0),this._value}};function Kt(e){return new ja(e)}function ri(e){return e==null}function Xe(e){let n=e.startsWith("^")?1:0,i=e.endsWith("$")?e.length-1:e.length;return e.slice(n,i)}function Gn(e,n){let i=e/n,o=Math.round(i),t=4*Number.EPSILON*Math.max(Math.abs(i),1);return Math.abs(i-o){let s=n._zod.def.shape[r];return o?o(s,r):s}):tm(e,r,o?o(a.value,r):a.value))}}function wb(e,n){for(let i of Reflect.ownKeys(n)){let o=Object.getOwnPropertyDescriptor(n,i);o.enumerable&&(o.get?em(e,i,()=>n[i]):tm(e,i,o.value))}}function ze(...e){let n={};for(let i of e){let o=Object.getOwnPropertyDescriptors(i);Object.assign(n,o)}return Object.defineProperties({},n)}function Ib(e){return ze(e._zod.def)}function Sb(e,n){return n?n.reduce((i,o)=>i?.[o],e):e}function Pb(e){let n=Object.keys(e),i=n.map(o=>e[o]);return Promise.all(i).then(o=>{let t={};for(let r=0;r{};function kt(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var Za=Kt(()=>{if(ae.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function Se(e){if(kt(e)===!1)return!1;let n=e.constructor;if(n===void 0||typeof n!="function")return!0;let i=n.prototype;return!(kt(i)===!1||Object.prototype.hasOwnProperty.call(i,"isPrototypeOf")===!1)}function Bn(e){return Se(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function Eb(e){let n=0;for(let i in e)Object.prototype.hasOwnProperty.call(e,i)&&n++;return n}var Ab=e=>{let n=typeof e;switch(n){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${n}`)}},Hn=new Set(["string","number","symbol"]),Fa=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Pe(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function W(e,n,i){let o=new e._zod.constr(n??e._zod.def);return(!n||i?.parent)&&(o._zod.parent=e),o}function S(e){let n=e;if(!n)return{};if(typeof n=="string")return{error:()=>n};if(n?.message!==void 0){if(n?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");n.error=n.message}return delete n.message,typeof n.error=="string"?{...n,error:()=>n.error}:n}function Ob(e){let n;return new Proxy({},{get(i,o,t){return n??(n=e()),Reflect.get(n,o,t)},set(i,o,t,r){return n??(n=e()),Reflect.set(n,o,t,r)},has(i,o){return n??(n=e()),Reflect.has(n,o)},deleteProperty(i,o){return n??(n=e()),Reflect.deleteProperty(n,o)},ownKeys(i){return n??(n=e()),Reflect.ownKeys(n)},getOwnPropertyDescriptor(i,o){return n??(n=e()),Reflect.getOwnPropertyDescriptor(n,o)},defineProperty(i,o,t){return n??(n=e()),Reflect.defineProperty(n,o,t)}})}function $(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Va(e){return Object.keys(e).filter(n=>e[n]._zod.optin!==void 0&&e[n]._zod.optout==="optional")}var Wn={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Kn={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Nb(e,n){let i=e._zod.def,o=i.checks;if(o&&o.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let r={};return $t(r,e,oi(e,n)),W(e,ze(i,{shape:r,checks:[]}))}function oi(e,n){let i=Je(e),o=[];for(let t of Reflect.ownKeys(n)){if(!Object.getOwnPropertyDescriptor(i,t)?.enumerable)throw new Error(`Unrecognized key: "${String(t)}"`);n[t]&&o.push(t)}return o}function zb(e,n){let i=e._zod.def,o=i.checks;if(o&&o.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let r=new Set(oi(e,n)),a={};return $t(a,e,Reflect.ownKeys(Je(e)).filter(s=>!r.has(s))),W(e,ze(i,{shape:a,checks:[]}))}function Db(e,n){if(!Se(n))throw new Error("Invalid input to extend: expected a plain object");let i=e._zod.def.checks;if(i&&i.length>0){let t=Je(e);for(let r of Reflect.ownKeys(n))if(Object.getOwnPropertyDescriptor(t,r)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return W(e,ze(e._zod.def,{shape:nm(e,n)}))}function nm(e,n){let i={};return $t(i,e,Reflect.ownKeys(Je(e))),wb(i,n),i}function Cb(e,n){if(!Se(n))throw new Error("Invalid input to safeExtend: expected a plain object");return W(e,ze(e._zod.def,{shape:nm(e,n)}))}function Lb(e,n){if(!n?._zod?.def)throw new Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let i={};$t(i,e,Reflect.ownKeys(Je(e))),$t(i,n,Reflect.ownKeys(Je(n)));let o=ze(e._zod.def,{shape:i,get catchall(){return n._zod.def.catchall},checks:n._zod.def.checks??[]});return W(e,o)}function jb(e,n,i,o="partial"){let r=n._zod.def.checks;if(r&&r.length>0)throw new Error(`.${o}() cannot be used on object schemas containing refinements`);let s=i?new Set(oi(n,i)):void 0,u={};return $t(u,n,Reflect.ownKeys(Je(n)),e&&((c,d)=>s&&!s.has(d)?c:new e({type:"optional",innerType:c}))),W(n,ze(n._zod.def,{shape:u,checks:[]}))}function Ub(e,n,i){let o=i?new Set(oi(n,i)):void 0,t={};return $t(t,n,Reflect.ownKeys(Je(n)),(r,a)=>o&&!o.has(a)?r:new e({type:"nonoptional",innerType:r})),W(n,ze(n._zod.def,{shape:t}))}function me(e,n=0){if(e.aborted===!0)return!0;for(let i=n;i{var o;return(o=i).path??(o.path=[]),i.path.unshift(e),i})}function Bt(e){return typeof e=="string"?e:e?.message}function Xt(e){let n=[];for(let i of e??[]){let o=i._zod.def;if(!/_(length|size)$|_equals$/.test(o.check))break;let t=o.maximum??o.length??o.size;t>=0&&n.push([t,i])}return n}function Jn(e,n,i){var o;for(let t=n;tNumber.isNaN(Number.parseInt(n,10))).map(n=>n[1])}function rm(e){let n=atob(e),i=new Uint8Array(n.length);for(let o=0;on.toString(16).padStart(2,"0")).join("")}var Ua=class{constructor(...n){}};function Ba(e,n){for(let i in n){let o=Object.getOwnPropertyDescriptor(n,i);o.get?Object.defineProperty(e,i,{...o,enumerable:!1}):Hb(e,i,o.value)}}function it(e,n,i,o=!0){return Object.defineProperty(e,n,{configurable:!0,writable:!0,enumerable:o,value:i}),i}function Yn(e,n,i){return it(e,n,i,!1)}function Bb(e,n){for(let i in e){let o=e[i];Object.defineProperty(n,i,{configurable:!0,enumerable:!0,get(){return it(this,i,o(this))},set(t){it(this,i,t)}})}return n}function Hb(e,n,i){Object.defineProperty(e,n,{configurable:!0,get(){return this==null?i:it(this,n,i.bind(this))},set(o){it(this,n,o)}})}function Wb(e,n){let i=Object.getPrototypeOf(e);return n in i?void 0:i}var La,rt=!1,Kb={configurable:!0,get(){rt=!0}};function Z(e,n,i){let o=Object.getPrototypeOf(e._zod);if(n in o&&La!==e._zod){La=void 0;return}La=e._zod,Object.defineProperty(o,n,{configurable:!0,get(){Object.defineProperty(this,n,Kb);let t=rt;rt=!1;try{let r=i(this);return rt?delete this[n]:Object.defineProperty(this,n,{configurable:!0,writable:!0,value:r}),rt=rt||t,r}catch(r){throw delete this[n],rt=rt||t,r}},set(t){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:t})}})}function Jb(e,n,i,o){let t=Wb(e,n);t&&Object.defineProperty(t,n,{configurable:!0,get(){let r={configurable:!0,writable:!0,enumerable:o,value:void 0};return Object.defineProperty(this,n,r),r.value=i(this),Object.defineProperty(this,n,r),r.value},set(r){Object.defineProperty(this,n,{configurable:!0,writable:!0,enumerable:o,value:r})}})}var ai="~constantCatch";function Ha(e){let n=()=>e;return n[ai]=!0,n}var om,Ka=Object.freeze({status:"aborted"}),Wa={value:void 0,enumerable:!1},am="captureStackTrace"in Error?Error:null;function Xb(e){let n=am;if(n){let i=n.stackTraceLimit;if(typeof i=="number"){try{n.stackTraceLimit=0}catch{return am=null,new e}try{return new e}finally{n.stackTraceLimit=i}}}return new e}function h(e,n,i,o){let t={};function r(m){this.def=m,this.constr=p,this.traits=new Set}r.prototype=t;let a=i,s=a&&new WeakSet;function u(m,f){if(m._zod){if(m._zod.traits.has(e))return}else{Wa.value=new r(f);try{Object.defineProperty(m,"_zod",Wa)}finally{Wa.value=void 0}}if(m._zod.traits.add(e),n(m,f),s){let y=Object.getPrototypeOf(m),x=m._zod.constr.prototype,I=y;for(;I&&I!==x;)I=Object.getPrototypeOf(I);let b=I??y;s.has(b)||(s.add(b),Ba(b,a))}let g=p.prototype;for(let y in g)Object.prototype.hasOwnProperty.call(g,y)&&(y in m||(m[y]=g[y].bind(m)))}let c=o?.Parent??Object;class d extends c{}Object.defineProperty(d,"name",{value:e});function p(m){let f=o?.Parent?Xb(d):this;u(f,m);let g=f._zod.deferred;if(g){for(let x of g)x();f._zod.deferred=void 0}let y=globalThis.__zod_globalConfig?.postProcessor;return y&&y(f),f}return Object.defineProperty(p,"init",{value:u}),Object.defineProperty(p,Symbol.hasInstance,{value:m=>o?.Parent&&m instanceof o.Parent?!0:m?._zod?.traits?.has(e)}),Object.defineProperty(p,"name",{value:e}),p}var Ja=Symbol("zod_brand"),$e=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},ot=class extends Error{constructor(n){super(`Encountered unidirectional transform during encode: ${n}`),this.name="ZodEncodeError"}};(om=globalThis).__zod_globalConfig??(om.__zod_globalConfig={});var ae=globalThis.__zod_globalConfig;function te(e){return e&&Object.assign(ae,e),ae}function qb(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Wt,2)),e.message}function Yb(e){this._zod.message=e}var Qb={get:qb,set:Yb,enumerable:!0,configurable:!0},qa={value:void 0,enumerable:!1},sm=new WeakSet([Object.prototype,Error.prototype]),um=(e,n)=>{e.name="$ZodError",qa.value=n,Object.defineProperty(e,"issues",qa),qa.value=void 0,Object.defineProperty(e,"message",Qb);let i=Object.getPrototypeOf(e);sm.has(i)||(sm.add(i),Object.defineProperty(i,"toString",{configurable:!0,enumerable:!1,get(){let o=()=>this.message;return Object.defineProperty(this,"toString",{value:o,configurable:!0,writable:!0}),o},set(o){Object.defineProperty(this,"toString",{value:o,configurable:!0,writable:!0})}}))},Ya=h("$ZodError",um),ke=h("$ZodError",um,void 0,{Parent:Error});function e_(e,n,i){return Object.prototype.hasOwnProperty.call(e,n)||(n==="__proto__"?Object.defineProperty(e,n,{value:i(),writable:!0,enumerable:!0,configurable:!0}):e[n]=i()),e[n]}function Qn(e,n=i=>i.message){let i={},o=[];for(let t of e.issues)t.path.length>0?e_(i,t.path[0],()=>[]).push(n(t)):o.push(n(t));return{formErrors:o,fieldErrors:i}}function er(e,n=i=>i.message){let i={_errors:[]},o=(t,r=[])=>{for(let a of t.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(s=>o({issues:s},[...r,...a.path]));else if(a.code==="invalid_key")o({issues:a.issues},[...r,...a.path]);else if(a.code==="invalid_element")o({issues:a.issues},[...r,...a.path]);else{let s=[...r,...a.path];if(s.length===0)i._errors.push(n(a));else{let u=i,c=0;for(;ci.message){let i={errors:[]},o=(t,r=[])=>{var a;for(let s of t.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(u=>o({issues:u},[...r,...s.path]));else if(s.code==="invalid_key")o({issues:s.issues},[...r,...s.path]);else if(s.code==="invalid_element")o({issues:s.issues},[...r,...s.path]);else{let u=[...r,...s.path];if(u.length===0){i.errors.push(n(s));continue}let c=i,d=0;for(;dtypeof o=="object"?o.key:o);for(let o of i)typeof o=="number"?n.push(`[${o}]`):typeof o=="symbol"?n.push(`[${JSON.stringify(String(o))}]`):/[^\w$]/.test(o)?n.push(`[${JSON.stringify(o)}]`):(n.length&&n.push("."),n.push(o));return n.join("")}function es(e){let n=[],i=[...e.issues].sort((o,t)=>(o.path??[]).length-(t.path??[]).length);for(let o of i)n.push(`✖ ${o.message}`),o.path?.length&&n.push(` → at ${cm(o.path)}`);return n.join(` +`)}function si(e,n){return{callee:n?.callee??e,Err:n?.Err}}var Yt=e=>{let n=(i,o,t,r)=>{let a=t?{...t,async:!1}:{async:!1},s=i._zod.run({value:o,issues:[]},a);if(s instanceof Promise)throw new $e;if(s.issues.length){let u=new(r?.Err??e)(s.issues.map(c=>_e(c,a,te())));throw ii(u,r?.callee??n),u}return s.value};return n},ui=Yt(ke),Qt=e=>{let n=async(i,o,t,r)=>{let a=t?{...t,async:!0}:{async:!0},s=i._zod.run({value:o,issues:[]},a);if(s instanceof Promise&&(s=await s),s.issues.length){let u=new(r?.Err??e)(s.issues.map(c=>_e(c,a,te())));throw ii(u,r?.callee??n),u}return s.value};return n},ci=Qt(ke),en=e=>(n,i,o)=>{let t=o?{...o,async:!1}:{async:!1},r=n._zod.run({value:i,issues:[]},t);if(r instanceof Promise)throw new $e;return r.issues.length?lm(e,r.issues,t):{success:!0,data:r.value}},n_=en(ke);function lm(e,n,i){let o;return{success:!1,get error(){return o||(o=new e(n.map(t=>_e(t,i,te()))),n=void 0,i=void 0),o},set error(t){o=t,n=void 0,i=void 0}}}var tn=e=>async(n,i,o)=>{let t=o?{...o,async:!0}:{async:!0},r=n._zod.run({value:i,issues:[]},t);return r instanceof Promise&&(r=await r),r.issues.length?lm(e,r.issues,t):{success:!0,data:r.value}},r_=tn(ke),i_=Symbol.for("zod.compile.invalid"),o_=Symbol.for("zod.compile.fallback"),tr=((e,n,i)=>{let o=e._zod.bag.validator;if(o!==void 0){if(o(n)!==i_)return!0;if(o.definite===!0&&i===void 0)return!1}return a_(e,n,i)});function a_(e,n,i){let o=i?{...i,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},t=e._zod.bag.fallbackRun,r;if(t?(o[o_]=!0,r=t({value:n,issues:[]},o)):r=e._zod.run({value:n,issues:[]},o),r instanceof Promise)throw new $e;return r.issues.length===0}var nr=async(e,n,i)=>{let o=i?{...i,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},t=e._zod.run({value:n,issues:[]},o);return t instanceof Promise&&(t=await t),t.issues.length===0},li=e=>{let n=Yt(e),i=(o,t,r,a)=>{let s=r?{...r,direction:"backward"}:{direction:"backward"};return n(o,t,s,si(i,a))};return i},s_=li(ke),di=e=>{let n=Yt(e),i=(o,t,r,a)=>n(o,t,r,si(i,a));return i},u_=di(ke),pi=e=>{let n=Qt(e),i=async(o,t,r,a)=>{let s=r?{...r,direction:"backward"}:{direction:"backward"};return await n(o,t,s,si(i,a))};return i},c_=pi(ke),mi=e=>{let n=Qt(e),i=async(o,t,r,a)=>await n(o,t,r,si(i,a));return i},l_=mi(ke),fi=e=>(n,i,o)=>{let t=o?{...o,direction:"backward"}:{direction:"backward"};return en(e)(n,i,t)},d_=fi(ke),gi=e=>(n,i,o)=>en(e)(n,i,o),p_=gi(ke),hi=e=>async(n,i,o)=>{let t=o?{...o,direction:"backward"}:{direction:"backward"};return tn(e)(n,i,t)},m_=hi(ke),vi=e=>async(n,i,o)=>tn(e)(n,i,o),f_=vi(ke);var Te={};Ke(Te,{anyString:()=>Ps,base64:()=>ys,base64url:()=>bs,bigint:()=>Es,boolean:()=>As,browserEmail:()=>k_,cidrv4:()=>hs,cidrv6:()=>vs,creditCard:()=>yi,cuid:()=>ns,cuid2:()=>rs,currencyCode:()=>xs,date:()=>ws,datetime:()=>Ss,domain:()=>$s,duration:()=>cs,e164:()=>ks,email:()=>ds,emoji:()=>ps,extendedDuration:()=>g_,guid:()=>ls,hex:()=>Cs,hostname:()=>_s,html5Email:()=>b_,httpProtocol:()=>rr,iban:()=>bi,idnEmail:()=>$_,integer:()=>ir,ipv4:()=>ms,ipv6:()=>fs,ksuid:()=>as,lowercase:()=>zs,mac:()=>gs,md5_base64:()=>S_,md5_base64url:()=>P_,md5_hex:()=>I_,nanoid:()=>ss,nanoidOfLength:()=>us,null:()=>Os,number:()=>qe,rfc5322Email:()=>__,sha1_base64:()=>E_,sha1_base64url:()=>A_,sha1_hex:()=>T_,sha256_base64:()=>N_,sha256_base64url:()=>z_,sha256_hex:()=>O_,sha384_base64:()=>C_,sha384_base64url:()=>L_,sha384_hex:()=>D_,sha512_base64:()=>U_,sha512_base64url:()=>R_,sha512_hex:()=>j_,string:()=>Ts,time:()=>Is,ulid:()=>is,undefined:()=>Ns,unicodeEmail:()=>dm,uppercase:()=>Ds,uuid:()=>wt,uuid4:()=>h_,uuid6:()=>v_,uuid7:()=>y_,xid:()=>os});var ns=/^[cC][0-9a-z]{6,}$/,rs=/^[0-9a-z]+$/,is=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,os=/^[0-9a-vA-V]{20}$/,as=/^[A-Za-z0-9]{27}$/,ss=/^[a-zA-Z0-9_-]{21}$/;function us(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var cs=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,g_=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,ls=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,wt=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,h_=wt(4),v_=wt(6),y_=wt(7),ds=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,b_=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,__=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,dm=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,$_=dm,k_=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,x_="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function ps(){return new RegExp(x_,"u")}var ms=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,fs=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,gs=e=>{let n=Pe(e??":");return new RegExp(`^(?:[0-9A-F]{2}${n}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${n}){5}[0-9a-f]{2}$`)},hs=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,vs=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,ys=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,bs=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,_s=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,$s=/^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,63}$/,rr=/^https?$/,ks=/^\+[1-9]\d{6,14}$/,yi=/^\d(?:[ -]?\d){11,18}$/,xs=/^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/,bi=/^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/,pm="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";function w_(e){return new RegExp(`^${e}$`)}var ws=w_(pm);function ts(e){let n="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${n}`:e.precision===0?`${n}:[0-5]\\d`:`${n}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${n}:[0-5]\\d(?:\\.\\d+)?`:`${n}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Is(e){return new RegExp(`^${ts(e)}$`)}function Ss(e){let n=["Z"];e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let i=`${ts({precision:e.precision,seconds:!0})}(?:${n.join("|")})`,o=e.local?`${i}|${ts({precision:e.precision})}`:i;return new RegExp(`^${pm}T(?:${o})$`)}var Ps=/^[\s\S]{0,}$/,Ts=e=>{let n=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${n}$`)},Es=/^-?\d+n?$/,ir=/^-?\d+$/,qe=/^-?\d+(?:\.\d+)?$/,As=/^(?:true|false)$/i,Os=/^null$/i;var Ns=/^undefined$/i;var zs=/^[^A-Z]*$/,Ds=/^[^a-z]*$/,Cs=/^[0-9a-fA-F]*$/;function or(e,n){return new RegExp(`^[A-Za-z0-9+/]{${e}}${n}$`)}function ar(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var I_=/^[0-9a-fA-F]{32}$/,S_=or(22,"=="),P_=ar(22),T_=/^[0-9a-fA-F]{40}$/,E_=or(27,"="),A_=ar(27),O_=/^[0-9a-fA-F]{64}$/,N_=or(43,"="),z_=ar(43),D_=/^[0-9a-fA-F]{96}$/,C_=or(64,""),L_=ar(64),j_=/^[0-9a-fA-F]{128}$/,U_=or(86,"=="),R_=ar(86);var q=h("$ZodCheck",(e,n)=>{var i;e._zod??(e._zod={}),e._zod.def=n,(i=e._zod).onattach??(i.onattach=[])}),Ls=e=>{let n=e.value;return!ri(n)&&n.size!==void 0},js=e=>{let n=e.value;return!ri(n)&&n.length!==void 0},_i={number:"number",bigint:"bigint",object:"date"},ki=h("$ZodCheckLessThan",(e,n)=>{q.init(e,n);let i=_i[typeof n.value];e._zod.check=o=>{(n.inclusive?o.value<=n.value:o.value{q.init(e,n);let i=_i[typeof n.value];e._zod.check=o=>{(n.inclusive?o.value>=n.value:o.value>n.value)||o.issues.push({origin:_i[typeof o.value]??i,code:"too_small",minimum:typeof n.value=="object"?n.value.getTime():n.value,input:o.value,inclusive:n.inclusive,inst:e,continue:!n.abort})}}),Us=h("$ZodCheckMultipleOf",(e,n)=>{q.init(e,n),e._zod.check=i=>{if(typeof i.value!=typeof n.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof i.value=="bigint"?n.value!==BigInt(0)&&i.value%n.value===BigInt(0):Gn(i.value,n.value)===0)||i.issues.push({origin:typeof i.value,code:"not_multiple_of",divisor:n.value,input:i.value,inst:e,continue:!n.abort})}}),Rs=h("$ZodCheckNumberFormat",(e,n)=>{q.init(e,n),n.format=n.format||"float64";let i=n.format?.includes("int"),o=i?"int":"number",[t,r]=Wn[n.format];e._zod.check=a=>{let s=a.value;if(i){if(!Number.isInteger(s)){a.issues.push({expected:o,format:n.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,inclusive:!0,continue:!n.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,inclusive:!0,continue:!n.abort});return}}sr&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:r,inclusive:!0,inst:e,continue:!n.abort})}}),Ms=h("$ZodCheckBigIntFormat",(e,n)=>{q.init(e,n);let[i,o]=Kn[n.format];e._zod.check=t=>{let r=t.value;ro&&t.issues.push({origin:"bigint",input:r,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!n.abort})}}),Zs=h("$ZodCheckMaxSize",(e,n)=>{var i;q.init(e,n),(i=e._zod.def).when??(i.when=Ls),e._zod.check=o=>{let t=o.value;t.size<=n.maximum||o.issues.push({origin:Xn(t),code:"too_big",maximum:n.maximum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),Fs=h("$ZodCheckMinSize",(e,n)=>{var i;q.init(e,n),(i=e._zod.def).when??(i.when=Ls),e._zod.check=o=>{let t=o.value;t.size>=n.minimum||o.issues.push({origin:Xn(t),code:"too_small",minimum:n.minimum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),Vs=h("$ZodCheckSizeEquals",(e,n)=>{var i;q.init(e,n),(i=e._zod.def).when??(i.when=Ls),e._zod.check=o=>{let t=o.value,r=t.size;if(r===n.size)return;let a=r>n.size;o.issues.push({origin:Xn(t),...a?{code:"too_big",maximum:n.size}:{code:"too_small",minimum:n.size},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!n.abort})}}),Gs=h("$ZodCheckMaxLength",(e,n)=>{var i;q.init(e,n),(i=e._zod.def).when??(i.when=js),e._zod.check=o=>{let t=o.value,r=t.length;if((typeof t=="string"&&r>n.maximum?xt(t):r)<=n.maximum)return;let s=qn(t);o.issues.push({origin:s,code:"too_big",maximum:n.maximum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),Bs=h("$ZodCheckMinLength",(e,n)=>{var i;q.init(e,n),(i=e._zod.def).when??(i.when=js),e._zod.check=o=>{let t=o.value,r=t.length;if((typeof t=="string"&&r>=n.minimum&&r=n.minimum)return;let s=qn(t);o.issues.push({origin:s,code:"too_small",minimum:n.minimum,inclusive:!0,input:t,inst:e,continue:!n.abort})}}),Hs=h("$ZodCheckLengthEquals",(e,n)=>{var i;q.init(e,n),(i=e._zod.def).when??(i.when=js),e._zod.check=o=>{let t=o.value,r=t.length,a=typeof t=="string"&&r>=n.length&&r<=n.length*2?xt(t):r;if(a===n.length)return;let s=qn(t),u=a>n.length;o.issues.push({origin:s,...u?{code:"too_big",maximum:n.length}:{code:"too_small",minimum:n.length},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!n.abort})}}),nn=h("$ZodCheckStringFormat",(e,n)=>{var i,o;q.init(e,n),n.pattern?(i=e._zod).check??(i.check=t=>{n.pattern.lastIndex=0,!n.pattern.test(t.value)&&t.issues.push({origin:"string",code:"invalid_format",format:n.format,input:t.value,...n.pattern?{pattern:n.pattern.toString()}:{},inst:e,continue:!n.abort})}):(o=e._zod).check??(o.check=()=>{})}),Ws=h("$ZodCheckRegex",(e,n)=>{nn.init(e,n),e._zod.check=i=>{n.pattern.lastIndex=0,!n.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:"regex",input:i.value,pattern:n.pattern.toString(),inst:e,continue:!n.abort})}}),Ks=h("$ZodCheckLowerCase",(e,n)=>{n.pattern??(n.pattern=zs),nn.init(e,n)}),Js=h("$ZodCheckUpperCase",(e,n)=>{n.pattern??(n.pattern=Ds),nn.init(e,n)}),Xs=h("$ZodCheckIncludes",(e,n)=>{q.init(e,n);let i=Pe(n.includes),o=new RegExp(typeof n.position=="number"?`^.{${n.position},}${i}`:i);n.pattern=o,e._zod.check=t=>{t.value.includes(n.includes,n.position)||t.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:n.includes,input:t.value,inst:e,continue:!n.abort})}}),qs=h("$ZodCheckStartsWith",(e,n)=>{q.init(e,n);let i=new RegExp(`^${Pe(n.prefix)}.*`);n.pattern??(n.pattern=i),e._zod.check=o=>{o.value.startsWith(n.prefix)||o.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:n.prefix,input:o.value,inst:e,continue:!n.abort})}}),Ys=h("$ZodCheckEndsWith",(e,n)=>{q.init(e,n);let i=new RegExp(`.*${Pe(n.suffix)}$`);n.pattern??(n.pattern=i),e._zod.check=o=>{o.value.endsWith(n.suffix)||o.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:n.suffix,input:o.value,inst:e,continue:!n.abort})}});function $i(e,n,i){e.issues.length&&n.issues.push(...be(i,e.issues))}var Qs=h("$ZodCheckProperty",(e,n)=>{q.init(e,n),e._zod.check=i=>{let o=n.schema._zod.run({value:i.value[n.property],issues:[]},{});if(o instanceof Promise)return o.then(t=>$i(t,i,n.property));$i(o,i,n.property)}}),eu=h("$ZodCheckProperties",(e,n)=>{q.init(e,n),Yn(e,Symbol.iterator,function*(){yield e});let i;e._zod.check=o=>{if(o.value==null){o.issues.push({expected:"object",code:"invalid_type",input:o.value,inst:e});return}i??(i=Reflect.ownKeys(n.shape).map(a=>[a,n.shape[a]]));let t=o.value,r;for(let[a,s]of i){let u=s._zod.run({value:t[a],issues:[]},{});u instanceof Promise?(r??(r=[]),r.push(u.then(c=>$i(c,o,a)))):$i(u,o,a)}if(r)return Promise.all(r).then(()=>{})}}),tu=h("$ZodCheckMimeType",(e,n)=>{q.init(e,n);let i=new Set(n.mime);e._zod.check=o=>{i.has(o.value.type)||o.issues.push({code:"invalid_value",values:n.mime,input:o.value.type,inst:e,continue:!n.abort})}}),nu=h("$ZodCheckOverwrite",(e,n)=>{q.init(e,n),e._zod.check=i=>{i.value=n.tx(i.value)}});var It=class{constructor(n=[],i={}){this.content=[],this.indent=0,this.args=n,this.closed=i}indented(n){this.indent+=1;try{n(this)}finally{this.indent-=1}}write(n){if(typeof n=="function"){n(this,{execution:"sync"}),n(this,{execution:"async"});return}let o=n.split(` `).filter(a=>a),t=Math.min(...o.map(a=>a.length-a.trimStart().length)),r=o.map(a=>a.slice(t)).map(a=>" ".repeat(this.indent*2)+a);for(let a of r)this.content.push(a)}compile(){let n=Function,i=this?.content??[""];return new n(...Object.keys(this.closed),`return function (${this.args.join(", ")}) { ${i.join(` `)} -};`)(...Object.values(this.closed))}};var Ys={major:4,minor:6,patch:7};var U=h("$ZodType",(e,n)=>{var i;e??(e={}),e._zod.def=n,e._zod.bag=e._zod.bag||{},e._zod.version=Ys;let o=e._zod.def.checks,t=e._zod.traits.has("$ZodCheck")?[e,...o??[]]:o?.length?[...o]:[];for(let r of t)for(let a of r._zod.onattach)a(e);if(t.length===0)(i=e._zod).deferred??(i.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let r=(s,c,u)=>{if(s.memo)return s;let d=pe(s),p;for(let m of c){if(m._zod.def.when){if(Ra(s)||!m._zod.def.when(s))continue}else if(d)continue;let f=s.issues.length,g=m._zod.check(s);if(g instanceof Promise&&u?.async===!1)throw new $e;if(p||g instanceof Promise)p=(p??Promise.resolve()).then(async()=>{await g,s.issues.length!==f&&(Jn(s.issues,f,e),d||(d=pe(s,f)))});else{if(s.issues.length===f)continue;Jn(s.issues,f,e),d||(d=pe(s,f))}}return p?p.then(()=>s):s},a=(s,c,u)=>{if(pe(s))return s.aborted=!0,s;let d=r(c,t,u);if(d instanceof Promise){if(u.async===!1)throw new $e;return d.then(p=>e._zod.parse(p,u))}return e._zod.parse(d,u)};e._zod.run=(s,c)=>{if(c.skipChecks)return e._zod.parse(s,c);if(c.direction==="backward"){let d=e._zod.parse({value:s.value,issues:[]},{...c,skipChecks:!0});return d instanceof Promise?d.then(p=>a(p,s,c)):a(d,s,c)}let u=e._zod.parse(s,c);if(u instanceof Promise){if(c.async===!1)throw new $e;return u.then(d=>r(d,t,c))}return r(u,t,c)}}},{get"~standard"(){return Yn(this,"~standard",Pi(this))},set"~standard"(e){it(this,"~standard",e)}}),$m=(e,n)=>e.issues.length?{issues:e.issues.map(i=>_e(i,n,ee()))}:{value:e.value};async function $_(e,n){let i={async:!0};return $m(await e._zod.run({value:n,issues:[]},i),i)}function Pi(e){return{validate:n=>{let i={async:!1};try{let o=e._zod.run({value:n,issues:[]},i);if(!(o instanceof Promise))return $m(o,i)}catch{}return $_(e,n)},vendor:"zod",version:1}}var St=h("$ZodString",(e,n)=>{U.init(e,n),e._zod.pattern=n.pattern??ks,e._zod.parse=(i,o)=>{if(n.coerce)try{i.value=String(i.value)}catch{}return typeof i.value=="string"||i.issues.push({expected:"string",code:"invalid_type",input:i.value,inst:e}),i}}),W=h("$ZodStringFormat",(e,n)=>{nn.init(e,n),St.init(e,n)}),ec=h("$ZodGUID",(e,n)=>{n.pattern??(n.pattern=os),W.init(e,n)}),tc=h("$ZodUUID",(e,n)=>{if(n.version){let o={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[n.version];if(o===void 0)throw new Error(`Invalid UUID version: "${n.version}"`);n.pattern??(n.pattern=wt(o))}else n.pattern??(n.pattern=wt());W.init(e,n)}),nc=h("$ZodEmail",(e,n)=>{n.pattern??(n.pattern=as),W.init(e,n)}),rc=1,sr=2;function ic(e){try{return typeof URL<"u"&&typeof URL.canParse=="function"?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function Ti(e,n){return!("normalize"in n)&&!("hostname"in n)&&!("protocol"in n)?ic(e)||sr:km(e,n)}function km(e,n){if(!n.normalize&&n.protocol?.source===rr.source&&!/^https?:\/\//i.test(e))return rc;try{if(typeof URL<"u"){let i=URL;if(typeof i.parse=="function")return i.parse(e)??sr}return new URL(e)}catch{return sr}}var k_=/[\t\n\r]/g;function cr(e){return e.replace(k_,"")}function Ei(e,n){return n.lastIndex=0,n.test(e.hostname)}function Ai(e,n){return n.lastIndex=0,n.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var oc=h("$ZodURL",(e,n)=>{W.init(e,n),e._zod.check=i=>{try{let o=i.value.trim(),t=Ti(o,n);if(t===rc){i.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:i.value,inst:e,continue:!n.abort});return}if(t===sr){i.issues.push({code:"invalid_format",format:"url",input:i.value,inst:e,continue:!n.abort});return}if(t===!0){i.value=cr(o);return}n.hostname&&!Ei(t,n.hostname)&&i.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:n.hostname.source,input:i.value,inst:e,continue:!n.abort}),n.protocol&&!Ai(t,n.protocol)&&i.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:n.protocol.source,input:i.value,inst:e,continue:!n.abort}),i.value=n.normalize?t.href:cr(o);return}catch{i.issues.push({code:"invalid_format",format:"url",input:i.value,inst:e,continue:!n.abort})}}}),ac=h("$ZodEmoji",(e,n)=>{n.pattern??(n.pattern=ss()),W.init(e,n)}),sc=h("$ZodNanoID",(e,n)=>{if(n.length!==void 0&&(!Number.isInteger(n.length)||n.length<1))throw new Error(`Invalid nanoid length: ${n.length}`);n.pattern??(n.pattern=n.length===void 0?ns:rs(n.length)),W.init(e,n)}),cc=h("$ZodCUID",(e,n)=>{n.pattern??(n.pattern=qa),W.init(e,n)}),uc=h("$ZodCUID2",(e,n)=>{n.pattern??(n.pattern=Ya),W.init(e,n)}),lc=h("$ZodULID",(e,n)=>{n.pattern??(n.pattern=Qa),W.init(e,n)}),dc=h("$ZodXID",(e,n)=>{n.pattern??(n.pattern=es),W.init(e,n)}),pc=h("$ZodKSUID",(e,n)=>{n.pattern??(n.pattern=ts),W.init(e,n)}),mc=h("$ZodISODateTime",(e,n)=>{n.pattern??(n.pattern=$s(n)),W.init(e,n)}),fc=h("$ZodISODate",(e,n)=>{n.pattern??(n.pattern=bs),W.init(e,n)}),gc=h("$ZodISOTime",(e,n)=>{n.pattern??(n.pattern=_s(n)),W.init(e,n)}),hc=h("$ZodISODuration",(e,n)=>{n.pattern??(n.pattern=is),W.init(e,n)}),vc=h("$ZodIPv4",(e,n)=>{n.pattern??(n.pattern=cs),W.init(e,n)}),x_=/^[0-9a-fA-F:.]+$/;function ur(e){return x_.test(e)?ic(`http://[${e}]`):!1}var yc=h("$ZodIPv6",(e,n)=>{n.pattern??(n.pattern=us),W.init(e,n),e._zod.check=i=>{ur(i.value)||i.issues.push({code:"invalid_format",format:"ipv6",input:i.value,inst:e,continue:!n.abort})}}),bc=h("$ZodMAC",(e,n)=>{n.pattern??(n.pattern=ls(n.delimiter)),W.init(e,n)}),_c=h("$ZodCIDRv4",(e,n)=>{n.pattern??(n.pattern=ds),W.init(e,n)});function Oi(e){let n=e.split("/");if(n.length!==2)return!1;let[i,o]=n;if(!o)return!1;let t=Number(o);return`${t}`!==o||t<0||t>128?!1:ur(i)}var $c=h("$ZodCIDRv6",(e,n)=>{n.pattern??(n.pattern=ps),W.init(e,n),e._zod.check=i=>{Oi(i.value)||i.issues.push({code:"invalid_format",format:"cidrv6",input:i.value,inst:e,continue:!n.abort})}});function lr(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var Ni=/^[0-9a-zA-Z+/]*={0,2}$/,kc=h("$ZodBase64",(e,n)=>{n.pattern??(n.pattern=Ni),W.init(e,n),e._zod.check=i=>{lr(i.value)||i.issues.push({code:"invalid_format",format:"base64",input:i.value,inst:e,continue:!n.abort})}}),dr=/^[A-Za-z0-9_-]*$/;function zi(e){if(!dr.test(e))return!1;let n=e.replace(/[-_]/g,o=>o==="-"?"+":"/"),i=n.padEnd(Math.ceil(n.length/4)*4,"=");return lr(i)}var xc=h("$ZodBase64URL",(e,n)=>{n.pattern??(n.pattern=dr),W.init(e,n),e._zod.check=i=>{zi(i.value)||i.issues.push({code:"invalid_format",format:"base64url",input:i.value,inst:e,continue:!n.abort})}}),wc=h("$ZodE164",(e,n)=>{n.pattern??(n.pattern=vs),W.init(e,n)}),w_=/[- ]/g;function I_(e){let n=e.length,i=1,o=0;for(;n;){let t=e.charCodeAt(--n)-48;i^=1,o+=i?[0,2,4,6,8,1,3,5,7,9][t]:t}return o%10===0}function Di(e){return vi.test(e)?I_(e.replace(w_,"")):!1}var Ic=h("$ZodCreditCard",(e,n)=>{n.pattern??(n.pattern=vi),W.init(e,n),e._zod.check=i=>{Di(i.value)||i.issues.push({code:"invalid_format",format:"credit_card",input:i.value,inst:e,continue:!n.abort})}});function S_(e){let n=0,i=e.length;for(let o=4;o=65?n*100+(t-55):n*10+(t-48))%97}for(let o=0;o<4;o++){let t=e.charCodeAt(o);n=(t>=65?n*100+(t-55):n*10+(t-48))%97}return n===1}function Ci(e){return yi.test(e)?S_(e):!1}var Sc=h("$ZodIBAN",(e,n)=>{n.pattern??(n.pattern=yi),W.init(e,n),e._zod.check=i=>{Ci(i.value)||i.issues.push({code:"invalid_format",format:"iban",input:i.value,inst:e,continue:!n.abort})}});function ji(e,n=null){try{let i=e.split(".");if(i.length!==3)return!1;let[o]=i;if(!o)return!1;let t=JSON.parse(atob(o));return!("typ"in t&&t?.typ!=="JWT"||!t.alg||n&&(!("alg"in t)||t.alg!==n))}catch{return!1}}var Pc=h("$ZodJWT",(e,n)=>{W.init(e,n),e._zod.check=i=>{ji(i.value,n.alg)||i.issues.push({code:"invalid_format",format:"jwt",input:i.value,inst:e,continue:!n.abort})}}),Tc=h("$ZodCustomStringFormat",(e,n)=>{W.init(e,n),e._zod.check=i=>{n.fn(i.value)||i.issues.push({code:"invalid_format",format:n.format,input:i.value,inst:e,continue:!n.abort})}}),Li=h("$ZodNumber",(e,n)=>{U.init(e,n),e._zod.pattern=qe,e._zod.parse=(i,o)=>{if(n.coerce)try{i.value=Number(i.value)}catch{}let t=i.value;if(typeof t=="number"&&!Number.isNaN(t)&&Number.isFinite(t))return i;let r=typeof t=="number"?Number.isNaN(t)?"NaN":Number.isFinite(t)?void 0:String(t):void 0;return i.issues.push({expected:"number",code:"invalid_type",input:t,inst:e,...r?{received:r}:{}}),i}}),Ec=h("$ZodNumberFormat",(e,n)=>{Ds.init(e,n),Li.init(e,n)}),pr=h("$ZodBoolean",(e,n)=>{U.init(e,n),e._zod.pattern=Is,e._zod.parse=(i,o)=>{if(n.coerce)try{i.value=!!i.value}catch{}let t=i.value;return typeof t=="boolean"||i.issues.push({expected:"boolean",code:"invalid_type",input:t,inst:e}),i}}),Ui=h("$ZodBigInt",(e,n)=>{U.init(e,n),e._zod.pattern=ws,e._zod.parse=(i,o)=>{if(n.coerce)try{i.value=BigInt(i.value)}catch{}return typeof i.value=="bigint"||i.issues.push({expected:"bigint",code:"invalid_type",input:i.value,inst:e}),i}}),Ac=h("$ZodBigIntFormat",(e,n)=>{Cs.init(e,n),Ui.init(e,n)}),Oc=h("$ZodSymbol",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>{let t=i.value;return typeof t=="symbol"||i.issues.push({expected:"symbol",code:"invalid_type",input:t,inst:e}),i}}),Nc=h("$ZodUndefined",(e,n)=>{U.init(e,n),e._zod.pattern=Ps,e._zod.values=new Set([void 0]),e._zod.parse=(i,o)=>{let t=i.value;return typeof t>"u"||i.issues.push({expected:"undefined",code:"invalid_type",input:t,inst:e}),i}}),zc=h("$ZodNull",(e,n)=>{U.init(e,n),e._zod.pattern=Ss,e._zod.values=new Set([null]),e._zod.parse=(i,o)=>{let t=i.value;return t===null||i.issues.push({expected:"null",code:"invalid_type",input:t,inst:e}),i}}),Dc=h("$ZodAny",(e,n)=>{U.init(e,n),e._zod.parse=i=>i}),Cc=h("$ZodUnknown",(e,n)=>{U.init(e,n),e._zod.parse=i=>i}),jc=h("$ZodNever",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>(i.issues.push({expected:"never",code:"invalid_type",input:i.value,inst:e}),i)}),Lc=h("$ZodVoid",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>{let t=i.value;return typeof t>"u"||i.issues.push({expected:"void",code:"invalid_type",input:t,inst:e}),i}}),Uc=h("$ZodDate",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>{if(n.coerce)try{i.value=new Date(i.value)}catch{}let t=i.value,r=t instanceof Date;return r&&!Number.isNaN(t.getTime())||i.issues.push({expected:"date",code:"invalid_type",input:t,...r?{received:"Invalid Date"}:{},inst:e}),i}});function Rc(e,n){let i=Xt(e._zod.def.checks);if(!i.length)return;let o=Math.min(...i.map(r=>r[0])),t=e._zod.parse;e._zod.parse=(r,a)=>{let s=n(r.value);if(s>o&&!a?.skipChecks&&a?.direction!=="backward"){for(let[c,u]of Xt(e._zod.def.checks))if(s>c&&u._zod.def.when(r)){let d=r.issues.length;return u._zod.check(r),r.issues[d].continue=!1,Jn(r.issues,d,e),r}}return t(r,a)}}var P_=e=>Array.isArray(e)?e.length:-1,T_=e=>e instanceof Map?e.size:-1,E_=e=>e instanceof Set?e.size:-1;function am(e,n,i){e.issues.length&&n.issues.push(...be(i,e.issues)),n.value[i]=e.value}var Mc=h("$ZodArray",(e,n)=>{U.init(e,n);let i=oe.memoizer;i?.attach(e),e._zod.parse=(o,t)=>{let r=o.value;if(!Array.isArray(r))return o.issues.push({expected:"array",code:"invalid_type",input:r,inst:e}),o;o.value=i?i.alloc(e,o,Array(r.length),t):Array(r.length);let a=[],s=t?.abortEarly;for(let c=0;cam(p,o,c)));else if(am(d,o,c),s&&d.issues.length!==0&&pe(d))break}return a.length?Promise.all(a).then(()=>o):o},Rc(e,P_)});function Si(e,n,i,o,t,r){let a=i in o,s=r==="optional";if(!(!a&&s&&t==="optional")){if(e.issues.length){if(t!==void 0&&s&&!a)return;n.issues.push(...be(i,e.issues))}if(!a&&t===void 0){e.issues.length||n.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[i]});return}e.value===void 0?(a||t==="defaulted"&&!s)&&(n.value[i]=void 0):n.value[i]=e.value}}var A_=[];function xm(e){let n=Object.keys(e.shape),i=Object.getOwnPropertySymbols(e.shape),o=i.length?i:A_,t=o.length?[...n,...o]:n;for(let a of t)if(!e.shape?.[a]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${String(a)}": expected a Zod schema`);let r=Ua(e.shape);return{...e,allKeys:t,symbolKeys:o,keySet:new Set(n),numKeys:n.length,optionalKeys:new Set(r)}}function wm(e,n,i,o,t,r,a){let s=[],c=t.keySet,u=t.catchall._zod,d=u.def.type,p=u.optin,m=u.optout,f=0;for(let g in n){if(a&&i.issues.length!==f){if(pe(i,f))break;f=i.issues.length}if(c.has(g))continue;if(g==="__proto__"){d==="never"&&s.push(g);continue}if(d==="never"){s.push(g);continue}let y=u.run({value:n[g],issues:[]},o);y instanceof Promise?e.push(y.then(x=>Si(x,i,g,n,p,m))):Si(y,i,g,n,p,m)}return s.length&&i.issues.push({code:"unrecognized_keys",keys:s,input:n,inst:r,continue:!0}),e.length?Promise.all(e).then(()=>i):i}var Im=h("$ZodObject",(e,n)=>{U.init(e,n);let i=Object.getOwnPropertyDescriptor(n,"shape"),o=i?.get?i.get.raw:n.shape??{};if(o){let u=()=>{let d={...o};return Object.defineProperty(n,"shape",{value:d}),u.raw=d,d};u.raw=o,Object.defineProperty(n,"shape",{get:u})}let t=Wt(()=>xm(n));Z(e,"propValues",u=>{let d=u.def.shape,p={};for(let m in d){let f=d[m]._zod;if(f.values){Object.prototype.hasOwnProperty.call(p,m)||se(p,m,new Set);for(let g of f.values)p[m].add(g);f.optin!==void 0&&p[m].add(void 0)}}return p});let r=kt,a=n.catchall,s,c=oe.memoizer;c?.attach(e),e._zod.parse=(u,d)=>{s??(s=t.value);let p=u.value;if(!r(p))return u.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),u;u.value=c?c.alloc(e,u,{},d):{};let m=[],f=s.shape,g=d?.abortEarly,y=u.issues.length;for(let x of s.allKeys){if(g&&u.issues.length!==y){if(pe(u,y))break;y=u.issues.length}if(x==="__proto__")continue;let I=f[x],b=I._zod.optin,T=I._zod.optout,A=I._zod.run({value:p[x],issues:[]},d);A instanceof Promise?m.push(A.then(D=>Si(D,u,x,p,b,T))):Si(A,u,x,p,b,T)}return a?wm(m,p,u,d,t.value,e,g===!0):m.length?Promise.all(m).then(()=>u):u}}),Zc=h("$ZodObjectJIT",(e,n)=>{Im.init(e,n);let i=e._zod.parse,o=Wt(()=>xm(n)),t=oe.memoizer,r=f=>{let g=o.value,y=g.symbolKeys,x=new It(["payload","ctx"],{shape:f,inst:e,memo:t,syms:y}),I=D=>`shape[${D}]._zod.run({ value: input[${D}], issues: [] }, ctx)`,b=(D,w)=>` +};`)(...Object.values(this.closed))}};var ru={major:4,minor:6,patch:7};var U=h("$ZodType",(e,n)=>{var i;e??(e={}),e._zod.def=n,e._zod.bag=e._zod.bag||{},e._zod.version=ru;let o=e._zod.def.checks,t=e._zod.traits.has("$ZodCheck")?[e,...o??[]]:o?.length?[...o]:[];for(let r of t)for(let a of r._zod.onattach)a(e);if(t.length===0)(i=e._zod).deferred??(i.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let r=(s,u,c)=>{if(s.memo)return s;let d=me(s),p;for(let m of u){if(m._zod.def.when){if(Ga(s)||!m._zod.def.when(s))continue}else if(d)continue;let f=s.issues.length,g=m._zod.check(s);if(g instanceof Promise&&c?.async===!1)throw new $e;if(p||g instanceof Promise)p=(p??Promise.resolve()).then(async()=>{await g,s.issues.length!==f&&(Jn(s.issues,f,e),d||(d=me(s,f)))});else{if(s.issues.length===f)continue;Jn(s.issues,f,e),d||(d=me(s,f))}}return p?p.then(()=>s):s},a=(s,u,c)=>{if(me(s))return s.aborted=!0,s;let d=r(u,t,c);if(d instanceof Promise){if(c.async===!1)throw new $e;return d.then(p=>e._zod.parse(p,c))}return e._zod.parse(d,c)};e._zod.run=(s,u)=>{if(u.skipChecks)return e._zod.parse(s,u);if(u.direction==="backward"){let d=e._zod.parse({value:s.value,issues:[]},{...u,skipChecks:!0});return d instanceof Promise?d.then(p=>a(p,s,u)):a(d,s,u)}let c=e._zod.parse(s,u);if(c instanceof Promise){if(u.async===!1)throw new $e;return c.then(d=>r(d,t,u))}return r(c,t,u)}}},{get"~standard"(){return Yn(this,"~standard",Ti(this))},set"~standard"(e){it(this,"~standard",e)}}),Em=(e,n)=>e.issues.length?{issues:e.issues.map(i=>_e(i,n,te()))}:{value:e.value};async function M_(e,n){let i={async:!0};return Em(await e._zod.run({value:n,issues:[]},i),i)}function Ti(e){return{validate:n=>{let i={async:!1};try{let o=e._zod.run({value:n,issues:[]},i);if(!(o instanceof Promise))return Em(o,i)}catch{}return M_(e,n)},vendor:"zod",version:1}}var St=h("$ZodString",(e,n)=>{U.init(e,n),e._zod.pattern=n.pattern??Ps,e._zod.parse=(i,o)=>{if(n.coerce)try{i.value=String(i.value)}catch{}return typeof i.value=="string"||i.issues.push({expected:"string",code:"invalid_type",input:i.value,inst:e}),i}}),K=h("$ZodStringFormat",(e,n)=>{nn.init(e,n),St.init(e,n)}),ou=h("$ZodGUID",(e,n)=>{n.pattern??(n.pattern=ls),K.init(e,n)}),au=h("$ZodUUID",(e,n)=>{if(n.version){let o={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[n.version];if(o===void 0)throw new Error(`Invalid UUID version: "${n.version}"`);n.pattern??(n.pattern=wt(o))}else n.pattern??(n.pattern=wt());K.init(e,n)}),su=h("$ZodEmail",(e,n)=>{n.pattern??(n.pattern=ds),K.init(e,n)}),uu=1,sr=2;function cu(e){try{return typeof URL<"u"&&typeof URL.canParse=="function"?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function Ei(e,n){return!("normalize"in n)&&!("hostname"in n)&&!("protocol"in n)?cu(e)||sr:Am(e,n)}function Am(e,n){if(!n.normalize&&n.protocol?.source===rr.source&&!/^https?:\/\//i.test(e))return uu;try{if(typeof URL<"u"){let i=URL;if(typeof i.parse=="function")return i.parse(e)??sr}return new URL(e)}catch{return sr}}var Z_=/[\t\n\r]/g;function ur(e){return e.replace(Z_,"")}function Ai(e,n){return n.lastIndex=0,n.test(e.hostname)}function Oi(e,n){return n.lastIndex=0,n.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var lu=h("$ZodURL",(e,n)=>{K.init(e,n),e._zod.check=i=>{try{let o=i.value.trim(),t=Ei(o,n);if(t===uu){i.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:i.value,inst:e,continue:!n.abort});return}if(t===sr){i.issues.push({code:"invalid_format",format:"url",input:i.value,inst:e,continue:!n.abort});return}if(t===!0){i.value=ur(o);return}n.hostname&&!Ai(t,n.hostname)&&i.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:n.hostname.source,input:i.value,inst:e,continue:!n.abort}),n.protocol&&!Oi(t,n.protocol)&&i.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:n.protocol.source,input:i.value,inst:e,continue:!n.abort}),i.value=n.normalize?t.href:ur(o);return}catch{i.issues.push({code:"invalid_format",format:"url",input:i.value,inst:e,continue:!n.abort})}}}),du=h("$ZodEmoji",(e,n)=>{n.pattern??(n.pattern=ps()),K.init(e,n)}),pu=h("$ZodNanoID",(e,n)=>{if(n.length!==void 0&&(!Number.isInteger(n.length)||n.length<1))throw new Error(`Invalid nanoid length: ${n.length}`);n.pattern??(n.pattern=n.length===void 0?ss:us(n.length)),K.init(e,n)}),mu=h("$ZodCUID",(e,n)=>{n.pattern??(n.pattern=ns),K.init(e,n)}),fu=h("$ZodCUID2",(e,n)=>{n.pattern??(n.pattern=rs),K.init(e,n)}),gu=h("$ZodULID",(e,n)=>{n.pattern??(n.pattern=is),K.init(e,n)}),hu=h("$ZodXID",(e,n)=>{n.pattern??(n.pattern=os),K.init(e,n)}),vu=h("$ZodKSUID",(e,n)=>{n.pattern??(n.pattern=as),K.init(e,n)}),yu=h("$ZodISODateTime",(e,n)=>{n.pattern??(n.pattern=Ss(n)),K.init(e,n)}),bu=h("$ZodISODate",(e,n)=>{n.pattern??(n.pattern=ws),K.init(e,n)}),_u=h("$ZodISOTime",(e,n)=>{n.pattern??(n.pattern=Is(n)),K.init(e,n)}),$u=h("$ZodISODuration",(e,n)=>{n.pattern??(n.pattern=cs),K.init(e,n)}),ku=h("$ZodIPv4",(e,n)=>{n.pattern??(n.pattern=ms),K.init(e,n)}),F_=/^[0-9a-fA-F:.]+$/;function cr(e){return F_.test(e)?cu(`http://[${e}]`):!1}var xu=h("$ZodIPv6",(e,n)=>{n.pattern??(n.pattern=fs),K.init(e,n),e._zod.check=i=>{cr(i.value)||i.issues.push({code:"invalid_format",format:"ipv6",input:i.value,inst:e,continue:!n.abort})}}),wu=h("$ZodMAC",(e,n)=>{n.pattern??(n.pattern=gs(n.delimiter)),K.init(e,n)}),Iu=h("$ZodCIDRv4",(e,n)=>{n.pattern??(n.pattern=hs),K.init(e,n)});function Ni(e){let n=e.split("/");if(n.length!==2)return!1;let[i,o]=n;if(!o)return!1;let t=Number(o);return`${t}`!==o||t<0||t>128?!1:cr(i)}var Su=h("$ZodCIDRv6",(e,n)=>{n.pattern??(n.pattern=vs),K.init(e,n),e._zod.check=i=>{Ni(i.value)||i.issues.push({code:"invalid_format",format:"cidrv6",input:i.value,inst:e,continue:!n.abort})}});function lr(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var zi=/^[0-9a-zA-Z+/]*={0,2}$/,Pu=h("$ZodBase64",(e,n)=>{n.pattern??(n.pattern=zi),K.init(e,n),e._zod.check=i=>{lr(i.value)||i.issues.push({code:"invalid_format",format:"base64",input:i.value,inst:e,continue:!n.abort})}}),dr=/^[A-Za-z0-9_-]*$/;function Di(e){if(!dr.test(e))return!1;let n=e.replace(/[-_]/g,o=>o==="-"?"+":"/"),i=n.padEnd(Math.ceil(n.length/4)*4,"=");return lr(i)}var Tu=h("$ZodBase64URL",(e,n)=>{n.pattern??(n.pattern=dr),K.init(e,n),e._zod.check=i=>{Di(i.value)||i.issues.push({code:"invalid_format",format:"base64url",input:i.value,inst:e,continue:!n.abort})}}),Eu=h("$ZodE164",(e,n)=>{n.pattern??(n.pattern=ks),K.init(e,n)}),V_=/[- ]/g;function G_(e){let n=e.length,i=1,o=0;for(;n;){let t=e.charCodeAt(--n)-48;i^=1,o+=i?[0,2,4,6,8,1,3,5,7,9][t]:t}return o%10===0}function Ci(e){return yi.test(e)?G_(e.replace(V_,"")):!1}var Au=h("$ZodCreditCard",(e,n)=>{n.pattern??(n.pattern=yi),K.init(e,n),e._zod.check=i=>{Ci(i.value)||i.issues.push({code:"invalid_format",format:"credit_card",input:i.value,inst:e,continue:!n.abort})}});function B_(e){let n=0,i=e.length;for(let o=4;o=65?n*100+(t-55):n*10+(t-48))%97}for(let o=0;o<4;o++){let t=e.charCodeAt(o);n=(t>=65?n*100+(t-55):n*10+(t-48))%97}return n===1}function Li(e){return bi.test(e)?B_(e):!1}var Ou=h("$ZodIBAN",(e,n)=>{n.pattern??(n.pattern=bi),K.init(e,n),e._zod.check=i=>{Li(i.value)||i.issues.push({code:"invalid_format",format:"iban",input:i.value,inst:e,continue:!n.abort})}});function ji(e,n=null){try{let i=e.split(".");if(i.length!==3)return!1;let[o]=i;if(!o)return!1;let t=JSON.parse(atob(o));return!("typ"in t&&t?.typ!=="JWT"||!t.alg||n&&(!("alg"in t)||t.alg!==n))}catch{return!1}}var Nu=h("$ZodJWT",(e,n)=>{K.init(e,n),e._zod.check=i=>{ji(i.value,n.alg)||i.issues.push({code:"invalid_format",format:"jwt",input:i.value,inst:e,continue:!n.abort})}}),zu=h("$ZodCustomStringFormat",(e,n)=>{K.init(e,n),e._zod.check=i=>{n.fn(i.value)||i.issues.push({code:"invalid_format",format:n.format,input:i.value,inst:e,continue:!n.abort})}}),Ui=h("$ZodNumber",(e,n)=>{U.init(e,n),e._zod.pattern=qe,e._zod.parse=(i,o)=>{if(n.coerce)try{i.value=Number(i.value)}catch{}let t=i.value;if(typeof t=="number"&&!Number.isNaN(t)&&Number.isFinite(t))return i;let r=typeof t=="number"?Number.isNaN(t)?"NaN":Number.isFinite(t)?void 0:String(t):void 0;return i.issues.push({expected:"number",code:"invalid_type",input:t,inst:e,...r?{received:r}:{}}),i}}),Du=h("$ZodNumberFormat",(e,n)=>{Rs.init(e,n),Ui.init(e,n)}),pr=h("$ZodBoolean",(e,n)=>{U.init(e,n),e._zod.pattern=As,e._zod.parse=(i,o)=>{if(n.coerce)try{i.value=!!i.value}catch{}let t=i.value;return typeof t=="boolean"||i.issues.push({expected:"boolean",code:"invalid_type",input:t,inst:e}),i}}),Ri=h("$ZodBigInt",(e,n)=>{U.init(e,n),e._zod.pattern=Es,e._zod.parse=(i,o)=>{if(n.coerce)try{i.value=BigInt(i.value)}catch{}return typeof i.value=="bigint"||i.issues.push({expected:"bigint",code:"invalid_type",input:i.value,inst:e}),i}}),Cu=h("$ZodBigIntFormat",(e,n)=>{Ms.init(e,n),Ri.init(e,n)}),Lu=h("$ZodSymbol",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>{let t=i.value;return typeof t=="symbol"||i.issues.push({expected:"symbol",code:"invalid_type",input:t,inst:e}),i}}),ju=h("$ZodUndefined",(e,n)=>{U.init(e,n),e._zod.pattern=Ns,e._zod.values=new Set([void 0]),e._zod.parse=(i,o)=>{let t=i.value;return typeof t>"u"||i.issues.push({expected:"undefined",code:"invalid_type",input:t,inst:e}),i}}),Uu=h("$ZodNull",(e,n)=>{U.init(e,n),e._zod.pattern=Os,e._zod.values=new Set([null]),e._zod.parse=(i,o)=>{let t=i.value;return t===null||i.issues.push({expected:"null",code:"invalid_type",input:t,inst:e}),i}}),Ru=h("$ZodAny",(e,n)=>{U.init(e,n),e._zod.parse=i=>i}),Mu=h("$ZodUnknown",(e,n)=>{U.init(e,n),e._zod.parse=i=>i}),Zu=h("$ZodNever",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>(i.issues.push({expected:"never",code:"invalid_type",input:i.value,inst:e}),i)}),Fu=h("$ZodVoid",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>{let t=i.value;return typeof t>"u"||i.issues.push({expected:"void",code:"invalid_type",input:t,inst:e}),i}}),Vu=h("$ZodDate",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>{if(n.coerce)try{i.value=new Date(i.value)}catch{}let t=i.value,r=t instanceof Date;return r&&!Number.isNaN(t.getTime())||i.issues.push({expected:"date",code:"invalid_type",input:t,...r?{received:"Invalid Date"}:{},inst:e}),i}});function Gu(e,n){let i=Xt(e._zod.def.checks);if(!i.length)return;let o=Math.min(...i.map(r=>r[0])),t=e._zod.parse;e._zod.parse=(r,a)=>{let s=n(r.value);if(s>o&&!a?.skipChecks&&a?.direction!=="backward"){for(let[u,c]of Xt(e._zod.def.checks))if(s>u&&c._zod.def.when(r)){let d=r.issues.length;return c._zod.check(r),r.issues[d].continue=!1,Jn(r.issues,d,e),r}}return t(r,a)}}var H_=e=>Array.isArray(e)?e.length:-1,W_=e=>e instanceof Map?e.size:-1,K_=e=>e instanceof Set?e.size:-1;function fm(e,n,i){e.issues.length&&n.issues.push(...be(i,e.issues)),n.value[i]=e.value}var Bu=h("$ZodArray",(e,n)=>{U.init(e,n);let i=ae.memoizer;i?.attach(e),e._zod.parse=(o,t)=>{let r=o.value;if(!Array.isArray(r))return o.issues.push({expected:"array",code:"invalid_type",input:r,inst:e}),o;o.value=i?i.alloc(e,o,Array(r.length),t):Array(r.length);let a=[],s=t?.abortEarly;for(let u=0;ufm(p,o,u)));else if(fm(d,o,u),s&&d.issues.length!==0&&me(d))break}return a.length?Promise.all(a).then(()=>o):o},Gu(e,H_)});function Pi(e,n,i,o,t,r){let a=i in o,s=r==="optional";if(!(!a&&s&&t==="optional")){if(e.issues.length){if(t!==void 0&&s&&!a)return;n.issues.push(...be(i,e.issues))}if(!a&&t===void 0){e.issues.length||n.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[i]});return}e.value===void 0?(a||t==="defaulted"&&!s)&&(n.value[i]=void 0):n.value[i]=e.value}}var J_=[];function Om(e){let n=Object.keys(e.shape),i=Object.getOwnPropertySymbols(e.shape),o=i.length?i:J_,t=o.length?[...n,...o]:n;for(let a of t)if(!e.shape?.[a]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${String(a)}": expected a Zod schema`);let r=Va(e.shape);return{...e,allKeys:t,symbolKeys:o,keySet:new Set(n),numKeys:n.length,optionalKeys:new Set(r)}}function Nm(e,n,i,o,t,r,a){let s=[],u=t.keySet,c=t.catchall._zod,d=c.def.type,p=c.optin,m=c.optout,f=0;for(let g in n){if(a&&i.issues.length!==f){if(me(i,f))break;f=i.issues.length}if(u.has(g))continue;if(g==="__proto__"){d==="never"&&s.push(g);continue}if(d==="never"){s.push(g);continue}let y=c.run({value:n[g],issues:[]},o);y instanceof Promise?e.push(y.then(x=>Pi(x,i,g,n,p,m))):Pi(y,i,g,n,p,m)}return s.length&&i.issues.push({code:"unrecognized_keys",keys:s,input:n,inst:r,continue:!0}),e.length?Promise.all(e).then(()=>i):i}var zm=h("$ZodObject",(e,n)=>{U.init(e,n);let i=Object.getOwnPropertyDescriptor(n,"shape"),o=i?.get?i.get.raw:n.shape??{};if(o){let c=()=>{let d={...o};return Object.defineProperty(n,"shape",{value:d}),c.raw=d,d};c.raw=o,Object.defineProperty(n,"shape",{get:c})}let t=Kt(()=>Om(n));Z(e,"propValues",c=>{let d=c.def.shape,p={};for(let m in d){let f=d[m]._zod;if(f.values){Object.prototype.hasOwnProperty.call(p,m)||se(p,m,new Set);for(let g of f.values)p[m].add(g);f.optin!==void 0&&p[m].add(void 0)}}return p});let r=kt,a=n.catchall,s,u=ae.memoizer;u?.attach(e),e._zod.parse=(c,d)=>{s??(s=t.value);let p=c.value;if(!r(p))return c.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),c;c.value=u?u.alloc(e,c,{},d):{};let m=[],f=s.shape,g=d?.abortEarly,y=c.issues.length;for(let x of s.allKeys){if(g&&c.issues.length!==y){if(me(c,y))break;y=c.issues.length}if(x==="__proto__")continue;let I=f[x],b=I._zod.optin,T=I._zod.optout,A=I._zod.run({value:p[x],issues:[]},d);A instanceof Promise?m.push(A.then(D=>Pi(D,c,x,p,b,T))):Pi(A,c,x,p,b,T)}return a?Nm(m,p,c,d,t.value,e,g===!0):m.length?Promise.all(m).then(()=>c):c}}),Hu=h("$ZodObjectJIT",(e,n)=>{zm.init(e,n);let i=e._zod.parse,o=Kt(()=>Om(n)),t=ae.memoizer,r=f=>{let g=o.value,y=g.symbolKeys,x=new It(["payload","ctx"],{shape:f,inst:e,memo:t,syms:y}),I=D=>`shape[${D}]._zod.run({ value: input[${D}], issues: [] }, ctx)`,b=(D,w)=>` let ${D}_ab = false; for (let i = 0; i < ${D}.issues.length; i++) { const iss = ${D}.issues[i]; @@ -16,7 +16,7 @@ ${i.join(` if (${D}_ab && ctx && ctx.abortEarly) { payload.value = newResult; return payload; - }`;x.write("const input = payload.value;");let T=Object.create(null),A=0;for(let D of g.allKeys)T[D]=`key_${A++}`;x.write(t?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(let D of g.allKeys){if(D==="__proto__")continue;let w=T[D],O=typeof D=="symbol"?`syms[${y.indexOf(D)}]`:de(D),E=`${O} in input`,B=f[D],C=B?._zod?.optin,ne=C!==void 0,ye=B?._zod?.optout==="optional";if(x.write(`const ${w} = ${I(O)};`),ne&&ye){let Oe=C==="optional"?`${w}_present`:`${w}.value !== undefined || ${w}_present`;x.write(` + }`;x.write("const input = payload.value;");let T=Object.create(null),A=0;for(let D of g.allKeys)T[D]=`key_${A++}`;x.write(t?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(let D of g.allKeys){if(D==="__proto__")continue;let w=T[D],O=typeof D=="symbol"?`syms[${y.indexOf(D)}]`:pe(D),E=`${O} in input`,B=f[D],C=B?._zod?.optin,re=C!==void 0,ye=B?._zod?.optout==="optional";if(x.write(`const ${w} = ${I(O)};`),re&&ye){let Oe=C==="optional"?`${w}_present`:`${w}.value !== undefined || ${w}_present`;x.write(` const ${w}_present = ${E}; if (!${w}.issues.length || ${w}_present) { if (${w}.issues.length) {${b(w,O)} @@ -27,7 +27,7 @@ ${i.join(` } } - `)}else ne?(x.write(` + `)}else re?(x.write(` if (${w}.issues.length) {${b(w,O)} } `),C==="defaulted"?x.write(`newResult[${O}] = ${w}.value;`):x.write(` @@ -55,13 +55,13 @@ ${i.join(` newResult[${O}] = ${w}.value; } - `)}return x.write("payload.value = newResult;"),x.write("return payload;"),x.compile()},a,s=kt,c=!oe.jitless,d=c&&ja.value,p=n.catchall,m;e._zod.parse=(f,g)=>{m??(m=o.value);let y=f.value;return s(y)?c&&d&&g?.async===!1&&g.jitless!==!0?(a||(a=r(n.shape)),f=a(f,g),p?wm([],y,f,g,m,e,g?.abortEarly===!0):f):i(f,g):(f.issues.push({expected:"object",code:"invalid_type",input:y,inst:e}),f)}});function sm(e,n,i,o){for(let r of e)if(r.issues.length===0)return n.value=r.value,n;let t=e.filter(r=>!pe(r));return t.length===1?(n.value=t[0].value,t[0]):(n.issues.push({code:"invalid_union",input:n.value,inst:i,errors:e.map(r=>r.issues.map(a=>_e(a,o,ee())))}),n)}var mr=h("$ZodUnion",(e,n)=>{U.init(e,n),Z(e,"optin",o=>o.def.options.some(t=>t._zod.optin==="defaulted")?"defaulted":o.def.options.some(t=>t._zod.optin!==void 0)?"optional":void 0),Z(e,"optout",o=>o.def.options.some(t=>t._zod.optout==="optional")?"optional":void 0),Z(e,"values",o=>{if(o.def.options.every(t=>t._zod.values))return new Set(o.def.options.flatMap(t=>Array.from(t._zod.values)))}),Z(e,"pattern",o=>{if(o.def.options.every(t=>t._zod.pattern)){let t=o.def.options.map(r=>r._zod.pattern);return new RegExp(`^(${t.map(r=>Xe(r.source)).join("|")})$`)}});let i=n.options.length===1?n.options[0]._zod.run:null;e._zod.parse=(o,t)=>{if(i)return i(o,t);let r=!1,a=[];for(let s of n.options){let c=s._zod.run({value:o.value,issues:[]},t);if(c instanceof Promise)a.push(c),r=!0;else{if(c.issues.length===0)return c;a.push(c)}}return r?Promise.all(a).then(s=>sm(s,o,e,t)):sm(a,o,e,t)}});function cm(e,n,i,o){let t=[];for(let r=0;rr.issues.map(a=>_e(a,o,ee())))}):n.issues.push({code:"invalid_union",input:n.value,inst:i,errors:[],inclusive:!1,matches:t}),n)}var Vc=h("$ZodXor",(e,n)=>{mr.init(e,n),n.inclusive=!1;let i=n.options.length===1?n.options[0]._zod.run:null;e._zod.parse=(o,t)=>{if(i)return i(o,t);let r=!1,a=[];for(let s of n.options){let c=s._zod.run({value:o.value,issues:[]},t);c instanceof Promise?(a.push(c),r=!0):a.push(c)}return r?Promise.all(a).then(s=>cm(s,o,e,t)):cm(a,o,e,t)}});function Gc(e,n){let i=e._zod,o=i.bag.optionsMap;o||(o=Sm(i.def),i.bag.optionsMap=o);let t=o.get(n);if(t===null)throw new Error(`Ambiguous discriminator value "${String(n)}"`);return t}function Sm(e){let n=new Map;for(let i of e.options){let o=i._zod.propValues?.[e.discriminator];if(!o||o.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(i)}"`);for(let t of o)if(n.has(t)){if(t!==void 0)throw new Error(`Duplicate discriminator value "${String(t)}"`);n.set(t,null)}else n.set(t,i)}return n}var Fc=h("$ZodDiscriminatedUnion",(e,n)=>{n.inclusive=!1,mr.init(e,n);let i=e._zod.parse;Z(e,"propValues",t=>{let r={},a=0;for(let s of t.def.options){let c=s._zod.propValues;if(!c||Object.keys(c).length===0)throw new Error(`Invalid discriminated union option at index "${t.def.options.indexOf(s)}"`);c[t.def.discriminator]?.has(void 0)&&a++;for(let[u,d]of Object.entries(c)){Object.prototype.hasOwnProperty.call(r,u)||se(r,u,new Set);for(let p of d)r[u].add(p)}}return!t.def.unionFallback&&a>1&&r[t.def.discriminator]?.delete(void 0),r}),n.options.forEach((t,r)=>{let a=Jt(t._zod.def);if(a&&!Object.prototype.hasOwnProperty.call(a,n.discriminator))throw new Error(`Invalid discriminated union option at index "${r}"`)});let o=Wt(()=>Sm(n));e._zod.parse=(t,r)=>{let a=t.value;if(!kt(a))return t.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),t;let s=a?.[n.discriminator],c=o.value.get(s);return c&&(s!==void 0||r.direction!=="backward")?c._zod.run(t,r):n.unionFallback||r.direction==="backward"?i(t,r):(t.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:n.discriminator,options:Array.from(o.value.keys()).filter(u=>o.value.get(u)!==null),input:a,path:[n.discriminator],inst:e}),t)}}),Bc=h("$ZodIntersection",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>{let t=i.value,r=n.left._zod.run({value:t,issues:[]},o),a=n.right._zod.run({value:t,issues:[]},o);return r instanceof Promise||a instanceof Promise?Promise.all([r,a]).then(([c,u])=>um(i,c,u)):um(i,r,a)}});function rn(e,n){if(e===n)return{valid:!0,data:e};if(e instanceof Date&&n instanceof Date&&+e==+n)return{valid:!0,data:e};if(Se(e)&&Se(n)){let i=Object.keys(n),o=Object.keys(e).filter(r=>i.indexOf(r)!==-1),t={...e,...n};Object.prototype.hasOwnProperty.call(t,"__proto__")&&delete t.__proto__;for(let r of o){if(r==="__proto__")continue;let a=rn(e[r],n[r]);if(!a.valid)return{valid:!1,mergeErrorPath:[r,...a.mergeErrorPath]};t[r]=a.data}return{valid:!0,data:t}}if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return{valid:!1,mergeErrorPath:[]};let i=[];for(let o=0;o{let p;if(u.code==="unrecognized_keys"&&!u.path?.length)t??(t=u),p=u.keys;else if(u.code==="invalid_key"&&u.origin==="record"&&u.path?.length===1){let m=String(u.path[0]);r.has(m)||r.set(m,u),p=[m]}else return!1;for(let m of p)o.has(m)||o.set(m,{}),o.get(m)[d]=!0;return!0};for(let u of n.issues)a(u,"l")||e.issues.push(u);for(let u of i.issues)a(u,"r")||e.issues.push(u);let s=[...o].filter(([,u])=>u.l&&u.r).map(([u])=>u);if(s.length){let u=t?s.filter(d=>t.keys.includes(d)):[];u.length&&e.issues.push({...t,keys:u});for(let d of s)!u.includes(d)&&r.has(d)&&e.issues.push(r.get(d))}let c=rn(n.value,i.value);if(!c.valid){if(pe(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`)}return e.value=c.data,e}var Ri=h("$ZodTuple",(e,n)=>{U.init(e,n);let i=n.items,o=oe.memoizer;o?.attach(e),e._zod.parse=(t,r)=>{let a=t.value;if(!Array.isArray(a))return t.issues.push({input:a,inst:e,expected:"tuple",code:"invalid_type"}),t;t.value=o?o.alloc(e,t,[],r):[];let s=[],c=lm(i,"optin"),u=lm(i,"optout");if(!n.rest){if(a.lengthi.length&&t.issues.push({code:"too_big",maximum:i.length,inclusive:!0,input:a,inst:e,origin:"array"})}let d=new Array(i.length),p=n.rest?r?.abortEarly:void 0,m=!1;for(let f=0;f{d[f]=y})):(d[f]=g,p&&!m&&g.issues.length&&(m=pe(g)))}if(n.rest&&!m){let f=i.length-1,g=a.slice(i.length),y=t.issues.length;for(let x of g){if(p&&t.issues.length!==y){if(pe(t,y))break;y=t.issues.length}f++;let I=n.rest._zod.run({value:x,issues:[]},r);I instanceof Promise?s.push(I.then(b=>dm(b,t,f))):dm(I,t,f)}}return s.length?Promise.all(s).then(()=>pm(d,t,i,a,u)):pm(d,t,i,a,u)}});function lm(e,n){for(let i=e.length-1;i>=0;i--)if(!(n==="optin"?e[i]._zod.optin!==void 0:e[i]._zod.optout==="optional"))return i+1;return 0}function dm(e,n,i){e.issues.length&&n.issues.push(...be(i,e.issues)),n.value[i]=e.value}function pm(e,n,i,o,t){for(let r=0;r=t&&i[r]._zod.optin==="optional"){n.value.length=r;break}if(a.issues.length){if(!s&&r>=t){n.value.length=r;break}n.issues.push(...be(r,a.issues))}n.value[r]=a.value}for(let r=n.value.length-1;r>=o.length&&(i[r]._zod.optout==="optional"&&n.value[r]===void 0);r--)n.value.length=r;return n}var Hc=h("$ZodRecord",(e,n)=>{U.init(e,n);let i=oe.memoizer;i?.attach(e),e._zod.parse=(o,t)=>{let r=o.value;if(!Se(r))return o.issues.push({expected:"record",code:"invalid_type",input:r,inst:e}),o;let a=[],s=n.keyType._zod.values;if(s&&!n.partial){o.value=i?i.alloc(e,o,{},t):{};let c=new Set;for(let d of s)if(typeof d=="string"||typeof d=="number"||typeof d=="symbol"){if(c.add(typeof d=="number"?d.toString():d),d==="__proto__")continue;let p=n.keyType._zod.run({value:d,issues:[]},t);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(p.issues.length){o.issues.push({code:"invalid_key",origin:"record",issues:p.issues.map(g=>_e(g,t,ee())),input:d,path:[d],inst:e});continue}let m=p.value;if(m==="__proto__")continue;let f=n.valueType._zod.run({value:r[d],issues:[]},t);f instanceof Promise?a.push(f.then(g=>{g.issues.length&&o.issues.push(...be(d,g.issues)),o.value[m]=g.value})):(f.issues.length&&o.issues.push(...be(d,f.issues)),o.value[m]=f.value)}let u;for(let d in r)if(!c.has(d))if(n.mode==="loose"){if(d==="__proto__")continue;o.value[d]=r[d]}else u=u??[],u.push(d);u&&u.length>0&&o.issues.push({code:"unrecognized_keys",input:r,inst:e,keys:u,continue:!0})}else{o.value=i?i.alloc(e,o,{},t):{};let c;for(let u of Reflect.ownKeys(r)){if(u==="__proto__"||!Object.prototype.propertyIsEnumerable.call(r,u))continue;let d=n.keyType._zod.run({value:u,issues:[]},t);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof u=="string"&&qe.test(u)&&d.issues.length){let g=n.keyType._zod.run({value:Number(u),issues:[]},t);if(g instanceof Promise)throw new Error("Async schemas not supported in object keys currently");g.issues.length===0&&(d=g)}if(d.issues.length){n.mode==="loose"?o.value[u]=r[u]:s?(c=c??[],c.push(u)):o.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map(g=>_e(g,t,ee())),input:u,path:[u],inst:e});continue}let m=d.value;if(m==="__proto__")continue;let f=n.valueType._zod.run({value:r[u],issues:[]},t);f instanceof Promise?a.push(f.then(g=>{g.issues.length&&o.issues.push(...be(u,g.issues)),o.value[m]=g.value})):(f.issues.length&&o.issues.push(...be(u,f.issues)),o.value[m]=f.value)}c&&c.length>0&&o.issues.push({code:"unrecognized_keys",input:r,inst:e,keys:c,continue:!0})}return a.length?Promise.all(a).then(()=>o):o}}),Kc=h("$ZodMap",(e,n)=>{U.init(e,n);let i=oe.memoizer;i?.attach(e),e._zod.parse=(o,t)=>{let r=o.value;if(!(r instanceof Map))return o.issues.push({expected:"map",code:"invalid_type",input:r,inst:e}),o;let a=[];o.value=i?i.alloc(e,o,new Map,t):new Map;let s=t?.abortEarly,c=o.issues.length;for(let[u,d]of r){if(s&&o.issues.length!==c){if(pe(o,c))break;c=o.issues.length}let p=n.keyType._zod.run({value:u,issues:[]},t),m=n.valueType._zod.run({value:d,issues:[]},t);p instanceof Promise||m instanceof Promise?a.push(Promise.all([p,m]).then(([f,g])=>{mm(f,g,o,u,r,e,t)})):mm(p,m,o,u,r,e,t)}return a.length?Promise.all(a).then(()=>o):o},Rc(e,T_)});function mm(e,n,i,o,t,r,a){e.issues.length&&(Hn.has(typeof o)?i.issues.push(...be(o,e.issues)):i.issues.push({code:"invalid_key",origin:"map",input:t,inst:r,issues:e.issues.map(s=>_e(s,a,ee()))})),n.issues.length&&(Hn.has(typeof o)?i.issues.push(...be(o,n.issues)):i.issues.push({origin:"map",code:"invalid_element",input:t,inst:r,key:o,issues:n.issues.map(s=>_e(s,a,ee()))})),i.value.set(e.value,n.value)}var Wc=h("$ZodSet",(e,n)=>{U.init(e,n);let i=oe.memoizer;i?.attach(e),e._zod.parse=(o,t)=>{let r=o.value;if(!(r instanceof Set))return o.issues.push({input:r,inst:e,expected:"set",code:"invalid_type"}),o;let a=[];o.value=i?i.alloc(e,o,new Set,t):new Set;let s=t?.abortEarly,c=o.issues.length;for(let u of r){if(s&&o.issues.length!==c){if(pe(o,c))break;c=o.issues.length}let d=n.valueType._zod.run({value:u,issues:[]},t);d instanceof Promise?a.push(d.then(p=>fm(p,o))):fm(d,o)}return a.length?Promise.all(a).then(()=>o):o},Rc(e,E_)});function fm(e,n){e.issues.length&&n.issues.push(...e.issues),n.value.add(e.value)}var Jc=h("$ZodEnum",(e,n)=>{U.init(e,n);let i=Ht(n.entries),o=new Set(i);e._zod.values=o,Z(e,"pattern",t=>{let r=Ht(t.def.entries).filter(a=>Hn.has(typeof a));return new RegExp(r.length?`^(${r.map(a=>Pe(a.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(t,r)=>{let a=t.value;return o.has(a)||t.issues.push({code:"invalid_value",values:i,input:a,inst:e}),t}}),Xc=h("$ZodLiteral",(e,n)=>{U.init(e,n);let i=new Set(n.values);e._zod.values=i,Z(e,"pattern",o=>{let t=o.def.values;return new RegExp(t.length?`^(${t.map(r=>typeof r=="string"?Pe(r):r?Pe(r.toString()):String(r)).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(o,t)=>{let r=o.value;return i.has(r)||o.issues.push({code:"invalid_value",values:n.values,input:r,inst:e}),o}}),qc=h("$ZodFile",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>{let t=i.value;return t instanceof File||i.issues.push({expected:"file",code:"invalid_type",input:t,inst:e}),i}}),Yc=h("$ZodTransform",(e,n)=>{U.init(e,n),e._zod.optin="optional",oe.memoizer?.guard(e),e._zod.parse=(i,o)=>{if(o.direction==="backward")throw new ot(e.constructor.name);let t=n.transform(i.value,i);if(o.async)return(t instanceof Promise?t:Promise.resolve(t)).then(a=>(i.value=a,i));if(t instanceof Promise)throw new $e;return i.value=t,i}});function gm(e,n){return e.value=n.issues.length?void 0:n.value,e}var Mi=h("$ZodOptional",(e,n)=>{U.init(e,n),Z(e,"optin",i=>i.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",Z(e,"values",i=>{let o=i.def.innerType._zod.values;return o?new Set([...o,void 0]):void 0}),Z(e,"pattern",i=>{let o=i.def.innerType._zod.pattern;return o?new RegExp(`^(${Xe(o.source)})?$`):void 0}),e._zod.parse=(i,o)=>{if(i.value===void 0){if(n.innerType._zod.optin!=="defaulted")return i;let t=n.innerType._zod.run({value:i.value,issues:[]},o);return t instanceof Promise?t.then(r=>gm(i,r)):gm(i,t)}return n.innerType._zod.run(i,o)}}),Qc=h("$ZodExactOptional",(e,n)=>{Mi.init(e,n),Z(e,"values",i=>i.def.innerType._zod.values),Z(e,"pattern",i=>i.def.innerType._zod.pattern),e._zod.parse=(i,o)=>n.innerType._zod.run(i,o)}),eu=h("$ZodNullable",(e,n)=>{U.init(e,n),Z(e,"optin",i=>i.def.innerType._zod.optin),Z(e,"optout",i=>i.def.innerType._zod.optout),Z(e,"pattern",i=>{let o=i.def.innerType._zod.pattern;return o?new RegExp(`^(${Xe(o.source)}|null)$`):void 0}),Z(e,"values",i=>i.def.innerType._zod.values?new Set([...i.def.innerType._zod.values,null]):void 0),e._zod.parse=(i,o)=>i.value===null?i:n.innerType._zod.run(i,o)}),tu=h("$ZodDefault",(e,n)=>{U.init(e,n),e._zod.optin="defaulted",Z(e,"values",i=>i.def.innerType._zod.values),e._zod.parse=(i,o)=>{if(o.direction==="backward")return n.innerType._zod.run(i,o);if(i.value===void 0)return i.value=n.defaultValue,i;let t=n.innerType._zod.run(i,o);return t instanceof Promise?t.then(r=>hm(r,n)):hm(t,n)}});function hm(e,n){return e.value===void 0&&(e.value=n.defaultValue),e}var nu=h("$ZodPrefault",(e,n)=>{U.init(e,n),e._zod.optin="defaulted",Z(e,"values",i=>i.def.innerType._zod.values),e._zod.parse=(i,o)=>(o.direction==="backward"||i.value===void 0&&(i.value=n.defaultValue),n.innerType._zod.run(i,o))}),ru=h("$ZodNonOptional",(e,n)=>{U.init(e,n),Z(e,"values",i=>{let o=i.def.innerType._zod.values;return o?new Set([...o].filter(t=>t!==void 0)):void 0}),e._zod.parse=(i,o)=>{let t=n.innerType._zod.run(i,o);return t instanceof Promise?t.then(r=>vm(r,e)):vm(t,e)}});function vm(e,n){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:n}),e}var iu=h("$ZodSuccess",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>{if(o.direction==="backward")throw new ot("ZodSuccess");let t=n.innerType._zod.run(i,o);return t instanceof Promise?t.then(r=>(i.value=r.issues.length===0,i)):(i.value=t.issues.length===0,i)}});function ym(e,n,i,o){return n.issues.length?(e.value=i.catchValue({...n,value:e.value,error:{issues:n.issues.map(t=>_e(t,o,ee()))},input:e.value}),e):(e.value=n.value,n.memo&&(e.memo=!0),e)}var ou=h("$ZodCatch",(e,n)=>{U.init(e,n),Z(e,"optin",i=>i.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),Z(e,"optout",i=>i.def.innerType._zod.optout),Z(e,"values",i=>i.def.innerType._zod.values),e._zod.parse=(i,o)=>{if(o.direction==="backward")return n.innerType._zod.run(i,o);let t=n.innerType._zod.run({value:i.value,issues:[]},o);return t instanceof Promise?t.then(r=>ym(i,r,n,o)):ym(i,t,n,o)}}),au=h("$ZodNaN",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>((typeof i.value!="number"||!Number.isNaN(i.value))&&i.issues.push({input:i.value,inst:e,expected:"nan",code:"invalid_type"}),i)}),Zi=h("$ZodPipe",(e,n)=>{U.init(e,n),Z(e,"values",i=>i.def.in._zod.values),Z(e,"optin",i=>i.def.in._zod.optin),Z(e,"optout",i=>i.def.out._zod.optout),Z(e,"propValues",i=>i.def.in._zod.propValues),e._zod.parse=(i,o)=>{if(o.direction==="backward"){let r=n.out._zod.run(i,o);return r instanceof Promise?r.then(a=>xi(a,n.in,o)):xi(r,n.in,o)}let t=n.in._zod.run(i,o);return t instanceof Promise?t.then(r=>xi(r,n.out,o)):xi(t,n.out,o)}});function xi(e,n,i){return e.issues.some(o=>o.code!=="unrecognized_keys")?(e.aborted=!0,e):n._zod.run({value:e.value,issues:e.issues},i)}var fr=h("$ZodCodec",(e,n)=>{U.init(e,n),Z(e,"values",i=>i.def.in._zod.values),Z(e,"optin",i=>i.def.in._zod.optin),Z(e,"optout",i=>i.def.out._zod.optout),Z(e,"propValues",i=>i.def.in._zod.propValues),e._zod.parse=(i,o)=>{if((o.direction||"forward")==="forward"){let r=n.in._zod.run(i,o);return r instanceof Promise?r.then(a=>wi(a,n,o)):wi(r,n,o)}else{let r=n.out._zod.run(i,o);return r instanceof Promise?r.then(a=>wi(a,n,o)):wi(r,n,o)}}});function wi(e,n,i){if(e.issues.length)return e.aborted=!0,e;if((i.direction||"forward")==="forward"){let t=n.transform(e.value,e);return t instanceof Promise?t.then(r=>Ii(e,r,n.out,i)):Ii(e,t,n.out,i)}else{let t=n.reverseTransform(e.value,e);return t instanceof Promise?t.then(r=>Ii(e,r,n.in,i)):Ii(e,t,n.in,i)}}function Ii(e,n,i,o){return e.issues.length?(e.aborted=!0,e):i._zod.run({value:n,issues:e.issues},o)}var su=h("$ZodPreprocess",(e,n)=>{Zi.init(e,n)}),cu=h("$ZodReadonly",(e,n)=>{U.init(e,n),Z(e,"propValues",i=>i.def.innerType._zod.propValues),Z(e,"values",i=>i.def.innerType._zod.values),Z(e,"optin",i=>i.def.innerType?._zod?.optin),Z(e,"optout",i=>i.def.innerType?._zod?.optout),e._zod.parse=(i,o)=>{if(o.direction==="backward")return n.innerType._zod.run(i,o);let t=n.innerType._zod.run(i,o);return t instanceof Promise?t.then(bm):bm(t)}});function bm(e){return e.memo||(e.value=Object.freeze(e.value)),e}function O_(e){let n=e._zod.def,i=n.pattern,o=!!n.format?.includes("int"),t,r;for(let s of n.checks??[]){let c=s._zod.def;c.pattern&&(i=c.pattern),o||(o=!!c.format?.includes("int"));let u=c.minimum??c.length,d=c.maximum??c.length;u!==void 0&&(t===void 0||u>t)&&(t=u),d!==void 0&&(r===void 0||dr)return"(?!)";if(t!==void 0||r!==void 0)return xs({minimum:t,maximum:r}).source;let a=e._zod.pattern;return(o&&a===qe?ir:a)?.source}function Qs(e){let n=e._zod.def,i=e._zod.pattern?.source,o=n.innerType??e._zod.innerType;if(o){let t=o._zod.pattern?.source,r=Qs(o);return i&&t&&r&&r!==t?i.replace(Xe(t),()=>Xe(r)):i}if(n.options){let t=n.options.map(Qs);if(t.every(Boolean))return`^(${t.map(r=>Xe(r)).join("|")})$`}return O_(e)}var uu=h("$ZodTemplateLiteral",(e,n)=>{U.init(e,n);let i=[];for(let o of n.parts)if(typeof o=="object"&&o!==null){let t=Qs(o);if(!t)throw new Error(`Invalid template literal part, no pattern found: ${[...o._zod.traits].shift()}`);i.push(Xe(t))}else if(o===null||La.has(typeof o))i.push(Pe(`${o}`));else throw new Error(`Invalid template literal part: ${o}`);e._zod.pattern=new RegExp(`^${i.join("")}$`),e._zod.parse=(o,t)=>typeof o.value!="string"?(o.issues.push({input:o.value,inst:e,expected:"string",code:"invalid_type"}),o):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(o.value)||o.issues.push({input:o.value,inst:e,code:"invalid_format",format:n.format??"template_literal",pattern:e._zod.pattern.source}),o)}),lu=h("$ZodFunction",(e,n)=>(U.init(e,n),Object.defineProperty(e,"_def",{value:n}),e._zod.def=n,e.implement=i=>{if(typeof i!="function")throw new Error("implement() must be called with a function");return Object.defineProperty(function(...o){let t=e._def.input?si(e._def.input,o):o,r=Reflect.apply(i,this,t);return e._def.output?si(e._def.output,r):r},"_zod",{value:e._zod,enumerable:!1})},e.implementAsync=i=>{if(typeof i!="function")throw new Error("implementAsync() must be called with a function");return Object.defineProperty(async function(...o){let t=e._def.input?await ci(e._def.input,o):o,r=await Reflect.apply(i,this,t);return e._def.output?await ci(e._def.output,r):r},"_zod",{value:e._zod,enumerable:!1})},e._zod.parse=(i,o)=>typeof i.value!="function"?(i.issues.push({code:"invalid_type",expected:"function",input:i.value,inst:e}),i):(e._def.output&&e._def.output._zod.def.type==="promise"?i.value=e.implementAsync(i.value):i.value=e.implement(i.value),i),e.input=(...i)=>{let o=e.constructor;return Array.isArray(i[0])?new o({type:"function",input:new Ri({type:"tuple",items:i[0],rest:i[1]}),output:e._def.output}):new o({type:"function",input:i[0],output:e._def.output})},e.output=i=>{let o=e.constructor;return new o({type:"function",input:e._def.input,output:i})},e)),du=h("$ZodPromise",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>Promise.resolve(i.value).then(t=>n.innerType._zod.run({value:t,issues:[]},o))}),gr=h("$ZodLazy",(e,n)=>{U.init(e,n),Da(e._zod,"innerType",()=>{let i=n;return i._cachedInner||(i._cachedInner=n.getter()),i._cachedInner}),Z(e,"pattern",i=>i.innerType?._zod?.pattern),Z(e,"propValues",i=>i.innerType?._zod?.propValues),Z(e,"optin",i=>i.innerType?._zod?.optin??void 0),Z(e,"optout",i=>i.innerType?._zod?.optout??void 0),e._zod.parse=(i,o)=>e._zod.innerType._zod.run(i,o)}),pu=h("$ZodCustom",(e,n)=>{q.init(e,n),U.init(e,n),e._zod.parse=(i,o)=>i,e._zod.check=i=>{let o=i.value,t=n.fn(o);if(t instanceof Promise)return t.then(r=>_m(r,i,o,e));_m(t,i,o,e)}});function _m(e,n,i,o){if(!e){let t={code:"custom",input:i,inst:o,path:[...o._zod.def.path??[]],continue:!o._zod.def.abort};o._zod.def.params&&(t.params=o._zod.def.params),n.issues.push(qt(t))}}var Bi=class extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform"),this.name="ZodCyclicError"}},fu="~memo",Tm=[];function Em(e){return e!==null&&typeof e=="object"}function mu(e){return e.map(n=>n.path?{...n,path:n.path.slice()}:{...n})}var Am=new WeakMap,on=0,Fi=1,hr=2;function vr(e,n,i){let o=Am.get(e);if(o!==void 0)return o?hr:on;if(n.has(e))return hr;n.add(e);let t=on,r=d=>{if(t!==hr&&d?._zod){let p=vr(d,n,i);p>t&&(t=p)}},a=(d,p)=>{let m=on;for(let f of Reflect.ownKeys(d)){let g=Object.getOwnPropertyDescriptor(d,f);if(p&&!g.enumerable)continue;let y=g.get?Fi:g.value?._zod?vr(g.value,n,i):on;y>m&&(m=y)}return m},s=d=>{d>t&&(t=d)},c=e._zod.def,u=c.type;switch(u){case"object":{let d=Jt(c);s(d?a(d,!0):Fi),r(c.catchall);break}case"array":r(c.element);break;case"tuple":for(let d of c.items)r(d);r(c.rest);break;case"record":case"map":r(c.keyType),r(c.valueType);break;case"set":r(c.valueType);break;case"union":for(let d of c.options)r(d);break;case"intersection":r(c.left),r(c.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":r(c.innerType);break;case"pipe":r(c.in),r(c.out);break;case"function":r(c.input),r(c.output);break;case"lazy":{let d=c._cachedInner??(i?e._zod.innerType:void 0);s(d?vr(d,n,!1):Fi);break}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(let d in c){let p=Object.getOwnPropertyDescriptor(c,d);if(!p||p.get)continue;let m=p.value;if(!(!m||typeof m!="object")){if(m._zod)r(m);else if(Array.isArray(m))for(let f of m)r(f)}}}return n.delete(e),N_(e,t)}function N_(e,n){return n!==Fi&&Am.set(e,n===hr),n}function Hi(e){return vr(e,new Set,!0)!==on}function z_(e,n){let i=e.buckets.get(n);return i||(i=new WeakMap,e.buckets.set(n,i)),i}var Vi,Gi=[],D_={alloc(e,n,i){let o=Vi;if(!o)return i;Vi=void 0;let t={value:i,issues:null};return o.set(n.value,t),Gi.push(t),i},guard(e){var n;(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred.push(()=>{let i=e._zod.parse,o=(t,r)=>{if(r.direction!=="backward"&&Ki(r,t.value))throw new Bi;return i(t,r)};e._zod.parse=o,e._zod.run===i&&(e._zod.run=o)})},attach(e){var n;let i,o=!1,t,r;(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred.push(()=>{let a=e._zod.parse,s=(c,u)=>{if(i===void 0){let I=vr(e,new Set,!1);if(I===on)return e._zod.parse=a,e._zod.run===s&&(e._zod.run=a),a(c,u);I===hr||o?i=!0:o=!0}let d=c.value;if(!Em(d))return a(c,u);let p=u[fu];p||(p={buckets:new WeakMap,backEdges:void 0},u[fu]=p);let m;t===u?m=r:(m=z_(p,e),t=u,r=m);let f=m.get(d);if(f)return c.value=f.value,f.issues?f.issues.length&&c.issues.push(...mu(f.issues)):(c.memo=!0,p.backEdges??(p.backEdges=new WeakSet),p.backEdges.add(f.value)),c;Vi=m;let g=Gi.length,y=a(c,u);Vi=void 0;let x=Gi.length>g?Gi.pop():void 0;return y instanceof Promise?y.then(I=>(x&&(x.issues=I.issues.length?mu(I.issues):Tm),I)):(x&&(x.issues=y.issues.length?mu(y.issues):Tm),y)};e._zod.parse=s,e._zod.run===a&&(e._zod.run=s)})}};function yr(){return D_}function Ki(e,n){let i=e[fu]?.backEdges;return i!==void 0&&Em(n)&&i.has(n)}var _r={};We(_r,{ar:()=>Om,az:()=>Nm,be:()=>Dm,bg:()=>Cm,bn:()=>jm,ca:()=>Lm,ckb:()=>Um,cs:()=>Rm,da:()=>Mm,de:()=>Zm,el:()=>Vm,en:()=>Wi,eo:()=>Gm,es:()=>Fm,fa:()=>Bm,fi:()=>Hm,fr:()=>Km,frCA:()=>Wm,gu:()=>Jm,he:()=>Xm,hi:()=>qm,hr:()=>Ym,hu:()=>Qm,hy:()=>tf,id:()=>nf,is:()=>rf,it:()=>of,ja:()=>af,ka:()=>sf,kh:()=>cf,km:()=>Ji,kn:()=>uf,ko:()=>lf,lt:()=>pf,mk:()=>mf,ms:()=>ff,ne:()=>gf,nl:()=>hf,nn:()=>vf,no:()=>yf,ota:()=>bf,pl:()=>$f,ps:()=>_f,pt:()=>kf,ptBR:()=>xf,ro:()=>wf,ru:()=>Sf,sk:()=>Pf,sl:()=>Tf,sv:()=>Ef,ta:()=>Af,tg:()=>Of,th:()=>Nf,tk:()=>zf,tr:()=>Df,ua:()=>Cf,uk:()=>Xi,ur:()=>jf,uz:()=>Lf,vi:()=>Uf,yo:()=>Zf,zhCN:()=>Rf,zhTW:()=>Mf});var C_=()=>{let e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"},map:{unit:"عنصر",verb:"أن يحوي"}};function n(t){return e[t]??null}let i={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",mac:"عنوان MAC",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",credit_card:"رقم بطاقة الائتمان",currency_code:"رمز العملة",iban:"IBAN",jwt:"JWT",template_literal:"مدخل"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`مدخلات غير مقبولة: يفترض إدخال instanceof ${t.expected}، ولكن تم إدخال ${s}`:`مدخلات غير مقبولة: يفترض إدخال ${r}، ولكن تم إدخال ${s}`}case"invalid_value":return t.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${$(t.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?` أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${r} ${t.maximum.toString()} ${a.unit??"عنصر"}`:`أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${r} ${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${r} ${t.minimum.toString()} ${a.unit}`:`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${r} ${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`نَص غير مقبول: يجب أن يبدأ بـ "${t.prefix}"`:r.format==="ends_with"?`نَص غير مقبول: يجب أن ينتهي بـ "${r.suffix}"`:r.format==="includes"?`نَص غير مقبول: يجب أن يتضمَّن "${r.includes}"`:r.format==="regex"?`نَص غير مقبول: يجب أن يطابق النمط ${r.pattern}`:`${i[r.format]??t.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${t.divisor}`;case"unrecognized_keys":return`معرف${t.keys.length>1?"ات":""} غريب${t.keys.length>1?"ة":""}: ${v(t.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${t.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${t.origin}`;default:return"مدخل غير مقبول"}}};function Om(){return{localeError:C_()}}var j_=()=>{let e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"},map:{unit:"element",verb:"olmalıdır"}};function n(t){return e[t]??null}let i={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",credit_card:"kredit kartı nömrəsi",currency_code:"valyuta kodu",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Yanlış dəyər: gözlənilən instanceof ${t.expected}, daxil olan ${s}`:`Yanlış dəyər: gözlənilən ${r}, daxil olan ${s}`}case"invalid_value":return t.values.length===1?`Yanlış dəyər: gözlənilən ${$(t.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${r}${t.maximum.toString()} ${a.unit??"element"}`:`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Çox kiçik: gözlənilən ${t.origin} ${r}${t.minimum.toString()} ${a.unit}`:`Çox kiçik: gözlənilən ${t.origin} ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Yanlış mətn: "${r.prefix}" ilə başlamalıdır`:r.format==="ends_with"?`Yanlış mətn: "${r.suffix}" ilə bitməlidir`:r.format==="includes"?`Yanlış mətn: "${r.includes}" daxil olmalıdır`:r.format==="regex"?`Yanlış mətn: ${r.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${i[r.format]??t.format}`}case"not_multiple_of":return`Yanlış ədəd: ${t.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${t.keys.length>1?"lar":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${t.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function Nm(){return{localeError:j_()}}function zm(e,n,i,o){let t=Math.abs(e),r=t%10,a=t%100;return a>=11&&a<=19?o:r===1?n:r>=2&&r<=4?i:o}var L_=()=>{let e={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},map:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function n(t){return e[t]??null}let i={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",mac:"MAC адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",credit_card:"нумар крэдытнай карты",currency_code:"код валюты",iban:"IBAN",jwt:"JWT",template_literal:"увод"},o={nan:"NaN",number:"лік",array:"масіў"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Няправільны ўвод: чакаўся instanceof ${t.expected}, атрымана ${s}`:`Няправільны ўвод: чакаўся ${r}, атрымана ${s}`}case"invalid_value":return t.values.length===1?`Няправільны ўвод: чакалася ${$(t.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);if(a){let s=Number(t.maximum),c=zm(s,a.unit.one,a.unit.few,a.unit.many);return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна ${a.verb} ${r}${t.maximum.toString()} ${c}`}return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна быць ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);if(a){let s=Number(t.minimum),c=zm(s,a.unit.one,a.unit.few,a.unit.many);return`Занадта малы: чакалася, што ${t.origin} павінна ${a.verb} ${r}${t.minimum.toString()} ${c}`}return`Занадта малы: чакалася, што ${t.origin} павінна быць ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Няправільны радок: павінен пачынацца з "${r.prefix}"`:r.format==="ends_with"?`Няправільны радок: павінен заканчвацца на "${r.suffix}"`:r.format==="includes"?`Няправільны радок: павінен змяшчаць "${r.includes}"`:r.format==="regex"?`Няправільны радок: павінен адпавядаць шаблону ${r.pattern}`:`Няправільны ${i[r.format]??t.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${t.keys.length>1?"ключы":"ключ"}: ${v(t.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${t.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${t.origin}`;default:return"Няправільны ўвод"}}};function Dm(){return{localeError:L_()}}var U_=()=>{let e={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"},map:{unit:"елемента",verb:"да съдържа"}};function n(t){return e[t]??null}let i={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",mac:"MAC адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",credit_card:"номер на кредитна карта",currency_code:"код на валута",iban:"IBAN",jwt:"JWT",template_literal:"вход"},o={nan:"NaN",number:"число",array:"масив"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Невалиден вход: очакван instanceof ${t.expected}, получен ${s}`:`Невалиден вход: очакван ${r}, получен ${s}`}case"invalid_value":return t.values.length===1?`Невалиден вход: очакван ${$(t.values[0])}`:`Невалидна опция: очаквано едно от ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Твърде голямо: очаква се ${t.origin??"стойност"} да съдържа ${r}${t.maximum.toString()} ${a.unit??"елемента"}`:`Твърде голямо: очаква се ${t.origin??"стойност"} да бъде ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Твърде малко: очаква се ${t.origin} да съдържа ${r}${t.minimum.toString()} ${a.unit}`:`Твърде малко: очаква се ${t.origin} да бъде ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;if(r.format==="starts_with")return`Невалиден низ: трябва да започва с "${r.prefix}"`;if(r.format==="ends_with")return`Невалиден низ: трябва да завършва с "${r.suffix}"`;if(r.format==="includes")return`Невалиден низ: трябва да включва "${r.includes}"`;if(r.format==="regex")return`Невалиден низ: трябва да съвпада с ${r.pattern}`;let a="Невалиден";return r.format==="emoji"&&(a="Невалидно"),r.format==="datetime"&&(a="Невалидно"),r.format==="date"&&(a="Невалидна"),r.format==="time"&&(a="Невалидно"),r.format==="duration"&&(a="Невалидна"),`${a} ${i[r.format]??t.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${t.divisor}`;case"unrecognized_keys":return`Неразпознат${t.keys.length>1?"и":""} ключ${t.keys.length>1?"ове":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${t.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${t.origin}`;default:return"Невалиден вход"}}};function Cm(){return{localeError:U_()}}var R_=()=>{let e={string:{unit:"অক্ষর",verb:"থাকতে হবে"},file:{unit:"বাইট",verb:"থাকতে হবে"},array:{unit:"আইটেম",verb:"থাকতে হবে"},set:{unit:"আইটেম",verb:"থাকতে হবে"},map:{unit:"এন্ট্রি",verb:"থাকতে হবে"}};function n(t){return e[t]??null}let i={regex:"ইনপুট",email:"ইমেইল ঠিকানা",url:"URL",emoji:"ইমোজি",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO তারিখ ও সময়",date:"ISO তারিখ",time:"ISO সময়",duration:"ISO সময়কাল",ipv4:"IPv4 ঠিকানা",ipv6:"IPv6 ঠিকানা",mac:"MAC ঠিকানা",cidrv4:"IPv4 রেঞ্জ",cidrv6:"IPv6 রেঞ্জ",base64:"base64-এনকোডেড স্ট্রিং",base64url:"base64url-এনকোডেড স্ট্রিং",json_string:"JSON স্ট্রিং",e164:"E.164 নম্বর",credit_card:"ক্রেডিট কার্ড নম্বর",currency_code:"মুদ্রা কোড",iban:"IBAN",jwt:"JWT",template_literal:"ইনপুট"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`অবৈধ ইনপুট: প্রত্যাশিত ${r}, প্রাপ্ত ${s}`}case"invalid_value":return t.values.length===1?`অবৈধ ইনপুট: প্রত্যাশিত ${$(t.values[0])}`:`অবৈধ অপশন: ${v(t.values," | ")} এর মধ্যে একটি প্রত্যাশিত`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`অনেক বড়: ${t.origin??"মান"} ${r}${t.maximum.toString()} ${a.unit??"এলিমেন্ট"} হতে হবে`:`অনেক বড়: ${t.origin??"মান"} ${r}${t.maximum.toString()} হতে হবে`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`অনেক ছোট: ${t.origin} ${r}${t.minimum.toString()} ${a.unit} হতে হবে`:`অনেক ছোট: ${t.origin} ${r}${t.minimum.toString()} হতে হবে`}case"invalid_format":{let r=t;return r.format==="starts_with"?`অবৈধ স্ট্রিং: "${r.prefix}" দিয়ে শুরু হতে হবে`:r.format==="ends_with"?`অবৈধ স্ট্রিং: "${r.suffix}" দিয়ে শেষ হতে হবে`:r.format==="includes"?`অবৈধ স্ট্রিং: "${r.includes}" অন্তর্ভুক্ত থাকতে হবে`:r.format==="regex"?`অবৈধ স্ট্রিং: ${r.pattern} প্যাটার্ন মিলতে হবে`:`অবৈধ ${i[r.format]??t.format}`}case"not_multiple_of":return`অবৈধ নম্বর: ${t.divisor} এর গুণিতক হতে হবে`;case"unrecognized_keys":return`অচেনা কী${t.keys.length>1?"গুলো":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} এ অবৈধ কী`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`অবৈধ ডিসক্রিমিনেটর মান। প্রত্যাশিত ${t.options.map(a=>`'${a}'`).join(" | ")}`:"অবৈধ ইনপুট";case"invalid_element":return`${t.origin} এ অবৈধ মান`;default:return"অবৈধ ইনপুট"}}};function jm(){return{localeError:R_()}}var M_=()=>{let e={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"},map:{unit:"elements",verb:"contenir"}};function n(t){return e[t]??null}let i={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",mac:"adreça MAC",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",credit_card:"número de targeta de crèdit",currency_code:"codi de moneda",iban:"IBAN",jwt:"JWT",template_literal:"entrada"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Tipus invàlid: s'esperava instanceof ${t.expected}, s'ha rebut ${s}`:`Tipus invàlid: s'esperava ${r}, s'ha rebut ${s}`}case"invalid_value":return t.values.length===1?`Valor invàlid: s'esperava ${$(t.values[0])}`:`Opció invàlida: s'esperava una de ${v(t.values," o ")}`;case"too_big":{let r=t.inclusive?"com a màxim":"menys de",a=n(t.origin);return a?`Massa gran: s'esperava que ${t.origin??"el valor"} contingués ${r} ${t.maximum.toString()} ${a.unit??"elements"}`:`Massa gran: s'esperava que ${t.origin??"el valor"} fos ${r} ${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?"com a mínim":"més de",a=n(t.origin);return a?`Massa petit: s'esperava que ${t.origin} contingués ${r} ${t.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${t.origin} fos ${r} ${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Format invàlid: ha de començar amb "${r.prefix}"`:r.format==="ends_with"?`Format invàlid: ha d'acabar amb "${r.suffix}"`:r.format==="includes"?`Format invàlid: ha d'incloure "${r.includes}"`:r.format==="regex"?`Format invàlid: ha de coincidir amb el patró ${r.pattern}`:`Format invàlid per a ${i[r.format]??t.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${t.divisor}`;case"unrecognized_keys":return`Clau${t.keys.length>1?"s":""} no reconeguda${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${t.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${t.origin}`;default:return"Entrada invàlida"}}};function Lm(){return{localeError:M_()}}var Z_=()=>{let e={string:{unit:"پیت",verb:"بێت"},file:{unit:"بایت",verb:"بێت"},array:{unit:"دانە",verb:"بێت"},set:{unit:"دانە",verb:"بێت"},map:{unit:"دانە",verb:"بێت"}};function n(t){return e[t]??null}let i={regex:"regex",email:"ئیمەیڵ",url:"بەستەر (URL)",emoji:"ئیمۆجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ڕێکەوت و کات",date:"ڕێکەوت",time:"کات",duration:"ماوە",ipv4:"ناونیشانی IPv4",ipv6:"ناونیشانی IPv6",mac:"ناونیشانی MAC",cidrv4:"مەودای IPv4",cidrv6:"مەودای IPv6",base64:"دەقی base64",base64url:"دەقی base64url",json_string:"دەقی JSON",e164:"ژمارەی E.164",credit_card:"ژمارەی کارتی کرێدیت",currency_code:"کۆدی دراو",iban:"IBAN",jwt:"JWT",template_literal:"تێکردە"},o={nan:"NaN",string:"نووسین",number:"ژمارە",boolean:"boolean",array:"array",object:"object",date:"ڕێکەوت",integer:"ژمارە",float:"ژمارە",null:"null",undefined:"undefined",function:"function",symbol:"symbol",unknown:"unknown",promise:"promise",void:"void",never:"never",map:"map",set:"set"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a,c=["ا","و","ۆ","وو","ە","ی","ێ"].some(d=>s.endsWith(d))?"یە":"ە",u=/^[a-zA-Z]+$/.test(s);return a==="null"||a==="undefined"?"داواکراوە":`چاوەڕوانکراوە ${r} بێت، بەڵام ${s}${u?"":c}`}case"invalid_value":return t.values.length===1?`بەهاکە نادرووستە: چاوەڕوانکراوە ${$(t.values[0])} بێت`:`هەڵبژاردەی نادروست: چاوەڕوانکراوە یەکێک بێت لە ${v(t.values,"|")}`;case"too_big":{let r=n(t.origin);return r?`پێویستە بە لایەنی زۆرەوە ${t.maximum.toString()} ${r.unit} ${r.verb}`:`پێویستە بە لایەنی زۆرەوە ${t.maximum.toString()} بێت`}case"too_small":{let r=n(t.origin);return r?`پێویستە بە لایەنی کەمەوە ${t.minimum.toString()} ${r.unit} ${r.verb}`:`پێویستە بە لایەنی کەمەوە ${t.minimum.toString()} بێت`}case"invalid_format":{let r=t;return r.format==="starts_with"?`دەقی نادروست: پێویستە دەستپێبکات بە "${r.prefix}"`:r.format==="ends_with"?`دەقی نادروست: پێویستە کۆتاییبێت بە "${r.suffix}"`:r.format==="includes"?`دەقی نادروست: پێویستە "${r.includes}" لەخۆبگرێت`:r.format==="regex"?`دەقی نادروست: پێویستە لەگەڵ پاتێرنی ${r.pattern} بگونجێت`:`بەهای ${i[r.format]??t.format} نادروستە`}case"not_multiple_of":return`ژمارەی نادروست: دەبێت چەند هێندە بێت بۆ ${t.divisor}`;case"unrecognized_keys":return`کلیلی نەناسراو: ${v(t.keys,", ")}`;case"invalid_key":return`کلیلی نادروست لە ${t.origin}`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`بەهای نەناسراو هەیە. بەهای چاوەڕوانکراو: ${t.options.map(a=>`'${a}'`).join(" | ")}`:"یەکگرتنی نادروست";case"invalid_element":return`${t.origin} بەهاکە نادروستە`;default:return"تێکردەی نادروست"}}};function Um(){return{localeError:Z_()}}var V_=()=>{let e={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"},map:{unit:"prvků",verb:"mít"}};function n(t){return e[t]??null}let i={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",mac:"MAC adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",credit_card:"číslo kreditní karty",currency_code:"kód měny",iban:"IBAN",jwt:"JWT",template_literal:"vstup"},o={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Neplatný vstup: očekáváno instanceof ${t.expected}, obdrženo ${s}`:`Neplatný vstup: očekáváno ${r}, obdrženo ${s}`}case"invalid_value":return t.values.length===1?`Neplatný vstup: očekáváno ${$(t.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Hodnota je příliš velká: ${t.origin??"hodnota"} musí mít ${r}${t.maximum.toString()} ${a.unit??"prvků"}`:`Hodnota je příliš velká: ${t.origin??"hodnota"} musí být ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Hodnota je příliš malá: ${t.origin??"hodnota"} musí mít ${r}${t.minimum.toString()} ${a.unit??"prvků"}`:`Hodnota je příliš malá: ${t.origin??"hodnota"} musí být ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Neplatný řetězec: musí začínat na "${r.prefix}"`:r.format==="ends_with"?`Neplatný řetězec: musí končit na "${r.suffix}"`:r.format==="includes"?`Neplatný řetězec: musí obsahovat "${r.includes}"`:r.format==="regex"?`Neplatný řetězec: musí odpovídat vzoru ${r.pattern}`:`Neplatný formát ${i[r.format]??t.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${t.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${v(t.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${t.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${t.origin}`;default:return"Neplatný vstup"}}};function Rm(){return{localeError:V_()}}var G_=()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"},map:{unit:"elementer",verb:"indeholdt"}};function n(t){return e[t]??null}let i={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslæt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-adresse",ipv6:"IPv6-adresse",mac:"MAC-adresse",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",credit_card:"kreditkortnummer",currency_code:"valutakode",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ugyldigt input: forventede instanceof ${t.expected}, fik ${s}`:`Ugyldigt input: forventede ${r}, fik ${s}`}case"invalid_value":return t.values.length===1?`Ugyldig værdi: forventede ${$(t.values[0])}`:`Ugyldigt valg: forventede en af følgende ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin),s=o[t.origin]??t.origin;return a?`For stor: forventede ${s??"value"} ${a.verb} ${r} ${t.maximum.toString()} ${a.unit??"elementer"}`:`For stor: forventede ${s??"value"} havde ${r} ${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin),s=o[t.origin]??t.origin;return a?`For lille: forventede ${s} ${a.verb} ${r} ${t.minimum.toString()} ${a.unit}`:`For lille: forventede ${s} havde ${r} ${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ugyldig streng: skal starte med "${r.prefix}"`:r.format==="ends_with"?`Ugyldig streng: skal ende med "${r.suffix}"`:r.format==="includes"?`Ugyldig streng: skal indeholde "${r.includes}"`:r.format==="regex"?`Ugyldig streng: skal matche mønsteret ${r.pattern}`:`Ugyldig ${i[r.format]??t.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${v(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${t.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${t.origin}`;default:return"Ugyldigt input"}}};function Mm(){return{localeError:G_()}}var F_=()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"},map:{unit:"Elemente",verb:"zu haben"}};function n(t){return e[t]??null}let i={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",mac:"MAC-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",credit_card:"Kreditkartennummer",currency_code:"Währungscode",iban:"IBAN",jwt:"JWT",template_literal:"Eingabe"},o={nan:"NaN",number:"Zahl",array:"Array"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ungültige Eingabe: erwartet instanceof ${t.expected}, erhalten ${s}`:`Ungültige Eingabe: erwartet ${r}, erhalten ${s}`}case"invalid_value":return t.values.length===1?`Ungültige Eingabe: erwartet ${$(t.values[0])}`:`Ungültige Option: erwartet eine von ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Zu groß: erwartet, dass ${t.origin??"Wert"} ${r}${t.maximum.toString()} ${a.unit??"Elemente"} hat`:`Zu groß: erwartet, dass ${t.origin??"Wert"} ${r}${t.maximum.toString()} ist`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Zu klein: erwartet, dass ${t.origin} ${r}${t.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${t.origin} ${r}${t.minimum.toString()} ist`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ungültiger String: muss mit "${r.prefix}" beginnen`:r.format==="ends_with"?`Ungültiger String: muss mit "${r.suffix}" enden`:r.format==="includes"?`Ungültiger String: muss "${r.includes}" enthalten`:r.format==="regex"?`Ungültiger String: muss dem Muster ${r.pattern} entsprechen`:`Ungültig: ${i[r.format]??t.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${t.divisor} sein`;case"unrecognized_keys":return`${t.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${v(t.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${t.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${t.origin}`;default:return"Ungültige Eingabe"}}};function Zm(){return{localeError:F_()}}var B_=()=>{let e={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function n(t){return e[t]??null}let i={regex:"είσοδος",email:"διεύθυνση email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",credit_card:"αριθμός πιστωτικής κάρτας",currency_code:"κωδικός νομίσματος",iban:"IBAN",jwt:"JWT",template_literal:"είσοδος"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return typeof t.expected=="string"&&/^[A-Z]/.test(t.expected)?`Μη έγκυρη είσοδος: αναμενόταν instanceof ${t.expected}, λήφθηκε ${s}`:`Μη έγκυρη είσοδος: αναμενόταν ${r}, λήφθηκε ${s}`}case"invalid_value":return t.values.length===1?`Μη έγκυρη είσοδος: αναμενόταν ${$(t.values[0])}`:`Μη έγκυρη επιλογή: αναμενόταν ένα από ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Πολύ μεγάλο: αναμενόταν ${t.origin??"τιμή"} να έχει ${r}${t.maximum.toString()} ${a.unit??"στοιχεία"}`:`Πολύ μεγάλο: αναμενόταν ${t.origin??"τιμή"} να είναι ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Πολύ μικρό: αναμενόταν ${t.origin} να έχει ${r}${t.minimum.toString()} ${a.unit}`:`Πολύ μικρό: αναμενόταν ${t.origin} να είναι ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${r.prefix}"`:r.format==="ends_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${r.suffix}"`:r.format==="includes"?`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${r.includes}"`:r.format==="regex"?`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${r.pattern}`:`Μη έγκυρο: ${i[r.format]??t.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${t.divisor}`;case"unrecognized_keys":return`Άγνωστ${t.keys.length>1?"α":"ο"} κλειδ${t.keys.length>1?"ιά":"ί"}: ${v(t.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${t.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${t.origin}`;default:return"Μη έγκυρη είσοδος"}}};function Vm(){return{localeError:B_()}}var H_=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function n(r){return e[r]??null}let i={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",currency_code:"currency code",credit_card:"credit card number",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN"};function t(r,a){return r==="number"&&typeof a=="number"&&!Number.isFinite(a)?String(a):o[r]??r}return r=>{switch(r.code){case"invalid_type":{let a=t(r.expected),s=k(r.input),c=t(s,r.input);return`Invalid input: expected ${a}, received ${c}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${$(r.values[0])}`:`Invalid option: expected one of ${v(r.values,"|")}`;case"too_big":{let a=r.exact?"exactly ":r.inclusive?"<=":"<",s=n(r.origin);return s?`Too big: expected ${r.origin??"value"} to have ${a}${r.maximum.toString()} ${s.unit??"elements"}`:`Too big: expected ${r.origin??"value"} to be ${a}${r.maximum.toString()}`}case"too_small":{let a=r.exact?"exactly ":r.inclusive?">=":">",s=n(r.origin);return s?`Too small: expected ${r.origin} to have ${a}${r.minimum.toString()} ${s.unit}`:`Too small: expected ${r.origin} to be ${a}${r.minimum.toString()}`}case"invalid_format":{let a=r;return a.format==="starts_with"?`Invalid string: must start with "${a.prefix}"`:a.format==="ends_with"?`Invalid string: must end with "${a.suffix}"`:a.format==="includes"?`Invalid string: must include "${a.includes}"`:a.format==="regex"?`Invalid string: must match pattern ${a.pattern}`:`Invalid ${i[a.format]??r.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${r.divisor}`;case"unrecognized_keys":return`Unrecognized key${r.keys.length>1?"s":""}: ${v(r.keys,", ")}`;case"invalid_key":return`Invalid key in ${r.origin}`;case"invalid_union":return r.options&&Array.isArray(r.options)&&r.options.length>0?`Invalid discriminator value. Expected ${r.options.map(s=>`'${s}'`).join(" | ")}`:r.inclusive===!1?"Invalid input: more than one option matched":"Invalid input";case"invalid_element":return`Invalid value in ${r.origin}`;default:return"Invalid input"}}};function Wi(){return{localeError:H_()}}var K_=()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"},map:{unit:"elementojn",verb:"havi"}};function n(t){return e[t]??null}let i={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",mac:"MAC-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",credit_card:"kreditkarta numero",currency_code:"valuta kodo",iban:"IBAN",jwt:"JWT",template_literal:"enigo"},o={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Nevalida enigo: atendiĝis instanceof ${t.expected}, riceviĝis ${s}`:`Nevalida enigo: atendiĝis ${r}, riceviĝis ${s}`}case"invalid_value":return t.values.length===1?`Nevalida enigo: atendiĝis ${$(t.values[0])}`:`Nevalida opcio: atendiĝis unu el ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Tro granda: atendiĝis ke ${t.origin??"valoro"} havu ${r}${t.maximum.toString()} ${a.unit??"elementojn"}`:`Tro granda: atendiĝis ke ${t.origin??"valoro"} havu ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Tro malgranda: atendiĝis ke ${t.origin} havu ${r}${t.minimum.toString()} ${a.unit}`:`Tro malgranda: atendiĝis ke ${t.origin} estu ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Nevalida karaktraro: devas komenciĝi per "${r.prefix}"`:r.format==="ends_with"?`Nevalida karaktraro: devas finiĝi per "${r.suffix}"`:r.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${r.includes}"`:r.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${r.pattern}`:`Nevalida ${i[r.format]??t.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${t.divisor}`;case"unrecognized_keys":return`Nekonata${t.keys.length>1?"j":""} ŝlosilo${t.keys.length>1?"j":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${t.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${t.origin}`;default:return"Nevalida enigo"}}};function Gm(){return{localeError:K_()}}var W_=()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function n(t){return e[t]??null}let i={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",mac:"dirección MAC",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",credit_card:"número de tarjeta de crédito",currency_code:"código de moneda",iban:"IBAN",jwt:"JWT",template_literal:"entrada"},o={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Entrada inválida: se esperaba instanceof ${t.expected}, recibido ${s}`:`Entrada inválida: se esperaba ${r}, recibido ${s}`}case"invalid_value":return t.values.length===1?`Entrada inválida: se esperaba ${$(t.values[0])}`:`Opción inválida: se esperaba una de ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin),s=o[t.origin]??t.origin;return a?`Demasiado grande: se esperaba que ${s??"valor"} tuviera ${r}${t.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${s??"valor"} fuera ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin),s=o[t.origin]??t.origin;return a?`Demasiado pequeño: se esperaba que ${s} tuviera ${r}${t.minimum.toString()} ${a.unit}`:`Demasiado pequeño: se esperaba que ${s} fuera ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Cadena inválida: debe comenzar con "${r.prefix}"`:r.format==="ends_with"?`Cadena inválida: debe terminar en "${r.suffix}"`:r.format==="includes"?`Cadena inválida: debe incluir "${r.includes}"`:r.format==="regex"?`Cadena inválida: debe coincidir con el patrón ${r.pattern}`:`Inválido ${i[r.format]??t.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${t.divisor}`;case"unrecognized_keys":return`Llave${t.keys.length>1?"s":""} desconocida${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Llave inválida en ${o[t.origin]??t.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${o[t.origin]??t.origin}`;default:return"Entrada inválida"}}};function Fm(){return{localeError:W_()}}var J_=()=>{let e={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"},map:{unit:"آیتم",verb:"داشته باشد"}};function n(t){return e[t]??null}let i={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",mac:"MAC آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",credit_card:"شماره کارت اعتباری",currency_code:"کد ارز",iban:"IBAN",jwt:"JWT",template_literal:"ورودی"},o={nan:"NaN",number:"عدد",array:"آرایه"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`ورودی نامعتبر: می‌بایست instanceof ${t.expected} می‌بود، ${s} دریافت شد`:`ورودی نامعتبر: می‌بایست ${r} می‌بود، ${s} دریافت شد`}case"invalid_value":return t.values.length===1?`ورودی نامعتبر: می‌بایست ${$(t.values[0])} می‌بود`:`گزینه نامعتبر: می‌بایست یکی از ${v(t.values,"|")} می‌بود`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`خیلی بزرگ: ${t.origin??"مقدار"} باید ${r}${t.maximum.toString()} ${a.unit??"عنصر"} باشد`:`خیلی بزرگ: ${t.origin??"مقدار"} باید ${r}${t.maximum.toString()} باشد`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`خیلی کوچک: ${t.origin} باید ${r}${t.minimum.toString()} ${a.unit} باشد`:`خیلی کوچک: ${t.origin} باید ${r}${t.minimum.toString()} باشد`}case"invalid_format":{let r=t;return r.format==="starts_with"?`رشته نامعتبر: باید با "${r.prefix}" شروع شود`:r.format==="ends_with"?`رشته نامعتبر: باید با "${r.suffix}" تمام شود`:r.format==="includes"?`رشته نامعتبر: باید شامل "${r.includes}" باشد`:r.format==="regex"?`رشته نامعتبر: باید با الگوی ${r.pattern} مطابقت داشته باشد`:`${i[r.format]??t.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${t.divisor} باشد`;case"unrecognized_keys":return`کلید${t.keys.length>1?"های":""} ناشناس: ${v(t.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${t.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${t.origin}`;default:return"ورودی نامعتبر"}}};function Bm(){return{localeError:J_()}}var X_=()=>{let e={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},map:{unit:"alkiota",subject:"kuvauksen"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function n(t){return e[t]??null}let i={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",mac:"MAC-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",credit_card:"luottokortin numero",currency_code:"valuuttakoodi",iban:"IBAN",jwt:"JWT",template_literal:"templaattimerkkijono"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Virheellinen tyyppi: odotettiin instanceof ${t.expected}, oli ${s}`:`Virheellinen tyyppi: odotettiin ${r}, oli ${s}`}case"invalid_value":return t.values.length===1?`Virheellinen syöte: täytyy olla ${$(t.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Liian suuri: ${a.subject} täytyy olla ${r}${t.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon täytyy olla ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Liian pieni: ${a.subject} täytyy olla ${r}${t.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon täytyy olla ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Virheellinen syöte: täytyy alkaa "${r.prefix}"`:r.format==="ends_with"?`Virheellinen syöte: täytyy loppua "${r.suffix}"`:r.format==="includes"?`Virheellinen syöte: täytyy sisältää "${r.includes}"`:r.format==="regex"?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${r.pattern}`:`Virheellinen ${i[r.format]??t.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${t.divisor} monikerta`;case"unrecognized_keys":return`${t.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${v(t.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};function Hm(){return{localeError:X_()}}var q_=()=>{let e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function n(t){return e[t]??null}let i={regex:"expression régulière",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",mac:"adresse MAC",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne de caractères encodée en base64",base64url:"chaîne de caractères encodée en base64url",json_string:"chaîne de caractères JSON",e164:"numéro au format E.164",credit_card:"numéro de carte de crédit",currency_code:"code de devise",iban:"IBAN",jwt:"JWT",template_literal:"entrée"},o={string:"chaîne de caractères",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"record",map:"map",set:"ensemble",file:"fichier",nonoptional:"non optionnel",nan:"NaN",function:"fonction"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Entrée invalide : instance de ${t.expected} attendu, ${s} reçu`:`Entrée invalide : ${r} attendu, ${s} reçu`}case"invalid_value":return t.values.length===1?`Entrée invalide : ${$(t.values[0])} attendu`:`Option invalide : une valeur parmi ${v(t.values,"|")} attendue`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Trop grand : ${o[t.origin]??"valeur"} doit ${a.verb} ${r}${t.maximum.toString()} ${a.unit??"élément(s)"}`:`Trop grand : ${o[t.origin]??"valeur"} doit être ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Trop petit : ${o[t.origin]??"valeur"} doit ${a.verb} ${r}${t.minimum.toString()} ${a.unit}`:`Trop petit : ${o[t.origin]??"valeur"} doit être ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Chaîne de caractères invalide : doit commencer par "${r.prefix}"`:r.format==="ends_with"?`Chaîne de caractères invalide : doit se terminer par "${r.suffix}"`:r.format==="includes"?`Chaîne de caractères invalide : doit inclure "${r.includes}"`:r.format==="regex"?`Chaîne de caractères invalide : doit correspondre au motif ${r.pattern}`:`${i[r.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${v(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function Km(){return{localeError:q_()}}var Y_=()=>{let e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"},map:{unit:"éléments",verb:"avoir"}};function n(t){return e[t]??null}let i={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",mac:"adresse MAC",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",credit_card:"numéro de carte de crédit",currency_code:"code de devise",iban:"IBAN",jwt:"JWT",template_literal:"entrée"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Entrée invalide : attendu instanceof ${t.expected}, reçu ${s}`:`Entrée invalide : attendu ${r}, reçu ${s}`}case"invalid_value":return t.values.length===1?`Entrée invalide : attendu ${$(t.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"≤":"<",a=n(t.origin);return a?`Trop grand : attendu que ${t.origin??"la valeur"} ait ${r}${t.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${t.origin??"la valeur"} soit ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?"≥":">",a=n(t.origin);return a?`Trop petit : attendu que ${t.origin} ait ${r}${t.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${t.origin} soit ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Chaîne invalide : doit commencer par "${r.prefix}"`:r.format==="ends_with"?`Chaîne invalide : doit se terminer par "${r.suffix}"`:r.format==="includes"?`Chaîne invalide : doit inclure "${r.includes}"`:r.format==="regex"?`Chaîne invalide : doit correspondre au motif ${r.pattern}`:`${i[r.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${v(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function Wm(){return{localeError:Y_()}}var Q_=()=>{let e={string:{unit:"અક્ષર",verb:"હોવા જોઈએ"},file:{unit:"બાયટ",verb:"હોવા જોઈએ"},array:{unit:"આઇટમ",verb:"હોવા જોઈએ"},set:{unit:"આઇટમ",verb:"હોવા જોઈએ"},map:{unit:"એન્ટ્રી",verb:"હોવા જોઈએ"}};function n(t){return e[t]??null}let i={regex:"ઇનપુટ",email:"ઈમેઇલ એડ્રેસ",url:"URL",emoji:"ઇમોજી",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO તારીખ અને સમય",date:"ISO તારીખ",time:"ISO સમય",duration:"ISO અવધિ",ipv4:"IPv4 એડ્રેસ",ipv6:"IPv6 એડ્રેસ",mac:"MAC એડ્રેસ",cidrv4:"IPv4 શ્રેણી",cidrv6:"IPv6 શ્રેણી",base64:"base64-એન્કોડેડ સ્ટ્રિંગ",base64url:"base64url-એન્કોડેડ સ્ટ્રિંગ",json_string:"JSON સ્ટ્રિંગ",e164:"E.164 નંબર",credit_card:"ક્રેડિટ કાર્ડ નંબર",currency_code:"ચલણ કોડ",iban:"IBAN",jwt:"JWT",template_literal:"ઇનપુટ"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`અમાન્ય ઇનપુટ: અપેક્ષિત ${r}, પ્રાપ્ત ${s}`}case"invalid_value":return t.values.length===1?`અમાન્ય ઇનપુટ: અપેક્ષિત ${$(t.values[0])}`:`અમાન્ય વિકલ્પ: ${v(t.values," | ")} માધ્યમથી એક અપેક્ષિત`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`ખૂબ મોટું: ${t.origin??"મૂલ્ય"} ${r}${t.maximum.toString()} ${a.unit??"એલિમેન્ટ"} હોવા જોઈએ`:`ખૂબ મોટું: ${t.origin??"મૂલ્ય"} ${r}${t.maximum.toString()} હોવું જોઈએ`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`ખૂબ નાનું: ${t.origin} ${r}${t.minimum.toString()} ${a.unit} હોવા જોઈએ`:`ખૂબ નાનું: ${t.origin} ${r}${t.minimum.toString()} હોવું જોઈએ`}case"invalid_format":{let r=t;return r.format==="starts_with"?`અમાન્ય સ્ટ્રિંગ: "${r.prefix}" થી શરૂ થવું જોઈએ`:r.format==="ends_with"?`અમાન્ય સ્ટ્રિંગ: "${r.suffix}" પર સમાપ્ત થવું જોઈએ`:r.format==="includes"?`અમાન્ય સ્ટ્રિંગ: "${r.includes}" શામેલ હોવું જોઈએ`:r.format==="regex"?`અમાન્ય સ્ટ્રિંગ: પેટર્ન ${r.pattern} સાથે મેળ ખાવું જોઈએ`:`અમાન્ય ${i[r.format]??t.format}`}case"not_multiple_of":return`અમાન્ય નંબર: ${t.divisor} નો ગુણાંક હોવો જોઈએ`;case"unrecognized_keys":return`ઓળખી શકાતા નહીં તે કી${t.keys.length>1?"ઓ":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} માં અમાન્ય કી`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`અમાન્ય ડિસ્ક્રિમિનેટર મૂલ્ય. અપેક્ષિત ${t.options.map(a=>`'${a}'`).join(" | ")}`:"અમાન્ય ઇનપુટ";case"invalid_element":return`${t.origin} માં અમાન્ય મૂલ્ય`;default:return"અમાન્ય ઇનપુટ"}}};function Jm(){return{localeError:Q_()}}var e$=()=>{let e={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},n={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},i=u=>u?e[u]:void 0,o=u=>{let d=i(u);return d?d.label:u??e.unknown.label},t=u=>`ה${o(u)}`,r=u=>(i(u)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות",a=u=>u?n[u]??null:null,s={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},uuidv4:{label:"UUIDv4",gender:"m"},uuidv6:{label:"UUIDv6",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},mac:{label:"כתובת MAC",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},credit_card:{label:"מספר כרטיס אשראי",gender:"m"},currency_code:{label:"קוד מטבע",gender:"m"},iban:{label:"IBAN",gender:"m"},jwt:{label:"JWT",gender:"m"},template_literal:{label:"קלט",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},c={nan:"NaN"};return u=>{switch(u.code){case"invalid_type":{let d=u.expected,p=c[d??""]??o(d),m=k(u.input),f=c[m]??e[m]?.label??m;return/^[A-Z]/.test(u.expected)?`קלט לא תקין: צריך להיות instanceof ${u.expected}, התקבל ${f}`:`קלט לא תקין: צריך להיות ${p}, התקבל ${f}`}case"invalid_value":{if(u.values.length===1)return`ערך לא תקין: הערך חייב להיות ${$(u.values[0])}`;let d=u.values.map(f=>$(f));if(u.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${d[0]} או ${d[1]}`;let p=d[d.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${d.slice(0,-1).join(", ")} או ${p}`}case"too_big":{let d=a(u.origin),p=t(u.origin??"value");if(u.origin==="string")return`${d?.longLabel??"ארוך"} מדי: ${p} צריכה להכיל ${u.maximum.toString()} ${d?.unit??""} ${u.inclusive?"או פחות":"לכל היותר"}`.trim();if(u.origin==="number"){let g=u.inclusive?`קטן או שווה ל-${u.maximum}`:`קטן מ-${u.maximum}`;return`גדול מדי: ${p} צריך להיות ${g}`}if(u.origin==="array"||u.origin==="set"){let g=u.origin==="set"?"צריכה":"צריך",y=u.inclusive?`${u.maximum} ${d?.unit??""} או פחות`:`פחות מ-${u.maximum} ${d?.unit??""}`;return`גדול מדי: ${p} ${g} להכיל ${y}`.trim()}let m=u.inclusive?"<=":"<",f=r(u.origin??"value");return d?.unit?`${d.longLabel} מדי: ${p} ${f} ${m}${u.maximum.toString()} ${d.unit}`:`${d?.longLabel??"גדול"} מדי: ${p} ${f} ${m}${u.maximum.toString()}`}case"too_small":{let d=a(u.origin),p=t(u.origin??"value");if(u.origin==="string")return`${d?.shortLabel??"קצר"} מדי: ${p} צריכה להכיל ${u.minimum.toString()} ${d?.unit??""} ${u.inclusive?"או יותר":"לפחות"}`.trim();if(u.origin==="number"){let g=u.inclusive?`גדול או שווה ל-${u.minimum}`:`גדול מ-${u.minimum}`;return`קטן מדי: ${p} צריך להיות ${g}`}if(u.origin==="array"||u.origin==="set"){let g=u.origin==="set"?"צריכה":"צריך";if(u.minimum===1&&u.inclusive){let x=(u.origin==="set","לפחות פריט אחד");return`קטן מדי: ${p} ${g} להכיל ${x}`}let y=u.inclusive?`${u.minimum} ${d?.unit??""} או יותר`:`יותר מ-${u.minimum} ${d?.unit??""}`;return`קטן מדי: ${p} ${g} להכיל ${y}`.trim()}let m=u.inclusive?">=":">",f=r(u.origin??"value");return d?.unit?`${d.shortLabel} מדי: ${p} ${f} ${m}${u.minimum.toString()} ${d.unit}`:`${d?.shortLabel??"קטן"} מדי: ${p} ${f} ${m}${u.minimum.toString()}`}case"invalid_format":{let d=u;if(d.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${d.prefix}"`;if(d.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${d.suffix}"`;if(d.format==="includes")return`המחרוזת חייבת לכלול "${d.includes}"`;if(d.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${d.pattern}`;let p=s[d.format],m=p?.label??d.format,g=(p?.gender??"m")==="f"?"תקינה":"תקין";return`${m} לא ${g}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${u.divisor}`;case"unrecognized_keys":return`מפתח${u.keys.length>1?"ות":""} לא מזוה${u.keys.length>1?"ים":"ה"}: ${v(u.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${t(u.origin??"array")}`;default:return"קלט לא תקין"}}};function Xm(){return{localeError:e$()}}var t$=()=>{let e={string:{unit:"अक्षर",verb:"रखने के लिए"},file:{unit:"बाइट्स",verb:"रखने के लिए"},array:{unit:"तत्व",verb:"रखने के लिए"},set:{unit:"तत्व",verb:"रखने के लिए"},map:{unit:"प्रविष्टियाँ",verb:"रखने के लिए"}};function n(t){return e[t]??null}let i={regex:"इनपुट",email:"ईमेल पता",url:"URL",emoji:"इमोजी",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO तिथि और समय",date:"ISO तिथि",time:"ISO समय",duration:"ISO अवधि",ipv4:"IPv4 पता",ipv6:"IPv6 पता",mac:"MAC पता",cidrv4:"IPv4 श्रेणी",cidrv6:"IPv6 श्रेणी",base64:"Base64-एन्कोडेड स्ट्रिंग",base64url:"Base64URL-एन्कोडेड स्ट्रिंग",json_string:"JSON स्ट्रिंग",e164:"E.164 संख्या",credit_card:"क्रेडिट कार्ड संख्या",currency_code:"मुद्रा कोड",iban:"IBAN",jwt:"JWT",template_literal:"इनपुट"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`अमान्य इनपुट: अपेक्षित ${r}, प्राप्त ${s}`}case"invalid_value":return t.values.length===1?`अमान्य इनपुट: अपेक्षित ${$(t.values[0])}`:`अमान्य विकल्प: अपेक्षित मानों में से एक ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`बहुत बड़ा: अपेक्षित था कि ${t.origin??"मान"} में ${r}${t.maximum} ${a.unit} हों`:`बहुत बड़ा: अपेक्षित था कि ${t.origin??"मान"} ${r}${t.maximum} हो`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`बहुत छोटा: अपेक्षित था कि ${t.origin} में ${r}${t.minimum} ${a.unit} हों`:`बहुत छोटा: अपेक्षित था कि ${t.origin} ${r}${t.minimum} हो`}case"invalid_format":{let r=t;return r.format==="starts_with"?`अमान्य स्ट्रिंग: "${r.prefix}" से शुरू होना चाहिए`:r.format==="ends_with"?`अमान्य स्ट्रिंग: "${r.suffix}" पर समाप्त होना चाहिए`:r.format==="includes"?`अमान्य स्ट्रिंग: इसमें "${r.includes}" शामिल होना चाहिए`:r.format==="regex"?`अमान्य स्ट्रिंग: पैटर्न ${r.pattern} से मेल खाना चाहिए`:`अमान्य ${i[r.format]??t.format}`}case"not_multiple_of":return`अमान्य संख्या: यह ${t.divisor} का गुणज होना चाहिए`;case"unrecognized_keys":return`अपरिचित कुंजी${t.keys.length>1?"याँ":""}: ${v(t.keys,", ")}`;case"invalid_key":return`अमान्य कुंजी: ${t.origin} में`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`अमान्य डिस्क्रिमिनेटर मान: अपेक्षित ${t.options.map(a=>`'${a}'`).join(" | ")}`:"अमान्य इनपुट";case"invalid_element":return`अमान्य मान: ${t.origin} में`;default:return"अमान्य इनपुट"}}};function qm(){return{localeError:t$()}}var n$=()=>{let e={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function n(t){return e[t]??null}let i={regex:"unos",email:"email adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",mac:"MAC adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",credit_card:"broj kreditne kartice",currency_code:"kod valute",iban:"IBAN",jwt:"JWT",template_literal:"unos"},o={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Neispravan unos: očekuje se instanceof ${t.expected}, a primljeno je ${s}`:`Neispravan unos: očekuje se ${r}, a primljeno je ${s}`}case"invalid_value":return t.values.length===1?`Neispravna vrijednost: očekivano ${$(t.values[0])}`:`Neispravna opcija: očekivano jedno od ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin),s=o[t.origin]??t.origin;return a?`Preveliko: očekivano da ${s??"vrijednost"} ima ${r}${t.maximum.toString()} ${a.unit??"elemenata"}`:`Preveliko: očekivano da ${s??"vrijednost"} bude ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin),s=o[t.origin]??t.origin;return a?`Premalo: očekivano da ${s} ima ${r}${t.minimum.toString()} ${a.unit}`:`Premalo: očekivano da ${s} bude ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Neispravan tekst: mora započinjati s "${r.prefix}"`:r.format==="ends_with"?`Neispravan tekst: mora završavati s "${r.suffix}"`:r.format==="includes"?`Neispravan tekst: mora sadržavati "${r.includes}"`:r.format==="regex"?`Neispravan tekst: mora odgovarati uzorku ${r.pattern}`:`Neispravna ${i[r.format]??t.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${t.divisor}`;case"unrecognized_keys":return`Neprepoznat${t.keys.length>1?"i ključevi":" ključ"}: ${v(t.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${o[t.origin]??t.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${o[t.origin]??t.origin}`;default:return"Neispravan unos"}}};function Ym(){return{localeError:n$()}}var r$=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"},map:{unit:"elem",verb:"legyen"}};function n(t){return e[t]??null}let i={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",mac:"MAC cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",credit_card:"hitelkártyaszám",currency_code:"pénznemkód",iban:"IBAN",jwt:"JWT",template_literal:"bemenet"},o={nan:"NaN",number:"szám",array:"tömb"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Érvénytelen bemenet: a várt érték instanceof ${t.expected}, a kapott érték ${s}`:`Érvénytelen bemenet: a várt érték ${r}, a kapott érték ${s}`}case"invalid_value":return t.values.length===1?`Érvénytelen bemenet: a várt érték ${$(t.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Túl nagy: ${t.origin??"érték"} mérete túl nagy ${r}${t.maximum.toString()} ${a.unit??"elem"}`:`Túl nagy: a bemeneti érték ${t.origin??"érték"} túl nagy: ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Túl kicsi: a bemeneti érték ${t.origin} mérete túl kicsi ${r}${t.minimum.toString()} ${a.unit}`:`Túl kicsi: a bemeneti érték ${t.origin} túl kicsi ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Érvénytelen string: "${r.prefix}" értékkel kell kezdődnie`:r.format==="ends_with"?`Érvénytelen string: "${r.suffix}" értékkel kell végződnie`:r.format==="includes"?`Érvénytelen string: "${r.includes}" értéket kell tartalmaznia`:r.format==="regex"?`Érvénytelen string: ${r.pattern} mintának kell megfelelnie`:`Érvénytelen ${i[r.format]??t.format}`}case"not_multiple_of":return`Érvénytelen szám: ${t.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${t.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${t.origin}`;default:return"Érvénytelen bemenet"}}};function Qm(){return{localeError:r$()}}function ef(e,n,i){return Math.abs(e)===1?n:i}function an(e){if(!e)return"";let n=["ա","ե","ը","ի","ո","ու","օ"],i=e[e.length-1];return e+(n.includes(i)?"ն":"ը")}var i$=()=>{let e={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},map:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function n(t){return e[t]??null}let i={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",mac:"MAC հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",credit_card:"կրեդիտ քարտի համար",currency_code:"արժույթի կոդ",iban:"IBAN",jwt:"JWT",template_literal:"մուտք"},o={nan:"NaN",number:"թիվ",array:"զանգված"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Սխալ մուտքագրում․ սպասվում էր instanceof ${t.expected}, ստացվել է ${s}`:`Սխալ մուտքագրում․ սպասվում էր ${r}, ստացվել է ${s}`}case"invalid_value":return t.values.length===1?`Սխալ մուտքագրում․ սպասվում էր ${$(t.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);if(a){let s=Number(t.maximum),c=ef(s,a.unit.one,a.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${an(t.origin??"արժեք")} կունենա ${r}${t.maximum.toString()} ${c}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${an(t.origin??"արժեք")} լինի ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);if(a){let s=Number(t.minimum),c=ef(s,a.unit.one,a.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${an(t.origin)} կունենա ${r}${t.minimum.toString()} ${c}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${an(t.origin)} լինի ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Սխալ տող․ պետք է սկսվի "${r.prefix}"-ով`:r.format==="ends_with"?`Սխալ տող․ պետք է ավարտվի "${r.suffix}"-ով`:r.format==="includes"?`Սխալ տող․ պետք է պարունակի "${r.includes}"`:r.format==="regex"?`Սխալ տող․ պետք է համապատասխանի ${r.pattern} ձևաչափին`:`Սխալ ${i[r.format]??t.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${t.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${t.keys.length>1?"ներ":""}. ${v(t.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${an(t.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${an(t.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function tf(){return{localeError:i$()}}var o$=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"},map:{unit:"item",verb:"memiliki"}};function n(t){return e[t]??null}let i={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",mac:"alamat MAC",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",credit_card:"nomor kartu kredit",currency_code:"kode mata uang",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Input tidak valid: diharapkan instanceof ${t.expected}, diterima ${s}`:`Input tidak valid: diharapkan ${r}, diterima ${s}`}case"invalid_value":return t.values.length===1?`Input tidak valid: diharapkan ${$(t.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Terlalu besar: diharapkan ${t.origin??"value"} memiliki ${r}${t.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: diharapkan ${t.origin??"value"} menjadi ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Terlalu kecil: diharapkan ${t.origin} memiliki ${r}${t.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${t.origin} menjadi ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`String tidak valid: harus dimulai dengan "${r.prefix}"`:r.format==="ends_with"?`String tidak valid: harus berakhir dengan "${r.suffix}"`:r.format==="includes"?`String tidak valid: harus menyertakan "${r.includes}"`:r.format==="regex"?`String tidak valid: harus sesuai pola ${r.pattern}`:`${i[r.format]??t.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${t.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${t.origin}`;default:return"Input tidak valid"}}};function nf(){return{localeError:o$()}}var a$=()=>{let e={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"},map:{unit:"hluti",verb:"að hafa"}};function n(t){return e[t]??null}let i={regex:"gildi",email:"netfang",url:"vefslóð",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og tími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 tölugildi",credit_card:"kreditkortanúmer",currency_code:"gjaldmiðilskóði",iban:"IBAN",jwt:"JWT",template_literal:"gildi"},o={nan:"NaN",number:"númer",array:"fylki"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Rangt gildi: Þú slóst inn ${s} þar sem á að vera instanceof ${t.expected}`:`Rangt gildi: Þú slóst inn ${s} þar sem á að vera ${r}`}case"invalid_value":return t.values.length===1?`Rangt gildi: gert ráð fyrir ${$(t.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Of stórt: gert er ráð fyrir að ${t.origin??"gildi"} hafi ${r}${t.maximum.toString()} ${a.unit??"hluti"}`:`Of stórt: gert er ráð fyrir að ${t.origin??"gildi"} sé ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Of lítið: gert er ráð fyrir að ${t.origin} hafi ${r}${t.minimum.toString()} ${a.unit}`:`Of lítið: gert er ráð fyrir að ${t.origin} sé ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ógildur strengur: verður að byrja á "${r.prefix}"`:r.format==="ends_with"?`Ógildur strengur: verður að enda á "${r.suffix}"`:r.format==="includes"?`Ógildur strengur: verður að innihalda "${r.includes}"`:r.format==="regex"?`Ógildur strengur: verður að fylgja mynstri ${r.pattern}`:`Rangt ${i[r.format]??t.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${t.divisor}`;case"unrecognized_keys":return`Óþekkt ${t.keys.length>1?"ir lyklar":"ur lykill"}: ${v(t.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${t.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${t.origin}`;default:return"Rangt gildi"}}};function rf(){return{localeError:a$()}}var s$=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"},map:{unit:"elementi",verb:"avere"}};function n(t){return e[t]??null}let i={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",mac:"indirizzo MAC",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",credit_card:"numero di carta di credito",currency_code:"codice valuta",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"numero",array:"vettore"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Input non valido: atteso instanceof ${t.expected}, ricevuto ${s}`:`Input non valido: atteso ${r}, ricevuto ${s}`}case"invalid_value":return t.values.length===1?`Input non valido: atteso ${$(t.values[0])}`:`Opzione non valida: atteso uno tra ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Troppo grande: ${t.origin??"valore"} deve avere ${r}${t.maximum.toString()} ${a.unit??"elementi"}`:`Troppo grande: ${t.origin??"valore"} deve essere ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Troppo piccolo: ${t.origin} deve avere ${r}${t.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${t.origin} deve essere ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Stringa non valida: deve iniziare con "${r.prefix}"`:r.format==="ends_with"?`Stringa non valida: deve terminare con "${r.suffix}"`:r.format==="includes"?`Stringa non valida: deve includere "${r.includes}"`:r.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${r.pattern}`:`Input non valido: ${i[r.format]??t.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${t.divisor}`;case"unrecognized_keys":return`Chiav${t.keys.length>1?"i":"e"} non riconosciut${t.keys.length>1?"e":"a"}: ${v(t.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${t.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${t.origin}`;default:return"Input non valido"}}};function of(){return{localeError:s$()}}var c$=()=>{let e={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"},map:{unit:"要素",verb:"である"}};function n(t){return e[t]??null}let i={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",mac:"MACアドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",credit_card:"クレジットカード番号",currency_code:"通貨コード",iban:"IBAN",jwt:"JWT",template_literal:"入力値"},o={nan:"NaN",number:"数値",array:"配列"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`無効な入力: instanceof ${t.expected}が期待されましたが、${s}が入力されました`:`無効な入力: ${r}が期待されましたが、${s}が入力されました`}case"invalid_value":return t.values.length===1?`無効な入力: ${$(t.values[0])}が期待されました`:`無効な選択: ${v(t.values,"、")}のいずれかである必要があります`;case"too_big":{let r=t.inclusive?"以下である":"より小さい",a=n(t.origin);return a?`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${a.unit??"要素"}${r}必要があります`:`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${r}必要があります`}case"too_small":{let r=t.inclusive?"以上である":"より大きい",a=n(t.origin);return a?`小さすぎる値: ${t.origin}は${t.minimum.toString()}${a.unit}${r}必要があります`:`小さすぎる値: ${t.origin}は${t.minimum.toString()}${r}必要があります`}case"invalid_format":{let r=t;return r.format==="starts_with"?`無効な文字列: "${r.prefix}"で始まる必要があります`:r.format==="ends_with"?`無効な文字列: "${r.suffix}"で終わる必要があります`:r.format==="includes"?`無効な文字列: "${r.includes}"を含む必要があります`:r.format==="regex"?`無効な文字列: パターン${r.pattern}に一致する必要があります`:`無効な${i[r.format]??t.format}`}case"not_multiple_of":return`無効な数値: ${t.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${t.keys.length>1?"群":""}: ${v(t.keys,"、")}`;case"invalid_key":return`${t.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${t.origin}内の無効な値`;default:return"無効な入力"}}};function af(){return{localeError:c$()}}var u$=()=>{let e={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},map:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function n(t){return e[t]??null}let i={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",mac:"MAC მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",credit_card:"საკრედიტო ბარათის ნომერი",currency_code:"ვალუტის კოდი",iban:"IBAN",jwt:"JWT",template_literal:"შეყვანა"},o={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`არასწორი შეყვანა: მოსალოდნელი instanceof ${t.expected}, მიღებული ${s}`:`არასწორი შეყვანა: მოსალოდნელი ${r}, მიღებული ${s}`}case"invalid_value":return t.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${$(t.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${v(t.values,"|")}-დან`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`ზედმეტად დიდი: მოსალოდნელი ${t.origin??"მნიშვნელობა"} ${a.verb} ${r}${t.maximum.toString()} ${a.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${t.origin??"მნიშვნელობა"} იყოს ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`ზედმეტად პატარა: მოსალოდნელი ${t.origin} ${a.verb} ${r}${t.minimum.toString()} ${a.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${t.origin} იყოს ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`არასწორი ველი: უნდა იწყებოდეს "${r.prefix}"-ით`:r.format==="ends_with"?`არასწორი ველი: უნდა მთავრდებოდეს "${r.suffix}"-ით`:r.format==="includes"?`არასწორი ველი: უნდა შეიცავდეს "${r.includes}"-ს`:r.format==="regex"?`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${r.pattern}`:`არასწორი ${i[r.format]??t.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${t.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${t.keys.length>1?"ები":"ი"}: ${v(t.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${t.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${t.origin}-ში`;default:return"არასწორი შეყვანა"}}};function sf(){return{localeError:u$()}}var l$=()=>{let e={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"},map:{unit:"ធាតុ",verb:"គួរមាន"}};function n(t){return e[t]??null}let i={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",mac:"អាសយដ្ឋាន MAC",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",credit_card:"លេខប័ណ្ណឥណទាន",currency_code:"កូដរូបិយប័ណ្ណ",iban:"IBAN",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},o={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${t.expected} ប៉ុន្តែទទួលបាន ${s}`:`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${r} ប៉ុន្តែទទួលបាន ${s}`}case"invalid_value":return t.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${$(t.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${r} ${t.maximum.toString()} ${a.unit??"ធាតុ"}`:`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${r} ${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`តូចពេក៖ ត្រូវការ ${t.origin} ${r} ${t.minimum.toString()} ${a.unit}`:`តូចពេក៖ ត្រូវការ ${t.origin} ${r} ${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${r.prefix}"`:r.format==="ends_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${r.suffix}"`:r.format==="includes"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${r.includes}"`:r.format==="regex"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${r.pattern}`:`មិនត្រឹមត្រូវ៖ ${i[r.format]??t.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${t.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${v(t.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function Ji(){return{localeError:l$()}}function cf(){return Ji()}var d$=()=>{let e={string:{unit:"ಅಕ್ಷರಗಳು",verb:"ಹೊಂದಲು"},file:{unit:"ಬೈಟ್‌ಗಳು",verb:"ಹೊಂದಲು"},array:{unit:"ವಸ್ತುಗಳು",verb:"ಹೊಂದಲು"},set:{unit:"ವಸ್ತುಗಳು",verb:"ಹೊಂದಲು"},map:{unit:"entries",verb:"ಹೊಂದಲು"}};function n(t){return e[t]??null}let i={regex:"ಇನ್ಪುಟ್",email:"email ವಿಳಾಸ",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ದಿನಾಂಕದ ಸಮಯ",date:"ISO ದಿನಾಂಕ",time:"ISO ಸಮಯ",duration:"ISO ಅವಧಿ",ipv4:"IPv4 ವಿಳಾಸ",ipv6:"IPv6 ವಿಳಾಸ",mac:"MAC ವಿಳಾಸ",cidrv4:"IPv4 ವ್ಯಾಪ್ತಿಯ",cidrv6:"IPv6 ವ್ಯಾಪ್ತಿಯ",base64:"base64-encodedಸ್ಟ್ರಿಂಗ್",base64url:"base64url-encodedಸ್ಟ್ರಿಂಗ್",json_string:"JSONಸ್ಟ್ರಿಂಗ್",e164:"E.164 ಸಂಖ್ಯೆ",credit_card:"ಕ್ರೆಡಿಟ್ ಕಾರ್ಡ್ ಸಂಖ್ಯೆ",currency_code:"ಕರೆನ್ಸಿ ಕೋಡ್",iban:"IBAN",jwt:"JWT",template_literal:"ಇನ್ಪುಟ್"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`ಅಮಾನ್ಯ ಇನ್‌ಪುಟ್: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${r}, ಸ್ವೀಕರಿಸಿದನು ${s}`}case"invalid_value":return t.values.length===1?`ಅಮಾನ್ಯ ಇನ್‌ಪುಟ್: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${$(t.values[0])}`:`ಅಮಾನ್ಯ ಆಯ್ಕೆ: ಇವುಗಳಲ್ಲಿ ಒಂದನ್ನು ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`ತುಂಬಾ ದೊಡ್ಡದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${t.origin??"value"} ಹೊಂದಲು ${r}${t.maximum.toString()} ${a.unit??"ಅಂಶಗಳು"}`:`ತುಂಬಾ ದೊಡ್ಡದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${t.origin??"value"} ಎಂದು ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`ತುಂಬಾ ಚಿಕ್ಕದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${t.origin} ಹೊಂದಲು ${r}${t.minimum.toString()} ${a.unit}`:`ತುಂಬಾ ಚಿಕ್ಕದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${t.origin} ಎಂದು ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`ಅಮಾನ್ಯವಾದ ಸ್ಟ್ರಿಂಗ್: ಇದರೊಂದಿಗೆ ಪ್ರಾರಂಭಿಸಬೇಕು "${r.prefix}"`:r.format==="ends_with"?`ಅಮಾನ್ಯವಾದ ಸ್ಟ್ರಿಂಗ್: ಇದರೊಂದಿಗೆ ಕೊನೆಗೊಳ್ಳಬೇಕು "${r.suffix}"`:r.format==="includes"?`ಅಮಾನ್ಯ ಸ್ಟ್ರಿಂಗ್: ಒಳಗೊಂಡಿರಬೇಕು "${r.includes}"`:r.format==="regex"?`ಅಮಾನ್ಯವಾದ ಸ್ಟ್ರಿಂಗ್: ಮಾದರಿಗೆ ಹೊಂದಿಕೆಯಾಗಬೇಕು ${r.pattern}`:`ಅಮಾನ್ಯ ${i[r.format]??t.format}`}case"not_multiple_of":return`ಅಮಾನ್ಯ ಸಂಖ್ಯೆ: ಬಹುಸಂಖ್ಯೆಯಾಗಿರಬೇಕು ${t.divisor}`;case"unrecognized_keys":return`ಗುರುತಿಸಲಾಗದ ಕೀ ${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`ಅಮಾನ್ಯವಾದ ಕೀ ಇನ್ ${t.origin}`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`ಅಮಾನ್ಯ ತಾರತಮ್ಯ ಮೌಲ್ಯ. ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${t.options.map(a=>`'${a}'`).join(" | ")}`:"ಅಮಾನ್ಯ ಇನ್‌ಪುಟ್";case"invalid_element":return`ರಲ್ಲಿ ಅಮಾನ್ಯ ಮೌಲ್ಯ ${t.origin}`;default:return"ಅಮಾನ್ಯ ಇನ್‌ಪುಟ್"}}};function uf(){return{localeError:d$()}}var p$=()=>{let e={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"},map:{unit:"개",verb:"to have"}};function n(t){return e[t]??null}let i={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",mac:"MAC 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",credit_card:"신용카드 번호",currency_code:"통화 코드",iban:"IBAN",jwt:"JWT",template_literal:"입력"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`잘못된 입력: 예상 타입은 instanceof ${t.expected}, 받은 타입은 ${s}입니다`:`잘못된 입력: 예상 타입은 ${r}, 받은 타입은 ${s}입니다`}case"invalid_value":return t.values.length===1?`잘못된 입력: 값은 ${$(t.values[0])} 이어야 합니다`:`잘못된 옵션: ${v(t.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let r=t.inclusive?"이하":"미만",a=r==="미만"?"이어야 합니다":"여야 합니다",s=n(t.origin),c=s?.unit??"요소";return s?`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()}${c} ${r}${a}`:`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()} ${r}${a}`}case"too_small":{let r=t.inclusive?"이상":"초과",a=r==="이상"?"이어야 합니다":"여야 합니다",s=n(t.origin),c=s?.unit??"요소";return s?`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()}${c} ${r}${a}`:`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()} ${r}${a}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`잘못된 문자열: "${r.prefix}"(으)로 시작해야 합니다`:r.format==="ends_with"?`잘못된 문자열: "${r.suffix}"(으)로 끝나야 합니다`:r.format==="includes"?`잘못된 문자열: "${r.includes}"을(를) 포함해야 합니다`:r.format==="regex"?`잘못된 문자열: 정규식 ${r.pattern} 패턴과 일치해야 합니다`:`잘못된 ${i[r.format]??t.format}`}case"not_multiple_of":return`잘못된 숫자: ${t.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${v(t.keys,", ")}`;case"invalid_key":return`잘못된 키: ${t.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${t.origin}`;default:return"잘못된 입력"}}};function lf(){return{localeError:p$()}}var br=e=>e.charAt(0).toUpperCase()+e.slice(1);function df(e){let n=Math.abs(e),i=n%10,o=n%100;return o>=11&&o<=19||i===0?"many":i===1?"one":"few"}var m$=()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function n(t,r,a,s){let c=e[t]??null;return c===null?c:{unit:c.unit[r],verb:c.verb[s][a?"inclusive":"notInclusive"]}}let i={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",mac:"MAC adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",credit_card:"kredito kortelės numeris",currency_code:"valiutos kodas",iban:"IBAN",jwt:"JWT",template_literal:"įvestis"},o={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Gautas tipas ${s}, o tikėtasi - instanceof ${t.expected}`:`Gautas tipas ${s}, o tikėtasi - ${r}`}case"invalid_value":return t.values.length===1?`Privalo būti ${$(t.values[0])}`:`Privalo būti vienas iš ${v(t.values,"|")} pasirinkimų`;case"too_big":{let r=o[t.origin]??t.origin,a=n(t.origin,df(Number(t.maximum)),t.inclusive??!1,"smaller");if(a?.verb)return`${br(r??t.origin??"reikšmė")} ${a.verb} ${t.maximum.toString()} ${a.unit??"elementų"}`;let s=t.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${br(r??t.origin??"reikšmė")} turi būti ${s} ${t.maximum.toString()} ${a?.unit}`}case"too_small":{let r=o[t.origin]??t.origin,a=n(t.origin,df(Number(t.minimum)),t.inclusive??!1,"bigger");if(a?.verb)return`${br(r??t.origin??"reikšmė")} ${a.verb} ${t.minimum.toString()} ${a.unit??"elementų"}`;let s=t.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${br(r??t.origin??"reikšmė")} turi būti ${s} ${t.minimum.toString()} ${a?.unit}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Eilutė privalo prasidėti "${r.prefix}"`:r.format==="ends_with"?`Eilutė privalo pasibaigti "${r.suffix}"`:r.format==="includes"?`Eilutė privalo įtraukti "${r.includes}"`:r.format==="regex"?`Eilutė privalo atitikti ${r.pattern}`:`Neteisingas ${i[r.format]??t.format}`}case"not_multiple_of":return`Skaičius privalo būti ${t.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${t.keys.length>1?"i":"as"} rakt${t.keys.length>1?"ai":"as"}: ${v(t.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let r=o[t.origin]??t.origin;return`${br(r??t.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function pf(){return{localeError:m$()}}var f$=()=>{let e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"},map:{unit:"ставки",verb:"да имаат"}};function n(t){return e[t]??null}let i={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",mac:"MAC адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",credit_card:"број на кредитна картичка",currency_code:"код на валута",iban:"IBAN",jwt:"JWT",template_literal:"внес"},o={nan:"NaN",number:"број",array:"низа"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Грешен внес: се очекува instanceof ${t.expected}, примено ${s}`:`Грешен внес: се очекува ${r}, примено ${s}`}case"invalid_value":return t.values.length===1?`Invalid input: expected ${$(t.values[0])}`:`Грешана опција: се очекува една ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Премногу голем: се очекува ${t.origin??"вредноста"} да има ${r}${t.maximum.toString()} ${a.unit??"елементи"}`:`Премногу голем: се очекува ${t.origin??"вредноста"} да биде ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Премногу мал: се очекува ${t.origin} да има ${r}${t.minimum.toString()} ${a.unit}`:`Премногу мал: се очекува ${t.origin} да биде ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Неважечка низа: мора да започнува со "${r.prefix}"`:r.format==="ends_with"?`Неважечка низа: мора да завршува со "${r.suffix}"`:r.format==="includes"?`Неважечка низа: мора да вклучува "${r.includes}"`:r.format==="regex"?`Неважечка низа: мора да одгоара на патернот ${r.pattern}`:`Invalid ${i[r.format]??t.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${v(t.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${t.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${t.origin}`;default:return"Грешен внес"}}};function mf(){return{localeError:f$()}}var g$=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"},map:{unit:"elemen",verb:"mempunyai"}};function n(t){return e[t]??null}let i={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",mac:"alamat MAC",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",credit_card:"nombor kad kredit",currency_code:"kod mata wang",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"nombor"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Input tidak sah: dijangka instanceof ${t.expected}, diterima ${s}`:`Input tidak sah: dijangka ${r}, diterima ${s}`}case"invalid_value":return t.values.length===1?`Input tidak sah: dijangka ${$(t.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Terlalu besar: dijangka ${t.origin??"nilai"} ${a.verb} ${r}${t.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: dijangka ${t.origin??"nilai"} adalah ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Terlalu kecil: dijangka ${t.origin} ${a.verb} ${r}${t.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${t.origin} adalah ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`String tidak sah: mesti bermula dengan "${r.prefix}"`:r.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${r.suffix}"`:r.format==="includes"?`String tidak sah: mesti mengandungi "${r.includes}"`:r.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${r.pattern}`:`${i[r.format]??t.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${v(t.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${t.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${t.origin}`;default:return"Input tidak sah"}}};function ff(){return{localeError:g$()}}var h$=()=>{let e={string:{unit:"अक्षर",verb:"हुनुपर्छ"},file:{unit:"बाइट",verb:"हुनुपर्छ"},array:{unit:"तत्व",verb:"हुनुपर्छ"},set:{unit:"तत्व",verb:"हुनुपर्छ"},map:{unit:"प्रविष्टि",verb:"हुनुपर्छ"}};function n(t){return e[t]??null}let i={regex:"इनपुट",email:"इमेल ठेगाना",url:"URL",emoji:"इमोजी",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO मिति र समय",date:"ISO मिति",time:"ISO समय",duration:"ISO अवधि",ipv4:"IPv4 ठेगाना",ipv6:"IPv6 ठेगाना",mac:"MAC ठेगाना",cidrv4:"IPv4 दायरा",cidrv6:"IPv6 दायरा",base64:"base64-इन्कोड गरिएको स्ट्रिङ",base64url:"base64url-इन्कोड गरिएको स्ट्रिङ",json_string:"JSON स्ट्रिङ",e164:"E.164 नम्बर",credit_card:"क्रेडिट कार्ड नम्बर",currency_code:"मुद्रा कोड",iban:"IBAN",jwt:"JWT",template_literal:"इनपुट"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`अमान्य इनपुट: अपेक्षित ${r}, प्राप्त ${s}`}case"invalid_value":return t.values.length===1?`अमान्य इनपुट: अपेक्षित ${$(t.values[0])}`:`अमान्य विकल्प: अपेक्षित मानहरू मध्ये एक ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`धेरै ठूलो: ${t.origin??"मान"} मा ${r}${t.maximum.toString()} ${a.unit} ${a.verb}`:`धेरै ठूलो: ${t.origin??"मान"} ${r}${t.maximum.toString()} हुनुपर्छ`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`धेरै सानो: ${t.origin} मा ${r}${t.minimum.toString()} ${a.unit} ${a.verb}`:`धेरै सानो: ${t.origin} ${r}${t.minimum.toString()} हुनुपर्छ`}case"invalid_format":{let r=t;return r.format==="starts_with"?`अमान्य स्ट्रिङ: "${r.prefix}" बाट सुरु हुनुपर्छ`:r.format==="ends_with"?`अमान्य स्ट्रिङ: "${r.suffix}" मा समाप्त हुनुपर्छ`:r.format==="includes"?`अमान्य स्ट्रिङ: "${r.includes}" समावेश हुनुपर्छ`:r.format==="regex"?`अमान्य स्ट्रिङ: ढाँचा ${r.pattern} सँग मेल खानुपर्छ`:`अमान्य ${i[r.format]??t.format}`}case"not_multiple_of":return`अमान्य संख्या: ${t.divisor} को गुणज हुनुपर्छ`;case"unrecognized_keys":return`अपरिचित कुञ्जी${t.keys.length>1?"हरू":""}: ${v(t.keys,", ")}`;case"invalid_key":return`अमान्य कुञ्जी: ${t.origin} मा`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`अमान्य डिस्क्रिमिनेटर मान: अपेक्षित ${t.options.map(a=>`'${a}'`).join(" | ")}`:"अमान्य इनपुट";case"invalid_element":return`अमान्य मान: ${t.origin} मा`;default:return"अमान्य इनपुट"}}};function gf(){return{localeError:h$()}}var v$=()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"},map:{unit:"elementen",verb:"heeft"}};function n(t){return e[t]??null}let i={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",mac:"MAC-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",credit_card:"creditcardnummer",currency_code:"valutacode",iban:"IBAN",jwt:"JWT",template_literal:"invoer"},o={nan:"NaN",number:"getal"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ongeldige invoer: verwacht instanceof ${t.expected}, ontving ${s}`:`Ongeldige invoer: verwacht ${r}, ontving ${s}`}case"invalid_value":return t.values.length===1?`Ongeldige invoer: verwacht ${$(t.values[0])}`:`Ongeldige optie: verwacht één van ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin),s=t.origin==="date"?"laat":t.origin==="string"?"lang":"groot";return a?`Te ${s}: verwacht dat ${t.origin??"waarde"} ${r}${t.maximum.toString()} ${a.unit??"elementen"} ${a.verb}`:`Te ${s}: verwacht dat ${t.origin??"waarde"} ${r}${t.maximum.toString()} is`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin),s=t.origin==="date"?"vroeg":t.origin==="string"?"kort":"klein";return a?`Te ${s}: verwacht dat ${t.origin} ${r}${t.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${s}: verwacht dat ${t.origin} ${r}${t.minimum.toString()} is`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ongeldige tekst: moet met "${r.prefix}" beginnen`:r.format==="ends_with"?`Ongeldige tekst: moet op "${r.suffix}" eindigen`:r.format==="includes"?`Ongeldige tekst: moet "${r.includes}" bevatten`:r.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${r.pattern}`:`Ongeldig: ${i[r.format]??t.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${t.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${t.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${t.origin}`;default:return"Ongeldige invoer"}}};function hf(){return{localeError:v$()}}var y$=()=>{let e={string:{unit:"teikn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"element",verb:"å innehalde"},set:{unit:"element",verb:"å innehalde"},map:{unit:"element",verb:"å innehalde"}};function n(t){return e[t]??null}let i={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varigheit",ipv4:"IPv4-adresse",ipv6:"IPv6-adresse",mac:"MAC-adresse",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkoda streng",base64url:"base64url-enkoda streng",json_string:"JSON-streng",e164:"E.164-nummer",credit_card:"kredittkortnummer",currency_code:"valutakode",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"tal",array:"liste"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ugyldig input: forventa instanceof ${t.expected}, fekk ${s}`:`Ugyldig input: forventa ${r}, fekk ${s}`}case"invalid_value":return t.values.length===1?`Ugyldig verdi: forventa ${$(t.values[0])}`:`Ugyldig val: forventa eitt av ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`For stor(t): forventa ${t.origin??"value"} til å ha ${r}${t.maximum.toString()} ${a.unit??"element"}`:`For stor(t): forventa ${t.origin??"value"} til å ha ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`For lite(n): forventa ${t.origin} til å ha ${r}${t.minimum.toString()} ${a.unit}`:`For lite(n): forventa ${t.origin} til å ha ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ugyldig streng: må starte med "${r.prefix}"`:r.format==="ends_with"?`Ugyldig streng: må slutte med "${r.suffix}"`:r.format==="includes"?`Ugyldig streng: må innehalde "${r.includes}"`:r.format==="regex"?`Ugyldig streng: må matche mønsteret ${r.pattern}`:`Ugyldig ${i[r.format]??t.format}`}case"not_multiple_of":return`Ugyldig tal: må vere eit multiplum av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukjende nøklar":"Ukjend nøkkel"}: ${v(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${t.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${t.origin}`;default:return"Ugyldig input"}}};function vf(){return{localeError:y$()}}var b$=()=>{let e={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"},map:{unit:"elementer",verb:"å inneholde"}};function n(t){return e[t]??null}let i={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-adresse",ipv6:"IPv6-adresse",mac:"MAC-adresse",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",credit_card:"kredittkortnummer",currency_code:"valutakode",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"tall",array:"liste"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ugyldig input: forventet instanceof ${t.expected}, fikk ${s}`:`Ugyldig input: forventet ${r}, fikk ${s}`}case"invalid_value":return t.values.length===1?`Ugyldig verdi: forventet ${$(t.values[0])}`:`Ugyldig valg: forventet en av ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`For stor(t): forventet ${t.origin??"value"} til å ha ${r}${t.maximum.toString()} ${a.unit??"elementer"}`:`For stor(t): forventet ${t.origin??"value"} til å ha ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`For lite(n): forventet ${t.origin} til å ha ${r}${t.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${t.origin} til å ha ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ugyldig streng: må starte med "${r.prefix}"`:r.format==="ends_with"?`Ugyldig streng: må ende med "${r.suffix}"`:r.format==="includes"?`Ugyldig streng: må inneholde "${r.includes}"`:r.format==="regex"?`Ugyldig streng: må matche mønsteret ${r.pattern}`:`Ugyldig ${i[r.format]??t.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${v(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${t.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${t.origin}`;default:return"Ugyldig input"}}};function yf(){return{localeError:b$()}}var _$=()=>{let e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"},map:{unit:"unsur",verb:"olmalıdır"}};function n(t){return e[t]??null}let i={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",mac:"MAC nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",credit_card:"i'tibâr kartı numarası",currency_code:"para birimi kodu",iban:"IBAN",jwt:"JWT",template_literal:"giren"},o={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Fâsit giren: umulan instanceof ${t.expected}, alınan ${s}`:`Fâsit giren: umulan ${r}, alınan ${s}`}case"invalid_value":return t.values.length===1?`Fâsit giren: umulan ${$(t.values[0])}`:`Fâsit tercih: mûteberler ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Fazla büyük: ${t.origin??"value"}, ${r}${t.maximum.toString()} ${a.unit??"elements"} sahip olmalıydı.`:`Fazla büyük: ${t.origin??"value"}, ${r}${t.maximum.toString()} olmalıydı.`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Fazla küçük: ${t.origin}, ${r}${t.minimum.toString()} ${a.unit} sahip olmalıydı.`:`Fazla küçük: ${t.origin}, ${r}${t.minimum.toString()} olmalıydı.`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Fâsit metin: "${r.prefix}" ile başlamalı.`:r.format==="ends_with"?`Fâsit metin: "${r.suffix}" ile bitmeli.`:r.format==="includes"?`Fâsit metin: "${r.includes}" ihtivâ etmeli.`:r.format==="regex"?`Fâsit metin: ${r.pattern} nakşına uymalı.`:`Fâsit ${i[r.format]??t.format}`}case"not_multiple_of":return`Fâsit sayı: ${t.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${t.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function bf(){return{localeError:_$()}}var $$=()=>{let e={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"},map:{unit:"توکي",verb:"ولري"}};function n(t){return e[t]??null}let i={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",mac:"د MAC پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",credit_card:"د کریډیټ کارت شمیره",currency_code:"د اسعارو کوډ",iban:"IBAN",jwt:"JWT",template_literal:"ورودي"},o={nan:"NaN",number:"عدد",array:"ارې"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`ناسم ورودي: باید instanceof ${t.expected} وای, مګر ${s} ترلاسه شو`:`ناسم ورودي: باید ${r} وای, مګر ${s} ترلاسه شو`}case"invalid_value":return t.values.length===1?`ناسم ورودي: باید ${$(t.values[0])} وای`:`ناسم انتخاب: باید یو له ${v(t.values,"|")} څخه وای`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`ډیر لوی: ${t.origin??"ارزښت"} باید ${r}${t.maximum.toString()} ${a.unit??"عنصرونه"} ولري`:`ډیر لوی: ${t.origin??"ارزښت"} باید ${r}${t.maximum.toString()} وي`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`ډیر کوچنی: ${t.origin} باید ${r}${t.minimum.toString()} ${a.unit} ولري`:`ډیر کوچنی: ${t.origin} باید ${r}${t.minimum.toString()} وي`}case"invalid_format":{let r=t;return r.format==="starts_with"?`ناسم متن: باید د "${r.prefix}" سره پیل شي`:r.format==="ends_with"?`ناسم متن: باید د "${r.suffix}" سره پای ته ورسيږي`:r.format==="includes"?`ناسم متن: باید "${r.includes}" ولري`:r.format==="regex"?`ناسم متن: باید د ${r.pattern} سره مطابقت ولري`:`${i[r.format]??t.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${t.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${t.keys.length>1?"کلیډونه":"کلیډ"}: ${v(t.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${t.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${t.origin} کې`;default:return"ناسمه ورودي"}}};function _f(){return{localeError:$$()}}var k$=()=>{let e={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"},map:{unit:"elementów",verb:"mieć"}};function n(t){return e[t]??null}let i={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",mac:"adres MAC",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",credit_card:"numer karty kredytowej",currency_code:"kod waluty",iban:"IBAN",jwt:"JWT",template_literal:"wejście"},o={nan:"NaN",number:"liczba",array:"tablica"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${t.expected}, otrzymano ${s}`:`Nieprawidłowe dane wejściowe: oczekiwano ${r}, otrzymano ${s}`}case"invalid_value":return t.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${$(t.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Za duża wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${r}${t.maximum.toString()} ${a.unit??"elementów"}`:`Zbyt duż(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Za mała wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${r}${t.minimum.toString()} ${a.unit??"elementów"}`:`Zbyt mał(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${r.prefix}"`:r.format==="ends_with"?`Nieprawidłowy ciąg znaków: musi kończyć się na "${r.suffix}"`:r.format==="includes"?`Nieprawidłowy ciąg znaków: musi zawierać "${r.includes}"`:r.format==="regex"?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${r.pattern}`:`Nieprawidłow(y/a/e) ${i[r.format]??t.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${t.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${t.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${t.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function $f(){return{localeError:k$()}}var x$=()=>{let e={string:{unit:"caracteres"},file:{unit:"bytes"},array:{unit:"elementos"},set:{unit:"elementos"},map:{unit:"entradas"}};function n(a){return e[a]??null}let i={regex:"a entrada",email:"o endereço de e-mail",url:"o URL",emoji:"o emoji",uuid:"o UUID",uuidv4:"o UUIDv4",uuidv6:"o UUIDv6",nanoid:"o nanoid",guid:"o GUID",cuid:"o cuid",cuid2:"o cuid2",ulid:"o ULID",xid:"o XID",ksuid:"o KSUID",datetime:"a data e hora ISO",date:"a data ISO",time:"a hora ISO",duration:"a duração ISO",ipv4:"o endereço IPv4",ipv6:"o endereço IPv6",mac:"o endereço MAC",cidrv4:"o intervalo de endereços IPv4",cidrv6:"o intervalo de endereços IPv6",base64:"o texto codificado em base64",base64url:"o texto codificado em base64url",json_string:"o texto JSON",e164:"o número E.164",credit_card:"o número de cartão de crédito",currency_code:"o código de moeda",iban:"o IBAN",jwt:"o JWT",template_literal:"a entrada"},o={masculine:{definite:"o",indefinite:"um"},feminine:{definite:"a",indefinite:"uma"}},t={string:{name:"texto",articles:o.masculine},number:{name:"número",articles:o.masculine},int:{name:"número inteiro",articles:o.masculine},boolean:{name:"valor booleano",articles:o.masculine},bigint:{name:"número bigint",articles:o.masculine},symbol:{name:"símbolo",articles:o.masculine},undefined:{name:'valor "undefined"',articles:o.masculine},null:{name:'valor "nulo"',articles:o.masculine},never:{name:'valor "never"',articles:o.masculine},void:{name:'valor "void"',articles:o.masculine},date:{name:"data",articles:o.feminine},array:{name:"vetor",articles:o.masculine},object:{name:"objeto",articles:o.masculine},tuple:{name:"tuplo",articles:o.masculine},record:{name:"registo",articles:o.masculine},map:{name:"mapa",articles:o.masculine},set:{name:"conjunto",articles:o.masculine},file:{name:"ficheiro",articles:o.masculine},nonoptional:{name:"valor não opcional",articles:o.masculine},nan:{name:'valor "NaN"',articles:o.masculine},function:{name:"função",articles:o.feminine}};function r(a,s){let c=t[a]??{name:`valor "${a}"`,articles:o.masculine};return`${c.articles[s]} ${c.name}`}return a=>{switch(a.code){case"invalid_type":{let s=r(a.expected,"indefinite"),c=k(a.input),u=r(c,"indefinite");return`Entrada inválida: esperava ${s}, recebeu ${u}`}case"invalid_value":return a.values.length===1?`Entrada inválida: esperava ${$(a.values[0])}`:`Opção inválida: esperava uma das seguintes opções: ${v(a.values,"|")}`;case"too_big":{let s=a.inclusive?"<=":"<",c=n(a.origin);return c?`Demasiado grande: esperava que ${r(a.origin,"definite")} tivesse ${s} ${a.maximum.toString()} ${c.unit??"elementos"}`:`Demasiado grande: esperava que ${r(a.origin,"definite")} fosse ${s} ${a.maximum.toString()}`}case"too_small":{let s=a.inclusive?">=":">",c=n(a.origin);return c?`Demasiado pequeno: esperava que ${r(a.origin,"definite")} tivesse ${s} ${a.minimum.toString()} ${c.unit??"elementos"}`:`Demasiado pequeno: esperava que ${r(a.origin,"definite")} fosse ${s} ${a.minimum.toString()}`}case"invalid_format":{let s=a;return s.format==="starts_with"?`Texto inválido: deve começar por "${s.prefix}"`:s.format==="ends_with"?`Texto inválido: deve terminar em "${s.suffix}"`:s.format==="includes"?`Texto inválido: deve incluir "${s.includes}"`:s.format==="regex"?`Texto inválido: deve corresponder ao padrão ${s.pattern}`:`Formato d${i[s.format]??a.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${a.divisor}`;case"unrecognized_keys":{let s=a.keys.length>1?"s":"";return`Chave${s} inválida${s}: ${v(a.keys,", ")}`}case"invalid_key":return`Entrada inválida n${r(a.origin,"definite")}`;case"invalid_union":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Valor de discriminação inválido. Esperava ${a.options.map(c=>`'${c}'`).join(" | ")}`:"Entrada inválida";case"invalid_element":return`Entrada inválida n${r(a.origin,"definite")}`;default:return"Entrada inválida"}}};function kf(){return{localeError:x$()}}var w$=()=>{let e={string:{unit:"caracteres"},file:{unit:"bytes"},array:{unit:"elementos"},set:{unit:"elementos"},map:{unit:"entradas"}};function n(a){return e[a]??null}let i={regex:"a entrada",email:"o endereço de e-mail",url:"o URL",emoji:"o emoji",uuid:"o UUID",uuidv4:"o UUIDv4",uuidv6:"o UUIDv6",nanoid:"o nanoid",guid:"o GUID",cuid:"o cuid",cuid2:"o cuid2",ulid:"o ULID",xid:"o XID",ksuid:"o KSUID",datetime:"a data e hora ISO",date:"a data ISO",time:"a hora ISO",duration:"a duração ISO",ipv4:"o endereço IPv4",ipv6:"o endereço IPv6",mac:"o endereço MAC",cidrv4:"a faixa de endereços IPv4",cidrv6:"a faixa de endereços IPv6",base64:"o texto codificado em base64",base64url:"o texto codificado em base64url",json_string:"o texto JSON",e164:"o número E.164",credit_card:"o número de cartão de crédito",currency_code:"o código de moeda",iban:"o IBAN",jwt:"o JWT",template_literal:"a entrada"},o={masculine:{definite:"o",indefinite:"um"},feminine:{definite:"a",indefinite:"uma"}},t={string:{name:"texto",articles:o.masculine},number:{name:"número",articles:o.masculine},int:{name:"número inteiro",articles:o.masculine},boolean:{name:"valor booleano",articles:o.masculine},bigint:{name:"número bigint",articles:o.masculine},symbol:{name:"símbolo",articles:o.masculine},undefined:{name:'valor "undefined"',articles:o.masculine},null:{name:'valor "nulo"',articles:o.masculine},never:{name:'valor "never"',articles:o.masculine},void:{name:'valor "void"',articles:o.masculine},date:{name:"data",articles:o.feminine},array:{name:"vetor",articles:o.masculine},object:{name:"objeto",articles:o.masculine},tuple:{name:"tupla",articles:o.feminine},record:{name:"registro",articles:o.masculine},map:{name:"mapa",articles:o.masculine},set:{name:"conjunto",articles:o.masculine},file:{name:"arquivo",articles:o.masculine},nonoptional:{name:"valor não opcional",articles:o.masculine},nan:{name:'valor "NaN"',articles:o.masculine},function:{name:"função",articles:o.feminine}};function r(a,s){let c=t[a]??{name:`valor "${a}"`,articles:o.masculine};return`${c.articles[s]} ${c.name}`}return a=>{switch(a.code){case"invalid_type":{let s=r(a.expected,"indefinite"),c=k(a.input),u=r(c,"indefinite");return`Entrada inválida: esperava ${s}, recebeu ${u}`}case"invalid_value":return a.values.length===1?`Entrada inválida: esperava ${$(a.values[0])}`:`Opção inválida: esperava uma das seguintes opções: ${v(a.values,"|")}`;case"too_big":{let s=a.inclusive?"<=":"<",c=n(a.origin);return c?`Grande demais: esperava que ${r(a.origin,"definite")} tivesse ${s} ${a.maximum.toString()} ${c.unit??"elementos"}`:`Grande demais: esperava que ${r(a.origin,"definite")} fosse ${s} ${a.maximum.toString()}`}case"too_small":{let s=a.inclusive?">=":">",c=n(a.origin);return c?`Pequeno demais: esperava que ${r(a.origin,"definite")} tivesse ${s} ${a.minimum.toString()} ${c.unit??"elementos"}`:`Pequeno demais: esperava que ${r(a.origin,"definite")} fosse ${s} ${a.minimum.toString()}`}case"invalid_format":{let s=a;return s.format==="starts_with"?`Texto inválido: deve começar com "${s.prefix}"`:s.format==="ends_with"?`Texto inválido: deve terminar com "${s.suffix}"`:s.format==="includes"?`Texto inválido: deve incluir "${s.includes}"`:s.format==="regex"?`Texto inválido: deve corresponder ao padrão ${s.pattern}`:`Formato d${i[s.format]??a.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${a.divisor}`;case"unrecognized_keys":{let s=a.keys.length>1?"s":"";return`Chave${s} inválida${s}: ${v(a.keys,", ")}`}case"invalid_key":return`Entrada inválida n${r(a.origin,"definite")}`;case"invalid_union":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Valor de discriminação inválido. Esperava ${a.options.map(c=>`'${c}'`).join(" | ")}`:"Entrada inválida";case"invalid_element":return`Entrada inválida n${r(a.origin,"definite")}`;default:return"Entrada inválida"}}};function xf(){return{localeError:w$()}}var I$=()=>{let e={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function n(t){return e[t]??null}let i={regex:"intrare",email:"adresă de email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",credit_card:"număr de card de credit",currency_code:"cod valutar",iban:"IBAN",jwt:"JWT",template_literal:"intrare"},o={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`Intrare invalidă: așteptat ${r}, primit ${s}`}case"invalid_value":return t.values.length===1?`Intrare invalidă: așteptat ${$(t.values[0])}`:`Opțiune invalidă: așteptat una dintre ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Prea mare: așteptat ca ${t.origin??"valoarea"} ${a.verb} ${r}${t.maximum.toString()} ${a.unit??"elemente"}`:`Prea mare: așteptat ca ${t.origin??"valoarea"} să fie ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Prea mic: așteptat ca ${t.origin} ${a.verb} ${r}${t.minimum.toString()} ${a.unit}`:`Prea mic: așteptat ca ${t.origin} să fie ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Șir invalid: trebuie să înceapă cu "${r.prefix}"`:r.format==="ends_with"?`Șir invalid: trebuie să se termine cu "${r.suffix}"`:r.format==="includes"?`Șir invalid: trebuie să includă "${r.includes}"`:r.format==="regex"?`Șir invalid: trebuie să se potrivească cu modelul ${r.pattern}`:`Format invalid: ${i[r.format]??t.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${t.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${v(t.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${t.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${t.origin}`;default:return"Intrare invalidă"}}};function wf(){return{localeError:I$()}}function If(e,n,i,o){let t=Math.abs(e),r=t%10,a=t%100;return a>=11&&a<=19?o:r===1?n:r>=2&&r<=4?i:o}var S$=()=>{let e={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},map:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function n(t){return e[t]??null}let i={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",mac:"MAC адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",credit_card:"номер кредитной карты",currency_code:"код валюты",iban:"IBAN",jwt:"JWT",template_literal:"ввод"},o={nan:"NaN",number:"число",array:"массив"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Неверный ввод: ожидалось instanceof ${t.expected}, получено ${s}`:`Неверный ввод: ожидалось ${r}, получено ${s}`}case"invalid_value":return t.values.length===1?`Неверный ввод: ожидалось ${$(t.values[0])}`:`Неверный вариант: ожидалось одно из ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);if(a){let s=Number(t.maximum),c=If(s,a.unit.one,a.unit.few,a.unit.many);return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет иметь ${r}${t.maximum.toString()} ${c}`}return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);if(a){let s=Number(t.minimum),c=If(s,a.unit.one,a.unit.few,a.unit.many);return`Слишком маленькое значение: ожидалось, что ${t.origin} будет иметь ${r}${t.minimum.toString()} ${c}`}return`Слишком маленькое значение: ожидалось, что ${t.origin} будет ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Неверная строка: должна начинаться с "${r.prefix}"`:r.format==="ends_with"?`Неверная строка: должна заканчиваться на "${r.suffix}"`:r.format==="includes"?`Неверная строка: должна содержать "${r.includes}"`:r.format==="regex"?`Неверная строка: должна соответствовать шаблону ${r.pattern}`:`Неверный ${i[r.format]??t.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспознанн${t.keys.length>1?"ые":"ый"} ключ${t.keys.length>1?"и":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${t.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${t.origin}`;default:return"Неверные входные данные"}}};function Sf(){return{localeError:S$()}}var P$=()=>{let e={string:{unit:"znakov",verb:"mať"},file:{unit:"bajtov",verb:"mať"},array:{unit:"prvkov",verb:"mať"},set:{unit:"prvkov",verb:"mať"},map:{unit:"položiek",verb:"mať"}};function n(t){return e[t]??null}let i={regex:"regulárny výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dátum a čas vo formáte ISO",date:"dátum vo formáte ISO",time:"čas vo formáte ISO",duration:"doba trvania ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",mac:"MAC adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"reťazec zakódovaný vo formáte base64",base64url:"reťazec zakódovaný vo formáte base64url",json_string:"reťazec vo formáte JSON",e164:"číslo E.164",credit_card:"číslo kreditnej karty",currency_code:"kód meny",iban:"IBAN",jwt:"JWT",template_literal:"vstup"},o={nan:"NaN",number:"číslo",string:"reťazec",function:"funkcia",array:"pole"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Neplatný vstup: očakávané instanceof ${t.expected}, obdržané ${s}`:`Neplatný vstup: očakávané ${r}, obdržané ${s}`}case"invalid_value":return t.values.length===1?`Neplatný vstup: očakávané ${$(t.values[0])}`:`Neplatný vstup: očakávaná jedna z hodnôt ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Hodnota je príliš veľká: ${t.origin??"hodnota"} musí mať ${r}${t.maximum.toString()} ${a.unit??"prvkov"}`:`Hodnota je príliš veľká: ${t.origin??"hodnota"} musí byť ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Hodnota je príliš malá: ${t.origin??"hodnota"} musí mať ${r}${t.minimum.toString()} ${a.unit??"prvkov"}`:`Hodnota je príliš malá: ${t.origin??"hodnota"} musí byť ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Neplatný reťazec: musí začínať na "${r.prefix}"`:r.format==="ends_with"?`Neplatný reťazec: musí končiť na "${r.suffix}"`:r.format==="includes"?`Neplatný reťazec: musí obsahovať "${r.includes}"`:r.format==="regex"?`Neplatný reťazec: musí zodpovedať vzoru ${r.pattern}`:`Neplatný formát ${i[r.format]??t.format}`}case"not_multiple_of":return`Neplatné číslo: musí byť násobkom ${t.divisor}`;case"unrecognized_keys":return`Neznáme klúče: ${v(t.keys,", ")}`;case"invalid_key":return`Neplatný klúč v ${t.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${t.origin}`;default:return"Neplatný vstup"}}};function Pf(){return{localeError:P$()}}var T$=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"},map:{unit:"elementov",verb:"imeti"}};function n(t){return e[t]??null}let i={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",mac:"MAC naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",credit_card:"številka kreditne kartice",currency_code:"koda valute",iban:"IBAN",jwt:"JWT",template_literal:"vnos"},o={nan:"NaN",number:"število",array:"tabela"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Neveljaven vnos: pričakovano instanceof ${t.expected}, prejeto ${s}`:`Neveljaven vnos: pričakovano ${r}, prejeto ${s}`}case"invalid_value":return t.values.length===1?`Neveljaven vnos: pričakovano ${$(t.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} imelo ${r}${t.maximum.toString()} ${a.unit??"elementov"}`:`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Premajhno: pričakovano, da bo ${t.origin} imelo ${r}${t.minimum.toString()} ${a.unit}`:`Premajhno: pričakovano, da bo ${t.origin} ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Neveljaven niz: mora se začeti z "${r.prefix}"`:r.format==="ends_with"?`Neveljaven niz: mora se končati z "${r.suffix}"`:r.format==="includes"?`Neveljaven niz: mora vsebovati "${r.includes}"`:r.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${r.pattern}`:`Neveljaven ${i[r.format]??t.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${t.divisor}`;case"unrecognized_keys":return`Neprepoznan${t.keys.length>1?"i ključi":" ključ"}: ${v(t.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${t.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${t.origin}`;default:return"Neveljaven vnos"}}};function Tf(){return{localeError:T$()}}var E$=()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"},map:{unit:"objekt",verb:"att innehålla"}};function n(t){return e[t]??null}let i={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-adress",ipv6:"IPv6-adress",mac:"MAC-adress",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",credit_card:"kreditkortsnummer",currency_code:"valutakod",iban:"IBAN",jwt:"JWT",template_literal:"mall-literal"},o={nan:"NaN",number:"antal",array:"lista"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ogiltig inmatning: förväntat instanceof ${t.expected}, fick ${s}`:`Ogiltig inmatning: förväntat ${r}, fick ${s}`}case"invalid_value":return t.values.length===1?`Ogiltig inmatning: förväntat ${$(t.values[0])}`:`Ogiltigt val: förväntade en av ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`För stor(t): förväntade ${t.origin??"värdet"} att ha ${r}${t.maximum.toString()} ${a.unit??"element"}`:`För stor(t): förväntat ${t.origin??"värdet"} att ha ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`För lite(t): förväntade ${t.origin??"värdet"} att ha ${r}${t.minimum.toString()} ${a.unit}`:`För lite(t): förväntade ${t.origin??"värdet"} att ha ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ogiltig sträng: måste börja med "${r.prefix}"`:r.format==="ends_with"?`Ogiltig sträng: måste sluta med "${r.suffix}"`:r.format==="includes"?`Ogiltig sträng: måste innehålla "${r.includes}"`:r.format==="regex"?`Ogiltig sträng: måste matcha mönstret "${r.pattern}"`:`Ogiltig(t) ${i[r.format]??t.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${v(t.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${t.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${t.origin??"värdet"}`;default:return"Ogiltig input"}}};function Ef(){return{localeError:E$()}}var A$=()=>{let e={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},map:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function n(t){return e[t]??null}let i={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",mac:"MAC முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",credit_card:"கடன் அட்டை எண்",currency_code:"நாணயக் குறியீடு",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${t.expected}, பெறப்பட்டது ${s}`:`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${r}, பெறப்பட்டது ${s}`}case"invalid_value":return t.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${$(t.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${v(t.values,"|")} இல் ஒன்று`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${r}${t.maximum.toString()} ${a.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${r}${t.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${r}${t.minimum.toString()} ${a.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${r}${t.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let r=t;return r.format==="starts_with"?`தவறான சரம்: "${r.prefix}" இல் தொடங்க வேண்டும்`:r.format==="ends_with"?`தவறான சரம்: "${r.suffix}" இல் முடிவடைய வேண்டும்`:r.format==="includes"?`தவறான சரம்: "${r.includes}" ஐ உள்ளடக்க வேண்டும்`:r.format==="regex"?`தவறான சரம்: ${r.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${i[r.format]??t.format}`}case"not_multiple_of":return`தவறான எண்: ${t.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${t.keys.length>1?"கள்":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${t.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function Af(){return{localeError:A$()}}var O$=()=>{let e={string:{unit:"аломат",verb:"дошта бошад"},file:{unit:"байт",verb:"дошта бошад"},array:{unit:"унсур",verb:"дошта бошад"},set:{unit:"унсур",verb:"дошта бошад"},map:{unit:"сабт",verb:"дошта бошад"}};function n(t){return e[t]??null}let i={regex:"вуруд",email:"суроғаи email",url:"URL",emoji:"эмоҷи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"санаву вақти ISO",date:"санаи ISO",time:"вақти ISO",duration:"давомнокии ISO",ipv4:"суроғаи IPv4",ipv6:"суроғаи IPv6",mac:"суроғаи MAC",cidrv4:"маҳдудаи IPv4",cidrv6:"маҳдудаи IPv6",base64:"сатри дар формати base64",base64url:"сатри дар формати base64url",json_string:"сатри JSON",e164:"рақами E.164",credit_card:"рақами корти кредитӣ",currency_code:"рамзи асъор",iban:"IBAN",jwt:"JWT",template_literal:"вуруд"},o={nan:"NaN",number:"рақам",string:"сатр",array:"массив",object:"объект",date:"сана"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`Вуруди нодуруст: ${r} интизор мерафт, ${s} гирифта шуд`}case"invalid_value":return t.values.length===1?`Вуруди нодуруст: ${$(t.values[0])} интизор мерафт`:`Интихоби нодуруст: яке аз ${v(t.values,"|")} интизор мерафт`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Хеле калон: ${t.origin??"қимат"} бояд ${r}${t.maximum.toString()} ${a.unit} ${a.verb}`:`Хеле калон: ${t.origin??"қимат"} бояд ${r}${t.maximum.toString()} бошад`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Хеле хурд: ${t.origin} бояд ${r}${t.minimum.toString()} ${a.unit} ${a.verb}`:`Хеле хурд: ${t.origin} бояд ${r}${t.minimum.toString()} бошад`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Сатри нодуруст: бояд бо "${r.prefix}" оғоз шавад`:r.format==="ends_with"?`Сатри нодуруст: бояд бо "${r.suffix}" анҷом ёбад`:r.format==="includes"?`Сатри нодуруст: бояд "${r.includes}"-ро дар бар гирад`:r.format==="regex"?`Сатри нодуруст: бояд ба намунаи ${r.pattern} мувофиқат кунад`:`${i[r.format]??t.format}-и нодуруст`}case"not_multiple_of":return`Рақами нодуруст: бояд ба ${t.divisor} бе бақия тақсим шавад`;case"unrecognized_keys":return`Калид${t.keys.length>1?"ҳои":"и"} номаълум: ${v(t.keys,", ")}`;case"invalid_key":return`Калиди нодуруст дар ${t.origin}`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`Қимати нодурусти дискриминатор: ${t.options.map(a=>`'${a}'`).join(" | ")} интизор мерафт`:"Вуруди нодуруст";case"invalid_element":return`Қимати нодуруст дар ${t.origin}`;default:return"Вуруди нодуруст"}}};function Of(){return{localeError:O$()}}var N$=()=>{let e={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"},map:{unit:"รายการ",verb:"ควรมี"}};function n(t){return e[t]??null}let i={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",mac:"ที่อยู่ MAC",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",credit_card:"หมายเลขบัตรเครดิต",currency_code:"รหัสสกุลเงิน",iban:"IBAN",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},o={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${t.expected} แต่ได้รับ ${s}`:`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${r} แต่ได้รับ ${s}`}case"invalid_value":return t.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${$(t.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"ไม่เกิน":"น้อยกว่า",a=n(t.origin);return a?`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${r} ${t.maximum.toString()} ${a.unit??"รายการ"}`:`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${r} ${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?"อย่างน้อย":"มากกว่า",a=n(t.origin);return a?`น้อยกว่ากำหนด: ${t.origin} ควรมี${r} ${t.minimum.toString()} ${a.unit}`:`น้อยกว่ากำหนด: ${t.origin} ควรมี${r} ${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${r.prefix}"`:r.format==="ends_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${r.suffix}"`:r.format==="includes"?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${r.includes}" อยู่ในข้อความ`:r.format==="regex"?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${r.pattern}`:`รูปแบบไม่ถูกต้อง: ${i[r.format]??t.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${t.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${v(t.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${t.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${t.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function Nf(){return{localeError:N$()}}var z$=()=>{let e={string:{unit:"simwol",verb:"bolmaly"},file:{unit:"baýt",verb:"bolmaly"},array:{unit:"elementler",verb:"bolmaly"},set:{unit:"elementler",verb:"bolmaly"},map:{unit:"elementler",verb:"bolmaly"}};function n(t){return e[t]??null}let i={regex:"giriş",email:"e-poçta salgysy",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sene we wagt",date:"ISO sene",time:"ISO wagt",duration:"ISO wagt aralygy",ipv4:"IPv4 salgysy",ipv6:"IPv6 salgysy",mac:"MAC salgysy",cidrv4:"IPv4 aralygy",cidrv6:"IPv6 aralygy",base64:"base64 bilen şifrlenen setir",base64url:"base64url bilen şifrlenen setir",json_string:"JSON setiri",e164:"E.164 nomeri",credit_card:"kredit kartynyň nomeri",currency_code:"walýuta kody",iban:"IBAN",jwt:"JWT",template_literal:"şablon"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`Nädogry baha: garaşylan ${r} ýerine ${s} alyndy`}case"invalid_value":return t.values.length===1?`Nädogry baha: ${$(t.values[0])} bolmaly`:`Nädogry saýlaw: aşakdakylardan biri bolmaly: ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Has uly: garaşylýan ${t.origin??"baha"} ${r} ${t.maximum.toString()} ${a.unit??"element"}`:`Has uly: garaşylýan ${t.origin??"baha"} ${r} ${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Has kiçi: garaşylýan ${t.origin} ${r} ${t.minimum.toString()} ${a.unit}`:`Has kiçi: garaşylýan ${t.origin} ${r} ${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Nädogry setir: "${r.prefix}" bilen başlamaly`:r.format==="ends_with"?`Nädogry setir: "${r.suffix}" bilen gutarmaly`:r.format==="includes"?`Nädogry setir: "${r.includes}" saklamaly`:r.format==="regex"?`Nädogry setir: ${r.pattern} nusga laýyk bolmaly`:`Nädogry ${i[r.format]??t.format}`}case"not_multiple_of":return`Nädogry san: ${t.divisor} bilen galyndysyz bölünmeli`;case"unrecognized_keys":return`Tanalmaýan açar${t.keys.length>1?"lar":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} içinde nädogry açar`;case"invalid_union":return"Nädogry baha";case"invalid_element":return`${t.origin} içinde nädogry baha`;default:return"Nädogry baha"}}};function zf(){return{localeError:z$()}}var D$=()=>{let e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"},map:{unit:"öğe",verb:"olmalı"}};function n(t){return e[t]??null}let i={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",mac:"MAC adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",credit_card:"kredi kartı numarası",currency_code:"para birimi kodu",iban:"IBAN",jwt:"JWT",template_literal:"Şablon dizesi"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Geçersiz değer: beklenen instanceof ${t.expected}, alınan ${s}`:`Geçersiz değer: beklenen ${r}, alınan ${s}`}case"invalid_value":return t.values.length===1?`Geçersiz değer: beklenen ${$(t.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Çok büyük: beklenen ${t.origin??"değer"} ${r}${t.maximum.toString()} ${a.unit??"öğe"}`:`Çok büyük: beklenen ${t.origin??"değer"} ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Çok küçük: beklenen ${t.origin} ${r}${t.minimum.toString()} ${a.unit}`:`Çok küçük: beklenen ${t.origin} ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Geçersiz metin: "${r.prefix}" ile başlamalı`:r.format==="ends_with"?`Geçersiz metin: "${r.suffix}" ile bitmeli`:r.format==="includes"?`Geçersiz metin: "${r.includes}" içermeli`:r.format==="regex"?`Geçersiz metin: ${r.pattern} desenine uymalı`:`Geçersiz ${i[r.format]??t.format}`}case"not_multiple_of":return`Geçersiz sayı: ${t.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${t.keys.length>1?"lar":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${t.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function Df(){return{localeError:D$()}}var C$=()=>{let e={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"},map:{unit:"елементів",verb:"матиме"}};function n(t){return e[t]??null}let i={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",mac:"адреса MAC",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",credit_card:"номер кредитної картки",currency_code:"код валюти",iban:"IBAN",jwt:"JWT",template_literal:"вхідні дані"},o={nan:"NaN",number:"число",array:"масив"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Неправильні вхідні дані: очікується instanceof ${t.expected}, отримано ${s}`:`Неправильні вхідні дані: очікується ${r}, отримано ${s}`}case"invalid_value":return t.values.length===1?`Неправильні вхідні дані: очікується ${$(t.values[0])}`:`Неправильна опція: очікується одне з ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Занадто велике: очікується, що ${t.origin??"значення"} ${a.verb} ${r}${t.maximum.toString()} ${a.unit??"елементів"}`:`Занадто велике: очікується, що ${t.origin??"значення"} буде ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Занадто мале: очікується, що ${t.origin} ${a.verb} ${r}${t.minimum.toString()} ${a.unit}`:`Занадто мале: очікується, що ${t.origin} буде ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Неправильний рядок: повинен починатися з "${r.prefix}"`:r.format==="ends_with"?`Неправильний рядок: повинен закінчуватися на "${r.suffix}"`:r.format==="includes"?`Неправильний рядок: повинен містити "${r.includes}"`:r.format==="regex"?`Неправильний рядок: повинен відповідати шаблону ${r.pattern}`:`Неправильний ${i[r.format]??t.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${t.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${t.keys.length>1?"і":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${t.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${t.origin}`;default:return"Неправильні вхідні дані"}}};function Xi(){return{localeError:C$()}}function Cf(){return Xi()}var j$=()=>{let e={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"},map:{unit:"آئٹمز",verb:"ہونا"}};function n(t){return e[t]??null}let i={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",mac:"ایم اے سی ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",credit_card:"کریڈٹ کارڈ نمبر",currency_code:"کرنسی کوڈ",iban:"IBAN",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},o={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`غلط ان پٹ: instanceof ${t.expected} متوقع تھا، ${s} موصول ہوا`:`غلط ان پٹ: ${r} متوقع تھا، ${s} موصول ہوا`}case"invalid_value":return t.values.length===1?`غلط ان پٹ: ${$(t.values[0])} متوقع تھا`:`غلط آپشن: ${v(t.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`بہت بڑا: ${t.origin??"ویلیو"} کے ${r}${t.maximum.toString()} ${a.unit??"عناصر"} ہونے متوقع تھے`:`بہت بڑا: ${t.origin??"ویلیو"} کا ${r}${t.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`بہت چھوٹا: ${t.origin} کے ${r}${t.minimum.toString()} ${a.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${t.origin} کا ${r}${t.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let r=t;return r.format==="starts_with"?`غلط سٹرنگ: "${r.prefix}" سے شروع ہونا چاہیے`:r.format==="ends_with"?`غلط سٹرنگ: "${r.suffix}" پر ختم ہونا چاہیے`:r.format==="includes"?`غلط سٹرنگ: "${r.includes}" شامل ہونا چاہیے`:r.format==="regex"?`غلط سٹرنگ: پیٹرن ${r.pattern} سے میچ ہونا چاہیے`:`غلط ${i[r.format]??t.format}`}case"not_multiple_of":return`غلط نمبر: ${t.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${t.keys.length>1?"ز":""}: ${v(t.keys,"، ")}`;case"invalid_key":return`${t.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${t.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function jf(){return{localeError:j$()}}var L$=()=>{let e={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function n(t){return e[t]??null}let i={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",credit_card:"kredit karta raqami",currency_code:"valyuta kodi",iban:"IBAN",jwt:"JWT",template_literal:"kirish"},o={nan:"NaN",number:"raqam",array:"massiv"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Noto‘g‘ri kirish: kutilgan instanceof ${t.expected}, qabul qilingan ${s}`:`Noto‘g‘ri kirish: kutilgan ${r}, qabul qilingan ${s}`}case"invalid_value":return t.values.length===1?`Noto‘g‘ri kirish: kutilgan ${$(t.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Juda katta: kutilgan ${t.origin??"qiymat"} ${r}${t.maximum.toString()} ${a.unit} ${a.verb}`:`Juda katta: kutilgan ${t.origin??"qiymat"} ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Juda kichik: kutilgan ${t.origin} ${r}${t.minimum.toString()} ${a.unit} ${a.verb}`:`Juda kichik: kutilgan ${t.origin} ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Noto‘g‘ri satr: "${r.prefix}" bilan boshlanishi kerak`:r.format==="ends_with"?`Noto‘g‘ri satr: "${r.suffix}" bilan tugashi kerak`:r.format==="includes"?`Noto‘g‘ri satr: "${r.includes}" ni o‘z ichiga olishi kerak`:r.format==="regex"?`Noto‘g‘ri satr: ${r.pattern} shabloniga mos kelishi kerak`:`Noto‘g‘ri ${i[r.format]??t.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${t.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${t.keys.length>1?"lar":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${t.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function Lf(){return{localeError:L$()}}var U$=()=>{let e={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"},map:{unit:"phần tử",verb:"có"}};function n(t){return e[t]??null}let i={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",mac:"địa chỉ MAC",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",credit_card:"số thẻ tín dụng",currency_code:"mã tiền tệ",iban:"IBAN",jwt:"JWT",template_literal:"đầu vào"},o={nan:"NaN",number:"số",array:"mảng"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Đầu vào không hợp lệ: mong đợi instanceof ${t.expected}, nhận được ${s}`:`Đầu vào không hợp lệ: mong đợi ${r}, nhận được ${s}`}case"invalid_value":return t.values.length===1?`Đầu vào không hợp lệ: mong đợi ${$(t.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Quá lớn: mong đợi ${t.origin??"giá trị"} ${a.verb} ${r}${t.maximum.toString()} ${a.unit??"phần tử"}`:`Quá lớn: mong đợi ${t.origin??"giá trị"} ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Quá nhỏ: mong đợi ${t.origin} ${a.verb} ${r}${t.minimum.toString()} ${a.unit}`:`Quá nhỏ: mong đợi ${t.origin} ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Chuỗi không hợp lệ: phải bắt đầu bằng "${r.prefix}"`:r.format==="ends_with"?`Chuỗi không hợp lệ: phải kết thúc bằng "${r.suffix}"`:r.format==="includes"?`Chuỗi không hợp lệ: phải bao gồm "${r.includes}"`:r.format==="regex"?`Chuỗi không hợp lệ: phải khớp với mẫu ${r.pattern}`:`${i[r.format]??t.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${t.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${v(t.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${t.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${t.origin}`;default:return"Đầu vào không hợp lệ"}}};function Uf(){return{localeError:U$()}}var R$=()=>{let e={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"},map:{unit:"项",verb:"包含"}};function n(t){return e[t]??null}let i={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",mac:"MAC地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",credit_card:"信用卡号",currency_code:"货币代码",iban:"IBAN",jwt:"JWT",template_literal:"输入"},o={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`无效输入:期望 instanceof ${t.expected},实际接收 ${s}`:`无效输入:期望 ${r},实际接收 ${s}`}case"invalid_value":return t.values.length===1?`无效输入:期望 ${$(t.values[0])}`:`无效选项:期望以下之一 ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`数值过大:期望 ${t.origin??"值"} ${r}${t.maximum.toString()} ${a.unit??"个元素"}`:`数值过大:期望 ${t.origin??"值"} ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`数值过小:期望 ${t.origin} ${r}${t.minimum.toString()} ${a.unit}`:`数值过小:期望 ${t.origin} ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`无效字符串:必须以 "${r.prefix}" 开头`:r.format==="ends_with"?`无效字符串:必须以 "${r.suffix}" 结尾`:r.format==="includes"?`无效字符串:必须包含 "${r.includes}"`:r.format==="regex"?`无效字符串:必须满足正则表达式 ${r.pattern}`:`无效${i[r.format]??t.format}`}case"not_multiple_of":return`无效数字:必须是 ${t.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${t.origin} 中包含无效值(value)`;default:return"无效输入"}}};function Rf(){return{localeError:R$()}}var M$=()=>{let e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"},map:{unit:"項目",verb:"擁有"}};function n(t){return e[t]??null}let i={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",mac:"MAC 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",credit_card:"信用卡號",currency_code:"貨幣代碼",iban:"IBAN",jwt:"JWT",template_literal:"輸入"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`無效的輸入值:預期為 instanceof ${t.expected},但收到 ${s}`:`無效的輸入值:預期為 ${r},但收到 ${s}`}case"invalid_value":return t.values.length===1?`無效的輸入值:預期為 ${$(t.values[0])}`:`無效的選項:預期為以下其中之一 ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`數值過大:預期 ${t.origin??"值"} 應為 ${r}${t.maximum.toString()} ${a.unit??"個元素"}`:`數值過大:預期 ${t.origin??"值"} 應為 ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`數值過小:預期 ${t.origin} 應為 ${r}${t.minimum.toString()} ${a.unit}`:`數值過小:預期 ${t.origin} 應為 ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`無效的字串:必須以 "${r.prefix}" 開頭`:r.format==="ends_with"?`無效的字串:必須以 "${r.suffix}" 結尾`:r.format==="includes"?`無效的字串:必須包含 "${r.includes}"`:r.format==="regex"?`無效的字串:必須符合格式 ${r.pattern}`:`無效的 ${i[r.format]??t.format}`}case"not_multiple_of":return`無效的數字:必須為 ${t.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${t.keys.length>1?"們":""}:${v(t.keys,"、")}`;case"invalid_key":return`${t.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${t.origin} 中有無效的值`;default:return"無效的輸入值"}}};function Mf(){return{localeError:M$()}}var Z$=()=>{let e={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"},map:{unit:"nkan",verb:"ní"}};function n(t){return e[t]??null}let i={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",mac:"àdírẹ́sì MAC",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",credit_card:"nọmba kaadi gbese",currency_code:"koodu owó",iban:"IBAN",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},o={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${t.expected}, àmọ̀ a rí ${s}`:`Ìbáwọlé aṣìṣe: a ní láti fi ${r}, àmọ̀ a rí ${s}`}case"invalid_value":return t.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${$(t.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Tó pọ̀ jù: a ní láti jẹ́ pé ${t.origin??"iye"} ${a.verb} ${r}${t.maximum} ${a.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${r}${t.maximum}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Kéré ju: a ní láti jẹ́ pé ${t.origin} ${a.verb} ${r}${t.minimum} ${a.unit}`:`Kéré ju: a ní láti jẹ́ ${r}${t.minimum}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${r.prefix}"`:r.format==="ends_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${r.suffix}"`:r.format==="includes"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${r.includes}"`:r.format==="regex"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${r.pattern}`:`Aṣìṣe: ${i[r.format]??t.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${t.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${v(t.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${t.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${t.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function Zf(){return{localeError:Z$()}}var Vf,gu=Symbol("ZodOutput"),hu=Symbol("ZodInput"),qi=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(n,...i){let o=i[0];return this._map.set(n,o),o&&typeof o=="object"&&"id"in o&&this._idmap.set(o.id,n),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(n){let i=this._map.get(n);return i&&typeof i=="object"&&"id"in i&&this._idmap.delete(i.id),this._map.delete(n),this}get(n){let i=n._zod.parent;if(i){let o={...this.get(i)??{}};delete o.id;let t={...o,...this._map.get(n)};return Object.keys(t).length?t:void 0}return this._map.get(n)}has(n){return this._map.has(n)}};function Yi(){return new qi}(Vf=globalThis).__zod_globalRegistry??(Vf.__zod_globalRegistry=Yi());var ce=globalThis.__zod_globalRegistry;var me=Symbol.for("zod.compile.invalid"),Gf=Symbol.for("zod.compile.fallback"),De=class extends Error{constructor(n="z.compile does not support async refinements, transforms, or checks"){super(n),this.name="ZodCompileAsyncError"}},V=class extends Error{constructor(n,i=!0){super(`z.compile does not support ${n}; this schema must use the runtime parser`),this.name="ZodCompileUnsupportedError",this.islandable=i}};function G$(e,n){try{return eo(e,{assertOnly:!0})}catch{return n}}function _u(e,n){try{let i=eo(e),o=Qi(e,i);return o._zod.bag.validator=G$(e,i),o}catch(i){if(n?.strict)throw i;return e}}function Qi(e,n){if(Hi(e))throw new V("a schema whose subtree contains a reference cycle");let i=K(e),o=e._zod.run,t=o.__originalRun??o,r=(a,s)=>{if(s?.async||s?.direction==="backward"||s?.skipChecks||s?.[Gf]||s&&Ki(s,a.value))return t(a,s);let c=n(a.value);return c!==me?(a.value=c,a):(s&&(s[Gf]=!0),t(a,s))};return r.__originalRun=t,i._zod.bag.fallbackRun=t,i._zod.bag.validator=n,i._zod.run=r,o.__originalRun||F$(i,e,n),i}function F$(e,n,i){let o=e,t=n;if(typeof t.safeParse=="function"){let r=t.safeParse;o.safeParse=(a,s)=>{let c=i(a);return c!==me?{success:!0,data:c}:r(a,s)}}if(typeof t.parse=="function"){let r=t.parse;o.parse=(a,s)=>{let c=i(a);return c!==me?c:r(a,s)}}}function eo(e,n){let i=!0;try{i=Hi(e)}catch{}if(i)throw new V("a schema whose subtree contains a reference cycle");let o={constants:new Map,constantCounter:0,varCounter:0,definite:!0},t=new It(["input"]),r=Q(t,o,e,"input",!n?.assertOnly);t.write(r===null?"return true;":`return ${r};`);let a=["INVALID",...o.constants.keys()],s=[me,...o.constants.values()],c=t.content.join(` -`),u=n?.debug?a.length>0?`// Constants: ${a.join(", ")} -${c}`:c:"",d=Function,p=`return (input) => { -${c} -}`,m;try{m=new d(...a,p)(...s)}catch(f){throw new V(`this schema (generated code failed to evaluate: ${f.message})`)}return n?.debug&&(m.code=u),m.definite=o.definite,m}function L(e,n){for(let[o,t]of e.constants)if(t===n)return o;let i=`c${e.constantCounter++}`;return e.constants.set(i,n),i}function Tt(e,n){return e.definite=!1,L(e,n)}function z(e){return`v${e.varCounter++}`}function B$(e,n){let i=e._zod.run({value:n,issues:[]},{});if(i&&typeof i.then=="function")return me;let o=i;return o.issues.length===0?o.value:me}function ue(e,n,i,o,t=!0){let r=e.content.length,a=n.constants.size,s=n.constantCounter,c=n.varCounter;try{return Q(e,n,i,o,t)}catch(u){if(!(u instanceof V)||!u.islandable)throw u;if(e.content.length=r,n.constants.size>a){let d=Array.from(n.constants.keys()).slice(a);for(let p of d)n.constants.delete(p)}return n.constantCounter=s,n.varCounter=c,H$(e,n,i,o)}}function H$(e,n,i,o){n.definite=!1;let t=L(n,i),r=L(n,B$),a=z(n);return e.write(`const ${a} = ${r}(${t}, ${o});`),e.write(`if (${a} === INVALID) return INVALID;`),a}var K$=new Set(["max_size","min_size","size_equals","max_length","min_length","length_equals"]);function W$(e,n,i,o){let t=i._zod.def.checks;if(!t||t.length===0)return o;let r=o;for(let a of t){let s=a._zod.def;if(s.when&&!K$.has(s.check))throw new V('check with a custom "when" condition');switch(s.check){case"greater_than":J$(e,n,s,r);break;case"less_than":X$(e,n,s,r);break;case"multiple_of":q$(e,n,s,r);break;case"number_format":Jf(e,s,r);break;case"min_length":{let c=at(s.minimum,"min_length"),u=vu(e,n,r,`${r}.length >= ${c} && ${r}.length < ${s.minimum*2}`);e.write(`if (${u} < ${c}) return INVALID;`);break}case"max_length":{let c=at(s.maximum,"max_length"),u=vu(e,n,r,`${r}.length > ${c}`);e.write(`if (${u} > ${c}) return INVALID;`);break}case"length_equals":{let c=at(s.length,"length_equals"),u=vu(e,n,r,`${r}.length >= ${c} && ${r}.length <= ${s.length*2}`);e.write(`if (${u} !== ${c}) return INVALID;`);break}case"min_size":e.write(`if (${r}.size < ${at(s.minimum,"min_size")}) return INVALID;`);break;case"max_size":e.write(`if (${r}.size > ${at(s.maximum,"max_size")}) return INVALID;`);break;case"size_equals":e.write(`if (${r}.size !== ${at(s.size,"size_equals")}) return INVALID;`);break;case"string_format":r=Xf(e,n,s,r);break;case"custom":r=rk(e,n,a,r);break;case"bigint_format":Y$(e,s,r);break;case"mime_type":Q$(e,n,s,r);break;case"property":tk(e,n,s,r);break;case"properties":ek(e,n,s,r);break;case"overwrite":{let c=z(n);nk(e,n,a,r,c),r=c;break}default:throw new V(`check type ${s.check}`)}}return r}function vu(e,n,i,o){let t=L(n,xt),r=z(n);return e.write(`const ${r} = typeof ${i} === "string" && ${o} ? ${t}(${i}) : ${i}.length;`),r}function at(e,n){if(typeof e!="number"||!Number.isFinite(e))throw new V(`${n} bound of type ${typeof e}`);return`${e}`}function Wf(e,n){if(typeof n=="bigint")return`${n}n`;if(typeof n=="number"){if(Number.isNaN(n))throw new V("comparison check with NaN bound");return`${n}`}if(n instanceof Date){if(Number.isNaN(n.getTime()))throw new V("comparison check with Invalid Date bound");return L(e,n)}throw new V(`comparison check bound of type ${typeof n}`)}function J$(e,n,i,o){let t=i.inclusive?"<":"<=";e.write(`if (${o} ${t} ${Wf(n,i.value)}) return INVALID;`)}function X$(e,n,i,o){let t=i.inclusive?">":">=";e.write(`if (${o} ${t} ${Wf(n,i.value)}) return INVALID;`)}function q$(e,n,i,o){if(typeof i.value=="bigint"){if(i.value===BigInt(0))throw new V("multiple_of check with a zero divisor");e.write(`if (${o} % ${i.value}n !== 0n) return INVALID;`)}else{let t=L(n,Fn);e.write(`if (${t}(${o}, ${at(i.value,"multiple_of")}) !== 0) return INVALID;`)}}function Jf(e,n,i){let o=n.format;switch(o){case"safeint":e.write(`if (!Number.isSafeInteger(${i})) return INVALID;`);break;case"int32":e.write(`if (!Number.isInteger(${i}) || ${i} < -2147483648 || ${i} > 2147483647) return INVALID;`);break;case"uint32":e.write(`if (!Number.isInteger(${i}) || ${i} < 0 || ${i} > 4294967295) return INVALID;`);break;case"float32":e.write(`if (!Number.isFinite(${i}) || ${i} < -3.4028234663852886e38 || ${i} > 3.4028234663852886e38) return INVALID;`);break;case"float64":e.write(`if (!Number.isFinite(${i})) return INVALID;`);break;default:throw new V(`number format ${o}`)}}function Y$(e,n,i){let o=n.format;if(o)switch(o){case"int64":e.write(`if (${i} < -9223372036854775808n || ${i} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${i} < 0n || ${i} > 18446744073709551615n) return INVALID;`);break;default:throw new V(`bigint format ${o}`)}}function Q$(e,n,i,o){let t=i.mime;if(t&&t.length>0){let r=L(n,new Set(t));e.write(`if (!${r}.has(${o}.type)) return INVALID;`)}}function ek(e,n,i,o){if(i.when)throw new V('check with a custom "when" condition');e.write(`if (${o} == null) return INVALID;`);let t=i.shape;for(let r of Reflect.ownKeys(t)){let a=typeof r=="symbol"?L(n,r):de(r),s=z(n);e.write(`const ${s} = ${o}[${a}];`),ue(e,n,t[r],s,!1)}}function tk(e,n,i,o){let t=`${o}[${JSON.stringify(i.property)}]`;Q(e,n,i.schema,t)}function nk(e,n,i,o,t){let r=i._zod.def.tx;if(!r)throw new V("overwrite check without a transform function");if(Et(r))throw new De("z.compile: async overwrite transforms are not supported");let a=L(n,r);e.write(`const ${t} = ${a}(${o});`)}function yu(){throw new $e}function $u(e){this.issues.push(e)}function rk(e,n,i,o){let t=i._zod.def;if(t.fn){if(Et(t.fn))throw new De("z.compile: async .refine() predicates are not supported");let r=Tt(n,t.fn),a=L(n,yu),s=z(n);return e.write(`const ${s} = ${r}(${o});`),e.write(`if (${s} instanceof Promise) ${a}();`),e.write(`if (!${s}) return INVALID;`),o}if(i._zod.check){if(Et(i._zod.check))throw new De("z.compile: async .superRefine() / check functions are not supported");let r=i._zod.check,s=Tt(n,u=>{let d={value:u,issues:[],addIssue:$u};return r(d)instanceof Promise&&yu(),d.issues.length===0?d.value:me}),c=z(n);return e.write(`const ${c} = ${s}(${o});`),e.write(`if (${c} === INVALID) return INVALID;`),c}throw new V("custom check without a predicate or check function")}var ik=new Set(["cidrv4","cuid","cuid2","date","datetime","duration","e164","email","emoji","ends_with","guid","includes","ipv4","ksuid","lowercase","mac","nanoid","regex","starts_with","time","ulid","uppercase","uuid","xid"]);function Xf(e,n,i,o,t=!0){let r=i.format;if(r==="base64"){let u=L(n,lr);return e.write(`if (!${u}(${o})) return INVALID;`),o}if(r==="base64url"){let u=L(n,zi);return e.write(`if (!${u}(${o})) return INVALID;`),o}if(r==="jwt"){let u=L(n,ji),d=L(n,i.alg??null);return e.write(`if (!${u}(${o}, ${d})) return INVALID;`),o}if(r==="ipv6"){let u=L(n,ur);return e.write(`if (!${u}(${o})) return INVALID;`),o}if(r==="cidrv6"){let u=L(n,Oi);return e.write(`if (!${u}(${o})) return INVALID;`),o}if(r==="credit_card"){let u=L(n,Di);return e.write(`if (!${u}(${o})) return INVALID;`),o}if(r==="iban"){let u=L(n,Ci);return e.write(`if (!${u}(${o})) return INVALID;`),o}let a=i;if(r==="url"||r==="httpurl"||a.normalize||a.hostname!==void 0||a.protocol!==void 0){let u=L(n,Ti),d=L(n,i),p=z(n),m=z(n);if(e.write(`const ${p} = ${o}.trim();`),e.write(`const ${m} = ${u}(${p}, ${d});`),e.write(`if (typeof ${m} === "number") return INVALID;`),a.hostname!==void 0){let y=L(n,Ei);e.write(`if (!${y}(${m}, ${d}.hostname)) return INVALID;`)}if(a.protocol!==void 0){let y=L(n,Ai);e.write(`if (!${y}(${m}, ${d}.protocol)) return INVALID;`)}if(!t)return null;let f=z(n),g=a.normalize?`${m}.href`:`${L(n,cr)}(${p})`;return e.write(`const ${f} = ${g};`),f}let s=i.fn;if(s){if(Et(s))throw new V(`async string format ${r}`);let u=L(n,s);return e.write(`if (!${u}(${o})) return INVALID;`),o}if(ik.has(r)&&i.pattern){let u=L(n,i.pattern);return e.write(`${u}.lastIndex = 0;`),e.write(`if (!${u}.test(${o})) return INVALID;`),o}let c=i.format;switch(c){case"regex":throw new V("regex format without a pattern");case"lowercase":e.write(`if (${o} !== ${o}.toLowerCase()) return INVALID;`);break;case"uppercase":e.write(`if (${o} !== ${o}.toUpperCase()) return INVALID;`);break;case"includes":e.write(`if (!${o}.includes(${de(i.includes)})) return INVALID;`);break;case"starts_with":{let u=i.prefix;e.write(`if (${o}.slice(0, ${u.length}) !== ${de(u)}) return INVALID;`);break}case"ends_with":{let u=i.suffix;e.write(`if (${o}.slice(-${u.length}) !== ${de(u)}) return INVALID;`);break}default:throw new V(`string format ${c}`)}return o}function Q(e,n,i,o,t=!0){let r=i._zod.def,a=r.type;if(r.coerce)throw new V(`coercion (z.coerce.${a}())`);let s=t||!!r.checks?.length,c;switch(a){case"string":c=ok(e,n,i,o,s);break;case"number":c=ak(e,i,o);break;case"boolean":c=sk(e,o);break;case"bigint":c=ck(e,i,o);break;case"symbol":c=uk(e,o);break;case"undefined":c=lk(e,o);break;case"null":c=dk(e,o);break;case"any":case"unknown":c=o;break;case"never":e.write("return INVALID;"),c=o;break;case"void":c=pk(e,o);break;case"nan":c=mk(e,o);break;case"date":c=fk(e,o);break;case"object":c=gk(e,n,i,o,s);break;case"optional":c=hk(e,n,i,o,s);break;case"nullable":c=bk(e,n,i,o,s);break;case"array":c=_k(e,n,i,o,s);break;case"literal":c=$k(e,n,i,o);break;case"enum":c=kk(e,n,i,o);break;case"readonly":{let u=Bf(e,n,i,o),d=z(n);e.write(`const ${d} = Object.freeze(${u});`),c=d;break}case"success":Bf(e,n,i,o),c="true";break;case"default":case"prefault":c=xk(e,n,i,o);break;case"nonoptional":c=wk(e,n,i,o);break;case"tuple":c=Ik(e,n,i,o);break;case"union":c=Sk(e,n,i,o);break;case"intersection":c=Ek(e,n,i,o);break;case"record":c=Ak(e,n,i,o);break;case"map":c=Nk(e,n,i,o);break;case"set":c=zk(e,n,i,o);break;case"file":c=Dk(e,o);break;case"template_literal":c=Ck(e,n,i,o);break;case"lazy":c=jk(e,n,i,o);break;case"pipe":c=Lk(e,n,i,o);break;case"custom":c=Uk(e,n,i,o);break;case"transform":c=Zk(e,n,i,o);break;case"catch":c=Mk(e,n,i,o);break;default:throw new V(`schema type ${a}`)}return c===null?null:W$(e,n,i,c)}function ok(e,n,i,o,t=!0){e.write(`if (typeof ${o} !== "string") return INVALID;`);let r=i._zod.def;return r.format===void 0?o:Xf(e,n,r,o,t)}function ak(e,n,i){e.write(`if (typeof ${i} !== "number" || !Number.isFinite(${i})) return INVALID;`);let o=n._zod.def;return o.check==="number_format"&&o.format&&Jf(e,{format:o.format},i),i}function sk(e,n){return e.write(`if (typeof ${n} !== "boolean") return INVALID;`),n}function ck(e,n,i){e.write(`if (typeof ${i} !== "bigint") return INVALID;`);let o=n._zod.def;if(o.format)switch(o.format){case"int64":e.write(`if (${i} < -9223372036854775808n || ${i} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${i} < 0n || ${i} > 18446744073709551615n) return INVALID;`);break}return i}function uk(e,n){return e.write(`if (typeof ${n} !== "symbol") return INVALID;`),n}function lk(e,n){return e.write(`if (${n} !== undefined) return INVALID;`),n}function dk(e,n){return e.write(`if (${n} !== null) return INVALID;`),n}function pk(e,n){return e.write(`if (${n} !== undefined) return INVALID;`),n}function mk(e,n){return e.write(`if (typeof ${n} !== "number" || !Number.isNaN(${n})) return INVALID;`),n}function fk(e,n){return e.write(`if (!(${n} instanceof Date) || Number.isNaN(${n}.getTime())) return INVALID;`),n}function gk(e,n,i,o,t=!0){let r=i._zod.def;e.write(`if (typeof ${o} !== "object" || ${o} === null || Array.isArray(${o})) return INVALID;`);let a=r.shape,s=Object.keys(a),c=Object.getOwnPropertySymbols(a),u=c.length?[...s,...c]:s,d=b=>typeof b=="symbol"?L(n,b):de(b),p=b=>typeof b=="symbol"?`[${d(b)}]`:de(b),m=a;if(s.includes("__proto__"))throw new V('object shape key "__proto__"');let f=new Map;for(let b of u){let T=m[b],A=d(b),D=z(n);if(e.write(`const ${D} = ${o}[${A}];`),T._zod.optin!==void 0){let w=z(n);e.write(`let ${w} = (() => {`),e.indented(O=>{let E=ue(O,n,T,D);O.write(`return ${E};`)}),e.write("})();"),T._zod.optout==="optional"?(e.write(`if (${w} === INVALID) {`),e.indented(O=>{O.write(`if (${A} in ${o}) return INVALID;`),O.write(`${w} = undefined;`)}),e.write("}")):e.write(`if (${w} === INVALID) return INVALID;`),f.set(b,w)}else{yk(T)&&e.write(`if (!(${A} in ${o})) return INVALID;`);let w=ue(e,n,T,D,t);w!==null&&f.set(b,w)}}let g=r.catchall,y="none";if(g){let b=g._zod.def.type;if(b==="never"){let T=s.map(A=>`k !== ${de(A)}`).join(" && ")||"true";e.write(`for (const k in ${o}) {`),e.indented(A=>{A.write(`if (${T}) return INVALID;`)}),e.write("}")}else(b==="unknown"||b==="any")&&!g._zod.def.checks?.length?y="passthrough":y="schema"}let x=z(n),I=u.some(b=>Ff(m[b])||bu(m[b]));if(!t){if(y==="schema"){let b=s.length>0?L(n,new Set(s)):null;e.write(`for (const k in ${o}) {`),e.indented(T=>{T.write('if (k === "__proto__") continue;'),b&&T.write(`if (${b}.has(k)) continue;`);let A=z(n);T.write(`const ${A} = ${o}[k];`),ue(T,n,g,A,!1)}),e.write("}")}return null}if(I){e.write(`const ${x} = {};`);for(let b of u){let T=d(b),A=f.get(b);bu(m[b])?e.write(`if (${T} in ${o}) ${x}[${T}] = ${A};`):Ff(m[b])?e.write(`if (${A} !== undefined || ${T} in ${o}) ${x}[${T}] = ${A};`):e.write(`${x}[${T}] = ${A};`)}}else{let b=u.map(T=>`${p(T)}: ${f.get(T)}`).join(", ");e.write(`const ${x} = { ${b} };`)}if(y!=="none"){let b=s.length>0?L(n,new Set(s)):null;e.write(`for (const k in ${o}) {`),e.indented(T=>{if(T.write('if (k === "__proto__") continue;'),b&&T.write(`if (${b}.has(k)) continue;`),y==="passthrough")T.write(`${x}[k] = ${o}[k];`);else{let A=z(n);T.write(`const ${A} = ${o}[k];`);let D=ue(T,n,g,A);T.write(`${x}[k] = ${D};`)}}),e.write("}")}return x}function hk(e,n,i,o,t=!0){let r=i._zod.def;if(vk(i))return Q(e,n,r.innerType,o,t);if(r.innerType._zod.optin==="defaulted"){let s=z(n),c=z(n);return e.write(`let ${s};`),e.write(`if (${o} === undefined) {`),e.indented(u=>{u.write(`const ${c} = (() => {`),u.indented(d=>{let p=Q(d,n,r.innerType,o);d.write(`return ${p};`)}),u.write("})();"),u.write(`if (${c} !== INVALID) ${s} = ${c};`)}),e.write("} else {"),e.indented(u=>{let d=Q(u,n,r.innerType,o);u.write(`${s} = ${d};`)}),e.write("}"),s}let a=t?z(n):null;return a&&e.write(`let ${a};`),e.write(`if (${o} !== undefined) {`),e.indented(s=>{let c=Q(s,n,r.innerType,o,t);a&&c!==null&&s.write(`${a} = ${c};`)}),e.write("}"),a}function vk(e){return e._zod.traits?.has("$ZodExactOptional")===!0}function yk(e){return e._zod.optin===void 0&&Pt(e)}function Pt(e){if(e._zod.def.coerce)return!0;let n=e._zod.def;switch(n.type){case"any":case"unknown":case"undefined":case"void":case"default":case"prefault":case"transform":case"custom":case"lazy":return!0;case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"never":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":return!1;case"nonoptional":return n.innerType?Pt(n.innerType):!1;case"literal":return!!n.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":case"nullable":case"readonly":case"success":return n.innerType?Pt(n.innerType):!0;case"catch":return!0;case"union":return n.options?n.options.some(Pt):!0;case"intersection":return!n.left||!n.right?!0:Pt(n.left)&&Pt(n.right);case"pipe":return n.in?Pt(n.in):!0;default:return!0}}function bu(e){return e._zod.optin==="optional"&&e._zod.optout==="optional"}function Ff(e){return(e._zod.optin!=="defaulted"||e._zod.optout==="optional")&&sn(e)}function sn(e){let n=e._zod.def;switch(n.type){case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":case"never":case"success":return!1;case"literal":return!!n.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":return!0;case"nullable":case"readonly":case"nonoptional":return n.innerType?sn(n.innerType):!0;case"union":return n.options?n.options.some(sn):!0;case"intersection":return!n.left||!n.right||sn(n.left)||sn(n.right);case"pipe":return n.out?sn(n.out):!0;default:return!0}}function bk(e,n,i,o,t=!0){let r=i._zod.def,a=t?z(n):null;return a&&e.write(`let ${a} = null;`),e.write(`if (${o} !== null) {`),e.indented(s=>{let c=Q(s,n,r.innerType,o,t);a&&c!==null&&s.write(`${a} = ${c};`)}),e.write("}"),a}function ku(e,n,i){for(let[o,t]of Xt(n._zod.def.checks))e.write(`if (${i} > ${at(o,t._zod.def.check)}) return INVALID;`)}function _k(e,n,i,o,t=!0){let r=i._zod.def;e.write(`if (!Array.isArray(${o})) return INVALID;`),ku(e,i,`${o}.length`);let a=t?z(n):null,s=z(n),c=z(n);return a&&e.write(`const ${a} = new Array(${o}.length);`),e.write(`for (let ${s} = 0; ${s} < ${o}.length; ${s}++) {`),e.indented(u=>{u.write(`const ${c} = ${o}[${s}];`);let d=ue(u,n,r.element,c,t);a&&d!==null&&u.write(`${a}[${s}] = ${d};`)}),e.write("}"),a}function $k(e,n,i,o){let r=i._zod.def.values;if(r.length!==1){let s=L(n,new Set(r));return e.write(`if (!${s}.has(${o})) return INVALID;`),o}let a=r[0];if(typeof a=="number"&&Number.isNaN(a)){let s=L(n,new Set(r));return e.write(`if (!${s}.has(${o})) return INVALID;`),o}if(typeof a=="string")e.write(`if (${o} !== ${de(a)}) return INVALID;`);else if(typeof a=="number"||typeof a=="boolean")e.write(`if (${o} !== ${a}) return INVALID;`);else if(a===null)e.write(`if (${o} !== null) return INVALID;`);else if(a===void 0)e.write(`if (${o} !== undefined) return INVALID;`);else if(typeof a=="bigint")e.write(`if (${o} !== ${a}n) return INVALID;`);else throw new V(`literal type ${typeof a}`);return o}function kk(e,n,i,o){let t=i._zod.values;if(!t)throw new V("enum schema without enumerated values");let r=L(n,t);return e.write(`if (!${r}.has(${o})) return INVALID;`),o}function Bf(e,n,i,o){let t=i._zod.def;return Q(e,n,t.innerType,o)}function xk(e,n,i,o){let t=i._zod.def,a=Object.getOwnPropertyDescriptor(i._zod.def,"defaultValue")?()=>i._zod.def.defaultValue:void 0;if(i._zod.def.type==="prefault"){if(!a)return Q(e,n,t.innerType,o);let c=L(n,a),u=z(n);return e.write(`let ${u} = ${o};`),e.write(`if (${o} === undefined) ${u} = ${c}();`),Q(e,n,t.innerType,u)}let s=z(n);if(a){let c=L(n,a),u=L(n,Bn);e.write(`let ${s};`),e.write(`if (${o} === undefined) {`),e.indented(d=>{d.write(`${s} = ${u}(${c}());`)}),e.write("} else {"),e.indented(d=>{let p=Q(d,n,t.innerType,o);d.write(`${s} = ${p} === undefined ? ${u}(${c}()) : ${p};`)}),e.write("}")}else e.write(`let ${s};`),e.write(`if (${o} !== undefined) {`),e.indented(c=>{let u=Q(c,n,t.innerType,o);c.write(`${s} = ${u};`)}),e.write("}");return s}function wk(e,n,i,o){let t=i._zod.def,r=Q(e,n,t.innerType,o),a=z(n);return e.write(`const ${a} = ${r};`),e.write(`if (${a} === undefined) return INVALID;`),a}function Ik(e,n,i,o){let t=i._zod.def,r=t.items,a=t.rest;e.write(`if (!Array.isArray(${o})) return INVALID;`);let s=Hf(r,"optin"),c=Hf(r,"optout");a?e.write(`if (${o}.length < ${s}) return INVALID;`):e.write(`if (${o}.length < ${s} || ${o}.length > ${r.length}) return INVALID;`);let u=z(n);e.write(`const ${u} = [];`);for(let d=0;d=c)e.write(`if (${u}.length === ${d}) {`),e.indented(m=>{m.write(`if (${d} < ${o}.length) {`),m.indented(f=>{let g=z(n);f.write(`const ${g} = ${o}[${d}];`);let y=ue(f,n,p,g);f.write(`${u}[${d}] = ${y};`)}),m.write("} else {"),m.indented(f=>{if(bu(p)){f.write(`${u}.length = ${d};`);return}let g=z(n),y=z(n);f.write(`const ${g} = undefined;`),f.write(`const ${y} = (() => {`),f.indented(x=>{let I=ue(x,n,p,g);x.write(`return ${I};`)}),f.write("})();"),f.write(`if (${y} === INVALID || ${y} === undefined) ${u}.length = ${d};`),f.write(`else ${u}[${d}] = ${y};`)}),m.write("}")}),e.write("}");else{let m=z(n);e.write(`const ${m} = ${o}[${d}];`);let f=ue(e,n,p,m);e.write(`${u}[${d}] = ${f};`)}}if(a){let d=z(n),p=z(n);e.write(`for (let ${d} = ${r.length}; ${d} < ${o}.length; ${d}++) {`),e.indented(m=>{m.write(`const ${p} = ${o}[${d}];`);let f=ue(m,n,a,p);m.write(`${u}[${d}] = ${f};`)}),e.write("}")}return u}function Hf(e,n){for(let i=e.length-1;i>=0;i--)if(!(n==="optin"?e[i]._zod.optin!==void 0:e[i]._zod.optout==="optional"))return i+1;return 0}function Sk(e,n,i,o){let t=i._zod.def,r=t.options;if(t.discriminator)return Pk(e,n,t,o);if(t.inclusive===!1)throw new V("exclusive unions (z.xor)");if(r.length===0)return e.write("return INVALID;"),o;if(r.length===1)return Q(e,n,r[0],o);if(r.every(c=>c._zod.def.type==="literal"&&!c._zod.def.checks?.length)){let c=new Set(r.flatMap(d=>d._zod.def.values)),u=L(n,c);return e.write(`if (!${u}.has(${o})) return INVALID;`),o}let s=z(n);e.write(`let ${s};`);for(let c=0;c {`):e.write(`if (${s} === INVALID) ${s} = (() => {`),e.indented(d=>{let p=Q(d,n,u,o);d.write(`return ${p};`)}),e.write("})();")}return e.write(`if (${s} === INVALID) return INVALID;`),s}function Pk(e,n,i,o){if(i.unionFallback)throw new V("discriminated union with unionFallback");if(i.options.length===0)return e.write("return INVALID;"),o;let t=z(n),r=z(n);e.write(`const ${t} = ${o}?.[${de(i.discriminator)}];`),e.write(`let ${r};`);let a=!0,s=new Set;for(let c of i.options){let u=c._zod.propValues?.[i.discriminator];if(!u||u.size===0)throw new V("discriminated union option without static discriminator values");for(let m of u){if(s.has(m))throw new V(`duplicate discriminator value ${String(m)}`);s.add(m)}let d=Array.from(u,m=>Tk(n,t,m)),p=a?"if":"else if";e.write(`${p} (${d.join(" || ")}) {`),e.indented(m=>{let f=Q(m,n,c,o);m.write(`${r} = ${f};`)}),e.write("}"),a=!1}return e.write("else { return INVALID; }"),r}function Tk(e,n,i){if(typeof i=="string")return`${n} === ${de(i)}`;if(typeof i=="number")return Number.isNaN(i)?`Number.isNaN(${n})`:`${n} === ${i}`;if(typeof i=="boolean")return`${n} === ${i}`;if(i===null)return`${n} === null`;if(i===void 0)return`${n} === undefined`;if(typeof i=="bigint")return`${n} === ${i}n`;if(typeof i=="symbol"){let o=L(e,i);return`${n} === ${o}`}throw new V(`literal discriminator value ${String(i)}`)}function Ek(e,n,i,o){let t=i._zod.def;n.definite=!1;let r=ue(e,n,t.left,o),a=ue(e,n,t.right,o),s=L(n,rn),c=z(n);return e.write(`const ${c} = ${s}(${r}, ${a});`),e.write(`if (!${c}.valid) return INVALID;`),`${c}.data`}function Ak(e,n,i,o){let t=i._zod.def,r=L(n,Se);e.write(`if (!${r}(${o})) return INVALID;`);let a=z(n),s=z(n),c=z(n);e.write(`const ${a} = {};`);let u=t,d=u.partial?void 0:t.keyType._zod.values;if(d){let f=[];for(let y of d){if(!(typeof y=="string"||typeof y=="number"||typeof y=="symbol"))throw new V(`record key value ${String(y)}`);let x=typeof y=="number"?y.toString():y;if(x==="__proto__")throw new V('record key "__proto__"');f.push(x);let I=L(n,y),b=Q(e,n,t.keyType,I),T=z(n);e.write(`const ${T} = ${o}[${Ok(n,x)}];`);let A=ue(e,n,t.valueType,T);e.write(`${a}[${b}] = ${A};`)}let g=L(n,new Set(f));return e.write(`for (const ${s} in ${o}) {`),e.indented(y=>{y.write(`if (${g}.has(${s})) continue;`),u.mode==="loose"?y.write(`if (${s} !== "__proto__") ${a}[${s}] = ${o}[${s}];`):y.write("return INVALID;")}),e.write("}"),a}let p=t.keyType._zod.def;if(!(p.type==="string"&&p.format===void 0&&!p.coerce&&(p.checks?.length??0)===0)){let f=t.mode==="loose",g=eo(t.keyType);g.definite===!1&&(n.definite=!1);let y=L(n,g),x=L(n,qe),I=z(n);return Kf(e,n,o,s,b=>{b.write(`let ${I} = ${y}(${s});`),b.write(`if (${I} === INVALID && typeof ${s} === "string" && ${x}.test(${s})) ${I} = ${y}(Number(${s}));`),f?b.write(`if (${I} === INVALID) { ${a}[${s}] = ${o}[${s}]; continue; }`):b.write(`if (${I} === INVALID) return INVALID;`),b.write(`if (${I} === "__proto__") continue;`);let T=z(n);b.write(`const ${T} = ${o}[${s}];`);let A=ue(b,n,t.valueType,T);b.write(`${a}[${I}] = ${A};`)}),a}return Kf(e,n,o,s,f=>{f.write(`const ${c} = ${o}[${s}];`);let g=ue(f,n,t.valueType,c);f.write(`${a}[${s}] = ${g};`)},"return INVALID;"),a}function Kf(e,n,i,o,t,r){let a=L(n,Object.prototype.propertyIsEnumerable),s=z(n),c=z(n),u=z(n);e.write(`const ${s} = Object.getOwnPropertySymbols(${i});`),e.write(`const ${c} = Object.getOwnPropertyNames(${i});`),e.write(`for (let ${u} = 0; ${u} < ${c}.length; ${u}++) {`),e.indented(d=>{d.write(`const ${o} = ${c}[${u}];`),d.write(`if (${o} === "__proto__" || !${a}.call(${i}, ${o})) continue;`),t(d)}),e.write("}"),e.write(`for (let ${u} = 0; ${u} < ${s}.length; ${u}++) {`),e.indented(d=>{d.write(`const ${o} = ${s}[${u}];`),d.write(`if (!${a}.call(${i}, ${o})) continue;`),r?d.write(r):t(d)}),e.write("}")}function Ok(e,n){return typeof n=="string"?de(n):L(e,n)}function Nk(e,n,i,o){let t=i._zod.def;e.write(`if (!(${o} instanceof Map)) return INVALID;`),ku(e,i,`${o}.size`);let r=z(n),a=z(n),s=z(n);return e.write(`const ${r} = new Map();`),e.write(`for (const [${a}, ${s}] of ${o}) {`),e.indented(c=>{let u=Q(c,n,t.keyType,a),d=Q(c,n,t.valueType,s);c.write(`${r}.set(${u}, ${d});`)}),e.write("}"),r}function zk(e,n,i,o){let t=i._zod.def;e.write(`if (!(${o} instanceof Set)) return INVALID;`),ku(e,i,`${o}.size`);let r=z(n),a=z(n);return e.write(`const ${r} = new Set();`),e.write(`for (const ${a} of ${o}) {`),e.indented(s=>{let c=Q(s,n,t.valueType,a);s.write(`${r}.add(${c});`)}),e.write("}"),r}function Dk(e,n){return e.write(`if (!(${n} instanceof File)) return INVALID;`),n}function Ck(e,n,i,o){e.write(`if (typeof ${o} !== "string") return INVALID;`);let t=i._zod.pattern;if(t){let r=L(n,t);e.write(`${r}.lastIndex = 0;`),e.write(`if (!${r}.test(${o})) return INVALID;`)}return o}function jk(e,n,i,o){let t=i._zod.def,r=Tt(n,t.getter),a=L(n,{parser:null});e.write(`if (!${a}.parser) {`),e.indented(c=>{c.write(`const inner = ${r}();`),c.write(`${a}.parser = function(input) {`),c.indented(u=>{u.write("const result = inner._zod.run({ value: input, issues: [] }, {});"),u.write("return result.issues.length === 0 ? result.value : INVALID;")}),c.write("};")}),e.write("}");let s=z(n);return e.write(`const ${s} = ${a}.parser(${o});`),e.write(`if (${s} === INVALID) return INVALID;`),s}function Lk(e,n,i,o){let t=i._zod.def,r=Q(e,n,t.in,o);if(t.transform){if(Et(t.transform))throw new De("z.compile: async transforms in pipes are not supported");let a=t.transform,c=Tt(n,d=>{let p={value:d,issues:[],addIssue:$u},m=a(d,p);return m instanceof Promise?me:p.issues.length===0?m:me}),u=z(n);return e.write(`const ${u} = ${c}(${r});`),e.write(`if (${u} === INVALID) return INVALID;`),Q(e,n,t.out,u)}else return Q(e,n,t.out,r)}function Et(e){return typeof e=="function"&&(e.constructor.name==="AsyncFunction"||e[Symbol.toStringTag]==="AsyncFunction")}function Uk(e,n,i,o){let t=i._zod.def;if(t.fn){if(Et(t.fn))throw new De("z.compile: async custom predicates are not supported");let r=Tt(n,t.fn),a=L(n,yu),s=z(n);e.write(`const ${s} = ${r}(${o});`),e.write(`if (${s} instanceof Promise) ${a}();`),e.write(`if (!${s}) return INVALID;`)}else throw new V("custom schema without a predicate function");return o}function Rk(e,n,i){let o=e._zod.run({value:i,issues:[]},{});if(o&&typeof o.then=="function")return me;let t=o;return t.issues.length===0?t.value:n()}function Mk(e,n,i,o){let t=i._zod.def;if(!t.catchValue[oi])throw new V("catch with a callback (only a constant catch value compiles)",!1);let r=z(n);e.write(`let ${r} = (() => {`),e.indented(u=>{let d=ue(u,n,t.innerType,o);u.write(`return ${d};`)}),e.write("})();");let a=L(n,t.innerType),s=Tt(n,t.catchValue),c=L(n,Rk);return e.write(`if (${r} === INVALID) {`),e.indented(u=>{u.write(`${r} = ${c}(${a}, ${s}, ${o});`),u.write(`if (${r} === INVALID) return INVALID;`)}),e.write("}"),r}function Zk(e,n,i,o){let t=i._zod.def;if(t.transform){if(Et(t.transform))throw new De("z.compile: async transforms are not supported");let r=t.transform,s=Tt(n,u=>{let d={value:u,issues:[],addIssue:$u},p=r(u,d);return p instanceof Promise?me:d.issues.length===0?p:me}),c=z(n);return e.write(`const ${c} = ${s}(${o});`),e.write(`if (${c} === INVALID) return INVALID;`),c}return o}function to(e){return e.checks&&(e.checks=[...e.checks]),e}function xu(e,n){return new e(to({type:"string",...S(n)}))}function wu(e,n){return new e(to({type:"string",coerce:!0,...S(n)}))}function no(e,n){return new e({type:"string",format:"email",check:"string_format",abort:!1,...S(n)})}function ro(e,n){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...S(n)})}function io(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...S(n)})}function oo(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...S(n)})}function ao(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...S(n)})}function so(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...S(n)})}function $r(e,n){return new e({type:"string",format:"url",check:"string_format",abort:!1,...S(n)})}function co(e,n){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...S(n)})}function uo(e,n){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...S(n)})}function lo(e,n){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...S(n)})}function po(e,n){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...S(n)})}function mo(e,n){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...S(n)})}function fo(e,n){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...S(n)})}function go(e,n){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...S(n)})}function ho(e,n){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...S(n)})}function vo(e,n){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...S(n)})}function Iu(e,n){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...S(n)})}function yo(e,n){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...S(n)})}function bo(e,n){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...S(n)})}function _o(e,n){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...S(n)})}function $o(e,n){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...S(n)})}function ko(e,n){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...S(n)})}function Su(e,n){return new e({type:"string",format:"credit_card",check:"string_format",abort:!1,...S(n)})}function Pu(e,n){return new e({type:"string",format:"iban",check:"string_format",abort:!1,...S(n)})}function xo(e,n){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...S(n)})}var Tu={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function kr(e,n){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...S(n)})}function xr(e,n){return new e({type:"string",format:"date",check:"string_format",...S(n)})}function wr(e,n){return new e({type:"string",format:"time",check:"string_format",precision:null,...S(n)})}function Ir(e,n){return new e({type:"string",format:"duration",check:"string_format",...S(n)})}function Eu(e,n){return new e(to({type:"number",checks:[],...S(n)}))}function Au(e,n){return new e(to({type:"number",coerce:!0,checks:[],...S(n)}))}function Ou(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...S(n)})}function Nu(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...S(n)})}function zu(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...S(n)})}function Du(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...S(n)})}function Cu(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...S(n)})}function ju(e,n){return new e({type:"boolean",...S(n)})}function Lu(e,n){return new e({type:"boolean",coerce:!0,...S(n)})}function Uu(e,n){return new e({type:"bigint",...S(n)})}function Ru(e,n){return new e({type:"bigint",coerce:!0,...S(n)})}function Mu(e,n){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...S(n)})}function Zu(e,n){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...S(n)})}function Vu(e,n){return new e({type:"symbol",...S(n)})}function Gu(e,n){return new e({type:"undefined",...S(n)})}function Fu(e,n){return new e({type:"null",...S(n)})}function Bu(e){return new e({type:"any"})}function Hu(e){return new e({type:"unknown"})}function Ku(e,n){return new e({type:"never",...S(n)})}function Wu(e,n){return new e({type:"void",...S(n)})}function Ju(e,n){return new e({type:"date",...S(n)})}function Xu(e,n){return new e({type:"date",coerce:!0,...S(n)})}function qu(e,n){return new e({type:"nan",...S(n)})}function Ze(e,n){return new $i({check:"less_than",...S(n),value:e,inclusive:!1})}function we(e,n){return new $i({check:"less_than",...S(n),value:e,inclusive:!0})}function Ve(e,n){return new ki({check:"greater_than",...S(n),value:e,inclusive:!1})}function Ie(e,n){return new ki({check:"greater_than",...S(n),value:e,inclusive:!0})}function wo(e){return Ve(0,e)}function Io(e){return Ze(0,e)}function So(e){return we(0,e)}function Po(e){return Ie(0,e)}function st(e,n){return new zs({check:"multiple_of",...S(n),value:e})}function ct(e,n){return new js({check:"max_size",...S(n),maximum:e})}function Ge(e,n){return new Ls({check:"min_size",...S(n),minimum:e})}function At(e,n){return new Us({check:"size_equals",...S(n),size:e})}function Ot(e,n){return new Rs({check:"max_length",...S(n),maximum:e})}function Ye(e,n){return new Ms({check:"min_length",...S(n),minimum:e})}function Nt(e,n){return new Zs({check:"length_equals",...S(n),length:e})}function cn(e,n){return new Vs({check:"string_format",format:"regex",...S(n),pattern:e})}function un(e){return new Gs({check:"string_format",format:"lowercase",...S(e)})}function ln(e){return new Fs({check:"string_format",format:"uppercase",...S(e)})}function dn(e,n){return new Bs({check:"string_format",format:"includes",...S(n),includes:e})}function pn(e,n){return new Hs({check:"string_format",format:"starts_with",...S(n),prefix:e})}function mn(e,n){return new Ks({check:"string_format",format:"ends_with",...S(n),suffix:e})}function To(e,n,i){return new Ws({check:"property",property:e,schema:n,...S(i)})}function fn(e,n){return new Js({check:"properties",shape:e,...S(n)})}function gn(e,n){return new Xs({check:"mime_type",mime:e,...S(n)})}function Ce(e){return new qs({check:"overwrite",tx:e})}function hn(e){return Ce(n=>n.normalize(e))}function vn(){return Ce(e=>e.trim())}function yn(){return Ce(e=>e.toLowerCase())}function bn(){return Ce(e=>e.toUpperCase())}function _n(){return Ce(e=>Ca(e))}function Yu(e,n,i){return new e({type:"array",element:n,...S(i)})}function Vk(e,n,i){return new e({type:"union",options:n,...S(i)})}function Gk(e,n,i){return new e({type:"union",options:n,inclusive:!1,...S(i)})}function Fk(e,n,i,o){return new e({type:"union",options:i,discriminator:n,...S(o)})}function Bk(e,n,i){return new e({type:"intersection",left:n,right:i})}function Hk(e,n,i,o){let t=i instanceof U,r=t?o:i,a=t?i:null;return new e({type:"tuple",items:n,rest:a,...S(r)})}function Kk(e,n,i,o){return new e({type:"record",keyType:n,valueType:i,...S(o)})}function Wk(e,n,i,o){return new e({type:"map",keyType:n,valueType:i,...S(o)})}function Jk(e,n,i){return new e({type:"set",valueType:n,...S(i)})}function Xk(e,n,i){let o=Array.isArray(n)?Object.fromEntries(n.map(t=>[t,t])):n;return new e({type:"enum",entries:o,...S(i)})}function qk(e,n,i){return new e({type:"enum",entries:n,...S(i)})}function Yk(e,n,i){return new e({type:"literal",values:Array.isArray(n)?n:[n],...S(i)})}function Qu(e,n){return new e({type:"file",...S(n)})}function Qk(e,n){return new e({type:"transform",transform:n})}function ex(e,n){return new e({type:"optional",innerType:n})}function tx(e,n){return new e({type:"nullable",innerType:n})}function nx(e,n,i){return new e({type:"default",innerType:n,get defaultValue(){return typeof i=="function"?i():Bn(i)}})}function rx(e,n,i){return new e({type:"nonoptional",innerType:n,...S(i)})}function ix(e,n){return new e({type:"success",innerType:n})}function ox(e,n,i){return new e({type:"catch",innerType:n,catchValue:typeof i=="function"?i:Za(i)})}function ax(e,n,i){return new e({type:"pipe",in:n,out:i})}function sx(e,n){return new e({type:"readonly",innerType:n})}function cx(e,n,i){return new e({type:"template_literal",parts:n,...S(i)})}function ux(e,n){return new e({type:"lazy",getter:n})}function lx(e,n){return new e({type:"promise",innerType:n})}function el(e,n,i){let o=S(i);return o.abort??(o.abort=!0),new e({type:"custom",check:"custom",fn:n,...o})}function tl(e,n,i){return new e({type:"custom",check:"custom",fn:n,...S(i)})}function nl(e,n){let i=qf(o=>(o.addIssue=t=>{if(typeof t=="string")o.issues.push(qt(t,o.value,i._zod.def));else{let r=t;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),"input"in r||(r.input=o.value),r.inst??(r.inst=i),r.continue??(r.continue=!i._zod.def.abort),o.issues.push(qt(r))}},e(o.value,o)),n);return i}function qf(e,n){let i=new q({check:"custom",...S(n)});return i._zod.check=e,i}function rl(e){let n=new q({check:"describe"});return n._zod.onattach=[i=>{let o=ce.get(i)??{};ce.add(i,{...o,description:e})}],n._zod.check=()=>{},n}function il(e){let n=new q({check:"meta"});return n._zod.onattach=[i=>{let o=ce.get(i)??{};ce.add(i,{...o,...e})}],n._zod.check=()=>{},n}function ol(e,n){let i=S(n),o=i.truthy??["true","1","yes","on","y","enabled"],t=i.falsy??["false","0","no","off","n","disabled"];i.case!=="sensitive"&&(o=o.map(f=>typeof f=="string"?f.toLowerCase():f),t=t.map(f=>typeof f=="string"?f.toLowerCase():f));let r=new Set(o),a=new Set(t),s=e.Codec??fr,c=e.Boolean??pr,u=e.String??St,d=new u({type:"string",error:i.error}),p=new c({type:"boolean",error:i.error}),m=new s({type:"pipe",in:d,out:p,transform:((f,g)=>{let y=f;return i.case!=="sensitive"&&(y=y.toLowerCase()),r.has(y)?!0:a.has(y)?!1:(g.issues.push({code:"invalid_value",expected:"stringbool",values:[...r,...a],input:g.value,inst:m,continue:!1}),{})}),reverseTransform:((f,g)=>f===!0?o[0]||"true":t[0]||"false"),error:i.error});return m._zod.bag.truthy=o,m._zod.bag.falsy=t,m._zod.bag.case=i.case??"insensitive",m}function zt(e,n,i,o={}){let t=S(o),r={check:"string_format",type:"string",format:n,fn:typeof i=="function"?i:s=>i.test(s),...t};return i instanceof RegExp&&(r.pattern=i),new e(r)}function Sr(e,...n){for(let i of n)for(let o of Reflect.ownKeys(i))Object.prototype.propertyIsEnumerable.call(i,o)&&se(e,o,i[o]);return e}function ut(e){let n=e?.target??"draft-2020-12";return n==="draft-4"&&(n="draft-04"),n==="draft-7"&&(n="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??ce,target:n,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??"ref",reused:e?.reused??"inline",intersections:[],deferred:[],external:e?.external??void 0}}function re(e,n,i,o,t){let r=typeof n.unrepresentable=="function"?n.unrepresentable({zodSchema:e,path:o.path,message:t}):n.unrepresentable;if(r==="any")return!1;if(r===void 0||r==="throw")throw new Error(t);return Object.assign(i,r),!0}function J(e,n,i={path:[],schemaPath:[]}){var o;let t=e._zod.def,r=n.seen.get(e);if(r)return r.count++,i.schemaPath.includes(e)&&(r.cycle=i.path),r.schema;let a={schema:{},count:1,cycle:void 0,path:i.path};n.seen.set(e,a),n.sharedDefsExtractedFor=void 0,n.sharedEmitDoneFor=void 0;let s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{let d={...i,schemaPath:[...i.schemaPath,e],path:i.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(n,a.schema,d);else{let m=a.schema,f=n.processors[t.type];if(!f)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${t.type}`);f(e,n,m,d)}let p=e._zod.parent;p&&(a.ref||(a.ref=p),J(p,n,d),n.seen.get(p).isParent=!0)}let c=n.metadataRegistry.get(e);return c&&Sr(a.schema,c),n.io==="input"&&fe(e)&&(delete a.schema.examples,delete a.schema.default),n.io==="input"&&"_prefault"in a.schema&&((o=a.schema).default??(o.default=a.schema._prefault)),delete a.schema._prefault,n.seen.get(e).schema}function Yf(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function lt(e,n){let i=e.seen.get(n);if(!i)throw new Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let o=new Map;for(let a of e.seen.entries()){let s=e.metadataRegistry.get(a[0])?.id;if(s){let c=o.get(s);if(c&&c!==a[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);o.set(s,a[0])}}let t=a=>{let s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let p=e.external.registry.get(a[0])?.id,m=e.external.uri??(g=>g);if(p)return{ref:m(p)};let f=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=f,{defId:f,ref:`${m("__shared")}#/${s}/${Yf(f)}`}}let c="#",u=`${c}/${s}/`;if(a[1]===i&&!a[1].schema.id)return{ref:c};let d=a[1].schema.id??`__schema${e.counter++}`;return{defId:d,ref:u+Yf(d)}},r=a=>{if(a[1].schema.$ref)return;let s=a[1],{ref:c,defId:u}=t(a);s.def={...s.schema},u&&(s.defId=u);let d=s.schema;for(let p in d)delete d[p];d.$ref=c};if(e.cycles==="throw")for(let a of e.seen.entries()){let s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/ + `)}return x.write("payload.value = newResult;"),x.write("return payload;"),x.compile()},a,s=kt,u=!ae.jitless,d=u&&Za.value,p=n.catchall,m;e._zod.parse=(f,g)=>{m??(m=o.value);let y=f.value;return s(y)?u&&d&&g?.async===!1&&g.jitless!==!0?(a||(a=r(n.shape)),f=a(f,g),p?Nm([],y,f,g,m,e,g?.abortEarly===!0):f):i(f,g):(f.issues.push({expected:"object",code:"invalid_type",input:y,inst:e}),f)}});function gm(e,n,i,o){for(let r of e)if(r.issues.length===0)return n.value=r.value,n;let t=e.filter(r=>!me(r));return t.length===1?(n.value=t[0].value,t[0]):(n.issues.push({code:"invalid_union",input:n.value,inst:i,errors:e.map(r=>r.issues.map(a=>_e(a,o,te())))}),n)}var mr=h("$ZodUnion",(e,n)=>{U.init(e,n),Z(e,"optin",o=>o.def.options.some(t=>t._zod.optin==="defaulted")?"defaulted":o.def.options.some(t=>t._zod.optin!==void 0)?"optional":void 0),Z(e,"optout",o=>o.def.options.some(t=>t._zod.optout==="optional")?"optional":void 0),Z(e,"values",o=>{if(o.def.options.every(t=>t._zod.values))return new Set(o.def.options.flatMap(t=>Array.from(t._zod.values)))}),Z(e,"pattern",o=>{if(o.def.options.every(t=>t._zod.pattern)){let t=o.def.options.map(r=>r._zod.pattern);return new RegExp(`^(${t.map(r=>Xe(r.source)).join("|")})$`)}});let i=n.options.length===1?n.options[0]._zod.run:null;e._zod.parse=(o,t)=>{if(i)return i(o,t);let r=!1,a=[];for(let s of n.options){let u=s._zod.run({value:o.value,issues:[]},t);if(u instanceof Promise)a.push(u),r=!0;else{if(u.issues.length===0)return u;a.push(u)}}return r?Promise.all(a).then(s=>gm(s,o,e,t)):gm(a,o,e,t)}});function hm(e,n,i,o){let t=[];for(let r=0;rr.issues.map(a=>_e(a,o,te())))}):n.issues.push({code:"invalid_union",input:n.value,inst:i,errors:[],inclusive:!1,matches:t}),n)}var Wu=h("$ZodXor",(e,n)=>{mr.init(e,n),n.inclusive=!1;let i=n.options.length===1?n.options[0]._zod.run:null;e._zod.parse=(o,t)=>{if(i)return i(o,t);let r=!1,a=[];for(let s of n.options){let u=s._zod.run({value:o.value,issues:[]},t);u instanceof Promise?(a.push(u),r=!0):a.push(u)}return r?Promise.all(a).then(s=>hm(s,o,e,t)):hm(a,o,e,t)}});function Ku(e,n){let i=e._zod,o=i.bag.optionsMap;o||(o=Dm(i.def),i.bag.optionsMap=o);let t=o.get(n);if(t===null)throw new Error(`Ambiguous discriminator value "${String(n)}"`);return t}function Dm(e){let n=new Map;for(let i of e.options){let o=i._zod.propValues?.[e.discriminator];if(!o||o.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(i)}"`);for(let t of o)if(n.has(t)){if(t!==void 0)throw new Error(`Duplicate discriminator value "${String(t)}"`);n.set(t,null)}else n.set(t,i)}return n}var Ju=h("$ZodDiscriminatedUnion",(e,n)=>{n.inclusive=!1,mr.init(e,n);let i=e._zod.parse;Z(e,"propValues",t=>{let r={},a=0;for(let s of t.def.options){let u=s._zod.propValues;if(!u||Object.keys(u).length===0)throw new Error(`Invalid discriminated union option at index "${t.def.options.indexOf(s)}"`);u[t.def.discriminator]?.has(void 0)&&a++;for(let[c,d]of Object.entries(u)){Object.prototype.hasOwnProperty.call(r,c)||se(r,c,new Set);for(let p of d)r[c].add(p)}}return!t.def.unionFallback&&a>1&&r[t.def.discriminator]?.delete(void 0),r}),n.options.forEach((t,r)=>{let a=Jt(t._zod.def);if(a&&!Object.prototype.hasOwnProperty.call(a,n.discriminator))throw new Error(`Invalid discriminated union option at index "${r}"`)});let o=Kt(()=>Dm(n));e._zod.parse=(t,r)=>{let a=t.value;if(!kt(a))return t.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),t;let s=a?.[n.discriminator],u=o.value.get(s);return u&&(s!==void 0||r.direction!=="backward")?u._zod.run(t,r):n.unionFallback||r.direction==="backward"?i(t,r):(t.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:n.discriminator,options:Array.from(o.value.keys()).filter(c=>o.value.get(c)!==null),input:a,path:[n.discriminator],inst:e}),t)}}),Xu=h("$ZodIntersection",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>{let t=i.value,r=n.left._zod.run({value:t,issues:[]},o),a=n.right._zod.run({value:t,issues:[]},o);return r instanceof Promise||a instanceof Promise?Promise.all([r,a]).then(([u,c])=>vm(i,u,c)):vm(i,r,a)}});function rn(e,n){if(e===n)return{valid:!0,data:e};if(e instanceof Date&&n instanceof Date&&+e==+n)return{valid:!0,data:e};if(Se(e)&&Se(n)){let i=Object.keys(n),o=Object.keys(e).filter(r=>i.indexOf(r)!==-1),t={...e,...n};Object.prototype.hasOwnProperty.call(t,"__proto__")&&delete t.__proto__;for(let r of o){if(r==="__proto__")continue;let a=rn(e[r],n[r]);if(!a.valid)return{valid:!1,mergeErrorPath:[r,...a.mergeErrorPath]};t[r]=a.data}return{valid:!0,data:t}}if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return{valid:!1,mergeErrorPath:[]};let i=[];for(let o=0;o{let p;if(c.code==="unrecognized_keys"&&!c.path?.length)t??(t=c),p=c.keys;else if(c.code==="invalid_key"&&c.origin==="record"&&c.path?.length===1){let m=String(c.path[0]);r.has(m)||r.set(m,c),p=[m]}else return!1;for(let m of p)o.has(m)||o.set(m,{}),o.get(m)[d]=!0;return!0};for(let c of n.issues)a(c,"l")||e.issues.push(c);for(let c of i.issues)a(c,"r")||e.issues.push(c);let s=[...o].filter(([,c])=>c.l&&c.r).map(([c])=>c);if(s.length){let c=t?s.filter(d=>t.keys.includes(d)):[];c.length&&e.issues.push({...t,keys:c});for(let d of s)!c.includes(d)&&r.has(d)&&e.issues.push(r.get(d))}let u=rn(n.value,i.value);if(!u.valid){if(me(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(u.mergeErrorPath)}`)}return e.value=u.data,e}var Mi=h("$ZodTuple",(e,n)=>{U.init(e,n);let i=n.items,o=ae.memoizer;o?.attach(e),e._zod.parse=(t,r)=>{let a=t.value;if(!Array.isArray(a))return t.issues.push({input:a,inst:e,expected:"tuple",code:"invalid_type"}),t;t.value=o?o.alloc(e,t,[],r):[];let s=[],u=ym(i,"optin"),c=ym(i,"optout");if(!n.rest){if(a.lengthi.length&&t.issues.push({code:"too_big",maximum:i.length,inclusive:!0,input:a,inst:e,origin:"array"})}let d=new Array(i.length),p=n.rest?r?.abortEarly:void 0,m=!1;for(let f=0;f{d[f]=y})):(d[f]=g,p&&!m&&g.issues.length&&(m=me(g)))}if(n.rest&&!m){let f=i.length-1,g=a.slice(i.length),y=t.issues.length;for(let x of g){if(p&&t.issues.length!==y){if(me(t,y))break;y=t.issues.length}f++;let I=n.rest._zod.run({value:x,issues:[]},r);I instanceof Promise?s.push(I.then(b=>bm(b,t,f))):bm(I,t,f)}}return s.length?Promise.all(s).then(()=>_m(d,t,i,a,c)):_m(d,t,i,a,c)}});function ym(e,n){for(let i=e.length-1;i>=0;i--)if(!(n==="optin"?e[i]._zod.optin!==void 0:e[i]._zod.optout==="optional"))return i+1;return 0}function bm(e,n,i){e.issues.length&&n.issues.push(...be(i,e.issues)),n.value[i]=e.value}function _m(e,n,i,o,t){for(let r=0;r=t&&i[r]._zod.optin==="optional"){n.value.length=r;break}if(a.issues.length){if(!s&&r>=t){n.value.length=r;break}n.issues.push(...be(r,a.issues))}n.value[r]=a.value}for(let r=n.value.length-1;r>=o.length&&(i[r]._zod.optout==="optional"&&n.value[r]===void 0);r--)n.value.length=r;return n}var qu=h("$ZodRecord",(e,n)=>{U.init(e,n);let i=ae.memoizer;i?.attach(e),e._zod.parse=(o,t)=>{let r=o.value;if(!Se(r))return o.issues.push({expected:"record",code:"invalid_type",input:r,inst:e}),o;let a=[],s=n.keyType._zod.values;if(s&&!n.partial){o.value=i?i.alloc(e,o,{},t):{};let u=new Set;for(let d of s)if(typeof d=="string"||typeof d=="number"||typeof d=="symbol"){if(u.add(typeof d=="number"?d.toString():d),d==="__proto__")continue;let p=n.keyType._zod.run({value:d,issues:[]},t);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(p.issues.length){o.issues.push({code:"invalid_key",origin:"record",issues:p.issues.map(g=>_e(g,t,te())),input:d,path:[d],inst:e});continue}let m=p.value;if(m==="__proto__")continue;let f=n.valueType._zod.run({value:r[d],issues:[]},t);f instanceof Promise?a.push(f.then(g=>{g.issues.length&&o.issues.push(...be(d,g.issues)),o.value[m]=g.value})):(f.issues.length&&o.issues.push(...be(d,f.issues)),o.value[m]=f.value)}let c;for(let d in r)if(!u.has(d))if(n.mode==="loose"){if(d==="__proto__")continue;o.value[d]=r[d]}else c=c??[],c.push(d);c&&c.length>0&&o.issues.push({code:"unrecognized_keys",input:r,inst:e,keys:c,continue:!0})}else{o.value=i?i.alloc(e,o,{},t):{};let u;for(let c of Reflect.ownKeys(r)){if(c==="__proto__"||!Object.prototype.propertyIsEnumerable.call(r,c))continue;let d=n.keyType._zod.run({value:c,issues:[]},t);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&qe.test(c)&&d.issues.length){let g=n.keyType._zod.run({value:Number(c),issues:[]},t);if(g instanceof Promise)throw new Error("Async schemas not supported in object keys currently");g.issues.length===0&&(d=g)}if(d.issues.length){n.mode==="loose"?o.value[c]=r[c]:s?(u=u??[],u.push(c)):o.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map(g=>_e(g,t,te())),input:c,path:[c],inst:e});continue}let m=d.value;if(m==="__proto__")continue;let f=n.valueType._zod.run({value:r[c],issues:[]},t);f instanceof Promise?a.push(f.then(g=>{g.issues.length&&o.issues.push(...be(c,g.issues)),o.value[m]=g.value})):(f.issues.length&&o.issues.push(...be(c,f.issues)),o.value[m]=f.value)}u&&u.length>0&&o.issues.push({code:"unrecognized_keys",input:r,inst:e,keys:u,continue:!0})}return a.length?Promise.all(a).then(()=>o):o}}),Yu=h("$ZodMap",(e,n)=>{U.init(e,n);let i=ae.memoizer;i?.attach(e),e._zod.parse=(o,t)=>{let r=o.value;if(!(r instanceof Map))return o.issues.push({expected:"map",code:"invalid_type",input:r,inst:e}),o;let a=[];o.value=i?i.alloc(e,o,new Map,t):new Map;let s=t?.abortEarly,u=o.issues.length;for(let[c,d]of r){if(s&&o.issues.length!==u){if(me(o,u))break;u=o.issues.length}let p=n.keyType._zod.run({value:c,issues:[]},t),m=n.valueType._zod.run({value:d,issues:[]},t);p instanceof Promise||m instanceof Promise?a.push(Promise.all([p,m]).then(([f,g])=>{$m(f,g,o,c,r,e,t)})):$m(p,m,o,c,r,e,t)}return a.length?Promise.all(a).then(()=>o):o},Gu(e,W_)});function $m(e,n,i,o,t,r,a){e.issues.length&&(Hn.has(typeof o)?i.issues.push(...be(o,e.issues)):i.issues.push({code:"invalid_key",origin:"map",input:t,inst:r,issues:e.issues.map(s=>_e(s,a,te()))})),n.issues.length&&(Hn.has(typeof o)?i.issues.push(...be(o,n.issues)):i.issues.push({origin:"map",code:"invalid_element",input:t,inst:r,key:o,issues:n.issues.map(s=>_e(s,a,te()))})),i.value.set(e.value,n.value)}var Qu=h("$ZodSet",(e,n)=>{U.init(e,n);let i=ae.memoizer;i?.attach(e),e._zod.parse=(o,t)=>{let r=o.value;if(!(r instanceof Set))return o.issues.push({input:r,inst:e,expected:"set",code:"invalid_type"}),o;let a=[];o.value=i?i.alloc(e,o,new Set,t):new Set;let s=t?.abortEarly,u=o.issues.length;for(let c of r){if(s&&o.issues.length!==u){if(me(o,u))break;u=o.issues.length}let d=n.valueType._zod.run({value:c,issues:[]},t);d instanceof Promise?a.push(d.then(p=>km(p,o))):km(d,o)}return a.length?Promise.all(a).then(()=>o):o},Gu(e,K_)});function km(e,n){e.issues.length&&n.issues.push(...e.issues),n.value.add(e.value)}var ec=h("$ZodEnum",(e,n)=>{U.init(e,n);let i=Ht(n.entries),o=new Set(i);e._zod.values=o,Z(e,"pattern",t=>{let r=Ht(t.def.entries).filter(a=>Hn.has(typeof a));return new RegExp(r.length?`^(${r.map(a=>Pe(a.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(t,r)=>{let a=t.value;return o.has(a)||t.issues.push({code:"invalid_value",values:i,input:a,inst:e}),t}}),tc=h("$ZodLiteral",(e,n)=>{U.init(e,n);let i=new Set(n.values);e._zod.values=i,Z(e,"pattern",o=>{let t=o.def.values;return new RegExp(t.length?`^(${t.map(r=>typeof r=="string"?Pe(r):r?Pe(r.toString()):String(r)).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(o,t)=>{let r=o.value;return i.has(r)||o.issues.push({code:"invalid_value",values:n.values,input:r,inst:e}),o}}),nc=h("$ZodFile",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>{let t=i.value;return t instanceof File||i.issues.push({expected:"file",code:"invalid_type",input:t,inst:e}),i}}),rc=h("$ZodTransform",(e,n)=>{U.init(e,n),e._zod.optin="optional",ae.memoizer?.guard(e),e._zod.parse=(i,o)=>{if(o.direction==="backward")throw new ot(e.constructor.name);let t=n.transform(i.value,i);if(o.async)return(t instanceof Promise?t:Promise.resolve(t)).then(a=>(i.value=a,i));if(t instanceof Promise)throw new $e;return i.value=t,i}});function xm(e,n){return e.value=n.issues.length?void 0:n.value,e}var Zi=h("$ZodOptional",(e,n)=>{U.init(e,n),Z(e,"optin",i=>i.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",Z(e,"values",i=>{let o=i.def.innerType._zod.values;return o?new Set([...o,void 0]):void 0}),Z(e,"pattern",i=>{let o=i.def.innerType._zod.pattern;return o?new RegExp(`^(${Xe(o.source)})?$`):void 0}),e._zod.parse=(i,o)=>{if(i.value===void 0){if(n.innerType._zod.optin!=="defaulted")return i;let t=n.innerType._zod.run({value:i.value,issues:[]},o);return t instanceof Promise?t.then(r=>xm(i,r)):xm(i,t)}return n.innerType._zod.run(i,o)}}),ic=h("$ZodExactOptional",(e,n)=>{Zi.init(e,n),Z(e,"values",i=>i.def.innerType._zod.values),Z(e,"pattern",i=>i.def.innerType._zod.pattern),e._zod.parse=(i,o)=>n.innerType._zod.run(i,o)}),oc=h("$ZodNullable",(e,n)=>{U.init(e,n),Z(e,"optin",i=>i.def.innerType._zod.optin),Z(e,"optout",i=>i.def.innerType._zod.optout),Z(e,"pattern",i=>{let o=i.def.innerType._zod.pattern;return o?new RegExp(`^(${Xe(o.source)}|null)$`):void 0}),Z(e,"values",i=>i.def.innerType._zod.values?new Set([...i.def.innerType._zod.values,null]):void 0),e._zod.parse=(i,o)=>i.value===null?i:n.innerType._zod.run(i,o)}),ac=h("$ZodDefault",(e,n)=>{U.init(e,n),e._zod.optin="defaulted",Z(e,"values",i=>i.def.innerType._zod.values),e._zod.parse=(i,o)=>{if(o.direction==="backward")return n.innerType._zod.run(i,o);if(i.value===void 0)return i.value=n.defaultValue,i;let t=n.innerType._zod.run(i,o);return t instanceof Promise?t.then(r=>wm(r,n)):wm(t,n)}});function wm(e,n){return e.value===void 0&&(e.value=n.defaultValue),e}var sc=h("$ZodPrefault",(e,n)=>{U.init(e,n),e._zod.optin="defaulted",Z(e,"values",i=>i.def.innerType._zod.values),e._zod.parse=(i,o)=>(o.direction==="backward"||i.value===void 0&&(i.value=n.defaultValue),n.innerType._zod.run(i,o))}),uc=h("$ZodNonOptional",(e,n)=>{U.init(e,n),Z(e,"values",i=>{let o=i.def.innerType._zod.values;return o?new Set([...o].filter(t=>t!==void 0)):void 0}),e._zod.parse=(i,o)=>{let t=n.innerType._zod.run(i,o);return t instanceof Promise?t.then(r=>Im(r,e)):Im(t,e)}});function Im(e,n){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:n}),e}var cc=h("$ZodSuccess",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>{if(o.direction==="backward")throw new ot("ZodSuccess");let t=n.innerType._zod.run(i,o);return t instanceof Promise?t.then(r=>(i.value=r.issues.length===0,i)):(i.value=t.issues.length===0,i)}});function Sm(e,n,i,o){return n.issues.length?(e.value=i.catchValue({...n,value:e.value,error:{issues:n.issues.map(t=>_e(t,o,te()))},input:e.value}),e):(e.value=n.value,n.memo&&(e.memo=!0),e)}var lc=h("$ZodCatch",(e,n)=>{U.init(e,n),Z(e,"optin",i=>i.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),Z(e,"optout",i=>i.def.innerType._zod.optout),Z(e,"values",i=>i.def.innerType._zod.values),e._zod.parse=(i,o)=>{if(o.direction==="backward")return n.innerType._zod.run(i,o);let t=n.innerType._zod.run({value:i.value,issues:[]},o);return t instanceof Promise?t.then(r=>Sm(i,r,n,o)):Sm(i,t,n,o)}}),dc=h("$ZodNaN",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>((typeof i.value!="number"||!Number.isNaN(i.value))&&i.issues.push({input:i.value,inst:e,expected:"nan",code:"invalid_type"}),i)}),Fi=h("$ZodPipe",(e,n)=>{U.init(e,n),Z(e,"values",i=>i.def.in._zod.values),Z(e,"optin",i=>i.def.in._zod.optin),Z(e,"optout",i=>i.def.out._zod.optout),Z(e,"propValues",i=>i.def.in._zod.propValues),e._zod.parse=(i,o)=>{if(o.direction==="backward"){let r=n.out._zod.run(i,o);return r instanceof Promise?r.then(a=>wi(a,n.in,o)):wi(r,n.in,o)}let t=n.in._zod.run(i,o);return t instanceof Promise?t.then(r=>wi(r,n.out,o)):wi(t,n.out,o)}});function wi(e,n,i){return e.issues.some(o=>o.code!=="unrecognized_keys")?(e.aborted=!0,e):n._zod.run({value:e.value,issues:e.issues},i)}var fr=h("$ZodCodec",(e,n)=>{U.init(e,n),Z(e,"values",i=>i.def.in._zod.values),Z(e,"optin",i=>i.def.in._zod.optin),Z(e,"optout",i=>i.def.out._zod.optout),Z(e,"propValues",i=>i.def.in._zod.propValues),e._zod.parse=(i,o)=>{if((o.direction||"forward")==="forward"){let r=n.in._zod.run(i,o);return r instanceof Promise?r.then(a=>Ii(a,n,o)):Ii(r,n,o)}else{let r=n.out._zod.run(i,o);return r instanceof Promise?r.then(a=>Ii(a,n,o)):Ii(r,n,o)}}});function Ii(e,n,i){if(e.issues.length)return e.aborted=!0,e;if((i.direction||"forward")==="forward"){let t=n.transform(e.value,e);return t instanceof Promise?t.then(r=>Si(e,r,n.out,i)):Si(e,t,n.out,i)}else{let t=n.reverseTransform(e.value,e);return t instanceof Promise?t.then(r=>Si(e,r,n.in,i)):Si(e,t,n.in,i)}}function Si(e,n,i,o){return e.issues.length?(e.aborted=!0,e):i._zod.run({value:n,issues:e.issues},o)}var pc=h("$ZodPreprocess",(e,n)=>{Fi.init(e,n)}),mc=h("$ZodReadonly",(e,n)=>{U.init(e,n),Z(e,"propValues",i=>i.def.innerType._zod.propValues),Z(e,"values",i=>i.def.innerType._zod.values),Z(e,"optin",i=>i.def.innerType?._zod?.optin),Z(e,"optout",i=>i.def.innerType?._zod?.optout),e._zod.parse=(i,o)=>{if(o.direction==="backward")return n.innerType._zod.run(i,o);let t=n.innerType._zod.run(i,o);return t instanceof Promise?t.then(Pm):Pm(t)}});function Pm(e){return e.memo||(e.value=Object.freeze(e.value)),e}function X_(e){let n=e._zod.def,i=n.pattern,o=!!n.format?.includes("int"),t,r;for(let s of n.checks??[]){let u=s._zod.def;u.pattern&&(i=u.pattern),o||(o=!!u.format?.includes("int"));let c=u.minimum??u.length,d=u.maximum??u.length;c!==void 0&&(t===void 0||c>t)&&(t=c),d!==void 0&&(r===void 0||dr)return"(?!)";if(t!==void 0||r!==void 0)return Ts({minimum:t,maximum:r}).source;let a=e._zod.pattern;return(o&&a===qe?ir:a)?.source}function iu(e){let n=e._zod.def,i=e._zod.pattern?.source,o=n.innerType??e._zod.innerType;if(o){let t=o._zod.pattern?.source,r=iu(o);return i&&t&&r&&r!==t?i.replace(Xe(t),()=>Xe(r)):i}if(n.options){let t=n.options.map(iu);if(t.every(Boolean))return`^(${t.map(r=>Xe(r)).join("|")})$`}return X_(e)}var fc=h("$ZodTemplateLiteral",(e,n)=>{U.init(e,n);let i=[];for(let o of n.parts)if(typeof o=="object"&&o!==null){let t=iu(o);if(!t)throw new Error(`Invalid template literal part, no pattern found: ${[...o._zod.traits].shift()}`);i.push(Xe(t))}else if(o===null||Fa.has(typeof o))i.push(Pe(`${o}`));else throw new Error(`Invalid template literal part: ${o}`);e._zod.pattern=new RegExp(`^${i.join("")}$`),e._zod.parse=(o,t)=>typeof o.value!="string"?(o.issues.push({input:o.value,inst:e,expected:"string",code:"invalid_type"}),o):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(o.value)||o.issues.push({input:o.value,inst:e,code:"invalid_format",format:n.format??"template_literal",pattern:e._zod.pattern.source}),o)}),gc=h("$ZodFunction",(e,n)=>(U.init(e,n),Object.defineProperty(e,"_def",{value:n}),e._zod.def=n,e.implement=i=>{if(typeof i!="function")throw new Error("implement() must be called with a function");return Object.defineProperty(function(...o){let t=e._def.input?ui(e._def.input,o):o,r=Reflect.apply(i,this,t);return e._def.output?ui(e._def.output,r):r},"_zod",{value:e._zod,enumerable:!1})},e.implementAsync=i=>{if(typeof i!="function")throw new Error("implementAsync() must be called with a function");return Object.defineProperty(async function(...o){let t=e._def.input?await ci(e._def.input,o):o,r=await Reflect.apply(i,this,t);return e._def.output?await ci(e._def.output,r):r},"_zod",{value:e._zod,enumerable:!1})},e._zod.parse=(i,o)=>typeof i.value!="function"?(i.issues.push({code:"invalid_type",expected:"function",input:i.value,inst:e}),i):(e._def.output&&e._def.output._zod.def.type==="promise"?i.value=e.implementAsync(i.value):i.value=e.implement(i.value),i),e.input=(...i)=>{let o=e.constructor;return Array.isArray(i[0])?new o({type:"function",input:new Mi({type:"tuple",items:i[0],rest:i[1]}),output:e._def.output}):new o({type:"function",input:i[0],output:e._def.output})},e.output=i=>{let o=e.constructor;return new o({type:"function",input:e._def.input,output:i})},e)),hc=h("$ZodPromise",(e,n)=>{U.init(e,n),e._zod.parse=(i,o)=>Promise.resolve(i.value).then(t=>n.innerType._zod.run({value:t,issues:[]},o))}),gr=h("$ZodLazy",(e,n)=>{U.init(e,n),Ra(e._zod,"innerType",()=>{let i=n;return i._cachedInner||(i._cachedInner=n.getter()),i._cachedInner}),Z(e,"pattern",i=>i.innerType?._zod?.pattern),Z(e,"propValues",i=>i.innerType?._zod?.propValues),Z(e,"optin",i=>i.innerType?._zod?.optin??void 0),Z(e,"optout",i=>i.innerType?._zod?.optout??void 0),e._zod.parse=(i,o)=>e._zod.innerType._zod.run(i,o)}),vc=h("$ZodCustom",(e,n)=>{q.init(e,n),U.init(e,n),e._zod.parse=(i,o)=>i,e._zod.check=i=>{let o=i.value,t=n.fn(o);if(t instanceof Promise)return t.then(r=>Tm(r,i,o,e));Tm(t,i,o,e)}});function Tm(e,n,i,o){if(!e){let t={code:"custom",input:i,inst:o,path:[...o._zod.def.path??[]],continue:!o._zod.def.abort};o._zod.def.params&&(t.params=o._zod.def.params),n.issues.push(qt(t))}}var Hi=class extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform"),this.name="ZodCyclicError"}},bc="~memo",Lm=[];function jm(e){return e!==null&&typeof e=="object"}function yc(e){return e.map(n=>n.path?{...n,path:n.path.slice()}:{...n})}var Um=new WeakMap,on=0,Bi=1,hr=2;function vr(e,n,i){let o=Um.get(e);if(o!==void 0)return o?hr:on;if(n.has(e))return hr;n.add(e);let t=on,r=d=>{if(t!==hr&&d?._zod){let p=vr(d,n,i);p>t&&(t=p)}},a=(d,p)=>{let m=on;for(let f of Reflect.ownKeys(d)){let g=Object.getOwnPropertyDescriptor(d,f);if(p&&!g.enumerable)continue;let y=g.get?Bi:g.value?._zod?vr(g.value,n,i):on;y>m&&(m=y)}return m},s=d=>{d>t&&(t=d)},u=e._zod.def,c=u.type;switch(c){case"object":{let d=Jt(u);s(d?a(d,!0):Bi),r(u.catchall);break}case"array":r(u.element);break;case"tuple":for(let d of u.items)r(d);r(u.rest);break;case"record":case"map":r(u.keyType),r(u.valueType);break;case"set":r(u.valueType);break;case"union":for(let d of u.options)r(d);break;case"intersection":r(u.left),r(u.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":r(u.innerType);break;case"pipe":r(u.in),r(u.out);break;case"function":r(u.input),r(u.output);break;case"lazy":{let d=u._cachedInner??(i?e._zod.innerType:void 0);s(d?vr(d,n,!1):Bi);break}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(let d in u){let p=Object.getOwnPropertyDescriptor(u,d);if(!p||p.get)continue;let m=p.value;if(!(!m||typeof m!="object")){if(m._zod)r(m);else if(Array.isArray(m))for(let f of m)r(f)}}}return n.delete(e),q_(e,t)}function q_(e,n){return n!==Bi&&Um.set(e,n===hr),n}function Wi(e){return vr(e,new Set,!0)!==on}function Y_(e,n){let i=e.buckets.get(n);return i||(i=new WeakMap,e.buckets.set(n,i)),i}var Vi,Gi=[],Q_={alloc(e,n,i){let o=Vi;if(!o)return i;Vi=void 0;let t={value:i,issues:null};return o.set(n.value,t),Gi.push(t),i},guard(e){var n;(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred.push(()=>{let i=e._zod.parse,o=(t,r)=>{if(r.direction!=="backward"&&Ki(r,t.value))throw new Hi;return i(t,r)};e._zod.parse=o,e._zod.run===i&&(e._zod.run=o)})},attach(e){var n;let i,o=!1,t,r;(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred.push(()=>{let a=e._zod.parse,s=(u,c)=>{if(i===void 0){let I=vr(e,new Set,!1);if(I===on)return e._zod.parse=a,e._zod.run===s&&(e._zod.run=a),a(u,c);I===hr||o?i=!0:o=!0}let d=u.value;if(!jm(d))return a(u,c);let p=c[bc];p||(p={buckets:new WeakMap,backEdges:void 0},c[bc]=p);let m;t===c?m=r:(m=Y_(p,e),t=c,r=m);let f=m.get(d);if(f)return u.value=f.value,f.issues?f.issues.length&&u.issues.push(...yc(f.issues)):(u.memo=!0,p.backEdges??(p.backEdges=new WeakSet),p.backEdges.add(f.value)),u;Vi=m;let g=Gi.length,y=a(u,c);Vi=void 0;let x=Gi.length>g?Gi.pop():void 0;return y instanceof Promise?y.then(I=>(x&&(x.issues=I.issues.length?yc(I.issues):Lm),I)):(x&&(x.issues=y.issues.length?yc(y.issues):Lm),y)};e._zod.parse=s,e._zod.run===a&&(e._zod.run=s)})}};function yr(){return Q_}function Ki(e,n){let i=e[bc]?.backEdges;return i!==void 0&&jm(n)&&i.has(n)}var _r={};Ke(_r,{ar:()=>Rm,az:()=>Mm,be:()=>Fm,bg:()=>Vm,bn:()=>Gm,ca:()=>Bm,ckb:()=>Hm,cs:()=>Wm,da:()=>Km,de:()=>Jm,el:()=>Xm,en:()=>Ji,eo:()=>qm,es:()=>Ym,fa:()=>Qm,fi:()=>ef,fr:()=>tf,frCA:()=>nf,gu:()=>rf,he:()=>of,hi:()=>af,hr:()=>sf,hu:()=>uf,hy:()=>lf,id:()=>df,is:()=>pf,it:()=>mf,ja:()=>ff,ka:()=>gf,kh:()=>hf,km:()=>Xi,kn:()=>vf,ko:()=>yf,lt:()=>_f,mk:()=>$f,ms:()=>kf,ne:()=>xf,nl:()=>wf,nn:()=>If,no:()=>Sf,ota:()=>Pf,pl:()=>Ef,ps:()=>Tf,pt:()=>Af,ptBR:()=>Of,ro:()=>Nf,ru:()=>Df,sk:()=>Cf,sl:()=>Lf,sv:()=>jf,ta:()=>Uf,tg:()=>Rf,th:()=>Mf,tk:()=>Zf,tr:()=>Ff,ua:()=>Vf,uk:()=>qi,ur:()=>Gf,uz:()=>Bf,vi:()=>Hf,yo:()=>Jf,zhCN:()=>Wf,zhTW:()=>Kf});var e$=()=>{let e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"},map:{unit:"عنصر",verb:"أن يحوي"}};function n(t){return e[t]??null}let i={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",mac:"عنوان MAC",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",credit_card:"رقم بطاقة الائتمان",currency_code:"رمز العملة",iban:"IBAN",jwt:"JWT",template_literal:"مدخل"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`مدخلات غير مقبولة: يفترض إدخال instanceof ${t.expected}، ولكن تم إدخال ${s}`:`مدخلات غير مقبولة: يفترض إدخال ${r}، ولكن تم إدخال ${s}`}case"invalid_value":return t.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${$(t.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?` أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${r} ${t.maximum.toString()} ${a.unit??"عنصر"}`:`أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${r} ${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${r} ${t.minimum.toString()} ${a.unit}`:`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${r} ${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`نَص غير مقبول: يجب أن يبدأ بـ "${t.prefix}"`:r.format==="ends_with"?`نَص غير مقبول: يجب أن ينتهي بـ "${r.suffix}"`:r.format==="includes"?`نَص غير مقبول: يجب أن يتضمَّن "${r.includes}"`:r.format==="regex"?`نَص غير مقبول: يجب أن يطابق النمط ${r.pattern}`:`${i[r.format]??t.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${t.divisor}`;case"unrecognized_keys":return`معرف${t.keys.length>1?"ات":""} غريب${t.keys.length>1?"ة":""}: ${v(t.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${t.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${t.origin}`;default:return"مدخل غير مقبول"}}};function Rm(){return{localeError:e$()}}var t$=()=>{let e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"},map:{unit:"element",verb:"olmalıdır"}};function n(t){return e[t]??null}let i={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",credit_card:"kredit kartı nömrəsi",currency_code:"valyuta kodu",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Yanlış dəyər: gözlənilən instanceof ${t.expected}, daxil olan ${s}`:`Yanlış dəyər: gözlənilən ${r}, daxil olan ${s}`}case"invalid_value":return t.values.length===1?`Yanlış dəyər: gözlənilən ${$(t.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${r}${t.maximum.toString()} ${a.unit??"element"}`:`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Çox kiçik: gözlənilən ${t.origin} ${r}${t.minimum.toString()} ${a.unit}`:`Çox kiçik: gözlənilən ${t.origin} ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Yanlış mətn: "${r.prefix}" ilə başlamalıdır`:r.format==="ends_with"?`Yanlış mətn: "${r.suffix}" ilə bitməlidir`:r.format==="includes"?`Yanlış mətn: "${r.includes}" daxil olmalıdır`:r.format==="regex"?`Yanlış mətn: ${r.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${i[r.format]??t.format}`}case"not_multiple_of":return`Yanlış ədəd: ${t.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${t.keys.length>1?"lar":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${t.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function Mm(){return{localeError:t$()}}function Zm(e,n,i,o){let t=Math.abs(e),r=t%10,a=t%100;return a>=11&&a<=19?o:r===1?n:r>=2&&r<=4?i:o}var n$=()=>{let e={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},map:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function n(t){return e[t]??null}let i={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",mac:"MAC адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",credit_card:"нумар крэдытнай карты",currency_code:"код валюты",iban:"IBAN",jwt:"JWT",template_literal:"увод"},o={nan:"NaN",number:"лік",array:"масіў"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Няправільны ўвод: чакаўся instanceof ${t.expected}, атрымана ${s}`:`Няправільны ўвод: чакаўся ${r}, атрымана ${s}`}case"invalid_value":return t.values.length===1?`Няправільны ўвод: чакалася ${$(t.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);if(a){let s=Number(t.maximum),u=Zm(s,a.unit.one,a.unit.few,a.unit.many);return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна ${a.verb} ${r}${t.maximum.toString()} ${u}`}return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна быць ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);if(a){let s=Number(t.minimum),u=Zm(s,a.unit.one,a.unit.few,a.unit.many);return`Занадта малы: чакалася, што ${t.origin} павінна ${a.verb} ${r}${t.minimum.toString()} ${u}`}return`Занадта малы: чакалася, што ${t.origin} павінна быць ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Няправільны радок: павінен пачынацца з "${r.prefix}"`:r.format==="ends_with"?`Няправільны радок: павінен заканчвацца на "${r.suffix}"`:r.format==="includes"?`Няправільны радок: павінен змяшчаць "${r.includes}"`:r.format==="regex"?`Няправільны радок: павінен адпавядаць шаблону ${r.pattern}`:`Няправільны ${i[r.format]??t.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${t.keys.length>1?"ключы":"ключ"}: ${v(t.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${t.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${t.origin}`;default:return"Няправільны ўвод"}}};function Fm(){return{localeError:n$()}}var r$=()=>{let e={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"},map:{unit:"елемента",verb:"да съдържа"}};function n(t){return e[t]??null}let i={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",mac:"MAC адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",credit_card:"номер на кредитна карта",currency_code:"код на валута",iban:"IBAN",jwt:"JWT",template_literal:"вход"},o={nan:"NaN",number:"число",array:"масив"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Невалиден вход: очакван instanceof ${t.expected}, получен ${s}`:`Невалиден вход: очакван ${r}, получен ${s}`}case"invalid_value":return t.values.length===1?`Невалиден вход: очакван ${$(t.values[0])}`:`Невалидна опция: очаквано едно от ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Твърде голямо: очаква се ${t.origin??"стойност"} да съдържа ${r}${t.maximum.toString()} ${a.unit??"елемента"}`:`Твърде голямо: очаква се ${t.origin??"стойност"} да бъде ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Твърде малко: очаква се ${t.origin} да съдържа ${r}${t.minimum.toString()} ${a.unit}`:`Твърде малко: очаква се ${t.origin} да бъде ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;if(r.format==="starts_with")return`Невалиден низ: трябва да започва с "${r.prefix}"`;if(r.format==="ends_with")return`Невалиден низ: трябва да завършва с "${r.suffix}"`;if(r.format==="includes")return`Невалиден низ: трябва да включва "${r.includes}"`;if(r.format==="regex")return`Невалиден низ: трябва да съвпада с ${r.pattern}`;let a="Невалиден";return r.format==="emoji"&&(a="Невалидно"),r.format==="datetime"&&(a="Невалидно"),r.format==="date"&&(a="Невалидна"),r.format==="time"&&(a="Невалидно"),r.format==="duration"&&(a="Невалидна"),`${a} ${i[r.format]??t.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${t.divisor}`;case"unrecognized_keys":return`Неразпознат${t.keys.length>1?"и":""} ключ${t.keys.length>1?"ове":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${t.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${t.origin}`;default:return"Невалиден вход"}}};function Vm(){return{localeError:r$()}}var i$=()=>{let e={string:{unit:"অক্ষর",verb:"থাকতে হবে"},file:{unit:"বাইট",verb:"থাকতে হবে"},array:{unit:"আইটেম",verb:"থাকতে হবে"},set:{unit:"আইটেম",verb:"থাকতে হবে"},map:{unit:"এন্ট্রি",verb:"থাকতে হবে"}};function n(t){return e[t]??null}let i={regex:"ইনপুট",email:"ইমেইল ঠিকানা",url:"URL",emoji:"ইমোজি",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO তারিখ ও সময়",date:"ISO তারিখ",time:"ISO সময়",duration:"ISO সময়কাল",ipv4:"IPv4 ঠিকানা",ipv6:"IPv6 ঠিকানা",mac:"MAC ঠিকানা",cidrv4:"IPv4 রেঞ্জ",cidrv6:"IPv6 রেঞ্জ",base64:"base64-এনকোডেড স্ট্রিং",base64url:"base64url-এনকোডেড স্ট্রিং",json_string:"JSON স্ট্রিং",e164:"E.164 নম্বর",credit_card:"ক্রেডিট কার্ড নম্বর",currency_code:"মুদ্রা কোড",iban:"IBAN",jwt:"JWT",template_literal:"ইনপুট"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`অবৈধ ইনপুট: প্রত্যাশিত ${r}, প্রাপ্ত ${s}`}case"invalid_value":return t.values.length===1?`অবৈধ ইনপুট: প্রত্যাশিত ${$(t.values[0])}`:`অবৈধ অপশন: ${v(t.values," | ")} এর মধ্যে একটি প্রত্যাশিত`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`অনেক বড়: ${t.origin??"মান"} ${r}${t.maximum.toString()} ${a.unit??"এলিমেন্ট"} হতে হবে`:`অনেক বড়: ${t.origin??"মান"} ${r}${t.maximum.toString()} হতে হবে`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`অনেক ছোট: ${t.origin} ${r}${t.minimum.toString()} ${a.unit} হতে হবে`:`অনেক ছোট: ${t.origin} ${r}${t.minimum.toString()} হতে হবে`}case"invalid_format":{let r=t;return r.format==="starts_with"?`অবৈধ স্ট্রিং: "${r.prefix}" দিয়ে শুরু হতে হবে`:r.format==="ends_with"?`অবৈধ স্ট্রিং: "${r.suffix}" দিয়ে শেষ হতে হবে`:r.format==="includes"?`অবৈধ স্ট্রিং: "${r.includes}" অন্তর্ভুক্ত থাকতে হবে`:r.format==="regex"?`অবৈধ স্ট্রিং: ${r.pattern} প্যাটার্ন মিলতে হবে`:`অবৈধ ${i[r.format]??t.format}`}case"not_multiple_of":return`অবৈধ নম্বর: ${t.divisor} এর গুণিতক হতে হবে`;case"unrecognized_keys":return`অচেনা কী${t.keys.length>1?"গুলো":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} এ অবৈধ কী`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`অবৈধ ডিসক্রিমিনেটর মান। প্রত্যাশিত ${t.options.map(a=>`'${a}'`).join(" | ")}`:"অবৈধ ইনপুট";case"invalid_element":return`${t.origin} এ অবৈধ মান`;default:return"অবৈধ ইনপুট"}}};function Gm(){return{localeError:i$()}}var o$=()=>{let e={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"},map:{unit:"elements",verb:"contenir"}};function n(t){return e[t]??null}let i={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",mac:"adreça MAC",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",credit_card:"número de targeta de crèdit",currency_code:"codi de moneda",iban:"IBAN",jwt:"JWT",template_literal:"entrada"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Tipus invàlid: s'esperava instanceof ${t.expected}, s'ha rebut ${s}`:`Tipus invàlid: s'esperava ${r}, s'ha rebut ${s}`}case"invalid_value":return t.values.length===1?`Valor invàlid: s'esperava ${$(t.values[0])}`:`Opció invàlida: s'esperava una de ${v(t.values," o ")}`;case"too_big":{let r=t.inclusive?"com a màxim":"menys de",a=n(t.origin);return a?`Massa gran: s'esperava que ${t.origin??"el valor"} contingués ${r} ${t.maximum.toString()} ${a.unit??"elements"}`:`Massa gran: s'esperava que ${t.origin??"el valor"} fos ${r} ${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?"com a mínim":"més de",a=n(t.origin);return a?`Massa petit: s'esperava que ${t.origin} contingués ${r} ${t.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${t.origin} fos ${r} ${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Format invàlid: ha de començar amb "${r.prefix}"`:r.format==="ends_with"?`Format invàlid: ha d'acabar amb "${r.suffix}"`:r.format==="includes"?`Format invàlid: ha d'incloure "${r.includes}"`:r.format==="regex"?`Format invàlid: ha de coincidir amb el patró ${r.pattern}`:`Format invàlid per a ${i[r.format]??t.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${t.divisor}`;case"unrecognized_keys":return`Clau${t.keys.length>1?"s":""} no reconeguda${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${t.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${t.origin}`;default:return"Entrada invàlida"}}};function Bm(){return{localeError:o$()}}var a$=()=>{let e={string:{unit:"پیت",verb:"بێت"},file:{unit:"بایت",verb:"بێت"},array:{unit:"دانە",verb:"بێت"},set:{unit:"دانە",verb:"بێت"},map:{unit:"دانە",verb:"بێت"}};function n(t){return e[t]??null}let i={regex:"regex",email:"ئیمەیڵ",url:"بەستەر (URL)",emoji:"ئیمۆجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ڕێکەوت و کات",date:"ڕێکەوت",time:"کات",duration:"ماوە",ipv4:"ناونیشانی IPv4",ipv6:"ناونیشانی IPv6",mac:"ناونیشانی MAC",cidrv4:"مەودای IPv4",cidrv6:"مەودای IPv6",base64:"دەقی base64",base64url:"دەقی base64url",json_string:"دەقی JSON",e164:"ژمارەی E.164",credit_card:"ژمارەی کارتی کرێدیت",currency_code:"کۆدی دراو",iban:"IBAN",jwt:"JWT",template_literal:"تێکردە"},o={nan:"NaN",string:"نووسین",number:"ژمارە",boolean:"boolean",array:"array",object:"object",date:"ڕێکەوت",integer:"ژمارە",float:"ژمارە",null:"null",undefined:"undefined",function:"function",symbol:"symbol",unknown:"unknown",promise:"promise",void:"void",never:"never",map:"map",set:"set"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a,u=["ا","و","ۆ","وو","ە","ی","ێ"].some(d=>s.endsWith(d))?"یە":"ە",c=/^[a-zA-Z]+$/.test(s);return a==="null"||a==="undefined"?"داواکراوە":`چاوەڕوانکراوە ${r} بێت، بەڵام ${s}${c?"":u}`}case"invalid_value":return t.values.length===1?`بەهاکە نادرووستە: چاوەڕوانکراوە ${$(t.values[0])} بێت`:`هەڵبژاردەی نادروست: چاوەڕوانکراوە یەکێک بێت لە ${v(t.values,"|")}`;case"too_big":{let r=n(t.origin);return r?`پێویستە بە لایەنی زۆرەوە ${t.maximum.toString()} ${r.unit} ${r.verb}`:`پێویستە بە لایەنی زۆرەوە ${t.maximum.toString()} بێت`}case"too_small":{let r=n(t.origin);return r?`پێویستە بە لایەنی کەمەوە ${t.minimum.toString()} ${r.unit} ${r.verb}`:`پێویستە بە لایەنی کەمەوە ${t.minimum.toString()} بێت`}case"invalid_format":{let r=t;return r.format==="starts_with"?`دەقی نادروست: پێویستە دەستپێبکات بە "${r.prefix}"`:r.format==="ends_with"?`دەقی نادروست: پێویستە کۆتاییبێت بە "${r.suffix}"`:r.format==="includes"?`دەقی نادروست: پێویستە "${r.includes}" لەخۆبگرێت`:r.format==="regex"?`دەقی نادروست: پێویستە لەگەڵ پاتێرنی ${r.pattern} بگونجێت`:`بەهای ${i[r.format]??t.format} نادروستە`}case"not_multiple_of":return`ژمارەی نادروست: دەبێت چەند هێندە بێت بۆ ${t.divisor}`;case"unrecognized_keys":return`کلیلی نەناسراو: ${v(t.keys,", ")}`;case"invalid_key":return`کلیلی نادروست لە ${t.origin}`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`بەهای نەناسراو هەیە. بەهای چاوەڕوانکراو: ${t.options.map(a=>`'${a}'`).join(" | ")}`:"یەکگرتنی نادروست";case"invalid_element":return`${t.origin} بەهاکە نادروستە`;default:return"تێکردەی نادروست"}}};function Hm(){return{localeError:a$()}}var s$=()=>{let e={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"},map:{unit:"prvků",verb:"mít"}};function n(t){return e[t]??null}let i={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",mac:"MAC adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",credit_card:"číslo kreditní karty",currency_code:"kód měny",iban:"IBAN",jwt:"JWT",template_literal:"vstup"},o={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Neplatný vstup: očekáváno instanceof ${t.expected}, obdrženo ${s}`:`Neplatný vstup: očekáváno ${r}, obdrženo ${s}`}case"invalid_value":return t.values.length===1?`Neplatný vstup: očekáváno ${$(t.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Hodnota je příliš velká: ${t.origin??"hodnota"} musí mít ${r}${t.maximum.toString()} ${a.unit??"prvků"}`:`Hodnota je příliš velká: ${t.origin??"hodnota"} musí být ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Hodnota je příliš malá: ${t.origin??"hodnota"} musí mít ${r}${t.minimum.toString()} ${a.unit??"prvků"}`:`Hodnota je příliš malá: ${t.origin??"hodnota"} musí být ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Neplatný řetězec: musí začínat na "${r.prefix}"`:r.format==="ends_with"?`Neplatný řetězec: musí končit na "${r.suffix}"`:r.format==="includes"?`Neplatný řetězec: musí obsahovat "${r.includes}"`:r.format==="regex"?`Neplatný řetězec: musí odpovídat vzoru ${r.pattern}`:`Neplatný formát ${i[r.format]??t.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${t.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${v(t.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${t.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${t.origin}`;default:return"Neplatný vstup"}}};function Wm(){return{localeError:s$()}}var u$=()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"},map:{unit:"elementer",verb:"indeholdt"}};function n(t){return e[t]??null}let i={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslæt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-adresse",ipv6:"IPv6-adresse",mac:"MAC-adresse",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",credit_card:"kreditkortnummer",currency_code:"valutakode",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ugyldigt input: forventede instanceof ${t.expected}, fik ${s}`:`Ugyldigt input: forventede ${r}, fik ${s}`}case"invalid_value":return t.values.length===1?`Ugyldig værdi: forventede ${$(t.values[0])}`:`Ugyldigt valg: forventede en af følgende ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin),s=o[t.origin]??t.origin;return a?`For stor: forventede ${s??"value"} ${a.verb} ${r} ${t.maximum.toString()} ${a.unit??"elementer"}`:`For stor: forventede ${s??"value"} havde ${r} ${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin),s=o[t.origin]??t.origin;return a?`For lille: forventede ${s} ${a.verb} ${r} ${t.minimum.toString()} ${a.unit}`:`For lille: forventede ${s} havde ${r} ${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ugyldig streng: skal starte med "${r.prefix}"`:r.format==="ends_with"?`Ugyldig streng: skal ende med "${r.suffix}"`:r.format==="includes"?`Ugyldig streng: skal indeholde "${r.includes}"`:r.format==="regex"?`Ugyldig streng: skal matche mønsteret ${r.pattern}`:`Ugyldig ${i[r.format]??t.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${v(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${t.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${t.origin}`;default:return"Ugyldigt input"}}};function Km(){return{localeError:u$()}}var c$=()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"},map:{unit:"Elemente",verb:"zu haben"}};function n(t){return e[t]??null}let i={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",mac:"MAC-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",credit_card:"Kreditkartennummer",currency_code:"Währungscode",iban:"IBAN",jwt:"JWT",template_literal:"Eingabe"},o={nan:"NaN",number:"Zahl",array:"Array"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ungültige Eingabe: erwartet instanceof ${t.expected}, erhalten ${s}`:`Ungültige Eingabe: erwartet ${r}, erhalten ${s}`}case"invalid_value":return t.values.length===1?`Ungültige Eingabe: erwartet ${$(t.values[0])}`:`Ungültige Option: erwartet eine von ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Zu groß: erwartet, dass ${t.origin??"Wert"} ${r}${t.maximum.toString()} ${a.unit??"Elemente"} hat`:`Zu groß: erwartet, dass ${t.origin??"Wert"} ${r}${t.maximum.toString()} ist`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Zu klein: erwartet, dass ${t.origin} ${r}${t.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${t.origin} ${r}${t.minimum.toString()} ist`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ungültiger String: muss mit "${r.prefix}" beginnen`:r.format==="ends_with"?`Ungültiger String: muss mit "${r.suffix}" enden`:r.format==="includes"?`Ungültiger String: muss "${r.includes}" enthalten`:r.format==="regex"?`Ungültiger String: muss dem Muster ${r.pattern} entsprechen`:`Ungültig: ${i[r.format]??t.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${t.divisor} sein`;case"unrecognized_keys":return`${t.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${v(t.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${t.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${t.origin}`;default:return"Ungültige Eingabe"}}};function Jm(){return{localeError:c$()}}var l$=()=>{let e={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function n(t){return e[t]??null}let i={regex:"είσοδος",email:"διεύθυνση email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",credit_card:"αριθμός πιστωτικής κάρτας",currency_code:"κωδικός νομίσματος",iban:"IBAN",jwt:"JWT",template_literal:"είσοδος"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return typeof t.expected=="string"&&/^[A-Z]/.test(t.expected)?`Μη έγκυρη είσοδος: αναμενόταν instanceof ${t.expected}, λήφθηκε ${s}`:`Μη έγκυρη είσοδος: αναμενόταν ${r}, λήφθηκε ${s}`}case"invalid_value":return t.values.length===1?`Μη έγκυρη είσοδος: αναμενόταν ${$(t.values[0])}`:`Μη έγκυρη επιλογή: αναμενόταν ένα από ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Πολύ μεγάλο: αναμενόταν ${t.origin??"τιμή"} να έχει ${r}${t.maximum.toString()} ${a.unit??"στοιχεία"}`:`Πολύ μεγάλο: αναμενόταν ${t.origin??"τιμή"} να είναι ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Πολύ μικρό: αναμενόταν ${t.origin} να έχει ${r}${t.minimum.toString()} ${a.unit}`:`Πολύ μικρό: αναμενόταν ${t.origin} να είναι ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${r.prefix}"`:r.format==="ends_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${r.suffix}"`:r.format==="includes"?`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${r.includes}"`:r.format==="regex"?`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${r.pattern}`:`Μη έγκυρο: ${i[r.format]??t.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${t.divisor}`;case"unrecognized_keys":return`Άγνωστ${t.keys.length>1?"α":"ο"} κλειδ${t.keys.length>1?"ιά":"ί"}: ${v(t.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${t.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${t.origin}`;default:return"Μη έγκυρη είσοδος"}}};function Xm(){return{localeError:l$()}}var d$=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function n(r){return e[r]??null}let i={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",currency_code:"currency code",credit_card:"credit card number",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN"};function t(r,a){return r==="number"&&typeof a=="number"&&!Number.isFinite(a)?String(a):o[r]??r}return r=>{switch(r.code){case"invalid_type":{let a=t(r.expected),s=k(r.input),u=t(s,r.input);return`Invalid input: expected ${a}, received ${u}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${$(r.values[0])}`:`Invalid option: expected one of ${v(r.values,"|")}`;case"too_big":{let a=r.exact?"exactly ":r.inclusive?"<=":"<",s=n(r.origin);return s?`Too big: expected ${r.origin??"value"} to have ${a}${r.maximum.toString()} ${s.unit??"elements"}`:`Too big: expected ${r.origin??"value"} to be ${a}${r.maximum.toString()}`}case"too_small":{let a=r.exact?"exactly ":r.inclusive?">=":">",s=n(r.origin);return s?`Too small: expected ${r.origin} to have ${a}${r.minimum.toString()} ${s.unit}`:`Too small: expected ${r.origin} to be ${a}${r.minimum.toString()}`}case"invalid_format":{let a=r;return a.format==="starts_with"?`Invalid string: must start with "${a.prefix}"`:a.format==="ends_with"?`Invalid string: must end with "${a.suffix}"`:a.format==="includes"?`Invalid string: must include "${a.includes}"`:a.format==="regex"?`Invalid string: must match pattern ${a.pattern}`:`Invalid ${i[a.format]??r.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${r.divisor}`;case"unrecognized_keys":return`Unrecognized key${r.keys.length>1?"s":""}: ${v(r.keys,", ")}`;case"invalid_key":return`Invalid key in ${r.origin}`;case"invalid_union":return r.options&&Array.isArray(r.options)&&r.options.length>0?`Invalid discriminator value. Expected ${r.options.map(s=>`'${s}'`).join(" | ")}`:r.inclusive===!1?"Invalid input: more than one option matched":"Invalid input";case"invalid_element":return`Invalid value in ${r.origin}`;default:return"Invalid input"}}};function Ji(){return{localeError:d$()}}var p$=()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"},map:{unit:"elementojn",verb:"havi"}};function n(t){return e[t]??null}let i={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",mac:"MAC-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",credit_card:"kreditkarta numero",currency_code:"valuta kodo",iban:"IBAN",jwt:"JWT",template_literal:"enigo"},o={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Nevalida enigo: atendiĝis instanceof ${t.expected}, riceviĝis ${s}`:`Nevalida enigo: atendiĝis ${r}, riceviĝis ${s}`}case"invalid_value":return t.values.length===1?`Nevalida enigo: atendiĝis ${$(t.values[0])}`:`Nevalida opcio: atendiĝis unu el ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Tro granda: atendiĝis ke ${t.origin??"valoro"} havu ${r}${t.maximum.toString()} ${a.unit??"elementojn"}`:`Tro granda: atendiĝis ke ${t.origin??"valoro"} havu ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Tro malgranda: atendiĝis ke ${t.origin} havu ${r}${t.minimum.toString()} ${a.unit}`:`Tro malgranda: atendiĝis ke ${t.origin} estu ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Nevalida karaktraro: devas komenciĝi per "${r.prefix}"`:r.format==="ends_with"?`Nevalida karaktraro: devas finiĝi per "${r.suffix}"`:r.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${r.includes}"`:r.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${r.pattern}`:`Nevalida ${i[r.format]??t.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${t.divisor}`;case"unrecognized_keys":return`Nekonata${t.keys.length>1?"j":""} ŝlosilo${t.keys.length>1?"j":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${t.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${t.origin}`;default:return"Nevalida enigo"}}};function qm(){return{localeError:p$()}}var m$=()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function n(t){return e[t]??null}let i={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",mac:"dirección MAC",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",credit_card:"número de tarjeta de crédito",currency_code:"código de moneda",iban:"IBAN",jwt:"JWT",template_literal:"entrada"},o={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Entrada inválida: se esperaba instanceof ${t.expected}, recibido ${s}`:`Entrada inválida: se esperaba ${r}, recibido ${s}`}case"invalid_value":return t.values.length===1?`Entrada inválida: se esperaba ${$(t.values[0])}`:`Opción inválida: se esperaba una de ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin),s=o[t.origin]??t.origin;return a?`Demasiado grande: se esperaba que ${s??"valor"} tuviera ${r}${t.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${s??"valor"} fuera ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin),s=o[t.origin]??t.origin;return a?`Demasiado pequeño: se esperaba que ${s} tuviera ${r}${t.minimum.toString()} ${a.unit}`:`Demasiado pequeño: se esperaba que ${s} fuera ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Cadena inválida: debe comenzar con "${r.prefix}"`:r.format==="ends_with"?`Cadena inválida: debe terminar en "${r.suffix}"`:r.format==="includes"?`Cadena inválida: debe incluir "${r.includes}"`:r.format==="regex"?`Cadena inválida: debe coincidir con el patrón ${r.pattern}`:`Inválido ${i[r.format]??t.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${t.divisor}`;case"unrecognized_keys":return`Llave${t.keys.length>1?"s":""} desconocida${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Llave inválida en ${o[t.origin]??t.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${o[t.origin]??t.origin}`;default:return"Entrada inválida"}}};function Ym(){return{localeError:m$()}}var f$=()=>{let e={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"},map:{unit:"آیتم",verb:"داشته باشد"}};function n(t){return e[t]??null}let i={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",mac:"MAC آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",credit_card:"شماره کارت اعتباری",currency_code:"کد ارز",iban:"IBAN",jwt:"JWT",template_literal:"ورودی"},o={nan:"NaN",number:"عدد",array:"آرایه"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`ورودی نامعتبر: می‌بایست instanceof ${t.expected} می‌بود، ${s} دریافت شد`:`ورودی نامعتبر: می‌بایست ${r} می‌بود، ${s} دریافت شد`}case"invalid_value":return t.values.length===1?`ورودی نامعتبر: می‌بایست ${$(t.values[0])} می‌بود`:`گزینه نامعتبر: می‌بایست یکی از ${v(t.values,"|")} می‌بود`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`خیلی بزرگ: ${t.origin??"مقدار"} باید ${r}${t.maximum.toString()} ${a.unit??"عنصر"} باشد`:`خیلی بزرگ: ${t.origin??"مقدار"} باید ${r}${t.maximum.toString()} باشد`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`خیلی کوچک: ${t.origin} باید ${r}${t.minimum.toString()} ${a.unit} باشد`:`خیلی کوچک: ${t.origin} باید ${r}${t.minimum.toString()} باشد`}case"invalid_format":{let r=t;return r.format==="starts_with"?`رشته نامعتبر: باید با "${r.prefix}" شروع شود`:r.format==="ends_with"?`رشته نامعتبر: باید با "${r.suffix}" تمام شود`:r.format==="includes"?`رشته نامعتبر: باید شامل "${r.includes}" باشد`:r.format==="regex"?`رشته نامعتبر: باید با الگوی ${r.pattern} مطابقت داشته باشد`:`${i[r.format]??t.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${t.divisor} باشد`;case"unrecognized_keys":return`کلید${t.keys.length>1?"های":""} ناشناس: ${v(t.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${t.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${t.origin}`;default:return"ورودی نامعتبر"}}};function Qm(){return{localeError:f$()}}var g$=()=>{let e={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},map:{unit:"alkiota",subject:"kuvauksen"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function n(t){return e[t]??null}let i={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",mac:"MAC-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",credit_card:"luottokortin numero",currency_code:"valuuttakoodi",iban:"IBAN",jwt:"JWT",template_literal:"templaattimerkkijono"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Virheellinen tyyppi: odotettiin instanceof ${t.expected}, oli ${s}`:`Virheellinen tyyppi: odotettiin ${r}, oli ${s}`}case"invalid_value":return t.values.length===1?`Virheellinen syöte: täytyy olla ${$(t.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Liian suuri: ${a.subject} täytyy olla ${r}${t.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon täytyy olla ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Liian pieni: ${a.subject} täytyy olla ${r}${t.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon täytyy olla ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Virheellinen syöte: täytyy alkaa "${r.prefix}"`:r.format==="ends_with"?`Virheellinen syöte: täytyy loppua "${r.suffix}"`:r.format==="includes"?`Virheellinen syöte: täytyy sisältää "${r.includes}"`:r.format==="regex"?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${r.pattern}`:`Virheellinen ${i[r.format]??t.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${t.divisor} monikerta`;case"unrecognized_keys":return`${t.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${v(t.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};function ef(){return{localeError:g$()}}var h$=()=>{let e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function n(t){return e[t]??null}let i={regex:"expression régulière",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",mac:"adresse MAC",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne de caractères encodée en base64",base64url:"chaîne de caractères encodée en base64url",json_string:"chaîne de caractères JSON",e164:"numéro au format E.164",credit_card:"numéro de carte de crédit",currency_code:"code de devise",iban:"IBAN",jwt:"JWT",template_literal:"entrée"},o={string:"chaîne de caractères",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"record",map:"map",set:"ensemble",file:"fichier",nonoptional:"non optionnel",nan:"NaN",function:"fonction"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Entrée invalide : instance de ${t.expected} attendu, ${s} reçu`:`Entrée invalide : ${r} attendu, ${s} reçu`}case"invalid_value":return t.values.length===1?`Entrée invalide : ${$(t.values[0])} attendu`:`Option invalide : une valeur parmi ${v(t.values,"|")} attendue`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Trop grand : ${o[t.origin]??"valeur"} doit ${a.verb} ${r}${t.maximum.toString()} ${a.unit??"élément(s)"}`:`Trop grand : ${o[t.origin]??"valeur"} doit être ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Trop petit : ${o[t.origin]??"valeur"} doit ${a.verb} ${r}${t.minimum.toString()} ${a.unit}`:`Trop petit : ${o[t.origin]??"valeur"} doit être ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Chaîne de caractères invalide : doit commencer par "${r.prefix}"`:r.format==="ends_with"?`Chaîne de caractères invalide : doit se terminer par "${r.suffix}"`:r.format==="includes"?`Chaîne de caractères invalide : doit inclure "${r.includes}"`:r.format==="regex"?`Chaîne de caractères invalide : doit correspondre au motif ${r.pattern}`:`${i[r.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${v(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function tf(){return{localeError:h$()}}var v$=()=>{let e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"},map:{unit:"éléments",verb:"avoir"}};function n(t){return e[t]??null}let i={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",mac:"adresse MAC",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",credit_card:"numéro de carte de crédit",currency_code:"code de devise",iban:"IBAN",jwt:"JWT",template_literal:"entrée"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Entrée invalide : attendu instanceof ${t.expected}, reçu ${s}`:`Entrée invalide : attendu ${r}, reçu ${s}`}case"invalid_value":return t.values.length===1?`Entrée invalide : attendu ${$(t.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"≤":"<",a=n(t.origin);return a?`Trop grand : attendu que ${t.origin??"la valeur"} ait ${r}${t.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${t.origin??"la valeur"} soit ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?"≥":">",a=n(t.origin);return a?`Trop petit : attendu que ${t.origin} ait ${r}${t.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${t.origin} soit ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Chaîne invalide : doit commencer par "${r.prefix}"`:r.format==="ends_with"?`Chaîne invalide : doit se terminer par "${r.suffix}"`:r.format==="includes"?`Chaîne invalide : doit inclure "${r.includes}"`:r.format==="regex"?`Chaîne invalide : doit correspondre au motif ${r.pattern}`:`${i[r.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${v(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function nf(){return{localeError:v$()}}var y$=()=>{let e={string:{unit:"અક્ષર",verb:"હોવા જોઈએ"},file:{unit:"બાયટ",verb:"હોવા જોઈએ"},array:{unit:"આઇટમ",verb:"હોવા જોઈએ"},set:{unit:"આઇટમ",verb:"હોવા જોઈએ"},map:{unit:"એન્ટ્રી",verb:"હોવા જોઈએ"}};function n(t){return e[t]??null}let i={regex:"ઇનપુટ",email:"ઈમેઇલ એડ્રેસ",url:"URL",emoji:"ઇમોજી",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO તારીખ અને સમય",date:"ISO તારીખ",time:"ISO સમય",duration:"ISO અવધિ",ipv4:"IPv4 એડ્રેસ",ipv6:"IPv6 એડ્રેસ",mac:"MAC એડ્રેસ",cidrv4:"IPv4 શ્રેણી",cidrv6:"IPv6 શ્રેણી",base64:"base64-એન્કોડેડ સ્ટ્રિંગ",base64url:"base64url-એન્કોડેડ સ્ટ્રિંગ",json_string:"JSON સ્ટ્રિંગ",e164:"E.164 નંબર",credit_card:"ક્રેડિટ કાર્ડ નંબર",currency_code:"ચલણ કોડ",iban:"IBAN",jwt:"JWT",template_literal:"ઇનપુટ"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`અમાન્ય ઇનપુટ: અપેક્ષિત ${r}, પ્રાપ્ત ${s}`}case"invalid_value":return t.values.length===1?`અમાન્ય ઇનપુટ: અપેક્ષિત ${$(t.values[0])}`:`અમાન્ય વિકલ્પ: ${v(t.values," | ")} માધ્યમથી એક અપેક્ષિત`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`ખૂબ મોટું: ${t.origin??"મૂલ્ય"} ${r}${t.maximum.toString()} ${a.unit??"એલિમેન્ટ"} હોવા જોઈએ`:`ખૂબ મોટું: ${t.origin??"મૂલ્ય"} ${r}${t.maximum.toString()} હોવું જોઈએ`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`ખૂબ નાનું: ${t.origin} ${r}${t.minimum.toString()} ${a.unit} હોવા જોઈએ`:`ખૂબ નાનું: ${t.origin} ${r}${t.minimum.toString()} હોવું જોઈએ`}case"invalid_format":{let r=t;return r.format==="starts_with"?`અમાન્ય સ્ટ્રિંગ: "${r.prefix}" થી શરૂ થવું જોઈએ`:r.format==="ends_with"?`અમાન્ય સ્ટ્રિંગ: "${r.suffix}" પર સમાપ્ત થવું જોઈએ`:r.format==="includes"?`અમાન્ય સ્ટ્રિંગ: "${r.includes}" શામેલ હોવું જોઈએ`:r.format==="regex"?`અમાન્ય સ્ટ્રિંગ: પેટર્ન ${r.pattern} સાથે મેળ ખાવું જોઈએ`:`અમાન્ય ${i[r.format]??t.format}`}case"not_multiple_of":return`અમાન્ય નંબર: ${t.divisor} નો ગુણાંક હોવો જોઈએ`;case"unrecognized_keys":return`ઓળખી શકાતા નહીં તે કી${t.keys.length>1?"ઓ":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} માં અમાન્ય કી`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`અમાન્ય ડિસ્ક્રિમિનેટર મૂલ્ય. અપેક્ષિત ${t.options.map(a=>`'${a}'`).join(" | ")}`:"અમાન્ય ઇનપુટ";case"invalid_element":return`${t.origin} માં અમાન્ય મૂલ્ય`;default:return"અમાન્ય ઇનપુટ"}}};function rf(){return{localeError:y$()}}var b$=()=>{let e={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},n={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},i=c=>c?e[c]:void 0,o=c=>{let d=i(c);return d?d.label:c??e.unknown.label},t=c=>`ה${o(c)}`,r=c=>(i(c)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות",a=c=>c?n[c]??null:null,s={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},uuidv4:{label:"UUIDv4",gender:"m"},uuidv6:{label:"UUIDv6",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},mac:{label:"כתובת MAC",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},credit_card:{label:"מספר כרטיס אשראי",gender:"m"},currency_code:{label:"קוד מטבע",gender:"m"},iban:{label:"IBAN",gender:"m"},jwt:{label:"JWT",gender:"m"},template_literal:{label:"קלט",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},u={nan:"NaN"};return c=>{switch(c.code){case"invalid_type":{let d=c.expected,p=u[d??""]??o(d),m=k(c.input),f=u[m]??e[m]?.label??m;return/^[A-Z]/.test(c.expected)?`קלט לא תקין: צריך להיות instanceof ${c.expected}, התקבל ${f}`:`קלט לא תקין: צריך להיות ${p}, התקבל ${f}`}case"invalid_value":{if(c.values.length===1)return`ערך לא תקין: הערך חייב להיות ${$(c.values[0])}`;let d=c.values.map(f=>$(f));if(c.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${d[0]} או ${d[1]}`;let p=d[d.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${d.slice(0,-1).join(", ")} או ${p}`}case"too_big":{let d=a(c.origin),p=t(c.origin??"value");if(c.origin==="string")return`${d?.longLabel??"ארוך"} מדי: ${p} צריכה להכיל ${c.maximum.toString()} ${d?.unit??""} ${c.inclusive?"או פחות":"לכל היותר"}`.trim();if(c.origin==="number"){let g=c.inclusive?`קטן או שווה ל-${c.maximum}`:`קטן מ-${c.maximum}`;return`גדול מדי: ${p} צריך להיות ${g}`}if(c.origin==="array"||c.origin==="set"){let g=c.origin==="set"?"צריכה":"צריך",y=c.inclusive?`${c.maximum} ${d?.unit??""} או פחות`:`פחות מ-${c.maximum} ${d?.unit??""}`;return`גדול מדי: ${p} ${g} להכיל ${y}`.trim()}let m=c.inclusive?"<=":"<",f=r(c.origin??"value");return d?.unit?`${d.longLabel} מדי: ${p} ${f} ${m}${c.maximum.toString()} ${d.unit}`:`${d?.longLabel??"גדול"} מדי: ${p} ${f} ${m}${c.maximum.toString()}`}case"too_small":{let d=a(c.origin),p=t(c.origin??"value");if(c.origin==="string")return`${d?.shortLabel??"קצר"} מדי: ${p} צריכה להכיל ${c.minimum.toString()} ${d?.unit??""} ${c.inclusive?"או יותר":"לפחות"}`.trim();if(c.origin==="number"){let g=c.inclusive?`גדול או שווה ל-${c.minimum}`:`גדול מ-${c.minimum}`;return`קטן מדי: ${p} צריך להיות ${g}`}if(c.origin==="array"||c.origin==="set"){let g=c.origin==="set"?"צריכה":"צריך";if(c.minimum===1&&c.inclusive){let x=(c.origin==="set","לפחות פריט אחד");return`קטן מדי: ${p} ${g} להכיל ${x}`}let y=c.inclusive?`${c.minimum} ${d?.unit??""} או יותר`:`יותר מ-${c.minimum} ${d?.unit??""}`;return`קטן מדי: ${p} ${g} להכיל ${y}`.trim()}let m=c.inclusive?">=":">",f=r(c.origin??"value");return d?.unit?`${d.shortLabel} מדי: ${p} ${f} ${m}${c.minimum.toString()} ${d.unit}`:`${d?.shortLabel??"קטן"} מדי: ${p} ${f} ${m}${c.minimum.toString()}`}case"invalid_format":{let d=c;if(d.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${d.prefix}"`;if(d.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${d.suffix}"`;if(d.format==="includes")return`המחרוזת חייבת לכלול "${d.includes}"`;if(d.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${d.pattern}`;let p=s[d.format],m=p?.label??d.format,g=(p?.gender??"m")==="f"?"תקינה":"תקין";return`${m} לא ${g}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${c.divisor}`;case"unrecognized_keys":return`מפתח${c.keys.length>1?"ות":""} לא מזוה${c.keys.length>1?"ים":"ה"}: ${v(c.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${t(c.origin??"array")}`;default:return"קלט לא תקין"}}};function of(){return{localeError:b$()}}var _$=()=>{let e={string:{unit:"अक्षर",verb:"रखने के लिए"},file:{unit:"बाइट्स",verb:"रखने के लिए"},array:{unit:"तत्व",verb:"रखने के लिए"},set:{unit:"तत्व",verb:"रखने के लिए"},map:{unit:"प्रविष्टियाँ",verb:"रखने के लिए"}};function n(t){return e[t]??null}let i={regex:"इनपुट",email:"ईमेल पता",url:"URL",emoji:"इमोजी",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO तिथि और समय",date:"ISO तिथि",time:"ISO समय",duration:"ISO अवधि",ipv4:"IPv4 पता",ipv6:"IPv6 पता",mac:"MAC पता",cidrv4:"IPv4 श्रेणी",cidrv6:"IPv6 श्रेणी",base64:"Base64-एन्कोडेड स्ट्रिंग",base64url:"Base64URL-एन्कोडेड स्ट्रिंग",json_string:"JSON स्ट्रिंग",e164:"E.164 संख्या",credit_card:"क्रेडिट कार्ड संख्या",currency_code:"मुद्रा कोड",iban:"IBAN",jwt:"JWT",template_literal:"इनपुट"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`अमान्य इनपुट: अपेक्षित ${r}, प्राप्त ${s}`}case"invalid_value":return t.values.length===1?`अमान्य इनपुट: अपेक्षित ${$(t.values[0])}`:`अमान्य विकल्प: अपेक्षित मानों में से एक ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`बहुत बड़ा: अपेक्षित था कि ${t.origin??"मान"} में ${r}${t.maximum} ${a.unit} हों`:`बहुत बड़ा: अपेक्षित था कि ${t.origin??"मान"} ${r}${t.maximum} हो`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`बहुत छोटा: अपेक्षित था कि ${t.origin} में ${r}${t.minimum} ${a.unit} हों`:`बहुत छोटा: अपेक्षित था कि ${t.origin} ${r}${t.minimum} हो`}case"invalid_format":{let r=t;return r.format==="starts_with"?`अमान्य स्ट्रिंग: "${r.prefix}" से शुरू होना चाहिए`:r.format==="ends_with"?`अमान्य स्ट्रिंग: "${r.suffix}" पर समाप्त होना चाहिए`:r.format==="includes"?`अमान्य स्ट्रिंग: इसमें "${r.includes}" शामिल होना चाहिए`:r.format==="regex"?`अमान्य स्ट्रिंग: पैटर्न ${r.pattern} से मेल खाना चाहिए`:`अमान्य ${i[r.format]??t.format}`}case"not_multiple_of":return`अमान्य संख्या: यह ${t.divisor} का गुणज होना चाहिए`;case"unrecognized_keys":return`अपरिचित कुंजी${t.keys.length>1?"याँ":""}: ${v(t.keys,", ")}`;case"invalid_key":return`अमान्य कुंजी: ${t.origin} में`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`अमान्य डिस्क्रिमिनेटर मान: अपेक्षित ${t.options.map(a=>`'${a}'`).join(" | ")}`:"अमान्य इनपुट";case"invalid_element":return`अमान्य मान: ${t.origin} में`;default:return"अमान्य इनपुट"}}};function af(){return{localeError:_$()}}var $$=()=>{let e={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function n(t){return e[t]??null}let i={regex:"unos",email:"email adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",mac:"MAC adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",credit_card:"broj kreditne kartice",currency_code:"kod valute",iban:"IBAN",jwt:"JWT",template_literal:"unos"},o={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Neispravan unos: očekuje se instanceof ${t.expected}, a primljeno je ${s}`:`Neispravan unos: očekuje se ${r}, a primljeno je ${s}`}case"invalid_value":return t.values.length===1?`Neispravna vrijednost: očekivano ${$(t.values[0])}`:`Neispravna opcija: očekivano jedno od ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin),s=o[t.origin]??t.origin;return a?`Preveliko: očekivano da ${s??"vrijednost"} ima ${r}${t.maximum.toString()} ${a.unit??"elemenata"}`:`Preveliko: očekivano da ${s??"vrijednost"} bude ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin),s=o[t.origin]??t.origin;return a?`Premalo: očekivano da ${s} ima ${r}${t.minimum.toString()} ${a.unit}`:`Premalo: očekivano da ${s} bude ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Neispravan tekst: mora započinjati s "${r.prefix}"`:r.format==="ends_with"?`Neispravan tekst: mora završavati s "${r.suffix}"`:r.format==="includes"?`Neispravan tekst: mora sadržavati "${r.includes}"`:r.format==="regex"?`Neispravan tekst: mora odgovarati uzorku ${r.pattern}`:`Neispravna ${i[r.format]??t.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${t.divisor}`;case"unrecognized_keys":return`Neprepoznat${t.keys.length>1?"i ključevi":" ključ"}: ${v(t.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${o[t.origin]??t.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${o[t.origin]??t.origin}`;default:return"Neispravan unos"}}};function sf(){return{localeError:$$()}}var k$=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"},map:{unit:"elem",verb:"legyen"}};function n(t){return e[t]??null}let i={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",mac:"MAC cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",credit_card:"hitelkártyaszám",currency_code:"pénznemkód",iban:"IBAN",jwt:"JWT",template_literal:"bemenet"},o={nan:"NaN",number:"szám",array:"tömb"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Érvénytelen bemenet: a várt érték instanceof ${t.expected}, a kapott érték ${s}`:`Érvénytelen bemenet: a várt érték ${r}, a kapott érték ${s}`}case"invalid_value":return t.values.length===1?`Érvénytelen bemenet: a várt érték ${$(t.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Túl nagy: ${t.origin??"érték"} mérete túl nagy ${r}${t.maximum.toString()} ${a.unit??"elem"}`:`Túl nagy: a bemeneti érték ${t.origin??"érték"} túl nagy: ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Túl kicsi: a bemeneti érték ${t.origin} mérete túl kicsi ${r}${t.minimum.toString()} ${a.unit}`:`Túl kicsi: a bemeneti érték ${t.origin} túl kicsi ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Érvénytelen string: "${r.prefix}" értékkel kell kezdődnie`:r.format==="ends_with"?`Érvénytelen string: "${r.suffix}" értékkel kell végződnie`:r.format==="includes"?`Érvénytelen string: "${r.includes}" értéket kell tartalmaznia`:r.format==="regex"?`Érvénytelen string: ${r.pattern} mintának kell megfelelnie`:`Érvénytelen ${i[r.format]??t.format}`}case"not_multiple_of":return`Érvénytelen szám: ${t.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${t.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${t.origin}`;default:return"Érvénytelen bemenet"}}};function uf(){return{localeError:k$()}}function cf(e,n,i){return Math.abs(e)===1?n:i}function an(e){if(!e)return"";let n=["ա","ե","ը","ի","ո","ու","օ"],i=e[e.length-1];return e+(n.includes(i)?"ն":"ը")}var x$=()=>{let e={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},map:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function n(t){return e[t]??null}let i={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",mac:"MAC հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",credit_card:"կրեդիտ քարտի համար",currency_code:"արժույթի կոդ",iban:"IBAN",jwt:"JWT",template_literal:"մուտք"},o={nan:"NaN",number:"թիվ",array:"զանգված"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Սխալ մուտքագրում․ սպասվում էր instanceof ${t.expected}, ստացվել է ${s}`:`Սխալ մուտքագրում․ սպասվում էր ${r}, ստացվել է ${s}`}case"invalid_value":return t.values.length===1?`Սխալ մուտքագրում․ սպասվում էր ${$(t.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);if(a){let s=Number(t.maximum),u=cf(s,a.unit.one,a.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${an(t.origin??"արժեք")} կունենա ${r}${t.maximum.toString()} ${u}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${an(t.origin??"արժեք")} լինի ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);if(a){let s=Number(t.minimum),u=cf(s,a.unit.one,a.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${an(t.origin)} կունենա ${r}${t.minimum.toString()} ${u}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${an(t.origin)} լինի ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Սխալ տող․ պետք է սկսվի "${r.prefix}"-ով`:r.format==="ends_with"?`Սխալ տող․ պետք է ավարտվի "${r.suffix}"-ով`:r.format==="includes"?`Սխալ տող․ պետք է պարունակի "${r.includes}"`:r.format==="regex"?`Սխալ տող․ պետք է համապատասխանի ${r.pattern} ձևաչափին`:`Սխալ ${i[r.format]??t.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${t.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${t.keys.length>1?"ներ":""}. ${v(t.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${an(t.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${an(t.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function lf(){return{localeError:x$()}}var w$=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"},map:{unit:"item",verb:"memiliki"}};function n(t){return e[t]??null}let i={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",mac:"alamat MAC",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",credit_card:"nomor kartu kredit",currency_code:"kode mata uang",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Input tidak valid: diharapkan instanceof ${t.expected}, diterima ${s}`:`Input tidak valid: diharapkan ${r}, diterima ${s}`}case"invalid_value":return t.values.length===1?`Input tidak valid: diharapkan ${$(t.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Terlalu besar: diharapkan ${t.origin??"value"} memiliki ${r}${t.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: diharapkan ${t.origin??"value"} menjadi ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Terlalu kecil: diharapkan ${t.origin} memiliki ${r}${t.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${t.origin} menjadi ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`String tidak valid: harus dimulai dengan "${r.prefix}"`:r.format==="ends_with"?`String tidak valid: harus berakhir dengan "${r.suffix}"`:r.format==="includes"?`String tidak valid: harus menyertakan "${r.includes}"`:r.format==="regex"?`String tidak valid: harus sesuai pola ${r.pattern}`:`${i[r.format]??t.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${t.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${t.origin}`;default:return"Input tidak valid"}}};function df(){return{localeError:w$()}}var I$=()=>{let e={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"},map:{unit:"hluti",verb:"að hafa"}};function n(t){return e[t]??null}let i={regex:"gildi",email:"netfang",url:"vefslóð",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og tími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 tölugildi",credit_card:"kreditkortanúmer",currency_code:"gjaldmiðilskóði",iban:"IBAN",jwt:"JWT",template_literal:"gildi"},o={nan:"NaN",number:"númer",array:"fylki"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Rangt gildi: Þú slóst inn ${s} þar sem á að vera instanceof ${t.expected}`:`Rangt gildi: Þú slóst inn ${s} þar sem á að vera ${r}`}case"invalid_value":return t.values.length===1?`Rangt gildi: gert ráð fyrir ${$(t.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Of stórt: gert er ráð fyrir að ${t.origin??"gildi"} hafi ${r}${t.maximum.toString()} ${a.unit??"hluti"}`:`Of stórt: gert er ráð fyrir að ${t.origin??"gildi"} sé ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Of lítið: gert er ráð fyrir að ${t.origin} hafi ${r}${t.minimum.toString()} ${a.unit}`:`Of lítið: gert er ráð fyrir að ${t.origin} sé ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ógildur strengur: verður að byrja á "${r.prefix}"`:r.format==="ends_with"?`Ógildur strengur: verður að enda á "${r.suffix}"`:r.format==="includes"?`Ógildur strengur: verður að innihalda "${r.includes}"`:r.format==="regex"?`Ógildur strengur: verður að fylgja mynstri ${r.pattern}`:`Rangt ${i[r.format]??t.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${t.divisor}`;case"unrecognized_keys":return`Óþekkt ${t.keys.length>1?"ir lyklar":"ur lykill"}: ${v(t.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${t.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${t.origin}`;default:return"Rangt gildi"}}};function pf(){return{localeError:I$()}}var S$=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"},map:{unit:"elementi",verb:"avere"}};function n(t){return e[t]??null}let i={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",mac:"indirizzo MAC",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",credit_card:"numero di carta di credito",currency_code:"codice valuta",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"numero",array:"vettore"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Input non valido: atteso instanceof ${t.expected}, ricevuto ${s}`:`Input non valido: atteso ${r}, ricevuto ${s}`}case"invalid_value":return t.values.length===1?`Input non valido: atteso ${$(t.values[0])}`:`Opzione non valida: atteso uno tra ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Troppo grande: ${t.origin??"valore"} deve avere ${r}${t.maximum.toString()} ${a.unit??"elementi"}`:`Troppo grande: ${t.origin??"valore"} deve essere ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Troppo piccolo: ${t.origin} deve avere ${r}${t.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${t.origin} deve essere ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Stringa non valida: deve iniziare con "${r.prefix}"`:r.format==="ends_with"?`Stringa non valida: deve terminare con "${r.suffix}"`:r.format==="includes"?`Stringa non valida: deve includere "${r.includes}"`:r.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${r.pattern}`:`Input non valido: ${i[r.format]??t.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${t.divisor}`;case"unrecognized_keys":return`Chiav${t.keys.length>1?"i":"e"} non riconosciut${t.keys.length>1?"e":"a"}: ${v(t.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${t.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${t.origin}`;default:return"Input non valido"}}};function mf(){return{localeError:S$()}}var P$=()=>{let e={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"},map:{unit:"要素",verb:"である"}};function n(t){return e[t]??null}let i={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",mac:"MACアドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",credit_card:"クレジットカード番号",currency_code:"通貨コード",iban:"IBAN",jwt:"JWT",template_literal:"入力値"},o={nan:"NaN",number:"数値",array:"配列"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`無効な入力: instanceof ${t.expected}が期待されましたが、${s}が入力されました`:`無効な入力: ${r}が期待されましたが、${s}が入力されました`}case"invalid_value":return t.values.length===1?`無効な入力: ${$(t.values[0])}が期待されました`:`無効な選択: ${v(t.values,"、")}のいずれかである必要があります`;case"too_big":{let r=t.inclusive?"以下である":"より小さい",a=n(t.origin);return a?`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${a.unit??"要素"}${r}必要があります`:`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${r}必要があります`}case"too_small":{let r=t.inclusive?"以上である":"より大きい",a=n(t.origin);return a?`小さすぎる値: ${t.origin}は${t.minimum.toString()}${a.unit}${r}必要があります`:`小さすぎる値: ${t.origin}は${t.minimum.toString()}${r}必要があります`}case"invalid_format":{let r=t;return r.format==="starts_with"?`無効な文字列: "${r.prefix}"で始まる必要があります`:r.format==="ends_with"?`無効な文字列: "${r.suffix}"で終わる必要があります`:r.format==="includes"?`無効な文字列: "${r.includes}"を含む必要があります`:r.format==="regex"?`無効な文字列: パターン${r.pattern}に一致する必要があります`:`無効な${i[r.format]??t.format}`}case"not_multiple_of":return`無効な数値: ${t.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${t.keys.length>1?"群":""}: ${v(t.keys,"、")}`;case"invalid_key":return`${t.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${t.origin}内の無効な値`;default:return"無効な入力"}}};function ff(){return{localeError:P$()}}var T$=()=>{let e={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},map:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function n(t){return e[t]??null}let i={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",mac:"MAC მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",credit_card:"საკრედიტო ბარათის ნომერი",currency_code:"ვალუტის კოდი",iban:"IBAN",jwt:"JWT",template_literal:"შეყვანა"},o={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`არასწორი შეყვანა: მოსალოდნელი instanceof ${t.expected}, მიღებული ${s}`:`არასწორი შეყვანა: მოსალოდნელი ${r}, მიღებული ${s}`}case"invalid_value":return t.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${$(t.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${v(t.values,"|")}-დან`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`ზედმეტად დიდი: მოსალოდნელი ${t.origin??"მნიშვნელობა"} ${a.verb} ${r}${t.maximum.toString()} ${a.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${t.origin??"მნიშვნელობა"} იყოს ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`ზედმეტად პატარა: მოსალოდნელი ${t.origin} ${a.verb} ${r}${t.minimum.toString()} ${a.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${t.origin} იყოს ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`არასწორი ველი: უნდა იწყებოდეს "${r.prefix}"-ით`:r.format==="ends_with"?`არასწორი ველი: უნდა მთავრდებოდეს "${r.suffix}"-ით`:r.format==="includes"?`არასწორი ველი: უნდა შეიცავდეს "${r.includes}"-ს`:r.format==="regex"?`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${r.pattern}`:`არასწორი ${i[r.format]??t.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${t.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${t.keys.length>1?"ები":"ი"}: ${v(t.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${t.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${t.origin}-ში`;default:return"არასწორი შეყვანა"}}};function gf(){return{localeError:T$()}}var E$=()=>{let e={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"},map:{unit:"ធាតុ",verb:"គួរមាន"}};function n(t){return e[t]??null}let i={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",mac:"អាសយដ្ឋាន MAC",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",credit_card:"លេខប័ណ្ណឥណទាន",currency_code:"កូដរូបិយប័ណ្ណ",iban:"IBAN",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},o={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${t.expected} ប៉ុន្តែទទួលបាន ${s}`:`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${r} ប៉ុន្តែទទួលបាន ${s}`}case"invalid_value":return t.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${$(t.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${r} ${t.maximum.toString()} ${a.unit??"ធាតុ"}`:`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${r} ${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`តូចពេក៖ ត្រូវការ ${t.origin} ${r} ${t.minimum.toString()} ${a.unit}`:`តូចពេក៖ ត្រូវការ ${t.origin} ${r} ${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${r.prefix}"`:r.format==="ends_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${r.suffix}"`:r.format==="includes"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${r.includes}"`:r.format==="regex"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${r.pattern}`:`មិនត្រឹមត្រូវ៖ ${i[r.format]??t.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${t.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${v(t.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function Xi(){return{localeError:E$()}}function hf(){return Xi()}var A$=()=>{let e={string:{unit:"ಅಕ್ಷರಗಳು",verb:"ಹೊಂದಲು"},file:{unit:"ಬೈಟ್‌ಗಳು",verb:"ಹೊಂದಲು"},array:{unit:"ವಸ್ತುಗಳು",verb:"ಹೊಂದಲು"},set:{unit:"ವಸ್ತುಗಳು",verb:"ಹೊಂದಲು"},map:{unit:"entries",verb:"ಹೊಂದಲು"}};function n(t){return e[t]??null}let i={regex:"ಇನ್ಪುಟ್",email:"email ವಿಳಾಸ",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ದಿನಾಂಕದ ಸಮಯ",date:"ISO ದಿನಾಂಕ",time:"ISO ಸಮಯ",duration:"ISO ಅವಧಿ",ipv4:"IPv4 ವಿಳಾಸ",ipv6:"IPv6 ವಿಳಾಸ",mac:"MAC ವಿಳಾಸ",cidrv4:"IPv4 ವ್ಯಾಪ್ತಿಯ",cidrv6:"IPv6 ವ್ಯಾಪ್ತಿಯ",base64:"base64-encodedಸ್ಟ್ರಿಂಗ್",base64url:"base64url-encodedಸ್ಟ್ರಿಂಗ್",json_string:"JSONಸ್ಟ್ರಿಂಗ್",e164:"E.164 ಸಂಖ್ಯೆ",credit_card:"ಕ್ರೆಡಿಟ್ ಕಾರ್ಡ್ ಸಂಖ್ಯೆ",currency_code:"ಕರೆನ್ಸಿ ಕೋಡ್",iban:"IBAN",jwt:"JWT",template_literal:"ಇನ್ಪುಟ್"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`ಅಮಾನ್ಯ ಇನ್‌ಪುಟ್: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${r}, ಸ್ವೀಕರಿಸಿದನು ${s}`}case"invalid_value":return t.values.length===1?`ಅಮಾನ್ಯ ಇನ್‌ಪುಟ್: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${$(t.values[0])}`:`ಅಮಾನ್ಯ ಆಯ್ಕೆ: ಇವುಗಳಲ್ಲಿ ಒಂದನ್ನು ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`ತುಂಬಾ ದೊಡ್ಡದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${t.origin??"value"} ಹೊಂದಲು ${r}${t.maximum.toString()} ${a.unit??"ಅಂಶಗಳು"}`:`ತುಂಬಾ ದೊಡ್ಡದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${t.origin??"value"} ಎಂದು ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`ತುಂಬಾ ಚಿಕ್ಕದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${t.origin} ಹೊಂದಲು ${r}${t.minimum.toString()} ${a.unit}`:`ತುಂಬಾ ಚಿಕ್ಕದು: ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${t.origin} ಎಂದು ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`ಅಮಾನ್ಯವಾದ ಸ್ಟ್ರಿಂಗ್: ಇದರೊಂದಿಗೆ ಪ್ರಾರಂಭಿಸಬೇಕು "${r.prefix}"`:r.format==="ends_with"?`ಅಮಾನ್ಯವಾದ ಸ್ಟ್ರಿಂಗ್: ಇದರೊಂದಿಗೆ ಕೊನೆಗೊಳ್ಳಬೇಕು "${r.suffix}"`:r.format==="includes"?`ಅಮಾನ್ಯ ಸ್ಟ್ರಿಂಗ್: ಒಳಗೊಂಡಿರಬೇಕು "${r.includes}"`:r.format==="regex"?`ಅಮಾನ್ಯವಾದ ಸ್ಟ್ರಿಂಗ್: ಮಾದರಿಗೆ ಹೊಂದಿಕೆಯಾಗಬೇಕು ${r.pattern}`:`ಅಮಾನ್ಯ ${i[r.format]??t.format}`}case"not_multiple_of":return`ಅಮಾನ್ಯ ಸಂಖ್ಯೆ: ಬಹುಸಂಖ್ಯೆಯಾಗಿರಬೇಕು ${t.divisor}`;case"unrecognized_keys":return`ಗುರುತಿಸಲಾಗದ ಕೀ ${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`ಅಮಾನ್ಯವಾದ ಕೀ ಇನ್ ${t.origin}`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`ಅಮಾನ್ಯ ತಾರತಮ್ಯ ಮೌಲ್ಯ. ನಿರೀಕ್ಷಿಸಲಾಗಿದೆ ${t.options.map(a=>`'${a}'`).join(" | ")}`:"ಅಮಾನ್ಯ ಇನ್‌ಪುಟ್";case"invalid_element":return`ರಲ್ಲಿ ಅಮಾನ್ಯ ಮೌಲ್ಯ ${t.origin}`;default:return"ಅಮಾನ್ಯ ಇನ್‌ಪುಟ್"}}};function vf(){return{localeError:A$()}}var O$=()=>{let e={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"},map:{unit:"개",verb:"to have"}};function n(t){return e[t]??null}let i={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",mac:"MAC 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",credit_card:"신용카드 번호",currency_code:"통화 코드",iban:"IBAN",jwt:"JWT",template_literal:"입력"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`잘못된 입력: 예상 타입은 instanceof ${t.expected}, 받은 타입은 ${s}입니다`:`잘못된 입력: 예상 타입은 ${r}, 받은 타입은 ${s}입니다`}case"invalid_value":return t.values.length===1?`잘못된 입력: 값은 ${$(t.values[0])} 이어야 합니다`:`잘못된 옵션: ${v(t.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let r=t.inclusive?"이하":"미만",a=r==="미만"?"이어야 합니다":"여야 합니다",s=n(t.origin),u=s?.unit??"요소";return s?`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()}${u} ${r}${a}`:`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()} ${r}${a}`}case"too_small":{let r=t.inclusive?"이상":"초과",a=r==="이상"?"이어야 합니다":"여야 합니다",s=n(t.origin),u=s?.unit??"요소";return s?`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()}${u} ${r}${a}`:`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()} ${r}${a}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`잘못된 문자열: "${r.prefix}"(으)로 시작해야 합니다`:r.format==="ends_with"?`잘못된 문자열: "${r.suffix}"(으)로 끝나야 합니다`:r.format==="includes"?`잘못된 문자열: "${r.includes}"을(를) 포함해야 합니다`:r.format==="regex"?`잘못된 문자열: 정규식 ${r.pattern} 패턴과 일치해야 합니다`:`잘못된 ${i[r.format]??t.format}`}case"not_multiple_of":return`잘못된 숫자: ${t.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${v(t.keys,", ")}`;case"invalid_key":return`잘못된 키: ${t.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${t.origin}`;default:return"잘못된 입력"}}};function yf(){return{localeError:O$()}}var br=e=>e.charAt(0).toUpperCase()+e.slice(1);function bf(e){let n=Math.abs(e),i=n%10,o=n%100;return o>=11&&o<=19||i===0?"many":i===1?"one":"few"}var N$=()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function n(t,r,a,s){let u=e[t]??null;return u===null?u:{unit:u.unit[r],verb:u.verb[s][a?"inclusive":"notInclusive"]}}let i={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",mac:"MAC adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",credit_card:"kredito kortelės numeris",currency_code:"valiutos kodas",iban:"IBAN",jwt:"JWT",template_literal:"įvestis"},o={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Gautas tipas ${s}, o tikėtasi - instanceof ${t.expected}`:`Gautas tipas ${s}, o tikėtasi - ${r}`}case"invalid_value":return t.values.length===1?`Privalo būti ${$(t.values[0])}`:`Privalo būti vienas iš ${v(t.values,"|")} pasirinkimų`;case"too_big":{let r=o[t.origin]??t.origin,a=n(t.origin,bf(Number(t.maximum)),t.inclusive??!1,"smaller");if(a?.verb)return`${br(r??t.origin??"reikšmė")} ${a.verb} ${t.maximum.toString()} ${a.unit??"elementų"}`;let s=t.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${br(r??t.origin??"reikšmė")} turi būti ${s} ${t.maximum.toString()} ${a?.unit}`}case"too_small":{let r=o[t.origin]??t.origin,a=n(t.origin,bf(Number(t.minimum)),t.inclusive??!1,"bigger");if(a?.verb)return`${br(r??t.origin??"reikšmė")} ${a.verb} ${t.minimum.toString()} ${a.unit??"elementų"}`;let s=t.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${br(r??t.origin??"reikšmė")} turi būti ${s} ${t.minimum.toString()} ${a?.unit}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Eilutė privalo prasidėti "${r.prefix}"`:r.format==="ends_with"?`Eilutė privalo pasibaigti "${r.suffix}"`:r.format==="includes"?`Eilutė privalo įtraukti "${r.includes}"`:r.format==="regex"?`Eilutė privalo atitikti ${r.pattern}`:`Neteisingas ${i[r.format]??t.format}`}case"not_multiple_of":return`Skaičius privalo būti ${t.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${t.keys.length>1?"i":"as"} rakt${t.keys.length>1?"ai":"as"}: ${v(t.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let r=o[t.origin]??t.origin;return`${br(r??t.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function _f(){return{localeError:N$()}}var z$=()=>{let e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"},map:{unit:"ставки",verb:"да имаат"}};function n(t){return e[t]??null}let i={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",mac:"MAC адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",credit_card:"број на кредитна картичка",currency_code:"код на валута",iban:"IBAN",jwt:"JWT",template_literal:"внес"},o={nan:"NaN",number:"број",array:"низа"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Грешен внес: се очекува instanceof ${t.expected}, примено ${s}`:`Грешен внес: се очекува ${r}, примено ${s}`}case"invalid_value":return t.values.length===1?`Invalid input: expected ${$(t.values[0])}`:`Грешана опција: се очекува една ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Премногу голем: се очекува ${t.origin??"вредноста"} да има ${r}${t.maximum.toString()} ${a.unit??"елементи"}`:`Премногу голем: се очекува ${t.origin??"вредноста"} да биде ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Премногу мал: се очекува ${t.origin} да има ${r}${t.minimum.toString()} ${a.unit}`:`Премногу мал: се очекува ${t.origin} да биде ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Неважечка низа: мора да започнува со "${r.prefix}"`:r.format==="ends_with"?`Неважечка низа: мора да завршува со "${r.suffix}"`:r.format==="includes"?`Неважечка низа: мора да вклучува "${r.includes}"`:r.format==="regex"?`Неважечка низа: мора да одгоара на патернот ${r.pattern}`:`Invalid ${i[r.format]??t.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${v(t.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${t.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${t.origin}`;default:return"Грешен внес"}}};function $f(){return{localeError:z$()}}var D$=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"},map:{unit:"elemen",verb:"mempunyai"}};function n(t){return e[t]??null}let i={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",mac:"alamat MAC",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",credit_card:"nombor kad kredit",currency_code:"kod mata wang",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"nombor"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Input tidak sah: dijangka instanceof ${t.expected}, diterima ${s}`:`Input tidak sah: dijangka ${r}, diterima ${s}`}case"invalid_value":return t.values.length===1?`Input tidak sah: dijangka ${$(t.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Terlalu besar: dijangka ${t.origin??"nilai"} ${a.verb} ${r}${t.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: dijangka ${t.origin??"nilai"} adalah ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Terlalu kecil: dijangka ${t.origin} ${a.verb} ${r}${t.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${t.origin} adalah ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`String tidak sah: mesti bermula dengan "${r.prefix}"`:r.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${r.suffix}"`:r.format==="includes"?`String tidak sah: mesti mengandungi "${r.includes}"`:r.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${r.pattern}`:`${i[r.format]??t.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${v(t.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${t.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${t.origin}`;default:return"Input tidak sah"}}};function kf(){return{localeError:D$()}}var C$=()=>{let e={string:{unit:"अक्षर",verb:"हुनुपर्छ"},file:{unit:"बाइट",verb:"हुनुपर्छ"},array:{unit:"तत्व",verb:"हुनुपर्छ"},set:{unit:"तत्व",verb:"हुनुपर्छ"},map:{unit:"प्रविष्टि",verb:"हुनुपर्छ"}};function n(t){return e[t]??null}let i={regex:"इनपुट",email:"इमेल ठेगाना",url:"URL",emoji:"इमोजी",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO मिति र समय",date:"ISO मिति",time:"ISO समय",duration:"ISO अवधि",ipv4:"IPv4 ठेगाना",ipv6:"IPv6 ठेगाना",mac:"MAC ठेगाना",cidrv4:"IPv4 दायरा",cidrv6:"IPv6 दायरा",base64:"base64-इन्कोड गरिएको स्ट्रिङ",base64url:"base64url-इन्कोड गरिएको स्ट्रिङ",json_string:"JSON स्ट्रिङ",e164:"E.164 नम्बर",credit_card:"क्रेडिट कार्ड नम्बर",currency_code:"मुद्रा कोड",iban:"IBAN",jwt:"JWT",template_literal:"इनपुट"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`अमान्य इनपुट: अपेक्षित ${r}, प्राप्त ${s}`}case"invalid_value":return t.values.length===1?`अमान्य इनपुट: अपेक्षित ${$(t.values[0])}`:`अमान्य विकल्प: अपेक्षित मानहरू मध्ये एक ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`धेरै ठूलो: ${t.origin??"मान"} मा ${r}${t.maximum.toString()} ${a.unit} ${a.verb}`:`धेरै ठूलो: ${t.origin??"मान"} ${r}${t.maximum.toString()} हुनुपर्छ`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`धेरै सानो: ${t.origin} मा ${r}${t.minimum.toString()} ${a.unit} ${a.verb}`:`धेरै सानो: ${t.origin} ${r}${t.minimum.toString()} हुनुपर्छ`}case"invalid_format":{let r=t;return r.format==="starts_with"?`अमान्य स्ट्रिङ: "${r.prefix}" बाट सुरु हुनुपर्छ`:r.format==="ends_with"?`अमान्य स्ट्रिङ: "${r.suffix}" मा समाप्त हुनुपर्छ`:r.format==="includes"?`अमान्य स्ट्रिङ: "${r.includes}" समावेश हुनुपर्छ`:r.format==="regex"?`अमान्य स्ट्रिङ: ढाँचा ${r.pattern} सँग मेल खानुपर्छ`:`अमान्य ${i[r.format]??t.format}`}case"not_multiple_of":return`अमान्य संख्या: ${t.divisor} को गुणज हुनुपर्छ`;case"unrecognized_keys":return`अपरिचित कुञ्जी${t.keys.length>1?"हरू":""}: ${v(t.keys,", ")}`;case"invalid_key":return`अमान्य कुञ्जी: ${t.origin} मा`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`अमान्य डिस्क्रिमिनेटर मान: अपेक्षित ${t.options.map(a=>`'${a}'`).join(" | ")}`:"अमान्य इनपुट";case"invalid_element":return`अमान्य मान: ${t.origin} मा`;default:return"अमान्य इनपुट"}}};function xf(){return{localeError:C$()}}var L$=()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"},map:{unit:"elementen",verb:"heeft"}};function n(t){return e[t]??null}let i={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",mac:"MAC-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",credit_card:"creditcardnummer",currency_code:"valutacode",iban:"IBAN",jwt:"JWT",template_literal:"invoer"},o={nan:"NaN",number:"getal"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ongeldige invoer: verwacht instanceof ${t.expected}, ontving ${s}`:`Ongeldige invoer: verwacht ${r}, ontving ${s}`}case"invalid_value":return t.values.length===1?`Ongeldige invoer: verwacht ${$(t.values[0])}`:`Ongeldige optie: verwacht één van ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin),s=t.origin==="date"?"laat":t.origin==="string"?"lang":"groot";return a?`Te ${s}: verwacht dat ${t.origin??"waarde"} ${r}${t.maximum.toString()} ${a.unit??"elementen"} ${a.verb}`:`Te ${s}: verwacht dat ${t.origin??"waarde"} ${r}${t.maximum.toString()} is`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin),s=t.origin==="date"?"vroeg":t.origin==="string"?"kort":"klein";return a?`Te ${s}: verwacht dat ${t.origin} ${r}${t.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${s}: verwacht dat ${t.origin} ${r}${t.minimum.toString()} is`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ongeldige tekst: moet met "${r.prefix}" beginnen`:r.format==="ends_with"?`Ongeldige tekst: moet op "${r.suffix}" eindigen`:r.format==="includes"?`Ongeldige tekst: moet "${r.includes}" bevatten`:r.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${r.pattern}`:`Ongeldig: ${i[r.format]??t.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${t.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${t.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${t.origin}`;default:return"Ongeldige invoer"}}};function wf(){return{localeError:L$()}}var j$=()=>{let e={string:{unit:"teikn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"element",verb:"å innehalde"},set:{unit:"element",verb:"å innehalde"},map:{unit:"element",verb:"å innehalde"}};function n(t){return e[t]??null}let i={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varigheit",ipv4:"IPv4-adresse",ipv6:"IPv6-adresse",mac:"MAC-adresse",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkoda streng",base64url:"base64url-enkoda streng",json_string:"JSON-streng",e164:"E.164-nummer",credit_card:"kredittkortnummer",currency_code:"valutakode",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"tal",array:"liste"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ugyldig input: forventa instanceof ${t.expected}, fekk ${s}`:`Ugyldig input: forventa ${r}, fekk ${s}`}case"invalid_value":return t.values.length===1?`Ugyldig verdi: forventa ${$(t.values[0])}`:`Ugyldig val: forventa eitt av ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`For stor(t): forventa ${t.origin??"value"} til å ha ${r}${t.maximum.toString()} ${a.unit??"element"}`:`For stor(t): forventa ${t.origin??"value"} til å ha ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`For lite(n): forventa ${t.origin} til å ha ${r}${t.minimum.toString()} ${a.unit}`:`For lite(n): forventa ${t.origin} til å ha ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ugyldig streng: må starte med "${r.prefix}"`:r.format==="ends_with"?`Ugyldig streng: må slutte med "${r.suffix}"`:r.format==="includes"?`Ugyldig streng: må innehalde "${r.includes}"`:r.format==="regex"?`Ugyldig streng: må matche mønsteret ${r.pattern}`:`Ugyldig ${i[r.format]??t.format}`}case"not_multiple_of":return`Ugyldig tal: må vere eit multiplum av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukjende nøklar":"Ukjend nøkkel"}: ${v(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${t.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${t.origin}`;default:return"Ugyldig input"}}};function If(){return{localeError:j$()}}var U$=()=>{let e={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"},map:{unit:"elementer",verb:"å inneholde"}};function n(t){return e[t]??null}let i={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-adresse",ipv6:"IPv6-adresse",mac:"MAC-adresse",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",credit_card:"kredittkortnummer",currency_code:"valutakode",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"tall",array:"liste"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ugyldig input: forventet instanceof ${t.expected}, fikk ${s}`:`Ugyldig input: forventet ${r}, fikk ${s}`}case"invalid_value":return t.values.length===1?`Ugyldig verdi: forventet ${$(t.values[0])}`:`Ugyldig valg: forventet en av ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`For stor(t): forventet ${t.origin??"value"} til å ha ${r}${t.maximum.toString()} ${a.unit??"elementer"}`:`For stor(t): forventet ${t.origin??"value"} til å ha ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`For lite(n): forventet ${t.origin} til å ha ${r}${t.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${t.origin} til å ha ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ugyldig streng: må starte med "${r.prefix}"`:r.format==="ends_with"?`Ugyldig streng: må ende med "${r.suffix}"`:r.format==="includes"?`Ugyldig streng: må inneholde "${r.includes}"`:r.format==="regex"?`Ugyldig streng: må matche mønsteret ${r.pattern}`:`Ugyldig ${i[r.format]??t.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${v(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${t.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${t.origin}`;default:return"Ugyldig input"}}};function Sf(){return{localeError:U$()}}var R$=()=>{let e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"},map:{unit:"unsur",verb:"olmalıdır"}};function n(t){return e[t]??null}let i={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",mac:"MAC nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",credit_card:"i'tibâr kartı numarası",currency_code:"para birimi kodu",iban:"IBAN",jwt:"JWT",template_literal:"giren"},o={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Fâsit giren: umulan instanceof ${t.expected}, alınan ${s}`:`Fâsit giren: umulan ${r}, alınan ${s}`}case"invalid_value":return t.values.length===1?`Fâsit giren: umulan ${$(t.values[0])}`:`Fâsit tercih: mûteberler ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Fazla büyük: ${t.origin??"value"}, ${r}${t.maximum.toString()} ${a.unit??"elements"} sahip olmalıydı.`:`Fazla büyük: ${t.origin??"value"}, ${r}${t.maximum.toString()} olmalıydı.`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Fazla küçük: ${t.origin}, ${r}${t.minimum.toString()} ${a.unit} sahip olmalıydı.`:`Fazla küçük: ${t.origin}, ${r}${t.minimum.toString()} olmalıydı.`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Fâsit metin: "${r.prefix}" ile başlamalı.`:r.format==="ends_with"?`Fâsit metin: "${r.suffix}" ile bitmeli.`:r.format==="includes"?`Fâsit metin: "${r.includes}" ihtivâ etmeli.`:r.format==="regex"?`Fâsit metin: ${r.pattern} nakşına uymalı.`:`Fâsit ${i[r.format]??t.format}`}case"not_multiple_of":return`Fâsit sayı: ${t.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${t.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function Pf(){return{localeError:R$()}}var M$=()=>{let e={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"},map:{unit:"توکي",verb:"ولري"}};function n(t){return e[t]??null}let i={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",mac:"د MAC پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",credit_card:"د کریډیټ کارت شمیره",currency_code:"د اسعارو کوډ",iban:"IBAN",jwt:"JWT",template_literal:"ورودي"},o={nan:"NaN",number:"عدد",array:"ارې"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`ناسم ورودي: باید instanceof ${t.expected} وای, مګر ${s} ترلاسه شو`:`ناسم ورودي: باید ${r} وای, مګر ${s} ترلاسه شو`}case"invalid_value":return t.values.length===1?`ناسم ورودي: باید ${$(t.values[0])} وای`:`ناسم انتخاب: باید یو له ${v(t.values,"|")} څخه وای`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`ډیر لوی: ${t.origin??"ارزښت"} باید ${r}${t.maximum.toString()} ${a.unit??"عنصرونه"} ولري`:`ډیر لوی: ${t.origin??"ارزښت"} باید ${r}${t.maximum.toString()} وي`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`ډیر کوچنی: ${t.origin} باید ${r}${t.minimum.toString()} ${a.unit} ولري`:`ډیر کوچنی: ${t.origin} باید ${r}${t.minimum.toString()} وي`}case"invalid_format":{let r=t;return r.format==="starts_with"?`ناسم متن: باید د "${r.prefix}" سره پیل شي`:r.format==="ends_with"?`ناسم متن: باید د "${r.suffix}" سره پای ته ورسيږي`:r.format==="includes"?`ناسم متن: باید "${r.includes}" ولري`:r.format==="regex"?`ناسم متن: باید د ${r.pattern} سره مطابقت ولري`:`${i[r.format]??t.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${t.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${t.keys.length>1?"کلیډونه":"کلیډ"}: ${v(t.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${t.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${t.origin} کې`;default:return"ناسمه ورودي"}}};function Tf(){return{localeError:M$()}}var Z$=()=>{let e={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"},map:{unit:"elementów",verb:"mieć"}};function n(t){return e[t]??null}let i={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",mac:"adres MAC",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",credit_card:"numer karty kredytowej",currency_code:"kod waluty",iban:"IBAN",jwt:"JWT",template_literal:"wejście"},o={nan:"NaN",number:"liczba",array:"tablica"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${t.expected}, otrzymano ${s}`:`Nieprawidłowe dane wejściowe: oczekiwano ${r}, otrzymano ${s}`}case"invalid_value":return t.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${$(t.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Za duża wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${r}${t.maximum.toString()} ${a.unit??"elementów"}`:`Zbyt duż(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Za mała wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${r}${t.minimum.toString()} ${a.unit??"elementów"}`:`Zbyt mał(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${r.prefix}"`:r.format==="ends_with"?`Nieprawidłowy ciąg znaków: musi kończyć się na "${r.suffix}"`:r.format==="includes"?`Nieprawidłowy ciąg znaków: musi zawierać "${r.includes}"`:r.format==="regex"?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${r.pattern}`:`Nieprawidłow(y/a/e) ${i[r.format]??t.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${t.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${t.keys.length>1?"s":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${t.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${t.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function Ef(){return{localeError:Z$()}}var F$=()=>{let e={string:{unit:"caracteres"},file:{unit:"bytes"},array:{unit:"elementos"},set:{unit:"elementos"},map:{unit:"entradas"}};function n(a){return e[a]??null}let i={regex:"a entrada",email:"o endereço de e-mail",url:"o URL",emoji:"o emoji",uuid:"o UUID",uuidv4:"o UUIDv4",uuidv6:"o UUIDv6",nanoid:"o nanoid",guid:"o GUID",cuid:"o cuid",cuid2:"o cuid2",ulid:"o ULID",xid:"o XID",ksuid:"o KSUID",datetime:"a data e hora ISO",date:"a data ISO",time:"a hora ISO",duration:"a duração ISO",ipv4:"o endereço IPv4",ipv6:"o endereço IPv6",mac:"o endereço MAC",cidrv4:"o intervalo de endereços IPv4",cidrv6:"o intervalo de endereços IPv6",base64:"o texto codificado em base64",base64url:"o texto codificado em base64url",json_string:"o texto JSON",e164:"o número E.164",credit_card:"o número de cartão de crédito",currency_code:"o código de moeda",iban:"o IBAN",jwt:"o JWT",template_literal:"a entrada"},o={masculine:{definite:"o",indefinite:"um"},feminine:{definite:"a",indefinite:"uma"}},t={string:{name:"texto",articles:o.masculine},number:{name:"número",articles:o.masculine},int:{name:"número inteiro",articles:o.masculine},boolean:{name:"valor booleano",articles:o.masculine},bigint:{name:"número bigint",articles:o.masculine},symbol:{name:"símbolo",articles:o.masculine},undefined:{name:'valor "undefined"',articles:o.masculine},null:{name:'valor "nulo"',articles:o.masculine},never:{name:'valor "never"',articles:o.masculine},void:{name:'valor "void"',articles:o.masculine},date:{name:"data",articles:o.feminine},array:{name:"vetor",articles:o.masculine},object:{name:"objeto",articles:o.masculine},tuple:{name:"tuplo",articles:o.masculine},record:{name:"registo",articles:o.masculine},map:{name:"mapa",articles:o.masculine},set:{name:"conjunto",articles:o.masculine},file:{name:"ficheiro",articles:o.masculine},nonoptional:{name:"valor não opcional",articles:o.masculine},nan:{name:'valor "NaN"',articles:o.masculine},function:{name:"função",articles:o.feminine}};function r(a,s){let u=t[a]??{name:`valor "${a}"`,articles:o.masculine};return`${u.articles[s]} ${u.name}`}return a=>{switch(a.code){case"invalid_type":{let s=r(a.expected,"indefinite"),u=k(a.input),c=r(u,"indefinite");return`Entrada inválida: esperava ${s}, recebeu ${c}`}case"invalid_value":return a.values.length===1?`Entrada inválida: esperava ${$(a.values[0])}`:`Opção inválida: esperava uma das seguintes opções: ${v(a.values,"|")}`;case"too_big":{let s=a.inclusive?"<=":"<",u=n(a.origin);return u?`Demasiado grande: esperava que ${r(a.origin,"definite")} tivesse ${s} ${a.maximum.toString()} ${u.unit??"elementos"}`:`Demasiado grande: esperava que ${r(a.origin,"definite")} fosse ${s} ${a.maximum.toString()}`}case"too_small":{let s=a.inclusive?">=":">",u=n(a.origin);return u?`Demasiado pequeno: esperava que ${r(a.origin,"definite")} tivesse ${s} ${a.minimum.toString()} ${u.unit??"elementos"}`:`Demasiado pequeno: esperava que ${r(a.origin,"definite")} fosse ${s} ${a.minimum.toString()}`}case"invalid_format":{let s=a;return s.format==="starts_with"?`Texto inválido: deve começar por "${s.prefix}"`:s.format==="ends_with"?`Texto inválido: deve terminar em "${s.suffix}"`:s.format==="includes"?`Texto inválido: deve incluir "${s.includes}"`:s.format==="regex"?`Texto inválido: deve corresponder ao padrão ${s.pattern}`:`Formato d${i[s.format]??a.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${a.divisor}`;case"unrecognized_keys":{let s=a.keys.length>1?"s":"";return`Chave${s} inválida${s}: ${v(a.keys,", ")}`}case"invalid_key":return`Entrada inválida n${r(a.origin,"definite")}`;case"invalid_union":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Valor de discriminação inválido. Esperava ${a.options.map(u=>`'${u}'`).join(" | ")}`:"Entrada inválida";case"invalid_element":return`Entrada inválida n${r(a.origin,"definite")}`;default:return"Entrada inválida"}}};function Af(){return{localeError:F$()}}var V$=()=>{let e={string:{unit:"caracteres"},file:{unit:"bytes"},array:{unit:"elementos"},set:{unit:"elementos"},map:{unit:"entradas"}};function n(a){return e[a]??null}let i={regex:"a entrada",email:"o endereço de e-mail",url:"o URL",emoji:"o emoji",uuid:"o UUID",uuidv4:"o UUIDv4",uuidv6:"o UUIDv6",nanoid:"o nanoid",guid:"o GUID",cuid:"o cuid",cuid2:"o cuid2",ulid:"o ULID",xid:"o XID",ksuid:"o KSUID",datetime:"a data e hora ISO",date:"a data ISO",time:"a hora ISO",duration:"a duração ISO",ipv4:"o endereço IPv4",ipv6:"o endereço IPv6",mac:"o endereço MAC",cidrv4:"a faixa de endereços IPv4",cidrv6:"a faixa de endereços IPv6",base64:"o texto codificado em base64",base64url:"o texto codificado em base64url",json_string:"o texto JSON",e164:"o número E.164",credit_card:"o número de cartão de crédito",currency_code:"o código de moeda",iban:"o IBAN",jwt:"o JWT",template_literal:"a entrada"},o={masculine:{definite:"o",indefinite:"um"},feminine:{definite:"a",indefinite:"uma"}},t={string:{name:"texto",articles:o.masculine},number:{name:"número",articles:o.masculine},int:{name:"número inteiro",articles:o.masculine},boolean:{name:"valor booleano",articles:o.masculine},bigint:{name:"número bigint",articles:o.masculine},symbol:{name:"símbolo",articles:o.masculine},undefined:{name:'valor "undefined"',articles:o.masculine},null:{name:'valor "nulo"',articles:o.masculine},never:{name:'valor "never"',articles:o.masculine},void:{name:'valor "void"',articles:o.masculine},date:{name:"data",articles:o.feminine},array:{name:"vetor",articles:o.masculine},object:{name:"objeto",articles:o.masculine},tuple:{name:"tupla",articles:o.feminine},record:{name:"registro",articles:o.masculine},map:{name:"mapa",articles:o.masculine},set:{name:"conjunto",articles:o.masculine},file:{name:"arquivo",articles:o.masculine},nonoptional:{name:"valor não opcional",articles:o.masculine},nan:{name:'valor "NaN"',articles:o.masculine},function:{name:"função",articles:o.feminine}};function r(a,s){let u=t[a]??{name:`valor "${a}"`,articles:o.masculine};return`${u.articles[s]} ${u.name}`}return a=>{switch(a.code){case"invalid_type":{let s=r(a.expected,"indefinite"),u=k(a.input),c=r(u,"indefinite");return`Entrada inválida: esperava ${s}, recebeu ${c}`}case"invalid_value":return a.values.length===1?`Entrada inválida: esperava ${$(a.values[0])}`:`Opção inválida: esperava uma das seguintes opções: ${v(a.values,"|")}`;case"too_big":{let s=a.inclusive?"<=":"<",u=n(a.origin);return u?`Grande demais: esperava que ${r(a.origin,"definite")} tivesse ${s} ${a.maximum.toString()} ${u.unit??"elementos"}`:`Grande demais: esperava que ${r(a.origin,"definite")} fosse ${s} ${a.maximum.toString()}`}case"too_small":{let s=a.inclusive?">=":">",u=n(a.origin);return u?`Pequeno demais: esperava que ${r(a.origin,"definite")} tivesse ${s} ${a.minimum.toString()} ${u.unit??"elementos"}`:`Pequeno demais: esperava que ${r(a.origin,"definite")} fosse ${s} ${a.minimum.toString()}`}case"invalid_format":{let s=a;return s.format==="starts_with"?`Texto inválido: deve começar com "${s.prefix}"`:s.format==="ends_with"?`Texto inválido: deve terminar com "${s.suffix}"`:s.format==="includes"?`Texto inválido: deve incluir "${s.includes}"`:s.format==="regex"?`Texto inválido: deve corresponder ao padrão ${s.pattern}`:`Formato d${i[s.format]??a.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${a.divisor}`;case"unrecognized_keys":{let s=a.keys.length>1?"s":"";return`Chave${s} inválida${s}: ${v(a.keys,", ")}`}case"invalid_key":return`Entrada inválida n${r(a.origin,"definite")}`;case"invalid_union":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Valor de discriminação inválido. Esperava ${a.options.map(u=>`'${u}'`).join(" | ")}`:"Entrada inválida";case"invalid_element":return`Entrada inválida n${r(a.origin,"definite")}`;default:return"Entrada inválida"}}};function Of(){return{localeError:V$()}}var G$=()=>{let e={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function n(t){return e[t]??null}let i={regex:"intrare",email:"adresă de email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",credit_card:"număr de card de credit",currency_code:"cod valutar",iban:"IBAN",jwt:"JWT",template_literal:"intrare"},o={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`Intrare invalidă: așteptat ${r}, primit ${s}`}case"invalid_value":return t.values.length===1?`Intrare invalidă: așteptat ${$(t.values[0])}`:`Opțiune invalidă: așteptat una dintre ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Prea mare: așteptat ca ${t.origin??"valoarea"} ${a.verb} ${r}${t.maximum.toString()} ${a.unit??"elemente"}`:`Prea mare: așteptat ca ${t.origin??"valoarea"} să fie ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Prea mic: așteptat ca ${t.origin} ${a.verb} ${r}${t.minimum.toString()} ${a.unit}`:`Prea mic: așteptat ca ${t.origin} să fie ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Șir invalid: trebuie să înceapă cu "${r.prefix}"`:r.format==="ends_with"?`Șir invalid: trebuie să se termine cu "${r.suffix}"`:r.format==="includes"?`Șir invalid: trebuie să includă "${r.includes}"`:r.format==="regex"?`Șir invalid: trebuie să se potrivească cu modelul ${r.pattern}`:`Format invalid: ${i[r.format]??t.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${t.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${v(t.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${t.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${t.origin}`;default:return"Intrare invalidă"}}};function Nf(){return{localeError:G$()}}function zf(e,n,i,o){let t=Math.abs(e),r=t%10,a=t%100;return a>=11&&a<=19?o:r===1?n:r>=2&&r<=4?i:o}var B$=()=>{let e={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},map:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function n(t){return e[t]??null}let i={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",mac:"MAC адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",credit_card:"номер кредитной карты",currency_code:"код валюты",iban:"IBAN",jwt:"JWT",template_literal:"ввод"},o={nan:"NaN",number:"число",array:"массив"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Неверный ввод: ожидалось instanceof ${t.expected}, получено ${s}`:`Неверный ввод: ожидалось ${r}, получено ${s}`}case"invalid_value":return t.values.length===1?`Неверный ввод: ожидалось ${$(t.values[0])}`:`Неверный вариант: ожидалось одно из ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);if(a){let s=Number(t.maximum),u=zf(s,a.unit.one,a.unit.few,a.unit.many);return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет иметь ${r}${t.maximum.toString()} ${u}`}return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);if(a){let s=Number(t.minimum),u=zf(s,a.unit.one,a.unit.few,a.unit.many);return`Слишком маленькое значение: ожидалось, что ${t.origin} будет иметь ${r}${t.minimum.toString()} ${u}`}return`Слишком маленькое значение: ожидалось, что ${t.origin} будет ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Неверная строка: должна начинаться с "${r.prefix}"`:r.format==="ends_with"?`Неверная строка: должна заканчиваться на "${r.suffix}"`:r.format==="includes"?`Неверная строка: должна содержать "${r.includes}"`:r.format==="regex"?`Неверная строка: должна соответствовать шаблону ${r.pattern}`:`Неверный ${i[r.format]??t.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспознанн${t.keys.length>1?"ые":"ый"} ключ${t.keys.length>1?"и":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${t.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${t.origin}`;default:return"Неверные входные данные"}}};function Df(){return{localeError:B$()}}var H$=()=>{let e={string:{unit:"znakov",verb:"mať"},file:{unit:"bajtov",verb:"mať"},array:{unit:"prvkov",verb:"mať"},set:{unit:"prvkov",verb:"mať"},map:{unit:"položiek",verb:"mať"}};function n(t){return e[t]??null}let i={regex:"regulárny výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dátum a čas vo formáte ISO",date:"dátum vo formáte ISO",time:"čas vo formáte ISO",duration:"doba trvania ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",mac:"MAC adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"reťazec zakódovaný vo formáte base64",base64url:"reťazec zakódovaný vo formáte base64url",json_string:"reťazec vo formáte JSON",e164:"číslo E.164",credit_card:"číslo kreditnej karty",currency_code:"kód meny",iban:"IBAN",jwt:"JWT",template_literal:"vstup"},o={nan:"NaN",number:"číslo",string:"reťazec",function:"funkcia",array:"pole"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Neplatný vstup: očakávané instanceof ${t.expected}, obdržané ${s}`:`Neplatný vstup: očakávané ${r}, obdržané ${s}`}case"invalid_value":return t.values.length===1?`Neplatný vstup: očakávané ${$(t.values[0])}`:`Neplatný vstup: očakávaná jedna z hodnôt ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Hodnota je príliš veľká: ${t.origin??"hodnota"} musí mať ${r}${t.maximum.toString()} ${a.unit??"prvkov"}`:`Hodnota je príliš veľká: ${t.origin??"hodnota"} musí byť ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Hodnota je príliš malá: ${t.origin??"hodnota"} musí mať ${r}${t.minimum.toString()} ${a.unit??"prvkov"}`:`Hodnota je príliš malá: ${t.origin??"hodnota"} musí byť ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Neplatný reťazec: musí začínať na "${r.prefix}"`:r.format==="ends_with"?`Neplatný reťazec: musí končiť na "${r.suffix}"`:r.format==="includes"?`Neplatný reťazec: musí obsahovať "${r.includes}"`:r.format==="regex"?`Neplatný reťazec: musí zodpovedať vzoru ${r.pattern}`:`Neplatný formát ${i[r.format]??t.format}`}case"not_multiple_of":return`Neplatné číslo: musí byť násobkom ${t.divisor}`;case"unrecognized_keys":return`Neznáme klúče: ${v(t.keys,", ")}`;case"invalid_key":return`Neplatný klúč v ${t.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${t.origin}`;default:return"Neplatný vstup"}}};function Cf(){return{localeError:H$()}}var W$=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"},map:{unit:"elementov",verb:"imeti"}};function n(t){return e[t]??null}let i={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",mac:"MAC naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",credit_card:"številka kreditne kartice",currency_code:"koda valute",iban:"IBAN",jwt:"JWT",template_literal:"vnos"},o={nan:"NaN",number:"število",array:"tabela"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Neveljaven vnos: pričakovano instanceof ${t.expected}, prejeto ${s}`:`Neveljaven vnos: pričakovano ${r}, prejeto ${s}`}case"invalid_value":return t.values.length===1?`Neveljaven vnos: pričakovano ${$(t.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} imelo ${r}${t.maximum.toString()} ${a.unit??"elementov"}`:`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Premajhno: pričakovano, da bo ${t.origin} imelo ${r}${t.minimum.toString()} ${a.unit}`:`Premajhno: pričakovano, da bo ${t.origin} ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Neveljaven niz: mora se začeti z "${r.prefix}"`:r.format==="ends_with"?`Neveljaven niz: mora se končati z "${r.suffix}"`:r.format==="includes"?`Neveljaven niz: mora vsebovati "${r.includes}"`:r.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${r.pattern}`:`Neveljaven ${i[r.format]??t.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${t.divisor}`;case"unrecognized_keys":return`Neprepoznan${t.keys.length>1?"i ključi":" ključ"}: ${v(t.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${t.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${t.origin}`;default:return"Neveljaven vnos"}}};function Lf(){return{localeError:W$()}}var K$=()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"},map:{unit:"objekt",verb:"att innehålla"}};function n(t){return e[t]??null}let i={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-adress",ipv6:"IPv6-adress",mac:"MAC-adress",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",credit_card:"kreditkortsnummer",currency_code:"valutakod",iban:"IBAN",jwt:"JWT",template_literal:"mall-literal"},o={nan:"NaN",number:"antal",array:"lista"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ogiltig inmatning: förväntat instanceof ${t.expected}, fick ${s}`:`Ogiltig inmatning: förväntat ${r}, fick ${s}`}case"invalid_value":return t.values.length===1?`Ogiltig inmatning: förväntat ${$(t.values[0])}`:`Ogiltigt val: förväntade en av ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`För stor(t): förväntade ${t.origin??"värdet"} att ha ${r}${t.maximum.toString()} ${a.unit??"element"}`:`För stor(t): förväntat ${t.origin??"värdet"} att ha ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`För lite(t): förväntade ${t.origin??"värdet"} att ha ${r}${t.minimum.toString()} ${a.unit}`:`För lite(t): förväntade ${t.origin??"värdet"} att ha ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ogiltig sträng: måste börja med "${r.prefix}"`:r.format==="ends_with"?`Ogiltig sträng: måste sluta med "${r.suffix}"`:r.format==="includes"?`Ogiltig sträng: måste innehålla "${r.includes}"`:r.format==="regex"?`Ogiltig sträng: måste matcha mönstret "${r.pattern}"`:`Ogiltig(t) ${i[r.format]??t.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${v(t.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${t.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${t.origin??"värdet"}`;default:return"Ogiltig input"}}};function jf(){return{localeError:K$()}}var J$=()=>{let e={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},map:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function n(t){return e[t]??null}let i={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",mac:"MAC முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",credit_card:"கடன் அட்டை எண்",currency_code:"நாணயக் குறியீடு",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${t.expected}, பெறப்பட்டது ${s}`:`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${r}, பெறப்பட்டது ${s}`}case"invalid_value":return t.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${$(t.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${v(t.values,"|")} இல் ஒன்று`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${r}${t.maximum.toString()} ${a.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${r}${t.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${r}${t.minimum.toString()} ${a.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${r}${t.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let r=t;return r.format==="starts_with"?`தவறான சரம்: "${r.prefix}" இல் தொடங்க வேண்டும்`:r.format==="ends_with"?`தவறான சரம்: "${r.suffix}" இல் முடிவடைய வேண்டும்`:r.format==="includes"?`தவறான சரம்: "${r.includes}" ஐ உள்ளடக்க வேண்டும்`:r.format==="regex"?`தவறான சரம்: ${r.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${i[r.format]??t.format}`}case"not_multiple_of":return`தவறான எண்: ${t.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${t.keys.length>1?"கள்":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${t.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function Uf(){return{localeError:J$()}}var X$=()=>{let e={string:{unit:"аломат",verb:"дошта бошад"},file:{unit:"байт",verb:"дошта бошад"},array:{unit:"унсур",verb:"дошта бошад"},set:{unit:"унсур",verb:"дошта бошад"},map:{unit:"сабт",verb:"дошта бошад"}};function n(t){return e[t]??null}let i={regex:"вуруд",email:"суроғаи email",url:"URL",emoji:"эмоҷи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"санаву вақти ISO",date:"санаи ISO",time:"вақти ISO",duration:"давомнокии ISO",ipv4:"суроғаи IPv4",ipv6:"суроғаи IPv6",mac:"суроғаи MAC",cidrv4:"маҳдудаи IPv4",cidrv6:"маҳдудаи IPv6",base64:"сатри дар формати base64",base64url:"сатри дар формати base64url",json_string:"сатри JSON",e164:"рақами E.164",credit_card:"рақами корти кредитӣ",currency_code:"рамзи асъор",iban:"IBAN",jwt:"JWT",template_literal:"вуруд"},o={nan:"NaN",number:"рақам",string:"сатр",array:"массив",object:"объект",date:"сана"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`Вуруди нодуруст: ${r} интизор мерафт, ${s} гирифта шуд`}case"invalid_value":return t.values.length===1?`Вуруди нодуруст: ${$(t.values[0])} интизор мерафт`:`Интихоби нодуруст: яке аз ${v(t.values,"|")} интизор мерафт`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Хеле калон: ${t.origin??"қимат"} бояд ${r}${t.maximum.toString()} ${a.unit} ${a.verb}`:`Хеле калон: ${t.origin??"қимат"} бояд ${r}${t.maximum.toString()} бошад`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Хеле хурд: ${t.origin} бояд ${r}${t.minimum.toString()} ${a.unit} ${a.verb}`:`Хеле хурд: ${t.origin} бояд ${r}${t.minimum.toString()} бошад`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Сатри нодуруст: бояд бо "${r.prefix}" оғоз шавад`:r.format==="ends_with"?`Сатри нодуруст: бояд бо "${r.suffix}" анҷом ёбад`:r.format==="includes"?`Сатри нодуруст: бояд "${r.includes}"-ро дар бар гирад`:r.format==="regex"?`Сатри нодуруст: бояд ба намунаи ${r.pattern} мувофиқат кунад`:`${i[r.format]??t.format}-и нодуруст`}case"not_multiple_of":return`Рақами нодуруст: бояд ба ${t.divisor} бе бақия тақсим шавад`;case"unrecognized_keys":return`Калид${t.keys.length>1?"ҳои":"и"} номаълум: ${v(t.keys,", ")}`;case"invalid_key":return`Калиди нодуруст дар ${t.origin}`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`Қимати нодурусти дискриминатор: ${t.options.map(a=>`'${a}'`).join(" | ")} интизор мерафт`:"Вуруди нодуруст";case"invalid_element":return`Қимати нодуруст дар ${t.origin}`;default:return"Вуруди нодуруст"}}};function Rf(){return{localeError:X$()}}var q$=()=>{let e={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"},map:{unit:"รายการ",verb:"ควรมี"}};function n(t){return e[t]??null}let i={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",mac:"ที่อยู่ MAC",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",credit_card:"หมายเลขบัตรเครดิต",currency_code:"รหัสสกุลเงิน",iban:"IBAN",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},o={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${t.expected} แต่ได้รับ ${s}`:`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${r} แต่ได้รับ ${s}`}case"invalid_value":return t.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${$(t.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"ไม่เกิน":"น้อยกว่า",a=n(t.origin);return a?`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${r} ${t.maximum.toString()} ${a.unit??"รายการ"}`:`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${r} ${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?"อย่างน้อย":"มากกว่า",a=n(t.origin);return a?`น้อยกว่ากำหนด: ${t.origin} ควรมี${r} ${t.minimum.toString()} ${a.unit}`:`น้อยกว่ากำหนด: ${t.origin} ควรมี${r} ${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${r.prefix}"`:r.format==="ends_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${r.suffix}"`:r.format==="includes"?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${r.includes}" อยู่ในข้อความ`:r.format==="regex"?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${r.pattern}`:`รูปแบบไม่ถูกต้อง: ${i[r.format]??t.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${t.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${v(t.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${t.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${t.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function Mf(){return{localeError:q$()}}var Y$=()=>{let e={string:{unit:"simwol",verb:"bolmaly"},file:{unit:"baýt",verb:"bolmaly"},array:{unit:"elementler",verb:"bolmaly"},set:{unit:"elementler",verb:"bolmaly"},map:{unit:"elementler",verb:"bolmaly"}};function n(t){return e[t]??null}let i={regex:"giriş",email:"e-poçta salgysy",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sene we wagt",date:"ISO sene",time:"ISO wagt",duration:"ISO wagt aralygy",ipv4:"IPv4 salgysy",ipv6:"IPv6 salgysy",mac:"MAC salgysy",cidrv4:"IPv4 aralygy",cidrv6:"IPv6 aralygy",base64:"base64 bilen şifrlenen setir",base64url:"base64url bilen şifrlenen setir",json_string:"JSON setiri",e164:"E.164 nomeri",credit_card:"kredit kartynyň nomeri",currency_code:"walýuta kody",iban:"IBAN",jwt:"JWT",template_literal:"şablon"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return`Nädogry baha: garaşylan ${r} ýerine ${s} alyndy`}case"invalid_value":return t.values.length===1?`Nädogry baha: ${$(t.values[0])} bolmaly`:`Nädogry saýlaw: aşakdakylardan biri bolmaly: ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Has uly: garaşylýan ${t.origin??"baha"} ${r} ${t.maximum.toString()} ${a.unit??"element"}`:`Has uly: garaşylýan ${t.origin??"baha"} ${r} ${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Has kiçi: garaşylýan ${t.origin} ${r} ${t.minimum.toString()} ${a.unit}`:`Has kiçi: garaşylýan ${t.origin} ${r} ${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Nädogry setir: "${r.prefix}" bilen başlamaly`:r.format==="ends_with"?`Nädogry setir: "${r.suffix}" bilen gutarmaly`:r.format==="includes"?`Nädogry setir: "${r.includes}" saklamaly`:r.format==="regex"?`Nädogry setir: ${r.pattern} nusga laýyk bolmaly`:`Nädogry ${i[r.format]??t.format}`}case"not_multiple_of":return`Nädogry san: ${t.divisor} bilen galyndysyz bölünmeli`;case"unrecognized_keys":return`Tanalmaýan açar${t.keys.length>1?"lar":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} içinde nädogry açar`;case"invalid_union":return"Nädogry baha";case"invalid_element":return`${t.origin} içinde nädogry baha`;default:return"Nädogry baha"}}};function Zf(){return{localeError:Y$()}}var Q$=()=>{let e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"},map:{unit:"öğe",verb:"olmalı"}};function n(t){return e[t]??null}let i={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",mac:"MAC adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",credit_card:"kredi kartı numarası",currency_code:"para birimi kodu",iban:"IBAN",jwt:"JWT",template_literal:"Şablon dizesi"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Geçersiz değer: beklenen instanceof ${t.expected}, alınan ${s}`:`Geçersiz değer: beklenen ${r}, alınan ${s}`}case"invalid_value":return t.values.length===1?`Geçersiz değer: beklenen ${$(t.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Çok büyük: beklenen ${t.origin??"değer"} ${r}${t.maximum.toString()} ${a.unit??"öğe"}`:`Çok büyük: beklenen ${t.origin??"değer"} ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Çok küçük: beklenen ${t.origin} ${r}${t.minimum.toString()} ${a.unit}`:`Çok küçük: beklenen ${t.origin} ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Geçersiz metin: "${r.prefix}" ile başlamalı`:r.format==="ends_with"?`Geçersiz metin: "${r.suffix}" ile bitmeli`:r.format==="includes"?`Geçersiz metin: "${r.includes}" içermeli`:r.format==="regex"?`Geçersiz metin: ${r.pattern} desenine uymalı`:`Geçersiz ${i[r.format]??t.format}`}case"not_multiple_of":return`Geçersiz sayı: ${t.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${t.keys.length>1?"lar":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${t.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function Ff(){return{localeError:Q$()}}var ek=()=>{let e={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"},map:{unit:"елементів",verb:"матиме"}};function n(t){return e[t]??null}let i={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",mac:"адреса MAC",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",credit_card:"номер кредитної картки",currency_code:"код валюти",iban:"IBAN",jwt:"JWT",template_literal:"вхідні дані"},o={nan:"NaN",number:"число",array:"масив"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Неправильні вхідні дані: очікується instanceof ${t.expected}, отримано ${s}`:`Неправильні вхідні дані: очікується ${r}, отримано ${s}`}case"invalid_value":return t.values.length===1?`Неправильні вхідні дані: очікується ${$(t.values[0])}`:`Неправильна опція: очікується одне з ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Занадто велике: очікується, що ${t.origin??"значення"} ${a.verb} ${r}${t.maximum.toString()} ${a.unit??"елементів"}`:`Занадто велике: очікується, що ${t.origin??"значення"} буде ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Занадто мале: очікується, що ${t.origin} ${a.verb} ${r}${t.minimum.toString()} ${a.unit}`:`Занадто мале: очікується, що ${t.origin} буде ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Неправильний рядок: повинен починатися з "${r.prefix}"`:r.format==="ends_with"?`Неправильний рядок: повинен закінчуватися на "${r.suffix}"`:r.format==="includes"?`Неправильний рядок: повинен містити "${r.includes}"`:r.format==="regex"?`Неправильний рядок: повинен відповідати шаблону ${r.pattern}`:`Неправильний ${i[r.format]??t.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${t.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${t.keys.length>1?"і":""}: ${v(t.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${t.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${t.origin}`;default:return"Неправильні вхідні дані"}}};function qi(){return{localeError:ek()}}function Vf(){return qi()}var tk=()=>{let e={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"},map:{unit:"آئٹمز",verb:"ہونا"}};function n(t){return e[t]??null}let i={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",mac:"ایم اے سی ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",credit_card:"کریڈٹ کارڈ نمبر",currency_code:"کرنسی کوڈ",iban:"IBAN",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},o={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`غلط ان پٹ: instanceof ${t.expected} متوقع تھا، ${s} موصول ہوا`:`غلط ان پٹ: ${r} متوقع تھا، ${s} موصول ہوا`}case"invalid_value":return t.values.length===1?`غلط ان پٹ: ${$(t.values[0])} متوقع تھا`:`غلط آپشن: ${v(t.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`بہت بڑا: ${t.origin??"ویلیو"} کے ${r}${t.maximum.toString()} ${a.unit??"عناصر"} ہونے متوقع تھے`:`بہت بڑا: ${t.origin??"ویلیو"} کا ${r}${t.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`بہت چھوٹا: ${t.origin} کے ${r}${t.minimum.toString()} ${a.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${t.origin} کا ${r}${t.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let r=t;return r.format==="starts_with"?`غلط سٹرنگ: "${r.prefix}" سے شروع ہونا چاہیے`:r.format==="ends_with"?`غلط سٹرنگ: "${r.suffix}" پر ختم ہونا چاہیے`:r.format==="includes"?`غلط سٹرنگ: "${r.includes}" شامل ہونا چاہیے`:r.format==="regex"?`غلط سٹرنگ: پیٹرن ${r.pattern} سے میچ ہونا چاہیے`:`غلط ${i[r.format]??t.format}`}case"not_multiple_of":return`غلط نمبر: ${t.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${t.keys.length>1?"ز":""}: ${v(t.keys,"، ")}`;case"invalid_key":return`${t.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${t.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function Gf(){return{localeError:tk()}}var nk=()=>{let e={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function n(t){return e[t]??null}let i={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",credit_card:"kredit karta raqami",currency_code:"valyuta kodi",iban:"IBAN",jwt:"JWT",template_literal:"kirish"},o={nan:"NaN",number:"raqam",array:"massiv"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Noto‘g‘ri kirish: kutilgan instanceof ${t.expected}, qabul qilingan ${s}`:`Noto‘g‘ri kirish: kutilgan ${r}, qabul qilingan ${s}`}case"invalid_value":return t.values.length===1?`Noto‘g‘ri kirish: kutilgan ${$(t.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Juda katta: kutilgan ${t.origin??"qiymat"} ${r}${t.maximum.toString()} ${a.unit} ${a.verb}`:`Juda katta: kutilgan ${t.origin??"qiymat"} ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Juda kichik: kutilgan ${t.origin} ${r}${t.minimum.toString()} ${a.unit} ${a.verb}`:`Juda kichik: kutilgan ${t.origin} ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Noto‘g‘ri satr: "${r.prefix}" bilan boshlanishi kerak`:r.format==="ends_with"?`Noto‘g‘ri satr: "${r.suffix}" bilan tugashi kerak`:r.format==="includes"?`Noto‘g‘ri satr: "${r.includes}" ni o‘z ichiga olishi kerak`:r.format==="regex"?`Noto‘g‘ri satr: ${r.pattern} shabloniga mos kelishi kerak`:`Noto‘g‘ri ${i[r.format]??t.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${t.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${t.keys.length>1?"lar":""}: ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${t.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function Bf(){return{localeError:nk()}}var rk=()=>{let e={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"},map:{unit:"phần tử",verb:"có"}};function n(t){return e[t]??null}let i={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",mac:"địa chỉ MAC",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",credit_card:"số thẻ tín dụng",currency_code:"mã tiền tệ",iban:"IBAN",jwt:"JWT",template_literal:"đầu vào"},o={nan:"NaN",number:"số",array:"mảng"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Đầu vào không hợp lệ: mong đợi instanceof ${t.expected}, nhận được ${s}`:`Đầu vào không hợp lệ: mong đợi ${r}, nhận được ${s}`}case"invalid_value":return t.values.length===1?`Đầu vào không hợp lệ: mong đợi ${$(t.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Quá lớn: mong đợi ${t.origin??"giá trị"} ${a.verb} ${r}${t.maximum.toString()} ${a.unit??"phần tử"}`:`Quá lớn: mong đợi ${t.origin??"giá trị"} ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Quá nhỏ: mong đợi ${t.origin} ${a.verb} ${r}${t.minimum.toString()} ${a.unit}`:`Quá nhỏ: mong đợi ${t.origin} ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Chuỗi không hợp lệ: phải bắt đầu bằng "${r.prefix}"`:r.format==="ends_with"?`Chuỗi không hợp lệ: phải kết thúc bằng "${r.suffix}"`:r.format==="includes"?`Chuỗi không hợp lệ: phải bao gồm "${r.includes}"`:r.format==="regex"?`Chuỗi không hợp lệ: phải khớp với mẫu ${r.pattern}`:`${i[r.format]??t.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${t.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${v(t.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${t.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${t.origin}`;default:return"Đầu vào không hợp lệ"}}};function Hf(){return{localeError:rk()}}var ik=()=>{let e={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"},map:{unit:"项",verb:"包含"}};function n(t){return e[t]??null}let i={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",mac:"MAC地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",credit_card:"信用卡号",currency_code:"货币代码",iban:"IBAN",jwt:"JWT",template_literal:"输入"},o={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`无效输入:期望 instanceof ${t.expected},实际接收 ${s}`:`无效输入:期望 ${r},实际接收 ${s}`}case"invalid_value":return t.values.length===1?`无效输入:期望 ${$(t.values[0])}`:`无效选项:期望以下之一 ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`数值过大:期望 ${t.origin??"值"} ${r}${t.maximum.toString()} ${a.unit??"个元素"}`:`数值过大:期望 ${t.origin??"值"} ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`数值过小:期望 ${t.origin} ${r}${t.minimum.toString()} ${a.unit}`:`数值过小:期望 ${t.origin} ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`无效字符串:必须以 "${r.prefix}" 开头`:r.format==="ends_with"?`无效字符串:必须以 "${r.suffix}" 结尾`:r.format==="includes"?`无效字符串:必须包含 "${r.includes}"`:r.format==="regex"?`无效字符串:必须满足正则表达式 ${r.pattern}`:`无效${i[r.format]??t.format}`}case"not_multiple_of":return`无效数字:必须是 ${t.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${v(t.keys,", ")}`;case"invalid_key":return`${t.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${t.origin} 中包含无效值(value)`;default:return"无效输入"}}};function Wf(){return{localeError:ik()}}var ok=()=>{let e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"},map:{unit:"項目",verb:"擁有"}};function n(t){return e[t]??null}let i={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",mac:"MAC 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",credit_card:"信用卡號",currency_code:"貨幣代碼",iban:"IBAN",jwt:"JWT",template_literal:"輸入"},o={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`無效的輸入值:預期為 instanceof ${t.expected},但收到 ${s}`:`無效的輸入值:預期為 ${r},但收到 ${s}`}case"invalid_value":return t.values.length===1?`無效的輸入值:預期為 ${$(t.values[0])}`:`無效的選項:預期為以下其中之一 ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`數值過大:預期 ${t.origin??"值"} 應為 ${r}${t.maximum.toString()} ${a.unit??"個元素"}`:`數值過大:預期 ${t.origin??"值"} 應為 ${r}${t.maximum.toString()}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`數值過小:預期 ${t.origin} 應為 ${r}${t.minimum.toString()} ${a.unit}`:`數值過小:預期 ${t.origin} 應為 ${r}${t.minimum.toString()}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`無效的字串:必須以 "${r.prefix}" 開頭`:r.format==="ends_with"?`無效的字串:必須以 "${r.suffix}" 結尾`:r.format==="includes"?`無效的字串:必須包含 "${r.includes}"`:r.format==="regex"?`無效的字串:必須符合格式 ${r.pattern}`:`無效的 ${i[r.format]??t.format}`}case"not_multiple_of":return`無效的數字:必須為 ${t.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${t.keys.length>1?"們":""}:${v(t.keys,"、")}`;case"invalid_key":return`${t.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${t.origin} 中有無效的值`;default:return"無效的輸入值"}}};function Kf(){return{localeError:ok()}}var ak=()=>{let e={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"},map:{unit:"nkan",verb:"ní"}};function n(t){return e[t]??null}let i={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",mac:"àdírẹ́sì MAC",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",credit_card:"nọmba kaadi gbese",currency_code:"koodu owó",iban:"IBAN",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},o={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return t=>{switch(t.code){case"invalid_type":{let r=o[t.expected]??t.expected,a=k(t.input),s=o[a]??a;return/^[A-Z]/.test(t.expected)?`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${t.expected}, àmọ̀ a rí ${s}`:`Ìbáwọlé aṣìṣe: a ní láti fi ${r}, àmọ̀ a rí ${s}`}case"invalid_value":return t.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${$(t.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${v(t.values,"|")}`;case"too_big":{let r=t.inclusive?"<=":"<",a=n(t.origin);return a?`Tó pọ̀ jù: a ní láti jẹ́ pé ${t.origin??"iye"} ${a.verb} ${r}${t.maximum} ${a.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${r}${t.maximum}`}case"too_small":{let r=t.inclusive?">=":">",a=n(t.origin);return a?`Kéré ju: a ní láti jẹ́ pé ${t.origin} ${a.verb} ${r}${t.minimum} ${a.unit}`:`Kéré ju: a ní láti jẹ́ ${r}${t.minimum}`}case"invalid_format":{let r=t;return r.format==="starts_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${r.prefix}"`:r.format==="ends_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${r.suffix}"`:r.format==="includes"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${r.includes}"`:r.format==="regex"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${r.pattern}`:`Aṣìṣe: ${i[r.format]??t.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${t.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${v(t.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${t.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${t.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function Jf(){return{localeError:ak()}}var Xf,_c=Symbol("ZodOutput"),$c=Symbol("ZodInput"),Yi=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(n,...i){let o=i[0];return this._map.set(n,o),o&&typeof o=="object"&&"id"in o&&this._idmap.set(o.id,n),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(n){let i=this._map.get(n);return i&&typeof i=="object"&&"id"in i&&this._idmap.delete(i.id),this._map.delete(n),this}get(n){let i=n._zod.parent;if(i){let o={...this.get(i)??{}};delete o.id;let t={...o,...this._map.get(n)};return Object.keys(t).length?t:void 0}return this._map.get(n)}has(n){return this._map.has(n)}};function Qi(){return new Yi}(Xf=globalThis).__zod_globalRegistry??(Xf.__zod_globalRegistry=Qi());var ue=globalThis.__zod_globalRegistry;var fe=Symbol.for("zod.compile.invalid"),qf=Symbol.for("zod.compile.fallback"),De=class extends Error{constructor(n="z.compile does not support async refinements, transforms, or checks"){super(n),this.name="ZodCompileAsyncError"}},F=class extends Error{constructor(n,i=!0){super(`z.compile does not support ${n}; this schema must use the runtime parser`),this.name="ZodCompileUnsupportedError",this.islandable=i}};function uk(e,n){try{return to(e,{assertOnly:!0})}catch{return n}}function Ic(e,n){try{let i=to(e),o=eo(e,i);return o._zod.bag.validator=uk(e,i),o}catch(i){if(n?.strict)throw i;return e}}function eo(e,n){if(Wi(e))throw new F("a schema whose subtree contains a reference cycle");let i=W(e),o=e._zod.run,t=o.__originalRun??o,r=(a,s)=>{if(s?.async||s?.direction==="backward"||s?.skipChecks||s?.[qf]||s&&Ki(s,a.value))return t(a,s);let u=n(a.value);return u!==fe?(a.value=u,a):(s&&(s[qf]=!0),t(a,s))};return r.__originalRun=t,i._zod.bag.fallbackRun=t,i._zod.bag.validator=n,i._zod.run=r,o.__originalRun||ck(i,e,n),i}function ck(e,n,i){let o=e,t=n;if(typeof t.safeParse=="function"){let r=t.safeParse;o.safeParse=(a,s)=>{let u=i(a);return u!==fe?{success:!0,data:u}:r(a,s)}}if(typeof t.parse=="function"){let r=t.parse;o.parse=(a,s)=>{let u=i(a);return u!==fe?u:r(a,s)}}}function to(e,n){let i=!0;try{i=Wi(e)}catch{}if(i)throw new F("a schema whose subtree contains a reference cycle");let o={constants:new Map,constantCounter:0,varCounter:0,definite:!0},t=new It(["input"]),r=Q(t,o,e,"input",!n?.assertOnly);t.write(r===null?"return true;":`return ${r};`);let a=["INVALID",...o.constants.keys()],s=[fe,...o.constants.values()],u=t.content.join(` +`),c=n?.debug?a.length>0?`// Constants: ${a.join(", ")} +${u}`:u:"",d=Function,p=`return (input) => { +${u} +}`,m;try{m=new d(...a,p)(...s)}catch(f){throw new F(`this schema (generated code failed to evaluate: ${f.message})`)}return n?.debug&&(m.code=c),m.definite=o.definite,m}function j(e,n){for(let[o,t]of e.constants)if(t===n)return o;let i=`c${e.constantCounter++}`;return e.constants.set(i,n),i}function Tt(e,n){return e.definite=!1,j(e,n)}function z(e){return`v${e.varCounter++}`}function lk(e,n){let i=e._zod.run({value:n,issues:[]},{});if(i&&typeof i.then=="function")return fe;let o=i;return o.issues.length===0?o.value:fe}function le(e,n,i,o,t=!0){let r=e.content.length,a=n.constants.size,s=n.constantCounter,u=n.varCounter;try{return Q(e,n,i,o,t)}catch(c){if(!(c instanceof F)||!c.islandable)throw c;if(e.content.length=r,n.constants.size>a){let d=Array.from(n.constants.keys()).slice(a);for(let p of d)n.constants.delete(p)}return n.constantCounter=s,n.varCounter=u,dk(e,n,i,o)}}function dk(e,n,i,o){n.definite=!1;let t=j(n,i),r=j(n,lk),a=z(n);return e.write(`const ${a} = ${r}(${t}, ${o});`),e.write(`if (${a} === INVALID) return INVALID;`),a}var pk=new Set(["max_size","min_size","size_equals","max_length","min_length","length_equals"]);function mk(e,n,i,o){let t=i._zod.def.checks;if(!t||t.length===0)return o;let r=o;for(let a of t){let s=a._zod.def;if(s.when&&!pk.has(s.check))throw new F('check with a custom "when" condition');switch(s.check){case"greater_than":fk(e,n,s,r);break;case"less_than":gk(e,n,s,r);break;case"multiple_of":hk(e,n,s,r);break;case"number_format":rg(e,s,r);break;case"min_length":{let u=at(s.minimum,"min_length"),c=kc(e,n,r,`${r}.length >= ${u} && ${r}.length < ${s.minimum*2}`);e.write(`if (${c} < ${u}) return INVALID;`);break}case"max_length":{let u=at(s.maximum,"max_length"),c=kc(e,n,r,`${r}.length > ${u}`);e.write(`if (${c} > ${u}) return INVALID;`);break}case"length_equals":{let u=at(s.length,"length_equals"),c=kc(e,n,r,`${r}.length >= ${u} && ${r}.length <= ${s.length*2}`);e.write(`if (${c} !== ${u}) return INVALID;`);break}case"min_size":e.write(`if (${r}.size < ${at(s.minimum,"min_size")}) return INVALID;`);break;case"max_size":e.write(`if (${r}.size > ${at(s.maximum,"max_size")}) return INVALID;`);break;case"size_equals":e.write(`if (${r}.size !== ${at(s.size,"size_equals")}) return INVALID;`);break;case"string_format":r=ig(e,n,s,r);break;case"custom":r=kk(e,n,a,r);break;case"bigint_format":vk(e,s,r);break;case"mime_type":yk(e,n,s,r);break;case"property":_k(e,n,s,r);break;case"properties":bk(e,n,s,r);break;case"overwrite":{let u=z(n);$k(e,n,a,r,u),r=u;break}default:throw new F(`check type ${s.check}`)}}return r}function kc(e,n,i,o){let t=j(n,xt),r=z(n);return e.write(`const ${r} = typeof ${i} === "string" && ${o} ? ${t}(${i}) : ${i}.length;`),r}function at(e,n){if(typeof e!="number"||!Number.isFinite(e))throw new F(`${n} bound of type ${typeof e}`);return`${e}`}function ng(e,n){if(typeof n=="bigint")return`${n}n`;if(typeof n=="number"){if(Number.isNaN(n))throw new F("comparison check with NaN bound");return`${n}`}if(n instanceof Date){if(Number.isNaN(n.getTime()))throw new F("comparison check with Invalid Date bound");return j(e,n)}throw new F(`comparison check bound of type ${typeof n}`)}function fk(e,n,i,o){let t=i.inclusive?"<":"<=";e.write(`if (${o} ${t} ${ng(n,i.value)}) return INVALID;`)}function gk(e,n,i,o){let t=i.inclusive?">":">=";e.write(`if (${o} ${t} ${ng(n,i.value)}) return INVALID;`)}function hk(e,n,i,o){if(typeof i.value=="bigint"){if(i.value===BigInt(0))throw new F("multiple_of check with a zero divisor");e.write(`if (${o} % ${i.value}n !== 0n) return INVALID;`)}else{let t=j(n,Gn);e.write(`if (${t}(${o}, ${at(i.value,"multiple_of")}) !== 0) return INVALID;`)}}function rg(e,n,i){let o=n.format;switch(o){case"safeint":e.write(`if (!Number.isSafeInteger(${i})) return INVALID;`);break;case"int32":e.write(`if (!Number.isInteger(${i}) || ${i} < -2147483648 || ${i} > 2147483647) return INVALID;`);break;case"uint32":e.write(`if (!Number.isInteger(${i}) || ${i} < 0 || ${i} > 4294967295) return INVALID;`);break;case"float32":e.write(`if (!Number.isFinite(${i}) || ${i} < -3.4028234663852886e38 || ${i} > 3.4028234663852886e38) return INVALID;`);break;case"float64":e.write(`if (!Number.isFinite(${i})) return INVALID;`);break;default:throw new F(`number format ${o}`)}}function vk(e,n,i){let o=n.format;if(o)switch(o){case"int64":e.write(`if (${i} < -9223372036854775808n || ${i} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${i} < 0n || ${i} > 18446744073709551615n) return INVALID;`);break;default:throw new F(`bigint format ${o}`)}}function yk(e,n,i,o){let t=i.mime;if(t&&t.length>0){let r=j(n,new Set(t));e.write(`if (!${r}.has(${o}.type)) return INVALID;`)}}function bk(e,n,i,o){if(i.when)throw new F('check with a custom "when" condition');e.write(`if (${o} == null) return INVALID;`);let t=i.shape;for(let r of Reflect.ownKeys(t)){let a=typeof r=="symbol"?j(n,r):pe(r),s=z(n);e.write(`const ${s} = ${o}[${a}];`),le(e,n,t[r],s,!1)}}function _k(e,n,i,o){let t=`${o}[${JSON.stringify(i.property)}]`;Q(e,n,i.schema,t)}function $k(e,n,i,o,t){let r=i._zod.def.tx;if(!r)throw new F("overwrite check without a transform function");if(Et(r))throw new De("z.compile: async overwrite transforms are not supported");let a=j(n,r);e.write(`const ${t} = ${a}(${o});`)}function xc(){throw new $e}function Sc(e){this.issues.push(e)}function kk(e,n,i,o){let t=i._zod.def;if(t.fn){if(Et(t.fn))throw new De("z.compile: async .refine() predicates are not supported");let r=Tt(n,t.fn),a=j(n,xc),s=z(n);return e.write(`const ${s} = ${r}(${o});`),e.write(`if (${s} instanceof Promise) ${a}();`),e.write(`if (!${s}) return INVALID;`),o}if(i._zod.check){if(Et(i._zod.check))throw new De("z.compile: async .superRefine() / check functions are not supported");let r=i._zod.check,s=Tt(n,c=>{let d={value:c,issues:[],addIssue:Sc};return r(d)instanceof Promise&&xc(),d.issues.length===0?d.value:fe}),u=z(n);return e.write(`const ${u} = ${s}(${o});`),e.write(`if (${u} === INVALID) return INVALID;`),u}throw new F("custom check without a predicate or check function")}var xk=new Set(["cidrv4","cuid","cuid2","date","datetime","duration","e164","email","emoji","ends_with","guid","includes","ipv4","ksuid","lowercase","mac","nanoid","regex","starts_with","time","ulid","uppercase","uuid","xid"]);function ig(e,n,i,o,t=!0){let r=i.format;if(r==="base64"){let c=j(n,lr);return e.write(`if (!${c}(${o})) return INVALID;`),o}if(r==="base64url"){let c=j(n,Di);return e.write(`if (!${c}(${o})) return INVALID;`),o}if(r==="jwt"){let c=j(n,ji),d=j(n,i.alg??null);return e.write(`if (!${c}(${o}, ${d})) return INVALID;`),o}if(r==="ipv6"){let c=j(n,cr);return e.write(`if (!${c}(${o})) return INVALID;`),o}if(r==="cidrv6"){let c=j(n,Ni);return e.write(`if (!${c}(${o})) return INVALID;`),o}if(r==="credit_card"){let c=j(n,Ci);return e.write(`if (!${c}(${o})) return INVALID;`),o}if(r==="iban"){let c=j(n,Li);return e.write(`if (!${c}(${o})) return INVALID;`),o}let a=i;if(r==="url"||r==="httpurl"||a.normalize||a.hostname!==void 0||a.protocol!==void 0){let c=j(n,Ei),d=j(n,i),p=z(n),m=z(n);if(e.write(`const ${p} = ${o}.trim();`),e.write(`const ${m} = ${c}(${p}, ${d});`),e.write(`if (typeof ${m} === "number") return INVALID;`),a.hostname!==void 0){let y=j(n,Ai);e.write(`if (!${y}(${m}, ${d}.hostname)) return INVALID;`)}if(a.protocol!==void 0){let y=j(n,Oi);e.write(`if (!${y}(${m}, ${d}.protocol)) return INVALID;`)}if(!t)return null;let f=z(n),g=a.normalize?`${m}.href`:`${j(n,ur)}(${p})`;return e.write(`const ${f} = ${g};`),f}let s=i.fn;if(s){if(Et(s))throw new F(`async string format ${r}`);let c=j(n,s);return e.write(`if (!${c}(${o})) return INVALID;`),o}if(xk.has(r)&&i.pattern){let c=j(n,i.pattern);return e.write(`${c}.lastIndex = 0;`),e.write(`if (!${c}.test(${o})) return INVALID;`),o}let u=i.format;switch(u){case"regex":throw new F("regex format without a pattern");case"lowercase":e.write(`if (${o} !== ${o}.toLowerCase()) return INVALID;`);break;case"uppercase":e.write(`if (${o} !== ${o}.toUpperCase()) return INVALID;`);break;case"includes":e.write(`if (!${o}.includes(${pe(i.includes)})) return INVALID;`);break;case"starts_with":{let c=i.prefix;e.write(`if (${o}.slice(0, ${c.length}) !== ${pe(c)}) return INVALID;`);break}case"ends_with":{let c=i.suffix;e.write(`if (${o}.slice(-${c.length}) !== ${pe(c)}) return INVALID;`);break}default:throw new F(`string format ${u}`)}return o}function Q(e,n,i,o,t=!0){let r=i._zod.def,a=r.type;if(r.coerce)throw new F(`coercion (z.coerce.${a}())`);let s=t||!!r.checks?.length,u;switch(a){case"string":u=wk(e,n,i,o,s);break;case"number":u=Ik(e,i,o);break;case"boolean":u=Sk(e,o);break;case"bigint":u=Pk(e,i,o);break;case"symbol":u=Tk(e,o);break;case"undefined":u=Ek(e,o);break;case"null":u=Ak(e,o);break;case"any":case"unknown":u=o;break;case"never":e.write("return INVALID;"),u=o;break;case"void":u=Ok(e,o);break;case"nan":u=Nk(e,o);break;case"date":u=zk(e,o);break;case"object":u=Dk(e,n,i,o,s);break;case"optional":u=Ck(e,n,i,o,s);break;case"nullable":u=Uk(e,n,i,o,s);break;case"array":u=Rk(e,n,i,o,s);break;case"literal":u=Mk(e,n,i,o);break;case"enum":u=Zk(e,n,i,o);break;case"readonly":{let c=Qf(e,n,i,o),d=z(n);e.write(`const ${d} = Object.freeze(${c});`),u=d;break}case"success":Qf(e,n,i,o),u="true";break;case"default":case"prefault":u=Fk(e,n,i,o);break;case"nonoptional":u=Vk(e,n,i,o);break;case"tuple":u=Gk(e,n,i,o);break;case"union":u=Bk(e,n,i,o);break;case"intersection":u=Kk(e,n,i,o);break;case"record":u=Jk(e,n,i,o);break;case"map":u=qk(e,n,i,o);break;case"set":u=Yk(e,n,i,o);break;case"file":u=Qk(e,o);break;case"template_literal":u=ex(e,n,i,o);break;case"lazy":u=tx(e,n,i,o);break;case"pipe":u=nx(e,n,i,o);break;case"custom":u=rx(e,n,i,o);break;case"transform":u=ax(e,n,i,o);break;case"catch":u=ox(e,n,i,o);break;default:throw new F(`schema type ${a}`)}return u===null?null:mk(e,n,i,u)}function wk(e,n,i,o,t=!0){e.write(`if (typeof ${o} !== "string") return INVALID;`);let r=i._zod.def;return r.format===void 0?o:ig(e,n,r,o,t)}function Ik(e,n,i){e.write(`if (typeof ${i} !== "number" || !Number.isFinite(${i})) return INVALID;`);let o=n._zod.def;return o.check==="number_format"&&o.format&&rg(e,{format:o.format},i),i}function Sk(e,n){return e.write(`if (typeof ${n} !== "boolean") return INVALID;`),n}function Pk(e,n,i){e.write(`if (typeof ${i} !== "bigint") return INVALID;`);let o=n._zod.def;if(o.format)switch(o.format){case"int64":e.write(`if (${i} < -9223372036854775808n || ${i} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${i} < 0n || ${i} > 18446744073709551615n) return INVALID;`);break}return i}function Tk(e,n){return e.write(`if (typeof ${n} !== "symbol") return INVALID;`),n}function Ek(e,n){return e.write(`if (${n} !== undefined) return INVALID;`),n}function Ak(e,n){return e.write(`if (${n} !== null) return INVALID;`),n}function Ok(e,n){return e.write(`if (${n} !== undefined) return INVALID;`),n}function Nk(e,n){return e.write(`if (typeof ${n} !== "number" || !Number.isNaN(${n})) return INVALID;`),n}function zk(e,n){return e.write(`if (!(${n} instanceof Date) || Number.isNaN(${n}.getTime())) return INVALID;`),n}function Dk(e,n,i,o,t=!0){let r=i._zod.def;e.write(`if (typeof ${o} !== "object" || ${o} === null || Array.isArray(${o})) return INVALID;`);let a=r.shape,s=Object.keys(a),u=Object.getOwnPropertySymbols(a),c=u.length?[...s,...u]:s,d=b=>typeof b=="symbol"?j(n,b):pe(b),p=b=>typeof b=="symbol"?`[${d(b)}]`:pe(b),m=a;if(s.includes("__proto__"))throw new F('object shape key "__proto__"');let f=new Map;for(let b of c){let T=m[b],A=d(b),D=z(n);if(e.write(`const ${D} = ${o}[${A}];`),T._zod.optin!==void 0){let w=z(n);e.write(`let ${w} = (() => {`),e.indented(O=>{let E=le(O,n,T,D);O.write(`return ${E};`)}),e.write("})();"),T._zod.optout==="optional"?(e.write(`if (${w} === INVALID) {`),e.indented(O=>{O.write(`if (${A} in ${o}) return INVALID;`),O.write(`${w} = undefined;`)}),e.write("}")):e.write(`if (${w} === INVALID) return INVALID;`),f.set(b,w)}else{jk(T)&&e.write(`if (!(${A} in ${o})) return INVALID;`);let w=le(e,n,T,D,t);w!==null&&f.set(b,w)}}let g=r.catchall,y="none";if(g){let b=g._zod.def.type;if(b==="never"){let T=s.map(A=>`k !== ${pe(A)}`).join(" && ")||"true";e.write(`for (const k in ${o}) {`),e.indented(A=>{A.write(`if (${T}) return INVALID;`)}),e.write("}")}else(b==="unknown"||b==="any")&&!g._zod.def.checks?.length?y="passthrough":y="schema"}let x=z(n),I=c.some(b=>Yf(m[b])||wc(m[b]));if(!t){if(y==="schema"){let b=s.length>0?j(n,new Set(s)):null;e.write(`for (const k in ${o}) {`),e.indented(T=>{T.write('if (k === "__proto__") continue;'),b&&T.write(`if (${b}.has(k)) continue;`);let A=z(n);T.write(`const ${A} = ${o}[k];`),le(T,n,g,A,!1)}),e.write("}")}return null}if(I){e.write(`const ${x} = {};`);for(let b of c){let T=d(b),A=f.get(b);wc(m[b])?e.write(`if (${T} in ${o}) ${x}[${T}] = ${A};`):Yf(m[b])?e.write(`if (${A} !== undefined || ${T} in ${o}) ${x}[${T}] = ${A};`):e.write(`${x}[${T}] = ${A};`)}}else{let b=c.map(T=>`${p(T)}: ${f.get(T)}`).join(", ");e.write(`const ${x} = { ${b} };`)}if(y!=="none"){let b=s.length>0?j(n,new Set(s)):null;e.write(`for (const k in ${o}) {`),e.indented(T=>{if(T.write('if (k === "__proto__") continue;'),b&&T.write(`if (${b}.has(k)) continue;`),y==="passthrough")T.write(`${x}[k] = ${o}[k];`);else{let A=z(n);T.write(`const ${A} = ${o}[k];`);let D=le(T,n,g,A);T.write(`${x}[k] = ${D};`)}}),e.write("}")}return x}function Ck(e,n,i,o,t=!0){let r=i._zod.def;if(Lk(i))return Q(e,n,r.innerType,o,t);if(r.innerType._zod.optin==="defaulted"){let s=z(n),u=z(n);return e.write(`let ${s};`),e.write(`if (${o} === undefined) {`),e.indented(c=>{c.write(`const ${u} = (() => {`),c.indented(d=>{let p=Q(d,n,r.innerType,o);d.write(`return ${p};`)}),c.write("})();"),c.write(`if (${u} !== INVALID) ${s} = ${u};`)}),e.write("} else {"),e.indented(c=>{let d=Q(c,n,r.innerType,o);c.write(`${s} = ${d};`)}),e.write("}"),s}let a=t?z(n):null;return a&&e.write(`let ${a};`),e.write(`if (${o} !== undefined) {`),e.indented(s=>{let u=Q(s,n,r.innerType,o,t);a&&u!==null&&s.write(`${a} = ${u};`)}),e.write("}"),a}function Lk(e){return e._zod.traits?.has("$ZodExactOptional")===!0}function jk(e){return e._zod.optin===void 0&&Pt(e)}function Pt(e){if(e._zod.def.coerce)return!0;let n=e._zod.def;switch(n.type){case"any":case"unknown":case"undefined":case"void":case"default":case"prefault":case"transform":case"custom":case"lazy":return!0;case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"never":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":return!1;case"nonoptional":return n.innerType?Pt(n.innerType):!1;case"literal":return!!n.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":case"nullable":case"readonly":case"success":return n.innerType?Pt(n.innerType):!0;case"catch":return!0;case"union":return n.options?n.options.some(Pt):!0;case"intersection":return!n.left||!n.right?!0:Pt(n.left)&&Pt(n.right);case"pipe":return n.in?Pt(n.in):!0;default:return!0}}function wc(e){return e._zod.optin==="optional"&&e._zod.optout==="optional"}function Yf(e){return(e._zod.optin!=="defaulted"||e._zod.optout==="optional")&&sn(e)}function sn(e){let n=e._zod.def;switch(n.type){case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":case"never":case"success":return!1;case"literal":return!!n.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":return!0;case"nullable":case"readonly":case"nonoptional":return n.innerType?sn(n.innerType):!0;case"union":return n.options?n.options.some(sn):!0;case"intersection":return!n.left||!n.right||sn(n.left)||sn(n.right);case"pipe":return n.out?sn(n.out):!0;default:return!0}}function Uk(e,n,i,o,t=!0){let r=i._zod.def,a=t?z(n):null;return a&&e.write(`let ${a} = null;`),e.write(`if (${o} !== null) {`),e.indented(s=>{let u=Q(s,n,r.innerType,o,t);a&&u!==null&&s.write(`${a} = ${u};`)}),e.write("}"),a}function Pc(e,n,i){for(let[o,t]of Xt(n._zod.def.checks))e.write(`if (${i} > ${at(o,t._zod.def.check)}) return INVALID;`)}function Rk(e,n,i,o,t=!0){let r=i._zod.def;e.write(`if (!Array.isArray(${o})) return INVALID;`),Pc(e,i,`${o}.length`);let a=t?z(n):null,s=z(n),u=z(n);return a&&e.write(`const ${a} = new Array(${o}.length);`),e.write(`for (let ${s} = 0; ${s} < ${o}.length; ${s}++) {`),e.indented(c=>{c.write(`const ${u} = ${o}[${s}];`);let d=le(c,n,r.element,u,t);a&&d!==null&&c.write(`${a}[${s}] = ${d};`)}),e.write("}"),a}function Mk(e,n,i,o){let r=i._zod.def.values;if(r.length!==1){let s=j(n,new Set(r));return e.write(`if (!${s}.has(${o})) return INVALID;`),o}let a=r[0];if(typeof a=="number"&&Number.isNaN(a)){let s=j(n,new Set(r));return e.write(`if (!${s}.has(${o})) return INVALID;`),o}if(typeof a=="string")e.write(`if (${o} !== ${pe(a)}) return INVALID;`);else if(typeof a=="number"||typeof a=="boolean")e.write(`if (${o} !== ${a}) return INVALID;`);else if(a===null)e.write(`if (${o} !== null) return INVALID;`);else if(a===void 0)e.write(`if (${o} !== undefined) return INVALID;`);else if(typeof a=="bigint")e.write(`if (${o} !== ${a}n) return INVALID;`);else throw new F(`literal type ${typeof a}`);return o}function Zk(e,n,i,o){let t=i._zod.values;if(!t)throw new F("enum schema without enumerated values");let r=j(n,t);return e.write(`if (!${r}.has(${o})) return INVALID;`),o}function Qf(e,n,i,o){let t=i._zod.def;return Q(e,n,t.innerType,o)}function Fk(e,n,i,o){let t=i._zod.def,a=Object.getOwnPropertyDescriptor(i._zod.def,"defaultValue")?()=>i._zod.def.defaultValue:void 0;if(i._zod.def.type==="prefault"){if(!a)return Q(e,n,t.innerType,o);let u=j(n,a),c=z(n);return e.write(`let ${c} = ${o};`),e.write(`if (${o} === undefined) ${c} = ${u}();`),Q(e,n,t.innerType,c)}let s=z(n);if(a){let u=j(n,a),c=j(n,Bn);e.write(`let ${s};`),e.write(`if (${o} === undefined) {`),e.indented(d=>{d.write(`${s} = ${c}(${u}());`)}),e.write("} else {"),e.indented(d=>{let p=Q(d,n,t.innerType,o);d.write(`${s} = ${p} === undefined ? ${c}(${u}()) : ${p};`)}),e.write("}")}else e.write(`let ${s};`),e.write(`if (${o} !== undefined) {`),e.indented(u=>{let c=Q(u,n,t.innerType,o);u.write(`${s} = ${c};`)}),e.write("}");return s}function Vk(e,n,i,o){let t=i._zod.def,r=Q(e,n,t.innerType,o),a=z(n);return e.write(`const ${a} = ${r};`),e.write(`if (${a} === undefined) return INVALID;`),a}function Gk(e,n,i,o){let t=i._zod.def,r=t.items,a=t.rest;e.write(`if (!Array.isArray(${o})) return INVALID;`);let s=eg(r,"optin"),u=eg(r,"optout");a?e.write(`if (${o}.length < ${s}) return INVALID;`):e.write(`if (${o}.length < ${s} || ${o}.length > ${r.length}) return INVALID;`);let c=z(n);e.write(`const ${c} = [];`);for(let d=0;d=u)e.write(`if (${c}.length === ${d}) {`),e.indented(m=>{m.write(`if (${d} < ${o}.length) {`),m.indented(f=>{let g=z(n);f.write(`const ${g} = ${o}[${d}];`);let y=le(f,n,p,g);f.write(`${c}[${d}] = ${y};`)}),m.write("} else {"),m.indented(f=>{if(wc(p)){f.write(`${c}.length = ${d};`);return}let g=z(n),y=z(n);f.write(`const ${g} = undefined;`),f.write(`const ${y} = (() => {`),f.indented(x=>{let I=le(x,n,p,g);x.write(`return ${I};`)}),f.write("})();"),f.write(`if (${y} === INVALID || ${y} === undefined) ${c}.length = ${d};`),f.write(`else ${c}[${d}] = ${y};`)}),m.write("}")}),e.write("}");else{let m=z(n);e.write(`const ${m} = ${o}[${d}];`);let f=le(e,n,p,m);e.write(`${c}[${d}] = ${f};`)}}if(a){let d=z(n),p=z(n);e.write(`for (let ${d} = ${r.length}; ${d} < ${o}.length; ${d}++) {`),e.indented(m=>{m.write(`const ${p} = ${o}[${d}];`);let f=le(m,n,a,p);m.write(`${c}[${d}] = ${f};`)}),e.write("}")}return c}function eg(e,n){for(let i=e.length-1;i>=0;i--)if(!(n==="optin"?e[i]._zod.optin!==void 0:e[i]._zod.optout==="optional"))return i+1;return 0}function Bk(e,n,i,o){let t=i._zod.def,r=t.options;if(t.discriminator)return Hk(e,n,t,o);if(t.inclusive===!1)throw new F("exclusive unions (z.xor)");if(r.length===0)return e.write("return INVALID;"),o;if(r.length===1)return Q(e,n,r[0],o);if(r.every(u=>u._zod.def.type==="literal"&&!u._zod.def.checks?.length)){let u=new Set(r.flatMap(d=>d._zod.def.values)),c=j(n,u);return e.write(`if (!${c}.has(${o})) return INVALID;`),o}let s=z(n);e.write(`let ${s};`);for(let u=0;u {`):e.write(`if (${s} === INVALID) ${s} = (() => {`),e.indented(d=>{let p=Q(d,n,c,o);d.write(`return ${p};`)}),e.write("})();")}return e.write(`if (${s} === INVALID) return INVALID;`),s}function Hk(e,n,i,o){if(i.unionFallback)throw new F("discriminated union with unionFallback");if(i.options.length===0)return e.write("return INVALID;"),o;let t=z(n),r=z(n);e.write(`const ${t} = ${o}?.[${pe(i.discriminator)}];`),e.write(`let ${r};`);let a=!0,s=new Set;for(let u of i.options){let c=u._zod.propValues?.[i.discriminator];if(!c||c.size===0)throw new F("discriminated union option without static discriminator values");for(let m of c){if(s.has(m))throw new F(`duplicate discriminator value ${String(m)}`);s.add(m)}let d=Array.from(c,m=>Wk(n,t,m)),p=a?"if":"else if";e.write(`${p} (${d.join(" || ")}) {`),e.indented(m=>{let f=Q(m,n,u,o);m.write(`${r} = ${f};`)}),e.write("}"),a=!1}return e.write("else { return INVALID; }"),r}function Wk(e,n,i){if(typeof i=="string")return`${n} === ${pe(i)}`;if(typeof i=="number")return Number.isNaN(i)?`Number.isNaN(${n})`:`${n} === ${i}`;if(typeof i=="boolean")return`${n} === ${i}`;if(i===null)return`${n} === null`;if(i===void 0)return`${n} === undefined`;if(typeof i=="bigint")return`${n} === ${i}n`;if(typeof i=="symbol"){let o=j(e,i);return`${n} === ${o}`}throw new F(`literal discriminator value ${String(i)}`)}function Kk(e,n,i,o){let t=i._zod.def;n.definite=!1;let r=le(e,n,t.left,o),a=le(e,n,t.right,o),s=j(n,rn),u=z(n);return e.write(`const ${u} = ${s}(${r}, ${a});`),e.write(`if (!${u}.valid) return INVALID;`),`${u}.data`}function Jk(e,n,i,o){let t=i._zod.def,r=j(n,Se);e.write(`if (!${r}(${o})) return INVALID;`);let a=z(n),s=z(n),u=z(n);e.write(`const ${a} = {};`);let c=t,d=c.partial?void 0:t.keyType._zod.values;if(d){let f=[];for(let y of d){if(!(typeof y=="string"||typeof y=="number"||typeof y=="symbol"))throw new F(`record key value ${String(y)}`);let x=typeof y=="number"?y.toString():y;if(x==="__proto__")throw new F('record key "__proto__"');f.push(x);let I=j(n,y),b=Q(e,n,t.keyType,I),T=z(n);e.write(`const ${T} = ${o}[${Xk(n,x)}];`);let A=le(e,n,t.valueType,T);e.write(`${a}[${b}] = ${A};`)}let g=j(n,new Set(f));return e.write(`for (const ${s} in ${o}) {`),e.indented(y=>{y.write(`if (${g}.has(${s})) continue;`),c.mode==="loose"?y.write(`if (${s} !== "__proto__") ${a}[${s}] = ${o}[${s}];`):y.write("return INVALID;")}),e.write("}"),a}let p=t.keyType._zod.def;if(!(p.type==="string"&&p.format===void 0&&!p.coerce&&(p.checks?.length??0)===0)){let f=t.mode==="loose",g=to(t.keyType);g.definite===!1&&(n.definite=!1);let y=j(n,g),x=j(n,qe),I=z(n);return tg(e,n,o,s,b=>{b.write(`let ${I} = ${y}(${s});`),b.write(`if (${I} === INVALID && typeof ${s} === "string" && ${x}.test(${s})) ${I} = ${y}(Number(${s}));`),f?b.write(`if (${I} === INVALID) { ${a}[${s}] = ${o}[${s}]; continue; }`):b.write(`if (${I} === INVALID) return INVALID;`),b.write(`if (${I} === "__proto__") continue;`);let T=z(n);b.write(`const ${T} = ${o}[${s}];`);let A=le(b,n,t.valueType,T);b.write(`${a}[${I}] = ${A};`)}),a}return tg(e,n,o,s,f=>{f.write(`const ${u} = ${o}[${s}];`);let g=le(f,n,t.valueType,u);f.write(`${a}[${s}] = ${g};`)},"return INVALID;"),a}function tg(e,n,i,o,t,r){let a=j(n,Object.prototype.propertyIsEnumerable),s=z(n),u=z(n),c=z(n);e.write(`const ${s} = Object.getOwnPropertySymbols(${i});`),e.write(`const ${u} = Object.getOwnPropertyNames(${i});`),e.write(`for (let ${c} = 0; ${c} < ${u}.length; ${c}++) {`),e.indented(d=>{d.write(`const ${o} = ${u}[${c}];`),d.write(`if (${o} === "__proto__" || !${a}.call(${i}, ${o})) continue;`),t(d)}),e.write("}"),e.write(`for (let ${c} = 0; ${c} < ${s}.length; ${c}++) {`),e.indented(d=>{d.write(`const ${o} = ${s}[${c}];`),d.write(`if (!${a}.call(${i}, ${o})) continue;`),r?d.write(r):t(d)}),e.write("}")}function Xk(e,n){return typeof n=="string"?pe(n):j(e,n)}function qk(e,n,i,o){let t=i._zod.def;e.write(`if (!(${o} instanceof Map)) return INVALID;`),Pc(e,i,`${o}.size`);let r=z(n),a=z(n),s=z(n);return e.write(`const ${r} = new Map();`),e.write(`for (const [${a}, ${s}] of ${o}) {`),e.indented(u=>{let c=Q(u,n,t.keyType,a),d=Q(u,n,t.valueType,s);u.write(`${r}.set(${c}, ${d});`)}),e.write("}"),r}function Yk(e,n,i,o){let t=i._zod.def;e.write(`if (!(${o} instanceof Set)) return INVALID;`),Pc(e,i,`${o}.size`);let r=z(n),a=z(n);return e.write(`const ${r} = new Set();`),e.write(`for (const ${a} of ${o}) {`),e.indented(s=>{let u=Q(s,n,t.valueType,a);s.write(`${r}.add(${u});`)}),e.write("}"),r}function Qk(e,n){return e.write(`if (!(${n} instanceof File)) return INVALID;`),n}function ex(e,n,i,o){e.write(`if (typeof ${o} !== "string") return INVALID;`);let t=i._zod.pattern;if(t){let r=j(n,t);e.write(`${r}.lastIndex = 0;`),e.write(`if (!${r}.test(${o})) return INVALID;`)}return o}function tx(e,n,i,o){let t=i._zod.def,r=Tt(n,t.getter),a=j(n,{parser:null});e.write(`if (!${a}.parser) {`),e.indented(u=>{u.write(`const inner = ${r}();`),u.write(`${a}.parser = function(input) {`),u.indented(c=>{c.write("const result = inner._zod.run({ value: input, issues: [] }, {});"),c.write("return result.issues.length === 0 ? result.value : INVALID;")}),u.write("};")}),e.write("}");let s=z(n);return e.write(`const ${s} = ${a}.parser(${o});`),e.write(`if (${s} === INVALID) return INVALID;`),s}function nx(e,n,i,o){let t=i._zod.def,r=Q(e,n,t.in,o);if(t.transform){if(Et(t.transform))throw new De("z.compile: async transforms in pipes are not supported");let a=t.transform,u=Tt(n,d=>{let p={value:d,issues:[],addIssue:Sc},m=a(d,p);return m instanceof Promise?fe:p.issues.length===0?m:fe}),c=z(n);return e.write(`const ${c} = ${u}(${r});`),e.write(`if (${c} === INVALID) return INVALID;`),Q(e,n,t.out,c)}else return Q(e,n,t.out,r)}function Et(e){return typeof e=="function"&&(e.constructor.name==="AsyncFunction"||e[Symbol.toStringTag]==="AsyncFunction")}function rx(e,n,i,o){let t=i._zod.def;if(t.fn){if(Et(t.fn))throw new De("z.compile: async custom predicates are not supported");let r=Tt(n,t.fn),a=j(n,xc),s=z(n);e.write(`const ${s} = ${r}(${o});`),e.write(`if (${s} instanceof Promise) ${a}();`),e.write(`if (!${s}) return INVALID;`)}else throw new F("custom schema without a predicate function");return o}function ix(e,n,i){let o=e._zod.run({value:i,issues:[]},{});if(o&&typeof o.then=="function")return fe;let t=o;return t.issues.length===0?t.value:n()}function ox(e,n,i,o){let t=i._zod.def;if(!t.catchValue[ai])throw new F("catch with a callback (only a constant catch value compiles)",!1);let r=z(n);e.write(`let ${r} = (() => {`),e.indented(c=>{let d=le(c,n,t.innerType,o);c.write(`return ${d};`)}),e.write("})();");let a=j(n,t.innerType),s=Tt(n,t.catchValue),u=j(n,ix);return e.write(`if (${r} === INVALID) {`),e.indented(c=>{c.write(`${r} = ${u}(${a}, ${s}, ${o});`),c.write(`if (${r} === INVALID) return INVALID;`)}),e.write("}"),r}function ax(e,n,i,o){let t=i._zod.def;if(t.transform){if(Et(t.transform))throw new De("z.compile: async transforms are not supported");let r=t.transform,s=Tt(n,c=>{let d={value:c,issues:[],addIssue:Sc},p=r(c,d);return p instanceof Promise?fe:d.issues.length===0?p:fe}),u=z(n);return e.write(`const ${u} = ${s}(${o});`),e.write(`if (${u} === INVALID) return INVALID;`),u}return o}function no(e){return e.checks&&(e.checks=[...e.checks]),e}function Tc(e,n){return new e(no({type:"string",...S(n)}))}function Ec(e,n){return new e(no({type:"string",coerce:!0,...S(n)}))}function ro(e,n){return new e({type:"string",format:"email",check:"string_format",abort:!1,...S(n)})}function io(e,n){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...S(n)})}function oo(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...S(n)})}function ao(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...S(n)})}function so(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...S(n)})}function uo(e,n){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...S(n)})}function $r(e,n){return new e({type:"string",format:"url",check:"string_format",abort:!1,...S(n)})}function co(e,n){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...S(n)})}function lo(e,n){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...S(n)})}function po(e,n){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...S(n)})}function mo(e,n){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...S(n)})}function fo(e,n){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...S(n)})}function go(e,n){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...S(n)})}function ho(e,n){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...S(n)})}function vo(e,n){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...S(n)})}function yo(e,n){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...S(n)})}function Ac(e,n){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...S(n)})}function bo(e,n){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...S(n)})}function _o(e,n){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...S(n)})}function $o(e,n){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...S(n)})}function ko(e,n){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...S(n)})}function xo(e,n){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...S(n)})}function Oc(e,n){return new e({type:"string",format:"credit_card",check:"string_format",abort:!1,...S(n)})}function Nc(e,n){return new e({type:"string",format:"iban",check:"string_format",abort:!1,...S(n)})}function wo(e,n){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...S(n)})}var zc={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function kr(e,n){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...S(n)})}function xr(e,n){return new e({type:"string",format:"date",check:"string_format",...S(n)})}function wr(e,n){return new e({type:"string",format:"time",check:"string_format",precision:null,...S(n)})}function Ir(e,n){return new e({type:"string",format:"duration",check:"string_format",...S(n)})}function Dc(e,n){return new e(no({type:"number",checks:[],...S(n)}))}function Cc(e,n){return new e(no({type:"number",coerce:!0,checks:[],...S(n)}))}function Lc(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...S(n)})}function jc(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...S(n)})}function Uc(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...S(n)})}function Rc(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...S(n)})}function Mc(e,n){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...S(n)})}function Zc(e,n){return new e({type:"boolean",...S(n)})}function Fc(e,n){return new e({type:"boolean",coerce:!0,...S(n)})}function Vc(e,n){return new e({type:"bigint",...S(n)})}function Gc(e,n){return new e({type:"bigint",coerce:!0,...S(n)})}function Bc(e,n){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...S(n)})}function Hc(e,n){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...S(n)})}function Wc(e,n){return new e({type:"symbol",...S(n)})}function Kc(e,n){return new e({type:"undefined",...S(n)})}function Jc(e,n){return new e({type:"null",...S(n)})}function Xc(e){return new e({type:"any"})}function qc(e){return new e({type:"unknown"})}function Yc(e,n){return new e({type:"never",...S(n)})}function Qc(e,n){return new e({type:"void",...S(n)})}function el(e,n){return new e({type:"date",...S(n)})}function tl(e,n){return new e({type:"date",coerce:!0,...S(n)})}function nl(e,n){return new e({type:"nan",...S(n)})}function Ze(e,n){return new ki({check:"less_than",...S(n),value:e,inclusive:!1})}function we(e,n){return new ki({check:"less_than",...S(n),value:e,inclusive:!0})}function Fe(e,n){return new xi({check:"greater_than",...S(n),value:e,inclusive:!1})}function Ie(e,n){return new xi({check:"greater_than",...S(n),value:e,inclusive:!0})}function Io(e){return Fe(0,e)}function So(e){return Ze(0,e)}function Po(e){return we(0,e)}function To(e){return Ie(0,e)}function st(e,n){return new Us({check:"multiple_of",...S(n),value:e})}function ut(e,n){return new Zs({check:"max_size",...S(n),maximum:e})}function Ve(e,n){return new Fs({check:"min_size",...S(n),minimum:e})}function At(e,n){return new Vs({check:"size_equals",...S(n),size:e})}function Ot(e,n){return new Gs({check:"max_length",...S(n),maximum:e})}function Ye(e,n){return new Bs({check:"min_length",...S(n),minimum:e})}function Nt(e,n){return new Hs({check:"length_equals",...S(n),length:e})}function un(e,n){return new Ws({check:"string_format",format:"regex",...S(n),pattern:e})}function cn(e){return new Ks({check:"string_format",format:"lowercase",...S(e)})}function ln(e){return new Js({check:"string_format",format:"uppercase",...S(e)})}function dn(e,n){return new Xs({check:"string_format",format:"includes",...S(n),includes:e})}function pn(e,n){return new qs({check:"string_format",format:"starts_with",...S(n),prefix:e})}function mn(e,n){return new Ys({check:"string_format",format:"ends_with",...S(n),suffix:e})}function Eo(e,n,i){return new Qs({check:"property",property:e,schema:n,...S(i)})}function fn(e,n){return new eu({check:"properties",shape:e,...S(n)})}function gn(e,n){return new tu({check:"mime_type",mime:e,...S(n)})}function Ce(e){return new nu({check:"overwrite",tx:e})}function hn(e){return Ce(n=>n.normalize(e))}function vn(){return Ce(e=>e.trim())}function yn(){return Ce(e=>e.toLowerCase())}function bn(){return Ce(e=>e.toUpperCase())}function _n(){return Ce(e=>Ma(e))}function rl(e,n,i){return new e({type:"array",element:n,...S(i)})}function sx(e,n,i){return new e({type:"union",options:n,...S(i)})}function ux(e,n,i){return new e({type:"union",options:n,inclusive:!1,...S(i)})}function cx(e,n,i,o){return new e({type:"union",options:i,discriminator:n,...S(o)})}function lx(e,n,i){return new e({type:"intersection",left:n,right:i})}function dx(e,n,i,o){let t=i instanceof U,r=t?o:i,a=t?i:null;return new e({type:"tuple",items:n,rest:a,...S(r)})}function px(e,n,i,o){return new e({type:"record",keyType:n,valueType:i,...S(o)})}function mx(e,n,i,o){return new e({type:"map",keyType:n,valueType:i,...S(o)})}function fx(e,n,i){return new e({type:"set",valueType:n,...S(i)})}function gx(e,n,i){let o=Array.isArray(n)?Object.fromEntries(n.map(t=>[t,t])):n;return new e({type:"enum",entries:o,...S(i)})}function hx(e,n,i){return new e({type:"enum",entries:n,...S(i)})}function vx(e,n,i){return new e({type:"literal",values:Array.isArray(n)?n:[n],...S(i)})}function il(e,n){return new e({type:"file",...S(n)})}function yx(e,n){return new e({type:"transform",transform:n})}function bx(e,n){return new e({type:"optional",innerType:n})}function _x(e,n){return new e({type:"nullable",innerType:n})}function $x(e,n,i){return new e({type:"default",innerType:n,get defaultValue(){return typeof i=="function"?i():Bn(i)}})}function kx(e,n,i){return new e({type:"nonoptional",innerType:n,...S(i)})}function xx(e,n){return new e({type:"success",innerType:n})}function wx(e,n,i){return new e({type:"catch",innerType:n,catchValue:typeof i=="function"?i:Ha(i)})}function Ix(e,n,i){return new e({type:"pipe",in:n,out:i})}function Sx(e,n){return new e({type:"readonly",innerType:n})}function Px(e,n,i){return new e({type:"template_literal",parts:n,...S(i)})}function Tx(e,n){return new e({type:"lazy",getter:n})}function Ex(e,n){return new e({type:"promise",innerType:n})}function ol(e,n,i){let o=S(i);return o.abort??(o.abort=!0),new e({type:"custom",check:"custom",fn:n,...o})}function al(e,n,i){return new e({type:"custom",check:"custom",fn:n,...S(i)})}function sl(e,n){let i=og(o=>(o.addIssue=t=>{if(typeof t=="string")o.issues.push(qt(t,o.value,i._zod.def));else{let r=t;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),"input"in r||(r.input=o.value),r.inst??(r.inst=i),r.continue??(r.continue=!i._zod.def.abort),o.issues.push(qt(r))}},e(o.value,o)),n);return i}function og(e,n){let i=new q({check:"custom",...S(n)});return i._zod.check=e,i}function ul(e){let n=new q({check:"describe"});return n._zod.onattach=[i=>{let o=ue.get(i)??{};ue.add(i,{...o,description:e})}],n._zod.check=()=>{},n}function cl(e){let n=new q({check:"meta"});return n._zod.onattach=[i=>{let o=ue.get(i)??{};ue.add(i,{...o,...e})}],n._zod.check=()=>{},n}function ll(e,n){let i=S(n),o=i.truthy??["true","1","yes","on","y","enabled"],t=i.falsy??["false","0","no","off","n","disabled"];i.case!=="sensitive"&&(o=o.map(f=>typeof f=="string"?f.toLowerCase():f),t=t.map(f=>typeof f=="string"?f.toLowerCase():f));let r=new Set(o),a=new Set(t),s=e.Codec??fr,u=e.Boolean??pr,c=e.String??St,d=new c({type:"string",error:i.error}),p=new u({type:"boolean",error:i.error}),m=new s({type:"pipe",in:d,out:p,transform:((f,g)=>{let y=f;return i.case!=="sensitive"&&(y=y.toLowerCase()),r.has(y)?!0:a.has(y)?!1:(g.issues.push({code:"invalid_value",expected:"stringbool",values:[...r,...a],input:g.value,inst:m,continue:!1}),{})}),reverseTransform:((f,g)=>f===!0?o[0]||"true":t[0]||"false"),error:i.error});return m._zod.bag.truthy=o,m._zod.bag.falsy=t,m._zod.bag.case=i.case??"insensitive",m}function zt(e,n,i,o={}){let t=S(o),r={check:"string_format",type:"string",format:n,fn:typeof i=="function"?i:s=>i.test(s),...t};return i instanceof RegExp&&(r.pattern=i),new e(r)}function Sr(e,...n){for(let i of n)for(let o of Reflect.ownKeys(i))Object.prototype.propertyIsEnumerable.call(i,o)&&se(e,o,i[o]);return e}function ct(e){let n=e?.target??"draft-2020-12";return n==="draft-4"&&(n="draft-04"),n==="draft-7"&&(n="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??ue,target:n,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??"ref",reused:e?.reused??"inline",intersections:[],deferred:[],external:e?.external??void 0}}function ie(e,n,i,o,t){let r=typeof n.unrepresentable=="function"?n.unrepresentable({zodSchema:e,path:o.path,message:t}):n.unrepresentable;if(r==="any")return!1;if(r===void 0||r==="throw")throw new Error(t);return Object.assign(i,r),!0}function J(e,n,i={path:[],schemaPath:[]}){var o;let t=e._zod.def,r=n.seen.get(e);if(r)return r.count++,i.schemaPath.includes(e)&&(r.cycle=i.path),r.schema;let a={schema:{},count:1,cycle:void 0,path:i.path};n.seen.set(e,a),n.sharedDefsExtractedFor=void 0,n.sharedEmitDoneFor=void 0;let s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{let d={...i,schemaPath:[...i.schemaPath,e],path:i.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(n,a.schema,d);else{let m=a.schema,f=n.processors[t.type];if(!f)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${t.type}`);f(e,n,m,d)}let p=e._zod.parent;p&&(a.ref||(a.ref=p),J(p,n,d),n.seen.get(p).isParent=!0)}let u=n.metadataRegistry.get(e);return u&&Sr(a.schema,u),n.io==="input"&&ge(e)&&(delete a.schema.examples,delete a.schema.default),n.io==="input"&&"_prefault"in a.schema&&((o=a.schema).default??(o.default=a.schema._prefault)),delete a.schema._prefault,n.seen.get(e).schema}function ag(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function lt(e,n){let i=e.seen.get(n);if(!i)throw new Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let o=new Map;for(let a of e.seen.entries()){let s=e.metadataRegistry.get(a[0])?.id;if(s){let u=o.get(s);if(u&&u!==a[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);o.set(s,a[0])}}let t=a=>{let s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let p=e.external.registry.get(a[0])?.id,m=e.external.uri??(g=>g);if(p)return{ref:m(p)};let f=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=f,{defId:f,ref:`${m("__shared")}#/${s}/${ag(f)}`}}let u="#",c=`${u}/${s}/`;if(a[1]===i&&!a[1].schema.id)return{ref:u};let d=a[1].schema.id??`__schema${e.counter++}`;return{defId:d,ref:c+ag(d)}},r=a=>{if(a[1].schema.$ref)return;let s=a[1],{ref:u,defId:c}=t(a);s.def={...s.schema},c&&(s.defId=c);let d=s.schema;for(let p in d)delete d[p];d.$ref=u};if(e.cycles==="throw")for(let a of e.seen.entries()){let s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/ -Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let s=a[1];if(n===a[0]){r(a);continue}if(e.external){let u=e.external.registry.get(a[0])?.id;if(n!==a[0]&&u){r(a);continue}}if(e.metadataRegistry.get(a[0])?.id){r(a);continue}if(s.cycle){r(a);continue}s.count>1&&e.reused==="ref"&&r(a)}e.external&&(e.sharedDefsExtractedFor=e.external)}function tg(e){let n=e.anyOf;if(!Array.isArray(n)||n.length===0||e.type!==void 0)return;let i=[];for(let o of n){if(!o||typeof o!="object")return;tg(o);let t=Object.keys(o);if(t.length!==1||t[0]!=="type")return;let r=o.type;for(let a of Array.isArray(r)?r:[r]){if(typeof a!="string")return;i.includes(a)||i.push(a)}}delete e.anyOf,e.type=i.length===1?i[0]:i}var ng=new Set(["type","properties","required","additionalProperties"]),Qf=["oneOf","anyOf"];function eg(e){let n=e.additionalProperties;return n===void 0||n===!1||typeof n!="object"||n===null?null:Object.keys(n).length?n:null}function al(e){let n=[];for(let r of e){if(typeof r!="object"||r.type!=="object")return null;for(let a in r)if(!ng.has(a))return null;n.push(r)}let i={},o=new Set;for(let r of n){for(let a in r.properties){if(Object.prototype.hasOwnProperty.call(i,a))continue;let s=[];for(let u of n){let d=u.properties?.[a]??eg(u);d!=null&&(s.some(p=>JSON.stringify(p)===JSON.stringify(d))||s.push(d))}let c=s.length===1?s[0]:al(s)??{allOf:s};se(i,a,c)}for(let a of r.required??[])o.add(a)}let t={type:"object",properties:i};if(o.size&&(t.required=[...o]),n.every(r=>r.additionalProperties===!1))t.additionalProperties=!1;else{let r=[];for(let a of n){let s=eg(a);s&&!r.some(c=>JSON.stringify(c)===JSON.stringify(s))&&r.push(s)}r.length===1?t.additionalProperties=r[0]:r.length>1&&(t.additionalProperties={allOf:r})}return t}function dx(e){let n=e.allOf;if(!Array.isArray(n)||n.length<2)return;for(let t of ng)if(t in e)return;let i=n.filter(t=>Qf.some(r=>Array.isArray(t[r]))),o=null;if(!i.length)o=al(n);else{let t=i[0],r=Qf.find(c=>Array.isArray(t[c]));if(Object.keys(t).length!==1)return;let a=n.filter(c=>c!==t),s=t[r].map(c=>al([...a,c]));if(s.some(c=>!c))return;o={[r]:s}}o&&(delete e.allOf,Sr(e,o))}function dt(e,n){let i=e.seen.get(n);if(!i)throw new Error("Unprocessed schema. This is a bug in Zod.");let o=s=>{let c=e.seen.get(s);if(c.ref===null)return;let u=c.def??c.schema,d={...u},p=c.ref;if(c.ref=null,p){o(p);let f=e.seen.get(p),g=f.schema;if(g.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(u.allOf=u.allOf??[],u.allOf.push(g)):Sr(u,g),Sr(u,d),s._zod.parent===p)for(let x in u)x==="$ref"||x==="allOf"||x in d||delete u[x];if(g.$ref&&f.def)for(let x in u)x==="$ref"||x==="allOf"||x in f.def&&JSON.stringify(u[x])===JSON.stringify(f.def[x])&&delete u[x]}let m=s._zod.parent;if(m&&m!==p){o(m);let f=e.seen.get(m);if(f?.schema.$ref&&(u.$ref=f.schema.$ref,f.def))for(let g in u)g==="$ref"||g==="allOf"||g in f.def&&JSON.stringify(u[g])===JSON.stringify(f.def[g])&&delete u[g]}e.override({zodSchema:s,jsonSchema:u,path:c.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let s of[...e.seen.entries()].reverse())o(s[0]);if(e.target!=="openapi-3.0")for(let s of e.seen.entries())tg(s[1].def??s[1].schema);for(let s of e.deferred)s();if(e.intersections.length){let s=new Map;for(let c of e.seen.values())for(let u of[c.schema,c.def]){let d=u?.allOf;if(!Array.isArray(d))continue;let p=s.get(d);p?p.push(u):s.set(d,[u])}for(let c of e.intersections)for(let u of s.get(c)??[])dx(u)}}let t={};if(e.target==="draft-2020-12"?t.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?t.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?t.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let s=e.external.registry.get(n)?.id;if(!s)throw new Error("Schema is missing an `id` property");t.$id=e.external.uri(s)}Sr(t,i.defId?i.schema:i.def??i.schema);let r=e.metadataRegistry.get(n)?.id;r!==void 0&&t.id===r&&delete t.id;let a=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let s of e.seen.entries()){let c=s[1];c.def&&c.defId&&(c.def.id===c.defId&&delete c.def.id,se(a,c.defId,c.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?t.$defs=a:t.definitions=a);try{let s=JSON.parse(JSON.stringify(t));return Object.defineProperty(s,"~standard",{value:{...n["~standard"],jsonSchema:{input:$n(n,"input",e.processors),output:$n(n,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function fe(e,n){let i=n??{seen:new Set};if(i.seen.has(e))return!1;i.seen.add(e);let o=e._zod.def;if(o.type==="transform")return!0;if(o.type==="array")return fe(o.element,i);if(o.type==="set")return fe(o.valueType,i);if(o.type==="lazy")return fe(o.getter(),i);if(o.type==="promise"||o.type==="optional"||o.type==="nonoptional"||o.type==="nullable"||o.type==="readonly"||o.type==="default"||o.type==="prefault"||o.type==="catch")return fe(o.innerType,i);if(o.type==="intersection")return fe(o.left,i)||fe(o.right,i);if(o.type==="record"||o.type==="map")return fe(o.keyType,i)||fe(o.valueType,i);if(o.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:fe(o.in,i)||fe(o.out,i);if(o.type==="object"){for(let t in o.shape)if(fe(o.shape[t],i))return!0;return!1}if(o.type==="union"){for(let t of o.options)if(fe(t,i))return!0;return!1}if(o.type==="tuple"){for(let t of o.items)if(fe(t,i))return!0;return!!(o.rest&&fe(o.rest,i))}return!1}var sl=(e,n={})=>i=>{let o=ut({...i,processors:n});return J(e,o),lt(o,e),dt(o,e)},$n=(e,n,i={})=>o=>{let{libraryOptions:t,target:r}=o??{},a=ut({...t??{},target:r,io:n,processors:i});return J(e,a),lt(a,e),dt(a,e)};var kn=(e,n,i)=>{(e[n]===void 0||i>e[n])&&(e[n]=i)},xn=(e,n,i)=>{(e[n]===void 0||i{kn(e,"minimum",n),xn(e,"maximum",n)},sg=(e,n)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(n)||e.multipleOf.push(n)},cg=(e,n)=>{e.patterns??(e.patterns=new Set),e.patterns.add(n)},ug=(e,n)=>{e.mime=e.mime?e.mime.filter(i=>n.includes(i)):[...n]},lg=(e,n)=>{e.format=n,n.includes("int")&&(e.isInt=!0)},ig=(e,n)=>kn(e,"minimum",n.minimum),og=(e,n)=>xn(e,"maximum",n.maximum),ag=e=>(n,i)=>{lg(n,i.format);let[o,t]=e[i.format];kn(n,"minimum",o),xn(n,"maximum",t)},px={greater_than:(e,n)=>kn(e,n.inclusive?"minimum":"exclusiveMinimum",n.value),less_than:(e,n)=>xn(e,n.inclusive?"maximum":"exclusiveMaximum",n.value),multiple_of:(e,n)=>sg(e,n.value),number_format:ag(Kn),bigint_format:ag(Wn),min_length:ig,max_length:og,length_equals:(e,n)=>rg(e,n.length),min_size:ig,max_size:og,size_equals:(e,n)=>rg(e,n.size),string_format:(e,n)=>{lg(e,n.format),n.pattern&&cg(e,n.pattern),(n.format==="base64"||n.format==="base64url")&&(e.contentEncoding=n.format),(n.local||n.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,n)=>ug(e,n.mime)};function ie(e){let n={},i=e._zod.def,o=e._zod.traits.has("$ZodCheck")?[e,...i.checks??[]]:i.checks??[];for(let r of o)px[r._zod.def.check]?.(n,r._zod.def);let t=e._zod.bag;t.minimum!==void 0&&kn(n,"minimum",t.minimum),t.exclusiveMinimum!==void 0&&kn(n,"exclusiveMinimum",t.exclusiveMinimum),t.maximum!==void 0&&xn(n,"maximum",t.maximum),t.exclusiveMaximum!==void 0&&xn(n,"exclusiveMaximum",t.exclusiveMaximum),t.multipleOf!==void 0&&sg(n,t.multipleOf),t.format!==void 0&&(n.format??(n.format=t.format),t.format.includes("int")&&(n.isInt=!0)),t.mime&&ug(n,t.mime);for(let r of t.patterns??[])cg(n,r);return n}var mx={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},fx=new Map([[Ni,ms],[dr,fs]]),dg=e=>fx.get(e)??e,ll=(e,n,i,o)=>{let t=i;t.type="string";let{minimum:r,maximum:a,format:s,patterns:c,contentEncoding:u,laxFormat:d}=ie(e);if(typeof r=="number"&&(t.minLength=r),typeof a=="number"&&(t.maxLength=a),s&&(t.format=mx[s]??s,t.format===""&&delete t.format,(s==="time"||d)&&delete t.format),u&&(t.contentEncoding=u),c&&c.size>0){let p=[...c].map(dg);p.length===1?t.pattern=p[0].source:p.length>1&&(t.allOf=[...p.map(m=>({...n.target==="draft-07"||n.target==="draft-04"||n.target==="openapi-3.0"?{type:"string"}:{},pattern:m.source}))])}},dl=(e,n,i,o)=>{let t=i,{minimum:r,maximum:a,multipleOf:s,exclusiveMaximum:c,exclusiveMinimum:u,isInt:d}=ie(e);t.type=d?"integer":"number";let p=typeof u=="number"&&u>=(r??Number.NEGATIVE_INFINITY),m=typeof c=="number"&&c<=(a??Number.POSITIVE_INFINITY),f=n.target==="draft-04"||n.target==="openapi-3.0";if(p?f?(t.minimum=u,t.exclusiveMinimum=!0):t.exclusiveMinimum=u:typeof r=="number"&&(t.minimum=r),m?f?(t.maximum=c,t.exclusiveMaximum=!0):t.exclusiveMaximum=c:typeof a=="number"&&(t.maximum=a),s){let g=new Set;for(let I of s)Number.isFinite(I)&&I!==0?g.add(Math.abs(I)):re(e,n,t,o,`A multipleOf divisor of ${I} cannot be represented in JSON Schema`);let[y,...x]=g;y!==void 0&&(t.multipleOf=y),x.length&&(t.allOf=[...t.allOf??[],...x.map(I=>({multipleOf:I}))])}},pl=(e,n,i,o)=>{i.type="boolean"},ml=(e,n,i,o)=>{re(e,n,i,o,"BigInt cannot be represented in JSON Schema")},fl=(e,n,i,o)=>{re(e,n,i,o,"Symbols cannot be represented in JSON Schema")},gl=(e,n,i,o)=>{n.target==="openapi-3.0"?(i.type="string",i.nullable=!0,i.enum=[null]):i.type="null"},hl=(e,n,i,o)=>{re(e,n,i,o,"Undefined cannot be represented in JSON Schema")},vl=(e,n,i,o)=>{re(e,n,i,o,"Void cannot be represented in JSON Schema")},yl=(e,n,i,o)=>{i.not={}},bl=(e,n,i,o)=>{},_l=(e,n,i,o)=>{},$l=(e,n,i,o)=>{re(e,n,i,o,"Date cannot be represented in JSON Schema")},kl=(e,n,i,o)=>{let t=e._zod.def,r=Ht(t.entries);if(r.length===0){i.not={};return}r.every(a=>typeof a=="number")&&(i.type="number"),r.every(a=>typeof a=="string")&&(i.type="string"),i.enum=r},xl=(e,n,i,o)=>{let t=e._zod.def;if(t.values.length===0){i.not={};return}let r=[];for(let a of t.values)if(a===void 0){if(re(e,n,i,o,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof a=="bigint"){if(re(e,n,i,o,"BigInt literals cannot be represented in JSON Schema"))return;r.push(Number(a))}else r.push(a);if(r.length!==0)if(r.length===1){let a=r[0];i.type=a===null?"null":typeof a,n.target==="draft-04"||n.target==="openapi-3.0"?i.enum=[a]:i.const=a}else r.every(a=>typeof a=="number")&&(i.type="number"),r.every(a=>typeof a=="string")&&(i.type="string"),r.every(a=>typeof a=="boolean")&&(i.type="boolean"),r.every(a=>a===null)&&(i.type="null"),i.enum=r},wl=(e,n,i,o)=>{re(e,n,i,o,"NaN cannot be represented in JSON Schema")},Il=(e,n,i,o)=>{let t=i,r=e._zod.pattern;if(!r)throw new Error("Pattern not found in template literal");t.type="string",t.pattern=r.source},Sl=(e,n,i,o)=>{let t=i;t.type="string",t.format="binary",t.contentEncoding="binary";let{minimum:r,maximum:a,mime:s}=ie(e);r!==void 0&&(t.minLength=r),a!==void 0&&(t.maxLength=a),s&&(s.length===0?t.not={}:s.length===1?t.contentMediaType=s[0]:t.anyOf=s.map(c=>({contentMediaType:c})))},Pl=(e,n,i,o)=>{i.type="boolean"},Tl=(e,n,i,o)=>{re(e,n,i,o,"Custom types cannot be represented in JSON Schema")},El=(e,n,i,o)=>{re(e,n,i,o,"Function types cannot be represented in JSON Schema")},Al=(e,n,i,o)=>{re(e,n,i,o,"Transforms cannot be represented in JSON Schema")},Ol=(e,n,i,o)=>{re(e,n,i,o,"Map cannot be represented in JSON Schema")},Nl=(e,n,i,o)=>{re(e,n,i,o,"Set cannot be represented in JSON Schema")},zl=(e,n,i,o)=>{let t=i,r=e._zod.def,{minimum:a,maximum:s}=ie(e);typeof a=="number"&&(t.minItems=a),typeof s=="number"&&(t.maxItems=s),t.type="array",t.items=J(r.element,n,{...o,path:[...o.path,"items"]})};function Pr(e){let n=e._zod.def;return n.type==="pipe"&&n.in._zod.traits.has("$ZodTransform")?Pr(n.out):n.type==="catch"?Pr(n.innerType):e._zod.optin}var Dl=(e,n,i,o)=>{let t=i,r=e._zod.def,a=r.shape;if(Object.getOwnPropertySymbols(a).length&&re(e,n,t,o,"Symbol keys cannot be represented in JSON Schema"))return;t.type="object",t.properties={};for(let u in a)se(t.properties,u,J(a[u],n,{...o,path:[...o.path,"properties",u]}));let c=[];for(let u of Object.keys(a)){let d=r.shape[u];(n.io==="input"?Pr(d)===void 0:d._zod.optout===void 0)&&c.push(u)}c.length>0&&(t.required=c),r.catchall?._zod.def.type==="never"?t.additionalProperties=!1:r.catchall?r.catchall&&(t.additionalProperties=J(r.catchall,n,{...o,path:[...o.path,"additionalProperties"]})):n.io==="output"&&(t.additionalProperties=!1)},Ao=(e,n,i,o)=>{let t=e._zod.def,r=t.inclusive===!1,a=t.options.map((s,c)=>J(s,n,{...o,path:[...o.path,r?"oneOf":"anyOf",c]}));r?i.oneOf=a:i.anyOf=a},Cl=(e,n,i,o)=>{let t=e._zod.def,r=J(t.left,n,{...o,path:[...o.path,"allOf",0]}),a=J(t.right,n,{...o,path:[...o.path,"allOf",1]}),s=u=>"allOf"in u&&Object.keys(u).length===1,c=[...s(r)?r.allOf:[r],...s(a)?a.allOf:[a]];i.allOf=c,n.intersections.push(c)},jl=(e,n,i,o)=>{let t=i,r=e._zod.def;t.type="array";let a=n.target==="draft-2020-12"?"prefixItems":"items",s=n.target==="draft-2020-12"||n.target==="openapi-3.0"?"items":"additionalItems",c=r.items.map((y,x)=>J(y,n,{...o,path:[...o.path,a,x]})),u=r.rest?J(r.rest,n,{...o,path:[...o.path,s,...n.target==="openapi-3.0"?[r.items.length]:[]]}):null,d=r.items.length;for(;d>0;){let y=r.items[d-1];if(!(n.io==="input"?Pr(y)!==void 0:y._zod.optout==="optional"))break;d--}let p=r.items.length,m=!r.rest;n.target==="draft-2020-12"?(t.prefixItems=c,m?t.items=!1:u&&(t.items=u),d>0&&(t.minItems=d),m&&(t.maxItems=p)):n.target==="openapi-3.0"?(t.items={anyOf:c},u&&t.items.anyOf.push(u),d>0&&(t.minItems=d),m&&(t.maxItems=p)):(t.items=c,m?t.additionalItems=!1:u&&(t.additionalItems=u),d>0&&(t.minItems=d),m&&(t.maxItems=p));let{minimum:f,maximum:g}=ie(e);typeof f=="number"&&(t.minItems=f),typeof g=="number"&&(t.maxItems=g)};function cl(e,n,i){if(n.$ref){if(i.has(n))return n;i.add(n);let g=e.get(n)?.def;if(!g)return n;let y=cl(e,g,i);return y===g?n:y}for(let g of["anyOf","oneOf"]){let y=n[g];if(!Array.isArray(y))continue;let x=y.map(I=>cl(e,I,i));x.some((I,b)=>I!==y[b])&&(n={...n,[g]:x})}let o=Array.isArray(n.type)?n.type:[n.type],t=!o.includes("string")&&o.some(g=>g==="number"||g==="integer"),r=n.enum??(n.const!==void 0?[n.const]:void 0);if(!t&&!r?.some(g=>typeof g=="number"))return n;let{minimum:a,maximum:s,exclusiveMinimum:c,exclusiveMaximum:u,multipleOf:d,format:p,id:m,...f}=n;return f.enum?f.enum=f.enum.map(g=>typeof g=="number"?String(g):g):typeof f.const=="number"&&(f.const=String(f.const)),t&&(f.type="string",r||(f.pattern=(o.includes("number")?qe:ir).source)),f}var ul=new WeakMap;function gx(e){let n=new Map;for(let o of e.seen.values())o.def&&!n.has(o.schema)&&n.set(o.schema,o);let i=new Map;for(let o of ul.get(e)??[]){let t=e.seen.get(o),r=(t?.def??t?.schema)?.propertyNames;if(!r||r===!0||i.has(r))continue;let a=cl(n,r,new Set);a!==r&&i.set(r,a)}if(i.size)for(let o of e.seen.values())for(let t of[o.schema,o.def]){let r=t&&i.get(t.propertyNames);r&&(t.propertyNames=r)}}var Ll=(e,n,i,o)=>{let t=i,r=e._zod.def;t.type="object";let a=r.keyType,s=ie(a).patterns;if(r.mode==="loose"&&s&&s.size>0){let d=J(r.valueType,n,{...o,path:[...o.path,"patternProperties","*"]});t.patternProperties={};for(let p of s)se(t.patternProperties,dg(p).source,d)}else{if(n.target==="draft-07"||n.target==="draft-2020-12"){t.propertyNames=J(r.keyType,n,{...o,path:[...o.path,"propertyNames"]});let d=ul.get(n);d||(d=[],ul.set(n,d),n.deferred.push(()=>gx(n))),d.push(e)}t.additionalProperties=J(r.valueType,n,{...o,path:[...o.path,"additionalProperties"]})}let c=a._zod.values,u=n.io==="input"&&Pr(r.valueType)!==void 0;if(c&&!r.partial&&!u){let d=[...c].filter(p=>typeof p=="string"||typeof p=="number");d.length>0&&(t.required=d.map(String))}},Ul=(e,n,i,o)=>{let t=e._zod.def,r=J(t.innerType,n,o),a=n.seen.get(e);n.target==="openapi-3.0"?(a.ref=t.innerType,i.nullable=!0):i.anyOf=[r,{type:"null"}]},Rl=(e,n,i,o)=>{let t=e._zod.def;J(t.innerType,n,o);let r=n.seen.get(e);r.ref=t.innerType},Ml=Symbol();function pg(e,n,i,o,t){let r=!1,a=JSON.stringify(e,(s,c)=>typeof c!="bigint"?c:(r=!0,null));return r?(re(n,i,o,t,"BigInt defaults cannot be represented in JSON Schema"),Ml):JSON.parse(a)}var Zl=(e,n,i,o)=>{let t=e._zod.def;J(t.innerType,n,o);let r=n.seen.get(e);r.ref=t.innerType;let a=pg(t.defaultValue,e,n,i,o);a!==Ml&&(i.default=a)},Vl=(e,n,i,o)=>{let t=e._zod.def;J(t.innerType,n,o);let r=n.seen.get(e);if(r.ref=t.innerType,n.io!=="input")return;let a=pg(t.defaultValue,e,n,i,o);a!==Ml&&(i._prefault=a)},Gl=(e,n,i,o)=>{let t=e._zod.def;J(t.innerType,n,o);let r=n.seen.get(e);r.ref=t.innerType;let a;try{a=t.catchValue(void 0)}catch{re(e,n,i,o,"Dynamic catch values are not supported in JSON Schema");return}i.default=a},Fl=(e,n,i,o)=>{let t=e._zod.def,r=t.in._zod.traits.has("$ZodTransform"),a=n.io==="input"?r?t.out:t.in:t.out;J(a,n,o);let s=n.seen.get(e);s.ref=a},Bl=(e,n,i,o)=>{let t=e._zod.def;J(t.innerType,n,o);let r=n.seen.get(e);r.ref=t.innerType,i.readOnly=!0},Hl=(e,n,i,o)=>{let t=e._zod.def;J(t.innerType,n,o);let r=n.seen.get(e);r.ref=t.innerType},Oo=(e,n,i,o)=>{let t=e._zod.def;J(t.innerType,n,o);let r=n.seen.get(e);r.ref=t.innerType},Kl=(e,n,i,o)=>{let t=e._zod.innerType;J(t,n,o);let r=n.seen.get(e);r.ref=t},Eo={string:ll,number:dl,boolean:pl,bigint:ml,symbol:fl,null:gl,undefined:hl,void:vl,never:yl,any:bl,unknown:_l,date:$l,enum:kl,literal:xl,nan:wl,template_literal:Il,file:Sl,success:Pl,custom:Tl,function:El,transform:Al,map:Ol,set:Nl,array:zl,object:Dl,union:Ao,intersection:Cl,tuple:jl,record:Ll,nullable:Ul,nonoptional:Rl,default:Zl,prefault:Vl,catch:Gl,pipe:Fl,readonly:Bl,promise:Hl,optional:Oo,lazy:Kl};function No(e,n){if("_idmap"in e){let o=e,t=ut({...n,processors:Eo}),r={};for(let c of o._idmap.entries()){let[u,d]=c;J(d,t)}let a={},s={registry:o,uri:n?.uri,defs:r};t.external=s;for(let c of o._idmap.entries()){let[u,d]=c;lt(t,d),se(a,u,dt(t,d))}if(Object.keys(r).length>0){let c=t.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[c]:r}}return{schemas:a}}let i=ut({...n,processors:Eo});return J(e,i),lt(i,e),dt(i,e)}var zo=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(n){this.ctx.counter=n}get seen(){return this.ctx.seen}constructor(n){let i=n?.target??"draft-2020-12";i==="draft-4"&&(i="draft-04"),i==="draft-7"&&(i="draft-07"),this.ctx=ut({processors:Eo,target:i,...n?.metadata&&{metadata:n.metadata},...n?.unrepresentable&&{unrepresentable:n.unrepresentable},...n?.override&&{override:n.override},...n?.io&&{io:n.io}})}process(n,i={path:[],schemaPath:[]}){return J(n,this.ctx,i)}emit(n,i){i&&(i.cycles&&(this.ctx.cycles=i.cycles),i.reused&&(this.ctx.reused=i.reused),i.external&&(this.ctx.external=i.external)),this.ctx.sharedDefsExtractedFor=void 0,this.ctx.sharedEmitDoneFor=void 0,lt(this.ctx,n);let o=dt(this.ctx,n),{"~standard":t,...r}=o;return r}};var mg={};var On={};We(On,{ZodAny:()=>gd,ZodArray:()=>bd,ZodBase64:()=>Yo,ZodBase64URL:()=>Qo,ZodBigInt:()=>En,ZodBigIntFormat:()=>na,ZodBoolean:()=>Tn,ZodCIDRv4:()=>Xo,ZodCIDRv6:()=>qo,ZodCUID:()=>Go,ZodCUID2:()=>Fo,ZodCatch:()=>Md,ZodCodec:()=>Lr,ZodCreditCard:()=>sd,ZodCustom:()=>Ur,ZodCustomStringFormat:()=>Lt,ZodDate:()=>Or,ZodDefault:()=>Dd,ZodDiscriminatedUnion:()=>$d,ZodE164:()=>ea,ZodEmail:()=>Ro,ZodEmoji:()=>Zo,ZodEnum:()=>In,ZodExactOptional:()=>aa,ZodFile:()=>Ad,ZodFunction:()=>Xd,ZodGUID:()=>Mo,ZodIBAN:()=>cd,ZodIPv4:()=>Wo,ZodIPv6:()=>Jo,ZodISODate:()=>mt,ZodISODateTime:()=>pt,ZodISODuration:()=>gt,ZodISOTime:()=>ft,ZodInstanceOf:()=>Qd,ZodIntersection:()=>kd,ZodJWT:()=>ta,ZodKSUID:()=>Ko,ZodLazy:()=>Kd,ZodLiteral:()=>Ed,ZodMAC:()=>ad,ZodMap:()=>Pd,ZodNaN:()=>Vd,ZodNanoID:()=>Vo,ZodNever:()=>vd,ZodNonOptional:()=>sa,ZodNull:()=>md,ZodNullable:()=>zd,ZodNumber:()=>Pn,ZodNumberFormat:()=>Ut,ZodObject:()=>zr,ZodOptional:()=>Cr,ZodPipe:()=>jr,ZodPrefault:()=>jd,ZodPreprocess:()=>Gd,ZodPromise:()=>Jd,ZodReadonly:()=>Fd,ZodRecord:()=>wn,ZodSet:()=>Td,ZodString:()=>Sn,ZodStringFormat:()=>X,ZodSuccess:()=>Rd,ZodSymbol:()=>dd,ZodTemplateLiteral:()=>Hd,ZodTransform:()=>Od,ZodTuple:()=>wd,ZodType:()=>M,ZodULID:()=>Bo,ZodURL:()=>Ar,ZodUUID:()=>Fe,ZodUndefined:()=>pd,ZodUnion:()=>Dr,ZodUnknown:()=>hd,ZodVoid:()=>yd,ZodXID:()=>Ho,ZodXor:()=>_d,_ZodString:()=>Uo,_default:()=>Cd,_function:()=>Ih,any:()=>nh,array:()=>Nr,base64:()=>jg,base64url:()=>Lg,bigint:()=>qg,boolean:()=>ld,catch:()=>Zd,check:()=>Sh,cidrv4:()=>Dg,cidrv6:()=>Cg,codec:()=>$h,creditCard:()=>Rg,cuid:()=>Sg,cuid2:()=>Pg,currencyCode:()=>Bg,custom:()=>Ph,date:()=>ih,describe:()=>Th,discriminatedUnion:()=>lh,e164:()=>Ug,email:()=>hg,emoji:()=>wg,enum:()=>ia,exactOptional:()=>Nd,file:()=>vh,float32:()=>Kg,float64:()=>Wg,function:()=>Ih,guid:()=>vg,hash:()=>Hg,hex:()=>Fg,hostname:()=>Gg,httpUrl:()=>xg,iban:()=>Mg,instanceof:()=>Ah,int:()=>jo,int32:()=>Jg,int64:()=>Yg,intersection:()=>xd,invertCodec:()=>kh,ipv4:()=>Og,ipv6:()=>zg,json:()=>Nh,jwt:()=>Zg,keyof:()=>oh,ksuid:()=>Ag,lazy:()=>Wd,literal:()=>hh,looseObject:()=>ch,looseRecord:()=>ph,mac:()=>Ng,map:()=>mh,meta:()=>Eh,nan:()=>_h,nanoid:()=>Ig,nativeEnum:()=>gh,never:()=>ra,nonoptional:()=>Ud,null:()=>fd,nullable:()=>Er,nullish:()=>yh,number:()=>ud,object:()=>ah,optional:()=>Ct,partialRecord:()=>dh,pipe:()=>Lo,prefault:()=>Ld,preprocess:()=>zh,promise:()=>wh,readonly:()=>Bd,record:()=>Sd,refine:()=>qd,set:()=>fh,strictObject:()=>sh,string:()=>Tr,stringFormat:()=>Vg,stringbool:()=>Oh,success:()=>bh,superRefine:()=>Yd,symbol:()=>eh,templateLiteral:()=>xh,transform:()=>oa,tuple:()=>Id,uint32:()=>Xg,uint64:()=>Qg,ulid:()=>Tg,undefined:()=>th,union:()=>An,unknown:()=>Dt,url:()=>kg,uuid:()=>yg,uuidv4:()=>bg,uuidv6:()=>_g,uuidv7:()=>$g,void:()=>rh,xid:()=>Eg,xor:()=>uh});var Do={};We(Do,{endsWith:()=>mn,gt:()=>Ve,gte:()=>Ie,includes:()=>dn,length:()=>Nt,lowercase:()=>un,lt:()=>Ze,lte:()=>we,maxLength:()=>Ot,maxSize:()=>ct,mime:()=>gn,minLength:()=>Ye,minSize:()=>Ge,multipleOf:()=>st,negative:()=>Io,nonnegative:()=>Po,nonpositive:()=>So,normalize:()=>hn,overwrite:()=>Ce,positive:()=>wo,properties:()=>fn,property:()=>To,regex:()=>cn,size:()=>At,slugify:()=>_n,startsWith:()=>pn,toLowerCase:()=>yn,toUpperCase:()=>bn,trim:()=>vn,uppercase:()=>ln});var fg=new WeakSet([Object.prototype,Error.prototype]);function Co(e,n,i){Object.defineProperty(e,n,{configurable:!0,enumerable:!1,get(){let o=i(this);return Object.defineProperty(this,n,{value:o,configurable:!0,writable:!0}),o},set(o){Object.defineProperty(this,n,{value:o,configurable:!0,writable:!0})}})}var gg=(e,n)=>{Ka.init(e,n),e.name="ZodError";let i=Object.getPrototypeOf(e);fg.has(i)||(fg.add(i),Co(i,"format",o=>t=>er(o,t)),Co(i,"flatten",o=>t=>Qn(o,t)),Co(i,"addIssue",o=>t=>{o.issues.push(t),o.message=JSON.stringify(o.issues,Kt,2)}),Co(i,"addIssues",o=>t=>{o.issues.push(...t),o.message=JSON.stringify(o.issues,Kt,2)}),Object.defineProperty(i,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},vx=h("ZodError",gg),xe=h("ZodError",gg,void 0,{Parent:Error});var Wl=Yt(xe),Jl=Qt(xe),Xl=en(xe),ql=tn(xe),Yl=ui(xe),Ql=li(xe),ed=di(xe),td=pi(xe),nd=mi(xe),rd=fi(xe),id=gi(xe),od=hi(xe);function bx(){oe.localeError||ee(Wi())}function jt(){oe.memoizer||ee({memoizer:yr()})}var M=h("ZodType",(e,n)=>(bx(),U.init(e,n),e.def=n,e.type=n.type,e),{check(...e){let n=this.def;return this.clone(_.mergeDefs(n,{checks:[...n.checks??[],...e.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,n){return K(this,e,n)},brand(){return this},register(e,n){return e.add(this,n),this},refine(e,n){return this.check(qd(e,n))},superRefine(e,n){return this.check(Yd(e,n))},overwrite(e){return this.check(Ce(e))},optional(){return Ct(this)},exactOptional(){return Nd(this)},nullable(){return Er(this)},nullish(){return Ct(Er(this))},nonoptional(e){return Ud(this,e)},array(){return Nr(this)},or(e){return An([this,e])},and(e){return xd(this,e)},transform(e){return Lo(this,oa(e))},default(e){return Cd(this,e)},prefault(e){return Ld(this,e)},catch(e){return Zd(this,e)},pipe(e){return Lo(this,e)},readonly(){return Bd(this)},describe(e){let n=this.clone();return ce.add(n,{description:e}),n},meta(...e){if(e.length===0)return ce.get(this);let n=this.clone();return ce.add(n,e[0]),n},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...n){return n.length===0?e(this):e(this,...n)},get"~standard"(){return _.hide(this,"~standard",{...Pi(this),jsonSchema:{input:$n(this,"input"),output:$n(this,"output")}})},set"~standard"(e){_.own(this,"~standard",e)},parse:function e(n,i){return Wl(this,n,i,{callee:e})},parseAsync:async function e(n,i){return await Jl(this,n,i,{callee:e})},safeParse(e,n){return Xl(this,e,n)},async safeParseAsync(e,n){return ql(this,e,n)},get spa(){return this?.safeParseAsync},set spa(e){_.own(this,"spa",e)},validate(e,n){return tr(this,e,n)},validateAsync(e,n){return nr(this,e,n)},encode:function e(n,i){return Yl(this,n,i,{callee:e})},decode:function e(n,i){return Ql(this,n,i,{callee:e})},encodeAsync:async function e(n,i){return await ed(this,n,i,{callee:e})},decodeAsync:async function e(n,i){return await td(this,n,i,{callee:e})},safeEncode(e,n){return nd(this,e,n)},safeDecode(e,n){return rd(this,e,n)},async safeEncodeAsync(e,n){return id(this,e,n)},async safeDecodeAsync(e,n){return od(this,e,n)},toJSONSchema(e){return sl(this,{})(e)},get description(){return ce.get(this)?.description},get _def(){return this._zod.def}}),Uo=h("_ZodString",(e,n)=>{St.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>ll(e,i,o,t)},_.derived({format:e=>ie(e).format??null,minLength:e=>ie(e).minimum??null,maxLength:e=>ie(e).maximum??null},{regex(...e){return this.check(cn(...e))},includes(...e){return this.check(dn(...e))},startsWith(...e){return this.check(pn(...e))},endsWith(...e){return this.check(mn(...e))},min(...e){return this.check(Ye(...e))},max(...e){return this.check(Ot(...e))},length(...e){return this.check(Nt(...e))},nonempty(...e){return this.check(Ye(1,...e))},lowercase(e){return this.check(un(e))},uppercase(e){return this.check(ln(e))},trim(){return this.check(vn())},normalize(...e){return this.check(hn(...e))},toLowerCase(){return this.check(yn())},toUpperCase(){return this.check(bn())},slugify(){return this.check(_n())}})),Sn=h("ZodString",(e,n)=>{St.init(e,n),Uo.init(e,n)},{email(e){return this.check(no(Ro,e))},url(e){return this.check($r(Ar,e))},jwt(e){return this.check(xo(ta,e))},emoji(e){return this.check(co(Zo,e))},guid(e){return this.check(ro(Mo,e))},uuid(e){return this.check(io(Fe,e))},uuidv4(e){return this.check(oo(Fe,e))},uuidv6(e){return this.check(ao(Fe,e))},uuidv7(e){return this.check(so(Fe,e))},nanoid(e){return this.check(uo(Vo,e))},cuid(e){return this.check(lo(Go,e))},cuid2(e){return this.check(po(Fo,e))},ulid(e){return this.check(mo(Bo,e))},base64(e){return this.check(_o(Yo,e))},base64url(e){return this.check($o(Qo,e))},xid(e){return this.check(fo(Ho,e))},ksuid(e){return this.check(go(Ko,e))},ipv4(e){return this.check(ho(Wo,e))},ipv6(e){return this.check(vo(Jo,e))},cidrv4(e){return this.check(yo(Xo,e))},cidrv6(e){return this.check(bo(qo,e))},e164(e){return this.check(ko(ea,e))},datetime(e){return this.check(kr(pt,e))},date(e){return this.check(xr(mt,e))},time(e){return this.check(wr(ft,e))},duration(e){return this.check(Ir(gt,e))}});function Tr(e){return xu(Sn,e)}var X=h("ZodStringFormat",(e,n)=>{W.init(e,n),Uo.init(e,n)}),pt=h("ZodISODateTime",(e,n)=>{mc.init(e,n),X.init(e,n)}),mt=h("ZodISODate",(e,n)=>{fc.init(e,n),X.init(e,n)}),ft=h("ZodISOTime",(e,n)=>{gc.init(e,n),X.init(e,n)}),gt=h("ZodISODuration",(e,n)=>{hc.init(e,n),X.init(e,n)}),Ro=h("ZodEmail",(e,n)=>{nc.init(e,n),X.init(e,n)});function hg(e){return no(Ro,e)}var Mo=h("ZodGUID",(e,n)=>{ec.init(e,n),X.init(e,n)});function vg(e){return ro(Mo,e)}var Fe=h("ZodUUID",(e,n)=>{tc.init(e,n),X.init(e,n)});function yg(e){return io(Fe,e)}function bg(e){return oo(Fe,e)}function _g(e){return ao(Fe,e)}function $g(e){return so(Fe,e)}var Ar=h("ZodURL",(e,n)=>{oc.init(e,n),X.init(e,n)});function kg(e){return $r(Ar,e)}function xg(e){return $r(Ar,{protocol:rr,hostname:hs,..._.normalizeParams(e)})}var Zo=h("ZodEmoji",(e,n)=>{ac.init(e,n),X.init(e,n)});function wg(e){return co(Zo,e)}var Vo=h("ZodNanoID",(e,n)=>{sc.init(e,n),X.init(e,n)});function Ig(e){return uo(Vo,e)}var Go=h("ZodCUID",(e,n)=>{cc.init(e,n),X.init(e,n)});function Sg(e){return lo(Go,e)}var Fo=h("ZodCUID2",(e,n)=>{uc.init(e,n),X.init(e,n)});function Pg(e){return po(Fo,e)}var Bo=h("ZodULID",(e,n)=>{lc.init(e,n),X.init(e,n)});function Tg(e){return mo(Bo,e)}var Ho=h("ZodXID",(e,n)=>{dc.init(e,n),X.init(e,n)});function Eg(e){return fo(Ho,e)}var Ko=h("ZodKSUID",(e,n)=>{pc.init(e,n),X.init(e,n)});function Ag(e){return go(Ko,e)}var Wo=h("ZodIPv4",(e,n)=>{vc.init(e,n),X.init(e,n)});function Og(e){return ho(Wo,e)}var ad=h("ZodMAC",(e,n)=>{bc.init(e,n),X.init(e,n)});function Ng(e){return Iu(ad,e)}var Jo=h("ZodIPv6",(e,n)=>{yc.init(e,n),X.init(e,n)});function zg(e){return vo(Jo,e)}var Xo=h("ZodCIDRv4",(e,n)=>{_c.init(e,n),X.init(e,n)});function Dg(e){return yo(Xo,e)}var qo=h("ZodCIDRv6",(e,n)=>{$c.init(e,n),X.init(e,n)});function Cg(e){return bo(qo,e)}var Yo=h("ZodBase64",(e,n)=>{kc.init(e,n),X.init(e,n)});function jg(e){return _o(Yo,e)}var Qo=h("ZodBase64URL",(e,n)=>{xc.init(e,n),X.init(e,n)});function Lg(e){return $o(Qo,e)}var ea=h("ZodE164",(e,n)=>{wc.init(e,n),X.init(e,n)});function Ug(e){return ko(ea,e)}var sd=h("ZodCreditCard",(e,n)=>{Ic.init(e,n),X.init(e,n)});function Rg(e){return Su(sd,e)}var cd=h("ZodIBAN",(e,n)=>{Sc.init(e,n),X.init(e,n)});function Mg(e){return Pu(cd,e)}var ta=h("ZodJWT",(e,n)=>{Pc.init(e,n),X.init(e,n)});function Zg(e){return xo(ta,e)}var Lt=h("ZodCustomStringFormat",(e,n)=>{Tc.init(e,n),X.init(e,n)});function Vg(e,n,i={}){return zt(Lt,e,n,i)}function Gg(e){return zt(Lt,"hostname",gs,e)}function Fg(e){return zt(Lt,"hex",As,e)}function Bg(e){return zt(Lt,"currency_code",ys,e)}function Hg(e,n){let i=n?.enc??"hex",o=`${e}_${i}`,t=Te[o];if(!t)throw new Error(`Unrecognized hash format: ${o}`);return zt(Lt,o,t,n)}var Pn=h("ZodNumber",(e,n)=>{Li.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>dl(e,i,o,t),e.isFinite=!0},_.derived({minValue:e=>{let{minimum:n,exclusiveMinimum:i}=ie(e);return Math.max(n??Number.NEGATIVE_INFINITY,i??Number.NEGATIVE_INFINITY)},maxValue:e=>{let{maximum:n,exclusiveMaximum:i}=ie(e);return Math.min(n??Number.POSITIVE_INFINITY,i??Number.POSITIVE_INFINITY)},isInt:e=>{let{isInt:n,multipleOf:i}=ie(e);return!!n||!!i?.some(Number.isSafeInteger)},format:e=>ie(e).format??null},{gt(e,n){return this.check(Ve(e,n))},gte(e,n){return this.check(Ie(e,n))},min(e,n){return this.check(Ie(e,n))},lt(e,n){return this.check(Ze(e,n))},lte(e,n){return this.check(we(e,n))},max(e,n){return this.check(we(e,n))},int(e){return this.check(jo(e))},safe(e){return this.check(jo(e))},positive(e){return this.check(Ve(0,e))},nonnegative(e){return this.check(Ie(0,e))},negative(e){return this.check(Ze(0,e))},nonpositive(e){return this.check(we(0,e))},multipleOf(e,n){return this.check(st(e,n))},step(e,n){return this.check(st(e,n))},finite(){return this}}));function ud(e){return Eu(Pn,e)}var Ut=h("ZodNumberFormat",(e,n)=>{Ec.init(e,n),Pn.init(e,n)});function jo(e){return Ou(Ut,e)}function Kg(e){return Nu(Ut,e)}function Wg(e){return zu(Ut,e)}function Jg(e){return Du(Ut,e)}function Xg(e){return Cu(Ut,e)}var Tn=h("ZodBoolean",(e,n)=>{pr.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>pl(e,i,o,t)});function ld(e){return ju(Tn,e)}var En=h("ZodBigInt",(e,n)=>{Ui.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>ml(e,i,o,t)},_.derived({minValue:e=>ie(e).minimum??null,maxValue:e=>ie(e).maximum??null,format:e=>ie(e).format??null},{gte(e,n){return this.check(Ie(e,n))},min(e,n){return this.check(Ie(e,n))},gt(e,n){return this.check(Ve(e,n))},lt(e,n){return this.check(Ze(e,n))},lte(e,n){return this.check(we(e,n))},max(e,n){return this.check(we(e,n))},positive(e){return this.check(Ve(BigInt(0),e))},negative(e){return this.check(Ze(BigInt(0),e))},nonpositive(e){return this.check(we(BigInt(0),e))},nonnegative(e){return this.check(Ie(BigInt(0),e))},multipleOf(e,n){return this.check(st(e,n))}}));function qg(e){return Uu(En,e)}var na=h("ZodBigIntFormat",(e,n)=>{Ac.init(e,n),En.init(e,n)});function Yg(e){return Mu(na,e)}function Qg(e){return Zu(na,e)}var dd=h("ZodSymbol",(e,n)=>{Oc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>fl(e,i,o,t)});function eh(e){return Vu(dd,e)}var pd=h("ZodUndefined",(e,n)=>{Nc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>hl(e,i,o,t)});function th(e){return Gu(pd,e)}var md=h("ZodNull",(e,n)=>{zc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>gl(e,i,o,t)});function fd(e){return Fu(md,e)}var gd=h("ZodAny",(e,n)=>{Dc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>bl(e,i,o,t)});function nh(){return Bu(gd)}var hd=h("ZodUnknown",(e,n)=>{Cc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>_l(e,i,o,t)});function Dt(){return Hu(hd)}var vd=h("ZodNever",(e,n)=>{jc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>yl(e,i,o,t)});function ra(e){return Ku(vd,e)}var yd=h("ZodVoid",(e,n)=>{Lc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>vl(e,i,o,t)});function rh(e){return Wu(yd,e)}var Or=h("ZodDate",(e,n)=>{Uc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>$l(e,i,o,t),e.min=(i,o)=>e.check(Ie(i,o)),e.max=(i,o)=>e.check(we(i,o))},_.derived({minDate:e=>{let{minimum:n}=ie(e);return n?new Date(n):null},maxDate:e=>{let{maximum:n}=ie(e);return n?new Date(n):null}},{}));function ih(e){return Ju(Or,e)}var bd=h("ZodArray",(e,n)=>{jt(),Mc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>zl(e,i,o,t),e.element=n.element},{min(e,n){return this.check(Ye(e,n))},nonempty(e){return this.check(Ye(1,e))},max(e,n){return this.check(Ot(e,n))},length(e,n){return this.check(Nt(e,n))},unwrap(){return this.element}});function Nr(e,n){return Yu(bd,e,n)}function oh(e){let n=e._zod.def.shape;return ia(Object.keys(n))}var zr=h("ZodObject",(e,n)=>{jt(),Zc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Dl(e,i,o,t),_.installLazyProp(e,"shape",i=>i._zod.def.shape,!1)},{keyof(){return ia(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(_.mergeDefs(this._zod.def,{catchall:e}))},passthrough(){return this.clone(_.mergeDefs(this._zod.def,{catchall:Dt()}))},loose(){return this.clone(_.mergeDefs(this._zod.def,{catchall:Dt()}))},strict(){return this.clone(_.mergeDefs(this._zod.def,{catchall:ra()}))},strip(){return this.clone(_.mergeDefs(this._zod.def,{catchall:void 0}))},extend(e){return _.extend(this,e)},safeExtend(e){return _.safeExtend(this,e)},merge(e){return _.merge(this,e)},pick(e){return _.pick(this,e)},omit(e){return _.omit(this,e)},partial(...e){return _.partial(Cr,this,e[0])},exactPartial(...e){return _.partial(aa,this,e[0],"exactPartial")},required(...e){return _.required(sa,this,e[0])}});function ah(e,n){let i={type:"object",shape:e??{},..._.normalizeParams(n)};return new zr(i)}function sh(e,n){return new zr({type:"object",shape:e,catchall:ra(),..._.normalizeParams(n)})}function ch(e,n){return new zr({type:"object",shape:e,catchall:Dt(),..._.normalizeParams(n)})}var Dr=h("ZodUnion",(e,n)=>{mr.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Ao(e,i,o,t),e.options=n.options});function An(e,n){return new Dr({type:"union",options:e,..._.normalizeParams(n)})}var _d=h("ZodXor",(e,n)=>{Dr.init(e,n),Vc.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Ao(e,i,o,t),e.options=n.options});function uh(e,n){return new _d({type:"union",options:e,inclusive:!1,..._.normalizeParams(n)})}var $d=h("ZodDiscriminatedUnion",(e,n)=>{Dr.init(e,n),Fc.init(e,n)});function lh(e,n,i){return new $d({type:"union",options:n,discriminator:e,..._.normalizeParams(i)})}var kd=h("ZodIntersection",(e,n)=>{Bc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Cl(e,i,o,t)});function xd(e,n){return new kd({type:"intersection",left:e,right:n})}var wd=h("ZodTuple",(e,n)=>{jt(),Ri.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>jl(e,i,o,t)},{rest(e){return this.clone({...this._zod.def,rest:e})},partial(){let e=this._zod.def;if(e.checks?.length)throw new Error(".partial() cannot be used on tuple schemas containing refinements");return this.clone({...e,items:e.items.map(n=>new Cr({type:"optional",innerType:n}))})}});function Id(e,n,i){let o=n instanceof U,t=o?i:n,r=o?n:null;return new wd({type:"tuple",items:e,rest:r,..._.normalizeParams(t)})}var wn=h("ZodRecord",(e,n)=>{jt(),Hc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Ll(e,i,o,t),e.keyType=n.keyType,e.valueType=n.valueType});function Sd(e,n,i){return!n||!n._zod?new wn({type:"record",keyType:Tr(),valueType:e,..._.normalizeParams(n)}):new wn({type:"record",keyType:e,valueType:n,..._.normalizeParams(i)})}function dh(e,n,i){return new wn({type:"record",keyType:e,valueType:n,..._.normalizeParams(i),partial:!0})}function ph(e,n,i){return new wn({type:"record",keyType:e,valueType:n,mode:"loose",..._.normalizeParams(i)})}var Pd=h("ZodMap",(e,n)=>{jt(),Kc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Ol(e,i,o,t),e.keyType=n.keyType,e.valueType=n.valueType,e.min=(...i)=>e.check(Ge(...i)),e.nonempty=i=>e.check(Ge(1,i)),e.max=(...i)=>e.check(ct(...i)),e.size=(...i)=>e.check(At(...i))});function mh(e,n,i){return new Pd({type:"map",keyType:e,valueType:n,..._.normalizeParams(i)})}var Td=h("ZodSet",(e,n)=>{jt(),Wc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Nl(e,i,o,t),e.min=(...i)=>e.check(Ge(...i)),e.nonempty=i=>e.check(Ge(1,i)),e.max=(...i)=>e.check(ct(...i)),e.size=(...i)=>e.check(At(...i))});function fh(e,n){return new Td({type:"set",valueType:e,..._.normalizeParams(n)})}var In=h("ZodEnum",(e,n)=>{Jc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(o,t,r)=>kl(e,o,t,r),e.enum=n.entries,e.options=[...e._zod.values];let i=new Set(Object.keys(n.entries));e.extract=(o,t)=>{let r={};for(let a of o)if(i.has(a))r[a]=n.entries[a];else throw new Error(`Key ${a} not found in enum`);return new In({...n,checks:[],..._.normalizeParams(t),entries:r})},e.exclude=(o,t)=>{let r={...n.entries};for(let a of o)if(i.has(a))delete r[a];else throw new Error(`Key ${a} not found in enum`);return new In({...n,checks:[],..._.normalizeParams(t),entries:r})}});function ia(e,n){let i=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new In({type:"enum",entries:i,..._.normalizeParams(n)})}function gh(e,n){return new In({type:"enum",entries:e,..._.normalizeParams(n)})}var Ed=h("ZodLiteral",(e,n)=>{Xc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>xl(e,i,o,t),e.values=new Set(n.values),Object.defineProperty(e,"value",{get(){if(n.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return n.values[0]}})});function hh(e,n){return new Ed({type:"literal",values:Array.isArray(e)?e:[e],..._.normalizeParams(n)})}var Ad=h("ZodFile",(e,n)=>{qc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Sl(e,i,o,t),e.min=(i,o)=>e.check(Ge(i,o)),e.max=(i,o)=>e.check(ct(i,o)),e.mime=(i,o)=>e.check(gn(Array.isArray(i)?i:[i],o))});function vh(e){return Qu(Ad,e)}var Od=h("ZodTransform",(e,n)=>{jt(),Yc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Al(e,i,o,t),e._zod.parse=(i,o)=>{if(o.direction==="backward")throw new ot(e.constructor.name);i.addIssue=r=>{if(typeof r=="string")i.issues.push(_.issue(r,i.value,n));else{let a=r;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),"input"in a||(a.input=i.value),a.inst??(a.inst=e),i.issues.push(_.issue(a))}};let t=n.transform(i.value,i);return t instanceof Promise?t.then(r=>(i.value=r,i)):(i.value=t,i)}});function oa(e){return new Od({type:"transform",transform:e})}var Cr=h("ZodOptional",(e,n)=>{Mi.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Oo(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function Ct(e){return new Cr({type:"optional",innerType:e})}var aa=h("ZodExactOptional",(e,n)=>{Qc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Oo(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function Nd(e){return new aa({type:"optional",innerType:e})}var zd=h("ZodNullable",(e,n)=>{eu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Ul(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function Er(e){return new zd({type:"nullable",innerType:e})}function yh(e){return Ct(Er(e))}var Dd=h("ZodDefault",(e,n)=>{tu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Zl(e,i,o,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Cd(e,n){return new Dd({type:"default",innerType:e,get defaultValue(){return typeof n=="function"?n():_.shallowClone(n)}})}var jd=h("ZodPrefault",(e,n)=>{nu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Vl(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function Ld(e,n){return new jd({type:"prefault",innerType:e,get defaultValue(){return typeof n=="function"?n():_.shallowClone(n)}})}var sa=h("ZodNonOptional",(e,n)=>{ru.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Rl(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function Ud(e,n){return new sa({type:"nonoptional",innerType:e,..._.normalizeParams(n)})}var Rd=h("ZodSuccess",(e,n)=>{iu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Pl(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function bh(e){return new Rd({type:"success",innerType:e})}var Md=h("ZodCatch",(e,n)=>{ou.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Gl(e,i,o,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Zd(e,n){return new Md({type:"catch",innerType:e,catchValue:typeof n=="function"?n:_.constantCatch(n)})}var Vd=h("ZodNaN",(e,n)=>{au.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>wl(e,i,o,t)});function _h(e){return qu(Vd,e)}var jr=h("ZodPipe",(e,n)=>{Zi.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Fl(e,i,o,t),e.in=n.in,e.out=n.out});function Lo(e,n){return new jr({type:"pipe",in:e,out:n})}var Lr=h("ZodCodec",(e,n)=>{jr.init(e,n),fr.init(e,n)});function $h(e,n,i){return new Lr({type:"pipe",in:e,out:n,transform:i.decode,reverseTransform:i.encode})}function kh(e){let n=e._zod.def;return new Lr({type:"pipe",in:n.out,out:n.in,transform:n.reverseTransform,reverseTransform:n.transform})}var Gd=h("ZodPreprocess",(e,n)=>{jr.init(e,n),su.init(e,n)}),Fd=h("ZodReadonly",(e,n)=>{cu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Bl(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function Bd(e){return new Fd({type:"readonly",innerType:e})}var Hd=h("ZodTemplateLiteral",(e,n)=>{uu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Il(e,i,o,t)});function xh(e,n){return new Hd({type:"template_literal",parts:e,..._.normalizeParams(n)})}var Kd=h("ZodLazy",(e,n)=>{gr.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Kl(e,i,o,t),e.unwrap=()=>e._zod.def.getter()});function Wd(e){return new Kd({type:"lazy",getter:e})}var Jd=h("ZodPromise",(e,n)=>{du.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Hl(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function wh(e){return new Jd({type:"promise",innerType:e})}var Xd=h("ZodFunction",(e,n)=>{lu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>El(e,i,o,t)});function Ih(e){return new Xd({type:"function",input:Array.isArray(e?.input)?Id(e?.input):e?.input??Nr(Dt()),output:e?.output??Dt()})}var Ur=h("ZodCustom",(e,n)=>{pu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Tl(e,i,o,t)});function Sh(e){let n=new q({check:"custom"});return n._zod.check=e,n}function Ph(e,n){return el(Ur,e??(()=>!0),n)}function qd(e,n={}){return tl(Ur,e,n)}function Yd(e,n){return nl(e,n)}var Th=rl,Eh=il,Qd=h("ZodInstanceOf",(e,n)=>{Ur.init(e,n)},{properties(e,n){return this.check(fn(e,n))}});function Ah(e,n={}){let i=new Qd({type:"custom",check:"custom",fn:o=>o instanceof e,abort:!0,..._.normalizeParams(n)});return i._zod.bag.Class=e,i._zod.check=o=>{o.value instanceof e||o.issues.push({code:"invalid_type",expected:e.name,input:o.value,inst:i,path:[...i._zod.def.path??[]]})},i}var Oh=(...e)=>ol({Codec:Lr,Boolean:Tn,String:Sn},...e);function Nh(e){let n=Wd(()=>An([Tr(e),ud(),ld(),fd(),Nr(n),Sd(Tr(),n)]));return n}function zh(e,n){return new Gd({type:"pipe",in:oa(e),out:n})}var _x={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function $x(e){ee({customError:e})}function kx(){return ee().customError}var ep;ep||(ep={});var Rr={};We(Rr,{ZodISODate:()=>mt,ZodISODateTime:()=>pt,ZodISODuration:()=>gt,ZodISOTime:()=>ft,date:()=>wx,datetime:()=>xx,duration:()=>Sx,time:()=>Ix});function xx(e){return kr(pt,e)}function wx(e){return xr(mt,e)}function Ix(e){return wr(ft,e)}function Sx(e){return Ir(gt,e)}var P={...On,...Do,iso:Rr},Px=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function Tx(e,n){let i=e.$schema;return i==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":i==="http://json-schema.org/draft-07/schema#"?"draft-7":i==="http://json-schema.org/draft-04/schema#"?"draft-4":n??"draft-2020-12"}function Dh(e,n){return e.map((i,o)=>oo).check(o=>{let t=o.value;if(typeof t!="object"||t===null||Array.isArray(t))return;let r=Object.getOwnPropertyNames(t);if(n.minProperties!==void 0&&r.length=${n.minProperties} properties`,input:t,inst:e,continue:!0}),n.maxProperties!==void 0&&r.length>n.maxProperties&&o.issues.push({origin:"object",code:"too_big",maximum:n.maxProperties,inclusive:!0,message:`Too big: expected object to have <=${n.maxProperties} properties`,input:t,inst:e,continue:!0}),n.keySchema)for(let a of r){let s=n.keySchema.safeParse(a);s.success||o.issues.push({code:"invalid_key",origin:"record",issues:s.error.issues,input:a,path:[a],continue:!0})}}).pipe(e)}function tp(e,n){if(e===null)return"z";let i=typeof e;if(i!=="object"){if(i==="number"&&Number.isNaN(e))return null;let o=String(e);return`${i[0]}${o.length}:${o}`}if(n.has(e))return null;n.add(e);try{if(Array.isArray(e)){let r=[];for(let a of e){let s=tp(a,n);if(s===null)return null;r.push(s)}return`a${r.length}:[${r.join(",")}]`}let o=Object.keys(e).sort(),t=[];for(let r of o){let a=tp(e[r],n);if(a===null)return null;t.push(`${r.length}:${r}=${a}`)}return`o${t.length}:{${t.join(",")}}`}finally{n.delete(e)}}var Nx=new Set(["items","prefixItems","additionalItems","additionalProperties","contains","propertyNames","not","if","then","else","allOf","anyOf","oneOf","unevaluatedItems","unevaluatedProperties","contentSchema"]),zx=new Set(["properties","patternProperties","dependentSchemas","dependencies","$defs","definitions"]);function Mr(e){return typeof e!="object"||e===null?!1:Array.isArray(e)?e.some(Mr):typeof e.$ref=="string"?!0:Object.entries(e).some(([n,i])=>Nx.has(n)?Mr(i):!zx.has(n)||typeof i!="object"||i===null?!1:Object.values(i).some(Mr))}function Ch(e){return e===1?"element":"elements"}function Dx(e,n){return P.transform(o=>o).check(o=>{let t=o.value;if(Array.isArray(t)){if(n.uniqueItems===!0){let r=new Map;for(let a=0;a=a)break;sn.maxContains&&o.issues.push({code:"custom",message:`Array must contain at most ${n.maxContains} matching ${Ch(n.maxContains)}`,input:t,continue:!0})}}}).pipe(e)}function jh(e,n){if(e!==!1)return e===void 0||e===!0?P.any():ge(e,n)}var Cx=/^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$/;function Lh(e,n){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return P.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let t=e.$ref;if(n.refs.has(t))return n.refs.get(t);if(n.processing.has(t))return P.lazy(()=>{if(!n.refs.has(t))throw new Error(`Circular reference not resolved: ${t}`);return n.refs.get(t)});n.processing.add(t);let r=Ax(t,n),a=ge(r,n);return n.refs.set(t,a),n.processing.delete(t),a}if(e.enum!==void 0){let t=e.enum;if(n.version==="openapi-3.0"&&e.nullable===!0&&t.length===1&&t[0]===null)return P.null();if(t.length===0)return P.never();if(t.length===1)return P.literal(t[0]);if(t.every(a=>typeof a=="string"))return P.enum(t);let r=t.map(a=>P.literal(a));return r.length<2?r[0]:P.union([r[0],r[1],...r.slice(2)])}if(e.const!==void 0)return P.literal(e.const);let i=e.type;if(Array.isArray(i)){let t=i.map(r=>{let a={...e,type:r};return Lh(a,n)});return t.length===0?P.never():t.length===1?t[0]:P.union(t)}if(!i)return P.any();let o;switch(i){case"string":{let t=P.string();if(e.format){let r=e.format;r==="email"?t=t.check(P.email()):r==="uri"||r==="uri-reference"?t=t.check(P.url()):r==="uuid"||r==="guid"?t=t.check(P.uuid()):r==="date-time"?t=t.check(P.iso.datetime({offset:!0})):r==="date"?t=t.check(P.iso.date()):r==="time"?t=t.check(P.regex(Cx)):r==="duration"?t=t.check(P.iso.duration()):r==="hostname"?t=t.check(P.hostname()):r==="ipv4"?t=t.check(P.ipv4()):r==="ipv6"?t=t.check(P.ipv6()):r==="mac"?t=t.check(P.mac()):r==="cidr"?t=t.check(P.cidrv4()):r==="cidr-v6"?t=t.check(P.cidrv6()):r==="base64"?t=t.check(P.base64()):r==="base64url"?t=t.check(P.base64url()):r==="e164"?t=t.check(P.e164()):r==="credit_card"?t=t.check(P.creditCard()):r==="iban"?t=t.check(P.iban()):r==="jwt"?t=t.check(P.jwt()):r==="emoji"?t=t.check(P.emoji()):r==="nanoid"?t=t.check(P.nanoid()):r==="cuid"?t=t.check(P.cuid()):r==="cuid2"?t=t.check(P.cuid2()):r==="ulid"?t=t.check(P.ulid()):r==="xid"?t=t.check(P.xid()):r==="ksuid"&&(t=t.check(P.ksuid()))}typeof e.minLength=="number"&&(t=t.min(e.minLength)),typeof e.maxLength=="number"&&(t=t.max(e.maxLength)),e.pattern&&(t=t.regex(new RegExp(e.pattern))),o=t;break}case"number":case"integer":{let t=i==="integer"?P.number().int():P.number();typeof e.minimum=="number"&&e.exclusiveMinimum!==!0&&(t=t.min(e.minimum)),typeof e.maximum=="number"&&e.exclusiveMaximum!==!0&&(t=t.max(e.maximum)),typeof e.exclusiveMinimum=="number"?t=t.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(t=t.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?t=t.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(t=t.lt(e.maximum)),typeof e.multipleOf=="number"&&(t=t.multipleOf(e.multipleOf)),o=t;break}case"boolean":{o=P.boolean();break}case"null":{o=P.null();break}case"object":{let t={},r=e.properties||{},a=new Set(e.required||[]),s=typeof e.additionalProperties=="object"?ge(e.additionalProperties,n):void 0;for(let[p,m]of Object.entries(r)){let f=ge(m,n);se(t,p,a.has(p)?f:f.optional())}if(e.patternProperties){let p=e.patternProperties,m=Object.keys(p),f=[];for(let y of m){let x=ge(p[y],n),I=P.string().regex(new RegExp(y));f.push(P.looseRecord(I,x))}let g=[];if(Object.keys(t).length>0&&g.push(P.object(t).passthrough()),g.push(...f),g.length===0)o=P.object({}).passthrough();else if(g.length===1)o=g[0];else{let y=P.intersection(g[0],g[1]);for(let x=2;xnew RegExp(b)),I=o;o=o.check(b=>{if(!Se(b.value))return;let T=[];for(let A of Object.keys(b.value))y.includes(A)||x.some(D=>D.test(A))||T.push(A);T.length&&b.issues.push({code:"unrecognized_keys",keys:T,input:b.value,inst:I})})}}else{let p=P.object(t);e.additionalProperties===!1?o=p.strict():s?o=p.catchall(s):o=p.passthrough()}let c=e.propertyNames!==void 0&&e.propertyNames!==!0,u=typeof e.minProperties=="number"?e.minProperties:void 0,d=typeof e.maxProperties=="number"?e.maxProperties:void 0;if(c||u!==void 0||d!==void 0){let p;if(c){let m=typeof e.propertyNames=="object"&&e.propertyNames.type===void 0?{type:"string",...e.propertyNames}:e.propertyNames;p=ge(m,n)}o=Ox(o,{keySchema:p,minProperties:u,maxProperties:d})}break}case"array":{let t=e.prefixItems,r=e.items;if(t&&Array.isArray(t)){let a=typeof e.minItems=="number"?e.minItems:0,s=t.map(p=>ge(p,n)),c=Dh(s,a),u=Array.isArray(r)?void 0:jh(r,n),d=P.tuple(c);o=u?d.rest(u):d,typeof e.minItems=="number"&&(o=o.check(P.minLength(e.minItems))),typeof e.maxItems=="number"&&(o=o.check(P.maxLength(e.maxItems)))}else if(Array.isArray(r)){let a=typeof e.minItems=="number"?e.minItems:0,s=r.map(p=>ge(p,n)),c=Dh(s,a),u=jh(e.additionalItems,n),d=P.tuple(c);o=u?d.rest(u):d,typeof e.minItems=="number"&&(o=o.check(P.minLength(e.minItems))),typeof e.maxItems=="number"&&(o=o.check(P.maxLength(e.maxItems)))}else if(r!==void 0){let a=ge(r,n),s=P.array(a);typeof e.minItems=="number"&&(s=s.min(e.minItems)),typeof e.maxItems=="number"&&(s=s.max(e.maxItems)),o=s}else o=P.array(P.any());(e.uniqueItems===!0||e.contains!==void 0)&&(o=Dx(o,{uniqueItems:e.uniqueItems===!0,containsSchema:e.contains!==void 0?ge(e.contains,n):void 0,minContains:typeof e.minContains=="number"?e.minContains:void 0,maxContains:typeof e.maxContains=="number"?e.maxContains:void 0}));break}default:throw new Error(`Unsupported type: ${i}`)}return o}function ge(e,n){if(typeof e=="boolean")return e?P.any():P.never();let i=Lh(e,n),o=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let s=e.anyOf.map(u=>ge(u,n)),c=P.union(s);i=o?P.intersection(i,c):c}if(e.oneOf&&Array.isArray(e.oneOf)){let s=e.oneOf.map(u=>ge(u,n)),c=P.xor(s);i=o?P.intersection(i,c):c}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)i=o?i:P.any();else{let s=o?i:ge(e.allOf[0],n),c=o?0:1;for(let u=c;u0&&n.registry.add(i,t),e.description&&(i=i.describe(e.description)),i}function Uh(e,n){if(typeof e=="boolean")return e?P.any():P.never();let i;try{i=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let o=Tx(i,n?.defaultTarget),t=i.$defs||i.definitions||{},r={version:o,defs:t,refs:new Map,processing:new Set,rootSchema:i,registry:n?.registry??ce};return ge(i,r)}var Rh=Symbol("z.visit/resolving");function Zr(e,n){let i=typeof n=="function"?n:(a,s)=>{let c=n[a._zod.def.type];return c?c(a,s):a},o=new Map;function t(a){let s=o.get(a);if(s===Rh)return new gr({type:"lazy",getter:()=>o.get(a)});if(s!==void 0)return s;o.set(a,Rh);let c=r(a),u=i(c,c!==a);return o.set(a,u),u}function r(a){let s=a._zod.def,c=s.type;switch(c){case"object":{let u=s.shape,d=Object.keys(u),p=!1,m={};for(let g of d){let y=t(u[g]);y!==u[g]&&(p=!0),m[g]=y}let f=s.catchall;return s.catchall&&(f=t(s.catchall),f!==s.catchall&&(p=!0)),p?K(a,{...s,shape:m,catchall:f}):a}case"array":{let u=t(s.element);return u===s.element?a:K(a,{...s,element:u})}case"tuple":{let u=s.items,d=!1,p=[];for(let f of u){let g=t(f);g!==f&&(d=!0),p.push(g)}let m=s.rest;return s.rest&&(m=t(s.rest),m!==s.rest&&(d=!0)),d?K(a,{...s,items:p,rest:m}):a}case"record":case"map":{let u=t(s.keyType),d=t(s.valueType);return u===s.keyType&&d===s.valueType?a:K(a,{...s,keyType:u,valueType:d})}case"set":{let u=t(s.valueType);return u===s.valueType?a:K(a,{...s,valueType:u})}case"union":{let u=s.options,d=!1,p=[];for(let m of u){let f=t(m);f!==m&&(d=!0),p.push(f)}return d?K(a,{...s,options:p}):a}case"intersection":{let u=t(s.left),d=t(s.right);return u===s.left&&d===s.right?a:K(a,{...s,left:u,right:d})}case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":{let u=t(s.innerType);return u===s.innerType?a:K(a,{...s,innerType:u})}case"pipe":{let u=t(s.in),d=t(s.out);return u===s.in&&d===s.out?a:K(a,{...s,in:u,out:d})}case"function":{let u=t(s.input),d=t(s.output);return u===s.input&&d===s.output?a:K(a,{...s,input:u,output:d})}case"lazy":{let u=s.getter,{_cachedInner:d,...p}=s;return K(a,{...p,getter:()=>t(u())})}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":return a;default:return a}}return t(e)}function Mh(e){return Zr(e,{object:n=>n.partial(),union:n=>{let i=n._zod.def;return i.discriminator===void 0?n:An(i.options)}})}function jx(e,n){if(!n?.length)return e;let i=e._zod.def;return K(e,ze(i,{checks:[...i.checks??[],...n]}),{parent:!0})}function Zh(e){return jx(e.out,e.checks)}function Lx(e){return e.in._zod.traits.has("$ZodTransform")?Zh(e):e.in}function Vh(e){return Zr(e,{pipe:n=>Lx(n._zod.def),default:(n,i)=>i?Ct(n._zod.def.innerType):n,catch:(n,i)=>i?n._zod.def.innerType:n})}function Gh(e){return Zr(e,{pipe:n=>Zh(n._zod.def),prefault:(n,i)=>i?n._zod.def.innerType:n})}var np={};We(np,{bigint:()=>Zx,boolean:()=>Mx,date:()=>Vx,number:()=>Rx,string:()=>Ux});function Ux(e){return wu(Sn,e)}function Rx(e){return Au(Pn,e)}function Mx(e){return Lu(Tn,e)}function Zx(e){return Ru(En,e)}function Vx(e){return Xu(Or,e)}var Gx=new Set(["__proto__","prototype","constructor"]),Rt=l.string().min(1).max(256).refine(e=>!Gx.has(e),"reserved storage key"),ca=l.json(),ua=256*1024,Fx=5*1024*1024,Fh=1024,Bh=l.strictObject({key:Rt}),Hh=l.object({value:ca}),Kh=l.strictObject({key:Rt,value:ca}),Wh=l.object({ok:l.literal(!0)}),Jh=l.strictObject({key:Rt}),Xh=l.object({ok:l.literal(!0)}),qh=l.strictObject({}).optional(),Yh=l.object({keys:l.array(l.string()).max(Fh)}),Qh=l.strictObject({key:Rt}),ev=l.object({value:l.string().nullable()}),tv=l.strictObject({key:Rt,value:l.string().max(64*1024)}),nv=l.object({ok:l.literal(!0)}),rv=l.strictObject({key:Rt}),iv=l.object({ok:l.literal(!0)}),ov=l.strictObject({}).optional(),av=l.object({status:l.enum(["os-keyring","unavailable"])}),sv=l.strictObject({}).optional(),cv=l.object({settings:l.record(l.string(),ca)}),uv=l.strictObject({key:Rt,value:ca}),lv=l.object({ok:l.literal(!0)});var Nn="x-orca-enum-since";var et="1.4.160",rp="1.4.245";var Vr="1.4.246";var dv=Vr,pv=Vr;var je="1.4.248";var Hx="Relative to the plugin root; `..` segments and Windows device names such as `CON` are refused.";function mv(e,n,i){return ae(`${e} ${Hx}`,n,i)}function ae(e,n,i){return i?{description:e,"x-orca-since":n,examples:[...i]}:{description:e,"x-orca-since":n}}var ht=["workspace.created","workspace.removed","agent.status.changed","workspace.changed"],vO=ht.length,Kx={"workspace.created":rp,"workspace.removed":rp,"agent.status.changed":et,"workspace.changed":pv},la=new Map([["worktree.created","workspace.created"],["worktree.removed","workspace.removed"]]);var yO=l.object({on:l.enum(ht).meta({...ae("Event delivered to the plugin worker.",et),[Nn]:Kx})}).strict().meta({id:"EventContribution",description:"An event subscription. Requires `main`, the `trusted-worker` execution profile and the capability of the event's domain: `workspace:read` for workspace events, `agent:read` for agent events."});var he=["worker","panel","editor"],le=["worker"],zn=["panel","editor"],F=e=>e;function fv(e,n){return n==="worker"?e.since:Math.max(e.since,e.framesSince??0)}var Wx=["success","failure","cancellation","superseded"],gv=[...Wx,"interruption","unconfirmed"];var Dn=["working","blocked","waiting","done"];var MO=new Set(Dn);var vt=l.string().regex(/^[A-Za-z0-9_.:-]{1,128}$/,"is 1-128 letters, digits, or . _ : -");var da=12e4,FO=1024*1024,BO=256*1024;var Qx=l.object({id:l.string().min(1).max(64),surface:l.enum(["panel","editor"]),contributionId:l.string().min(1).max(256)}),HO=l.object({name:vt,input:l.unknown(),panel:Qx}),KO=l.object({event:vt,payload:l.unknown(),panel:l.string().min(1).max(64).optional()}),hv=["storage","settings"],WO=l.object({area:l.enum(hv),key:l.string().min(1).max(256)}),JO=l.discriminatedUnion("kind",[l.object({kind:l.literal("message"),event:vt,payload:l.unknown()}),l.object({kind:l.literal("event"),event:l.enum(ht),payload:l.unknown()}),l.object({kind:l.literal("changed"),area:l.enum(hv),key:l.string()})]);var ew=l.strictObject({name:vt,input:l.json().optional(),timeoutMs:l.number().int().min(1).max(da).optional()}),tw=l.object({output:l.json()}),nw=50,rw=l.strictObject({}).optional(),iw=l.object({agents:l.array(l.object({terminalId:l.string().min(1).max(1024).nullable(),title:l.string().max(512).nullable(),agent:l.string().max(128).nullable(),state:l.enum(Dn),stateStartedAt:l.number().finite()})).max(nw)}),ow=l.strictObject({event:l.enum(ht)}),aw=l.object({ok:l.literal(!0)}),vv={"plugin.request":F({summary:"Asks the plugin's own worker to run the handler it registered with `orca.panels.handle(name)`, starting the worker if needed; resolves with what the handler returned. `unknown_method` when no handler has that name.",since:2,scope:"plugin-private",capability:null,mutation:!1,surfaces:zn,params:ew,result:tw}),"agents.list":F({summary:"The agents in the focused workspace: their terminal, title, agent kind and status. `agent.status.changed` reports each change after.",since:2,scope:"active-workspace",capability:"agent:read",mutation:!1,surfaces:he,params:rw,result:iw}),"events.subscribe":F({summary:"Delivers a workspace or agent event to this panel as `orca.on(event)`; needs the event's read capability. The frame APIs call it for you.",since:2,scope:"plugin-private",capability:null,mutation:!1,surfaces:zn,params:ow,result:aw})};var sw=/^(?:con|prn|aux|nul|clock\$|conin\$|conout\$|com[1-9\u00B9\u00B2\u00B3]|lpt[1-9\u00B9\u00B2\u00B3])(?:\..*)?$/i,cw=/[<>:"|?*]/,pa=String.raw`[^<>:"|?*\x00-\x1f\\/]*[^<>:"|?*\x00-\x1f\\/. ]`,ip=new RegExp(`^${pa}(?:[\\\\/]${pa})*$`),rN=new RegExp(`^${pa}(?:/${pa})*$`);function uw(e){return e.length===0||e==="."||e===".."?"empty and dot path segments are not allowed":e.endsWith(".")||e.endsWith(" ")?"path segments may not end with a dot or space":cw.test(e)||[...e].some(n=>n.charCodeAt(0)<=31)?"path segment contains a Windows-forbidden character or alternate-data-stream colon":sw.test(e)?"path segment is a Windows reserved device name":null}function lw(e){if(e.length===0||e.startsWith("/")||e.startsWith("\\"))return"must be a non-empty relative path";let n=e.split(/[\\/]/);for(let i of n){let o=uw(i);if(o)return o}return null}function op(e){return lw(e)===null}var yv=/^[a-z0-9]+(?:-[a-z0-9]+)*$/,dw=new Set(["__proto__","prototype","constructor"]),ap=64;function bv(e){return dw.has(e)}var sp="must be a portable relative path inside the plugin directory",Cn=l.string().max(ap).regex(yv,"must be kebab-case (a-z, 0-9, dashes)").refine(e=>!bv(e),"must not be a reserved name"),_v=l.string().min(1).max(1024).regex(ip,sp).refine(e=>!ip.test(e)||op(e),sp),dN=l.string().min(1).max(1024).transform(e=>e.replace(/[\\/]+$/,"")).refine(op,sp),$v=l.string().min(1).max(256).regex(/^[A-Za-z0-9]+(?:[._-][A-Za-z0-9]+)*$/,"must be a portable command id");var pw=/[\p{Cc}\p{Cf}\p{Cs}\p{Zl}\p{Zp}]/u,mw=new Set(["‌","‍"]);function fw(e){return mw.has(e)||!pw.test(e)}function kv(e){return[...e].filter(fw).join("")}var gw=/[\t\n\v\f\r\u0085\u2028\u2029]+/g;function hw(e){return kv(e.replace(gw," "))}function Gr(e){let n=e.overwrite(hw);return e.minLength?n.min(e.minLength,"must contain visible characters"):n}var j={maxNodes:5e3,maxDepth:64,maxTreeBytes:524288,maxTextLength:16384,maxLabelLength:1024,maxPropsPerNode:32,maxSelectOptions:500,maxEventArgs:8,maxCallbackIdLength:64,maxRadioOptions:50,maxTableColumns:32,maxTableRows:5e3,maxTreeItems:2e3,maxTreeItemDepth:16,maxKeyValueItems:200,maxDocumentLength:65536,maxEventArgItems:5e3},vN={maxBytes:640*1024,maxMessages:200,perMs:1e4,maxDepth:j.maxDepth*2+24,maxObjects:j.maxNodes*8+1024};var Be={render:"ui.render",event:"ui.event",error:"ui.error",ack:"ui.ack",ready:"ui.ready",hydrate:"ui.hydrate",visibility:"ui.visibility",persist:"ui.persist",retain:"ui.retain",snapshot:"ui.snapshot",restore:"ui.restore"};var vw={Input:{value:"value",change:"onChange"},Textarea:{value:"value",change:"onChange"},Switch:{value:"checked",change:"onChange"},Checkbox:{value:"checked",change:"onChange"},Select:{value:"value",change:"onChange"},RadioGroup:{value:"value",change:"onChange"},Slider:{value:"value",change:"onChange"},Tabs:{value:"value",change:"onChange"},Collapsible:{value:"open",change:"onChange"},Table:{value:"selected",change:"onSelectionChange"},Tree:{value:"selected",change:"onSelect"}},yw=new Map(Object.entries(vw));function cp(e){return yw.get(e)??null}var ma="$edit";var fa=/^[A-Za-z0-9_.:-]+$/,xv=l.object({$callback:l.string().min(1).max(j.maxCallbackIdLength).regex(fa)}).strict(),Mt=["neutral","accent","success","warning","danger"],G=l.string().max(j.maxLabelLength),H=G.min(1),Y=xv.optional(),Le=l.string().regex(/^[a-z0-9-]{1,64}$/),Ee=l.enum(["none","xs","sm","md","lg"]).optional(),Fr=l.enum(["start","center","end","stretch"]).optional(),tt=l.enum(Mt).optional(),ga=l.enum(["xs","sm","md"]).optional(),up=l.enum(["solid","outline","ghost"]).optional(),N=l.boolean().optional(),jn=l.string().max(j.maxTextLength),Br=l.enum(["sm","md","lg","none"]).optional(),Zt=l.string().min(1).max(j.maxLabelLength),ve={[ma]:l.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER).optional()};function R(e,n){return{props:e,children:n}}var yt=["activity","bar-chart-3","bell","blocks","book","bot","bug","calendar","cloud","code","database","file-text","flag","folder","gauge","globe","hammer","layers","lightbulb","package","plug","puzzle","rocket","star","terminal","wrench","zap","add","remove","delete","edit","refresh","search","settings","check","close","info","warning","error","open-external","copy","download","upload","play","pause","stop","more","expand","collapse","next","filter","branch","file","agent","link"],bw=Object.fromEntries(yt.slice(yt.indexOf("add")).map(e=>[e,Vr])),EN=new Map(yt.map(e=>[e.replaceAll("-",""),e]));var _w=["html","components"],$w=/\.(?:m?js|tsx?|mts|jsx)$/i,AN=l.object({id:Cn.meta(ae("Panel id, unique among this plugin's panels. The reserved names `constructor` and `prototype` are refused.",et,["dashboard"])),title:Gr(l.string().min(1).max(256)).meta(ae("Title shown on the panel tab and its tooltip.",et,["Dashboard"])),icon:l.enum(yt).optional().meta({...ae("Icon shown in the right-sidebar activity bar. Defaults to `plug`.",et,["database"]),[Nn]:bw}),entry:_v.meta(mv(`What the panel runs: an HTML page for \`ui: "html"\`, a \`.js\`/\`.mjs\` module for \`ui: "components"\`. Either may instead be a \`.ts\`/\`.tsx\`/\`.mts\`/\`.jsx\` file, which Orca transpiles when it loads (needs \`engines.orca\` \`>=${dv}\`; an \`html\` panel then gets a generated page around it). It is trusted code: install panels you trust.`,et,["dist/panel.html"])),ui:l.enum(_w).optional().meta(ae("How the panel draws its UI. `html` (default) shows `entry` as a web page in an isolated frame; `components` runs `entry` as a hidden module and Orca draws the component tree it returns with its own controls.",Vr,["components"]))}).strict().refine(e=>e.ui!=="components"||$w.test(e.entry),{path:["entry"],message:"a components panel entry must be a .js, .mjs, .ts, .tsx, .mts or .jsx module"}).meta({id:"PanelContribution",description:"A sidebar panel. Requires the `sandboxed-ui` execution profile or higher."});var kw="1.4.248";var xw=64,ww=256,Ln=kw,wv={text:Gr(l.string().max(xw)).optional().meta(ae("Short label shown in the status bar.",Ln,["3 blocked"])),icon:l.enum(yt).optional().meta(ae("Icon shown before the text, from the panel icon set.",Ln,["bell"])),tone:l.enum(Mt).optional().meta(ae("Colour of the item. Defaults to `neutral`.",Ln,["warning"])),tooltip:Gr(l.string().max(ww)).optional().meta(ae("Shown on hover. Defaults to the plugin name.",Ln))},UN=l.object({id:Cn.meta(ae("Item id, unique among this plugin's status bar items; `statusBar.update` names it.",Ln,["blocked-count"])),...wv,command:$v.optional().meta(ae("Id of a command this plugin contributes in `contributes.commands`, run when the item is pressed.",Ln,["guard.showLog"]))}).strict().meta({id:"StatusBarItemContribution",description:"An item in the status bar. Requires the `declarative` profile; a `trusted-worker` can change it with `statusBar.update`."}),Iv=l.strictObject({...wv,visible:l.boolean().optional()});var Iw=l.strictObject({id:Cn,...Iv.shape}),Sw=l.object({ok:l.literal(!0)}),Sv={"statusBar.update":F({summary:"Changes one of the plugin's `contributes.statusBarItems` (named by `id`): fields given replace their current value, `visible: false` hides it. Desktop app only; lasts until Orca restarts, and is hidden while the plugin is disabled. A plugin with `main` and status bar items has its worker started when it is enabled and kept running while it stays enabled, so a worker can poll and update its items without an event or a hook.",since:2,scope:"plugin-private",capability:null,mutation:!1,surfaces:le,params:Iw,result:Sw})};function lp(e){return e==="linux"?"orca-ide":e==="win32"?"orca.cmd":"orca"}function Pw(e){return{...e,launchCmd:e.launchCmd??e.detectCmd,expectedProcess:e.expectedProcess??e.detectCmd}}var Tw={claude:{detectCmd:"claude",promptInjectionMode:"argv",pasteNeedsTypedRequest:!0,draftPromptFlag:"--prefill",preflightTrust:"claude",draftPasteReadySignal:"claude-composer-prompt",workerStartReadsComposerMarker:!0,ctrlEnterEncoding:"csi-u"},"claude-agent-teams":{detectCmd:"orca",detectCmdAliases:["orca-dev","orca-ide"],detectRequiredCommands:["claude"],detectUnsupportedRuntimes:["win32","wsl"],launchCmd:"orca claude-teams",launchCmdByPlatform:{linux:`${lp("linux")} claude-teams`,win32:`${lp("win32")} claude-teams`},expectedProcess:"claude",promptInjectionMode:"stdin-after-start",pasteNeedsTypedRequest:!0,preflightTrust:"claude",draftPasteReadySignal:"claude-composer-prompt",workerStartReadsComposerMarker:!0,ctrlEnterEncoding:"csi-u"},codebuddy:{detectCmd:"codebuddy",detectCmdAliases:["cbc"],promptInjectionMode:"argv"},openclaude:{detectCmd:"openclaude",promptInjectionMode:"argv",draftPromptFlag:"--prefill"},codex:{detectCmd:"codex",promptInjectionMode:"argv",windowsInputRecordPasteNewline:"alt-enter",preflightTrust:"codex",draftPasteReadySignal:"codex-composer-prompt",draftPasteReadyTimeoutMs:2e4,submitRetryDelayMs:1200},autohand:{detectCmd:"autohand",promptInjectionMode:"stdin-after-start"},ante:{detectCmd:"ante",promptInjectionMode:"stdin-after-start"},trae:{detectCmd:"traecli",promptInjectionMode:"argv",argvPromptSeparator:"--"},opencode:{detectCmd:"opencode",promptInjectionMode:"flag-prompt",draftPasteReadySignal:"render-cursor-after-bracketed-paste",submitPasteReadySignal:"opencode-agent-row",draftPasteReadyTimeoutMs:2e4,ctrlEnterEncoding:"csi-u",composerReadyCaptures:["opencode-1-18-32-timed-boot-slow","opencode-1-18-32-timed-boot-hidden-pane","opencode-1-18-32-timed-first-launch","opencode-cmd-2-0-21-timed-warm-server"]},opencode2:{detectCmd:"opencode2",launchCmd:"opencode2 --standalone",promptInjectionMode:"flag-prompt",draftPasteReadySignal:"render-cursor-after-bracketed-paste",submitPasteReadySignal:"opencode-agent-row",draftPasteReadyTimeoutMs:2e4,composerReadyCaptures:["opencode-2-0-18-timed-boot-hidden-pane","opencode-2-0-21-timed-cold-standalone","opencode-2-0-21-timed-cold-standalone-hidden-pane","opencode-2-0-21-timed-natural-load-enter-dropped","opencode-2-0-14-timed-cold-standalone"]},"mimo-code":{detectCmd:"mimo",promptInjectionMode:"flag-prompt",draftPasteReadySignal:"render-cursor-after-bracketed-paste"},pi:{detectCmd:"pi",promptInjectionMode:"argv",draftPromptEnvVar:"ORCA_PI_PREFILL",windowsShiftEnterEncoding:"csi-u"},omp:{detectCmd:"omp",promptInjectionMode:"argv",draftPromptEnvVar:"ORCA_OMP_PREFILL",windowsShiftEnterEncoding:"csi-u"},"prime-agent":{detectCmd:"prime-agent",promptInjectionMode:"argv",argvPromptSeparator:"--",windowsShiftEnterEncoding:"csi-u"},qoder:{detectCmd:"qodercli",detectCmdAliases:["qoder"],promptInjectionMode:"flag-prompt-interactive",preflightTrust:"qoder"},"qoder-cn":{detectCmd:"qoderclicn",detectCmdAliases:["qodercn"],promptInjectionMode:"flag-prompt-interactive",preflightTrust:"qoder-cn"},gemini:{detectCmd:"gemini",promptInjectionMode:"flag-prompt-interactive"},antigravity:{detectCmd:"agy",promptInjectionMode:"flag-prompt-interactive",preflightTrust:"antigravity",draftPasteReadySignal:"antigravity-composer-prompt",draftPasteReadyTimeoutMs:2e4,submitLineSettleMsPerLine:45},aider:{detectCmd:"aider",promptInjectionMode:"stdin-after-start"},goose:{detectCmd:"goose",promptInjectionMode:"stdin-after-start"},amp:{detectCmd:"amp",promptInjectionMode:"stdin-after-start"},kilo:{detectCmd:"kilo",promptInjectionMode:"stdin-after-start"},kiro:{detectCmd:"kiro-cli",launchCmd:"kiro-cli chat --tui",promptInjectionMode:"stdin-after-start"},crush:{detectCmd:"crush",promptInjectionMode:"stdin-after-start"},aug:{detectCmd:"auggie",promptInjectionMode:"stdin-after-start"},cline:{detectCmd:"cline",promptInjectionMode:"stdin-after-start"},freebuff:{detectCmd:"freebuff",promptInjectionMode:"stdin-after-start"},codebuff:{detectCmd:"codebuff",promptInjectionMode:"stdin-after-start"},"command-code":{detectCmd:"command-code",launchCmd:"command-code --trust",promptInjectionMode:"argv"},continue:{detectCmd:"cn",promptInjectionMode:"stdin-after-start"},cursor:{detectCmd:"cursor-agent",promptInjectionMode:"argv",preflightTrust:"cursor"},droid:{detectCmd:"droid",promptInjectionMode:"argv",windowsShiftEnterEncoding:"csi-u",ctrlEnterEncoding:"csi-u"},kimi:{preflightTrust:"kimi",detectCmd:"kimi",detectCmdAliases:["kimi-code"],promptInjectionMode:"stdin-after-start"},"mistral-vibe":{detectCmd:"vibe",detectCmdAliases:["mistral-vibe"],promptInjectionMode:"stdin-after-start"},"qwen-code":{detectCmd:"qwen",promptInjectionMode:"stdin-after-start",submitRetryDelayMs:1200},rovo:{detectCmd:"acli",launchCmd:"acli rovodev run",promptInjectionMode:"stdin-after-start"},hermes:{detectCmd:"hermes",launchCmd:"hermes --tui",promptInjectionMode:"hermes-query"},openclaw:{detectCmd:"openclaw",promptInjectionMode:"stdin-after-start"},copilot:{detectCmd:"copilot",promptInjectionMode:"flag-interactive",preflightTrust:"copilot",draftPasteReadySignal:"copilot-composer-prompt"},grok:{detectCmd:"grok",promptInjectionMode:"argv",argvPromptSeparator:"--",draftPasteReadySignal:"grok-composer-prompt",ctrlEnterEncoding:"csi-u"},muse:{detectCmd:"muse",launchCmd:"muse --trust-workspace",promptInjectionMode:"stdin-after-start"},dsh:{detectCmd:"dsh-tui",detectCmdAliases:["dst"],detectRequiredCommands:["dsh"],launchCmd:"dsh-tui .",expectedProcess:"dsh",promptInjectionMode:"stdin-after-start",draftPasteReadySignal:"dsh-composer-prompt",submitRetryDelayMs:1e3,submitRetryBudgetMs:3e4},zcode:{detectCmd:"zcode",expectedProcess:"zcode-cli",promptInjectionMode:"stdin-after-start",draftPasteReadySignal:"zcode-composer-prompt",composerReadyCaptures:["zcode-composer-ready"]},devin:{detectCmd:"devin",promptInjectionMode:"argv",argvPromptSeparator:"--"},jcode:{detectCmd:"jcode",launchCmd:"jcode",expectedProcess:"jcode",promptInjectionMode:"stdin-after-start"}},Ew=Object.fromEntries(Object.entries(Tw).map(([e,n])=>[e,Pw(n)]));function Pv(e){return typeof e=="string"&&Object.hasOwn(Ew,e)}var dp=["worktree.history.back","worktree.history.forward","sidebar.left.toggle","sidebar.sleepingWorkspaces.toggle","floatingWorkspace.maximize","tab.rename","workspace.rename","workspace.openBoard","view.tasks","sidebar.right.toggle","sidebar.explorer.toggle","sidebar.search.toggle","sidebar.sourceControl.toggle","sidebar.checks.toggle","sidebar.ports.toggle"];var ez=new Set(dp);var Aw=500,pp=2e3,Hr=1024,Tv=4096,Un=l.string().min(1).max(Hr),mp=l.string().min(1).max(Hr),Ow=l.strictObject({}).optional(),Nw=l.object({workspaces:l.array(l.object({id:Un,kind:l.enum(["worktree","folder"]),name:l.string().max(512),project:l.string().max(512).nullable().optional(),path:l.string().max(Hr),branch:l.string().max(512).nullable(),hostId:l.string().max(Hr).nullable()})).max(Aw),truncated:l.boolean()}),zw=l.strictObject({workspaceId:Un}),Dw=l.object({opened:l.literal(!0)}),Cw=200,jw=[[0,31],[127,159],[173,173],[847,847],[1564,1564],[4447,4448],[6068,6069],[6155,6159],[8203,8207],[8232,8238],[8288,8303],[10240,10240],[12644,12644],[65024,65039],[65279,65279],[65440,65440],[65520,65531],[119155,119162],[917504,921599]],Lw=e=>{let n=e.codePointAt(0)??0;return jw.some(([i,o])=>n>=i&&n<=o)},Uw=l.strictObject({workspaceId:Un,name:l.string().max(Cw).refine(e=>e.trim().length>0,"name must not be blank").refine(e=>![...e].some(Lw),"name must be one line of plain text")}),Rw=l.object({name:l.string()}),Mw=l.strictObject({workspaceId:Un,title:l.string().min(1).max(512).optional(),command:l.string().min(1).max(Tv).optional()}),Zw=l.object({terminalId:mp}),Vw=l.strictObject({terminalId:mp,maxLines:l.number().int().min(1).max(pp).optional()}),Gw=l.object({lines:l.array(l.string()).max(pp),truncated:l.boolean()}),Fw=l.strictObject({workspaceId:Un,agent:l.string().min(1).max(64).refine(Pv,"unknown agent"),prompt:l.string().min(1).max(Tv).optional()}),Bw=l.object({terminalId:mp});function Hw(e){let n=e.split(/[\\/]/);return!/^[a-z]:/i.test(e)&&n[0]!==""&&n.every(i=>i!=="..")&&n.some(i=>i!==""&&i!==".")}var Kw=l.strictObject({workspaceId:Un,path:l.string().min(1).max(Hr).refine(Hw,"path must be relative and inside the workspace")}),Ww=l.object({opened:l.literal(!0)}),Jw=l.strictObject({action:l.enum(dp)}),Xw=l.object({ran:l.literal(!0)}),Ev={"workspace.list":F({summary:"Lists every workspace, Git worktrees and folders, on every host Orca reaches.",since:3,scope:"any-workspace",capability:"workspace:read",mutation:!1,surfaces:le,params:Ow,result:Nw}),"workspace.open":F({summary:"Shows a workspace in Orca, as clicking it in the sidebar does; a folder workspace needs the desktop app.",since:3,scope:"any-workspace",capability:"workspace:write",mutation:!0,surfaces:le,params:zw,result:Dw}),"workspace.rename":F({summary:"Renames a workspace in Orca's sidebar, as renaming it by hand does; the name stays until it is renamed again.",since:5,scope:"any-workspace",capability:"workspace:write",mutation:!0,surfaces:le,params:Uw,result:Rw}),"terminal.create":F({summary:"Opens a terminal in a workspace, optionally running a command, in the background.",since:3,scope:"any-workspace",capability:"terminal:send",mutation:!0,surfaces:le,params:Mw,result:Zw}),"terminal.read":F({summary:`Reads a terminal's newest output as plain text, at most ${pp} lines.`,since:3,scope:"explicit-terminal",capability:"terminal:read",mutation:!1,surfaces:le,params:Vw,result:Gw}),"agent.launch":F({summary:"Starts an agent's CLI in a new terminal of a workspace, in the background, and returns as soon as it starts; a `prompt` is sent once the agent is ready.",since:3,scope:"any-workspace",capability:"agent:launch",mutation:!0,surfaces:le,params:Fw,result:Bw}),"editor.open":F({summary:"Opens a file of a workspace in an editor tab of Orca's window; desktop app only. `workspace.open` shows the workspace.",since:3,scope:"any-workspace",capability:"workspace:write",mutation:!0,surfaces:le,params:Kw,result:Ww}),"commands.run":F({summary:"Runs one of Orca's built-in actions in its window, never a plugin's replacement of it; desktop app only.",since:3,scope:"desktop",capability:"workspace:write",mutation:!0,surfaces:le,params:Jw,result:Xw})};var fp=l.string().regex(/^[a-f0-9]{64}$/),Av=l.string().min(1).max(16*1024),qw=l.strictObject({expectedRevision:fp,app:Av,terminal:Av}),Ov={"appearance.read":F({summary:"Reads the current desktop appearance revision for a conditional update.",since:4,scope:"desktop",capability:"appearance:write",mutation:!1,surfaces:le,params:l.strictObject({}).optional(),result:l.strictObject({revision:fp})}),"appearance.apply":F({summary:"Publishes owned app/editor and terminal colors and selects them in the desktop. Returns publication, not renderer acknowledgement.",since:4,scope:"desktop",capability:"appearance:write",mutation:!0,surfaces:le,params:qw,result:l.strictObject({revision:fp,themeId:l.templateLiteral(["plugin:",l.string()]),mode:l.enum(["dark","light"]),delivery:l.literal("published")})})};var Nv={...Sv,...Ov,...Ev};var Yw=4096,Qw=50,Kr=512,nt=1024,eI=l.strictObject({}).optional(),gp=l.object({branch:l.string().max(Kr),displayName:l.string().max(Kr),terminals:l.array(l.object({id:l.string().min(1).max(nt),title:l.string().max(Kr).optional()}).strict()).max(Qw)}).strict().nullable(),tI=gp,nI=l.strictObject({terminalId:l.string().min(1).max(nt),text:l.string().min(1).max(Yw),enter:l.boolean().default(!1)}),rI=l.object({accepted:l.boolean()}),iI=l.strictObject({title:l.string().min(1).max(120),body:l.string().max(1e3).optional()}),oI=l.object({delivered:l.boolean()}),hp={openExternal:"shell.openExternal",saveAs:"files.saveAs"},aI=8192,sI=["http:","https:","mailto:"],zv=64*1024*1024,cI=l.strictObject({url:l.string().min(1).max(aI).refine(mI,"url must be an http:, https: or mailto: URL")}),uI=l.object({opened:l.boolean(),reason:l.enum(["cancelled","consent-unavailable"]).optional()}),lI=l.union([l.string().max(zv),l.custom(e=>e instanceof ArrayBuffer||e instanceof Uint8Array,"data must be a string or ArrayBuffer").refine(e=>e.byteLength<=zv,"data exceeds 64 MiB").meta({type:"ArrayBuffer"})]),dI=l.strictObject({suggestedName:l.string().min(1).max(255).optional(),mimeType:l.string().min(1).max(255).optional(),data:lI}),pI=l.object({status:l.enum(["saved","cancelled"])});function mI(e){try{return sI.includes(new URL(e).protocol)}catch{return!1}}var Vt={"workspace.readContext":F({summary:"Branch, name and terminal ids of the focused workspace, or null when none is focused.",since:0,scope:"active-workspace",capability:"workspace:read",mutation:!1,surfaces:he,params:eI,result:tI}),"terminal.sendText":F({summary:"Types text into one terminal named by id, optionally pressing Enter.",since:0,scope:"explicit-terminal",capability:"terminal:send",mutation:!0,surfaces:le,params:nI,result:rI}),"notifications.show":F({summary:"Shows a desktop notification.",since:0,scope:"desktop",capability:"notifications:show",mutation:!0,surfaces:he,params:iI,result:oI}),"storage.get":F({summary:"Reads a JSON value from the plugin's private store; null when absent.",since:0,scope:"plugin-private",capability:"storage:own",mutation:!1,framesSince:2,surfaces:he,params:Bh,result:Hh}),"storage.set":F({summary:"Writes a JSON value to the plugin's private store.",since:0,scope:"plugin-private",capability:"storage:own",mutation:!0,framesSince:2,surfaces:he,params:Kh,result:Wh}),"storage.delete":F({summary:"Removes a key from the plugin's private store.",since:0,scope:"plugin-private",capability:"storage:own",mutation:!0,framesSince:2,surfaces:he,params:Jh,result:Xh}),"storage.keys":F({summary:"Lists the keys in the plugin's private store.",since:0,scope:"plugin-private",capability:"storage:own",mutation:!1,framesSince:2,surfaces:he,params:qh,result:Yh}),"secrets.get":F({summary:"Reads a secret from the plugin's encrypted secrets file; null when absent.",since:0,scope:"plugin-private",capability:"secrets:own",mutation:!1,framesSince:2,surfaces:he,params:Qh,result:ev}),"secrets.set":F({summary:"Stores a secret in the plugin's encrypted secrets file.",since:0,scope:"plugin-private",capability:"secrets:own",mutation:!0,framesSince:2,surfaces:he,params:tv,result:nv}),"secrets.delete":F({summary:"Removes a secret from the plugin's encrypted secrets file.",since:0,scope:"plugin-private",capability:"secrets:own",mutation:!0,framesSince:2,surfaces:he,params:rv,result:iv}),"secrets.protection":F({summary:"How secrets are protected at rest: `os-keyring`, or `unavailable` (no OS key store, or Linux `basic_text`), where `secrets.set` fails.",since:1,scope:"plugin-private",capability:"secrets:own",mutation:!1,framesSince:2,surfaces:he,params:ov,result:av}),"settings.get":F({summary:"Reads every setting the plugin owns.",since:0,scope:"plugin-private",capability:"settings:own",mutation:!1,framesSince:2,surfaces:he,params:sv,result:cv}),"settings.set":F({summary:"Writes one setting the plugin owns.",since:0,scope:"plugin-private",capability:"settings:own",mutation:!0,framesSince:2,surfaces:he,params:uv,result:lv}),"shell.openExternal":F({summary:"Opens an http:, https: or mailto: URL in the default browser. Needs a click or key press in the frame; desktop app only. Orca asks the person before an http(s) host the plugin was not allowed; `opened` is false if they cancel.",since:1,scope:"desktop",capability:null,userActivation:!0,mutation:!1,surfaces:zn,params:cI,result:uI}),"files.saveAs":F({summary:"Offers data (a string or ArrayBuffer, up to 64 MiB) in Orca's save dialog; the plugin never learns the path. Needs a click or key press in the frame; desktop app only.",since:1,scope:"desktop",capability:null,userActivation:!0,mutation:!0,surfaces:zn,params:dI,result:pI}),...vv,...Nv},Dv=Object.keys(Vt).filter(Cv);function Cv(e){return Object.hasOwn(Vt,e)}function vp(e){return Cv(e)?Vt[e]:null}var jv=Math.max(...Dv.map(e=>Vt[e].since));function Wr(e){return Dv.filter(n=>Vt[n].surfaces.includes(e))}function ha(e,n){return Wr(e).filter(i=>n||Vt[i].userActivation!==!0)}function va(e,n="panel"){return Math.max(0,...e.map(i=>fv(Vt[i],n)))}var Ue=1,$z=l.number().refine(e=>e===Ue,{error:e=>typeof e.input=="number"&&e.input>Ue?`targets host API ${e.input}, but this Orca supports only ${Ue}; update Orca`:`must be ${Ue}`}).meta({const:Ue});var fI=new Set(["rate_limited","unavailable","timeout","conflict"]);function He(e,n=e,i){return Object.assign(new Error(n),{code:e,retryable:fI.has(e),...i===void 0?{}:{retryAfterMs:i}})}var gI=new Set(["plugin.request","events.subscribe","storage.get","storage.set","storage.delete","storage.keys","settings.get","settings.set","secrets.get","secrets.set","secrets.delete","secrets.protection"]);function ya(e,n){return typeof e=="object"&&e!==null&&n in e?Object.getOwnPropertyDescriptor(e,n)?.value:void 0}function Lv(e){let n={storage:new Map(Object.entries(e.storage??{})),settings:new Map(Object.entries(e.settings??{})),secrets:new Map(Object.entries(e.secrets??{}))},i=new Set,o=(a,s,c)=>{if(c===void 0?n[a].delete(s):n[a].set(s,c),a!=="secrets")for(let u of i)u(a,s);return{ok:!0}},t=null;async function r(a){let s=String(ya(a,"name")),c=ya(a,"input");if(!e.requests||!Object.hasOwn(e.requests,s)){if(t)return{output:await t(s,c)??null};throw He("unknown_method",`no panel handler named ${s}`)}let u=e.requests[s];return{output:(typeof u=="function"?await u(c):u)??null}}return{handles:a=>gI.has(a),async answer(a,s){let c=String(ya(s,"key")),u=ya(s,"value");switch(a){case"plugin.request":return r(s);case"storage.get":return{value:n.storage.get(c)??null};case"storage.keys":return{keys:[...n.storage.keys()]};case"settings.get":return{settings:Object.fromEntries(n.settings)};case"secrets.get":return{value:n.secrets.get(c)??null};case"secrets.protection":return{status:"os-keyring"};case"storage.set":return o("storage",c,u);case"settings.set":return o("settings",c,u);case"secrets.set":return o("secrets",c,u);case"storage.delete":return o("storage",c,void 0);case"secrets.delete":return o("secrets",c,void 0);default:return{ok:!0}}},routeRequests(a){return t=a,()=>{t===a&&(t=null)}},onChange(a){return i.add(a),()=>i.delete(a)},snapshot:()=>({storage:Object.fromEntries(n.storage),settings:Object.fromEntries(n.settings),secrets:Object.fromEntries(n.secrets)})}}var ba=class extends Error{constructor(i,o){super(o);this.code=i}code};function hI(e){return typeof e=="function"}var Uv={ok:!0};function vI(e){return e.result.safeParse(Uv).success}var yp={"workspace.readContext":null,"notifications.show":{delivered:!0},"shell.openExternal":{opened:!0},"files.saveAs":{status:"saved"},"agents.list":{agents:[]}};function Rv(e,n){let i=new Set(e.capabilities??n),o=new Map(Object.entries(e.results??{})),t=Lv(e),r={panel:ha("panel",!0),worker:Wr("worker")},a=[],s=[],c=new Set,u=0,d=(g,y)=>{throw new ba(g,y)};async function p(g,y,x){let I=vp(g);if(!I)return d("unknown_method",`${g} does not exist in this Orca`);if(!I.surfaces.includes(x))return d("not_permitted",`${g} is not available to ${x}s`);if(I.userActivation===!0){if(u===0)return d("not_permitted",`${g} needs a click or key press in the frame`);u-=1}if(I.capability&&!i.has(I.capability))return d("capability_denied",`${g} needs the ${I.capability} capability`);let b=I.params.safeParse(y);return b.success?b.data:d("invalid_params",b.error.issues[0]?.message??"invalid params")}async function m(g,y,x){let I;try{I=await p(g,y,x)}catch(E){throw E instanceof ba?(s.push({method:g,code:E.code,message:E.message}),He(E.code,E.message)):E}let b=vp(g);if(!b)throw He("unknown_method",g);let T=!o.has(g)&&t.handles(g),A=vI(b);if(!o.has(g)&&!T&&!Object.hasOwn(yp,g)&&!A)throw He("unavailable",`the test configured no result for ${g}`);let D=o.has(g)?o.get(g):Object.hasOwn(yp,g)?yp[g]:Uv,w=T?await t.answer(g,I):hI(D)?await D(I):D,O=b.result.safeParse(w);if(!O.success)throw new TypeError(`mockHost: the result configured for ${g} does not match the host API: ${O.error.issues[0]?.message??"invalid result"}`);return O.data}let f=g=>({api:{major:Ue,minor:va(r[g])},call(y,x){a.push({method:y,params:x});let I=m(y,x,g);return c.add(I),I.catch(()=>{}).finally(()=>c.delete(I)),I},has:y=>r[g].some(x=>x===y)});return{calls:a,refusals:s,capabilities:[...i],callsOf:g=>a.filter(y=>y.method===g).map(y=>y.params),respond:(g,y)=>o.set(g,y),grantGesture:()=>{u=1},data:()=>t.snapshot(),onDataChange:g=>t.onChange(g),routeRequests:g=>t.routeRequests(g),async idle(){for(;c.size>0;)await Promise.allSettled(c)},bridge:f("panel"),worker:f("worker")}}var yI=l.object({label:H,labelHidden:N,value:jn.optional(),defaultValue:jn.optional(),placeholder:G.optional(),rows:l.number().int().min(2).max(20).optional(),maxLength:l.number().int().positive().max(j.maxTextLength).optional(),invalid:N,disabled:N,onChange:Y,onSubmit:Y,...ve}).strict(),bI=l.object({label:H,description:G.optional(),checked:N,defaultChecked:N,disabled:N,onChange:Y,...ve}).strict(),_I=l.object({label:H,labelHidden:N,value:G.optional(),defaultValue:G.optional(),options:l.array(l.object({value:H,label:H,description:G.optional(),disabled:N}).strict()).max(j.maxRadioOptions),orientation:l.enum(["vertical","horizontal"]).optional(),disabled:N,onChange:Y,...ve}).strict(),_a=l.number().refine(Number.isFinite,"must be finite"),$I=l.object({label:H,labelHidden:N,value:_a.optional(),defaultValue:_a.optional(),min:_a.optional(),max:_a.optional(),step:l.number().positive().refine(Number.isFinite).optional(),showValue:N,disabled:N,onChange:Y,...ve}).strict(),kI=l.object({label:H,description:G.optional(),error:G.optional(),required:N}).strict(),Mv={Textarea:R(yI,"none"),Checkbox:R(bI,"none"),RadioGroup:R(_I,"none"),Slider:R($I,"none"),Field:R(kI,"any")};var xI=l.object({label:H,value:G.optional(),defaultValue:G.optional(),onChange:Y,...ve}).strict(),wI=l.object({value:H,label:H,icon:Le.optional(),disabled:N}).strict(),II=l.object({title:H,description:G.optional(),open:N,defaultOpen:N,disabled:N,onChange:Y,...ve}).strict(),SI=l.object({label:H,gap:Ee}).strict(),PI=l.object({columns:l.number().int().min(1).max(6).optional(),minItemWidth:l.enum(["xs","sm","md","lg"]).optional(),gap:Ee}).strict(),Zv={Tabs:R(xI,"tabs"),Tab:R(wI,"any"),Collapsible:R(II,"any"),Toolbar:R(SI,"any"),Grid:R(PI,"any")};function Re(e){return typeof e=="object"&&e!==null}var Jr=["long","short","duration"],bp=l.number().refine(Number.isFinite,"must be a finite time in milliseconds"),Vv=l.object({type:l.literal("relative"),at:bp,format:l.enum(Jr).optional()}).strict(),TI=[["day",864e5],["hour",36e5],["minute",6e4],["second",1e3]];function EI(e){let n=Math.abs(e),[i,o]=TI.find(([,t])=>n>=t)??["second",1e3];return{value:Math.trunc(e/o),unit:i}}function Gv(e,n,i,o){let{value:t,unit:r}=EI(e-n);return i==="duration"?new Intl.NumberFormat(o,{style:"unit",unit:r,unitDisplay:"narrow"}).format(Math.abs(t)):new Intl.RelativeTimeFormat(o,{numeric:i==="long"?"auto":"always",style:i==="long"?"long":"narrow"}).format(t,r)}var _p=l.string().min(1).max(64),AI=l.union([l.string().max(j.maxLabelLength),l.number(),l.boolean(),l.null(),Vv]),Fv=e=>new Set(e.map(n=>n.key)).size===e.length,OI=l.object({label:H,columns:l.array(l.object({key:_p,label:H,align:l.enum(["start","center","end"]).optional(),width:l.enum(["auto","xs","sm","md","lg"]).optional(),minWidth:l.enum(["auto","xs","sm","md"]).optional(),hideBelow:l.enum(["sm","md"]).optional(),sortable:N}).strict()).min(1).max(j.maxTableColumns).refine(Fv,"column keys must be unique"),rows:l.array(l.object({key:Zt,cells:l.record(_p,AI.refine(e=>typeof e!="number"||Number.isFinite(e))).refine(e=>Object.keys(e).length<=j.maxTableColumns),disabled:N}).strict()).max(j.maxTableRows).refine(Fv,"row keys must be unique"),sort:l.object({column:_p,direction:l.enum(["asc","desc"])}).strict().optional(),selectionMode:l.enum(["none","single","multiple"]).optional(),selected:l.array(Zt).max(j.maxTableRows).optional(),defaultSelected:l.array(Zt).max(j.maxTableRows).optional(),hasMore:N,loading:N,emptyText:G.optional(),maxHeight:Br,onSortChange:Y,onSelectionChange:Y,onRowAction:Y,onLoadMore:Y,...ve}).strict(),NI=l.object({key:Zt,label:H,description:G.optional(),icon:Le.optional(),disabled:N,hasChildren:N,children:l.array(l.unknown()).optional()}).strict();function zI(e){let n=[],i=new Set,o=[{raw:e,out:n,depth:1}],t=0;for(let r=o.pop();r;r=o.pop()){if(r.depth>j.maxTreeItemDepth)return`items nest deeper than ${j.maxTreeItemDepth}`;for(let a of r.raw){if(++t>j.maxTreeItems)return`more than ${j.maxTreeItems} items`;let s=NI.safeParse(Re(a)?a:null);if(!s.success)return"each item needs a key and a label";let{children:c,...u}=s.data;if(i.has(u.key))return`duplicate item key ${JSON.stringify(u.key.slice(0,64))}`;i.add(u.key);let d=u;r.out.push(d),c&&(d.children=[],o.push({raw:c,out:d.children,depth:r.depth+1}))}}return n}var DI=l.array(l.unknown()).transform((e,n)=>{let i=zI(e);return typeof i=="string"?(n.addIssue({code:"custom",message:i}),l.NEVER):i}),CI=l.object({label:H,items:DI,selected:G.optional(),defaultSelected:G.optional(),expanded:l.array(Zt).max(j.maxTreeItems).optional(),defaultExpanded:l.array(Zt).max(j.maxTreeItems).optional(),maxHeight:Br,onSelect:Y,onToggle:Y,onAction:Y,...ve}).strict(),Bv={Table:R(OI,"none"),Tree:R(CI,"none")};var Hv=l.string().max(j.maxDocumentLength),jI=/\.(?:png|jpe?g|webp)$/i;function LI(e){return jI.test(e)&&!/^[a-zA-Z][a-zA-Z0-9+.-]*:/.test(e)&&!/[\\\0?#]/.test(e)&&e.split("/").every(n=>n!==""&&n!=="."&&n!=="..")}var UI=l.object({content:Hv}).strict(),RI=l.object({code:Hv,language:l.string().regex(/^[A-Za-z0-9_+#.-]{1,64}$/).optional(),label:G.optional(),lineNumbers:N,wrap:N,maxHeight:Br}).strict(),MI=l.object({src:l.string().max(512).refine(LI,"must be an image file in the plugin"),alt:G,size:l.enum(["xs","sm","md","lg","full"]).optional(),fit:l.enum(["contain","cover"]).optional(),rounded:N}).strict(),ZI=l.object({label:G.optional(),items:l.array(l.object({label:H,value:l.union([G,l.number().refine(Number.isFinite),l.boolean(),l.null()]),tone:tt,code:N}).strict()).max(j.maxKeyValueItems)}).strict(),VI=l.object({tone:tt,title:G.optional(),icon:Le.optional()}).strict(),GI=l.object({at:bp,format:l.enum(Jr).optional(),tone:tt,muted:N}).strict(),FI=l.object({shape:l.enum(["text","block","circle"]).optional(),lines:l.number().int().min(1).max(10).optional(),label:G.optional()}).strict(),Kv={Markdown:R(UI,"none"),CodeView:R(RI,"none"),Image:R(MI,"none"),KeyValue:R(ZI,"none"),Callout:R(VI,"any"),Skeleton:R(FI,"none"),RelativeTime:R(GI,"none")};var BI=4096,Rn=l.union([l.number().min(0).max(BI),l.string().regex(/^(100|[1-9]?[0-9])%$/)]).optional(),HI=["none","muted","card",...Mt],KI=l.object({direction:l.enum(["row","column"]).optional(),gap:Ee,padding:Ee,paddingX:Ee,paddingY:Ee,margin:Ee,align:Fr,justify:l.enum(["start","center","end","between"]).optional(),wrap:N,grow:N,shrink:N,width:Rn,height:Rn,minWidth:Rn,minHeight:Rn,maxWidth:Rn,maxHeight:Rn,columns:l.number().int().min(1).max(6).optional(),scroll:l.enum(["x","y","both"]).optional(),border:l.union([l.boolean(),l.enum(Mt)]).optional(),radius:l.enum(["none","sm","md","lg","full"]).optional(),background:l.enum(HI).optional()}).strict(),Wv={Box:R(KI,"any")};var WI=yt,Jv=new Set(WI),JI=l.object({gap:Ee,align:Fr}).strict(),XI=l.object({gap:Ee,align:Fr,justify:l.enum(["start","center","end","between"]).optional(),wrap:N}).strict(),qI=l.object({tone:tt,muted:N,size:ga,weight:l.enum(["regular","medium","semibold"]).optional(),truncate:N}).strict(),YI=l.object({level:l.union([l.literal(1),l.literal(2),l.literal(3)]).optional()}).strict(),QI=l.object({variant:up,tone:tt,size:ga,icon:Le.optional(),tooltip:G.optional(),disabled:N,onPress:Y}).strict(),eS=l.object({icon:Le,label:H,tooltip:G.optional(),variant:up,tone:tt,size:ga,disabled:N,onPress:Y}).strict(),tS=l.object({tone:tt}).strict(),nS=l.object({title:G.optional(),description:G.optional()}).strict(),rS=l.object({label:G.optional()}).strict(),iS=l.object({title:G.optional(),description:G.optional(),icon:Le.optional(),current:N,disabled:N,onPress:Y}).strict(),oS=l.object({label:H,labelHidden:N,value:jn.optional(),defaultValue:jn.optional(),placeholder:G.optional(),type:l.enum(["text","search","password"]).optional(),maxLength:l.number().int().positive().max(j.maxTextLength).optional(),invalid:N,disabled:N,onChange:Y,onSubmit:Y,...ve}).strict(),aS=l.object({label:H,checked:N,defaultChecked:N,disabled:N,onChange:Y,...ve}).strict(),sS=l.object({label:H,labelHidden:N,value:G.optional(),defaultValue:G.optional(),placeholder:G.optional(),options:l.array(l.object({value:H,label:H,disabled:N}).strict()).max(j.maxSelectOptions),disabled:N,onChange:Y,...ve}).strict(),cS=l.object({orientation:l.enum(["horizontal","vertical"]).optional()}).strict(),uS=l.object({label:H,labelHidden:N,value:l.number().min(0).max(100).optional()}).strict(),lS=l.object({label:H,labelHidden:N}).strict(),dS=l.object({title:H,description:G.optional(),icon:Le.optional()}).strict(),pS=l.object({href:l.string().max(2048).regex(/^(https?:\/\/|mailto:)/i).optional(),onPress:Y}).strict(),mS=l.object({block:N}).strict(),Xr={Stack:R(JI,"any"),Row:R(XI,"any"),Text:R(qI,"inline"),Heading:R(YI,"inline"),Button:R(QI,"text"),IconButton:R(eS,"none"),Badge:R(tS,"text"),Card:R(nS,"any"),List:R(rS,"items"),ListItem:R(iS,"any"),Input:R(oS,"none"),Switch:R(aS,"none"),Select:R(sS,"none"),Separator:R(cS,"none"),Progress:R(uS,"none"),Spinner:R(lS,"none"),EmptyState:R(dS,"any"),Link:R(pS,"text"),Code:R(mS,"text"),...Mv,...Zv,...Bv,...Kv,...Wv};function $p(e){return typeof e=="string"&&Object.hasOwn(Xr,e)}var dD=Object.keys(Xr).filter($p),Xv=new Set(["Text","Link","Code","Badge","RelativeTime"]),qv=new Set(["Button","IconButton","Input","Switch","Select","Link","ListItem","Textarea","Checkbox","RadioGroup","Slider","Tabs","Collapsible","Table","Tree","Markdown"]),$a={items:"ListItem",tabs:"Tab"};var fS=new Set(["type","key","props","children"]),kp=32,gS=8,hS=/^[A-Z][A-Za-z0-9]{0,63}$/,vS=20,yS=new Map([[$a.items,"items"],[$a.tabs,"tabs"]]),bS={ListItem:"List",Tab:"Tabs"};function Yv(e){return e==="items"||e==="tabs"?$a[e]:void 0}var ka=class extends Error{};function te(e,n){throw new ka(`${e}: ${n}`)}function _S(e,n){return e===void 0?[]:(Array.isArray(e)||te(n,"children must be an array"),e)}function $S(e,n,i){let o=Xr[e].props.shape,t={};for(let[r,a]of Object.entries(n)){if(a===void 0)continue;if(!Object.hasOwn(o,r)){i(`${e}: ignored unknown prop "${r.slice(0,64)}"`);continue}let s=o[r].safeParse(a);if(!s.success){i(`${e}: ignored invalid ${r}`);continue}t[r]=s.data}for(let[r,a]of Object.entries(o))if(!Object.hasOwn(t,r)&&!a.safeParse(void 0).success)return i(`${e}: missing required ${r}; showing a placeholder`),null;return typeof t.icon=="string"&&!Jv.has(t.icon)&&i(`${e}: unknown icon "${t.icon}"; showing a fallback glyph`),t}function Qv(e){if(e===null)return{ok:!0,tree:null,nodes:0,warnings:[]};let n=new Set,i=u=>{n.sizej.maxTextLength&&te(I,"text is too long"),r+ ++a>j.maxNodes&&te(I,`more than ${j.maxNodes} nodes`),s+=gS+Ne.length,s>j.maxTreeBytes&&te(I,`tree exceeds ${j.maxTreeBytes} bytes`),x.push(Ne);continue}Re(d)||te(I,"expected a node, string or number");let b=d.type,T=$p(b);!T&&(typeof b!="string"||!hS.test(b))&&te(I,`invalid component name ${JSON.stringify(String(b)).slice(0,80)}`),(f==="none"||f==="text")&&te(I,`${m} accepts only text`),f==="inline"&&T&&!Xv.has(b)&&te(I,`${m} accepts only text, Text, Link, Code, Badge and RelativeTime`);let A=Yv(f),D=typeof b=="string"?yS.get(b):void 0;A!==void 0&&b!==A&&te(I,`${m} holds only ${A}`),D!==void 0&&D!==f&&te(I,`${b} must be a direct child of ${bS[b]??"its container"}`),g&&qv.has(b)&&te(I,`a ListItem with onPress cannot contain a ${b}`),++r+a>j.maxNodes&&te(I,`more than ${j.maxNodes} nodes`),p>j.maxDepth&&te(I,`deeper than ${j.maxDepth}`);for(let Ne of Object.keys(d))fS.has(Ne)||te(I,`unknown node field ${Ne.slice(0,64)}`);let w=d.key;w!==void 0&&((typeof w!="string"||w.length>j.maxLabelLength)&&te(I,"key must be a short string"),y.has(w)&&te(I,`duplicate key ${JSON.stringify(w.slice(0,64))} among siblings`),y.add(w));let O=w===void 0?{}:{key:w};if(!T){i(`unknown component ${b}; showing a placeholder`),x.push({type:"Unsupported",...O,props:{name:b},children:[]}),s+=kp+b.length;continue}let E=d.props??{};(!Re(E)||Object.keys(E).length>j.maxPropsPerNode)&&te(I,"props must be an object with few fields");let B=$S(b,E,i);if(!B){x.push({type:"Unsupported",...O,props:{name:b},children:[]}),s+=kp+b.length;continue}s+=kp+JSON.stringify(B).length,s>j.maxTreeBytes&&te(I,`tree exceeds ${j.maxTreeBytes} bytes`);let C=[],ne={type:b,...O,props:B,children:C};x.push(ne);let ye=_S(d.children,I);ye.length>j.maxNodes&&te(I,`more than ${j.maxNodes} children`);let Oe=new Set,ti=g||b==="ListItem"&&B.onPress!==void 0;for(let Ne=ye.length-1;Ne>=0;Ne--)t.push({raw:ye[Ne],depth:p+1,parentType:b,policy:Xr[b].children,inPressable:ti,siblingKeys:Oe,out:C,path:`${I}.children.${Ne}`})}}catch(u){if(u instanceof ka)return{ok:!1,error:u.message};throw u}let c=o[0];return typeof c=="object"?{ok:!0,tree:c,nodes:r,warnings:[...n]}:{ok:!1,error:"tree: expected a node"}}var Mn=l.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),Gt=l.string().min(1).max(64),xp=l.union([l.string().max(j.maxTextLength),l.number().refine(Number.isFinite),l.boolean(),l.null()]),ey=l.array(xp).max(j.maxEventArgItems),kS=l.union([xp,ey,l.record(l.string().max(64),l.union([xp,ey])).refine(e=>Object.keys(e).length<=16,"too many fields")]),xD=l.object({document:Gt,revision:Mn,callback:l.string().min(1).max(j.maxCallbackIdLength).regex(fa),args:l.array(kS).max(j.maxEventArgs),edit:Mn.optional()}).strict(),xS=l.object({document:Gt,revision:Mn,tree:l.unknown()}).strict(),ty=l.object({document:Gt.optional(),revision:Mn,message:l.string().max(j.maxLabelLength*4),stack:l.string().max(8192).optional()}).strict();function ny(e){let n=xS.safeParse(e);if(!n.success)return{ok:!1,document:null,revision:null,error:"malformed render"};let{document:i,revision:o}=n.data,t=Qv(n.data.tree);return t.ok?{...t,document:i,revision:o}:{ok:!1,document:i,revision:o,error:t.error}}var wD=l.object({document:Gt,revision:Mn,accepted:l.boolean(),retryAfterMs:l.number().int().nonnegative().max(6e4).optional()}).strict(),ID=l.object({document:Gt}).strict(),ry=/^[A-Za-z0-9_.:-]{1,128}$/,wS=["plugin","workspace"],wp=l.number().int().min(0).max(1e6),SD=l.object({version:wp,value:l.json()}).strict().refine(e=>JSON.stringify(e.value).length<=ua,"persisted value is too large"),iy=l.object({document:Gt,entries:l.array(l.object({scope:l.enum(wS),key:l.string().regex(ry),version:wp,value:l.json()}).strict()).min(1).max(64),hydration:Mn.optional()}).strict(),PD=l.object({document:Gt,entries:l.array(l.object({key:l.string().regex(ry),version:wp,value:l.json().optional()}).strict().refine(e=>JSON.stringify(e.value??null).length<=ua,"retained value is too large")).min(1).max(64)}).strict();import{installOrcaDeclarativeRuntime as US}from"./orca-runtime.mjs";var IS={Stack:"group",Row:"group",Card:"region",Text:"text",Heading:"heading",Button:"button",IconButton:"button",Badge:"status",List:"list",ListItem:"listitem",Input:"textbox",Switch:"switch",Select:"combobox",Separator:"separator",Progress:"progressbar",Spinner:"status",EmptyState:"group",Link:"link",Code:"code",Textarea:"textbox",Checkbox:"checkbox",RadioGroup:"radiogroup",Slider:"slider",Field:"group",Tabs:"tablist",Tab:"tab",Collapsible:"group",Toolbar:"toolbar",Grid:"group",Table:"grid",Tree:"tree",Markdown:"document",CodeView:"code",Image:"img",KeyValue:"list",Callout:"note",Skeleton:"status",RelativeTime:"time",Box:"group",Unsupported:"unsupported"};function ay(e,n){if(typeof e!="number")return"";let i=Jr.find(o=>o===n)??"short";return Gv(e,Date.now(),i,"en")}function SS(e){return typeof e=="object"&&e!==null&&"at"in e?ay(e.at,"format"in e?e.format:void 0):String(e??"")}var PS=["title","description","content","code","error","alt"];function TS(e){let n=[],i=[e.rows,e.items].flatMap(o=>Array.isArray(o)?o:[]);for(let o=i.shift();o!==void 0;o=i.shift()){if(typeof o!="object"||o===null)continue;let t={...o};typeof t.cells=="object"&&t.cells!==null&&n.push(...Object.values(t.cells).map(SS));for(let r of["label","value"])t[r]!==void 0&&t[r]!==null&&n.push(String(t[r]));Array.isArray(t.children)&&i.push(...t.children)}return n}function sy(e){if(typeof e=="string")return e;let n=e.props,i=PS.map(o=>n[o]).filter(o=>typeof o=="string");return e.type==="RelativeTime"?ay(n.at,n.format):e.type==="Tab"?typeof n.label=="string"?n.label:"":[...i,...TS(n),...e.children.map(sy)].join(" ")}var Ip=e=>e.replace(/\s+/g," ").trim();function ES(e){let n=e.props,i=n.label??n.title;return typeof i=="string"?i:void 0}function AS(e,n){let i=e.props,o=e.type==="ListItem"&&i.onPress!==void 0;return{type:e.type,key:e.key?.startsWith("#")?void 0:e.key,role:o?"button":IS[e.type]??"generic",label:ES(e),text:Ip(sy(e)),props:i,disabled:i.disabled===!0,path:n}}function xa(e){let n=[],i=(o,t)=>{n.push(AS(o,t)),o.children.forEach((r,a)=>{typeof r!="string"&&i(r,`${t}/${r.key??`#${a}`}`)})};return e&&i(e,e.key??"#0"),n}function oy(e,n){return e===void 0?!1:typeof n=="string"?Ip(e)===Ip(n):n.test(e)}function cy(e,n){return(n.type===void 0||e.type===n.type)&&(n.role===void 0||e.role===n.role)&&(n.text===void 0||oy(e.text,n.text))&&(n.label===void 0||oy(e.label,n.label))&&(n.testId===void 0||e.key===n.testId)}function uy(e){return e.filter(n=>!e.some(i=>i.path.startsWith(`${n.path}/`)))}function ly(e){return Object.entries(e).map(([n,i])=>`${n}: ${i instanceof RegExp?String(i):JSON.stringify(i)}`).join(", ")}function Sp(e){if(typeof e=="string")return e;let n={};for(let[i,o]of Object.entries(e.props)){if(i.startsWith("$"))continue;let t=typeof o=="object"&&o!==null&&"$callback"in o;n[i]=t?"[handler]":o}return{type:e.type,...e.key&&!e.key.startsWith("#")?{key:e.key}:{},...Object.keys(n).length>0?{props:n}:{},...e.children.length>0?{children:e.children.map(Sp)}:{}}}var OS={value:"defaultValue",checked:"defaultChecked",open:"defaultOpen",selected:"defaultSelected"};function Pp(e){return typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)&&e.every(n=>typeof n=="string")}function NS(e){switch(e.type){case"Switch":case"Checkbox":case"Collapsible":return!1;case"Slider":return typeof e.props.min=="number"?e.props.min:0;case"Table":return[];default:return""}}function dy(){let e=new Map;function n(t){let r=cp(t.type);if(!r)throw new Error(`a ${t.type} has no value; expected a form control, Tabs or Table`);return r}function i(t){let r=e.get(t.path);if(r)return r;let{value:a}=n(t),s=t.props[a],c=t.props[OS[a]??""],d={value:Pp(s)?s:Pp(c)?c:NS(t),sent:0};return e.set(t.path,d),d}function o(t,r){let{value:a,change:s}=n(t);if(t.props[a]!==void 0&&t.props[s]===void 0)throw new Error(`the ${t.type} is read-only: it has a ${a} and no ${s}`);let c=i(t);return c.sent+=1,c.value=r,{value:r,id:c.sent}}return{observe(t){let r=new Map;for(let a of t){let s=cp(a.type);if(!s)continue;let c=e.get(a.path)??i(a),u=a.props[s.value],d=a.props[ma];Pp(u)&&(typeof d=="number"?d:0)>=c.sent&&(c.value=u),r.set(a.path,c)}e=r},valueOf:t=>i(t).value,edit:o,typeInto(t,r,a){if(t.type!=="Input"&&t.type!=="Textarea")throw new Error(`type: a ${t.type} takes no text; expected an Input or Textarea`);let s=a?"":String(i(t).value),c=[];a&&c.push(o(t,s));for(let u of r)s+=u,c.push(o(t,s));return c},toggle(t){if(!["Switch","Checkbox","Collapsible"].includes(t.type))throw new Error(`toggle: expected a Switch, Checkbox or Collapsible, not a ${t.type}`);return o(t,!i(t).value)}}}function py(e){let n=new Map,i=(s,c)=>{let u=n.get(s)??new Set;return u.add(c),n.set(s,u),{dispose:()=>u.delete(c)}},o=(s,c)=>{for(let u of n.get(s)??[])u(c)},t=s=>c=>typeof c=="object"&&c!==null&&s in c?Object.getOwnPropertyDescriptor(c,s)?.value:void 0,r=()=>{};return{facades:{plugin:{request:(s,c,u)=>{let d=typeof u=="object"&&u!==null&&"timeoutMs"in u?u.timeoutMs:void 0;return e("plugin.request",{name:s,...c===void 0?{}:{input:c},...typeof d=="number"?{timeoutMs:d}:{}}).then(t("output"))},on:(s,c)=>i(`message:${s}`,c)},storage:{get:s=>e("storage.get",{key:s}).then(c=>t("value")(c)??null),set:(s,c)=>e("storage.set",{key:s,value:c}).then(r),delete:s=>e("storage.delete",{key:s}).then(r),keys:async()=>{let s=t("keys")(await e("storage.keys"));return Array.isArray(s)?s.map(String):[]},onDidChange:s=>i("changed:storage",c=>s({key:String(c)}))},settings:{get:async s=>{let c=t("settings")(await e("settings.get"));return s===void 0?c:t(s)(c)},set:(s,c)=>e("settings.set",{key:s,value:c}).then(r),onDidChange:s=>i("changed:settings",c=>s({key:String(c)}))},secrets:{get:async s=>{let c=t("value")(await e("secrets.get",{key:s}));return typeof c=="string"?c:null},set:(s,c)=>e("secrets.set",{key:s,value:c}).then(r),delete:s=>e("secrets.delete",{key:s}).then(r)}},post:(s,c)=>o(`message:${s}`,c),changed:(s,c)=>o(`changed:${s}`,c)}}var my=Symbol.for("orca.testing.stored");function fy(e,n){return Object.freeze({[my]:!0,version:n,value:e})}function zS(e){return typeof e=="object"&&e!==null&&my in e}function gy(e,n){for(let i of["plugin","workspace"])for(let[o,t]of Object.entries(n?.[i]??{}))e[i].set(o,zS(t)?{version:t.version,value:t.value}:{version:1,value:t})}var DS={sm:360,md:480};function hy(e,n){let i=e.filter(o=>!o.hideBelow||n>=DS[o.hideBelow]);return i.length>0?i:e.slice(0,1)}var Tp=(e,n)=>e.path.startsWith(`${n.path}/`);function wa(e,n){return n.filter(i=>i.type==="Tab"&&Tp(i,e)&&!i.path.slice(e.path.length+1).includes("/"))}function Ep(e,n,i){let o=wa(e,n);return o.find(t=>t.props.value===i)??o.find(t=>!t.disabled)}function vy(e,n){let i=[];for(let o of e)if(!i.some(t=>Tp(o,t))&&(o.type==="Collapsible"&&n(o)!==!0&&i.push(o),o.type==="Tabs")){let t=Ep(o,e,n(o));i.push(...wa(o,e).filter(r=>r!==t))}return e.filter(o=>!i.some(t=>Tp(o,t)))}function yy(e){return typeof e=="object"&&e!==null&&"key"in e&&typeof e.key=="string"}function Ap(e){return Array.isArray(e.props.rows)?e.props.rows.filter(yy):[]}function Op(e){let n=[],i=Array.isArray(e.props.items)?[...e.props.items]:[];for(let o=i.shift();o!==void 0;o=i.shift())if(yy(o)){n.push(o);let t="children"in o?o.children:void 0;Array.isArray(t)&&i.push(...t)}return n}function Ae(e,n,i){if(e.type!==n)throw new Error(`${i}: expected a ${n}, not a ${e.type}`)}function Np(e,n,i){let o=Ap(e).find(t=>t.key===n);if(!o||o.disabled===!0)throw new Error(`${i}: the Table has no enabled row "${n}"`);return o}function Ia(e,n,i){let o=Op(e).find(t=>t.key===n);if(!o)throw new Error(`${i}: the Tree has no item "${n}"`);return o}function by(e){return e.hasChildren===!0||Array.isArray(e.children)&&e.children.length>0}function _y(e,n){let o=(Array.isArray(e.props.columns)?e.props.columns:[]).find(a=>typeof a=="object"&&a!==null&&"key"in a&&a.key===n);if(!o||typeof o!="object"||!("sortable"in o)||o.sortable!==!0)throw new Error(`sort: the Table has no sortable column "${n}"`);let t=e.props.sort,r=typeof t=="object"&&t!==null&&"column"in t&&t.column===n&&"direction"in t&&t.direction==="asc";return{column:n,direction:r?"desc":"asc"}}function CS(e,n){return e.type==="Tabs"?wa(e,n).map(o=>({value:o.props.value,disabled:o.disabled})):(Array.isArray(e.props.options)?e.props.options:[]).map(o=>typeof o=="object"&&o!==null&&"value"in o?{value:o.value,disabled:"disabled"in o&&o.disabled===!0}:{value:void 0,disabled:!0})}function $y({host:e,controls:n,resolve:i,elements:o,dispatch:t,settled:r}){let a=new Map,s=d=>{let p=a.get(d.path);if(!p){let m=d.props.expanded??d.props.defaultExpanded;p=new Set(Array.isArray(m)?m.filter(f=>typeof f=="string"):[]),a.set(d.path,p)}return p},c=async(d,p,m,f)=>{let g=n.edit(d,m);t(p,[f],g.id),await r()},u=async(d,p,m,f)=>{let g=i(d,f);if(Ae(g,"Tree",f),!by(Ia(g,p,f)))throw new Error(`${f}: the Tree item "${p}" has no children`);let y=s(g);y.has(p)!==m&&(m?y.add(p):y.delete(p),t(g.props.onToggle,[{key:p,expanded:m}]),await r())};return{async press(d){let p=i(d,"press"),{href:m,onPress:f}=p.props;if(p.type==="Link"&&typeof m=="string")e.grantGesture(),e.bridge.call("shell.openExternal",{url:m}).catch(()=>{});else{if(f===void 0)throw new Error(`press: the ${p.type} has no onPress`);e.grantGesture()}t(f,[]),await r()},async type(d,p,m={}){let f=i(d,"type");for(let g of n.typeInto(f,p,m.replace===!0))t(f.props.onChange,[g.value],g.id),await r();m.submit&&(t(f.props.onSubmit,[n.valueOf(f)]),await r())},async submit(d){let p=i(d,"submit");t(p.props.onSubmit,[n.valueOf(p)]),await r()},async toggle(d){let p=i(d,"toggle"),m=n.toggle(p);t(p.props.onChange,[m.value],m.id),await r()},async select(d,p){let m=i(d,"select");if(!["Select","RadioGroup","Tabs"].includes(m.type))throw new Error(`select: expected a Select, RadioGroup or Tabs, not a ${m.type}`);let f=CS(m,o()).find(g=>g.value===p);if(!f||f.disabled)throw new Error(`select: the ${m.type} has no enabled option "${p}"`);await c(m,m.props.onChange,p,p)},async slide(d,p){let m=i(d,"slide");Ae(m,"Slider","slide");let f=typeof m.props.min=="number"?m.props.min:0,g=typeof m.props.max=="number"?m.props.max:100;if(!Number.isFinite(p)||pg)throw new Error(`slide: ${p} is outside the Slider's ${f} to ${g}`);await c(m,m.props.onChange,p,p)},async sort(d,p){let m=i(d,"sort");if(Ae(m,"Table","sort"),m.props.onSortChange===void 0)throw new Error("sort: the Table has no onSortChange");t(m.props.onSortChange,[_y(m,p)]),await r()},async selectRows(d,p){let m=i(d,"selectRows");Ae(m,"Table","selectRows");let f=m.props.selectionMode??"none";if(f==="none"||f==="single"&&p.length>1)throw new Error(`selectRows: the Table's selectionMode is ${String(f)}`);p.forEach(g=>Np(m,g,"selectRows")),await c(m,m.props.onSelectionChange,[...p],{keys:[...p]})},async activateRow(d,p){let m=i(d,"activateRow");if(Ae(m,"Table","activateRow"),Np(m,p,"activateRow"),m.props.onRowAction===void 0)throw new Error("activateRow: the Table has no onRowAction");t(m.props.onRowAction,[{key:p}]),await r()},async loadMore(d){let p=i(d,"loadMore");if(Ae(p,"Table","loadMore"),p.props.hasMore!==!0||p.props.onLoadMore===void 0)throw new Error("loadMore: the Table has no more rows (hasMore and onLoadMore)");t(p.props.onLoadMore,[]),await r()},expand:(d,p)=>u(d,p,!0,"expand"),collapse:(d,p)=>u(d,p,!1,"collapse"),async selectItem(d,p){let m=i(d,"selectItem");if(Ae(m,"Tree","selectItem"),Ia(m,p,"selectItem").disabled===!0)throw new Error(`selectItem: the Tree item "${p}" is disabled`);await c(m,m.props.onSelect,p,{key:p})},async activateItem(d,p){let m=i(d,"activateItem");if(Ae(m,"Tree","activateItem"),Ia(m,p,"activateItem").disabled===!0||!m.props.onAction)throw new Error(`activateItem: the Tree item "${p}" cannot be activated`);t(m.props.onAction,[{key:p}]),await r()},expandedOf:d=>{let p=i(d,"expandedOf");return Ae(p,"Tree","expandedOf"),Op(p).map(m=>m.key).filter(m=>s(p).has(m))},columnsOf:(d,p={})=>{let m=i(d,"columnsOf");Ae(m,"Table","columnsOf");let g=(Array.isArray(m.props.columns)?m.props.columns:[]).flatMap(y=>{if(typeof y!="object"||y===null||!("key"in y))return[];let x="hideBelow"in y?y.hideBelow:void 0;return typeof y.key=="string"?[{key:y.key,hideBelow:x==="sm"||x==="md"?x:void 0}]:[]});return hy(g,p.width??Number.POSITIVE_INFINITY).map(y=>y.key)},rowsOf:d=>{let p=i(d,"rowsOf");return Ae(p,"Table","rowsOf"),Ap(p).map(m=>m.key)}}}var Me=e=>{let n=(e??"").replace(/\s+/g," ").trim();return JSON.stringify(n.length>60?`${n.slice(0,59)}…`:n)},jS=e=>e==="danger"||e==="warning",ky=e=>Array.isArray(e)?e.length:0;function LS(e,n){let{props:i}=e;switch(e.type){case"Heading":return`Heading ${Me(e.text)}`;case"Callout":return`Callout ${String(i.tone??"neutral")} ${Me(e.label??e.text)}`;case"EmptyState":return`EmptyState ${Me(e.label)}`;case"Table":return`Table ${Me(e.label)}: ${ky(i.rows)} row(s)${i.hasMore===!0?", more":""}`;case"Tree":return`Tree ${Me(e.label)}: ${ky(i.items)} top-level item(s)`;case"Tabs":return`Tabs ${Me(e.label)}: ${Me(n.get(e.path))} selected`;case"Skeleton":case"Spinner":return`${e.type} ${Me(e.label??"Loading")}`;case"Text":return i.tone==="danger"||i.tone==="warning"?`Text ${String(i.tone)} ${Me(e.text)}`:null;case"Box":{let o=[i.background,i.border].find(jS);return o?`Box ${o} ${Me(e.text)}`:null}default:return null}}function xy(e,n){let i=[];for(let o of e){if(o.type==="List"){let r=e.filter(a=>a.type==="ListItem"&&a.path.startsWith(`${o.path}/`)).length;i.push(`List ${Me(o.label)}: ${r} item(s)`);continue}let t=LS(o,n);t&&i.push(t)}return i.length>12?[...i.slice(0,12),`… ${i.length-12} more`]:i}function wy(e){return"path"in e}var RS=100,MS=()=>new Promise(e=>typeof setImmediate=="function"?setImmediate(e):setTimeout(e,0));async function Iy(e,n){let i=n.host,o=new Map,t=(w,O)=>{for(let E of o.get(w)??[])E(O)},r=[],a=[],s=[],c={plugin:new Map,workspace:new Map};gy(c,n.persisted);let u=n.visible??!0,d={document:"",revision:0,tree:null},p=dy(),m=py(i.bridge.call),f=i.onDataChange(m.changed);function g(w,O){if(w===Be.ready)t(Be.hydrate,{panel:{id:n.panelId??"panel"},visible:u,plugin:Object.fromEntries(c.plugin),workspace:Object.fromEntries(c.workspace)});else if(w===Be.render){let E=ny(O);if(!E.ok){a.push({kind:"refused",message:E.error}),E.document!==null&&E.revision!==null&&t(Be.ack,{document:E.document,revision:E.revision,accepted:!1});return}s.push(...E.warnings.filter(B=>!s.includes(B))),d={document:E.document,revision:E.revision,tree:E.tree},p.observe(xa(E.tree)),t(Be.ack,{document:E.document,revision:E.revision,accepted:!0})}else if(w===Be.error){let E=ty.safeParse(O);a.push(E.success?{kind:"plugin",message:E.data.message,...E.data.stack?{stack:E.data.stack}:{}}:{kind:"plugin",message:String(O)})}else if(w===Be.persist){let E=iy.safeParse(O);if(!E.success){a.push({kind:"refused",message:"persisted state Orca would not store"});return}for(let B of E.data.entries)c[B.scope].set(B.key,{version:B.version,value:B.value})}}let y=US({post:g,awaitHydration:!0,colorScheme:n.theme??"dark",schedule:w=>r.push(w),bridge:{api:i.bridge.api,locale:n.locale??"en",host:{call:i.bridge.call,has:i.bridge.has},...m.facades,on(w,O){let E=o.get(w)??new Set;return E.add(O),o.set(w,E),{dispose:()=>E.delete(O)}}}});async function x(){for(let w=0;wvy(xa(d.tree),w=>p.valueOf(w)),b=w=>uy(I().filter(O=>cy(O,w)));function T(w,O){let E=wy(w)?I().find(B=>B.path===w.path):b(w)[0];if(!E)throw new Error(wy(w)?`${O}: the element is no longer in the panel`:`${O}: nothing in the panel matches { ${ly(w)} }`);if(E.disabled)throw new Error(`${O}: the ${E.type} is disabled`);return E}function A(w,O,E){let B=typeof w=="object"&&w!==null&&"$callback"in w?w.$callback:null;typeof B=="string"&&t(Be.event,{document:d.document,revision:d.revision,callback:B,args:O,...E===void 0?{}:{edit:E}})}await Promise.resolve(typeof e=="function"?{default:e}:e).then(w=>y.boot(w)).catch(w=>a.push({kind:"plugin",message:w instanceof Error?w.message:String(w),...w instanceof Error&&w.stack?{stack:w.stack}:{}})),await x();let D=$y({host:i,controls:p,resolve:T,elements:I,dispatch:A,settled:x});return{host:i,errors:a,warnings:s,get refusals(){return i.refusals},find:w=>b(w)[0]??null,findAll:b,tree:()=>d.tree?Sp(d.tree):null,drawnTree:()=>d.tree,summary:()=>{let w=xa(d.tree),O=I(),E=new Map(O.filter(B=>B.type==="Tabs").map(B=>[B.path,Ep(B,w,p.valueOf(B))?.label??""]));return xy(O,E)},get persisted(){let w=O=>Object.fromEntries([...c[O]].map(([E,B])=>[E,B.value]));return{plugin:w("plugin"),workspace:w("workspace"),storage:i.data().storage}},settled:x,...D,valueOf:w=>p.valueOf(T(w,"valueOf")),async emit(w,O){t(w,O),await x()},async post(w,O){m.post(w,O),await x()},async setVisible(w){u=w,t(Be.visibility,{visible:w}),await x()},async rerender(){y.rerender(),await x()},async unmount(){y.dispose(),o.clear(),f()}}}var Sy={workspaceId:l.string().min(1).max(2048),kind:l.enum(["worktree","folder"])},ZS=l.object({...Sy,path:l.string().min(1).max(32*1024),branch:l.string().max(1024)}),VS=l.object({...Sy,path:l.string().min(1).max(32*1024)}),GS=l.object({workspaceId:l.string().min(1).max(2048).nullable(),paneKey:l.string().min(1).max(2048),terminalId:l.string().min(1).max(nt).optional(),title:l.string().max(Kr).optional(),state:l.enum(Dn),receivedAt:l.number().finite().positive(),mainAgent:l.object({state:l.enum(Dn),outcome:l.enum(gv).optional(),stateStartedAt:l.number().finite()}).optional()}),FS=l.object({context:gp}),zp={"workspace.created":ZS,"workspace.removed":VS,"agent.status.changed":GS,"workspace.changed":FS};var qr=["terminal.send","workspace.create.before","workspace.create.after","agent.launch.before","agent.prompt.before","agent.tool.before","agent.tool.after","editor.save.before"],uC=qr.length,BS={"terminal.send":je,"workspace.create.before":je,"workspace.create.after":je,"agent.launch.before":je,"agent.prompt.before":je,"agent.tool.before":je,"agent.tool.after":je,"editor.save.before":je};function Sa(e){return qr.some(n=>n===e)}var lC=l.object({event:l.enum(qr).meta({...ae("Hook the worker handles with `orca.hooks.on`.",je),[Nn]:BS}),onError:l.enum(["pass","deny"]).optional().meta(ae("What Orca does when this plugin's hook throws, times out, crashes or does not start: `pass` (the default) carries on as if it passed; `deny` refuses the action, naming the plugin, so a guard fails closed. Ignored for hooks that only observe.",je))}).strict().meta({id:"HookContribution",description:"A hook Orca runs through the worker before (or after) it acts. Requires `main` and the `trusted-worker` execution profile."});var mC=1024*1024,fC=new TextEncoder,gC=new Uint8Array(0);var kC=16*1024*1024,xC=16*1024*1024;var KS=256*1024;var EC=16*1024,Yr=16*1024*1024;var bt=2e3,Zn=l.strictObject({deny:l.string().min(1).max(500)}),WS=l.object({terminalId:l.string().min(1).max(nt),text:l.string().max(Yr),enter:l.boolean(),inputKind:l.enum(["driving","orchestration","launch"])}),JS=l.object({kind:l.enum(["worktree","folder"]),projectId:l.string().min(1).max(2048),name:l.string().min(1).max(1024),branch:l.string().min(1).max(1024).optional(),base:l.string().min(1).max(1024).optional()}),XS=l.object({workspaceId:l.string().min(1).max(2048),kind:l.enum(["worktree","folder"]),path:l.string().min(1).max(32*1024),branch:l.string().max(1024)}),qS=l.record(l.string().regex(/^[A-Za-z_][A-Za-z0-9_]*$/).max(256).refine(e=>!e.toUpperCase().startsWith("ORCA_"),"ORCA_* variables are reserved"),l.string().max(32*1024)).refine(e=>Object.keys(e).length<=64,"at most 64 variables"),YS=l.enum(["worktree","folder"]),QS=l.object({agent:l.string().min(1).max(64),workspaceId:l.string().min(1).max(2048).nullable(),workspaceKind:YS.nullable(),terminalId:l.string().min(1).max(nt).optional(),command:l.string().min(1).max(Yr),env:qS}),eP=l.object({agent:l.string().min(1).max(64).nullable(),terminalId:l.string().min(1).max(nt),prompt:l.string().max(Yr),inputKind:l.enum(["driving","orchestration","launch"])}),Py={agent:l.string().min(1).max(64),workspaceId:l.string().min(1).max(2048).nullable(),terminalId:l.string().min(1).max(nt).optional(),tool:l.string().min(1).max(256),input:l.unknown(),callId:l.string().min(1).max(256).optional()},tP=l.object(Py),nP=l.object({...Py,output:l.unknown().optional()}),rP=l.object({workspaceId:l.string().min(1).max(2048).nullable(),path:l.string().min(1).max(32*1024),languageId:l.string().min(1).max(128).optional(),text:l.string().max(Yr)}),Qr={"terminal.send":{payload:WS,result:Zn,mutable:["text","enter"],deadlineMs:bt,summary:"Text Orca, the CLI or a plugin is about to send to a terminal. A person typing (on the desktop, a phone or a paired client) is never hooked, and prompts Orca submits to an agent take `agent.prompt.before` instead. Writes to one terminal stay in order while a hook decides. Rewrite `text` or `enter` with `next`, or return `{ deny }` to refuse the send."},"workspace.create.before":{payload:JS,result:Zn,mutable:["name","branch","base"],deadlineMs:bt,summary:"A worktree or folder workspace is about to be created. Change `name`, `branch` or `base` with `next`, or return `{ deny }` to refuse it."},"workspace.create.after":{payload:XS,result:null,mutable:[],deadlineMs:bt,summary:"A worktree or folder workspace was created. Observe only: Orca does not wait for it, and results are ignored."},"agent.launch.before":{payload:QS,result:Zn,mutable:["command","env"],deadlineMs:bt,summary:"Orca is about to start an agent CLI in a terminal, from any launcher (new tab, workspace create, CLI, automation, orchestration). Change `command` or add `env` with `next`, or return `{ deny }` to refuse the launch. Restores of saved sessions are not hooked."},"agent.prompt.before":{payload:eP,result:Zn,mutable:["prompt"],deadlineMs:bt,summary:"Orca is about to submit a prompt to an agent in a terminal: a launch prompt, an orchestration dispatch, an issue or task prompt, or `orca terminal send` to an agent. A prompt a person submits is never hooked, and writes to one terminal stay in order while it decides. Rewrite `prompt` with `next`, or return `{ deny }` to refuse it."},"agent.tool.before":{payload:tP,result:Zn,mutable:["input"],deadlineMs:bt,summary:"An agent in an Orca terminal is about to run a tool. Claude Code waits for the answer: return `{ deny }` to refuse the call (the agent sees the reason) or change `input` with `next`; the person is still asked as usual. Other agents only report the call, so their results are ignored. Agents on SSH or WSL hosts are not hooked yet."},"agent.tool.after":{payload:nP,result:null,mutable:[],deadlineMs:bt,summary:"An agent in an Orca terminal finished a tool call (successfully or not). Observe only: Orca does not wait for it."},"editor.save.before":{payload:rP,result:Zn,mutable:["text"],deadlineMs:bt,summary:"The person is about to save a text file from an Orca editor tab (an explicit save, not autosave). Change `text` with `next` (format on save) or return `{ deny }` to refuse the save, which shows your reason. Edits made while the hook ran stay unsaved."}};var Pa=class{constructor(n){this.event=n}event},LC=l.object({event:l.enum(qr),payload:l.unknown()}),Ty=l.discriminatedUnion("decision",[l.object({decision:l.literal("continue"),payload:l.unknown()}),l.object({decision:l.literal("result"),result:l.unknown()})]);async function Ey(e,n){let i=n;for(let o of e){let r=await o(i,a=>new Pa(a??i));if(r instanceof Pa)i=r.event;else if(r!=null)return{decision:"result",result:r}}return{decision:"continue",payload:i}}function iP(e){return e instanceof Error?e.message:String(e)}function Ay(e,n,i="timed out"){let o,t=new Promise((r,a)=>{o=setTimeout(()=>a(new Error(`${i} after ${n}ms`)),n)});return Promise.race([e,t]).finally(()=>clearTimeout(o))}function oP(e,n,i){let o=Qr[e];if(!Re(n)||!Re(i))return{ok:!1,reason:"next() was given something other than the event object"};let t={...n};for(let a of o.mutable)Object.hasOwn(i,a)&&(t[a]=i[a]);let r=o.payload.safeParse(t);return r.success?{ok:!0,payload:r.data}:{ok:!1,reason:r.error.issues[0]?.message??"invalid change"}}var Dp=class extends Error{};async function Oy(e){let{event:n}=e,i=Qr[n],o=e.deadlineMs??i.deadlineMs,t=e.payload;for(let r of e.participants){let a=e.now(),s=()=>Math.round(e.now()-a),c=i.result!==null&&e.failsClosed?.(r)===!0,u=(f,g=!1)=>c&&!g?(e.log(r,`hook ${n} denied after ${s()}ms (onError: deny): ${f}`),{kind:"deny",pluginKey:r,reason:`${r} failed and denies on error: ${f}`}):(e.log(r,`hook ${n} skipped after ${s()}ms: ${f}`),null),d;try{if(e.start){let f=e.startTimeoutMs??o;await Ay(e.start(r),f,"worker did not start")}d=await Ay(e.invoke(r,t,o),o)}catch(f){let g=u(iP(f),f instanceof Dp);if(g)return g;continue}let p=Ty.safeParse(d);if(!p.success){let f=u("the worker answered with something other than a hook decision");if(f)return f;continue}if(p.data.decision==="continue"){let f=oP(n,t,p.data.payload);f.ok?t=f.payload:e.log(r,`hook ${n}: change ignored: ${f.reason}`);continue}if(i.result===null)continue;let m=i.result.safeParse(p.data.result);if(!m.success){if(c){let f=u(`malformed result: ${m.error.issues[0]?.message??"invalid"}`);if(f)return f}e.log(r,`hook ${n}: result ignored: return next(event) or { deny: reason }`);continue}return{kind:"deny",pluginKey:r,reason:m.data.deny}}return{kind:"continue",payload:t}}function aP(e){return typeof e!="object"||e===null||!("workspaceId"in e)||"worktreeId"in e?e:{...e,worktreeId:e.workspaceId}}function ei(e,n){return typeof e=="object"&&e!==null&&n in e?Object.getOwnPropertyDescriptor(e,n)?.value:void 0}function Ta(e,n){return e.add(n),{dispose:()=>{e.delete(n)}}}var sP=new Set(Wr("worker"));function Ny(){return{commands:new Map,events:new Map,hooks:new Map,panelRequests:new Map,dataListeners:{storage:new Set,settings:new Set}}}function zy(e){let{tables:n,hostCall:i}=e,o=async(t,r)=>{await i(t,r)};return Object.freeze({api:Object.freeze({major:Ue,minor:jv}),commands:Object.freeze({register(t,r){return n.commands.set(t,r),{dispose:()=>{n.commands.delete(t)}}}}),events:Object.freeze({on(t,r){let a=la.get(t)??t,s=n.events.get(a)??new Set;n.events.set(a,s);let c=a!==t||t==="agent.status.changed",u=Ta(s,p=>r(c?aP(p):p));if(t!=="workspace.changed")return u;let d=!0;return i("workspace.readContext").then(p=>d&&r({context:p})).catch(()=>{}),{dispose:()=>{d=!1,u.dispose()}}}}),hooks:Object.freeze({on(t,r){if(!Sa(t))throw new TypeError(`orca.hooks.on: unknown hook ${String(t)}`);if(typeof r!="function")throw new TypeError("orca.hooks.on needs a handler function");let a=n.hooks.get(t)??new Set;return n.hooks.set(t,a),Ta(a,r)}}),host:Object.freeze({call:(t,r,a)=>i(t,r,a),has:t=>sP.has(t)}),panels:Object.freeze({handle(t,r){if(vt.parse(t),typeof r!="function")throw new TypeError("orca.panels.handle needs a handler function");return n.panelRequests.set(t,r),{dispose:()=>{n.panelRequests.get(t)===r&&n.panelRequests.delete(t)}}},post(t,r,a){vt.parse(t),e.postToPanels({event:t,payload:r,...a?.panel?{panel:a.panel}:{}})}}),storage:Object.freeze({get:async t=>ei(await i("storage.get",{key:t}),"value")??null,set:(t,r)=>o("storage.set",{key:t,value:r}),delete:t=>o("storage.delete",{key:t}),keys:async()=>{let t=ei(await i("storage.keys"),"keys");return Array.isArray(t)?t.filter(r=>typeof r=="string"):[]},onDidChange:t=>Ta(n.dataListeners.storage,t)}),settings:Object.freeze({get:async t=>{let r=ei(await i("settings.get"),"settings"),a=typeof r=="object"&&r!==null?{...r}:{};return t===void 0?a:ei(a,t)},set:(t,r)=>o("settings.set",{key:t,value:r}),onDidChange:t=>Ta(n.dataListeners.settings,t)}),secrets:Object.freeze({get:async t=>{let r=ei(await i("secrets.get",{key:t}),"value");return typeof r=="string"?r:null},set:(t,r)=>o("secrets.set",{key:t,value:r}),delete:t=>o("secrets.delete",{key:t})}),grantedCapabilities:Object.freeze([...e.grantedCapabilities]),log:t=>e.log(String(t))})}var Dy={id:"test-panel",surface:"panel",contributionId:"panel"};function cP(e){return Object.hasOwn(zp,e)}function uP(e){return e instanceof Error?e.message:String(e)}async function Cy(e,n){let{host:i}=n,o=new Set(n.events),t=n.hooks.map(b=>typeof b=="string"?{event:b}:b),r=new Set(t.map(b=>b.event)),a=new Set(t.filter(b=>b.onError==="deny").map(b=>b.event)),s=Ny(),c=[],u=[],d=!0,p=e.default;if(typeof p!="function")throw new TypeError(typeof e.activate=="function"?"mountWorker: the module exports activate by name, but Orca calls the default export: write `export default function activate(orca)`":"mountWorker: the module has no default-exported activate(orca) function");let m=e.deactivate;if(m!==void 0&&typeof m!="function")throw new TypeError("mountWorker: the module exports a deactivate that is not a function");let f=zy({tables:s,hostCall:(b,T)=>i.worker.call(b,T),postToPanels:b=>{u.push(b)},log:b=>{c.push(b)},grantedCapabilities:i.capabilities}),g=i.onDataChange((b,T)=>{for(let A of s.dataListeners[b])A({key:T})});await p(f);let y=n.commands?[...s.commands.keys()].find(b=>!n.commands?.includes(b)):void 0;if(y!==void 0)throw new Error(`registered undeclared command ${y}: list it in contributes.commands`);async function x(b,T,A){let D=s.panelRequests.get(b);if(!D)throw He("unknown_method",`no panel handler named ${b}`);let w={...Dy,contributionId:A??Dy.contributionId};return D(T,{panel:w,signal:new AbortController().signal})}let I=i.routeRequests((b,T)=>x(b,T));return{host:i,logs:c,posts:u,get refusals(){return i.refusals},async emit(b,T){if(!cP(b))throw new Error(`emit: "${b}" is not an event Orca sends to workers`);if(!o.has(b))throw new Error(`emit: "${b}" never arrives: it is not in contributes.events`);let A=zp[b].safeParse(T);if(!A.success)throw new TypeError(`emit: that ${b} payload is not one Orca sends: ${A.error.issues[0]?.message??""}`);let D=s.events.get(la.get(b)??b)??[];await Promise.all([...D].map(async w=>w(A.data))),await i.idle()},hooks:{async fire(b,T){if(!Sa(b))throw new Error(`hooks.fire: "${b}" is not a hook Orca runs`);if(!r.has(b))throw new Error(`hooks.fire: "${b}" never runs: it is not in contributes.hooks`);let A=Qr[b].payload.safeParse(T);if(!A.success)throw new TypeError(`hooks.fire: that ${b} event is not one Orca sends: ${A.error.issues[0]?.message??""}`);let D=await Oy({event:b,payload:A.data,participants:["worker"],invoke:(w,O)=>Ey(s.hooks.get(b)??[],O),log:(w,O)=>{c.push(O)},now:()=>performance.now(),failsClosed:()=>a.has(b)});return await i.idle(),D.kind==="deny"?{kind:"deny",reason:D.reason}:{kind:"continue",event:D.payload}}},async command(b,T){let A=s.commands.get(b);if(!A)throw new Error(`command: the worker registered no "${b}"`);let D=await A(T,{signal:new AbortController().signal});return await i.idle(),D},async request(b,T,A={}){let D=await x(b,T,A.panel);return await i.idle(),D},async deactivate(){if(d){d=!1,g(),I(),s.events.clear(),s.hooks.clear(),s.commands.clear(),s.panelRequests.clear();try{await(typeof m=="function"?m():void 0)}catch(b){throw new Error(`deactivate threw: ${uP(b)}`,{cause:b})}await i.idle()}}}}import{test as nL,describe as rL,beforeEach as iL,afterEach as oL}from"node:test";import{default as sL}from"node:assert/strict";import{runInThisContext as vP}from"node:vm";function jy(e){if(typeof e!="object"||e===null||!("on"in e)||!("document"in e))return!1;let n=e.document;return typeof e.on=="function"&&typeof n=="object"&&n!==null&&"session"in n&&typeof n.session=="function"&&"applyEdit"in n&&typeof n.applyEdit=="function"}var Ke=1;var jp=["invalid_request","invalid_params","unknown_method","capability_denied","consent_required","not_permitted","rate_limited","unavailable","action_failed","cancelled","timeout","conflict","too_large"],lP=new Set(["rate_limited","unavailable","timeout","conflict"]);function dP(e){return jp.find(n=>n===e)??"action_failed"}function _t(e,n,i){let o=dP(e);return{code:o,message:n.slice(0,8192),retryable:lP.has(o),...i===void 0?{}:{retryAfterMs:i}}}var Cp=l.number().int().nonnegative(),Ly=l.string().min(1).max(128),pP=l.object({code:l.string().max(64),message:l.string().max(8192),retryable:l.boolean(),retryAfterMs:l.number().int().nonnegative().optional()}),sj=l.discriminatedUnion("kind",[l.object({orca:l.literal(Ke),kind:l.literal("req"),id:Cp,method:Ly,params:l.unknown().optional()}),l.object({orca:l.literal(Ke),kind:l.literal("res"),id:Cp,result:l.unknown().optional(),error:pP.optional()}),l.object({orca:l.literal(Ke),kind:l.literal("evt"),event:Ly,payload:l.unknown().optional()}),l.object({orca:l.literal(Ke),kind:l.literal("cancel"),id:Cp})]);var Ft={ready:"ready",hello:"hello",theme:"theme",ping:"ping",pong:"pong",editorKeydown:"editor.keydown",editorDocument:"editor.document",editorSubscribed:"editor.subscribed",editorMerges:"editor.merges",push:"plugin.push"},Vn={applyEdit:"editor.applyEdit",flush:"editor.flush"},Uy=64*1024;var mP=l.string().min(32).max(128),pj=l.object({sessionToken:mP,action:l.string().min(1),params:l.unknown().optional()}).strict();var Lp=64*1024*1024,yj=16*1024*1024;var Up=1e3,fP=l.strictObject({baseVersion:l.number().int().nonnegative(),content:l.discriminatedUnion("kind",[l.strictObject({kind:l.literal("text"),text:l.string()}),l.strictObject({kind:l.literal("bytes"),bytes:l.instanceof(ArrayBuffer)})])});function Ry(e){let n=fP.safeParse(e);return n.success?n.data:null}var Rp=_t("conflict","The file changed outside this editor; edit the latest document."),My=_t("too_large","The edit is larger than Orca accepts; the file keeps its last accepted edit.");var Zy="__orcaPluginFrameTransport",Vy="__orcaDeclarativePost";var Gy=` +Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let s=a[1];if(n===a[0]){r(a);continue}if(e.external){let c=e.external.registry.get(a[0])?.id;if(n!==a[0]&&c){r(a);continue}}if(e.metadataRegistry.get(a[0])?.id){r(a);continue}if(s.cycle){r(a);continue}s.count>1&&e.reused==="ref"&&r(a)}e.external&&(e.sharedDefsExtractedFor=e.external)}function cg(e){let n=e.anyOf;if(!Array.isArray(n)||n.length===0||e.type!==void 0)return;let i=[];for(let o of n){if(!o||typeof o!="object")return;cg(o);let t=Object.keys(o);if(t.length!==1||t[0]!=="type")return;let r=o.type;for(let a of Array.isArray(r)?r:[r]){if(typeof a!="string")return;i.includes(a)||i.push(a)}}delete e.anyOf,e.type=i.length===1?i[0]:i}var lg=new Set(["type","properties","required","additionalProperties"]),sg=["oneOf","anyOf"];function ug(e){let n=e.additionalProperties;return n===void 0||n===!1||typeof n!="object"||n===null?null:Object.keys(n).length?n:null}function dl(e){let n=[];for(let r of e){if(typeof r!="object"||r.type!=="object")return null;for(let a in r)if(!lg.has(a))return null;n.push(r)}let i={},o=new Set;for(let r of n){for(let a in r.properties){if(Object.prototype.hasOwnProperty.call(i,a))continue;let s=[];for(let c of n){let d=c.properties?.[a]??ug(c);d!=null&&(s.some(p=>JSON.stringify(p)===JSON.stringify(d))||s.push(d))}let u=s.length===1?s[0]:dl(s)??{allOf:s};se(i,a,u)}for(let a of r.required??[])o.add(a)}let t={type:"object",properties:i};if(o.size&&(t.required=[...o]),n.every(r=>r.additionalProperties===!1))t.additionalProperties=!1;else{let r=[];for(let a of n){let s=ug(a);s&&!r.some(u=>JSON.stringify(u)===JSON.stringify(s))&&r.push(s)}r.length===1?t.additionalProperties=r[0]:r.length>1&&(t.additionalProperties={allOf:r})}return t}function Ax(e){let n=e.allOf;if(!Array.isArray(n)||n.length<2)return;for(let t of lg)if(t in e)return;let i=n.filter(t=>sg.some(r=>Array.isArray(t[r]))),o=null;if(!i.length)o=dl(n);else{let t=i[0],r=sg.find(u=>Array.isArray(t[u]));if(Object.keys(t).length!==1)return;let a=n.filter(u=>u!==t),s=t[r].map(u=>dl([...a,u]));if(s.some(u=>!u))return;o={[r]:s}}o&&(delete e.allOf,Sr(e,o))}function dt(e,n){let i=e.seen.get(n);if(!i)throw new Error("Unprocessed schema. This is a bug in Zod.");let o=s=>{let u=e.seen.get(s);if(u.ref===null)return;let c=u.def??u.schema,d={...c},p=u.ref;if(u.ref=null,p){o(p);let f=e.seen.get(p),g=f.schema;if(g.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(c.allOf=c.allOf??[],c.allOf.push(g)):Sr(c,g),Sr(c,d),s._zod.parent===p)for(let x in c)x==="$ref"||x==="allOf"||x in d||delete c[x];if(g.$ref&&f.def)for(let x in c)x==="$ref"||x==="allOf"||x in f.def&&JSON.stringify(c[x])===JSON.stringify(f.def[x])&&delete c[x]}let m=s._zod.parent;if(m&&m!==p){o(m);let f=e.seen.get(m);if(f?.schema.$ref&&(c.$ref=f.schema.$ref,f.def))for(let g in c)g==="$ref"||g==="allOf"||g in f.def&&JSON.stringify(c[g])===JSON.stringify(f.def[g])&&delete c[g]}e.override({zodSchema:s,jsonSchema:c,path:u.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let s of[...e.seen.entries()].reverse())o(s[0]);if(e.target!=="openapi-3.0")for(let s of e.seen.entries())cg(s[1].def??s[1].schema);for(let s of e.deferred)s();if(e.intersections.length){let s=new Map;for(let u of e.seen.values())for(let c of[u.schema,u.def]){let d=c?.allOf;if(!Array.isArray(d))continue;let p=s.get(d);p?p.push(c):s.set(d,[c])}for(let u of e.intersections)for(let c of s.get(u)??[])Ax(c)}}let t={};if(e.target==="draft-2020-12"?t.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?t.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?t.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let s=e.external.registry.get(n)?.id;if(!s)throw new Error("Schema is missing an `id` property");t.$id=e.external.uri(s)}Sr(t,i.defId?i.schema:i.def??i.schema);let r=e.metadataRegistry.get(n)?.id;r!==void 0&&t.id===r&&delete t.id;let a=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let s of e.seen.entries()){let u=s[1];u.def&&u.defId&&(u.def.id===u.defId&&delete u.def.id,se(a,u.defId,u.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?t.$defs=a:t.definitions=a);try{let s=JSON.parse(JSON.stringify(t));return Object.defineProperty(s,"~standard",{value:{...n["~standard"],jsonSchema:{input:$n(n,"input",e.processors),output:$n(n,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function ge(e,n){let i=n??{seen:new Set};if(i.seen.has(e))return!1;i.seen.add(e);let o=e._zod.def;if(o.type==="transform")return!0;if(o.type==="array")return ge(o.element,i);if(o.type==="set")return ge(o.valueType,i);if(o.type==="lazy")return ge(o.getter(),i);if(o.type==="promise"||o.type==="optional"||o.type==="nonoptional"||o.type==="nullable"||o.type==="readonly"||o.type==="default"||o.type==="prefault"||o.type==="catch")return ge(o.innerType,i);if(o.type==="intersection")return ge(o.left,i)||ge(o.right,i);if(o.type==="record"||o.type==="map")return ge(o.keyType,i)||ge(o.valueType,i);if(o.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:ge(o.in,i)||ge(o.out,i);if(o.type==="object"){for(let t in o.shape)if(ge(o.shape[t],i))return!0;return!1}if(o.type==="union"){for(let t of o.options)if(ge(t,i))return!0;return!1}if(o.type==="tuple"){for(let t of o.items)if(ge(t,i))return!0;return!!(o.rest&&ge(o.rest,i))}return!1}var pl=(e,n={})=>i=>{let o=ct({...i,processors:n});return J(e,o),lt(o,e),dt(o,e)},$n=(e,n,i={})=>o=>{let{libraryOptions:t,target:r}=o??{},a=ct({...t??{},target:r,io:n,processors:i});return J(e,a),lt(a,e),dt(a,e)};var kn=(e,n,i)=>{(e[n]===void 0||i>e[n])&&(e[n]=i)},xn=(e,n,i)=>{(e[n]===void 0||i{kn(e,"minimum",n),xn(e,"maximum",n)},gg=(e,n)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(n)||e.multipleOf.push(n)},hg=(e,n)=>{e.patterns??(e.patterns=new Set),e.patterns.add(n)},vg=(e,n)=>{e.mime=e.mime?e.mime.filter(i=>n.includes(i)):[...n]},yg=(e,n)=>{e.format=n,n.includes("int")&&(e.isInt=!0)},pg=(e,n)=>kn(e,"minimum",n.minimum),mg=(e,n)=>xn(e,"maximum",n.maximum),fg=e=>(n,i)=>{yg(n,i.format);let[o,t]=e[i.format];kn(n,"minimum",o),xn(n,"maximum",t)},Ox={greater_than:(e,n)=>kn(e,n.inclusive?"minimum":"exclusiveMinimum",n.value),less_than:(e,n)=>xn(e,n.inclusive?"maximum":"exclusiveMaximum",n.value),multiple_of:(e,n)=>gg(e,n.value),number_format:fg(Wn),bigint_format:fg(Kn),min_length:pg,max_length:mg,length_equals:(e,n)=>dg(e,n.length),min_size:pg,max_size:mg,size_equals:(e,n)=>dg(e,n.size),string_format:(e,n)=>{yg(e,n.format),n.pattern&&hg(e,n.pattern),(n.format==="base64"||n.format==="base64url")&&(e.contentEncoding=n.format),(n.local||n.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,n)=>vg(e,n.mime)};function oe(e){let n={},i=e._zod.def,o=e._zod.traits.has("$ZodCheck")?[e,...i.checks??[]]:i.checks??[];for(let r of o)Ox[r._zod.def.check]?.(n,r._zod.def);let t=e._zod.bag;t.minimum!==void 0&&kn(n,"minimum",t.minimum),t.exclusiveMinimum!==void 0&&kn(n,"exclusiveMinimum",t.exclusiveMinimum),t.maximum!==void 0&&xn(n,"maximum",t.maximum),t.exclusiveMaximum!==void 0&&xn(n,"exclusiveMaximum",t.exclusiveMaximum),t.multipleOf!==void 0&&gg(n,t.multipleOf),t.format!==void 0&&(n.format??(n.format=t.format),t.format.includes("int")&&(n.isInt=!0)),t.mime&&vg(n,t.mime);for(let r of t.patterns??[])hg(n,r);return n}var Nx={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},zx=new Map([[zi,ys],[dr,bs]]),bg=e=>zx.get(e)??e,gl=(e,n,i,o)=>{let t=i;t.type="string";let{minimum:r,maximum:a,format:s,patterns:u,contentEncoding:c,laxFormat:d}=oe(e);if(typeof r=="number"&&(t.minLength=r),typeof a=="number"&&(t.maxLength=a),s&&(t.format=Nx[s]??s,t.format===""&&delete t.format,(s==="time"||d)&&delete t.format),c&&(t.contentEncoding=c),u&&u.size>0){let p=[...u].map(bg);p.length===1?t.pattern=p[0].source:p.length>1&&(t.allOf=[...p.map(m=>({...n.target==="draft-07"||n.target==="draft-04"||n.target==="openapi-3.0"?{type:"string"}:{},pattern:m.source}))])}},hl=(e,n,i,o)=>{let t=i,{minimum:r,maximum:a,multipleOf:s,exclusiveMaximum:u,exclusiveMinimum:c,isInt:d}=oe(e);t.type=d?"integer":"number";let p=typeof c=="number"&&c>=(r??Number.NEGATIVE_INFINITY),m=typeof u=="number"&&u<=(a??Number.POSITIVE_INFINITY),f=n.target==="draft-04"||n.target==="openapi-3.0";if(p?f?(t.minimum=c,t.exclusiveMinimum=!0):t.exclusiveMinimum=c:typeof r=="number"&&(t.minimum=r),m?f?(t.maximum=u,t.exclusiveMaximum=!0):t.exclusiveMaximum=u:typeof a=="number"&&(t.maximum=a),s){let g=new Set;for(let I of s)Number.isFinite(I)&&I!==0?g.add(Math.abs(I)):ie(e,n,t,o,`A multipleOf divisor of ${I} cannot be represented in JSON Schema`);let[y,...x]=g;y!==void 0&&(t.multipleOf=y),x.length&&(t.allOf=[...t.allOf??[],...x.map(I=>({multipleOf:I}))])}},vl=(e,n,i,o)=>{i.type="boolean"},yl=(e,n,i,o)=>{ie(e,n,i,o,"BigInt cannot be represented in JSON Schema")},bl=(e,n,i,o)=>{ie(e,n,i,o,"Symbols cannot be represented in JSON Schema")},_l=(e,n,i,o)=>{n.target==="openapi-3.0"?(i.type="string",i.nullable=!0,i.enum=[null]):i.type="null"},$l=(e,n,i,o)=>{ie(e,n,i,o,"Undefined cannot be represented in JSON Schema")},kl=(e,n,i,o)=>{ie(e,n,i,o,"Void cannot be represented in JSON Schema")},xl=(e,n,i,o)=>{i.not={}},wl=(e,n,i,o)=>{},Il=(e,n,i,o)=>{},Sl=(e,n,i,o)=>{ie(e,n,i,o,"Date cannot be represented in JSON Schema")},Pl=(e,n,i,o)=>{let t=e._zod.def,r=Ht(t.entries);if(r.length===0){i.not={};return}r.every(a=>typeof a=="number")&&(i.type="number"),r.every(a=>typeof a=="string")&&(i.type="string"),i.enum=r},Tl=(e,n,i,o)=>{let t=e._zod.def;if(t.values.length===0){i.not={};return}let r=[];for(let a of t.values)if(a===void 0){if(ie(e,n,i,o,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof a=="bigint"){if(ie(e,n,i,o,"BigInt literals cannot be represented in JSON Schema"))return;r.push(Number(a))}else r.push(a);if(r.length!==0)if(r.length===1){let a=r[0];i.type=a===null?"null":typeof a,n.target==="draft-04"||n.target==="openapi-3.0"?i.enum=[a]:i.const=a}else r.every(a=>typeof a=="number")&&(i.type="number"),r.every(a=>typeof a=="string")&&(i.type="string"),r.every(a=>typeof a=="boolean")&&(i.type="boolean"),r.every(a=>a===null)&&(i.type="null"),i.enum=r},El=(e,n,i,o)=>{ie(e,n,i,o,"NaN cannot be represented in JSON Schema")},Al=(e,n,i,o)=>{let t=i,r=e._zod.pattern;if(!r)throw new Error("Pattern not found in template literal");t.type="string",t.pattern=r.source},Ol=(e,n,i,o)=>{let t=i;t.type="string",t.format="binary",t.contentEncoding="binary";let{minimum:r,maximum:a,mime:s}=oe(e);r!==void 0&&(t.minLength=r),a!==void 0&&(t.maxLength=a),s&&(s.length===0?t.not={}:s.length===1?t.contentMediaType=s[0]:t.anyOf=s.map(u=>({contentMediaType:u})))},Nl=(e,n,i,o)=>{i.type="boolean"},zl=(e,n,i,o)=>{ie(e,n,i,o,"Custom types cannot be represented in JSON Schema")},Dl=(e,n,i,o)=>{ie(e,n,i,o,"Function types cannot be represented in JSON Schema")},Cl=(e,n,i,o)=>{ie(e,n,i,o,"Transforms cannot be represented in JSON Schema")},Ll=(e,n,i,o)=>{ie(e,n,i,o,"Map cannot be represented in JSON Schema")},jl=(e,n,i,o)=>{ie(e,n,i,o,"Set cannot be represented in JSON Schema")},Ul=(e,n,i,o)=>{let t=i,r=e._zod.def,{minimum:a,maximum:s}=oe(e);typeof a=="number"&&(t.minItems=a),typeof s=="number"&&(t.maxItems=s),t.type="array",t.items=J(r.element,n,{...o,path:[...o.path,"items"]})};function Pr(e){let n=e._zod.def;return n.type==="pipe"&&n.in._zod.traits.has("$ZodTransform")?Pr(n.out):n.type==="catch"?Pr(n.innerType):e._zod.optin}var Rl=(e,n,i,o)=>{let t=i,r=e._zod.def,a=r.shape;if(Object.getOwnPropertySymbols(a).length&&ie(e,n,t,o,"Symbol keys cannot be represented in JSON Schema"))return;t.type="object",t.properties={};for(let c in a)se(t.properties,c,J(a[c],n,{...o,path:[...o.path,"properties",c]}));let u=[];for(let c of Object.keys(a)){let d=r.shape[c];(n.io==="input"?Pr(d)===void 0:d._zod.optout===void 0)&&u.push(c)}u.length>0&&(t.required=u),r.catchall?._zod.def.type==="never"?t.additionalProperties=!1:r.catchall?r.catchall&&(t.additionalProperties=J(r.catchall,n,{...o,path:[...o.path,"additionalProperties"]})):n.io==="output"&&(t.additionalProperties=!1)},Oo=(e,n,i,o)=>{let t=e._zod.def,r=t.inclusive===!1,a=t.options.map((s,u)=>J(s,n,{...o,path:[...o.path,r?"oneOf":"anyOf",u]}));r?i.oneOf=a:i.anyOf=a},Ml=(e,n,i,o)=>{let t=e._zod.def,r=J(t.left,n,{...o,path:[...o.path,"allOf",0]}),a=J(t.right,n,{...o,path:[...o.path,"allOf",1]}),s=c=>"allOf"in c&&Object.keys(c).length===1,u=[...s(r)?r.allOf:[r],...s(a)?a.allOf:[a]];i.allOf=u,n.intersections.push(u)},Zl=(e,n,i,o)=>{let t=i,r=e._zod.def;t.type="array";let a=n.target==="draft-2020-12"?"prefixItems":"items",s=n.target==="draft-2020-12"||n.target==="openapi-3.0"?"items":"additionalItems",u=r.items.map((y,x)=>J(y,n,{...o,path:[...o.path,a,x]})),c=r.rest?J(r.rest,n,{...o,path:[...o.path,s,...n.target==="openapi-3.0"?[r.items.length]:[]]}):null,d=r.items.length;for(;d>0;){let y=r.items[d-1];if(!(n.io==="input"?Pr(y)!==void 0:y._zod.optout==="optional"))break;d--}let p=r.items.length,m=!r.rest;n.target==="draft-2020-12"?(t.prefixItems=u,m?t.items=!1:c&&(t.items=c),d>0&&(t.minItems=d),m&&(t.maxItems=p)):n.target==="openapi-3.0"?(t.items={anyOf:u},c&&t.items.anyOf.push(c),d>0&&(t.minItems=d),m&&(t.maxItems=p)):(t.items=u,m?t.additionalItems=!1:c&&(t.additionalItems=c),d>0&&(t.minItems=d),m&&(t.maxItems=p));let{minimum:f,maximum:g}=oe(e);typeof f=="number"&&(t.minItems=f),typeof g=="number"&&(t.maxItems=g)};function ml(e,n,i){if(n.$ref){if(i.has(n))return n;i.add(n);let g=e.get(n)?.def;if(!g)return n;let y=ml(e,g,i);return y===g?n:y}for(let g of["anyOf","oneOf"]){let y=n[g];if(!Array.isArray(y))continue;let x=y.map(I=>ml(e,I,i));x.some((I,b)=>I!==y[b])&&(n={...n,[g]:x})}let o=Array.isArray(n.type)?n.type:[n.type],t=!o.includes("string")&&o.some(g=>g==="number"||g==="integer"),r=n.enum??(n.const!==void 0?[n.const]:void 0);if(!t&&!r?.some(g=>typeof g=="number"))return n;let{minimum:a,maximum:s,exclusiveMinimum:u,exclusiveMaximum:c,multipleOf:d,format:p,id:m,...f}=n;return f.enum?f.enum=f.enum.map(g=>typeof g=="number"?String(g):g):typeof f.const=="number"&&(f.const=String(f.const)),t&&(f.type="string",r||(f.pattern=(o.includes("number")?qe:ir).source)),f}var fl=new WeakMap;function Dx(e){let n=new Map;for(let o of e.seen.values())o.def&&!n.has(o.schema)&&n.set(o.schema,o);let i=new Map;for(let o of fl.get(e)??[]){let t=e.seen.get(o),r=(t?.def??t?.schema)?.propertyNames;if(!r||r===!0||i.has(r))continue;let a=ml(n,r,new Set);a!==r&&i.set(r,a)}if(i.size)for(let o of e.seen.values())for(let t of[o.schema,o.def]){let r=t&&i.get(t.propertyNames);r&&(t.propertyNames=r)}}var Fl=(e,n,i,o)=>{let t=i,r=e._zod.def;t.type="object";let a=r.keyType,s=oe(a).patterns;if(r.mode==="loose"&&s&&s.size>0){let d=J(r.valueType,n,{...o,path:[...o.path,"patternProperties","*"]});t.patternProperties={};for(let p of s)se(t.patternProperties,bg(p).source,d)}else{if(n.target==="draft-07"||n.target==="draft-2020-12"){t.propertyNames=J(r.keyType,n,{...o,path:[...o.path,"propertyNames"]});let d=fl.get(n);d||(d=[],fl.set(n,d),n.deferred.push(()=>Dx(n))),d.push(e)}t.additionalProperties=J(r.valueType,n,{...o,path:[...o.path,"additionalProperties"]})}let u=a._zod.values,c=n.io==="input"&&Pr(r.valueType)!==void 0;if(u&&!r.partial&&!c){let d=[...u].filter(p=>typeof p=="string"||typeof p=="number");d.length>0&&(t.required=d.map(String))}},Vl=(e,n,i,o)=>{let t=e._zod.def,r=J(t.innerType,n,o),a=n.seen.get(e);n.target==="openapi-3.0"?(a.ref=t.innerType,i.nullable=!0):i.anyOf=[r,{type:"null"}]},Gl=(e,n,i,o)=>{let t=e._zod.def;J(t.innerType,n,o);let r=n.seen.get(e);r.ref=t.innerType},Bl=Symbol();function _g(e,n,i,o,t){let r=!1,a=JSON.stringify(e,(s,u)=>typeof u!="bigint"?u:(r=!0,null));return r?(ie(n,i,o,t,"BigInt defaults cannot be represented in JSON Schema"),Bl):JSON.parse(a)}var Hl=(e,n,i,o)=>{let t=e._zod.def;J(t.innerType,n,o);let r=n.seen.get(e);r.ref=t.innerType;let a=_g(t.defaultValue,e,n,i,o);a!==Bl&&(i.default=a)},Wl=(e,n,i,o)=>{let t=e._zod.def;J(t.innerType,n,o);let r=n.seen.get(e);if(r.ref=t.innerType,n.io!=="input")return;let a=_g(t.defaultValue,e,n,i,o);a!==Bl&&(i._prefault=a)},Kl=(e,n,i,o)=>{let t=e._zod.def;J(t.innerType,n,o);let r=n.seen.get(e);r.ref=t.innerType;let a;try{a=t.catchValue(void 0)}catch{ie(e,n,i,o,"Dynamic catch values are not supported in JSON Schema");return}i.default=a},Jl=(e,n,i,o)=>{let t=e._zod.def,r=t.in._zod.traits.has("$ZodTransform"),a=n.io==="input"?r?t.out:t.in:t.out;J(a,n,o);let s=n.seen.get(e);s.ref=a},Xl=(e,n,i,o)=>{let t=e._zod.def;J(t.innerType,n,o);let r=n.seen.get(e);r.ref=t.innerType,i.readOnly=!0},ql=(e,n,i,o)=>{let t=e._zod.def;J(t.innerType,n,o);let r=n.seen.get(e);r.ref=t.innerType},No=(e,n,i,o)=>{let t=e._zod.def;J(t.innerType,n,o);let r=n.seen.get(e);r.ref=t.innerType},Yl=(e,n,i,o)=>{let t=e._zod.innerType;J(t,n,o);let r=n.seen.get(e);r.ref=t},Ao={string:gl,number:hl,boolean:vl,bigint:yl,symbol:bl,null:_l,undefined:$l,void:kl,never:xl,any:wl,unknown:Il,date:Sl,enum:Pl,literal:Tl,nan:El,template_literal:Al,file:Ol,success:Nl,custom:zl,function:Dl,transform:Cl,map:Ll,set:jl,array:Ul,object:Rl,union:Oo,intersection:Ml,tuple:Zl,record:Fl,nullable:Vl,nonoptional:Gl,default:Hl,prefault:Wl,catch:Kl,pipe:Jl,readonly:Xl,promise:ql,optional:No,lazy:Yl};function zo(e,n){if("_idmap"in e){let o=e,t=ct({...n,processors:Ao}),r={};for(let u of o._idmap.entries()){let[c,d]=u;J(d,t)}let a={},s={registry:o,uri:n?.uri,defs:r};t.external=s;for(let u of o._idmap.entries()){let[c,d]=u;lt(t,d),se(a,c,dt(t,d))}if(Object.keys(r).length>0){let u=t.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[u]:r}}return{schemas:a}}let i=ct({...n,processors:Ao});return J(e,i),lt(i,e),dt(i,e)}var Do=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(n){this.ctx.counter=n}get seen(){return this.ctx.seen}constructor(n){let i=n?.target??"draft-2020-12";i==="draft-4"&&(i="draft-04"),i==="draft-7"&&(i="draft-07"),this.ctx=ct({processors:Ao,target:i,...n?.metadata&&{metadata:n.metadata},...n?.unrepresentable&&{unrepresentable:n.unrepresentable},...n?.override&&{override:n.override},...n?.io&&{io:n.io}})}process(n,i={path:[],schemaPath:[]}){return J(n,this.ctx,i)}emit(n,i){i&&(i.cycles&&(this.ctx.cycles=i.cycles),i.reused&&(this.ctx.reused=i.reused),i.external&&(this.ctx.external=i.external)),this.ctx.sharedDefsExtractedFor=void 0,this.ctx.sharedEmitDoneFor=void 0,lt(this.ctx,n);let o=dt(this.ctx,n),{"~standard":t,...r}=o;return r}};var $g={};var On={};Ke(On,{ZodAny:()=>_d,ZodArray:()=>wd,ZodBase64:()=>Qo,ZodBase64URL:()=>ea,ZodBigInt:()=>En,ZodBigIntFormat:()=>ra,ZodBoolean:()=>Tn,ZodCIDRv4:()=>qo,ZodCIDRv6:()=>Yo,ZodCUID:()=>Go,ZodCUID2:()=>Bo,ZodCatch:()=>Bd,ZodCodec:()=>jr,ZodCreditCard:()=>pd,ZodCustom:()=>Ur,ZodCustomStringFormat:()=>jt,ZodDate:()=>Or,ZodDefault:()=>Rd,ZodDiscriminatedUnion:()=>Sd,ZodE164:()=>ta,ZodEmail:()=>Mo,ZodEmoji:()=>Fo,ZodEnum:()=>In,ZodExactOptional:()=>sa,ZodFile:()=>Cd,ZodFunction:()=>tp,ZodGUID:()=>Zo,ZodIBAN:()=>md,ZodIPv4:()=>Jo,ZodIPv6:()=>Xo,ZodISODate:()=>mt,ZodISODateTime:()=>pt,ZodISODuration:()=>gt,ZodISOTime:()=>ft,ZodInstanceOf:()=>ip,ZodIntersection:()=>Pd,ZodJWT:()=>na,ZodKSUID:()=>Ko,ZodLazy:()=>Yd,ZodLiteral:()=>Dd,ZodMAC:()=>dd,ZodMap:()=>Nd,ZodNaN:()=>Wd,ZodNanoID:()=>Vo,ZodNever:()=>kd,ZodNonOptional:()=>ua,ZodNull:()=>yd,ZodNullable:()=>Ud,ZodNumber:()=>Pn,ZodNumberFormat:()=>Ut,ZodObject:()=>zr,ZodOptional:()=>Cr,ZodPipe:()=>Lr,ZodPrefault:()=>Zd,ZodPreprocess:()=>Kd,ZodPromise:()=>ep,ZodReadonly:()=>Jd,ZodRecord:()=>wn,ZodSet:()=>zd,ZodString:()=>Sn,ZodStringFormat:()=>X,ZodSuccess:()=>Gd,ZodSymbol:()=>hd,ZodTemplateLiteral:()=>qd,ZodTransform:()=>Ld,ZodTuple:()=>Ed,ZodType:()=>M,ZodULID:()=>Ho,ZodURL:()=>Ar,ZodUUID:()=>Ge,ZodUndefined:()=>vd,ZodUnion:()=>Dr,ZodUnknown:()=>$d,ZodVoid:()=>xd,ZodXID:()=>Wo,ZodXor:()=>Id,_ZodString:()=>Ro,_default:()=>Md,_function:()=>zh,any:()=>lh,array:()=>Nr,base64:()=>Gg,base64url:()=>Bg,bigint:()=>oh,boolean:()=>gd,catch:()=>Hd,check:()=>Dh,cidrv4:()=>Fg,cidrv6:()=>Vg,codec:()=>Eh,creditCard:()=>Wg,cuid:()=>Dg,cuid2:()=>Cg,currencyCode:()=>Qg,custom:()=>Ch,date:()=>ph,describe:()=>Lh,discriminatedUnion:()=>yh,e164:()=>Hg,email:()=>wg,emoji:()=>Ng,enum:()=>oa,exactOptional:()=>jd,file:()=>Ih,float32:()=>th,float64:()=>nh,function:()=>zh,guid:()=>Ig,hash:()=>eh,hex:()=>Yg,hostname:()=>qg,httpUrl:()=>Og,iban:()=>Kg,instanceof:()=>Uh,int:()=>jo,int32:()=>rh,int64:()=>ah,intersection:()=>Td,invertCodec:()=>Ah,ipv4:()=>Rg,ipv6:()=>Zg,json:()=>Mh,jwt:()=>Jg,keyof:()=>mh,ksuid:()=>Ug,lazy:()=>Qd,literal:()=>wh,looseObject:()=>hh,looseRecord:()=>_h,mac:()=>Mg,map:()=>$h,meta:()=>jh,nan:()=>Th,nanoid:()=>zg,nativeEnum:()=>xh,never:()=>ia,nonoptional:()=>Vd,null:()=>bd,nullable:()=>Er,nullish:()=>Sh,number:()=>fd,object:()=>fh,optional:()=>Ct,partialRecord:()=>bh,pipe:()=>Uo,prefault:()=>Fd,preprocess:()=>Zh,promise:()=>Nh,readonly:()=>Xd,record:()=>Od,refine:()=>np,set:()=>kh,strictObject:()=>gh,string:()=>Tr,stringFormat:()=>Xg,stringbool:()=>Rh,success:()=>Ph,superRefine:()=>rp,symbol:()=>uh,templateLiteral:()=>Oh,transform:()=>aa,tuple:()=>Ad,uint32:()=>ih,uint64:()=>sh,ulid:()=>Lg,undefined:()=>ch,union:()=>An,unknown:()=>Dt,url:()=>Ag,uuid:()=>Sg,uuidv4:()=>Pg,uuidv6:()=>Tg,uuidv7:()=>Eg,void:()=>dh,xid:()=>jg,xor:()=>vh});var Co={};Ke(Co,{endsWith:()=>mn,gt:()=>Fe,gte:()=>Ie,includes:()=>dn,length:()=>Nt,lowercase:()=>cn,lt:()=>Ze,lte:()=>we,maxLength:()=>Ot,maxSize:()=>ut,mime:()=>gn,minLength:()=>Ye,minSize:()=>Ve,multipleOf:()=>st,negative:()=>So,nonnegative:()=>To,nonpositive:()=>Po,normalize:()=>hn,overwrite:()=>Ce,positive:()=>Io,properties:()=>fn,property:()=>Eo,regex:()=>un,size:()=>At,slugify:()=>_n,startsWith:()=>pn,toLowerCase:()=>yn,toUpperCase:()=>bn,trim:()=>vn,uppercase:()=>ln});var kg=new WeakSet([Object.prototype,Error.prototype]);function Lo(e,n,i){Object.defineProperty(e,n,{configurable:!0,enumerable:!1,get(){let o=i(this);return Object.defineProperty(this,n,{value:o,configurable:!0,writable:!0}),o},set(o){Object.defineProperty(this,n,{value:o,configurable:!0,writable:!0})}})}var xg=(e,n)=>{Ya.init(e,n),e.name="ZodError";let i=Object.getPrototypeOf(e);kg.has(i)||(kg.add(i),Lo(i,"format",o=>t=>er(o,t)),Lo(i,"flatten",o=>t=>Qn(o,t)),Lo(i,"addIssue",o=>t=>{o.issues.push(t),o.message=JSON.stringify(o.issues,Wt,2)}),Lo(i,"addIssues",o=>t=>{o.issues.push(...t),o.message=JSON.stringify(o.issues,Wt,2)}),Object.defineProperty(i,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},Lx=h("ZodError",xg),xe=h("ZodError",xg,void 0,{Parent:Error});var Ql=Yt(xe),ed=Qt(xe),td=en(xe),nd=tn(xe),rd=li(xe),id=di(xe),od=pi(xe),ad=mi(xe),sd=fi(xe),ud=gi(xe),cd=hi(xe),ld=vi(xe);function Ux(){ae.localeError||te(Ji())}function Lt(){ae.memoizer||te({memoizer:yr()})}var M=h("ZodType",(e,n)=>(Ux(),U.init(e,n),e.def=n,e.type=n.type,e),{check(...e){let n=this.def;return this.clone(_.mergeDefs(n,{checks:[...n.checks??[],...e.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,n){return W(this,e,n)},brand(){return this},register(e,n){return e.add(this,n),this},refine(e,n){return this.check(np(e,n))},superRefine(e,n){return this.check(rp(e,n))},overwrite(e){return this.check(Ce(e))},optional(){return Ct(this)},exactOptional(){return jd(this)},nullable(){return Er(this)},nullish(){return Ct(Er(this))},nonoptional(e){return Vd(this,e)},array(){return Nr(this)},or(e){return An([this,e])},and(e){return Td(this,e)},transform(e){return Uo(this,aa(e))},default(e){return Md(this,e)},prefault(e){return Fd(this,e)},catch(e){return Hd(this,e)},pipe(e){return Uo(this,e)},readonly(){return Xd(this)},describe(e){let n=this.clone();return ue.add(n,{description:e}),n},meta(...e){if(e.length===0)return ue.get(this);let n=this.clone();return ue.add(n,e[0]),n},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...n){return n.length===0?e(this):e(this,...n)},get"~standard"(){return _.hide(this,"~standard",{...Ti(this),jsonSchema:{input:$n(this,"input"),output:$n(this,"output")}})},set"~standard"(e){_.own(this,"~standard",e)},parse:function e(n,i){return Ql(this,n,i,{callee:e})},parseAsync:async function e(n,i){return await ed(this,n,i,{callee:e})},safeParse(e,n){return td(this,e,n)},async safeParseAsync(e,n){return nd(this,e,n)},get spa(){return this?.safeParseAsync},set spa(e){_.own(this,"spa",e)},validate(e,n){return tr(this,e,n)},validateAsync(e,n){return nr(this,e,n)},encode:function e(n,i){return rd(this,n,i,{callee:e})},decode:function e(n,i){return id(this,n,i,{callee:e})},encodeAsync:async function e(n,i){return await od(this,n,i,{callee:e})},decodeAsync:async function e(n,i){return await ad(this,n,i,{callee:e})},safeEncode(e,n){return sd(this,e,n)},safeDecode(e,n){return ud(this,e,n)},async safeEncodeAsync(e,n){return cd(this,e,n)},async safeDecodeAsync(e,n){return ld(this,e,n)},toJSONSchema(e){return pl(this,{})(e)},get description(){return ue.get(this)?.description},get _def(){return this._zod.def}}),Ro=h("_ZodString",(e,n)=>{St.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>gl(e,i,o,t)},_.derived({format:e=>oe(e).format??null,minLength:e=>oe(e).minimum??null,maxLength:e=>oe(e).maximum??null},{regex(...e){return this.check(un(...e))},includes(...e){return this.check(dn(...e))},startsWith(...e){return this.check(pn(...e))},endsWith(...e){return this.check(mn(...e))},min(...e){return this.check(Ye(...e))},max(...e){return this.check(Ot(...e))},length(...e){return this.check(Nt(...e))},nonempty(...e){return this.check(Ye(1,...e))},lowercase(e){return this.check(cn(e))},uppercase(e){return this.check(ln(e))},trim(){return this.check(vn())},normalize(...e){return this.check(hn(...e))},toLowerCase(){return this.check(yn())},toUpperCase(){return this.check(bn())},slugify(){return this.check(_n())}})),Sn=h("ZodString",(e,n)=>{St.init(e,n),Ro.init(e,n)},{email(e){return this.check(ro(Mo,e))},url(e){return this.check($r(Ar,e))},jwt(e){return this.check(wo(na,e))},emoji(e){return this.check(co(Fo,e))},guid(e){return this.check(io(Zo,e))},uuid(e){return this.check(oo(Ge,e))},uuidv4(e){return this.check(ao(Ge,e))},uuidv6(e){return this.check(so(Ge,e))},uuidv7(e){return this.check(uo(Ge,e))},nanoid(e){return this.check(lo(Vo,e))},cuid(e){return this.check(po(Go,e))},cuid2(e){return this.check(mo(Bo,e))},ulid(e){return this.check(fo(Ho,e))},base64(e){return this.check($o(Qo,e))},base64url(e){return this.check(ko(ea,e))},xid(e){return this.check(go(Wo,e))},ksuid(e){return this.check(ho(Ko,e))},ipv4(e){return this.check(vo(Jo,e))},ipv6(e){return this.check(yo(Xo,e))},cidrv4(e){return this.check(bo(qo,e))},cidrv6(e){return this.check(_o(Yo,e))},e164(e){return this.check(xo(ta,e))},datetime(e){return this.check(kr(pt,e))},date(e){return this.check(xr(mt,e))},time(e){return this.check(wr(ft,e))},duration(e){return this.check(Ir(gt,e))}});function Tr(e){return Tc(Sn,e)}var X=h("ZodStringFormat",(e,n)=>{K.init(e,n),Ro.init(e,n)}),pt=h("ZodISODateTime",(e,n)=>{yu.init(e,n),X.init(e,n)}),mt=h("ZodISODate",(e,n)=>{bu.init(e,n),X.init(e,n)}),ft=h("ZodISOTime",(e,n)=>{_u.init(e,n),X.init(e,n)}),gt=h("ZodISODuration",(e,n)=>{$u.init(e,n),X.init(e,n)}),Mo=h("ZodEmail",(e,n)=>{su.init(e,n),X.init(e,n)});function wg(e){return ro(Mo,e)}var Zo=h("ZodGUID",(e,n)=>{ou.init(e,n),X.init(e,n)});function Ig(e){return io(Zo,e)}var Ge=h("ZodUUID",(e,n)=>{au.init(e,n),X.init(e,n)});function Sg(e){return oo(Ge,e)}function Pg(e){return ao(Ge,e)}function Tg(e){return so(Ge,e)}function Eg(e){return uo(Ge,e)}var Ar=h("ZodURL",(e,n)=>{lu.init(e,n),X.init(e,n)});function Ag(e){return $r(Ar,e)}function Og(e){return $r(Ar,{protocol:rr,hostname:$s,..._.normalizeParams(e)})}var Fo=h("ZodEmoji",(e,n)=>{du.init(e,n),X.init(e,n)});function Ng(e){return co(Fo,e)}var Vo=h("ZodNanoID",(e,n)=>{pu.init(e,n),X.init(e,n)});function zg(e){return lo(Vo,e)}var Go=h("ZodCUID",(e,n)=>{mu.init(e,n),X.init(e,n)});function Dg(e){return po(Go,e)}var Bo=h("ZodCUID2",(e,n)=>{fu.init(e,n),X.init(e,n)});function Cg(e){return mo(Bo,e)}var Ho=h("ZodULID",(e,n)=>{gu.init(e,n),X.init(e,n)});function Lg(e){return fo(Ho,e)}var Wo=h("ZodXID",(e,n)=>{hu.init(e,n),X.init(e,n)});function jg(e){return go(Wo,e)}var Ko=h("ZodKSUID",(e,n)=>{vu.init(e,n),X.init(e,n)});function Ug(e){return ho(Ko,e)}var Jo=h("ZodIPv4",(e,n)=>{ku.init(e,n),X.init(e,n)});function Rg(e){return vo(Jo,e)}var dd=h("ZodMAC",(e,n)=>{wu.init(e,n),X.init(e,n)});function Mg(e){return Ac(dd,e)}var Xo=h("ZodIPv6",(e,n)=>{xu.init(e,n),X.init(e,n)});function Zg(e){return yo(Xo,e)}var qo=h("ZodCIDRv4",(e,n)=>{Iu.init(e,n),X.init(e,n)});function Fg(e){return bo(qo,e)}var Yo=h("ZodCIDRv6",(e,n)=>{Su.init(e,n),X.init(e,n)});function Vg(e){return _o(Yo,e)}var Qo=h("ZodBase64",(e,n)=>{Pu.init(e,n),X.init(e,n)});function Gg(e){return $o(Qo,e)}var ea=h("ZodBase64URL",(e,n)=>{Tu.init(e,n),X.init(e,n)});function Bg(e){return ko(ea,e)}var ta=h("ZodE164",(e,n)=>{Eu.init(e,n),X.init(e,n)});function Hg(e){return xo(ta,e)}var pd=h("ZodCreditCard",(e,n)=>{Au.init(e,n),X.init(e,n)});function Wg(e){return Oc(pd,e)}var md=h("ZodIBAN",(e,n)=>{Ou.init(e,n),X.init(e,n)});function Kg(e){return Nc(md,e)}var na=h("ZodJWT",(e,n)=>{Nu.init(e,n),X.init(e,n)});function Jg(e){return wo(na,e)}var jt=h("ZodCustomStringFormat",(e,n)=>{zu.init(e,n),X.init(e,n)});function Xg(e,n,i={}){return zt(jt,e,n,i)}function qg(e){return zt(jt,"hostname",_s,e)}function Yg(e){return zt(jt,"hex",Cs,e)}function Qg(e){return zt(jt,"currency_code",xs,e)}function eh(e,n){let i=n?.enc??"hex",o=`${e}_${i}`,t=Te[o];if(!t)throw new Error(`Unrecognized hash format: ${o}`);return zt(jt,o,t,n)}var Pn=h("ZodNumber",(e,n)=>{Ui.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>hl(e,i,o,t),e.isFinite=!0},_.derived({minValue:e=>{let{minimum:n,exclusiveMinimum:i}=oe(e);return Math.max(n??Number.NEGATIVE_INFINITY,i??Number.NEGATIVE_INFINITY)},maxValue:e=>{let{maximum:n,exclusiveMaximum:i}=oe(e);return Math.min(n??Number.POSITIVE_INFINITY,i??Number.POSITIVE_INFINITY)},isInt:e=>{let{isInt:n,multipleOf:i}=oe(e);return!!n||!!i?.some(Number.isSafeInteger)},format:e=>oe(e).format??null},{gt(e,n){return this.check(Fe(e,n))},gte(e,n){return this.check(Ie(e,n))},min(e,n){return this.check(Ie(e,n))},lt(e,n){return this.check(Ze(e,n))},lte(e,n){return this.check(we(e,n))},max(e,n){return this.check(we(e,n))},int(e){return this.check(jo(e))},safe(e){return this.check(jo(e))},positive(e){return this.check(Fe(0,e))},nonnegative(e){return this.check(Ie(0,e))},negative(e){return this.check(Ze(0,e))},nonpositive(e){return this.check(we(0,e))},multipleOf(e,n){return this.check(st(e,n))},step(e,n){return this.check(st(e,n))},finite(){return this}}));function fd(e){return Dc(Pn,e)}var Ut=h("ZodNumberFormat",(e,n)=>{Du.init(e,n),Pn.init(e,n)});function jo(e){return Lc(Ut,e)}function th(e){return jc(Ut,e)}function nh(e){return Uc(Ut,e)}function rh(e){return Rc(Ut,e)}function ih(e){return Mc(Ut,e)}var Tn=h("ZodBoolean",(e,n)=>{pr.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>vl(e,i,o,t)});function gd(e){return Zc(Tn,e)}var En=h("ZodBigInt",(e,n)=>{Ri.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>yl(e,i,o,t)},_.derived({minValue:e=>oe(e).minimum??null,maxValue:e=>oe(e).maximum??null,format:e=>oe(e).format??null},{gte(e,n){return this.check(Ie(e,n))},min(e,n){return this.check(Ie(e,n))},gt(e,n){return this.check(Fe(e,n))},lt(e,n){return this.check(Ze(e,n))},lte(e,n){return this.check(we(e,n))},max(e,n){return this.check(we(e,n))},positive(e){return this.check(Fe(BigInt(0),e))},negative(e){return this.check(Ze(BigInt(0),e))},nonpositive(e){return this.check(we(BigInt(0),e))},nonnegative(e){return this.check(Ie(BigInt(0),e))},multipleOf(e,n){return this.check(st(e,n))}}));function oh(e){return Vc(En,e)}var ra=h("ZodBigIntFormat",(e,n)=>{Cu.init(e,n),En.init(e,n)});function ah(e){return Bc(ra,e)}function sh(e){return Hc(ra,e)}var hd=h("ZodSymbol",(e,n)=>{Lu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>bl(e,i,o,t)});function uh(e){return Wc(hd,e)}var vd=h("ZodUndefined",(e,n)=>{ju.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>$l(e,i,o,t)});function ch(e){return Kc(vd,e)}var yd=h("ZodNull",(e,n)=>{Uu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>_l(e,i,o,t)});function bd(e){return Jc(yd,e)}var _d=h("ZodAny",(e,n)=>{Ru.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>wl(e,i,o,t)});function lh(){return Xc(_d)}var $d=h("ZodUnknown",(e,n)=>{Mu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Il(e,i,o,t)});function Dt(){return qc($d)}var kd=h("ZodNever",(e,n)=>{Zu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>xl(e,i,o,t)});function ia(e){return Yc(kd,e)}var xd=h("ZodVoid",(e,n)=>{Fu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>kl(e,i,o,t)});function dh(e){return Qc(xd,e)}var Or=h("ZodDate",(e,n)=>{Vu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Sl(e,i,o,t),e.min=(i,o)=>e.check(Ie(i,o)),e.max=(i,o)=>e.check(we(i,o))},_.derived({minDate:e=>{let{minimum:n}=oe(e);return n?new Date(n):null},maxDate:e=>{let{maximum:n}=oe(e);return n?new Date(n):null}},{}));function ph(e){return el(Or,e)}var wd=h("ZodArray",(e,n)=>{Lt(),Bu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Ul(e,i,o,t),e.element=n.element},{min(e,n){return this.check(Ye(e,n))},nonempty(e){return this.check(Ye(1,e))},max(e,n){return this.check(Ot(e,n))},length(e,n){return this.check(Nt(e,n))},unwrap(){return this.element}});function Nr(e,n){return rl(wd,e,n)}function mh(e){let n=e._zod.def.shape;return oa(Object.keys(n))}var zr=h("ZodObject",(e,n)=>{Lt(),Hu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Rl(e,i,o,t),_.installLazyProp(e,"shape",i=>i._zod.def.shape,!1)},{keyof(){return oa(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(_.mergeDefs(this._zod.def,{catchall:e}))},passthrough(){return this.clone(_.mergeDefs(this._zod.def,{catchall:Dt()}))},loose(){return this.clone(_.mergeDefs(this._zod.def,{catchall:Dt()}))},strict(){return this.clone(_.mergeDefs(this._zod.def,{catchall:ia()}))},strip(){return this.clone(_.mergeDefs(this._zod.def,{catchall:void 0}))},extend(e){return _.extend(this,e)},safeExtend(e){return _.safeExtend(this,e)},merge(e){return _.merge(this,e)},pick(e){return _.pick(this,e)},omit(e){return _.omit(this,e)},partial(...e){return _.partial(Cr,this,e[0])},exactPartial(...e){return _.partial(sa,this,e[0],"exactPartial")},required(...e){return _.required(ua,this,e[0])}});function fh(e,n){let i={type:"object",shape:e??{},..._.normalizeParams(n)};return new zr(i)}function gh(e,n){return new zr({type:"object",shape:e,catchall:ia(),..._.normalizeParams(n)})}function hh(e,n){return new zr({type:"object",shape:e,catchall:Dt(),..._.normalizeParams(n)})}var Dr=h("ZodUnion",(e,n)=>{mr.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Oo(e,i,o,t),e.options=n.options});function An(e,n){return new Dr({type:"union",options:e,..._.normalizeParams(n)})}var Id=h("ZodXor",(e,n)=>{Dr.init(e,n),Wu.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Oo(e,i,o,t),e.options=n.options});function vh(e,n){return new Id({type:"union",options:e,inclusive:!1,..._.normalizeParams(n)})}var Sd=h("ZodDiscriminatedUnion",(e,n)=>{Dr.init(e,n),Ju.init(e,n)});function yh(e,n,i){return new Sd({type:"union",options:n,discriminator:e,..._.normalizeParams(i)})}var Pd=h("ZodIntersection",(e,n)=>{Xu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Ml(e,i,o,t)});function Td(e,n){return new Pd({type:"intersection",left:e,right:n})}var Ed=h("ZodTuple",(e,n)=>{Lt(),Mi.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Zl(e,i,o,t)},{rest(e){return this.clone({...this._zod.def,rest:e})},partial(){let e=this._zod.def;if(e.checks?.length)throw new Error(".partial() cannot be used on tuple schemas containing refinements");return this.clone({...e,items:e.items.map(n=>new Cr({type:"optional",innerType:n}))})}});function Ad(e,n,i){let o=n instanceof U,t=o?i:n,r=o?n:null;return new Ed({type:"tuple",items:e,rest:r,..._.normalizeParams(t)})}var wn=h("ZodRecord",(e,n)=>{Lt(),qu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Fl(e,i,o,t),e.keyType=n.keyType,e.valueType=n.valueType});function Od(e,n,i){return!n||!n._zod?new wn({type:"record",keyType:Tr(),valueType:e,..._.normalizeParams(n)}):new wn({type:"record",keyType:e,valueType:n,..._.normalizeParams(i)})}function bh(e,n,i){return new wn({type:"record",keyType:e,valueType:n,..._.normalizeParams(i),partial:!0})}function _h(e,n,i){return new wn({type:"record",keyType:e,valueType:n,mode:"loose",..._.normalizeParams(i)})}var Nd=h("ZodMap",(e,n)=>{Lt(),Yu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Ll(e,i,o,t),e.keyType=n.keyType,e.valueType=n.valueType,e.min=(...i)=>e.check(Ve(...i)),e.nonempty=i=>e.check(Ve(1,i)),e.max=(...i)=>e.check(ut(...i)),e.size=(...i)=>e.check(At(...i))});function $h(e,n,i){return new Nd({type:"map",keyType:e,valueType:n,..._.normalizeParams(i)})}var zd=h("ZodSet",(e,n)=>{Lt(),Qu.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>jl(e,i,o,t),e.min=(...i)=>e.check(Ve(...i)),e.nonempty=i=>e.check(Ve(1,i)),e.max=(...i)=>e.check(ut(...i)),e.size=(...i)=>e.check(At(...i))});function kh(e,n){return new zd({type:"set",valueType:e,..._.normalizeParams(n)})}var In=h("ZodEnum",(e,n)=>{ec.init(e,n),M.init(e,n),e._zod.processJSONSchema=(o,t,r)=>Pl(e,o,t,r),e.enum=n.entries,e.options=[...e._zod.values];let i=new Set(Object.keys(n.entries));e.extract=(o,t)=>{let r={};for(let a of o)if(i.has(a))r[a]=n.entries[a];else throw new Error(`Key ${a} not found in enum`);return new In({...n,checks:[],..._.normalizeParams(t),entries:r})},e.exclude=(o,t)=>{let r={...n.entries};for(let a of o)if(i.has(a))delete r[a];else throw new Error(`Key ${a} not found in enum`);return new In({...n,checks:[],..._.normalizeParams(t),entries:r})}});function oa(e,n){let i=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new In({type:"enum",entries:i,..._.normalizeParams(n)})}function xh(e,n){return new In({type:"enum",entries:e,..._.normalizeParams(n)})}var Dd=h("ZodLiteral",(e,n)=>{tc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Tl(e,i,o,t),e.values=new Set(n.values),Object.defineProperty(e,"value",{get(){if(n.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return n.values[0]}})});function wh(e,n){return new Dd({type:"literal",values:Array.isArray(e)?e:[e],..._.normalizeParams(n)})}var Cd=h("ZodFile",(e,n)=>{nc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Ol(e,i,o,t),e.min=(i,o)=>e.check(Ve(i,o)),e.max=(i,o)=>e.check(ut(i,o)),e.mime=(i,o)=>e.check(gn(Array.isArray(i)?i:[i],o))});function Ih(e){return il(Cd,e)}var Ld=h("ZodTransform",(e,n)=>{Lt(),rc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Cl(e,i,o,t),e._zod.parse=(i,o)=>{if(o.direction==="backward")throw new ot(e.constructor.name);i.addIssue=r=>{if(typeof r=="string")i.issues.push(_.issue(r,i.value,n));else{let a=r;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),"input"in a||(a.input=i.value),a.inst??(a.inst=e),i.issues.push(_.issue(a))}};let t=n.transform(i.value,i);return t instanceof Promise?t.then(r=>(i.value=r,i)):(i.value=t,i)}});function aa(e){return new Ld({type:"transform",transform:e})}var Cr=h("ZodOptional",(e,n)=>{Zi.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>No(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function Ct(e){return new Cr({type:"optional",innerType:e})}var sa=h("ZodExactOptional",(e,n)=>{ic.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>No(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function jd(e){return new sa({type:"optional",innerType:e})}var Ud=h("ZodNullable",(e,n)=>{oc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Vl(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function Er(e){return new Ud({type:"nullable",innerType:e})}function Sh(e){return Ct(Er(e))}var Rd=h("ZodDefault",(e,n)=>{ac.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Hl(e,i,o,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Md(e,n){return new Rd({type:"default",innerType:e,get defaultValue(){return typeof n=="function"?n():_.shallowClone(n)}})}var Zd=h("ZodPrefault",(e,n)=>{sc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Wl(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function Fd(e,n){return new Zd({type:"prefault",innerType:e,get defaultValue(){return typeof n=="function"?n():_.shallowClone(n)}})}var ua=h("ZodNonOptional",(e,n)=>{uc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Gl(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function Vd(e,n){return new ua({type:"nonoptional",innerType:e,..._.normalizeParams(n)})}var Gd=h("ZodSuccess",(e,n)=>{cc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Nl(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function Ph(e){return new Gd({type:"success",innerType:e})}var Bd=h("ZodCatch",(e,n)=>{lc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Kl(e,i,o,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Hd(e,n){return new Bd({type:"catch",innerType:e,catchValue:typeof n=="function"?n:_.constantCatch(n)})}var Wd=h("ZodNaN",(e,n)=>{dc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>El(e,i,o,t)});function Th(e){return nl(Wd,e)}var Lr=h("ZodPipe",(e,n)=>{Fi.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Jl(e,i,o,t),e.in=n.in,e.out=n.out});function Uo(e,n){return new Lr({type:"pipe",in:e,out:n})}var jr=h("ZodCodec",(e,n)=>{Lr.init(e,n),fr.init(e,n)});function Eh(e,n,i){return new jr({type:"pipe",in:e,out:n,transform:i.decode,reverseTransform:i.encode})}function Ah(e){let n=e._zod.def;return new jr({type:"pipe",in:n.out,out:n.in,transform:n.reverseTransform,reverseTransform:n.transform})}var Kd=h("ZodPreprocess",(e,n)=>{Lr.init(e,n),pc.init(e,n)}),Jd=h("ZodReadonly",(e,n)=>{mc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Xl(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function Xd(e){return new Jd({type:"readonly",innerType:e})}var qd=h("ZodTemplateLiteral",(e,n)=>{fc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Al(e,i,o,t)});function Oh(e,n){return new qd({type:"template_literal",parts:e,..._.normalizeParams(n)})}var Yd=h("ZodLazy",(e,n)=>{gr.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Yl(e,i,o,t),e.unwrap=()=>e._zod.def.getter()});function Qd(e){return new Yd({type:"lazy",getter:e})}var ep=h("ZodPromise",(e,n)=>{hc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>ql(e,i,o,t),e.unwrap=()=>e._zod.def.innerType});function Nh(e){return new ep({type:"promise",innerType:e})}var tp=h("ZodFunction",(e,n)=>{gc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>Dl(e,i,o,t)});function zh(e){return new tp({type:"function",input:Array.isArray(e?.input)?Ad(e?.input):e?.input??Nr(Dt()),output:e?.output??Dt()})}var Ur=h("ZodCustom",(e,n)=>{vc.init(e,n),M.init(e,n),e._zod.processJSONSchema=(i,o,t)=>zl(e,i,o,t)});function Dh(e){let n=new q({check:"custom"});return n._zod.check=e,n}function Ch(e,n){return ol(Ur,e??(()=>!0),n)}function np(e,n={}){return al(Ur,e,n)}function rp(e,n){return sl(e,n)}var Lh=ul,jh=cl,ip=h("ZodInstanceOf",(e,n)=>{Ur.init(e,n)},{properties(e,n){return this.check(fn(e,n))}});function Uh(e,n={}){let i=new ip({type:"custom",check:"custom",fn:o=>o instanceof e,abort:!0,..._.normalizeParams(n)});return i._zod.bag.Class=e,i._zod.check=o=>{o.value instanceof e||o.issues.push({code:"invalid_type",expected:e.name,input:o.value,inst:i,path:[...i._zod.def.path??[]]})},i}var Rh=(...e)=>ll({Codec:jr,Boolean:Tn,String:Sn},...e);function Mh(e){let n=Qd(()=>An([Tr(e),fd(),gd(),bd(),Nr(n),Od(Tr(),n)]));return n}function Zh(e,n){return new Kd({type:"pipe",in:aa(e),out:n})}var Rx={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function Mx(e){te({customError:e})}function Zx(){return te().customError}var op;op||(op={});var Rr={};Ke(Rr,{ZodISODate:()=>mt,ZodISODateTime:()=>pt,ZodISODuration:()=>gt,ZodISOTime:()=>ft,date:()=>Vx,datetime:()=>Fx,duration:()=>Bx,time:()=>Gx});function Fx(e){return kr(pt,e)}function Vx(e){return xr(mt,e)}function Gx(e){return wr(ft,e)}function Bx(e){return Ir(gt,e)}var P={...On,...Co,iso:Rr},Hx=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function Wx(e,n){let i=e.$schema;return i==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":i==="http://json-schema.org/draft-07/schema#"?"draft-7":i==="http://json-schema.org/draft-04/schema#"?"draft-4":n??"draft-2020-12"}function Fh(e,n){return e.map((i,o)=>oo).check(o=>{let t=o.value;if(typeof t!="object"||t===null||Array.isArray(t))return;let r=Object.getOwnPropertyNames(t);if(n.minProperties!==void 0&&r.length=${n.minProperties} properties`,input:t,inst:e,continue:!0}),n.maxProperties!==void 0&&r.length>n.maxProperties&&o.issues.push({origin:"object",code:"too_big",maximum:n.maxProperties,inclusive:!0,message:`Too big: expected object to have <=${n.maxProperties} properties`,input:t,inst:e,continue:!0}),n.keySchema)for(let a of r){let s=n.keySchema.safeParse(a);s.success||o.issues.push({code:"invalid_key",origin:"record",issues:s.error.issues,input:a,path:[a],continue:!0})}}).pipe(e)}function ap(e,n){if(e===null)return"z";let i=typeof e;if(i!=="object"){if(i==="number"&&Number.isNaN(e))return null;let o=String(e);return`${i[0]}${o.length}:${o}`}if(n.has(e))return null;n.add(e);try{if(Array.isArray(e)){let r=[];for(let a of e){let s=ap(a,n);if(s===null)return null;r.push(s)}return`a${r.length}:[${r.join(",")}]`}let o=Object.keys(e).sort(),t=[];for(let r of o){let a=ap(e[r],n);if(a===null)return null;t.push(`${r.length}:${r}=${a}`)}return`o${t.length}:{${t.join(",")}}`}finally{n.delete(e)}}var qx=new Set(["items","prefixItems","additionalItems","additionalProperties","contains","propertyNames","not","if","then","else","allOf","anyOf","oneOf","unevaluatedItems","unevaluatedProperties","contentSchema"]),Yx=new Set(["properties","patternProperties","dependentSchemas","dependencies","$defs","definitions"]);function Mr(e){return typeof e!="object"||e===null?!1:Array.isArray(e)?e.some(Mr):typeof e.$ref=="string"?!0:Object.entries(e).some(([n,i])=>qx.has(n)?Mr(i):!Yx.has(n)||typeof i!="object"||i===null?!1:Object.values(i).some(Mr))}function Vh(e){return e===1?"element":"elements"}function Qx(e,n){return P.transform(o=>o).check(o=>{let t=o.value;if(Array.isArray(t)){if(n.uniqueItems===!0){let r=new Map;for(let a=0;a=a)break;sn.maxContains&&o.issues.push({code:"custom",message:`Array must contain at most ${n.maxContains} matching ${Vh(n.maxContains)}`,input:t,continue:!0})}}}).pipe(e)}function Gh(e,n){if(e!==!1)return e===void 0||e===!0?P.any():he(e,n)}var ew=/^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$/;function Bh(e,n){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return P.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let t=e.$ref;if(n.refs.has(t))return n.refs.get(t);if(n.processing.has(t))return P.lazy(()=>{if(!n.refs.has(t))throw new Error(`Circular reference not resolved: ${t}`);return n.refs.get(t)});n.processing.add(t);let r=Jx(t,n),a=he(r,n);return n.refs.set(t,a),n.processing.delete(t),a}if(e.enum!==void 0){let t=e.enum;if(n.version==="openapi-3.0"&&e.nullable===!0&&t.length===1&&t[0]===null)return P.null();if(t.length===0)return P.never();if(t.length===1)return P.literal(t[0]);if(t.every(a=>typeof a=="string"))return P.enum(t);let r=t.map(a=>P.literal(a));return r.length<2?r[0]:P.union([r[0],r[1],...r.slice(2)])}if(e.const!==void 0)return P.literal(e.const);let i=e.type;if(Array.isArray(i)){let t=i.map(r=>{let a={...e,type:r};return Bh(a,n)});return t.length===0?P.never():t.length===1?t[0]:P.union(t)}if(!i)return P.any();let o;switch(i){case"string":{let t=P.string();if(e.format){let r=e.format;r==="email"?t=t.check(P.email()):r==="uri"||r==="uri-reference"?t=t.check(P.url()):r==="uuid"||r==="guid"?t=t.check(P.uuid()):r==="date-time"?t=t.check(P.iso.datetime({offset:!0})):r==="date"?t=t.check(P.iso.date()):r==="time"?t=t.check(P.regex(ew)):r==="duration"?t=t.check(P.iso.duration()):r==="hostname"?t=t.check(P.hostname()):r==="ipv4"?t=t.check(P.ipv4()):r==="ipv6"?t=t.check(P.ipv6()):r==="mac"?t=t.check(P.mac()):r==="cidr"?t=t.check(P.cidrv4()):r==="cidr-v6"?t=t.check(P.cidrv6()):r==="base64"?t=t.check(P.base64()):r==="base64url"?t=t.check(P.base64url()):r==="e164"?t=t.check(P.e164()):r==="credit_card"?t=t.check(P.creditCard()):r==="iban"?t=t.check(P.iban()):r==="jwt"?t=t.check(P.jwt()):r==="emoji"?t=t.check(P.emoji()):r==="nanoid"?t=t.check(P.nanoid()):r==="cuid"?t=t.check(P.cuid()):r==="cuid2"?t=t.check(P.cuid2()):r==="ulid"?t=t.check(P.ulid()):r==="xid"?t=t.check(P.xid()):r==="ksuid"&&(t=t.check(P.ksuid()))}typeof e.minLength=="number"&&(t=t.min(e.minLength)),typeof e.maxLength=="number"&&(t=t.max(e.maxLength)),e.pattern&&(t=t.regex(new RegExp(e.pattern))),o=t;break}case"number":case"integer":{let t=i==="integer"?P.number().int():P.number();typeof e.minimum=="number"&&e.exclusiveMinimum!==!0&&(t=t.min(e.minimum)),typeof e.maximum=="number"&&e.exclusiveMaximum!==!0&&(t=t.max(e.maximum)),typeof e.exclusiveMinimum=="number"?t=t.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(t=t.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?t=t.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(t=t.lt(e.maximum)),typeof e.multipleOf=="number"&&(t=t.multipleOf(e.multipleOf)),o=t;break}case"boolean":{o=P.boolean();break}case"null":{o=P.null();break}case"object":{let t={},r=e.properties||{},a=new Set(e.required||[]),s=typeof e.additionalProperties=="object"?he(e.additionalProperties,n):void 0;for(let[p,m]of Object.entries(r)){let f=he(m,n);se(t,p,a.has(p)?f:f.optional())}if(e.patternProperties){let p=e.patternProperties,m=Object.keys(p),f=[];for(let y of m){let x=he(p[y],n),I=P.string().regex(new RegExp(y));f.push(P.looseRecord(I,x))}let g=[];if(Object.keys(t).length>0&&g.push(P.object(t).passthrough()),g.push(...f),g.length===0)o=P.object({}).passthrough();else if(g.length===1)o=g[0];else{let y=P.intersection(g[0],g[1]);for(let x=2;xnew RegExp(b)),I=o;o=o.check(b=>{if(!Se(b.value))return;let T=[];for(let A of Object.keys(b.value))y.includes(A)||x.some(D=>D.test(A))||T.push(A);T.length&&b.issues.push({code:"unrecognized_keys",keys:T,input:b.value,inst:I})})}}else{let p=P.object(t);e.additionalProperties===!1?o=p.strict():s?o=p.catchall(s):o=p.passthrough()}let u=e.propertyNames!==void 0&&e.propertyNames!==!0,c=typeof e.minProperties=="number"?e.minProperties:void 0,d=typeof e.maxProperties=="number"?e.maxProperties:void 0;if(u||c!==void 0||d!==void 0){let p;if(u){let m=typeof e.propertyNames=="object"&&e.propertyNames.type===void 0?{type:"string",...e.propertyNames}:e.propertyNames;p=he(m,n)}o=Xx(o,{keySchema:p,minProperties:c,maxProperties:d})}break}case"array":{let t=e.prefixItems,r=e.items;if(t&&Array.isArray(t)){let a=typeof e.minItems=="number"?e.minItems:0,s=t.map(p=>he(p,n)),u=Fh(s,a),c=Array.isArray(r)?void 0:Gh(r,n),d=P.tuple(u);o=c?d.rest(c):d,typeof e.minItems=="number"&&(o=o.check(P.minLength(e.minItems))),typeof e.maxItems=="number"&&(o=o.check(P.maxLength(e.maxItems)))}else if(Array.isArray(r)){let a=typeof e.minItems=="number"?e.minItems:0,s=r.map(p=>he(p,n)),u=Fh(s,a),c=Gh(e.additionalItems,n),d=P.tuple(u);o=c?d.rest(c):d,typeof e.minItems=="number"&&(o=o.check(P.minLength(e.minItems))),typeof e.maxItems=="number"&&(o=o.check(P.maxLength(e.maxItems)))}else if(r!==void 0){let a=he(r,n),s=P.array(a);typeof e.minItems=="number"&&(s=s.min(e.minItems)),typeof e.maxItems=="number"&&(s=s.max(e.maxItems)),o=s}else o=P.array(P.any());(e.uniqueItems===!0||e.contains!==void 0)&&(o=Qx(o,{uniqueItems:e.uniqueItems===!0,containsSchema:e.contains!==void 0?he(e.contains,n):void 0,minContains:typeof e.minContains=="number"?e.minContains:void 0,maxContains:typeof e.maxContains=="number"?e.maxContains:void 0}));break}default:throw new Error(`Unsupported type: ${i}`)}return o}function he(e,n){if(typeof e=="boolean")return e?P.any():P.never();let i=Bh(e,n),o=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let s=e.anyOf.map(c=>he(c,n)),u=P.union(s);i=o?P.intersection(i,u):u}if(e.oneOf&&Array.isArray(e.oneOf)){let s=e.oneOf.map(c=>he(c,n)),u=P.xor(s);i=o?P.intersection(i,u):u}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)i=o?i:P.any();else{let s=o?i:he(e.allOf[0],n),u=o?0:1;for(let c=u;c0&&n.registry.add(i,t),e.description&&(i=i.describe(e.description)),i}function Hh(e,n){if(typeof e=="boolean")return e?P.any():P.never();let i;try{i=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let o=Wx(i,n?.defaultTarget),t=i.$defs||i.definitions||{},r={version:o,defs:t,refs:new Map,processing:new Set,rootSchema:i,registry:n?.registry??ue};return he(i,r)}var Wh=Symbol("z.visit/resolving");function Zr(e,n){let i=typeof n=="function"?n:(a,s)=>{let u=n[a._zod.def.type];return u?u(a,s):a},o=new Map;function t(a){let s=o.get(a);if(s===Wh)return new gr({type:"lazy",getter:()=>o.get(a)});if(s!==void 0)return s;o.set(a,Wh);let u=r(a),c=i(u,u!==a);return o.set(a,c),c}function r(a){let s=a._zod.def,u=s.type;switch(u){case"object":{let c=s.shape,d=Object.keys(c),p=!1,m={};for(let g of d){let y=t(c[g]);y!==c[g]&&(p=!0),m[g]=y}let f=s.catchall;return s.catchall&&(f=t(s.catchall),f!==s.catchall&&(p=!0)),p?W(a,{...s,shape:m,catchall:f}):a}case"array":{let c=t(s.element);return c===s.element?a:W(a,{...s,element:c})}case"tuple":{let c=s.items,d=!1,p=[];for(let f of c){let g=t(f);g!==f&&(d=!0),p.push(g)}let m=s.rest;return s.rest&&(m=t(s.rest),m!==s.rest&&(d=!0)),d?W(a,{...s,items:p,rest:m}):a}case"record":case"map":{let c=t(s.keyType),d=t(s.valueType);return c===s.keyType&&d===s.valueType?a:W(a,{...s,keyType:c,valueType:d})}case"set":{let c=t(s.valueType);return c===s.valueType?a:W(a,{...s,valueType:c})}case"union":{let c=s.options,d=!1,p=[];for(let m of c){let f=t(m);f!==m&&(d=!0),p.push(f)}return d?W(a,{...s,options:p}):a}case"intersection":{let c=t(s.left),d=t(s.right);return c===s.left&&d===s.right?a:W(a,{...s,left:c,right:d})}case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":{let c=t(s.innerType);return c===s.innerType?a:W(a,{...s,innerType:c})}case"pipe":{let c=t(s.in),d=t(s.out);return c===s.in&&d===s.out?a:W(a,{...s,in:c,out:d})}case"function":{let c=t(s.input),d=t(s.output);return c===s.input&&d===s.output?a:W(a,{...s,input:c,output:d})}case"lazy":{let c=s.getter,{_cachedInner:d,...p}=s;return W(a,{...p,getter:()=>t(c())})}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":return a;default:return a}}return t(e)}function Kh(e){return Zr(e,{object:n=>n.partial(),union:n=>{let i=n._zod.def;return i.discriminator===void 0?n:An(i.options)}})}function tw(e,n){if(!n?.length)return e;let i=e._zod.def;return W(e,ze(i,{checks:[...i.checks??[],...n]}),{parent:!0})}function Jh(e){return tw(e.out,e.checks)}function nw(e){return e.in._zod.traits.has("$ZodTransform")?Jh(e):e.in}function Xh(e){return Zr(e,{pipe:n=>nw(n._zod.def),default:(n,i)=>i?Ct(n._zod.def.innerType):n,catch:(n,i)=>i?n._zod.def.innerType:n})}function qh(e){return Zr(e,{pipe:n=>Jh(n._zod.def),prefault:(n,i)=>i?n._zod.def.innerType:n})}var sp={};Ke(sp,{bigint:()=>aw,boolean:()=>ow,date:()=>sw,number:()=>iw,string:()=>rw});function rw(e){return Ec(Sn,e)}function iw(e){return Cc(Pn,e)}function ow(e){return Fc(Tn,e)}function aw(e){return Gc(En,e)}function sw(e){return tl(Or,e)}var uw=new Set(["__proto__","prototype","constructor"]),Rt=l.string().min(1).max(256).refine(e=>!uw.has(e),"reserved storage key"),ca=l.json(),la=256*1024,cw=5*1024*1024,Yh=1024,Qh=l.strictObject({key:Rt}),ev=l.object({value:ca}),tv=l.strictObject({key:Rt,value:ca}),nv=l.object({ok:l.literal(!0)}),rv=l.strictObject({key:Rt}),iv=l.object({ok:l.literal(!0)}),ov=l.strictObject({}).optional(),av=l.object({keys:l.array(l.string()).max(Yh)}),sv=l.strictObject({key:Rt}),uv=l.object({value:l.string().nullable()}),cv=l.strictObject({key:Rt,value:l.string().max(64*1024)}),lv=l.object({ok:l.literal(!0)}),dv=l.strictObject({key:Rt}),pv=l.object({ok:l.literal(!0)}),mv=l.strictObject({}).optional(),fv=l.object({status:l.enum(["os-keyring","unavailable"])}),gv=l.strictObject({}).optional(),hv=l.object({settings:l.record(l.string(),ca)}),vv=l.strictObject({key:Rt,value:ca}),yv=l.object({ok:l.literal(!0)});var Nn="x-orca-enum-since";var et="1.4.160",up="1.4.245";var Fr="1.4.246";var bv=Fr,_v=Fr;var Le="1.4.248";var dw="Relative to the plugin root; `..` segments and Windows device names such as `CON` are refused.";function da(e,n,i){return ee(`${e} ${dw}`,n,i)}function ee(e,n,i){return i?{description:e,"x-orca-since":n,examples:[...i]}:{description:e,"x-orca-since":n}}var pw=/^(?:con|prn|aux|nul|clock\$|conin\$|conout\$|com[1-9\u00B9\u00B2\u00B3]|lpt[1-9\u00B9\u00B2\u00B3])(?:\..*)?$/i,mw=/[<>:"|?*]/,pa=String.raw`[^<>:"|?*\x00-\x1f\\/]*[^<>:"|?*\x00-\x1f\\/. ]`,cp=new RegExp(`^${pa}(?:[\\\\/]${pa})*$`),eN=new RegExp(`^${pa}(?:/${pa})*$`);function fw(e){return e.length===0||e==="."||e===".."?"empty and dot path segments are not allowed":e.endsWith(".")||e.endsWith(" ")?"path segments may not end with a dot or space":mw.test(e)||[...e].some(n=>n.charCodeAt(0)<=31)?"path segment contains a Windows-forbidden character or alternate-data-stream colon":pw.test(e)?"path segment is a Windows reserved device name":null}function gw(e){if(e.length===0||e.startsWith("/")||e.startsWith("\\"))return"must be a non-empty relative path";let n=e.split(/[\\/]/);for(let i of n){let o=fw(i);if(o)return o}return null}function lp(e){return gw(e)===null}var $v=/^[a-z0-9]+(?:-[a-z0-9]+)*$/,hw=new Set(["__proto__","prototype","constructor"]),dp=64;function kv(e){return hw.has(e)}var pp="must be a portable relative path inside the plugin directory",zn=l.string().max(dp).regex($v,"must be kebab-case (a-z, 0-9, dashes)").refine(e=>!kv(e),"must not be a reserved name"),ma=l.string().min(1).max(1024).regex(cp,pp).refine(e=>!cp.test(e)||lp(e),pp),uN=l.string().min(1).max(1024).transform(e=>e.replace(/[\\/]+$/,"")).refine(lp,pp),xv=l.string().min(1).max(256).regex(/^[A-Za-z0-9]+(?:[._-][A-Za-z0-9]+)*$/,"must be a portable command id");var vw="1.4.253",Vr=vw;var wv=8,yw=2*1024*1024,bw=8*1024*1024;var _w=/^[A-Za-z0-9](?:[A-Za-z0-9 _.-]{0,46}[A-Za-z0-9])?$/,$w=/^(?:[1-9]\d{0,2}|1000)(?: (?:[1-9]\d{0,2}|1000))?$/,kw=l.object({path:ma.regex(/\.woff2?$/i,"must be a .woff or .woff2 file").meta(da(`WOFF or WOFF2 file, at most ${yw/1024/1024} MB; its first bytes must match its extension. TTF, OTF and font collections are refused.`,Vr,["fonts/Geist-Variable.woff2"])),weight:l.string().regex($w,'must be a weight from 1 to 1000, or a range such as "100 900"').refine(e=>{let[n,i=n]=e.split(" ").map(Number);return n<=i},"must list the lower weight first").optional().meta(ee("CSS weight this file draws, or a range for a variable font. Defaults to `400`.",Vr,["400","100 900"])),style:l.enum(["normal","italic"]).optional().meta(ee("Whether this file is the italic face. Defaults to `normal`.",Vr))}).strict().meta({id:"FontFaceContribution",description:"One file of a font family."}),fN=l.object({family:l.string().regex(_w,"must be 1-48 ASCII letters, digits, spaces, dots, dashes or underscores").meta(ee("Family name shown in the font pickers. Orca adds the plugin id, so a plugin font never replaces an installed or built-in font of the same name.",Vr,["Geist"])),faces:l.array(kw).min(1).max(wv).meta(ee(`The family's files, at most ${wv}. All of a plugin's font files together may be at most ${bw/1024/1024} MB.`,Vr))}).strict().meta({id:"FontContribution",description:"A font family the user can pick for the terminal, editor or interface. It applies only once picked."});function Iv(e){return/ \([a-z0-9-]+\.[a-z0-9-]+\)$/i.test(e.trim())}var xw="Orca Nerd Font Symbols",ww=["SF Mono","Menlo","Monaco","Cascadia Mono","Consolas","DejaVu Sans Mono","Liberation Mono",xw,"Symbols Nerd Font Mono","MesloLGS Nerd Font","JetBrainsMono Nerd Font","Hack Nerd Font","monospace"];function Sv(e){let n=e.trim(),i=n?[`"${n}"`]:[],o=i.map(r=>r.toLowerCase()),t=Iv(n);for(let r of ww){let a=r.toLowerCase();(t||!o.some(s=>s.includes(a)))&&i.push(r==="monospace"?r:`"${r}"`)}return i.join(", ")}function Pv(e,n){let i=typeof e=="number"?e:Number.NaN;return Number.isFinite(i)?Math.min(900,Math.max(100,Math.round(i))):n}var Iw=["fira code","fira mono","jetbrains mono","jetbrainsmono","cascadia code","cascadia mono","iosevka","victor mono","hasklig","monoid","operator mono","dank mono","mononoki","pragmatapro","recursive","monolisa","commit mono","geist mono","maple mono","departure mono"];function Sw(e){if(!e)return!1;let n=e.split(",")[0]?.replace(/"/g,"").trim().toLowerCase()??"";return n?Iw.some(i=>n.includes(i)):!1}function Tv(e,n){return e==="on"?!0:e==="off"?!1:Sw(n)}function mp(e,n){return Math.max(8,Math.min(32,e+n))}function Ev(e,n){return mp(e-.5,n)}var Pw=10,Tw=24,Ew=1,Aw=3,Ow=8,Nw=400,zw=13;function Dw(e){return fp(e?.editorFontFamily)||Av(e?.terminalFontFamily)||"monospace"}function Av(e){return typeof e=="string"?e:""}function fp(e){return Av(e).trim()}function Cw(e){let n=fp(e?.editorFontFamily)||fp(e?.terminalFontFamily);return n.includes(",")?n:Sv(n)}function fa(e){return typeof e=="number"&&Number.isFinite(e)&&e>0}function Lw(e){let n=e?.editorFontSize;if(fa(n))return Math.min(Tw,Math.max(Pw,n));let i=e?.terminalFontSize;return fa(i)?i:zw}function jw(e,n){if(!fa(e))return;let i=e>=Ow?e/n:e;return Math.min(Aw,Math.max(Ew,i))}function Ov(e,n,i="editor"){let o=Lw(e),t=i==="diff"?Ev(o,n):mp(o,n),r=Dw(e),a=jw(e?.editorLineHeight,o);return{fontFamily:r,cssFontFamily:Cw(e),fontSize:t,fontWeight:fa(e?.editorFontWeight)?String(Pv(e.editorFontWeight,Nw)):"normal",lineHeight:a?Math.round(t*a):0,fontLigatures:Tv(Uw(e),r)}}function Uw(e){let n=e?.editorLigatures;return n==="on"||n==="auto"?n:"off"}function Nv(e){return e===!1?"off":"on"}function zv(e){return e?.editorMinimapEnabled??!1}var ce=["worker","panel","editor"],de=["worker"],Dn=["panel","editor"],G=e=>e;function Dv(e,n){return n==="worker"?e.since:Math.max(e.since,e.framesSince??0)}var Cv="1.4.256",ga=8*1024,gp=l.object({fontFamily:l.string().min(1).max(ga),cssFontFamily:l.string().min(1).max(ga),fontSize:l.number().finite().positive(),fontWeight:l.string().min(1).max(16),lineHeight:l.number().finite().nonnegative(),fontLigatures:l.boolean(),wordWrap:l.enum(["on","off"]),minimap:l.boolean()}).strict();function Lv(e,n){let i=typeof n=="number"&&Number.isFinite(n)?n:0,o=Ov(e,i,"editor");return{fontFamily:o.fontFamily.slice(0,ga),cssFontFamily:o.cssFontFamily.slice(0,ga),fontSize:o.fontSize,fontWeight:o.fontWeight,lineHeight:o.lineHeight,fontLigatures:o.fontLigatures,wordWrap:Nv(e?.editorWordWrap),minimap:zv(e)}}var jv={"editor.readTypography":G({summary:"The font family, size, weight, line height, ligatures, word wrap and minimap Orca's file editor uses now, editor zoom included. `editor.typography.changed` reports each change after.",since:6,scope:"desktop",capability:null,mutation:!1,surfaces:ce,params:l.strictObject({}).optional(),result:gp})};var ht=["workspace.created","workspace.removed","agent.status.changed","workspace.changed","editor.typography.changed"],CN=ht.length,Rw={"workspace.created":up,"workspace.removed":up,"agent.status.changed":et,"workspace.changed":_v,"editor.typography.changed":Cv},ha=new Map([["worktree.created","workspace.created"],["worktree.removed","workspace.removed"]]);var LN=l.object({on:l.enum(ht).meta({...ee("Event delivered to the plugin worker.",et),[Nn]:Rw})}).strict().meta({id:"EventContribution",description:"An event subscription. Requires `main`, the `trusted-worker` execution profile and the capability of the event's domain: `workspace:read` for workspace events, `agent:read` for agent events. Editor events need no capability."});var Mw=["success","failure","cancellation","superseded"],Uv=[...Mw,"interruption","unconfirmed"];var Cn=["working","blocked","waiting","done"];var rz=new Set(Cn);var vt=l.string().regex(/^[A-Za-z0-9_.:-]{1,128}$/,"is 1-128 letters, digits, or . _ : -");var va=12e4,sz=1024*1024,uz=256*1024;var Bw=l.object({id:l.string().min(1).max(64),surface:l.enum(["panel","editor"]),contributionId:l.string().min(1).max(256)}),cz=l.object({name:vt,input:l.unknown(),panel:Bw}),lz=l.object({event:vt,payload:l.unknown(),panel:l.string().min(1).max(64).optional()}),Rv=["storage","settings"],dz=l.object({area:l.enum(Rv),key:l.string().min(1).max(256)}),pz=l.discriminatedUnion("kind",[l.object({kind:l.literal("message"),event:vt,payload:l.unknown()}),l.object({kind:l.literal("event"),event:l.enum(ht),payload:l.unknown()}),l.object({kind:l.literal("changed"),area:l.enum(Rv),key:l.string()})]);var Hw=l.strictObject({name:vt,input:l.json().optional(),timeoutMs:l.number().int().min(1).max(va).optional()}),Ww=l.object({output:l.json()}),Kw=50,Jw=l.strictObject({}).optional(),Xw=l.object({agents:l.array(l.object({terminalId:l.string().min(1).max(1024).nullable(),title:l.string().max(512).nullable(),agent:l.string().max(128).nullable(),state:l.enum(Cn),stateStartedAt:l.number().finite()})).max(Kw)}),qw=l.strictObject({event:l.enum(ht)}),Yw=l.object({ok:l.literal(!0)}),Mv={"plugin.request":G({summary:"Asks the plugin's own worker to run the handler it registered with `orca.panels.handle(name)`, starting the worker if needed; resolves with what the handler returned. `unknown_method` when no handler has that name.",since:2,scope:"plugin-private",capability:null,mutation:!1,surfaces:Dn,params:Hw,result:Ww}),"agents.list":G({summary:"The agents in the focused workspace: their terminal, title, agent kind and status. `agent.status.changed` reports each change after.",since:2,scope:"active-workspace",capability:"agent:read",mutation:!1,surfaces:ce,params:Jw,result:Xw}),"events.subscribe":G({summary:"Delivers a workspace, agent or editor event to this panel as `orca.on(event)`; needs the event's read capability, when it has one. The frame APIs call it for you.",since:2,scope:"plugin-private",capability:null,mutation:!1,surfaces:Dn,params:qw,result:Yw})};var Qw=/[\p{Cc}\p{Cf}\p{Cs}\p{Zl}\p{Zp}]/u,eI=new Set(["‌","‍"]);function tI(e){return eI.has(e)||!Qw.test(e)}function Zv(e){return[...e].filter(tI).join("")}var nI=/[\t\n\v\f\r\u0085\u2028\u2029]+/g;function rI(e){return Zv(e.replace(nI," "))}function Gr(e){let n=e.overwrite(rI);return e.minLength?n.min(e.minLength,"must contain visible characters"):n}var L={maxNodes:5e3,maxDepth:64,maxTreeBytes:524288,maxTextLength:16384,maxLabelLength:1024,maxPropsPerNode:32,maxSelectOptions:500,maxEventArgs:8,maxCallbackIdLength:64,maxRadioOptions:50,maxTableColumns:32,maxTableRows:5e3,maxTreeItems:2e3,maxTreeItemDepth:16,maxKeyValueItems:200,maxDocumentLength:65536,maxEventArgItems:5e3},xz={maxBytes:640*1024,maxMessages:200,perMs:1e4,maxDepth:L.maxDepth*2+24,maxObjects:L.maxNodes*8+1024};var Be={render:"ui.render",event:"ui.event",error:"ui.error",ack:"ui.ack",ready:"ui.ready",hydrate:"ui.hydrate",visibility:"ui.visibility",persist:"ui.persist",retain:"ui.retain",snapshot:"ui.snapshot",restore:"ui.restore"};var iI={Input:{value:"value",change:"onChange"},Textarea:{value:"value",change:"onChange"},Switch:{value:"checked",change:"onChange"},Checkbox:{value:"checked",change:"onChange"},Select:{value:"value",change:"onChange"},RadioGroup:{value:"value",change:"onChange"},Slider:{value:"value",change:"onChange"},Tabs:{value:"value",change:"onChange"},Collapsible:{value:"open",change:"onChange"},Table:{value:"selected",change:"onSelectionChange"},Tree:{value:"selected",change:"onSelect"}},oI=new Map(Object.entries(iI));function hp(e){return oI.get(e)??null}var ya="$edit";var ba=/^[A-Za-z0-9_.:-]+$/,Fv=l.object({$callback:l.string().min(1).max(L.maxCallbackIdLength).regex(ba)}).strict(),Mt=["neutral","accent","success","warning","danger"],V=l.string().max(L.maxLabelLength),H=V.min(1),Y=Fv.optional(),je=l.string().regex(/^[a-z0-9-]{1,64}$/),Ee=l.enum(["none","xs","sm","md","lg"]).optional(),Br=l.enum(["start","center","end","stretch"]).optional(),tt=l.enum(Mt).optional(),_a=l.enum(["xs","sm","md"]).optional(),vp=l.enum(["solid","outline","ghost"]).optional(),N=l.boolean().optional(),Ln=l.string().max(L.maxTextLength),Hr=l.enum(["sm","md","lg","none"]).optional(),Zt=l.string().min(1).max(L.maxLabelLength),ve={[ya]:l.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER).optional()};function R(e,n){return{props:e,children:n}}var yt=["activity","bar-chart-3","bell","blocks","book","bot","bug","calendar","cloud","code","database","file-text","flag","folder","gauge","globe","hammer","layers","lightbulb","package","plug","puzzle","rocket","star","terminal","wrench","zap","add","remove","delete","edit","refresh","search","settings","check","close","info","warning","error","open-external","copy","download","upload","play","pause","stop","more","expand","collapse","next","filter","branch","file","agent","link"],aI=Object.fromEntries(yt.slice(yt.indexOf("add")).map(e=>[e,Fr])),Cz=new Map(yt.map(e=>[e.replaceAll("-",""),e]));var sI=["html","components"],uI=/\.(?:m?js|tsx?|mts|jsx)$/i,Lz=l.object({id:zn.meta(ee("Panel id, unique among this plugin's panels. The reserved names `constructor` and `prototype` are refused.",et,["dashboard"])),title:Gr(l.string().min(1).max(256)).meta(ee("Title shown on the panel tab and its tooltip.",et,["Dashboard"])),icon:l.enum(yt).optional().meta({...ee("Icon shown in the right-sidebar activity bar. Defaults to `plug`.",et,["database"]),[Nn]:aI}),entry:ma.meta(da(`What the panel runs: an HTML page for \`ui: "html"\`, a \`.js\`/\`.mjs\` module for \`ui: "components"\`. Either may instead be a \`.ts\`/\`.tsx\`/\`.mts\`/\`.jsx\` file, which Orca transpiles when it loads (needs \`engines.orca\` \`>=${bv}\`; an \`html\` panel then gets a generated page around it). It is trusted code: install panels you trust.`,et,["dist/panel.html"])),ui:l.enum(sI).optional().meta(ee("How the panel draws its UI. `html` (default) shows `entry` as a web page in an isolated frame; `components` runs `entry` as a hidden module and Orca draws the component tree it returns with its own controls.",Fr,["components"]))}).strict().refine(e=>e.ui!=="components"||uI.test(e.entry),{path:["entry"],message:"a components panel entry must be a .js, .mjs, .ts, .tsx, .mts or .jsx module"}).meta({id:"PanelContribution",description:"A sidebar panel. Requires the `sandboxed-ui` execution profile or higher."});var cI="1.4.248";var lI=64,dI=256,jn=cI,Vv={text:Gr(l.string().max(lI)).optional().meta(ee("Short label shown in the status bar.",jn,["3 blocked"])),icon:l.enum(yt).optional().meta(ee("Icon shown before the text, from the panel icon set.",jn,["bell"])),tone:l.enum(Mt).optional().meta(ee("Colour of the item. Defaults to `neutral`.",jn,["warning"])),tooltip:Gr(l.string().max(dI)).optional().meta(ee("Shown on hover. Defaults to the plugin name.",jn))},Gz=l.object({id:zn.meta(ee("Item id, unique among this plugin's status bar items; `statusBar.update` names it.",jn,["blocked-count"])),...Vv,command:xv.optional().meta(ee("Id of a command this plugin contributes in `contributes.commands`, run when the item is pressed.",jn,["guard.showLog"]))}).strict().meta({id:"StatusBarItemContribution",description:"An item in the status bar. Requires the `declarative` profile; a `trusted-worker` can change it with `statusBar.update`."}),Gv=l.strictObject({...Vv,visible:l.boolean().optional()});var pI=l.strictObject({id:zn,...Gv.shape}),mI=l.object({ok:l.literal(!0)}),Bv={"statusBar.update":G({summary:"Changes one of the plugin's `contributes.statusBarItems` (named by `id`): fields given replace their current value, `visible: false` hides it. Desktop app only; lasts until Orca restarts, and is hidden while the plugin is disabled. A plugin with `main` and status bar items has its worker started when it is enabled and kept running while it stays enabled, so a worker can poll and update its items without an event or a hook.",since:2,scope:"plugin-private",capability:null,mutation:!1,surfaces:de,params:pI,result:mI})};function yp(e){return e==="linux"?"orca-ide":e==="win32"?"orca.cmd":"orca"}function fI(e){return{...e,launchCmd:e.launchCmd??e.detectCmd,expectedProcess:e.expectedProcess??e.detectCmd}}var gI={claude:{detectCmd:"claude",promptInjectionMode:"argv",pasteNeedsTypedRequest:!0,draftPromptFlag:"--prefill",preflightTrust:"claude",draftPasteReadySignal:"claude-composer-prompt",workerStartReadsComposerMarker:!0,ctrlEnterEncoding:"csi-u"},"claude-agent-teams":{detectCmd:"orca",detectCmdAliases:["orca-dev","orca-ide"],detectRequiredCommands:["claude"],detectUnsupportedRuntimes:["win32","wsl"],launchCmd:"orca claude-teams",launchCmdByPlatform:{linux:`${yp("linux")} claude-teams`,win32:`${yp("win32")} claude-teams`},expectedProcess:"claude",promptInjectionMode:"stdin-after-start",pasteNeedsTypedRequest:!0,preflightTrust:"claude",draftPasteReadySignal:"claude-composer-prompt",workerStartReadsComposerMarker:!0,ctrlEnterEncoding:"csi-u"},codebuddy:{detectCmd:"codebuddy",detectCmdAliases:["cbc"],promptInjectionMode:"argv"},openclaude:{detectCmd:"openclaude",promptInjectionMode:"argv",draftPromptFlag:"--prefill"},codex:{detectCmd:"codex",promptInjectionMode:"argv",windowsInputRecordPasteNewline:"alt-enter",preflightTrust:"codex",draftPasteReadySignal:"codex-composer-prompt",draftPasteReadyTimeoutMs:2e4,submitRetryDelayMs:1200},autohand:{detectCmd:"autohand",promptInjectionMode:"stdin-after-start"},ante:{detectCmd:"ante",promptInjectionMode:"stdin-after-start"},trae:{detectCmd:"traecli",promptInjectionMode:"argv",argvPromptSeparator:"--"},opencode:{detectCmd:"opencode",promptInjectionMode:"flag-prompt",draftPasteReadySignal:"render-cursor-after-bracketed-paste",submitPasteReadySignal:"opencode-agent-row",draftPasteReadyTimeoutMs:2e4,ctrlEnterEncoding:"csi-u",composerReadyCaptures:["opencode-1-18-32-timed-boot-slow","opencode-1-18-32-timed-boot-hidden-pane","opencode-1-18-32-timed-first-launch","opencode-cmd-2-0-21-timed-warm-server"]},opencode2:{detectCmd:"opencode2",launchCmd:"opencode2 --standalone",promptInjectionMode:"flag-prompt",draftPasteReadySignal:"render-cursor-after-bracketed-paste",submitPasteReadySignal:"opencode-agent-row",draftPasteReadyTimeoutMs:2e4,composerReadyCaptures:["opencode-2-0-18-timed-boot-hidden-pane","opencode-2-0-21-timed-cold-standalone","opencode-2-0-21-timed-cold-standalone-hidden-pane","opencode-2-0-21-timed-natural-load-enter-dropped","opencode-2-0-14-timed-cold-standalone"]},"mimo-code":{detectCmd:"mimo",promptInjectionMode:"flag-prompt",draftPasteReadySignal:"render-cursor-after-bracketed-paste"},pi:{detectCmd:"pi",promptInjectionMode:"argv",draftPromptEnvVar:"ORCA_PI_PREFILL",windowsShiftEnterEncoding:"csi-u"},omp:{detectCmd:"omp",promptInjectionMode:"argv",draftPromptEnvVar:"ORCA_OMP_PREFILL",windowsShiftEnterEncoding:"csi-u"},"prime-agent":{detectCmd:"prime-agent",promptInjectionMode:"argv",argvPromptSeparator:"--",windowsShiftEnterEncoding:"csi-u"},qoder:{detectCmd:"qodercli",detectCmdAliases:["qoder"],promptInjectionMode:"flag-prompt-interactive",preflightTrust:"qoder"},"qoder-cn":{detectCmd:"qoderclicn",detectCmdAliases:["qodercn"],promptInjectionMode:"flag-prompt-interactive",preflightTrust:"qoder-cn"},gemini:{detectCmd:"gemini",promptInjectionMode:"flag-prompt-interactive"},antigravity:{detectCmd:"agy",promptInjectionMode:"flag-prompt-interactive",preflightTrust:"antigravity",draftPasteReadySignal:"antigravity-composer-prompt",draftPasteReadyTimeoutMs:2e4,submitLineSettleMsPerLine:45},aider:{detectCmd:"aider",promptInjectionMode:"stdin-after-start"},goose:{detectCmd:"goose",promptInjectionMode:"stdin-after-start"},amp:{detectCmd:"amp",promptInjectionMode:"stdin-after-start"},kilo:{detectCmd:"kilo",promptInjectionMode:"stdin-after-start"},kiro:{detectCmd:"kiro-cli",launchCmd:"kiro-cli chat --tui",promptInjectionMode:"stdin-after-start"},crush:{detectCmd:"crush",promptInjectionMode:"stdin-after-start"},aug:{detectCmd:"auggie",promptInjectionMode:"stdin-after-start"},cline:{detectCmd:"cline",promptInjectionMode:"stdin-after-start"},freebuff:{detectCmd:"freebuff",promptInjectionMode:"stdin-after-start"},codebuff:{detectCmd:"codebuff",promptInjectionMode:"stdin-after-start"},"command-code":{detectCmd:"command-code",launchCmd:"command-code --trust",promptInjectionMode:"argv"},continue:{detectCmd:"cn",promptInjectionMode:"stdin-after-start"},cursor:{detectCmd:"cursor-agent",promptInjectionMode:"argv",preflightTrust:"cursor"},droid:{detectCmd:"droid",promptInjectionMode:"argv",windowsShiftEnterEncoding:"csi-u",ctrlEnterEncoding:"csi-u"},kimi:{preflightTrust:"kimi",detectCmd:"kimi",detectCmdAliases:["kimi-code"],promptInjectionMode:"stdin-after-start"},"mistral-vibe":{detectCmd:"vibe",detectCmdAliases:["mistral-vibe"],promptInjectionMode:"stdin-after-start"},"qwen-code":{detectCmd:"qwen",promptInjectionMode:"stdin-after-start",submitRetryDelayMs:1200},rovo:{detectCmd:"acli",launchCmd:"acli rovodev run",promptInjectionMode:"stdin-after-start"},hermes:{detectCmd:"hermes",launchCmd:"hermes --tui",promptInjectionMode:"hermes-query"},openclaw:{detectCmd:"openclaw",promptInjectionMode:"stdin-after-start"},copilot:{detectCmd:"copilot",promptInjectionMode:"flag-interactive",preflightTrust:"copilot",draftPasteReadySignal:"copilot-composer-prompt"},grok:{detectCmd:"grok",promptInjectionMode:"argv",argvPromptSeparator:"--",draftPasteReadySignal:"grok-composer-prompt",ctrlEnterEncoding:"csi-u"},muse:{detectCmd:"muse",launchCmd:"muse --trust-workspace",promptInjectionMode:"stdin-after-start"},dsh:{detectCmd:"dsh-tui",detectCmdAliases:["dst"],detectRequiredCommands:["dsh"],launchCmd:"dsh-tui .",expectedProcess:"dsh",promptInjectionMode:"stdin-after-start",draftPasteReadySignal:"dsh-composer-prompt",submitRetryDelayMs:1e3,submitRetryBudgetMs:3e4},zcode:{detectCmd:"zcode",expectedProcess:"zcode-cli",promptInjectionMode:"stdin-after-start",draftPasteReadySignal:"zcode-composer-prompt",composerReadyCaptures:["zcode-composer-ready"]},devin:{detectCmd:"devin",promptInjectionMode:"argv",argvPromptSeparator:"--"},jcode:{detectCmd:"jcode",launchCmd:"jcode",expectedProcess:"jcode",promptInjectionMode:"stdin-after-start"}},hI=Object.fromEntries(Object.entries(gI).map(([e,n])=>[e,fI(n)]));function Hv(e){return typeof e=="string"&&Object.hasOwn(hI,e)}var bp=["worktree.history.back","worktree.history.forward","sidebar.left.toggle","sidebar.sleepingWorkspaces.toggle","floatingWorkspace.maximize","tab.rename","workspace.rename","workspace.openBoard","view.tasks","sidebar.right.toggle","sidebar.explorer.toggle","sidebar.search.toggle","sidebar.sourceControl.toggle","sidebar.checks.toggle","sidebar.ports.toggle"];var aD=new Set(bp);var vI=500,_p=2e3,Wr=1024,Wv=4096,Un=l.string().min(1).max(Wr),$p=l.string().min(1).max(Wr),yI=l.strictObject({}).optional(),bI=l.object({workspaces:l.array(l.object({id:Un,kind:l.enum(["worktree","folder"]),name:l.string().max(512),project:l.string().max(512).nullable().optional(),path:l.string().max(Wr),branch:l.string().max(512).nullable(),hostId:l.string().max(Wr).nullable()})).max(vI),truncated:l.boolean()}),_I=l.strictObject({workspaceId:Un}),$I=l.object({opened:l.literal(!0)}),kI=200,xI=[[0,31],[127,159],[173,173],[847,847],[1564,1564],[4447,4448],[6068,6069],[6155,6159],[8203,8207],[8232,8238],[8288,8303],[10240,10240],[12644,12644],[65024,65039],[65279,65279],[65440,65440],[65520,65531],[119155,119162],[917504,921599]],wI=e=>{let n=e.codePointAt(0)??0;return xI.some(([i,o])=>n>=i&&n<=o)},II=l.strictObject({workspaceId:Un,name:l.string().max(kI).refine(e=>e.trim().length>0,"name must not be blank").refine(e=>![...e].some(wI),"name must be one line of plain text")}),SI=l.object({name:l.string()}),PI=l.strictObject({workspaceId:Un,title:l.string().min(1).max(512).optional(),command:l.string().min(1).max(Wv).optional()}),TI=l.object({terminalId:$p}),EI=l.strictObject({terminalId:$p,maxLines:l.number().int().min(1).max(_p).optional()}),AI=l.object({lines:l.array(l.string()).max(_p),truncated:l.boolean()}),OI=l.strictObject({workspaceId:Un,agent:l.string().min(1).max(64).refine(Hv,"unknown agent"),prompt:l.string().min(1).max(Wv).optional()}),NI=l.object({terminalId:$p});function zI(e){let n=e.split(/[\\/]/);return!/^[a-z]:/i.test(e)&&n[0]!==""&&n.every(i=>i!=="..")&&n.some(i=>i!==""&&i!==".")}var DI=l.strictObject({workspaceId:Un,path:l.string().min(1).max(Wr).refine(zI,"path must be relative and inside the workspace")}),CI=l.object({opened:l.literal(!0)}),LI=l.strictObject({action:l.enum(bp)}),jI=l.object({ran:l.literal(!0)}),Kv={"workspace.list":G({summary:"Lists every workspace, Git worktrees and folders, on every host Orca reaches.",since:3,scope:"any-workspace",capability:"workspace:read",mutation:!1,surfaces:de,params:yI,result:bI}),"workspace.open":G({summary:"Shows a workspace in Orca, as clicking it in the sidebar does; a folder workspace needs the desktop app.",since:3,scope:"any-workspace",capability:"workspace:write",mutation:!0,surfaces:de,params:_I,result:$I}),"workspace.rename":G({summary:"Renames a workspace in Orca's sidebar, as renaming it by hand does; the name stays until it is renamed again.",since:5,scope:"any-workspace",capability:"workspace:write",mutation:!0,surfaces:de,params:II,result:SI}),"terminal.create":G({summary:"Opens a terminal in a workspace, optionally running a command, in the background.",since:3,scope:"any-workspace",capability:"terminal:send",mutation:!0,surfaces:de,params:PI,result:TI}),"terminal.read":G({summary:`Reads a terminal's newest output as plain text, at most ${_p} lines.`,since:3,scope:"explicit-terminal",capability:"terminal:read",mutation:!1,surfaces:de,params:EI,result:AI}),"agent.launch":G({summary:"Starts an agent's CLI in a new terminal of a workspace, in the background, and returns as soon as it starts; a `prompt` is sent once the agent is ready.",since:3,scope:"any-workspace",capability:"agent:launch",mutation:!0,surfaces:de,params:OI,result:NI}),"editor.open":G({summary:"Opens a file of a workspace in an editor tab of Orca's window; desktop app only. `workspace.open` shows the workspace.",since:3,scope:"any-workspace",capability:"workspace:write",mutation:!0,surfaces:de,params:DI,result:CI}),"commands.run":G({summary:"Runs one of Orca's built-in actions in its window, never a plugin's replacement of it; desktop app only.",since:3,scope:"desktop",capability:"workspace:write",mutation:!0,surfaces:de,params:LI,result:jI})};var kp=l.string().regex(/^[a-f0-9]{64}$/),Jv=l.string().min(1).max(16*1024),UI=l.strictObject({expectedRevision:kp,app:Jv,terminal:Jv}),Xv={"appearance.read":G({summary:"Reads the current desktop appearance revision for a conditional update.",since:4,scope:"desktop",capability:"appearance:write",mutation:!1,surfaces:de,params:l.strictObject({}).optional(),result:l.strictObject({revision:kp})}),"appearance.apply":G({summary:"Publishes owned app/editor and terminal colors and selects them in the desktop. Returns publication, not renderer acknowledgement.",since:4,scope:"desktop",capability:"appearance:write",mutation:!0,surfaces:de,params:UI,result:l.strictObject({revision:kp,themeId:l.templateLiteral(["plugin:",l.string()]),mode:l.enum(["dark","light"]),delivery:l.literal("published")})})};var qv={...Bv,...Xv,...Kv};var RI=4096,MI=50,Kr=512,nt=1024,ZI=l.strictObject({}).optional(),xp=l.object({branch:l.string().max(Kr),displayName:l.string().max(Kr),terminals:l.array(l.object({id:l.string().min(1).max(nt),title:l.string().max(Kr).optional()}).strict()).max(MI)}).strict().nullable(),FI=l.strictObject({terminalId:l.string().min(1).max(nt),text:l.string().min(1).max(RI),enter:l.boolean().default(!1)}),VI=l.object({accepted:l.boolean()}),GI=l.strictObject({title:l.string().min(1).max(120),body:l.string().max(1e3).optional()}),BI=l.object({delivered:l.boolean()}),wp={openExternal:"shell.openExternal",saveAs:"files.saveAs"},HI=8192,WI=["http:","https:","mailto:"],Yv=64*1024*1024,KI=l.strictObject({url:l.string().min(1).max(HI).refine(QI,"url must be an http:, https: or mailto: URL")}),JI=l.object({opened:l.boolean(),reason:l.enum(["cancelled","consent-unavailable"]).optional()}),XI=l.union([l.string().max(Yv),l.custom(e=>e instanceof ArrayBuffer||e instanceof Uint8Array,"data must be a string or ArrayBuffer").refine(e=>e.byteLength<=Yv,"data exceeds 64 MiB").meta({type:"ArrayBuffer"})]),qI=l.strictObject({suggestedName:l.string().min(1).max(255).optional(),mimeType:l.string().min(1).max(255).optional(),data:XI}),YI=l.object({status:l.enum(["saved","cancelled"])});function QI(e){try{return WI.includes(new URL(e).protocol)}catch{return!1}}var Ft={"workspace.readContext":G({summary:"Branch, name and terminal ids of the focused workspace, or null when none is focused.",since:0,scope:"active-workspace",capability:"workspace:read",mutation:!1,surfaces:ce,params:ZI,result:xp}),"terminal.sendText":G({summary:"Types text into one terminal named by id, optionally pressing Enter.",since:0,scope:"explicit-terminal",capability:"terminal:send",mutation:!0,surfaces:de,params:FI,result:VI}),"notifications.show":G({summary:"Shows a desktop notification.",since:0,scope:"desktop",capability:"notifications:show",mutation:!0,surfaces:ce,params:GI,result:BI}),"storage.get":G({summary:"Reads a JSON value from the plugin's private store; null when absent.",since:0,scope:"plugin-private",capability:"storage:own",mutation:!1,framesSince:2,surfaces:ce,params:Qh,result:ev}),"storage.set":G({summary:"Writes a JSON value to the plugin's private store.",since:0,scope:"plugin-private",capability:"storage:own",mutation:!0,framesSince:2,surfaces:ce,params:tv,result:nv}),"storage.delete":G({summary:"Removes a key from the plugin's private store.",since:0,scope:"plugin-private",capability:"storage:own",mutation:!0,framesSince:2,surfaces:ce,params:rv,result:iv}),"storage.keys":G({summary:"Lists the keys in the plugin's private store.",since:0,scope:"plugin-private",capability:"storage:own",mutation:!1,framesSince:2,surfaces:ce,params:ov,result:av}),"secrets.get":G({summary:"Reads a secret from the plugin's encrypted secrets file; null when absent.",since:0,scope:"plugin-private",capability:"secrets:own",mutation:!1,framesSince:2,surfaces:ce,params:sv,result:uv}),"secrets.set":G({summary:"Stores a secret in the plugin's encrypted secrets file.",since:0,scope:"plugin-private",capability:"secrets:own",mutation:!0,framesSince:2,surfaces:ce,params:cv,result:lv}),"secrets.delete":G({summary:"Removes a secret from the plugin's encrypted secrets file.",since:0,scope:"plugin-private",capability:"secrets:own",mutation:!0,framesSince:2,surfaces:ce,params:dv,result:pv}),"secrets.protection":G({summary:"How secrets are protected at rest: `os-keyring`, or `unavailable` (no OS key store, or Linux `basic_text`), where `secrets.set` fails.",since:1,scope:"plugin-private",capability:"secrets:own",mutation:!1,framesSince:2,surfaces:ce,params:mv,result:fv}),"settings.get":G({summary:"Reads every setting the plugin owns.",since:0,scope:"plugin-private",capability:"settings:own",mutation:!1,framesSince:2,surfaces:ce,params:gv,result:hv}),"settings.set":G({summary:"Writes one setting the plugin owns.",since:0,scope:"plugin-private",capability:"settings:own",mutation:!0,framesSince:2,surfaces:ce,params:vv,result:yv}),"shell.openExternal":G({summary:"Opens an http:, https: or mailto: URL in the default browser. Needs a click or key press in the frame; desktop app only. Orca asks the person before an http(s) host the plugin was not allowed; `opened` is false if they cancel.",since:1,scope:"desktop",capability:null,userActivation:!0,mutation:!1,surfaces:Dn,params:KI,result:JI}),"files.saveAs":G({summary:"Offers data (a string or ArrayBuffer, up to 64 MiB) in Orca's save dialog; the plugin never learns the path. Needs a click or key press in the frame; desktop app only.",since:1,scope:"desktop",capability:null,userActivation:!0,mutation:!0,surfaces:Dn,params:qI,result:YI}),...Mv,...qv,...jv},Qv=Object.keys(Ft).filter(ey);function ey(e){return Object.hasOwn(Ft,e)}function Ip(e){return ey(e)?Ft[e]:null}var ty=Math.max(...Qv.map(e=>Ft[e].since));function Jr(e){return Qv.filter(n=>Ft[n].surfaces.includes(e))}function $a(e,n){return Jr(e).filter(i=>n||Ft[i].userActivation!==!0)}function ka(e,n="panel"){return Math.max(0,...e.map(i=>Dv(Ft[i],n)))}var Ue=1,TD=l.number().refine(e=>e===Ue,{error:e=>typeof e.input=="number"&&e.input>Ue?`targets host API ${e.input}, but this Orca supports only ${Ue}; update Orca`:`must be ${Ue}`}).meta({const:Ue});var eS=new Set(["rate_limited","unavailable","timeout","conflict"]);function He(e,n=e,i){return Object.assign(new Error(n),{code:e,retryable:eS.has(e),...i===void 0?{}:{retryAfterMs:i}})}var tS=new Set(["plugin.request","events.subscribe","storage.get","storage.set","storage.delete","storage.keys","settings.get","settings.set","secrets.get","secrets.set","secrets.delete","secrets.protection"]);function xa(e,n){return typeof e=="object"&&e!==null&&n in e?Object.getOwnPropertyDescriptor(e,n)?.value:void 0}function ny(e){let n={storage:new Map(Object.entries(e.storage??{})),settings:new Map(Object.entries(e.settings??{})),secrets:new Map(Object.entries(e.secrets??{}))},i=new Set,o=(a,s,u)=>{if(u===void 0?n[a].delete(s):n[a].set(s,u),a!=="secrets")for(let c of i)c(a,s);return{ok:!0}},t=null;async function r(a){let s=String(xa(a,"name")),u=xa(a,"input");if(!e.requests||!Object.hasOwn(e.requests,s)){if(t)return{output:await t(s,u)??null};throw He("unknown_method",`no panel handler named ${s}`)}let c=e.requests[s];return{output:(typeof c=="function"?await c(u):c)??null}}return{handles:a=>tS.has(a),async answer(a,s){let u=String(xa(s,"key")),c=xa(s,"value");switch(a){case"plugin.request":return r(s);case"storage.get":return{value:n.storage.get(u)??null};case"storage.keys":return{keys:[...n.storage.keys()]};case"settings.get":return{settings:Object.fromEntries(n.settings)};case"secrets.get":return{value:n.secrets.get(u)??null};case"secrets.protection":return{status:"os-keyring"};case"storage.set":return o("storage",u,c);case"settings.set":return o("settings",u,c);case"secrets.set":return o("secrets",u,c);case"storage.delete":return o("storage",u,void 0);case"secrets.delete":return o("secrets",u,void 0);default:return{ok:!0}}},routeRequests(a){return t=a,()=>{t===a&&(t=null)}},onChange(a){return i.add(a),()=>i.delete(a)},snapshot:()=>({storage:Object.fromEntries(n.storage),settings:Object.fromEntries(n.settings),secrets:Object.fromEntries(n.secrets)})}}var wa=class extends Error{constructor(i,o){super(o);this.code=i}code};function nS(e){return typeof e=="function"}var ry={ok:!0};function rS(e){return e.result.safeParse(ry).success}var Sp={"workspace.readContext":null,"notifications.show":{delivered:!0},"shell.openExternal":{opened:!0},"files.saveAs":{status:"saved"},"agents.list":{agents:[]},"editor.readTypography":Lv({terminalFontSize:14},0)};function iy(e,n){let i=new Set(e.capabilities??n),o=new Map(Object.entries(e.results??{})),t=ny(e),r={panel:$a("panel",!0),worker:Jr("worker")},a=[],s=[],u=new Set,c=0,d=(g,y)=>{throw new wa(g,y)};async function p(g,y,x){let I=Ip(g);if(!I)return d("unknown_method",`${g} does not exist in this Orca`);if(!I.surfaces.includes(x))return d("not_permitted",`${g} is not available to ${x}s`);if(I.userActivation===!0){if(c===0)return d("not_permitted",`${g} needs a click or key press in the frame`);c-=1}if(I.capability&&!i.has(I.capability))return d("capability_denied",`${g} needs the ${I.capability} capability`);let b=I.params.safeParse(y);return b.success?b.data:d("invalid_params",b.error.issues[0]?.message??"invalid params")}async function m(g,y,x){let I;try{I=await p(g,y,x)}catch(E){throw E instanceof wa?(s.push({method:g,code:E.code,message:E.message}),He(E.code,E.message)):E}let b=Ip(g);if(!b)throw He("unknown_method",g);let T=!o.has(g)&&t.handles(g),A=rS(b);if(!o.has(g)&&!T&&!Object.hasOwn(Sp,g)&&!A)throw He("unavailable",`the test configured no result for ${g}`);let D=o.has(g)?o.get(g):Object.hasOwn(Sp,g)?Sp[g]:ry,w=T?await t.answer(g,I):nS(D)?await D(I):D,O=b.result.safeParse(w);if(!O.success)throw new TypeError(`mockHost: the result configured for ${g} does not match the host API: ${O.error.issues[0]?.message??"invalid result"}`);return O.data}let f=g=>({api:{major:Ue,minor:ka(r[g])},call(y,x){a.push({method:y,params:x});let I=m(y,x,g);return u.add(I),I.catch(()=>{}).finally(()=>u.delete(I)),I},has:y=>r[g].some(x=>x===y)});return{calls:a,refusals:s,capabilities:[...i],callsOf:g=>a.filter(y=>y.method===g).map(y=>y.params),respond:(g,y)=>o.set(g,y),grantGesture:()=>{c=1},data:()=>t.snapshot(),onDataChange:g=>t.onChange(g),routeRequests:g=>t.routeRequests(g),async idle(){for(;u.size>0;)await Promise.allSettled(u)},bridge:f("panel"),worker:f("worker")}}var iS=l.object({label:H,labelHidden:N,value:Ln.optional(),defaultValue:Ln.optional(),placeholder:V.optional(),rows:l.number().int().min(2).max(20).optional(),maxLength:l.number().int().positive().max(L.maxTextLength).optional(),invalid:N,disabled:N,onChange:Y,onSubmit:Y,...ve}).strict(),oS=l.object({label:H,description:V.optional(),checked:N,defaultChecked:N,disabled:N,onChange:Y,...ve}).strict(),aS=l.object({label:H,labelHidden:N,value:V.optional(),defaultValue:V.optional(),options:l.array(l.object({value:H,label:H,description:V.optional(),disabled:N}).strict()).max(L.maxRadioOptions),orientation:l.enum(["vertical","horizontal"]).optional(),disabled:N,onChange:Y,...ve}).strict(),Ia=l.number().refine(Number.isFinite,"must be finite"),sS=l.object({label:H,labelHidden:N,value:Ia.optional(),defaultValue:Ia.optional(),min:Ia.optional(),max:Ia.optional(),step:l.number().positive().refine(Number.isFinite).optional(),showValue:N,disabled:N,onChange:Y,...ve}).strict(),uS=l.object({label:H,description:V.optional(),error:V.optional(),required:N}).strict(),oy={Textarea:R(iS,"none"),Checkbox:R(oS,"none"),RadioGroup:R(aS,"none"),Slider:R(sS,"none"),Field:R(uS,"any")};var cS=l.object({label:H,value:V.optional(),defaultValue:V.optional(),onChange:Y,...ve}).strict(),lS=l.object({value:H,label:H,icon:je.optional(),disabled:N}).strict(),dS=l.object({title:H,description:V.optional(),open:N,defaultOpen:N,disabled:N,onChange:Y,...ve}).strict(),pS=l.object({label:H,gap:Ee}).strict(),mS=l.object({columns:l.number().int().min(1).max(6).optional(),minItemWidth:l.enum(["xs","sm","md","lg"]).optional(),gap:Ee}).strict(),ay={Tabs:R(cS,"tabs"),Tab:R(lS,"any"),Collapsible:R(dS,"any"),Toolbar:R(pS,"any"),Grid:R(mS,"any")};function Re(e){return typeof e=="object"&&e!==null}var Xr=["long","short","duration"],Pp=l.number().refine(Number.isFinite,"must be a finite time in milliseconds"),sy=l.object({type:l.literal("relative"),at:Pp,format:l.enum(Xr).optional()}).strict(),fS=[["day",864e5],["hour",36e5],["minute",6e4],["second",1e3]];function gS(e){let n=Math.abs(e),[i,o]=fS.find(([,t])=>n>=t)??["second",1e3];return{value:Math.trunc(e/o),unit:i}}function uy(e,n,i,o){let{value:t,unit:r}=gS(e-n);return i==="duration"?new Intl.NumberFormat(o,{style:"unit",unit:r,unitDisplay:"narrow"}).format(Math.abs(t)):new Intl.RelativeTimeFormat(o,{numeric:i==="long"?"auto":"always",style:i==="long"?"long":"narrow"}).format(t,r)}var Tp=l.string().min(1).max(64),hS=l.union([l.string().max(L.maxLabelLength),l.number(),l.boolean(),l.null(),sy]),cy=e=>new Set(e.map(n=>n.key)).size===e.length,vS=l.object({label:H,columns:l.array(l.object({key:Tp,label:H,align:l.enum(["start","center","end"]).optional(),width:l.enum(["auto","xs","sm","md","lg"]).optional(),minWidth:l.enum(["auto","xs","sm","md"]).optional(),hideBelow:l.enum(["sm","md"]).optional(),sortable:N}).strict()).min(1).max(L.maxTableColumns).refine(cy,"column keys must be unique"),rows:l.array(l.object({key:Zt,cells:l.record(Tp,hS.refine(e=>typeof e!="number"||Number.isFinite(e))).refine(e=>Object.keys(e).length<=L.maxTableColumns),disabled:N}).strict()).max(L.maxTableRows).refine(cy,"row keys must be unique"),sort:l.object({column:Tp,direction:l.enum(["asc","desc"])}).strict().optional(),selectionMode:l.enum(["none","single","multiple"]).optional(),selected:l.array(Zt).max(L.maxTableRows).optional(),defaultSelected:l.array(Zt).max(L.maxTableRows).optional(),hasMore:N,loading:N,emptyText:V.optional(),maxHeight:Hr,onSortChange:Y,onSelectionChange:Y,onRowAction:Y,onLoadMore:Y,...ve}).strict(),yS=l.object({key:Zt,label:H,description:V.optional(),icon:je.optional(),disabled:N,hasChildren:N,children:l.array(l.unknown()).optional()}).strict();function bS(e){let n=[],i=new Set,o=[{raw:e,out:n,depth:1}],t=0;for(let r=o.pop();r;r=o.pop()){if(r.depth>L.maxTreeItemDepth)return`items nest deeper than ${L.maxTreeItemDepth}`;for(let a of r.raw){if(++t>L.maxTreeItems)return`more than ${L.maxTreeItems} items`;let s=yS.safeParse(Re(a)?a:null);if(!s.success)return"each item needs a key and a label";let{children:u,...c}=s.data;if(i.has(c.key))return`duplicate item key ${JSON.stringify(c.key.slice(0,64))}`;i.add(c.key);let d=c;r.out.push(d),u&&(d.children=[],o.push({raw:u,out:d.children,depth:r.depth+1}))}}return n}var _S=l.array(l.unknown()).transform((e,n)=>{let i=bS(e);return typeof i=="string"?(n.addIssue({code:"custom",message:i}),l.NEVER):i}),$S=l.object({label:H,items:_S,selected:V.optional(),defaultSelected:V.optional(),expanded:l.array(Zt).max(L.maxTreeItems).optional(),defaultExpanded:l.array(Zt).max(L.maxTreeItems).optional(),maxHeight:Hr,onSelect:Y,onToggle:Y,onAction:Y,...ve}).strict(),ly={Table:R(vS,"none"),Tree:R($S,"none")};var dy=l.string().max(L.maxDocumentLength),kS=/\.(?:png|jpe?g|webp)$/i;function xS(e){return kS.test(e)&&!/^[a-zA-Z][a-zA-Z0-9+.-]*:/.test(e)&&!/[\\\0?#]/.test(e)&&e.split("/").every(n=>n!==""&&n!=="."&&n!=="..")}var wS=l.object({content:dy}).strict(),IS=l.object({code:dy,language:l.string().regex(/^[A-Za-z0-9_+#.-]{1,64}$/).optional(),label:V.optional(),lineNumbers:N,wrap:N,maxHeight:Hr}).strict(),SS=l.object({src:l.string().max(512).refine(xS,"must be an image file in the plugin"),alt:V,size:l.enum(["xs","sm","md","lg","full"]).optional(),fit:l.enum(["contain","cover"]).optional(),rounded:N}).strict(),PS=l.object({label:V.optional(),items:l.array(l.object({label:H,value:l.union([V,l.number().refine(Number.isFinite),l.boolean(),l.null()]),tone:tt,code:N}).strict()).max(L.maxKeyValueItems)}).strict(),TS=l.object({tone:tt,title:V.optional(),icon:je.optional()}).strict(),ES=l.object({at:Pp,format:l.enum(Xr).optional(),tone:tt,muted:N}).strict(),AS=l.object({shape:l.enum(["text","block","circle"]).optional(),lines:l.number().int().min(1).max(10).optional(),label:V.optional()}).strict(),py={Markdown:R(wS,"none"),CodeView:R(IS,"none"),Image:R(SS,"none"),KeyValue:R(PS,"none"),Callout:R(TS,"any"),Skeleton:R(AS,"none"),RelativeTime:R(ES,"none")};var OS=4096,Rn=l.union([l.number().min(0).max(OS),l.string().regex(/^(100|[1-9]?[0-9])%$/)]).optional(),NS=["none","muted","card",...Mt],zS=l.object({direction:l.enum(["row","column"]).optional(),gap:Ee,padding:Ee,paddingX:Ee,paddingY:Ee,margin:Ee,align:Br,justify:l.enum(["start","center","end","between"]).optional(),wrap:N,grow:N,shrink:N,width:Rn,height:Rn,minWidth:Rn,minHeight:Rn,maxWidth:Rn,maxHeight:Rn,columns:l.number().int().min(1).max(6).optional(),scroll:l.enum(["x","y","both"]).optional(),border:l.union([l.boolean(),l.enum(Mt)]).optional(),radius:l.enum(["none","sm","md","lg","full"]).optional(),background:l.enum(NS).optional()}).strict(),my={Box:R(zS,"any")};var DS=yt,fy=new Set(DS),CS=l.object({gap:Ee,align:Br}).strict(),LS=l.object({gap:Ee,align:Br,justify:l.enum(["start","center","end","between"]).optional(),wrap:N}).strict(),jS=l.object({tone:tt,muted:N,size:_a,weight:l.enum(["regular","medium","semibold"]).optional(),truncate:N}).strict(),US=l.object({level:l.union([l.literal(1),l.literal(2),l.literal(3)]).optional()}).strict(),RS=l.object({variant:vp,tone:tt,size:_a,icon:je.optional(),tooltip:V.optional(),disabled:N,onPress:Y}).strict(),MS=l.object({icon:je,label:H,tooltip:V.optional(),variant:vp,tone:tt,size:_a,disabled:N,onPress:Y}).strict(),ZS=l.object({tone:tt}).strict(),FS=l.object({title:V.optional(),description:V.optional()}).strict(),VS=l.object({label:V.optional()}).strict(),GS=l.object({title:V.optional(),description:V.optional(),icon:je.optional(),current:N,disabled:N,onPress:Y}).strict(),BS=l.object({label:H,labelHidden:N,value:Ln.optional(),defaultValue:Ln.optional(),placeholder:V.optional(),type:l.enum(["text","search","password"]).optional(),maxLength:l.number().int().positive().max(L.maxTextLength).optional(),invalid:N,disabled:N,onChange:Y,onSubmit:Y,...ve}).strict(),HS=l.object({label:H,checked:N,defaultChecked:N,disabled:N,onChange:Y,...ve}).strict(),WS=l.object({label:H,labelHidden:N,value:V.optional(),defaultValue:V.optional(),placeholder:V.optional(),options:l.array(l.object({value:H,label:H,disabled:N}).strict()).max(L.maxSelectOptions),disabled:N,onChange:Y,...ve}).strict(),KS=l.object({orientation:l.enum(["horizontal","vertical"]).optional()}).strict(),JS=l.object({label:H,labelHidden:N,value:l.number().min(0).max(100).optional()}).strict(),XS=l.object({label:H,labelHidden:N}).strict(),qS=l.object({title:H,description:V.optional(),icon:je.optional()}).strict(),YS=l.object({href:l.string().max(2048).regex(/^(https?:\/\/|mailto:)/i).optional(),onPress:Y}).strict(),QS=l.object({block:N}).strict(),qr={Stack:R(CS,"any"),Row:R(LS,"any"),Text:R(jS,"inline"),Heading:R(US,"inline"),Button:R(RS,"text"),IconButton:R(MS,"none"),Badge:R(ZS,"text"),Card:R(FS,"any"),List:R(VS,"items"),ListItem:R(GS,"any"),Input:R(BS,"none"),Switch:R(HS,"none"),Select:R(WS,"none"),Separator:R(KS,"none"),Progress:R(JS,"none"),Spinner:R(XS,"none"),EmptyState:R(qS,"any"),Link:R(YS,"text"),Code:R(QS,"text"),...oy,...ay,...ly,...py,...my};function Ep(e){return typeof e=="string"&&Object.hasOwn(qr,e)}var bC=Object.keys(qr).filter(Ep),gy=new Set(["Text","Link","Code","Badge","RelativeTime"]),hy=new Set(["Button","IconButton","Input","Switch","Select","Link","ListItem","Textarea","Checkbox","RadioGroup","Slider","Tabs","Collapsible","Table","Tree","Markdown"]),Sa={items:"ListItem",tabs:"Tab"};var eP=new Set(["type","key","props","children"]),Ap=32,tP=8,nP=/^[A-Z][A-Za-z0-9]{0,63}$/,rP=20,iP=new Map([[Sa.items,"items"],[Sa.tabs,"tabs"]]),oP={ListItem:"List",Tab:"Tabs"};function vy(e){return e==="items"||e==="tabs"?Sa[e]:void 0}var Pa=class extends Error{};function ne(e,n){throw new Pa(`${e}: ${n}`)}function aP(e,n){return e===void 0?[]:(Array.isArray(e)||ne(n,"children must be an array"),e)}function sP(e,n,i){let o=qr[e].props.shape,t={};for(let[r,a]of Object.entries(n)){if(a===void 0)continue;if(!Object.hasOwn(o,r)){i(`${e}: ignored unknown prop "${r.slice(0,64)}"`);continue}let s=o[r].safeParse(a);if(!s.success){i(`${e}: ignored invalid ${r}`);continue}t[r]=s.data}for(let[r,a]of Object.entries(o))if(!Object.hasOwn(t,r)&&!a.safeParse(void 0).success)return i(`${e}: missing required ${r}; showing a placeholder`),null;return typeof t.icon=="string"&&!fy.has(t.icon)&&i(`${e}: unknown icon "${t.icon}"; showing a fallback glyph`),t}function yy(e){if(e===null)return{ok:!0,tree:null,nodes:0,warnings:[]};let n=new Set,i=c=>{n.sizeL.maxTextLength&&ne(I,"text is too long"),r+ ++a>L.maxNodes&&ne(I,`more than ${L.maxNodes} nodes`),s+=tP+Ne.length,s>L.maxTreeBytes&&ne(I,`tree exceeds ${L.maxTreeBytes} bytes`),x.push(Ne);continue}Re(d)||ne(I,"expected a node, string or number");let b=d.type,T=Ep(b);!T&&(typeof b!="string"||!nP.test(b))&&ne(I,`invalid component name ${JSON.stringify(String(b)).slice(0,80)}`),(f==="none"||f==="text")&&ne(I,`${m} accepts only text`),f==="inline"&&T&&!gy.has(b)&&ne(I,`${m} accepts only text, Text, Link, Code, Badge and RelativeTime`);let A=vy(f),D=typeof b=="string"?iP.get(b):void 0;A!==void 0&&b!==A&&ne(I,`${m} holds only ${A}`),D!==void 0&&D!==f&&ne(I,`${b} must be a direct child of ${oP[b]??"its container"}`),g&&hy.has(b)&&ne(I,`a ListItem with onPress cannot contain a ${b}`),++r+a>L.maxNodes&&ne(I,`more than ${L.maxNodes} nodes`),p>L.maxDepth&&ne(I,`deeper than ${L.maxDepth}`);for(let Ne of Object.keys(d))eP.has(Ne)||ne(I,`unknown node field ${Ne.slice(0,64)}`);let w=d.key;w!==void 0&&((typeof w!="string"||w.length>L.maxLabelLength)&&ne(I,"key must be a short string"),y.has(w)&&ne(I,`duplicate key ${JSON.stringify(w.slice(0,64))} among siblings`),y.add(w));let O=w===void 0?{}:{key:w};if(!T){i(`unknown component ${b}; showing a placeholder`),x.push({type:"Unsupported",...O,props:{name:b},children:[]}),s+=Ap+b.length;continue}let E=d.props??{};(!Re(E)||Object.keys(E).length>L.maxPropsPerNode)&&ne(I,"props must be an object with few fields");let B=sP(b,E,i);if(!B){x.push({type:"Unsupported",...O,props:{name:b},children:[]}),s+=Ap+b.length;continue}s+=Ap+JSON.stringify(B).length,s>L.maxTreeBytes&&ne(I,`tree exceeds ${L.maxTreeBytes} bytes`);let C=[],re={type:b,...O,props:B,children:C};x.push(re);let ye=aP(d.children,I);ye.length>L.maxNodes&&ne(I,`more than ${L.maxNodes} children`);let Oe=new Set,ni=g||b==="ListItem"&&B.onPress!==void 0;for(let Ne=ye.length-1;Ne>=0;Ne--)t.push({raw:ye[Ne],depth:p+1,parentType:b,policy:qr[b].children,inPressable:ni,siblingKeys:Oe,out:C,path:`${I}.children.${Ne}`})}}catch(c){if(c instanceof Pa)return{ok:!1,error:c.message};throw c}let u=o[0];return typeof u=="object"?{ok:!0,tree:u,nodes:r,warnings:[...n]}:{ok:!1,error:"tree: expected a node"}}var Mn=l.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),Vt=l.string().min(1).max(64),Op=l.union([l.string().max(L.maxTextLength),l.number().refine(Number.isFinite),l.boolean(),l.null()]),by=l.array(Op).max(L.maxEventArgItems),uP=l.union([Op,by,l.record(l.string().max(64),l.union([Op,by])).refine(e=>Object.keys(e).length<=16,"too many fields")]),OC=l.object({document:Vt,revision:Mn,callback:l.string().min(1).max(L.maxCallbackIdLength).regex(ba),args:l.array(uP).max(L.maxEventArgs),edit:Mn.optional()}).strict(),cP=l.object({document:Vt,revision:Mn,tree:l.unknown()}).strict(),_y=l.object({document:Vt.optional(),revision:Mn,message:l.string().max(L.maxLabelLength*4),stack:l.string().max(8192).optional()}).strict();function $y(e){let n=cP.safeParse(e);if(!n.success)return{ok:!1,document:null,revision:null,error:"malformed render"};let{document:i,revision:o}=n.data,t=yy(n.data.tree);return t.ok?{...t,document:i,revision:o}:{ok:!1,document:i,revision:o,error:t.error}}var NC=l.object({document:Vt,revision:Mn,accepted:l.boolean(),retryAfterMs:l.number().int().nonnegative().max(6e4).optional()}).strict(),zC=l.object({document:Vt}).strict(),ky=/^[A-Za-z0-9_.:-]{1,128}$/,lP=["plugin","workspace"],Np=l.number().int().min(0).max(1e6),DC=l.object({version:Np,value:l.json()}).strict().refine(e=>JSON.stringify(e.value).length<=la,"persisted value is too large"),xy=l.object({document:Vt,entries:l.array(l.object({scope:l.enum(lP),key:l.string().regex(ky),version:Np,value:l.json()}).strict()).min(1).max(64),hydration:Mn.optional()}).strict(),CC=l.object({document:Vt,entries:l.array(l.object({key:l.string().regex(ky),version:Np,value:l.json().optional()}).strict().refine(e=>JSON.stringify(e.value??null).length<=la,"retained value is too large")).min(1).max(64)}).strict();import{installOrcaDeclarativeRuntime as wP}from"./orca-runtime.mjs";var dP={Stack:"group",Row:"group",Card:"region",Text:"text",Heading:"heading",Button:"button",IconButton:"button",Badge:"status",List:"list",ListItem:"listitem",Input:"textbox",Switch:"switch",Select:"combobox",Separator:"separator",Progress:"progressbar",Spinner:"status",EmptyState:"group",Link:"link",Code:"code",Textarea:"textbox",Checkbox:"checkbox",RadioGroup:"radiogroup",Slider:"slider",Field:"group",Tabs:"tablist",Tab:"tab",Collapsible:"group",Toolbar:"toolbar",Grid:"group",Table:"grid",Tree:"tree",Markdown:"document",CodeView:"code",Image:"img",KeyValue:"list",Callout:"note",Skeleton:"status",RelativeTime:"time",Box:"group",Unsupported:"unsupported"};function Iy(e,n){if(typeof e!="number")return"";let i=Xr.find(o=>o===n)??"short";return uy(e,Date.now(),i,"en")}function pP(e){return typeof e=="object"&&e!==null&&"at"in e?Iy(e.at,"format"in e?e.format:void 0):String(e??"")}var mP=["title","description","content","code","error","alt"];function fP(e){let n=[],i=[e.rows,e.items].flatMap(o=>Array.isArray(o)?o:[]);for(let o=i.shift();o!==void 0;o=i.shift()){if(typeof o!="object"||o===null)continue;let t={...o};typeof t.cells=="object"&&t.cells!==null&&n.push(...Object.values(t.cells).map(pP));for(let r of["label","value"])t[r]!==void 0&&t[r]!==null&&n.push(String(t[r]));Array.isArray(t.children)&&i.push(...t.children)}return n}function Sy(e){if(typeof e=="string")return e;let n=e.props,i=mP.map(o=>n[o]).filter(o=>typeof o=="string");return e.type==="RelativeTime"?Iy(n.at,n.format):e.type==="Tab"?typeof n.label=="string"?n.label:"":[...i,...fP(n),...e.children.map(Sy)].join(" ")}var zp=e=>e.replace(/\s+/g," ").trim();function gP(e){let n=e.props,i=n.label??n.title;return typeof i=="string"?i:void 0}function hP(e,n){let i=e.props,o=e.type==="ListItem"&&i.onPress!==void 0;return{type:e.type,key:e.key?.startsWith("#")?void 0:e.key,role:o?"button":dP[e.type]??"generic",label:gP(e),text:zp(Sy(e)),props:i,disabled:i.disabled===!0,path:n}}function Ta(e){let n=[],i=(o,t)=>{n.push(hP(o,t)),o.children.forEach((r,a)=>{typeof r!="string"&&i(r,`${t}/${r.key??`#${a}`}`)})};return e&&i(e,e.key??"#0"),n}function wy(e,n){return e===void 0?!1:typeof n=="string"?zp(e)===zp(n):n.test(e)}function Py(e,n){return(n.type===void 0||e.type===n.type)&&(n.role===void 0||e.role===n.role)&&(n.text===void 0||wy(e.text,n.text))&&(n.label===void 0||wy(e.label,n.label))&&(n.testId===void 0||e.key===n.testId)}function Ty(e){return e.filter(n=>!e.some(i=>i.path.startsWith(`${n.path}/`)))}function Ey(e){return Object.entries(e).map(([n,i])=>`${n}: ${i instanceof RegExp?String(i):JSON.stringify(i)}`).join(", ")}function Dp(e){if(typeof e=="string")return e;let n={};for(let[i,o]of Object.entries(e.props)){if(i.startsWith("$"))continue;let t=typeof o=="object"&&o!==null&&"$callback"in o;n[i]=t?"[handler]":o}return{type:e.type,...e.key&&!e.key.startsWith("#")?{key:e.key}:{},...Object.keys(n).length>0?{props:n}:{},...e.children.length>0?{children:e.children.map(Dp)}:{}}}var vP={value:"defaultValue",checked:"defaultChecked",open:"defaultOpen",selected:"defaultSelected"};function Cp(e){return typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)&&e.every(n=>typeof n=="string")}function yP(e){switch(e.type){case"Switch":case"Checkbox":case"Collapsible":return!1;case"Slider":return typeof e.props.min=="number"?e.props.min:0;case"Table":return[];default:return""}}function Ay(){let e=new Map;function n(t){let r=hp(t.type);if(!r)throw new Error(`a ${t.type} has no value; expected a form control, Tabs or Table`);return r}function i(t){let r=e.get(t.path);if(r)return r;let{value:a}=n(t),s=t.props[a],u=t.props[vP[a]??""],d={value:Cp(s)?s:Cp(u)?u:yP(t),sent:0};return e.set(t.path,d),d}function o(t,r){let{value:a,change:s}=n(t);if(t.props[a]!==void 0&&t.props[s]===void 0)throw new Error(`the ${t.type} is read-only: it has a ${a} and no ${s}`);let u=i(t);return u.sent+=1,u.value=r,{value:r,id:u.sent}}return{observe(t){let r=new Map;for(let a of t){let s=hp(a.type);if(!s)continue;let u=e.get(a.path)??i(a),c=a.props[s.value],d=a.props[ya];Cp(c)&&(typeof d=="number"?d:0)>=u.sent&&(u.value=c),r.set(a.path,u)}e=r},valueOf:t=>i(t).value,edit:o,typeInto(t,r,a){if(t.type!=="Input"&&t.type!=="Textarea")throw new Error(`type: a ${t.type} takes no text; expected an Input or Textarea`);let s=a?"":String(i(t).value),u=[];a&&u.push(o(t,s));for(let c of r)s+=c,u.push(o(t,s));return u},toggle(t){if(!["Switch","Checkbox","Collapsible"].includes(t.type))throw new Error(`toggle: expected a Switch, Checkbox or Collapsible, not a ${t.type}`);return o(t,!i(t).value)}}}function Oy(e){let n=new Map,i=(s,u)=>{let c=n.get(s)??new Set;return c.add(u),n.set(s,c),{dispose:()=>c.delete(u)}},o=(s,u)=>{for(let c of n.get(s)??[])c(u)},t=s=>u=>typeof u=="object"&&u!==null&&s in u?Object.getOwnPropertyDescriptor(u,s)?.value:void 0,r=()=>{};return{facades:{plugin:{request:(s,u,c)=>{let d=typeof c=="object"&&c!==null&&"timeoutMs"in c?c.timeoutMs:void 0;return e("plugin.request",{name:s,...u===void 0?{}:{input:u},...typeof d=="number"?{timeoutMs:d}:{}}).then(t("output"))},on:(s,u)=>i(`message:${s}`,u)},storage:{get:s=>e("storage.get",{key:s}).then(u=>t("value")(u)??null),set:(s,u)=>e("storage.set",{key:s,value:u}).then(r),delete:s=>e("storage.delete",{key:s}).then(r),keys:async()=>{let s=t("keys")(await e("storage.keys"));return Array.isArray(s)?s.map(String):[]},onDidChange:s=>i("changed:storage",u=>s({key:String(u)}))},settings:{get:async s=>{let u=t("settings")(await e("settings.get"));return s===void 0?u:t(s)(u)},set:(s,u)=>e("settings.set",{key:s,value:u}).then(r),onDidChange:s=>i("changed:settings",u=>s({key:String(u)}))},secrets:{get:async s=>{let u=t("value")(await e("secrets.get",{key:s}));return typeof u=="string"?u:null},set:(s,u)=>e("secrets.set",{key:s,value:u}).then(r),delete:s=>e("secrets.delete",{key:s}).then(r)}},post:(s,u)=>o(`message:${s}`,u),changed:(s,u)=>o(`changed:${s}`,u)}}var Ny=Symbol.for("orca.testing.stored");function zy(e,n){return Object.freeze({[Ny]:!0,version:n,value:e})}function bP(e){return typeof e=="object"&&e!==null&&Ny in e}function Dy(e,n){for(let i of["plugin","workspace"])for(let[o,t]of Object.entries(n?.[i]??{}))e[i].set(o,bP(t)?{version:t.version,value:t.value}:{version:1,value:t})}var _P={sm:360,md:480};function Cy(e,n){let i=e.filter(o=>!o.hideBelow||n>=_P[o.hideBelow]);return i.length>0?i:e.slice(0,1)}var Lp=(e,n)=>e.path.startsWith(`${n.path}/`);function Ea(e,n){return n.filter(i=>i.type==="Tab"&&Lp(i,e)&&!i.path.slice(e.path.length+1).includes("/"))}function jp(e,n,i){let o=Ea(e,n);return o.find(t=>t.props.value===i)??o.find(t=>!t.disabled)}function Ly(e,n){let i=[];for(let o of e)if(!i.some(t=>Lp(o,t))&&(o.type==="Collapsible"&&n(o)!==!0&&i.push(o),o.type==="Tabs")){let t=jp(o,e,n(o));i.push(...Ea(o,e).filter(r=>r!==t))}return e.filter(o=>!i.some(t=>Lp(o,t)))}function jy(e){return typeof e=="object"&&e!==null&&"key"in e&&typeof e.key=="string"}function Up(e){return Array.isArray(e.props.rows)?e.props.rows.filter(jy):[]}function Rp(e){let n=[],i=Array.isArray(e.props.items)?[...e.props.items]:[];for(let o=i.shift();o!==void 0;o=i.shift())if(jy(o)){n.push(o);let t="children"in o?o.children:void 0;Array.isArray(t)&&i.push(...t)}return n}function Ae(e,n,i){if(e.type!==n)throw new Error(`${i}: expected a ${n}, not a ${e.type}`)}function Mp(e,n,i){let o=Up(e).find(t=>t.key===n);if(!o||o.disabled===!0)throw new Error(`${i}: the Table has no enabled row "${n}"`);return o}function Aa(e,n,i){let o=Rp(e).find(t=>t.key===n);if(!o)throw new Error(`${i}: the Tree has no item "${n}"`);return o}function Uy(e){return e.hasChildren===!0||Array.isArray(e.children)&&e.children.length>0}function Ry(e,n){let o=(Array.isArray(e.props.columns)?e.props.columns:[]).find(a=>typeof a=="object"&&a!==null&&"key"in a&&a.key===n);if(!o||typeof o!="object"||!("sortable"in o)||o.sortable!==!0)throw new Error(`sort: the Table has no sortable column "${n}"`);let t=e.props.sort,r=typeof t=="object"&&t!==null&&"column"in t&&t.column===n&&"direction"in t&&t.direction==="asc";return{column:n,direction:r?"desc":"asc"}}function $P(e,n){return e.type==="Tabs"?Ea(e,n).map(o=>({value:o.props.value,disabled:o.disabled})):(Array.isArray(e.props.options)?e.props.options:[]).map(o=>typeof o=="object"&&o!==null&&"value"in o?{value:o.value,disabled:"disabled"in o&&o.disabled===!0}:{value:void 0,disabled:!0})}function My({host:e,controls:n,resolve:i,elements:o,dispatch:t,settled:r}){let a=new Map,s=d=>{let p=a.get(d.path);if(!p){let m=d.props.expanded??d.props.defaultExpanded;p=new Set(Array.isArray(m)?m.filter(f=>typeof f=="string"):[]),a.set(d.path,p)}return p},u=async(d,p,m,f)=>{let g=n.edit(d,m);t(p,[f],g.id),await r()},c=async(d,p,m,f)=>{let g=i(d,f);if(Ae(g,"Tree",f),!Uy(Aa(g,p,f)))throw new Error(`${f}: the Tree item "${p}" has no children`);let y=s(g);y.has(p)!==m&&(m?y.add(p):y.delete(p),t(g.props.onToggle,[{key:p,expanded:m}]),await r())};return{async press(d){let p=i(d,"press"),{href:m,onPress:f}=p.props;if(p.type==="Link"&&typeof m=="string")e.grantGesture(),e.bridge.call("shell.openExternal",{url:m}).catch(()=>{});else{if(f===void 0)throw new Error(`press: the ${p.type} has no onPress`);e.grantGesture()}t(f,[]),await r()},async type(d,p,m={}){let f=i(d,"type");for(let g of n.typeInto(f,p,m.replace===!0))t(f.props.onChange,[g.value],g.id),await r();m.submit&&(t(f.props.onSubmit,[n.valueOf(f)]),await r())},async submit(d){let p=i(d,"submit");t(p.props.onSubmit,[n.valueOf(p)]),await r()},async toggle(d){let p=i(d,"toggle"),m=n.toggle(p);t(p.props.onChange,[m.value],m.id),await r()},async select(d,p){let m=i(d,"select");if(!["Select","RadioGroup","Tabs"].includes(m.type))throw new Error(`select: expected a Select, RadioGroup or Tabs, not a ${m.type}`);let f=$P(m,o()).find(g=>g.value===p);if(!f||f.disabled)throw new Error(`select: the ${m.type} has no enabled option "${p}"`);await u(m,m.props.onChange,p,p)},async slide(d,p){let m=i(d,"slide");Ae(m,"Slider","slide");let f=typeof m.props.min=="number"?m.props.min:0,g=typeof m.props.max=="number"?m.props.max:100;if(!Number.isFinite(p)||pg)throw new Error(`slide: ${p} is outside the Slider's ${f} to ${g}`);await u(m,m.props.onChange,p,p)},async sort(d,p){let m=i(d,"sort");if(Ae(m,"Table","sort"),m.props.onSortChange===void 0)throw new Error("sort: the Table has no onSortChange");t(m.props.onSortChange,[Ry(m,p)]),await r()},async selectRows(d,p){let m=i(d,"selectRows");Ae(m,"Table","selectRows");let f=m.props.selectionMode??"none";if(f==="none"||f==="single"&&p.length>1)throw new Error(`selectRows: the Table's selectionMode is ${String(f)}`);p.forEach(g=>Mp(m,g,"selectRows")),await u(m,m.props.onSelectionChange,[...p],{keys:[...p]})},async activateRow(d,p){let m=i(d,"activateRow");if(Ae(m,"Table","activateRow"),Mp(m,p,"activateRow"),m.props.onRowAction===void 0)throw new Error("activateRow: the Table has no onRowAction");t(m.props.onRowAction,[{key:p}]),await r()},async loadMore(d){let p=i(d,"loadMore");if(Ae(p,"Table","loadMore"),p.props.hasMore!==!0||p.props.onLoadMore===void 0)throw new Error("loadMore: the Table has no more rows (hasMore and onLoadMore)");t(p.props.onLoadMore,[]),await r()},expand:(d,p)=>c(d,p,!0,"expand"),collapse:(d,p)=>c(d,p,!1,"collapse"),async selectItem(d,p){let m=i(d,"selectItem");if(Ae(m,"Tree","selectItem"),Aa(m,p,"selectItem").disabled===!0)throw new Error(`selectItem: the Tree item "${p}" is disabled`);await u(m,m.props.onSelect,p,{key:p})},async activateItem(d,p){let m=i(d,"activateItem");if(Ae(m,"Tree","activateItem"),Aa(m,p,"activateItem").disabled===!0||!m.props.onAction)throw new Error(`activateItem: the Tree item "${p}" cannot be activated`);t(m.props.onAction,[{key:p}]),await r()},expandedOf:d=>{let p=i(d,"expandedOf");return Ae(p,"Tree","expandedOf"),Rp(p).map(m=>m.key).filter(m=>s(p).has(m))},columnsOf:(d,p={})=>{let m=i(d,"columnsOf");Ae(m,"Table","columnsOf");let g=(Array.isArray(m.props.columns)?m.props.columns:[]).flatMap(y=>{if(typeof y!="object"||y===null||!("key"in y))return[];let x="hideBelow"in y?y.hideBelow:void 0;return typeof y.key=="string"?[{key:y.key,hideBelow:x==="sm"||x==="md"?x:void 0}]:[]});return Cy(g,p.width??Number.POSITIVE_INFINITY).map(y=>y.key)},rowsOf:d=>{let p=i(d,"rowsOf");return Ae(p,"Table","rowsOf"),Up(p).map(m=>m.key)}}}var Me=e=>{let n=(e??"").replace(/\s+/g," ").trim();return JSON.stringify(n.length>60?`${n.slice(0,59)}…`:n)},kP=e=>e==="danger"||e==="warning",Zy=e=>Array.isArray(e)?e.length:0;function xP(e,n){let{props:i}=e;switch(e.type){case"Heading":return`Heading ${Me(e.text)}`;case"Callout":return`Callout ${String(i.tone??"neutral")} ${Me(e.label??e.text)}`;case"EmptyState":return`EmptyState ${Me(e.label)}`;case"Table":return`Table ${Me(e.label)}: ${Zy(i.rows)} row(s)${i.hasMore===!0?", more":""}`;case"Tree":return`Tree ${Me(e.label)}: ${Zy(i.items)} top-level item(s)`;case"Tabs":return`Tabs ${Me(e.label)}: ${Me(n.get(e.path))} selected`;case"Skeleton":case"Spinner":return`${e.type} ${Me(e.label??"Loading")}`;case"Text":return i.tone==="danger"||i.tone==="warning"?`Text ${String(i.tone)} ${Me(e.text)}`:null;case"Box":{let o=[i.background,i.border].find(kP);return o?`Box ${o} ${Me(e.text)}`:null}default:return null}}function Fy(e,n){let i=[];for(let o of e){if(o.type==="List"){let r=e.filter(a=>a.type==="ListItem"&&a.path.startsWith(`${o.path}/`)).length;i.push(`List ${Me(o.label)}: ${r} item(s)`);continue}let t=xP(o,n);t&&i.push(t)}return i.length>12?[...i.slice(0,12),`… ${i.length-12} more`]:i}function Vy(e){return"path"in e}var IP=100,SP=()=>new Promise(e=>typeof setImmediate=="function"?setImmediate(e):setTimeout(e,0));async function Gy(e,n){let i=n.host,o=new Map,t=(w,O)=>{for(let E of o.get(w)??[])E(O)},r=[],a=[],s=[],u={plugin:new Map,workspace:new Map};Dy(u,n.persisted);let c=n.visible??!0,d={document:"",revision:0,tree:null},p=Ay(),m=Oy(i.bridge.call),f=i.onDataChange(m.changed);function g(w,O){if(w===Be.ready)t(Be.hydrate,{panel:{id:n.panelId??"panel"},visible:c,plugin:Object.fromEntries(u.plugin),workspace:Object.fromEntries(u.workspace)});else if(w===Be.render){let E=$y(O);if(!E.ok){a.push({kind:"refused",message:E.error}),E.document!==null&&E.revision!==null&&t(Be.ack,{document:E.document,revision:E.revision,accepted:!1});return}s.push(...E.warnings.filter(B=>!s.includes(B))),d={document:E.document,revision:E.revision,tree:E.tree},p.observe(Ta(E.tree)),t(Be.ack,{document:E.document,revision:E.revision,accepted:!0})}else if(w===Be.error){let E=_y.safeParse(O);a.push(E.success?{kind:"plugin",message:E.data.message,...E.data.stack?{stack:E.data.stack}:{}}:{kind:"plugin",message:String(O)})}else if(w===Be.persist){let E=xy.safeParse(O);if(!E.success){a.push({kind:"refused",message:"persisted state Orca would not store"});return}for(let B of E.data.entries)u[B.scope].set(B.key,{version:B.version,value:B.value})}}let y=wP({post:g,awaitHydration:!0,colorScheme:n.theme??"dark",schedule:w=>r.push(w),bridge:{api:i.bridge.api,locale:n.locale??"en",host:{call:i.bridge.call,has:i.bridge.has},...m.facades,on(w,O){let E=o.get(w)??new Set;return E.add(O),o.set(w,E),{dispose:()=>E.delete(O)}}}});async function x(){for(let w=0;wLy(Ta(d.tree),w=>p.valueOf(w)),b=w=>Ty(I().filter(O=>Py(O,w)));function T(w,O){let E=Vy(w)?I().find(B=>B.path===w.path):b(w)[0];if(!E)throw new Error(Vy(w)?`${O}: the element is no longer in the panel`:`${O}: nothing in the panel matches { ${Ey(w)} }`);if(E.disabled)throw new Error(`${O}: the ${E.type} is disabled`);return E}function A(w,O,E){let B=typeof w=="object"&&w!==null&&"$callback"in w?w.$callback:null;typeof B=="string"&&t(Be.event,{document:d.document,revision:d.revision,callback:B,args:O,...E===void 0?{}:{edit:E}})}await Promise.resolve(typeof e=="function"?{default:e}:e).then(w=>y.boot(w)).catch(w=>a.push({kind:"plugin",message:w instanceof Error?w.message:String(w),...w instanceof Error&&w.stack?{stack:w.stack}:{}})),await x();let D=My({host:i,controls:p,resolve:T,elements:I,dispatch:A,settled:x});return{host:i,errors:a,warnings:s,get refusals(){return i.refusals},find:w=>b(w)[0]??null,findAll:b,tree:()=>d.tree?Dp(d.tree):null,drawnTree:()=>d.tree,summary:()=>{let w=Ta(d.tree),O=I(),E=new Map(O.filter(B=>B.type==="Tabs").map(B=>[B.path,jp(B,w,p.valueOf(B))?.label??""]));return Fy(O,E)},get persisted(){let w=O=>Object.fromEntries([...u[O]].map(([E,B])=>[E,B.value]));return{plugin:w("plugin"),workspace:w("workspace"),storage:i.data().storage}},settled:x,...D,valueOf:w=>p.valueOf(T(w,"valueOf")),async emit(w,O){t(w,O),await x()},async post(w,O){m.post(w,O),await x()},async setVisible(w){c=w,t(Be.visibility,{visible:w}),await x()},async rerender(){y.rerender(),await x()},async unmount(){y.dispose(),o.clear(),f()}}}var By={workspaceId:l.string().min(1).max(2048),kind:l.enum(["worktree","folder"])},PP=l.object({...By,path:l.string().min(1).max(32*1024),branch:l.string().max(1024)}),TP=l.object({...By,path:l.string().min(1).max(32*1024)}),EP=l.object({workspaceId:l.string().min(1).max(2048).nullable(),paneKey:l.string().min(1).max(2048),terminalId:l.string().min(1).max(nt).optional(),title:l.string().max(Kr).optional(),state:l.enum(Cn),receivedAt:l.number().finite().positive(),mainAgent:l.object({state:l.enum(Cn),outcome:l.enum(Uv).optional(),stateStartedAt:l.number().finite()}).optional()}),AP=l.object({context:xp}),Zp={"workspace.created":PP,"workspace.removed":TP,"agent.status.changed":EP,"workspace.changed":AP,"editor.typography.changed":gp};var Yr=["terminal.send","workspace.create.before","workspace.create.after","agent.launch.before","agent.prompt.before","agent.tool.before","agent.tool.after","editor.save.before"],y0=Yr.length,OP={"terminal.send":Le,"workspace.create.before":Le,"workspace.create.after":Le,"agent.launch.before":Le,"agent.prompt.before":Le,"agent.tool.before":Le,"agent.tool.after":Le,"editor.save.before":Le};function Oa(e){return Yr.some(n=>n===e)}var b0=l.object({event:l.enum(Yr).meta({...ee("Hook the worker handles with `orca.hooks.on`.",Le),[Nn]:OP}),onError:l.enum(["pass","deny"]).optional().meta(ee("What Orca does when this plugin's hook throws, times out, crashes or does not start: `pass` (the default) carries on as if it passed; `deny` refuses the action, naming the plugin, so a guard fails closed. Ignored for hooks that only observe.",Le))}).strict().meta({id:"HookContribution",description:"A hook Orca runs through the worker before (or after) it acts. Requires `main` and the `trusted-worker` execution profile."});var k0=1024*1024,x0=new TextEncoder,w0=new Uint8Array(0);var O0=16*1024*1024,N0=16*1024*1024;var zP=256*1024;var U0=16*1024,Qr=16*1024*1024;var bt=2e3,Zn=l.strictObject({deny:l.string().min(1).max(500)}),DP=l.object({terminalId:l.string().min(1).max(nt),text:l.string().max(Qr),enter:l.boolean(),inputKind:l.enum(["driving","orchestration","launch"])}),CP=l.object({kind:l.enum(["worktree","folder"]),projectId:l.string().min(1).max(2048),name:l.string().min(1).max(1024),branch:l.string().min(1).max(1024).optional(),base:l.string().min(1).max(1024).optional()}),LP=l.object({workspaceId:l.string().min(1).max(2048),kind:l.enum(["worktree","folder"]),path:l.string().min(1).max(32*1024),branch:l.string().max(1024)}),jP=l.record(l.string().regex(/^[A-Za-z_][A-Za-z0-9_]*$/).max(256).refine(e=>!e.toUpperCase().startsWith("ORCA_"),"ORCA_* variables are reserved"),l.string().max(32*1024)).refine(e=>Object.keys(e).length<=64,"at most 64 variables"),UP=l.enum(["worktree","folder"]),RP=l.object({agent:l.string().min(1).max(64),workspaceId:l.string().min(1).max(2048).nullable(),workspaceKind:UP.nullable(),terminalId:l.string().min(1).max(nt).optional(),command:l.string().min(1).max(Qr),env:jP}),MP=l.object({agent:l.string().min(1).max(64).nullable(),terminalId:l.string().min(1).max(nt),prompt:l.string().max(Qr),inputKind:l.enum(["driving","orchestration","launch"])}),Hy={agent:l.string().min(1).max(64),workspaceId:l.string().min(1).max(2048).nullable(),terminalId:l.string().min(1).max(nt).optional(),tool:l.string().min(1).max(256),input:l.unknown(),callId:l.string().min(1).max(256).optional()},ZP=l.object(Hy),FP=l.object({...Hy,output:l.unknown().optional()}),VP=l.object({workspaceId:l.string().min(1).max(2048).nullable(),path:l.string().min(1).max(32*1024),languageId:l.string().min(1).max(128).optional(),text:l.string().max(Qr)}),ei={"terminal.send":{payload:DP,result:Zn,mutable:["text","enter"],deadlineMs:bt,summary:"Text Orca, the CLI or a plugin is about to send to a terminal. A person typing (on the desktop, a phone or a paired client) is never hooked, and prompts Orca submits to an agent take `agent.prompt.before` instead. Writes to one terminal stay in order while a hook decides. Rewrite `text` or `enter` with `next`, or return `{ deny }` to refuse the send."},"workspace.create.before":{payload:CP,result:Zn,mutable:["name","branch","base"],deadlineMs:bt,summary:"A worktree or folder workspace is about to be created. Change `name`, `branch` or `base` with `next`, or return `{ deny }` to refuse it."},"workspace.create.after":{payload:LP,result:null,mutable:[],deadlineMs:bt,summary:"A worktree or folder workspace was created. Observe only: Orca does not wait for it, and results are ignored."},"agent.launch.before":{payload:RP,result:Zn,mutable:["command","env"],deadlineMs:bt,summary:"Orca is about to start an agent CLI in a terminal, from any launcher (new tab, workspace create, CLI, automation, orchestration). Change `command` or add `env` with `next`, or return `{ deny }` to refuse the launch. Restores of saved sessions are not hooked."},"agent.prompt.before":{payload:MP,result:Zn,mutable:["prompt"],deadlineMs:bt,summary:"Orca is about to submit a prompt to an agent in a terminal: a launch prompt, an orchestration dispatch, an issue or task prompt, or `orca terminal send` to an agent. A prompt a person submits is never hooked, and writes to one terminal stay in order while it decides. Rewrite `prompt` with `next`, or return `{ deny }` to refuse it."},"agent.tool.before":{payload:ZP,result:Zn,mutable:["input"],deadlineMs:bt,summary:"An agent in an Orca terminal is about to run a tool. Claude Code waits for the answer: return `{ deny }` to refuse the call (the agent sees the reason) or change `input` with `next`; the person is still asked as usual. Other agents only report the call, so their results are ignored. Agents on SSH or WSL hosts are not hooked yet."},"agent.tool.after":{payload:FP,result:null,mutable:[],deadlineMs:bt,summary:"An agent in an Orca terminal finished a tool call (successfully or not). Observe only: Orca does not wait for it."},"editor.save.before":{payload:VP,result:Zn,mutable:["text"],deadlineMs:bt,summary:"The person is about to save a text file from an Orca editor tab (an explicit save, not autosave). Change `text` with `next` (format on save) or return `{ deny }` to refuse the save, which shows your reason. Edits made while the hook ran stay unsaved."}};var Na=class{constructor(n){this.event=n}event},H0=l.object({event:l.enum(Yr),payload:l.unknown()}),Wy=l.discriminatedUnion("decision",[l.object({decision:l.literal("continue"),payload:l.unknown()}),l.object({decision:l.literal("result"),result:l.unknown()})]);async function Ky(e,n){let i=n;for(let o of e){let r=await o(i,a=>new Na(a??i));if(r instanceof Na)i=r.event;else if(r!=null)return{decision:"result",result:r}}return{decision:"continue",payload:i}}function GP(e){return e instanceof Error?e.message:String(e)}function Jy(e,n,i="timed out"){let o,t=new Promise((r,a)=>{o=setTimeout(()=>a(new Error(`${i} after ${n}ms`)),n)});return Promise.race([e,t]).finally(()=>clearTimeout(o))}function BP(e,n,i){let o=ei[e];if(!Re(n)||!Re(i))return{ok:!1,reason:"next() was given something other than the event object"};let t={...n};for(let a of o.mutable)Object.hasOwn(i,a)&&(t[a]=i[a]);let r=o.payload.safeParse(t);return r.success?{ok:!0,payload:r.data}:{ok:!1,reason:r.error.issues[0]?.message??"invalid change"}}var Fp=class extends Error{};async function Xy(e){let{event:n}=e,i=ei[n],o=e.deadlineMs??i.deadlineMs,t=e.payload;for(let r of e.participants){let a=e.now(),s=()=>Math.round(e.now()-a),u=i.result!==null&&e.failsClosed?.(r)===!0,c=(f,g=!1)=>u&&!g?(e.log(r,`hook ${n} denied after ${s()}ms (onError: deny): ${f}`),{kind:"deny",pluginKey:r,reason:`${r} failed and denies on error: ${f}`}):(e.log(r,`hook ${n} skipped after ${s()}ms: ${f}`),null),d;try{if(e.start){let f=e.startTimeoutMs??o;await Jy(e.start(r),f,"worker did not start")}d=await Jy(e.invoke(r,t,o),o)}catch(f){let g=c(GP(f),f instanceof Fp);if(g)return g;continue}let p=Wy.safeParse(d);if(!p.success){let f=c("the worker answered with something other than a hook decision");if(f)return f;continue}if(p.data.decision==="continue"){let f=BP(n,t,p.data.payload);f.ok?t=f.payload:e.log(r,`hook ${n}: change ignored: ${f.reason}`);continue}if(i.result===null)continue;let m=i.result.safeParse(p.data.result);if(!m.success){if(u){let f=c(`malformed result: ${m.error.issues[0]?.message??"invalid"}`);if(f)return f}e.log(r,`hook ${n}: result ignored: return next(event) or { deny: reason }`);continue}return{kind:"deny",pluginKey:r,reason:m.data.deny}}return{kind:"continue",payload:t}}function HP(e){return typeof e!="object"||e===null||!("workspaceId"in e)||"worktreeId"in e?e:{...e,worktreeId:e.workspaceId}}function ti(e,n){return typeof e=="object"&&e!==null&&n in e?Object.getOwnPropertyDescriptor(e,n)?.value:void 0}function za(e,n){return e.add(n),{dispose:()=>{e.delete(n)}}}var WP=new Set(Jr("worker"));function qy(){return{commands:new Map,events:new Map,hooks:new Map,panelRequests:new Map,dataListeners:{storage:new Set,settings:new Set}}}function Yy(e){let{tables:n,hostCall:i}=e,o=async(t,r)=>{await i(t,r)};return Object.freeze({api:Object.freeze({major:Ue,minor:ty}),commands:Object.freeze({register(t,r){return n.commands.set(t,r),{dispose:()=>{n.commands.delete(t)}}}}),events:Object.freeze({on(t,r){let a=ha.get(t)??t,s=n.events.get(a)??new Set;n.events.set(a,s);let u=a!==t||t==="agent.status.changed",c=za(s,p=>r(u?HP(p):p));if(t!=="workspace.changed")return c;let d=!0;return i("workspace.readContext").then(p=>d&&r({context:p})).catch(()=>{}),{dispose:()=>{d=!1,c.dispose()}}}}),hooks:Object.freeze({on(t,r){if(!Oa(t))throw new TypeError(`orca.hooks.on: unknown hook ${String(t)}`);if(typeof r!="function")throw new TypeError("orca.hooks.on needs a handler function");let a=n.hooks.get(t)??new Set;return n.hooks.set(t,a),za(a,r)}}),host:Object.freeze({call:(t,r,a)=>i(t,r,a),has:t=>WP.has(t)}),panels:Object.freeze({handle(t,r){if(vt.parse(t),typeof r!="function")throw new TypeError("orca.panels.handle needs a handler function");return n.panelRequests.set(t,r),{dispose:()=>{n.panelRequests.get(t)===r&&n.panelRequests.delete(t)}}},post(t,r,a){vt.parse(t),e.postToPanels({event:t,payload:r,...a?.panel?{panel:a.panel}:{}})}}),storage:Object.freeze({get:async t=>ti(await i("storage.get",{key:t}),"value")??null,set:(t,r)=>o("storage.set",{key:t,value:r}),delete:t=>o("storage.delete",{key:t}),keys:async()=>{let t=ti(await i("storage.keys"),"keys");return Array.isArray(t)?t.filter(r=>typeof r=="string"):[]},onDidChange:t=>za(n.dataListeners.storage,t)}),settings:Object.freeze({get:async t=>{let r=ti(await i("settings.get"),"settings"),a=typeof r=="object"&&r!==null?{...r}:{};return t===void 0?a:ti(a,t)},set:(t,r)=>o("settings.set",{key:t,value:r}),onDidChange:t=>za(n.dataListeners.settings,t)}),secrets:Object.freeze({get:async t=>{let r=ti(await i("secrets.get",{key:t}),"value");return typeof r=="string"?r:null},set:(t,r)=>o("secrets.set",{key:t,value:r}),delete:t=>o("secrets.delete",{key:t})}),grantedCapabilities:Object.freeze([...e.grantedCapabilities]),log:t=>e.log(String(t))})}var Qy={id:"test-panel",surface:"panel",contributionId:"panel"};function KP(e){return Object.hasOwn(Zp,e)}function JP(e){return e instanceof Error?e.message:String(e)}async function eb(e,n){let{host:i}=n,o=new Set(n.events),t=n.hooks.map(b=>typeof b=="string"?{event:b}:b),r=new Set(t.map(b=>b.event)),a=new Set(t.filter(b=>b.onError==="deny").map(b=>b.event)),s=qy(),u=[],c=[],d=!0,p=e.default;if(typeof p!="function")throw new TypeError(typeof e.activate=="function"?"mountWorker: the module exports activate by name, but Orca calls the default export: write `export default function activate(orca)`":"mountWorker: the module has no default-exported activate(orca) function");let m=e.deactivate;if(m!==void 0&&typeof m!="function")throw new TypeError("mountWorker: the module exports a deactivate that is not a function");let f=Yy({tables:s,hostCall:(b,T)=>i.worker.call(b,T),postToPanels:b=>{c.push(b)},log:b=>{u.push(b)},grantedCapabilities:i.capabilities}),g=i.onDataChange((b,T)=>{for(let A of s.dataListeners[b])A({key:T})});await p(f);let y=n.commands?[...s.commands.keys()].find(b=>!n.commands?.includes(b)):void 0;if(y!==void 0)throw new Error(`registered undeclared command ${y}: list it in contributes.commands`);async function x(b,T,A){let D=s.panelRequests.get(b);if(!D)throw He("unknown_method",`no panel handler named ${b}`);let w={...Qy,contributionId:A??Qy.contributionId};return D(T,{panel:w,signal:new AbortController().signal})}let I=i.routeRequests((b,T)=>x(b,T));return{host:i,logs:u,posts:c,get refusals(){return i.refusals},async emit(b,T){if(!KP(b))throw new Error(`emit: "${b}" is not an event Orca sends to workers`);if(!o.has(b))throw new Error(`emit: "${b}" never arrives: it is not in contributes.events`);let A=Zp[b].safeParse(T);if(!A.success)throw new TypeError(`emit: that ${b} payload is not one Orca sends: ${A.error.issues[0]?.message??""}`);let D=s.events.get(ha.get(b)??b)??[];await Promise.all([...D].map(async w=>w(A.data))),await i.idle()},hooks:{async fire(b,T){if(!Oa(b))throw new Error(`hooks.fire: "${b}" is not a hook Orca runs`);if(!r.has(b))throw new Error(`hooks.fire: "${b}" never runs: it is not in contributes.hooks`);let A=ei[b].payload.safeParse(T);if(!A.success)throw new TypeError(`hooks.fire: that ${b} event is not one Orca sends: ${A.error.issues[0]?.message??""}`);let D=await Xy({event:b,payload:A.data,participants:["worker"],invoke:(w,O)=>Ky(s.hooks.get(b)??[],O),log:(w,O)=>{u.push(O)},now:()=>performance.now(),failsClosed:()=>a.has(b)});return await i.idle(),D.kind==="deny"?{kind:"deny",reason:D.reason}:{kind:"continue",event:D.payload}}},async command(b,T){let A=s.commands.get(b);if(!A)throw new Error(`command: the worker registered no "${b}"`);let D=await A(T,{signal:new AbortController().signal});return await i.idle(),D},async request(b,T,A={}){let D=await x(b,T,A.panel);return await i.idle(),D},async deactivate(){if(d){d=!1,g(),I(),s.events.clear(),s.hooks.clear(),s.commands.clear(),s.panelRequests.clear();try{await(typeof m=="function"?m():void 0)}catch(b){throw new Error(`deactivate threw: ${JP(b)}`,{cause:b})}await i.idle()}}}}import{test as dj,describe as pj,beforeEach as mj,afterEach as fj}from"node:test";import{default as hj}from"node:assert/strict";import{runInThisContext as rT}from"node:vm";function tb(e){if(typeof e!="object"||e===null||!("on"in e)||!("document"in e))return!1;let n=e.document;return typeof e.on=="function"&&typeof n=="object"&&n!==null&&"session"in n&&typeof n.session=="function"&&"applyEdit"in n&&typeof n.applyEdit=="function"}var We=1;var Gp=["invalid_request","invalid_params","unknown_method","capability_denied","consent_required","not_permitted","rate_limited","unavailable","action_failed","cancelled","timeout","conflict","too_large"],XP=new Set(["rate_limited","unavailable","timeout","conflict"]);function qP(e){return Gp.find(n=>n===e)??"action_failed"}function _t(e,n,i){let o=qP(e);return{code:o,message:n.slice(0,8192),retryable:XP.has(o),...i===void 0?{}:{retryAfterMs:i}}}var Vp=l.number().int().nonnegative(),nb=l.string().min(1).max(128),YP=l.object({code:l.string().max(64),message:l.string().max(8192),retryable:l.boolean(),retryAfterMs:l.number().int().nonnegative().optional()}),hL=l.discriminatedUnion("kind",[l.object({orca:l.literal(We),kind:l.literal("req"),id:Vp,method:nb,params:l.unknown().optional()}),l.object({orca:l.literal(We),kind:l.literal("res"),id:Vp,result:l.unknown().optional(),error:YP.optional()}),l.object({orca:l.literal(We),kind:l.literal("evt"),event:nb,payload:l.unknown().optional()}),l.object({orca:l.literal(We),kind:l.literal("cancel"),id:Vp})]);var Gt={ready:"ready",hello:"hello",theme:"theme",ping:"ping",pong:"pong",editorKeydown:"editor.keydown",editorDocument:"editor.document",editorSubscribed:"editor.subscribed",editorMerges:"editor.merges",push:"plugin.push"},Fn={applyEdit:"editor.applyEdit",flush:"editor.flush"},rb=64*1024;var QP=l.string().min(32).max(128),$L=l.object({sessionToken:QP,action:l.string().min(1),params:l.unknown().optional()}).strict();var Bp=64*1024*1024,PL=16*1024*1024;var Hp=1e3,eT=l.strictObject({baseVersion:l.number().int().nonnegative(),content:l.discriminatedUnion("kind",[l.strictObject({kind:l.literal("text"),text:l.string()}),l.strictObject({kind:l.literal("bytes"),bytes:l.instanceof(ArrayBuffer)})])});function ib(e){let n=eT.safeParse(e);return n.success?n.data:null}var Wp=_t("conflict","The file changed outside this editor; edit the latest document."),ob=_t("too_large","The edit is larger than Orca accepts; the file keeps its last accepted edit.");var ab="__orcaPluginFrameTransport",sb="__orcaDeclarativePost";var ub=` var domainEvents = ${JSON.stringify(ht)} var subscribed = new Set() var pluginListeners = new Map() @@ -106,7 +106,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs. var params = { name: String(name) } if (input !== undefined) params.input = input if (typeof o.timeoutMs === 'number' && o.timeoutMs > 0) { - params.timeoutMs = Math.min(Math.ceil(o.timeoutMs), ${da}) + params.timeoutMs = Math.min(Math.ceil(o.timeoutMs), ${va}) } return call('plugin.request', params, { signal: o.signal }).then(pick('output')) }, @@ -136,7 +136,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs. set: function (key, value) { return call('secrets.set', { key: String(key), value: String(value) }).then(done) }, delete: function (key) { return call('secrets.delete', { key: String(key) }).then(done) } }) -`;var Fy=` +`;var cb=` function start() { if (helloSeen && latest) starting.splice(0).forEach(function (resolve) { resolve(latest) }) } @@ -359,7 +359,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs. }) }) } -`;var By="orca-design-tokens";function gP(e,n){let i=ha(e,n!=="parent"),o=JSON.stringify({protocol:Ke,surface:e,api:{major:Ue,minor:va(i)},methods:i,codes:jp,events:Ft,editor:Vn,user:n==="guest"?hp:null,tokensStyleId:By,maxPending:256,deadlineMs:12e4,userDeadlineMs:30*6e4,userMethodList:Object.values(hp),transportGlobal:n==="parent"?null:Zy,declarativePost:n==="declarative-guest"?Vy:null}).replaceAll("<","\\u003c");return`;(function (C) { +`;var lb="orca-design-tokens";function tT(e,n){let i=$a(e,n!=="parent"),o=JSON.stringify({protocol:We,surface:e,api:{major:Ue,minor:ka(i)},methods:i,codes:Gp,events:Gt,editor:Fn,user:n==="guest"?wp:null,tokensStyleId:lb,maxPending:256,deadlineMs:12e4,userDeadlineMs:30*6e4,userMethodList:Object.values(wp),transportGlobal:n==="parent"?null:ab,declarativePost:n==="declarative-guest"?sb:null}).replaceAll("<","\\u003c");return`;(function (C) { var E = C.events var nextId = 0 var pending = new Map() @@ -494,7 +494,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs. }), on: on } -${Gy} if (C.user) { +${ub} if (C.user) { orca.shell = Object.freeze({ openExternal: function (url) { return userCall(C.user.openExternal, { url: String(url) }) } }) @@ -517,7 +517,7 @@ ${Gy} if (C.user) { Object.defineProperty(orca, 'locale', { get: function () { return locale || navigator.language }, enumerable: true }) -${Fy} if (C.surface === 'editor') { +${cb} if (C.surface === 'editor') { window.addEventListener('keydown', function (event) { if (event.repeat || !(event.metaKey || event.ctrlKey)) return post({ kind: 'evt', event: E.editorKeydown, payload: { @@ -535,16 +535,16 @@ ${Fy} if (C.surface === 'editor') { } post({ kind: 'evt', event: E.ready, payload: { protocol: C.protocol } }) })(${o}) -`}function Hy(e,n="panel",i={}){let o=i.declarative?"declarative-guest":"guest",t=i.theme,r=t?.colorScheme==="light"||t?.colorScheme==="dark"?t.colorScheme:"",a=typeof t?.tokens=="string"?t.tokens.replace(/[{}<>]/g,""):"";return` +`}function db(e,n="panel",i={}){let o=i.declarative?"declarative-guest":"guest",t=i.theme,r=t?.colorScheme==="light"||t?.colorScheme==="dark"?t.colorScheme:"",a=typeof t?.tokens=="string"?t.tokens.replace(/[{}<>]/g,""):"";return` - + +${tT(n,o)} -${e}`}var hP=new TextEncoder;function Mp(e,n){return e.length>n?n+1:hP.encode(e).byteLength}function Ky(e,n=Uy,i={}){let o=i.maxObjects??1e4,t=i.maxDepth??100,r=new WeakSet,a=0,s=0,c=d=>{a=Math.min(n+1,a+d)},u=(d,p)=>{if(a>n)return;if(d===null){c(1);return}switch(typeof d){case"undefined":case"boolean":c(1);return;case"number":c(8);return;case"bigint":c(Mp(d.toString(),n-a));return;case"string":c(Mp(d,n-a));return;case"symbol":case"function":a=n+1;return;case"object":break}let m=d;if(r.has(m)){c(8);return}if(r.add(m),s+=1,s>o||p>t){a=n+1;return}if(m instanceof ArrayBuffer){c(m.byteLength);return}if(typeof SharedArrayBuffer<"u"&&m instanceof SharedArrayBuffer){c(m.byteLength);return}if(ArrayBuffer.isView(m)){c(16),u(m.buffer,p+1);return}if(typeof Blob<"u"&&m instanceof Blob){c(m.size);return}if(m instanceof Date){c(8);return}if(m instanceof RegExp){u(m.source,p+1),u(m.flags,p+1);return}if(m instanceof Map){c(8);for(let[f,g]of m)if(c(4),u(f,p+1),u(g,p+1),a>n)return;return}if(m instanceof Set){c(8);for(let f of m)if(c(4),u(f,p+1),a>n)return;return}if(Array.isArray(m)){c(8);for(let f of m)if(c(4),u(f,p+1),a>n)return;return}try{let f=Object.getPrototypeOf(m);if(f!==Object.prototype&&f!==null){a=n+1;return}for(let g of Object.keys(m))if(c(4),c(Mp(g,n-a)),u(m[g],p+1),a>n)return}catch{a=n+1}};return u(e,0),a}var yP=e=>typeof e=="object"&&e!==null,Wy=/' } as never - ) - expect(denyInlineHtmlEvent.preventDefault).toHaveBeenCalledTimes(1) - - const guest = { marker: 'guest' } - fire('did-attach-webview', {} as never, guest as never) - expect(attachGuestPoliciesMock).toHaveBeenCalledWith(guest) - expect(attachRouteGuestMock).toHaveBeenCalledWith(guest) - expect(attachGuestPoliciesMock.mock.invocationCallOrder[0]).toBeLessThan( - attachRouteGuestMock.mock.invocationCallOrder[0] - ) - - const untrustedPreloadParams = { - src: 'data:text/html,', - preload: 'file:///tmp/untrusted-preload.js' - } - const hardenedPrefs = { - partition: 'persist:orca-browser', - preload: '/tmp/untrusted-preload.js' - } - fire( - 'will-attach-webview', - { preventDefault: vi.fn() } as never, - hardenedPrefs as never, - untrustedPreloadParams as never - ) - expect(untrustedPreloadParams.preload).toBeUndefined() - expect(hardenedPrefs.preload).toMatch(/browser-guest-preload\.js$/) - expect(hardenedPrefs.preload).not.toContain('untrusted-preload') - - const secondGuest = { marker: 'second-guest' } - fire('did-attach-webview', {} as never, secondGuest as never) - expect(attachGuestPoliciesMock).toHaveBeenLastCalledWith(secondGuest) - expect(attachRouteGuestMock).toHaveBeenLastCalledWith(secondGuest) - }) - - // Stamp host identity before the first session snapshot; sendSync cannot answer before listener registration. - it('stamps the browser host id into the renderer that owns the guests, and strips it from a guest that carries one', () => { - const windowHandlers: Record void> = {} - const webContents = { - getURL: vi.fn(() => 'file:///opt/orca/renderer/index.html'), - isDestroyed: vi.fn(() => false), - mainFrame: {}, - on: vi.fn((event, handler) => { - windowHandlers[event] = handler - }), - once: vi.fn((event, handler) => { - windowHandlers[event] = handler - }), - setZoomLevel: vi.fn(), - setBackgroundThrottling: vi.fn(), - setWebRTCIPHandlingPolicy: vi.fn(), - invalidate: vi.fn(), - setWindowOpenHandler: vi.fn(), - send: vi.fn(), - isDevToolsOpened: vi.fn(), - openDevTools: vi.fn(), - closeDevTools: vi.fn() - } - browserWindowMock.mockImplementation(function () { - return { - webContents, - on: vi.fn(), - isDestroyed: vi.fn(() => false), - isMaximized: vi.fn(() => true), - isFullScreen: vi.fn(() => false), - getSize: vi.fn(() => [1200, 800]), - setSize: vi.fn(), - maximize: vi.fn(), - show: vi.fn(), - loadFile: vi.fn(() => Promise.resolve()), - loadURL: vi.fn(() => Promise.resolve()) - } - }) - - createMainWindow(null) - - const stamped = browserWindowMock.mock.calls[0]?.[0].webPreferences?.additionalArguments - expect(stamped).toEqual([formatBrowserClientHostIdArgument(getBrowserClientHostId())]) - expect(readBrowserClientHostIdArgument(stamped ?? [])).toBe(getBrowserClientHostId()) - - // Electron 43 does not inherit embedder arguments; inject a hostile stamp to prove the handler strips it. - const guestPreferences = { - partition: 'persist:orca-browser', - additionalArguments: [...(stamped ?? [])] - } - windowHandlers['will-attach-webview']( - { preventDefault: vi.fn() } as never, - guestPreferences as never, - { src: 'data:text/html,' } as never - ) - - expect(guestPreferences.additionalArguments).toBeUndefined() - }) - - it('keeps macOS background throttling enabled while repainting visibility transitions', () => { - vi.useFakeTimers() - const windowHandlers = new Map void)[]>() - let windowSize: [number, number] = [1200, 800] - const webContents = { - on: vi.fn(), - setZoomLevel: vi.fn(), - setBackgroundThrottling: vi.fn(), - setWebRTCIPHandlingPolicy: vi.fn(), - invalidate: vi.fn(), - isDestroyed: vi.fn(() => false), - setWindowOpenHandler: vi.fn(), - send: vi.fn(), - isDevToolsOpened: vi.fn(), - openDevTools: vi.fn(), - closeDevTools: vi.fn() - } - const browserWindowInstance = { - webContents, - on: vi.fn((event: string, handler: (...args: any[]) => void) => { - const handlers = windowHandlers.get(event) ?? [] - handlers.push(handler) - windowHandlers.set(event, handlers) - }), - isDestroyed: vi.fn(() => false), - isMaximized: vi.fn(() => false), - isFullScreen: vi.fn(() => false), - getSize: vi.fn(() => windowSize), - setSize: vi.fn((width: number, height: number) => { - windowSize = [width, height] - }), - maximize: vi.fn(), - show: vi.fn(), - loadFile: vi.fn(() => Promise.resolve()), - loadURL: vi.fn(() => Promise.resolve()) - } - browserWindowMock.mockImplementation(function () { - return browserWindowInstance - }) - - withPlatform('darwin', () => createMainWindow(null)) - - expect(webContents.setBackgroundThrottling).toHaveBeenCalledWith(true) - expect(webContents.setBackgroundThrottling).not.toHaveBeenCalledWith(false) - // Each: the repaint listener, then the window-activity relay (main-window-activity.ts). - expect(windowHandlers.get('restore')).toHaveLength(2) - expect(windowHandlers.get('show')).toHaveLength(2) - expect(windowHandlers.get('focus')).toHaveLength(2) - - windowHandlers.get('show')?.[0]?.() - windowHandlers.get('restore')?.[0]?.() - - expect(webContents.invalidate).toHaveBeenCalledTimes(2) - // Defer size nudges outside show/restore dispatch. - expect(browserWindowInstance.setSize).not.toHaveBeenCalled() - - vi.advanceTimersByTime(0) - expect(browserWindowInstance.setSize).toHaveBeenNthCalledWith(1, 1201, 800) - expect(browserWindowInstance.setSize).toHaveBeenCalledTimes(1) - - vi.advanceTimersByTime(32) - expect(browserWindowInstance.setSize).toHaveBeenNthCalledWith(2, 1200, 800) - - vi.advanceTimersByTime(217) - expect(webContents.invalidate).toHaveBeenCalledTimes(2) - - vi.advanceTimersByTime(1) - expect(webContents.invalidate).toHaveBeenCalledTimes(3) - - // Focus only invalidates; size jiggles would resize terminals on every focus. - const setSizeCalls = browserWindowInstance.setSize.mock.calls.length - windowHandlers.get('focus')?.[0]?.() - expect(webContents.invalidate).toHaveBeenCalledTimes(4) - expect(browserWindowInstance.setSize).toHaveBeenCalledTimes(setSizeCalls) - }) - - it('runs a full repaint when the renderer relays a genuine window reveal (STA-2383)', () => { - vi.useFakeTimers() - const windowHandlers = new Map void)[]>() - let windowSize: [number, number] = [1200, 800] - const webContents = { - on: vi.fn(), - setZoomLevel: vi.fn(), - setBackgroundThrottling: vi.fn(), - setWebRTCIPHandlingPolicy: vi.fn(), - invalidate: vi.fn(), - isDestroyed: vi.fn(() => false), - setWindowOpenHandler: vi.fn(), - send: vi.fn(), - isDevToolsOpened: vi.fn(), - openDevTools: vi.fn(), - closeDevTools: vi.fn() - } - const browserWindowInstance = { - webContents, - on: vi.fn((event: string, handler: (...args: any[]) => void) => { - const handlers = windowHandlers.get(event) ?? [] - handlers.push(handler) - windowHandlers.set(event, handlers) - }), - isDestroyed: vi.fn(() => false), - isMaximized: vi.fn(() => false), - isFullScreen: vi.fn(() => false), - getSize: vi.fn(() => windowSize), - setSize: vi.fn((width: number, height: number) => { - windowSize = [width, height] - }), - maximize: vi.fn(), - show: vi.fn(), - loadFile: vi.fn(() => Promise.resolve()), - loadURL: vi.fn(() => Promise.resolve()) - } - browserWindowMock.mockImplementation(function () { - return browserWindowInstance - }) - - withPlatform('darwin', () => createMainWindow(null)) - - const revealHandler = vi - .mocked(ipcMain.on) - .mock.calls.find(([channel]) => channel === 'ui:window-revealed')?.[1] - expect(revealHandler).toBeTypeOf('function') - - // A reveal from another WebContents must not repaint this window. - revealHandler?.({ sender: {} } as never) - expect(browserWindowInstance.setSize).not.toHaveBeenCalled() - expect(webContents.invalidate).not.toHaveBeenCalled() - - // Genuine reveal uses the pre-Tahoe jiggle that bare focus avoids. - revealHandler?.({ sender: webContents } as never) - expect(webContents.invalidate).toHaveBeenCalledTimes(1) - // Defer compositor nudge outside event dispatch. - expect(browserWindowInstance.setSize).not.toHaveBeenCalled() - vi.advanceTimersByTime(0) - expect(browserWindowInstance.setSize).toHaveBeenNthCalledWith(1, 1201, 800) - vi.advanceTimersByTime(32) - expect(browserWindowInstance.setSize).toHaveBeenNthCalledWith(2, 1200, 800) - - // Coalesce reveal jiggles so repeated signals do not multiply terminal resizes. - revealHandler?.({ sender: webContents } as never) - revealHandler?.({ sender: webContents } as never) - expect(webContents.invalidate).toHaveBeenCalledTimes(3) - vi.advanceTimersByTime(0) - expect(browserWindowInstance.setSize).toHaveBeenNthCalledWith(3, 1201, 800) - expect(browserWindowInstance.setSize).toHaveBeenCalledTimes(3) - - // Never restore stale bounds over a concurrent user resize. - windowSize = [1400, 900] - vi.advanceTimersByTime(32) - expect(browserWindowInstance.setSize).toHaveBeenCalledTimes(3) - - windowHandlers.get('closed')?.[0]?.() - expect(ipcMain.removeListener).toHaveBeenCalledWith('ui:window-revealed', revealHandler) - }) - - it('repaints without the size nudge on macOS 26+ where re-entrant frame updates can deadlock AppKit', () => { - vi.useFakeTimers() - macosTahoeMock.value = true - const windowHandlers = new Map void)[]>() - const webContents = { - on: vi.fn(), - setZoomLevel: vi.fn(), - setBackgroundThrottling: vi.fn(), - setWebRTCIPHandlingPolicy: vi.fn(), - invalidate: vi.fn(), - isDestroyed: vi.fn(() => false), - setWindowOpenHandler: vi.fn(), - send: vi.fn(), - isDevToolsOpened: vi.fn(), - openDevTools: vi.fn(), - closeDevTools: vi.fn() - } - const browserWindowInstance = { - webContents, - on: vi.fn((event: string, handler: (...args: any[]) => void) => { - const handlers = windowHandlers.get(event) ?? [] - handlers.push(handler) - windowHandlers.set(event, handlers) - }), - isDestroyed: vi.fn(() => false), - isMaximized: vi.fn(() => false), - isFullScreen: vi.fn(() => false), - getSize: vi.fn(() => [1200, 800]), - setSize: vi.fn(), - maximize: vi.fn(), - show: vi.fn(), - loadFile: vi.fn(() => Promise.resolve()), - loadURL: vi.fn(() => Promise.resolve()) - } - browserWindowMock.mockImplementation(function () { - return browserWindowInstance - }) - - withPlatform('darwin', () => createMainWindow(null)) - - windowHandlers.get('show')?.[0]?.() - expect(webContents.invalidate).toHaveBeenCalledTimes(1) - - // Tahoe's delayed repaint must also avoid setSize. - vi.advanceTimersByTime(300) - expect(webContents.invalidate).toHaveBeenCalledTimes(2) - expect(browserWindowInstance.setSize).not.toHaveBeenCalled() - }) - - it('invalidates a maximized macOS 26 window without changing its frame', () => { - vi.useFakeTimers() - macosTahoeMock.value = true - const windowHandlers = new Map void)[]>() - const webContents = { - on: vi.fn(), - setZoomLevel: vi.fn(), - setBackgroundThrottling: vi.fn(), - setWebRTCIPHandlingPolicy: vi.fn(), - invalidate: vi.fn(), - isDestroyed: vi.fn(() => false), - setWindowOpenHandler: vi.fn(), - send: vi.fn(), - isDevToolsOpened: vi.fn(), - openDevTools: vi.fn(), - closeDevTools: vi.fn() - } - const browserWindowInstance = { - webContents, - on: vi.fn((event: string, handler: (...args: any[]) => void) => { - const handlers = windowHandlers.get(event) ?? [] - handlers.push(handler) - windowHandlers.set(event, handlers) - }), - isDestroyed: vi.fn(() => false), - isMaximized: vi.fn(() => true), - isFullScreen: vi.fn(() => true), - getSize: vi.fn(() => [1200, 800]), - setSize: vi.fn(), - maximize: vi.fn(), - show: vi.fn(), - loadFile: vi.fn(() => Promise.resolve()), - loadURL: vi.fn(() => Promise.resolve()) - } - browserWindowMock.mockImplementation(function () { - return browserWindowInstance - }) - - withPlatform('darwin', () => createMainWindow(null)) - - windowHandlers.get('show')?.[0]?.() - vi.advanceTimersByTime(300) - - expect(webContents.invalidate).toHaveBeenCalledTimes(2) - expect(browserWindowInstance.setSize).not.toHaveBeenCalled() - }) - - it('invalidates without frame or device emulation when macOS 26 wakes from sleep', () => { - vi.useFakeTimers() - macosTahoeMock.value = true - const windowHandlers = new Map void)[]>() - const webContents = { - on: vi.fn(), - setZoomLevel: vi.fn(), - setBackgroundThrottling: vi.fn(), - setWebRTCIPHandlingPolicy: vi.fn(), - invalidate: vi.fn(), - isDestroyed: vi.fn(() => false), - setWindowOpenHandler: vi.fn(), - send: vi.fn(), - isDevToolsOpened: vi.fn(), - openDevTools: vi.fn(), - closeDevTools: vi.fn(), - enableDeviceEmulation: vi.fn(), - disableDeviceEmulation: vi.fn() - } - const browserWindowInstance = { - webContents, - on: vi.fn((event: string, handler: (...args: any[]) => void) => { - const handlers = windowHandlers.get(event) ?? [] - handlers.push(handler) - windowHandlers.set(event, handlers) - }), - isDestroyed: vi.fn(() => false), - isMaximized: vi.fn(() => false), - isFullScreen: vi.fn(() => false), - getSize: vi.fn(() => [1200, 800]), - setSize: vi.fn(), - maximize: vi.fn(), - show: vi.fn(), - loadFile: vi.fn(() => Promise.resolve()), - loadURL: vi.fn(() => Promise.resolve()) - } - browserWindowMock.mockImplementation(function () { - return browserWindowInstance - }) - - withPlatform('darwin', () => createMainWindow(null)) - - const resumeHandler = powerMonitorOnMock.mock.calls.find( - ([event]) => event === 'resume' - )?.[1] as (() => void) | undefined - expect(resumeHandler).toBeDefined() - resumeHandler?.() - - expect(webContents.invalidate).toHaveBeenCalled() - vi.advanceTimersByTime(300) - expect(browserWindowInstance.setSize).not.toHaveBeenCalled() - expect(webContents.enableDeviceEmulation).not.toHaveBeenCalled() - expect(webContents.disableDeviceEmulation).not.toHaveBeenCalled() - }) -}) diff --git a/src/main/window/createMainWindow.ts b/src/main/window/createMainWindow.ts index 920bbe305d8..b3bbef5bd24 100644 --- a/src/main/window/createMainWindow.ts +++ b/src/main/window/createMainWindow.ts @@ -8,10 +8,10 @@ import { formatBrowserClientHostIdArgument } from '../../shared/browser/client-h import { formatWindowMaterialArgument, resolveWindowMaterial } from '../../shared/window-material' import { windowMaterialOptions } from './window-material-options' import { rememberWindowMaterial } from './window-material-suppression' -import { markSystemSessionEnding } from '../crash-reporting/expected-teardown-state' -import { recordDurableCrashBreadcrumb } from '../crash-reporting/durable-crash-breadcrumb' +import { markSystemSessionEnding } from '../crash-reporting/process-exits/expected-teardown-state' +import { recordDurableCrashBreadcrumb } from '../crash-reporting/breadcrumbs/durable-crash-breadcrumb' import { clearTrustedUIRendererWebContentsId, setTrustedUIRendererWebContentsId } from '../ipc/ui' -import { flushUnsavedCloudSessions } from '../orca-profiles/profile-cloud-session-owner' +import { flushUnsavedCloudSessions } from '../orca-profiles/cloud-session/profile-cloud-session-owner' import type { Store } from '../persistence/loading-store/store' import { closeDashboardPopout } from './dashboard-popout-window' import { closeWorkspaceSpaceWindow } from './workspace-space-window' @@ -88,6 +88,7 @@ export function createMainWindow( ) } const savedMaximized = store?.getUI().windowMaximized ?? false + const savedFullScreen = store?.getUI().windowFullScreen ?? false // Fill the primary work area on first launch; later launches honor saved bounds. const defaultBounds = (() => { try { @@ -203,6 +204,7 @@ export function createMainWindow( mainWindow, revealOnDidFinishLoad: opts?.revealOnDidFinishLoad === true, savedMaximized, + savedFullScreen, store }) installMainWindowWebviewSecurity(mainWindow) diff --git a/src/main/window/dashboard-popout-window.ts b/src/main/window/dashboard-popout-window.ts index bca82a47af1..2da942050a3 100644 --- a/src/main/window/dashboard-popout-window.ts +++ b/src/main/window/dashboard-popout-window.ts @@ -15,6 +15,7 @@ import { type KeybindingOverrides } from '../../shared/keybindings' import { wslHostsWindowArguments } from '../wsl/host-lifecycle/wsl-host-gate' +import { isMacAppPasteInput } from './mac-app-paste-input' const MIN_WIDTH = 480 const MIN_HEIGHT = 360 @@ -192,8 +193,14 @@ export function createOrFocusDashboardPopout( } }) - // No renderer shortcut routing exists here; handle zoom chords and yield everything else. + // No renderer shortcut routing exists here; handle paste and zoom chords and yield everything else. window.webContents.on('before-input-event', (event, input) => { + if (isMacAppPasteInput(input)) { + // Kitty-mode xterm encodes Cmd+V as CSI u and consumes it, so the Edit menu accelerator never fires. + event.preventDefault() + window.webContents.send('ui:appMenuPaste') + return + } if (input.type !== 'keyDown') { return } diff --git a/src/main/window/editable-context-menu.ts b/src/main/window/editable-context-menu.ts index bceda064514..3322028eec1 100644 --- a/src/main/window/editable-context-menu.ts +++ b/src/main/window/editable-context-menu.ts @@ -172,11 +172,11 @@ function buildMarkdownMenuTemplate( ] : []), { type: 'separator' }, - { role: 'cut' }, - { role: 'copy' }, + { role: 'cut', label: translateMain('menu.cut', 'Cut') }, + { role: 'copy', label: translateMain('menu.copy', 'Copy') }, editableContextPasteItem(labels.paste, webContents), editableContextPasteItem(labels.pasteAsPlainText, webContents, { plainTextOnly: true }), - { role: 'selectAll' } + { role: 'selectAll', label: translateMain('menu.selectAll', 'Select All') } ] } @@ -186,14 +186,14 @@ function buildNativeEditMenuTemplate( ): Electron.MenuItemConstructorOptions[] { const labels = editableContextMenuLabels() return [ - { role: 'cut' }, - { role: 'copy' }, + { role: 'cut', label: translateMain('menu.cut', 'Cut') }, + { role: 'copy', label: translateMain('menu.copy', 'Copy') }, editableContextPasteItem(labels.paste, webContents), // Plain-text contenteditable composers already paste literally; omit redundant text-only mode. ...(params.formControlType !== 'none' ? [editableContextPasteItem(labels.pasteAsPlainText, webContents, { plainTextOnly: true })] : []), - { role: 'selectAll' } + { role: 'selectAll', label: translateMain('menu.selectAll', 'Select All') } ] } diff --git a/src/main/window/history-gc-worktree-ids.ts b/src/main/window/history-gc-worktree-ids.ts index d3ba75e56c5..577c4287d4a 100644 --- a/src/main/window/history-gc-worktree-ids.ts +++ b/src/main/window/history-gc-worktree-ids.ts @@ -1,6 +1,6 @@ import type { Store } from '../persistence/loading-store/store' import { folderWorkspaceKey } from '../../shared/workspace-scope' -import { getOtherProfileWorktreeIdsForHistoryGc } from '../orca-profiles/other-profile-workspace-catalog' +import { getOtherProfileWorktreeIdsForHistoryGc } from '../orca-profiles/catalog/other-profile-workspace-catalog' /** Include git and folder: PTY workspace keys; omitting folder workspaces makes their live shell history appear orphaned. */ export function getKnownWorktreeIdsForHistoryGc( diff --git a/src/main/window/main-window-contracts.ts b/src/main/window/main-window-contracts.ts index bb3a1d88f1a..91937c3b16b 100644 --- a/src/main/window/main-window-contracts.ts +++ b/src/main/window/main-window-contracts.ts @@ -1,5 +1,5 @@ import type { KeybindingOverrides } from '../../shared/keybindings' -import type { LowCommitOomVerdict } from '../crash-reporting/low-commit-oom-recovery-gate' +import type { LowCommitOomVerdict } from '../crash-reporting/recovery/low-commit-oom-recovery-gate' import type { RecoveryExhaustionCause, RecoveryReloadMilestone, diff --git a/src/main/window/main-window-focus-lifecycle.ts b/src/main/window/main-window-focus-lifecycle.ts index e1636afca5d..ba9c1380998 100644 --- a/src/main/window/main-window-focus-lifecycle.ts +++ b/src/main/window/main-window-focus-lifecycle.ts @@ -9,8 +9,8 @@ import { DEFAULT_RENDERER_RECOVERY_MAX_RECOVERIES, DEFAULT_RENDERER_RECOVERY_WINDOW_MS, RendererRecoveryCircuitBreaker -} from '../crash-reporting/renderer-recovery-circuit-breaker' -import { createLowCommitOomRecoveryGate } from '../crash-reporting/low-commit-oom-recovery-gate' +} from '../crash-reporting/recovery/renderer-recovery-circuit-breaker' +import { createLowCommitOomRecoveryGate } from '../crash-reporting/recovery/low-commit-oom-recovery-gate' import { buildEditableContextMenuTemplate, matchingRichMarkdownContextMenuTableTarget, diff --git a/src/main/window/main-window-service-stubs.test-fixture.ts b/src/main/window/main-window-service-stubs.test-fixture.ts deleted file mode 100644 index b308406db67..00000000000 --- a/src/main/window/main-window-service-stubs.test-fixture.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { vi } from 'vitest' -import type { RuntimeNotifier } from '../runtime/client/events/runtime-notifier-contract' - -type MockFn = ReturnType - -export type MainWindowStub = { - id?: number - isDestroyed?: MockFn - on: MockFn - once: MockFn - webContents: { - id?: number - getURL: MockFn - isDestroyed?: MockFn - isLoadingMainFrame: MockFn - on: MockFn - send?: MockFn - reload?: MockFn - session: { - setPermissionRequestHandler: MockFn - setPermissionCheckHandler: MockFn - } - } -} - -type RuntimeStub = { - attachWindow: MockFn - setNotifier: ReturnType void>> - markRendererReloading: MockFn - markRendererReloadCancelled: MockFn - markGraphReloadFailed: MockFn - markGraphUnavailable: MockFn - readAgentListPublication: MockFn - setAgentListPublication: MockFn -} - -export function createMainWindowServiceStub( - permissionHandlers: { - setPermissionRequestHandler: MockFn - setPermissionCheckHandler: MockFn - }, - extraWebContents: { isLoadingMainFrame?: MockFn; on?: MockFn; send?: MockFn } = {} -): MainWindowStub { - return { - id: 1, - isDestroyed: vi.fn(() => false), - on: vi.fn(), - once: vi.fn(), - webContents: { - id: 1, - getURL: vi.fn(() => 'file:///opt/orca/renderer/index.html'), - isDestroyed: vi.fn(() => false), - isLoadingMainFrame: vi.fn(() => true), - on: vi.fn(), - reload: vi.fn(), - session: { - setPermissionRequestHandler: permissionHandlers.setPermissionRequestHandler, - setPermissionCheckHandler: permissionHandlers.setPermissionCheckHandler - }, - ...extraWebContents - } - } -} - -export function createRuntime(): RuntimeStub { - return { - attachWindow: vi.fn(), - setNotifier: vi.fn<(notifier: RuntimeNotifier | null) => void>(), - markRendererReloading: vi.fn(), - markRendererReloadCancelled: vi.fn(), - markGraphReloadFailed: vi.fn(), - markGraphUnavailable: vi.fn(), - readAgentListPublication: vi.fn(() => null), - setAgentListPublication: vi.fn() - } -} - -export function deferred(): { promise: Promise; resolve: () => void } { - let resolve!: () => void - const promise = new Promise((next) => { - resolve = next - }) - return { promise, resolve } -} diff --git a/src/main/window/main-window-state-lifecycle.test.ts b/src/main/window/main-window-state-lifecycle.test.ts index 3015481033f..5cc44785853 100644 --- a/src/main/window/main-window-state-lifecycle.test.ts +++ b/src/main/window/main-window-state-lifecycle.test.ts @@ -1,13 +1,14 @@ import { EventEmitter } from 'node:events' import { afterEach, beforeEach, expect, it, vi } from 'vitest' -const { appMock } = await vi.hoisted(async () => { +const { appMock, launchPolicy } = await vi.hoisted(async () => { const { EventEmitter } = await import('node:events') - return { appMock: new EventEmitter() } + return { appMock: new EventEmitter(), launchPolicy: { background: false, windowless: true } } }) vi.mock('electron', () => ({ app: appMock })) vi.mock('./foreground-activation-policy', () => ({ - isWindowlessLaunch: () => true, + isBackgroundLaunch: () => launchPolicy.background, + isWindowlessLaunch: () => launchPolicy.windowless, showWindowWithoutStealingFocus: vi.fn() })) vi.mock('./main-window-visual-lifecycle', () => ({ @@ -21,6 +22,8 @@ import { installMainWindowStateLifecycle } from './main-window-state-lifecycle' beforeEach(() => { vi.useFakeTimers() appMock.removeAllListeners() + launchPolicy.background = false + launchPolicy.windowless = true }) afterEach(() => vi.useRealTimers()) @@ -41,6 +44,7 @@ it('continues saving bounds after an updater quit veto and freezes them on allow mainWindow: mainWindow as never, revealOnDidFinishLoad: false, savedMaximized: false, + savedFullScreen: false, // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Bounds persistence reads only updateUI from this store fixture. store: { updateUI } as never }) @@ -62,3 +66,85 @@ it('continues saving bounds after an updater quit veto and freezes them on allow lifecycle.clearInitialRevealFallbackTimer() lifecycle.dispose() }) + +function installFullScreenFixture(): { + lifecycle: ReturnType + mainWindow: EventEmitter & { setFullScreen: (flag: boolean) => void } + windowState: { maximized: boolean; fullScreen: boolean; maximizedUnderFullScreen: boolean } + persisted: Record +} { + launchPolicy.windowless = false + const windowState = { maximized: false, fullScreen: false, maximizedUnderFullScreen: false } + const mainWindow = Object.assign(new EventEmitter(), { + webContents: Object.assign(new EventEmitter(), { send: vi.fn(), setZoomLevel: vi.fn() }), + isDestroyed: () => false, + isFullScreen: () => windowState.fullScreen, + getBounds: () => ({ x: 0, y: 0, width: 2560, height: 1440 }), + maximize: () => { + windowState.maximized = true + }, + setFullScreen: (flag: boolean) => { + if (flag) { + windowState.maximizedUnderFullScreen = windowState.maximized + } + windowState.fullScreen = flag + } + }) + const persisted: Record = {} + const lifecycle = installMainWindowStateLifecycle({ + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: This fixture implements the window members read by reveal and fullscreen persistence. + mainWindow: mainWindow as never, + revealOnDidFinishLoad: false, + savedMaximized: true, + savedFullScreen: true, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: Fullscreen persistence reads only updateUI from this store fixture. + store: { + updateUI: (patch: Record) => Object.assign(persisted, patch) + } as never + }) + return { lifecycle, mainWindow, windowState, persisted } +} + +it('restores native fullscreen over the maximized frame and keeps that frame while fullscreen', () => { + const { lifecycle, mainWindow, windowState, persisted } = installFullScreenFixture() + const leaveFullScreen = (): void => { + mainWindow.setFullScreen(false) + mainWindow.emit('leave-full-screen') + } + mainWindow.emit('ready-to-show') + expect(windowState).toEqual({ maximized: true, fullScreen: true, maximizedUnderFullScreen: true }) + // macOS emits unmaximize mid-transition, after the fullscreen style mask is set. + mainWindow.emit('unmaximize') + mainWindow.emit('enter-full-screen') + expect(persisted).toEqual({ windowFullScreen: true }) + + leaveFullScreen() + expect(persisted).toEqual({ windowFullScreen: false }) + mainWindow.emit('unmaximize') + expect(persisted).toEqual({ + windowFullScreen: false, + windowMaximized: false, + windowBounds: { x: 0, y: 0, width: 2560, height: 1440 } + }) + + mainWindow.setFullScreen(true) + mainWindow.emit('enter-full-screen') + appMock.emit('before-quit', { defaultPrevented: false }) + leaveFullScreen() + expect(persisted).toMatchObject({ windowFullScreen: true }) + lifecycle.clearInitialRevealFallbackTimer() + lifecycle.dispose() +}) + +it('does not restore native fullscreen for background launches', () => { + launchPolicy.background = true + const { lifecycle, mainWindow, windowState } = installFullScreenFixture() + mainWindow.emit('ready-to-show') + expect(windowState).toEqual({ + maximized: true, + fullScreen: false, + maximizedUnderFullScreen: false + }) + lifecycle.clearInitialRevealFallbackTimer() + lifecycle.dispose() +}) diff --git a/src/main/window/main-window-state-lifecycle.ts b/src/main/window/main-window-state-lifecycle.ts index 8f9ffe56509..d772aa78b5b 100644 --- a/src/main/window/main-window-state-lifecycle.ts +++ b/src/main/window/main-window-state-lifecycle.ts @@ -1,7 +1,11 @@ import { app, type BrowserWindow, type Event } from 'electron' import type { Store } from '../persistence/loading-store/store' import { uiZoomFactorFromLevel } from '../../shared/ui-zoom-level' -import { isWindowlessLaunch, showWindowWithoutStealingFocus } from './foreground-activation-policy' +import { + isBackgroundLaunch, + isWindowlessLaunch, + showWindowWithoutStealingFocus +} from './foreground-activation-policy' import { MIN_HEIGHT, MIN_WIDTH, syncTrafficLightPosition } from './main-window-visual-lifecycle' export type MainWindowStateLifecycle = { @@ -16,9 +20,10 @@ export function installMainWindowStateLifecycle(args: { mainWindow: BrowserWindow revealOnDidFinishLoad: boolean savedMaximized: boolean + savedFullScreen: boolean store: Store | null }): MainWindowStateLifecycle { - const { mainWindow, revealOnDidFinishLoad, savedMaximized, store } = args + const { mainWindow, revealOnDidFinishLoad, savedMaximized, savedFullScreen, store } = args mainWindow.webContents.on('dom-ready', () => { const level = store?.getUI().uiZoomLevel ?? 0 mainWindow.webContents.setZoomLevel(level) @@ -66,6 +71,10 @@ export function installMainWindowStateLifecycle(args: { mainWindow.maximize() } showWindowWithoutStealingFocus(mainWindow) + // Fullscreen needs a shown window; after maximize so leaving it returns there. Background launches must not take a Space. + if (savedFullScreen && !isBackgroundLaunch()) { + mainWindow.setFullScreen(true) + } } mainWindow.on('ready-to-show', revealInitialWindow) if (revealOnDidFinishLoad === true) { @@ -129,6 +138,10 @@ export function installMainWindowStateLifecycle(args: { return } mainWindow.webContents.send('window:maximize-changed', false) + // macOS emits unmaximize when a launch-maximized window enters fullscreen; keep the pre-fullscreen state. + if (mainWindow.isFullScreen()) { + return + } const bounds = mainWindow.getBounds() // Teardown unmaximize can emit minimum bounds; apply the same persistence guard. if (bounds.width <= MIN_WIDTH || bounds.height <= MIN_HEIGHT) { @@ -140,10 +153,16 @@ export function installMainWindowStateLifecycle(args: { }) mainWindow.on('enter-full-screen', () => { + if (!windowClosing) { + store?.updateUI({ windowFullScreen: true }) + } mainWindow.webContents.send('window:fullscreen-changed', true) }) mainWindow.on('leave-full-screen', () => { + if (!windowClosing) { + store?.updateUI({ windowFullScreen: false }) + } mainWindow.webContents.send('window:fullscreen-changed', false) }) diff --git a/src/main/window/renderer-launch-failure-probe.test.ts b/src/main/window/renderer-launch-failure-probe.test.ts index 877e177bd12..f762eac4d86 100644 --- a/src/main/window/renderer-launch-failure-probe.test.ts +++ b/src/main/window/renderer-launch-failure-probe.test.ts @@ -5,7 +5,7 @@ const { runProcessMock, recordDurableCrashBreadcrumbMock } = vi.hoisted(() => ({ recordDurableCrashBreadcrumbMock: vi.fn() })) vi.mock('@orca/process-host', () => ({ runProcess: runProcessMock })) -vi.mock('../crash-reporting/durable-crash-breadcrumb', () => ({ +vi.mock('../crash-reporting/breadcrumbs/durable-crash-breadcrumb', () => ({ recordDurableCrashBreadcrumb: recordDurableCrashBreadcrumbMock })) diff --git a/src/main/window/renderer-launch-failure-probe.ts b/src/main/window/renderer-launch-failure-probe.ts index 49a052e5bfe..9127b53da17 100644 --- a/src/main/window/renderer-launch-failure-probe.ts +++ b/src/main/window/renderer-launch-failure-probe.ts @@ -1,5 +1,5 @@ import { runProcess } from '@orca/process-host' -import { recordDurableCrashBreadcrumb } from '../crash-reporting/durable-crash-breadcrumb' +import { recordDurableCrashBreadcrumb } from '../crash-reporting/breadcrumbs/durable-crash-breadcrumb' import { errnoCodeOrUnknown } from '../../shared/errno-code' /** 'ok' when a throwaway child could start, the spawn errno (EAGAIN = per-user process limit), or 'skipped' on Windows. */ diff --git a/src/main/window/renderer-liveness-at-death.test.ts b/src/main/window/renderer-liveness-at-death.test.ts index f1e2e584be6..58d2ed252a2 100644 --- a/src/main/window/renderer-liveness-at-death.test.ts +++ b/src/main/window/renderer-liveness-at-death.test.ts @@ -2,7 +2,7 @@ import { EventEmitter } from 'node:events' import { beforeEach, describe, expect, it, vi } from 'vitest' const recordCoalescedDurableCrashBreadcrumb = vi.fn() -vi.mock('../crash-reporting/durable-crash-breadcrumb', () => ({ +vi.mock('../crash-reporting/breadcrumbs/durable-crash-breadcrumb', () => ({ recordCoalescedDurableCrashBreadcrumb: (...args: unknown[]) => recordCoalescedDurableCrashBreadcrumb(...args) })) diff --git a/src/main/window/renderer-liveness-at-death.ts b/src/main/window/renderer-liveness-at-death.ts index 564bcc2ff58..cd2bf0c9e73 100644 --- a/src/main/window/renderer-liveness-at-death.ts +++ b/src/main/window/renderer-liveness-at-death.ts @@ -1,5 +1,5 @@ import type { BrowserWindow } from 'electron' -import { recordCoalescedDurableCrashBreadcrumb } from '../crash-reporting/durable-crash-breadcrumb' +import { recordCoalescedDurableCrashBreadcrumb } from '../crash-reporting/breadcrumbs/durable-crash-breadcrumb' /** Windows killed/exit1 cannot identify Task Manager, EDR or Orca as the cause. Retain prior hang/load state to distinguish users terminating a frozen app from unexplained external kills. */ export type RendererLivenessAtDeath = { diff --git a/src/main/window/renderer-publication-throttle-electron-fixture.ts b/src/main/window/renderer-publication-throttle-electron-fixture.ts index 9adaac8227b..3a417f1dc9f 100644 --- a/src/main/window/renderer-publication-throttle-electron-fixture.ts +++ b/src/main/window/renderer-publication-throttle-electron-fixture.ts @@ -47,6 +47,7 @@ async function run(): Promise { maxHeight: 480, everyNthFrame: 1, minFrameIntervalMs: 0, + holdPaint: () => () => {}, onFrame: () => { frames += 1 firstFrame() diff --git a/src/main/window/renderer-recovery-reload-watchdog.ts b/src/main/window/renderer-recovery-reload-watchdog.ts index 7b1f92f135c..e86d18fae6d 100644 --- a/src/main/window/renderer-recovery-reload-watchdog.ts +++ b/src/main/window/renderer-recovery-reload-watchdog.ts @@ -1,7 +1,7 @@ -import { app } from 'electron' -import type { BrowserWindow } from 'electron' -import { isSystemSessionEnding } from '../crash-reporting/expected-teardown-state' -import type { LowCommitOomVerdict } from '../crash-reporting/low-commit-oom-recovery-gate' +import { app, type BrowserWindow } from 'electron' + +import { isSystemSessionEnding } from '../crash-reporting/process-exits/expected-teardown-state' +import type { LowCommitOomVerdict } from '../crash-reporting/recovery/low-commit-oom-recovery-gate' import type { CreateMainWindowOptions, MainWindowLoadObserver } from './main-window-contracts' import { mainWindowLoadErrorCode } from './main-window-load-error-code' diff --git a/src/main/window/runtime-window-lifecycle.ts b/src/main/window/runtime-window-lifecycle.ts index 9af8fcb8048..96b3d4f769d 100644 --- a/src/main/window/runtime-window-lifecycle.ts +++ b/src/main/window/runtime-window-lifecycle.ts @@ -45,6 +45,8 @@ export function registerRuntimeWindowLifecycle( } send('worktrees:changed', renamed ? { repoId, renamed } : { repoId }) }, + // Why: interim transport for the workspaceMetadata set record; the record shape, not this channel, is the contract. + workspaceMetadataSet: (set) => send('worktrees:metadataSet', set), worktreeBaseStatus: (event) => send('worktree:baseStatus', event), worktreeRemoteBranchConflict: (event) => send('worktree:remoteBranchConflict', event), reposChanged: () => send('repos:changed'), @@ -182,7 +184,8 @@ export function registerRuntimeWindowLifecycle( focusTerminal: (tabId, worktreeId, leafId) => send('ui:focusTerminal', { tabId, worktreeId, leafId }), revealTerminalPane: (target) => revealTerminalPaneInWindow(mainWindow, target), - focusEditorTab: (tabId, worktreeId) => send('ui:focusEditorTab', { tabId, worktreeId }), + focusEditorTab: (tabId, worktreeId, options) => + send('ui:focusEditorTab', { tabId, worktreeId, ...options }), closeSessionTab: (tabId, worktreeId) => requestSessionTabCloseFromRenderer(mainWindow, tabId, worktreeId), moveSessionTab: (worktreeId: string, move: RuntimeMobileSessionTabMove) => diff --git a/src/main/windows/windows-administrator-restart.ts b/src/main/windows/windows-administrator-restart.ts index 9ed2b689793..4c1d9d75763 100644 --- a/src/main/windows/windows-administrator-restart.ts +++ b/src/main/windows/windows-administrator-restart.ts @@ -2,7 +2,7 @@ import { existsSync } from 'node:fs' import { win32 } from 'node:path' import { app } from 'electron' import { quoteWindowsArgument } from '@orca/process-host/windows-command-line' -import { getBundledLauncherPath } from '../cli/bundled-cli-launcher-path' +import { getBundledLauncherPath } from '../cli/packaged-assets/bundled-cli-launcher-path' import { getWindowsAdministratorStatus } from './windows-administrator-status' const RESTART_LOCAL_TERMINALS_ARG = '--orca-restart-local-terminals-as-administrator' diff --git a/src/main/windows/windows-administrator-status.ts b/src/main/windows/windows-administrator-status.ts index bd9eeb1b6c5..ba9a01fc318 100644 --- a/src/main/windows/windows-administrator-status.ts +++ b/src/main/windows/windows-administrator-status.ts @@ -1,7 +1,7 @@ import { join } from 'node:path' import { runProcess } from '@orca/process-host' import { getAppEnvironment } from '../../shared/app-environment' -import { getBundledLauncherPath } from '../cli/bundled-cli-launcher-path' +import { getBundledLauncherPath } from '../cli/packaged-assets/bundled-cli-launcher-path' let status: Promise | undefined diff --git a/src/main/windows/windows-pty-job.test.ts b/src/main/windows/windows-pty-job.test.ts index a6149250db2..61a23f420c7 100644 --- a/src/main/windows/windows-pty-job.test.ts +++ b/src/main/windows/windows-pty-job.test.ts @@ -4,7 +4,7 @@ import type { IPty } from 'node-pty' const { recordSelfInitiatedTreeKillMock } = vi.hoisted(() => ({ recordSelfInitiatedTreeKillMock: vi.fn() })) -vi.mock('../crash-reporting/self-initiated-tree-kill-log', () => ({ +vi.mock('../crash-reporting/process-exits/self-initiated-tree-kill-log', () => ({ recordSelfInitiatedTreeKill: recordSelfInitiatedTreeKillMock })) diff --git a/src/main/windows/windows-pty-job.ts b/src/main/windows/windows-pty-job.ts index ae1e382e9fd..3f871b88e1a 100644 --- a/src/main/windows/windows-pty-job.ts +++ b/src/main/windows/windows-pty-job.ts @@ -1,6 +1,6 @@ import type { IPty } from 'node-pty' import { createRequire } from 'node:module' -import { recordSelfInitiatedTreeKill } from '../crash-reporting/self-initiated-tree-kill-log' +import { recordSelfInitiatedTreeKill } from '../crash-reporting/process-exits/self-initiated-tree-kill-log' /** Kernel job handles own ConPTY descendants across PID reuse/reparenting (#9045/#10475/#10087). Per-PTY jobs make explicit teardown exact without kill-on-close, preserving background children on clean shell exit. */ diff --git a/src/main/workspace-hooks/created-worktree-setup-trust-parity.test.ts b/src/main/workspace-hooks/created-worktree-setup-trust-parity.test.ts deleted file mode 100644 index 8a52338b972..00000000000 --- a/src/main/workspace-hooks/created-worktree-setup-trust-parity.test.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { 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 { getSetupTrustContent } from '../../shared/orca-hook-setup-config' -import '../../renderer/src/lib/orca-hook-trust' -import '../runtime/repositories/runtime-repository-hooks-commands' -import { loadHooks } from './hooks' -import { hashOrcaHookTrustContent } from './created-worktree-setup-trust' - -// The prompt hashes the primary checkout's orca.yaml; the host hashes the created worktree's. -// Same committed file => same hash, whatever the checkout did to line endings or a BOM. -const SETUP_YAML = [ - 'base: &base', - ' title: Dev server', - 'scripts:', - ' setup: |', - ' pnpm install ', - ' \techo "tabbed"', - '', - ' echo "ünïcødé ✓"', - 'defaultTabs:', - ' - <<: *base', - ' command: >', - ' pnpm dev', - ' --port 3000', - ' - title: Notes', - ' - command: "printf \'%s\\n\' quoted"', - 'issueCommand: gh issue view', - 'scripts_unrelated: ignored', - '' -].join('\n') - -const dirs: string[] = [] -function checkout(content: string): string { - const dir = mkdtempSync(join(tmpdir(), 'orca-setup-parity-')) - dirs.push(dir) - writeFileSync(join(dir, 'orca.yaml'), content) - return dir -} - -beforeEach(() => { - dirs.length = 0 -}) - -afterEach(() => { - vi.unstubAllGlobals() - for (const dir of dirs) { - rmSync(dir, { recursive: true, force: true }) - } -}) - -describe('approved setup hash parity between the trust prompt and the host', () => { - it('pins the digest so a format change, which would invalidate saved automation approvals, is deliberate', () => { - expect(getSetupTrustContent(loadHooks(checkout(SETUP_YAML)))).toBe( - [ - 'pnpm install \n\techo "tabbed"\n\necho "ünïcødé ✓"', - '# defaultTabs[1] Dev server\npnpm dev --port 3000', - // The double-quoted "\n" escape is a real newline in YAML, on both sides. - "# defaultTabs[3]\nprintf '%s\n' quoted" - ].join('\n\n') - ) - expect(hashOrcaHookTrustContent(getSetupTrustContent(loadHooks(checkout(SETUP_YAML))))).toBe( - PINNED_SETUP_HASH - ) - }) -}) - -const PINNED_SETUP_HASH = '112aac76dbc70758498c2b87a2dc42e77f7ce366a5b611749ec38b6757681593' diff --git a/src/main/workspace-hooks/created-worktree-setup-trust.ts b/src/main/workspace-hooks/created-worktree-setup-trust.ts index 9cd6393cf5d..f9b4fdcd706 100644 --- a/src/main/workspace-hooks/created-worktree-setup-trust.ts +++ b/src/main/workspace-hooks/created-worktree-setup-trust.ts @@ -39,6 +39,28 @@ export function checkCreatedWorktreeSetupTrust( return matches ? undefined : { contentHash, scriptContent } } +/** + * Older clients send no approval hash. A folder's shared setup never ran before folder setup + * existed, so it needs an approval or an explicit run rather than starting unseen. + */ +export function folderSharedSetupLacksApproval( + repo: Repo, + createdYamlHooks: OrcaHooks | null, + decision: SetupDecision | undefined, + approved: ApprovedSetupHashes +): boolean { + if (approved.approvedSetupHash !== undefined || approved.approvedSetupHashes !== undefined) { + return false + } + if (decision === 'run') { + return false + } + const policy = resolveHookCommandSourcePolicy(repo.hookSettings?.commandSourcePolicy, { + hasLocalScript: Boolean(repo.hookSettings?.scripts.setup?.trim()) + }) + return policy !== 'local-only' && Boolean(getSetupTrustContent(createdYamlHooks)) +} + function wouldRunSetup(repo: Repo, decision: SetupDecision | undefined): boolean { try { return shouldRunSetupForCreate(repo, decision) diff --git a/src/main/workspace-hooks/folder-setup-runner-files.ts b/src/main/workspace-hooks/folder-setup-runner-files.ts new file mode 100644 index 00000000000..0986d8ed473 --- /dev/null +++ b/src/main/workspace-hooks/folder-setup-runner-files.ts @@ -0,0 +1,49 @@ +import { randomUUID } from 'node:crypto' +import { rm, writeFile } from 'node:fs/promises' +import { join } from 'node:path' +import { FOLDER_WORKSPACE_INSTANCE_SEPARATOR } from '../../shared/worktree/id' +import { windowsFsPath } from '../wsl/filesystem/wsl-unc-drive-fs-path' + +const FOLDER_RUNNER_DIR = '.orca' + +// One directory per workspace, so removal deletes it without listing its siblings' runners. +function runnerDirName(worktreeId: string): string { + const separatorIdx = worktreeId.lastIndexOf(FOLDER_WORKSPACE_INSTANCE_SEPARATOR) + const instance = + separatorIdx === -1 + ? 'root' + : worktreeId.slice(separatorIdx + FOLDER_WORKSPACE_INSTANCE_SEPARATOR.length) + return `setup-runner-${instance.replace(/[^A-Za-z0-9-]/g, '_')}` +} + +/** A fresh file per launch: workspaces share the folder, and bash/cmd re-read a runner by offset while it runs. */ +export function newFolderSetupRunnerPath( + folderPath: string, + worktreeId: string, + extension: 'sh' | 'cmd' +): string { + return join( + folderPath, + FOLDER_RUNNER_DIR, + runnerDirName(worktreeId), + `${randomUUID()}.${extension}` + ) +} + +/** A folder may itself be a Git checkout; keep its runners out of `git status` without editing its files. */ +export async function ignoreFolderSetupRunners(orcaDirFsPath: string): Promise { + await writeFile(join(orcaDirFsPath, '.gitignore'), 'setup-runner-*\n.gitignore\n', { + flag: 'wx' + }).catch(() => undefined) +} + +/** Call after the workspace's processes stopped, so no running script loses its file. */ +export async function removeFolderSetupRunnerFiles( + folderPath: string, + worktreeId: string +): Promise { + const dir = windowsFsPath(join(folderPath, FOLDER_RUNNER_DIR, runnerDirName(worktreeId))) + await rm(dir, { recursive: true, force: true }).catch((error: unknown) => { + console.warn(`[hooks] could not remove setup runners in ${dir}:`, error) + }) +} diff --git a/src/main/workspace-hooks/hook-archive-timeout-observation.test.ts b/src/main/workspace-hooks/hook-archive-timeout-observation.test.ts index 7a22d7f5c61..683decf17fd 100644 --- a/src/main/workspace-hooks/hook-archive-timeout-observation.test.ts +++ b/src/main/workspace-hooks/hook-archive-timeout-observation.test.ts @@ -15,7 +15,7 @@ async function runArchive(script: string, timeoutMs = 400) { const dir = mkdtempSync(join(tmpdir(), 'orca-hook-deadline-')) writeFileSync(join(dir, 'orca.yaml'), `scripts:\n archive: |\n ${script}\n`) try { - return await runHook('archive', dir, REPO, dir, undefined, timeoutMs) + return await runHook('archive', dir, REPO, dir, undefined, { timeoutMs }) } finally { rmSync(dir, { recursive: true, force: true }) } @@ -30,19 +30,4 @@ describe.skipIf(process.platform === 'win32')('archive hook deadline', () => { expect(result.exitCode).toBeUndefined() expect(result.output).toContain('timed out') }, 20_000) - - it('settles at the deadline even when the hook refuses to die', async () => { - const started = Date.now() - const result = await runArchive("trap '' TERM; sleep 30") - expect(result.success).toBe(false) - expect(Date.now() - started).toBeLessThan(10_000) - }, 20_000) - - it('passes a hook that finishes inside its deadline', async () => { - await expect(runArchive('echo archived')).resolves.toMatchObject({ success: true }) - }) - - it('reports an observed non-zero exit as the exit it is', async () => { - await expect(runArchive('exit 23')).resolves.toMatchObject({ success: false, exitCode: 23 }) - }) }) diff --git a/src/main/workspace-hooks/hook-orca-cli-env.ts b/src/main/workspace-hooks/hook-orca-cli-env.ts new file mode 100644 index 00000000000..35e7b9955e4 --- /dev/null +++ b/src/main/workspace-hooks/hook-orca-cli-env.ts @@ -0,0 +1,72 @@ +import { getAppEnvironment, hasAppEnvironment } from '../../shared/app-environment' +import { toLinuxPath } from '../../shared/wsl-paths' +import { prependOrcaCliDirToChildPath } from '../cli/launchers/orca-cli-child-path' +import { getManagedWslCliDir, getWslCliCommandName } from '../cli/wsl/wsl-managed-cli' +import { WSL_MANAGED_CLI_PATH_RESTORE } from '../wsl/execution/wsl-managed-cli-path-restore' + +// A hook isn't a pane: an Orca started from an Orca terminal must not lend that pane's identity. +const INHERITED_PANE_IDENTITY_KEYS = [ + 'ORCA_TERMINAL_HANDLE', + 'ORCA_PANE_KEY', + 'ORCA_TAB_ID', + 'ORCA_AGENT_LAUNCH_TOKEN', + 'ORCA_WORKSPACE_ID', + 'ORCA_WORKTREE_ID' +] as const + +/** Give an in-process hook this app's `orca` CLI, as terminals get it. */ +export function applyHostHookOrcaCliEnv(env: Record): void { + for (const key of INHERITED_PANE_IDENTITY_KEYS) { + delete env[key] + } + if (!hasAppEnvironment()) { + return + } + const app = getAppEnvironment() + const userDataPath = app.getPath('userData') + const childEnv = Object.fromEntries( + Object.entries(env).filter((entry): entry is [string, string] => entry[1] !== undefined) + ) + childEnv.ORCA_USER_DATA_PATH = userDataPath + prependOrcaCliDirToChildPath(childEnv, { + isPackaged: app.isPackaged(), + userDataPath, + resourcesPath: process.resourcesPath ?? null + }) + for (const key of Object.keys(env)) { + if (!(key in childEnv)) { + delete env[key] + } + } + Object.assign(env, childEnv) +} + +/** + * The guest env and a script prefix that puts the managed WSL CLI first on PATH. Inherited pane + * identity is blanked, since wsl.exe would otherwise carry the host's values in through WSLENV. + */ +export function wslHookOrcaCliEnv(): { env: Record; scriptPrefix: string } { + const blankedIdentity = Object.fromEntries(INHERITED_PANE_IDENTITY_KEYS.map((key) => [key, ''])) + if (!hasAppEnvironment()) { + return { env: blankedIdentity, scriptPrefix: '' } + } + const app = getAppEnvironment() + const userDataPath = app.getPath('userData') + const managedCliDir = getManagedWslCliDir({ + isPackaged: app.isPackaged(), + userDataPath, + ...(process.resourcesPath ? { resourcesPath: process.resourcesPath } : {}) + }) + if (!managedCliDir) { + return { env: blankedIdentity, scriptPrefix: '' } + } + return { + env: { + ...blankedIdentity, + ORCA_WSL_CLI_DIR: toLinuxPath(managedCliDir), + ORCA_CLI_COMMAND: getWslCliCommandName(app.isPackaged()), + ORCA_USER_DATA_PATH: toLinuxPath(userDataPath) + }, + scriptPrefix: `${WSL_MANAGED_CLI_PATH_RESTORE}\n` + } +} diff --git a/src/main/workspace-hooks/hook-termination-real-process.test.ts b/src/main/workspace-hooks/hook-termination-real-process.test.ts index fc8d02cce38..fc4123fd6e5 100644 --- a/src/main/workspace-hooks/hook-termination-real-process.test.ts +++ b/src/main/workspace-hooks/hook-termination-real-process.test.ts @@ -27,7 +27,7 @@ async function survivorsAfterDeadline( ) let pids: number[] = [] try { - const result = await runHook('archive', dir, REPO, dir, undefined, 400) + const result = await runHook('archive', dir, REPO, dir, undefined, { timeoutMs: 400 }) expect(result.success).toBe(false) expect(existsSync(pidFile)).toBe(true) pids = readFileSync(pidFile, 'utf8').trim().split(/\s+/).map(Number) diff --git a/src/main/workspace-hooks/hooks.ts b/src/main/workspace-hooks/hooks.ts index 94a74cc949d..6194e841958 100644 --- a/src/main/workspace-hooks/hooks.ts +++ b/src/main/workspace-hooks/hooks.ts @@ -4,7 +4,8 @@ import { parseOrcaYaml } from '../../shared/orca-yaml' import { resolveHookCommandSourcePolicy } from '../../shared/hook-command-source-policy' import { getEffectiveHooksFromConfig } from './effective-hook-config' import { getHookRuntimeTarget, getHookWslContext } from './hook-runtime-target' -import { getSetupEnvVars } from './setup-hook-env-vars' +import { getSetupEnvVars, type HookWorkspaceIdentity } from './setup-hook-env-vars' +import { applyHostHookOrcaCliEnv, wslHookOrcaCliEnv } from './hook-orca-cli-env' import { iterateLfScriptLines } from './setup-runner-script-text' import { promptGuardShellEnv } from '../git/command-runner/git-process-env' import { dropIncoherentCondaActivationEnv } from '../pty/shell-startup/conda-activation-env' @@ -185,10 +186,12 @@ export function runHook( repo: Repo, hooksPath?: string, projectRuntime?: ProjectExecutionRuntimeResolution | HookRuntimeTarget, - timeoutMs: number = HOOK_TIMEOUT + options: { identity?: HookWorkspaceIdentity; timeoutMs?: number; hooks?: OrcaHooks } = {} // Failed hooks without an observed exit are unverifiable to the removal gate (#19334). ): Promise<{ success: boolean; output: string; exitCode?: number }> { - const hooks = getEffectiveHooks(repo, hooksPath) + const timeoutMs = options.timeoutMs ?? HOOK_TIMEOUT + // A caller that already resolved the hooks passes them, so orca.yaml is read once. + const hooks = options.hooks ?? getEffectiveHooks(repo, hooksPath) const script = hooks?.scripts[hookName] if (!script) { @@ -200,14 +203,15 @@ export function runHook( if (wslInfo) { // WSL hooks need Linux paths for ORCA_* values, including Windows UNC paths. - const envVars = getSetupEnvVars(repo, cwd) + const envVars = getSetupEnvVars(repo, cwd, options.identity) const wslEnv: Record = {} for (const [key, value] of Object.entries(envVars)) { wslEnv[key] = toLinuxPath(value) } // Forward unattended Git flags to WSL; keep host askpass out of the guest. const guardedEnv = promptGuardShellEnv(wslEnv) - const guestEnv: Record = { ...wslEnv } + const wslCli = wslHookOrcaCliEnv() + const guestEnv: Record = { ...wslCli.env, ...wslEnv } for (const [key, value] of Object.entries(guardedEnv)) { if (value !== undefined && (key === 'GIT_TERMINAL_PROMPT' || key === 'GCM_INTERACTIVE')) { guestEnv[key] = value @@ -217,7 +221,7 @@ export function runHook( return runWslProcess({ distro: wslInfo.distro ?? undefined, loginPath: 'preferred', - script, + script: `${wslCli.scriptPrefix}${script}`, // Match native Bash hook semantics; sh would reject Bash-only scripts inside WSL. shell: 'bash', cwd: wslInfo.linuxPath, @@ -228,7 +232,9 @@ export function runHook( .catch((error: unknown) => hookSpawnFailure(error, { hookName, cwd })) } - const shellHookEnv: NodeJS.ProcessEnv = { ...process.env, ...getSetupEnvVars(repo, cwd) } + const shellHookEnv: NodeJS.ProcessEnv = { ...process.env } + applyHostHookOrcaCliEnv(shellHookEnv) + Object.assign(shellHookEnv, getSetupEnvVars(repo, cwd, options.identity)) dropIncoherentCondaActivationEnv(shellHookEnv) return new Promise((resolve) => { diff --git a/src/main/workspace-hooks/setup-hook-env-vars.ts b/src/main/workspace-hooks/setup-hook-env-vars.ts index 337bdc20322..81211369da7 100644 --- a/src/main/workspace-hooks/setup-hook-env-vars.ts +++ b/src/main/workspace-hooks/setup-hook-env-vars.ts @@ -1,6 +1,14 @@ import { getRuntimePathBasename } from '../../shared/cross-platform-path' import { TERMINAL_GIT_CREDENTIAL_GUARD_POLICY_ENV } from '../../shared/shell/launch/terminal-git-credential-guard' import type { Repo } from '../../shared/repo-types' +import { isFolderRepo } from '../../shared/repo-kind' + +/** The workspace a hook runs for; folder workspaces share one directory, so the path can't name them. */ +export type HookWorkspaceIdentity = { + worktreeId: string + /** Names a folder workspace; a worktree's name is its directory's. */ + displayName?: string +} // Path-valued keys only, so WSL and posix-shell launches translate them; names are not paths. export const SETUP_RUNNER_PATH_ENV_KEYS = [ @@ -12,24 +20,37 @@ export const SETUP_RUNNER_PATH_ENV_KEYS = [ ] as const export function getSetupEnvVars( - repo: Pick, - worktreePath: string + repo: Pick, + worktreePath: string, + identity?: HookWorkspaceIdentity ): Record { + const workspaceName = + identity?.displayName && isFolderRepo(repo) + ? identity.displayName + : getRuntimePathBasename(worktreePath) return { ORCA_ROOT_PATH: repo.path, ORCA_WORKTREE_PATH: worktreePath, - ORCA_WORKSPACE_NAME: getRuntimePathBasename(worktreePath), + ORCA_WORKSPACE_NAME: workspaceName, + // Same values a pane sets, so `orca worktree create` in the hook attaches to this workspace. + ...(identity + ? { ORCA_WORKSPACE_ID: identity.worktreeId, ORCA_WORKTREE_ID: identity.worktreeId } + : {}), // Imported Conductor scripts read these names. CONDUCTOR_ROOT_PATH: repo.path, CONDUCTOR_WORKSPACE_PATH: worktreePath, - CONDUCTOR_WORKSPACE_NAME: getRuntimePathBasename(worktreePath), + CONDUCTOR_WORKSPACE_NAME: workspaceName, GHOSTX_ROOT_PATH: repo.path } } -export function getSetupRunnerEnvVars(repo: Repo, worktreePath: string): Record { +export function getSetupRunnerEnvVars( + repo: Repo, + worktreePath: string, + identity?: HookWorkspaceIdentity +): Record { return { - ...getSetupEnvVars(repo, worktreePath), + ...getSetupEnvVars(repo, worktreePath, identity), // Unattended setup always needs credential protection, regardless of user opt-out. [TERMINAL_GIT_CREDENTIAL_GUARD_POLICY_ENV]: 'guard' } diff --git a/src/main/workspace-hooks/worktree-runner-script.ts b/src/main/workspace-hooks/worktree-runner-script.ts index cc3ca4c067d..e7dd4ef7288 100644 --- a/src/main/workspace-hooks/worktree-runner-script.ts +++ b/src/main/workspace-hooks/worktree-runner-script.ts @@ -1,4 +1,4 @@ -import { mkdirSync, writeFileSync, chmodSync } from 'node:fs' +import { chmod, mkdir, writeFile } from 'node:fs/promises' import { dirname } from 'node:path' import { shouldWaitForSetupBeforeAgentStartup } from '../../shared/agent-launch/startup/setup-agent-startup-policy' import { @@ -14,13 +14,20 @@ import { readWorktreeGitPath } from '../git/worktrees/catalog/worktree-git-path' import { resolveWslWorktreeGitPath } from '../git/worktrees/catalog/wsl-worktree-git-path' import { knownWslAutomountRoots } from '../wsl/filesystem/wsl-automount-root' import { isWslPath } from '../wsl/filesystem/unc-path-access' +import { windowsFsPath } from '../wsl/filesystem/wsl-unc-drive-fs-path' import { toWindowsWslPath, toLinuxPath } from '../../shared/wsl-paths' import { getHookRuntimeTarget, getHookWslContext, type HookRuntimeTarget } from './hook-runtime-target' -import { SETUP_RUNNER_PATH_ENV_KEYS, getSetupRunnerEnvVars } from './setup-hook-env-vars' +import { + SETUP_RUNNER_PATH_ENV_KEYS, + getSetupRunnerEnvVars, + type HookWorkspaceIdentity +} from './setup-hook-env-vars' +import { ignoreFolderSetupRunners, newFolderSetupRunnerPath } from './folder-setup-runner-files' +import { isFolderRepo } from '../../shared/repo-kind' import { buildPosixRunnerScript, buildWindowsRunnerScript } from './setup-runner-script-text' import type { Repo } from '../../shared/repo-types' @@ -44,9 +51,11 @@ export async function createSetupRunnerScript( script: string, projectRuntime?: ProjectExecutionRuntimeResolution | HookRuntimeTarget, setupShell?: SetupRunnerShell, - projectStartupPolicy?: SetupAgentStartupPolicy + projectStartupPolicy?: SetupAgentStartupPolicy, + identity?: HookWorkspaceIdentity ): Promise { return createWorktreeRunnerScript({ + identity, repo, worktreePath, script, @@ -68,6 +77,7 @@ async function createWorktreeRunnerScript(args: { runtimeTarget?: HookRuntimeTarget waitForAgentStartup?: boolean setupShell?: SetupRunnerShell + identity?: HookWorkspaceIdentity }): Promise { const { repo, @@ -76,9 +86,10 @@ async function createWorktreeRunnerScript(args: { runnerBaseName, runtimeTarget, waitForAgentStartup, - setupShell + setupShell, + identity } = args - const envVars = getSetupRunnerEnvVars(repo, worktreePath) + const envVars = getSetupRunnerEnvVars(repo, worktreePath, identity) const wslWorktree = isWslPath(worktreePath) || Boolean(runtimeTarget?.wslDistro) const nativeWindowsWorktree = process.platform === 'win32' && !wslWorktree // Preserve existing Windows cmd script syntax; only a shebang opts into bash, regardless of terminal preference. @@ -93,34 +104,28 @@ async function createWorktreeRunnerScript(args: { : process.platform === 'win32' && runtimeTarget?.wslDistro ? { family: 'posix', executable: 'wsl.exe' } : undefined - // Linked worktrees have .git files; resolve the per-worktree gitdir through Git. const runnerExtension = runnerShell.family === 'cmd' ? 'cmd' : 'sh' - const gitRelPath = `orca/${runnerBaseName}.${runnerExtension}` - // Read the link with the D1c Git router (if WSL Git made the worktree, host Git can't). A worktree - // inside a distro never runs synchronous Git: that would be a synchronous wsl.exe on the main thread. - const fromLink = isWslPath(worktreePath) - ? await resolveWslWorktreeGitPath(worktreePath, gitRelPath) - : isLocalGitRuntimeRouterInstalled() - ? readWorktreeGitPath(worktreePath, gitRelPath, knownWslAutomountRoots()) - : null - let runnerScriptPath = fromLink ?? getGitPath(worktreePath, gitRelPath) + const runnerScriptPath = isFolderRepo(repo) + ? newFolderSetupRunnerPath( + worktreePath, + requireFolderIdentity(identity).worktreeId, + runnerExtension + ) + : await resolveGitRunnerScriptPath(worktreePath, runnerBaseName, runnerExtension, runtimeTarget) - // Convert WSL Git's Linux path to a path Windows filesystem calls can reach. - if (wslWorktree && !fromLink) { - const wslInfo = getHookWslContext(worktreePath, runtimeTarget) - if (wslInfo?.distro) { - runnerScriptPath = toWindowsWslPath(runnerScriptPath.trim(), wslInfo.distro) - } + // Write through the drive path when WSL refuses its drive mounts over UNC; launch keeps the UNC spelling. + const runnerFsPath = windowsFsPath(runnerScriptPath) + await mkdir(dirname(runnerFsPath), { recursive: true }) + if (isFolderRepo(repo)) { + await ignoreFolderSetupRunners(dirname(dirname(runnerFsPath))) } - mkdirSync(dirname(runnerScriptPath), { recursive: true }) - if (runnerShell.family === 'cmd') { - writeFileSync(runnerScriptPath, buildWindowsRunnerScript(script), 'utf-8') + await writeFile(runnerFsPath, buildWindowsRunnerScript(script), 'utf-8') } else { - writeFileSync(runnerScriptPath, buildPosixRunnerScript(script), 'utf-8') + await writeFile(runnerFsPath, buildPosixRunnerScript(script), 'utf-8') if (!nativeWindowsWorktree) { - chmodSync(runnerScriptPath, 0o755) + await chmod(runnerFsPath, 0o755) } } @@ -148,6 +153,41 @@ async function createWorktreeRunnerScript(args: { } } +function requireFolderIdentity(identity: HookWorkspaceIdentity | undefined): HookWorkspaceIdentity { + if (!identity) { + throw new Error('A folder workspace setup runner needs the workspace it runs for.') + } + return identity +} + +async function resolveGitRunnerScriptPath( + worktreePath: string, + runnerBaseName: 'setup-runner', + runnerExtension: 'sh' | 'cmd', + runtimeTarget: HookRuntimeTarget | undefined +): Promise { + const wslWorktree = isWslPath(worktreePath) || Boolean(runtimeTarget?.wslDistro) + // Linked worktrees have .git files; resolve the per-worktree gitdir through Git. + const gitRelPath = `orca/${runnerBaseName}.${runnerExtension}` + // Read the link with the D1c Git router (if WSL Git made the worktree, host Git can't). A worktree + // inside a distro never runs synchronous Git: that would be a synchronous wsl.exe on the main thread. + const fromLink = isWslPath(worktreePath) + ? await resolveWslWorktreeGitPath(worktreePath, gitRelPath) + : isLocalGitRuntimeRouterInstalled() + ? readWorktreeGitPath(worktreePath, gitRelPath, knownWslAutomountRoots()) + : null + let runnerScriptPath = fromLink ?? getGitPath(worktreePath, gitRelPath) + + // Convert WSL Git's Linux path to a path Windows filesystem calls can reach. + if (wslWorktree && !fromLink) { + const wslInfo = getHookWslContext(worktreePath, runtimeTarget) + if (wslInfo?.distro) { + runnerScriptPath = toWindowsWslPath(runnerScriptPath.trim(), wslInfo.distro) + } + } + return runnerScriptPath +} + export function resolveSetupRunnerShell( settings: SetupRunnerShellSettings, platform: NodeJS.Platform = process.platform, diff --git a/src/main/workspaces/catalog/imported-folder-project-link.ts b/src/main/workspaces/catalog/imported-folder-project-link.ts new file mode 100644 index 00000000000..89bf3ea8827 --- /dev/null +++ b/src/main/workspaces/catalog/imported-folder-project-link.ts @@ -0,0 +1,120 @@ +import { getRepoExecutionHostId } from '../../../shared/execution-host' +import { + assertImportedFolderRemoteMatchesProject, + resolveImportedFolderProjectLink +} from '../../../shared/imported-folder-project-identity' +import { + getProjectIdentityKey, + getProjectIdForProviderIdentity, + hasProjectRemoteIdentity +} from '../../../shared/project-host-setup-projection' +import type { ProjectHostSetupExistingFolderArgs } from '../../../shared/project-types' +import type { Repo } from '../../../shared/repo-types' +import type { RuntimeStore } from '../../runtime/construction/runtime-store-contract' +import { assertWslMoveHostSetupWritable } from '../../persistence/moving-wsl-projects/quiescence/wsl-move-scope-guard' +import { readCurrentGitRemoteIdentity } from './repo-git-remote-identity' + +export type RepositoryMetadataOwner = { + enqueueRepositoryMetadata: (repos: readonly Repo[]) => void + resolveRepositoryMetadata: (repo: Repo) => Promise +} + +export async function linkImportedFolderToProject( + getStore: () => RuntimeStore | null, + initialRepo: Repo, + folderRemote: Pick, + args: ProjectHostSetupExistingFolderArgs, + metadata: RepositoryMetadataOwner +): Promise { + const store = getStore() + if (!store) { + throw new Error('runtime_unavailable') + } + const currentRow = (): Repo => { + const repo = store + .getRepos() + .find( + (entry) => + entry.id === initialRepo.id && + getRepoExecutionHostId(entry) === getRepoExecutionHostId(initialRepo) + ) + if ( + getStore() !== store || + !repo || + repo.path !== initialRepo.path || + repo.kind !== initialRepo.kind + ) { + throw new Error(`Project setup repo disappeared before it could be linked: ${initialRepo.id}`) + } + assertWslMoveHostSetupWritable(store, { + projectId: args.projectId, + hostId: getRepoExecutionHostId(repo), + repoId: repo.id + }) + return repo + } + const project = store.getProjects?.().find((entry) => entry.id === args.projectId) + const provider = project?.providerIdentity ?? args.projectProviderIdentity + const selectedProvider = + provider && getProjectIdForProviderIdentity(provider) === args.projectId ? provider : undefined + let repo = currentRow() + // Legacy icon-only matches keep their existing acceptance without a new probe or stamp. + const legacyMatch = + getProjectIdentityKey(repo) === args.projectId && + repo.repoIcon?.type === 'image' && + repo.repoIcon.source === 'github' && + !hasProjectRemoteIdentity({ gitRemoteIdentity: folderRemote.gitRemoteIdentity }) + const needsEvidence = !!selectedProvider && repo.upstream === undefined && !legacyMatch + let metadataFinished = false + if (needsEvidence) { + metadataFinished = await metadata.resolveRepositoryMetadata(repo) + repo = currentRow() + folderRemote = await readCurrentGitRemoteIdentity({ ...repo, ...folderRemote }) + repo = currentRow() + } + const updates: Partial = { + projectHostSetupMethod: args.setupMethod ?? 'imported-existing-folder' + } + const keepsCurrentIdentity = + repo.upstream !== undefined && getProjectIdentityKey(repo) === args.projectId + if (needsEvidence && !keepsCurrentIdentity) { + updates.gitRemoteIdentity = folderRemote.gitRemoteIdentity + } + const candidate = { ...repo, ...updates } + const projectedId = getProjectIdentityKey(candidate) + if ( + projectedId === args.projectId && + needsEvidence && + repo.upstream === undefined && + selectedProvider + ) { + assertImportedFolderRemoteMatchesProject(folderRemote, selectedProvider) + } + if (projectedId !== args.projectId) { + Object.assign( + updates, + resolveImportedFolderProjectLink( + { ...candidate, ...folderRemote }, + args.projectId, + selectedProvider + ) + ) + } else if (needsEvidence && repo.upstream === undefined) { + // This successful explicit origin choice is terminal; ordinary failed probes stay unknown. + updates.upstream = null + } + if (getProjectIdentityKey({ ...repo, ...updates }) !== args.projectId) { + throw new Error('Imported folder does not match the selected project identity.') + } + const updated = store.updateRepo(repo, updates) + if (!updated) { + throw new Error(`Project setup repo disappeared before it could be linked: ${repo.id}`) + } + if (getProjectIdentityKey(updated) !== args.projectId) { + throw new Error('Imported folder does not match the selected project identity.') + } + if (!needsEvidence || !metadataFinished) { + metadata.enqueueRepositoryMetadata([updated]) + } + return updated +} diff --git a/src/main/workspaces/catalog/repo-backfill-wsl-move.test.ts b/src/main/workspaces/catalog/repo-backfill-wsl-move.test.ts index 3e6cee6b328..2caeb48302a 100644 --- a/src/main/workspaces/catalog/repo-backfill-wsl-move.test.ts +++ b/src/main/workspaces/catalog/repo-backfill-wsl-move.test.ts @@ -11,7 +11,7 @@ import { seedWslMoveCutover } from '../../persistence/__fixtures__/wsl-mover/wsl import { loadWslMoveFence, resetWslMoveFenceForTests -} from '../../persistence/moving-wsl-projects/wsl-move-scope-guard' +} from '../../persistence/moving-wsl-projects/quiescence/wsl-move-scope-guard' import { probeGitRemoteIdentity } from './repo-git-remote-identity' import { enrichMissingRepoGitRemoteIdentities, @@ -26,7 +26,7 @@ vi.mock('electron', () => ({ })) vi.mock('./repo-git-remote-identity', () => ({ probeGitRemoteIdentity: vi.fn() })) vi.mock('../../github/client/fetch/repo-slug-upstream', () => ({ - getRepoUpstream: vi.fn(async () => ({ owner: 'acme', repo: 'app' })) + probeRepoUpstream: vi.fn(async () => ({ upstream: { owner: 'acme', repo: 'app' }, origin: null })) })) vi.mock('../../repository-icons/repo-icon-autodetect', () => ({ detectGitHubAvatarIcon: vi.fn(async () => null) diff --git a/src/main/workspaces/catalog/repo-git-remote-identity-enrichment.ts b/src/main/workspaces/catalog/repo-git-remote-identity-enrichment.ts index c1ef9a5f50b..093d4bcb11d 100644 --- a/src/main/workspaces/catalog/repo-git-remote-identity-enrichment.ts +++ b/src/main/workspaces/catalog/repo-git-remote-identity-enrichment.ts @@ -14,7 +14,7 @@ import { probeGitRemoteIdentity } from './repo-git-remote-identity' import { getProjectRuntimeReadGitOptions } from '../execution-host/project-runtime-git-options' import { isLocalGitRuntimeRouterInstalled } from '../../git/command-runner/local-git-runtime-route' import type { ProjectRuntimeResolutionStore } from '../execution-host/local-project-runtime-resolution' -import { isWslMoveRepoBlocked } from '../../persistence/moving-wsl-projects/wsl-move-background-backoff' +import { isWslMoveRepoBlocked } from '../../persistence/moving-wsl-projects/orchestration/wsl-move-background-backoff' import { blockedWslDistroForPath, wslDistroForPath } from '../../wsl/filesystem/wsl-unc-access-gate' const NO_IDENTITY_RETRY_TTL_MS = 5 * 60 * 1000 diff --git a/src/main/workspaces/catalog/worktree-lineage-pruning.ts b/src/main/workspaces/catalog/worktree-lineage-pruning.ts index d98125bee12..001c6e6b80b 100644 --- a/src/main/workspaces/catalog/worktree-lineage-pruning.ts +++ b/src/main/workspaces/catalog/worktree-lineage-pruning.ts @@ -7,7 +7,7 @@ import { isWorkspaceKey, parseWorkspaceKey } from '../../../shared/workspace-sco import { splitWorktreeId } from '../../../shared/worktree/id' import { worktreeRetentionPathComparisonKey } from './worktree-retention-path-comparison' import type { Store } from '../../persistence/loading-store/store' -import { isWslMoveRepoBlocked } from '../../persistence/moving-wsl-projects/wsl-move-background-backoff' +import { isWslMoveRepoBlocked } from '../../persistence/moving-wsl-projects/orchestration/wsl-move-background-backoff' import { hostWorktreeTarget } from '../../../shared/worktree/host-qualified-identity' type WorktreeLineagePruningStore = Pick & diff --git a/src/main/workspaces/creation/preparation/worktree-create-preparation-cancellation.test.ts b/src/main/workspaces/creation/preparation/worktree-create-preparation-cancellation.test.ts index 3b1ca6f8849..47d75854e94 100644 --- a/src/main/workspaces/creation/preparation/worktree-create-preparation-cancellation.test.ts +++ b/src/main/workspaces/creation/preparation/worktree-create-preparation-cancellation.test.ts @@ -1,114 +1,31 @@ -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type * as WorktreeLogic from '../../../ipc/worktree-logic' -import type { Store } from '../../../persistence/loading-store/store' +import { + mocks, + repo, + store, + flushBackgroundWork +} from '../../../__mocks__/worktree-create-preparation' +import { describe, expect, it, vi } from 'vitest' import { WORKTREE_CREATE_PREPARATION_TTL_MS } from './worktree-create-preparation-pool' -import type { Repo } from '../../../../shared/repo-types' -import { resolveWorktreeAddBaseRef } from '../../../../shared/worktree/base-ref' - -const mocks = vi.hoisted(() => ({ - mkdir: vi.fn(), - listWorktreeGraph: vi.fn(), - prepareCheckout: vi.fn(), - finalize: vi.fn(), - discard: vi.fn(), - unlock: vi.fn(), - getWorktreeOptions: vi.fn(), - computeWorkspaceRoot: vi.fn(), - computeWorkspaceRootAsync: vi.fn(), - resolveBaseRef: vi.fn(), - measureDivergence: vi.fn() -})) - -vi.mock('node:fs/promises', () => ({ mkdir: mocks.mkdir })) - -vi.mock('../../../git/worktrees/catalog/worktree-scan-cache', async (importOriginal) => ({ - ...(await importOriginal>()), - listWorktreeGraph: mocks.listWorktreeGraph -})) -vi.mock('../../../git/worktrees/creation/worktree-create-preparation', () => ({ - prepareWorktreeCreateCheckout: mocks.prepareCheckout, - finalizePreparedWorktree: mocks.finalize, - discardPreparedWorktree: mocks.discard, - unlockPreparedWorktree: mocks.unlock -})) -vi.mock('../../../git/worktrees/creation/worktree-base-ref-probe', () => ({ - resolveLocalWorktreeBaseRef: mocks.resolveBaseRef -})) -vi.mock('../../../git/worktrees/creation/worktree-base-divergence', () => ({ - measureRetargetDivergence: mocks.measureDivergence -})) -vi.mock('../../execution-host/project-runtime-git-options', () => ({ - getLocalProjectWorktreeGitOptions: mocks.getWorktreeOptions, - getWorktreeMirrorDistro: () => undefined -})) -vi.mock('../../../ipc/worktree-logic', async (importOriginal) => ({ - isOrphanedWorktreeError: (await importOriginal()).isOrphanedWorktreeError, - computeWorkspaceRoot: mocks.computeWorkspaceRoot, - computeWorkspaceRootAsync: mocks.computeWorkspaceRootAsync, - getWorktreePathSettings: () => ({ - workspaceDir: process.platform === 'win32' ? 'C:\\workspace' : '/workspace', - nestWorkspaces: false - }) -})) import { - _resetWorktreeCreatePreparationsForTests, consumePreparedWorktreeCreate, prepareWorktreeCreateForRepo } from './worktree-create-preparation' -// Evictions and retries are fire-and-forget, so let them settle before asserting. -function flushBackgroundWork(ms = 0): Promise { - return new Promise((resolve) => setTimeout(resolve, ms)) -} - -const EXISTING_REFS = new Set([ - 'refs/heads/main', - 'refs/remotes/origin/main', - 'refs/remotes/origin/release' -]) -const repo = { id: 'repo-1', path: '/repo' } as Repo -const store = { getSettings: () => ({}) } as unknown as Store - -beforeEach(() => { - mocks.mkdir.mockReset().mockResolvedValue(undefined) - mocks.listWorktreeGraph.mockReset().mockResolvedValue([]) - mocks.prepareCheckout.mockReset().mockResolvedValue(undefined) - mocks.finalize.mockReset().mockResolvedValue({}) - mocks.discard.mockReset().mockResolvedValue(undefined) - mocks.unlock.mockReset().mockResolvedValue(undefined) - mocks.getWorktreeOptions.mockReset().mockReturnValue({}) - mocks.measureDivergence.mockReset().mockResolvedValue('within') - mocks.resolveBaseRef - .mockReset() - .mockImplementation((_repoPath: string, baseRef: string) => - resolveWorktreeAddBaseRef(baseRef, async (candidate) => EXISTING_REFS.has(candidate)) - ) - mocks.computeWorkspaceRoot.mockReset().mockImplementation(() => { - throw new Error('synchronous workspace-root lookup must not run on the main thread') - }) - mocks.computeWorkspaceRootAsync - .mockReset() - .mockImplementation(async (repoPath: string) => - process.platform === 'win32' && /^[A-Za-z]:[\\/]/.test(repoPath) - ? 'C:\\workspace' - : '/workspace' - ) -}) - -afterEach(async () => { - await _resetWorktreeCreatePreparationsForTests() -}) - describe('worktree create preparation cancellation', () => { it('cancels an evicted checkout and cleans up with the original options', async () => { let signal: AbortSignal | undefined - mocks.prepareCheckout.mockImplementationOnce((_repo, _path, _base, _lock, options) => { - signal = options.signal - return new Promise((_resolve, reject) => { - signal!.addEventListener('abort', () => reject(signal!.reason), { once: true }) - }) - }) + mocks.prepareCheckout.mockImplementationOnce( + (repoPath, path, _base, reason, options, _barrier, operation) => { + operation.setDiscard((cleanupOptions) => + mocks.discard(repoPath, path, cleanupOptions, reason, null) + ) + signal = options.signal + return new Promise((_resolve, reject) => { + signal!.addEventListener('abort', () => reject(signal!.reason), { once: true }) + }) + } + ) const obsolete = prepareWorktreeCreateForRepo(store, repo, 'origin/main') const settled = Promise.allSettled([obsolete]) await flushBackgroundWork() @@ -123,7 +40,8 @@ describe('worktree create preparation cancellation', () => { repo.path, obsoletePath, expect.objectContaining({ signal: undefined }), - expect.any(String) + expect.any(String), + null ) }) @@ -149,7 +67,26 @@ describe('worktree create preparation cancellation', () => { 'fulfilled', 'fulfilled' ]) - expect(mocks.prepareCheckout).toHaveBeenCalledTimes(3) + for (const base of ['one', 'two', 'three']) { + await expect( + consumePreparedWorktreeCreate({ + repoPath: repo.path, + workspaceRoot: '/workspace', + worktreePath: `/workspace/${base}`, + branch: base, + baseBranch: `origin/${base}` + }) + ).resolves.toMatchObject({ status: 'hit' }) + } + expect(mocks.prepareCheckout).not.toHaveBeenCalledWith( + repo.path, + expect.any(String), + 'refs/remotes/origin/main', + expect.any(String), + expect.anything(), + undefined, + expect.anything() + ) await flushBackgroundWork() expect(mocks.discard).not.toHaveBeenCalled() }) diff --git a/src/main/workspaces/creation/preparation/worktree-create-preparation-pool.ts b/src/main/workspaces/creation/preparation/worktree-create-preparation-pool.ts index 140d0ac33f0..86ddaf7dca9 100644 --- a/src/main/workspaces/creation/preparation/worktree-create-preparation-pool.ts +++ b/src/main/workspaces/creation/preparation/worktree-create-preparation-pool.ts @@ -1,3 +1,11 @@ +import { discardUnmaterializedPreparation } from '../../../git/worktrees/creation/worktree-preparation-add' +import { + cancelPreparationAdmissions, + waitForPreparationAdmission, + canPrepare, + selectPreparationVictim, + type StartPreparationArgs +} from './worktree-preparation-admission-intents' import { worktreePreparationGit } from '../../../git/worktrees/creation/worktree-create-git-executor' import { randomUUID } from 'node:crypto' import { mkdir } from 'node:fs/promises' @@ -8,14 +16,11 @@ import { createWorktreePreparationLockReason } from '../../../../shared/worktree/create-preparation' import type { AddWorktreeOptions } from '../../../git/worktrees/worktree-operation-options' -import { - prepareWorktreeCreateCheckout, - discardPreparedWorktree -} from '../../../git/worktrees/creation/worktree-create-preparation' +import { prepareWorktreeCreateCheckout } from '../../../git/worktrees/creation/worktree-create-preparation' import { queuePreparedWorktreeTipRefresh } from './worktree-preparation-refresh-queue' import { toHostFilesystemPath } from '../../../filesystem/host-tree-removal' import { createPreparationActivity } from './worktree-create-preparation-activity' -import { profileStateAccessMachineIdentity } from '../../../persistence/profile-state/profile-state-access-identity' +import { profileStateAccessMachineIdentity } from '../../../persistence/profile-state/access/profile-state-access-identity' import type { PreparationActivity } from './worktree-create-preparation-activity' import { deferPreparationForClaim, @@ -35,12 +40,16 @@ import { import { discardPreparationEntry, preparationHostKey, + preparationCapacityUsed, + registerPreparationObligation, + retryPendingPreparationDiscards, resetPendingPreparationDiscardsForTests, trackPreparationDiscard } from './worktree-preparation-discard-retry' import { WorktreePreparationOperation } from '../../../git/worktrees/creation/worktree-preparation-operation' import { waitForPromiseWithSignal } from '../../../../shared/abort-signal-reason' +export type { StartPreparationArgs } from './worktree-preparation-admission-intents' export { WORKTREE_CREATE_PREPARATION_TTL_MS } from '../../../git/worktrees/creation/worktree-preparation-operation' export const WORKTREE_CREATE_PREPARATION_LIMIT = 3 @@ -63,30 +72,22 @@ export type PreparationEntry = { activity: PreparationActivity } -export type StartPreparationArgs = { - repoPath: string - workspaceRoot: string - baseBranch: string - canonicalBase: string - options: AddWorktreeOptions - beforeMaterialization?: Promise -} - const preparations = new Map() export function hasPendingPreparations(): boolean { return preparations.size > 0 || hasClaims() || hasPendingStalePreparationCleanup() } -function discardEntryInBackground(entry: PreparationEntry): void { - // Let test reset await background discards before clearing the registry. - trackPreparationDiscard(worktreePreparationGit.run(() => discardPreparationEntry(entry))) +function discardEntryInBackground(entry: PreparationEntry): Promise { + const work = worktreePreparationGit.run(() => discardPreparationEntry(entry)) + trackPreparationDiscard(work) + return work } -function evictEntry(entry: PreparationEntry): void { +function evictEntry(entry: PreparationEntry): Promise { preparations.delete(entry.key) entry.operation.controller.abort() - discardEntryInBackground(entry) + return discardEntryInBackground(entry) } function expireEntry(entry: PreparationEntry): void { @@ -97,6 +98,7 @@ function expireEntry(entry: PreparationEntry): void { /** A removed project has no create left to claim its armed checkouts. */ export function discardRepoPreparations(repoPathKey: string): void { + cancelPreparationAdmissions(repoPathKey) for (const entry of preparations.values()) { if (entry.repoPathKey === repoPathKey) { evictEntry(entry) @@ -104,28 +106,6 @@ export function discardRepoPreparations(repoPathKey: string): void { } } -/** Bound full-checkout disk use, evicting the requesting workspace's oldest preparation first. */ -function enforcePreparationLimit( - repoPathKey: string, - workspaceRootKey: string, - wslDistro: string -): void { - while (preparations.size >= WORKTREE_CREATE_PREPARATION_LIMIT) { - const byAge = [...preparations.values()].sort((left, right) => left.createdAt - right.createdAt) - const victim = - byAge.find( - (entry) => - entry.repoPathKey === repoPathKey && - entry.workspaceRootKey === workspaceRootKey && - entry.wslDistro === wslDistro - ) ?? byAge[0] - if (!victim) { - return - } - evictEntry(victim) - } -} - export function listPreparations(): PreparationEntry[] { return [...preparations.values()] } @@ -157,10 +137,13 @@ export function takePreparation( return registerClaim(entry, requestedKey) } -export function startPreparation( +function reusePreparation( args: StartPreparationArgs, - kind: DeferredPreparation['kind'] = 'explicit' -): Promise { + kind: DeferredPreparation['kind'] +): Promise | undefined { + if (!canPrepare(args)) { + return Promise.resolve() + } const existing = findPreparation( preparationPathKey(args.repoPath), preparationPathKey(args.workspaceRoot), @@ -175,10 +158,42 @@ export function startPreparation( ? refreshPreparationTip(existing, args.beforeMaterialization) : existing.ready } - if (deferPreparationForClaim(args, kind)) { - return Promise.resolve() + return deferPreparationForClaim(args, kind) ? Promise.resolve() : undefined +} + +export function startPreparation( + args: StartPreparationArgs, + kind: DeferredPreparation['kind'] = 'explicit' +): Promise { + const full = preparationCapacityUsed() >= WORKTREE_CREATE_PREPARATION_LIMIT + const retries = retryPendingPreparationDiscards( + full + ? undefined + : preparationHostKey(preparationPathKey(args.repoPath), args.options.wslDistro ?? '') + ) + void retries.catch((error) => + console.warn('[worktree-create] preparation cleanup retry failed', error) + ) + const reused = reusePreparation(args, kind) + if (reused) { + return reused } - return worktreePreparationGit.run(() => startBackgroundPreparation({ ...args, kind })) + if (!full) { + return worktreePreparationGit.run(() => startBackgroundPreparation({ ...args, kind })) + } + return worktreePreparationGit.run(() => + waitForPreparationAdmission(args, kind, WORKTREE_CREATE_PREPARATION_LIMIT, { + retry: retries, + reuse: reusePreparation, + hasCapacity: () => preparationCapacityUsed() < WORKTREE_CREATE_PREPARATION_LIMIT, + evict: (request) => { + const victim = selectPreparationVictim(preparations.values(), request) + return victim ? evictEntry(victim) : undefined + }, + start: (request, requestedKind) => + startBackgroundPreparation({ ...request, kind: requestedKind }) + }) + ) } function refreshPreparationTip( @@ -204,20 +219,25 @@ function refreshPreparationTip( return ready } -function startBackgroundPreparation({ - repoPath, - workspaceRoot, - baseBranch, - canonicalBase, - options, - beforeMaterialization, - kind -}: StartPreparationArgs & { kind: DeferredPreparation['kind'] }): Promise { +function startBackgroundPreparation( + args: StartPreparationArgs & { kind: DeferredPreparation['kind'] } +): Promise { + const { + repoPath, + workspaceRoot, + baseBranch, + canonicalBase, + options, + beforeMaterialization, + kind + } = args const repoPathKey = preparationPathKey(repoPath) const workspaceRootKey = preparationPathKey(workspaceRoot) const wslDistro = options.wslDistro ?? '' const key = preparationEntryKey(repoPathKey, workspaceRootKey, canonicalBase, wslDistro) - enforcePreparationLimit(repoPathKey, workspaceRootKey, wslDistro) + if (!canPrepare(args) || preparationCapacityUsed() >= WORKTREE_CREATE_PREPARATION_LIMIT) { + return Promise.resolve() + } const preparationId = `${process.pid}-${randomUUID()}` const lockReason = createWorktreePreparationLockReason( preparationId, @@ -242,13 +262,14 @@ function startBackgroundPreparation({ options, createdAt: Date.now(), operation, - checkoutStarted: false, + checkoutStarted: true, activity: createPreparationActivity(kind), ready: Promise.resolve() } operation.setDiscard((cleanupOptions) => - discardPreparedWorktree(repoPath, preparedPath, cleanupOptions, lockReason) + discardUnmaterializedPreparation(preparedPath, cleanupOptions) ) + registerPreparationObligation(entry) entry.ready = operation.run(async () => { await waitForPromiseWithSignal( startStalePreparationCleanup(preparationHostKey(repoPathKey, wslDistro), repoPath, options), @@ -257,7 +278,6 @@ function startBackgroundPreparation({ signal.throwIfAborted() await operation.trackWriter(mkdir(toHostFilesystemPath(preparationRoot), { recursive: true })) signal.throwIfAborted() - entry.checkoutStarted = true await prepareWorktreeCreateCheckout( repoPath, preparedPath, @@ -281,6 +301,7 @@ function startBackgroundPreparation({ } export async function _resetPreparationPoolForTests(): Promise { + cancelPreparationAdmissions() const entries = [...preparations.values()] preparations.clear() resetClaimsForTests() diff --git a/src/main/workspaces/creation/preparation/worktree-create-preparation-stale-cleanup.ts b/src/main/workspaces/creation/preparation/worktree-create-preparation-stale-cleanup.ts index 7ac8fea5ffa..1be232e1463 100644 --- a/src/main/workspaces/creation/preparation/worktree-create-preparation-stale-cleanup.ts +++ b/src/main/workspaces/creation/preparation/worktree-create-preparation-stale-cleanup.ts @@ -5,7 +5,7 @@ import { parseWorktreePreparationPathOwnerPid } from '../../../../shared/worktree/create-preparation' import { orcadDataRootIsOnLocalDisk } from '../../../orcad/orcad-data-root-locality' -import { profileStateAccessMachineIdentity } from '../../../persistence/profile-state/profile-state-access-identity' +import { profileStateAccessMachineIdentity } from '../../../persistence/profile-state/access/profile-state-access-identity' import type { AddWorktreeOptions } from '../../../git/worktrees/worktree-operation-options' import { listWorktreeGraph } from '../../../git/worktrees/catalog/worktree-scan-cache' import { @@ -64,12 +64,12 @@ export async function startStalePreparationCleanup( repoPath: string, options: AddWorktreeOptions ): Promise { + void retryPendingPreparationDiscards(cleanupKey) const existing = staleCleanupInFlight.get(cleanupKey) if (existing) { await existing.scanned.catch(() => {}) return } - void retryPendingPreparationDiscards(cleanupKey) // Reclaim in background to avoid blocking creates; retain caller priority for the scan they await. const reclaimOptions: AddWorktreeOptions = { ...options, admissionTier: 'background' } const scan = listWorktreeGraph(repoPath, { diff --git a/src/main/workspaces/creation/preparation/worktree-create-preparation.test.ts b/src/main/workspaces/creation/preparation/worktree-create-preparation.test.ts index f0f3a1c4071..3beddbfdfc6 100644 --- a/src/main/workspaces/creation/preparation/worktree-create-preparation.test.ts +++ b/src/main/workspaces/creation/preparation/worktree-create-preparation.test.ts @@ -8,7 +8,6 @@ import { describe, expect, it } from 'vitest' import type { Repo } from '../../../../shared/repo-types' import { hasPendingStalePreparationCleanup } from './worktree-create-preparation-stale-cleanup' import '../../../../shared/worktree/create-preparation' -import { WorktreePreparationLockOwnershipError } from '../../../git/worktrees/creation/worktree-preparation-lock' import { _resetWorktreeCreatePreparationsForTests, consumePreparedWorktreeCreate, @@ -62,7 +61,8 @@ describe('worktree create preparation registry', () => { 'main', undefined, {}, - mocks.prepareCheckout.mock.calls[0]?.[3] + mocks.prepareCheckout.mock.calls[0]?.[3], + expect.anything() ) }) @@ -189,7 +189,8 @@ describe('worktree create preparation registry', () => { repo.path, armedPath, expect.objectContaining({ signal: undefined }), - expect.any(String) + expect.any(String), + null ) expect(mocks.discard).toHaveBeenCalledWith( repo.path, @@ -309,36 +310,4 @@ describe('worktree create preparation registry', () => { expect(mocks.unlock).not.toHaveBeenCalled() expect(mocks.discard).not.toHaveBeenCalled() }) - - it('cleans up and reports a finalize miss so normal add can run', async () => { - await prepareWorktreeCreateForRepo(store, repo, 'origin/main') - mocks.finalize.mockRejectedValueOnce(new Error('submodules prevent worktree move')) - - await expect( - consumePreparedWorktreeCreate({ - repoPath: repo.path, - workspaceRoot: '/workspace', - worktreePath: '/workspace/final', - branch: 'feature/test', - baseBranch: 'origin/main' - }) - ).resolves.toMatchObject({ status: 'miss', reason: 'finalize_failed' }) - expect(mocks.mkdir).toHaveBeenCalledWith('/workspace', { recursive: true }) - expect(mocks.discard).toHaveBeenCalledTimes(1) - }) - - it('preserves another owner’s checkout when finalization loses its lock', async () => { - await prepareWorktreeCreateForRepo(store, repo, 'origin/main') - mocks.finalize.mockRejectedValueOnce(new WorktreePreparationLockOwnershipError()) - await expect( - consumePreparedWorktreeCreate({ - repoPath: repo.path, - workspaceRoot: '/workspace', - worktreePath: '/workspace/final', - branch: 'feature/test', - baseBranch: 'origin/main' - }) - ).resolves.toMatchObject({ status: 'miss', reason: 'finalize_failed' }) - expect(mocks.discard).not.toHaveBeenCalled() - }) }) diff --git a/src/main/workspaces/creation/preparation/worktree-create-preparation.ts b/src/main/workspaces/creation/preparation/worktree-create-preparation.ts index f832a983b81..7ab008843c8 100644 --- a/src/main/workspaces/creation/preparation/worktree-create-preparation.ts +++ b/src/main/workspaces/creation/preparation/worktree-create-preparation.ts @@ -1,7 +1,8 @@ import { waitForPromiseWithSignal } from '../../../../shared/abort-signal-reason' import { discardPreparationEntry, - trackPreparationDiscard + trackPreparationDiscard, + releasePreparationObligation } from './worktree-preparation-discard-retry' import { worktreePreparationGit } from '../../../git/worktrees/creation/worktree-create-git-executor' import { mkdir } from 'node:fs/promises' @@ -20,7 +21,6 @@ import type { AddWorktreeOptions, AddWorktreeResult } from '../../../git/worktrees/worktree-operation-options' -import { WorktreePreparationLockOwnershipError } from '../../../git/worktrees/creation/worktree-preparation-lock' import { _resetPreparationPoolForTests, hasPendingPreparations, @@ -38,7 +38,7 @@ import { type ReservedPreparation } from './worktree-create-preparation-reservation' import { - discardPreparedWorktree, + PreparedWorktreeFinalizationPendingError, finalizePreparedWorktree } from '../../../git/worktrees/creation/worktree-create-preparation' import { @@ -127,8 +127,7 @@ async function prepareWorktreeCreateInBackground( return } const options = getLocalProjectWorktreeGitOptions(store, repo) - // Resolve WSL homes asynchronously to avoid freezing the composer while wsl.exe runs. - // Match createLocalWorktree's mirror distro so preparation and consume use the same root key. + // Resolve WSL homes asynchronously with createLocalWorktree's mirror distro and root key. const workspaceRoot = await computeWorkspaceRootAsync( repo.path, getWorktreePathSettings(repo, store.getSettings(), getWorktreeMirrorDistro(store, repo)) @@ -144,7 +143,8 @@ async function prepareWorktreeCreateInBackground( baseBranch, canonicalBase, options, - beforeMaterialization + beforeMaterialization, + canPrepare: () => !store.getRepo || Boolean(store.getRepo(repo.id)) }) } @@ -250,10 +250,7 @@ export async function consumePreparedWorktreeCreate( } function preparedCheckoutReset(retargeted: boolean, headReset: boolean): PreparedCheckoutReset { - if (!headReset) { - return 'none' - } - return retargeted ? 'retargeted' : 'base_moved' + return headReset ? (retargeted ? 'retargeted' : 'base_moved') : 'none' } async function attemptPreparedWorktreeCreate( @@ -283,10 +280,12 @@ async function attemptPreparedWorktreeCreate( args.baseBranch, args.refreshLocalBaseRef, options, - entry.lockReason + entry.lockReason, + entry.operation ) } ) + releasePreparationObligation(entry) const rearm = deferRearmPreparation(entry, reservation, args.baseBranch, claim.canonicalBase) return { status: 'hit', @@ -298,16 +297,15 @@ async function attemptPreparedWorktreeCreate( rearm } } catch (error) { - // Another owner holds the preparation's lock, so it is not ours to remove. - if (!(error instanceof WorktreePreparationLockOwnershipError)) { - await timePhase(args, 'prepared_checkout_discard', () => - discardPreparedWorktree(args.repoPath, entry.preparedPath, options, entry.lockReason) - ).catch(() => {}) - } + trackPreparationDiscard(worktreePreparationGit.run(() => discardPreparationEntry(entry))) if (options.signal?.aborted) { releaseClaimAfterCreate(reservation)() options.signal.throwIfAborted() } + if (error instanceof PreparedWorktreeFinalizationPendingError) { + releaseClaimAfterCreate(reservation)() + throw error.originalError + } console.warn( '[worktree-create] prepared checkout could not be finalized; using normal add', error diff --git a/src/main/workspaces/creation/preparation/worktree-preparation-admission-intents.ts b/src/main/workspaces/creation/preparation/worktree-preparation-admission-intents.ts new file mode 100644 index 00000000000..c54cb0b3679 --- /dev/null +++ b/src/main/workspaces/creation/preparation/worktree-preparation-admission-intents.ts @@ -0,0 +1,184 @@ +import { blockedWslDistroForPath } from '../../../wsl/filesystem/wsl-unc-access-gate' +import { waitForPromiseWithSignal } from '../../../../shared/abort-signal-reason' +import { preparationEntryKey, preparationPathKey } from './worktree-create-preparation-claim' +import type { DeferredPreparation } from './worktree-create-preparation-claim-registry' +import type { PreparationEntry } from './worktree-create-preparation-pool' +import type { AddWorktreeOptions } from '../../../git/worktrees/worktree-operation-options' + +export type StartPreparationArgs = { + repoPath: string + workspaceRoot: string + baseBranch: string + canonicalBase: string + options: AddWorktreeOptions + beforeMaterialization?: Promise + canPrepare?: () => boolean +} + +export function selectPreparationVictim( + entries: Iterable, + args: StartPreparationArgs +): PreparationEntry | undefined { + const byAge = [...entries].sort((left, right) => left.createdAt - right.createdAt) + return ( + byAge.find( + (entry) => + entry.repoPathKey === preparationPathKey(args.repoPath) && + entry.workspaceRootKey === preparationPathKey(args.workspaceRoot) && + entry.wslDistro === (args.options.wslDistro ?? '') + ) ?? byAge[0] + ) +} + +type PreparationAdmissionIntent = { + args: StartPreparationArgs + kind: DeferredPreparation['kind'] + ready: Promise + signal: AbortSignal + current(): boolean + release(): void + wait(work: Promise): Promise + cancel(): void +} + +const intents = new Map() + +function joinPreparationAdmission( + args: StartPreparationArgs, + kind: DeferredPreparation['kind'], + limit: number, + run: (intent: PreparationAdmissionIntent) => Promise, + reuse: () => Promise | undefined +): Promise { + const key = preparationEntryKey( + preparationPathKey(args.repoPath), + preparationPathKey(args.workspaceRoot), + args.canonicalBase, + args.options.wslDistro ?? '' + ) + const existing = intents.get(key) + if (existing) { + if (kind === 'explicit' || existing.kind !== 'explicit') { + existing.kind = kind + if (args.beforeMaterialization) { + existing.args.beforeMaterialization = args.beforeMaterialization + } + } + return existing.ready.then(() => (existing.signal.aborted ? undefined : reuse())) + } + if (intents.size >= limit) { + return Promise.resolve() + } + const controller = new AbortController() + const signal = args.options.signal + ? AbortSignal.any([controller.signal, args.options.signal]) + : controller.signal + const completion = Promise.withResolvers() + const intent: PreparationAdmissionIntent = { + args: { ...args }, + kind, + ready: completion.promise, + signal, + current: () => intents.get(key) === intent && !signal.aborted, + release: () => { + if (intents.get(key) === intent) { + intents.delete(key) + } + }, + wait: (work) => waitForPromiseWithSignal(work, signal), + cancel: () => { + controller.abort() + intent.release() + } + } + intents.set(key, intent) + void run(intent) + .catch((error) => { + if (!signal.aborted) { + throw error + } + }) + .then(completion.resolve, completion.reject) + .finally(intent.release) + return intent.ready +} + +export function cancelPreparationAdmissions(repoPathKey?: string): void { + for (const intent of intents.values()) { + if (!repoPathKey || preparationPathKey(intent.args.repoPath) === repoPathKey) { + intent.cancel() + } + } +} + +type AdmissionActions = { + retry: Promise + reuse: ( + args: StartPreparationArgs, + kind: DeferredPreparation['kind'] + ) => Promise | undefined + hasCapacity: () => boolean + evict: (args: StartPreparationArgs) => Promise | undefined + start: (args: StartPreparationArgs, kind: DeferredPreparation['kind']) => Promise +} + +export function canPrepare(args: StartPreparationArgs): boolean { + return ( + !args.options.signal?.aborted && + args.options.canStart?.() !== false && + args.canPrepare?.() !== false + ) +} + +export function waitForPreparationAdmission( + args: StartPreparationArgs, + kind: DeferredPreparation['kind'], + limit: number, + actions: AdmissionActions +): Promise { + return joinPreparationAdmission( + args, + kind, + limit, + (intent) => recoverPreparationCapacity(intent, actions), + () => (canPrepare(args) ? actions.reuse(args, kind) : undefined) + ) +} + +async function recoverPreparationCapacity( + intent: PreparationAdmissionIntent, + actions: AdmissionActions +): Promise { + const { args } = intent + const valid = (): boolean => intent.current() && canPrepare(args) + const hostAvailable = (): Promise => + intent + .wait(blockedWslDistroForPath(args.repoPath, args.options.wslDistro)) + .then((blocked) => !blocked) + await intent.wait(actions.retry) + if (!valid() || !(await hostAvailable()) || !valid()) { + return + } + let reused = actions.reuse(args, intent.kind) + if (reused) { + intent.release() + return reused + } + if (!actions.hasCapacity()) { + const removal = actions.evict(args) + if (!removal) { + return + } + await intent.wait(removal) + if (!valid() || !(await hostAvailable()) || !valid()) { + return + } + reused = actions.reuse(args, intent.kind) + if (reused) { + intent.release() + return reused + } + } + intent.release() + return actions.start(args, intent.kind) +} diff --git a/src/main/workspaces/creation/preparation/worktree-preparation-discard-retry.ts b/src/main/workspaces/creation/preparation/worktree-preparation-discard-retry.ts index c8b65032454..0ce0d4b20db 100644 --- a/src/main/workspaces/creation/preparation/worktree-preparation-discard-retry.ts +++ b/src/main/workspaces/creation/preparation/worktree-preparation-discard-retry.ts @@ -1,101 +1,88 @@ -import type { AddWorktreeOptions } from '../../../git/worktrees/worktree-operation-options' -import { discardPreparedWorktree } from '../../../git/worktrees/creation/worktree-create-preparation' -import { WorktreePreparationLockOwnershipError } from '../../../git/worktrees/creation/worktree-preparation-lock' -import { isOrphanedWorktreeError } from '../../../ipc/worktree-logic' +import { worktreePreparationGit } from '../../../git/worktrees/creation/worktree-create-git-executor' import { trackPreparationWork } from '../worktree-create-concurrency' -import type { WorktreePreparationOperation } from '../../../git/worktrees/creation/worktree-preparation-operation' +import { blockedWslDistroForPath } from '../../../wsl/filesystem/wsl-unc-access-gate' import type { PreparationEntry } from './worktree-create-preparation-pool' -// Retry live-owner discard failures on later preparations; stale cleanup only reclaims dead owners. -const PREPARATION_DISCARD_ATTEMPT_LIMIT = 3 - -export type PreparationDiscardTarget = { - hostKey: string - repoPath: string - preparedPath: string - lockReason: string - options: AddWorktreeOptions - operation?: WorktreePreparationOperation -} - -const pendingDiscards = new Map() +const obligations = new Map() const inFlightDiscards = new Set>() export function preparationHostKey(repoPathKey: string, wslDistro: string): string { return `${repoPathKey}\0${wslDistro}` } +function obligationKey(entry: PreparationEntry): string { + return `${preparationHostKey(entry.repoPathKey, entry.wslDistro)}\0${entry.preparedPath}` +} + +export function preparationCapacityUsed(): number { + return obligations.size +} + +export function registerPreparationObligation(entry: PreparationEntry): void { + const key = obligationKey(entry) + obligations.set(key, entry) + entry.operation.setDisposalOwner({ + current: () => obligations.get(key) === entry, + before: async () => !(await blockedWslDistroForPath(entry.repoPath, entry.options.wslDistro)), + schedule: (run) => { + const work = trackPreparationWork(worktreePreparationGit.run(run)) + trackPreparationDiscard(work) + return work + }, + disposed: () => { + if (obligations.get(key) === entry) { + obligations.delete(key) + } + } + }) +} + +export function releasePreparationObligation(entry: PreparationEntry): void { + const key = obligationKey(entry) + if (obligations.get(key) !== entry) { + return + } + obligations.delete(key) + entry.operation.release() +} + export async function discardPreparationEntry(entry: PreparationEntry): Promise { if (!entry.checkoutStarted) { return } - // Claim cleanup before yielding so queued refresh failures cannot discard the same checkout. + // Claim submission before yielding; the capacity owner survives this claim. entry.checkoutStarted = false - await discardPreparationWithRetry({ - hostKey: preparationHostKey(entry.repoPathKey, entry.wslDistro), - repoPath: entry.repoPath, - preparedPath: entry.preparedPath, - lockReason: entry.lockReason, - options: entry.options, - operation: entry.operation - }) -} - -/** Let test reset await detached discards before clearing the registry. */ -export function trackPreparationDiscard(work: Promise): void { - inFlightDiscards.add(work) - void work.finally(() => inFlightDiscards.delete(work)) -} - -function pendingKey(target: PreparationDiscardTarget): string { - return `${target.hostKey}\0${target.preparedPath}` -} - -async function runDiscard(target: PreparationDiscardTarget, attempts: number): Promise { - try { - const discard = (options: AddWorktreeOptions): Promise => - discardPreparedWorktree(target.repoPath, target.preparedPath, options, target.lockReason) - await (target.operation ? target.operation.discard() : discard(target.options)) - } catch (error) { - // Checkout failure may already have removed the registration; do not retry missing or foreign entries. - if (error instanceof WorktreePreparationLockOwnershipError || isOrphanedWorktreeError(error)) { - return - } - // Bounded: a path that never becomes removable must not tax every later preparation. - if (attempts >= PREPARATION_DISCARD_ATTEMPT_LIMIT) { - console.warn( - `[worktree-create] prepared checkout could not be discarded in ${attempts} attempts; ${target.preparedPath} stays registered until this process exits`, - error - ) - return - } - pendingDiscards.set(pendingKey(target), { ...target, attempts }) + if (obligations.get(obligationKey(entry)) === entry) { + await entry.operation.discard() } } -/** Record failed discards for bounded retries. */ -export function discardPreparationWithRetry( - target: PreparationDiscardTarget, - attempts = 1 -): Promise { - // Claim the record so an overlapping retry pass cannot run the same discard twice. - pendingDiscards.delete(pendingKey(target)) - const discard = trackPreparationWork(runDiscard(target, attempts)) - trackPreparationDiscard(discard) - return discard +export function trackPreparationDiscard(work: Promise): void { + inFlightDiscards.add(work) + void work.then( + () => inFlightDiscards.delete(work), + () => inFlightDiscards.delete(work) + ) } -export function retryPendingPreparationDiscards(hostKey: string): Promise { - const pending = [...pendingDiscards.values()].filter((target) => target.hostKey === hostKey) +export function retryPendingPreparationDiscards(hostKey?: string): Promise { return Promise.all( - pending.map(({ attempts, ...target }) => discardPreparationWithRetry(target, attempts + 1)) + [...obligations.values()] + .filter( + (entry) => + entry.operation.needsDiscardRetry && + (!hostKey || preparationHostKey(entry.repoPathKey, entry.wslDistro) === hostKey) + ) + .map((entry) => entry.operation.discard()) ).then(() => undefined) } -/** Settle background discards before clearing their registry. */ export async function resetPendingPreparationDiscardsForTests(): Promise { while (inFlightDiscards.size > 0) { - await Promise.all(inFlightDiscards) + await Promise.allSettled(inFlightDiscards) } - pendingDiscards.clear() + for (const entry of obligations.values()) { + entry.operation.release() + } + obligations.clear() } diff --git a/src/main/workspaces/creation/preparation/worktree-preparation-fetch-barrier.test.ts b/src/main/workspaces/creation/preparation/worktree-preparation-fetch-barrier.test.ts index 13f9e2e4e5c..2cc102b5fe1 100644 --- a/src/main/workspaces/creation/preparation/worktree-preparation-fetch-barrier.test.ts +++ b/src/main/workspaces/creation/preparation/worktree-preparation-fetch-barrier.test.ts @@ -81,7 +81,8 @@ describe('prepared checkout shared fetch barrier', () => { repo.path, entry.preparedPath, expect.objectContaining({ signal: undefined }), - entry.lockReason + entry.lockReason, + null ) expect(listPreparations()).toEqual([]) } finally { diff --git a/src/main/workspaces/creation/preparation/worktree-preparation-lifetime-real-git.test.ts b/src/main/workspaces/creation/preparation/worktree-preparation-lifetime-real-git.test.ts index 029738ac333..bd08f44e133 100644 --- a/src/main/workspaces/creation/preparation/worktree-preparation-lifetime-real-git.test.ts +++ b/src/main/workspaces/creation/preparation/worktree-preparation-lifetime-real-git.test.ts @@ -1,209 +1,23 @@ -import { execFileSync } from 'node:child_process' +import { fixture, git, removeLifetimeFixtures } from './worktree-preparation-lifetime.test-fixture' + import { existsSync } from 'node:fs' -import { mkdtemp, readFile, realpath, rm, writeFile } from 'node:fs/promises' -import { tmpdir } from 'node:os' +import { readFile } from 'node:fs/promises' import { join } from 'node:path' import { afterEach, expect, it, vi } from 'vitest' -import type { RuntimeStore } from '../../../runtime/construction/runtime-store-contract' -import type { AddWorktreeOptions } from '../../../git/worktrees/worktree-operation-options' + import * as gitRunner from '../../../git/command-runner/git-exec-file' -import { createRuntimeLocalGitWorktree } from '../../../runtime/workspaces/creation/runtime-local-git-worktree-create' -import { createWorktreeCreateTimingRecorder } from '../worktree-create-timing' + import { _resetWorktreeCreatePreparationsForTests } from './worktree-create-preparation' -import { - discardRepoPreparations, - listPreparations, - startPreparation -} from './worktree-create-preparation-pool' - -const roots: string[] = [] -function git(cwd: string, ...args: string[]): string { - return execFileSync('git', args, { cwd, encoding: 'utf8', stdio: 'pipe' }).trim() -} - -async function fixture() { - const root = await realpath(await mkdtemp(join(tmpdir(), 'orca-preparation-lifetime-'))) - roots.push(root) - const repoPath = join(root, 'repo') - execFileSync('git', ['init', '--quiet', repoPath]) - git(repoPath, 'symbolic-ref', 'HEAD', 'refs/heads/main') - git(repoPath, 'config', 'user.email', 'test@example.com') - git(repoPath, 'config', 'user.name', 'Test User') - git(repoPath, 'config', 'core.autocrlf', 'false') - await writeFile(join(repoPath, 'version.txt'), 'original\n') - git(repoPath, 'add', '.') - git(repoPath, 'commit', '--quiet', '-m', 'initial') - const repo = { - id: 'lifetime-repo', - path: repoPath, - displayName: 'Repo', - addedAt: 0, - badgeColor: '' - } - const arm = ( - beforeMaterialization?: Promise, - options: AddWorktreeOptions = {}, - baseBranch = 'main' - ) => - startPreparation({ - repoPath, - workspaceRoot: root, - baseBranch, - canonicalBase: baseBranch === 'origin/main' ? 'refs/remotes/origin/main' : 'refs/heads/main', - options, - beforeMaterialization - }) - const create = async ( - branch: string, - baseBranch = 'main', - options: AddWorktreeOptions = {}, - waiting?: () => void, - timing = createWorktreeCreateTimingRecorder() - ) => { - const time = timing.time.bind(timing) - timing.time = (phase, operation) => { - if (phase === 'prepared_checkout_wait') { - waiting?.() - } - return time(phase, operation) - } - const rearm = { fire: () => {} } - try { - return await createRuntimeLocalGitWorktree({ - request: { repoSelector: repo.id, name: branch }, - repo, - // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: no metadata/push/name-retirement operation is requested at this Git-only host boundary. - store: {} as RuntimeStore, - settings: { - workspaceDir: root, - nestWorkspaces: false, - refreshLocalBaseRefOnWorktreeCreate: false - }, - base: { baseBranch, remoteTrackingBase: null, deferredRefresh: null }, - workspaceRoot: root, - branchName: branch, - worktreePath: join(root, branch), - checkoutExistingBranch: false, - localWorktreeGitOptions: options, - // Foreground freshness already completed; the obsolete speculative barrier is independent. - baseRefRefresh: { finish: async () => {} }, - rearm, - timing - }) - } finally { - timing.finish() - rearm.fire() - } - } - return { root, repoPath, arm, create } -} afterEach(async () => { vi.useRealTimers() vi.restoreAllMocks() - vi.unstubAllEnvs() + await _resetWorktreeCreatePreparationsForTests() - await Promise.all(roots.splice(0).map((root) => rm(root, { recursive: true, force: true }))) + await removeLifetimeFixtures() }) -it.each(['initial', 'queued'])( - 'creates the requested checkout across an unresolved older %s barrier, then creates again', - async (kind) => { - const { root, repoPath, arm, create } = await fixture() - git(repoPath, 'update-ref', 'refs/remotes/origin/main', 'HEAD') - if (kind === 'queued') { - await arm(undefined, {}, 'origin/main') - } - const barrier = Promise.withResolvers() - const preparing = arm(barrier.promise, {}, 'origin/main') - await vi.waitFor(() => expect(listPreparations()).toHaveLength(1)) - const [entry] = listPreparations() - await vi.waitFor(() => expect(existsSync(join(entry.preparedPath, '.git'))).toBe(true)) - await writeFile(join(repoPath, 'version.txt'), 'requested\n') - git(repoPath, 'commit', '--quiet', '-am', 'requested tip') - try { - const timing = createWorktreeCreateTimingRecorder() - await create('first', 'main', {}, undefined, timing) - expect(timing.finish().preparedCheckout).toMatchObject({ status: 'hit', reset: 'retargeted' }) - await preparing - expect(git(join(root, 'first'), 'branch', '--show-current')).toBe('first') - expect(await readFile(join(root, 'first', 'version.txt'), 'utf8')).toBe('requested\n') - await create('second', 'origin/main') - expect(await readFile(join(root, 'second', 'version.txt'), 'utf8')).toBe('original\n') - barrier.resolve() - expect(git(join(root, 'first'), 'status', '--porcelain')).toBe('') - } finally { - barrier.resolve() - await preparing.catch(() => {}) - } - } -) - -it('falls back after an inherited operation expires and never starts the abandoned checkout late', async () => { - const { root, repoPath, arm, create } = await fixture() - const blocked = Promise.withResolvers() - const resetStarted = Promise.withResolvers() - const waiting = Promise.withResolvers() - const run = gitRunner.gitExecFileAsync - let blockedPath: string | undefined - vi.spyOn(gitRunner, 'gitExecFileAsync').mockImplementation(async (args, options) => { - if (args.includes('reset') && blockedPath === undefined) { - blockedPath = options.cwd - resetStarted.resolve() - await blocked.promise - } - return run(args, options) - }) - vi.useFakeTimers({ toFake: ['Date', 'setTimeout', 'clearTimeout'] }) - const preparation = arm().catch(() => {}) - await resetStarted.promise - await vi.advanceTimersByTimeAsync(4 * 60_000) - const queuedRefresh = arm(Promise.resolve()).catch(() => {}) - const creation = create('fallback', 'main', {}, waiting.resolve) - await waiting.promise - // The 38min initial budget already spent 4min; neither claim nor queued refresh renews it. - await vi.advanceTimersByTimeAsync(34 * 60_000) - await creation - expect(await readFile(join(root, 'fallback', 'version.txt'), 'utf8')).toBe('original\n') - await vi.advanceTimersByTimeAsync(30_000) - blocked.resolve() - await preparation - await queuedRefresh - await create('after-fallback') - expect(git(join(root, 'after-fallback'), 'branch', '--show-current')).toBe('after-fallback') - expect(existsSync(join(blockedPath!, 'version.txt'))).toBe(false) - expect(git(repoPath, 'worktree', 'list', '--porcelain')).toContain('refs/heads/fallback') -}) - -it('propagates caller cancellation without falling back to a phantom worktree', async () => { - const { root, arm, create } = await fixture() - const blocked = Promise.withResolvers() - const started = Promise.withResolvers() - const waiting = Promise.withResolvers() - const run = gitRunner.gitExecFileAsync - vi.spyOn(gitRunner, 'gitExecFileAsync').mockImplementation(async (args, options) => { - if (args.includes('reset')) { - started.resolve() - await blocked.promise - } - return run(args, options) - }) - const preparation = arm().catch(() => {}) - await started.promise - const controller = new AbortController() - const creation = create('canceled', 'main', { signal: controller.signal }, waiting.resolve) - const canceled = expect(creation).rejects.toThrow('caller stopped') - await waiting.promise - controller.abort(new Error('caller stopped')) - await canceled - blocked.resolve() - await preparation - await create('after-cancel') - expect(existsSync(join(root, 'canceled'))).toBe(false) - expect(await readFile(join(root, 'after-cancel', 'version.txt'), 'utf8')).toBe('original\n') -}) - -it('keeps a locked artifact after writer termination cannot be verified, even when proof arrives late', async () => { +it('parks an unproven writer and autonomously removes its hidden checkout after late proof', async () => { const { root, arm, create } = await fixture() const failed = Promise.withResolvers() const started = Promise.withResolvers() @@ -230,43 +44,15 @@ it('keeps a locked artifact after writer termination cannot be verified, even wh await creation await preparation await vi.advanceTimersByTimeAsync(30_000) + expect(existsSync(join(preparedPath, '.git'))).toBe(true) + // Repeated requests cannot revive or wait again on the same parked writer. + await arm() + await arm() terminated.resolve() + await vi.waitFor(() => expect(existsSync(preparedPath)).toBe(false)) await create('after-writer') expect(await readFile(join(root, 'writer-fallback', 'version.txt'), 'utf8')).toBe('original\n') - expect(existsSync(join(preparedPath, '.git'))).toBe(true) - expect(existsSync(join(preparedPath, 'version.txt'))).toBe(false) - expect(git(preparedPath, 'worktree', 'list', '--porcelain')).toContain( - 'locked orca-create-preparation:' + expect(git(root, '-C', join(root, 'repo'), 'worktree', 'list', '--porcelain')).not.toContain( + preparedPath ) }) - -it('never spawns a destructive remove queued beyond retirement abandonment', async () => { - const { repoPath, arm, create } = await fixture() - const queued = Promise.withResolvers() - const admitted = Promise.withResolvers() - const attempted = Promise.withResolvers() - vi.useFakeTimers({ toFake: ['Date', 'setTimeout', 'clearTimeout'] }) - await arm() - const [entry] = listPreparations() - const run = gitRunner.gitExecFileAsync - vi.spyOn(gitRunner, 'gitExecFileAsync').mockImplementation(async (args, options) => { - if (args.includes('remove')) { - queued.resolve() - await admitted.promise - try { - return await run(args, options) - } finally { - attempted.resolve() - } - } - return run(args, options) - }) - discardRepoPreparations(entry.repoPathKey) - await queued.promise - await vi.advanceTimersByTimeAsync(30_000) - admitted.resolve() - await attempted.promise - await create('after-abandoned-discard') - expect(await readFile(join(entry.preparedPath, 'version.txt'), 'utf8')).toBe('original\n') - expect(git(repoPath, 'worktree', 'list', '--porcelain')).toContain(entry.lockReason) -}) diff --git a/src/main/workspaces/creation/preparation/worktree-preparation-lifetime.test-fixture.ts b/src/main/workspaces/creation/preparation/worktree-preparation-lifetime.test-fixture.ts new file mode 100644 index 00000000000..4b3d9e22ade --- /dev/null +++ b/src/main/workspaces/creation/preparation/worktree-preparation-lifetime.test-fixture.ts @@ -0,0 +1,95 @@ +import { execFileSync } from 'node:child_process' +import { mkdtemp, realpath, rm, writeFile } from 'node:fs/promises' +import { tmpdir } from 'node:os' +import { join } from 'node:path' +import type { RuntimeStore } from '../../../runtime/construction/runtime-store-contract' +import type { AddWorktreeOptions } from '../../../git/worktrees/worktree-operation-options' +import { createRuntimeLocalGitWorktree } from '../../../runtime/workspaces/creation/runtime-local-git-worktree-create' +import { createWorktreeCreateTimingRecorder } from '../worktree-create-timing' +import { startPreparation } from './worktree-create-preparation-pool' + +const roots: string[] = [] +export function git(cwd: string, ...args: string[]): string { + return execFileSync('git', args, { cwd, encoding: 'utf8', stdio: 'pipe' }).trim() +} + +export async function fixture() { + const root = await realpath(await mkdtemp(join(tmpdir(), 'orca-preparation-lifetime-'))) + roots.push(root) + const repoPath = join(root, 'repo') + execFileSync('git', ['init', '--quiet', repoPath]) + git(repoPath, 'symbolic-ref', 'HEAD', 'refs/heads/main') + git(repoPath, 'config', 'user.email', 'test@example.com') + git(repoPath, 'config', 'user.name', 'Test User') + git(repoPath, 'config', 'core.autocrlf', 'false') + await writeFile(join(repoPath, 'version.txt'), 'original\n') + git(repoPath, 'add', '.') + git(repoPath, 'commit', '--quiet', '-m', 'initial') + const repo = { + id: 'lifetime-repo', + path: repoPath, + displayName: 'Repo', + addedAt: 0, + badgeColor: '' + } + const arm = ( + beforeMaterialization?: Promise, + options: AddWorktreeOptions = {}, + baseBranch = 'main' + ) => + startPreparation({ + repoPath, + workspaceRoot: root, + baseBranch, + canonicalBase: baseBranch === 'origin/main' ? 'refs/remotes/origin/main' : 'refs/heads/main', + options, + beforeMaterialization + }) + const create = async ( + branch: string, + baseBranch = 'main', + options: AddWorktreeOptions = {}, + waiting?: () => void, + timing = createWorktreeCreateTimingRecorder() + ) => { + const time = timing.time.bind(timing) + timing.time = (phase, operation) => { + if (phase === 'prepared_checkout_wait') { + waiting?.() + } + return time(phase, operation) + } + const rearm = { fire: () => {} } + try { + return await createRuntimeLocalGitWorktree({ + request: { repoSelector: repo.id, name: branch }, + repo, + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: no metadata/push/name-retirement operation is requested at this Git-only host boundary. + store: {} as RuntimeStore, + settings: { + workspaceDir: root, + nestWorkspaces: false, + refreshLocalBaseRefOnWorktreeCreate: false + }, + base: { baseBranch, remoteTrackingBase: null, deferredRefresh: null }, + workspaceRoot: root, + branchName: branch, + worktreePath: join(root, branch), + checkoutExistingBranch: false, + localWorktreeGitOptions: options, + // Foreground freshness already completed; the obsolete speculative barrier is independent. + baseRefRefresh: { finish: async () => {} }, + rearm, + timing + }) + } finally { + timing.finish() + rearm.fire() + } + } + return { root, repoPath, arm, create } +} + +export async function removeLifetimeFixtures(): Promise { + await Promise.all(roots.splice(0).map((root) => rm(root, { recursive: true, force: true }))) +} diff --git a/src/main/workspaces/creation/preparation/worktree-preparation-maintenance-real-git.test.ts b/src/main/workspaces/creation/preparation/worktree-preparation-maintenance-real-git.test.ts new file mode 100644 index 00000000000..75790232e78 --- /dev/null +++ b/src/main/workspaces/creation/preparation/worktree-preparation-maintenance-real-git.test.ts @@ -0,0 +1,107 @@ +import type * as FilePromises from 'node:fs/promises' +import { existsSync } from 'node:fs' +import { dirname, join } from 'node:path' +import { afterEach, expect, it, vi } from 'vitest' +import * as gitRunner from '../../../git/command-runner/git-exec-file' +import { toHostFilesystemPath } from '../../../filesystem/host-tree-removal' +import { preparationCapacityUsed } from './worktree-preparation-discard-retry' +import { _resetWorktreeCreatePreparationsForTests } from './worktree-create-preparation' +import { discardRepoPreparations, listPreparations } from './worktree-create-preparation-pool' +import { fixture, git, removeLifetimeFixtures } from './worktree-preparation-lifetime.test-fixture' +import { + _resetLocalRepoRefMaintenanceForTests, + createLocalRepoRefMaintenanceTarget, + getLocalRepoRefMaintenance +} from '../../../git/refs/maintenance/local-repo-ref-maintenance' + +const identityRead = vi.hoisted( + (): { path?: string; started?: () => void; resume?: Promise } => ({}) +) +vi.mock('node:fs/promises', async (importOriginal) => { + const actual = await importOriginal() + return { + ...actual, + realpath: async (...args: Parameters) => { + if (String(args[0]) === identityRead.path) { + identityRead.path = undefined + identityRead.started?.() + await identityRead.resume + } + return actual.realpath(...args) + } + } +}) + +afterEach(async () => { + vi.useRealTimers() + vi.restoreAllMocks() + identityRead.path = undefined + identityRead.started = undefined + identityRead.resume = undefined + await _resetWorktreeCreatePreparationsForTests() + _resetLocalRepoRefMaintenanceForTests() + await removeLifetimeFixtures() +}) + +async function attemptMaintenance(repoPath: string): Promise { + const maintenance = getLocalRepoRefMaintenance() + maintenance.arm(createLocalRepoRefMaintenanceTarget({ key: repoPath, repoPath })) + await vi.advanceTimersByTimeAsync(1000) + await maintenance.whenAttemptSettled() +} + +function enableMaintenance(): void { + _resetLocalRepoRefMaintenanceForTests({ + isBusy: () => false, + quietPeriodMs: 1000, + looseRefThreshold: 1 + }) +} + +it('retires a parked identity-read lease, then removes only through its fresh native-settlement wake', async () => { + const { repoPath, arm, create } = await fixture() + const other = await fixture() + await arm() + const [entry] = listPreparations() + const lock = git(entry.preparedPath, 'rev-parse', '--git-path', 'locked') + const readStarted = Promise.withResolvers() + const readReleased = Promise.withResolvers() + identityRead.path = dirname(toHostFilesystemPath(lock)) + identityRead.started = readStarted.resolve + identityRead.resume = readReleased.promise + const run = gitRunner.gitExecFileAsync + const removalPermissions: boolean[] = [] + vi.spyOn(gitRunner, 'gitExecFileAsync').mockImplementation((args, options) => { + if (args.includes('remove')) { + removalPermissions.push(options.canStart?.() !== false) + } + return run(args, options) + }) + vi.useFakeTimers({ toFake: ['Date', 'setTimeout', 'clearTimeout'] }) + enableMaintenance() + discardRepoPreparations(entry.repoPathKey) + await readStarted.promise + const disposal = entry.operation.discard() + try { + await vi.advanceTimersByTimeAsync(30_000) + await disposal + expect(preparationCapacityUsed()).toBe(1) + expect(existsSync(entry.preparedPath)).toBe(true) + await attemptMaintenance(other.repoPath) + expect(existsSync(join(other.repoPath, '.git', 'packed-refs'))).toBe(true) + await arm() + await arm() + expect(removalPermissions).toEqual([]) + readReleased.resolve() + await vi.waitFor(() => { + expect(existsSync(entry.preparedPath)).toBe(false) + expect(preparationCapacityUsed()).toBe(1) + }) + expect(removalPermissions).toEqual([true]) + expect(git(repoPath, 'worktree', 'list', '--porcelain')).not.toContain(entry.lockReason) + await create('after-read-lease') + expect(git(repoPath, 'show', 'after-read-lease:version.txt')).toBe('original') + } finally { + readReleased.resolve() + } +}) diff --git a/src/main/workspaces/creation/preparation/worktree-preparation-tip-refresh.test.ts b/src/main/workspaces/creation/preparation/worktree-preparation-tip-refresh.test.ts index c4ba7537a4e..ee20bbbd568 100644 --- a/src/main/workspaces/creation/preparation/worktree-preparation-tip-refresh.test.ts +++ b/src/main/workspaces/creation/preparation/worktree-preparation-tip-refresh.test.ts @@ -76,7 +76,8 @@ describe('prepared checkout tip refresh', () => { repo.path, entry.preparedPath, expect.anything(), - entry.lockReason + entry.lockReason, + null ) expect(listPreparations()).toEqual([]) } finally { @@ -111,7 +112,8 @@ describe('prepared checkout tip refresh', () => { repo.path, entry.preparedPath, expect.anything(), - entry.lockReason + entry.lockReason, + null ) }) diff --git a/src/main/workspaces/execution-host/project-runtime-git-router-store.test.ts b/src/main/workspaces/execution-host/project-runtime-git-router-store.test.ts index e11d32de368..a32fef94cd0 100644 --- a/src/main/workspaces/execution-host/project-runtime-git-router-store.test.ts +++ b/src/main/workspaces/execution-host/project-runtime-git-router-store.test.ts @@ -14,7 +14,7 @@ import { noteWslHostsLivePolicyBlock, resetWslHostsGateForTests } from '../../wsl/host-lifecycle/wsl-host-gate' -import { fixture } from '../../persistence/loading-store/profile-state-delayed-authority-fixture' +import { fixture } from '../../persistence/loading-store/profile-writing/profile-state-delayed-authority-fixture' import { installProjectRuntimeGitRouter } from './project-runtime-git-router' vi.mock('../../telemetry/client', () => ({ track: vi.fn() })) diff --git a/src/main/workspaces/removal/folder-workspace-archive-hook.ts b/src/main/workspaces/removal/folder-workspace-archive-hook.ts new file mode 100644 index 00000000000..987e1f89c56 --- /dev/null +++ b/src/main/workspaces/removal/folder-workspace-archive-hook.ts @@ -0,0 +1,52 @@ +import { isRepoOnCatalogHost } from '../../../shared/execution-host' +import type { Repo } from '../../../shared/repo-types' +import type { ArchiveHookOverride } from '../../../shared/worktree/archive-hook-removal-gate' +import { removeFolderSetupRunnerFiles } from '../../workspace-hooks/folder-setup-runner-files' +import { getEffectiveHooks, runHook } from '../../workspace-hooks/hooks' +import type { HookRuntimeTarget } from '../../workspace-hooks/hook-runtime-target' +import { gateWorktreeRemovalOnArchiveHook } from './worktree-archive-hook-gate' +import { blockedWslDistroForPath } from '../../wsl/filesystem/wsl-unc-access-gate' + +/** + * Run a folder workspace's archive script before anything is torn down, as worktree removal does. + * Only the host holding the folder runs it; others own no files there. + */ +export async function gateFolderWorkspaceRemovalOnArchiveHook(args: { + repo: Repo + worktreeId: string + displayName: string + runArchive: boolean + allowFailure: boolean + runtimeTarget: () => HookRuntimeTarget | undefined +}): Promise { + const { repo } = args + if (!args.runArchive || !isRepoOnCatalogHost(repo)) { + return undefined + } + const hooks = getEffectiveHooks(repo) + if (!hooks?.scripts.archive) { + return undefined + } + const result = await runHook('archive', repo.path, repo, repo.path, args.runtimeTarget(), { + identity: { worktreeId: args.worktreeId, displayName: args.displayName }, + hooks + }) + return gateWorktreeRemovalOnArchiveHook({ + worktreePath: repo.path, + result, + allowFailure: args.allowFailure + }) +} + +/** Runner files are per launch; drop this workspace's once its processes have stopped. */ +export function removeFolderWorkspaceRunnerFiles(repo: Repo, worktreeId: string): void { + if (!isRepoOnCatalogHost(repo)) { + return + } + // A stopped distro keeps its leftover runners rather than starting for cleanup. + void blockedWslDistroForPath(repo.path) + .then((blocked) => (blocked ? undefined : removeFolderSetupRunnerFiles(repo.path, worktreeId))) + .catch((error: unknown) => { + console.warn(`[hooks] could not clean setup runners in ${repo.path}:`, error) + }) +} diff --git a/src/main/workspaces/removal/worktree-removal-acceptance-queue.ts b/src/main/workspaces/removal/worktree-removal-acceptance-queue.ts index b8be7718f9f..e602a577461 100644 --- a/src/main/workspaces/removal/worktree-removal-acceptance-queue.ts +++ b/src/main/workspaces/removal/worktree-removal-acceptance-queue.ts @@ -1,4 +1,4 @@ -import { runKeyedSerializedOperation } from '../../cli/keyed-promise-queue' +import { runKeyedSerializedOperation } from '../../../shared/concurrency/keyed-serialized-operations' const acceptanceQueueByRepo = new Map>() diff --git a/src/main/workspaces/removal/worktree-removal-session-partition-fencing.test.ts b/src/main/workspaces/removal/worktree-removal-session-partition-fencing.test.ts index 65a58434011..589eff79d15 100644 --- a/src/main/workspaces/removal/worktree-removal-session-partition-fencing.test.ts +++ b/src/main/workspaces/removal/worktree-removal-session-partition-fencing.test.ts @@ -15,7 +15,7 @@ import type { TerminalTab } from '../../../shared/workspace-layout/terminal-tab- import { getDefaultWorkspaceSession } from '../../../shared/constants' import { toRuntimeExecutionHostId } from '../../../shared/execution-host' import { removeWorktreeMetaRow } from '../../persistence/host-qualified-worktree-meta' -import { RUNTIME_PARTITION_TOPOLOGY_FENCE_MS } from '../../persistence/loading-store/runtime-partition-topology-fence' +import { RUNTIME_PARTITION_TOPOLOGY_FENCE_MS } from '../../persistence/loading-store/workspace-sessions/runtime-partition-topology-fence' import { TEST_LEAF_1 } from '../../persistence/persistence-session-fixtures' let hasCreatedStoreInCase = false diff --git a/src/main/wsl/discovery/wsl-distro-holder.ts b/src/main/wsl/discovery/wsl-distro-holder.ts index 6e5b466664d..ea5fdd2b838 100644 --- a/src/main/wsl/discovery/wsl-distro-holder.ts +++ b/src/main/wsl/discovery/wsl-distro-holder.ts @@ -1,4 +1,4 @@ -import { runKeyedSerializedOperation } from '../../cli/keyed-promise-queue' +import { runKeyedSerializedOperation } from '../../../shared/concurrency/keyed-serialized-operations' import { spawnDetachedWithoutInheritance } from '@orca/process-host/isolated-detached-spawn' import { queryWindowsProcess } from '../../daemon/endpoint/identity/daemon-process-inspection' import { diff --git a/src/main/wsl/execution/wsl-guest-process-table.ts b/src/main/wsl/execution/wsl-guest-process-table.ts index d0c4907ff57..fc0fd88ae78 100644 --- a/src/main/wsl/execution/wsl-guest-process-table.ts +++ b/src/main/wsl/execution/wsl-guest-process-table.ts @@ -6,7 +6,7 @@ import { parseWslGuestPaneProcesses, WSL_GUEST_PANE_PROCESS_SCRIPT, type WslGuestProcessRow -} from '../../persistence/moving-wsl-projects/wsl-move-guest-foreground' +} from '../../persistence/moving-wsl-projects/quiescence/wsl-move-guest-foreground' import { runWslProcess } from './wsl-runner' import { blockedWslDistroForPath } from '../filesystem/wsl-unc-access-gate' diff --git a/src/main/wsl/filesystem/wsl-drive-unc-conversion-journal.ts b/src/main/wsl/filesystem/wsl-drive-unc-conversion-journal.ts index d3b2930c07d..e38353b3c33 100644 --- a/src/main/wsl/filesystem/wsl-drive-unc-conversion-journal.ts +++ b/src/main/wsl/filesystem/wsl-drive-unc-conversion-journal.ts @@ -8,7 +8,7 @@ * - `profile-rewritten`: the profile names the drive paths; the other stores only go forward. */ import { isRecord } from '../../../shared/orcad-migration/orcad-migration-manifest-fields' -import { createMigrationJournalDirectory } from '../../persistence/migrating-orcad-catalog/migration-journal-directory' +import { createMigrationJournalDirectory } from '../../persistence/migrating-orcad-catalog/cutover-journals/migration-journal-directory' export const WSL_DRIVE_UNC_CONVERSION_PHASES = ['prepared', 'profile-rewritten'] as const export type WslDriveUncConversionPhase = (typeof WSL_DRIVE_UNC_CONVERSION_PHASES)[number] diff --git a/src/main/wsl/filesystem/wsl-drive-unc-conversion-run.test.ts b/src/main/wsl/filesystem/wsl-drive-unc-conversion-run.test.ts index e167e01f64f..8b89d710182 100644 --- a/src/main/wsl/filesystem/wsl-drive-unc-conversion-run.test.ts +++ b/src/main/wsl/filesystem/wsl-drive-unc-conversion-run.test.ts @@ -5,7 +5,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' import { getDefaultPersistedState } from '../../../shared/constants' import type { PersistedState } from '../../../shared/persisted-state-types' -import '../../persistence/moving-wsl-projects/wsl-move-fence' +import '../../persistence/moving-wsl-projects/quiescence/wsl-move-fence' import { listWslDriveUncConversions, writeWslDriveUncConversion diff --git a/src/main/wsl/filesystem/wsl-drive-unc-conversion-run.ts b/src/main/wsl/filesystem/wsl-drive-unc-conversion-run.ts index ef3878dfca0..51cb0d031b0 100644 --- a/src/main/wsl/filesystem/wsl-drive-unc-conversion-run.ts +++ b/src/main/wsl/filesystem/wsl-drive-unc-conversion-run.ts @@ -12,8 +12,8 @@ import type { WslDriveUncConversionResult } from '../../../shared/wsl-drive-unc-conversion-types' import type { WslMoveRefusal } from '../../../shared/wsl-move/wsl-move-driver-types' -import type { WslMoveTerminalScope } from '../../persistence/moving-wsl-projects/wsl-move-driver-ports' -import { wslMoveRepoPaths } from '../../persistence/moving-wsl-projects/wsl-move-scope' +import type { WslMoveTerminalScope } from '../../persistence/moving-wsl-projects/execution/wsl-move-driver-ports' +import { wslMoveRepoPaths } from '../../persistence/moving-wsl-projects/manifest-scope/wsl-move-scope' import { listWslDriveUncConversionsForProfile, writeWslDriveUncConversion diff --git a/src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.test.ts b/src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.test.ts index 88a77092046..d204bbd16e4 100644 --- a/src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.test.ts +++ b/src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.test.ts @@ -1,4 +1,4 @@ -import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs' +import { existsSync, mkdirSync, 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' @@ -11,13 +11,13 @@ import { encodeAgentSessionRecord } from '../../../shared/agent-session/lifecycl import type { PersistedState } from '../../../shared/persisted-state-types' import '../../../shared/wsl-host-internal-gate' import { getHistorySessionDirName } from '../../daemon/history/storage/history-paths' -import { readProfileProjectTransferState } from '../../orca-profiles/profile-project-domain-state' +import { readProfileProjectTransferState } from '../../orca-profiles/project-transfer/profile-project-domain-state' import { getOrcaProfileStateDatabaseFile } from '../../orca-profiles/profile-storage-paths' -import { openProfileStateDatabase } from '../../persistence/profile-state/profile-state-database' -import { importProfileStateJson } from '../../persistence/profile-state/profile-state-documents' +import { openProfileStateDatabase } from '../../persistence/profile-state/database/profile-state-database' +import { importProfileStateJson } from '../../persistence/profile-state/documents/profile-state-documents' import Database from '../../sqlite/sync-database' -import { loadAgentSessionStoreRows } from '../../runtime/agent-session/records/agent-session-record-rows' -import { getAgentSessionConversation } from '../../runtime/agent-session/records/agent-session-store-state' +import '../../runtime/agent-session/records/agent-session-record-rows' +import '../../runtime/agent-session/records/agent-session-store-state' import { hashWorktreeId } from '../../pty/history/terminal-history-id' import type * as Journal from './wsl-drive-unc-conversion-journal' import { @@ -216,94 +216,6 @@ function chatRows(): unknown[] { } describe('runWslDriveUncConversionsAtStartup', () => { - it('rewrites the profile and every outside store, then drops the journal', () => { - seedProfile(profileState()) - seedOutside() - journal() - const hashes = () => - Object.fromEntries( - (readProfileProjectTransferState(PROFILE, root).documents ?? []).map((document) => [ - document.domain, - document.contentHash - ]) - ) - const before = hashes() - expect(run()).toEqual([ - { migrationId: 'conv-1', outcome: 'converted', repoIds: ['repo-a'], folderWorkspaceIds: [] } - ]) - // Only the re-keyed fields were written; settings and everything else kept their bytes. The - // repo's host setup is derived from its row, path included. - const changed = Object.keys(before).filter((domain) => hashes()[domain] !== before[domain]) - expect(changed.sort()).toEqual([ - 'projectHostSetups', - 'projects', - 'repos', - 'workspaceSession', - 'worktreeMeta' - ]) - const state = readProfile() - expect(state.repos[0].path).toBe(String.raw`C:\src\app`) - expect(state.projects[0].localWindowsRuntimePreference).toEqual({ - kind: 'wsl', - distro: 'Ubuntu', - git: 'windows-host' - }) - expect(state.worktreeMeta[NEW_ID]).toMatchObject({ - comment: 'keep me', - priorWorktreeIds: [OLD_ID] - }) - expect(state.workspaceSession.tabsByWorktree[NEW_ID]?.[0]?.ptyId).toBe(`${NEW_ID}@@s1`) - expect(state.workspaceSession.activeWorktreeId).toBe(NEW_ID) - // The slept pane's session follows its id, so it wakes with its scrollback and folder. - expect( - existsSync(join(root, 'terminal-history', getHistorySessionDirName(`${NEW_ID}@@s1`))) - ).toBe(true) - expect(existsSync(join(root, 'terminal-history', getHistorySessionDirName(OLD_SESSION)))).toBe( - false - ) - const shell = join(root, 'terminal-history-wsl', 'Ubuntu', hashWorktreeId(NEW_ID)) - expect(readFileSync(join(shell, '.bash_history'), 'utf8')).toBe('make test\n') - expect(JSON.parse(readFileSync(join(shell, 'meta.json'), 'utf8'))).toEqual({ - worktreeId: NEW_ID - }) - expect(chatRows()).toEqual([ - { workspace_id: NEW_ID }, - { record_json: '{not json' }, - { - record_json: JSON.stringify(encodeAgentSessionRecord(stoppedChat(NEW_ID))) - } - ]) - const db = new Database(join(root, 'agent-session-journal.db')) - try { - const loaded = loadAgentSessionStoreRows(db) - expect(loaded.records.get('chat-alpha-1')?.lease.deathEvidence).toEqual( - stoppedChat().lease.deathEvidence - ) - expect(getAgentSessionConversation(loaded, 'chat-alpha-1')).toMatchObject({ - location: { workspaceId: NEW_ID, wslDistro: 'Ubuntu' }, - currentFence: 8, - ownerObservation: { - claimStatus: 'released', - deathEvidence: { kind: 'kill-delivered', ownerFence: 7 } - } - }) - } finally { - db.close() - } - // The window's stores record themselves once it opens. - expect(listWslDriveUncConversions(root)).toEqual([ - expect.objectContaining({ - phase: 'profile-rewritten', - rewrittenStores: [ - 'terminal-history', - 'shell-history', - 'orchestration-history', - 'chat-journal' - ] - }) - ]) - }) - it('rolls back, changing nothing, when the profile cannot be re-keyed', () => { const state = profileState() // The drive id already holds different user data: merging would lose one of them. @@ -325,32 +237,6 @@ describe('runWslDriveUncConversionsAtStartup', () => { expect(listWslDriveUncConversions(root)).toEqual([]) }) - it('converts past a shell history meta.json a crash left torn, keeping its history', () => { - seedProfile(profileState()) - seedOutside() - const shell = join(root, 'terminal-history-wsl', 'Ubuntu', hashWorktreeId(OLD_ID)) - writeFileSync(join(shell, 'meta.json'), '{"worktreeId":') - journal() - - expect(run()[0]?.outcome).toBe('converted') - const moved = join(root, 'terminal-history-wsl', 'Ubuntu', hashWorktreeId(NEW_ID)) - expect(readFileSync(join(moved, '.bash_history'), 'utf8')).toBe('make test\n') - // The chats re-key after the history store, so a torn meta.json no longer leaves them behind. - expect(chatRows()[0]).toEqual({ workspace_id: NEW_ID }) - // Every main-process store finished; the journal waits only for the window's stores. - expect(listWslDriveUncConversions(root)).toEqual([ - expect.objectContaining({ - phase: 'profile-rewritten', - rewrittenStores: [ - 'terminal-history', - 'shell-history', - 'orchestration-history', - 'chat-journal' - ] - }) - ]) - }) - it('keeps the profile converted and resumes a failed store at the next startup', () => { seedProfile(profileState()) seedOutside() @@ -409,20 +295,4 @@ describe('runWslDriveUncConversionsAtStartup', () => { expect(readProfile().repos[0].path).toBe(UNC) expect(listWslDriveUncConversions(root)).toHaveLength(1) }) - - it('finishes a conversion that crashed after the profile commit, from the journaled ids', () => { - seedProfile(profileState()) - seedOutside() - journal() - // As if the first run committed the profile and died before advancing the journal. - run([]) - journal({ worktreeIds: [[OLD_ID, NEW_ID]] }) - const before = readProfile() - expect(run()[0]?.outcome).toBe('converted') - expect(readProfile()).toEqual(before) - expect( - existsSync(join(root, 'terminal-history', getHistorySessionDirName(`${NEW_ID}@@s1`))) - ).toBe(true) - expect(chatRows()[0]).toEqual({ workspace_id: NEW_ID }) - }) }) diff --git a/src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.ts b/src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.ts index f333755c53d..1170da04291 100644 --- a/src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.ts +++ b/src/main/wsl/filesystem/wsl-drive-unc-conversion-startup.ts @@ -7,12 +7,12 @@ import { prepareProfileProjectDomainChanges, type ProfileProjectDomainChanges -} from '../../orca-profiles/profile-project-domain-changes' +} from '../../orca-profiles/project-transfer/profile-project-domain-changes' import { readProfileProjectTransferState, writeProfileProjectDomainChanges -} from '../../orca-profiles/profile-project-domain-state' -import { migrateProfileProjectTransferParticipant } from '../../orca-profiles/profile-project-transfer-migration' +} from '../../orca-profiles/project-transfer/profile-project-domain-state' +import { migrateProfileProjectTransferParticipant } from '../../orca-profiles/project-transfer/profile-project-transfer-migration' import { listWslDriveUncConversionsForProfile, removeWslDriveUncConversion, diff --git a/src/main/wsl/filesystem/wsl-drive-unc-conversion-stores.ts b/src/main/wsl/filesystem/wsl-drive-unc-conversion-stores.ts index 316347fcfa9..2dbdaea8eb5 100644 --- a/src/main/wsl/filesystem/wsl-drive-unc-conversion-stores.ts +++ b/src/main/wsl/filesystem/wsl-drive-unc-conversion-stores.ts @@ -13,7 +13,7 @@ import { syncDirectoryDurablySync, writeFileDurableSync } from '../../filesystem/durable-file-write' -import { rewriteWslMoveOrchestrationHistoryFile } from '../../persistence/moving-wsl-projects/wsl-move-orchestration-history-rewrite' +import { rewriteWslMoveOrchestrationHistoryFile } from '../../persistence/moving-wsl-projects/desktop-state/wsl-move-orchestration-history-rewrite' import Database from '../../sqlite/sync-database' import { hashWorktreeId } from '../../pty/history/terminal-history-id' diff --git a/src/main/wsl/filesystem/wsl-drive-unc-identity-rewrite.ts b/src/main/wsl/filesystem/wsl-drive-unc-identity-rewrite.ts index 7a8ac4fef03..aaed4ddbe61 100644 --- a/src/main/wsl/filesystem/wsl-drive-unc-identity-rewrite.ts +++ b/src/main/wsl/filesystem/wsl-drive-unc-identity-rewrite.ts @@ -16,7 +16,7 @@ import { getRepoIdFromWorktreeId } from '../../../shared/worktree/id' import { parseEditorFileId, WSL_MOVE_FREE_TEXT_KEYS -} from '../../persistence/moving-wsl-projects/wsl-move-canonical-form' +} from '../../persistence/moving-wsl-projects/manifest-scope/wsl-move-canonical-form' import { rewriteOrcadMigrationPathValue, type OrcadMigrationPathRewriter diff --git a/src/main/wsl/filesystem/wsl-drive-unc-project-scope.ts b/src/main/wsl/filesystem/wsl-drive-unc-project-scope.ts index ead13564e00..904ae4cd387 100644 --- a/src/main/wsl/filesystem/wsl-drive-unc-project-scope.ts +++ b/src/main/wsl/filesystem/wsl-drive-unc-project-scope.ts @@ -12,7 +12,7 @@ import { normalizeRuntimePathForComparison } from '../../../shared/cross-platfor import { rewriteWorktreeIdPath } from '../../../shared/worktree/id' import { wslUncDrivePathToWindows } from '../../../shared/wsl-paths' -import { wslMoveRepoPaths } from '../../persistence/moving-wsl-projects/wsl-move-scope' +import { wslMoveRepoPaths } from '../../persistence/moving-wsl-projects/manifest-scope/wsl-move-scope' import type { WindowsDriveMount } from './wsl-guest-drive-mountinfo' import { wslUncPathIsWindowsDriveFolder } from './wsl-drive-unc-mounts' diff --git a/src/main/wsl/filesystem/wsl-drive-unc-state-rewrite.test.ts b/src/main/wsl/filesystem/wsl-drive-unc-state-rewrite.test.ts index 10dbd754cba..b0078d3324b 100644 --- a/src/main/wsl/filesystem/wsl-drive-unc-state-rewrite.test.ts +++ b/src/main/wsl/filesystem/wsl-drive-unc-state-rewrite.test.ts @@ -9,7 +9,7 @@ import { WSL_MOVER_DISTRO, type WslMoverPaths } from '../../persistence/__fixtures__/wsl-mover/wsl-mover-profile-rows' -import type { WslMoveProjectionInput } from '../../persistence/moving-wsl-projects/wsl-move-state-projection' +import type { WslMoveProjectionInput } from '../../persistence/moving-wsl-projects/manifest-scope/wsl-move-state-projection' import { WslDriveUncKeyCollisionError } from './wsl-drive-unc-identity-rewrite' import { rewriteWslDriveUncState } from './wsl-drive-unc-state-rewrite' diff --git a/src/main/wsl/filesystem/wsl-drive-unc-state-rewrite.ts b/src/main/wsl/filesystem/wsl-drive-unc-state-rewrite.ts index ba15cf4f68e..2947cd711ff 100644 --- a/src/main/wsl/filesystem/wsl-drive-unc-state-rewrite.ts +++ b/src/main/wsl/filesystem/wsl-drive-unc-state-rewrite.ts @@ -18,7 +18,7 @@ import { PTY_SESSION_ID_SEPARATOR } from '../../../shared/terminal/pty/lifecycle import { isWorkspaceKey, parseWorkspaceKey } from '../../../shared/workspace-scope' import { withCrossStoreChildKey } from '../../../shared/worktree/cross-store-lineage-records' import { WSL_DRIVE_UNC_STATE_DISPOSITIONS } from '../../../shared/wsl-drive-unc-state-dispositions' -import { wslMoveRepoPaths } from '../../persistence/moving-wsl-projects/wsl-move-scope' +import { wslMoveRepoPaths } from '../../persistence/moving-wsl-projects/manifest-scope/wsl-move-scope' import { withoutDiscoveryShadows } from './wsl-drive-unc-discovery-shadows' import { wslUncDrivePathToWindows } from '../../../shared/wsl-paths' import { diff --git a/src/main/wsl/host-lifecycle/wsl-host-automation-enable.ts b/src/main/wsl/host-lifecycle/wsl-host-automation-enable.ts index aef7231ff8f..9a28c2ac5d0 100644 --- a/src/main/wsl/host-lifecycle/wsl-host-automation-enable.ts +++ b/src/main/wsl/host-lifecycle/wsl-host-automation-enable.ts @@ -8,7 +8,7 @@ import { getPreferredPairingOffer } from '../../../shared/remote-runtime/host-ca import { resolveEnvironment } from '../../../shared/remote-runtime/host-store/runtime-environment-store' import { sendSupportedMigrationRequest } from '../../managed-server/migration/catalog/orcad-migration-request' import { getWslHostService } from './wsl-host-service-instance' -import type { WslMoveMovedAutomation } from '../../persistence/moving-wsl-projects/wsl-move-host-automations-rewrite' +import type { WslMoveMovedAutomation } from '../../persistence/moving-wsl-projects/desktop-state/wsl-move-host-automations-rewrite' // The host's automation service message for an id it does not hold. export const AUTOMATION_NOT_FOUND = 'Automation not found' diff --git a/src/main/wsl/host-lifecycle/wsl-host-automation-wake.test.ts b/src/main/wsl/host-lifecycle/wsl-host-automation-wake.test.ts deleted file mode 100644 index 21e5611367e..00000000000 --- a/src/main/wsl/host-lifecycle/wsl-host-automation-wake.test.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { mkdtempSync, rmSync, writeFileSync } from 'node:fs' -import { tmpdir } from 'node:os' -import { join } from 'node:path' -import { afterEach, describe, expect, it } from 'vitest' - -import '../../../shared/automations/scheduling/automation-schedule-occurrences' -import type { WslHostAutomationDue } from './wsl-host-automation-wake' -import { - readWslHostAutomationWakes, - writeWslHostAutomationWakes -} from './wsl-host-automation-wake-store' - -const HOUR = 60 * 60 * 1000 -const HOURLY = '0 * * * *' - -/** By default the host was last seen ready an hour before the run, so the run was missed. */ -function due( - nextRunAt: number, - graceHours = 12, - lastSeenReadyAt = nextRunAt - HOUR -): WslHostAutomationDue { - return { - nextRunAt, - wakeUntil: nextRunAt + graceHours * HOUR, - schedules: [{ rrule: HOURLY, dtstart: 0, missedRunGraceMinutes: graceHours * 60 }], - lastSeenReadyAt - } -} - -describe('persisted wake times', () => { - let dir: string | null = null - afterEach(() => { - if (dir) { - rmSync(dir, { recursive: true, force: true }) - } - }) - - it('round-trips and drops malformed entries', () => { - dir = mkdtempSync(join(tmpdir(), 'orca-wsl-wake-')) - writeWslHostAutomationWakes(dir, { a: due(1) }) - expect(readWslHostAutomationWakes(dir)).toEqual({ a: due(1) }) - writeFileSync( - join(dir, 'wsl-host-automation-wakes.json'), - JSON.stringify({ b: { nextRunAt: 1 } }) - ) - expect(readWslHostAutomationWakes(dir)).toEqual({}) - expect(readWslHostAutomationWakes(join(dir, 'missing'))).toEqual({}) - }) -}) diff --git a/src/main/wsl/host-lifecycle/wsl-host-gate-startup.ts b/src/main/wsl/host-lifecycle/wsl-host-gate-startup.ts index 64c689a27a3..afdb8533428 100644 --- a/src/main/wsl/host-lifecycle/wsl-host-gate-startup.ts +++ b/src/main/wsl/host-lifecycle/wsl-host-gate-startup.ts @@ -4,7 +4,7 @@ import { wslHostsPolicyState, type WslHostsPolicy } from '../../../shared/wsl-hosts-policy' -import { listWslMoveCutovers } from '../../persistence/moving-wsl-projects/wsl-move-cutover-journal' +import { listWslMoveCutovers } from '../../persistence/moving-wsl-projects/cutover-recovery/wsl-move-cutover-journal' import { configureWslHostsGate } from './wsl-host-gate' import { readCachedWslHostsPolicy } from './wsl-hosts-policy-live-update' diff --git a/src/main/wsl/host-lifecycle/wsl-host-service.test.ts b/src/main/wsl/host-lifecycle/wsl-host-service.test.ts index 460df53600c..01139497fea 100644 --- a/src/main/wsl/host-lifecycle/wsl-host-service.test.ts +++ b/src/main/wsl/host-lifecycle/wsl-host-service.test.ts @@ -1,32 +1,16 @@ -import { mkdtempSync, rmSync, writeFileSync } from 'node:fs' +import { mkdtempSync, rmSync } from 'node:fs' import { tmpdir } from 'node:os' import { join } from 'node:path' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { encodePairingOffer } from '../../../shared/remote-runtime/pairing/pairing' -import { - addEnvironmentFromPairingCode, - listEnvironments -} from '../../../shared/remote-runtime/host-store/runtime-environment-store' -import { getEnvironmentStorePath } from '../../../shared/remote-runtime/host-store/runtime-environment-store-records' -import { findWslHostDeployment } from '../../../shared/remote-runtime/host-store/runtime-environment-wsl-host-store' -import { getWslHostDeploymentStorePath } from '../../../shared/remote-runtime/host-store/wsl-host-deployment-store' -import { getPreferredPairingOffer } from '../../../shared/remote-runtime/host-catalog/runtime-environments' + +import { listEnvironments } from '../../../shared/remote-runtime/host-store/runtime-environment-store' + import type { WslHostStatus } from '../../../shared/wsl-host-types' -import { OrcadHostUnsupportedError } from '../../orcad/orcad-host-unavailable' -import { RemoteNodeRuntimeSelfTestError } from '../../managed-server/install/orcad-remote-node-runtime-report' + import { WslHostService } from './wsl-host-service' import type { WslHostConnector } from './wsl-host-connector-contract' -import { WslOrcadLaunchDeferredError } from '../orcad/wsl-orcad-connection-errors' -import { RemoteRuntimeClientError } from '../../../shared/remote-runtime/remote-runtime-client-error' -import { isRecoverableRemoteRuntimeConnectionError } from '../../../shared/remote-runtime/remote-runtime-client-error-classification' -import { - KEY, - UBUNTU_ID, - UBUNTU, - pairing, - connection, - makeConnector -} from './__tests__/wsl-host-service-test-connector' + +import { UBUNTU, connection, makeConnector } from './__tests__/wsl-host-service-test-connector' describe('WslHostService', () => { let userDataPath: string @@ -64,278 +48,6 @@ describe('WslHostService', () => { rmSync(userDataPath, { recursive: true, force: true }) }) - it('adds a running distro: connects, then persists the environment and WSL record', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - - await expect(service.add({ distro: 'ubuntu' })).resolves.toEqual({ - ok: true, - environmentId: 'wsl:ubuntu' - }) - - expect(connector.connect).toHaveBeenCalledWith('Ubuntu') - expect(listEnvironments(userDataPath)).toMatchObject([ - { id: 'wsl:ubuntu', name: 'Ubuntu (WSL)', orcadDeployment: { kind: 'wsl', distro: 'Ubuntu' } } - ]) - expect(findWslHostDeployment(userDataPath, 'wsl:ubuntu')?.distroId).toBe(UBUNTU_ID) - expect(ready).toHaveBeenCalledWith('wsl:ubuntu') - expect(published.at(-1)).toMatchObject({ environmentId: 'wsl:ubuntu', state: 'ready' }) - await expect(service.listDistros()).resolves.toEqual([ - { name: 'Ubuntu', state: 'running', version: 2, environmentId: 'wsl:ubuntu' } - ]) - }) - - it('adds a distro over a server list a crash left NUL-filled (#18766)', async () => { - vi.spyOn(console, 'warn').mockImplementation(() => {}) - writeFileSync(getEnvironmentStorePath(userDataPath), Buffer.alloc(640)) - const service = makeService(makeConnector([UBUNTU])) - - await expect(service.add({ distro: 'ubuntu' })).resolves.toEqual({ - ok: true, - environmentId: 'wsl:ubuntu' - }) - expect(listEnvironments(userDataPath)).toMatchObject([{ id: 'wsl:ubuntu' }]) - }) - - it('re-saves the live connection on request, so the deployment link overlays again', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - service.resaveConnection('wsl:missing') - connector.get.mockReturnValue(connection('Ubuntu', 42001, 'token-2')) - pairingChanged.mockClear() - - service.resaveConnection('wsl:ubuntu') - - expect(findWslHostDeployment(userDataPath, 'wsl:ubuntu')?.localPort).toBe(42001) - expect(listEnvironments(userDataPath)).toMatchObject([ - { id: 'wsl:ubuntu', orcadDeployment: { kind: 'wsl', localPort: 42001 } } - ]) - expect(pairingChanged).toHaveBeenCalledExactlyOnceWith('wsl:ubuntu') - }) - - it('refuses WSL 1, an added distro, and a stopped distro the user did not ask to start', async () => { - const connector = makeConnector([ - UBUNTU, - { id: UBUNTU_ID.replace('0e', '1e'), name: 'Legacy', state: 'running', version: 1 }, - { id: UBUNTU_ID.replace('0e', '2e'), name: 'Debian', state: 'stopped', version: 2 } - ]) - const service = makeService(connector) - - await expect(service.add({ distro: 'Legacy' })).resolves.toMatchObject({ - ok: false, - kind: 'unsupported-wsl1', - message: expect.stringContaining('wsl --set-version Legacy 2') - }) - await expect(service.add({ distro: 'Debian' })).resolves.toMatchObject({ - ok: false, - kind: 'distro-stopped' - }) - await service.add({ distro: 'Ubuntu' }) - await expect(service.add({ distro: 'Ubuntu' })).resolves.toMatchObject({ - ok: false, - kind: 'already-added' - }) - expect(connector.connect).toHaveBeenCalledTimes(1) - expect(connector.readOrcadPublicKey).not.toHaveBeenCalledWith('Debian') - - await expect(service.add({ distro: 'Debian', startIfStopped: true })).resolves.toMatchObject({ - ok: true - }) - }) - - it('refuses a distro whose orcad this desktop already reaches as another server (R25)', async () => { - addEnvironmentFromPairingCode(userDataPath, { - name: 'wsl over ssh', - pairingCode: pairing(41000, 'other-token') - }) - const connector = makeConnector([UBUNTU]) - connector.readOrcadPublicKey.mockResolvedValue(KEY) - const service = makeService(connector) - - await expect(service.add({ distro: 'Ubuntu' })).resolves.toMatchObject({ - ok: false, - kind: 'ssh-managed', - message: expect.stringContaining('wsl over ssh') - }) - expect(connector.connect).not.toHaveBeenCalled() - }) - - it('reports a deferred activation and stays off when the experiment is off', async () => { - const connector = makeConnector([UBUNTU]) - connector.connect.mockRejectedValueOnce( - new WslOrcadLaunchDeferredError({ - outcome: 'deferred', - distro: 'Ubuntu', - candidateVersion: '2.0.0', - code: 'live-terminals', - reason: 'Terminals are still running.', - forceable: true - }) - ) - const service = makeService(connector) - await expect(service.add({ distro: 'Ubuntu' })).resolves.toMatchObject({ - ok: false, - kind: 'deferred', - message: 'Terminals are still running.' - }) - expect(listEnvironments(userDataPath)).toEqual([]) - - enabled = false - await expect(service.add({ distro: 'Ubuntu' })).resolves.toMatchObject({ kind: 'disabled' }) - }) - - it('persists a relaunch’s new device token from onChange and retires the old transport', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - - service.handleConnectionChange('Ubuntu', connection('Ubuntu', 42000, 'token-2'), { - state: 'ready', - census: null - }) - - const [environment] = listEnvironments(userDataPath) - expect(getPreferredPairingOffer(environment).deviceToken).toBe('token-2') - expect(pairingChanged).toHaveBeenCalledWith('wsl:ubuntu') - - service.handleConnectionChange('Ubuntu', null, { - state: 'distro-stopped', - terminals: 'exited', - recovering: false - }) - expect(published.at(-1)).toMatchObject({ state: 'distro-stopped', detail: null }) - }) - - it('shows a deferred update while the incumbent serves, and forwards Force to the connect', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - const deferredUpdate = { - candidateVersion: '2.0.0+ff', - code: 'orcad_update_terminals_running', - reason: '1 terminal is running on this host.', - forceable: true - } - service.handleConnectionChange( - 'Ubuntu', - { ...connection('Ubuntu'), deferredUpdate }, - { state: 'ready', census: null } - ) - expect(published.at(-1)).toMatchObject({ state: 'ready', deferredUpdate }) - // A reconnecting host is not serving the incumbent the deferral describes. - service.handleConnectionChange( - 'Ubuntu', - { ...connection('Ubuntu'), deferredUpdate }, - { - state: 'reconnecting', - reason: 'orcad-exited', - attempt: 1, - retryInMs: null, - terminals: 'unverifiable' - } - ) - expect(published.at(-1)).toMatchObject({ - state: 'reconnecting', - deferredUpdate: null - }) - - await service.connect('wsl:ubuntu', { intent: 'force' }) - expect(connector.connect).toHaveBeenLastCalledWith('Ubuntu', { - intent: 'force' - }) - // Explicit Connect must clear standing pairing-repair failures. - expect(connector.forgetPairingFailures).toHaveBeenLastCalledWith('wsl:ubuntu') - }) - - it('reconciles a retained dead connection for user work without booting for passive calls', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - connector.connect.mockClear() - // No watch/holder event arrived: the bridge object outlived its server. - connector.isReachable.mockResolvedValue(false) - connector.reachability.mockResolvedValue('unreachable') - expect(connector.get('Ubuntu')).not.toBeNull() - - // Return the WSL-specific disconnected verdict without booting a distro for background calls. - await expect(service.ensureForRuntimeCall('wsl:ubuntu')).rejects.toThrow( - 'The WSL host Ubuntu isn’t connected.' - ) - expect(connector.connect).not.toHaveBeenCalled() - expect(service.hasUserVisibleWork('Ubuntu')).toBe(false) - - service.setVisibleWork(['wsl:ubuntu']) - expect(service.hasUserVisibleWork('ubuntu')).toBe(true) - // Reporting visible work connects nothing by itself (E9). - expect(connector.connect).not.toHaveBeenCalled() - - // Visible work may reconnect to its running distro, on every later server loss. - await service.ensureForRuntimeCall('wsl:ubuntu') - await service.ensureForRuntimeCall('wsl:ubuntu') - expect(connector.connect).toHaveBeenCalledTimes(2) - - service.setVisibleWork([]) - await expect(service.ensureForRuntimeCall('wsl:ubuntu')).rejects.toThrow('isn’t connected') - expect(connector.connect).toHaveBeenCalledTimes(2) - await service.connect('wsl:ubuntu') - expect(connector.connect).toHaveBeenCalledTimes(3) - }) - - // Stage 1: the setting governs new work only; a saved host keeps serving, as in serve-only. - it('keeps serving a saved host with the setting off: connect and Remove still work', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - connector.connect.mockClear() - enabled = false - await service.enabledChanged(false) - - await service.connect('wsl:ubuntu') - expect(connector.connect).toHaveBeenCalledExactlyOnceWith('Ubuntu', expect.anything()) - - await service.remove('wsl:ubuntu') - expect(listEnvironments(userDataPath)).toEqual([]) - }) - - it('refuses to add or connect, before any deploy work, when this build lacks the server files', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - connector.connect.mockClear() - connector.listDistros.mockClear() - await connector.disconnect('Ubuntu') - serverFiles = false - - await expect(service.add({ distro: 'Debian' })).resolves.toEqual({ - ok: false, - kind: 'server-files-missing', - message: 'This build of Orca can’t run WSL hosts (server files missing).', - errorCode: 'serverFilesMissing' - }) - expect(connector.listDistros).not.toHaveBeenCalled() - await expect(service.connect('wsl:ubuntu')).rejects.toThrow('server files missing') - service.setVisibleWork(['wsl:ubuntu']) - await expect(service.ensureForRuntimeCall('wsl:ubuntu')).rejects.toThrow('server files missing') - expect(connector.connect).not.toHaveBeenCalled() - expect(service.hasServerFiles()).toBe(false) - }) - - it('removes a host: closes its connection, stops its server, releases the holder, drops both records', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - - await service.remove('wsl:ubuntu') - - expect(connector.disconnect).toHaveBeenCalledWith('Ubuntu') - expect(connector.stopServer).toHaveBeenCalledWith('Ubuntu', 'wsl:ubuntu') - expect(connector.releaseHolder).toHaveBeenCalledWith('Ubuntu') - expect(listEnvironments(userDataPath)).toEqual([]) - expect(findWslHostDeployment(userDataPath, 'wsl:ubuntu')).toBeNull() - expect(removed).toHaveBeenCalledWith('wsl:ubuntu') - }) - it('keeps a host whose removal failed usable and removable again', async () => { const connector = makeConnector([UBUNTU]) const service = makeService(connector) @@ -356,189 +68,6 @@ describe('WslHostService', () => { expect(removed).toHaveBeenCalledWith('wsl:ubuntu') }) - it('turning the setting off keeps every connection and holder; turning it on boots nothing', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - service.setVisibleWork(['wsl:ubuntu']) - connector.connect.mockClear() - - enabled = false - await service.enabledChanged(false) - expect(connector.disconnect).not.toHaveBeenCalled() - expect(connector.releaseHolder).not.toHaveBeenCalled() - expect(published.at(-1)).not.toMatchObject({ state: 'closed' }) - // A moved project's work keeps its host up. - expect(service.hasUserVisibleWork('Ubuntu')).toBe(true) - - enabled = true - await service.enabledChanged(true) - // Nothing boots on enable; the window re-reports its focused host, which may. - expect(connector.connect).not.toHaveBeenCalled() - }) - - it('turning the experiment on with nothing open connects nothing', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - await connector.disconnect('Ubuntu') - connector.connect.mockClear() - enabled = false - await service.enabledChanged(false) - enabled = true - await service.enabledChanged(true) - expect(connector.connect).not.toHaveBeenCalled() - }) - - it('keeps a confirmed-stopped host down for polls and for a switch back to it; only a running distro reconnects (E9)', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - service.setVisibleWork(['wsl:ubuntu']) - await connector.disconnect('Ubuntu') - connector.distro.state = 'stopped' - service.handleConnectionChange('Ubuntu', null, { - state: 'distro-stopped', - terminals: 'exited', - recovering: false - }) - connector.connect.mockClear() - - // The focused host's polls get a refusal, not a boot, however often they come. - await expect(service.ensureForRuntimeCall('wsl:ubuntu')).rejects.toThrow('Ubuntu is stopped') - expect(connector.connect).not.toHaveBeenCalled() - - // Switching back to one of its workspaces is navigation: it re-checks, never starts it. - service.focusHost('wsl:ubuntu') - await vi.waitFor(() => - expect(connector.reachability).toHaveBeenCalledWith('Ubuntu', 'wsl:ubuntu') - ) - expect(connector.connect).not.toHaveBeenCalled() - expect(published.at(-1)).toMatchObject({ environmentId: 'wsl:ubuntu', state: 'distro-stopped' }) - - // Once the distro runs (the user's Start or a terminal), a switch connects without booting. - connector.distro.state = 'running' - service.focusHost('wsl:ubuntu') - await vi.waitFor(() => expect(connector.connect).toHaveBeenCalledTimes(1)) - expect(connector.connect).toHaveBeenCalledWith('Ubuntu', { noBoot: true }) - }) - - it('focus reads the running list before connecting, even with no bridge in this process', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - await connector.disconnect('Ubuntu') - connector.reachability.mockClear() - connector.connect.mockClear() - - service.focusHost('wsl:ubuntu') - await vi.waitFor(() => expect(connector.connect).toHaveBeenCalledTimes(1)) - expect(connector.reachability).toHaveBeenCalledWith('Ubuntu', 'wsl:ubuntu') - expect(connector.connect).toHaveBeenCalledWith('Ubuntu', { noBoot: true }) - }) - - it('focus with a bridge still asks whether the host answers before connecting again', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - connector.reachability.mockClear() - connector.connect.mockClear() - - service.focusHost('wsl:ubuntu') - await vi.waitFor(() => expect(connector.reachability).toHaveBeenCalledTimes(1)) - expect(connector.connect).not.toHaveBeenCalled() - }) - - it('passes a failed reconnect for open work through the retryable mapping', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - service.setVisibleWork(['wsl:ubuntu']) - await connector.disconnect('Ubuntu') - connector.connect.mockRejectedValueOnce(new Error('orcad exited')) - await expect(service.ensureForRuntimeCall('wsl:ubuntu')).rejects.toBeInstanceOf( - RemoteRuntimeClientError - ) - }) - - it('keeps a parked host’s refusal final, never a retryable failure', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - service.setVisibleWork(['wsl:ubuntu']) - await connector.disconnect('Ubuntu') - connector.distro.state = 'stopped' - - const refusal = await service - .ensureForRuntimeCall('wsl:ubuntu') - .catch((error: unknown) => error) - expect(refusal).not.toBeInstanceOf(RemoteRuntimeClientError) - expect(String(refusal)).toContain('Ubuntu is stopped') - expect(isRecoverableRemoteRuntimeConnectionError({ message: String(refusal) })).toBe(false) - }) - - it('parks a host the moment a poll finds its distro confirmed stopped, never booting it', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - service.setVisibleWork(['wsl:ubuntu']) - await connector.disconnect('Ubuntu') - connector.distro.state = 'stopped' - connector.connect.mockClear() - await expect(service.ensureForRuntimeCall('wsl:ubuntu')).rejects.toThrow('Ubuntu is stopped') - // Running again (started some other way) is not enough while parked: still no boot from a poll. - connector.distro.state = 'running' - await expect(service.ensureForRuntimeCall('wsl:ubuntu')).rejects.toThrow('Ubuntu is stopped') - expect(connector.connect).not.toHaveBeenCalled() - }) - - it('right after a shutdown, a stale running list cannot make a poll reboot the distro', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - service.setVisibleWork(['wsl:ubuntu']) - await connector.disconnect('Ubuntu') - connector.connect.mockClear() - // The watch just exited and WSL still lists the stopping distro as running. - connector.distro.state = 'running' - connector.isSettling.mockReturnValue(true) - // Retryable, so a pane attaching in this window recovers instead of dead-ending; still no boot. - const settling = await service - .ensureForRuntimeCall('wsl:ubuntu') - .catch((error: unknown) => error) - expect(settling).toMatchObject({ code: 'remote_runtime_unavailable' }) - expect(isRecoverableRemoteRuntimeConnectionError({ message: String(settling) })).toBe(true) - // Liveness then confirms the stop: the host parks, and polls keep refusing. - service.handleConnectionChange('Ubuntu', null, { - state: 'distro-stopped', - terminals: 'exited', - recovering: false - }) - connector.isSettling.mockReturnValue(false) - await expect(service.ensureForRuntimeCall('wsl:ubuntu')).rejects.toThrow('Ubuntu is stopped') - expect(connector.connect).not.toHaveBeenCalled() - }) - - it('a launch restore or switch to a stopped host never connects it and shows it stopped (E9)', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - await connector.disconnect('Ubuntu') - connector.distro.state = 'stopped' - connector.connect.mockClear() - - // The window reports the restored active workspace's host at launch, before any user act. - service.focusHost('wsl:ubuntu') - - await vi.waitFor(() => - expect(published.at(-1)).toMatchObject({ - environmentId: 'wsl:ubuntu', - state: 'distro-stopped' - }) - ) - expect(connector.connect).not.toHaveBeenCalled() - }) - it('a focus re-check overtaken by a user Start never publishes stopped over the live host', async () => { const connector = makeConnector([UBUNTU]) const service = makeService(connector) @@ -564,76 +93,6 @@ describe('WslHostService', () => { expect(published.filter((status) => status.state === 'distro-stopped')).toEqual([]) }) - it('never boots for a poll: not visible, or unconfirmed, is a refusal; lost contact never parks', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - await connector.disconnect('Ubuntu') - connector.connect.mockClear() - // Not focused: a background poll (forge, worktree list, agent status) gets a refusal. - await expect(service.ensureForRuntimeCall('wsl:ubuntu')).rejects.toThrow('isn’t connected') - service.setVisibleWork(['wsl:ubuntu']) - // The running list can't be read: refuse rather than risk a boot, and don't park. - connector.distro.state = 'unavailable' - service.handleConnectionChange('Ubuntu', null, { - state: 'unverifiable', - reason: 'running-list-unavailable', - terminals: 'unverifiable' - }) - await expect(service.ensureForRuntimeCall('wsl:ubuntu')).rejects.toThrow('isn’t connected') - expect(connector.connect).not.toHaveBeenCalled() - connector.distro.state = 'running' - await service.ensureForRuntimeCall('wsl:ubuntu') - expect(connector.connect).toHaveBeenCalledTimes(1) - // Even this reconnect to a running distro may not boot it if it stops meanwhile. - expect(connector.connect).toHaveBeenCalledWith('Ubuntu', { noBoot: true }) - }) - - it('a due automation boots a parked host once, with the setting off too (it serves saved hosts)', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - await connector.disconnect('Ubuntu') - service.handleConnectionChange('Ubuntu', null, { - state: 'distro-stopped', - terminals: 'exited', - recovering: false - }) - connector.connect.mockClear() - enabled = false - await service.wakeForAutomation('wsl:ubuntu') - expect(connector.connect).toHaveBeenCalledExactlyOnceWith('Ubuntu') - await expect(service.isConnected('wsl:ubuntu')).resolves.toBe(true) - }) - - it('an automation wake with no bridge yet connects without a WSL reachability probe', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - await connector.disconnect('Ubuntu') - connector.connect.mockClear() - connector.reachability.mockClear() - await service.wakeForAutomation('wsl:ubuntu') - expect(connector.reachability).not.toHaveBeenCalled() - expect(connector.connect).toHaveBeenCalledExactlyOnceWith('Ubuntu') - }) - - it('lifts a park on an explicit Connect', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - service.setVisibleWork(['wsl:ubuntu']) - await connector.disconnect('Ubuntu') - service.handleConnectionChange('Ubuntu', null, { - state: 'distro-stopped', - terminals: 'exited', - recovering: false - }) - await service.connect('wsl:ubuntu') - await connector.disconnect('Ubuntu') - await expect(service.ensureForRuntimeCall('wsl:ubuntu')).resolves.toBeUndefined() - }) - it('stops tracking a host before stopping its server, and never starts anything for it after', async () => { const connector = makeConnector([UBUNTU]) const service = makeService(connector) @@ -670,30 +129,6 @@ describe('WslHostService', () => { expect(connector.connect).not.toHaveBeenCalled() }) - it('releases the holder of a failed or deferred first add, which no record would ever find', async () => { - const connector = makeConnector([UBUNTU]) - connector.connect.mockRejectedValueOnce(new Error('deploy failed')) - const service = makeService(connector) - await expect(service.add({ distro: 'Ubuntu' })).resolves.toMatchObject({ kind: 'failed' }) - expect(connector.disconnect).toHaveBeenCalledWith('Ubuntu') - expect(connector.releaseHolder).toHaveBeenCalledWith('Ubuntu') - - vi.clearAllMocks() - connector.connect.mockRejectedValueOnce( - new WslOrcadLaunchDeferredError({ - outcome: 'deferred', - distro: 'Ubuntu', - candidateVersion: '2.0.0', - code: 'live-terminals', - reason: 'Terminals are still running.', - forceable: true - }) - ) - await expect(service.add({ distro: 'Ubuntu' })).resolves.toMatchObject({ kind: 'deferred' }) - expect(connector.releaseHolder).toHaveBeenCalledWith('Ubuntu') - expect(listEnvironments(userDataPath)).toEqual([]) - }) - it('an add the experiment was turned off during ends without a host, connection or holder', async () => { const connector = makeConnector([UBUNTU]) const service = makeService(connector) @@ -720,164 +155,4 @@ describe('WslHostService', () => { expect(connector.releaseHolder).toHaveBeenCalledWith('Ubuntu') expect(ready).not.toHaveBeenCalled() }) - - it('keeps the startup holders of its hosts and releases orphans', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - await service.start() - const [isWanted] = connector.adoptHolders.mock.calls[0] - expect(isWanted('ubuntu')).toBe(true) - // A failed add or remove left a holder for a distro that is no longer a host. - expect(isWanted('Debian')).toBe(false) - }) - - it('keeps every startup holder when the host records cannot all be read', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - writeFileSync(getWslHostDeploymentStorePath(userDataPath), '{not json') - await service.start() - const [isWanted] = connector.adoptHolders.mock.calls[0] - expect(isWanted('Debian')).toBe(true) - }) - - it("keeps a saved host's startup holder while the setting is off", async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - await service.add({ distro: 'Ubuntu' }) - enabled = false - await service.start() - const [isWanted] = connector.adoptHolders.mock.calls[0] - expect(isWanted('Ubuntu')).toBe(true) - }) - - it.each([ - [ - 'unsupported-distro', - () => new OrcadHostUnsupportedError('No Orca runtime supports linux-arm64-glibc.'), - 'No Orca runtime supports linux-arm64-glibc.' - ], - [ - 'unsupported-distro', - () => - new RemoteNodeRuntimeSelfTestError(127, 'libstdc++.so.6: cannot open shared object file'), - expect.stringContaining('apk add libstdc++') - ], - ['failed', () => new Error('bridge refused'), 'bridge refused'] - ])( - 'reports a %s connect, releases it, and persists nothing', - async (kind, makeError, message) => { - const connector = makeConnector([UBUNTU]) - connector.connect.mockRejectedValueOnce(makeError()) - const service = makeService(connector) - await expect(service.add({ distro: 'Ubuntu' })).resolves.toEqual({ ok: false, kind, message }) - expect(listEnvironments(userDataPath)).toEqual([]) - // Unpersisted Adds own cleanup; later service operations cannot find their connection/holder. - expect(connector.disconnect).toHaveBeenCalledExactlyOnceWith('Ubuntu') - expect(connector.releaseHolder).toHaveBeenCalledExactlyOnceWith('Ubuntu') - expect(ready).not.toHaveBeenCalled() - expect(published).toEqual([]) - } - ) - - it('undoes the connection when the host cannot be saved, even if the disconnect fails', async () => { - addEnvironmentFromPairingCode(userDataPath, { - name: 'Ubuntu (WSL)', - pairingCode: encodePairingOffer({ - v: 2, - endpoint: 'ws://203.0.113.9:6768', - deviceToken: 'other', - publicKeyB64: Buffer.alloc(32, 9).toString('base64') - }) - }) - const connector = makeConnector([UBUNTU]) - const order: string[] = [] - connector.disconnect.mockImplementationOnce(async () => { - order.push('disconnect') - throw new Error('already gone') - }) - connector.releaseHolder.mockImplementationOnce(async () => { - order.push('release') - throw new Error('holder gone too') - }) - const service = makeService(connector) - await expect(service.add({ distro: 'Ubuntu' })).resolves.toEqual({ - ok: false, - kind: 'failed', - message: 'A server named "Ubuntu (WSL)" already exists.' - }) - expect(order).toEqual(['disconnect', 'release']) - expect(connector.disconnect).toHaveBeenCalledWith('Ubuntu') - expect(findWslHostDeployment(userDataPath, 'wsl:ubuntu')).toBeNull() - expect(ready).not.toHaveBeenCalled() - }) - - it('shares one add between concurrent requests for the same distro, by any casing', async () => { - const connector = makeConnector([UBUNTU]) - const service = makeService(connector) - const first = service.add({ distro: 'Ubuntu' }) - const second = service.add({ distro: ' ubuntu ' }) - expect(second).toBe(first) - await expect(first).resolves.toEqual({ ok: true, environmentId: 'wsl:ubuntu' }) - expect(connector.listDistros).toHaveBeenCalledTimes(1) - expect(connector.connect).toHaveBeenCalledTimes(1) - await expect(service.add({ distro: 'Ubuntu' })).resolves.toMatchObject({ ok: false }) - expect(connector.listDistros).toHaveBeenCalledTimes(2) - }) - - it('checks admission, then shared orcad, then connects; publishes ready before announcing it', async () => { - const connector = makeConnector([UBUNTU]) - const order: string[] = [] - connector.listDistros.mockImplementation(async () => { - order.push('list') - return [UBUNTU] - }) - connector.readOrcadPublicKey.mockImplementation(async (distro: string) => { - order.push(`key:${distro}`) - return null - }) - // A new-connection deferral proves status was republished from that connection. - const deferredUpdate = { - candidateVersion: '2.0.0+ff', - code: 'orcad_update_terminals_running', - reason: '1 terminal is running on this host.', - forceable: true - } - connector.connect.mockImplementation(async (distro: string) => { - order.push(`connect:${distro}`) - return { ...connection(distro), deferredUpdate } - }) - ready.mockImplementation((id: string) => order.push(`ready:${id}:${published.length}`)) - const service = makeService(connector) - await service.add({ distro: 'UBUNTU' }) - expect(order).toEqual(['list', 'key:Ubuntu', 'connect:Ubuntu', 'ready:wsl:ubuntu:1']) - expect(published).toEqual([ - { - environmentId: 'wsl:ubuntu', - distro: 'Ubuntu', - state: 'ready', - detail: null, - deferredUpdate - } - ]) - }) - - it('refuses an add with no WSL connector before touching one, while turned off', async () => { - enabled = false - const service = new WslHostService({ - userDataPath: () => userDataPath, - isEnabled: () => enabled, - hasServerFiles: () => serverFiles, - publish: (status) => published.push(status), - pairingChanged, - ready, - removed - }) - await expect(service.add({ distro: 'Ubuntu' })).resolves.toMatchObject({ ok: false }) - enabled = true - await expect(service.add({ distro: 'Ubuntu' })).rejects.toThrow( - 'WSL hosts are not available on this computer.' - ) - }) }) diff --git a/src/main/wsl/host-lifecycle/wsl-orphan-holder-release.test.ts b/src/main/wsl/host-lifecycle/wsl-orphan-holder-release.test.ts index 2778be01a95..e19432972d5 100644 --- a/src/main/wsl/host-lifecycle/wsl-orphan-holder-release.test.ts +++ b/src/main/wsl/host-lifecycle/wsl-orphan-holder-release.test.ts @@ -96,12 +96,4 @@ describe('wslHolderKeepPolicy', () => { addHost('Ubuntu', 42000) expect(isWanted('ubuntu')).toBe(true) }) - - it('keeps an add in flight, and nothing while hosts are off', () => { - expect( - wslHolderKeepPolicy({ userDataPath, keepHostHolders: true, isAdding: () => true })('Alpine') - ).toBe(true) - addHost('Ubuntu', 42000) - expect(wslHolderKeepPolicy({ userDataPath, keepHostHolders: false })('Ubuntu')).toBe(false) - }) }) diff --git a/src/main/wsl/orcad/wsl-orcad-deploy.ts b/src/main/wsl/orcad/wsl-orcad-deploy.ts index 5505eb2c432..8901944fd21 100644 --- a/src/main/wsl/orcad/wsl-orcad-deploy.ts +++ b/src/main/wsl/orcad/wsl-orcad-deploy.ts @@ -31,7 +31,7 @@ import { deployOrcad, type OrcadDeployOptions } from '../../managed-server/install/orcad-remote-deploy' -import { isWslMoveUnderwayOnHost } from '../../persistence/moving-wsl-projects/wsl-move-running-moves' +import { isWslMoveUnderwayOnHost } from '../../persistence/moving-wsl-projects/orchestration/wsl-move-running-moves' import { readLocalFullVersion } from '../../managed-server/install/remote-versioned-install' import { createWslDistroHolder } from '../discovery/wsl-distro-holder' diff --git a/src/main/wsl/orcad/wsl-orcad-ensure-phase-trace.ts b/src/main/wsl/orcad/wsl-orcad-ensure-phase-trace.ts deleted file mode 100644 index 1135a7a88e4..00000000000 --- a/src/main/wsl/orcad/wsl-orcad-ensure-phase-trace.ts +++ /dev/null @@ -1,155 +0,0 @@ -/** Real-distro lane only: splits one WSL host connect into phases from wrapper marks and guest-command start times. */ - -export type WslOrcadEnsureMark = - | 'ensure-start' - | 'deploy-start' - | 'holder-start' - | 'holder-end' - | 'deploy-end' - | 'bridge-start' - | 'bridge-end' - | 'pairing-start' - | 'pairing-end' - | 'ensure-end' - -export type WslOrcadEnsureTraceEvent = - | { kind: 'mark'; mark: WslOrcadEnsureMark; atMs: number } - | { kind: 'command'; command: string; atMs: number } - -export type WslOrcadEnsurePhases = { - totalMs: number - /** Connect bookkeeping before the deploy starts (E9 gate, transport). */ - gateMs: number - /** The first guest command (`uname -r`), which boots a stopped distro. */ - firstExecAndBootMs: number - holderMs: number - preLaunchChecksMs: number - preLaunchCommands: number - /** Null when orcad was already serving, so nothing launched. */ - launchMs: number | null - /** orcad's own startup until its readiness file is written. */ - orcadStartupMs: number | null - postReadinessMs: number - postReadinessCommands: number - bridgeMs: number - pairingMs: number - unattributedMs: number -} - -// Fragments of the setsid launch tail and the on-host readiness wait (orcad-remote-launch / -readiness-wait). -const LAUNCH_FRAGMENT = ' orcad-launch ' -const READINESS_WAIT_FRAGMENT = 'orcad_readiness_wait_end' - -export function createWslOrcadEnsureTrace(now: () => number = () => performance.now()) { - const events: WslOrcadEnsureTraceEvent[] = [] - const mark = (name: WslOrcadEnsureMark): void => { - events.push({ kind: 'mark', mark: name, atMs: now() }) - } - return { - events, - mark, - command(command: string): void { - events.push({ kind: 'command', command, atMs: now() }) - }, - async span(start: WslOrcadEnsureMark, end: WslOrcadEnsureMark, run: () => Promise) { - mark(start) - try { - return await run() - } finally { - mark(end) - } - } - } -} - -export function summarizeWslOrcadEnsurePhases( - events: readonly WslOrcadEnsureTraceEvent[] -): WslOrcadEnsurePhases | null { - const at = (mark: WslOrcadEnsureMark): number | null => - events.find((event) => event.kind === 'mark' && event.mark === mark)?.atMs ?? null - const ensureStart = at('ensure-start') - const ensureEnd = at('ensure-end') - const deployStart = at('deploy-start') - const deployEnd = at('deploy-end') - const holderStart = at('holder-start') - const holderEnd = at('holder-end') - if ( - ensureStart === null || - ensureEnd === null || - deployStart === null || - deployEnd === null || - holderStart === null || - holderEnd === null - ) { - return null - } - const commands = events.flatMap((event) => - event.kind === 'command' && event.atMs >= holderEnd && event.atMs <= deployEnd ? [event] : [] - ) - const launchIndex = commands.findIndex((event) => event.command.includes(LAUNCH_FRAGMENT)) - let startupEndIndex = launchIndex + 1 - while (commands[startupEndIndex]?.command.includes(READINESS_WAIT_FRAGMENT)) { - startupEndIndex++ - } - const launched = launchIndex !== -1 && startupEndIndex > launchIndex + 1 - const launchAt = launched ? commands[launchIndex].atMs : deployEnd - const readinessAt = launched ? commands[launchIndex + 1].atMs : null - const startupEndAt = launched ? (commands[startupEndIndex]?.atMs ?? deployEnd) : deployEnd - const spanSum = (start: WslOrcadEnsureMark, end: WslOrcadEnsureMark): number => { - let total = 0 - let opened: number | null = null - for (const event of events) { - if (event.kind !== 'mark') { - continue - } - if (event.mark === start) { - opened = event.atMs - } else if (event.mark === end && opened !== null) { - total += event.atMs - opened - opened = null - } - } - return total - } - const round = Math.round - const phases = { - totalMs: round(ensureEnd - ensureStart), - gateMs: round(deployStart - ensureStart), - firstExecAndBootMs: round(holderStart - deployStart), - holderMs: round(holderEnd - holderStart), - preLaunchChecksMs: round(launchAt - holderEnd), - preLaunchCommands: launched ? launchIndex : commands.length, - launchMs: readinessAt === null ? null : round(readinessAt - launchAt), - orcadStartupMs: readinessAt === null ? null : round(startupEndAt - readinessAt), - postReadinessMs: launched ? round(deployEnd - startupEndAt) : 0, - postReadinessCommands: launched ? commands.length - startupEndIndex : 0, - bridgeMs: round(spanSum('bridge-start', 'bridge-end')), - pairingMs: round(spanSum('pairing-start', 'pairing-end')) - } - const attributed = - phases.gateMs + - phases.firstExecAndBootMs + - phases.holderMs + - round(deployEnd - holderEnd) + - phases.bridgeMs + - phases.pairingMs - return { ...phases, unattributedMs: phases.totalMs - attributed } -} - -/** Per-phase median over runs; a phase some run could not measure is left out. */ -export function medianWslOrcadEnsurePhases( - runs: readonly (WslOrcadEnsurePhases | null)[] -): Record { - const measured = runs.filter((run): run is WslOrcadEnsurePhases => run !== null) - const medians: Record = {} - for (const key of Object.keys(measured[0] ?? {})) { - const values = measured - .map((run) => Object.entries(run).find(([name]) => name === key)?.[1]) - .filter((value): value is number => typeof value === 'number') - .toSorted((a, b) => a - b) - if (values.length === measured.length && values.length > 0) { - medians[key] = values[Math.floor((values.length - 1) / 2)] - } - } - return medians -} diff --git a/src/main/wsl/orcad/wsl-orcad-host-account-push.ts b/src/main/wsl/orcad/wsl-orcad-host-account-push.ts index c86572a7486..1ab7a92a980 100644 --- a/src/main/wsl/orcad/wsl-orcad-host-account-push.ts +++ b/src/main/wsl/orcad/wsl-orcad-host-account-push.ts @@ -10,7 +10,7 @@ import { type WslOrcadAccountEnvDependencies } from './wsl-orcad-account-env' import type { WslOrcadHostCapabilityVerdict } from './wsl-orcad-host-environments' -import { runKeyedSerializedOperation } from '../../cli/keyed-promise-queue' +import { runKeyedSerializedOperation } from '../../../shared/concurrency/keyed-serialized-operations' export type WslOrcadHostAccountPush = { environmentId: string diff --git a/src/main/wsl/orcad/wsl-orcad-real-distro-idle-release-lane.test.ts b/src/main/wsl/orcad/wsl-orcad-real-distro-idle-release-lane.test.ts index 0ad6162fc8b..f79055fb4d3 100644 --- a/src/main/wsl/orcad/wsl-orcad-real-distro-idle-release-lane.test.ts +++ b/src/main/wsl/orcad/wsl-orcad-real-distro-idle-release-lane.test.ts @@ -1,7 +1,7 @@ // WSL via orcad, phase 3 of the real-distro lane (R40 / E17): after the survive phase's teardown, // a fresh orcad with a short idle timeout keeps its distro while a terminal is live, then // idle-exits once it is closed and the holder lets the distro stop with no release call. -// Records guest and VM memory before and after. .github/workflows/wsl-orcad-e2e.yml runs it. +// .github/workflows/wsl-orcad-e2e.yml runs it. // // Run: ORCA_RUN_WSL_ORCAD_LANE=1 pnpm test import { readFileSync, writeFileSync, mkdirSync } from 'node:fs' @@ -11,24 +11,17 @@ import { afterAll, beforeAll, describe, expect, it, vi } from 'vitest' vi.mock('electron', () => ({ app: { getAppPath: () => process.cwd() } })) -import { runProcess } from '@orca/process-host' import { setAppEnvironment } from '../../../shared/app-environment' import { ELECTRON_REMOTE_RUNTIME_CLIENT_CAPABILITIES } from '../../../shared/electron-remote-runtime-client-capabilities' import { ORCAD_E2E_IDLE_TIMEOUT_ENV } from '../../../shared/orcad-idle-exit' import { pairedRuntimeConnectionFromOffer } from '../../../shared/remote-runtime/pairing/paired-runtime-connection' import { parsePairingCode } from '../../../shared/remote-runtime/pairing/pairing' import { sendRemoteRuntimeRequestOnSocket } from '../../../shared/remote-runtime/requests/remote-runtime-request-socket' -import { RemoteRuntimeSharedControlConnection } from '../../../shared/remote-runtime/control/remote-runtime-shared-control-connection' + import { execCommand } from '../../ssh/remote-exec/remote-exec-command' import { readConfirmedRunningWslDistros } from '../discovery/wsl-background-distro-gate' import { readWindowsProcessTableFresh } from '../../windows/windows-process-table' -import { resolveWslInteropSpawnCwd } from '../execution/wsl-interop-spawn-directory' -import { - buildWslExecArgs, - buildWslInteractiveLoginShellCommand, - buildWslLoginShellCommand -} from '../../../shared/wsl-login-shell-command' -import { resolveWslExecutablePath } from '../execution/wsl-executable-path' + import { createWslDistroHolder } from '../discovery/wsl-distro-holder' import type { WslDistroHolder } from '../discovery/wsl-distro-holder-types' import { WSL_DISTRO_HOLDER_POLL_SECONDS } from '../discovery/wsl-distro-holder-command' @@ -36,26 +29,9 @@ import { wslDistroHolderKey } from '../discovery/wsl-distro-holder-record' import { WslOrcadConnectionManager } from './wsl-orcad-connection' import type { WslOrcadConnection } from './wsl-orcad-connection-types' import { defaultWslOrcadEnvironmentId, deployAndLaunchWslOrcad } from './wsl-orcad-deploy' -import { - createWslOrcadEnsureTrace, - medianWslOrcadEnsurePhases, - summarizeWslOrcadEnsurePhases, - type WslOrcadEnsureMark, - type WslOrcadEnsurePhases -} from './wsl-orcad-ensure-phase-trace' + import { createWslOrcadHostTransport } from './wsl-orcad-host-transport' -import { ORCAD_LOG_FILENAME } from '../../managed-server/install/orcad-remote-host-support' -import { - ORCAD_STARTUP_TIMING_ENV, - ORCAD_STARTUP_TIMING_PREFIX -} from '../../orcad/orcad-startup-timing' -import { - medianOrcadStartupTiming, - parseOrcadStartupTimingLine, - type OrcadStartupTimingReport -} from '../../orcad/orcad-startup-timing-summary' -import { quotePosixShell } from '../../../shared/shell/launch/shell-argument-quoting' -import { ORCAD_LAUNCHER_FILENAME } from '../../../shared/orcad-artifacts' + import { verifyWslOrcadIdentity } from './wsl-orcad-pairing-identity' import { listenWslOrcadStdioBridge } from './wsl-orcad-stdio-bridge' @@ -68,21 +44,12 @@ const RECEIPT_DIR = process.env.ORCA_WSL_ORCAD_LANE_RECEIPTS ?? join(WORK_DIR, ' const IDLE_TIMEOUT_MS = 15_000 // Idle period, one holder poll, then WSL's own stop of a distro with no client left. const RELEASE_BUDGET_MS = IDLE_TIMEOUT_MS + WSL_DISTRO_HOLDER_POLL_SECONDS * 1000 + 90_000 -// Round-trip counts are exact; five runs keep the ms medians readable on a noisy runner. -const RESTART_RUNS = 5 const HELD_WITH_TERMINAL_MS = IDLE_TIMEOUT_MS + WSL_DISTRO_HOLDER_POLL_SECONDS * 1000 + 45_000 type Receipt = Record const receipt: Receipt = { phase: 'idle-release' } -const commandLog: string[] = [] -receipt.commandLog = commandLog let holder: WslDistroHolder let manager: WslOrcadConnectionManager -/** NODE_OPTIONS for the next orcad launch; set only for the one profiled restart. */ -let launchNodeOptions: string | null = null -const PROFILE_DIR = '/tmp/orca-lane-orcad-profiles' -/** Set only while a restart's ensure is measured. */ -let ensureTrace: ReturnType | null = null function installLaneAppEnvironment(): void { const { version } = JSON.parse(readFileSync(join(process.cwd(), 'package.json'), 'utf8')) @@ -111,50 +78,16 @@ function launchTemplates(): Map { function createManager(): void { const templates = launchTemplates() - const traced = (start: WslOrcadEnsureMark, end: WslOrcadEnsureMark, run: () => Promise) => - ensureTrace ? ensureTrace.span(start, end, run) : run() manager = new WslOrcadConnectionManager({ - holder: { - ...holder, - ensureHeld: (distro) => traced('holder-start', 'holder-end', () => holder.ensureHeld(distro)) - }, - listen: (transport, options) => - traced('bridge-start', 'bridge-end', () => listenWslOrcadStdioBridge(transport, options)), - verifyIdentity: (offer, readiness) => - traced('pairing-start', 'pairing-end', () => verifyWslOrcadIdentity(offer, readiness)), - // Logs every guest command with its time, to match the zombie's start time to one step. - createTransport: (target) => { - const transport = createWslOrcadHostTransport({ target }) - const log = (path: string, command: string): void => { - ensureTrace?.command(command) - commandLog.push(`${Math.round(performance.now())} ${path} ${command.slice(0, 160)}`) - } - return { - ...transport, - orcadLaunchEnv: async (launch) => [ - ...((await transport.orcadLaunchEnv?.(launch)) ?? []), - [ORCAD_STARTUP_TIMING_ENV, '1'], - ...(launchNodeOptions ? [['NODE_OPTIONS', launchNodeOptions] as const] : []) - ], - exec: (command, options) => { - log('exec', command) - return transport.exec(command, options) - }, - execWithClosedStdin: (command, options) => { - log('loop', command) - return ( - transport.execWithClosedStdin?.(command, options) ?? transport.exec(command, options) - ) - } - } - }, + holder, + listen: listenWslOrcadStdioBridge, + verifyIdentity: verifyWslOrcadIdentity, + createTransport: (target) => createWslOrcadHostTransport({ target }), deployAndLaunch: (distro, options) => - traced('deploy-start', 'deploy-end', () => - deployAndLaunchWslOrcad(distro, { - ...options, - templateDir: templates.get(wslDistroHolderKey(distro)) - }) - ) + deployAndLaunchWslOrcad(distro, { + ...options, + templateDir: templates.get(wslDistroHolderKey(distro)) + }) }) } @@ -208,19 +141,6 @@ async function rpc(connection: WslOrcadConnection, method: string, params?: u return resultOf(method, response) } -/** One socket for every request, as the app holds it; per-request dials each pay a bridge spawn. */ -function openHeldRpc(connection: WslOrcadConnection) { - const held = new RemoteRuntimeSharedControlConnection(pairedConnectionOf(connection), { - environmentId: connection.environmentId, - clientCapabilities: ELECTRON_REMOTE_RUNTIME_CLIENT_CAPABILITIES - }) - return { - call: async (method: string, params?: unknown): Promise => - resultOf(method, await held.request(method, params, 30_000)), - close: () => held.close() - } -} - async function plainRunning(): Promise { const running = await readConfirmedRunningWslDistros() if (running.status !== 'confirmed') { @@ -229,37 +149,6 @@ async function plainRunning(): Promise { return running.distros.some((d) => wslDistroHolderKey(d) === wslDistroHolderKey(PLAIN)) } -/** Working set (KiB) of the WSL VM process, or null once the VM has shut down. */ -async function vmWorkingSetKiB(): Promise { - for (const image of ['vmmemWSL', 'vmmem']) { - const result = await runProcess({ - program: join(process.env.SystemRoot ?? 'C:\\Windows', 'System32', 'tasklist.exe'), - args: ['/fi', `IMAGENAME eq ${image}`, '/fo', 'csv', '/nh'], - cwd: resolveWslInteropSpawnCwd(), - timeoutMs: 30_000 - }) - const row = result.stdout.split(/\r?\n/u).find((line) => line.startsWith(`"${image}"`)) - const memory = row - ?.split('","') - .at(-1) - ?.replace(/[^0-9]/gu, '') - if (memory) { - return Number(memory) - } - } - return null -} - -/** What Orca's processes and the whole guest use while the distro is held. */ -async function guestMemory(): Promise { - const out = await guest( - 'ps -u "$(id -u)" -o rss=,args= | awk \'!/awk/ && /orcad|node|orca-wsl-distro-holder/ {k+=$1} END {print k+0}\'; ' + - "awk '/MemTotal/ {t=$2} /MemAvailable/ {a=$2} END {print t-a}' /proc/meminfo" - ) - const [orcaRssKiB, guestUsedKiB] = out.trim().split(/\s+/u).map(Number) - return { orcaRssKiB, guestUsedKiB } -} - /** Polls a real distro, whose state no fake clock moves. */ function waitFor( what: string, @@ -281,21 +170,12 @@ function waitFor( async function idleReleasePhase(): Promise { process.env[ORCAD_E2E_IDLE_TIMEOUT_ENV] = String(IDLE_TIMEOUT_MS) - receipt.vmBeforeLaunchKiB = await vmWorkingSetKiB() - // Aligns guest uptime with this process's clock for the command log. - receipt.clockAlignment = `${Math.round(performance.now())} ${(await guest('cat /proc/uptime')).trim()}` let connection = await manager.ensure(PLAIN) - // The release hunt: a zombie `cat` under a session init kept the distro up; find which step leaves it. - const zombies = - 'cat /proc/uptime; for p in $(ps -eo pid=,stat= | awk \'$2 ~ /^Z/ {print $1}\'); do echo "Z $p $(cut -d" " -f4-8,22 /proc/$p/stat)"; done; ps -eo pid,ppid,sid,stat,args' - receipt.processesAfterEnsure = await guest(zombies) await rpc(connection, 'status.get') - receipt.processesAfterLaunch = await guest(zombies) const repoPath = (await guest('cd "$HOME/wsl-orcad-lane-repo" && pwd')).trim() const created = await rpc<{ terminal: { handle: string } }>(connection, 'terminal.create', { worktree: `path:${repoPath}` }) - receipt.held = { ...(await guestMemory()), vmKiB: await vmWorkingSetKiB() } // No client, but a live terminal: orcad must not idle-exit and the holder must stay. await manager.dispose() @@ -321,7 +201,6 @@ async function idleReleasePhase(): Promise { ).toBe('yes') // The bracket keeps pkill from matching the shell that runs it. await guest("pkill -f 'slee[p] 600' || true") - const closedAt = performance.now() await waitFor( `${PLAIN} to stop after orcad idle-exits`, @@ -339,389 +218,8 @@ async function idleReleasePhase(): Promise { ).catch(String) throw error }) - receipt.secondsFromLastClientToDistroStop = Math.round((performance.now() - closedAt) / 1000) // Nothing here called release: the holder ended itself. expect(await holder.holderState(PLAIN)).toBe('exited') - receipt.vmAfterStopKiB = await waitFor( - 'the WSL VM to shut down', - async () => ((await vmWorkingSetKiB()) === null ? 0 : null), - 150_000, - 5_000 - ).catch(() => vmWorkingSetKiB()) -} - -async function wslExe(args: string[], timeoutMs = 120_000) { - const result = await runProcess({ - program: resolveWslExecutablePath(), - args, - cwd: resolveWslInteropSpawnCwd(), - env: { ...process.env, WSL_UTF8: '1' }, - timeoutMs - }) - return { code: result.code, output: `${result.stdout}${result.stderr}` } -} - -async function terminatePlain(): Promise { - expect((await wslExe(['--terminate', PLAIN])).code).toBe(0) - await waitFor('the distro to stop', async () => ((await plainRunning()) ? null : true), 60_000) -} - -/** printf splits the token, so the typed command's echo never matches what the shell prints. */ -function outputProbe(): { command: string; token: string } { - const nonce = Math.random().toString(36).slice(2, 10) - return { command: `printf 'COLD_%s\\n' ${nonce}`, token: `COLD_${nonce}` } -} - -/** The newest startup timing line orcad logged; null when none parses. */ -async function readOrcadStartupTiming() { - const line = await guest( - `grep -hF ${quotePosixShell(ORCAD_STARTUP_TIMING_PREFIX)} "$HOME"/.orca-remote/orcad-*/${ORCAD_LOG_FILENAME} 2>/dev/null | tail -n 1` - ) - return parseOrcadStartupTimingLine(line) -} - -/** SIGTERM the active orcad, as its idle exit ends it, and wait until it is gone; the distro stays up. */ -/** - * True once the active slot's orcad is proven down: stopped here, or its recorded pid is gone. - * False when nothing proves it: no active slot or pid file, or a live pid not naming the slot. - */ -async function stopOrcadKeepingDistro(): Promise { - const answer = ( - await guest( - `v=$(sed -n 's/.*"active": *"\\([^"]*\\)".*/\\1/p' "$HOME/.orca-remote/orcad-active.json"); ` + - `p=$(cat "$HOME/.orca-remote/orcad-$v/.orcad-pid" 2>/dev/null); ` + - // GONE needs evidence: a known slot and pid file whose process no longer exists. - `if [ -z "$v" ] || [ -z "$p" ] || [ -n "$(printf '%s' "$p" | tr -d 0-9)" ]; then echo UNKNOWN; ` + - `elif [ ! -e "/proc/$p" ]; then echo GONE; ` + - // Only a pid whose command line still names the active slot: a reused pid is left alone. - `elif tr '\\0' ' ' < "/proc/$p/cmdline" 2>/dev/null | grep -qF "orcad-$v/"; then echo "$p"; ` + - `else echo MISMATCH; fi` - ) - ).trim() - if (answer === 'GONE') { - return true - } - const pid = Number(answer) - if (answer === 'MISMATCH' || answer === 'UNKNOWN' || !Number.isSafeInteger(pid) || pid <= 0) { - return false - } - // It may exit on its own meanwhile; the wait below is what decides. - await guest(`kill -TERM ${pid} 2>/dev/null || true`) - await waitFor( - 'orcad to exit', - async () => - (await guest(`kill -0 ${pid} 2>/dev/null && echo up || echo gone`)).trim() === 'gone' - ? true - : null, - 30_000, - 100 - ) - return true -} - -/** - * (a) WSL host: holder boots the distro, orcad deploys and starts, a terminal spawns and prints. - * `warm` keeps the distro (and the orcad an earlier connect left serving) running: an app relaunch - * or reconnect, not a distro restart. `orcad` stops only orcad first, as its idle exit does: the - * reopen-after-idle case. - */ -async function restartThroughHost( - repoPath: string, - start: 'distro' | 'warm' | 'orcad' = 'distro' -): Promise< - Receipt & { - phases: WslOrcadEnsurePhases | null - orcadStartup: OrcadStartupTimingReport | null - orcadStopped: boolean - } -> { - let orcadStopped = false - if (start === 'distro') { - await terminatePlain() - } else if (start === 'orcad') { - orcadStopped = await stopOrcadKeepingDistro() - } - createManager() - const trace = createWslOrcadEnsureTrace() - ensureTrace = trace - const started = performance.now() - trace.mark('ensure-start') - const connection = await manager.ensure(PLAIN).finally(() => { - trace.mark('ensure-end') - ensureTrace = null - }) - const ensureMs = Math.round(performance.now() - started) - const held = openHeldRpc(connection) - try { - const created = await held.call<{ terminal: { handle: string } }>('terminal.create', { - worktree: `path:${repoPath}` - }) - const createdMs = Math.round(performance.now() - started) - const tail = async (): Promise => - ( - ( - await held.call<{ terminal: { tail?: unknown[] } }>('terminal.read', { - terminal: created.terminal.handle - }) - ).terminal.tail ?? [] - ) - .map(String) - .join('\n') - // What a user sees first: the first output on screen (the prompt, or a login banner). - await waitFor( - 'the first screen output', - async () => ((await tail()).trim() ? true : null), - 120_000, - 25 - ) - const timeToFirstOutputMs = Math.round(performance.now() - started) - const probe = outputProbe() - const sendStarted = performance.now() - // Enter inside the text, as typing delivers it: `enter: true` would add the 500 ms settle that - // protects agent TUIs from a pasted Enter, which no keystroke pays. - await held.call('terminal.send', { - terminal: created.terminal.handle, - text: `${probe.command}\r`, - enter: false - }) - await waitFor( - 'the host terminal to print the probe', - async () => ((await tail()).includes(probe.token) ? true : null), - 120_000, - 25 - ) - const firstOutputMs = Math.round(performance.now() - started) - const sendToFirstOutputMs = Math.round(performance.now() - sendStarted) - // A warm connect starts no orcad, so the newest timing line is an earlier launch's. - const orcadStartup = start === 'warm' ? null : await readOrcadStartupTiming() - await held.call('terminal.close', { terminal: created.terminal.handle }).catch(() => {}) - return { - ensureMs, - terminalCreatedMs: createdMs - ensureMs, - timeToFirstOutputMs, - sendToFirstOutputMs, - firstOutputMs, - phases: summarizeWslOrcadEnsurePhases(trace.events), - orcadStartup, - orcadStopped - } - } finally { - held.close() - await manager.dispose() - } -} - -/** - * (b) Old bridge lower bound: one non-PTY `wsl.exe --exec` into the login shell. The real bridge - * also starts ConPTY and paints, so this undercounts its first paint. - */ -async function restartThroughBridgeExec(): Promise { - await terminatePlain() - const probe = outputProbe() - const started = performance.now() - const result = await wslExe( - // The same login-shell pick Orca's own WSL commands use (bash/zsh run -ilc, so rc files load). - buildWslExecArgs(PLAIN, ['sh', '-c', buildWslLoginShellCommand(probe.command)]) - ) - const firstOutputMs = Math.round(performance.now() - started) - expect(result.output).toContain(probe.token) - return { firstOutputMs } -} - -/** - * (c) Old bridge as the app runs it: wsl.exe in a ConPTY with the same setup command the bridge's - * WSL terminals use (cd, PATH, the distro's interactive login shell), the probe typed ahead. - */ -async function restartThroughBridgeConpty(): Promise { - await terminatePlain() - const pty = await import('node-pty') - const probe = outputProbe() - const setup = ['cd "$HOME"', buildWslInteractiveLoginShellCommand()].join(' && ') - const started = performance.now() - const terminal = pty.spawn( - resolveWslExecutablePath(), - buildWslExecArgs(PLAIN, ['sh', '-c', setup]), - { - cols: 120, - rows: 30, - cwd: resolveWslInteropSpawnCwd(), - env: { ...process.env } - } - ) - let output = '' - // ConPTY's own startup repaint, before the distro has produced anything. - let conptyStartupOutputMs: number | null = null - terminal.onData((data) => { - conptyStartupOutputMs ??= Math.round(performance.now() - started) - output += data - }) - try { - terminal.write(`${probe.command}\r`) - await waitFor( - 'the bridge terminal to answer', - async () => (output.includes(probe.token) ? true : null), - 120_000, - 50 - ) - return { conptyStartupOutputMs, firstOutputMs: Math.round(performance.now() - started) } - } finally { - terminal.kill() - } -} - -// A guest command's output is capped at 1 MiB; read big files in base64 chunks below that. -const GUEST_READ_BLOCK_BYTES = 64 * 1024 -const GUEST_READ_BLOCKS_PER_CHUNK = 8 - -async function readGuestFile(path: string): Promise { - const quoted = quotePosixShell(path) - const size = Number((await guest(`wc -c < ${quoted}`)).trim()) - const chunkBytes = GUEST_READ_BLOCK_BYTES * GUEST_READ_BLOCKS_PER_CHUNK - const chunks: Buffer[] = [] - for (let offset = 0; offset < size; offset += chunkBytes) { - const encoded = await guest( - `dd if=${quoted} bs=${GUEST_READ_BLOCK_BYTES} skip=${offset / GUEST_READ_BLOCK_BYTES} count=${GUEST_READ_BLOCKS_PER_CHUNK} 2>/dev/null | base64 | tr -d '\\n'` - ) - chunks.push(Buffer.from(encoded.trim(), 'base64')) - } - const result = Buffer.concat(chunks) - // execCommand keeps only the tail past its cap, so a short or odd read must not pass as whole. - if (!Number.isFinite(size) || result.length !== size) { - throw new Error(`Read ${result.length} of ${size} bytes of ${path} from the lane distro`) - } - return result -} - -/** - * One extra, unrecorded restart with orcad (and the Node children it starts) under --cpu-prof. - * Profiles are written on exit, so wait for the idle exit, then copy them into the receipts. - */ -async function profileOrcadRestart(repoPath: string): Promise { - await guest(`rm -rf ${PROFILE_DIR}`) - launchNodeOptions = `--cpu-prof --cpu-prof-dir=${PROFILE_DIR}` - try { - await restartThroughHost(repoPath) - } finally { - launchNodeOptions = null - } - // procps is not in every lane rootfs; the bracket keeps grep from matching its own argv. - const serving = `for p in /proc/[0-9]*; do tr '\\0' ' ' < "$p/cmdline" 2>/dev/null; echo; done | grep -c '[${ORCAD_LAUNCHER_FILENAME[0]}]${ORCAD_LAUNCHER_FILENAME.slice(1)} --json' || true` - await waitFor( - 'the profiled orcad to idle-exit', - async () => ((await guest(serving)).trim() === '0' ? true : null), - 120_000, - 1000 - ) - const names = (await guest(`ls ${PROFILE_DIR} 2>/dev/null || true`)).split('\n').filter(Boolean) - for (const name of names) { - writeFileSync(join(RECEIPT_DIR, name), await readGuestFile(`${PROFILE_DIR}/${name}`)) - } - return names -} - -// The flag-on gate is warm start; cold start (distro restart) is tracked against its own target. -const WARM_START_P50_TARGET_MS = 2_500 -const COLD_START_P50_TARGET_MS = 3_000 - -/** Nearest-rank percentile, so p90 of five runs is the slowest. */ -function percentile(values: number[], fraction: number): number { - const sorted = values.toSorted((a, b) => a - b) - return sorted[Math.max(0, Math.ceil(fraction * sorted.length) - 1)] ?? 0 -} - -function startupGateFor(runs: Receipt[], targetP50Ms: number) { - const values = (key: string) => runs.map((run) => Number(run[key])) - const p50FirstOutputMs = percentile(values('firstOutputMs'), 0.5) - return { - n: runs.length, - targetP50Ms, - p50FirstOutputMs, - p90FirstOutputMs: percentile(values('firstOutputMs'), 0.9), - p50EnsureMs: percentile(values('ensureMs'), 0.5), - p90EnsureMs: percentile(values('ensureMs'), 0.9), - p50TerminalCreatedMs: percentile(values('terminalCreatedMs'), 0.5), - p50SendToFirstOutputMs: percentile(values('sendToFirstOutputMs'), 0.5), - p50TimeToFirstOutputMs: percentile(values('timeToFirstOutputMs'), 0.5), - p90TimeToFirstOutputMs: percentile(values('timeToFirstOutputMs'), 0.9), - meetsTarget: p50FirstOutputMs <= targetP50Ms, - runs: runs.map( - ({ - ensureMs, - terminalCreatedMs, - timeToFirstOutputMs, - sendToFirstOutputMs, - firstOutputMs, - phases - }) => ({ - ensureMs, - terminalCreatedMs, - timeToFirstOutputMs, - sendToFirstOutputMs, - firstOutputMs, - phases - }) - ) - } -} - -/** - * Distro restart (VM warm) to first command output, median of 5 each, alternating so neither path - * always runs on a warmer VM. - */ -async function distroRestartBaseline(): Promise { - const repoPath = (await guest('cd "$HOME/wsl-orcad-lane-repo" && pwd')).trim() - // One unrecorded bridge run warms the WSL VM, which the idle phase let shut down. - await restartThroughBridgeExec() - const host: Awaited>[] = [] - const bridge: Receipt[] = [] - const conpty: Receipt[] = [] - for (let i = 0; i < RESTART_RUNS; i++) { - host.push(await restartThroughHost(repoPath)) - bridge.push(await restartThroughBridgeExec()) - conpty.push(await restartThroughBridgeConpty()) - } - const median = (runs: Receipt[], key: string): number => - runs.map((run) => Number(run[key])).toSorted((a, b) => a - b)[(runs.length - 1) >> 1] ?? 0 - receipt.distroRestartToFirstOutput = { - host, - bridgeExecLowerBound: bridge, - medianHostFirstOutputMs: median(host, 'firstOutputMs'), - medianHostEnsureMs: median(host, 'ensureMs'), - medianHostTerminalCreatedMs: median(host, 'terminalCreatedMs'), - medianHostSendToFirstOutputMs: median(host, 'sendToFirstOutputMs'), - medianOrcadStartup: medianOrcadStartupTiming(host.map((run) => run.orcadStartup)), - medianHostPhases: medianWslOrcadEnsurePhases(host.map((run) => run.phases)), - medianBridgeExecLowerBoundMs: median(bridge, 'firstOutputMs'), - bridgeConpty: conpty, - medianBridgeConptyStartupOutputMs: median(conpty, 'conptyStartupOutputMs'), - medianBridgeConptyFirstOutputMs: median(conpty, 'firstOutputMs') - } - // One unrecorded connect boots the distro and orcad the warm runs reconnect to. - await restartThroughHost(repoPath) - const warm: Awaited>[] = [] - for (let i = 0; i < RESTART_RUNS; i++) { - warm.push(await restartThroughHost(repoPath, 'warm')) - } - const orcadCold: Awaited>[] = [] - for (let i = 0; i < RESTART_RUNS; i++) { - orcadCold.push(await restartThroughHost(repoPath, 'orcad')) - } - // A run that could not prove orcad down may have measured a warm reconnect: keep it out. - const stoppedRuns = orcadCold.filter((run) => run.orcadStopped) - expect(stoppedRuns.length, 'orcad-cold runs with orcad proven down').toBeGreaterThan(0) - receipt.startupGate = { - warm: startupGateFor(warm, WARM_START_P50_TARGET_MS), - cold: startupGateFor(host, COLD_START_P50_TARGET_MS), - // Reopening Orca after orcad's idle exit, distro still up: tracked against the warm bar, not gated. - orcadCold: { - ...startupGateFor(stoppedRuns, WARM_START_P50_TARGET_MS), - gated: false, - excludedNotStopped: orcadCold.length - stoppedRuns.length, - medianOrcadStartup: medianOrcadStartupTiming(stoppedRuns.map((run) => run.orcadStartup)) - } - } - receipt.orcadStartupProfiles = await profileOrcadRestart(repoPath) - await terminatePlain() } describe.runIf(RUN && process.platform === 'win32')('WSL distro idle release', () => { @@ -739,18 +237,10 @@ describe.runIf(RUN && process.platform === 'win32')('WSL distro idle release', ( writeFileSync(join(RECEIPT_DIR, 'idle-release.json'), `${JSON.stringify(receipt, null, 2)}\n`) }) - // Real idle timeout, holder poll, WSL's own stop and VM shutdown, all on a live distro. + // Real idle timeout, holder poll and WSL's own stop on a live distro. it( 'keeps a distro with a live terminal, then lets it stop once orcad idle-exits', idleReleasePhase, RELEASE_BUDGET_MS + 2 * HELD_WITH_TERMINAL_MS + 6 * 60_000 ) - - // After the idle phase: fifteen distro restarts, five warm reconnects, five orcad restarts and one - // profiled restart. - it( - 'measures distro restart to first output for the WSL host and an old-bridge exec lower bound', - distroRestartBaseline, - 24 * 60_000 - ) }) diff --git a/src/main/wsl/orcad/wsl-orcad-update-move-hold-driver.test.ts b/src/main/wsl/orcad/wsl-orcad-update-move-hold-driver.test.ts index 4ced00c4809..ff310707c17 100644 --- a/src/main/wsl/orcad/wsl-orcad-update-move-hold-driver.test.ts +++ b/src/main/wsl/orcad/wsl-orcad-update-move-hold-driver.test.ts @@ -25,13 +25,13 @@ import { wslMoveRigOutcome, type WslMoveRig } from '../../persistence/__fixtures__/wsl-mover/wsl-move-kill-rig' -import { resetWslMoveDesktopRewriteStoresForTests } from '../../persistence/moving-wsl-projects/wsl-move-desktop-rewrite-stores' +import { resetWslMoveDesktopRewriteStoresForTests } from '../../persistence/moving-wsl-projects/desktop-state/wsl-move-desktop-rewrite-stores' import { moveProjectsToWslHost } from '../../persistence/moving-wsl-projects/wsl-move-driver' import { cancelWslMove, isWslMoveRunning, isWslMoveUnderwayOnHost -} from '../../persistence/moving-wsl-projects/wsl-move-running-moves' +} from '../../persistence/moving-wsl-projects/orchestration/wsl-move-running-moves' import { getRemoteHostPlatform } from '../../ssh/remote-host/ssh-remote-platform' import type { OrcadHostTransport } from '../../managed-server/install/orcad-host-transport' import type { WslDistroHolder } from '../discovery/wsl-distro-holder-types' diff --git a/src/preload/api/ai-vault-api.ts b/src/preload/api/ai-vault-api.ts index 0df2a880e40..76716433c64 100644 --- a/src/preload/api/ai-vault-api.ts +++ b/src/preload/api/ai-vault-api.ts @@ -7,6 +7,10 @@ import type { AiVaultDeleteSessionArgs, AiVaultDeleteSessionResult } from '../../shared/ai-vault/contracts/ai-vault-session-deletion' +import type { + AiVaultSessionHandoffArgs, + AiVaultSessionHandoffResult +} from '../../shared/ai-vault/contracts/ai-vault-session-handoff' import type { AiVaultFirstUserPromptArgs, AiVaultFirstUserPromptResult, @@ -50,6 +54,8 @@ export type AiVaultApi = { prepareSessionResume: ( args: AiVaultPrepareSessionResumeRequest ) => Promise + /** Saves a database-backed session's full conversation on its own host for a hand-off. */ + prepareSessionHandoff: (args: AiVaultSessionHandoffArgs) => Promise listSubagentSessions: (args: AiVaultSubagentListArgs) => Promise getFirstUserPrompt: (args: AiVaultFirstUserPromptArgs) => Promise /** Moves a deletable session's transcript to the OS trash; local sessions only. */ diff --git a/src/preload/api/ai-vault-bridge.ts b/src/preload/api/ai-vault-bridge.ts index e12c807db8c..b772715009c 100644 --- a/src/preload/api/ai-vault-bridge.ts +++ b/src/preload/api/ai-vault-bridge.ts @@ -16,6 +16,7 @@ import type { } from '../../shared/ai-vault/contracts/ai-vault-types' import type { AiVaultSessionTitlesArgs } from '../../shared/ai-vault/contracts/ai-vault-session-title' import type { AiVaultPrepareSessionResumeRequest } from '../../shared/ai-vault/resume/ai-vault-resume-preparation' +import type { AiVaultSessionHandoffArgs } from '../../shared/ai-vault/contracts/ai-vault-session-handoff' import type { PreloadApi } from '../api-types' import { AI_VAULT_SCAN_PROGRESS_CHANNEL, @@ -54,6 +55,8 @@ export const aiVaultApi = { ipcRenderer.invoke('aiVault:cancelListSessions', args), prepareSessionResume: (args: AiVaultPrepareSessionResumeRequest) => ipcRenderer.invoke('aiVault:prepareSessionResume', args), + prepareSessionHandoff: (args: AiVaultSessionHandoffArgs) => + ipcRenderer.invoke('aiVault:prepareSessionHandoff', args), listSubagentSessions: (args: AiVaultSubagentListArgs) => ipcRenderer.invoke('aiVault:listSubagentSessions', args), getFirstUserPrompt: (args: AiVaultFirstUserPromptArgs) => diff --git a/src/preload/api/app-api.ts b/src/preload/api/app-api.ts index b82c6a8e054..7666eab0328 100644 --- a/src/preload/api/app-api.ts +++ b/src/preload/api/app-api.ts @@ -54,7 +54,9 @@ export type AppApi = { /** Whether this machine's runtime holds a structured chat, saved or live. */ holdsStructuredAgentSessions: () => Promise onStructuredAgentSessionsHeldChanged: (callback: (held: boolean) => void) => () => void - recoverLegacyWorkerTerminalsForRendererStartup: () => Promise + recoverLegacyWorkerTerminalsForRendererStartup: (options?: { + afterReconnect?: boolean + }) => Promise /** Enabled only by ORCA_STARTUP_DIAGNOSTICS. */ startupDiagnostic: (event: string, details?: Record) => Promise /** macOS input mode or non-IME layout ID; null off macOS or if the defaults read fails. */ diff --git a/src/preload/api/app-bridge.ts b/src/preload/api/app-bridge.ts index b7d3f3d73bb..d9b9bd19edf 100644 --- a/src/preload/api/app-bridge.ts +++ b/src/preload/api/app-bridge.ts @@ -82,8 +82,10 @@ export const appApi = { ipcRenderer.on('app:structuredAgentSessionsHeldChanged', listener) return () => ipcRenderer.removeListener('app:structuredAgentSessionsHeldChanged', listener) }, - recoverLegacyWorkerTerminalsForRendererStartup: (): Promise => - ipcRenderer.invoke('app:recoverLegacyWorkerTerminalsForRendererStartup'), + recoverLegacyWorkerTerminalsForRendererStartup: (options?: { + afterReconnect?: boolean + }): Promise => + ipcRenderer.invoke('app:recoverLegacyWorkerTerminalsForRendererStartup', options), startupDiagnostic: (event: string, details?: Record): Promise => startupDiagnosticsEnabled ? ipcRenderer.invoke('app:startupDiagnostic', event, details) diff --git a/src/preload/api/browser/browser-api.ts b/src/preload/api/browser/browser-api.ts index d778966efc0..b161b7f910a 100644 --- a/src/preload/api/browser/browser-api.ts +++ b/src/preload/api/browser/browser-api.ts @@ -1,3 +1,4 @@ +import type { BrowserGuestMetadata } from '../../../shared/browser/guest-lifecycle/browser-guest-metadata' import type { BrowserSessionCookieApi } from './browser-session-cookie-api' import type { BrowserDevToolsDockBounds } from '../../../shared/browser/devtools/browser-devtools-dock' import type { BrowserSetAnnotationViewportBridgeArgs } from '../../../shared/browser/annotations/browser-annotation-viewport-bridge' @@ -84,6 +85,11 @@ export type BrowserApi = { request: BrowserClientPageRendererRequest ) => BrowserClientPageRendererOutcome | Promise ) => () => void + getGuestMetadata: (args: { + browserPageId: string + webContentsId: number + }) => Promise + onGuestMetadata: (callback: (state: BrowserGuestMetadata) => void) => () => void registerGuest: (args: { browserPageId: string workspaceId: string diff --git a/src/preload/api/browser/browser-bridge-guest-registration-and-downloads.ts b/src/preload/api/browser/browser-bridge-guest-registration-and-downloads.ts index a98e0308250..48d27c8f339 100644 --- a/src/preload/api/browser/browser-bridge-guest-registration-and-downloads.ts +++ b/src/preload/api/browser/browser-bridge-guest-registration-and-downloads.ts @@ -1,3 +1,4 @@ +import type { BrowserGuestMetadata } from '../../../shared/browser/guest-lifecycle/browser-guest-metadata' import type { BrowserDevToolsDockBounds } from '../../../shared/browser/devtools/browser-devtools-dock' import { ipcRenderer } from 'electron' import type { BrowserViewportOverride } from '../../../shared/browser-workspace-types' @@ -22,6 +23,17 @@ import type { PreloadApi } from '../../api-types' export const browserGuestRegistrationAndDownloadsApi = { onClientPageRendererRequest: browserClientPageRendererRequests.subscribe, readClientHostId: (): string | null => readBrowserClientHostIdArgument(process.argv), + getGuestMetadata: (args: { + browserPageId: string + webContentsId: number + }): Promise => + ipcRenderer.invoke('browser:getGuestMetadata', args), + onGuestMetadata: (callback: (state: BrowserGuestMetadata) => void): (() => void) => { + const listener = (_event: Electron.IpcRendererEvent, state: BrowserGuestMetadata): void => + callback(state) + ipcRenderer.on('browser:guest-metadata', listener) + return () => ipcRenderer.removeListener('browser:guest-metadata', listener) + }, registerGuest: (args: { browserPageId: string workspaceId: string diff --git a/src/preload/api/ephemeral-vm-api.ts b/src/preload/api/ephemeral-vm-api.ts index f1aca3ee2f6..0c01a8bf0b4 100644 --- a/src/preload/api/ephemeral-vm-api.ts +++ b/src/preload/api/ephemeral-vm-api.ts @@ -29,6 +29,8 @@ export type EphemeralVmApi = { diagnostics: NonNullable }[] > + /** Credential-like variable names (never values) recipe scripts would inherit from Orca. */ + listCredentialEnvNames: () => Promise doctor: (args: { repoId: string; recipeId: string }) => Promise provision: (args: { repoId: string diff --git a/src/preload/api/ephemeral-vm-bridge.ts b/src/preload/api/ephemeral-vm-bridge.ts index 2eb8372bb79..dc1b4ea12c7 100644 --- a/src/preload/api/ephemeral-vm-bridge.ts +++ b/src/preload/api/ephemeral-vm-bridge.ts @@ -9,6 +9,7 @@ import { export const ephemeralVmApi = { listRecipes: (args) => ipcRenderer.invoke('ephemeralVm:listRecipes', args), listRecipeCatalog: () => ipcRenderer.invoke('ephemeralVm:listRecipeCatalog'), + listCredentialEnvNames: () => ipcRenderer.invoke('ephemeralVm:listCredentialEnvNames'), doctor: (args) => ipcRenderer.invoke('ephemeralVm:doctor', args), provision: (args) => ipcRenderer.invoke('ephemeralVm:provision', args), cancelProvision: (args) => ipcRenderer.invoke('ephemeralVm:cancelProvision', args), diff --git a/src/preload/api/filesystem-api.ts b/src/preload/api/filesystem-api.ts index 8f945c94817..876859ba373 100644 --- a/src/preload/api/filesystem-api.ts +++ b/src/preload/api/filesystem-api.ts @@ -190,6 +190,8 @@ export type FilesystemApi = { access?: LocalFileAccess wakeWslDistro?: boolean }) => Promise<{ size: number; isDirectory: boolean; mtime: number }> + /** Local only: whether a symlink below `rootPath` leads to `path` (the root watch can't see past it). */ + hasSymlinkBelowRoot: (args: { rootPath: string; path: string }) => Promise pathsExist?: (args: { filePaths: string[] connectionId?: string diff --git a/src/preload/api/fs-bridge.ts b/src/preload/api/fs-bridge.ts index e33ce61f046..dcc376428c0 100644 --- a/src/preload/api/fs-bridge.ts +++ b/src/preload/api/fs-bridge.ts @@ -192,6 +192,8 @@ export const fsApi = { wakeWslDistro?: boolean }): Promise<{ size: number; isDirectory: boolean; mtime: number }> => ipcRenderer.invoke('fs:stat', args), + hasSymlinkBelowRoot: (args: { rootPath: string; path: string }): Promise => + ipcRenderer.invoke('fs:hasSymlinkBelowRoot', args), pathsExist: (args: { filePaths: string[] connectionId?: string diff --git a/src/preload/api/pty-api.ts b/src/preload/api/pty-api.ts index 68e22c51ffc..7dba2b56a1b 100644 --- a/src/preload/api/pty-api.ts +++ b/src/preload/api/pty-api.ts @@ -79,8 +79,6 @@ export type PtyApi = { spawnIntent?: SpawnIntent // A restore no user act asked for; main holds it for a stopped WSL distro. Older mains ignore it. wslPassiveRestore?: true - // The user's "let agents ask" answer for this launch; older mains ignore it. - skipAgentWorkspaceTrust?: true agentLaunch?: AgentPaneLaunchRequest // Main emits agent_started only after a successful spawn. telemetry?: { agent_kind: AgentKind; launch_source: LaunchSource; request_kind: RequestKind } diff --git a/src/preload/api/pty-bridge-session-control.ts b/src/preload/api/pty-bridge-session-control.ts index b57e1593f61..685259339ec 100644 --- a/src/preload/api/pty-bridge-session-control.ts +++ b/src/preload/api/pty-bridge-session-control.ts @@ -66,8 +66,6 @@ export const ptySessionControlApi = { placement?: TerminalPanePlacement spawnIntent?: SpawnIntent wslPassiveRestore?: true - // The user's "let agents ask" answer for this launch; older mains ignore it. - skipAgentWorkspaceTrust?: true agentLaunch?: AgentPaneLaunchRequest telemetry?: { agent_kind: AgentKind; launch_source: LaunchSource; request_kind: RequestKind } }): Promise<{ diff --git a/src/preload/api/workspace-cleanup-api.ts b/src/preload/api/workspace-cleanup-api.ts index a88023d8e48..84458b41907 100644 --- a/src/preload/api/workspace-cleanup-api.ts +++ b/src/preload/api/workspace-cleanup-api.ts @@ -55,6 +55,10 @@ export type WorkspaceSpaceApi = { ) => () => void requestWorktreeRefresh?: () => Promise onWorktreeRefreshRequested?: (callback: () => void) => () => void + requestIssueRefresh?: (worktreeId: string, executionHostId?: ExecutionHostId) => Promise + onIssueRefreshRequested?: ( + callback: (worktreeId: string, executionHostId?: ExecutionHostId) => void + ) => () => void publishWindowAnalysis?: (analysis: WorkspaceSpaceAnalysis) => Promise onWindowAnalysis?: (callback: (analysis: WorkspaceSpaceAnalysis) => void) => () => void } diff --git a/src/preload/api/workspace-space-bridge.ts b/src/preload/api/workspace-space-bridge.ts index cc222ec5bc1..cfab82ca3bd 100644 --- a/src/preload/api/workspace-space-bridge.ts +++ b/src/preload/api/workspace-space-bridge.ts @@ -21,6 +21,8 @@ export const workspaceSpaceApi = { change?: WorkspaceSpaceChange ) => ipcRenderer.invoke('workspaceSpace:revealWorktree', worktreeId, executionHostId, change), requestWorktreeRefresh: () => ipcRenderer.invoke('workspaceSpace:requestWorktreeRefresh'), + requestIssueRefresh: (worktreeId: string, executionHostId?: ExecutionHostId) => + ipcRenderer.invoke('workspaceSpace:requestIssueRefresh', worktreeId, executionHostId), publishWindowAnalysis: (analysis: WorkspaceSpaceAnalysis) => ipcRenderer.invoke('workspaceSpace:publishWindowAnalysis', analysis), onWindowAnalysis: (callback: (analysis: WorkspaceSpaceAnalysis) => void) => { @@ -65,6 +67,17 @@ export const workspaceSpaceApi = { ipcRenderer.on('workspaceSpace:worktreeRefreshRequested', listener) return () => ipcRenderer.removeListener('workspaceSpace:worktreeRefreshRequested', listener) }, + onIssueRefreshRequested: ( + callback: (worktreeId: string, executionHostId?: ExecutionHostId) => void + ) => { + const listener = ( + _event: Electron.IpcRendererEvent, + worktreeId: string, + executionHostId?: ExecutionHostId + ): void => callback(worktreeId, executionHostId) + ipcRenderer.on('workspaceSpace:issueRefreshRequested', listener) + return () => ipcRenderer.removeListener('workspaceSpace:issueRefreshRequested', listener) + }, onProgress: (callback) => { const listener = ( _event: Electron.IpcRendererEvent, diff --git a/src/preload/api/worktree-api.ts b/src/preload/api/worktree-api.ts index 845020f4a67..c2cb7654a05 100644 --- a/src/preload/api/worktree-api.ts +++ b/src/preload/api/worktree-api.ts @@ -1,3 +1,4 @@ +import type { WorkspaceMetadataSet } from '../../shared/worktree/workspace-metadata-set' import type { SparsePresetFailure } from '../../shared/worktree/sparse-preset-failure' import type { ForgetRemovedWorktreesForExecutionHostArgs, @@ -157,6 +158,7 @@ export type WorktreeApi = { onHeadIdentitiesChanged: ( callback: (data: { repoId: string; identities: WorktreeHeadIdentity[] }) => void ) => () => void + onMetadataSet?: (callback: (set: WorkspaceMetadataSet) => void) => () => void onBaseStatus: (callback: (data: WorktreeBaseStatusEvent) => void) => () => void onRemoteBranchConflict: ( callback: (data: WorktreeRemoteBranchConflictEvent) => void diff --git a/src/preload/api/worktrees-bridge.ts b/src/preload/api/worktrees-bridge.ts index 7106dc7c4a3..9bbfb55fed1 100644 --- a/src/preload/api/worktrees-bridge.ts +++ b/src/preload/api/worktrees-bridge.ts @@ -9,6 +9,7 @@ import type { WorktreeHeadIdentity } from '../../shared/worktree/types' import type { PreloadApi } from '../api-types' +import type { WorkspaceMetadataSet } from '../../shared/worktree/workspace-metadata-set' export const worktreesApi = { listRetiredNames: (args) => ipcRenderer.invoke('worktrees:listRetiredNames', args), @@ -105,6 +106,12 @@ export const worktreesApi = { return () => ipcRenderer.removeListener('worktrees:headIdentitiesChanged', listener) }, + onMetadataSet: (callback: (set: WorkspaceMetadataSet) => void): (() => void) => { + const listener = (_event: Electron.IpcRendererEvent, set: WorkspaceMetadataSet) => callback(set) + ipcRenderer.on('worktrees:metadataSet', listener) + return () => ipcRenderer.removeListener('worktrees:metadataSet', listener) + }, + onBaseStatus: (callback: (data: WorktreeBaseStatusEvent) => void): (() => void) => { const listener = (_event: Electron.IpcRendererEvent, data: WorktreeBaseStatusEvent) => callback(data) diff --git a/src/renderer/src/App.tsx b/src/renderer/src/App.tsx index b3eaaea1d6e..b4d2e3e3fec 100644 --- a/src/renderer/src/App.tsx +++ b/src/renderer/src/App.tsx @@ -7,11 +7,10 @@ import { BrowserWebAuthnAccountDialog } from './components/browser-webauthn-acco import { BrowserExtensionInstallDialog } from './components/browser-extension-install-dialog' import { BrowserPagePrompts } from './components/browser-pane/browser-page-prompts' import { LinkRoutingPreferenceDialogProvider } from './components/link-routing-preference-dialog' -import { SkillFreshnessNudge } from './components/skills/SkillFreshnessNudge' +import { SkillFreshnessNudge } from './components/skills/freshness/SkillFreshnessNudge' import PinnedTabCloseDialog from './components/terminal-pane/layout/close/PinnedTabCloseDialog' import RunningTerminalCloseDialog from './components/terminal-pane/layout/close/RunningTerminalCloseDialog' import WorktreeBaseFallbackDialog from './components/WorktreeBaseFallbackDialog' -import AgentWorkspaceTrustDecisionDialog from './components/agent-workspace-trust/AgentWorkspaceTrustDecisionDialog' import ClaudeAccountSwitchDialog from './components/ClaudeAccountSwitchDialog' import { useUnreadDockBadge } from './hooks/useUnreadDockBadge' import { AppBackgroundServices } from './app-shell/AppBackgroundServices' @@ -128,7 +127,6 @@ function App(): React.JSX.Element { - diff --git a/src/renderer/src/app-shell/AppBackgroundServices.tsx b/src/renderer/src/app-shell/AppBackgroundServices.tsx index 0fa98b6070d..6bb876961c5 100644 --- a/src/renderer/src/app-shell/AppBackgroundServices.tsx +++ b/src/renderer/src/app-shell/AppBackgroundServices.tsx @@ -1,5 +1,5 @@ import { Suspense } from 'react' -import { lazyWithRetry as lazy } from '@/lib/lazy-with-retry' +import { lazyWithRetry as lazy } from '@/app-shell/startup/lazy-with-retry' import { AgentHibernationGate } from '../components/AgentHibernationGate' import { AiVaultTabTitleSyncGate } from '../components/AiVaultTabTitleSyncGate' import RetainedAgentsSyncGate from '../components/dashboard/RetainedAgentsSyncGate' diff --git a/src/renderer/src/app-shell/AppNotificationCards.tsx b/src/renderer/src/app-shell/AppNotificationCards.tsx index 3db3a25dfea..cdaf8cbd54c 100644 --- a/src/renderer/src/app-shell/AppNotificationCards.tsx +++ b/src/renderer/src/app-shell/AppNotificationCards.tsx @@ -1,10 +1,9 @@ import { Suspense, type JSX } from 'react' import type { TopLevelView } from '../../../shared/ui-chrome-types' -import { lazyWithRetry as lazy } from '@/lib/lazy-with-retry' +import { lazyWithRetry as lazy } from '@/app-shell/startup/lazy-with-retry' import { CodexSharedSettingsNoticeCard } from '../components/CodexSharedSettingsNoticeCard' import { NotificationCardStack } from '../components/NotificationCardStack' import { StarNagCard } from '../components/StarNagCard' -import { SpeechModelUpdateCard } from '../components/dictation/SpeechModelUpdateCard' import { OverlayBoundary } from './app-root-surface-boundaries' const ChatUiHereCornerCard = lazy(() => @@ -60,9 +59,6 @@ export function AppNotificationCards({ - - - ) } diff --git a/src/renderer/src/app-shell/AppRootSurfaces.tsx b/src/renderer/src/app-shell/AppRootSurfaces.tsx index e97fe473f52..4e71408df47 100644 --- a/src/renderer/src/app-shell/AppRootSurfaces.tsx +++ b/src/renderer/src/app-shell/AppRootSurfaces.tsx @@ -4,23 +4,23 @@ import { OnboardingLanguageLoading } from '../components/onboarding/OnboardingLa import { useLanguageReadiness } from '../i18n/language-readiness' import { memo, Suspense } from 'react' import { createPortal } from 'react-dom' -import { lazyWithRetry as lazy } from '@/lib/lazy-with-retry' +import { lazyWithRetry as lazy } from '@/app-shell/startup/lazy-with-retry' import { useTranslate } from '@/i18n/use-translate' import { RecoverableRenderErrorBoundary } from '../components/error-boundaries/RecoverableRenderErrorBoundary' import NewWorkspaceComposerModal from '../components/NewWorkspaceComposerModal' import { CrashReportDialog } from '../components/crash-report/CrashReportDialog' import { MarkdownTemplatePicker } from '../components/editor/markdown/documents/MarkdownTemplatePicker' import RecentTabSwitcher from '../components/tab-bar/RecentTabSwitcher' -import { SkillFreshnessUpdateDialog } from '../components/skills/SkillFreshnessUpdateDialog' +import { SkillFreshnessUpdateDialog } from '../components/skills/freshness/SkillFreshnessUpdateDialog' import { StarNagAgentValueMomentObserver } from '../components/star-nag/StarNagAgentValueMomentObserver' -import { NativeChatResumeOnRestartModal } from '../components/NativeChatResumeRuntimeModal' +import { NativeChatResumeOnRestartModal } from '../components/native-chat-recovery/NativeChatResumeRuntimeModal' import { StarNagToastHost } from '../components/star-nag/StarNagToastHost' import { TelemetryFirstLaunchSurface } from '../components/TelemetryFirstLaunchSurface' import { ZoomOverlay } from '../components/ZoomOverlay' import { WslMoveDialogHost } from '../components/wsl-move/WslMoveDialog' import { MacosUpdateRequirementHost } from '../components/macos-update-requirement/MacosUpdateRequirementHost' import { shouldRenderPetOverlay } from '../components/pet/pet-overlay-visibility' -import { useAppStore } from '../store' +import { useAppStore } from '../store/index' import type { UpdateStatus } from '../../../shared/update-status-types' import { useLazyModalMounts } from './use-lazy-modal-mounts' import { AppNotificationCards } from './AppNotificationCards' diff --git a/src/renderer/src/app-shell/AppWorkspaceShell.tsx b/src/renderer/src/app-shell/AppWorkspaceShell.tsx index 4b890eccee7..4a54bbfedc4 100644 --- a/src/renderer/src/app-shell/AppWorkspaceShell.tsx +++ b/src/renderer/src/app-shell/AppWorkspaceShell.tsx @@ -1,11 +1,12 @@ import { memo, Suspense, useCallback, useRef } from 'react' -import { lazyWithRetry as lazy } from '@/lib/lazy-with-retry' +import { lazyWithRetry as lazy } from '@/app-shell/startup/lazy-with-retry' import { useTranslate } from '@/i18n/use-translate' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { usePluginViewCaptureStore } from '@/store/plugins/capture/plugin-view-capture' import { pendingCreationOpensNativeChat } from '@/lib/workspace/creation/pending-worktree-creation' +import { showsFloatingRightSidebarToggle } from '@/components/right-sidebar/visibility/right-sidebar-visibility' import Sidebar from '../components/Sidebar' -import RightSidebar from '../components/right-sidebar' +import RightSidebar from '../components/right-sidebar/index' import { RecoverableRenderErrorBoundary } from '../components/error-boundaries/RecoverableRenderErrorBoundary' import { FloatingTerminalToggleButton } from '../components/floating-terminal/FloatingTerminalToggleButton' import { TerminalWorkbenchContainer } from '../components/TerminalWorkbenchContainer' @@ -194,7 +195,7 @@ export function AppWorkspaceShell(props: { ) : null}
{/* Match the open sidebar header’s alignment to prevent toggle jitter. */} - {layout.workspaceChromeActive && !layout.rightSidebarOpen && ( + {showsFloatingRightSidebarToggle(layout) && (
- {layout.showRightSidebarControls ? : null} +
)}
diff --git a/src/renderer/src/app-shell/TitlebarLeftControls.tsx b/src/renderer/src/app-shell/TitlebarLeftControls.tsx index 368782096ad..0213a23351b 100644 --- a/src/renderer/src/app-shell/TitlebarLeftControls.tsx +++ b/src/renderer/src/app-shell/TitlebarLeftControls.tsx @@ -8,13 +8,13 @@ import { ContextMenuItem, ContextMenuTrigger } from '@/components/ui/context-menu' -import { shouldShowWorktreeHistoryControls } from '../lib/titlebar-worktree-history-controls' +import { shouldShowWorktreeHistoryControls } from './chrome/titlebar-worktree-history-controls' import { canGoBackWorktreeHistory, canGoForwardWorktreeHistory } from '@/store/slices/ui/workspace-navigation-history' import { useShortcutLabel } from '../hooks/useShortcutLabel' -import { useAppStore } from '../store' +import { useAppStore } from '../store/index' import { hasCustomTitleBar, hasMacTrafficLights } from './app-window-chrome' import type { AppChromeLayout } from './use-app-chrome-layout' diff --git a/src/renderer/src/app-shell/app-command-handlers-tab-rename.test.ts b/src/renderer/src/app-shell/app-command-handlers-tab-rename.test.ts deleted file mode 100644 index aeea8615dd1..00000000000 --- a/src/renderer/src/app-shell/app-command-handlers-tab-rename.test.ts +++ /dev/null @@ -1,134 +0,0 @@ -import { beforeEach, describe, expect, it, vi } from 'vitest' -import type { Tab, TabGroup } from '../../../shared/tab-types' -import type { TerminalTab } from '../../../shared/workspace-layout/terminal-tab-types' -import type { AppState } from '@/store/types' -import { createTabsFocusActions } from '../store/slices/tabs/tabs-focus-actions' -import type { TabsSliceGet, TabsSliceSet } from '../store/slices/tabs/tabs-slice-contract' -import { buildActiveSurfacePatch } from '../store/slices/tabs/tabs-surface' - -const mocks = vi.hoisted(() => ({ - requestTerminalTabRename: vi.fn(), - store: {} as AppState -})) - -vi.mock('../store', () => ({ - useAppStore: Object.assign(vi.fn(), { getState: () => mocks.store }) -})) - -vi.mock('../components/tab-bar/terminal-tab-rename-request', () => ({ - requestTerminalTabRename: mocks.requestTerminalTabRename -})) - -vi.mock('@/lib/floating-workspace-terminal-actions', () => ({ - isFloatingWorkspacePanelFocused: () => false -})) - -vi.mock('@/lib/terminal-shortcut-capture-notification', () => ({ - showTerminalShortcutCaptureNotification: vi.fn() -})) - -import { - type AppShortcutState, - type ShortcutDispatchInput, - createAppCommandHandlers -} from './app-command-handlers' - -const WORKTREE_ID = 'repo::/feature' -const GROUP_ID = 'group-1' -const TERMINAL_ENTITY_ID = 'terminal-1' -const TERMINAL_UNIFIED_ID = 'unified-terminal' -const CHAT_UNIFIED_ID = 'unified-chat' - -function unifiedTab(overrides: Partial & Pick): Tab { - return { - groupId: GROUP_ID, - worktreeId: WORKTREE_ID, - label: overrides.id, - customLabel: null, - color: null, - sortOrder: 0, - createdAt: 0, - ...overrides - } -} - -/** Derive active surfaces as the real store does: structured-chat focus leaves activeTabId on the last terminal. Stubbing it would hide the rename defect. */ -function storeForActiveTab(activeGroupTabId: string): AppState { - const groups: TabGroup[] = [ - { - id: GROUP_ID, - worktreeId: WORKTREE_ID, - activeTabId: activeGroupTabId, - tabOrder: [TERMINAL_UNIFIED_ID, CHAT_UNIFIED_ID] - } - ] - const rawState = { - activeBrowserTabIdByWorktree: {}, - activeFileIdByWorktree: {}, - activeGroupIdByWorktree: { [WORKTREE_ID]: GROUP_ID }, - // The user focused this terminal before switching to the structured tab. - activeTabIdByWorktree: { [WORKTREE_ID]: TERMINAL_ENTITY_ID }, - activeTabTypeByWorktree: {}, - browserTabsByWorktree: {}, - groupsByWorktree: { [WORKTREE_ID]: groups }, - layoutByWorktree: {}, - openFiles: [], - tabsByWorktree: { - [WORKTREE_ID]: [{ id: TERMINAL_ENTITY_ID, worktreeId: WORKTREE_ID } as TerminalTab] - }, - unifiedTabsByWorktree: { - [WORKTREE_ID]: [ - unifiedTab({ - id: TERMINAL_UNIFIED_ID, - entityId: TERMINAL_ENTITY_ID, - contentType: 'terminal' - }), - unifiedTab({ id: CHAT_UNIFIED_ID, entityId: 'session-1', contentType: 'agent-session' }) - ] - } - } as unknown as AppState - const store = { - ...rawState, - ...buildActiveSurfacePatch(rawState, WORKTREE_ID) - } as AppState - const noopSet = (() => {}) as unknown as TabsSliceSet - store.getActiveTab = createTabsFocusActions(noopSet, (() => store) as TabsSliceGet).getActiveTab - return store -} - -function shortcutState(): AppShortcutState { - return { - activeView: 'terminal', - activeWorktreeId: WORKTREE_ID, - actions: {} as AppShortcutState['actions'], - creationLayoutActive: false, - floatingTerminalEnabled: false, - floatingTerminalOpen: false, - floatingVisibleTabCount: 0, - keybindings: {}, - openFloatingWorkspaceMaximized: vi.fn(), - pluginCommands: [], - setFloatingTerminalOpen: vi.fn(), - terminalShortcutPolicy: 'orca-first', - workspaceChromeActive: true - } -} - -function shortcutInput(): ShortcutDispatchInput { - return { target: null, defaultPrevented: false, preventDefault: vi.fn() } -} - -function runRename(state: AppShortcutState = shortcutState()): boolean | undefined { - return createAppCommandHandlers(state, shortcutInput(), 'terminal').get('tab.rename')?.() -} - -describe('tab.rename shortcut', () => { - beforeEach(() => vi.clearAllMocks()) - - it('renames the structured chat tab, not the stale background terminal', () => { - mocks.store = storeForActiveTab(CHAT_UNIFIED_ID) - expect(runRename()).toBe(true) - expect(mocks.requestTerminalTabRename).toHaveBeenCalledWith(CHAT_UNIFIED_ID) - expect(mocks.requestTerminalTabRename).not.toHaveBeenCalledWith(TERMINAL_ENTITY_ID) - }) -}) diff --git a/src/renderer/src/app-shell/app-command-handlers.ts b/src/renderer/src/app-shell/app-command-handlers.ts index 1ff366fd1a5..448d742fa04 100644 --- a/src/renderer/src/app-shell/app-command-handlers.ts +++ b/src/renderer/src/app-shell/app-command-handlers.ts @@ -1,11 +1,11 @@ -import { canShowRightSidebarForView } from '@/lib/right-sidebar-visibility' -import { runBuiltInOrReplacement } from '@/lib/plugin-command-replacements' -import { isFloatingWorkspacePanelFocused } from '@/lib/floating-workspace-terminal-actions' -import { hasVisibleOverlay } from '@/lib/visible-overlay' -import { requestScrollToCurrentWorkspaceRevealAndRename } from '@/lib/scroll-to-current-workspace-status' +import { canShowRightSidebarForView } from '@/components/right-sidebar/visibility/right-sidebar-visibility' +import { runBuiltInOrReplacement } from '@/lib/plugins/commands/plugin-command-replacements' +import { isFloatingWorkspacePanelFocused } from '@/components/floating-terminal/floating-workspace-terminal-actions' +import { hasVisibleOverlay } from '@/lib/overlay-interaction/visible-overlay' +import { requestScrollToCurrentWorkspaceRevealAndRename } from '@/lib/workspace/navigation/scroll-to-current-workspace-status' import { requestVirtualizedScrollAnchorRecord } from '@/hooks/requestVirtualizedScrollAnchorRecord' -import { showTerminalShortcutCaptureNotification } from '@/lib/terminal-shortcut-capture-notification' -import { shouldShowWorktreeHistoryControls } from '../lib/titlebar-worktree-history-controls' +import { showTerminalShortcutCaptureNotification } from '@/lib/notifications/terminal-shortcut-capture-notification' +import { shouldShowWorktreeHistoryControls } from './chrome/titlebar-worktree-history-controls' import { TOGGLE_WORKSPACE_BOARD_EVENT } from '../components/sidebar/workspace-board/surface/useWorkspaceBoardPanel' import { getRenderedLineageChipKeys, @@ -13,13 +13,13 @@ import { } from '../components/sidebar/workspace-card/identity/child-workspaces-toggle-target' import { requestTerminalTabRename } from '../components/tab-bar/terminal-tab-rename-request' import { - deleteHoveredWorkspaceImmediately, - resolveHoveredWorkspaceDeleteTarget -} from '../components/sidebar/workspace-actions/deletion/hovered-workspace-delete' -import { useAppStore } from '../store' + deleteActiveWorkspaceFromShortcut, + resolveActiveWorkspaceDeleteTarget +} from '../components/sidebar/workspace-actions/deletion/active-workspace-delete' +import { useAppStore } from '../store/index' import type { usePluginCommands } from '@/store/plugins/catalog/plugin-contribution-catalog' import { isGitRepoKind } from '../../../shared/repo-kind' -import { openPluginsSettings } from '@/lib/open-plugins-settings' +import { openPluginsSettings } from '@/components/settings/navigation/open-plugins-settings' import { resolveActiveTabRenameTarget } from './active-tab-rename-target' import { createPluginsSettingsShortcutHandler } from './plugin-settings-shortcut-handler' import type { @@ -230,12 +230,12 @@ export function createAppCommandHandlers( return false } const store = useAppStore.getState() - const target = resolveHoveredWorkspaceDeleteTarget(store) + const target = resolveActiveWorkspaceDeleteTarget(store) if (!target) { return false } return claim('workspace.delete', () => { - deleteHoveredWorkspaceImmediately(store, target) + deleteActiveWorkspaceFromShortcut(store, target) }) } ], @@ -270,7 +270,7 @@ export function createAppCommandHandlers( [ 'sidebar.right.toggle', () => - canRevealRightSidebar + canShowRightSidebarForView(activeView) ? claim('sidebar.right.toggle', () => actions.toggleRightSidebar()) : false ], diff --git a/src/renderer/src/app-shell/app-window-chrome.ts b/src/renderer/src/app-shell/app-window-chrome.ts index 9cba84dee1b..16038d5c244 100644 --- a/src/renderer/src/app-shell/app-window-chrome.ts +++ b/src/renderer/src/app-shell/app-window-chrome.ts @@ -1,7 +1,7 @@ import { isPairedWebClientWindow, shouldRenderDesktopWindowChrome -} from '@/lib/desktop-window-chrome' +} from '@/app-shell/chrome/desktop-window-chrome' export const isMac = navigator.userAgent.includes('Mac') const isWindows = !isMac && navigator.userAgent.includes('Windows') diff --git a/src/renderer/src/lib/app-font-family.ts b/src/renderer/src/app-shell/appearance/app-font-family.ts similarity index 92% rename from src/renderer/src/lib/app-font-family.ts rename to src/renderer/src/app-shell/appearance/app-font-family.ts index 956f478e0c6..5444ea55e30 100644 --- a/src/renderer/src/lib/app-font-family.ts +++ b/src/renderer/src/app-shell/appearance/app-font-family.ts @@ -1,4 +1,4 @@ -import { DEFAULT_APP_FONT_FAMILY } from '../../../shared/constants' +import { DEFAULT_APP_FONT_FAMILY } from '../../../../shared/constants' const APP_FONT_FALLBACKS = [ DEFAULT_APP_FONT_FAMILY, diff --git a/src/renderer/src/lib/chat-selection-mix.ts b/src/renderer/src/app-shell/appearance/chat-selection-mix.ts similarity index 97% rename from src/renderer/src/lib/chat-selection-mix.ts rename to src/renderer/src/app-shell/appearance/chat-selection-mix.ts index 4e194f7f925..ac0ac4b7a05 100644 --- a/src/renderer/src/lib/chat-selection-mix.ts +++ b/src/renderer/src/app-shell/appearance/chat-selection-mix.ts @@ -1,6 +1,6 @@ import { MIN_TEXT_CONTRAST } from './plugin-theme-contrast-rules' import { browserColorProbe, paintedThemeColors, type ColorProbe } from './plugin-theme-tokens' -import { contrastRatio, mix, type Rgba } from '../../../shared/color/rgba-contrast' +import { contrastRatio, mix, type Rgba } from '../../../../shared/color/rgba-contrast' export const CHAT_SELECTION_MIX_TOKEN = '--chat-selection-mix' // Keep in sync with --chat-selection-mix in main.css: about as deep as the system highlight. diff --git a/src/renderer/src/lib/document-theme.ts b/src/renderer/src/app-shell/appearance/document-theme.ts similarity index 98% rename from src/renderer/src/lib/document-theme.ts rename to src/renderer/src/app-shell/appearance/document-theme.ts index bc776926310..f5d0fe509d6 100644 --- a/src/renderer/src/lib/document-theme.ts +++ b/src/renderer/src/app-shell/appearance/document-theme.ts @@ -1,8 +1,8 @@ -import type { GlobalSettings } from '../../../shared/global-settings-types' +import type { GlobalSettings } from '../../../../shared/global-settings-types' import { PLUGIN_APP_THEME_TOKENS, type PluginThemeRegistration -} from '../../../shared/plugins/artifacts/plugin-theme-artifact' +} from '../../../../shared/plugins/artifacts/plugin-theme-artifact' import { browserColorProbe, HOST_PILL_OUTLINE_MIX_TOKEN, diff --git a/src/renderer/src/lib/left-sidebar-appearance.ts b/src/renderer/src/app-shell/appearance/left-sidebar-appearance.ts similarity index 92% rename from src/renderer/src/lib/left-sidebar-appearance.ts rename to src/renderer/src/app-shell/appearance/left-sidebar-appearance.ts index 169dd101973..ebb0dd37e7e 100644 --- a/src/renderer/src/lib/left-sidebar-appearance.ts +++ b/src/renderer/src/app-shell/appearance/left-sidebar-appearance.ts @@ -1,12 +1,12 @@ import type { CSSProperties } from 'react' -import type { GlobalSettings } from '../../../shared/global-settings-types' +import type { GlobalSettings } from '../../../../shared/global-settings-types' import { normalizeLeftSidebarTintColor, normalizeLeftSidebarTintOpacity -} from '../../../shared/left-sidebar-appearance' -import { pluginAppThemeCssFallback } from '../../../shared/plugins/artifacts/plugin-theme-css-fallbacks' +} from '../../../../shared/left-sidebar-appearance' +import { pluginAppThemeCssFallback } from '../../../../shared/plugins/artifacts/plugin-theme-css-fallbacks' import { hostPillOutlineMixOver, type ColorProbe } from './plugin-theme-tokens' -import { mix, type Rgba } from '../../../shared/color/rgba-contrast' +import { mix, type Rgba } from '../../../../shared/color/rgba-contrast' type LeftSidebarAppearanceSettings = Pick< GlobalSettings, diff --git a/src/renderer/src/lib/plugin-theme-contrast-rules.ts b/src/renderer/src/app-shell/appearance/plugin-theme-contrast-rules.ts similarity index 100% rename from src/renderer/src/lib/plugin-theme-contrast-rules.ts rename to src/renderer/src/app-shell/appearance/plugin-theme-contrast-rules.ts diff --git a/src/renderer/src/lib/plugin-theme-tokens.ts b/src/renderer/src/app-shell/appearance/plugin-theme-tokens.ts similarity index 98% rename from src/renderer/src/lib/plugin-theme-tokens.ts rename to src/renderer/src/app-shell/appearance/plugin-theme-tokens.ts index 2844bea1da7..8e496c3053d 100644 --- a/src/renderer/src/lib/plugin-theme-tokens.ts +++ b/src/renderer/src/app-shell/appearance/plugin-theme-tokens.ts @@ -1,7 +1,7 @@ import { pluginAppThemeCssFallback, type PluginThemeCssFallbackRule -} from '../../../shared/plugins/artifacts/plugin-theme-css-fallbacks' +} from '../../../../shared/plugins/artifacts/plugin-theme-css-fallbacks' import { BORDERS, CONTRAST_RULES, @@ -11,7 +11,7 @@ import { type ContrastRule } from './plugin-theme-contrast-rules' -import { contrastRatio, mix, over, type Rgba } from '../../../shared/color/rgba-contrast' +import { contrastRatio, mix, over, type Rgba } from '../../../../shared/color/rgba-contrast' /** sRGB channels 0-255 and alpha 0-1, or null when the value is not a CSS color. */ export type ColorProbe = (value: string) => Rgba | null diff --git a/src/renderer/src/app-shell/appearance/terminal-app-theme.test.ts b/src/renderer/src/app-shell/appearance/terminal-app-theme.test.ts new file mode 100644 index 00000000000..0f45a9e902c --- /dev/null +++ b/src/renderer/src/app-shell/appearance/terminal-app-theme.test.ts @@ -0,0 +1,40 @@ +import { describe, expect, it } from 'vitest' +import { getDefaultSettings } from '../../../../shared/constants' +import type { GlobalSettings } from '../../../../shared/global-settings-types' +import type { ColorProbe } from './plugin-theme-tokens' +import { contrastRatio, over } from '../../../../shared/color/rgba-contrast' +import { synthesizeTerminalAppTheme } from './terminal-app-theme' + +// Parses #rrggbb and rgb(r g b), which is all the synthesized theme and its inputs use. +const probe: ColorProbe = (value) => { + const hex = /^#([0-9a-f]{6})$/i.exec(value.trim())?.[1] + if (hex) { + const channel = (offset: number): number => Number.parseInt(hex.slice(offset, offset + 2), 16) + return [channel(0), channel(2), channel(4), 1] + } + const rgb = /^rgb\((\d+) (\d+) (\d+)\)$/.exec(value.trim()) + return rgb ? [Number(rgb[1]), Number(rgb[2]), Number(rgb[3]), 1] : null +} + +function settingsWith(overrides: Partial): GlobalSettings { + return { ...getDefaultSettings('/tmp'), theme: 'dark', ...overrides } +} + +describe('synthesizeTerminalAppTheme', () => { + it('keeps the host pill label legible on its accent fill in light and dark', () => { + for (const [terminalThemeDark, tint] of [ + ['GitHub Light', 1], + ['Nord', 0.8] + ] as const) { + const tokens = synthesizeTerminalAppTheme( + settingsWith({ terminalThemeDark }), + true, + probe + )?.tokens + const color = (token: string) => probe(tokens?.[token] ?? '') ?? [0, 0, 0, 1] + const [r, g, b] = color('--accent') + const pill = over([r, g, b, tint], color('--sidebar')) + expect(contrastRatio(color('--muted-foreground'), pill)).toBeGreaterThanOrEqual(4.5) + } + }) +}) diff --git a/src/renderer/src/lib/terminal-app-theme.ts b/src/renderer/src/app-shell/appearance/terminal-app-theme.ts similarity index 85% rename from src/renderer/src/lib/terminal-app-theme.ts rename to src/renderer/src/app-shell/appearance/terminal-app-theme.ts index 1ab89a15bdb..b638a1dc940 100644 --- a/src/renderer/src/lib/terminal-app-theme.ts +++ b/src/renderer/src/app-shell/appearance/terminal-app-theme.ts @@ -1,31 +1,22 @@ -import type { ITheme } from '@xterm/xterm' -import type { GlobalSettings } from '../../../shared/global-settings-types' -import { - completePluginAppThemeTokens, - type PluginThemeTokenColorRule -} from '../../../shared/plugins/artifacts/plugin-theme-artifact' -import { pluginAppThemeCssFallback } from '../../../shared/plugins/artifacts/plugin-theme-css-fallbacks' -import { MATCH_TERMINAL_APP_THEME } from '../../../shared/plugin-theme-settings' -import { - resolveTerminalPalette, - type TerminalPaletteSettings as TerminalAppThemeSettings -} from '../../../shared/terminal-themes/terminal-theme-selection' -import type { AppThemePaint } from './document-theme' -import { hashThemeContent } from './plugin-monaco-theme' -import type { ColorProbe } from './plugin-theme-tokens' -import { - contrastRatio, - mix, - readableOn, - rgbaToHex, - type Rgba -} from '../../../shared/color/rgba-contrast' -import { getSystemPrefersDark } from './terminal-theme' +import { completePluginAppThemeTokens } from '../../../../shared/plugins/artifacts/plugin-theme-artifact' +import type { PluginThemeTokenColorRule } from '../../../../shared/plugins/artifacts/plugin-theme-artifact' +import { pluginAppThemeCssFallback } from '../../../../shared/plugins/artifacts/plugin-theme-css-fallbacks' +import { MATCH_TERMINAL_APP_THEME } from '../../../../shared/plugin-theme-settings' +import { resolveTerminalPalette } from '../../../../shared/terminal-themes/terminal-theme-selection' +import type { TerminalPaletteSettings as TerminalAppThemeSettings } from '../../../../shared/terminal-themes/terminal-theme-selection' +import { hashThemeContent } from '../../lib/editor/appearance/plugin-monaco-theme' +import { contrastRatio, mix, readableOn, rgbaToHex } from '../../../../shared/color/rgba-contrast' +import type { Rgba } from '../../../../shared/color/rgba-contrast' +import { getSystemPrefersDark } from '../../lib/terminal/appearance/terminal-theme' import { isTerminalBackgroundLight, resolveOpaqueTerminalBackground -} from '../../../shared/terminal-themes/terminal-title-contrast' -import { terminalPaletteRgba } from '../../../shared/terminal-themes/terminal-palette-rgba' +} from '../../../../shared/terminal-themes/terminal-title-contrast' +import { terminalPaletteRgba } from '../../../../shared/terminal-themes/terminal-palette-rgba' +import type { ITheme } from '@xterm/xterm' +import type { GlobalSettings } from '../../../../shared/global-settings-types' +import type { AppThemePaint } from './document-theme' +import type { ColorProbe } from './plugin-theme-tokens' export type TerminalAppTheme = AppThemePaint & { id: typeof MATCH_TERMINAL_APP_THEME diff --git a/src/renderer/src/lib/theme-background-video.ts b/src/renderer/src/app-shell/appearance/theme-background-video.ts similarity index 94% rename from src/renderer/src/lib/theme-background-video.ts rename to src/renderer/src/app-shell/appearance/theme-background-video.ts index 48f2cfdca6e..a363f37c735 100644 --- a/src/renderer/src/lib/theme-background-video.ts +++ b/src/renderer/src/app-shell/appearance/theme-background-video.ts @@ -1,5 +1,5 @@ -import type { PluginThemeBackground } from '../../../shared/plugins/artifacts/plugin-theme-background' -import { PLUGIN_THEME_VIDEO_RULE } from '../../../shared/plugins/media/plugin-theme-video-rules' +import type { PluginThemeBackground } from '../../../../shared/plugins/artifacts/plugin-theme-background' +import { PLUGIN_THEME_VIDEO_RULE } from '../../../../shared/plugins/media/plugin-theme-video-rules' const LAYER_CLASS = 'theme-background-video' const OVERLAY_ATTRIBUTES = ['data-modal-overlay-open', 'data-onboarding-overlay-open'] diff --git a/src/renderer/src/lib/theme-background.ts b/src/renderer/src/app-shell/appearance/theme-background.ts similarity index 95% rename from src/renderer/src/lib/theme-background.ts rename to src/renderer/src/app-shell/appearance/theme-background.ts index 5d67bcdfa29..4214b66d343 100644 --- a/src/renderer/src/lib/theme-background.ts +++ b/src/renderer/src/app-shell/appearance/theme-background.ts @@ -1,4 +1,4 @@ -import type { PluginThemeBackground } from '../../../shared/plugins/artifacts/plugin-theme-background' +import type { PluginThemeBackground } from '../../../../shared/plugins/artifacts/plugin-theme-background' import { useThemeBackgroundStore } from '@/store/appearance/theme-background' import { syncWindowMaterialWithThemeBackground } from './window-material-runtime' diff --git a/src/renderer/src/lib/window-backdrop.ts b/src/renderer/src/app-shell/appearance/window-backdrop.ts similarity index 100% rename from src/renderer/src/lib/window-backdrop.ts rename to src/renderer/src/app-shell/appearance/window-backdrop.ts diff --git a/src/renderer/src/lib/window-material-runtime.ts b/src/renderer/src/app-shell/appearance/window-material-runtime.ts similarity index 94% rename from src/renderer/src/lib/window-material-runtime.ts rename to src/renderer/src/app-shell/appearance/window-material-runtime.ts index 1164e74c200..26652aed987 100644 --- a/src/renderer/src/lib/window-material-runtime.ts +++ b/src/renderer/src/app-shell/appearance/window-material-runtime.ts @@ -1,5 +1,5 @@ -import type { WindowMaterial, WindowMaterialHost } from '../../../shared/window-material' -import { getRendererAppPlatform } from './renderer-app-platform' +import type { WindowMaterial, WindowMaterialHost } from '../../../../shared/window-material' +import { getRendererAppPlatform } from '../platform/renderer-app-platform' let material: WindowMaterial | undefined diff --git a/src/renderer/src/lib/desktop-window-chrome.ts b/src/renderer/src/app-shell/chrome/desktop-window-chrome.ts similarity index 100% rename from src/renderer/src/lib/desktop-window-chrome.ts rename to src/renderer/src/app-shell/chrome/desktop-window-chrome.ts diff --git a/src/renderer/src/lib/titlebar-left-chrome.ts b/src/renderer/src/app-shell/chrome/titlebar-left-chrome.ts similarity index 100% rename from src/renderer/src/lib/titlebar-left-chrome.ts rename to src/renderer/src/app-shell/chrome/titlebar-left-chrome.ts diff --git a/src/renderer/src/lib/titlebar-worktree-history-controls.ts b/src/renderer/src/app-shell/chrome/titlebar-worktree-history-controls.ts similarity index 100% rename from src/renderer/src/lib/titlebar-worktree-history-controls.ts rename to src/renderer/src/app-shell/chrome/titlebar-worktree-history-controls.ts diff --git a/src/renderer/src/lib/ui-zoom.ts b/src/renderer/src/app-shell/chrome/ui-zoom.ts similarity index 94% rename from src/renderer/src/lib/ui-zoom.ts rename to src/renderer/src/app-shell/chrome/ui-zoom.ts index 654e4476c39..d12e09fc1e0 100644 --- a/src/renderer/src/lib/ui-zoom.ts +++ b/src/renderer/src/app-shell/chrome/ui-zoom.ts @@ -1,4 +1,4 @@ -import { uiZoomFactorFromLevel } from '../../../shared/ui-zoom-level' +import { uiZoomFactorFromLevel } from '../../../../shared/ui-zoom-level' const isMac = navigator.userAgent.includes('Mac') diff --git a/src/renderer/src/lib/zoom-events.ts b/src/renderer/src/app-shell/chrome/zoom-events.ts similarity index 100% rename from src/renderer/src/lib/zoom-events.ts rename to src/renderer/src/app-shell/chrome/zoom-events.ts diff --git a/src/renderer/src/lib/client-environment-info.ts b/src/renderer/src/app-shell/platform/client-environment-info.ts similarity index 96% rename from src/renderer/src/lib/client-environment-info.ts rename to src/renderer/src/app-shell/platform/client-environment-info.ts index fda7a1a295b..3e4f5cef314 100644 --- a/src/renderer/src/lib/client-environment-info.ts +++ b/src/renderer/src/app-shell/platform/client-environment-info.ts @@ -1,7 +1,7 @@ import { formatClientEnvironmentFooter, type ClientEnvironmentInfo -} from '../../../shared/client-environment-info' +} from '../../../../shared/client-environment-info' import { getRendererAppPlatform } from './renderer-app-platform' export async function resolveClientEnvironmentInfo(): Promise { diff --git a/src/renderer/src/lib/ios-web-platform.ts b/src/renderer/src/app-shell/platform/ios-web-platform.ts similarity index 100% rename from src/renderer/src/lib/ios-web-platform.ts rename to src/renderer/src/app-shell/platform/ios-web-platform.ts diff --git a/src/renderer/src/lib/paired-web-client-host.ts b/src/renderer/src/app-shell/platform/paired-web-client-host.ts similarity index 91% rename from src/renderer/src/lib/paired-web-client-host.ts rename to src/renderer/src/app-shell/platform/paired-web-client-host.ts index 9b7a0bc8860..3a05d6b673c 100644 --- a/src/renderer/src/lib/paired-web-client-host.ts +++ b/src/renderer/src/app-shell/platform/paired-web-client-host.ts @@ -2,8 +2,8 @@ import { parseExecutionHostId, toRuntimeExecutionHostId, type ExecutionHostId -} from '../../../shared/execution-host' -import { isPairedWebClientWindow } from './desktop-window-chrome' +} from '../../../../shared/execution-host' +import { isPairedWebClientWindow } from '../chrome/desktop-window-chrome' type HostRouteState = { runtimeEnvironments?: readonly { id: string }[] } diff --git a/src/renderer/src/lib/passive-macos-app-data-access.ts b/src/renderer/src/app-shell/platform/passive-macos-app-data-access.ts similarity index 97% rename from src/renderer/src/lib/passive-macos-app-data-access.ts rename to src/renderer/src/app-shell/platform/passive-macos-app-data-access.ts index 03f636fbeec..5c0bf9dfa50 100644 --- a/src/renderer/src/lib/passive-macos-app-data-access.ts +++ b/src/renderer/src/app-shell/platform/passive-macos-app-data-access.ts @@ -1,7 +1,7 @@ import type { ActiveRightSidebarTab, RightSidebarExplorerView -} from '../../../shared/ui-chrome-types' +} from '../../../../shared/ui-chrome-types' import type { OpenFile } from '@/store/slices/editor/types/open-file' const MAC_APP_DATA_SEGMENT_RE = /(^|\/)Library\/(Containers|Group Containers)\// diff --git a/src/renderer/src/lib/renderer-app-platform.ts b/src/renderer/src/app-shell/platform/renderer-app-platform.ts similarity index 100% rename from src/renderer/src/lib/renderer-app-platform.ts rename to src/renderer/src/app-shell/platform/renderer-app-platform.ts diff --git a/src/renderer/src/lib/user-agent-platform.ts b/src/renderer/src/app-shell/platform/user-agent-platform.ts similarity index 100% rename from src/renderer/src/lib/user-agent-platform.ts rename to src/renderer/src/app-shell/platform/user-agent-platform.ts diff --git a/src/renderer/src/lib/web-client-location.ts b/src/renderer/src/app-shell/platform/web-client-location.ts similarity index 100% rename from src/renderer/src/lib/web-client-location.ts rename to src/renderer/src/app-shell/platform/web-client-location.ts diff --git a/src/renderer/src/app-shell/plugin-settings-shortcut-handler.ts b/src/renderer/src/app-shell/plugin-settings-shortcut-handler.ts index 6892d4d237a..27b4a41b13d 100644 --- a/src/renderer/src/app-shell/plugin-settings-shortcut-handler.ts +++ b/src/renderer/src/app-shell/plugin-settings-shortcut-handler.ts @@ -1,4 +1,4 @@ -import { isPairedWebClientWindow } from '@/lib/desktop-window-chrome' +import { isPairedWebClientWindow } from '@/app-shell/chrome/desktop-window-chrome' import { isEditableTarget, isNativeChatPromptTarget } from '@/lib/text-input/focus/editable-target' export function createPluginsSettingsShortcutHandler( diff --git a/src/renderer/src/app-shell/shutdown-checkpoint-persist.ts b/src/renderer/src/app-shell/shutdown-checkpoint-persist.ts index 7865c4ab8a9..fc68ea42f6f 100644 --- a/src/renderer/src/app-shell/shutdown-checkpoint-persist.ts +++ b/src/renderer/src/app-shell/shutdown-checkpoint-persist.ts @@ -1,7 +1,7 @@ import type { PersistedUIState } from '../../../shared/persisted-ui-state-types' import { formatShutdownCheckpointFailureReason } from '../../../shared/renderer-shutdown-events' import type { WorkspaceSessionHostSnapshot } from '../lib/workspace/persistence/workspace-session-host-persistence' -import { recordRendererCrashBreadcrumb } from '../lib/crash-breadcrumb-recorder' +import { recordRendererCrashBreadcrumb } from '../diagnostics/crash-reporting/crash-breadcrumb-recorder' export type ShutdownCheckpointStageArgs = { sessions: WorkspaceSessionHostSnapshot[] diff --git a/src/renderer/src/app-shell/shutdown-checkpoint-restart-lifecycle.test.ts b/src/renderer/src/app-shell/shutdown-checkpoint-restart-lifecycle.test.ts deleted file mode 100644 index 1632187546b..00000000000 --- a/src/renderer/src/app-shell/shutdown-checkpoint-restart-lifecycle.test.ts +++ /dev/null @@ -1,142 +0,0 @@ -// @vitest-environment happy-dom -import { afterEach, describe, expect, it, vi } from 'vitest' -import { - ORCA_APP_RESTART_ABORTED_EVENT, - ORCA_APP_RESTART_STARTED_EVENT, - ORCA_UPDATER_QUIT_AND_INSTALL_ABORTED_EVENT, - ORCA_UPDATER_QUIT_AND_INSTALL_STARTED_EVENT -} from '../../../shared/updater-renderer-events' -import { - ORCA_RENDERER_SHUTDOWN_CHECKPOINT_ABORTED_EVENT, - ORCA_RENDERER_UNLOAD_PREVENTED_EVENT -} from '../../../shared/renderer-shutdown-events' -import { prepareRendererForAppRestart } from '../../../shared/renderer-restart-preparation' -import { - createShutdownCheckpointBeforeUnloadHandler, - createShutdownCheckpointGuard -} from '../lib/shutdown-checkpoint-guard' -import { - isIntentionalAppRestartInProgress, - registerUpdaterBeforeUnloadBypass -} from '../lib/updater-beforeunload' -import { - createShutdownCheckpointPersist, - type ShutdownCheckpointPersistDeps -} from './shutdown-checkpoint-persist' - -type LifecycleHarness = { - cleanup: () => void - prepare: () => Promise - stageBeforeUnloadSync: ReturnType -} - -type LifecycleHarnessOverrides = Partial< - Pick -> - -function createLifecycleHarness( - startedEventName: string, - abortedEventName: string, - overrides: LifecycleHarnessOverrides = {} -): LifecycleHarness { - const stageBeforeUnloadSync = vi.fn((args: { sessions: unknown[] }) => { - if (args.sessions.length > 0) { - throw new Error('deterministic full-stage failure') - } - }) - const persist = createShutdownCheckpointPersist({ - shouldCaptureSession: () => true, - captureTerminalBuffers: vi.fn(), - captureSleepingAgentSessions: vi.fn(), - buildSessionSnapshots: () => [{ state: { activeTabId: 't1' } }] as never, - buildUiPatch: () => ({ activeView: 'workspace' }) as never, - hasDirtyOpenFiles: () => false, - isDegradableShutdownInProgress: isIntentionalAppRestartInProgress, - stageBeforeUnloadSync, - ...overrides - }) - const guard = createShutdownCheckpointGuard(persist.run, persist.abandonAttempt) - const checkpoint = createShutdownCheckpointBeforeUnloadHandler(guard) - const cleanupRestartTracking = registerUpdaterBeforeUnloadBypass() - window.addEventListener('beforeunload', checkpoint) - window.addEventListener( - ORCA_RENDERER_SHUTDOWN_CHECKPOINT_ABORTED_EVENT, - guard.abortAfterCheckpointFailure - ) - window.addEventListener(abortedEventName, guard.abandonAttempt) - window.addEventListener(ORCA_RENDERER_UNLOAD_PREVENTED_EVENT, guard.abandonAttempt) - return { - stageBeforeUnloadSync, - prepare: () => - prepareRendererForAppRestart(window, { - startedEventName, - abortedEventName, - awaitCheckpoint: () => Promise.resolve() - }), - cleanup: () => { - cleanupRestartTracking() - window.removeEventListener('beforeunload', checkpoint) - window.removeEventListener( - ORCA_RENDERER_SHUTDOWN_CHECKPOINT_ABORTED_EVENT, - guard.abortAfterCheckpointFailure - ) - window.removeEventListener(abortedEventName, guard.abandonAttempt) - window.removeEventListener(ORCA_RENDERER_UNLOAD_PREVENTED_EVENT, guard.abandonAttempt) - } - } -} - -describe('shutdown checkpoint restart lifecycle', () => { - const cleanupFns: (() => void)[] = [] - - afterEach(() => { - cleanupFns.splice(0).forEach((cleanup) => cleanup()) - vi.restoreAllMocks() - }) - - it.each([ - { - lifecycle: 'app restart', - startedEventName: ORCA_APP_RESTART_STARTED_EVENT, - abortedEventName: ORCA_APP_RESTART_ABORTED_EVENT - }, - { - lifecycle: 'updater install', - startedEventName: ORCA_UPDATER_QUIT_AND_INSTALL_STARTED_EVENT, - abortedEventName: ORCA_UPDATER_QUIT_AND_INSTALL_ABORTED_EVENT - } - ])( - 'preserves retry-then-degrade across a checkpoint-caused $lifecycle abort', - async ({ startedEventName, abortedEventName }) => { - vi.spyOn(console, 'error').mockImplementation(() => {}) - const harness = createLifecycleHarness(startedEventName, abortedEventName) - cleanupFns.push(harness.cleanup) - - await expect(harness.prepare()).rejects.toThrow('deterministic full-stage failure') - expect(isIntentionalAppRestartInProgress()).toBe(false) - await expect(harness.prepare()).resolves.toBeUndefined() - - expect(harness.stageBeforeUnloadSync).toHaveBeenCalledTimes(3) - expect(harness.stageBeforeUnloadSync).toHaveBeenLastCalledWith({ - sessions: [], - ui: { activeView: 'workspace' } - }) - } - ) - - it('abandons retry state when a later restart attempt is independently canceled', async () => { - vi.spyOn(console, 'error').mockImplementation(() => {}) - const harness = createLifecycleHarness( - ORCA_APP_RESTART_STARTED_EVENT, - ORCA_APP_RESTART_ABORTED_EVENT - ) - cleanupFns.push(harness.cleanup) - - await expect(harness.prepare()).rejects.toThrow('deterministic full-stage failure') - window.dispatchEvent(new Event(ORCA_APP_RESTART_STARTED_EVENT)) - window.dispatchEvent(new Event(ORCA_APP_RESTART_ABORTED_EVENT)) - await expect(harness.prepare()).rejects.toThrow('deterministic full-stage failure') - - expect(harness.stageBeforeUnloadSync).toHaveBeenCalledTimes(2) - }) -}) diff --git a/src/renderer/src/lib/shutdown-checkpoint-failure-toast.ts b/src/renderer/src/app-shell/shutdown/shutdown-checkpoint-failure-toast.ts similarity index 95% rename from src/renderer/src/lib/shutdown-checkpoint-failure-toast.ts rename to src/renderer/src/app-shell/shutdown/shutdown-checkpoint-failure-toast.ts index 155389f7b4e..8f08f58b14d 100644 --- a/src/renderer/src/lib/shutdown-checkpoint-failure-toast.ts +++ b/src/renderer/src/app-shell/shutdown/shutdown-checkpoint-failure-toast.ts @@ -1,6 +1,6 @@ import { toast } from 'sonner' import { translate } from '@/i18n/i18n' -import { consumeShutdownCheckpointFailureReason } from '../../../shared/renderer-shutdown-events' +import { consumeShutdownCheckpointFailureReason } from '../../../../shared/renderer-shutdown-events' export function showShutdownCheckpointFailureToast( canceledAction: 'quit' | 'reload' = 'quit' diff --git a/src/renderer/src/lib/shutdown-checkpoint-guard.ts b/src/renderer/src/app-shell/shutdown/shutdown-checkpoint-guard.ts similarity index 93% rename from src/renderer/src/lib/shutdown-checkpoint-guard.ts rename to src/renderer/src/app-shell/shutdown/shutdown-checkpoint-guard.ts index 74c7be22ce3..37eff4da062 100644 --- a/src/renderer/src/lib/shutdown-checkpoint-guard.ts +++ b/src/renderer/src/app-shell/shutdown/shutdown-checkpoint-guard.ts @@ -4,8 +4,8 @@ import { ORCA_RENDERER_SHUTDOWN_CHECKPOINT_FAILED_EVENT, ORCA_RENDERER_UNLOAD_PREVENTED_EVENT, publishShutdownCheckpointFailureReason -} from '../../../shared/renderer-shutdown-events' -import { recordRendererCrashBreadcrumb } from './crash-breadcrumb-recorder' +} from '../../../../shared/renderer-shutdown-events' +import { recordRendererCrashBreadcrumb } from '../../diagnostics/crash-reporting/crash-breadcrumb-recorder' export type ShutdownCheckpointGuard = { persistOnce: () => boolean diff --git a/src/renderer/src/app-shell/startup/active-view-persist.ts b/src/renderer/src/app-shell/startup/active-view-persist.ts new file mode 100644 index 00000000000..75c86f571ce --- /dev/null +++ b/src/renderer/src/app-shell/startup/active-view-persist.ts @@ -0,0 +1,14 @@ +import type { PersistedUIState } from '../../../../shared/persisted-ui-state-types' +import type { TopLevelView } from '../../../../shared/ui-chrome-types' + +type ActiveViewUnloadState = { + activeView: TopLevelView + persistedUIReady: boolean +} + +export function buildActiveViewUnloadPatch( + state: ActiveViewUnloadState +): Partial { + // Startup unload must not replace the saved view with defaults before hydration. + return state.persistedUIReady ? { activeView: state.activeView } : {} +} diff --git a/src/renderer/src/lib/e2e-config.ts b/src/renderer/src/app-shell/startup/e2e-config.ts similarity index 94% rename from src/renderer/src/lib/e2e-config.ts rename to src/renderer/src/app-shell/startup/e2e-config.ts index 15d19bbced2..fd0b1769bba 100644 --- a/src/renderer/src/lib/e2e-config.ts +++ b/src/renderer/src/app-shell/startup/e2e-config.ts @@ -1,4 +1,4 @@ -import { createE2EConfig } from '../../../shared/e2e-config' +import { createE2EConfig } from '../../../../shared/e2e-config' const rendererE2EExposeStore = String(import.meta.env.VITE_EXPOSE_STORE) === 'true' // The paired API installs after module initialization; read the build-gated test URL before caching configuration. diff --git a/src/renderer/src/lib/lazy-chunk-recovery-reload.ts b/src/renderer/src/app-shell/startup/lazy-chunk-recovery-reload.ts similarity index 91% rename from src/renderer/src/lib/lazy-chunk-recovery-reload.ts rename to src/renderer/src/app-shell/startup/lazy-chunk-recovery-reload.ts index 64e78fc283a..52984e70057 100644 --- a/src/renderer/src/lib/lazy-chunk-recovery-reload.ts +++ b/src/renderer/src/app-shell/startup/lazy-chunk-recovery-reload.ts @@ -1,9 +1,9 @@ -import { prepareRendererForAppRestart } from '../../../shared/renderer-restart-preparation' -import { ORCA_RENDERER_UNLOAD_PREVENTED_EVENT } from '../../../shared/renderer-shutdown-events' +import { prepareRendererForAppRestart } from '../../../../shared/renderer-restart-preparation' +import { ORCA_RENDERER_UNLOAD_PREVENTED_EVENT } from '../../../../shared/renderer-shutdown-events' import { ORCA_APP_RESTART_ABORTED_EVENT, ORCA_APP_RESTART_STARTED_EVENT -} from '../../../shared/updater-renderer-events' +} from '../../../../shared/updater-renderer-events' // Bare reloads are vetoed by dirty tabs; restart preparation backs them up first. diff --git a/src/renderer/src/lib/lazy-with-retry.ts b/src/renderer/src/app-shell/startup/lazy-with-retry.ts similarity index 100% rename from src/renderer/src/lib/lazy-with-retry.ts rename to src/renderer/src/app-shell/startup/lazy-with-retry.ts diff --git a/src/renderer/src/lib/react-renderer-root.ts b/src/renderer/src/app-shell/startup/react-renderer-root.ts similarity index 100% rename from src/renderer/src/lib/react-renderer-root.ts rename to src/renderer/src/app-shell/startup/react-renderer-root.ts diff --git a/src/renderer/src/lib/startup-ui-hydration.ts b/src/renderer/src/app-shell/startup/startup-ui-hydration.ts similarity index 93% rename from src/renderer/src/lib/startup-ui-hydration.ts rename to src/renderer/src/app-shell/startup/startup-ui-hydration.ts index 894ab91c162..fcf00d29c53 100644 --- a/src/renderer/src/lib/startup-ui-hydration.ts +++ b/src/renderer/src/app-shell/startup/startup-ui-hydration.ts @@ -5,8 +5,8 @@ import { DEFAULT_SHOW_SLEEPING_WORKSPACES, DEFAULT_STATUS_BAR_ITEMS, DEFAULT_WORKTREE_CARD_PROPERTIES -} from '../../../shared/constants' -import type { PersistedUIState } from '../../../shared/persisted-ui-state-types' +} from '../../../../shared/constants' +import type { PersistedUIState } from '../../../../shared/persisted-ui-state-types' export function hydratePersistedUIAfterStartupRead({ persistedUI, @@ -43,6 +43,7 @@ export function getStartupErrorFallbackUI(uiHydrated: boolean): PersistedUIState rightSidebarTab: 'explorer', rightSidebarExplorerView: 'files', rightSidebarWidth: 350, + activityBarPosition: 'top', markdownTocPanelWidth: 240, combinedDiffFileTreeWidth: 256, groupBy: 'repo', diff --git a/src/renderer/src/lib/indexeddb-connection.ts b/src/renderer/src/app-shell/storage/indexeddb-connection.ts similarity index 100% rename from src/renderer/src/lib/indexeddb-connection.ts rename to src/renderer/src/app-shell/storage/indexeddb-connection.ts diff --git a/src/renderer/src/app-shell/updates/update-check-click-options.ts b/src/renderer/src/app-shell/updates/update-check-click-options.ts new file mode 100644 index 00000000000..a8fbca696dc --- /dev/null +++ b/src/renderer/src/app-shell/updates/update-check-click-options.ts @@ -0,0 +1,36 @@ +import type { UpdateCheckOptions } from '../../../../shared/update-status-types' +import { translate } from '@/i18n/i18n' +import { getShortcutPlatform } from '../../lib/keyboard/shortcut-platform' + +type UpdateCheckClickEvent = Pick + +function isMacShortcutPlatform(): boolean { + return getShortcutPlatform() === 'darwin' +} + +export function getUpdateCheckHint(isMac = isMacShortcutPlatform()): string { + const releaseHints = translate( + 'auto.lib.updateCheckClickOptions.releaseHint', + '{{rcKey}}+click checks the latest RC; {{perfKey}}+click checks the latest perf build.', + { rcKey: isMac ? '⇧' : 'Shift', perfKey: isMac ? '⌘' : 'Ctrl' } + ) + return isMac + ? `${releaseHints} ${translate( + 'auto.lib.updateCheckClickOptions.localMacBuildHint', + '⌥+click chooses a local macOS build.' + )}` + : releaseHints +} + +export function getUpdateCheckClickOptions( + event: UpdateCheckClickEvent, + isMac = isMacShortcutPlatform() +): UpdateCheckOptions { + if (isMac && event.altKey) { + return { localBuild: true } + } + return { + includePrerelease: event.shiftKey, + includePerfPrerelease: isMac ? event.metaKey : event.ctrlKey + } +} diff --git a/src/renderer/src/lib/updater-beforeunload.ts b/src/renderer/src/app-shell/updates/updater-beforeunload.ts similarity index 89% rename from src/renderer/src/lib/updater-beforeunload.ts rename to src/renderer/src/app-shell/updates/updater-beforeunload.ts index 42f3e72587b..d728bf22506 100644 --- a/src/renderer/src/lib/updater-beforeunload.ts +++ b/src/renderer/src/app-shell/updates/updater-beforeunload.ts @@ -3,15 +3,11 @@ import { ORCA_APP_RESTART_STARTED_EVENT, ORCA_UPDATER_QUIT_AND_INSTALL_ABORTED_EVENT, ORCA_UPDATER_QUIT_AND_INSTALL_STARTED_EVENT -} from '../../../shared/updater-renderer-events' -import { ORCA_RENDERER_SHUTDOWN_CHECKPOINT_ABORTED_EVENT } from '../../../shared/renderer-shutdown-events' +} from '../../../../shared/updater-renderer-events' +import { ORCA_RENDERER_SHUTDOWN_CHECKPOINT_ABORTED_EVENT } from '../../../../shared/renderer-shutdown-events' let intentionalAppRestartInProgress = false -export function isUpdaterQuitAndInstallInProgress(): boolean { - return isIntentionalAppRestartInProgress() -} - export function isIntentionalAppRestartInProgress(): boolean { return intentionalAppRestartInProgress } diff --git a/src/renderer/src/app-shell/updates/updater-message-copy.ts b/src/renderer/src/app-shell/updates/updater-message-copy.ts new file mode 100644 index 00000000000..7d1cca61568 --- /dev/null +++ b/src/renderer/src/app-shell/updates/updater-message-copy.ts @@ -0,0 +1,222 @@ +import { translate } from '@/i18n/i18n' +import type { LinuxPackageCommandUnavailableReason } from '../../../../shared/update-status-types' +import { + UPDATER_FAILURE_COPY, + type UpdaterFailureCode +} from '../../../../shared/updater-failure-copy' + +type Param = (name: string) => string | null +type CountParam = (name: string) => number | null + +// null = required params missing; caller shows the host's English message. +const COPY: Record string | null> = { + releaseNotReady: () => + translate('updates.failure.releaseNotReady', UPDATER_FAILURE_COPY.releaseNotReady), + updateServerUnreachable: () => + translate( + 'updates.failure.updateServerUnreachable', + UPDATER_FAILURE_COPY.updateServerUnreachable + ), + channelUnsupportedPlatform: (param) => { + const channel = param('channel') + return channel === null + ? null + : translate( + 'updates.failure.channelUnsupportedPlatform', + UPDATER_FAILURE_COPY.channelUnsupportedPlatform, + { + channel + } + ) + }, + unsignedDevChannel: (param) => { + const channel = param('channel') + return channel === null + ? null + : translate('updates.failure.unsignedDevChannel', UPDATER_FAILURE_COPY.unsignedDevChannel, { + channel + }) + }, + linuxPackageMissing: () => + translate('updates.failure.linuxPackageMissing', UPDATER_FAILURE_COPY.linuxPackageMissing), + linuxPackageNotRegular: () => + translate( + 'updates.failure.linuxPackageNotRegular', + UPDATER_FAILURE_COPY.linuxPackageNotRegular + ), + linuxPackageHashMismatch: () => + translate( + 'updates.failure.linuxPackageHashMismatch', + UPDATER_FAILURE_COPY.linuxPackageHashMismatch + ), + linuxPackageReadFailed: () => + translate( + 'updates.failure.linuxPackageReadFailed', + UPDATER_FAILURE_COPY.linuxPackageReadFailed + ), + linuxPackageNoSudo: () => + translate('updates.failure.linuxPackageNoSudo', UPDATER_FAILURE_COPY.linuxPackageNoSudo), + linuxPackageNoPackageManager: () => + translate( + 'updates.failure.linuxPackageNoPackageManager', + UPDATER_FAILURE_COPY.linuxPackageNoPackageManager + ), + linuxPackageInvalidPath: () => + translate( + 'updates.failure.linuxPackageInvalidPath', + UPDATER_FAILURE_COPY.linuxPackageInvalidPath + ), + linuxPackageMarkerUnusable: () => + translate( + 'updates.failure.linuxPackageMarkerUnusable', + UPDATER_FAILURE_COPY.linuxPackageMarkerUnusable + ), + linuxPackageExternallyManaged: () => + translate( + 'updates.failure.linuxPackageExternallyManaged', + UPDATER_FAILURE_COPY.linuxPackageExternallyManaged + ), + linuxPackageManualInstall: () => + translate( + 'updates.failure.linuxPackageManualInstall', + UPDATER_FAILURE_COPY.linuxPackageManualInstall + ), + linuxPackageMetadataUnusable: () => + translate( + 'updates.failure.linuxPackageMetadataUnusable', + UPDATER_FAILURE_COPY.linuxPackageMetadataUnusable + ), + unknownReleaseChannel: (param) => { + const channel = param('channel') + return channel === null + ? null + : translate( + 'updates.failure.unknownReleaseChannel', + UPDATER_FAILURE_COPY.unknownReleaseChannel, + { channel } + ) + }, + invalidReleaseTag: (param) => { + const tag = param('tag') + return tag === null + ? null + : translate('updates.failure.invalidReleaseTag', UPDATER_FAILURE_COPY.invalidReleaseTag, { + tag + }) + }, + releaseRepoNotFound: (param) => { + const repo = param('repo') + return repo === null + ? null + : translate('updates.failure.releaseRepoNotFound', UPDATER_FAILURE_COPY.releaseRepoNotFound, { + repo + }) + }, + releaseListFailed: (param, count) => { + const channel = param('channel') + const status = count('status') + return channel === null || status === null + ? null + : translate('updates.failure.releaseListFailed', UPDATER_FAILURE_COPY.releaseListFailed, { + channel, + status + }) + }, + releaseListUnreadable: (param) => { + const channel = param('channel') + return channel === null + ? null + : translate( + 'updates.failure.releaseListUnreadable', + UPDATER_FAILURE_COPY.releaseListUnreadable, + { channel } + ) + }, + rateLimitedSoon: () => + translate('updates.failure.rateLimitedSoon', UPDATER_FAILURE_COPY.rateLimitedSoon), + rateLimitedSoonSignedOut: () => + translate( + 'updates.failure.rateLimitedSoonSignedOut', + UPDATER_FAILURE_COPY.rateLimitedSoonSignedOut + ), + rateLimitedInMinute: () => + translate('updates.failure.rateLimitedInMinute', UPDATER_FAILURE_COPY.rateLimitedInMinute), + rateLimitedInMinuteSignedOut: () => + translate( + 'updates.failure.rateLimitedInMinuteSignedOut', + UPDATER_FAILURE_COPY.rateLimitedInMinuteSignedOut + ), + rateLimitedInMinutes: (_param, count) => { + const minutes = count('count') + return minutes === null + ? null + : translate( + 'updates.failure.rateLimitedInMinutes', + UPDATER_FAILURE_COPY.rateLimitedInMinutes, + { + count: minutes, + defaultValue_one: 'GitHub rate limit reached. Try again in about {{count}} minute.' + } + ) + }, + rateLimitedInMinutesSignedOut: (_param, count) => { + const minutes = count('count') + return minutes === null + ? null + : translate( + 'updates.failure.rateLimitedInMinutesSignedOut', + UPDATER_FAILURE_COPY.rateLimitedInMinutesSignedOut, + { + count: minutes, + defaultValue_one: + "GitHub rate limit reached. Try again in about {{count}} minute, or run `gh auth login` so Orca can use your account's higher limit." + } + ) + } +} + +const COMMAND_UNAVAILABLE_CODES: Record = + { + 'no-sudo': 'linuxPackageNoSudo', + 'no-package-manager': 'linuxPackageNoPackageManager' + } + +function isUpdaterFailureCode(code: unknown): code is UpdaterFailureCode { + return typeof code === 'string' && Object.hasOwn(COPY, code) +} + +function codedText(code: unknown, params: unknown): string | null { + if (!isUpdaterFailureCode(code)) { + return null + } + const values: Record = + typeof params === 'object' && params !== null ? Object.fromEntries(Object.entries(params)) : {} + return COPY[code]( + (name) => (typeof values[name] === 'string' ? values[name] : null), + (name) => (typeof values[name] === 'number' ? values[name] : null) + ) +} + +/** Updater message text: known codes translate; unknown codes and older hosts keep the English message. */ +export function updaterMessageText(source: { + message: string + messageCode?: unknown + messageParams?: unknown +}): string { + return codedText(source.messageCode, source.messageParams) ?? source.message +} + +/** The install-instructions result already names its reason; unknown reasons keep main's English. */ +export function linuxPackageCommandUnavailableText(instructions: { + reason: LinuxPackageCommandUnavailableReason + message: string +}): string { + return ( + codedText( + Object.hasOwn(COMMAND_UNAVAILABLE_CODES, instructions.reason) + ? COMMAND_UNAVAILABLE_CODES[instructions.reason] + : undefined, + undefined + ) ?? instructions.message + ) +} diff --git a/src/renderer/src/app-shell/use-app-chrome-layout.ts b/src/renderer/src/app-shell/use-app-chrome-layout.ts index f362353e239..a01341d6f6b 100644 --- a/src/renderer/src/app-shell/use-app-chrome-layout.ts +++ b/src/renderer/src/app-shell/use-app-chrome-layout.ts @@ -1,11 +1,11 @@ import { useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from 'react' import { useShallow } from 'zustand/react/shallow' import { SYNC_FIT_PANES_EVENT } from '@/constants/terminal' -import { canShowRightSidebarForView } from '@/lib/right-sidebar-visibility' -import { resolveLeftSidebarStyleVariables } from '@/lib/left-sidebar-appearance' -import { resolveLeftTitlebarChromeLayout } from '@/lib/titlebar-left-chrome' +import { canShowRightSidebarForView } from '@/components/right-sidebar/visibility/right-sidebar-visibility' +import { resolveLeftSidebarStyleVariables } from '@/app-shell/appearance/left-sidebar-appearance' +import { resolveLeftTitlebarChromeLayout } from '@/app-shell/chrome/titlebar-left-chrome' import { selectWorktreeCreationSurfaceShown } from '@/lib/workspace/creation/worktree-creation-surface' -import { useAppStore } from '../store' +import { useAppStore } from '../store/index' import { FLOATING_TERMINAL_WORKTREE_ID } from '../../../shared/constants' import { selectActiveTerminalChromeState } from './active-terminal-chrome-selector' import { diff --git a/src/renderer/src/app-shell/use-app-session-persistence.ts b/src/renderer/src/app-shell/use-app-session-persistence.ts index d420f4a0093..fce1c24e754 100644 --- a/src/renderer/src/app-shell/use-app-session-persistence.ts +++ b/src/renderer/src/app-shell/use-app-session-persistence.ts @@ -1,12 +1,12 @@ import { useEffect } from 'react' -import { useAppStore } from '../store' +import { useAppStore } from '../store/index' import { ORCA_LAYOUT_OWNER_IS_MAIN } from '../../../shared/layout-owner-switch' import { createSessionWriteSubscriber } from '../lib/workspace/persistence/session-write-subscriber' -import { buildActiveViewUnloadPatch } from '../lib/active-view-persist' +import { buildActiveViewUnloadPatch } from './startup/active-view-persist' import { isIntentionalAppRestartInProgress, registerUpdaterBeforeUnloadBypass -} from '../lib/updater-beforeunload' +} from './updates/updater-beforeunload' import { buildWorkspaceSessionPayload, shouldPersistWorkspaceSession @@ -18,9 +18,9 @@ import { import { createShutdownCheckpointBeforeUnloadHandler, createShutdownCheckpointGuard -} from '../lib/shutdown-checkpoint-guard' -import { showShutdownCheckpointFailureToast } from '../lib/shutdown-checkpoint-failure-toast' -import { isPairedWebClientWindow } from '../lib/desktop-window-chrome' +} from './shutdown/shutdown-checkpoint-guard' +import { showShutdownCheckpointFailureToast } from './shutdown/shutdown-checkpoint-failure-toast' +import { isPairedWebClientWindow } from './chrome/desktop-window-chrome' import { createShutdownCheckpointPersist } from './shutdown-checkpoint-persist' import { shutdownBufferCaptures } from '../components/terminal-pane/snapshots/shutdown-buffer-captures' import { diff --git a/src/renderer/src/app-shell/use-app-startup-hydration.ts b/src/renderer/src/app-shell/use-app-startup-hydration.ts index a8c203d9de5..5ee1e528e83 100644 --- a/src/renderer/src/app-shell/use-app-startup-hydration.ts +++ b/src/renderer/src/app-shell/use-app-startup-hydration.ts @@ -1,9 +1,9 @@ import { restoreStructuredLaunchSurfaces } from '@/lib/agent-session/launch/structured-agent-session-launch-surface' import { useEffect, useRef } from 'react' import { restoreLocalStructuredChatsAtStartup } from '@/runtime/native-chat/local-sessions/local-structured-chats' -import { syncZoomCSSVar } from '@/lib/ui-zoom' +import { syncZoomCSSVar } from '@/app-shell/chrome/ui-zoom' import { installCodexDetachedPaneRestartExecutor } from '@/components/terminal-pane/account-restart/detached/codex-detached-pane-restart-scheduler' -import { useAppStore } from '../store' +import { useAppStore } from '../store/index' import { reconcileHydratedWorkspaceTabModels } from './reconcile-hydrated-workspace-tab-models' import { useStartupActions } from './use-app-startup-actions' import { waitForNativeChatDraftsAtStartup } from './native-chat-draft-startup' @@ -14,7 +14,7 @@ import { collectFolderWorkspaceKeysFromSession, collectWorktreeHydrationRepoIdsFromSession } from '../lib/workspace/persistence/workspace-session-hydration-keys' -import { hydratePersistedUIAfterStartupRead } from '../lib/startup-ui-hydration' +import { hydratePersistedUIAfterStartupRead } from './startup/startup-ui-hydration' import { logRendererStartupDiagnostic, timeRendererStartupStep, @@ -24,7 +24,7 @@ import { recoverFromDegradedStartup } from '../startup/startup-degraded-recovery import { restoreSshConnectionsForStartup } from '../startup/startup-ssh-connection-restore' import { collectActiveWorkspaceSshTargetIds } from '../startup/active-workspace-ssh-targets' import { publishTerminalViewAttributesAtAppStart } from '../components/terminal-pane/appearance/terminal-appearance' -import { getSystemPrefersDark } from '../lib/terminal-theme' +import { getSystemPrefersDark } from '../lib/terminal/appearance/terminal-theme' import { collectTerminalProviderSnapshotPtyIds, refreshTerminalProviderSnapshotCapabilities @@ -40,12 +40,12 @@ import { listRuntimeSessionHostsForStartup } from './startup-runtime-session-hos import { mapWithConcurrency } from '../../../shared/map-with-concurrency' import { collectWslMovedWorkspaceKeysFromSession } from '../store/repos/wsl-moved-projects' import { wslMovedSessionReadApi } from '../store/repos/wsl-moved-local-session-rows' -import type { OnboardingState } from '../../../shared/onboarding-state-types' import { ensureLocalRuntimeCapabilities } from '../runtime/hosts/capabilities/local-runtime-capabilities' import { finishStartupWorktreeHydration, refreshStartupWorktrees } from '../startup/startup-worktree-refresh' +import type { OnboardingState } from '../../../shared/onboarding-state-types' /** Hydrate settings/UI/catalog/session, reconnect and restore terminals before unlocking saves. Failure boots in degraded no-save mode to protect disk state. */ export function useAppStartupHydration(onOnboardingLoaded: (state: OnboardingState) => void): void { @@ -274,7 +274,7 @@ export function useAppStartupHydration(onOnboardingLoaded: (state: OnboardingSta actions.reconnectPersistedTerminals(abortController.signal) ) await timeRendererStartupStep('recover-legacy-worker-terminals-post-reconnect', () => - window.api.app.recoverLegacyWorkerTerminalsForRendererStartup() + window.api.app.recoverLegacyWorkerTerminalsForRendererStartup({ afterReconnect: true }) ) await restoreLocalStructuredChatsAtStartup(useAppStore.getState().settings, (restore) => timeRendererStartupStep('project-structured-session-tabs', restore) diff --git a/src/renderer/src/app-shell/use-document-appearance.ts b/src/renderer/src/app-shell/use-document-appearance.ts index 53863ec5cfc..44ed5a220e7 100644 --- a/src/renderer/src/app-shell/use-document-appearance.ts +++ b/src/renderer/src/app-shell/use-document-appearance.ts @@ -1,13 +1,13 @@ import { useEffect, useMemo, useRef } from 'react' import { useShallow } from 'zustand/react/shallow' -import { buildAppFontFamily } from '@/lib/app-font-family' +import { buildAppFontFamily } from '@/app-shell/appearance/app-font-family' import { applyCodeFontSmoothing } from '@/lib/editor/appearance/code-font-smoothing' import { applyMarkdownCodeFontFamily } from '@/lib/editor/appearance/markdown-code-font' import { useSplitDividerSetting } from '@/hooks/use-split-divider-setting' import { rebuildAllTerminalWebglRenderers } from '@/lib/pane-manager/pane-manager-registry' -import { applyDocumentTheme, applyPluginAppTheme } from '../lib/document-theme' -import { applyThemeBackground } from '../lib/theme-background' -import { syncThemeBackgroundVideo } from '../lib/theme-background-video' +import { applyDocumentTheme, applyPluginAppTheme } from './appearance/document-theme' +import { applyThemeBackground } from './appearance/theme-background' +import { syncThemeBackgroundVideo } from './appearance/theme-background-video' import { usePrefersReducedMotion } from '../hooks/usePrefersReducedMotion' import { useWindowActive } from '../hooks/use-window-active' import { tolerantPluginThemeBackgroundRegistration } from '../../../shared/plugins/artifacts/plugin-theme-background' @@ -16,13 +16,13 @@ import { paintCodeEditorColors, resolveCodeEditorTheme } from '../lib/editor/appearance/code-editor-theme' -import { browserColorProbe } from '../lib/plugin-theme-tokens' +import { browserColorProbe } from './appearance/plugin-theme-tokens' import { TINTED_HOST_PILL_OUTLINE_MIX_TOKEN, tintedSidebarHostPillOutlineMix -} from '../lib/left-sidebar-appearance' +} from './appearance/left-sidebar-appearance' import { useCodeEditorThemeStore } from '../store/appearance/code-editor-theme' -import { synthesizeTerminalAppTheme, type TerminalAppTheme } from '../lib/terminal-app-theme' +import { synthesizeTerminalAppTheme, type TerminalAppTheme } from './appearance/terminal-app-theme' import { MATCH_TERMINAL_APP_THEME } from '../../../shared/plugin-theme-settings' import { usePluginAppThemeSync, @@ -99,6 +99,12 @@ export function useDocumentAppearance(): void { usePluginFontRegistration() const reduceEffects = useReduceVisualEffects(useAppStore((s) => s.settings?.reduceVisualEffects)) const surfaceOpacity = useAppStore((s) => s.settings?.terminalBackgroundOpacity ?? 1) + useEffect(() => { + document.documentElement.style.setProperty( + '--orca-window-surface-opacity', + String(surfaceOpacity) + ) + }, [surfaceOpacity]) // Why re-parse: the theme list keeps the registration as received, and a newer host may send // a background this build cannot paint; it must drop to no image, never reach CSS. const registeredBackground = pluginTheme?.background diff --git a/src/renderer/src/app-shell/use-floating-workspace-panel.ts b/src/renderer/src/app-shell/use-floating-workspace-panel.ts index 5287c6b836d..de720292670 100644 --- a/src/renderer/src/app-shell/use-floating-workspace-panel.ts +++ b/src/renderer/src/app-shell/use-floating-workspace-panel.ts @@ -9,8 +9,8 @@ import { import { TOGGLE_FLOATING_TERMINAL_EVENT, requestFloatingTerminalOpenMaximized -} from '@/lib/floating-terminal' -import { createFloatingWorkspaceTourInteractionSnapshot } from '@/lib/floating-workspace-tour-interaction-snapshot' +} from '@/components/floating-terminal/floating-terminal' +import { createFloatingWorkspaceTourInteractionSnapshot } from '@/components/floating-terminal/floating-workspace-tour-interaction-snapshot' import { persistFloatingTerminalPanelOpen } from '../components/floating-terminal/floating-terminal-panel-view-state' import { useAppStore } from '../store' import { selectFloatingVisibleTabCount } from '../store/workspaces/floating/floating-workspace-panel-selector' diff --git a/src/renderer/src/app-shell/use-global-keybindings.ts b/src/renderer/src/app-shell/use-global-keybindings.ts index ec2c0578ece..4ea218e6480 100644 --- a/src/renderer/src/app-shell/use-global-keybindings.ts +++ b/src/renderer/src/app-shell/use-global-keybindings.ts @@ -1,23 +1,23 @@ import { useEffect, useLayoutEffect, useRef } from 'react' import { toast } from 'sonner' import { translate } from '@/i18n/i18n' -import { canShowRightSidebarForView } from '@/lib/right-sidebar-visibility' -import { getSelectedTextForFileSearch } from '../lib/file-search-selection' +import { canShowRightSidebarForView } from '@/components/right-sidebar/visibility/right-sidebar-visibility' +import { getSelectedTextForFileSearch } from '../lib/files/search/file-search-selection' import { registerAppCommandDispatcher } from '@/lib/app-commands/app-command-dispatch' -import { executePluginCommand } from '@/lib/plugin-command-execution' -import { runBuiltInOrReplacement } from '@/lib/plugin-command-replacements' +import { executePluginCommand } from '@/lib/plugins/commands/plugin-command-execution' +import { runBuiltInOrReplacement } from '@/lib/plugins/commands/plugin-command-replacements' import { findPluginCommandForKeybinding, globalShortcutTargetYields -} from '@/lib/plugin-command-keybindings' -import { shouldMinimizeFloatingWorkspacePanelOnCloseShortcut } from '@/lib/floating-workspace-terminal-actions' -import { showTerminalShortcutCaptureNotification } from '@/lib/terminal-shortcut-capture-notification' +} from '@/lib/plugins/commands/plugin-command-keybindings' +import { shouldMinimizeFloatingWorkspacePanelOnCloseShortcut } from '@/components/floating-terminal/floating-workspace-terminal-actions' +import { showTerminalShortcutCaptureNotification } from '@/lib/notifications/terminal-shortcut-capture-notification' import { folderRelativePathToIncludeGlob, selectedExplorerFolderRelativePath } from '../components/right-sidebar/file-explorer/content-search/file-search-include-pattern' import { usePluginCommands } from '@/store/plugins/catalog/plugin-contribution-catalog' -import { useAppStore } from '../store' +import { useAppStore } from '../store/index' import { keybindingMatchesAction, type KeybindingActionId } from '../../../shared/keybindings' import { PLUGIN_COMMAND_ALIAS_ACTION_IDS } from '../../../shared/plugins/contributions/plugin-command-actions' import { diff --git a/src/renderer/src/app-shell/use-onboarding-and-feature-tips.ts b/src/renderer/src/app-shell/use-onboarding-and-feature-tips.ts index 3394b68510b..7f8ef1f0d9d 100644 --- a/src/renderer/src/app-shell/use-onboarding-and-feature-tips.ts +++ b/src/renderer/src/app-shell/use-onboarding-and-feature-tips.ts @@ -13,8 +13,8 @@ import { trackCmdJPaletteFeatureTipShown, trackOrcaCliFeatureTipShown } from '../components/feature-tips/feature-tip-telemetry' -import { useAppStore } from '../store' -import { isWebClientLocation } from '../lib/web-client-location' +import { useAppStore } from '../store/index' +import { isWebClientLocation } from './platform/web-client-location' import type { OnboardingState } from '../../../shared/onboarding-state-types' export type OnboardingGate = ReturnType diff --git a/src/renderer/src/app-shell/use-persisted-ui-writer.ts b/src/renderer/src/app-shell/use-persisted-ui-writer.ts index 63a2efcf4ec..c64deb99429 100644 --- a/src/renderer/src/app-shell/use-persisted-ui-writer.ts +++ b/src/renderer/src/app-shell/use-persisted-ui-writer.ts @@ -128,6 +128,7 @@ export function usePersistedUIWriter(): void { rightSidebarTab: s.rightSidebarTab, rightSidebarExplorerView: s.rightSidebarExplorerView, rightSidebarWidth: s.rightSidebarWidth, + activityBarPosition: s.activityBarPosition, markdownTocPanelWidth: s.markdownTocPanelWidth, combinedDiffFileTreeWidth: s.combinedDiffFileTreeWidth, groupBy: s.groupBy, diff --git a/src/renderer/src/app-shell/use-terminal-viewer-color-publication.ts b/src/renderer/src/app-shell/use-terminal-viewer-color-publication.ts index c510b7304e1..89875c6d7b0 100644 --- a/src/renderer/src/app-shell/use-terminal-viewer-color-publication.ts +++ b/src/renderer/src/app-shell/use-terminal-viewer-color-publication.ts @@ -1,9 +1,9 @@ import { useEffect } from 'react' -import { getSystemPrefersDark } from '@/lib/terminal-theme' +import { getSystemPrefersDark } from '@/lib/terminal/appearance/terminal-theme' import { publishTerminalViewAttributesAtAppStart } from '../components/terminal-pane/appearance/terminal-appearance' import { subscribeToPublishedTerminalViewAttributes } from '../components/terminal-pane/appearance/terminal-view-attributes-publisher' import { remoteRuntimeTerminalColorPush } from '../runtime/hosted-terminals/streams/remote-runtime-terminal-color-push' -import { useAppStore } from '../store' +import { useAppStore } from '../store/index' /** Reports this window's terminal theme to its own host and to every paired host. */ export function useTerminalViewerColorPublication(): void { diff --git a/src/renderer/src/app-shell/use-visible-hosted-review-refresh.test.tsx b/src/renderer/src/app-shell/use-visible-hosted-review-refresh.test.tsx deleted file mode 100644 index 65ddda49d3d..00000000000 --- a/src/renderer/src/app-shell/use-visible-hosted-review-refresh.test.tsx +++ /dev/null @@ -1,54 +0,0 @@ -// @vitest-environment happy-dom -import { cleanup, renderHook } from '@testing-library/react' -import { afterEach, expect, it, vi } from 'vitest' -import { useVisibleHostedReviewRefresh } from './use-visible-hosted-review-refresh' - -const mocks = vi.hoisted(() => ({ - refresh: vi.fn(async () => true), - getState: vi.fn(() => ({})), - subscribe: vi.fn(() => vi.fn()), - web: vi.fn(() => false) -})) -vi.mock('@/store', () => ({ - useAppStore: { getState: mocks.getState, subscribe: mocks.subscribe } -})) -vi.mock('@/lib/web-client-location', () => ({ isWebClientLocation: mocks.web })) -vi.mock('@/store/slices/hosted-review/refresh/visible-hosted-review-refresh-targets', () => ({ - visibleHostedReviewRefreshInputsChanged: () => true, - getVisibleHostedReviewWorkspaces: () => [], - getVisibleHostedReviewRefreshTargets: () => [ - { - key: 'review', - revision: 'head', - selected: true, - intervalMs: 60_000, - fetchedAt: null, - refresh: mocks.refresh - } - ] -})) -afterEach(() => { - cleanup() - vi.useRealTimers() - vi.restoreAllMocks() -}) - -it('waits for workspace readiness and stops timers/subscription when disabled', async () => { - vi.useFakeTimers() - vi.spyOn(document, 'visibilityState', 'get').mockReturnValue('visible') - const hook = renderHook(({ enabled }) => useVisibleHostedReviewRefresh({ enabled }), { - initialProps: { enabled: false } - }) - await vi.advanceTimersByTimeAsync(600_000) - expect(mocks.refresh).not.toHaveBeenCalled() - expect(mocks.subscribe).not.toHaveBeenCalled() - hook.rerender({ enabled: true }) - await vi.advanceTimersByTimeAsync(0) - expect(mocks.refresh).toHaveBeenCalledOnce() - const unsubscribe = mocks.subscribe.mock.results[0].value - hook.rerender({ enabled: false }) - expect(unsubscribe).toHaveBeenCalledOnce() - expect(vi.getTimerCount()).toBe(0) - await vi.advanceTimersByTimeAsync(600_000) - expect(mocks.refresh).toHaveBeenCalledOnce() -}) diff --git a/src/renderer/src/app-shell/use-visible-hosted-review-refresh.ts b/src/renderer/src/app-shell/use-visible-hosted-review-refresh.ts index 2ebfa9857ac..01a33014bd2 100644 --- a/src/renderer/src/app-shell/use-visible-hosted-review-refresh.ts +++ b/src/renderer/src/app-shell/use-visible-hosted-review-refresh.ts @@ -1,7 +1,7 @@ import { useEffect } from 'react' -import { useAppStore } from '@/store' -import { isWindowVisible } from '@/lib/window-visibility-interval' -import { isWebClientLocation } from '@/lib/web-client-location' +import { useAppStore } from '@/store/index' +import { isWindowVisible } from '@/lib/window-activity/window-visibility-interval' +import { isWebClientLocation } from '@/app-shell/platform/web-client-location' import { createVisibleHostedReviewRefreshScheduler } from '@/store/slices/hosted-review/refresh/visible-hosted-review-refresh-scheduler' import { getWorkspaceReferenceRefreshTargets } from '@/components/sidebar/workspace-card/review/workspace-reference-refresh-targets' import { diff --git a/src/renderer/src/app-shell/use-visible-review-refresh-reporting.ts b/src/renderer/src/app-shell/use-visible-review-refresh-reporting.ts index 273779d34ed..e80c181e486 100644 --- a/src/renderer/src/app-shell/use-visible-review-refresh-reporting.ts +++ b/src/renderer/src/app-shell/use-visible-review-refresh-reporting.ts @@ -1,7 +1,7 @@ import { useEffect, useMemo, useRef } from 'react' -import { useAppStore } from '../store' +import { useAppStore } from '../store/index' import type { AppState } from '../store/types' -import { rightSidebarShowsPullRequestData } from '../lib/right-sidebar-visibility' +import { rightSidebarShowsPullRequestData } from '../components/right-sidebar/visibility/right-sidebar-visibility' import { findWorktreeById, buildPRRefreshCandidate } from '../store/github/refresh/worktree-refresh' import { getHostedReviewCacheKey } from '../store/slices/hosted-review/hosted-review-cache-identity' import { getVisibleHostedReviewWorkspaces } from '../store/slices/hosted-review/refresh/visible-hosted-review-refresh-targets' diff --git a/src/renderer/src/app-shell/use-window-visibility-effects.ts b/src/renderer/src/app-shell/use-window-visibility-effects.ts index 788a1b93a94..7f39209ffe6 100644 --- a/src/renderer/src/app-shell/use-window-visibility-effects.ts +++ b/src/renderer/src/app-shell/use-window-visibility-effects.ts @@ -1,6 +1,6 @@ import { useEffect } from 'react' -import { isPairedWebClientWindow } from '@/lib/desktop-window-chrome' -import { useAppStore } from '../store' +import { isPairedWebClientWindow } from '@/app-shell/chrome/desktop-window-chrome' +import { useAppStore } from '../store/index' import { isMac } from './app-window-chrome' import { selectWindowVisibilityActions } from './window-visibility-actions-selector' diff --git a/src/renderer/src/app-shell/workspace-view-cross-client-sync.test.tsx b/src/renderer/src/app-shell/workspace-view-cross-client-sync.test.tsx deleted file mode 100644 index 489294052e1..00000000000 --- a/src/renderer/src/app-shell/workspace-view-cross-client-sync.test.tsx +++ /dev/null @@ -1,408 +0,0 @@ -// @vitest-environment happy-dom -// Exercise the real desktop writer/UI slice and persistence merge with queued IPC broadcasts; model Expo mobile mapping locally. Disjoint edits must survive stale mirrors and converge (STA-5781). -import { StrictMode, act, createElement } from 'react' -import { createRoot, type Root } from 'react-dom/client' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { StoreApi } from 'zustand/vanilla' -import { getDefaultUIState } from '../../../shared/constants' -import type { PersistedUIState } from '../../../shared/persisted-ui-state-types' -import type { PersistedState } from '../../../shared/persisted-state-types' -import { getPersistedUI } from '../../../main/persistence/applying-settings/ui-state-read' -import { - updatePersistedUI, - type UIUpdateOperations -} from '../../../main/persistence/applying-settings/ui-state-update' -import type { AppState } from '../store/types' -import { createUIStore } from '../store/slices/ui/ui-slice-test-harness' -import { - capturePersistedUIWriteBaseline, - diffPersistedUIWriteFields -} from '../store/slices/ui/persisted-ui-write-baseline' -import { usePersistedUIWriter } from './use-persisted-ui-writer' - -const storeRef = vi.hoisted(() => ({ - current: null as unknown as StoreApi -})) - -vi.mock('../store', async () => { - const { useStore } = await import('zustand') - const useAppStore = (selector: (s: unknown) => unknown) => useStore(storeRef.current, selector) - useAppStore.getState = () => storeRef.current.getState() - useAppStore.setState = (partial: never) => storeRef.current.setState(partial) - useAppStore.subscribe = (listener: never) => storeRef.current.subscribe(listener) - return { useAppStore } -}) - -/** The main-process authority: the real ui.set merge over a real PersistedState. */ -function createAuthority() { - const state = { ui: { ...getDefaultUIState() } } as PersistedState - let activeView: PersistedState['ui']['activeView'] = 'terminal' - const listeners = new Set<(ui: PersistedUIState) => void>() - const operations: UIUpdateOperations = { - state, - removeRetainedBlob: () => {}, - setActiveView: (next) => { - if (next === undefined || next === activeView) { - return false - } - activeView = next - return true - }, - getUI: () => getPersistedUI(state, activeView), - scheduleSave: () => {}, - notifyUIChanged: () => { - const ui = getPersistedUI(state, activeView) - for (const listener of listeners) { - listener(ui) - } - } - } - return { - set: (updates: Partial) => updatePersistedUI(operations, updates), - get: () => getPersistedUI(state, activeView), - onChanged: (listener: (ui: PersistedUIState) => void) => listeners.add(listener) - } -} - -type Authority = ReturnType - -describe('workspace view preferences: cross-client persistence (STA-5781)', () => { - let authority: Authority - let store: StoreApi - let root: Root - let container: HTMLDivElement - let pendingBroadcasts: PersistedUIState[] - let holdAcks: boolean - let rejectSets: boolean - let rejectNextSet: boolean - let setCallCount: number - let pendingAcks: (() => void)[] - let pendingRejects: ((reason?: unknown) => void)[] - - async function resolveAcks() { - await act(async () => { - for (const resolve of pendingAcks.splice(0)) { - resolve() - } - await Promise.resolve() - }) - } - - function deliverBroadcasts() { - const queued = pendingBroadcasts.splice(0) - for (const ui of queued) { - act(() => { - store.getState().hydratePersistedUI(ui, 'sync') - }) - } - } - - function mountDesktopWriter() { - function Probe() { - usePersistedUIWriter() - return null - } - // Match real StrictMode mount/cleanup replay. - act(() => { - root.render(createElement(StrictMode, null, createElement(Probe))) - }) - } - - async function flushDesktopDebounce() { - // Drain the ack microtask so the writer folds its baseline before assertions. - await act(async () => { - vi.advanceTimersByTime(200) - await Promise.resolve() - }) - } - - beforeEach(() => { - vi.useFakeTimers() - authority = createAuthority() - pendingBroadcasts = [] - authority.onChanged((ui) => pendingBroadcasts.push(ui)) - store = createUIStore() - storeRef.current = store as unknown as typeof storeRef.current - holdAcks = false - rejectSets = false - rejectNextSet = false - setCallCount = 0 - pendingAcks = [] - pendingRejects = [] - ;(window as unknown as { api: unknown }).api = { - ui: { - set: (updates: Partial) => { - setCallCount += 1 - // rejectSets models transport failure: nothing reaches the host. - if (rejectSets) { - return Promise.reject(new Error('transport failure')) - } - if (rejectNextSet) { - rejectNextSet = false - return new Promise((_, reject) => pendingRejects.push(reject)) - } - // Apply before resolving as IPC does; held acks expose the in-flight window. - authority.set(updates) - if (!holdAcks) { - return Promise.resolve() - } - return new Promise((resolve) => pendingAcks.push(resolve)) - } - } - } - container = document.createElement('div') - document.body.appendChild(container) - root = createRoot(container) - act(() => { - store.getState().hydratePersistedUI(authority.get(), 'startup') - }) - mountDesktopWriter() - }) - - afterEach(() => { - act(() => { - root.unmount() - }) - container.remove() - vi.useRealTimers() - }) - - it('saves a revealed remote host after an unrelated older broadcast', async () => { - act(() => { - authority.set({ workspaceHostScope: 'local', visibleWorkspaceHostIds: ['local'] }) - }) - deliverBroadcasts() - act(() => { - authority.set({ sidebarWidth: 320 }) - store.getState().setVisibleWorkspaceHostIds(['local', 'runtime:m4air']) - }) - pendingBroadcasts.reverse() - deliverBroadcasts() - expect(store.getState().visibleWorkspaceHostIds).toEqual(['local', 'runtime:m4air']) - await flushDesktopDebounce() - deliverBroadcasts() - expect(authority.get().visibleWorkspaceHostIds).toEqual(['local', 'runtime:m4air']) - expect(authority.get().sidebarWidth).toBe(320) - }) - - it('saves All hosts after flipping back during a host-selection write', async () => { - holdAcks = true - act(() => store.getState().setWorkspaceHostScope('local')) - await flushDesktopDebounce() - act(() => store.getState().setWorkspaceHostScope('all')) - deliverBroadcasts() - expect(store.getState().visibleWorkspaceHostIds).toBeNull() - expect(store.getState().workspaceHostScope).toBe('all') - await resolveAcks() - holdAcks = false - await flushDesktopDebounce() - deliverBroadcasts() - expect(authority.get().visibleWorkspaceHostIds).toBeNull() - expect(authority.get().workspaceHostScope).toBe('all') - }) - - it('the desktop debounced writer preserves a concurrent client’s field', async () => { - // t=0: desktop toggles a desktop-only filter (disjoint from mobile fields). - act(() => { - store.getState().setHideCliCreatedWorkspaces(true) - }) - - // Apply mobile’s disjoint edit before the desktop debounce, but delay its broadcast. - act(() => { - vi.advanceTimersByTime(100) - }) - authority.set({ hideSleepingWorkspaces: true }) - expect(authority.get().hideSleepingWorkspaces).toBe(true) - - // Flush the desktop’s still-stale mirror. - await flushDesktopDebounce() - - expect(authority.get().hideCliCreatedWorkspaces).toBe(true) - expect(authority.get().hideSleepingWorkspaces).toBe(true) - - deliverBroadcasts() - expect(store.getState().showSleepingWorkspaces).toBe(false) - expect(store.getState().hideCliCreatedWorkspaces).toBe(true) - }) - - it('a broadcast landing inside the debounce window must not revert the pending desktop toggle', async () => { - // t=0: desktop toggles a filter; its write is pending in the 150ms debounce. - act(() => { - store.getState().setHideCliCreatedWorkspaces(true) - }) - - // t<150ms: another client changes a disjoint field AND its broadcast is delivered - // before the desktop debounce fires. The broadcast still carries the OLD - // value of the desktop's pending toggle. - authority.set({ hideSleepingWorkspaces: true }) - deliverBroadcasts() - - expect(store.getState().hideCliCreatedWorkspaces).toBe(true) - expect(store.getState().showSleepingWorkspaces).toBe(false) - - await flushDesktopDebounce() - - expect(authority.get().hideCliCreatedWorkspaces).toBe(true) - expect(authority.get().hideSleepingWorkspaces).toBe(true) - }) - - it('preserves a flip-back made while the first write is still in flight', async () => { - // A flip-back matches the pre-ack baseline. Track in-flight fields so an obsolete ack/echo cannot erase the second toggle (PR #17057). - holdAcks = true - act(() => { - store.getState().setHideDefaultBranchWorkspace(true) - }) - await flushDesktopDebounce() - expect(authority.get().hideDefaultBranchWorkspace).toBe(true) - - act(() => { - store.getState().setHideDefaultBranchWorkspace(false) - }) - // Deliver the first write’s echo before its ack. - deliverBroadcasts() - expect(store.getState().hideDefaultBranchWorkspace).toBe(false) - - await resolveAcks() - await flushDesktopDebounce() - await resolveAcks() - expect(authority.get().hideDefaultBranchWorkspace).toBe(false) - deliverBroadcasts() - expect(store.getState().hideDefaultBranchWorkspace).toBe(false) - }) - - it('a terminal rejection leaves one dirty field without an automatic retry loop', async () => { - // Keep rejection dirty for a later edit without scheduling an endless trailing retry loop. - rejectSets = true - setCallCount = 0 - act(() => { - store.getState().setHideDefaultBranchWorkspace(true) - }) - - vi.advanceTimersByTime(150) - // Settle rejection without firing any erroneously rearmed timer yet. - await Promise.resolve() - - // Assert transport count, settled markers and no retry timer independently; the field stays dirty. - expect(setCallCount).toBe(1) - expect(store.getState().persistedUIWriteInFlightCounts).toEqual({}) - const state = store.getState() - expect( - diffPersistedUIWriteFields( - capturePersistedUIWriteBaseline(state), - state.persistedUIWriteBaseline! - ) - ).toEqual({ hideDefaultBranchWorkspace: true }) - expect(vi.getTimerCount()).toBe(0) - - // A new edit explicitly flushes both its change and the previous dirty field. - rejectSets = false - act(() => { - store.getState().setHideCliCreatedWorkspaces(true) - }) - vi.advanceTimersByTime(150) - await Promise.resolve() - expect(setCallCount).toBe(2) - expect(authority.get().hideDefaultBranchWorkspace).toBe(true) - expect(authority.get().hideCliCreatedWorkspaces).toBe(true) - expect(store.getState().persistedUIWriteInFlightCounts).toEqual({}) - - // Unmount must cancel delayed work and prevent later store writes. - act(() => { - root.unmount() - }) - expect(vi.getTimerCount()).toBe(0) - store.getState().setHideDetachedHeadWorkspaces(true) - vi.advanceTimersByTime(300) - expect(setCallCount).toBe(2) - expect(vi.getTimerCount()).toBe(0) - }) - - it('a transient rejection still flushes a pending flip-back exactly once', async () => { - // A newer pending edit still deserves one trailing flush after rejection; rejection alone does not. - holdAcks = true - rejectNextSet = true - setCallCount = 0 - act(() => { - store.getState().setHideDefaultBranchWorkspace(true) - }) - vi.advanceTimersByTime(150) - expect(setCallCount).toBe(1) - expect(pendingRejects).toHaveLength(1) - - // Flip back and edit another field in flight; only newer edits authorize the trailing pass. - act(() => { - store.getState().setHideDefaultBranchWorkspace(false) - store.getState().setHideCliCreatedWorkspaces(true) - }) - holdAcks = false - pendingRejects.splice(0).forEach((reject) => reject(new Error('transient transport failure'))) - expect(pendingRejects).toHaveLength(0) - await Promise.resolve() - vi.advanceTimersByTime(150) - await Promise.resolve() - - expect(setCallCount).toBe(2) - expect(authority.get().hideDefaultBranchWorkspace).toBe(false) - expect(authority.get().hideCliCreatedWorkspaces).toBe(true) - expect(store.getState().persistedUIWriteInFlightCounts).toEqual({}) - - vi.advanceTimersByTime(150) - await Promise.resolve() - expect(setCallCount).toBe(2) - expect(vi.getTimerCount()).toBe(0) - }) - - it('a rejected trailing write does not inherit automatic retry permission', async () => { - // A trailing attempt rejected without newer edits is terminal too. - holdAcks = true - setCallCount = 0 - act(() => { - store.getState().setHideDefaultBranchWorkspace(true) - }) - vi.advanceTimersByTime(150) - expect(setCallCount).toBe(1) - - act(() => { - store.getState().setHideCliCreatedWorkspaces(true) - }) - await resolveAcks() - holdAcks = false - rejectSets = true - - // Overlapping debounce/ack scheduling must yield only one rejected trailing attempt. - vi.advanceTimersByTime(150) - await Promise.resolve() - expect(setCallCount).toBe(2) - expect(store.getState().persistedUIWriteInFlightCounts).toEqual({}) - - vi.advanceTimersByTime(150) - await Promise.resolve() - expect(setCallCount).toBe(2) - expect(vi.getTimerCount()).toBe(0) - }) - - it('a synchronously throwing ui.set settles without a retry loop', async () => { - const api = ( - window as unknown as { api: { ui: { set: (u: Partial) => Promise } } } - ).api.ui - const workingSet = api.set - api.set = () => { - setCallCount += 1 - throw new Error('non-cloneable argument') - } - act(() => { - store.getState().setHideDefaultBranchWorkspace(true) - }) - await flushDesktopDebounce() - // A leaked marker would pin the field against hydration for the renderer's life. - expect(store.getState().persistedUIWriteInFlightCounts).toEqual({}) - - // Recovery is explicit: a later edit flushes the still-dirty field. - api.set = workingSet - act(() => { - store.getState().setHideCliCreatedWorkspaces(true) - }) - await flushDesktopDebounce() - expect(authority.get().hideDefaultBranchWorkspace).toBe(true) - }) -}) diff --git a/src/renderer/src/app-shell/worktree-jump-palette-preload.ts b/src/renderer/src/app-shell/worktree-jump-palette-preload.ts index c1438604988..cc058334e79 100644 --- a/src/renderer/src/app-shell/worktree-jump-palette-preload.ts +++ b/src/renderer/src/app-shell/worktree-jump-palette-preload.ts @@ -1,6 +1,6 @@ import { useEffect } from 'react' -import { scheduleAfterInputQuiet } from '@/lib/input-quiet-scheduler' -import { lazyWithPreload } from '@/lib/lazy-with-retry' +import { scheduleAfterInputQuiet } from '@/lib/window-activity/input-quiet-scheduler' +import { lazyWithPreload } from '@/app-shell/startup/lazy-with-retry' export const WorktreeJumpPalette = lazyWithPreload( () => import('../components/worktree-jump/WorktreeJumpPalette') diff --git a/src/renderer/src/attention/agent-attention-notification-delivery.ts b/src/renderer/src/attention/agent-attention-notification-delivery.ts index edbd09548e8..09ba0c16157 100644 --- a/src/renderer/src/attention/agent-attention-notification-delivery.ts +++ b/src/renderer/src/attention/agent-attention-notification-delivery.ts @@ -1,6 +1,6 @@ /** Share delivery, success sound and blocked-permission fallback across surfaces; callers own message content. Main applies banner preferences after mobile fanout, so callers cannot promise a banner. */ -import { playDesktopNotificationSound } from '@/lib/desktop-notification-sound' -import { showBlockedNotificationFallbackToast } from '@/lib/blocked-notification-fallback' +import { playDesktopNotificationSound } from '@/lib/notifications/desktop-notification-sound' +import { showBlockedNotificationFallbackToast } from '@/lib/notifications/blocked-notification-fallback' import type { NotificationDispatchRequest, NotificationDispatchResult diff --git a/src/renderer/src/attention/agent-finish-drop-breadcrumb.ts b/src/renderer/src/attention/agent-finish-drop-breadcrumb.ts new file mode 100644 index 00000000000..195a5672a3a --- /dev/null +++ b/src/renderer/src/attention/agent-finish-drop-breadcrumb.ts @@ -0,0 +1,58 @@ +import { recordRendererCrashBreadcrumb } from '@/diagnostics/crash-reporting/crash-breadcrumb-recorder' + +/** Why a finished agent turn did not mark its workspace unread. */ +export type AgentFinishDropCause = + | 'fresh-active-hook-status' + | 'superseded-snapshot' + | 'muted-workspace' + | 'coordinator-only-news' + | 'no-live-session' + | 'unknown-surface' + | 'superseded-surface' + | 'viewed' + | 'pane-pruned-before-quiet-window' + | 'held-revision-expired' + | 'pane-not-live' + | 'hook-lane-disabled' + | 'turn-end-not-counted' + | 'restored-unconfirmed' + | 'host-replay-skipped' + +/** Every path that drops a finish was silent, so a missing unread could not be traced (#40340). */ +export function recordAgentFinishDropped( + cause: AgentFinishDropCause, + subject: { workspaceId?: string; paneKey?: string | null } +): void { + recordRendererCrashBreadcrumb('agent_finish_dropped', { + cause, + ...(subject.workspaceId ? { workspaceId: subject.workspaceId } : {}), + ...(subject.paneKey ? { paneKey: subject.paneKey } : {}) + }) +} + +/** A finish waiting out its quiet window is lost when its pane's coordinator is pruned. */ +export function recordPrunedPendingFinish( + workspaceId: string, + paneKey: string, + coordinator: { hasPendingHookDoneCompletion: () => boolean } +): void { + if (coordinator.hasPendingHookDoneCompletion()) { + recordAgentFinishDropped('pane-pruned-before-quiet-window', { workspaceId, paneKey }) + } +} + +/** The hook lane ignores updates for a pane it does not consider live; only a finish matters here. */ +export function recordFinishOnPaneNotLive( + workspaceId: string, + paneKey: string, + state: string +): void { + if (state === 'done') { + recordAgentFinishDropped('pane-not-live', { workspaceId, paneKey }) + } +} + +/** Completion notifications are off for this pane (setting, or waiting for a fresh working state). */ +export function recordHookLaneDisabled(workspaceId: string, paneKey: string): void { + recordAgentFinishDropped('hook-lane-disabled', { workspaceId, paneKey }) +} diff --git a/src/renderer/src/attention/notification-subject-owner.ts b/src/renderer/src/attention/notification-subject-owner.ts index 2658f034f30..e9a92283041 100644 --- a/src/renderer/src/attention/notification-subject-owner.ts +++ b/src/renderer/src/attention/notification-subject-owner.ts @@ -10,7 +10,7 @@ import { getPtyExecutionHost } from '../../../shared/terminal/pty/lifecycle/term import type { Tab } from '../../../shared/tab-types' import type { AppState } from '@/store/types' import type { PtyTransport } from '@/components/terminal-pane/pty-transport/pty-transport-types' -import { resolveTerminalTabPtyOwnership } from '@/lib/terminal-tab-for-pty-id' +import { resolveTerminalTabPtyOwnership } from '@/lib/workspace/tabs/terminal-tab-for-pty-id' import { resolveExactWorktreeRoute, routeForOwner diff --git a/src/renderer/src/attention/notification-workspace-labels.ts b/src/renderer/src/attention/notification-workspace-labels.ts index b86c6836f1a..0eb04646b92 100644 --- a/src/renderer/src/attention/notification-workspace-labels.ts +++ b/src/renderer/src/attention/notification-workspace-labels.ts @@ -5,7 +5,7 @@ import { worktreeHostMatchOptions, worktreeMatchesHost } from '../store/slices/worktrees/listing/worktree-host-ownership' -import { getResolvedExecutionHostIdForWorktree } from '../lib/resolved-worktree-execution-host' +import { getResolvedExecutionHostIdForWorktree } from '../lib/workspace/ownership/resolved-worktree-execution-host' import { getActiveWorkspaceExecutionHostId } from '../lib/workspace/ownership/active-workspace-host' import { findIndexedFolderWorkspaceOwner, diff --git a/src/renderer/src/lib/unread-badge-count-selector.ts b/src/renderer/src/attention/unread/unread-badge-count-selector.ts similarity index 92% rename from src/renderer/src/lib/unread-badge-count-selector.ts rename to src/renderer/src/attention/unread/unread-badge-count-selector.ts index 7c64dd39656..571a8a4264b 100644 --- a/src/renderer/src/lib/unread-badge-count-selector.ts +++ b/src/renderer/src/attention/unread/unread-badge-count-selector.ts @@ -1,13 +1,13 @@ import { getVisibleWorkspaceHostIdSet } from '@/components/sidebar/worktree-list/listing/visible-worktree-host-scope' -import { getPairedDeviceIdsByEnvironment } from '../../../shared/workspace-creator-visibility' +import { getPairedDeviceIdsByEnvironment } from '../../../../shared/workspace-creator-visibility' import { getIndexedRepoMap } from '@/store/repos/repository-catalog-index' import type { AppState } from '@/store/types' -import { getSettingsFocusedExecutionHostId } from '../../../shared/execution-host' -import type { Worktree } from '../../../shared/worktree/types' -import { sameBucketRecords } from './bucket-record-equality' +import { getSettingsFocusedExecutionHostId } from '../../../../shared/execution-host' +import type { Worktree } from '../../../../shared/worktree/types' +import { sameBucketRecords } from './unread-bucket-record-equality' import { getUnreadBadgeCount } from './unread-badge-count' import { hasLiveTabMarker } from '@/store/slices/workspace-attention/workspace-live-markers' -import { folderWorkspaceKey } from '../../../shared/workspace-scope' +import { folderWorkspaceKey } from '../../../../shared/workspace-scope' import { selectFolderWorkspaces, selectWorktreesByRepo diff --git a/src/renderer/src/lib/unread-badge-count.ts b/src/renderer/src/attention/unread/unread-badge-count.ts similarity index 79% rename from src/renderer/src/lib/unread-badge-count.ts rename to src/renderer/src/attention/unread/unread-badge-count.ts index 1e1fd1f0c4e..9266b72d38f 100644 --- a/src/renderer/src/lib/unread-badge-count.ts +++ b/src/renderer/src/attention/unread/unread-badge-count.ts @@ -1,22 +1,22 @@ import { filterFolderWorkspacesForVisibleHosts, filterProjectGroupsForVisibleHosts -} from '../../../shared/sidebar-list/host-filtering' -import { getRenderableFolderWorkspaces } from '../../../shared/sidebar-list/folder-workspace-lanes' +} from '../../../../shared/sidebar-list/host-filtering' +import { getRenderableFolderWorkspaces } from '../../../../shared/sidebar-list/folder-workspace-lanes' import { worktreeMatchesVisibleHost } from '@/components/sidebar/worktree-list/listing/visible-worktree-host-scope' import { filterFolderWorkspacesFromOtherDevices, isWorkspaceOwnedBySomeoneElse -} from '../../../shared/workspace-creator-visibility' -import type { ExecutionHostId } from '../../../shared/execution-host' -import type { FolderWorkspace } from '../../../shared/folder-workspaces/folder-workspace-types' -import type { ProjectGroup } from '../../../shared/project-group-types' -import type { Repo } from '../../../shared/repo-types' -import { folderWorkspaceKey } from '../../../shared/workspace-scope' +} from '../../../../shared/workspace-creator-visibility' +import type { ExecutionHostId } from '../../../../shared/execution-host' +import type { FolderWorkspace } from '../../../../shared/folder-workspaces/folder-workspace-types' +import type { ProjectGroup } from '../../../../shared/project-group-types' +import type { Repo } from '../../../../shared/repo-types' +import { folderWorkspaceKey } from '../../../../shared/workspace-scope' import type { StoredAgentAttentionUnread } from '@/attention/agent-attention-contract' -import type { TerminalTab } from '../../../shared/workspace-layout/terminal-tab-types' -import type { Tab } from '../../../shared/tab-types' -import type { Worktree } from '../../../shared/worktree/types' +import type { TerminalTab } from '../../../../shared/workspace-layout/terminal-tab-types' +import type { Tab } from '../../../../shared/tab-types' +import type { Worktree } from '../../../../shared/worktree/types' import { hasLiveTabMarker } from '@/store/slices/workspace-attention/workspace-live-markers' export type UnreadBadgeCountSources = { diff --git a/src/renderer/src/lib/bucket-record-equality.ts b/src/renderer/src/attention/unread/unread-bucket-record-equality.ts similarity index 100% rename from src/renderer/src/lib/bucket-record-equality.ts rename to src/renderer/src/attention/unread/unread-bucket-record-equality.ts diff --git a/src/renderer/src/component-fixtures/component-fixture-explorer.tsx b/src/renderer/src/component-fixtures/component-fixture-explorer.tsx index 866e5099854..19ec1ef4dc5 100644 --- a/src/renderer/src/component-fixtures/component-fixture-explorer.tsx +++ b/src/renderer/src/component-fixtures/component-fixture-explorer.tsx @@ -2,8 +2,8 @@ import '../assets/main.css' import ReactDOM from 'react-dom/client' import { getDefaultSettings } from '../../../shared/constants' -import { applyDocumentTheme } from '../lib/document-theme' -import { installBodyOverlayAttributes } from '../lib/body-overlay-attributes' +import { applyDocumentTheme } from '../app-shell/appearance/document-theme' +import { installBodyOverlayAttributes } from '../lib/overlay-interaction/body-overlay-attributes' import { useAppStore } from '../store/index' import { installWebPreloadApi } from '../web/web-preload-api' import type { ComponentFixtureTheme } from './component-fixture' diff --git a/src/renderer/src/components/AgentProgressRing.tsx b/src/renderer/src/components/AgentProgressRing.tsx index 51becb59da2..07c6e6b297f 100644 --- a/src/renderer/src/components/AgentProgressRing.tsx +++ b/src/renderer/src/components/AgentProgressRing.tsx @@ -1,5 +1,5 @@ import React from 'react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' export type AgentProgressRingTone = 'working' | 'attention' diff --git a/src/renderer/src/components/AgentQuestionIcon.tsx b/src/renderer/src/components/AgentQuestionIcon.tsx index 880fd6dcb55..2da63e9823f 100644 --- a/src/renderer/src/components/AgentQuestionIcon.tsx +++ b/src/renderer/src/components/AgentQuestionIcon.tsx @@ -1,6 +1,6 @@ import React from 'react' import { MessageCircleQuestion } from 'lucide-react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' // Share the question glyph and --agent-question token across sidebar, tabs, dashboard and kanban; callers choose size. diff --git a/src/renderer/src/components/AgentStateDot.tsx b/src/renderer/src/components/AgentStateDot.tsx index f9449bdfb64..3772ef44f3a 100644 --- a/src/renderer/src/components/AgentStateDot.tsx +++ b/src/renderer/src/components/AgentStateDot.tsx @@ -1,6 +1,6 @@ import React from 'react' import { Activity, CircleCheck, CircleDashed } from 'lucide-react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { translate } from '@/i18n/i18n' import { useUiLanguageRevision } from '@/i18n/use-ui-language-revision' import { AgentQuestionIcon } from '@/components/AgentQuestionIcon' diff --git a/src/renderer/src/components/AgentWorkingSpinner.tsx b/src/renderer/src/components/AgentWorkingSpinner.tsx index 763380067a4..56ce94ad0e5 100644 --- a/src/renderer/src/components/AgentWorkingSpinner.tsx +++ b/src/renderer/src/components/AgentWorkingSpinner.tsx @@ -1,6 +1,6 @@ import React from 'react' -import { cn } from '@/lib/utils' -import { observeOffscreenAnimation } from '@/lib/offscreen-animation-pause' +import { cn } from '@/lib/class-names' +import { observeOffscreenAnimation } from '@/lib/window-activity/offscreen-animation-pause' const SPINNER_ANIMATION_NAME = 'agent-spinner-rotate' diff --git a/src/renderer/src/components/AiVaultTabTitleSyncGate.tsx b/src/renderer/src/components/AiVaultTabTitleSyncGate.tsx index e69b4864d11..edfd0f50901 100644 --- a/src/renderer/src/components/AiVaultTabTitleSyncGate.tsx +++ b/src/renderer/src/components/AiVaultTabTitleSyncGate.tsx @@ -1,7 +1,7 @@ import { useEffect } from 'react' import { startAiVaultTabTitleSync } from '@/lib/agent-session/history/title-sync/ai-vault-tab-title-sync' -import { scheduleAfterInputQuiet } from '@/lib/input-quiet-scheduler' -import { useAppStore } from '@/store' +import { scheduleAfterInputQuiet } from '@/lib/window-activity/input-quiet-scheduler' +import { useAppStore } from '@/store/index' const TITLE_SYNC_DELAY_MS = 1_000 const TITLE_SYNC_QUIET_MS = 1_500 diff --git a/src/renderer/src/components/ClaudeAccountSwitchSessionTree.tsx b/src/renderer/src/components/ClaudeAccountSwitchSessionTree.tsx index 8b712f06a6a..c4be6ec382c 100644 --- a/src/renderer/src/components/ClaudeAccountSwitchSessionTree.tsx +++ b/src/renderer/src/components/ClaudeAccountSwitchSessionTree.tsx @@ -13,15 +13,15 @@ import { import { resolveWorktreeBranchLabel, resolveWorktreeDisplayName -} from '@/lib/worktree-default-display-name' +} from '@/lib/workspace/display/worktree-default-display-name' import { makePaneKey } from '../../../shared/workspace-layout/stable-pane-id' -import { useAppStore } from '../store' -import { ResumeTreeRow } from './NativeChatResumeTreeRow' +import { useAppStore } from '../store/index' +import { ResumeTreeRow } from './native-chat-recovery/tree/NativeChatResumeTreeRow' import { resumeSelectionState, toggleResumeSelection -} from './native-chat-resume-on-restart-grouping' -import { moveInTree } from './native-chat-resume-tree-keys' +} from './native-chat-recovery/tree/native-chat-resume-on-restart-grouping' +import { moveInTree } from './native-chat-recovery/tree/native-chat-resume-tree-keys' type SessionRowData = ClaudeSessionMoveCandidate & { reason?: string } diff --git a/src/renderer/src/components/DetachedHeadBadge.tsx b/src/renderer/src/components/DetachedHeadBadge.tsx index 6671735514d..4f834cdc32e 100644 --- a/src/renderer/src/components/DetachedHeadBadge.tsx +++ b/src/renderer/src/components/DetachedHeadBadge.tsx @@ -2,7 +2,7 @@ import React from 'react' import { GitCommitHorizontal } from 'lucide-react' import { Badge } from '@/components/ui/badge' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import type { WorktreeGitIdentityDisplay } from '../../../shared/worktree/git-identity-display' type DetachedHeadDisplay = Extract diff --git a/src/renderer/src/components/FirstLaunchBanner.tsx b/src/renderer/src/components/FirstLaunchBanner.tsx index 1a40a437175..17fbc55609a 100644 --- a/src/renderer/src/components/FirstLaunchBanner.tsx +++ b/src/renderer/src/components/FirstLaunchBanner.tsx @@ -4,7 +4,11 @@ import { useState } from 'react' import { X } from 'lucide-react' import { Button } from './ui/button' -import { acknowledgeBanner, PRIVACY_URL, setOptIn as telemetrySetOptIn } from '../lib/telemetry' +import { + acknowledgeBanner, + PRIVACY_URL, + setOptIn as telemetrySetOptIn +} from '../diagnostics/telemetry/telemetry' import { useMountedRef } from '@/hooks/useMountedRef' import { useTranslate } from '@/i18n/use-translate' import { openAppHttpLink } from '@/lib/browser/navigation/app-http-link-open' diff --git a/src/renderer/src/components/Landing.tsx b/src/renderer/src/components/Landing.tsx index c2d660f3f17..f3b1c67e35d 100644 --- a/src/renderer/src/components/Landing.tsx +++ b/src/renderer/src/components/Landing.tsx @@ -1,7 +1,7 @@ import { useEffect, useEffectEvent, useMemo, useRef, useState } from 'react' import { AlertTriangle, ExternalLink, FolderPlus, GitBranchPlus, Star, X } from 'lucide-react' -import { cn } from '../lib/utils' -import { useAppStore } from '../store' +import { cn } from '../lib/class-names' +import { useAppStore } from '../store/index' import { isGitRepoKind } from '../../../shared/repo-kind' import type { Repo } from '../../../shared/repo-types' import { diff --git a/src/renderer/src/components/LinearIssueMarkdownDescriptionEditor.tsx b/src/renderer/src/components/LinearIssueMarkdownDescriptionEditor.tsx index 438a3d7681e..c041cf0be09 100644 --- a/src/renderer/src/components/LinearIssueMarkdownDescriptionEditor.tsx +++ b/src/renderer/src/components/LinearIssueMarkdownDescriptionEditor.tsx @@ -14,11 +14,11 @@ import { } from '@/components/editor/rich-markdown/document/rich-markdown-source-transport' import { LinearIssueMarkdownToolbar } from '@/components/LinearIssueMarkdownToolbar' import { RichMarkdownTableControls } from '@/components/editor/rich-markdown/tables/RichMarkdownTableControls' -import { isScreenSubmitShortcut } from '@/lib/screen-submit-shortcut' -import { cn } from '@/lib/utils' +import { isScreenSubmitShortcut } from '@/lib/keyboard/screen-submit-shortcut' +import { cn } from '@/lib/class-names' import { translate } from '@/i18n/i18n' import { useTranslate } from '@/i18n/use-translate' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { getRichMarkdownSpellcheckAttribute, useRichMarkdownSpellcheckAttribute diff --git a/src/renderer/src/components/LinearIssueMarkdownToolbar.tsx b/src/renderer/src/components/LinearIssueMarkdownToolbar.tsx index 16e6a84229f..973a1b7e4f7 100644 --- a/src/renderer/src/components/LinearIssueMarkdownToolbar.tsx +++ b/src/renderer/src/components/LinearIssueMarkdownToolbar.tsx @@ -17,7 +17,7 @@ import { } from 'lucide-react' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { translate } from '@/i18n/i18n' import { useTranslate } from '@/i18n/use-translate' diff --git a/src/renderer/src/components/LinearIssueTextEditor.tsx b/src/renderer/src/components/LinearIssueTextEditor.tsx index 110eb89794b..1a8aa83266b 100644 --- a/src/renderer/src/components/LinearIssueTextEditor.tsx +++ b/src/renderer/src/components/LinearIssueTextEditor.tsx @@ -7,9 +7,12 @@ import { toast } from 'sonner' import { LinearIssueMarkdownDescriptionEditor } from '@/components/LinearIssueMarkdownDescriptionEditor' import { useMountedRef } from '@/hooks/useMountedRef' -import { cn } from '@/lib/utils' -import { useAppStore } from '@/store' -import { getScreenSubmitShortcutLabel, isScreenSubmitShortcut } from '@/lib/screen-submit-shortcut' +import { cn } from '@/lib/class-names' +import { useAppStore } from '@/store/index' +import { + getScreenSubmitShortcutLabel, + isScreenSubmitShortcut +} from '@/lib/keyboard/screen-submit-shortcut' import { linearUpdateIssue } from '@/runtime/linear/runtime-linear-issue-client' import type { LinearIssue } from '../../../shared/linear/issue-types' import type { TaskSourceContext } from '../../../shared/work-items/task-source-context' diff --git a/src/renderer/src/components/LinearIssueWorkspace.tsx b/src/renderer/src/components/LinearIssueWorkspace.tsx index ba4bee4a91f..72623c4f848 100644 --- a/src/renderer/src/components/LinearIssueWorkspace.tsx +++ b/src/renderer/src/components/LinearIssueWorkspace.tsx @@ -5,9 +5,9 @@ import { LinearIssueTextEditor } from '@/components/LinearIssueTextEditor' import { Sheet, SheetContent, SheetDescription, SheetTitle } from '@/components/ui/sheet' import { findLinearIssueWorkspaceAttachment } from '@/lib/work-items/linear/linear-issue-workspace-attachment' import { openLinearIssueWorkspaceOrStart } from '@/lib/work-items/linear/linear-issue-workspace-open' -import { getWorktreeAttachmentLabel } from '@/lib/worktree-attachment-label' +import { getWorktreeAttachmentLabel } from '@/lib/workspace/display/worktree-attachment-label' import { folderWorkspaceToWorktree } from '../../../shared/folder-workspaces/folder-workspace-worktree' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { useAllWorktrees } from '@/store/slices/worktrees/listing/use-worktree-catalog' import type { LinearIssue } from '../../../shared/linear/issue-types' import type { TaskSourceContext } from '../../../shared/work-items/task-source-context' diff --git a/src/renderer/src/components/LinearItemDrawer.tsx b/src/renderer/src/components/LinearItemDrawer.tsx index a1c8fba8db4..74eed4dece2 100644 --- a/src/renderer/src/components/LinearItemDrawer.tsx +++ b/src/renderer/src/components/LinearItemDrawer.tsx @@ -1,13 +1,14 @@ import { getLinearSourceScope } from '@/store/slices/linear/linear-slice-scope' -import { observeLinearIssueRead } from '@/store/slices/linear/linear-issue-publication' +import '@/store/slices/linear/linear-issue-read' +import { observeLinearIssueRead } from '@/store/slices/linear/linear-issue-read-lifecycle' import { useLinearIssuePublication } from '@/hooks/useLinearIssuePublication' import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react' import { findLinearIssueWorkspaceAttachment } from '@/lib/work-items/linear/linear-issue-workspace-attachment' import { openLinearIssueWorkspaceOrStart } from '@/lib/work-items/linear/linear-issue-workspace-open' -import { getWorktreeAttachmentLabel } from '@/lib/worktree-attachment-label' +import { getWorktreeAttachmentLabel } from '@/lib/workspace/display/worktree-attachment-label' import { folderWorkspaceToWorktree } from '../../../shared/folder-workspaces/folder-workspace-worktree' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { translate } from '@/i18n/i18n' import { useIntlLocale, useTranslate } from '@/i18n/use-translate' import { useAllWorktrees } from '@/store/slices/worktrees/listing/use-worktree-catalog' diff --git a/src/renderer/src/components/LinuxPackageInstallRecoveryCard.tsx b/src/renderer/src/components/LinuxPackageInstallRecoveryCard.tsx index 3c4d9686999..978cd18b89b 100644 --- a/src/renderer/src/components/LinuxPackageInstallRecoveryCard.tsx +++ b/src/renderer/src/components/LinuxPackageInstallRecoveryCard.tsx @@ -7,7 +7,7 @@ import type { import { UpdateErrorCardContent } from './UpdateErrorCardContent' import { translate } from '@/i18n/i18n' import { useTranslate } from '@/i18n/use-translate' -import { linuxPackageCommandUnavailableText } from '@/lib/updater-message-copy' +import { linuxPackageCommandUnavailableText } from '@/app-shell/updates/updater-message-copy' import { useMountedRef } from '@/hooks/useMountedRef' function copiedNote(packageFileName: string): string { diff --git a/src/renderer/src/components/LoadingSpinner.tsx b/src/renderer/src/components/LoadingSpinner.tsx index 0b91dd04be6..40e0dcaceab 100644 --- a/src/renderer/src/components/LoadingSpinner.tsx +++ b/src/renderer/src/components/LoadingSpinner.tsx @@ -1,6 +1,6 @@ import React from 'react' import { Hourglass, Loader2 } from 'lucide-react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' // Reduced motion uses an hourglass rather than a stuck spinner. Hide it only when motion is allowed; hidden plus motion-reduce:block left it hidden. export function LoadingSpinner({ className }: { className?: string }): React.JSX.Element { diff --git a/src/renderer/src/components/NativeChatRemoteResume.test.tsx b/src/renderer/src/components/NativeChatRemoteResume.test.tsx deleted file mode 100644 index c189ce7e8a7..00000000000 --- a/src/renderer/src/components/NativeChatRemoteResume.test.tsx +++ /dev/null @@ -1,121 +0,0 @@ -// @vitest-environment happy-dom -import { act } from 'react' - -import { afterEach, expect, it, vi } from 'vitest' -import { - createResumeModalFixture, - offered, - type RestartRpc, - type ResumeStatusStream -} from './native-chat-resume-modal.test-support' - -import { - createNativeChatRestartStore, - type NativeChatRestartStore -} from './native-chat-resume-on-restart-store' -import type { RuntimeEnvironmentStatus } from '../../../shared/remote-runtime/host-status/runtime-host-status' - -const rpc = vi.hoisted(() => vi.fn()) -const stream: ResumeStatusStream = vi.hoisted(() => ({ emit: () => {}, snapshot: new Map() })) -vi.mock('../runtime/native-chat/requests/structured-agent-session-call', () => ({ - callStructuredAgentSession: rpc -})) - -vi.mock('../runtime/native-chat/requests/structured-agent-session-subscriptions', () => ({ - subscribeStructuredAgentSessionStatus: async ( - _target: unknown, - emit: ResumeStatusStream['emit'] - ) => { - stream.emit = emit - emit({ type: 'snapshot', sessions: [] }) - return { - unsubscribe: () => {} - } - } -})) -vi.mock('sonner', async () => - (await import('./native-chat-resume-sonner-mock.test-support')).resumeSonnerMock() -) -createResumeModalFixture(rpc, stream) -const stores: NativeChatRestartStore[] = [] -afterEach(() => { - for (const store of stores.splice(0)) { - store._resetNativeChatRestartOffer() - store.consumeNativeChatResumeOnRestartDialogRequest() - } - vi.useRealTimers() - vi.unstubAllGlobals() - vi.restoreAllMocks() -}) -function store() { - const value = createNativeChatRestartStore({ kind: 'environment', environmentId: 'ssh' }) - stores.push(value) - vi.stubGlobal('api', { runtimeEnvironments: { desktopCreatedChatIds: async () => ['a'] } }) - return value -} -function ready(runtimeId: string): RuntimeEnvironmentStatus { - return { - checkedAt: 0, - status: { - runtimeId, - rendererGraphEpoch: 0, - graphStatus: 'ready', - authoritativeWindowId: null, - liveTabCount: 0, - liveLeafCount: 0 - } - } -} - -it('snoozes server failures locally through reconnect and reopens for a new runtime', async () => { - const remote = store() - rpc.mockResolvedValue({ sessions: offered }) - await act(async () => remote.observeRuntimeStatus(ready('first'))) - await remote.dismissNativeChatRestartOffer(['a']) - expect(rpc).toHaveBeenCalledTimes(1) - expect(remote.getNativeChatRestartOffer().candidates).toHaveLength(2) - remote.observeRuntimeStatus(undefined) - await act(async () => remote.observeRuntimeStatus(ready('first'))) - expect(remote.getNativeChatResumeOnRestartDialogRequest()).toBe(false) - await act(async () => remote.observeRuntimeStatus(ready('second'))) - expect(remote.getNativeChatResumeOnRestartDialogRequest()).toBe(true) -}) - -it.each(['failure', 'success', 'history'])( - 'supersedes an older ordinary read through all awaits (%s)', - async (mode) => { - const remote = store() - rpc.mockResolvedValue({ sessions: offered }) - await act(async () => remote.observeRuntimeStatus(ready('r1'))) - const old = Promise.withResolvers() - const history = Promise.withResolvers() - if (mode === 'history') { - vi.stubGlobal('api', { - runtimeEnvironments: { desktopCreatedChatIds: () => history.promise } - }) - rpc.mockResolvedValueOnce({ sessions: [] }) - await act(async () => remote.refreshNativeChatRestartOffer()) - rpc.mockResolvedValue({ sessions: offered }) - } else { - rpc.mockReturnValueOnce(old.promise) - } - let read: Promise - await act(async () => { - read = remote.refreshNativeChatRestartOffer() - }) - rpc.mockResolvedValue({ sessions: mode === 'failure' ? offered : [] }) - remote.observeRuntimeStatus(undefined) - await act(async () => remote.observeRuntimeStatus(ready('r1'))) - await act(async () => { - if (mode === 'failure') { - old.reject(new Error('obsolete failure')) - } else { - old.resolve({ sessions: offered }) - } - history.resolve(['a']) - await read! - }) - expect(remote.getNativeChatRestartOffer().candidates).toHaveLength(mode === 'failure' ? 2 : 0) - expect(remote.getNativeChatResumeOnRestartDialogRequest()).toBe(mode === 'failure') - } -) diff --git a/src/renderer/src/components/NativeChatResumeOnRestartGroups.selection.test.tsx b/src/renderer/src/components/NativeChatResumeOnRestartGroups.selection.test.tsx deleted file mode 100644 index f6c3909762a..00000000000 --- a/src/renderer/src/components/NativeChatResumeOnRestartGroups.selection.test.tsx +++ /dev/null @@ -1,134 +0,0 @@ -// @vitest-environment happy-dom - -import { act } from 'react' -import { createRoot, type Root } from 'react-dom/client' -import { afterEach, beforeEach, expect, it } from 'vitest' -import { useAppStore } from '../store' -import { getHostContextLabel } from '../../../shared/worktree/host-context-labels' -import type { ExecutionHostId } from '../../../shared/execution-host' -import { - candidate, - chatBox, - countOf, - disclosureOf, - nodeBox, - onToggleSpy, - seedTree, - treeOutline, - unretryable, - worktree -} from './native-chat-resume-tree.test-support' -import { ResumeTreeHarness as Harness } from './NativeChatResumeTreeHarness.test-support' - -globalThis.IS_REACT_ACT_ENVIRONMENT = true -let root: Root -let container: HTMLElement - -function render(props: React.ComponentProps): void { - act(() => root.render()) -} - -function state(box: HTMLElement): string | null { - return box.getAttribute('aria-checked') -} - -beforeEach(() => { - onToggleSpy.mockReset() - useAppStore.setState(useAppStore.getInitialState(), true) - container = document.createElement('div') - document.body.append(container) - root = createRoot(container) -}) - -afterEach(() => { - act(() => root.unmount()) - container.remove() - useAppStore.setState(useAppStore.getInitialState(), true) -}) - -it('is tri-state at every level, each node over every chat under it', () => { - const remote: ExecutionHostId = 'ssh:build-server' - render({ candidates: seedTree({ parent: remote, child: remote }) }) - const machine = getHostContextLabel(remote) - expect([machine, 'orca', 'parent', 'child', 'other'].map((name) => countOf(name))).toEqual([ - '4 of 4', - '4 of 4', - '3 of 3', - '2 of 2', - '1 of 1' - ]) - - act(() => chatBox('in-child').click()) - expect([machine, 'orca', 'parent', 'child', 'other'].map((name) => state(nodeBox(name)))).toEqual( - ['mixed', 'mixed', 'mixed', 'mixed', 'true'] - ) - expect(countOf(machine)).toBe('3 of 4') - expect(countOf('child')).toBe('1 of 2') - - // Partly selected: ticking selects everything under the node, nested workspaces included. - act(() => nodeBox('parent').click()) - expect(state(chatBox('in-child'))).toBe('true') - expect(state(nodeBox(machine))).toBe('true') - - act(() => nodeBox(machine).click()) - for (const id of ['in-parent', 'in-child', 'also-in-child', 'in-other']) { - expect(state(chatBox(id))).toBe('false') - } - expect(countOf('orca')).toBe('0 of 4') -}) - -it('selects every eligible chat in a project, never an unretryable one or another project’s', () => { - const candidates = seedTree() - const mobile = worktree('mobile', { repoId: 'repo-2', id: 'repo-2::/mobile/mobile' }) - useAppStore.setState((current) => ({ - repos: [ - ...current.repos, - { id: 'repo-2', path: '/mobile', displayName: 'orca-mobile', badgeColor: '#999', addedAt: 1 } - ], - worktreesByRepo: { ...current.worktreesByRepo, 'repo-2': [mobile] } - })) - const stuck = unretryable(candidates[3]!) - render({ - candidates: [...candidates, candidate('in-mobile', mobile)], - initiallySelected: ['in-mobile'], - failureFor: (sessionId) => (sessionId === 'in-other' ? stuck : undefined) - }) - expect(countOf('orca')).toBe('0 of 3') - expect(chatBox('in-other').hasAttribute('disabled')).toBe(true) - - act(() => nodeBox('orca').click()) - expect(countOf('orca')).toBe('3 of 3') - expect(state(nodeBox('orca'))).toBe('true') - const touched = onToggleSpy.mock.calls.map(([sessionId]) => sessionId) - expect(touched).not.toContain('in-other') - expect(touched).not.toContain('in-mobile') - expect(countOf('orca-mobile')).toBe('1 of 1') -}) - -it('starts expanded; collapsing hides a node’s rows and keeps their selection', () => { - render({ candidates: seedTree() }) - const parent = disclosureOf('parent') - expect(parent.getAttribute('aria-expanded')).toBe('true') - expect(parent.getAttribute('aria-label')).toBe('Collapse parent') - expect(parent.tabIndex).toBe(-1) - act(() => chatBox('in-child').click()) - - act(() => parent.click()) - expect(treeOutline()).toEqual([ - '1:project:orca', - '2:workspace:parent', - '2:workspace:other', - '3:chat:in-other' - ]) - expect(disclosureOf('parent').getAttribute('aria-label')).toBe('Expand parent') - expect(nodeBox('parent').closest('[role="treeitem"]')?.getAttribute('aria-expanded')).toBe( - 'false' - ) - // Hidden, not forgotten: the node still counts the pick made inside it. - expect(state(nodeBox('parent'))).toBe('mixed') - expect(countOf('parent')).toBe('2 of 3') - - act(() => disclosureOf('parent').click()) - expect(state(chatBox('in-child'))).toBe('false') - expect(state(chatBox('also-in-child'))).toBe('true') -}) diff --git a/src/renderer/src/components/NativeChatResumeOnRestartGroups.test.tsx b/src/renderer/src/components/NativeChatResumeOnRestartGroups.test.tsx deleted file mode 100644 index 1b45bfcd55d..00000000000 --- a/src/renderer/src/components/NativeChatResumeOnRestartGroups.test.tsx +++ /dev/null @@ -1,73 +0,0 @@ -// @vitest-environment happy-dom - -import { act } from 'react' -import { createRoot, type Root } from 'react-dom/client' -import { afterEach, beforeEach, expect, it, vi } from 'vitest' -import { useAppStore } from '../store' -import { getDefaultSettings } from '../../../shared/constants' -import type { ExecutionHostId } from '../../../shared/execution-host' -import { - candidate, - chatBox, - lineage, - onToggleSpy, - seedTree, - worktree -} from './native-chat-resume-tree.test-support' -import { ResumeTreeHarness as Harness } from './NativeChatResumeTreeHarness.test-support' - -globalThis.IS_REACT_ACT_ENVIRONMENT = true -let root: Root -let container: HTMLElement - -function render(props: React.ComponentProps): void { - act(() => root.render()) -} - -beforeEach(() => { - onToggleSpy.mockReset() - useAppStore.setState(useAppStore.getInitialState(), true) - container = document.createElement('div') - document.body.append(container) - root = createRoot(container) -}) - -afterEach(() => { - act(() => root.unmount()) - vi.restoreAllMocks() - container.remove() - useAppStore.setState(useAppStore.getInitialState(), true) -}) - -it('lists every offered chat exactly once, even with one workspace id on two hosts', () => { - const remote: ExecutionHostId = 'ssh:build-server' - const candidates = seedTree() - const remoteParent = worktree('parent', { hostId: remote, instanceId: 'instance-remote' }) - useAppStore.setState((state) => ({ - worktreesByRepo: { 'repo-1': [...state.worktreesByRepo['repo-1']!, remoteParent] } - })) - const twin = candidate('on-remote', remoteParent) - render({ candidates: [...candidates, twin] }) - - for (const entry of [...candidates, twin]) { - expect( - container.querySelectorAll(`[role="checkbox"][aria-label*="Prompt ${entry.sessionId}"]`) - ).toHaveLength(1) - } - // Same id, different machine: two separate workspace nodes. - expect(container.querySelectorAll('[aria-label="Select all chats in parent"]')).toHaveLength(2) -}) - -it('lists every chat when workspace lineage loops', () => { - const a = worktree('a') - const b = worktree('b') - useAppStore.setState({ - settings: getDefaultSettings(''), - worktreesByRepo: { 'repo-1': [a, b] }, - worktreeLineageById: { [a.id]: lineage(a, b), [b.id]: lineage(b, a) } - }) - render({ candidates: [candidate('in-a', a), candidate('in-b', b)] }) - - expect(chatBox('in-a')).toBeTruthy() - expect(chatBox('in-b')).toBeTruthy() -}) diff --git a/src/renderer/src/components/NativeChatResumeRuntimeModal.tsx b/src/renderer/src/components/NativeChatResumeRuntimeModal.tsx deleted file mode 100644 index 373a69643f5..00000000000 --- a/src/renderer/src/components/NativeChatResumeRuntimeModal.tsx +++ /dev/null @@ -1,50 +0,0 @@ -import { useSyncExternalStore } from 'react' -import { - localNativeChatRestartStore, - type NativeChatRestartStore -} from './native-chat-resume-on-restart-store' -import { NativeChatResumeOccurrenceModal } from './NativeChatResumeOnRestartModal' -import { useNativeChatRestartOfferEnabled } from './native-chat-restart-offer-gate' -import { useNativeChatRestartRuntimes } from './native-chat-restart-runtimes' - -export function NativeChatResumeOnRestartModal(): React.JSX.Element { - const enabled = useNativeChatRestartOfferEnabled() - const runtimes = useNativeChatRestartRuntimes() - return ( - <> - - {runtimes.map(({ environment, store }) => ( - - ))} - - ) -} - -export function NativeChatResumeRuntimeModal({ - store, - machineName, - offerEnabled -}: { - store: NativeChatRestartStore - machineName?: string - offerEnabled: boolean -}): React.JSX.Element | null { - const occurrence = useSyncExternalStore( - store.subscribe, - store.getNativeChatRestartOccurrence, - store.getNativeChatRestartOccurrence - ) - return ( - - ) -} diff --git a/src/renderer/src/components/NativeChatResumeTreeHarness.test-support.tsx b/src/renderer/src/components/NativeChatResumeTreeHarness.test-support.tsx deleted file mode 100644 index 02f482ba820..00000000000 --- a/src/renderer/src/components/NativeChatResumeTreeHarness.test-support.tsx +++ /dev/null @@ -1,47 +0,0 @@ -// Mount the resume tree with dialog-owned selection for group-toggle tests. - -import { useState } from 'react' -import { ResumeOnRestartGroups } from './NativeChatResumeOnRestartGroups' -import { TooltipProvider } from './ui/tooltip' -import type { ResumeCandidate, ResumeFailure } from './native-chat-resume-on-restart-grouping' -import { onToggleSpy } from './native-chat-resume-tree.test-support' - -/** Owns the selection the way the dialog does, so group toggles show their effect. */ -export function ResumeTreeHarness({ - candidates, - initiallySelected, - busy = false, - failureFor -}: { - candidates: ResumeCandidate[] - initiallySelected?: string[] - busy?: boolean - failureFor?: (sessionId: string) => ResumeFailure | undefined -}): React.JSX.Element { - const [selected, setSelected] = useState>( - () => new Set(initiallySelected ?? candidates.map((entry) => entry.sessionId)) - ) - return ( - - { - onToggleSpy(sessionId, checked) - setSelected((current) => { - const next = new Set(current) - if (checked) { - next.add(sessionId) - } else { - next.delete(sessionId) - } - return next - }) - }} - failureFor={failureFor} - /> - - ) -} diff --git a/src/renderer/src/components/NewWorkspaceComposerCard.tsx b/src/renderer/src/components/NewWorkspaceComposerCard.tsx index 514a3b90408..fc28448d151 100644 --- a/src/renderer/src/components/NewWorkspaceComposerCard.tsx +++ b/src/renderer/src/components/NewWorkspaceComposerCard.tsx @@ -1,17 +1,17 @@ import React from 'react' import { useTranslation } from 'react-i18next' import { toast } from 'sonner' -import { useAppStore } from '@/store' -import { cn } from '@/lib/utils' +import { useAppStore } from '@/store/index' +import { cn } from '@/lib/class-names' import { getAgentCatalog } from '@/lib/agent-catalog/agent-catalog' -import { getScreenSubmitModifierLabel } from '@/lib/screen-submit-shortcut' -import { resolveProjectCloneUrlPrefill } from '@/lib/project-clone-url-prefill' +import { getScreenSubmitModifierLabel } from '@/lib/keyboard/screen-submit-shortcut' +import { resolveProjectCloneUrlPrefill } from '@/lib/workspace/creation/project-clone-url-prefill' import { useContextualTour } from '@/components/contextual-tours/use-contextual-tour' import { AddRemoteHostDialog, type AddRemoteHostMode } from '@/components/sidebar/host-admission/ssh/AddRemoteHostDialog' -import { lazyWithRetry } from '@/lib/lazy-with-retry' +import { lazyWithRetry } from '@/app-shell/startup/lazy-with-retry' import type * as SetProjectLocationDialogModule from '@/components/new-workspace/SetProjectLocationDialog' import { unwrapRuntimeRpcResult } from '@/runtime/rpc/calls/runtime-rpc-result' import { withUiConnectTimeout } from '@/ssh/ssh-connect-ui-timeout' diff --git a/src/renderer/src/components/NewWorkspaceComposerModal.retention.test.tsx b/src/renderer/src/components/NewWorkspaceComposerModal.retention.test.tsx deleted file mode 100644 index d01c63cd408..00000000000 --- a/src/renderer/src/components/NewWorkspaceComposerModal.retention.test.tsx +++ /dev/null @@ -1,423 +0,0 @@ -// @vitest-environment happy-dom -// Exercise production Modal/Card/Picker/inventory with synthetic composer targets. -import React, { useRef, useState } from 'react' -import { act, cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react' -import { afterEach, beforeEach, expect, it, vi } from 'vitest' -import { useAppStore } from '@/store' -import { getDefaultSettings } from '../../../shared/constants' -import { RUNTIME_CAPABILITIES } from '../../../shared/protocol-version' -import { setLocalRuntimeCapabilitiesForTests } from '@/runtime/hosts/capabilities/local-runtime-capabilities' -import { TooltipProvider } from '@/components/ui/tooltip' -import NewWorkspaceComposerModal from './NewWorkspaceComposerModal' -import type { NewWorkspaceComposerCardProps } from './new-workspace/new-workspace-composer-card-props' -import type * as SetupButtonModule from './agent/AgentLaunchSetupButton' -import type { TuiAgent } from '../../../shared/agent-launch/catalog/tui-agent' -import type { AgentPickerDraft } from '../../../shared/agent-launch/picker/agent-launch-picker' -import { TEST_REPO } from '@/store/repos/repo.test-fixture' - -const evidence = vi.hoisted(() => { - const trace: { - phase: string - agent: string - target?: string - authority?: string - initial?: AgentPickerDraft - }[] = [] - return { phase: '', trace, submit: vi.fn(), toast: vi.fn() } -}) -vi.mock('sonner', () => ({ toast: { error: evidence.toast } })) -vi.mock('@/components/agent/AgentLaunchSetupButton', async (importOriginal) => { - const original = await importOriginal() - return { - ...original, - AgentLaunchSetupButton: ( - props: React.ComponentProps - ) => { - evidence.trace.push({ - phase: evidence.phase, - agent: props.entry.agent, - target: props.entry.draftTarget?.key, - authority: props.entry.ownerKey, - initial: (props.seed ?? props.initial) && structuredClone(props.seed ?? props.initial) - }) - return - } - } -}) -vi.mock('../runtime/native-chat/requests/structured-agent-session-call', () => ({ - callStructuredAgentSession: async ( - _target: unknown, - method: string, - params: { agent: string } - ) => - method === 'agentSession.modelCatalog' - ? { - origin: 'probe', - fetchedAt: 1, - models: [ - { - id: params.agent === 'claude' ? 'opus' : 'gpt-6.1-sol', - label: params.agent === 'claude' ? 'Opus' : 'GPT-6.1-Sol', - isDefault: true, - defaultEffort: 'medium', - efforts: [ - { value: 'low', label: 'Low' }, - { value: 'medium', label: 'Med' }, - { value: 'high', label: 'High' } - ] - }, - ...(params.agent === 'claude' - ? [{ id: 'sonnet', label: 'Sonnet', efforts: [{ value: 'high', label: 'High' }] }] - : []) - ] - } - : { seedOptions: {} } -})) -vi.mock('@/runtime/rpc/calls/runtime-rpc-call', () => ({ - callRuntimeRpc: async () => ({ - agents: [ - { agent: 'claude', capabilities: {} }, - { agent: 'codex', capabilities: {} } - ] - }) -})) -vi.mock('@/runtime/native-chat/agent-catalogs/use-host-structured-agent-availability', () => ({ - useHostStructuredAgentAvailability: () => ({ - state: 'received', - byAgent: new Map([ - ['claude', { agent: 'claude', state: 'available' }], - ['codex', { agent: 'codex', state: 'available' }] - ]) - }) -})) -vi.mock('@/hooks/useDetectedAgents', () => ({ - useDetectedAgents: () => ({ - detectedIds: ['claude', 'codex'], - isLoading: false, - isRefreshing: false, - detectionFailed: false, - needsServerUpdate: false, - refresh: async () => ['claude', 'codex'] - }) -})) -vi.mock('@/hooks/useShortcutLabel', () => ({ useOptionalShortcutLabel: () => null })) -vi.mock('@/components/contextual-tours/use-contextual-tour', () => ({ - useContextualTour: () => {} -})) -vi.mock('@/components/sidebar/host-admission/ssh/AddRemoteHostDialog', () => ({ - AddRemoteHostDialog: () => null -})) -vi.mock('@/components/new-workspace/SmartWorkspaceNameField', () => ({ - default: () => -})) - -const noOp = () => {} -const detected = new Set(['claude', 'codex']) -const projects = [ - { - kind: 'project' as const, - id: 'project:w1', - projectId: 'w1', - displayName: 'W1 git', - badgeColor: '', - detail: '/w1', - parentPath: '/w1', - connectionId: null - }, - { - kind: 'project' as const, - id: 'project:w2', - projectId: 'w2', - displayName: 'W2 folder', - badgeColor: '', - detail: '/w2', - parentPath: '/w2', - connectionId: null - } -] -vi.mock('@/hooks/useComposerState', () => ({ - useComposerState: (options: { initialNote?: string; initialName?: string }) => { - const [project, setProject] = useState('project:w1') - const [note, setNote] = useState(options.initialNote ?? 'Investigate the failing check') - const folder = project === 'project:w2' - const repoId = folder ? 'w2' : 'w1' - // The same prospective target shape as resolveComposerAgentRows for local repos. - const cardProps: Omit< - NewWorkspaceComposerCardProps, - 'quickAgent' | 'onQuickAgentChange' | 'onOpenAgentSettings' - > = { - eligibleRepos: [], - repoId, - selectedRepoIsGit: !folder, - projectOptions: projects, - selectedProjectId: project, - onProjectChange: setProject, - onRepoChange: noOp, - selectedRepoPath: folder ? '/w2' : '/w1', - selectedRepoExecutionHostId: 'local', - detectedAgentIds: detected, - agentRows: { - target: { - workspace: { kind: folder ? 'folder' : 'git-worktree', repoId, executionHostId: 'local' } - }, - detectionTarget: { kind: 'local' } - }, - primaryActionLabel: 'Create', - name: options.initialName ?? 'repair-check', - onNameValueChange: noOp, - onSmartGitHubItemSelect: noOp, - onSmartGitLabItemSelect: noOp, - onSmartBranchSelect: noOp, - onSmartLinearIssueSelect: noOp, - smartNameSelection: null, - onClearSmartNameSelection: noOp, - canReuseSelectedBranch: false, - reuseSelectedBranch: false, - onReuseSelectedBranchChange: noOp, - forkPushWarning: null, - advancedOpen: false, - setupChoiceRevealRequest: 0, - onSetupChoiceRevealed: noOp, - onToggleAdvanced: noOp, - parentWorktreeId: null, - onParentWorktreeIdChange: noOp, - createDisabled: false, - projectError: null, - creating: false, - onCreate: noOp, - note, - onNoteChange: setNote, - setupConfig: null, - requiresExplicitSetupChoice: false, - setupDecision: null, - onSetupDecisionChange: noOp, - setupAgentStartupPolicy: 'start-immediately', - onSetupAgentStartupPolicyChange: noOp, - shouldWaitForSetupCheck: false, - resolvedSetupDecision: null, - createError: null, - selectedRepoConnectionId: null, - selectedRepoSshStatus: null, - selectedRepoRequiresConnection: false, - selectedRepoConnectInProgress: false, - onConnectSelectedRepo: async () => {}, - canUseSparseCheckout: false, - sparsePresets: [], - sparseSelectedPresetId: null, - onSparseSelectPreset: noOp, - branchNameOverride: undefined, - onBranchNameOverrideChange: noOp, - branchesEnabled: false, - setupControlsEnabled: false, - sparseControlsEnabled: false, - projectHostSetupOptions: [] - } - return { - cardProps, - composerRef: useRef(null), - submitQuick: evidence.submit, - createDisabled: false - } - } -})) -const initialState = useAppStore.getState() -const originalApi = window.api -beforeEach(() => { - evidence.trace = [] - evidence.phase = 'mount' - evidence.submit.mockReset() - vi.stubGlobal('IS_REACT_ACT_ENVIRONMENT', true) - setLocalRuntimeCapabilitiesForTests(RUNTIME_CAPABILITIES) - useAppStore.setState({ - activeModal: 'new-workspace-composer', - modalData: {}, - repos: [ - { ...TEST_REPO, id: 'w1', path: '/w1' }, - { ...TEST_REPO, id: 'w2', path: '/w2' } - ], - settings: { - ...getDefaultSettings('/synthetic-pr35802'), - nativeChatProviders: {}, - defaultTuiAgent: 'claude', - agentPermissionDefault: 'own', - agentLaunchChoices: { - claude: { model: 'opus', options: { effort: 'medium' } }, - codex: { model: 'gpt-6.1-sol', options: { effort: 'medium' } } - } - }, - localDetectedAgentIdsByContext: { host: ['claude', 'codex'] }, - ensureDetectedAgents: async () => ['claude', 'codex'] - }) -}) -afterEach(() => { - cleanup() - useAppStore.setState(initialState, true) - Object.defineProperty(window, 'api', { configurable: true, value: originalApi }) - vi.restoreAllMocks() - vi.unstubAllGlobals() -}) -const textarea = () => - document.querySelector('textarea[aria-label="Arguments"]')! -async function open(agent: string) { - if (!document.querySelector('[role="menu"][data-state="open"]')) { - fireEvent.pointerDown(screen.getByRole('button', { name: 'Select agent' }), { - button: 0, - ctrlKey: false - }) - } - const configure = await screen.findByRole('button', { name: `Configure ${agent}` }) - fireEvent.click(configure) - await waitFor(() => expect(textarea()).not.toBeNull()) - await waitFor(() => - expect(screen.getByRole('radio', { name: 'Low' }).hasAttribute('disabled')).toBe(false) - ) -} -async function useDraft(surface: 'chat' | 'terminal' = 'terminal') { - fireEvent.blur(textarea()) - fireEvent.click( - screen.getByRole('button', { - name: surface === 'chat' ? 'Launch chat' : 'Launch terminal' - }) - ) - await waitFor(() => - expect( - document.querySelector( - '[data-slot="dropdown-menu-sub-content"][aria-label^="Configure "][data-state="open"]' - ) - ).toBeNull() - ) -} -async function closeMenu() { - const panel = document.querySelector( - '[data-slot="dropdown-menu-sub-content"][aria-label^="Configure "][data-state="open"]' - ) - if (panel) { - const input = textarea() - act(() => input.focus()) - fireEvent.keyDown(input, { key: 'Escape' }) - await waitFor(() => - expect( - document.querySelector( - '[data-slot="dropdown-menu-sub-content"][aria-label^="Configure "][data-state="open"]' - ) - ).toBeNull() - ) - } - const trigger = document.querySelector('button[aria-label="Select agent"]')! - if (trigger.getAttribute('aria-expanded') === 'true') { - fireEvent.pointerDown(trigger, { button: 0, ctrlKey: false }) - } - await waitFor(() => expect(trigger.getAttribute('aria-expanded')).toBe('false')) -} -async function visit(label: string) { - await closeMenu() - fireEvent.click(screen.getByRole('button', { name: 'Browse projects' })) - const option = await screen.findByRole('option', { name: new RegExp(label) }) - fireEvent.click(option) - await act(async () => {}) -} -function last(agent: string) { - return evidence.trace.findLast((row) => row.agent === agent)! -} -function snapshot(phase: string) { - const row = last('claude') - return { phase, target: row.target, authority: row.authority, initial: row.initial } -} - -it('pr35802 retains ordinary W1 accepted Low/verbose after parent echo then W2 Codex Use', async () => { - render(, { wrapper: TooltipProvider }) - await open('Claude') - const start = snapshot('w1-before') - fireEvent.click(screen.getByRole('radio', { name: 'Low' })) - fireEvent.change(textarea(), { target: { value: '--verbose' } }) - await useDraft() - evidence.phase = 'w1-immediate-reopen' - await open('Claude') - expect(textarea().value).toBe('--verbose') - expect(screen.getByRole('radio', { name: 'Low' }).getAttribute('aria-checked')).toBe('true') - const echo = snapshot('w1-echo') - expect(echo.initial?.choices.options?.effort).toBe('low') - expect(echo.initial?.arguments).toBe('--verbose') - await visit('W2 folder') - evidence.phase = 'w2-codex' - await open('Codex') - fireEvent.click(screen.getByRole('radio', { name: 'Med' })) - await useDraft() - await open('Codex') - expect(screen.getByRole('radio', { name: 'Med' }).getAttribute('aria-checked')).toBe('true') - const w2 = last('codex') - await visit('W1 git') - evidence.phase = 'w1-return' - await open('Claude') - const returned = snapshot('w1-return') - expect(returned.target).toBe(start.target) - expect(returned.authority).toBe(start.authority) - expect(returned.initial).toBeUndefined() - expect.soft(textarea().value).toBe('--verbose') - expect.soft(screen.getByRole('radio', { name: 'Low' }).getAttribute('aria-checked')).toBe('true') - fireEvent.change(textarea(), { target: { value: '--pending-after-accepted' } }) - await visit('W2 folder') - await open('Codex') - expect(screen.getByRole('radio', { name: 'Med' }).getAttribute('aria-checked')).toBe('true') - expect(last('codex').authority).toBe(w2.authority) - expect(textarea().value).toBe('') - await visit('W1 git') - await open('Claude') - expect(textarea().value).toBe('--pending-after-accepted') - expect(screen.getByRole('radio', { name: 'Low' }).getAttribute('aria-checked')).toBe('true') - expect(evidence.submit).not.toHaveBeenCalled() -}) - -it('pr35802 retains authored Args through same-target Settings acquisition refresh', async () => { - render(, { wrapper: TooltipProvider }) - await open('Claude') - const before = snapshot('before-reset') - fireEvent.change(textarea(), { target: { value: '--verbose' } }) - await closeMenu() - act(() => - useAppStore.setState((state) => ({ - settings: { ...state.settings!, agentDefaultArgs: { claude: '--debug' } } - })) - ) - await open('Claude') - expect(last('claude').target).toBe(before.target) - expect(last('claude').authority).not.toBe(before.authority) - expect(textarea().value).toBe('--verbose') - expect(evidence.submit).not.toHaveBeenCalled() -}) - -it('offers Reopen with the submitted target and picker and does not replace a newer modal', async () => { - useAppStore.setState({ modalData: { prefilledName: 'repair-check' } }) - render( - - - - ) - await open('Claude') - fireEvent.change(textarea(), { target: { value: '--verbose' } }) - fireEvent.click(screen.getByRole('radio', { name: 'Low' })) - await useDraft() - const create = await screen.findByRole('button', { name: 'Create worktree' }) - await waitFor(() => expect(create.hasAttribute('disabled')).toBe(false)) - fireEvent.click(create) - await waitFor(() => expect(evidence.submit).toHaveBeenCalledOnce()) - const recovery = evidence.submit.mock.calls[0]?.[1].onLegacyPreparationFailure - act(() => useAppStore.getState().closeModal()) - act(() => recovery(new Error('Invalid Arguments'))) - const reopen = evidence.toast.mock.calls.at(-1)?.[1].action.onClick - act(() => useAppStore.getState().openModal('agent-session-history')) - act(reopen) - expect(useAppStore.getState().activeModal).toBe('agent-session-history') - act(() => useAppStore.getState().closeModal()) - act(reopen) - expect(useAppStore.getState().activeModal).toBe('new-workspace-composer') - expect(useAppStore.getState().modalData).toMatchObject({ - prefilledName: 'repair-check', - initialRepoId: 'w1', - initialWorkspaceTarget: { projectId: 'project:w1' }, - recovery: { agent: 'claude', note: 'Investigate the failing check' } - }) - await open('Claude') - expect(textarea().value).toBe('--verbose') - expect(screen.getByRole('radio', { name: 'Low' }).getAttribute('aria-checked')).toBe('true') -}) diff --git a/src/renderer/src/components/NewWorkspaceComposerModal.tsx b/src/renderer/src/components/NewWorkspaceComposerModal.tsx index 1c0169e1b1b..d36e3994a86 100644 --- a/src/renderer/src/components/NewWorkspaceComposerModal.tsx +++ b/src/renderer/src/components/NewWorkspaceComposerModal.tsx @@ -3,17 +3,17 @@ import { toast } from 'sonner' import { formatWorkspaceCreateError, getWorkspaceCreateErrorToastMessage -} from '@/lib/workspace-create-error-format' +} from '@/lib/workspace/creation/workspace-create-error-format' import type { AgentPickerDraft, AgentPickerEntry } from '../../../shared/agent-launch/picker/agent-launch-picker' import { DirectWorkItemSetupDialog } from './new-workspace/DirectWorkItemSetupDialog' -import { agentChoicePending } from '@/lib/host-chat-program' +import { agentChoicePending } from '@/lib/agent-session/launch/inventory/host-chat-program' import type { AgentLaunchSurface } from '@/lib/agent-session/launch/routing/agent-session-launch-plan' import React, { Suspense, useCallback, useEffect, useMemo, useRef, useState } from 'react' import { useAppStore } from '@/store/index' -import { lazyWithRetry } from '@/lib/lazy-with-retry' +import { lazyWithRetry } from '@/app-shell/startup/lazy-with-retry' import { Dialog, DialogContent, @@ -32,14 +32,14 @@ import { quickWorkspacePickerInputs, pickQuickWorkspaceAgent, resolveQuickWorkspaceAgentSelection -} from '@/lib/quick-workspace-agent-selection' -import { useAgentsOfferedForLaunch } from '@/lib/host-chat-program-acquisition' -import { shouldAllowComposerEnterSubmitTarget } from '@/lib/new-workspace-enter-guard' -import { isScreenSubmitShortcut } from '@/lib/screen-submit-shortcut' +} from '@/lib/workspace/creation/quick-workspace-agent-selection' +import { useAgentsOfferedForLaunch } from '@/lib/agent-session/launch/inventory/host-chat-program-acquisition' +import { shouldAllowComposerEnterSubmitTarget } from '@/lib/workspace/creation/new-workspace-enter-guard' +import { isScreenSubmitShortcut } from '@/lib/keyboard/screen-submit-shortcut' import type { TuiAgent } from '../../../shared/agent-launch/catalog/tui-agent' import { translate } from '@/i18n/i18n' import { useTranslate } from '@/i18n/use-translate' -import { getWorkspaceComposerInitialFocusTarget } from '@/lib/workspace-composer-initial-focus' +import { getWorkspaceComposerInitialFocusTarget } from '@/lib/workspace/creation/workspace-composer-initial-focus' import '@/components/sidebar/workspace-creation/folder/folder-workspace-source-repos' import { getFolderWorkspacePrimaryActionLabel } from '@/components/sidebar/workspace-creation/folder/folder-workspace-source-selection' import { useAgentMenuObservation } from '@/components/tab-bar/use-new-tab-agent-menu-rows' diff --git a/src/renderer/src/components/NotificationCardStack.tsx b/src/renderer/src/components/NotificationCardStack.tsx index f047c6d7662..c315855e263 100644 --- a/src/renderer/src/components/NotificationCardStack.tsx +++ b/src/renderer/src/components/NotificationCardStack.tsx @@ -2,11 +2,11 @@ import { useEffect, useRef, type ReactNode } from 'react' import { NOTIFICATION_CARD_STACK_BOTTOM, NOTIFICATION_CARD_STACK_HEIGHT_VAR -} from '@/lib/notification-card-stack-height' +} from '@/lib/notifications/notification-card-stack-height' import { registerNotificationCardLayoutVarReader, setNotificationCardLayoutVar -} from '@/lib/notification-card-layout-vars' +} from '@/lib/notifications/notification-card-layout-vars' const STACK_STYLE = { bottom: NOTIFICATION_CARD_STACK_BOTTOM, diff --git a/src/renderer/src/components/OrcaSignInProgress.tsx b/src/renderer/src/components/OrcaSignInProgress.tsx index 10caa6e6dae..371b9a585f5 100644 --- a/src/renderer/src/components/OrcaSignInProgress.tsx +++ b/src/renderer/src/components/OrcaSignInProgress.tsx @@ -3,8 +3,8 @@ import { toast } from 'sonner' import { Button } from './ui/button' import { translate } from '@/i18n/i18n' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' -import { useAppStore } from '../store' +import { cn } from '@/lib/class-names' +import { useAppStore } from '../store/index' async function copySignInLink(link: string): Promise { try { diff --git a/src/renderer/src/components/QuickOpen.selection.test.tsx b/src/renderer/src/components/QuickOpen.selection.test.tsx deleted file mode 100644 index e50d640553d..00000000000 --- a/src/renderer/src/components/QuickOpen.selection.test.tsx +++ /dev/null @@ -1,95 +0,0 @@ -// @vitest-environment happy-dom - -import { cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react' -import { afterEach, beforeEach, expect, it, vi } from 'vitest' -import QuickOpen from './QuickOpen' -import { TooltipProvider } from './ui/tooltip' - -const mocks = vi.hoisted(() => ({ open: vi.fn(), close: vi.fn(), skip: vi.fn() })) -const state = { - activeModal: 'quick-open', - activeWorktreeId: 'workspace', - closeModal: mocks.close -} -const history: readonly string[] = [] -const files = [ - 'apps/api/.env', - 'apps/web/.env', - 'src/product_detail.ts', - 'user/UserProfile/index.tsx' -] -vi.mock('@/store', () => ({ - useAppStore: Object.assign((selector: (value: typeof state) => unknown) => selector(state), { - getState: () => state, - subscribe: () => () => {} - }) -})) -vi.mock('@/store/workspaces/selection/use-selected-worktree', () => ({ - useActiveWorktree: () => ({ path: '/workspace' }) -})) -vi.mock('@/store/workspaces/selection/known-worktree-selection', () => ({ - selectFileListWorktree: () => ({ path: '/workspace' }) -})) -vi.mock('./quick-open-file-list', () => ({ - useRuntimeFileListForWorktree: () => ({ files, loading: false, loadError: null }) -})) -vi.mock('./right-sidebar/file-explorer/navigation/file-explorer-operation-owner', () => ({ - getFileExplorerOperationOwnerFromState: () => ({ kind: 'local' }) -})) -vi.mock('./quick-open-file-navigation', () => ({ openQuickOpenFile: mocks.open })) -vi.mock('@/lib/quick-open-file-history', () => ({ - useQuickOpenHistory: () => history -})) -vi.mock('@/hooks/useModalReturnFocus', () => ({ - useModalReturnFocus: () => ({ captureReturnFocus: () => {}, skipReturnFocus: mocks.skip }) -})) -vi.mock('@/i18n/i18n', () => ({ translate: (_key: string, fallback: string) => fallback })) - -beforeEach(() => { - state.activeModal = 'quick-open' - state.activeWorktreeId = 'workspace' - vi.clearAllMocks() - mocks.open.mockResolvedValue(undefined) - HTMLElement.prototype.scrollIntoView = vi.fn() -}) -afterEach(cleanup) - -it.each(['settings', 'workspace-change', 'query-change'])( - 'does not close or focus after %s replaces a pending selection', - async (change) => { - let settle: (() => void) | undefined - mocks.open.mockImplementationOnce( - () => - new Promise((resolve) => { - settle = resolve - }) - ) - const view = render( - - - - ) - const input = screen.getByRole('combobox') - fireEvent.change(input, { target: { value: 'product-detail' } }) - await waitFor(() => expect(screen.getAllByRole('option')).toHaveLength(1)) - fireEvent.keyDown(input, { key: 'Enter', code: 'Enter' }) - await waitFor(() => expect(mocks.open).toHaveBeenCalledOnce()) - const assertCurrent = mocks.open.mock.calls[0][5] - if (change === 'settings') { - state.activeModal = 'settings' - } else if (change === 'workspace-change') { - state.activeWorktreeId = 'another' - } else { - fireEvent.change(input, { target: { value: 'user-profile' } }) - } - view.rerender( - - - - ) - expect(assertCurrent).toThrow('cancelled') - settle?.() - await waitFor(() => expect(mocks.skip).not.toHaveBeenCalled()) - expect(mocks.close).not.toHaveBeenCalled() - } -) diff --git a/src/renderer/src/components/QuickOpen.tsx b/src/renderer/src/components/QuickOpen.tsx index 826c40753fd..8116a282413 100644 --- a/src/renderer/src/components/QuickOpen.tsx +++ b/src/renderer/src/components/QuickOpen.tsx @@ -17,7 +17,7 @@ import { } from '../../../shared/quick-open/quick-open-query-target' import { openQuickOpenFile } from './quick-open-file-navigation' import { rankQuickOpenFilesWithHistory } from './quick-open-history-ranking' -import { useQuickOpenHistory } from '@/lib/quick-open-file-history' +import { useQuickOpenHistory } from '@/lib/files/search/quick-open-file-history' import { useRuntimeFileListForWorktree } from '@/components/quick-open-file-list' import { useModalReturnFocus } from '@/hooks/useModalReturnFocus' import { useTranslate } from '@/i18n/use-translate' diff --git a/src/renderer/src/components/ShortcutKeyCombo.tsx b/src/renderer/src/components/ShortcutKeyCombo.tsx index 396680ad38b..c9696840ea9 100644 --- a/src/renderer/src/components/ShortcutKeyCombo.tsx +++ b/src/renderer/src/components/ShortcutKeyCombo.tsx @@ -1,5 +1,5 @@ import React from 'react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' function KeyCap({ diff --git a/src/renderer/src/components/TerminalLegacyEditorSurface.tsx b/src/renderer/src/components/TerminalLegacyEditorSurface.tsx index 33fcd96dd30..25a906a1fec 100644 --- a/src/renderer/src/components/TerminalLegacyEditorSurface.tsx +++ b/src/renderer/src/components/TerminalLegacyEditorSurface.tsx @@ -1,5 +1,5 @@ import { Suspense } from 'react' -import { lazyWithRetry as lazy } from '@/lib/lazy-with-retry' +import { lazyWithRetry as lazy } from '@/app-shell/startup/lazy-with-retry' import { useTranslate } from '@/i18n/use-translate' import type { TerminalController } from './use-terminal-controller' diff --git a/src/renderer/src/components/TerminalSearch.tsx b/src/renderer/src/components/TerminalSearch.tsx index 7d0cb2b2254..1b1681d69d5 100644 --- a/src/renderer/src/components/TerminalSearch.tsx +++ b/src/renderer/src/components/TerminalSearch.tsx @@ -5,7 +5,7 @@ import type { SearchAddon } from '@xterm/addon-search' import { Button } from '@/components/ui/button' import type { SearchState } from '@/components/terminal-pane/input/keyboard/terminal-keyboard-shortcut-matching' import { useTranslate } from '@/i18n/use-translate' -import { getFindRequestQuery } from '@/lib/find-query-bounds' +import { getFindRequestQuery } from '@/lib/text-search/find-query-bounds' import { safeFind } from './terminal-search-safe-find' import { buildTerminalSearchOptions } from './terminal-search-options' diff --git a/src/renderer/src/components/TerminalWorkspaceDialogs.tsx b/src/renderer/src/components/TerminalWorkspaceDialogs.tsx index f0b4c6166a2..f97709a1b6a 100644 --- a/src/renderer/src/components/TerminalWorkspaceDialogs.tsx +++ b/src/renderer/src/components/TerminalWorkspaceDialogs.tsx @@ -91,8 +91,8 @@ export function TerminalWorkspaceDialogs({ 'A remote host could not be reached, so Orca cannot tell whether work is still running there. Close the window anyway?' ) : t( - 'auto.components.Terminal.7958465754', - 'There are terminals with running processes. Close the window anyway?' + 'auto.components.Terminal.93c2e9d845', + 'There is running work in chats or terminals. Close the window anyway?' )} diff --git a/src/renderer/src/components/UnexpectedSignoutCard.tsx b/src/renderer/src/components/UnexpectedSignoutCard.tsx index 6526bbab29b..86dc10bc0f8 100644 --- a/src/renderer/src/components/UnexpectedSignoutCard.tsx +++ b/src/renderer/src/components/UnexpectedSignoutCard.tsx @@ -1,8 +1,8 @@ import { useEffect, useState } from 'react' import { BookOpen, ChevronDown, CircleUserRound, Files, Smartphone, X } from 'lucide-react' -import { useAppStore } from '../store' +import { useAppStore } from '../store/index' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { Button } from './ui/button' import { Card } from './ui/card' import { Collapsible, CollapsibleContent, CollapsibleTrigger } from './ui/collapsible' diff --git a/src/renderer/src/components/UpdateCard.tsx b/src/renderer/src/components/UpdateCard.tsx index 95105a3408b..f32f72c6e5d 100644 --- a/src/renderer/src/components/UpdateCard.tsx +++ b/src/renderer/src/components/UpdateCard.tsx @@ -2,11 +2,11 @@ import { useCallback, useEffect, useRef, useState } from 'react' import { X } from 'lucide-react' import type { ChangelogData } from '../../../shared/update-status-types' import { usePrefersReducedMotion } from '@/hooks/usePrefersReducedMotion' -import { useAppStore } from '../store' +import { useAppStore } from '../store/index' import { Card } from './ui/card' import { Button } from './ui/button' import { useTranslate } from '@/i18n/use-translate' -import { updaterMessageText } from '@/lib/updater-message-copy' +import { updaterMessageText } from '@/app-shell/updates/updater-message-copy' import { UpdateCardStateContent } from './maintenance/update-card/UpdateCardStateContent' import { buildUpdateCardErrorModel } from './maintenance/update-card/update-card-error-model' import { diff --git a/src/renderer/src/components/ZoomOverlay.tsx b/src/renderer/src/components/ZoomOverlay.tsx index 6a399b1bec0..66581de9e5e 100644 --- a/src/renderer/src/components/ZoomOverlay.tsx +++ b/src/renderer/src/components/ZoomOverlay.tsx @@ -1,7 +1,10 @@ import { useEffect, useRef, useState } from 'react' import { Search } from 'lucide-react' -import { ZOOM_LEVEL_CHANGED_EVENT } from '@/lib/zoom-events' -import type { ZoomLevelChangedEventDetail } from '@/lib/zoom-events' +import { + ZOOM_LEVEL_CHANGED_EVENT, + type ZoomLevelChangedEventDetail +} from '@/app-shell/chrome/zoom-events' + import { useTranslate } from '@/i18n/use-translate' // Unmount after fading so the fixed overlay cannot interfere with Radix layering, outside clicks or focus. diff --git a/src/renderer/src/components/activity/ActivityPrototypePage-test-fixtures.ts b/src/renderer/src/components/activity/ActivityPrototypePage-test-fixtures.ts index c4a0b1207fb..744af8fff69 100644 --- a/src/renderer/src/components/activity/ActivityPrototypePage-test-fixtures.ts +++ b/src/renderer/src/components/activity/ActivityPrototypePage-test-fixtures.ts @@ -144,6 +144,7 @@ export function makeActivityResult(args: { retained?: Record tab?: TerminalTab tabs?: TerminalTab[] + ptyIdsByTabId?: Record now?: number }): ReturnType { const repo = makeRepo() @@ -157,6 +158,7 @@ export function makeActivityResult(args: { tabsByWorktree: { [worktree.id]: args.tabs ?? [tab] }, + ptyIdsByTabId: args.ptyIdsByTabId, worktreeMap: new Map([[worktree.id, worktree]]), repoMap: new Map([[repo.id, repo]]), acknowledgedAgentsByPaneKey: {}, diff --git a/src/renderer/src/components/activity/activity-event-builder.ts b/src/renderer/src/components/activity/activity-event-builder.ts index 57b65b1fc25..9b5c4877228 100644 --- a/src/renderer/src/components/activity/activity-event-builder.ts +++ b/src/renderer/src/components/activity/activity-event-builder.ts @@ -1,6 +1,7 @@ import { getStructuredAgentSessionTabsByPaneKey } from '@/components/native-chat/session/status/structured-agent-session-tabs' import { parseAgentStatusPaneIdentity } from '../../../../shared/agent-status/identity/agent-status-worktree-attribution' -import { freshActivityLiveAgentState } from './activity-event-state' +import { tabHasLivePty } from '../../../../shared/tab-has-live-pty' +import { activityLiveAgentState } from './activity-event-state' import type { RetainedAgentEntry } from '@/store/slices/agent-status/agent-status-contract' import type { AgentStatusEntry, @@ -15,9 +16,8 @@ import type { TerminalTab } from '../../../../shared/workspace-layout/terminal-t import type { Worktree } from '../../../../shared/worktree/types' import type { ActivityEvent, ActivityLiveAgentSnapshot } from './activity-thread-types' import { capActivityEvents } from './activity-event-cap' -import { newestActivityHistoryEntries } from './activity-pane-events' +import './activity-pane-events' import { - createActivityEventBuildCache, resolveActivityTabIndexes, resolvePaneBuild, type ActivityEventBuildCache @@ -30,8 +30,6 @@ import { } from './activity-event-builder-context' import type { Translate } from '@/i18n/use-translate' -export { createActivityEventBuildCache, type ActivityEventBuildCache, newestActivityHistoryEntries } - export type BuildActivityEventsArgs = { chatNames: StructuredChatTabNames agentStatusByPaneKey: Record @@ -39,6 +37,7 @@ export type BuildActivityEventsArgs = { migrationUnsupportedByPtyId?: Record retainedAgentsByPaneKey: Record tabsByWorktree: Record + ptyIdsByTabId?: Record unifiedTabsByWorktree?: Record worktreeMap: Map repoMap: Map @@ -104,7 +103,11 @@ export function buildActivityEvents( ) const orchestration = args.runtimeAgentOrchestrationByPaneKey?.[paneKey] // Only fresh raw live state proves working; history and orchestration enrichment cannot establish liveness. - const liveState = freshActivityLiveAgentState(entry, args.now) + const liveState = activityLiveAgentState( + entry, + args.now, + tabHasLivePty(args.ptyIdsByTabId ?? {}, context.tab.id) + ) const { events: paneEvents, live, diff --git a/src/renderer/src/components/activity/activity-event-state.ts b/src/renderer/src/components/activity/activity-event-state.ts index 0c6242dba7c..b14939e6898 100644 --- a/src/renderer/src/components/activity/activity-event-state.ts +++ b/src/renderer/src/components/activity/activity-event-state.ts @@ -1,7 +1,4 @@ -import { - isAgentStatusFresh, - AGENT_STATUS_STALE_AFTER_MS -} from '../../../../shared/agent-status/contracts/agent-status-freshness' +import { resolveAgentRowState } from '../../../../shared/agent-status/presentation/agent-row-decay-state' import type { AgentStatusEntry, @@ -12,24 +9,39 @@ import type { import type { ActivityHookLiveAgentState, ActivityLiveAgentState } from './activity-thread-types' function isActivityHookLiveAgentState( - state: AgentStatusState + state: AgentStatusState | 'idle' ): state is ActivityHookLiveAgentState { return state === 'working' || state === 'blocked' || state === 'waiting' } +/** The card's row state; a stale working pane with a live PTY stays listed as unverifiable instead of vanishing. */ +export function activityLiveAgentState( + entry: AgentStatusEntry, + now: number, + hasLivePty: boolean +): ActivityLiveAgentState | null { + const state = resolveAgentRowState(entry, now, hasLivePty) + if (state === 'unverifiable') { + // Stale blocked/waiting keep their attention status through the historical event path. + return entry.state === 'working' ? state : null + } + if (!isActivityHookLiveAgentState(state)) { + return null + } + return state === 'working' && entry.workingMode === 'monitoring' ? 'monitoring' : state +} + +/** Fresh hook state only, for counts that must not include unverifiable rows. */ export function freshActivityLiveAgentState( entry: AgentStatusEntry, now: number ): ActivityLiveAgentState | null { - if ( - !isActivityHookLiveAgentState(entry.state) || - !isAgentStatusFresh(entry, now, AGENT_STATUS_STALE_AFTER_MS) - ) { - return null - } - return entry.state === 'working' && entry.workingMode === 'monitoring' - ? 'monitoring' - : entry.state + return activityLiveAgentState(entry, now, false) +} + +/** Unverifiable rows stay listed but are not running work. */ +export function isRunningActivityState(state: ActivityLiveAgentState | null | undefined): boolean { + return state != null && state !== 'unverifiable' } export function isHistoricalActivityState( diff --git a/src/renderer/src/components/activity/activity-thread-actions.ts b/src/renderer/src/components/activity/activity-thread-actions.ts index 6c7995f5994..8d10e1c978f 100644 --- a/src/renderer/src/components/activity/activity-thread-actions.ts +++ b/src/renderer/src/components/activity/activity-thread-actions.ts @@ -1,5 +1,5 @@ import { activateTabAndFocusPane } from '@/lib/workspace/tabs/activate-tab-and-focus-pane' -import { revealFloatingWorkspacePanel } from '@/lib/floating-workspace-panel-reveal' +import { revealFloatingWorkspacePanel } from '@/components/floating-terminal/floating-workspace-panel-reveal' import { activateStructuredAgentSessionTab } from '@/lib/agent-session/structured-agent-session-tab-activation' import { activateAndRevealWorkspace } from '@/lib/workspace/activation/worktree-activation' import { jumpToWorktreeFromSidebar } from '@/lib/workspace/activation/worktree-jump-navigation' diff --git a/src/renderer/src/components/activity/activity-thread-child-agent.ts b/src/renderer/src/components/activity/activity-thread-child-agent.ts index 2f2297f3d04..b04bdbf5e04 100644 --- a/src/renderer/src/components/activity/activity-thread-child-agent.ts +++ b/src/renderer/src/components/activity/activity-thread-child-agent.ts @@ -4,6 +4,7 @@ import { resolveAgentRowParentPaneKey, type AgentLineageSourceRow } from '../dashboard/agent-row-lineage-model' +import { isRunningActivityState } from './activity-event-state' import type { ActivityLiveAgentState } from './activity-thread-types' type ChildAgentLineageEntry = Pick @@ -11,7 +12,7 @@ type ChildAgentLineageEntry = Pick thread.currentAgentState).map((thread) => thread.paneKey) + threads + .filter((thread) => isRunningActivityState(thread.currentAgentState)) + .map((thread) => thread.paneKey) ) const tree = buildAgentRowLineageTree(rows) const parentPaneKeyByChild = new Map() diff --git a/src/renderer/src/components/activity/activity-thread-context-menu.tsx b/src/renderer/src/components/activity/activity-thread-context-menu.tsx index 725fceb20b7..9bfb38d71ae 100644 --- a/src/renderer/src/components/activity/activity-thread-context-menu.tsx +++ b/src/renderer/src/components/activity/activity-thread-context-menu.tsx @@ -10,10 +10,10 @@ import { } from '@/components/ui/context-menu' import { translate } from '@/i18n/i18n' import { useTranslate, type Translate } from '@/i18n/use-translate' -import { CLOSE_ALL_CONTEXT_MENUS_EVENT } from '@/lib/close-all-context-menus' +import { CLOSE_ALL_CONTEXT_MENUS_EVENT } from '@/lib/overlay-interaction/close-all-context-menus' import { formatClipboardFilePath } from '@/lib/clipboard/clipboard-file-path' import { getWorktreeRowLocalPathOpenOwner } from '@/lib/workspace/ownership/worktree-row-open-in-owner' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { clearActivityThread, clearCompletedActivity, diff --git a/src/renderer/src/components/activity/activity-thread-controls.tsx b/src/renderer/src/components/activity/activity-thread-controls.tsx index d9520854b5f..bfc9c066c1c 100644 --- a/src/renderer/src/components/activity/activity-thread-controls.tsx +++ b/src/renderer/src/components/activity/activity-thread-controls.tsx @@ -3,8 +3,8 @@ import { ChevronDown } from 'lucide-react' import { AgentStateDot } from '@/components/AgentStateDot' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { useNow } from '@/hooks/use-now' -import { cn } from '@/lib/utils' -import { formatShortTimeAgo } from '@/lib/short-time-ago' +import { cn } from '@/lib/class-names' +import { formatShortTimeAgo } from '@/lib/time-format/short-time-ago' import { RepoBadgeMark } from '@/components/repo/RepoBadgeLabel' import type { Repo } from '../../../../shared/repo-types' import { diff --git a/src/renderer/src/components/activity/activity-thread-detail-pane.tsx b/src/renderer/src/components/activity/activity-thread-detail-pane.tsx index db2fab50f99..171c7e448fa 100644 --- a/src/renderer/src/components/activity/activity-thread-detail-pane.tsx +++ b/src/renderer/src/components/activity/activity-thread-detail-pane.tsx @@ -1,7 +1,7 @@ import React from 'react' import { MessageSquareText, TerminalSquare } from 'lucide-react' import { AgentTypeIcon } from '@/components/agent/icons/agent-type-icon' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' import { EventRepoBadge, ThreadAgentStateIndicator } from './activity-thread-controls' import type { ActivityTerminalPortalSlotId, AgentPaneThread } from './activity-thread-types' diff --git a/src/renderer/src/components/activity/activity-thread-grouping.ts b/src/renderer/src/components/activity/activity-thread-grouping.ts index 1fcea62126c..28d73c3e415 100644 --- a/src/renderer/src/components/activity/activity-thread-grouping.ts +++ b/src/renderer/src/components/activity/activity-thread-grouping.ts @@ -3,7 +3,7 @@ import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' import { formatAgentTypeLabel } from '../../../../shared/agent-status/presentation/agent-type-label' import { getAgentRowPrimaryText } from '../../../../shared/agent-status/presentation/agent-row-primary-text' -import { getActivityThreadWorkspaceTitle } from '@/lib/activity-thread-display' +import { getActivityThreadWorkspaceTitle } from '@/lib/workspace/activity/activity-thread-display' import { isClipboardTextByteLengthOverLimit } from '../../../../shared/clipboard-text' import { activityThreadStatusId, diff --git a/src/renderer/src/components/activity/activity-thread-hover-card-summary.tsx b/src/renderer/src/components/activity/activity-thread-hover-card-summary.tsx index 663bc53bed5..5fb0e19b6d9 100644 --- a/src/renderer/src/components/activity/activity-thread-hover-card-summary.tsx +++ b/src/renderer/src/components/activity/activity-thread-hover-card-summary.tsx @@ -1,7 +1,7 @@ import React, { useCallback, useMemo } from 'react' import { Cloud, Copy, FolderGit2, GitBranch, Laptop, LocateFixed, Server } from 'lucide-react' import { toast } from 'sonner' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { RepoBadgeMark } from '@/components/repo/RepoBadgeLabel' import { AgentTypeIcon } from '@/components/agent/icons/agent-type-icon' import { formatAgentTypeLabel } from '../../../../shared/agent-status/presentation/agent-type-label' @@ -11,15 +11,12 @@ import { translate } from '@/i18n/i18n' import { useTranslate } from '@/i18n/use-translate' import { formatClipboardFilePath } from '@/lib/clipboard/clipboard-file-path' import { getWorktreeRowLocalPathOpenOwner } from '@/lib/workspace/ownership/worktree-row-open-in-owner' -import { cn } from '@/lib/utils' -import { - getExecutionHostLabel, - getWorktreeExecutionHostId, - parseExecutionHostId -} from '../../../../shared/execution-host' +import { cn } from '@/lib/class-names' +import { getWorktreeExecutionHostId, parseExecutionHostId } from '../../../../shared/execution-host' import type { GlobalSettings } from '../../../../shared/global-settings-types' import { getHostDisplayLabelOverrides } from '../../../../shared/host-setting-overrides' import CommentMarkdown from '../sidebar/CommentMarkdown' +import { getTranslatedExecutionHostLabel } from '../sidebar/execution-host-label' import { DetailHeader, MetadataActionIcon @@ -30,7 +27,7 @@ import { } from '../sidebar/workspace-card/details/WorktreeCardDetailSection' import { EventTime, ThreadAgentStateIndicator } from './activity-thread-controls' import { activityThreadRowCopy, threadAgentStateLabel } from './activity-thread-presentation' -import { getActivityThreadWorkspaceTitle } from '@/lib/activity-thread-display' +import { getActivityThreadWorkspaceTitle } from '@/lib/workspace/activity/activity-thread-display' import type { AgentPaneThread } from './activity-thread-types' export function ActivityThreadHoverCardSummary({ @@ -51,7 +48,7 @@ export function ActivityThreadHoverCardSummary({ const executionHostId = getWorktreeExecutionHostId(worktree, repo ?? undefined) const parsedHost = parseExecutionHostId(executionHostId) const hostLabelOverrides = useMemo(() => getHostDisplayLabelOverrides(settings), [settings]) - const hostDisplayLabel = useMemo(() => { + const customHostDisplayLabel = useMemo(() => { const override = hostLabelOverrides.get(executionHostId) if (override) { return override @@ -68,8 +65,10 @@ export function ActivityThreadHoverCardSummary({ return target } } - return getExecutionHostLabel(executionHostId) + return null }, [executionHostId, hostLabelOverrides, parsedHost, runtimeEnvironments, sshTargetLabels]) + const hostDisplayLabel = + customHostDisplayLabel ?? getTranslatedExecutionHostLabel(executionHostId) const branchIdentityDisplay = useMemo(() => getWorktreeGitIdentityDisplay(worktree), [worktree]) const { taskTitle, needsAttention } = activityThreadRowCopy(thread, t) const workspaceTitle = getActivityThreadWorkspaceTitle(worktree) diff --git a/src/renderer/src/components/activity/activity-thread-list-pane.tsx b/src/renderer/src/components/activity/activity-thread-list-pane.tsx index 473f72e8d3a..13168f4f233 100644 --- a/src/renderer/src/components/activity/activity-thread-list-pane.tsx +++ b/src/renderer/src/components/activity/activity-thread-list-pane.tsx @@ -6,7 +6,7 @@ import { useVirtualizer, type Range } from '@tanstack/react-virtual' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' import { ActivityThreadListToolbar } from './activity-thread-list-toolbar' import { diff --git a/src/renderer/src/components/activity/activity-thread-list-resize-handle.tsx b/src/renderer/src/components/activity/activity-thread-list-resize-handle.tsx index 810a2b47853..65f1c34e455 100644 --- a/src/renderer/src/components/activity/activity-thread-list-resize-handle.tsx +++ b/src/renderer/src/components/activity/activity-thread-list-resize-handle.tsx @@ -1,5 +1,5 @@ import type React from 'react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' export function ActivityThreadListResizeHandle({ diff --git a/src/renderer/src/components/activity/activity-thread-list-toolbar.tsx b/src/renderer/src/components/activity/activity-thread-list-toolbar.tsx index 49bf1348cc2..80e9cdd09d6 100644 --- a/src/renderer/src/components/activity/activity-thread-list-toolbar.tsx +++ b/src/renderer/src/components/activity/activity-thread-list-toolbar.tsx @@ -11,7 +11,7 @@ import { } from '@/components/ui/select' import { Toggle } from '@/components/ui/toggle' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' import { ActivityThreadOptionsMenu } from './activity-thread-controls' import type { diff --git a/src/renderer/src/components/activity/activity-thread-presentation.ts b/src/renderer/src/components/activity/activity-thread-presentation.ts index 92913fa6841..38acf5de479 100644 --- a/src/renderer/src/components/activity/activity-thread-presentation.ts +++ b/src/renderer/src/components/activity/activity-thread-presentation.ts @@ -10,7 +10,7 @@ import { getActivityThreadTaskTitle, getActivityThreadWorkspaceTitle, resolveActivityThreadStatusPreview -} from '@/lib/activity-thread-display' +} from '@/lib/workspace/activity/activity-thread-display' import { formatUiRelativeTime } from '@/i18n/relative-time-format' import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' @@ -266,7 +266,11 @@ export function activityThreadRowCopy( const toolPreviewState = liveState === 'monitoring' ? null : liveState const state = activityThreadStatusId(thread) const needsAttention = state === 'waiting' || state === 'blocked' || state === 'permission' - if (renderedPreview && !previewDuplicatesIdentity(renderedPreview, taskTitle, workspaceLabel)) { + if ( + state !== 'unverifiable' && + renderedPreview && + !previewDuplicatesIdentity(renderedPreview, taskTitle, workspaceLabel) + ) { return { taskTitle, statusLine: renderedPreview, diff --git a/src/renderer/src/components/activity/activity-thread-row.tsx b/src/renderer/src/components/activity/activity-thread-row.tsx index ef6e21f58fa..e1f43c68f97 100644 --- a/src/renderer/src/components/activity/activity-thread-row.tsx +++ b/src/renderer/src/components/activity/activity-thread-row.tsx @@ -4,7 +4,7 @@ import { AgentTypeIcon } from '@/components/agent/icons/agent-type-icon' import { formatAgentTypeLabel } from '../../../../shared/agent-status/presentation/agent-type-label' import { Button } from '@/components/ui/button' import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/tooltip' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' import { useUiLanguageRevision } from '@/i18n/use-ui-language-revision' import '../sidebar/workspace-card/activity/worktree-card-empty-inputs' diff --git a/src/renderer/src/components/activity/activity-thread-types.ts b/src/renderer/src/components/activity/activity-thread-types.ts index f336ad375b0..f9015083fa4 100644 --- a/src/renderer/src/components/activity/activity-thread-types.ts +++ b/src/renderer/src/components/activity/activity-thread-types.ts @@ -14,7 +14,7 @@ export type ActivityHookLiveAgentState = Extract< AgentStatusState, 'working' | 'blocked' | 'waiting' > -export type ActivityLiveAgentState = ActivityHookLiveAgentState | 'monitoring' +export type ActivityLiveAgentState = ActivityHookLiveAgentState | 'monitoring' | 'unverifiable' export type ActivityEvent = { id: string state: ActivityEventState diff --git a/src/renderer/src/components/activity/use-agent-pane-thread-store-data.ts b/src/renderer/src/components/activity/use-agent-pane-thread-store-data.ts index cc2aac04cb3..fd52d26f753 100644 --- a/src/renderer/src/components/activity/use-agent-pane-thread-store-data.ts +++ b/src/renderer/src/components/activity/use-agent-pane-thread-store-data.ts @@ -23,6 +23,7 @@ export type AllAgentPaneThreadsStoreData = Pick< | 'migrationUnsupportedByPtyId' | 'retainedAgentsByPaneKey' | 'tabsByWorktree' + | 'ptyIdsByTabId' | 'repos' | 'worktreesByRepo' | 'folderWorkspaces' @@ -65,6 +66,7 @@ export function useAllAgentPaneThreadStoreData(): AllAgentPaneThreadsStoreData { migrationUnsupportedByPtyId: s.migrationUnsupportedByPtyId, retainedAgentsByPaneKey: s.retainedAgentsByPaneKey, tabsByWorktree: s.tabsByWorktree, + ptyIdsByTabId: s.ptyIdsByTabId, activityTabs: (() => { const cache = tabProjectionRef.current if (cache.raw === s.unifiedTabsByWorktree && cache.projected) { diff --git a/src/renderer/src/components/activity/use-agent-pane-threads.ts b/src/renderer/src/components/activity/use-agent-pane-threads.ts index 5f0f444d29d..4c90447a055 100644 --- a/src/renderer/src/components/activity/use-agent-pane-threads.ts +++ b/src/renderer/src/components/activity/use-agent-pane-threads.ts @@ -1,8 +1,9 @@ import { useDeferredValue, useMemo, useRef } from 'react' import { useAppStore } from '@/store' import { useStructuredChatTabNames } from '@/runtime/native-chat/naming/structured-chat-name-observation' -import { buildActivityEvents, createActivityEventBuildCache } from './activity-event-builder' -import { freshActivityLiveAgentState } from './activity-event-state' +import { buildActivityEvents } from './activity-event-builder' +import { createActivityEventBuildCache } from '@/components/activity/activity-event-build-cache' +import { freshActivityLiveAgentState, isRunningActivityState } from './activity-event-state' import { useAgentPaneThreadsDefaultHostId, useAllAgentPaneThreadStoreData, @@ -79,6 +80,7 @@ export function useAllAgentPaneThreads({ badgeOnly = false }: { badgeOnly?: bool migrationUnsupportedByPtyId: storeData.migrationUnsupportedByPtyId, retainedAgentsByPaneKey: storeData.retainedAgentsByPaneKey, tabsByWorktree: storeData.tabsByWorktree, + ptyIdsByTabId: storeData.ptyIdsByTabId, unifiedTabsByWorktree: storeData.activityTabs, worktreeMap: storeData.worktreeMap, repoMap: storeData.repoMap, @@ -226,7 +228,8 @@ export function useAgentPaneThreads(args: { if ( readFilter === 'unread' && !thread.unread && - (thread.currentAgentState === null || thread.migrationUnsupportedPtyId !== undefined) && + (!isRunningActivityState(thread.currentAgentState) || + thread.migrationUnsupportedPtyId !== undefined) && thread.paneKey !== effectiveSelectedPaneKey ) { return false diff --git a/src/renderer/src/components/agent-session-continuation/AgentSessionContinuationDialog.tsx b/src/renderer/src/components/agent-session-continuation/AgentSessionContinuationDialog.tsx index 73eae33015f..8af089829b8 100644 --- a/src/renderer/src/components/agent-session-continuation/AgentSessionContinuationDialog.tsx +++ b/src/renderer/src/components/agent-session-continuation/AgentSessionContinuationDialog.tsx @@ -1,5 +1,5 @@ import { useAgentPickerDraftScope } from '../agent/AgentLaunchSetupButton' -import { agentsOfferedForLaunch } from '@/lib/host-chat-program' +import { agentsOfferedForLaunch } from '@/lib/agent-session/launch/inventory/host-chat-program' import { worktreeLaunchWorkspace } from '@/lib/agent-session/launch/routing/agent-launch-route-input' import { useEffect, useRef, useState } from 'react' import { Loader2, MessageSquarePlus } from 'lucide-react' diff --git a/src/renderer/src/components/agent-tab-shortcut-launch.test.ts b/src/renderer/src/components/agent-tab-shortcut-launch.test.ts index 99beea2032a..4e9e615a3f5 100644 --- a/src/renderer/src/components/agent-tab-shortcut-launch.test.ts +++ b/src/renderer/src/components/agent-tab-shortcut-launch.test.ts @@ -19,7 +19,7 @@ const mocks = vi.hoisted(() => { vi.mock('../store', () => ({ useAppStore: { getState: () => mocks.state } })) vi.mock('@/lib/agent-session/launch/new-tab/launch-agent-in-new-tab', () => ({ - launchAgentInNewTab: mocks.launchAgentInNewTab + launchAgentInNewTabWithOutcome: mocks.launchAgentInNewTab })) vi.mock('@/components/native-chat/composer/focus/native-chat-composer-focus-intent', () => ({ captureNativeChatComposerFocusIntent: () => ({ diff --git a/src/renderer/src/components/agent-tab-shortcut-launch.ts b/src/renderer/src/components/agent-tab-shortcut-launch.ts index 485c2990f80..5dc5b28c641 100644 --- a/src/renderer/src/components/agent-tab-shortcut-launch.ts +++ b/src/renderer/src/components/agent-tab-shortcut-launch.ts @@ -1,6 +1,7 @@ import { toast } from 'sonner' -import { launchAgentInNewTab } from '@/lib/agent-session/launch/new-tab/launch-agent-in-new-tab' -import { newAgentLaunchRequestId } from '@/lib/agent-session/launch/routing/agent-launch-request-id' +import { launchAgentInNewTabWithOutcome } from '@/lib/agent-session/launch/new-tab/launch-agent-in-new-tab' + +import { createNonSecureContextUuid } from '../../../shared/non-secure-context-uuid' import { translate } from '@/i18n/i18n' import { selectFloatingWorkspacePanelVisible } from '@/store/workspaces/floating/floating-workspace-panel-selector' import { useAppStore } from '../store' @@ -17,8 +18,8 @@ function launchAgentTab( agent: TuiAgent, { groupId, focusIntent }: AgentTabLaunchContext ): void { - launchAgentInNewTab({ - requestId: newAgentLaunchRequestId(), + launchAgentInNewTabWithOutcome({ + requestId: createNonSecureContextUuid(), focusIntent, agent, worktreeId, diff --git a/src/renderer/src/components/agent-workspace-trust/AgentWorkspaceTrustDecisionDialog.fixture.tsx b/src/renderer/src/components/agent-workspace-trust/AgentWorkspaceTrustDecisionDialog.fixture.tsx deleted file mode 100644 index 5394cf571e6..00000000000 --- a/src/renderer/src/components/agent-workspace-trust/AgentWorkspaceTrustDecisionDialog.fixture.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import { Dialog } from '@/components/ui/dialog' -import { defineFixture } from '../../component-fixtures/component-fixture' -import { AgentWorkspaceTrustDecisionDialogView } from './AgentWorkspaceTrustDecisionDialog' - -export const firstLaunch = defineFixture({ - width: 640, - render: () => ( - - {}} - /> - - ) -}) diff --git a/src/renderer/src/components/agent-workspace-trust/AgentWorkspaceTrustDecisionDialog.tsx b/src/renderer/src/components/agent-workspace-trust/AgentWorkspaceTrustDecisionDialog.tsx deleted file mode 100644 index 1fce90c9492..00000000000 --- a/src/renderer/src/components/agent-workspace-trust/AgentWorkspaceTrustDecisionDialog.tsx +++ /dev/null @@ -1,106 +0,0 @@ -import { useEffect, useState, useSyncExternalStore } from 'react' -import { ShieldQuestion } from 'lucide-react' -import { Button } from '@/components/ui/button' -import { useAppStore } from '@/store' -import { - Dialog, - DialogContent, - DialogDescription, - DialogFooter, - DialogHeader, - DialogTitle -} from '@/components/ui/dialog' -import type { AgentWorkspaceTrustDecision } from '../../../../shared/agent-launch/permissions/agent-workspace-trust-decision' -import { agentWorkspaceTrustDecisionCopy as copy } from './agent-workspace-trust-decision-copy' -import { - answerAgentWorkspaceTrustDecision, - getAgentWorkspaceTrustDecisionRequest, - subscribeAgentWorkspaceTrustDecisionRequest -} from './agent-workspace-trust-decision-prompt' - -export type AgentWorkspaceTrustDecisionDialogViewProps = { - repoName: string - saving: boolean - onAnswer: (decision: AgentWorkspaceTrustDecision) => void -} - -/** A launch waits on this answer, so it closes only through a choice. */ -export function AgentWorkspaceTrustDecisionDialogView({ - repoName, - saving, - onAnswer -}: AgentWorkspaceTrustDecisionDialogViewProps): React.JSX.Element { - return ( - event.preventDefault()} - onInteractOutside={(event) => event.preventDefault()} - > - - - - - - {copy.promptDescription()} - -

{copy.promptRemembered()}

- - - - -
- ) -} - -export default function AgentWorkspaceTrustDecisionDialog(): React.JSX.Element | null { - const request = useSyncExternalStore( - subscribeAgentWorkspaceTrustDecisionRequest, - getAgentWorkspaceTrustDecisionRequest, - getAgentWorkspaceTrustDecisionRequest - ) - const [savingFor, setSavingFor] = useState(null) - const setContextualToursBlockingSurfaceVisible = useAppStore( - (state) => state.setContextualToursBlockingSurfaceVisible - ) - const open = request !== null - useEffect(() => { - setContextualToursBlockingSurfaceVisible(open) - return () => setContextualToursBlockingSurfaceVisible(false) - }, [open, setContextualToursBlockingSurfaceVisible]) - if (!request) { - return null - } - const answer = (decision: AgentWorkspaceTrustDecision): void => { - setSavingFor(request) - void answerAgentWorkspaceTrustDecision(decision).finally(() => setSavingFor(null)) - } - return ( - - - - ) -} diff --git a/src/renderer/src/components/agent-workspace-trust/agent-workspace-trust-decision-copy.ts b/src/renderer/src/components/agent-workspace-trust/agent-workspace-trust-decision-copy.ts index 8306ca00ed1..70aadfde427 100644 --- a/src/renderer/src/components/agent-workspace-trust/agent-workspace-trust-decision-copy.ts +++ b/src/renderer/src/components/agent-workspace-trust/agent-workspace-trust-decision-copy.ts @@ -2,22 +2,6 @@ import { translate } from '@/i18n/i18n' export const agentWorkspaceTrustDecisionCopy = { - promptTitle: (repo: string) => - translate( - 'auto.components.agent-workspace-trust-decision.prompt-title', - 'Trust {{repo}} for agents?', - { repo } - ), - promptDescription: () => - translate( - 'auto.components.agent-workspace-trust-decision.prompt-description', - 'Agents like Claude Code and Codex ask "Do you trust this folder?" before they load the project\'s own agent settings and hooks, which can run commands. Orca can answer yes for you in every worktree of this repository.' - ), - promptRemembered: () => - translate( - 'auto.components.agent-workspace-trust-decision.prompt-remembered', - "Orca remembers your answer for this repository. You can change it in the repository's settings." - ), trustRepository: () => translate( 'auto.components.agent-workspace-trust-decision.trust-repository', @@ -32,11 +16,6 @@ export const agentWorkspaceTrustDecisionCopy = { 'auto.components.agent-workspace-trust-decision.setting-description', 'Whether agents Orca starts in this repository\'s worktrees skip their "Do you trust this folder?" prompt and load the project\'s agent settings and hooks right away.' ), - settingUndecided: () => - translate( - 'auto.components.agent-workspace-trust-decision.setting-undecided', - 'Not decided yet. Orca will ask the next time you start an agent here.' - ), settingGlobalOff: () => translate( 'auto.components.agent-workspace-trust-decision.setting-global-off', diff --git a/src/renderer/src/components/agent-workspace-trust/agent-workspace-trust-decision-prompt.test.ts b/src/renderer/src/components/agent-workspace-trust/agent-workspace-trust-decision-prompt.test.ts deleted file mode 100644 index 8d1358d857f..00000000000 --- a/src/renderer/src/components/agent-workspace-trust/agent-workspace-trust-decision-prompt.test.ts +++ /dev/null @@ -1,148 +0,0 @@ -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { Repo } from '../../../../shared/repo-types' -import { - installIpcPtyWindow, - restorePtySpecWindow -} from '../terminal-pane/pty-transport/ipc/pty-transport-test-harness' - -type StoreState = { - repos: Partial[] - settings: { agentWorkspaceTrustEnabled: boolean } - updateRepo: ReturnType -} - -const state = vi.hoisted((): StoreState => ({ - repos: [], - settings: { agentWorkspaceTrustEnabled: true }, - updateRepo: vi.fn() -})) - -vi.mock('@/store', () => ({ useAppStore: { getState: () => state } })) - -import { - AGENT_TRUST_PROMPT_TIMEOUT_MS, - AGENT_TRUST_SAVE_WAIT_MS, - answerAgentWorkspaceTrustDecision, - awaitAgentWorkspaceTrustDecision, - getAgentWorkspaceTrustDecisionRequest, - subscribeAgentWorkspaceTrustDecisionRequest -} from './agent-workspace-trust-decision-prompt' - -const WORKTREE = 'repo-1::/repos/app/feature' -const launch = (workspaceId = WORKTREE) => - awaitAgentWorkspaceTrustDecision({ launchAgent: 'claude', workspaceId, connectionId: null }) - -let unsubscribeDialog: () => void = () => {} - -beforeEach(() => { - vi.useFakeTimers() - vi.spyOn(console, 'warn').mockImplementation(() => {}) - unsubscribeDialog = subscribeAgentWorkspaceTrustDecisionRequest(() => {}) - state.repos = [{ id: 'repo-1', path: '/repos/app', displayName: 'app' }] - state.settings = { agentWorkspaceTrustEnabled: true } - state.updateRepo = vi.fn(async (repoId: string, updates: Partial) => { - state.repos = state.repos.map((repo) => (repo.id === repoId ? { ...repo, ...updates } : repo)) - return true - }) -}) - -afterEach(async () => { - // Release anything a test left on screen so module state never leaks between tests. - await vi.advanceTimersByTimeAsync(AGENT_TRUST_PROMPT_TIMEOUT_MS) - unsubscribeDialog() - vi.useRealTimers() - vi.restoreAllMocks() -}) - -describe('first agent launch in a repo', () => { - it.each([true, false])( - 'asks once for concurrent section launches through PTY connect (save succeeds: %s)', - async (saveSucceeds) => { - const originalWindow: typeof window | undefined = globalThis.window - installIpcPtyWindow(originalWindow, {}) - if (!saveSucceeds) { - state.updateRepo = vi.fn(async () => false) - } - vi.mocked(window.api.pty.spawn) - .mockResolvedValueOnce({ id: 'section-1' }) - .mockResolvedValueOnce({ id: 'section-2' }) - const { createIpcPtyTransport } = - await import('../terminal-pane/pty-transport/ipc/pty-transport') - const transports = ['folder:placement', 'folder:other'].map((worktreeId) => - createIpcPtyTransport({ - worktreeId, - trustWorktreeId: WORKTREE, - cwd: '/repos/app/feature', - command: 'claude', - launchAgent: 'claude' - }) - ) - const connecting = Promise.all( - transports.map((transport) => transport.connect({ url: '', callbacks: {} })) - ) - try { - expect(getAgentWorkspaceTrustDecisionRequest()).toMatchObject({ - repoId: 'repo-1', - repoName: 'app', - hostId: 'local' - }) - expect(window.api.pty.spawn).not.toHaveBeenCalled() - await answerAgentWorkspaceTrustDecision('agent-asks') - await connecting - expect(state.updateRepo).toHaveBeenCalledExactlyOnceWith( - 'repo-1', - { agentWorkspaceTrust: 'agent-asks' }, - { hostId: 'local' } - ) - expect(getAgentWorkspaceTrustDecisionRequest()).toBeNull() - expect(vi.mocked(window.api.pty.spawn).mock.calls.map(([args]) => args)).toMatchObject([ - { - worktreeId: 'folder:placement', - trustWorktreeId: WORKTREE, - cwd: '/repos/app/feature', - skipAgentWorkspaceTrust: true - }, - { - worktreeId: 'folder:other', - trustWorktreeId: WORKTREE, - cwd: '/repos/app/feature', - skipAgentWorkspaceTrust: true - } - ]) - } finally { - await answerAgentWorkspaceTrustDecision('agent-asks') - await connecting - for (const transport of transports) { - transport.destroy?.() - } - restorePtySpecWindow(originalWindow) - } - } - ) - - it('releases with the answer when saving stalls', async () => { - state.updateRepo = vi.fn(() => new Promise(() => {})) - const pending = launch() - - const answered = answerAgentWorkspaceTrustDecision('agent-asks') - await vi.advanceTimersByTimeAsync(AGENT_TRUST_SAVE_WAIT_MS) - await answered - - await expect(pending).resolves.toBe('agent-asks') - }) - - it("releases an unanswered prompt with today's default and closes it", async () => { - const pending = launch() - - await vi.advanceTimersByTimeAsync(AGENT_TRUST_PROMPT_TIMEOUT_MS) - - await expect(pending).resolves.toBeNull() - expect(getAgentWorkspaceTrustDecisionRequest()).toBeNull() - expect(state.updateRepo).not.toHaveBeenCalled() - }) - - it('never holds a launch when no dialog is mounted to answer it', () => { - unsubscribeDialog() - expect(launch()).toBeNull() - }) -}) diff --git a/src/renderer/src/components/agent-workspace-trust/agent-workspace-trust-decision-prompt.ts b/src/renderer/src/components/agent-workspace-trust/agent-workspace-trust-decision-prompt.ts deleted file mode 100644 index ee8bd968bac..00000000000 --- a/src/renderer/src/components/agent-workspace-trust/agent-workspace-trust-decision-prompt.ts +++ /dev/null @@ -1,169 +0,0 @@ -import { useAppStore } from '@/store' -import { getRepoRowIdentity, repoMatchesHostIdentity } from '@/store/repos/repo-host-identity' -import { - TUI_AGENT_CONFIG, - isTuiAgent -} from '../../../../shared/agent-launch/catalog/tui-agent-config' -import { - needsAgentWorkspaceTrustDecision, - type AgentWorkspaceTrustDecision -} from '../../../../shared/agent-launch/permissions/agent-workspace-trust-decision' -import { - getConnectionExecutionHostId, - getRepoExecutionHostId -} from '../../../../shared/execution-host' -import type { Repo } from '../../../../shared/repo-types' -import { parseWorkspaceKey } from '../../../../shared/workspace-scope' -import { splitWorktreeId } from '../../../../shared/worktree/id' - -export type AgentWorkspaceTrustDecisionRequest = { - repoId: string - repoName: string - hostId: ReturnType -} - -/** The user's answer for this launch; null means no answer, so today's default applies. */ -export type AgentWorkspaceTrustLaunchAnswer = AgentWorkspaceTrustDecision | null - -/** An unanswered prompt releases its launches with today's default rather than holding them. */ -export const AGENT_TRUST_PROMPT_TIMEOUT_MS = 120_000 -/** A slow save must not hold the launch; the answer still applies to this launch. */ -export const AGENT_TRUST_SAVE_WAIT_MS = 5_000 - -type PendingRequest = AgentWorkspaceTrustDecisionRequest & { - rowIdentity: string - settle: (answer: AgentWorkspaceTrustLaunchAnswer) => void - timer?: ReturnType - answering?: boolean -} - -const queue: PendingRequest[] = [] -const inFlightByRow = new Map>() -const listeners = new Set<() => void>() - -function notifyListeners(): void { - for (const listener of listeners) { - listener() - } -} - -function release(request: PendingRequest, answer: AgentWorkspaceTrustLaunchAnswer): void { - clearTimeout(request.timer) - const index = queue.indexOf(request) - if (index !== -1) { - queue.splice(index, 1) - } - inFlightByRow.delete(request.rowIdentity) - request.settle(answer) - showNext() -} - -/** The timeout starts when a request is on screen, so a queued repo is not timed out unseen. */ -function showNext(): void { - const next = queue[0] - if (next && next.timer === undefined) { - next.timer = setTimeout(() => { - if (!next.answering) { - release(next, null) - } - }, AGENT_TRUST_PROMPT_TIMEOUT_MS) - } - notifyListeners() -} - -/** The PTY's own connection names the owning host; never fall back to the focused host. */ -function repoForWorkspace( - workspaceId: string | undefined, - connectionId: string | null | undefined -): Repo | null { - const scope = workspaceId ? parseWorkspaceKey(workspaceId) : null - if (!workspaceId || scope?.type === 'folder') { - return null - } - const repoId = splitWorktreeId( - scope?.type === 'worktree' ? scope.worktreeId : workspaceId - )?.repoId - if (!repoId) { - return null - } - const hostId = getConnectionExecutionHostId(connectionId) - return ( - useAppStore.getState().repos.find((repo) => repoMatchesHostIdentity(repo, repoId, hostId)) ?? - null - ) -} - -/** Null when no answer is needed, so launches that need none keep their synchronous path. */ -export function awaitAgentWorkspaceTrustDecision(args: { - launchAgent: unknown - workspaceId: string | undefined - connectionId: string | null | undefined -}): Promise | null { - // No mounted dialog could answer, so never hold the launch. - if (listeners.size === 0) { - return null - } - if (!isTuiAgent(args.launchAgent) || !TUI_AGENT_CONFIG[args.launchAgent].preflightTrust) { - return null - } - const repo = repoForWorkspace(args.workspaceId, args.connectionId) - const globalEnabled = useAppStore.getState().settings?.agentWorkspaceTrustEnabled - if (!repo || !needsAgentWorkspaceTrustDecision(globalEnabled, repo.agentWorkspaceTrust)) { - return null - } - const rowIdentity = getRepoRowIdentity(repo) - const existing = inFlightByRow.get(rowIdentity) - if (existing) { - return existing - } - const pending = new Promise((settle) => { - queue.push({ - repoId: repo.id, - repoName: repo.displayName, - hostId: getRepoExecutionHostId(repo), - rowIdentity, - settle - }) - }) - inFlightByRow.set(rowIdentity, pending) - showNext() - return pending -} - -/** Saves the answer, then releases waiting launches with it even if the save fails or stalls. */ -export async function answerAgentWorkspaceTrustDecision( - decision: AgentWorkspaceTrustDecision -): Promise { - const request = queue[0] - if (!request || request.answering) { - return - } - request.answering = true - clearTimeout(request.timer) - let saveWait: ReturnType | undefined - const saved = await Promise.race([ - useAppStore - .getState() - .updateRepo(request.repoId, { agentWorkspaceTrust: decision }, { hostId: request.hostId }) - .catch(() => false), - new Promise((resolve) => { - saveWait = setTimeout(() => resolve(false), AGENT_TRUST_SAVE_WAIT_MS) - }) - ]) - clearTimeout(saveWait) - if (!saved) { - console.warn( - '[agent-trust] the repository answer was not saved; it applies to this launch only' - ) - } - release(request, decision) -} - -export function getAgentWorkspaceTrustDecisionRequest(): AgentWorkspaceTrustDecisionRequest | null { - return queue[0] ?? null -} - -export function subscribeAgentWorkspaceTrustDecisionRequest(listener: () => void): () => void { - listeners.add(listener) - return () => listeners.delete(listener) -} diff --git a/src/renderer/src/components/agent/AgentCombobox.tsx b/src/renderer/src/components/agent/AgentCombobox.tsx index a91dbaf4751..ca201f1ae47 100644 --- a/src/renderer/src/components/agent/AgentCombobox.tsx +++ b/src/renderer/src/components/agent/AgentCombobox.tsx @@ -11,7 +11,7 @@ import { getAgentPickerCommandValue, searchAgentPickerEntries } from '@/lib/agent-catalog/agent-picker-search' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import type { TuiAgent } from '../../../../shared/agent-launch/catalog/tui-agent' import * as state from './agent-combobox-command-state' import { diff --git a/src/renderer/src/components/agent/AgentLaunchPickerMenu.search.test.tsx b/src/renderer/src/components/agent/AgentLaunchPickerMenu.search.test.tsx index daf9b9dfd7e..c13b8fffde3 100644 --- a/src/renderer/src/components/agent/AgentLaunchPickerMenu.search.test.tsx +++ b/src/renderer/src/components/agent/AgentLaunchPickerMenu.search.test.tsx @@ -138,3 +138,55 @@ it('lists an agent named by the query before other agents’ model setups', () = fireEvent.keyDown(screen.getByRole('textbox'), { key: 'Enter' }) expect(launch).toHaveBeenCalledWith({ agent: 'codex', kind: 'cli' }, undefined) }) + +it('matches Antigravity and its model setups via the AGY acronym', async () => { + const codex: AgentPickerEntry = { + agent: 'codex', + label: 'Codex', + rows: [{ agent: 'codex', kind: 'cli' }], + surfaces: ['terminal'], + defaultSurface: 'terminal', + terminal: {}, + structured: {}, + catalog: { origin: 'probe', fetchedAt: 1, models: [] } + } + const antigravity: AgentPickerEntry = { + ...codex, + agent: 'antigravity', + label: 'Antigravity', + rows: [{ agent: 'antigravity', kind: 'cli' }], + catalog: { + origin: 'probe', + fetchedAt: 1, + models: [{ id: 'gemini-2.5-pro', label: 'Gemini 2.5 Pro', isDefault: false, efforts: [] }] + } + } + const launch = vi.fn() + const user = userEvent.setup() + render( + + Open + + + + + ) + await user.type(screen.getByRole('textbox'), 'AGY') + expect(screen.getAllByRole('menuitem').map((item) => item.textContent)).toEqual([ + expect.stringContaining('Antigravity') + ]) + await user.keyboard('{Enter}') + expect(launch).toHaveBeenCalledWith({ agent: 'antigravity', kind: 'cli' }, undefined) + + launch.mockClear() + await user.click(screen.getByRole('button', { name: 'Open' })) + await user.type(screen.getByRole('textbox'), 'AGY Gemini{Enter}') + expect(launch).toHaveBeenCalledWith( + { agent: 'antigravity', kind: 'cli', executionHostId: undefined }, + expect.objectContaining({ + agent: 'antigravity', + choices: { model: 'gemini-2.5-pro' } + }), + antigravity + ) +}) diff --git a/src/renderer/src/components/agent/AgentLaunchPickerMenu.select.test.tsx b/src/renderer/src/components/agent/AgentLaunchPickerMenu.select.test.tsx index 42aac33f20c..e9077348be8 100644 --- a/src/renderer/src/components/agent/AgentLaunchPickerMenu.select.test.tsx +++ b/src/renderer/src/components/agent/AgentLaunchPickerMenu.select.test.tsx @@ -67,10 +67,7 @@ function Form({ query, onPick }: { query: string; onPick: (draft?: AgentPickerDr ) } -it.each([ - ['an agent row', ''], - ['a search-result row', 'astra low'] -])( +it.each([['a search-result row', 'astra low']])( 'applies each model and effort picked in %s setup to the form and keeps the panel on them', (_row, query) => { const onPick = vi.fn() diff --git a/src/renderer/src/components/agent/AgentLaunchPickerMenu.tsx b/src/renderer/src/components/agent/AgentLaunchPickerMenu.tsx index 90bf546b321..f1c4748a4ad 100644 --- a/src/renderer/src/components/agent/AgentLaunchPickerMenu.tsx +++ b/src/renderer/src/components/agent/AgentLaunchPickerMenu.tsx @@ -18,7 +18,10 @@ import { useAgentPickerInventoryEntries, type AgentPickerInventorySource } from './use-agent-launch-picker-inventory' -import { searchAgentPickerSetups } from '../../../../shared/agent-launch/picker/agent-launch-picker-search' +import { + filterAgentPickerEntries, + searchAgentPickerSetups +} from '../../../../shared/agent-launch/picker/agent-launch-picker-search' import type { AgentPickerDraft, AgentPickerEntry @@ -106,10 +109,7 @@ export function AgentLaunchPickerMenu({ const openSetup = activeSetup?.id ?? null const root = useRef(null) const setups = setupDisabled ? [] : searchAgentPickerSetups(entries, query) - const words = query.trim().toLowerCase().split(/\s+/).filter(Boolean) - const visible = entries.filter((entry) => - words.every((word) => `${entry.agent} ${entry.label}`.toLowerCase().includes(word)) - ) + const visible = filterAgentPickerEntries(entries, query) // Filtering changes presentation; an active owner survives its result row disappearing. if (activeSetup) { const entry = entries.find((entry) => entry.agent === activeSetup.agent) diff --git a/src/renderer/src/components/agent/AgentLaunchSetupFooter.tsx b/src/renderer/src/components/agent/AgentLaunchSetupFooter.tsx index 82edb8b3792..c716668ece6 100644 --- a/src/renderer/src/components/agent/AgentLaunchSetupFooter.tsx +++ b/src/renderer/src/components/agent/AgentLaunchSetupFooter.tsx @@ -2,7 +2,7 @@ import { terminalPendingLabel } from '../tab-bar/new-tab-agent-menu-model' import { useImperativeHandle, useRef, type Ref } from 'react' import { CornerDownLeft, MessageSquare, SquareTerminal } from 'lucide-react' import { Button } from '@/components/ui/button' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { ShortcutKeyCombo } from '@/components/ShortcutKeyCombo' import { translate } from '@/i18n/i18n' import { useTranslate, type Translate } from '@/i18n/use-translate' diff --git a/src/renderer/src/components/agent/AgentLaunchSetupPanel.tsx b/src/renderer/src/components/agent/AgentLaunchSetupPanel.tsx index e3bcdbd25d0..0ec1032f1f5 100644 --- a/src/renderer/src/components/agent/AgentLaunchSetupPanel.tsx +++ b/src/renderer/src/components/agent/AgentLaunchSetupPanel.tsx @@ -21,7 +21,7 @@ import { } from '@/components/ui/command' import { useTranslate } from '@/i18n/use-translate' import { agentModelChoiceChips } from './launch-settings/agent-model-choice-chips' -import { isScreenSubmitShortcut } from '@/lib/screen-submit-shortcut' +import { isScreenSubmitShortcut } from '@/lib/keyboard/screen-submit-shortcut' import { isImeOwnedKeyboardEvent } from '@/lib/text-input/ime/ime-composition-keyboard-event' import { AgentDefaultArgsInput } from './launch-settings/AgentLaunchDefaultsEditor' import { NativeChatSessionOptionRows } from '../native-chat/session/options/controls/NativeChatSessionOptionRows' @@ -77,7 +77,7 @@ export function AgentLaunchSetupPanel({ const argumentsKnown = agentPickerArgumentsKnown(entry, draft) const effective = agentPickerEffectiveChoices(entry, draft) const argumentsView = agentPickerPanelArguments(entry, draft) - const models = agentPickerModels(entry) + const models = agentPickerModels(entry, draft.surface) const defaultsPending = draft.surface === 'chat' ? entry.structuredDefaultsPending : entry.defaultsPending const seed = getAgentSessionOptionLaunchCatalog(entry.agent) diff --git a/src/renderer/src/components/agent/AgentSettingsDialog.tsx b/src/renderer/src/components/agent/AgentSettingsDialog.tsx index 4a709c6ac0a..a7e10158096 100644 --- a/src/renderer/src/components/agent/AgentSettingsDialog.tsx +++ b/src/renderer/src/components/agent/AgentSettingsDialog.tsx @@ -1,7 +1,10 @@ import { useAppStateValue, useAppStateViewActive } from '@/store/retained-views/app-state-view' import React, { useCallback } from 'react' -import { useAppStore } from '@/store' -import { getOverlayFocusOwners, overlayFocusContains } from '@/lib/overlay-focus-ownership' +import { useAppStore } from '@/store/index' +import { + getOverlayFocusOwners, + overlayFocusContains +} from '@/lib/overlay-interaction/overlay-focus-ownership' import { Dialog, DialogContent, @@ -14,8 +17,8 @@ import { useTranslate } from '@/i18n/use-translate' import { isWindowsTerminalCapabilityHost, useLocalWindowsTerminalCapabilities -} from '@/lib/windows-terminal-capabilities' -import { isWebClientLocation } from '@/lib/web-client-location' +} from '@/runtime/hosts/capabilities/windows-terminal-capabilities' +import { isWebClientLocation } from '@/app-shell/platform/web-client-location' import { useWindowsTerminalCapabilityOwnerKey } from '@/hooks/useWindowsTerminalCapabilityOwnerKey' import { resolveSettingsHostScope } from '@/components/settings/host-scope/settings-host-scope' diff --git a/src/renderer/src/components/agent/AgentSurfaceLaunchButton.tsx b/src/renderer/src/components/agent/AgentSurfaceLaunchButton.tsx index 100dc494258..cc260ec60a0 100644 --- a/src/renderer/src/components/agent/AgentSurfaceLaunchButton.tsx +++ b/src/renderer/src/components/agent/AgentSurfaceLaunchButton.tsx @@ -1,6 +1,6 @@ import React from 'react' import { MessageSquare, SquareTerminal } from 'lucide-react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' type AgentSurfaceLaunchButtonProps = Omit, 'children' | 'title'> & { title: string diff --git a/src/renderer/src/components/agent/agent-combobox-items.tsx b/src/renderer/src/components/agent/agent-combobox-items.tsx index 347adbf7da6..0d18046c13a 100644 --- a/src/renderer/src/components/agent/agent-combobox-items.tsx +++ b/src/renderer/src/components/agent/agent-combobox-items.tsx @@ -7,7 +7,7 @@ import { ContextMenuItem, ContextMenuTrigger } from '@/components/ui/context-menu' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' type ItemRenderArgs = { diff --git a/src/renderer/src/components/agent/agent-combobox-surface-items.tsx b/src/renderer/src/components/agent/agent-combobox-surface-items.tsx index 0749ff09194..b9f66b0cb67 100644 --- a/src/renderer/src/components/agent/agent-combobox-surface-items.tsx +++ b/src/renderer/src/components/agent/agent-combobox-surface-items.tsx @@ -13,7 +13,7 @@ import { rowLabel, rowTitle } from '@/components/tab-bar/tab-agent-row-presentation' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { translate } from '@/i18n/i18n' import { useTranslate, type Translate } from '@/i18n/use-translate' import type { TuiAgent } from '../../../../shared/agent-launch/catalog/tui-agent' diff --git a/src/renderer/src/components/agent/agent-launch-picker-acquisition.ts b/src/renderer/src/components/agent/agent-launch-picker-acquisition.ts index 01314c130a2..ce07b04ae45 100644 --- a/src/renderer/src/components/agent/agent-launch-picker-acquisition.ts +++ b/src/renderer/src/components/agent/agent-launch-picker-acquisition.ts @@ -1,22 +1,23 @@ -import { useAppViewExternalStore } from '@/store/retained-views/app-state-view' +import { + agentPickerCatalogJobs, + agentPickerCatalogFailure, + updateAgentPickerCatalog, + type AgentPickerCatalogJob +} from './agent-picker-catalog-jobs' +export { + createAgentPickerInventorySource, + useAgentPickerInventoryEntries, + type AgentPickerInventorySource +} from './agent-picker-inventory-source' import { shallow } from 'zustand/shallow' import type { AgentPickerEntry } from '../../../../shared/agent-launch/picker/agent-launch-picker' -import type { TuiAgent } from '../../../../shared/agent-launch/catalog/tui-agent' +import type { + AgentPickerAcquisitionObserver as Observer, + AgentPickerAcquisitionReads as Reads +} from './agent-picker-inventory-source' /** Pending local IPC outlives observers; matching menus must retain its physical owner. */ const pending = new Map() -type Observer = { - publish: (entries: AgentPickerEntry[]) => void - selected: () => TuiAgent | undefined -} -type Reads = { - settings?: () => Promise - catalog: ( - entry: AgentPickerEntry, - waitForListing: boolean - ) => Promise - support: (entry: AgentPickerEntry) => Promise -} type ReadKind = 'catalog' | 'refresh' | 'support' type SupportRead = { state: 'queued' | 'pending' | 'settled' @@ -27,21 +28,25 @@ class AgentPickerAcquisition { readonly observers = new Set() entries: AgentPickerEntry[] settingsPending = false + private demand?: AbortController private outstanding = { catalog: 0, refresh: 0, support: 0 } private queued: Record> private supports = new Map() + private jobs: AgentPickerCatalogJob[] private defaults: AgentPickerEntry[] + private stopInvalidation?: () => void + private physicalCatalogs = 0 constructor( readonly key: string, private initial: AgentPickerEntry[], private reads: Reads ) { - this.entries = initial.map((entry) => ({ - ...entry, - catalogRead: - entry.surfaces.length && entry.catalogRead !== 'unsupported' ? 'pending' : 'unsupported' - })) + this.entries = initial + this.jobs = agentPickerCatalogJobs(initial) + for (const job of this.jobs) { + this.entries = updateAgentPickerCatalog(this.entries, job, { catalogRead: 'pending' }) + } this.defaults = initial for (const [i, entry] of initial.entries()) { if (entry.structuredDefaultsPending) { @@ -49,9 +54,7 @@ class AgentPickerAcquisition { } } this.queued = { - catalog: new Set( - this.entries.flatMap((entry, i) => (entry.catalogRead === 'pending' ? [i] : [])) - ), + catalog: new Set(this.jobs.map((_, index) => index)), refresh: new Set(), support: new Set(this.supports.keys()) } @@ -61,19 +64,40 @@ class AgentPickerAcquisition { const first = this.observers.size === 0 this.observers.add(observer) if (first) { - for (const [i, entry] of this.entries.entries()) { + if (this.demand) { + this.jobs = this.jobs.map((job) => ({ ...job })) + } + this.demand = new AbortController() + this.outstanding = { catalog: 0, refresh: 0, support: this.outstanding.support } + this.stopInvalidation = this.reads.subscribeInvalidation?.(() => { + this.outstanding = { catalog: 0, refresh: 0, support: this.outstanding.support } + this.jobs = this.jobs.map((job, index) => { + if (this.reads.refreshOnInvalidation?.(this.entries[job.index]) === false) { + return job + } + this.queued.refresh.delete(index) + this.entries = updateAgentPickerCatalog(this.entries, job, { + catalog: { origin: 'unknown' }, + catalogRead: 'pending' + }) + this.queued.catalog.add(index) + return { ...job } + }) + this.publish() + this.admit('catalog') + }) + for (const [index, job] of this.jobs.entries()) { + const view = this.entries[job.index] if ( - this.initial[i].catalogRead !== 'unsupported' && - entry.surfaces.length && - entry.catalogRead !== 'pending' && - (entry.catalog.origin === 'unknown' || - entry.catalogRead === 'failed' || - entry.catalogRead === 'unsupported' || - entry.catalog.unavailable !== undefined || - entry.catalog.listingInProgress) + view.catalogRead !== 'pending' && + (view.catalog.origin === 'unknown' || + view.catalogRead === 'failed' || + view.catalogRead === 'unsupported' || + view.catalog.unavailable !== undefined || + view.catalog.listingInProgress) ) { - this.queued.catalog.add(i) - this.entries[i] = { ...entry, catalogRead: 'pending' } + this.queued.catalog.add(index) + this.entries = updateAgentPickerCatalog(this.entries, job, { catalogRead: 'pending' }) } } for (const [i, read] of this.supports) { @@ -94,6 +118,13 @@ class AgentPickerAcquisition { this.admit('support') return () => { this.observers.delete(observer) + if (!this.observers.size) { + this.demand?.abort() + this.stopInvalidation?.() + this.stopInvalidation = undefined + this.queued.refresh.clear() + this.jobs.forEach((_, index) => this.queued.catalog.add(index)) + } this.retire() } } @@ -149,59 +180,58 @@ class AgentPickerAcquisition { } private async readCatalog(entry: AgentPickerEntry, index: number, waitForListing: boolean) { - const catalog = await this.reads.catalog(entry, waitForListing) + const job = this.jobs[index] + const signal = this.demand!.signal + const catalog = await this.reads.catalog(entry, waitForListing, signal) + if (job !== this.jobs[index] || (signal.aborted && this.observers.size > 0) || !catalog) { + return + } // An open picker waits on a running listing, and again when a wait used its whole budget. const refresh = + !signal.aborted && this.observers.size > 0 && - (waitForListing ? catalog?.waitExpired : catalog?.listingInProgress) === true + (waitForListing ? catalog.waitExpired : catalog.listingInProgress) === true if (refresh) { this.queued.refresh.add(index) } - this.entries = this.entries.map((e, i) => - i === index - ? { - ...e, - ...(catalog ? { catalog } : {}), - catalogRead: !catalog ? 'failed' : refresh ? 'pending' : 'settled' - } - : e - ) + this.entries = updateAgentPickerCatalog(this.entries, job, { + catalog, + catalogRead: refresh ? 'pending' : 'settled' + }) } private admit(kind: ReadKind) { while (this.observers.size && this.outstanding[kind] < 2 && this.queued[kind].size) { + const usable = [...this.queued[kind]] const priorities = [...this.observers].map((o) => o.selected()) - const preferred = this.entries.findIndex((e) => priorities.includes(e.agent)) - const index = this.queued[kind].has(preferred) - ? preferred - : this.queued[kind].values().next().value + const index = + usable.find((index) => + priorities.includes( + this.entries[kind !== 'support' ? this.jobs[index].index : index].agent + ) + ) ?? usable[0] if (index === undefined) { break } this.queued[kind].delete(index) - this.outstanding[kind]++ - const entry = this.entries[index] + const outstanding = this.outstanding + outstanding[kind]++ + const entry = this.entries[kind !== 'support' ? this.jobs[index].index : index] if (kind === 'support') { this.supports.set(index, { state: 'pending' }) + } else { + this.physicalCatalogs++ } + const job = this.jobs[index] + const signal = this.demand!.signal const read = kind !== 'support' ? this.readCatalog(entry, index, kind === 'refresh').catch((error: unknown) => { - const unsupported = - typeof error === 'object' && - error !== null && - 'code' in error && - (error.code === 'method_not_found' || - error.code === 'structured_agent_session_unsupported' || - error.code === 'forbidden') - this.entries = this.entries.map((e, i) => - i === index - ? { - ...e, - catalogRead: unsupported ? 'unsupported' : 'failed' - } - : e - ) + if (job === this.jobs[index] && !signal.aborted) { + this.entries = updateAgentPickerCatalog(this.entries, job, { + catalogRead: agentPickerCatalogFailure(error) + }) + } }) : this.reads .support(entry) @@ -213,11 +243,16 @@ class AgentPickerAcquisition { void read .catch(() => undefined) .then(() => { - this.outstanding[kind]-- + if (kind === 'support') { + this.outstanding.support-- + } else { + outstanding[kind]-- + this.physicalCatalogs-- + } this.publish() this.admit(kind) - if (kind === 'catalog') { - this.admit('refresh') + if (kind !== 'support') { + this.admit(kind === 'catalog' ? 'refresh' : 'catalog') } this.retire() }) @@ -228,11 +263,12 @@ class AgentPickerAcquisition { if ( !this.observers.size && !this.settingsPending && - !this.outstanding.catalog && - !this.outstanding.refresh && + !this.physicalCatalogs && !this.outstanding.support ) { - pending.delete(this.key) + if (pending.get(this.key) === this) { + pending.delete(this.key) + } } } @@ -267,47 +303,3 @@ export function currentAgentPickerAcquisition(key: string) { export function agentPickerAcquisitionDiagnostics() { return [...pending.values()].map((resource) => ({ key: resource.key, ...resource.diagnostics() })) } - -/** - * Live picker entries for one (inventory key, open) generation. Catalog and seed reads land one - * at a time for several seconds after the menu opens; holding them here instead of in the - * owner's React state lets only the components that render entries re-render as they land. - */ -export type AgentPickerInventorySource = { - getSnapshot: () => AgentPickerEntry[] - subscribe: (listener: () => void) => () => void -} - -type WritableAgentPickerInventorySource = AgentPickerInventorySource & { - publish: (entries: readonly AgentPickerEntry[]) => void -} - -export function createAgentPickerInventorySource( - initial: AgentPickerEntry[] -): WritableAgentPickerInventorySource { - let entries = initial - const listeners = new Set<() => void>() - return { - getSnapshot: () => entries, - subscribe: (listener) => { - listeners.add(listener) - return () => listeners.delete(listener) - }, - publish: (next) => { - // Why: a read that changed nothing (e.g. an unavailable catalog) must not re-render the menu. - if (next.length === entries.length && next.every((entry, i) => entry === entries[i])) { - return - } - entries = [...next] - for (const listener of listeners) { - listener() - } - } - } -} - -export function useAgentPickerInventoryEntries( - source: AgentPickerInventorySource -): AgentPickerEntry[] { - return useAppViewExternalStore(source.subscribe, source.getSnapshot, source.getSnapshot) -} diff --git a/src/renderer/src/components/agent/agent-launch-picker-cli-model-catalog.ts b/src/renderer/src/components/agent/agent-launch-picker-cli-model-catalog.ts new file mode 100644 index 00000000000..b11ab4ce510 --- /dev/null +++ b/src/renderer/src/components/agent/agent-launch-picker-cli-model-catalog.ts @@ -0,0 +1,44 @@ +import type { AgentSessionModelCatalogResult } from '../../../../shared/agent-session/agent-session-wire' +import { getAgentSessionOptionCatalog } from '../../../../shared/agent-session/options/agent-session-option-catalog' +import type { AgentPickerEntry } from '../../../../shared/agent-launch/picker/agent-launch-picker' +import { agentPickerModelFromCatalogModel } from '../../../../shared/agent-launch/picker/agent-launch-picker-catalog' +import { + catalogModelsFromModelDiscovery, + mergeDiscoveredCatalogModels +} from '../../../../shared/native-chat/input/native-chat-discovered-catalog-models' +import { isNativeChatSupportedAgent } from '../../../../shared/native-chat/native-chat-agent-support' +import type { RuntimeGitContext } from '@/runtime/source-control/git/runtime-git-client-context' +import { discoverRuntimeCommitMessageModels } from '@/runtime/source-control/git/runtime-git-generation-client' + +/** Agents with no structured chat have no host model catalog, so they list models through their CLI. */ +export function agentPickerListsCliModels(entry: Pick): boolean { + return ( + !isNativeChatSupportedAgent(entry.agent) && + getAgentSessionOptionCatalog(entry.agent)?.listModels !== undefined + ) +} + +export async function readAgentPickerCliModelCatalog( + agent: AgentPickerEntry['agent'], + runtime: RuntimeGitContext +): Promise { + const catalog = getAgentSessionOptionCatalog(agent) + if (!catalog) { + return { origin: 'unknown' } + } + const result = await discoverRuntimeCommitMessageModels(runtime, agent) + // Only a real listing may replace the seed: the picker retires saved picks missing from it. + const discovered = + result.success && result.catalogOrigin === 'probe' + ? catalogModelsFromModelDiscovery(agent, result) + : null + return discovered + ? { + origin: 'probe', + fetchedAt: Date.now(), + models: mergeDiscoveredCatalogModels(agent, catalog, discovered).map( + agentPickerModelFromCatalogModel + ) + } + : { origin: 'unknown' } +} diff --git a/src/renderer/src/components/agent/agent-launch-picker-host-reads.ts b/src/renderer/src/components/agent/agent-launch-picker-host-reads.ts new file mode 100644 index 00000000000..7259f78686a --- /dev/null +++ b/src/renderer/src/components/agent/agent-launch-picker-host-reads.ts @@ -0,0 +1,79 @@ +import type { AgentSessionModelCatalogResult } from '../../../../shared/agent-session/agent-session-wire' +import type { RuntimeGitContext } from '@/runtime/source-control/git/runtime-git-client-context' +import { + agentPickerListsCliModels, + readAgentPickerCliModelCatalog +} from './agent-launch-picker-cli-model-catalog' +import { callStructuredAgentSession } from '@/runtime/native-chat/requests/structured-agent-session-call' +import { + readModelMenuCatalog, + type ModelMenuReadScope +} from '@/runtime/native-chat/model-catalogs/model-menu-catalog-read' +import { subscribeModelMenuInvalidation } from '@/runtime/native-chat/model-catalogs/model-menu-invalidation' +import { parseStructuredLaunchSeedOptions } from '../../../../shared/native-chat/input/native-chat-session-option-defaults' +import { isAgentChatPermissionChoice } from '../../../../shared/agent-launch/permissions/agent-chat-permission-mode' +import type { AgentPickerEntry } from '../../../../shared/agent-launch/picker/agent-launch-picker' +import type { RuntimeClientTarget } from '../../../../shared/runtime-client-target' + +export function agentPickerModelCatalogReads( + input: Omit & { + target: RuntimeClientTarget | null + cliDiscoveryRuntime?: RuntimeGitContext | null + } +) { + const { target, cliDiscoveryRuntime } = input + return { + catalog: async (entry: AgentPickerEntry, waitForListing: boolean, signal: AbortSignal) => + cliDiscoveryRuntime && agentPickerListsCliModels(entry) + ? readAgentPickerCliModelCatalog(entry.agent, cliDiscoveryRuntime) + : !target + ? undefined + : entry.agent === 'antigravity' + ? callStructuredAgentSession( + target, + 'agentSession.modelCatalog', + { + ...(input.worktree ? { worktree: input.worktree } : {}), + agent: entry.agent, + ...(waitForListing ? { waitForListing } : {}) + } + ) + : readModelMenuCatalog( + { ...input, target, agent: entry.agent }, + waitForListing, + signal + ), + refreshOnInvalidation: (entry: Pick) => + !!target && + !(cliDiscoveryRuntime && agentPickerListsCliModels(entry)) && + entry.agent !== 'antigravity', + subscribeInvalidation: target + ? (listener: () => void) => subscribeModelMenuInvalidation(target, listener) + : undefined + } +} + +export async function readAgentPickerLaunchSupport( + target: RuntimeClientTarget | null, + selector: string | undefined, + agent: AgentPickerEntry['agent'] +): Promise { + if (!selector || !target) { + return undefined + } + const support = await callStructuredAgentSession<{ seedOptions?: Record }>( + target, + 'agentSession.createSupport', + { worktree: selector, agent } + ) + const parsed = parseStructuredLaunchSeedOptions(support?.seedOptions) + if (!parsed) { + return undefined + } + const { model, permissionMode, ...options } = parsed + return { + ...(model ? { model } : {}), + options, + ...(isAgentChatPermissionChoice(permissionMode) ? { permissionMode } : {}) + } +} diff --git a/src/renderer/src/components/agent/agent-launch-picker-inventory-freshness.test.tsx b/src/renderer/src/components/agent/agent-launch-picker-inventory-freshness.test.tsx new file mode 100644 index 00000000000..b1a10e51f28 --- /dev/null +++ b/src/renderer/src/components/agent/agent-launch-picker-inventory-freshness.test.tsx @@ -0,0 +1,187 @@ +// @vitest-environment happy-dom +import { act, cleanup, renderHook, waitFor } from '@testing-library/react' +import { afterEach, expect, it, vi } from 'vitest' +import { useAppStore } from '@/store' +import { getDefaultSettings } from '../../../../shared/constants' +import { useAgentLaunchPickerInventory } from './use-agent-launch-picker-inventory' +import type { UseDetectedAgentsResult } from '@/hooks/useDetectedAgents' +import type { NewTabAgentMenuModel } from '../tab-bar/new-tab-agent-menu-model' +import { + loadHostStructuredAgents, + resetHostStructuredAgentsForTests +} from '@/runtime/native-chat/agent-catalogs/host-structured-agents' +import { STRUCTURED_AGENT_SESSION_REGISTERED_AGENTS_RUNTIME_CAPABILITY as REGISTERED } from '../../../../shared/agent-session/structured-agent-session-surface-capabilities' +import { TEST_REPO } from '@/store/repos/repo.test-fixture' +const transport = vi.hoisted(() => ({ call: vi.fn(), rpc: vi.fn(), defaults: vi.fn() })) +vi.mock('@/runtime/native-chat/requests/structured-agent-session-call', () => ({ + callStructuredAgentSession: transport.call +})) +vi.mock('@/runtime/rpc/calls/runtime-rpc-call', () => ({ callRuntimeRpc: transport.rpc })) +vi.mock('@/runtime/agent-launch-settings/agent-launch-settings-transport', () => ({ + readHostAgentLaunchDefaults: transport.defaults +})) +const initial = useAppStore.getState() +const previousApi = Object.getOwnPropertyDescriptor(window, 'api') +afterEach(() => { + cleanup() + useAppStore.setState(initial, true) + resetHostStructuredAgentsForTests() + vi.resetAllMocks() + if (previousApi) { + Object.defineProperty(window, 'api', previousApi) + } else { + Reflect.deleteProperty(window, 'api') + } +}) +const detection: UseDetectedAgentsResult = { + detectedIds: ['codex'], + isLoading: false, + isRefreshing: false, + detectionFailed: false, + needsServerUpdate: false, + refresh: async () => ['codex'] +} + +it('reads a paired unknown-platform catalog before launch defaults and keeps it after defaults fail', async () => { + useAppStore.setState({ settings: getDefaultSettings('/synthetic') }) + transport.rpc.mockResolvedValue({ agents: [] }) + await loadHostStructuredAgents('runtime:unknown-platform', [REGISTERED], 'server-runtime') + const defaults = Promise.withResolvers() + transport.defaults.mockReturnValue(defaults.promise) + transport.call.mockResolvedValue({ + origin: 'probe', + fetchedAt: 1, + models: [{ id: 'server-only', label: 'Server', isDefault: false, efforts: [] }] + }) + const model: NewTabAgentMenuModel = { + state: 'settled', + rows: [{ agent: 'codex', kind: 'cli' }], + detection, + pickerContext: { + workspace: { + kind: 'git-worktree', + repoId: 'future', + executionHostId: 'runtime:unknown-platform' + }, + executionHostId: 'runtime:unknown-platform', + runtimeId: 'server-runtime', + settings: null, + key: 'unknown-platform' + } + } + const hook = renderHook(() => useAgentLaunchPickerInventory(undefined, model, true)) + await waitFor(() => + expect(hook.result.current[0]).toMatchObject({ + catalogRead: 'settled', + defaultsPending: true, + catalog: { models: [{ id: 'server-only' }] } + }) + ) + await act(async () => { + defaults.reject(new Error('defaults offline')) + }) + expect(hook.result.current[0]).toMatchObject({ + catalogRead: 'settled', + catalog: { models: [{ id: 'server-only' }] } + }) +}) + +it('reads the structured host list for a local UNC workspace instead of gating on its terminal route', async () => { + Object.defineProperty(window, 'api', { + configurable: true, + value: { platform: { get: () => ({ platform: 'win32' }) } } + }) + useAppStore.setState({ + settings: getDefaultSettings('/synthetic'), + repos: [ + { + ...TEST_REPO, + id: 'unc', + path: '\\\\wsl.localhost\\Ubuntu\\home\\app', + executionHostId: 'local' + } + ] + }) + transport.call.mockResolvedValue({ + origin: 'probe', + fetchedAt: 1, + models: [{ id: 'host-only', label: 'Host', isDefault: false, efforts: [] }] + }) + const model: NewTabAgentMenuModel = { + state: 'settled', + rows: [{ agent: 'codex', kind: 'cli' }], + detection, + pickerContext: { + workspace: { kind: 'git-worktree', repoId: 'unc' }, + executionHostId: 'local', + settings: {}, + key: 'local-unc' + } + } + const hook = renderHook(() => useAgentLaunchPickerInventory(undefined, model, true)) + await waitFor(() => + expect(hook.result.current[0]).toMatchObject({ + catalogRead: 'settled', + catalog: { models: [{ id: 'host-only' }] } + }) + ) +}) + +it('reloads paired launch defaults when reopening while the old catalog request drains', async () => { + useAppStore.setState({ settings: getDefaultSettings('/synthetic') }) + const catalog = Promise.withResolvers() + const admitted = Promise.withResolvers() + const defaults = Promise.withResolvers<{ + settings: { agentDefaultArgs: { codex: string } } + structuredKnown: boolean + }>() + transport.call.mockImplementation(() => { + admitted.resolve() + return catalog.promise + }) + transport.defaults.mockReturnValueOnce(defaults.promise).mockResolvedValue({ + settings: { + agentDefaultArgs: { codex: '--add-dir fresh' }, + nativeChatSessionOptions: { + codex: { model: 'fresh-default', valuesByModel: { 'fresh-default': { effort: 'high' } } } + } + }, + structuredKnown: true + }) + const model: NewTabAgentMenuModel = { + state: 'settled', + rows: [{ agent: 'codex', kind: 'cli' }], + detection, + pickerContext: { + workspace: { kind: 'floating', executionHostId: 'runtime:defaults-reopen' }, + executionHostId: 'runtime:defaults-reopen', + runtimeId: 'defaults-server', + settings: null, + key: 'defaults-reopen' + } + } + const hook = renderHook(({ open }) => useAgentLaunchPickerInventory(undefined, model, open), { + initialProps: { open: true } + }) + await act(async () => admitted.promise) + hook.rerender({ open: false }) + await act(async () => { + defaults.resolve({ + settings: { agentDefaultArgs: { codex: '--add-dir old' } }, + structuredKnown: true + }) + }) + hook.rerender({ open: true }) + try { + await waitFor(() => + expect(hook.result.current[0]).toMatchObject({ + defaultsPending: false, + arguments: '--add-dir fresh', + structured: { model: 'fresh-default', options: { effort: 'high' } } + }) + ) + } finally { + hook.unmount() + await act(async () => catalog.reject(new Error('closed catalog'))) + } +}) diff --git a/src/renderer/src/components/agent/agent-launch-picker-queued-waits.test.ts b/src/renderer/src/components/agent/agent-launch-picker-queued-waits.test.ts new file mode 100644 index 00000000000..adb92cb3fda --- /dev/null +++ b/src/renderer/src/components/agent/agent-launch-picker-queued-waits.test.ts @@ -0,0 +1,159 @@ +import { afterEach, expect, it, vi } from 'vitest' +import type { AgentPickerEntry } from '../../../../shared/agent-launch/picker/agent-launch-picker' +import type { AgentSessionModelCatalogResult } from '../../../../shared/agent-session/agent-session-wire' +import { useAppStore } from '@/store' +import { agentPickerModelCatalogReads } from './agent-launch-picker-host-reads' +import { observeAgentPickerAcquisition } from './agent-launch-picker-acquisition' +const transport = vi.hoisted(() => ({ call: vi.fn() })) +vi.mock('@/runtime/native-chat/requests/structured-agent-session-call', () => ({ + callStructuredAgentSession: transport.call +})) +const initial = useAppStore.getState() +afterEach(() => { + useAppStore.setState(initial, true) + transport.call.mockReset() +}) +const entry: AgentPickerEntry = { + agent: 'codex', + label: 'Codex', + rows: [], + surfaces: ['chat'], + defaultSurface: 'chat', + terminal: {}, + structured: {}, + catalog: { origin: 'unknown' } +} + +it('keeps last-good display failed and retries on reopen while support is still pending', async () => { + const refresh = Promise.withResolvers() + const support = Promise.withResolvers() + transport.call.mockImplementation((_target, _method, params) => + params.waitForListing + ? refresh.promise + : { + origin: 'probe', + fetchedAt: 1, + listingInProgress: true, + models: [{ id: 'last-good', label: 'Last good', isDefault: false, efforts: [] }] + } + ) + let published: AgentPickerEntry[] = [] + const observe = () => + observeAgentPickerAcquisition( + 'retry-after-failure', + [{ ...entry, structuredDefaultsPending: true }], + { + ...agentPickerModelCatalogReads({ target: { kind: 'local' }, worktree: 'id:retry' }), + support: () => support.promise + }, + { + selected: () => 'codex', + publish: (next) => { + published = next + } + } + ) + const close = observe() + await expect.poll(() => published[0]?.catalog).toMatchObject({ models: [{ id: 'last-good' }] }) + refresh.reject(new Error('offline')) + await expect + .poll(() => published[0]) + .toMatchObject({ catalogRead: 'failed', catalog: { models: [{ id: 'last-good' }] } }) + close() + transport.call.mockResolvedValue({ + origin: 'probe', + fetchedAt: 2, + models: [{ id: 'recovered', label: 'Recovered', isDefault: false, efforts: [] }] + }) + const reopened = observe() + try { + await expect + .poll(() => published[0]) + .toMatchObject({ catalogRead: 'settled', catalog: { models: [{ id: 'recovered' }] } }) + } finally { + reopened() + support.resolve(undefined) + } +}) + +it('ignores obsolete success and rejection after a real account change while the replacement is pending', async () => { + const old = Promise.withResolvers() + const middle = Promise.withResolvers() + const replacement = Promise.withResolvers() + const admitted = Promise.withResolvers(), + middleAdmitted = Promise.withResolvers(), + replacementAdmitted = Promise.withResolvers() + transport.call + .mockImplementationOnce(() => { + admitted.resolve() + return old.promise + }) + .mockImplementationOnce(() => { + middleAdmitted.resolve() + return middle.promise + }) + .mockImplementationOnce(() => { + replacementAdmitted.resolve() + return replacement.promise + }) + let published: AgentPickerEntry[] = [] + const done = Promise.withResolvers() + const reads: Promise[] = [] + const host = agentPickerModelCatalogReads({ target: { kind: 'local' }, worktree: 'id:replace' }) + const close = observeAgentPickerAcquisition( + 'account-cycle-fence', + [entry], + { + ...host, + catalog: (...args) => { + const read = host.catalog(...args) + reads.push(read) + return read + }, + support: async () => undefined + }, + { + selected: () => 'codex', + publish: (next) => { + published = next + if (next[0].catalogRead === 'settled') { + done.resolve() + } + } + } + ) + try { + await admitted.promise + useAppStore.setState((state) => ({ + settings: { ...state.settings!, activeCodexManagedAccountId: 'middle' } + })) + await middleAdmitted.promise + useAppStore.setState((state) => ({ + settings: { ...state.settings!, activeCodexManagedAccountId: 'new-account' } + })) + await replacementAdmitted.promise + old.resolve({ + origin: 'probe', + fetchedAt: 1, + models: [{ id: 'old-account', label: 'Old', isDefault: false, efforts: [] }] + }) + middle.reject(new Error('old transport failed')) + await Promise.allSettled(reads.slice(0, 2)) + expect(published[0]).toMatchObject({ catalogRead: 'pending', catalog: { origin: 'unknown' } }) + replacement.resolve({ + origin: 'probe', + fetchedAt: 2, + models: [{ id: 'new-account', label: 'New', isDefault: false, efforts: [] }] + }) + await done.promise + expect(published[0]).toMatchObject({ + catalogRead: 'settled', + catalog: { models: [{ id: 'new-account' }] } + }) + } finally { + close() + old.resolve({ origin: 'unknown' }) + middle.resolve({ origin: 'unknown' }) + replacement.resolve({ origin: 'unknown' }) + } +}) diff --git a/src/renderer/src/components/agent/agent-launch-setup-option-rows.ts b/src/renderer/src/components/agent/agent-launch-setup-option-rows.ts index e20461a08e3..ced76c6ecfa 100644 --- a/src/renderer/src/components/agent/agent-launch-setup-option-rows.ts +++ b/src/renderer/src/components/agent/agent-launch-setup-option-rows.ts @@ -1,3 +1,7 @@ +import { + agentPickerModelMenu, + agentPickerUsesComposerModelMenu +} from '../../../../shared/agent-launch/picker/agent-launch-picker-catalog' import { TEXT_ACTION_DEFAULT_MODEL, textActionArgumentsOwnEffort @@ -90,80 +94,98 @@ export function agentLaunchSetupOptionRows( argumentsOwnedRow('effort', options[0]?.label ?? 'Reasoning effort', 'thought_level', t) ] } - return options.map((option) => { - const effortInArguments = - entry.textGeneration?.effortInArguments && - (!draft.textChanges?.includes('effort') || entry.textGeneration.effortArgumentsUnrecognized) - const liveModel = models.find((model) => model.id === currentModel) - const current = - argumentsView.choices.options?.[option.id] ?? - (currentModel && !defaultsPending && !draft.delegated?.includes(option.id) - ? option.kind.type === 'boolean' - ? String(option.kind.defaultValue) - : option.id === 'effort' - ? liveModel?.defaultEffort - : option.kind.defaultIsCliDefault - ? option.kind.defaultValue - : undefined - : undefined) - if (argumentsView.context.analysis.opaqueKeys.has(option.id)) { - return argumentsOwnedRow(option.id, option.label, option.category, t) - } - const valueKnown = - current !== undefined || - (option.id === 'serviceTier' && - entry.catalog.origin !== 'unknown' && - Boolean(liveModel?.serviceTiers?.length)) - return { - id: option.id, - label: option.label, - category: option.category, - kind: - option.kind.type === 'boolean' - ? { type: 'boolean', currentValue: current === 'true' } - : { - type: 'select', - choices: entry.textGeneration - ? [ - ...(effortInArguments - ? [ - { - value: 'arguments', - label: t('agentPicker.setByArguments', 'Set by your Arguments') - } - ] - : []), - ...(entry.textGeneration.defaultLabel !== undefined - ? [ - { - value: TEXT_ACTION_DEFAULT_MODEL, - label: textEffortDefaultLabel(option.kind, t) - } - ] - : []), - ...option.kind.choices - ] - : option.id !== 'serviceTier' && - current && - !option.kind.choices.some((choice) => choice.value === current) - ? [...option.kind.choices, { value: current, label: current }] - : option.kind.choices, - currentValue: effortInArguments ? 'arguments' : current - }, - valueSource: valueKnown ? 'default' : 'unknown', - transport: 'agent-session', - settable: - !disabled && - !defaultsPending && - // A settled level the agent picks itself shows unselected but stays pickable. - (valueKnown || - option.kind.type === 'select' || - Boolean(currentModel && draft.delegated?.includes(option.id))) && - (!(option.id === 'fastMode' || option.id === 'serviceTier') || - !entry.surfaces.includes('terminal') || - argumentsKnown) - } - }) + const effort = agentPickerModelMenu(entry, draft.surface, { + ...(currentModel ? { model: currentModel } : {}), + ...argumentsView.choices.options + }).descriptors.find((row) => row.id === 'effort') + const sharedEffort = agentPickerUsesComposerModelMenu(entry, draft.surface) ? effort : undefined + const rows: SessionOptionDescriptor[] = options + .filter((option) => !sharedEffort || option.id !== 'effort') + .map((option) => { + const effortInArguments = + entry.textGeneration?.effortInArguments && + (!draft.textChanges?.includes('effort') || entry.textGeneration.effortArgumentsUnrecognized) + const liveModel = models.find((model) => model.id === currentModel) + const current = + argumentsView.choices.options?.[option.id] ?? + (currentModel && !defaultsPending && !draft.delegated?.includes(option.id) + ? option.kind.type === 'boolean' + ? String(option.kind.defaultValue) + : option.id === 'effort' + ? liveModel?.defaultEffort + : option.kind.defaultIsCliDefault + ? option.kind.defaultValue + : undefined + : undefined) + if (argumentsView.context.analysis.opaqueKeys.has(option.id)) { + return argumentsOwnedRow(option.id, option.label, option.category, t) + } + const valueKnown = + current !== undefined || + (option.id === 'serviceTier' && + entry.catalog.origin !== 'unknown' && + Boolean(liveModel?.serviceTiers?.length)) + return { + id: option.id, + label: option.label, + category: option.category, + kind: + option.kind.type === 'boolean' + ? { type: 'boolean', currentValue: current === 'true' } + : { + type: 'select', + choices: entry.textGeneration + ? [ + ...(effortInArguments + ? [ + { + value: 'arguments', + label: t('agentPicker.setByArguments', 'Set by your Arguments') + } + ] + : []), + ...(entry.textGeneration.defaultLabel !== undefined + ? [ + { + value: TEXT_ACTION_DEFAULT_MODEL, + label: textEffortDefaultLabel(option.kind, t) + } + ] + : []), + ...option.kind.choices + ] + : option.id !== 'serviceTier' && + current && + !option.kind.choices.some((choice) => choice.value === current) + ? [...option.kind.choices, { value: current, label: current }] + : option.kind.choices, + currentValue: effortInArguments ? 'arguments' : current + }, + valueSource: valueKnown ? 'default' : 'unknown', + transport: 'agent-session', + settable: + !disabled && + !defaultsPending && + // A settled level the agent picks itself shows unselected but stays pickable. + (valueKnown || + option.kind.type === 'select' || + Boolean(currentModel && draft.delegated?.includes(option.id))) && + (!(option.id === 'fastMode' || option.id === 'serviceTier') || + !entry.surfaces.includes('terminal') || + argumentsKnown) + } + }) + if (sharedEffort) { + rows.push( + argumentsView.context.analysis.opaqueKeys.has('effort') + ? argumentsOwnedRow('effort', sharedEffort.label, sharedEffort.category, t) + : { + ...sharedEffort, + settable: sharedEffort.settable && !disabled && !defaultsPending + } + ) + } + return rows } /** Speed rows sit apart from the rest; launch also lifts level rows onto speed's line. */ diff --git a/src/renderer/src/components/agent/agent-picker-catalog-jobs.ts b/src/renderer/src/components/agent/agent-picker-catalog-jobs.ts new file mode 100644 index 00000000000..39ac2a7614b --- /dev/null +++ b/src/renderer/src/components/agent/agent-picker-catalog-jobs.ts @@ -0,0 +1,30 @@ +import { shallow } from 'zustand/shallow' +import type { AgentPickerEntry } from '../../../../shared/agent-launch/picker/agent-launch-picker' + +export type AgentPickerCatalogJob = { index: number } +export function agentPickerCatalogJobs(entries: AgentPickerEntry[]): AgentPickerCatalogJob[] { + return entries.flatMap((entry, index) => + entry.surfaces.length && entry.catalogRead !== 'unsupported' ? [{ index }] : [] + ) +} +export function agentPickerCatalogFailure(error: unknown): 'unsupported' | 'failed' { + return typeof error === 'object' && + error !== null && + 'code' in error && + (error.code === 'method_not_found' || + error.code === 'structured_agent_session_unsupported' || + error.code === 'forbidden') + ? 'unsupported' + : 'failed' +} +export function updateAgentPickerCatalog( + entries: AgentPickerEntry[], + job: AgentPickerCatalogJob, + patch: Partial> +) { + const before = entries[job.index] + const next = { ...before, ...patch } + return shallow(before, next) + ? entries + : entries.map((row, index) => (index === job.index ? next : row)) +} diff --git a/src/renderer/src/components/agent/agent-picker-inventory-source.ts b/src/renderer/src/components/agent/agent-picker-inventory-source.ts new file mode 100644 index 00000000000..3ae6424ec27 --- /dev/null +++ b/src/renderer/src/components/agent/agent-picker-inventory-source.ts @@ -0,0 +1,63 @@ +import type { TuiAgent } from '../../../../shared/agent-launch/catalog/tui-agent' +import { useAppViewExternalStore } from '@/store/retained-views/app-state-view' +import type { AgentPickerEntry } from '../../../../shared/agent-launch/picker/agent-launch-picker' + +/** + * Live picker entries for one (inventory key, open) generation. Catalog and seed reads land one + * at a time for several seconds after the menu opens; holding them here instead of in the + * owner's React state lets only the components that render entries re-render as they land. + */ +export type AgentPickerInventorySource = { + getSnapshot: () => AgentPickerEntry[] + subscribe: (listener: () => void) => () => void +} + +type WritableAgentPickerInventorySource = AgentPickerInventorySource & { + publish: (entries: readonly AgentPickerEntry[]) => void +} + +export function createAgentPickerInventorySource( + initial: AgentPickerEntry[] +): WritableAgentPickerInventorySource { + let entries = initial + const listeners = new Set<() => void>() + return { + getSnapshot: () => entries, + subscribe: (listener) => { + listeners.add(listener) + return () => listeners.delete(listener) + }, + publish: (next) => { + // Why: a read that changed nothing (e.g. an unavailable catalog) must not re-render the menu. + if (next.length === entries.length && next.every((entry, i) => entry === entries[i])) { + return + } + entries = [...next] + for (const listener of listeners) { + listener() + } + } + } +} + +export function useAgentPickerInventoryEntries( + source: AgentPickerInventorySource +): AgentPickerEntry[] { + return useAppViewExternalStore(source.subscribe, source.getSnapshot, source.getSnapshot) +} + +export type AgentPickerAcquisitionObserver = { + publish: (entries: AgentPickerEntry[]) => void + selected: () => TuiAgent | undefined +} +export type AgentPickerAcquisitionReads = { + settings?: () => Promise + catalog: ( + entry: AgentPickerEntry, + waitForListing: boolean, + signal: AbortSignal + ) => Promise + refreshOnInvalidation?: (entry: AgentPickerEntry) => boolean + subscribeInvalidation?: (listener: () => void) => () => void + support: (entry: AgentPickerEntry) => Promise +} diff --git a/src/renderer/src/components/agent/icons/agent-icon-glyphs.tsx b/src/renderer/src/components/agent/icons/agent-icon-glyphs.tsx index be70a55196e..2cc72aa94f0 100644 --- a/src/renderer/src/components/agent/icons/agent-icon-glyphs.tsx +++ b/src/renderer/src/components/agent/icons/agent-icon-glyphs.tsx @@ -1,5 +1,5 @@ import React from 'react' -import { cn } from '../../../lib/utils' +import { cn } from '../../../lib/class-names' export function PiIcon({ size = 14, diff --git a/src/renderer/src/components/agent/launch-settings/AgentChatChoiceControls.tsx b/src/renderer/src/components/agent/launch-settings/AgentChatChoiceControls.tsx index 10c739f54dd..3c90a5c6652 100644 --- a/src/renderer/src/components/agent/launch-settings/AgentChatChoiceControls.tsx +++ b/src/renderer/src/components/agent/launch-settings/AgentChatChoiceControls.tsx @@ -14,7 +14,7 @@ import { import type { AgentOpensAs } from '../../../lib/agent-session/launch/native-chat-provider-choice' import { SettingsSegmentedControl } from '../../settings/form-controls/SettingsFormControls' import { structuredChatUnavailableOnPlatform } from '../../../../../shared/agent-session/structured-chat-platform-support' -import { isWindowsDesktopClient } from '@/lib/windows-path-access' +import { isWindowsDesktopClient } from '@/lib/files/os-open/windows-path-access' // The chat choice is this computer's, so the downloaded chat programs are too. const CHAT_HOST: RuntimeClientTarget = { kind: 'local' } diff --git a/src/renderer/src/components/agent/launch-settings/AgentChoiceControls.tsx b/src/renderer/src/components/agent/launch-settings/AgentChoiceControls.tsx index f79f0fc0178..4b78263a6cc 100644 --- a/src/renderer/src/components/agent/launch-settings/AgentChoiceControls.tsx +++ b/src/renderer/src/components/agent/launch-settings/AgentChoiceControls.tsx @@ -1,3 +1,4 @@ +import { modelMenuOptions } from '../../../../../shared/agent-session/options/model-menu-options' import type { AgentChoicePatch, AgentDedicatedChoices @@ -13,6 +14,11 @@ import { } from '../../../../../shared/source-control/ai/recipes/source-control-action-options' import { encodeCatalogOptionValue } from '../../../../../shared/agent-session/options/structured-agent-session-option-codec' import type { TuiAgent } from '../../../../../shared/agent-launch/catalog/tui-agent' +import type { AgentSessionModelCatalogResult } from '../../../../../shared/agent-session/agent-session-wire' +import { + agentPickerEntryOptions, + agentPickerModels +} from '../../../../../shared/agent-launch/picker/agent-launch-picker-catalog' import { AgentChoiceMenu } from './AgentChoiceMenu' import { sourceControlActionRouteHint } from './agent-choice-route-hint' import { useTranslate } from '@/i18n/use-translate' @@ -27,6 +33,10 @@ export type AgentChoiceControlsProps = { optionIds?: readonly string[] defaultLabels?: { model?: string; options?: Record } layout?: 'stacked' | 'contents' | 'rows' + /** The host's own list; without a listing the fields keep the release's seed models. */ + liveCatalog?: AgentSessionModelCatalogResult + /** Tells the reader this list is the release's, because the host gave none. */ + usesSeedModels?: boolean onChange: (value: AgentDedicatedChoices | undefined) => void } @@ -61,6 +71,8 @@ export function AgentChoiceFields({ optionIds, defaultLabels, layout = 'stacked', + liveCatalog, + usesSeedModels, onSelect }: Omit & { onSelect: (patch: AgentChoicePatch) => void @@ -73,13 +85,52 @@ export function AgentChoiceFields({ const catalog = picksModel ? getAgentSessionOptionLaunchCatalog(agent) : null const selected = value const model = catalog && selected?.model ? findCatalogModel(catalog, selected.model) : undefined - const unlistedModel = catalog && selected?.model && !model ? selected.model : undefined - const options = sourceControlActionOptions(agent, selected?.model ?? '').filter( + const live = + liveCatalog && liveCatalog.origin !== 'unknown' && liveCatalog.models.length + ? { agent, catalog: liveCatalog, terminal: {} } + : null + const menu = + live && catalog && agent !== 'antigravity' + ? modelMenuOptions(live.catalog, { + agent, + surface: 'terminal', + seed: catalog, + newLaunch: true, + seedsModel: false, + saved: { ...(selected?.model ? { model: selected.model } : {}), ...selected?.options } + }) + : undefined + const effort = menu?.descriptors.find(({ id }) => id === 'effort') + const listedModels = live + ? (menu?.rows ?? agentPickerModels(live)).filter((row) => !('hidden' in row && row.hidden)) + : (catalog?.models ?? []) + const unlistedModel = + selected?.model && !(live ? listedModels.some(({ id }) => id === selected.model) : model) + ? selected.model + : undefined + const liveEffort = live + ? agentPickerEntryOptions(live, selected?.model, 'terminal').find(({ id }) => id === 'effort') + : undefined + const effortKind = + menu && selected?.model + ? effort?.kind.type === 'select' + ? { ...effort.kind, defaultValue: '' } + : undefined + : liveEffort?.kind + const options = sourceControlActionOptions(agent, selected?.model ?? '').flatMap((row) => { // CLI carrier mappings remain available to Args badges without advertising a mode control. - ({ option }) => - (Boolean(model) || option.category !== 'mode') && - (!optionIds || optionIds.includes(option.id)) - ) + if ( + (!model && row.option.category === 'mode') || + (optionIds && !optionIds.includes(row.option.id)) + ) { + return [] + } + if (!live || row.option.id !== 'effort') { + return [row] + } + // A listed model with no reasoning levels gets no effort menu. + return effortKind ? [{ ...row, option: { ...row.option, kind: effortKind } }] : [] + }) const defaultLabel = t('settings.sourceControl.actionModel.effortDefault', 'Default') return (
@@ -97,12 +148,20 @@ export function AgentChoiceFields({ defaultLabels?.model ?? t('settings.sourceControl.actionModel.agentDefault', 'Agent default') }, - ...catalog.models.map(({ id, label }) => ({ value: id, label })), + ...listedModels.map(({ id, label }) => ({ value: id, label })), ...(unlistedModel ? [{ value: unlistedModel, label: unlistedModel }] : []) ]} onChange={(model) => onSelect({ model: model === AGENT_DEFAULT_VALUE ? null : model })} /> ) : null} + {catalog?.models.length && usesSeedModels ? ( +

+ {t( + 'settings.agents.modelListFallback', + 'Built-in list. Orca could not get a model list from this host.' + )} +

+ ) : null} {options.map(({ option, route }) => { const choices = option.kind.type === 'select' @@ -125,7 +184,7 @@ export function AgentChoiceFields({ row={layout === 'rows'} hint={sourceControlActionRouteHint(route, t)} value={current ?? AGENT_DEFAULT_VALUE} - disabled={disabled} + disabled={disabled || (option.id === 'effort' && effort?.settable === false)} onOpenChange={onOpenChange} choices={[ { diff --git a/src/renderer/src/components/agent/launch-settings/AgentDefaultSurfacePreviews.tsx b/src/renderer/src/components/agent/launch-settings/AgentDefaultSurfacePreviews.tsx index b47f494f994..10e58143629 100644 --- a/src/renderer/src/components/agent/launch-settings/AgentDefaultSurfacePreviews.tsx +++ b/src/renderer/src/components/agent/launch-settings/AgentDefaultSurfacePreviews.tsx @@ -1,6 +1,6 @@ -import { useMemo, type CSSProperties, type JSX, type ReactNode } from 'react' +import { useMemo } from 'react' +import type { CSSProperties, JSX, ReactNode } from 'react' import { ArrowUp, ChevronDown, Eye, Hand, Plus, X } from 'lucide-react' -import type { GlobalSettings } from '../../../../../shared/global-settings-types' import { FlowDiagram } from '@/components/feature-tips/ChatUiHereFeatureTipVisual' import { CHAT_DEMO_FILE, @@ -17,9 +17,10 @@ import { composeActiveTerminalTheme } from '@/components/terminal-pane/appearanc import { useSystemPrefersDark } from '@/hooks/theme/use-system-prefers-dark' import { useIntlLocale, useTranslate } from '@/i18n/use-translate' import { AgentIcon } from '@/components/agent/icons/AgentIcon' -import { buildFontFamily } from '@/lib/monospace-font-family' -import { resolveEffectiveTerminalAppearance } from '@/lib/terminal-theme' -import { cn } from '@/lib/utils' +import { buildFontFamily } from '../../../../../shared/monospace-font-family' +import { resolveEffectiveTerminalAppearance } from '@/lib/terminal/appearance/terminal-theme' +import { cn } from '@/lib/class-names' +import type { GlobalSettings } from '../../../../../shared/global-settings-types' // The tip's chat miniature, finished and denser so it fits a tile; nothing here animates. const CHAT_SCALE: CSSProperties & { '--chat-font-size': string } = { '--chat-font-size': '10px' } diff --git a/src/renderer/src/components/agent/launch-settings/AgentLaunchChoiceEditor.test.tsx b/src/renderer/src/components/agent/launch-settings/AgentLaunchChoiceEditor.test.tsx new file mode 100644 index 00000000000..f2ed4781e13 --- /dev/null +++ b/src/renderer/src/components/agent/launch-settings/AgentLaunchChoiceEditor.test.tsx @@ -0,0 +1,128 @@ +// @vitest-environment happy-dom +import { act, cleanup, render, waitFor } from '@testing-library/react' +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import { getDefaultSettings } from '../../../../../shared/constants' +import { resetHostModelCatalogSnapshotsForTests } from '@/runtime/native-chat/model-catalogs/host-model-catalog-snapshots' +import { useAppStore } from '@/store' +import { TooltipProvider } from '../../ui/tooltip' +import type { RuntimeClientTarget } from '../../../../../shared/runtime-client-target' +import { AgentLaunchChoiceEditor } from './AgentLaunchChoiceEditor' + +const call = vi.hoisted(() => vi.fn()) +const discover = vi.hoisted(() => vi.fn()) +const menus = vi.hoisted(() => new Map()) + +vi.mock('@/runtime/native-chat/requests/structured-agent-session-call', () => ({ + callStructuredAgentSession: call +})) +vi.mock('@/runtime/source-control/git/runtime-git-generation-client', () => ({ + discoverRuntimeCommitMessageModels: discover +})) +vi.mock('./AgentChoiceMenu', () => ({ + AgentChoiceMenu: ({ + label, + choices + }: { + label: string + choices: readonly { value: string }[] + }) => { + menus.set( + label, + choices.map(({ value }) => value) + ) + return null + } +})) + +// A Codex account answer: its models are scoped, so no new chat in another workspace may reuse it. +const LISTED = { + origin: 'probe', + modelsDifferByWorkspace: true, + models: [ + { + id: 'gpt-6-astra', + label: 'GPT-6-Astra', + isDefault: true, + efforts: [ + { value: 'low', label: 'Low' }, + { value: 'ultra', label: 'Ultra' } + ] + }, + { id: 'gpt-reserve', label: 'GPT-Reserve', hidden: true, efforts: [] } + ] +} + +const HOST = { kind: 'environment', environmentId: 'env-1' } as const + +function renderEditor( + model?: string, + agent: 'codex' | 'cursor' = 'codex', + catalogTarget: RuntimeClientTarget = HOST +): void { + render( + + {}} + /> + + ) +} + +describe('AgentLaunchChoiceEditor model list', () => { + const initialSettings = useAppStore.getState().settings + + beforeEach(() => { + call.mockReset() + discover.mockReset() + menus.clear() + resetHostModelCatalogSnapshotsForTests() + }) + afterEach(() => { + cleanup() + useAppStore.setState({ settings: initialSettings }) + }) + + it('shows the refreshed model after the agent command changes and ignores the older answer', async () => { + let answerOlder: (catalog: unknown) => void = () => {} + call.mockReturnValueOnce(new Promise((resolve) => (answerOlder = resolve))) + call.mockResolvedValueOnce({ + ...LISTED, + models: [{ id: 'gpt-wrapped', label: 'GPT Wrapped', efforts: [] }] + }) + const settings = getDefaultSettings('') + useAppStore.setState({ settings }) + renderEditor() + + act(() => { + useAppStore.setState({ + settings: { ...settings, agentCmdOverrides: { codex: 'wrapped-codex' } } + }) + }) + + await waitFor(() => expect(menus.get('Model')).toEqual(['__agent_default__', 'gpt-wrapped'])) + await act(async () => answerOlder(LISTED)) + expect(menus.get('Model')).toEqual(['__agent_default__', 'gpt-wrapped']) + }) + + it("lists the local Cursor CLI's models", async () => { + // The host's structured catalog has no Cursor listing; Settings must not settle for it. + call.mockResolvedValue({ origin: 'unknown' }) + discover.mockResolvedValueOnce({ + success: true, + catalogOrigin: 'probe', + models: [ + { id: 'auto', label: 'Auto', isDefault: true }, + { id: 'claude-opus-5-5-max', label: 'Claude Opus 5.5 Max' } + ] + }) + useAppStore.setState({ settings: getDefaultSettings('') }) + renderEditor(undefined, 'cursor', { kind: 'local' }) + await waitFor(() => expect(menus.get('Model')).toContain('claude-opus-5-5-max')) + }) +}) diff --git a/src/renderer/src/components/agent/launch-settings/AgentLaunchChoiceEditor.tsx b/src/renderer/src/components/agent/launch-settings/AgentLaunchChoiceEditor.tsx index 6e95245b19c..c37b4a84610 100644 --- a/src/renderer/src/components/agent/launch-settings/AgentLaunchChoiceEditor.tsx +++ b/src/renderer/src/components/agent/launch-settings/AgentLaunchChoiceEditor.tsx @@ -12,7 +12,9 @@ import { useAgentLaunchFieldWrite } from './use-agent-launch-field-write' import { reconcileAgentChoiceArgs } from '../../../../../shared/agent-launch/choices/agent-choice-reconciliation' import type { TuiAgent } from '../../../../../shared/agent-launch/catalog/tui-agent' import { useTranslate } from '@/i18n/use-translate' +import type { RuntimeClientTarget } from '../../../../../shared/runtime-client-target' import { AgentChoiceFields } from './AgentChoiceControls' +import { useAgentSettingsModelCatalog } from './use-agent-settings-model-catalog' export function AgentLaunchChoiceEditor({ agent, @@ -22,9 +24,12 @@ export function AgentLaunchChoiceEditor({ permission, permissionControlRef, save, + catalogTarget, showArguments = true }: { showArguments?: boolean + /** The host whose models this editor lists; null keeps the release's seed models. */ + catalogTarget: RuntimeClientTarget | null agent: TuiAgent label: string choices: AgentModelOptionChoices | undefined @@ -34,6 +39,10 @@ export function AgentLaunchChoiceEditor({ save: (patch: AgentChoicePatch | undefined, userArgs: string) => Promise }): React.JSX.Element { const t = useTranslate() + const { catalog: liveCatalog, usesSeedModels } = useAgentSettingsModelCatalog( + agent, + catalogTarget + ) const menu = useRef({ open: false, committed: false }) const editorRef = useRef(null) const [draft, setDraft] = useState(null) @@ -101,6 +110,8 @@ export function AgentLaunchChoiceEditor({ value={choices} disabled={pending} layout="rows" + liveCatalog={liveCatalog} + usesSeedModels={usesSeedModels} onOpenChange={onOpenChange} optionIds={['effort']} onSelect={(patch) => commit(patch)} diff --git a/src/renderer/src/components/agent/launch-settings/AgentPermissionMenu.tsx b/src/renderer/src/components/agent/launch-settings/AgentPermissionMenu.tsx index 5755c37a089..cbce5d28108 100644 --- a/src/renderer/src/components/agent/launch-settings/AgentPermissionMenu.tsx +++ b/src/renderer/src/components/agent/launch-settings/AgentPermissionMenu.tsx @@ -1,5 +1,5 @@ import { useTranslate } from '../../../i18n/use-translate' -import { cn } from '../../../lib/utils' +import { cn } from '../../../lib/class-names' import { ChevronDown } from 'lucide-react' import { Button } from '../../ui/button' import { Label } from '../../ui/label' diff --git a/src/renderer/src/components/agent/launch-settings/use-agent-settings-model-catalog.ts b/src/renderer/src/components/agent/launch-settings/use-agent-settings-model-catalog.ts new file mode 100644 index 00000000000..dc38bb37afe --- /dev/null +++ b/src/renderer/src/components/agent/launch-settings/use-agent-settings-model-catalog.ts @@ -0,0 +1,127 @@ +import { useEffect, useState, useSyncExternalStore } from 'react' +import { useShallow } from 'zustand/react/shallow' +import type { AgentSessionModelCatalogResult } from '../../../../../shared/agent-session/agent-session-wire' +import type { TuiAgent } from '../../../../../shared/agent-launch/catalog/tui-agent' +import type { RuntimeClientTarget } from '../../../../../shared/runtime-client-target' +import { + HOST_MODEL_CATALOG_ACCOUNT_SETTINGS, + withoutUnprovenNewLaunchDefault +} from '../../../../../shared/agent-session/options/host-model-catalog-snapshot-rules' +import { sourceControlActionAgentPicksModel } from '../../../../../shared/source-control/ai/recipes/source-control-action-options' +import { + hostModelCatalogGeneration, + readHostModelCatalogSnapshot, + subscribeHostModelCatalogForgotten +} from '@/runtime/native-chat/model-catalogs/host-model-catalog-snapshots' +import { subscribeHostAgentLaunchSettings } from '@/runtime/agent-launch-settings/agent-launch-settings-transport' +import { callStructuredAgentSession } from '@/runtime/native-chat/requests/structured-agent-session-call' +import { structuredAgentSessionHostKey } from '@/runtime/native-chat/host-capabilities/structured-agent-session-host-capability' +import { useAppStore } from '@/store' +import { + agentPickerListsCliModels, + readAgentPickerCliModelCatalog +} from '../agent-launch-picker-cli-model-catalog' +import { resolveWorktreeModelDiscoveryRuntime } from '../../native-chat/session/options/catalog/native-chat-session-option-discovery' + +const SETTINGS_LAUNCH = { newLaunch: true, seedsModel: true } + +/** The host's account models for a Settings default. `usesSeedModels` says the release's list stands in. */ +export function useAgentSettingsModelCatalog( + agent: TuiAgent, + target: RuntimeClientTarget | null +): { catalog: AgentSessionModelCatalogResult | undefined; usesSeedModels: boolean } { + const key = target ? `${structuredAgentSessionHostKey(target)}\u0000${agent}` : null + // Same array until one changes: a new account or command lists different models. + const accountSettings = useAppStore( + useShallow((state) => HOST_MODEL_CATALOG_ACCOUNT_SETTINGS.map((name) => state.settings?.[name])) + ) + // A host can change account with no setting changing here, such as a paired host reconnecting. + const readGeneration = (): number => (target ? hostModelCatalogGeneration(target) : 0) + const generation = useSyncExternalStore(subscribeHostModelCatalogForgotten, readGeneration) + // A paired host's command and environment live in its own settings; re-read, keeping the shown list meanwhile. + const [hostRevision, setHostRevision] = useState(0) + const environmentId = target?.kind === 'environment' ? target.environmentId : null + const isLocal = target?.kind === 'local' + useEffect( + () => + environmentId + ? subscribeHostAgentLaunchSettings((owner) => { + if (owner.environmentId === environmentId) { + setHostRevision((revision) => revision + 1) + } + }) + : undefined, + [environmentId] + ) + const [answer, setAnswer] = useState<{ + key: string + accountSettings: readonly unknown[] + generation: number + catalog: AgentSessionModelCatalogResult | undefined + } | null>(null) + useEffect(() => { + // Rebuilt from primitives: callers pass a new target object every render. + const readTarget: RuntimeClientTarget | null = environmentId + ? { kind: 'environment', environmentId } + : isLocal + ? { kind: 'local' } + : null + if (!readTarget || !key || !sourceControlActionAgentPicksModel(agent)) { + return + } + let stale = false + // Like the launch picker, an agent with no structured chat lists through this machine's CLI; + // a workspace-less read can't route that to another host, so other hosts keep the seed. + const cliRuntime = + isLocal && agentPickerListsCliModels({ agent }) + ? resolveWorktreeModelDiscoveryRuntime(useAppStore.getState(), null) + : null + // Not recorded in the new-chat snapshot: an account answer there would drop newer workspace answers. + // Old hosts refuse waitForListing, so wait only once the host says a listing is running. + const fetchCatalog = (wait: boolean): Promise => + cliRuntime + ? readAgentPickerCliModelCatalog(agent, cliRuntime) + : callStructuredAgentSession( + readTarget, + 'agentSession.modelCatalog', + wait ? { agent, waitForListing: true } : { agent } + ) + const read = (wait: boolean): void => { + void fetchCatalog(wait) + .then((catalog) => { + if (stale) { + return + } + if (wait ? catalog.waitExpired : catalog.listingInProgress) { + read(true) + return + } + setAnswer({ key, accountSettings, generation, catalog }) + }) + // Why not the snapshot: an unanswered read can't vouch for an older list. + .catch(() => { + if (!stale) { + setAnswer({ key, accountSettings, generation, catalog: undefined }) + } + }) + } + read(false) + return () => { + stale = true + } + }, [agent, key, environmentId, isLocal, accountSettings, generation, hostRevision]) + const settled = + answer?.key === key && + answer.accountSettings === accountSettings && + answer.generation === generation + ? answer + : null + // Why not the snapshot once answered: it serves new chats, so it refuses workspace-scoped lists. + const catalog = settled + ? settled.catalog && withoutUnprovenNewLaunchDefault(settled.catalog) + : target + ? readHostModelCatalogSnapshot(target, agent, SETTINGS_LAUNCH) + : undefined + const listed = catalog && catalog.origin !== 'unknown' && catalog.models.length > 0 + return { catalog, usesSeedModels: !listed && (!target || settled !== null) } +} diff --git a/src/renderer/src/components/agent/use-agent-launch-picker-inventory.ts b/src/renderer/src/components/agent/use-agent-launch-picker-inventory.ts index d6f157a256e..40cf89e20e8 100644 --- a/src/renderer/src/components/agent/use-agent-launch-picker-inventory.ts +++ b/src/renderer/src/components/agent/use-agent-launch-picker-inventory.ts @@ -1,4 +1,20 @@ -import { useAppStateView, useAppStateViewActive } from '@/store/retained-views/app-state-view' +import { getAgentSessionOptionLaunchCatalog } from '../../../../shared/agent-session/options/agent-session-option-catalog' +import { recomputeOn } from '@/lib/recompute-on' +import { useHostStructuredAgentsVersion } from '@/runtime/native-chat/agent-catalogs/chat-provider-agents' +import { + createAgentPickerInventorySource, + useAgentPickerInventoryEntries, + type AgentPickerInventorySource +} from './agent-picker-inventory-source' +import { + useAppStateView, + useAppStateViewActive, + useAppViewExternalStore +} from '@/store/retained-views/app-state-view' +import { + readLocalRuntimeCapabilityObservation, + subscribeLocalRuntimeCapabilityObservation +} from '@/runtime/hosts/capabilities/local-runtime-capabilities' import { hostWorktreeTarget } from '../../../../shared/worktree/host-qualified-identity' import { parseExecutionHostId } from '../../../../shared/execution-host' import { selectWorkspaceByHostTarget } from '@/store/workspaces/selection/workspace-host-target' @@ -12,32 +28,30 @@ import type { NewTabAgentMenuModel } from '../tab-bar/use-new-tab-agent-menu-row import { buildAgentLaunchRouteInput } from '@/lib/agent-session/launch/routing/agent-launch-route-input' import { workspaceKindForWorktreeId } from '../../../../shared/agent-launch/contracts/workspace-launch-kind' import { structuredAgentSessionTargetForHost } from '@/runtime/native-chat/session-ownership/structured-agent-session-owner' -import { callStructuredAgentSession } from '@/runtime/native-chat/requests/structured-agent-session-call' import { readHostStructuredAgentsForRuntime } from '@/runtime/native-chat/agent-catalogs/host-structured-agents' -import { getAgentSessionOptionLaunchCatalog } from '../../../../shared/agent-session/options/agent-session-option-catalog' +import type { RuntimeGitContext } from '@/runtime/source-control/git/runtime-git-client-context' +import { resolveWorktreeModelDiscoveryRuntime } from '../native-chat/session/options/catalog/native-chat-session-option-discovery' +import { agentPickerListsCliModels } from './agent-launch-picker-cli-model-catalog' +import { + agentPickerModelCatalogReads, + readAgentPickerLaunchSupport +} from './agent-launch-picker-host-reads' +import { AGENT_SESSION_COHERENT_MODEL_CATALOG_CAPABILITY } from '../../../../shared/agent-session/structured-agent-session-surface-capabilities' import { formatAgentTypeLabel } from '../../../../shared/agent-status/presentation/agent-type-label' -import type { AgentSessionModelCatalogResult } from '../../../../shared/agent-session/agent-session-wire' -import { parseStructuredLaunchSeedOptions } from '../../../../shared/native-chat/input/native-chat-session-option-defaults' import { - createAgentPickerInventorySource, - useAgentPickerInventoryEntries, currentAgentPickerAcquisition, - observeAgentPickerAcquisition, - type AgentPickerInventorySource + observeAgentPickerAcquisition } from './agent-launch-picker-acquisition' import { agentPickerChoiceSeeds, type AgentPickerDefaultSettings } from '../../../../shared/agent-launch/picker/agent-launch-picker-defaults' -import { isAgentChatPermissionChoice } from '../../../../shared/agent-launch/permissions/agent-chat-permission-mode' import { agentPickerEntriesFromRows, type AgentPickerEntry } from '../../../../shared/agent-launch/picker/agent-launch-picker' export { useAgentPickerInventoryEntries, type AgentPickerInventorySource } - -/** Forms consume entries; menu owners can retain the source without subscribing. */ export function useAgentLaunchPickerInventory( worktreeId: string | undefined, model: NewTabAgentMenuModel, @@ -48,8 +62,6 @@ export function useAgentLaunchPickerInventory( useAgentLaunchPickerInventorySource(worktreeId, model, open, selected) ) } - -/** Owns acquisition for the menu without subscribing its caller to the entries it publishes. */ export function useAgentLaunchPickerInventorySource( worktreeId: string | undefined, model: NewTabAgentMenuModel, @@ -58,6 +70,11 @@ export function useAgentLaunchPickerInventorySource( ): AgentPickerInventorySource { const store = useAppStateView() const viewActive = useAppStateViewActive() + const localCapabilities = useAppViewExternalStore( + subscribeLocalRuntimeCapabilityObservation, + readLocalRuntimeCapabilityObservation, + readLocalRuntimeCapabilityObservation + ) const selectedRef = useRef(selected) useLayoutEffect(() => { selectedRef.current = selected @@ -74,9 +91,14 @@ export function useAgentLaunchPickerInventorySource( } }).executionHostId const target = structuredAgentSessionTargetForHost(executionHostId) - const registeredAgents = readHostStructuredAgentsForRuntime( - executionHostId, - target?.kind === 'local' ? null : context?.runtimeId + const agentsVersion = useHostStructuredAgentsVersion() + const registeredAgents = recomputeOn( + [agentsVersion, executionHostId, target?.kind, context?.runtimeId], + () => + readHostStructuredAgentsForRuntime( + executionHostId, + target?.kind === 'local' ? null : context?.runtimeId + ) ) const repo = context?.workspace.repoId ? store.getState().repos.find((candidate) => candidate.id === context.workspace.repoId) @@ -87,18 +109,31 @@ export function useAgentLaunchPickerInventorySource( const hostId = parseExecutionHostId(executionHostId)?.id const worktrees = selectWorktreesByRepo(state) const folders = selectFolderWorkspaces(state) - const concreteWorkspace = useMemo( + const selectedWorkspace = useMemo( () => - !!( - workspaceId && - hostId && - selectWorkspaceByHostTarget( - { worktreesByRepo: worktrees ?? {}, folderWorkspaces: folders ?? [] }, - hostWorktreeTarget({ id: workspaceId, hostId }) - ) + workspaceId && + hostId && + selectWorkspaceByHostTarget( + { worktreesByRepo: worktrees ?? {}, folderWorkspaces: folders ?? [] }, + hostWorktreeTarget({ id: workspaceId, hostId }) ), [workspaceId, hostId, worktrees, folders] ) + const concreteWorkspace = !!selectedWorkspace + const hostCapabilities = + target?.kind === 'local' + ? localCapabilities.state === 'known' + ? localCapabilities.capabilities + : null + : buildAgentLaunchRouteInput(state, { + agent: 'claude', + workspace: context?.workspace ?? { + kind: worktreeId ? workspaceKindForWorktreeId(worktreeId) : 'floating', + ...(worktreeId ? { worktreeId } : {}) + } + }).hostCapabilities + const coherentCatalog = + hostCapabilities?.includes(AGENT_SESSION_COHERENT_MODEL_CATALOG_CAPABILITY) === true const draftTarget = useMemo( () => ({ key: JSON.stringify([ @@ -126,6 +161,22 @@ export function useAgentLaunchPickerInventorySource( concreteWorkspace ] ) + // Without a concrete workspace, CLI discovery can only ask this machine, so other hosts keep the seed. + // SSH discovery has no route yet, so SSH workspaces keep it too. + const discoveryWorktreeId = draftTarget.worktreeId ?? null + const ownerRuntime = + discoveryWorktreeId || target?.kind === 'local' + ? resolveWorktreeModelDiscoveryRuntime(store.getState(), discoveryWorktreeId) + : null + const cliDiscoveryRuntime: RuntimeGitContext | null = + !ownerRuntime || ownerRuntime.connectionId + ? null + : discoveryWorktreeId + ? ownerRuntime + : { ...ownerRuntime, worktreePath: repo?.path ?? '' } + const reads = agentPickerModelCatalogReads({ target, worktree: selector, cliDiscoveryRuntime }) + const observesHostCatalog = + model.state === 'settled' && model.rows.some(reads.refreshOnInvalidation) const key = useMemo( () => JSON.stringify([ @@ -133,6 +184,7 @@ export function useAgentLaunchPickerInventorySource( context?.workspace, context?.pairingRevision, context?.runtimeId, + ...(observesHostCatalog ? [registeredAgents, coherentCatalog] : []), worktreeId, selector, executionHostId, @@ -148,7 +200,17 @@ export function useAgentLaunchPickerInventorySource( nativeChatPermissionMode: settings.nativeChatPermissionMode } ]), - [context, worktreeId, selector, executionHostId, model, settings] + [ + context, + worktreeId, + selector, + executionHostId, + model, + settings, + registeredAgents, + coherentCatalog, + observesHostCatalog + ] ) const build = (defaults: AgentPickerDefaultSettings | null | undefined) => model.state === 'settled' @@ -160,7 +222,8 @@ export function useAgentLaunchPickerInventorySource( model.defaultTuiAgent ).map((entry) => ({ ...entry, - ...(!target || + coherentCatalog, + ...((!target && !(cliDiscoveryRuntime && agentPickerListsCliModels(entry))) || !entry.surfaces.length || (registeredAgents && !registeredAgents.some(({ agent }) => agent === entry.agent) && @@ -196,7 +259,7 @@ export function useAgentLaunchPickerInventorySource( [key, open, fallback] ) useEffect(() => { - if (!viewActive || !open || !target || model.state !== 'settled') { + if (!viewActive || !open || (!target && !cliDiscoveryRuntime) || model.state !== 'settled') { return } const controller = new AbortController() @@ -205,7 +268,7 @@ export function useAgentLaunchPickerInventorySource( fallback, { settings: - target.kind !== 'environment' + target?.kind !== 'environment' ? undefined : async () => { const defaults = await readHostAgentLaunchDefaults( @@ -228,37 +291,9 @@ export function useAgentLaunchPickerInventorySource( })) : undefined }, - catalog: (entry, waitForListing) => - callStructuredAgentSession( - target, - 'agentSession.modelCatalog', - { - ...(selector ? { worktree: selector } : {}), - agent: entry.agent, - ...(waitForListing ? { waitForListing } : {}) - } - ), - support: async (entry) => { - if (!selector) { - return undefined - } - const support = await callStructuredAgentSession<{ - seedOptions?: Record - }>(target, 'agentSession.createSupport', { - worktree: selector, - agent: entry.agent - }) - const parsed = parseStructuredLaunchSeedOptions(support?.seedOptions) - if (!parsed) { - return undefined - } - const { model, permissionMode, ...options } = parsed - return { - ...(model ? { model } : {}), - options, - ...(isAgentChatPermissionChoice(permissionMode) ? { permissionMode } : {}) - } - } + ...reads, + subscribeInvalidation: observesHostCatalog ? reads.subscribeInvalidation : undefined, + support: (entry) => readAgentPickerLaunchSupport(target, selector, entry.agent) }, { selected: () => selectedRef.current, diff --git a/src/renderer/src/components/artifacts/ArtifactCollection.tsx b/src/renderer/src/components/artifacts/ArtifactCollection.tsx index 08663157396..564400b5542 100644 --- a/src/renderer/src/components/artifacts/ArtifactCollection.tsx +++ b/src/renderer/src/components/artifacts/ArtifactCollection.tsx @@ -3,12 +3,12 @@ import { Loader2 } from 'lucide-react' import type { ArtifactListItem } from '../../../../shared/artifacts/artifacts' import { Button } from '@/components/ui/button' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { clampArtifactListSearchQuery, filterArtifactsBySearchQuery } from './artifact-list-search' import { ArtifactListRows } from './ArtifactListRows' import { ArtifactListTableHeader } from './ArtifactListTableHeader' import { ArtifactListToolbar } from './ArtifactListToolbar' -import { LIST_TABLE_CONTAINER_CLASS } from '@/lib/list-table-layout' +import { LIST_TABLE_CONTAINER_CLASS } from '@/lib/list-interaction/list-table-layout' export function ArtifactCollection({ artifacts, diff --git a/src/renderer/src/components/artifacts/ArtifactListRow.tsx b/src/renderer/src/components/artifacts/ArtifactListRow.tsx index 47e63f1b3eb..c1088a175fe 100644 --- a/src/renderer/src/components/artifacts/ArtifactListRow.tsx +++ b/src/renderer/src/components/artifacts/ArtifactListRow.tsx @@ -19,8 +19,11 @@ import { } from '@/components/ui/dropdown-menu' import { translate } from '@/i18n/i18n' import { useIntlLocale, useTranslate, type Translate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' -import { isPortaledRowMenuClick, isRowActivationKey } from '@/lib/list-row-interaction' +import { cn } from '@/lib/class-names' +import { + isPortaledRowMenuClick, + isRowActivationKey +} from '@/lib/list-interaction/list-row-interaction' import { artifactName, artifactTypeLabel, @@ -34,7 +37,7 @@ import { LIST_TABLE_ROW_CLASS, LIST_TABLE_ROW_DIVIDER_CLASS, LIST_TABLE_ROW_SELECTED_CLASS -} from '@/lib/list-table-layout' +} from '@/lib/list-interaction/list-table-layout' type ArtifactRowAction = { key: string diff --git a/src/renderer/src/components/artifacts/ArtifactListSearchField.tsx b/src/renderer/src/components/artifacts/ArtifactListSearchField.tsx index f33d9200119..05c54d1787f 100644 --- a/src/renderer/src/components/artifacts/ArtifactListSearchField.tsx +++ b/src/renderer/src/components/artifacts/ArtifactListSearchField.tsx @@ -3,7 +3,7 @@ import { Search, X } from 'lucide-react' import { Button } from '@/components/ui/button' import { Input } from '@/components/ui/input' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' export function ArtifactListSearchField({ query, diff --git a/src/renderer/src/components/artifacts/ArtifactListTableHeader.tsx b/src/renderer/src/components/artifacts/ArtifactListTableHeader.tsx index 4033ff8921b..7b91c07ec6a 100644 --- a/src/renderer/src/components/artifacts/ArtifactListTableHeader.tsx +++ b/src/renderer/src/components/artifacts/ArtifactListTableHeader.tsx @@ -1,7 +1,7 @@ -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' import { ARTIFACTS_TABLE_GRID_CLASS } from './artifacts-table-layout' -import { LIST_TABLE_HEADER_CLASS } from '@/lib/list-table-layout' +import { LIST_TABLE_HEADER_CLASS } from '@/lib/list-interaction/list-table-layout' export function ArtifactListTableHeader(): React.JSX.Element { const t = useTranslate() diff --git a/src/renderer/src/components/artifacts/ArtifactListToolbar.tsx b/src/renderer/src/components/artifacts/ArtifactListToolbar.tsx index 2c3272773f8..85680aac4ff 100644 --- a/src/renderer/src/components/artifacts/ArtifactListToolbar.tsx +++ b/src/renderer/src/components/artifacts/ArtifactListToolbar.tsx @@ -2,7 +2,7 @@ import { RefreshCw } from 'lucide-react' import { Button } from '@/components/ui/button' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { ArtifactListSearchField } from './ArtifactListSearchField' export function ArtifactListToolbar({ diff --git a/src/renderer/src/components/artifacts/ArtifactPublishButton.tsx b/src/renderer/src/components/artifacts/ArtifactPublishButton.tsx index d75832498cc..2d3d3b3f7e0 100644 --- a/src/renderer/src/components/artifacts/ArtifactPublishButton.tsx +++ b/src/renderer/src/components/artifacts/ArtifactPublishButton.tsx @@ -5,8 +5,8 @@ import { Button } from '@/components/ui/button' import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from '@/components/ui/popover' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' -import { useAppStore } from '@/store' +import { cn } from '@/lib/class-names' +import { useAppStore } from '@/store/index' import { ArtifactPublishedLinkPanel } from './ArtifactPublishedLinkPanel' import { getPublishedArtifactLink } from './artifact-published-link-client' import { publishArtifactFromSurface } from './artifact-publish-flow' diff --git a/src/renderer/src/components/artifacts/ArtifactPublishedLinkPanel.tsx b/src/renderer/src/components/artifacts/ArtifactPublishedLinkPanel.tsx index 41b9bd77269..a37b18b1aa3 100644 --- a/src/renderer/src/components/artifacts/ArtifactPublishedLinkPanel.tsx +++ b/src/renderer/src/components/artifacts/ArtifactPublishedLinkPanel.tsx @@ -3,6 +3,7 @@ import { Check, Copy, ExternalLink, Loader2, RefreshCw } from 'lucide-react' import { Button } from '@/components/ui/button' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { useTranslate } from '@/i18n/use-translate' +import { cn } from '@/lib/class-names' import { copyArtifactLink, openArtifactInBrowser } from './artifact-link-actions' export function ArtifactPublishedLinkPanel({ @@ -109,17 +110,36 @@ export function ArtifactPublishedLinkPanel({ type="button" variant="outline" size="sm" - className="w-full" + className="h-auto min-h-8 w-full whitespace-normal" disabled={publishing} onClick={onUpdate} > - {publishing ? : } - {publishing - ? t('auto.components.artifacts.ArtifactPublishedLinkPanel.updating', 'Updating…') - : t( + {/* Both labels share one grid cell, so a wrapped label cannot resize the popover mid-update. */} + + + + {t( 'auto.components.artifacts.ArtifactPublishedLinkPanel.update', 'Update shared content' )} + + + + {t('auto.components.artifacts.ArtifactPublishedLinkPanel.updating', 'Updating…')} + + ) : null}
diff --git a/src/renderer/src/components/artifacts/ArtifactsPageSkeleton.tsx b/src/renderer/src/components/artifacts/ArtifactsPageSkeleton.tsx index 919799b700d..663f3299a9a 100644 --- a/src/renderer/src/components/artifacts/ArtifactsPageSkeleton.tsx +++ b/src/renderer/src/components/artifacts/ArtifactsPageSkeleton.tsx @@ -1,7 +1,10 @@ -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' import { ARTIFACTS_TABLE_GRID_CLASS } from './artifacts-table-layout' -import { LIST_TABLE_CONTAINER_CLASS, LIST_TABLE_HEADER_CLASS } from '@/lib/list-table-layout' +import { + LIST_TABLE_CONTAINER_CLASS, + LIST_TABLE_HEADER_CLASS +} from '@/lib/list-interaction/list-table-layout' function SkeletonBar({ className }: { className?: string }): React.JSX.Element { return
diff --git a/src/renderer/src/components/automations/AutomationDetail.tsx b/src/renderer/src/components/automations/AutomationDetail.tsx deleted file mode 100644 index cb8f9f992e3..00000000000 --- a/src/renderer/src/components/automations/AutomationDetail.tsx +++ /dev/null @@ -1,403 +0,0 @@ -import React from 'react' -import { Pencil, Pause, Play, Trash2 } from 'lucide-react' -import { Button } from '@/components/ui/button' -import { Badge } from '@/components/ui/badge' -import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' -import { getAgentCatalog } from '@/lib/agent-catalog/agent-catalog' -import { AgentIcon } from '@/components/agent/icons/AgentIcon' -import type { Automation } from '../../../../shared/automations/automation-definition' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import { formatUiAutomationSchedule } from './automation-schedule-label' -import { formatUiNarrowDuration } from '@/i18n/relative-time-format' -import { - AutomationRunErrorNotice, - formatAutomationDateTimeWithRelative -} from './automation-page-parts' -import { indexLatestAutomationRuns } from './automation-list-last-run' -import { formatAutomationCost, formatAutomationTokens } from './automation-usage-model' -import { summarizeAutomationRunUsage } from '../../../../shared/automations/history/automation-usage-summary' -import type { AutomationTargetAvailability } from './automation-target-availability' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' -import { getAutomationHostDetailDisplay } from './automation-host-detail-display' -import { getAutomationSourceDisplay } from './automation-source-display' -import { translate } from '@/i18n/i18n' -import { useIntlLocale, useTranslate, type Translate } from '@/i18n/use-translate' -import { AutomationPromptDisclosure } from './AutomationPromptDisclosure' -import { automationRunErrorText } from './automation-run-error-copy' - -type AutomationDetailProps = { - automation: Automation | null - runs: AutomationRun[] - projectName: string - workspaceName: string - projectDefaultBaseRef: string | null - /** The catalog entry the selected row was listed from; absent for legacy unscoped rows. */ - hostEntry?: AutomationHostCatalogEntry | null - hostLabelById?: ReadonlyMap - runNowAvailability: AutomationTargetAvailability | null - now: number - onRunNow: (automation: Automation) => void - onEdit: (automation: Automation) => void - /** Moves a row its host's Orca server now serves onto that server. */ - onMigrate?: (automation: Automation) => void - isMigrating?: boolean - onToggle: (automation: Automation) => void - onDelete: (automation: Automation) => void -} - -function DetailMetric({ - label, - value, - title -}: { - label: string - value: string - title?: string -}): React.JSX.Element { - return ( -
-
{label}
-
- {value} -
-
- ) -} - -function formatGrace(minutes: number, t: Translate = translate): string { - if (minutes <= 0) { - return t('auto.components.automations.AutomationDetail.noGrace', 'No grace') - } - if (minutes < 60) { - return t('auto.components.automations.AutomationDetail.graceMinutes', '{{count}} minutes', { - count: minutes, - defaultValue_one: '{{count}} minute' - }) - } - const hours = minutes / 60 - return t('auto.components.automations.AutomationDetail.graceHours', '{{count}} hours', { - count: hours, - defaultValue_one: '{{count}} hour' - }) -} - -function ToolbarIconButton({ - label, - children, - onClick, - className -}: { - label: string - children: React.ReactNode - onClick: () => void - className?: string -}): React.JSX.Element { - return ( - - - - - - {label} - - - ) -} - -export function AutomationDetail({ - automation, - runs, - projectName, - workspaceName, - projectDefaultBaseRef, - hostEntry, - hostLabelById, - runNowAvailability, - now, - onRunNow, - onEdit, - onMigrate, - isMigrating, - onToggle, - onDelete -}: AutomationDetailProps): React.JSX.Element { - const t = useTranslate() - const intlLocale = useIntlLocale() - if (!automation) { - return ( -
- {t( - 'auto.components.automations.AutomationDetail.221916d93c', - 'Create an automation to start scheduling agent work.' - )} -
- ) - } - const usageSummary = summarizeAutomationRunUsage(runs) - const usageCoverage = - usageSummary.knownRuns > 0 - ? t( - 'auto.components.automations.AutomationDetail.usageCoverageRuns', - '{{known}}/{{count}} runs', - { - known: usageSummary.knownRuns, - count: runs.length, - defaultValue_one: '{{known}}/{{count}} run' - } - ) - : usageSummary.unavailableRuns > 0 - ? t('auto.components.automations.AutomationDetail.usageUnavailable', 'Unavailable') - : t('auto.components.automations.AutomationDetail.noRuns', 'No runs') - const agentLabel = - getAgentCatalog().find((agent) => agent.id === automation.agentId)?.label ?? automation.agentId - const runLocationLabel = - automation.workspaceMode === 'new_per_run' - ? (automation.baseBranch ?? - projectDefaultBaseRef ?? - t('auto.components.automations.AutomationDetail.projectDefault', 'Project default')) - : workspaceName - const sourceDisplay = getAutomationSourceDisplay(automation.sourceContext, hostLabelById, t) - const hostDisplay = getAutomationHostDetailDisplay({ - automation, - entry: hostEntry, - hostLabelById - }) - const runNowDisabled = runNowAvailability?.canRunNow === false - const latestRun = indexLatestAutomationRuns(runs).get(automation.id) - const latestRunError = - latestRun?.status === 'dispatch_failed' ? automationRunErrorText(latestRun) : null - - return ( -
-
-
-
-

{automation.name}

- - {!automation.enabled - ? t('auto.components.automations.enablement.paused', 'Paused') - : hostEntry?.servedBy - ? t( - 'auto.components.automations.AutomationDetail.needsMigration', - 'Needs migration' - ) - : t('auto.components.automations.AutomationDetail.eaa02014f8', 'Enabled')} - -
-

- {projectName} / {workspaceName} -

-
-
- - - - - - - {runNowDisabled ? ( - - {runNowAvailability.message} - - ) : null} - - onEdit(automation)} - > - - - onToggle(automation)} - > - {automation.enabled ? : } - - onDelete(automation)} - className="text-destructive hover:text-destructive" - > - - -
-
- - {hostEntry?.servedBy ? ( -
- - {t( - 'auto.components.automations.AutomationDetail.migrateNotice', - '{{host}} was upgraded to a new remote host. Migrate this automation to keep it running.', - { host: hostEntry.label } - )} - - -
- ) : automation.executionTargetType === 'ssh' ? ( -
- {t( - 'auto.components.automations.AutomationDetail.dbef8dc110', - 'This SSH automation runs only while Orca can reach the SSH host. If reconnect needs interactive credentials or the host is unavailable, the run is recorded as skipped.' - )} -
- ) : null} - - {runNowAvailability?.canRunNow === false && !hostEntry?.servedBy ? ( -
- {runNowAvailability.message} -
- ) : null} - - {latestRunError ? ( - - ) : null} - -
- - - - - - {sourceDisplay ? ( - - ) : null} - - -
-
- {t('auto.components.automations.AutomationDetail.2df8970cd5', 'Agent')} -
-
- - {agentLabel} -
-
- {automation.extraAgentArgs ? ( - - ) : null} -
- -
- - - - -
- - -
- ) -} diff --git a/src/renderer/src/components/automations/AutomationEditorPromptEditor.test.tsx b/src/renderer/src/components/automations/AutomationEditorPromptEditor.test.tsx deleted file mode 100644 index 4db710ee4f4..00000000000 --- a/src/renderer/src/components/automations/AutomationEditorPromptEditor.test.tsx +++ /dev/null @@ -1,111 +0,0 @@ -// @vitest-environment happy-dom -import { cleanup, render } from '@testing-library/react' -import { afterEach, describe, expect, it, vi } from 'vitest' - -const editorProps = vi.hoisted(() => ({ current: null as Record | null })) -const installFindShortcut = vi.hoisted(() => vi.fn(() => vi.fn())) -const syncContentOnMount = vi.hoisted(() => vi.fn(() => false)) -const syncContentUpdate = vi.hoisted(() => vi.fn()) - -vi.mock('@monaco-editor/react', () => ({ - default: (props: Record) => { - editorProps.current = props - return
- }, - loader: { config: vi.fn() } -})) -vi.mock('@/lib/editor/monaco/monaco-setup', () => ({ monaco: {} })) -vi.mock('@/store', () => ({ - useAppStore: (selector: (state: Record) => unknown) => - selector({ - settings: { theme: 'dark', terminalFontSize: 13, terminalFontFamily: 'monospace' }, - editorFontZoomLevel: 0 - }) -})) -vi.mock('@/components/editor/editor-shortcuts', () => ({ - installMonacoEditorFindShortcut: installFindShortcut -})) -vi.mock('@/components/editor/monaco-content-sync', () => ({ - syncContentOnMount, - syncContentUpdate -})) - -import { closeUnfocusedMonacoFindOrPreventDialogDismiss } from '@/components/editor/monaco-find-widget' -import { - AUTOMATION_PROMPT_EDITOR_SLOT, - AutomationEditorPromptEditor, - getAutomationPromptEditorRoot -} from './AutomationEditorPromptEditor' - -afterEach(() => { - cleanup() - editorProps.current = null - installFindShortcut.mockClear() - syncContentOnMount.mockClear() - syncContentUpdate.mockClear() -}) - -describe('AutomationEditorPromptEditor', () => { - it('dismisses on Escape only when find is closed', () => { - const onDismiss = vi.fn() - const editorDom = document.createElement('div') - const editorInstance = { - getContainerDomNode: () => editorDom, - onDidDispose: vi.fn() - } - render( - - ) - const onMount = editorProps.current?.onMount as (editor: typeof editorInstance) => void - onMount(editorInstance) - - const findWidget = document.createElement('div') - findWidget.className = 'find-widget' - editorDom.append(findWidget) - editorDom.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', bubbles: true })) - expect(onDismiss).not.toHaveBeenCalled() - - findWidget.setAttribute('aria-hidden', 'true') - editorDom.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', bubbles: true })) - expect(onDismiss).toHaveBeenCalledTimes(1) - }) - - it('scopes find-widget lookups to the prompt editor slot, not the document', () => { - const dialog = document.createElement('div') - const editorRoot = document.createElement('div') - editorRoot.setAttribute('data-slot', AUTOMATION_PROMPT_EDITOR_SLOT) - const nameField = document.createElement('input') - const background = document.createElement('div') - const backgroundFind = document.createElement('div') - backgroundFind.className = 'find-widget' - const closeButton = document.createElement('button') - closeButton.className = 'button codicon-widget-close' - const onBackgroundClose = vi.fn() - closeButton.addEventListener('click', onBackgroundClose) - backgroundFind.append(closeButton) - background.append(backgroundFind) - dialog.append(editorRoot, nameField) - document.body.append(dialog, background) - - expect(getAutomationPromptEditorRoot(dialog)).toBe(editorRoot) - // Radix Escape fires on document; document-wide lookup could find editors behind the dialog. - expect(getAutomationPromptEditorRoot(document)).toBeNull() - expect(getAutomationPromptEditorRoot(null)).toBeNull() - expect( - closeUnfocusedMonacoFindOrPreventDialogDismiss({ - root: getAutomationPromptEditorRoot(dialog), - eventTarget: nameField - }) - ).toBe(false) - expect(onBackgroundClose).not.toHaveBeenCalled() - - dialog.remove() - background.remove() - }) -}) diff --git a/src/renderer/src/components/automations/AutomationEditorSettingsSidebar.test.tsx b/src/renderer/src/components/automations/AutomationEditorSettingsSidebar.test.tsx deleted file mode 100644 index fedae0d26ae..00000000000 --- a/src/renderer/src/components/automations/AutomationEditorSettingsSidebar.test.tsx +++ /dev/null @@ -1,186 +0,0 @@ -// @vitest-environment happy-dom - -import { cleanup, fireEvent, render, screen } from '@testing-library/react' -import { useState } from 'react' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { AGENT_CATALOG } from '@/lib/agent-catalog/agent-catalog' -import { TooltipProvider } from '@/components/ui/tooltip' -import { useAppStore } from '@/store' -import { setLocalRuntimeCapabilitiesForTests } from '@/runtime/hosts/capabilities/local-runtime-capabilities' -import { AUTOMATION_RUNTIME_CAPABILITIES } from '../../../../shared/automations/automation-runtime-capabilities' - -import { clearNativeChatComposerDraftsForTests } from '../native-chat/drafts/native-chat-draft-reset' -import type { AutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' -import type { AutomationCreateDestinationControl } from './use-automation-create-destination' -import type { AutomationDraft } from './AutomationEditorDialog' - -import { AutomationEditorSettingsSidebar } from './AutomationEditorSettingsSidebar' - -// Why: only the Agent field is under test; the sibling fields own their own coverage. -vi.mock('./AutomationProjectCombobox', () => ({ default: () => null })) -vi.mock('./AutomationWorkspaceField', () => ({ AutomationWorkspaceField: () => null })) -vi.mock('./AutomationSessionField', () => ({ AutomationSessionField: () => null })) -vi.mock('./AutomationSchedulePicker', () => ({ AutomationSchedulePicker: () => null })) -vi.mock('./AutomationMissedRunGraceField', () => ({ AutomationMissedRunGraceField: () => null })) -vi.mock('./AutomationPrecheckFields', () => ({ AutomationPrecheckFields: () => null })) -vi.mock('./AutomationSetupDecisionField', () => ({ AutomationSetupDecisionField: () => null })) -vi.mock('./AutomationDestinationField', () => ({ AutomationDestinationField: () => null })) -vi.mock('@/hooks/useShortcutLabel', () => ({ useOptionalShortcutLabel: () => null })) -vi.mock('../tab-bar/use-new-tab-agent-menu-rows', () => ({ - useAgentMenuObservation: () => ({ - model: { state: 'loading' }, - contextKey: 'automation-test', - detection: { - detectedIds: [], - isLoading: false, - isRefreshing: false, - detectionFailed: false, - needsServerUpdate: false, - refresh: async () => [] - } - }) -})) -vi.mock('../agent/use-agent-launch-picker-inventory', () => ({ - useAgentLaunchPickerInventory: (_id: unknown, model: { rows: { agent: string }[] }) => - model.rows.map((row) => ({ - agent: row.agent, - label: row.agent, - rows: [row], - ownerKey: `automation-${row.agent}`, - surfaces: ['terminal'], - defaultSurface: 'terminal', - terminal: { model: 'gpt-5.4', permissionMode: 'ask' }, - structured: {}, - arguments: '--base', - catalog: { - origin: 'probe', - fetchedAt: 1, - models: [ - { id: 'gpt-5.4', label: 'Model A', isDefault: true, efforts: [] }, - { id: 'gpt-5.5', label: 'Model B', isDefault: false, efforts: [] } - ] - } - })) -})) - -const DRAFT: AutomationDraft = { - name: '', - prompt: '', - agentId: 'codex', - extraAgentArgs: '', - projectId: '', - workspaceMode: 'existing', - workspaceId: '', - baseBranch: '', - reuseSession: false, - precheckCommand: '', - precheckTimeoutSeconds: '30', - preset: 'weekly', - time: '09:15', - dayOfWeek: '5', - customSchedule: '', - missedRunGraceMinutes: '720', - savedSchedule: null, - scheduleWarning: null -} - -function destinationControl( - authority: AutomationAuthorityRef | null -): AutomationCreateDestinationControl { - if (!authority) { - return { - entries: [], - projects: [], - onSelect: vi.fn(), - resolution: { status: 'choice-required', reason: 'unselected' } - } - } - const entry: AutomationHostCatalogEntry = { - stableRef: { authority, selector: { kind: 'self' } }, - owner: { authority, selector: { kind: 'self' } }, - stableKey: 'test-host', - label: 'Test host', - authorityLabel: 'Test host', - kind: 'self', - catalogState: 'authoritative', - authorityHealth: 'fresh', - executionHealth: 'connected', - querySupport: 'scoped' - } - return { - entries: [entry], - projects: [], - onSelect: vi.fn(), - resolution: { status: 'ready', authority, destination: { selector: { kind: 'self' } }, entry } - } -} - -function renderSidebar( - onDraftChange: (updater: (d: AutomationDraft) => AutomationDraft) => void, - initial = DRAFT, - authority: AutomationAuthorityRef | null = { kind: 'desktop' }, - destination = destinationControl(authority) -) { - function Form() { - const [draft, setDraft] = useState(initial) - return ( - - repoId} - repoMap={new Map()} - worktrees={[]} - settings={null} - draft={draft} - visibleAgents={AGENT_CATALOG} - pickerTriggerClassName="" - onProjectChange={vi.fn()} - onDraftChange={(updater) => { - onDraftChange(updater) - setDraft(updater) - }} - onSetupDecisionTouched={vi.fn()} - /> - - ) - } - return render(
) -} - -beforeEach(() => { - clearNativeChatComposerDraftsForTests() - setLocalRuntimeCapabilitiesForTests(AUTOMATION_RUNTIME_CAPABILITIES) -}) -afterEach(() => { - cleanup() - vi.restoreAllMocks() - setLocalRuntimeCapabilitiesForTests(null) - useAppStore.setState({ runtimeStatusByEnvironmentId: new Map() }) -}) - -function openPicker() { - fireEvent.pointerDown(screen.getByRole('button', { name: 'Select agent' }), { button: 0 }) -} - -describe('AutomationEditorSettingsSidebar agent picker', () => { - it('discards an unaccepted setup when the editor owner closes', () => { - const onDraftChange = vi.fn() - const form = renderSidebar(onDraftChange) - openPicker() - fireEvent.click(screen.getByRole('button', { name: 'Configure Codex' })) - fireEvent.change(document.querySelector('textarea')!, { target: { value: '--unaccepted' } }) - form.unmount() - renderSidebar(onDraftChange) - openPicker() - fireEvent.click(screen.getByRole('button', { name: 'Configure Codex' })) - expect(document.querySelector('textarea')).toHaveProperty('value', '--base') - expect(onDraftChange).not.toHaveBeenCalled() - }) -}) diff --git a/src/renderer/src/components/automations/AutomationPromptDisclosure.tsx b/src/renderer/src/components/automations/AutomationPromptDisclosure.tsx deleted file mode 100644 index 6e8814d380e..00000000000 --- a/src/renderer/src/components/automations/AutomationPromptDisclosure.tsx +++ /dev/null @@ -1,88 +0,0 @@ -import React, { useCallback, useEffect, useId, useRef, useState } from 'react' -import { Button } from '@/components/ui/button' -import { cn } from '@/lib/utils' -import { useTranslate } from '@/i18n/use-translate' - -export function AutomationPromptDisclosure({ prompt }: { prompt: string }): React.JSX.Element { - const t = useTranslate() - const contentId = useId() - const expandedRef = useRef(false) - const toggleRef = useRef(null) - const [promptElement, setPromptElement] = useState(null) - const [expanded, setExpanded] = useState(false) - const [overflows, setOverflows] = useState(false) - - const measureOverflow = useCallback((element: HTMLParagraphElement) => { - const nextOverflows = element.scrollHeight > element.clientHeight + 1 - if (!nextOverflows && document.activeElement === toggleRef.current) { - element.focus({ preventScroll: true }) - } - setOverflows((current) => (current === nextOverflows ? current : nextOverflows)) - }, []) - - useEffect(() => { - if (!promptElement || expanded) { - return - } - - const updateOverflow = () => { - if (!expandedRef.current) { - measureOverflow(promptElement) - } - } - updateOverflow() - if (typeof ResizeObserver === 'undefined') { - window.addEventListener('resize', updateOverflow) - return () => window.removeEventListener('resize', updateOverflow) - } - - const observer = new ResizeObserver(updateOverflow) - observer.observe(promptElement) - return () => observer.disconnect() - }, [expanded, measureOverflow, promptElement]) - - const toggleExpanded = (): void => { - const nextExpanded = !expanded - expandedRef.current = nextExpanded - setExpanded(nextExpanded) - } - - return ( -
-
-
- {t('auto.components.automations.AutomationEditorDialog.058c23cb3f', 'Prompt')} -
- {overflows || expanded ? ( - - ) : null} -
-
-

- {prompt} -

-
-
- ) -} diff --git a/src/renderer/src/components/automations/AutomationTimeField.test.tsx b/src/renderer/src/components/automations/AutomationTimeField.test.tsx deleted file mode 100644 index 3a230ca8a87..00000000000 --- a/src/renderer/src/components/automations/AutomationTimeField.test.tsx +++ /dev/null @@ -1,80 +0,0 @@ -// @vitest-environment happy-dom - -import '@testing-library/jest-dom/vitest' -import React from 'react' -import { cleanup, render, screen } from '@testing-library/react' -import userEvent from '@testing-library/user-event' -import { afterEach, describe, expect, it, vi } from 'vitest' -import { AutomationTimeField } from './AutomationTimeField' - -afterEach(() => { - cleanup() -}) - -function ControlledTimeField({ - initialTime = '09:15', - mode = 'time', - onTimeChange -}: { - initialTime?: string - mode?: 'time' | 'minute' - onTimeChange?: (time: string) => void -}): React.JSX.Element { - const [time, setTime] = React.useState(initialTime) - return ( - { - setTime(next) - onTimeChange?.(next) - }} - /> - ) -} - -describe('AutomationTimeField interactions', () => { - it('commits typed hour/minute and toggles AM/PM into 24h storage', async () => { - const user = userEvent.setup() - const onTimeChange = vi.fn() - render() - - const hour = screen.getByLabelText('Hour') - await user.clear(hour) - await user.type(hour, '11') - expect(onTimeChange).toHaveBeenLastCalledWith('11:15') - - onTimeChange.mockClear() - const minute = screen.getByLabelText('Minute') - await user.clear(minute) - await user.type(minute, '05') - expect(onTimeChange).toHaveBeenLastCalledWith('11:05') - - onTimeChange.mockClear() - await user.click(screen.getByRole('button', { name: /^AM or PM:/ })) - expect(onTimeChange).toHaveBeenLastCalledWith('23:05') - expect(screen.getByRole('button', { name: /^AM or PM:/ })).toHaveTextContent('PM') - }) - - it('treats empty blur as min and does not re-fire after 2-digit auto-commit', async () => { - const user = userEvent.setup() - const onTimeChange = vi.fn() - render() - - const minute = screen.getByLabelText('Minute') - await user.clear(minute) - await user.tab() - expect(onTimeChange).toHaveBeenLastCalledWith('09:00') - expect(minute).toHaveValue('00') - - onTimeChange.mockClear() - await user.click(minute) - await user.clear(minute) - await user.type(minute, '30') - // 2-digit entry auto-commits once; blur must not emit a second identical update. - const callsAfterType = onTimeChange.mock.calls.length - expect(onTimeChange).toHaveBeenLastCalledWith('09:30') - await user.tab() - expect(onTimeChange.mock.calls.length).toBe(callsAfterType) - }) -}) diff --git a/src/renderer/src/components/automations/AutomationsPage.cross-authority-actions.spec.tsx b/src/renderer/src/components/automations/AutomationsPage.cross-authority-actions.spec.tsx index 8b9e79938fd..5e7a062f7d0 100644 --- a/src/renderer/src/components/automations/AutomationsPage.cross-authority-actions.spec.tsx +++ b/src/renderer/src/components/automations/AutomationsPage.cross-authority-actions.spec.tsx @@ -43,21 +43,6 @@ function runtimeAutomationCalls(): string[] { describe('AutomationsPage row actions under a colliding automation id', () => { installAutomationsPageHarness() - it('names the selected row’s own host, not the desktop that listed it', async () => { - await collidingHosts() - await renderPage() - await settleHostQueries() - - const remote = listedRows().find((candidate) => candidate.automation.name === 'Remote nightly') - await act(async () => { - mocks.listPanel?.selectAutomationRow(remote?.key ?? '') - }) - - // The record’s local target means local to its server; the catalog entry supplies the displayed host. - expect(mocks.detailPane?.selected?.name).toBe('Remote nightly') - expect(mocks.detailPane?.selectedHostEntry?.authorityLabel).toBe('GPU box') - }) - it('runs the selected desktop row on the desktop, not on the runtime holding the same id', async () => { await collidingHosts() const { container } = await renderPage() diff --git a/src/renderer/src/components/automations/AutomationsPage.refresh-selection.spec.tsx b/src/renderer/src/components/automations/AutomationsPage.refresh-selection.spec.tsx index 36b4a3a5aa6..2a96389539d 100644 --- a/src/renderer/src/components/automations/AutomationsPage.refresh-selection.spec.tsx +++ b/src/renderer/src/components/automations/AutomationsPage.refresh-selection.spec.tsx @@ -17,11 +17,7 @@ import { settleHostQueries } from './automations-page-test-harness' import { listedRows } from './automations-page-listed-items' -import { makeAutomation, makeRun, WORKSPACE_ID } from './automations-page-fixtures' -import { - AUTOMATIONS_CHANGED_EVENT, - emitAutomationsChangedWindowEvent -} from '@/lib/automations-changed-window-event' +import { makeAutomation, makeRun } from './automations-page-fixtures' async function openAutomationRow(container: HTMLElement, name: string): Promise { const row = [ @@ -32,267 +28,9 @@ async function openAutomationRow(container: HTMLElement, name: string): Promise< await settleHostQueries() } -describe('AutomationsPage refresh', () => { - installAutomationsPageHarness() - - it.each(['desktop', 'runtime'] as const)( - 'refreshes count and exact saved output on successive %s completion events without re-entry', - async (authority) => { - const automation = makeAutomation({ name: 'Selected nightly' }) - scopedList(authority === 'desktop' ? [automation] : []) - api.automations.list.mockResolvedValue(authority === 'desktop' ? [automation] : []) - if (authority === 'runtime') { - runtimeHost([automation], []) - mocks.state.automationHostFilter = RUNTIME_SELF_FILTER - } - const { container } = await renderPage() - await openAutomationRow(container, automation.name) - const count = container.querySelector('[data-testid="detail-run-count"]') - expect(count?.textContent).toBe('0') - const reads = (): unknown[][] => - mocks.callRuntimeRpc.mock.calls.filter(([, method]) => method === 'automation.runs') - const beforeEvents = reads().length - for (const unrelated of [ - { - environmentId: authority === 'desktop' ? 'gpu' : null, - selector: { kind: 'self' as const } - }, - { - environmentId: authority === 'runtime' ? 'gpu' : null, - selector: { kind: 'ssh' as const, targetId: 'elsewhere' } - } - ]) { - await act(async () => emitAutomationsChangedWindowEvent({ ...unrelated, reason: 'run' })) - await settleHostQueries() - expect(reads()).toHaveLength(beforeEvents) - expect(container.querySelector('[data-testid="detail-run-count"]')).toBe(count) - } - const event = { - ...(authority === 'runtime' ? { environmentId: 'gpu' } : {}), - selector: { kind: 'self' as const }, - reason: 'run' as const - } - const first = makeRun({ - id: 'first-completed', - outputSnapshot: { - format: 'plain_text', - content: 'First exact reply', - capturedAt: 1, - truncated: false - } - }) - const answer = (runs: (typeof first)[]): void => { - api.automations.listRuns.mockResolvedValue(runs) - if (authority === 'runtime') { - mocks.state.runtimeAnswers = { automations: [automation], runs } - } - } - answer([first]) - await act(async () => emitAutomationsChangedWindowEvent(event)) - await settleHostQueries() - expect(count?.textContent).toBe('1') - expect(mocks.detailPane?.selectedRuns).toEqual([first]) - expect(reads()).toHaveLength(beforeEvents + 1) - await act(async () => mocks.detailPane?.openAutomationRunPage(first)) - expect(container.textContent).toContain('First exact reply') - const revised = { - ...first, - outputSnapshot: { ...first.outputSnapshot!, content: 'Settled first exact reply' } - } - const second = makeRun({ id: 'second-completed' }) - answer([second, revised]) - await act(async () => emitAutomationsChangedWindowEvent(event)) - await settleHostQueries() - expect(container.textContent).toContain('Settled first exact reply') - expect(reads()).toHaveLength(beforeEvents + 2) - await act(async () => - container.querySelector('[aria-label="Back to runs"]')?.click() - ) - expect(container.querySelector('[data-testid="detail-run-count"]')?.textContent).toBe('2') - expect(mocks.detailPane?.selectedRuns.map((run) => run.id)).toEqual([ - 'second-completed', - 'first-completed' - ]) - for (const [target, , params, options] of reads().slice(beforeEvents)) { - expect(target).toEqual( - authority === 'runtime' - ? { kind: 'environment', environmentId: 'gpu' } - : { kind: 'local' } - ) - expect(params).toEqual({ - automationId: automation.id, - expectedOwner: SELF_PRECONDITION, - preview: true - }) - if (authority === 'runtime') { - expect(options).toMatchObject({ expectedEnvironmentPairingRevision: 4 }) - } - } - await settleHostQueries() - expect(reads()).toHaveLength(beforeEvents + 2) - } - ) -}) - describe('AutomationsPage selection', () => { installAutomationsPageHarness() - it('keeps an acquired exact run through definition removal, failed history settlement and Back', async () => { - const automation = makeAutomation({ id: 'a-1', name: 'Nightly' }) - const leafId = '11111111-1111-4111-8111-111111111111' - const run = makeRun({ - id: 'old-run', - automationId: automation.id, - workspaceId: WORKSPACE_ID, - workspaceDisplayName: 'Original workspace', - terminalSessionId: 'recorded-tab', - terminalPaneKey: `recorded-tab:${leafId}`, - terminalPtyId: 'recorded-pty', - outputSnapshot: { - format: 'plain_text', - content: 'Saved exact historical output', - capturedAt: 1, - truncated: false - } - }) - scopedList([automation]) - api.automations.list.mockResolvedValue([automation]) - api.automations.listRuns.mockResolvedValue([run]) - mocks.state.selectedAutomationId = automation.id - mocks.state.setSelectedAutomationId = (id: string | null) => { - mocks.state.selectedAutomationId = id - } - mocks.state.tabsByWorktree = {} - mocks.state.folderWorkspaces = [] - mocks.state.projectGroups = [] - mocks.state.unifiedTabsByWorktree = { - [WORKSPACE_ID]: [ - { - id: 'recorded-tab', - entityId: 'recorded-tab', - worktreeId: WORKSPACE_ID, - contentType: 'terminal', - executionHostId: 'local' - } - ] - } - mocks.state.terminalLayoutsByTabId = { - 'recorded-tab': { - root: { type: 'leaf', leafId }, - activeLeafId: leafId, - ptyIdsByLeafId: { [leafId]: 'recorded-pty' } - } - } - mocks.state.ptyIdsByTabId = { 'recorded-tab': ['recorded-pty'] } - const { container, rerender } = await renderPage() - await openAutomationRow(container, 'Nightly') - const retryHistory = mocks.detailPane?.recoverSelectedRuns - await act(async () => mocks.detailPane?.openAutomationRunPage(run)) - expect(container.textContent).toContain('Saved exact historical output') - expect( - [...container.querySelectorAll('button')].some((button) => button.textContent === 'View run') - ).toBe(true) - scopedList([]) - api.automations.list.mockResolvedValue([]) - api.automations.listRuns.mockRejectedValue(new Error('History temporarily unavailable')) - const readsBeforeFailure = api.automations.listRuns.mock.calls.length - await act(async () => - emitAutomationsChangedWindowEvent({ selector: { kind: 'self' }, reason: 'run' }) - ) - await settleHostQueries() - expect(api.automations.listRuns.mock.calls.length).toBe(readsBeforeFailure + 1) - expect(container.textContent).toContain('Saved exact historical output') - await rerender() - const readsBeforeRetry = api.automations.listRuns.mock.calls.length - await act(async () => retryHistory?.('retry')) - await settleHostQueries() - expect(api.automations.listRuns.mock.calls.length).toBeGreaterThan(readsBeforeRetry) - expect(container.textContent).toContain('Saved exact historical output') - expect(container.querySelector('[aria-label="Back to runs"]')).not.toBeNull() - expect( - [...container.querySelectorAll('button')].some((button) => button.textContent === 'View run') - ).toBe(true) - await act(async () => - container.querySelector('[aria-label="Back to runs"]')?.click() - ) - expect(container.querySelector('[data-testid="list-panel"]')).not.toBeNull() - expect(mocks.toastMessage).not.toHaveBeenCalledWith('Run history no longer available.') - }) - - it('reacquires a same-row SSH incarnation only after explicit selection, retaining old output through Retry and Back', async () => { - const automation = makeAutomation({ id: 'ssh-a', name: 'Captured SSH' }) - mocks.state.selectedAutomationId = automation.id - mocks.state.setSelectedAutomationId = (id: string | null) => { - mocks.state.selectedAutomationId = id - } - const run = makeRun({ - id: 'older-ssh-run', - automationId: automation.id, - outputSnapshot: { - format: 'plain_text', - content: 'Captured old output', - capturedAt: 1, - truncated: false - } - }) - mocks.state.folderWorkspaces = [] - mocks.state.projectGroups = [] - let generation = 7 - mocks.state.sshTargetLabels = new Map([['box', 'Box']]) - mocks.state.sshTargetGenerations = new Map([['box', generation]]) - mocks.state.sshConnectionStates = new Map([['box', { status: 'connected' }]]) - api.automations.listScoped.mockImplementation(async (args) => ({ - automations: args?.selector?.kind === 'ssh' ? [automation] : [], - items: - args?.selector?.kind === 'ssh' - ? [ - { - automationId: automation.id, - selector: { kind: 'ssh', targetId: 'box', targetGeneration: generation } - } - ] - : [], - orphanCount: 0 - })) - api.automations.listRuns.mockResolvedValue([run]) - const { container, rerender } = await renderPage() - await openAutomationRow(container, 'Captured SSH') - await act(async () => mocks.detailPane?.openAutomationRunPage(run)) - expect(container.textContent).toContain('Captured old output') - generation = 9 - mocks.state.sshTargetGenerations = new Map([['box', generation]]) - await rerender() - await act(async () => window.dispatchEvent(new Event(AUTOMATIONS_CHANGED_EVENT))) - await settleHostQueries() - expect(container.textContent).toContain('Captured old output') - const back = container.querySelector('[aria-label="Back to runs"]') - expect(back).not.toBeNull() - await act(async () => back?.click()) - expect(container.querySelector('[data-testid="detail-pane"]')).not.toBeNull() - const beforeRetry = api.automations.listRuns.mock.calls.length - await act(async () => mocks.detailPane?.recoverSelectedRuns('retry')) - await settleHostQueries() - expect(api.automations.listRuns.mock.calls.length).toBeGreaterThan(beforeRetry) - expect( - api.automations.listRuns.mock.calls - .slice(beforeRetry) - .every(([args]) => args?.expectedOwner?.selector?.targetGeneration !== 9) - ).toBe(true) - expect(mocks.detailPane?.selectedRuns).toEqual([run]) - const automations = [...container.querySelectorAll('nav button')].find( - (button) => button.textContent === 'Automations' - ) - expect(automations).toBeTruthy() - await act(async () => automations?.click()) - const beforeReselect = api.automations.listRuns.mock.calls.length - await openAutomationRow(container, 'Captured SSH') - expect( - api.automations.listRuns.mock.calls - .slice(beforeReselect) - .some(([args]) => args?.expectedOwner?.selector?.targetGeneration === 9) - ).toBe(true) - }) - it('fetches the newly selected automation runs when the selection changes', async () => { scopedList([ makeAutomation({ id: 'a-1', name: 'Nightly' }), diff --git a/src/renderer/src/components/automations/AutomationsPage.run-navigation.test.tsx b/src/renderer/src/components/automations/AutomationsPage.run-navigation.test.tsx deleted file mode 100644 index 355cad9cdf4..00000000000 --- a/src/renderer/src/components/automations/AutomationsPage.run-navigation.test.tsx +++ /dev/null @@ -1,113 +0,0 @@ -// @vitest-environment happy-dom - -import { act } from 'react' -import { within } from '@testing-library/react' -import { describe, expect, it, vi } from 'vitest' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import { - api, - installAutomationsPageHarness, - mocks, - renderPage, - scopedList, - settleHostQueries -} from './automations-page-test-harness' -import { makeAutomation, makeRun } from './automations-page-fixtures' - -vi.mock('@tanstack/react-virtual', async () => { - const { createVirtualizerStub } = await import('./virtualizer-test-stub') - return { useVirtualizer: createVirtualizerStub() } -}) - -installAutomationsPageHarness() - -async function loadCachedHistory() { - const automation = makeAutomation() - const oldRun = makeRun({ id: 'run-26', runNumber: 26 }) - api.automations.list.mockResolvedValue([automation]) - scopedList([automation]) - api.automations.listRuns.mockResolvedValue([oldRun]) - mocks.state.selectedAutomationId = automation.id - mocks.state.setPendingAutomationRunNavigation = mocks.setPendingRunNavigation - mocks.setPendingRunNavigation.mockImplementation((navigation) => { - mocks.state.pendingAutomationRunNavigation = navigation - }) - const page = await renderPage() - await settleHostQueries() - return { ...page, automation, oldRun } -} - -async function openDashboardRun( - container: HTMLElement, - newRun: AutomationRun, - oldRun: AutomationRun -) { - const fresh = Promise.withResolvers() - api.automations.listRuns.mockImplementation((args?: { limit?: number }) => - args?.limit ? Promise.resolve([newRun, oldRun]) : fresh.promise - ) - await act(async () => within(container).getByRole('button', { name: 'Runs' }).click()) - await act(async () => { - within(container) - .getByRole('button', { name: new RegExp(newRun.title) }) - .click() - }) - return fresh -} - -describe('AutomationsPage run navigation', () => { - it('keeps the runs dashboard open when the user backs out of a pending read', async () => { - const { container, oldRun } = await loadCachedHistory() - const newRun = makeRun({ id: 'run-27', title: 'Nightly run 27' }) - const fresh = await openDashboardRun(container, newRun, oldRun) - const breadcrumb = within(container).getByRole('navigation', { - name: 'Automations breadcrumb' - }) - - await act(async () => within(breadcrumb).getByRole('button', { name: 'Runs' }).click()) - await act(async () => fresh.resolve([newRun, oldRun])) - - expect(mocks.state.pendingAutomationRunNavigation).toBeNull() - expect(within(container).getByRole('textbox', { name: 'Search runs…' })).toBeTruthy() - expect(container.querySelector('[aria-label="Run context"]')).toBeNull() - expect(mocks.toastMessage).not.toHaveBeenCalled() - }) - - it('returns to automation details when cancelling a workspace run link from there', async () => { - const { container, rerender, automation, oldRun } = await loadCachedHistory() - await act(async () => within(container).getByRole('button', { name: 'Nightly' }).click()) - const fresh = Promise.withResolvers() - api.automations.listRuns.mockReturnValue(fresh.promise) - mocks.state.pendingAutomationRunNavigation = { - automationId: automation.id, - runId: oldRun.id - } - await rerender() - - expect(within(container).getByRole('status')).toBeTruthy() - await act(async () => { - window.dispatchEvent( - new KeyboardEvent('keydown', { key: 'Escape', bubbles: true, cancelable: true }) - ) - }) - expect(mocks.state.pendingAutomationRunNavigation).toBeNull() - await act(async () => fresh.resolve([oldRun])) - - expect(within(container).getByTestId('detail-pane')).toBeTruthy() - expect(container.querySelector('[aria-label="Run context"]')).toBeNull() - expect(mocks.toastMessage).not.toHaveBeenCalled() - }) - - it('shows the history error when opening a run from the dashboard fails', async () => { - const { container, oldRun } = await loadCachedHistory() - const newRun = makeRun({ id: 'run-27', title: 'Nightly run 27' }) - const fresh = await openDashboardRun(container, newRun, oldRun) - - await act(async () => fresh.reject(new Error('Host disconnected'))) - - expect(mocks.state.pendingAutomationRunNavigation).toBeNull() - expect(mocks.toastMessage).not.toHaveBeenCalled() - expect(container.querySelector('[data-testid="detail-pane"]')).not.toBeNull() - expect(mocks.detailPane?.selectedRunsNotice?.message).toContain('Host disconnected') - }) -}) diff --git a/src/renderer/src/components/automations/AutomationsPageDeleteDialogs.tsx b/src/renderer/src/components/automations/AutomationsPageDeleteDialogs.tsx index e5bb6cef3bc..190e1f2dcb4 100644 --- a/src/renderer/src/components/automations/AutomationsPageDeleteDialogs.tsx +++ b/src/renderer/src/components/automations/AutomationsPageDeleteDialogs.tsx @@ -1,5 +1,8 @@ import React from 'react' -import { AutomationDeleteDialog, ExternalAutomationDeleteDialog } from './AutomationDeleteDialogs' +import { + AutomationDeleteDialog, + ExternalAutomationDeleteDialog +} from './authoring/AutomationDeleteDialogs' type Props = { deleteTarget: React.ComponentProps['deleteTarget'] diff --git a/src/renderer/src/components/automations/AutomationsPageListPanel.tsx b/src/renderer/src/components/automations/AutomationsPageListPanel.tsx index 28a5ac5b224..9cfefc8b39d 100644 --- a/src/renderer/src/components/automations/AutomationsPageListPanel.tsx +++ b/src/renderer/src/components/automations/AutomationsPageListPanel.tsx @@ -1,7 +1,7 @@ import React from 'react' import type { AutomationsPageController } from './use-automations-page-controller' -import { AutomationsListPanel } from './AutomationsListPanel' -import { nextAutomationListSort } from './automation-list-view' +import { AutomationsListPanel } from './listing/AutomationsListPanel' +import { nextAutomationListSort } from './listing/automation-list-view' export function AutomationsPageListPanel({ controller, diff --git a/src/renderer/src/components/automations/AutomationsPageSkeleton.tsx b/src/renderer/src/components/automations/AutomationsPageSkeleton.tsx index cc8e5a2f85d..360169b3a9d 100644 --- a/src/renderer/src/components/automations/AutomationsPageSkeleton.tsx +++ b/src/renderer/src/components/automations/AutomationsPageSkeleton.tsx @@ -1,12 +1,12 @@ import React from 'react' -import { cn } from '@/lib/utils' -import { AUTOMATIONS_TABLE_GRID_CLASS } from './automations-table-layout' +import { cn } from '@/lib/class-names' +import { AUTOMATIONS_TABLE_GRID_CLASS } from './listing/automations-table-layout' import { LIST_TABLE_CONTAINER_CLASS, LIST_TABLE_HEADER_CLASS, LIST_TABLE_STICKY_HEADER_CELL_CLASS, LIST_TABLE_STICKY_ROW_CELL_CLASS -} from '@/lib/list-table-layout' +} from '@/lib/list-interaction/list-table-layout' import { useTranslate } from '@/i18n/use-translate' function SkeletonBar({ className }: { className?: string }): React.JSX.Element { diff --git a/src/renderer/src/components/automations/AutomationsPageSurface.tsx b/src/renderer/src/components/automations/AutomationsPageSurface.tsx index 61593de5d8c..dff56fff22d 100644 --- a/src/renderer/src/components/automations/AutomationsPageSurface.tsx +++ b/src/renderer/src/components/automations/AutomationsPageSurface.tsx @@ -1,16 +1,19 @@ import React from 'react' import { useTranslate } from '@/i18n/use-translate' import { LoadingSpinner } from '@/components/LoadingSpinner' -import { AutomationEditorDialog } from './AutomationEditorDialog' -import { AutomationsDetailPane } from './AutomationsDetailPane' +import { AutomationEditorDialog } from './authoring/AutomationEditorDialog' +import { AutomationsDetailPane } from './details/AutomationsDetailPane' import { AutomationsPageSkeleton } from './AutomationsPageSkeleton' -import { getAutomationAuthorityTarget } from './automation-host-client' -import { automationProjectName, type AutomationListRow } from './automation-list-row-identity' -import type { AutomationHostRecoveryAction } from './automation-host-status-descriptors' +import { getAutomationAuthorityTarget } from './hosts/automation-host-client' +import { + automationProjectName, + type AutomationListRow +} from './listing/automation-list-row-identity' +import type { AutomationHostRecoveryAction } from './hosts/automation-host-status-descriptors' import { AutomationsPageTopBar } from './AutomationsPageTopBar' import type { AutomationsPageController } from './use-automations-page-controller' -import { AutomationRunsDashboardSurface } from './AutomationRunsDashboardSurface' -import { AutomationRunDetailsPage } from './AutomationRunDetailsPage' +import { AutomationRunsDashboardSurface } from './runs/AutomationRunsDashboardSurface' +import { AutomationRunDetailsPage } from './runs/AutomationRunDetailsPage' import { AutomationsPageDeleteDialogs } from './AutomationsPageDeleteDialogs' import { AutomationsPageListPanel } from './AutomationsPageListPanel' export function AutomationsPageSurface({ diff --git a/src/renderer/src/components/automations/AutomationsPageTopBar.tsx b/src/renderer/src/components/automations/AutomationsPageTopBar.tsx index e5ab99a505c..ae24bc32293 100644 --- a/src/renderer/src/components/automations/AutomationsPageTopBar.tsx +++ b/src/renderer/src/components/automations/AutomationsPageTopBar.tsx @@ -1,9 +1,9 @@ import React from 'react' import { useTranslate } from '@/i18n/use-translate' -import { AutomationOwnerConflictNotice } from './AutomationOwnerConflictNotice' +import { AutomationOwnerConflictNotice } from './hosts/AutomationOwnerConflictNotice' import { AutomationsPageBreadcrumb } from './AutomationsPageBreadcrumb' -import type { AutomationHostRecoveryAction } from './automation-host-status-descriptors' -import type { AutomationActionNotice } from './automation-row-action-dispatch' +import type { AutomationHostRecoveryAction } from './hosts/automation-host-status-descriptors' +import type { AutomationActionNotice } from './hosts/automation-row-action-dispatch' export function AutomationsPageTopBar({ pageView, diff --git a/src/renderer/src/components/automations/AutomationAgentLaunchPicker.tsx b/src/renderer/src/components/automations/authoring/AutomationAgentLaunchPicker.tsx similarity index 92% rename from src/renderer/src/components/automations/AutomationAgentLaunchPicker.tsx rename to src/renderer/src/components/automations/authoring/AutomationAgentLaunchPicker.tsx index beee205e96a..7d41df74e03 100644 --- a/src/renderer/src/components/automations/AutomationAgentLaunchPicker.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationAgentLaunchPicker.tsx @@ -1,7 +1,7 @@ import { useCallback, useMemo, useState, type ComponentProps } from 'react' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { AgentLaunchPicker } from '@/components/agent/AgentLaunchPicker' -import { useAgentPickerDraftScope } from '@/components/agent/AgentLaunchSetupButton' +import { useAgentPickerDraftScope } from '@/components/agent/agent-launch-picker-drafts' import { useAgentLaunchPickerInventory } from '@/components/agent/use-agent-launch-picker-inventory' import { useAgentMenuObservation } from '@/components/tab-bar/use-new-tab-agent-menu-rows' import { @@ -11,15 +11,15 @@ import { type ProspectiveWorkspace } from '@/lib/agent-session/launch/routing/agent-launch-route-input' import type { AgentCatalogEntry } from '@/lib/agent-catalog/agent-catalog' -import { parseExecutionHostId } from '../../../../shared/execution-host' -import { AUTOMATION_LAUNCH_SETUP_RUNTIME_CAPABILITY } from '../../../../shared/automations/automation-runtime-capabilities' -import { automationLegacyArguments } from '../../../../shared/automations/launch/automation-legacy-arguments' -import type { AutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' +import { parseExecutionHostId } from '../../../../../shared/execution-host' +import { AUTOMATION_LAUNCH_SETUP_RUNTIME_CAPABILITY } from '../../../../../shared/automations/automation-runtime-capabilities' +import { automationLegacyArguments } from '../../../../../shared/automations/launch/automation-legacy-arguments' +import type { AutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import { Button } from '@/components/ui/button' import { useTranslate } from '@/i18n/use-translate' import { draftExtraAgentArgsNeedFreshSession } from './automation-draft-model' import type { AgentDetectionTarget } from '@/hooks/useDetectedAgents' -import type { AgentPickerEntry } from '../../../../shared/agent-launch/picker/agent-launch-picker' +import type { AgentPickerEntry } from '../../../../../shared/agent-launch/picker/agent-launch-picker' import type { NewTabAgentMenuModel } from '@/components/tab-bar/new-tab-agent-menu-model' import { useAutomationAgentPickerEntries } from './use-automation-agent-picker-entries' import { AutomationExtraAgentArgsField } from './AutomationExtraAgentArgsField' @@ -30,7 +30,7 @@ import { editAutomationLegacyDraft, editsSupplementalArguments } from './automation-launch-draft' -import type { GlobalSettings } from '../../../../shared/global-settings-types' +import type { GlobalSettings } from '../../../../../shared/global-settings-types' function legacyArgumentsDraft(draft: AutomationDraft): AutomationDraft { return { diff --git a/src/renderer/src/components/automations/AutomationCustomCronPanel.tsx b/src/renderer/src/components/automations/authoring/AutomationCustomCronPanel.tsx similarity index 92% rename from src/renderer/src/components/automations/AutomationCustomCronPanel.tsx rename to src/renderer/src/components/automations/authoring/AutomationCustomCronPanel.tsx index 6e744c62e49..af8dadf7ccb 100644 --- a/src/renderer/src/components/automations/AutomationCustomCronPanel.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationCustomCronPanel.tsx @@ -1,12 +1,12 @@ import React from 'react' import { CheckCircle2, CircleAlert } from 'lucide-react' import { Input } from '@/components/ui/input' -import { cn } from '@/lib/utils' -import { describeAutomationSchedule } from '../../../../shared/automations/scheduling/automation-schedules' -import { getAutomationCronExpressionFields } from '../../../../shared/automations/scheduling/automation-schedule-parsing' -import { formatUiAutomationScheduleDescriptor } from './automation-schedule-label' +import { cn } from '@/lib/class-names' +import { describeAutomationSchedule } from '../../../../../shared/automations/scheduling/automation-schedules' +import { getAutomationCronExpressionFields } from '../../../../../shared/automations/scheduling/automation-schedule-parsing' +import { formatUiAutomationScheduleDescriptor } from '../details/automation-schedule-label' import type { AutomationDraft } from './AutomationEditorDialog' -import { Field } from './automation-page-parts' +import { Field } from '../automation-page-parts' import { translate } from '@/i18n/i18n' import { useIntlLocale, useTranslate, type Translate } from '@/i18n/use-translate' diff --git a/src/renderer/src/components/automations/AutomationDeleteDialogs.tsx b/src/renderer/src/components/automations/authoring/AutomationDeleteDialogs.tsx similarity index 95% rename from src/renderer/src/components/automations/AutomationDeleteDialogs.tsx rename to src/renderer/src/components/automations/authoring/AutomationDeleteDialogs.tsx index e440982e095..f5f46a51520 100644 --- a/src/renderer/src/components/automations/AutomationDeleteDialogs.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationDeleteDialogs.tsx @@ -9,13 +9,13 @@ import { DialogHeader, DialogTitle } from '@/components/ui/dialog' -import type { Automation } from '../../../../shared/automations/automation-definition' +import type { Automation } from '../../../../../shared/automations/automation-definition' import type { ExternalAutomationJob, ExternalAutomationManager -} from '../../../../shared/automations/external/external-automation' -import { getExternalAutomationScheduleDisplay } from './external-automation-schedule-display' -import { getExternalProviderLabel } from './external-automation-display' +} from '../../../../../shared/automations/external/external-automation' +import { getExternalAutomationScheduleDisplay } from '../external/external-automation-schedule-display' +import { getExternalProviderLabel } from '../external/external-automation-display' import { Trans } from 'react-i18next' import { i18n } from '@/i18n/i18n' import { useIntlLocale, useTranslate } from '@/i18n/use-translate' diff --git a/src/renderer/src/components/automations/AutomationDestinationField.tsx b/src/renderer/src/components/automations/authoring/AutomationDestinationField.tsx similarity index 96% rename from src/renderer/src/components/automations/AutomationDestinationField.tsx rename to src/renderer/src/components/automations/authoring/AutomationDestinationField.tsx index c2d8492df83..3d1971ec4d8 100644 --- a/src/renderer/src/components/automations/AutomationDestinationField.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationDestinationField.tsx @@ -1,14 +1,14 @@ import React from 'react' import { HostCombobox } from '@/components/host-picker/HostCombobox' import { useTranslate } from '@/i18n/use-translate' -import { AutomationHostLabel, AutomationHostStatusBadges } from './AutomationHostBadges' -import { Field } from './automation-page-parts' +import { AutomationHostLabel, AutomationHostStatusBadges } from '../hosts/AutomationHostBadges' +import { Field } from '../automation-page-parts' import { automationCreateHostEligible, automationCreateHostOffered, automationCreateUpdateRequiredAuthorityLabels } from './automation-create-destination' -import { groupAutomationHostEntriesByAuthority } from './automation-host-picker-groups' +import { groupAutomationHostEntriesByAuthority } from '../hosts/automation-host-picker-groups' import type { AutomationCreateDestinationControl } from './use-automation-create-destination' // This host stores/schedules the automation and may differ from workspace execution; saving an existing record elsewhere moves it. diff --git a/src/renderer/src/components/automations/AutomationEditorDialog.tsx b/src/renderer/src/components/automations/authoring/AutomationEditorDialog.tsx similarity index 86% rename from src/renderer/src/components/automations/AutomationEditorDialog.tsx rename to src/renderer/src/components/automations/authoring/AutomationEditorDialog.tsx index 9a8b4ac659e..45e34130a12 100644 --- a/src/renderer/src/components/automations/AutomationEditorDialog.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationEditorDialog.tsx @@ -1,8 +1,8 @@ -import type { AutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' +import type { AutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import React from 'react' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { selectAgentLaunchRouteView } from '@/lib/agent-session/launch/routing/agent-launch-route-input' -import { useChatProgramFacts } from '@/lib/host-chat-program-acquisition' +import { useChatProgramFacts } from '@/lib/agent-session/launch/inventory/host-chat-program-acquisition' import { automationChatSupport, automationDraftSurface, @@ -10,26 +10,26 @@ import { } from './automation-launch-surface' import { Dialog, DialogContent } from '@/components/ui/dialog' import { getAgentCatalog } from '@/lib/agent-catalog/agent-catalog' -import { filterEnabledTuiAgents } from '../../../../shared/agent-launch/catalog/tui-agent-selection' +import { filterEnabledTuiAgents } from '../../../../../shared/agent-launch/catalog/tui-agent-selection' import type { AutomationLaunchPreferences, AutomationLaunchSetupPatch -} from '../../../../shared/automations/launch/automation-launch-types' +} from '../../../../../shared/automations/launch/automation-launch-types' import type { AutomationSchedulePreset, AutomationWorkspaceMode -} from '../../../../shared/automations/automation-definition' -import type { GlobalSettings } from '../../../../shared/global-settings-types' -import type { OrcaHooks } from '../../../../shared/orca-yaml-hook-types' -import type { ProjectHostSetup } from '../../../../shared/project-types' -import type { Repo } from '../../../../shared/repo-types' -import type { TuiAgent } from '../../../../shared/agent-launch/catalog/tui-agent' -import type { SetupDecision } from '../../../../shared/worktree/create-types' -import type { Worktree } from '../../../../shared/worktree/types' +} from '../../../../../shared/automations/automation-definition' +import type { GlobalSettings } from '../../../../../shared/global-settings-types' +import type { OrcaHooks } from '../../../../../shared/orca-yaml-hook-types' +import type { ProjectHostSetup } from '../../../../../shared/project-types' +import type { Repo } from '../../../../../shared/repo-types' +import type { TuiAgent } from '../../../../../shared/agent-launch/catalog/tui-agent' +import type { SetupDecision } from '../../../../../shared/worktree/create-types' +import type { Worktree } from '../../../../../shared/worktree/types' import { closeUnfocusedMonacoFindOrPreventDialogDismiss } from '@/components/editor/monaco-find-widget' -import { AutomationOwnerConflictNotice } from './AutomationOwnerConflictNotice' -import type { AutomationActionNotice } from './automation-row-action-dispatch' -import type { AutomationHostRecoveryAction } from './automation-host-status-descriptors' +import { AutomationOwnerConflictNotice } from '../hosts/AutomationOwnerConflictNotice' +import type { AutomationActionNotice } from '../hosts/automation-row-action-dispatch' +import type { AutomationHostRecoveryAction } from '../hosts/automation-host-status-descriptors' import type { AutomationCreateDestinationControl } from './use-automation-create-destination' import { AutomationEditorDialogFooter } from './AutomationEditorDialogFooter' import { AutomationEditorDialogHeader } from './AutomationEditorDialogHeader' diff --git a/src/renderer/src/components/automations/AutomationEditorDialogFooter.tsx b/src/renderer/src/components/automations/authoring/AutomationEditorDialogFooter.tsx similarity index 100% rename from src/renderer/src/components/automations/AutomationEditorDialogFooter.tsx rename to src/renderer/src/components/automations/authoring/AutomationEditorDialogFooter.tsx diff --git a/src/renderer/src/components/automations/AutomationEditorDialogHeader.tsx b/src/renderer/src/components/automations/authoring/AutomationEditorDialogHeader.tsx similarity index 100% rename from src/renderer/src/components/automations/AutomationEditorDialogHeader.tsx rename to src/renderer/src/components/automations/authoring/AutomationEditorDialogHeader.tsx diff --git a/src/renderer/src/components/automations/authoring/AutomationEditorPromptEditor.test.tsx b/src/renderer/src/components/automations/authoring/AutomationEditorPromptEditor.test.tsx new file mode 100644 index 00000000000..d9614be0865 --- /dev/null +++ b/src/renderer/src/components/automations/authoring/AutomationEditorPromptEditor.test.tsx @@ -0,0 +1,73 @@ +// @vitest-environment happy-dom +import { cleanup, render } from '@testing-library/react' +import { afterEach, describe, expect, it, vi } from 'vitest' + +const editorProps = vi.hoisted(() => ({ current: null as Record | null })) +const installFindShortcut = vi.hoisted(() => vi.fn(() => vi.fn())) +const syncContentOnMount = vi.hoisted(() => vi.fn(() => false)) +const syncContentUpdate = vi.hoisted(() => vi.fn()) + +vi.mock('@monaco-editor/react', () => ({ + default: (props: Record) => { + editorProps.current = props + return
+ }, + loader: { config: vi.fn() } +})) +vi.mock('@/lib/editor/monaco/monaco-setup', () => ({ monaco: {} })) +vi.mock('@/store/index', () => ({ + useAppStore: (selector: (state: Record) => unknown) => + selector({ + settings: { theme: 'dark', terminalFontSize: 13, terminalFontFamily: 'monospace' }, + editorFontZoomLevel: 0 + }) +})) +vi.mock('@/components/editor/editor-shortcuts', () => ({ + installMonacoEditorFindShortcut: installFindShortcut +})) +vi.mock('@/components/editor/monaco-content-sync', () => ({ + syncContentOnMount, + syncContentUpdate +})) + +import { AutomationEditorPromptEditor } from './AutomationEditorPromptEditor' + +afterEach(() => { + cleanup() + editorProps.current = null + installFindShortcut.mockClear() + syncContentOnMount.mockClear() + syncContentUpdate.mockClear() +}) + +describe('AutomationEditorPromptEditor', () => { + it('dismisses on Escape only when find is closed', () => { + const onDismiss = vi.fn() + const editorDom = document.createElement('div') + const editorInstance = { + getContainerDomNode: () => editorDom, + onDidDispose: vi.fn() + } + render( + + ) + const onMount = editorProps.current?.onMount as (editor: typeof editorInstance) => void + onMount(editorInstance) + + const findWidget = document.createElement('div') + findWidget.className = 'find-widget' + editorDom.append(findWidget) + editorDom.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', bubbles: true })) + expect(onDismiss).not.toHaveBeenCalled() + + findWidget.setAttribute('aria-hidden', 'true') + editorDom.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', bubbles: true })) + expect(onDismiss).toHaveBeenCalledTimes(1) + }) +}) diff --git a/src/renderer/src/components/automations/AutomationEditorPromptEditor.tsx b/src/renderer/src/components/automations/authoring/AutomationEditorPromptEditor.tsx similarity index 99% rename from src/renderer/src/components/automations/AutomationEditorPromptEditor.tsx rename to src/renderer/src/components/automations/authoring/AutomationEditorPromptEditor.tsx index 15bf790323d..242b01c70a0 100644 --- a/src/renderer/src/components/automations/AutomationEditorPromptEditor.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationEditorPromptEditor.tsx @@ -7,7 +7,7 @@ import { isMonacoFindWidgetOpen } from '@/components/editor/monaco-find-widget' import { monacoTypographyOptions } from '@/lib/editor/appearance/editor-typography' import { useEditorTypography } from '@/hooks/use-editor-typography' import '@/lib/editor/monaco/monaco-setup' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { buildAutomationPromptEditorOptions } from './automation-editor-prompt-options' import { useMonacoTheme } from '@/hooks/use-monaco-theme' diff --git a/src/renderer/src/components/automations/AutomationEditorPromptSection.tsx b/src/renderer/src/components/automations/authoring/AutomationEditorPromptSection.tsx similarity index 100% rename from src/renderer/src/components/automations/AutomationEditorPromptSection.tsx rename to src/renderer/src/components/automations/authoring/AutomationEditorPromptSection.tsx diff --git a/src/renderer/src/components/automations/AutomationEditorSettingsSidebar.tsx b/src/renderer/src/components/automations/authoring/AutomationEditorSettingsSidebar.tsx similarity index 90% rename from src/renderer/src/components/automations/AutomationEditorSettingsSidebar.tsx rename to src/renderer/src/components/automations/authoring/AutomationEditorSettingsSidebar.tsx index 6c89609af50..f7a0c642f9a 100644 --- a/src/renderer/src/components/automations/AutomationEditorSettingsSidebar.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationEditorSettingsSidebar.tsx @@ -1,15 +1,15 @@ -import type { AutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' +import type { AutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import { AutomationAgentLaunchPicker } from './AutomationAgentLaunchPicker' import type { ProspectiveWorkspace } from '@/lib/agent-session/launch/routing/agent-launch-route-input' import { useTranslate } from '@/i18n/use-translate' -import { isValidAutomationSchedule } from '../../../../shared/automations/scheduling/automation-schedule-parsing' -import type { GlobalSettings } from '../../../../shared/global-settings-types' -import type { OrcaHooks } from '../../../../shared/orca-yaml-hook-types' -import type { ProjectHostSetup } from '../../../../shared/project-types' -import type { Repo } from '../../../../shared/repo-types' -import type { Worktree } from '../../../../shared/worktree/types' +import { isValidAutomationSchedule } from '../../../../../shared/automations/scheduling/automation-schedule-parsing' +import type { GlobalSettings } from '../../../../../shared/global-settings-types' +import type { OrcaHooks } from '../../../../../shared/orca-yaml-hook-types' +import type { ProjectHostSetup } from '../../../../../shared/project-types' +import type { Repo } from '../../../../../shared/repo-types' +import type { Worktree } from '../../../../../shared/worktree/types' import type { AgentCatalogEntry } from '@/lib/agent-catalog/agent-catalog' -import { AUTOMATION_EDITOR_SECTION_LABEL_CLASS, Field } from './automation-page-parts' +import { AUTOMATION_EDITOR_SECTION_LABEL_CLASS, Field } from '../automation-page-parts' import { AutomationMissedRunGraceField } from './AutomationMissedRunGraceField' import { AutomationPrecheckFields } from './AutomationPrecheckFields' import AutomationProjectCombobox from './AutomationProjectCombobox' diff --git a/src/renderer/src/components/automations/AutomationExtraAgentArgsField.tsx b/src/renderer/src/components/automations/authoring/AutomationExtraAgentArgsField.tsx similarity index 96% rename from src/renderer/src/components/automations/AutomationExtraAgentArgsField.tsx rename to src/renderer/src/components/automations/authoring/AutomationExtraAgentArgsField.tsx index 26d21337223..e00587e9adf 100644 --- a/src/renderer/src/components/automations/AutomationExtraAgentArgsField.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationExtraAgentArgsField.tsx @@ -6,8 +6,8 @@ import { getExtraAgentArgsPlaceholder, hasExtraAgentArgs, supportsExtraAgentArgs -} from '../../../../shared/agent-launch/startup/automation-extra-agent-args' -import { AUTOMATION_EDITOR_SECTION_LABEL_CLASS } from './automation-page-parts' +} from '../../../../../shared/agent-launch/startup/automation-extra-agent-args' +import { AUTOMATION_EDITOR_SECTION_LABEL_CLASS } from '../automation-page-parts' import { draftExtraAgentArgsNeedFreshSession, getDraftExtraAgentArgsError diff --git a/src/renderer/src/components/automations/AutomationMissedRunGraceField.tsx b/src/renderer/src/components/automations/authoring/AutomationMissedRunGraceField.tsx similarity index 97% rename from src/renderer/src/components/automations/AutomationMissedRunGraceField.tsx rename to src/renderer/src/components/automations/authoring/AutomationMissedRunGraceField.tsx index 1da1c632957..cb92db8ffe9 100644 --- a/src/renderer/src/components/automations/AutomationMissedRunGraceField.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationMissedRunGraceField.tsx @@ -7,7 +7,7 @@ import { SelectValue } from '@/components/ui/select' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' -import { AUTOMATION_EDITOR_SECTION_LABEL_CLASS, Field } from './automation-page-parts' +import { AUTOMATION_EDITOR_SECTION_LABEL_CLASS, Field } from '../automation-page-parts' import type { AutomationDraft } from './AutomationEditorDialog' import { useTranslate } from '@/i18n/use-translate' diff --git a/src/renderer/src/components/automations/AutomationPrecheckFields.tsx b/src/renderer/src/components/automations/authoring/AutomationPrecheckFields.tsx similarity index 97% rename from src/renderer/src/components/automations/AutomationPrecheckFields.tsx rename to src/renderer/src/components/automations/authoring/AutomationPrecheckFields.tsx index 696e93da1b9..53458d156e0 100644 --- a/src/renderer/src/components/automations/AutomationPrecheckFields.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationPrecheckFields.tsx @@ -5,7 +5,7 @@ import { SelectTrigger, SelectValue } from '@/components/ui/select' -import { AUTOMATION_EDITOR_SECTION_LABEL_CLASS, Field } from './automation-page-parts' +import { AUTOMATION_EDITOR_SECTION_LABEL_CLASS, Field } from '../automation-page-parts' import type { AutomationDraft } from './AutomationEditorDialog' import { useTranslate } from '@/i18n/use-translate' diff --git a/src/renderer/src/components/automations/AutomationProjectCombobox.tsx b/src/renderer/src/components/automations/authoring/AutomationProjectCombobox.tsx similarity index 97% rename from src/renderer/src/components/automations/AutomationProjectCombobox.tsx rename to src/renderer/src/components/automations/authoring/AutomationProjectCombobox.tsx index c68704f2f67..9ca36679492 100644 --- a/src/renderer/src/components/automations/AutomationProjectCombobox.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationProjectCombobox.tsx @@ -4,15 +4,15 @@ import { Button } from '@/components/ui/button' import { Command, CommandInput, CommandList } from '@/components/ui/command' import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover' import RepoBadgeLabel from '@/components/repo/RepoBadgeLabel' -import { useAppStore } from '@/store' -import { isGitRepoKind } from '../../../../shared/repo-kind' -import { getRepoExecutionHostId } from '../../../../shared/execution-host' -import { isRepoSearchQueryTooLarge, searchRepos } from '@/lib/repo-search' -import { cn } from '@/lib/utils' +import { useAppStore } from '@/store/index' +import { isGitRepoKind } from '../../../../../shared/repo-kind' +import { getRepoExecutionHostId } from '../../../../../shared/execution-host' +import { isRepoSearchQueryTooLarge, searchRepos } from '@/lib/workspace/catalog/repo-search' +import { cn } from '@/lib/class-names' import { useMountedRef } from '@/hooks/useMountedRef' import { useTranslate } from '@/i18n/use-translate' import { projectHostCountLabel } from '@/components/project-host-count-label' -import type { Repo } from '../../../../shared/repo-types' +import type { Repo } from '../../../../../shared/repo-types' import { getAutomationProjectGroupForRepo, getAutomationProjectGroups, diff --git a/src/renderer/src/components/automations/AutomationSchedulePicker.test.ts b/src/renderer/src/components/automations/authoring/AutomationSchedulePicker.test.ts similarity index 100% rename from src/renderer/src/components/automations/AutomationSchedulePicker.test.ts rename to src/renderer/src/components/automations/authoring/AutomationSchedulePicker.test.ts diff --git a/src/renderer/src/components/automations/AutomationSchedulePicker.tsx b/src/renderer/src/components/automations/authoring/AutomationSchedulePicker.tsx similarity index 91% rename from src/renderer/src/components/automations/AutomationSchedulePicker.tsx rename to src/renderer/src/components/automations/authoring/AutomationSchedulePicker.tsx index 5b30f4d85b9..1b1657dd4a1 100644 --- a/src/renderer/src/components/automations/AutomationSchedulePicker.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationSchedulePicker.tsx @@ -1,4 +1,4 @@ -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { Select, SelectContent, @@ -6,14 +6,14 @@ import { SelectTrigger, SelectValue } from '@/components/ui/select' -import type { AutomationSchedulePreset } from '../../../../shared/automations/automation-definition' -import { buildAutomationCronSchedule } from '../../../../shared/automations/scheduling/automation-schedule-occurrences' -import { isValidAutomationSchedule } from '../../../../shared/automations/scheduling/automation-schedule-parsing' +import type { AutomationSchedulePreset } from '../../../../../shared/automations/automation-definition' +import { buildAutomationCronSchedule } from '../../../../../shared/automations/scheduling/automation-schedule-occurrences' +import { isValidAutomationSchedule } from '../../../../../shared/automations/scheduling/automation-schedule-parsing' import type { AutomationDraft } from './AutomationEditorDialog' import { AutomationCustomCronPanel } from './AutomationCustomCronPanel' -import { acceptsAutomationDraftSchedule } from '../../../../shared/automations/scheduling/automation-schedule-input-gate' +import { acceptsAutomationDraftSchedule } from '../../../../../shared/automations/scheduling/automation-schedule-input-gate' import { AutomationTimeField, parseAutomationTime } from './AutomationTimeField' -import { Field } from './automation-page-parts' +import { Field } from '../automation-page-parts' import { translate } from '@/i18n/i18n' import { useIntlLocale, useTranslate, type Translate } from '@/i18n/use-translate' import { getUiWeekdayNames } from '@/i18n/weekday-names' diff --git a/src/renderer/src/components/automations/AutomationSessionField.tsx b/src/renderer/src/components/automations/authoring/AutomationSessionField.tsx similarity index 96% rename from src/renderer/src/components/automations/AutomationSessionField.tsx rename to src/renderer/src/components/automations/authoring/AutomationSessionField.tsx index 685bef4f1cc..5113ada679f 100644 --- a/src/renderer/src/components/automations/AutomationSessionField.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationSessionField.tsx @@ -1,7 +1,7 @@ import { Info } from 'lucide-react' import { ToggleGroup, ToggleGroupItem } from '@/components/ui/toggle-group' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' -import { AUTOMATION_EDITOR_SECTION_LABEL_CLASS, Field } from './automation-page-parts' +import { AUTOMATION_EDITOR_SECTION_LABEL_CLASS, Field } from '../automation-page-parts' import type { AutomationDraft } from './AutomationEditorDialog' import { useTranslate } from '@/i18n/use-translate' diff --git a/src/renderer/src/components/automations/AutomationSetupDecisionField.tsx b/src/renderer/src/components/automations/authoring/AutomationSetupDecisionField.tsx similarity index 94% rename from src/renderer/src/components/automations/AutomationSetupDecisionField.tsx rename to src/renderer/src/components/automations/authoring/AutomationSetupDecisionField.tsx index b31109af38d..cd07c430940 100644 --- a/src/renderer/src/components/automations/AutomationSetupDecisionField.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationSetupDecisionField.tsx @@ -1,13 +1,13 @@ import React from 'react' import { Check, ChevronDown } from 'lucide-react' import { Button } from '@/components/ui/button' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' import { getVisibleAutomationSetupDecision } from './automation-setup-decision' import type { AutomationDraft } from './AutomationEditorDialog' -import type { OrcaHooks } from '../../../../shared/orca-yaml-hook-types' -import type { ProjectHostSetup } from '../../../../shared/project-types' -import type { Repo } from '../../../../shared/repo-types' +import type { OrcaHooks } from '../../../../../shared/orca-yaml-hook-types' +import type { ProjectHostSetup } from '../../../../../shared/project-types' +import type { Repo } from '../../../../../shared/repo-types' type AutomationSetupDecisionFieldProps = { draft: AutomationDraft diff --git a/src/renderer/src/components/automations/AutomationSurfaceField.tsx b/src/renderer/src/components/automations/authoring/AutomationSurfaceField.tsx similarity index 88% rename from src/renderer/src/components/automations/AutomationSurfaceField.tsx rename to src/renderer/src/components/automations/authoring/AutomationSurfaceField.tsx index 578df279d75..14932800b73 100644 --- a/src/renderer/src/components/automations/AutomationSurfaceField.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationSurfaceField.tsx @@ -1,8 +1,8 @@ import { ToggleGroup, ToggleGroupItem } from '@/components/ui/toggle-group' import { useTranslate } from '@/i18n/use-translate' -import { nativeChatPreferenceFor } from '../../../../shared/structured-native-chat-launch-route' -import type { GlobalSettings } from '../../../../shared/global-settings-types' -import { Field, AUTOMATION_EDITOR_SECTION_LABEL_CLASS } from './automation-page-parts' +import { nativeChatPreferenceFor } from '../../../../../shared/structured-native-chat-launch-route' +import type { GlobalSettings } from '../../../../../shared/global-settings-types' +import { Field, AUTOMATION_EDITOR_SECTION_LABEL_CLASS } from '../automation-page-parts' import { automationDraftSurface } from './automation-launch-surface' import type { AutomationDraft } from './AutomationEditorDialog' diff --git a/src/renderer/src/components/automations/AutomationTemplateEmptyState.tsx b/src/renderer/src/components/automations/authoring/AutomationTemplateEmptyState.tsx similarity index 100% rename from src/renderer/src/components/automations/AutomationTemplateEmptyState.tsx rename to src/renderer/src/components/automations/authoring/AutomationTemplateEmptyState.tsx diff --git a/src/renderer/src/components/automations/AutomationTimeField.tsx b/src/renderer/src/components/automations/authoring/AutomationTimeField.tsx similarity index 99% rename from src/renderer/src/components/automations/AutomationTimeField.tsx rename to src/renderer/src/components/automations/authoring/AutomationTimeField.tsx index 68e4a13cadd..b347cc49d7e 100644 --- a/src/renderer/src/components/automations/AutomationTimeField.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationTimeField.tsx @@ -1,7 +1,7 @@ import { ImeInput } from '@/lib/text-input/ime/ime-text-field' import React from 'react' import { Clock } from 'lucide-react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' const TIME_SHELL_CLASS = diff --git a/src/renderer/src/components/automations/AutomationWorkspaceField.tsx b/src/renderer/src/components/automations/authoring/AutomationWorkspaceField.tsx similarity index 92% rename from src/renderer/src/components/automations/AutomationWorkspaceField.tsx rename to src/renderer/src/components/automations/authoring/AutomationWorkspaceField.tsx index ad51852484d..2c336336b0c 100644 --- a/src/renderer/src/components/automations/AutomationWorkspaceField.tsx +++ b/src/renderer/src/components/automations/authoring/AutomationWorkspaceField.tsx @@ -3,10 +3,10 @@ import { ToggleGroup, ToggleGroupItem } from '@/components/ui/toggle-group' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { CreateFromPicker } from '@/components/repo/CreateFromPicker' import { useTranslate } from '@/i18n/use-translate' -import type { AutomationWorkspaceMode } from '../../../../shared/automations/automation-definition' -import type { Repo } from '../../../../shared/repo-types' -import type { Worktree } from '../../../../shared/worktree/types' -import { AUTOMATION_EDITOR_SECTION_LABEL_CLASS, Field } from './automation-page-parts' +import type { AutomationWorkspaceMode } from '../../../../../shared/automations/automation-definition' +import type { Repo } from '../../../../../shared/repo-types' +import type { Worktree } from '../../../../../shared/worktree/types' +import { AUTOMATION_EDITOR_SECTION_LABEL_CLASS, Field } from '../automation-page-parts' import { WorkspaceCombobox } from './WorkspaceCombobox' import type { AutomationDraft } from './AutomationEditorDialog' diff --git a/src/renderer/src/components/automations/WorkspaceCombobox.tsx b/src/renderer/src/components/automations/authoring/WorkspaceCombobox.tsx similarity index 97% rename from src/renderer/src/components/automations/WorkspaceCombobox.tsx rename to src/renderer/src/components/automations/authoring/WorkspaceCombobox.tsx index 1cce751348a..a6126592095 100644 --- a/src/renderer/src/components/automations/WorkspaceCombobox.tsx +++ b/src/renderer/src/components/automations/authoring/WorkspaceCombobox.tsx @@ -9,8 +9,8 @@ import { CommandList } from '@/components/ui/command' import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover' -import { cn } from '@/lib/utils' -import type { Worktree } from '../../../../shared/worktree/types' +import { cn } from '@/lib/class-names' +import type { Worktree } from '../../../../../shared/worktree/types' import { useTranslate } from '@/i18n/use-translate' export function WorkspaceCombobox({ diff --git a/src/renderer/src/components/automations/automation-create-destination.ts b/src/renderer/src/components/automations/authoring/automation-create-destination.ts similarity index 92% rename from src/renderer/src/components/automations/automation-create-destination.ts rename to src/renderer/src/components/automations/authoring/automation-create-destination.ts index 0fbe5a5bbee..18cc3d8dfcd 100644 --- a/src/renderer/src/components/automations/automation-create-destination.ts +++ b/src/renderer/src/components/automations/authoring/automation-create-destination.ts @@ -3,24 +3,24 @@ import type { AutomationAuthorityRef, AutomationOwnerRef -} from '../../../../shared/automations/ownership/automation-owner-ref' -import type { AutomationDestination } from '../../../../shared/automations/ownership/automation-owner-precondition' +} from '../../../../../shared/automations/ownership/automation-owner-ref' +import type { AutomationDestination } from '../../../../../shared/automations/ownership/automation-owner-precondition' import { hostStableKey, isSameAutomationOwner -} from '../../../../shared/automations/ownership/automation-owner-key' -import { getRepoSshConnectionId, parseExecutionHostId } from '../../../../shared/execution-host' -import type { Repo } from '../../../../shared/repo-types' +} from '../../../../../shared/automations/ownership/automation-owner-key' +import { getRepoSshConnectionId, parseExecutionHostId } from '../../../../../shared/execution-host' +import type { Repo } from '../../../../../shared/repo-types' import type { AutomationCatalogHydrationEvidence, AutomationHostCatalogEntry -} from './automation-host-catalog-types' -import { automationAuthorityCatalogKey } from './automation-host-catalog-types' +} from '../hosts/automation-host-catalog-types' +import { automationAuthorityCatalogKey } from '../hosts/automation-host-catalog-types' import { repoConnectionIdIn, type AutomationAuthorityRepoTables -} from './automation-authority-identity' -import { automationHostRecoveryActions } from './automation-host-status-descriptors' +} from '../hosts/automation-authority-identity' +import { automationHostRecoveryActions } from '../hosts/automation-host-status-descriptors' export type AutomationCreateDestinationChoiceReason = /** No host is selected and nothing may be assumed. */ diff --git a/src/renderer/src/components/automations/automation-create-projects.ts b/src/renderer/src/components/automations/authoring/automation-create-projects.ts similarity index 76% rename from src/renderer/src/components/automations/automation-create-projects.ts rename to src/renderer/src/components/automations/authoring/automation-create-projects.ts index e53a9e70891..b16915b23a6 100644 --- a/src/renderer/src/components/automations/automation-create-projects.ts +++ b/src/renderer/src/components/automations/authoring/automation-create-projects.ts @@ -2,9 +2,9 @@ import { getRepoExecutionHostId, parseExecutionHostId, toRuntimeExecutionHostId -} from '../../../../shared/execution-host' -import type { Repo } from '../../../../shared/repo-types' -import type { AutomationHostTarget } from './automation-host-client' +} from '../../../../../shared/execution-host' +import type { Repo } from '../../../../../shared/repo-types' +import type { AutomationHostTarget } from '../hosts/automation-host-client' /** Runtime creation uses that host’s repo catalog; desktop storage retains its SSH-capable catalog. */ export function getAutomationCreateRepos( diff --git a/src/renderer/src/components/automations/automation-delete-confirm-preference.ts b/src/renderer/src/components/automations/authoring/automation-delete-confirm-preference.ts similarity index 100% rename from src/renderer/src/components/automations/automation-delete-confirm-preference.ts rename to src/renderer/src/components/automations/authoring/automation-delete-confirm-preference.ts diff --git a/src/renderer/src/components/automations/automation-draft-model.ts b/src/renderer/src/components/automations/authoring/automation-draft-model.ts similarity index 87% rename from src/renderer/src/components/automations/automation-draft-model.ts rename to src/renderer/src/components/automations/authoring/automation-draft-model.ts index cf776994c35..d084574cf52 100644 --- a/src/renderer/src/components/automations/automation-draft-model.ts +++ b/src/renderer/src/components/automations/authoring/automation-draft-model.ts @@ -1,12 +1,12 @@ -import { buildAutomationRrule } from '../../../../shared/automations/scheduling/automation-schedule-occurrences' -import { automationLaunchInputs } from '../../../../shared/automations/launch/automation-launch-choices' +import { buildAutomationRrule } from '../../../../../shared/automations/scheduling/automation-schedule-occurrences' +import { automationLaunchInputs } from '../../../../../shared/automations/launch/automation-launch-choices' import { getAgentCatalog } from '@/lib/agent-catalog/agent-catalog' -import type { AutomationPrecheck } from '../../../../shared/automations/automation-definition' -import type { Worktree } from '../../../../shared/worktree/types' +import type { AutomationPrecheck } from '../../../../../shared/automations/automation-definition' +import type { Worktree } from '../../../../../shared/worktree/types' import { hasExtraAgentArgs, parseExtraAgentArgs -} from '../../../../shared/agent-launch/startup/automation-extra-agent-args' +} from '../../../../../shared/agent-launch/startup/automation-extra-agent-args' import type { AutomationDraft } from './AutomationEditorDialog' import { extraAgentArgsErrorText } from './automation-extra-agent-args-error-copy' diff --git a/src/renderer/src/components/automations/automation-edit-draft.ts b/src/renderer/src/components/automations/authoring/automation-edit-draft.ts similarity index 85% rename from src/renderer/src/components/automations/automation-edit-draft.ts rename to src/renderer/src/components/automations/authoring/automation-edit-draft.ts index e379eb47a33..3156c8c19df 100644 --- a/src/renderer/src/components/automations/automation-edit-draft.ts +++ b/src/renderer/src/components/automations/authoring/automation-edit-draft.ts @@ -1,11 +1,11 @@ -import { automationCanonicalLaunchSetup } from '../../../../shared/automations/launch/automation-canonical-launch-setup' -import type { Automation } from '../../../../shared/automations/automation-definition' +import { automationCanonicalLaunchSetup } from '../../../../../shared/automations/launch/automation-canonical-launch-setup' +import type { Automation } from '../../../../../shared/automations/automation-definition' import { translate } from '@/i18n/i18n' -import { getAutomationRunRepoId } from '../../../../shared/automations/history/automation-run-identity' +import { getAutomationRunRepoId } from '../../../../../shared/automations/history/automation-run-identity' import { isRunnableAutomationSchedule, tryParseAutomationRrule -} from '../../../../shared/automations/scheduling/automation-schedule-parsing' +} from '../../../../../shared/automations/scheduling/automation-schedule-parsing' import type { AutomationDraft } from './AutomationEditorDialog' import { AUTOMATION_DEFAULT_TIME, formatTimeInput } from './automation-draft-model' import { getAutomationSetupDecisionDraftValue } from './automation-setup-decision' diff --git a/src/renderer/src/components/automations/automation-editor-prompt-options.ts b/src/renderer/src/components/automations/authoring/automation-editor-prompt-options.ts similarity index 100% rename from src/renderer/src/components/automations/automation-editor-prompt-options.ts rename to src/renderer/src/components/automations/authoring/automation-editor-prompt-options.ts diff --git a/src/renderer/src/components/automations/automation-extra-agent-args-error-copy.ts b/src/renderer/src/components/automations/authoring/automation-extra-agent-args-error-copy.ts similarity index 95% rename from src/renderer/src/components/automations/automation-extra-agent-args-error-copy.ts rename to src/renderer/src/components/automations/authoring/automation-extra-agent-args-error-copy.ts index 3badaa76ade..aca921a61c2 100644 --- a/src/renderer/src/components/automations/automation-extra-agent-args-error-copy.ts +++ b/src/renderer/src/components/automations/authoring/automation-extra-agent-args-error-copy.ts @@ -3,7 +3,7 @@ import { EXTRA_AGENT_ARGS_FAILURE_COPY as EN, type ExtraAgentArgsFailure, type ExtraAgentArgsFailureCode -} from '../../../../shared/agent-launch/startup/automation-extra-agent-args' +} from '../../../../../shared/agent-launch/startup/automation-extra-agent-args' const COPY: Record) => string> = { unsupportedAgent: () => diff --git a/src/renderer/src/components/automations/automation-launch-draft.ts b/src/renderer/src/components/automations/authoring/automation-launch-draft.ts similarity index 82% rename from src/renderer/src/components/automations/automation-launch-draft.ts rename to src/renderer/src/components/automations/authoring/automation-launch-draft.ts index b95c199fe21..dc3052a3358 100644 --- a/src/renderer/src/components/automations/automation-launch-draft.ts +++ b/src/renderer/src/components/automations/authoring/automation-launch-draft.ts @@ -1,13 +1,13 @@ -import { automationLegacyArguments } from '../../../../shared/automations/launch/automation-legacy-arguments' -import { automationCanonicalLaunchSetup } from '../../../../shared/automations/launch/automation-canonical-launch-setup' -import { hasModernAutomationLaunchSetup } from '../../../../shared/automations/launch/automation-launch-setup' +import { automationLegacyArguments } from '../../../../../shared/automations/launch/automation-legacy-arguments' +import { automationCanonicalLaunchSetup } from '../../../../../shared/automations/launch/automation-canonical-launch-setup' +import { hasModernAutomationLaunchSetup } from '../../../../../shared/automations/launch/automation-launch-setup' import { foldAutomationSourceEdit, type AutomationLaunchEdit -} from '../../../../shared/automations/launch/automation-launch-source-edits' -import { parseExtraAgentArgs } from '../../../../shared/agent-launch/startup/automation-extra-agent-args' -import type { AgentPickerDraft } from '../../../../shared/agent-launch/picker/agent-launch-picker' -import type { TuiAgent } from '../../../../shared/agent-launch/catalog/tui-agent' +} from '../../../../../shared/automations/launch/automation-launch-source-edits' +import { parseExtraAgentArgs } from '../../../../../shared/agent-launch/startup/automation-extra-agent-args' +import type { AgentPickerDraft } from '../../../../../shared/agent-launch/picker/agent-launch-picker' +import type { TuiAgent } from '../../../../../shared/agent-launch/catalog/tui-agent' import type { AutomationDraft } from './AutomationEditorDialog' export function editsSupplementalArguments(draft: AutomationDraft, modern: boolean): boolean { diff --git a/src/renderer/src/components/automations/automation-launch-surface.ts b/src/renderer/src/components/automations/authoring/automation-launch-surface.ts similarity index 87% rename from src/renderer/src/components/automations/automation-launch-surface.ts rename to src/renderer/src/components/automations/authoring/automation-launch-surface.ts index 7f4a33eb19b..e14fc76a84f 100644 --- a/src/renderer/src/components/automations/automation-launch-surface.ts +++ b/src/renderer/src/components/automations/authoring/automation-launch-surface.ts @@ -1,22 +1,22 @@ -import { encodeAutomationLaunchEdit } from '../../../../shared/automations/launch/automation-launch-source-edits' +import { encodeAutomationLaunchEdit } from '../../../../../shared/automations/launch/automation-launch-source-edits' import { applyAutomationLaunchSetupPatch, hasModernAutomationLaunchSetup -} from '../../../../shared/automations/launch/automation-launch-setup' -import { automationCanonicalLaunchSetup } from '../../../../shared/automations/launch/automation-canonical-launch-setup' +} from '../../../../../shared/automations/launch/automation-launch-setup' +import { automationCanonicalLaunchSetup } from '../../../../../shared/automations/launch/automation-canonical-launch-setup' import type { Automation, AutomationUpdateInput, AutomationCreateInput -} from '../../../../shared/automations/automation-definition' -import type { GlobalSettings } from '../../../../shared/global-settings-types' -import { AUTOMATION_SURFACE_RUNTIME_CAPABILITY } from '../../../../shared/automations/automation-runtime-capabilities' +} from '../../../../../shared/automations/automation-definition' +import type { GlobalSettings } from '../../../../../shared/global-settings-types' +import { AUTOMATION_SURFACE_RUNTIME_CAPABILITY } from '../../../../../shared/automations/automation-runtime-capabilities' import { STRUCTURED_AGENT_SESSION_RUNTIME_CAPABILITY, STRUCTURED_AGENT_SESSION_CLIENT_LAUNCH_MODE_CAPABILITY -} from '../../../../shared/agent-session/agent-session-runtime-capabilities' -import { STRUCTURED_AGENT_SESSION_REGISTERED_AGENTS_RUNTIME_CAPABILITY } from '../../../../shared/agent-session/structured-agent-session-surface-capabilities' -import { nativeChatPreferenceFor } from '../../../../shared/structured-native-chat-launch-route' +} from '../../../../../shared/agent-session/agent-session-runtime-capabilities' +import { STRUCTURED_AGENT_SESSION_REGISTERED_AGENTS_RUNTIME_CAPABILITY } from '../../../../../shared/agent-session/structured-agent-session-surface-capabilities' +import { nativeChatPreferenceFor } from '../../../../../shared/structured-native-chat-launch-route' import { buildAgentLaunchRouteInput, type AgentLaunchRouteStore, diff --git a/src/renderer/src/components/automations/automation-legacy-schedule-editing.test.ts b/src/renderer/src/components/automations/authoring/automation-legacy-schedule-editing.test.ts similarity index 79% rename from src/renderer/src/components/automations/automation-legacy-schedule-editing.test.ts rename to src/renderer/src/components/automations/authoring/automation-legacy-schedule-editing.test.ts index 0a6a49893b9..f6db545bc1d 100644 --- a/src/renderer/src/components/automations/automation-legacy-schedule-editing.test.ts +++ b/src/renderer/src/components/automations/authoring/automation-legacy-schedule-editing.test.ts @@ -1,10 +1,10 @@ import { describe, expect, it } from 'vitest' -import type { Automation } from '../../../../shared/automations/automation-definition' -import { isValidAutomationSchedule } from '../../../../shared/automations/scheduling/automation-schedule-parsing' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import { isValidAutomationSchedule } from '../../../../../shared/automations/scheduling/automation-schedule-parsing' import { buildAutomationEditDraft } from './automation-edit-draft' -import { acceptsAutomationDraftSchedule } from '../../../../shared/automations/scheduling/automation-schedule-input-gate' +import { acceptsAutomationDraftSchedule } from '../../../../../shared/automations/scheduling/automation-schedule-input-gate' // `*/90` on minutes was accepted before the oversized-step refusal (#15895) and still runs, // firing at :00. Only a row persisted by an older build can hold it. @@ -70,9 +70,4 @@ describe('editing an automation whose saved schedule predates the input gate', ( }) // Only oversized steps receive legacy leniency; unparseable schedules still need warnings. - it('keeps warning about a saved schedule that cannot be parsed', () => { - const draft = buildAutomationEditDraft(makeAutomation({ rrule: '0 9 32 * *' })) - expect(draft.customSchedule).toBe('') - expect(draft.scheduleWarning).toBeTruthy() - }) }) diff --git a/src/renderer/src/components/automations/automation-management-actions.ts b/src/renderer/src/components/automations/authoring/automation-management-actions.ts similarity index 88% rename from src/renderer/src/components/automations/automation-management-actions.ts rename to src/renderer/src/components/automations/authoring/automation-management-actions.ts index cec9ce5db34..df1e5eeb9b7 100644 --- a/src/renderer/src/components/automations/automation-management-actions.ts +++ b/src/renderer/src/components/automations/authoring/automation-management-actions.ts @@ -1,13 +1,16 @@ -import { deleteAutomationForTarget, updateAutomationForTarget } from './automation-host-client' -import type { AutomationUpdateInput } from '../../../../shared/automations/automation-definition' +import { + deleteAutomationForTarget, + updateAutomationForTarget +} from '../hosts/automation-host-client' +import type { AutomationUpdateInput } from '../../../../../shared/automations/automation-definition' import { dispatchAutomationDelete, dispatchAutomationUpdate -} from './automation-row-action-dispatch' +} from '../hosts/automation-row-action-dispatch' import { persistSkipDeleteAutomationConfirm } from './automation-delete-confirm-preference' -import type { AutomationListRow } from './automation-list-row-identity' -import type { AutomationsPageActionContext } from './automations-page-action-context' -import type { SetupTrustMismatch } from '../../../../shared/worktree/create-types' +import type { AutomationListRow } from '../listing/automation-list-row-identity' +import type { AutomationsPageActionContext } from '../automations-page-action-context' +import type { SetupTrustMismatch } from '../../../../../shared/worktree/create-types' import { reviewAutomationSkippedSetup } from './automation-setup-review' /** Fenced toggle/delete handlers and the confirmation preference flow. */ diff --git a/src/renderer/src/components/automations/automation-orca-save-operations.ts b/src/renderer/src/components/automations/authoring/automation-orca-save-operations.ts similarity index 92% rename from src/renderer/src/components/automations/automation-orca-save-operations.ts rename to src/renderer/src/components/automations/authoring/automation-orca-save-operations.ts index f3108678dcb..109cd8b3d3f 100644 --- a/src/renderer/src/components/automations/automation-orca-save-operations.ts +++ b/src/renderer/src/components/automations/authoring/automation-orca-save-operations.ts @@ -3,20 +3,20 @@ import type { Automation, AutomationCreateInput, AutomationUpdateInput -} from '../../../../shared/automations/automation-definition' +} from '../../../../../shared/automations/automation-definition' import type { AutomationAuthorityRef, StableAutomationCatalogRef -} from '../../../../shared/automations/ownership/automation-owner-ref' -import type { AutomationDestination } from '../../../../shared/automations/ownership/automation-owner-precondition' +} from '../../../../../shared/automations/ownership/automation-owner-ref' +import type { AutomationDestination } from '../../../../../shared/automations/ownership/automation-owner-precondition' import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' import { deleteAutomationForTarget, listAutomationsForTarget, updateAutomationForTarget -} from './automation-host-client' -import { createAutomationAtDestination } from './automation-owner-action-runner' +} from '../hosts/automation-host-client' +import { createAutomationAtDestination } from '../hosts/automation-owner-action-runner' import { dispatchAutomationDelete, dispatchAutomationReread, @@ -25,16 +25,16 @@ import { type AutomationActionNotice, type AutomationDispatchContext, type AutomationDispatchResult -} from './automation-row-action-dispatch' +} from '../hosts/automation-row-action-dispatch' import { revalidateAutomationCreateDestination, type AutomationCreateDestination } from './automation-create-destination' -import type { AutomationHostTarget } from './automation-host-client' -import type { AutomationAuthorityChangeReason } from './automation-host-invalidation' +import type { AutomationHostTarget } from '../hosts/automation-host-client' +import type { AutomationAuthorityChangeReason } from '../hosts/automation-host-invalidation' import type { AutomationSaveContext } from './automation-save-context' -import { automationAuthorityCatalogKey } from './automation-host-catalog-types' -import { createNonSecureContextUuid as createBrowserUuid } from '../../../../shared/non-secure-context-uuid' +import { automationAuthorityCatalogKey } from '../hosts/automation-host-catalog-types' +import { createNonSecureContextUuid as createBrowserUuid } from '../../../../../shared/non-secure-context-uuid' export type AutomationMoveOperationContext = { automationDispatchContext: AutomationDispatchContext diff --git a/src/renderer/src/components/automations/automation-orca-save.ts b/src/renderer/src/components/automations/authoring/automation-orca-save.ts similarity index 95% rename from src/renderer/src/components/automations/automation-orca-save.ts rename to src/renderer/src/components/automations/authoring/automation-orca-save.ts index c3d7a76dc0f..e2dd43ee641 100644 --- a/src/renderer/src/components/automations/automation-orca-save.ts +++ b/src/renderer/src/components/automations/authoring/automation-orca-save.ts @@ -3,7 +3,7 @@ import { recordedAutomationRunContext, isSameAutomationWorkspace } from './automation-recorded-target' -import { capturedAutomationOwner } from './automation-captured-owner' +import { capturedAutomationOwner } from '../hosts/automation-captured-owner' import { automationChatSupport, automationDraftLaunchSetup, @@ -15,16 +15,16 @@ import type { Automation, AutomationCreateInput, AutomationUpdateInput -} from '../../../../shared/automations/automation-definition' -import { getRepoExecutionHostId } from '../../../../shared/execution-host' -import { ensureHooksApproved } from '@/lib/ensure-hooks-confirmed' +} from '../../../../../shared/automations/automation-definition' +import { getRepoExecutionHostId } from '../../../../../shared/execution-host' +import { ensureHooksApproved } from '@/runtime/repo-hooks/ensure-hooks-confirmed' import { translate } from '@/i18n/i18n' -import { useAppStore } from '@/store' -import { listAutomationsForTarget } from './automation-host-client' +import { useAppStore } from '@/store/index' +import { listAutomationsForTarget } from '../hosts/automation-host-client' import { dispatchAutomationReread, type AutomationDispatchResult -} from './automation-row-action-dispatch' +} from '../hosts/automation-row-action-dispatch' import { buildDraftPrecheck, buildDraftSchedule } from './automation-draft-model' import { buildAutomationRunContextForRepo } from './automation-run-context' import { resolveAutomationSetupDecisionForSave } from './automation-setup-decision' diff --git a/src/renderer/src/components/automations/automation-project-groups.ts b/src/renderer/src/components/automations/authoring/automation-project-groups.ts similarity index 90% rename from src/renderer/src/components/automations/automation-project-groups.ts rename to src/renderer/src/components/automations/authoring/automation-project-groups.ts index 212d577f07b..6c1a61e5424 100644 --- a/src/renderer/src/components/automations/automation-project-groups.ts +++ b/src/renderer/src/components/automations/authoring/automation-project-groups.ts @@ -1,6 +1,9 @@ -import { getRepoExecutionHostId, LOCAL_EXECUTION_HOST_ID } from '../../../../shared/execution-host' -import { getProjectIdentityKey } from '../../../../shared/project-host-setup-projection' -import type { Repo } from '../../../../shared/repo-types' +import { + getRepoExecutionHostId, + LOCAL_EXECUTION_HOST_ID +} from '../../../../../shared/execution-host' +import { getProjectIdentityKey } from '../../../../../shared/project-host-setup-projection' +import type { Repo } from '../../../../../shared/repo-types' export type AutomationProjectGroup = { projectKey: string diff --git a/src/renderer/src/components/automations/authoring/automation-recorded-target.ts b/src/renderer/src/components/automations/authoring/automation-recorded-target.ts new file mode 100644 index 00000000000..e5485d44490 --- /dev/null +++ b/src/renderer/src/components/automations/authoring/automation-recorded-target.ts @@ -0,0 +1,39 @@ +import type { Automation } from '../../../../../shared/automations/automation-definition' +import { AUTOMATION_ORPHAN_ISSUES } from '../../../../../shared/automations/ownership/automation-list-scope' +import { parseExecutionHostId } from '../../../../../shared/execution-host' +import { automationAuthorityCatalogKey } from '../hosts/automation-host-catalog-types' +import type { AutomationCapturedOwner } from '../hosts/automation-captured-owner' +import type { AutomationCreateDestination } from './automation-create-destination' + +export function isSameAutomationWorkspace( + automation: Automation, + draft: Pick +): boolean { + return ( + automation.projectId === draft.projectId && + automation.workspaceMode === draft.workspaceMode && + (automation.workspaceId ?? '') === (draft.workspaceId ?? '') + ) +} + +/** A saved target is a proposal to its authority, never an executable catalog Repo. */ +export function recordedAutomationRunContext( + automation: Automation | null, + captured: AutomationCapturedOwner, + destination: AutomationCreateDestination +) { + const context = automation?.runContext + const host = parseExecutionHostId(context?.hostId) + const selector = destination.destination.selector + return context && + host?.kind === 'ssh' && + captured.authority && + captured.selector?.kind === 'orphan' && + captured.selector.issue === AUTOMATION_ORPHAN_ISSUES.hostReselection && + automationAuthorityCatalogKey(captured.authority) === + automationAuthorityCatalogKey(destination.authority) && + selector.kind === 'ssh' && + selector.targetId === host.targetId + ? context + : null +} diff --git a/src/renderer/src/components/automations/automation-run-context.ts b/src/renderer/src/components/automations/authoring/automation-run-context.ts similarity index 76% rename from src/renderer/src/components/automations/automation-run-context.ts rename to src/renderer/src/components/automations/authoring/automation-run-context.ts index 5418f94f20f..8f5d55a035d 100644 --- a/src/renderer/src/components/automations/automation-run-context.ts +++ b/src/renderer/src/components/automations/authoring/automation-run-context.ts @@ -1,10 +1,10 @@ import { buildWorkspaceRunContext, type WorkspaceRunContext -} from '../../../../shared/work-items/task-source-context' -import type { ProjectHostSetup } from '../../../../shared/project-types' -import type { Repo } from '../../../../shared/repo-types' -import { getRepoExecutionHostId } from '../../../../shared/execution-host' +} from '../../../../../shared/work-items/task-source-context' +import type { ProjectHostSetup } from '../../../../../shared/project-types' +import type { Repo } from '../../../../../shared/repo-types' +import { getRepoExecutionHostId } from '../../../../../shared/execution-host' export function buildAutomationRunContextForRepo(args: { repoId: string diff --git a/src/renderer/src/components/automations/automation-save-action.ts b/src/renderer/src/components/automations/authoring/automation-save-action.ts similarity index 93% rename from src/renderer/src/components/automations/automation-save-action.ts rename to src/renderer/src/components/automations/authoring/automation-save-action.ts index 4080cffef2e..03fba22b0c0 100644 --- a/src/renderer/src/components/automations/automation-save-action.ts +++ b/src/renderer/src/components/automations/authoring/automation-save-action.ts @@ -1,14 +1,14 @@ -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { automationChatSupport, automationDraftSurface, automationLaunchWorkspace } from './automation-launch-surface' import { toast } from 'sonner' -import { isTuiAgentEnabled } from '../../../../shared/agent-launch/catalog/tui-agent-selection' -import { isValidAutomationSchedule } from '../../../../shared/automations/scheduling/automation-schedule-parsing' +import { isTuiAgentEnabled } from '../../../../../shared/agent-launch/catalog/tui-agent-selection' +import { isValidAutomationSchedule } from '../../../../../shared/automations/scheduling/automation-schedule-parsing' import { translate } from '@/i18n/i18n' -import { acceptsAutomationDraftSchedule } from '../../../../shared/automations/scheduling/automation-schedule-input-gate' +import { acceptsAutomationDraftSchedule } from '../../../../../shared/automations/scheduling/automation-schedule-input-gate' import { draftExtraAgentArgsNeedFreshSession, getDraftExtraAgentArgsError, diff --git a/src/renderer/src/components/automations/automation-save-completion.ts b/src/renderer/src/components/automations/authoring/automation-save-completion.ts similarity index 92% rename from src/renderer/src/components/automations/automation-save-completion.ts rename to src/renderer/src/components/automations/authoring/automation-save-completion.ts index 4b9794af39a..160c5bc580a 100644 --- a/src/renderer/src/components/automations/automation-save-completion.ts +++ b/src/renderer/src/components/automations/authoring/automation-save-completion.ts @@ -1,5 +1,5 @@ -import type { Automation } from '../../../../shared/automations/automation-definition' -import { useAppStore } from '@/store' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import { useAppStore } from '@/store/index' import type { AutomationCreateDestination } from './automation-create-destination' import type { AutomationSaveContext } from './automation-save-context' import { showAutomationSavedToast } from './automation-orca-save-operations' diff --git a/src/renderer/src/components/automations/authoring/automation-save-context.ts b/src/renderer/src/components/automations/authoring/automation-save-context.ts new file mode 100644 index 00000000000..ea4449c7b5b --- /dev/null +++ b/src/renderer/src/components/automations/authoring/automation-save-context.ts @@ -0,0 +1,17 @@ +import type { AutomationsPageListState } from '../listing/use-automations-page-list-state' +import type { AutomationsPageLocalState } from '../use-automations-page-local-state' +import type { AutomationsPageRefresh } from '../use-automations-page-refresh' +import type { AutomationsPageSetupState } from './use-automations-page-setup-state' +import type { AutomationsPageStoreState } from '../use-automations-page-store-state' +import type { AutomationsPageDestinationState } from './use-automations-page-destination-state' +import type { AutomationsPageDestinationFormState } from './use-automations-page-destination-form' + +export type AutomationSaveContext = { + store: AutomationsPageStoreState + local: AutomationsPageLocalState + list: AutomationsPageListState + setup: AutomationsPageSetupState + destination: AutomationsPageDestinationState + destinationForm: AutomationsPageDestinationFormState + pageRefresh: AutomationsPageRefresh +} diff --git a/src/renderer/src/components/automations/automation-setup-decision.test.ts b/src/renderer/src/components/automations/authoring/automation-setup-decision.test.ts similarity index 96% rename from src/renderer/src/components/automations/automation-setup-decision.test.ts rename to src/renderer/src/components/automations/authoring/automation-setup-decision.test.ts index e99e6edfb46..76d9b1b8b28 100644 --- a/src/renderer/src/components/automations/automation-setup-decision.test.ts +++ b/src/renderer/src/components/automations/authoring/automation-setup-decision.test.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest' -import type { ProjectHostSetup } from '../../../../shared/project-types' -import type { Repo } from '../../../../shared/repo-types' +import type { ProjectHostSetup } from '../../../../../shared/project-types' +import type { Repo } from '../../../../../shared/repo-types' import { getVisibleAutomationSetupDecision, resolveAutomationSetupDecisionForSave diff --git a/src/renderer/src/components/automations/automation-setup-decision.ts b/src/renderer/src/components/automations/authoring/automation-setup-decision.ts similarity index 77% rename from src/renderer/src/components/automations/automation-setup-decision.ts rename to src/renderer/src/components/automations/authoring/automation-setup-decision.ts index b385ad0d4e9..0a012cecc2d 100644 --- a/src/renderer/src/components/automations/automation-setup-decision.ts +++ b/src/renderer/src/components/automations/authoring/automation-setup-decision.ts @@ -1,13 +1,13 @@ -import { getAutomationSetupDefaultDecision } from '../../../../shared/automations/launch/automation-setup-decision' +import { getAutomationSetupDefaultDecision } from '../../../../../shared/automations/launch/automation-setup-decision' -import type { AutomationWorkspaceMode } from '../../../../shared/automations/automation-definition' -import type { OrcaHooks, SetupRunPolicy } from '../../../../shared/orca-yaml-hook-types' -import type { ProjectHostSetup } from '../../../../shared/project-types' -import type { Repo } from '../../../../shared/repo-types' -import type { SetupDecision } from '../../../../shared/worktree/create-types' -import { findAutomationRepo } from '../../../../shared/automations/ownership/automation-repo-target' -import { getRepoExecutionHostId } from '../../../../shared/execution-host' -import { getSetupConfig } from '../../../../shared/orca-hook-setup-config' +import type { AutomationWorkspaceMode } from '../../../../../shared/automations/automation-definition' +import type { OrcaHooks, SetupRunPolicy } from '../../../../../shared/orca-yaml-hook-types' +import type { ProjectHostSetup } from '../../../../../shared/project-types' +import type { Repo } from '../../../../../shared/repo-types' +import type { SetupDecision } from '../../../../../shared/worktree/create-types' +import { findAutomationRepo } from '../../../../../shared/automations/ownership/automation-repo-target' +import { getRepoExecutionHostId } from '../../../../../shared/execution-host' +import { getSetupConfig } from '../../../../../shared/orca-hook-setup-config' type AutomationSetupSource = { setupScript: string diff --git a/src/renderer/src/components/automations/automation-setup-review.ts b/src/renderer/src/components/automations/authoring/automation-setup-review.ts similarity index 87% rename from src/renderer/src/components/automations/automation-setup-review.ts rename to src/renderer/src/components/automations/authoring/automation-setup-review.ts index 6ffe96eebb0..280510157b4 100644 --- a/src/renderer/src/components/automations/automation-setup-review.ts +++ b/src/renderer/src/components/automations/authoring/automation-setup-review.ts @@ -1,17 +1,17 @@ import { toast } from 'sonner' import { translate } from '@/i18n/i18n' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { confirmCreatedWorktreeSetupContent, ensureHooksApproved, type HookTrustApproval -} from '@/lib/ensure-hooks-confirmed' +} from '@/runtime/repo-hooks/ensure-hooks-confirmed' import type { AutomationSaveContext } from './automation-save-context' -import type { Automation } from '../../../../shared/automations/automation-definition' -import type { AutomationUsageSummary } from '../../../../shared/automations/history/automation-usage-summary' -import { getAutomationRunRepoId } from '../../../../shared/automations/history/automation-run-identity' -import type { SetupDecision, SetupTrustMismatch } from '../../../../shared/worktree/create-types' -import type { ExecutionHostId } from '../../../../shared/execution-host' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import type { AutomationUsageSummary } from '../../../../../shared/automations/history/automation-usage-summary' +import { getAutomationRunRepoId } from '../../../../../shared/automations/history/automation-run-identity' +import type { SetupDecision, SetupTrustMismatch } from '../../../../../shared/worktree/create-types' +import type { ExecutionHostId } from '../../../../../shared/execution-host' /** A skipped setup still waiting for approval; null once the automation approves that content. */ export type PendingAutomationSetupReview = { content: SetupTrustMismatch | null } diff --git a/src/renderer/src/components/automations/automation-templates.ts b/src/renderer/src/components/automations/authoring/automation-templates.ts similarity index 95% rename from src/renderer/src/components/automations/automation-templates.ts rename to src/renderer/src/components/automations/authoring/automation-templates.ts index 07bbb809dcd..d65b01ad459 100644 --- a/src/renderer/src/components/automations/automation-templates.ts +++ b/src/renderer/src/components/automations/authoring/automation-templates.ts @@ -1,5 +1,5 @@ -import type { AutomationSchedulePreset } from '../../../../shared/automations/automation-definition' -import type { TuiAgent } from '../../../../shared/agent-launch/catalog/tui-agent' +import type { AutomationSchedulePreset } from '../../../../../shared/automations/automation-definition' +import type { TuiAgent } from '../../../../../shared/agent-launch/catalog/tui-agent' import { translate } from '@/i18n/i18n' import { createLocalizedCatalog } from '@/i18n/localized-catalog' diff --git a/src/renderer/src/components/automations/use-automation-agent-picker-entries.ts b/src/renderer/src/components/automations/authoring/use-automation-agent-picker-entries.ts similarity index 91% rename from src/renderer/src/components/automations/use-automation-agent-picker-entries.ts rename to src/renderer/src/components/automations/authoring/use-automation-agent-picker-entries.ts index fb7d2ba5a49..d672fcd21e5 100644 --- a/src/renderer/src/components/automations/use-automation-agent-picker-entries.ts +++ b/src/renderer/src/components/automations/authoring/use-automation-agent-picker-entries.ts @@ -9,9 +9,9 @@ import { agentPickerDraft, type AgentPickerDraft, type AgentPickerEntry -} from '../../../../shared/agent-launch/picker/agent-launch-picker' -import { automationLaunchChoices } from '../../../../shared/automations/launch/automation-launch-choices' -import { mergeExtraAgentArgs } from '../../../../shared/agent-launch/startup/automation-extra-agent-args' +} from '../../../../../shared/agent-launch/picker/agent-launch-picker' +import { automationLaunchChoices } from '../../../../../shared/automations/launch/automation-launch-choices' +import { mergeExtraAgentArgs } from '../../../../../shared/agent-launch/startup/automation-extra-agent-args' import type { AutomationDraft } from './AutomationEditorDialog' import { automationChatSupport } from './automation-launch-surface' diff --git a/src/renderer/src/components/automations/use-automation-create-destination.ts b/src/renderer/src/components/automations/authoring/use-automation-create-destination.ts similarity index 95% rename from src/renderer/src/components/automations/use-automation-create-destination.ts rename to src/renderer/src/components/automations/authoring/use-automation-create-destination.ts index f861781eedc..c820a1c4493 100644 --- a/src/renderer/src/components/automations/use-automation-create-destination.ts +++ b/src/renderer/src/components/automations/authoring/use-automation-create-destination.ts @@ -2,12 +2,12 @@ import { useCallback, useMemo, useRef, useState } from 'react' import { translate } from '@/i18n/i18n' -import type { Repo } from '../../../../shared/repo-types' +import type { Repo } from '../../../../../shared/repo-types' import type { AutomationHostCatalog, AutomationHostCatalogEntry -} from './automation-host-catalog-types' -import type { AutomationAuthorityRepoTables } from './automation-authority-identity' +} from '../hosts/automation-host-catalog-types' +import type { AutomationAuthorityRepoTables } from '../hosts/automation-authority-identity' import { automationCreateEligibleProjects, automationCreateProjectMismatch, @@ -19,7 +19,7 @@ import { type AutomationCreateDestinationChoiceReason, type AutomationCreateDestinationResolution } from './automation-create-destination' -import type { AutomationActionNotice } from './automation-row-action-dispatch' +import type { AutomationActionNotice } from '../hosts/automation-row-action-dispatch' export type AutomationCreateDestinationControl = { entries: readonly AutomationHostCatalogEntry[] diff --git a/src/renderer/src/components/automations/use-automation-draft-effects.ts b/src/renderer/src/components/automations/authoring/use-automation-draft-effects.ts similarity index 95% rename from src/renderer/src/components/automations/use-automation-draft-effects.ts rename to src/renderer/src/components/automations/authoring/use-automation-draft-effects.ts index e834c7b8e29..4f629e3c2fb 100644 --- a/src/renderer/src/components/automations/use-automation-draft-effects.ts +++ b/src/renderer/src/components/automations/authoring/use-automation-draft-effects.ts @@ -1,11 +1,11 @@ import { useCallback, useEffect } from 'react' import type { AutomationTemplate } from './automation-templates' import { getDefaultWorktree } from './automation-draft-model' -import { hasModernAutomationLaunchSetup } from '../../../../shared/automations/launch/automation-launch-setup' +import { hasModernAutomationLaunchSetup } from '../../../../../shared/automations/launch/automation-launch-setup' import type { AutomationsPageDestinationState } from './use-automations-page-destination-state' import type { AutomationsPageDestinationFormState } from './use-automations-page-destination-form' -import type { AutomationsPageLocalState } from './use-automations-page-local-state' -import type { AutomationsPageRefresh } from './use-automations-page-refresh' +import type { AutomationsPageLocalState } from '../use-automations-page-local-state' +import type { AutomationsPageRefresh } from '../use-automations-page-refresh' import type { AutomationsPageSetupState } from './use-automations-page-setup-state' /** Synchronizes draft defaults, setup policy, and templates. */ diff --git a/src/renderer/src/components/automations/use-automation-editor-actions.ts b/src/renderer/src/components/automations/authoring/use-automation-editor-actions.ts similarity index 93% rename from src/renderer/src/components/automations/use-automation-editor-actions.ts rename to src/renderer/src/components/automations/authoring/use-automation-editor-actions.ts index 82b640d7c75..83f7f7eaa11 100644 --- a/src/renderer/src/components/automations/use-automation-editor-actions.ts +++ b/src/renderer/src/components/automations/authoring/use-automation-editor-actions.ts @@ -1,18 +1,18 @@ import { useCallback } from 'react' -import { toRuntimeExecutionHostId } from '../../../../shared/execution-host' -import { useAppStore } from '@/store' +import { toRuntimeExecutionHostId } from '../../../../../shared/execution-host' +import { useAppStore } from '@/store/index' import { buildAutomationEditDraft } from './automation-edit-draft' import { AUTOMATION_DEFAULT_TIME, getDefaultWorktree } from './automation-draft-model' import type { AutomationTemplate } from './automation-templates' -import { dispatchAutomationReread } from './automation-row-action-dispatch' -import { listAutomationsForTarget } from './automation-host-client' +import { dispatchAutomationReread } from '../hosts/automation-row-action-dispatch' +import { listAutomationsForTarget } from '../hosts/automation-host-client' import { automationCreateHostFor } from './automation-create-destination' import type { AutomationDraft } from './AutomationEditorDialog' -import type { AutomationListRow } from './automation-list-row-identity' +import type { AutomationListRow } from '../listing/automation-list-row-identity' import type { AutomationsPageDestinationState } from './use-automations-page-destination-state' import type { AutomationsPageDestinationFormState } from './use-automations-page-destination-form' -import type { AutomationsPageLocalState } from './use-automations-page-local-state' -import type { AutomationsPageStoreState } from './use-automations-page-store-state' +import type { AutomationsPageLocalState } from '../use-automations-page-local-state' +import type { AutomationsPageStoreState } from '../use-automations-page-store-state' import { selectWorktreesByRepo } from '@/store/workspaces/catalog/workspace-record-fields' /** Dialog open/edit actions, including host-captured re-reads and project changes. */ diff --git a/src/renderer/src/components/automations/use-automation-migrate-action.ts b/src/renderer/src/components/automations/authoring/use-automation-migrate-action.ts similarity index 96% rename from src/renderer/src/components/automations/use-automation-migrate-action.ts rename to src/renderer/src/components/automations/authoring/use-automation-migrate-action.ts index 5f1ff3f8662..7da73b5ce72 100644 --- a/src/renderer/src/components/automations/use-automation-migrate-action.ts +++ b/src/renderer/src/components/automations/authoring/use-automation-migrate-action.ts @@ -3,7 +3,7 @@ import { toast } from 'sonner' import { resolveAutomationCreateDestination } from './automation-create-destination' import { createAutomationSaveAction } from './automation-save-action' import type { AutomationSaveContext } from './automation-save-context' -import type { AutomationListRow } from './automation-list-row-identity' +import type { AutomationListRow } from '../listing/automation-list-row-identity' import type { AutomationEditorActions } from './use-automation-editor-actions' /** Migrate: the editor's own move-to-server save, run without opening the dialog. */ diff --git a/src/renderer/src/components/automations/use-automations-page-destination-form.ts b/src/renderer/src/components/automations/authoring/use-automations-page-destination-form.ts similarity index 93% rename from src/renderer/src/components/automations/use-automations-page-destination-form.ts rename to src/renderer/src/components/automations/authoring/use-automations-page-destination-form.ts index d5bb66ccdf2..1142cf1664d 100644 --- a/src/renderer/src/components/automations/use-automations-page-destination-form.ts +++ b/src/renderer/src/components/automations/authoring/use-automations-page-destination-form.ts @@ -1,13 +1,13 @@ import { resolveAutomationEditDestination } from './automation-orca-save-operations' -import { AUTOMATION_ORPHAN_ISSUES } from '../../../../shared/automations/ownership/automation-list-scope' +import { AUTOMATION_ORPHAN_ISSUES } from '../../../../../shared/automations/ownership/automation-list-scope' import { recordedAutomationRunContext, isSameAutomationWorkspace } from './automation-recorded-target' import { useCallback, useEffect, useMemo } from 'react' -import { toRuntimeExecutionHostId } from '../../../../shared/execution-host' +import { toRuntimeExecutionHostId } from '../../../../../shared/execution-host' import { useTranslate } from '@/i18n/use-translate' -import { automationWorktreesForRepo } from './automation-list-row-identity' +import { automationWorktreesForRepo } from '../listing/automation-list-row-identity' import { getAutomationCreateRepos } from './automation-create-projects' import { automationCreateEligibleProjects, @@ -23,15 +23,18 @@ import { getAutomationOwnerTarget, getAutomationTargetFromHostId, type AutomationHostTarget -} from './automation-host-client' -import { automationAuthorityCatalogKey } from './automation-host-catalog-types' -import { capturedAutomationOwner, type AutomationCapturedOwner } from './automation-captured-owner' +} from '../hosts/automation-host-client' +import { automationAuthorityCatalogKey } from '../hosts/automation-host-catalog-types' +import { + capturedAutomationOwner, + type AutomationCapturedOwner +} from '../hosts/automation-captured-owner' import { buildAutomationRunContextForRepo } from './automation-run-context' import type { AutomationCreateDestinationControl } from './use-automation-create-destination' import type { AutomationsPageDestinationState } from './use-automations-page-destination-state' -import type { AutomationsPageListState } from './use-automations-page-list-state' -import type { AutomationsPageLocalState } from './use-automations-page-local-state' -import type { AutomationsPageStoreState } from './use-automations-page-store-state' +import type { AutomationsPageListState } from '../listing/use-automations-page-list-state' +import type { AutomationsPageLocalState } from '../use-automations-page-local-state' +import type { AutomationsPageStoreState } from '../use-automations-page-store-state' /** Editor project/workspace projections for the captured create or edit host. */ export function useAutomationsPageDestinationForm({ diff --git a/src/renderer/src/components/automations/use-automations-page-destination-state.ts b/src/renderer/src/components/automations/authoring/use-automations-page-destination-state.ts similarity index 89% rename from src/renderer/src/components/automations/use-automations-page-destination-state.ts rename to src/renderer/src/components/automations/authoring/use-automations-page-destination-state.ts index c0d47c2da88..2d45137da48 100644 --- a/src/renderer/src/components/automations/use-automations-page-destination-state.ts +++ b/src/renderer/src/components/automations/authoring/use-automations-page-destination-state.ts @@ -2,49 +2,52 @@ import { useCallback, useEffect, useMemo } from 'react' import type { AutomationAuthorityRef, StableAutomationCatalogRef -} from '../../../../shared/automations/ownership/automation-owner-ref' +} from '../../../../../shared/automations/ownership/automation-owner-ref' import { getRepoExecutionHostId, normalizeExecutionHostId, toSshExecutionHostId, toRuntimeExecutionHostId -} from '../../../../shared/execution-host' +} from '../../../../../shared/execution-host' import { automationCreateHostOffered, automationCreateHostStableKey } from './automation-create-destination' -import { getAutomationHostTargetFromKey, type AutomationHostTarget } from './automation-host-client' +import { + getAutomationHostTargetFromKey, + type AutomationHostTarget +} from '../hosts/automation-host-client' import { capturedAutomationOwner, isAutomationActionEnabled, type AutomationRowAction -} from './automation-captured-owner' +} from '../hosts/automation-captured-owner' import { automationRowCatalogRef, automationWriteChangeEvent -} from './automation-write-invalidation' -import { automationRowRecoveryHost } from './automation-notice-recovery-host' +} from '../hosts/automation-write-invalidation' +import { automationRowRecoveryHost } from '../hosts/automation-notice-recovery-host' import type { AutomationActionNotice, AutomationDispatchContext -} from './automation-row-action-dispatch' +} from '../hosts/automation-row-action-dispatch' import { automationRuntimePairingRevision, groupReposByAutomationAuthority -} from './automation-authority-identity' +} from '../hosts/automation-authority-identity' import { resolveIndexedWorktreeOwner } from '@/lib/workspace/ownership/worktree-runtime-owner-index' import { createRepoRowExecutionHostLookup, resolveWorktreeExecutionHost -} from '../../../../shared/execution-host/worktree-execution-host-resolution' -import { automationWorktreesForRepo } from './automation-list-row-identity' +} from '../../../../../shared/execution-host/worktree-execution-host-resolution' +import { automationWorktreesForRepo } from '../listing/automation-list-row-identity' import { getDefaultWorktree } from './automation-draft-model' -import type { AutomationsPageListState } from './use-automations-page-list-state' -import type { AutomationsPageLocalState } from './use-automations-page-local-state' -import type { AutomationsPageStoreState } from './use-automations-page-store-state' +import type { AutomationsPageListState } from '../listing/use-automations-page-list-state' +import type { AutomationsPageLocalState } from '../use-automations-page-local-state' +import type { AutomationsPageStoreState } from '../use-automations-page-store-state' import { useAutomationCreateDestination } from './use-automation-create-destination' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' -import type { AutomationAuthorityChangeReason } from './automation-host-invalidation' +import type { AutomationHostCatalogEntry } from '../hosts/automation-host-catalog-types' +import type { AutomationAuthorityChangeReason } from '../hosts/automation-host-invalidation' /** Host destination, owner fencing, and authority-scoped project/workspace choices. */ export function useAutomationsPageDestinationState({ diff --git a/src/renderer/src/components/automations/use-automations-page-setup-state.ts b/src/renderer/src/components/automations/authoring/use-automations-page-setup-state.ts similarity index 91% rename from src/renderer/src/components/automations/use-automations-page-setup-state.ts rename to src/renderer/src/components/automations/authoring/use-automations-page-setup-state.ts index da39b2ebd5f..3165a7fc94c 100644 --- a/src/renderer/src/components/automations/use-automations-page-setup-state.ts +++ b/src/renderer/src/components/automations/authoring/use-automations-page-setup-state.ts @@ -1,14 +1,17 @@ import { useCallback, useMemo } from 'react' -import type { OrcaHooks } from '../../../../shared/orca-yaml-hook-types' +import type { OrcaHooks } from '../../../../../shared/orca-yaml-hook-types' import { checkRuntimeHooks } from '@/runtime/repo-hooks/runtime-hooks-client' import type { AutomationDraft } from './AutomationEditorDialog' -import { getAutomationHostTargetFromKey, type AutomationHostTarget } from './automation-host-client' -import { getRepoExecutionHostId, type ExecutionHostId } from '../../../../shared/execution-host' -import { findAutomationRepo } from '../../../../shared/automations/ownership/automation-repo-target' +import { + getAutomationHostTargetFromKey, + type AutomationHostTarget +} from '../hosts/automation-host-client' +import { getRepoExecutionHostId, type ExecutionHostId } from '../../../../../shared/execution-host' +import { findAutomationRepo } from '../../../../../shared/automations/ownership/automation-repo-target' import { getVisibleAutomationSetupDecision } from './automation-setup-decision' -import type { AutomationsPageListState } from './use-automations-page-list-state' -import type { AutomationsPageLocalState } from './use-automations-page-local-state' -import type { AutomationsPageStoreState } from './use-automations-page-store-state' +import type { AutomationsPageListState } from '../listing/use-automations-page-list-state' +import type { AutomationsPageLocalState } from '../use-automations-page-local-state' +import type { AutomationsPageStoreState } from '../use-automations-page-store-state' /** Draft setup policy, selected history, and the page's legacy host target. */ export function useAutomationsPageSetupState({ diff --git a/src/renderer/src/components/automations/automation-create-destination.test.ts b/src/renderer/src/components/automations/automation-create-destination.test.ts deleted file mode 100644 index 006ce63d56c..00000000000 --- a/src/renderer/src/components/automations/automation-create-destination.test.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { buildAutomationHostCatalog } from './automation-host-catalog' -import type { AutomationCatalogSshMirrorInput } from './automation-host-catalog-types' -import { - automationCreateHostOffered, - preselectAutomationCreateHost -} from './automation-create-destination' - -function mirror( - targets: AutomationCatalogSshMirrorInput['targets'] -): AutomationCatalogSshMirrorInput { - return { - targetsHydrated: true, - targets, - removedTargetLabels: new Map(), - connectionStatusByTargetId: new Map() - } -} - -describe('create destination on a managed SSH host', () => { - it("lists only the host's server and lands its desktop SSH key there", () => { - const { entries } = buildAutomationHostCatalog({ - desktop: { - label: 'Local Mac', - ssh: mirror([{ targetId: 'box', label: 'Build box', generation: 2 }]) - }, - runtimes: [ - { - environmentId: 'env-1', - label: 'Build box', - pairingRevision: 3, - authorityHealth: 'fresh', - querySupport: 'scoped', - ssh: mirror([]), - managedSshTargetId: 'box' - } - ], - runtimeCatalogSettled: true - }) - const desktopSshKey = 'host:desktop:ssh:box' - - const desktopSsh = entries.find((entry) => entry.stableKey === desktopSshKey) - expect(desktopSsh && automationCreateHostOffered(desktopSsh)).toBe(false) - expect(preselectAutomationCreateHost(entries, desktopSshKey, null)?.stableKey).toBe( - 'host:runtime:env-1:self' - ) - }) -}) diff --git a/src/renderer/src/components/automations/automation-create-projects.test.ts b/src/renderer/src/components/automations/automation-create-projects.test.ts deleted file mode 100644 index af5905d7fe1..00000000000 --- a/src/renderer/src/components/automations/automation-create-projects.test.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { Repo } from '../../../../shared/repo-types' -import { getAutomationCreateRepos } from './automation-create-projects' - -function repo(id: string, executionHostId: Repo['executionHostId']): Repo { - return { - id, - path: `/${id}`, - displayName: id, - badgeColor: '#000000', - addedAt: 1, - executionHostId - } -} - -describe('getAutomationCreateRepos', () => { - const repos = [ - repo('local', 'local'), - repo('remote', 'runtime:env-1'), - repo('ssh', 'ssh:builder') - ] - - it('selects only the destination runtime catalog', () => { - expect( - getAutomationCreateRepos(repos, { kind: 'environment', environmentId: 'env-1' }) - ).toEqual([repos[1]]) - }) - - it('keeps local and direct SSH rows but excludes paired-runtime rows', () => { - expect(getAutomationCreateRepos(repos, { kind: 'local' })).toEqual([repos[0], repos[2]]) - }) - - it('fails closed when the destination runtime has no project', () => { - expect( - getAutomationCreateRepos(repos, { kind: 'environment', environmentId: 'missing' }) - ).toEqual([]) - }) -}) diff --git a/src/renderer/src/components/automations/automation-host-cache-error.test.ts b/src/renderer/src/components/automations/automation-host-cache-error.test.ts deleted file mode 100644 index 6268e693234..00000000000 --- a/src/renderer/src/components/automations/automation-host-cache-error.test.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { RemoteRuntimeClientError } from '../../../../shared/remote-runtime/remote-runtime-client-error' -import { classifyAutomationHostQueryError } from './automation-host-cache-error' - -function classify(error: unknown): { code: string; retryable: boolean } { - const { code, retryable } = classifyAutomationHostQueryError(error, { attempt: 1, now: 0 }) - return { code, retryable } -} - -// Pin RPC failure-code mapping so dropping a classification is deliberate. -describe('classifyAutomationHostQueryError code mapping', () => { - it.each([ - ['runtime_unavailable', 'authority_unavailable', true], - ['remote_runtime_unavailable', 'authority_unavailable', true], - ['relay_quota_exceeded', 'authority_unavailable', true], - ['timeout', 'timeout', true], - ['runtime_timeout', 'timeout', true], - ['permission_denied', 'permission_denied', false], - ['unauthorized', 'permission_denied', false], - ['forbidden', 'permission_denied', false], - ['capability_unsupported', 'incompatible', false], - ['legacy_read_only', 'incompatible', false], - ['invalid_runtime_response', 'invalid_response', false], - ['invalid_argument', 'invalid_response', false], - ['runtime_manually_disconnected', 'unknown', true], - ['runtime_rpc_queue_overloaded', 'unknown', true], - ['remote_runtime_busy', 'unknown', true] - ])('maps %s to %s (retryable: %s)', (rpcCode, code, retryable) => { - expect(classify(new RemoteRuntimeClientError(rpcCode, 'failed'))).toEqual({ code, retryable }) - }) - - it('reads a code-stripped message token', () => { - expect( - classify(new Error("Error invoking remote method 'x': Error: failed: runtime_timeout")) - ).toEqual({ code: 'timeout', retryable: true }) - }) -}) diff --git a/src/renderer/src/components/automations/automation-host-cache-health.test.ts b/src/renderer/src/components/automations/automation-host-cache-health.test.ts deleted file mode 100644 index 2cd2e47cc12..00000000000 --- a/src/renderer/src/components/automations/automation-host-cache-health.test.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { AutomationHostCacheEntry } from './automation-host-cache-types' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' -import { automationHostEntryHealth } from './automation-host-cache-health' - -function entry( - overrides: Partial & Pick -): AutomationHostCatalogEntry { - return { - stableRef: { authority: { kind: 'desktop' }, selector: { kind: 'self' } }, - owner: null, - label: 'This computer', - authorityLabel: 'This computer', - kind: 'self', - catalogState: 'authoritative', - authorityHealth: 'fresh', - executionHealth: 'connected', - querySupport: 'scoped', - ...overrides - } -} - -function cached(overrides: Partial): AutomationHostCacheEntry { - return { - data: [], - fetchedAt: null, - attempt: 0, - requestGeneration: 0, - catalogGeneration: 0, - request: null, - error: null, - orphanCount: null, - ...overrides - } -} - -const SELF = entry({ stableKey: 'host:desktop:self' }) - -describe('automation host cache health', () => { - it('marks a host whose unscoped list failed, so it never reads as empty', () => { - expect( - automationHostEntryHealth(SELF, { - entry: () => null, - failedAuthorityKeys: new Set(['authority:desktop']) - }) - ).toBe('stale-error') - }) - - it('lets a successful host-scoped read outrank the unscoped failure', () => { - // The per-host read is better evidence about this host than the ambient one. - expect( - automationHostEntryHealth(SELF, { - entry: () => cached({ fetchedAt: 5 }), - failedAuthorityKeys: new Set(['authority:desktop']) - }) - ).toBe('fresh') - }) -}) diff --git a/src/renderer/src/components/automations/automation-host-catalog-generation.test.ts b/src/renderer/src/components/automations/automation-host-catalog-generation.test.ts deleted file mode 100644 index 8144378bacc..00000000000 --- a/src/renderer/src/components/automations/automation-host-catalog-generation.test.ts +++ /dev/null @@ -1,166 +0,0 @@ -import { beforeEach, describe, expect, it } from 'vitest' -import type { StableAutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' -import { buildAutomationHostCatalog } from './automation-host-catalog' -import { createAutomationCatalogGenerationRegistry } from './automation-host-catalog-generation' -import type { - AutomationCatalogSshMirrorInput, - AutomationHostCatalogInput, - AutomationRuntimeAuthorityInput -} from './automation-host-catalog-types' - -const DESKTOP: StableAutomationAuthorityRef = { kind: 'desktop' } -const ENV_A: StableAutomationAuthorityRef = { kind: 'runtime', environmentId: 'env-a' } -const ENV_B: StableAutomationAuthorityRef = { kind: 'runtime', environmentId: 'env-b' } - -function mirror( - overrides: Partial = {} -): AutomationCatalogSshMirrorInput { - return { - targetsHydrated: true, - targets: [], - removedTargetLabels: new Map(), - connectionStatusByTargetId: new Map(), - ...overrides - } -} - -function runtime( - environmentId: string, - overrides: Partial = {} -): AutomationRuntimeAuthorityInput { - return { - environmentId, - label: environmentId, - pairingRevision: 1, - authorityHealth: 'fresh', - querySupport: 'scoped', - ssh: mirror(), - ...overrides - } -} - -function input(overrides: Partial = {}): AutomationHostCatalogInput { - return { - desktop: { label: 'Local Mac', ssh: mirror() }, - runtimes: [runtime('env-a'), runtime('env-b')], - runtimeCatalogSettled: true, - ...overrides - } -} - -describe('automation catalog generation', () => { - let registry = createAutomationCatalogGenerationRegistry() - - beforeEach(() => { - registry = createAutomationCatalogGenerationRegistry() - }) - - it('advances only the authority whose target bucket hydrated', () => { - registry.sync( - buildAutomationHostCatalog( - input({ - runtimes: [ - runtime('env-a', { ssh: mirror({ targetsHydrated: false }) }), - runtime('env-b') - ] - }) - ) - ) - const before = { - desktop: registry.get(DESKTOP), - a: registry.get(ENV_A), - b: registry.get(ENV_B) - } - const advanced = registry.sync( - buildAutomationHostCatalog( - input({ - runtimes: [ - runtime('env-a', { - ssh: mirror({ targets: [{ targetId: 't', label: 'T', generation: 2 }] }) - }), - runtime('env-b') - ] - }) - ) - ) - expect(advanced.advancedAuthorityKeys).toEqual(['authority:runtime:env-a']) - expect(registry.get(ENV_A)).toBeGreaterThan(before.a) - expect(registry.get(ENV_B)).toBe(before.b) - expect(registry.get(DESKTOP)).toBe(before.desktop) - }) - - it('does not advance on runtime or SSH connection status changes', () => { - const targets = [{ targetId: 't', label: 'T', generation: 2 }] - registry.sync( - buildAutomationHostCatalog( - input({ - runtimes: [ - runtime('env-a', { - ssh: mirror({ targets, connectionStatusByTargetId: new Map([['t', 'connected']]) }) - }), - runtime('env-b') - ] - }) - ) - ) - const before = registry.get(ENV_A) - const advanced = registry.sync( - buildAutomationHostCatalog( - input({ - runtimes: [ - runtime('env-a', { - authorityHealth: 'stale-error', - ssh: mirror({ targets, connectionStatusByTargetId: new Map([['t', 'reconnecting']]) }) - }), - runtime('env-b') - ] - }) - ) - ) - expect(advanced.advancedAuthorityKeys).toEqual([]) - expect(registry.get(ENV_A)).toBe(before) - }) - - // doc:321 — the entry a same-id re-adoption produces is byte-identical apart - // from this, so the caller has no other way to know its rows are obsolete. - it('reports a same-id SSH re-adoption as a reincarnated host', () => { - const desktopAt = (generation: number, label = 'Box'): AutomationHostCatalogInput => - input({ - desktop: { - label: 'Local Mac', - ssh: mirror({ targets: [{ targetId: 'ssh-1', label, generation }] }) - } - }) - const first = registry.sync(buildAutomationHostCatalog(desktopAt(4))) - expect(first.reincarnatedStableKeys).toEqual([]) - - const renamed = registry.sync(buildAutomationHostCatalog(desktopAt(4, 'Renamed'))) - expect(renamed.reincarnatedStableKeys).toEqual([]) - - const readopted = registry.sync(buildAutomationHostCatalog(desktopAt(5))) - expect(readopted.reincarnatedStableKeys).toEqual(['host:desktop:ssh:ssh-1']) - expect(readopted.advancedAuthorityKeys).toEqual(['authority:desktop']) - }) - - // The generation file's own warning: an offline authority reported as - // legacy-unscoped loses its owner refs, which must not read as a re-adoption. - it('does not report a host whose owner merely went absent', () => { - const withSupport = (querySupport: 'scoped' | 'legacy-unscoped'): AutomationHostCatalogInput => - input({ - runtimes: [ - runtime('env-a', { - querySupport, - // An SSH entry is where the owner ref actually disappears with the support level. - ssh: mirror({ targets: [{ targetId: 't', label: 'T', generation: 3 }] }) - }) - ] - }) - registry.sync(buildAutomationHostCatalog(withSupport('scoped'))) - - const degraded = registry.sync(buildAutomationHostCatalog(withSupport('legacy-unscoped'))) - expect(degraded.reincarnatedStableKeys).toEqual([]) - - const restored = registry.sync(buildAutomationHostCatalog(withSupport('scoped'))) - expect(restored.reincarnatedStableKeys).toEqual([]) - }) -}) diff --git a/src/renderer/src/components/automations/automation-host-client.test.ts b/src/renderer/src/components/automations/automation-host-client.test.ts deleted file mode 100644 index 480c6dcd016..00000000000 --- a/src/renderer/src/components/automations/automation-host-client.test.ts +++ /dev/null @@ -1,118 +0,0 @@ -import { describe, expect, it, vi, beforeEach } from 'vitest' -import type { - Automation, - AutomationCreateInput -} from '../../../../shared/automations/automation-definition' -import { - getAutomationListedTargetFromHostId, - toRuntimeAutomationCreateInput -} from './automation-host-client' - -vi.mock('@/runtime/rpc/calls/runtime-rpc-call', () => ({ - callRuntimeRpc: vi.fn() -})) - -const mockApi = { - automations: { - list: vi.fn(), - listRuns: vi.fn(), - create: vi.fn(), - update: vi.fn(), - delete: vi.fn(), - runNow: vi.fn() - } -} - -// @ts-expect-error test window mock -globalThis.window = { api: mockApi } - -function makeAutomation(overrides: Partial = {}): Automation { - return { - id: 'auto-1', - name: 'Remote check', - prompt: 'Check', - precheck: null, - agentId: 'codex', - projectId: 'repo-1', - executionTargetType: 'local', - executionTargetId: 'local', - schedulerOwner: 'remote_host_service', - workspaceMode: 'new_per_run', - workspaceId: null, - baseBranch: null, - reuseSession: false, - timezone: 'UTC', - rrule: 'FREQ=DAILY;BYHOUR=9;BYMINUTE=0', - dtstart: 1, - enabled: true, - nextRunAt: 2, - missedRunPolicy: 'run_once_within_grace', - missedRunGraceMinutes: 720, - createdAt: 1, - updatedAt: 1, - runContext: { - kind: 'workspace-run', - projectId: 'github:stablyai/orca', - hostId: 'runtime:gpu', - projectHostSetupId: 'setup-gpu', - repoId: 'repo-1', - path: '/srv/orca' - }, - ...overrides - } -} - -describe('automation host client', () => { - beforeEach(() => { - vi.clearAllMocks() - }) - - it('encodes exact machine selectors for the create wire input', () => { - const automation = makeAutomation({ - workspaceMode: 'existing', - workspaceId: 'repo-1::/srv/orca' - }) - const input: AutomationCreateInput = { - name: automation.name, - prompt: automation.prompt, - precheck: null, - agentId: automation.agentId, - runContext: automation.runContext, - projectId: automation.projectId, - workspaceMode: 'existing', - workspaceId: automation.workspaceId, - setupDecision: 'skip', - timezone: automation.timezone, - rrule: automation.rrule, - dtstart: automation.dtstart - } - - expect(toRuntimeAutomationCreateInput(input)).toMatchObject({ - repo: 'id:repo-1', - workspace: 'id:repo-1::/srv/orca' - }) - // A per-run workspace states no workspace selector at all. - expect( - toRuntimeAutomationCreateInput({ ...input, workspaceMode: 'new_per_run', workspaceId: null }) - ).toMatchObject({ repo: 'id:repo-1', workspace: undefined }) - }) -}) - -describe('getAutomationListedTargetFromHostId', () => { - const state = { runtimeEnvironments: [{ id: 'env-1' }] } - - // #32415: a web run link names 'local', but the catalog lists the server only as its runtime. - it('lists a paired web client local and SSH hosts under its server', () => { - Object.assign(globalThis, { __ORCA_WEB_CLIENT__: true }) - try { - for (const hostId of ['local', 'ssh:box', undefined]) { - expect(getAutomationListedTargetFromHostId(hostId, state)).toEqual({ - kind: 'environment', - environmentId: 'env-1' - }) - } - } finally { - Reflect.deleteProperty(globalThis, '__ORCA_WEB_CLIENT__') - } - }) -}) diff --git a/src/renderer/src/components/automations/automation-host-filter-resolution.test.ts b/src/renderer/src/components/automations/automation-host-filter-resolution.test.ts deleted file mode 100644 index f06b11c8f5a..00000000000 --- a/src/renderer/src/components/automations/automation-host-filter-resolution.test.ts +++ /dev/null @@ -1,223 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { AutomationHostFilter } from '../../../../shared/automations/ownership/automation-host-filter' -import { hostStableKey } from '../../../../shared/automations/ownership/automation-owner-key' -import type { StableAutomationCatalogRef } from '../../../../shared/automations/ownership/automation-owner-ref' -import { buildAutomationHostCatalog } from './automation-host-catalog' -import type { - AutomationCatalogSshMirrorInput, - AutomationHostCatalogInput, - AutomationRuntimeAuthorityInput -} from './automation-host-catalog-types' -import { resolveAutomationHostFilter } from './automation-host-filter-resolution' - -function mirror( - overrides: Partial = {} -): AutomationCatalogSshMirrorInput { - return { - targetsHydrated: true, - targets: [], - removedTargetLabels: new Map(), - connectionStatusByTargetId: new Map(), - ...overrides - } -} - -function runtime( - overrides: Partial = {} -): AutomationRuntimeAuthorityInput { - return { - environmentId: 'env-1', - label: 'Build server', - pairingRevision: 3, - authorityHealth: 'fresh', - querySupport: 'scoped', - ssh: mirror(), - ...overrides - } -} - -function catalogOf(overrides: Partial = {}) { - return buildAutomationHostCatalog({ - desktop: { label: 'Local Mac', ssh: mirror() }, - runtimes: [], - runtimeCatalogSettled: true, - ...overrides - }) -} - -function filterFor(host: StableAutomationCatalogRef): AutomationHostFilter { - return { kind: 'host', host } -} - -const desktopSsh = (targetId: string): StableAutomationCatalogRef => ({ - authority: { kind: 'desktop' }, - selector: { kind: 'ssh', targetId } -}) -const runtimeSelf: StableAutomationCatalogRef = { - authority: { kind: 'runtime', environmentId: 'env-1' }, - selector: { kind: 'self' } -} -const runtimeSsh: StableAutomationCatalogRef = { - authority: { kind: 'runtime', environmentId: 'env-1' }, - selector: { kind: 'ssh', targetId: 'nested' } -} -const desktopOrphan: StableAutomationCatalogRef = { - authority: { kind: 'desktop' }, - selector: { kind: 'orphan' } -} - -describe('resolveAutomationHostFilter', () => { - it('retains a desktop SSH selection until the target list hydrates', () => { - const filter = filterFor(desktopSsh('pending')) - const resolution = resolveAutomationHostFilter({ - filter, - catalog: catalogOf({ - desktop: { label: 'Local Mac', ssh: mirror({ targetsHydrated: false }) } - }) - }) - expect(resolution).toMatchObject({ status: 'loading', announceFallback: false }) - expect(resolution.effective).toBe(filter) - }) - - it('falls back and announces once desktop SSH absence is authoritative', () => { - const resolution = resolveAutomationHostFilter({ - filter: filterFor(desktopSsh('gone')), - catalog: catalogOf() - }) - expect(resolution).toEqual({ - effective: { kind: 'all' }, - entry: null, - status: 'removed', - announceFallback: true - }) - }) - - it('keeps a removed host as a ghost while automations still reference it', () => { - const host = desktopSsh('gone') - const key = hostStableKey(host) - const resolution = resolveAutomationHostFilter({ - filter: filterFor(host), - catalog: catalogOf({ - desktop: { - label: 'Local Mac', - ssh: mirror({ removedTargetLabels: new Map([['gone', 'Old box']]) }) - }, - referencedStableKeys: [key] - }), - referencedStableKeys: new Set([key]) - }) - expect(resolution.status).toBe('ghost') - expect(resolution.announceFallback).toBe(false) - expect(resolution.entry?.label).toBe('Old box') - }) - - it('retains a Runtime Self selection until the saved runtime catalog settles', () => { - const filter = filterFor(runtimeSelf) - expect( - resolveAutomationHostFilter({ filter, catalog: catalogOf({ runtimeCatalogSettled: false }) }) - .status - ).toBe('loading') - expect(resolveAutomationHostFilter({ filter, catalog: catalogOf() })).toMatchObject({ - status: 'removed', - announceFallback: true - }) - }) - - it('retains a Runtime SSH selection until that runtime bucket hydrates', () => { - const filter = filterFor(runtimeSsh) - expect( - resolveAutomationHostFilter({ - filter, - catalog: catalogOf({ runtimes: [runtime({ ssh: mirror({ targetsHydrated: false }) })] }) - }).status - ).toBe('loading') - expect( - resolveAutomationHostFilter({ filter, catalog: catalogOf({ runtimes: [runtime()] }) }) - ).toMatchObject({ status: 'removed', announceFallback: true }) - }) - - it('accepts a removal tombstone as positive evidence for a nested target', () => { - const resolution = resolveAutomationHostFilter({ - filter: filterFor(runtimeSsh), - catalog: catalogOf({ - runtimes: [ - runtime({ - ssh: mirror({ - targetsHydrated: false, - removedTargetLabels: new Map([['nested', 'Nested box']]) - }) - }) - ] - }) - }) - expect(resolution.status).toBe('removed') - expect(resolution.announceFallback).toBe(true) - }) - - it('never claims removal while the owning authority is offline', () => { - const offline = catalogOf({ - runtimes: [ - runtime({ - authorityHealth: 'unavailable', - ssh: mirror({ removedTargetLabels: new Map([['nested', 'Nested box']]) }) - }) - ] - }) - expect( - resolveAutomationHostFilter({ filter: filterFor(runtimeSsh), catalog: offline }) - ).toMatchObject({ status: 'unavailable', announceFallback: false }) - expect( - resolveAutomationHostFilter({ - filter: filterFor({ - authority: { kind: 'runtime', environmentId: 'env-1' }, - selector: { kind: 'ssh', targetId: 'never-seen' } - }), - catalog: offline - }) - ).toMatchObject({ status: 'unavailable', announceFallback: false }) - }) - - it('settles an orphan selection only on an authoritative orphan count', () => { - const filter = filterFor(desktopOrphan) - expect(resolveAutomationHostFilter({ filter, catalog: catalogOf() }).status).toBe('loading') - expect( - resolveAutomationHostFilter({ - filter, - catalog: catalogOf({ desktop: { label: 'Local Mac', ssh: mirror(), orphanCount: 2 } }) - }).status - ).toBe('ready') - expect( - resolveAutomationHostFilter({ - filter, - catalog: catalogOf({ desktop: { label: 'Local Mac', ssh: mirror(), orphanCount: 0 } }) - }) - ).toMatchObject({ status: 'removed', announceFallback: true }) - }) - - it('retains an orphan selection as unavailable while its authority is offline', () => { - const resolution = resolveAutomationHostFilter({ - filter: filterFor({ - authority: { kind: 'runtime', environmentId: 'env-1' }, - selector: { kind: 'orphan' } - }), - catalog: catalogOf({ runtimes: [runtime({ authorityHealth: 'unavailable' })] }) - }) - expect(resolution).toMatchObject({ status: 'unavailable', announceFallback: false }) - }) - - it('retains the display selection through a same-id re-pair', () => { - const filter = filterFor(runtimeSelf) - const before = resolveAutomationHostFilter({ - filter, - catalog: catalogOf({ runtimes: [runtime({ pairingRevision: 3 })] }) - }) - const after = resolveAutomationHostFilter({ - filter, - catalog: catalogOf({ runtimes: [runtime({ pairingRevision: 4 })] }) - }) - expect(after.status).toBe('ready') - expect(after.entry?.stableKey).toBe(before.entry?.stableKey) - // The display slot survives; the captured incarnation does not. - expect(after.entry?.owner).not.toEqual(before.entry?.owner) - }) -}) diff --git a/src/renderer/src/components/automations/automation-host-health.test.ts b/src/renderer/src/components/automations/automation-host-health.test.ts deleted file mode 100644 index ee3aef12e07..00000000000 --- a/src/renderer/src/components/automations/automation-host-health.test.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - resolveAutomationAuthorityHealth, - resolveSelfExecutionHealth, - resolveSshExecutionHealth -} from './automation-host-health' - -describe('resolveAutomationAuthorityHealth', () => { - it('reports incompatibility ahead of every other signal', () => { - expect( - resolveAutomationAuthorityHealth({ - reachable: false, - compatible: false, - queryState: 'error', - hasData: false - }) - ).toBe('incompatible') - }) -}) - -describe('execution health', () => { - it('never borrows a status for unverified or removed registrations', () => { - expect(resolveSshExecutionHealth('removed', 'connected', 'disconnected')).toBe('unavailable') - expect(resolveSshExecutionHealth('unhydrated', 'connected', 'disconnected')).toBe('unknown') - }) - - it('treats an offline authority as disconnected, not gone', () => { - expect(resolveSelfExecutionHealth('unavailable')).toBe('disconnected') - expect(resolveSelfExecutionHealth('stale-error')).toBe('connected') - }) -}) diff --git a/src/renderer/src/components/automations/automation-host-recovery.test.ts b/src/renderer/src/components/automations/automation-host-recovery.test.ts deleted file mode 100644 index af7de46aaf4..00000000000 --- a/src/renderer/src/components/automations/automation-host-recovery.test.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { describe, expect, it, vi } from 'vitest' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' -import { - runAutomationHostRecovery, - type AutomationHostRecoveryDeps -} from './automation-host-recovery' - -function entry( - overrides: Partial & Pick -): AutomationHostCatalogEntry { - return { - owner: null, - stableKey: 'host', - label: 'Host', - authorityLabel: 'Authority', - kind: 'self', - catalogState: 'authoritative', - authorityHealth: 'fresh', - executionHealth: 'connected', - querySupport: 'scoped', - ...overrides - } -} - -function deps() { - return { - retry: vi.fn(), - connectSshTarget: vi.fn(), - connectRuntimeEnvironment: vi.fn(), - openSettings: vi.fn() - } -} - -const RUNTIME_ENVIRONMENT_ID = 'gpu' -const RUNTIME_SSH = entry({ - stableRef: { - authority: { kind: 'runtime', environmentId: RUNTIME_ENVIRONMENT_ID }, - selector: { kind: 'ssh', targetId: 't1' } - }, - kind: 'ssh' -}) - -describe('automation host recovery', () => { - it('dials the runtime first when the server itself is unreachable', () => { - const target = deps() - // Why: an unreachable server cannot be asked to dial its own SSH target. - runAutomationHostRecovery( - 'reconnect', - { ...RUNTIME_SSH, authorityHealth: 'unavailable' }, - target - ) - expect(target.connectRuntimeEnvironment).toHaveBeenCalledWith(RUNTIME_ENVIRONMENT_ID) - expect(target.connectSshTarget).not.toHaveBeenCalled() - }) -}) diff --git a/src/renderer/src/components/automations/automation-list-focus-recovery.test.ts b/src/renderer/src/components/automations/automation-list-focus-recovery.test.ts deleted file mode 100644 index 55411b3cab4..00000000000 --- a/src/renderer/src/components/automations/automation-list-focus-recovery.test.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { resolveAutomationListFocusRecovery } from './automation-list-focus-recovery' - -describe('automation list focus recovery', () => { - it('leaves focus alone when it was never on a row', () => { - expect( - resolveAutomationListFocusRecovery({ - previousRowKeys: ['a'], - nextRowKeys: [], - focusedRowKey: null - }) - ).toBeNull() - }) - - it('moves to the next surviving row', () => { - expect( - resolveAutomationListFocusRecovery({ - previousRowKeys: ['a', 'b', 'c'], - nextRowKeys: ['a', 'c'], - focusedRowKey: 'b' - }) - ).toEqual({ kind: 'row', rowKey: 'c' }) - }) - - it('goes to the picker when the lost row was never in this list', () => { - // A host switch replaces every row, so no neighbor here is the right one. - expect( - resolveAutomationListFocusRecovery({ - previousRowKeys: ['a', 'b'], - nextRowKeys: ['x', 'y'], - focusedRowKey: 'z' - }) - ).toEqual({ kind: 'picker' }) - }) -}) diff --git a/src/renderer/src/components/automations/automation-list-row-identity.test.ts b/src/renderer/src/components/automations/automation-list-row-identity.test.ts deleted file mode 100644 index d276371e712..00000000000 --- a/src/renderer/src/components/automations/automation-list-row-identity.test.ts +++ /dev/null @@ -1,167 +0,0 @@ -/** Follow colliding authority-local IDs from host cache through list/search joins so the last host cannot overwrite another’s row. */ - -import { describe, expect, it } from 'vitest' -import type { Automation } from '../../../../shared/automations/automation-definition' -import type { AutomationHostCacheEntry, AutomationHostRow } from './automation-host-cache-types' -import type { - AutomationHostCatalog, - AutomationHostCatalogEntry -} from './automation-host-catalog-types' -import type { AutomationHostFilterResolution } from './automation-host-filter-resolution' -import type { Repo } from '../../../../shared/repo-types' -import type { Worktree } from '../../../../shared/worktree/types' -import { resolveAutomationHostListRows } from './automation-host-list-rows' - -import { REPO_ID } from './automations-page-fixtures' -import { makeFolderWorkspace } from '../sidebar/workspace-creation/folder/folder-workspace-composer-submit-fixtures' -import { - automationFolderWorktreeForRow, - automationRepoForRow, - automationWorktreeForRow -} from './automation-list-row-identity' - -const repoMap = new Map([ - [REPO_ID, { id: REPO_ID, displayName: 'orca', path: '/src/orca' } as Repo] -]) - -const DESKTOP_SELF: AutomationHostCatalogEntry = { - stableRef: { authority: { kind: 'desktop' }, selector: { kind: 'self' } }, - owner: { authority: { kind: 'desktop' }, selector: { kind: 'self' } }, - stableKey: 'host:desktop:self', - label: 'This computer', - authorityLabel: 'This computer', - kind: 'self', - catalogState: 'authoritative', - authorityHealth: 'fresh', - executionHealth: 'connected', - querySupport: 'scoped' -} - -const RUNTIME_SSH: AutomationHostCatalogEntry = { - ...DESKTOP_SELF, - stableRef: { - authority: { kind: 'runtime', environmentId: 'gpu' }, - selector: { kind: 'ssh', targetId: 'web-01' } - }, - owner: { - authority: { kind: 'runtime', environmentId: 'gpu', pairingRevision: 4 }, - selector: { kind: 'ssh', targetId: 'web-01', targetGeneration: 2 } - }, - stableKey: 'host:runtime:gpu:ssh:web-01', - label: 'web-01', - authorityLabel: 'GPU box', - kind: 'ssh' -} - -const ALL_HOSTS: AutomationHostFilterResolution = { - effective: { kind: 'all' }, - entry: null, - status: 'all', - announceFallback: false -} - -function cached(rows: AutomationHostRow[]): AutomationHostCacheEntry { - return { - data: rows, - fetchedAt: 1, - attempt: 0, - requestGeneration: 0, - catalogGeneration: 0, - request: null, - error: null, - orphanCount: null - } -} - -function hostRow(entry: AutomationHostCatalogEntry, name: string): AutomationHostRow { - return { - automation: { - id: 'a-1', - name, - prompt: 'sweep', - projectId: REPO_ID, - workspaceMode: 'new_per_run', - baseBranch: null, - agentId: 'claude' - } as Automation, - owner: entry.owner, - selector: { kind: 'self' }, - usageSummary: null, - usageKnown: true - } -} - -/** The desktop and a runtime SSH host each holding a record called `a-1`. */ -function collidedListRows(): ReturnType { - const entries = [DESKTOP_SELF, RUNTIME_SSH] - const catalog: AutomationHostCatalog = { - entries, - byStableKey: new Map(entries.map((entry) => [entry.stableKey, entry])), - hydration: { - runtimeCatalogSettled: true, - desktopSshHydrated: true, - runtimeSshHydratedByEnvironmentId: new Map(), - savedRuntimeEnvironmentIds: new Set(), - orphanSettledAuthorityKeys: new Set(), - unavailableAuthorityKeys: new Set() - } - } - return resolveAutomationHostListRows({ - catalog, - resolution: ALL_HOSTS, - entry: (stableKey) => - cached([ - stableKey === DESKTOP_SELF.stableKey - ? hostRow(DESKTOP_SELF, 'Nightly desktop') - : hostRow(RUNTIME_SSH, 'Nightly web-01') - ]) - }) -} - -describe('automation list row identity across hosts', () => { - it('resolves colliding projects and worktrees inside each row authority', () => { - const rows = collidedListRows().rows - const repos = [ - { ...repoMap.get(REPO_ID)!, displayName: 'Desktop repo', executionHostId: 'local' as const }, - { - ...repoMap.get(REPO_ID)!, - displayName: 'Runtime repo', - executionHostId: 'runtime:gpu' as const - } - ] - const worktrees = [ - { id: 'ws-1', repoId: REPO_ID, hostId: 'local', displayName: 'Desktop workspace' }, - { - id: 'ws-1', - repoId: REPO_ID, - hostId: 'runtime:gpu', - displayName: 'Runtime workspace' - } - ] as Worktree[] - - expect(rows.map((row) => automationRepoForRow(row, repos)?.displayName)).toEqual([ - 'Desktop repo', - 'Runtime repo' - ]) - expect( - rows.map((row) => { - const repo = automationRepoForRow(row, repos) - return automationWorktreeForRow(row, { [REPO_ID]: worktrees }, repo, repos, 'ws-1') - ?.displayName - }) - ).toEqual(['Desktop workspace', 'Runtime workspace']) - }) - - it('resolves a folder workspace target inside each row authority', () => { - const rows = collidedListRows().rows - const folders = [ - makeFolderWorkspace({ id: 'fw-1', name: 'Desktop folder' }), - makeFolderWorkspace({ id: 'fw-1', name: 'Runtime folder', executionHostId: 'runtime:gpu' }) - ] - - expect( - rows.map((row) => automationFolderWorktreeForRow(row, folders, 'folder:fw-1')?.displayName) - ).toEqual(['Desktop folder', 'Runtime folder']) - expect(automationFolderWorktreeForRow(rows[0], folders, 'ws-1')).toBeUndefined() - }) -}) diff --git a/src/renderer/src/components/automations/automation-list-search.test.ts b/src/renderer/src/components/automations/automation-list-search.test.ts deleted file mode 100644 index 01550ed7dcd..00000000000 --- a/src/renderer/src/components/automations/automation-list-search.test.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - AUTOMATION_LIST_SEARCH_PROMPT_MAX_CODE_UNITS, - AUTOMATION_LIST_SEARCH_QUERY_MAX_BYTES, - automationListSearchIndexMatches, - buildAutomationListSearchIndex, - clampAutomationListSearchQueryInput, - isAutomationListSearchQueryTooLarge, - resolveAutomationListSearchQuery, - truncateAutomationListSearchField -} from './automation-list-search' - -describe('automation-list-search', () => { - it('rejects queries over the byte limit but under the code-unit limit', () => { - // 3 UTF-8 bytes per character, so half the cap in code units is over it in bytes. - const multiByte = '한'.repeat(AUTOMATION_LIST_SEARCH_QUERY_MAX_BYTES / 2) - expect(multiByte.length).toBeLessThanOrEqual(AUTOMATION_LIST_SEARCH_QUERY_MAX_BYTES) - expect(isAutomationListSearchQueryTooLarge(multiByte)).toBe(true) - expect(resolveAutomationListSearchQuery(multiByte)).toEqual({ status: 'too_large' }) - }) - - it('clamps stored query input so multi-MB pastes are discarded', () => { - const hugePaste = 'a'.repeat(AUTOMATION_LIST_SEARCH_QUERY_MAX_BYTES * 100) - const clamped = clampAutomationListSearchQueryInput(hugePaste) - expect(clamped.length).toBe(AUTOMATION_LIST_SEARCH_QUERY_MAX_BYTES + 1) - expect(isAutomationListSearchQueryTooLarge(clamped)).toBe(true) - expect(clampAutomationListSearchQueryInput('auto pr')).toBe('auto pr') - }) - - it('caps indexed field length so huge prompts stay bounded', () => { - const prompt = `${'x'.repeat(AUTOMATION_LIST_SEARCH_PROMPT_MAX_CODE_UNITS)}unique-tail-token` - const index = buildAutomationListSearchIndex({ - name: 'Nightly', - project: 'mobile', - prompt - }) - expect(index.prompt.length).toBe(AUTOMATION_LIST_SEARCH_PROMPT_MAX_CODE_UNITS) - expect(automationListSearchIndexMatches(index, 'unique-tail-token')).toBe(false) - expect(automationListSearchIndexMatches(index, 'xxxx')).toBe(true) - }) - - it('does not split surrogate pairs when truncating', () => { - const emoji = '😀' - const value = `${'a'.repeat(7)}${emoji}` - expect(truncateAutomationListSearchField(value, 8)).toBe('a'.repeat(7)) - expect(truncateAutomationListSearchField(value, 9)).toBe(value) - }) -}) diff --git a/src/renderer/src/components/automations/automation-page-parts.tsx b/src/renderer/src/components/automations/automation-page-parts.tsx index 563284ee607..297865a0052 100644 --- a/src/renderer/src/components/automations/automation-page-parts.tsx +++ b/src/renderer/src/components/automations/automation-page-parts.tsx @@ -1,9 +1,9 @@ import React from 'react' import type { Badge } from '@/components/ui/badge' import { Button } from '@/components/ui/button' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import type { PendingAutomationSetupReview } from './automation-setup-review' +import type { PendingAutomationSetupReview } from './authoring/automation-setup-review' import { translate } from '@/i18n/i18n' import { useTranslate, type Translate } from '@/i18n/use-translate' import { formatUiNarrowRelativeTime } from '@/i18n/relative-time-format' diff --git a/src/renderer/src/components/automations/automation-recorded-target.ts b/src/renderer/src/components/automations/automation-recorded-target.ts deleted file mode 100644 index 91f2014b738..00000000000 --- a/src/renderer/src/components/automations/automation-recorded-target.ts +++ /dev/null @@ -1,39 +0,0 @@ -import type { Automation } from '../../../../shared/automations/automation-definition' -import { AUTOMATION_ORPHAN_ISSUES } from '../../../../shared/automations/ownership/automation-list-scope' -import { parseExecutionHostId } from '../../../../shared/execution-host' -import { automationAuthorityCatalogKey } from './automation-host-catalog-types' -import type { AutomationCapturedOwner } from './automation-captured-owner' -import type { AutomationCreateDestination } from './automation-create-destination' - -export function isSameAutomationWorkspace( - automation: Automation, - draft: Pick -): boolean { - return ( - automation.projectId === draft.projectId && - automation.workspaceMode === draft.workspaceMode && - (automation.workspaceId ?? '') === (draft.workspaceId ?? '') - ) -} - -/** A saved target is a proposal to its authority, never an executable catalog Repo. */ -export function recordedAutomationRunContext( - automation: Automation | null, - captured: AutomationCapturedOwner, - destination: AutomationCreateDestination -) { - const context = automation?.runContext - const host = parseExecutionHostId(context?.hostId) - const selector = destination.destination.selector - return context && - host?.kind === 'ssh' && - captured.authority && - captured.selector?.kind === 'orphan' && - captured.selector.issue === AUTOMATION_ORPHAN_ISSUES.hostReselection && - automationAuthorityCatalogKey(captured.authority) === - automationAuthorityCatalogKey(destination.authority) && - selector.kind === 'ssh' && - selector.targetId === host.targetId - ? context - : null -} diff --git a/src/renderer/src/components/automations/automation-run-context.test.ts b/src/renderer/src/components/automations/automation-run-context.test.ts deleted file mode 100644 index 32ecbf29012..00000000000 --- a/src/renderer/src/components/automations/automation-run-context.test.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { ProjectHostSetup } from '../../../../shared/project-types' -import type { Repo } from '../../../../shared/repo-types' -import { buildAutomationRunContextForRepo } from './automation-run-context' - -function repo(id: string, path = `/repos/${id}`, executionHostId?: Repo['executionHostId']): Repo { - return { - id, - path, - displayName: id, - badgeColor: '#000000', - addedAt: 1, - executionHostId - } -} - -function setup(overrides: Partial = {}): ProjectHostSetup { - return { - id: 'setup-builder', - projectId: 'github:stablyai/orca', - hostId: 'ssh:builder', - repoId: 'repo-builder', - path: '/remote/orca', - displayName: 'orca', - setupState: 'ready', - setupMethod: 'cloned', - createdAt: 1, - updatedAt: 1, - ...overrides - } -} - -describe('buildAutomationRunContextForRepo', () => { - it('persists logical project and host setup identity for the selected run repo', () => { - expect( - buildAutomationRunContextForRepo({ - repoId: 'repo-builder', - repos: [ - repo('repo-local', '/local/orca'), - repo('repo-builder', '/remote/orca', 'ssh:builder') - ], - projectHostSetups: [ - setup({ - id: 'setup-local', - hostId: 'local', - repoId: 'repo-local', - path: '/local/orca' - }), - setup() - ] - }) - ).toEqual({ - kind: 'workspace-run', - projectId: 'github:stablyai/orca', - hostId: 'ssh:builder', - projectHostSetupId: 'setup-builder', - repoId: 'repo-builder', - path: '/remote/orca' - }) - }) - - it('does not build a run context for missing or not-ready setups', () => { - expect( - buildAutomationRunContextForRepo({ - repoId: 'repo-builder', - repos: [repo('repo-builder')], - projectHostSetups: [setup({ hostId: 'local', setupState: 'setting-up' })] - }) - ).toBeNull() - - expect( - buildAutomationRunContextForRepo({ - repoId: 'repo-builder', - repos: [], - projectHostSetups: [setup()] - }) - ).toBeNull() - }) -}) diff --git a/src/renderer/src/components/automations/automation-run-history-keyboard-navigation.test.ts b/src/renderer/src/components/automations/automation-run-history-keyboard-navigation.test.ts deleted file mode 100644 index 214c80fd13e..00000000000 --- a/src/renderer/src/components/automations/automation-run-history-keyboard-navigation.test.ts +++ /dev/null @@ -1,85 +0,0 @@ -// @vitest-environment happy-dom - -import { describe, expect, it } from 'vitest' - -import { shouldHandleAutomationRunHistoryKey } from './automation-run-history-keyboard-navigation' - -describe('shouldHandleAutomationRunHistoryKey', () => { - function makeEvent( - overrides: Partial<{ - key: string - altKey: boolean - ctrlKey: boolean - metaKey: boolean - shiftKey: boolean - isComposing: boolean - target: EventTarget | null - }> = {} - ) { - return { - key: 'ArrowDown', - altKey: false, - ctrlKey: false, - metaKey: false, - shiftKey: false, - nativeEvent: { isComposing: overrides.isComposing ?? false }, - target: overrides.target ?? document.body, - ...overrides - } - } - - it('ignores modified or composing keys', () => { - expect(shouldHandleAutomationRunHistoryKey(makeEvent({ metaKey: true }))).toBe(false) - expect(shouldHandleAutomationRunHistoryKey(makeEvent({ ctrlKey: true }))).toBe(false) - expect(shouldHandleAutomationRunHistoryKey(makeEvent({ altKey: true }))).toBe(false) - expect(shouldHandleAutomationRunHistoryKey(makeEvent({ shiftKey: true }))).toBe(false) - expect(shouldHandleAutomationRunHistoryKey(makeEvent({ isComposing: true }))).toBe(false) - }) - - it('ignores an IME-owned native Enter from the window listener but handles the committed one', () => { - const composingEnter = new KeyboardEvent('keydown', { key: 'Enter', isComposing: true }) - const processEnter = new KeyboardEvent('keydown', { key: 'Enter', keyCode: 229 }) - const committedEnter = new KeyboardEvent('keydown', { key: 'Enter', keyCode: 13 }) - expect(shouldHandleAutomationRunHistoryKey(composingEnter)).toBe(false) - expect(shouldHandleAutomationRunHistoryKey(processEnter)).toBe(false) - expect(shouldHandleAutomationRunHistoryKey(committedEnter)).toBe(true) - }) - - it('ignores keys when target is an editable input element or inside a modal dialog', () => { - const input = document.createElement('input') - expect(shouldHandleAutomationRunHistoryKey(makeEvent({ target: input }))).toBe(false) - - const dialog = document.createElement('div') - dialog.setAttribute('role', 'dialog') - const button = document.createElement('button') - dialog.appendChild(button) - document.body.appendChild(dialog) - - expect(shouldHandleAutomationRunHistoryKey(makeEvent({ target: button }))).toBe(false) - - dialog.remove() - }) - - it('leaves Enter to a focused button or link but still handles arrows there', () => { - const button = document.createElement('button') - const link = document.createElement('a') - link.setAttribute('href', '#') - - expect(shouldHandleAutomationRunHistoryKey(makeEvent({ key: 'Enter', target: button }))).toBe( - false - ) - expect(shouldHandleAutomationRunHistoryKey(makeEvent({ key: 'Enter', target: link }))).toBe( - false - ) - - const tabTrigger = document.createElement('div') - tabTrigger.setAttribute('role', 'tab') - expect( - shouldHandleAutomationRunHistoryKey(makeEvent({ key: 'Enter', target: tabTrigger })) - ).toBe(false) - - expect( - shouldHandleAutomationRunHistoryKey(makeEvent({ key: 'ArrowDown', target: button })) - ).toBe(true) - }) -}) diff --git a/src/renderer/src/components/automations/automation-run-open-target.test.ts b/src/renderer/src/components/automations/automation-run-open-target.test.ts deleted file mode 100644 index b55c3c41aa9..00000000000 --- a/src/renderer/src/components/automations/automation-run-open-target.test.ts +++ /dev/null @@ -1,179 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import { - buildAutomationRunOpenLayout, - resolveAutomationRunOpenTarget -} from './automation-run-open-target' - -const leafId = '11111111-1111-4111-8111-111111111111' -const otherLeafId = '22222222-2222-4222-8222-222222222222' -const paneKey = `tab-1:${leafId}` - -const runLeafLayout = { - root: { type: 'leaf' as const, leafId }, - activeLeafId: leafId, - expandedLeafId: null -} -const livePtyIds = ['pty-run'] -const canOpen = (args: Parameters[0]): boolean => - resolveAutomationRunOpenTarget(args) !== null - -function run(overrides: Partial = {}): AutomationRun { - return { - id: 'run-1', - automationId: 'automation-1', - title: 'Run 1', - scheduledFor: 1, - status: 'completed', - trigger: 'manual', - workspaceId: 'wt-1', - workspaceDisplayName: 'Workspace', - sessionKind: 'terminal', - chatSessionId: null, - terminalSessionId: 'tab-1', - terminalPaneKey: paneKey, - terminalPtyId: 'pty-run', - outputSnapshot: null, - precheckResult: null, - usage: null, - error: null, - startedAt: 1, - dispatchedAt: 1, - createdAt: 1, - ...overrides - } -} - -describe('automation run open target', () => { - it('rejects a layout whose run leaf is bound to another PTY', () => { - expect( - resolveAutomationRunOpenTarget({ - run: run(), - terminalTabExists: true, - currentLayout: { - ...runLeafLayout, - ptyIdsByLeafId: { [leafId]: 'pty-other' } - }, - livePtyIds - }) - ).toBeNull() - }) - - it('targets the pane a successful run slept in place, before and after it wakes', () => { - // Why: hibernation drops only the run's PTY id; the pane key still names the run's own pane. - const sleptRun = run({ terminalPtyId: null }) - const asleepLayout = { ...runLeafLayout, ptyIdsByLeafId: { [leafId]: 'pty-run' } } - const asleep = resolveAutomationRunOpenTarget({ - run: sleptRun, - terminalTabExists: true, - currentLayout: asleepLayout, - livePtyIds: [] - }) - - expect(asleep).toEqual({ tabId: 'tab-1', paneKey, leafId, ptyId: null }) - if (!asleep) { - throw new Error('Expected target.') - } - expect( - buildAutomationRunOpenLayout({ target: asleep, currentLayout: asleepLayout }).ptyIdsByLeafId - ).toBe(asleepLayout.ptyIdsByLeafId) - expect( - resolveAutomationRunOpenTarget({ - run: sleptRun, - terminalTabExists: true, - currentLayout: { ...runLeafLayout, ptyIdsByLeafId: { [leafId]: 'pty-resumed' } }, - livePtyIds: ['pty-resumed'] - }) - ).toEqual({ tabId: 'tab-1', paneKey, leafId, ptyId: 'pty-resumed' }) - expect( - canOpen({ - run: sleptRun, - terminalTabExists: false, - currentLayout: asleepLayout, - livePtyIds: [] - }) - ).toBe(false) - }) - - it('opens an existing run leaf when the layout has no PTY mapping yet', () => { - const target = resolveAutomationRunOpenTarget({ - run: run(), - terminalTabExists: true, - currentLayout: runLeafLayout, - livePtyIds - }) - - expect(target).not.toBeNull() - if (!target) { - throw new Error('Expected target.') - } - expect(buildAutomationRunOpenLayout({ target, currentLayout: runLeafLayout })).toMatchObject({ - root: { type: 'leaf', leafId }, - activeLeafId: leafId, - ptyIdsByLeafId: { [leafId]: 'pty-run' } - }) - }) - - it('does not rebuild a layout that is missing the run pane', () => { - expect( - resolveAutomationRunOpenTarget({ - run: run(), - terminalTabExists: true, - currentLayout: { - root: { type: 'leaf', leafId: otherLeafId }, - activeLeafId: otherLeafId, - expandedLeafId: null, - ptyIdsByLeafId: { [otherLeafId]: 'pty-empty-shell' } - }, - livePtyIds - }) - ).toBeNull() - }) - - it('does not open when the current tab layout is unavailable', () => { - expect( - resolveAutomationRunOpenTarget({ - run: run(), - terminalTabExists: true, - currentLayout: null, - livePtyIds - }) - ).toBeNull() - }) - - it('keeps an existing split layout when the run leaf is still present', () => { - const currentLayout = { - root: { - type: 'split' as const, - direction: 'horizontal' as const, - first: { type: 'leaf' as const, leafId }, - second: { type: 'leaf' as const, leafId: otherLeafId } - }, - activeLeafId: otherLeafId, - expandedLeafId: otherLeafId, - ptyIdsByLeafId: { [leafId]: 'pty-run', [otherLeafId]: 'pty-other' } - } - const target = resolveAutomationRunOpenTarget({ - run: run(), - terminalTabExists: true, - currentLayout, - livePtyIds - }) - - expect(target).not.toBeNull() - if (!target) { - throw new Error('Expected target.') - } - const layout = buildAutomationRunOpenLayout({ - target, - currentLayout - }) - - expect(layout).toMatchObject({ - root: expect.objectContaining({ type: 'split' }), - activeLeafId: leafId, - expandedLeafId: null, - ptyIdsByLeafId: { [leafId]: 'pty-run', [otherLeafId]: 'pty-other' } - }) - }) -}) diff --git a/src/renderer/src/components/automations/automation-save-context.ts b/src/renderer/src/components/automations/automation-save-context.ts deleted file mode 100644 index c0f69d4eeed..00000000000 --- a/src/renderer/src/components/automations/automation-save-context.ts +++ /dev/null @@ -1,17 +0,0 @@ -import type { AutomationsPageListState } from './use-automations-page-list-state' -import type { AutomationsPageLocalState } from './use-automations-page-local-state' -import type { AutomationsPageRefresh } from './use-automations-page-refresh' -import type { AutomationsPageSetupState } from './use-automations-page-setup-state' -import type { AutomationsPageStoreState } from './use-automations-page-store-state' -import type { AutomationsPageDestinationState } from './use-automations-page-destination-state' -import type { AutomationsPageDestinationFormState } from './use-automations-page-destination-form' - -export type AutomationSaveContext = { - store: AutomationsPageStoreState - local: AutomationsPageLocalState - list: AutomationsPageListState - setup: AutomationsPageSetupState - destination: AutomationsPageDestinationState - destinationForm: AutomationsPageDestinationFormState - pageRefresh: AutomationsPageRefresh -} diff --git a/src/renderer/src/components/automations/automations-page-action-context.ts b/src/renderer/src/components/automations/automations-page-action-context.ts index 7b2c1b89c0f..27d9ebb5b0d 100644 --- a/src/renderer/src/components/automations/automations-page-action-context.ts +++ b/src/renderer/src/components/automations/automations-page-action-context.ts @@ -1,11 +1,11 @@ -import type { AutomationsPageListState } from './use-automations-page-list-state' +import type { AutomationsPageListState } from './listing/use-automations-page-list-state' import type { AutomationsPageLocalState } from './use-automations-page-local-state' import type { AutomationsPagePresentationState } from './use-automations-page-presentation-state' import type { AutomationsPageRefresh } from './use-automations-page-refresh' -import type { AutomationsPageSetupState } from './use-automations-page-setup-state' +import type { AutomationsPageSetupState } from './authoring/use-automations-page-setup-state' import type { AutomationsPageStoreState } from './use-automations-page-store-state' -import type { AutomationsPageDestinationState } from './use-automations-page-destination-state' -import type { AutomationsPageDestinationFormState } from './use-automations-page-destination-form' +import type { AutomationsPageDestinationState } from './authoring/use-automations-page-destination-state' +import type { AutomationsPageDestinationFormState } from './authoring/use-automations-page-destination-form' export type AutomationsPageActionContext = { store: AutomationsPageStoreState diff --git a/src/renderer/src/components/automations/automations-page-actions-test-harness.ts b/src/renderer/src/components/automations/automations-page-actions-test-harness.ts index 70fe36d8109..cb581cd733e 100644 --- a/src/renderer/src/components/automations/automations-page-actions-test-harness.ts +++ b/src/renderer/src/components/automations/automations-page-actions-test-harness.ts @@ -17,7 +17,7 @@ import { checkRuntimeHooks, type HookCheckResult } from '@/runtime/repo-hooks/ru import { loadHostStructuredAgents } from '@/runtime/native-chat/agent-catalogs/host-structured-agents' import { getDefaultSettings } from '../../../../shared/constants' import type { Automation } from '../../../../shared/automations/automation-definition' -import type { AutomationDraft } from './AutomationEditorDialog' +import type { AutomationDraft } from './authoring/AutomationEditorDialog' import { AUTOMATION_LIST_HOST_SCOPE_RUNTIME_CAPABILITY as LIST_HOST_SCOPE, AUTOMATION_OWNER_FENCING_RUNTIME_CAPABILITY as OWNER_FENCING, diff --git a/src/renderer/src/components/automations/automations-page-child-props.test-fixture.ts b/src/renderer/src/components/automations/automations-page-child-props.test-fixture.ts index 34c91c3fe8a..7852a857b10 100644 --- a/src/renderer/src/components/automations/automations-page-child-props.test-fixture.ts +++ b/src/renderer/src/components/automations/automations-page-child-props.test-fixture.ts @@ -1,12 +1,12 @@ import type { AutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' import type { Automation } from '../../../../shared/automations/automation-definition' import type { Worktree } from '../../../../shared/worktree/types' -import type { AutomationHostCatalogView } from './use-automation-host-catalog' -import type { AutomationCreateDestinationControl } from './use-automation-create-destination' -import type { ExternalAutomationListEntry } from './external-automation-list-entries' -import type { AutomationListRow } from './automation-list-row-identity' -import type { AutomationListViewItem } from './automation-list-view' -import type { AutomationTemplate } from './automation-templates' +import type { AutomationHostCatalogView } from './hosts/use-automation-host-catalog' +import type { AutomationCreateDestinationControl } from './authoring/use-automation-create-destination' +import type { ExternalAutomationListEntry } from './external/external-automation-list-entries' +import type { AutomationListRow } from './listing/automation-list-row-identity' +import type { AutomationListViewItem } from './listing/automation-list-view' +import type { AutomationTemplate } from './authoring/automation-templates' export type ListPanelProps = { sortedListItems: readonly AutomationListViewItem[] diff --git a/src/renderer/src/components/automations/automations-page-fixtures.ts b/src/renderer/src/components/automations/automations-page-fixtures.ts index 0c5daecf279..9b60daacd74 100644 --- a/src/renderer/src/components/automations/automations-page-fixtures.ts +++ b/src/renderer/src/components/automations/automations-page-fixtures.ts @@ -7,15 +7,18 @@ import type { } from '../../../../shared/automations/history/automation-run' import type { ExternalAutomationManager } from '../../../../shared/automations/external/external-automation' import type { ProjectHostSetup } from '../../../../shared/project-types' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' +import type { AutomationHostCatalogEntry } from './hosts/automation-host-catalog-types' import type { AppState } from '@/store/types' import type { Repo } from '../../../../shared/repo-types' import type { Worktree } from '../../../../shared/worktree/types' import type { ExternalAutomationScope, ScopedExternalAutomationManager -} from './external-automation-scope-client' -import { automationListRowKey, type AutomationListRow } from './automation-list-row-identity' +} from './external/external-automation-scope-client' +import { + automationListRowKey, + type AutomationListRow +} from './listing/automation-list-row-identity' import { ALL_AUTOMATION_HOSTS_FILTER } from '../../../../shared/automations/ownership/automation-host-filter' import { getDefaultSettings } from '../../../../shared/constants' diff --git a/src/renderer/src/components/automations/automations-page-listed-items.ts b/src/renderer/src/components/automations/automations-page-listed-items.ts index 723d093ef38..2f64eff3037 100644 --- a/src/renderer/src/components/automations/automations-page-listed-items.ts +++ b/src/renderer/src/components/automations/automations-page-listed-items.ts @@ -1,7 +1,7 @@ /** Read authority-qualified row keys and render order from the mocked list panel, matching real clicks rather than synthesizing identity. */ -import type { AutomationListRow } from './automation-list-row-identity' -import type { ExternalAutomationListEntry } from './external-automation-list-entries' +import type { AutomationListRow } from './listing/automation-list-row-identity' +import type { ExternalAutomationListEntry } from './external/external-automation-list-entries' import { mocks } from './automations-page-test-harness' function listedItems() { 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 d9ee8364a0b..1dbb50644f4 100644 --- a/src/renderer/src/components/automations/automations-page-test-harness.tsx +++ b/src/renderer/src/components/automations/automations-page-test-harness.tsx @@ -21,10 +21,10 @@ import { } from '../../../../shared/automations/automation-runtime-capabilities' import type { AppState } from '@/store/types' -import { AutomationDestinationField } from './AutomationDestinationField' +import { AutomationDestinationField } from './authoring/AutomationDestinationField' import { TooltipProvider } from '@/components/ui/tooltip' -import { resetAutomationCapabilityProbes } from './automation-scoped-list-client' +import { resetAutomationCapabilityProbes } from './hosts/automation-capability-probe' import { addRuntimeProject as addRuntimeProjectFixture, selfScopedList @@ -65,7 +65,7 @@ export const mocks: AutomationsPageMocks = { setPendingRunNavigation: vi.fn() } -vi.mock('@/store', () => { +vi.mock('@/store/index', () => { const useAppStore = (selector: (state: Partial) => unknown): unknown => selector(mocks.state as Partial) useAppStore.getState = (): Partial => mocks.state as Partial @@ -94,7 +94,7 @@ vi.mock('sonner', () => ({ } })) -vi.mock('@/lib/window-visibility-interval', () => ({ +vi.mock('@/lib/window-activity/window-visibility-interval', () => ({ installWindowVisibilityInterval: () => () => undefined })) @@ -113,7 +113,7 @@ vi.mock('@/runtime/repo-hooks/runtime-hooks-client', () => ({ checkRuntimeHooks: vi.fn(async () => ({ hooks: null, ok: true })) })) -vi.mock('@/lib/ensure-hooks-confirmed', () => ({ +vi.mock('@/runtime/repo-hooks/ensure-hooks-confirmed', () => ({ ensureHooksConfirmed: vi.fn(async () => 'inherit'), ensureHooksApproved: vi.fn(async () => ({ decision: 'run' })) })) @@ -122,7 +122,7 @@ vi.mock('@/lib/workspace/activation/worktree-activation', () => ({ activateAndRevealWorktree: vi.fn() })) -vi.mock('./AutomationsListPanel', () => ({ +vi.mock('./listing/AutomationsListPanel', () => ({ AutomationsListPanel: (props: ListPanelProps) => { const selectAutomationRow = (rowKey: string | null): void => { props.selectAutomationRow(rowKey) @@ -164,7 +164,7 @@ vi.mock('./AutomationsListPanel', () => ({ } })) -vi.mock('./AutomationsDetailPane', () => ({ +vi.mock('./details/AutomationsDetailPane', () => ({ AutomationsDetailPane: (props: DetailPaneProps) => { mocks.detailPane = props return ( @@ -176,7 +176,7 @@ vi.mock('./AutomationsDetailPane', () => ({ } })) -vi.mock('./AutomationEditorDialog', () => ({ +vi.mock('./authoring/AutomationEditorDialog', () => ({ AutomationEditorDialog: (props: EditorDialogProps) => { mocks.editorDialog = props return ( @@ -195,7 +195,7 @@ vi.mock('./AutomationEditorDialog', () => ({ } })) -vi.mock('./AutomationDeleteDialogs', () => ({ +vi.mock('./authoring/AutomationDeleteDialogs', () => ({ AutomationDeleteDialog: (props: DeleteDialogProps) => { mocks.deleteDialog = props return null diff --git a/src/renderer/src/components/automations/details/AutomationDetail.fixture.tsx b/src/renderer/src/components/automations/details/AutomationDetail.fixture.tsx new file mode 100644 index 00000000000..9e7c6930d57 --- /dev/null +++ b/src/renderer/src/components/automations/details/AutomationDetail.fixture.tsx @@ -0,0 +1,99 @@ +import { defineFixture } from '../../../component-fixtures/component-fixture' +import { AutomationDetail } from './AutomationDetail' +import { makeAutomation, makeRun, makeRunUsage } from '../automations-page-fixtures' + +const NOW = Date.UTC(2026, 10, 9, 15, 0) +const HOUR = 60 * 60 * 1000 + +const PROMPT = `Scan open GitHub issues and pull requests labeled i18n in the repository. + +For each item: +1. Check whether the strings it mentions are still missing from the locale files. +2. If the fix is a pure translation update, open a PR that adds the missing keys for every supported locale. +3. Otherwise leave a short comment summarizing what is missing and which files need changes. + +Skip anything assigned to a human, and never close issues. Post a summary of what you changed in the automation run output.` + +const automation = makeAutomation({ + name: 'GitHub i18n issue and PR scan', + prompt: PROMPT, + rrule: 'FREQ=DAILY;BYHOUR=9;BYMINUTE=0', + nextRunAt: NOW + 18 * HOUR, + precheck: { command: 'gh issue list --label i18n --json number', timeoutSeconds: 30 } +}) + +const noop = (): void => {} + +function renderDetail(props: Partial> = {}) { + return ( +
+ +
+ ) +} + +export const neverRun = defineFixture({ + width: 1000, + render: () => renderDetail() +}) + +export const healthy = defineFixture({ + width: 1000, + render: () => + renderDetail({ + automation: { ...automation, lastRunAt: NOW - 6 * HOUR }, + runs: [ + makeRun({ + id: 'run-2', + createdAt: NOW - 6 * HOUR, + dispatchedAt: NOW - 6 * HOUR, + usage: makeRunUsage({ totalTokens: 182_400, estimatedCostUsd: 1.42 }) + }), + makeRun({ + id: 'run-1', + createdAt: NOW - 30 * HOUR, + dispatchedAt: NOW - 30 * HOUR, + usage: makeRunUsage({ totalTokens: 96_100, estimatedCostUsd: 0.71 }) + }) + ] + }) +}) + +export const failed = defineFixture({ + width: 1000, + render: () => + renderDetail({ + automation: { ...automation, lastRunAt: NOW - 2 * HOUR }, + runs: [ + makeRun({ + id: 'run-3', + status: 'dispatch_failed', + error: 'The agent CLI exited before the session started.', + createdAt: NOW - 2 * HOUR, + dispatchedAt: null, + startedAt: NOW - 2 * HOUR + }) + ] + }) +}) + +export const paused = defineFixture({ + width: 720, + render: () => + renderDetail({ + automation: { ...automation, enabled: false, prompt: 'Run the nightly sweep.' } + }) +}) diff --git a/src/renderer/src/components/automations/details/AutomationDetail.tsx b/src/renderer/src/components/automations/details/AutomationDetail.tsx new file mode 100644 index 00000000000..c590ed537b8 --- /dev/null +++ b/src/renderer/src/components/automations/details/AutomationDetail.tsx @@ -0,0 +1,318 @@ +import React from 'react' +import { Button } from '@/components/ui/button' +import { getAgentCatalog } from '@/lib/agent-catalog/agent-catalog' +import { AgentIcon } from '@/components/agent/icons/AgentIcon' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' +import { formatUiAutomationSchedule } from './automation-schedule-label' +import { formatUiNarrowDuration } from '@/i18n/relative-time-format' +import { + AUTOMATION_EDITOR_SECTION_LABEL_CLASS, + AutomationRunErrorNotice +} from '../automation-page-parts' +import { indexLatestAutomationRuns } from '../listing/automation-list-last-run' +import type { AutomationTargetAvailability } from '../hosts/automation-target-availability-types' +import type { AutomationHostCatalogEntry } from '../hosts/automation-host-catalog-types' +import { getAutomationHostDetailDisplay } from '../hosts/automation-host-detail-display' +import { getAutomationSourceDisplay } from './automation-source-display' +import { translate } from '@/i18n/i18n' +import { useIntlLocale, useTranslate, type Translate } from '@/i18n/use-translate' +import { AutomationPromptDisclosure } from './AutomationPromptDisclosure' +import { automationRunErrorText } from '../runs/automation-run-error-copy' +import { AutomationDetailHeader } from './AutomationDetailHeader' +import { AutomationDetailHealth } from './AutomationDetailHealth' + +type AutomationDetailProps = { + automation: Automation | null + runs: AutomationRun[] + projectName: string + workspaceName: string + projectDefaultBaseRef: string | null + /** The catalog entry the selected row was listed from; absent for legacy unscoped rows. */ + hostEntry?: AutomationHostCatalogEntry | null + hostLabelById?: ReadonlyMap + runNowAvailability: AutomationTargetAvailability | null + now: number + onRunNow: (automation: Automation) => void + onEdit: (automation: Automation) => void + /** Moves a row its host's Orca server now serves onto that server. */ + onMigrate?: (automation: Automation) => void + isMigrating?: boolean + onToggle: (automation: Automation) => void + onDelete: (automation: Automation) => void +} + +type DetailProperty = { + key: string + label: string + value: React.ReactNode + title?: string + mono?: boolean +} + +function DetailPropertySection({ + title, + properties +}: { + title: string + properties: DetailProperty[] +}): React.JSX.Element { + return ( +
+

+ {title} +

+
+ {properties.map((property) => ( + +
{property.label}
+
+ {property.value} +
+
+ ))} +
+
+ ) +} + +function formatGrace(minutes: number, t: Translate = translate): string { + if (minutes <= 0) { + return t('auto.components.automations.AutomationDetail.noGrace', 'No grace') + } + if (minutes < 60) { + return t('auto.components.automations.AutomationDetail.graceMinutes', '{{count}} minutes', { + count: minutes, + defaultValue_one: '{{count}} minute' + }) + } + const hours = minutes / 60 + return t('auto.components.automations.AutomationDetail.graceHours', '{{count}} hours', { + count: hours, + defaultValue_one: '{{count}} hour' + }) +} + +function DetailNotice({ children }: { children: React.ReactNode }): React.JSX.Element { + return ( +
+ {children} +
+ ) +} + +export function AutomationDetail({ + automation, + runs, + projectName, + workspaceName, + projectDefaultBaseRef, + hostEntry, + hostLabelById, + runNowAvailability, + now, + onRunNow, + onEdit, + onMigrate, + isMigrating, + onToggle, + onDelete +}: AutomationDetailProps): React.JSX.Element { + const t = useTranslate() + const intlLocale = useIntlLocale() + if (!automation) { + return ( +
+ {t( + 'auto.components.automations.AutomationDetail.221916d93c', + 'Create an automation to start scheduling agent work.' + )} +
+ ) + } + const agentLabel = + getAgentCatalog().find((agent) => agent.id === automation.agentId)?.label ?? automation.agentId + const runLocationLabel = + automation.workspaceMode === 'new_per_run' + ? (automation.baseBranch ?? + projectDefaultBaseRef ?? + t('auto.components.automations.AutomationDetail.projectDefault', 'Project default')) + : workspaceName + const sourceDisplay = getAutomationSourceDisplay(automation.sourceContext, hostLabelById, t) + const hostDisplay = getAutomationHostDetailDisplay({ + automation, + entry: hostEntry, + hostLabelById + }) + const needsMigration = Boolean(hostEntry?.servedBy) + const latestRun = indexLatestAutomationRuns(runs).get(automation.id) + const latestRunError = + latestRun?.status === 'dispatch_failed' ? automationRunErrorText(latestRun) : null + + const scheduleProperties: DetailProperty[] = [ + { + key: 'schedule', + label: t('auto.components.automations.AutomationDetail.repeats', 'Repeats'), + value: formatUiAutomationSchedule(automation.rrule, t, intlLocale) + }, + { + key: 'grace', + label: t('auto.components.automations.AutomationDetail.missedRunGrace', 'Missed-run grace'), + value: formatGrace(automation.missedRunGraceMinutes, t) + }, + { + key: 'precheck', + label: t('auto.components.automations.AutomationDetail.e353ab9516', 'Precheck'), + value: automation.precheck + ? t( + 'auto.components.automations.AutomationDetail.precheckEnabled', + 'Enabled, {{timeout}}', + { + timeout: formatUiNarrowDuration( + automation.precheck.timeoutSeconds, + 'second', + intlLocale + ) + } + ) + : t('auto.components.automations.AutomationDetail.precheckNone', 'None'), + title: automation.precheck?.command + } + ] + + const executionProperties: DetailProperty[] = [ + { + key: 'agent', + label: t('auto.components.automations.AutomationDetail.2df8970cd5', 'Agent'), + value: ( + + + {agentLabel} + + ) + }, + { + key: 'host', + label: t('auto.components.automations.AutomationDetail.host', 'Host'), + value: hostDisplay.label, + title: hostDisplay.title + }, + { + key: 'location', + label: + automation.workspaceMode === 'new_per_run' + ? t('auto.components.automations.AutomationDetail.2f8baf5360', 'Create from') + : t('auto.components.automations.AutomationDetail.5405a09b1f', 'Run location'), + value: runLocationLabel, + mono: automation.workspaceMode === 'new_per_run' + }, + { + key: 'session', + label: t('auto.components.automations.AutomationDetail.15ea446b93', 'Session'), + value: automation.reuseSession + ? t('auto.components.automations.AutomationDetail.reuseLiveSession', 'Reuse live session') + : t('auto.components.automations.AutomationDetail.freshEachRun', 'Fresh each run') + }, + ...(sourceDisplay + ? [ + { + key: 'source', + label: t('auto.components.automations.AutomationDetail.29baf8f4c2', 'Source'), + value: sourceDisplay.label, + title: sourceDisplay.title + } + ] + : []), + ...(automation.extraAgentArgs + ? [ + { + key: 'extraArgs', + label: t('auto.components.automations.extraAgentArgs.detailLabel', 'Extra arguments'), + value: automation.extraAgentArgs, + title: automation.extraAgentArgs, + mono: true + } + ] + : []) + ] + + return ( +
+ + + {needsMigration ? ( + + + {t( + 'auto.components.automations.AutomationDetail.migrateNotice', + '{{host}} was upgraded to a new remote host. Migrate this automation to keep it running.', + { host: hostEntry?.label } + )} + + + + ) : automation.executionTargetType === 'ssh' ? ( + + {t( + 'auto.components.automations.AutomationDetail.dbef8dc110', + 'This SSH automation runs only while Orca can reach the SSH host. If reconnect needs interactive credentials or the host is unavailable, the run is recorded as skipped.' + )} + + ) : null} + + {runNowAvailability?.canRunNow === false && !needsMigration ? ( + {runNowAvailability.message} + ) : null} + + {latestRunError ? ( + + ) : null} + + + +
+ + +
+ + +
+ ) +} diff --git a/src/renderer/src/components/automations/details/AutomationDetailHeader.tsx b/src/renderer/src/components/automations/details/AutomationDetailHeader.tsx new file mode 100644 index 00000000000..7bd3df79b84 --- /dev/null +++ b/src/renderer/src/components/automations/details/AutomationDetailHeader.tsx @@ -0,0 +1,124 @@ +import React from 'react' +import { MoreHorizontal, Pause, Pencil, Play, Trash2 } from 'lucide-react' +import { Button } from '@/components/ui/button' +import { Badge } from '@/components/ui/badge' +import { + DropdownMenu, + DropdownMenuContent, + DropdownMenuItem, + DropdownMenuSeparator, + DropdownMenuTrigger +} from '@/components/ui/dropdown-menu' +import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import type { AutomationTargetAvailability } from '../hosts/automation-target-availability-types' +import { useTranslate } from '@/i18n/use-translate' + +export function AutomationDetailHeader({ + automation, + subtitle, + needsMigration, + runNowAvailability, + onRunNow, + onEdit, + onToggle, + onDelete +}: { + automation: Automation + subtitle: string + needsMigration: boolean + runNowAvailability: AutomationTargetAvailability | null + onRunNow: (automation: Automation) => void + onEdit: (automation: Automation) => void + onToggle: (automation: Automation) => void + onDelete: (automation: Automation) => void +}): React.JSX.Element { + const t = useTranslate() + const runNowDisabled = runNowAvailability?.canRunNow === false + const statusLabel = !automation.enabled + ? t('auto.components.automations.enablement.paused', 'Paused') + : needsMigration + ? t('auto.components.automations.AutomationDetail.needsMigration', 'Needs migration') + : t('auto.components.automations.AutomationDetail.eaa02014f8', 'Enabled') + + return ( +
+
+
+

{automation.name}

+ + {automation.enabled && !needsMigration ? ( + +
+

{subtitle}

+
+
+ + + + + + + + {runNowDisabled ? ( + + {runNowAvailability.message} + + ) : null} + + + + + + + + + + {t( + 'auto.components.automations.AutomationListLocalRows.c92c9463c6', + 'Automation actions' + )} + + + + onToggle(automation)}> + {automation.enabled ? : } + {automation.enabled + ? t('auto.components.automations.AutomationDetail.91a4155e95', 'Pause automation') + : t('auto.components.automations.AutomationDetail.d79452fb30', 'Resume automation')} + + + onDelete(automation)}> + + {t('auto.components.automations.AutomationDetail.1f6026358e', 'Delete automation')} + + + +
+
+ ) +} diff --git a/src/renderer/src/components/automations/details/AutomationDetailHealth.tsx b/src/renderer/src/components/automations/details/AutomationDetailHealth.tsx new file mode 100644 index 00000000000..585d10403df --- /dev/null +++ b/src/renderer/src/components/automations/details/AutomationDetailHealth.tsx @@ -0,0 +1,141 @@ +import React from 'react' +import { cn } from '@/lib/class-names' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' +import { summarizeAutomationRunUsage } from '../../../../../shared/automations/history/automation-usage-summary' +import { formatAutomationDateTime, formatAutomationRelativeTime } from '../automation-page-parts' +import { + getLocalAutomationLastRunSnapshot, + type AutomationLastRunTone +} from '../listing/automation-list-last-run' +import { formatAutomationCost, formatAutomationTokens } from '../runs/automation-usage-model' +import { useIntlLocale, useTranslate } from '@/i18n/use-translate' + +function HealthCell({ + label, + value, + detail, + tone, + title +}: { + label: string + value: string + detail?: string | null + tone?: AutomationLastRunTone + title?: string +}): React.JSX.Element { + const failed = tone === 'failed' + const showDot = tone !== undefined && tone !== 'never' + return ( +
+
{label}
+
+ {showDot ? ( +
+ {detail ? ( +
{detail}
+ ) : null} +
+ ) +} + +/** At-a-glance run health: what happened last, what happens next, and what it has cost. */ +export function AutomationDetailHealth({ + automation, + runs, + latestRun, + now +}: { + automation: Automation + runs: AutomationRun[] + latestRun: AutomationRun | undefined + now: number +}): React.JSX.Element { + const t = useTranslate() + const intlLocale = useIntlLocale() + + const lastRun = getLocalAutomationLastRunSnapshot(automation, latestRun, t) + const lastRunRelative = formatAutomationRelativeTime(lastRun.at, now, t, intlLocale) + const lastRunAbsolute = lastRun.at ? formatAutomationDateTime(lastRun.at, t, intlLocale) : null + const lastRunValue = + lastRun.tone === 'never' + ? t('auto.components.automations.AutomationDetail.notRunYet', 'Not run yet') + : lastRun.statusLabel || lastRunRelative || formatAutomationDateTime(null, t, intlLocale) + const lastRunDetail = + lastRun.tone === 'never' + ? null + : lastRun.statusLabel && lastRunRelative && lastRunAbsolute + ? `${lastRunRelative} · ${lastRunAbsolute}` + : lastRunAbsolute + + const nextRunRelative = automation.enabled + ? formatAutomationRelativeTime(automation.nextRunAt, now, t, intlLocale) + : null + const nextRunValue = !automation.enabled + ? t('auto.components.automations.AutomationsPage.paused', 'Paused') + : (nextRunRelative ?? formatAutomationDateTime(automation.nextRunAt, t, intlLocale)) + const nextRunDetail = + automation.enabled && nextRunRelative + ? formatAutomationDateTime(automation.nextRunAt, t, intlLocale) + : null + + const usage = summarizeAutomationRunUsage(runs) + const hasUsage = usage.knownRuns > 0 + const usageValue = hasUsage + ? formatAutomationCost(usage.estimatedCostUsd, t) + : usage.unavailableRuns > 0 + ? t('auto.components.automations.AutomationDetail.usageUnavailable', 'Unavailable') + : t('auto.components.automations.AutomationDetail.noRuns', 'No runs') + const usageDetail = hasUsage + ? t( + 'auto.components.automations.AutomationDetail.usageDetail', + '{{tokens}} tokens · {{known}}/{{total}} runs reported', + { + tokens: formatAutomationTokens(usage.totalTokens, intlLocale), + known: usage.knownRuns, + total: runs.length + } + ) + : null + + return ( +
+
+ + + +
+
+ ) +} diff --git a/src/renderer/src/components/automations/details/AutomationPromptDisclosure.tsx b/src/renderer/src/components/automations/details/AutomationPromptDisclosure.tsx new file mode 100644 index 00000000000..08bf78d059d --- /dev/null +++ b/src/renderer/src/components/automations/details/AutomationPromptDisclosure.tsx @@ -0,0 +1,129 @@ +import React, { useCallback, useEffect, useId, useRef, useState } from 'react' +import { Check, ChevronDown, Copy } from 'lucide-react' +import { Button } from '@/components/ui/button' +import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' +import { cn } from '@/lib/class-names' +import { useTranslate } from '@/i18n/use-translate' +import { useClipboardTextCopyFeedback } from '@/hooks/clipboard/use-clipboard-text-copy-feedback' +import { AUTOMATION_EDITOR_SECTION_LABEL_CLASS } from '../automation-page-parts' + +export function AutomationPromptDisclosure({ prompt }: { prompt: string }): React.JSX.Element { + const t = useTranslate() + const contentId = useId() + const expandedRef = useRef(false) + const toggleRef = useRef(null) + const [promptElement, setPromptElement] = useState(null) + const [expanded, setExpanded] = useState(false) + const [overflows, setOverflows] = useState(false) + const { canCopy, copyText, status: copyStatus } = useClipboardTextCopyFeedback(prompt) + const copyLabel = + copyStatus === 'copied' + ? t('auto.components.automations.AutomationPromptDisclosure.copied', 'Copied') + : copyStatus === 'failed' + ? t('auto.components.automations.AutomationPromptDisclosure.copyFailed', 'Copy failed') + : t('auto.components.automations.AutomationPromptDisclosure.copyPrompt', 'Copy prompt') + + const measureOverflow = useCallback((element: HTMLParagraphElement) => { + const nextOverflows = element.scrollHeight > element.clientHeight + 1 + if (!nextOverflows && document.activeElement === toggleRef.current) { + element.focus({ preventScroll: true }) + } + setOverflows((current) => (current === nextOverflows ? current : nextOverflows)) + }, []) + + useEffect(() => { + if (!promptElement || expanded) { + return + } + + const updateOverflow = () => { + if (!expandedRef.current) { + measureOverflow(promptElement) + } + } + updateOverflow() + if (typeof ResizeObserver === 'undefined') { + window.addEventListener('resize', updateOverflow) + return () => window.removeEventListener('resize', updateOverflow) + } + + const observer = new ResizeObserver(updateOverflow) + observer.observe(promptElement) + return () => observer.disconnect() + }, [expanded, measureOverflow, promptElement]) + + const toggleExpanded = (): void => { + const nextExpanded = !expanded + expandedRef.current = nextExpanded + setExpanded(nextExpanded) + } + + return ( +
+
+

+ {t('auto.components.automations.AutomationEditorDialog.058c23cb3f', 'Prompt')} +

+ + + + + + {copyLabel} + + +
+
+

+ {prompt} +

+ {overflows && !expanded ? ( + + {overflows || expanded ? ( +
+ +
+ ) : null} +
+ ) +} diff --git a/src/renderer/src/components/automations/AutomationsDetailPane.tsx b/src/renderer/src/components/automations/details/AutomationsDetailPane.tsx similarity index 87% rename from src/renderer/src/components/automations/AutomationsDetailPane.tsx rename to src/renderer/src/components/automations/details/AutomationsDetailPane.tsx index fb770460a33..41cabc8235d 100644 --- a/src/renderer/src/components/automations/AutomationsDetailPane.tsx +++ b/src/renderer/src/components/automations/details/AutomationsDetailPane.tsx @@ -2,24 +2,24 @@ import React from 'react' import { ArrowLeft } from 'lucide-react' import { Button } from '@/components/ui/button' import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs' -import type { Automation } from '../../../../shared/automations/automation-definition' +import type { Automation } from '../../../../../shared/automations/automation-definition' import type { ExternalAutomationAction, ExternalAutomationJob, ExternalAutomationManager -} from '../../../../shared/automations/external/external-automation' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import type { Worktree } from '../../../../shared/worktree/types' +} from '../../../../../shared/automations/external/external-automation' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' +import type { Worktree } from '../../../../../shared/worktree/types' import { AutomationDetail } from './AutomationDetail' -import { AutomationRunHistory } from './AutomationRunHistory' -import { ExternalAutomationManagers } from './ExternalAutomationManagers' -import type { ExternalAutomationListEntry } from './external-automation-list-entries' -import type { ExternalAutomationScope } from './external-automation-scope-client' -import type { AutomationActionNotice } from './automation-row-action-dispatch' -import type { AutomationHostRecoveryAction } from './automation-host-status-descriptors' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' -import type { AutomationTargetAvailability } from './automation-target-availability' -import type { AutomationPaneTab } from './automation-page-state' +import { AutomationRunHistory } from '../runs/AutomationRunHistory' +import { ExternalAutomationManagers } from '../external/ExternalAutomationManagers' +import type { ExternalAutomationListEntry } from '../external/external-automation-list-entries' +import type { ExternalAutomationScope } from '../external/external-automation-scope-client' +import type { AutomationActionNotice } from '../hosts/automation-row-action-dispatch' +import type { AutomationHostRecoveryAction } from '../hosts/automation-host-status-descriptors' +import type { AutomationHostCatalogEntry } from '../hosts/automation-host-catalog-types' +import type { AutomationTargetAvailability } from '../hosts/automation-target-availability-types' +import type { AutomationPaneTab } from '../automation-page-state' import { getAutomationDetailNextTab, shouldHandleAutomationDetailEscapeKey, diff --git a/src/renderer/src/components/automations/automation-detail-tab-navigation.ts b/src/renderer/src/components/automations/details/automation-detail-tab-navigation.ts similarity index 97% rename from src/renderer/src/components/automations/automation-detail-tab-navigation.ts rename to src/renderer/src/components/automations/details/automation-detail-tab-navigation.ts index f9bf2c8d239..f4bfa877d43 100644 --- a/src/renderer/src/components/automations/automation-detail-tab-navigation.ts +++ b/src/renderer/src/components/automations/details/automation-detail-tab-navigation.ts @@ -1,4 +1,4 @@ -import type { AutomationPaneTab } from './automation-page-state' +import type { AutomationPaneTab } from '../automation-page-state' export type AutomationDetailTabArrowKey = 'ArrowLeft' | 'ArrowRight' diff --git a/src/renderer/src/components/automations/automation-schedule-label.ts b/src/renderer/src/components/automations/details/automation-schedule-label.ts similarity index 96% rename from src/renderer/src/components/automations/automation-schedule-label.ts rename to src/renderer/src/components/automations/details/automation-schedule-label.ts index b0808cbd018..c39b3f267a4 100644 --- a/src/renderer/src/components/automations/automation-schedule-label.ts +++ b/src/renderer/src/components/automations/details/automation-schedule-label.ts @@ -2,7 +2,7 @@ import { describeAutomationSchedule, formatAutomationScheduleTime, type AutomationScheduleDescriptor -} from '../../../../shared/automations/scheduling/automation-schedules' +} from '../../../../../shared/automations/scheduling/automation-schedules' import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' import { getUiWeekdayNames } from '@/i18n/weekday-names' diff --git a/src/renderer/src/components/automations/automation-source-display.ts b/src/renderer/src/components/automations/details/automation-source-display.ts similarity index 93% rename from src/renderer/src/components/automations/automation-source-display.ts rename to src/renderer/src/components/automations/details/automation-source-display.ts index b0c62fdd4d6..fdd82e1edc7 100644 --- a/src/renderer/src/components/automations/automation-source-display.ts +++ b/src/renderer/src/components/automations/details/automation-source-display.ts @@ -1,7 +1,7 @@ import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' -import { getExecutionHostLabel } from '../../../../shared/execution-host' -import type { TaskSourceContext } from '../../../../shared/work-items/task-source-context' +import { getExecutionHostLabel } from '../../../../../shared/execution-host' +import type { TaskSourceContext } from '../../../../../shared/work-items/task-source-context' export type AutomationSourceDisplay = { label: string diff --git a/src/renderer/src/lib/automations-changed-window-event.ts b/src/renderer/src/components/automations/events/automations-changed-window-event.ts similarity index 91% rename from src/renderer/src/lib/automations-changed-window-event.ts rename to src/renderer/src/components/automations/events/automations-changed-window-event.ts index bb582287ebf..a0bdfaf94f5 100644 --- a/src/renderer/src/lib/automations-changed-window-event.ts +++ b/src/renderer/src/components/automations/events/automations-changed-window-event.ts @@ -1,5 +1,5 @@ /** Fan out authority changes within the renderer without coupling every publisher to the Automations page. */ -import type { AutomationsChangedPayload } from '../../../shared/runtime-client-events' +import type { AutomationsChangedPayload } from '../../../../../shared/runtime-client-events' export const AUTOMATIONS_CHANGED_EVENT = 'orca:automations-changed' diff --git a/src/renderer/src/components/automations/external-automation-scope-gating.test.ts b/src/renderer/src/components/automations/external-automation-scope-gating.test.ts deleted file mode 100644 index 6060de28186..00000000000 --- a/src/renderer/src/components/automations/external-automation-scope-gating.test.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { describe, expect, it } from 'vitest' -import { - EXTERNAL_AUTOMATION_SCOPE_CODES, - ExternalAutomationScopeError -} from '../../../../shared/external-automation-scope' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' -import { - externalAutomationProbeOwners, - externalAutomationScopeGateFromError, - parseExternalAutomationScopeCode -} from './external-automation-scope-gating' - -function entry(overrides: Partial = {}): AutomationHostCatalogEntry { - return { - stableRef: { authority: { kind: 'desktop' }, selector: { kind: 'self' } }, - owner: { authority: { kind: 'desktop' }, selector: { kind: 'self' } }, - stableKey: 'host:desktop:self', - label: 'This computer', - authorityLabel: 'This computer', - kind: 'self', - catalogState: 'authoritative', - authorityHealth: 'fresh', - executionHealth: 'connected', - querySupport: 'scoped', - ...overrides - } -} - -const runtimeEntry = entry({ - stableRef: { authority: { kind: 'runtime', environmentId: 'env-1' }, selector: { kind: 'self' } }, - owner: { - authority: { kind: 'runtime', environmentId: 'env-1', pairingRevision: 1 }, - selector: { kind: 'self' } - }, - stableKey: 'host:runtime:env-1:self', - label: 'Build box', - authorityLabel: 'Build box' -}) - -describe('external automation scope gating', () => { - it('retains probe owners only for hosts that are actually listed', () => { - expect(externalAutomationProbeOwners([entry(), runtimeEntry, entry({ owner: null })])).toEqual([ - { authority: { kind: 'desktop' }, selector: { kind: 'self' } } - ]) - }) -}) - -describe('engine scope errors', () => { - it('reads the code the engine appends to its message', () => { - const hidden = new ExternalAutomationScopeError(EXTERNAL_AUTOMATION_SCOPE_CODES.targetHidden) - expect(parseExternalAutomationScopeCode(hidden)).toBe( - EXTERNAL_AUTOMATION_SCOPE_CODES.targetHidden - ) - // Electron rewraps the message; the trailing token still terminates it. - expect( - parseExternalAutomationScopeCode( - new Error(`Error invoking remote method 'x': ${hidden.message}`) - ) - ).toBe(EXTERNAL_AUTOMATION_SCOPE_CODES.targetHidden) - }) - - it('leaves unrelated failures alone so they are not relabelled as scope limits', () => { - expect(externalAutomationScopeGateFromError(new Error('socket hang up'))).toBeNull() - expect(parseExternalAutomationScopeCode(null)).toBeNull() - }) -}) diff --git a/src/renderer/src/components/automations/ExternalAutomationManagers.tsx b/src/renderer/src/components/automations/external/ExternalAutomationManagers.tsx similarity index 99% rename from src/renderer/src/components/automations/ExternalAutomationManagers.tsx rename to src/renderer/src/components/automations/external/ExternalAutomationManagers.tsx index 16d1f70dab8..9acba22517e 100644 --- a/src/renderer/src/components/automations/ExternalAutomationManagers.tsx +++ b/src/renderer/src/components/automations/external/ExternalAutomationManagers.tsx @@ -8,7 +8,7 @@ import type { ExternalAutomationAction, ExternalAutomationJob, ExternalAutomationManager -} from '../../../../shared/automations/external/external-automation' +} from '../../../../../shared/automations/external/external-automation' import type { ExternalAutomationScope, ScopedExternalAutomationManager diff --git a/src/renderer/src/components/automations/external-automation-display.ts b/src/renderer/src/components/automations/external/external-automation-display.ts similarity index 81% rename from src/renderer/src/components/automations/external-automation-display.ts rename to src/renderer/src/components/automations/external/external-automation-display.ts index 55d73755b68..d28d714f6a3 100644 --- a/src/renderer/src/components/automations/external-automation-display.ts +++ b/src/renderer/src/components/automations/external/external-automation-display.ts @@ -1,10 +1,11 @@ -import type { ExternalAutomationManager } from '../../../../shared/automations/external/external-automation' +// @protected-copy: copy consumed by destructive automation confirmations. +import type { ExternalAutomationManager } from '../../../../../shared/automations/external/external-automation' import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' import { formatAutomationDateTime, formatAutomationDateTimeWithRelative -} from './automation-page-parts' +} from '../automation-page-parts' export function formatExternalDate( value: string | null, diff --git a/src/renderer/src/components/automations/external-automation-list-entries.ts b/src/renderer/src/components/automations/external/external-automation-list-entries.ts similarity index 93% rename from src/renderer/src/components/automations/external-automation-list-entries.ts rename to src/renderer/src/components/automations/external/external-automation-list-entries.ts index 18100f8a173..1757432c632 100644 --- a/src/renderer/src/components/automations/external-automation-list-entries.ts +++ b/src/renderer/src/components/automations/external/external-automation-list-entries.ts @@ -1,7 +1,7 @@ import type { ExternalAutomationJob, ExternalAutomationManager -} from '../../../../shared/automations/external/external-automation' +} from '../../../../../shared/automations/external/external-automation' import type { ExternalAutomationScope, ScopedExternalAutomationManager diff --git a/src/renderer/src/components/automations/external-automation-schedule-display.ts b/src/renderer/src/components/automations/external/external-automation-schedule-display.ts similarity index 78% rename from src/renderer/src/components/automations/external-automation-schedule-display.ts rename to src/renderer/src/components/automations/external/external-automation-schedule-display.ts index 02f7a79000c..9bef0ebcfd8 100644 --- a/src/renderer/src/components/automations/external-automation-schedule-display.ts +++ b/src/renderer/src/components/automations/external/external-automation-schedule-display.ts @@ -1,9 +1,10 @@ +// @protected-copy: copy consumed by destructive automation confirmations. import type { ExternalAutomationJob, ExternalAutomationManager -} from '../../../../shared/automations/external/external-automation' -import { isRunnableAutomationCronSchedule } from '../../../../shared/automations/scheduling/automation-schedule-parsing' -import { formatUiAutomationSchedule } from './automation-schedule-label' +} from '../../../../../shared/automations/external/external-automation' +import { isRunnableAutomationCronSchedule } from '../../../../../shared/automations/scheduling/automation-schedule-parsing' +import { formatUiAutomationSchedule } from '../details/automation-schedule-label' import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' diff --git a/src/renderer/src/components/automations/external-automation-scope-client.ts b/src/renderer/src/components/automations/external/external-automation-scope-client.ts similarity index 89% rename from src/renderer/src/components/automations/external-automation-scope-client.ts rename to src/renderer/src/components/automations/external/external-automation-scope-client.ts index d2d3db21c67..b98661be8b2 100644 --- a/src/renderer/src/components/automations/external-automation-scope-client.ts +++ b/src/renderer/src/components/automations/external/external-automation-scope-client.ts @@ -4,10 +4,10 @@ import type { ExternalAutomationAction, ExternalAutomationManager, ExternalAutomationProvider -} from '../../../../shared/automations/external/external-automation' -import type { AutomationOwnerRef } from '../../../../shared/automations/ownership/automation-owner-ref' -import { EXTERNAL_AUTOMATION_PROVIDERS } from '../../../../shared/external-automation-scope' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' +} from '../../../../../shared/automations/external/external-automation' +import type { AutomationOwnerRef } from '../../../../../shared/automations/ownership/automation-owner-ref' +import { EXTERNAL_AUTOMATION_PROVIDERS } from '../../../../../shared/external-automation-scope' +import type { AutomationHostCatalogEntry } from '../hosts/automation-host-catalog-types' import { resolveExternalAutomationScopeGate } from './external-automation-scope-gating' export type ExternalAutomationScope = { diff --git a/src/renderer/src/components/automations/external/external-automation-scope-gating.test.ts b/src/renderer/src/components/automations/external/external-automation-scope-gating.test.ts new file mode 100644 index 00000000000..8453526a281 --- /dev/null +++ b/src/renderer/src/components/automations/external/external-automation-scope-gating.test.ts @@ -0,0 +1,39 @@ +import { describe, expect, it } from 'vitest' + +import type { AutomationHostCatalogEntry } from '../hosts/automation-host-catalog-types' +import { externalAutomationProbeOwners } from './external-automation-scope-gating' + +function entry(overrides: Partial = {}): AutomationHostCatalogEntry { + return { + stableRef: { authority: { kind: 'desktop' }, selector: { kind: 'self' } }, + owner: { authority: { kind: 'desktop' }, selector: { kind: 'self' } }, + stableKey: 'host:desktop:self', + label: 'This computer', + authorityLabel: 'This computer', + kind: 'self', + catalogState: 'authoritative', + authorityHealth: 'fresh', + executionHealth: 'connected', + querySupport: 'scoped', + ...overrides + } +} + +const runtimeEntry = entry({ + stableRef: { authority: { kind: 'runtime', environmentId: 'env-1' }, selector: { kind: 'self' } }, + owner: { + authority: { kind: 'runtime', environmentId: 'env-1', pairingRevision: 1 }, + selector: { kind: 'self' } + }, + stableKey: 'host:runtime:env-1:self', + label: 'Build box', + authorityLabel: 'Build box' +}) + +describe('external automation scope gating', () => { + it('retains probe owners only for hosts that are actually listed', () => { + expect(externalAutomationProbeOwners([entry(), runtimeEntry, entry({ owner: null })])).toEqual([ + { authority: { kind: 'desktop' }, selector: { kind: 'self' } } + ]) + }) +}) diff --git a/src/renderer/src/components/automations/external-automation-scope-gating.ts b/src/renderer/src/components/automations/external/external-automation-scope-gating.ts similarity index 89% rename from src/renderer/src/components/automations/external-automation-scope-gating.ts rename to src/renderer/src/components/automations/external/external-automation-scope-gating.ts index 03b747a91d9..300b86aa86a 100644 --- a/src/renderer/src/components/automations/external-automation-scope-gating.ts +++ b/src/renderer/src/components/automations/external/external-automation-scope-gating.ts @@ -3,10 +3,10 @@ import { EXTERNAL_AUTOMATION_SCOPE_CODES, type ExternalAutomationScopeCode -} from '../../../../shared/external-automation-scope' -import type { AutomationOwnerRef } from '../../../../shared/automations/ownership/automation-owner-ref' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' -import type { AutomationHostFilterResolution } from './automation-host-filter-resolution' +} from '../../../../../shared/external-automation-scope' +import type { AutomationOwnerRef } from '../../../../../shared/automations/ownership/automation-owner-ref' +import type { AutomationHostCatalogEntry } from '../hosts/automation-host-catalog-types' +import type { AutomationHostFilterResolution } from '../hosts/automation-host-filter-resolution' export type ExternalAutomationScopeStatus = 'listed' | 'not-listed' | 'unknown' diff --git a/src/renderer/src/components/automations/external-automation-scope-keys.ts b/src/renderer/src/components/automations/external/external-automation-scope-keys.ts similarity index 83% rename from src/renderer/src/components/automations/external-automation-scope-keys.ts rename to src/renderer/src/components/automations/external/external-automation-scope-keys.ts index 842cd71e9db..17bb63e3ee7 100644 --- a/src/renderer/src/components/automations/external-automation-scope-keys.ts +++ b/src/renderer/src/components/automations/external/external-automation-scope-keys.ts @@ -1,11 +1,11 @@ /** Qualify external row/job/action keys by kind, captured owner and provider; manager IDs alone collide across hosts. */ -import { ownerKey } from '../../../../shared/automations/ownership/automation-owner-key' -import type { AutomationOwnerRef } from '../../../../shared/automations/ownership/automation-owner-ref' +import { ownerKey } from '../../../../../shared/automations/ownership/automation-owner-key' +import type { AutomationOwnerRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import type { ExternalAutomationAction, ExternalAutomationProvider -} from '../../../../shared/automations/external/external-automation' +} from '../../../../../shared/automations/external/external-automation' const SEPARATOR = '|' diff --git a/src/renderer/src/components/automations/external-automation-source-availability.ts b/src/renderer/src/components/automations/external/external-automation-source-availability.ts similarity index 91% rename from src/renderer/src/components/automations/external-automation-source-availability.ts rename to src/renderer/src/components/automations/external/external-automation-source-availability.ts index 27ea88d0bd3..5fc3717b0f9 100644 --- a/src/renderer/src/components/automations/external-automation-source-availability.ts +++ b/src/renderer/src/components/automations/external/external-automation-source-availability.ts @@ -1,5 +1,5 @@ -import type { ExternalAutomationManager } from '../../../../shared/automations/external/external-automation' -import type { SshConnectionStatus } from '../../../../shared/ssh-types' +import type { ExternalAutomationManager } from '../../../../../shared/automations/external/external-automation' +import type { SshConnectionStatus } from '../../../../../shared/ssh-types' import { isConnectingSshStatus } from '@/ssh/ssh-connection-recoverability' import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' diff --git a/src/renderer/src/components/automations/external-automation-unchecked-hosts.ts b/src/renderer/src/components/automations/external/external-automation-unchecked-hosts.ts similarity index 91% rename from src/renderer/src/components/automations/external-automation-unchecked-hosts.ts rename to src/renderer/src/components/automations/external/external-automation-unchecked-hosts.ts index a555fbdb0a8..eda7929bd26 100644 --- a/src/renderer/src/components/automations/external-automation-unchecked-hosts.ts +++ b/src/renderer/src/components/automations/external/external-automation-unchecked-hosts.ts @@ -2,8 +2,8 @@ import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' -import { ownerKey } from '../../../../shared/automations/ownership/automation-owner-key' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' +import { ownerKey } from '../../../../../shared/automations/ownership/automation-owner-key' +import type { AutomationHostCatalogEntry } from '../hosts/automation-host-catalog-types' import type { ScopedExternalAutomationFailure } from './external-automation-scope-client' export function externalAutomationUncheckedHostLabels( diff --git a/src/renderer/src/components/automations/use-external-automation-actions.ts b/src/renderer/src/components/automations/external/use-external-automation-actions.ts similarity index 92% rename from src/renderer/src/components/automations/use-external-automation-actions.ts rename to src/renderer/src/components/automations/external/use-external-automation-actions.ts index 1f67bf7d97b..3da957d4bb7 100644 --- a/src/renderer/src/components/automations/use-external-automation-actions.ts +++ b/src/renderer/src/components/automations/external/use-external-automation-actions.ts @@ -1,18 +1,18 @@ import { toast } from 'sonner' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' import type { ExternalAutomationAction, ExternalAutomationJob, ExternalAutomationManager -} from '../../../../shared/automations/external/external-automation' +} from '../../../../../shared/automations/external/external-automation' import { translate } from '@/i18n/i18n' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { externalAutomationActionKey, externalAutomationJobKey } from './external-automation-scope-keys' import type { ExternalAutomationScope } from './external-automation-scope-client' -import type { AutomationsPageActionContext } from './automations-page-action-context' +import type { AutomationsPageActionContext } from '../automations-page-action-context' /** External manager actions always carry the scope that produced their row. */ export function useExternalAutomationActions({ diff --git a/src/renderer/src/components/automations/use-external-automation-scope-retention.ts b/src/renderer/src/components/automations/external/use-external-automation-scope-retention.ts similarity index 84% rename from src/renderer/src/components/automations/use-external-automation-scope-retention.ts rename to src/renderer/src/components/automations/external/use-external-automation-scope-retention.ts index 22d888f6804..1d2fc4fad82 100644 --- a/src/renderer/src/components/automations/use-external-automation-scope-retention.ts +++ b/src/renderer/src/components/automations/external/use-external-automation-scope-retention.ts @@ -1,7 +1,7 @@ import { useEffect, useMemo, useRef } from 'react' -import { ownerKey } from '../../../../shared/automations/ownership/automation-owner-key' +import { ownerKey } from '../../../../../shared/automations/ownership/automation-owner-key' import { externalAutomationProbeOwners } from './external-automation-scope-gating' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' +import type { AutomationHostCatalogEntry } from '../hosts/automation-host-catalog-types' /** Retain probes only for visible hosts; cancel filtered/page-exit work so stale results cannot compete with requested Orca traffic. */ export function useExternalAutomationScopeRetention( diff --git a/src/renderer/src/components/automations/use-scoped-external-automations.ts b/src/renderer/src/components/automations/external/use-scoped-external-automations.ts similarity index 94% rename from src/renderer/src/components/automations/use-scoped-external-automations.ts rename to src/renderer/src/components/automations/external/use-scoped-external-automations.ts index 6cf31a8de2c..4bebb5cfa02 100644 --- a/src/renderer/src/components/automations/use-scoped-external-automations.ts +++ b/src/renderer/src/components/automations/external/use-scoped-external-automations.ts @@ -1,6 +1,6 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react' -import type { ExternalAutomationAction } from '../../../../shared/automations/external/external-automation' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' +import type { ExternalAutomationAction } from '../../../../../shared/automations/external/external-automation' +import type { AutomationHostCatalogEntry } from '../hosts/automation-host-catalog-types' import { externalAutomationScopes, listScopedExternalAutomationManagers, diff --git a/src/renderer/src/components/automations/AutomationHostBadges.tsx b/src/renderer/src/components/automations/hosts/AutomationHostBadges.tsx similarity index 94% rename from src/renderer/src/components/automations/AutomationHostBadges.tsx rename to src/renderer/src/components/automations/hosts/AutomationHostBadges.tsx index 3b84f10f631..9bea7507917 100644 --- a/src/renderer/src/components/automations/AutomationHostBadges.tsx +++ b/src/renderer/src/components/automations/hosts/AutomationHostBadges.tsx @@ -2,7 +2,7 @@ import React from 'react' import RepoBadgeLabel from '@/components/repo/RepoBadgeLabel' import { Badge } from '@/components/ui/badge' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' import { hostScopeDescriptor } from './automation-host-scope-descriptors' import { @@ -39,7 +39,9 @@ export function AutomationHostLabel({ showAuthority = false, className }: AutomationHostLabelProps): React.JSX.Element { - const accessibleName = showAuthority ? `${entry.authorityLabel} · ${entry.label}` : entry.label + const label = entry.label + const authorityLabel = entry.authorityLabel + const accessibleName = showAuthority ? `${authorityLabel} · ${label}` : label return ( @@ -51,7 +53,7 @@ export function AutomationHostLabel({ data-host-stable-key={entry.stableKey} > diff --git a/src/renderer/src/components/automations/AutomationHostFilterNotice.tsx b/src/renderer/src/components/automations/hosts/AutomationHostFilterNotice.tsx similarity index 99% rename from src/renderer/src/components/automations/AutomationHostFilterNotice.tsx rename to src/renderer/src/components/automations/hosts/AutomationHostFilterNotice.tsx index 22e30e7ae75..329ef4b219a 100644 --- a/src/renderer/src/components/automations/AutomationHostFilterNotice.tsx +++ b/src/renderer/src/components/automations/hosts/AutomationHostFilterNotice.tsx @@ -3,7 +3,7 @@ import { Loader2, TriangleAlert } from 'lucide-react' import { Button } from '@/components/ui/button' import { translate } from '@/i18n/i18n' import { useTranslate, type Translate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { AutomationHostStatusBadges } from './AutomationHostBadges' import type { AutomationHostFilterResolution } from './automation-host-filter-resolution' import { diff --git a/src/renderer/src/components/automations/AutomationOwnerConflictNotice.tsx b/src/renderer/src/components/automations/hosts/AutomationOwnerConflictNotice.tsx similarity index 98% rename from src/renderer/src/components/automations/AutomationOwnerConflictNotice.tsx rename to src/renderer/src/components/automations/hosts/AutomationOwnerConflictNotice.tsx index 66d36784651..86037da11a0 100644 --- a/src/renderer/src/components/automations/AutomationOwnerConflictNotice.tsx +++ b/src/renderer/src/components/automations/hosts/AutomationOwnerConflictNotice.tsx @@ -1,7 +1,7 @@ import React from 'react' import { TriangleAlert } from 'lucide-react' import { Button } from '@/components/ui/button' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' import { recoveryActionLabel, diff --git a/src/renderer/src/components/automations/automation-authority-identity.ts b/src/renderer/src/components/automations/hosts/automation-authority-identity.ts similarity index 91% rename from src/renderer/src/components/automations/automation-authority-identity.ts rename to src/renderer/src/components/automations/hosts/automation-authority-identity.ts index 5453709217a..c6a39690f73 100644 --- a/src/renderer/src/components/automations/automation-authority-identity.ts +++ b/src/renderer/src/components/automations/hosts/automation-authority-identity.ts @@ -1,14 +1,14 @@ /** Read live pairing revisions/repo tables at use time; cached values can fence against a re-paired authority or a project that moved hosts. */ -import type { Repo } from '../../../../shared/repo-types' -import type { LegacyAutomationPartitionContext } from '../../../../shared/automations/ownership/automation-legacy-list-partition' -import type { StableAutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' +import type { Repo } from '../../../../../shared/repo-types' +import type { LegacyAutomationPartitionContext } from '../../../../../shared/automations/ownership/automation-legacy-list-partition' +import type { StableAutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import { automationAuthorityCatalogKey } from './automation-host-catalog-types' import { getRepoExecutionHostId, getRepoSshConnectionId, parseExecutionHostId -} from '../../../../shared/execution-host' +} from '../../../../../shared/execution-host' type RepoConnection = Pick diff --git a/src/renderer/src/components/automations/automation-capability-probe.ts b/src/renderer/src/components/automations/hosts/automation-capability-probe.ts similarity index 92% rename from src/renderer/src/components/automations/automation-capability-probe.ts rename to src/renderer/src/components/automations/hosts/automation-capability-probe.ts index 43350f0f710..a2a5c345482 100644 --- a/src/renderer/src/components/automations/automation-capability-probe.ts +++ b/src/renderer/src/components/automations/hosts/automation-capability-probe.ts @@ -1,24 +1,22 @@ import type { AutomationCreateInput, AutomationUpdateInput -} from '../../../../shared/automations/automation-definition' +} from '../../../../../shared/automations/automation-definition' import { AUTOMATION_LAUNCH_SETUP_RUNTIME_CAPABILITY, AUTOMATION_SURFACE_RUNTIME_CAPABILITY, - AUTOMATION_LIST_HOST_SCOPE_RUNTIME_CAPABILITY, - AUTOMATION_LIST_HOST_SCOPE_UPDATE_REQUIRED_MESSAGE, AUTOMATION_OWNER_FENCING_RUNTIME_CAPABILITY, AUTOMATION_OWNER_FENCING_UPDATE_REQUIRED_MESSAGE, AUTOMATION_CREATE_IDEMPOTENCY_RUNTIME_CAPABILITY, AUTOMATION_EXTRA_AGENT_ARGS_RUNTIME_CAPABILITY -} from '../../../../shared/automations/automation-runtime-capabilities' +} from '../../../../../shared/automations/automation-runtime-capabilities' import { getRuntimeEnvironmentStatus } from '@/runtime/rpc/compatibility/runtime-compatibility-probe' -import type { AutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' -import type { RuntimeCapability } from '../../../../shared/protocol-version' +import type { AutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' +import type { RuntimeCapability } from '../../../../../shared/protocol-version' import { EXTRA_AGENT_ARGS_HOST_UPDATE_REQUIRED, hasExtraAgentArgs -} from '../../../../shared/agent-launch/startup/automation-extra-agent-args' +} from '../../../../../shared/agent-launch/startup/automation-extra-agent-args' import { automationAuthorityCatalogKey } from './automation-host-catalog-types' import { automationHostDiagnostics } from './automation-host-diagnostics' import { translate } from '@/i18n/i18n' @@ -191,12 +189,6 @@ export async function assertEnvironmentSupportsExtraAgentArgs( } } -export { - AUTOMATION_LIST_HOST_SCOPE_RUNTIME_CAPABILITY, - AUTOMATION_LIST_HOST_SCOPE_UPDATE_REQUIRED_MESSAGE, - AUTOMATION_CREATE_IDEMPOTENCY_RUNTIME_CAPABILITY -} - /** Old hosts keep their terminal contract; an explicit chat must refuse before a move creates anything. */ export async function prepareAutomationLaunchSetup< T extends AutomationCreateInput | AutomationUpdateInput diff --git a/src/renderer/src/components/automations/automation-captured-owner.test.ts b/src/renderer/src/components/automations/hosts/automation-captured-owner.test.ts similarity index 100% rename from src/renderer/src/components/automations/automation-captured-owner.test.ts rename to src/renderer/src/components/automations/hosts/automation-captured-owner.test.ts diff --git a/src/renderer/src/components/automations/automation-captured-owner.ts b/src/renderer/src/components/automations/hosts/automation-captured-owner.ts similarity index 92% rename from src/renderer/src/components/automations/automation-captured-owner.ts rename to src/renderer/src/components/automations/hosts/automation-captured-owner.ts index d7de9f229f0..d804dc626ac 100644 --- a/src/renderer/src/components/automations/automation-captured-owner.ts +++ b/src/renderer/src/components/automations/hosts/automation-captured-owner.ts @@ -1,13 +1,13 @@ /** Carry the listed owner into actions so a host move fences against the incarnation the user saw. Owned rows act normally, orphans allow pause/delete/history but cannot execute, and unfenced legacy rows stay view-only. */ -import { AUTOMATION_CAPTURED_HOST_REFUSALS } from '../../../../shared/automations/ownership/automation-owner-conflict' -import { AUTOMATION_ORPHAN_ISSUES } from '../../../../shared/automations/ownership/automation-list-scope' +import { AUTOMATION_CAPTURED_HOST_REFUSALS } from '../../../../../shared/automations/ownership/automation-owner-conflict' +import { AUTOMATION_ORPHAN_ISSUES } from '../../../../../shared/automations/ownership/automation-list-scope' import type { AutomationAuthorityRef, AutomationOwnerRef -} from '../../../../shared/automations/ownership/automation-owner-ref' -import { ownerKey } from '../../../../shared/automations/ownership/automation-owner-key' -import type { AutomationOwnerPrecondition } from '../../../../shared/automations/ownership/automation-owner-precondition' +} from '../../../../../shared/automations/ownership/automation-owner-ref' +import { ownerKey } from '../../../../../shared/automations/ownership/automation-owner-key' +import type { AutomationOwnerPrecondition } from '../../../../../shared/automations/ownership/automation-owner-precondition' import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' import type { AutomationHostRow, AutomationHostRowSelector } from './automation-host-cache-types' diff --git a/src/renderer/src/components/automations/automation-host-cache-controller.ts b/src/renderer/src/components/automations/hosts/automation-host-cache-controller.ts similarity index 98% rename from src/renderer/src/components/automations/automation-host-cache-controller.ts rename to src/renderer/src/components/automations/hosts/automation-host-cache-controller.ts index 35541c084a1..80d167157bf 100644 --- a/src/renderer/src/components/automations/automation-host-cache-controller.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-cache-controller.ts @@ -1,11 +1,11 @@ /** Apply catalog membership/incarnation generations before fetching, discard stale work and evict missing entries. Background All-hosts refresh preserves unreachable authorities without dialing them. */ import { getRuntimeEnvironmentRevision } from '@/runtime/rpc/environment-revisions/runtime-environment-revision' -import type { LegacyAutomationPartitionContext } from '../../../../shared/automations/ownership/automation-legacy-list-partition' +import type { LegacyAutomationPartitionContext } from '../../../../../shared/automations/ownership/automation-legacy-list-partition' import type { AutomationAuthorityRef, StableAutomationAuthorityRef -} from '../../../../shared/automations/ownership/automation-owner-ref' +} from '../../../../../shared/automations/ownership/automation-owner-ref' import { syncAutomationHostCatalogGenerations } from './automation-host-catalog-generation' import type { AutomationHostCatalog, diff --git a/src/renderer/src/components/automations/automation-host-cache-error.ts b/src/renderer/src/components/automations/hosts/automation-host-cache-error.ts similarity index 90% rename from src/renderer/src/components/automations/automation-host-cache-error.ts rename to src/renderer/src/components/automations/hosts/automation-host-cache-error.ts index c0f0be1a0b2..e4cda8def2a 100644 --- a/src/renderer/src/components/automations/automation-host-cache-error.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-cache-error.ts @@ -1,15 +1,13 @@ /** Classify by error code: contract/owner failures do not spend retry budget; unreachable or slow hosts do. */ -import { hasRuntimeRpcErrorCode } from '../../../../shared/runtime-rpc-error-code' +import { hasRuntimeRpcErrorCode } from '../../../../../shared/runtime-rpc-error-code' import { AUTOMATION_OWNER_CONFLICT_CODES, matchAutomationOwnerConflict, stripAutomationOwnerConflictCode -} from '../../../../shared/automations/ownership/automation-owner-conflict' -import { - AutomationHostScopeUnsupportedError, - AutomationListResponseError -} from './automation-scoped-list-client' +} from '../../../../../shared/automations/ownership/automation-owner-conflict' +import { AutomationHostScopeUnsupportedError } from './automation-capability-probe' +import { AutomationListResponseError } from './automation-scoped-list-client' import type { AutomationHostQueryError, AutomationHostQueryErrorCode diff --git a/src/renderer/src/components/automations/automation-host-cache-health.ts b/src/renderer/src/components/automations/hosts/automation-host-cache-health.ts similarity index 100% rename from src/renderer/src/components/automations/automation-host-cache-health.ts rename to src/renderer/src/components/automations/hosts/automation-host-cache-health.ts diff --git a/src/renderer/src/components/automations/automation-host-cache-rows.ts b/src/renderer/src/components/automations/hosts/automation-host-cache-rows.ts similarity index 89% rename from src/renderer/src/components/automations/automation-host-cache-rows.ts rename to src/renderer/src/components/automations/hosts/automation-host-cache-rows.ts index 643202c371c..f4c63e9273e 100644 --- a/src/renderer/src/components/automations/automation-host-cache-rows.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-cache-rows.ts @@ -1,17 +1,17 @@ /** Scoped rows retain their captured owner for later fences. Legacy responses prove neither owner nor usage; never compensate with run-history downloads. */ -import type { Automation } from '../../../../shared/automations/automation-definition' -import type { AutomationListItem } from '../../../../shared/automations/ownership/automation-list-scope' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import type { AutomationListItem } from '../../../../../shared/automations/ownership/automation-list-scope' import { partitionLegacyAutomationList, type LegacyAutomationPartitionContext, type LegacyAutomationSelector -} from '../../../../shared/automations/ownership/automation-legacy-list-partition' +} from '../../../../../shared/automations/ownership/automation-legacy-list-partition' import type { AutomationAuthorityRef, AutomationOwnerRef, StableAutomationCatalogRef -} from '../../../../shared/automations/ownership/automation-owner-ref' +} from '../../../../../shared/automations/ownership/automation-owner-ref' import type { ScopedAutomationList } from './automation-scoped-list-client' import type { AutomationHostRow } from './automation-host-cache-types' diff --git a/src/renderer/src/components/automations/automation-host-cache-types.ts b/src/renderer/src/components/automations/hosts/automation-host-cache-types.ts similarity index 81% rename from src/renderer/src/components/automations/automation-host-cache-types.ts rename to src/renderer/src/components/automations/hosts/automation-host-cache-types.ts index 2b49f0aa0ad..9acef78e5dd 100644 --- a/src/renderer/src/components/automations/automation-host-cache-types.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-cache-types.ts @@ -1,13 +1,13 @@ /** Rows retain captured owners, null when unqualified; requests retain all three generations required by their commit fence. */ -import type { Automation } from '../../../../shared/automations/automation-definition' -import type { AutomationListItemSelector } from '../../../../shared/automations/ownership/automation-list-scope' -import type { LegacyAutomationSelector } from '../../../../shared/automations/ownership/automation-legacy-list-partition' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import type { AutomationListItemSelector } from '../../../../../shared/automations/ownership/automation-list-scope' +import type { LegacyAutomationSelector } from '../../../../../shared/automations/ownership/automation-legacy-list-partition' import type { AutomationAuthorityRef, AutomationOwnerRef -} from '../../../../shared/automations/ownership/automation-owner-ref' -import type { AutomationUsageSummary } from '../../../../shared/automations/history/automation-usage-summary' +} from '../../../../../shared/automations/ownership/automation-owner-ref' +import type { AutomationUsageSummary } from '../../../../../shared/automations/history/automation-usage-summary' /** A legacy SSH row carries no registration generation, which is why it can never be fenced. */ export type AutomationHostRowSelector = AutomationListItemSelector | LegacyAutomationSelector diff --git a/src/renderer/src/components/automations/automation-host-cache.test.ts b/src/renderer/src/components/automations/hosts/automation-host-cache.test.ts similarity index 88% rename from src/renderer/src/components/automations/automation-host-cache.test.ts rename to src/renderer/src/components/automations/hosts/automation-host-cache.test.ts index fd6870a6d42..604c343c601 100644 --- a/src/renderer/src/components/automations/automation-host-cache.test.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-cache.test.ts @@ -1,12 +1,12 @@ /** A formerly correct answer can arrive after host replacement; the commit fence must reject it instead of misattributing automations. */ import { describe, expect, it } from 'vitest' -import type { Automation } from '../../../../shared/automations/automation-definition' -import { hostStableKey } from '../../../../shared/automations/ownership/automation-owner-key' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import { hostStableKey } from '../../../../../shared/automations/ownership/automation-owner-key' import type { StableAutomationAuthorityRef, StableAutomationCatalogRef -} from '../../../../shared/automations/ownership/automation-owner-ref' +} from '../../../../../shared/automations/ownership/automation-owner-ref' import { createAutomationHostCache } from './automation-host-cache' import type { AutomationHostRow } from './automation-host-cache-types' @@ -38,14 +38,6 @@ function createCache(overrides: Parameters[0] } describe('automation host cache commit fence', () => { - it('discards a response whose entry was invalidated while it was in flight', () => { - const cache = createCache() - const fence = cache.beginRequest(DESKTOP_SELF) - cache.invalidate(DESKTOP_SELF) - expect(cache.commit(fence, { rows: [row('a')] })).toBe(false) - expect(cache.get(DESKTOP_SELF)?.data).toEqual([]) - }) - it('discards a response whose authority catalog generation advanced', () => { let generation = 7 const cache = createCache({ catalogGeneration: () => generation }) diff --git a/src/renderer/src/components/automations/automation-host-cache.ts b/src/renderer/src/components/automations/hosts/automation-host-cache.ts similarity index 98% rename from src/renderer/src/components/automations/automation-host-cache.ts rename to src/renderer/src/components/automations/hosts/automation-host-cache.ts index 80bed279cd2..edf9ff5aafb 100644 --- a/src/renderer/src/components/automations/automation-host-cache.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-cache.ts @@ -1,11 +1,11 @@ /** Commit only while request, authority-catalog and connection generations match. This rejects stale answers after re-pair, re-registration or host changes; removal tombstones advance the same catalog fence. */ import { getRuntimeEnvironmentRevision } from '@/runtime/rpc/environment-revisions/runtime-environment-revision' -import { hostStableKey } from '../../../../shared/automations/ownership/automation-owner-key' +import { hostStableKey } from '../../../../../shared/automations/ownership/automation-owner-key' import type { StableAutomationAuthorityRef, StableAutomationCatalogRef -} from '../../../../shared/automations/ownership/automation-owner-ref' +} from '../../../../../shared/automations/ownership/automation-owner-ref' import { automationAuthorityCatalogKey } from './automation-host-catalog-types' import { getAuthorityCatalogGeneration } from './automation-host-catalog-generation' import { diff --git a/src/renderer/src/components/automations/automation-host-catalog-generation.ts b/src/renderer/src/components/automations/hosts/automation-host-catalog-generation.ts similarity index 96% rename from src/renderer/src/components/automations/automation-host-catalog-generation.ts rename to src/renderer/src/components/automations/hosts/automation-host-catalog-generation.ts index 89dfb296c72..5fb7d46cf54 100644 --- a/src/renderer/src/components/automations/automation-host-catalog-generation.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-catalog-generation.ts @@ -1,5 +1,5 @@ -import { ownerKey } from '../../../../shared/automations/ownership/automation-owner-key' -import type { StableAutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' +import { ownerKey } from '../../../../../shared/automations/ownership/automation-owner-key' +import type { StableAutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import { automationAuthorityCatalogKey, type AutomationHostCatalog, diff --git a/src/renderer/src/components/automations/automation-host-catalog-order.ts b/src/renderer/src/components/automations/hosts/automation-host-catalog-order.ts similarity index 100% rename from src/renderer/src/components/automations/automation-host-catalog-order.ts rename to src/renderer/src/components/automations/hosts/automation-host-catalog-order.ts diff --git a/src/renderer/src/components/automations/automation-host-catalog-source.ts b/src/renderer/src/components/automations/hosts/automation-host-catalog-source.ts similarity index 91% rename from src/renderer/src/components/automations/automation-host-catalog-source.ts rename to src/renderer/src/components/automations/hosts/automation-host-catalog-source.ts index 8f551e83044..0363304dec1 100644 --- a/src/renderer/src/components/automations/automation-host-catalog-source.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-catalog-source.ts @@ -1,10 +1,10 @@ /** Build catalog input only from mirrored store state. Fold query results into the separate health projection so cache commits cannot trigger generation changes/cancellation. */ -import { getLocalExecutionHostLabel } from '../../../../shared/execution-host' -import { AUTOMATION_LIST_HOST_SCOPE_RUNTIME_CAPABILITY } from '../../../../shared/automations/automation-runtime-capabilities' -import type { RuntimeStatus } from '../../../../shared/runtime-session-contracts' -import type { SshConnectionStatus } from '../../../../shared/ssh-types' -import type { StableAutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' +import { translateLocalExecutionHostLabel } from '@/components/sidebar/execution-host-label' +import { AUTOMATION_LIST_HOST_SCOPE_RUNTIME_CAPABILITY } from '../../../../../shared/automations/automation-runtime-capabilities' +import type { RuntimeStatus } from '../../../../../shared/runtime-session-contracts' +import type { SshConnectionStatus } from '../../../../../shared/ssh-types' +import type { StableAutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import type { AutomationAuthorityHealth, AutomationCatalogSshMirrorInput, @@ -113,7 +113,7 @@ export function buildAutomationHostCatalogSource( ): AutomationHostCatalogInput { return { desktop: { - label: source.desktopLabel ?? getLocalExecutionHostLabel(), + label: source.desktopLabel ?? translateLocalExecutionHostLabel(), // Desktop records status when dialing; no state for a hydrated target means never connected. ssh: toSshMirror(source.desktopSsh, 'disconnected'), ...withOrphanCount(orphanCountFor(source, { kind: 'desktop' })) diff --git a/src/renderer/src/components/automations/automation-host-catalog-types.ts b/src/renderer/src/components/automations/hosts/automation-host-catalog-types.ts similarity index 97% rename from src/renderer/src/components/automations/automation-host-catalog-types.ts rename to src/renderer/src/components/automations/hosts/automation-host-catalog-types.ts index e0d30aef0e4..287be350acc 100644 --- a/src/renderer/src/components/automations/automation-host-catalog-types.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-catalog-types.ts @@ -2,8 +2,8 @@ import type { AutomationOwnerRef, StableAutomationAuthorityRef, StableAutomationCatalogRef -} from '../../../../shared/automations/ownership/automation-owner-ref' -import type { SshConnectionStatus } from '../../../../shared/ssh-types' +} from '../../../../../shared/automations/ownership/automation-owner-ref' +import type { SshConnectionStatus } from '../../../../../shared/ssh-types' /** Authority storage-query health, independent of execution targets; SSH downtime must not prevent listing/editing stored records. */ export type AutomationAuthorityHealth = diff --git a/src/renderer/src/components/automations/automation-host-catalog.ts b/src/renderer/src/components/automations/hosts/automation-host-catalog.ts similarity index 98% rename from src/renderer/src/components/automations/automation-host-catalog.ts rename to src/renderer/src/components/automations/hosts/automation-host-catalog.ts index f70f2c756a9..cc994d823fc 100644 --- a/src/renderer/src/components/automations/automation-host-catalog.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-catalog.ts @@ -1,14 +1,14 @@ import { hostStableKey, parseHostStableKey -} from '../../../../shared/automations/ownership/automation-owner-key' +} from '../../../../../shared/automations/ownership/automation-owner-key' import { translate } from '@/i18n/i18n' import type { AutomationOwnerRef, StableAutomationAuthorityRef, StableAutomationCatalogRef -} from '../../../../shared/automations/ownership/automation-owner-ref' -import { isOwnedSshTargetId } from '../../../../shared/execution-host' +} from '../../../../../shared/automations/ownership/automation-owner-ref' +import { isOwnedSshTargetId } from '../../../../../shared/execution-host' import { automationAuthorityCatalogKey, type AutomationCatalogSshMirrorInput, diff --git a/src/renderer/src/components/automations/automation-host-client.ts b/src/renderer/src/components/automations/hosts/automation-host-client.ts similarity index 91% rename from src/renderer/src/components/automations/automation-host-client.ts rename to src/renderer/src/components/automations/hosts/automation-host-client.ts index 82290fe80db..5c26da354ee 100644 --- a/src/renderer/src/components/automations/automation-host-client.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-client.ts @@ -1,15 +1,15 @@ import { callRuntimeRpc } from '@/runtime/rpc/calls/runtime-rpc-call' -import { getPairedWebClientEnvironmentId } from '@/lib/paired-web-client-host' +import { getPairedWebClientEnvironmentId } from '@/app-shell/platform/paired-web-client-host' import { prepareAutomationLaunchSetup } from './automation-capability-probe' import type { Automation, AutomationCreateInput, AutomationUpdateInput -} from '../../../../shared/automations/automation-definition' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import type { StableAutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' -import { parseExecutionHostId } from '../../../../shared/execution-host' -import type { GlobalSettings } from '../../../../shared/global-settings-types' +} from '../../../../../shared/automations/automation-definition' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' +import type { StableAutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' +import { parseExecutionHostId } from '../../../../../shared/execution-host' +import type { GlobalSettings } from '../../../../../shared/global-settings-types' type RuntimeAutomationCreateInput = Omit< AutomationCreateInput, diff --git a/src/renderer/src/components/automations/automation-host-detail-display.ts b/src/renderer/src/components/automations/hosts/automation-host-detail-display.ts similarity index 90% rename from src/renderer/src/components/automations/automation-host-detail-display.ts rename to src/renderer/src/components/automations/hosts/automation-host-detail-display.ts index b11110667e5..c9c4eba9114 100644 --- a/src/renderer/src/components/automations/automation-host-detail-display.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-detail-display.ts @@ -1,7 +1,7 @@ // Use the catalog row’s storage host: a record’s local target means local to its server. Fall back to that target only for uncaptured legacy rows. -import type { Automation } from '../../../../shared/automations/automation-definition' -import { getExecutionHostLabel, toSshExecutionHostId } from '../../../../shared/execution-host' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import { getExecutionHostLabel, toSshExecutionHostId } from '../../../../../shared/execution-host' import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' export type AutomationHostDetailDisplay = { diff --git a/src/renderer/src/components/automations/automation-host-diagnostics.ts b/src/renderer/src/components/automations/hosts/automation-host-diagnostics.ts similarity index 100% rename from src/renderer/src/components/automations/automation-host-diagnostics.ts rename to src/renderer/src/components/automations/hosts/automation-host-diagnostics.ts diff --git a/src/renderer/src/components/automations/automation-host-fetch-target.ts b/src/renderer/src/components/automations/hosts/automation-host-fetch-target.ts similarity index 91% rename from src/renderer/src/components/automations/automation-host-fetch-target.ts rename to src/renderer/src/components/automations/hosts/automation-host-fetch-target.ts index 93ba4f68668..012edc35c73 100644 --- a/src/renderer/src/components/automations/automation-host-fetch-target.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-fetch-target.ts @@ -1,6 +1,6 @@ /** Manual Retry carries the same catalog incarnation as scheduled work so its response can pass the commit fence. */ -import type { AutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' +import type { AutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' import type { AutomationHostFetchTarget } from './automation-host-scheduler' diff --git a/src/renderer/src/components/automations/automation-host-filter-resolution.ts b/src/renderer/src/components/automations/hosts/automation-host-filter-resolution.ts similarity index 96% rename from src/renderer/src/components/automations/automation-host-filter-resolution.ts rename to src/renderer/src/components/automations/hosts/automation-host-filter-resolution.ts index e7a1c3a3298..37c59e1c21a 100644 --- a/src/renderer/src/components/automations/automation-host-filter-resolution.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-filter-resolution.ts @@ -2,8 +2,8 @@ import { ALL_AUTOMATION_HOSTS_FILTER, automationHostFilterStableKey, type AutomationHostFilter -} from '../../../../shared/automations/ownership/automation-host-filter' -import type { StableAutomationCatalogRef } from '../../../../shared/automations/ownership/automation-owner-ref' +} from '../../../../../shared/automations/ownership/automation-host-filter' +import type { StableAutomationCatalogRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import { automationAuthorityCatalogKey, type AutomationCatalogHydrationEvidence, diff --git a/src/renderer/src/components/automations/automation-host-health.ts b/src/renderer/src/components/automations/hosts/automation-host-health.ts similarity index 97% rename from src/renderer/src/components/automations/automation-host-health.ts rename to src/renderer/src/components/automations/hosts/automation-host-health.ts index 3b9ddbe8bdf..4134f7471f7 100644 --- a/src/renderer/src/components/automations/automation-host-health.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-health.ts @@ -1,4 +1,4 @@ -import type { SshConnectionStatus } from '../../../../shared/ssh-types' +import type { SshConnectionStatus } from '../../../../../shared/ssh-types' import type { AutomationAuthorityHealth, AutomationExecutionHealth, diff --git a/src/renderer/src/components/automations/automation-host-invalidation-window-events.ts b/src/renderer/src/components/automations/hosts/automation-host-invalidation-window-events.ts similarity index 86% rename from src/renderer/src/components/automations/automation-host-invalidation-window-events.ts rename to src/renderer/src/components/automations/hosts/automation-host-invalidation-window-events.ts index 5febf048f5f..10c105787f7 100644 --- a/src/renderer/src/components/automations/automation-host-invalidation-window-events.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-invalidation-window-events.ts @@ -4,8 +4,8 @@ import { AUTOMATIONS_CHANGED_EVENT, automationsChangedWindowDetail, type AutomationsChangedWindowDetail -} from '@/lib/automations-changed-window-event' -import type { StableAutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' +} from '@/components/automations/events/automations-changed-window-event' +import type { StableAutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import type { AutomationAuthorityChangeEvent } from './automation-host-invalidation' export function toAutomationAuthorityChangeEvent( diff --git a/src/renderer/src/components/automations/automation-host-invalidation.ts b/src/renderer/src/components/automations/hosts/automation-host-invalidation.ts similarity index 95% rename from src/renderer/src/components/automations/automation-host-invalidation.ts rename to src/renderer/src/components/automations/hosts/automation-host-invalidation.ts index 5975442852b..41cf40b13f9 100644 --- a/src/renderer/src/components/automations/automation-host-invalidation.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-invalidation.ts @@ -1,10 +1,10 @@ /** Invalidate only the scoped entry or unscoped publisher authority. Coalesce event bursts in one microtask so definition/run/usage writes share one refresh and legacy authority request. */ -import { hostStableKey } from '../../../../shared/automations/ownership/automation-owner-key' +import { hostStableKey } from '../../../../../shared/automations/ownership/automation-owner-key' import type { StableAutomationAuthorityRef, StableAutomationCatalogRef -} from '../../../../shared/automations/ownership/automation-owner-ref' +} from '../../../../../shared/automations/ownership/automation-owner-ref' import { automationAuthorityCatalogKey } from './automation-host-catalog-types' import type { AutomationHostCache } from './automation-host-cache' diff --git a/src/renderer/src/components/automations/automation-host-list-rows.test.ts b/src/renderer/src/components/automations/hosts/automation-host-list-rows.test.ts similarity index 89% rename from src/renderer/src/components/automations/automation-host-list-rows.test.ts rename to src/renderer/src/components/automations/hosts/automation-host-list-rows.test.ts index 3ea5c7d8d3a..d0cfa3336b8 100644 --- a/src/renderer/src/components/automations/automation-host-list-rows.test.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-list-rows.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it } from 'vitest' -import type { Automation } from '../../../../shared/automations/automation-definition' +import type { Automation } from '../../../../../shared/automations/automation-definition' import type { AutomationHostCacheEntry, AutomationHostRow } from './automation-host-cache-types' import type { AutomationHostCatalog, @@ -101,19 +101,6 @@ const ALL_HOSTS: AutomationHostFilterResolution = { } describe('automation host list rows', () => { - it('reports nothing answered until a host has actually committed', () => { - const rows = resolveAutomationHostListRows({ - catalog: catalogOf([DESKTOP_SELF]), - resolution: ALL_HOSTS, - entry: () => cached([], null) - }) - - // Why this matters: the caller keeps its own list while this is false, so a - // never-answered host must not read as an empty one. - expect(rows.answered).toBe(false) - expect(rows.automations).toEqual([]) - }) - it('keeps the owned copy when the orphan scope returns the same record', () => { const owned = row('a-1', DESKTOP_SELF.owner) const rows = resolveAutomationHostListRows({ diff --git a/src/renderer/src/components/automations/automation-host-list-rows.ts b/src/renderer/src/components/automations/hosts/automation-host-list-rows.ts similarity index 97% rename from src/renderer/src/components/automations/automation-host-list-rows.ts rename to src/renderer/src/components/automations/hosts/automation-host-list-rows.ts index 49fff53429c..00f6c079052 100644 --- a/src/renderer/src/components/automations/automation-host-list-rows.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-list-rows.ts @@ -1,6 +1,6 @@ /** Keep host origin on every visible row. Until a host in view commits an answer, preserve the caller’s prior rows instead of claiming an empty result. */ -import type { Automation } from '../../../../shared/automations/automation-definition' +import type { Automation } from '../../../../../shared/automations/automation-definition' import type { AutomationHostCacheEntry } from './automation-host-cache-types' import type { AutomationHostCatalog, @@ -17,7 +17,7 @@ import { automationAuthorityRecordKey, automationListRowKey, type AutomationListRow -} from './automation-list-row-identity' +} from '../listing/automation-list-row-identity' export type AutomationHostGroupHost = { entry: AutomationHostCatalogEntry diff --git a/src/renderer/src/components/automations/automation-host-picker-groups.ts b/src/renderer/src/components/automations/hosts/automation-host-picker-groups.ts similarity index 100% rename from src/renderer/src/components/automations/automation-host-picker-groups.ts rename to src/renderer/src/components/automations/hosts/automation-host-picker-groups.ts diff --git a/src/renderer/src/components/automations/automation-host-recovery.ts b/src/renderer/src/components/automations/hosts/automation-host-recovery.ts similarity index 95% rename from src/renderer/src/components/automations/automation-host-recovery.ts rename to src/renderer/src/components/automations/hosts/automation-host-recovery.ts index d88e3fd9714..85ce009ae60 100644 --- a/src/renderer/src/components/automations/automation-host-recovery.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-recovery.ts @@ -1,6 +1,6 @@ /** Use descriptor recovery verbs; reconnect the failed runtime or SSH target, and route Update server to version management. */ -import type { SettingsNavigationTarget } from '@/lib/settings-navigation-types' +import type { SettingsNavigationTarget } from '@/components/settings/navigation/settings-navigation-types' import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' import type { AutomationHostRecoveryAction } from './automation-host-status-descriptors' diff --git a/src/renderer/src/components/automations/automation-host-request-instrumentation.ts b/src/renderer/src/components/automations/hosts/automation-host-request-instrumentation.ts similarity index 94% rename from src/renderer/src/components/automations/automation-host-request-instrumentation.ts rename to src/renderer/src/components/automations/hosts/automation-host-request-instrumentation.ts index ffc9ac610c7..2e3717e8494 100644 --- a/src/renderer/src/components/automations/automation-host-request-instrumentation.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-request-instrumentation.ts @@ -1,7 +1,7 @@ /** Translate scheduler work into counters: legacy requests/dedupe/discards belong to an authority, never one stable host key. */ -import { hostStableKey } from '../../../../shared/automations/ownership/automation-owner-key' -import type { StableAutomationCatalogRef } from '../../../../shared/automations/ownership/automation-owner-ref' +import { hostStableKey } from '../../../../../shared/automations/ownership/automation-owner-key' +import type { StableAutomationCatalogRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import { automationAuthorityCatalogKey, type AutomationHostQuerySupport diff --git a/src/renderer/src/components/automations/automation-host-retry-schedule.ts b/src/renderer/src/components/automations/hosts/automation-host-retry-schedule.ts similarity index 100% rename from src/renderer/src/components/automations/automation-host-retry-schedule.ts rename to src/renderer/src/components/automations/hosts/automation-host-retry-schedule.ts diff --git a/src/renderer/src/components/automations/automation-host-scheduler-plan.ts b/src/renderer/src/components/automations/hosts/automation-host-scheduler-plan.ts similarity index 95% rename from src/renderer/src/components/automations/automation-host-scheduler-plan.ts rename to src/renderer/src/components/automations/hosts/automation-host-scheduler-plan.ts index 3c54f554361..084aa46a14a 100644 --- a/src/renderer/src/components/automations/automation-host-scheduler-plan.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-scheduler-plan.ts @@ -1,6 +1,6 @@ /** Capture fences only for requests that survive dedupe, freshness, in-flight and retry-cooldown checks. */ -import { hostStableKey } from '../../../../shared/automations/ownership/automation-owner-key' +import { hostStableKey } from '../../../../../shared/automations/ownership/automation-owner-key' import type { AutomationHostCache } from './automation-host-cache' import type { AutomationHostRequestFence } from './automation-host-cache-types' import type { AutomationHostFetchTarget } from './automation-host-scheduler' diff --git a/src/renderer/src/components/automations/automation-host-scheduler-queue.ts b/src/renderer/src/components/automations/hosts/automation-host-scheduler-queue.ts similarity index 100% rename from src/renderer/src/components/automations/automation-host-scheduler-queue.ts rename to src/renderer/src/components/automations/hosts/automation-host-scheduler-queue.ts diff --git a/src/renderer/src/components/automations/automation-host-scheduler.test.ts b/src/renderer/src/components/automations/hosts/automation-host-scheduler.test.ts similarity index 97% rename from src/renderer/src/components/automations/automation-host-scheduler.test.ts rename to src/renderer/src/components/automations/hosts/automation-host-scheduler.test.ts index b882f6a87f3..a0856d22542 100644 --- a/src/renderer/src/components/automations/automation-host-scheduler.test.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-scheduler.test.ts @@ -1,13 +1,13 @@ /** Enforce four pooled calls, one legacy authority call per cycle and no run-history fetch to fill missing usage. */ import { describe, expect, it, vi } from 'vitest' -import type { Automation } from '../../../../shared/automations/automation-definition' +import type { Automation } from '../../../../../shared/automations/automation-definition' import type { AutomationAuthorityRef, StableAutomationAuthorityRef, StableAutomationCatalogRef -} from '../../../../shared/automations/ownership/automation-owner-ref' +} from '../../../../../shared/automations/ownership/automation-owner-ref' import { createAutomationHostCache, type AutomationHostCache } from './automation-host-cache' import type { AutomationHostQuerySupport } from './automation-host-catalog-types' import { diff --git a/src/renderer/src/components/automations/automation-host-scheduler.ts b/src/renderer/src/components/automations/hosts/automation-host-scheduler.ts similarity index 95% rename from src/renderer/src/components/automations/automation-host-scheduler.ts rename to src/renderer/src/components/automations/hosts/automation-host-scheduler.ts index 32b0cb5079a..5b0e2574c56 100644 --- a/src/renderer/src/components/automations/automation-host-scheduler.ts +++ b/src/renderer/src/components/automations/hosts/automation-host-scheduler.ts @@ -1,15 +1,15 @@ /** Fetch through four pooled calls, share each legacy authority answer across its entries, and publish only responses that pass the cache fence. */ -import type { Automation } from '../../../../shared/automations/automation-definition' -import type { AutomationListScopeSelector } from '../../../../shared/automations/ownership/automation-list-scope' -import type { LegacyAutomationPartitionContext } from '../../../../shared/automations/ownership/automation-legacy-list-partition' -import { hostStableKey } from '../../../../shared/automations/ownership/automation-owner-key' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import type { AutomationListScopeSelector } from '../../../../../shared/automations/ownership/automation-list-scope' +import type { LegacyAutomationPartitionContext } from '../../../../../shared/automations/ownership/automation-legacy-list-partition' +import { hostStableKey } from '../../../../../shared/automations/ownership/automation-owner-key' import type { AutomationAuthorityRef, AutomationOwnerRef, StableAutomationAuthorityRef, StableAutomationCatalogRef -} from '../../../../shared/automations/ownership/automation-owner-ref' +} from '../../../../../shared/automations/ownership/automation-owner-ref' import { automationAuthorityCatalogKey, type AutomationHostQuerySupport @@ -20,8 +20,8 @@ import { partitionLegacyAutomationHostRows, toScopedAutomationHostRows } from './automation-host-cache-rows' +import { AutomationHostScopeUnsupportedError } from './automation-capability-probe' import { - AutomationHostScopeUnsupportedError, listLegacyAutomations, listScopedAutomations, type ScopedAutomationList diff --git a/src/renderer/src/components/automations/automation-host-scope-descriptors.ts b/src/renderer/src/components/automations/hosts/automation-host-scope-descriptors.ts similarity index 100% rename from src/renderer/src/components/automations/automation-host-scope-descriptors.ts rename to src/renderer/src/components/automations/hosts/automation-host-scope-descriptors.ts diff --git a/src/renderer/src/components/automations/automation-host-status-descriptors.ts b/src/renderer/src/components/automations/hosts/automation-host-status-descriptors.ts similarity index 100% rename from src/renderer/src/components/automations/automation-host-status-descriptors.ts rename to src/renderer/src/components/automations/hosts/automation-host-status-descriptors.ts diff --git a/src/renderer/src/components/automations/automation-notice-recovery-host.ts b/src/renderer/src/components/automations/hosts/automation-notice-recovery-host.ts similarity index 77% rename from src/renderer/src/components/automations/automation-notice-recovery-host.ts rename to src/renderer/src/components/automations/hosts/automation-notice-recovery-host.ts index b16c90ed33d..c17281e0677 100644 --- a/src/renderer/src/components/automations/automation-notice-recovery-host.ts +++ b/src/renderer/src/components/automations/hosts/automation-notice-recovery-host.ts @@ -1,7 +1,7 @@ /** Recover against the refused row’s captured owner or create destination; the list filter may point elsewhere or to All hosts. */ -import { hostStableKey } from '../../../../shared/automations/ownership/automation-owner-key' -import type { AutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' +import { hostStableKey } from '../../../../../shared/automations/ownership/automation-owner-key' +import type { AutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import type { AutomationCapturedOwner } from './automation-captured-owner' import type { AutomationHostCatalog, diff --git a/src/renderer/src/components/automations/automation-owner-action-runner.ts b/src/renderer/src/components/automations/hosts/automation-owner-action-runner.ts similarity index 94% rename from src/renderer/src/components/automations/automation-owner-action-runner.ts rename to src/renderer/src/components/automations/hosts/automation-owner-action-runner.ts index 069da14a8f5..e3e5ee0a403 100644 --- a/src/renderer/src/components/automations/automation-owner-action-runner.ts +++ b/src/renderer/src/components/automations/hosts/automation-owner-action-runner.ts @@ -4,30 +4,30 @@ import type { Automation, AutomationCreateInput, AutomationUpdateInput -} from '../../../../shared/automations/automation-definition' +} from '../../../../../shared/automations/automation-definition' import type { AutomationRun, AutomationRunsPage -} from '../../../../shared/automations/history/automation-run' +} from '../../../../../shared/automations/history/automation-run' import { automationOwnerConflictMessage, matchAutomationOwnerConflict, stripAutomationOwnerConflictCode, type AutomationOwnerConflictCode -} from '../../../../shared/automations/ownership/automation-owner-conflict' +} from '../../../../../shared/automations/ownership/automation-owner-conflict' import type { AutomationAuthorityRef, AutomationOwnerRef -} from '../../../../shared/automations/ownership/automation-owner-ref' -import type { AutomationDestination } from '../../../../shared/automations/ownership/automation-owner-precondition' +} from '../../../../../shared/automations/ownership/automation-owner-ref' +import type { AutomationDestination } from '../../../../../shared/automations/ownership/automation-owner-precondition' import { translate } from '@/i18n/i18n' import type { AutomationActionAvailability, AutomationActionBlock } from './automation-captured-owner' import type { AutomationHostRecoveryAction } from './automation-host-status-descriptors' +import { AutomationHostScopeUnsupportedError } from './automation-capability-probe' import { - AutomationHostScopeUnsupportedError, createAutomationForDestination, deleteAutomationForOwner, deleteOrphanAutomation, diff --git a/src/renderer/src/components/automations/automation-row-action-dispatch.ts b/src/renderer/src/components/automations/hosts/automation-row-action-dispatch.ts similarity index 94% rename from src/renderer/src/components/automations/automation-row-action-dispatch.ts rename to src/renderer/src/components/automations/hosts/automation-row-action-dispatch.ts index f42209f22bd..ccffe685eb5 100644 --- a/src/renderer/src/components/automations/automation-row-action-dispatch.ts +++ b/src/renderer/src/components/automations/hosts/automation-row-action-dispatch.ts @@ -3,13 +3,13 @@ import type { Automation, AutomationUpdateInput -} from '../../../../shared/automations/automation-definition' +} from '../../../../../shared/automations/automation-definition' import type { AutomationRun, AutomationRunsPage -} from '../../../../shared/automations/history/automation-run' -import type { AutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' -import type { AutomationDestination } from '../../../../shared/automations/ownership/automation-owner-precondition' +} from '../../../../../shared/automations/history/automation-run' +import type { AutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' +import type { AutomationDestination } from '../../../../../shared/automations/ownership/automation-owner-precondition' import { automationActionAvailability, capturedAutomationOwner, diff --git a/src/renderer/src/components/automations/automation-run-context-host-match.ts b/src/renderer/src/components/automations/hosts/automation-run-context-host-match.ts similarity index 89% rename from src/renderer/src/components/automations/automation-run-context-host-match.ts rename to src/renderer/src/components/automations/hosts/automation-run-context-host-match.ts index 72eb4951ef4..1508d24cd76 100644 --- a/src/renderer/src/components/automations/automation-run-context-host-match.ts +++ b/src/renderer/src/components/automations/hosts/automation-run-context-host-match.ts @@ -1,11 +1,11 @@ import type { AutomationHostTarget } from './automation-host-client' -import type { ProjectHostSetup } from '../../../../shared/project-types' -import type { Repo } from '../../../../shared/repo-types' +import type { ProjectHostSetup } from '../../../../../shared/project-types' +import type { Repo } from '../../../../../shared/repo-types' import { getRepoExecutionHostId, getRepoSshConnectionId, toSshExecutionHostId -} from '../../../../shared/execution-host' +} from '../../../../../shared/execution-host' function getRuntimeTargetHostId(target: AutomationHostTarget | null | undefined): string | null { return target?.kind === 'environment' diff --git a/src/renderer/src/components/automations/automation-scoped-list-client.ts b/src/renderer/src/components/automations/hosts/automation-scoped-list-client.ts similarity index 93% rename from src/renderer/src/components/automations/automation-scoped-list-client.ts rename to src/renderer/src/components/automations/hosts/automation-scoped-list-client.ts index b8e6ee654f4..7bae5db087d 100644 --- a/src/renderer/src/components/automations/automation-scoped-list-client.ts +++ b/src/renderer/src/components/automations/hosts/automation-scoped-list-client.ts @@ -1,31 +1,31 @@ /** Pin runtime pairing revisions and SSH registration generations to captured owners. Validate responses: an old host may ignore selectors and return other hosts’ rows. */ import { callRuntimeRpc } from '@/runtime/rpc/calls/runtime-rpc-call' -import type { RuntimeClientTarget } from '../../../../shared/runtime-client-target' +import type { RuntimeClientTarget } from '../../../../../shared/runtime-client-target' import type { Automation, AutomationCreateInput, AutomationUpdateInput -} from '../../../../shared/automations/automation-definition' +} from '../../../../../shared/automations/automation-definition' import type { AutomationRun, AutomationRunsPage -} from '../../../../shared/automations/history/automation-run' +} from '../../../../../shared/automations/history/automation-run' import type { AutomationListResult, AutomationListScopeSelector -} from '../../../../shared/automations/ownership/automation-list-scope' -import { validateAutomationListResponse } from '../../../../shared/automations/ownership/automation-list-response' +} from '../../../../../shared/automations/ownership/automation-list-scope' +import { validateAutomationListResponse } from '../../../../../shared/automations/ownership/automation-list-response' import type { AutomationAuthorityRef, AutomationOwnerRef -} from '../../../../shared/automations/ownership/automation-owner-ref' +} from '../../../../../shared/automations/ownership/automation-owner-ref' /** The one classifier every client shares; re-exported so call sites keep importing it from here. */ import type { AutomationDestination, AutomationOwnerPrecondition -} from '../../../../shared/automations/ownership/automation-owner-precondition' +} from '../../../../../shared/automations/ownership/automation-owner-precondition' import { toRuntimeAutomationCreateInput, toRuntimeAutomationUpdateInput @@ -35,18 +35,13 @@ import { prepareAutomationLaunchSetup, assertOwnerFencingSupported, assertAutomationCreateIdempotencySupported, - AUTOMATION_LIST_HOST_SCOPE_RUNTIME_CAPABILITY, - AUTOMATION_LIST_HOST_SCOPE_UPDATE_REQUIRED_MESSAGE, AutomationHostScopeUnsupportedError, REQUEST_TIMEOUT_MS } from './automation-capability-probe' - -export { - AutomationHostScopeUnsupportedError, - AUTHORITY_CAPABILITY_CONFIRMATION_TTL_MS, - AUTHORITY_CAPABILITY_CONFIRMATION_MAX, - resetAutomationCapabilityProbes -} from './automation-capability-probe' +import { + AUTOMATION_LIST_HOST_SCOPE_RUNTIME_CAPABILITY, + AUTOMATION_LIST_HOST_SCOPE_UPDATE_REQUIRED_MESSAGE +} from '../../../../../shared/automations/automation-runtime-capabilities' export class AutomationListResponseError extends Error { readonly code = 'invalid_response' diff --git a/src/renderer/src/components/automations/automation-target-availability-types.ts b/src/renderer/src/components/automations/hosts/automation-target-availability-types.ts similarity index 100% rename from src/renderer/src/components/automations/automation-target-availability-types.ts rename to src/renderer/src/components/automations/hosts/automation-target-availability-types.ts diff --git a/src/renderer/src/components/automations/automation-target-availability.ts b/src/renderer/src/components/automations/hosts/automation-target-availability.ts similarity index 88% rename from src/renderer/src/components/automations/automation-target-availability.ts rename to src/renderer/src/components/automations/hosts/automation-target-availability.ts index 4331ad20838..1e04f05cdad 100644 --- a/src/renderer/src/components/automations/automation-target-availability.ts +++ b/src/renderer/src/components/automations/hosts/automation-target-availability.ts @@ -2,30 +2,29 @@ import { automationHostReselectionMessage, type AutomationCapturedOwner } from './automation-captured-owner' -import type { Automation } from '../../../../shared/automations/automation-definition' -import { parseExecutionHostId } from '../../../../shared/execution-host' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import { parseExecutionHostId } from '../../../../../shared/execution-host' import { setupHostMatchesRunContext, repoHostMatchesRunContext } from './automation-run-context-host-match' -import { evaluateRuntimeCompat } from '../../../../shared/protocol-compat' -import { describeRuntimeCompatBlock } from '@/lib/runtime-host-copy' +import { evaluateRuntimeCompat } from '../../../../../shared/protocol-compat' +import { describeRuntimeCompatBlock } from '@/runtime/hosts/display/runtime-host-copy' import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' import { MIN_COMPATIBLE_RUNTIME_SERVER_VERSION, RUNTIME_PROTOCOL_VERSION -} from '../../../../shared/protocol-version' +} from '../../../../../shared/protocol-version' import type { AutomationHostTarget } from './automation-host-client' -import type { SshConnectionState } from '../../../../shared/ssh-types' -import type { ProjectHostSetup } from '../../../../shared/project-types' -import type { Repo } from '../../../../shared/repo-types' -import type { RuntimeEnvironmentStatus } from '../../../../shared/remote-runtime/host-status/runtime-host-status' -import type { Worktree } from '../../../../shared/worktree/types' -import type { RuntimeEnvironmentSshBucket } from '../../store/slices/ssh/runtime-environment-ssh' +import type { SshConnectionState } from '../../../../../shared/ssh-types' +import type { ProjectHostSetup } from '../../../../../shared/project-types' +import type { Repo } from '../../../../../shared/repo-types' +import type { RuntimeEnvironmentStatus } from '../../../../../shared/remote-runtime/host-status/runtime-host-status' +import type { Worktree } from '../../../../../shared/worktree/types' +import type { RuntimeEnvironmentSshBucket } from '../../../store/slices/ssh/runtime-environment-ssh' import type { AutomationTargetAvailability } from './automation-target-availability-types' -export type { AutomationTargetAvailability } from './automation-target-availability-types' type AutomationTargetAvailabilityArgs = { automation: Automation diff --git a/src/renderer/src/components/automations/automation-write-invalidation.ts b/src/renderer/src/components/automations/hosts/automation-write-invalidation.ts similarity index 92% rename from src/renderer/src/components/automations/automation-write-invalidation.ts rename to src/renderer/src/components/automations/hosts/automation-write-invalidation.ts index d774e435bf9..012b54ebb9d 100644 --- a/src/renderer/src/components/automations/automation-write-invalidation.ts +++ b/src/renderer/src/components/automations/hosts/automation-write-invalidation.ts @@ -1,11 +1,11 @@ /** Invalidate immediately from the completed write’s known host instead of waiting for a droppable change event. Uncaptured rows invalidate their authority without guessing a selector. */ -import { toStableCatalogRef } from '../../../../shared/automations/ownership/automation-owner-key' +import { toStableCatalogRef } from '../../../../../shared/automations/ownership/automation-owner-key' import type { AutomationAuthorityRef, StableAutomationAuthorityRef, StableAutomationCatalogRef -} from '../../../../shared/automations/ownership/automation-owner-ref' +} from '../../../../../shared/automations/ownership/automation-owner-ref' import type { AutomationCapturedOwner } from './automation-captured-owner' import type { AutomationAuthorityChangeEvent, diff --git a/src/renderer/src/components/automations/use-automation-desktop-ssh-registrations.ts b/src/renderer/src/components/automations/hosts/use-automation-desktop-ssh-registrations.ts similarity index 86% rename from src/renderer/src/components/automations/use-automation-desktop-ssh-registrations.ts rename to src/renderer/src/components/automations/hosts/use-automation-desktop-ssh-registrations.ts index 43995eb14de..5a649d19da2 100644 --- a/src/renderer/src/components/automations/use-automation-desktop-ssh-registrations.ts +++ b/src/renderer/src/components/automations/hosts/use-automation-desktop-ssh-registrations.ts @@ -1,4 +1,4 @@ -import { useAppStore } from '../../store' +import { useAppStore } from '../../../store/index' /** Use the live store’s registration generations instead of per-mount listTargets IPC. Omit unknown generations so only that host stays view-only; never guess a fence. */ export function useAutomationDesktopSshRegistrations(): ReadonlyMap { diff --git a/src/renderer/src/components/automations/use-automation-host-catalog-readoption.test.tsx b/src/renderer/src/components/automations/hosts/use-automation-host-catalog-readoption.test.tsx similarity index 95% rename from src/renderer/src/components/automations/use-automation-host-catalog-readoption.test.tsx rename to src/renderer/src/components/automations/hosts/use-automation-host-catalog-readoption.test.tsx index e94702866d9..ccf2fb37ec7 100644 --- a/src/renderer/src/components/automations/use-automation-host-catalog-readoption.test.tsx +++ b/src/renderer/src/components/automations/hosts/use-automation-host-catalog-readoption.test.tsx @@ -5,15 +5,15 @@ import { act } from 'react' import { createRoot, type Root } from 'react-dom/client' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { Automation } from '../../../../shared/automations/automation-definition' -import type { AutomationListScopeSelector } from '../../../../shared/automations/ownership/automation-list-scope' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import type { AutomationListScopeSelector } from '../../../../../shared/automations/ownership/automation-list-scope' import type { AppState } from '@/store/types' import type { AutomationHostCatalogView } from './use-automation-host-catalog' import { resetAutomationHostCatalogGenerationsForTests } from './automation-host-catalog-generation' const mocks = vi.hoisted(() => ({ state: {} as Record })) -vi.mock('@/store', () => { +vi.mock('@/store/index', () => { const useAppStore = (selector: (state: Partial) => unknown): unknown => selector(mocks.state as Partial) useAppStore.getState = (): Partial => mocks.state as Partial diff --git a/src/renderer/src/components/automations/use-automation-host-catalog-source-state.ts b/src/renderer/src/components/automations/hosts/use-automation-host-catalog-source-state.ts similarity index 92% rename from src/renderer/src/components/automations/use-automation-host-catalog-source-state.ts rename to src/renderer/src/components/automations/hosts/use-automation-host-catalog-source-state.ts index a658252b09e..d6417c6a75a 100644 --- a/src/renderer/src/components/automations/use-automation-host-catalog-source-state.ts +++ b/src/renderer/src/components/automations/hosts/use-automation-host-catalog-source-state.ts @@ -1,8 +1,8 @@ import { useMemo } from 'react' -import { useAppStore } from '@/store' -import { getPairedWebClientEnvironmentId } from '@/lib/paired-web-client-host' -import type { PublicKnownRuntimeEnvironment } from '../../../../shared/remote-runtime/host-catalog/runtime-environments' -import { getManagedOrcadSshTargetId } from '../../../../shared/execution-host/managed-orcad-execution-host' +import { useAppStore } from '@/store/index' +import { getPairedWebClientEnvironmentId } from '@/app-shell/platform/paired-web-client-host' +import type { PublicKnownRuntimeEnvironment } from '../../../../../shared/remote-runtime/host-catalog/runtime-environments' +import { getManagedOrcadSshTargetId } from '../../../../../shared/execution-host/managed-orcad-execution-host' import type { AutomationCatalogRuntimeSource, AutomationCatalogSshSource, diff --git a/src/renderer/src/components/automations/use-automation-host-catalog.test.tsx b/src/renderer/src/components/automations/hosts/use-automation-host-catalog.test.tsx similarity index 92% rename from src/renderer/src/components/automations/use-automation-host-catalog.test.tsx rename to src/renderer/src/components/automations/hosts/use-automation-host-catalog.test.tsx index 66ebd9b17c6..fc9acfc0d80 100644 --- a/src/renderer/src/components/automations/use-automation-host-catalog.test.tsx +++ b/src/renderer/src/components/automations/hosts/use-automation-host-catalog.test.tsx @@ -5,9 +5,9 @@ import { act } from 'react' import { createRoot, type Root } from 'react-dom/client' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { Automation } from '../../../../shared/automations/automation-definition' +import type { Automation } from '../../../../../shared/automations/automation-definition' import type { AppState } from '@/store/types' -import type { Repo } from '../../../../shared/repo-types' +import type { Repo } from '../../../../../shared/repo-types' import type { AutomationHostCatalogView } from './use-automation-host-catalog' const mocks = vi.hoisted(() => ({ @@ -16,7 +16,7 @@ const mocks = vi.hoisted(() => ({ getRuntimeEnvironmentStatus: vi.fn() })) -vi.mock('@/store', () => { +vi.mock('@/store/index', () => { const useAppStore = (selector: (state: Partial) => unknown): unknown => selector(mocks.state as Partial) useAppStore.getState = (): Partial => mocks.state as Partial @@ -164,17 +164,6 @@ afterEach(async () => { document.body.innerHTML = '' }) -describe('useAutomationHostCatalog orphan bootstrap', () => { - it('projects the orphan entry a host answer reported', async () => { - desktopListScoped.mockResolvedValue({ automations: [], items: [], orphanCount: 2 }) - - await renderCatalog([]) - - // Committed orphan counts arrive only through cache changes; rederive the catalog without requiring a store write. - expect(view?.catalog.entries.map((entry) => entry.stableKey)).toContain('host:desktop:orphan') - }) -}) - describe('useAutomationHostCatalog on a paired web client', () => { const runtimeSelf = { authority: { kind: 'runtime', environmentId: ENVIRONMENT_ID }, diff --git a/src/renderer/src/components/automations/use-automation-host-catalog.ts b/src/renderer/src/components/automations/hosts/use-automation-host-catalog.ts similarity index 93% rename from src/renderer/src/components/automations/use-automation-host-catalog.ts rename to src/renderer/src/components/automations/hosts/use-automation-host-catalog.ts index 8ed6fbfbb4f..08e0cfd6c57 100644 --- a/src/renderer/src/components/automations/use-automation-host-catalog.ts +++ b/src/renderer/src/components/automations/hosts/use-automation-host-catalog.ts @@ -1,10 +1,11 @@ import { useCallback, useEffect, useEffectEvent, useMemo, useRef, useState } from 'react' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { useUiLanguageRevision } from '@/i18n/use-ui-language-revision' -import { getHostDisplayLabelOverrides } from '../../../../shared/host-setting-overrides' -import { getLocalExecutionHostLabel } from '../../../../shared/execution-host' -import type { AutomationHostFilter } from '../../../../shared/automations/ownership/automation-host-filter' -import type { StableAutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' +import { getHostDisplayLabelOverrides } from '../../../../../shared/host-setting-overrides' +import { translateLocalExecutionHostLabel } from '@/components/sidebar/execution-host-label' +import { useTranslate } from '@/i18n/use-translate' +import type { AutomationHostFilter } from '../../../../../shared/automations/ownership/automation-host-filter' +import type { StableAutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import { buildAutomationHostCatalog } from './automation-host-catalog' import { subscribeAutomationHostInvalidation } from './automation-host-invalidation-window-events' import { buildAutomationHostCatalogSource } from './automation-host-catalog-source' @@ -23,7 +24,7 @@ import type { AutomationHostCatalog, AutomationHostCatalogEntry } from './automation-host-catalog-types' -import { automationHostFilterStableKey } from '../../../../shared/automations/ownership/automation-host-filter' +import { automationHostFilterStableKey } from '../../../../../shared/automations/ownership/automation-host-filter' import { foldDesktopHostFilter, resolveAutomationHostFilter, @@ -74,6 +75,7 @@ export type AutomationHostCatalogOptions = { export function useAutomationHostCatalog( options: AutomationHostCatalogOptions = {} ): AutomationHostCatalogView { + const t = useTranslate() const settings = useAppStore((s) => s.settings) const repos = useAppStore((s) => s.repos) const runtimeEnvironments = useAppStore((s) => s.runtimeEnvironments) @@ -84,8 +86,10 @@ export function useAutomationHostCatalog( const desktopSshGenerations = useAutomationDesktopSshRegistrations() const desktopLabel = useMemo( - () => getHostDisplayLabelOverrides(settings).get('local') ?? getLocalExecutionHostLabel(), - [settings] + () => + getHostDisplayLabelOverrides(settings).get('local') ?? + translateLocalExecutionHostLabel(undefined, t), + [settings, t] ) // The controller outlives renders; its partition callback needs current authority repo tables. const repoTables = useMemo(() => groupReposByAutomationAuthority(repos), [repos]) diff --git a/src/renderer/src/components/automations/AutomationListEmptyView.tsx b/src/renderer/src/components/automations/listing/AutomationListEmptyView.tsx similarity index 94% rename from src/renderer/src/components/automations/AutomationListEmptyView.tsx rename to src/renderer/src/components/automations/listing/AutomationListEmptyView.tsx index cb7d0b1ace5..9f3a330ca63 100644 --- a/src/renderer/src/components/automations/AutomationListEmptyView.tsx +++ b/src/renderer/src/components/automations/listing/AutomationListEmptyView.tsx @@ -1,6 +1,6 @@ import React from 'react' import { Button } from '@/components/ui/button' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { resolveAutomationListEmptyState, type AutomationListEmptyStateInput @@ -8,7 +8,7 @@ import { import { recoveryActionLabel, type AutomationHostRecoveryAction -} from './automation-host-status-descriptors' +} from '../hosts/automation-host-status-descriptors' import { useTranslate } from '@/i18n/use-translate' /** Renders whichever empty/partial/failure state the list is in; nothing when rows exist. */ diff --git a/src/renderer/src/components/automations/AutomationListExternalRow.tsx b/src/renderer/src/components/automations/listing/AutomationListExternalRow.tsx similarity index 91% rename from src/renderer/src/components/automations/AutomationListExternalRow.tsx rename to src/renderer/src/components/automations/listing/AutomationListExternalRow.tsx index 026918baa58..d3e1f56aef4 100644 --- a/src/renderer/src/components/automations/AutomationListExternalRow.tsx +++ b/src/renderer/src/components/automations/listing/AutomationListExternalRow.tsx @@ -15,29 +15,32 @@ import { DropdownMenuTrigger } from '@/components/ui/dropdown-menu' import { Button } from '@/components/ui/button' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import type { ExternalAutomationAction, ExternalAutomationJob, ExternalAutomationManager -} from '../../../../shared/automations/external/external-automation' -import type { SshConnectionState } from '../../../../shared/ssh-types' -import type { ExternalAutomationListEntry } from './external-automation-list-entries' -import type { ExternalAutomationScope } from './external-automation-scope-client' +} from '../../../../../shared/automations/external/external-automation' +import type { SshConnectionState } from '../../../../../shared/ssh-types' +import type { ExternalAutomationListEntry } from '../external/external-automation-list-entries' +import type { ExternalAutomationScope } from '../external/external-automation-scope-client' import { formatExternalDate, getExternalProviderLabel, getExternalTargetKindLabel -} from './external-automation-display' -import { getExternalAutomationScheduleDisplay } from './external-automation-schedule-display' -import { getExternalAutomationActionDisabledMessage } from './external-automation-source-availability' +} from '../external/external-automation-display' +import { getExternalAutomationScheduleDisplay } from '../external/external-automation-schedule-display' +import { getExternalAutomationActionDisabledMessage } from '../external/external-automation-source-availability' import { AUTOMATIONS_TABLE_GRID_CLASS } from './automations-table-layout' import { LIST_TABLE_ROW_CLASS, LIST_TABLE_ROW_SELECTED_CLASS, LIST_TABLE_STICKY_ROW_CELL_CLASS -} from '@/lib/list-table-layout' -import { isPortaledRowMenuClick, isRowActivationKey } from '@/lib/list-row-interaction' +} from '@/lib/list-interaction/list-table-layout' +import { + isPortaledRowMenuClick, + isRowActivationKey +} from '@/lib/list-interaction/list-row-interaction' import { getExternalAutomationLastRunSnapshot } from './automation-list-last-run' import { AutomationListLastRunCell } from './AutomationListLastRunCell' import { AutomationListStatusCell } from './AutomationListStatusCell' diff --git a/src/renderer/src/components/automations/AutomationListExternalRows.tsx b/src/renderer/src/components/automations/listing/AutomationListExternalRows.tsx similarity index 85% rename from src/renderer/src/components/automations/AutomationListExternalRows.tsx rename to src/renderer/src/components/automations/listing/AutomationListExternalRows.tsx index 3ed78fc2a69..c3e802ea80a 100644 --- a/src/renderer/src/components/automations/AutomationListExternalRows.tsx +++ b/src/renderer/src/components/automations/listing/AutomationListExternalRows.tsx @@ -1,5 +1,5 @@ import React from 'react' -import type { ExternalAutomationListEntry } from './external-automation-list-entries' +import type { ExternalAutomationListEntry } from '../external/external-automation-list-entries' import { AutomationListExternalRow, type AutomationListExternalRowProps diff --git a/src/renderer/src/components/automations/AutomationListFilterMenu.tsx b/src/renderer/src/components/automations/listing/AutomationListFilterMenu.tsx similarity index 98% rename from src/renderer/src/components/automations/AutomationListFilterMenu.tsx rename to src/renderer/src/components/automations/listing/AutomationListFilterMenu.tsx index cc11fbcad2f..c097d880e28 100644 --- a/src/renderer/src/components/automations/AutomationListFilterMenu.tsx +++ b/src/renderer/src/components/automations/listing/AutomationListFilterMenu.tsx @@ -23,7 +23,7 @@ import { useTranslate } from '@/i18n/use-translate' import { useBoundedHostRows } from '@/components/host-picker/use-bounded-host-rows' import { HostListSearchField } from '@/components/host-picker/HostListSearchField' import { HostListOverflowNote } from '@/components/host-picker/HostListOverflowNote' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' +import type { AutomationHostCatalogEntry } from '../hosts/automation-host-catalog-types' import { countAutomationListFilters, EMPTY_AUTOMATION_LIST_FILTER, @@ -153,7 +153,10 @@ function AutomationHostFilterRows({ }): React.JSX.Element { const selected = new Set(selectedHostKeys) const rows = useBoundedHostRows( - entries.map((entry) => ({ id: entry.stableKey, label: entry.label })), + entries.map((entry) => ({ + id: entry.stableKey, + label: entry.label + })), selected ) return ( diff --git a/src/renderer/src/components/automations/AutomationListHostGroups.tsx b/src/renderer/src/components/automations/listing/AutomationListHostGroups.tsx similarity index 93% rename from src/renderer/src/components/automations/AutomationListHostGroups.tsx rename to src/renderer/src/components/automations/listing/AutomationListHostGroups.tsx index 86e5ad77ff2..3047805434d 100644 --- a/src/renderer/src/components/automations/AutomationListHostGroups.tsx +++ b/src/renderer/src/components/automations/listing/AutomationListHostGroups.tsx @@ -1,11 +1,11 @@ import React from 'react' import { Button } from '@/components/ui/button' -import { AutomationHostLabel, AutomationHostStatusBadges } from './AutomationHostBadges' +import { AutomationHostLabel, AutomationHostStatusBadges } from '../hosts/AutomationHostBadges' import { AutomationListLocalRows, type AutomationListLocalRowsProps } from './AutomationListLocalRows' -import type { AutomationHostVisibleGroup } from './automation-host-list-rows' +import type { AutomationHostVisibleGroup } from '../hosts/automation-host-list-rows' import { resolveAutomationHostGroupEmptyState, type AutomationListEmptyState @@ -14,8 +14,8 @@ import { automationHostRecoveryActions, recoveryActionLabel, type AutomationHostRecoveryAction -} from './automation-host-status-descriptors' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' +} from '../hosts/automation-host-status-descriptors' +import type { AutomationHostCatalogEntry } from '../hosts/automation-host-catalog-types' import { useTranslate } from '@/i18n/use-translate' /** Keep status on each host header, including hosts with no rows; unreachable must never read as an empty schedule. */ diff --git a/src/renderer/src/components/automations/AutomationListLastRunCell.tsx b/src/renderer/src/components/automations/listing/AutomationListLastRunCell.tsx similarity index 96% rename from src/renderer/src/components/automations/AutomationListLastRunCell.tsx rename to src/renderer/src/components/automations/listing/AutomationListLastRunCell.tsx index e51e9743a24..d9809d2fe52 100644 --- a/src/renderer/src/components/automations/AutomationListLastRunCell.tsx +++ b/src/renderer/src/components/automations/listing/AutomationListLastRunCell.tsx @@ -1,5 +1,5 @@ import React from 'react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { formatAutomationLastRunCell, type AutomationLastRunSnapshot diff --git a/src/renderer/src/components/automations/AutomationListLocalRow.tsx b/src/renderer/src/components/automations/listing/AutomationListLocalRow.tsx similarity index 88% rename from src/renderer/src/components/automations/AutomationListLocalRow.tsx rename to src/renderer/src/components/automations/listing/AutomationListLocalRow.tsx index 8c0bd693100..7d39557aca1 100644 --- a/src/renderer/src/components/automations/AutomationListLocalRow.tsx +++ b/src/renderer/src/components/automations/listing/AutomationListLocalRow.tsx @@ -2,14 +2,14 @@ import { capturedAutomationOwner, type AutomationCapturedOwner, type AutomationRowAction -} from './automation-captured-owner' -import type { RuntimeEnvironmentSshBucket } from '../../store/slices/ssh/runtime-environment-ssh' +} from '../hosts/automation-captured-owner' +import type { RuntimeEnvironmentSshBucket } from '../../../store/slices/ssh/runtime-environment-ssh' import React from 'react' import { MoreHorizontal, Pause, Pencil, Play, ShieldCheck, Trash2 } from 'lucide-react' import { ContextMenu, ContextMenuContent, ContextMenuTrigger } from '@/components/ui/context-menu' import { MenuItem, MenuRunItem, MenuSeparator } from './AutomationListRowContextMenuItems' -import { pendingAutomationSetupReviewFromSummary } from './automation-setup-review' -import type { SetupTrustMismatch } from '../../../../shared/worktree/create-types' +import { pendingAutomationSetupReviewFromSummary } from '../authoring/automation-setup-review' +import type { SetupTrustMismatch } from '../../../../../shared/worktree/create-types' import { DropdownMenu, DropdownMenuContent, @@ -20,41 +20,44 @@ import { import { Button } from '@/components/ui/button' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { AgentIcon } from '@/components/agent/icons/AgentIcon' -import { cn } from '@/lib/utils' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import { getAutomationRunRepoId } from '../../../../shared/automations/history/automation-run-identity' -import { formatUiAutomationSchedule } from './automation-schedule-label' +import { cn } from '@/lib/class-names' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' +import { getAutomationRunRepoId } from '../../../../../shared/automations/history/automation-run-identity' +import { formatUiAutomationSchedule } from '../details/automation-schedule-label' import { getExecutionHostLabel, getLocalExecutionHostLabel, getRepoExecutionHostId -} from '../../../../shared/execution-host' -import type { SshConnectionState } from '../../../../shared/ssh-types' -import type { ProjectHostSetup } from '../../../../shared/project-types' -import type { Repo } from '../../../../shared/repo-types' -import type { Worktree } from '../../../../shared/worktree/types' -import type { RuntimeEnvironmentStatus } from '../../../../shared/remote-runtime/host-status/runtime-host-status' -import type { AutomationHostTarget } from './automation-host-client' +} from '../../../../../shared/execution-host' +import type { SshConnectionState } from '../../../../../shared/ssh-types' +import type { ProjectHostSetup } from '../../../../../shared/project-types' +import type { Repo } from '../../../../../shared/repo-types' +import type { Worktree } from '../../../../../shared/worktree/types' +import type { RuntimeEnvironmentStatus } from '../../../../../shared/remote-runtime/host-status/runtime-host-status' +import type { AutomationHostTarget } from '../hosts/automation-host-client' import { getAutomationRowLastRunSnapshot, getLocalAutomationLastRunSnapshot } from './automation-list-last-run' import { AutomationListLastRunCell } from './AutomationListLastRunCell' -import { formatAutomationDateTimeWithRelative } from './automation-page-parts' -import { getAutomationTargetAvailability } from './automation-target-availability' -import { getAgentLabel } from './automation-draft-model' +import { formatAutomationDateTimeWithRelative } from '../automation-page-parts' +import { getAutomationTargetAvailability } from '../hosts/automation-target-availability' +import { getAgentLabel } from '../authoring/automation-draft-model' import { automationProjectName, type AutomationListRow } from './automation-list-row-identity' -import { formatAutomationUsageSummary } from './automation-usage-model' +import { formatAutomationUsageSummary } from '../runs/automation-usage-model' import { AUTOMATIONS_TABLE_GRID_CLASS } from './automations-table-layout' import { LIST_TABLE_ROW_CLASS, LIST_TABLE_ROW_SELECTED_CLASS, LIST_TABLE_STICKY_ROW_CELL_CLASS -} from '@/lib/list-table-layout' -import { isPortaledRowMenuClick, isRowActivationKey } from '@/lib/list-row-interaction' +} from '@/lib/list-interaction/list-table-layout' +import { + isPortaledRowMenuClick, + isRowActivationKey +} from '@/lib/list-interaction/list-row-interaction' import { AutomationListStatusCell } from './AutomationListStatusCell' import { useIntlLocale, useTranslate } from '@/i18n/use-translate' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { wslMovedProjectForAutomation } from '@/store/repos/wsl-moved-projects' export type AutomationListLocalRowProps = { diff --git a/src/renderer/src/components/automations/AutomationListLocalRows.tsx b/src/renderer/src/components/automations/listing/AutomationListLocalRows.tsx similarity index 100% rename from src/renderer/src/components/automations/AutomationListLocalRows.tsx rename to src/renderer/src/components/automations/listing/AutomationListLocalRows.tsx diff --git a/src/renderer/src/components/automations/AutomationListRowContextMenuItems.tsx b/src/renderer/src/components/automations/listing/AutomationListRowContextMenuItems.tsx similarity index 100% rename from src/renderer/src/components/automations/AutomationListRowContextMenuItems.tsx rename to src/renderer/src/components/automations/listing/AutomationListRowContextMenuItems.tsx diff --git a/src/renderer/src/components/automations/AutomationListSearchField.tsx b/src/renderer/src/components/automations/listing/AutomationListSearchField.tsx similarity index 99% rename from src/renderer/src/components/automations/AutomationListSearchField.tsx rename to src/renderer/src/components/automations/listing/AutomationListSearchField.tsx index 9b6d5199bae..b393a320673 100644 --- a/src/renderer/src/components/automations/AutomationListSearchField.tsx +++ b/src/renderer/src/components/automations/listing/AutomationListSearchField.tsx @@ -3,7 +3,7 @@ import { Search, X } from 'lucide-react' import { Button } from '@/components/ui/button' import { Input } from '@/components/ui/input' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { isAutomationListArrowKey, shouldHandleAutomationListSearchArrowKey, diff --git a/src/renderer/src/components/automations/AutomationListSortHeader.tsx b/src/renderer/src/components/automations/listing/AutomationListSortHeader.tsx similarity index 97% rename from src/renderer/src/components/automations/AutomationListSortHeader.tsx rename to src/renderer/src/components/automations/listing/AutomationListSortHeader.tsx index e1f39ee2683..6762b3598b8 100644 --- a/src/renderer/src/components/automations/AutomationListSortHeader.tsx +++ b/src/renderer/src/components/automations/listing/AutomationListSortHeader.tsx @@ -1,6 +1,6 @@ import React from 'react' import { ArrowDown, ArrowUp } from 'lucide-react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' import type { AutomationListSort, AutomationListSortField } from './automation-list-view' diff --git a/src/renderer/src/components/automations/AutomationListStatusCell.tsx b/src/renderer/src/components/automations/listing/AutomationListStatusCell.tsx similarity index 100% rename from src/renderer/src/components/automations/AutomationListStatusCell.tsx rename to src/renderer/src/components/automations/listing/AutomationListStatusCell.tsx diff --git a/src/renderer/src/components/automations/AutomationListTableHeader.tsx b/src/renderer/src/components/automations/listing/AutomationListTableHeader.tsx similarity index 98% rename from src/renderer/src/components/automations/AutomationListTableHeader.tsx rename to src/renderer/src/components/automations/listing/AutomationListTableHeader.tsx index 69c261f30d9..76366e3b95a 100644 --- a/src/renderer/src/components/automations/AutomationListTableHeader.tsx +++ b/src/renderer/src/components/automations/listing/AutomationListTableHeader.tsx @@ -4,7 +4,7 @@ import { AUTOMATIONS_TABLE_GRID_CLASS } from './automations-table-layout' import { LIST_TABLE_HEADER_CLASS, LIST_TABLE_STICKY_HEADER_CELL_CLASS -} from '@/lib/list-table-layout' +} from '@/lib/list-interaction/list-table-layout' import { AutomationListSortHeader } from './AutomationListSortHeader' import type { AutomationListSort, AutomationListSortField } from './automation-list-view' diff --git a/src/renderer/src/components/automations/AutomationListToolbar.tsx b/src/renderer/src/components/automations/listing/AutomationListToolbar.tsx similarity index 94% rename from src/renderer/src/components/automations/AutomationListToolbar.tsx rename to src/renderer/src/components/automations/listing/AutomationListToolbar.tsx index 312c5e0a669..5c2e5252711 100644 --- a/src/renderer/src/components/automations/AutomationListToolbar.tsx +++ b/src/renderer/src/components/automations/listing/AutomationListToolbar.tsx @@ -3,14 +3,14 @@ import { History, Plus, RefreshCw } from 'lucide-react' import { Button } from '@/components/ui/button' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' +import { cn } from '@/lib/class-names' +import type { AutomationHostCatalogEntry } from '../hosts/automation-host-catalog-types' import type { AutomationListArrowKey } from './automation-list-keyboard-navigation' -import { clampAutomationListSearchQueryInput } from './automation-list-search' +import { clampAutomationListSearchQueryInput } from './automation-list-search-query' import type { AutomationListFilter } from './automation-list-view' import { AutomationListSearchField } from './AutomationListSearchField' import { AutomationListFilterMenu } from './AutomationListFilterMenu' -import type { AutomationTemplate } from './automation-templates' +import type { AutomationTemplate } from '../authoring/automation-templates' type AutomationListToolbarProps = { /** Focus fallback for the list: the controls that produced the rows. */ diff --git a/src/renderer/src/components/automations/AutomationsListPanel.tsx b/src/renderer/src/components/automations/listing/AutomationsListPanel.tsx similarity index 87% rename from src/renderer/src/components/automations/AutomationsListPanel.tsx rename to src/renderer/src/components/automations/listing/AutomationsListPanel.tsx index f468f5a79fa..9fbf5b2bd28 100644 --- a/src/renderer/src/components/automations/AutomationsListPanel.tsx +++ b/src/renderer/src/components/automations/listing/AutomationsListPanel.tsx @@ -1,28 +1,28 @@ -import type { SetupTrustMismatch } from '../../../../shared/worktree/create-types' -import type { RuntimeEnvironmentSshBucket } from '../../store/slices/ssh/runtime-environment-ssh' +import type { SetupTrustMismatch } from '../../../../../shared/worktree/create-types' +import type { RuntimeEnvironmentSshBucket } from '../../../store/slices/ssh/runtime-environment-ssh' import React, { useRef } from 'react' -import { cn } from '@/lib/utils' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' +import { cn } from '@/lib/class-names' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' import type { ExternalAutomationAction, ExternalAutomationJob, ExternalAutomationManager -} from '../../../../shared/automations/external/external-automation' +} from '../../../../../shared/automations/external/external-automation' -import type { SshConnectionState } from '../../../../shared/ssh-types' -import type { ProjectHostSetup } from '../../../../shared/project-types' -import type { Repo } from '../../../../shared/repo-types' -import type { Worktree } from '../../../../shared/worktree/types' -import type { RuntimeEnvironmentStatus } from '../../../../shared/remote-runtime/host-status/runtime-host-status' -import type { AutomationRowAction } from './automation-captured-owner' -import type { AutomationHostTarget } from './automation-host-client' +import type { SshConnectionState } from '../../../../../shared/ssh-types' +import type { ProjectHostSetup } from '../../../../../shared/project-types' +import type { Repo } from '../../../../../shared/repo-types' +import type { Worktree } from '../../../../../shared/worktree/types' +import type { RuntimeEnvironmentStatus } from '../../../../../shared/remote-runtime/host-status/runtime-host-status' +import type { AutomationRowAction } from '../hosts/automation-captured-owner' +import type { AutomationHostTarget } from '../hosts/automation-host-client' import { createAutomationListEnterHandler, getAutomationListArrowNavigationTarget, type AutomationListArrowKey } from './automation-list-keyboard-navigation' import type { AutomationListRow } from './automation-list-row-identity' -import type { AutomationPaneTab } from './automation-page-state' +import type { AutomationPaneTab } from '../automation-page-state' import { AutomationListFilterPills } from './AutomationListFilterMenu' import { isAutomationListFilterActive, @@ -34,23 +34,26 @@ import { import { type AutomationHostFilter, automationHostFilterStableKey -} from '../../../../shared/automations/ownership/automation-host-filter' -import type { AutomationTemplate } from './automation-templates' -import type { ExternalAutomationListEntry } from './external-automation-list-entries' -import type { ExternalAutomationScope } from './external-automation-scope-client' +} from '../../../../../shared/automations/ownership/automation-host-filter' +import type { AutomationTemplate } from '../authoring/automation-templates' +import type { ExternalAutomationListEntry } from '../external/external-automation-list-entries' +import type { ExternalAutomationScope } from '../external/external-automation-scope-client' import { AutomationListLocalRow } from './AutomationListLocalRow' import { AutomationListExternalRow } from './AutomationListExternalRow' -import { AutomationHostFilterNotice, AutomationHostLoadSummary } from './AutomationHostFilterNotice' +import { + AutomationHostFilterNotice, + AutomationHostLoadSummary +} from '../hosts/AutomationHostFilterNotice' import { AutomationListEmptyView } from './AutomationListEmptyView' import { resolveAutomationListEmptyState } from './automation-list-empty-state' import type { AutomationListSearchCounts } from './use-automation-list-search' -import type { AutomationHostCatalogView } from './use-automation-host-catalog' -import type { AutomationHostRecoveryAction } from './automation-host-status-descriptors' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' +import type { AutomationHostCatalogView } from '../hosts/use-automation-host-catalog' +import type { AutomationHostRecoveryAction } from '../hosts/automation-host-status-descriptors' +import type { AutomationHostCatalogEntry } from '../hosts/automation-host-catalog-types' import { useAutomationListFocusRecovery } from './use-automation-list-focus-recovery' -import { LIST_TABLE_CONTAINER_CLASS } from '@/lib/list-table-layout' +import { LIST_TABLE_CONTAINER_CLASS } from '@/lib/list-interaction/list-table-layout' import { useTranslate } from '@/i18n/use-translate' -import { AutomationTemplateEmptyState } from './AutomationTemplateEmptyState' +import { AutomationTemplateEmptyState } from '../authoring/AutomationTemplateEmptyState' import { AutomationListTableHeader } from './AutomationListTableHeader' import { AutomationListToolbar } from './AutomationListToolbar' diff --git a/src/renderer/src/components/automations/automation-list-empty-state.ts b/src/renderer/src/components/automations/listing/automation-list-empty-state.ts similarity index 97% rename from src/renderer/src/components/automations/automation-list-empty-state.ts rename to src/renderer/src/components/automations/listing/automation-list-empty-state.ts index b996b136af3..4348ed2ed5e 100644 --- a/src/renderer/src/components/automations/automation-list-empty-state.ts +++ b/src/renderer/src/components/automations/listing/automation-list-empty-state.ts @@ -1,14 +1,14 @@ import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' +import type { AutomationHostCatalogEntry } from '../hosts/automation-host-catalog-types' import type { AutomationHostFilterResolution, AutomationHostFilterStatus -} from './automation-host-filter-resolution' +} from '../hosts/automation-host-filter-resolution' import { automationHostRecoveryActions, type AutomationHostRecoveryAction -} from './automation-host-status-descriptors' +} from '../hosts/automation-host-status-descriptors' /** Describe disconnected, unreachable or unhydrated hosts as unknown, never empty; no storage read established that claim. */ diff --git a/src/renderer/src/components/automations/automation-list-focus-recovery.ts b/src/renderer/src/components/automations/listing/automation-list-focus-recovery.ts similarity index 100% rename from src/renderer/src/components/automations/automation-list-focus-recovery.ts rename to src/renderer/src/components/automations/listing/automation-list-focus-recovery.ts diff --git a/src/renderer/src/components/automations/automation-list-keyboard-navigation.ts b/src/renderer/src/components/automations/listing/automation-list-keyboard-navigation.ts similarity index 98% rename from src/renderer/src/components/automations/automation-list-keyboard-navigation.ts rename to src/renderer/src/components/automations/listing/automation-list-keyboard-navigation.ts index 3e364851b74..f210f4cd596 100644 --- a/src/renderer/src/components/automations/automation-list-keyboard-navigation.ts +++ b/src/renderer/src/components/automations/listing/automation-list-keyboard-navigation.ts @@ -1,5 +1,5 @@ import type { AutomationListViewItem } from './automation-list-view' -import type { AutomationPaneTab } from './automation-page-state' +import type { AutomationPaneTab } from '../automation-page-state' export type AutomationListArrowKey = 'ArrowUp' | 'ArrowDown' diff --git a/src/renderer/src/components/automations/automation-list-last-run.ts b/src/renderer/src/components/automations/listing/automation-list-last-run.ts similarity index 94% rename from src/renderer/src/components/automations/automation-list-last-run.ts rename to src/renderer/src/components/automations/listing/automation-list-last-run.ts index 6e484d826d1..717a1765cf0 100644 --- a/src/renderer/src/components/automations/automation-list-last-run.ts +++ b/src/renderer/src/components/automations/listing/automation-list-last-run.ts @@ -1,16 +1,16 @@ import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' -import type { Automation } from '../../../../shared/automations/automation-definition' +import type { Automation } from '../../../../../shared/automations/automation-definition' import type { AutomationRun, AutomationRunStatus -} from '../../../../shared/automations/history/automation-run' -import type { ExternalAutomationJob } from '../../../../shared/automations/external/external-automation' +} from '../../../../../shared/automations/history/automation-run' +import type { ExternalAutomationJob } from '../../../../../shared/automations/external/external-automation' import { formatAutomationDateTime, formatAutomationRelativeTime, getAutomationRunStatusLabel -} from './automation-page-parts' +} from '../automation-page-parts' export type AutomationLastRunTone = | 'failed' diff --git a/src/renderer/src/components/automations/automation-list-row-identity.ts b/src/renderer/src/components/automations/listing/automation-list-row-identity.ts similarity index 85% rename from src/renderer/src/components/automations/automation-list-row-identity.ts rename to src/renderer/src/components/automations/listing/automation-list-row-identity.ts index e58792a7c9c..63ac6231ddc 100644 --- a/src/renderer/src/components/automations/automation-list-row-identity.ts +++ b/src/renderer/src/components/automations/listing/automation-list-row-identity.ts @@ -1,10 +1,10 @@ /** Qualify row IDs by incarnation-free host stableKey so colliding authorities stay distinct and re-pairs preserve React identity/selection. Freshness uses incarnation-bearing ownerKey separately. */ -import type { Automation } from '../../../../shared/automations/automation-definition' -import type { AutomationUsageSummary } from '../../../../shared/automations/history/automation-usage-summary' -import { findAutomationRepo } from '../../../../shared/automations/ownership/automation-repo-target' -import { getAutomationRunRepoId } from '../../../../shared/automations/history/automation-run-identity' -import type { StableAutomationCatalogRef } from '../../../../shared/automations/ownership/automation-owner-ref' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import type { AutomationUsageSummary } from '../../../../../shared/automations/history/automation-usage-summary' +import { findAutomationRepo } from '../../../../../shared/automations/ownership/automation-repo-target' +import { getAutomationRunRepoId } from '../../../../../shared/automations/history/automation-run-identity' +import type { StableAutomationCatalogRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import { getRepoExecutionHostId, getConnectionExecutionHostId, @@ -12,21 +12,21 @@ import { toSshExecutionHostId, parseExecutionHostId, toRuntimeExecutionHostId -} from '../../../../shared/execution-host' +} from '../../../../../shared/execution-host' import { resolveQualifiedFolderWorkspaceResult, type QualifiedFolderHostState -} from '../../../../shared/folder-workspaces/folder-workspace-execution-host' +} from '../../../../../shared/folder-workspaces/folder-workspace-execution-host' import { createRepoRowExecutionHostLookup, resolveWorktreeExecutionHost -} from '../../../../shared/execution-host/worktree-execution-host-resolution' -import type { FolderWorkspace } from '../../../../shared/folder-workspaces/folder-workspace-types' -import type { Repo } from '../../../../shared/repo-types' -import type { Worktree } from '../../../../shared/worktree/types' -import { parseWorkspaceKey } from '../../../../shared/workspace-scope' +} from '../../../../../shared/execution-host/worktree-execution-host-resolution' +import type { FolderWorkspace } from '../../../../../shared/folder-workspaces/folder-workspace-types' +import type { Repo } from '../../../../../shared/repo-types' +import type { Worktree } from '../../../../../shared/worktree/types' +import { parseWorkspaceKey } from '../../../../../shared/workspace-scope' -import { getFolderWorkspaceWorktree } from '../../../../shared/folder-workspaces/folder-workspace-worktree' +import { getFolderWorkspaceWorktree } from '../../../../../shared/folder-workspaces/folder-workspace-worktree' export type AutomationListRow = { /** Authority-qualified and incarnation-free; see the module note. */ diff --git a/src/renderer/src/components/automations/automation-list-search-query.ts b/src/renderer/src/components/automations/listing/automation-list-search-query.ts similarity index 98% rename from src/renderer/src/components/automations/automation-list-search-query.ts rename to src/renderer/src/components/automations/listing/automation-list-search-query.ts index fec6b0f17b8..e2d93ccf61d 100644 --- a/src/renderer/src/components/automations/automation-list-search-query.ts +++ b/src/renderer/src/components/automations/listing/automation-list-search-query.ts @@ -1,4 +1,4 @@ -import { isClipboardTextByteLengthOverLimit } from '../../../../shared/clipboard-text' +import { isClipboardTextByteLengthOverLimit } from '../../../../../shared/clipboard-text' /** Pasted queries above this are rejected so filtering never runs on unbounded input. */ export const AUTOMATION_LIST_SEARCH_QUERY_MAX_BYTES = 2 * 1024 diff --git a/src/renderer/src/components/automations/automation-list-search-rows.ts b/src/renderer/src/components/automations/listing/automation-list-search-rows.ts similarity index 89% rename from src/renderer/src/components/automations/automation-list-search-rows.ts rename to src/renderer/src/components/automations/listing/automation-list-search-rows.ts index 8ebb6566b70..38fbb317321 100644 --- a/src/renderer/src/components/automations/automation-list-search-rows.ts +++ b/src/renderer/src/components/automations/listing/automation-list-search-rows.ts @@ -1,8 +1,8 @@ -import { getAutomationRunRepoId } from '../../../../shared/automations/history/automation-run-identity' -import type { Automation } from '../../../../shared/automations/automation-definition' -import type { Repo } from '../../../../shared/repo-types' +import { getAutomationRunRepoId } from '../../../../../shared/automations/history/automation-run-identity' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import type { Repo } from '../../../../../shared/repo-types' import type { AutomationListRow } from './automation-list-row-identity' -import { getAgentLabel } from './automation-draft-model' +import { getAgentLabel } from '../authoring/automation-draft-model' import { automationListSearchIndexMatches, buildAutomationListSearchFingerprint, @@ -11,8 +11,8 @@ import { type AutomationListSearchFields, type AutomationListSearchIndex } from './automation-list-search' -import { getExternalProviderLabel } from './external-automation-display' -import type { ExternalAutomationListEntry } from './external-automation-list-entries' +import { getExternalProviderLabel } from '../external/external-automation-display' +import type { ExternalAutomationListEntry } from '../external/external-automation-list-entries' /** Row identity is the authority-qualified row key / external key, so reorders invalidate the index. */ export type AutomationListSearchRowSource = { diff --git a/src/renderer/src/components/automations/automation-list-search.ts b/src/renderer/src/components/automations/listing/automation-list-search.ts similarity index 93% rename from src/renderer/src/components/automations/automation-list-search.ts rename to src/renderer/src/components/automations/listing/automation-list-search.ts index f1d3a9926fd..d6836798abd 100644 --- a/src/renderer/src/components/automations/automation-list-search.ts +++ b/src/renderer/src/components/automations/listing/automation-list-search.ts @@ -1,12 +1,3 @@ -export { - AUTOMATION_LIST_SEARCH_QUERY_MAX_BYTES, - clampAutomationListSearchQueryInput, - getActiveAutomationListSearchQuery, - isAutomationListSearchQueryTooLarge, - resolveAutomationListSearchQuery, - type AutomationListSearchQueryResolution -} from './automation-list-search-query' - // Bound indexed fields so lowercasing/includes cannot scale with multi-MB prompts. export const AUTOMATION_LIST_SEARCH_NAME_MAX_CODE_UNITS = 512 export const AUTOMATION_LIST_SEARCH_PROJECT_MAX_CODE_UNITS = 1_024 diff --git a/src/renderer/src/components/automations/automation-list-view.ts b/src/renderer/src/components/automations/listing/automation-list-view.ts similarity index 95% rename from src/renderer/src/components/automations/automation-list-view.ts rename to src/renderer/src/components/automations/listing/automation-list-view.ts index a7090e71d8d..9d41813ad86 100644 --- a/src/renderer/src/components/automations/automation-list-view.ts +++ b/src/renderer/src/components/automations/listing/automation-list-view.ts @@ -1,13 +1,13 @@ -import type { TuiAgent } from '../../../../shared/agent-launch/catalog/tui-agent' -import { hostStableKey } from '../../../../shared/automations/ownership/automation-owner-key' +import type { TuiAgent } from '../../../../../shared/agent-launch/catalog/tui-agent' +import { hostStableKey } from '../../../../../shared/automations/ownership/automation-owner-key' import type { AutomationListRow } from './automation-list-row-identity' -import type { ExternalAutomationListEntry } from './external-automation-list-entries' +import type { ExternalAutomationListEntry } from '../external/external-automation-list-entries' import { getAutomationRowLastRunSnapshot, getExternalAutomationLastRunSnapshot, type AutomationLastRunSnapshot } from './automation-list-last-run' -import type { Translate } from '../../i18n/use-translate' +import type { Translate } from '../../../i18n/use-translate' export type AutomationListStatusFilter = 'all' | 'enabled' | 'paused' export type AutomationListLastRunFilter = 'all' | 'failed' | 'succeeded' | 'never' diff --git a/src/renderer/src/components/automations/automations-table-layout.ts b/src/renderer/src/components/automations/listing/automations-table-layout.ts similarity index 100% rename from src/renderer/src/components/automations/automations-table-layout.ts rename to src/renderer/src/components/automations/listing/automations-table-layout.ts diff --git a/src/renderer/src/components/automations/use-automation-list-focus-recovery.ts b/src/renderer/src/components/automations/listing/use-automation-list-focus-recovery.ts similarity index 100% rename from src/renderer/src/components/automations/use-automation-list-focus-recovery.ts rename to src/renderer/src/components/automations/listing/use-automation-list-focus-recovery.ts diff --git a/src/renderer/src/components/automations/use-automation-list-search.test.tsx b/src/renderer/src/components/automations/listing/use-automation-list-search.test.tsx similarity index 96% rename from src/renderer/src/components/automations/use-automation-list-search.test.tsx rename to src/renderer/src/components/automations/listing/use-automation-list-search.test.tsx index 08bc7892067..bdee9b8dac2 100644 --- a/src/renderer/src/components/automations/use-automation-list-search.test.tsx +++ b/src/renderer/src/components/automations/listing/use-automation-list-search.test.tsx @@ -3,8 +3,8 @@ import { act } from 'react' import { createRoot, type Root } from 'react-dom/client' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { Repo } from '../../../../shared/repo-types' -import { makeAutomation, makeAutomationListRow, REPO_ID } from './automations-page-fixtures' +import type { Repo } from '../../../../../shared/repo-types' +import { makeAutomation, makeAutomationListRow, REPO_ID } from '../automations-page-fixtures' import type { AutomationListRow } from './automation-list-row-identity' import * as searchRows from './automation-list-search-rows' diff --git a/src/renderer/src/components/automations/use-automation-list-search.ts b/src/renderer/src/components/automations/listing/use-automation-list-search.ts similarity index 97% rename from src/renderer/src/components/automations/use-automation-list-search.ts rename to src/renderer/src/components/automations/listing/use-automation-list-search.ts index 207cb9bddb7..06938727b8b 100644 --- a/src/renderer/src/components/automations/use-automation-list-search.ts +++ b/src/renderer/src/components/automations/listing/use-automation-list-search.ts @@ -1,6 +1,6 @@ import { useDeferredValue, useEffect, useMemo, useRef } from 'react' -import type { Repo } from '../../../../shared/repo-types' -import { resolveAutomationListSearchQuery } from './automation-list-search' +import type { Repo } from '../../../../../shared/repo-types' +import { resolveAutomationListSearchQuery } from './automation-list-search-query' import type { AutomationListRow } from './automation-list-row-identity' import { buildAutomationListSearchRowFingerprint, @@ -12,7 +12,7 @@ import { type AutomationListSearchRowSource, type AutomationWorkspaceNameLookup } from './automation-list-search-rows' -import type { ExternalAutomationListEntry } from './external-automation-list-entries' +import type { ExternalAutomationListEntry } from '../external/external-automation-list-entries' /** Counts the empty-state view consumes, so it never recomputes what search already knows. */ export type AutomationListSearchCounts = { diff --git a/src/renderer/src/components/automations/use-automations-page-list-state.ts b/src/renderer/src/components/automations/listing/use-automations-page-list-state.ts similarity index 87% rename from src/renderer/src/components/automations/use-automations-page-list-state.ts rename to src/renderer/src/components/automations/listing/use-automations-page-list-state.ts index bbcf82d7e50..6e59091092c 100644 --- a/src/renderer/src/components/automations/use-automations-page-list-state.ts +++ b/src/renderer/src/components/automations/listing/use-automations-page-list-state.ts @@ -1,17 +1,20 @@ import { useCallback, useMemo } from 'react' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { hostStableKey, ownerKey, toStableCatalogRef -} from '../../../../shared/automations/ownership/automation-owner-key' -import { resolveAutomationRunTarget } from './automation-run-open-target' -import { capturedAutomationOwner, capturedAutomationOwnerKey } from './automation-captured-owner' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import { getWorktreePathBasenameFromId } from '../../../../shared/worktree/id' -import { buildExternalAutomationListEntries } from './external-automation-list-entries' -import { externalAutomationScopeEntries } from './external-automation-scope-gating' -import { externalAutomationUncheckedNotice } from './external-automation-unchecked-hosts' +} from '../../../../../shared/automations/ownership/automation-owner-key' +import { resolveAutomationRunTarget } from '../runs/automation-run-open-target' +import { + capturedAutomationOwner, + capturedAutomationOwnerKey +} from '../hosts/automation-captured-owner' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' +import { getWorktreePathBasenameFromId } from '../../../../../shared/worktree/id' +import { buildExternalAutomationListEntries } from '../external/external-automation-list-entries' +import { externalAutomationScopeEntries } from '../external/external-automation-scope-gating' +import { externalAutomationUncheckedNotice } from '../external/external-automation-unchecked-hosts' import { buildAutomationListViewItems, filterAutomationListRows, @@ -20,11 +23,11 @@ import { } from './automation-list-view' import { useIntlLocale } from '@/i18n/use-translate' import { unscopedAutomationListRows } from './automation-list-row-identity' -import { useAutomationHostCatalog } from './use-automation-host-catalog' +import { useAutomationHostCatalog } from '../hosts/use-automation-host-catalog' import { useAutomationListSearch } from './use-automation-list-search' -import { useScopedExternalAutomations } from './use-scoped-external-automations' -import type { AutomationsPageLocalState } from './use-automations-page-local-state' -import type { AutomationsPageStoreState } from './use-automations-page-store-state' +import { useScopedExternalAutomations } from '../external/use-scoped-external-automations' +import type { AutomationsPageLocalState } from '../use-automations-page-local-state' +import type { AutomationsPageStoreState } from '../use-automations-page-store-state' /** Host-qualified rows, external scopes, selection, and list-search projection. */ export function useAutomationsPageListState({ diff --git a/src/renderer/src/components/automations/AutomationRunDetailsPage.tsx b/src/renderer/src/components/automations/runs/AutomationRunDetailsPage.tsx similarity index 92% rename from src/renderer/src/components/automations/AutomationRunDetailsPage.tsx rename to src/renderer/src/components/automations/runs/AutomationRunDetailsPage.tsx index b252a7beef8..6e6a91bce2b 100644 --- a/src/renderer/src/components/automations/AutomationRunDetailsPage.tsx +++ b/src/renderer/src/components/automations/runs/AutomationRunDetailsPage.tsx @@ -2,18 +2,18 @@ import React from 'react' import { Eye, RefreshCw } from 'lucide-react' import { Button } from '@/components/ui/button' import CommentMarkdown from '@/components/sidebar/CommentMarkdown' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useIntlLocale, useTranslate } from '@/i18n/use-translate' -import type { Automation } from '../../../../shared/automations/automation-definition' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' import { AutomationRunPageFrame } from './AutomationRunPageFrame' import { getAutomationRunContent } from './automation-run-content' import { automationRunErrorText } from './automation-run-error-copy' import type { AutomationRunViewState } from './automation-run-view-state' import type { AutomationRunWorkspaceDisplay } from './automation-run-workspace-display' import { useFullAutomationRun } from './use-full-automation-run' -import { pendingAutomationSetupReview } from './automation-setup-review' -import type { SetupTrustMismatch } from '../../../../shared/worktree/create-types' +import { pendingAutomationSetupReview } from '../authoring/automation-setup-review' +import type { SetupTrustMismatch } from '../../../../../shared/worktree/create-types' import type { SelectedAutomationRunHistoryOutcome } from './use-selected-automation-run-history' import { AutomationRunErrorNotice, @@ -21,7 +21,7 @@ import { formatAutomationDateTimeWithRelative, getAutomationRunStatusLabel, getAutomationRunStatusVariant -} from './automation-page-parts' +} from '../automation-page-parts' export function AutomationRunDetailsPage({ automation, diff --git a/src/renderer/src/components/automations/AutomationRunHistory.tsx b/src/renderer/src/components/automations/runs/AutomationRunHistory.tsx similarity index 96% rename from src/renderer/src/components/automations/AutomationRunHistory.tsx rename to src/renderer/src/components/automations/runs/AutomationRunHistory.tsx index 2a5170c22b9..235f8c57bf8 100644 --- a/src/renderer/src/components/automations/AutomationRunHistory.tsx +++ b/src/renderer/src/components/automations/runs/AutomationRunHistory.tsx @@ -1,14 +1,14 @@ import React, { useCallback, useLayoutEffect, useMemo, useRef, useState } from 'react' import { useVirtualizer } from '@tanstack/react-virtual' import { Badge } from '@/components/ui/badge' -import { cn } from '@/lib/utils' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import type { Worktree } from '../../../../shared/worktree/types' +import { cn } from '@/lib/class-names' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' +import type { Worktree } from '../../../../../shared/worktree/types' import { formatAutomationDateTime, getAutomationRunStatusLabel, getAutomationRunStatusVariant -} from './automation-page-parts' +} from '../automation-page-parts' import { formatAutomationCost, formatAutomationTokens, @@ -16,9 +16,9 @@ import { } from './automation-usage-model' import { automationRunOccurrenceLabel, isAutomationRunFolded } from './automation-run-occurrences' import { getAutomationRunWorkspaceDisplay } from './automation-run-workspace-display' -import { AutomationOwnerConflictNotice } from './AutomationOwnerConflictNotice' -import type { AutomationActionNotice } from './automation-row-action-dispatch' -import type { AutomationHostRecoveryAction } from './automation-host-status-descriptors' +import { AutomationOwnerConflictNotice } from '../hosts/AutomationOwnerConflictNotice' +import type { AutomationActionNotice } from '../hosts/automation-row-action-dispatch' +import type { AutomationHostRecoveryAction } from '../hosts/automation-host-status-descriptors' import { getAutomationRunHistoryArrowTarget, isAutomationRunHistoryArrowKey, diff --git a/src/renderer/src/components/automations/AutomationRunPageFrame.tsx b/src/renderer/src/components/automations/runs/AutomationRunPageFrame.tsx similarity index 100% rename from src/renderer/src/components/automations/AutomationRunPageFrame.tsx rename to src/renderer/src/components/automations/runs/AutomationRunPageFrame.tsx diff --git a/src/renderer/src/components/automations/AutomationRunsDashboard.tsx b/src/renderer/src/components/automations/runs/AutomationRunsDashboard.tsx similarity index 99% rename from src/renderer/src/components/automations/AutomationRunsDashboard.tsx rename to src/renderer/src/components/automations/runs/AutomationRunsDashboard.tsx index 121d4eab838..ada20eae61e 100644 --- a/src/renderer/src/components/automations/AutomationRunsDashboard.tsx +++ b/src/renderer/src/components/automations/runs/AutomationRunsDashboard.tsx @@ -17,7 +17,7 @@ import { Input } from '@/components/ui/input' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { useTranslate } from '@/i18n/use-translate' import { useUiLanguageRevision } from '@/i18n/use-ui-language-revision' -import type { AutomationListRow } from './automation-list-row-identity' +import type { AutomationListRow } from '../listing/automation-list-row-identity' import { countAutomationRunOutcomes, filterAutomationRunsDashboardEntries, diff --git a/src/renderer/src/components/automations/AutomationRunsDashboardSurface.tsx b/src/renderer/src/components/automations/runs/AutomationRunsDashboardSurface.tsx similarity index 87% rename from src/renderer/src/components/automations/AutomationRunsDashboardSurface.tsx rename to src/renderer/src/components/automations/runs/AutomationRunsDashboardSurface.tsx index 2cfe6edc2a9..2a8b8aa6209 100644 --- a/src/renderer/src/components/automations/AutomationRunsDashboardSurface.tsx +++ b/src/renderer/src/components/automations/runs/AutomationRunsDashboardSurface.tsx @@ -1,12 +1,15 @@ import React from 'react' -import { toRuntimeExecutionHostId, type ExecutionHostId } from '../../../../shared/execution-host' -import type { AutomationListRow } from './automation-list-row-identity' +import { + toRuntimeExecutionHostId, + type ExecutionHostId +} from '../../../../../shared/execution-host' +import type { AutomationListRow } from '../listing/automation-list-row-identity' import type { AutomationRunsDashboardEntry, AutomationRunsDashboardFailure } from './automation-runs-dashboard-model' import { AutomationRunsDashboard } from './AutomationRunsDashboard' -import type { AutomationsPageView } from './automation-page-state' +import type { AutomationsPageView } from '../automation-page-state' export function AutomationRunsDashboardSurface({ rows, diff --git a/src/renderer/src/components/automations/AutomationRunsTable.tsx b/src/renderer/src/components/automations/runs/AutomationRunsTable.tsx similarity index 99% rename from src/renderer/src/components/automations/AutomationRunsTable.tsx rename to src/renderer/src/components/automations/runs/AutomationRunsTable.tsx index 07e7ffacdb8..622ac1e51e5 100644 --- a/src/renderer/src/components/automations/AutomationRunsTable.tsx +++ b/src/renderer/src/components/automations/runs/AutomationRunsTable.tsx @@ -8,7 +8,7 @@ import { formatAutomationDateTimeWithRelative, getAutomationRunStatusLabel, getAutomationRunStatusVariant -} from './automation-page-parts' +} from '../automation-page-parts' const RUN_ROW_HEIGHT_PX = 59 const RUN_ROW_OVERSCAN = 10 diff --git a/src/renderer/src/components/automations/automation-run-actions.ts b/src/renderer/src/components/automations/runs/automation-run-actions.ts similarity index 87% rename from src/renderer/src/components/automations/automation-run-actions.ts rename to src/renderer/src/components/automations/runs/automation-run-actions.ts index 349375c18bb..ec1546678c5 100644 --- a/src/renderer/src/components/automations/automation-run-actions.ts +++ b/src/renderer/src/components/automations/runs/automation-run-actions.ts @@ -1,14 +1,14 @@ -import { capturedAutomationOwner } from './automation-captured-owner' +import { capturedAutomationOwner } from '../hosts/automation-captured-owner' import { toast } from 'sonner' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' import { translate } from '@/i18n/i18n' -import { useAppStore } from '@/store' -import { getAutomationTargetAvailability } from './automation-target-availability' -import { runAutomationNowForTarget } from './automation-host-client' -import { dispatchAutomationRunNow } from './automation-row-action-dispatch' +import { useAppStore } from '@/store/index' +import { getAutomationTargetAvailability } from '../hosts/automation-target-availability' +import { runAutomationNowForTarget } from '../hosts/automation-host-client' +import { dispatchAutomationRunNow } from '../hosts/automation-row-action-dispatch' import { waitForAutomationRerunPendingVisibility } from './automation-run-view-state' -import type { AutomationListRow } from './automation-list-row-identity' -import type { AutomationsPageActionContext } from './automations-page-action-context' +import type { AutomationListRow } from '../listing/automation-list-row-identity' +import type { AutomationsPageActionContext } from '../automations-page-action-context' /** Run-now/rerun handlers keyed by the selected row's captured host. */ export function createAutomationRunActions({ diff --git a/src/renderer/src/components/automations/automation-run-completion-evidence.ts b/src/renderer/src/components/automations/runs/automation-run-completion-evidence.ts similarity index 85% rename from src/renderer/src/components/automations/automation-run-completion-evidence.ts rename to src/renderer/src/components/automations/runs/automation-run-completion-evidence.ts index 0e17d6a4dbb..7e9278b9d5f 100644 --- a/src/renderer/src/components/automations/automation-run-completion-evidence.ts +++ b/src/renderer/src/components/automations/runs/automation-run-completion-evidence.ts @@ -1,5 +1,5 @@ -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import type { AgentStatusEntry } from '../../../../shared/agent-status/contracts/agent-status-types' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' +import type { AgentStatusEntry } from '../../../../../shared/agent-status/contracts/agent-status-types' import type { RetainedAgentEntry } from '@/store/slices/agent-status/agent-status-contract' import { automationRunMatchesPaneKey } from './automation-run-open-target' diff --git a/src/renderer/src/components/automations/automation-run-content.ts b/src/renderer/src/components/automations/runs/automation-run-content.ts similarity index 75% rename from src/renderer/src/components/automations/automation-run-content.ts rename to src/renderer/src/components/automations/runs/automation-run-content.ts index 1e60554de81..dc56d6957d0 100644 --- a/src/renderer/src/components/automations/automation-run-content.ts +++ b/src/renderer/src/components/automations/runs/automation-run-content.ts @@ -1,5 +1,5 @@ -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import { getAutomationRunContent as getSharedAutomationRunContent } from '../../../../shared/automations/history/automation-run-content' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' +import { getAutomationRunContent as getSharedAutomationRunContent } from '../../../../../shared/automations/history/automation-run-content' import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' import { automationRunErrorText } from './automation-run-error-copy' diff --git a/src/renderer/src/components/automations/automation-run-error-copy.ts b/src/renderer/src/components/automations/runs/automation-run-error-copy.ts similarity index 96% rename from src/renderer/src/components/automations/automation-run-error-copy.ts rename to src/renderer/src/components/automations/runs/automation-run-error-copy.ts index 0656d23b19e..c7480ce7376 100644 --- a/src/renderer/src/components/automations/automation-run-error-copy.ts +++ b/src/renderer/src/components/automations/runs/automation-run-error-copy.ts @@ -2,8 +2,8 @@ import { translate } from '@/i18n/i18n' import { AUTOMATION_RUN_FAILURE_COPY as EN, type AutomationRunFailureCode -} from '../../../../shared/automations/history/automation-run-failure-copy' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' +} from '../../../../../shared/automations/history/automation-run-failure-copy' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' // One whole sentence per non-ready setup state; unknown states keep the stored English. const SETUP_STATE_COPY: Record string> = { diff --git a/src/renderer/src/components/automations/automation-run-history-keyboard-navigation.ts b/src/renderer/src/components/automations/runs/automation-run-history-keyboard-navigation.ts similarity index 96% rename from src/renderer/src/components/automations/automation-run-history-keyboard-navigation.ts rename to src/renderer/src/components/automations/runs/automation-run-history-keyboard-navigation.ts index 5b61eab7ff0..147d5bcbb00 100644 --- a/src/renderer/src/components/automations/automation-run-history-keyboard-navigation.ts +++ b/src/renderer/src/components/automations/runs/automation-run-history-keyboard-navigation.ts @@ -1,4 +1,4 @@ -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' import { isImeOwnedKeyboardEvent } from '@/lib/text-input/ime/ime-composition-keyboard-event' export type AutomationRunHistoryArrowKey = 'ArrowUp' | 'ArrowDown' diff --git a/src/renderer/src/components/automations/automation-run-occurrences.ts b/src/renderer/src/components/automations/runs/automation-run-occurrences.ts similarity index 90% rename from src/renderer/src/components/automations/automation-run-occurrences.ts rename to src/renderer/src/components/automations/runs/automation-run-occurrences.ts index c4b148f40cb..09011a19fe4 100644 --- a/src/renderer/src/components/automations/automation-run-occurrences.ts +++ b/src/renderer/src/components/automations/runs/automation-run-occurrences.ts @@ -1,7 +1,7 @@ /** Folded rows retain the first occurrence date; count/latest occurrence must expose continuing failures rather than suggesting one old event. */ -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import { formatAutomationDateTime } from './automation-page-parts' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' +import { formatAutomationDateTime } from '../automation-page-parts' import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' diff --git a/src/renderer/src/components/automations/runs/automation-run-open-target.test.ts b/src/renderer/src/components/automations/runs/automation-run-open-target.test.ts new file mode 100644 index 00000000000..52c986924ae --- /dev/null +++ b/src/renderer/src/components/automations/runs/automation-run-open-target.test.ts @@ -0,0 +1,84 @@ +import { describe, expect, it } from 'vitest' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' + +import { resolveAutomationRunOpenTarget } from './automation-run-open-target' + +const leafId = '11111111-1111-4111-8111-111111111111' +const otherLeafId = '22222222-2222-4222-8222-222222222222' +const paneKey = `tab-1:${leafId}` + +const runLeafLayout = { + root: { type: 'leaf' as const, leafId }, + activeLeafId: leafId, + expandedLeafId: null +} +const livePtyIds = ['pty-run'] + +function run(overrides: Partial = {}): AutomationRun { + return { + id: 'run-1', + automationId: 'automation-1', + title: 'Run 1', + scheduledFor: 1, + status: 'completed', + trigger: 'manual', + workspaceId: 'wt-1', + workspaceDisplayName: 'Workspace', + sessionKind: 'terminal', + chatSessionId: null, + terminalSessionId: 'tab-1', + terminalPaneKey: paneKey, + terminalPtyId: 'pty-run', + outputSnapshot: null, + precheckResult: null, + usage: null, + error: null, + startedAt: 1, + dispatchedAt: 1, + createdAt: 1, + ...overrides + } +} + +describe('automation run open target', () => { + it('rejects a layout whose run leaf is bound to another PTY', () => { + expect( + resolveAutomationRunOpenTarget({ + run: run(), + terminalTabExists: true, + currentLayout: { + ...runLeafLayout, + ptyIdsByLeafId: { [leafId]: 'pty-other' } + }, + livePtyIds + }) + ).toBeNull() + }) + + it('does not rebuild a layout that is missing the run pane', () => { + expect( + resolveAutomationRunOpenTarget({ + run: run(), + terminalTabExists: true, + currentLayout: { + root: { type: 'leaf', leafId: otherLeafId }, + activeLeafId: otherLeafId, + expandedLeafId: null, + ptyIdsByLeafId: { [otherLeafId]: 'pty-empty-shell' } + }, + livePtyIds + }) + ).toBeNull() + }) + + it('does not open when the current tab layout is unavailable', () => { + expect( + resolveAutomationRunOpenTarget({ + run: run(), + terminalTabExists: true, + currentLayout: null, + livePtyIds + }) + ).toBeNull() + }) +}) diff --git a/src/renderer/src/components/automations/automation-run-open-target.ts b/src/renderer/src/components/automations/runs/automation-run-open-target.ts similarity index 91% rename from src/renderer/src/components/automations/automation-run-open-target.ts rename to src/renderer/src/components/automations/runs/automation-run-open-target.ts index 3ba854dd0a4..8fd6a1d96ef 100644 --- a/src/renderer/src/components/automations/automation-run-open-target.ts +++ b/src/renderer/src/components/automations/runs/automation-run-open-target.ts @@ -1,34 +1,34 @@ -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import { makePaneKey, parsePaneKey } from '../../../../shared/workspace-layout/stable-pane-id' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' +import { makePaneKey, parsePaneKey } from '../../../../../shared/workspace-layout/stable-pane-id' import { parseRemoteRuntimePtyId, isRemoteRuntimePtyId -} from '../../../../shared/remote-runtime/remote-runtime-pty-id' +} from '../../../../../shared/remote-runtime/remote-runtime-pty-id' import { isWebTerminalSurfaceTabId, toWebTerminalSurfaceTabId -} from '../../../../shared/workspace-layout/terminal-surface-id' -import type { TerminalLayoutSnapshot } from '../../../../shared/workspace-layout/terminal-tab-types' -import { terminalLayoutContainsLeaf } from '../../../../shared/workspace-session/workspace-session-pane-ownership' +} from '../../../../../shared/workspace-layout/terminal-surface-id' +import type { TerminalLayoutSnapshot } from '../../../../../shared/workspace-layout/terminal-tab-types' +import { terminalLayoutContainsLeaf } from '../../../../../shared/workspace-session/workspace-session-pane-ownership' import { getRepoExecutionHostId, parseExecutionHostId, toRuntimeExecutionHostId, type ExecutionHostId -} from '../../../../shared/execution-host' -import type { AutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' +} from '../../../../../shared/execution-host' +import type { AutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import type { AppState } from '@/store/types' import { selectFolderWorkspaces, selectWorktreesByRepo } from '@/store/workspaces/catalog/workspace-record-fields' -import { getFolderWorkspaceWorktree } from '../../../../shared/folder-workspaces/folder-workspace-worktree' +import { getFolderWorkspaceWorktree } from '../../../../../shared/folder-workspaces/folder-workspace-worktree' import { resolveExactWorktreeRoute } from '@/lib/workspace/ownership/worktree-owner-route' -import { parseWorkspaceKey } from '../../../../shared/workspace-scope' +import { parseWorkspaceKey } from '../../../../../shared/workspace-scope' import { getAutomationRunViewState } from './automation-run-view-state' import { resolveOwner } from '@/lib/workspace/ownership/resolve-owner' import type { WorktreeOperationRouteState } from '@/lib/workspace/ownership/worktree-operation-route' -import { resolveQualifiedFolderWorkspaceResult } from '../../../../shared/folder-workspaces/folder-workspace-execution-host' +import { resolveQualifiedFolderWorkspaceResult } from '../../../../../shared/folder-workspaces/folder-workspace-execution-host' import { getRuntimeEnvironmentIdForFolderWorkspace } from '@/lib/workspace/ownership/folder-workspace-runtime-owner' export type AutomationRunPaneTarget = { @@ -141,8 +141,6 @@ export function resolveAutomationRunTerminalTarget( } } -export { buildAutomationRunOpenLayout } from './automation-run-pane-layout' - /** The paired server that owns the run's workspace, or null when this client runs it itself. */ export function getAutomationRunOwnerEnvironmentId( state: WorktreeOperationRouteState, diff --git a/src/renderer/src/components/automations/automation-run-pane-layout.ts b/src/renderer/src/components/automations/runs/automation-run-pane-layout.ts similarity index 84% rename from src/renderer/src/components/automations/automation-run-pane-layout.ts rename to src/renderer/src/components/automations/runs/automation-run-pane-layout.ts index 5cf655364a1..516f05afc07 100644 --- a/src/renderer/src/components/automations/automation-run-pane-layout.ts +++ b/src/renderer/src/components/automations/runs/automation-run-pane-layout.ts @@ -1,4 +1,4 @@ -import type { TerminalLayoutSnapshot } from '../../../../shared/workspace-layout/terminal-tab-types' +import type { TerminalLayoutSnapshot } from '../../../../../shared/workspace-layout/terminal-tab-types' import type { AutomationRunPaneTarget } from './automation-run-open-target' export function buildAutomationRunOpenLayout({ diff --git a/src/renderer/src/components/automations/automation-run-view-state.ts b/src/renderer/src/components/automations/runs/automation-run-view-state.ts similarity index 96% rename from src/renderer/src/components/automations/automation-run-view-state.ts rename to src/renderer/src/components/automations/runs/automation-run-view-state.ts index a05ea7e6a4e..9e784026851 100644 --- a/src/renderer/src/components/automations/automation-run-view-state.ts +++ b/src/renderer/src/components/automations/runs/automation-run-view-state.ts @@ -1,5 +1,5 @@ -import type { Automation } from '../../../../shared/automations/automation-definition' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' +import type { Automation } from '../../../../../shared/automations/automation-definition' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' import { translate } from '@/i18n/i18n' export type AutomationRunViewAvailability = diff --git a/src/renderer/src/components/automations/automation-run-workspace-action.ts b/src/renderer/src/components/automations/runs/automation-run-workspace-action.ts similarity index 91% rename from src/renderer/src/components/automations/automation-run-workspace-action.ts rename to src/renderer/src/components/automations/runs/automation-run-workspace-action.ts index 7606afe8169..7c6b8797c46 100644 --- a/src/renderer/src/components/automations/automation-run-workspace-action.ts +++ b/src/renderer/src/components/automations/runs/automation-run-workspace-action.ts @@ -1,23 +1,23 @@ -import { openExistingStructuredSession } from '@/lib/open-existing-structured-session' -import { ALL_TUI_AGENTS } from '../../../../shared/agent-launch/catalog/tui-agent-display-names' -import { isStructuredAgentSessionIdFor } from '../../../../shared/agent-session/structured-agent-session-create' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' +import { openExistingStructuredSession } from '@/lib/agent-session/open/open-existing-structured-session' +import { ALL_TUI_AGENTS } from '../../../../../shared/agent-launch/catalog/tui-agent-display-names' +import { isStructuredAgentSessionIdFor } from '../../../../../shared/agent-session/structured-agent-session-create' import { toast } from 'sonner' import { translate } from '@/i18n/i18n' import { activateAndRevealWorktree, activateAndRevealFolderWorkspace } from '@/lib/workspace/activation/worktree-activation' -import type { ActivateAndRevealResult } from '@/lib/workspace/activation/worktree-activation-outcome' import { activateWslMovedWorkspace } from '@/lib/workspace/activation/wsl-moved-chat-activation' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { activateTerminalTabOnOwner } from '@/lib/workspace/tabs/terminal-tab-owner-activation' import { activateWebRuntimeSessionTab } from '@/runtime/web-session-tabs-sync/actions/web-runtime-session-tab-lifecycle' import { resolveWebSessionVisibleTabId } from '@/runtime/web-session-tabs-sync/navigation/web-session-focus-intent' -import { parsePaneKey } from '../../../../shared/workspace-layout/stable-pane-id' -import { parseWorkspaceKey } from '../../../../shared/workspace-scope' -import { buildAutomationRunOpenLayout } from './automation-run-open-target' -import type { AutomationsPageActionContext } from './automations-page-action-context' +import { parsePaneKey } from '../../../../../shared/workspace-layout/stable-pane-id' +import { parseWorkspaceKey } from '../../../../../shared/workspace-scope' +import { buildAutomationRunOpenLayout } from './automation-run-pane-layout' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' +import type { ActivateAndRevealResult } from '@/lib/workspace/activation/worktree-activation-outcome' +import type { AutomationsPageActionContext } from '../automations-page-action-context' let cancelPendingReveal: (() => void) | undefined diff --git a/src/renderer/src/components/automations/automation-run-workspace-display.ts b/src/renderer/src/components/automations/runs/automation-run-workspace-display.ts similarity index 90% rename from src/renderer/src/components/automations/automation-run-workspace-display.ts rename to src/renderer/src/components/automations/runs/automation-run-workspace-display.ts index 7726dd6677a..80023bd47ba 100644 --- a/src/renderer/src/components/automations/automation-run-workspace-display.ts +++ b/src/renderer/src/components/automations/runs/automation-run-workspace-display.ts @@ -1,7 +1,7 @@ import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import type { Worktree } from '../../../../shared/worktree/types' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' +import type { Worktree } from '../../../../../shared/worktree/types' export type AutomationRunWorkspaceDisplay = { rowLabel: string diff --git a/src/renderer/src/components/automations/automation-runs-dashboard-model.ts b/src/renderer/src/components/automations/runs/automation-runs-dashboard-model.ts similarity index 93% rename from src/renderer/src/components/automations/automation-runs-dashboard-model.ts rename to src/renderer/src/components/automations/runs/automation-runs-dashboard-model.ts index d575f271feb..cef4501da04 100644 --- a/src/renderer/src/components/automations/automation-runs-dashboard-model.ts +++ b/src/renderer/src/components/automations/runs/automation-runs-dashboard-model.ts @@ -1,10 +1,10 @@ import type { AutomationRun, AutomationRunStatus -} from '../../../../shared/automations/history/automation-run' -import { parseExecutionHostId } from '../../../../shared/execution-host' -import type { AutomationActionNotice } from './automation-row-action-dispatch' -import type { AutomationListRow } from './automation-list-row-identity' +} from '../../../../../shared/automations/history/automation-run' +import { parseExecutionHostId } from '../../../../../shared/execution-host' +import type { AutomationActionNotice } from '../hosts/automation-row-action-dispatch' +import type { AutomationListRow } from '../listing/automation-list-row-identity' export type AutomationRunsDashboardRun = Pick< AutomationRun, diff --git a/src/renderer/src/components/automations/automation-usage-model.ts b/src/renderer/src/components/automations/runs/automation-usage-model.ts similarity index 92% rename from src/renderer/src/components/automations/automation-usage-model.ts rename to src/renderer/src/components/automations/runs/automation-usage-model.ts index a43b4a13ea8..03449a6643a 100644 --- a/src/renderer/src/components/automations/automation-usage-model.ts +++ b/src/renderer/src/components/automations/runs/automation-usage-model.ts @@ -1,7 +1,7 @@ import { getIntlLocale, translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' -import type { AutomationUsageSummary } from '../../../../shared/automations/history/automation-usage-summary' -import type { AutomationRunUsage } from '../../../../shared/automations/history/automation-run' +import type { AutomationUsageSummary } from '../../../../../shared/automations/history/automation-usage-summary' +import type { AutomationRunUsage } from '../../../../../shared/automations/history/automation-run' // Keep retained-run summaries shared across owning authorities; only display formatting belongs to the renderer. diff --git a/src/renderer/src/components/automations/use-automation-run-page-state.ts b/src/renderer/src/components/automations/runs/use-automation-run-page-state.ts similarity index 93% rename from src/renderer/src/components/automations/use-automation-run-page-state.ts rename to src/renderer/src/components/automations/runs/use-automation-run-page-state.ts index e35bd264191..dedf4911686 100644 --- a/src/renderer/src/components/automations/use-automation-run-page-state.ts +++ b/src/renderer/src/components/automations/runs/use-automation-run-page-state.ts @@ -6,14 +6,14 @@ import { getAutomationAuthorityTarget, getAutomationHostTargetKey, getAutomationListedTargetFromHostId -} from './automation-host-client' -import { ALL_AUTOMATION_HOSTS_FILTER } from '../../../../shared/automations/ownership/automation-host-filter' +} from '../hosts/automation-host-client' +import { ALL_AUTOMATION_HOSTS_FILTER } from '../../../../../shared/automations/ownership/automation-host-filter' import { canRerunAutomationRun } from './automation-run-view-state' import { getAutomationRunWorkspaceDisplay } from './automation-run-workspace-display' -import type { AutomationsPageListState } from './use-automations-page-list-state' -import type { AutomationsPageLocalState } from './use-automations-page-local-state' -import type { AutomationsPageSetupState } from './use-automations-page-setup-state' -import type { AutomationsPageStoreState } from './use-automations-page-store-state' +import type { AutomationsPageListState } from '../listing/use-automations-page-list-state' +import type { AutomationsPageLocalState } from '../use-automations-page-local-state' +import type { AutomationsPageSetupState } from '../authoring/use-automations-page-setup-state' +import type { AutomationsPageStoreState } from '../use-automations-page-store-state' /** Navigation and terminal affordances for the selected automation run. */ export function useAutomationRunPageState({ diff --git a/src/renderer/src/components/automations/use-automation-runs-dashboard.ts b/src/renderer/src/components/automations/runs/use-automation-runs-dashboard.ts similarity index 82% rename from src/renderer/src/components/automations/use-automation-runs-dashboard.ts rename to src/renderer/src/components/automations/runs/use-automation-runs-dashboard.ts index 58d4fcbfdfb..571b1e15650 100644 --- a/src/renderer/src/components/automations/use-automation-runs-dashboard.ts +++ b/src/renderer/src/components/automations/runs/use-automation-runs-dashboard.ts @@ -1,17 +1,20 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react' -import type { AutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' -import { ownerKey } from '../../../../shared/automations/ownership/automation-owner-key' -import { capturedAutomationOwner, capturedAutomationOwnerKey } from './automation-captured-owner' +import type { AutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' +import { ownerKey } from '../../../../../shared/automations/ownership/automation-owner-key' +import { + capturedAutomationOwner, + capturedAutomationOwnerKey +} from '../hosts/automation-captured-owner' import { getAutomationHostTargetKey, listAutomationRunsForTarget, type AutomationHostTarget -} from './automation-host-client' -import type { AutomationListRow } from './automation-list-row-identity' +} from '../hosts/automation-host-client' +import type { AutomationListRow } from '../listing/automation-list-row-identity' import { dispatchAutomationRunHistoryPage, type AutomationDispatchContext -} from './automation-row-action-dispatch' +} from '../hosts/automation-row-action-dispatch' import { buildAutomationRunsDashboardEntries, getAutomationRunsScope, @@ -182,5 +185,23 @@ export function useAutomationRunsDashboard({ } }, [enabled, loadMore, loadMoreToken, queryKey, reloadToken]) - return enabled ? { ...state, loadMore } : { ...EMPTY_STATE, loadMore } + const currentEntries = useMemo(() => { + const runsByRowKey = new Map() + for (const entry of state.entries) { + const runs = runsByRowKey.get(entry.row.key) ?? [] + runs.push(entry.run) + runsByRowKey.set(entry.row.key, runs) + } + return buildAutomationRunsDashboardEntries(rows, runsByRowKey) + }, [rows, state.entries]) + const currentFailures = useMemo(() => { + const rowsByKey = new Map(rows.map((row) => [row.key, row])) + return state.failures.map((failure) => ({ + ...failure, + row: rowsByKey.get(failure.row.key) ?? failure.row + })) + }, [rows, state.failures]) + return enabled + ? { ...state, entries: currentEntries, failures: currentFailures, loadMore } + : { ...EMPTY_STATE, loadMore } } diff --git a/src/renderer/src/components/automations/use-full-automation-run.ts b/src/renderer/src/components/automations/runs/use-full-automation-run.ts similarity index 89% rename from src/renderer/src/components/automations/use-full-automation-run.ts rename to src/renderer/src/components/automations/runs/use-full-automation-run.ts index caf6856dd6d..f534ec145fe 100644 --- a/src/renderer/src/components/automations/use-full-automation-run.ts +++ b/src/renderer/src/components/automations/runs/use-full-automation-run.ts @@ -1,9 +1,9 @@ import { useEffect, useLayoutEffect, useRef, useState } from 'react' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import { automationActionAvailability } from './automation-captured-owner' -import { readFullAutomationRun } from './automation-scoped-list-client' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' +import { automationActionAvailability } from '../hosts/automation-captured-owner' +import { readFullAutomationRun } from '../hosts/automation-scoped-list-client' import type { SelectedAutomationRunHistoryOutcome } from './use-selected-automation-run-history' -import { useTranslate } from '../../i18n/use-translate' +import { useTranslate } from '../../../i18n/use-translate' export type FullAutomationRun = { run: AutomationRun diff --git a/src/renderer/src/components/automations/use-selected-automation-run-history.ts b/src/renderer/src/components/automations/runs/use-selected-automation-run-history.ts similarity index 90% rename from src/renderer/src/components/automations/use-selected-automation-run-history.ts rename to src/renderer/src/components/automations/runs/use-selected-automation-run-history.ts index 6f9a96436c2..0bb044be483 100644 --- a/src/renderer/src/components/automations/use-selected-automation-run-history.ts +++ b/src/renderer/src/components/automations/runs/use-selected-automation-run-history.ts @@ -9,30 +9,30 @@ */ import { useEffect, useLayoutEffect, useRef } from 'react' -import type { AutomationRun } from '../../../../shared/automations/history/automation-run' -import type { AutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' +import type { AutomationRun } from '../../../../../shared/automations/history/automation-run' +import type { AutomationAuthorityRef } from '../../../../../shared/automations/ownership/automation-owner-ref' import { capturedAutomationOwner, capturedAutomationOwnerKey, type AutomationCapturedOwner -} from './automation-captured-owner' -import type { AutomationListRow } from './automation-list-row-identity' +} from '../hosts/automation-captured-owner' +import type { AutomationListRow } from '../listing/automation-list-row-identity' import { type AutomationActionNotice, type AutomationDispatchContext, dispatchAutomationRunHistory -} from './automation-row-action-dispatch' +} from '../hosts/automation-row-action-dispatch' import { getAutomationAuthorityTarget, getAutomationTargetFromHostId, listAutomationRunsForTarget, type AutomationHostTarget -} from './automation-host-client' -import { useAppStore } from '@/store' -import { automationRuntimePairingRevision } from './automation-authority-identity' -import { automationAuthorityCatalogKey } from './automation-host-catalog-types' -import { isSameStableAutomationHost } from '../../../../shared/automations/ownership/automation-owner-key' -import { subscribeAutomationHostInvalidation } from './automation-host-invalidation-window-events' +} from '../hosts/automation-host-client' +import { useAppStore } from '@/store/index' +import { automationRuntimePairingRevision } from '../hosts/automation-authority-identity' +import { automationAuthorityCatalogKey } from '../hosts/automation-host-catalog-types' +import { isSameStableAutomationHost } from '../../../../../shared/automations/ownership/automation-owner-key' +import { subscribeAutomationHostInvalidation } from '../hosts/automation-host-invalidation-window-events' export type SelectedAutomationRunNavigation = { automationId: string diff --git a/src/renderer/src/components/automations/use-automation-list-focus-recovery.test.tsx b/src/renderer/src/components/automations/use-automation-list-focus-recovery.test.tsx deleted file mode 100644 index 6dcb1383fec..00000000000 --- a/src/renderer/src/components/automations/use-automation-list-focus-recovery.test.tsx +++ /dev/null @@ -1,88 +0,0 @@ -// @vitest-environment happy-dom - -/** Exercise real DOM focus: the hook must distinguish lost row focus from a user who moved elsewhere. */ - -import { act, useRef } from 'react' -import { createRoot, type Root } from 'react-dom/client' -import { afterEach, beforeEach, describe, expect, it } from 'vitest' -import { useAutomationListFocusRecovery } from './use-automation-list-focus-recovery' - -let container: HTMLDivElement -let root: Root - -beforeEach(() => { - globalThis.IS_REACT_ACT_ENVIRONMENT = true - container = document.createElement('div') - document.body.appendChild(container) - root = createRoot(container) -}) - -afterEach(() => { - act(() => root.unmount()) - container.remove() -}) - -function Harness({ rowKeys }: { rowKeys: readonly string[] }): React.JSX.Element { - const listRef = useRef(null) - const pickerRef = useRef(null) - useAutomationListFocusRecovery({ rowKeys, containerRef: listRef, fallbackRef: pickerRef }) - return ( -
- {/* The header: outside the list container, exactly as the panel lays it out. */} -
-
- -
- {rowKeys.map((rowKey) => ( -
- ))} -
-
- ) -} - -function render(rowKeys: readonly string[]): void { - act(() => { - root.render() - }) -} - -function node(testId: string): HTMLElement { - const found = container.querySelector(`[data-testid="${testId}"]`) - if (!found) { - throw new Error(`no node for ${testId}`) - } - return found -} - -function focus(testId: string): void { - act(() => { - node(testId).focus() - }) -} - -describe('useAutomationListFocusRecovery', () => { - it('leaves focus in the search field when filtering removes the row it was on', () => { - render(['r1', 'r2', 'r3']) - focus('r2') - focus('search') - const search = node('search') - - render(['r1', 'r3']) - - expect(document.activeElement).toBe(search) - }) - - it('still repairs focus lost from the list itself', () => { - render(['r1', 'r2', 'r3']) - focus('r2') - act(() => { - node('r2').blur() - }) - - render(['r1', 'r3']) - - expect(document.activeElement).toBe(node('r3')) - }) -}) diff --git a/src/renderer/src/components/automations/use-automation-runs-dashboard-payload.test.tsx b/src/renderer/src/components/automations/use-automation-runs-dashboard-payload.test.tsx deleted file mode 100644 index 63fdfa53b87..00000000000 --- a/src/renderer/src/components/automations/use-automation-runs-dashboard-payload.test.tsx +++ /dev/null @@ -1,151 +0,0 @@ -// @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 { AutomationRun } from '../../../../shared/automations/history/automation-run' -import { makeAutomationListRow, makeRun } from './automations-page-fixtures' -import * as dispatch from './automation-row-action-dispatch' -import { useAutomationRunsDashboard } from './use-automation-runs-dashboard' - -vi.mock('./automation-row-action-dispatch', async (importOriginal) => ({ - ...(await importOriginal()), - dispatchAutomationRunHistoryPage: vi.fn(), - dispatchAutomationRunHistory: vi.fn() -})) - -const pageSpy = vi.mocked(dispatch.dispatchAutomationRunHistoryPage) -const selectedSpy = vi.mocked(dispatch.dispatchAutomationRunHistory) -const row = makeAutomationListRow() -const rows = [row] -const context = { capturedOwners: new Map(), authority: { kind: 'desktop' as const } } -const legacyTarget = () => null -const authorityForRow = () => ({ kind: 'desktop' as const }) -type DashboardResult = ReturnType -type PageResult = Awaited> - -let root: Root -let container: HTMLDivElement -let latest: DashboardResult | null = null - -const frames: { enabled: boolean; ids: string[]; loading: boolean }[] = [] - -function Harness({ enabled }: { enabled: boolean; detail?: boolean }): null { - latest = useAutomationRunsDashboard({ - enabled, - rows, - context, - legacyTarget, - authorityForRow, - reloadToken: 0 - }) - - frames.push({ - enabled, - ids: latest.entries.map((entry) => entry.run.id), - loading: latest.loading - }) - return null -} - -async function render(enabled: boolean, detail: boolean = false): Promise { - await act(async () => { - root.render() - }) -} - -function entries(): DashboardResult['entries'] { - if (!latest) { - throw new Error('Expected the mounted dashboard result') - } - return latest.entries -} - -function fullRun(id: string, scheduledFor: number = 10): AutomationRun { - return makeRun({ - id, - scheduledFor, - title: `Run ${id}`, - trigger: 'manual', - outputSnapshot: { - format: 'plain_text', - content: `Terminal output for ${id}\n`, - capturedAt: 20, - truncated: false - } - }) -} - -function pendingPage() { - let complete: ((result: PageResult) => void) | null = null - const promise = new Promise((resolve) => { - complete = resolve - }) - return { - promise, - resolve: (result: PageResult): void => { - if (!complete) { - throw new Error('Expected a pending history request') - } - complete(result) - } - } -} - -beforeEach(() => { - globalThis.IS_REACT_ACT_ENVIRONMENT = true - container = document.createElement('div') - document.body.append(container) - root = createRoot(container) - frames.length = 0 -}) - -afterEach(() => { - act(() => root.unmount()) - container.remove() - latest = null - - frames.length = 0 - pageSpy.mockReset() - selectedSpy.mockReset() -}) - -describe('automation dashboard run payload ownership', () => { - it('preserves the first duplicate, chronological order and cursor retirement when paging', async () => { - pageSpy - .mockResolvedValueOnce({ - ok: true, - value: { runs: [fullRun('head', 20)], nextCursor: 'next-page' } - }) - .mockResolvedValueOnce({ - ok: true, - value: { runs: [fullRun('head', 30), fullRun('older', 10)], nextCursor: null } - }) - await render(true) - await act(async () => latest?.loadMore()) - - expect(entries().map((entry) => [entry.run.id, entry.run.scheduledFor])).toEqual([ - ['head', 20], - ['older', 10] - ]) - expect(pageSpy.mock.calls[1]?.[2].cursor).toBe('next-page') - expect(latest?.hasMore).toBe(false) - }) - - it('ignores a closed request that finishes after a fresh re-entry', async () => { - const pending = pendingPage() - pageSpy.mockReturnValueOnce(pending.promise).mockResolvedValueOnce({ - ok: true, - value: { runs: [fullRun('fresh')], nextCursor: null } - }) - await render(true) - await render(false) - await render(true) - await act(async () => { - pending.resolve({ ok: true, value: { runs: [fullRun('obsolete')], nextCursor: 'stale' } }) - }) - - expect(entries().map((entry) => entry.run.id)).toEqual(['fresh']) - expect(latest?.hasMore).toBe(false) - }) -}) diff --git a/src/renderer/src/components/automations/use-automation-runs-dashboard.test.tsx b/src/renderer/src/components/automations/use-automation-runs-dashboard.test.tsx deleted file mode 100644 index e3dbd5c929c..00000000000 --- a/src/renderer/src/components/automations/use-automation-runs-dashboard.test.tsx +++ /dev/null @@ -1,122 +0,0 @@ -// @vitest-environment happy-dom - -import { act, useCallback } from 'react' -import { createRoot, type Root } from 'react-dom/client' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { AutomationAuthorityRef } from '../../../../shared/automations/ownership/automation-owner-ref' -import type { AutomationRunsPage } from '../../../../shared/automations/history/automation-run' -import type { AutomationHostTarget } from './automation-host-client' -import { makeAutomationListRow, makeRun } from './automations-page-fixtures' -import * as dispatch from './automation-row-action-dispatch' -import { useAutomationRunsDashboard } from './use-automation-runs-dashboard' - -vi.mock('./automation-row-action-dispatch', async (importOriginal) => ({ - ...(await importOriginal()), - dispatchAutomationRunHistoryPage: vi.fn() -})) - -const historySpy = vi.mocked(dispatch.dispatchAutomationRunHistoryPage) - -const PAGES: Record = { - head: { runs: [makeRun({ id: 'run-2', createdAt: 2 })], nextCursor: '2:run-2' }, - '2:run-2': { runs: [makeRun({ id: 'run-1', createdAt: 1 })], nextCursor: null } -} - -const row = makeAutomationListRow() -const rows = [row] -const context = { capturedOwners: new Map(), authority: { kind: 'desktop' as const } } - -type DashboardResult = ReturnType - -let container: HTMLDivElement -let root: Root -let latest: DashboardResult | null = null - -type HarnessProps = { - enabled: boolean - authority?: AutomationAuthorityRef - target?: AutomationHostTarget | null -} - -function Harness({ enabled, authority, target }: HarnessProps): null { - latest = useAutomationRunsDashboard({ - enabled, - rows, - context, - legacyTarget: useCallback(() => target ?? null, [target]), - authorityForRow: useCallback(() => authority ?? { kind: 'desktop' }, [authority]), - reloadToken: 0 - }) - return null -} - -async function render(enabled: boolean, props: Omit = {}): Promise { - await act(async () => { - root.render() - }) -} - -beforeEach(() => { - historySpy.mockImplementation(async (_context, _row, options) => ({ - ok: true, - value: PAGES[options.cursor ?? 'head'] - })) - container = document.createElement('div') - document.body.append(container) - root = createRoot(container) -}) - -afterEach(() => { - act(() => root.unmount()) - container.remove() - latest = null - historySpy.mockReset() -}) - -describe('useAutomationRunsDashboard', () => { - it('keeps the cursor when a load more fails so the page stays retryable', async () => { - await render(true) - historySpy.mockImplementationOnce(async () => ({ - ok: false, - notice: { message: 'offline', recovery: null, severity: 'failure' } - })) - - await act(async () => latest?.loadMore()) - expect(latest?.entries.map((entry) => entry.run.id)).toEqual(['run-2']) - expect(latest?.hasMore).toBe(true) - - await act(async () => latest?.loadMore()) - - expect(historySpy.mock.calls.at(-1)?.[2].cursor).toBe('2:run-2') - expect(latest?.entries.map((entry) => entry.run.id)).toEqual(['run-2', 'run-1']) - }) - - it('reloads from the head when the authority is re-paired', async () => { - const paired = (pairingRevision: number): AutomationAuthorityRef => ({ - kind: 'runtime', - environmentId: 'env-1', - pairingRevision - }) - await render(true, { authority: paired(1) }) - await act(async () => latest?.loadMore()) - expect(latest?.entries).toHaveLength(2) - historySpy.mockClear() - - await render(true, { authority: paired(2) }) - - expect(historySpy.mock.calls.at(-1)?.[2].cursor).toBeUndefined() - expect(latest?.entries.map((entry) => entry.run.id)).toEqual(['run-2']) - }) - - it('reloads from the head when an uncaptured row moves to another fallback target', async () => { - await render(true, { target: { kind: 'local' } }) - await act(async () => latest?.loadMore()) - expect(latest?.entries).toHaveLength(2) - historySpy.mockClear() - - await render(true, { target: { kind: 'environment', environmentId: 'env-1' } }) - - expect(historySpy.mock.calls.at(-1)?.[2].cursor).toBeUndefined() - expect(latest?.entries.map((entry) => entry.run.id)).toEqual(['run-2']) - }) -}) diff --git a/src/renderer/src/components/automations/use-automations-page-controller.ts b/src/renderer/src/components/automations/use-automations-page-controller.ts index a31c26e0bf6..132eb3135bb 100644 --- a/src/renderer/src/components/automations/use-automations-page-controller.ts +++ b/src/renderer/src/components/automations/use-automations-page-controller.ts @@ -1,22 +1,22 @@ -import { createAutomationManagementActions } from './automation-management-actions' -import { createAutomationRunActions } from './automation-run-actions' -import { createAutomationRunWorkspaceAction } from './automation-run-workspace-action' -import { createAutomationSaveAction } from './automation-save-action' -import { useAutomationDraftEffects } from './use-automation-draft-effects' -import { useAutomationEditorActions } from './use-automation-editor-actions' -import { useAutomationMigrateAction } from './use-automation-migrate-action' -import { useAutomationRunPageState } from './use-automation-run-page-state' +import { createAutomationManagementActions } from './authoring/automation-management-actions' +import { createAutomationRunActions } from './runs/automation-run-actions' +import { createAutomationRunWorkspaceAction } from './runs/automation-run-workspace-action' +import { createAutomationSaveAction } from './authoring/automation-save-action' +import { useAutomationDraftEffects } from './authoring/use-automation-draft-effects' +import { useAutomationEditorActions } from './authoring/use-automation-editor-actions' +import { useAutomationMigrateAction } from './authoring/use-automation-migrate-action' +import { useAutomationRunPageState } from './runs/use-automation-run-page-state' import { useAutomationsPageEscape } from './use-automations-page-escape' -import { useAutomationsPageListState } from './use-automations-page-list-state' +import { useAutomationsPageListState } from './listing/use-automations-page-list-state' import { useAutomationsPageLocalState } from './use-automations-page-local-state' -import { useAutomationsPageDestinationState } from './use-automations-page-destination-state' -import { useAutomationsPageDestinationForm } from './use-automations-page-destination-form' +import { useAutomationsPageDestinationState } from './authoring/use-automations-page-destination-state' +import { useAutomationsPageDestinationForm } from './authoring/use-automations-page-destination-form' import { useAutomationsPagePresentationState } from './use-automations-page-presentation-state' import { useAutomationsPageRefresh } from './use-automations-page-refresh' -import { useAutomationsPageSetupState } from './use-automations-page-setup-state' +import { useAutomationsPageSetupState } from './authoring/use-automations-page-setup-state' import { useAutomationsPageStoreState } from './use-automations-page-store-state' -import { useExternalAutomationActions } from './use-external-automation-actions' -import { useAutomationRunsDashboard } from './use-automation-runs-dashboard' +import { useExternalAutomationActions } from './external/use-external-automation-actions' +import { useAutomationRunsDashboard } from './runs/use-automation-runs-dashboard' export function useAutomationsPageController() { const store = useAutomationsPageStoreState() diff --git a/src/renderer/src/components/automations/use-automations-page-escape.ts b/src/renderer/src/components/automations/use-automations-page-escape.ts index 36656ad6fe7..1b9427d0b89 100644 --- a/src/renderer/src/components/automations/use-automations-page-escape.ts +++ b/src/renderer/src/components/automations/use-automations-page-escape.ts @@ -1,5 +1,5 @@ import { useEffect } from 'react' -import { hasVisibleOverlay } from '@/lib/visible-overlay' +import { hasVisibleOverlay } from '@/lib/overlay-interaction/visible-overlay' import type { AutomationsPageLocalState } from './use-automations-page-local-state' import type { AutomationsPageStoreState } from './use-automations-page-store-state' import { addAppKeyListener, removeAppKeyListener } from '@/lib/keyboard/app-keyboard-router' diff --git a/src/renderer/src/components/automations/use-automations-page-local-state.ts b/src/renderer/src/components/automations/use-automations-page-local-state.ts index 7589076e4fe..87d4438d963 100644 --- a/src/renderer/src/components/automations/use-automations-page-local-state.ts +++ b/src/renderer/src/components/automations/use-automations-page-local-state.ts @@ -6,24 +6,24 @@ import type { } from '../../../../shared/automations/external/external-automation' import type { OrcaHooks } from '../../../../shared/orca-yaml-hook-types' import { useContextualTour } from '@/components/contextual-tours/use-contextual-tour' -import type { AutomationDraft } from './AutomationEditorDialog' -import { AUTOMATION_DEFAULT_TIME } from './automation-draft-model' -import type { AutomationActionNotice } from './automation-row-action-dispatch' -import type { AutomationHostCatalogEntry } from './automation-host-catalog-types' -import type { AutomationCreateDestination } from './automation-create-destination' -import type { AutomationListRow } from './automation-list-row-identity' +import type { AutomationDraft } from './authoring/AutomationEditorDialog' +import { AUTOMATION_DEFAULT_TIME } from './authoring/automation-draft-model' +import type { AutomationActionNotice } from './hosts/automation-row-action-dispatch' +import type { AutomationHostCatalogEntry } from './hosts/automation-host-catalog-types' +import type { AutomationCreateDestination } from './authoring/automation-create-destination' +import type { AutomationListRow } from './listing/automation-list-row-identity' import { EMPTY_AUTOMATION_LIST_FILTER, type AutomationListFilter, type AutomationListSort -} from './automation-list-view' +} from './listing/automation-list-view' import type { AutomationPaneTab, AutomationRunPageOrigin, AutomationsPageView } from './automation-page-state' -import type { ExternalAutomationScope } from './external-automation-scope-client' -import type { SelectedAutomationRunHistoryOutcome } from './use-selected-automation-run-history' +import type { ExternalAutomationScope } from './external/external-automation-scope-client' +import type { SelectedAutomationRunHistoryOutcome } from './runs/use-selected-automation-run-history' import type { AutomationsPageStoreState } from './use-automations-page-store-state' /** React-owned values for the page; host/catalog state remains in dedicated hooks. */ diff --git a/src/renderer/src/components/automations/use-automations-page-presentation-state.ts b/src/renderer/src/components/automations/use-automations-page-presentation-state.ts index eb694afb229..964f9f783c1 100644 --- a/src/renderer/src/components/automations/use-automations-page-presentation-state.ts +++ b/src/renderer/src/components/automations/use-automations-page-presentation-state.ts @@ -1,4 +1,4 @@ -import { capturedAutomationOwner } from './automation-captured-owner' +import { capturedAutomationOwner } from './hosts/automation-captured-owner' import { useCallback, useEffect, useMemo } from 'react' import { getLocalExecutionHostLabel, @@ -7,10 +7,10 @@ import { } from '../../../../shared/execution-host' import { getHostDisplayLabelOverrides } from '../../../../shared/host-setting-overrides' import type { Repo } from '../../../../shared/repo-types' -import { getAutomationTargetAvailability } from './automation-target-availability' -import type { AutomationsPageDestinationState } from './use-automations-page-destination-state' -import type { AutomationsPageDestinationFormState } from './use-automations-page-destination-form' -import type { AutomationsPageListState } from './use-automations-page-list-state' +import { getAutomationTargetAvailability } from './hosts/automation-target-availability' +import type { AutomationsPageDestinationState } from './authoring/use-automations-page-destination-state' +import type { AutomationsPageDestinationFormState } from './authoring/use-automations-page-destination-form' +import type { AutomationsPageListState } from './listing/use-automations-page-list-state' import type { AutomationsPageLocalState } from './use-automations-page-local-state' import type { AutomationsPageStoreState } from './use-automations-page-store-state' import { useTranslate } from '../../i18n/use-translate' diff --git a/src/renderer/src/components/automations/use-automations-page-refresh.ts b/src/renderer/src/components/automations/use-automations-page-refresh.ts index a0db0e2e6ad..645c91dc6e8 100644 --- a/src/renderer/src/components/automations/use-automations-page-refresh.ts +++ b/src/renderer/src/components/automations/use-automations-page-refresh.ts @@ -1,16 +1,16 @@ import { useCallback, useEffect, useRef } from 'react' -import { installWindowVisibilityInterval } from '@/lib/window-visibility-interval' -import { useAppStore } from '@/store' -import { AUTOMATIONS_CHANGED_EVENT } from '@/lib/automations-changed-window-event' +import { installWindowVisibilityInterval } from '@/lib/window-activity/window-visibility-interval' +import { useAppStore } from '@/store/index' +import { AUTOMATIONS_CHANGED_EVENT } from '@/components/automations/events/automations-changed-window-event' import { getAutomationHostTargetKey, getAutomationListedTargetFromHostId, listAutomationsForTarget -} from './automation-host-client' -import { automationAuthorityCatalogKey } from './automation-host-catalog-types' -import { useSelectedAutomationRunHistory } from './use-selected-automation-run-history' -import type { AutomationsPageDestinationState } from './use-automations-page-destination-state' -import type { AutomationsPageListState } from './use-automations-page-list-state' +} from './hosts/automation-host-client' +import { automationAuthorityCatalogKey } from './hosts/automation-host-catalog-types' +import { useSelectedAutomationRunHistory } from './runs/use-selected-automation-run-history' +import type { AutomationsPageDestinationState } from './authoring/use-automations-page-destination-state' +import type { AutomationsPageListState } from './listing/use-automations-page-list-state' import type { AutomationsPageLocalState } from './use-automations-page-local-state' import type { AutomationsPageStoreState } from './use-automations-page-store-state' diff --git a/src/renderer/src/components/automations/use-automations-page-store-state.ts b/src/renderer/src/components/automations/use-automations-page-store-state.ts index 4528ee6ea98..84d48ee7467 100644 --- a/src/renderer/src/components/automations/use-automations-page-store-state.ts +++ b/src/renderer/src/components/automations/use-automations-page-store-state.ts @@ -6,7 +6,7 @@ import { import type { Repo } from '../../../../shared/repo-types' import type { Worktree } from '../../../../shared/worktree/types' import { getAgentCatalog } from '@/lib/agent-catalog/agent-catalog' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { useRepoMap } from '@/store/repos/use-repository-catalog' import { useWorktreeMap } from '@/store/slices/worktrees/listing/use-worktree-catalog' import { @@ -14,7 +14,7 @@ import { automationRepoForRow, automationWorktreeForRow, type AutomationListRow -} from './automation-list-row-identity' +} from './listing/automation-list-row-identity' import { selectFolderWorkspaces, selectWorktreesByRepo diff --git a/src/renderer/src/components/browser-extension-install-dialog.tsx b/src/renderer/src/components/browser-extension-install-dialog.tsx index a291a587b6a..afe0fd3e51c 100644 --- a/src/renderer/src/components/browser-extension-install-dialog.tsx +++ b/src/renderer/src/components/browser-extension-install-dialog.tsx @@ -12,6 +12,7 @@ import { } from '@/components/ui/dialog' import { translate } from '@/i18n/i18n' import { useTranslate, type Translate } from '@/i18n/use-translate' +import { translateBrowserSessionProfileLabel } from '@/lib/browser/profiles/browser-session-profile-label' import { useAppStore } from '@/store' import type { BrowserExtensionInstallPromptRequest } from '../../../shared/browser/extensions/browser-extension-webstore' import { @@ -72,7 +73,7 @@ function promptDescription( ? t( 'browserExtensions.install.profileDescription', 'It runs in tabs that use the {{profile}} profile.', - { profile: request.profileLabel } + { profile: translateBrowserSessionProfileLabel(request.profileLabel) } ) : t('browserExtensions.install.description', 'It runs in Orca browser tabs.') } diff --git a/src/renderer/src/components/browser-favicon.tsx b/src/renderer/src/components/browser-favicon.tsx index 86e1ba67c31..383a3ca1266 100644 --- a/src/renderer/src/components/browser-favicon.tsx +++ b/src/renderer/src/components/browser-favicon.tsx @@ -1,6 +1,6 @@ import { useState } from 'react' import { Globe, Loader2 } from 'lucide-react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { displayableFaviconUrl } from '../../../shared/browser/browser-favicon-url' export function BrowserFavicon({ diff --git a/src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.dead-guest.test.tsx b/src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.dead-guest.test.tsx deleted file mode 100644 index 30b1f23b1c6..00000000000 --- a/src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.dead-guest.test.tsx +++ /dev/null @@ -1,255 +0,0 @@ -// @vitest-environment happy-dom -import { act, cleanup, render, screen } from '@testing-library/react' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { BrowserPage } from '../../../../shared/browser-workspace-types' - -const mocks = vi.hoisted(() => ({ - attach: vi.fn(), - detach: vi.fn(), - recordBreadcrumb: vi.fn() -})) - -vi.mock('./browser-client-page-renderer-installation', () => ({ - attachBrowserClientPageToViewport: mocks.attach -})) -vi.mock('@/lib/crash-breadcrumb-recorder', () => ({ - recordRendererCrashBreadcrumb: mocks.recordBreadcrumb -})) -vi.mock('sonner', () => ({ - toast: { error: vi.fn(), success: vi.fn(), loading: vi.fn(), message: vi.fn() } -})) - -import { TooltipProvider } from '@/components/ui/tooltip' -import { installClientHostedPaneApi } from './client-hosted-browser-pane-test-rig' -import { ClientHostedBrowserPagePane } from './ClientHostedBrowserPagePane' - -const PLACEMENT = { - kind: 'client' as const, - browserHostClientId: 'host-a', - browserHostGeneration: 3, - pageHostGeneration: 7 -} - -/** Verbatim from Electron 43.4.1: main destroyed the guest, the tag still holds its id. */ -function invalidGuestInstanceId(): Error { - return new Error('Invalid guestInstanceId: 7') -} - -/** Verbatim from Electron 43.4.1: focus() after the retained tag left the DOM. */ -function nullContentWindowFocus(): TypeError { - return new TypeError("Cannot read properties of null (reading 'focus')") -} - -function pageNavigationStart(): Event { - return Object.assign(new Event('did-start-navigation'), { - isMainFrame: true, - isInPlace: false, - url: 'https://example.com/next' - }) -} - -function page(overrides?: Partial): BrowserPage { - return { - id: 'page-a', - workspaceId: 'workspace-a', - worktreeId: 'worktree-a', - url: 'https://example.internal/', - title: 'Example', - loading: false, - faviconUrl: null, - canGoBack: false, - canGoForward: false, - loadError: null, - createdAt: 1, - ...overrides - } -} - -function createGuest(): Electron.WebviewTag & { - getURL: ReturnType - reload: ReturnType -} { - const webview = document.createElement('webview') as Electron.WebviewTag & { - getURL: ReturnType - reload: ReturnType - } - Object.assign(webview, { - // An attached guest has a WebContents id; focus waits for one. - getWebContentsId: vi.fn(() => 7), - getURL: vi.fn(() => 'https://example.internal/'), - getTitle: vi.fn(() => 'Example'), - isLoading: vi.fn(() => false), - canGoBack: vi.fn(() => false), - canGoForward: vi.fn(() => false), - focus: vi.fn(), - blur: vi.fn(), - goBack: vi.fn(), - goForward: vi.fn(), - reload: vi.fn(), - loadURL: vi.fn(async () => {}) - }) - mocks.attach.mockReturnValue({ - webview, - detach: mocks.detach, - nextMetadataRevision: vi.fn(() => 1) - }) - return webview -} - -function paneElement( - isActive: boolean, - options?: { browserTab?: BrowserPage; onUpdatePageState?: (id: string, state: unknown) => void } -): React.JSX.Element { - return ( - - - - ) -} - -let webview: ReturnType - -beforeEach(() => { - mocks.attach.mockReset() - mocks.detach.mockReset() - mocks.recordBreadcrumb.mockReset() - installClientHostedPaneApi() - webview = createGuest() -}) - -afterEach(() => { - cleanup() - vi.clearAllMocks() -}) - -describe('client-hosted browser pane over a dead guest', () => { - it('degrades to the unavailable notice when the guest was destroyed in main', () => { - webview.getURL.mockImplementation(() => { - throw invalidGuestInstanceId() - }) - - expect(() => render(paneElement(true))).not.toThrow() - expect(screen.getByText('Client-hosted browser unavailable')).toBeTruthy() - expect(mocks.detach).toHaveBeenCalled() - expect(mocks.recordBreadcrumb).toHaveBeenCalledWith('browser_client_page_guest_unavailable', { - browserPageId: 'page-a', - pageHostGeneration: PLACEMENT.pageHostGeneration, - reason: 'unreadable', - tagConnected: false - }) - // Why: the catch is total, so the swallowed error must stay visible to diagnostics. - expect(mocks.recordBreadcrumb).toHaveBeenCalledWith('browser_client_page_guest_read_failed', { - errorName: 'Error', - errorMessage: 'Invalid guestInstanceId: 7' - }) - }) - - it('flips to the unavailable notice when the guest renderer goes away after attach', () => { - const onUpdatePageState = vi.fn() - render(paneElement(true, { browserTab: page({ loading: true }), onUpdatePageState })) - expect(screen.queryByText('Client-hosted browser unavailable')).toBeNull() - onUpdatePageState.mockClear() - - // The registry pulls the tag out of the DOM on this event without telling the pane. - webview.remove() - act(() => { - webview.dispatchEvent(new Event('render-process-gone')) - }) - - expect(screen.getByText('Client-hosted browser unavailable')).toBeTruthy() - expect(mocks.detach).toHaveBeenCalled() - expect(onUpdatePageState).toHaveBeenCalledWith('page-a', { loading: false }) - expect(mocks.recordBreadcrumb).toHaveBeenCalledWith('browser_client_page_guest_unavailable', { - browserPageId: 'page-a', - pageHostGeneration: PLACEMENT.pageHostGeneration, - reason: 'render-process-gone', - tagConnected: false - }) - }) - - it('flips to the unavailable notice when main destroys the guest after attach', () => { - render(paneElement(true)) - - act(() => { - webview.dispatchEvent(new Event('destroyed')) - }) - - expect(screen.getByText('Client-hosted browser unavailable')).toBeTruthy() - expect(mocks.recordBreadcrumb).toHaveBeenCalledWith( - 'browser_client_page_guest_unavailable', - expect.objectContaining({ reason: 'destroyed' }) - ) - // The chrome must not keep driving the dead tag: Reload routes to the notice, not a throw. - webview.reload.mockImplementation(() => { - throw invalidGuestInstanceId() - }) - expect(() => act(() => screen.getByRole('button', { name: 'Reload' }).click())).not.toThrow() - expect(webview.reload).not.toHaveBeenCalled() - }) - - it('stops the spinner when the guest dies as a load starts', () => { - const onUpdatePageState = vi.fn() - render(paneElement(true, { onUpdatePageState })) - onUpdatePageState.mockClear() - webview.getURL.mockImplementation(() => { - throw invalidGuestInstanceId() - }) - - act(() => { - webview.dispatchEvent(pageNavigationStart()) - }) - - expect(screen.getByText('Client-hosted browser unavailable')).toBeTruthy() - // The navigation start writes loading:true first; the loss must be the last word. - expect(onUpdatePageState.mock.calls.at(-1)).toEqual(['page-a', { loading: false }]) - }) - - it('ignores queued load events after guest loss', () => { - const onUpdatePageState = vi.fn() - render(paneElement(true, { onUpdatePageState })) - act(() => webview.dispatchEvent(new Event('destroyed'))) - onUpdatePageState.mockClear() - - act(() => webview.dispatchEvent(pageNavigationStart())) - - expect(onUpdatePageState).not.toHaveBeenCalled() - expect(screen.getByText('Client-hosted browser unavailable')).toBeTruthy() - }) - - it('stops listening for guest loss once the pane lets go of the tag', () => { - const onUpdatePageState = vi.fn() - const view = render(paneElement(true, { onUpdatePageState })) - view.unmount() - onUpdatePageState.mockClear() - mocks.recordBreadcrumb.mockClear() - - webview.dispatchEvent(new Event('destroyed')) - - expect(onUpdatePageState).not.toHaveBeenCalled() - expect(mocks.recordBreadcrumb).not.toHaveBeenCalled() - }) - - it('survives activation focus after the retained tag left the DOM', () => { - const view = render(paneElement(false)) - webview.focus = vi.fn(() => { - throw nullContentWindowFocus() - }) - - expect(() => - act(() => { - view.rerender(paneElement(true)) - }) - ).not.toThrow() - expect(webview.focus).toHaveBeenCalled() - }) -}) diff --git a/src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.failure-remount.test.tsx b/src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.failure-remount.test.tsx index 233528e9a16..ab8480f3ad7 100644 --- a/src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.failure-remount.test.tsx +++ b/src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.failure-remount.test.tsx @@ -1,5 +1,10 @@ // @vitest-environment happy-dom -import { act, cleanup, render, screen } from '@testing-library/react' +import type { BrowserGuestMetadata } from '../../../../shared/browser/guest-lifecycle/browser-guest-metadata' +import { + cachedBrowserGuestMetadata, + clearBrowserGuestMetadata +} from './host-guest/browser-guest-metadata-cache' +import { act, cleanup, fireEvent, render, screen } from '@testing-library/react' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' import type { BrowserCertificateFailure, @@ -22,8 +27,12 @@ vi.mock('./browser-client-page-renderer-installation', () => ({ import { useAppStore } from '@/store' import { TooltipProvider } from '@/components/ui/tooltip' -import { installClientHostedPaneApi } from './client-hosted-browser-pane-test-rig' +import { + installClientHostedPaneApi, + reportClientHostedGuestMetadata +} from './client-hosted-browser-pane-test-rig' import { ClientHostedBrowserPagePane } from './ClientHostedBrowserPagePane' +import { clearBrowserPageDeferredNavigation } from './navigate/browser-page-deferred-navigation' const PLACEMENT = { kind: 'client' as const, @@ -38,6 +47,7 @@ let webview: ReturnType beforeEach(() => { installClientHostedPaneApi() webview = createWebview() + reportClientHostedGuestMetadata({ webContentsId: 42, url: FAILED_URL, title: 'Selfsigned' }) mocks.attach.mockReturnValue({ webview, detach: vi.fn(), @@ -48,11 +58,333 @@ beforeEach(() => { afterEach(() => { cleanup() + clearBrowserPageDeferredNavigation('page-a') vi.clearAllMocks() }) /** Worktree switches unmount chrome while retaining the guest; use the real store because clearing loadError also deletes its certificate record. */ describe('ClientHostedBrowserPagePane failure records across a remount', () => { + it('issues a staged request before native replay or an unanswered initial publication', async () => { + const idleA = reportClientHostedGuestMetadata({ + webContentsId: 42, + url: FAILED_URL, + title: 'Selfsigned', + loading: false + }) + mocks.attach.mockReturnValueOnce(null) + const staged = render() + submitUrl('https://requested.internal/b') + act(() => staged.unmount()) + vi.mocked(window.api.browser.publishClientPageMetadata).mockImplementation( + () => new Promise(() => {}) + ) + vi.mocked(window.api.browser.getGuestMetadata).mockResolvedValueOnce({ + ...idleA, + revision: idleA.revision + 1, + kind: 'snapshot', + loading: true + }) + await act(async () => { + render() + }) + expect(webview.loadURL).toHaveBeenCalledWith('https://requested.internal/b') + expect(storedPage()).toMatchObject({ + url: 'https://requested.internal/b', + title: 'https://requested.internal/b', + loading: true + }) + expect( + vi.mocked(window.api.browser.publishClientPageMetadata).mock.calls[0]?.[0].params + ).toMatchObject({ + url: 'https://requested.internal/b', + title: 'https://requested.internal/b', + loading: true + }) + }) + + it('keeps a requested page through old readback and a successor, then settles Stop at the native document', async () => { + const staleA = reportClientHostedGuestMetadata({ + webContentsId: 42, + url: FAILED_URL, + title: 'Selfsigned', + loading: false + }) + clearBrowserGuestMetadata() + let q1!: (state: BrowserGuestMetadata) => void + let q2!: (state: BrowserGuestMetadata) => void + vi.mocked(window.api.browser.getGuestMetadata) + .mockImplementationOnce( + () => + new Promise((resolve) => { + q1 = resolve + }) + ) + .mockImplementationOnce( + () => + new Promise((resolve) => { + q2 = resolve + }) + ) + let view!: ReturnType + await act(async () => { + view = render() + }) + submitUrl('https://requested.internal/b') + await act(async () => {}) + act(() => view.unmount()) + await act(async () => { + render() + }) + await act(async () => { + q1(staleA) + }) + expect(storedPage()).toMatchObject({ + url: 'https://requested.internal/b', + title: 'https://requested.internal/b', + loading: true + }) + const sample = reportClientHostedGuestMetadata({ + webContentsId: 42, + kind: 'snapshot', + url: FAILED_URL, + title: 'Outgoing A', + loading: true + }) + await act(async () => { + q2(sample) + }) + act(() => + reportClientHostedGuestMetadata({ + webContentsId: 42, + kind: 'title', + title: 'Outgoing A tick', + loading: true + }) + ) + expect(storedPage()).toMatchObject({ + url: 'https://requested.internal/b', + title: 'https://requested.internal/b', + loading: true + }) + expect( + vi.mocked(window.api.browser.publishClientPageMetadata).mock.lastCall?.[0].params + ).toMatchObject({ + url: 'https://requested.internal/b', + title: 'https://requested.internal/b', + loading: true + }) + expect(cachedBrowserGuestMetadata(webview)?.url).toBe('https://selfsigned.internal/') + await act(async () => + reportClientHostedGuestMetadata({ + webContentsId: 42, + kind: 'stop', + title: 'Selfsigned', + loading: false + }) + ) + expect(storedPage()).toMatchObject({ + url: 'https://selfsigned.internal/', + title: 'Selfsigned', + loading: false + }) + }) + + it('revalidates a healthy Stop after a command read failed', async () => { + render() + vi.mocked(window.api.browser.getGuestMetadata).mockRejectedValueOnce( + new Error('metadata read failed') + ) + submitUrl('https://requested.internal/b') + await act(async () => {}) + expect(storedPage()).toMatchObject({ url: 'https://requested.internal/b', loading: true }) + await act(async () => + reportClientHostedGuestMetadata({ webContentsId: 42, kind: 'stop', loading: false }) + ) + expect(storedPage()).toMatchObject({ + url: 'https://selfsigned.internal/', + title: 'Selfsigned', + loading: false + }) + }) + + it('adopts an already committed page on same-guest readiness after its read failed', async () => { + render() + let reject!: (error: Error) => void + vi.mocked(window.api.browser.getGuestMetadata).mockImplementationOnce( + () => + new Promise((_resolve, fail) => { + reject = fail + }) + ) + submitUrl('https://requested.internal/b') + await act(async () => {}) + act(() => + reportClientHostedGuestMetadata({ + webContentsId: 42, + kind: 'navigation', + url: 'https://requested.internal/b', + title: 'Committed B', + loading: true + }) + ) + await act(async () => { + reject(new Error('metadata read failed')) + }) + await act(async () => { + webview.dispatchEvent(new Event('dom-ready')) + }) + expect(storedPage()).toMatchObject({ + url: 'https://requested.internal/b', + title: 'Committed B', + loading: true + }) + }) + + it('shows a hidden committed document and its live title while another load is pending', async () => { + let resolve!: (state: BrowserGuestMetadata) => void + const view = render() + vi.mocked(window.api.browser.getGuestMetadata).mockImplementationOnce( + () => + new Promise((done) => { + resolve = done + }) + ) + submitUrl('https://requested.internal/b') + await act(async () => {}) + act(() => view.unmount()) + reportClientHostedGuestMetadata({ + webContentsId: 42, + kind: 'navigation', + url: 'https://current.internal/c', + title: 'Current C', + loading: true + }) + const sample = reportClientHostedGuestMetadata({ + webContentsId: 42, + kind: 'snapshot', + loading: true + }) + await act(async () => { + resolve(sample) + }) + expect(storedPage().loading).toBe(true) + render() + expect(storedPage()).toMatchObject({ + url: 'https://current.internal/c', + title: 'Current C', + loading: true + }) + act(() => + reportClientHostedGuestMetadata({ + webContentsId: 42, + kind: 'title', + title: 'Current C live', + loading: true + }) + ) + expect(storedPage()).toMatchObject({ + url: 'https://current.internal/c', + title: 'Current C live', + loading: true + }) + }) + + it('keeps a useful local and published identity when the current document clears its title', async () => { + await act(async () => { + render() + }) + await act(async () => { + reportClientHostedGuestMetadata({ + webContentsId: 42, + kind: 'title', + title: '' + }) + }) + expect(storedPage()).toMatchObject({ + url: 'https://selfsigned.internal/', + title: 'https://selfsigned.internal/' + }) + expect( + vi.mocked(window.api.browser.publishClientPageMetadata).mock.calls.at(-1)?.[0].params + ).toMatchObject({ + url: 'https://selfsigned.internal/', + title: 'https://selfsigned.internal/' + }) + }) + + it('retains the saved title until a first committed document exists, including a failed first load', () => { + reportClientHostedGuestMetadata({ + webContentsId: 42, + navigationRevision: 0, + url: '', + title: '', + kind: 'snapshot', + loading: true + }) + render() + expect(storedPage().title).toBe('Selfsigned') + expect(storedPage().loading).toBe(true) + act(() => reportClientHostedGuestMetadata({ webContentsId: 42, kind: 'start', loading: true })) + expect(storedPage().title).toBe('Selfsigned') + act(() => reportClientHostedGuestMetadata({ webContentsId: 42, kind: 'stop', loading: false })) + expect(storedPage().url).toBe(FAILED_URL) + expect(storedPage().title).toBe('Selfsigned') + act(() => + reportClientHostedGuestMetadata({ + webContentsId: 42, + kind: 'failure', + loading: false, + loadError: { code: -105, description: 'ERR_NAME_NOT_RESOLVED', validatedUrl: FAILED_URL } + }) + ) + expect(storedPage().title).toBe('Selfsigned') + }) + + it('reconciles a hidden commit on settlement even when metadata publication never answers', () => { + vi.mocked(window.api.browser.publishClientPageMetadata).mockImplementation( + () => new Promise(() => {}) + ) + const view = render() + act(() => view.unmount()) + reportClientHostedGuestMetadata({ + webContentsId: 42, + kind: 'navigation', + url: 'https://example.internal/next', + loading: true, + navigationRevision: 2 + }) + render() + act(() => reportClientHostedGuestMetadata({ webContentsId: 42, kind: 'stop', loading: false })) + expect(storedPage().url).toBe('https://example.internal/next') + expect(storedPage().loading).toBe(false) + expect(storedPage().loadError).toBeNull() + }) + + it('clears a standing failure after a successful same-URL reload', () => { + render() + failLoad() + act(() => + reportClientHostedGuestMetadata({ + webContentsId: 42, + kind: 'start', + loading: true, + loadError: null, + hasCertificateFailure: false + }) + ) + expect(storedPage().loadError?.validatedUrl).toBe(FAILED_URL) + act(() => + reportClientHostedGuestMetadata({ + webContentsId: 42, + kind: 'navigation', + navigationRevision: 2 + }) + ) + expect(storedPage().loadError).toBeNull() + expect(useAppStore.getState().browserCertificateFailuresByPageId['page-a']).toBeUndefined() + expect(screen.queryByRole('heading', { name: "Connection isn't secure" })).toBeNull() + }) + it('keeps the failure and the certificate record when the guest still sits on the failed page', () => { const view = render() failLoad() @@ -73,7 +405,7 @@ describe('ClientHostedBrowserPagePane failure records across a remount', () => { act(() => view.unmount()) // Failed guests report chrome-error://chromewebdata/, which matches neither recorded URL. - webview.getURL.mockReturnValue('chrome-error://chromewebdata/') + reportClientHostedGuestMetadata({ webContentsId: 42, errorPage: true }) render() expect(storedPage().loadError?.validatedUrl).toBe(FAILED_URL) @@ -87,7 +419,14 @@ describe('ClientHostedBrowserPagePane failure records across a remount', () => { act(() => view.unmount()) // A navigation while unmounted is observable only through remount sync. - webview.getURL.mockReturnValue('https://example.internal/recovered') + reportClientHostedGuestMetadata({ + webContentsId: 42, + kind: 'navigation', + url: 'https://example.internal/recovered', + loadError: null, + hasCertificateFailure: false, + errorPage: false + }) render() expect(storedPage().loadError).toBeNull() @@ -131,6 +470,13 @@ function failLoad(): void { }) act(() => { useAppStore.getState().setBrowserPageCertificateFailure('page-a', certificateFailure()) + reportClientHostedGuestMetadata({ + webContentsId: 42, + kind: 'failure', + loading: false, + hasCertificateFailure: true, + loadError: { code: -202, description: 'ERR_CERT_AUTHORITY_INVALID', validatedUrl: FAILED_URL } + }) }) } @@ -218,3 +564,13 @@ function createWebview(): Electron.WebviewTag & { getURL: ReturnType ({ attach: vi.fn(), publishMetadata: vi.fn(), createBrowserTab: vi.fn(async () => true), + restoredPageUnrecovered: false, addressBar: { current: null as { value: string @@ -36,6 +37,10 @@ vi.mock('./browser-client-page-renderer-installation', () => ({ attachBrowserClientPageToViewport: mocks.attach })) +vi.mock('./restored-client-hosted-recovery-window', () => ({ + useRestoredClientHostedRecoveryWindow: () => mocks.restoredPageUnrecovered +})) + vi.mock('./assemble-chrome/BrowserAddressBar', () => ({ // Keep the shared bar’s own behavior out of this suite; preserve the ref targeted by pane focus rules. default: (props: { @@ -51,16 +56,22 @@ vi.mock('./assemble-chrome/BrowserAddressBar', () => ({ import { useAppStore } from '@/store' import { normalizeBrowserNavigationUrl } from '../../../../shared/browser-url' import { requestBrowserFocus } from './host-guest/browser-focus' -import { installClientHostedPaneApi } from './client-hosted-browser-pane-test-rig' +import { + installClientHostedPaneApi, + reportClientHostedGuestMetadata +} from './client-hosted-browser-pane-test-rig' import { ClientHostedBrowserPagePane } from './ClientHostedBrowserPagePane' -function render(ui: React.ReactElement) { +function render(ui: React.ReactElement<{ browserTab: BrowserPage }>) { + const current = ui.props.browserTab + useAppStore.setState({ browserPagesByWorkspace: { [current.workspaceId]: [current] } }) return renderWithProviders(ui, { wrapper: TooltipProvider }) } describe('ClientHostedBrowserPagePane', () => { beforeEach(() => { mocks.attach.mockReset() + mocks.restoredPageUnrecovered = false mocks.publishMetadata.mockReset().mockResolvedValue({ status: 'published', accepted: true }) // Download, popup and permission notices subscribe on mount; each has its own suite. installClientHostedPaneApi({ browser: { publishClientPageMetadata: mocks.publishMetadata } }) @@ -150,7 +161,9 @@ describe('ClientHostedBrowserPagePane', () => { expect(onUpdatePageState).toHaveBeenCalledWith('page-a', { loading: false, loadError }) // Why: did-stop-loading follows did-fail-load and must not wipe the failure. onUpdatePageState.mockClear() - act(() => webview.dispatchEvent(new Event('did-stop-loading'))) + act(() => + reportClientHostedGuestMetadata({ webContentsId: 7, kind: 'stop', loadError, loading: false }) + ) expect(onUpdatePageState).toHaveBeenCalledWith('page-a', expect.objectContaining({ loadError })) view.rerender( @@ -172,6 +185,128 @@ describe('ClientHostedBrowserPagePane', () => { expect(webview.src).toBe(normalizeBrowserNavigationUrl(loadError.validatedUrl)) }) + it('keeps Find open across subframe settlement and closes it only on a full commit', () => { + const { webview } = createWebview() + mocks.attach.mockReturnValue(retainedAttachment(webview)) + let openFind = () => {} + installClientHostedPaneApi({ + ui: { + onFindInBrowserPage: (_target, listener) => { + openFind = listener + return () => {} + } + } + }) + reportClientHostedGuestMetadata({ + webContentsId: 7, + url: 'https://example.internal/', + title: 'Example' + }) + render( + + ) + act(() => openFind()) + expect(screen.getByPlaceholderText('Find in page...')).not.toBeNull() + act(() => reportClientHostedGuestMetadata({ webContentsId: 7, kind: 'stop' })) + expect(screen.getByPlaceholderText('Find in page...')).not.toBeNull() + act(() => webview.dispatchEvent(new Event('did-navigate'))) + expect(screen.queryByPlaceholderText('Find in page...')).toBeNull() + }) + + it('restores the committed address after an attempted navigation is stopped', async () => { + const { webview } = createWebview() + reportClientHostedGuestMetadata({ + webContentsId: 7, + url: 'https://example.internal/a', + title: 'Example' + }) + mocks.attach.mockReturnValue(retainedAttachment(webview)) + const onSetUrl = vi.fn() + const onUpdatePageState = vi.fn() + render( + + ) + act(() => mocks.addressBar.current?.onNavigate('https://example.internal/b')) + act(() => reportClientHostedGuestMetadata({ webContentsId: 7, kind: 'start', loading: true })) + expect(screen.getByLabelText('Address').value).toBe( + 'https://example.internal/b' + ) + act(() => screen.getByLabelText('Address').blur()) + onSetUrl.mockClear() + await act(async () => + reportClientHostedGuestMetadata({ webContentsId: 7, kind: 'stop', loading: false }) + ) + expect(screen.getByLabelText('Address').value).toBe( + 'https://example.internal/a' + ) + expect(onSetUrl).not.toHaveBeenCalled() + expect(onUpdatePageState).toHaveBeenCalledWith( + 'page-a', + expect.objectContaining({ loading: false, loadError: null }) + ) + }) + + it('offers Reopen without a stale load-failure surface until the restored page attaches', () => { + mocks.restoredPageUnrecovered = true + const browserTab = { + ...page(), + url: 'https://remote.internal/failed', + loadError: { + code: -120, + description: 'ERR_SOCKS_CONNECTION_FAILED', + validatedUrl: 'https://remote.internal/failed' + } + } + const pane = (placement: typeof PLACEMENT | null) => ( + + ) + const view = render(pane(null)) + + expect( + screen.getByRole('button', { name: 'Reopen on server' }).disabled + ).toBe(false) + expect(screen.queryByText('Retry', { selector: 'button' })).toBeNull() + + const { webview, setUrl } = createWebview() + setUrl(browserTab.url) + mocks.attach.mockReturnValue(retainedAttachment(webview)) + mocks.restoredPageUnrecovered = false + view.rerender(pane(PLACEMENT)) + + expect(screen.queryByRole('button', { name: 'Reopen on server' })).toBeNull() + expect(screen.getByText('Retry', { selector: 'button' })).toBeTruthy() + }) + it('shows exact-generation unavailability without creating a fallback guest', () => { mocks.attach.mockReturnValue(null) @@ -378,15 +513,18 @@ function createWebview(): { reload: vi.fn(), loadURL: vi.fn(async () => {}) }) + reportClientHostedGuestMetadata({ webContentsId: 7, url, title }) return { webview, focus, blur, setUrl: (nextUrl) => { url = nextUrl + reportClientHostedGuestMetadata({ webContentsId: 7, kind: 'navigation', url }) }, setTitle: (nextTitle) => { title = nextTitle + reportClientHostedGuestMetadata({ webContentsId: 7, kind: 'title', title }) } } } diff --git a/src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.tsx b/src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.tsx index d2f5727e213..ccbf8b8594f 100644 --- a/src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.tsx +++ b/src/renderer/src/components/browser-pane/ClientHostedBrowserPagePane.tsx @@ -1,14 +1,16 @@ +import type { BrowserGuestMetadata } from '../../../../shared/browser/guest-lifecycle/browser-guest-metadata' import { useCallback, useEffectEvent, useLayoutEffect, useRef, useState } from 'react' import { useBrowserAgentCursor } from './agent-cursor/use-browser-agent-cursor' import { BrowserPageFeedbackBadge } from './assemble-chrome/browser-page-feedback-badge' import { BrowserLinkStatusBubble } from './assemble-chrome/browser-link-status-bubble' import { useAppStore } from '@/store' -import type { BrowserLoadError } from '../../../../shared/browser-workspace-types' +import { createBrowserClientPageLoadFailureHandler } from './browser-client-page-guest-metadata' import { - readBrowserClientPageGuestMetadataIfLive, - createBrowserClientPageLoadFailureHandler, - bindBrowserClientPageGuestEvents -} from './browser-client-page-guest-metadata' + issueBrowserGuestNavigation, + browserGuestPreservesRequestedDocument, + subscribeBrowserGuestMetadata +} from './host-guest/browser-guest-metadata-cache' +import { redactKagiSessionToken } from '../../../../shared/browser-url' import { forgetBrowserClientPageMetadataReports, startBrowserClientPageMetadataPublisher @@ -32,7 +34,6 @@ import { useWebviewGuestFocus } from './assemble-chrome/browser-page-guest-focus import { RemoteRuntimeEgressIndicator } from './assemble-chrome/browser-egress-indicator' import { useBrowserPageWebviewShortcuts } from './host-guest/use-browser-page-webview-shortcuts' import { useBrowserPageZoomFeedback } from './host-guest/use-browser-page-zoom-feedback' -import { isPageDocumentNavigationStart } from './host-guest/browser-page-webview-navigation-handlers' import { ClientHostedBrowserLoadFailure } from './client-hosted-browser-load-failure' import { useClientHostedPageUrlSubmission } from './navigate/use-client-hosted-page-url-submission' import '@/lib/browser/documents/file-preview' @@ -40,7 +41,6 @@ import { convertBrowserPageToWorkspaceDoc } from '@/lib/browser/documents/file-p import { isBlankBrowserUrl } from '@/lib/browser/palette/browser-palette-search' import { BrowserNewTabPage } from './new-tab/BrowserNewTabPage' import { useBrowserPageReloadActions } from './navigate/use-browser-page-reload-actions' -import { resolveActiveBrowserLoadFailure } from './navigate/browser-load-failure-for-url' import { consumeBrowserPageDeferredNavigation } from './navigate/browser-page-deferred-navigation' import { getBrowserDisplayTitle, toDisplayUrl } from './describe-page/browser-page-url-display' import type { ClientHostedBrowserPagePaneProps } from './describe-page/browser-page-types' @@ -64,7 +64,7 @@ export function ClientHostedBrowserPagePane({ const webviewRef = useRef(null) const addressBarInputRef = useRef(null) // Seed retained failures from the page: a fresh null on remount would clear both the error and its certificate record. - const activeLoadFailureRef = useRef(browserTab.loadError ?? null) + const loadFailureRef = useRef(browserTab.loadError ?? null) const onUpdatePageStateRef = useRef(onUpdatePageState) const isActiveRef = useRef(isActive) const [attachmentError, setAttachmentError] = useState(null) @@ -117,7 +117,6 @@ export function ClientHostedBrowserPagePane({ useBrowserClientHostedPopupNotices(browserTab.id) useBrowserClientHostedPermissionNotices(browserTab.id) - // Only consume the one-time tour after placement and attachment make its controls usable. useClientHostedBrowserIntroTour(isActive && !attachmentError && placement !== null) useBrowserPageFindShortcuts({ ...shortcutOwner, setFindOpen }) useBrowserPageWebviewShortcuts({ @@ -132,11 +131,17 @@ export function ClientHostedBrowserPagePane({ browserTabId: browserTab.id, worktreeId, webviewRef, - activeLoadFailureRef, + activeLoadFailureRef: loadFailureRef, onUpdatePageState, + onSetUrl, setAddressBarValue }) const runDeferredNavigation = useEffectEvent(navigateToUrl) + const readCurrentPage = useEffectEvent(() => + useAppStore + .getState() + .browserPagesByWorkspace[workspaceId]?.find((page) => page.id === browserTab.id) + ) // The guest lives in a body-level host that paints above the pane, so the cursor joins it there. const getAgentCursorHost = useCallback( () => webviewRef.current?.parentElement ?? null, @@ -170,7 +175,7 @@ export function ClientHostedBrowserPagePane({ return } const webview = attachment.webview - // Guest loss uses the existing recovery notice and clears pending loading state. + let guestAvailable = true let releaseGuest = (): void => attachment.detach() const guestLoss = watchBrowserClientPageGuestLoss({ webview, @@ -178,16 +183,11 @@ export function ClientHostedBrowserPagePane({ browserPageId: browserTab.id, pageHostGeneration, onLost: () => { + guestAvailable = false releaseGuest() retryGuestRecoveryRef.current() } }) - // Main can destroy the guest while its tag still holds the stale id. - const attachedMetadata = readBrowserClientPageGuestMetadataIfLive(webview) - if (!attachedMetadata) { - guestLoss.lose('unreadable') - return guestLoss.dispose() - } const publisher = startBrowserClientPageMetadataPublisher({ browserPageId: browserTab.id, environmentId: runtimeEnvironmentId, @@ -201,76 +201,99 @@ export function ClientHostedBrowserPagePane({ }) webviewRef.current = webview setAttachmentError(null) - // Reconcile restored failures once; failed navigations this session may never commit a URL. - activeLoadFailureRef.current = resolveActiveBrowserLoadFailure( - activeLoadFailureRef.current, - attachedMetadata.url - ) - const syncNavigation = (event?: Event): void => { - const eventUrl = (event as (Event & { url?: string }) | undefined)?.url - const metadata = readBrowserClientPageGuestMetadataIfLive(webview, eventUrl) - if (!metadata) { + const receiveMetadata = (state: BrowserGuestMetadata | null): void => { + if (!state || state.kind === 'retired') { guestLoss.lose('unreadable') return } - // A commit is a successful load; did-stop-loading must preserve the preceding did-fail-load overlay. - if (event?.type === 'did-navigate') { - activeLoadFailureRef.current = null - setFindOpen(false) + const pending = readCurrentPage() + if (!pending) { + guestAvailable = false + releaseGuest() + return } - const activeLoadFailure = activeLoadFailureRef.current - // URL writes clear certificate challenges, so preserve them while a failure stands. - if (!activeLoadFailure) { - setUrlFromGuest(browserTab.id, metadata.url, { preserveLoadError: true }) + const url = redactKagiSessionToken(state.url) + const metadata = { + url, + title: + state.title || (url && !isBlankBrowserUrl(url) ? getBrowserDisplayTitle('', url) : url), + loading: state.loading, + canGoBack: state.canGoBack, + canGoForward: state.canGoForward + } + const validDocument = + Boolean(state.url) && !state.errorPage && !state.loadError && !state.hasCertificateFailure + const presentDocument = + validDocument && !browserGuestPreservesRequestedDocument(webview, state.url, pending.url) + if ( + state.kind === 'navigation' || + ((state.kind === 'stop' || (state.kind === 'snapshot' && !state.loading)) && validDocument) + ) { + loadFailureRef.current = null + } + if (state.loadError) { + loadFailureRef.current = state.loadError + } + const activeLoadFailure = loadFailureRef.current + const observeUrl = + presentDocument && + !activeLoadFailure && + (state.kind === 'navigation' || + state.kind === 'in-page' || + state.kind === 'stop' || + state.kind === 'snapshot') + if (observeUrl) { + if (pending.url !== metadata.url) { + setUrlFromGuest(browserTab.id, metadata.url, { preserveLoadError: true }) + } + setAddressBarValueFromPage(toDisplayUrl(metadata.url)) } updatePageStateFromGuest(browserTab.id, { - title: metadata.title, + ...(presentDocument && !activeLoadFailure ? { title: metadata.title } : {}), loading: metadata.loading, canGoBack: metadata.canGoBack, canGoForward: metadata.canGoForward, loadError: activeLoadFailure }) - publisher.publish(metadata) - // Address-bar suggestions use the client's URL history, including client-hosted pages. - recordHistoryFromGuest(metadata.url, getBrowserDisplayTitle(metadata.title, metadata.url)) - setAddressBarValueFromPage(toDisplayUrl(metadata.url)) - } - const onStart = (event: Electron.DidStartNavigationEvent): void => { - if (!isPageDocumentNavigationStart(event)) { + const current = readCurrentPage() + if (!current) { return } - // Why: a standing failure (and its auto-retry) stays up until a load commits or fails anew. - updatePageStateFromGuest(browserTab.id, { loading: true }) - const startMetadata = readBrowserClientPageGuestMetadataIfLive(webview, undefined, true) - if (!startMetadata) { - guestLoss.lose('unreadable') - return + publisher.publish({ + ...metadata, + ...(presentDocument && !activeLoadFailure ? {} : { url: current.url, title: current.title }) + }) + if (observeUrl || (state.kind === 'title' && presentDocument && !activeLoadFailure)) { + recordHistoryFromGuest(metadata.url, getBrowserDisplayTitle(metadata.title, metadata.url)) } - publisher.publish(startMetadata) } - const onFailLoad = createBrowserClientPageLoadFailureHandler( - webview, - () => guestLoss.lose('unreadable'), - (loadError) => { - activeLoadFailureRef.current = loadError - updatePageStateFromGuest(browserTab.id, { loading: false, loadError }) - } - ) - const unbind = bindBrowserClientPageGuestEvents(webview, onStart, syncNavigation, onFailLoad) + const onNavigate = (): void => setFindOpen(false) + webview.addEventListener('did-navigate', onNavigate) + const onFailLoad = createBrowserClientPageLoadFailureHandler(webview, (loadError) => { + loadFailureRef.current = loadError + updatePageStateFromGuest(browserTab.id, { loading: false, loadError }) + }) + webview.addEventListener('did-fail-load', onFailLoad) + let unsubscribeMetadata = (): void => {} const cleanupGuest = (): void => { - unbind() + unsubscribeMetadata() + webview.removeEventListener('did-fail-load', onFailLoad) + webview.removeEventListener('did-navigate', onNavigate) guestLoss.dispose() publisher.dispose() forgetBrowserClientPageMetadataReports(browserTab.id) attachment.detach() } releaseGuest = cleanupGuest - syncNavigation() - // Resume navigation submitted before host adoption. const deferredUrl = consumeBrowserPageDeferredNavigation(browserTab.id) if (deferredUrl) { runDeferredNavigation(deferredUrl) } + unsubscribeMetadata = subscribeBrowserGuestMetadata(browserTab.id, webview, receiveMetadata) + if (!guestAvailable) { + cleanupGuest() + return cleanupGuest + } return cleanupGuest }, [ browserTab.id, @@ -281,7 +304,8 @@ export function ClientHostedBrowserPagePane({ setAddressBarValueFromPage ]) - const showFailureOverlay = !attachmentError && Boolean(browserTab.loadError) + const unavailable = Boolean(attachmentError) || restoredPageUnrecovered + const showFailureOverlay = !unavailable && Boolean(browserTab.loadError) const markup = useClientHostedBrowserMarkup({ webviewRef, @@ -289,7 +313,7 @@ export function ClientHostedBrowserPagePane({ runtimeEnvironmentId, placement, isActive, - unavailable: Boolean(attachmentError) || restoredPageUnrecovered, + unavailable, showFailureOverlay }) @@ -315,8 +339,10 @@ export function ClientHostedBrowserPagePane({ controls={{ canGoBack: browserTab.canGoBack, canGoForward: browserTab.canGoForward, - goBack: () => webviewRef.current?.goBack(), - goForward: () => webviewRef.current?.goForward(), + goBack: () => + issueBrowserGuestNavigation(webviewRef.current, (webview) => webview.goBack()), + goForward: () => + issueBrowserGuestNavigation(webviewRef.current, (webview) => webview.goForward()), reload: () => reload.runReloadTrigger('button'), navigate: navigateToUrl }} @@ -371,11 +397,11 @@ export function ClientHostedBrowserPagePane({ onRetry={() => reload.runReloadTrigger('reload')} /> ) : null} - {attachmentError || restoredPageUnrecovered ? ( + {unavailable ? ( ) : isBlankBrowserUrl(browserTab.url) ? ( diff --git a/src/renderer/src/components/browser-pane/ReopenBrowserPageOnServerButton.tsx b/src/renderer/src/components/browser-pane/ReopenBrowserPageOnServerButton.tsx index 044c72e5339..b01733c1135 100644 --- a/src/renderer/src/components/browser-pane/ReopenBrowserPageOnServerButton.tsx +++ b/src/renderer/src/components/browser-pane/ReopenBrowserPageOnServerButton.tsx @@ -4,7 +4,7 @@ import { toast } from 'sonner' import { Button } from '@/components/ui/button' import { translate } from '@/i18n/i18n' import { useTranslate, type Translate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { reopenBrowserPageOnServer } from './browser-reopen-on-server' /** Deferred so a fast local round-trip never flashes a spinner. */ @@ -25,12 +25,12 @@ export function reopenOnServerCaveat(t: Translate = translate): string { export function ReopenBrowserPageOnServerButton({ environmentId, worktreeId, - lastCommittedUrl, + reopenUrl, className }: { environmentId: string worktreeId: string - lastCommittedUrl: string | null | undefined + reopenUrl: string | null | undefined className?: string }): React.JSX.Element { const t = useTranslate() @@ -54,7 +54,7 @@ export function ReopenBrowserPageOnServerButton({ pendingTimerRef.current = null setShowPending(true) }, REOPEN_PENDING_FEEDBACK_DELAY_MS) - void reopenBrowserPageOnServer({ environmentId, worktreeId, lastCommittedUrl }) + void reopenBrowserPageOnServer({ environmentId, worktreeId, reopenUrl }) .then((created) => { if (!created) { toast.error( @@ -73,7 +73,7 @@ export function ReopenBrowserPageOnServerButton({ setShowPending(false) setPending(false) }) - }, [clearPendingTimer, environmentId, lastCommittedUrl, worktreeId]) + }, [clearPendingTimer, environmentId, reopenUrl, worktreeId]) return ( ', - attributes: { class: 'primary', type: 'button' }, - accessibility: { - role: 'button', - accessibleName: 'Start free trial', - ariaLabel: null, - ariaLabelledBy: null - }, - rectViewport: { x: 400, y: 300, width: 148, height: 44 }, - rectPage: { x: 400, y: 300, width: 148, height: 44 }, - computedStyles: { - display: 'inline-flex', - position: 'relative', - width: '148px', - height: '44px', - margin: '0px', - padding: '12px 24px', - color: 'rgb(255, 255, 255)', - backgroundColor: 'rgb(99, 102, 241)', - border: '0px none', - borderRadius: '8px', - fontFamily: 'Geist, sans-serif', - fontSize: '16px', - fontWeight: '600', - lineHeight: '20px', - textAlign: 'center', - zIndex: 'auto' - } - }, - nearbyText: ['Pro', '$29/month'], - ancestorPath: ['section', 'main', 'body'], - screenshot: null - }, - ...overrides - } -} - -describe('formatBrowserAnnotationsAsMarkdown', () => { - it('collapses page-controlled newlines before putting text in headings and lists', () => { - const annotation = makeAnnotation() - const markdown = formatBrowserAnnotationsAsMarkdown( - [ - makeAnnotation({ - comment: 'Keep this change scoped.\n## injected', - payload: { - ...annotation.payload, - target: { - ...annotation.payload.target, - accessibility: { - ...annotation.payload.target.accessibility, - accessibleName: 'Start\n## injected heading' - }, - textSnippet: 'Start\n## injected text' - }, - nearbyText: ['Plan\n# injected'] - } - }) - ], - { includeDiagnostics: true } - ) - - expect(markdown).toContain('### 1. button "Start ## injected heading"') - expect(markdown).toContain('- Plan # injected') - expect(markdown).toContain('**Feedback:** Keep this change scoped. ## injected') - expect(markdown).not.toContain('\n## injected') - }) - - it('does not split surrogate pairs at the inline annotation cap', () => { - const annotation = makeAnnotation() - const selectedText = `${'x'.repeat(BROWSER_ANNOTATION_INLINE_TEXT_MAX_LENGTH - 1)}😀tail` - - const markdown = formatBrowserAnnotationsAsMarkdown([ - makeAnnotation({ - payload: { - ...annotation.payload, - target: { - ...annotation.payload.target, - selectedText - } - } - }) - ]) - - const selectedLabel = '**Selected text:**' - const selectedLineStart = markdown.indexOf(selectedLabel) - const selectedLineEnd = markdown.indexOf('\n', selectedLineStart) - const selectedLine = markdown.slice( - selectedLineStart, - selectedLineEnd === -1 ? markdown.length : selectedLineEnd - ) - - expect(selectedLineStart).not.toBe(-1) - expect(selectedLine).toBe(`**Selected text:** "${'x'.repeat(2047)}"`) - expect(selectedLine).not.toContain('😀') - expect(selectedLine).not.toContain('tail') - expect(selectedLine).not.toContain('\ufffd') - }) -}) diff --git a/src/renderer/src/components/browser-pane/annotate/browser-page-annotation-tray.tsx b/src/renderer/src/components/browser-pane/annotate/browser-page-annotation-tray.tsx index 46c1fbb77b4..0c85bbe7caf 100644 --- a/src/renderer/src/components/browser-pane/annotate/browser-page-annotation-tray.tsx +++ b/src/renderer/src/components/browser-pane/annotate/browser-page-annotation-tray.tsx @@ -19,7 +19,7 @@ import { } from '@/components/ui/dropdown-menu' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { ToggleGroup, ToggleGroupItem } from '@/components/ui/toggle-group' -import { isScreenSubmitShortcut } from '@/lib/screen-submit-shortcut' +import { isScreenSubmitShortcut } from '@/lib/keyboard/screen-submit-shortcut' import { useTranslate } from '@/i18n/use-translate' import { GRAB_BUDGET, diff --git a/src/renderer/src/components/browser-pane/annotate/pending-browser-annotation-card.tsx b/src/renderer/src/components/browser-pane/annotate/pending-browser-annotation-card.tsx index 7da77dff10c..2734c73fa9b 100644 --- a/src/renderer/src/components/browser-pane/annotate/pending-browser-annotation-card.tsx +++ b/src/renderer/src/components/browser-pane/annotate/pending-browser-annotation-card.tsx @@ -5,7 +5,10 @@ import { Button } from '@/components/ui/button' import { ToggleGroup, ToggleGroupItem } from '@/components/ui/toggle-group' import { Label } from '@/components/ui/label' import { Popover, PopoverAnchor, PopoverContent } from '@/components/ui/popover' -import { getScreenSubmitModifierLabel, isScreenSubmitShortcut } from '@/lib/screen-submit-shortcut' +import { + getScreenSubmitModifierLabel, + isScreenSubmitShortcut +} from '@/lib/keyboard/screen-submit-shortcut' import { GRAB_BUDGET, type BrowserAnnotationIntent, diff --git a/src/renderer/src/components/browser-pane/annotate/use-browser-page-annotation-send.ts b/src/renderer/src/components/browser-pane/annotate/use-browser-page-annotation-send.ts index bb26b30562e..b986f14057d 100644 --- a/src/renderer/src/components/browser-pane/annotate/use-browser-page-annotation-send.ts +++ b/src/renderer/src/components/browser-pane/annotate/use-browser-page-annotation-send.ts @@ -1,17 +1,17 @@ import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { translate } from '@/i18n/i18n' import type { BrowserAnnotationIntent, BrowserPageAnnotation } from '../../../../../shared/browser/element-grab/browser-grab-types' -import { formatBrowserAnnotationsAsMarkdown } from './browser-annotation-output' +import { formatBrowserAnnotationsAsMarkdown } from '../../../../../shared/browser/annotations/browser-annotation-output' import { EMPTY_BROWSER_ANNOTATIONS } from '../describe-page/browser-annotation-geometry' import { holdNotesForSend, isNoteInFlight, useNotesInFlightVersion -} from '@/lib/notes-send-in-flight' +} from '@/components/notes/delivery/notes-send-in-flight' import { recomputeOn } from '@/lib/recompute-on' export function useBrowserPageAnnotationSend({ diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/BrowserAddressBar.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/BrowserAddressBar.tsx index 06fe9192e0d..27d7677b619 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/BrowserAddressBar.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/BrowserAddressBar.tsx @@ -2,9 +2,9 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react' import { Globe } from 'lucide-react' import { Input } from '@/components/ui/input' import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { findPage } from '@/store/slices/browser/pages/browser-page-records' import { DEFAULT_SEARCH_ENGINE, type SearchEngine } from '../../../../../shared/browser-url' import type { BrowserPageDocLocation } from '../../../../../shared/browser-workspace-types' diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/BrowserFind.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/BrowserFind.tsx index 30ab022f4ad..8be36152d09 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/BrowserFind.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/BrowserFind.tsx @@ -3,7 +3,7 @@ import { useCallback, useEffect, useRef, useState } from 'react' import { ChevronUp, ChevronDown, X } from 'lucide-react' import { Button } from '@/components/ui/button' import { useTranslate } from '@/i18n/use-translate' -import { getFindRequestQuery } from '@/lib/find-query-bounds' +import { getFindRequestQuery } from '@/lib/text-search/find-query-bounds' import { useGuestEscape } from '../host-guest/use-guest-escape' type BrowserFindProps = { diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/BrowserImportHintButton.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/BrowserImportHintButton.tsx index 58bda179f1c..56a905e92ea 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/BrowserImportHintButton.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/BrowserImportHintButton.tsx @@ -17,8 +17,8 @@ import { DropdownMenuTrigger } from '@/components/ui/dropdown-menu' import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover' -import { useAppStore } from '@/store' -import { isLinuxUserAgent, isMacUserAgent } from '@/lib/user-agent-platform' +import { useAppStore } from '@/store/index' +import { isLinuxUserAgent, isMacUserAgent } from '@/app-shell/platform/user-agent-platform' import { getBrowserCookieImportSourceLabels } from '../../../../../shared/browser-cookie-import-sources' import { shouldShowBrowserImportHint } from './browser-import-hint-visibility' import { formatBrowserImportSummary } from './browser-detected-browsers-summary' diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/BrowserMobileDriverOverlay.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/BrowserMobileDriverOverlay.tsx index 6767e8140bb..b6c7dc55355 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/BrowserMobileDriverOverlay.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/BrowserMobileDriverOverlay.tsx @@ -1,6 +1,6 @@ import { useCallback, useRef, useState, type ReactElement } from 'react' import { Button } from '@/components/ui/button' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import type { RuntimeTerminalDriverState } from '../../../../../shared/runtime-session-contracts' import { useTranslate } from '@/i18n/use-translate' diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/BrowserPaneOverlayLayer.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/BrowserPaneOverlayLayer.tsx index 115ff430fc4..a7e89388e8e 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/BrowserPaneOverlayLayer.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/BrowserPaneOverlayLayer.tsx @@ -15,7 +15,7 @@ import { isClientHostedBrowserRowSelectionLive, useClientHostedBrowserRowSelection, useClientHostedBrowserRows -} from '@/lib/pane-manager/client-hosted-browser-row-state' +} from '@/runtime/browser/client-hosting/client-hosted-browser-row-state' import { ClientHostedBrowserHostRowPane } from '../client-hosted-browser-host-row-pane' import { useAnyBrowserPageMountAdmission } from '../host-guest/browser-page-mount-admission' diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-annotate-split-button.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-annotate-split-button.tsx index d10eb448d1b..db953c79880 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-annotate-split-button.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-annotate-split-button.tsx @@ -20,7 +20,7 @@ import { } from '@/components/ui/dropdown-menu' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import type { GrabIntent } from '../../../../../shared/browser/element-grab/browser-grab-types' import { MarkupDrawHintPopover, useMarkupDrawHintState } from '../annotate/markup-draw-hint-popover' diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-egress-indicator.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-egress-indicator.tsx index caac19220bd..fd2141b18b4 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-egress-indicator.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-egress-indicator.tsx @@ -1,14 +1,14 @@ import { useState } from 'react' import { Globe, Monitor, Server } from 'lucide-react' import { useTranslate } from '@/i18n/use-translate' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { Button } from '@/components/ui/button' import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { BROWSER_CLIENT_HOSTED_REMOTE_SETTINGS_TARGET_ID, BROWSER_SSH_WORKSPACE_ROUTING_SETTINGS_TARGET_ID -} from '@/lib/settings-navigation-types' +} from '@/components/settings/navigation/settings-navigation-types' import { toRuntimeExecutionHostId, toSshExecutionHostId diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-extension-action-menu.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-extension-action-menu.tsx index dac44cfa2c2..65524ac57b4 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-extension-action-menu.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-extension-action-menu.tsx @@ -18,7 +18,7 @@ import { import { useConfirmationDialog } from '@/components/confirmation-dialog-context' import { browserExtensionRemovalDescription } from '@/components/browser-extension-removal-description' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import type { BrowserExtensionContextMenuItem } from '../../../../../shared/browser/extensions/browser-extension-context-menu-types' import type { BrowserExtensionActionResult } from '../../../../../shared/browser/extensions/browser-extension-types' import type { BrowserExtensionToolbarAction } from '../../../../../shared/browser/extensions/browser-extension-toolbar-types' diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-extension-toolbar.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-extension-toolbar.tsx index e87d5d6e89c..60ec2f415da 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-extension-toolbar.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-extension-toolbar.tsx @@ -12,8 +12,8 @@ import { } from '@/components/ui/dropdown-menu' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' -import { useAppStore } from '@/store' +import { cn } from '@/lib/class-names' +import { useAppStore } from '@/store/index' import type { BrowserExtensionToolbarAction, BrowserExtensionToolbarState diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-link-status-bubble.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-link-status-bubble.tsx index 9c1cc7ecd22..496f05fb914 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-link-status-bubble.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-link-status-bubble.tsx @@ -1,6 +1,6 @@ import { useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react' -import { cn } from '@/lib/utils' -import { windowDipToCssPx } from '@/lib/ui-zoom' +import { cn } from '@/lib/class-names' +import { windowDipToCssPx } from '@/app-shell/chrome/ui-zoom' import { toDisplayUrl } from '../describe-page/browser-page-url-display' // Chrome's status bubble timings (status_bubble_views.cc, status_bubble.h). diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-navigation-control-row.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-navigation-control-row.tsx index 36de7804a45..31a33b7c25c 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-navigation-control-row.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-navigation-control-row.tsx @@ -1,7 +1,7 @@ import { ArrowLeft, ArrowRight, RefreshCw, X } from 'lucide-react' import { Button } from '@/components/ui/button' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { BROWSER_CHROME_ADDRESS_SLOT_ATTRIBUTE, BROWSER_CHROME_ADDRESS_SLOT_HEIGHT_CLASS diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-chrome-banners.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-chrome-banners.tsx index 4e346034015..4ce988d5d15 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-chrome-banners.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-chrome-banners.tsx @@ -1,5 +1,5 @@ import type { Dispatch, SetStateAction } from 'react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { CircleCheck, Copy, Crosshair, Send, Trash2 } from 'lucide-react' import { Button } from '@/components/ui/button' import { diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-context-menu-items.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-context-menu-items.tsx index 68d31e053ce..b21bd45cf55 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-context-menu-items.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-context-menu-items.tsx @@ -1,3 +1,4 @@ +import { issueBrowserGuestNavigation } from '../host-guest/browser-guest-metadata-cache' import { Fragment, type MutableRefObject } from 'react' import { useAppStore } from '@/store' import { isMac } from '@/app-shell/app-window-chrome' @@ -221,12 +222,12 @@ function buildMenuSections( sections.push([ item( t('auto.components.browser.pane.BrowserPane.40edfa75cb', 'Back'), - () => webviewRef.current?.goBack(), + () => issueBrowserGuestNavigation(webviewRef.current, (webview) => webview.goBack()), !canGoBack ), item( t('auto.components.browser.pane.BrowserPane.250a9b3e42', 'Forward'), - () => webviewRef.current?.goForward(), + () => issueBrowserGuestNavigation(webviewRef.current, (webview) => webview.goForward()), !canGoForward ), item(t('auto.components.browser.pane.BrowserPane.0e080d820e', 'Reload'), onReload) diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-context-menu.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-context-menu.tsx index 076f6934cb1..2d8520157cb 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-context-menu.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-context-menu.tsx @@ -1,4 +1,4 @@ -import { windowDipToCssPx } from '@/lib/ui-zoom' +import { windowDipToCssPx } from '@/app-shell/chrome/ui-zoom' import { useCallback, useEffect, diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-extension-menu-items.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-extension-menu-items.tsx index 2906b0b8ba2..97b17cf8a5b 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-extension-menu-items.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-extension-menu-items.tsx @@ -1,6 +1,6 @@ import { useState } from 'react' import { Check, ChevronRight } from 'lucide-react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import type { BrowserExtensionContextMenuItem, BrowserExtensionContextMenuPayload diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-feedback-badge.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-feedback-badge.tsx index 29c4a2e144f..c645530c5d8 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-feedback-badge.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-feedback-badge.tsx @@ -1,5 +1,5 @@ import { useEffect, useImperativeHandle, useRef, useState, type Ref } from 'react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { BROWSER_PAGE_ZOOM_FEEDBACK_MS } from '../describe-page/browser-annotation-geometry' export type BrowserPageFeedbackBadgeHandle = { diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-pane.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-pane.tsx index 015330ae64e..01cee411981 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-pane.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-pane.tsx @@ -1,9 +1,9 @@ import { useEffect, useLayoutEffect, useRef, useState } from 'react' import { createPortal } from 'react-dom' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import '@/lib/workspace/ownership/connection-context' import { getConnectionIdFromState } from '@/lib/workspace/ownership/connection-owner-resolution' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { useShortcutLabel } from '@/hooks/useShortcutLabel' import '../../../../../shared/constants' import { ORCA_BROWSER_BLANK_URL } from '../../../../../shared/browser/browser-blank-page' @@ -233,7 +233,7 @@ export function BrowserPagePane({ useBrowserPageWebviewUrlSync({ browserTabId: browserTab.id, browserTabUrl: browserTab.url, - browserTabLoading: browserTab.loading, + workspaceId, isActive, isPaintable, slotViewport, @@ -242,9 +242,6 @@ export function BrowserPagePane({ lastKnownWebviewUrlRef, keepAddressBarFocusRef, addressBarInputRef, - browserTabUrlRef, - addressBarValueRef, - onUpdatePageStateRef, focusWebviewNow }) const reload = useBrowserPageReloadActions({ diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-toolbar.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-toolbar.tsx index 46bfecf7f90..c1810e2df06 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-toolbar.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-page-toolbar.tsx @@ -1,3 +1,4 @@ +import { issueBrowserGuestNavigation } from '../host-guest/browser-guest-metadata-cache' import type { Dispatch, RefObject, SetStateAction } from 'react' import { ArtifactPublishButton } from '@/components/artifacts/ArtifactPublishButton' import { useShortcutLabel } from '@/hooks/useShortcutLabel' @@ -151,7 +152,7 @@ export function BrowserPageToolbar({ // Guest replacement loses history; Back/Forward cross the conversion once guest history runs out. goBack: () => { if (canGoBack) { - webviewRef.current?.goBack() + issueBrowserGuestNavigation(webviewRef.current, (webview) => webview.goBack()) return } if (convertedFrom) { @@ -160,7 +161,7 @@ export function BrowserPageToolbar({ }, goForward: () => { if (canGoForward) { - webviewRef.current?.goForward() + issueBrowserGuestNavigation(webviewRef.current, (webview) => webview.goForward()) return } if (convertedTo) { diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-toolbar-profile-sub.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-toolbar-profile-sub.tsx index 18c29e74bee..2bb7177bd55 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-toolbar-profile-sub.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-toolbar-profile-sub.tsx @@ -11,6 +11,7 @@ import { import { BrowserCookieImportDisclosure } from '@/components/BrowserCookieImportDisclosure' import { BrowserCookieImportMachineNotice } from '@/components/BrowserCookieImportMachineNotice' import { useTranslate } from '@/i18n/use-translate' +import { translateBrowserSessionProfileLabel } from '@/lib/browser/profiles/browser-session-profile-label' import { BROWSER_FAMILY_LABELS } from '../../../../../shared/browser/browser-family-labels' import type { BrowserSessionProfile } from '../../../../../shared/browser-workspace-types' @@ -63,8 +64,7 @@ export function BrowserToolbarProfileSub({ {t('browser.toolbar.profile', 'Profile')} - {currentProfile?.label ?? - t('auto.components.browser.pane.BrowserToolbarMenu.ed8f54509d', 'Default')} + {translateBrowserSessionProfileLabel(currentProfile?.label, effectiveProfileId)} @@ -79,7 +79,9 @@ export function BrowserToolbarProfileSub({ - {profile.label} + + {translateBrowserSessionProfileLabel(profile.label, profile.id)} + {profile.source?.browserFamily && ( {BROWSER_FAMILY_LABELS[profile.source.browserFamily] ?? diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-workspace-pane.retention-props.test.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-workspace-pane.retention-props.test.tsx index b612b0ad49e..f3e8196de32 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-workspace-pane.retention-props.test.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-workspace-pane.retention-props.test.tsx @@ -69,8 +69,9 @@ vi.mock('./browser-page-pane', () => ({ return } })) -import { hydrateBrowserDrivers } from '@/lib/pane-manager/browser-mobile-driver-state' -import { hydrateBrowserRemoteViewerPages } from '@/lib/pane-manager/browser-remote-viewer-state' +import { hydrateBrowserDrivers } from '@/runtime/browser/ownership/browser-mobile-driver-state' +import '@/runtime/browser/ownership/browser-remote-viewer-state' +import { hydrateBrowserRemoteViewerPages } from '@/runtime/browser/ownership/browser-remote-viewer-store' import BrowserPane from './browser-workspace-pane' const WORKSPACE_ID = 'ws-1' diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/browser-workspace-pane.tsx b/src/renderer/src/components/browser-pane/assemble-chrome/browser-workspace-pane.tsx index 1debc6b62af..cdc6ffbea6e 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/browser-workspace-pane.tsx +++ b/src/renderer/src/components/browser-pane/assemble-chrome/browser-workspace-pane.tsx @@ -11,8 +11,8 @@ import { IDLE_BROWSER_DRIVER, useBrowserDriverForPage, useBrowserMobileDrivenPageIds -} from '@/lib/pane-manager/browser-mobile-driver-state' -import { useBrowserRemotelyViewedPageIds } from '@/lib/pane-manager/browser-remote-viewer-state' +} from '@/runtime/browser/ownership/browser-mobile-driver-state' +import { useBrowserRemotelyViewedPageIds } from '@/runtime/browser/ownership/browser-remote-viewer-state' import { useContextualTour } from '@/components/contextual-tours/use-contextual-tour' import { getBrowserPageRuntimeEnvironmentId } from '../describe-page/browser-page-url-display' import type { BrowserChromeShortcutScope } from '../describe-page/browser-page-types' diff --git a/src/renderer/src/components/browser-pane/assemble-chrome/use-browser-extension-toolbar.ts b/src/renderer/src/components/browser-pane/assemble-chrome/use-browser-extension-toolbar.ts index 9fd76b01352..649b6af2b0d 100644 --- a/src/renderer/src/components/browser-pane/assemble-chrome/use-browser-extension-toolbar.ts +++ b/src/renderer/src/components/browser-pane/assemble-chrome/use-browser-extension-toolbar.ts @@ -4,7 +4,7 @@ import type { BrowserExtensionToolbarState } from '../../../../../shared/browser /** * The extension buttons main reports for one browser page, or null when the page's session runs - * no extensions (route, SSH and doc-preview pages) or the experimental setting is off. + * no extensions (route, SSH and doc-preview pages) or extensions are turned off in Settings. * * Why refetch on `pageKey`: a page's guest registers with main a moment after mount, and a * navigation can reset tab-scoped badges; main only pushes "this profile changed". @@ -14,7 +14,7 @@ export function useBrowserExtensionToolbar( isActive: boolean, pageKey: string ): BrowserExtensionToolbarState | null { - const enabled = useAppStore((s) => s.settings?.experimentalBrowserExtensions === true) + const enabled = useAppStore((s) => s.settings?.browserExtensionsEnabled !== false) const [state, setState] = useState<{ browserPageId: string value: BrowserExtensionToolbarState | null diff --git a/src/renderer/src/components/browser-pane/browser-client-page-guest-metadata.ts b/src/renderer/src/components/browser-pane/browser-client-page-guest-metadata.ts index aaafcd0c845..cf2e1f3233a 100644 --- a/src/renderer/src/components/browser-pane/browser-client-page-guest-metadata.ts +++ b/src/renderer/src/components/browser-pane/browser-client-page-guest-metadata.ts @@ -1,78 +1,21 @@ import type { BrowserLoadError } from '../../../../shared/browser-workspace-types' import type { BrowserPageFailLoadEvent } from './describe-page/browser-page-types' import { resolveBrowserWebviewLoadFailure } from './navigate/browser-webview-load-failure' -import { recordRendererCrashBreadcrumb } from '@/lib/crash-breadcrumb-recorder' -import { redactKagiSessionToken } from '../../../../shared/browser-url' -import type { BrowserClientPageMetadataSnapshot } from './browser-client-page-metadata-publisher' - -/** Guest methods can throw after main destroys it; return null rather than unwind a React effect. Prefer navigation-event URLs and force loading at start before tag getters catch up. */ -export function readBrowserClientPageGuestMetadataIfLive( - webview: Electron.WebviewTag, - eventUrl?: string, - loading?: boolean -): BrowserClientPageMetadataSnapshot | null { - try { - const url = redactKagiSessionToken(eventUrl || webview.getURL() || 'about:blank') - return { - url, - title: webview.getTitle() || url || 'Browser', - loading: loading ?? webview.isLoading(), - canGoBack: webview.canGoBack(), - canGoForward: webview.canGoForward() - } - } catch (error) { - // Record unexpected read failures too; the total catch otherwise makes them indistinguishable from guest death. - console.warn('[browser-client-page] guest read failed, treating the page as gone:', error) - recordRendererCrashBreadcrumb('browser_client_page_guest_read_failed', { - errorName: error instanceof Error ? error.name : typeof error, - errorMessage: error instanceof Error ? error.message : String(error) - }) - return null - } -} +import { cachedBrowserGuestMetadata } from './host-guest/browser-guest-metadata-cache' export function createBrowserClientPageLoadFailureHandler( webview: Electron.WebviewTag, - onUnavailable: () => void, onFailure: (error: BrowserLoadError) => void ): (event: Event) => void { return (event) => { - let guestUnavailable = false const loadError = resolveBrowserWebviewLoadFailure(event as BrowserPageFailLoadEvent, { // Discarded ERR_ABORTED/subframe events must not read the guest. fallbackUrl: () => { - const metadata = readBrowserClientPageGuestMetadataIfLive(webview) - guestUnavailable = metadata === null - return metadata?.url ?? null + return cachedBrowserGuestMetadata(webview)?.url ?? null } }) - if (guestUnavailable) { - onUnavailable() - } else if (loadError) { + if (loadError) { onFailure(loadError) } } } - -/** Binds the guest events a client-hosted pane mirrors and returns the matching unbind. */ -export function bindBrowserClientPageGuestEvents( - webview: Electron.WebviewTag, - onStart: (event: Electron.DidStartNavigationEvent) => void, - syncNavigation: (event?: Event) => void, - onFailLoad: (event: Event) => void -): () => void { - webview.addEventListener('did-start-navigation', onStart) - webview.addEventListener('did-stop-loading', syncNavigation) - webview.addEventListener('did-navigate', syncNavigation) - webview.addEventListener('did-navigate-in-page', syncNavigation) - webview.addEventListener('page-title-updated', syncNavigation) - webview.addEventListener('did-fail-load', onFailLoad) - return () => { - webview.removeEventListener('did-start-navigation', onStart) - webview.removeEventListener('did-stop-loading', syncNavigation) - webview.removeEventListener('did-navigate', syncNavigation) - webview.removeEventListener('did-navigate-in-page', syncNavigation) - webview.removeEventListener('page-title-updated', syncNavigation) - webview.removeEventListener('did-fail-load', onFailLoad) - } -} diff --git a/src/renderer/src/components/browser-pane/browser-client-page-metadata-publish-e2e-fault.ts b/src/renderer/src/components/browser-pane/browser-client-page-metadata-publish-e2e-fault.ts index 0b1d8b2cdf8..ab2a022f805 100644 --- a/src/renderer/src/components/browser-pane/browser-client-page-metadata-publish-e2e-fault.ts +++ b/src/renderer/src/components/browser-pane/browser-client-page-metadata-publish-e2e-fault.ts @@ -1,4 +1,4 @@ -import { e2eConfig } from '@/lib/e2e-config' +import { e2eConfig } from '@/app-shell/startup/e2e-config' /** Hold runtime metadata stale deterministically; normal publish lag is sub-second, and snapshot waits would miss both that window and outright failure. */ type MetadataPublishFaultApi = { diff --git a/src/renderer/src/components/browser-pane/browser-client-page-metadata-publisher.test.ts b/src/renderer/src/components/browser-pane/browser-client-page-metadata-publisher.test.ts index 740f12e8417..f96c075c295 100644 --- a/src/renderer/src/components/browser-pane/browser-client-page-metadata-publisher.test.ts +++ b/src/renderer/src/components/browser-pane/browser-client-page-metadata-publisher.test.ts @@ -1,4 +1,5 @@ import { describe, expect, it, vi } from 'vitest' +import { BrowserClientPageMetadataParams } from '../../../../shared/browser/client-hosting/browser-client-page-metadata-protocol' import { createBrowserClientPageMetadataPublisher } from './browser-client-page-metadata-publisher' const PLACEMENT = { @@ -9,6 +10,29 @@ const PLACEMENT = { } describe('browser client page metadata publisher', () => { + it('publishes an untitled long URL within the title wire limit without changing the source', () => { + const url = `https://example.com/${'a'.repeat(4080)}` + const source = { ...snapshot(url), url } + const publish = vi.fn().mockResolvedValue({ status: 'published', accepted: true }) + const publisher = createBrowserClientPageMetadataPublisher({ + browserPageId: 'page-a', + placement: PLACEMENT, + nextRevision: () => 1, + publish + }) + + publisher.publish(source) + + expect(BrowserClientPageMetadataParams.parse(publish.mock.calls[0][0])).toMatchObject({ + url, + title: `https://example.com/${'a'.repeat(4076)}`, + loading: false, + canGoBack: true, + canGoForward: false + }) + expect(source).toEqual({ ...snapshot(url), url }) + }) + it('keeps one call in flight and coalesces to the latest full snapshot', async () => { const first = deferred() const second = deferred() diff --git a/src/renderer/src/components/browser-pane/browser-client-page-metadata-publisher.ts b/src/renderer/src/components/browser-pane/browser-client-page-metadata-publisher.ts index 89a2ffd4244..18f68216c9d 100644 --- a/src/renderer/src/components/browser-pane/browser-client-page-metadata-publisher.ts +++ b/src/renderer/src/components/browser-pane/browser-client-page-metadata-publisher.ts @@ -57,7 +57,8 @@ export function createBrowserClientPageMetadataPublisher(options: { browserPageId: options.browserPageId, pageHostGeneration: options.placement.pageHostGeneration, revision: options.nextRevision(), - ...snapshot + ...snapshot, + title: snapshot.title.slice(0, 4096) }) } catch (error) { request = Promise.reject(error) diff --git a/src/renderer/src/components/browser-pane/browser-client-page-paint-retention.ts b/src/renderer/src/components/browser-pane/browser-client-page-paint-retention.ts index 0fac4a7fcb3..0f8adde5afb 100644 --- a/src/renderer/src/components/browser-pane/browser-client-page-paint-retention.ts +++ b/src/renderer/src/components/browser-pane/browser-client-page-paint-retention.ts @@ -3,7 +3,7 @@ import { isWebviewDragPassthroughActive } from './host-guest/webview-drag-passth import { isBrowserPageRemotelyViewed, onBrowserRemoteViewerChange -} from '../../lib/pane-manager/browser-remote-viewer-store' +} from '../../runtime/browser/ownership/browser-remote-viewer-store' import type { BrowserClientRetainedRendererPage } from './browser-client-page-retained-state' export function syncBrowserClientPagePaintRetention(page: BrowserClientRetainedRendererPage): void { diff --git a/src/renderer/src/components/browser-pane/browser-client-page-retained-registry.test.ts b/src/renderer/src/components/browser-pane/browser-client-page-retained-registry.test.ts index c24bf374697..021274a216a 100644 --- a/src/renderer/src/components/browser-pane/browser-client-page-retained-registry.test.ts +++ b/src/renderer/src/components/browser-pane/browser-client-page-retained-registry.test.ts @@ -3,6 +3,11 @@ import { afterEach, describe, expect, it, vi } from 'vitest' import type { BrowserClientPageRendererIdentity } from '../../../../shared/browser/client-hosting/browser-client-page-renderer-protocol' import { BrowserClientPageRetainedRegistry } from './browser-client-page-retained-registry' +import { + clearBrowserGuestMetadata, + issueBrowserGuestNavigation, + subscribeBrowserGuestMetadata +} from './host-guest/browser-guest-metadata-cache' const PAGE: BrowserClientPageRendererIdentity = { partition: 'persist:route-a', @@ -52,11 +57,51 @@ function attach(webview: Electron.WebviewTag): void { } afterEach(() => { + clearBrowserGuestMetadata() document.body.innerHTML = '' vi.useRealTimers() }) describe('browser client page retained registry', () => { + it.each(['retire', 'dispose', 'renderer-loss'] as const)( + 'ends unpublished metadata on %s without a post-removal destroyed event', + async (mode) => { + Object.defineProperty(window, 'api', { + configurable: true, + value: { browser: { getGuestMetadata: async () => undefined } } + }) + const { registry, webviews } = createRig() + const mounting = registry.mountPage(PAGE) + const webview = webviews[0]! + attach(webview) + await mounting + const remove = webview.remove.bind(webview) + webview.remove = () => { + webview.dataset.attached = 'false' + remove() + } + const received = vi.fn() + const detach = subscribeBrowserGuestMetadata(PAGE.browserPageId, webview, received) + if (mode !== 'dispose') { + issueBrowserGuestNavigation(webview, () => {}) + } + await Promise.resolve() + if (mode === 'retire') { + registry.retirePage(PAGE) + } else if (mode === 'dispose') { + registry.dispose() + } else { + // The owner runs first on native loss; its removal makes the tag ID unreadable. + webview.dataset.attached = 'false' + webview.dispatchEvent(new Event('render-process-gone')) + } + expect(received).toHaveBeenCalledExactlyOnceWith(null) + expect(webview.isConnected).toBe(false) + detach() + registry.dispose() + } + ) + it('holds an attached generation until destruction and ignores wrong-generation retirement', async () => { const { registry, webviews } = createRig() const mounting = registry.mountPage(PAGE) diff --git a/src/renderer/src/components/browser-pane/browser-client-page-retained-registry.ts b/src/renderer/src/components/browser-pane/browser-client-page-retained-registry.ts index c7b9b66f904..b53e8533884 100644 --- a/src/renderer/src/components/browser-pane/browser-client-page-retained-registry.ts +++ b/src/renderer/src/components/browser-pane/browser-client-page-retained-registry.ts @@ -10,6 +10,7 @@ import { readBrowserClientPageAttachedGuestId } from './browser-client-page-retained-elements' import { browserClientPageRetainedKey } from './browser-client-page-retained-key' +import { retireBrowserGuestMetadata } from './host-guest/browser-guest-metadata-cache' import { retainBrowserClientPagePaint, createBrowserClientPageLoadCommitHandler @@ -215,7 +216,8 @@ export class BrowserClientPageRetainedRegistry { (this.partitionCounts.get(identity.partition) ?? 0) + 1 ) host.appendChild(webview) - this.ensureRoot().appendChild(host) + this.root ??= createBrowserClientPageRetainedRoot(this.options.document) + this.root.appendChild(host) return page } @@ -285,6 +287,7 @@ export class BrowserClientPageRetainedRegistry { if (this.pages.get(page.key) !== page) { return } + retireBrowserGuestMetadata(page.webview, page.webContentsId) clearTimeout(page.attachTimer) page.releaseDragPassthroughSurface() page.releasePaintRetention() @@ -306,12 +309,8 @@ export class BrowserClientPageRetainedRegistry { } } - private ensureRoot(): HTMLDivElement { - this.root ??= createBrowserClientPageRetainedRoot(this.options.document) - return this.root - } - private disconnectPage(page: RetainedPage): void { + retireBrowserGuestMetadata(page.webview, page.webContentsId) // Registry disposal or guest loss may precede pane detach; stop rect reads for the disconnected host now. page.visibleAttachment?.stopTrackingViewport() page.visibleAttachment = null diff --git a/src/renderer/src/components/browser-pane/browser-reopen-on-server.ts b/src/renderer/src/components/browser-pane/browser-reopen-on-server.ts index 1dedf3115d1..1fcf92ead83 100644 --- a/src/renderer/src/components/browser-pane/browser-reopen-on-server.ts +++ b/src/renderer/src/components/browser-pane/browser-reopen-on-server.ts @@ -3,7 +3,7 @@ import '../../../../shared/constants' import { ORCA_BROWSER_BLANK_URL } from '../../../../shared/browser/browser-blank-page' import { createWebRuntimeSessionBrowserTab } from '@/runtime/browser/creation/web-runtime-browser-creation' -/** Restore only committed web URLs across engines; other destinations reopen blank and request bodies are never reconstructed. */ +/** Reopen the requested/current web URL across engines; other destinations reopen blank and request bodies are never reconstructed. */ export function resolveBrowserReopenOnServerUrl( url: string | null | undefined ): string | undefined { @@ -26,12 +26,12 @@ export function resolveBrowserReopenOnServerUrl( export async function reopenBrowserPageOnServer(args: { environmentId: string worktreeId: string - lastCommittedUrl: string | null | undefined + reopenUrl: string | null | undefined }): Promise { return createWebRuntimeSessionBrowserTab({ worktreeId: args.worktreeId, environmentId: args.environmentId, - url: resolveBrowserReopenOnServerUrl(args.lastCommittedUrl), + url: resolveBrowserReopenOnServerUrl(args.reopenUrl), placementPreference: 'server', focusOnCreate: true }) diff --git a/src/renderer/src/components/browser-pane/browser-user-agent-migration-notice.ts b/src/renderer/src/components/browser-pane/browser-user-agent-migration-notice.ts index b618a4ea366..8932b5baba9 100644 --- a/src/renderer/src/components/browser-pane/browser-user-agent-migration-notice.ts +++ b/src/renderer/src/components/browser-pane/browser-user-agent-migration-notice.ts @@ -1,8 +1,8 @@ import { useEffect } from 'react' import { toast } from 'sonner' import { translate } from '@/i18n/i18n' -import { useAppStore } from '@/store' -import { BROWSER_USER_AGENT_SETTINGS_TARGET_ID } from '@/lib/settings-navigation-types' +import { useAppStore } from '@/store/index' +import { BROWSER_USER_AGENT_SETTINGS_TARGET_ID } from '@/components/settings/navigation/settings-navigation-types' export function useBrowserIdentityMigrationNotice(): void { useEffect(() => { diff --git a/src/renderer/src/components/browser-pane/client-hosted-browser-pane-test-rig.ts b/src/renderer/src/components/browser-pane/client-hosted-browser-pane-test-rig.ts index c9d4875c5bd..8fb48110ae6 100644 --- a/src/renderer/src/components/browser-pane/client-hosted-browser-pane-test-rig.ts +++ b/src/renderer/src/components/browser-pane/client-hosted-browser-pane-test-rig.ts @@ -1,3 +1,8 @@ +import type { BrowserGuestMetadata } from '../../../../shared/browser/guest-lifecycle/browser-guest-metadata' +import { + acceptBrowserGuestMetadata, + clearBrowserGuestMetadata +} from './host-guest/browser-guest-metadata-cache' import { vi } from 'vitest' type Listener = (event: T) => void @@ -33,11 +38,18 @@ export function installClientHostedPaneApi(overrides?: { shell?: Record runtimeEnvironments?: Record }): void { + clearBrowserGuestMetadata() + guestStates.clear() const inert = (): (() => void) => () => {} Object.defineProperty(window, 'api', { configurable: true, value: { browser: { + getGuestMetadata: vi.fn(async ({ webContentsId }: { webContentsId: number }) => + guestStates.get(webContentsId) + ), + onGuestMetadata: inert, + onGuestEscape: inert, onPopup: inert, onPermissionDenied: inert, onContextMenuRequested: inert, @@ -74,3 +86,31 @@ export function installClientHostedPaneApi(overrides?: { } }) } + +const guestStates = new Map() + +/** Supplies the main-owned observation the production preload bridge delivers. */ +export function reportClientHostedGuestMetadata( + patch: Partial & { webContentsId: number } +): BrowserGuestMetadata { + const previous = guestStates.get(patch.webContentsId) + const state: BrowserGuestMetadata = { + browserPageId: 'page-a', + navigationRevision: 1, + kind: 'snapshot', + url: 'about:blank', + title: 'New Tab', + loading: false, + canGoBack: true, + canGoForward: false, + errorPage: false, + loadError: null, + hasCertificateFailure: false, + ...previous, + ...patch, + revision: (previous?.revision ?? 0) + 1 + } + guestStates.set(state.webContentsId, state) + acceptBrowserGuestMetadata(state) + return state +} diff --git a/src/renderer/src/components/browser-pane/client-hosted-browser-unavailable-notice.tsx b/src/renderer/src/components/browser-pane/client-hosted-browser-unavailable-notice.tsx index 92f707a963a..b629966cec6 100644 --- a/src/renderer/src/components/browser-pane/client-hosted-browser-unavailable-notice.tsx +++ b/src/renderer/src/components/browser-pane/client-hosted-browser-unavailable-notice.tsx @@ -20,12 +20,12 @@ import { BROWSER_SCREENCAST_RUNTIME_CAPABILITY } from '../../../../shared/browse export function ClientHostedBrowserUnavailableNotice({ runtimeEnvironmentId, worktreeId, - lastCommittedUrl, + reopenUrl, placementHostClientId }: { runtimeEnvironmentId: string worktreeId: string - lastCommittedUrl: string + reopenUrl: string placementHostClientId: string | null }): React.JSX.Element { const t = useTranslate() @@ -87,7 +87,7 @@ export function ClientHostedBrowserUnavailableNotice({ ) : null} diff --git a/src/renderer/src/components/browser-pane/describe-page/browser-artifact-upload.ts b/src/renderer/src/components/browser-pane/describe-page/browser-artifact-upload.ts index a2b064be052..8d7dbc300f3 100644 --- a/src/renderer/src/components/browser-pane/describe-page/browser-artifact-upload.ts +++ b/src/renderer/src/components/browser-pane/describe-page/browser-artifact-upload.ts @@ -6,8 +6,8 @@ import { canonicalArtifactFilePath, fileArtifactSourceKey, LOCAL_FILE_ARTIFACT_OWNER -} from '@/lib/file-artifact-source-key' -import { userNamedFileAccess } from '@/lib/local-file-access' +} from '@/lib/files/artifacts/file-artifact-source-key' +import { userNamedFileAccess } from '@/lib/files/access/local-file-access' export type ShareableBrowserArtifactFile = { fileName: string diff --git a/src/renderer/src/components/browser-pane/describe-page/browser-overlay-shortcut-target.ts b/src/renderer/src/components/browser-pane/describe-page/browser-overlay-shortcut-target.ts index 2f545cd8b3f..463f68b4f15 100644 --- a/src/renderer/src/components/browser-pane/describe-page/browser-overlay-shortcut-target.ts +++ b/src/renderer/src/components/browser-pane/describe-page/browser-overlay-shortcut-target.ts @@ -1,4 +1,4 @@ -import { isEventTargetInsideFloatingWorkspacePanel } from '@/lib/floating-workspace-terminal-actions' +import { isEventTargetInsideFloatingWorkspacePanel } from '@/components/floating-terminal/floating-workspace-terminal-actions' import type { BrowserChromeShortcutScope } from './browser-page-types' export function browserOverlayOwnsShortcutTarget( diff --git a/src/renderer/src/components/browser-pane/describe-page/browser-page-url-display.ts b/src/renderer/src/components/browser-pane/describe-page/browser-page-url-display.ts index 1bc914c21d1..641bd7c94fb 100644 --- a/src/renderer/src/components/browser-pane/describe-page/browser-page-url-display.ts +++ b/src/renderer/src/components/browser-pane/describe-page/browser-page-url-display.ts @@ -1,6 +1,6 @@ +import { issueBrowserGuestNavigation } from '../host-guest/browser-guest-metadata-cache' import type { BrowserPage as BrowserPageState } from '../../../../../shared/browser-workspace-types' import '../../../../../shared/constants' -import { ORCA_BROWSER_BLANK_URL } from '../../../../../shared/browser/browser-blank-page' import { normalizeBrowserNavigationUrl, normalizeExternalBrowserUrl, @@ -25,18 +25,7 @@ export function toDisplayUrl(url: string): string { return isBlankBrowserUrl(url) ? '' : redactKagiSessionToken(url) } -export function getBrowserDisplayTitle(title: string | null | undefined, url: string): string { - if ( - url === 'about:blank' || - url === ORCA_BROWSER_BLANK_URL || - title === 'about:blank' || - title === ORCA_BROWSER_BLANK_URL || - !title - ) { - return 'New Tab' - } - return title -} +export { getBrowserDisplayTitle } from '../../../../../shared/browser/browser-display-title' export function isChromiumErrorPage(url: string): boolean { return url.startsWith('chrome-error://') @@ -72,5 +61,7 @@ export function retryBrowserTabLoad( loading: true, title: retryUrl }) - webview.src = retryUrl + issueBrowserGuestNavigation(webview, () => { + webview.src = retryUrl + }) } diff --git a/src/renderer/src/components/browser-pane/devtools-dock/use-browser-devtools-dock-bounds.ts b/src/renderer/src/components/browser-pane/devtools-dock/use-browser-devtools-dock-bounds.ts index e6b0c20ea0a..7b6aa11af21 100644 --- a/src/renderer/src/components/browser-pane/devtools-dock/use-browser-devtools-dock-bounds.ts +++ b/src/renderer/src/components/browser-pane/devtools-dock/use-browser-devtools-dock-bounds.ts @@ -1,5 +1,5 @@ import { useEffect, useState } from 'react' -import { hasVisibleOverlayOver } from '@/lib/visible-overlay' +import { hasVisibleOverlayOver } from '@/lib/overlay-interaction/visible-overlay' import { registerBrowserClientPagePositionSync } from '../browser-client-page-position-driver' import { isWebviewDragPassthroughActive, diff --git a/src/renderer/src/components/browser-pane/host-guest/attach-browser-page-webview.ts b/src/renderer/src/components/browser-pane/host-guest/attach-browser-page-webview.ts index a5907d2a88c..544f15526f4 100644 --- a/src/renderer/src/components/browser-pane/host-guest/attach-browser-page-webview.ts +++ b/src/renderer/src/components/browser-pane/host-guest/attach-browser-page-webview.ts @@ -43,7 +43,6 @@ export type AttachBrowserPageWebviewArgs = { onUpdatePageStateRef: MutableRefObject<(tabId: string, updates: BrowserTabPageState) => void> setGuestRecoveryGeneration: Dispatch> focusAddressBarNow: () => boolean - syncNavigationState: (webview: Electron.WebviewTag) => void syncBrowserAnnotationViewportBridge: () => void faviconUrlRef: MutableRefObject addressBarInputRef: RefObject @@ -77,8 +76,7 @@ export function attachBrowserPageWebview( handleInternalFileDropRef, dismissAddressBarSuggestionsRef, browserTabUrlRef, - lastKnownWebviewUrlRef, - syncNavigationState + lastKnownWebviewUrlRef } = args const viewport = ensureBrowserPageViewport(browserTabId, workspaceId) @@ -110,7 +108,6 @@ export function attachBrowserPageWebview( if (!ensuredWebview.created) { // pointerEvents already applied inside ensureBrowserPageWebview for the reused-webview path. - syncNavigationState(webview) // Why: seed from the store URL (getURL() can throw during attach) so URL sync won't force-navigate an already-correct webview. lastKnownWebviewUrlRef.current = normalizeBrowserNavigationUrl(browserTabUrlRef.current) ?? null } diff --git a/src/renderer/src/components/browser-pane/host-guest/bind-browser-page-webview-listeners.ts b/src/renderer/src/components/browser-pane/host-guest/bind-browser-page-webview-listeners.ts index 3280ae9d5c2..96696cf0b52 100644 --- a/src/renderer/src/components/browser-pane/host-guest/bind-browser-page-webview-listeners.ts +++ b/src/renderer/src/components/browser-pane/host-guest/bind-browser-page-webview-listeners.ts @@ -1,3 +1,10 @@ +import { useAppStore } from '@/store' +import { + issueBrowserGuestNavigation, + browserGuestPreservesRequestedDocument, + subscribeBrowserGuestMetadata +} from './browser-guest-metadata-cache' +import { getBrowserDisplayTitle } from '../describe-page/browser-page-url-display' import { publishNativeChatVisualGuestTheme } from '@/components/native-chat/media/visuals/NativeChatVisualGuestThemePublisher' import { normalizeBrowserGuestSrc } from '../../../../../shared/browser/extensions/browser-extension-url' import '../../../../../shared/constants' @@ -48,7 +55,6 @@ export function bindBrowserPageWebviewListeners({ onUpdatePageStateRef, setGuestRecoveryGeneration, focusAddressBarNow, - syncNavigationState, syncBrowserAnnotationViewportBridge, faviconUrlRef, addressBarInputRef, @@ -84,7 +90,6 @@ export function bindBrowserPageWebviewListeners({ onUpdatePageStateRef, setGuestRecoveryGeneration, focusAddressBarNow, - syncNavigationState, syncBrowserAnnotationViewportBridge }) @@ -142,27 +147,78 @@ export function bindBrowserPageWebviewListeners({ webview.addEventListener('focus', dismissAddressBarSuggestions) webview.addEventListener('did-start-navigation', handleDidStartNavigation) webview.addEventListener('did-redirect-navigation', handleDidRedirectNavigation) - webview.addEventListener('did-stop-loading', handleDidStopLoading) // Why: close find only on full 'did-navigate', not the shared handler, which also fires on SPA in-page hash/pushState changes. const handleFindCloseOnNavigate = (): void => { setFindOpen(false) + const recovery = recoveryNavigationValidationRef.current + if (recovery?.started) { + recovery.committed = true + } } - webview.addEventListener('did-navigate', handleFullDidNavigate) webview.addEventListener('did-navigate', handleFindCloseOnNavigate) - webview.addEventListener('did-navigate-in-page', handleDidNavigateInPage) - webview.addEventListener('page-title-updated', handleTitleUpdate) webview.addEventListener('page-favicon-updated', handleFaviconUpdate) webview.addEventListener('did-fail-load', handleFailLoad) webview.addEventListener('console-message', handleAnnotationViewportMessage) + const unsubscribeMetadata = subscribeBrowserGuestMetadata(browserTabId, webview, (metadata) => { + if (!metadata || metadata.kind === 'retired') { + return + } + const page = useAppStore + .getState() + .browserPagesByWorkspace[workspaceId]?.find((page) => page.id === browserTabId) + if (!page) { + return + } + const { kind, url, title, loading, canGoBack, canGoForward } = metadata + if (metadata.loadError) { + activeLoadFailureRef.current = metadata.loadError + } + const presentDocument = + Boolean(url) && + !metadata.errorPage && + !metadata.loadError && + !metadata.hasCertificateFailure && + !browserGuestPreservesRequestedDocument(webview, url, page.url) + if (kind === 'navigation') { + handleFullDidNavigate({ url }) + } else if ( + kind === 'in-page' || + (kind === 'snapshot' && loading && presentDocument && !activeLoadFailureRef.current) + ) { + handleDidNavigateInPage({ url }) + } + if (kind === 'title' && presentDocument && !activeLoadFailureRef.current) { + handleTitleUpdate({ title }) + } + const settlement = + kind === 'stop' || (kind === 'snapshot' && !loading) ? handleDidStopLoading() : null + onUpdatePageStateRef.current(browserTabId, { + ...settlement, + ...(presentDocument && !activeLoadFailureRef.current + ? { title: getBrowserDisplayTitle(title, url) } + : {}), + canGoBack, + canGoForward, + ...(metadata.loadError + ? { loadError: metadata.loadError } + : kind === 'navigation' + ? { loadError: activeLoadFailureRef.current } + : {}), + loading + }) + }) + if (needsInitialNavigation) { publishNativeChatVisualGuestTheme() // Why: set src only after listeners attach so a fast localhost failure isn't missed. const initialUrl = normalizeBrowserGuestSrc(initialBrowserUrlRef.current) ?? ORCA_BROWSER_BLANK_URL lastKnownWebviewUrlRef.current = initialUrl - webview.src = initialUrl + issueBrowserGuestNavigation(webview, () => { + webview.src = initialUrl + }) } else if (isPaintableRef.current) { if (isBrowserPageRendererRecoveryPending(browserTabId)) { guestRecovery.recoverRenderer() @@ -172,6 +228,7 @@ export function bindBrowserPageWebviewListeners({ } return () => { + unsubscribeMetadata() webview.removeEventListener('did-attach', handleDidAttach) webview.removeEventListener('dom-ready', handleDomReady) webview.removeEventListener('render-process-gone', guestRecovery.recoverRenderer) @@ -179,11 +236,7 @@ export function bindBrowserPageWebviewListeners({ webview.removeEventListener('focus', dismissAddressBarSuggestions) webview.removeEventListener('did-start-navigation', handleDidStartNavigation) webview.removeEventListener('did-redirect-navigation', handleDidRedirectNavigation) - webview.removeEventListener('did-stop-loading', handleDidStopLoading) - webview.removeEventListener('did-navigate', handleFullDidNavigate) webview.removeEventListener('did-navigate', handleFindCloseOnNavigate) - webview.removeEventListener('did-navigate-in-page', handleDidNavigateInPage) - webview.removeEventListener('page-title-updated', handleTitleUpdate) webview.removeEventListener('page-favicon-updated', handleFaviconUpdate) webview.removeEventListener('did-fail-load', handleFailLoad) webview.removeEventListener('console-message', handleAnnotationViewportMessage) diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-client-page-guest-loss.ts b/src/renderer/src/components/browser-pane/host-guest/browser-client-page-guest-loss.ts index b9e2f6a21f6..baeab47a922 100644 --- a/src/renderer/src/components/browser-pane/host-guest/browser-client-page-guest-loss.ts +++ b/src/renderer/src/components/browser-pane/host-guest/browser-client-page-guest-loss.ts @@ -1,5 +1,5 @@ import type { MutableRefObject } from 'react' -import { recordRendererCrashBreadcrumb } from '@/lib/crash-breadcrumb-recorder' +import { recordRendererCrashBreadcrumb } from '@/diagnostics/crash-reporting/crash-breadcrumb-recorder' export type BrowserClientPageGuestLossReason = 'unreadable' | 'destroyed' | 'render-process-gone' diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-guest-eviction-veto.test.ts b/src/renderer/src/components/browser-pane/host-guest/browser-guest-eviction-veto.test.ts deleted file mode 100644 index fcd36d8603f..00000000000 --- a/src/renderer/src/components/browser-pane/host-guest/browser-guest-eviction-veto.test.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { beforeEach, describe, expect, it, vi } from 'vitest' -import type { BrowserWorkspace } from '../../../../../shared/browser-workspace-types' -import { browserTabsVetoGuestEviction } from './browser-guest-eviction-veto' -import { selectBrowserGuestEvictionWorktreeIds } from './browser-guest-worktree-retention' -import { hydrateBrowserDrivers } from '../../../lib/pane-manager/browser-mobile-driver-state' -import { hydrateBrowserRemoteViewerPages } from '../../../lib/pane-manager/browser-remote-viewer-state' - -import { installBrowserPageDownloadActivityTracking } from '../navigate/browser-page-download-activity' - -// Eviction destroys guests, permanently ending paired-client streams; paint retention must veto it too. -const WATCHED_PAGE = 'page-watched' -const WATCHED_WORKTREE = 'wt-watched' - -function tabsFor(pageId: string): BrowserWorkspace[] { - return [{ id: 'tab-1', pageIds: [pageId] } as unknown as BrowserWorkspace] -} - -/** Six over-budget hidden worktrees, so only the veto can spare the watched one. */ -function evictionRun(tabs: readonly BrowserWorkspace[]): string[] { - return selectBrowserGuestEvictionWorktreeIds({ - orderedWorktreeIds: ['wt-a', 'wt-b', 'wt-c', 'wt-d', 'wt-e', WATCHED_WORKTREE], - activeWorktreeId: 'wt-active', - isRetained: () => true, - holdsLiveGuests: () => true, - isEvictable: (worktreeId) => - worktreeId === WATCHED_WORKTREE ? !browserTabsVetoGuestEviction(tabs) : true - }) -} - -describe('browser guest eviction veto', () => { - beforeEach(() => { - hydrateBrowserDrivers([]) - hydrateBrowserRemoteViewerPages([]) - }) - - // Parking preserves downloads; eviction unregisters the guest and main cancels them as on tab close. - it('spares a page that is still writing a download', () => { - let emitDownloadRequested: (event: { - downloadId: string - browserPageId: string - }) => void = () => {} - const noop = (): void => {} - vi.stubGlobal('window', { - api: { - browser: { - onDownloadRequested: (callback: typeof emitDownloadRequested) => { - emitDownloadRequested = callback - return noop - }, - onDownloadProgress: () => noop, - onDownloadFinished: () => noop - } - } - }) - const stopDownloadTracking = installBrowserPageDownloadActivityTracking() - try { - expect(browserTabsVetoGuestEviction(tabsFor(WATCHED_PAGE))).toBe(false) - expect(evictionRun(tabsFor(WATCHED_PAGE))).toContain(WATCHED_WORKTREE) - - emitDownloadRequested({ downloadId: 'dl-1', browserPageId: WATCHED_PAGE }) - expect(browserTabsVetoGuestEviction(tabsFor(WATCHED_PAGE))).toBe(true) - expect(evictionRun(tabsFor(WATCHED_PAGE))).not.toContain(WATCHED_WORKTREE) - } finally { - stopDownloadTracking() - vi.unstubAllGlobals() - } - }) - - it('holds the veto for a viewer on a non-active page of the same tab', () => { - const tabs = [ - { id: 'tab-1', activePageId: 'page-front', pageIds: ['page-front', WATCHED_PAGE] } - ] as unknown as BrowserWorkspace[] - hydrateBrowserRemoteViewerPages([WATCHED_PAGE]) - expect(evictionRun(tabs)).not.toContain(WATCHED_WORKTREE) - }) -}) diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-guest-metadata-cache.test.ts b/src/renderer/src/components/browser-pane/host-guest/browser-guest-metadata-cache.test.ts new file mode 100644 index 00000000000..153e082b332 --- /dev/null +++ b/src/renderer/src/components/browser-pane/host-guest/browser-guest-metadata-cache.test.ts @@ -0,0 +1,87 @@ +// @vitest-environment happy-dom +import { afterEach, describe, expect, it, vi } from 'vitest' +import type { BrowserGuestMetadata } from '../../../../../shared/browser/guest-lifecycle/browser-guest-metadata' +import { + acceptBrowserGuestMetadata, + clearBrowserGuestMetadata, + issueBrowserGuestNavigation, + subscribeBrowserGuestMetadata +} from './browser-guest-metadata-cache' + +function snapshot( + webContentsId: number, + revision: number, + title = 'Current' +): BrowserGuestMetadata { + return { + browserPageId: 'page', + webContentsId, + revision, + navigationRevision: 1, + kind: 'title', + url: 'https://example.test/', + title, + loading: false, + canGoBack: true, + canGoForward: false, + errorPage: false, + loadError: null, + hasCertificateFailure: false + } +} +function tag(id: number): Electron.WebviewTag { + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: DOM tag with the only native method used by the cache. + return Object.assign(document.createElement('webview'), { + getWebContentsId: () => id + }) as Electron.WebviewTag +} +afterEach(clearBrowserGuestMetadata) + +describe('guest metadata lifetime cache', () => { + it('initializes a successor after an eventless command returns unchanged native state', async () => { + const state = snapshot(1, 1, 'Idle A') + Object.defineProperty(window, 'api', { + configurable: true, + value: { browser: { getGuestMetadata: vi.fn(async () => state) } } + }) + acceptBrowserGuestMetadata(state) + const webview = tag(1) + const first = subscribeBrowserGuestMetadata('page', webview, () => {}) + issueBrowserGuestNavigation(webview, () => {}) + first() + const observed: (BrowserGuestMetadata | null)[] = [] + const dispose = subscribeBrowserGuestMetadata('page', webview, (state) => observed.push(state)) + await vi.waitFor(() => + expect(observed.at(-1)).toMatchObject({ title: 'Idle A', loading: false }) + ) + dispose() + }) + + it('discards a late initial read after a newer event and fences a replacement guest', async () => { + let resolve!: (state: BrowserGuestMetadata) => void + const getGuestMetadata = vi.fn( + () => + new Promise((done) => { + resolve = done + }) + ) + Object.defineProperty(window, 'api', { + configurable: true, + value: { browser: { getGuestMetadata } } + }) + const webview = tag(1) + const observed: (BrowserGuestMetadata | null)[] = [] + const dispose = subscribeBrowserGuestMetadata('page', webview, (state) => observed.push(state)) + await Promise.resolve() + acceptBrowserGuestMetadata(snapshot(1, 2, 'Newer')) + resolve(snapshot(1, 1, 'Stale')) + await Promise.resolve() + expect(observed.map((state) => state?.title)).toEqual(['Newer']) + webview.getWebContentsId = () => 2 + webview.dispatchEvent(new Event('did-attach')) + acceptBrowserGuestMetadata(snapshot(1, 3, 'Old guest')) + acceptBrowserGuestMetadata(snapshot(2, 1, 'Replacement')) + expect(observed.map((state) => state?.title)).toEqual(['Newer', 'Replacement']) + dispose() + }) +}) diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-guest-metadata-cache.ts b/src/renderer/src/components/browser-pane/host-guest/browser-guest-metadata-cache.ts new file mode 100644 index 00000000000..640e767df14 --- /dev/null +++ b/src/renderer/src/components/browser-pane/host-guest/browser-guest-metadata-cache.ts @@ -0,0 +1,299 @@ +import type { BrowserGuestMetadata } from '../../../../../shared/browser/guest-lifecycle/browser-guest-metadata' +import { + normalizeBrowserNavigationUrl, + redactKagiSessionToken +} from '../../../../../shared/browser-url' + +type Listener = (state: BrowserGuestMetadata | null) => void +type GuestMetadataEntry = { + browserPageId?: string + state?: BrowserGuestMetadata + applicable: boolean + presentationRequest?: object + stopObserving?: () => void +} +const guests = new Map() +const listeners = new Map>() +const initialReads = new Map>() +const guestRetirements = new WeakMap void>() + +function notifyGuest(id: number, entry: GuestMetadataEntry, state: BrowserGuestMetadata): void { + listeners.get(id)?.forEach((listener) => { + if (guests.get(id) === entry && entry.applicable && entry.state?.revision === state.revision) { + listener(state) + } + }) +} + +function retireGuest(id: number, expected?: GuestMetadataEntry): void { + const entry = guests.get(id) + if (expected && entry !== expected) { + return + } + const subscribers = listeners.get(id) + guests.delete(id) + initialReads.delete(id) + listeners.delete(id) + entry?.stopObserving?.() + subscribers?.forEach((listener) => listener(null)) + subscribers?.clear() +} + +function observeGuestDeath( + id: number, + webview: Electron.WebviewTag, + entry: GuestMetadataEntry +): void { + if (entry.stopObserving) { + return + } + guestRetirements.get(webview)?.() + const onDestroyed = (): void => retireGuest(id, entry) + webview.addEventListener('destroyed', onDestroyed) + guestRetirements.set(webview, onDestroyed) + entry.stopObserving = () => { + webview.removeEventListener('destroyed', onDestroyed) + if (guestRetirements.get(webview) === onDestroyed) { + guestRetirements.delete(webview) + } + delete entry.stopObserving + } +} + +export function retireBrowserGuestMetadata( + webview: Electron.WebviewTag, + knownId?: number | null +): void { + const retire = guestRetirements.get(webview) + if (retire) { + retire() + return + } + const id = knownId ?? readBrowserGuestId(webview) + if (id !== null) { + retireGuest(id) + } +} + +function refreshGuest(id: number, browserPageId: string): void { + if (initialReads.has(id)) { + return + } + const request = Promise.resolve() + .then(() => window.api.browser.getGuestMetadata({ browserPageId, webContentsId: id })) + .then((state) => { + if (initialReads.get(id) !== request) { + return + } + initialReads.delete(id) + if (state === null || state?.kind === 'retired') { + retireGuest(id) + return + } + if (!state) { + return + } + const entry = guests.get(id) ?? { browserPageId, applicable: true } + const wasApplicable = entry.applicable + const previous = entry.state + if (!previous || previous.revision < state.revision) { + entry.state = state + } + const selected = entry.state ?? state + entry.browserPageId = browserPageId + entry.applicable = true + if ( + !selected.loading || + selected.loadError || + selected.hasCertificateFailure || + selected.errorPage + ) { + delete entry.presentationRequest + } + guests.set(id, entry) + if (!wasApplicable || !previous || previous.revision < state.revision) { + notifyGuest(id, entry, { ...selected, kind: 'snapshot' }) + } + }) + .catch(() => {}) + .finally(() => { + if (initialReads.get(id) === request) { + initialReads.delete(id) + } + }) + initialReads.set(id, request) +} + +export function acceptBrowserGuestMetadata(state: BrowserGuestMetadata): void { + const id = state.webContentsId + const entry = guests.get(id) ?? { browserPageId: state.browserPageId, applicable: true } + if (entry.state && entry.state.revision >= state.revision) { + return + } + if (state.kind === 'retired') { + retireGuest(id) + return + } + entry.state = state + entry.browserPageId = state.browserPageId + if ( + state.kind === 'navigation' || + state.kind === 'in-page' || + (entry.applicable && (state.kind === 'stop' || state.kind === 'failure')) + ) { + delete entry.presentationRequest + } + guests.set(id, entry) + if (entry.applicable) { + notifyGuest(id, entry, state) + } else if (state.kind !== 'title') { + refreshGuest(id, state.browserPageId) + } +} + +export function issueBrowserGuestNavigation( + webview: Electron.WebviewTag, + issue: (guest: Electron.WebviewTag) => T +): T +export function issueBrowserGuestNavigation( + webview: Electron.WebviewTag | null | undefined, + issue: (guest: Electron.WebviewTag) => T +): T | undefined +export function issueBrowserGuestNavigation( + webview: Electron.WebviewTag | null | undefined, + issue: (guest: Electron.WebviewTag) => T +): T | undefined { + if (!webview) { + return undefined + } + const id = readBrowserGuestId(webview) + const result = issue(webview) + if (id === null) { + return result + } + const receipt = {} + const entry = guests.get(id) ?? { applicable: false } + entry.applicable = false + entry.presentationRequest = receipt + guests.set(id, entry) + observeGuestDeath(id, webview, entry) + initialReads.delete(id) + if (entry.browserPageId) { + refreshGuest(id, entry.browserPageId) + } + // A rejected command ends its presentation claim, never the native observation or a successor's claim. + if (result instanceof Promise) { + void result.catch(() => { + const current = guests.get(id) + if (current?.presentationRequest === receipt) { + delete current.presentationRequest + } + }) + } + return result +} + +export function browserGuestPreservesRequestedDocument( + webview: Electron.WebviewTag, + observedUrl: string, + requestedUrl: string +): boolean { + const id = readBrowserGuestId(webview) + if (id === null || !guests.get(id)?.presentationRequest) { + return false + } + const normalized = (url: string): string => { + const redacted = redactKagiSessionToken(url) + return normalizeBrowserNavigationUrl(redacted) ?? redacted + } + return normalized(observedUrl) !== normalized(requestedUrl) +} + +export function clearBrowserGuestMetadata(): void { + // oxlint-disable-next-line unicorn/no-useless-spread -- Terminal callbacks may create successor entries. + for (const id of [...guests.keys()]) { + retireGuest(id) + } + initialReads.clear() +} + +export function readBrowserGuestId(webview: Electron.WebviewTag): number | null { + try { + return webview.getWebContentsId() + } catch { + return null + } +} + +export function cachedBrowserGuestMetadata( + webview: Electron.WebviewTag +): BrowserGuestMetadata | undefined { + const id = readBrowserGuestId(webview) + return id === null ? undefined : guests.get(id)?.state +} + +export function subscribeBrowserGuestMetadata( + browserPageId: string, + webview: Electron.WebviewTag, + listener: Listener +): () => void { + let guestId: number | null = null + let disposed = false + let unsubscribe = (): void => {} + const bind = (): void => { + if (disposed) { + return + } + const id = readBrowserGuestId(webview) + if (id === null) { + return + } + if (id === guestId) { + const entry = guests.get(id) + if (!entry?.applicable || !entry.state) { + refreshGuest(id, browserPageId) + } + return + } + unsubscribe() + if (guestId !== null) { + retireGuest(guestId) + } + guestId = id + const onState: Listener = (state) => { + if (!state || (readBrowserGuestId(webview) === id && state.browserPageId === browserPageId)) { + listener(state) + } + } + let subscribers = listeners.get(id) + if (!subscribers) { + subscribers = new Set() + listeners.set(id, subscribers) + } + subscribers.add(onState) + unsubscribe = () => { + subscribers.delete(onState) + if (!subscribers.size && listeners.get(id) === subscribers) { + listeners.delete(id) + } + } + const entry = guests.get(id) ?? { applicable: true } + entry.browserPageId = browserPageId + guests.set(id, entry) + observeGuestDeath(id, webview, entry) + if (entry.applicable && entry.state) { + onState({ ...entry.state, kind: 'snapshot' }) + } else { + refreshGuest(id, browserPageId) + } + } + webview.addEventListener('did-attach', bind) + webview.addEventListener('dom-ready', bind) + bind() + return () => { + disposed = true + unsubscribe() + webview.removeEventListener('did-attach', bind) + webview.removeEventListener('dom-ready', bind) + } +} diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-guest-paint-retention.ts b/src/renderer/src/components/browser-pane/host-guest/browser-guest-paint-retention.ts index add09f275c1..0dc11766044 100644 --- a/src/renderer/src/components/browser-pane/host-guest/browser-guest-paint-retention.ts +++ b/src/renderer/src/components/browser-pane/host-guest/browser-guest-paint-retention.ts @@ -5,12 +5,12 @@ import { isBrowserPageMobileDriven, onBrowserDriverChange, useBrowserMobileDriverForAny -} from '../../../lib/pane-manager/browser-mobile-driver-state' +} from '../../../runtime/browser/ownership/browser-mobile-driver-state' +import { useBrowserRemoteViewerForAny } from '../../../runtime/browser/ownership/browser-remote-viewer-state' import { isBrowserPageRemotelyViewed, - onBrowserRemoteViewerChange, - useBrowserRemoteViewerForAny -} from '../../../lib/pane-manager/browser-remote-viewer-state' + onBrowserRemoteViewerChange +} from '../../../runtime/browser/ownership/browser-remote-viewer-store' import { isBrowserAutomationVisible, onBrowserAutomationVisibilityChange, diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-page-evicted-guest-recovery.test.ts b/src/renderer/src/components/browser-pane/host-guest/browser-page-evicted-guest-recovery.test.ts index 71acaf421da..4a00b3829c8 100644 --- a/src/renderer/src/components/browser-pane/host-guest/browser-page-evicted-guest-recovery.test.ts +++ b/src/renderer/src/components/browser-pane/host-guest/browser-page-evicted-guest-recovery.test.ts @@ -43,7 +43,6 @@ function createPage(id: string) { onUpdatePageStateRef: ref(vi.fn()), setGuestRecoveryGeneration: setGeneration, focusAddressBarNow: () => false, - syncNavigationState: vi.fn(), syncBrowserAnnotationViewportBridge: vi.fn() }) return { webview, paintable, setGeneration, recovery: session.guestRecovery } diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-page-guest-recovery.ts b/src/renderer/src/components/browser-pane/host-guest/browser-page-guest-recovery.ts index b6e30917d12..9c21242bc60 100644 --- a/src/renderer/src/components/browser-pane/host-guest/browser-page-guest-recovery.ts +++ b/src/renderer/src/components/browser-pane/host-guest/browser-page-guest-recovery.ts @@ -1,3 +1,4 @@ +import { issueBrowserGuestNavigation } from './browser-guest-metadata-cache' export const BROWSER_GUEST_RECOVERY_ERROR_CODE = -10_000 export const BROWSER_GUEST_RECOVERY_TIMEOUT_MS = 8_000 export const BROWSER_GUEST_VALIDATION_RETRY_DELAY_MS = 1_000 @@ -142,7 +143,7 @@ export function createBrowserPageGuestRecovery( watchRecovery() try { // Why: reload keeps Chromium history and guest identity while starting a fresh renderer. - options.webview.reload() + issueBrowserGuestNavigation(options.webview, () => options.webview.reload()) } catch { replaceGuest() } diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-page-metadata.test.ts b/src/renderer/src/components/browser-pane/host-guest/browser-page-metadata.test.ts new file mode 100644 index 00000000000..a432da5c2d5 --- /dev/null +++ b/src/renderer/src/components/browser-pane/host-guest/browser-page-metadata.test.ts @@ -0,0 +1,372 @@ +// @vitest-environment happy-dom +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import { act, renderHook } from '@testing-library/react' +import { useEffect } from 'react' +import type { BrowserGuestMetadata } from '../../../../../shared/browser/guest-lifecycle/browser-guest-metadata' +import type { BrowserPage, BrowserWorkspace } from '../../../../../shared/browser-workspace-types' +import type { AttachBrowserPageWebviewArgs } from './attach-browser-page-webview' + +const adapters = vi.hoisted(() => ({ ensureViewport: vi.fn(), ensureWebview: vi.fn() })) + +vi.mock('@/components/native-chat/media/visuals/NativeChatVisualGuestThemePublisher', () => ({ + publishNativeChatVisualGuestTheme: () => {} +})) +vi.mock('./browser-page-webview-guest-session', () => ({ + createBrowserPageWebviewGuestSession: () => ({ + guestRecovery: { validateAfterResume() {}, retryRecovery() {}, dispose() {} }, + handleDidAttach() {}, + handleDomReady() {}, + handleGuestDestroyed() {} + }) +})) +vi.mock('./webview-registry', () => ({ + isBrowserPageRendererRecoveryPending: () => false, + moveFocusToRendererBeforeWebviewDetach() {} +})) +vi.mock('./browser-page-viewport', () => ({ + parkBrowserPageViewport() {}, + applyBrowserPageViewportLayout() {}, + syncBrowserPageChromeInset() {}, + ensureBrowserPageViewport: adapters.ensureViewport +})) +vi.mock('./browser-page-webview', () => ({ ensureBrowserPageWebview: adapters.ensureWebview })) +vi.mock('./browser-system-resume', () => ({ subscribeBrowserSystemResume: () => () => {} })) +vi.mock('../annotate/browser-annotation-viewport-message', () => ({ + consumeBrowserAnnotationViewportMessage() {} +})) + +import { useAppStore } from '@/store' +import { bindBrowserPageWebviewListeners } from './bind-browser-page-webview-listeners' +import { attachBrowserPageWebview } from './attach-browser-page-webview' +import { useBrowserPageWebviewUrlSync } from '../navigate/use-browser-page-webview-url-sync' +import { + acceptBrowserGuestMetadata, + cachedBrowserGuestMetadata, + clearBrowserGuestMetadata +} from './browser-guest-metadata-cache' + +const disposers: (() => void)[] = [] +beforeEach(clearBrowserGuestMetadata) +afterEach(() => { + disposers.splice(0).forEach((dispose) => dispose()) + clearBrowserGuestMetadata() + document.body.replaceChildren() +}) + +function nativeState(patch: Partial = {}): BrowserGuestMetadata { + return { + browserPageId: 'page-a', + webContentsId: 42, + revision: 1, + navigationRevision: 1, + kind: 'snapshot', + url: 'https://example.test/old', + title: 'Saved title', + loading: false, + canGoBack: true, + canGoForward: false, + errorPage: false, + loadError: null, + hasCertificateFailure: false, + ...patch + } +} + +function mount(state: BrowserGuestMetadata, initiallyLoading = false) { + const ref = (current: T) => ({ current }) + const first: BrowserPage = { + id: 'page-a', + workspaceId: 'workspace-a', + worktreeId: 'worktree-a', + url: 'https://example.test/attempted', + title: 'Saved title', + loading: initiallyLoading, + faviconUrl: null, + canGoBack: true, + canGoForward: false, + loadError: state.loadError, + createdAt: 1 + } + const pages = [first] + const workspace: BrowserWorkspace = { + ...first, + id: 'workspace-a', + activePageId: 'page-a', + pageIds: pages.map((page) => page.id) + } + useAppStore.setState({ + browserPagesByWorkspace: { 'workspace-a': pages }, + browserTabsByWorktree: { 'worktree-a': [workspace] }, + unifiedTabsByWorktree: {} + }) + const update = vi.fn(useAppStore.getState().updateBrowserPageState) + const setUrl = vi.fn(useAppStore.getState().setBrowserPageUrl) + const address = vi.fn() + const history = vi.fn() + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: DOM guest with the native identity used by production cache, no synchronous metadata methods. + const webview = Object.assign(document.createElement('webview'), { + getWebContentsId: () => 42 + }) as Electron.WebviewTag + const container = document.createElement('div') + container.append(webview) + document.body.append(container) + const args: AttachBrowserPageWebviewArgs = { + browserTabId: 'page-a', + browserTabUrl: first.url, + workspaceId: 'workspace-a', + worktreeId: 'worktree-a', + sessionProfileId: null, + webviewPartition: '', + isActive: false, + isPaintable: false, + inputLockedRef: ref(false), + webviewRef: ref(webview), + handleInternalFileDragOverRef: ref(() => {}), + handleInternalFileDropRef: ref(() => {}), + dismissAddressBarSuggestionsRef: ref(null), + isPaintableRef: ref(false), + guestRecoveryPendingRef: ref(false), + browserTabUrlRef: ref(first.url), + addressBarValueRef: ref(first.url), + activeLoadFailureRef: ref(state.loadError), + recoveryNavigationValidationRef: ref(null), + keepAddressBarFocusRef: ref(false), + viewportPresetIdRef: ref(null), + onUpdatePageStateRef: ref(update), + setGuestRecoveryGeneration: () => {}, + focusAddressBarNow: () => false, + syncBrowserAnnotationViewportBridge: () => {}, + faviconUrlRef: ref(null), + addressBarInputRef: ref(null), + lastKnownWebviewUrlRef: ref(first.url), + invalidateBrowserAnnotationDocumentRef: ref(() => {}), + onSetUrlRef: ref(setUrl), + setBrowserOverlayViewport: () => {}, + setAddressBarValue: address, + addBrowserHistoryEntryRef: ref(history), + annotationViewportBridgeTokenRef: ref('token'), + initialBrowserUrlRef: ref(first.url), + validateVisibleGuestRegistrationRef: ref(() => {}), + retryGuestRecoveryRef: ref(() => {}), + setFindOpen: () => {} + } + acceptBrowserGuestMetadata(state) + const dispose = bindBrowserPageWebviewListeners({ + container, + webview, + needsInitialNavigation: false, + onContainerDragOver: () => {}, + onContainerDrop: () => {}, + dismissAddressBarSuggestions: () => {}, + args + }) + disposers.push(dispose) + return { + update, + setUrl, + address, + history, + args, + container, + webview, + dispose, + page: () => useAppStore.getState().browserPagesByWorkspace['workspace-a'][0] + } +} + +describe('mounted browser metadata application', () => { + it.each([ + { + kind: 'navigation' as const, + oldUrl: 'https://example.test/held-redirect', + currentUrl: 'https://example.test/b' + }, + { + kind: 'in-page' as const, + oldUrl: 'https://example.test/a', + currentUrl: 'https://example.test/a#hidden' + } + ])( + 'adopts a hidden $kind on attach without replaying the old request', + ({ kind, oldUrl, currentUrl }) => { + const view = mount(nativeState({ url: oldUrl })) + view.dispose() + acceptBrowserGuestMetadata( + nativeState({ revision: 2, kind, url: currentUrl, title: 'Hidden destination' }) + ) + view.webview.setAttribute('src', currentUrl) + const destinations: string[] = [] + Object.defineProperty(view.webview, 'src', { + configurable: true, + get: () => view.webview.getAttribute('src') ?? '', + set: (url: string) => { + destinations.push(url) + view.webview.setAttribute('src', url) + } + }) + adapters.ensureViewport.mockReturnValue({ + container: view.container, + content: view.container + }) + adapters.ensureWebview.mockReturnValue({ + created: false, + container: view.container, + webview: view.webview + }) + const mounted = renderHook(() => { + const url = useAppStore( + (state) => state.browserPagesByWorkspace['workspace-a']?.[0]?.url ?? '' + ) + useEffect(() => { + view.args.browserTabUrlRef.current = url + }, [url]) + useEffect(() => attachBrowserPageWebview(view.args), []) + useBrowserPageWebviewUrlSync({ + browserTabId: 'page-a', + browserTabUrl: url, + workspaceId: 'workspace-a', + isActive: true, + isPaintable: true, + slotViewport: view.container, + webviewRef: view.args.webviewRef, + chromeHeaderRef: { current: null }, + lastKnownWebviewUrlRef: view.args.lastKnownWebviewUrlRef, + keepAddressBarFocusRef: view.args.keepAddressBarFocusRef, + addressBarInputRef: view.args.addressBarInputRef, + focusWebviewNow: () => false + }) + }) + disposers.push(mounted.unmount) + expect(view.page()).toMatchObject({ + url: currentUrl, + title: 'Hidden destination', + loading: false + }) + expect(view.address).toHaveBeenLastCalledWith(currentUrl) + expect(destinations).toEqual([]) + + act(() => useAppStore.getState().setBrowserPageUrl('page-a', 'https://example.test/next')) + expect(destinations).toEqual(['https://example.test/next']) + act(() => useAppStore.setState({ browserPagesByWorkspace: {} })) + expect(destinations).toEqual(['https://example.test/next']) + } + ) + + it('keeps an untitled document identifiable through title, Stop and retained replay', () => { + const view = mount( + nativeState({ url: 'https://kagi.com/search?token=test-only&q=orca', title: 'Results' }) + ) + acceptBrowserGuestMetadata( + nativeState({ + revision: 2, + kind: 'title', + url: 'https://kagi.com/search?token=test-only&q=orca', + title: '', + loading: true + }) + ) + expect(view.page().title).toBe('https://kagi.com/search?q=orca') + expect(view.history).toHaveBeenLastCalledWith( + 'https://kagi.com/search?q=orca', + 'https://kagi.com/search?q=orca', + null + ) + acceptBrowserGuestMetadata( + nativeState({ + revision: 3, + kind: 'stop', + url: 'https://kagi.com/search?token=test-only&q=orca', + title: '' + }) + ) + expect(view.page().title).toBe('https://kagi.com/search?q=orca') + expect(useAppStore.getState().browserTabsByWorktree['worktree-a'][0].title).toBe( + 'https://kagi.com/search?q=orca' + ) + view.dispose() + const dispose = bindBrowserPageWebviewListeners({ + container: view.container, + webview: view.webview, + needsInitialNavigation: false, + onContainerDragOver: () => {}, + onContainerDrop: () => {}, + dismissAddressBarSuggestions: () => {}, + args: view.args + }) + disposers.push(dispose) + expect(view.page().title).toBe('https://kagi.com/search?q=orca') + }) + + it('keeps the saved title before the first document commits', () => { + const view = mount(nativeState({ navigationRevision: 0, url: '', title: '', loading: true })) + expect(view.page().title).toBe('Saved title') + expect(view.page().loading).toBe(true) + acceptBrowserGuestMetadata( + nativeState({ + revision: 2, + navigationRevision: 0, + kind: 'start', + url: '', + title: '', + loading: true + }) + ) + expect(view.page().title).toBe('Saved title') + acceptBrowserGuestMetadata( + nativeState({ + revision: 3, + navigationRevision: 0, + kind: 'stop', + url: '', + title: '', + loading: false + }) + ) + expect(view.page().title).toBe('Saved title') + expect(view.page().url).toBe('https://example.test/attempted') + expect(view.page().loading).toBe(false) + }) + + it('adopts a document that predates observation while native loading and saved loading are true', () => { + const view = mount( + nativeState({ + navigationRevision: 0, + url: 'https://current.test/c', + title: 'Current C', + loading: true + }), + true + ) + expect(view.page()).toMatchObject({ + url: 'https://current.test/c', + title: 'Current C', + loading: true + }) + }) + + it('reattaches a failed destination without replacing its address or clearing its certificate challenge', () => { + const loadError = { + code: -202, + description: 'ERR_CERT_AUTHORITY_INVALID', + validatedUrl: 'https://example.test/attempted' + } + const view = mount(nativeState({ loadError, hasCertificateFailure: true })) + expect(view.setUrl).not.toHaveBeenCalled() + expect(view.address).not.toHaveBeenCalled() + expect(view.page().url).toBe('https://example.test/attempted') + expect(view.page().loadError).toEqual(loadError) + expect(view.page().canGoBack).toBe(true) + }) + + it('keeps parked titles out of saved page state and restores the current title on reattach', () => { + const view = mount(nativeState()) + acceptBrowserGuestMetadata(nativeState({ revision: 2, kind: 'title', title: 'Next title' })) + expect(view.page().title).toBe('Next title') + view.dispose() + acceptBrowserGuestMetadata(nativeState({ revision: 3, kind: 'title', title: 'Parked title' })) + expect(view.page().title).toBe('Next title') + expect(cachedBrowserGuestMetadata(view.webview)?.title).toBe('Parked title') + const reattached = mount(nativeState({ revision: 4, title: 'Parked title' })) + expect(reattached.page().title).toBe('Parked title') + }) +}) diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-page-registration-ownership.test.ts b/src/renderer/src/components/browser-pane/host-guest/browser-page-registration-ownership.test.ts index 7722643eac4..f9ef93bdcff 100644 --- a/src/renderer/src/components/browser-pane/host-guest/browser-page-registration-ownership.test.ts +++ b/src/renderer/src/components/browser-pane/host-guest/browser-page-registration-ownership.test.ts @@ -92,7 +92,6 @@ function createSession( onUpdatePageStateRef: ref(update), setGuestRecoveryGeneration: vi.fn(), focusAddressBarNow: () => false, - syncNavigationState: vi.fn(), syncBrowserAnnotationViewportBridge: sync }) const result = { diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-page-viewport.test.ts b/src/renderer/src/components/browser-pane/host-guest/browser-page-viewport.test.ts index 168b48354a4..f1593a4b24f 100644 --- a/src/renderer/src/components/browser-pane/host-guest/browser-page-viewport.test.ts +++ b/src/renderer/src/components/browser-pane/host-guest/browser-page-viewport.test.ts @@ -1,7 +1,21 @@ // @vitest-environment happy-dom -import { afterEach, describe, expect, it } from 'vitest' +import { afterEach, describe, expect, it, vi } from 'vitest' +import type { BrowserGuestMetadata } from '../../../../../shared/browser/guest-lifecycle/browser-guest-metadata' +import { + acceptBrowserGuestMetadata, + clearBrowserGuestMetadata, + issueBrowserGuestNavigation, + subscribeBrowserGuestMetadata +} from './browser-guest-metadata-cache' +import { + destroyPersistentWebview, + registerPersistentWebview, + replacePersistentWebview, + unregisterPersistentWebview +} from './webview-registry' import { getBrowserOverlaySlotViewport, + ensureBrowserPageViewport, registerBrowserOverlaySlotViewport, removeBrowserPageViewport, setBrowserPageAgentViewportSize, @@ -18,7 +32,9 @@ function mountSlotViewport(workspaceTabId: string): HTMLDivElement { } afterEach(() => { + clearBrowserGuestMetadata() for (const id of ['page-1', 'page-2']) { + unregisterPersistentWebview(id) removeBrowserPageViewport(id) setBrowserPageAgentViewportSize(id, null) setBrowserPageViewportPresetSize(id, null) @@ -29,6 +45,125 @@ afterEach(() => { } }) +describe('local guest metadata disposal', () => { + function prepareGuest() { + let finish!: (value: BrowserGuestMetadata | undefined) => void + Object.defineProperty(window, 'api', { + configurable: true, + value: { + browser: { + unregisterGuest: async () => {}, + getGuestMetadata: () => new Promise((resolve) => (finish = resolve)) + } + } + }) + const root = mountSlotViewport('workspace-1') + const viewport = ensureBrowserPageViewport('page-1', 'workspace-1')! + let readable = true + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: DOM tag with the native identity method used by these owners. + const webview = Object.assign(document.createElement('webview'), { + getWebContentsId: () => { + if (!readable) { + throw new Error('guest detached') + } + return 41 + } + }) as Electron.WebviewTag + const remove = webview.remove.bind(webview) + webview.remove = () => { + readable = false + remove() + } + viewport.content.appendChild(webview) + registerPersistentWebview('page-1', webview) + const observed: (BrowserGuestMetadata | null)[] = [] + const detach = subscribeBrowserGuestMetadata('page-1', webview, (state) => observed.push(state)) + return { + root, + webview, + observed, + detach, + makeUnreadable: () => { + readable = false + }, + finish: () => + finish({ + browserPageId: 'page-1', + webContentsId: 41, + revision: 1, + navigationRevision: 1, + kind: 'snapshot', + url: 'https://old.test/', + title: 'Old', + loading: false, + canGoBack: false, + canGoForward: false, + errorPage: false, + loadError: null, + hasCertificateFailure: false + }) + } + } + + it.each(['destroy', 'replace'] as const)( + 'ends an unpublished guest on %s and ignores its late query', + async (mode) => { + const rig = prepareGuest() + if (mode === 'replace') { + issueBrowserGuestNavigation(rig.webview, () => {}) + } + await Promise.resolve() + if (mode === 'replace') { + rig.detach() + } + await (mode === 'destroy' + ? destroyPersistentWebview('page-1') + : replacePersistentWebview('page-1', { preserveViewport: true })) + rig.finish() + await Promise.resolve() + await Promise.resolve() + expect(rig.observed).toEqual(mode === 'destroy' ? [null] : []) + // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: DOM tag with the only native method used by the cache. + const replacement = Object.assign(document.createElement('webview'), { + getWebContentsId: () => 42 + }) as Electron.WebviewTag + const receive = vi.fn() + const detach = subscribeBrowserGuestMetadata('page-1', replacement, receive) + acceptBrowserGuestMetadata({ + browserPageId: 'page-1', + webContentsId: 42, + revision: 1, + navigationRevision: 1, + kind: 'snapshot', + url: 'https://replacement.test/', + title: 'Replacement', + loading: false, + canGoBack: false, + canGoForward: false, + errorPage: false, + loadError: null, + hasCertificateFailure: false + }) + expect(receive).toHaveBeenLastCalledWith(expect.objectContaining({ title: 'Replacement' })) + detach() + rig.detach() + } + ) + + it('ends guests under a removed slot even when their native identity is already unreadable', async () => { + const rig = prepareGuest() + await Promise.resolve() + rig.root.remove() + rig.makeUnreadable() + registerBrowserOverlaySlotViewport('workspace-1', null) + rig.finish() + await Promise.resolve() + await Promise.resolve() + expect(rig.observed).toEqual([null]) + rig.detach() + }) +}) + describe('subscribeBrowserOverlaySlotViewport', () => { it('does not let a repeated stale unsubscribe drop a newer subscriber set', () => { const stale = subscribeBrowserOverlaySlotViewport('workspace-1', () => {}) diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-page-viewport.ts b/src/renderer/src/components/browser-pane/host-guest/browser-page-viewport.ts index 5b39e15ab0d..daa52a28f93 100644 --- a/src/renderer/src/components/browser-pane/host-guest/browser-page-viewport.ts +++ b/src/renderer/src/components/browser-pane/host-guest/browser-page-viewport.ts @@ -1,4 +1,5 @@ // Keep guests in stable overlay-slot parents across chrome unmounts; Electron destroys them on DOM removal/reparenting. +import { retireBrowserGuestMetadata } from './browser-guest-metadata-cache' const slotViewportRoots = new Map() @@ -34,6 +35,12 @@ const MAX_REMEMBERED_BROWSER_PAGE_INSETS = 512 const slotRootListeners = new Map void>>() +function retireViewportGuests(root: HTMLElement): void { + for (const webview of root.querySelectorAll('webview')) { + retireBrowserGuestMetadata(webview) + } +} + function notifySlotRootListeners(workspaceTabId: string): void { for (const listener of slotRootListeners.get(workspaceTabId) ?? []) { listener() @@ -44,12 +51,19 @@ export function registerBrowserOverlaySlotViewport( workspaceTabId: string, element: HTMLDivElement | null ): void { + const previous = slotViewportRoots.get(workspaceTabId) if (element) { slotViewportRoots.set(workspaceTabId, element) + if (previous && previous !== element) { + retireViewportGuests(previous) + } notifySlotRootListeners(workspaceTabId) return } slotViewportRoots.delete(workspaceTabId) + if (previous) { + retireViewportGuests(previous) + } // Subscribers outlive the root; notify them on removal so they can observe its replacement. notifySlotRootListeners(workspaceTabId) } @@ -93,6 +107,7 @@ export function ensureBrowserPageViewport( return existing } // Why: a remounted slot strands this shell after Electron destroys its detached guest (STA-3228). + retireViewportGuests(existing.shell) existing.shell.remove() browserPageViewports.delete(browserPageId) } @@ -253,6 +268,7 @@ export function subscribeBrowserPageViewportScroll( export function removeBrowserPageViewport(browserPageId: string): void { const viewport = browserPageViewports.get(browserPageId) if (viewport) { + retireViewportGuests(viewport.shell) viewport.shell.remove() browserPageViewports.delete(browserPageId) } diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-page-webview-guest-session.ts b/src/renderer/src/components/browser-pane/host-guest/browser-page-webview-guest-session.ts index 193f26ae20b..d525b9952c5 100644 --- a/src/renderer/src/components/browser-pane/host-guest/browser-page-webview-guest-session.ts +++ b/src/renderer/src/components/browser-pane/host-guest/browser-page-webview-guest-session.ts @@ -49,7 +49,6 @@ export type BrowserPageWebviewGuestSessionArgs = { onUpdatePageStateRef: MutableRefObject<(tabId: string, updates: BrowserTabPageState) => void> setGuestRecoveryGeneration: Dispatch> focusAddressBarNow: () => boolean - syncNavigationState: (webview: Electron.WebviewTag) => void syncBrowserAnnotationViewportBridge: () => void } @@ -78,7 +77,6 @@ export function createBrowserPageWebviewGuestSession({ onUpdatePageStateRef, setGuestRecoveryGeneration, focusAddressBarNow, - syncNavigationState, syncBrowserAnnotationViewportBridge }: BrowserPageWebviewGuestSessionArgs): BrowserPageWebviewGuestSession { let registrationInFlight: { @@ -255,7 +253,6 @@ export function createBrowserPageWebviewGuestSession({ guestRecovery.validateAfterResume() } } - syncNavigationState(webview) if (keepAddressBarFocusRef.current) { focusAddressBarNow() } diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-page-webview-loading-handlers.ts b/src/renderer/src/components/browser-pane/host-guest/browser-page-webview-loading-handlers.ts index 2fc659aad36..30dd69d87c5 100644 --- a/src/renderer/src/components/browser-pane/host-guest/browser-page-webview-loading-handlers.ts +++ b/src/renderer/src/components/browser-pane/host-guest/browser-page-webview-loading-handlers.ts @@ -1,3 +1,4 @@ +import { cachedBrowserGuestMetadata } from './browser-guest-metadata-cache' import type { Dispatch, MutableRefObject, RefObject, SetStateAction } from 'react' import { normalizeBrowserNavigationUrl, @@ -6,7 +7,6 @@ import { import type { BrowserLoadError } from '../../../../../shared/browser-workspace-types' import '../../../../../shared/constants' import { ORCA_BROWSER_BLANK_URL } from '../../../../../shared/browser/browser-blank-page' -import { isBrowserLoadBlockedByExtension } from '../../../../../shared/browser-load-failure' import { translate } from '@/i18n/i18n' import { BROWSER_GUEST_RECOVERY_ERROR_CODE } from './browser-page-guest-recovery' import { releaseBrowserPageMount } from './browser-page-mount-admission' @@ -43,7 +43,7 @@ export type BrowserPageWebviewLoadingHandlersArgs = { } export type BrowserPageWebviewLoadingHandlers = { - handleDidStopLoading: () => void + handleDidStopLoading: () => BrowserTabPageState | null handleFailLoad: (event: BrowserPageFailLoadEvent) => void } @@ -58,18 +58,28 @@ export function createBrowserPageWebviewLoadingHandlers({ lastKnownWebviewUrlRef, keepAddressBarFocusRef, recoveryNavigationValidationRef, - onUpdatePageStateRef, onSetUrlRef, setAddressBarValue, focusAddressBarNow }: BrowserPageWebviewLoadingHandlersArgs): BrowserPageWebviewLoadingHandlers { - const handleDidStopLoading = (): void => { + const handleDidStopLoading = (): BrowserTabPageState | null => { // Admission starts background guests only; after any first load settlement, normal paint-retention rules decide layout. releaseBrowserPageMount(browserTabId) - const currentUrl = webview.getURL() || webview.src || 'about:blank' + const metadata = cachedBrowserGuestMetadata(webview) + if (!metadata) { + return null + } + const currentUrl = metadata.url const browserModelUrl = redactKagiSessionToken(currentUrl) - const activeLoadFailure = activeLoadFailureRef.current - if (isChromiumErrorPage(currentUrl)) { + const activeLoadFailure = metadata.loadError ?? activeLoadFailureRef.current + if (metadata.loadError) { + activeLoadFailureRef.current = metadata.loadError + return { loading: false, loadError: metadata.loadError } + } + if (metadata.hasCertificateFailure) { + return { loading: false } + } + if (metadata.errorPage || isChromiumErrorPage(currentUrl)) { const attemptedUrl = redactKagiSessionToken( browserTabUrlRef.current || addressBarValueRef.current || 'about:blank' ) @@ -85,63 +95,42 @@ export function createBrowserPageWebviewLoadingHandlers({ validatedUrl: attemptedUrl } satisfies BrowserLoadError) activeLoadFailureRef.current = failure - onUpdatePageStateRef.current(browserTabId, { loading: false, loadError: failure }) - return + return { loading: false, loadError: failure } + } + if (!metadata.url) { + return { loading: false } } if (activeLoadFailure?.code === BROWSER_GUEST_RECOVERY_ERROR_CODE) { - onUpdatePageStateRef.current(browserTabId, { + return { loading: false, - title: getBrowserDisplayTitle(webview.getTitle(), browserModelUrl), + title: getBrowserDisplayTitle(metadata.title, browserModelUrl), faviconUrl: faviconUrlRef.current, - canGoBack: webview.canGoBack(), - canGoForward: webview.canGoForward(), loadError: activeLoadFailure - }) - return - } else if (activeLoadFailure) { - const normalizedAttemptedUrl = - normalizeBrowserNavigationUrl(activeLoadFailure.validatedUrl) ?? - activeLoadFailure.validatedUrl - const normalizedCurrentUrl = normalizeBrowserNavigationUrl(browserModelUrl) ?? browserModelUrl - // Why: a load an extension blocked never commits, so the guest still shows the old URL. - if ( - normalizedAttemptedUrl === normalizedCurrentUrl || - isBrowserLoadBlockedByExtension(activeLoadFailure) - ) { - // Why: some failures still emit did-stop-loading on the original URL; keep loadError so the known-failed load isn't cleared to a blank surface. - onUpdatePageStateRef.current(browserTabId, { - loading: false, - title: getBrowserDisplayTitle(webview.getTitle(), browserModelUrl), - faviconUrl: faviconUrlRef.current, - canGoBack: webview.canGoBack(), - canGoForward: webview.canGoForward(), - loadError: activeLoadFailure - }) - return } } activeLoadFailureRef.current = null - lastKnownWebviewUrlRef.current = - normalizeBrowserNavigationUrl(browserModelUrl) ?? browserModelUrl + const normalizedUrl = normalizeBrowserNavigationUrl(browserModelUrl) ?? browserModelUrl + const urlChanged = lastKnownWebviewUrlRef.current !== normalizedUrl + lastKnownWebviewUrlRef.current = normalizedUrl rememberLiveBrowserUrl(browserTabId, browserModelUrl) // Why: don't overwrite in-progress typing (see the browserTab.url sync effect above). if (document.activeElement !== addressBarInputRef.current) { setAddressBarValue(toDisplayUrl(browserModelUrl)) } - onSetUrlRef.current(browserTabId, browserModelUrl) + if (urlChanged) { + onSetUrlRef.current(browserTabId, browserModelUrl) + } if (keepAddressBarFocusRef.current && currentUrl === ORCA_BROWSER_BLANK_URL) { focusAddressBarNow() } else { keepAddressBarFocusRef.current = false } - onUpdatePageStateRef.current(browserTabId, { + return { loading: false, - title: getBrowserDisplayTitle(webview.getTitle(), browserModelUrl), + title: getBrowserDisplayTitle(metadata.title, browserModelUrl), faviconUrl: faviconUrlRef.current, - canGoBack: webview.canGoBack(), - canGoForward: webview.canGoForward(), loadError: null - }) + } } const handleFailLoad = (event: BrowserPageFailLoadEvent): void => { @@ -154,10 +143,6 @@ export function createBrowserPageWebviewLoadingHandlers({ recoveryNavigationValidationRef.current = null } activeLoadFailureRef.current = loadError - onUpdatePageStateRef.current(browserTabId, { - loading: false, - loadError - }) } return { diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-page-webview-navigation-handlers.ts b/src/renderer/src/components/browser-pane/host-guest/browser-page-webview-navigation-handlers.ts index 57893cc0f36..c181d4c3e8f 100644 --- a/src/renderer/src/components/browser-pane/host-guest/browser-page-webview-navigation-handlers.ts +++ b/src/renderer/src/components/browser-pane/host-guest/browser-page-webview-navigation-handlers.ts @@ -1,3 +1,4 @@ +import { cachedBrowserGuestMetadata } from './browser-guest-metadata-cache' import type { Dispatch, MutableRefObject, RefObject, SetStateAction } from 'react' import { normalizeBrowserNavigationUrl, @@ -91,13 +92,8 @@ export function createBrowserPageWebviewNavigationHandlers({ } const browserStartedUrl = redactKagiSessionToken(event.url) const startedUrl = normalizeBrowserNavigationUrl(browserStartedUrl) ?? browserStartedUrl - // Read the departing URL from the guest; Orca sets lastKnownWebviewUrlRef to the destination before assigning src. - let committedUrl: string | null = null - try { - committedUrl = webview.getURL() || null - } catch { - // Why: a guest that hasn't attached yet rejects getURL(); an unknown origin keeps the icon. - } + // The cached committed URL still describes the departing document after src receives a destination. + const committedUrl = cachedBrowserGuestMetadata(webview)?.url ?? null if (browserNavigationLeavesFaviconOrigin(committedUrl, startedUrl)) { faviconUrlRef.current = null onUpdatePageStateRef.current(browserTabId, { faviconUrl: null }) @@ -111,7 +107,6 @@ export function createBrowserPageWebviewNavigationHandlers({ // Same-URL reloads replace the document too; in-place updates are judged once they commit. invalidateBrowserAnnotationDocumentRef.current() setBrowserOverlayViewport({ scrollX: 0, scrollY: 0, version: 0 }) - onUpdatePageStateRef.current(browserTabId, { loading: true }) const pendingRecoveryNavigation = recoveryNavigationValidationRef.current const browserStartedUrl = redactKagiSessionToken(event.url) const startedUrl = normalizeBrowserNavigationUrl(browserStartedUrl) ?? browserStartedUrl @@ -134,7 +129,7 @@ export function createBrowserPageWebviewNavigationHandlers({ if (event.isMainFrame === false) { return } - const currentUrl = event.url ?? webview.getURL() ?? webview.src ?? 'about:blank' + const currentUrl = event.url ?? cachedBrowserGuestMetadata(webview)?.url ?? 'about:blank' if (isChromiumErrorPage(currentUrl)) { return } @@ -145,29 +140,19 @@ export function createBrowserPageWebviewNavigationHandlers({ if (lastKnownWebviewUrlRef.current?.split('#')[0] !== normalizedBrowserModelUrl.split('#')[0]) { invalidateBrowserAnnotationDocumentRef.current() } + const urlChanged = lastKnownWebviewUrlRef.current !== normalizedBrowserModelUrl lastKnownWebviewUrlRef.current = normalizedBrowserModelUrl rememberLiveBrowserUrl(browserTabId, browserModelUrl) // Why: don't overwrite in-progress typing (see above). if (document.activeElement !== addressBarInputRef.current) { setAddressBarValue(toDisplayUrl(browserModelUrl)) } - if (persistUrl) { + if (persistUrl && urlChanged) { onSetUrlRef.current(browserTabId, browserModelUrl, { preserveLoadError }) } - onUpdatePageStateRef.current(browserTabId, { - title: webview.getTitle() || browserModelUrl, - canGoBack: webview.canGoBack(), - canGoForward: webview.canGoForward() - }) } - const currentGuestUrl = (): string | null => { - try { - return webview.getURL() || null - } catch { - return null - } - } + const currentGuestUrl = (): string | null => cachedBrowserGuestMetadata(webview)?.url ?? null const showExtensionPageFavicon = (): void => { applyBrowserExtensionPageFavicon( browserTabId, @@ -189,6 +174,9 @@ export function createBrowserPageWebviewNavigationHandlers({ } const preserveRecoveryError = activeLoadFailureRef.current?.code === BROWSER_GUEST_RECOVERY_ERROR_CODE + if (!preserveRecoveryError) { + activeLoadFailureRef.current = null + } handleDidNavigate(event, true, preserveRecoveryError) } @@ -199,15 +187,10 @@ export function createBrowserPageWebviewNavigationHandlers({ } const handleTitleUpdate = (event: { title?: string }): void => { - try { - const currentUrl = webview.getURL() || browserTabUrl - const browserModelUrl = redactKagiSessionToken(currentUrl) - const title = getBrowserDisplayTitle(event.title, browserModelUrl) - onUpdatePageStateRef.current(browserTabId, { title }) - addBrowserHistoryEntryRef.current(browserModelUrl, title, faviconUrlRef.current) - } catch { - // Why: title-updated can fire before dom-ready, making getURL() throw. - } + const currentUrl = cachedBrowserGuestMetadata(webview)?.url || browserTabUrl + const browserModelUrl = redactKagiSessionToken(currentUrl) + const title = getBrowserDisplayTitle(event.title, browserModelUrl) + addBrowserHistoryEntryRef.current(browserModelUrl, title, faviconUrlRef.current) } const handleFaviconUpdate = (event: { favicons?: string[] }): void => { diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-page-window-close.test.ts b/src/renderer/src/components/browser-pane/host-guest/browser-page-window-close.test.ts deleted file mode 100644 index 257250b024a..00000000000 --- a/src/renderer/src/components/browser-pane/host-guest/browser-page-window-close.test.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { beforeEach, describe, expect, it, vi } from 'vitest' - -const { dispatchMock, closeBrowserPageMock, storeState } = vi.hoisted(() => { - const value: Record = {} - return { dispatchMock: vi.fn(), closeBrowserPageMock: vi.fn(), storeState: { value } } -}) - -vi.mock('@/store', () => ({ useAppStore: { getState: () => storeState.value } })) -vi.mock('@/lib/workspace/tabs/workspace-tab-commands', () => ({ - dispatchWorkspaceTabCommand: dispatchMock -})) -import { handleGuestWindowCloseMessage } from './browser-page-window-close' -import { BROWSER_GUEST_WINDOW_CLOSE_CHANNEL } from '../../../../../shared/browser-guest-window-close' - -function seedTab(pageId: string, isPinned = false, siblingPageIds: string[] = []): void { - storeState.value = { - closeBrowserPage: closeBrowserPageMock, - browserTabsByWorktree: { 'wt-1': [{ id: 'ws-1' }] }, - browserPagesByWorkspace: { 'ws-1': [{ id: pageId }, ...siblingPageIds.map((id) => ({ id }))] }, - unifiedTabsByWorktree: { - 'wt-1': [{ id: 'tab-1', contentType: 'browser', entityId: 'ws-1', isPinned }] - } - } -} - -function closeFrom(pageId: string, history: { back: boolean; forward: boolean }): void { - const webview = { canGoBack: () => history.back, canGoForward: () => history.forward } - handleGuestWindowCloseMessage(pageId, webview, { channel: BROWSER_GUEST_WINDOW_CLOSE_CHANNEL }) -} - -describe('window.close() from a browser page', () => { - beforeEach(() => { - dispatchMock.mockReset() - closeBrowserPageMock.mockReset() - }) - - it('never closes a pinned tab', () => { - seedTab('page-d', true) - closeFrom('page-d', { back: false, forward: false }) - expect(dispatchMock).not.toHaveBeenCalled() - }) - - it('closes only the calling page when its Orca tab holds other pages', () => { - seedTab('page-e', false, ['page-sibling']) - closeFrom('page-e', { back: false, forward: false }) - expect(closeBrowserPageMock).toHaveBeenCalledWith('page-e') - expect(dispatchMock).not.toHaveBeenCalled() - }) -}) diff --git a/src/renderer/src/components/browser-pane/host-guest/browser-page-window-close.ts b/src/renderer/src/components/browser-pane/host-guest/browser-page-window-close.ts index 452f602c2b1..5b37f60164e 100644 --- a/src/renderer/src/components/browser-pane/host-guest/browser-page-window-close.ts +++ b/src/renderer/src/components/browser-pane/host-guest/browser-page-window-close.ts @@ -32,7 +32,8 @@ export function handleGuestWindowCloseMessage( const tab = (state.unifiedTabsByWorktree[owner.worktreeId] ?? []).find( (candidate) => candidate.contentType === 'browser' && candidate.entityId === owner.workspaceId ) - if (tab?.isPinned) { + // A script may not discard what the user pinned or left unsent; the page's notes are all it closes. + if (tab?.isPinned || (state.browserAnnotationsByPageId[pageId]?.length ?? 0) > 0) { return } pagesOpenedByPage.delete(pageId) diff --git a/src/renderer/src/components/browser-pane/host-guest/use-browser-page-viewport-size-feedback.ts b/src/renderer/src/components/browser-pane/host-guest/use-browser-page-viewport-size-feedback.ts index 994739f8939..d9979607e64 100644 --- a/src/renderer/src/components/browser-pane/host-guest/use-browser-page-viewport-size-feedback.ts +++ b/src/renderer/src/components/browser-pane/host-guest/use-browser-page-viewport-size-feedback.ts @@ -1,5 +1,5 @@ import { useEffect } from 'react' -import { getUIZoomFactor } from '@/lib/ui-zoom' +import { getUIZoomFactor } from '@/app-shell/chrome/ui-zoom' import { browserPageZoomLevelToFactor } from '../../../../../shared/browser-page-zoom' export type BrowserPageViewportSize = { width: number; height: number } @@ -72,8 +72,11 @@ export function useBrowserPageViewportSizeFeedback( previousHostDip = hostDip // Why skip the flash but keep the baseline: a size computed at a guessed zoom is worse than // no size, yet the first resize after dom-ready must still be announced. + if (!previous || (previous.width === hostDip.width && previous.height === hostDip.height)) { + return + } const guestZoomLevel = readGuestZoomLevel(webviewRef.current) - if (!previous || guestZoomLevel === null) { + if (guestZoomLevel === null) { return } // Why: the renderer's devicePixelRatio includes UI zoom; the guest's scale is the screen's. diff --git a/src/renderer/src/components/browser-pane/host-guest/use-browser-page-webview-lifecycle.ts b/src/renderer/src/components/browser-pane/host-guest/use-browser-page-webview-lifecycle.ts index a28c0f50db3..dea14f76aa6 100644 --- a/src/renderer/src/components/browser-pane/host-guest/use-browser-page-webview-lifecycle.ts +++ b/src/renderer/src/components/browser-pane/host-guest/use-browser-page-webview-lifecycle.ts @@ -17,7 +17,6 @@ import type { BrowserLoadError, BrowserViewportPresetId } from '../../../../../shared/browser-workspace-types' -import { getBrowserDisplayTitle } from '../describe-page/browser-page-url-display' import { EMPTY_BROWSER_ANNOTATIONS, type BrowserOverlayViewport @@ -34,7 +33,6 @@ import type { export function useBrowserPageWebviewLifecycle({ browserTabId, browserTabUrl, - browserTabLoading, browserTabLoadError, workspaceId, worktreeId, @@ -114,7 +112,6 @@ export function useBrowserPageWebviewLifecycle({ const guestRecoveryPendingRef = useRef(false) const validateVisibleGuestRegistrationRef = useRef<() => void>(() => {}) const wasPaintableForGuestValidationRef = useRef(isPaintable) - const browserTabLoadingRef = useRef(browserTabLoading) const inputLockedRef = useRef(inputLocked) const faviconUrlRef = useRef(faviconUrl) const initialBrowserUrlRef = useRef(browserTabUrl) @@ -137,7 +134,6 @@ export function useBrowserPageWebviewLifecycle({ const invalidatePendingCaptureRef = useRef(cancelPendingBrowserCapture) useLayoutEffect(() => { - browserTabLoadingRef.current = browserTabLoading inputLockedRef.current = inputLocked viewportPresetIdRef.current = viewportPresetId isActiveRef.current = isActive @@ -145,7 +141,6 @@ export function useBrowserPageWebviewLifecycle({ invalidatePendingCaptureRef.current = cancelPendingBrowserCapture isPaintableRef.current = isPaintable }, [ - browserTabLoading, cancelPendingBrowserCapture, inputLocked, isActive, @@ -179,27 +174,6 @@ export function useBrowserPageWebviewLifecycle({ addBrowserHistoryEntryRef.current = addBrowserHistoryEntry }, [onSetUrl, onUpdatePageState, addBrowserHistoryEntry, onSetUrlRef, onUpdatePageStateRef]) - const syncNavigationState = useCallback( - (webview: Electron.WebviewTag): void => { - try { - // Reconcile parked guests only for known navigations; attach-time loading transients must not flash the indicator. - const loading = browserTabLoadingRef.current ? webview.isLoading() : undefined - onUpdatePageStateRef.current(browserTabId, { - title: getBrowserDisplayTitle( - webview.getTitle(), - webview.getURL() || browserTabUrlRef.current - ), - ...(loading === undefined ? {} : { loading }), - canGoBack: webview.canGoBack(), - canGoForward: webview.canGoForward() - }) - } catch { - // Guest getters can reject until attachment finishes. - } - }, - [browserTabId, browserTabUrlRef, onUpdatePageStateRef] - ) - const syncBrowserAnnotationViewportBridge = useCallback((): void => { const state = useAppStore.getState() syncGuestAnnotationViewportBridge({ @@ -252,7 +226,6 @@ export function useBrowserPageWebviewLifecycle({ onUpdatePageStateRef, setGuestRecoveryGeneration, focusAddressBarNow, - syncNavigationState, syncBrowserAnnotationViewportBridge, faviconUrlRef, addressBarInputRef, @@ -280,7 +253,6 @@ export function useBrowserPageWebviewLifecycle({ createBrowserTab, focusAddressBarNow, focusWebviewNow, - syncNavigationState, syncBrowserAnnotationViewportBridge ]) diff --git a/src/renderer/src/components/browser-pane/host-guest/use-browser-page-webview-shortcuts.ts b/src/renderer/src/components/browser-pane/host-guest/use-browser-page-webview-shortcuts.ts index 1ef17342481..894b4a7af8d 100644 --- a/src/renderer/src/components/browser-pane/host-guest/use-browser-page-webview-shortcuts.ts +++ b/src/renderer/src/components/browser-pane/host-guest/use-browser-page-webview-shortcuts.ts @@ -1,3 +1,4 @@ +import { issueBrowserGuestNavigation } from './browser-guest-metadata-cache' import { useEffect, type MutableRefObject } from 'react' import { getShortcutPlatform } from '@/hooks/useShortcutLabel' import { useAppStore } from '@/store' @@ -56,9 +57,9 @@ export function useBrowserPageWebviewShortcuts({ // Why: stop other window capture listeners (workspace, embedded editors) from also acting. e.stopImmediatePropagation() if (direction === 'back') { - webviewRef.current?.goBack() + issueBrowserGuestNavigation(webviewRef.current, (webview) => webview.goBack()) } else { - webviewRef.current?.goForward() + issueBrowserGuestNavigation(webviewRef.current, (webview) => webview.goForward()) } } addAppKeyListener('keydown', handleKeyDown) @@ -74,9 +75,9 @@ export function useBrowserPageWebviewShortcuts({ return } if (direction === 'back') { - webviewRef.current?.goBack() + issueBrowserGuestNavigation(webviewRef.current, (webview) => webview.goBack()) } else { - webviewRef.current?.goForward() + issueBrowserGuestNavigation(webviewRef.current, (webview) => webview.goForward()) } }) }, [browserTabId, isActive, webviewRef]) diff --git a/src/renderer/src/components/browser-pane/host-guest/webview-registry.ts b/src/renderer/src/components/browser-pane/host-guest/webview-registry.ts index 5f4686ab0ab..7f5d881ed7f 100644 --- a/src/renderer/src/components/browser-pane/host-guest/webview-registry.ts +++ b/src/renderer/src/components/browser-pane/host-guest/webview-registry.ts @@ -1,4 +1,5 @@ import { clearLiveBrowserUrl } from '../describe-page/live-browser-url-registry' +import { retireBrowserGuestMetadata } from './browser-guest-metadata-cache' import { clearBrowserPageViewportPresetSize, removeBrowserPageViewport @@ -259,6 +260,7 @@ function removePersistentWebview( const unregisterGuest = Promise.resolve( window.api.browser.unregisterGuest({ browserPageId: browserTabId }) ).catch(() => {}) + retireBrowserGuestMetadata(webview) moveFocusToRendererBeforeWebviewDetach(webview) webview.remove() unregisterPersistentWebview(browserTabId) diff --git a/src/renderer/src/components/browser-pane/navigate/browser-file-editor-open.test.ts b/src/renderer/src/components/browser-pane/navigate/browser-file-editor-open.test.ts deleted file mode 100644 index 968097cc67d..00000000000 --- a/src/renderer/src/components/browser-pane/navigate/browser-file-editor-open.test.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { afterEach, expect, it, vi } from 'vitest' -import type * as ConnectionOwnerModule from '@/lib/workspace/ownership/connection-owner-resolution' - -// A workspace this computer owns. -vi.mock('@/lib/workspace/ownership/connection-owner-resolution', async (importOriginal) => ({ - ...(await importOriginal()), - getConnectionIdFromState: () => null, - getConnectionIdForFileFromState: () => null -})) -vi.mock('@/lib/user-opened-local-path', () => ({ - statUserOpenedPath: vi.fn().mockResolvedValue({ isDirectory: false, escapesWorktree: false }) -})) - -import { useAppStore } from '@/store' -import { editorTabFileAccess } from '@/lib/local-file-access' -import { statUserOpenedPath } from '@/lib/user-opened-local-path' -import { makeWorktree } from '@/store/slices/worktrees/worktree.test-fixture' - -import { openBrowserFileSource } from './browser-file-editor-open' - -const initialState = useAppStore.getInitialState() - -afterEach(() => { - useAppStore.setState(initialState, true) - vi.clearAllMocks() -}) - -it('keeps user-file access when a previewed symlink escapes the workspace', async () => { - const filePath = '/repo/docs-link/report.html' - const openFile = vi.fn() - useAppStore.setState({ - openFile, - worktreesByRepo: { - repo: [makeWorktree({ id: 'wt-1', repoId: 'repo', path: '/repo', hostId: 'local' })] - } - }) - vi.mocked(statUserOpenedPath).mockResolvedValueOnce({ - isDirectory: false, - escapesWorktree: true - }) - - await openBrowserFileSource('wt-1', filePath) - - const opened = openFile.mock.calls[0][0] - expect(opened).toMatchObject({ filePath, relativePath: filePath, mode: 'edit' }) - expect(editorTabFileAccess(useAppStore.getState(), opened)).toEqual({ kind: 'user-file' }) -}) diff --git a/src/renderer/src/components/browser-pane/navigate/browser-file-editor-open.ts b/src/renderer/src/components/browser-pane/navigate/browser-file-editor-open.ts index ab370e94327..7029e7d1970 100644 --- a/src/renderer/src/components/browser-pane/navigate/browser-file-editor-open.ts +++ b/src/renderer/src/components/browser-pane/navigate/browser-file-editor-open.ts @@ -1,7 +1,7 @@ import { getConnectionIdFromState } from '@/lib/workspace/ownership/connection-owner-resolution' -import { getRuntimeTargetForWorktreeOwner } from '@/lib/file-owner-runtime-target' +import { getRuntimeTargetForWorktreeOwner } from '@/lib/files/access/file-owner-runtime-target' import { getRelativePathInsideRoot } from '@/lib/path' -import { statUserOpenedPath } from '@/lib/user-opened-local-path' +import { statUserOpenedPath } from '@/lib/files/access/user-opened-local-path' import { toast } from 'sonner' import type { AppState } from '@/store/types' import { useAppStore } from '@/store' diff --git a/src/renderer/src/components/browser-pane/navigate/browser-load-failure-auto-retry.tsx b/src/renderer/src/components/browser-pane/navigate/browser-load-failure-auto-retry.tsx index fe2ca83ab47..d29aceaa5fb 100644 --- a/src/renderer/src/components/browser-pane/navigate/browser-load-failure-auto-retry.tsx +++ b/src/renderer/src/components/browser-pane/navigate/browser-load-failure-auto-retry.tsx @@ -3,7 +3,7 @@ import type { BrowserLoadFailureDescription, BrowserLoadFailureRecovery } from '../../../../../shared/browser-load-failure' -import { isWindowVisible } from '@/lib/window-visibility-interval' +import { isWindowVisible } from '@/lib/window-activity/window-visibility-interval' import { translateLoadFailurePiece } from './browser-notices' export type BrowserLoadFailureAutoRetry = { diff --git a/src/renderer/src/components/browser-pane/navigate/browser-reload-action.ts b/src/renderer/src/components/browser-pane/navigate/browser-reload-action.ts index baf3d557cc6..db45b920a55 100644 --- a/src/renderer/src/components/browser-pane/navigate/browser-reload-action.ts +++ b/src/renderer/src/components/browser-pane/navigate/browser-reload-action.ts @@ -1,3 +1,4 @@ +import { issueBrowserGuestNavigation } from '../host-guest/browser-guest-metadata-cache' import { BROWSER_GUEST_RECOVERY_ERROR_CODE } from '../host-guest/browser-page-guest-recovery' export type BrowserReloadTrigger = 'button' | 'reload' | 'hard-reload' @@ -44,9 +45,9 @@ export function reloadBrowserPageWebview( } try { if (ignoreCache) { - webview.reloadIgnoringCache() + issueBrowserGuestNavigation(webview, () => webview.reloadIgnoringCache()) } else { - webview.reload() + issueBrowserGuestNavigation(webview, () => webview.reload()) } } catch { try { diff --git a/src/renderer/src/components/browser-pane/navigate/chromium-error-page-poll-visibility.test.ts b/src/renderer/src/components/browser-pane/navigate/chromium-error-page-poll-visibility.test.ts deleted file mode 100644 index eb6f511405e..00000000000 --- a/src/renderer/src/components/browser-pane/navigate/chromium-error-page-poll-visibility.test.ts +++ /dev/null @@ -1,87 +0,0 @@ -// @vitest-environment happy-dom - -import { act, cleanup, renderHook } from '@testing-library/react' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { BrowserTabPageState } from '../describe-page/browser-page-types' -import { useBrowserPageWebviewUrlSync } from './use-browser-page-webview-url-sync' - -const CHROMIUM_ERROR_URL = 'chrome-error://chromewebdata/' - -function setDocumentVisibility(state: 'visible' | 'hidden'): void { - Object.defineProperty(document, 'visibilityState', { configurable: true, get: () => state }) - act(() => { - document.dispatchEvent(new Event('visibilitychange')) - }) -} - -function renderUrlSync(guestUrl: () => string): { - updates: [string, BrowserTabPageState][] - unmount: () => void -} { - const updates: [string, BrowserTabPageState][] = [] - const webview = { getURL: () => guestUrl(), src: '' } as unknown as Electron.WebviewTag - const view = renderHook(() => - useBrowserPageWebviewUrlSync({ - browserTabId: 'tab-1', - browserTabUrl: 'https://example.test/slow', - browserTabLoading: true, - isActive: true, - isPaintable: true, - slotViewport: null, - webviewRef: { current: webview }, - chromeHeaderRef: { current: null }, - lastKnownWebviewUrlRef: { current: 'https://example.test/slow' }, - keepAddressBarFocusRef: { current: false }, - addressBarInputRef: { current: null }, - browserTabUrlRef: { current: 'https://example.test/slow' }, - addressBarValueRef: { current: 'https://example.test/slow' }, - onUpdatePageStateRef: { - current: (tabId, patch) => { - updates.push([tabId, patch]) - } - }, - focusWebviewNow: () => false - }) - ) - return { updates, unmount: view.unmount } -} - -beforeEach(() => { - vi.useFakeTimers() - setDocumentVisibility('visible') -}) - -afterEach(() => { - cleanup() - setDocumentVisibility('visible') - vi.useRealTimers() -}) - -describe('chromium error page poll visibility gate', () => { - it('stops the 250ms poll while hidden and re-detects the error page on return', () => { - let guestUrl = 'https://example.test/slow' - const { updates, unmount } = renderUrlSync(() => guestUrl) - - // Visible and still loading: the fallback poll is armed. - expect(vi.getTimerCount()).toBe(1) - act(() => vi.advanceTimersByTime(1_000)) - expect(updates).toHaveLength(0) - - setDocumentVisibility('hidden') - expect(vi.getTimerCount()).toBe(0) - - // The guest lands on a chrome-error page while nobody can see the surface. - guestUrl = CHROMIUM_ERROR_URL - act(() => vi.advanceTimersByTime(10_000)) - expect(updates).toHaveLength(0) - - // Returning re-reads the durable guest URL, so the loadError is not lost. - setDocumentVisibility('visible') - expect(updates).toHaveLength(1) - expect(updates[0]?.[1].loadError?.validatedUrl).toBe('https://example.test/slow') - expect(updates[0]?.[1].loading).toBe(false) - - unmount() - expect(vi.getTimerCount()).toBe(0) - }) -}) diff --git a/src/renderer/src/components/browser-pane/navigate/chromium-error-page-polling.ts b/src/renderer/src/components/browser-pane/navigate/chromium-error-page-polling.ts deleted file mode 100644 index c9e2f883eea..00000000000 --- a/src/renderer/src/components/browser-pane/navigate/chromium-error-page-polling.ts +++ /dev/null @@ -1,6 +0,0 @@ -export function shouldPollChromiumErrorPage(args: { - isActive: boolean - loading: boolean -}): boolean { - return args.isActive && args.loading -} diff --git a/src/renderer/src/components/browser-pane/navigate/navigate-browser-page-url.ts b/src/renderer/src/components/browser-pane/navigate/navigate-browser-page-url.ts index 17b2bcd10fa..0e16a7252e7 100644 --- a/src/renderer/src/components/browser-pane/navigate/navigate-browser-page-url.ts +++ b/src/renderer/src/components/browser-pane/navigate/navigate-browser-page-url.ts @@ -1,3 +1,4 @@ +import { issueBrowserGuestNavigation } from '../host-guest/browser-guest-metadata-cache' import { detectLanguage } from '../../../../../shared/editor-language/editor-language-detect' import { getConnectionId } from '@/lib/workspace/ownership/connection-context' import { @@ -25,8 +26,8 @@ import type { BrowserTabPageState } from '../describe-page/browser-page-types' import type { MutableRefObject } from 'react' -import { statUserOpenedPath } from '@/lib/user-opened-local-path' -import { requireRuntimeTargetForFileOwner } from '@/lib/file-owner-runtime-target' +import { statUserOpenedPath } from '@/lib/files/access/user-opened-local-path' +import { requireRuntimeTargetForFileOwner } from '@/lib/files/access/file-owner-runtime-target' export type NavigateBrowserPageToUrlArgs = { url: string @@ -82,7 +83,9 @@ export function navigateBrowserPageToUrl({ recoveryNavigationValidationRef.current = recoveryLoadError ? { committed: false, started: false, targetUrl: normalizedBrowserModelUrl } : null - webview.src = targetUrl + issueBrowserGuestNavigation(webview, () => { + webview.src = targetUrl + }) if (targetUrl !== ORCA_BROWSER_BLANK_URL) { focusWebviewNow() } diff --git a/src/renderer/src/components/browser-pane/navigate/use-browser-page-navigation-downloads.ts b/src/renderer/src/components/browser-pane/navigate/use-browser-page-navigation-downloads.ts index a78ed28ac50..758d43c6f6f 100644 --- a/src/renderer/src/components/browser-pane/navigate/use-browser-page-navigation-downloads.ts +++ b/src/renderer/src/components/browser-pane/navigate/use-browser-page-navigation-downloads.ts @@ -14,14 +14,14 @@ import { translate } from '@/i18n/i18n' import { getWorkspaceFileBrowserOpenTarget, REMOTE_FILE_BROWSER_UNSUPPORTED_MESSAGE -} from '@/lib/workspace-file-browser-open-target' +} from '@/lib/browser/documents/workspace-file-browser-open-target' import { routeWorkspaceDocAddressSubmission } from './workspace-doc-address-submission' import { getWorkspaceFileDragRejectionMessage, readWorkspaceFileDragPaths, readWorkspaceFileDragSource, WORKSPACE_FILE_PATH_MIME -} from '@/lib/workspace-file-drag' +} from '@/lib/files/drop/workspace-file-drag' import type { BrowserLoadError } from '../../../../../shared/browser-workspace-types' import { resolveBrowserAddressBarSubmission } from './browser-address-bar-navigation' import { navigateBrowserPageToUrl } from './navigate-browser-page-url' diff --git a/src/renderer/src/components/browser-pane/navigate/use-browser-page-webview-url-sync.ts b/src/renderer/src/components/browser-pane/navigate/use-browser-page-webview-url-sync.ts index e75edf5a5fa..71f3e2ea8bd 100644 --- a/src/renderer/src/components/browser-pane/navigate/use-browser-page-webview-url-sync.ts +++ b/src/renderer/src/components/browser-pane/navigate/use-browser-page-webview-url-sync.ts @@ -1,9 +1,10 @@ -import { useEffect, useLayoutEffect, type MutableRefObject, type RefObject } from 'react' -import { translate } from '@/i18n/i18n' import { - normalizeBrowserNavigationUrl, - redactKagiSessionToken -} from '../../../../../shared/browser-url' + issueBrowserGuestNavigation, + cachedBrowserGuestMetadata +} from '../host-guest/browser-guest-metadata-cache' +import { useEffect, useLayoutEffect, type MutableRefObject, type RefObject } from 'react' +import { useAppStore } from '@/store' +import { normalizeBrowserNavigationUrl } from '../../../../../shared/browser-url' import '../../../../../shared/constants' import { ORCA_BROWSER_BLANK_URL } from '../../../../../shared/browser/browser-blank-page' import { normalizeBrowserGuestSrc } from '../../../../../shared/browser/extensions/browser-extension-url' @@ -11,15 +12,11 @@ import { applyBrowserPageViewportLayout, syncBrowserPageChromeInset } from '../host-guest/browser-page-viewport' -import { installWindowVisibilityInterval } from '@/lib/window-visibility-interval' -import { shouldPollChromiumErrorPage } from './chromium-error-page-polling' -import { isChromiumErrorPage } from '../describe-page/browser-page-url-display' -import type { BrowserTabPageState } from '../describe-page/browser-page-types' export function useBrowserPageWebviewUrlSync({ browserTabId, browserTabUrl, - browserTabLoading, + workspaceId, isActive, isPaintable, slotViewport, @@ -28,14 +25,11 @@ export function useBrowserPageWebviewUrlSync({ lastKnownWebviewUrlRef, keepAddressBarFocusRef, addressBarInputRef, - browserTabUrlRef, - addressBarValueRef, - onUpdatePageStateRef, focusWebviewNow }: { browserTabId: string browserTabUrl: string - browserTabLoading: boolean + workspaceId: string isActive: boolean isPaintable: boolean slotViewport: HTMLDivElement | null @@ -44,9 +38,6 @@ export function useBrowserPageWebviewUrlSync({ lastKnownWebviewUrlRef: MutableRefObject keepAddressBarFocusRef: MutableRefObject addressBarInputRef: RefObject - browserTabUrlRef: MutableRefObject - addressBarValueRef: MutableRefObject - onUpdatePageStateRef: MutableRefObject<(tabId: string, updates: BrowserTabPageState) => void> focusWebviewNow: () => boolean }): void { useLayoutEffect(() => { @@ -76,7 +67,14 @@ export function useBrowserPageWebviewUrlSync({ if (!webview) { return } - const normalizedUrl = normalizeBrowserGuestSrc(browserTabUrl) + const page = useAppStore + .getState() + .browserPagesByWorkspace[workspaceId]?.find((page) => page.id === browserTabId) + if (!page) { + return + } + // Attach can adopt a retained document before this render's URL effect runs. + const normalizedUrl = normalizeBrowserGuestSrc(page.url) if (!normalizedUrl) { return } @@ -84,13 +82,7 @@ export function useBrowserPageWebviewUrlSync({ if (lastKnownWebviewUrlRef.current === normalizedUrl) { return } - let liveUrl: string | null = null - try { - liveUrl = webview.getURL() || null - } catch { - // Why: a newly attached guest can reject getURL(); skip so a transient error isn't misread as a mismatch and force-navigated. - return - } + const liveUrl = cachedBrowserGuestMetadata(webview)?.url ?? null const normalizedLiveUrl = liveUrl ? (normalizeBrowserNavigationUrl(liveUrl) ?? liveUrl) : null const declaredSrc = webview.getAttribute('src') if ( @@ -99,7 +91,9 @@ export function useBrowserPageWebviewUrlSync({ declaredSrc !== normalizedUrl ) { lastKnownWebviewUrlRef.current = normalizedUrl - webview.src = normalizedUrl + issueBrowserGuestNavigation(webview, () => { + webview.src = normalizedUrl + }) if (normalizedUrl !== ORCA_BROWSER_BLANK_URL) { keepAddressBarFocusRef.current = false if (document.activeElement === addressBarInputRef.current) { @@ -109,58 +103,12 @@ export function useBrowserPageWebviewUrlSync({ } }, [ addressBarInputRef, + browserTabId, browserTabUrl, focusWebviewNow, keepAddressBarFocusRef, lastKnownWebviewUrlRef, - webviewRef - ]) - - useEffect(() => { - if (!shouldPollChromiumErrorPage({ isActive, loading: browserTabLoading })) { - return - } - - const detectChromiumErrorPage = (): void => { - const webview = webviewRef.current - if (!webview) { - return - } - try { - const currentUrl = webview.getURL() || webview.src || '' - if (!isChromiumErrorPage(currentUrl)) { - return - } - - const attemptedUrl = browserTabUrlRef.current || addressBarValueRef.current || 'about:blank' - onUpdatePageStateRef.current(browserTabId, { - loading: false, - loadError: { - code: -1, - description: translate( - 'auto.components.browser.pane.BrowserPane.e48569ac6d', - 'This site could not be reached.' - ), - validatedUrl: redactKagiSessionToken(attemptedUrl) - } - }) - } catch { - // Why: ignore transient getURL() errors from a mid-attach guest; this poll is only a fallback. - } - } - - // Some Electron builds omit did-fail-load; poll loading visible pages only, then re-read durable guest state on visibility return. - return installWindowVisibilityInterval({ - run: detectChromiumErrorPage, - intervalMs: 250 - }) - }, [ - addressBarValueRef, - browserTabId, - browserTabLoading, - browserTabUrlRef, - isActive, - onUpdatePageStateRef, - webviewRef + webviewRef, + workspaceId ]) } diff --git a/src/renderer/src/components/browser-pane/navigate/use-client-hosted-page-url-submission.ts b/src/renderer/src/components/browser-pane/navigate/use-client-hosted-page-url-submission.ts index 82aec9cd47f..45e6953cab4 100644 --- a/src/renderer/src/components/browser-pane/navigate/use-client-hosted-page-url-submission.ts +++ b/src/renderer/src/components/browser-pane/navigate/use-client-hosted-page-url-submission.ts @@ -1,3 +1,4 @@ +import { issueBrowserGuestNavigation } from '../host-guest/browser-guest-metadata-cache' import { useCallback } from 'react' import type { MutableRefObject, RefObject } from 'react' import { redactKagiSessionToken } from '../../../../../shared/browser-url' @@ -6,7 +7,7 @@ import { resolveBrowserAddressBarSubmission } from './browser-address-bar-naviga import { routeWorkspaceDocAddressSubmission } from './workspace-doc-address-submission' import { deferBrowserPageNavigation } from './browser-page-deferred-navigation' import { getBrowserDisplayTitle, toDisplayUrl } from '../describe-page/browser-page-url-display' -import type { BrowserTabPageState } from '../describe-page/browser-page-types' +import type { BrowserPageUrlSetter, BrowserTabPageState } from '../describe-page/browser-page-types' /** Resolve workspace documents before URLs; refuse local file: access and defer navigation until a staged guest attaches. */ export function useClientHostedPageUrlSubmission(params: { @@ -14,6 +15,7 @@ export function useClientHostedPageUrlSubmission(params: { worktreeId: string webviewRef: RefObject activeLoadFailureRef: MutableRefObject + onSetUrl: BrowserPageUrlSetter onUpdatePageState: (pageId: string, updates: Partial) => void setAddressBarValue: (value: string) => void }): (value: string) => void { @@ -22,6 +24,7 @@ export function useClientHostedPageUrlSubmission(params: { worktreeId, webviewRef, activeLoadFailureRef, + onSetUrl, onUpdatePageState, setAddressBarValue } = params @@ -41,29 +44,30 @@ export function useClientHostedPageUrlSubmission(params: { onUpdatePageState(browserTabId, { loadError: submission.loadError }) return } - const webview = webviewRef.current - if (!webview) { - // Park staged navigation for attachment rather than dropping typed input. - deferBrowserPageNavigation(browserTabId, submission.url) - setAddressBarValue(toDisplayUrl(redactKagiSessionToken(submission.url))) - return - } - // Never persist Kagi session tokens; match local panes’ optimistic title until the guest reports one. const browserModelUrl = redactKagiSessionToken(submission.url) activeLoadFailureRef.current = null setAddressBarValue(toDisplayUrl(browserModelUrl)) + onSetUrl(browserTabId, browserModelUrl) onUpdatePageState(browserTabId, { loading: true, loadError: null, title: getBrowserDisplayTitle(browserModelUrl, browserModelUrl) }) + const webview = webviewRef.current + if (!webview) { + deferBrowserPageNavigation(browserTabId, submission.url) + return + } // Why: loadURL rejects on any failed navigation; did-fail-load owns error reporting. - void webview.loadURL(submission.url).catch(() => {}) + void issueBrowserGuestNavigation(webview, () => webview.loadURL(submission.url)).catch( + () => {} + ) }, [ activeLoadFailureRef, browserTabId, onUpdatePageState, + onSetUrl, setAddressBarValue, webviewRef, worktreeId diff --git a/src/renderer/src/components/browser-pane/navigate/workspace-doc-address-submission.ts b/src/renderer/src/components/browser-pane/navigate/workspace-doc-address-submission.ts index 19f103e6932..6696f067f3f 100644 --- a/src/renderer/src/components/browser-pane/navigate/workspace-doc-address-submission.ts +++ b/src/renderer/src/components/browser-pane/navigate/workspace-doc-address-submission.ts @@ -1,7 +1,7 @@ import type { BrowserLoadError } from '../../../../../shared/browser-workspace-types' import '@/lib/browser/documents/file-preview' import { convertBrowserPageToWorkspaceDoc } from '@/lib/browser/documents/file-preview-page-conversion' -import { resolveWorkspaceDocAddressTarget } from '@/lib/workspace-doc-address-input' +import { resolveWorkspaceDocAddressTarget } from '@/lib/browser/documents/workspace-doc-address-input' import { useAppStore } from '@/store' /** Consume workspace paths before URL resolution targets the wrong host or a refused file: URL; return false to continue URL handling. */ diff --git a/src/renderer/src/components/browser-pane/new-tab/BrowserNewTabPage.tsx b/src/renderer/src/components/browser-pane/new-tab/BrowserNewTabPage.tsx index 64c6e8d8715..ba86e920306 100644 --- a/src/renderer/src/components/browser-pane/new-tab/BrowserNewTabPage.tsx +++ b/src/renderer/src/components/browser-pane/new-tab/BrowserNewTabPage.tsx @@ -2,7 +2,7 @@ import { useMemo } from 'react' import { Globe } from 'lucide-react' import { toast } from 'sonner' import { useTranslate } from '@/i18n/use-translate' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { useRepoById } from '@/store/repos/use-repository-catalog' import { useWorktreeById } from '@/store/workspaces/selection/use-selected-worktree' import { @@ -19,7 +19,7 @@ import { useBrowserNewTabLinkedItems } from './use-browser-new-tab-linked-items' import { useBrowserNewTabServers, type BrowserNewTabServers } from './use-browser-new-tab-servers' import { BrowserNewTabWorkspaceCard } from './browser-new-tab-workspace-card' import { BrowserImportHintButton } from '../assemble-chrome/BrowserImportHintButton' -import { resolveWorktreeDisplayName } from '@/lib/worktree-default-display-name' +import { resolveWorktreeDisplayName } from '@/lib/workspace/display/worktree-default-display-name' import { useWorktreeRuntimeTarget } from '@/runtime/rpc/targets/use-worktree-runtime-target' import type { RuntimeClientTarget } from '../../../../../shared/runtime-client-target' diff --git a/src/renderer/src/components/browser-pane/new-tab/browser-new-tab-workspace-card.tsx b/src/renderer/src/components/browser-pane/new-tab/browser-new-tab-workspace-card.tsx index 8db21bb677a..783e4e55f28 100644 --- a/src/renderer/src/components/browser-pane/new-tab/browser-new-tab-workspace-card.tsx +++ b/src/renderer/src/components/browser-pane/new-tab/browser-new-tab-workspace-card.tsx @@ -6,7 +6,7 @@ import { useState } from 'react' import { ChevronRight, CircleDot, GitMerge, GitPullRequest } from 'lucide-react' import { translate } from '@/i18n/i18n' import { useTranslate, type Translate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { LinearIcon } from '@/components/icons/LinearIcon' import { JiraIcon } from '@/components/icons/JiraIcon' import { getReviewStateTone } from '@/components/github/review-state-presentation' diff --git a/src/renderer/src/components/browser-pane/stream-remote/remote-browser-page-viewport.tsx b/src/renderer/src/components/browser-pane/stream-remote/remote-browser-page-viewport.tsx index bd81ba12948..5b446b726b0 100644 --- a/src/renderer/src/components/browser-pane/stream-remote/remote-browser-page-viewport.tsx +++ b/src/renderer/src/components/browser-pane/stream-remote/remote-browser-page-viewport.tsx @@ -208,7 +208,7 @@ export function RemoteBrowserPageViewport({ ) : null} diff --git a/src/renderer/src/components/browser-pane/stream-remote/remote-browser-screencast-subscription.ts b/src/renderer/src/components/browser-pane/stream-remote/remote-browser-screencast-subscription.ts index d1eb1ab666b..1611e8172dd 100644 --- a/src/renderer/src/components/browser-pane/stream-remote/remote-browser-screencast-subscription.ts +++ b/src/renderer/src/components/browser-pane/stream-remote/remote-browser-screencast-subscription.ts @@ -4,7 +4,7 @@ import type { BrowserScreencastResult } from '../../../../../shared/browser/runtime/runtime-browser-contracts' import { withBrowserPaneUiRuntimeRpcSource } from '../../../../../shared/runtime-rpc-feature-interaction-source' -import { e2eConfig } from '@/lib/e2e-config' +import { e2eConfig } from '@/app-shell/startup/e2e-config' import { isRemoteBrowserPageMissingCode } from './remote-browser-stream-errors' import type { RemoteBrowserViewportSize } from './remote-browser-stream-tokens' diff --git a/src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.tsx b/src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.tsx index 8f3d5dceeb5..b619d7fa85e 100644 --- a/src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.tsx +++ b/src/renderer/src/components/browser-pane/workspace-doc/HtmlDocPreview.tsx @@ -35,7 +35,7 @@ import { useDocPreviewGuestFocus } from './use-doc-preview-guest-focus' import { useDocPreviewGuestTools } from './use-doc-preview-guest-tools' import { useConfirmationDialog } from '@/components/confirmation-dialog-context' import { formatClipboardFilePath } from '@/lib/clipboard/clipboard-file-path' -import { getOpenFileRevealOwner } from '@/lib/reveal-in-file-manager' +import { getOpenFileRevealOwner } from '@/lib/files/os-open/reveal-in-file-manager' import { subscribeDocPreviewExternalLinkConfirmation } from './doc-preview-external-link-confirmation' type PreviewState = 'loading' | 'ready' | 'unavailable' diff --git a/src/renderer/src/components/browser-pane/workspace-doc/doc-preview-address-edit.tsx b/src/renderer/src/components/browser-pane/workspace-doc/doc-preview-address-edit.tsx index 40e4486f5ff..ce6a8fdd65c 100644 --- a/src/renderer/src/components/browser-pane/workspace-doc/doc-preview-address-edit.tsx +++ b/src/renderer/src/components/browser-pane/workspace-doc/doc-preview-address-edit.tsx @@ -5,7 +5,7 @@ import { resolveBrowserAddressBarSubmission } from '@/components/browser-pane/na import { translate } from '@/i18n/i18n' import '@/lib/browser/documents/file-preview' import { convertBrowserPageToWorkspaceDoc } from '@/lib/browser/documents/file-preview-page-conversion' -import { resolveWorkspaceDocAddressTarget } from '@/lib/workspace-doc-address-input' +import { resolveWorkspaceDocAddressTarget } from '@/lib/browser/documents/workspace-doc-address-input' import { useAppStore } from '@/store' import { DocPreviewDocumentChip } from './doc-preview-document-chip' import type { DocPreviewDocumentIdentity } from './doc-preview-document-identity' diff --git a/src/renderer/src/components/browser-pane/workspace-doc/doc-preview-artifact-share.tsx b/src/renderer/src/components/browser-pane/workspace-doc/doc-preview-artifact-share.tsx index b02dafd4fbf..89c94804f5b 100644 --- a/src/renderer/src/components/browser-pane/workspace-doc/doc-preview-artifact-share.tsx +++ b/src/renderer/src/components/browser-pane/workspace-doc/doc-preview-artifact-share.tsx @@ -8,7 +8,10 @@ import { ArtifactPublishButton } from '@/components/artifacts/ArtifactPublishBut import { ArtifactPublishPreparationError } from '@/components/artifacts/artifact-publish-flow' import { isShareableHtmlPath } from '@/components/editor/editor-artifact-upload' import type { DocPreviewGrantLocation } from '@/lib/browser/documents/doc-preview-grants' -import { fileArtifactSourceKey, type FileArtifactOwner } from '@/lib/file-artifact-source-key' +import { + fileArtifactSourceKey, + type FileArtifactOwner +} from '@/lib/files/artifacts/file-artifact-source-key' import { basename } from '@/lib/path' import { readRuntimeFilePreview } from '@/runtime/files/reads/runtime-file-read-client' import { callRuntimeRpc } from '@/runtime/rpc/calls/runtime-rpc-call' diff --git a/src/renderer/src/components/browser-pane/workspace-doc/doc-preview-document-actions.test.ts b/src/renderer/src/components/browser-pane/workspace-doc/doc-preview-document-actions.test.ts deleted file mode 100644 index 1349e1625a4..00000000000 --- a/src/renderer/src/components/browser-pane/workspace-doc/doc-preview-document-actions.test.ts +++ /dev/null @@ -1,163 +0,0 @@ -import { beforeEach, describe, expect, it, vi } from 'vitest' - -const mocks = vi.hoisted(() => ({ - /** What the per-file resolver answers: null local, a string remote, undefined unresolved. */ - connectionIdForFile: null as string | null | undefined, - /** What the workspace-scoped resolver answers, which is not always the same thing. */ - connectionIdForWorkspace: null as string | null | undefined, - worktreePath: '/srv/repo' as string | null, - /** What the worktree resolves its runtime owner to, which the grant was minted against. */ - worktreeRuntimeOwnerId: null as string | null, - activeRuntimeEnvironmentId: undefined as string | undefined, - twin: false, - openFile: vi.fn(), - openFilePath: vi.fn().mockResolvedValue(true), - downloadAndOpen: vi.fn(), - toastError: vi.fn() -})) - -vi.mock('sonner', () => ({ toast: { error: mocks.toastError } })) -vi.mock('@/i18n/i18n', () => ({ - translate: (_key: string, fallback: string, params?: Record) => - fallback.replace('{{value0}}', params?.value0 ?? '') -})) - -vi.mock('@/lib/workspace/ownership/connection-owner-resolution', () => ({ - getConnectionIdForFileFromState: () => mocks.connectionIdForFile -})) -vi.mock('@/lib/workspace/ownership/worktree-runtime-owner', () => ({ - runtimeEnvironmentIdOrLocalUnlessTwin: () => mocks.worktreeRuntimeOwnerId -})) -vi.mock('@/lib/file-owner-runtime-target', () => { - const getRuntimeTargetForFileOwner = ( - _state: unknown, - _worktreeId: string | null | undefined, - runtimeEnvironmentId: string | null | undefined - ) => { - const owner = - runtimeEnvironmentId === undefined ? mocks.worktreeRuntimeOwnerId : runtimeEnvironmentId - return owner - ? { kind: 'environment' as const, environmentId: owner } - : { kind: 'local' as const } - } - return { - FILE_OWNER_UNRESOLVED_MESSAGE: 'unresolved', - getRuntimeTargetForFileOwner, - requireRuntimeTargetForFileOwner: getRuntimeTargetForFileOwner, - getRuntimeTargetForWorktreeOwner: (state: unknown, worktreeId: string | null | undefined) => - getRuntimeTargetForFileOwner(state, worktreeId, undefined) - } -}) -vi.mock('@/lib/workspace/ownership/connection-context', () => ({ - getConnectionId: () => mocks.connectionIdForWorkspace, - getConnectionIdForFile: () => mocks.connectionIdForFile -})) -vi.mock('@/components/terminal-pane/links/files/terminal-remote-file-download-open', () => ({ - downloadAndOpenRemoteTerminalFile: mocks.downloadAndOpen -})) -vi.mock('@/store', () => ({ - useAppStore: { - getState: () => ({ - settings: { - activeRuntimeEnvironmentId: mocks.activeRuntimeEnvironmentId - }, - getKnownWorktreeById: () => - mocks.worktreePath === null ? undefined : { id: 'wt-1', path: mocks.worktreePath }, - ...(mocks.twin ? localAndSshTwinRows('repo', 'repo::/srv/repo') : {}), - openFile: mocks.openFile - }) - } -})) -import { openDocPreviewExternally } from './doc-preview-document-actions' -import { localAndSshTwinRows } from '@/lib/workspace-twin-rows.test-fixture' - -const REMOTE_DOCUMENT = { - filePath: '/root/demo/report/index.html', - relativePath: 'report/index.html', - worktreeId: 'wt-1', - runtimeEnvironmentId: null, - externalSshTargetId: null -} - -beforeEach(() => { - vi.clearAllMocks() - mocks.connectionIdForFile = null - mocks.connectionIdForWorkspace = null - mocks.worktreePath = '/srv/repo' - mocks.worktreeRuntimeOwnerId = null - mocks.activeRuntimeEnvironmentId = undefined - mocks.twin = false - mocks.openFilePath.mockResolvedValue(true) - vi.stubGlobal('window', { api: { shell: { openFilePath: mocks.openFilePath } } }) -}) - -describe('openDocPreviewExternally', () => { - // Folder workspaces may span hosts; unresolved workspace ownership must not override a resolved file owner. - it('routes on the file owner when the workspace-scoped owner is unresolved', () => { - mocks.connectionIdForFile = 'ssh-1' - mocks.connectionIdForWorkspace = undefined - - openDocPreviewExternally(REMOTE_DOCUMENT) - - expect(mocks.openFilePath).not.toHaveBeenCalled() - expect(mocks.downloadAndOpen).toHaveBeenCalledWith( - expect.objectContaining({ connectionId: 'ssh-1' }), - REMOTE_DOCUMENT.filePath - ) - }) - - // Unknown ownership must refuse: downloading could otherwise read an unrelated same-named local file. - it("refuses a document of a project two hosts publish instead of opening this machine's copy", () => { - mocks.twin = true - - openDocPreviewExternally({ ...REMOTE_DOCUMENT, worktreeId: 'repo::/srv/repo' }) - - expect(mocks.openFilePath).not.toHaveBeenCalled() - expect(mocks.toastError).toHaveBeenCalled() - }) - - it('refuses instead of reading this machine when no owner resolves', () => { - mocks.connectionIdForFile = undefined - mocks.connectionIdForWorkspace = undefined - - openDocPreviewExternally(REMOTE_DOCUMENT) - - expect(mocks.openFilePath).not.toHaveBeenCalled() - expect(mocks.downloadAndOpen).not.toHaveBeenCalled() - expect(mocks.toastError).toHaveBeenCalledWith(expect.stringContaining('report/index.html')) - }) - - // Vary only the root so other remote-owner fields cannot mask this independent OS-open guard. - it('refuses a document whose workspace root is unknown even when nothing names another host', () => { - mocks.worktreePath = null - - openDocPreviewExternally(REMOTE_DOCUMENT) - - expect(mocks.openFilePath).not.toHaveBeenCalled() - expect(mocks.downloadAndOpen).not.toHaveBeenCalled() - expect(mocks.toastError).toHaveBeenCalled() - }) - - // A torn-down runtime may leave only the tab’s recorded owner. - it('falls back to the tab runtime owner when the worktree resolves none', () => { - mocks.worktreeRuntimeOwnerId = null - mocks.activeRuntimeEnvironmentId = 'env-9' - - openDocPreviewExternally({ ...REMOTE_DOCUMENT, runtimeEnvironmentId: 'env-9' }) - - expect(mocks.openFilePath).not.toHaveBeenCalled() - expect(mocks.toastError).not.toHaveBeenCalled() - expect(mocks.downloadAndOpen).toHaveBeenCalled() - }) - - // Restored tabs can lack the owner used to mint their grant; consult the resolved worktree owner before choosing OS-open. - it('routes on the worktree runtime owner when the tab carries none', () => { - mocks.worktreeRuntimeOwnerId = 'env-1' - mocks.activeRuntimeEnvironmentId = 'env-1' - - openDocPreviewExternally({ ...REMOTE_DOCUMENT, runtimeEnvironmentId: null }) - - expect(mocks.openFilePath).not.toHaveBeenCalled() - expect(mocks.downloadAndOpen).toHaveBeenCalled() - }) -}) diff --git a/src/renderer/src/components/cmd-j/PaletteFilterFieldOptions.tsx b/src/renderer/src/components/cmd-j/PaletteFilterFieldOptions.tsx index f3af842801a..5280b21ba45 100644 --- a/src/renderer/src/components/cmd-j/PaletteFilterFieldOptions.tsx +++ b/src/renderer/src/components/cmd-j/PaletteFilterFieldOptions.tsx @@ -2,7 +2,7 @@ import { ImeInput } from '@/lib/text-input/ime/ime-text-field' import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react' import { useVirtualizer } from '@tanstack/react-virtual' import { Check, ChevronLeft, SearchIcon } from 'lucide-react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' import type { PaletteFilterOption } from './palette-filter-options' import type { PaletteFilterField } from './palette-filter' diff --git a/src/renderer/src/components/cmd-j/palette-extra-results.ts b/src/renderer/src/components/cmd-j/palette-extra-results.ts new file mode 100644 index 00000000000..974e1da88fe --- /dev/null +++ b/src/renderer/src/components/cmd-j/palette-extra-results.ts @@ -0,0 +1,81 @@ +import type React from 'react' +import type { Translate } from '@/i18n/use-translate' +import type { Worktree } from '../../../../shared/worktree/types' +import type { MatchRange } from '../../../../shared/palette-match/normalized-text' +import type { PaletteResultQualityClass } from '../../../../shared/palette-match/match-quality' +import { + buildPaletteDocument, + type PaletteDocumentRank +} from '../../../../shared/palette-match/palette-document' +import { matchPaletteDocument } from '../../../../shared/palette-match/match-document' +import { preparePaletteQuery } from '../../../../shared/palette-match/palette-query' + +/** One row a non-workspace source contributes to Cmd+J. */ +export type PaletteExtraResult = { + id: string + title: string + titleRanges: readonly MatchRange[] + /** null in the empty query, where rows are listed without a match. */ + rank: PaletteDocumentRank | null + qualityClass: PaletteResultQualityClass | null + lastActiveAt: number | null + /** Source-defined order: empty-query order, and the typed tie-break after rank and activity. */ + order: number + dimmed?: boolean + leading?: React.ReactNode + line?: React.ReactNode + trailing?: React.ReactNode + onSelect: () => void +} + +/** One section a source contributes, with its rows for the current query. */ +export type PaletteExtraSource = { + id: string + sectionLabel: (t: Translate) => string + emptyQueryCap: number + /** Typed queries: where the section sits when it does not lead the list. */ + typedPlacement: 'before-workspaces' | 'after-workspaces' + /** Lead the list when its best match equals the best workspace or tab match, not only when it beats it. */ + leadsOnTie: boolean + /** Typed: matching rows only. Empty query: every row, unranked. */ + results: readonly PaletteExtraResult[] + /** Workspaces the source represents itself; their tabs stay in Open Tabs and recents. */ + hidesWorkspace?: (worktree: Worktree) => boolean +} + +export type PaletteExtraMatch = { + rank: PaletteDocumentRank + qualityClass: PaletteResultQualityClass + rangesByField: ReadonlyMap +} + +/** Ranks a source's row with the same engine as workspaces, so qualities compare across sections. */ +export function matchPaletteExtraFields( + id: string, + fields: readonly { id: string; text: string; role: 'primary' | 'secondary' }[], + query: string +): PaletteExtraMatch | null { + const prepared = preparePaletteQuery(query) + if (prepared.state !== 'ready') { + return null + } + const match = matchPaletteDocument({ + document: buildPaletteDocument({ + id, + visibleFields: fields.map((field) => ({ + id: field.id, + profile: field.role === 'primary' ? 'structured-label' : 'prose', + text: field.text, + role: field.role, + destinationEligible: field.role === 'primary' + })), + evidence: [] + }), + tokens: prepared.tokens, + normalizedQuery: prepared.normalized, + tokenCountBeforeDeduplication: prepared.tokenCountBeforeDeduplication + }) + return match + ? { rank: match.rank, qualityClass: match.qualityClass, rangesByField: match.rangesByField } + : null +} diff --git a/src/renderer/src/components/cmd-j/palette-extra-sources.ts b/src/renderer/src/components/cmd-j/palette-extra-sources.ts new file mode 100644 index 00000000000..48066d300a7 --- /dev/null +++ b/src/renderer/src/components/cmd-j/palette-extra-sources.ts @@ -0,0 +1,11 @@ +import type { PaletteExtraSource } from './palette-extra-results' + +const NO_SOURCES: readonly PaletteExtraSource[] = [] + +/** Each source registers here with its own hook; return a memoized list. */ +export function usePaletteExtraSources(_args: { + query: string + visible: boolean +}): readonly PaletteExtraSource[] { + return NO_SOURCES +} diff --git a/src/renderer/src/components/cmd-j/palette-filter-options.ts b/src/renderer/src/components/cmd-j/palette-filter-options.ts index ac85a3d17dc..a2871c955f4 100644 --- a/src/renderer/src/components/cmd-j/palette-filter-options.ts +++ b/src/renderer/src/components/cmd-j/palette-filter-options.ts @@ -14,6 +14,7 @@ import type { Worktree } from '../../../../shared/worktree/types' import { getProjectHeaderRevealTarget } from '../../../../shared/project-section-grouping' import type { ProjectGroupingModel } from '../../../../shared/project-section-grouping' import type { SidebarHostOption } from '../sidebar/worktree-list/controls/sidebar-host-options' +import { translateHostDisplayLabel } from '../sidebar/execution-host-label' import { expandEquivalentExecutionHostIds, pickerExecutionHosts @@ -33,19 +34,24 @@ function toFilterOption({ id, label, detail, - count + count, + searchText }: { id: string label: string detail: string count: number + searchText?: string }): PaletteFilterOption { return { id, label, detail, count, - searchText: buildPaletteFilterOptionSearchText(label, detail) + searchText: buildPaletteFilterOptionSearchText( + label, + searchText ? `${detail} ${searchText}` : detail + ) } } @@ -149,7 +155,8 @@ export function buildPaletteFilterModel({ const hosts = hostRows.map((host) => toFilterOption({ id: host.id, - label: host.label, + label: translateHostDisplayLabel(host), + searchText: host.label, detail: host.detail, count: [host.id, ...(host.aliasHostIds ?? [])].reduce( (count, hostId) => count + (worktreeCountByHostId.get(hostId) ?? 0), diff --git a/src/renderer/src/components/cmd-j/palette-host-badge.ts b/src/renderer/src/components/cmd-j/palette-host-badge.ts index 4dcce6dc5f3..f012a13f264 100644 --- a/src/renderer/src/components/cmd-j/palette-host-badge.ts +++ b/src/renderer/src/components/cmd-j/palette-host-badge.ts @@ -1,5 +1,6 @@ import { LOCAL_EXECUTION_HOST_ID, type ExecutionHostId } from '../../../../shared/execution-host' import type { SidebarHostOption } from '../sidebar/worktree-list/controls/sidebar-host-options' +import { translateHostDisplayLabel } from '../sidebar/execution-host-label' export type PaletteHostBadge = { hostId: ExecutionHostId @@ -26,5 +27,5 @@ export function getPaletteHostBadge( if (!host) { return null } - return { hostId: host.id, label: host.label } + return { hostId: host.id, label: translateHostDisplayLabel(host) } } diff --git a/src/renderer/src/components/cmd-j/palette-live-status.tsx b/src/renderer/src/components/cmd-j/palette-live-status.tsx index bebe0cfe96f..bb3d6f395db 100644 --- a/src/renderer/src/components/cmd-j/palette-live-status.tsx +++ b/src/renderer/src/components/cmd-j/palette-live-status.tsx @@ -1,6 +1,6 @@ import React, { createContext, useContext, useMemo } from 'react' import { useShallow } from 'zustand/react/shallow' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { hasAwakeStructuredChat } from '@/store/slices/agent-status/structured-chat-slept-at' import { AgentStateDot } from '@/components/AgentStateDot' import { StateIndicatorTooltip } from '@/components/StateIndicatorTooltip' @@ -15,19 +15,14 @@ import { isAgentStatusFresh, AGENT_STATUS_STALE_AFTER_MS } from '../../../../shared/agent-status/contracts/agent-status-freshness' -import { - getLiveAgentStatusByWorktreeId, - type LiveAgentWorktreeStatus -} from '@/lib/worktree-activity-state' -import { - getWorktreeStatus, - getWorktreeStatusLabel, - type WorktreeStatus -} from '@/lib/worktree-status' +import { getLiveAgentStatusByWorktreeId } from '@/lib/workspace/activity/worktree-activity-state' +import type { LiveAgentWorktreeStatus } from '../../../../shared/sidebar-list/workspace-activity-facts' +import { getWorktreeStatus, getWorktreeStatusLabel } from '@/lib/workspace/activity/worktree-status' +import type { WorktreeStatus } from '../../../../shared/worktree-status-rollup' import { resolveRecentWorkspaceTabStatus, type RecentWorkspaceTabRow -} from '@/lib/recent-workspace-tab-rows' +} from '@/lib/workspace/search/palette/recent-workspace-tab-rows' import { resolveTerminalTabAttentionBadge, terminalTabHasUnreadActivity, diff --git a/src/renderer/src/components/cmd-j/palette-results.ts b/src/renderer/src/components/cmd-j/palette-results.ts index 2b98f6e08bd..082d5233a1b 100644 --- a/src/renderer/src/components/cmd-j/palette-results.ts +++ b/src/renderer/src/components/cmd-j/palette-results.ts @@ -1,6 +1,9 @@ import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' -import type { SettingsNavIcon, SettingsNavSection } from '@/lib/settings-navigation-types' +import type { + SettingsNavIcon, + SettingsNavSection +} from '@/components/settings/navigation/settings-navigation-types' import type { CmdJQuickAction } from './quick-actions' import { isClipboardTextByteLengthOverLimit } from '../../../../shared/clipboard-text' import { diff --git a/src/renderer/src/components/cmd-j/plugin-quick-actions.ts b/src/renderer/src/components/cmd-j/plugin-quick-actions.ts index a9137f7ed83..7ae53f78be7 100644 --- a/src/renderer/src/components/cmd-j/plugin-quick-actions.ts +++ b/src/renderer/src/components/cmd-j/plugin-quick-actions.ts @@ -1,11 +1,11 @@ import { Blocks, FilePlus } from 'lucide-react' import { isWorkspaceScopedPluginContext } from '../../../../shared/plugins/contributions/plugin-command-contribution' import type { ActivePluginCommand } from '@/store/plugins/catalog/plugin-contribution-catalog' -import { executePluginCommand } from '@/lib/plugin-command-execution' +import { executePluginCommand } from '@/lib/plugins/commands/plugin-command-execution' import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' import type { ActivePluginNewFile } from '@/store/plugins/file-creation/plugin-new-files' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { runWorkspaceAction, type CmdJQuickAction } from './quick-actions' import { getWorkspaceScopedActionAvailability } from './quick-action-context' diff --git a/src/renderer/src/components/cmd-j/quick-action-context.ts b/src/renderer/src/components/cmd-j/quick-action-context.ts index 62cea06a987..a69d82df00e 100644 --- a/src/renderer/src/components/cmd-j/quick-action-context.ts +++ b/src/renderer/src/components/cmd-j/quick-action-context.ts @@ -1,16 +1,16 @@ -import type { AppState } from '@/store/types' import { translate } from '@/i18n/i18n' import { findFirstIndexedWorktree } from '@/lib/workspace/ownership/worktree-runtime-owner-index' -import type { Worktree } from '../../../../shared/worktree/types' -import type { SshConnectionStatus } from '../../../../shared/ssh-types' -import { getClientCreationActionPolicy } from '@/lib/client-creation-action-policy' +import { getClientCreationActionPolicy } from '@/lib/workspace/creation/surface-policy/client-creation-action-policy' import { canRunNativeChatSplitTarget, resolveActiveNativeChatSplitTarget, runActiveNativeChatSplit } from '@/components/native-chat/pane/routing/native-chat-layout-actions' -import type { NativeChatSplitDirection } from '@/components/native-chat/pane/routing/native-chat-pane-shortcut' import { selectWorktreesByRepo } from '@/store/workspaces/catalog/workspace-record-fields' +import type { AppState } from '@/store/types' +import type { Worktree } from '../../../../shared/worktree/types' +import type { SshConnectionStatus } from '../../../../shared/ssh-types' +import type { NativeChatSplitDirection } from '@/components/native-chat/pane/routing/native-chat-pane-shortcut' import type { TabSplitDirection } from '@/store/slices/tabs/tabs-slice-contract' export type CmdJUnavailableReason = diff --git a/src/renderer/src/components/cmd-j/task-search-activation.ts b/src/renderer/src/components/cmd-j/task-search-activation.ts index 2b7989e3d56..d91c784d676 100644 --- a/src/renderer/src/components/cmd-j/task-search-activation.ts +++ b/src/renderer/src/components/cmd-j/task-search-activation.ts @@ -5,13 +5,15 @@ import { getProvenWorkspaceReferenceIdentity, parseWorkspaceReferenceUrl } from '../../../../shared/workspace-attachments/workspace-reference-identity' -import { getLinearIssueWorkspaceName } from '../../../../shared/workspace-name' import { + getLinearIssueWorkspaceName, getLinkedWorkItemWorkspaceName, - getLinkedWorkItemSuggestedName, - type LinkedWorkItemSummary -} from '@/lib/new-workspace' -import { buildLinearIssueLinkedWorkItem } from '@/lib/work-items/linear/linear-linked-work-item' + getLinkedWorkItemSuggestedName +} from '../../../../shared/workspace-name' +import '@/lib/workspace/creation/new-workspace' +import type { LinkedWorkItemSummary } from '@/lib/workspace/creation/new-workspace' + +import { buildLinearWorkspaceSource } from '../../../../shared/new-workspace/workspace-source' import type { Worktree } from '../../../../shared/worktree/types' import { haveConflictingTaskSourceAccounts, @@ -79,7 +81,7 @@ export function openCmdJTask(result: CmdJTaskSearchResult, createWorkspace = fal if (createWorkspace) { const linkedWorkItem: LinkedWorkItemSummary = task.provider === 'linear' - ? buildLinearIssueLinkedWorkItem(task.issue) + ? buildLinearWorkspaceSource(task.issue) : { provider: task.provider, type: 'issue', diff --git a/src/renderer/src/components/cmd-j/task-search-requests.ts b/src/renderer/src/components/cmd-j/task-search-requests.ts index 46145b59e35..5f800c792dc 100644 --- a/src/renderer/src/components/cmd-j/task-search-requests.ts +++ b/src/renderer/src/components/cmd-j/task-search-requests.ts @@ -37,6 +37,7 @@ const RESULT_LIMIT = 12 export type CmdJTaskSearchRequest = { id: string provider: TaskProvider + hostId: ExecutionHostId hostLabel: string run: () => Promise } @@ -82,6 +83,7 @@ export function createCmdJTaskSearchRequests(args: { requests.push({ id: `${provider}:${source.hostId}:${repo.id}`, provider, + hostId: source.hostId, hostLabel, run: async () => { if (signal.aborted) { @@ -198,6 +200,7 @@ export function createCmdJTaskSearchRequests(args: { requests.push({ id: requestId, provider, + hostId, hostLabel, run: async () => { if (signal.aborted) { diff --git a/src/renderer/src/components/cmd-j/worktree-checks-review-index.ts b/src/renderer/src/components/cmd-j/worktree-checks-review-index.ts index bb2fb2af3bf..84cd07fe5f8 100644 --- a/src/renderer/src/components/cmd-j/worktree-checks-review-index.ts +++ b/src/renderer/src/components/cmd-j/worktree-checks-review-index.ts @@ -1,4 +1,4 @@ -import { resolveWorktreeBranchLabel } from '@/lib/worktree-default-display-name' +import { resolveWorktreeBranchLabel } from '@/lib/workspace/display/worktree-default-display-name' import { resolvePaletteRepoForWorktree } from '@/lib/workspace/search/palette-repo-resolution' import { getGitHubPRCacheKey } from '../../../../shared/github/github-cache-key' import { getHostedReviewCacheKey } from '@/store/slices/hosted-review/hosted-review-cache-identity' diff --git a/src/renderer/src/components/confirmation-dialog.tsx b/src/renderer/src/components/confirmation-dialog.tsx index 05dc78a514e..c760ead49f8 100644 --- a/src/renderer/src/components/confirmation-dialog.tsx +++ b/src/renderer/src/components/confirmation-dialog.tsx @@ -17,9 +17,9 @@ import { type ConfirmationDialogContextValue, type ConfirmationDialogOptions } from '@/components/confirmation-dialog-context' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' type ConfirmationDialogRequest = { id: number diff --git a/src/renderer/src/components/confirmation-skip-preference.ts b/src/renderer/src/components/confirmation-skip-preference.ts index c7eea096fd4..302d9701347 100644 --- a/src/renderer/src/components/confirmation-skip-preference.ts +++ b/src/renderer/src/components/confirmation-skip-preference.ts @@ -1,6 +1,6 @@ import { toast } from 'sonner' import { translate } from '@/i18n/i18n' -import type { SettingsNavTarget } from '@/lib/settings-navigation-types' +import type { SettingsNavTarget } from '@/components/settings/navigation/settings-navigation-types' import type { GlobalSettings } from '../../../shared/global-settings-types' /** Persists the preference and keeps its reversal one click away. */ diff --git a/src/renderer/src/components/contextual-tours/ContextualTourOverlay.tsx b/src/renderer/src/components/contextual-tours/ContextualTourOverlay.tsx index 73eb03b8bb4..7b1ba7bb562 100644 --- a/src/renderer/src/components/contextual-tours/ContextualTourOverlay.tsx +++ b/src/renderer/src/components/contextual-tours/ContextualTourOverlay.tsx @@ -1,6 +1,6 @@ import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState, type JSX } from 'react' import { hasUndoneContextualTourAction } from '../../../../shared/contextual-tour-action-steps' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { runActiveNativeChatSplit } from '@/components/native-chat/pane/routing/native-chat-layout-actions' import { getContextualTour, @@ -11,7 +11,7 @@ import type { ContextualTourOutcome } from '../../../../shared/feature-education import { trackContextualTourOutcome, trackContextualTourShown -} from '@/lib/feature-education-telemetry' +} from '@/diagnostics/telemetry/feature-education-telemetry' import { isContextualTourAllowedForModal } from './contextual-tour-gate' import { areContextualTourRenderStatesEqual, @@ -25,12 +25,12 @@ import { handleContextualTourOverlayKeyDown, type ActiveTourRenderState } from './ContextualTourOverlaySurface' -import { installWindowVisibilityInterval } from '@/lib/window-visibility-interval' +import { installWindowVisibilityInterval } from '@/lib/window-activity/window-visibility-interval' import { requestActiveTerminalPaneSplit } from '@/components/tab-bar/request-active-terminal-pane-split' import { performContextualTourStepAction } from './contextual-tour-step-actions' import { useContextualTourFocus } from './use-contextual-tour-focus' import { openWorkspaceCreationComposerWithTourHandoff } from './workspace-creation-tour-handoff' -import { BROWSER_CLIENT_HOSTED_REMOTE_SETTINGS_TARGET_ID } from '@/lib/settings-navigation-types' +import { BROWSER_CLIENT_HOSTED_REMOTE_SETTINGS_TARGET_ID } from '@/components/settings/navigation/settings-navigation-types' export function ContextualTourOverlay(): JSX.Element | null { const activeTourId = useAppStore((s) => s.activeContextualTourId) diff --git a/src/renderer/src/components/contextual-tours/ContextualTourOverlaySurface.tsx b/src/renderer/src/components/contextual-tours/ContextualTourOverlaySurface.tsx index e4184bb60b3..8c31e3f9804 100644 --- a/src/renderer/src/components/contextual-tours/ContextualTourOverlaySurface.tsx +++ b/src/renderer/src/components/contextual-tours/ContextualTourOverlaySurface.tsx @@ -11,8 +11,8 @@ import { import { ArrowLeft, ArrowRight, X } from 'lucide-react' import { Badge } from '@/components/ui/badge' import { Button } from '@/components/ui/button' -import { cn } from '@/lib/utils' -import { useAppStore } from '@/store' +import { cn } from '@/lib/class-names' +import { useAppStore } from '@/store/index' import { getContextualTour, type ContextualTourId, @@ -29,7 +29,7 @@ import { } from './contextual-tour-floating-position' import { useTranslate } from '@/i18n/use-translate' import { addAppKeyListener, removeAppKeyListener } from '@/lib/keyboard/app-keyboard-router' -import { hasVisibleOverlay } from '@/lib/visible-overlay' +import { hasVisibleOverlay } from '@/lib/overlay-interaction/visible-overlay' import { getMeasurableContextualTourTarget } from './contextual-tour-gate' const FOCUSABLE_SELECTOR = diff --git a/src/renderer/src/components/contextual-tours/ContextualTourProgressDots.tsx b/src/renderer/src/components/contextual-tours/ContextualTourProgressDots.tsx index 302f4094562..dc784398dc7 100644 --- a/src/renderer/src/components/contextual-tours/ContextualTourProgressDots.tsx +++ b/src/renderer/src/components/contextual-tours/ContextualTourProgressDots.tsx @@ -1,5 +1,5 @@ import type { JSX } from 'react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { useTranslate } from '@/i18n/use-translate' export function ContextualTourProgressDots({ diff --git a/src/renderer/src/components/contextual-tours/use-contextual-tour-focus.ts b/src/renderer/src/components/contextual-tours/use-contextual-tour-focus.ts index 8c6b07700c2..79a6b4fbb5e 100644 --- a/src/renderer/src/components/contextual-tours/use-contextual-tour-focus.ts +++ b/src/renderer/src/components/contextual-tours/use-contextual-tour-focus.ts @@ -1,4 +1,4 @@ -import { hasVisibleOverlay } from '@/lib/visible-overlay' +import { hasVisibleOverlay } from '@/lib/overlay-interaction/visible-overlay' import { hasContextualTourActionStep } from '../../../../shared/contextual-tour-action-steps' import { useEffect, useRef, type RefObject } from 'react' import { getContextualTour, type ContextualTourId } from '../../../../shared/contextual-tours' diff --git a/src/renderer/src/components/crash-report/CrashReportDialog.tsx b/src/renderer/src/components/crash-report/CrashReportDialog.tsx index f28ef34dd3a..ecd1d071327 100644 --- a/src/renderer/src/components/crash-report/CrashReportDialog.tsx +++ b/src/renderer/src/components/crash-report/CrashReportDialog.tsx @@ -1,10 +1,10 @@ import { Suspense, useCallback, useEffect, useRef, useState } from 'react' -import { lazyWithRetry as lazy } from '@/lib/lazy-with-retry' +import { lazyWithRetry as lazy } from '@/app-shell/startup/lazy-with-retry' import { useMountedRef } from '@/hooks/useMountedRef' import { REACT_ERROR_BOUNDARY_REPORT_AVAILABLE_EVENT, takePendingReactErrorBoundaryReport -} from '@/lib/react-error-boundary-reporting' +} from '@/diagnostics/crash-reporting/react-error-boundary-reporting' import type { CrashReportRecord } from '../../../../shared/crash-reporting' const CrashReportDialogSurface = lazy(() => diff --git a/src/renderer/src/components/dashboard-popout/AgentCardLastMessages.tsx b/src/renderer/src/components/dashboard-popout/AgentCardLastMessages.tsx index d5b6be31ec1..61680753967 100644 --- a/src/renderer/src/components/dashboard-popout/AgentCardLastMessages.tsx +++ b/src/renderer/src/components/dashboard-popout/AgentCardLastMessages.tsx @@ -1,7 +1,7 @@ import { formatAgentTypeLabel } from '../../../../shared/agent-status/presentation/agent-type-label' import type { DashboardCard } from '../../../../shared/dashboard-snapshot' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' export function hasAgentCardLastMessages(card: DashboardCard): boolean { return Boolean(card.lastUserMessage || card.lastAgentMessage) diff --git a/src/renderer/src/components/dashboard-popout/AgentDashboardToolbar.tsx b/src/renderer/src/components/dashboard-popout/AgentDashboardToolbar.tsx index d5b393f270a..f225ad2fd67 100644 --- a/src/renderer/src/components/dashboard-popout/AgentDashboardToolbar.tsx +++ b/src/renderer/src/components/dashboard-popout/AgentDashboardToolbar.tsx @@ -11,7 +11,7 @@ import { } from '@/components/ui/dropdown-menu' import { Input } from '@/components/ui/input' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { getWorkspaceStatusVisualMeta } from '../sidebar/workspace-status/presentation/workspace-status' import type { DashboardCard, DashboardFilterOptions } from '../../../../shared/dashboard-snapshot' import { diff --git a/src/renderer/src/components/dashboard-popout/AgentKanbanBoard.test.tsx b/src/renderer/src/components/dashboard-popout/AgentKanbanBoard.test.tsx index cbefd81d35c..cb083fa8420 100644 --- a/src/renderer/src/components/dashboard-popout/AgentKanbanBoard.test.tsx +++ b/src/renderer/src/components/dashboard-popout/AgentKanbanBoard.test.tsx @@ -2,12 +2,8 @@ import '@testing-library/jest-dom/vitest' import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { act, cleanup, fireEvent, render, screen } from '@testing-library/react' -import type { - DashboardCard, - DashboardFilterOptions, - DashboardSnapshot -} from '../../../../shared/dashboard-snapshot' +import { cleanup, fireEvent, render, screen } from '@testing-library/react' +import type { DashboardCard } from '../../../../shared/dashboard-snapshot' import type { RepoIcon } from '../../../../shared/repo-icon' import { i18n } from '@/i18n/i18n' import { AgentKanbanBoard } from './AgentKanbanBoard' @@ -17,19 +13,16 @@ vi.mock('./AgentKanbanCard', () => ({ AgentKanbanCard: ({ card, repoIcon, - now, onOpenTerminal }: { card: DashboardCard repoIcon?: RepoIcon | null - now: number onOpenTerminal: (card: DashboardCard) => void }) => (
onOpenTerminal(card)} > @@ -78,18 +71,6 @@ function card(overrides: Partial): DashboardCard { } } -function renderBoard( - cards: DashboardCard[], - options: { - showIdle?: boolean - repoIconsByRepoId?: Record - filterOptions?: DashboardFilterOptions - } = {} -): void { - const snapshot: DashboardSnapshot = { generatedAt: 1, cards, ...options } - render() -} - const ackAgent = vi.fn(async () => {}) describe('AgentKanbanBoard', () => { @@ -104,34 +85,11 @@ describe('AgentKanbanBoard', () => { }) afterEach(() => { cleanup() - vi.useRealTimers() vi.clearAllMocks() vi.restoreAllMocks() vi.unstubAllGlobals() }) - it('parks the clock while hidden, catches up on reveal, and ticks while visible', () => { - vi.useFakeTimers() - vi.setSystemTime(100_000) - let visibilityState: DocumentVisibilityState = 'hidden' - vi.spyOn(document, 'visibilityState', 'get').mockImplementation(() => visibilityState) - - renderBoard([card({ startedAt: 1 })]) - expect(screen.getByTestId('card').dataset.now).toBe('100000') - expect(vi.getTimerCount()).toBe(0) - - act(() => vi.advanceTimersByTime(60_000)) - expect(screen.getByTestId('card').dataset.now).toBe('100000') - - visibilityState = 'visible' - act(() => document.dispatchEvent(new Event('visibilitychange'))) - expect(screen.getByTestId('card').dataset.now).toBe('160000') - expect(vi.getTimerCount()).toBe(1) - - act(() => vi.advanceTimersByTime(30_000)) - expect(screen.getByTestId('card').dataset.now).toBe('190000') - }) - it('keeps the terminal dialog open across bucket moves and card removal', () => { const agent = card({ paneKey: 'pk-1', bucket: 'done', worktreeName: 'wt1' }) const { rerender } = render( diff --git a/src/renderer/src/components/dashboard-popout/AgentKanbanBoard.tsx b/src/renderer/src/components/dashboard-popout/AgentKanbanBoard.tsx index 65a1b766bf4..3982f058d2a 100644 --- a/src/renderer/src/components/dashboard-popout/AgentKanbanBoard.tsx +++ b/src/renderer/src/components/dashboard-popout/AgentKanbanBoard.tsx @@ -7,9 +7,9 @@ import { type DashboardSnapshot } from '../../../../shared/dashboard-snapshot' import type { RepoIcon } from '../../../../shared/repo-icon' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { TooltipProvider } from '@/components/ui/tooltip' -import { installWindowVisibilityInterval } from '@/lib/window-visibility-interval' +import { installWindowVisibilityInterval } from '@/lib/window-activity/window-visibility-interval' import { AgentKanbanCard } from './AgentKanbanCard' import { AgentDashboardToolbar } from './AgentDashboardToolbar' import { AgentTerminalDialog, type AgentRevealArgs } from './AgentTerminalDialog' diff --git a/src/renderer/src/components/dashboard-popout/AgentKanbanCard.tsx b/src/renderer/src/components/dashboard-popout/AgentKanbanCard.tsx index dc46ed8d2d5..3cd6f0788d7 100644 --- a/src/renderer/src/components/dashboard-popout/AgentKanbanCard.tsx +++ b/src/renderer/src/components/dashboard-popout/AgentKanbanCard.tsx @@ -12,7 +12,7 @@ import { AgentQuestionIcon } from '@/components/AgentQuestionIcon' import { AgentStateDot } from '@/components/AgentStateDot' import { RepoIconGlyph } from '@/components/repo/repo-icon' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { dashboardCardDisplayState, type DashboardCard diff --git a/src/renderer/src/components/dashboard-popout/AgentTerminalDialog.test.tsx b/src/renderer/src/components/dashboard-popout/AgentTerminalDialog.test.tsx index ed29e67385e..bffc3de2dd0 100644 --- a/src/renderer/src/components/dashboard-popout/AgentTerminalDialog.test.tsx +++ b/src/renderer/src/components/dashboard-popout/AgentTerminalDialog.test.tsx @@ -123,24 +123,3 @@ it.each([false, true])( ) } ) - -it('shows last messages when a card has no live terminal', () => { - const { rerender } = render( - {}} - onReveal={() => {}} - /> - ) - expect(screen.getByText('Roll out rc-18')).toBeInTheDocument() - expect(screen.getByText('Rollout finished')).toBeInTheDocument() - - rerender( - {}} onReveal={() => {}} /> - ) - expect(screen.queryByText('Rollout finished')).not.toBeInTheDocument() -}) diff --git a/src/renderer/src/components/dashboard-popout/AgentTerminalDialog.tsx b/src/renderer/src/components/dashboard-popout/AgentTerminalDialog.tsx index 560c0e3459a..47ae4dff869 100644 --- a/src/renderer/src/components/dashboard-popout/AgentTerminalDialog.tsx +++ b/src/renderer/src/components/dashboard-popout/AgentTerminalDialog.tsx @@ -14,7 +14,7 @@ import { AgentTerminalPreview } from './AgentTerminalPreview' import { AgentCardLastMessages, hasAgentCardLastMessages } from './AgentCardLastMessages' import { terminalPreviewUnavailableMessage } from './terminal-preview-unavailable-message' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' /** Routing payload for focusing an agent's pane in the main window. */ export type AgentRevealArgs = DashboardRevealAgentArgs diff --git a/src/renderer/src/components/dashboard-popout/AgentTerminalPreview.clipboard-routes.test.tsx b/src/renderer/src/components/dashboard-popout/AgentTerminalPreview.clipboard-routes.test.tsx index e8c49b42fec..78f8cafbaf4 100644 --- a/src/renderer/src/components/dashboard-popout/AgentTerminalPreview.clipboard-routes.test.tsx +++ b/src/renderer/src/components/dashboard-popout/AgentTerminalPreview.clipboard-routes.test.tsx @@ -143,7 +143,6 @@ vi.mock('@/store', () => { return { useAppStore } }) -// Paste encoding is under test here; owner routing is covered by AgentTerminalPreview.test.tsx. vi.mock('./terminal-preview-api', () => ({ terminalPreviewApiFor: () => window.api.terminalPreview })) diff --git a/src/renderer/src/components/dashboard-popout/AgentTerminalPreview.settings-geometry.test.tsx b/src/renderer/src/components/dashboard-popout/AgentTerminalPreview.settings-geometry.test.tsx index 19d98111793..3f188c2aefb 100644 --- a/src/renderer/src/components/dashboard-popout/AgentTerminalPreview.settings-geometry.test.tsx +++ b/src/renderer/src/components/dashboard-popout/AgentTerminalPreview.settings-geometry.test.tsx @@ -37,14 +37,7 @@ vi.mock('@xterm/xterm', () => ({ this.screen.className = 'xterm-screen' Object.defineProperties(this.screen, { offsetWidth: { - get: () => - this.cols * - (this.options.fontSize === 18 || - this.options.fontFamily?.includes('Fira Code') || - this.options.fontWeight === 900 || - this.options.fontWeightBold === 900 - ? 12 - : 10) + get: () => this.cols * (this.options.fontSize === 18 ? 12 : 10) }, offsetHeight: { get: () => this.rows * 16 * (this.options.lineHeight ?? 1) } }) @@ -171,16 +164,4 @@ it('ignores a pending connection retired by a metric change', async () => { expect(connect).toHaveBeenCalledTimes(2) expect(harness.instances).toHaveLength(1) expect(harness.instances[0]?.options.fontSize).toBe(18) - expect(fit).toHaveBeenCalledExactlyOnceWith('pty-1', 50, 15) -}) - -it('cancels an obsolete metric owner grid claim before the next change', async () => { - render() - await settleGeometry() - await act(async () => useAppStore.getState().updateSettings({ terminalFontSize: 18 })) - await act(async () => useAppStore.getState().updateSettings({ terminalLineHeight: 1.5 })) - await settleGeometry() - expect(harness.instances).toHaveLength(3) - expect(fit).toHaveBeenCalledTimes(2) - expect(fit).toHaveBeenLastCalledWith('pty-1', 50, 10) }) diff --git a/src/renderer/src/components/dashboard-popout/AgentTerminalPreview.test.tsx b/src/renderer/src/components/dashboard-popout/AgentTerminalPreview.test.tsx deleted file mode 100644 index 8a78d7a3b65..00000000000 --- a/src/renderer/src/components/dashboard-popout/AgentTerminalPreview.test.tsx +++ /dev/null @@ -1,387 +0,0 @@ -// @vitest-environment happy-dom - -import '@testing-library/jest-dom/vitest' -import type { ITerminalOptions } from '@xterm/xterm' -import { act, cleanup, render, waitFor } from '@testing-library/react' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import type { TerminalPreviewApi } from '../../../../preload/api/dashboard-api' -import type { TerminalPreviewConnectResult } from '../../../../shared/terminal/replay/terminal-preview' - -const terminalHarness = vi.hoisted(() => ({ - instances: [] as { - write: ReturnType - writeCallbacks: (() => void)[] - onDataListener: ((data: string) => void) | null - dispose: ReturnType - resize: ReturnType - reset: ReturnType - paste: ReturnType - input: ReturnType - scrollToTop: ReturnType - scrollToBottom: ReturnType - selectAll: ReturnType - modes: { bracketedPasteMode: boolean } - selectionText: string - customKeyHandler: ((event: KeyboardEvent) => boolean) | null - }[], - userInputListener: null as (() => void) | null, - userInputDispose: vi.fn() -})) - -const platformState = vi.hoisted(() => ({ value: 'linux' })) -const storeState = vi.hoisted(() => ({ - settings: null, - keybindings: {} as Record -})) - -const imeHarness = vi.hoisted(() => ({ - forwarders: [] as { - claimKeyEvent: ReturnType - dispose: ReturnType - sendInput: (data: string) => void - getKittyKeyboardFlags: () => number - }[], - trackers: [] as { dispose: ReturnType }[], - claimResult: false -})) - -vi.mock('@xterm/xterm', () => ({ - Terminal: class { - cols = 80 - rows = 24 - buffer = { active: { cursorY: 0 } } - writeCallbacks: (() => void)[] = [] - onDataListener: ((data: string) => void) | null = null - customKeyHandler: ((event: KeyboardEvent) => boolean) | null = null - selectionText = '' - write = vi.fn((_data: string, callback?: () => void) => { - if (callback) { - this.writeCallbacks.push(callback) - } - }) - open = vi.fn() - focus = vi.fn() - dispose = vi.fn() - resize = vi.fn() - reset = vi.fn() - modes = { bracketedPasteMode: false } - paste = vi.fn((data: string) => { - terminalHarness.userInputListener?.() - this.onDataListener?.(data) - }) - input = vi.fn((data: string) => { - terminalHarness.userInputListener?.() - this.onDataListener?.(data) - }) - element = document.createElement('div') - unicode = { activeVersion: '6', versions: ['6', '11'], register: vi.fn() } - loadAddon = vi.fn() - options: ITerminalOptions = {} - attachCustomWheelEventHandler = vi.fn() - scrollToTop = vi.fn() - scrollToBottom = vi.fn() - selectAll = vi.fn() - getSelection = vi.fn(() => this.selectionText) - hasSelection = vi.fn(() => this.selectionText !== '') - attachCustomKeyEventHandler = vi.fn((handler: (event: KeyboardEvent) => boolean) => { - this.customKeyHandler = handler - }) - onData = vi.fn((listener: (data: string) => void) => { - this.onDataListener = listener - return { dispose: vi.fn() } - }) - - constructor() { - terminalHarness.instances.push(this) - } - } -})) -vi.mock(import('@/lib/pane-manager/pane-terminal-options'), async (importOriginal) => ({ - ...(await importOriginal()), - buildDefaultTerminalOptions: () => ({}) -})) -vi.mock('@/components/terminal-pane/input/terminal-user-input-signal', () => ({ - subscribeToTerminalUserInput: (_terminal: unknown, listener: () => void) => { - terminalHarness.userInputListener = listener - return { dispose: terminalHarness.userInputDispose } - } -})) -vi.mock('@/hooks/theme/use-system-prefers-dark', () => ({ - useSystemPrefersDark: () => false -})) -vi.mock('@/lib/keyboard/shortcut-platform', () => ({ - getShortcutPlatform: () => platformState.value -})) -vi.mock('@/components/terminal-pane/input/ime/terminal-ime-native-text-forwarder', () => ({ - installTerminalImeNativeTextForwarder: (args: { - sendInput: (data: string) => void - getKittyKeyboardFlags?: () => number - }) => { - const forwarder = { - claimKeyEvent: vi.fn(() => imeHarness.claimResult), - dispose: vi.fn(), - sendInput: args.sendInput, - // Read the same live keyboard-mode mirror the real commit forwarder receives. - getKittyKeyboardFlags: args.getKittyKeyboardFlags ?? ((): number => 0) - } - imeHarness.forwarders.push(forwarder) - return forwarder - } -})) -vi.mock('@/components/terminal-pane/input/ime/terminal-ime-composition-tracker', () => ({ - installTerminalImeCompositionTracker: () => { - const tracker = { isActive: () => false, dispose: vi.fn() } - imeHarness.trackers.push(tracker) - return tracker - } -})) -vi.mock('@/store', () => { - const useAppStore = (selector: (s: typeof storeState) => unknown): unknown => selector(storeState) - useAppStore.getState = (): typeof storeState => storeState - return { useAppStore } -}) - -type RemotePreviewSubscription = { - terminal: string - callbacks: { - onSnapshot: (data: string, meta?: { cols?: number; rows?: number; seq?: number }) => void - onData: (data: string, meta?: { seq?: number }) => void - } -} -const multiplexerHarness = vi.hoisted(() => { - const environments: string[] = [] - const subscriptions: RemotePreviewSubscription[] = [] - return { environments, subscriptions, sendInput: vi.fn(() => true), close: vi.fn() } -}) -vi.mock( - '@/runtime/hosted-terminals/streams/registry/remote-runtime-terminal-multiplexer-registry', - () => ({ - getRemoteRuntimeTerminalMultiplexer: (environmentId: string) => { - multiplexerHarness.environments.push(environmentId) - return { - subscribeTerminal: async (args: RemotePreviewSubscription) => { - multiplexerHarness.subscriptions.push(args) - return { - sendInput: multiplexerHarness.sendInput, - claimViewport: vi.fn(() => true), - close: multiplexerHarness.close - } - } - } - } - }) -) - -import { AgentTerminalPreview } from './AgentTerminalPreview' -import { resetRemoteRuntimeTerminalPreviewSessionsForTests } from './remote-runtime-terminal-preview-api' - -describe('AgentTerminalPreview', () => { - const input = vi.fn(async (_ptyId: string, _data: string) => true) - const fit = vi.fn(async (_ptyId: string, cols: number, rows: number) => ({ cols, rows })) - const ack = vi.fn(async () => {}) - const unsubscribe = vi.fn(async () => {}) - const connect = vi.fn() - const readClipboardText = vi.fn(async () => 'clip-text') - const writeClipboardText = vi.fn(async () => {}) - const writeTerminalClipboardText = vi.fn(async () => {}) - let emitData: ((payload: unknown) => void) | null - - beforeEach(() => { - terminalHarness.instances.length = 0 - terminalHarness.userInputListener = null - platformState.value = 'linux' - storeState.keybindings = {} - imeHarness.forwarders.length = 0 - imeHarness.trackers.length = 0 - imeHarness.claimResult = false - emitData = null - connect.mockResolvedValue({ - snapshot: { data: '', cols: 80, rows: 24, seq: 1 }, - replay: [] - }) - readClipboardText.mockResolvedValue('clip-text') - Object.assign(window, { - api: { - terminalPreview: { - connect, - input, - fit, - ack, - unsubscribe, - onData: (listener: (payload: unknown) => void) => { - emitData = listener - return vi.fn() - } - }, - ui: { - readClipboardText, - writeClipboardText, - writeTerminalClipboardText, - performNativeSelectionAction: vi.fn() - } - } - }) - }) - - afterEach(() => { - cleanup() - vi.useRealTimers() - resetRemoteRuntimeTerminalPreviewSessionsForTests() - multiplexerHarness.environments.length = 0 - multiplexerHarness.subscriptions.length = 0 - vi.clearAllMocks() - }) - - it('routes signaled user input while a live write parses and drops parser replies', async () => { - render() - await waitFor(() => expect(terminalHarness.instances).toHaveLength(1)) - const terminal = terminalHarness.instances[0]! - await waitFor(() => expect(terminal.onDataListener).not.toBeNull()) - - act(() => { - emitData?.({ type: 'data', ptyId: 'pty-1', data: '\x1b[6n', bytes: 4 }) - }) - expect(terminal.write).toHaveBeenCalledWith('\x1b[6n', expect.any(Function)) - - act(() => { - terminalHarness.userInputListener?.() - terminal.onDataListener?.('k') - terminal.onDataListener?.('\x1b[1;1R') - }) - expect(input).toHaveBeenCalledTimes(1) - expect(input).toHaveBeenCalledWith('pty-1', 'k') - - // Why drain all: the connection's kitty restore write queues ahead of the live chunk. - act(() => terminal.writeCallbacks.splice(0).forEach((callback) => callback())) - expect(ack).toHaveBeenCalledWith('pty-1', 4) - }) - - it('keeps a native input-source chord from inserting text into the preview', async () => { - storeState.keybindings = { 'terminal.switchInputSource': ['Shift+Space'] } - const view = render() - await waitFor(() => expect(terminalHarness.instances).toHaveLength(1)) - const terminal = terminalHarness.instances[0]! - await waitFor(() => expect(terminal.customKeyHandler).not.toBeNull()) - - const keydown = new KeyboardEvent('keydown', { - key: ' ', - code: 'Space', - shiftKey: true, - bubbles: true, - cancelable: true - }) - expect(terminal.customKeyHandler!(keydown)).toBe(false) - expect(keydown.defaultPrevented).toBe(false) - - const keypress = new KeyboardEvent('keypress', { - key: ' ', - bubbles: true, - cancelable: true - }) - window.dispatchEvent(keypress) - expect(keypress.defaultPrevented).toBe(true) - - const beforeInput = new InputEvent('beforeinput', { - data: ' ', - inputType: 'insertText', - bubbles: true, - cancelable: true - }) - window.dispatchEvent(beforeInput) - expect(beforeInput.defaultPrevented).toBe(true) - - window.dispatchEvent(new KeyboardEvent('keyup', { key: ' ', code: 'Space', bubbles: true })) - const unarmedBeforeInput = new InputEvent('beforeinput', { - data: ' ', - inputType: 'insertText', - bubbles: true, - cancelable: true - }) - window.dispatchEvent(unarmedBeforeInput) - expect(unarmedBeforeInput.defaultPrevented).toBe(false) - expect(terminal.input).not.toHaveBeenCalled() - expect(input).not.toHaveBeenCalled() - - view.unmount() - }) - - // Snapshot replay can redeliver a kitty push; it must not leave stale flags after the TUI’s single pop. - it('does not let a redelivered kitty push outlive the TUI pop', async () => { - connect.mockResolvedValueOnce({ - snapshot: { data: '\x1b[>1u', cols: 80, rows: 24, seq: 1 }, - replay: [{ data: '\x1b[>1u', mode: 'replay' }] - }) - render() - await waitFor(() => expect(terminalHarness.instances).toHaveLength(1)) - const terminal = terminalHarness.instances[0]! - await waitFor(() => expect(terminal.customKeyHandler).not.toBeNull()) - - const altBackspace = (): KeyboardEvent => - new KeyboardEvent('keydown', { key: 'Backspace', code: 'Backspace', altKey: true }) - expect(terminal.customKeyHandler!(altBackspace())).toBe(true) - - // The TUI exits and pops once on the live stream. - act(() => { - emitData?.({ type: 'data', ptyId: 'pty-1', data: '\x1b[ { - let resolveRefresh!: (value: TerminalPreviewConnectResult) => void - connect - .mockResolvedValueOnce({ - snapshot: { data: 'first', cols: 80, rows: 24, seq: 1 }, - replay: [] - }) - .mockImplementationOnce( - () => - new Promise((resolve) => { - resolveRefresh = resolve - }) - ) - const view = render() - await waitFor(() => expect(terminalHarness.instances).toHaveLength(1)) - const terminal = terminalHarness.instances[0]! - - act(() => emitData?.({ type: 'resync', ptyId: 'pty-1' })) - await waitFor(() => expect(connect).toHaveBeenCalledTimes(2)) - expect(terminalHarness.instances).toHaveLength(1) - expect(terminal.dispose).not.toHaveBeenCalled() - expect(terminal.reset).not.toHaveBeenCalled() - expect(view.queryByText(/No preview available/)).not.toBeInTheDocument() - - await act(async () => { - resolveRefresh({ - snapshot: { data: 'second', cols: 100, rows: 30, seq: 2 }, - replay: [] - }) - }) - await waitFor(() => expect(terminal.reset).toHaveBeenCalledTimes(1)) - expect(terminal.resize).toHaveBeenCalledWith(100, 30) - expect(terminalHarness.instances).toHaveLength(1) - expect(terminal.dispose).not.toHaveBeenCalled() - expect(view.queryByText(/No preview available/)).not.toBeInTheDocument() - }) - - it('disposes a stale terminal when resync confirms the pty is gone', async () => { - connect - .mockResolvedValueOnce({ - snapshot: { data: 'first', cols: 80, rows: 24, seq: 1 }, - replay: [] - }) - .mockResolvedValueOnce({ snapshot: null, replay: [] }) - const view = render() - await waitFor(() => expect(terminalHarness.instances).toHaveLength(1)) - const terminal = terminalHarness.instances[0]! - - act(() => emitData?.({ type: 'resync', ptyId: 'pty-1' })) - - await waitFor(() => expect(view.getByText(/No preview available/)).toBeInTheDocument()) - expect(terminal.dispose).toHaveBeenCalledTimes(1) - expect(terminalHarness.userInputDispose).toHaveBeenCalledTimes(1) - expect(unsubscribe).toHaveBeenCalledWith('pty-1') - }) -}) diff --git a/src/renderer/src/components/dashboard-popout/AgentTerminalPreview.tsx b/src/renderer/src/components/dashboard-popout/AgentTerminalPreview.tsx index 9ef12243799..952a64d9b1f 100644 --- a/src/renderer/src/components/dashboard-popout/AgentTerminalPreview.tsx +++ b/src/renderer/src/components/dashboard-popout/AgentTerminalPreview.tsx @@ -1,6 +1,4 @@ -import type { PreviewTerminalLinkHandler } from './preview-terminal-links' import { useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react' -import type { ITheme, Terminal } from '@xterm/xterm' import { useShallow } from 'zustand/react/shallow' import { composeActiveTerminalTheme } from '@/components/terminal-pane/appearance/terminal-appearance' import { useSystemPrefersDark } from '@/hooks/theme/use-system-prefers-dark' @@ -13,29 +11,26 @@ import { previewAdvertisesKittyKeyboard } from './preview-terminal-options' import { syncPreviewTerminalLigatures } from './preview-terminal-ligatures' -import type { DashboardCardTerminalInput } from '../../../../shared/dashboard-snapshot' import { terminalPreviewUnavailableMessage } from './terminal-preview-unavailable-message' -import { resolveEffectiveTerminalAppearance } from '@/lib/terminal-theme' -import { cn } from '@/lib/utils' -import { useAppStore } from '@/store' +import { resolveEffectiveTerminalAppearance } from '@/lib/terminal/appearance/terminal-theme' +import { cn } from '@/lib/class-names' +import { useAppStore } from '@/store/index' import { usePluginFontReady } from '@/store/plugins/appearance/plugin-fonts' import { createPreviewGridClaim } from './preview-grid-claim' import { createPreviewBoxFit } from './preview-terminal-box-fit' -import { - openStandaloneTerminal, - type StandaloneTerminal -} from '../standalone-terminal/open-standalone-terminal' -import type { TerminalPreviewDataPayload } from '../../../../shared/terminal/replay/terminal-preview' +import { openStandaloneTerminal } from '../standalone-terminal/open-standalone-terminal' +import type { StandaloneTerminal } from '../standalone-terminal/open-standalone-terminal' import { terminalPreviewApiFor } from './terminal-preview-api' - import { LinkActionPopover } from '@/components/link-actions/LinkActionPopover' -import { - closeLinkActionRequest, - type LinkActionRequest -} from '@/components/link-actions/link-action-request' +import { closeLinkActionRequest } from '@/components/link-actions/link-action-request' +import type { LinkActionRequest } from '@/components/link-actions/link-action-request' import { installDashboardPreviewLinkInteraction } from './dashboard-preview-link-interaction' -import type { DashboardPreviewLinkSource } from './dashboard-preview-http-actions' import { useTranslate } from '@/i18n/use-translate' +import type { PreviewTerminalLinkHandler } from './preview-terminal-links' +import type { ITheme, Terminal } from '@xterm/xterm' +import type { DashboardCardTerminalInput } from '../../../../shared/dashboard-snapshot' +import type { TerminalPreviewDataPayload } from '../../../../shared/terminal/replay/terminal-preview' +import type { DashboardPreviewLinkSource } from './dashboard-preview-http-actions' const PREVIEW_SCROLLBACK_ROWS = 24 // Preview snapshots bound history; pane scrollback would only cost memory. diff --git a/src/renderer/src/components/dashboard-popout/DashboardHostBadge.tsx b/src/renderer/src/components/dashboard-popout/DashboardHostBadge.tsx index cd8557f37f8..0e95bb2ee15 100644 --- a/src/renderer/src/components/dashboard-popout/DashboardHostBadge.tsx +++ b/src/renderer/src/components/dashboard-popout/DashboardHostBadge.tsx @@ -2,7 +2,7 @@ import { Server } from 'lucide-react' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { translate } from '@/i18n/i18n' import { useTranslate, type Translate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import type { DashboardCardHostKind } from '../../../../shared/dashboard-snapshot' import { parseExecutionHostId, type ExecutionHostId } from '../../../../shared/execution-host' diff --git a/src/renderer/src/components/dashboard-popout/agent-dashboard-filter-options.ts b/src/renderer/src/components/dashboard-popout/agent-dashboard-filter-options.ts index 95443eb6f31..1ec983eb14e 100644 --- a/src/renderer/src/components/dashboard-popout/agent-dashboard-filter-options.ts +++ b/src/renderer/src/components/dashboard-popout/agent-dashboard-filter-options.ts @@ -1,5 +1,6 @@ import { translate } from '@/i18n/i18n' import type { Translate } from '@/i18n/use-translate' +import { translateWorkspaceBoardStatusLabel } from '@/components/sidebar/workspace-board-status-label' import type { DashboardCard, DashboardFilterOption } from '../../../../shared/dashboard-snapshot' import type { DashboardReviewFilter } from './agent-board-filtering' @@ -35,7 +36,7 @@ export function workspaceStatusOptions( } options.set(card.workspaceStatusId, { id: card.workspaceStatusId, - label: card.workspaceStatusLabel ?? card.workspaceStatusId, + label: dashboardWorkspaceStatusLabel(card), color: card.workspaceStatusColor, count: counts.get(card.workspaceStatusId) ?? 0 }) @@ -43,6 +44,13 @@ export function workspaceStatusOptions( return [...options.values()] } +export function dashboardWorkspaceStatusLabel( + card: Pick +): string { + const id = card.workspaceStatusId ?? '' + return translateWorkspaceBoardStatusLabel({ id, label: card.workspaceStatusLabel ?? id }) +} + export function projectOptions( cards: DashboardCard[], configured: DashboardFilterOption[] | undefined diff --git a/src/renderer/src/components/dashboard-popout/dashboard-preview-http-actions.ts b/src/renderer/src/components/dashboard-popout/dashboard-preview-http-actions.ts index d2bf0a8f9b3..91bd1aef3a0 100644 --- a/src/renderer/src/components/dashboard-popout/dashboard-preview-http-actions.ts +++ b/src/renderer/src/components/dashboard-popout/dashboard-preview-http-actions.ts @@ -1,29 +1,31 @@ import { toast } from 'sonner' import { intentPresentation } from '@/lib/browser/workspace/workspace-browser-tab-presentation' -import type { DashboardCard } from '../../../../shared/dashboard-snapshot' import { parseAppSshPtyId } from '../../../../shared/ssh-pty-id' import { parseRoutableExecutionHostId } from '../../../../shared/execution-host' import { parseRemoteRuntimePtyId, isRemoteRuntimePtyId } from '../../../../shared/remote-runtime/remote-runtime-pty-id' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { resolveOwner } from '@/lib/workspace/ownership/resolve-owner' import { resolveWorktreeOperationRoute } from '@/lib/workspace/ownership/worktree-operation-route' import { createBrowserLinkHostMatcher } from '@/lib/browser/navigation/browser-link-owner' -import { getWorkspaceClientCreationActionPolicy } from '@/lib/client-creation-action-policy' +import { getWorkspaceClientCreationActionPolicy } from '@/lib/workspace/creation/surface-policy/client-creation-action-policy' import { canOpenWorkspaceBrowserTabOnRuntime, canOpenWorkspaceBrowserTabOnSsh } from '@/lib/browser/workspace/workspace-browser-route-eligibility' -import type { HttpLinkSourceOwner } from '@/lib/browser/navigation/http-link-routing' import { buildHttpLinkActions, httpLinkActionDestinationsFor, - openRoutedHttpLink, - type HttpLinkDestination, - type HttpLinkActionDestinations + openRoutedHttpLink } from '@/lib/browser/navigation/http-link-destinations' +import type { + HttpLinkDestination, + HttpLinkActionDestinations +} from '@/lib/browser/navigation/http-link-destinations' +import type { DashboardCard } from '../../../../shared/dashboard-snapshot' +import type { HttpLinkSourceOwner } from '@/lib/browser/navigation/http-link-routing' export type DashboardPreviewLinkSource = Pick< DashboardCard, diff --git a/src/renderer/src/components/dashboard-popout/dashboard-preview-link-interaction.ts b/src/renderer/src/components/dashboard-popout/dashboard-preview-link-interaction.ts index afa28feafba..a75ae43fad9 100644 --- a/src/renderer/src/components/dashboard-popout/dashboard-preview-link-interaction.ts +++ b/src/renderer/src/components/dashboard-popout/dashboard-preview-link-interaction.ts @@ -14,7 +14,7 @@ import { getTerminalBufferPositionForMouseEvent } from '@/components/terminal-pa import { findHttpLinkAtTerminalMouseEvent } from '@/components/terminal-pane/links/http/terminal-url-link-hit-testing' import { findTerminalHttpLinkAtBufferPosition } from '../../../../shared/terminal/links/terminal-link-buffer-hit-testing' import { httpLinkDirectClickDestination } from '@/lib/browser/navigation/http-link-destinations' -import { isWindowsUserAgent } from '@/lib/user-agent-platform' +import { isWindowsUserAgent } from '@/app-shell/platform/user-agent-platform' import type { GlobalSettings } from '../../../../shared/global-settings-types' import { dashboardPreviewHttpActions, diff --git a/src/renderer/src/components/dashboard-popout/preview-terminal-box-fit.ts b/src/renderer/src/components/dashboard-popout/preview-terminal-box-fit.ts index 05a699262b6..2dbb019fd48 100644 --- a/src/renderer/src/components/dashboard-popout/preview-terminal-box-fit.ts +++ b/src/renderer/src/components/dashboard-popout/preview-terminal-box-fit.ts @@ -1,5 +1,5 @@ import type { Terminal } from '@xterm/xterm' -import { PaneReparentFrameTracker } from '@/lib/pane-manager/pane-reparent-frame-tracker' +import { PaneReparentFrameTracker } from '@/lib/pane-manager/pane-layout/pane-reparent-frame-tracker' type PreviewBoxFitTerminal = Pick diff --git a/src/renderer/src/components/dashboard-popout/preview-terminal-compatibility.ts b/src/renderer/src/components/dashboard-popout/preview-terminal-compatibility.ts index dc6bc9d1608..00640ae9cdc 100644 --- a/src/renderer/src/components/dashboard-popout/preview-terminal-compatibility.ts +++ b/src/renderer/src/components/dashboard-popout/preview-terminal-compatibility.ts @@ -2,11 +2,11 @@ import type { Terminal } from '@xterm/xterm' import { Unicode11Addon } from '@xterm/addon-unicode11' import type { GlobalSettings } from '../../../../shared/global-settings-types' import { activateOrcaTerminalUnicodeProvider } from '../../../../shared/terminal/appearance/terminal-unicode-provider' -import { installWindowsCtrlAltChordRepair } from '@/lib/pane-manager/terminal-windows-ctrl-alt-chord-classification' -import { attachTerminalMouseWheelMultiplier } from '@/lib/pane-manager/pane-terminal-mouse-wheel' -import { configureLazyArabicShapingJoiner } from '@/lib/pane-manager/terminal-arabic-shaping-joiner' -import { installTerminalImeCandidateAnchor } from '@/lib/pane-manager/terminal-ime-candidate-anchor' -import { normalizeTerminalTuiMouseWheelMultiplier } from '@/lib/pane-manager/pane-terminal-tui-wheel-reports' +import { installWindowsCtrlAltChordRepair } from '@/lib/pane-manager/terminal-protocol/terminal-windows-ctrl-alt-chord-classification' +import { attachTerminalMouseWheelMultiplier } from '@/lib/pane-manager/terminal-input/pane-terminal-mouse-wheel' +import { configureLazyArabicShapingJoiner } from '@/lib/pane-manager/terminal-rendering/terminal-arabic-shaping-joiner' +import { installTerminalImeCandidateAnchor } from '@/lib/pane-manager/terminal-input/terminal-ime-candidate-anchor' +import { normalizeTerminalTuiMouseWheelMultiplier } from '@/lib/pane-manager/terminal-input/pane-terminal-tui-wheel-reports' import { installPreviewTerminalLinks, type PreviewTerminalLinkHandlers diff --git a/src/renderer/src/components/dashboard-popout/preview-terminal-ligatures.ts b/src/renderer/src/components/dashboard-popout/preview-terminal-ligatures.ts index 336b191e987..1da2f26a134 100644 --- a/src/renderer/src/components/dashboard-popout/preview-terminal-ligatures.ts +++ b/src/renderer/src/components/dashboard-popout/preview-terminal-ligatures.ts @@ -1,7 +1,7 @@ import type { Terminal } from '@xterm/xterm' import type { GlobalSettings } from '../../../../shared/global-settings-types' import { resolveTerminalLigaturesEnabled } from '../../../../shared/terminal/appearance/terminal-ligatures' -import { TerminalLigaturesAddon } from '@/lib/pane-manager/terminal-ligatures-addon' +import { TerminalLigaturesAddon } from '@/lib/pane-manager/terminal-rendering/terminal-ligatures-addon' const ligatureAddonsByTerminal = new WeakMap() diff --git a/src/renderer/src/components/dashboard-popout/preview-terminal-links.ts b/src/renderer/src/components/dashboard-popout/preview-terminal-links.ts index 72b4ad9b0cc..a129ef4de62 100644 --- a/src/renderer/src/components/dashboard-popout/preview-terminal-links.ts +++ b/src/renderer/src/components/dashboard-popout/preview-terminal-links.ts @@ -1,6 +1,6 @@ import type { IBufferRange, ILinkHandler, Terminal } from '@xterm/xterm' import { WebLinksAddon } from '@xterm/addon-web-links' -import { installGuardedLinkProviderRegistration } from '@/lib/pane-manager/terminal-link-provider-guard' +import { installGuardedLinkProviderRegistration } from '@/lib/pane-manager/terminal-input/terminal-link-provider-guard' import { isTerminalLinkDirectActivation as isTerminalHttpLinkActivation } from '@/components/terminal-pane/links/gestures/terminal-link-activation' import { TERMINAL_HTTP_URL_REGEX } from '../../../../shared/terminal/links/terminal-http-url-extraction' diff --git a/src/renderer/src/components/dashboard-popout/preview-terminal-options.ts b/src/renderer/src/components/dashboard-popout/preview-terminal-options.ts index 0ecc2675302..6726e0dd912 100644 --- a/src/renderer/src/components/dashboard-popout/preview-terminal-options.ts +++ b/src/renderer/src/components/dashboard-popout/preview-terminal-options.ts @@ -10,8 +10,8 @@ import { resolveTerminalCursorInactiveStyle, resolveTerminalScrollOnUserInput } from '@/lib/pane-manager/pane-terminal-options' -import { buildLocalConptyTerminalOptions } from '@/lib/pane-manager/windows-pty-compatibility' -import { buildFontFamily } from '@/lib/monospace-font-family' +import { buildLocalConptyTerminalOptions } from '@/lib/pane-manager/terminal-protocol/windows-pty-compatibility' +import { buildFontFamily } from '../../../../shared/monospace-font-family' import { pluginFontFamilyWhenLoaded } from '@/store/plugins/appearance/plugin-fonts' import { resolveTerminalMinimumContrastRatio } from '../../../../shared/terminal-themes/terminal-contrast-correction' diff --git a/src/renderer/src/components/dashboard-popout/remote-runtime-terminal-preview-api.test.ts b/src/renderer/src/components/dashboard-popout/remote-runtime-terminal-preview-api.test.ts deleted file mode 100644 index e7e465abf27..00000000000 --- a/src/renderer/src/components/dashboard-popout/remote-runtime-terminal-preview-api.test.ts +++ /dev/null @@ -1,185 +0,0 @@ -import { afterEach, describe, expect, it, vi } from 'vitest' -import type { RemoteRuntimeMultiplexedTerminalCallbacks } from '@/runtime/hosted-terminals/streams/remote-terminal-stream-contracts' -import type { TerminalPreviewDataPayload } from '../../../../shared/terminal/replay/terminal-preview' - -type Subscription = { - environmentId: string - terminal: string - clientId: string - callbacks: RemoteRuntimeMultiplexedTerminalCallbacks - stream: { - sendInput: ReturnType - claimViewport: ReturnType - serializeBufferOutcome: ReturnType - close: ReturnType - } -} - -const harness = vi.hoisted(() => { - const subscriptions: Subscription[] = [] - return { subscriptions } -}) - -vi.mock( - '@/runtime/hosted-terminals/streams/registry/remote-runtime-terminal-multiplexer-registry', - () => ({ - getRemoteRuntimeTerminalMultiplexer: (environmentId: string) => ({ - subscribeTerminal: async (args: { - terminal: string - client: { id: string } - callbacks: RemoteRuntimeMultiplexedTerminalCallbacks - }) => { - const stream = { - sendInput: vi.fn(() => true), - claimViewport: vi.fn(() => true), - serializeBufferOutcome: vi.fn(), - close: vi.fn() - } - harness.subscriptions.push({ - environmentId, - terminal: args.terminal, - clientId: args.client.id, - callbacks: args.callbacks, - stream - }) - return stream - } - }) - }) -) - -import { deliverTerminalDataWithDeferredCredit } from '@/lib/pane-manager/terminal-delivery-credit' -import { - remoteRuntimeTerminalPreviewApi as api, - resetRemoteRuntimeTerminalPreviewSessionsForTests -} from './remote-runtime-terminal-preview-api' - -const PTY = 'remote:env-a@@term-1' - -async function openPreview(): Promise<{ - sub: Subscription - payloads: TerminalPreviewDataPayload[] -}> { - const payloads: TerminalPreviewDataPayload[] = [] - api.onData((payload) => payloads.push(payload)) - const connecting = api.connect(PTY, { scrollbackRows: 24 }) - await vi.waitFor(() => expect(harness.subscriptions).toHaveLength(1)) - const sub = harness.subscriptions[0]! - sub.callbacks.onSnapshot('screen', { cols: 90, rows: 30, seq: 10 }) - await expect(connecting).resolves.toEqual({ - snapshot: expect.objectContaining({ data: 'screen', cols: 90, rows: 30, seq: 10 }), - replay: [] - }) - return { sub, payloads } -} - -describe('remoteRuntimeTerminalPreviewApi', () => { - afterEach(() => { - resetRemoteRuntimeTerminalPreviewSessionsForTests() - harness.subscriptions.length = 0 - }) - - it('refuses an id without its owning host instead of guessing one', async () => { - await expect(api.connect('remote:term-1')).resolves.toEqual({ snapshot: null, replay: [] }) - expect(harness.subscriptions).toHaveLength(0) - }) - - it('refreshes on the same stream and replays only output past the snapshot', async () => { - const { sub, payloads } = await openPreview() - let answer: (value: unknown) => void = () => {} - sub.stream.serializeBufferOutcome.mockReturnValue(new Promise((resolve) => (answer = resolve))) - - const refreshing = api.connect(PTY, { scrollbackRows: 24 }) - sub.callbacks.onData('covered', { seq: 20 }) - sub.callbacks.onData('after', { seq: 25 }) - answer({ - availability: { kind: 'snapshot' }, - snapshot: { data: 'fresh', cols: 90, rows: 30, seq: 20 } - }) - - await expect(refreshing).resolves.toEqual({ - snapshot: expect.objectContaining({ data: 'fresh', seq: 20 }), - replay: [{ data: 'after', mode: 'live' }] - }) - expect(sub.stream.serializeBufferOutcome).toHaveBeenCalledWith({ scrollbackRows: 24 }) - expect(harness.subscriptions).toHaveLength(1) - expect(payloads).toEqual([]) - }) - - it('drops covered output the host forwards after a requested snapshot and slices a straddler', async () => { - const { sub, payloads } = await openPreview() - sub.stream.serializeBufferOutcome.mockResolvedValue({ - availability: { kind: 'snapshot' }, - snapshot: { data: 'fresh', cols: 90, rows: 30, seq: 20 } - }) - await expect(api.connect(PTY)).resolves.toMatchObject({ replay: [] }) - - // A tagged reply is followed by every chunk the host buffered, covered ones included. - sub.callbacks.onData('old', { seq: 18, rawLength: 3 }) - sub.callbacks.onData('ABCDE', { seq: 23, rawLength: 5 }) - sub.callbacks.onData('next', { seq: 27, rawLength: 4 }) - expect(payloads).toEqual([ - { type: 'data', ptyId: PTY, data: 'CDE', bytes: 3 }, - { type: 'data', ptyId: PTY, data: 'next', bytes: 4 } - ]) - }) - - it('returns transport credit only once the preview has parsed the chunk', async () => { - const { sub } = await openPreview() - const credit = vi.fn() - deliverTerminalDataWithDeferredCredit(credit, () => - sub.callbacks.onData('live', { seq: 14, rawLength: 4 }) - ) - expect(credit).not.toHaveBeenCalled() - - await api.ack(PTY, 4) - expect(credit).toHaveBeenCalledTimes(1) - }) - - it('returns held credit when the preview closes', async () => { - const { sub } = await openPreview() - const credit = vi.fn() - deliverTerminalDataWithDeferredCredit(credit, () => sub.callbacks.onData('live', { seq: 14 })) - - await api.unsubscribe(PTY) - expect(credit).toHaveBeenCalledTimes(1) - }) - - it('asks for a repaint when the grid changes, not when the same grid is re-announced', async () => { - const { sub, payloads } = await openPreview() - await expect(api.fit(PTY, 120, 40)).resolves.toEqual({ cols: 120, rows: 40 }) - expect(sub.stream.claimViewport).toHaveBeenCalledWith(120, 40) - - sub.callbacks.onFitOverrideChanged?.({ mode: 'remote-desktop-fit', cols: 90, rows: 30 }) - expect(payloads).toEqual([]) - sub.callbacks.onFitOverrideChanged?.({ mode: 'remote-desktop-fit', cols: 120, rows: 40 }) - expect(payloads).toEqual([{ type: 'resync', ptyId: PTY }]) - }) - - it('reports an ended stream as unavailable on the next connect', async () => { - const { sub, payloads } = await openPreview() - sub.callbacks.onEnd?.('exited') - expect(payloads).toEqual([{ type: 'resync', ptyId: PTY }]) - - await expect(api.connect(PTY)).resolves.toEqual({ snapshot: null, replay: [] }) - expect(sub.stream.close).toHaveBeenCalled() - }) - - it('reopens after loss of contact rather than calling the pane gone', async () => { - const { sub } = await openPreview() - sub.callbacks.onTransportClose?.({ recoverable: true }) - - const reopening = api.connect(PTY) - await vi.waitFor(() => expect(harness.subscriptions).toHaveLength(2)) - harness.subscriptions[1]!.callbacks.onSnapshot('again', { cols: 90, rows: 30, seq: 3 }) - await expect(reopening).resolves.toMatchObject({ snapshot: { data: 'again' } }) - expect(sub.stream.serializeBufferOutcome).not.toHaveBeenCalled() - }) - - it('closes the host stream on unsubscribe so its viewport claim is released', async () => { - const { sub } = await openPreview() - await api.unsubscribe(PTY) - expect(sub.stream.close).toHaveBeenCalledTimes(1) - await expect(api.input(PTY, 'x')).resolves.toBe(false) - }) -}) diff --git a/src/renderer/src/components/dashboard-popout/remote-runtime-terminal-preview-api.ts b/src/renderer/src/components/dashboard-popout/remote-runtime-terminal-preview-api.ts index 6cdd036786d..0ee2a2934ab 100644 --- a/src/renderer/src/components/dashboard-popout/remote-runtime-terminal-preview-api.ts +++ b/src/renderer/src/components/dashboard-popout/remote-runtime-terminal-preview-api.ts @@ -1,5 +1,5 @@ import { createNonSecureContextUuid as createBrowserUuid } from '../../../../shared/non-secure-context-uuid' -import { takeCurrentTerminalDeliveryCredit } from '@/lib/pane-manager/terminal-delivery-credit' +import { takeCurrentTerminalDeliveryCredit } from '@/lib/pane-manager/terminal-output/terminal-delivery-credit' import { getRemoteRuntimeTerminalMultiplexer } from '@/runtime/hosted-terminals/streams/registry/remote-runtime-terminal-multiplexer-registry' import type { RemoteRuntimeMultiplexedTerminal, diff --git a/src/renderer/src/components/dashboard-popout/use-agent-dashboard-telemetry.test.ts b/src/renderer/src/components/dashboard-popout/use-agent-dashboard-telemetry.test.ts deleted file mode 100644 index 5b351691f32..00000000000 --- a/src/renderer/src/components/dashboard-popout/use-agent-dashboard-telemetry.test.ts +++ /dev/null @@ -1,120 +0,0 @@ -// @vitest-environment happy-dom - -import { act, cleanup, renderHook } from '@testing-library/react' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { getDefaultSettings } from '../../../../shared/constants' -import type { TelemetryConsentState } from '../../../../shared/telemetry-consent-types' -import { useAppStore } from '@/store' - -const { track, getConsentState } = vi.hoisted(() => ({ - track: vi.fn(), - getConsentState: vi.fn() -})) -vi.mock('@/lib/telemetry', () => ({ track, trackWithResult: track, getConsentState })) - -import { useAgentDashboardTelemetry } from './use-agent-dashboard-telemetry' - -const initialState = useAppStore.getInitialState() - -async function flushConsent(): Promise { - await act(async () => { - await Promise.resolve() - }) -} - -function publishSavedConsent(optedIn: boolean | null): void { - useAppStore.setState((state) => ({ - settings: { - ...(state.settings ?? getDefaultSettings(process.cwd())), - telemetry: { optedIn, installId: 'test-install', existedBeforeTelemetryRelease: false } - } - })) -} - -describe('dashboard visible-use telemetry', () => { - let visibility: DocumentVisibilityState - - beforeEach(() => { - vi.useFakeTimers({ now: new Date('2026-10-22T12:00:00Z') }) - track.mockReset().mockResolvedValue(true) - getConsentState.mockReset().mockResolvedValue({ effective: 'enabled' }) - useAppStore.setState({ - settings: { - ...getDefaultSettings(process.cwd()), - telemetry: { - optedIn: true, - installId: 'test-install', - existedBeforeTelemetryRelease: false - } - } - }) - visibility = 'visible' - vi.spyOn(document, 'visibilityState', 'get').mockImplementation(() => visibility) - }) - - afterEach(() => { - cleanup() - useAppStore.setState(initialState, true) - vi.useRealTimers() - vi.restoreAllMocks() - }) - - it.each(['pending_banner', 'user_opt_out', 'do_not_track', 'orca_disabled', 'ci'] as const)( - 'creates no timer or daily-use attempts while blocked by %s', - async (reason) => { - getConsentState.mockResolvedValue( - reason === 'pending_banner' - ? { effective: 'pending_banner' } - : { effective: 'disabled', reason } - ) - renderHook(() => useAgentDashboardTelemetry('popout')) - await flushConsent() - - act(() => vi.advanceTimersByTime(24 * 60 * 60_000)) - - expect(vi.getTimerCount()).toBe(0) - expect(track.mock.calls).toEqual([['agent_dashboard_opened', { surface: 'popout' }]]) - } - ) - - it('starts and stops observing on consent broadcasts without counting a new opening', async () => { - publishSavedConsent(null) - getConsentState.mockResolvedValue({ effective: 'pending_banner' }) - renderHook(() => useAgentDashboardTelemetry('popout')) - await flushConsent() - expect(vi.getTimerCount()).toBe(0) - - getConsentState.mockResolvedValue({ effective: 'enabled' }) - act(() => { - publishSavedConsent(true) - }) - await flushConsent() - expect(vi.getTimerCount()).toBe(1) - expect(track.mock.calls.filter(([event]) => event === 'agent_dashboard_active')).toHaveLength(1) - - getConsentState.mockResolvedValue({ effective: 'disabled', reason: 'user_opt_out' }) - act(() => { - publishSavedConsent(false) - }) - await flushConsent() - expect(vi.getTimerCount()).toBe(0) - expect(track.mock.calls.filter(([event]) => event === 'agent_dashboard_opened')).toHaveLength(1) - }) - - it('does not install an observer after closing before the consent read finishes', async () => { - let resolveConsent: ((value: TelemetryConsentState) => void) | undefined - getConsentState.mockReturnValue( - new Promise((resolve) => { - resolveConsent = resolve - }) - ) - const { unmount } = renderHook(() => useAgentDashboardTelemetry('popout')) - unmount() - - resolveConsent?.({ effective: 'enabled' }) - await flushConsent() - - expect(vi.getTimerCount()).toBe(0) - expect(track.mock.calls).toEqual([['agent_dashboard_opened', { surface: 'popout' }]]) - }) -}) diff --git a/src/renderer/src/components/dashboard-popout/use-agent-dashboard-telemetry.ts b/src/renderer/src/components/dashboard-popout/use-agent-dashboard-telemetry.ts index 9f353179124..9fd788ea8cc 100644 --- a/src/renderer/src/components/dashboard-popout/use-agent-dashboard-telemetry.ts +++ b/src/renderer/src/components/dashboard-popout/use-agent-dashboard-telemetry.ts @@ -1,8 +1,8 @@ import { useEffect } from 'react' import type { AgentDashboardSurface } from '../../../../shared/telemetry-agent-dashboard-event-schemas' -import { getConsentState, track, trackWithResult } from '@/lib/telemetry' -import { installWindowVisibilityInterval } from '@/lib/window-visibility-interval' -import { useAppStore } from '@/store' +import { getConsentState, track, trackWithResult } from '@/diagnostics/telemetry/telemetry' +import { installWindowVisibilityInterval } from '@/lib/window-activity/window-visibility-interval' +import { useAppStore } from '@/store/index' export function useAgentDashboardTelemetry(surface: AgentDashboardSurface): void { const optedIn = useAppStore((state) => state.settings?.telemetry?.optedIn) diff --git a/src/renderer/src/components/dashboard-popout/useDashboardSnapshot.test.tsx b/src/renderer/src/components/dashboard-popout/useDashboardSnapshot.test.tsx deleted file mode 100644 index 07f3e61d19e..00000000000 --- a/src/renderer/src/components/dashboard-popout/useDashboardSnapshot.test.tsx +++ /dev/null @@ -1,161 +0,0 @@ -// @vitest-environment happy-dom - -import { act } from 'react' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { renderHook } from '@testing-library/react' -import type { DashboardCard, DashboardSnapshot } from '../../../../shared/dashboard-snapshot' - -import type { - AgentStatusClearIpcPayload, - AgentStatusIpcPayload -} from '../../../../shared/agent-status/contracts/agent-status-ipc-payload' -import { useDashboardSnapshot } from './useDashboardSnapshot' - -;(globalThis as unknown as { IS_REACT_ACT_ENVIRONMENT: boolean }).IS_REACT_ACT_ENVIRONMENT = true - -function card(overrides: Partial): DashboardCard { - return { - paneKey: 'pk', - ptyId: 'p1', - agentType: 'claude', - bucket: 'working', - dotState: 'working', - task: 't', - repoId: 'r1', - worktreeId: 'w1', - tabId: 'tab1', - leafId: 'l1', - repoName: 'Repo', - worktreeName: 'wt', - startedAt: 0, - finishedAt: null, - stateChangedAt: 0, - unseen: false, - ...overrides - } -} - -function snapshot(cards: DashboardCard[]): DashboardSnapshot { - return { generatedAt: 1, cards } -} - -let apply: (next: DashboardSnapshot) => void -let applyStatus: (next: AgentStatusIpcPayload) => void -let applyClear: (next: AgentStatusClearIpcPayload) => void -const requestSnapshot = vi.fn(async () => {}) -let readyRejection: unknown = null -let hideDocumentAfterTransitionStart = false -const startViewTransition = vi.fn((cb: () => void) => { - cb() - if (hideDocumentAfterTransitionStart) { - hideDocument() - } - return { - finished: Promise.resolve(), - ready: readyRejection !== null ? Promise.reject(readyRejection) : Promise.resolve(), - updateCallbackDone: Promise.resolve() - } -}) - -const originalVisibilityState = Object.getOwnPropertyDescriptor(document, 'visibilityState') - -function hideDocument(): void { - Object.defineProperty(document, 'visibilityState', { value: 'hidden', configurable: true }) -} - -/** Mimic Radix’s open-dialog attributes so the top-layer conflict guard recognizes the terminal. */ - -describe('useDashboardSnapshot', () => { - beforeEach(() => { - ;(window as unknown as { api: unknown }).api = { - dashboard: { - onSnapshot: (cb: (next: DashboardSnapshot) => void) => { - apply = cb - return () => {} - }, - requestSnapshot - }, - agentStatus: { - onSet: (cb: (next: AgentStatusIpcPayload) => void) => { - applyStatus = cb - return () => {} - }, - onClear: (cb: (next: AgentStatusClearIpcPayload) => void) => { - applyClear = cb - return () => {} - } - } - } - ;(document as unknown as { startViewTransition: unknown }).startViewTransition = - startViewTransition - window.matchMedia = vi.fn().mockReturnValue({ matches: false }) as unknown as typeof matchMedia - }) - afterEach(() => { - document.body.innerHTML = '' - readyRejection = null - hideDocumentAfterTransitionStart = false - if (originalVisibilityState) { - Object.defineProperty(document, 'visibilityState', originalVisibilityState) - } else { - Reflect.deleteProperty(document, 'visibilityState') - } - vi.clearAllMocks() - }) - - it('trailing-debounces an unknown-pane burst into one topology refresh', () => { - vi.useFakeTimers() - renderHook(() => useDashboardSnapshot()) - act(() => apply(snapshot([card({})]))) - requestSnapshot.mockClear() - - act(() => { - for (let index = 0; index < 10; index += 1) { - applyStatus({ - paneKey: `unknown-${index}`, - state: 'working', - prompt: '', - connectionId: null, - receivedAt: 300 + index, - stateStartedAt: 250 + index - }) - vi.advanceTimersByTime(40) - } - applyClear({ paneKey: 'pk' }) - vi.advanceTimersByTime(249) - }) - - expect(requestSnapshot).not.toHaveBeenCalled() - act(() => vi.advanceTimersByTime(1)) - expect(requestSnapshot).toHaveBeenCalledTimes(1) - vi.useRealTimers() - }) - - it('refreshes within the max wait while unknown events continue', () => { - vi.useFakeTimers() - renderHook(() => useDashboardSnapshot()) - act(() => apply(snapshot([card({})]))) - requestSnapshot.mockClear() - - const unknown = (index: number): void => - applyStatus({ - paneKey: `unknown-${index}`, - state: 'working', - prompt: '', - connectionId: null, - receivedAt: 300 + index, - stateStartedAt: 250 + index - }) - act(() => { - unknown(0) - for (let index = 1; index <= 4; index += 1) { - vi.advanceTimersByTime(200) - unknown(index) - } - }) - expect(requestSnapshot).not.toHaveBeenCalled() - - act(() => vi.advanceTimersByTime(200)) - expect(requestSnapshot).toHaveBeenCalledTimes(1) - vi.useRealTimers() - }) -}) diff --git a/src/renderer/src/components/dashboard/DashboardAgentChildDisclosure.tsx b/src/renderer/src/components/dashboard/DashboardAgentChildDisclosure.tsx index 44842099050..e9de1e7fa30 100644 --- a/src/renderer/src/components/dashboard/DashboardAgentChildDisclosure.tsx +++ b/src/renderer/src/components/dashboard/DashboardAgentChildDisclosure.tsx @@ -1,6 +1,6 @@ import React, { useCallback } from 'react' import { ChevronDown } from 'lucide-react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { Button } from '@/components/ui/button' import { useTranslate } from '@/i18n/use-translate' diff --git a/src/renderer/src/components/dashboard/DashboardAgentRow.tsx b/src/renderer/src/components/dashboard/DashboardAgentRow.tsx index 7d676e65533..a67e05ec0e3 100644 --- a/src/renderer/src/components/dashboard/DashboardAgentRow.tsx +++ b/src/renderer/src/components/dashboard/DashboardAgentRow.tsx @@ -1,5 +1,5 @@ import React, { useState, useCallback } from 'react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { opensClaudeParentConversation, viewClaudeAgentFromRow diff --git a/src/renderer/src/components/dashboard/DashboardAgentRowMessage.tsx b/src/renderer/src/components/dashboard/DashboardAgentRowMessage.tsx index 5ad38208446..2024cc53425 100644 --- a/src/renderer/src/components/dashboard/DashboardAgentRowMessage.tsx +++ b/src/renderer/src/components/dashboard/DashboardAgentRowMessage.tsx @@ -1,5 +1,5 @@ import { useEffect } from 'react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { CommentMarkdownAsync, preloadCommentMarkdown diff --git a/src/renderer/src/components/dashboard/DashboardAgentRowToolStep.tsx b/src/renderer/src/components/dashboard/DashboardAgentRowToolStep.tsx index e96843bd814..6ae783f9df5 100644 --- a/src/renderer/src/components/dashboard/DashboardAgentRowToolStep.tsx +++ b/src/renderer/src/components/dashboard/DashboardAgentRowToolStep.tsx @@ -1,5 +1,5 @@ import { Wrench } from 'lucide-react' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' type DashboardAgentRowToolStepProps = { expanded: boolean diff --git a/src/renderer/src/components/dashboard/DashboardAgentRowTrailingControls.tsx b/src/renderer/src/components/dashboard/DashboardAgentRowTrailingControls.tsx index 07d1a10179d..28b90b79c86 100644 --- a/src/renderer/src/components/dashboard/DashboardAgentRowTrailingControls.tsx +++ b/src/renderer/src/components/dashboard/DashboardAgentRowTrailingControls.tsx @@ -1,7 +1,7 @@ import React, { useCallback } from 'react' import { ChevronDown, Send, X } from 'lucide-react' import { useTranslate } from '@/i18n/use-translate' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { DashboardAgentChildDisclosure } from './DashboardAgentChildDisclosure' type DashboardAgentRowTrailingControlsProps = { diff --git a/src/renderer/src/components/dashboard/agent-dashboard-open-mode.ts b/src/renderer/src/components/dashboard/agent-dashboard-open-mode.ts index 69606c87259..1e570af3cd7 100644 --- a/src/renderer/src/components/dashboard/agent-dashboard-open-mode.ts +++ b/src/renderer/src/components/dashboard/agent-dashboard-open-mode.ts @@ -1,6 +1,6 @@ import type { GlobalSettings } from '../../../../shared/global-settings-types' import type { AgentDashboardMode } from '../../../../shared/ui-chrome-types' -import { isPairedWebClientWindow } from '@/lib/desktop-window-chrome' +import { isPairedWebClientWindow } from '@/app-shell/chrome/desktop-window-chrome' /** A browser tab cannot open a second Orca window, so a web client only has the in-window board. */ export function canOpenAgentDashboardPopout(): boolean { diff --git a/src/renderer/src/components/dashboard/build-dashboard-snapshot-folder-workspace.test.ts b/src/renderer/src/components/dashboard/build-dashboard-snapshot-folder-workspace.test.ts index 3762a1bc093..436911fab60 100644 --- a/src/renderer/src/components/dashboard/build-dashboard-snapshot-folder-workspace.test.ts +++ b/src/renderer/src/components/dashboard/build-dashboard-snapshot-folder-workspace.test.ts @@ -10,7 +10,6 @@ import { buildDashboardSnapshot, type DashboardSnapshotInput as DashboardSnapshotState } from './build-dashboard-snapshot' -import { buildDashboardBucketCounts } from './build-dashboard-bucket-counts' const NOW = 2_000_000_000 const WORKSPACE_ID = folderWorkspaceKey('folder-1') @@ -138,13 +137,8 @@ describe('buildDashboardSnapshot folder workspaces', () => { } const snapshot = buildDashboardSnapshot(structuredState, NOW) - const expected = { attention: 0, working: 0, done: 0, idle: 0 } - for (const card of snapshot.cards) { - expected[card.bucket] += 1 - } expect(snapshot.cards).toHaveLength(1) expect(snapshot.cards[0]).toMatchObject({ paneKey: PANE_KEY, bucket: 'done' }) - expect(buildDashboardBucketCounts(structuredState, NOW)).toEqual(expected) }) }) diff --git a/src/renderer/src/components/dashboard/build-dashboard-snapshot.ts b/src/renderer/src/components/dashboard/build-dashboard-snapshot.ts index bd8c099b15d..3bcaa52e3a1 100644 --- a/src/renderer/src/components/dashboard/build-dashboard-snapshot.ts +++ b/src/renderer/src/components/dashboard/build-dashboard-snapshot.ts @@ -1,6 +1,5 @@ import { agentVerdictDisplayMark } from '../../../../shared/agent-status/lifecycle/agent-main-agent-verdict' import type { StructuredChatTabNames } from '@/runtime/native-chat/naming/structured-chat-tab-name' -import type { AgentLaunchRouteView } from '@/lib/agent-session/launch/routing/agent-launch-route-input' import type { AppState } from '@/store/types' import { DASHBOARD_MAX_MAP_WORKSPACES, @@ -42,10 +41,6 @@ import { rowConversationName, rowTask } from './dashboard-card-labels' -import { - buildDashboardWorktreeLaunchOptions, - type DashboardLaunchDetectionState -} from './dashboard-worktree-launch-options' import { buildDashboardSnapshotFilterOptions } from './dashboard-snapshot-filter-options' import { groupSubagentsByParentPaneKey } from './dashboard-subagent-cards' import { selectDashboardOrchestration } from './dashboard-orchestration-selection' @@ -71,7 +66,6 @@ export type DashboardSnapshotState = Pick< DashboardCardContextState & Partial< DashboardCardTerminalInputState & - DashboardLaunchDetectionState & Pick< AppState, | 'runtimeEnvironments' @@ -89,7 +83,6 @@ export function buildDashboardSnapshot( state: DashboardSnapshotInput, now: number, options: { - launchRouteStore?: AgentLaunchRouteView includeCardDetails?: boolean includeFilterOptions?: boolean /** Cache only row derivation; review/host/status inputs still require fresh card assembly. */ @@ -274,17 +267,6 @@ export function buildDashboardSnapshot( ...(workspaces ? { workspaces } : {}), showIdle, filterOptions, - // Count-only callers offer no launcher; skip host-detection lookups for sidebar rebuilds. - ...(includeCardDetails - ? { - launchableAgentsByWorktreeId: buildDashboardWorktreeLaunchOptions( - state, - cards, - workspaces, - options.launchRouteStore - ) - } - : {}), repoIconsByRepoId } } diff --git a/src/renderer/src/components/dashboard/dashboard-card-labels.ts b/src/renderer/src/components/dashboard/dashboard-card-labels.ts index 3440cad19e5..ce2310922be 100644 --- a/src/renderer/src/components/dashboard/dashboard-card-labels.ts +++ b/src/renderer/src/components/dashboard/dashboard-card-labels.ts @@ -1,15 +1,13 @@ import { getAgentRowConversationName } from '../../../../shared/agent-status/presentation/agent-row-conversation-name' import { DASHBOARD_MAX_LABEL_LENGTH } from '../../../../shared/dashboard-snapshot' import { parsePaneKey } from '../../../../shared/workspace-layout/stable-pane-id' -import type { TerminalLayoutSnapshot } from '../../../../shared/workspace-layout/terminal-tab-types' import { resolveAgentRowPaneLiveTitle } from './agent-row-pane-live-title' +import { structuredChatTabById } from '@/lib/agent-session/tab-identity/structured-chat-tab-index' +import { projectedStructuredChatTabName } from '@/runtime/native-chat/naming/structured-chat-tab-name' +import type { StructuredChatTabNames } from '@/runtime/native-chat/naming/structured-chat-tab-name' +import type { TerminalLayoutSnapshot } from '../../../../shared/workspace-layout/terminal-tab-types' import type { DashboardAgentRow } from './useDashboardData' import type { AppState } from '@/store/types' -import { structuredChatTabById } from '@/lib/structured-chat-tab-index' -import { - projectedStructuredChatTabName, - type StructuredChatTabNames -} from '@/runtime/native-chat/naming/structured-chat-tab-name' export function rowTask(row: DashboardAgentRow): string { return (row.entry.orchestration?.taskTitle ?? '').trim() || (row.entry.prompt ?? '').trim() diff --git a/src/renderer/src/components/dashboard/dashboard-card-terminal-input.ts b/src/renderer/src/components/dashboard/dashboard-card-terminal-input.ts index 966355c4260..7e4e7f54ae7 100644 --- a/src/renderer/src/components/dashboard/dashboard-card-terminal-input.ts +++ b/src/renderer/src/components/dashboard/dashboard-card-terminal-input.ts @@ -6,8 +6,8 @@ import { parseAppSshPtyId } from '../../../../shared/ssh-pty-id' import '@/lib/workspace/ownership/connection-context' import { getConnectionIdFromState } from '@/lib/workspace/ownership/connection-owner-resolution' import { getExecutionHostIdForWorktree } from '@/lib/workspace/ownership/worktree-runtime-owner' -import { shouldDisableKittyKeyboardForTerminal } from '@/lib/pane-manager/terminal-keyboard-protocol' -import { isLocalNativeWindowsConpty } from '@/lib/pane-manager/windows-pty-compatibility' +import { shouldDisableKittyKeyboardForTerminal } from '@/lib/pane-manager/terminal-protocol/terminal-keyboard-protocol' +import { isLocalNativeWindowsConpty } from '@/lib/pane-manager/terminal-protocol/windows-pty-compatibility' import { resolveTerminalInputHostPlatform } from '@/components/terminal-pane/input/terminal-input-host-platform' import { resolveWindowsShiftEnterEncodingForPane } from '@/components/terminal-pane/input/keyboard/terminal-windows-shift-enter' import { hasCtrlEnterCsiUAuthorityForPane } from '@/components/terminal-pane/input/keyboard/terminal-ctrl-enter' diff --git a/src/renderer/src/components/dashboard/dashboard-chat-program-acquisition.ts b/src/renderer/src/components/dashboard/dashboard-chat-program-acquisition.ts deleted file mode 100644 index b3f8308d39c..00000000000 --- a/src/renderer/src/components/dashboard/dashboard-chat-program-acquisition.ts +++ /dev/null @@ -1,41 +0,0 @@ -import type { AppState } from '@/store/types' -import { holdChatProgramFacts } from '@/lib/host-chat-program-acquisition' -import { resolveChatProgramContext } from '@/lib/host-chat-program' -import { - selectAgentLaunchRouteView, - worktreeLaunchWorkspace -} from '@/lib/agent-session/launch/routing/agent-launch-route-input' -import { DASHBOARD_MAX_LAUNCH_WORKTREES } from '../../../../shared/dashboard-snapshot' -import { collectActiveDashboardWorkspaces } from './dashboard-snapshot-workspaces' - -/** Publishers reconcile one hold per represented execution resource before building payloads. */ -export function createDashboardChatProgramHolds() { - const held = new Map void>() - return { - reconcile(state: AppState): void { - const next = new Set() - const routeStore = selectAgentLaunchRouteView(state) - const shown = collectActiveDashboardWorkspaces(state, false) - for (const { worktree } of shown.slice(0, DASHBOARD_MAX_LAUNCH_WORKTREES)) { - const context = resolveChatProgramContext(routeStore, worktreeLaunchWorkspace(worktree.id)) - const key = context.revision - next.add(key) - if (!held.has(key)) { - // A new hold can notify synchronously and re-enter this reconcile: reserve its key first. - held.set(key, () => {}) - held.set(key, holdChatProgramFacts(context).release) - } - } - for (const [key, release] of held) { - if (!next.has(key)) { - release() - held.delete(key) - } - } - }, - release(): void { - held.forEach((release) => release()) - held.clear() - } - } -} diff --git a/src/renderer/src/components/dashboard/dashboard-snapshot-filter-options.ts b/src/renderer/src/components/dashboard/dashboard-snapshot-filter-options.ts index a17776433a3..828bb029bdf 100644 --- a/src/renderer/src/components/dashboard/dashboard-snapshot-filter-options.ts +++ b/src/renderer/src/components/dashboard/dashboard-snapshot-filter-options.ts @@ -3,6 +3,7 @@ import type { DashboardFilterOptions } from '../../../../shared/dashboard-snapsh import { DEFAULT_WORKSPACE_STATUSES } from '../../../../shared/workspace-statuses' import { boundedLabel } from './dashboard-card-labels' import type { ActiveDashboardWorkspace } from './dashboard-snapshot-workspaces' +import { translateWorkspaceBoardStatusLabel } from '@/components/sidebar/workspace-board-status-label' export function buildDashboardSnapshotFilterOptions( state: Partial>, @@ -20,7 +21,7 @@ export function buildDashboardSnapshotFilterOptions( : DEFAULT_WORKSPACE_STATUSES ).map((status) => ({ id: status.id, - label: status.label, + label: translateWorkspaceBoardStatusLabel(status), color: status.color })) return { projects, workspaceStatuses } diff --git a/src/renderer/src/components/dashboard/dashboard-worktree-launch-options.ts b/src/renderer/src/components/dashboard/dashboard-worktree-launch-options.ts deleted file mode 100644 index 76eaa73c76e..00000000000 --- a/src/renderer/src/components/dashboard/dashboard-worktree-launch-options.ts +++ /dev/null @@ -1,151 +0,0 @@ -import type { AppState } from '@/store/types' -import { parseExecutionHostId } from '../../../../shared/execution-host' -import { - DASHBOARD_MAX_LAUNCH_WORKTREES, - type DashboardCard, - type DashboardWorkspace -} from '../../../../shared/dashboard-snapshot' -import { isTuiAgent } from '../../../../shared/agent-launch/catalog/tui-agent-config' -import { - filterEnabledTuiAgents, - TUI_AGENT_AUTO_PICK_ORDER -} from '../../../../shared/agent-launch/catalog/tui-agent-selection' -import type { TuiAgent } from '../../../../shared/agent-launch/catalog/tui-agent' -import { parseWorkspaceKey } from '../../../../shared/workspace-scope' -import { getRuntimeAgentInventoryKey } from '@/store/slices/agent-inventory/runtime-agent-inventory-key' -import { - worktreeLaunchWorkspace, - type AgentLaunchRouteView -} from '@/lib/agent-session/launch/routing/agent-launch-route-input' -import { agentsOfferedForLaunch } from '@/lib/host-chat-program' -import { selectWorktreesByRepo } from '@/store/workspaces/catalog/workspace-record-fields' - -export type DashboardLaunchDetectionState = Pick< - AppState, - | 'detectedAgentIds' - | 'folderWorkspaces' - | 'projectGroups' - | 'remoteDetectedAgentIds' - | 'runtimeDetectedAgentIds' -> - -type DashboardLaunchOptionState = Pick & - Partial - -type DashboardLaunchCatalog = { - foldersById: Map - groupsById: Map - reposById: Map - worktreesByRepoAndId: Map> -} - -function buildDashboardLaunchCatalog(state: DashboardLaunchOptionState): DashboardLaunchCatalog { - return { - foldersById: new Map((state.folderWorkspaces ?? []).map((folder) => [folder.id, folder])), - groupsById: new Map((state.projectGroups ?? []).map((group) => [group.id, group])), - reposById: new Map((state.repos ?? []).map((repo) => [repo.id, repo])), - worktreesByRepoAndId: new Map( - Object.entries(selectWorktreesByRepo(state) ?? {}).map(([repoId, worktrees]) => [ - repoId, - new Map(worktrees.map((worktree) => [worktree.id, worktree])) - ]) - ) - } -} - -// Why the host-default fallback: a card can render before any launch surface probed its workspace. -function runtimeAgentsForWorkspace( - state: DashboardLaunchOptionState, - environmentId: string, - worktreeId: string -): readonly TuiAgent[] { - const agents = state.runtimeDetectedAgentIds - return ( - agents?.[getRuntimeAgentInventoryKey(environmentId, worktreeId)] ?? - agents?.[environmentId] ?? - [] - ) -} - -function detectedAgentsForWorktree( - state: DashboardLaunchOptionState, - worktreeId: string, - repoId: string, - catalog: DashboardLaunchCatalog -): readonly TuiAgent[] { - const workspaceScope = parseWorkspaceKey(worktreeId) - if (workspaceScope?.type === 'folder') { - const folder = catalog.foldersById.get(workspaceScope.folderWorkspaceId) - const group = folder ? catalog.groupsById.get(folder.projectGroupId) : undefined - const host = parseExecutionHostId(group?.executionHostId) - if (host?.kind === 'runtime') { - return runtimeAgentsForWorkspace(state, host.environmentId, worktreeId) - } - const connectionId = folder?.connectionId ?? group?.connectionId - return connectionId ? (state.remoteDetectedAgentIds?.[connectionId] ?? []) : [] - } - - const worktree = catalog.worktreesByRepoAndId.get(repoId)?.get(worktreeId) - const repo = catalog.reposById.get(worktree?.repoId ?? repoId) - const host = parseExecutionHostId(worktree?.hostId ?? repo?.executionHostId) - if (host?.kind === 'runtime') { - return runtimeAgentsForWorkspace(state, host.environmentId, worktreeId) - } - const connectionId = host?.kind === 'ssh' ? host.targetId : repo?.connectionId - return connectionId - ? (state.remoteDetectedAgentIds?.[connectionId] ?? []) - : (state.detectedAgentIds ?? []) -} - -/** Host-detected choices, agents that open as a chat there, and providers proven to run there. */ -export function buildDashboardWorktreeLaunchOptions( - state: DashboardLaunchOptionState, - cards: readonly DashboardCard[], - workspaces: readonly DashboardWorkspace[] = [], - launchRouteStore?: AgentLaunchRouteView -): Record { - const catalog = buildDashboardLaunchCatalog(state) - const cardsByWorktreeId = new Map() - const repoIdByWorktreeId = new Map( - workspaces.map((workspace) => [workspace.worktreeId, workspace.repoId]) - ) - for (const card of cards) { - repoIdByWorktreeId.set(card.worktreeId, card.repoId) - const existing = cardsByWorktreeId.get(card.worktreeId) - if (existing) { - existing.push(card) - } else { - cardsByWorktreeId.set(card.worktreeId, [card]) - } - } - - const result: Record = {} - for (const [worktreeId, repoId] of repoIdByWorktreeId) { - // Bound launch options before validation would reject the entire snapshot. - if (Object.keys(result).length >= DASHBOARD_MAX_LAUNCH_WORKTREES) { - break - } - const worktreeCards = cardsByWorktreeId.get(worktreeId) ?? [] - const detected = detectedAgentsForWorktree(state, worktreeId, repoId, catalog) - const available = new Set( - launchRouteStore - ? agentsOfferedForLaunch(launchRouteStore, worktreeLaunchWorkspace(worktreeId), detected) - : detected - ) - for (const card of worktreeCards) { - if (isTuiAgent(card.agentType)) { - available.add(card.agentType) - } - } - const enabled = filterEnabledTuiAgents( - TUI_AGENT_AUTO_PICK_ORDER.filter((agent) => available.has(agent)), - state.settings?.disabledTuiAgents - ) - const preferred = state.settings?.defaultTuiAgent - result[worktreeId] = - preferred && preferred !== 'blank' && enabled.includes(preferred) - ? [preferred, ...enabled.filter((agent) => agent !== preferred)] - : enabled - } - return result -} diff --git a/src/renderer/src/components/dashboard/reveal-dashboard-agent.ts b/src/renderer/src/components/dashboard/reveal-dashboard-agent.ts index 66096361479..fbd66384f8a 100644 --- a/src/renderer/src/components/dashboard/reveal-dashboard-agent.ts +++ b/src/renderer/src/components/dashboard/reveal-dashboard-agent.ts @@ -1,4 +1,4 @@ -import { revealTerminalPane } from '@/lib/reveal-terminal-pane' +import { revealTerminalPane } from '@/lib/workspace/activation/reveal-terminal-pane' import { activateAndRevealWorkspace } from '@/lib/workspace/activation/worktree-activation' import { activateStructuredAgentSessionTab } from '@/lib/agent-session/structured-agent-session-tab-activation' import { diff --git a/src/renderer/src/components/dashboard/use-agent-row-conversation-name.ts b/src/renderer/src/components/dashboard/use-agent-row-conversation-name.ts index add52e79690..1fa9c15b620 100644 --- a/src/renderer/src/components/dashboard/use-agent-row-conversation-name.ts +++ b/src/renderer/src/components/dashboard/use-agent-row-conversation-name.ts @@ -3,7 +3,7 @@ import { getAgentRowConversationName } from '../../../../shared/agent-status/pre import { parsePaneKey } from '../../../../shared/workspace-layout/stable-pane-id' import { structuredChatDisplayName } from '../../../../shared/structured-chat-row-name' import { resolveAgentRowPaneLiveTitle } from './agent-row-pane-live-title' -import { structuredChatTabById } from '@/lib/structured-chat-tab-index' +import { structuredChatTabById } from '@/lib/agent-session/tab-identity/structured-chat-tab-index' import { useStructuredChatTabConversationName } from '@/runtime/native-chat/naming/structured-conversation-name' import type { AppState } from '@/store/types' import type { DashboardAgentRow } from './useDashboardData' diff --git a/src/renderer/src/components/dashboard/useDashboardPopoutBridge.ts b/src/renderer/src/components/dashboard/useDashboardPopoutBridge.ts index 17247a60c28..1bd53b4ff5a 100644 --- a/src/renderer/src/components/dashboard/useDashboardPopoutBridge.ts +++ b/src/renderer/src/components/dashboard/useDashboardPopoutBridge.ts @@ -1,4 +1,3 @@ -import { createDashboardChatProgramHolds } from './dashboard-chat-program-acquisition' import { useEffect } from 'react' import { useAppStore } from '@/store' import type { AppState } from '@/store/types' @@ -6,12 +5,6 @@ import { subscribeStructuredChatTabNames, getStructuredChatTabNames } from '@/runtime/native-chat/naming/structured-chat-name-observation' -import { subscribeChatProgramFacts } from '@/lib/host-chat-program' -import { - type AgentLaunchRouteView, - agentLaunchRouteInputsChanged, - selectAgentLaunchRouteView -} from '@/lib/agent-session/launch/routing/agent-launch-route-input' import { revealDashboardAgent } from './reveal-dashboard-agent' import type { RepoIcon } from '../../../../shared/repo-icon' import { buildDashboardSnapshot, type DashboardSnapshotState } from './build-dashboard-snapshot' @@ -36,16 +29,15 @@ export function repoIconsUnchanged( return nextIds.every((id) => id in previous && next[id] === previous[id]) } -type DashboardSnapshotWatchState = DashboardSnapshotState & - Pick & - AgentLaunchRouteView +type DashboardSnapshotWatchState = DashboardSnapshotState & Pick export function dashboardSnapshotInputsChanged( state: DashboardSnapshotWatchState, previousState: DashboardSnapshotWatchState ): boolean { return ( - agentLaunchRouteInputsChanged(state, previousState) || + state.activeWorktreeId !== previousState.activeWorktreeId || + state.activeWorkspaceExecutionHostId !== previousState.activeWorkspaceExecutionHostId || state.repos !== previousState.repos || selectWorktreesByRepo(state) !== selectWorktreesByRepo(previousState) || state.tabsByWorktree !== previousState.tabsByWorktree || @@ -62,9 +54,6 @@ export function dashboardSnapshotInputsChanged( // Why: settings controls idle visibility and generated conversation names. state.settings !== previousState.settings || state.workspaceStatuses !== previousState.workspaceStatuses || - state.detectedAgentIds !== previousState.detectedAgentIds || - state.remoteDetectedAgentIds !== previousState.remoteDetectedAgentIds || - state.runtimeDetectedAgentIds !== previousState.runtimeDetectedAgentIds || // Relay live hooks directly; rebuild snapshots for host-profile changes too, since idle boards may have no later event to correct stale byte routing. state.sshConnectionStates !== previousState.sshConnectionStates || state.sshStateByEnvironment !== previousState.sshStateByEnvironment || @@ -92,12 +81,9 @@ export function watchSnapshotInputs(onChanged: () => void): () => void { onChanged() } }) - // Launch options also read host chat facts held outside the store. - const unsubscribeChatFacts = subscribeChatProgramFacts(onChanged) return () => { stopNames() unsubscribeStore() - unsubscribeChatFacts() } } @@ -128,7 +114,6 @@ export function useDashboardPopoutBridge(enabled: boolean): void { } let open = false let disposed = false - const chatOwners = createDashboardChatProgramHolds() let unsubscribeStore: (() => void) | null = null let trailingTimer: ReturnType | null = null let lastPublishAt = 0 @@ -139,12 +124,10 @@ export function useDashboardPopoutBridge(enabled: boolean): void { const publishNow = (withIcons: boolean): void => { lastPublishAt = Date.now() const state = useAppStore.getState() - chatOwners.reconcile(state) const snapshot = buildDashboardSnapshot( { ...state, chatNames: getStructuredChatTabNames() }, lastPublishAt, { - launchRouteStore: selectAgentLaunchRouteView(state), rowsCache, rowsGeneration: state.agentStatusEpoch } @@ -210,7 +193,6 @@ export function useDashboardPopoutBridge(enabled: boolean): void { } publishNow(true) } else { - chatOwners.release() unsubscribeStore?.() unsubscribeStore = null if (trailingTimer) { @@ -236,7 +218,6 @@ export function useDashboardPopoutBridge(enabled: boolean): void { return () => { disposed = true - chatOwners.release() offOpenChanged?.() offRequested?.() unsubscribeStore?.() diff --git a/src/renderer/src/components/dashboard/useLiveDashboardSnapshot.test.ts b/src/renderer/src/components/dashboard/useLiveDashboardSnapshot.test.ts deleted file mode 100644 index b2c35eb80cd..00000000000 --- a/src/renderer/src/components/dashboard/useLiveDashboardSnapshot.test.ts +++ /dev/null @@ -1,153 +0,0 @@ -import { setLocalRuntimeCapabilitiesForTests } from '@/runtime/hosts/capabilities/local-runtime-capabilities' -import { resetHostStructuredAgentsForTests } from '@/runtime/native-chat/agent-catalogs/host-structured-agents' - -const transport = vi.hoisted(() => ({ call: vi.fn(), subscribe: vi.fn() })) -vi.mock('@/runtime/rpc/calls/runtime-rpc-call', () => ({ - callRuntimeRpc: transport.call -})) -vi.mock('@/runtime/rpc/subscriptions/runtime-rpc-subscribe', () => ({ - subscribeRuntimeRpc: transport.subscribe -})) -// @vitest-environment happy-dom -import { cleanup, renderHook } from '@testing-library/react' -import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' -import { useAppStore } from '@/store' -import type { AgentStatusEntry } from '../../../../shared/agent-status/contracts/agent-status-types' -import { makePaneKey } from '../../../../shared/workspace-layout/stable-pane-id' -import type { GlobalSettings } from '../../../../shared/global-settings-types' -import type { Repo } from '../../../../shared/repo-types' -import type { TerminalTab } from '../../../../shared/workspace-layout/terminal-tab-types' -import type { Worktree } from '../../../../shared/worktree/types' -import { useLiveDashboardSnapshot } from './useLiveDashboardSnapshot' - -const NOW = 1_000_000_000 -const TAB_ID = 'tab-1' -const LEAF_ID = '11111111-1111-4111-8111-111111111111' -const PANE_KEY = makePaneKey(TAB_ID, LEAF_ID) - -const initialAppState = useAppStore.getInitialState() - -beforeEach(() => { - useAppStore.setState(initialAppState, true) -}) - -afterEach(() => { - cleanup() - setLocalRuntimeCapabilitiesForTests(null) - resetHostStructuredAgentsForTests() - useAppStore.setState(initialAppState, true) -}) - -function repo(): Repo { - return { - id: 'repo-1', - path: '/repo', - displayName: 'Repo One', - badgeColor: '#000', - repoIcon: { type: 'lucide', name: 'Rocket' }, - addedAt: 1 - } -} - -function worktree(): Worktree { - return { - id: 'wt-1', - repoId: 'repo-1', - path: '/repo/wt-1', - head: 'abc123', - branch: 'main', - isBare: false, - isMainWorktree: false, - displayName: 'wt-one', - comment: '', - linkedIssue: null, - linkedPR: null, - linkedLinearIssue: null, - isArchived: false, - isUnread: false, - isPinned: false, - sortOrder: 0, - lastActivityAt: NOW - } -} - -function tab(): TerminalTab { - return { - id: TAB_ID, - ptyId: 'pty-1', - worktreeId: 'wt-1', - title: 'agent', - customTitle: null, - generatedTitle: 'Fix the flaky pty test', - color: null, - sortOrder: 0, - createdAt: NOW - } as TerminalTab -} - -function entry(): AgentStatusEntry { - return { - paneKey: PANE_KEY, - state: 'working', - prompt: 'do the thing', - updatedAt: Date.now(), - stateStartedAt: Date.now(), - stateHistory: [], - agentType: 'claude', - tabId: TAB_ID, - worktreeId: 'wt-1' - } -} - -function seed(settings: Partial | null): void { - useAppStore.setState({ - repos: [repo()], - worktreesByRepo: { 'repo-1': [worktree()] }, - tabsByWorktree: { 'wt-1': [tab()] }, - agentStatusByPaneKey: { [PANE_KEY]: entry() }, - terminalLayoutsByTabId: { - [TAB_ID]: { - root: { type: 'leaf', leafId: LEAF_ID }, - activeLeafId: LEAF_ID, - expandedLeafId: null, - ptyIdsByLeafId: { [LEAF_ID]: 'pty-1' } - } - }, - ptyIdsByTabId: { [TAB_ID]: ['pty-1'] }, - settings: settings as GlobalSettings | null - }) -} - -// The drawer feeds builder slices directly; omission silently loses fields instead of failing validation. -describe('useLiveDashboardSnapshot', () => { - // Re-render the same hook to prove host-only changes invalidate it; a fresh mount would conceal missing subscriptions. - it('re-derives the host-input profile when only a host slice changes', () => { - seed({ tabAutoGenerateTitle: false }) - useAppStore.setState({ - repos: [{ ...repo(), connectionId: 'conn-1', executionHostId: 'ssh:conn-1' }] - }) - const { result, rerender } = renderHook(() => useLiveDashboardSnapshot()) - expect(result.current.cards[0].terminalInput?.hostPlatform).toBe('linux') - - useAppStore.setState({ - sshConnectionStates: new Map([ - ['conn-1', { remotePlatform: 'win32' }] - ]) as unknown as ReturnType['sshConnectionStates'] - }) - rerender() - expect(result.current.cards[0].terminalInput?.hostPlatform).toBe('win32') - }) - - it('re-derives saved SSH labels when the target catalog changes', () => { - seed({ tabAutoGenerateTitle: false }) - useAppStore.setState({ - repos: [{ ...repo(), connectionId: 'target-1', executionHostId: 'ssh:target-1' }] - }) - const { result, rerender } = renderHook(() => useLiveDashboardSnapshot()) - expect(result.current.cards[0].hostLabel).toBe('target-1') - - useAppStore.setState({ sshTargetLabels: new Map([['target-1', 'Builder']]) }) - rerender() - expect(result.current.cards[0].hostLabel).toBe('Builder') - }) -}) diff --git a/src/renderer/src/components/dashboard/useLiveDashboardSnapshot.ts b/src/renderer/src/components/dashboard/useLiveDashboardSnapshot.ts index bb2225f0e39..481ae3e6d2d 100644 --- a/src/renderer/src/components/dashboard/useLiveDashboardSnapshot.ts +++ b/src/renderer/src/components/dashboard/useLiveDashboardSnapshot.ts @@ -1,13 +1,9 @@ -import { watchSnapshotInputs } from './useDashboardPopoutBridge' -import { createDashboardChatProgramHolds } from './dashboard-chat-program-acquisition' -import { useEffect, useMemo, useRef } from 'react' +import { useMemo, useRef } from 'react' import { useAppStore } from '@/store' import { useStructuredChatTabNames } from '@/runtime/native-chat/naming/structured-chat-name-observation' import type { DashboardSnapshot } from '../../../../shared/dashboard-snapshot' import { buildDashboardSnapshot } from './build-dashboard-snapshot' -import { useChatProgramFactsVersion } from '@/lib/host-chat-program-acquisition' import { createWorktreeAgentRowsCache } from './worktree-agent-rows-cache' -import { selectAgentLaunchRouteView } from '@/lib/agent-session/launch/routing/agent-launch-route-input' import { selectDetectedWorktreesByRepo, selectFolderWorkspaces, @@ -53,25 +49,11 @@ export function useLiveDashboardSnapshot(): DashboardSnapshot { const runtimeEnvironmentCatalogHydrated = useAppStore((s) => s.runtimeEnvironmentCatalogHydrated) const removedRuntimeEnvironmentIds = useAppStore((s) => s.removedRuntimeEnvironmentIds) const paneForegroundAgentByPaneKey = useAppStore((s) => s.paneForegroundAgentByPaneKey) - const detectedAgentIds = useAppStore((s) => s.detectedAgentIds) - const remoteDetectedAgentIds = useAppStore((s) => s.remoteDetectedAgentIds) - const runtimeDetectedAgentIds = useAppStore((s) => s.runtimeDetectedAgentIds) // Freshness can change buckets without map writes; the epoch invalidates stale-decay memos. const agentStatusEpoch = useAppStore((s) => s.agentStatusEpoch) const chatNames = useStructuredChatTabNames() - // Why: launch options read only this view, so any route input change rebuilds them. - const launchRouteStore = useAppStore(selectAgentLaunchRouteView) - useEffect(() => { - const holds = createDashboardChatProgramHolds() - const reconcile = (): void => holds.reconcile(useAppStore.getState()) - const stopWatching = watchSnapshotInputs(reconcile) - reconcile() - return () => { - stopWatching() - holds.release() - } - }, []) - const chatProgramFactsVersion = useChatProgramFactsVersion() + const activeWorktreeId = useAppStore((s) => s.activeWorktreeId) + const activeWorkspaceExecutionHostId = useAppStore((s) => s.activeWorkspaceExecutionHostId) return useMemo( // Read the clock when the freshness epoch invalidates this memo, matching row derivation. @@ -79,8 +61,8 @@ export function useLiveDashboardSnapshot(): DashboardSnapshot { buildDashboardSnapshot( { chatNames, - activeWorktreeId: launchRouteStore.activeWorktreeId, - activeWorkspaceExecutionHostId: launchRouteStore.activeWorkspaceExecutionHostId, + activeWorktreeId, + activeWorkspaceExecutionHostId, repos, worktreesByRepo, tabsByWorktree, @@ -109,15 +91,12 @@ export function useLiveDashboardSnapshot(): DashboardSnapshot { runtimeEnvironmentCatalogHydrated, removedRuntimeEnvironmentIds, paneForegroundAgentByPaneKey, - detectedAgentIds, - remoteDetectedAgentIds, - runtimeDetectedAgentIds, // Read launch identity non-reactively because Shift+Enter routing does not depend on it; match the bridge gate. agentLaunchConfigByPaneKey: useAppStore.getState().agentLaunchConfigByPaneKey }, Date.now(), // Reuse unchanged worktree rows while assembling cards fresh from current review/host/status slices. - { rowsCache: rowsCacheRef.current, rowsGeneration: agentStatusEpoch, launchRouteStore } + { rowsCache: rowsCacheRef.current, rowsGeneration: agentStatusEpoch } ), // eslint-disable-next-line react-hooks/exhaustive-deps [ @@ -149,12 +128,9 @@ export function useLiveDashboardSnapshot(): DashboardSnapshot { runtimeEnvironmentCatalogHydrated, removedRuntimeEnvironmentIds, paneForegroundAgentByPaneKey, - detectedAgentIds, - remoteDetectedAgentIds, - runtimeDetectedAgentIds, chatNames, - chatProgramFactsVersion, - launchRouteStore, + activeWorktreeId, + activeWorkspaceExecutionHostId, agentStatusEpoch ] ) diff --git a/src/renderer/src/components/dictation/DictationController.tsx b/src/renderer/src/components/dictation/DictationController.tsx index 9c4957044bc..b10035c6acd 100644 --- a/src/renderer/src/components/dictation/DictationController.tsx +++ b/src/renderer/src/components/dictation/DictationController.tsx @@ -30,7 +30,9 @@ import { import { useHoldDictationGesture } from './use-hold-dictation-gesture' import { publishDictationMeter } from './dictation-meter-store' import { useDictationSilenceStop } from './use-dictation-silence-stop' +import { stopAfterSilenceSeconds } from '../../../../shared/dictation-silence-stop' import { useDictationSpeechEvents } from './use-dictation-speech-events' +import { useDictationSpeechModelSetup } from './use-dictation-speech-model-setup' import { NO_DICTATION_LIVE_TEXT } from '@/store/slices/dictation/dictation' import { canStartDictation, @@ -73,6 +75,9 @@ export function DictationController() { const [failure, setFailure] = useState(null) // A new recording gets a fresh pill (timer and all); a retry keeps the one it failed in. const [recordingKey, setRecordingKey] = useState(0) + const isIdle = useCallback(() => sessionRef.current.phase === 'idle', []) + const { setupTarget, closeSetup, hasPendingStart, invalidatePendingStart, readyToRecord } = + useDictationSpeechModelSetup(settings?.voice, isIdle, setPillAnchor) const queuedSend = useDictationQueuedSend(sessionRef, keptRef) const { clear: clearQueuedSend, release: releaseQueuedSend } = queuedSend @@ -157,6 +162,7 @@ export function DictationController() { // Words that already landed stay; the engine drops the rest instead of transcribing it. const cancelDictation = useCallback(() => { + invalidatePendingStart() if (sessionRef.current.phase === 'error') { dispatch({ type: 'ended' }) return @@ -168,9 +174,10 @@ export function DictationController() { stopCapture() void window.api.speech.cancelDictation(previous.sessionId).catch(() => undefined) drainStoppedSession(previous.sessionId) - }, [dispatch, stopCapture, drainStoppedSession]) + }, [dispatch, stopCapture, drainStoppedSession, invalidatePendingStart]) const stopDictation = useCallback(async () => { + invalidatePendingStart() const previous = sessionRef.current const next = dispatch({ type: 'stop' }) if (next === previous) { @@ -182,7 +189,7 @@ export function DictationController() { return } await finishDictationSession(next) - }, [dispatch, finishCapture, finishDictationSession]) + }, [dispatch, finishCapture, finishDictationSession, invalidatePendingStart]) const startDictation = useCallback(async () => { if (!canStartDictation(sessionRef.current.phase)) { @@ -200,6 +207,10 @@ export function DictationController() { return } + if (!(await readyToRecord(settings.voice)) || !canStartDictation(sessionRef.current.phase)) { + return + } + const { run, sessionId } = dispatch({ type: 'start' }) if (sessionId === null) { return @@ -314,7 +325,8 @@ export function DictationController() { finishDictationSession, drainStoppedSession, recordFeatureInteraction, - showFailure + showFailure, + readyToRecord ]) // Sends the failed session's recording through the speech host again, into the same place. @@ -345,12 +357,17 @@ export function DictationController() { }, [settings, dispatch, finishDictationSession, showFailure]) const toggleDictation = useCallback(() => { + // A second press while the model check runs takes the first one back. + if (hasPendingStart()) { + invalidatePendingStart() + return + } if (isDictationUnderway(sessionRef.current.phase)) { void stopDictation() } else { void startDictation() } - }, [startDictation, stopDictation]) + }, [startDictation, stopDictation, hasPendingStart, invalidatePendingStart]) useDictationControls(settings?.voice, dictationState, { start: () => void startDictation(), @@ -361,17 +378,12 @@ export function DictationController() { enterQueues: (event) => queuedSend.queueTerminalEnter(event.target), // The error pill leaves Esc to Settings and dialogs; only its ✕ discards the recording. escCancels: () => - isDictationUnderway(sessionRef.current.phase) || sessionRef.current.phase === 'stopping' + hasPendingStart() || + isDictationUnderway(sessionRef.current.phase) || + sessionRef.current.phase === 'stopping' }) - useDictationSilenceStop( - dictationState === 'listening', - settings?.voice?.dictationMode, - getLastSpeechAt, - () => void stopDictation() - ) - - useHoldDictationGesture({ + const { isHolding } = useHoldDictationGesture({ canStartDictation: () => canStartDictation(sessionRef.current.phase), isDictationUnderway: () => isDictationUnderway(sessionRef.current.phase), keybindings, @@ -380,6 +392,15 @@ export function DictationController() { stopDictation }) + useDictationSilenceStop( + dictationState === 'listening', + settings?.voice?.dictationMode, + stopAfterSilenceSeconds(settings?.voice), + getLastSpeechAt, + isHolding, + () => void stopDictation() + ) + useDictationSpeechEvents({ currentSessionId: () => sessionRef.current.sessionId, onLiveText: setLiveText, @@ -411,6 +432,8 @@ export function DictationController() { anchor={pillAnchor} failure={failure} queued={queuedSend.queuedKind} + setup={setupTarget} + onSetupClose={closeSetup} /> ) } diff --git a/src/renderer/src/components/dictation/DictationGrapes.tsx b/src/renderer/src/components/dictation/DictationGrapes.tsx index 8b80331c9b0..7b80ed415a1 100644 --- a/src/renderer/src/components/dictation/DictationGrapes.tsx +++ b/src/renderer/src/components/dictation/DictationGrapes.tsx @@ -1,4 +1,4 @@ -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { DICTATION_GRAPES } from '../../../../shared/dictation-audio-meter' type DictationGrapesProps = { diff --git a/src/renderer/src/components/dictation/DictationIndicator.fixture.tsx b/src/renderer/src/components/dictation/DictationIndicator.fixture.tsx index ca8b05f0971..294c70cb1f8 100644 --- a/src/renderer/src/components/dictation/DictationIndicator.fixture.tsx +++ b/src/renderer/src/components/dictation/DictationIndicator.fixture.tsx @@ -3,16 +3,20 @@ import { defineFixture } from '../../component-fixtures/component-fixture' import { DictationIndicator } from './DictationIndicator' import { publishDictationMeter, resetDictationMeter } from './dictation-meter-store' import type { DictationFailureKind } from './dictation-toasts' +import type { SpeechModelUpdateTarget } from './speech-model-update-target' +import type { SpeechModelManifest, SpeechModelState } from '../../../../shared/speech-types' import type { DictationQueuedSendKind } from './use-dictation-queued-send' function PaneWithPill({ captureLive = true, failure = null, - queued = null + queued = null, + setup = null }: { captureLive?: boolean failure?: DictationFailureKind | null queued?: DictationQueuedSendKind | null + setup?: SpeechModelUpdateTarget | null }) { const [pane, setPane] = useState(null) const anchor = useMemo( @@ -27,6 +31,8 @@ function PaneWithPill({ anchor={anchor} failure={failure} queued={queued} + setup={setup} + onSetupClose={() => {}} /> ) : null}
@@ -138,3 +144,82 @@ export const queuedTerminalEnter = defineFixture({ setup: resetDictationMeter, render: () => }) + +function speechModel(id: string, label: string): SpeechModelManifest { + return { + id, + label, + type: 'transducer', + provider: 'local', + language: 'en', + languages: ['en'], + sampleRate: 16000, + streaming: false, + sizeBytes: 740_000_000 + } +} + +const parakeet = speechModel('parakeet', 'Parakeet') +const updateTarget: SpeechModelUpdateTarget = { model: parakeet } +const retiredTarget: SpeechModelUpdateTarget = { + model: parakeet, + retired: speechModel('zipformer', 'Zipformer') +} + +function mockSpeechDownloads(downloadModel: () => Promise = () => new Promise(() => {})) { + Object.assign(window.api.speech, { + onDownloadProgress: () => () => {}, + getModelStates: async () => [], + downloadModel + }) +} + +function withParakeet(state: Omit) { + return { modelStates: [{ id: 'parakeet', ...state }] } +} + +export const setupNotice = defineFixture({ + width: 520, + store: withParakeet({ status: 'not-downloaded', needsUpdate: true }), + setup: () => mockSpeechDownloads(), + render: () => +}) + +export const setupRetiredNotice = defineFixture({ + width: 520, + store: withParakeet({ status: 'not-downloaded' }), + setup: () => mockSpeechDownloads(), + render: () => +}) + +export const setupDownloading = defineFixture({ + width: 520, + store: withParakeet({ status: 'downloading', progress: 0.42 }), + setup: () => mockSpeechDownloads(), + render: () => +}) + +export const setupDone = defineFixture({ + width: 520, + store: withParakeet({ status: 'ready' }), + setup: () => mockSpeechDownloads(), + render: () => +}) + +export const setupDoneRetired = defineFixture({ + width: 520, + store: withParakeet({ status: 'ready' }), + setup: () => mockSpeechDownloads(), + render: () => +}) + +export const setupFailed = defineFixture({ + width: 520, + store: withParakeet({ status: 'not-downloaded', needsUpdate: true }), + setup: () => mockSpeechDownloads(() => Promise.reject(new Error('network'))), + render: () => , + interact: async (frame) => { + frame.querySelector('[data-testid="dictation-setup-pill"] button')?.click() + await new Promise((resolve) => setTimeout(resolve, 50)) + } +}) diff --git a/src/renderer/src/components/dictation/DictationIndicator.tsx b/src/renderer/src/components/dictation/DictationIndicator.tsx index 83e1eaada07..28121e94e28 100644 --- a/src/renderer/src/components/dictation/DictationIndicator.tsx +++ b/src/renderer/src/components/dictation/DictationIndicator.tsx @@ -4,20 +4,22 @@ import { Button } from '@/components/ui/button' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { useShortcutKeyDetails } from '@/hooks/useShortcutLabel' import { useTranslate } from '@/i18n/use-translate' -import { KEEPS_FOCUS_ATTRIBUTE } from '@/lib/focus-keeping-press' -import { installWindowVisibilityInterval } from '@/lib/window-visibility-interval' -import { cn } from '@/lib/utils' -import { useAppStore } from '@/store' +import { installWindowVisibilityInterval } from '@/lib/window-activity/window-visibility-interval' +import { cn } from '@/lib/class-names' +import { useAppStore } from '@/store/index' import { ArrowUp, Check, CornerDownLeft, Loader2 } from 'lucide-react' import { isDictationPillShown } from '../../../../shared/dictation-session-machine' import { dictationSeparators } from '../../../../shared/dictation-transcript-spacing' import { CLOUD_DICTATION_MAX_SECONDS } from '../../../../shared/rpc-contract/speech-params' -import type { SpeechModelManifest } from '../../../../shared/speech-types' import { dispatchDictationControl } from './dictation-control-events' import { DictationGrapes } from './DictationGrapes' import { useDictationMeter } from './dictation-meter-store' -import { useDictationPillBox, type DictationPillAnchor } from './dictation-pill-anchor' +import type { DictationPillAnchor } from './dictation-pill-anchor' import { DictationPillCloseButton, DictationPillFailure } from './DictationPillFailure' +import { DictationPillShell } from './DictationPillShell' +import { DictationSetupPill } from './DictationSetupPill' +import { loadSpeechCatalog } from './speech-model-update-check' +import type { SpeechModelUpdateTarget } from './speech-model-update-target' import type { DictationFailureKind } from './dictation-toasts' import type { DictationQueuedSendKind } from './use-dictation-queued-send' @@ -36,9 +38,24 @@ type DictationIndicatorProps = { queued: DictationQueuedSendKind | null } -export function DictationIndicator(props: DictationIndicatorProps) { +type DictationSetupProps = { + /** Set while the pill offers the download the selected model needs instead of recording. */ + setup: SpeechModelUpdateTarget | null + onSetupClose: () => void +} + +export function DictationIndicator({ + setup, + onSetupClose, + ...props +}: DictationIndicatorProps & DictationSetupProps) { const dictationState = useAppStore((state) => state.dictationState) - return isDictationPillShown(dictationState) ? : null + if (isDictationPillShown(dictationState)) { + return + } + return setup ? ( + + ) : null } function formatElapsed(seconds: number): string { @@ -66,21 +83,13 @@ function useElapsedSeconds(running: boolean): number { return seconds } -// The catalog never changes while the app runs; the paired web client has none and its host caps itself. -let catalogRequest: Promise | null = null - +// The paired web client has no catalog; its host caps itself. function useIsCloudModel(): boolean { const modelId = useAppStore((state) => state.settings?.voice?.sttModel) const [cloud, setCloud] = useState(false) useEffect(() => { let current = true - if (!catalogRequest) { - catalogRequest = Promise.resolve() - // The paired web client's fallback resolves with nothing rather than a list. - .then(async () => (await window.api.speech.getCatalog()) ?? []) - .catch(() => []) - } - void catalogRequest.then((catalog) => { + void loadSpeechCatalog().then((catalog) => { if (current) { setCloud(catalog.some((model) => model.id === modelId && model.provider !== 'local')) } @@ -141,17 +150,12 @@ function DictationPendingDots() { ) } -// Presses on the pill keep focus where the words are going. -const keepFocus = (event: React.MouseEvent): void => event.preventDefault() -const keepFocusProps = { [KEEPS_FOCUS_ATTRIBUTE]: '', onMouseDown: keepFocus } - function DictationPill({ captureLive, anchor, failure, queued }: DictationIndicatorProps) { const t = useTranslate() const dictationState = useAppStore((state) => state.dictationState) const liveText = useAppStore((state) => state.liveText) const isHoldMode = useAppStore((state) => state.settings?.voice?.dictationMode === 'hold') const shortcut = useShortcutKeyDetails('voice.dictation') - const box = useDictationPillBox(anchor) const cloudModel = useIsCloudModel() const finishing = dictationState === 'stopping' @@ -185,17 +189,10 @@ function DictationPill({ captureLive, anchor, failure, queued }: DictationIndica const finishLabel = t('auto.components.dictation.DictationIndicator.finish', 'Finish') return ( -
{failedKind ? ( @@ -277,6 +274,6 @@ function DictationPill({ captureLive, anchor, failure, queued }: DictationIndica )} )} -
+ ) } diff --git a/src/renderer/src/components/dictation/DictationPillFailure.tsx b/src/renderer/src/components/dictation/DictationPillFailure.tsx index a1448b51608..28cb44bc074 100644 --- a/src/renderer/src/components/dictation/DictationPillFailure.tsx +++ b/src/renderer/src/components/dictation/DictationPillFailure.tsx @@ -5,18 +5,20 @@ import { CircleAlert, X } from 'lucide-react' import { dispatchDictationControl } from './dictation-control-events' import { openVoiceSettings, type DictationFailureKind } from './dictation-toasts' +const cancelDictation = (): void => dispatchDictationControl('cancel') + /** The pill's ✕: cancels a dictation, or discards a failed one's recording. */ -export function DictationPillCloseButton({ label }: { label: string }) { +export function DictationPillCloseButton({ + label, + onClick = cancelDictation +}: { + label: string + onClick?: () => void +}) { return ( - diff --git a/src/renderer/src/components/dictation/DictationPillShell.tsx b/src/renderer/src/components/dictation/DictationPillShell.tsx new file mode 100644 index 00000000000..5cffcfac656 --- /dev/null +++ b/src/renderer/src/components/dictation/DictationPillShell.tsx @@ -0,0 +1,38 @@ +import { KEEPS_FOCUS_ATTRIBUTE } from '@/lib/overlay-interaction/focus-keeping-press' +import { cn } from '@/lib/class-names' +import { useDictationPillBox, type DictationPillAnchor } from './dictation-pill-anchor' + +// Presses on the pill keep focus where the words are going. +const keepFocus = (event: React.MouseEvent): void => event.preventDefault() +const keepFocusProps = { [KEEPS_FOCUS_ATTRIBUTE]: '', onMouseDown: keepFocus } + +/** The pill's floating container: over the anchor pane, or at the window's bottom centre without one. */ +export function DictationPillShell({ + anchor, + testId, + className, + children +}: { + anchor: DictationPillAnchor | null + testId: string + className?: string + children: React.ReactNode +}) { + const box = useDictationPillBox(anchor) + return ( +
+ {children} +
+ ) +} diff --git a/src/renderer/src/components/dictation/DictationSetupPill.tsx b/src/renderer/src/components/dictation/DictationSetupPill.tsx new file mode 100644 index 00000000000..101e8b6fd39 --- /dev/null +++ b/src/renderer/src/components/dictation/DictationSetupPill.tsx @@ -0,0 +1,177 @@ +import { useEffect } from 'react' +import { Check, CircleAlert, Download, Mic } from 'lucide-react' +import { Trans } from 'react-i18next' +import { ShortcutKeyCombo } from '@/components/ShortcutKeyCombo' +import { Button } from '@/components/ui/button' +import { Progress } from '@/components/ui/progress' +import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' +import { useShortcutKeyDetails } from '@/hooks/useShortcutLabel' +import { i18n } from '@/i18n/i18n' +import { useTranslate } from '@/i18n/use-translate' +import { addAppKeyListener, removeAppKeyListener } from '@/lib/keyboard/app-keyboard-router' +import { isImeOwnedKeyboardEvent } from '@/lib/text-input/ime/ime-composition-keyboard-event' +import { isPlainEscapeKeyEvent } from '../terminal-pane/input/keyboard/agent-interrupt-key-event' +import type { DictationPillAnchor } from './dictation-pill-anchor' +import { DictationPillCloseButton } from './DictationPillFailure' +import { DictationPillShell } from './DictationPillShell' +import type { SpeechModelUpdateTarget } from './speech-model-update-target' +import { useSpeechModelUpdateDownload } from './use-speech-model-update-download' + +const DONE_AUTO_HIDE_MS = 4000 + +/** Esc closes the pill, except mid-download so it can still reach the terminal or agent underneath. */ +function useEscCloses(active: boolean, onClose: () => void): void { + useEffect(() => { + if (!active) { + return + } + const handleKeyDown = (event: KeyboardEvent): void => { + if (!isImeOwnedKeyboardEvent(event) && isPlainEscapeKeyEvent(event)) { + event.preventDefault() + event.stopImmediatePropagation() + onClose() + } + } + addAppKeyListener('keydown', handleKeyDown, { first: true }) + return () => removeAppKeyListener('keydown', handleKeyDown) + }, [active, onClose]) +} + +/** Shown instead of recording when the selected model needs a download for the current speech engine. */ +export function DictationSetupPill({ + target, + anchor, + onClose +}: { + target: SpeechModelUpdateTarget + anchor: DictationPillAnchor | null + onClose: () => void +}) { + const t = useTranslate() + const shortcut = useShortcutKeyDetails('voice.dictation') + const download = useSpeechModelUpdateDownload(target, onClose) + const { phase, percent } = download + const retired = Boolean(target.retired) + + useEscCloses(phase !== 'downloading', onClose) + + useEffect(() => { + if (phase !== 'done' || retired) { + return + } + const timer = window.setTimeout(onClose, DONE_AUTO_HIDE_MS) + return () => window.clearTimeout(timer) + }, [phase, retired, onClose]) + + const dismissLabel = t('speechModelUpdate.pill.dismiss', 'Dismiss') + let icon: React.ReactNode + let message: React.ReactNode + let announced: string + let actions: React.ReactNode = null + let closeLabel = dismissLabel + let close = onClose + + if (phase === 'downloading') { + icon = + announced = t('speechModelUpdate.pill.downloading', 'Setting up dictation') + closeLabel = t('speechModelUpdate.pill.cancelDownload', 'Cancel download') + close = () => { + download.cancel() + onClose() + } + message = ( + + + + {announced} + + + {percent}% + + + + + {t('speechModelUpdate.pill.downloadingTooltip', '{{done}} of {{size}} MB', { + done: download.doneMb, + size: download.totalMb + })} + + + ) + } else if (phase === 'done') { + icon = + announced = t('speechModelUpdate.pill.readyNoShortcut', 'Dictation is ready.') + message = + shortcut.keys.length > 0 ? ( + + ')} + components={{ + kbd: + }} + /> + + ) : ( + {announced} + ) + actions = retired ? ( + + ) : null + } else if (phase === 'failed') { + icon = + announced = t('speechModelUpdate.pill.failed', 'Download stopped. Check your connection.') + message = {announced} + actions = ( + + ) + } else { + icon = + announced = retired + ? t('speechModelUpdate.pill.retiredNotice', 'Dictation moved to a faster speech model') + : t('speechModelUpdate.pill.updateNotice', 'Faster dictation is ready to install') + message = {announced} + actions = ( + + + + + + {t('speechModelUpdate.pill.installTooltip', 'One-time download · {{size}} MB', { + size: download.totalMb + })} + + + ) + } + + return ( + + + {announced} + + {icon} + + {message} + + {actions} + + + ) +} diff --git a/src/renderer/src/components/dictation/SpeechModelUpdateCard.tsx b/src/renderer/src/components/dictation/SpeechModelUpdateCard.tsx deleted file mode 100644 index c7ae7f642a8..00000000000 --- a/src/renderer/src/components/dictation/SpeechModelUpdateCard.tsx +++ /dev/null @@ -1,285 +0,0 @@ -import { useCallback, useEffect, useRef, useState } from 'react' -import { Check, CircleAlert, Download, Mic, X } from 'lucide-react' -import { toast } from 'sonner' -import { useAppStore } from '@/store' -import { useTranslate } from '@/i18n/use-translate' -import { isPairedWebClientWindow } from '@/lib/desktop-window-chrome' -import { Card } from '../ui/card' -import { Button } from '../ui/button' -import { Progress } from '../ui/progress' -import { - findSpeechModelUpdateTarget, - type SpeechModelUpdateTarget -} from './speech-model-update-target' - -const DONE_AUTO_HIDE_MS = 4000 - -function useSpeechModelUpdateTarget(): SpeechModelUpdateTarget | null { - // Why no hydration check: the flag defaults to true until the persisted value arrives. - const seen = useAppStore((s) => s.speechModelUpdateNoticeSeen) - const voice = useAppStore((s) => s.settings?.voice) - const [target, setTarget] = useState(null) - - useEffect(() => { - // Why skip paired web clients: the models live on the host, whose own window shows this. - if (seen || !voice || isPairedWebClientWindow()) { - return - } - let cancelled = false - void Promise.all([window.api.speech.getCatalog(), window.api.speech.getModelStates()]) - .then(([catalog, states]) => { - if (cancelled) { - return - } - const store = useAppStore.getState() - store.setModelStates(states) - setTarget(findSpeechModelUpdateTarget(voice, catalog, states)) - // Why mark on the first check, shown or not: the card is for the first launch after the engine change. - store.markSpeechModelUpdateNoticeSeen() - }) - .catch(() => {}) - return () => { - cancelled = true - } - }, [seen, voice]) - - return target -} - -/** One-time card offering the download the transcribe-cpp engine needs for the selected model. */ -export function SpeechModelUpdateCard(): React.JSX.Element | null { - const target = useSpeechModelUpdateTarget() - const [closed, setClosed] = useState(false) - const close = useCallback(() => setClosed(true), []) - if (!target || closed) { - return null - } - return -} - -function SpeechModelUpdateCardBody({ - target: { model, retired }, - onClose -}: { - target: SpeechModelUpdateTarget - onClose: () => void -}): React.JSX.Element { - const t = useTranslate() - const state = useAppStore((s) => s.modelStates.find((m) => m.id === model.id)) - const refreshModelStates = useAppStore((s) => s.refreshModelStates) - const [failedAtMb, setFailedAtMb] = useState(null) - const [deleting, setDeleting] = useState(false) - const lastMbRef = useRef(0) - - // The Settings row starts the same download, so both follow the shared model states. - useEffect( - () => window.api.speech.onDownloadProgress(() => void refreshModelStates()), - [refreshModelStates] - ) - - const totalMb = Math.round((model.sizeBytes ?? 0) / 1_000_000) - const downloading = state?.status === 'downloading' || state?.status === 'extracting' - const percent = Math.round((state?.progress ?? 0) * 100) - const doneMb = Math.round((state?.progress ?? 0) * totalMb) - const phase = downloading - ? 'downloading' - : state?.status === 'ready' - ? 'done' - : failedAtMb !== null - ? 'failed' - : 'notice' - - useEffect(() => { - if (downloading) { - lastMbRef.current = doneMb - } - }, [downloading, doneMb]) - - useEffect(() => { - if (phase !== 'done' || retired) { - return - } - const timer = window.setTimeout(onClose, DONE_AUTO_HIDE_MS) - return () => window.clearTimeout(timer) - }, [phase, retired, onClose]) - - const startDownload = (): void => { - setFailedAtMb(null) - lastMbRef.current = 0 - void window.api.speech - .downloadModel(model.id) - .catch(() => setFailedAtMb(lastMbRef.current)) - .finally(() => void refreshModelStates()) - } - - const deleteRetired = (): void => { - if (!retired) { - return - } - setDeleting(true) - void window.api.speech - .deleteModel(retired.id) - .then(() => { - void refreshModelStates() - onClose() - }) - .catch(() => { - setDeleting(false) - toast.error( - t('speechModelUpdate.deleteFailed', 'Failed to delete {{model}}.', { - model: retired.label - }) - ) - }) - } - - const names = { model: model.label, old: retired?.label ?? '', size: totalMb } - const later = ( - - ) - let icon = - let title: string - let description: string - let actions: React.ReactNode = null - - if (phase === 'downloading') { - icon = - title = retired - ? t('speechModelUpdate.downloadingTitle', 'Downloading {{model}}', names) - : t('speechModelUpdate.updatingTitle', 'Updating {{model}}', names) - description = t( - 'speechModelUpdate.downloadingDescription', - 'You can keep working. Dictation is back when this finishes.' - ) - actions = ( - - ) - } else if (phase === 'done') { - icon = - title = t('speechModelUpdate.doneTitle', 'Dictation is ready') - description = retired - ? t( - 'speechModelUpdate.doneRetiredDescription', - '{{model}} is set up. The old {{old}} files are still on disk.', - names - ) - : t( - 'speechModelUpdate.doneDescription', - '{{model}} is updated. The old files were removed.', - names - ) - actions = retired ? ( - <> - - - - ) : null - } else if (phase === 'failed') { - icon = - title = retired - ? t('speechModelUpdate.downloadFailedTitle', "Couldn't download {{model}}", names) - : t('speechModelUpdate.updateFailedTitle', "Couldn't update {{model}}", names) - description = failedAtMb - ? t( - 'speechModelUpdate.failedAtDescription', - 'The download stopped at {{mb}} MB. Check your connection and try again.', - { mb: failedAtMb } - ) - : t( - 'speechModelUpdate.failedDescription', - 'The download stopped. Check your connection and try again.' - ) - actions = ( - <> - {later} - - - ) - } else { - title = retired - ? t('speechModelUpdate.replacedTitle', 'Your speech model was replaced') - : t('speechModelUpdate.updateTitle', 'Update your speech model') - description = retired - ? t( - 'speechModelUpdate.replacedDescription', - "{{old}} can't run on the new speech engine. {{model}} replaces it ({{size}} MB).", - names - ) - : t( - 'speechModelUpdate.updateDescription', - 'Dictation now runs on a faster engine. {{model}} needs a one-time download ({{size}} MB) before you can dictate again.', - names - ) - actions = ( - <> - {later} - - - ) - } - - return ( - -
-
-
{icon}
-
-

- {title} -

-

{description}

-
- -
- {phase === 'downloading' && ( -
- -
- - {t('speechModelUpdate.progress', '{{done}} of {{total}} MB', { - done: doneMb, - total: totalMb - })} - - {percent}% -
-
- )} - {actions &&
{actions}
} -
-
- ) -} diff --git a/src/renderer/src/components/dictation/dictation-meter-store.ts b/src/renderer/src/components/dictation/dictation-meter-store.ts index 57b771190ff..0799072b952 100644 --- a/src/renderer/src/components/dictation/dictation-meter-store.ts +++ b/src/renderer/src/components/dictation/dictation-meter-store.ts @@ -1,4 +1,4 @@ -import { e2eConfig } from '@/lib/e2e-config' +import { e2eConfig } from '@/app-shell/startup/e2e-config' import { useStore } from 'zustand' import { createStore } from 'zustand/vanilla' import { diff --git a/src/renderer/src/components/dictation/dictation-toasts.ts b/src/renderer/src/components/dictation/dictation-toasts.ts index 4d16b528431..cf9145f7593 100644 --- a/src/renderer/src/components/dictation/dictation-toasts.ts +++ b/src/renderer/src/components/dictation/dictation-toasts.ts @@ -1,7 +1,7 @@ import { toast } from 'sonner' -import { useAppStore } from '@/store' +import { useAppStore } from '@/store/index' import { translate } from '@/i18n/i18n' -import { compactIpcErrorMessage } from '@/lib/ipc-error' +import { compactIpcErrorMessage } from '@/runtime/errors/ipc-error' import { hostDictationErrorMessage } from '../../../../shared/host-dictation-error-messages' import { SPEECH_MODEL_NEEDS_UPDATE_ERROR } from '../../../../shared/speech-model-retirement' diff --git a/src/renderer/src/components/dictation/speech-model-update-check.ts b/src/renderer/src/components/dictation/speech-model-update-check.ts new file mode 100644 index 00000000000..ff2c433db48 --- /dev/null +++ b/src/renderer/src/components/dictation/speech-model-update-check.ts @@ -0,0 +1,88 @@ +import { useAppStore } from '@/store/index' +import { isPairedWebClientWindow } from '@/app-shell/chrome/desktop-window-chrome' +import type { SpeechModelManifest, VoiceSettings } from '../../../../shared/speech-types' +import { + findSpeechModelUpdateTarget, + isSpeechModelReady, + type SpeechModelUpdateTarget +} from './speech-model-update-target' + +// The catalog never changes while the app runs. +let catalogRequest: Promise | null = null + +export function loadSpeechCatalog(): Promise { + catalogRequest ??= Promise.resolve() + // The paired web client's fallback resolves with nothing rather than a list. + .then(async () => (await window.api.speech.getCatalog()) ?? []) + .catch(() => { + // Not cached, so the next press asks again. + catalogRequest = null + return [] + }) + return catalogRequest +} + +// Only a model seen ready stays so: legacy or retired files never come back, so later presses skip the check. +const readyModelIds = new Set() +// What the pill offered stays offered until the model is ready, so a cancelled or failed download can resume. +const offeredTargets = new Map() +// A press during a prefetch joins it instead of asking main again. +const inFlightChecks = new Map>() + +type CheckedVoice = Pick + +/** True when no check is needed before recording with this model. */ +export function isSpeechModelKnownReady(voice: CheckedVoice): boolean { + return !voice.enabled || readyModelIds.has(voice.sttModel) || isPairedWebClientWindow() +} + +/** The download the selected model needs before it can dictate, checked before any mic capture. */ +export function checkSpeechModelUpdate( + voice: CheckedVoice +): Promise { + // Why skip paired web clients: the models live on the host, whose own window shows this. + if (isSpeechModelKnownReady(voice)) { + return Promise.resolve(null) + } + const modelId = voice.sttModel + let check = inFlightChecks.get(modelId) + if (!check) { + check = runCheck(voice).finally(() => inFlightChecks.delete(modelId)) + inFlightChecks.set(modelId, check) + } + return check +} + +async function runCheck(voice: CheckedVoice): Promise { + try { + const [catalog, states] = await Promise.all([ + loadSpeechCatalog(), + window.api.speech.getModelStates() + ]) + useAppStore.getState().setModelStates(states) + const selected = states.find((state) => state.id === voice.sttModel) + if (isSpeechModelReady(selected)) { + readyModelIds.add(voice.sttModel) + offeredTargets.delete(voice.sttModel) + return null + } + const target = + findSpeechModelUpdateTarget(voice, catalog, states) ?? + offeredTargets.get(voice.sttModel) ?? + null + if (target) { + offeredTargets.set(voice.sttModel, target) + } + return target + } catch { + // A failed check never blocks dictation; the start path reports a model that can't load. + return null + } +} + +export function resetSpeechModelUpdateCheckForTests(): void { + catalogRequest = null + readyModelIds.clear() + offeredTargets.clear() + inFlightChecks.clear() +} diff --git a/src/renderer/src/components/dictation/speech-model-update-target.test.ts b/src/renderer/src/components/dictation/speech-model-update-target.test.ts deleted file mode 100644 index 538bf45e94d..00000000000 --- a/src/renderer/src/components/dictation/speech-model-update-target.test.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { describe, expect, it } from 'vitest' -import type { SpeechModelManifest, SpeechModelState } from '../../../../shared/speech-types' -import { findSpeechModelUpdateTarget } from './speech-model-update-target' - -function model(id: string, extra: Partial = {}): SpeechModelManifest { - return { - id, - label: id, - type: 'transducer', - provider: 'local', - language: 'en', - languages: ['en'], - sampleRate: 16000, - streaming: false, - ...extra - } -} - -const catalog = [ - model('parakeet'), - model('nemotron'), - model('zipformer-ko', { replacedBy: 'nemotron' }), - model('gpt', { provider: 'openai' }) -] - -function target(sttModel: string, states: SpeechModelState[], enabled = true) { - const found = findSpeechModelUpdateTarget({ enabled, sttModel }, catalog, states) - return found && { model: found.model.id, retired: found.retired?.id } -} - -describe('findSpeechModelUpdateTarget', () => { - it('offers the update when only the old files of the selected model are on disk', () => { - const states: SpeechModelState[] = [ - { id: 'parakeet', status: 'not-downloaded', needsUpdate: true } - ] - expect(target('parakeet', states)).toEqual({ model: 'parakeet', retired: undefined }) - expect(target('parakeet', states, false)).toBeNull() - }) - - it('offers the replacement when the retired model it replaced is still downloaded', () => { - const states: SpeechModelState[] = [ - { id: 'nemotron', status: 'not-downloaded' }, - { id: 'zipformer-ko', status: 'ready' } - ] - expect(target('nemotron', states)).toEqual({ model: 'nemotron', retired: 'zipformer-ko' }) - expect( - target('nemotron', [ - { id: 'nemotron', status: 'ready' }, - { id: 'zipformer-ko', status: 'ready' } - ]) - ).toBeNull() - }) - - it('stays hidden for cloud models and for people who never downloaded one', () => { - expect(target('gpt', [{ id: 'zipformer-ko', status: 'ready' }])).toBeNull() - expect(target('nemotron', [{ id: 'nemotron', status: 'not-downloaded' }])).toBeNull() - }) -}) diff --git a/src/renderer/src/components/dictation/speech-model-update-target.ts b/src/renderer/src/components/dictation/speech-model-update-target.ts index 4b948a07b7d..ec9982fa058 100644 --- a/src/renderer/src/components/dictation/speech-model-update-target.ts +++ b/src/renderer/src/components/dictation/speech-model-update-target.ts @@ -33,5 +33,18 @@ export function findSpeechModelUpdateTarget( const retired = catalog.find( (m) => m.replacedBy === model.id && stateOf(m.id)?.status === 'ready' ) - return retired ? { model, retired } : null + if (retired) { + return { model, retired } + } + // A download in flight has no needsUpdate, yet the model still can't dictate; the pill shows its progress. + return isSpeechModelDownloading(selected) ? { model } : null +} + +export function isSpeechModelDownloading(state: SpeechModelState | undefined): boolean { + return state?.status === 'downloading' || state?.status === 'extracting' +} + +/** Only a ready model with no pending update is known to dictate. */ +export function isSpeechModelReady(state: SpeechModelState | undefined): boolean { + return state?.status === 'ready' && !state.needsUpdate } diff --git a/src/renderer/src/components/dictation/use-dictation-silence-stop.ts b/src/renderer/src/components/dictation/use-dictation-silence-stop.ts index 06389b2fc8f..588e1eb0fb7 100644 --- a/src/renderer/src/components/dictation/use-dictation-silence-stop.ts +++ b/src/renderer/src/components/dictation/use-dictation-silence-stop.ts @@ -1,34 +1,42 @@ import { useEffect, useEffectEvent } from 'react' import { toast } from 'sonner' import { translate } from '@/i18n/i18n' -import { watchDictationSilence } from '../../../../shared/dictation-silence-stop' +import { + watchDictationSilence, + type StopAfterSilenceSeconds +} from '../../../../shared/dictation-silence-stop' // A forgotten toggle mic stays open; a held push-to-talk key or button ends the session on release. export function useDictationSilenceStop( listening: boolean, dictationMode: string | undefined, + silenceSeconds: StopAfterSilenceSeconds, getLastSpeechAt: () => number, + /** A held shortcut counts as speech: Auto mode records until release, however quiet. */ + isHolding: () => boolean, stopDictation: () => void ): void { - const watching = listening && dictationMode !== 'hold' + const watching = listening && dictationMode !== 'hold' && silenceSeconds !== null const stopForSilence = useEffectEvent(() => { toast.message( translate( - 'auto.components.dictation.DictationController.stoppedAfterSilence', - 'Stopped after a minute of silence' + 'components.dictation.stoppedAfterSilenceSeconds', + 'Stopped after {{seconds}} seconds of silence', + { seconds: silenceSeconds } ) ) stopDictation() }) useEffect(() => { - if (!watching) { + if (!watching || silenceSeconds === null) { return } return watchDictationSilence( - getLastSpeechAt, + () => (isHolding() ? performance.now() : getLastSpeechAt()), () => performance.now(), + silenceSeconds * 1000, () => stopForSilence() ) - }, [watching, getLastSpeechAt]) + }, [watching, silenceSeconds, getLastSpeechAt, isHolding]) } diff --git a/src/renderer/src/components/dictation/use-dictation-speech-model-setup.ts b/src/renderer/src/components/dictation/use-dictation-speech-model-setup.ts new file mode 100644 index 00000000000..cdcf53ec4fc --- /dev/null +++ b/src/renderer/src/components/dictation/use-dictation-speech-model-setup.ts @@ -0,0 +1,88 @@ +import { useCallback, useEffect, useRef, useState } from 'react' +import { useAppStore } from '@/store' +import type { VoiceSettings } from '../../../../shared/speech-types' +import { captureInsertionTarget } from './dictation-insertion-target' +import { dictationPillAnchorFor, type DictationPillAnchor } from './dictation-pill-anchor' +import { checkSpeechModelUpdate, isSpeechModelKnownReady } from './speech-model-update-check' +import type { SpeechModelUpdateTarget } from './speech-model-update-target' + +type CheckedVoice = Pick + +const PREFETCH_DELAY_MS = 1500 + +/** The pill's offer of the download the selected model needs, made in place of recording. */ +export function useDictationSpeechModelSetup( + voice: CheckedVoice | undefined, + isIdle: () => boolean, + setPillAnchor: (anchor: DictationPillAnchor | null) => void +) { + const [setupTarget, setSetupTarget] = useState(null) + // The press whose model check is still running; a stop, cancel, toggle or teardown drops it. + const pendingStartRef = useRef(null) + const startRequestRef = useRef(0) + + const closeSetup = useCallback(() => { + setSetupTarget(null) + if (isIdle()) { + setPillAnchor(null) + } + }, [isIdle, setPillAnchor]) + + const hasPendingStart = useCallback(() => pendingStartRef.current !== null, []) + + const invalidatePendingStart = useCallback(() => { + startRequestRef.current += 1 + pendingStartRef.current = null + }, []) + + // An unmounted controller (voice turned off) must never open the mic from a check it started. + useEffect(() => invalidatePendingStart, [invalidatePendingStart]) + + // Warms the check off the startup path, so the first press records without waiting on main. + const enabled = voice?.enabled === true + const sttModel = voice?.sttModel + useEffect(() => { + if (!enabled || !sttModel || isSpeechModelKnownReady({ enabled, sttModel })) { + return + } + const timer = window.setTimeout( + () => void checkSpeechModelUpdate({ enabled, sttModel }), + PREFETCH_DELAY_MS + ) + return () => window.clearTimeout(timer) + }, [enabled, sttModel]) + + /** Checked before the mic opens, so a model the engine can't load never records; true to go on. */ + const readyToRecord = useCallback( + async (requested: CheckedVoice): Promise => { + if (isSpeechModelKnownReady(requested)) { + setSetupTarget(null) + return true + } + const request = ++startRequestRef.current + pendingStartRef.current = request + const target = await checkSpeechModelUpdate(requested) + if (request !== startRequestRef.current) { + return false + } + pendingStartRef.current = null + // Settings may have turned voice off or switched models while the check ran. + const current = useAppStore.getState().settings?.voice + if (!current?.enabled || current.sttModel !== requested.sttModel) { + return false + } + if (target) { + if (isIdle()) { + setPillAnchor(dictationPillAnchorFor(captureInsertionTarget())) + setSetupTarget(target) + } + return false + } + setSetupTarget(null) + return true + }, + [isIdle, setPillAnchor] + ) + + return { setupTarget, closeSetup, hasPendingStart, invalidatePendingStart, readyToRecord } +} diff --git a/src/renderer/src/components/dictation/use-hold-dictation-gesture.ts b/src/renderer/src/components/dictation/use-hold-dictation-gesture.ts index 5186b7ba380..e6a31dc01fa 100644 --- a/src/renderer/src/components/dictation/use-hold-dictation-gesture.ts +++ b/src/renderer/src/components/dictation/use-hold-dictation-gesture.ts @@ -1,4 +1,4 @@ -import { useEffect, useEffectEvent, useRef } from 'react' +import { useCallback, useEffect, useEffectEvent, useRef } from 'react' import { getShortcutPlatform } from '@/lib/keyboard/shortcut-platform' import { keybindingMatchesAction, @@ -9,7 +9,7 @@ import { textInputOwnsComposition } from '../../../../shared/text-input-shortcut import type { GlobalSettings } from '../../../../shared/global-settings-types' import { dictationShortcutMode } from '../../../../shared/dictation-shortcut-mode' import { addAppKeyListener, removeAppKeyListener } from '@/lib/keyboard/app-keyboard-router' -import { showTerminalShortcutCaptureNotification } from '@/lib/terminal-shortcut-capture-notification' +import { showTerminalShortcutCaptureNotification } from '@/lib/notifications/terminal-shortcut-capture-notification' import { getKeybindingContext } from '../terminal-workspace-model' type HoldDictationGestureOptions = { @@ -124,7 +124,7 @@ export function useHoldDictationGesture({ settings, startDictation, stopDictation -}: HoldDictationGestureOptions): void { +}: HoldDictationGestureOptions): { isHolding: () => boolean } { const activeHoldRef = useRef(null) const mode = dictationShortcutMode(settings?.voice) const enabled = settings?.voice?.enabled === true @@ -236,4 +236,8 @@ export function useHoldDictationGesture({ document.removeEventListener('visibilitychange', handleVisibilityChange) } }, [mode, enabled]) + + // True while a held shortcut press is the one recording. + const isHolding = useCallback(() => activeHoldRef.current?.startedDictation === true, []) + return { isHolding } } diff --git a/src/renderer/src/components/dictation/use-speech-model-update-download.ts b/src/renderer/src/components/dictation/use-speech-model-update-download.ts new file mode 100644 index 00000000000..0496c35d6e6 --- /dev/null +++ b/src/renderer/src/components/dictation/use-speech-model-update-download.ts @@ -0,0 +1,102 @@ +import { useEffect, useState } from 'react' +import { toast } from 'sonner' +import { useAppStore } from '@/store' +import { useTranslate } from '@/i18n/use-translate' +import type { SpeechModelUpdateTarget } from './speech-model-update-target' + +export type SpeechModelUpdatePhase = 'notice' | 'downloading' | 'done' | 'failed' + +export type SpeechModelUpdateDownload = { + phase: SpeechModelUpdatePhase + percent: number + doneMb: number + totalMb: number + deleting: boolean + start: () => void + cancel: () => void + deleteRetired: () => void +} + +/** Downloads the model the speech engine needs; follows the shared model states, as Settings can start it too. */ +export function useSpeechModelUpdateDownload( + { model, retired }: SpeechModelUpdateTarget, + onClose: () => void +): SpeechModelUpdateDownload { + const t = useTranslate() + const state = useAppStore((s) => s.modelStates.find((m) => m.id === model.id)) + const refreshModelStates = useAppStore((s) => s.refreshModelStates) + const [failed, setFailed] = useState(false) + // Set from the click, so ✕ cancels a download whose first progress hasn't arrived yet. + const [inFlight, setInFlight] = useState(false) + const [deleting, setDeleting] = useState(false) + + useEffect( + () => window.api.speech.onDownloadProgress(() => void refreshModelStates()), + [refreshModelStates] + ) + + const totalMb = Math.round((model.sizeBytes ?? 0) / 1_000_000) + const progress = state?.progress ?? 0 + const downloading = + state?.status === 'downloading' || + state?.status === 'extracting' || + (inFlight && state?.status !== 'ready') + const phase: SpeechModelUpdatePhase = downloading + ? 'downloading' + : state?.status === 'ready' + ? 'done' + : failed + ? 'failed' + : 'notice' + + const start = (): void => { + setFailed(false) + setInFlight(true) + void window.api.speech + .downloadModel(model.id) + .catch(() => setFailed(true)) + .finally(() => { + setInFlight(false) + void refreshModelStates() + }) + } + + const cancel = (): void => { + void window.api.speech + .cancelDownload(model.id) + .catch(() => undefined) + .finally(() => void refreshModelStates()) + } + + const deleteRetired = (): void => { + if (!retired) { + return + } + setDeleting(true) + void window.api.speech + .deleteModel(retired.id) + .then(() => { + void refreshModelStates() + onClose() + }) + .catch(() => { + setDeleting(false) + toast.error( + t('speechModelUpdate.pill.deleteFailed', 'Failed to delete {{model}}.', { + model: retired.label + }) + ) + }) + } + + return { + phase, + percent: Math.round(progress * 100), + doneMb: Math.round(progress * totalMb), + totalMb, + deleting, + start, + cancel, + deleteRetired + } +} diff --git a/src/renderer/src/components/diff-comments/diff-comment-add-button-overlay.ts b/src/renderer/src/components/diff-comments/diff-comment-add-button-overlay.ts index 7e30594390b..5f8d759ccae 100644 --- a/src/renderer/src/components/diff-comments/diff-comment-add-button-overlay.ts +++ b/src/renderer/src/components/diff-comments/diff-comment-add-button-overlay.ts @@ -1,5 +1,7 @@ -import * as monaco from 'monaco-editor' import type { editor as monacoEditor } from 'monaco-editor' +// Why: a value import of 'monaco-editor' here would evaluate Monaco ahead of its NLS pack +// (see monaco-nls-import-order.test.ts); the enum module carries no localized labels. +import { EditorOption } from 'monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js' import type { RefObject } from 'react' import { getDiffCommentPopoverTop } from './diff-comment-popover-position' import { toDiffCommentLineTarget } from './diff-comment-line-range' @@ -48,7 +50,7 @@ export function installDiffCommentAddButtonOverlay({ editorDomNode.appendChild(plus) const getLineHeight = (): number => { - const h = editor.getOption(monaco.editor.EditorOption.lineHeight) + const h = editor.getOption(EditorOption.lineHeight) return typeof h === 'number' && h > 0 ? h : 19 } diff --git a/src/renderer/src/components/diff-comments/diff-comment-add-note-shortcut.ts b/src/renderer/src/components/diff-comments/diff-comment-add-note-shortcut.ts index 3689d89f20d..078fe0f5b6e 100644 --- a/src/renderer/src/components/diff-comments/diff-comment-add-note-shortcut.ts +++ b/src/renderer/src/components/diff-comments/diff-comment-add-note-shortcut.ts @@ -1,5 +1,7 @@ -import * as monaco from 'monaco-editor' import type { editor as monacoEditor, Selection } from 'monaco-editor' +// Why: a value import of 'monaco-editor' here would evaluate Monaco ahead of its NLS pack +// (see monaco-nls-import-order.test.ts); the enum module carries no localized labels. +import { EditorOption } from 'monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js' import { installEditorAddReviewNoteShortcut } from '../editor/editor-shortcuts' import { getDiffCommentPopoverTop } from './diff-comment-popover-position' import { @@ -61,7 +63,7 @@ export function installDiffCommentAddNoteShortcut({ if (!target) { return false } - const lineHeight = editor.getOption(monaco.editor.EditorOption.lineHeight) + const lineHeight = editor.getOption(EditorOption.lineHeight) const top = getDiffCommentPopoverTop(editor, target.lineNumber, lineHeight) if (top == null) { return false diff --git a/src/renderer/src/components/diff-comments/diff-comment-range-drag.ts b/src/renderer/src/components/diff-comments/diff-comment-range-drag.ts index eced04d8ac8..43125e67384 100644 --- a/src/renderer/src/components/diff-comments/diff-comment-range-drag.ts +++ b/src/renderer/src/components/diff-comments/diff-comment-range-drag.ts @@ -1,5 +1,8 @@ -import * as monaco from 'monaco-editor' import type { editor as monacoEditor } from 'monaco-editor' +// Why: a value import of 'monaco-editor' here would evaluate Monaco ahead of its NLS pack +// (see monaco-nls-import-order.test.ts); these two modules carry no localized labels. +import { Range } from 'monaco-editor/esm/vs/editor/common/core/range.js' +import { MouseTargetType } from 'monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js' import { getDragAutoScrollStepPx, REFERENCE_FRAME_MS } from './diff-comment-drag-auto-scroll' import { areLineRangesEqual, @@ -43,7 +46,7 @@ export type DiffCommentRangeDragHandle = { // Claim line numbers only: decoration presses toggle folds. The external add button resolves separately. const GUTTER_PRESS_TARGET_TYPES: ReadonlySet = new Set([ - monaco.editor.MouseTargetType.GUTTER_LINE_NUMBERS + MouseTargetType.GUTTER_LINE_NUMBERS ]) // Far enough into the text column to clear the gutter, close enough to stay on every line. @@ -93,7 +96,7 @@ export function installDiffCommentRangeDrag({ } decorations.set([ { - range: new monaco.Range(range.startLine, 1, range.endLine, 1), + range: new Range(range.startLine, 1, range.endLine, 1), options: { isWholeLine: true, className: 'orca-diff-comment-range-highlight', diff --git a/src/renderer/src/components/dismiss/EyeOffDismissButton.tsx b/src/renderer/src/components/dismiss/EyeOffDismissButton.tsx index ddee49616c1..6c6949d80ca 100644 --- a/src/renderer/src/components/dismiss/EyeOffDismissButton.tsx +++ b/src/renderer/src/components/dismiss/EyeOffDismissButton.tsx @@ -1,6 +1,6 @@ import { EyeOff } from 'lucide-react' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' /** The eye-slash control that hides a teaching or info surface; its label names what goes away. */ export function EyeOffDismissButton({ diff --git a/src/renderer/src/components/editor/BinaryFileDefaultAppButton.tsx b/src/renderer/src/components/editor/BinaryFileDefaultAppButton.tsx new file mode 100644 index 00000000000..18924350b56 --- /dev/null +++ b/src/renderer/src/components/editor/BinaryFileDefaultAppButton.tsx @@ -0,0 +1,78 @@ +import { useState } from 'react' +import { toast } from 'sonner' +import { Button } from '@/components/ui/button' +import { useTranslate } from '@/i18n/use-translate' +import { basename } from '@/lib/path' +import { extractIpcErrorMessage } from '@/runtime/errors/ipc-error' +import { isPairedWebClientWindow } from '@/app-shell/chrome/desktop-window-chrome' +import type { RuntimeFileReadArgs } from '@/runtime/files/runtime-file-client-types' +import { + isClientLocalRuntimeFile, + openRuntimeFileWithDefaultApp +} from '@/runtime/files/reads/runtime-file-default-app-open' + +async function openWithDefaultApp( + source: RuntimeFileReadArgs +): Promise<{ opened: boolean } | { opened: false; error: unknown }> { + try { + return { opened: await openRuntimeFileWithDefaultApp(source) } + } catch (error) { + return { opened: false, error } + } +} + +/** The way out of the "cannot display" tab: hand the file to the app this OS registers for it. */ +export function BinaryFileDefaultAppButton({ + source +}: { + source: RuntimeFileReadArgs +}): React.JSX.Element | null { + const t = useTranslate() + const [pending, setPending] = useState(false) + const [openFailed, setOpenFailed] = useState(false) + // Why: a paired web client has no OS app to hand the file to. + if (isPairedWebClientWindow()) { + return null + } + const local = isClientLocalRuntimeFile(source) + const open = async (): Promise => { + setPending(true) + setOpenFailed(false) + const outcome = await openWithDefaultApp(source) + setPending(false) + if ('error' in outcome && !local) { + toast.error( + extractIpcErrorMessage( + outcome.error, + t( + 'auto.components.editor.BinaryFileDefaultAppButton.downloadFailed', + "Failed to download '{{value0}}'.", + { value0: basename(source.filePath) } + ) + ) + ) + return + } + setOpenFailed(!outcome.opened) + } + return ( +
+ + {openFailed && ( +

+ {t( + 'auto.components.editor.BinaryFileDefaultAppButton.openFailed', + 'No app on this computer opened this file.' + )} +

+ )} +
+ ) +} diff --git a/src/renderer/src/components/editor/ChangesModeView.tsx b/src/renderer/src/components/editor/ChangesModeView.tsx index c24703feaac..0d6343d37a4 100644 --- a/src/renderer/src/components/editor/ChangesModeView.tsx +++ b/src/renderer/src/components/editor/ChangesModeView.tsx @@ -1,5 +1,5 @@ import React from 'react' -import { lazyWithRetry as lazy } from '@/lib/lazy-with-retry' +import { lazyWithRetry as lazy } from '@/app-shell/startup/lazy-with-retry' import type { OpenFile } from '@/store/slices/editor/types/open-file' import type { GitDiffResult } from '../../../../shared/git/diff/git-diff-compare-types' import type { GitStatusEntry } from '../../../../shared/git/status/git-status-types' diff --git a/src/renderer/src/components/editor/ConflictComponents.tsx b/src/renderer/src/components/editor/ConflictComponents.tsx index bc1eeeede53..a33ca8dda8b 100644 --- a/src/renderer/src/components/editor/ConflictComponents.tsx +++ b/src/renderer/src/components/editor/ConflictComponents.tsx @@ -11,7 +11,7 @@ import { } from 'lucide-react' import { Button } from '@/components/ui/button' import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import type { ConflictReviewEntry } from '../../../../shared/editor-tab-view-types' import type { OpenFile } from '@/store/slices/editor/types/open-file' import type { diff --git a/src/renderer/src/components/editor/ConflictReviewFileTree.tsx b/src/renderer/src/components/editor/ConflictReviewFileTree.tsx index 9b68aa734a9..77647f54081 100644 --- a/src/renderer/src/components/editor/ConflictReviewFileTree.tsx +++ b/src/renderer/src/components/editor/ConflictReviewFileTree.tsx @@ -2,7 +2,7 @@ import React from 'react' import { ChevronDown, PanelLeftClose } from 'lucide-react' import { Button } from '@/components/ui/button' import { FileTypeIcon, FolderIcon } from '@/components/FileTypeIcon' -import { cn } from '@/lib/utils' +import { cn } from '@/lib/class-names' import { buildSourceControlTree, compactSourceControlTree, diff --git a/src/renderer/src/components/editor/EditorContent.monaco-lifecycle.test.tsx b/src/renderer/src/components/editor/EditorContent.monaco-lifecycle.test.tsx deleted file mode 100644 index a9890849ccc..00000000000 --- a/src/renderer/src/components/editor/EditorContent.monaco-lifecycle.test.tsx +++ /dev/null @@ -1,282 +0,0 @@ -// @vitest-environment happy-dom -import { cleanup, render } from '@testing-library/react' -import { afterEach, describe, expect, it, vi } from 'vitest' -import type { OpenFile } from '@/store/slices/editor/types/open-file' - -const lifecycle = vi.hoisted(() => ({ - events: [] as string[], - diffModelKeys: [] as string[], - viewStateKeys: new Array(), - models: new Map(), - notebookProps: [] as { - fileId: string - filePath: string - worktreeId: string - scrollCacheKey: string - onContentChange: (content: string) => void - onSave: (content: string) => Promise - }[], - richMarkdownProps: [] as { - externalSshTargetId?: string - runtimeEnvironmentId?: string - worktreeId: string - }[], - mountedProps: [] as { - filePath: string - readOnly?: boolean - liveTail?: boolean - viewStateId?: string - }[] -})) - -vi.mock('@/lib/lazy-with-retry', async () => { - const React = await import('react') - const { syncContentOnMount } = await import('./monaco-content-sync') - return { - lazyWithRetry: (factory: () => Promise) => { - if (factory.toString().includes('/DiffViewer.tsx')) { - return function MockDiffViewer(props: { filePath: string; modifiedModelKey?: string }) { - lifecycle.diffModelKeys.push(props.modifiedModelKey ?? '') - /* oxlint-disable react-hooks/exhaustive-deps -- Mount-only by design: a prop-effect would hide a missing outer React remount. */ - React.useEffect(() => { - lifecycle.events.push(`mount-diff:${props.filePath}`) - return () => { - lifecycle.events.push(`unmount-diff:${props.filePath}`) - } - }, []) - /* oxlint-enable react-hooks/exhaustive-deps */ - return null - } - } - if (factory.toString().includes('/IpynbViewer.tsx')) { - return function MockIpynbViewer(props: (typeof lifecycle.notebookProps)[number]) { - lifecycle.notebookProps.push(props) - return null - } - } - if (factory.toString().includes('/RichMarkdownEditor.tsx')) { - return function MockRichMarkdownEditor( - props: (typeof lifecycle.richMarkdownProps)[number] - ) { - lifecycle.richMarkdownProps.push(props) - return null - } - } - if (!factory.toString().includes('/MonacoEditor.tsx')) { - return () => null - } - return function MockRetainedMonaco(props: { - filePath: string - content: string - readOnly?: boolean - liveTail?: boolean - viewStateId?: string - viewStateKey: string - }) { - lifecycle.viewStateKeys.push(props.viewStateKey) - /* oxlint-disable react-hooks/exhaustive-deps -- Mount-only by design: a prop-effect would hide a missing outer React remount. */ - React.useEffect(() => { - lifecycle.events.push(`mount:${props.filePath}`) - lifecycle.mountedProps.push({ - filePath: props.filePath, - readOnly: props.readOnly, - liveTail: props.liveTail, - viewStateId: props.viewStateId - }) - const retained = lifecycle.models.get(props.filePath) ?? { content: '', undo: [] } - const model = { - getValue: () => retained.content, - getEOL: () => '\n', - getFullModelRange: () => ({ - startLineNumber: 1, - startColumn: 1, - endLineNumber: 1, - endColumn: retained.content.length + 1 - }), - pushEditOperations: (_selections: unknown[], operations: { text: string }[]) => { - retained.content = operations[0]?.text ?? retained.content - } - } - // Use the real mount reconciler to observe key ordering with retained-model behavior intact. - syncContentOnMount( - // oxlint-disable-next-line typescript/consistent-type-assertions -- SAFETY: content sync calls only the editor methods stubbed here. - { - getModel: () => model, - saveViewState: () => null, - restoreViewState: () => {}, - pushUndoStop: () => { - retained.undo.push('unexpected undo stop') - return true - } - } as never, - props.content - ) - lifecycle.models.set(props.filePath, retained) - return () => { - lifecycle.events.push(`unmount:${props.filePath}`) - } - }, []) - /* oxlint-enable react-hooks/exhaustive-deps */ - return null - } - } - } -}) -vi.mock('@/store', () => ({ - useAppStore: Object.assign( - (selector: (state: Record) => unknown) => - selector({ - worktreesByRepo: {}, - settings: {}, - markdownRichModeSizeOverride: {}, - setMarkdownRichModeSizeOverride: vi.fn(), - openFile: vi.fn(), - openMarkdownPreview: vi.fn(), - openConflictReviewFile: vi.fn(), - openConflictReview: vi.fn(), - closeFile: vi.fn(), - setRightSidebarTab: vi.fn(), - setPendingEditorReveal: vi.fn(), - reloadOpenCheckRunDetailsTab: vi.fn() - }), - { - getState: () => ({ - folderWorkspaces: [], - projectGroups: [], - repos: [], - settings: {}, - worktreesByRepo: {}, - openFile: vi.fn(), - openMarkdownPreview: vi.fn(), - openConflictReviewFile: vi.fn(), - openConflictReview: vi.fn(), - closeFile: vi.fn(), - setRightSidebarTab: vi.fn(), - setPendingEditorReveal: vi.fn(), - reloadOpenCheckRunDetailsTab: vi.fn() - }) - } - ) -})) - -import { EditorContent } from './EditorContent' - -function file(filePath: string, overrides: Partial = {}): OpenFile { - return { - id: filePath, - filePath, - relativePath: filePath.split('/').at(-1) ?? filePath, - worktreeId: 'repo::/repo', - language: 'typescript', - isDirty: false, - mode: 'edit', - ...overrides - } -} - -function props(activeFile: OpenFile, content: string) { - return { - activeFile, - viewStateScopeId: 'same-pane', - fileContents: { [activeFile.id]: { content, isBinary: false } }, - diffContents: {}, - editBuffers: {}, - openFiles: [activeFile], - worktreeEntries: [], - resolvedLanguage: 'typescript', - isMarkdown: false, - isMermaid: false, - isCsv: false, - isNotebook: false, - mdViewMode: 'rich' as const, - inlineMarkdownRenderState: null, - isChangesMode: false, - sideBySide: false, - pendingEditorReveal: null, - handleContentChange: vi.fn(), - handleContentChangeForFile: vi.fn(), - handleDirtyStateHint: vi.fn(), - handleSave: vi.fn(), - handleSaveForFile: vi.fn(), - reloadContent: vi.fn() - } -} - -function diffProps(activeFile: OpenFile, modifiedContent: string) { - return { - ...props(activeFile, ''), - diffContents: { - [activeFile.id]: { - kind: 'text' as const, - originalContent: '', - modifiedContent, - originalIsBinary: false as const, - modifiedIsBinary: false as const - } - } - } -} - -afterEach(() => { - cleanup() - lifecycle.events.length = 0 - lifecycle.diffModelKeys.length = 0 - lifecycle.viewStateKeys.length = 0 - lifecycle.models.clear() - lifecycle.mountedProps.length = 0 - lifecycle.notebookProps.length = 0 - lifecycle.richMarkdownProps.length = 0 -}) - -describe('EditorContent Monaco lifecycle boundary', () => { - it('unmounts the prior path before reconciling a stale retained target model', () => { - const first = file('/repo/first.ts') - const second = file('/repo/second.ts') - lifecycle.models.set(first.filePath, { content: 'first with edits', undo: ['first undo'] }) - lifecycle.models.set(second.filePath, { content: 'stale second', undo: ['second undo'] }) - const view = render() - - view.rerender() - - expect(lifecycle.events).toEqual([ - 'mount:/repo/first.ts', - 'unmount:/repo/first.ts', - 'mount:/repo/second.ts' - ]) - expect(lifecycle.models.get(second.filePath)).toEqual({ - content: 'fresh second', - undo: ['second undo'] - }) - expect(lifecycle.models.get(first.filePath)).toEqual({ - content: 'first with edits', - undo: ['first undo'] - }) - }) - - it('keeps the diff editor mounted when a save updates the modified content', () => { - // Saves refresh retained models without remounting the widget and flashing its loading placeholder. - const diff = file('/repo/notes.ts', { mode: 'diff', diffSource: 'unstaged' }) - - const view = render() - view.rerender() - - expect(lifecycle.events).toEqual(['mount-diff:/repo/notes.ts']) - expect(lifecycle.diffModelKeys).toHaveLength(2) - expect(lifecycle.diffModelKeys[1]).not.toBe(lifecycle.diffModelKeys[0]) - }) - - it('still remounts the diff editor for an explicit reload request', () => { - const diff = file('/repo/notes.ts', { mode: 'diff', diffSource: 'unstaged' }) - const view = render() - - view.rerender( - - ) - - expect(lifecycle.events).toEqual([ - 'mount-diff:/repo/notes.ts', - 'unmount-diff:/repo/notes.ts', - 'mount-diff:/repo/notes.ts' - ]) - }) -}) diff --git a/src/renderer/src/components/editor/EditorEditFileSurface.tsx b/src/renderer/src/components/editor/EditorEditFileSurface.tsx index 9ab30a934e2..b47565fd46d 100644 --- a/src/renderer/src/components/editor/EditorEditFileSurface.tsx +++ b/src/renderer/src/components/editor/EditorEditFileSurface.tsx @@ -21,6 +21,7 @@ import { RecoverableRenderErrorBoundary } from '../error-boundaries/RecoverableR import type { FileContent } from './editor-panel-content-types' import { CustomEditorExternalChangeBanner } from './external-changes/CustomEditorExternalChangeBanner' import { PluginFileTypeSuggestion } from './PluginFileTypeSuggestion' +import { BinaryFileDefaultAppButton } from './BinaryFileDefaultAppButton' import type { useMarkdownDocuments } from './markdown/documents/useMarkdownDocuments' import { EditorMarkdownFileSurface } from './EditorMarkdownFileSurface' import type { MarkdownRenderState } from './markdown/render-mode/markdown-render-mode' @@ -189,8 +190,11 @@ export function EditorEditFileSurface({
-
+
{t('auto.components.editor.EditorContent.b9de81ba52', 'Binary file — cannot display')} + {fileContent.byteSource && ( + + )}
) diff --git a/src/renderer/src/components/editor/EditorFileLoadErrorView.test.tsx b/src/renderer/src/components/editor/EditorFileLoadErrorView.test.tsx deleted file mode 100644 index 0cba5651e78..00000000000 --- a/src/renderer/src/components/editor/EditorFileLoadErrorView.test.tsx +++ /dev/null @@ -1,54 +0,0 @@ -// @vitest-environment happy-dom - -import { act, cleanup, fireEvent, render } from '@testing-library/react' -import { afterEach, describe, expect, it, vi } from 'vitest' -import type { StoppedWslHost } from '../wsl-host-stopped/use-stopped-wsl-host' -import { EditorFileLoadErrorView } from './EditorFileLoadErrorView' - -const mocks = vi.hoisted(() => { - const stopped: { current: StoppedWslHost | null } = { current: null } - return { - stopped, - start: vi.fn<(environmentId: string) => Promise>() - } -}) - -vi.mock('../wsl-host-stopped/use-stopped-wsl-host', () => ({ - useStoppedWslHost: (worktreeId: string | undefined) => - worktreeId === 'wt-wsl' ? mocks.stopped.current : null -})) -vi.mock('@/runtime/hosts/wsl/wsl-host-user-start', () => ({ - startWslHostAndReloadProjects: mocks.start -})) - -afterEach(() => { - cleanup() - mocks.stopped.current = null - mocks.start.mockReset() -}) - -describe('EditorFileLoadErrorView on a stopped WSL host', () => { - it('offers Start instead of the read error, and reloads without a wake once started', async () => { - mocks.stopped.current = { environmentId: 'wsl:ubuntu', distro: 'Ubuntu' } - mocks.start.mockResolvedValue(true) - const onRetry = vi.fn() - const onHostStarted = vi.fn() - const view = render( - - ) - expect(view.queryByText('Unable to load file')).toBeNull() - expect(view.getByText('Ubuntu is stopped')).toBeTruthy() - expect(mocks.start).not.toHaveBeenCalled() - - await act(async () => fireEvent.click(view.getByRole('button', { name: 'Start' }))) - expect(mocks.start).toHaveBeenCalledWith('wsl:ubuntu') - // Retry asks to wake the distro; after Start the reload must not. - expect(onHostStarted).toHaveBeenCalledTimes(1) - expect(onRetry).not.toHaveBeenCalled() - }) -}) diff --git a/src/renderer/src/components/editor/EditorFileLoadErrorView.tsx b/src/renderer/src/components/editor/EditorFileLoadErrorView.tsx index 88632ff7709..6425ca7937f 100644 --- a/src/renderer/src/components/editor/EditorFileLoadErrorView.tsx +++ b/src/renderer/src/components/editor/EditorFileLoadErrorView.tsx @@ -2,7 +2,8 @@ import { AlertCircle, RefreshCw } from 'lucide-react' import { Button } from '@/components/ui/button' import { translate } from '@/i18n/i18n' import { useTranslate, type Translate } from '@/i18n/use-translate' -import { displayIpcErrorMessage } from '@/lib/ipc-error' +import { formatFileLoadErrorMessage } from './file-load-error-copy' +import { displayIpcErrorMessage } from '@/runtime/errors/ipc-error' import { isFileTooLargeCodeMessage } from '../../../../shared/file-write/file-write-disk-precondition' import { WORKTREE_HOST_UNRESOLVED_CODE } from './editor-panel-content-types' import { useStoppedWslHost } from '../wsl-host-stopped/use-stopped-wsl-host' @@ -66,7 +67,9 @@ export function EditorFileLoadErrorView({
{t('auto.components.editor.EditorContent.39f018b052', 'Unable to load file')}
-
{localizeFileLoadError(message, code, t)}
+
+ {formatFileLoadErrorMessage(localizeFileLoadError(message, code, t))} +